@iress-oss/ids-components 6.2.2 → 6.4.0
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/.ai/components/modal.md +6 -1
- package/.ai/components/select.md +22 -0
- package/.ai/patterns/form.md +32 -0
- package/.ai/skills/ui-translation.md +4 -4
- package/dist/Autocomplete-CfNw4UXr.js +328 -0
- package/dist/{Button-BY2qzshw.js → Button-x1_YRAyD.js} +3 -3
- package/dist/{Shadow-DAfthdT2.js → Shadow-BKrsbwQE.js} +8 -6
- package/dist/Slideout-DuFGU2C8.js +197 -0
- package/dist/{Table.styles-CKD_vWqh.js → Table.styles-CeUw7q9b.js} +3 -3
- package/dist/{TableProvider-C8bDaWu2.js → TableProvider-DLIQWfLq.js} +1 -1
- package/dist/{TableRows-DXoiLfwt.js → TableRows-RGC4_RRZ.js} +8 -6
- package/dist/{Text.styles-DUvXBRio.js → Text.styles-CVKI4cU7.js} +2 -2
- package/dist/components/Alert/Alert.js +12 -8
- package/dist/components/Alert/Alert.styles.js +1 -1
- package/dist/components/Autocomplete/Autocomplete.js +1 -1
- package/dist/components/Autocomplete/Autocomplete.styles.js +1 -1
- package/dist/components/Autocomplete/components/AutocompleteInstructions.js +7 -4
- package/dist/components/Autocomplete/hooks/useAutocompleteSearch.js +1 -1
- package/dist/components/Autocomplete/index.js +2 -2
- package/dist/components/Avatar/Avatar.js +2 -2
- package/dist/components/Avatar/Avatar.styles.js +1 -1
- package/dist/components/Avatar/AvatarGroup/AvatarGroup.js +2 -2
- package/dist/components/Avatar/AvatarGroup/AvatarGroup.styles.js +1 -1
- 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/ButtonGroup/ButtonGroup.js +3 -3
- package/dist/components/ButtonGroup/ButtonGroup.styles.js +1 -1
- package/dist/components/Card/Card.js +4 -4
- 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/ExpanderChevron/ExpanderChevron.styles.js +1 -1
- package/dist/components/Field/Field.d.ts +7 -1
- package/dist/components/Field/Field.js +34 -33
- package/dist/components/Field/Field.styles.js +1 -1
- package/dist/components/Field/components/FieldFooter.d.ts +5 -1
- package/dist/components/Field/components/FieldFooter.js +18 -17
- package/dist/components/Field/components/FieldHint.js +3 -3
- package/dist/components/FieldGroup/FieldGroup.js +3 -3
- package/dist/components/FieldGroup/FieldGroup.styles.js +1 -1
- package/dist/components/Hide/Hide.js +1 -1
- package/dist/components/Icon/Icon.js +4 -4
- package/dist/components/Icon/Icon.styles.js +1 -1
- 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 +85 -79
- package/dist/components/Input/Input.styles.js +1 -1
- 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 +3 -3
- package/dist/components/Link/Link.js +4 -4
- package/dist/components/Link/Link.styles.js +1 -1
- package/dist/components/Menu/Menu.js +2 -2
- package/dist/components/Menu/Menu.styles.js +1 -1
- package/dist/components/Menu/MenuGroup/MenuGroup.styles.js +1 -1
- package/dist/components/Menu/MenuItem/MenuItem.js +121 -121
- package/dist/components/Menu/MenuItem/MenuItem.styles.js +1 -1
- package/dist/components/Menu/MenuText/MenuText.js +2 -2
- package/dist/components/Modal/Modal.d.ts +3 -2
- package/dist/components/Modal/Modal.js +46 -46
- package/dist/components/Modal/Modal.styles.js +1 -1
- package/dist/components/Pill/Pill.js +3 -3
- package/dist/components/Pill/Pill.styles.js +1 -1
- package/dist/components/Placeholder/Placeholder.styles.js +1 -1
- package/dist/components/Popover/InputPopover/InputPopover.js +1 -1
- package/dist/components/Popover/Popover.js +3 -3
- package/dist/components/Popover/Popover.styles.js +1 -1
- package/dist/components/Popover/components/PopoverContent.js +2 -2
- package/dist/components/Popover/helpers/handlePopoverTabKey.js +2 -2
- package/dist/components/Popover/hooks/useFloatingPopover.js +66 -66
- package/dist/components/Popover/hooks/usePopoverItem.js +1 -1
- package/dist/components/Popover/hooks/usePopoverNavigation.js +1 -1
- package/dist/components/Progress/Progress.js +3 -3
- package/dist/components/Progress/Progress.styles.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/RadioMark/RadioMark.js +2 -2
- package/dist/components/RadioMark/RadioMark.styles.js +1 -1
- package/dist/components/Readonly/Readonly.js +3 -3
- package/dist/components/Readonly/Readonly.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.d.ts +10 -0
- package/dist/components/Select/Select.js +1 -1
- package/dist/components/Select/Select.styles.js +1 -1
- package/dist/components/Select/SelectBody/SelectBody.styles.js +1 -1
- package/dist/components/Select/SelectHeading/SelectHeading.js +1 -1
- package/dist/components/Select/SelectLabel/SelectLabel.styles.js +1 -1
- package/dist/components/Select/SelectMenu/SelectMenu.styles.js +1 -1
- package/dist/components/Select/SelectSearch/SelectSearch.styles.js +1 -1
- package/dist/components/Select/SelectSearchInput/SelectSearchInput.styles.js +1 -1
- package/dist/components/Select/SelectTags/SelectTags.js +1 -1
- package/dist/components/Select/SelectTags/SelectTags.styles.js +1 -1
- package/dist/components/Select/components/NativeSelect.js +3 -3
- package/dist/components/Select/components/NativeSelect.styles.js +1 -1
- package/dist/components/Select/components/SelectOptions.d.ts +2 -2
- package/dist/components/Select/components/SelectOptions.js +89 -74
- package/dist/components/Select/index.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 +2 -2
- package/dist/components/Slideout/index.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 +16 -13
- package/dist/components/Spinner/Spinner.styles.js +2 -2
- package/dist/components/Stack/Stack.js +11 -8
- package/dist/components/Stack/Stack.styles.js +1 -1
- package/dist/components/Styled/Styled.js +8 -5
- package/dist/components/TabSet/Tab/Tab.js +2 -2
- package/dist/components/TabSet/Tab/Tab.styles.js +1 -1
- package/dist/components/TabSet/TabSet.js +2 -2
- package/dist/components/TabSet/TabSet.styles.js +1 -1
- package/dist/components/Table/Table.js +1 -1
- package/dist/components/Table/Table.styles.js +1 -1
- package/dist/components/Table/TableBody/TableBody.js +1 -1
- package/dist/components/Table/TableProvider.js +1 -1
- package/dist/components/Table/components/TableEmpty.js +1 -1
- package/dist/components/Table/components/TableFilterButton.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/components/TableSortButton.js +1 -1
- package/dist/components/Table/helpers/composeTableColumnDefs.js +1 -1
- package/dist/components/Table/helpers/composeTableInitialColumnFilters.js +1 -1
- package/dist/components/Table/hooks/useTable.js +1 -1
- package/dist/components/Table/hooks/useTableColumnFilter.js +3 -3
- package/dist/components/Table/hooks/useTableColumnSort.js +1 -1
- package/dist/components/Table/hooks/useTableColumnStyles.js +4 -4
- package/dist/components/Table/index.js +2 -2
- package/dist/components/Tag/Tag.js +2 -2
- package/dist/components/Tag/Tag.styles.js +1 -1
- package/dist/components/TagInput/TagInput.styles.js +1 -1
- package/dist/components/Text/Text.js +9 -6
- package/dist/components/Text/Text.styles.js +1 -1
- package/dist/components/Text/index.js +1 -1
- package/dist/components/Toaster/Toaster.js +2 -2
- 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 +1 -1
- package/dist/components/Toggle/Toggle.js +2 -2
- package/dist/components/Toggle/Toggle.styles.js +1 -1
- package/dist/components/Tooltip/Tooltip.js +16 -16
- 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/{composeTableColumnDefs-DzUn8D5f.js → composeTableColumnDefs-Ds00wPMn.js} +3 -3
- package/dist/{create-recipe-A316lnq3.js → create-recipe-BWTPSpll.js} +2 -2
- package/dist/{css-R34N3rft.js → css-BRrgGHqo.js} +1 -1
- package/dist/{cva-DcOwIar2.js → cva-1V8NmPTA.js} +1 -1
- package/dist/{factory-BKr3zaf6.js → factory-Dbc35N0_.js} +5 -5
- package/dist/{floating-ui.react-TDMXDOBr.js → floating-ui.react-DP-wD-Nz.js} +70 -59
- package/dist/helpers/formatting/formatDateTime.js +3 -3
- package/dist/helpers/label-value/highlightQueryInLabel.js +1 -1
- package/dist/helpers/label-value/searchLabelValues.js +1 -1
- package/dist/helpers/styling/iressCss.js +1 -1
- package/dist/{index.esm-CapMi3wi.js → index.esm-Bl8pnHUv.js} +16 -14
- package/dist/{is-valid-prop-BVyYPT21.js → is-valid-prop-CvqUuuBB.js} +1 -1
- package/dist/{main-TklToXNs.js → main-BY3nH2iz.js} +7 -7
- package/dist/main.js +8 -8
- package/dist/patterns/Breadcrumbs/Breadcrumbs.js +1 -1
- package/dist/patterns/Breadcrumbs/Breadcrumbs.styles.js +1 -1
- package/dist/patterns/ContextualMenu/ContextualMenu.js +4 -4
- package/dist/patterns/ContextualMenu/ContextualMenu.styles.js +1 -1
- package/dist/patterns/DropdownMenu/DropdownMenu.js +4 -4
- package/dist/patterns/DropdownMenu/DropdownMenu.styles.js +1 -1
- package/dist/patterns/Form/Form.styles.js +1 -1
- package/dist/patterns/Form/FormField/FormField.d.ts +9 -0
- package/dist/patterns/Form/FormField/FormField.js +12 -7
- package/dist/patterns/Form/FormValidationSummary/FormValidationSummary.d.ts +1 -1
- package/dist/patterns/Form/FormValidationSummary/FormValidationSummary.js +16 -12
- 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 +3 -3
- package/dist/patterns/Loading/components/DefaultLoading.js +1 -1
- package/dist/patterns/Loading/components/LongLoading.js +19 -19
- package/dist/patterns/Loading/components/PageLoading.js +1 -1
- package/dist/patterns/Loading/components/StartUpLoading.js +7 -7
- package/dist/patterns/Loading/components/ValidateLoading.js +2 -2
- package/dist/patterns/Shadow/Shadow.js +1 -1
- package/dist/patterns/Shadow/index.js +1 -1
- package/dist/patterns/SideNav/SideNav.js +3 -3
- package/dist/patterns/SideNav/SideNav.styles.js +1 -1
- package/dist/{rolldown-runtime-3b4jIN3o.js → rolldown-runtime-DtPi1Y-2.js} +2 -2
- package/dist/{sva-DGhdmNso.js → sva-CG-TbBow.js} +2 -2
- package/dist/{useAutocompleteSearch-BYzUn7Ag.js → useAutocompleteSearch-m33c4lI7.js} +7 -5
- package/package.json +6 -6
- package/dist/Autocomplete-CzdfUGYJ.js +0 -326
- package/dist/Slideout-BOH2gwIN.js +0 -194
|
@@ -13,22 +13,35 @@ import { IressSelectSearchInput as d } from "../SelectSearchInput/SelectSearchIn
|
|
|
13
13
|
import { useCallback as f, useEffect as p, useId as m, useRef as h } from "react";
|
|
14
14
|
import { Fragment as g, jsx as _, jsxs as v } from "react/jsx-runtime";
|
|
15
15
|
//#region src/components/Select/components/SelectOptions.tsx
|
|
16
|
-
var y = (
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
16
|
+
var y = (e) => {
|
|
17
|
+
if (e) return {
|
|
18
|
+
className: e.className,
|
|
19
|
+
"data-testid": e["data-testid"],
|
|
20
|
+
inputMode: e.inputMode,
|
|
21
|
+
maxLength: e.maxLength,
|
|
22
|
+
minLength: e.minLength,
|
|
23
|
+
pattern: e.pattern,
|
|
24
|
+
spellCheck: e.spellCheck
|
|
25
|
+
};
|
|
26
|
+
}, b = ({ debouncedQuery: e, minSearchLength: t, multiSelect: n, onChange: r, query: i, results: a, shouldShowInstructions: o, shouldShowNoResults: s, value: c }) => {
|
|
27
|
+
let l = () => {
|
|
21
28
|
if (i) {
|
|
22
29
|
if (o) return `Type at least ${t} character${t === 1 ? "" : "s"} to search`;
|
|
23
30
|
if (s) return "No results found";
|
|
24
31
|
}
|
|
25
|
-
}
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
+
}, d = n && a.length && e ? `Search results (${a.length})` : void 0;
|
|
33
|
+
return /* @__PURE__ */ _(u, {
|
|
34
|
+
heading: d,
|
|
35
|
+
items: a,
|
|
36
|
+
multiSelect: n,
|
|
37
|
+
noResults: l(),
|
|
38
|
+
onChange: r,
|
|
39
|
+
selected: c,
|
|
40
|
+
hideSelectedItems: n
|
|
41
|
+
});
|
|
42
|
+
};
|
|
43
|
+
b.displayName = "SelectAsyncResults";
|
|
44
|
+
var x = ({ error: e, errorText: t }) => e ? t === void 0 ? /* @__PURE__ */ _(r, {
|
|
32
45
|
status: "danger",
|
|
33
46
|
variant: "full-width",
|
|
34
47
|
mb: "none",
|
|
@@ -38,50 +51,51 @@ var b = ({ error: e, errorText: t }) => e ? t === void 0 ? /* @__PURE__ */ _(r,
|
|
|
38
51
|
" Please contact support if the error persists."
|
|
39
52
|
] })
|
|
40
53
|
}) : typeof t == "function" ? t(e) : t : null;
|
|
41
|
-
|
|
42
|
-
var
|
|
43
|
-
let
|
|
54
|
+
x.displayName = "SelectAsyncError";
|
|
55
|
+
var S = ({ autoHighlight: r, debouncedQuery: i, error: s, errorText: f, loading: g, minSearchLength: S, multiSelect: C, onChange: w, onClear: T, query: E, results: D, searchInputProps: O, setQuery: k, show: A, value: j, shouldShowInstructions: M, shouldShowNoResults: N }) => {
|
|
56
|
+
let P = n(j).map((e) => {
|
|
44
57
|
let { formattedLabel: t, ...n } = e;
|
|
45
58
|
return n;
|
|
46
|
-
}),
|
|
59
|
+
}), F = !s && (!!D?.length || E && !g), I = !!P.length && C, L = F && I, R = h(null), z = m(), B = y(O);
|
|
47
60
|
p(() => {
|
|
48
|
-
|
|
49
|
-
}, [
|
|
50
|
-
let
|
|
61
|
+
A || k?.("");
|
|
62
|
+
}, [A, k]);
|
|
63
|
+
let V = I ? P.length + 1 : 0, H = E && F ? V : +!!I;
|
|
51
64
|
return /* @__PURE__ */ v(c, {
|
|
52
65
|
activator: /* @__PURE__ */ _(d, {
|
|
66
|
+
...B,
|
|
53
67
|
"aria-label": "Search",
|
|
54
|
-
onChange: (e) =>
|
|
55
|
-
ref:
|
|
68
|
+
onChange: (e) => k?.(e.target.value),
|
|
69
|
+
ref: R,
|
|
56
70
|
placeholder: "Search and select",
|
|
57
|
-
value:
|
|
71
|
+
value: E
|
|
58
72
|
}),
|
|
59
73
|
autoHighlight: r,
|
|
60
|
-
focusStartIndex: r ?
|
|
74
|
+
focusStartIndex: r ? H : void 0,
|
|
61
75
|
children: [
|
|
62
|
-
|
|
63
|
-
"aria-labelledby":
|
|
76
|
+
I && /* @__PURE__ */ _(u, {
|
|
77
|
+
"aria-labelledby": z,
|
|
64
78
|
heading: /* @__PURE__ */ _(l, {
|
|
65
79
|
clearAll: !0,
|
|
66
80
|
onClearAll: (e) => {
|
|
67
|
-
|
|
81
|
+
T?.(e), R.current?.focus();
|
|
68
82
|
},
|
|
69
83
|
children: /* @__PURE__ */ v("span", {
|
|
70
|
-
id:
|
|
84
|
+
id: z,
|
|
71
85
|
children: [
|
|
72
86
|
"Selected (",
|
|
73
|
-
|
|
87
|
+
P.length,
|
|
74
88
|
")"
|
|
75
89
|
]
|
|
76
90
|
})
|
|
77
91
|
}),
|
|
78
|
-
items:
|
|
79
|
-
multiSelect:
|
|
80
|
-
onChange:
|
|
81
|
-
selected:
|
|
92
|
+
items: P,
|
|
93
|
+
multiSelect: C,
|
|
94
|
+
onChange: w,
|
|
95
|
+
selected: j
|
|
82
96
|
}),
|
|
83
|
-
|
|
84
|
-
g && !
|
|
97
|
+
L && /* @__PURE__ */ _(a, {}),
|
|
98
|
+
g && !D.length && /* @__PURE__ */ v(o, {
|
|
85
99
|
gap: "sm",
|
|
86
100
|
verticalAlign: "middle",
|
|
87
101
|
p: "spacing.3",
|
|
@@ -90,56 +104,56 @@ var x = ({ autoHighlight: r, debouncedQuery: i, error: s, errorText: f, loading:
|
|
|
90
104
|
children: "Loading results..."
|
|
91
105
|
})]
|
|
92
106
|
}),
|
|
93
|
-
|
|
107
|
+
F && /* @__PURE__ */ _(b, {
|
|
94
108
|
debouncedQuery: i,
|
|
95
|
-
minSearchLength:
|
|
96
|
-
multiSelect:
|
|
97
|
-
onChange:
|
|
98
|
-
query:
|
|
99
|
-
results:
|
|
100
|
-
value:
|
|
101
|
-
shouldShowInstructions:
|
|
102
|
-
shouldShowNoResults:
|
|
109
|
+
minSearchLength: S,
|
|
110
|
+
multiSelect: C,
|
|
111
|
+
onChange: w,
|
|
112
|
+
query: E,
|
|
113
|
+
results: D,
|
|
114
|
+
value: j,
|
|
115
|
+
shouldShowInstructions: M,
|
|
116
|
+
shouldShowNoResults: N
|
|
103
117
|
}),
|
|
104
|
-
/* @__PURE__ */ _(
|
|
118
|
+
/* @__PURE__ */ _(x, {
|
|
105
119
|
error: s,
|
|
106
120
|
errorText: f
|
|
107
121
|
})
|
|
108
122
|
]
|
|
109
123
|
});
|
|
110
124
|
};
|
|
111
|
-
|
|
112
|
-
var
|
|
113
|
-
let
|
|
114
|
-
|
|
125
|
+
S.displayName = "SelectAsyncOptions";
|
|
126
|
+
var C = ({ autoHighlight: e, debouncedQuery: t, error: n, errorText: r, initialOptions: a, loading: o, minSearchLength: c, multiSelect: l, onChange: d, options: p, query: m, renderOptions: h, results: g, searchInputProps: v, setQuery: y, setShow: b, setValue: x, show: C, shouldShowInstructions: w, shouldShowNoResults: T, value: E }) => {
|
|
127
|
+
let D = typeof p == "function", O = a ?? (D ? [] : p), k = g.length ? g : O, A = f((e) => {
|
|
128
|
+
x(e);
|
|
115
129
|
let t = s(e);
|
|
116
|
-
d?.(i(t), t, e), l ||
|
|
130
|
+
d?.(i(t), t, e), l || b(!1);
|
|
117
131
|
}, [
|
|
118
|
-
y,
|
|
119
132
|
b,
|
|
133
|
+
x,
|
|
120
134
|
d,
|
|
121
135
|
l
|
|
122
|
-
]),
|
|
136
|
+
]), j = f((e) => {
|
|
123
137
|
e.stopPropagation();
|
|
124
138
|
let t = [];
|
|
125
|
-
|
|
139
|
+
x(t);
|
|
126
140
|
let n = s(t);
|
|
127
141
|
d?.(i(n), n, t);
|
|
128
|
-
}, [
|
|
142
|
+
}, [x, d]);
|
|
129
143
|
return h ? h({
|
|
130
|
-
close: () =>
|
|
144
|
+
close: () => b(!1),
|
|
131
145
|
debouncedQuery: t,
|
|
132
146
|
error: n,
|
|
133
|
-
handleClear:
|
|
134
|
-
handleMenuChange:
|
|
147
|
+
handleClear: j,
|
|
148
|
+
handleMenuChange: A,
|
|
135
149
|
loading: o,
|
|
136
150
|
query: m,
|
|
137
|
-
results:
|
|
138
|
-
setValue:
|
|
139
|
-
setQuery:
|
|
140
|
-
show:
|
|
141
|
-
value:
|
|
142
|
-
}) :
|
|
151
|
+
results: k,
|
|
152
|
+
setValue: x,
|
|
153
|
+
setQuery: y,
|
|
154
|
+
show: C,
|
|
155
|
+
value: E
|
|
156
|
+
}) : D ? /* @__PURE__ */ _(S, {
|
|
143
157
|
autoHighlight: e,
|
|
144
158
|
debouncedQuery: t,
|
|
145
159
|
error: n,
|
|
@@ -147,22 +161,23 @@ var S = ({ autoHighlight: e, debouncedQuery: t, error: n, errorText: r, initialO
|
|
|
147
161
|
loading: o,
|
|
148
162
|
minSearchLength: c,
|
|
149
163
|
multiSelect: l,
|
|
150
|
-
onChange:
|
|
151
|
-
onClear:
|
|
164
|
+
onChange: A,
|
|
165
|
+
onClear: j,
|
|
152
166
|
query: m,
|
|
153
167
|
results: g,
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
168
|
+
searchInputProps: v,
|
|
169
|
+
setQuery: y,
|
|
170
|
+
show: C,
|
|
171
|
+
value: E,
|
|
172
|
+
shouldShowInstructions: w,
|
|
173
|
+
shouldShowNoResults: T
|
|
159
174
|
}) : /* @__PURE__ */ _(u, {
|
|
160
|
-
items:
|
|
175
|
+
items: k,
|
|
161
176
|
multiSelect: l,
|
|
162
|
-
onChange:
|
|
163
|
-
selected:
|
|
177
|
+
onChange: A,
|
|
178
|
+
selected: E
|
|
164
179
|
});
|
|
165
180
|
};
|
|
166
|
-
|
|
181
|
+
C.displayName = "SelectOptions";
|
|
167
182
|
//#endregion
|
|
168
|
-
export {
|
|
183
|
+
export { C as SelectOptions };
|
|
@@ -6,7 +6,7 @@ import { IressSelectHeading as i } from "./SelectHeading/SelectHeading.js";
|
|
|
6
6
|
import { IressSelectMenu as a } from "./SelectMenu/SelectMenu.js";
|
|
7
7
|
import { IressSelectSearchInput as o } from "./SelectSearchInput/SelectSearchInput.js";
|
|
8
8
|
import { nativeSelect as s } from "./components/NativeSelect.styles.js";
|
|
9
|
-
import { n as c } from "../../Autocomplete-
|
|
9
|
+
import { n as c } from "../../Autocomplete-CfNw4UXr.js";
|
|
10
10
|
import { IressSelectBody as l } from "./SelectBody/SelectBody.js";
|
|
11
11
|
import { IressSelectCreate as u } from "./SelectCreate/SelectCreate.js";
|
|
12
12
|
export { c as IressSelect, l as IressSelectBody, u as IressSelectCreate, i as IressSelectHeading, t as IressSelectLabel, a as IressSelectMenu, r as IressSelectSearch, o as IressSelectSearchInput, n as IressSelectTags, s as nativeSelect, e as select };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { t as e } from "../../cx-QcEwjve6.js";
|
|
2
2
|
import { GlobalCSSClass as t } from "../../enums.js";
|
|
3
|
-
import { t as n } from "../../Button-
|
|
3
|
+
import { t as n } from "../../Button-x1_YRAyD.js";
|
|
4
4
|
import { skipLink as r } from "./SkipLink.styles.js";
|
|
5
5
|
import { forwardRef as i } from "react";
|
|
6
6
|
import { jsx as a } from "react/jsx-runtime";
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as e } from "../../Slideout-
|
|
1
|
+
import { t as e } from "../../Slideout-DuFGU2C8.js";
|
|
2
2
|
export { e as IressSlideout };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { n as e } from "../../../is-valid-prop-
|
|
2
|
-
import { t } from "../../../factory-
|
|
1
|
+
import { n as e } from "../../../is-valid-prop-CvqUuuBB.js";
|
|
2
|
+
import { t } from "../../../factory-Dbc35N0_.js";
|
|
3
3
|
import { IressText as n } from "../../Text/Text.js";
|
|
4
4
|
import { propagateTestid as r } from "../../../helpers/utility/propagateTestid.js";
|
|
5
5
|
import { IressCloseButton as i } from "../../Button/CloseButton/CloseButton.js";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { t as e } from "../../Slideout-
|
|
1
|
+
import { t as e } from "../../Slideout-DuFGU2C8.js";
|
|
2
2
|
import { slideout as t } from "./Slideout.styles.js";
|
|
3
3
|
import { SlideoutContext as n, useSlideout as r } from "./hooks/useSlideout.js";
|
|
4
4
|
import { IressSlideoutProvider as i } from "./SlideoutProvider.js";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { t as e } from "../../cx-QcEwjve6.js";
|
|
2
|
-
import { n as t } from "../../is-valid-prop-
|
|
3
|
-
import { t as n } from "../../factory-
|
|
2
|
+
import { n as t } from "../../is-valid-prop-CvqUuuBB.js";
|
|
3
|
+
import { t as n } from "../../factory-Dbc35N0_.js";
|
|
4
4
|
import { GlobalCSSClass as r } from "../../enums.js";
|
|
5
5
|
import { propagateTestid as i } from "../../helpers/utility/propagateTestid.js";
|
|
6
6
|
import { useControlledState as a } from "../../hooks/useControlledState.js";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as e } from "../../../cx-QcEwjve6.js";
|
|
2
|
-
import { t } from "../../../factory-
|
|
2
|
+
import { t } from "../../../factory-Dbc35N0_.js";
|
|
3
3
|
import { propagateTestid as n } from "../../../helpers/utility/propagateTestid.js";
|
|
4
4
|
import { slider as r } from "../Slider.styles.js";
|
|
5
5
|
import { jsx as i, jsxs as a } from "react/jsx-runtime";
|
|
@@ -23,18 +23,21 @@ var o = (e, t, n, r, i) => {
|
|
|
23
23
|
}, h);
|
|
24
24
|
};
|
|
25
25
|
s.displayName = "TickMark";
|
|
26
|
-
var c = ({ max: e = 10, min: t = 0, tickLabels: a = [], ...o }) =>
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
26
|
+
var c = ({ max: e = 10, min: t = 0, tickLabels: a = [], ...o }) => {
|
|
27
|
+
let c = r();
|
|
28
|
+
return /* @__PURE__ */ i("datalist", {
|
|
29
|
+
className: c.tickMarkList,
|
|
30
|
+
...o,
|
|
31
|
+
children: a.map((r, c) => /* @__PURE__ */ i(s, {
|
|
32
|
+
allTickLabels: a,
|
|
33
|
+
"data-testid": n(o["data-testid"], "option"),
|
|
34
|
+
index: c,
|
|
35
|
+
max: e,
|
|
36
|
+
min: t,
|
|
37
|
+
tickLabel: r
|
|
38
|
+
}, r.value))
|
|
39
|
+
});
|
|
40
|
+
};
|
|
38
41
|
c.displayName = "SliderTicks";
|
|
39
42
|
//#endregion
|
|
40
43
|
export { c as SliderTicks };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { n as e } from "../../cva-
|
|
2
|
-
import { t } from "../../sva-
|
|
1
|
+
import { n as e } from "../../cva-1V8NmPTA.js";
|
|
2
|
+
import { t } from "../../sva-CG-TbBow.js";
|
|
3
3
|
//#region src/components/Spinner/Spinner.styles.ts
|
|
4
4
|
var n = e({
|
|
5
5
|
base: { boxSizing: "border-box" },
|
|
@@ -1,17 +1,20 @@
|
|
|
1
1
|
import { t as e } from "../../cx-QcEwjve6.js";
|
|
2
|
-
import { t } from "../../factory-
|
|
2
|
+
import { t } from "../../factory-Dbc35N0_.js";
|
|
3
3
|
import { GlobalCSSClass as n } from "../../enums.js";
|
|
4
4
|
import { stack as r } from "./Stack.styles.js";
|
|
5
5
|
import { useMemo as i } from "react";
|
|
6
6
|
import { jsx as a } from "react/jsx-runtime";
|
|
7
7
|
//#region src/components/Stack/Stack.tsx
|
|
8
|
-
var o = ({ className: o, element: s, horizontalAlign: c, verticalAlign: l, ...u }) =>
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
8
|
+
var o = ({ className: o, element: s, horizontalAlign: c, verticalAlign: l, ...u }) => {
|
|
9
|
+
let d = i(() => t(s ?? "div", r), [s]);
|
|
10
|
+
return /* @__PURE__ */ a(d, {
|
|
11
|
+
...u,
|
|
12
|
+
flexHorizontalAlign: c,
|
|
13
|
+
flexVerticalAlign: l,
|
|
14
|
+
"data-flex-dir": "column",
|
|
15
|
+
className: e(o, n.Stack)
|
|
16
|
+
});
|
|
17
|
+
};
|
|
15
18
|
o.displayName = "IressStack";
|
|
16
19
|
//#endregion
|
|
17
20
|
export { o as IressStack };
|
|
@@ -1,11 +1,14 @@
|
|
|
1
|
-
import { t as e } from "../../factory-
|
|
1
|
+
import { t as e } from "../../factory-Dbc35N0_.js";
|
|
2
2
|
import { forwardRef as t, useMemo as n } from "react";
|
|
3
3
|
import { jsx as r } from "react/jsx-runtime";
|
|
4
4
|
//#region src/components/Styled/Styled.tsx
|
|
5
|
-
var i = t((t, i) =>
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
5
|
+
var i = t((t, i) => {
|
|
6
|
+
let a = n(() => e(t.element ?? "div"), [t.element]);
|
|
7
|
+
return /* @__PURE__ */ r(a, {
|
|
8
|
+
...t,
|
|
9
|
+
ref: i
|
|
10
|
+
});
|
|
11
|
+
});
|
|
9
12
|
i.displayName = "IressStyled";
|
|
10
13
|
//#endregion
|
|
11
14
|
export { i as IressStyled };
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { t as e } from "../../../cx-QcEwjve6.js";
|
|
2
|
-
import { t } from "../../../factory-
|
|
2
|
+
import { t } from "../../../factory-Dbc35N0_.js";
|
|
3
3
|
import { GlobalCSSClass as n } from "../../../enums.js";
|
|
4
4
|
import { idsLogger as r } from "../../../helpers/utility/idsLogger.js";
|
|
5
5
|
import { useIdIfNeeded as i } from "../../../hooks/useIdIfNeeded.js";
|
|
6
6
|
import { focusableElements as a } from "../../../helpers/dom/focusableElements.js";
|
|
7
|
-
import { n as o } from "../../../floating-ui.react-
|
|
7
|
+
import { n as o } from "../../../floating-ui.react-DP-wD-Nz.js";
|
|
8
8
|
import { TabSetContext as s } from "../TabSetProvider.js";
|
|
9
9
|
import { tab as c } from "./Tab.styles.js";
|
|
10
10
|
import { forwardRef as l, useCallback as u, useContext as d, useEffect as f, useImperativeHandle as p, useLayoutEffect as m, useMemo as h, useRef as g } from "react";
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { t as e } from "../../cx-QcEwjve6.js";
|
|
2
|
-
import { t } from "../../factory-
|
|
2
|
+
import { t } from "../../factory-Dbc35N0_.js";
|
|
3
3
|
import { GlobalCSSClass as n } from "../../enums.js";
|
|
4
4
|
import { propagateTestid as r } from "../../helpers/utility/propagateTestid.js";
|
|
5
|
-
import { t as i } from "../../floating-ui.react-
|
|
5
|
+
import { t as i } from "../../floating-ui.react-DP-wD-Nz.js";
|
|
6
6
|
import { TabSetContext as a, TabSetProvider as o } from "./TabSetProvider.js";
|
|
7
7
|
import { tabSet as s } from "./TabSet.styles.js";
|
|
8
8
|
import { useContext as c, useEffect as l, useLayoutEffect as u, useRef as d, useState as f } from "react";
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as e } from "../../main-
|
|
1
|
+
import { n as e } from "../../main-BY3nH2iz.js";
|
|
2
2
|
export { e as IressTable };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as e, t } from "../../Table.styles-
|
|
1
|
+
import { n as e, t } from "../../Table.styles-CeUw7q9b.js";
|
|
2
2
|
export { e as table, t as tableCell };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as e } from "../../../main-
|
|
1
|
+
import { t as e } from "../../../main-BY3nH2iz.js";
|
|
2
2
|
export { e as IressTableBody };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as e, r as t, t as n } from "../../TableProvider-
|
|
1
|
+
import { n as e, r as t, t as n } from "../../TableProvider-DLIQWfLq.js";
|
|
2
2
|
export { n as TableContext, e as TableProvider, t as getTableContext };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { t as e } from "../../../TableProvider-
|
|
1
|
+
import { t as e } from "../../../TableProvider-DLIQWfLq.js";
|
|
2
2
|
import { useContext as t } from "react";
|
|
3
3
|
import { jsx as n } from "react/jsx-runtime";
|
|
4
4
|
//#region src/components/Table/components/TableEmpty.tsx
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as e } from "../../../main-
|
|
1
|
+
import { a as e } from "../../../main-BY3nH2iz.js";
|
|
2
2
|
export { e as TableFilterButton };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { r as e } from "../../../main-
|
|
1
|
+
import { r as e } from "../../../main-BY3nH2iz.js";
|
|
2
2
|
export { e as TableHeader };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { i as e } from "../../../main-
|
|
1
|
+
import { i as e } from "../../../main-BY3nH2iz.js";
|
|
2
2
|
export { e as TableHeaderCell };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as e } from "../../../TableRows-
|
|
1
|
+
import { t as e } from "../../../TableRows-RGC4_RRZ.js";
|
|
2
2
|
export { e as TableRows };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { n as e } from "../../../Table.styles-
|
|
1
|
+
import { n as e } from "../../../Table.styles-CeUw7q9b.js";
|
|
2
2
|
import { jsx as t, jsxs as n } from "react/jsx-runtime";
|
|
3
3
|
//#region src/components/Table/components/TableSortButton.tsx
|
|
4
4
|
var r = ({ className: e, classNameUp: r, classNameDown: i, screenreaderText: a }) => /* @__PURE__ */ n("svg", {
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as e, r as t, t as n } from "../../../composeTableColumnDefs-
|
|
1
|
+
import { n as e, r as t, t as n } from "../../../composeTableColumnDefs-Ds00wPMn.js";
|
|
2
2
|
export { n as composeTableColumnDefs, e as normalizeColumnFilter, t as tableInArrayFilterFn };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { n as e } from "../../../composeTableColumnDefs-
|
|
1
|
+
import { n as e } from "../../../composeTableColumnDefs-Ds00wPMn.js";
|
|
2
2
|
//#region src/components/Table/helpers/composeTableInitialColumnFilters.ts
|
|
3
3
|
var t = (t) => t ? t.filter((t) => {
|
|
4
4
|
let n = e(t.filter);
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { n as e } from "../../../composeTableColumnDefs-
|
|
2
|
-
import { t } from "../../../TableProvider-
|
|
1
|
+
import { n as e } from "../../../composeTableColumnDefs-Ds00wPMn.js";
|
|
2
|
+
import { t } from "../../../TableProvider-DLIQWfLq.js";
|
|
3
3
|
import { useContext as n, useMemo as r } from "react";
|
|
4
4
|
//#region src/components/Table/hooks/useTableColumnFilter.ts
|
|
5
5
|
var i = ({ columnApi: i, columnKey: a }) => {
|
|
@@ -7,7 +7,7 @@ var i = ({ columnApi: i, columnKey: a }) => {
|
|
|
7
7
|
let e = (s?.values ?? (c ? Array.from(c.keys()) : [])).filter((e) => e != null && e !== "");
|
|
8
8
|
return e.every((e) => typeof e == "string") ? e.sort((e, t) => e.localeCompare(t)) : e;
|
|
9
9
|
}, [c, s?.values]);
|
|
10
|
-
if (
|
|
10
|
+
if (o && s && i?.getCanFilter()) return {
|
|
11
11
|
filterValue: i.getFilterValue() ?? [],
|
|
12
12
|
filterableText: s.filterableText ?? "filterable",
|
|
13
13
|
filterFormat: s.format ?? o.format,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { t as e } from "../../../TableProvider-
|
|
1
|
+
import { t as e } from "../../../TableProvider-DLIQWfLq.js";
|
|
2
2
|
import { useContext as t } from "react";
|
|
3
3
|
//#region src/components/Table/hooks/useTableColumnSort.ts
|
|
4
4
|
var n = ({ columnApi: n, columnKey: r }) => {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { t as e } from "../../../css-
|
|
2
|
-
import { n as t } from "../../../is-valid-prop-
|
|
3
|
-
import { t as n } from "../../../Table.styles-
|
|
4
|
-
import { t as r } from "../../../TableProvider-
|
|
1
|
+
import { t as e } from "../../../css-BRrgGHqo.js";
|
|
2
|
+
import { n as t } from "../../../is-valid-prop-CvqUuuBB.js";
|
|
3
|
+
import { t as n } from "../../../Table.styles-CeUw7q9b.js";
|
|
4
|
+
import { t as r } from "../../../TableProvider-DLIQWfLq.js";
|
|
5
5
|
import { useContext as i } from "react";
|
|
6
6
|
//#region src/components/Table/hooks/useTableColumnStyles.ts
|
|
7
7
|
var a = ({ columnKey: a }) => {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { n as e, t } from "../../main-
|
|
2
|
-
import { n, t as r } from "../../Table.styles-
|
|
1
|
+
import { n as e, t } from "../../main-BY3nH2iz.js";
|
|
2
|
+
import { n, t as r } from "../../Table.styles-CeUw7q9b.js";
|
|
3
3
|
import { IressTableFormattedValue as i } from "./TableFormattedValue/TableFormattedValue.js";
|
|
4
4
|
import { useTable as a } from "./hooks/useTable.js";
|
|
5
5
|
export { e as IressTable, t as IressTableBody, i as IressTableFormattedValue, n as table, r as tableCell, a as useTable };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { t as e } from "../../css-
|
|
1
|
+
import { t as e } from "../../css-BRrgGHqo.js";
|
|
2
2
|
import { t } from "../../cx-QcEwjve6.js";
|
|
3
|
-
import { n } from "../../is-valid-prop-
|
|
3
|
+
import { n } from "../../is-valid-prop-CvqUuuBB.js";
|
|
4
4
|
import { GlobalCSSClass as r } from "../../enums.js";
|
|
5
5
|
import { propagateTestid as i } from "../../helpers/utility/propagateTestid.js";
|
|
6
6
|
import { IressCloseButton as a } from "../Button/CloseButton/CloseButton.js";
|