@iress-oss/ids-components 5.20.0 → 5.20.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/CHANGELOG.md +378 -0
- package/README.md +1 -1
- package/dist/{AutocompleteNoResults-CogA3XZs.js → AutocompleteNoResults-B7El1R2l.js} +1 -1
- package/dist/ComboboxHiddenInput-CWfIj-Zz.js +32 -0
- package/dist/{FieldAppendToLabel-CuSREliL.js → FieldAppendToLabel-BTdzhQ7Z.js} +5 -5
- package/dist/InputBase-Hc9D8St6.js +56 -0
- package/dist/Loading.module-BjceG0Wh.js +13 -0
- package/dist/LoadingSuspense-Bwd232Nt.js +5728 -0
- package/dist/LogoFromSrc-CAdoYYud.js +59 -0
- package/dist/MenuItem.module-BQw_K5D4.js +24 -0
- package/dist/Popover.module-ZU-08mVQ.js +11 -0
- package/dist/PopoverProvider-Cvg6ObBO.js +142 -0
- package/dist/{SelectControl-D1SJlplM.js → SelectControl-WoixPfwh.js} +2 -2
- package/dist/SliderTicks-D-B1uIdS.js +74 -0
- package/dist/TabSet.module-4ohNBuQS.js +13 -0
- package/dist/Table.module-BYwGboft.js +32 -0
- package/dist/components/Alert/Alert.js +2 -2
- package/dist/components/Alert/index.js +1 -1
- package/dist/components/Autocomplete/Autocomplete.js +4 -4
- package/dist/components/Autocomplete/components/AutocompleteInstructions.js +7 -7
- package/dist/components/Autocomplete/components/AutocompleteNoResults.js +1 -1
- package/dist/components/Autocomplete/hooks/useAutocompleteSearch.js +36 -35
- package/dist/components/Autocomplete/index.js +1 -1
- package/dist/components/Badge/Badge.js +5 -5
- package/dist/components/Button/Button.js +3 -3
- package/dist/components/Button/CloseButton/CloseButton.js +2 -2
- package/dist/components/Button/index.js +1 -1
- package/dist/components/ButtonGroup/ButtonGroup.js +3 -3
- package/dist/components/ButtonGroup/ButtonGroupProvider.js +22 -22
- package/dist/components/ButtonGroup/hooks/useIDSButtonGroupItem.js +2 -2
- package/dist/components/ButtonGroup/index.js +1 -1
- package/dist/components/Card/helpers/composeIDSCard.js +1 -1
- package/dist/components/Checkbox/Checkbox.js +2 -2
- package/dist/components/Checkbox/helpers/mapCheckboxGroupOptions.js +11 -11
- package/dist/components/Checkbox/index.js +1 -1
- package/dist/components/CheckboxGroup/CheckboxGroup.js +74 -75
- package/dist/components/CheckboxMark/CheckboxMark.js +1 -1
- package/dist/components/CheckboxMark/CheckboxMark.types.js +2 -2
- package/dist/components/Col/Col.js +1 -1
- package/dist/components/Combobox/Combobox.js +4 -4
- package/dist/components/Combobox/MultiCombobox/MultiCombobox.js +4 -4
- package/dist/components/Combobox/components/ComboboxHiddenInput.js +2 -2
- package/dist/components/Combobox/components/ComboboxResults.js +6 -6
- package/dist/components/Combobox/components/ComboboxResultsDescriptor.js +4 -4
- package/dist/components/Combobox/hooks/useComboboxInlineCompletion.js +34 -37
- package/dist/components/Combobox/index.js +1 -1
- package/dist/components/Container/Container.js +1 -1
- package/dist/components/Divider/Divider.js +1 -1
- package/dist/components/Expander/Expander.js +48 -48
- package/dist/components/Field/Field.js +47 -47
- package/dist/components/Field/FieldGroup/FieldGroup.js +59 -59
- package/dist/components/Field/components/FieldAppendToLabel.js +5 -5
- package/dist/components/Filter/Filter.js +4 -4
- package/dist/components/Filter/components/FilterResetButton.js +4 -4
- package/dist/components/Filter/components/FilterSearch.js +4 -4
- package/dist/components/Filter/index.js +1 -1
- package/dist/components/Form/Form.js +1 -1
- package/dist/components/Form/FormField/FormField.js +46 -49
- package/dist/components/Form/FormField/FormFieldset.js +42 -45
- package/dist/components/Form/FormField/helpers/getErrorTypeMessage.js +10 -10
- package/dist/components/Form/HookForm/HookForm.js +2 -2
- package/dist/components/Form/components/FormValidationSummary.js +15 -16
- package/dist/components/Form/index.js +1 -1
- package/dist/components/Hide/Hide.js +2 -2
- package/dist/components/Hide/helpers/composeHideClasses.js +4 -4
- package/dist/components/Hide/index.js +1 -1
- package/dist/components/Icon/Icon.js +4 -4
- package/dist/components/Icon/index.js +1 -1
- package/dist/components/Inline/Inline.js +4 -4
- package/dist/components/Inline/index.js +1 -1
- package/dist/components/Input/ClearButton/ClearButton.js +1 -1
- package/dist/components/Input/Input.js +3 -3
- package/dist/components/Input/InputBase/InputBase.js +2 -2
- package/dist/components/Input/index.js +1 -1
- package/dist/components/InputCurrency/InputCurrency.js +1 -1
- package/dist/components/InputCurrency/index.js +1 -1
- package/dist/components/Label/LabelBase/LabelBase.js +37 -37
- package/dist/components/Menu/Menu.js +1 -1
- package/dist/components/Menu/MenuDivider/MenuDivider.js +4 -4
- package/dist/components/Menu/MenuHeading/MenuHeading.js +3 -3
- package/dist/components/Menu/MenuItem/MenuItem.js +1 -1
- package/dist/components/Menu/MenuItem/hooks/useMenuItemAria.js +7 -7
- package/dist/components/Menu/MenuItem/hooks/useMenuItemButtonProps.js +30 -30
- package/dist/components/Menu/MenuItem/hooks/useMenuItemComposite.js +2 -2
- package/dist/components/Menu/MenuItem/hooks/useMenuItemInteractions.js +47 -49
- package/dist/components/Menu/MenuItem/hooks/useMenuItemRole.js +5 -5
- package/dist/components/Menu/MenuText/MenuText.js +5 -5
- package/dist/components/Menu/helpers/mapMenuItems.js +21 -21
- package/dist/components/Menu/hooks/useMenuAria.js +2 -2
- package/dist/components/Menu/hooks/useMenuComposite.js +6 -6
- package/dist/components/Menu/hooks/useMenuRole.js +10 -10
- package/dist/components/Menu/hooks/useMenuStyles.js +18 -18
- package/dist/components/Menu/index.js +1 -1
- package/dist/components/Modal/Modal.js +3 -3
- package/dist/components/Modal/hooks/useIDSProvidedModal.js +8 -8
- package/dist/components/Modal/index.js +1 -1
- package/dist/components/Navbar/Navbar.js +3 -3
- package/dist/components/Navbar/components/HomeLinkContent.js +2 -2
- package/dist/components/Navbar/components/LogoFromSrc.js +1 -1
- package/dist/components/Navbar/components/NavbarLogo.js +3 -3
- package/dist/components/Navbar/index.js +1 -1
- package/dist/components/Panel/Panel.js +1 -1
- package/dist/components/Placeholder/Placeholder.js +20 -20
- package/dist/components/Popover/InputPopover/InputPopover.js +2 -2
- package/dist/components/Popover/InputPopover/InputPopoverActivator.js +40 -43
- package/dist/components/Popover/InputPopover/InputPopoverProvider.js +61 -61
- package/dist/components/Popover/Popover.js +3 -3
- package/dist/components/Popover/PopoverProvider.js +2 -2
- package/dist/components/Popover/components/NestedPopoverActivator.js +1 -1
- package/dist/components/Popover/components/PopoverActivator.js +53 -58
- package/dist/components/Popover/components/PopoverContent.js +31 -31
- package/dist/components/Popover/helpers/composeFloatingProps.js +21 -24
- package/dist/components/Popover/helpers/handlePopoverTabKey.js +2 -2
- package/dist/components/Popover/hooks/usePopover.js +1 -1
- package/dist/components/Popover/hooks/usePopoverActivatorInteractions.js +23 -26
- package/dist/components/Popover/hooks/usePopoverImperativeHandle.js +17 -17
- package/dist/components/Popover/hooks/usePopoverItem.js +13 -14
- package/dist/components/Popover/hooks/usePopoverNavigation.js +22 -22
- package/dist/components/Progress/Progress.js +2 -2
- package/dist/components/Provider/Provider.js +1 -1
- package/dist/components/Radio/Radio.js +2 -2
- package/dist/components/Radio/helpers/mapRadioGroupOptions.js +8 -8
- package/dist/components/Radio/index.js +1 -1
- package/dist/components/RadioGroup/RadioGroup.js +68 -56
- package/dist/components/RadioGroup/index.js +6 -5
- package/dist/components/Readonly/Readonly.js +5 -5
- package/dist/components/Readonly/index.js +1 -1
- package/dist/components/RichSelect/RichSelect.js +3 -3
- package/dist/components/RichSelect/SelectBody/SelectBody.js +4 -4
- package/dist/components/RichSelect/SelectCreate/SelectCreate.js +4 -4
- package/dist/components/RichSelect/SelectHeading/SelectHeading.js +4 -4
- package/dist/components/RichSelect/SelectLabel/SelectLabel.js +2 -2
- package/dist/components/RichSelect/SelectMenu/SelectMenu.js +4 -4
- package/dist/components/RichSelect/SelectMenu/SelectMenuItem.js +4 -4
- package/dist/components/RichSelect/SelectSearch/SelectSearch.js +3 -3
- package/dist/components/RichSelect/SelectSearchInput/SelectSearchInput.js +2 -2
- package/dist/components/RichSelect/SelectTags/SelectTags.js +3 -3
- package/dist/components/RichSelect/components/SelectActivator.js +1 -1
- package/dist/components/RichSelect/components/SelectOptions.js +4 -4
- package/dist/components/RichSelect/index.js +1 -1
- package/dist/components/Row/Row.js +4 -4
- package/dist/components/Row/index.js +1 -1
- package/dist/components/Select/Select.js +3 -3
- package/dist/components/Select/components/SelectControl.js +2 -2
- package/dist/components/Select/components/SelectReadonly.js +4 -4
- package/dist/components/Select/helpers/mapSelectOptions.js +9 -9
- package/dist/components/Select/helpers/nodesToSelectOptions.js +1 -1
- package/dist/components/Select/index.js +1 -1
- package/dist/components/Skeleton/Skeleton.js +11 -11
- package/dist/components/SkipLink/SkipLink.js +2 -2
- package/dist/components/Slideout/Slideout.js +4 -4
- package/dist/components/Slideout/components/SlideoutInner.js +3 -3
- package/dist/components/Slideout/hooks/useIDSProvidedSlideout.js +7 -7
- package/dist/components/Slideout/index.js +1 -1
- package/dist/components/Slider/Slider.js +3 -3
- package/dist/components/Slider/components/SliderTicks.js +2 -2
- package/dist/components/Slider/index.js +1 -1
- package/dist/components/Spinner/Spinner.js +2 -2
- package/dist/components/Spinner/index.js +1 -1
- package/dist/components/Stack/Stack.js +1 -1
- package/dist/components/TabSet/Tab/Tab.js +52 -52
- package/dist/components/TabSet/TabSet.js +24 -24
- package/dist/components/TabSet/TabSetProvider.js +30 -30
- package/dist/components/TabSet/components/TabSetItem.js +31 -32
- package/dist/components/TabSet/helpers/mapTabs.js +19 -19
- package/dist/components/Table/Table.js +3 -3
- package/dist/components/Table/TableBody/TableBody.js +91 -91
- package/dist/components/Table/TableProvider.js +2 -2
- package/dist/components/Table/components/TableEmpty.js +8 -8
- package/dist/components/Table/components/TableHeader.js +2 -2
- package/dist/components/Table/components/TableHeaderCell.js +1 -1
- package/dist/components/Table/components/TableRows.js +34 -34
- package/dist/components/Table/components/TableSortButton.js +3 -3
- package/dist/components/Table/helpers/composeIDSTableColumnDefs.js +22 -22
- package/dist/components/Table/helpers/composeIDSTableInitialSorting.js +2 -2
- package/dist/components/Table/hooks/useIDSTableColumnSort.js +6 -6
- package/dist/components/Table/hooks/useIDSTableColumnStyles.js +14 -15
- package/dist/components/Table/index.js +1 -1
- package/dist/components/Tag/Tag.js +2 -2
- package/dist/components/Tag/TagInput/TagInput.js +1 -1
- package/dist/components/Tag/components/TagListInput/TagListInput.js +2 -2
- package/dist/components/Tag/index.js +1 -1
- package/dist/components/Text/Text.js +1 -1
- package/dist/components/Toaster/Toast/Toast.js +2 -2
- package/dist/components/Toaster/Toast/ToastAnimated.js +3 -3
- package/dist/components/Toaster/Toast/ToastIcon.js +1 -1
- package/dist/components/Toaster/Toaster.js +3 -3
- package/dist/components/Toaster/ToasterProvider.js +1 -1
- package/dist/components/Toaster/hooks/useToaster.js +1 -1
- package/dist/components/Toaster/index.js +1 -1
- package/dist/components/Toggle/Toggle.js +25 -25
- package/dist/components/Tooltip/Tooltip.js +3 -3
- package/dist/components/ValidationMessage/ValidationBase/ValidationBase.js +2 -2
- package/dist/components/ValidationMessage/ValidationSummary/ValidationSummary.js +2 -2
- package/dist/constants.js +1 -1
- package/dist/floating-ui.react-DYBeYtOf.js +3464 -0
- package/dist/fuzzysort-BNka47rs.js +395 -0
- package/dist/helpers/dom/closestCrossShadow.js +16 -17
- package/dist/helpers/dom/focusableElements.js +6 -6
- package/dist/helpers/dom/getActiveElement.js +5 -6
- package/dist/helpers/formatting/formatDateTime.js +8 -7
- package/dist/helpers/label-value/composeLabelValueDescriptor.js +8 -8
- package/dist/helpers/label-value/getQueryRangeExclusive.js +1 -1
- package/dist/helpers/label-value/getValueFromLabelValues.js +5 -6
- package/dist/helpers/label-value/highlightQueryInLabel.js +4 -7
- package/dist/helpers/label-value/searchLabelValues.js +1 -1
- package/dist/helpers/responsive/getResponsiveLayoutModifiers.js +4 -4
- package/dist/helpers/transition/getTransitionDuration.js +5 -8
- package/dist/hooks/useAriaRelationship.js +19 -21
- package/dist/hooks/useBreakpoint.js +8 -11
- package/dist/hooks/useControlledState.js +40 -40
- package/dist/{index-BQfnxwrU.js → index-BaVtNOfa.js} +41 -51
- package/dist/{index-Dms7F5NM.js → index-DLnR8XTt.js} +1 -11
- package/dist/{index-2QXL0WYc.js → index-cbHCAGLB.js} +2 -7
- package/dist/{index.esm-BnSuefUA.js → index.esm-CL8gh5wr.js} +1 -5
- package/dist/main.js +159 -158
- package/dist/patterns/Loading/Loading.js +1 -1
- package/dist/patterns/Loading/LoadingSuspense.js +1 -1
- package/dist/patterns/Loading/components/ComponentLoading.js +3 -3
- package/dist/patterns/Loading/components/DefaultLoading.js +3 -3
- package/dist/patterns/Loading/components/LongLoading.js +42 -42
- package/dist/patterns/Loading/components/PageLoading.js +3 -3
- package/dist/patterns/Loading/components/StartUpLoading.js +65 -65
- package/dist/patterns/Loading/components/ValidateLoading.js +3 -3
- package/dist/patterns/Loading/index.js +1 -1
- package/dist/src/components/InputCurrency/InputCurrency.d.ts +1 -2
- package/dist/src/components/RadioGroup/RadioGroup.d.ts +5 -0
- package/dist/src/components/TabSet/TabSet.types.d.ts +1 -1
- package/dist/src/components/Table/Table.types.d.ts +1 -1
- package/dist/src/components/Table/helpers/composeIDSTableColumnDefs.d.ts +1 -1
- package/dist/src/components/Table/helpers/findColumnByKey.d.ts +1 -1
- package/dist/src/components/Toaster/hooks/useToaster.d.ts +1 -1
- package/dist/style.css +1 -1
- package/dist/useIDSButtonGroupItem-BB7Moa3N.js +29 -0
- package/package.json +67 -38
- package/dist/ComboboxHiddenInput-gTOjjF3f.js +0 -32
- package/dist/InputBase-BFK9n82f.js +0 -56
- package/dist/Loading.module-g2pe-Gfx.js +0 -13
- package/dist/LoadingSuspense-D9nGJ3gx.js +0 -5773
- package/dist/LogoFromSrc-BnImWqt6.js +0 -59
- package/dist/MenuItem.module-BxcFZeSh.js +0 -24
- package/dist/Popover.module-BKrF_xRW.js +0 -11
- package/dist/PopoverProvider-d3hhpW2k.js +0 -142
- package/dist/SliderTicks-DQN0Ka4d.js +0 -78
- package/dist/TabSet.module-FRUnHgA1.js +0 -13
- package/dist/Table.module-r-RfIeLI.js +0 -32
- package/dist/floating-ui.react-nmA48tb2.js +0 -3463
- package/dist/fuzzysort-eoXOpoo6.js +0 -395
- package/dist/useIDSButtonGroupItem-VfKx4O-O.js +0 -30
- package/dist/vite.config.d.ts +0 -2
- package/dist/vitest.config.d.ts +0 -2
- package/dist/vitest.setup.d.ts +0 -0
- /package/{LICENSE.txt → LICENSE} +0 -0
|
@@ -1,42 +1,42 @@
|
|
|
1
|
-
import { jsx as
|
|
2
|
-
import { IressTableFormattedValue as
|
|
3
|
-
import { formatObjectKey as
|
|
4
|
-
import { getFormatFromValue as
|
|
5
|
-
import { c as
|
|
6
|
-
const
|
|
7
|
-
const
|
|
8
|
-
return
|
|
1
|
+
import { jsx as l } from "react/jsx-runtime";
|
|
2
|
+
import { IressTableFormattedValue as m } from "../TableFormattedValue/TableFormattedValue.js";
|
|
3
|
+
import { formatObjectKey as c } from "../../../helpers/formatting/formatObjectKey.js";
|
|
4
|
+
import { getFormatFromValue as p } from "./getFormatFromValue.js";
|
|
5
|
+
import { c as f } from "../../../index-BaVtNOfa.js";
|
|
6
|
+
const j = (n, o) => {
|
|
7
|
+
const a = f();
|
|
8
|
+
return o ? (Array.isArray(o) ? o.map((e) => [
|
|
9
9
|
e.key,
|
|
10
10
|
e
|
|
11
|
-
]) : Object.entries(
|
|
12
|
-
const
|
|
11
|
+
]) : Object.entries(o)).map(([e, r]) => {
|
|
12
|
+
const i = !!r?.sort || !!r?.sortFn, s = {
|
|
13
13
|
id: e,
|
|
14
|
-
cell: (t) => /* @__PURE__ */
|
|
15
|
-
|
|
14
|
+
cell: (t) => /* @__PURE__ */ l(
|
|
15
|
+
m,
|
|
16
16
|
{
|
|
17
|
-
currencyCode: r
|
|
18
|
-
format:
|
|
17
|
+
currencyCode: r?.currencyCode,
|
|
18
|
+
format: r?.format ?? p(t.getValue()),
|
|
19
19
|
value: t.getValue(),
|
|
20
20
|
row: t.row.original
|
|
21
21
|
}
|
|
22
22
|
),
|
|
23
|
-
header: () => r
|
|
24
|
-
enableSorting:
|
|
23
|
+
header: () => r?.label,
|
|
24
|
+
enableSorting: i
|
|
25
25
|
};
|
|
26
|
-
return r
|
|
26
|
+
return r?.sortFn && (s.sortingFn = r.sortFn), a.accessor(
|
|
27
27
|
(t) => t[e],
|
|
28
|
-
|
|
28
|
+
s
|
|
29
29
|
// The typing is weird, cannot get it to work without the never cast, its typed properly above anyway
|
|
30
30
|
);
|
|
31
|
-
}) : Object.keys(
|
|
32
|
-
(e) =>
|
|
31
|
+
}) : Object.keys(n[0] ?? {}).map(
|
|
32
|
+
(e) => a.accessor((r) => r[e], {
|
|
33
33
|
id: e,
|
|
34
34
|
cell: (r) => r.getValue(),
|
|
35
|
-
header: () =>
|
|
35
|
+
header: () => c(e),
|
|
36
36
|
enableSorting: !1
|
|
37
37
|
})
|
|
38
38
|
);
|
|
39
39
|
};
|
|
40
40
|
export {
|
|
41
|
-
|
|
41
|
+
j as composeIDSTableColumnDefs
|
|
42
42
|
};
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
const s = (t) => t ? (Array.isArray(t) ? t.map((r) => [
|
|
2
2
|
r.key,
|
|
3
3
|
r
|
|
4
|
-
]) : Object.entries(t)).filter(([, r]) => typeof
|
|
4
|
+
]) : Object.entries(t)).filter(([, r]) => typeof r?.sort == "string").map(([r, e]) => ({
|
|
5
5
|
id: r,
|
|
6
|
-
desc:
|
|
6
|
+
desc: e?.sort === "desc"
|
|
7
7
|
})) : [];
|
|
8
8
|
export {
|
|
9
9
|
s as composeIDSTableInitialSorting
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { useTable as i } from "./useTable.js";
|
|
2
|
-
const
|
|
2
|
+
const l = ({
|
|
3
3
|
columnApi: r,
|
|
4
|
-
columnKey:
|
|
4
|
+
columnKey: n
|
|
5
5
|
}) => {
|
|
6
|
-
const e = i(), t = e
|
|
7
|
-
if (!t || !
|
|
8
|
-
const o = e.api.getState().sorting.find((g) => g.id ===
|
|
6
|
+
const e = i(), t = e?.getColumnByKey(n), s = t?.sort ?? t?.sortFn;
|
|
7
|
+
if (!t || !s || !r?.getCanSort()) return;
|
|
8
|
+
const o = e.api.getState().sorting.find((g) => g.id === n), a = o?.desc ? "descending" : "ascending";
|
|
9
9
|
return {
|
|
10
10
|
buttonProps: {
|
|
11
11
|
label: t.sortableText,
|
|
@@ -20,5 +20,5 @@ const S = ({
|
|
|
20
20
|
};
|
|
21
21
|
};
|
|
22
22
|
export {
|
|
23
|
-
|
|
23
|
+
l as useIDSTableColumnSort
|
|
24
24
|
};
|
|
@@ -1,25 +1,24 @@
|
|
|
1
|
-
import { s as r } from "../../../Table.module-
|
|
2
|
-
import { c as
|
|
3
|
-
import { useTable as
|
|
4
|
-
const
|
|
5
|
-
columnKey:
|
|
1
|
+
import { s as r } from "../../../Table.module-BYwGboft.js";
|
|
2
|
+
import { c as t } from "../../../index-cbHCAGLB.js";
|
|
3
|
+
import { useTable as i } from "./useTable.js";
|
|
4
|
+
const n = ({
|
|
5
|
+
columnKey: l
|
|
6
6
|
}) => {
|
|
7
|
-
|
|
8
|
-
const e = (t = a()) == null ? void 0 : t.getColumnByKey(i);
|
|
7
|
+
const e = i()?.getColumnByKey(l);
|
|
9
8
|
if (e)
|
|
10
9
|
return {
|
|
11
|
-
className:
|
|
12
|
-
[r[`cell--${e
|
|
13
|
-
[r.divider]: e
|
|
14
|
-
[r["cell--number"]]:
|
|
15
|
-
[r["cell--currency"]]:
|
|
10
|
+
className: t({
|
|
11
|
+
[r[`cell--${e?.align}`]]: e?.align,
|
|
12
|
+
[r.divider]: e?.divider,
|
|
13
|
+
[r["cell--number"]]: e?.format === "number",
|
|
14
|
+
[r["cell--currency"]]: e?.format === "currency"
|
|
16
15
|
}),
|
|
17
16
|
style: {
|
|
18
|
-
width: e
|
|
19
|
-
minWidth: e
|
|
17
|
+
width: e?.width,
|
|
18
|
+
minWidth: e?.width
|
|
20
19
|
}
|
|
21
20
|
};
|
|
22
21
|
};
|
|
23
22
|
export {
|
|
24
|
-
|
|
23
|
+
n as useIDSTableColumnStyles
|
|
25
24
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { TABLE_CELL_FORMATS as r, TABLE_COLUMN_ALIGN as l, TABLE_SCOPES as a, TableCellFormat as T, TableColumnAlign as m, TableScope as s } from "./Table.types.js";
|
|
2
|
-
import { J as L } from "../../LoadingSuspense-
|
|
2
|
+
import { J as L } from "../../LoadingSuspense-Bwd232Nt.js";
|
|
3
3
|
import { IressTableFormattedValue as A } from "./TableFormattedValue/TableFormattedValue.js";
|
|
4
4
|
import { IressTableBody as C } from "./TableBody/TableBody.js";
|
|
5
5
|
export {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import "react/jsx-runtime";
|
|
2
2
|
import "react";
|
|
3
|
-
import "../../index-
|
|
4
|
-
import { K as s } from "../../LoadingSuspense-
|
|
3
|
+
import "../../index-cbHCAGLB.js";
|
|
4
|
+
import { K as s } from "../../LoadingSuspense-Bwd232Nt.js";
|
|
5
5
|
import "../../helpers/utility/propagateTestid.js";
|
|
6
6
|
export {
|
|
7
7
|
s as IressTag
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import "react/jsx-runtime";
|
|
2
2
|
import "react";
|
|
3
3
|
import "../../../hooks/useControlledState.js";
|
|
4
|
-
import { L as s } from "../../../LoadingSuspense-
|
|
4
|
+
import { L as s } from "../../../LoadingSuspense-Bwd232Nt.js";
|
|
5
5
|
import "../../../helpers/form/getValueAsEvent.js";
|
|
6
6
|
export {
|
|
7
7
|
s as IressTagInput
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import "react/jsx-runtime";
|
|
2
|
-
import "../../../../index-
|
|
2
|
+
import "../../../../index-cbHCAGLB.js";
|
|
3
3
|
import "react";
|
|
4
4
|
import "../../../../helpers/utility/propagateTestid.js";
|
|
5
|
-
import { a0 as a } from "../../../../LoadingSuspense-
|
|
5
|
+
import { a0 as a } from "../../../../LoadingSuspense-Bwd232Nt.js";
|
|
6
6
|
export {
|
|
7
7
|
a as TagListInput
|
|
8
8
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsx as x } from "react/jsx-runtime";
|
|
2
|
-
import { c as d } from "../../index-
|
|
2
|
+
import { c as d } from "../../index-cbHCAGLB.js";
|
|
3
3
|
import { GlobalCSSClass as T, TextMode as c, TextElement as p, TextAlign as B, TextVariant as $ } from "../../enums.js";
|
|
4
4
|
const e = ({
|
|
5
5
|
align: t,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import "react/jsx-runtime";
|
|
2
|
-
import "../../../index-
|
|
3
|
-
import { M as f, T as x } from "../../../LoadingSuspense-
|
|
2
|
+
import "../../../index-cbHCAGLB.js";
|
|
3
|
+
import { M as f, T as x } from "../../../LoadingSuspense-Bwd232Nt.js";
|
|
4
4
|
import "../../../enums.js";
|
|
5
5
|
import "../../../helpers/utility/propagateTestid.js";
|
|
6
6
|
import "../../Inline/Inline.types.js";
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import "react/jsx-runtime";
|
|
2
2
|
import "react";
|
|
3
|
-
import "../../../index-
|
|
4
|
-
import { a6 as s } from "../../../LoadingSuspense-
|
|
3
|
+
import "../../../index-cbHCAGLB.js";
|
|
4
|
+
import { a6 as s } from "../../../LoadingSuspense-Bwd232Nt.js";
|
|
5
5
|
import "../../../helpers/transition/getTransitionDuration.js";
|
|
6
|
-
import "../../../floating-ui.react-
|
|
6
|
+
import "../../../floating-ui.react-DYBeYtOf.js";
|
|
7
7
|
export {
|
|
8
8
|
s as IressToastAnimated
|
|
9
9
|
};
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import "react/jsx-runtime";
|
|
2
2
|
import "react";
|
|
3
3
|
import "./Toaster.types.js";
|
|
4
|
-
import "../../index-
|
|
5
|
-
import { a7 as f } from "../../LoadingSuspense-
|
|
4
|
+
import "../../index-cbHCAGLB.js";
|
|
5
|
+
import { a7 as f } from "../../LoadingSuspense-Bwd232Nt.js";
|
|
6
6
|
import "../../enums.js";
|
|
7
7
|
import "../Stack/Stack.js";
|
|
8
|
-
import "../../floating-ui.react-
|
|
8
|
+
import "../../floating-ui.react-DYBeYtOf.js";
|
|
9
9
|
export {
|
|
10
10
|
f as IressToaster
|
|
11
11
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { TOAST_ANIMATION as r, TOAST_STATUS as s } from "./Toast/Toast.types.js";
|
|
2
2
|
import { TOASTER_ARIA_ATTRIBUTES as e, TOASTER_POSITION as t, TOAST_POSITION_ANIMATION_MATRIX as I, ToasterPosition as O } from "./Toaster.types.js";
|
|
3
|
-
import { M as S, O as _, T as N, N as x } from "../../LoadingSuspense-
|
|
3
|
+
import { M as S, O as _, T as N, N as x } from "../../LoadingSuspense-Bwd232Nt.js";
|
|
4
4
|
import { useToaster as f } from "./hooks/useToaster.js";
|
|
5
5
|
export {
|
|
6
6
|
S as IressToast,
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { jsxs as
|
|
2
|
-
import { c as a } from "../../index-
|
|
3
|
-
import { forwardRef as
|
|
1
|
+
import { jsxs as p, jsx as l } from "react/jsx-runtime";
|
|
2
|
+
import { c as a } from "../../index-cbHCAGLB.js";
|
|
3
|
+
import { forwardRef as f, useState as C, useId as B, useEffect as x } from "react";
|
|
4
4
|
import { GlobalCSSClass as I } from "../../enums.js";
|
|
5
5
|
import { propagateTestid as u } from "../../helpers/utility/propagateTestid.js";
|
|
6
6
|
import "../CheckboxMark/CheckboxMark.types.js";
|
|
7
7
|
import { IressCheckboxMark as N } from "../CheckboxMark/CheckboxMark.js";
|
|
8
8
|
import { ButtonCssClass as T } from "../Button/Button.types.js";
|
|
9
9
|
import { ToggleLayout as w } from "./Toggle.types.js";
|
|
10
|
-
const L = "ids-toggle--toggle-base-
|
|
10
|
+
const L = "ids-toggle--toggle-base-v5203", M = "ids-toggle--checkbox-mark-v5203", S = "ids-toggle--toggle-button-v5203", j = "ids-toggle--button-checked-v5203", R = "ids-toggle--toggle-button-container-v5203", $ = "ids-toggle--label-v5203", E = "ids-toggle--layout__inline-v5203", G = "ids-toggle--layout__stack-v5203", t = {
|
|
11
11
|
toggleBase: L,
|
|
12
12
|
checkboxMark: M,
|
|
13
13
|
toggleButton: S,
|
|
@@ -15,53 +15,53 @@ const L = "ids-toggle--toggle-base-v5200", M = "ids-toggle--checkbox-mark-v5200"
|
|
|
15
15
|
toggleButtonContainer: R,
|
|
16
16
|
label: $,
|
|
17
17
|
layout__inline: E,
|
|
18
|
-
"layout__inline-reverse": "ids-toggle--layout__inline-reverse-
|
|
19
|
-
"layout__inline-between": "ids-toggle--layout__inline-between-
|
|
18
|
+
"layout__inline-reverse": "ids-toggle--layout__inline-reverse-v5203",
|
|
19
|
+
"layout__inline-between": "ids-toggle--layout__inline-between-v5203",
|
|
20
20
|
layout__stack: G
|
|
21
21
|
}, O = ({
|
|
22
22
|
hiddenLabel: o,
|
|
23
|
-
children:
|
|
23
|
+
children: s,
|
|
24
24
|
"data-testid": n,
|
|
25
|
-
...
|
|
25
|
+
...i
|
|
26
26
|
}) => /* @__PURE__ */ l(
|
|
27
27
|
"span",
|
|
28
28
|
{
|
|
29
|
-
...
|
|
29
|
+
...i,
|
|
30
30
|
className: a(t.label, {
|
|
31
31
|
[I.SROnly]: o
|
|
32
32
|
}),
|
|
33
33
|
"data-testid": u(n, "label"),
|
|
34
|
-
children:
|
|
34
|
+
children: s
|
|
35
35
|
}
|
|
36
|
-
), b =
|
|
36
|
+
), b = f(
|
|
37
37
|
({
|
|
38
38
|
checked: o = !1,
|
|
39
|
-
hiddenLabel:
|
|
39
|
+
hiddenLabel: s,
|
|
40
40
|
children: n,
|
|
41
|
-
layout:
|
|
41
|
+
layout: i = "inline",
|
|
42
42
|
className: m,
|
|
43
|
-
onChange:
|
|
44
|
-
"data-testid":
|
|
43
|
+
onChange: c,
|
|
44
|
+
"data-testid": g,
|
|
45
45
|
..._
|
|
46
46
|
}, k) => {
|
|
47
|
-
const [e, r] =
|
|
48
|
-
hiddenLabel:
|
|
47
|
+
const [e, r] = C(o), d = `toggleLabel--${B()}`, y = {
|
|
48
|
+
hiddenLabel: s,
|
|
49
49
|
id: d,
|
|
50
|
-
"data-testid":
|
|
51
|
-
},
|
|
52
|
-
r(!e),
|
|
50
|
+
"data-testid": g
|
|
51
|
+
}, h = (v) => {
|
|
52
|
+
r(!e), c?.(!e, v);
|
|
53
53
|
};
|
|
54
54
|
return x(() => {
|
|
55
55
|
r(o);
|
|
56
|
-
}, [o,
|
|
56
|
+
}, [o, c]), /* @__PURE__ */ p(
|
|
57
57
|
"div",
|
|
58
58
|
{
|
|
59
|
-
"data-testid":
|
|
59
|
+
"data-testid": g,
|
|
60
60
|
..._,
|
|
61
61
|
className: a(
|
|
62
62
|
m,
|
|
63
63
|
t.toggleBase,
|
|
64
|
-
t[`layout__${
|
|
64
|
+
t[`layout__${i}`]
|
|
65
65
|
),
|
|
66
66
|
ref: k,
|
|
67
67
|
children: [
|
|
@@ -75,9 +75,9 @@ const L = "ids-toggle--toggle-base-v5200", M = "ids-toggle--checkbox-mark-v5200"
|
|
|
75
75
|
role: "switch",
|
|
76
76
|
type: "button",
|
|
77
77
|
"aria-checked": e,
|
|
78
|
-
onClick:
|
|
78
|
+
onClick: h,
|
|
79
79
|
"aria-labelledby": d,
|
|
80
|
-
"data-testid": u(
|
|
80
|
+
"data-testid": u(g, "button__button"),
|
|
81
81
|
children: /* @__PURE__ */ l(
|
|
82
82
|
N,
|
|
83
83
|
{
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { jsxs as f, jsx as a } from "react/jsx-runtime";
|
|
2
2
|
import { useState as P, useEffect as R, Fragment as S } from "react";
|
|
3
|
-
import { c as j } from "../../index-
|
|
4
|
-
import { i as E, o as H, p as L, h as M, q as k, r as q, t as B, k as D, l as G, m as U } from "../../floating-ui.react-
|
|
3
|
+
import { c as j } from "../../index-cbHCAGLB.js";
|
|
4
|
+
import { i as E, o as H, p as L, h as M, q as k, r as q, t as B, k as D, l as G, m as U } from "../../floating-ui.react-DYBeYtOf.js";
|
|
5
5
|
import { FloatingUIAlign as W } from "../../enums.js";
|
|
6
6
|
import { propagateTestid as m } from "../../helpers/utility/propagateTestid.js";
|
|
7
7
|
import { toArray as z } from "../../helpers/formatting/toArray.js";
|
|
8
8
|
import { idsLogger as J } from "../../helpers/utility/idsLogger.js";
|
|
9
9
|
import { focusableElements as K } from "../../helpers/dom/focusableElements.js";
|
|
10
|
-
const Q = "ids-tooltip-
|
|
10
|
+
const Q = "ids-tooltip-v5203", V = "ids-tooltip--content-v5203", r = {
|
|
11
11
|
tooltip: Q,
|
|
12
12
|
content: V
|
|
13
13
|
}, X = ({
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { jsxs as l, jsx as n } from "react/jsx-runtime";
|
|
2
|
-
import { c as r } from "../../../index-
|
|
2
|
+
import { c as r } from "../../../index-cbHCAGLB.js";
|
|
3
3
|
import { capitalizeFirstLetter as g } from "../../../helpers/formatting/capitalizeFirstLetter.js";
|
|
4
4
|
import { GlobalCSSClass as m } from "../../../enums.js";
|
|
5
|
-
const v = "ids-validation-message-
|
|
5
|
+
const v = "ids-validation-message-v5203", f = "ids-validation-message--prefix-v5203", x = "ids-validation-message--message-v5203", p = "ids-validation-message--danger-v5203", u = "ids-validation-message--warning-v5203", N = "ids-validation-message--success-v5203", w = "ids-validation-message--info-v5203", e = {
|
|
6
6
|
validationMessage: v,
|
|
7
7
|
prefix: f,
|
|
8
8
|
message: x,
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { jsx as i } from "react/jsx-runtime";
|
|
2
|
-
import { c as u } from "../../../index-
|
|
2
|
+
import { c as u } from "../../../index-cbHCAGLB.js";
|
|
3
3
|
import { propagateTestid as f } from "../../../helpers/utility/propagateTestid.js";
|
|
4
4
|
import { IressValidationMessage as p } from "../ValidationMessage.js";
|
|
5
5
|
import "react";
|
|
6
6
|
import { useIdIfNeeded as c } from "../../../hooks/useIdIfNeeded.js";
|
|
7
7
|
import { IressValidationLink as y } from "../ValidationLink/ValidationLink.js";
|
|
8
|
-
const v = "ids-validation-summary-
|
|
8
|
+
const v = "ids-validation-summary-v5203", I = {
|
|
9
9
|
validationSummary: v
|
|
10
10
|
}, S = ({
|
|
11
11
|
children: a,
|
package/dist/constants.js
CHANGED