@iress-oss/ids-components 5.15.0 → 5.16.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/README.md +1 -1
- package/dist/{AutocompleteNoResults-CvhIxKQI.js → AutocompleteNoResults-D7YVtBHi.js} +1 -1
- package/dist/{ComboboxHiddenInput-B7ztqo0l.js → ComboboxHiddenInput-CzqAhHnZ.js} +5 -5
- package/dist/{FieldAppendToLabel-DgXoSKDG.js → FieldAppendToLabel-CMgTenh1.js} +4 -4
- package/dist/{InputBase-nWIFJcGj.js → InputBase-Bjj3LDLa.js} +1 -1
- package/dist/Loading.module-BU91nTNp.js +13 -0
- package/dist/LoadingSuspense-D0TO0TDT.js +5666 -0
- package/dist/LogoFromSrc-_ACFUgYc.js +59 -0
- package/dist/MenuItem.module-aggbBK2E.js +24 -0
- package/dist/Popover.module-B2pz2c2y.js +11 -0
- package/dist/PopoverProvider-Cw5-iAgZ.js +137 -0
- package/dist/{SelectControl-CYKkf3rM.js → SelectControl-CN6caR5z.js} +1 -1
- package/dist/SlideoutProvider-CQh140HM.js +200 -0
- package/dist/{SliderTicks-Dqz-k-xS.js → SliderTicks-Dfw5LJ8X.js} +1 -1
- package/dist/TabSet.module-yK1UoG-L.js +13 -0
- package/dist/Table.module-BgIez5R-.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 +4 -4
- package/dist/components/Autocomplete/components/AutocompleteNoResults.js +1 -1
- package/dist/components/Autocomplete/hooks/useAutocompleteSearch.js +100 -85
- 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 +4 -4
- package/dist/components/Combobox/MultiCombobox/MultiCombobox.js +4 -4
- package/dist/components/Combobox/components/ComboboxHiddenInput.js +1 -1
- package/dist/components/Combobox/components/ComboboxResults.js +5 -5
- package/dist/components/Combobox/components/ComboboxResultsDescriptor.js +3 -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 +4 -4
- package/dist/components/Filter/Filter.js +4 -4
- package/dist/components/Filter/components/FilterResetButton.js +3 -3
- package/dist/components/Filter/components/FilterSearch.js +3 -3
- package/dist/components/Filter/index.js +1 -1
- package/dist/components/Form/Form.js +1 -1
- package/dist/components/Form/FormField/FormField.js +3 -3
- package/dist/components/Form/FormField/FormFieldset.js +3 -3
- 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 +3 -3
- package/dist/components/Hide/index.js +1 -1
- package/dist/components/Icon/Icon.js +3 -3
- package/dist/components/Icon/index.js +1 -1
- package/dist/components/Inline/Inline.js +3 -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/Menu.js +1 -1
- package/dist/components/Menu/MenuDivider/MenuDivider.js +3 -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 +2 -2
- package/dist/components/Menu/MenuText/MenuText.js +4 -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 +2 -2
- 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 +23 -23
- package/dist/components/Popover/Popover.js +12 -12
- package/dist/components/Popover/PopoverProvider.js +12 -113
- package/dist/components/Popover/components/NestedPopoverActivator.js +3 -3
- package/dist/components/Popover/components/PopoverActivator.js +40 -41
- package/dist/components/Popover/components/PopoverContent.js +15 -15
- package/dist/components/Popover/helpers/handlePopoverTabKey.js +1 -1
- package/dist/components/Popover/hooks/usePopover.js +1 -1
- package/dist/components/Popover/hooks/usePopoverItem.js +1 -1
- package/dist/components/Popover/hooks/usePopoverNavigation.js +1 -1
- package/dist/components/Progress/Progress.js +1 -1
- package/dist/components/Provider/Provider.js +2 -2
- 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 +4 -4
- package/dist/components/Readonly/index.js +1 -1
- package/dist/components/RichSelect/RichSelect.js +3 -3
- package/dist/components/RichSelect/SelectBody/SelectBody.js +3 -3
- package/dist/components/RichSelect/SelectCreate/SelectCreate.js +3 -3
- package/dist/components/RichSelect/SelectHeading/SelectHeading.js +3 -3
- package/dist/components/RichSelect/SelectLabel/SelectLabel.js +1 -1
- package/dist/components/RichSelect/SelectMenu/SelectMenu.js +3 -3
- package/dist/components/RichSelect/SelectMenu/SelectMenuItem.js +3 -3
- package/dist/components/RichSelect/SelectSearch/SelectSearch.js +2 -2
- package/dist/components/RichSelect/SelectSearchInput/SelectSearchInput.js +1 -1
- package/dist/components/RichSelect/SelectTags/SelectTags.js +2 -2
- package/dist/components/RichSelect/components/SelectActivator.js +1 -1
- package/dist/components/RichSelect/components/SelectOptions.js +3 -3
- package/dist/components/RichSelect/index.js +1 -1
- package/dist/components/Row/Row.js +3 -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 +3 -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 +5 -3
- package/dist/components/Slideout/SlideoutProvider.js +6 -89
- package/dist/components/Slideout/components/SlideoutInner.js +3 -2
- package/dist/components/Slideout/hooks/useIDSProvidedSlideout.js +1 -1
- package/dist/components/Slideout/hooks/useSlideout.js +1 -1
- package/dist/components/Slideout/index.js +7 -7
- 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 +1 -1
- package/dist/components/TabSet/TabSet.js +2 -2
- package/dist/components/TabSet/components/TabSetItem.js +2 -2
- package/dist/components/Table/Table.js +2 -2
- package/dist/components/Table/TableBody/TableBody.js +2 -2
- package/dist/components/Table/components/TableEmpty.js +1 -1
- package/dist/components/Table/components/TableHeader.js +1 -1
- package/dist/components/Table/components/TableHeaderCell.js +1 -1
- package/dist/components/Table/components/TableSortButton.js +2 -2
- 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 +2 -2
- package/dist/components/Toaster/Toast/ToastIcon.js +1 -1
- package/dist/components/Toaster/Toaster.js +2 -2
- 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 +18 -18
- 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/{floating-ui.react-SmaXvp4L.js → floating-ui.react-nmA48tb2.js} +201 -207
- package/dist/helpers/dom/domUtils.js +12 -0
- package/dist/helpers/formatting/formatDateTime.js +21 -16
- package/dist/main.js +3 -3
- 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/Autocomplete/Autocomplete.types.d.ts +6 -0
- package/dist/src/components/Autocomplete/hooks/useAutocompleteSearch.d.ts +1 -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/Slideout/Slideout.types.d.ts +1 -1
- package/dist/src/helpers/dom/domUtils.d.ts +5 -0
- package/dist/style.css +1 -1
- package/dist/{useIDSButtonGroupItem-CniAJ9N5.js → useIDSButtonGroupItem-aiqu-PIW.js} +1 -1
- package/dist/vite.config.d.ts +1 -1
- package/dist/vitest.config.d.ts +2 -0
- package/package.json +1 -26
- package/dist/Loading.module-Bs6DSfb4.js +0 -13
- package/dist/LoadingSuspense-BdXYIsHy.js +0 -5723
- package/dist/LogoFromSrc-CtJE0Fsr.js +0 -59
- package/dist/MenuItem.module-Bj20OWCC.js +0 -24
- package/dist/Popover.module-DJ-RK5B3.js +0 -11
- package/dist/TabSet.module-Cu1itlcf.js +0 -13
- package/dist/Table.module-Bb7fJIr8.js +0 -32
- /package/dist/{setupTests.d.ts → vitest.setup.d.ts} +0 -0
|
@@ -1,14 +1,14 @@
|
|
|
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-BgIez5R-.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 T } from "../../LoadingSuspense-
|
|
11
|
+
import { J as T } from "../../LoadingSuspense-D0TO0TDT.js";
|
|
12
12
|
import "./TableProvider.js";
|
|
13
13
|
import "./helpers/hasColumns.js";
|
|
14
14
|
import "./components/TableRows.js";
|
|
@@ -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-D0TO0TDT.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-BgIez5R-.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,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-BgIez5R-.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
3
|
import "../../../index-CtOScEKX.js";
|
|
4
|
-
import { U as i } from "../../../LoadingSuspense-
|
|
4
|
+
import { U as i } from "../../../LoadingSuspense-D0TO0TDT.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-D0TO0TDT.js";
|
|
5
5
|
import "../hooks/useTable.js";
|
|
6
6
|
export {
|
|
7
7
|
a as TableHeaderCell
|
|
@@ -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-D0TO0TDT.js";
|
|
3
|
+
import "../../../Table.module-BgIez5R-.js";
|
|
4
4
|
import "../../../index-2QXL0WYc.js";
|
|
5
5
|
export {
|
|
6
6
|
a as TableSortButton
|
|
@@ -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-D0TO0TDT.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-D0TO0TDT.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-D0TO0TDT.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-D0TO0TDT.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-D0TO0TDT.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
3
|
import "../../../index-2QXL0WYc.js";
|
|
4
|
-
import { a6 as s } from "../../../LoadingSuspense-
|
|
4
|
+
import { a6 as s } from "../../../LoadingSuspense-D0TO0TDT.js";
|
|
5
5
|
import "../../../helpers/transition/getTransitionDuration.js";
|
|
6
|
-
import "../../../floating-ui.react-
|
|
6
|
+
import "../../../floating-ui.react-nmA48tb2.js";
|
|
7
7
|
export {
|
|
8
8
|
s as IressToastAnimated
|
|
9
9
|
};
|
|
@@ -2,10 +2,10 @@ 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-D0TO0TDT.js";
|
|
6
6
|
import "../../enums.js";
|
|
7
7
|
import "../Stack/Stack.js";
|
|
8
|
-
import "../../floating-ui.react-
|
|
8
|
+
import "../../floating-ui.react-nmA48tb2.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-D0TO0TDT.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-v5160", M = "ids-toggle--checkbox-mark-v5160", S = "ids-toggle--toggle-button-v5160", j = "ids-toggle--button-checked-v5160", R = "ids-toggle--toggle-button-container-v5160", $ = "ids-toggle--label-v5160", E = "ids-toggle--layout__inline-v5160", G = "ids-toggle--layout__stack-v5160", t = {
|
|
11
11
|
toggleBase: L,
|
|
12
12
|
checkboxMark: M,
|
|
13
13
|
toggleButton: S,
|
|
@@ -15,8 +15,8 @@ const L = "ids-toggle--toggle-base-v5150", M = "ids-toggle--checkbox-mark-v5150"
|
|
|
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-v5160",
|
|
19
|
+
"layout__inline-between": "ids-toggle--layout__inline-between-v5160",
|
|
20
20
|
layout__stack: G
|
|
21
21
|
}, O = ({
|
|
22
22
|
hiddenLabel: o,
|
|
@@ -1,36 +1,36 @@
|
|
|
1
|
-
import { jsxs as
|
|
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
3
|
import { c as j } from "../../index-2QXL0WYc.js";
|
|
4
|
-
import {
|
|
5
|
-
import { FloatingUIAlign as
|
|
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-nmA48tb2.js";
|
|
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-v5160", V = "ids-tooltip--content-v5160", r = {
|
|
11
11
|
tooltip: Q,
|
|
12
12
|
content: V
|
|
13
13
|
}, X = ({
|
|
14
14
|
children: o,
|
|
15
15
|
className: u,
|
|
16
16
|
align: n = "top",
|
|
17
|
-
delay:
|
|
18
|
-
open:
|
|
17
|
+
delay: h = 500,
|
|
18
|
+
open: d = !1,
|
|
19
19
|
tooltipText: g,
|
|
20
20
|
"data-testid": s,
|
|
21
21
|
...v
|
|
22
22
|
}) => {
|
|
23
23
|
const F = {
|
|
24
24
|
[r.tooltip]: !0
|
|
25
|
-
}, I = j(u, F), i = n === "auto", [c,
|
|
25
|
+
}, I = j(u, F), i = n === "auto", [c, A] = P(d), { refs: t, floatingStyles: b, context: e } = E({
|
|
26
26
|
placement: i ? void 0 : n,
|
|
27
27
|
open: c,
|
|
28
|
-
onOpenChange:
|
|
29
|
-
middleware: [H(5), i ? L() : M(),
|
|
30
|
-
}), x =
|
|
28
|
+
onOpenChange: A,
|
|
29
|
+
middleware: [H(5), i ? L() : M(), k()]
|
|
30
|
+
}), x = q(e, {
|
|
31
31
|
move: !1,
|
|
32
|
-
delay: { open:
|
|
33
|
-
}), y =
|
|
32
|
+
delay: { open: h, close: 500 }
|
|
33
|
+
}), y = B(e), C = D(e), T = G(e, { role: "tooltip" }), { getReferenceProps: w, getFloatingProps: N } = U([
|
|
34
34
|
x,
|
|
35
35
|
y,
|
|
36
36
|
C,
|
|
@@ -44,7 +44,7 @@ const Q = "ids-tooltip-v5150", V = "ids-tooltip--content-v5150", r = {
|
|
|
44
44
|
To fix this warning, change the activator to either IressButton, IressMenuItem or another focusable component.`,
|
|
45
45
|
"warn"
|
|
46
46
|
);
|
|
47
|
-
}, [o, t.reference]), /* @__PURE__ */
|
|
47
|
+
}, [o, t.reference]), /* @__PURE__ */ f("div", { className: I, ...v, "data-testid": s, children: [
|
|
48
48
|
/* @__PURE__ */ a(
|
|
49
49
|
"div",
|
|
50
50
|
{
|
|
@@ -59,19 +59,19 @@ const Q = "ids-tooltip-v5150", V = "ids-tooltip--content-v5150", r = {
|
|
|
59
59
|
"div",
|
|
60
60
|
{
|
|
61
61
|
className: r.content,
|
|
62
|
-
style:
|
|
62
|
+
style: b,
|
|
63
63
|
"data-testid": m(s, "tooltip-text"),
|
|
64
64
|
ref: t.setFloating,
|
|
65
65
|
...N(),
|
|
66
|
-
children: z(g).map((l,
|
|
66
|
+
children: z(g).map((l, p, O) => /* @__PURE__ */ f(S, { children: [
|
|
67
67
|
l,
|
|
68
|
-
|
|
69
|
-
] },
|
|
68
|
+
p < O.length - 1 && /* @__PURE__ */ a("br", {})
|
|
69
|
+
] }, p))
|
|
70
70
|
}
|
|
71
71
|
)
|
|
72
72
|
] });
|
|
73
73
|
};
|
|
74
|
-
X.Align =
|
|
74
|
+
X.Align = W;
|
|
75
75
|
export {
|
|
76
76
|
X as IressTooltip
|
|
77
77
|
};
|
|
@@ -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-v5160", f = "ids-validation-message--prefix-v5160", x = "ids-validation-message--message-v5160", p = "ids-validation-message--danger-v5160", u = "ids-validation-message--warning-v5160", N = "ids-validation-message--success-v5160", w = "ids-validation-message--info-v5160", 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-v5160", I = {
|
|
9
9
|
validationSummary: v
|
|
10
10
|
}, S = ({
|
|
11
11
|
children: a,
|
package/dist/constants.js
CHANGED