@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,155 +1,167 @@
|
|
|
1
|
-
import { t as e } from "../../css-
|
|
2
|
-
import { t } from "../../cx-
|
|
3
|
-
import { n } from "../../is-valid-prop-
|
|
4
|
-
import { GlobalCSSClass as
|
|
5
|
-
import { IressIcon as
|
|
6
|
-
import { t as
|
|
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 { GlobalCSSClass as ee } from "../../enums.js";
|
|
5
|
+
import { IressIcon as r } from "../../components/Icon/Icon.js";
|
|
6
|
+
import { t as i } from "../../Button-BY2qzshw.js";
|
|
7
|
+
import { IressText as a } from "../../components/Text/Text.js";
|
|
7
8
|
import { propagateTestid as o } from "../../helpers/utility/propagateTestid.js";
|
|
8
|
-
import {
|
|
9
|
-
import {
|
|
10
|
-
import {
|
|
11
|
-
import {
|
|
12
|
-
import {
|
|
13
|
-
import {
|
|
14
|
-
import {
|
|
15
|
-
import {
|
|
16
|
-
import {
|
|
17
|
-
import {
|
|
18
|
-
import {
|
|
19
|
-
import {
|
|
20
|
-
import {
|
|
21
|
-
import {
|
|
9
|
+
import { IressSpinner as s } from "../../components/Spinner/Spinner.js";
|
|
10
|
+
import { toArray as c } from "../../helpers/formatting/toArray.js";
|
|
11
|
+
import { useControlledState as l } from "../../hooks/useControlledState.js";
|
|
12
|
+
import { useIdIfNeeded as u } from "../../hooks/useIdIfNeeded.js";
|
|
13
|
+
import { IressPopover as d } from "../../components/Popover/Popover.js";
|
|
14
|
+
import { usePopoverItem as f } from "../../components/Popover/hooks/usePopoverItem.js";
|
|
15
|
+
import { t as te } from "../../useAutocompleteSearch-BYzUn7Ag.js";
|
|
16
|
+
import { IressDivider as ne } from "../../components/Divider/Divider.js";
|
|
17
|
+
import { IressInline as re } from "../../components/Inline/Inline.js";
|
|
18
|
+
import { IressSelectMenu as ie } from "../../components/Select/SelectMenu/SelectMenu.js";
|
|
19
|
+
import { IressSelectSearchInput as ae } from "../../components/Select/SelectSearchInput/SelectSearchInput.js";
|
|
20
|
+
import { IressStyled as p } from "../../components/Styled/Styled.js";
|
|
21
|
+
import { dropdownMenu as m } from "./DropdownMenu.styles.js";
|
|
22
|
+
import { useDropdownMenuFlags as h } from "./hooks/useDropdownMenuFlags.js";
|
|
23
|
+
import { forwardRef as g, useImperativeHandle as _, useMemo as v, useRef as y, useState as b } from "react";
|
|
24
|
+
import { Fragment as x, jsx as S, jsxs as C } from "react/jsx-runtime";
|
|
22
25
|
//#region src/patterns/DropdownMenu/DropdownMenu.tsx
|
|
23
|
-
var
|
|
24
|
-
let n =
|
|
25
|
-
return
|
|
26
|
+
var oe = m.raw(), w = m(), se = g((e, t) => {
|
|
27
|
+
let n = y(null), { isActiveInPopover: ee, ...r } = f();
|
|
28
|
+
return _(t, () => n.current), /* @__PURE__ */ S(i, {
|
|
26
29
|
...e,
|
|
27
|
-
...
|
|
28
|
-
className:
|
|
30
|
+
...r,
|
|
31
|
+
className: w.reset,
|
|
29
32
|
mode: "quaternary",
|
|
30
33
|
ref: (e) => {
|
|
31
|
-
n.current = e,
|
|
34
|
+
n.current = e, r?.ref?.(n.current);
|
|
32
35
|
}
|
|
33
36
|
});
|
|
34
|
-
}),
|
|
37
|
+
}), T = g(({ activatorStyle: i = {}, align: f = "bottom-start", container: m, className: g, "data-testid": T, defaultSelected: ce, debounceThreshold: le, footer: ue, header: de, label: E, id: fe, initialOptions: pe, loadingDelay: D, inputProps: O = {
|
|
35
38
|
clearable: !0,
|
|
36
|
-
prepend: /* @__PURE__ */
|
|
37
|
-
}, limitDesktop:
|
|
38
|
-
let
|
|
39
|
+
prepend: /* @__PURE__ */ S(r, { name: "search" })
|
|
40
|
+
}, limitDesktop: k = 12, limitMobile: A = 6, multiSelect: j, onChange: M, onReset: N, options: P, searchable: F, searchNoResultsText: I, selected: L, selectedOptionsText: R = " ({{numOptions}})", visibleResetButton: z, ...B }, me) => {
|
|
41
|
+
let V = u({ id: fe }), H = `${V}-sr-text`, U = y(null), W = v(() => F ?? typeof P == "function", [P, F]), he = {
|
|
39
42
|
clearable: !0,
|
|
40
|
-
prepend: /* @__PURE__ */
|
|
41
|
-
...
|
|
42
|
-
}, { value:
|
|
43
|
+
prepend: /* @__PURE__ */ S(r, { name: "search" }),
|
|
44
|
+
...O
|
|
45
|
+
}, { value: G, setValue: K } = l({
|
|
43
46
|
component: "IressDropdownMenu",
|
|
44
|
-
defaultValue:
|
|
47
|
+
defaultValue: ce,
|
|
45
48
|
value: L
|
|
46
|
-
}), [
|
|
49
|
+
}), [ge, q] = b(""), [J, Y] = b(!1), [_e, ve] = v(() => n(B), [B]), [ye, be] = v(() => n(i), [i]), xe = (e) => {
|
|
47
50
|
q(e.target.value);
|
|
48
|
-
},
|
|
51
|
+
}, Se = () => {
|
|
49
52
|
q("");
|
|
50
|
-
},
|
|
51
|
-
e && (M?.(e),
|
|
52
|
-
},
|
|
53
|
-
N?.(), j || Y(!1);
|
|
53
|
+
}, Ce = (e) => {
|
|
54
|
+
e && (M?.(e), K(e), j || Y(!1));
|
|
55
|
+
}, X = () => {
|
|
56
|
+
K(void 0), N?.(), j || Y(!1);
|
|
54
57
|
};
|
|
55
|
-
|
|
56
|
-
...
|
|
58
|
+
_(me, () => ({
|
|
59
|
+
...U.current,
|
|
57
60
|
clearSearch: () => q("")
|
|
58
61
|
}));
|
|
59
|
-
let { debouncedQuery:
|
|
60
|
-
debounceThreshold:
|
|
61
|
-
initialOptions:
|
|
62
|
+
let { debouncedQuery: we, loading: Z, results: Q, shouldShowInstructions: Te, shouldShowDebounceWaiting: Ee, shouldShowNoResults: De } = te({
|
|
63
|
+
debounceThreshold: le,
|
|
64
|
+
initialOptions: pe ?? (typeof P == "function" ? void 0 : P),
|
|
65
|
+
loadingDelay: D,
|
|
62
66
|
options: P,
|
|
63
|
-
query:
|
|
64
|
-
}), $ =
|
|
65
|
-
debouncedQuery:
|
|
66
|
-
loading:
|
|
67
|
-
results:
|
|
68
|
-
searchable:
|
|
69
|
-
shouldShowInstructions:
|
|
70
|
-
shouldShowDebounceWaiting:
|
|
71
|
-
shouldShowNoResults:
|
|
67
|
+
query: ge
|
|
68
|
+
}), $ = h({
|
|
69
|
+
debouncedQuery: we,
|
|
70
|
+
loading: Z,
|
|
71
|
+
results: Q,
|
|
72
|
+
searchable: W,
|
|
73
|
+
shouldShowInstructions: Te,
|
|
74
|
+
shouldShowDebounceWaiting: Ee,
|
|
75
|
+
shouldShowNoResults: De,
|
|
72
76
|
visibleResetButton: z
|
|
73
|
-
}),
|
|
74
|
-
let e =
|
|
75
|
-
return j ? /* @__PURE__ */
|
|
77
|
+
}), Oe = v(() => {
|
|
78
|
+
let e = c(G);
|
|
79
|
+
return j ? /* @__PURE__ */ C(x, { children: [E, R.replace("{{numOptions}}", e.length.toString())] }) : e[0]?.label ?? E;
|
|
76
80
|
}, [
|
|
77
|
-
|
|
81
|
+
G,
|
|
78
82
|
j,
|
|
79
|
-
|
|
83
|
+
E,
|
|
80
84
|
R
|
|
81
|
-
]),
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
+
]), ke = v(() => Z ? "loading" : J && !Q.length ? I : J && Q.length ? `${Q.length} results` : E, [
|
|
86
|
+
E,
|
|
87
|
+
Z,
|
|
88
|
+
Q.length,
|
|
85
89
|
I,
|
|
86
90
|
J
|
|
87
91
|
]);
|
|
88
|
-
return /* @__PURE__ */
|
|
92
|
+
return /* @__PURE__ */ C(x, { children: [/* @__PURE__ */ C(d, {
|
|
89
93
|
matchActivatorWidth: !0,
|
|
90
|
-
...
|
|
91
|
-
activator: /* @__PURE__ */
|
|
92
|
-
...
|
|
93
|
-
"aria-describedby":
|
|
94
|
-
"data-testid":
|
|
94
|
+
...ve,
|
|
95
|
+
activator: /* @__PURE__ */ S("button", {
|
|
96
|
+
...be,
|
|
97
|
+
"aria-describedby": H,
|
|
98
|
+
"data-testid": i?.["data-testid"] ?? o(T, "activator-button__button"),
|
|
95
99
|
onClick: () => Y(!0),
|
|
96
|
-
className: t(
|
|
97
|
-
children:
|
|
100
|
+
className: t(i?.className, e(oe.activator, ye)),
|
|
101
|
+
children: Oe
|
|
98
102
|
}),
|
|
99
|
-
align:
|
|
100
|
-
className: t(
|
|
101
|
-
container:
|
|
103
|
+
align: f,
|
|
104
|
+
className: t(g, e(_e), w.root, ee.Filter),
|
|
105
|
+
container: m,
|
|
102
106
|
contentStyle: {
|
|
103
|
-
className:
|
|
107
|
+
className: w.popoverContent,
|
|
104
108
|
p: "none"
|
|
105
109
|
},
|
|
106
|
-
"data-testid":
|
|
107
|
-
id:
|
|
110
|
+
"data-testid": T,
|
|
111
|
+
id: V,
|
|
108
112
|
show: J,
|
|
109
113
|
onActivated: () => Y(!0),
|
|
110
114
|
onDeactivated: () => Y(!1),
|
|
111
|
-
ref:
|
|
115
|
+
ref: U,
|
|
112
116
|
type: "listbox",
|
|
113
117
|
children: [
|
|
114
|
-
|
|
115
|
-
$.showHeader && /* @__PURE__ */
|
|
116
|
-
className:
|
|
117
|
-
children: [
|
|
118
|
-
...
|
|
118
|
+
de,
|
|
119
|
+
$.showHeader && /* @__PURE__ */ C(x, { children: [/* @__PURE__ */ C(p, {
|
|
120
|
+
className: w.searchHeader,
|
|
121
|
+
children: [W && /* @__PURE__ */ S(ae, {
|
|
122
|
+
...he,
|
|
119
123
|
role: "searchbox",
|
|
120
|
-
className:
|
|
121
|
-
"data-testid": o(
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
onClick: be,
|
|
124
|
+
className: w.searchInput,
|
|
125
|
+
"data-testid": o(T, "input"),
|
|
126
|
+
onChange: xe,
|
|
127
|
+
onClear: Se
|
|
128
|
+
}), z && G && /* @__PURE__ */ S(se, {
|
|
129
|
+
"data-testid": o(T, "reset-button"),
|
|
130
|
+
onClick: X,
|
|
128
131
|
children: typeof z == "string" ? z : "Reset filter"
|
|
129
132
|
})]
|
|
130
|
-
}), $.showResults && /* @__PURE__ */
|
|
131
|
-
$.showResults && /* @__PURE__ */
|
|
132
|
-
className:
|
|
133
|
-
"data-testid": o(
|
|
134
|
-
items:
|
|
135
|
-
limitDesktop:
|
|
133
|
+
}), $.showResults && /* @__PURE__ */ S(ne, {})] }),
|
|
134
|
+
$.showResults && /* @__PURE__ */ S(ie, {
|
|
135
|
+
className: w.optionList,
|
|
136
|
+
"data-testid": o(T, "menu"),
|
|
137
|
+
items: Q,
|
|
138
|
+
limitDesktop: k,
|
|
136
139
|
limitMobile: A,
|
|
137
140
|
multiSelect: j,
|
|
138
|
-
onChange:
|
|
139
|
-
selected:
|
|
141
|
+
onChange: Ce,
|
|
142
|
+
selected: G
|
|
143
|
+
}),
|
|
144
|
+
$.showLoading && /* @__PURE__ */ C(re, {
|
|
145
|
+
gap: "sm",
|
|
146
|
+
verticalAlign: "middle",
|
|
147
|
+
p: "spacing.3",
|
|
148
|
+
children: [/* @__PURE__ */ S(s, { color: "colour.neutral.70" }), /* @__PURE__ */ S(a, {
|
|
149
|
+
color: "colour.neutral.70",
|
|
150
|
+
children: "Loading results..."
|
|
151
|
+
})]
|
|
140
152
|
}),
|
|
141
|
-
$.showNoResults && /* @__PURE__ */
|
|
142
|
-
className:
|
|
153
|
+
$.showNoResults && /* @__PURE__ */ S("div", {
|
|
154
|
+
className: w.noResults,
|
|
143
155
|
children: I
|
|
144
156
|
}),
|
|
145
|
-
|
|
157
|
+
ue
|
|
146
158
|
]
|
|
147
|
-
}), /* @__PURE__ */
|
|
159
|
+
}), /* @__PURE__ */ S(p, {
|
|
148
160
|
srOnly: !0,
|
|
149
|
-
id:
|
|
150
|
-
children:
|
|
161
|
+
id: H,
|
|
162
|
+
children: ke
|
|
151
163
|
})] });
|
|
152
164
|
});
|
|
153
|
-
|
|
165
|
+
T.displayName = "IressDropdownMenu";
|
|
154
166
|
//#endregion
|
|
155
|
-
export {
|
|
167
|
+
export { T as IressDropdownMenu };
|
|
@@ -2,6 +2,7 @@ import { AutocompleteSearchHookReturn } from '../../../components/Autocomplete';
|
|
|
2
2
|
import { IressDropdownMenuProps } from '../DropdownMenu';
|
|
3
3
|
export declare const useDropdownMenuFlags: ({ debouncedQuery, loading, results, searchable, visibleResetButton, }: Omit<AutocompleteSearchHookReturn, "clearError" | "error" | "startSearch" | "stopSearch"> & Pick<IressDropdownMenuProps, "searchable" | "visibleResetButton">) => {
|
|
4
4
|
showHeader: string | boolean | undefined;
|
|
5
|
+
showLoading: boolean;
|
|
5
6
|
showNoResults: string | false;
|
|
6
7
|
showResults: boolean;
|
|
7
8
|
};
|
|
@@ -4,6 +4,7 @@ var t = ({ debouncedQuery: t, loading: n, results: r, searchable: i, visibleRese
|
|
|
4
4
|
let o = e(() => i || a, [i, a]), s = e(() => !!r.length, [r]);
|
|
5
5
|
return {
|
|
6
6
|
showHeader: o,
|
|
7
|
+
showLoading: e(() => n && !r.length, [n, r.length]),
|
|
7
8
|
showNoResults: e(() => r.length === 0 && !n && t, [
|
|
8
9
|
t,
|
|
9
10
|
n,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ReactNode } from 'react';
|
|
2
2
|
import { Control, FieldPath, FieldPathValue, FieldValues, UseControllerProps } from 'react-hook-form';
|
|
3
|
-
import { IressFieldGroupProps } from '../../../components/
|
|
3
|
+
import { IressFieldGroupProps } from '../../../components/FieldGroup';
|
|
4
4
|
import { CustomRules } from './helpers/transformCustomRulesToValidateRule';
|
|
5
5
|
import { FormFieldRenderProps } from './FormField';
|
|
6
6
|
export interface IressFormFieldsetProps<T extends FieldValues = FieldValues, TName extends FieldPath<T> = FieldPath<T>> extends Omit<IressFieldGroupProps, 'children' | 'htmlFor' | 'required' | 'join' | 'inline'>, Omit<UseControllerProps<T, FieldPath<T>>, 'disabled'> {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { FormContext as e } from "../FormContext.js";
|
|
2
|
-
import { IressFieldGroup as t } from "../../../components/
|
|
2
|
+
import { IressFieldGroup as t } from "../../../components/FieldGroup/FieldGroup.js";
|
|
3
3
|
import { getErrorTypeMessage as n } from "./helpers/getErrorTypeMessage.js";
|
|
4
4
|
import { transformCustomRulesToValidateRule as r } from "./helpers/transformCustomRulesToValidateRule.js";
|
|
5
5
|
import { useFieldRenderProps as i } from "./hooks/useFieldRenderProps.js";
|
|
@@ -2,9 +2,9 @@ import { stringReplacer as e } from "../../../../helpers/formatting/stringReplac
|
|
|
2
2
|
//#region src/patterns/Form/FormField/helpers/getErrorTypeMessage.ts
|
|
3
3
|
var t = /* @__PURE__ */ function(e) {
|
|
4
4
|
return e.required = "Please fill out this field", e.maxLength = "Please shorten this text to {{attrValue}} characters or less", e.minLength = "Please lengthen this text to {{attrValue}} characters or more", e.max = "Please enter a value less than or equal to {{attrValue}}", e.min = "Please enter a value greater than or equal to {{attrValue}}", e.minDate = "Please enter a date that is on or after {{attrValue}}", e.maxDate = "Please enter a date that is on or before {{attrValue}}", e.pattern = "Please match the requested format", e.email = "Please enter a valid email address", e.validate = "Please enter a valid value", e;
|
|
5
|
-
}({}), n = (n, r, i, a = "") => n || `${a}${r ? e(t[r] ??
|
|
5
|
+
}({}), n = (n, r, i, a = "") => n || `${a}${r ? e(t[r] ?? "Please enter a valid value", [{
|
|
6
6
|
name: "{{attrValue}}",
|
|
7
7
|
value: String(i?.[r])
|
|
8
|
-
}]) :
|
|
8
|
+
}]) : "Please enter a valid value"}`;
|
|
9
9
|
//#endregion
|
|
10
10
|
export { t as FormFieldErrorMessages, n as getErrorTypeMessage };
|
|
@@ -5,15 +5,15 @@ var t = ({ email: t, minDate: n, maxDate: r, validate: i, ...a }) => {
|
|
|
5
5
|
let o = i ?? {};
|
|
6
6
|
if (t && (o.email = (e) => {
|
|
7
7
|
if (!e) return !0;
|
|
8
|
-
let n = /^[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$/, r = typeof t == "string"
|
|
8
|
+
let n = /^[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$/, r = typeof t == "string" && t;
|
|
9
9
|
return n.test(e) || r;
|
|
10
10
|
}), n) {
|
|
11
|
-
let t = "value" in n ? n.value : n, r = "message" in n
|
|
12
|
-
o.minDate = (n) => n
|
|
11
|
+
let t = "value" in n ? n.value : n, r = "message" in n && n.message;
|
|
12
|
+
o.minDate = (n) => !n || e(n) >= t || r;
|
|
13
13
|
}
|
|
14
14
|
if (r) {
|
|
15
|
-
let t = "value" in r ? r.value : r, n = "message" in r
|
|
16
|
-
o.maxDate = (r) => r
|
|
15
|
+
let t = "value" in r ? r.value : r, n = "message" in r && r.message;
|
|
16
|
+
o.maxDate = (r) => !r || e(r) <= t || n;
|
|
17
17
|
}
|
|
18
18
|
return {
|
|
19
19
|
...a,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { t as e } from "../../../factory-
|
|
1
|
+
import { t as e } from "../../../factory-BKr3zaf6.js";
|
|
2
2
|
import { propagateTestid as t } from "../../../helpers/utility/propagateTestid.js";
|
|
3
3
|
import { IressAlert as n } from "../../../components/Alert/Alert.js";
|
|
4
4
|
import { FormContext as r } from "../FormContext.js";
|
|
@@ -42,6 +42,7 @@ var c = e("div", { base: {
|
|
|
42
42
|
role: "none",
|
|
43
43
|
status: "danger",
|
|
44
44
|
variant: g,
|
|
45
|
+
multiLine: !0,
|
|
45
46
|
children: /* @__PURE__ */ s(i, {
|
|
46
47
|
..._,
|
|
47
48
|
"data-testid": t(u, "messages"),
|
|
@@ -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 { useIdIfNeeded as i } from "../../../hooks/useIdIfNeeded.js";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { t as e } from "../../../cx-
|
|
1
|
+
import { t as e } from "../../../cx-QcEwjve6.js";
|
|
2
2
|
import { IressText as t } from "../../../components/Text/Text.js";
|
|
3
3
|
import { IressPanel as n } from "../../../components/Panel/Panel.js";
|
|
4
4
|
import { IressInline as r } from "../../../components/Inline/Inline.js";
|
|
@@ -7,7 +7,7 @@ import { IressHookForm as a } from "../HookForm/HookForm.js";
|
|
|
7
7
|
import { forwardRef as o, useMemo as s } from "react";
|
|
8
8
|
import { jsx as c, jsxs as l } from "react/jsx-runtime";
|
|
9
9
|
import { useForm as u } from "react-hook-form";
|
|
10
|
-
var d = o(({ actions: o, alert: d, children: f, className: p, criteriaMode: m, context: h, defaultValues: g, delayError: _, footer: v, heading: y, mode: b = "onBlur", panelStyle: x = {
|
|
10
|
+
var d = o(({ actions: o, alert: d, children: f, className: p, criteriaMode: m, context: h, defaultValues: g, delayError: _, footer: v, heading: y, mode: b = "onBlur", panelStyle: x = { p: "spacing.0" }, progressive: S, resetOptions: C, resolver: w, reValidateMode: T = "onChange", shouldUseNativeValidation: E, shouldUnregister: D, sticky: O = !1, values: k, ...A }, j) => {
|
|
11
11
|
let M = u({
|
|
12
12
|
criteriaMode: m,
|
|
13
13
|
context: h,
|
|
@@ -40,6 +40,7 @@ var d = o(({ actions: o, alert: d, children: f, className: p, criteriaMode: m, c
|
|
|
40
40
|
horizontalAlign: "between",
|
|
41
41
|
verticalAlign: "bottom",
|
|
42
42
|
className: N.header,
|
|
43
|
+
noWrap: !0,
|
|
43
44
|
children: [P, /* @__PURE__ */ c("div", {
|
|
44
45
|
className: N.actions,
|
|
45
46
|
children: o
|
|
@@ -48,6 +49,7 @@ var d = o(({ actions: o, alert: d, children: f, className: p, criteriaMode: m, c
|
|
|
48
49
|
/* @__PURE__ */ l(n, {
|
|
49
50
|
...x,
|
|
50
51
|
className: e(N.children, x.className),
|
|
52
|
+
noBorder: !0,
|
|
51
53
|
children: [d, f]
|
|
52
54
|
}),
|
|
53
55
|
v && /* @__PURE__ */ c("div", {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { t as e } from "../../../cx-
|
|
1
|
+
import { t as e } from "../../../cx-QcEwjve6.js";
|
|
2
2
|
import { IressText as t } from "../../../components/Text/Text.js";
|
|
3
3
|
import { form as n } from "../Form.styles.js";
|
|
4
4
|
import { IressHookForm as r } from "../HookForm/HookForm.js";
|
|
@@ -22,6 +22,7 @@ var l = i(({ actions: i, alert: l, children: u, className: d, criteriaMode: f, c
|
|
|
22
22
|
values: w
|
|
23
23
|
}), O = n({ pattern: "short" }), k = a(() => typeof g == "string" ? /* @__PURE__ */ o(t, {
|
|
24
24
|
element: "h2",
|
|
25
|
+
mb: "spacing.4",
|
|
25
26
|
children: g
|
|
26
27
|
}) : g, [g]);
|
|
27
28
|
return /* @__PURE__ */ s(r, {
|
|
@@ -37,6 +37,9 @@ export declare const loading: import('../../styled-system/types').SlotRecipeRunt
|
|
|
37
37
|
opacity: number;
|
|
38
38
|
transition: "[opacity 0.3s ease-in-out]";
|
|
39
39
|
zIndex: "100";
|
|
40
|
+
display: "inline-flex";
|
|
41
|
+
alignItems: "center";
|
|
42
|
+
gap: "spacing.2";
|
|
40
43
|
};
|
|
41
44
|
overlay: {
|
|
42
45
|
position: "absolute";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { t as e } from "../../sva-
|
|
1
|
+
import { t as e } from "../../sva-DGhdmNso.js";
|
|
2
2
|
//#region src/patterns/Loading/Loading.styles.ts
|
|
3
3
|
var t = e({
|
|
4
4
|
slots: [
|
|
@@ -37,7 +37,10 @@ var t = e({
|
|
|
37
37
|
borderRadius: "radius.system.tag",
|
|
38
38
|
opacity: 0,
|
|
39
39
|
transition: "[opacity 0.3s ease-in-out]",
|
|
40
|
-
zIndex: "100"
|
|
40
|
+
zIndex: "100",
|
|
41
|
+
display: "inline-flex",
|
|
42
|
+
alignItems: "center",
|
|
43
|
+
gap: "spacing.2"
|
|
41
44
|
},
|
|
42
45
|
overlay: {
|
|
43
46
|
position: "absolute",
|
|
@@ -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 { IressSpinner as i } from "../../../components/Spinner/Spinner.js";
|
|
6
6
|
import { IressSkeleton as a } from "../../../components/Skeleton/Skeleton.js";
|
|
7
7
|
import { loading as o } from "../Loading.styles.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 { IressText as n } from "../../../components/Text/Text.js";
|
|
4
4
|
import { IressSpinner as r } from "../../../components/Spinner/Spinner.js";
|
|
5
5
|
import { IressInline as i } from "../../../components/Inline/Inline.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 { IressText as i } from "../../../components/Text/Text.js";
|
|
6
6
|
import { propagateTestid as a } from "../../../helpers/utility/propagateTestid.js";
|
|
7
7
|
import { IressPanel as o } from "../../../components/Panel/Panel.js";
|
|
@@ -1,9 +1,9 @@
|
|
|
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 { propagateTestid as n } from "../../../helpers/utility/propagateTestid.js";
|
|
4
4
|
import { IressCard as r } from "../../../components/Card/Card.js";
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
5
|
+
import { IressDivider as i } from "../../../components/Divider/Divider.js";
|
|
6
|
+
import { IressInline as a } from "../../../components/Inline/Inline.js";
|
|
7
7
|
import { IressCol as o } from "../../../components/Col/Col.js";
|
|
8
8
|
import { IressContainer as s } from "../../../components/Container/Container.js";
|
|
9
9
|
import { IressStack as c } from "../../../components/Stack/Stack.js";
|
|
@@ -75,7 +75,7 @@ var _ = () => /* @__PURE__ */ h(o, {
|
|
|
75
75
|
children: [/* @__PURE__ */ h(u, {
|
|
76
76
|
textStyle: "typography.heading.1",
|
|
77
77
|
width: "25%"
|
|
78
|
-
}), /* @__PURE__ */ g(
|
|
78
|
+
}), /* @__PURE__ */ g(a, {
|
|
79
79
|
gap: "lg",
|
|
80
80
|
children: [/* @__PURE__ */ h(u, {
|
|
81
81
|
textStyle: "typography.heading.4",
|
|
@@ -86,7 +86,7 @@ var _ = () => /* @__PURE__ */ h(o, {
|
|
|
86
86
|
})]
|
|
87
87
|
})]
|
|
88
88
|
}),
|
|
89
|
-
/* @__PURE__ */ h(
|
|
89
|
+
/* @__PURE__ */ h(i, {}),
|
|
90
90
|
/* @__PURE__ */ g(l, {
|
|
91
91
|
gutter: "lg",
|
|
92
92
|
children: [
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { t as e } from "../../../css-
|
|
2
|
-
import { t } from "../../../cx-
|
|
1
|
+
import { t as e } from "../../../css-R34N3rft.js";
|
|
2
|
+
import { t } from "../../../cx-QcEwjve6.js";
|
|
3
3
|
import { IressText as n } from "../../../components/Text/Text.js";
|
|
4
4
|
import { propagateTestid as r } from "../../../helpers/utility/propagateTestid.js";
|
|
5
5
|
import { IressProgress as i } from "../../../components/Progress/Progress.js";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { t as e } from "../../../cx-
|
|
2
|
-
import { t } from "../../../factory-
|
|
3
|
-
import { t as n } from "../../../Button-
|
|
1
|
+
import { t as e } from "../../../cx-QcEwjve6.js";
|
|
2
|
+
import { t } from "../../../factory-BKr3zaf6.js";
|
|
3
|
+
import { t as n } from "../../../Button-BY2qzshw.js";
|
|
4
4
|
import { loading as r } from "../Loading.styles.js";
|
|
5
5
|
import { useEffect as i, useState as a } from "react";
|
|
6
6
|
import { jsx as o, jsxs as s } from "react/jsx-runtime";
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as e } from "../../Shadow-
|
|
1
|
+
import { t as e } from "../../Shadow-DAfthdT2.js";
|
|
2
2
|
export { e as IressShadow };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as e } from "../../Shadow-
|
|
1
|
+
import { t as e } from "../../Shadow-DAfthdT2.js";
|
|
2
2
|
export { e as IressShadow };
|
|
@@ -30,6 +30,12 @@ export interface SideNavSideMenuGroup {
|
|
|
30
30
|
children: SideNavSubItem[];
|
|
31
31
|
/** Whether this drawer is active/expanded. */
|
|
32
32
|
active?: boolean;
|
|
33
|
+
/** URL for the group activator link. */
|
|
34
|
+
href?: string;
|
|
35
|
+
/** Custom element type for third-party routing libraries. */
|
|
36
|
+
element?: ElementType;
|
|
37
|
+
/** Optional click handler for the group activator. */
|
|
38
|
+
onClick?: MouseEventHandler;
|
|
33
39
|
}
|
|
34
40
|
/**
|
|
35
41
|
* A panel content entry — either a flat item or a group of items.
|