@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
@@ -7,10 +7,10 @@ import { IressPopover as ae } from "../Popover/Popover.js";
7
7
  import "../Popover/Popover.styles.js";
8
8
  import "../Popover/InputPopover/InputPopover.js";
9
9
  import "../Popover/hooks/usePopover.js";
10
- import { I as ne } from "../../Button-D6AL0bia.js";
10
+ import { I as ne } from "../../Button-mmhMLwp9.js";
11
11
  import "../Button/CloseButton/CloseButton.js";
12
12
  import { useRichSelectState as me } from "../RichSelect/hooks/useRichSelectState.js";
13
- import "../../Autocomplete-CLvWVHp6.js";
13
+ import "../../Autocomplete-C5ubHBTi.js";
14
14
  import "../RichSelect/SelectBody/SelectBody.styles.js";
15
15
  import { GlobalCSSClass as pe } from "../../enums.js";
16
16
  import { useIdIfNeeded as le } from "../../hooks/useIdIfNeeded.js";
@@ -163,7 +163,7 @@ const I = {
163
163
  children: [
164
164
  E,
165
165
  p.showHeader && /* @__PURE__ */ n(T, { children: [
166
- /* @__PURE__ */ n(fe, { bg: "transparent", p: "spacing.200", children: [
166
+ /* @__PURE__ */ n(fe, { bg: "transparent", p: "spacing.2", children: [
167
167
  S && /* @__PURE__ */ e(
168
168
  ve,
169
169
  {
@@ -16,7 +16,7 @@ const e = t({
16
16
  root: {},
17
17
  chevron: {
18
18
  selectChevron: !0,
19
- marginInlineStart: "spacing.200",
19
+ marginInlineStart: "spacing.2",
20
20
  _rtl: {
21
21
  selectChevronRtl: !0
22
22
  }
@@ -25,11 +25,11 @@ const e = t({
25
25
  minWidth: "[270px]",
26
26
  position: "relative",
27
27
  "&:not(:last-child)": {
28
- marginBottom: "spacing.400"
28
+ marginBottom: "spacing.4"
29
29
  },
30
30
  "& .ids-spinner": {
31
31
  position: "absolute",
32
- right: "spacing.500"
32
+ right: "spacing.5"
33
33
  }
34
34
  },
35
35
  optionList: {
@@ -1,5 +1,5 @@
1
1
  import { jsx as n } from "react/jsx-runtime";
2
- import { I as i } from "../../../Button-D6AL0bia.js";
2
+ import { I as i } from "../../../Button-mmhMLwp9.js";
3
3
  import "../../Button/CloseButton/CloseButton.js";
4
4
  import { filter as p } from "../Filter.styles.js";
5
5
  import { usePopoverItem as f } from "../../Popover/hooks/usePopoverItem.js";
@@ -3,7 +3,7 @@ const n = e({
3
3
  base: {
4
4
  display: "flex",
5
5
  flexDirection: "row",
6
- gap: "spacing.000"
6
+ gap: "spacing.0"
7
7
  },
8
8
  variants: {
9
9
  horizontalAlign: {
@@ -1,146 +1,144 @@
1
- import { jsx as r, jsxs as N } from "react/jsx-runtime";
2
- import { forwardRef as G, useRef as S, useState as H, useMemo as w, useImperativeHandle as U } from "react";
3
- import { GlobalCSSClass as v } from "../../enums.js";
4
- import { getFormControlValueAsString as z } from "../../helpers/form/getFormControlValueAsString.js";
5
- import { InputBase as J } from "./InputBase/InputBase.js";
6
- import { IressSpinner as K } from "../Spinner/Spinner.js";
1
+ import { jsx as r, jsxs as F } from "react/jsx-runtime";
2
+ import { forwardRef as A, useRef as N, useState as G, useImperativeHandle as H } from "react";
3
+ import { GlobalCSSClass as d } from "../../enums.js";
4
+ import { getFormControlValueAsString as U } from "../../helpers/form/getFormControlValueAsString.js";
5
+ import { InputBase as z } from "./InputBase/InputBase.js";
6
+ import { IressSpinner as J } from "../Spinner/Spinner.js";
7
7
  import "../Spinner/Spinner.styles.js";
8
- import { useControlledState as L } from "../../hooks/useControlledState.js";
9
- import { IressReadonly as Q } from "../Readonly/Readonly.js";
8
+ import { useControlledState as K } from "../../hooks/useControlledState.js";
9
+ import { IressReadonly as L } from "../Readonly/Readonly.js";
10
10
  import "../Readonly/Readonly.styles.js";
11
- import { c as i } from "../../cx-DN21T1EH.js";
12
- import { input as W } from "./Input.styles.js";
13
- import { s as X } from "../../factory-oPXoMw9H.js";
14
- import { s as Y } from "../../is-valid-prop-Ce0wiweq.js";
15
- import { useNoDefaultValueInForms as Z } from "../../patterns/Form/hooks/useNoDefaultValueInForms.js";
16
- import "../../Button-D6AL0bia.js";
17
- import { IressCloseButton as _ } from "../Button/CloseButton/CloseButton.js";
18
- const $ = ({ rows: a, ...g }, M) => {
11
+ import { c as s } from "../../cx-DN21T1EH.js";
12
+ import { input as Q } from "./Input.styles.js";
13
+ import { s as W } from "../../factory-oPXoMw9H.js";
14
+ import { s as X } from "../../is-valid-prop-Ce0wiweq.js";
15
+ import { useNoDefaultValueInForms as Y } from "../../patterns/Form/hooks/useNoDefaultValueInForms.js";
16
+ import "../../Button-mmhMLwp9.js";
17
+ import { IressCloseButton as Z } from "../Button/CloseButton/CloseButton.js";
18
+ const _ = ({ rows: a, ...f }, S) => {
19
19
  const {
20
- loading: c = !1,
20
+ loading: l = !1,
21
21
  clearable: P = !1,
22
- defaultValue: C,
22
+ defaultValue: v,
23
23
  onClear: D,
24
- width: R,
25
- prepend: I,
26
- append: m,
27
- onChange: B,
28
- className: h,
29
- readOnly: E,
30
- formatter: n,
31
- type: y,
24
+ width: M,
25
+ prepend: g,
26
+ append: u,
27
+ onChange: R,
28
+ className: C,
29
+ readOnly: B,
30
+ formatter: i,
31
+ type: E,
32
32
  inline: T,
33
- alignRight: x,
33
+ alignRight: I,
34
34
  ...t
35
- } = g;
36
- Z({
35
+ } = f;
36
+ Y({
37
37
  component: "IressInput",
38
- defaultValue: C
38
+ defaultValue: v
39
39
  });
40
- const p = S(null), d = S(null), { value: l, setValue: V } = L({
40
+ const c = N(null), p = N(null), { value: m, setValue: h } = K({
41
41
  component: "IressInput",
42
- defaultValue: C,
43
- value: g.value
44
- }), f = z(l), [u, b] = H(!1), [j, O] = Y(t), F = w(() => n && !u ? n(l) : f, [n, l, f, u]), k = w(() => {
45
- if (a === void 0)
46
- return n && !u ? { type: "text" } : { type: y };
47
- }, [n, u, y, a]);
48
- if (U(
49
- M,
42
+ defaultValue: v,
43
+ value: f.value
44
+ }), y = U(m), [x, V] = G(!1), [j, O] = X(t), b = i && !x ? i(m) : y;
45
+ let w = i && !x ? { type: "text" } : { type: E };
46
+ if (a !== void 0 && (w = void 0), H(
47
+ S,
50
48
  () => ({
51
- ...p.current,
49
+ ...c.current,
52
50
  extras: {
53
51
  additionalOnChangeProps: ["onClear"]
54
52
  }
55
53
  })
56
- ), E)
54
+ ), B)
57
55
  return /* @__PURE__ */ r(
58
- Q,
56
+ L,
59
57
  {
60
58
  ...t,
61
59
  defaultValue: void 0,
62
- value: l,
63
- alignRight: x,
64
- append: m,
65
- className: h,
66
- children: F
60
+ value: m,
61
+ alignRight: I,
62
+ append: u,
63
+ className: C,
64
+ children: b
67
65
  }
68
66
  );
69
- const q = (e) => {
70
- V(""), p.current?.focus();
71
- const s = new Event("change", {
67
+ const k = (e) => {
68
+ h(""), c.current?.focus();
69
+ const o = new Event("change", {
72
70
  bubbles: !0
73
71
  });
74
- Object.defineProperty(s, "target", {
72
+ Object.defineProperty(o, "target", {
75
73
  writable: !1,
76
74
  value: { value: "", ...e.target }
77
- }), D?.(s);
78
- }, A = (e) => {
79
- const s = e.target.value;
80
- V(s), B?.(e, s);
81
- }, o = W({
82
- alignRight: x,
75
+ }), D?.(o);
76
+ }, q = (e) => {
77
+ const o = e.target.value;
78
+ h(o), R?.(e, o);
79
+ }, n = Q({
80
+ alignRight: I,
83
81
  inline: T,
84
82
  isTextarea: a !== void 0,
85
- width: R
83
+ width: M
86
84
  });
87
- return /* @__PURE__ */ N(
88
- X.div,
85
+ return /* @__PURE__ */ F(
86
+ W.div,
89
87
  {
90
- className: i(
88
+ className: s(
91
89
  // classes.root,
92
- v.FormElement,
93
- v.Input,
94
- h,
95
- o.wrapper,
96
- v.FormElementInner
90
+ d.FormElement,
91
+ d.Input,
92
+ C,
93
+ n.wrapper,
94
+ d.FormElementInner
97
95
  ),
98
96
  "data-testid": t["data-testid"],
99
97
  ...j,
100
98
  children: [
101
- I && /* @__PURE__ */ r("div", { className: i(o.addon), children: I }),
99
+ g && /* @__PURE__ */ r("div", { className: s(n.addon), children: g }),
102
100
  /* @__PURE__ */ r(
103
- J,
101
+ z,
104
102
  {
105
103
  ...O,
106
- ...k,
107
- className: o.formControl,
108
- value: F,
109
- onChange: A,
104
+ ...w,
105
+ className: n.formControl,
106
+ value: b,
107
+ onChange: q,
110
108
  onFocus: (e) => {
111
- b(!0), t?.onFocus?.(e), d.current ? d.current = null : queueMicrotask(() => e.target.select());
109
+ V(!0), t?.onFocus?.(e), p.current ? p.current = null : queueMicrotask(() => e.target.select());
112
110
  },
113
111
  onMouseDown: (e) => {
114
- t?.onMouseDown?.(e), d.current = !0;
112
+ t?.onMouseDown?.(e), p.current = !0;
115
113
  },
116
114
  onBlur: (e) => {
117
- b(!1), t?.onBlur?.(e);
115
+ V(!1), t?.onBlur?.(e);
118
116
  },
119
117
  rows: a,
120
- ref: p
118
+ ref: c
121
119
  }
122
120
  ),
123
- /* @__PURE__ */ N("div", { className: i(o.internal), children: [
124
- c && /* @__PURE__ */ r(
125
- K,
121
+ /* @__PURE__ */ F("div", { className: s(n.internal), children: [
122
+ l && /* @__PURE__ */ r(
123
+ J,
126
124
  {
127
- screenreaderText: c === !0 ? "loading" : c
125
+ screenreaderText: l === !0 ? "loading" : l
128
126
  }
129
127
  ),
130
- f && P && /* @__PURE__ */ r(
131
- _,
128
+ y && P && /* @__PURE__ */ r(
129
+ Z,
132
130
  {
133
- onClick: q,
131
+ onClick: k,
134
132
  onMouseDown: (e) => e.preventDefault(),
135
133
  screenreaderText: "Clear"
136
134
  }
137
135
  )
138
136
  ] }),
139
- m && /* @__PURE__ */ r("div", { className: i(o.addon), children: m })
137
+ u && /* @__PURE__ */ r("div", { className: s(n.addon), children: u })
140
138
  ]
141
139
  }
142
140
  );
143
- }, Ce = G($);
141
+ }, ge = A(_);
144
142
  export {
145
- Ce as IressInput
143
+ ge as IressInput
146
144
  };
@@ -27,7 +27,7 @@ const o = r({
27
27
  alignItems: "center",
28
28
  py: "none",
29
29
  "&:not(:empty)": {
30
- px: "spacing.250"
30
+ px: "spacing.3"
31
31
  },
32
32
  _empty: {
33
33
  display: "none"
@@ -40,7 +40,7 @@ const o = r({
40
40
  display: "flex",
41
41
  alignItems: "center",
42
42
  "& > *": {
43
- padding: "[0 {spacing.spacing.250}]"
43
+ padding: "[0 {spacing.spacing.3}]"
44
44
  },
45
45
  _empty: {
46
46
  display: "none"
@@ -49,7 +49,7 @@ const o = r({
49
49
  formControl: {
50
50
  borderWidth: 0,
51
51
  borderRadius: "radius.system.form",
52
- padding: "spacing.200",
52
+ padding: "spacing.2",
53
53
  backgroundColor: "colour.neutral.10",
54
54
  textStyle: "typography.body.md",
55
55
  color: "colour.neutral.80",
@@ -69,10 +69,10 @@ const o = r({
69
69
  backgroundColor: "colour.primary.surface",
70
70
  color: "colour.primary.text",
71
71
  borderRadius: "radius.system.form",
72
- py: "spacing.150",
73
- px: "spacing.200",
74
- m: "-spacing.100",
75
- mr: "spacing.200",
72
+ py: "spacing.2",
73
+ px: "spacing.2",
74
+ m: "-spacing.1",
75
+ mr: "spacing.2",
76
76
  cursor: "pointer",
77
77
  _hover: {
78
78
  backgroundColor: "colour.primary.surfaceHover"
@@ -10,8 +10,8 @@ const e = t({
10
10
  display: "inline-block",
11
11
  position: "relative",
12
12
  textStyle: "typography.body.sm.strong",
13
- top: "-spacing.100",
14
- mr: "spacing.100"
13
+ top: "-spacing.1",
14
+ mr: "spacing.1"
15
15
  },
16
16
  text: {
17
17
  textStyle: "typography.body.md.strong"
@@ -23,7 +23,7 @@ const e = t({
23
23
  hiddenLabel: !0,
24
24
  css: {
25
25
  root: {
26
- mb: "spacing.000"
26
+ mb: "spacing.0"
27
27
  }
28
28
  }
29
29
  }
@@ -18,9 +18,9 @@ const e = ["root", "content", "prepend", "append", "spinner"], n = o({
18
18
  cursor: "pointer",
19
19
  display: "inline-flex",
20
20
  fontKerning: "none",
21
- gap: "spacing.100",
21
+ gap: "spacing.1",
22
22
  pointerEvents: "auto",
23
- textStyle: "typography.body.md",
23
+ textStyle: "typography.body.md.medium",
24
24
  whiteSpace: "normal",
25
25
  width: "auto",
26
26
  color: "colour.primary.text",
@@ -2,7 +2,7 @@ import { jsx as p } from "react/jsx-runtime";
2
2
  import { createContext as w, useContext as z, useMemo as s, useCallback as E, useEffect as G } from "react";
3
3
  import { useControlledState as H } from "../../hooks/useControlledState.js";
4
4
  import { useIdIfNeeded as K } from "../../hooks/useIdIfNeeded.js";
5
- import { C as R } from "../../floating-ui.react-CmSaAiNF.js";
5
+ import { C as R } from "../../floating-ui.react-BetVZ099.js";
6
6
  import { s as v } from "../../factory-oPXoMw9H.js";
7
7
  import { toArray as q } from "../../helpers/formatting/toArray.js";
8
8
  import { menu as B } from "./Menu.styles.js";
@@ -77,8 +77,8 @@ const o = e({
77
77
  insidePopover: {
78
78
  true: {
79
79
  root: {
80
- my: "spacing.200",
81
- px: "spacing.200"
80
+ my: "spacing.2",
81
+ px: "spacing.2"
82
82
  }
83
83
  }
84
84
  },
@@ -96,13 +96,13 @@ const o = e({
96
96
  display: "inline-flex",
97
97
  flexWrap: "wrap",
98
98
  flexDirection: "column",
99
- rowGap: "spacing.100"
99
+ rowGap: "spacing.1"
100
100
  }
101
101
  },
102
102
  inline: {
103
103
  root: {
104
104
  display: "inline-flex",
105
- columnGap: "spacing.100",
105
+ columnGap: "spacing.1",
106
106
  flexWrap: "wrap"
107
107
  },
108
108
  item: {
@@ -115,7 +115,7 @@ const o = e({
115
115
  root: {
116
116
  display: "flex",
117
117
  flexDirection: "row",
118
- columnGap: "spacing.100",
118
+ columnGap: "spacing.1",
119
119
  "& > :not(hr)": {
120
120
  flex: "1",
121
121
  textAlign: "center"
@@ -173,9 +173,9 @@ const o = e({
173
173
  _after: {
174
174
  content: '""',
175
175
  position: "absolute",
176
- top: "spacing.000",
177
- left: "spacing.000",
178
- bottom: "spacing.000",
176
+ top: "spacing.0",
177
+ left: "spacing.0",
178
+ bottom: "spacing.0",
179
179
  width: "[{radii.radius.025}]",
180
180
  bg: "colour.primary.fill",
181
181
  borderRadius: "radius.system.badge"
@@ -192,9 +192,9 @@ const o = e({
192
192
  _after: {
193
193
  content: '""',
194
194
  position: "absolute",
195
- left: "spacing.000",
196
- right: "spacing.000",
197
- bottom: "spacing.000",
195
+ left: "spacing.0",
196
+ right: "spacing.0",
197
+ bottom: "spacing.0",
198
198
  height: "[{radii.radius.025}]",
199
199
  bg: "colour.primary.fill",
200
200
  borderRadius: "radius.system.badge"
@@ -14,7 +14,7 @@ import "../../Popover/Popover.js";
14
14
  import "../../Popover/Popover.styles.js";
15
15
  import "../../Popover/InputPopover/InputPopover.js";
16
16
  import { usePopoverItem as ee } from "../../Popover/hooks/usePopoverItem.js";
17
- import { a as te } from "../../../floating-ui.react-CmSaAiNF.js";
17
+ import { a as te } from "../../../floating-ui.react-BetVZ099.js";
18
18
  import { IressMenuDivider as re } from "../MenuDivider/MenuDivider.js";
19
19
  import { PopoverContext as oe } from "../../Popover/hooks/usePopover.js";
20
20
  import { GlobalCSSClass as se } from "../../../enums.js";
@@ -179,7 +179,7 @@ const ie = ({
179
179
  const R = n(() => u === "listitem" ? /* @__PURE__ */ l("span", { role: "listitem", children: g }) : g, [g, u]);
180
180
  return /* @__PURE__ */ K(U, { children: [
181
181
  e?.isComposite ? /* @__PURE__ */ l(te, { render: (t) => $(R, t) }) : R,
182
- D && /* @__PURE__ */ l(re, { mt: "spacing.100" })
182
+ D && /* @__PURE__ */ l(re, { mt: "spacing.1" })
183
183
  ] });
184
184
  }, Ae = H(ie);
185
185
  export {
@@ -59,7 +59,7 @@ const R = (s, o) => (s && ["h1", "h2", "h3", "h4", "h5", "h6"].includes(s)) ?? (
59
59
  ]
60
60
  }
61
61
  ),
62
- g && /* @__PURE__ */ r(T, { mt: "spacing.100" })
62
+ g && /* @__PURE__ */ r(T, { mt: "spacing.1" })
63
63
  ] });
64
64
  }, B = ({
65
65
  className: s,