@iress-oss/ids-components 6.0.0-alpha.20 → 6.0.0-alpha.21

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.
Files changed (70) hide show
  1. package/dist/{Button-BTkololu.js → Button-BwZzMODc.js} +8 -9
  2. package/dist/{Provider-B87u_maF.js → Provider-Dw49edAo.js} +21 -31
  3. package/dist/components/Alert/Alert.js +34 -34
  4. package/dist/components/Button/Button.js +1 -1
  5. package/dist/components/Button/CloseButton/CloseButton.js +12 -11
  6. package/dist/components/Button/index.js +1 -1
  7. package/dist/components/Field/components/FieldFooter.js +10 -9
  8. package/dist/components/Field/components/FieldHint.js +3 -2
  9. package/dist/components/Filter/Filter.js +2 -1
  10. package/dist/components/Filter/components/FilterResetButton.js +1 -1
  11. package/dist/components/Filter/components/FilterSearch.d.ts +1 -1
  12. package/dist/components/Icon/Icon.constants.d.ts +7 -0
  13. package/dist/components/Icon/Icon.constants.js +10 -0
  14. package/dist/components/Icon/Icon.d.ts +34 -16
  15. package/dist/components/Icon/Icon.js +68 -30
  16. package/dist/components/Icon/Icon.styles.d.ts +23 -0
  17. package/dist/components/Icon/Icon.styles.js +38 -4
  18. package/dist/components/Icon/IconProvider.d.ts +100 -0
  19. package/dist/components/Icon/IconProvider.js +66 -0
  20. package/dist/components/Icon/components/FontLoader.d.ts +31 -0
  21. package/dist/components/Icon/components/FontLoader.js +29 -0
  22. package/dist/components/Icon/helpers/getMaterialSymbolsList.d.ts +12 -0
  23. package/dist/components/Icon/helpers/getMaterialSymbolsList.js +12 -0
  24. package/dist/components/Icon/helpers/iconMapping.d.ts +78 -0
  25. package/dist/components/Icon/helpers/iconMapping.js +75 -0
  26. package/dist/components/Icon/hooks/useDynamicFontSubsetting.d.ts +45 -0
  27. package/dist/components/Icon/hooks/useDynamicFontSubsetting.js +78 -0
  28. package/dist/components/Icon/index.d.ts +2 -0
  29. package/dist/components/Icon/index.js +6 -2
  30. package/dist/components/Input/Input.js +1 -1
  31. package/dist/components/Input/Input.styles.js +12 -1
  32. package/dist/components/Link/Link.js +39 -40
  33. package/dist/components/Modal/Modal.js +1 -1
  34. package/dist/components/Panel/Panel.styles.js +1 -1
  35. package/dist/components/Placeholder/Placeholder.d.ts +5 -1
  36. package/dist/components/Placeholder/Placeholder.js +48 -28
  37. package/dist/components/Placeholder/Placeholder.styles.js +10 -9
  38. package/dist/components/Progress/Progress.js +1 -1
  39. package/dist/components/Provider/Provider.d.ts +9 -5
  40. package/dist/components/Provider/Provider.js +5 -2
  41. package/dist/components/Provider/index.js +1 -1
  42. package/dist/components/RichSelect/RichSelect.styles.js +1 -1
  43. package/dist/components/RichSelect/SelectCreate/SelectCreate.js +1 -0
  44. package/dist/components/RichSelect/SelectHeading/SelectHeading.js +1 -1
  45. package/dist/components/RichSelect/SelectLabel/SelectLabel.styles.d.ts +1 -1
  46. package/dist/components/RichSelect/SelectSearchInput/SelectSearchInput.js +11 -10
  47. package/dist/components/RichSelect/SelectTags/SelectTags.js +3 -2
  48. package/dist/components/RichSelect/SelectTags/SelectTags.styles.d.ts +1 -1
  49. package/dist/components/SkipLink/SkipLink.js +1 -1
  50. package/dist/components/Slideout/components/SlideoutInner.js +1 -1
  51. package/dist/components/Slideout/hooks/usePushElement.js +1 -1
  52. package/dist/components/Spinner/Spinner.js +5 -4
  53. package/dist/components/TabSet/TabSet.styles.js +3 -1
  54. package/dist/components/Table/Table.styles.js +7 -3
  55. package/dist/components/Table/components/TableSortButton.js +24 -15
  56. package/dist/components/Tag/Tag.js +1 -1
  57. package/dist/components/Toaster/components/Toast/Toast.js +30 -30
  58. package/dist/components/Toaster/components/Toast/Toast.styles.d.ts +1 -1
  59. package/dist/components/Toaster/components/Toast/Toast.styles.js +0 -4
  60. package/dist/{index-0AvnPY9d.js → index-Bir9MtY7.js} +0 -4
  61. package/dist/index.d-CZvOUeIl.js +3808 -0
  62. package/dist/main.js +257 -253
  63. package/dist/patterns/Loading/components/ValidateLoading.js +1 -1
  64. package/dist/patterns/Shadow/Shadow.d.ts +0 -4
  65. package/dist/patterns/Shadow/Shadow.js +407 -459
  66. package/dist/style.css +1 -1
  67. package/dist/styled-system/recipes/table.d.ts +1 -1
  68. package/dist/styled-system/tokens/tokens.d.ts +1 -1
  69. package/dist/types.d.ts +4 -0
  70. package/package.json +5 -4
@@ -1,12 +1,12 @@
1
1
  import { jsxs as q, Fragment as N, jsx as u } from "react/jsx-runtime";
2
- import { forwardRef as j, useId as M, useRef as R, useMemo as n, useCallback as E, useImperativeHandle as W } from "react";
3
- import { IressSpinner as A } from "./components/Spinner/Spinner.js";
2
+ import { forwardRef as j, useId as M, useRef as R, useMemo as n, useCallback as E, useImperativeHandle as A } from "react";
3
+ import { IressSpinner as K } from "./components/Spinner/Spinner.js";
4
4
  import "./components/Spinner/Spinner.styles.js";
5
5
  import { GlobalCSSClass as d } from "./enums.js";
6
6
  import "./components/ButtonGroup/ButtonGroup.js";
7
7
  import "./components/ButtonGroup/ButtonGroup.styles.js";
8
- import { useButtonGroupItem as K } from "./components/ButtonGroup/hooks/useButtonGroupItem.js";
9
- import { s as O } from "./is-valid-prop-DweT-eOL.js";
8
+ import { useButtonGroupItem as O } from "./components/ButtonGroup/hooks/useButtonGroupItem.js";
9
+ import { s as W } from "./is-valid-prop-DweT-eOL.js";
10
10
  import { m as D, a as L, s as T, i as z, c as J } from "./css-DNdLYQld.js";
11
11
  import { c as Q } from "./cx-DN21T1EH.js";
12
12
  import { c as U } from "./create-recipe-DjqynAXe.js";
@@ -367,7 +367,7 @@ const h = {}, Y = [
367
367
  value: w,
368
368
  ...f
369
369
  }, F) => {
370
- const i = M(), I = w ?? (typeof s == "string" || typeof s == "number" || typeof s == "boolean" ? s : void 0), B = X(), p = R(null), c = K({ value: I }), G = n(() => c ? c.active ? "primary" : "tertiary" : x, [c, x]), e = so({
370
+ const i = M(), I = w ?? (typeof s == "string" || typeof s == "number" || typeof s == "boolean" ? s : void 0), B = X(), p = R(null), c = O({ value: I }), G = n(() => c ? c.active ? "primary" : "tertiary" : x, [c, x]), e = so({
371
371
  active: (
372
372
  // eslint-disable-next-line react-hooks/refs -- ref needed for forwarding
373
373
  o ?? B?.isActiveActivator(p.current)
@@ -379,7 +379,7 @@ const h = {}, Y = [
379
379
  noWrap: H,
380
380
  status: S
381
381
  }), [v, a] = n(
382
- () => O(f),
382
+ () => W(f),
383
383
  [f]
384
384
  ), _ = E(
385
385
  (V) => {
@@ -391,10 +391,9 @@ const h = {}, Y = [
391
391
  children: /* @__PURE__ */ q(N, { children: [
392
392
  m && !r && /* @__PURE__ */ u("span", { className: e.prepend, children: m }),
393
393
  !!r && /* @__PURE__ */ u(
394
- A,
394
+ K,
395
395
  {
396
396
  className: e.spinner,
397
- fixedWidth: !0,
398
397
  id: i,
399
398
  screenreaderText: r === !0 ? "Loading" : r
400
399
  }
@@ -427,7 +426,7 @@ const h = {}, Y = [
427
426
  e.spinner
428
427
  ]
429
428
  );
430
- W(F, () => p.current);
429
+ A(F, () => p.current);
431
430
  const k = n(
432
431
  () => l ?? (a.href ? "a" : "button"),
433
432
  [l, a.href]
@@ -1,37 +1,39 @@
1
- import { jsxs as a, jsx as r } from "react/jsx-runtime";
1
+ import { jsxs as $, jsx as t } from "react/jsx-runtime";
2
2
  import "./components/Modal/Modal.styles.js";
3
3
  import "./components/Modal/Modal.js";
4
- import { IressModalProvider as n } from "./components/Modal/ModalProvider.js";
4
+ import { IressModalProvider as s } from "./components/Modal/ModalProvider.js";
5
5
  import "./components/Modal/hooks/useModal.js";
6
- import { IressToasterProvider as d } from "./components/Toaster/ToasterProvider.js";
6
+ import { IressToasterProvider as a } from "./components/Toaster/ToasterProvider.js";
7
7
  import "./components/Toaster/hooks/useToaster.js";
8
8
  import "./components/Toaster/Toaster.styles.js";
9
9
  import "./components/Toaster/components/Toast/Toast.styles.js";
10
10
  import "./components/Slideout/Slideout.js";
11
11
  import "./components/Slideout/Slideout.styles.js";
12
- import { IressSlideoutProvider as m } from "./components/Slideout/SlideoutProvider.js";
12
+ import { IressSlideoutProvider as n } from "./components/Slideout/SlideoutProvider.js";
13
13
  import "./components/Slideout/hooks/useSlideout.js";
14
- import { createPortal as y } from "react-dom";
14
+ import { createPortal as C } from "react-dom";
15
+ import "./components/Icon/Icon.js";
16
+ import "./components/Icon/Icon.styles.js";
17
+ import { IressIconProvider as m } from "./components/Icon/IconProvider.js";
15
18
  var o = /* @__PURE__ */ ((e) => (e.Color = "color", e.Dimension = "dimension", e.FontFamily = "fontFamily", e.FontSize = "fontSize", e.Background = "background", e.Border = "border", e.Radius = "radius", e.Shadow = "shadow", e.Typography = "typography", e))(o || {});
16
19
  o.Color, o.Color, o.Color, o.Color, o.Color, o.Color, o.Color, o.Color, o.Color, o.Color, o.Color, o.Color, o.Color, o.Color, o.Color, o.Color, o.Color, o.Color, o.Color, o.Color, o.Color, o.Color, o.Color, o.Color, o.Color, o.Color, o.Color, o.Color, o.Color, o.Color, o.Color, o.Color, o.Color, o.Color, o.Color, o.Color, o.Color, o.Color, o.Color, o.Color, o.Color, o.Color, o.Color, o.Color, o.Color, o.Color, o.Color, o.Color, o.Color, o.Color, o.Color, o.Color, o.Color, o.Color, o.Color, o.Color, o.Color, o.Color, o.Color, o.Color;
17
20
  o.Shadow, o.Border, o.Shadow, o.Border, o.Shadow, o.Border, o.Shadow, o.Color, o.Shadow, o.Color;
18
21
  o.Dimension, o.Dimension, o.Dimension, o.Dimension, o.Dimension, o.Radius, o.Radius, o.Radius, o.Radius;
19
22
  o.Dimension, o.Dimension, o.Dimension, o.Dimension, o.Dimension, o.Dimension, o.Dimension, o.Dimension, o.Dimension, o.Dimension;
20
- const C = [
23
+ const d = [
21
24
  "https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&family=Ubuntu:ital,wght@0,300;0,400;0,500;0,700;1,300;1,400;1,500;1,700&display=swap"
22
25
  ];
23
26
  o.FontSize, o.FontFamily, o.FontFamily, o.Typography, o.Typography, o.Typography, o.Typography, o.Typography, o.Typography, o.Typography, o.Typography, o.Typography, o.Typography, o.Typography, o.Typography, o.Typography, o.Typography;
24
- const h = ({
27
+ const f = ({
25
28
  children: e,
26
- container: t,
27
- noDefaultFont: l,
28
- noIcons: i,
29
- position: s,
30
- ...$
31
- }) => /* @__PURE__ */ a(n, { container: t, children: [
32
- /* @__PURE__ */ r(d, { container: t, position: s, children: /* @__PURE__ */ r(m, { container: t, ...$, children: e }) }),
33
- !l && y(
34
- C.map((p) => /* @__PURE__ */ r(
29
+ container: r,
30
+ noDefaultFont: y,
31
+ position: l,
32
+ ...i
33
+ }) => /* @__PURE__ */ $(s, { container: r, children: [
34
+ /* @__PURE__ */ t(a, { container: r, position: l, children: /* @__PURE__ */ t(n, { container: r, ...i, children: /* @__PURE__ */ t(m, { container: r, noSubsetting: !0, children: e }) }) }),
35
+ !y && C(
36
+ d.map((p) => /* @__PURE__ */ t(
35
37
  "link",
36
38
  {
37
39
  rel: "stylesheet",
@@ -42,22 +44,10 @@ const h = ({
42
44
  )),
43
45
  document.head,
44
46
  "design-system-font"
45
- ),
46
- !i && y(
47
- /* @__PURE__ */ r(
48
- "link",
49
- {
50
- rel: "stylesheet",
51
- href: "https://cdn.iress.com/icons/5.15.4/css/combined.min.css",
52
- "data-iress-design-system-icons": !0
53
- }
54
- ),
55
- document.head,
56
- "design-system-icons"
57
47
  )
58
48
  ] });
59
- h.displayName = "IressProvider";
49
+ f.displayName = "IressProvider";
60
50
  export {
61
- h as I,
62
- C as i
51
+ f as I,
52
+ d as i
63
53
  };
@@ -1,39 +1,40 @@
1
- import { jsx as t, jsxs as a } from "react/jsx-runtime";
1
+ import { jsx as o, jsxs as i } from "react/jsx-runtime";
2
2
  import { useMemo as B, createElement as E } from "react";
3
3
  import { IressIcon as V } from "../Icon/Icon.js";
4
4
  import "../Icon/Icon.styles.js";
5
+ import "../Icon/IconProvider.js";
5
6
  import { IressText as u } from "../Text/Text.js";
6
7
  import { propagateTestid as N } from "../../helpers/utility/propagateTestid.js";
7
8
  import { alert as h } from "./Alert.styles.js";
8
9
  import { c as q } from "../../css-DNdLYQld.js";
9
10
  import { c as I } from "../../cx-DN21T1EH.js";
10
11
  import { GlobalCSSClass as F } from "../../enums.js";
11
- import { I as G } from "../../Button-BTkololu.js";
12
+ import { I as G } from "../../Button-BwZzMODc.js";
12
13
  import { IressCloseButton as L } from "../Button/CloseButton/CloseButton.js";
13
14
  import "../Inline/Inline.styles.js";
14
15
  import { IressInline as M } from "../Inline/Inline.js";
15
16
  import { useControlledState as O } from "../../hooks/useControlledState.js";
16
17
  import { s as R } from "../../is-valid-prop-DweT-eOL.js";
17
- const W = {
18
+ const _ = {
18
19
  danger: "ban",
19
20
  info: "info-square",
20
21
  success: "check",
21
22
  warning: "exclamation-triangle"
22
- }, _ = ({
23
+ }, $ = ({
23
24
  actions: n,
24
25
  children: g,
25
26
  className: x,
26
27
  defaultDismissed: C,
27
28
  dismissed: b,
28
29
  footer: c,
29
- heading: o,
30
+ heading: t,
30
31
  icon: m,
31
32
  onDismiss: d,
32
33
  status: r = "info",
33
- variant: i,
34
+ variant: a,
34
35
  ...l
35
36
  }) => {
36
- const y = !!d, e = h({ status: r, variant: i }), A = h.raw({ status: r, variant: i }), p = !!n?.length, S = !!c || p, [T, k] = R(l), { value: v, setValue: w } = O({
37
+ const y = !!d, s = h({ status: r, variant: a }), A = h.raw({ status: r, variant: a }), p = !!n?.length, S = !!c || p, [T, k] = R(l), { value: v, setValue: w } = O({
37
38
  component: "IressAlert",
38
39
  defaultValue: C,
39
40
  propName: "dismissed",
@@ -41,18 +42,17 @@ const W = {
41
42
  }), f = B(() => {
42
43
  if (m === !1)
43
44
  return null;
44
- const s = m ?? W[r];
45
- return /* @__PURE__ */ t(
45
+ const e = m ?? _[r];
46
+ return /* @__PURE__ */ o(
46
47
  V,
47
48
  {
48
- name: s,
49
+ name: e,
49
50
  screenreaderText: `${r}: `,
50
- fixedWidth: !0,
51
- className: e.icon
51
+ className: s.icon
52
52
  }
53
53
  );
54
- }, [e.icon, m, r]);
55
- return v ? null : /* @__PURE__ */ a(
54
+ }, [s.icon, m, r]);
55
+ return v ? null : /* @__PURE__ */ i(
56
56
  u,
57
57
  {
58
58
  className: I(
@@ -62,32 +62,32 @@ const W = {
62
62
  ),
63
63
  ...k,
64
64
  children: [
65
- i !== "sidebar" && f,
66
- /* @__PURE__ */ a("div", { className: e.wrapper, children: [
67
- o && /* @__PURE__ */ t(
65
+ a !== "sidebar" && f,
66
+ /* @__PURE__ */ i("div", { className: s.wrapper, children: [
67
+ t && /* @__PURE__ */ o(
68
68
  "div",
69
69
  {
70
- className: e.heading,
70
+ className: s.heading,
71
71
  "data-testid": N(l["data-testid"], "heading"),
72
- children: typeof o == "string" ? /* @__PURE__ */ a(u, { element: "h2", className: e.heading, children: [
73
- i === "sidebar" && f,
72
+ children: typeof t == "string" ? /* @__PURE__ */ i(u, { element: "h2", className: s.heading, children: [
73
+ a === "sidebar" && f,
74
74
  " ",
75
- o
76
- ] }) : o
75
+ t
76
+ ] }) : t
77
77
  }
78
78
  ),
79
- /* @__PURE__ */ t("div", { className: e.children, children: g }),
80
- S && /* @__PURE__ */ a(
79
+ /* @__PURE__ */ o("div", { className: s.children, children: g }),
80
+ S && /* @__PURE__ */ i(
81
81
  "div",
82
82
  {
83
- className: e.footer,
83
+ className: s.footer,
84
84
  "data-testid": N(l["data-testid"], "footer"),
85
85
  children: [
86
- p && /* @__PURE__ */ t(M, { gap: "sm", pb: "spacing.1", children: n?.map((s, j) => /* @__PURE__ */ E(
86
+ p && /* @__PURE__ */ o(M, { gap: "sm", pb: "spacing.1", children: n?.map((e, j) => /* @__PURE__ */ E(
87
87
  G,
88
88
  {
89
- ...s,
90
- className: I(s.className, e.action),
89
+ ...e,
90
+ className: I(e.className, s.action),
91
91
  key: j
92
92
  }
93
93
  )) }),
@@ -96,12 +96,12 @@ const W = {
96
96
  }
97
97
  )
98
98
  ] }),
99
- y && /* @__PURE__ */ t(
99
+ y && /* @__PURE__ */ o(
100
100
  L,
101
101
  {
102
- className: e.dismiss,
103
- onClick: (s) => {
104
- d?.(s), w(!0);
102
+ className: s.dismiss,
103
+ onClick: (e) => {
104
+ d?.(e), w(!0);
105
105
  }
106
106
  }
107
107
  )
@@ -109,7 +109,7 @@ const W = {
109
109
  }
110
110
  );
111
111
  };
112
- _.displayName = "IressAlert";
112
+ $.displayName = "IressAlert";
113
113
  export {
114
- _ as IressAlert
114
+ $ as IressAlert
115
115
  };
@@ -9,7 +9,7 @@ import "../ButtonGroup/hooks/useButtonGroupItem.js";
9
9
  import "../../is-valid-prop-DweT-eOL.js";
10
10
  import "../../css-DNdLYQld.js";
11
11
  import "../../cx-DN21T1EH.js";
12
- import { I as g } from "../../Button-BTkololu.js";
12
+ import { I as g } from "../../Button-BwZzMODc.js";
13
13
  import "../Popover/Popover.js";
14
14
  import "../Popover/Popover.styles.js";
15
15
  import "../Popover/InputPopover/InputPopover.js";
@@ -1,27 +1,28 @@
1
1
  import { jsx as o } from "react/jsx-runtime";
2
- import { I as e } from "../../../Button-BTkololu.js";
3
- import { IressIcon as a } from "../../Icon/Icon.js";
2
+ import { I as e } from "../../../Button-BwZzMODc.js";
3
+ import { IressIcon as i } from "../../Icon/Icon.js";
4
4
  import "../../Icon/Icon.styles.js";
5
- import { forwardRef as i } from "react";
5
+ import "../../Icon/IconProvider.js";
6
+ import { forwardRef as a } from "react";
6
7
  import { c as l } from "../../../cx-DN21T1EH.js";
7
- import { GlobalCSSClass as n } from "../../../enums.js";
8
- const p = i(
8
+ import { GlobalCSSClass as p } from "../../../enums.js";
9
+ const n = a(
9
10
  ({
10
- className: s,
11
- screenreaderText: r = "Close button",
11
+ className: r,
12
+ screenreaderText: s = "Close button",
12
13
  ...t
13
14
  }, m) => /* @__PURE__ */ o(
14
15
  e,
15
16
  {
16
17
  ...t,
17
- className: l(s, n.CloseButton),
18
+ className: l(r, p.CloseButton),
18
19
  mode: "muted",
19
20
  ref: m,
20
- children: /* @__PURE__ */ o(a, { name: "times", screenreaderText: r })
21
+ children: /* @__PURE__ */ o(i, { name: "times", screenreaderText: s })
21
22
  }
22
23
  )
23
24
  );
24
- p.displayName = "IressCloseButton";
25
+ n.displayName = "IressCloseButton";
25
26
  export {
26
- p as IressCloseButton
27
+ n as IressCloseButton
27
28
  };
@@ -1,4 +1,4 @@
1
- import { I as s, b as r } from "../../Button-BTkololu.js";
1
+ import { I as s, b as r } from "../../Button-BwZzMODc.js";
2
2
  import { IressCloseButton as n } from "./CloseButton/CloseButton.js";
3
3
  export {
4
4
  s as IressButton,
@@ -7,6 +7,7 @@ import "../../ValidationMessage/ValidationLink/ValidationLink.js";
7
7
  import { IressValidationSummary as I } from "../../ValidationMessage/ValidationSummary/ValidationSummary.js";
8
8
  import { IressIcon as E } from "../../Icon/Icon.js";
9
9
  import "../../Icon/Icon.styles.js";
10
+ import "../../Icon/IconProvider.js";
10
11
  import { field as S } from "../Field.styles.js";
11
12
  import { c } from "../../../css-DNdLYQld.js";
12
13
  import { c as v } from "../../../cx-DN21T1EH.js";
@@ -20,26 +21,26 @@ const b = (o) => /* @__PURE__ */ r(E, { name: "exclamation-triangle", ...o, pr:
20
21
  supplementary: n,
21
22
  ...u
22
23
  }) => {
23
- const a = S({ multipleFields: p }), t = l(null), m = l(null), e = x(
24
+ const a = S({ multipleFields: p }), e = l(null), m = l(null), t = x(
24
25
  () => !!s || i.length > 0,
25
26
  [s, i.length]
26
27
  );
27
28
  return h(() => {
28
- if (!t.current || m.current === e) {
29
- m.current = e;
29
+ if (!e.current || m.current === t) {
30
+ m.current = t;
30
31
  return;
31
32
  }
32
- t.current.classList.remove(
33
+ e.current.classList.remove(
33
34
  c({ animationStyle: "field-footer" })
34
- ), t.current.offsetHeight, m.current = e, t.current.classList.add(c({ animationStyle: "field-footer" }));
35
- }, [e]), !n && !e ? null : /* @__PURE__ */ d(
35
+ ), e.current.offsetHeight, m.current = t, e.current.classList.add(c({ animationStyle: "field-footer" }));
36
+ }, [t]), !n && !t ? null : /* @__PURE__ */ d(
36
37
  g.div,
37
38
  {
38
39
  ...u,
39
40
  className: v(o, a.footer),
40
- ref: t,
41
+ ref: e,
41
42
  children: [
42
- e && /* @__PURE__ */ r(
43
+ t && /* @__PURE__ */ r(
43
44
  I,
44
45
  {
45
46
  itemStyle: { textStyle: "typography.body.sm" },
@@ -50,7 +51,7 @@ const b = (o) => /* @__PURE__ */ r(E, { name: "exclamation-triangle", ...o, pr:
50
51
  children: s
51
52
  }
52
53
  ),
53
- !e && /* @__PURE__ */ r(F, { className: a.supplementary, children: n })
54
+ !t && /* @__PURE__ */ r(F, { className: a.supplementary, children: n })
54
55
  ]
55
56
  }
56
57
  );
@@ -1,6 +1,7 @@
1
1
  import { jsx as t, Fragment as s, jsxs as a } from "react/jsx-runtime";
2
2
  import { IressIcon as l } from "../../Icon/Icon.js";
3
3
  import "../../Icon/Icon.styles.js";
4
+ import "../../Icon/IconProvider.js";
4
5
  import { IressTooltip as p } from "../../Tooltip/Tooltip.js";
5
6
  import "../../Tooltip/Tooltip.styles.js";
6
7
  import { propagateTestid as f } from "../../../helpers/utility/propagateTestid.js";
@@ -32,7 +33,7 @@ const x = ({
32
33
  }
33
34
  )
34
35
  ] });
35
- }, v = ({ hint: r }) => /* @__PURE__ */ t(
36
+ }, w = ({ hint: r }) => /* @__PURE__ */ t(
36
37
  p,
37
38
  {
38
39
  tooltipText: typeof r == "string" ? r : "Additional information",
@@ -50,5 +51,5 @@ const x = ({
50
51
  x.displayName = "FieldHint";
51
52
  export {
52
53
  x as FieldHint,
53
- v as FieldHintIcon
54
+ w as FieldHintIcon
54
55
  };
@@ -9,7 +9,7 @@ import { IressPopover as me } from "../Popover/Popover.js";
9
9
  import "../Popover/Popover.styles.js";
10
10
  import "../Popover/InputPopover/InputPopover.js";
11
11
  import "../Popover/hooks/useFloatingPopover.js";
12
- import { I as ce } from "../../Button-BTkololu.js";
12
+ import { I as ce } from "../../Button-BwZzMODc.js";
13
13
  import "../Button/CloseButton/CloseButton.js";
14
14
  import { useRichSelectState as de } from "../RichSelect/hooks/useRichSelectState.js";
15
15
  import "../../Autocomplete-DUsna_OY.js";
@@ -34,6 +34,7 @@ import { FilterResetButton as be } from "./components/FilterResetButton.js";
34
34
  import { FilterLabel as Se } from "./components/FilterLabel.js";
35
35
  import { IressIcon as w } from "../Icon/Icon.js";
36
36
  import "../Icon/Icon.styles.js";
37
+ import "../Icon/IconProvider.js";
37
38
  import { GlobalCSSClass as Ce } from "../../enums.js";
38
39
  import { FilterResultsDescriptor as Pe } from "./components/FilterResultsDescriptor.js";
39
40
  const N = {
@@ -1,5 +1,5 @@
1
1
  import { jsx as n } from "react/jsx-runtime";
2
- import { I as i } from "../../../Button-BTkololu.js";
2
+ import { I as i } from "../../../Button-BwZzMODc.js";
3
3
  import "../../Button/CloseButton/CloseButton.js";
4
4
  import { filter as p } from "../Filter.styles.js";
5
5
  import { usePopoverItem as f } from "../../Popover/hooks/usePopoverItem.js";
@@ -1,5 +1,5 @@
1
1
  import { InputRef } from '../../Input/InputBase/InputBase';
2
- export declare const FilterSearch: import('react').ForwardRefExoticComponent<Omit<import('../../Input').InputBaseProps<undefined>, "defaultValue" | "onChange" | "value"> & {
2
+ export declare const FilterSearch: import('react').ForwardRefExoticComponent<Omit<import('../../Input').InputBaseProps<undefined>, "value" | "defaultValue" | "onChange"> & {
3
3
  alignRight?: boolean;
4
4
  append?: import('react').ReactNode;
5
5
  defaultValue?: string | number | undefined;
@@ -0,0 +1,7 @@
1
+ export declare const MATERIAL_SYMBOLS: {
2
+ readonly figmaGrade: "Emphasis";
3
+ readonly figmaOpticalSize: "24dp";
4
+ readonly grade: 0;
5
+ readonly opticalSize: 36;
6
+ readonly weight: 300;
7
+ };
@@ -0,0 +1,10 @@
1
+ const i = {
2
+ figmaGrade: "Emphasis",
3
+ figmaOpticalSize: "24dp",
4
+ grade: 0,
5
+ opticalSize: 36,
6
+ weight: 300
7
+ };
8
+ export {
9
+ i as MATERIAL_SYMBOLS
10
+ };
@@ -1,39 +1,57 @@
1
1
  import { IressStyledProps } from '../../types';
2
2
  import { IconName } from '@fortawesome/fontawesome-common-types';
3
- export interface IressIconProps extends IressStyledProps<'span'> {
3
+ import { MaterialSymbol } from 'material-symbols';
4
+ import { IconType } from './IconProvider';
5
+ import { FontAwesomeIconWithMaterialEquivalent } from './helpers/iconMapping';
6
+ export type IressIconProps<P extends IconType = 'material'> = IressStyledProps<'span'> & {
4
7
  /**
5
- * The name of the icon
8
+ * Filled variant for Material Symbols
9
+ * When true, icon uses filled style (fill=1)
10
+ * Useful for active/selected states
11
+ * @default false
6
12
  */
7
- name: IconName;
13
+ filled?: P extends 'material' ? boolean : never;
8
14
  /**
9
- * Adds screen reader text if the icon needs to be visible to screen reader users
15
+ * Adds fixed width class for Font Awesome icons - fa-fw
16
+ * @deprecated Font Awesome specific. Material Symbols inherit text size automatically.
10
17
  */
11
- screenreaderText?: string;
18
+ fixedWidth?: P extends 'fontawesome' ? boolean : never;
12
19
  /**
13
- * The icon set to be used:
14
- * - `fal`: Font Awesome Light
15
- * - `fab`: Font Awesome Brand
16
- * @default 'fal'
20
+ * The name of the icon.
21
+ * Note: Font Awesome is deprecated. Please migrate to Material Symbols.
17
22
  */
18
- set?: 'fal' | 'fab';
23
+ name: P extends 'fontawesome' ? IconName : MaterialSymbol | FontAwesomeIconWithMaterialEquivalent;
19
24
  /**
20
- * Amount of degrees to rotate the icon.
25
+ * Adds screen reader text if the icon needs to be visible to screen reader users
21
26
  */
22
- rotate?: 90 | 180 | 270;
27
+ screenreaderText?: string;
23
28
  /**
24
- * Adds fixed width class for Font Awesome icons - fa-fw
29
+ * Amount of degrees to rotate the icon.
25
30
  */
26
- fixedWidth?: boolean;
31
+ rotate?: 90 | 180 | 270;
27
32
  /**
28
33
  * Flip the icon horizontally, vertically or both axes.
29
34
  */
30
35
  flip?: 'horizontal' | 'vertical' | 'both';
36
+ /**
37
+ * The icon set to be used (Font Awesome only):
38
+ * - `fal`: Font Awesome Light
39
+ * - `fab`: Font Awesome Brand
40
+ * @default 'fal'
41
+ * @deprecated Font Awesome is deprecated. Please migrate to Material Symbols.
42
+ */
43
+ set?: P extends 'fontawesome' ? 'fal' | 'fab' : never;
31
44
  /**
32
45
  * Accepts a numeric value for speed for one rotation.
33
46
  */
34
47
  spin?: 'half' | 1 | 2 | 3;
35
- }
48
+ /**
49
+ * The icon provider to use
50
+ * Note: Font Awesome is deprecated. Please migrate to Material Symbols.
51
+ */
52
+ type?: P;
53
+ };
36
54
  export declare const IressIcon: {
37
- ({ className, fixedWidth, flip, name, rotate, screenreaderText, set, spin, ...restProps }: IressIconProps): import("react/jsx-runtime").JSX.Element;
55
+ <P extends IconType = "material">({ className, flip, name, rotate, screenreaderText, spin, type, ...restProps }: IressIconProps<P>): import("react/jsx-runtime").JSX.Element;
38
56
  displayName: string;
39
57
  };