@patternfly/react-core 4.205.1 → 4.206.2
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 +30 -0
- package/dist/esm/components/DataList/DataListCheck.d.ts +9 -3
- package/dist/esm/components/DataList/DataListCheck.d.ts.map +1 -1
- package/dist/esm/components/DataList/DataListCheck.js +2 -2
- package/dist/esm/components/DataList/DataListCheck.js.map +1 -1
- package/dist/esm/components/HelperText/HelperText.d.ts +9 -0
- package/dist/esm/components/HelperText/HelperText.d.ts.map +1 -1
- package/dist/esm/components/HelperText/HelperText.js +2 -2
- package/dist/esm/components/HelperText/HelperText.js.map +1 -1
- package/dist/esm/components/HelperText/HelperTextItem.d.ts +9 -1
- package/dist/esm/components/HelperText/HelperTextItem.d.ts.map +1 -1
- package/dist/esm/components/HelperText/HelperTextItem.js +2 -2
- package/dist/esm/components/HelperText/HelperTextItem.js.map +1 -1
- package/dist/js/components/DataList/DataListCheck.d.ts +9 -3
- package/dist/js/components/DataList/DataListCheck.d.ts.map +1 -1
- package/dist/js/components/DataList/DataListCheck.js +2 -2
- package/dist/js/components/DataList/DataListCheck.js.map +1 -1
- package/dist/js/components/HelperText/HelperText.d.ts +9 -0
- package/dist/js/components/HelperText/HelperText.d.ts.map +1 -1
- package/dist/js/components/HelperText/HelperText.js +2 -2
- package/dist/js/components/HelperText/HelperText.js.map +1 -1
- package/dist/js/components/HelperText/HelperTextItem.d.ts +9 -1
- package/dist/js/components/HelperText/HelperTextItem.d.ts.map +1 -1
- package/dist/js/components/HelperText/HelperTextItem.js +2 -2
- package/dist/js/components/HelperText/HelperTextItem.js.map +1 -1
- package/dist/umd/react-core.css +5 -0
- package/dist/umd/react-core.js +7 -6
- package/dist/umd/react-core.min.css +71 -66
- package/dist/umd/react-core.min.js +2 -2
- package/package.json +6 -6
- package/src/components/DataList/DataListCheck.tsx +12 -5
- package/src/components/HelperText/HelperText.tsx +17 -1
- package/src/components/HelperText/HelperTextItem.tsx +11 -1
- package/src/demos/HelperText.md +48 -0
- package/src/demos/examples/HelperText/HelperTextDynamicVariantStaticText.tsx +71 -0
- package/src/demos/examples/HelperText/HelperTextStaticVariantDynamicText.tsx +47 -0
- package/src/demos/examples/HelperText/HelperTextStaticVariantStaticText.tsx +30 -0
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,36 @@
|
|
|
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.206.2 (2022-04-21)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Bug Fixes
|
|
10
|
+
|
|
11
|
+
* **DataListCheck:** revert checked prop ([#7284](https://github.com/patternfly/patternfly-react/issues/7284)) ([d9889fc](https://github.com/patternfly/patternfly-react/commit/d9889fc86f224533f81457f384954e6a299c5677))
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
## 4.206.1 (2022-04-20)
|
|
18
|
+
|
|
19
|
+
**Note:** Version bump only for package @patternfly/react-core
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
# 4.206.0 (2022-04-19)
|
|
26
|
+
|
|
27
|
+
|
|
28
|
+
### Features
|
|
29
|
+
|
|
30
|
+
* **HelperText:** add react demos ([#7250](https://github.com/patternfly/patternfly-react/issues/7250)) ([bf68976](https://github.com/patternfly/patternfly-react/commit/bf68976bebd683c935f587795a868c32ea8c5616))
|
|
31
|
+
|
|
32
|
+
|
|
33
|
+
|
|
34
|
+
|
|
35
|
+
|
|
6
36
|
## 4.205.1 (2022-04-19)
|
|
7
37
|
|
|
8
38
|
**Note:** Version bump only for package @patternfly/react-core
|
|
@@ -6,14 +6,20 @@ export interface DataListCheckProps extends Omit<React.HTMLProps<HTMLInputElemen
|
|
|
6
6
|
isValid?: boolean;
|
|
7
7
|
/** Flag to show if the DataList checkbox is disabled */
|
|
8
8
|
isDisabled?: boolean;
|
|
9
|
-
/** Flag to show if the DataList checkbox is checked when it is controlled by React state.
|
|
10
|
-
*
|
|
9
|
+
/** Flag to show if the DataList checkbox is checked when it is controlled by React state. Both isChecked and checked are valid,
|
|
10
|
+
* but only use one.
|
|
11
|
+
* To make the DataList checkbox uncontrolled, instead use the defaultChecked prop, but do not use both.
|
|
11
12
|
*/
|
|
12
13
|
isChecked?: boolean;
|
|
14
|
+
/** Flag to show if the DataList checkbox is checked when it is controlled by React state. Both isChecked and checked are valid,
|
|
15
|
+
* but only use one.
|
|
16
|
+
* To make the DataList checkbox uncontrolled, instead use the defaultChecked prop, but do not use both.
|
|
17
|
+
*/
|
|
18
|
+
checked?: boolean;
|
|
13
19
|
/** Flag to set default value of DataList checkbox when it is uncontrolled by React state.
|
|
14
20
|
* To make the DataList checkbox controlled, instead use the isChecked prop, but do not use both.
|
|
15
21
|
*/
|
|
16
|
-
|
|
22
|
+
defaultChecked?: boolean;
|
|
17
23
|
/** A callback for when the DataList checkbox selection changes */
|
|
18
24
|
onChange?: (checked: boolean, event: React.FormEvent<HTMLInputElement>) => void;
|
|
19
25
|
/** Aria-labelledby of the DataList checkbox */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DataListCheck.d.ts","sourceRoot":"","sources":["../../../../src/components/DataList/DataListCheck.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAI/B,MAAM,WAAW,kBAAmB,SAAQ,IAAI,CAAC,KAAK,CAAC,SAAS,CAAC,gBAAgB,CAAC,EAAE,UAAU,GAAG,SAAS,CAAC;IACzG,6DAA6D;IAC7D,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,0EAA0E;IAC1E,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,wDAAwD;IACxD,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB
|
|
1
|
+
{"version":3,"file":"DataListCheck.d.ts","sourceRoot":"","sources":["../../../../src/components/DataList/DataListCheck.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAI/B,MAAM,WAAW,kBAAmB,SAAQ,IAAI,CAAC,KAAK,CAAC,SAAS,CAAC,gBAAgB,CAAC,EAAE,UAAU,GAAG,SAAS,CAAC;IACzG,6DAA6D;IAC7D,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,0EAA0E;IAC1E,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,wDAAwD;IACxD,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB;;;OAGG;IACH,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB;;;OAGG;IACH,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB;;OAEG;IACH,cAAc,CAAC,EAAE,OAAO,CAAC;IACzB,kEAAkE;IAClE,QAAQ,CAAC,EAAE,CAAC,OAAO,EAAE,OAAO,EAAE,KAAK,EAAE,KAAK,CAAC,SAAS,CAAC,gBAAgB,CAAC,KAAK,IAAI,CAAC;IAChF,+CAA+C;IAC/C,iBAAiB,EAAE,MAAM,CAAC;IAC1B,sEAAsE;IACtE,aAAa,CAAC,EAAE,OAAO,CAAC;CACzB;AAED,eAAO,MAAM,aAAa,EAAE,KAAK,CAAC,iBAAiB,CAAC,kBAAkB,CA+BrE,CAAC"}
|
|
@@ -5,9 +5,9 @@ import styles from '@patternfly/react-styles/css/components/DataList/data-list';
|
|
|
5
5
|
export const DataListCheck = (_a) => {
|
|
6
6
|
var { className = '',
|
|
7
7
|
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
|
8
|
-
onChange = (checked, event) => { }, isValid = true, isDisabled = false, isChecked = null, checked = null, otherControls = false } = _a, props = __rest(_a, ["className", "onChange", "isValid", "isDisabled", "isChecked", "checked", "otherControls"]);
|
|
8
|
+
onChange = (checked, event) => { }, isValid = true, isDisabled = false, isChecked = null, checked = null, defaultChecked, otherControls = false } = _a, props = __rest(_a, ["className", "onChange", "isValid", "isDisabled", "isChecked", "checked", "defaultChecked", "otherControls"]);
|
|
9
9
|
const check = (React.createElement("div", { className: css(styles.dataListCheck) },
|
|
10
|
-
React.createElement("input", Object.assign({}, props, { type: "checkbox", onChange: event => onChange(event.currentTarget.checked, event), "aria-invalid": !isValid, disabled: isDisabled }, (
|
|
10
|
+
React.createElement("input", Object.assign({}, props, { type: "checkbox", onChange: event => onChange(event.currentTarget.checked, event), "aria-invalid": !isValid, disabled: isDisabled }, ([true, false].includes(defaultChecked) && { defaultChecked }), (![true, false].includes(defaultChecked) && { checked: isChecked || checked })))));
|
|
11
11
|
return (React.createElement(React.Fragment, null,
|
|
12
12
|
!otherControls && React.createElement("div", { className: css(styles.dataListItemControl, className) }, check),
|
|
13
13
|
otherControls && check));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DataListCheck.js","sourceRoot":"","sources":["../../../../src/components/DataList/DataListCheck.tsx"],"names":[],"mappings":";AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,EAAE,GAAG,EAAE,MAAM,0BAA0B,CAAC;AAC/C,OAAO,MAAM,MAAM,4DAA4D,CAAC;
|
|
1
|
+
{"version":3,"file":"DataListCheck.js","sourceRoot":"","sources":["../../../../src/components/DataList/DataListCheck.tsx"],"names":[],"mappings":";AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,EAAE,GAAG,EAAE,MAAM,0BAA0B,CAAC;AAC/C,OAAO,MAAM,MAAM,4DAA4D,CAAC;AA+BhF,MAAM,CAAC,MAAM,aAAa,GAAgD,CAAC,EAWtD,EAAE,EAAE;QAXkD,EACzE,SAAS,GAAG,EAAE;IACd,6DAA6D;IAC7D,QAAQ,GAAG,CAAC,OAAgB,EAAE,KAAwC,EAAE,EAAE,GAAE,CAAC,EAC7E,OAAO,GAAG,IAAI,EACd,UAAU,GAAG,KAAK,EAClB,SAAS,GAAG,IAAI,EAChB,OAAO,GAAG,IAAI,EACd,cAAc,EACd,aAAa,GAAG,KAAK,OAEF,EADhB,KAAK,cAViE,6GAW1E,CADS;IAER,MAAM,KAAK,GAAG,CACZ,6BAAK,SAAS,EAAE,GAAG,CAAC,MAAM,CAAC,aAAa,CAAC;QACvC,+CACM,KAAK,IACT,IAAI,EAAC,UAAU,EACf,QAAQ,EAAE,KAAK,CAAC,EAAE,CAAC,QAAQ,CAAC,KAAK,CAAC,aAAa,CAAC,OAAO,EAAE,KAAK,CAAC,kBACjD,CAAC,OAAO,EACtB,QAAQ,EAAE,UAAU,IAChB,CAAC,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC,QAAQ,CAAC,cAAc,CAAC,IAAI,EAAE,cAAc,EAAE,CAAC,EAC9D,CAAC,CAAC,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC,QAAQ,CAAC,cAAc,CAAC,IAAI,EAAE,OAAO,EAAE,SAAS,IAAI,OAAO,EAAE,CAAC,EAClF,CACE,CACP,CAAC;IACF,OAAO,CACL,oBAAC,KAAK,CAAC,QAAQ;QACZ,CAAC,aAAa,IAAI,6BAAK,SAAS,EAAE,GAAG,CAAC,MAAM,CAAC,mBAAmB,EAAE,SAAS,CAAC,IAAG,KAAK,CAAO;QAC3F,aAAa,IAAI,KAAK,CACR,CAClB,CAAC;AACJ,CAAC,CAAC;AACF,aAAa,CAAC,WAAW,GAAG,eAAe,CAAC"}
|
|
@@ -6,6 +6,15 @@ export interface HelperTextProps extends React.HTMLProps<HTMLDivElement | HTMLUL
|
|
|
6
6
|
className?: string;
|
|
7
7
|
/** Component type of the helper text container */
|
|
8
8
|
component?: 'div' | 'ul';
|
|
9
|
+
/** ID for the helper text container. The value of this prop can be passed into a form component's
|
|
10
|
+
* aria-describedby prop when you intend for all helper text items to be announced to
|
|
11
|
+
* assistive technologies.
|
|
12
|
+
*/
|
|
13
|
+
id?: string;
|
|
14
|
+
/** Flag for indicating whether the helper text container is a live region. Use this prop when you
|
|
15
|
+
* expect or intend for any helper text items within the container to be dynamically updated.
|
|
16
|
+
*/
|
|
17
|
+
isLiveRegion?: boolean;
|
|
9
18
|
}
|
|
10
19
|
export declare const HelperText: React.FunctionComponent<HelperTextProps>;
|
|
11
20
|
//# sourceMappingURL=HelperText.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"HelperText.d.ts","sourceRoot":"","sources":["../../../../src/components/HelperText/HelperText.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAI/B,MAAM,WAAW,eAAgB,SAAQ,KAAK,CAAC,SAAS,CAAC,cAAc,GAAG,gBAAgB,CAAC;IACzF,yDAAyD;IACzD,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC3B,+DAA+D;IAC/D,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,kDAAkD;IAClD,SAAS,CAAC,EAAE,KAAK,GAAG,IAAI,CAAC;
|
|
1
|
+
{"version":3,"file":"HelperText.d.ts","sourceRoot":"","sources":["../../../../src/components/HelperText/HelperText.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAI/B,MAAM,WAAW,eAAgB,SAAQ,KAAK,CAAC,SAAS,CAAC,cAAc,GAAG,gBAAgB,CAAC;IACzF,yDAAyD;IACzD,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC3B,+DAA+D;IAC/D,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,kDAAkD;IAClD,SAAS,CAAC,EAAE,KAAK,GAAG,IAAI,CAAC;IACzB;;;OAGG;IACH,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ;;OAEG;IACH,YAAY,CAAC,EAAE,OAAO,CAAC;CACxB;AAED,eAAO,MAAM,UAAU,EAAE,KAAK,CAAC,iBAAiB,CAAC,eAAe,CAmB/D,CAAC"}
|
|
@@ -3,9 +3,9 @@ import * as React from 'react';
|
|
|
3
3
|
import styles from '@patternfly/react-styles/css/components/HelperText/helper-text';
|
|
4
4
|
import { css } from '@patternfly/react-styles';
|
|
5
5
|
export const HelperText = (_a) => {
|
|
6
|
-
var { children, className, component = 'div' } = _a, props = __rest(_a, ["children", "className", "component"]);
|
|
6
|
+
var { children, className, component = 'div', id, isLiveRegion = false } = _a, props = __rest(_a, ["children", "className", "component", "id", "isLiveRegion"]);
|
|
7
7
|
const Component = component;
|
|
8
|
-
return (React.createElement(Component, Object.assign({ className: css(styles.helperText, className) }, props), children));
|
|
8
|
+
return (React.createElement(Component, Object.assign({ id: id, className: css(styles.helperText, className) }, (isLiveRegion && { 'aria-live': 'polite' }), props), children));
|
|
9
9
|
};
|
|
10
10
|
HelperText.displayName = 'HelperText';
|
|
11
11
|
//# sourceMappingURL=HelperText.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"HelperText.js","sourceRoot":"","sources":["../../../../src/components/HelperText/HelperText.tsx"],"names":[],"mappings":";AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,MAAM,MAAM,gEAAgE,CAAC;AACpF,OAAO,EAAE,GAAG,EAAE,MAAM,0BAA0B,CAAC;
|
|
1
|
+
{"version":3,"file":"HelperText.js","sourceRoot":"","sources":["../../../../src/components/HelperText/HelperText.tsx"],"names":[],"mappings":";AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,MAAM,MAAM,gEAAgE,CAAC;AACpF,OAAO,EAAE,GAAG,EAAE,MAAM,0BAA0B,CAAC;AAoB/C,MAAM,CAAC,MAAM,UAAU,GAA6C,CAAC,EAOnD,EAAE,EAAE;QAP+C,EACnE,QAAQ,EACR,SAAS,EACT,SAAS,GAAG,KAAK,EACjB,EAAE,EACF,YAAY,GAAG,KAAK,OAEJ,EADb,KAAK,cAN2D,4DAOpE,CADS;IAER,MAAM,SAAS,GAAG,SAAgB,CAAC;IACnC,OAAO,CACL,oBAAC,SAAS,kBACR,EAAE,EAAE,EAAE,EACN,SAAS,EAAE,GAAG,CAAC,MAAM,CAAC,UAAU,EAAE,SAAS,CAAC,IACxC,CAAC,YAAY,IAAI,EAAE,WAAW,EAAE,QAAQ,EAAE,CAAC,EAC3C,KAAK,GAER,QAAQ,CACC,CACb,CAAC;AACJ,CAAC,CAAC;AACF,UAAU,CAAC,WAAW,GAAG,YAAY,CAAC"}
|
|
@@ -10,10 +10,18 @@ export interface HelperTextItemProps extends React.HTMLProps<HTMLDivElement | HT
|
|
|
10
10
|
variant?: 'default' | 'indeterminate' | 'warning' | 'success' | 'error';
|
|
11
11
|
/** Custom icon prefixing the helper text. This property will override the default icon paired with each helper text variant. */
|
|
12
12
|
icon?: React.ReactNode;
|
|
13
|
-
/** Flag indicating the helper text item is dynamic.
|
|
13
|
+
/** Flag indicating the helper text item is dynamic. This prop should be used when the
|
|
14
|
+
* text content of the helper text item will never change, but the icon and styling will
|
|
15
|
+
* be dynamically updated via the `variant` prop.
|
|
16
|
+
*/
|
|
14
17
|
isDynamic?: boolean;
|
|
15
18
|
/** Flag indicating the helper text should have an icon. Dynamic helper texts include icons by default while static helper texts do not. */
|
|
16
19
|
hasIcon?: boolean;
|
|
20
|
+
/** ID for the helper text item. The value of this prop can be passed into a form component's
|
|
21
|
+
* aria-describedby prop when you intend for only specific helper text items to be announced to
|
|
22
|
+
* assistive technologies.
|
|
23
|
+
*/
|
|
24
|
+
id?: string;
|
|
17
25
|
}
|
|
18
26
|
export declare const HelperTextItem: React.FunctionComponent<HelperTextItemProps>;
|
|
19
27
|
//# sourceMappingURL=HelperTextItem.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"HelperTextItem.d.ts","sourceRoot":"","sources":["../../../../src/components/HelperText/HelperTextItem.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAQ/B,MAAM,WAAW,mBAAoB,SAAQ,KAAK,CAAC,SAAS,CAAC,cAAc,GAAG,aAAa,CAAC;IAC1F,oDAAoD;IACpD,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC3B,0DAA0D;IAC1D,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,uDAAuD;IACvD,SAAS,CAAC,EAAE,KAAK,GAAG,IAAI,CAAC;IACzB,+CAA+C;IAC/C,OAAO,CAAC,EAAE,SAAS,GAAG,eAAe,GAAG,SAAS,GAAG,SAAS,GAAG,OAAO,CAAC;IACxE,gIAAgI;IAChI,IAAI,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IACvB
|
|
1
|
+
{"version":3,"file":"HelperTextItem.d.ts","sourceRoot":"","sources":["../../../../src/components/HelperText/HelperTextItem.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAQ/B,MAAM,WAAW,mBAAoB,SAAQ,KAAK,CAAC,SAAS,CAAC,cAAc,GAAG,aAAa,CAAC;IAC1F,oDAAoD;IACpD,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC3B,0DAA0D;IAC1D,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,uDAAuD;IACvD,SAAS,CAAC,EAAE,KAAK,GAAG,IAAI,CAAC;IACzB,+CAA+C;IAC/C,OAAO,CAAC,EAAE,SAAS,GAAG,eAAe,GAAG,SAAS,GAAG,SAAS,GAAG,OAAO,CAAC;IACxE,gIAAgI;IAChI,IAAI,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IACvB;;;OAGG;IACH,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,2IAA2I;IAC3I,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB;;;OAGG;IACH,EAAE,CAAC,EAAE,MAAM,CAAC;CACb;AAUD,eAAO,MAAM,cAAc,EAAE,KAAK,CAAC,iBAAiB,CAAC,mBAAmB,CAkCvE,CAAC"}
|
|
@@ -14,9 +14,9 @@ const variantStyle = {
|
|
|
14
14
|
error: styles.modifiers.error
|
|
15
15
|
};
|
|
16
16
|
export const HelperTextItem = (_a) => {
|
|
17
|
-
var { children, className, component = 'div', variant = 'default', icon, isDynamic = false, hasIcon = isDynamic } = _a, props = __rest(_a, ["children", "className", "component", "variant", "icon", "isDynamic", "hasIcon"]);
|
|
17
|
+
var { children, className, component = 'div', variant = 'default', icon, isDynamic = false, hasIcon = isDynamic, id } = _a, props = __rest(_a, ["children", "className", "component", "variant", "icon", "isDynamic", "hasIcon", "id"]);
|
|
18
18
|
const Component = component;
|
|
19
|
-
return (React.createElement(Component, Object.assign({ className: css(styles.helperTextItem, variantStyle[variant], isDynamic && styles.modifiers.dynamic, className) }, props),
|
|
19
|
+
return (React.createElement(Component, Object.assign({ className: css(styles.helperTextItem, variantStyle[variant], isDynamic && styles.modifiers.dynamic, className), id: id }, props),
|
|
20
20
|
icon && (React.createElement("span", { className: css(styles.helperTextItemIcon), "aria-hidden": true }, icon)),
|
|
21
21
|
hasIcon && !icon && (React.createElement("span", { className: css(styles.helperTextItemIcon), "aria-hidden": true },
|
|
22
22
|
(variant === 'default' || variant === 'indeterminate') && React.createElement(MinusIcon, null),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"HelperTextItem.js","sourceRoot":"","sources":["../../../../src/components/HelperText/HelperTextItem.tsx"],"names":[],"mappings":";AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,MAAM,MAAM,gEAAgE,CAAC;AACpF,OAAO,EAAE,GAAG,EAAE,MAAM,0BAA0B,CAAC;AAC/C,OAAO,SAAS,MAAM,mDAAmD,CAAC;AAC1E,OAAO,uBAAuB,MAAM,kEAAkE,CAAC;AACvG,OAAO,eAAe,MAAM,0DAA0D,CAAC;AACvF,OAAO,qBAAqB,MAAM,gEAAgE,CAAC;
|
|
1
|
+
{"version":3,"file":"HelperTextItem.js","sourceRoot":"","sources":["../../../../src/components/HelperText/HelperTextItem.tsx"],"names":[],"mappings":";AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,MAAM,MAAM,gEAAgE,CAAC;AACpF,OAAO,EAAE,GAAG,EAAE,MAAM,0BAA0B,CAAC;AAC/C,OAAO,SAAS,MAAM,mDAAmD,CAAC;AAC1E,OAAO,uBAAuB,MAAM,kEAAkE,CAAC;AACvG,OAAO,eAAe,MAAM,0DAA0D,CAAC;AACvF,OAAO,qBAAqB,MAAM,gEAAgE,CAAC;AA2BnG,MAAM,YAAY,GAAG;IACnB,OAAO,EAAE,EAAE;IACX,aAAa,EAAE,MAAM,CAAC,SAAS,CAAC,aAAa;IAC7C,OAAO,EAAE,MAAM,CAAC,SAAS,CAAC,OAAO;IACjC,OAAO,EAAE,MAAM,CAAC,SAAS,CAAC,OAAO;IACjC,KAAK,EAAE,MAAM,CAAC,SAAS,CAAC,KAAK;CAC9B,CAAC;AAEF,MAAM,CAAC,MAAM,cAAc,GAAiD,CAAC,EAUvD,EAAE,EAAE;QAVmD,EAC3E,QAAQ,EACR,SAAS,EACT,SAAS,GAAG,KAAK,EACjB,OAAO,GAAG,SAAS,EACnB,IAAI,EACJ,SAAS,GAAG,KAAK,EACjB,OAAO,GAAG,SAAS,EACnB,EAAE,OAEkB,EADjB,KAAK,cATmE,uFAU5E,CADS;IAER,MAAM,SAAS,GAAG,SAAgB,CAAC;IACnC,OAAO,CACL,oBAAC,SAAS,kBACR,SAAS,EAAE,GAAG,CAAC,MAAM,CAAC,cAAc,EAAE,YAAY,CAAC,OAAO,CAAC,EAAE,SAAS,IAAI,MAAM,CAAC,SAAS,CAAC,OAAO,EAAE,SAAS,CAAC,EAC9G,EAAE,EAAE,EAAE,IACF,KAAK;QAER,IAAI,IAAI,CACP,8BAAM,SAAS,EAAE,GAAG,CAAC,MAAM,CAAC,kBAAkB,CAAC,yBAC5C,IAAI,CACA,CACR;QACA,OAAO,IAAI,CAAC,IAAI,IAAI,CACnB,8BAAM,SAAS,EAAE,GAAG,CAAC,MAAM,CAAC,kBAAkB,CAAC;YAC5C,CAAC,OAAO,KAAK,SAAS,IAAI,OAAO,KAAK,eAAe,CAAC,IAAI,oBAAC,SAAS,OAAG;YACvE,OAAO,KAAK,SAAS,IAAI,oBAAC,uBAAuB,OAAG;YACpD,OAAO,KAAK,SAAS,IAAI,oBAAC,eAAe,OAAG;YAC5C,OAAO,KAAK,OAAO,IAAI,oBAAC,qBAAqB,OAAG,CAC5C,CACR;QACD,8BAAM,SAAS,EAAE,GAAG,CAAC,MAAM,CAAC,kBAAkB,CAAC,IAAG,QAAQ,CAAQ,CACxD,CACb,CAAC;AACJ,CAAC,CAAC;AACF,cAAc,CAAC,WAAW,GAAG,gBAAgB,CAAC"}
|
|
@@ -6,14 +6,20 @@ export interface DataListCheckProps extends Omit<React.HTMLProps<HTMLInputElemen
|
|
|
6
6
|
isValid?: boolean;
|
|
7
7
|
/** Flag to show if the DataList checkbox is disabled */
|
|
8
8
|
isDisabled?: boolean;
|
|
9
|
-
/** Flag to show if the DataList checkbox is checked when it is controlled by React state.
|
|
10
|
-
*
|
|
9
|
+
/** Flag to show if the DataList checkbox is checked when it is controlled by React state. Both isChecked and checked are valid,
|
|
10
|
+
* but only use one.
|
|
11
|
+
* To make the DataList checkbox uncontrolled, instead use the defaultChecked prop, but do not use both.
|
|
11
12
|
*/
|
|
12
13
|
isChecked?: boolean;
|
|
14
|
+
/** Flag to show if the DataList checkbox is checked when it is controlled by React state. Both isChecked and checked are valid,
|
|
15
|
+
* but only use one.
|
|
16
|
+
* To make the DataList checkbox uncontrolled, instead use the defaultChecked prop, but do not use both.
|
|
17
|
+
*/
|
|
18
|
+
checked?: boolean;
|
|
13
19
|
/** Flag to set default value of DataList checkbox when it is uncontrolled by React state.
|
|
14
20
|
* To make the DataList checkbox controlled, instead use the isChecked prop, but do not use both.
|
|
15
21
|
*/
|
|
16
|
-
|
|
22
|
+
defaultChecked?: boolean;
|
|
17
23
|
/** A callback for when the DataList checkbox selection changes */
|
|
18
24
|
onChange?: (checked: boolean, event: React.FormEvent<HTMLInputElement>) => void;
|
|
19
25
|
/** Aria-labelledby of the DataList checkbox */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DataListCheck.d.ts","sourceRoot":"","sources":["../../../../src/components/DataList/DataListCheck.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAI/B,MAAM,WAAW,kBAAmB,SAAQ,IAAI,CAAC,KAAK,CAAC,SAAS,CAAC,gBAAgB,CAAC,EAAE,UAAU,GAAG,SAAS,CAAC;IACzG,6DAA6D;IAC7D,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,0EAA0E;IAC1E,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,wDAAwD;IACxD,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB
|
|
1
|
+
{"version":3,"file":"DataListCheck.d.ts","sourceRoot":"","sources":["../../../../src/components/DataList/DataListCheck.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAI/B,MAAM,WAAW,kBAAmB,SAAQ,IAAI,CAAC,KAAK,CAAC,SAAS,CAAC,gBAAgB,CAAC,EAAE,UAAU,GAAG,SAAS,CAAC;IACzG,6DAA6D;IAC7D,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,0EAA0E;IAC1E,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,wDAAwD;IACxD,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB;;;OAGG;IACH,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB;;;OAGG;IACH,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB;;OAEG;IACH,cAAc,CAAC,EAAE,OAAO,CAAC;IACzB,kEAAkE;IAClE,QAAQ,CAAC,EAAE,CAAC,OAAO,EAAE,OAAO,EAAE,KAAK,EAAE,KAAK,CAAC,SAAS,CAAC,gBAAgB,CAAC,KAAK,IAAI,CAAC;IAChF,+CAA+C;IAC/C,iBAAiB,EAAE,MAAM,CAAC;IAC1B,sEAAsE;IACtE,aAAa,CAAC,EAAE,OAAO,CAAC;CACzB;AAED,eAAO,MAAM,aAAa,EAAE,KAAK,CAAC,iBAAiB,CAAC,kBAAkB,CA+BrE,CAAC"}
|
|
@@ -8,9 +8,9 @@ const data_list_1 = tslib_1.__importDefault(require("@patternfly/react-styles/cs
|
|
|
8
8
|
const DataListCheck = (_a) => {
|
|
9
9
|
var { className = '',
|
|
10
10
|
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
|
11
|
-
onChange = (checked, event) => { }, isValid = true, isDisabled = false, isChecked = null, checked = null, otherControls = false } = _a, props = tslib_1.__rest(_a, ["className", "onChange", "isValid", "isDisabled", "isChecked", "checked", "otherControls"]);
|
|
11
|
+
onChange = (checked, event) => { }, isValid = true, isDisabled = false, isChecked = null, checked = null, defaultChecked, otherControls = false } = _a, props = tslib_1.__rest(_a, ["className", "onChange", "isValid", "isDisabled", "isChecked", "checked", "defaultChecked", "otherControls"]);
|
|
12
12
|
const check = (React.createElement("div", { className: react_styles_1.css(data_list_1.default.dataListCheck) },
|
|
13
|
-
React.createElement("input", Object.assign({}, props, { type: "checkbox", onChange: event => onChange(event.currentTarget.checked, event), "aria-invalid": !isValid, disabled: isDisabled }, (
|
|
13
|
+
React.createElement("input", Object.assign({}, props, { type: "checkbox", onChange: event => onChange(event.currentTarget.checked, event), "aria-invalid": !isValid, disabled: isDisabled }, ([true, false].includes(defaultChecked) && { defaultChecked }), (![true, false].includes(defaultChecked) && { checked: isChecked || checked })))));
|
|
14
14
|
return (React.createElement(React.Fragment, null,
|
|
15
15
|
!otherControls && React.createElement("div", { className: react_styles_1.css(data_list_1.default.dataListItemControl, className) }, check),
|
|
16
16
|
otherControls && check));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DataListCheck.js","sourceRoot":"","sources":["../../../../src/components/DataList/DataListCheck.tsx"],"names":[],"mappings":";;;;AAAA,qDAA+B;AAC/B,2DAA+C;AAC/C,mHAAgF;
|
|
1
|
+
{"version":3,"file":"DataListCheck.js","sourceRoot":"","sources":["../../../../src/components/DataList/DataListCheck.tsx"],"names":[],"mappings":";;;;AAAA,qDAA+B;AAC/B,2DAA+C;AAC/C,mHAAgF;AA+BzE,MAAM,aAAa,GAAgD,CAAC,EAWtD,EAAE,EAAE;QAXkD,EACzE,SAAS,GAAG,EAAE;IACd,6DAA6D;IAC7D,QAAQ,GAAG,CAAC,OAAgB,EAAE,KAAwC,EAAE,EAAE,GAAE,CAAC,EAC7E,OAAO,GAAG,IAAI,EACd,UAAU,GAAG,KAAK,EAClB,SAAS,GAAG,IAAI,EAChB,OAAO,GAAG,IAAI,EACd,cAAc,EACd,aAAa,GAAG,KAAK,OAEF,EADhB,KAAK,sBAViE,6GAW1E,CADS;IAER,MAAM,KAAK,GAAG,CACZ,6BAAK,SAAS,EAAE,kBAAG,CAAC,mBAAM,CAAC,aAAa,CAAC;QACvC,+CACM,KAAK,IACT,IAAI,EAAC,UAAU,EACf,QAAQ,EAAE,KAAK,CAAC,EAAE,CAAC,QAAQ,CAAC,KAAK,CAAC,aAAa,CAAC,OAAO,EAAE,KAAK,CAAC,kBACjD,CAAC,OAAO,EACtB,QAAQ,EAAE,UAAU,IAChB,CAAC,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC,QAAQ,CAAC,cAAc,CAAC,IAAI,EAAE,cAAc,EAAE,CAAC,EAC9D,CAAC,CAAC,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC,QAAQ,CAAC,cAAc,CAAC,IAAI,EAAE,OAAO,EAAE,SAAS,IAAI,OAAO,EAAE,CAAC,EAClF,CACE,CACP,CAAC;IACF,OAAO,CACL,oBAAC,KAAK,CAAC,QAAQ;QACZ,CAAC,aAAa,IAAI,6BAAK,SAAS,EAAE,kBAAG,CAAC,mBAAM,CAAC,mBAAmB,EAAE,SAAS,CAAC,IAAG,KAAK,CAAO;QAC3F,aAAa,IAAI,KAAK,CACR,CAClB,CAAC;AACJ,CAAC,CAAC;AA/BW,QAAA,aAAa,iBA+BxB;AACF,qBAAa,CAAC,WAAW,GAAG,eAAe,CAAC"}
|
|
@@ -6,6 +6,15 @@ export interface HelperTextProps extends React.HTMLProps<HTMLDivElement | HTMLUL
|
|
|
6
6
|
className?: string;
|
|
7
7
|
/** Component type of the helper text container */
|
|
8
8
|
component?: 'div' | 'ul';
|
|
9
|
+
/** ID for the helper text container. The value of this prop can be passed into a form component's
|
|
10
|
+
* aria-describedby prop when you intend for all helper text items to be announced to
|
|
11
|
+
* assistive technologies.
|
|
12
|
+
*/
|
|
13
|
+
id?: string;
|
|
14
|
+
/** Flag for indicating whether the helper text container is a live region. Use this prop when you
|
|
15
|
+
* expect or intend for any helper text items within the container to be dynamically updated.
|
|
16
|
+
*/
|
|
17
|
+
isLiveRegion?: boolean;
|
|
9
18
|
}
|
|
10
19
|
export declare const HelperText: React.FunctionComponent<HelperTextProps>;
|
|
11
20
|
//# sourceMappingURL=HelperText.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"HelperText.d.ts","sourceRoot":"","sources":["../../../../src/components/HelperText/HelperText.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAI/B,MAAM,WAAW,eAAgB,SAAQ,KAAK,CAAC,SAAS,CAAC,cAAc,GAAG,gBAAgB,CAAC;IACzF,yDAAyD;IACzD,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC3B,+DAA+D;IAC/D,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,kDAAkD;IAClD,SAAS,CAAC,EAAE,KAAK,GAAG,IAAI,CAAC;
|
|
1
|
+
{"version":3,"file":"HelperText.d.ts","sourceRoot":"","sources":["../../../../src/components/HelperText/HelperText.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAI/B,MAAM,WAAW,eAAgB,SAAQ,KAAK,CAAC,SAAS,CAAC,cAAc,GAAG,gBAAgB,CAAC;IACzF,yDAAyD;IACzD,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC3B,+DAA+D;IAC/D,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,kDAAkD;IAClD,SAAS,CAAC,EAAE,KAAK,GAAG,IAAI,CAAC;IACzB;;;OAGG;IACH,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ;;OAEG;IACH,YAAY,CAAC,EAAE,OAAO,CAAC;CACxB;AAED,eAAO,MAAM,UAAU,EAAE,KAAK,CAAC,iBAAiB,CAAC,eAAe,CAmB/D,CAAC"}
|
|
@@ -6,9 +6,9 @@ const React = tslib_1.__importStar(require("react"));
|
|
|
6
6
|
const helper_text_1 = tslib_1.__importDefault(require("@patternfly/react-styles/css/components/HelperText/helper-text"));
|
|
7
7
|
const react_styles_1 = require("@patternfly/react-styles");
|
|
8
8
|
const HelperText = (_a) => {
|
|
9
|
-
var { children, className, component = 'div' } = _a, props = tslib_1.__rest(_a, ["children", "className", "component"]);
|
|
9
|
+
var { children, className, component = 'div', id, isLiveRegion = false } = _a, props = tslib_1.__rest(_a, ["children", "className", "component", "id", "isLiveRegion"]);
|
|
10
10
|
const Component = component;
|
|
11
|
-
return (React.createElement(Component, Object.assign({ className: react_styles_1.css(helper_text_1.default.helperText, className) }, props), children));
|
|
11
|
+
return (React.createElement(Component, Object.assign({ id: id, className: react_styles_1.css(helper_text_1.default.helperText, className) }, (isLiveRegion && { 'aria-live': 'polite' }), props), children));
|
|
12
12
|
};
|
|
13
13
|
exports.HelperText = HelperText;
|
|
14
14
|
exports.HelperText.displayName = 'HelperText';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"HelperText.js","sourceRoot":"","sources":["../../../../src/components/HelperText/HelperText.tsx"],"names":[],"mappings":";;;;AAAA,qDAA+B;AAC/B,yHAAoF;AACpF,2DAA+C;
|
|
1
|
+
{"version":3,"file":"HelperText.js","sourceRoot":"","sources":["../../../../src/components/HelperText/HelperText.tsx"],"names":[],"mappings":";;;;AAAA,qDAA+B;AAC/B,yHAAoF;AACpF,2DAA+C;AAoBxC,MAAM,UAAU,GAA6C,CAAC,EAOnD,EAAE,EAAE;QAP+C,EACnE,QAAQ,EACR,SAAS,EACT,SAAS,GAAG,KAAK,EACjB,EAAE,EACF,YAAY,GAAG,KAAK,OAEJ,EADb,KAAK,sBAN2D,4DAOpE,CADS;IAER,MAAM,SAAS,GAAG,SAAgB,CAAC;IACnC,OAAO,CACL,oBAAC,SAAS,kBACR,EAAE,EAAE,EAAE,EACN,SAAS,EAAE,kBAAG,CAAC,qBAAM,CAAC,UAAU,EAAE,SAAS,CAAC,IACxC,CAAC,YAAY,IAAI,EAAE,WAAW,EAAE,QAAQ,EAAE,CAAC,EAC3C,KAAK,GAER,QAAQ,CACC,CACb,CAAC;AACJ,CAAC,CAAC;AAnBW,QAAA,UAAU,cAmBrB;AACF,kBAAU,CAAC,WAAW,GAAG,YAAY,CAAC"}
|
|
@@ -10,10 +10,18 @@ export interface HelperTextItemProps extends React.HTMLProps<HTMLDivElement | HT
|
|
|
10
10
|
variant?: 'default' | 'indeterminate' | 'warning' | 'success' | 'error';
|
|
11
11
|
/** Custom icon prefixing the helper text. This property will override the default icon paired with each helper text variant. */
|
|
12
12
|
icon?: React.ReactNode;
|
|
13
|
-
/** Flag indicating the helper text item is dynamic.
|
|
13
|
+
/** Flag indicating the helper text item is dynamic. This prop should be used when the
|
|
14
|
+
* text content of the helper text item will never change, but the icon and styling will
|
|
15
|
+
* be dynamically updated via the `variant` prop.
|
|
16
|
+
*/
|
|
14
17
|
isDynamic?: boolean;
|
|
15
18
|
/** Flag indicating the helper text should have an icon. Dynamic helper texts include icons by default while static helper texts do not. */
|
|
16
19
|
hasIcon?: boolean;
|
|
20
|
+
/** ID for the helper text item. The value of this prop can be passed into a form component's
|
|
21
|
+
* aria-describedby prop when you intend for only specific helper text items to be announced to
|
|
22
|
+
* assistive technologies.
|
|
23
|
+
*/
|
|
24
|
+
id?: string;
|
|
17
25
|
}
|
|
18
26
|
export declare const HelperTextItem: React.FunctionComponent<HelperTextItemProps>;
|
|
19
27
|
//# sourceMappingURL=HelperTextItem.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"HelperTextItem.d.ts","sourceRoot":"","sources":["../../../../src/components/HelperText/HelperTextItem.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAQ/B,MAAM,WAAW,mBAAoB,SAAQ,KAAK,CAAC,SAAS,CAAC,cAAc,GAAG,aAAa,CAAC;IAC1F,oDAAoD;IACpD,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC3B,0DAA0D;IAC1D,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,uDAAuD;IACvD,SAAS,CAAC,EAAE,KAAK,GAAG,IAAI,CAAC;IACzB,+CAA+C;IAC/C,OAAO,CAAC,EAAE,SAAS,GAAG,eAAe,GAAG,SAAS,GAAG,SAAS,GAAG,OAAO,CAAC;IACxE,gIAAgI;IAChI,IAAI,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IACvB
|
|
1
|
+
{"version":3,"file":"HelperTextItem.d.ts","sourceRoot":"","sources":["../../../../src/components/HelperText/HelperTextItem.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAQ/B,MAAM,WAAW,mBAAoB,SAAQ,KAAK,CAAC,SAAS,CAAC,cAAc,GAAG,aAAa,CAAC;IAC1F,oDAAoD;IACpD,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC3B,0DAA0D;IAC1D,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,uDAAuD;IACvD,SAAS,CAAC,EAAE,KAAK,GAAG,IAAI,CAAC;IACzB,+CAA+C;IAC/C,OAAO,CAAC,EAAE,SAAS,GAAG,eAAe,GAAG,SAAS,GAAG,SAAS,GAAG,OAAO,CAAC;IACxE,gIAAgI;IAChI,IAAI,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IACvB;;;OAGG;IACH,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,2IAA2I;IAC3I,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB;;;OAGG;IACH,EAAE,CAAC,EAAE,MAAM,CAAC;CACb;AAUD,eAAO,MAAM,cAAc,EAAE,KAAK,CAAC,iBAAiB,CAAC,mBAAmB,CAkCvE,CAAC"}
|
|
@@ -17,9 +17,9 @@ const variantStyle = {
|
|
|
17
17
|
error: helper_text_1.default.modifiers.error
|
|
18
18
|
};
|
|
19
19
|
const HelperTextItem = (_a) => {
|
|
20
|
-
var { children, className, component = 'div', variant = 'default', icon, isDynamic = false, hasIcon = isDynamic } = _a, props = tslib_1.__rest(_a, ["children", "className", "component", "variant", "icon", "isDynamic", "hasIcon"]);
|
|
20
|
+
var { children, className, component = 'div', variant = 'default', icon, isDynamic = false, hasIcon = isDynamic, id } = _a, props = tslib_1.__rest(_a, ["children", "className", "component", "variant", "icon", "isDynamic", "hasIcon", "id"]);
|
|
21
21
|
const Component = component;
|
|
22
|
-
return (React.createElement(Component, Object.assign({ className: react_styles_1.css(helper_text_1.default.helperTextItem, variantStyle[variant], isDynamic && helper_text_1.default.modifiers.dynamic, className) }, props),
|
|
22
|
+
return (React.createElement(Component, Object.assign({ className: react_styles_1.css(helper_text_1.default.helperTextItem, variantStyle[variant], isDynamic && helper_text_1.default.modifiers.dynamic, className), id: id }, props),
|
|
23
23
|
icon && (React.createElement("span", { className: react_styles_1.css(helper_text_1.default.helperTextItemIcon), "aria-hidden": true }, icon)),
|
|
24
24
|
hasIcon && !icon && (React.createElement("span", { className: react_styles_1.css(helper_text_1.default.helperTextItemIcon), "aria-hidden": true },
|
|
25
25
|
(variant === 'default' || variant === 'indeterminate') && React.createElement(minus_icon_1.default, null),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"HelperTextItem.js","sourceRoot":"","sources":["../../../../src/components/HelperText/HelperTextItem.tsx"],"names":[],"mappings":";;;;AAAA,qDAA+B;AAC/B,yHAAoF;AACpF,2DAA+C;AAC/C,0GAA0E;AAC1E,wIAAuG;AACvG,wHAAuF;AACvF,oIAAmG;
|
|
1
|
+
{"version":3,"file":"HelperTextItem.js","sourceRoot":"","sources":["../../../../src/components/HelperText/HelperTextItem.tsx"],"names":[],"mappings":";;;;AAAA,qDAA+B;AAC/B,yHAAoF;AACpF,2DAA+C;AAC/C,0GAA0E;AAC1E,wIAAuG;AACvG,wHAAuF;AACvF,oIAAmG;AA2BnG,MAAM,YAAY,GAAG;IACnB,OAAO,EAAE,EAAE;IACX,aAAa,EAAE,qBAAM,CAAC,SAAS,CAAC,aAAa;IAC7C,OAAO,EAAE,qBAAM,CAAC,SAAS,CAAC,OAAO;IACjC,OAAO,EAAE,qBAAM,CAAC,SAAS,CAAC,OAAO;IACjC,KAAK,EAAE,qBAAM,CAAC,SAAS,CAAC,KAAK;CAC9B,CAAC;AAEK,MAAM,cAAc,GAAiD,CAAC,EAUvD,EAAE,EAAE;QAVmD,EAC3E,QAAQ,EACR,SAAS,EACT,SAAS,GAAG,KAAK,EACjB,OAAO,GAAG,SAAS,EACnB,IAAI,EACJ,SAAS,GAAG,KAAK,EACjB,OAAO,GAAG,SAAS,EACnB,EAAE,OAEkB,EADjB,KAAK,sBATmE,uFAU5E,CADS;IAER,MAAM,SAAS,GAAG,SAAgB,CAAC;IACnC,OAAO,CACL,oBAAC,SAAS,kBACR,SAAS,EAAE,kBAAG,CAAC,qBAAM,CAAC,cAAc,EAAE,YAAY,CAAC,OAAO,CAAC,EAAE,SAAS,IAAI,qBAAM,CAAC,SAAS,CAAC,OAAO,EAAE,SAAS,CAAC,EAC9G,EAAE,EAAE,EAAE,IACF,KAAK;QAER,IAAI,IAAI,CACP,8BAAM,SAAS,EAAE,kBAAG,CAAC,qBAAM,CAAC,kBAAkB,CAAC,yBAC5C,IAAI,CACA,CACR;QACA,OAAO,IAAI,CAAC,IAAI,IAAI,CACnB,8BAAM,SAAS,EAAE,kBAAG,CAAC,qBAAM,CAAC,kBAAkB,CAAC;YAC5C,CAAC,OAAO,KAAK,SAAS,IAAI,OAAO,KAAK,eAAe,CAAC,IAAI,oBAAC,oBAAS,OAAG;YACvE,OAAO,KAAK,SAAS,IAAI,oBAAC,mCAAuB,OAAG;YACpD,OAAO,KAAK,SAAS,IAAI,oBAAC,2BAAe,OAAG;YAC5C,OAAO,KAAK,OAAO,IAAI,oBAAC,iCAAqB,OAAG,CAC5C,CACR;QACD,8BAAM,SAAS,EAAE,kBAAG,CAAC,qBAAM,CAAC,kBAAkB,CAAC,IAAG,QAAQ,CAAQ,CACxD,CACb,CAAC;AACJ,CAAC,CAAC;AAlCW,QAAA,cAAc,kBAkCzB;AACF,sBAAc,CAAC,WAAW,GAAG,gBAAgB,CAAC"}
|
package/dist/umd/react-core.css
CHANGED
|
@@ -22364,6 +22364,7 @@ svg.pf-c-spinner.pf-m-xl {
|
|
|
22364
22364
|
--pf-c-text-input-group--m-disabled--BackgroundColor: var(--pf-global--disabled-color--300);
|
|
22365
22365
|
position: relative;
|
|
22366
22366
|
display: flex;
|
|
22367
|
+
width: 100%;
|
|
22367
22368
|
color: var(--pf-c-text-input-group--Color, inherit);
|
|
22368
22369
|
background-color: var(--pf-c-text-input-group--BackgroundColor);
|
|
22369
22370
|
}
|
|
@@ -22500,6 +22501,10 @@ svg.pf-c-spinner.pf-m-xl {
|
|
|
22500
22501
|
--pf-c-button--PaddingLeft: var(--pf-c-text-input-group__utilities--c-button--PaddingLeft);
|
|
22501
22502
|
}
|
|
22502
22503
|
|
|
22504
|
+
.pf-c-text-input-group__group {
|
|
22505
|
+
display: flex;
|
|
22506
|
+
}
|
|
22507
|
+
|
|
22503
22508
|
.pf-c-panel {
|
|
22504
22509
|
--pf-c-panel--Width: auto;
|
|
22505
22510
|
--pf-c-panel--MinWidth: auto;
|
package/dist/umd/react-core.js
CHANGED
|
@@ -9425,9 +9425,9 @@
|
|
|
9425
9425
|
const DataListCheck = (_a) => {
|
|
9426
9426
|
var { className = '',
|
|
9427
9427
|
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
|
9428
|
-
onChange = (checked, event) => { }, isValid = true, isDisabled = false, isChecked = null, checked = null, otherControls = false } = _a, props = __rest$1(_a, ["className", "onChange", "isValid", "isDisabled", "isChecked", "checked", "otherControls"]);
|
|
9428
|
+
onChange = (checked, event) => { }, isValid = true, isDisabled = false, isChecked = null, checked = null, defaultChecked, otherControls = false } = _a, props = __rest$1(_a, ["className", "onChange", "isValid", "isDisabled", "isChecked", "checked", "defaultChecked", "otherControls"]);
|
|
9429
9429
|
const check = (React__namespace.createElement("div", { className: css(styles$O.dataListCheck) },
|
|
9430
|
-
React__namespace.createElement("input", Object.assign({}, props, { type: "checkbox", onChange: event => onChange(event.currentTarget.checked, event), "aria-invalid": !isValid, disabled: isDisabled }, (
|
|
9430
|
+
React__namespace.createElement("input", Object.assign({}, props, { type: "checkbox", onChange: event => onChange(event.currentTarget.checked, event), "aria-invalid": !isValid, disabled: isDisabled }, ([true, false].includes(defaultChecked) && { defaultChecked }), (![true, false].includes(defaultChecked) && { checked: isChecked || checked })))));
|
|
9431
9431
|
return (React__namespace.createElement(React__namespace.Fragment, null,
|
|
9432
9432
|
!otherControls && React__namespace.createElement("div", { className: css(styles$O.dataListItemControl, className) }, check),
|
|
9433
9433
|
otherControls && check));
|
|
@@ -13444,9 +13444,9 @@
|
|
|
13444
13444
|
};
|
|
13445
13445
|
|
|
13446
13446
|
const HelperText = (_a) => {
|
|
13447
|
-
var { children, className, component = 'div' } = _a, props = __rest$1(_a, ["children", "className", "component"]);
|
|
13447
|
+
var { children, className, component = 'div', id, isLiveRegion = false } = _a, props = __rest$1(_a, ["children", "className", "component", "id", "isLiveRegion"]);
|
|
13448
13448
|
const Component = component;
|
|
13449
|
-
return (React__namespace.createElement(Component, Object.assign({ className: css(styles$H.helperText, className) }, props), children));
|
|
13449
|
+
return (React__namespace.createElement(Component, Object.assign({ id: id, className: css(styles$H.helperText, className) }, (isLiveRegion && { 'aria-live': 'polite' }), props), children));
|
|
13450
13450
|
};
|
|
13451
13451
|
HelperText.displayName = 'HelperText';
|
|
13452
13452
|
|
|
@@ -13471,9 +13471,9 @@
|
|
|
13471
13471
|
error: styles$H.modifiers.error
|
|
13472
13472
|
};
|
|
13473
13473
|
const HelperTextItem = (_a) => {
|
|
13474
|
-
var { children, className, component = 'div', variant = 'default', icon, isDynamic = false, hasIcon = isDynamic } = _a, props = __rest$1(_a, ["children", "className", "component", "variant", "icon", "isDynamic", "hasIcon"]);
|
|
13474
|
+
var { children, className, component = 'div', variant = 'default', icon, isDynamic = false, hasIcon = isDynamic, id } = _a, props = __rest$1(_a, ["children", "className", "component", "variant", "icon", "isDynamic", "hasIcon", "id"]);
|
|
13475
13475
|
const Component = component;
|
|
13476
|
-
return (React__namespace.createElement(Component, Object.assign({ className: css(styles$H.helperTextItem, variantStyle$4[variant], isDynamic && styles$H.modifiers.dynamic, className) }, props),
|
|
13476
|
+
return (React__namespace.createElement(Component, Object.assign({ className: css(styles$H.helperTextItem, variantStyle$4[variant], isDynamic && styles$H.modifiers.dynamic, className), id: id }, props),
|
|
13477
13477
|
icon && (React__namespace.createElement("span", { className: css(styles$H.helperTextItemIcon), "aria-hidden": true }, icon)),
|
|
13478
13478
|
hasIcon && !icon && (React__namespace.createElement("span", { className: css(styles$H.helperTextItemIcon), "aria-hidden": true },
|
|
13479
13479
|
(variant === 'default' || variant === 'indeterminate') && React__namespace.createElement(MinusIcon$1, null),
|
|
@@ -20616,6 +20616,7 @@
|
|
|
20616
20616
|
"hint": "pf-m-hint"
|
|
20617
20617
|
},
|
|
20618
20618
|
"textInputGroup": "pf-c-text-input-group",
|
|
20619
|
+
"textInputGroupGroup": "pf-c-text-input-group__group",
|
|
20619
20620
|
"textInputGroupIcon": "pf-c-text-input-group__icon",
|
|
20620
20621
|
"textInputGroupMain": "pf-c-text-input-group__main",
|
|
20621
20622
|
"textInputGroupText": "pf-c-text-input-group__text",
|
|
@@ -260,37 +260,6 @@
|
|
|
260
260
|
--pf-c-accordion__expanded-content-body--PaddingTop: var(--pf-c-accordion__expanded-content-body--expanded-content-body--PaddingTop);
|
|
261
261
|
}
|
|
262
262
|
|
|
263
|
-
.pf-c-action-list {
|
|
264
|
-
--pf-c-action-list--m-icon--spacer: 0;
|
|
265
|
-
--pf-c-action-list--child--spacer-base: var(--pf-global--spacer--md);
|
|
266
|
-
--pf-c-action-list--group--spacer-base: var(--pf-global--spacer--2xl);
|
|
267
|
-
}
|
|
268
|
-
|
|
269
|
-
.pf-c-action-list,
|
|
270
|
-
.pf-c-action-list__group {
|
|
271
|
-
--pf-c-action-list--child--spacer: var(--pf-c-action-list--child--spacer-base);
|
|
272
|
-
--pf-c-action-list--group--spacer: var(--pf-c-action-list--group--spacer-base);
|
|
273
|
-
display: flex;
|
|
274
|
-
align-items: center;
|
|
275
|
-
}
|
|
276
|
-
|
|
277
|
-
.pf-c-action-list > * + *,
|
|
278
|
-
.pf-c-action-list__group > * + * {
|
|
279
|
-
margin-left: var(--pf-c-action-list--child--spacer);
|
|
280
|
-
}
|
|
281
|
-
|
|
282
|
-
.pf-c-action-list > * + .pf-c-action-list__group,
|
|
283
|
-
.pf-c-action-list .pf-c-action-list__group + *,
|
|
284
|
-
.pf-c-action-list__group > * + .pf-c-action-list__group,
|
|
285
|
-
.pf-c-action-list__group .pf-c-action-list__group + * {
|
|
286
|
-
margin-left: var(--pf-c-action-list--group--spacer);
|
|
287
|
-
}
|
|
288
|
-
|
|
289
|
-
.pf-c-action-list.pf-m-icons,
|
|
290
|
-
.pf-c-action-list__group.pf-m-icons {
|
|
291
|
-
--pf-c-action-list--child--spacer: var(--pf-c-action-list--m-icon--spacer);
|
|
292
|
-
}
|
|
293
|
-
|
|
294
263
|
.pf-c-alert {
|
|
295
264
|
--pf-global--Color--100: var(--pf-global--Color--dark-100);
|
|
296
265
|
--pf-global--Color--200: var(--pf-global--Color--dark-200);
|
|
@@ -509,6 +478,37 @@
|
|
|
509
478
|
--pf-c-alert__title--FontWeight: var(--pf-global--FontWeight--normal);
|
|
510
479
|
}
|
|
511
480
|
|
|
481
|
+
.pf-c-action-list {
|
|
482
|
+
--pf-c-action-list--m-icon--spacer: 0;
|
|
483
|
+
--pf-c-action-list--child--spacer-base: var(--pf-global--spacer--md);
|
|
484
|
+
--pf-c-action-list--group--spacer-base: var(--pf-global--spacer--2xl);
|
|
485
|
+
}
|
|
486
|
+
|
|
487
|
+
.pf-c-action-list,
|
|
488
|
+
.pf-c-action-list__group {
|
|
489
|
+
--pf-c-action-list--child--spacer: var(--pf-c-action-list--child--spacer-base);
|
|
490
|
+
--pf-c-action-list--group--spacer: var(--pf-c-action-list--group--spacer-base);
|
|
491
|
+
display: flex;
|
|
492
|
+
align-items: center;
|
|
493
|
+
}
|
|
494
|
+
|
|
495
|
+
.pf-c-action-list > * + *,
|
|
496
|
+
.pf-c-action-list__group > * + * {
|
|
497
|
+
margin-left: var(--pf-c-action-list--child--spacer);
|
|
498
|
+
}
|
|
499
|
+
|
|
500
|
+
.pf-c-action-list > * + .pf-c-action-list__group,
|
|
501
|
+
.pf-c-action-list .pf-c-action-list__group + *,
|
|
502
|
+
.pf-c-action-list__group > * + .pf-c-action-list__group,
|
|
503
|
+
.pf-c-action-list__group .pf-c-action-list__group + * {
|
|
504
|
+
margin-left: var(--pf-c-action-list--group--spacer);
|
|
505
|
+
}
|
|
506
|
+
|
|
507
|
+
.pf-c-action-list.pf-m-icons,
|
|
508
|
+
.pf-c-action-list__group.pf-m-icons {
|
|
509
|
+
--pf-c-action-list--child--spacer: var(--pf-c-action-list--m-icon--spacer);
|
|
510
|
+
}
|
|
511
|
+
|
|
512
512
|
.pf-c-app-launcher {
|
|
513
513
|
--pf-c-app-launcher__menu--BackgroundColor: var(--pf-global--BackgroundColor--light-100);
|
|
514
514
|
--pf-c-app-launcher__menu--BoxShadow: var(--pf-global--BoxShadow--md);
|
|
@@ -1486,6 +1486,41 @@ textarea.pf-c-form-control {
|
|
|
1486
1486
|
--pf-c-avatar--Height: var(--pf-c-avatar--m-xl--Height-on-2xl, var(--pf-c-avatar--m-xl--Height-on-xl, var(--pf-c-avatar--m-xl--Height-on-lg, var(--pf-c-avatar--m-xl--Height-on-md, var(--pf-c-avatar--m-xl--Height-on-sm, var(--pf-c-avatar--m-xl--Height))))));
|
|
1487
1487
|
}
|
|
1488
1488
|
}
|
|
1489
|
+
.pf-c-back-to-top {
|
|
1490
|
+
--pf-c-back-to-top--Right: var(--pf-global--spacer--2xl);
|
|
1491
|
+
--pf-c-back-to-top--Bottom: var(--pf-global--spacer--lg);
|
|
1492
|
+
--pf-c-back-to-top--md--Bottom: var(--pf-global--spacer--2xl);
|
|
1493
|
+
--pf-c-back-to-top--c-button--FontSize: var(--pf-global--FontSize--xs);
|
|
1494
|
+
--pf-c-back-to-top--c-button--BorderRadius: var(--pf-global--BorderRadius--lg);
|
|
1495
|
+
--pf-c-back-to-top--c-button--PaddingTop: var(--pf-global--spacer--xs);
|
|
1496
|
+
--pf-c-back-to-top--c-button--PaddingRight: var(--pf-global--spacer--sm);
|
|
1497
|
+
--pf-c-back-to-top--c-button--PaddingBottom: var(--pf-global--spacer--xs);
|
|
1498
|
+
--pf-c-back-to-top--c-button--PaddingLeft: var(--pf-global--spacer--sm);
|
|
1499
|
+
--pf-c-back-to-top--c-button--BoxShadow: var(--pf-global--BoxShadow--lg-bottom);
|
|
1500
|
+
position: absolute;
|
|
1501
|
+
right: var(--pf-c-back-to-top--Right);
|
|
1502
|
+
bottom: var(--pf-c-back-to-top--Bottom);
|
|
1503
|
+
}
|
|
1504
|
+
|
|
1505
|
+
@media (min-width: 768px) {
|
|
1506
|
+
.pf-c-back-to-top {
|
|
1507
|
+
--pf-c-back-to-top--Bottom: var(--pf-c-back-to-top--md--Bottom);
|
|
1508
|
+
}
|
|
1509
|
+
}
|
|
1510
|
+
.pf-c-back-to-top.pf-m-hidden {
|
|
1511
|
+
display: none;
|
|
1512
|
+
}
|
|
1513
|
+
|
|
1514
|
+
.pf-c-back-to-top .pf-c-button {
|
|
1515
|
+
--pf-c-button--FontSize: var(--pf-c-back-to-top--c-button--FontSize);
|
|
1516
|
+
--pf-c-button--BorderRadius: var(--pf-c-back-to-top--c-button--BorderRadius);
|
|
1517
|
+
--pf-c-button--PaddingTop: var(--pf-c-back-to-top--c-button--PaddingTop);
|
|
1518
|
+
--pf-c-button--PaddingRight: var(--pf-c-back-to-top--c-button--PaddingRight);
|
|
1519
|
+
--pf-c-button--PaddingBottom: var(--pf-c-back-to-top--c-button--PaddingBottom);
|
|
1520
|
+
--pf-c-button--PaddingLeft: var(--pf-c-back-to-top--c-button--PaddingLeft);
|
|
1521
|
+
box-shadow: var(--pf-c-back-to-top--c-button--BoxShadow);
|
|
1522
|
+
}
|
|
1523
|
+
|
|
1489
1524
|
.pf-c-background-image {
|
|
1490
1525
|
--pf-c-background-image--BackgroundColor: var(--pf-global--BackgroundColor--dark-100);
|
|
1491
1526
|
--pf-c-background-image--BackgroundImage: url("../../assets/images/pfbg_576.jpg");
|
|
@@ -5195,41 +5230,6 @@ label.pf-c-check, .pf-c-check__label,
|
|
|
5195
5230
|
transform: translateY(var(--pf-c-date-picker--m-top__calendar--TranslateY));
|
|
5196
5231
|
}
|
|
5197
5232
|
|
|
5198
|
-
.pf-c-back-to-top {
|
|
5199
|
-
--pf-c-back-to-top--Right: var(--pf-global--spacer--2xl);
|
|
5200
|
-
--pf-c-back-to-top--Bottom: var(--pf-global--spacer--lg);
|
|
5201
|
-
--pf-c-back-to-top--md--Bottom: var(--pf-global--spacer--2xl);
|
|
5202
|
-
--pf-c-back-to-top--c-button--FontSize: var(--pf-global--FontSize--xs);
|
|
5203
|
-
--pf-c-back-to-top--c-button--BorderRadius: var(--pf-global--BorderRadius--lg);
|
|
5204
|
-
--pf-c-back-to-top--c-button--PaddingTop: var(--pf-global--spacer--xs);
|
|
5205
|
-
--pf-c-back-to-top--c-button--PaddingRight: var(--pf-global--spacer--sm);
|
|
5206
|
-
--pf-c-back-to-top--c-button--PaddingBottom: var(--pf-global--spacer--xs);
|
|
5207
|
-
--pf-c-back-to-top--c-button--PaddingLeft: var(--pf-global--spacer--sm);
|
|
5208
|
-
--pf-c-back-to-top--c-button--BoxShadow: var(--pf-global--BoxShadow--lg-bottom);
|
|
5209
|
-
position: absolute;
|
|
5210
|
-
right: var(--pf-c-back-to-top--Right);
|
|
5211
|
-
bottom: var(--pf-c-back-to-top--Bottom);
|
|
5212
|
-
}
|
|
5213
|
-
|
|
5214
|
-
@media (min-width: 768px) {
|
|
5215
|
-
.pf-c-back-to-top {
|
|
5216
|
-
--pf-c-back-to-top--Bottom: var(--pf-c-back-to-top--md--Bottom);
|
|
5217
|
-
}
|
|
5218
|
-
}
|
|
5219
|
-
.pf-c-back-to-top.pf-m-hidden {
|
|
5220
|
-
display: none;
|
|
5221
|
-
}
|
|
5222
|
-
|
|
5223
|
-
.pf-c-back-to-top .pf-c-button {
|
|
5224
|
-
--pf-c-button--FontSize: var(--pf-c-back-to-top--c-button--FontSize);
|
|
5225
|
-
--pf-c-button--BorderRadius: var(--pf-c-back-to-top--c-button--BorderRadius);
|
|
5226
|
-
--pf-c-button--PaddingTop: var(--pf-c-back-to-top--c-button--PaddingTop);
|
|
5227
|
-
--pf-c-button--PaddingRight: var(--pf-c-back-to-top--c-button--PaddingRight);
|
|
5228
|
-
--pf-c-button--PaddingBottom: var(--pf-c-back-to-top--c-button--PaddingBottom);
|
|
5229
|
-
--pf-c-button--PaddingLeft: var(--pf-c-back-to-top--c-button--PaddingLeft);
|
|
5230
|
-
box-shadow: var(--pf-c-back-to-top--c-button--BoxShadow);
|
|
5231
|
-
}
|
|
5232
|
-
|
|
5233
5233
|
.pf-c-description-list {
|
|
5234
5234
|
--pf-c-description-list--RowGap: var(--pf-global--gutter--md);
|
|
5235
5235
|
--pf-c-description-list--ColumnGap: var(--pf-global--spacer--lg);
|
|
@@ -22364,6 +22364,7 @@ svg.pf-c-spinner.pf-m-xl {
|
|
|
22364
22364
|
--pf-c-text-input-group--m-disabled--BackgroundColor: var(--pf-global--disabled-color--300);
|
|
22365
22365
|
position: relative;
|
|
22366
22366
|
display: flex;
|
|
22367
|
+
width: 100%;
|
|
22367
22368
|
color: var(--pf-c-text-input-group--Color, inherit);
|
|
22368
22369
|
background-color: var(--pf-c-text-input-group--BackgroundColor);
|
|
22369
22370
|
}
|
|
@@ -22500,6 +22501,10 @@ svg.pf-c-spinner.pf-m-xl {
|
|
|
22500
22501
|
--pf-c-button--PaddingLeft: var(--pf-c-text-input-group__utilities--c-button--PaddingLeft);
|
|
22501
22502
|
}
|
|
22502
22503
|
|
|
22504
|
+
.pf-c-text-input-group__group {
|
|
22505
|
+
display: flex;
|
|
22506
|
+
}
|
|
22507
|
+
|
|
22503
22508
|
.pf-c-panel {
|
|
22504
22509
|
--pf-c-panel--Width: auto;
|
|
22505
22510
|
--pf-c-panel--MinWidth: auto;
|