Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(accordion): prop for heading level #2176

Closed
wants to merge 33 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
33 commits
Select commit Hold shift + click to select a range
460a4c4
fix(accordion): prop for heading level
jenny-s51 Jun 5, 2019
fc3da9a
fix stale config (#2123)
redallen Jun 6, 2019
012a762
chore(bot): update stale bot configuration and package sideeffects (#…
dgutride Jun 6, 2019
df6afc1
chore(release): releasing packages [ci skip]
patternfly-build Jun 6, 2019
84122a1
React-Virtualized PF4 tables (#2011)
priley86 Jun 7, 2019
6eb8355
fix travis cache config (#2186)
redallen Jun 7, 2019
aad5876
chore(release): releasing packages [ci skip]
patternfly-build Jun 7, 2019
41d76dc
fix(react-docs): react-virtualized live edit (#2187)
priley86 Jun 7, 2019
0bebc18
chore(release): releasing packages [ci skip]
patternfly-build Jun 7, 2019
cb97dfd
feat(PF4: Pagination): When empty array sent to pagination no per pag…
karelhala Jun 7, 2019
979f13f
chore(release): releasing packages [ci skip]
patternfly-build Jun 7, 2019
59aadfc
fix(charts): align label vertically and add donutHeight/Width default…
dlabrecq Jun 10, 2019
a3e5de0
chore(release): releasing packages [ci skip]
patternfly-build Jun 10, 2019
b35f3d1
build(esm): fix esm output and convert react-virtualized-extension to…
redallen Jun 10, 2019
2cbdfb8
fix(react-table): Fix error Unknown event handler property `onCollaps…
kunyan Jun 10, 2019
343f928
fix(react-table): Some props of IRow should not required (#2196)
kunyan Jun 10, 2019
65727b9
chore(release): releasing packages [ci skip]
patternfly-build Jun 10, 2019
417751a
Bump @patternfly/patternfly versions to 2.12.5 (#2184)
patternfly-build Jun 10, 2019
fd3d771
feat(backdrop): Convert backdrop to typescript (#2105)
jessiehuff Jun 10, 2019
8a90f80
chore(release): releasing packages [ci skip]
patternfly-build Jun 10, 2019
0f9ebf9
feat(Table): Add support for .pf-m-grid-2xl breakpoint (#2206)
rebeccaalpert Jun 10, 2019
99b21ae
chore(release): releasing packages [ci skip]
patternfly-build Jun 10, 2019
6365c33
fix(styles): add sideeffects to react-styles (#2207)
dgutride Jun 11, 2019
d8bf5f5
chore(release): releasing packages [ci skip]
patternfly-build Jun 11, 2019
58eb9cc
feat(Topology): Add @patternfly/react-topology package (#2170)
jeff-phillips-18 Jun 11, 2019
1970d3e
chore(release): releasing packages [ci skip]
patternfly-build Jun 11, 2019
9b90f94
feat(ApplicationLauncher): Convert application launcher to typescript…
jessiehuff Jun 11, 2019
7832518
feat(Card): Add support for images and actions (#2122)
jessiehuff Jun 11, 2019
9be5c0b
chore(TextArea): Convert TextArea to typescript (#2168)
tlabaj Jun 11, 2019
2c6770a
fix(accordion): prop for heading level
jenny-s51 Jun 5, 2019
fbae1cc
fix(Accordion): adding context provider
jenny-s51 Jun 13, 2019
875e7a8
fix(Accordion): adding context provider
jenny-s51 Jun 13, 2019
04a5419
fix(accordion): resolved merge conflicts
jenny-s51 Jun 13, 2019
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 0 additions & 3 deletions .babelrc

This file was deleted.

41 changes: 5 additions & 36 deletions .github/stale.yml
Original file line number Diff line number Diff line change
@@ -1,55 +1,24 @@
# Configuration for probot-stale - https://github.com/probot/stale

# Number of days of inactivity before an Issue or Pull Request becomes stale
daysUntilStale: 90
daysUntilStale: 60

# Number of days of inactivity before an Issue or Pull Request with the stale label is closed.
# Set to false to disable. If disabled, issues still need to be closed manually, but will remain marked as stale.
daysUntilClose: 7
daysUntilClose: 14

# Issues or Pull Requests with these labels will never be considered stale. Set to `[]` to disable
# Issues with these labels will never be considered stale
exemptLabels:
- pinned
- security
- "[Status] Maybe Later"

# Set to true to ignore issues in a project (defaults to false)
exemptProjects: false

# Set to true to ignore issues in a milestone (defaults to false)
exemptMilestones: false
- accessibility

# Label to use when marking as stale
staleLabel: wontfix

# Comment to post when marking as stale. Set to `false` to disable
markComment: >
This issue has been automatically marked as stale because it has not had
recent activity. It will be closed if no further activity occurs. Thank you
for your contributions.

# Comment to post when removing the stale label.
# unmarkComment: >
# Your comment here.

# Comment to post when closing a stale Issue or Pull Request.
# closeComment: >
# Your comment here.
recent activity. It will be closed if no further activity occurs.

# Limit the number of actions per hour, from 1-30. Default is 30
limitPerRun: 30

# Limit to only `issues` or `pulls`
only: pulls

# Optionally, specify configuration settings that are specific to just 'issues' or 'pulls':
# pulls:
# daysUntilStale: 30
# markComment: >
# This pull request has been automatically marked as stale because it has not had
# recent activity. It will be closed if no further activity occurs. Thank you
# for your contributions.

# issues:
# exemptLabels:
# - confirmed
2 changes: 2 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,8 @@ cache:
- packages/patternfly-4/react-tokens/dist
- packages/patternfly-4/react-inline-edit-extension/dist
- packages/patternfly-4/react-integration/demo-app-ts/build
- packages/patternfly-4/react-virtualized-extension/dist
- packages/patternfly-4/react-topology/dist
- packages/patternfly-4/react-docs/public # To cache PF4 docs
- .cache # For incremental builds
git:
Expand Down
4 changes: 4 additions & 0 deletions babel.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
module.exports = {
extends: './packages/patternfly-4/.babelrc',
presets: [['@babel/env', {'modules': 'commonjs'}], '@babel/react'],
}
55 changes: 24 additions & 31 deletions jest.config.js
Original file line number Diff line number Diff line change
@@ -1,53 +1,46 @@
module.exports = {
collectCoverage: true,
clearMocks: true,
coverageReporters: [
"lcov"
],
coverageReporters: ['lcov'],
modulePathIgnorePatterns: [
"<rootDir>/packages/*.*/dist/*.*",
"<rootDir>/packages/*.*/public/*.*",
"<rootDir>/packages/*.*/.cache/*.*"
'<rootDir>/packages/*.*/dist/*.*',
'<rootDir>/packages/*.*/public/*.*',
'<rootDir>/packages/*.*/.cache/*.*'
],
coveragePathIgnorePatterns: [
"<rootDir>/packages/*.*/dist/*.*",
"<rootDir>/packages/*.*/examples/*.*",
"<rootDir>/packages/*.docs.*",
"<rootDir>/packages/react-docs/*.*"
'<rootDir>/packages/*.*/dist/*.*',
'<rootDir>/packages/*.*/examples/*.*',
'<rootDir>/packages/*.docs.*',
'<rootDir>/packages/react-docs/*.*'
],
modulePaths: [
"<rootDir>/**/node_modules/",
"<rootDir>/packages/",
"<rootDir>/packages/patternfly-3/",
"<rootDir>/packages/patternfly-4/"
],
roots: [
"<rootDir>/packages"
],
setupFiles: [
"./test.env.js"
'<rootDir>/**/node_modules/',
'<rootDir>/packages/',
'<rootDir>/packages/patternfly-3/',
'<rootDir>/packages/patternfly-4/'
],
roots: ['<rootDir>/packages'],
setupFiles: ['./test.env.js'],
snapshotSerializers: [
"enzyme-to-json/serializer",
"<rootDir>/packages/patternfly-4/react-core/scripts/snapshot-serializer"
],
transform: {
"^.+\\.(ts|tsx)?$": "ts-jest",
"^.+\\.jsx?$": "babel-jest",
"\\.(css)$": "<rootDir>/packages/patternfly-4/react-styles/jest-transform.js"
'^.+\\.(ts|tsx?)$': 'ts-jest',
'^.+\\.jsx?$': 'babel-jest',
'\\.(css)$': '<rootDir>/packages/patternfly-4/react-styles/jest-transform.js'
},
testPathIgnorePatterns: [
"<rootDir>/scripts/generators/",
"<rootDir>/packages/patternfly-4/react-integration/"
],
transformIgnorePatterns: [
"node_modules/(?!@patternfly|@novnc|tippy.js)"
'<rootDir>/scripts/generators/',
'<rootDir>/packages/patternfly-4/react-integration/',
'<rootDir>/node_modules/(?!lodash-es/.*)'
],
transformIgnorePatterns: ['node_modules/(?!@patternfly|@novnc|tippy.js|lodash-es)'],
// https://github.com/kulshekhar/ts-jest/blob/master/docs/user/config/index.md
preset: "ts-jest/presets/js-with-babel",
preset: 'ts-jest/presets/js-with-babel',
globals: {
"ts-jest": {
tsConfig: "packages/patternfly-4/react-core/tsconfig.jest.json"
'ts-jest': {
tsConfig: 'packages/patternfly-4/react-core/tsconfig.jest.json'
}
}
};
19 changes: 8 additions & 11 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,13 @@
},
"homepage": "https://github.com/patternfly/patternfly-react#readme",
"devDependencies": {
"@babel/cli": "^7.0.0",
"@babel/core": "^7.0.0",
"@babel/plugin-proposal-class-properties": "^7.0.0",
"@babel/plugin-proposal-object-rest-spread": "^7.0.0",
"@babel/plugin-transform-typescript": "^7.0.0",
"@babel/preset-env": "^7.0.0",
"@babel/preset-react": "^7.0.0",
"@storybook/addon-actions": "^v3.4.11",
"@storybook/addon-info": "^v3.4.11",
"@storybook/addon-knobs": "^v3.4.11",
Expand All @@ -33,17 +40,7 @@
"@storybook/addons": "^3.3.0",
"@storybook/react": "^v3.4.11",
"@storybook/storybook-deployer": "^2.1.0",
"babel-cli": "^6.26.0",
"babel-core": "^6.26.0",
"babel-eslint": "^9.0.0",
"babel-jest": "^23.6.0",
"babel-plugin-transform-class-properties": "^6.24.1",
"babel-plugin-transform-export-extensions": "^6.22.0",
"babel-plugin-transform-imports": "^1.5.0",
"babel-plugin-transform-object-assign": "^6.22.0",
"babel-plugin-transform-object-rest-spread": "^6.26.0",
"babel-preset-env": "^1.6.1",
"babel-preset-react": "^6.24.1",
"babel-plugin-typescript-to-proptypes": "^0.17.1",
"change-case": "^3.0.2",
"codecov": "^3.2.0",
"commitizen": "^3.0.7",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,14 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.

## 2.19.1 (2019-06-10)

**Note:** Version bump only for package patternfly-react-extensions





# 2.19.0 (2019-06-05)


Expand Down
15 changes: 13 additions & 2 deletions packages/patternfly-3/patternfly-react-extensions/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "patternfly-react-extensions",
"version": "2.19.0",
"version": "2.19.1",
"private": false,
"description": "This library provides an extended set of React components for use with the PatternFly reference implementation.",
"main": "dist/js/index.js",
Expand Down Expand Up @@ -42,7 +42,7 @@
"classnames": "^2.2.5",
"css-element-queries": "^1.0.1",
"patternfly": "^3.58.0",
"patternfly-react": "^2.36.0",
"patternfly-react": "^2.36.1",
"react-bootstrap": "^0.32.1",
"react-click-outside": "^3.0.1",
"react-diff-view": "^1.8.1",
Expand All @@ -51,6 +51,17 @@
"unidiff": "^1.0.1"
},
"devDependencies": {
"babel-cli": "^6.26.0",
"babel-core": "^6.26.0",
"babel-eslint": "^9.0.0",
"babel-jest": "^23.6.0",
"babel-plugin-transform-class-properties": "^6.24.1",
"babel-plugin-transform-export-extensions": "^6.22.0",
"babel-plugin-transform-imports": "^1.5.0",
"babel-plugin-transform-object-assign": "^6.22.0",
"babel-plugin-transform-object-rest-spread": "^6.26.0",
"babel-preset-env": "^1.6.1",
"babel-preset-react": "^6.24.1",
"rimraf": "^2.6.2",
"shx": "^0.3.2"
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,14 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.

## 2.0.1 (2019-06-10)

**Note:** Version bump only for package patternfly-react-wooden-tree





# 2.0.0 (2019-06-05)


Expand Down
15 changes: 14 additions & 1 deletion packages/patternfly-3/patternfly-react-wooden-tree/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "patternfly-react-wooden-tree",
"version": "2.0.0",
"version": "2.0.1",
"description": "Reexport react-wooden-tree with Patternfly design.",
"main": "dist/js/index.js",
"module": "dist/esm/index.js",
Expand Down Expand Up @@ -33,6 +33,19 @@
"dependencies": {
"react-wooden-tree": "^2.0.1"
},
"devDependencies": {
"babel-cli": "^6.26.0",
"babel-core": "^6.26.0",
"babel-eslint": "^9.0.0",
"babel-jest": "^23.6.0",
"babel-plugin-transform-class-properties": "^6.24.1",
"babel-plugin-transform-export-extensions": "^6.22.0",
"babel-plugin-transform-imports": "^1.5.0",
"babel-plugin-transform-object-assign": "^6.22.0",
"babel-plugin-transform-object-rest-spread": "^6.26.0",
"babel-preset-env": "^1.6.1",
"babel-preset-react": "^6.24.1"
},
"peerDependencies": {
"prop-types": "^15.6.1",
"react": "^16.3.2",
Expand Down
8 changes: 8 additions & 0 deletions packages/patternfly-3/patternfly-react/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,14 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.

## 2.36.1 (2019-06-10)

**Note:** Version bump only for package patternfly-react





# 2.36.0 (2019-06-05)


Expand Down
13 changes: 12 additions & 1 deletion packages/patternfly-3/patternfly-react/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "patternfly-react",
"version": "2.36.0",
"version": "2.36.1",
"private": false,
"description": "This library provides a set of common React components for use with the PatternFly reference implementation.",
"main": "dist/js/index.js",
Expand Down Expand Up @@ -68,6 +68,17 @@
"clean": "rimraf dist"
},
"devDependencies": {
"babel-cli": "^6.26.0",
"babel-core": "^6.26.0",
"babel-eslint": "^9.0.0",
"babel-jest": "^23.6.0",
"babel-plugin-transform-class-properties": "^6.24.1",
"babel-plugin-transform-export-extensions": "^6.22.0",
"babel-plugin-transform-imports": "^1.5.0",
"babel-plugin-transform-object-assign": "^6.22.0",
"babel-plugin-transform-object-rest-spread": "^6.26.0",
"babel-preset-env": "^1.6.1",
"babel-preset-react": "^6.24.1",
"clean-css-cli": "^4.2.1",
"react-axe": "^3.0.2",
"rimraf": "^2.6.2",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,25 +2,6 @@ import classNames from 'classnames';
import React from 'react';
import PropTypes from 'prop-types';

import CardTitle from './CardTitle';
import CardBody from './CardBody';
import CardHeading from './CardHeading';
import CardFooter from './CardFooter';
import CardLink from './CardLink';
import CardGrid from './CardGrid';
import CardDropdownButton from './CardDropdownButton';
import CardHeightMatching from './CardHeightMatching';
import {
UtilizationCard,
UtilizationCardDetails,
UtilizationCardDetailsCount,
UtilizationCardDetailsDesc,
UtilizationCardDetailsLine1,
UtilizationCardDetailsLine2
} from './UtilizationTrendCard';

import { AggregateStatusCount, AggregateStatusNotifications, AggregateStatusNotification } from './AggregateStatusCard';

/**
* Card Component for PatternFly React
*/
Expand Down Expand Up @@ -69,22 +50,4 @@ Card.defaultProps = {
cardRef: null
};

Card.Title = CardTitle;
Card.Body = CardBody;
Card.Heading = CardHeading;
Card.Footer = CardFooter;
Card.Link = CardLink;
Card.Grid = CardGrid;
Card.DropdownButton = CardDropdownButton;
Card.HeightMatching = CardHeightMatching;
Card.UtilizationCard = UtilizationCard;
Card.UtilizationCardDetails = UtilizationCardDetails;
Card.UtilizationCardDetailsCount = UtilizationCardDetailsCount;
Card.UtilizationCardDetailsDesc = UtilizationCardDetailsDesc;
Card.UtilizationCardDetailsLine1 = UtilizationCardDetailsLine1;
Card.UtilizationCardDetailsLine2 = UtilizationCardDetailsLine2;
Card.AggregateStatusCount = AggregateStatusCount;
Card.AggregateStatusNotifications = AggregateStatusNotifications;
Card.AggregateStatusNotification = AggregateStatusNotification;

export default Card;
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import classNames from 'classnames';
import React from 'react';
import PropTypes from 'prop-types';
import { Card } from '../index';
import Card from '../Card';

const UtilizationCard = ({ children, className, ...props }) => {
const classes = classNames('card-pf-utilization', className);
Expand Down
Loading