@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,10 +1,11 @@
|
|
|
1
|
-
import { t as e } from "../../sva-
|
|
1
|
+
import { t as e } from "../../sva-DGhdmNso.js";
|
|
2
2
|
//#region src/components/Field/Field.styles.ts
|
|
3
3
|
var t = e({
|
|
4
4
|
slots: [
|
|
5
5
|
"root",
|
|
6
6
|
"hint",
|
|
7
7
|
"label",
|
|
8
|
+
"horizontalLabelWithHint",
|
|
8
9
|
"footer",
|
|
9
10
|
"footerIcon",
|
|
10
11
|
"supplementary",
|
|
@@ -34,6 +35,11 @@ var t = e({
|
|
|
34
35
|
footerIcon: { verticalAlign: "[-1.5px]" },
|
|
35
36
|
supplementary: { fontSize: "inherit" },
|
|
36
37
|
label: { mb: "spacing.2" },
|
|
38
|
+
horizontalLabelWithHint: {
|
|
39
|
+
display: "inline-flex",
|
|
40
|
+
alignItems: "center",
|
|
41
|
+
gap: "spacing.1"
|
|
42
|
+
},
|
|
37
43
|
labelContainer: {},
|
|
38
44
|
fieldContainer: { "& .ids-popover__content": { zIndex: "100" } }
|
|
39
45
|
},
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { t as e } from "../../../css-
|
|
2
|
-
import { t } from "../../../cx-
|
|
3
|
-
import { t as n } from "../../../factory-
|
|
1
|
+
import { t as e } from "../../../css-R34N3rft.js";
|
|
2
|
+
import { t } from "../../../cx-QcEwjve6.js";
|
|
3
|
+
import { t as n } from "../../../factory-BKr3zaf6.js";
|
|
4
4
|
import { IressIcon as r } from "../../Icon/Icon.js";
|
|
5
5
|
import { IressText as i } from "../../Text/Text.js";
|
|
6
6
|
import { field as a } from "../Field.styles.js";
|
|
@@ -1,33 +1,41 @@
|
|
|
1
|
-
import { t as e } from "../../../css-
|
|
2
|
-
import { t } from "../../../factory-
|
|
1
|
+
import { t as e } from "../../../css-R34N3rft.js";
|
|
2
|
+
import { t } from "../../../factory-BKr3zaf6.js";
|
|
3
3
|
import { IressIcon as n } from "../../Icon/Icon.js";
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
4
|
+
import { t as r } from "../../../Button-BY2qzshw.js";
|
|
5
|
+
import { propagateTestid as i } from "../../../helpers/utility/propagateTestid.js";
|
|
6
|
+
import { IressTooltip as a } from "../../Tooltip/Tooltip.js";
|
|
7
|
+
import { field as o } from "../Field.styles.js";
|
|
8
|
+
import { Fragment as s, jsx as c, jsxs as l } from "react/jsx-runtime";
|
|
8
9
|
//#region src/components/Field/components/FieldHint.tsx
|
|
9
|
-
var
|
|
10
|
-
let
|
|
10
|
+
var u = ({ hint: n, horizontal: r, hiddenLabel: a, dataTestId: u, children: f }) => {
|
|
11
|
+
let p = o.raw({
|
|
11
12
|
hasError: !1,
|
|
12
|
-
hiddenLabel:
|
|
13
|
-
horizontal:
|
|
13
|
+
hiddenLabel: a,
|
|
14
|
+
horizontal: r,
|
|
14
15
|
multipleFields: !1
|
|
15
16
|
});
|
|
16
|
-
return
|
|
17
|
-
className: e(
|
|
18
|
-
|
|
19
|
-
|
|
17
|
+
return r ? /* @__PURE__ */ l(t.div, {
|
|
18
|
+
className: e(p.horizontalLabelWithHint),
|
|
19
|
+
children: [f, /* @__PURE__ */ c(d, { hint: n })]
|
|
20
|
+
}) : /* @__PURE__ */ l(s, { children: [f, /* @__PURE__ */ c(t.div, {
|
|
21
|
+
className: e(p.hint),
|
|
22
|
+
"data-testid": i(u, "hint"),
|
|
23
|
+
srOnly: a,
|
|
20
24
|
children: n
|
|
21
25
|
})] });
|
|
22
|
-
},
|
|
26
|
+
}, d = ({ hint: e }) => /* @__PURE__ */ c(a, {
|
|
23
27
|
tooltipText: typeof e == "string" ? e : "Additional information",
|
|
24
28
|
align: "top",
|
|
25
|
-
children: /* @__PURE__ */
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
+
children: /* @__PURE__ */ c(r, {
|
|
30
|
+
mode: "muted",
|
|
31
|
+
p: "none",
|
|
32
|
+
mb: "-spacing.1",
|
|
33
|
+
children: /* @__PURE__ */ c(n, {
|
|
34
|
+
name: "info-circle",
|
|
35
|
+
screenreaderText: "More information"
|
|
36
|
+
})
|
|
29
37
|
})
|
|
30
38
|
});
|
|
31
|
-
|
|
39
|
+
u.displayName = "FieldHint";
|
|
32
40
|
//#endregion
|
|
33
|
-
export {
|
|
41
|
+
export { u as FieldHint, d as FieldHintIcon };
|
|
@@ -1,5 +1,3 @@
|
|
|
1
1
|
import { field as e } from "./Field.styles.js";
|
|
2
2
|
import { IressField as t } from "./Field.js";
|
|
3
|
-
|
|
4
|
-
import { IressFieldGroup as r } from "./FieldGroup/FieldGroup.js";
|
|
5
|
-
export { t as IressField, r as IressFieldGroup, e as field, n as fieldGroup };
|
|
3
|
+
export { t as IressField, e as field };
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import { t as e } from "
|
|
2
|
-
import { t } from "
|
|
3
|
-
import { n } from "
|
|
4
|
-
import { t as r } from "
|
|
5
|
-
import { GlobalCSSClass as i } from "
|
|
6
|
-
import { propagateTestid as a } from "
|
|
7
|
-
import { LabelBase as o } from "
|
|
8
|
-
import { FieldFooter as s } from "../components/FieldFooter.js";
|
|
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
|
+
import { GlobalCSSClass as i } from "../../enums.js";
|
|
6
|
+
import { propagateTestid as a } from "../../helpers/utility/propagateTestid.js";
|
|
7
|
+
import { LabelBase as o } from "../Label/LabelBase/LabelBase.js";
|
|
8
|
+
import { FieldFooter as s } from "../Field/components/FieldFooter.js";
|
|
9
9
|
import { fieldGroup as c } from "./FieldGroup.styles.js";
|
|
10
10
|
import { jsx as l, jsxs as u } from "react/jsx-runtime";
|
|
11
|
-
//#region src/components/
|
|
11
|
+
//#region src/components/FieldGroup/FieldGroup.tsx
|
|
12
12
|
var d = ({ children: d, className: f, "data-testid": p, error: m, errorMessages: h, hiddenLabel: g, hint: _, inline: v, join: y, label: b, removeErrorMargin: x, required: S, supplementary: C, ...w }) => {
|
|
13
13
|
let T = c.raw({
|
|
14
14
|
hasError: !!m || !!h?.length,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export declare const fieldGroup: import('
|
|
1
|
+
export declare const fieldGroup: import('../../styled-system/types').SlotRecipeRuntimeFn<"legend" | "hint" | "root" | "fields", {
|
|
2
2
|
hasError: {
|
|
3
3
|
true: {
|
|
4
4
|
root: {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { t as e } from "../../factory-
|
|
1
|
+
import { t as e } from "../../factory-BKr3zaf6.js";
|
|
2
2
|
import { useBreakpoint as t } from "../../hooks/useBreakpoint.js";
|
|
3
3
|
import { normaliseHideValues as n } from "./helpers/normaliseHideValues.js";
|
|
4
4
|
import { jsx as r } from "react/jsx-runtime";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { t as e } from "../../../constants-
|
|
1
|
+
import { t as e } from "../../../constants-DJz-xntC.js";
|
|
2
2
|
//#region src/components/Hide/helpers/normaliseHideValues.ts
|
|
3
3
|
var t = (t = {}) => typeof t == "boolean" ? Object.fromEntries(e.map((e) => [e, t])) : e.reduce((n, r, i) => (n[r] = t[r] ?? n[e[i - 1]] ?? !1, n), {});
|
|
4
4
|
//#endregion
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { s as e } from "../../constants-
|
|
1
|
+
import { s as e } from "../../constants-DJz-xntC.js";
|
|
2
2
|
export { e as MATERIAL_SYMBOLS };
|
|
@@ -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 { icon as i } from "./Icon.styles.js";
|
|
6
6
|
import { GlobalCSSClass as a } from "../../enums.js";
|
|
7
7
|
import { idsLogger as o } from "../../helpers/utility/idsLogger.js";
|
|
@@ -21,7 +21,7 @@ var f = ({ className: f, flip: p, name: m, rotate: h, screenreaderText: g, spin:
|
|
|
21
21
|
b,
|
|
22
22
|
S
|
|
23
23
|
]), x === "material" && S) {
|
|
24
|
-
let o = b
|
|
24
|
+
let o = !b || b.isIconLoaded(S), s = i.raw({
|
|
25
25
|
flip: p,
|
|
26
26
|
rotate: h,
|
|
27
27
|
spin: _,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { FontLoader as e } from "./components/FontLoader.js";
|
|
2
2
|
import { useDynamicFontSubsetting as t } from "./hooks/useDynamicFontSubsetting.js";
|
|
3
|
-
import { s as n } from "../../constants-
|
|
3
|
+
import { s as n } from "../../constants-DJz-xntC.js";
|
|
4
4
|
import { createContext as r, useCallback as i, useState as a } from "react";
|
|
5
5
|
import { jsx as o, jsxs as s } from "react/jsx-runtime";
|
|
6
6
|
//#region src/components/Icon/IconProvider.tsx
|
|
@@ -27,7 +27,7 @@ var c = r(null), l = ({ children: r, container: l, "data-testid": u, type: d = "
|
|
|
27
27
|
}), _ = {
|
|
28
28
|
type: d,
|
|
29
29
|
registerIcon: h,
|
|
30
|
-
isIconLoaded: (e) => d
|
|
30
|
+
isIconLoaded: (e) => d !== "material" || g(e)
|
|
31
31
|
};
|
|
32
32
|
return /* @__PURE__ */ s(c.Provider, {
|
|
33
33
|
value: _,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
//#region src/components/Icon/helpers/getMaterialSymbolsList.ts
|
|
2
2
|
var e = async () => {
|
|
3
|
-
let { default: e } = await import("../../../index.d-
|
|
3
|
+
let { default: e } = await import("../../../index.d-BITk11Vr.js"), t = e, n = /type MaterialSymbols = (\[)([\s\S]*?)(\]);/.exec(t);
|
|
4
4
|
if (!n) throw Error("Could not parse Material Symbols type definition");
|
|
5
5
|
return n[2].split(",").map((e) => e.trim()).filter((e) => e.startsWith("\"")).map((e) => e.replace(/(^")|("$)/g, ""));
|
|
6
6
|
}, t = null, n = () => (t ??= e(), t);
|
|
@@ -2,63 +2,80 @@ import { getNonce as e } from "../../../helpers/dom/getNonce.js";
|
|
|
2
2
|
import { idsLogger as t } from "../../../helpers/utility/idsLogger.js";
|
|
3
3
|
import { useCallback as n, useEffect as r, useRef as i, useState as a } from "react";
|
|
4
4
|
//#region src/components/Icon/hooks/useDynamicFontSubsetting.ts
|
|
5
|
-
var o = (
|
|
6
|
-
let
|
|
7
|
-
|
|
5
|
+
var o = (e, t, n) => {
|
|
6
|
+
let r = Array.from(document.querySelectorAll(`link[data-${t}]`)).filter((e) => e !== n).flatMap((e) => {
|
|
7
|
+
let t = e.getAttribute("data-icons");
|
|
8
|
+
return t ? t.split(",").filter(Boolean) : [];
|
|
9
|
+
});
|
|
10
|
+
if (r.length === 0) return e;
|
|
11
|
+
let i = Array.from(/* @__PURE__ */ new Set([...e, ...r]));
|
|
12
|
+
return i.sort((e, t) => e.localeCompare(t)), i;
|
|
13
|
+
}, s = (e, t, n) => {
|
|
14
|
+
if (e) return !1;
|
|
15
|
+
let r = document.querySelector(`link[data-${t}]:not([data-icons])`);
|
|
16
|
+
return !!(r && r !== n);
|
|
17
|
+
}, c = (e, t, n, r) => e ? !t : n.some((e) => !r.has(e)), l = 0, u = ({ icons: u, buildUrl: d, dataAttribute: f, fontFamily: p, disabled: m = !1, noSubsetting: h = !1 }) => {
|
|
18
|
+
let [g, _] = a(/* @__PURE__ */ new Set()), [v, y] = a(!1), b = i(null), x = i(String(++l)), S = n((e) => {
|
|
19
|
+
_((t) => {
|
|
8
20
|
let n = new Set(t);
|
|
9
21
|
return e.forEach((e) => n.add(e)), n;
|
|
10
22
|
});
|
|
11
|
-
}, []),
|
|
23
|
+
}, []), C = n((e) => {
|
|
12
24
|
e?.parentNode?.removeChild(e);
|
|
13
|
-
}, []),
|
|
14
|
-
|
|
25
|
+
}, []), w = n((e, t) => {
|
|
26
|
+
S(t), C(e), h && y(!0);
|
|
15
27
|
}, [
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
]),
|
|
20
|
-
t(`[useDynamicFontSubsetting] Failed to load font "${
|
|
21
|
-
|
|
28
|
+
S,
|
|
29
|
+
C,
|
|
30
|
+
h
|
|
31
|
+
]), T = n((e) => {
|
|
32
|
+
t(`[useDynamicFontSubsetting] Failed to load font "${p}" for icons: ${e.join(", ")}. Icons will render as text after timeout.`), setTimeout(() => {
|
|
33
|
+
S(e);
|
|
22
34
|
}, 3e3);
|
|
23
|
-
}, [
|
|
24
|
-
"fonts" in document ? (document.fonts.check(`24px "${
|
|
35
|
+
}, [S, p]), E = n((e, t) => {
|
|
36
|
+
"fonts" in document ? (document.fonts.check(`24px "${p}"`) ? Promise.resolve() : document.fonts.load(`24px "${p}"`)).then(() => w(e, t)).catch(() => T(t)) : setTimeout(() => S(t), 1e3);
|
|
25
37
|
}, [
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
38
|
+
p,
|
|
39
|
+
w,
|
|
40
|
+
T,
|
|
41
|
+
S
|
|
30
42
|
]);
|
|
31
43
|
return r(() => () => {
|
|
32
|
-
|
|
33
|
-
}, []), r(() => {
|
|
34
|
-
if (
|
|
35
|
-
let t = Array.from(
|
|
36
|
-
|
|
37
|
-
let
|
|
38
|
-
if (
|
|
39
|
-
|
|
44
|
+
document.querySelectorAll(`link[data-${f}="${x.current}"]`).forEach((e) => e.parentNode?.removeChild(e));
|
|
45
|
+
}, [f]), r(() => {
|
|
46
|
+
if (m) return;
|
|
47
|
+
let t = x.current, n = Array.from(u);
|
|
48
|
+
n.sort((e, t) => e.localeCompare(t));
|
|
49
|
+
let r = document.querySelector(`link[data-${f}="${t}"]`);
|
|
50
|
+
if (s(h, f, r)) {
|
|
51
|
+
E(null, n);
|
|
52
|
+
return;
|
|
53
|
+
}
|
|
54
|
+
let i = d(h ? n : o(n, f, r));
|
|
55
|
+
if (i === !1) {
|
|
56
|
+
h && y(!0);
|
|
40
57
|
return;
|
|
41
58
|
}
|
|
42
|
-
if (r?.getAttribute("data-url") ===
|
|
43
|
-
(
|
|
59
|
+
if (r?.getAttribute("data-url") === i) {
|
|
60
|
+
c(h, v, n, g) && E(null, n);
|
|
44
61
|
return;
|
|
45
62
|
}
|
|
46
|
-
let
|
|
47
|
-
|
|
63
|
+
let a = e(), l = document.createElement("link");
|
|
64
|
+
l.rel = "stylesheet", l.href = i, a && (l.nonce = a), l.setAttribute(`data-${f}`, t), l.setAttribute("data-url", i), h || l.setAttribute("data-icons", n.join(",")), l.addEventListener("load", () => E(r, n)), l.addEventListener("error", () => T(n)), document.head.appendChild(l), b.current = l;
|
|
48
65
|
}, [
|
|
49
|
-
o,
|
|
50
|
-
s,
|
|
51
|
-
c,
|
|
52
66
|
u,
|
|
53
|
-
x,
|
|
54
|
-
b,
|
|
55
67
|
d,
|
|
68
|
+
f,
|
|
56
69
|
m,
|
|
57
|
-
|
|
70
|
+
E,
|
|
71
|
+
T,
|
|
72
|
+
h,
|
|
73
|
+
v,
|
|
74
|
+
g
|
|
58
75
|
]), {
|
|
59
|
-
loadedIcons:
|
|
60
|
-
isIconLoaded: (e) =>
|
|
76
|
+
loadedIcons: g,
|
|
77
|
+
isIconLoaded: (e) => h ? v : g.has(e)
|
|
61
78
|
};
|
|
62
79
|
};
|
|
63
80
|
//#endregion
|
|
64
|
-
export {
|
|
81
|
+
export { u as useDynamicFontSubsetting };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { icon as e } from "./Icon.styles.js";
|
|
2
|
-
import { s as t } from "../../constants-
|
|
2
|
+
import { s as t } from "../../constants-DJz-xntC.js";
|
|
3
3
|
import { IressIconProvider as n } from "./IconProvider.js";
|
|
4
4
|
import { IressIcon as r } from "./Icon.js";
|
|
5
5
|
export { r as IressIcon, n as IressIconProvider, t as MATERIAL_SYMBOLS, e as icon };
|
|
@@ -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 { image as r } from "./Image.styles.js";
|
|
5
5
|
import { jsx as i } from "react/jsx-runtime";
|
|
@@ -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 { inline as r } from "./Inline.styles.js";
|
|
5
5
|
import { jsx as i } from "react/jsx-runtime";
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { t as e } from "../../cx-
|
|
2
|
-
import { n as t } from "../../is-valid-prop-
|
|
3
|
-
import { t as n } from "../../factory-
|
|
1
|
+
import { t as e } from "../../cx-QcEwjve6.js";
|
|
2
|
+
import { n as t } from "../../is-valid-prop-BVyYPT21.js";
|
|
3
|
+
import { t as n } from "../../factory-BKr3zaf6.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 { IressSpinner as a } from "../Spinner/Spinner.js";
|
|
7
7
|
import { useControlledState as o } from "../../hooks/useControlledState.js";
|
|
8
8
|
import { IressCloseButton as s } from "../Button/CloseButton/CloseButton.js";
|
|
@@ -101,7 +101,7 @@ export declare const input: import('../../styled-system/types').SlotRecipeRuntim
|
|
|
101
101
|
};
|
|
102
102
|
'25%': {
|
|
103
103
|
wrapper: {
|
|
104
|
-
|
|
104
|
+
maxWidth: "3/12";
|
|
105
105
|
};
|
|
106
106
|
formControl: {
|
|
107
107
|
width: "12/12";
|
|
@@ -109,7 +109,7 @@ export declare const input: import('../../styled-system/types').SlotRecipeRuntim
|
|
|
109
109
|
};
|
|
110
110
|
'50%': {
|
|
111
111
|
wrapper: {
|
|
112
|
-
|
|
112
|
+
maxWidth: "6/12";
|
|
113
113
|
};
|
|
114
114
|
formControl: {
|
|
115
115
|
width: "12/12";
|
|
@@ -117,7 +117,7 @@ export declare const input: import('../../styled-system/types').SlotRecipeRuntim
|
|
|
117
117
|
};
|
|
118
118
|
'75%': {
|
|
119
119
|
wrapper: {
|
|
120
|
-
|
|
120
|
+
maxWidth: "9/12";
|
|
121
121
|
};
|
|
122
122
|
formControl: {
|
|
123
123
|
width: "12/12";
|
|
@@ -125,7 +125,7 @@ export declare const input: import('../../styled-system/types').SlotRecipeRuntim
|
|
|
125
125
|
};
|
|
126
126
|
'100%': {
|
|
127
127
|
wrapper: {
|
|
128
|
-
|
|
128
|
+
maxWidth: "12/12";
|
|
129
129
|
};
|
|
130
130
|
formControl: {
|
|
131
131
|
width: "12/12";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { t as e } from "../../sva-
|
|
1
|
+
import { t as e } from "../../sva-DGhdmNso.js";
|
|
2
2
|
//#region src/components/Input/Input.styles.ts
|
|
3
3
|
var t = e({
|
|
4
4
|
slots: [
|
|
@@ -142,19 +142,19 @@ var t = e({
|
|
|
142
142
|
formControl: { width: "input.16" }
|
|
143
143
|
},
|
|
144
144
|
"25%": {
|
|
145
|
-
wrapper: {
|
|
145
|
+
wrapper: { maxWidth: "3/12" },
|
|
146
146
|
formControl: { width: "12/12" }
|
|
147
147
|
},
|
|
148
148
|
"50%": {
|
|
149
|
-
wrapper: {
|
|
149
|
+
wrapper: { maxWidth: "6/12" },
|
|
150
150
|
formControl: { width: "12/12" }
|
|
151
151
|
},
|
|
152
152
|
"75%": {
|
|
153
|
-
wrapper: {
|
|
153
|
+
wrapper: { maxWidth: "9/12" },
|
|
154
154
|
formControl: { width: "12/12" }
|
|
155
155
|
},
|
|
156
156
|
"100%": {
|
|
157
|
-
wrapper: {
|
|
157
|
+
wrapper: { maxWidth: "12/12" },
|
|
158
158
|
formControl: { width: "12/12" }
|
|
159
159
|
}
|
|
160
160
|
},
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { t as e } from "../../../factory-
|
|
1
|
+
import { t as e } from "../../../factory-BKr3zaf6.js";
|
|
2
2
|
import { forwardRef as t, useImperativeHandle as n, useRef as r } from "react";
|
|
3
3
|
import { jsx as i } from "react/jsx-runtime";
|
|
4
4
|
var a = t(({ "data-testid": t, rows: a, ...o }, s) => {
|
|
@@ -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 { IressIcon as r } from "../../Icon/Icon.js";
|
|
5
5
|
import { propagateTestid as i } from "../../../helpers/utility/propagateTestid.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 { IressSpinner as i } from "../Spinner/Spinner.js";
|
|
6
6
|
import { link as a } from "./Link.styles.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
|
"root",
|
|
@@ -33,7 +33,10 @@ var t = e({
|
|
|
33
33
|
variants: {
|
|
34
34
|
active: { true: { root: { borderBottom: "[1px dashed currentColor]" } } },
|
|
35
35
|
loading: { true: {
|
|
36
|
-
content: { _groupHover: {
|
|
36
|
+
content: { _groupHover: {
|
|
37
|
+
cursor: "not-allowed",
|
|
38
|
+
textDecoration: "underline"
|
|
39
|
+
} },
|
|
37
40
|
root: {
|
|
38
41
|
cursor: "not-allowed",
|
|
39
42
|
filter: "[saturate(0.25)]",
|