@iress-oss/ids-components 6.0.1 → 6.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.ai/components/select.md +16 -0
- package/dist/Autocomplete-DKufjQU5.js +324 -0
- package/dist/{Button-bZPKq0ue.js → Button-BY2qzshw.js} +4 -4
- package/dist/{Provider-DvnuqPfQ.js → Provider-BNuRw7ck.js} +2 -2
- package/dist/Shadow-DAfthdT2.js +57 -0
- package/dist/{Slideout-RnRSkJsj.js → Slideout-BOH2gwIN.js} +3 -3
- package/dist/{Table.styles-BLO9zGfS.js → Table.styles-CKD_vWqh.js} +3 -3
- package/dist/TableProvider-C8bDaWu2.js +80 -0
- package/dist/{TableRows-B3nZnazw.js → TableRows-DXoiLfwt.js} +3 -4
- package/dist/{Text.styles-C0D5aEE_.js → Text.styles-DUvXBRio.js} +2 -2
- package/dist/components/Alert/Alert.js +4 -4
- package/dist/components/Alert/Alert.styles.js +1 -1
- package/dist/components/Autocomplete/Autocomplete.d.ts +1 -1
- package/dist/components/Autocomplete/Autocomplete.js +1 -1
- package/dist/components/Autocomplete/Autocomplete.styles.js +1 -1
- package/dist/components/Autocomplete/components/AutocompleteInstructions.js +4 -1
- package/dist/components/Autocomplete/hooks/useAutocompleteSearch.d.ts +7 -2
- package/dist/components/Autocomplete/hooks/useAutocompleteSearch.js +1 -1
- package/dist/components/Autocomplete/index.js +2 -2
- package/dist/components/Avatar/Avatar.js +3 -3
- package/dist/components/Avatar/Avatar.styles.js +1 -1
- package/dist/components/Avatar/AvatarGroup/AvatarGroup.js +3 -3
- package/dist/components/Avatar/AvatarGroup/AvatarGroup.styles.js +1 -1
- package/dist/components/Button/Button.js +1 -1
- package/dist/components/Button/CloseButton/CloseButton.js +2 -2
- package/dist/components/Button/index.js +1 -1
- package/dist/components/ButtonGroup/ButtonGroup.js +4 -4
- package/dist/components/ButtonGroup/ButtonGroup.styles.js +1 -1
- package/dist/components/Card/Card.js +3 -3
- package/dist/components/Card/Card.styles.js +1 -1
- package/dist/components/Checkbox/Checkbox.js +4 -4
- package/dist/components/Checkbox/Checkbox.styles.js +1 -1
- package/dist/components/CheckboxGroup/CheckboxGroup.js +1 -1
- package/dist/components/CheckboxGroup/CheckboxGroup.styles.js +1 -1
- package/dist/components/CheckboxMark/CheckboxMark.js +3 -3
- package/dist/components/CheckboxMark/CheckboxMark.styles.js +1 -1
- package/dist/components/Col/Col.js +2 -2
- package/dist/components/Col/Col.styles.js +1 -1
- package/dist/components/Container/Container.js +2 -2
- package/dist/components/Container/Container.styles.js +1 -1
- package/dist/components/Divider/Divider.js +3 -3
- package/dist/components/Divider/Divider.styles.js +1 -1
- package/dist/components/Expander/Expander.js +4 -4
- package/dist/components/Expander/Expander.styles.js +1 -1
- package/dist/components/ExpanderChevron/ExpanderChevron.js +1 -1
- package/dist/components/ExpanderChevron/ExpanderChevron.styles.js +1 -1
- package/dist/components/Field/Field.js +51 -51
- package/dist/components/Field/Field.styles.d.ts +1 -1
- package/dist/components/Field/Field.styles.js +7 -1
- package/dist/components/Field/components/FieldFooter.js +3 -3
- package/dist/components/Field/components/FieldHint.js +29 -21
- package/dist/components/Field/index.d.ts +0 -2
- package/dist/components/Field/index.js +1 -3
- package/dist/components/{Field/FieldGroup → FieldGroup}/FieldGroup.js +9 -9
- package/dist/components/{Field/FieldGroup → FieldGroup}/FieldGroup.styles.d.ts +1 -1
- package/dist/components/{Field/FieldGroup → FieldGroup}/FieldGroup.styles.js +2 -2
- package/dist/components/FieldGroup/index.d.ts +2 -0
- package/dist/components/FieldGroup/index.js +3 -0
- package/dist/components/Hide/Hide.js +1 -1
- package/dist/components/Hide/helpers/normaliseHideValues.js +1 -1
- package/dist/components/Icon/Icon.constants.js +1 -1
- package/dist/components/Icon/Icon.js +5 -5
- package/dist/components/Icon/Icon.styles.js +1 -1
- package/dist/components/Icon/IconProvider.js +2 -2
- package/dist/components/Icon/helpers/getMaterialSymbolsList.js +1 -1
- package/dist/components/Icon/hooks/useDynamicFontSubsetting.js +56 -39
- package/dist/components/Icon/index.js +1 -1
- package/dist/components/Image/Image.js +2 -2
- package/dist/components/Image/Image.styles.js +1 -1
- package/dist/components/Inline/Inline.js +2 -2
- package/dist/components/Inline/Inline.styles.js +1 -1
- package/dist/components/Input/Input.js +4 -4
- package/dist/components/Input/Input.styles.d.ts +4 -4
- package/dist/components/Input/Input.styles.js +5 -5
- package/dist/components/Input/InputBase/InputBase.js +1 -1
- package/dist/components/InputCurrency/InputCurrency.js +1 -1
- package/dist/components/Label/Label.styles.js +1 -1
- package/dist/components/Label/LabelBase/LabelBase.js +2 -2
- package/dist/components/Link/Link.js +3 -3
- package/dist/components/Link/Link.styles.d.ts +1 -0
- package/dist/components/Link/Link.styles.js +5 -2
- package/dist/components/Menu/Menu.js +84 -80
- package/dist/components/Menu/Menu.styles.js +8 -1
- package/dist/components/Menu/MenuDivider/MenuDivider.js +1 -1
- package/dist/components/Menu/MenuGroup/MenuGroup.d.ts +18 -3
- package/dist/components/Menu/MenuGroup/MenuGroup.js +39 -35
- package/dist/components/Menu/MenuGroup/MenuGroup.styles.js +1 -1
- package/dist/components/Menu/MenuHeading/MenuHeading.d.ts +20 -0
- package/dist/components/Menu/MenuHeading/MenuHeading.js +14 -0
- package/dist/components/Menu/MenuItem/MenuItem.js +4 -4
- package/dist/components/Menu/MenuItem/MenuItem.styles.js +10 -1
- package/dist/components/Menu/MenuText/MenuText.d.ts +1 -5
- package/dist/components/Menu/MenuText/MenuText.js +14 -20
- package/dist/components/Menu/index.d.ts +1 -0
- package/dist/components/Menu/index.js +4 -3
- package/dist/components/Modal/Modal.js +6 -6
- package/dist/components/Modal/Modal.styles.js +1 -1
- package/dist/components/Panel/Panel.js +1 -1
- package/dist/components/Pill/Pill.js +4 -4
- package/dist/components/Pill/Pill.styles.js +1 -1
- package/dist/components/Placeholder/Placeholder.js +1 -1
- package/dist/components/Placeholder/Placeholder.styles.js +1 -1
- package/dist/components/Popover/InputPopover/InputPopover.js +2 -2
- package/dist/components/Popover/Popover.js +4 -4
- package/dist/components/Popover/Popover.styles.js +1 -1
- package/dist/components/Popover/components/PopoverContent.js +54 -44
- package/dist/components/Popover/helpers/handlePopoverTabKey.js +2 -2
- package/dist/components/Popover/hooks/useFloatingPopover.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 +5 -5
- package/dist/components/Progress/Progress.styles.js +1 -1
- package/dist/components/Provider/Provider.js +1 -1
- package/dist/components/Provider/index.js +1 -1
- package/dist/components/Radio/Radio.js +4 -4
- package/dist/components/Radio/Radio.styles.js +1 -1
- package/dist/components/RadioGroup/RadioGroup.js +2 -2
- package/dist/components/RadioGroup/RadioGroup.styles.js +1 -1
- package/dist/components/RadioMark/RadioMark.js +3 -3
- package/dist/components/RadioMark/RadioMark.styles.js +1 -1
- package/dist/components/Readonly/Readonly.js +4 -4
- package/dist/components/Readonly/Readonly.styles.js +1 -1
- package/dist/components/Row/Row.js +2 -2
- package/dist/components/Row/Row.styles.js +1 -1
- package/dist/components/Select/Select.d.ts +6 -0
- package/dist/components/Select/Select.js +1 -1
- package/dist/components/Select/Select.styles.js +1 -1
- package/dist/components/Select/SelectBody/SelectBody.js +1 -1
- package/dist/components/Select/SelectBody/SelectBody.styles.js +1 -1
- package/dist/components/Select/SelectHeading/SelectHeading.js +7 -7
- package/dist/components/Select/SelectLabel/SelectLabel.js +1 -1
- package/dist/components/Select/SelectLabel/SelectLabel.styles.js +1 -1
- package/dist/components/Select/SelectMenu/SelectMenu.js +1 -1
- package/dist/components/Select/SelectMenu/SelectMenu.styles.js +1 -1
- package/dist/components/Select/SelectMenu/SelectMenuItem.js +1 -1
- package/dist/components/Select/SelectSearch/SelectSearch.js +1 -1
- package/dist/components/Select/SelectSearch/SelectSearch.styles.js +1 -1
- package/dist/components/Select/SelectSearchInput/SelectSearchInput.js +1 -1
- package/dist/components/Select/SelectSearchInput/SelectSearchInput.styles.js +1 -1
- package/dist/components/Select/SelectTags/SelectTags.js +17 -17
- package/dist/components/Select/SelectTags/SelectTags.styles.js +1 -1
- package/dist/components/Select/components/NativeSelect.js +3 -3
- package/dist/components/Select/components/NativeSelect.styles.d.ts +1 -1
- package/dist/components/Select/components/NativeSelect.styles.js +2 -2
- package/dist/components/Select/components/SelectOptions.d.ts +2 -2
- package/dist/components/Select/components/SelectOptions.js +117 -98
- package/dist/components/Select/index.js +1 -1
- package/dist/components/Skeleton/Skeleton.js +1 -1
- package/dist/components/Skeleton/Skeleton.styles.js +1 -1
- package/dist/components/SkipLink/SkipLink.js +2 -2
- package/dist/components/SkipLink/SkipLink.styles.js +1 -1
- package/dist/components/Slideout/Slideout.js +1 -1
- package/dist/components/Slideout/Slideout.styles.js +2 -1
- package/dist/components/Slideout/components/SlideoutInner.js +2 -2
- package/dist/components/Slideout/hooks/usePushElement.js +1 -1
- package/dist/components/Slideout/index.js +1 -1
- package/dist/components/Slider/Slider.js +3 -3
- package/dist/components/Slider/Slider.styles.js +1 -1
- package/dist/components/Slider/components/SliderTicks.js +2 -2
- package/dist/components/Spinner/Spinner.js +1 -1
- package/dist/components/Spinner/Spinner.styles.js +2 -2
- package/dist/components/Stack/Stack.js +2 -2
- package/dist/components/Stack/Stack.styles.js +1 -1
- package/dist/components/Styled/Styled.js +1 -1
- package/dist/components/TabSet/Tab/Tab.js +3 -3
- package/dist/components/TabSet/Tab/Tab.styles.js +1 -1
- package/dist/components/TabSet/TabSet.d.ts +6 -1
- package/dist/components/TabSet/TabSet.js +39 -35
- package/dist/components/TabSet/TabSet.styles.d.ts +1 -1
- package/dist/components/TabSet/TabSet.styles.js +14 -2
- package/dist/components/Table/Table.js +1 -1
- package/dist/components/Table/Table.styles.js +1 -1
- package/dist/components/Table/TableBody/TableBody.js +1 -1
- package/dist/components/Table/TableProvider.js +2 -43
- package/dist/components/Table/components/TableEmpty.js +1 -1
- package/dist/components/Table/components/TableFilterButton.js +1 -1
- package/dist/components/Table/components/TableHeader.js +1 -1
- package/dist/components/Table/components/TableHeaderCell.js +1 -1
- package/dist/components/Table/components/TableRows.js +1 -1
- package/dist/components/Table/components/TableSortButton.js +1 -1
- package/dist/components/Table/helpers/composeTableColumnDefs.js +1 -1
- package/dist/components/Table/helpers/composeTableInitialColumnFilters.js +1 -1
- package/dist/components/Table/hooks/useTable.js +1 -1
- package/dist/components/Table/hooks/useTableColumnFilter.js +2 -2
- package/dist/components/Table/hooks/useTableColumnSort.js +1 -1
- package/dist/components/Table/hooks/useTableColumnStyles.js +4 -4
- package/dist/components/Table/index.js +2 -2
- package/dist/components/Tag/Tag.js +3 -3
- package/dist/components/Tag/Tag.styles.d.ts +14 -14
- package/dist/components/Tag/Tag.styles.js +17 -17
- package/dist/components/Tag/index.d.ts +0 -1
- package/dist/components/Tag/index.js +1 -2
- package/dist/components/{Tag/TagInput → TagInput}/TagInput.d.ts +1 -1
- package/dist/components/{Tag/TagInput → TagInput}/TagInput.js +7 -7
- package/dist/components/TagInput/TagInput.styles.d.ts +1 -0
- package/dist/components/{Tag/TagInput → TagInput}/TagInput.styles.js +2 -2
- package/dist/components/TagInput/index.d.ts +2 -0
- package/dist/components/TagInput/index.js +3 -0
- package/dist/components/Text/Text.js +3 -3
- package/dist/components/Text/Text.styles.js +1 -1
- package/dist/components/Text/index.js +1 -1
- package/dist/components/Toaster/Toaster.js +3 -3
- package/dist/components/Toaster/Toaster.styles.js +1 -1
- package/dist/components/Toaster/components/Toast/Toast.js +2 -2
- package/dist/components/Toaster/components/Toast/Toast.styles.js +1 -1
- package/dist/components/Toggle/Toggle.js +3 -3
- package/dist/components/Toggle/Toggle.styles.js +1 -1
- package/dist/components/Tooltip/Tooltip.d.ts +7 -2
- package/dist/components/Tooltip/Tooltip.js +50 -44
- package/dist/components/Tooltip/Tooltip.styles.js +1 -1
- package/dist/components/Tooltip/TooltipProvider.d.ts +27 -0
- package/dist/components/Tooltip/TooltipProvider.js +14 -0
- package/dist/components/Tooltip/hooks/useTooltipContainer.d.ts +17 -0
- package/dist/components/Tooltip/hooks/useTooltipContainer.js +5 -0
- package/dist/components/Tooltip/index.d.ts +4 -0
- package/dist/components/Tooltip/index.js +4 -2
- package/dist/components/ValidationMessage/ValidationLink/ValidationLink.js +1 -1
- package/dist/components/ValidationMessage/ValidationMessage.js +5 -5
- package/dist/components/ValidationMessage/ValidationSummary/ValidationSummary.js +2 -2
- package/dist/{composeTableColumnDefs-B1U_Snxq.js → composeTableColumnDefs-DzUn8D5f.js} +230 -266
- package/dist/constants.js +1 -1
- package/dist/{create-recipe-CYwSzH6a.js → create-recipe-A316lnq3.js} +3 -3
- package/dist/{css-D3KwXbP0.js → css-R34N3rft.js} +32 -32
- package/dist/{cva-BWFp4eLV.js → cva-DcOwIar2.js} +2 -2
- package/dist/{factory-sKbby7-S.js → factory-BKr3zaf6.js} +4 -4
- package/dist/{floating-ui.react-COiJC198.js → floating-ui.react-TDMXDOBr.js} +50 -50
- package/dist/helpers/dom/focusableElements.js +1 -1
- package/dist/helpers/label-value/highlightQueryInLabel.js +378 -2
- package/dist/helpers/label-value/highlightQueryInLabelValue.js +1 -1
- package/dist/helpers/label-value/searchLabelValues.js +3 -2
- package/dist/helpers/styling/iressCss.js +1 -1
- package/dist/hooks/useBreakpoint.js +1 -1
- package/dist/hooks/useResponsiveProps.js +1 -1
- package/dist/index.d-BITk11Vr.js +4 -0
- package/dist/{index.esm-CmxdHJYy.js → index.esm-CapMi3wi.js} +2 -2
- package/dist/{is-valid-prop-BoZ7GJt2.js → is-valid-prop-BVyYPT21.js} +1 -1
- package/dist/{main-BpD96KHv.js → main-TklToXNs.js} +24 -25
- package/dist/main.d.ts +2 -0
- package/dist/main.js +130 -126
- package/dist/patterns/Breadcrumbs/Breadcrumbs.js +2 -2
- package/dist/patterns/Breadcrumbs/Breadcrumbs.styles.js +1 -1
- package/dist/patterns/ContextualMenu/ContextualMenu.js +5 -5
- package/dist/patterns/ContextualMenu/ContextualMenu.styles.js +1 -1
- package/dist/patterns/DropdownMenu/DropdownMenu.js +119 -107
- package/dist/patterns/DropdownMenu/DropdownMenu.styles.js +1 -1
- package/dist/patterns/DropdownMenu/hooks/useDropdownMenuFlags.d.ts +1 -0
- package/dist/patterns/DropdownMenu/hooks/useDropdownMenuFlags.js +1 -0
- package/dist/patterns/Form/Form.styles.js +1 -1
- package/dist/patterns/Form/FormField/FormFieldset.d.ts +1 -1
- package/dist/patterns/Form/FormField/FormFieldset.js +1 -1
- package/dist/patterns/Form/FormField/helpers/getErrorTypeMessage.js +2 -2
- package/dist/patterns/Form/FormField/helpers/transformCustomRulesToValidateRule.js +5 -5
- package/dist/patterns/Form/FormValidationSummary/FormValidationSummary.js +2 -1
- package/dist/patterns/Form/HookForm/HookForm.js +2 -2
- package/dist/patterns/Form/components/LongForm.js +4 -2
- package/dist/patterns/Form/components/ShortForm.js +2 -1
- package/dist/patterns/Loading/Loading.styles.d.ts +3 -0
- package/dist/patterns/Loading/Loading.styles.js +5 -2
- package/dist/patterns/Loading/components/ComponentLoading.js +4 -4
- package/dist/patterns/Loading/components/DefaultLoading.js +2 -2
- package/dist/patterns/Loading/components/LongLoading.js +4 -4
- package/dist/patterns/Loading/components/PageLoading.js +6 -6
- package/dist/patterns/Loading/components/StartUpLoading.js +2 -2
- package/dist/patterns/Loading/components/ValidateLoading.js +3 -3
- package/dist/patterns/Shadow/Shadow.js +1 -1
- package/dist/patterns/Shadow/index.js +1 -1
- package/dist/patterns/SideNav/SideNav.d.ts +6 -0
- package/dist/patterns/SideNav/SideNav.js +78 -72
- package/dist/patterns/SideNav/SideNav.styles.js +7 -3
- package/dist/rolldown-runtime-3b4jIN3o.js +13 -0
- package/dist/style.css +1 -1
- package/dist/{sva-DOLIp5Dd.js → sva-DGhdmNso.js} +3 -3
- package/dist/{useAutocompleteSearch-BJ_hhoKp.js → useAutocompleteSearch-BYzUn7Ag.js} +49 -43
- package/package.json +16 -16
- package/dist/Autocomplete-CuUjmIAw.js +0 -308
- package/dist/Shadow-OHZiBoEb.js +0 -57
- package/dist/components/Tag/TagInput/TagInput.styles.d.ts +0 -1
- package/dist/highlightQueryInLabel-BLIy9JHT.js +0 -386
- package/dist/index.d-CLYyYDIv.js +0 -4
- /package/dist/components/{Field/FieldGroup → FieldGroup}/FieldGroup.d.ts +0 -0
- /package/dist/{constants-D0UW4Ewm.js → constants-DJz-xntC.js} +0 -0
- /package/dist/{cx-CZ8IJJTy.js → cx-QcEwjve6.js} +0 -0
- /package/dist/{tokens-CG_Rn1W3.js → tokens-DQsbW5to.js} +0 -0
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { t as e } from "../../../cx-
|
|
2
|
-
import { t } from "../../../factory-
|
|
1
|
+
import { t as e } from "../../../cx-QcEwjve6.js";
|
|
2
|
+
import { t } from "../../../factory-BKr3zaf6.js";
|
|
3
3
|
import { GlobalCSSClass as n } from "../../../enums.js";
|
|
4
4
|
import { propagateTestid as r } from "../../../helpers/utility/propagateTestid.js";
|
|
5
5
|
import { FloatingPopoverContext as i, useFloatingPopover as a } from "../hooks/useFloatingPopover.js";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { t as e } from "../../css-
|
|
2
|
-
import { t } from "../../cx-
|
|
3
|
-
import { n } from "../../is-valid-prop-
|
|
4
|
-
import { t as r } from "../../factory-
|
|
1
|
+
import { t as e } from "../../css-R34N3rft.js";
|
|
2
|
+
import { t } from "../../cx-QcEwjve6.js";
|
|
3
|
+
import { n } from "../../is-valid-prop-BVyYPT21.js";
|
|
4
|
+
import { t as r } from "../../factory-BKr3zaf6.js";
|
|
5
5
|
import { GlobalCSSClass as i } from "../../enums.js";
|
|
6
6
|
import { propagateTestid as a } from "../../helpers/utility/propagateTestid.js";
|
|
7
7
|
import { FloatingPopoverContext as o, useFloatingPopover as s } from "./hooks/useFloatingPopover.js";
|
|
@@ -1,74 +1,84 @@
|
|
|
1
|
-
import { t as e } from "../../../factory-
|
|
2
|
-
import { a as t, c as n, f as r, i, p as a, r as o, s } from "../../../floating-ui.react-
|
|
1
|
+
import { t as e } from "../../../factory-BKr3zaf6.js";
|
|
2
|
+
import { a as t, c as n, f as r, i, p as a, r as o, s } from "../../../floating-ui.react-TDMXDOBr.js";
|
|
3
3
|
import { usePopover as c } from "../hooks/usePopover.js";
|
|
4
4
|
import { composePopoverFloatingProps as l } from "../helpers/composeFloatingProps.js";
|
|
5
5
|
import { usePopoverContainer as u } from "../hooks/usePopoverContainer.js";
|
|
6
|
-
import { useEffect as d, useMemo as f, useRef as p } from "react";
|
|
7
|
-
import { jsx as
|
|
6
|
+
import { useEffect as d, useMemo as f, useRef as p, useState as m } from "react";
|
|
7
|
+
import { jsx as h } from "react/jsx-runtime";
|
|
8
8
|
//#region src/components/Popover/components/PopoverContent.tsx
|
|
9
|
-
var
|
|
10
|
-
let
|
|
9
|
+
var g = ({ children: t, displayMode: n, id: r, observerTarget: a, style: s, virtualFocus: u, ...m }) => {
|
|
10
|
+
let g = c(), _ = p(null);
|
|
11
11
|
d(() => {
|
|
12
|
-
if (
|
|
13
|
-
let e = () => {
|
|
14
|
-
|
|
12
|
+
if (g?.show) {
|
|
13
|
+
let e = a ?? document.body, t = () => {
|
|
14
|
+
e.querySelectorAll("[data-floating-ui-focus-guard][aria-hidden=\"true\"]").forEach((e) => {
|
|
15
15
|
e instanceof HTMLElement && e.tabIndex !== -1 && (e.tabIndex = -1);
|
|
16
16
|
});
|
|
17
|
-
},
|
|
17
|
+
}, n = (e) => {
|
|
18
18
|
e instanceof HTMLElement && e.hasAttribute("data-floating-ui-focus-guard") && e.getAttribute("aria-hidden") === "true" && e.tabIndex !== -1 && (e.tabIndex = -1);
|
|
19
|
-
},
|
|
19
|
+
}, r = setTimeout(t, 0), i = new MutationObserver((e) => {
|
|
20
20
|
e.forEach((e) => {
|
|
21
|
-
e.addedNodes.forEach(
|
|
21
|
+
e.addedNodes.forEach(n);
|
|
22
22
|
});
|
|
23
23
|
});
|
|
24
|
-
return
|
|
24
|
+
return i.observe(e, {
|
|
25
25
|
childList: !0,
|
|
26
26
|
subtree: !0
|
|
27
27
|
}), () => {
|
|
28
|
-
clearTimeout(
|
|
28
|
+
clearTimeout(r), i.disconnect();
|
|
29
29
|
};
|
|
30
30
|
}
|
|
31
|
-
}, [
|
|
32
|
-
|
|
33
|
-
}, [
|
|
34
|
-
let
|
|
35
|
-
if (!
|
|
36
|
-
let
|
|
37
|
-
return /* @__PURE__ */
|
|
38
|
-
elementsRef:
|
|
39
|
-
children: /* @__PURE__ */
|
|
40
|
-
context:
|
|
41
|
-
initialFocus:
|
|
31
|
+
}, [g?.show, a]), d(() => {
|
|
32
|
+
g?.show && g.api.elements.reference && (_.current = g.getFocusableActivator() ?? null);
|
|
33
|
+
}, [g?.show, g]);
|
|
34
|
+
let v = f(() => !u && _, [u]);
|
|
35
|
+
if (!g) return null;
|
|
36
|
+
let y = l(g, n, s, r);
|
|
37
|
+
return /* @__PURE__ */ h(i, {
|
|
38
|
+
elementsRef: g.list,
|
|
39
|
+
children: /* @__PURE__ */ h(o, {
|
|
40
|
+
context: g.api.context,
|
|
41
|
+
initialFocus: u ? -1 : 0,
|
|
42
42
|
modal: !1,
|
|
43
|
-
disabled: !
|
|
44
|
-
returnFocus:
|
|
45
|
-
children: /* @__PURE__ */
|
|
46
|
-
...
|
|
47
|
-
hidden: !
|
|
48
|
-
ref:
|
|
49
|
-
...
|
|
43
|
+
disabled: !g?.show,
|
|
44
|
+
returnFocus: v,
|
|
45
|
+
children: /* @__PURE__ */ h(e.div, {
|
|
46
|
+
...m,
|
|
47
|
+
hidden: !g?.show,
|
|
48
|
+
ref: g?.api.refs.setFloating,
|
|
49
|
+
...y,
|
|
50
50
|
children: t
|
|
51
51
|
})
|
|
52
52
|
})
|
|
53
53
|
});
|
|
54
54
|
};
|
|
55
|
-
|
|
56
|
-
var
|
|
57
|
-
let i = r(), { container: a } = u(), o = e === void 0 ? a : e;
|
|
58
|
-
return
|
|
55
|
+
g.displayName = "PopoverContentInner";
|
|
56
|
+
var _ = ({ container: e, ...n }) => {
|
|
57
|
+
let i = r(), { container: a } = u(), o = e === void 0 ? a : e, [c, l] = m();
|
|
58
|
+
return d(() => {
|
|
59
|
+
if (!o) {
|
|
60
|
+
l(void 0);
|
|
61
|
+
return;
|
|
62
|
+
}
|
|
63
|
+
let e = "current" in o ? o.current ?? void 0 : o ?? void 0;
|
|
64
|
+
l(e);
|
|
65
|
+
}, [o]), o ? /* @__PURE__ */ h(t, {
|
|
59
66
|
id: i,
|
|
60
|
-
children: /* @__PURE__ */
|
|
67
|
+
children: /* @__PURE__ */ h(s, {
|
|
61
68
|
root: o,
|
|
62
69
|
preserveTabOrder: !0,
|
|
63
|
-
children: /* @__PURE__ */
|
|
70
|
+
children: /* @__PURE__ */ h(g, {
|
|
71
|
+
...n,
|
|
72
|
+
observerTarget: c
|
|
73
|
+
})
|
|
64
74
|
})
|
|
65
|
-
}) : /* @__PURE__ */
|
|
75
|
+
}) : /* @__PURE__ */ h(t, {
|
|
66
76
|
id: i,
|
|
67
|
-
children: /* @__PURE__ */
|
|
77
|
+
children: /* @__PURE__ */ h(g, { ...n })
|
|
68
78
|
});
|
|
69
79
|
};
|
|
70
|
-
|
|
71
|
-
var
|
|
72
|
-
|
|
80
|
+
_.displayName = "PopoverContentContainer";
|
|
81
|
+
var v = (e) => a() === null ? /* @__PURE__ */ h(n, { children: /* @__PURE__ */ h(_, { ...e }) }) : /* @__PURE__ */ h(_, { ...e });
|
|
82
|
+
v.displayName = "PopoverContent";
|
|
73
83
|
//#endregion
|
|
74
|
-
export {
|
|
84
|
+
export { v as PopoverContent };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import "../../../constants-
|
|
1
|
+
import "../../../constants-DJz-xntC.js";
|
|
2
2
|
import { focusableElements as e } from "../../../helpers/dom/focusableElements.js";
|
|
3
|
-
import { r as t } from "../../../index.esm-
|
|
3
|
+
import { r as t } from "../../../index.esm-CapMi3wi.js";
|
|
4
4
|
import { waitUntilTrue as n } from "./waitUntilTrue.js";
|
|
5
5
|
//#region src/components/Popover/helpers/handlePopoverTabKey.ts
|
|
6
6
|
var r = (e, t) => {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { GlobalCSSClass as e } from "../../../enums.js";
|
|
2
2
|
import { useControlledState as t } from "../../../hooks/useControlledState.js";
|
|
3
3
|
import { focusableElements as n } from "../../../helpers/dom/focusableElements.js";
|
|
4
|
-
import { C as r, E as i, S as a, T as o, d as s, g as c, l as ee, u as l, w as u, x as d, y as f } from "../../../floating-ui.react-
|
|
4
|
+
import { C as r, E as i, S as a, T as o, d as s, g as c, l as ee, u as l, w as u, x as d, y as f } from "../../../floating-ui.react-TDMXDOBr.js";
|
|
5
5
|
import { usePopoverNavigation as p } from "./usePopoverNavigation.js";
|
|
6
6
|
import { usePopoverAria as m } from "./usePopoverAria.js";
|
|
7
7
|
import { closestCrossShadow as h } from "../../../helpers/dom/closestCrossShadow.js";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { _ as e } from "../../../floating-ui.react-
|
|
1
|
+
import { _ as e } from "../../../floating-ui.react-TDMXDOBr.js";
|
|
2
2
|
import { FloatingPopoverContext as t } from "./useFloatingPopover.js";
|
|
3
3
|
import { useContext as n, useEffect as r, useId as i, useMemo as a } from "react";
|
|
4
4
|
//#region src/components/Popover/hooks/usePopoverItem.tsx
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { v as e } from "../../../floating-ui.react-
|
|
1
|
+
import { v as e } from "../../../floating-ui.react-TDMXDOBr.js";
|
|
2
2
|
import { useEffect as t, useMemo as n, useRef as r, useState as i } from "react";
|
|
3
3
|
//#region src/components/Popover/hooks/usePopoverNavigation.tsx
|
|
4
4
|
var a = (a, o, s, c, l = 0) => {
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { t as e } from "../../css-
|
|
2
|
-
import { t } from "../../cx-
|
|
3
|
-
import { n } from "../../is-valid-prop-
|
|
4
|
-
import { t as r } from "../../factory-
|
|
1
|
+
import { t as e } from "../../css-R34N3rft.js";
|
|
2
|
+
import { t } from "../../cx-QcEwjve6.js";
|
|
3
|
+
import { n } from "../../is-valid-prop-BVyYPT21.js";
|
|
4
|
+
import { t as r } from "../../factory-BKr3zaf6.js";
|
|
5
5
|
import { GlobalCSSClass as i } from "../../enums.js";
|
|
6
6
|
import { stringReplacer as a } from "../../helpers/formatting/stringReplacer.js";
|
|
7
7
|
import { progress as o } from "./Progress.styles.js";
|
|
8
|
-
import { t as s } from "../../tokens-
|
|
8
|
+
import { t as s } from "../../tokens-DQsbW5to.js";
|
|
9
9
|
import { jsx as c } from "react/jsx-runtime";
|
|
10
10
|
//#region src/components/Progress/Progress.tsx
|
|
11
11
|
var l = ({ backgroundImage: l, borderRadius: u, className: d, max: f = 100, min: p, sectionTitle: m = "Progress is {{current}} of {{max}}", style: h, value: g = 0, ..._ }) => {
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as e } from "../../Provider-
|
|
1
|
+
import { t as e } from "../../Provider-BNuRw7ck.js";
|
|
2
2
|
export { e as IressProvider };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as e } from "../../Provider-
|
|
1
|
+
import { t as e } from "../../Provider-BNuRw7ck.js";
|
|
2
2
|
export { e as IressProvider };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { t as e } from "../../css-
|
|
2
|
-
import { t } from "../../cx-
|
|
3
|
-
import { n } from "../../is-valid-prop-
|
|
4
|
-
import { t as r } from "../../factory-
|
|
1
|
+
import { t as e } from "../../css-R34N3rft.js";
|
|
2
|
+
import { t } from "../../cx-QcEwjve6.js";
|
|
3
|
+
import { n } from "../../is-valid-prop-BVyYPT21.js";
|
|
4
|
+
import { t as r } from "../../factory-BKr3zaf6.js";
|
|
5
5
|
import { GlobalCSSClass as i } from "../../enums.js";
|
|
6
6
|
import { IressText as a } from "../Text/Text.js";
|
|
7
7
|
import { propagateTestid as o } from "../../helpers/utility/propagateTestid.js";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { t as e } from "../../cx-
|
|
2
|
-
import { t } from "../../factory-
|
|
1
|
+
import { t as e } from "../../cx-QcEwjve6.js";
|
|
2
|
+
import { t } from "../../factory-BKr3zaf6.js";
|
|
3
3
|
import { GlobalCSSClass as n } from "../../enums.js";
|
|
4
4
|
import { useControlledState as r } from "../../hooks/useControlledState.js";
|
|
5
5
|
import { useNoDefaultValueInForms as i } from "../../patterns/Form/hooks/useNoDefaultValueInForms.js";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { t as e } from "../../css-
|
|
2
|
-
import { t } from "../../cx-
|
|
3
|
-
import { n } from "../../is-valid-prop-
|
|
1
|
+
import { t as e } from "../../css-R34N3rft.js";
|
|
2
|
+
import { t } from "../../cx-QcEwjve6.js";
|
|
3
|
+
import { n } from "../../is-valid-prop-BVyYPT21.js";
|
|
4
4
|
import { GlobalCSSClass as r } from "../../enums.js";
|
|
5
5
|
import { radioMark as i } from "./RadioMark.styles.js";
|
|
6
6
|
import { jsx as a } from "react/jsx-runtime";
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { t as e } from "../../css-
|
|
2
|
-
import { t } from "../../cx-
|
|
3
|
-
import { n } from "../../is-valid-prop-
|
|
1
|
+
import { t as e } from "../../css-R34N3rft.js";
|
|
2
|
+
import { t } from "../../cx-QcEwjve6.js";
|
|
3
|
+
import { n } from "../../is-valid-prop-BVyYPT21.js";
|
|
4
4
|
import { GlobalCSSClass as r } from "../../enums.js";
|
|
5
|
-
import { t as i } from "../../Button-
|
|
5
|
+
import { t as i } from "../../Button-BY2qzshw.js";
|
|
6
6
|
import { propagateTestid as a } from "../../helpers/utility/propagateTestid.js";
|
|
7
7
|
import { IressSpinner as o } from "../Spinner/Spinner.js";
|
|
8
8
|
import { getFormControlValueAsStringIfDefined as s } from "../../helpers/form/getFormControlValueAsStringIfDefined.js";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { t as e } from "../../cx-
|
|
2
|
-
import { t } from "../../factory-
|
|
1
|
+
import { t as e } from "../../cx-QcEwjve6.js";
|
|
2
|
+
import { t } from "../../factory-BKr3zaf6.js";
|
|
3
3
|
import { GlobalCSSClass as n } from "../../enums.js";
|
|
4
4
|
import { row as r } from "./Row.styles.js";
|
|
5
5
|
import { jsx as i } from "react/jsx-runtime";
|
|
@@ -101,6 +101,12 @@ export type IressSelectProps<TMultiple extends boolean = false, TNative extends
|
|
|
101
101
|
*/
|
|
102
102
|
value?: SelectValue<TMultiple, TNative>;
|
|
103
103
|
virtualFocus?: boolean;
|
|
104
|
+
/**
|
|
105
|
+
* Text to be displayed when the options function errors out. It is not used when the options are provided as an array.
|
|
106
|
+
* Can be a ReactNode or a render function that receives the error value.
|
|
107
|
+
* @default <IressAlert status="danger" variant="full-width" mb="none">An unknown error occurred. Please contact support if the error persists.</IressAlert>
|
|
108
|
+
*/
|
|
109
|
+
errorText?: ((error: boolean | string) => ReactNode) | ReactNode;
|
|
104
110
|
/**
|
|
105
111
|
* Header showed in option panel when expanded.
|
|
106
112
|
*/
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as e } from "../../Autocomplete-
|
|
1
|
+
import { n as e } from "../../Autocomplete-DKufjQU5.js";
|
|
2
2
|
export { e as IressSelect };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { t as e } from "../../../cx-
|
|
1
|
+
import { t as e } from "../../../cx-QcEwjve6.js";
|
|
2
2
|
import { GlobalCSSClass as t } from "../../../enums.js";
|
|
3
3
|
import { IressText as n } from "../../Text/Text.js";
|
|
4
4
|
import { selectBody as r } from "./SelectBody.styles.js";
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { t as e } from "../../../cx-
|
|
1
|
+
import { t as e } from "../../../cx-QcEwjve6.js";
|
|
2
2
|
import { GlobalCSSClass as t } from "../../../enums.js";
|
|
3
|
-
import { t as n } from "../../../Button-
|
|
3
|
+
import { t as n } from "../../../Button-BY2qzshw.js";
|
|
4
4
|
import { usePopoverItem as r } from "../../Popover/hooks/usePopoverItem.js";
|
|
5
5
|
import { select as i } from "../Select.styles.js";
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
6
|
+
import { IressMenuHeading as a } from "../../Menu/MenuHeading/MenuHeading.js";
|
|
7
|
+
import { IressInline as o } from "../../Inline/Inline.js";
|
|
8
8
|
import { forwardRef as s, useImperativeHandle as c, useRef as l } from "react";
|
|
9
9
|
import { jsx as u, jsxs as d } from "react/jsx-runtime";
|
|
10
10
|
//#region src/components/Select/SelectHeading/SelectHeading.tsx
|
|
@@ -15,17 +15,17 @@ var f = i(), p = s((i, a) => {
|
|
|
15
15
|
...d,
|
|
16
16
|
className: e(f.dropdownClear, t.SelectClearButton),
|
|
17
17
|
active: s,
|
|
18
|
-
mode: "
|
|
18
|
+
mode: "quaternary",
|
|
19
19
|
ref: (e) => {
|
|
20
20
|
o.current = e, d?.ref?.(o.current);
|
|
21
21
|
}
|
|
22
22
|
});
|
|
23
|
-
}), m = ({ children: n, className: r, clearAll: i, onClearAll: s, textStyle: c = "typography.
|
|
23
|
+
}), m = ({ children: n, className: r, clearAll: i, onClearAll: s, textStyle: c = "typography.body.md.medium", ...l }) => /* @__PURE__ */ u(a, {
|
|
24
24
|
...l,
|
|
25
25
|
className: e(f.dropdownSelectedHeading, r, t.SelectHeading),
|
|
26
26
|
role: void 0,
|
|
27
27
|
textStyle: c,
|
|
28
|
-
children: /* @__PURE__ */ d(
|
|
28
|
+
children: /* @__PURE__ */ d(o, {
|
|
29
29
|
horizontalAlign: "between",
|
|
30
30
|
verticalAlign: "middle",
|
|
31
31
|
children: [n, i && /* @__PURE__ */ u(p, {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { t as e } from "../../../cx-
|
|
1
|
+
import { t as e } from "../../../cx-QcEwjve6.js";
|
|
2
2
|
import { GlobalCSSClass as t } from "../../../enums.js";
|
|
3
3
|
import { IressText as n } from "../../Text/Text.js";
|
|
4
4
|
import { toArray as r } from "../../../helpers/formatting/toArray.js";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { t as e } from "../../../cx-
|
|
1
|
+
import { t as e } from "../../../cx-QcEwjve6.js";
|
|
2
2
|
import { GlobalCSSClass as t } from "../../../enums.js";
|
|
3
3
|
import { propagateTestid as n } from "../../../helpers/utility/propagateTestid.js";
|
|
4
4
|
import { toArray as r } from "../../../helpers/formatting/toArray.js";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { t as e } from "../../../cx-
|
|
1
|
+
import { t as e } from "../../../cx-QcEwjve6.js";
|
|
2
2
|
import { GlobalCSSClass as t } from "../../../enums.js";
|
|
3
3
|
import { IressText as n } from "../../Text/Text.js";
|
|
4
4
|
import { IressMenuDivider as r } from "../../Menu/MenuDivider/MenuDivider.js";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { t as e } from "../../../cx-
|
|
1
|
+
import { t as e } from "../../../cx-QcEwjve6.js";
|
|
2
2
|
import { GlobalCSSClass as t } from "../../../enums.js";
|
|
3
3
|
import { usePopover as n } from "../../Popover/hooks/usePopover.js";
|
|
4
4
|
import { handlePopoverTabKey as r } from "../../Popover/helpers/handlePopoverTabKey.js";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { t as e } from "../../../cx-
|
|
1
|
+
import { t as e } from "../../../cx-QcEwjve6.js";
|
|
2
2
|
import { GlobalCSSClass as t } from "../../../enums.js";
|
|
3
3
|
import { IressIcon as n } from "../../Icon/Icon.js";
|
|
4
4
|
import { usePopoverItem as r } from "../../Popover/hooks/usePopoverItem.js";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { t as e } from "../../../cx-
|
|
1
|
+
import { t as e } from "../../../cx-QcEwjve6.js";
|
|
2
2
|
import { GlobalCSSClass as t } from "../../../enums.js";
|
|
3
3
|
import { IressIcon as n } from "../../Icon/Icon.js";
|
|
4
|
-
import { t as r } from "../../../Button-
|
|
4
|
+
import { t as r } from "../../../Button-BY2qzshw.js";
|
|
5
5
|
import { IressText as i } from "../../Text/Text.js";
|
|
6
6
|
import { propagateTestid as a } from "../../../helpers/utility/propagateTestid.js";
|
|
7
7
|
import { toArray as o } from "../../../helpers/formatting/toArray.js";
|
|
@@ -12,9 +12,9 @@ import { getFormControlValueAsStringIfDefined as u } from "../../../helpers/form
|
|
|
12
12
|
import { composeLabelValueDescriptor as d } from "../../../helpers/label-value/composeLabelValueDescriptor.js";
|
|
13
13
|
import { selectTags as f } from "./SelectTags.styles.js";
|
|
14
14
|
import { IressTag as p } from "../../Tag/Tag.js";
|
|
15
|
-
import {
|
|
16
|
-
import {
|
|
17
|
-
import {
|
|
15
|
+
import { IressMenu as m } from "../../Menu/Menu.js";
|
|
16
|
+
import { IressMenuItem as h } from "../../Menu/MenuItem/MenuItem.js";
|
|
17
|
+
import { IressInline as g } from "../../Inline/Inline.js";
|
|
18
18
|
import { useCallback as _, useMemo as v, useState as y } from "react";
|
|
19
19
|
import { jsx as b, jsxs as x } from "react/jsx-runtime";
|
|
20
20
|
//#region src/components/Select/SelectTags/SelectTags.tsx
|
|
@@ -26,17 +26,17 @@ var S = (e, t) => {
|
|
|
26
26
|
let e = r.indexOf(t.currentTarget), i = r.filter((e) => e !== t.currentTarget), a = Math.max(e - 1, 0);
|
|
27
27
|
!i[a] && i[0] ? i[0].focus() : i[0] ? i[a].focus() : n?.focus();
|
|
28
28
|
}
|
|
29
|
-
}, C = ({ "data-testid": e, limit: t = 5, onDelete: i, onDeleteAll: o, onToggleActions: s, selectedArray:
|
|
29
|
+
}, C = ({ "data-testid": e, limit: t = 5, onDelete: i, onDeleteAll: o, onToggleActions: s, selectedArray: g, selectedOptionsText: v }) => {
|
|
30
30
|
let [C, w] = y(!1), T = c(), E = f(), D = _((e, t) => {
|
|
31
|
-
i?.(
|
|
31
|
+
i?.(g.find((t) => t.label === e), t), t.stopPropagation(), S(T, t);
|
|
32
32
|
}, [
|
|
33
33
|
i,
|
|
34
34
|
T,
|
|
35
|
-
|
|
35
|
+
g
|
|
36
36
|
]), O = _((e) => {
|
|
37
37
|
o?.(e), T?.getFocusableActivator()?.focus();
|
|
38
38
|
}, [o, T]);
|
|
39
|
-
return C &&
|
|
39
|
+
return C && g.length || !t || g.length <= t ? g.map((t) => /* @__PURE__ */ b(p, {
|
|
40
40
|
className: E.tag,
|
|
41
41
|
"data-testid": a(e, "tag"),
|
|
42
42
|
deleteButtonText: `Delete ${t.label}`,
|
|
@@ -63,34 +63,34 @@ var S = (e, t) => {
|
|
|
63
63
|
align: "bottom-end",
|
|
64
64
|
contentStyle: { p: "none" },
|
|
65
65
|
virtualFocus: !0,
|
|
66
|
-
children: /* @__PURE__ */ x(
|
|
66
|
+
children: /* @__PURE__ */ x(m, { children: [/* @__PURE__ */ b(h, {
|
|
67
67
|
onClick: () => w(!0),
|
|
68
68
|
children: "Expand all"
|
|
69
|
-
}), /* @__PURE__ */ b(
|
|
69
|
+
}), /* @__PURE__ */ b(h, {
|
|
70
70
|
onClick: O,
|
|
71
71
|
children: "Delete all"
|
|
72
72
|
})] })
|
|
73
73
|
}),
|
|
74
74
|
compact: !0,
|
|
75
|
-
children: d(
|
|
75
|
+
children: d(g, v)
|
|
76
76
|
});
|
|
77
|
-
}, w = ({ append: n = "", className: r, "data-testid": a, id: s, limit: c = 5, onDelete: l, onDeleteAll: u, onToggleActions: d, placeholder: p, prepend:
|
|
78
|
-
let S = v(() => o(
|
|
77
|
+
}, w = ({ append: n = "", className: r, "data-testid": a, id: s, limit: c = 5, onDelete: l, onDeleteAll: u, onToggleActions: d, placeholder: p, prepend: m, selected: h, selectedOptionsText: _ = "{{numOptions}} selected", ...y }) => {
|
|
78
|
+
let S = v(() => o(h), [h]), w = !S.length && p, T = !!S.length, E = f({ showDefaultChevron: n == null || n === "" || !n });
|
|
79
79
|
return /* @__PURE__ */ x(i, {
|
|
80
80
|
...y,
|
|
81
81
|
id: s,
|
|
82
82
|
tabIndex: 0,
|
|
83
83
|
className: e(r, E.root, t.FormElementInner, t.SelectTags),
|
|
84
84
|
children: [
|
|
85
|
-
|
|
85
|
+
m && /* @__PURE__ */ b("span", {
|
|
86
86
|
className: E.prepend,
|
|
87
|
-
children:
|
|
87
|
+
children: m
|
|
88
88
|
}),
|
|
89
89
|
w && /* @__PURE__ */ b(i, {
|
|
90
90
|
className: E.placeholder,
|
|
91
91
|
children: p
|
|
92
92
|
}),
|
|
93
|
-
T && /* @__PURE__ */ b(
|
|
93
|
+
T && /* @__PURE__ */ b(g, {
|
|
94
94
|
gap: "sm",
|
|
95
95
|
className: E.tagsList,
|
|
96
96
|
children: /* @__PURE__ */ b(C, {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { t as e } from "../../../css-
|
|
2
|
-
import { t } from "../../../cx-
|
|
3
|
-
import { n } from "../../../is-valid-prop-
|
|
1
|
+
import { t as e } from "../../../css-R34N3rft.js";
|
|
2
|
+
import { t } from "../../../cx-QcEwjve6.js";
|
|
3
|
+
import { n } from "../../../is-valid-prop-BVyYPT21.js";
|
|
4
4
|
import { GlobalCSSClass as r } from "../../../enums.js";
|
|
5
5
|
import { propagateTestid as i } from "../../../helpers/utility/propagateTestid.js";
|
|
6
6
|
import { useIdIfNeeded as a } from "../../../hooks/useIdIfNeeded.js";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { t as e } from "../../../sva-
|
|
1
|
+
import { t as e } from "../../../sva-DGhdmNso.js";
|
|
2
2
|
var t = e({
|
|
3
3
|
slots: [
|
|
4
4
|
"wrapper",
|
|
@@ -33,7 +33,7 @@ var t = e({
|
|
|
33
33
|
}
|
|
34
34
|
},
|
|
35
35
|
variants: {
|
|
36
|
-
showingPlaceholder: { true: { element: { color: "colour.neutral.
|
|
36
|
+
showingPlaceholder: { true: { element: { color: "colour.neutral.60" } } },
|
|
37
37
|
width: {
|
|
38
38
|
2: {
|
|
39
39
|
wrapper: { width: "[calc({spacing.spacing.2} + calc({sizes.chevron.select} * 2) + {sizes.input.2})]" },
|