@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,10 +1,10 @@
|
|
|
1
1
|
import { jsxs as c, jsx as d } from "react/jsx-runtime";
|
|
2
2
|
import { propagateTestid as o } from "../../../helpers/utility/propagateTestid.js";
|
|
3
|
-
import "../../../Button-
|
|
3
|
+
import "../../../Button-BrpmQKsB.js";
|
|
4
4
|
import { IressCloseButton as j } from "../../Button/CloseButton/CloseButton.js";
|
|
5
5
|
import { slideout as v } from "../Slideout.styles.js";
|
|
6
|
-
import { s as f } from "../../../factory-
|
|
7
|
-
import { s as B } from "../../../is-valid-prop-
|
|
6
|
+
import { s as f } from "../../../factory-BrouwSOb.js";
|
|
7
|
+
import { s as B } from "../../../is-valid-prop-DTA0i8bT.js";
|
|
8
8
|
import { IressText as _ } from "../../Text/Text.js";
|
|
9
9
|
const g = ({
|
|
10
10
|
children: u,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { useRef as m, useEffect as y } from "react";
|
|
2
2
|
import { GlobalCSSClass as e } from "../../../enums.js";
|
|
3
|
-
import { t as p } from "../../../index-
|
|
3
|
+
import { t as p } from "../../../index-Bir9MtY7.js";
|
|
4
4
|
import { useBreakpoint as S } from "../../../hooks/useBreakpoint.js";
|
|
5
5
|
function h({
|
|
6
6
|
element: r,
|
|
@@ -8,8 +8,8 @@ import { useControlledState as A } from "../../hooks/useControlledState.js";
|
|
|
8
8
|
import { useIdIfNeeded as D } from "../../hooks/useIdIfNeeded.js";
|
|
9
9
|
import { IressReadonly as G } from "../Readonly/Readonly.js";
|
|
10
10
|
import "../Readonly/Readonly.styles.js";
|
|
11
|
-
import { s as W } from "../../factory-
|
|
12
|
-
import { s as q } from "../../is-valid-prop-
|
|
11
|
+
import { s as W } from "../../factory-BrouwSOb.js";
|
|
12
|
+
import { s as q } from "../../is-valid-prop-DTA0i8bT.js";
|
|
13
13
|
import { GlobalCSSClass as z } from "../../enums.js";
|
|
14
14
|
import { useNoDefaultValueInForms as B } from "../../patterns/Form/hooks/useNoDefaultValueInForms.js";
|
|
15
15
|
const E = (r = 0, i = 10, n = 1) => {
|
|
@@ -2,7 +2,7 @@ import { jsx as o, jsxs as N } from "react/jsx-runtime";
|
|
|
2
2
|
import { slider as m } from "../Slider.styles.js";
|
|
3
3
|
import { c as d } from "../../../cx-DN21T1EH.js";
|
|
4
4
|
import { propagateTestid as T } from "../../../helpers/utility/propagateTestid.js";
|
|
5
|
-
import { s as f } from "../../../factory-
|
|
5
|
+
import { s as f } from "../../../factory-BrouwSOb.js";
|
|
6
6
|
const u = (t, s, i, a, e) => {
|
|
7
7
|
const c = s === 0 ? t - e : t - (i[s - 1]?.value ?? 0);
|
|
8
8
|
return `${Number(c / (a - e) * 100)}%`;
|
|
@@ -2,15 +2,16 @@ import { jsxs as p, jsx as a } from "react/jsx-runtime";
|
|
|
2
2
|
import { GlobalCSSClass as e } from "../../enums.js";
|
|
3
3
|
import { IressIcon as N } from "../Icon/Icon.js";
|
|
4
4
|
import "../Icon/Icon.styles.js";
|
|
5
|
+
import "../Icon/IconProvider.js";
|
|
5
6
|
import { chatty as d, spinner as f } from "./Spinner.styles.js";
|
|
6
|
-
import { c as
|
|
7
|
+
import { c as t } from "../../cx-DN21T1EH.js";
|
|
7
8
|
const S = (r) => {
|
|
8
9
|
if (r.variant === "chatty") {
|
|
9
10
|
const { className: c, screenreaderText: i, ...l } = r, s = d();
|
|
10
11
|
return /* @__PURE__ */ p(
|
|
11
12
|
"span",
|
|
12
13
|
{
|
|
13
|
-
className:
|
|
14
|
+
className: t(c, s.root, e.Spinner),
|
|
14
15
|
"aria-label": i,
|
|
15
16
|
role: "status",
|
|
16
17
|
...l,
|
|
@@ -22,12 +23,12 @@ const S = (r) => {
|
|
|
22
23
|
}
|
|
23
24
|
);
|
|
24
25
|
}
|
|
25
|
-
const { className:
|
|
26
|
+
const { className: n, spin: o = "half", ...m } = r;
|
|
26
27
|
return /* @__PURE__ */ a(
|
|
27
28
|
N,
|
|
28
29
|
{
|
|
29
30
|
...m,
|
|
30
|
-
className: n
|
|
31
|
+
className: t(n, f(), e.Spinner),
|
|
31
32
|
name: "spinner-third",
|
|
32
33
|
spin: o
|
|
33
34
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx as t } from "react/jsx-runtime";
|
|
2
2
|
import { useMemo as a } from "react";
|
|
3
3
|
import { stack as c } from "./Stack.styles.js";
|
|
4
|
-
import { s as i } from "../../factory-
|
|
4
|
+
import { s as i } from "../../factory-BrouwSOb.js";
|
|
5
5
|
import { GlobalCSSClass as p } from "../../enums.js";
|
|
6
6
|
import { c as e } from "../../cx-DN21T1EH.js";
|
|
7
7
|
const f = ({
|
|
@@ -3,7 +3,7 @@ import { forwardRef as D, useRef as S, useContext as R, useImperativeHandle as $
|
|
|
3
3
|
import { idsLogger as K } from "../../../helpers/utility/idsLogger.js";
|
|
4
4
|
import { useIdIfNeeded as q } from "../../../hooks/useIdIfNeeded.js";
|
|
5
5
|
import { createPortal as G } from "react-dom";
|
|
6
|
-
import { s as U } from "../../../factory-
|
|
6
|
+
import { s as U } from "../../../factory-BrouwSOb.js";
|
|
7
7
|
import { tab as V } from "./Tab.styles.js";
|
|
8
8
|
import { c as W } from "../../../cx-DN21T1EH.js";
|
|
9
9
|
import { a as Y } from "../../../floating-ui.react-BlU6Nz_4.js";
|
|
@@ -3,7 +3,7 @@ import { C as q } from "../../floating-ui.react-BlU6Nz_4.js";
|
|
|
3
3
|
import { propagateTestid as z } from "../../helpers/utility/propagateTestid.js";
|
|
4
4
|
import { TabSetProvider as H, TabSetContext as C } from "./TabSetProvider.js";
|
|
5
5
|
import { useState as n, useRef as O, useEffect as u, useContext as W } from "react";
|
|
6
|
-
import { s as v } from "../../factory-
|
|
6
|
+
import { s as v } from "../../factory-BrouwSOb.js";
|
|
7
7
|
import { tabSet as R } from "./TabSet.styles.js";
|
|
8
8
|
import { c as p } from "../../cx-DN21T1EH.js";
|
|
9
9
|
import { GlobalCSSClass as k } from "../../enums.js";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { s as t } from "../../sva-
|
|
1
|
+
import { s as t } from "../../sva-Df1FmoEW.js";
|
|
2
2
|
const e = t({
|
|
3
3
|
slots: [
|
|
4
4
|
"root",
|
|
@@ -41,11 +41,13 @@ const e = t({
|
|
|
41
41
|
position: "relative"
|
|
42
42
|
},
|
|
43
43
|
panel: {
|
|
44
|
-
pt: "md",
|
|
45
44
|
textStyle: "typography.body.md",
|
|
46
45
|
_focusVisible: {
|
|
47
46
|
layerStyle: "elevation.focus",
|
|
48
47
|
outline: "[none]"
|
|
48
|
+
},
|
|
49
|
+
"& > :not([hidden])": {
|
|
50
|
+
pt: "sm"
|
|
49
51
|
}
|
|
50
52
|
},
|
|
51
53
|
activeIndicator: {
|
|
@@ -8,7 +8,7 @@ import { T as R } from "../../TableProvider-CNduJwA4.js";
|
|
|
8
8
|
import { TableRows as $ } from "./components/TableRows.js";
|
|
9
9
|
import { table as k } from "./Table.styles.js";
|
|
10
10
|
import { c as h } from "../../cx-DN21T1EH.js";
|
|
11
|
-
import { s as q } from "../../factory-
|
|
11
|
+
import { s as q } from "../../factory-BrouwSOb.js";
|
|
12
12
|
import { GlobalCSSClass as z } from "../../enums.js";
|
|
13
13
|
const A = ({
|
|
14
14
|
alternate: T = !1,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { c as n } from "../../cva-
|
|
2
|
-
import { m as s, a as l, s as i, i as c } from "../../css-
|
|
3
|
-
import { c as p } from "../../create-recipe-
|
|
1
|
+
import { c as n } from "../../cva-DJVW1KHF.js";
|
|
2
|
+
import { m as s, a as l, s as i, i as c } from "../../css-BStWZDQe.js";
|
|
3
|
+
import { c as p } from "../../create-recipe-DUTadmvy.js";
|
|
4
4
|
const r = {
|
|
5
5
|
compact: !1,
|
|
6
6
|
hover: !1,
|
|
@@ -27,6 +27,10 @@ const r = {
|
|
|
27
27
|
"sortIcon",
|
|
28
28
|
"table__sortIcon"
|
|
29
29
|
],
|
|
30
|
+
[
|
|
31
|
+
"sortIconActive",
|
|
32
|
+
"table__sortIconActive"
|
|
33
|
+
],
|
|
30
34
|
[
|
|
31
35
|
"activator",
|
|
32
36
|
"table__activator"
|
|
@@ -35,7 +39,7 @@ const r = {
|
|
|
35
39
|
"rowGroupHeader",
|
|
36
40
|
"table__rowGroupHeader"
|
|
37
41
|
]
|
|
38
|
-
], m = /* @__PURE__ */ d.map(([t, e]) => [t, p(e, r, c(b, t))]),
|
|
42
|
+
], m = /* @__PURE__ */ d.map(([t, e]) => [t, p(e, r, c(b, t))]), _ = s((t = {}) => Object.fromEntries(m.map(([e, o]) => [e, o.recipeFn(t)]))), a = [
|
|
39
43
|
"alternate",
|
|
40
44
|
"compact",
|
|
41
45
|
"hover",
|
|
@@ -43,7 +47,7 @@ const r = {
|
|
|
43
47
|
"sortButtonNoWrap",
|
|
44
48
|
"tableBodyOpen",
|
|
45
49
|
"hiddenCaption"
|
|
46
|
-
],
|
|
50
|
+
], u = (t) => ({ ...r, ...l(t) }), g = /* @__PURE__ */ Object.assign(_, {
|
|
47
51
|
__recipe__: !1,
|
|
48
52
|
__name__: "table",
|
|
49
53
|
raw: (t) => t,
|
|
@@ -75,7 +79,7 @@ const r = {
|
|
|
75
79
|
splitVariantProps(t) {
|
|
76
80
|
return i(t, a);
|
|
77
81
|
},
|
|
78
|
-
getVariantProps:
|
|
82
|
+
getVariantProps: u
|
|
79
83
|
}), V = n({
|
|
80
84
|
base: {
|
|
81
85
|
textAlign: "start"
|
|
@@ -8,7 +8,7 @@ import { TableRows as A } from "../components/TableRows.js";
|
|
|
8
8
|
import { useAriaRelationship as E } from "../../../hooks/useAriaRelationship.js";
|
|
9
9
|
import { table as G } from "../Table.styles.js";
|
|
10
10
|
import { T as q, a as g } from "../../../TableProvider-CNduJwA4.js";
|
|
11
|
-
import { s as I } from "../../../factory-
|
|
11
|
+
import { s as I } from "../../../factory-BrouwSOb.js";
|
|
12
12
|
const x = ({
|
|
13
13
|
caption: l,
|
|
14
14
|
hiddenCaption: t,
|
|
@@ -3,7 +3,7 @@ import { g as f, f as c } from "../../../TableProvider-CNduJwA4.js";
|
|
|
3
3
|
import { TableBodyCell as u } from "./TableBodyCell.js";
|
|
4
4
|
import { propagateTestid as b } from "../../../helpers/utility/propagateTestid.js";
|
|
5
5
|
import { useContext as g } from "react";
|
|
6
|
-
import { s as x } from "../../../factory-
|
|
6
|
+
import { s as x } from "../../../factory-BrouwSOb.js";
|
|
7
7
|
const y = ({
|
|
8
8
|
additionalHeaders: s,
|
|
9
9
|
hiddenHeader: n,
|
|
@@ -1,29 +1,38 @@
|
|
|
1
|
-
import { jsxs as
|
|
2
|
-
import { IressIcon as
|
|
1
|
+
import { jsxs as m, jsx as r } from "react/jsx-runtime";
|
|
2
|
+
import { IressIcon as t } from "../../Icon/Icon.js";
|
|
3
3
|
import "../../Icon/Icon.styles.js";
|
|
4
|
+
import "../../Icon/IconProvider.js";
|
|
4
5
|
import { table as p } from "../Table.styles.js";
|
|
5
6
|
const i = ({
|
|
6
|
-
children:
|
|
7
|
-
label:
|
|
8
|
-
noWrap:
|
|
9
|
-
sort:
|
|
10
|
-
toggleSorting:
|
|
7
|
+
children: s,
|
|
8
|
+
label: n = "sortable",
|
|
9
|
+
noWrap: a = !0,
|
|
10
|
+
sort: e,
|
|
11
|
+
toggleSorting: c
|
|
11
12
|
}) => {
|
|
12
|
-
const
|
|
13
|
-
return /* @__PURE__ */
|
|
13
|
+
const d = e?.desc ? "arrow_drop_down" : "arrow_drop_up", o = p({ sortButtonNoWrap: a });
|
|
14
|
+
return /* @__PURE__ */ m(
|
|
14
15
|
"button",
|
|
15
16
|
{
|
|
16
17
|
type: "button",
|
|
17
18
|
className: o.sortHeader,
|
|
18
|
-
onClick:
|
|
19
|
+
onClick: c,
|
|
19
20
|
children: [
|
|
20
|
-
|
|
21
|
-
/* @__PURE__ */
|
|
22
|
-
|
|
21
|
+
s,
|
|
22
|
+
/* @__PURE__ */ r(
|
|
23
|
+
t,
|
|
23
24
|
{
|
|
24
|
-
name:
|
|
25
|
+
name: "sort",
|
|
25
26
|
className: o.sortIcon,
|
|
26
|
-
screenreaderText:
|
|
27
|
+
screenreaderText: n
|
|
28
|
+
}
|
|
29
|
+
),
|
|
30
|
+
e && /* @__PURE__ */ r(
|
|
31
|
+
t,
|
|
32
|
+
{
|
|
33
|
+
name: d,
|
|
34
|
+
className: o.sortIconActive,
|
|
35
|
+
screenreaderText: e.desc ? "(sorted descending)" : "(sorted ascending)"
|
|
27
36
|
}
|
|
28
37
|
)
|
|
29
38
|
]
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { tableCell as i } from "../Table.styles.js";
|
|
2
2
|
import { useContext as m } from "react";
|
|
3
3
|
import { a } from "../../../TableProvider-CNduJwA4.js";
|
|
4
|
-
import { c as n } from "../../../css-
|
|
5
|
-
import { s as l } from "../../../is-valid-prop-
|
|
4
|
+
import { c as n } from "../../../css-BStWZDQe.js";
|
|
5
|
+
import { s as l } from "../../../is-valid-prop-DTA0i8bT.js";
|
|
6
6
|
const h = ({
|
|
7
7
|
columnKey: o
|
|
8
8
|
}) => {
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { jsxs as h, jsx as e } from "react/jsx-runtime";
|
|
2
2
|
import { useRef as B, useMemo as D } from "react";
|
|
3
3
|
import { propagateTestid as P } from "../../helpers/utility/propagateTestid.js";
|
|
4
|
-
import "../../Button-
|
|
4
|
+
import "../../Button-BrpmQKsB.js";
|
|
5
5
|
import { IressCloseButton as j } from "../Button/CloseButton/CloseButton.js";
|
|
6
6
|
import { tag as l } from "./Tag.styles.js";
|
|
7
|
-
import { c as w } from "../../css-
|
|
7
|
+
import { c as w } from "../../css-BStWZDQe.js";
|
|
8
8
|
import { c as C } from "../../cx-DN21T1EH.js";
|
|
9
9
|
import { GlobalCSSClass as I } from "../../enums.js";
|
|
10
|
-
import { s as p } from "../../factory-
|
|
11
|
-
import { s as R } from "../../is-valid-prop-
|
|
10
|
+
import { s as p } from "../../factory-BrouwSOb.js";
|
|
11
|
+
import { s as R } from "../../is-valid-prop-DTA0i8bT.js";
|
|
12
12
|
const c = ({
|
|
13
13
|
children: i,
|
|
14
14
|
className: u,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsx as t } from "react/jsx-runtime";
|
|
2
|
-
import { s as r } from "../../factory-
|
|
2
|
+
import { s as r } from "../../factory-BrouwSOb.js";
|
|
3
3
|
import { text as s } from "./Text.styles.js";
|
|
4
4
|
import { useMemo as a } from "react";
|
|
5
5
|
import { c as i } from "../../cx-DN21T1EH.js";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { m as a, s as n } from "../../css-
|
|
2
|
-
import { c as s, m as i } from "../../create-recipe-
|
|
1
|
+
import { m as a, s as n } from "../../css-BStWZDQe.js";
|
|
2
|
+
import { c as s, m as i } from "../../create-recipe-DUTadmvy.js";
|
|
3
3
|
const e = /* @__PURE__ */ s("text", {
|
|
4
4
|
element: "div"
|
|
5
5
|
}, [
|
|
@@ -6,7 +6,7 @@ import { g as h } from "../../floating-ui.react-BlU6Nz_4.js";
|
|
|
6
6
|
import { toaster as y } from "./Toaster.styles.js";
|
|
7
7
|
import { c as A } from "../../cx-DN21T1EH.js";
|
|
8
8
|
import { ToastAnimated as E } from "./components/Toast/ToastAnimated.js";
|
|
9
|
-
import { s as l } from "../../factory-
|
|
9
|
+
import { s as l } from "../../factory-BrouwSOb.js";
|
|
10
10
|
import { GlobalCSSClass as S } from "../../enums.js";
|
|
11
11
|
import { ToasterContext as j } from "./hooks/useToaster.js";
|
|
12
12
|
const k = {
|
|
@@ -1,16 +1,17 @@
|
|
|
1
|
-
import { jsx as e, jsxs as
|
|
1
|
+
import { jsx as e, jsxs as m } from "react/jsx-runtime";
|
|
2
2
|
import { forwardRef as I, createElement as b } from "react";
|
|
3
3
|
import { propagateTestid as c } from "../../../../helpers/utility/propagateTestid.js";
|
|
4
|
-
import { I as v } from "../../../../Button-
|
|
4
|
+
import { I as v } from "../../../../Button-BrpmQKsB.js";
|
|
5
5
|
import { IressCloseButton as C } from "../../../Button/CloseButton/CloseButton.js";
|
|
6
6
|
import "../../../Inline/Inline.styles.js";
|
|
7
|
-
import { IressInline as
|
|
7
|
+
import { IressInline as n } from "../../../Inline/Inline.js";
|
|
8
8
|
import { IressText as T } from "../../../Text/Text.js";
|
|
9
9
|
import { c as l } from "../../../../cx-DN21T1EH.js";
|
|
10
10
|
import { toast as k } from "./Toast.styles.js";
|
|
11
|
-
import { s as B } from "../../../../factory-
|
|
11
|
+
import { s as B } from "../../../../factory-BrouwSOb.js";
|
|
12
12
|
import { IressIcon as S } from "../../../Icon/Icon.js";
|
|
13
13
|
import "../../../Icon/Icon.styles.js";
|
|
14
|
+
import "../../../Icon/IconProvider.js";
|
|
14
15
|
import { GlobalCSSClass as j } from "../../../../enums.js";
|
|
15
16
|
const w = {
|
|
16
17
|
error: "colour.system.danger.text",
|
|
@@ -20,71 +21,70 @@ const w = {
|
|
|
20
21
|
error: "ban",
|
|
21
22
|
success: "check",
|
|
22
23
|
info: "info-square"
|
|
23
|
-
},
|
|
24
|
+
}, _ = I(
|
|
24
25
|
({
|
|
25
26
|
actions: i,
|
|
26
|
-
heading:
|
|
27
|
-
status:
|
|
27
|
+
heading: s,
|
|
28
|
+
status: r,
|
|
28
29
|
children: p,
|
|
29
30
|
content: d,
|
|
30
31
|
dismissible: f = !0,
|
|
31
32
|
onClose: h,
|
|
32
|
-
"data-testid":
|
|
33
|
+
"data-testid": t,
|
|
33
34
|
className: u,
|
|
34
35
|
...x
|
|
35
36
|
}, y) => {
|
|
36
|
-
const
|
|
37
|
+
const o = k({ status: r }), g = !!i?.length;
|
|
37
38
|
return /* @__PURE__ */ e(
|
|
38
39
|
B.div,
|
|
39
40
|
{
|
|
40
41
|
...x,
|
|
41
|
-
"data-testid":
|
|
42
|
-
className: l(u,
|
|
42
|
+
"data-testid": t,
|
|
43
|
+
className: l(u, o.root, j.Toast),
|
|
43
44
|
tabIndex: -1,
|
|
44
45
|
ref: y,
|
|
45
|
-
children: /* @__PURE__ */ e("div", { className:
|
|
46
|
+
children: /* @__PURE__ */ e("div", { className: o.panel, children: /* @__PURE__ */ m(n, { gap: "sm", verticalAlign: "top", noWrap: !0, children: [
|
|
46
47
|
/* @__PURE__ */ e(
|
|
47
48
|
S,
|
|
48
49
|
{
|
|
49
|
-
name: A[
|
|
50
|
-
screenreaderText: `${
|
|
51
|
-
textStyle: "typography.heading.
|
|
52
|
-
|
|
53
|
-
color: w[o]
|
|
50
|
+
name: A[r],
|
|
51
|
+
screenreaderText: `${r}: `,
|
|
52
|
+
textStyle: "typography.heading.4",
|
|
53
|
+
color: w[r]
|
|
54
54
|
}
|
|
55
55
|
),
|
|
56
|
-
/* @__PURE__ */
|
|
56
|
+
/* @__PURE__ */ m(
|
|
57
57
|
"div",
|
|
58
58
|
{
|
|
59
|
-
className:
|
|
60
|
-
"data-testid": c(
|
|
59
|
+
className: o.wrapper,
|
|
60
|
+
"data-testid": c(t, "content"),
|
|
61
61
|
children: [
|
|
62
|
-
|
|
62
|
+
s && /* @__PURE__ */ e(
|
|
63
63
|
T,
|
|
64
64
|
{
|
|
65
|
-
className:
|
|
66
|
-
"data-testid": c(
|
|
67
|
-
children: typeof
|
|
65
|
+
className: o.heading,
|
|
66
|
+
"data-testid": c(t, "heading"),
|
|
67
|
+
children: typeof s == "string" ? /* @__PURE__ */ e("h2", { children: s }) : s
|
|
68
68
|
}
|
|
69
69
|
),
|
|
70
70
|
f && /* @__PURE__ */ e(
|
|
71
71
|
C,
|
|
72
72
|
{
|
|
73
73
|
"data-testid": c(
|
|
74
|
-
|
|
74
|
+
t,
|
|
75
75
|
"close-button__button"
|
|
76
76
|
),
|
|
77
|
-
className:
|
|
77
|
+
className: o.closeButton,
|
|
78
78
|
onClick: (a) => h?.(a),
|
|
79
79
|
screenreaderText: "Dismiss"
|
|
80
80
|
}
|
|
81
81
|
),
|
|
82
|
-
/* @__PURE__ */ e("div", { className:
|
|
83
|
-
g && /* @__PURE__ */ e(
|
|
82
|
+
/* @__PURE__ */ e("div", { className: o.content, children: d ?? p }),
|
|
83
|
+
g && /* @__PURE__ */ e(n, { gap: "sm", mt: "spacing.1", children: i?.map((a, N) => /* @__PURE__ */ b(
|
|
84
84
|
v,
|
|
85
85
|
{
|
|
86
86
|
...a,
|
|
87
|
-
className: l(a.className,
|
|
87
|
+
className: l(a.className, o.action),
|
|
88
88
|
key: N
|
|
89
89
|
}
|
|
90
90
|
)) })
|
|
@@ -96,7 +96,7 @@ const w = {
|
|
|
96
96
|
);
|
|
97
97
|
}
|
|
98
98
|
);
|
|
99
|
-
|
|
99
|
+
_.displayName = "Toast";
|
|
100
100
|
export {
|
|
101
|
-
|
|
101
|
+
_ as Toast
|
|
102
102
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export declare const toast: import('../../../../styled-system/types').SlotRecipeRuntimeFn<"content" | "heading" | "
|
|
1
|
+
export declare const toast: import('../../../../styled-system/types').SlotRecipeRuntimeFn<"content" | "heading" | "wrapper" | "action" | "root" | "closeButton" | "panel", {
|
|
2
2
|
status: {
|
|
3
3
|
error: {
|
|
4
4
|
panel: {
|
|
@@ -1,11 +1,10 @@
|
|
|
1
|
-
import { s as o } from "../../../../sva-
|
|
1
|
+
import { s as o } from "../../../../sva-Df1FmoEW.js";
|
|
2
2
|
const r = o({
|
|
3
3
|
slots: [
|
|
4
4
|
"root",
|
|
5
5
|
"action",
|
|
6
6
|
"panel",
|
|
7
7
|
"wrapper",
|
|
8
|
-
"icon",
|
|
9
8
|
"heading",
|
|
10
9
|
"content",
|
|
11
10
|
"closeButton"
|
|
@@ -33,9 +32,6 @@ const r = o({
|
|
|
33
32
|
lineHeight: "1.5",
|
|
34
33
|
paddingRight: "spacing.6"
|
|
35
34
|
},
|
|
36
|
-
icon: {
|
|
37
|
-
lineHeight: "normal"
|
|
38
|
-
},
|
|
39
35
|
heading: {
|
|
40
36
|
display: "inline-block",
|
|
41
37
|
marginBottom: "spacing.1",
|
|
@@ -4,10 +4,10 @@ import { propagateTestid as p } from "../../helpers/utility/propagateTestid.js";
|
|
|
4
4
|
import { IressCheckboxMark as S } from "../CheckboxMark/CheckboxMark.js";
|
|
5
5
|
import "../CheckboxMark/CheckboxMark.styles.js";
|
|
6
6
|
import { toggle as f } from "./Toggle.styles.js";
|
|
7
|
-
import { c as g } from "../../css-
|
|
7
|
+
import { c as g } from "../../css-BStWZDQe.js";
|
|
8
8
|
import { c as u } from "../../cx-DN21T1EH.js";
|
|
9
9
|
import { GlobalCSSClass as B } from "../../enums.js";
|
|
10
|
-
import { s as _ } from "../../factory-
|
|
10
|
+
import { s as _ } from "../../factory-BrouwSOb.js";
|
|
11
11
|
import { useControlledState as j } from "../../hooks/useControlledState.js";
|
|
12
12
|
const b = ({
|
|
13
13
|
hiddenLabel: r,
|
|
@@ -7,7 +7,7 @@ import { toArray as W } from "../../helpers/formatting/toArray.js";
|
|
|
7
7
|
import { idsLogger as q } from "../../helpers/utility/idsLogger.js";
|
|
8
8
|
import { focusableElements as z } from "../../helpers/dom/focusableElements.js";
|
|
9
9
|
import { tooltip as J } from "./Tooltip.styles.js";
|
|
10
|
-
import { s as K } from "../../factory-
|
|
10
|
+
import { s as K } from "../../factory-BrouwSOb.js";
|
|
11
11
|
import { GlobalCSSClass as Q } from "../../enums.js";
|
|
12
12
|
const U = ({
|
|
13
13
|
children: o,
|
|
@@ -2,7 +2,7 @@ import { jsxs as c, jsx as r } from "react/jsx-runtime";
|
|
|
2
2
|
import { capitalizeFirstLetter as f } from "../../helpers/formatting/capitalizeFirstLetter.js";
|
|
3
3
|
import { c as p } from "../../cx-DN21T1EH.js";
|
|
4
4
|
import { IressText as u } from "../Text/Text.js";
|
|
5
|
-
import { s as d } from "../../factory-
|
|
5
|
+
import { s as d } from "../../factory-BrouwSOb.js";
|
|
6
6
|
import { GlobalCSSClass as y } from "../../enums.js";
|
|
7
7
|
const b = ({
|
|
8
8
|
prefix: t,
|
|
@@ -3,7 +3,7 @@ import { propagateTestid as p } from "../../../helpers/utility/propagateTestid.j
|
|
|
3
3
|
import { IressValidationMessage as c } from "../ValidationMessage.js";
|
|
4
4
|
import "react";
|
|
5
5
|
import { useIdIfNeeded as g } from "../../../hooks/useIdIfNeeded.js";
|
|
6
|
-
import { s as e } from "../../../factory-
|
|
6
|
+
import { s as e } from "../../../factory-BrouwSOb.js";
|
|
7
7
|
import { c as y } from "../../../cx-DN21T1EH.js";
|
|
8
8
|
import { GlobalCSSClass as S } from "../../../enums.js";
|
|
9
9
|
const I = ({
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { a as l, b as C, f as d, d as g, c as x, w as y, u as m, s as $ } from "./css-
|
|
2
|
-
import { g as f, a as b } from "./cva-
|
|
1
|
+
import { a as l, b as C, f as d, d as g, c as x, w as y, u as m, s as $ } from "./css-BStWZDQe.js";
|
|
2
|
+
import { g as f, a as b } from "./cva-DJVW1KHF.js";
|
|
3
3
|
import { c as p } from "./cx-DN21T1EH.js";
|
|
4
4
|
const K = (t, n, i) => {
|
|
5
5
|
const r = (s) => ({
|