@iress-oss/ids-components 6.0.0-alpha.1 → 6.0.0-alpha.3

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.
Files changed (141) hide show
  1. package/dist/{Autocomplete-CLvWVHp6.js → Autocomplete-C5ubHBTi.js} +1 -1
  2. package/dist/{Button-D6AL0bia.js → Button-mmhMLwp9.js} +4 -1
  3. package/dist/{Provider-BXQiO7Gp.js → Provider-8wS70V56.js} +13 -13
  4. package/dist/{TableProvider-_4Whj6P5.js → TableProvider-bdUNuoG-.js} +1 -11
  5. package/dist/components/Alert/Alert.js +2 -2
  6. package/dist/components/Alert/Alert.styles.js +14 -14
  7. package/dist/components/Autocomplete/Autocomplete.js +2 -2
  8. package/dist/components/Autocomplete/index.js +1 -1
  9. package/dist/components/Badge/Badge.styles.js +4 -4
  10. package/dist/components/Button/Button.js +1 -1
  11. package/dist/components/Button/CloseButton/CloseButton.js +1 -1
  12. package/dist/components/Button/index.js +1 -1
  13. package/dist/components/Card/Card.styles.js +16 -16
  14. package/dist/components/Checkbox/Checkbox.styles.js +5 -5
  15. package/dist/components/CheckboxGroup/CheckboxGroup.styles.js +10 -10
  16. package/dist/components/Container/Container.styles.js +1 -1
  17. package/dist/components/Divider/Divider.styles.js +1 -1
  18. package/dist/components/Expander/Expander.styles.js +3 -3
  19. package/dist/components/Field/Field.styles.js +9 -9
  20. package/dist/components/Field/FieldGroup/FieldGroup.styles.js +5 -5
  21. package/dist/components/Field/components/FieldHint.js +1 -1
  22. package/dist/components/Filter/Filter.js +3 -3
  23. package/dist/components/Filter/Filter.styles.js +3 -3
  24. package/dist/components/Filter/components/FilterResetButton.js +1 -1
  25. package/dist/components/Inline/Inline.styles.js +1 -1
  26. package/dist/components/Input/Input.js +84 -86
  27. package/dist/components/Input/Input.styles.js +7 -7
  28. package/dist/components/Label/Label.styles.js +3 -3
  29. package/dist/components/Link/Link.styles.js +2 -2
  30. package/dist/components/Menu/Menu.js +1 -1
  31. package/dist/components/Menu/Menu.styles.js +11 -11
  32. package/dist/components/Menu/MenuItem/MenuItem.js +2 -2
  33. package/dist/components/Menu/MenuText/MenuText.js +1 -1
  34. package/dist/components/Modal/Modal.js +106 -112
  35. package/dist/components/Modal/Modal.styles.js +8 -8
  36. package/dist/components/Popover/components/NestedPopoverActivator.js +1 -1
  37. package/dist/components/Popover/components/PopoverContent.js +1 -1
  38. package/dist/components/Popover/helpers/handlePopoverTabKey.js +1 -1
  39. package/dist/components/Popover/hooks/usePopover.js +1 -1
  40. package/dist/components/Popover/hooks/usePopoverItem.js +1 -1
  41. package/dist/components/Popover/hooks/usePopoverNavigation.js +1 -1
  42. package/dist/components/Progress/Progress.js +35 -41
  43. package/dist/components/Progress/Progress.styles.js +3 -3
  44. package/dist/components/Provider/Provider.js +3 -3
  45. package/dist/components/Provider/index.js +1 -1
  46. package/dist/components/Radio/Radio.js +66 -60
  47. package/dist/components/Radio/Radio.styles.js +5 -5
  48. package/dist/components/RadioGroup/RadioGroup.styles.js +4 -4
  49. package/dist/components/Readonly/Readonly.styles.js +4 -4
  50. package/dist/components/RichSelect/RichSelect.js +2 -2
  51. package/dist/components/RichSelect/RichSelect.styles.js +9 -9
  52. package/dist/components/RichSelect/SelectHeading/SelectHeading.js +1 -1
  53. package/dist/components/RichSelect/SelectLabel/SelectLabel.styles.js +5 -5
  54. package/dist/components/RichSelect/SelectTags/SelectTags.js +49 -51
  55. package/dist/components/RichSelect/SelectTags/SelectTags.styles.js +3 -3
  56. package/dist/components/RichSelect/index.js +1 -1
  57. package/dist/components/Select/Select.styles.js +8 -8
  58. package/dist/components/Skeleton/Skeleton.styles.js +1 -1
  59. package/dist/components/SkipLink/SkipLink.js +1 -1
  60. package/dist/components/SkipLink/SkipLink.styles.js +1 -1
  61. package/dist/components/Slideout/Slideout.js +75 -70
  62. package/dist/components/Slideout/Slideout.styles.js +7 -7
  63. package/dist/components/Slideout/components/SlideoutInner.js +1 -1
  64. package/dist/components/Slideout/hooks/usePushElement.js +1 -1
  65. package/dist/components/Slider/Slider.styles.js +3 -3
  66. package/dist/components/Stack/Stack.styles.js +1 -1
  67. package/dist/components/TabSet/Tab/Tab.js +1 -1
  68. package/dist/components/TabSet/Tab/Tab.styles.js +2 -2
  69. package/dist/components/TabSet/TabSet.js +55 -52
  70. package/dist/components/TabSet/TabSet.styles.js +3 -3
  71. package/dist/components/Table/Table.js +1 -1
  72. package/dist/components/Table/TableBody/TableBody.js +1 -1
  73. package/dist/components/Table/TableProvider.js +2 -2
  74. package/dist/components/Table/components/TableEmpty.js +1 -1
  75. package/dist/components/Table/components/TableHeader.js +1 -1
  76. package/dist/components/Table/components/TableHeaderCell.js +1 -1
  77. package/dist/components/Table/components/TableRows.js +1 -1
  78. package/dist/components/Table/helpers/composeTableColumnDefs.js +1 -1
  79. package/dist/components/Table/hooks/useTableColumnSort.js +1 -1
  80. package/dist/components/Table/hooks/useTableColumnStyles.js +1 -1
  81. package/dist/components/Tag/Tag.js +1 -1
  82. package/dist/components/Tag/Tag.styles.js +4 -4
  83. package/dist/components/Text/Text.styles.js +3 -2
  84. package/dist/components/Toaster/Toaster.js +1 -1
  85. package/dist/components/Toaster/Toaster.styles.js +1 -1
  86. package/dist/components/Toaster/components/Toast/Toast.js +1 -1
  87. package/dist/components/Toaster/components/Toast/Toast.styles.js +12 -12
  88. package/dist/components/Toaster/components/Toast/ToastAnimated.js +18 -16
  89. package/dist/components/Toggle/Toggle.js +63 -58
  90. package/dist/components/Toggle/Toggle.styles.js +12 -12
  91. package/dist/components/Tooltip/Tooltip.js +1 -1
  92. package/dist/components/Tooltip/Tooltip.styles.js +1 -1
  93. package/dist/components/ValidationMessage/ValidationMessage.js +1 -1
  94. package/dist/components/ValidationMessage/ValidationSummary/ValidationSummary.js +4 -4
  95. package/dist/{composeTableColumnDefs-Hmd6yfdj.js → composeTableColumnDefs-BfFBOARB.js} +0 -10
  96. package/dist/constants.js +1 -1
  97. package/dist/{floating-ui.react-CmSaAiNF.js → floating-ui.react-BetVZ099.js} +1 -1
  98. package/dist/helpers/styling/mapGutterToGap.js +7 -7
  99. package/dist/helpers/transition/getTransitionDuration.js +2 -2
  100. package/dist/{index-CvOVcYUc.js → index-CZ9ot38T.js} +83 -131
  101. package/dist/{index.esm-8uZEha-3.js → index.esm-CL8gh5wr.js} +0 -4
  102. package/dist/main.js +3 -3
  103. package/dist/patterns/Loading/Loading.styles.js +13 -13
  104. package/dist/patterns/Loading/LoadingSuspense.js +27 -27
  105. package/dist/patterns/Loading/components/ComponentLoading.js +38 -43
  106. package/dist/patterns/Loading/components/PageLoading.js +57 -60
  107. package/dist/patterns/Loading/components/ValidateLoading.js +1 -1
  108. package/dist/patterns/Loading/hooks/useEstimatedProgressValue.js +8 -12
  109. package/dist/patterns/Loading/hooks/useShouldRenderLoading.js +14 -14
  110. package/dist/patterns/Shadow/Shadow.js +8832 -19058
  111. package/dist/src/components/Alert/Alert.styles.d.ts +1 -1
  112. package/dist/src/components/Badge/Badge.styles.d.ts +2 -2
  113. package/dist/src/components/Card/Card.styles.d.ts +2 -2
  114. package/dist/src/components/Checkbox/Checkbox.styles.d.ts +3 -3
  115. package/dist/src/components/CheckboxGroup/CheckboxGroup.styles.d.ts +4 -4
  116. package/dist/src/components/Expander/Expander.styles.d.ts +2 -2
  117. package/dist/src/components/Field/Field.styles.d.ts +6 -6
  118. package/dist/src/components/Inline/Inline.d.ts +1 -2
  119. package/dist/src/components/Menu/Menu.styles.d.ts +5 -5
  120. package/dist/src/components/Modal/Modal.styles.d.ts +2 -2
  121. package/dist/src/components/Radio/Radio.styles.d.ts +1 -1
  122. package/dist/src/components/RadioGroup/RadioGroup.styles.d.ts +4 -4
  123. package/dist/src/components/RichSelect/RichSelect.styles.d.ts +7 -7
  124. package/dist/src/components/Row/Row.d.ts +1 -2
  125. package/dist/src/components/Select/Select.styles.d.ts +7 -7
  126. package/dist/src/components/Skeleton/Skeleton.styles.d.ts +1 -1
  127. package/dist/src/components/Slideout/Slideout.styles.d.ts +2 -2
  128. package/dist/src/components/Stack/Stack.d.ts +1 -2
  129. package/dist/src/components/Toaster/components/Toast/Toast.styles.d.ts +4 -4
  130. package/dist/src/components/Toggle/Toggle.d.ts +10 -2
  131. package/dist/src/components/Toggle/Toggle.styles.d.ts +4 -4
  132. package/dist/src/interfaces.d.ts +8 -10
  133. package/dist/src/patterns/Loading/Loading.styles.d.ts +10 -10
  134. package/dist/src/styled-system/jsx/create-style-context.d.ts +17 -10
  135. package/dist/src/styled-system/tokens/tokens.d.ts +1 -1
  136. package/dist/src/styled-system/types/conditions.d.ts +1 -1
  137. package/dist/src/styled-system/types/jsx.d.ts +8 -6
  138. package/dist/src/styled-system/types/prop-type.d.ts +2 -2
  139. package/dist/src/types.d.ts +3 -1
  140. package/dist/style.css +1 -1
  141. package/package.json +19 -18
@@ -31,7 +31,7 @@ import "./components/RichSelect/SelectMenu/SelectMenu.styles.js";
31
31
  import "./components/RichSelect/SelectSearch/SelectSearch.styles.js";
32
32
  import "./components/RichSelect/SelectSearchInput/SelectSearchInput.js";
33
33
  import "./components/RichSelect/SelectTags/SelectTags.styles.js";
34
- import "./Button-D6AL0bia.js";
34
+ import "./Button-mmhMLwp9.js";
35
35
  import "./components/Button/CloseButton/CloseButton.js";
36
36
  import "./components/Tag/Tag.styles.js";
37
37
  import "./components/Tag/TagInput/TagInput.js";
@@ -277,7 +277,10 @@ const h = {}, Z = [
277
277
  ...g
278
278
  }, B) => {
279
279
  const i = E(), I = w ?? (typeof t == "string" || typeof t == "number" || typeof t == "boolean" ? t : void 0), G = W(Y), m = k(null), n = U({ value: I }), H = u(() => n ? n.active ? "primary" : "tertiary" : y, [n, y]), s = so({
280
- active: o ?? G?.isActiveActivator(m.current),
280
+ active: (
281
+ // eslint-disable-next-line react-hooks/refs -- ref needed for forwarding
282
+ o ?? G?.isActiveActivator(m.current)
283
+ ),
281
284
  fluid: x === !0 ? "true" : x,
282
285
  inButtonGroup: !!n,
283
286
  mode: H,
@@ -1,16 +1,16 @@
1
- import { jsxs as $, jsx as t } from "react/jsx-runtime";
1
+ import { jsxs as $, jsx as r } from "react/jsx-runtime";
2
2
  import "./components/Modal/Modal.styles.js";
3
3
  import "react";
4
- import "./Button-D6AL0bia.js";
4
+ import "./Button-mmhMLwp9.js";
5
5
  import "./components/Button/CloseButton/CloseButton.js";
6
6
  import "./components/Modal/hooks/useModal.js";
7
- import { IressModalProvider as a } from "./components/Modal/ModalProvider.js";
7
+ import { IressModalProvider as n } from "./components/Modal/ModalProvider.js";
8
8
  import { IressToasterProvider as m } from "./components/Toaster/ToasterProvider.js";
9
9
  import "./components/Toaster/hooks/useToaster.js";
10
10
  import "./components/Toaster/Toaster.styles.js";
11
11
  import "./components/Toaster/components/Toast/Toast.styles.js";
12
12
  import "./components/Slideout/Slideout.styles.js";
13
- import "./index-CvOVcYUc.js";
13
+ import "./index-CZ9ot38T.js";
14
14
  import "./components/Slideout/hooks/useSlideout.js";
15
15
  import { IressSlideoutProvider as d } from "./components/Slideout/SlideoutProvider.js";
16
16
  import { createPortal as y } from "react-dom";
@@ -18,22 +18,22 @@ var o = /* @__PURE__ */ ((e) => (e.Color = "color", e.Dimension = "dimension", e
18
18
  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;
19
19
  o.Shadow, o.Border, o.Shadow, o.Border, o.Shadow, o.Border, o.Shadow, o.Shadow, o.Color;
20
20
  o.Dimension, o.Dimension, o.Dimension, o.Dimension, o.Dimension, o.Radius, o.Radius, o.Radius, o.Radius;
21
- o.Dimension, o.Dimension, o.Dimension, o.Dimension, o.Dimension, o.Dimension, o.Dimension, o.Dimension, o.Dimension, o.Dimension, o.Dimension, o.Dimension, o.Dimension, o.Dimension, o.Dimension, o.Dimension;
21
+ o.Dimension, o.Dimension, o.Dimension, o.Dimension, o.Dimension, o.Dimension, o.Dimension, o.Dimension, o.Dimension, o.Dimension;
22
22
  const h = [
23
23
  "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"
24
24
  ];
25
- 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, o.Typography;
25
+ 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, o.Typography, o.Typography, o.Typography, o.Typography;
26
26
  const z = ({
27
27
  children: e,
28
- container: r,
28
+ container: t,
29
29
  noDefaultFont: i,
30
30
  noIcons: s,
31
31
  position: l,
32
- ...n
33
- }) => /* @__PURE__ */ $(a, { container: r, children: [
34
- /* @__PURE__ */ t(m, { container: r, position: l, children: /* @__PURE__ */ t(d, { container: r, ...n, children: e }) }),
32
+ ...a
33
+ }) => /* @__PURE__ */ $(n, { container: t, children: [
34
+ /* @__PURE__ */ r(m, { container: t, position: l, children: /* @__PURE__ */ r(d, { container: t, ...a, children: e }) }),
35
35
  !i && y(
36
- h.map((p) => /* @__PURE__ */ t(
36
+ h.map((p) => /* @__PURE__ */ r(
37
37
  "link",
38
38
  {
39
39
  rel: "stylesheet",
@@ -46,7 +46,7 @@ const z = ({
46
46
  "design-system-font"
47
47
  ),
48
48
  !s && y(
49
- /* @__PURE__ */ t(
49
+ /* @__PURE__ */ r(
50
50
  "link",
51
51
  {
52
52
  rel: "stylesheet",
@@ -60,5 +60,5 @@ const z = ({
60
60
  ] });
61
61
  export {
62
62
  z as I,
63
- h as n
63
+ h as i
64
64
  };
@@ -1,18 +1,8 @@
1
1
  import { jsx as f } from "react/jsx-runtime";
2
2
  import * as s from "react";
3
3
  import { createContext as g, useMemo as c } from "react";
4
- import { c as d, a as p, g as b, b as C } from "./composeTableColumnDefs-Hmd6yfdj.js";
4
+ import { c as d, a as p, g as b, b as C } from "./composeTableColumnDefs-BfFBOARB.js";
5
5
  import { composeTableInitialSorting as m } from "./components/Table/helpers/composeTableInitialSorting.js";
6
- /**
7
- * react-table
8
- *
9
- * Copyright (c) TanStack
10
- *
11
- * This source code is licensed under the MIT license found in the
12
- * LICENSE.md file in the root directory of this source tree.
13
- *
14
- * @license MIT
15
- */
16
6
  function P(t, e) {
17
7
  return t ? y(t) ? /* @__PURE__ */ s.createElement(t, e) : t : null;
18
8
  }
@@ -7,7 +7,7 @@ import { propagateTestid as h } from "../../helpers/utility/propagateTestid.js";
7
7
  import { alert as w } from "./Alert.styles.js";
8
8
  import { c as N } from "../../cx-DN21T1EH.js";
9
9
  import { GlobalCSSClass as B } from "../../enums.js";
10
- import { I as E } from "../../Button-D6AL0bia.js";
10
+ import { I as E } from "../../Button-mmhMLwp9.js";
11
11
  import { IressCloseButton as V } from "../Button/CloseButton/CloseButton.js";
12
12
  import "../Inline/Inline.styles.js";
13
13
  import { IressInline as $ } from "../Inline/Inline.js";
@@ -77,7 +77,7 @@ const F = {
77
77
  className: e.footer,
78
78
  "data-testid": h(l["data-testid"], "footer"),
79
79
  children: [
80
- p && /* @__PURE__ */ t($, { gap: "sm", pb: "spacing.050", children: n?.map((s, T) => /* @__PURE__ */ y(
80
+ p && /* @__PURE__ */ t($, { gap: "sm", pb: "spacing.1", children: n?.map((s, T) => /* @__PURE__ */ y(
81
81
  E,
82
82
  {
83
83
  ...s,
@@ -14,12 +14,12 @@ const e = o({
14
14
  alert: {
15
15
  display: "flex",
16
16
  flexWrap: "nowrap",
17
- gap: "spacing.200",
17
+ gap: "spacing.2",
18
18
  boxSizing: "border-box",
19
- marginBottom: "spacing.400",
19
+ marginBottom: "spacing.4",
20
20
  borderRadius: "radius.system.form",
21
- paddingBlock: "spacing.200",
22
- paddingInline: "spacing.300",
21
+ paddingBlock: "spacing.2",
22
+ paddingInline: "spacing.3",
23
23
  textStyle: "typography.body.md",
24
24
  border: "alert",
25
25
  height: "auto",
@@ -35,25 +35,25 @@ const e = o({
35
35
  },
36
36
  heading: {
37
37
  display: "inline-block",
38
- marginRight: "spacing.100",
38
+ marginRight: "spacing.1",
39
39
  _empty: {
40
40
  display: "none"
41
41
  },
42
42
  _directNestedHeadings: {
43
- marginBlock: "spacing.000",
43
+ marginBlock: "spacing.0",
44
44
  textStyle: "typography.body.md.strong"
45
45
  }
46
46
  },
47
47
  children: {
48
- marginBlock: "spacing.000",
49
- "& > p": { marginBlock: "spacing.000" }
48
+ marginBlock: "spacing.0",
49
+ "& > p": { marginBlock: "spacing.0" }
50
50
  },
51
51
  footer: {
52
- paddingBlockStart: "spacing.100"
52
+ paddingBlockStart: "spacing.1"
53
53
  },
54
54
  action: {
55
55
  minHeight: "[0]",
56
- py: "spacing.100",
56
+ py: "spacing.1",
57
57
  _before: {
58
58
  bg: "transparent",
59
59
  border: "divider",
@@ -72,9 +72,9 @@ const e = o({
72
72
  },
73
73
  dismiss: {
74
74
  marginLeft: "auto",
75
- marginTop: "-spacing.200",
76
- marginRight: "-spacing.300",
77
- marginBottom: "-spacing.200"
75
+ marginTop: "-spacing.2",
76
+ marginRight: "-spacing.3",
77
+ marginBottom: "-spacing.2"
78
78
  }
79
79
  },
80
80
  variants: {
@@ -187,7 +187,7 @@ const e = o({
187
187
  borderBottomLeftRadius: "radius.000",
188
188
  borderWidth: "[0]",
189
189
  borderLeftWidth: "[2.5px]",
190
- paddingBlock: "spacing.400"
190
+ paddingBlock: "spacing.4"
191
191
  }
192
192
  },
193
193
  "site-wide": {
@@ -16,7 +16,7 @@ import "../../helpers/form/getFormControlValueAsStringIfDefined.js";
16
16
  import "./hooks/useAutocompleteSearch.js";
17
17
  import "../Icon/Icon.js";
18
18
  import "./components/AutocompleteInstructions.js";
19
- import { a as R } from "../../Autocomplete-CLvWVHp6.js";
19
+ import { a as R } from "../../Autocomplete-C5ubHBTi.js";
20
20
  import "../RichSelect/SelectBody/SelectBody.styles.js";
21
21
  import "../../enums.js";
22
22
  import "../Menu/Menu.js";
@@ -30,7 +30,7 @@ import "../RichSelect/SelectMenu/SelectMenu.js";
30
30
  import "../RichSelect/SelectSearch/SelectSearch.styles.js";
31
31
  import "../RichSelect/SelectSearchInput/SelectSearchInput.js";
32
32
  import "../RichSelect/SelectTags/SelectTags.styles.js";
33
- import "../../Button-D6AL0bia.js";
33
+ import "../../Button-mmhMLwp9.js";
34
34
  import "../Button/CloseButton/CloseButton.js";
35
35
  import "../Tag/Tag.styles.js";
36
36
  import "../Tag/TagInput/TagInput.js";
@@ -1,4 +1,4 @@
1
- import { a as t } from "../../Autocomplete-CLvWVHp6.js";
1
+ import { a as t } from "../../Autocomplete-C5ubHBTi.js";
2
2
  import { autoComplete as m } from "./Autocomplete.styles.js";
3
3
  import { useAutocompleteSearch as a } from "./hooks/useAutocompleteSearch.js";
4
4
  export {
@@ -19,8 +19,8 @@ const r = o({
19
19
  alignItems: "center",
20
20
  justifyContent: "center",
21
21
  borderRadius: "radius.system.badge",
22
- paddingBlock: "spacing.100",
23
- paddingInline: "spacing.100",
22
+ paddingBlock: "spacing.1",
23
+ paddingInline: "spacing.1",
24
24
  "& > span": {
25
25
  lineHeight: 1,
26
26
  display: "inline-block"
@@ -36,8 +36,8 @@ const r = o({
36
36
  true: {
37
37
  badge: {
38
38
  position: "absolute",
39
- insetBlockStart: "spacing.000",
40
- insetInlineEnd: "spacing.000",
39
+ insetBlockStart: "spacing.0",
40
+ insetInlineEnd: "spacing.0",
41
41
  zIndex: "100",
42
42
  transformOrigin: "100% 0",
43
43
  borderRadius: "radius.100",
@@ -9,7 +9,7 @@ import "../../cx-DN21T1EH.js";
9
9
  import "../../is-valid-prop-Ce0wiweq.js";
10
10
  import "../ButtonGroup/ButtonGroupProvider.js";
11
11
  import "../ButtonGroup/hooks/useButtonGroupItem.js";
12
- import { I as B } from "../../Button-D6AL0bia.js";
12
+ import { I as B } from "../../Button-mmhMLwp9.js";
13
13
  import "../Popover/hooks/usePopover.js";
14
14
  export {
15
15
  B as IressButton
@@ -1,5 +1,5 @@
1
1
  import { jsx as o } from "react/jsx-runtime";
2
- import { I as e } from "../../../Button-D6AL0bia.js";
2
+ import { I as e } from "../../../Button-mmhMLwp9.js";
3
3
  import { IressIcon as a } from "../../Icon/Icon.js";
4
4
  import "../../Icon/Icon.styles.js";
5
5
  import { forwardRef as i } from "react";
@@ -1,4 +1,4 @@
1
- import { I as s, b as r } from "../../Button-D6AL0bia.js";
1
+ import { I as s, b as r } from "../../Button-mmhMLwp9.js";
2
2
  import { IressCloseButton as n } from "./CloseButton/CloseButton.js";
3
3
  export {
4
4
  s as IressButton,
@@ -11,7 +11,7 @@ const e = t({
11
11
  textStyle: "typography.body.md.regular",
12
12
  textAlign: "start",
13
13
  noGutter: !0,
14
- padding: "spacing.400",
14
+ padding: "spacing.4",
15
15
  transition: "all",
16
16
  _focus: {
17
17
  layerStyle: "elevation.focus"
@@ -19,14 +19,14 @@ const e = t({
19
19
  },
20
20
  prepend: {
21
21
  gridArea: "prepend",
22
- padding: "spacing.400"
22
+ padding: "spacing.4"
23
23
  },
24
24
  heading: {
25
25
  gridArea: "heading",
26
- padding: "spacing.400",
26
+ padding: "spacing.4",
27
27
  "& > h1:not([class]), & > h2:not([class]), & > h3:not([class]), & > h4:not([class]), & > h5:not([class]), & > h6:not([class])": {
28
28
  textStyle: "typography.heading.4",
29
- mb: "spacing.000"
29
+ mb: "spacing.0"
30
30
  },
31
31
  "& a": {
32
32
  color: "colour.primary.text",
@@ -38,11 +38,11 @@ const e = t({
38
38
  },
39
39
  topRight: {
40
40
  gridArea: "topRight",
41
- padding: "spacing.200"
41
+ padding: "spacing.2"
42
42
  },
43
43
  media: {
44
44
  gridArea: "media",
45
- padding: "spacing.000",
45
+ padding: "spacing.0",
46
46
  borderRadius: "radius.system.layout",
47
47
  overflow: "hidden",
48
48
  "& img": {
@@ -57,11 +57,11 @@ const e = t({
57
57
  },
58
58
  body: {
59
59
  gridArea: "body",
60
- padding: "spacing.400"
60
+ padding: "spacing.4"
61
61
  },
62
62
  footer: {
63
63
  gridArea: "footer",
64
- padding: "spacing.400",
64
+ padding: "spacing.4",
65
65
  borderBlockStart: "divider"
66
66
  }
67
67
  },
@@ -123,7 +123,7 @@ const e = t({
123
123
  gridTemplateAreas: '"prepend body topRight" "footer footer footer"',
124
124
  gridAutoColumns: "[minmax(0, min-content) auto min-content]",
125
125
  gridAutoRows: "[auto min-content]",
126
- padding: "spacing.000"
126
+ padding: "spacing.0"
127
127
  }
128
128
  }
129
129
  },
@@ -136,7 +136,7 @@ const e = t({
136
136
  hasMedia: {
137
137
  true: {
138
138
  root: {
139
- padding: "spacing.000"
139
+ padding: "spacing.0"
140
140
  }
141
141
  }
142
142
  }
@@ -153,11 +153,11 @@ const e = t({
153
153
  },
154
154
  heading: {
155
155
  "&:not(:last-child)": {
156
- paddingBlockEnd: "spacing.200"
156
+ paddingBlockEnd: "spacing.2"
157
157
  }
158
158
  },
159
159
  body: {
160
- paddingBlockStart: "spacing.000"
160
+ paddingBlockStart: "spacing.0"
161
161
  }
162
162
  }
163
163
  },
@@ -170,7 +170,7 @@ const e = t({
170
170
  gridAutoColumns: "[minmax(0, min-content) auto]",
171
171
  gridAutoRows: "[min-content auto min-content]",
172
172
  position: "relative",
173
- padding: "spacing.000"
173
+ padding: "spacing.0"
174
174
  }
175
175
  }
176
176
  },
@@ -185,7 +185,7 @@ const e = t({
185
185
  gridAutoRows: "[min-content min-content auto min-content]"
186
186
  },
187
187
  topRight: {
188
- pt: "spacing.250"
188
+ pt: "spacing.3"
189
189
  }
190
190
  }
191
191
  },
@@ -194,10 +194,10 @@ const e = t({
194
194
  hasPrepend: !0,
195
195
  css: {
196
196
  heading: {
197
- paddingInlineStart: "spacing.000"
197
+ paddingInlineStart: "spacing.0"
198
198
  },
199
199
  body: {
200
- paddingInlineStart: "spacing.000"
200
+ paddingInlineStart: "spacing.0"
201
201
  }
202
202
  }
203
203
  }
@@ -24,14 +24,14 @@ const o = r({
24
24
  label: {
25
25
  position: "relative",
26
26
  lineHeight: "1.5",
27
- margin: "spacing.000",
27
+ margin: "spacing.0",
28
28
  display: "inline-flex",
29
29
  cursor: "pointer"
30
30
  },
31
31
  labelSpan: {},
32
32
  mark: {
33
33
  color: "[currentColor]",
34
- marginInlineEnd: "spacing.200",
34
+ marginInlineEnd: "spacing.2",
35
35
  flexShrink: 0,
36
36
  _groupFocusWithin: {
37
37
  layerStyle: "elevation.focus"
@@ -45,7 +45,7 @@ const o = r({
45
45
  display: "inline-block"
46
46
  },
47
47
  mark: {
48
- marginInlineEnd: "spacing.000"
48
+ marginInlineEnd: "spacing.0"
49
49
  },
50
50
  labelSpan: {
51
51
  srOnly: !0
@@ -56,7 +56,7 @@ const o = r({
56
56
  true: {
57
57
  label: {
58
58
  position: "relative",
59
- padding: "spacing.000",
59
+ padding: "spacing.0",
60
60
  width: "[100%]",
61
61
  cursor: "pointer",
62
62
  borderRadius: "radius.system.form",
@@ -85,7 +85,7 @@ const o = r({
85
85
  borderStyle: "solid",
86
86
  borderWidth: "1px",
87
87
  borderRadius: "radius.system.form",
88
- padding: "spacing.300"
88
+ padding: "spacing.3"
89
89
  }
90
90
  }
91
91
  },
@@ -3,14 +3,14 @@ const i = a({
3
3
  base: {
4
4
  display: "flex",
5
5
  flexWrap: "wrap",
6
- rowGap: "spacing.200"
6
+ rowGap: "spacing.2"
7
7
  },
8
8
  variants: {
9
9
  layout: {
10
10
  block: {
11
11
  display: "flex",
12
12
  flexWrap: "wrap",
13
- rowGap: "spacing.200",
13
+ rowGap: "spacing.2",
14
14
  "& label": {
15
15
  display: "flex",
16
16
  flexBasis: "[100%]"
@@ -25,7 +25,7 @@ const i = a({
25
25
  stack: {
26
26
  display: "flex",
27
27
  flexWrap: "wrap",
28
- rowGap: "spacing.200",
28
+ rowGap: "spacing.2",
29
29
  "& > *": {
30
30
  flexBasis: "[100%]"
31
31
  }
@@ -34,8 +34,8 @@ const i = a({
34
34
  display: "flex",
35
35
  flexFlow: "row wrap",
36
36
  width: "[100%]",
37
- rowGap: "spacing.200",
38
- columnGap: "spacing.400"
37
+ rowGap: "spacing.2",
38
+ columnGap: "spacing.4"
39
39
  }
40
40
  },
41
41
  readOnly: {
@@ -47,7 +47,7 @@ const i = a({
47
47
  readOnly: !0,
48
48
  layout: "stack",
49
49
  css: {
50
- paddingInlineStart: "spacing.400",
50
+ paddingInlineStart: "spacing.4",
51
51
  "& > *": {
52
52
  display: "list-item"
53
53
  }
@@ -57,7 +57,7 @@ const i = a({
57
57
  readOnly: !0,
58
58
  layout: "block",
59
59
  css: {
60
- paddingInlineStart: "spacing.400",
60
+ paddingInlineStart: "spacing.4",
61
61
  "& > *": {
62
62
  display: "list-item"
63
63
  }
@@ -67,13 +67,13 @@ const i = a({
67
67
  readOnly: !0,
68
68
  layout: "inline",
69
69
  css: {
70
- paddingInlineStart: "spacing.400",
70
+ paddingInlineStart: "spacing.4",
71
71
  "& > *": {
72
72
  display: "list-item",
73
- marginInlineEnd: "spacing.600"
73
+ marginInlineEnd: "spacing.6"
74
74
  },
75
75
  "& > *:last-child": {
76
- marginInlineEnd: "spacing.000"
76
+ marginInlineEnd: "spacing.0"
77
77
  }
78
78
  }
79
79
  }
@@ -3,7 +3,7 @@ const n = a({
3
3
  base: {
4
4
  borderRadius: "radius.system.layout",
5
5
  paddingBlock: void 0,
6
- paddingInline: "spacing.400",
6
+ paddingInline: "spacing.4",
7
7
  marginInline: "auto",
8
8
  width: "[100%]"
9
9
  },
@@ -4,7 +4,7 @@ const t = r({
4
4
  display: "block",
5
5
  color: "colour.neutral.30",
6
6
  borderColor: "[currentColor]",
7
- m: "spacing.000"
7
+ m: "spacing.0"
8
8
  },
9
9
  variants: {
10
10
  vertical: {
@@ -41,7 +41,7 @@ const o = e({
41
41
  overflow: "hidden"
42
42
  },
43
43
  content: {
44
- py: "spacing.200"
44
+ py: "spacing.2"
45
45
  }
46
46
  },
47
47
  variants: {
@@ -53,11 +53,11 @@ const o = e({
53
53
  alignItems: "flex-end",
54
54
  width: "[100%]",
55
55
  textStyle: "typography.heading.4",
56
- py: "spacing.300",
56
+ py: "spacing.3",
57
57
  borderBottom: "divider",
58
58
  transition: "[all 0.2s ease-in-out]",
59
59
  _after: {
60
- mr: "spacing.200"
60
+ mr: "spacing.2"
61
61
  },
62
62
  _hover: {
63
63
  color: "colour.primary.text",
@@ -21,18 +21,18 @@ const o = e({
21
21
  },
22
22
  hint: {
23
23
  color: "colour.neutral.70",
24
- mb: "spacing.100",
24
+ mb: "spacing.1",
25
25
  textStyle: "typography.body.sm"
26
26
  },
27
27
  footer: {
28
28
  textStyle: "typography.body.sm.regular",
29
- mt: "spacing.100"
29
+ mt: "spacing.1"
30
30
  },
31
31
  supplementary: {
32
32
  fontSize: "inherit"
33
33
  },
34
34
  label: {
35
- mb: "spacing.100"
35
+ mb: "spacing.1"
36
36
  },
37
37
  labelContainer: {},
38
38
  fieldContainer: {}
@@ -45,7 +45,7 @@ const o = e({
45
45
  gridTemplateColumns: "auto 1fr",
46
46
  gridTemplateRows: "auto auto",
47
47
  gridTemplateAreas: '"label field" ". footer"',
48
- columnGap: "spacing.200",
48
+ columnGap: "spacing.2",
49
49
  alignItems: "center"
50
50
  },
51
51
  labelContainer: {
@@ -57,7 +57,7 @@ const o = e({
57
57
  },
58
58
  footer: {
59
59
  gridArea: "footer",
60
- mt: "spacing.100"
60
+ mt: "spacing.1"
61
61
  },
62
62
  label: {
63
63
  mb: "none"
@@ -76,7 +76,7 @@ const o = e({
76
76
  hasHint: {
77
77
  true: {
78
78
  label: {
79
- mb: "spacing.000"
79
+ mb: "spacing.0"
80
80
  }
81
81
  }
82
82
  },
@@ -117,10 +117,10 @@ const o = e({
117
117
  },
118
118
  footer: {
119
119
  position: "absolute",
120
- left: "spacing.000",
121
- right: "spacing.000",
120
+ left: "spacing.0",
121
+ right: "spacing.0",
122
122
  top: "[100%]",
123
- mt: "spacing.100"
123
+ mt: "spacing.1"
124
124
  }
125
125
  }
126
126
  }
@@ -8,16 +8,16 @@ const o = e({
8
8
  mb: "field.footer",
9
9
  position: "relative",
10
10
  border: "[none]",
11
- margin: "spacing.000",
12
- padding: "spacing.000"
11
+ margin: "spacing.0",
12
+ padding: "spacing.0"
13
13
  },
14
14
  hint: {
15
15
  color: "colour.neutral.70",
16
16
  textStyle: "typography.body.sm"
17
17
  },
18
18
  legend: {
19
- mb: "spacing.100",
20
- px: "spacing.000",
19
+ mb: "spacing.1",
20
+ px: "spacing.0",
21
21
  float: "start",
22
22
  "& + *": {
23
23
  clear: "left"
@@ -28,7 +28,7 @@ const o = e({
28
28
  flexDirection: "column",
29
29
  _nestedFormLabels: {
30
30
  color: "colour.neutral.70",
31
- mb: "spacing.050"
31
+ mb: "spacing.1"
32
32
  }
33
33
  }
34
34
  },
@@ -42,7 +42,7 @@ const v = ({
42
42
  {
43
43
  name: "info-circle",
44
44
  screenreaderText: "More information",
45
- ml: "spacing.100"
45
+ ml: "spacing.1"
46
46
  }
47
47
  )
48
48
  }