@iress-oss/ids-components 0.0.1-dev.15 → 0.0.1-dev.16
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/{AutocompleteNoResults-Z4L_A4F_.js → AutocompleteNoResults-CogA3XZs.js} +1 -1
- package/dist/{ComboboxHiddenInput-gJl1k-Vp.js → ComboboxHiddenInput-gTOjjF3f.js} +5 -5
- package/dist/{FieldAppendToLabel-BwLGkQ_D.js → FieldAppendToLabel-DCv5E5th.js} +11 -10
- package/dist/{InputBase-Dt3vHG19.js → InputBase-BFK9n82f.js} +1 -1
- package/dist/Loading.module-g2pe-Gfx.js +13 -0
- package/dist/LoadingSuspense-BwlrIicY.js +5773 -0
- package/dist/LogoFromSrc-BnImWqt6.js +59 -0
- package/dist/MenuItem.module-BxcFZeSh.js +24 -0
- package/dist/Popover.module-BKrF_xRW.js +11 -0
- package/dist/PopoverProvider-d3hhpW2k.js +142 -0
- package/dist/{SelectControl-IZ6Sl4ap.js → SelectControl-D1SJlplM.js} +1 -1
- package/dist/{SliderTicks-8ffd5McY.js → SliderTicks-DQN0Ka4d.js} +1 -1
- package/dist/TabSet.module-FRUnHgA1.js +13 -0
- package/dist/Table.module-r-RfIeLI.js +32 -0
- package/dist/components/Alert/Alert.js +1 -1
- package/dist/components/Alert/index.js +1 -1
- package/dist/components/Autocomplete/Autocomplete.js +5 -4
- package/dist/components/Autocomplete/components/AutocompleteNoResults.js +1 -1
- package/dist/components/Autocomplete/index.js +1 -1
- package/dist/components/Badge/Badge.js +4 -4
- package/dist/components/Button/Button.js +2 -2
- package/dist/components/Button/CloseButton/CloseButton.js +1 -1
- package/dist/components/Button/index.js +1 -1
- package/dist/components/ButtonGroup/ButtonGroup.js +2 -2
- package/dist/components/ButtonGroup/hooks/useIDSButtonGroupItem.js +1 -1
- package/dist/components/ButtonGroup/index.js +1 -1
- package/dist/components/Checkbox/Checkbox.js +1 -1
- package/dist/components/Checkbox/helpers/mapCheckboxGroupOptions.js +1 -1
- package/dist/components/Checkbox/index.js +1 -1
- package/dist/components/CheckboxGroup/CheckboxGroup.js +6 -6
- package/dist/components/CheckboxMark/CheckboxMark.types.js +2 -2
- package/dist/components/Combobox/Combobox.js +5 -4
- package/dist/components/Combobox/MultiCombobox/MultiCombobox.js +5 -4
- package/dist/components/Combobox/components/ComboboxHiddenInput.js +1 -1
- package/dist/components/Combobox/components/ComboboxResults.js +6 -5
- package/dist/components/Combobox/components/ComboboxResultsDescriptor.js +4 -3
- package/dist/components/Combobox/index.js +1 -1
- package/dist/components/Expander/Expander.js +1 -1
- package/dist/components/Field/Field.js +1 -1
- package/dist/components/Field/FieldGroup/FieldGroup.js +2 -2
- package/dist/components/Field/components/FieldAppendToLabel.js +5 -4
- package/dist/components/Filter/Filter.js +5 -4
- package/dist/components/Filter/components/FilterResetButton.js +4 -3
- package/dist/components/Filter/components/FilterSearch.js +4 -3
- package/dist/components/Filter/index.js +1 -1
- package/dist/components/Form/Form.js +1 -1
- package/dist/components/Form/FormField/FormField.js +43 -38
- package/dist/components/Form/FormField/FormFieldset.js +11 -10
- package/dist/components/Form/HookForm/HookForm.js +1 -1
- package/dist/components/Form/index.js +1 -1
- package/dist/components/Hide/Hide.js +1 -1
- package/dist/components/Hide/helpers/composeHideClasses.js +5 -4
- package/dist/components/Hide/index.js +1 -1
- package/dist/components/Icon/Icon.js +4 -3
- package/dist/components/Icon/index.js +1 -1
- package/dist/components/Inline/Inline.js +4 -3
- package/dist/components/Inline/index.js +1 -1
- package/dist/components/Input/ClearButton/ClearButton.js +1 -1
- package/dist/components/Input/Input.js +2 -2
- package/dist/components/Input/InputBase/InputBase.js +1 -1
- 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 +1 -1
- package/dist/components/Menu/MenuDivider/MenuDivider.js +4 -3
- package/dist/components/Menu/MenuHeading/MenuHeading.js +2 -2
- package/dist/components/Menu/MenuItem/MenuItem.js +1 -1
- package/dist/components/Menu/MenuItem/hooks/useMenuItemButtonProps.js +1 -1
- package/dist/components/Menu/MenuItem/hooks/useMenuItemComposite.js +1 -1
- package/dist/components/Menu/MenuItem/hooks/useMenuItemInteractions.js +41 -41
- package/dist/components/Menu/MenuText/MenuText.js +5 -4
- package/dist/components/Menu/helpers/mapMenuItems.js +1 -1
- package/dist/components/Menu/hooks/useMenuStyles.js +3 -3
- package/dist/components/Menu/index.js +1 -1
- package/dist/components/Modal/Modal.js +1 -1
- package/dist/components/Modal/index.js +1 -1
- package/dist/components/Navbar/Navbar.js +2 -2
- 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 +2 -2
- package/dist/components/Navbar/index.js +1 -1
- package/dist/components/Placeholder/Placeholder.js +1 -1
- package/dist/components/Popover/InputPopover/InputPopover.js +1 -1
- package/dist/components/Popover/InputPopover/InputPopoverActivator.js +1 -1
- package/dist/components/Popover/InputPopover/InputPopoverProvider.js +65 -61
- package/dist/components/Popover/Popover.js +2 -2
- package/dist/components/Popover/PopoverProvider.js +1 -1
- package/dist/components/Popover/components/PopoverActivator.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/usePopoverActivatorInteractions.js +1 -1
- package/dist/components/Progress/Progress.js +1 -1
- package/dist/components/Provider/Provider.js +1 -1
- package/dist/components/Radio/Radio.js +1 -1
- package/dist/components/Radio/helpers/mapRadioGroupOptions.js +1 -1
- package/dist/components/Radio/index.js +1 -1
- package/dist/components/RadioGroup/RadioGroup.js +3 -3
- package/dist/components/Readonly/Readonly.js +5 -4
- package/dist/components/Readonly/index.js +1 -1
- package/dist/components/RichSelect/RichSelect.js +4 -3
- package/dist/components/RichSelect/SelectBody/SelectBody.js +5 -4
- package/dist/components/RichSelect/SelectCreate/SelectCreate.js +5 -4
- package/dist/components/RichSelect/SelectHeading/SelectHeading.js +4 -3
- package/dist/components/RichSelect/SelectLabel/SelectLabel.js +1 -1
- package/dist/components/RichSelect/SelectMenu/SelectMenu.js +4 -3
- package/dist/components/RichSelect/SelectMenu/SelectMenuItem.js +4 -3
- package/dist/components/RichSelect/SelectSearch/SelectSearch.js +3 -2
- package/dist/components/RichSelect/SelectSearchInput/SelectSearchInput.js +1 -1
- package/dist/components/RichSelect/SelectTags/SelectTags.js +3 -2
- package/dist/components/RichSelect/components/SelectActivator.js +1 -1
- package/dist/components/RichSelect/components/SelectOptions.js +4 -3
- package/dist/components/RichSelect/index.js +1 -1
- package/dist/components/Row/Row.js +4 -3
- package/dist/components/Row/index.js +1 -1
- package/dist/components/Select/Select.js +2 -2
- package/dist/components/Select/components/SelectControl.js +1 -1
- package/dist/components/Select/components/SelectReadonly.js +4 -3
- package/dist/components/Select/helpers/mapSelectOptions.js +1 -1
- package/dist/components/Select/helpers/nodesToSelectOptions.js +1 -1
- package/dist/components/Select/index.js +1 -1
- package/dist/components/Skeleton/Skeleton.js +2 -2
- package/dist/components/SkipLink/SkipLink.js +1 -1
- package/dist/components/Slideout/Slideout.js +2 -2
- 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/components/SliderTicks.js +1 -1
- package/dist/components/Slider/index.js +1 -1
- package/dist/components/Spinner/Spinner.js +1 -1
- package/dist/components/Spinner/index.js +1 -1
- package/dist/components/TabSet/Tab/Tab.js +14 -13
- package/dist/components/TabSet/TabSet.js +1 -1
- package/dist/components/TabSet/components/TabSetItem.js +1 -1
- package/dist/components/Table/Table.js +4 -3
- package/dist/components/Table/TableBody/TableBody.js +2 -2
- package/dist/components/Table/TableProvider.js +29 -25
- package/dist/components/Table/components/TableEmpty.js +1 -1
- 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 +1 -1
- package/dist/components/Table/components/TableSortButton.js +2 -2
- package/dist/components/Table/helpers/composeIDSTableColumnDefs.js +5 -5
- package/dist/components/Table/hooks/useIDSTableColumnStyles.js +1 -1
- package/dist/components/Table/index.js +1 -1
- package/dist/components/Tag/Tag.js +1 -1
- package/dist/components/Tag/TagInput/TagInput.js +1 -1
- package/dist/components/Tag/components/TagListInput/TagListInput.js +1 -1
- package/dist/components/Tag/index.js +1 -1
- package/dist/components/Toaster/Toast/Toast.js +1 -1
- package/dist/components/Toaster/Toast/ToastAnimated.js +1 -1
- package/dist/components/Toaster/Toast/ToastIcon.js +1 -1
- package/dist/components/Toaster/Toaster.js +1 -1
- 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 +3 -3
- package/dist/components/Tooltip/Tooltip.js +1 -1
- package/dist/components/ValidationMessage/ValidationBase/ValidationBase.js +1 -1
- package/dist/components/ValidationMessage/ValidationSummary/ValidationSummary.js +1 -1
- package/dist/constants.js +1 -1
- package/dist/helpers/label-value/highlightQueryInLabelValue.js +6 -5
- package/dist/{index-CmsyHM_3.js → index-BQfnxwrU.js} +2 -2
- package/dist/{index-CtOScEKX.js → index-Dms7F5NM.js} +8 -8
- package/dist/main.js +2 -2
- package/dist/patterns/Loading/Loading.js +1 -1
- package/dist/patterns/Loading/LoadingSuspense.js +1 -1
- package/dist/patterns/Loading/components/ComponentLoading.js +2 -2
- package/dist/patterns/Loading/components/DefaultLoading.js +2 -2
- package/dist/patterns/Loading/components/LongLoading.js +2 -2
- package/dist/patterns/Loading/components/PageLoading.js +2 -2
- package/dist/patterns/Loading/components/StartUpLoading.js +2 -2
- package/dist/patterns/Loading/components/ValidateLoading.js +2 -2
- package/dist/patterns/Loading/index.js +1 -1
- package/dist/src/components/Form/FormField/FormField.d.ts +1 -1
- package/dist/src/components/Form/FormField/FormField.types.d.ts +8 -2
- package/dist/src/components/Popover/Popover.types.d.ts +2 -1
- package/dist/src/components/RichSelect/RichSelect.types.d.ts +13 -1
- package/dist/src/components/RichSelect/SelectMenu/SelectMenuItem.d.ts +1 -1
- package/dist/src/components/RichSelect/components/SelectOptions.d.ts +2 -2
- package/dist/src/components/Table/Table.d.ts +7 -6
- package/dist/src/components/Table/Table.types.d.ts +10 -1
- package/dist/src/components/Table/TableProvider.d.ts +5 -2
- package/dist/src/interfaces.d.ts +1 -0
- package/dist/style.css +1 -1
- package/dist/{useIDSButtonGroupItem-NdNvcZnJ.js → useIDSButtonGroupItem-VfKx4O-O.js} +1 -1
- package/package.json +15 -5
- package/dist/Loading.module-PM8ehb0Z.js +0 -13
- package/dist/LoadingSuspense-fgJdyrWn.js +0 -5784
- package/dist/LogoFromSrc-Dr3xwNJa.js +0 -59
- package/dist/MenuItem.module-xNOwGiI0.js +0 -24
- package/dist/Popover.module-BzjyEvrY.js +0 -11
- package/dist/PopoverProvider-BqnPfQtY.js +0 -138
- package/dist/TabSet.module-p87tRckl.js +0 -13
- package/dist/Table.module-CdZFi754.js +0 -32
|
@@ -1,28 +1,28 @@
|
|
|
1
|
-
import { jsx as r, jsxs as
|
|
1
|
+
import { jsx as r, jsxs as h, Fragment as A } from "react/jsx-runtime";
|
|
2
2
|
import { c as l } from "../../../index-2QXL0WYc.js";
|
|
3
3
|
import { forwardRef as w, useEffect as x } from "react";
|
|
4
4
|
import { useIdIfNeeded as g } from "../../../hooks/useIdIfNeeded.js";
|
|
5
5
|
import { useTabSetItems as k } from "../hooks/useTabSetItems.js";
|
|
6
6
|
import { TabSetItem as u } from "../components/TabSetItem.js";
|
|
7
7
|
import { createPortal as N } from "react-dom";
|
|
8
|
-
const T = "ids-tab-
|
|
8
|
+
const T = "ids-tab-v5200", I = "ids-tab--active-v5200", f = {
|
|
9
9
|
tab: T,
|
|
10
10
|
active: I
|
|
11
11
|
}, v = w(
|
|
12
|
-
({ className: d, type: o = "button", ...
|
|
12
|
+
({ className: d, type: o = "button", ...n }, s) => /* @__PURE__ */ r(
|
|
13
13
|
"button",
|
|
14
14
|
{
|
|
15
15
|
className: l(d, f.tab),
|
|
16
|
-
...
|
|
16
|
+
...n,
|
|
17
17
|
type: o,
|
|
18
|
-
ref:
|
|
18
|
+
ref: s
|
|
19
19
|
}
|
|
20
20
|
)
|
|
21
21
|
), $ = ({
|
|
22
22
|
active: d,
|
|
23
23
|
children: o,
|
|
24
|
-
className:
|
|
25
|
-
"data-testid":
|
|
24
|
+
className: n,
|
|
25
|
+
"data-testid": s,
|
|
26
26
|
label: p,
|
|
27
27
|
value: a,
|
|
28
28
|
...m
|
|
@@ -37,7 +37,7 @@ const T = "ids-tab-v5170", I = "ids-tab--active-v5170", f = {
|
|
|
37
37
|
const c = t ? t.isActive(e, a) : d;
|
|
38
38
|
if (t) {
|
|
39
39
|
const y = o && c;
|
|
40
|
-
return /* @__PURE__ */ A
|
|
40
|
+
return /* @__PURE__ */ h(A, { children: [
|
|
41
41
|
/* @__PURE__ */ r(
|
|
42
42
|
u,
|
|
43
43
|
{
|
|
@@ -48,12 +48,12 @@ const T = "ids-tab-v5170", I = "ids-tab--active-v5170", f = {
|
|
|
48
48
|
children: /* @__PURE__ */ r(
|
|
49
49
|
v,
|
|
50
50
|
{
|
|
51
|
-
className: l(
|
|
51
|
+
className: l(n, {
|
|
52
52
|
[f.active]: c
|
|
53
53
|
}),
|
|
54
54
|
"aria-controls": o ? `${e}--panel` : void 0,
|
|
55
55
|
role: "tab",
|
|
56
|
-
"data-testid":
|
|
56
|
+
"data-testid": s,
|
|
57
57
|
...m,
|
|
58
58
|
id: e,
|
|
59
59
|
ref: b,
|
|
@@ -62,7 +62,7 @@ const T = "ids-tab-v5170", I = "ids-tab--active-v5170", f = {
|
|
|
62
62
|
)
|
|
63
63
|
}
|
|
64
64
|
),
|
|
65
|
-
|
|
65
|
+
t.panel && N(
|
|
66
66
|
/* @__PURE__ */ r(
|
|
67
67
|
"div",
|
|
68
68
|
{
|
|
@@ -72,6 +72,7 @@ const T = "ids-tab-v5170", I = "ids-tab--active-v5170", f = {
|
|
|
72
72
|
onKeyDown: (i) => {
|
|
73
73
|
(i.key === "ArrowLeft" || i.key === "ArrowRight" || i.key === "ArrowUp" || i.key === "ArrowDown") && i.stopPropagation();
|
|
74
74
|
},
|
|
75
|
+
hidden: !y,
|
|
75
76
|
children: o
|
|
76
77
|
}
|
|
77
78
|
),
|
|
@@ -83,10 +84,10 @@ const T = "ids-tab-v5170", I = "ids-tab--active-v5170", f = {
|
|
|
83
84
|
return /* @__PURE__ */ r(
|
|
84
85
|
v,
|
|
85
86
|
{
|
|
86
|
-
className: l(
|
|
87
|
+
className: l(n, {
|
|
87
88
|
[f.active]: c
|
|
88
89
|
}),
|
|
89
|
-
"data-testid":
|
|
90
|
+
"data-testid": s,
|
|
90
91
|
...m,
|
|
91
92
|
id: e,
|
|
92
93
|
ref: b,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx as a, jsxs as d } from "react/jsx-runtime";
|
|
2
2
|
import { c as n } from "../../index-2QXL0WYc.js";
|
|
3
|
-
import { s as e } from "../../TabSet.module-
|
|
3
|
+
import { s as e } from "../../TabSet.module-FRUnHgA1.js";
|
|
4
4
|
import { C as c } from "../../floating-ui.react-nmA48tb2.js";
|
|
5
5
|
import { propagateTestid as b } from "../../helpers/utility/propagateTestid.js";
|
|
6
6
|
import { TabSetLayout as u } from "./TabSet.types.js";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsx as u } from "react/jsx-runtime";
|
|
2
|
-
import { s as A } from "../../../TabSet.module-
|
|
2
|
+
import { s as A } from "../../../TabSet.module-FRUnHgA1.js";
|
|
3
3
|
import { a as d } from "../../../floating-ui.react-nmA48tb2.js";
|
|
4
4
|
import { focusableElements as f } from "../../../helpers/dom/focusableElements.js";
|
|
5
5
|
const m = (i, t, e, a) => {
|
|
@@ -1,17 +1,18 @@
|
|
|
1
1
|
import "react/jsx-runtime";
|
|
2
2
|
import "../../index-2QXL0WYc.js";
|
|
3
3
|
import "./Table.types.js";
|
|
4
|
-
import "../../Table.module-
|
|
4
|
+
import "../../Table.module-r-RfIeLI.js";
|
|
5
5
|
import "react";
|
|
6
6
|
import "../../helpers/utility/idsLogger.js";
|
|
7
7
|
import "../../hooks/useIdIfNeeded.js";
|
|
8
8
|
import "./components/TableEmpty.js";
|
|
9
9
|
import "../../enums.js";
|
|
10
10
|
import "../../helpers/utility/propagateTestid.js";
|
|
11
|
-
import { J as
|
|
11
|
+
import { J as c } from "../../LoadingSuspense-BwlrIicY.js";
|
|
12
12
|
import "./TableProvider.js";
|
|
13
13
|
import "./helpers/hasColumns.js";
|
|
14
14
|
import "./components/TableRows.js";
|
|
15
|
+
import "./hooks/useTable.js";
|
|
15
16
|
export {
|
|
16
|
-
|
|
17
|
+
c as IressTable
|
|
17
18
|
};
|
|
@@ -2,9 +2,9 @@ import { jsx as t, jsxs as y, Fragment as B } from "react/jsx-runtime";
|
|
|
2
2
|
import { propagateTestid as T } from "../../../helpers/utility/propagateTestid.js";
|
|
3
3
|
import { c as C } from "../../../index-2QXL0WYc.js";
|
|
4
4
|
import { TableEmpty as F } from "../components/TableEmpty.js";
|
|
5
|
-
import { U as G } from "../../../LoadingSuspense-
|
|
5
|
+
import { U as G } from "../../../LoadingSuspense-BwlrIicY.js";
|
|
6
6
|
import { IressTableProvider as V } from "../TableProvider.js";
|
|
7
|
-
import { s as f } from "../../../Table.module-
|
|
7
|
+
import { s as f } from "../../../Table.module-r-RfIeLI.js";
|
|
8
8
|
import { useState as j, useEffect as k } from "react";
|
|
9
9
|
import { useIdIfNeeded as w } from "../../../hooks/useIdIfNeeded.js";
|
|
10
10
|
import { hasColumns as A } from "../helpers/hasColumns.js";
|
|
@@ -1,34 +1,38 @@
|
|
|
1
|
-
import { jsx as
|
|
2
|
-
import { useMemo as r } from "react";
|
|
3
|
-
import { composeIDSTableColumnDefs as
|
|
4
|
-
import { u as
|
|
5
|
-
import { composeIDSTableInitialSorting as
|
|
6
|
-
import { getTableContext as
|
|
7
|
-
import { findColumnByKey as
|
|
8
|
-
import { g as
|
|
9
|
-
const
|
|
10
|
-
|
|
11
|
-
columns: o,
|
|
12
|
-
rows: e
|
|
13
|
-
}) => {
|
|
14
|
-
const m = r(() => p(e, o), [o, e]), t = f({
|
|
1
|
+
import { jsx as d } from "react/jsx-runtime";
|
|
2
|
+
import { forwardRef as f, useMemo as r, useImperativeHandle as p } from "react";
|
|
3
|
+
import { composeIDSTableColumnDefs as g } from "./helpers/composeIDSTableColumnDefs.js";
|
|
4
|
+
import { u as c } from "../../index-Dms7F5NM.js";
|
|
5
|
+
import { composeIDSTableInitialSorting as u } from "./helpers/composeIDSTableInitialSorting.js";
|
|
6
|
+
import { getTableContext as S } from "./TableContext.js";
|
|
7
|
+
import { findColumnByKey as b } from "./helpers/findColumnByKey.js";
|
|
8
|
+
import { g as C, a as R } from "../../index-BQfnxwrU.js";
|
|
9
|
+
const T = ({ children: i, columns: e, rows: o }, a) => {
|
|
10
|
+
const m = r(() => g(o, e), [e, o]), t = c({
|
|
15
11
|
columns: m,
|
|
16
|
-
data:
|
|
17
|
-
getCoreRowModel:
|
|
18
|
-
getSortedRowModel:
|
|
12
|
+
data: o,
|
|
13
|
+
getCoreRowModel: R(),
|
|
14
|
+
getSortedRowModel: C(),
|
|
19
15
|
initialState: {
|
|
20
|
-
sorting:
|
|
16
|
+
sorting: u(e)
|
|
21
17
|
}
|
|
22
|
-
}),
|
|
18
|
+
}), n = r(
|
|
23
19
|
() => ({
|
|
24
20
|
api: t,
|
|
25
|
-
getColumnByKey: (
|
|
21
|
+
getColumnByKey: (s) => b(s, e)
|
|
26
22
|
}),
|
|
27
23
|
// eslint-disable-next-line react-hooks/exhaustive-deps -- only update when columns and rows change
|
|
28
|
-
[
|
|
29
|
-
)
|
|
30
|
-
|
|
31
|
-
|
|
24
|
+
[o, e, t.getState().sorting]
|
|
25
|
+
);
|
|
26
|
+
p(
|
|
27
|
+
a,
|
|
28
|
+
() => ({
|
|
29
|
+
api: t
|
|
30
|
+
}),
|
|
31
|
+
[t]
|
|
32
|
+
);
|
|
33
|
+
const { Provider: l } = S();
|
|
34
|
+
return /* @__PURE__ */ d(l, { value: n, children: i });
|
|
35
|
+
}, B = f(T);
|
|
32
36
|
export {
|
|
33
|
-
|
|
37
|
+
B as IressTableProvider
|
|
34
38
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsx as n } from "react/jsx-runtime";
|
|
2
|
-
import { s } from "../../../Table.module-
|
|
2
|
+
import { s } from "../../../Table.module-r-RfIeLI.js";
|
|
3
3
|
import { useTable as l } from "../hooks/useTable.js";
|
|
4
4
|
const u = ({ children: r }) => {
|
|
5
5
|
const t = l(), o = t == null ? void 0 : t.api.getSortedRowModel().rows;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import "react/jsx-runtime";
|
|
2
2
|
import "../../../helpers/utility/propagateTestid.js";
|
|
3
|
-
import "../../../index-
|
|
4
|
-
import { U as i } from "../../../LoadingSuspense-
|
|
3
|
+
import "../../../index-Dms7F5NM.js";
|
|
4
|
+
import { U as i } from "../../../LoadingSuspense-BwlrIicY.js";
|
|
5
5
|
import "../hooks/useTable.js";
|
|
6
6
|
export {
|
|
7
7
|
i as TableHeader
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import "react/jsx-runtime";
|
|
2
2
|
import "../hooks/useIDSTableColumnStyles.js";
|
|
3
3
|
import "../hooks/useIDSTableColumnSort.js";
|
|
4
|
-
import { ad as a } from "../../../LoadingSuspense-
|
|
4
|
+
import { ad as a } from "../../../LoadingSuspense-BwlrIicY.js";
|
|
5
5
|
import "../hooks/useTable.js";
|
|
6
6
|
export {
|
|
7
7
|
a as TableHeaderCell
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsx as d } from "react/jsx-runtime";
|
|
2
|
-
import { f as $ } from "../../../index-
|
|
2
|
+
import { f as $ } from "../../../index-Dms7F5NM.js";
|
|
3
3
|
import { TableBodyCell as g } from "./TableBodyCell.js";
|
|
4
4
|
import { useTable as x } from "../hooks/useTable.js";
|
|
5
5
|
import { propagateTestid as y } from "../../../helpers/utility/propagateTestid.js";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import "react/jsx-runtime";
|
|
2
|
-
import { ac as a } from "../../../LoadingSuspense-
|
|
3
|
-
import "../../../Table.module-
|
|
2
|
+
import { ac as a } from "../../../LoadingSuspense-BwlrIicY.js";
|
|
3
|
+
import "../../../Table.module-r-RfIeLI.js";
|
|
4
4
|
import "../../../index-2QXL0WYc.js";
|
|
5
5
|
export {
|
|
6
6
|
a as TableSortButton
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { jsx as
|
|
2
|
-
import { IressTableFormattedValue as
|
|
1
|
+
import { jsx as o } from "react/jsx-runtime";
|
|
2
|
+
import { IressTableFormattedValue as b } from "../TableFormattedValue/TableFormattedValue.js";
|
|
3
3
|
import { formatObjectKey as g } from "../../../helpers/formatting/formatObjectKey.js";
|
|
4
4
|
import { getFormatFromValue as d } from "./getFormatFromValue.js";
|
|
5
|
-
import {
|
|
5
|
+
import { c as F } from "../../../index-BQfnxwrU.js";
|
|
6
6
|
const h = (p, a) => {
|
|
7
7
|
const s = F();
|
|
8
8
|
return a ? (Array.isArray(a) ? a.map((e) => [
|
|
@@ -11,8 +11,8 @@ const h = (p, a) => {
|
|
|
11
11
|
]) : Object.entries(a)).map(([e, r]) => {
|
|
12
12
|
const f = !!(r != null && r.sort) || !!(r != null && r.sortFn), i = {
|
|
13
13
|
id: e,
|
|
14
|
-
cell: (t) => /* @__PURE__ */
|
|
15
|
-
|
|
14
|
+
cell: (t) => /* @__PURE__ */ o(
|
|
15
|
+
b,
|
|
16
16
|
{
|
|
17
17
|
currencyCode: r == null ? void 0 : r.currencyCode,
|
|
18
18
|
format: (r == null ? void 0 : r.format) ?? d(t.getValue()),
|
|
@@ -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-BwlrIicY.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
3
|
import "../../index-2QXL0WYc.js";
|
|
4
|
-
import { K as s } from "../../LoadingSuspense-
|
|
4
|
+
import { K as s } from "../../LoadingSuspense-BwlrIicY.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-BwlrIicY.js";
|
|
5
5
|
import "../../../helpers/form/getValueAsEvent.js";
|
|
6
6
|
export {
|
|
7
7
|
s as IressTagInput
|
|
@@ -2,7 +2,7 @@ import "react/jsx-runtime";
|
|
|
2
2
|
import "../../../../index-2QXL0WYc.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-BwlrIicY.js";
|
|
6
6
|
export {
|
|
7
7
|
a as TagListInput
|
|
8
8
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import "react/jsx-runtime";
|
|
2
2
|
import "../../../index-2QXL0WYc.js";
|
|
3
|
-
import { M as f, T as x } from "../../../LoadingSuspense-
|
|
3
|
+
import { M as f, T as x } from "../../../LoadingSuspense-BwlrIicY.js";
|
|
4
4
|
import "../../../enums.js";
|
|
5
5
|
import "../../../helpers/utility/propagateTestid.js";
|
|
6
6
|
import "../../Inline/Inline.types.js";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import "react/jsx-runtime";
|
|
2
2
|
import "react";
|
|
3
3
|
import "../../../index-2QXL0WYc.js";
|
|
4
|
-
import { a6 as s } from "../../../LoadingSuspense-
|
|
4
|
+
import { a6 as s } from "../../../LoadingSuspense-BwlrIicY.js";
|
|
5
5
|
import "../../../helpers/transition/getTransitionDuration.js";
|
|
6
6
|
import "../../../floating-ui.react-nmA48tb2.js";
|
|
7
7
|
export {
|
|
@@ -2,7 +2,7 @@ import "react/jsx-runtime";
|
|
|
2
2
|
import "react";
|
|
3
3
|
import "./Toaster.types.js";
|
|
4
4
|
import "../../index-2QXL0WYc.js";
|
|
5
|
-
import { a7 as f } from "../../LoadingSuspense-
|
|
5
|
+
import { a7 as f } from "../../LoadingSuspense-BwlrIicY.js";
|
|
6
6
|
import "../../enums.js";
|
|
7
7
|
import "../Stack/Stack.js";
|
|
8
8
|
import "../../floating-ui.react-nmA48tb2.js";
|
|
@@ -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-BwlrIicY.js";
|
|
4
4
|
import { useToaster as f } from "./hooks/useToaster.js";
|
|
5
5
|
export {
|
|
6
6
|
S as IressToast,
|
|
@@ -7,7 +7,7 @@ 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-v5200", M = "ids-toggle--checkbox-mark-v5200", S = "ids-toggle--toggle-button-v5200", j = "ids-toggle--button-checked-v5200", R = "ids-toggle--toggle-button-container-v5200", $ = "ids-toggle--label-v5200", E = "ids-toggle--layout__inline-v5200", G = "ids-toggle--layout__stack-v5200", t = {
|
|
11
11
|
toggleBase: L,
|
|
12
12
|
checkboxMark: M,
|
|
13
13
|
toggleButton: S,
|
|
@@ -15,8 +15,8 @@ const L = "ids-toggle--toggle-base-v5170", M = "ids-toggle--checkbox-mark-v5170"
|
|
|
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-v5200",
|
|
19
|
+
"layout__inline-between": "ids-toggle--layout__inline-between-v5200",
|
|
20
20
|
layout__stack: G
|
|
21
21
|
}, O = ({
|
|
22
22
|
hiddenLabel: o,
|
|
@@ -7,7 +7,7 @@ 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-v5200", V = "ids-tooltip--content-v5200", r = {
|
|
11
11
|
tooltip: Q,
|
|
12
12
|
content: V
|
|
13
13
|
}, X = ({
|
|
@@ -2,7 +2,7 @@ import { jsxs as l, jsx as n } from "react/jsx-runtime";
|
|
|
2
2
|
import { c as r } from "../../../index-2QXL0WYc.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-v5200", f = "ids-validation-message--prefix-v5200", x = "ids-validation-message--message-v5200", p = "ids-validation-message--danger-v5200", u = "ids-validation-message--warning-v5200", N = "ids-validation-message--success-v5200", w = "ids-validation-message--info-v5200", e = {
|
|
6
6
|
validationMessage: v,
|
|
7
7
|
prefix: f,
|
|
8
8
|
message: x,
|
|
@@ -5,7 +5,7 @@ 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-v5200", I = {
|
|
9
9
|
validationSummary: v
|
|
10
10
|
}, S = ({
|
|
11
11
|
children: a,
|
package/dist/constants.js
CHANGED
|
@@ -1,8 +1,9 @@
|
|
|
1
|
-
import { highlightQueryInLabel as
|
|
2
|
-
const
|
|
3
|
-
...
|
|
4
|
-
formattedLabel: t
|
|
1
|
+
import { highlightQueryInLabel as r } from "./highlightQueryInLabel.js";
|
|
2
|
+
const m = (t, o, i) => ({
|
|
3
|
+
...t,
|
|
4
|
+
formattedLabel: r(t.label, o, i),
|
|
5
|
+
formattedMeta: typeof t.meta == "string" ? r(t.meta, o, i) : void 0
|
|
5
6
|
});
|
|
6
7
|
export {
|
|
7
|
-
|
|
8
|
+
m as highlightQueryInLabelValue
|
|
8
9
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as r from "react";
|
|
2
|
-
import {
|
|
2
|
+
import { b as c } from "./index-BQfnxwrU.js";
|
|
3
3
|
/**
|
|
4
4
|
* react-table
|
|
5
5
|
*
|
|
@@ -25,7 +25,7 @@ function l(t) {
|
|
|
25
25
|
function i(t) {
|
|
26
26
|
return typeof t == "object" && typeof t.$$typeof == "symbol" && ["react.memo", "react.forward_ref"].includes(t.$$typeof.description);
|
|
27
27
|
}
|
|
28
|
-
function
|
|
28
|
+
function b(t) {
|
|
29
29
|
const e = {
|
|
30
30
|
state: {},
|
|
31
31
|
// Dummy state
|
|
@@ -35,10 +35,10 @@ function S(t) {
|
|
|
35
35
|
renderFallbackValue: null,
|
|
36
36
|
...t
|
|
37
37
|
}, [n] = r.useState(() => ({
|
|
38
|
-
current:
|
|
39
|
-
})), [o,
|
|
40
|
-
return n.current.setOptions((
|
|
41
|
-
...
|
|
38
|
+
current: c(e)
|
|
39
|
+
})), [o, s] = r.useState(() => n.current.initialState);
|
|
40
|
+
return n.current.setOptions((u) => ({
|
|
41
|
+
...u,
|
|
42
42
|
...t,
|
|
43
43
|
state: {
|
|
44
44
|
...o,
|
|
@@ -47,11 +47,11 @@ function S(t) {
|
|
|
47
47
|
// Similarly, we'll maintain both our internal state and any user-provided
|
|
48
48
|
// state.
|
|
49
49
|
onStateChange: (a) => {
|
|
50
|
-
|
|
50
|
+
s(a), t.onStateChange == null || t.onStateChange(a);
|
|
51
51
|
}
|
|
52
52
|
})), n.current;
|
|
53
53
|
}
|
|
54
54
|
export {
|
|
55
55
|
p as f,
|
|
56
|
-
|
|
56
|
+
b as u
|
|
57
57
|
};
|
package/dist/main.js
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { I as o, a as s, b as t, d as I, c as a, e as p, g as S, h as m, j as x, i as l, k as T, l as f, m as n, n as i, P as E, Q as u, o as O, p as d, r as C, q as _, s as A, f as L, t as M, u as N, v as P, w as R, D as c, E as D, x as g, y as G, z as B, A as F, B as U, C as b, F as y, G as v, H as k, J as H, K as V, L as h, M as Y, O as X, T as z, N as Z } from "./LoadingSuspense-
|
|
1
|
+
import { I as o, a as s, b as t, d as I, c as a, e as p, g as S, h as m, j as x, i as l, k as T, l as f, m as n, n as i, P as E, Q as u, o as O, p as d, r as C, q as _, s as A, f as L, t as M, u as N, v as P, w as R, D as c, E as D, x as g, y as G, z as B, A as F, B as U, C as b, F as y, G as v, H as k, J as H, K as V, L as h, M as Y, O as X, T as z, N as Z } from "./LoadingSuspense-BwlrIicY.js";
|
|
2
2
|
import { ALERT_ICONS as w } from "./components/Alert/Alert.types.js";
|
|
3
3
|
import { useAutocompleteSearch as W } from "./components/Autocomplete/hooks/useAutocompleteSearch.js";
|
|
4
4
|
import { IressBadge as q } from "./components/Badge/Badge.js";
|
|
5
5
|
import { BADGE_MODES as $, BadgeMode as ee } from "./components/Badge/Badge.types.js";
|
|
6
6
|
import { BUTTON_MODES as oe, BUTTON_TYPES as se, ButtonCssClass as te, ButtonMode as Ie, ButtonType as ae } from "./components/Button/Button.types.js";
|
|
7
7
|
import { IressButtonGroup as Se } from "./components/ButtonGroup/ButtonGroup.js";
|
|
8
|
-
import { u as xe } from "./useIDSButtonGroupItem-
|
|
8
|
+
import { u as xe } from "./useIDSButtonGroupItem-VfKx4O-O.js";
|
|
9
9
|
import { CardCssClass as Te, CardSlotClass as fe } from "./components/Card/Card.types.js";
|
|
10
10
|
import { IressCard as ie } from "./components/Card/Card.js";
|
|
11
11
|
import { IressButtonCard as ue } from "./components/Card/components/ButtonCard.js";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import "react/jsx-runtime";
|
|
2
2
|
import "./components/StartUpLoading.js";
|
|
3
|
-
import { P as s } from "../../LoadingSuspense-
|
|
3
|
+
import { P as s } from "../../LoadingSuspense-BwlrIicY.js";
|
|
4
4
|
import "./hooks/useShouldRenderLoading.js";
|
|
5
5
|
import "./components/LongLoading.js";
|
|
6
6
|
export {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import "react/jsx-runtime";
|
|
2
2
|
import "react";
|
|
3
3
|
import "../../../components/Skeleton/Skeleton.js";
|
|
4
|
-
import { ag as e } from "../../../LoadingSuspense-
|
|
5
|
-
import "../../../Loading.module-
|
|
4
|
+
import { ag as e } from "../../../LoadingSuspense-BwlrIicY.js";
|
|
5
|
+
import "../../../Loading.module-g2pe-Gfx.js";
|
|
6
6
|
import "../../../index-2QXL0WYc.js";
|
|
7
7
|
import "../../../components/Text/Text.js";
|
|
8
8
|
export {
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import "react/jsx-runtime";
|
|
2
2
|
import "react";
|
|
3
|
-
import { ae as e } from "../../../LoadingSuspense-
|
|
3
|
+
import { ae as e } from "../../../LoadingSuspense-BwlrIicY.js";
|
|
4
4
|
import "../../../components/Text/Text.js";
|
|
5
5
|
import "../../../index-2QXL0WYc.js";
|
|
6
|
-
import "../../../Loading.module-
|
|
6
|
+
import "../../../Loading.module-g2pe-Gfx.js";
|
|
7
7
|
export {
|
|
8
8
|
e as DefaultLoading
|
|
9
9
|
};
|
|
@@ -2,7 +2,7 @@ import { jsx as c, jsxs as g } from "react/jsx-runtime";
|
|
|
2
2
|
import { IressStack as w } from "../../../components/Stack/Stack.js";
|
|
3
3
|
import { useMemo as f, useId as y } from "react";
|
|
4
4
|
import { c as h } from "../../../index-2QXL0WYc.js";
|
|
5
|
-
import { l as m } from "../../../Loading.module-
|
|
5
|
+
import { l as m } from "../../../Loading.module-g2pe-Gfx.js";
|
|
6
6
|
import { IressText as M } from "../../../components/Text/Text.js";
|
|
7
7
|
import { IressPanel as S } from "../../../components/Panel/Panel.js";
|
|
8
8
|
import { IressProgress as j } from "../../../components/Progress/Progress.js";
|
|
@@ -10,7 +10,7 @@ import { GlobalCSSClass as L } from "../../../enums.js";
|
|
|
10
10
|
import { propagateTestid as O } from "../../../helpers/utility/propagateTestid.js";
|
|
11
11
|
import { useShowIndicator as C } from "../hooks/useShowIndicator.js";
|
|
12
12
|
import { useEstimatedProgressValue as G } from "../hooks/useEstimatedProgressValue.js";
|
|
13
|
-
const P = "ids-long-loading--root-
|
|
13
|
+
const P = "ids-long-loading--root-v5200", V = "ids-long-loading--panel-v5200", B = "ids-long-loading--dots-v5200", E = "ids-long-loading--check-list-v5200", R = "ids-long-loading--check-list-item-v5200", T = "ids-long-loading--check-list-item__done-v5200", U = "ids-long-loading--checked-v5200", $ = "ids-long-loading--checked__circle-v5200", q = "ids-long-loading--checked__check-v5200", s = {
|
|
14
14
|
root: P,
|
|
15
15
|
panel: V,
|
|
16
16
|
dots: B,
|
|
@@ -3,12 +3,12 @@ import "react";
|
|
|
3
3
|
import "../../../components/Stack/Stack.js";
|
|
4
4
|
import "../../../components/Skeleton/Skeleton.js";
|
|
5
5
|
import "../../../components/Container/Container.js";
|
|
6
|
-
import { ah as n } from "../../../LoadingSuspense-
|
|
6
|
+
import { ah as n } from "../../../LoadingSuspense-BwlrIicY.js";
|
|
7
7
|
import "../../../components/Col/Col.js";
|
|
8
8
|
import "../../../components/Divider/Divider.js";
|
|
9
9
|
import "../../../components/Card/Card.js";
|
|
10
10
|
import "../../../index-2QXL0WYc.js";
|
|
11
|
-
import "../../../Loading.module-
|
|
11
|
+
import "../../../Loading.module-g2pe-Gfx.js";
|
|
12
12
|
export {
|
|
13
13
|
n as PageLoading
|
|
14
14
|
};
|