@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,4 +1,4 @@
|
|
|
1
|
-
import { t as e } from "../../sva-
|
|
1
|
+
import { t as e } from "../../sva-DGhdmNso.js";
|
|
2
2
|
//#region src/components/TabSet/TabSet.styles.ts
|
|
3
3
|
var t = e({
|
|
4
4
|
slots: [
|
|
@@ -6,6 +6,7 @@ var t = e({
|
|
|
6
6
|
"list",
|
|
7
7
|
"listHolder",
|
|
8
8
|
"panel",
|
|
9
|
+
"append",
|
|
9
10
|
"activeIndicator",
|
|
10
11
|
"hoverIndicator",
|
|
11
12
|
"overflowEndIndicator",
|
|
@@ -22,6 +23,8 @@ var t = e({
|
|
|
22
23
|
overflowX: "clip",
|
|
23
24
|
overflowY: "visible",
|
|
24
25
|
pt: "spacing.2",
|
|
26
|
+
display: "flex",
|
|
27
|
+
alignItems: "stretch",
|
|
25
28
|
_after: {
|
|
26
29
|
content: "\"\"",
|
|
27
30
|
position: "absolute",
|
|
@@ -32,13 +35,22 @@ var t = e({
|
|
|
32
35
|
pointerEvents: "none"
|
|
33
36
|
}
|
|
34
37
|
},
|
|
38
|
+
append: {
|
|
39
|
+
display: "flex",
|
|
40
|
+
alignItems: "center",
|
|
41
|
+
marginLeft: "auto",
|
|
42
|
+
flexShrink: "[0]",
|
|
43
|
+
pb: "spacing.1"
|
|
44
|
+
},
|
|
35
45
|
list: {
|
|
36
46
|
display: "flex",
|
|
37
47
|
flexWrap: "nowrap",
|
|
38
48
|
scrollable: "x",
|
|
39
49
|
overflowY: "visible",
|
|
40
50
|
scrollSnapType: "[x proximity]",
|
|
41
|
-
position: "relative"
|
|
51
|
+
position: "relative",
|
|
52
|
+
flex: "[1 1 auto]",
|
|
53
|
+
minWidth: "[0]"
|
|
42
54
|
},
|
|
43
55
|
panel: {
|
|
44
56
|
textStyle: "typography.body.md",
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as e } from "../../main-
|
|
1
|
+
import { n as e } from "../../main-TklToXNs.js";
|
|
2
2
|
export { e as IressTable };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as e, t } from "../../Table.styles-
|
|
1
|
+
import { n as e, t } from "../../Table.styles-CKD_vWqh.js";
|
|
2
2
|
export { e as table, t as tableCell };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as e } from "../../../main-
|
|
1
|
+
import { t as e } from "../../../main-TklToXNs.js";
|
|
2
2
|
export { e as IressTableBody };
|
|
@@ -1,43 +1,2 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
3
|
-
import { composeTableInitialColumnFilters as l } from "./helpers/composeTableInitialColumnFilters.js";
|
|
4
|
-
import { createContext as u, useMemo as d } from "react";
|
|
5
|
-
import { jsx as f } from "react/jsx-runtime";
|
|
6
|
-
//#region src/components/Table/TableProvider.tsx
|
|
7
|
-
function p() {
|
|
8
|
-
return u(void 0);
|
|
9
|
-
}
|
|
10
|
-
function m() {
|
|
11
|
-
return h;
|
|
12
|
-
}
|
|
13
|
-
var h = p(), g = ({ children: u, columns: p, rows: h }) => {
|
|
14
|
-
let g = e({
|
|
15
|
-
columns: d(() => o(h, p), [p, h]),
|
|
16
|
-
data: h,
|
|
17
|
-
getCoreRowModel: r(),
|
|
18
|
-
getSortedRowModel: s(),
|
|
19
|
-
getFilteredRowModel: n(),
|
|
20
|
-
getFacetedRowModel: a(),
|
|
21
|
-
getFacetedUniqueValues: t(),
|
|
22
|
-
filterFns: { inArray: i },
|
|
23
|
-
initialState: {
|
|
24
|
-
sorting: c(p),
|
|
25
|
-
columnFilters: l(p)
|
|
26
|
-
}
|
|
27
|
-
}), _ = d(() => ({
|
|
28
|
-
api: g,
|
|
29
|
-
getColumnByKey: (e) => p?.find((t) => t.key === e)
|
|
30
|
-
}), [
|
|
31
|
-
h,
|
|
32
|
-
p,
|
|
33
|
-
g.getState().sorting,
|
|
34
|
-
g.getState().columnFilters
|
|
35
|
-
]), { Provider: v } = m();
|
|
36
|
-
return /* @__PURE__ */ f(v, {
|
|
37
|
-
value: _,
|
|
38
|
-
children: u
|
|
39
|
-
});
|
|
40
|
-
};
|
|
41
|
-
g.displayName = "TableProvider";
|
|
42
|
-
//#endregion
|
|
43
|
-
export { h as TableContext, g as TableProvider, m as getTableContext };
|
|
1
|
+
import { n as e, r as t, t as n } from "../../TableProvider-C8bDaWu2.js";
|
|
2
|
+
export { n as TableContext, e as TableProvider, t as getTableContext };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as e } from "../../../main-
|
|
1
|
+
import { a as e } from "../../../main-TklToXNs.js";
|
|
2
2
|
export { e as TableFilterButton };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { r as e } from "../../../main-
|
|
1
|
+
import { r as e } from "../../../main-TklToXNs.js";
|
|
2
2
|
export { e as TableHeader };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { i as e } from "../../../main-
|
|
1
|
+
import { i as e } from "../../../main-TklToXNs.js";
|
|
2
2
|
export { e as TableHeaderCell };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as e } from "../../../TableRows-
|
|
1
|
+
import { t as e } from "../../../TableRows-DXoiLfwt.js";
|
|
2
2
|
export { e as TableRows };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { n as e } from "../../../Table.styles-
|
|
1
|
+
import { n as e } from "../../../Table.styles-CKD_vWqh.js";
|
|
2
2
|
import { jsx as t, jsxs as n } from "react/jsx-runtime";
|
|
3
3
|
//#region src/components/Table/components/TableSortButton.tsx
|
|
4
4
|
var r = ({ className: e, classNameUp: r, classNameDown: i, screenreaderText: a }) => /* @__PURE__ */ n("svg", {
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as e, r as t, t as n } from "../../../composeTableColumnDefs-
|
|
1
|
+
import { n as e, r as t, t as n } from "../../../composeTableColumnDefs-DzUn8D5f.js";
|
|
2
2
|
export { n as composeTableColumnDefs, e as normalizeColumnFilter, t as tableInArrayFilterFn };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { n as e } from "../../../composeTableColumnDefs-
|
|
1
|
+
import { n as e } from "../../../composeTableColumnDefs-DzUn8D5f.js";
|
|
2
2
|
//#region src/components/Table/helpers/composeTableInitialColumnFilters.ts
|
|
3
3
|
var t = (t) => t ? t.filter((t) => {
|
|
4
4
|
let n = e(t.filter);
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { n as e } from "../../../composeTableColumnDefs-
|
|
2
|
-
import {
|
|
1
|
+
import { n as e } from "../../../composeTableColumnDefs-DzUn8D5f.js";
|
|
2
|
+
import { t } from "../../../TableProvider-C8bDaWu2.js";
|
|
3
3
|
import { useContext as n, useMemo as r } from "react";
|
|
4
4
|
//#region src/components/Table/hooks/useTableColumnFilter.ts
|
|
5
5
|
var i = ({ columnApi: i, columnKey: a }) => {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { t as e } from "../../../css-
|
|
2
|
-
import { n as t } from "../../../is-valid-prop-
|
|
3
|
-
import { t as n } from "../../../Table.styles-
|
|
4
|
-
import {
|
|
1
|
+
import { t as e } from "../../../css-R34N3rft.js";
|
|
2
|
+
import { n as t } from "../../../is-valid-prop-BVyYPT21.js";
|
|
3
|
+
import { t as n } from "../../../Table.styles-CKD_vWqh.js";
|
|
4
|
+
import { t as r } from "../../../TableProvider-C8bDaWu2.js";
|
|
5
5
|
import { useContext as i } from "react";
|
|
6
6
|
//#region src/components/Table/hooks/useTableColumnStyles.ts
|
|
7
7
|
var a = ({ columnKey: a }) => {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { n as e, t } from "../../main-
|
|
2
|
-
import { n, t as r } from "../../Table.styles-
|
|
1
|
+
import { n as e, t } from "../../main-TklToXNs.js";
|
|
2
|
+
import { n, t as r } from "../../Table.styles-CKD_vWqh.js";
|
|
3
3
|
import { IressTableFormattedValue as i } from "./TableFormattedValue/TableFormattedValue.js";
|
|
4
4
|
import { useTable as a } from "./hooks/useTable.js";
|
|
5
5
|
export { e as IressTable, t as IressTableBody, i as IressTableFormattedValue, n as table, r as tableCell, a as useTable };
|
|
@@ -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 { IressCloseButton as a } from "../Button/CloseButton/CloseButton.js";
|
|
@@ -48,91 +48,91 @@ export declare const tag: import('../../styled-system/types').SlotRecipeRuntimeF
|
|
|
48
48
|
'10': {
|
|
49
49
|
root: {
|
|
50
50
|
'--tag-bg': "{colors.colour.data.subtle.10}";
|
|
51
|
-
'--tag-border': "{colors.colour.data.
|
|
51
|
+
'--tag-border': "{colors.colour.data.bold.10}";
|
|
52
52
|
'--tag-color': "{colors.colour.data.bold.10}";
|
|
53
53
|
};
|
|
54
54
|
};
|
|
55
55
|
'20': {
|
|
56
56
|
root: {
|
|
57
57
|
'--tag-bg': "{colors.colour.data.subtle.20}";
|
|
58
|
-
'--tag-border': "{colors.colour.data.
|
|
58
|
+
'--tag-border': "{colors.colour.data.bold.20}";
|
|
59
59
|
'--tag-color': "{colors.colour.data.bold.20}";
|
|
60
60
|
};
|
|
61
61
|
};
|
|
62
62
|
'30': {
|
|
63
63
|
root: {
|
|
64
64
|
'--tag-bg': "{colors.colour.data.subtle.30}";
|
|
65
|
-
'--tag-border': "{colors.colour.data.
|
|
65
|
+
'--tag-border': "{colors.colour.data.bold.30}";
|
|
66
66
|
'--tag-color': "{colors.colour.data.bold.30}";
|
|
67
67
|
};
|
|
68
68
|
};
|
|
69
69
|
'40': {
|
|
70
70
|
root: {
|
|
71
71
|
'--tag-bg': "{colors.colour.data.subtle.40}";
|
|
72
|
-
'--tag-border': "{colors.colour.data.
|
|
72
|
+
'--tag-border': "{colors.colour.data.bold.40}";
|
|
73
73
|
'--tag-color': "{colors.colour.data.bold.40}";
|
|
74
74
|
};
|
|
75
75
|
};
|
|
76
76
|
'50': {
|
|
77
77
|
root: {
|
|
78
78
|
'--tag-bg': "{colors.colour.data.subtle.50}";
|
|
79
|
-
'--tag-border': "{colors.colour.data.
|
|
79
|
+
'--tag-border': "{colors.colour.data.bold.50}";
|
|
80
80
|
'--tag-color': "{colors.colour.data.bold.50}";
|
|
81
81
|
};
|
|
82
82
|
};
|
|
83
83
|
'60': {
|
|
84
84
|
root: {
|
|
85
85
|
'--tag-bg': "{colors.colour.data.subtle.60}";
|
|
86
|
-
'--tag-border': "{colors.colour.data.
|
|
86
|
+
'--tag-border': "{colors.colour.data.bold.60}";
|
|
87
87
|
'--tag-color': "{colors.colour.data.bold.60}";
|
|
88
88
|
};
|
|
89
89
|
};
|
|
90
90
|
'70': {
|
|
91
91
|
root: {
|
|
92
92
|
'--tag-bg': "{colors.colour.data.subtle.70}";
|
|
93
|
-
'--tag-border': "{colors.colour.data.
|
|
93
|
+
'--tag-border': "{colors.colour.data.bold.70}";
|
|
94
94
|
'--tag-color': "{colors.colour.data.bold.70}";
|
|
95
95
|
};
|
|
96
96
|
};
|
|
97
97
|
'80': {
|
|
98
98
|
root: {
|
|
99
99
|
'--tag-bg': "{colors.colour.data.subtle.80}";
|
|
100
|
-
'--tag-border': "{colors.colour.data.
|
|
100
|
+
'--tag-border': "{colors.colour.data.bold.80}";
|
|
101
101
|
'--tag-color': "{colors.colour.data.bold.80}";
|
|
102
102
|
};
|
|
103
103
|
};
|
|
104
104
|
'90': {
|
|
105
105
|
root: {
|
|
106
106
|
'--tag-bg': "{colors.colour.data.subtle.90}";
|
|
107
|
-
'--tag-border': "{colors.colour.data.
|
|
107
|
+
'--tag-border': "{colors.colour.data.bold.90}";
|
|
108
108
|
'--tag-color': "{colors.colour.data.bold.90}";
|
|
109
109
|
};
|
|
110
110
|
};
|
|
111
111
|
danger: {
|
|
112
112
|
root: {
|
|
113
113
|
'--tag-bg': "{colors.colour.system.danger.surface}";
|
|
114
|
-
'--tag-border': "{colors.colour.system.danger.
|
|
114
|
+
'--tag-border': "{colors.colour.system.danger.text}";
|
|
115
115
|
'--tag-color': "{colors.colour.system.danger.text}";
|
|
116
116
|
};
|
|
117
117
|
};
|
|
118
118
|
info: {
|
|
119
119
|
root: {
|
|
120
120
|
'--tag-bg': "{colors.colour.system.info.surface}";
|
|
121
|
-
'--tag-border': "{colors.colour.system.info.
|
|
121
|
+
'--tag-border': "{colors.colour.system.info.text}";
|
|
122
122
|
'--tag-color': "{colors.colour.system.info.text}";
|
|
123
123
|
};
|
|
124
124
|
};
|
|
125
125
|
success: {
|
|
126
126
|
root: {
|
|
127
127
|
'--tag-bg': "{colors.colour.system.success.surface}";
|
|
128
|
-
'--tag-border': "{colors.colour.system.success.
|
|
128
|
+
'--tag-border': "{colors.colour.system.success.text}";
|
|
129
129
|
'--tag-color': "{colors.colour.system.success.text}";
|
|
130
130
|
};
|
|
131
131
|
};
|
|
132
132
|
warning: {
|
|
133
133
|
root: {
|
|
134
134
|
'--tag-bg': "{colors.colour.system.warning.surface}";
|
|
135
|
-
'--tag-border': "{colors.colour.system.warning.
|
|
135
|
+
'--tag-border': "{colors.colour.system.warning.text}";
|
|
136
136
|
'--tag-color': "{colors.colour.system.warning.text}";
|
|
137
137
|
};
|
|
138
138
|
};
|
|
@@ -140,7 +140,7 @@ export declare const tag: import('../../styled-system/types').SlotRecipeRuntimeF
|
|
|
140
140
|
bordered: {
|
|
141
141
|
true: {
|
|
142
142
|
root: {
|
|
143
|
-
borderColor: "[
|
|
143
|
+
borderColor: "[var(--tag-border, {colors.colour.neutral.70})]";
|
|
144
144
|
};
|
|
145
145
|
};
|
|
146
146
|
};
|
|
@@ -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/Tag/Tag.styles.ts
|
|
3
3
|
var t = e({
|
|
4
4
|
slots: [
|
|
@@ -10,10 +10,10 @@ var t = e({
|
|
|
10
10
|
root: {
|
|
11
11
|
contain: "layout style",
|
|
12
12
|
alignItems: "center",
|
|
13
|
-
bg: "[var(--tag-bg, {colors.colour.neutral.
|
|
13
|
+
bg: "[var(--tag-bg, {colors.colour.neutral.30})]",
|
|
14
14
|
borderRadius: "radius.system.tag",
|
|
15
15
|
border: "divider",
|
|
16
|
-
borderColor: "[var(--tag-
|
|
16
|
+
borderColor: "[var(--tag-bg, {colors.colour.neutral.30})]",
|
|
17
17
|
color: "[var(--tag-color, {colors.colour.neutral.80})]",
|
|
18
18
|
display: "inline-flex",
|
|
19
19
|
gap: "spacing.1",
|
|
@@ -68,71 +68,71 @@ var t = e({
|
|
|
68
68
|
mode: {
|
|
69
69
|
10: { root: {
|
|
70
70
|
"--tag-bg": "{colors.colour.data.subtle.10}",
|
|
71
|
-
"--tag-border": "{colors.colour.data.
|
|
71
|
+
"--tag-border": "{colors.colour.data.bold.10}",
|
|
72
72
|
"--tag-color": "{colors.colour.data.bold.10}"
|
|
73
73
|
} },
|
|
74
74
|
20: { root: {
|
|
75
75
|
"--tag-bg": "{colors.colour.data.subtle.20}",
|
|
76
|
-
"--tag-border": "{colors.colour.data.
|
|
76
|
+
"--tag-border": "{colors.colour.data.bold.20}",
|
|
77
77
|
"--tag-color": "{colors.colour.data.bold.20}"
|
|
78
78
|
} },
|
|
79
79
|
30: { root: {
|
|
80
80
|
"--tag-bg": "{colors.colour.data.subtle.30}",
|
|
81
|
-
"--tag-border": "{colors.colour.data.
|
|
81
|
+
"--tag-border": "{colors.colour.data.bold.30}",
|
|
82
82
|
"--tag-color": "{colors.colour.data.bold.30}"
|
|
83
83
|
} },
|
|
84
84
|
40: { root: {
|
|
85
85
|
"--tag-bg": "{colors.colour.data.subtle.40}",
|
|
86
|
-
"--tag-border": "{colors.colour.data.
|
|
86
|
+
"--tag-border": "{colors.colour.data.bold.40}",
|
|
87
87
|
"--tag-color": "{colors.colour.data.bold.40}"
|
|
88
88
|
} },
|
|
89
89
|
50: { root: {
|
|
90
90
|
"--tag-bg": "{colors.colour.data.subtle.50}",
|
|
91
|
-
"--tag-border": "{colors.colour.data.
|
|
91
|
+
"--tag-border": "{colors.colour.data.bold.50}",
|
|
92
92
|
"--tag-color": "{colors.colour.data.bold.50}"
|
|
93
93
|
} },
|
|
94
94
|
60: { root: {
|
|
95
95
|
"--tag-bg": "{colors.colour.data.subtle.60}",
|
|
96
|
-
"--tag-border": "{colors.colour.data.
|
|
96
|
+
"--tag-border": "{colors.colour.data.bold.60}",
|
|
97
97
|
"--tag-color": "{colors.colour.data.bold.60}"
|
|
98
98
|
} },
|
|
99
99
|
70: { root: {
|
|
100
100
|
"--tag-bg": "{colors.colour.data.subtle.70}",
|
|
101
|
-
"--tag-border": "{colors.colour.data.
|
|
101
|
+
"--tag-border": "{colors.colour.data.bold.70}",
|
|
102
102
|
"--tag-color": "{colors.colour.data.bold.70}"
|
|
103
103
|
} },
|
|
104
104
|
80: { root: {
|
|
105
105
|
"--tag-bg": "{colors.colour.data.subtle.80}",
|
|
106
|
-
"--tag-border": "{colors.colour.data.
|
|
106
|
+
"--tag-border": "{colors.colour.data.bold.80}",
|
|
107
107
|
"--tag-color": "{colors.colour.data.bold.80}"
|
|
108
108
|
} },
|
|
109
109
|
90: { root: {
|
|
110
110
|
"--tag-bg": "{colors.colour.data.subtle.90}",
|
|
111
|
-
"--tag-border": "{colors.colour.data.
|
|
111
|
+
"--tag-border": "{colors.colour.data.bold.90}",
|
|
112
112
|
"--tag-color": "{colors.colour.data.bold.90}"
|
|
113
113
|
} },
|
|
114
114
|
danger: { root: {
|
|
115
115
|
"--tag-bg": "{colors.colour.system.danger.surface}",
|
|
116
|
-
"--tag-border": "{colors.colour.system.danger.
|
|
116
|
+
"--tag-border": "{colors.colour.system.danger.text}",
|
|
117
117
|
"--tag-color": "{colors.colour.system.danger.text}"
|
|
118
118
|
} },
|
|
119
119
|
info: { root: {
|
|
120
120
|
"--tag-bg": "{colors.colour.system.info.surface}",
|
|
121
|
-
"--tag-border": "{colors.colour.system.info.
|
|
121
|
+
"--tag-border": "{colors.colour.system.info.text}",
|
|
122
122
|
"--tag-color": "{colors.colour.system.info.text}"
|
|
123
123
|
} },
|
|
124
124
|
success: { root: {
|
|
125
125
|
"--tag-bg": "{colors.colour.system.success.surface}",
|
|
126
|
-
"--tag-border": "{colors.colour.system.success.
|
|
126
|
+
"--tag-border": "{colors.colour.system.success.text}",
|
|
127
127
|
"--tag-color": "{colors.colour.system.success.text}"
|
|
128
128
|
} },
|
|
129
129
|
warning: { root: {
|
|
130
130
|
"--tag-bg": "{colors.colour.system.warning.surface}",
|
|
131
|
-
"--tag-border": "{colors.colour.system.warning.
|
|
131
|
+
"--tag-border": "{colors.colour.system.warning.text}",
|
|
132
132
|
"--tag-color": "{colors.colour.system.warning.text}"
|
|
133
133
|
} }
|
|
134
134
|
},
|
|
135
|
-
bordered: { true: { root: { borderColor: "[
|
|
135
|
+
bordered: { true: { root: { borderColor: "[var(--tag-border, {colors.colour.neutral.70})]" } } }
|
|
136
136
|
},
|
|
137
137
|
compoundVariants: [{
|
|
138
138
|
bordered: !0,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { SyntheticEvent } from 'react';
|
|
2
|
-
import { InputBaseElement, InputRef, IressInputProps } from '
|
|
2
|
+
import { InputBaseElement, InputRef, IressInputProps } from '../Input';
|
|
3
3
|
import { IressTagProps } from '../Tag';
|
|
4
4
|
export interface IressTagInputProps extends Omit<IressInputProps<string>, 'defaultValue' | 'onChange' | 'prepend' | 'value' | 'rows'> {
|
|
5
5
|
/**
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { propagateTestid as e } from "
|
|
2
|
-
import { useControlledState as t } from "
|
|
3
|
-
import { IressInput as n } from "
|
|
4
|
-
import { getValueAsEvent as r } from "
|
|
5
|
-
import { IressTag as i } from "../Tag.js";
|
|
6
|
-
import { IressInline as a } from "
|
|
1
|
+
import { propagateTestid as e } from "../../helpers/utility/propagateTestid.js";
|
|
2
|
+
import { useControlledState as t } from "../../hooks/useControlledState.js";
|
|
3
|
+
import { IressInput as n } from "../Input/Input.js";
|
|
4
|
+
import { getValueAsEvent as r } from "../../helpers/form/getValueAsEvent.js";
|
|
5
|
+
import { IressTag as i } from "../Tag/Tag.js";
|
|
6
|
+
import { IressInline as a } from "../Inline/Inline.js";
|
|
7
7
|
import { tagInput as o } from "./TagInput.styles.js";
|
|
8
8
|
import { forwardRef as s, useCallback as c, useState as l } from "react";
|
|
9
9
|
import { jsx as u, jsxs as d } from "react/jsx-runtime";
|
|
10
|
-
//#region src/components/
|
|
10
|
+
//#region src/components/TagInput/TagInput.tsx
|
|
11
11
|
var f = ({ "data-testid": t, onTagDelete: n, onTagDeleteAll: r, onTagDeleteButtonBlur: a, selectedOptionsTagText: o, tags: s = [], tagLimit: c = 5 }) => s.length ? s.length <= c ? s.map((r) => /* @__PURE__ */ u(i, {
|
|
12
12
|
deleteButtonText: `Delete ${r}`,
|
|
13
13
|
onDelete: n,
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const tagInput: import('../../styled-system/types').SlotRecipeRuntimeFn<"input" | "tag", import('../../styled-system/types').SlotRecipeVariantRecord<"input" | "tag">>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { t as e } from "
|
|
2
|
-
//#region src/components/
|
|
1
|
+
import { t as e } from "../../sva-DGhdmNso.js";
|
|
2
|
+
//#region src/components/TagInput/TagInput.styles.ts
|
|
3
3
|
var t = e({
|
|
4
4
|
slots: ["input", "tag"],
|
|
5
5
|
base: { input: {
|
|
@@ -1,7 +1,7 @@
|
|
|
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
|
-
import { t as r } from "../../Text.styles-
|
|
4
|
+
import { t as r } from "../../Text.styles-DUvXBRio.js";
|
|
5
5
|
import { useMemo as i } from "react";
|
|
6
6
|
import { jsx as a } from "react/jsx-runtime";
|
|
7
7
|
//#region src/components/Text/Text.tsx
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as e } from "../../Text.styles-
|
|
1
|
+
import { t as e } from "../../Text.styles-DUvXBRio.js";
|
|
2
2
|
export { e as text };
|
|
@@ -1,7 +1,7 @@
|
|
|
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
|
-
import { s as r } from "../../floating-ui.react-
|
|
4
|
+
import { s as r } from "../../floating-ui.react-TDMXDOBr.js";
|
|
5
5
|
import { IressStack as i } from "../Stack/Stack.js";
|
|
6
6
|
import { toaster as a } from "./Toaster.styles.js";
|
|
7
7
|
import { ToasterContext as o } from "./hooks/useToaster.js";
|
|
@@ -1,6 +1,6 @@
|
|
|
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 { b as n, d as r } from "../../../../floating-ui.react-
|
|
3
|
+
import { b as n, d as r } from "../../../../floating-ui.react-TDMXDOBr.js";
|
|
4
4
|
import { IressAlert as i } from "../../../Alert/Alert.js";
|
|
5
5
|
import { getTransitionDuration as a } from "../../../../helpers/transition/getTransitionDuration.js";
|
|
6
6
|
import { toast as o } from "./Toast.styles.js";
|
|
@@ -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 { GlobalCSSClass as r } from "../../enums.js";
|
|
5
5
|
import { propagateTestid as i } from "../../helpers/utility/propagateTestid.js";
|
|
6
6
|
import { useControlledState as a } from "../../hooks/useControlledState.js";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ReactNode } from 'react';
|
|
2
|
-
import { FloatingUIAligns, IressStyledProps } from '../../types';
|
|
2
|
+
import { FloatingUIAligns, FloatingUIContainer, IressStyledProps } from '../../types';
|
|
3
3
|
export interface IressTooltipProps extends IressStyledProps {
|
|
4
4
|
/**
|
|
5
5
|
* Sets the alignment of the popover relative to the activator element.
|
|
@@ -10,6 +10,11 @@ export interface IressTooltipProps extends IressStyledProps {
|
|
|
10
10
|
* The element to add a tooltip to.
|
|
11
11
|
*/
|
|
12
12
|
children: ReactNode;
|
|
13
|
+
/**
|
|
14
|
+
* The container element to render the tooltip into.
|
|
15
|
+
* Overrides the container set by `IressTooltipProvider`.
|
|
16
|
+
*/
|
|
17
|
+
container?: FloatingUIContainer;
|
|
13
18
|
/**
|
|
14
19
|
* Sets the tooltip display delay in milliseconds.
|
|
15
20
|
* @default 500
|
|
@@ -32,6 +37,6 @@ export interface IressTooltipProps extends IressStyledProps {
|
|
|
32
37
|
variant?: 'rich';
|
|
33
38
|
}
|
|
34
39
|
export declare const IressTooltip: {
|
|
35
|
-
({ children, className, align, delay, open, tooltipText, variant, "data-testid": testid, ...restProps }: IressTooltipProps): import("react/jsx-runtime").JSX.Element;
|
|
40
|
+
({ children, className, align, container, delay, open, tooltipText, variant, "data-testid": testid, ...restProps }: IressTooltipProps): import("react/jsx-runtime").JSX.Element;
|
|
36
41
|
displayName: string;
|
|
37
42
|
};
|