@iress-oss/ids-components 6.0.0-alpha.20 → 6.0.0-alpha.22
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/dist/{Button-BTkololu.js → Button-BrpmQKsB.js} +10 -11
- package/dist/{Provider-B87u_maF.js → Provider-Dw49edAo.js} +21 -31
- package/dist/components/Alert/Alert.js +36 -36
- package/dist/components/Alert/Alert.styles.js +1 -1
- package/dist/components/Autocomplete/Autocomplete.styles.js +1 -1
- package/dist/components/Badge/Badge.js +3 -3
- package/dist/components/Badge/Badge.styles.js +1 -1
- package/dist/components/Button/Button.js +3 -3
- package/dist/components/Button/CloseButton/CloseButton.js +12 -11
- package/dist/components/Button/index.js +1 -1
- package/dist/components/ButtonGroup/ButtonGroup.js +3 -3
- package/dist/components/ButtonGroup/ButtonGroup.styles.js +1 -1
- package/dist/components/Card/Card.js +2 -2
- package/dist/components/Card/Card.styles.js +1 -1
- package/dist/components/Checkbox/Checkbox.js +3 -3
- package/dist/components/Checkbox/Checkbox.styles.js +1 -1
- package/dist/components/CheckboxGroup/CheckboxGroup.styles.js +1 -1
- package/dist/components/CheckboxMark/CheckboxMark.js +2 -2
- package/dist/components/CheckboxMark/CheckboxMark.styles.js +1 -1
- package/dist/components/Col/Col.js +1 -1
- package/dist/components/Col/Col.styles.js +1 -1
- package/dist/components/Container/Container.js +1 -1
- package/dist/components/Container/Container.styles.js +1 -1
- package/dist/components/Divider/Divider.js +2 -2
- package/dist/components/Divider/Divider.styles.js +1 -1
- package/dist/components/Expander/Expander.js +3 -3
- package/dist/components/Expander/Expander.styles.js +1 -1
- package/dist/components/Field/Field.js +3 -3
- package/dist/components/Field/Field.styles.js +1 -1
- package/dist/components/Field/FieldGroup/FieldGroup.js +3 -3
- package/dist/components/Field/FieldGroup/FieldGroup.styles.js +1 -1
- package/dist/components/Field/components/FieldFooter.js +12 -11
- package/dist/components/Field/components/FieldHint.js +5 -4
- package/dist/components/Filter/Filter.js +4 -3
- package/dist/components/Filter/Filter.styles.js +1 -1
- package/dist/components/Filter/components/FilterResetButton.js +1 -1
- package/dist/components/Filter/components/FilterResultsDescriptor.js +1 -1
- package/dist/components/Filter/components/FilterSearch.d.ts +1 -1
- package/dist/components/Hide/Hide.js +1 -1
- package/dist/components/Icon/Icon.constants.d.ts +7 -0
- package/dist/components/Icon/Icon.constants.js +10 -0
- package/dist/components/Icon/Icon.d.ts +34 -16
- package/dist/components/Icon/Icon.js +68 -30
- package/dist/components/Icon/Icon.styles.d.ts +23 -0
- package/dist/components/Icon/Icon.styles.js +37 -4
- package/dist/components/Icon/IconProvider.d.ts +100 -0
- package/dist/components/Icon/IconProvider.js +66 -0
- package/dist/components/Icon/components/FontLoader.d.ts +31 -0
- package/dist/components/Icon/components/FontLoader.js +29 -0
- package/dist/components/Icon/helpers/getMaterialSymbolsList.d.ts +12 -0
- package/dist/components/Icon/helpers/getMaterialSymbolsList.js +12 -0
- package/dist/components/Icon/helpers/iconMapping.d.ts +78 -0
- package/dist/components/Icon/helpers/iconMapping.js +75 -0
- package/dist/components/Icon/hooks/useDynamicFontSubsetting.d.ts +45 -0
- package/dist/components/Icon/hooks/useDynamicFontSubsetting.js +78 -0
- package/dist/components/Icon/index.d.ts +2 -0
- package/dist/components/Icon/index.js +6 -2
- package/dist/components/Image/Image.js +1 -1
- package/dist/components/Image/Image.styles.js +1 -1
- package/dist/components/Inline/Inline.js +1 -1
- package/dist/components/Inline/Inline.styles.js +1 -1
- package/dist/components/Input/Input.js +3 -3
- package/dist/components/Input/Input.styles.js +13 -2
- package/dist/components/Input/InputBase/InputBase.js +1 -1
- package/dist/components/Label/Label.styles.js +1 -1
- package/dist/components/Label/LabelBase/LabelBase.js +1 -1
- package/dist/components/Link/Link.js +40 -41
- package/dist/components/Link/Link.styles.js +1 -1
- package/dist/components/Menu/Menu.js +1 -1
- package/dist/components/Menu/Menu.styles.js +1 -1
- package/dist/components/Menu/MenuItem/MenuItem.js +2 -2
- package/dist/components/Menu/MenuText/MenuText.js +2 -2
- package/dist/components/Modal/Modal.js +3 -3
- package/dist/components/Modal/Modal.styles.js +1 -1
- package/dist/components/Panel/Panel.js +1 -1
- package/dist/components/Panel/Panel.styles.js +2 -2
- package/dist/components/Placeholder/Placeholder.d.ts +5 -1
- package/dist/components/Placeholder/Placeholder.js +48 -28
- package/dist/components/Placeholder/Placeholder.styles.js +10 -9
- package/dist/components/Popover/InputPopover/InputPopover.js +1 -1
- package/dist/components/Popover/Popover.js +1 -1
- package/dist/components/Popover/Popover.styles.js +1 -1
- package/dist/components/Popover/components/PopoverContent.js +1 -1
- package/dist/components/Progress/Progress.js +4 -4
- package/dist/components/Progress/Progress.styles.js +1 -1
- package/dist/components/Provider/Provider.d.ts +9 -5
- package/dist/components/Provider/Provider.js +5 -2
- package/dist/components/Provider/index.js +1 -1
- package/dist/components/Radio/Radio.js +3 -3
- package/dist/components/Radio/Radio.styles.js +1 -1
- package/dist/components/RadioGroup/RadioGroup.js +1 -1
- package/dist/components/RadioGroup/RadioGroup.styles.js +1 -1
- package/dist/components/Readonly/Readonly.js +2 -2
- package/dist/components/Readonly/Readonly.styles.js +1 -1
- package/dist/components/RichSelect/RichSelect.styles.js +2 -2
- package/dist/components/RichSelect/SelectBody/SelectBody.styles.js +1 -1
- package/dist/components/RichSelect/SelectCreate/SelectCreate.js +1 -0
- package/dist/components/RichSelect/SelectHeading/SelectHeading.js +1 -1
- package/dist/components/RichSelect/SelectLabel/SelectLabel.styles.d.ts +1 -1
- package/dist/components/RichSelect/SelectLabel/SelectLabel.styles.js +1 -1
- package/dist/components/RichSelect/SelectMenu/SelectMenu.styles.js +1 -1
- package/dist/components/RichSelect/SelectSearch/SelectSearch.styles.js +1 -1
- package/dist/components/RichSelect/SelectSearchInput/SelectSearchInput.js +11 -10
- package/dist/components/RichSelect/SelectSearchInput/SelectSearchInput.styles.js +1 -1
- package/dist/components/RichSelect/SelectTags/SelectTags.js +3 -2
- package/dist/components/RichSelect/SelectTags/SelectTags.styles.d.ts +1 -1
- package/dist/components/RichSelect/SelectTags/SelectTags.styles.js +1 -1
- package/dist/components/Row/Row.js +1 -1
- package/dist/components/Row/Row.styles.js +1 -1
- package/dist/components/Select/Select.js +2 -2
- package/dist/components/Select/Select.styles.js +1 -1
- package/dist/components/Select/SelectOption/SelectOption.js +1 -1
- package/dist/components/Select/components/SelectControl.js +1 -1
- package/dist/components/Skeleton/Skeleton.styles.js +1 -1
- package/dist/components/SkipLink/SkipLink.js +1 -1
- package/dist/components/SkipLink/SkipLink.styles.js +1 -1
- package/dist/components/Slideout/Slideout.js +1 -1
- package/dist/components/Slideout/Slideout.styles.js +1 -1
- package/dist/components/Slideout/components/SlideoutInner.js +3 -3
- package/dist/components/Slideout/hooks/usePushElement.js +1 -1
- package/dist/components/Slider/Slider.js +2 -2
- package/dist/components/Slider/Slider.styles.js +1 -1
- package/dist/components/Slider/components/SliderTicks.js +1 -1
- package/dist/components/Spinner/Spinner.js +5 -4
- package/dist/components/Spinner/Spinner.styles.js +2 -2
- package/dist/components/Stack/Stack.js +1 -1
- package/dist/components/Stack/Stack.styles.js +1 -1
- package/dist/components/Styled/Styled.js +1 -1
- package/dist/components/TabSet/Tab/Tab.js +1 -1
- package/dist/components/TabSet/Tab/Tab.styles.js +1 -1
- package/dist/components/TabSet/TabSet.js +1 -1
- package/dist/components/TabSet/TabSet.styles.js +4 -2
- package/dist/components/Table/Table.js +1 -1
- package/dist/components/Table/Table.styles.js +10 -6
- package/dist/components/Table/TableBody/TableBody.js +1 -1
- package/dist/components/Table/components/TableRows.js +1 -1
- package/dist/components/Table/components/TableSortButton.js +24 -15
- package/dist/components/Table/hooks/useTableColumnStyles.js +2 -2
- package/dist/components/Tag/Tag.js +4 -4
- package/dist/components/Tag/Tag.styles.js +1 -1
- package/dist/components/Tag/TagInput/TagInput.styles.js +1 -1
- package/dist/components/Text/Text.js +1 -1
- package/dist/components/Text/Text.styles.js +2 -2
- package/dist/components/Toaster/Toaster.js +1 -1
- package/dist/components/Toaster/Toaster.styles.js +1 -1
- package/dist/components/Toaster/components/Toast/Toast.js +31 -31
- package/dist/components/Toaster/components/Toast/Toast.styles.d.ts +1 -1
- package/dist/components/Toaster/components/Toast/Toast.styles.js +1 -5
- package/dist/components/Toggle/Toggle.js +2 -2
- package/dist/components/Toggle/Toggle.styles.js +1 -1
- package/dist/components/Tooltip/Tooltip.js +1 -1
- package/dist/components/Tooltip/Tooltip.styles.js +1 -1
- package/dist/components/ValidationMessage/ValidationMessage.js +1 -1
- package/dist/components/ValidationMessage/ValidationSummary/ValidationSummary.js +1 -1
- package/dist/{create-recipe-DjqynAXe.js → create-recipe-DUTadmvy.js} +2 -2
- package/dist/{css-DNdLYQld.js → css-BStWZDQe.js} +1 -1
- package/dist/{cva-DtPMccE9.js → cva-DJVW1KHF.js} +1 -1
- package/dist/{factory-CsinCTPr.js → factory-BrouwSOb.js} +3 -3
- package/dist/helpers/styling/iressCss.js +1 -1
- package/dist/{index-0AvnPY9d.js → index-Bir9MtY7.js} +0 -4
- package/dist/index.d-CZvOUeIl.js +3808 -0
- package/dist/is-valid-prop-DTA0i8bT.js +7 -0
- package/dist/main.js +257 -253
- package/dist/patterns/Form/Form.styles.js +1 -1
- package/dist/patterns/Form/FormValidationSummary/FormValidationSummary.js +1 -1
- package/dist/patterns/Form/HookForm/HookForm.js +1 -1
- package/dist/patterns/Loading/Loading.styles.js +1 -1
- package/dist/patterns/Loading/components/ComponentLoading.js +1 -1
- package/dist/patterns/Loading/components/DefaultLoading.js +1 -1
- package/dist/patterns/Loading/components/LongLoading.js +1 -1
- package/dist/patterns/Loading/components/PageLoading.js +1 -1
- package/dist/patterns/Loading/components/StartUpLoading.js +1 -1
- package/dist/patterns/Loading/components/ValidateLoading.js +2 -2
- package/dist/patterns/Shadow/Shadow.d.ts +0 -4
- package/dist/patterns/Shadow/Shadow.js +414 -458
- package/dist/style.css +1 -1
- package/dist/styled-system/recipes/table.d.ts +1 -1
- package/dist/styled-system/tokens/tokens.d.ts +1 -1
- package/dist/styled-system/types/prop-type.d.ts +1 -0
- package/dist/styled-system/types/style-props.d.ts +1 -0
- package/dist/{sva-B7kca5XO.js → sva-Df1FmoEW.js} +2 -2
- package/dist/types.d.ts +4 -0
- package/package.json +5 -4
- package/dist/is-valid-prop-DweT-eOL.js +0 -7
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import { jsxs as q, Fragment as N, jsx as u } from "react/jsx-runtime";
|
|
2
|
-
import { forwardRef as j, useId as M, useRef as R, useMemo as n, useCallback as E, useImperativeHandle as
|
|
3
|
-
import { IressSpinner as
|
|
2
|
+
import { forwardRef as j, useId as M, useRef as R, useMemo as n, useCallback as E, useImperativeHandle as A } from "react";
|
|
3
|
+
import { IressSpinner as K } from "./components/Spinner/Spinner.js";
|
|
4
4
|
import "./components/Spinner/Spinner.styles.js";
|
|
5
5
|
import { GlobalCSSClass as d } from "./enums.js";
|
|
6
6
|
import "./components/ButtonGroup/ButtonGroup.js";
|
|
7
7
|
import "./components/ButtonGroup/ButtonGroup.styles.js";
|
|
8
|
-
import { useButtonGroupItem as
|
|
9
|
-
import { s as
|
|
10
|
-
import { m as D, a as L, s as T, i as z, c as J } from "./css-
|
|
8
|
+
import { useButtonGroupItem as O } from "./components/ButtonGroup/hooks/useButtonGroupItem.js";
|
|
9
|
+
import { s as W } from "./is-valid-prop-DTA0i8bT.js";
|
|
10
|
+
import { m as D, a as L, s as T, i as z, c as J } from "./css-BStWZDQe.js";
|
|
11
11
|
import { c as Q } from "./cx-DN21T1EH.js";
|
|
12
|
-
import { c as U } from "./create-recipe-
|
|
12
|
+
import { c as U } from "./create-recipe-DUTadmvy.js";
|
|
13
13
|
import "./components/Popover/Popover.js";
|
|
14
14
|
import "./components/Popover/Popover.styles.js";
|
|
15
15
|
import "./components/Popover/InputPopover/InputPopover.js";
|
|
@@ -367,7 +367,7 @@ const h = {}, Y = [
|
|
|
367
367
|
value: w,
|
|
368
368
|
...f
|
|
369
369
|
}, F) => {
|
|
370
|
-
const i = M(), I = w ?? (typeof s == "string" || typeof s == "number" || typeof s == "boolean" ? s : void 0), B = X(), p = R(null), c =
|
|
370
|
+
const i = M(), I = w ?? (typeof s == "string" || typeof s == "number" || typeof s == "boolean" ? s : void 0), B = X(), p = R(null), c = O({ value: I }), G = n(() => c ? c.active ? "primary" : "tertiary" : x, [c, x]), e = so({
|
|
371
371
|
active: (
|
|
372
372
|
// eslint-disable-next-line react-hooks/refs -- ref needed for forwarding
|
|
373
373
|
o ?? B?.isActiveActivator(p.current)
|
|
@@ -379,7 +379,7 @@ const h = {}, Y = [
|
|
|
379
379
|
noWrap: H,
|
|
380
380
|
status: S
|
|
381
381
|
}), [v, a] = n(
|
|
382
|
-
() =>
|
|
382
|
+
() => W(f),
|
|
383
383
|
[f]
|
|
384
384
|
), _ = E(
|
|
385
385
|
(V) => {
|
|
@@ -391,10 +391,9 @@ const h = {}, Y = [
|
|
|
391
391
|
children: /* @__PURE__ */ q(N, { children: [
|
|
392
392
|
m && !r && /* @__PURE__ */ u("span", { className: e.prepend, children: m }),
|
|
393
393
|
!!r && /* @__PURE__ */ u(
|
|
394
|
-
|
|
394
|
+
K,
|
|
395
395
|
{
|
|
396
396
|
className: e.spinner,
|
|
397
|
-
fixedWidth: !0,
|
|
398
397
|
id: i,
|
|
399
398
|
screenreaderText: r === !0 ? "Loading" : r
|
|
400
399
|
}
|
|
@@ -427,7 +426,7 @@ const h = {}, Y = [
|
|
|
427
426
|
e.spinner
|
|
428
427
|
]
|
|
429
428
|
);
|
|
430
|
-
|
|
429
|
+
A(F, () => p.current);
|
|
431
430
|
const k = n(
|
|
432
431
|
() => l ?? (a.href ? "a" : "button"),
|
|
433
432
|
[l, a.href]
|
|
@@ -1,37 +1,39 @@
|
|
|
1
|
-
import { jsxs as
|
|
1
|
+
import { jsxs as $, jsx as t } from "react/jsx-runtime";
|
|
2
2
|
import "./components/Modal/Modal.styles.js";
|
|
3
3
|
import "./components/Modal/Modal.js";
|
|
4
|
-
import { IressModalProvider as
|
|
4
|
+
import { IressModalProvider as s } from "./components/Modal/ModalProvider.js";
|
|
5
5
|
import "./components/Modal/hooks/useModal.js";
|
|
6
|
-
import { IressToasterProvider as
|
|
6
|
+
import { IressToasterProvider as a } from "./components/Toaster/ToasterProvider.js";
|
|
7
7
|
import "./components/Toaster/hooks/useToaster.js";
|
|
8
8
|
import "./components/Toaster/Toaster.styles.js";
|
|
9
9
|
import "./components/Toaster/components/Toast/Toast.styles.js";
|
|
10
10
|
import "./components/Slideout/Slideout.js";
|
|
11
11
|
import "./components/Slideout/Slideout.styles.js";
|
|
12
|
-
import { IressSlideoutProvider as
|
|
12
|
+
import { IressSlideoutProvider as n } from "./components/Slideout/SlideoutProvider.js";
|
|
13
13
|
import "./components/Slideout/hooks/useSlideout.js";
|
|
14
|
-
import { createPortal as
|
|
14
|
+
import { createPortal as C } from "react-dom";
|
|
15
|
+
import "./components/Icon/Icon.js";
|
|
16
|
+
import "./components/Icon/Icon.styles.js";
|
|
17
|
+
import { IressIconProvider as m } from "./components/Icon/IconProvider.js";
|
|
15
18
|
var o = /* @__PURE__ */ ((e) => (e.Color = "color", e.Dimension = "dimension", e.FontFamily = "fontFamily", e.FontSize = "fontSize", e.Background = "background", e.Border = "border", e.Radius = "radius", e.Shadow = "shadow", e.Typography = "typography", e))(o || {});
|
|
16
19
|
o.Color, o.Color, o.Color, o.Color, o.Color, o.Color, o.Color, o.Color, o.Color, o.Color, o.Color, o.Color, o.Color, o.Color, o.Color, o.Color, o.Color, o.Color, o.Color, o.Color, o.Color, o.Color, o.Color, o.Color, o.Color, o.Color, o.Color, o.Color, o.Color, o.Color, o.Color, o.Color, o.Color, o.Color, o.Color, o.Color, o.Color, o.Color, o.Color, o.Color, o.Color, o.Color, o.Color, o.Color, o.Color, o.Color, o.Color, o.Color, o.Color, o.Color, o.Color, o.Color, o.Color, o.Color, o.Color, o.Color, o.Color, o.Color, o.Color, o.Color;
|
|
17
20
|
o.Shadow, o.Border, o.Shadow, o.Border, o.Shadow, o.Border, o.Shadow, o.Color, o.Shadow, o.Color;
|
|
18
21
|
o.Dimension, o.Dimension, o.Dimension, o.Dimension, o.Dimension, o.Radius, o.Radius, o.Radius, o.Radius;
|
|
19
22
|
o.Dimension, o.Dimension, o.Dimension, o.Dimension, o.Dimension, o.Dimension, o.Dimension, o.Dimension, o.Dimension, o.Dimension;
|
|
20
|
-
const
|
|
23
|
+
const d = [
|
|
21
24
|
"https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&family=Ubuntu:ital,wght@0,300;0,400;0,500;0,700;1,300;1,400;1,500;1,700&display=swap"
|
|
22
25
|
];
|
|
23
26
|
o.FontSize, o.FontFamily, o.FontFamily, o.Typography, o.Typography, o.Typography, o.Typography, o.Typography, o.Typography, o.Typography, o.Typography, o.Typography, o.Typography, o.Typography, o.Typography, o.Typography, o.Typography;
|
|
24
|
-
const
|
|
27
|
+
const f = ({
|
|
25
28
|
children: e,
|
|
26
|
-
container:
|
|
27
|
-
noDefaultFont:
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
C.map((p) => /* @__PURE__ */ r(
|
|
29
|
+
container: r,
|
|
30
|
+
noDefaultFont: y,
|
|
31
|
+
position: l,
|
|
32
|
+
...i
|
|
33
|
+
}) => /* @__PURE__ */ $(s, { container: r, children: [
|
|
34
|
+
/* @__PURE__ */ t(a, { container: r, position: l, children: /* @__PURE__ */ t(n, { container: r, ...i, children: /* @__PURE__ */ t(m, { container: r, noSubsetting: !0, children: e }) }) }),
|
|
35
|
+
!y && C(
|
|
36
|
+
d.map((p) => /* @__PURE__ */ t(
|
|
35
37
|
"link",
|
|
36
38
|
{
|
|
37
39
|
rel: "stylesheet",
|
|
@@ -42,22 +44,10 @@ const h = ({
|
|
|
42
44
|
)),
|
|
43
45
|
document.head,
|
|
44
46
|
"design-system-font"
|
|
45
|
-
),
|
|
46
|
-
!i && y(
|
|
47
|
-
/* @__PURE__ */ r(
|
|
48
|
-
"link",
|
|
49
|
-
{
|
|
50
|
-
rel: "stylesheet",
|
|
51
|
-
href: "https://cdn.iress.com/icons/5.15.4/css/combined.min.css",
|
|
52
|
-
"data-iress-design-system-icons": !0
|
|
53
|
-
}
|
|
54
|
-
),
|
|
55
|
-
document.head,
|
|
56
|
-
"design-system-icons"
|
|
57
47
|
)
|
|
58
48
|
] });
|
|
59
|
-
|
|
49
|
+
f.displayName = "IressProvider";
|
|
60
50
|
export {
|
|
61
|
-
|
|
62
|
-
|
|
51
|
+
f as I,
|
|
52
|
+
d as i
|
|
63
53
|
};
|
|
@@ -1,39 +1,40 @@
|
|
|
1
|
-
import { jsx as
|
|
1
|
+
import { jsx as o, jsxs as i } from "react/jsx-runtime";
|
|
2
2
|
import { useMemo as B, createElement as E } from "react";
|
|
3
3
|
import { IressIcon as V } from "../Icon/Icon.js";
|
|
4
4
|
import "../Icon/Icon.styles.js";
|
|
5
|
+
import "../Icon/IconProvider.js";
|
|
5
6
|
import { IressText as u } from "../Text/Text.js";
|
|
6
7
|
import { propagateTestid as N } from "../../helpers/utility/propagateTestid.js";
|
|
7
8
|
import { alert as h } from "./Alert.styles.js";
|
|
8
|
-
import { c as q } from "../../css-
|
|
9
|
+
import { c as q } from "../../css-BStWZDQe.js";
|
|
9
10
|
import { c as I } from "../../cx-DN21T1EH.js";
|
|
10
11
|
import { GlobalCSSClass as F } from "../../enums.js";
|
|
11
|
-
import { I as G } from "../../Button-
|
|
12
|
+
import { I as G } from "../../Button-BrpmQKsB.js";
|
|
12
13
|
import { IressCloseButton as L } from "../Button/CloseButton/CloseButton.js";
|
|
13
14
|
import "../Inline/Inline.styles.js";
|
|
14
15
|
import { IressInline as M } from "../Inline/Inline.js";
|
|
15
16
|
import { useControlledState as O } from "../../hooks/useControlledState.js";
|
|
16
|
-
import { s as R } from "../../is-valid-prop-
|
|
17
|
-
const
|
|
17
|
+
import { s as R } from "../../is-valid-prop-DTA0i8bT.js";
|
|
18
|
+
const _ = {
|
|
18
19
|
danger: "ban",
|
|
19
20
|
info: "info-square",
|
|
20
21
|
success: "check",
|
|
21
22
|
warning: "exclamation-triangle"
|
|
22
|
-
},
|
|
23
|
+
}, $ = ({
|
|
23
24
|
actions: n,
|
|
24
25
|
children: g,
|
|
25
26
|
className: x,
|
|
26
27
|
defaultDismissed: C,
|
|
27
28
|
dismissed: b,
|
|
28
29
|
footer: c,
|
|
29
|
-
heading:
|
|
30
|
+
heading: t,
|
|
30
31
|
icon: m,
|
|
31
32
|
onDismiss: d,
|
|
32
33
|
status: r = "info",
|
|
33
|
-
variant:
|
|
34
|
+
variant: a,
|
|
34
35
|
...l
|
|
35
36
|
}) => {
|
|
36
|
-
const y = !!d,
|
|
37
|
+
const y = !!d, s = h({ status: r, variant: a }), A = h.raw({ status: r, variant: a }), p = !!n?.length, S = !!c || p, [T, k] = R(l), { value: v, setValue: w } = O({
|
|
37
38
|
component: "IressAlert",
|
|
38
39
|
defaultValue: C,
|
|
39
40
|
propName: "dismissed",
|
|
@@ -41,18 +42,17 @@ const W = {
|
|
|
41
42
|
}), f = B(() => {
|
|
42
43
|
if (m === !1)
|
|
43
44
|
return null;
|
|
44
|
-
const
|
|
45
|
-
return /* @__PURE__ */
|
|
45
|
+
const e = m ?? _[r];
|
|
46
|
+
return /* @__PURE__ */ o(
|
|
46
47
|
V,
|
|
47
48
|
{
|
|
48
|
-
name:
|
|
49
|
+
name: e,
|
|
49
50
|
screenreaderText: `${r}: `,
|
|
50
|
-
|
|
51
|
-
className: e.icon
|
|
51
|
+
className: s.icon
|
|
52
52
|
}
|
|
53
53
|
);
|
|
54
|
-
}, [
|
|
55
|
-
return v ? null : /* @__PURE__ */
|
|
54
|
+
}, [s.icon, m, r]);
|
|
55
|
+
return v ? null : /* @__PURE__ */ i(
|
|
56
56
|
u,
|
|
57
57
|
{
|
|
58
58
|
className: I(
|
|
@@ -62,32 +62,32 @@ const W = {
|
|
|
62
62
|
),
|
|
63
63
|
...k,
|
|
64
64
|
children: [
|
|
65
|
-
|
|
66
|
-
/* @__PURE__ */
|
|
67
|
-
|
|
65
|
+
a !== "sidebar" && f,
|
|
66
|
+
/* @__PURE__ */ i("div", { className: s.wrapper, children: [
|
|
67
|
+
t && /* @__PURE__ */ o(
|
|
68
68
|
"div",
|
|
69
69
|
{
|
|
70
|
-
className:
|
|
70
|
+
className: s.heading,
|
|
71
71
|
"data-testid": N(l["data-testid"], "heading"),
|
|
72
|
-
children: typeof
|
|
73
|
-
|
|
72
|
+
children: typeof t == "string" ? /* @__PURE__ */ i(u, { element: "h2", className: s.heading, children: [
|
|
73
|
+
a === "sidebar" && f,
|
|
74
74
|
" ",
|
|
75
|
-
|
|
76
|
-
] }) :
|
|
75
|
+
t
|
|
76
|
+
] }) : t
|
|
77
77
|
}
|
|
78
78
|
),
|
|
79
|
-
/* @__PURE__ */
|
|
80
|
-
S && /* @__PURE__ */
|
|
79
|
+
/* @__PURE__ */ o("div", { className: s.children, children: g }),
|
|
80
|
+
S && /* @__PURE__ */ i(
|
|
81
81
|
"div",
|
|
82
82
|
{
|
|
83
|
-
className:
|
|
83
|
+
className: s.footer,
|
|
84
84
|
"data-testid": N(l["data-testid"], "footer"),
|
|
85
85
|
children: [
|
|
86
|
-
p && /* @__PURE__ */
|
|
86
|
+
p && /* @__PURE__ */ o(M, { gap: "sm", pb: "spacing.1", children: n?.map((e, j) => /* @__PURE__ */ E(
|
|
87
87
|
G,
|
|
88
88
|
{
|
|
89
|
-
...
|
|
90
|
-
className: I(
|
|
89
|
+
...e,
|
|
90
|
+
className: I(e.className, s.action),
|
|
91
91
|
key: j
|
|
92
92
|
}
|
|
93
93
|
)) }),
|
|
@@ -96,12 +96,12 @@ const W = {
|
|
|
96
96
|
}
|
|
97
97
|
)
|
|
98
98
|
] }),
|
|
99
|
-
y && /* @__PURE__ */
|
|
99
|
+
y && /* @__PURE__ */ o(
|
|
100
100
|
L,
|
|
101
101
|
{
|
|
102
|
-
className:
|
|
103
|
-
onClick: (
|
|
104
|
-
d?.(
|
|
102
|
+
className: s.dismiss,
|
|
103
|
+
onClick: (e) => {
|
|
104
|
+
d?.(e), w(!0);
|
|
105
105
|
}
|
|
106
106
|
}
|
|
107
107
|
)
|
|
@@ -109,7 +109,7 @@ const W = {
|
|
|
109
109
|
}
|
|
110
110
|
);
|
|
111
111
|
};
|
|
112
|
-
|
|
112
|
+
$.displayName = "IressAlert";
|
|
113
113
|
export {
|
|
114
|
-
|
|
114
|
+
$ as IressAlert
|
|
115
115
|
};
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { jsx as l } from "react/jsx-runtime";
|
|
2
|
-
import { c } from "../../css-
|
|
2
|
+
import { c } from "../../css-BStWZDQe.js";
|
|
3
3
|
import { c as i } from "../../cx-DN21T1EH.js";
|
|
4
4
|
import { badge as n } from "./Badge.styles.js";
|
|
5
|
-
import { s as d } from "../../factory-
|
|
6
|
-
import { s as f } from "../../is-valid-prop-
|
|
5
|
+
import { s as d } from "../../factory-BrouwSOb.js";
|
|
6
|
+
import { s as f } from "../../is-valid-prop-DTA0i8bT.js";
|
|
7
7
|
import { GlobalCSSClass as g } from "../../enums.js";
|
|
8
8
|
const y = ({
|
|
9
9
|
children: o,
|
|
@@ -6,10 +6,10 @@ import "../../enums.js";
|
|
|
6
6
|
import "../ButtonGroup/ButtonGroup.js";
|
|
7
7
|
import "../ButtonGroup/ButtonGroup.styles.js";
|
|
8
8
|
import "../ButtonGroup/hooks/useButtonGroupItem.js";
|
|
9
|
-
import "../../is-valid-prop-
|
|
10
|
-
import "../../css-
|
|
9
|
+
import "../../is-valid-prop-DTA0i8bT.js";
|
|
10
|
+
import "../../css-BStWZDQe.js";
|
|
11
11
|
import "../../cx-DN21T1EH.js";
|
|
12
|
-
import { I as g } from "../../Button-
|
|
12
|
+
import { I as g } from "../../Button-BrpmQKsB.js";
|
|
13
13
|
import "../Popover/Popover.js";
|
|
14
14
|
import "../Popover/Popover.styles.js";
|
|
15
15
|
import "../Popover/InputPopover/InputPopover.js";
|
|
@@ -1,27 +1,28 @@
|
|
|
1
1
|
import { jsx as o } from "react/jsx-runtime";
|
|
2
|
-
import { I as e } from "../../../Button-
|
|
3
|
-
import { IressIcon as
|
|
2
|
+
import { I as e } from "../../../Button-BrpmQKsB.js";
|
|
3
|
+
import { IressIcon as i } from "../../Icon/Icon.js";
|
|
4
4
|
import "../../Icon/Icon.styles.js";
|
|
5
|
-
import
|
|
5
|
+
import "../../Icon/IconProvider.js";
|
|
6
|
+
import { forwardRef as a } from "react";
|
|
6
7
|
import { c as l } from "../../../cx-DN21T1EH.js";
|
|
7
|
-
import { GlobalCSSClass as
|
|
8
|
-
const
|
|
8
|
+
import { GlobalCSSClass as p } from "../../../enums.js";
|
|
9
|
+
const n = a(
|
|
9
10
|
({
|
|
10
|
-
className:
|
|
11
|
-
screenreaderText:
|
|
11
|
+
className: r,
|
|
12
|
+
screenreaderText: s = "Close button",
|
|
12
13
|
...t
|
|
13
14
|
}, m) => /* @__PURE__ */ o(
|
|
14
15
|
e,
|
|
15
16
|
{
|
|
16
17
|
...t,
|
|
17
|
-
className: l(
|
|
18
|
+
className: l(r, p.CloseButton),
|
|
18
19
|
mode: "muted",
|
|
19
20
|
ref: m,
|
|
20
|
-
children: /* @__PURE__ */ o(
|
|
21
|
+
children: /* @__PURE__ */ o(i, { name: "times", screenreaderText: s })
|
|
21
22
|
}
|
|
22
23
|
)
|
|
23
24
|
);
|
|
24
|
-
|
|
25
|
+
n.displayName = "IressCloseButton";
|
|
25
26
|
export {
|
|
26
|
-
|
|
27
|
+
n as IressCloseButton
|
|
27
28
|
};
|
|
@@ -3,10 +3,10 @@ import "react";
|
|
|
3
3
|
import { useIdIfNeeded as N } from "../../hooks/useIdIfNeeded.js";
|
|
4
4
|
import { propagateTestid as x } from "../../helpers/utility/propagateTestid.js";
|
|
5
5
|
import { buttonGroup as l } from "./ButtonGroup.styles.js";
|
|
6
|
-
import { c as B } from "../../css-
|
|
6
|
+
import { c as B } from "../../css-BStWZDQe.js";
|
|
7
7
|
import { c as I } from "../../cx-DN21T1EH.js";
|
|
8
|
-
import { s as C } from "../../factory-
|
|
9
|
-
import { s as P } from "../../is-valid-prop-
|
|
8
|
+
import { s as C } from "../../factory-BrouwSOb.js";
|
|
9
|
+
import { s as P } from "../../is-valid-prop-DTA0i8bT.js";
|
|
10
10
|
import { ButtonGroupProvider as S } from "./ButtonGroupProvider.js";
|
|
11
11
|
import { GlobalCSSClass as g } from "../../enums.js";
|
|
12
12
|
const h = ({
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx as t, jsxs as E, Fragment as j } from "react/jsx-runtime";
|
|
2
|
-
import { s as B } from "../../is-valid-prop-
|
|
2
|
+
import { s as B } from "../../is-valid-prop-DTA0i8bT.js";
|
|
3
3
|
import { card as L } from "./Card.styles.js";
|
|
4
|
-
import { c as e } from "../../css-
|
|
4
|
+
import { c as e } from "../../css-BStWZDQe.js";
|
|
5
5
|
import { c as M } from "../../cx-DN21T1EH.js";
|
|
6
6
|
import { propagateTestid as o } from "../../helpers/utility/propagateTestid.js";
|
|
7
7
|
import { useMemo as w } from "react";
|
|
@@ -7,14 +7,14 @@ import { useControlledState as $ } from "../../hooks/useControlledState.js";
|
|
|
7
7
|
import { IressReadonly as ee } from "../Readonly/Readonly.js";
|
|
8
8
|
import "../Readonly/Readonly.styles.js";
|
|
9
9
|
import { checkbox as oe } from "./Checkbox.styles.js";
|
|
10
|
-
import { c as l } from "../../css-
|
|
10
|
+
import { c as l } from "../../css-BStWZDQe.js";
|
|
11
11
|
import { c as y } from "../../cx-DN21T1EH.js";
|
|
12
12
|
import { propagateTestid as te } from "../../helpers/utility/propagateTestid.js";
|
|
13
13
|
import { getCheckboxGroupContext as se } from "../CheckboxGroup/CheckboxGroup.js";
|
|
14
14
|
import "../CheckboxGroup/CheckboxGroup.styles.js";
|
|
15
15
|
import { GlobalCSSClass as i } from "../../enums.js";
|
|
16
|
-
import { s as F } from "../../factory-
|
|
17
|
-
import { s as re } from "../../is-valid-prop-
|
|
16
|
+
import { s as F } from "../../factory-BrouwSOb.js";
|
|
17
|
+
import { s as re } from "../../is-valid-prop-DTA0i8bT.js";
|
|
18
18
|
import { IressText as ne } from "../Text/Text.js";
|
|
19
19
|
import { useNoDefaultValueInForms as ce } from "../../patterns/Form/hooks/useNoDefaultValueInForms.js";
|
|
20
20
|
const ae = ({
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { jsxs as p, jsx as e } from "react/jsx-runtime";
|
|
2
|
-
import { c as r } from "../../css-
|
|
2
|
+
import { c as r } from "../../css-BStWZDQe.js";
|
|
3
3
|
import { c as n } from "../../cx-DN21T1EH.js";
|
|
4
4
|
import { checkboxMark as x } from "./CheckboxMark.styles.js";
|
|
5
|
-
import { s as k } from "../../is-valid-prop-
|
|
5
|
+
import { s as k } from "../../is-valid-prop-DTA0i8bT.js";
|
|
6
6
|
import { GlobalCSSClass as f } from "../../enums.js";
|
|
7
7
|
const h = ({
|
|
8
8
|
checked: o,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsx as m } from "react/jsx-runtime";
|
|
2
|
-
import { s as r } from "../../factory-
|
|
2
|
+
import { s as r } from "../../factory-BrouwSOb.js";
|
|
3
3
|
import { col as l } from "./Col.styles.js";
|
|
4
4
|
import { c as t } from "../../cx-DN21T1EH.js";
|
|
5
5
|
import { GlobalCSSClass as a } from "../../enums.js";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsx as s } from "react/jsx-runtime";
|
|
2
|
-
import { s as t } from "../../factory-
|
|
2
|
+
import { s as t } from "../../factory-BrouwSOb.js";
|
|
3
3
|
import { container as m } from "./Container.styles.js";
|
|
4
4
|
import { c as a } from "../../cx-DN21T1EH.js";
|
|
5
5
|
import { GlobalCSSClass as n } from "../../enums.js";
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { jsx as m } from "react/jsx-runtime";
|
|
2
|
-
import { c as p } from "../../css-
|
|
2
|
+
import { c as p } from "../../css-BStWZDQe.js";
|
|
3
3
|
import { c as a } from "../../cx-DN21T1EH.js";
|
|
4
4
|
import { divider as c } from "./Divider.styles.js";
|
|
5
|
-
import { s as l } from "../../is-valid-prop-
|
|
5
|
+
import { s as l } from "../../is-valid-prop-DTA0i8bT.js";
|
|
6
6
|
import { GlobalCSSClass as d } from "../../enums.js";
|
|
7
7
|
const f = ({
|
|
8
8
|
className: s,
|
|
@@ -3,11 +3,11 @@ import { useState as b, useEffect as y } from "react";
|
|
|
3
3
|
import { propagateTestid as p } from "../../helpers/utility/propagateTestid.js";
|
|
4
4
|
import { useIdIfNeeded as L } from "../../hooks/useIdIfNeeded.js";
|
|
5
5
|
import { expander as l } from "./Expander.styles.js";
|
|
6
|
-
import { c as P } from "../../css-
|
|
6
|
+
import { c as P } from "../../css-BStWZDQe.js";
|
|
7
7
|
import { c as f } from "../../cx-DN21T1EH.js";
|
|
8
8
|
import { IressText as x } from "../Text/Text.js";
|
|
9
|
-
import { s as j } from "../../factory-
|
|
10
|
-
import { s as k } from "../../is-valid-prop-
|
|
9
|
+
import { s as j } from "../../factory-BrouwSOb.js";
|
|
10
|
+
import { s as k } from "../../is-valid-prop-DTA0i8bT.js";
|
|
11
11
|
import { GlobalCSSClass as h } from "../../enums.js";
|
|
12
12
|
const G = ({ className: a }) => /* @__PURE__ */ s(
|
|
13
13
|
"svg",
|
|
@@ -4,10 +4,10 @@ import { IressLabel as q } from "../Label/Label.js";
|
|
|
4
4
|
import "../Label/Label.styles.js";
|
|
5
5
|
import { propagateTestid as N } from "../../helpers/utility/propagateTestid.js";
|
|
6
6
|
import { toArray as w } from "../../helpers/formatting/toArray.js";
|
|
7
|
-
import { s as p } from "../../factory-
|
|
8
|
-
import { s as A } from "../../is-valid-prop-
|
|
7
|
+
import { s as p } from "../../factory-BrouwSOb.js";
|
|
8
|
+
import { s as A } from "../../is-valid-prop-DTA0i8bT.js";
|
|
9
9
|
import { field as G } from "./Field.styles.js";
|
|
10
|
-
import { c as e } from "../../css-
|
|
10
|
+
import { c as e } from "../../css-BStWZDQe.js";
|
|
11
11
|
import { c as I } from "../../cx-DN21T1EH.js";
|
|
12
12
|
import { FieldFooter as V } from "./components/FieldFooter.js";
|
|
13
13
|
import { FieldHintIcon as $, FieldHint as h } from "./components/FieldHint.js";
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { jsxs as g, jsx as t } from "react/jsx-runtime";
|
|
2
2
|
import { propagateTestid as i } from "../../../helpers/utility/propagateTestid.js";
|
|
3
|
-
import { s as h } from "../../../factory-
|
|
4
|
-
import { s as x } from "../../../is-valid-prop-
|
|
3
|
+
import { s as h } from "../../../factory-BrouwSOb.js";
|
|
4
|
+
import { s as x } from "../../../is-valid-prop-DTA0i8bT.js";
|
|
5
5
|
import { FieldFooter as C } from "../components/FieldFooter.js";
|
|
6
6
|
import { fieldGroup as P } from "./FieldGroup.styles.js";
|
|
7
|
-
import { c as e } from "../../../css-
|
|
7
|
+
import { c as e } from "../../../css-BStWZDQe.js";
|
|
8
8
|
import { c as S } from "../../../cx-DN21T1EH.js";
|
|
9
9
|
import { GlobalCSSClass as j } from "../../../enums.js";
|
|
10
10
|
import { LabelBase as v } from "../../Label/LabelBase/LabelBase.js";
|