@patternfly/react-core 4.175.11 → 4.175.12
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +11 -0
- package/dist/esm/components/ActionList/ActionList.d.ts +2 -0
- package/dist/esm/components/ActionList/ActionList.d.ts.map +1 -1
- package/dist/esm/components/ActionList/ActionList.js +2 -2
- package/dist/esm/components/ActionList/ActionList.js.map +1 -1
- package/dist/esm/components/ActionList/ActionListGroup.d.ts +2 -0
- package/dist/esm/components/ActionList/ActionListGroup.d.ts.map +1 -1
- package/dist/esm/components/ActionList/ActionListGroup.js +2 -2
- package/dist/esm/components/ActionList/ActionListGroup.js.map +1 -1
- package/dist/esm/components/ActionList/ActionListItem.d.ts +2 -0
- package/dist/esm/components/ActionList/ActionListItem.d.ts.map +1 -1
- package/dist/esm/components/ActionList/ActionListItem.js +3 -2
- package/dist/esm/components/ActionList/ActionListItem.js.map +1 -1
- package/dist/js/components/ActionList/ActionList.d.ts +2 -0
- package/dist/js/components/ActionList/ActionList.d.ts.map +1 -1
- package/dist/js/components/ActionList/ActionList.js +2 -2
- package/dist/js/components/ActionList/ActionList.js.map +1 -1
- package/dist/js/components/ActionList/ActionListGroup.d.ts +2 -0
- package/dist/js/components/ActionList/ActionListGroup.d.ts.map +1 -1
- package/dist/js/components/ActionList/ActionListGroup.js +2 -2
- package/dist/js/components/ActionList/ActionListGroup.js.map +1 -1
- package/dist/js/components/ActionList/ActionListItem.d.ts +2 -0
- package/dist/js/components/ActionList/ActionListItem.d.ts.map +1 -1
- package/dist/js/components/ActionList/ActionListItem.js +3 -2
- package/dist/js/components/ActionList/ActionListItem.js.map +1 -1
- package/dist/umd/react-core.js +6 -6
- package/dist/umd/react-core.min.js +1 -1
- package/package.json +5 -5
- package/src/components/ActionList/ActionList.tsx +4 -1
- package/src/components/ActionList/ActionListGroup.tsx +4 -1
- package/src/components/ActionList/ActionListItem.tsx +5 -1
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,17 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
## 4.175.12 (2021-11-30)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Bug Fixes
|
|
10
|
+
|
|
11
|
+
* **action-list:** added support for classname ([#6647](https://github.com/patternfly/patternfly-react/issues/6647)) ([dd3d2ce](https://github.com/patternfly/patternfly-react/commit/dd3d2ce32b4d3e7562faf465abdc508e17f097d9))
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
6
17
|
## 4.175.11 (2021-11-30)
|
|
7
18
|
|
|
8
19
|
**Note:** Version bump only for package @patternfly/react-core
|
|
@@ -4,6 +4,8 @@ export interface ActionListProps extends React.HTMLProps<HTMLDivElement> {
|
|
|
4
4
|
children?: React.ReactNode;
|
|
5
5
|
/** Flag indicating the action list contains multiple icons and item padding should be removed */
|
|
6
6
|
isIconList?: boolean;
|
|
7
|
+
/** Additional classes added to the action list */
|
|
8
|
+
className?: string;
|
|
7
9
|
}
|
|
8
10
|
export declare const ActionList: React.FunctionComponent<ActionListProps>;
|
|
9
11
|
//# sourceMappingURL=ActionList.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ActionList.d.ts","sourceRoot":"","sources":["../../../../src/components/ActionList/ActionList.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAI/B,MAAM,WAAW,eAAgB,SAAQ,KAAK,CAAC,SAAS,CAAC,cAAc,CAAC;IACtE,kCAAkC;IAClC,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC3B,iGAAiG;IACjG,UAAU,CAAC,EAAE,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"ActionList.d.ts","sourceRoot":"","sources":["../../../../src/components/ActionList/ActionList.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAI/B,MAAM,WAAW,eAAgB,SAAQ,KAAK,CAAC,SAAS,CAAC,cAAc,CAAC;IACtE,kCAAkC;IAClC,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC3B,iGAAiG;IACjG,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,kDAAkD;IAClD,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED,eAAO,MAAM,UAAU,EAAE,KAAK,CAAC,iBAAiB,CAAC,eAAe,CAS/D,CAAC"}
|
|
@@ -3,8 +3,8 @@ import * as React from 'react';
|
|
|
3
3
|
import { css } from '@patternfly/react-styles';
|
|
4
4
|
import styles from '@patternfly/react-styles/css/components/ActionList/action-list';
|
|
5
5
|
export const ActionList = (_a) => {
|
|
6
|
-
var { children, isIconList } = _a, props = __rest(_a, ["children", "isIconList"]);
|
|
7
|
-
return (React.createElement("div", Object.assign({ className: css(styles.actionList, isIconList && styles.modifiers.icons) }, props), children));
|
|
6
|
+
var { children, isIconList, className = '' } = _a, props = __rest(_a, ["children", "isIconList", "className"]);
|
|
7
|
+
return (React.createElement("div", Object.assign({ className: css(styles.actionList, isIconList && styles.modifiers.icons, className) }, props), children));
|
|
8
8
|
};
|
|
9
9
|
ActionList.displayName = 'ActionList';
|
|
10
10
|
//# sourceMappingURL=ActionList.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ActionList.js","sourceRoot":"","sources":["../../../../src/components/ActionList/ActionList.tsx"],"names":[],"mappings":";AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,EAAE,GAAG,EAAE,MAAM,0BAA0B,CAAC;AAC/C,OAAO,MAAM,MAAM,gEAAgE,CAAC;
|
|
1
|
+
{"version":3,"file":"ActionList.js","sourceRoot":"","sources":["../../../../src/components/ActionList/ActionList.tsx"],"names":[],"mappings":";AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,EAAE,GAAG,EAAE,MAAM,0BAA0B,CAAC;AAC/C,OAAO,MAAM,MAAM,gEAAgE,CAAC;AAWpF,MAAM,CAAC,MAAM,UAAU,GAA6C,CAAC,EAKnD,EAAE,EAAE;QAL+C,EACnE,QAAQ,EACR,UAAU,EACV,SAAS,GAAG,EAAE,OAEE,EADb,KAAK,cAJ2D,uCAKpE,CADS;IACa,OAAA,CACrB,2CAAK,SAAS,EAAE,GAAG,CAAC,MAAM,CAAC,UAAU,EAAE,UAAU,IAAI,MAAM,CAAC,SAAS,CAAC,KAAK,EAAE,SAAS,CAAC,IAAM,KAAK,GAC/F,QAAQ,CACL,CACP,CAAA;CAAA,CAAC;AACF,UAAU,CAAC,WAAW,GAAG,YAAY,CAAC"}
|
|
@@ -2,6 +2,8 @@ import * as React from 'react';
|
|
|
2
2
|
export interface ActionListGroupProps extends React.HTMLProps<HTMLDivElement> {
|
|
3
3
|
/** Children of the action list group */
|
|
4
4
|
children?: React.ReactNode;
|
|
5
|
+
/** Additional classes added to the action list group */
|
|
6
|
+
className?: string;
|
|
5
7
|
}
|
|
6
8
|
export declare const ActionListGroup: React.FunctionComponent<ActionListGroupProps>;
|
|
7
9
|
//# sourceMappingURL=ActionListGroup.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ActionListGroup.d.ts","sourceRoot":"","sources":["../../../../src/components/ActionList/ActionListGroup.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAI/B,MAAM,WAAW,oBAAqB,SAAQ,KAAK,CAAC,SAAS,CAAC,cAAc,CAAC;IAC3E,wCAAwC;IACxC,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;
|
|
1
|
+
{"version":3,"file":"ActionListGroup.d.ts","sourceRoot":"","sources":["../../../../src/components/ActionList/ActionListGroup.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAI/B,MAAM,WAAW,oBAAqB,SAAQ,KAAK,CAAC,SAAS,CAAC,cAAc,CAAC;IAC3E,wCAAwC;IACxC,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC3B,wDAAwD;IACxD,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED,eAAO,MAAM,eAAe,EAAE,KAAK,CAAC,iBAAiB,CAAC,oBAAoB,CAQzE,CAAC"}
|
|
@@ -3,8 +3,8 @@ import * as React from 'react';
|
|
|
3
3
|
import { css } from '@patternfly/react-styles';
|
|
4
4
|
import styles from '@patternfly/react-styles/css/components/ActionList/action-list';
|
|
5
5
|
export const ActionListGroup = (_a) => {
|
|
6
|
-
var { children } = _a, props = __rest(_a, ["children"]);
|
|
7
|
-
return (React.createElement("div", Object.assign({ className: css(styles.actionListGroup) }, props), children));
|
|
6
|
+
var { children, className = '' } = _a, props = __rest(_a, ["children", "className"]);
|
|
7
|
+
return (React.createElement("div", Object.assign({ className: css(styles.actionListGroup, className) }, props), children));
|
|
8
8
|
};
|
|
9
9
|
ActionListGroup.displayName = 'ActionListGroup';
|
|
10
10
|
//# sourceMappingURL=ActionListGroup.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ActionListGroup.js","sourceRoot":"","sources":["../../../../src/components/ActionList/ActionListGroup.tsx"],"names":[],"mappings":";AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,EAAE,GAAG,EAAE,MAAM,0BAA0B,CAAC;AAC/C,OAAO,MAAM,MAAM,gEAAgE,CAAC;
|
|
1
|
+
{"version":3,"file":"ActionListGroup.js","sourceRoot":"","sources":["../../../../src/components/ActionList/ActionListGroup.tsx"],"names":[],"mappings":";AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,EAAE,GAAG,EAAE,MAAM,0BAA0B,CAAC;AAC/C,OAAO,MAAM,MAAM,gEAAgE,CAAC;AASpF,MAAM,CAAC,MAAM,eAAe,GAAkD,CAAC,EAIxD,EAAE,EAAE;QAJoD,EAC7E,QAAQ,EACR,SAAS,GAAG,EAAE,OAEO,EADlB,KAAK,cAHqE,yBAI9E,CADS;IACkB,OAAA,CAC1B,2CAAK,SAAS,EAAE,GAAG,CAAC,MAAM,CAAC,eAAe,EAAE,SAAS,CAAC,IAAM,KAAK,GAC9D,QAAQ,CACL,CACP,CAAA;CAAA,CAAC;AACF,eAAe,CAAC,WAAW,GAAG,iBAAiB,CAAC"}
|
|
@@ -2,6 +2,8 @@ import * as React from 'react';
|
|
|
2
2
|
export interface ActionListItemProps extends React.HTMLProps<HTMLDivElement> {
|
|
3
3
|
/** Children of the action list item */
|
|
4
4
|
children?: React.ReactNode;
|
|
5
|
+
/** Additional classes added to the action list item */
|
|
6
|
+
className?: string;
|
|
5
7
|
}
|
|
6
8
|
export declare const ActionListItem: React.FunctionComponent<ActionListItemProps>;
|
|
7
9
|
//# sourceMappingURL=ActionListItem.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ActionListItem.d.ts","sourceRoot":"","sources":["../../../../src/components/ActionList/ActionListItem.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"ActionListItem.d.ts","sourceRoot":"","sources":["../../../../src/components/ActionList/ActionListItem.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAG/B,MAAM,WAAW,mBAAoB,SAAQ,KAAK,CAAC,SAAS,CAAC,cAAc,CAAC;IAC1E,uCAAuC;IACvC,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC3B,uDAAuD;IACvD,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED,eAAO,MAAM,cAAc,EAAE,KAAK,CAAC,iBAAiB,CAAC,mBAAmB,CAQvE,CAAC"}
|
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
import { __rest } from "tslib";
|
|
2
2
|
import * as React from 'react';
|
|
3
|
+
import { css } from '@patternfly/react-styles';
|
|
3
4
|
export const ActionListItem = (_a) => {
|
|
4
|
-
var { children } = _a, props = __rest(_a, ["children"]);
|
|
5
|
-
return (React.createElement("div", Object.assign({ className:
|
|
5
|
+
var { children, className = '' } = _a, props = __rest(_a, ["children", "className"]);
|
|
6
|
+
return (React.createElement("div", Object.assign({ className: css('pf-c-action-list__item', className) }, props), children));
|
|
6
7
|
};
|
|
7
8
|
ActionListItem.displayName = 'ActionListItem';
|
|
8
9
|
//# sourceMappingURL=ActionListItem.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ActionListItem.js","sourceRoot":"","sources":["../../../../src/components/ActionList/ActionListItem.tsx"],"names":[],"mappings":";AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"ActionListItem.js","sourceRoot":"","sources":["../../../../src/components/ActionList/ActionListItem.tsx"],"names":[],"mappings":";AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,EAAE,GAAG,EAAE,MAAM,0BAA0B,CAAC;AAS/C,MAAM,CAAC,MAAM,cAAc,GAAiD,CAAC,EAIvD,EAAE,EAAE;QAJmD,EAC3E,QAAQ,EACR,SAAS,GAAG,EAAE,OAEM,EADjB,KAAK,cAHmE,yBAI5E,CADS;IACiB,OAAA,CACzB,2CAAK,SAAS,EAAE,GAAG,CAAC,wBAAwB,EAAE,SAAS,CAAC,IAAM,KAAK,GAChE,QAAQ,CACL,CACP,CAAA;CAAA,CAAC;AACF,cAAc,CAAC,WAAW,GAAG,gBAAgB,CAAC"}
|
|
@@ -4,6 +4,8 @@ export interface ActionListProps extends React.HTMLProps<HTMLDivElement> {
|
|
|
4
4
|
children?: React.ReactNode;
|
|
5
5
|
/** Flag indicating the action list contains multiple icons and item padding should be removed */
|
|
6
6
|
isIconList?: boolean;
|
|
7
|
+
/** Additional classes added to the action list */
|
|
8
|
+
className?: string;
|
|
7
9
|
}
|
|
8
10
|
export declare const ActionList: React.FunctionComponent<ActionListProps>;
|
|
9
11
|
//# sourceMappingURL=ActionList.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ActionList.d.ts","sourceRoot":"","sources":["../../../../src/components/ActionList/ActionList.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAI/B,MAAM,WAAW,eAAgB,SAAQ,KAAK,CAAC,SAAS,CAAC,cAAc,CAAC;IACtE,kCAAkC;IAClC,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC3B,iGAAiG;IACjG,UAAU,CAAC,EAAE,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"ActionList.d.ts","sourceRoot":"","sources":["../../../../src/components/ActionList/ActionList.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAI/B,MAAM,WAAW,eAAgB,SAAQ,KAAK,CAAC,SAAS,CAAC,cAAc,CAAC;IACtE,kCAAkC;IAClC,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC3B,iGAAiG;IACjG,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,kDAAkD;IAClD,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED,eAAO,MAAM,UAAU,EAAE,KAAK,CAAC,iBAAiB,CAAC,eAAe,CAS/D,CAAC"}
|
|
@@ -6,8 +6,8 @@ const React = tslib_1.__importStar(require("react"));
|
|
|
6
6
|
const react_styles_1 = require("@patternfly/react-styles");
|
|
7
7
|
const action_list_1 = tslib_1.__importDefault(require("@patternfly/react-styles/css/components/ActionList/action-list"));
|
|
8
8
|
const ActionList = (_a) => {
|
|
9
|
-
var { children, isIconList } = _a, props = tslib_1.__rest(_a, ["children", "isIconList"]);
|
|
10
|
-
return (React.createElement("div", Object.assign({ className: react_styles_1.css(action_list_1.default.actionList, isIconList && action_list_1.default.modifiers.icons) }, props), children));
|
|
9
|
+
var { children, isIconList, className = '' } = _a, props = tslib_1.__rest(_a, ["children", "isIconList", "className"]);
|
|
10
|
+
return (React.createElement("div", Object.assign({ className: react_styles_1.css(action_list_1.default.actionList, isIconList && action_list_1.default.modifiers.icons, className) }, props), children));
|
|
11
11
|
};
|
|
12
12
|
exports.ActionList = ActionList;
|
|
13
13
|
exports.ActionList.displayName = 'ActionList';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ActionList.js","sourceRoot":"","sources":["../../../../src/components/ActionList/ActionList.tsx"],"names":[],"mappings":";;;;AAAA,qDAA+B;AAC/B,2DAA+C;AAC/C,yHAAoF;
|
|
1
|
+
{"version":3,"file":"ActionList.js","sourceRoot":"","sources":["../../../../src/components/ActionList/ActionList.tsx"],"names":[],"mappings":";;;;AAAA,qDAA+B;AAC/B,2DAA+C;AAC/C,yHAAoF;AAW7E,MAAM,UAAU,GAA6C,CAAC,EAKnD,EAAE,EAAE;QAL+C,EACnE,QAAQ,EACR,UAAU,EACV,SAAS,GAAG,EAAE,OAEE,EADb,KAAK,sBAJ2D,uCAKpE,CADS;IACa,OAAA,CACrB,2CAAK,SAAS,EAAE,kBAAG,CAAC,qBAAM,CAAC,UAAU,EAAE,UAAU,IAAI,qBAAM,CAAC,SAAS,CAAC,KAAK,EAAE,SAAS,CAAC,IAAM,KAAK,GAC/F,QAAQ,CACL,CACP,CAAA;CAAA,CAAC;AATW,QAAA,UAAU,cASrB;AACF,kBAAU,CAAC,WAAW,GAAG,YAAY,CAAC"}
|
|
@@ -2,6 +2,8 @@ import * as React from 'react';
|
|
|
2
2
|
export interface ActionListGroupProps extends React.HTMLProps<HTMLDivElement> {
|
|
3
3
|
/** Children of the action list group */
|
|
4
4
|
children?: React.ReactNode;
|
|
5
|
+
/** Additional classes added to the action list group */
|
|
6
|
+
className?: string;
|
|
5
7
|
}
|
|
6
8
|
export declare const ActionListGroup: React.FunctionComponent<ActionListGroupProps>;
|
|
7
9
|
//# sourceMappingURL=ActionListGroup.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ActionListGroup.d.ts","sourceRoot":"","sources":["../../../../src/components/ActionList/ActionListGroup.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAI/B,MAAM,WAAW,oBAAqB,SAAQ,KAAK,CAAC,SAAS,CAAC,cAAc,CAAC;IAC3E,wCAAwC;IACxC,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;
|
|
1
|
+
{"version":3,"file":"ActionListGroup.d.ts","sourceRoot":"","sources":["../../../../src/components/ActionList/ActionListGroup.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAI/B,MAAM,WAAW,oBAAqB,SAAQ,KAAK,CAAC,SAAS,CAAC,cAAc,CAAC;IAC3E,wCAAwC;IACxC,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC3B,wDAAwD;IACxD,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED,eAAO,MAAM,eAAe,EAAE,KAAK,CAAC,iBAAiB,CAAC,oBAAoB,CAQzE,CAAC"}
|
|
@@ -6,8 +6,8 @@ const React = tslib_1.__importStar(require("react"));
|
|
|
6
6
|
const react_styles_1 = require("@patternfly/react-styles");
|
|
7
7
|
const action_list_1 = tslib_1.__importDefault(require("@patternfly/react-styles/css/components/ActionList/action-list"));
|
|
8
8
|
const ActionListGroup = (_a) => {
|
|
9
|
-
var { children } = _a, props = tslib_1.__rest(_a, ["children"]);
|
|
10
|
-
return (React.createElement("div", Object.assign({ className: react_styles_1.css(action_list_1.default.actionListGroup) }, props), children));
|
|
9
|
+
var { children, className = '' } = _a, props = tslib_1.__rest(_a, ["children", "className"]);
|
|
10
|
+
return (React.createElement("div", Object.assign({ className: react_styles_1.css(action_list_1.default.actionListGroup, className) }, props), children));
|
|
11
11
|
};
|
|
12
12
|
exports.ActionListGroup = ActionListGroup;
|
|
13
13
|
exports.ActionListGroup.displayName = 'ActionListGroup';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ActionListGroup.js","sourceRoot":"","sources":["../../../../src/components/ActionList/ActionListGroup.tsx"],"names":[],"mappings":";;;;AAAA,qDAA+B;AAC/B,2DAA+C;AAC/C,yHAAoF;
|
|
1
|
+
{"version":3,"file":"ActionListGroup.js","sourceRoot":"","sources":["../../../../src/components/ActionList/ActionListGroup.tsx"],"names":[],"mappings":";;;;AAAA,qDAA+B;AAC/B,2DAA+C;AAC/C,yHAAoF;AAS7E,MAAM,eAAe,GAAkD,CAAC,EAIxD,EAAE,EAAE;QAJoD,EAC7E,QAAQ,EACR,SAAS,GAAG,EAAE,OAEO,EADlB,KAAK,sBAHqE,yBAI9E,CADS;IACkB,OAAA,CAC1B,2CAAK,SAAS,EAAE,kBAAG,CAAC,qBAAM,CAAC,eAAe,EAAE,SAAS,CAAC,IAAM,KAAK,GAC9D,QAAQ,CACL,CACP,CAAA;CAAA,CAAC;AARW,QAAA,eAAe,mBAQ1B;AACF,uBAAe,CAAC,WAAW,GAAG,iBAAiB,CAAC"}
|
|
@@ -2,6 +2,8 @@ import * as React from 'react';
|
|
|
2
2
|
export interface ActionListItemProps extends React.HTMLProps<HTMLDivElement> {
|
|
3
3
|
/** Children of the action list item */
|
|
4
4
|
children?: React.ReactNode;
|
|
5
|
+
/** Additional classes added to the action list item */
|
|
6
|
+
className?: string;
|
|
5
7
|
}
|
|
6
8
|
export declare const ActionListItem: React.FunctionComponent<ActionListItemProps>;
|
|
7
9
|
//# sourceMappingURL=ActionListItem.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ActionListItem.d.ts","sourceRoot":"","sources":["../../../../src/components/ActionList/ActionListItem.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"ActionListItem.d.ts","sourceRoot":"","sources":["../../../../src/components/ActionList/ActionListItem.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAG/B,MAAM,WAAW,mBAAoB,SAAQ,KAAK,CAAC,SAAS,CAAC,cAAc,CAAC;IAC1E,uCAAuC;IACvC,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC3B,uDAAuD;IACvD,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED,eAAO,MAAM,cAAc,EAAE,KAAK,CAAC,iBAAiB,CAAC,mBAAmB,CAQvE,CAAC"}
|
|
@@ -3,9 +3,10 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.ActionListItem = void 0;
|
|
4
4
|
const tslib_1 = require("tslib");
|
|
5
5
|
const React = tslib_1.__importStar(require("react"));
|
|
6
|
+
const react_styles_1 = require("@patternfly/react-styles");
|
|
6
7
|
const ActionListItem = (_a) => {
|
|
7
|
-
var { children } = _a, props = tslib_1.__rest(_a, ["children"]);
|
|
8
|
-
return (React.createElement("div", Object.assign({ className:
|
|
8
|
+
var { children, className = '' } = _a, props = tslib_1.__rest(_a, ["children", "className"]);
|
|
9
|
+
return (React.createElement("div", Object.assign({ className: react_styles_1.css('pf-c-action-list__item', className) }, props), children));
|
|
9
10
|
};
|
|
10
11
|
exports.ActionListItem = ActionListItem;
|
|
11
12
|
exports.ActionListItem.displayName = 'ActionListItem';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ActionListItem.js","sourceRoot":"","sources":["../../../../src/components/ActionList/ActionListItem.tsx"],"names":[],"mappings":";;;;AAAA,qDAA+B;
|
|
1
|
+
{"version":3,"file":"ActionListItem.js","sourceRoot":"","sources":["../../../../src/components/ActionList/ActionListItem.tsx"],"names":[],"mappings":";;;;AAAA,qDAA+B;AAC/B,2DAA+C;AASxC,MAAM,cAAc,GAAiD,CAAC,EAIvD,EAAE,EAAE;QAJmD,EAC3E,QAAQ,EACR,SAAS,GAAG,EAAE,OAEM,EADjB,KAAK,sBAHmE,yBAI5E,CADS;IACiB,OAAA,CACzB,2CAAK,SAAS,EAAE,kBAAG,CAAC,wBAAwB,EAAE,SAAS,CAAC,IAAM,KAAK,GAChE,QAAQ,CACL,CACP,CAAA;CAAA,CAAC;AARW,QAAA,cAAc,kBAQzB;AACF,sBAAc,CAAC,WAAW,GAAG,gBAAgB,CAAC"}
|
package/dist/umd/react-core.js
CHANGED
|
@@ -3923,20 +3923,20 @@
|
|
|
3923
3923
|
};
|
|
3924
3924
|
|
|
3925
3925
|
const ActionList = (_a) => {
|
|
3926
|
-
var { children, isIconList } = _a, props = __rest$1(_a, ["children", "isIconList"]);
|
|
3927
|
-
return (React__namespace.createElement("div", Object.assign({ className: css(_default$1h.actionList, isIconList && _default$1h.modifiers.icons) }, props), children));
|
|
3926
|
+
var { children, isIconList, className = '' } = _a, props = __rest$1(_a, ["children", "isIconList", "className"]);
|
|
3927
|
+
return (React__namespace.createElement("div", Object.assign({ className: css(_default$1h.actionList, isIconList && _default$1h.modifiers.icons, className) }, props), children));
|
|
3928
3928
|
};
|
|
3929
3929
|
ActionList.displayName = 'ActionList';
|
|
3930
3930
|
|
|
3931
3931
|
const ActionListGroup = (_a) => {
|
|
3932
|
-
var { children } = _a, props = __rest$1(_a, ["children"]);
|
|
3933
|
-
return (React__namespace.createElement("div", Object.assign({ className: css(_default$1h.actionListGroup) }, props), children));
|
|
3932
|
+
var { children, className = '' } = _a, props = __rest$1(_a, ["children", "className"]);
|
|
3933
|
+
return (React__namespace.createElement("div", Object.assign({ className: css(_default$1h.actionListGroup, className) }, props), children));
|
|
3934
3934
|
};
|
|
3935
3935
|
ActionListGroup.displayName = 'ActionListGroup';
|
|
3936
3936
|
|
|
3937
3937
|
const ActionListItem = (_a) => {
|
|
3938
|
-
var { children } = _a, props = __rest$1(_a, ["children"]);
|
|
3939
|
-
return (React__namespace.createElement("div", Object.assign({ className:
|
|
3938
|
+
var { children, className = '' } = _a, props = __rest$1(_a, ["children", "className"]);
|
|
3939
|
+
return (React__namespace.createElement("div", Object.assign({ className: css('pf-c-action-list__item', className) }, props), children));
|
|
3940
3940
|
};
|
|
3941
3941
|
ActionListItem.displayName = 'ActionListItem';
|
|
3942
3942
|
|