@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.
- package/dist/{Autocomplete-CLvWVHp6.js → Autocomplete-C5ubHBTi.js} +1 -1
- package/dist/{Button-D6AL0bia.js → Button-mmhMLwp9.js} +4 -1
- package/dist/{Provider-BXQiO7Gp.js → Provider-8wS70V56.js} +13 -13
- package/dist/{TableProvider-_4Whj6P5.js → TableProvider-bdUNuoG-.js} +1 -11
- package/dist/components/Alert/Alert.js +2 -2
- package/dist/components/Alert/Alert.styles.js +14 -14
- package/dist/components/Autocomplete/Autocomplete.js +2 -2
- package/dist/components/Autocomplete/index.js +1 -1
- package/dist/components/Badge/Badge.styles.js +4 -4
- package/dist/components/Button/Button.js +1 -1
- package/dist/components/Button/CloseButton/CloseButton.js +1 -1
- package/dist/components/Button/index.js +1 -1
- package/dist/components/Card/Card.styles.js +16 -16
- package/dist/components/Checkbox/Checkbox.styles.js +5 -5
- package/dist/components/CheckboxGroup/CheckboxGroup.styles.js +10 -10
- package/dist/components/Container/Container.styles.js +1 -1
- package/dist/components/Divider/Divider.styles.js +1 -1
- package/dist/components/Expander/Expander.styles.js +3 -3
- package/dist/components/Field/Field.styles.js +9 -9
- package/dist/components/Field/FieldGroup/FieldGroup.styles.js +5 -5
- package/dist/components/Field/components/FieldHint.js +1 -1
- package/dist/components/Filter/Filter.js +3 -3
- package/dist/components/Filter/Filter.styles.js +3 -3
- package/dist/components/Filter/components/FilterResetButton.js +1 -1
- package/dist/components/Inline/Inline.styles.js +1 -1
- package/dist/components/Input/Input.js +84 -86
- package/dist/components/Input/Input.styles.js +7 -7
- package/dist/components/Label/Label.styles.js +3 -3
- package/dist/components/Link/Link.styles.js +2 -2
- package/dist/components/Menu/Menu.js +1 -1
- package/dist/components/Menu/Menu.styles.js +11 -11
- package/dist/components/Menu/MenuItem/MenuItem.js +2 -2
- package/dist/components/Menu/MenuText/MenuText.js +1 -1
- package/dist/components/Modal/Modal.js +106 -112
- package/dist/components/Modal/Modal.styles.js +8 -8
- package/dist/components/Popover/components/NestedPopoverActivator.js +1 -1
- package/dist/components/Popover/components/PopoverContent.js +1 -1
- package/dist/components/Popover/helpers/handlePopoverTabKey.js +1 -1
- package/dist/components/Popover/hooks/usePopover.js +1 -1
- package/dist/components/Popover/hooks/usePopoverItem.js +1 -1
- package/dist/components/Popover/hooks/usePopoverNavigation.js +1 -1
- package/dist/components/Progress/Progress.js +35 -41
- package/dist/components/Progress/Progress.styles.js +3 -3
- package/dist/components/Provider/Provider.js +3 -3
- package/dist/components/Provider/index.js +1 -1
- package/dist/components/Radio/Radio.js +66 -60
- package/dist/components/Radio/Radio.styles.js +5 -5
- package/dist/components/RadioGroup/RadioGroup.styles.js +4 -4
- package/dist/components/Readonly/Readonly.styles.js +4 -4
- package/dist/components/RichSelect/RichSelect.js +2 -2
- package/dist/components/RichSelect/RichSelect.styles.js +9 -9
- package/dist/components/RichSelect/SelectHeading/SelectHeading.js +1 -1
- package/dist/components/RichSelect/SelectLabel/SelectLabel.styles.js +5 -5
- package/dist/components/RichSelect/SelectTags/SelectTags.js +49 -51
- package/dist/components/RichSelect/SelectTags/SelectTags.styles.js +3 -3
- package/dist/components/RichSelect/index.js +1 -1
- package/dist/components/Select/Select.styles.js +8 -8
- 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 +75 -70
- package/dist/components/Slideout/Slideout.styles.js +7 -7
- package/dist/components/Slideout/components/SlideoutInner.js +1 -1
- package/dist/components/Slideout/hooks/usePushElement.js +1 -1
- package/dist/components/Slider/Slider.styles.js +3 -3
- package/dist/components/Stack/Stack.styles.js +1 -1
- package/dist/components/TabSet/Tab/Tab.js +1 -1
- package/dist/components/TabSet/Tab/Tab.styles.js +2 -2
- package/dist/components/TabSet/TabSet.js +55 -52
- package/dist/components/TabSet/TabSet.styles.js +3 -3
- package/dist/components/Table/Table.js +1 -1
- package/dist/components/Table/TableBody/TableBody.js +1 -1
- package/dist/components/Table/TableProvider.js +2 -2
- package/dist/components/Table/components/TableEmpty.js +1 -1
- package/dist/components/Table/components/TableHeader.js +1 -1
- package/dist/components/Table/components/TableHeaderCell.js +1 -1
- package/dist/components/Table/components/TableRows.js +1 -1
- package/dist/components/Table/helpers/composeTableColumnDefs.js +1 -1
- package/dist/components/Table/hooks/useTableColumnSort.js +1 -1
- package/dist/components/Table/hooks/useTableColumnStyles.js +1 -1
- package/dist/components/Tag/Tag.js +1 -1
- package/dist/components/Tag/Tag.styles.js +4 -4
- package/dist/components/Text/Text.styles.js +3 -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 +1 -1
- package/dist/components/Toaster/components/Toast/Toast.styles.js +12 -12
- package/dist/components/Toaster/components/Toast/ToastAnimated.js +18 -16
- package/dist/components/Toggle/Toggle.js +63 -58
- package/dist/components/Toggle/Toggle.styles.js +12 -12
- 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 +4 -4
- package/dist/{composeTableColumnDefs-Hmd6yfdj.js → composeTableColumnDefs-BfFBOARB.js} +0 -10
- package/dist/constants.js +1 -1
- package/dist/{floating-ui.react-CmSaAiNF.js → floating-ui.react-BetVZ099.js} +1 -1
- package/dist/helpers/styling/mapGutterToGap.js +7 -7
- package/dist/helpers/transition/getTransitionDuration.js +2 -2
- package/dist/{index-CvOVcYUc.js → index-CZ9ot38T.js} +83 -131
- package/dist/{index.esm-8uZEha-3.js → index.esm-CL8gh5wr.js} +0 -4
- package/dist/main.js +3 -3
- package/dist/patterns/Loading/Loading.styles.js +13 -13
- package/dist/patterns/Loading/LoadingSuspense.js +27 -27
- package/dist/patterns/Loading/components/ComponentLoading.js +38 -43
- package/dist/patterns/Loading/components/PageLoading.js +57 -60
- package/dist/patterns/Loading/components/ValidateLoading.js +1 -1
- package/dist/patterns/Loading/hooks/useEstimatedProgressValue.js +8 -12
- package/dist/patterns/Loading/hooks/useShouldRenderLoading.js +14 -14
- package/dist/patterns/Shadow/Shadow.js +8832 -19058
- package/dist/src/components/Alert/Alert.styles.d.ts +1 -1
- package/dist/src/components/Badge/Badge.styles.d.ts +2 -2
- package/dist/src/components/Card/Card.styles.d.ts +2 -2
- package/dist/src/components/Checkbox/Checkbox.styles.d.ts +3 -3
- package/dist/src/components/CheckboxGroup/CheckboxGroup.styles.d.ts +4 -4
- package/dist/src/components/Expander/Expander.styles.d.ts +2 -2
- package/dist/src/components/Field/Field.styles.d.ts +6 -6
- package/dist/src/components/Inline/Inline.d.ts +1 -2
- package/dist/src/components/Menu/Menu.styles.d.ts +5 -5
- package/dist/src/components/Modal/Modal.styles.d.ts +2 -2
- package/dist/src/components/Radio/Radio.styles.d.ts +1 -1
- package/dist/src/components/RadioGroup/RadioGroup.styles.d.ts +4 -4
- package/dist/src/components/RichSelect/RichSelect.styles.d.ts +7 -7
- package/dist/src/components/Row/Row.d.ts +1 -2
- package/dist/src/components/Select/Select.styles.d.ts +7 -7
- package/dist/src/components/Skeleton/Skeleton.styles.d.ts +1 -1
- package/dist/src/components/Slideout/Slideout.styles.d.ts +2 -2
- package/dist/src/components/Stack/Stack.d.ts +1 -2
- package/dist/src/components/Toaster/components/Toast/Toast.styles.d.ts +4 -4
- package/dist/src/components/Toggle/Toggle.d.ts +10 -2
- package/dist/src/components/Toggle/Toggle.styles.d.ts +4 -4
- package/dist/src/interfaces.d.ts +8 -10
- package/dist/src/patterns/Loading/Loading.styles.d.ts +10 -10
- package/dist/src/styled-system/jsx/create-style-context.d.ts +17 -10
- package/dist/src/styled-system/tokens/tokens.d.ts +1 -1
- package/dist/src/styled-system/types/conditions.d.ts +1 -1
- package/dist/src/styled-system/types/jsx.d.ts +8 -6
- package/dist/src/styled-system/types/prop-type.d.ts +2 -2
- package/dist/src/types.d.ts +3 -1
- package/dist/style.css +1 -1
- 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-
|
|
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:
|
|
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
|
|
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-
|
|
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
|
|
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-
|
|
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
|
|
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:
|
|
28
|
+
container: t,
|
|
29
29
|
noDefaultFont: i,
|
|
30
30
|
noIcons: s,
|
|
31
31
|
position: l,
|
|
32
|
-
...
|
|
33
|
-
}) => /* @__PURE__ */ $(
|
|
34
|
-
/* @__PURE__ */
|
|
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__ */
|
|
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__ */
|
|
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
|
|
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-
|
|
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-
|
|
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.
|
|
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.
|
|
17
|
+
gap: "spacing.2",
|
|
18
18
|
boxSizing: "border-box",
|
|
19
|
-
marginBottom: "spacing.
|
|
19
|
+
marginBottom: "spacing.4",
|
|
20
20
|
borderRadius: "radius.system.form",
|
|
21
|
-
paddingBlock: "spacing.
|
|
22
|
-
paddingInline: "spacing.
|
|
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.
|
|
38
|
+
marginRight: "spacing.1",
|
|
39
39
|
_empty: {
|
|
40
40
|
display: "none"
|
|
41
41
|
},
|
|
42
42
|
_directNestedHeadings: {
|
|
43
|
-
marginBlock: "spacing.
|
|
43
|
+
marginBlock: "spacing.0",
|
|
44
44
|
textStyle: "typography.body.md.strong"
|
|
45
45
|
}
|
|
46
46
|
},
|
|
47
47
|
children: {
|
|
48
|
-
marginBlock: "spacing.
|
|
49
|
-
"& > p": { marginBlock: "spacing.
|
|
48
|
+
marginBlock: "spacing.0",
|
|
49
|
+
"& > p": { marginBlock: "spacing.0" }
|
|
50
50
|
},
|
|
51
51
|
footer: {
|
|
52
|
-
paddingBlockStart: "spacing.
|
|
52
|
+
paddingBlockStart: "spacing.1"
|
|
53
53
|
},
|
|
54
54
|
action: {
|
|
55
55
|
minHeight: "[0]",
|
|
56
|
-
py: "spacing.
|
|
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.
|
|
76
|
-
marginRight: "-spacing.
|
|
77
|
-
marginBottom: "-spacing.
|
|
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.
|
|
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-
|
|
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-
|
|
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";
|
|
@@ -19,8 +19,8 @@ const r = o({
|
|
|
19
19
|
alignItems: "center",
|
|
20
20
|
justifyContent: "center",
|
|
21
21
|
borderRadius: "radius.system.badge",
|
|
22
|
-
paddingBlock: "spacing.
|
|
23
|
-
paddingInline: "spacing.
|
|
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.
|
|
40
|
-
insetInlineEnd: "spacing.
|
|
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-
|
|
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-
|
|
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";
|
|
@@ -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.
|
|
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.
|
|
22
|
+
padding: "spacing.4"
|
|
23
23
|
},
|
|
24
24
|
heading: {
|
|
25
25
|
gridArea: "heading",
|
|
26
|
-
padding: "spacing.
|
|
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.
|
|
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.
|
|
41
|
+
padding: "spacing.2"
|
|
42
42
|
},
|
|
43
43
|
media: {
|
|
44
44
|
gridArea: "media",
|
|
45
|
-
padding: "spacing.
|
|
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.
|
|
60
|
+
padding: "spacing.4"
|
|
61
61
|
},
|
|
62
62
|
footer: {
|
|
63
63
|
gridArea: "footer",
|
|
64
|
-
padding: "spacing.
|
|
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.
|
|
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.
|
|
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.
|
|
156
|
+
paddingBlockEnd: "spacing.2"
|
|
157
157
|
}
|
|
158
158
|
},
|
|
159
159
|
body: {
|
|
160
|
-
paddingBlockStart: "spacing.
|
|
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.
|
|
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.
|
|
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.
|
|
197
|
+
paddingInlineStart: "spacing.0"
|
|
198
198
|
},
|
|
199
199
|
body: {
|
|
200
|
-
paddingInlineStart: "spacing.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
38
|
-
columnGap: "spacing.
|
|
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.
|
|
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.
|
|
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.
|
|
70
|
+
paddingInlineStart: "spacing.4",
|
|
71
71
|
"& > *": {
|
|
72
72
|
display: "list-item",
|
|
73
|
-
marginInlineEnd: "spacing.
|
|
73
|
+
marginInlineEnd: "spacing.6"
|
|
74
74
|
},
|
|
75
75
|
"& > *:last-child": {
|
|
76
|
-
marginInlineEnd: "spacing.
|
|
76
|
+
marginInlineEnd: "spacing.0"
|
|
77
77
|
}
|
|
78
78
|
}
|
|
79
79
|
}
|
|
@@ -41,7 +41,7 @@ const o = e({
|
|
|
41
41
|
overflow: "hidden"
|
|
42
42
|
},
|
|
43
43
|
content: {
|
|
44
|
-
py: "spacing.
|
|
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.
|
|
56
|
+
py: "spacing.3",
|
|
57
57
|
borderBottom: "divider",
|
|
58
58
|
transition: "[all 0.2s ease-in-out]",
|
|
59
59
|
_after: {
|
|
60
|
-
mr: "spacing.
|
|
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.
|
|
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.
|
|
29
|
+
mt: "spacing.1"
|
|
30
30
|
},
|
|
31
31
|
supplementary: {
|
|
32
32
|
fontSize: "inherit"
|
|
33
33
|
},
|
|
34
34
|
label: {
|
|
35
|
-
mb: "spacing.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
121
|
-
right: "spacing.
|
|
120
|
+
left: "spacing.0",
|
|
121
|
+
right: "spacing.0",
|
|
122
122
|
top: "[100%]",
|
|
123
|
-
mt: "spacing.
|
|
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.
|
|
12
|
-
padding: "spacing.
|
|
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.
|
|
20
|
-
px: "spacing.
|
|
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.
|
|
31
|
+
mb: "spacing.1"
|
|
32
32
|
}
|
|
33
33
|
}
|
|
34
34
|
},
|