@iress-oss/ids-components 6.0.0-alpha.20 → 6.0.0-alpha.22
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/dist/{Button-BTkololu.js → Button-BrpmQKsB.js} +10 -11
- package/dist/{Provider-B87u_maF.js → Provider-Dw49edAo.js} +21 -31
- package/dist/components/Alert/Alert.js +36 -36
- package/dist/components/Alert/Alert.styles.js +1 -1
- package/dist/components/Autocomplete/Autocomplete.styles.js +1 -1
- package/dist/components/Badge/Badge.js +3 -3
- package/dist/components/Badge/Badge.styles.js +1 -1
- package/dist/components/Button/Button.js +3 -3
- package/dist/components/Button/CloseButton/CloseButton.js +12 -11
- package/dist/components/Button/index.js +1 -1
- package/dist/components/ButtonGroup/ButtonGroup.js +3 -3
- package/dist/components/ButtonGroup/ButtonGroup.styles.js +1 -1
- package/dist/components/Card/Card.js +2 -2
- package/dist/components/Card/Card.styles.js +1 -1
- package/dist/components/Checkbox/Checkbox.js +3 -3
- package/dist/components/Checkbox/Checkbox.styles.js +1 -1
- package/dist/components/CheckboxGroup/CheckboxGroup.styles.js +1 -1
- package/dist/components/CheckboxMark/CheckboxMark.js +2 -2
- package/dist/components/CheckboxMark/CheckboxMark.styles.js +1 -1
- package/dist/components/Col/Col.js +1 -1
- package/dist/components/Col/Col.styles.js +1 -1
- package/dist/components/Container/Container.js +1 -1
- package/dist/components/Container/Container.styles.js +1 -1
- package/dist/components/Divider/Divider.js +2 -2
- package/dist/components/Divider/Divider.styles.js +1 -1
- package/dist/components/Expander/Expander.js +3 -3
- package/dist/components/Expander/Expander.styles.js +1 -1
- package/dist/components/Field/Field.js +3 -3
- package/dist/components/Field/Field.styles.js +1 -1
- package/dist/components/Field/FieldGroup/FieldGroup.js +3 -3
- package/dist/components/Field/FieldGroup/FieldGroup.styles.js +1 -1
- package/dist/components/Field/components/FieldFooter.js +12 -11
- package/dist/components/Field/components/FieldHint.js +5 -4
- package/dist/components/Filter/Filter.js +4 -3
- package/dist/components/Filter/Filter.styles.js +1 -1
- package/dist/components/Filter/components/FilterResetButton.js +1 -1
- package/dist/components/Filter/components/FilterResultsDescriptor.js +1 -1
- package/dist/components/Filter/components/FilterSearch.d.ts +1 -1
- package/dist/components/Hide/Hide.js +1 -1
- package/dist/components/Icon/Icon.constants.d.ts +7 -0
- package/dist/components/Icon/Icon.constants.js +10 -0
- package/dist/components/Icon/Icon.d.ts +34 -16
- package/dist/components/Icon/Icon.js +68 -30
- package/dist/components/Icon/Icon.styles.d.ts +23 -0
- package/dist/components/Icon/Icon.styles.js +37 -4
- package/dist/components/Icon/IconProvider.d.ts +100 -0
- package/dist/components/Icon/IconProvider.js +66 -0
- package/dist/components/Icon/components/FontLoader.d.ts +31 -0
- package/dist/components/Icon/components/FontLoader.js +29 -0
- package/dist/components/Icon/helpers/getMaterialSymbolsList.d.ts +12 -0
- package/dist/components/Icon/helpers/getMaterialSymbolsList.js +12 -0
- package/dist/components/Icon/helpers/iconMapping.d.ts +78 -0
- package/dist/components/Icon/helpers/iconMapping.js +75 -0
- package/dist/components/Icon/hooks/useDynamicFontSubsetting.d.ts +45 -0
- package/dist/components/Icon/hooks/useDynamicFontSubsetting.js +78 -0
- package/dist/components/Icon/index.d.ts +2 -0
- package/dist/components/Icon/index.js +6 -2
- package/dist/components/Image/Image.js +1 -1
- package/dist/components/Image/Image.styles.js +1 -1
- package/dist/components/Inline/Inline.js +1 -1
- package/dist/components/Inline/Inline.styles.js +1 -1
- package/dist/components/Input/Input.js +3 -3
- package/dist/components/Input/Input.styles.js +13 -2
- package/dist/components/Input/InputBase/InputBase.js +1 -1
- package/dist/components/Label/Label.styles.js +1 -1
- package/dist/components/Label/LabelBase/LabelBase.js +1 -1
- package/dist/components/Link/Link.js +40 -41
- package/dist/components/Link/Link.styles.js +1 -1
- package/dist/components/Menu/Menu.js +1 -1
- package/dist/components/Menu/Menu.styles.js +1 -1
- package/dist/components/Menu/MenuItem/MenuItem.js +2 -2
- package/dist/components/Menu/MenuText/MenuText.js +2 -2
- package/dist/components/Modal/Modal.js +3 -3
- package/dist/components/Modal/Modal.styles.js +1 -1
- package/dist/components/Panel/Panel.js +1 -1
- package/dist/components/Panel/Panel.styles.js +2 -2
- package/dist/components/Placeholder/Placeholder.d.ts +5 -1
- package/dist/components/Placeholder/Placeholder.js +48 -28
- package/dist/components/Placeholder/Placeholder.styles.js +10 -9
- package/dist/components/Popover/InputPopover/InputPopover.js +1 -1
- package/dist/components/Popover/Popover.js +1 -1
- package/dist/components/Popover/Popover.styles.js +1 -1
- package/dist/components/Popover/components/PopoverContent.js +1 -1
- package/dist/components/Progress/Progress.js +4 -4
- package/dist/components/Progress/Progress.styles.js +1 -1
- package/dist/components/Provider/Provider.d.ts +9 -5
- package/dist/components/Provider/Provider.js +5 -2
- package/dist/components/Provider/index.js +1 -1
- package/dist/components/Radio/Radio.js +3 -3
- package/dist/components/Radio/Radio.styles.js +1 -1
- package/dist/components/RadioGroup/RadioGroup.js +1 -1
- package/dist/components/RadioGroup/RadioGroup.styles.js +1 -1
- package/dist/components/Readonly/Readonly.js +2 -2
- package/dist/components/Readonly/Readonly.styles.js +1 -1
- package/dist/components/RichSelect/RichSelect.styles.js +2 -2
- package/dist/components/RichSelect/SelectBody/SelectBody.styles.js +1 -1
- package/dist/components/RichSelect/SelectCreate/SelectCreate.js +1 -0
- package/dist/components/RichSelect/SelectHeading/SelectHeading.js +1 -1
- package/dist/components/RichSelect/SelectLabel/SelectLabel.styles.d.ts +1 -1
- package/dist/components/RichSelect/SelectLabel/SelectLabel.styles.js +1 -1
- package/dist/components/RichSelect/SelectMenu/SelectMenu.styles.js +1 -1
- package/dist/components/RichSelect/SelectSearch/SelectSearch.styles.js +1 -1
- package/dist/components/RichSelect/SelectSearchInput/SelectSearchInput.js +11 -10
- package/dist/components/RichSelect/SelectSearchInput/SelectSearchInput.styles.js +1 -1
- package/dist/components/RichSelect/SelectTags/SelectTags.js +3 -2
- package/dist/components/RichSelect/SelectTags/SelectTags.styles.d.ts +1 -1
- package/dist/components/RichSelect/SelectTags/SelectTags.styles.js +1 -1
- package/dist/components/Row/Row.js +1 -1
- package/dist/components/Row/Row.styles.js +1 -1
- package/dist/components/Select/Select.js +2 -2
- package/dist/components/Select/Select.styles.js +1 -1
- package/dist/components/Select/SelectOption/SelectOption.js +1 -1
- package/dist/components/Select/components/SelectControl.js +1 -1
- package/dist/components/Skeleton/Skeleton.styles.js +1 -1
- package/dist/components/SkipLink/SkipLink.js +1 -1
- package/dist/components/SkipLink/SkipLink.styles.js +1 -1
- package/dist/components/Slideout/Slideout.js +1 -1
- package/dist/components/Slideout/Slideout.styles.js +1 -1
- package/dist/components/Slideout/components/SlideoutInner.js +3 -3
- package/dist/components/Slideout/hooks/usePushElement.js +1 -1
- package/dist/components/Slider/Slider.js +2 -2
- package/dist/components/Slider/Slider.styles.js +1 -1
- package/dist/components/Slider/components/SliderTicks.js +1 -1
- package/dist/components/Spinner/Spinner.js +5 -4
- package/dist/components/Spinner/Spinner.styles.js +2 -2
- package/dist/components/Stack/Stack.js +1 -1
- package/dist/components/Stack/Stack.styles.js +1 -1
- package/dist/components/Styled/Styled.js +1 -1
- package/dist/components/TabSet/Tab/Tab.js +1 -1
- package/dist/components/TabSet/Tab/Tab.styles.js +1 -1
- package/dist/components/TabSet/TabSet.js +1 -1
- package/dist/components/TabSet/TabSet.styles.js +4 -2
- package/dist/components/Table/Table.js +1 -1
- package/dist/components/Table/Table.styles.js +10 -6
- package/dist/components/Table/TableBody/TableBody.js +1 -1
- package/dist/components/Table/components/TableRows.js +1 -1
- package/dist/components/Table/components/TableSortButton.js +24 -15
- package/dist/components/Table/hooks/useTableColumnStyles.js +2 -2
- package/dist/components/Tag/Tag.js +4 -4
- package/dist/components/Tag/Tag.styles.js +1 -1
- package/dist/components/Tag/TagInput/TagInput.styles.js +1 -1
- package/dist/components/Text/Text.js +1 -1
- package/dist/components/Text/Text.styles.js +2 -2
- package/dist/components/Toaster/Toaster.js +1 -1
- package/dist/components/Toaster/Toaster.styles.js +1 -1
- package/dist/components/Toaster/components/Toast/Toast.js +31 -31
- package/dist/components/Toaster/components/Toast/Toast.styles.d.ts +1 -1
- package/dist/components/Toaster/components/Toast/Toast.styles.js +1 -5
- package/dist/components/Toggle/Toggle.js +2 -2
- package/dist/components/Toggle/Toggle.styles.js +1 -1
- package/dist/components/Tooltip/Tooltip.js +1 -1
- package/dist/components/Tooltip/Tooltip.styles.js +1 -1
- package/dist/components/ValidationMessage/ValidationMessage.js +1 -1
- package/dist/components/ValidationMessage/ValidationSummary/ValidationSummary.js +1 -1
- package/dist/{create-recipe-DjqynAXe.js → create-recipe-DUTadmvy.js} +2 -2
- package/dist/{css-DNdLYQld.js → css-BStWZDQe.js} +1 -1
- package/dist/{cva-DtPMccE9.js → cva-DJVW1KHF.js} +1 -1
- package/dist/{factory-CsinCTPr.js → factory-BrouwSOb.js} +3 -3
- package/dist/helpers/styling/iressCss.js +1 -1
- package/dist/{index-0AvnPY9d.js → index-Bir9MtY7.js} +0 -4
- package/dist/index.d-CZvOUeIl.js +3808 -0
- package/dist/is-valid-prop-DTA0i8bT.js +7 -0
- package/dist/main.js +257 -253
- package/dist/patterns/Form/Form.styles.js +1 -1
- package/dist/patterns/Form/FormValidationSummary/FormValidationSummary.js +1 -1
- package/dist/patterns/Form/HookForm/HookForm.js +1 -1
- package/dist/patterns/Loading/Loading.styles.js +1 -1
- package/dist/patterns/Loading/components/ComponentLoading.js +1 -1
- package/dist/patterns/Loading/components/DefaultLoading.js +1 -1
- package/dist/patterns/Loading/components/LongLoading.js +1 -1
- package/dist/patterns/Loading/components/PageLoading.js +1 -1
- package/dist/patterns/Loading/components/StartUpLoading.js +1 -1
- package/dist/patterns/Loading/components/ValidateLoading.js +2 -2
- package/dist/patterns/Shadow/Shadow.d.ts +0 -4
- package/dist/patterns/Shadow/Shadow.js +414 -458
- package/dist/style.css +1 -1
- package/dist/styled-system/recipes/table.d.ts +1 -1
- package/dist/styled-system/tokens/tokens.d.ts +1 -1
- package/dist/styled-system/types/prop-type.d.ts +1 -0
- package/dist/styled-system/types/style-props.d.ts +1 -0
- package/dist/{sva-B7kca5XO.js → sva-Df1FmoEW.js} +2 -2
- package/dist/types.d.ts +4 -0
- package/package.json +5 -4
- package/dist/is-valid-prop-DweT-eOL.js +0 -7
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx as r } from "react/jsx-runtime";
|
|
2
2
|
import { panel as m } from "./Panel.styles.js";
|
|
3
|
-
import { s as e } from "../../factory-
|
|
3
|
+
import { s as e } from "../../factory-BrouwSOb.js";
|
|
4
4
|
import { IressText as a } from "../Text/Text.js";
|
|
5
5
|
import { c as t } from "../../cx-DN21T1EH.js";
|
|
6
6
|
import { GlobalCSSClass as l } from "../../enums.js";
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { c as a } from "../../cva-
|
|
1
|
+
import { c as a } from "../../cva-DJVW1KHF.js";
|
|
2
2
|
const o = a({
|
|
3
3
|
base: {
|
|
4
4
|
// Performance: CSS containment (no paint to allow overflow)
|
|
5
|
-
contain: "
|
|
5
|
+
contain: "style",
|
|
6
6
|
display: "block",
|
|
7
7
|
boxSizing: "border-box",
|
|
8
8
|
borderRadius: "radius.system.layout",
|
|
@@ -5,6 +5,10 @@ export interface IressPlaceholderProps extends Omit<IressStyledProps, 'width'> {
|
|
|
5
5
|
* Description of the placeholder's envisioned contents.
|
|
6
6
|
*/
|
|
7
7
|
children?: ReactNode;
|
|
8
|
+
/**
|
|
9
|
+
* Title for the placeholder content.
|
|
10
|
+
*/
|
|
11
|
+
heading?: ReactNode;
|
|
8
12
|
/**
|
|
9
13
|
* Sets the height of the placeholder.
|
|
10
14
|
*/
|
|
@@ -19,6 +23,6 @@ export interface IressPlaceholderProps extends Omit<IressStyledProps, 'width'> {
|
|
|
19
23
|
width?: string | number;
|
|
20
24
|
}
|
|
21
25
|
export declare const IressPlaceholder: {
|
|
22
|
-
({ children, className, height, stretch, style, width, ...restProps }: IressPlaceholderProps): import("react/jsx-runtime").JSX.Element;
|
|
26
|
+
({ children, className, heading, height, stretch, style, width, ...restProps }: IressPlaceholderProps): import("react/jsx-runtime").JSX.Element;
|
|
23
27
|
displayName: string;
|
|
24
28
|
};
|
|
@@ -1,40 +1,60 @@
|
|
|
1
|
-
import { jsxs as
|
|
2
|
-
import { toCSSLengthValue as
|
|
3
|
-
import { c as
|
|
4
|
-
import { placeholder as
|
|
5
|
-
import { IressText as
|
|
6
|
-
import { GlobalCSSClass as
|
|
7
|
-
const
|
|
8
|
-
children:
|
|
9
|
-
className:
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
1
|
+
import { jsxs as c, jsx as s } from "react/jsx-runtime";
|
|
2
|
+
import { toCSSLengthValue as m } from "../../helpers/formatting/toCSSLengthValue.js";
|
|
3
|
+
import { c as g } from "../../cx-DN21T1EH.js";
|
|
4
|
+
import { placeholder as y } from "./Placeholder.styles.js";
|
|
5
|
+
import { IressText as n } from "../Text/Text.js";
|
|
6
|
+
import { GlobalCSSClass as u } from "../../enums.js";
|
|
7
|
+
const f = ({
|
|
8
|
+
children: l,
|
|
9
|
+
className: i,
|
|
10
|
+
heading: o,
|
|
11
|
+
height: t = "auto",
|
|
12
|
+
stretch: p,
|
|
13
|
+
style: r,
|
|
14
|
+
width: a = "auto",
|
|
15
|
+
...h
|
|
15
16
|
}) => {
|
|
16
|
-
const
|
|
17
|
-
return /* @__PURE__ */
|
|
18
|
-
|
|
17
|
+
const x = t === "auto" ? p ? "100%" : t : m(t), e = y(), d = !l && !o;
|
|
18
|
+
return /* @__PURE__ */ c(
|
|
19
|
+
n,
|
|
19
20
|
{
|
|
20
|
-
className:
|
|
21
|
-
...
|
|
21
|
+
className: g(i, e.root, u.Placeholder),
|
|
22
|
+
...h,
|
|
22
23
|
style: {
|
|
23
|
-
...
|
|
24
|
-
width:
|
|
25
|
-
height:
|
|
24
|
+
...r,
|
|
25
|
+
width: a ? m(a) : r?.width,
|
|
26
|
+
height: x
|
|
26
27
|
},
|
|
27
28
|
children: [
|
|
28
|
-
/* @__PURE__ */
|
|
29
|
-
/* @__PURE__ */
|
|
30
|
-
|
|
29
|
+
d && /* @__PURE__ */ c("svg", { xmlns: "http://www.w3.org/2000/svg", className: e.svg, children: [
|
|
30
|
+
/* @__PURE__ */ s(
|
|
31
|
+
"line",
|
|
32
|
+
{
|
|
33
|
+
x1: "0",
|
|
34
|
+
y1: "0",
|
|
35
|
+
x2: "100%",
|
|
36
|
+
y2: "100%",
|
|
37
|
+
className: e.line
|
|
38
|
+
}
|
|
39
|
+
),
|
|
40
|
+
/* @__PURE__ */ s(
|
|
41
|
+
"line",
|
|
42
|
+
{
|
|
43
|
+
x1: "100%",
|
|
44
|
+
y1: "0",
|
|
45
|
+
x2: "0",
|
|
46
|
+
y2: "100%",
|
|
47
|
+
className: e.line
|
|
48
|
+
}
|
|
49
|
+
)
|
|
31
50
|
] }),
|
|
32
|
-
|
|
51
|
+
o && /* @__PURE__ */ s(n, { element: "strong", textStyle: "typography.heading.4", children: o }),
|
|
52
|
+
l
|
|
33
53
|
]
|
|
34
54
|
}
|
|
35
55
|
);
|
|
36
56
|
};
|
|
37
|
-
|
|
57
|
+
f.displayName = "IressPlaceholder";
|
|
38
58
|
export {
|
|
39
|
-
|
|
59
|
+
f as IressPlaceholder
|
|
40
60
|
};
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { s as
|
|
2
|
-
const
|
|
1
|
+
import { s as o } from "../../sva-Df1FmoEW.js";
|
|
2
|
+
const r = o({
|
|
3
3
|
slots: ["root", "svg", "line"],
|
|
4
4
|
base: {
|
|
5
5
|
root: {
|
|
6
6
|
alignItems: "center",
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
7
|
+
flexDirection: "column",
|
|
8
|
+
bg: "colour.primary.surface",
|
|
9
|
+
color: "colour.primary.text",
|
|
10
10
|
boxSizing: "border-box",
|
|
11
11
|
display: "flex",
|
|
12
12
|
justifyContent: "center",
|
|
@@ -21,12 +21,13 @@ const t = e({
|
|
|
21
21
|
zIndex: "[-1]"
|
|
22
22
|
},
|
|
23
23
|
line: {
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
24
|
+
display: "none",
|
|
25
|
+
strokeWidth: "0.5px",
|
|
26
|
+
stroke: "colour.primary.fill",
|
|
27
|
+
strokeOpacity: "0.1"
|
|
27
28
|
}
|
|
28
29
|
}
|
|
29
30
|
});
|
|
30
31
|
export {
|
|
31
|
-
|
|
32
|
+
r as placeholder
|
|
32
33
|
};
|
|
@@ -5,7 +5,7 @@ import { propagateTestid as m } from "../../../helpers/utility/propagateTestid.j
|
|
|
5
5
|
import { PopoverContent as H } from "../components/PopoverContent.js";
|
|
6
6
|
import { InputPopoverActivator as R } from "./InputPopoverActivator.js";
|
|
7
7
|
import { usePopoverImperativeHandle as S } from "../hooks/usePopoverImperativeHandle.js";
|
|
8
|
-
import { s as T } from "../../../factory-
|
|
8
|
+
import { s as T } from "../../../factory-BrouwSOb.js";
|
|
9
9
|
import { c as n } from "../../../cx-DN21T1EH.js";
|
|
10
10
|
import { popover as W } from "../Popover.styles.js";
|
|
11
11
|
import { NestedPopoverActivator as k } from "../components/NestedPopoverActivator.js";
|
|
@@ -4,7 +4,7 @@ import { GlobalCSSClass as e } from "../../enums.js";
|
|
|
4
4
|
import { propagateTestid as n } from "../../helpers/utility/propagateTestid.js";
|
|
5
5
|
import { PopoverActivator as H } from "./components/PopoverActivator.js";
|
|
6
6
|
import { PopoverContent as S } from "./components/PopoverContent.js";
|
|
7
|
-
import { s as T } from "../../factory-
|
|
7
|
+
import { s as T } from "../../factory-BrouwSOb.js";
|
|
8
8
|
import { c } from "../../cx-DN21T1EH.js";
|
|
9
9
|
import { usePopoverImperativeHandle as k } from "./hooks/usePopoverImperativeHandle.js";
|
|
10
10
|
import { popover as q } from "./Popover.styles.js";
|
|
@@ -2,7 +2,7 @@ import { jsx as e } from "react/jsx-runtime";
|
|
|
2
2
|
import { q as b, r as F, t as I, v as u, g as P, w as x, f as C } from "../../../floating-ui.react-BlU6Nz_4.js";
|
|
3
3
|
import { composePopoverFloatingProps as N } from "../helpers/composeFloatingProps.js";
|
|
4
4
|
import { useEffect as w } from "react";
|
|
5
|
-
import { s as y } from "../../../factory-
|
|
5
|
+
import { s as y } from "../../../factory-BrouwSOb.js";
|
|
6
6
|
import { usePopover as E } from "../hooks/usePopover.js";
|
|
7
7
|
const s = ({
|
|
8
8
|
children: n,
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { jsx as n } from "react/jsx-runtime";
|
|
2
2
|
import { stringReplacer as P } from "../../helpers/formatting/stringReplacer.js";
|
|
3
|
-
import { c as y } from "../../css-
|
|
3
|
+
import { c as y } from "../../css-BStWZDQe.js";
|
|
4
4
|
import { c as S } from "../../cx-DN21T1EH.js";
|
|
5
5
|
import { progress as b } from "./Progress.styles.js";
|
|
6
|
-
import { s as p } from "../../factory-
|
|
7
|
-
import { s as x } from "../../is-valid-prop-
|
|
6
|
+
import { s as p } from "../../factory-BrouwSOb.js";
|
|
7
|
+
import { s as x } from "../../is-valid-prop-DTA0i8bT.js";
|
|
8
8
|
import { GlobalCSSClass as C } from "../../enums.js";
|
|
9
|
-
import { t as N } from "../../index-
|
|
9
|
+
import { t as N } from "../../index-Bir9MtY7.js";
|
|
10
10
|
const h = ({
|
|
11
11
|
backgroundImage: e,
|
|
12
12
|
borderRadius: t,
|
|
@@ -2,6 +2,7 @@ import { FloatingUIContainer } from '../../types';
|
|
|
2
2
|
import { ReactNode } from 'react';
|
|
3
3
|
import { IressToasterProviderProps } from '../Toaster';
|
|
4
4
|
import { IressSlideoutProviderProps } from '../Slideout';
|
|
5
|
+
import { IressIconProviderProps } from '../Icon';
|
|
5
6
|
export interface IressProviderProps extends IressSlideoutProviderProps, Pick<IressToasterProviderProps, 'position'> {
|
|
6
7
|
/**
|
|
7
8
|
* The contents of your application, and/or the components which will be calling slideouts, modals and toasts.
|
|
@@ -13,15 +14,18 @@ export interface IressProviderProps extends IressSlideoutProviderProps, Pick<Ire
|
|
|
13
14
|
*/
|
|
14
15
|
container?: FloatingUIContainer;
|
|
15
16
|
/**
|
|
16
|
-
*
|
|
17
|
+
* Disable automatic font subsetting via Google Fonts CDN
|
|
18
|
+
* When false, only icons actually used in the component tree are loaded
|
|
19
|
+
* When true, the full Material Symbols font is loaded
|
|
20
|
+
* @default false
|
|
17
21
|
*/
|
|
18
|
-
|
|
22
|
+
noSubsetting?: IressIconProviderProps['noSubsetting'];
|
|
19
23
|
/**
|
|
20
|
-
* If you don't want to load the Iress
|
|
24
|
+
* If you don't want to load the default Iress font from the CDN, set this to true.
|
|
21
25
|
*/
|
|
22
|
-
|
|
26
|
+
noDefaultFont?: boolean;
|
|
23
27
|
}
|
|
24
28
|
export declare const IressProvider: {
|
|
25
|
-
({ children, container, noDefaultFont,
|
|
29
|
+
({ children, container, noDefaultFont, position, ...restProps }: IressProviderProps): import("react/jsx-runtime").JSX.Element;
|
|
26
30
|
displayName: string;
|
|
27
31
|
};
|
|
@@ -12,7 +12,10 @@ import "../Slideout/Slideout.styles.js";
|
|
|
12
12
|
import "../Slideout/SlideoutProvider.js";
|
|
13
13
|
import "../Slideout/hooks/useSlideout.js";
|
|
14
14
|
import "react-dom";
|
|
15
|
-
import { I as
|
|
15
|
+
import { I as j } from "../../Provider-Dw49edAo.js";
|
|
16
|
+
import "../Icon/Icon.js";
|
|
17
|
+
import "../Icon/Icon.styles.js";
|
|
18
|
+
import "../Icon/IconProvider.js";
|
|
16
19
|
export {
|
|
17
|
-
|
|
20
|
+
j as IressProvider
|
|
18
21
|
};
|
|
@@ -6,7 +6,7 @@ import { propagateTestid as l } from "../../helpers/utility/propagateTestid.js";
|
|
|
6
6
|
import { IressReadonly as H } from "../Readonly/Readonly.js";
|
|
7
7
|
import "../Readonly/Readonly.styles.js";
|
|
8
8
|
import { getFormControlValueAsString as P } from "../../helpers/form/getFormControlValueAsString.js";
|
|
9
|
-
import { c as p } from "../../css-
|
|
9
|
+
import { c as p } from "../../css-BStWZDQe.js";
|
|
10
10
|
import { c as z } from "../../cx-DN21T1EH.js";
|
|
11
11
|
import { radio as D } from "./Radio.styles.js";
|
|
12
12
|
import { GlobalCSSClass as h } from "../../enums.js";
|
|
@@ -14,8 +14,8 @@ import { IressCheckboxMark as J } from "../CheckboxMark/CheckboxMark.js";
|
|
|
14
14
|
import "../CheckboxMark/CheckboxMark.styles.js";
|
|
15
15
|
import { getRadioGroupContext as K } from "../RadioGroup/RadioGroup.js";
|
|
16
16
|
import "../RadioGroup/RadioGroup.styles.js";
|
|
17
|
-
import { s as u } from "../../factory-
|
|
18
|
-
import { s as L } from "../../is-valid-prop-
|
|
17
|
+
import { s as u } from "../../factory-BrouwSOb.js";
|
|
18
|
+
import { s as L } from "../../is-valid-prop-DTA0i8bT.js";
|
|
19
19
|
import { IressText as Q } from "../Text/Text.js";
|
|
20
20
|
const T = (i) => /* @__PURE__ */ e(
|
|
21
21
|
u.svg,
|
|
@@ -3,7 +3,7 @@ import { forwardRef as q, createContext as B, useRef as T, useMemo as j, useImpe
|
|
|
3
3
|
import { useControlledState as D } from "../../hooks/useControlledState.js";
|
|
4
4
|
import { radioGroup as E } from "./RadioGroup.styles.js";
|
|
5
5
|
import { c as H } from "../../cx-DN21T1EH.js";
|
|
6
|
-
import { s as M } from "../../factory-
|
|
6
|
+
import { s as M } from "../../factory-BrouwSOb.js";
|
|
7
7
|
import { GlobalCSSClass as P } from "../../enums.js";
|
|
8
8
|
import { useNoDefaultValueInForms as h } from "../../patterns/Form/hooks/useNoDefaultValueInForms.js";
|
|
9
9
|
function w() {
|
|
@@ -3,13 +3,13 @@ import { forwardRef as S } from "react";
|
|
|
3
3
|
import { propagateTestid as V } from "../../helpers/utility/propagateTestid.js";
|
|
4
4
|
import { getFormControlValueAsStringIfDefined as d } from "../../helpers/form/getFormControlValueAsStringIfDefined.js";
|
|
5
5
|
import { readonly as D } from "./Readonly.styles.js";
|
|
6
|
-
import { c as s } from "../../css-
|
|
6
|
+
import { c as s } from "../../css-BStWZDQe.js";
|
|
7
7
|
import { c as P } from "../../cx-DN21T1EH.js";
|
|
8
8
|
import { IressSpinner as g } from "../Spinner/Spinner.js";
|
|
9
9
|
import "../Spinner/Spinner.styles.js";
|
|
10
10
|
import { GlobalCSSClass as j } from "../../enums.js";
|
|
11
11
|
import { useNoDefaultValueInForms as w } from "../../patterns/Form/hooks/useNoDefaultValueInForms.js";
|
|
12
|
-
import { s as F } from "../../is-valid-prop-
|
|
12
|
+
import { s as F } from "../../is-valid-prop-DTA0i8bT.js";
|
|
13
13
|
const b = ({
|
|
14
14
|
append: t,
|
|
15
15
|
children: c,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { s as c } from "../../sva-
|
|
1
|
+
import { s as c } from "../../sva-Df1FmoEW.js";
|
|
2
2
|
const i = c({
|
|
3
3
|
slots: [
|
|
4
4
|
"richSelect",
|
|
@@ -10,7 +10,7 @@ const i = c({
|
|
|
10
10
|
base: {
|
|
11
11
|
richSelect: {
|
|
12
12
|
// Performance: CSS containment (no paint to allow focus ring/shadow)
|
|
13
|
-
contain: "
|
|
13
|
+
contain: "style",
|
|
14
14
|
display: "block"
|
|
15
15
|
},
|
|
16
16
|
popoverContent: {
|
|
@@ -8,6 +8,7 @@ import { IressMenuItem as I } from "../../Menu/MenuItem/MenuItem.js";
|
|
|
8
8
|
import "../../Menu/MenuText/MenuText.js";
|
|
9
9
|
import { IressIcon as f } from "../../Icon/Icon.js";
|
|
10
10
|
import "../../Icon/Icon.styles.js";
|
|
11
|
+
import "../../Icon/IconProvider.js";
|
|
11
12
|
import { IressSelectHeading as u } from "../SelectHeading/SelectHeading.js";
|
|
12
13
|
const b = ({
|
|
13
14
|
fluid: m = !0,
|
|
@@ -8,7 +8,7 @@ import "../../Menu/MenuDivider/MenuDivider.js";
|
|
|
8
8
|
import "../../Menu/MenuItem/MenuItem.js";
|
|
9
9
|
import { IressMenuHeading as g } from "../../Menu/MenuText/MenuText.js";
|
|
10
10
|
import { GlobalCSSClass as a } from "../../../enums.js";
|
|
11
|
-
import { I as h } from "../../../Button-
|
|
11
|
+
import { I as h } from "../../../Button-BrpmQKsB.js";
|
|
12
12
|
import "../../Button/CloseButton/CloseButton.js";
|
|
13
13
|
import "../../Popover/Popover.js";
|
|
14
14
|
import "../../Popover/Popover.styles.js";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export declare const selectLabel: import('../../../styled-system/types').SlotRecipeRuntimeFn<"
|
|
1
|
+
export declare const selectLabel: import('../../../styled-system/types').SlotRecipeRuntimeFn<"contents" | "placeholder" | "append" | "prepend" | "selectLabel", {
|
|
2
2
|
showDefaultChevron: {
|
|
3
3
|
true: {
|
|
4
4
|
selectLabel: {
|
|
@@ -4,6 +4,7 @@ import { c as h } from "../../../cx-DN21T1EH.js";
|
|
|
4
4
|
import { selectSearchInput as v } from "./SelectSearchInput.styles.js";
|
|
5
5
|
import { IressIcon as b } from "../../Icon/Icon.js";
|
|
6
6
|
import "../../Icon/Icon.styles.js";
|
|
7
|
+
import "../../Icon/IconProvider.js";
|
|
7
8
|
import { IressInput as d } from "../../Input/Input.js";
|
|
8
9
|
import "../../Input/Input.styles.js";
|
|
9
10
|
import { usePopoverItem as x } from "../../Popover/hooks/usePopoverItem.js";
|
|
@@ -11,30 +12,30 @@ import { GlobalCSSClass as R } from "../../../enums.js";
|
|
|
11
12
|
const P = u(
|
|
12
13
|
({
|
|
13
14
|
"aria-label": s,
|
|
14
|
-
autoComplete:
|
|
15
|
-
className:
|
|
16
|
-
placeholder:
|
|
15
|
+
autoComplete: m = "off",
|
|
16
|
+
className: a,
|
|
17
|
+
placeholder: e = "Search",
|
|
17
18
|
prepend: c = /* @__PURE__ */ t(b, { name: "search" }),
|
|
18
19
|
...p
|
|
19
20
|
}, n) => {
|
|
20
|
-
const
|
|
21
|
-
return S(n, () =>
|
|
21
|
+
const r = I(null), { isActiveInPopover: i, ...o } = x(), l = v({ isActiveInPopover: i });
|
|
22
|
+
return S(n, () => r.current), /* @__PURE__ */ t(
|
|
22
23
|
d,
|
|
23
24
|
{
|
|
24
25
|
...p,
|
|
25
26
|
...o,
|
|
26
27
|
tabIndex: void 0,
|
|
27
|
-
"aria-label": s ??
|
|
28
|
-
autoComplete:
|
|
28
|
+
"aria-label": s ?? e ?? "Search",
|
|
29
|
+
autoComplete: m,
|
|
29
30
|
className: h(
|
|
30
31
|
l.root,
|
|
31
|
-
|
|
32
|
+
a,
|
|
32
33
|
R.RichSelectSearchInput
|
|
33
34
|
),
|
|
34
|
-
placeholder:
|
|
35
|
+
placeholder: e,
|
|
35
36
|
prepend: c,
|
|
36
37
|
ref: (f) => {
|
|
37
|
-
|
|
38
|
+
r.current = f, o?.ref?.(r.current?.input ?? null);
|
|
38
39
|
}
|
|
39
40
|
}
|
|
40
41
|
);
|
|
@@ -21,10 +21,11 @@ import "../../Popover/Popover.styles.js";
|
|
|
21
21
|
import "../../Popover/InputPopover/InputPopover.js";
|
|
22
22
|
import { usePopover as V } from "../../Popover/hooks/usePopover.js";
|
|
23
23
|
import "../../Popover/hooks/useFloatingPopover.js";
|
|
24
|
-
import { I as G } from "../../../Button-
|
|
24
|
+
import { I as G } from "../../../Button-BrpmQKsB.js";
|
|
25
25
|
import "../../Button/CloseButton/CloseButton.js";
|
|
26
26
|
import { IressIcon as R } from "../../Icon/Icon.js";
|
|
27
27
|
import "../../Icon/Icon.styles.js";
|
|
28
|
+
import "../../Icon/IconProvider.js";
|
|
28
29
|
import { GlobalCSSClass as S } from "../../../enums.js";
|
|
29
30
|
import "../../Inline/Inline.styles.js";
|
|
30
31
|
import { IressInline as W } from "../../Inline/Inline.js";
|
|
@@ -83,7 +84,7 @@ const C = (r, s) => {
|
|
|
83
84
|
deleteButton: /* @__PURE__ */ o(
|
|
84
85
|
L,
|
|
85
86
|
{
|
|
86
|
-
activator: /* @__PURE__ */ o(G, { mode: "
|
|
87
|
+
activator: /* @__PURE__ */ o(G, { mode: "muted", children: /* @__PURE__ */ o(
|
|
87
88
|
R,
|
|
88
89
|
{
|
|
89
90
|
name: "chevron-circle-down",
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export declare const selectTags: import('../../../styled-system/types').SlotRecipeRuntimeFn<"
|
|
1
|
+
export declare const selectTags: import('../../../styled-system/types').SlotRecipeRuntimeFn<"tag" | "root" | "placeholder" | "append" | "prepend" | "tagsList", {
|
|
2
2
|
showDefaultChevron: {
|
|
3
3
|
true: {
|
|
4
4
|
root: {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx as r } from "react/jsx-runtime";
|
|
2
2
|
import { row as m } from "./Row.styles.js";
|
|
3
|
-
import { s as t } from "../../factory-
|
|
3
|
+
import { s as t } from "../../factory-BrouwSOb.js";
|
|
4
4
|
import { c as a } from "../../cx-DN21T1EH.js";
|
|
5
5
|
import { GlobalCSSClass as p } from "../../enums.js";
|
|
6
6
|
const e = t("div", m), i = ({ className: o, ...s }) => /* @__PURE__ */ r(e, { ...s, className: a(o, p.Row) });
|
|
@@ -9,10 +9,10 @@ import { SelectReadonly as H } from "./components/SelectReadonly.js";
|
|
|
9
9
|
import { SelectControl as P } from "./components/SelectControl.js";
|
|
10
10
|
import { select as T } from "./Select.styles.js";
|
|
11
11
|
import { input as q } from "../Input/Input.styles.js";
|
|
12
|
-
import { c as z } from "../../css-
|
|
12
|
+
import { c as z } from "../../css-BStWZDQe.js";
|
|
13
13
|
import { c as B } from "../../cx-DN21T1EH.js";
|
|
14
14
|
import { GlobalCSSClass as V } from "../../enums.js";
|
|
15
|
-
import { s as J } from "../../is-valid-prop-
|
|
15
|
+
import { s as J } from "../../is-valid-prop-DTA0i8bT.js";
|
|
16
16
|
import { useNoDefaultValueInForms as K } from "../../patterns/Form/hooks/useNoDefaultValueInForms.js";
|
|
17
17
|
const L = ({
|
|
18
18
|
children: o,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsx as r } from "react/jsx-runtime";
|
|
2
|
-
import { s as e } from "../../../factory-
|
|
2
|
+
import { s as e } from "../../../factory-BrouwSOb.js";
|
|
3
3
|
import { getFormControlValueAsString as s } from "../../../helpers/form/getFormControlValueAsString.js";
|
|
4
4
|
const l = ({
|
|
5
5
|
value: o,
|
|
@@ -3,7 +3,7 @@ import { forwardRef as S } from "react";
|
|
|
3
3
|
import { GlobalCSSClass as t } from "../../../enums.js";
|
|
4
4
|
import { getFormControlValueAsStringIfDefined as m } from "../../../helpers/form/getFormControlValueAsStringIfDefined.js";
|
|
5
5
|
import { select as l } from "../Select.styles.js";
|
|
6
|
-
import { c as x } from "../../../css-
|
|
6
|
+
import { c as x } from "../../../css-BStWZDQe.js";
|
|
7
7
|
import { c as n } from "../../../cx-DN21T1EH.js";
|
|
8
8
|
import "../../Input/Input.js";
|
|
9
9
|
import { input as v } from "../../Input/Input.styles.js";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx as p } from "react/jsx-runtime";
|
|
2
2
|
import { forwardRef as t } from "react";
|
|
3
|
-
import { I as m } from "../../Button-
|
|
3
|
+
import { I as m } from "../../Button-BrpmQKsB.js";
|
|
4
4
|
import "../Button/CloseButton/CloseButton.js";
|
|
5
5
|
import { c as k } from "../../cx-DN21T1EH.js";
|
|
6
6
|
import { skipLink as n } from "./SkipLink.styles.js";
|
|
@@ -9,7 +9,7 @@ import { slideout as ce } from "./Slideout.styles.js";
|
|
|
9
9
|
import { useIdIfNeeded as de } from "../../hooks/useIdIfNeeded.js";
|
|
10
10
|
import { IressText as he } from "../Text/Text.js";
|
|
11
11
|
import { usePushElement as pe } from "./hooks/usePushElement.js";
|
|
12
|
-
import { s as me } from "../../is-valid-prop-
|
|
12
|
+
import { s as me } from "../../is-valid-prop-DTA0i8bT.js";
|
|
13
13
|
import { GlobalCSSClass as O } from "../../enums.js";
|
|
14
14
|
import { useProviderSlideout as ge } from "./hooks/useProviderSlideout.js";
|
|
15
15
|
import { getTransitionDuration as ye } from "../../helpers/transition/getTransitionDuration.js";
|