@orfium/ictinus 5.43.3 → 5.43.4

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.
@@ -1,9 +1,9 @@
1
1
 
2
- > @orfium/ictinus@5.43.3 build /home/runner/work/orfium-ictinus/orfium-ictinus/packages/ictinus
2
+ > @orfium/ictinus@5.43.4 build /home/runner/work/orfium-ictinus/orfium-ictinus/packages/ictinus
3
3
  > pnpm build:main && pnpm build:codemods && pnpm build:vanilla
4
4
 
5
5
 
6
- > @orfium/ictinus@5.43.3 build:main /home/runner/work/orfium-ictinus/orfium-ictinus/packages/ictinus
6
+ > @orfium/ictinus@5.43.4 build:main /home/runner/work/orfium-ictinus/orfium-ictinus/packages/ictinus
7
7
  > vite build --mode production
8
8
 
9
9
  production /home/runner/work/orfium-ictinus/orfium-ictinus/packages/ictinus
@@ -105,8 +105,8 @@ computing gzip size...
105
105
  dist/components/ExpandCollapse/utils.js  0.47 kB │ gzip: 0.27 kB
106
106
  dist/components/TopAppBar/components/SidebarMenuIcon/SidebarMenuIcon.js  0.48 kB │ gzip: 0.32 kB
107
107
  dist/components/Table/components/TR/TR.style.js  0.48 kB │ gzip: 0.29 kB
108
- dist/components/Select/Select.style.js  0.49 kB │ gzip: 0.33 kB
109
108
  dist/components/Icon/assets/navigation/triangleRight.svg.js  0.49 kB │ gzip: 0.33 kB
109
+ dist/components/Select/Select.style.js  0.49 kB │ gzip: 0.33 kB
110
110
  dist/components/Card/Card.style.js  0.49 kB │ gzip: 0.33 kB
111
111
  dist/components/Icon/assets/navigation/triangleDown.svg.js  0.49 kB │ gzip: 0.34 kB
112
112
  dist/components/Icon/assets/navigation/triangleLeft.svg.js  0.49 kB │ gzip: 0.34 kB
@@ -148,8 +148,8 @@ computing gzip size...
148
148
  dist/components/Controls/Radio/components/RadioGroup/RadioGroup.js  0.67 kB │ gzip: 0.39 kB
149
149
  dist/components/Table/components/TTitle/TTitle.style.js  0.67 kB │ gzip: 0.38 kB
150
150
  dist/vanilla/Box/Box.js  0.68 kB │ gzip: 0.39 kB
151
- dist/components/IconButton/IconButton.js  0.69 kB │ gzip: 0.40 kB
152
151
  dist/components/TabStepper/components/TabStep/TabStep.style.js  0.69 kB │ gzip: 0.37 kB
152
+ dist/components/IconButton/IconButton.js  0.69 kB │ gzip: 0.41 kB
153
153
  dist/utils/helpers.js  0.70 kB │ gzip: 0.42 kB
154
154
  dist/icons/PlayIcon.js  0.70 kB │ gzip: 0.45 kB
155
155
  dist/components/utils/PositionInScreen/PositionInScreen.js  0.71 kB │ gzip: 0.39 kB
@@ -171,8 +171,8 @@ computing gzip size...
171
171
  dist/components/NumberField/components/Stepper/Stepper.style.js  0.76 kB │ gzip: 0.47 kB
172
172
  dist/components/Chart/BarChart/components/CustomTooltipContent/CustomTooltipContent.style.js  0.78 kB │ gzip: 0.41 kB
173
173
  dist/components/Table/components/TH/components/SortingButton/SortingButton.js  0.79 kB │ gzip: 0.46 kB
174
- dist/components/Icon/assets/musicBusiness/license.svg.js  0.79 kB │ gzip: 0.47 kB
175
174
  dist/components/Chart/LineChart/components/CustomTooltip/CustomTooltip.js  0.79 kB │ gzip: 0.39 kB
175
+ dist/components/Icon/assets/musicBusiness/license.svg.js  0.79 kB │ gzip: 0.47 kB
176
176
  dist/components/Chart/LineChart/components/CustomTooltip/CustomTooltip.style.js  0.79 kB │ gzip: 0.42 kB
177
177
  dist/components/Icon/assets/musicBusiness/album.svg.js  0.80 kB │ gzip: 0.42 kB
178
178
  dist/components/Icon/assets/generic/moreOptions.svg.js  0.80 kB │ gzip: 0.36 kB
@@ -207,8 +207,8 @@ computing gzip size...
207
207
  dist/components/Search/StatefulSearch.js  0.89 kB │ gzip: 0.48 kB
208
208
  dist/components/Slider/components/SliderMark/SliderMark.js  0.89 kB │ gzip: 0.50 kB
209
209
  dist/components/Icon/assets/musicBusiness/recording.svg.js  0.90 kB │ gzip: 0.53 kB
210
- dist/components/Icon/assets/generic/search filled.svg.js  0.91 kB │ gzip: 0.48 kB
211
210
  dist/components/TopAppBar/TopAppBar.style.js  0.91 kB │ gzip: 0.46 kB
211
+ dist/components/Icon/assets/generic/search filled.svg.js  0.91 kB │ gzip: 0.48 kB
212
212
  dist/icons/LicenseIcon.js  0.91 kB │ gzip: 0.54 kB
213
213
  dist/components/Icon/assets/audioControls/rewind.svg.js  0.91 kB │ gzip: 0.48 kB
214
214
  dist/components/Icon/Icon.style.js  0.91 kB │ gzip: 0.48 kB
@@ -414,8 +414,8 @@ computing gzip size...
414
414
  dist/icons/LegalIcon.js  1.66 kB │ gzip: 0.87 kB
415
415
  dist/icons/ArtistIcon.js  1.66 kB │ gzip: 0.89 kB
416
416
  dist/components/Icon/assets/musicBusiness/usage.svg.js  1.67 kB │ gzip: 0.88 kB
417
+ dist/components/Modal/Modal.js  1.67 kB │ gzip: 0.77 kB
417
418
  dist/components/Icon/assets/basicActions/review.svg.js  1.70 kB │ gzip: 0.91 kB
418
- dist/components/Modal/Modal.js  1.71 kB │ gzip: 0.78 kB
419
419
  dist/components/TextArea/TextArea.js  1.71 kB │ gzip: 0.81 kB
420
420
  dist/components/Controls/Radio/Radio.style.js  1.71 kB │ gzip: 0.76 kB
421
421
  dist/components/Broadcast/Broadcast.js  1.72 kB │ gzip: 0.83 kB
@@ -524,6 +524,7 @@ computing gzip size...
524
524
  dist/icons/DeliveryIcon.js  2.32 kB │ gzip: 1.19 kB
525
525
  dist/components/TableV4/components/ExtendedColumnItem/ExtendedColumnItem.js  2.36 kB │ gzip: 0.87 kB
526
526
  dist/icons/AnalyticsIcon.js  2.36 kB │ gzip: 0.97 kB
527
+ dist/components/Table/components/TPagination/TPagination.js  2.41 kB │ gzip: 0.78 kB
527
528
  dist/icons/WorkIcon.js  2.42 kB │ gzip: 1.09 kB
528
529
  dist/icons/SortAscendingIcon.js  2.42 kB │ gzip: 1.14 kB
529
530
  dist/icons/AudioOffIcon.js  2.42 kB │ gzip: 1.17 kB
@@ -541,7 +542,6 @@ computing gzip size...
541
542
  dist/icons/UpdateIcon.js  2.60 kB │ gzip: 1.28 kB
542
543
  dist/components/Icon/assets/dataAndFinance/earnings.svg.js  2.60 kB │ gzip: 1.25 kB
543
544
  dist/icons/RestoreIcon.js  2.60 kB │ gzip: 1.29 kB
544
- dist/components/Table/components/TPagination/TPagination.js  2.61 kB │ gzip: 0.82 kB
545
545
  dist/icons/InvoiceIcon.js  2.61 kB │ gzip: 1.19 kB
546
546
  dist/icons/RefreshIcon.js  2.61 kB │ gzip: 1.31 kB
547
547
  dist/components/Select/components/SelectMenu/SelectMenu.js  2.61 kB │ gzip: 1.08 kB
@@ -603,13 +603,13 @@ computing gzip size...
603
603
  dist/components/Select/Select.js  6.48 kB │ gzip: 2.42 kB
604
604
  dist/components/Icon/assets/iconSelector.js  9.28 kB │ gzip: 2.18 kB
605
605
  dist/icon/Icon.js  11.30 kB │ gzip: 2.63 kB
606
- dist/index.js  13.17 kB │ gzip: 3.18 kB
606
+ dist/index.js  13.19 kB │ gzip: 3.19 kB
607
607
  dist/sprinkles/properties.css.js 115.20 kB │ gzip: 14.54 kB
608
- [vite:dts] Declaration files built in 10065ms.
608
+ [vite:dts] Declaration files built in 10807ms.
609
609
 
610
- ✓ built in 14.38s
610
+ ✓ built in 15.36s
611
611
 
612
- > @orfium/ictinus@5.43.3 build:codemods /home/runner/work/orfium-ictinus/orfium-ictinus/packages/ictinus
612
+ > @orfium/ictinus@5.43.4 build:codemods /home/runner/work/orfium-ictinus/orfium-ictinus/packages/ictinus
613
613
  > vite build --config vite.codemods.config.ts
614
614
 
615
615
  vite v7.3.1 building client environment for production...
@@ -642,16 +642,16 @@ computing gzip size...
642
642
  dist/codemods/drawerCodemod.cjs 1.07 kB │ gzip: 0.42 kB
643
643
  dist/codemods/unchangedIconsCodemod.cjs 1.12 kB │ gzip: 0.56 kB
644
644
  dist/codemods/globalsCodemod.cjs 6.99 kB │ gzip: 1.11 kB
645
- [vite:dts] Declaration files built in 778ms.
645
+ [vite:dts] Declaration files built in 848ms.
646
646
 
647
- ✓ built in 953ms
647
+ ✓ built in 1.01s
648
648
 
649
- > @orfium/ictinus@5.43.3 build:vanilla /home/runner/work/orfium-ictinus/orfium-ictinus/packages/ictinus
649
+ > @orfium/ictinus@5.43.4 build:vanilla /home/runner/work/orfium-ictinus/orfium-ictinus/packages/ictinus
650
650
  > rm -rf dist/vanilla && NODE_ENV=production rollup -c
651
651
 
652
652
  
653
653
  ./src/vanilla/index.ts → dist/vanilla...
654
- created dist/vanilla in 1.9s
654
+ created dist/vanilla in 2s
655
655
  
656
656
  ./src/vanilla/index.ts → dist/vanilla...
657
657
  (!) Unresolved dependencies
package/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # @orfium/ictinus
2
2
 
3
+ ## 5.43.4
4
+
5
+ ### Patch Changes
6
+
7
+ - 6faf00e: icon button color
8
+
3
9
  ## 5.43.3
4
10
 
5
11
  ### Patch Changes
@@ -1,19 +1,18 @@
1
- import { jsx as r } from "@emotion/react/jsx-runtime";
2
- import c from "react";
3
- import s from "../ButtonBase/ButtonBase.js";
4
- import { BUTTON_ICON_COLOR as f } from "../ButtonBase/constants.js";
5
- import { Icon as d } from "../../icon/Icon.js";
6
- const p = c.forwardRef((o, e) => {
7
- const {
8
- iconName: a,
9
- size: m = "normal",
10
- type: i = "primary",
11
- shape: n = "circle",
12
- dataTestPrefixId: t
13
- } = o;
14
- return /* @__PURE__ */ r(s, { ...o, ref: e, isIconButton: !0, shape: n, dataTestPrefixId: t ? `${t}-icon-` : "icon-", children: /* @__PURE__ */ r(d, { size: m === "compact" ? "sm" : "md", name: a, color: f[i] }) });
15
- });
16
- p.displayName = "IconButton";
1
+ import { jsx as m } from "@emotion/react/jsx-runtime";
2
+ import f from "react";
3
+ import p from "../ButtonBase/ButtonBase.js";
4
+ import { BUTTON_ICON_COLOR as l } from "../ButtonBase/constants.js";
5
+ import { Icon as s } from "../../icon/Icon.js";
6
+ const u = f.forwardRef(({
7
+ size: o = "normal",
8
+ type: r = "primary",
9
+ shape: c = "circle",
10
+ iconName: n,
11
+ iconColor: a,
12
+ dataTestPrefixId: t,
13
+ ...i
14
+ }, e) => /* @__PURE__ */ m(p, { ...i, ref: e, isIconButton: !0, shape: c, size: o, type: r, dataTestPrefixId: t ? `${t}-icon-` : "icon-", children: /* @__PURE__ */ m(s, { size: o === "compact" ? "sm" : "md", name: n, color: a ?? l[r] }) }));
15
+ u.displayName = "IconButton";
17
16
  export {
18
- p as default
17
+ u as default
19
18
  };
@@ -1,44 +1,44 @@
1
- import { jsx as r, jsxs as f } from "@emotion/react/jsx-runtime";
2
- import { vars as u } from "@orfium/tokens";
3
- import p from "../../hooks/useEscape.js";
4
- import { useOverlayStack as v } from "../../hooks/useOverlayStack.js";
5
- import { rem as i } from "polished";
6
- import { generateTestDataId as y } from "../../utils/helpers.js";
1
+ import { jsx as o, jsxs as f } from "@emotion/react/jsx-runtime";
2
+ import u from "../../hooks/useEscape.js";
3
+ import { useOverlayStack as p } from "../../hooks/useOverlayStack.js";
4
+ import { rem as a } from "polished";
5
+ import "@orfium/tokens";
6
+ import { generateTestDataId as v } from "../../utils/helpers.js";
7
7
  import "@emotion/react";
8
- import { useRef as h, useEffect as b } from "react";
9
- import { backgroundContainer as x, cardSizing as C, closeContainer as g, modalContainer as k } from "./Modal.style.js";
10
- import I from "./ModalContent/ModalContent.js";
11
- import M from "../Card/Card.js";
12
- import j from "../IconButton/IconButton.js";
13
- const A = ({
14
- isOpen: o = !1,
8
+ import { useRef as y, useEffect as h } from "react";
9
+ import { backgroundContainer as C, cardSizing as b, closeContainer as g, modalContainer as k } from "./Modal.style.js";
10
+ import x from "./ModalContent/ModalContent.js";
11
+ import I from "../Card/Card.js";
12
+ import M from "../IconButton/IconButton.js";
13
+ const q = ({
14
+ isOpen: r = !1,
15
15
  onClose: e,
16
16
  dataTestId: d,
17
17
  children: l,
18
18
  contentProps: t,
19
19
  isContentPadded: s = !0,
20
- maxWidth: m = `${i(500)}`,
21
- maxHeight: c = `${i(684)}`
20
+ maxWidth: m = `${a(500)}`,
21
+ maxHeight: n = `${a(684)}`
22
22
  }) => {
23
- const a = h(null), {
24
- overlayProps: n
25
- } = v({
26
- isVisible: o,
23
+ const i = y(null), {
24
+ overlayProps: c
25
+ } = p({
26
+ isVisible: r,
27
27
  isNonModal: !1,
28
- overlayRef: a,
28
+ overlayRef: i,
29
29
  onClose: e
30
30
  });
31
- return p(() => {
31
+ return u(() => {
32
32
  e();
33
- }), b(() => (o && (document.body.style.overflow = "hidden"), () => {
33
+ }), h(() => (r && (document.body.style.overflow = "hidden"), () => {
34
34
  document.body.style.overflow = "";
35
- }), [o]), o ? /* @__PURE__ */ r("div", { css: x, "data-testid": y("modal-container", d), children: /* @__PURE__ */ r("div", { ...n, ref: a, css: C(m, c), children: /* @__PURE__ */ f(M, { elevated: "02", radius: "3", children: [
36
- /* @__PURE__ */ r("div", { css: g, children: /* @__PURE__ */ r(j, { type: "tertiary", iconName: "close", onClick: e, color: u.color.text.default.secondary, dataTestId: "modal-close" }) }),
37
- /* @__PURE__ */ r("div", { css: k({
35
+ }), [r]), r ? /* @__PURE__ */ o("div", { css: C, "data-testid": v("modal-container", d), children: /* @__PURE__ */ o("div", { ...c, ref: i, css: b(m, n), children: /* @__PURE__ */ f(I, { elevated: "02", radius: "3", children: [
36
+ /* @__PURE__ */ o("div", { css: g, children: /* @__PURE__ */ o(M, { type: "tertiary", iconName: "close", onClick: e, iconColor: "secondary", dataTestId: "modal-close" }) }),
37
+ /* @__PURE__ */ o("div", { css: k({
38
38
  isContentPadded: s
39
- }), children: t ? /* @__PURE__ */ r(I, { ...t }) : l })
39
+ }), children: t ? /* @__PURE__ */ o(x, { ...t }) : l })
40
40
  ] }) }) }) : null;
41
41
  };
42
42
  export {
43
- A as default
43
+ q as default
44
44
  };
@@ -1,45 +1,44 @@
1
- import { jsxs as r, jsx as e } from "@emotion/react/jsx-runtime";
2
- import { vars as n } from "@orfium/tokens";
3
- import { paginationContainer as y, itemsPerPageContainer as v, counterContainer as f, counterWrapper as u, buttonsContainer as C } from "./TPagination.style.js";
1
+ import { jsxs as n, jsx as e } from "@emotion/react/jsx-runtime";
2
+ import { paginationContainer as h, itemsPerPageContainer as y, counterContainer as v, counterWrapper as C, buttonsContainer as f } from "./TPagination.style.js";
4
3
  import $ from "../../../Select/Select.js";
5
4
  import s from "../../../Typography/Typography.js";
6
- import c from "../../../IconButton/IconButton.js";
7
- const w = ({
8
- pagination: m,
9
- isSticky: b,
5
+ import r from "../../../IconButton/IconButton.js";
6
+ const k = ({
7
+ pagination: g,
8
+ isSticky: m,
10
9
  dataTestPrefixId: t
11
10
  }) => {
12
11
  const {
13
12
  page: a,
14
- totalPages: o,
15
- onChange: i,
16
- showItems: l,
17
- showItemsOptions: p,
18
- onShowItemsChange: h,
19
- isEnhancedPaginationVisible: d,
13
+ totalPages: i,
14
+ onChange: o,
15
+ showItems: c,
16
+ showItemsOptions: l,
17
+ onShowItemsChange: b,
18
+ isEnhancedPaginationVisible: p,
20
19
  isNextPageDisabled: _,
21
- isPrevPageDisabled: g
22
- } = m;
23
- return /* @__PURE__ */ r("div", { css: y({
24
- isSticky: b
20
+ isPrevPageDisabled: d
21
+ } = g;
22
+ return /* @__PURE__ */ n("div", { css: h({
23
+ isSticky: m
25
24
  }), children: [
26
- /* @__PURE__ */ e("div", { css: v(), children: l && p && /* @__PURE__ */ e($, { label: "", size: "compact", options: p, selectedOption: l, isSearchable: !1, onChange: h, dataTestId: `${t}_table_show_items` }) }),
27
- /* @__PURE__ */ r("div", { css: f(), children: [
28
- /* @__PURE__ */ r("div", { css: u(), "data-testid": `${t}_table_pages_info`, children: [
25
+ /* @__PURE__ */ e("div", { css: y(), children: c && l && /* @__PURE__ */ e($, { label: "", size: "compact", options: l, selectedOption: c, isSearchable: !1, onChange: b, dataTestId: `${t}_table_show_items` }) }),
26
+ /* @__PURE__ */ n("div", { css: v(), children: [
27
+ /* @__PURE__ */ n("div", { css: C(), "data-testid": `${t}_table_pages_info`, children: [
29
28
  /* @__PURE__ */ e(s, { type: "secondary", variant: "body03", children: "page" }),
30
29
  /* @__PURE__ */ e(s, { variant: "label03", "data-testid": `${t}_table_current_page`, children: a }),
31
30
  /* @__PURE__ */ e(s, { type: "secondary", variant: "body03", children: "of" }),
32
- /* @__PURE__ */ e(s, { variant: "label03", "data-testid": `${t}_table_total_pages`, children: o })
31
+ /* @__PURE__ */ e(s, { variant: "label03", "data-testid": `${t}_table_total_pages`, children: i })
33
32
  ] }),
34
- /* @__PURE__ */ r("div", { css: C(), children: [
35
- d && /* @__PURE__ */ e(c, { color: n.color.text.default.secondary, iconName: "pageFirst", size: "compact", type: "tertiary", onClick: () => i(1), isDisabled: a === 1 || g, dataTestPrefixId: `${t}_table_go_to_first_page` }),
36
- /* @__PURE__ */ e(c, { color: n.color.text.default.secondary, iconName: "chevronLeft", size: "compact", type: "tertiary", onClick: () => i(a - 1), isDisabled: a === 1 || g, dataTestPrefixId: `${t}_table_go_to_prev_page` }),
37
- /* @__PURE__ */ e(c, { color: n.color.text.default.secondary, iconName: "chevronRight", size: "compact", type: "tertiary", onClick: () => i(a + 1), isDisabled: a === o || _, dataTestPrefixId: `${t}_table_go_to_next_page` }),
38
- d && /* @__PURE__ */ e(c, { color: n.color.text.default.secondary, iconName: "pageLast", size: "compact", type: "tertiary", onClick: () => i(o), isDisabled: a === o || _, dataTestPrefixId: `${t}_table_go_to_last_page` })
33
+ /* @__PURE__ */ n("div", { css: f(), children: [
34
+ p && /* @__PURE__ */ e(r, { iconName: "pageFirst", size: "compact", type: "tertiary", onClick: () => o(1), isDisabled: a === 1 || d, dataTestPrefixId: `${t}_table_go_to_first_page` }),
35
+ /* @__PURE__ */ e(r, { iconName: "chevronLeft", size: "compact", type: "tertiary", onClick: () => o(a - 1), isDisabled: a === 1 || d, dataTestPrefixId: `${t}_table_go_to_prev_page` }),
36
+ /* @__PURE__ */ e(r, { iconName: "chevronRight", size: "compact", type: "tertiary", onClick: () => o(a + 1), isDisabled: a === i || _, dataTestPrefixId: `${t}_table_go_to_next_page` }),
37
+ p && /* @__PURE__ */ e(r, { iconName: "pageLast", size: "compact", type: "tertiary", onClick: () => o(i), isDisabled: a === i || _, dataTestPrefixId: `${t}_table_go_to_last_page` })
39
38
  ] })
40
39
  ] })
41
40
  ] });
42
41
  };
43
42
  export {
44
- w as default
43
+ k as default
45
44
  };
package/dist/index.js CHANGED
@@ -1,288 +1,289 @@
1
1
  import { rem as s } from "polished";
2
2
  import { queriesKeys as p, queriesSizes as m, useBreakpoints as u } from "./hooks/useBreakpoints.js";
3
3
  import * as e from "@orfium/tokens";
4
- import { backgroundPickerBasedOnType as d, calculateActualColorFromComponentProp as i, colorPickerBasedOnType as n, convertRemToPixels as T, dimensionVariables as c, fillPickerBasedOnType as C, getColorFromType as y, globalColors as S, parseCompositionToken as g, semanticVariablesBoxShadow as b, semanticVariablesColors as h, semanticVariablesTypography as B } from "@orfium/tokens";
4
+ import { backgroundPickerBasedOnType as d, calculateActualColorFromComponentProp as i, colorPickerBasedOnType as n, convertRemToPixels as T, dimensionVariables as c, fillPickerBasedOnType as C, getColorFromType as y, globalColors as S, parseCompositionToken as g, semanticVariablesBoxShadow as b, semanticVariablesColors as h, semanticVariablesTypography as B, vars as I } from "@orfium/tokens";
5
5
  import { default as E } from "./components/utils/ClickAwayListener/ClickAwayListener.js";
6
6
  import * as o from "./theme/overrides.js";
7
7
  import { useCheck as P } from "./hooks/useCheck.js";
8
- import { default as v } from "./hooks/useCombinedRefs.js";
9
- import { default as F } from "./hooks/useElementSize.js";
10
- import { default as w } from "./hooks/useEscape.js";
11
- import { default as N } from "./hooks/useEventListener.js";
12
- import { default as M } from "./hooks/useFieldUtils.js";
13
- import { default as _ } from "./hooks/useIsoMorphicLayoutEffect.js";
14
- import { KEYBOARD_EVENT_KEYS as U, default as K } from "./hooks/useKeyboardEvents.js";
15
- import { useLoading as z } from "./hooks/useLoading.js";
16
- import { useOverlayStack as Y } from "./hooks/useOverlayStack.js";
17
- import { default as W } from "./hooks/usePagination.js";
18
- import { default as J } from "./hooks/useTheme.js";
19
- import { ThemeSwitchProvider as Z, useThemeSwitch as $ } from "./hooks/useThemeSwitch.js";
20
- import { default as oe } from "./hooks/useToggle.js";
21
- import { TypeColorToColorMatchProvider as re, useTypeColorToColorMatch as ae } from "./hooks/useTypeColorToColorMatch.js";
22
- import { default as se } from "./utils/date.js";
23
- import { PropsValidationError as pe, ValidationError as me } from "./utils/errors.js";
24
- import { errorHandler as xe, generateTestDataId as de, generateUniqueID as ie, generateUniqueKey as ne, getLocaleFormat as Te, isComponentFunctionType as ce } from "./utils/helpers.js";
25
- import { centerAbsoluteVertical as ye, flex as Se, flexCenter as ge, flexCenterVertical as be, grid as he, lineEllipsis as Be, plainTextButton as Ie, transition as Ee, well as Le } from "./theme/functions.js";
8
+ import { default as D } from "./hooks/useCombinedRefs.js";
9
+ import { default as V } from "./hooks/useElementSize.js";
10
+ import { default as A } from "./hooks/useEscape.js";
11
+ import { default as R } from "./hooks/useEventListener.js";
12
+ import { default as O } from "./hooks/useFieldUtils.js";
13
+ import { default as H } from "./hooks/useIsoMorphicLayoutEffect.js";
14
+ import { KEYBOARD_EVENT_KEYS as K, default as q } from "./hooks/useKeyboardEvents.js";
15
+ import { useLoading as G } from "./hooks/useLoading.js";
16
+ import { useOverlayStack as j } from "./hooks/useOverlayStack.js";
17
+ import { default as X } from "./hooks/usePagination.js";
18
+ import { default as Q } from "./hooks/useTheme.js";
19
+ import { ThemeSwitchProvider as $, useThemeSwitch as ee } from "./hooks/useThemeSwitch.js";
20
+ import { default as te } from "./hooks/useToggle.js";
21
+ import { TypeColorToColorMatchProvider as ae, useTypeColorToColorMatch as fe } from "./hooks/useTypeColorToColorMatch.js";
22
+ import { default as le } from "./utils/date.js";
23
+ import { PropsValidationError as me, ValidationError as ue } from "./utils/errors.js";
24
+ import { errorHandler as de, generateTestDataId as ie, generateUniqueID as ne, generateUniqueKey as Te, getLocaleFormat as ce, isComponentFunctionType as Ce } from "./utils/helpers.js";
25
+ import { centerAbsoluteVertical as Se, flex as ge, flexCenter as be, flexCenterVertical as he, grid as Be, lineEllipsis as Ie, plainTextButton as ve, transition as Ee, well as Le } from "./theme/functions.js";
26
26
  import { default as ke } from "./theme/index.js";
27
- import { default as De } from "./components/Avatar/Avatar.js";
28
- import { default as Ve } from "./components/Avatar/AvatarStack/AvatarStack.js";
29
- import { default as Ae } from "./components/Box/Box.js";
30
- import { default as Re } from "./components/Breadcrumb/Breadcrumb.js";
31
- import { default as Oe } from "./components/Button/Button.js";
32
- import { default as He } from "./components/ButtonBase/ButtonBase.js";
33
- import { default as Ke } from "./components/Card/Card.js";
34
- import { default as ze } from "./components/DropdownButton/DropdownButton.js";
35
- import { default as Ye } from "./components/Chart/BarChart/BarChart.js";
36
- import { default as We } from "./components/Chart/DonutChart/DonutChart.js";
37
- import { default as Je } from "./components/Chart/LineChart/LineChart.js";
38
- import { default as Ze } from "./components/Controls/CheckBox/CheckBox.js";
39
- import { default as eo } from "./components/ExpandCollapse/ExpandCollapse.js";
40
- import { default as to } from "./components/Icon/Icon.js";
41
- import { default as ao } from "./components/IconButton/IconButton.js";
42
- import { default as so } from "./components/Label/Label.js";
43
- import { default as po } from "./components/Link/Link.js";
44
- import { default as uo } from "./components/List/List.js";
45
- import { default as io } from "./components/Menu/Menu.js";
46
- import { default as To } from "./components/Modal/Modal.js";
47
- import { default as Co } from "./components/Modal/ModalContent/ModalContent.js";
48
- import { default as So } from "./components/MultiTextFieldBase/MultiTextFieldBase.js";
49
- import { default as bo } from "./components/Notification/Banner/Banner.js";
50
- import { default as Bo } from "./components/Notification/InlineNotification/InlineNotification.js";
27
+ import { default as Fe } from "./components/Avatar/Avatar.js";
28
+ import { default as we } from "./components/Avatar/AvatarStack/AvatarStack.js";
29
+ import { default as Ne } from "./components/Box/Box.js";
30
+ import { default as Me } from "./components/Breadcrumb/Breadcrumb.js";
31
+ import { default as _e } from "./components/Button/Button.js";
32
+ import { default as Ue } from "./components/ButtonBase/ButtonBase.js";
33
+ import { default as qe } from "./components/Card/Card.js";
34
+ import { default as Ge } from "./components/DropdownButton/DropdownButton.js";
35
+ import { default as je } from "./components/Chart/BarChart/BarChart.js";
36
+ import { default as Xe } from "./components/Chart/DonutChart/DonutChart.js";
37
+ import { default as Qe } from "./components/Chart/LineChart/LineChart.js";
38
+ import { default as $e } from "./components/Controls/CheckBox/CheckBox.js";
39
+ import { default as oo } from "./components/ExpandCollapse/ExpandCollapse.js";
40
+ import { default as ro } from "./components/Icon/Icon.js";
41
+ import { default as fo } from "./components/IconButton/IconButton.js";
42
+ import { default as lo } from "./components/Label/Label.js";
43
+ import { default as mo } from "./components/Link/Link.js";
44
+ import { default as xo } from "./components/List/List.js";
45
+ import { default as no } from "./components/Menu/Menu.js";
46
+ import { default as co } from "./components/Modal/Modal.js";
47
+ import { default as yo } from "./components/Modal/ModalContent/ModalContent.js";
48
+ import { default as go } from "./components/MultiTextFieldBase/MultiTextFieldBase.js";
49
+ import { default as ho } from "./components/Notification/Banner/Banner.js";
50
+ import { default as Io } from "./components/Notification/InlineNotification/InlineNotification.js";
51
51
  import { default as Eo } from "./components/Notification/NotificationsContainer/NotificationsContainer.js";
52
52
  import { default as Po } from "./components/Notification/NotificationVisual/NotificationVisual.js";
53
- import { default as vo } from "./components/Notification/Snackbar/Snackbar.js";
54
- import { default as Fo } from "./components/Controls/Radio/Radio.js";
55
- import { default as wo } from "./components/Controls/Radio/components/RadioGroup/RadioGroup.js";
56
- import { default as No } from "./components/Controls/Switch/Switch.js";
57
- import { default as Mo } from "./components/Drawer/Drawer.js";
58
- import { default as _o } from "./components/Filter/Filter.js";
59
- import { default as Uo } from "./components/NumberField/NumberField.js";
60
- import { default as qo } from "./components/Pagination/Pagination.js";
61
- import { default as Go } from "./components/ProgressIndicator/ProgressIndicator.js";
62
- import { MAX as jo, MIN as Wo, STEP_WITH_INCREMENTS as Xo, default as Jo } from "./components/Slider/Slider.js";
63
- import { default as Zo } from "./components/Tabs/Tabs.js";
64
- import { default as et } from "./components/TabStepper/TabStepper.js";
65
- import { default as tt } from "./components/Tag/Tag.js";
66
- import { default as at } from "./components/ThemeProvider/ThemeProvider.js";
67
- import { default as st, isNotificationTypes as lt } from "./components/ToastV4/ToastV4.js";
68
- import { default as mt } from "./components/Tooltip/Tooltip.js";
69
- import { default as xt } from "./components/TopAppBar/TopAppBar.js";
70
- import { default as it } from "./components/TruncatedContent/TruncatedContent.js";
71
- import { default as Tt, detectComponentBasedOnType as ct } from "./components/Typography/Typography.js";
72
- import { default as yt } from "./components/Icon/assets/iconSelector.js";
73
- import { default as gt } from "./components/List/components/ListItemText/ListItemText.js";
74
- import { default as ht } from "./components/List/components/ListItemAction/ListItemAction.js";
75
- import { default as It } from "./components/List/ListItem.js";
53
+ import { default as Do } from "./components/Notification/Snackbar/Snackbar.js";
54
+ import { default as Vo } from "./components/Controls/Radio/Radio.js";
55
+ import { default as Ao } from "./components/Controls/Radio/components/RadioGroup/RadioGroup.js";
56
+ import { default as Ro } from "./components/Controls/Switch/Switch.js";
57
+ import { default as Oo } from "./components/Drawer/Drawer.js";
58
+ import { default as Ho } from "./components/Filter/Filter.js";
59
+ import { default as Ko } from "./components/NumberField/NumberField.js";
60
+ import { default as zo } from "./components/Pagination/Pagination.js";
61
+ import { default as Yo } from "./components/ProgressIndicator/ProgressIndicator.js";
62
+ import { MAX as Wo, MIN as Xo, STEP_WITH_INCREMENTS as Jo, default as Qo } from "./components/Slider/Slider.js";
63
+ import { default as $o } from "./components/Tabs/Tabs.js";
64
+ import { default as ot } from "./components/TabStepper/TabStepper.js";
65
+ import { default as rt } from "./components/Tag/Tag.js";
66
+ import { default as ft } from "./components/ThemeProvider/ThemeProvider.js";
67
+ import { default as lt, isNotificationTypes as pt } from "./components/ToastV4/ToastV4.js";
68
+ import { default as ut } from "./components/Tooltip/Tooltip.js";
69
+ import { default as dt } from "./components/TopAppBar/TopAppBar.js";
70
+ import { default as nt } from "./components/TruncatedContent/TruncatedContent.js";
71
+ import { default as ct, detectComponentBasedOnType as Ct } from "./components/Typography/Typography.js";
72
+ import { default as St } from "./components/Icon/assets/iconSelector.js";
73
+ import { default as bt } from "./components/List/components/ListItemText/ListItemText.js";
74
+ import { default as Bt } from "./components/List/components/ListItemAction/ListItemAction.js";
75
+ import { default as vt } from "./components/List/ListItem.js";
76
76
  import { default as Lt } from "./components/List/ListSection.js";
77
77
  import { default as kt } from "./components/Menu/MenuItemDivider.js";
78
- import { default as Dt } from "./components/Drawer/components/DrawerHeader/DrawerHeader.js";
79
- import { default as Vt } from "./components/Drawer/components/DrawerContent/DrawerContent.js";
80
- import { default as At } from "./components/Drawer/components/DrawerFooter/DrawerFooter.js";
81
- import { default as Rt } from "./components/Table/components/TBody/TBody.js";
82
- import { default as Ot } from "./components/Table/components/THead/THead.js";
83
- import { default as Ht } from "./components/Table/components/TH/TH.js";
84
- import { default as Kt } from "./components/Table/components/TR/TR.js";
85
- import { default as zt } from "./components/Table/components/TD/TD.js";
86
- import { default as Yt } from "./components/Table/components/TPagination/TPagination.js";
87
- import { default as Wt } from "./components/Table/hooks/useTable.js";
88
- import { default as Jt } from "./components/Tabs/components/Tab/Tab.js";
89
- import { default as Zt } from "./components/Tabs/components/TabList/TabList.js";
90
- import { default as er } from "./components/Tabs/components/TabsContainer/TabsContainer.js";
91
- import { default as tr } from "./components/Tabs/components/TabPanel/TabPanel.js";
92
- import { default as ar } from "./components/TabStepper/components/TabStep/TabStep.js";
93
- import { default as sr } from "./components/TabStepper/components/TabStepList/TabStepList.js";
94
- import { default as pr } from "./components/DatePicker/DatePicker.js";
95
- import { Broadcast as ur } from "./components/Broadcast/Broadcast.js";
96
- import { InlineAlert as dr } from "./components/InlineAlert/InlineAlert.js";
97
- import { ToastContainer as nr, toast as Tr } from "./components/Toast/Toast.js";
98
- import { default as Cr } from "./components/Search/Search.js";
99
- import { default as Sr, emptyValue as gr } from "./components/Select/Select.js";
100
- import { default as hr } from "./components/Select/StatefulSelect.js";
101
- import { default as Ir } from "./components/Table/Table.js";
78
+ import { default as Ft } from "./components/Drawer/components/DrawerHeader/DrawerHeader.js";
79
+ import { default as wt } from "./components/Drawer/components/DrawerContent/DrawerContent.js";
80
+ import { default as Nt } from "./components/Drawer/components/DrawerFooter/DrawerFooter.js";
81
+ import { default as Mt } from "./components/Table/components/TBody/TBody.js";
82
+ import { default as _t } from "./components/Table/components/THead/THead.js";
83
+ import { default as Ut } from "./components/Table/components/TH/TH.js";
84
+ import { default as qt } from "./components/Table/components/TR/TR.js";
85
+ import { default as Gt } from "./components/Table/components/TD/TD.js";
86
+ import { default as jt } from "./components/Table/components/TPagination/TPagination.js";
87
+ import { default as Xt } from "./components/Table/hooks/useTable.js";
88
+ import { default as Qt } from "./components/Tabs/components/Tab/Tab.js";
89
+ import { default as $t } from "./components/Tabs/components/TabList/TabList.js";
90
+ import { default as or } from "./components/Tabs/components/TabsContainer/TabsContainer.js";
91
+ import { default as rr } from "./components/Tabs/components/TabPanel/TabPanel.js";
92
+ import { default as fr } from "./components/TabStepper/components/TabStep/TabStep.js";
93
+ import { default as lr } from "./components/TabStepper/components/TabStepList/TabStepList.js";
94
+ import { default as mr } from "./components/DatePicker/DatePicker.js";
95
+ import { Broadcast as xr } from "./components/Broadcast/Broadcast.js";
96
+ import { InlineAlert as ir } from "./components/InlineAlert/InlineAlert.js";
97
+ import { ToastContainer as Tr, toast as cr } from "./components/Toast/Toast.js";
98
+ import { default as yr } from "./components/Search/Search.js";
99
+ import { default as gr, emptyValue as br } from "./components/Select/Select.js";
100
+ import { default as Br } from "./components/Select/StatefulSelect.js";
101
+ import { default as vr } from "./components/Table/Table.js";
102
102
  import { default as Lr } from "./components/TableV4/TableV4.js";
103
103
  import { default as kr } from "./components/TextArea/TextArea.js";
104
- import { default as Dr } from "./components/TextField/TextField.js";
105
- import { default as Vr } from "./components/TextInputBase/TextInputBase.js";
106
- import { version as Ar } from "./package.json.js";
107
- import { CALENDAR_DEFAULT_OPTIONS as Rr } from "./components/DatePicker/constants.js";
108
- import { iconsSet as Or } from "./components/Icon/constants.js";
109
- import { RadioContext as Hr, useRadioGroupContent as Ur } from "./components/Controls/Radio/components/RadioGroup/RadioGroupContext.js";
110
- import { DrawerContext as qr, DrawerContextProvider as zr, setHasFixedLayout as Gr, setOnClose as Yr, toggleIsScrollbarOnBottom as jr, toggleIsScrollbarOnTop as Wr, useDrawerContext as Xr } from "./components/Drawer/DrawerContext.js";
111
- import { default as Qr } from "./components/Filter/StatefulFilter.js";
112
- import { default as $r } from "./components/Search/StatefulSearch.js";
113
- import { functionalUpdate as oa } from "@tanstack/react-table";
114
- import { default as ra } from "./components/Table/components/TTitle/TTitle.js";
104
+ import { default as Fr } from "./components/TextField/TextField.js";
105
+ import { default as wr } from "./components/TextInputBase/TextInputBase.js";
106
+ import { version as Nr } from "./package.json.js";
107
+ import { CALENDAR_DEFAULT_OPTIONS as Mr } from "./components/DatePicker/constants.js";
108
+ import { iconsSet as _r } from "./components/Icon/constants.js";
109
+ import { RadioContext as Ur, useRadioGroupContent as Kr } from "./components/Controls/Radio/components/RadioGroup/RadioGroupContext.js";
110
+ import { DrawerContext as zr, DrawerContextProvider as Gr, setHasFixedLayout as Yr, setOnClose as jr, toggleIsScrollbarOnBottom as Wr, toggleIsScrollbarOnTop as Xr, useDrawerContext as Jr } from "./components/Drawer/DrawerContext.js";
111
+ import { default as Zr } from "./components/Filter/StatefulFilter.js";
112
+ import { default as ea } from "./components/Search/StatefulSearch.js";
113
+ import { functionalUpdate as ta } from "@tanstack/react-table";
114
+ import { default as aa } from "./components/Table/components/TTitle/TTitle.js";
115
115
  import * as t from "./components/Typography/Typography.config.styles.js";
116
- import { generateStylesFromTokens as fa } from "./components/Typography/utils.js";
116
+ import { generateStylesFromTokens as sa } from "./components/Typography/utils.js";
117
117
  import * as r from "./layers/layers.css.js";
118
- import { mapResponsiveValue as la, normalizeResponsiveValue as pa, sprinkles as ma } from "./sprinkles/sprinkles.js";
118
+ import { mapResponsiveValue as pa, normalizeResponsiveValue as ma, sprinkles as ua } from "./sprinkles/sprinkles.js";
119
119
  export {
120
- De as Avatar,
121
- Ve as AvatarStack,
122
- bo as Banner,
123
- Ye as BarChart,
124
- Ae as Box,
125
- Re as Breadcrumb,
126
- ur as Broadcast,
127
- Oe as Button,
128
- He as ButtonBase,
129
- Rr as CALENDAR_DEFAULT_OPTIONS,
130
- Ke as Card,
131
- Ze as CheckBox,
120
+ Fe as Avatar,
121
+ we as AvatarStack,
122
+ ho as Banner,
123
+ je as BarChart,
124
+ Ne as Box,
125
+ Me as Breadcrumb,
126
+ xr as Broadcast,
127
+ _e as Button,
128
+ Ue as ButtonBase,
129
+ Mr as CALENDAR_DEFAULT_OPTIONS,
130
+ qe as Card,
131
+ $e as CheckBox,
132
132
  E as ClickAwayListener,
133
- pr as DatePicker,
134
- We as DonutChart,
135
- Mo as Drawer,
136
- Vt as DrawerContent,
137
- qr as DrawerContext,
138
- zr as DrawerContextProvider,
139
- At as DrawerFooter,
140
- Dt as DrawerHeader,
141
- ze as DropdownButton,
142
- eo as ExpandCollapse,
143
- _o as Filter,
144
- to as Icon,
145
- ao as IconButton,
146
- dr as InlineAlert,
147
- Bo as InlineNotification,
148
- U as KEYBOARD_EVENT_KEYS,
149
- so as Label,
150
- Je as LineChart,
151
- po as Link,
152
- uo as List,
153
- It as ListItem,
154
- ht as ListItemAction,
155
- gt as ListItemText,
133
+ mr as DatePicker,
134
+ Xe as DonutChart,
135
+ Oo as Drawer,
136
+ wt as DrawerContent,
137
+ zr as DrawerContext,
138
+ Gr as DrawerContextProvider,
139
+ Nt as DrawerFooter,
140
+ Ft as DrawerHeader,
141
+ Ge as DropdownButton,
142
+ oo as ExpandCollapse,
143
+ Ho as Filter,
144
+ ro as Icon,
145
+ fo as IconButton,
146
+ ir as InlineAlert,
147
+ Io as InlineNotification,
148
+ K as KEYBOARD_EVENT_KEYS,
149
+ lo as Label,
150
+ Qe as LineChart,
151
+ mo as Link,
152
+ xo as List,
153
+ vt as ListItem,
154
+ Bt as ListItemAction,
155
+ bt as ListItemText,
156
156
  Lt as ListSection,
157
- jo as MAX,
158
- Wo as MIN,
159
- io as Menu,
157
+ Wo as MAX,
158
+ Xo as MIN,
159
+ no as Menu,
160
160
  kt as MenuItemDivider,
161
- To as Modal,
162
- Co as ModalContent,
163
- So as MultiTextFieldBase,
161
+ co as Modal,
162
+ yo as ModalContent,
163
+ go as MultiTextFieldBase,
164
164
  Po as NotificationVisual,
165
165
  Eo as NotificationsContainer,
166
- Uo as NumberField,
167
- qo as Pagination,
168
- Go as ProgressIndicator,
169
- pe as PropsValidationError,
170
- Fo as Radio,
171
- Hr as RadioContext,
172
- wo as RadioGroup,
173
- Xo as STEP_WITH_INCREMENTS,
174
- Cr as Search,
175
- Sr as Select,
176
- Jo as Slider,
177
- vo as Snackbar,
178
- Qr as StatefulFilter,
179
- $r as StatefulSearch,
180
- hr as StatefulSelect,
181
- No as Switch,
182
- Rt as TBody,
183
- zt as TD,
184
- Ht as TH,
185
- Ot as THead,
186
- Yt as TPagination,
187
- Kt as TR,
188
- ra as TTitle,
189
- Jt as Tab,
190
- Zt as TabList,
191
- tr as TabPanel,
192
- ar as TabStep,
193
- sr as TabStepList,
194
- et as TabStepper,
195
- Ir as Table,
166
+ Ko as NumberField,
167
+ zo as Pagination,
168
+ Yo as ProgressIndicator,
169
+ me as PropsValidationError,
170
+ Vo as Radio,
171
+ Ur as RadioContext,
172
+ Ao as RadioGroup,
173
+ Jo as STEP_WITH_INCREMENTS,
174
+ yr as Search,
175
+ gr as Select,
176
+ Qo as Slider,
177
+ Do as Snackbar,
178
+ Zr as StatefulFilter,
179
+ ea as StatefulSearch,
180
+ Br as StatefulSelect,
181
+ Ro as Switch,
182
+ Mt as TBody,
183
+ Gt as TD,
184
+ Ut as TH,
185
+ _t as THead,
186
+ jt as TPagination,
187
+ qt as TR,
188
+ aa as TTitle,
189
+ Qt as Tab,
190
+ $t as TabList,
191
+ rr as TabPanel,
192
+ fr as TabStep,
193
+ lr as TabStepList,
194
+ ot as TabStepper,
195
+ vr as Table,
196
196
  Lr as TableV4,
197
- Zo as Tabs,
198
- er as TabsContainer,
199
- tt as Tag,
197
+ $o as Tabs,
198
+ or as TabsContainer,
199
+ rt as Tag,
200
200
  kr as TextArea,
201
- Dr as TextField,
202
- Vr as TextInputBase,
203
- at as ThemeProvider,
204
- Z as ThemeSwitchProvider,
205
- nr as ToastContainer,
206
- st as ToastV4,
207
- mt as Tooltip,
208
- xt as TopNavBar,
209
- it as TruncatedContent,
210
- re as TypeColorToColorMatchProvider,
211
- Tt as Typography,
201
+ Fr as TextField,
202
+ wr as TextInputBase,
203
+ ft as ThemeProvider,
204
+ $ as ThemeSwitchProvider,
205
+ Tr as ToastContainer,
206
+ lt as ToastV4,
207
+ ut as Tooltip,
208
+ dt as TopNavBar,
209
+ nt as TruncatedContent,
210
+ ae as TypeColorToColorMatchProvider,
211
+ ct as Typography,
212
212
  t as TypographyConfigStyles,
213
- me as ValidationError,
213
+ ue as ValidationError,
214
214
  d as backgroundPickerBasedOnType,
215
215
  i as calculateActualColorFromComponentProp,
216
- ye as centerAbsoluteVertical,
216
+ Se as centerAbsoluteVertical,
217
217
  n as colorPickerBasedOnType,
218
218
  T as convertRemToPixels,
219
- se as dayjs,
220
- ct as detectComponentBasedOnType,
219
+ le as dayjs,
220
+ Ct as detectComponentBasedOnType,
221
221
  e as dimension,
222
222
  c as dimensionVariables,
223
223
  e as elevation,
224
- gr as emptyValue,
225
- xe as errorHandler,
224
+ br as emptyValue,
225
+ de as errorHandler,
226
226
  C as fillPickerBasedOnType,
227
- Se as flex,
228
- ge as flexCenter,
229
- be as flexCenterVertical,
230
- fa as generateStylesFromTokens,
231
- de as generateTestDataId,
232
- ie as generateUniqueID,
233
- ne as generateUniqueKey,
227
+ ge as flex,
228
+ be as flexCenter,
229
+ he as flexCenterVertical,
230
+ sa as generateStylesFromTokens,
231
+ ie as generateTestDataId,
232
+ ne as generateUniqueID,
233
+ Te as generateUniqueKey,
234
234
  y as getColorFromType,
235
- Te as getLocaleFormat,
235
+ ce as getLocaleFormat,
236
236
  S as globalColors,
237
- he as grid,
238
- yt as iconSelector,
239
- Or as iconsSet,
240
- ce as isComponentFunctionType,
241
- lt as isNotificationTypes,
237
+ Be as grid,
238
+ St as iconSelector,
239
+ _r as iconsSet,
240
+ Ce as isComponentFunctionType,
241
+ pt as isNotificationTypes,
242
242
  r as layers,
243
- Be as lineEllipsis,
244
- la as mapResponsiveValue,
245
- pa as normalizeResponsiveValue,
243
+ Ie as lineEllipsis,
244
+ pa as mapResponsiveValue,
245
+ ma as normalizeResponsiveValue,
246
246
  o as overrides,
247
247
  e as palette,
248
248
  g as parseCompositionToken,
249
- Ie as plainTextButton,
249
+ ve as plainTextButton,
250
250
  p as queriesKeys,
251
251
  m as queriesSizes,
252
252
  s as rem,
253
253
  b as semanticVariablesBoxShadow,
254
254
  h as semanticVariablesColors,
255
255
  B as semanticVariablesTypography,
256
- Gr as setHasFixedLayout,
257
- Yr as setOnClose,
256
+ Yr as setHasFixedLayout,
257
+ jr as setOnClose,
258
258
  e as spacing,
259
- ma as sprinkles,
260
- oa as tableFunctionalUpdate,
259
+ ua as sprinkles,
260
+ ta as tableFunctionalUpdate,
261
261
  ke as themeConfig,
262
- Tr as toast,
263
- jr as toggleIsScrollbarOnBottom,
264
- Wr as toggleIsScrollbarOnTop,
262
+ cr as toast,
263
+ Wr as toggleIsScrollbarOnBottom,
264
+ Xr as toggleIsScrollbarOnTop,
265
265
  Ee as transition,
266
266
  e as typography,
267
267
  u as useBreakpoints,
268
268
  P as useCheck,
269
- v as useCombinedRefs,
270
- Xr as useDrawerContext,
271
- F as useElementSize,
272
- w as useEscape,
273
- N as useEventListener,
274
- M as useFieldUtils,
275
- _ as useIsoMorphicLayoutEffect,
276
- K as useKeyboardEvents,
277
- z as useLoading,
278
- Y as useOverlayStack,
279
- W as usePagination,
280
- Ur as useRadioGroupContent,
281
- Wt as useTable,
282
- J as useTheme,
283
- $ as useThemeSwitch,
284
- oe as useToggle,
285
- ae as useTypeColorToColorMatch,
286
- Ar as version,
269
+ D as useCombinedRefs,
270
+ Jr as useDrawerContext,
271
+ V as useElementSize,
272
+ A as useEscape,
273
+ R as useEventListener,
274
+ O as useFieldUtils,
275
+ H as useIsoMorphicLayoutEffect,
276
+ q as useKeyboardEvents,
277
+ G as useLoading,
278
+ j as useOverlayStack,
279
+ X as usePagination,
280
+ Kr as useRadioGroupContent,
281
+ Xt as useTable,
282
+ Q as useTheme,
283
+ ee as useThemeSwitch,
284
+ te as useToggle,
285
+ fe as useTypeColorToColorMatch,
286
+ I as vars,
287
+ Nr as version,
287
288
  Le as well
288
289
  };
@@ -1,6 +1,6 @@
1
1
  declare const _default: {
2
2
  "name": "@orfium/ictinus",
3
- "version": "5.43.3",
3
+ "version": "5.43.4",
4
4
  "type": "module",
5
5
  "main": "./dist/index.umd.cjs",
6
6
  "module": "./dist/index.js",
@@ -1,4 +1,4 @@
1
- const o = "5.43.3";
1
+ const o = "5.43.4";
2
2
  export {
3
3
  o as version
4
4
  };
@@ -15,5 +15,10 @@ export type IconProps = {
15
15
  /** Whether the icon has a onHover style. Defaults to true if onClick is provided */
16
16
  hasHover?: boolean;
17
17
  } & DivProps & TestProps;
18
+ /**
19
+ *
20
+ * @deprecated {@link Icon} has been deprecated; use vanilla Icon instead.
21
+ *
22
+ */
18
23
  declare const Icon: React.ForwardRefExoticComponent<Omit<IconProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
19
24
  export default Icon;
@@ -2,21 +2,26 @@ import { default as React } from 'react';
2
2
  import { PrimitiveButtonTypes } from '../Button/Button.types';
3
3
  import { ButtonBaseProps } from '../ButtonBase/ButtonBase';
4
4
  import { IconProps } from '../../icon';
5
+ import { BoxProps } from '../../vanilla/Box';
5
6
  export type IconButtonShape = 'circle' | 'square';
6
7
  export type IconButtonProps = Omit<ButtonBaseProps, 'type' | 'isBlock' | 'isLoading' | 'isIconButton'> & {
7
8
  /** This property defines the type of the IconButton */
8
9
  type?: PrimitiveButtonTypes;
9
- /** This property defines witch icon to use */
10
- iconName: IconProps['name'];
11
10
  /** This property defines the shape of the IconButton */
12
11
  shape?: IconButtonShape;
12
+ /** This property defines witch icon to use */
13
+ iconName: IconProps['name'];
14
+ /** Custom icon color */
15
+ iconColor?: BoxProps['color'];
13
16
  };
14
17
  declare const IconButton: React.ForwardRefExoticComponent<Omit<ButtonBaseProps, "type" | "isLoading" | "isBlock" | "isIconButton"> & {
15
18
  /** This property defines the type of the IconButton */
16
19
  type?: PrimitiveButtonTypes;
17
- /** This property defines witch icon to use */
18
- iconName: IconProps["name"];
19
20
  /** This property defines the shape of the IconButton */
20
21
  shape?: IconButtonShape;
22
+ /** This property defines witch icon to use */
23
+ iconName: IconProps["name"];
24
+ /** Custom icon color */
25
+ iconColor?: BoxProps["color"];
21
26
  } & React.RefAttributes<HTMLButtonElement>>;
22
27
  export default IconButton;
@@ -28,5 +28,10 @@ export type MenuProps = {
28
28
  };
29
29
  };
30
30
  } & TestProps;
31
+ /**
32
+ *
33
+ * @deprecated {@link Menu} has been deprecated; use vanilla Menu instead.
34
+ *
35
+ */
31
36
  declare const Menu: React.FC<MenuProps>;
32
37
  export default Menu;
@@ -19,6 +19,7 @@ export type { BorderRadiusKey, BorderWidthKey, Colors, ColorsKey, FontFamilyKey,
19
19
  export { semanticVariablesBoxShadow, semanticVariablesColors, semanticVariablesTypography, } from '@orfium/tokens';
20
20
  export type { SemanticBoxShadow, SemanticBoxShadowKey, SemanticColors, SemanticColorsKey, SemanticDisabledState, SemanticState, SemanticTypography, SemanticTypographyKey, TypographyKeys, TypographyObject, } from '@orfium/tokens';
21
21
  export type { DotKeys, Token, TokensObject } from '@orfium/tokens';
22
+ export { vars } from '@orfium/tokens';
22
23
  export type { OnCheckHandler } from './hooks/useCheck';
23
24
  export type { ClickEvent, ClickHandler } from './hooks/useLoading';
24
25
  export type { ModalContentProps } from './components/Modal/ModalContent/ModalContent';
@@ -1,3 +1,3 @@
1
- var version = "5.43.3";
1
+ var version = "5.43.4";
2
2
 
3
3
  export { version };
@@ -4,27 +4,36 @@ import ButtonBase from '../ButtonBase/ButtonBase.js';
4
4
  import { BUTTON_ICON_COLOR } from '../ButtonBase/constants.js';
5
5
  import { Icon } from '../../icon/Icon.js';
6
6
 
7
- const IconButton = React__default.forwardRef((props, ref) => {
8
- const { iconName, size = "normal", type = "primary", shape = "circle", dataTestPrefixId } = props;
9
- return /* @__PURE__ */ jsx(
7
+ const IconButton = React__default.forwardRef(
8
+ ({
9
+ size = "normal",
10
+ type = "primary",
11
+ shape = "circle",
12
+ iconName,
13
+ iconColor,
14
+ dataTestPrefixId,
15
+ ...props
16
+ }, ref) => /* @__PURE__ */ jsx(
10
17
  ButtonBase,
11
18
  {
12
19
  ...props,
13
20
  ref,
14
21
  isIconButton: true,
15
22
  shape,
23
+ size,
24
+ type,
16
25
  dataTestPrefixId: dataTestPrefixId ? `${dataTestPrefixId}-icon-` : "icon-",
17
26
  children: /* @__PURE__ */ jsx(
18
27
  Icon,
19
28
  {
20
29
  size: size === "compact" ? "sm" : "md",
21
30
  name: iconName,
22
- color: BUTTON_ICON_COLOR[type]
31
+ color: iconColor ?? BUTTON_ICON_COLOR[type]
23
32
  }
24
33
  )
25
34
  }
26
- );
27
- });
35
+ )
36
+ );
28
37
  IconButton.displayName = "IconButton";
29
38
 
30
39
  export { IconButton as default };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@orfium/ictinus",
3
- "version": "5.43.3",
3
+ "version": "5.43.4",
4
4
  "type": "module",
5
5
  "main": "./dist/index.umd.cjs",
6
6
  "module": "./dist/index.js",
@@ -24,6 +24,11 @@ export type IconProps = {
24
24
  } & DivProps &
25
25
  TestProps;
26
26
 
27
+ /**
28
+ *
29
+ * @deprecated {@link Icon} has been deprecated; use vanilla Icon instead.
30
+ *
31
+ */
27
32
  const Icon = React.forwardRef<HTMLDivElement, IconProps>((props, ref) => {
28
33
  props = useSlotProps(props, 'icon');
29
34
  const {
@@ -5,6 +5,7 @@ import type { ButtonBaseProps } from 'components/ButtonBase/ButtonBase';
5
5
  import ButtonBase from 'components/ButtonBase/ButtonBase';
6
6
  import { BUTTON_ICON_COLOR } from 'components/ButtonBase/constants';
7
7
  import { Icon, type IconProps } from '../../icon';
8
+ import { type BoxProps } from '../../vanilla/Box';
8
9
 
9
10
  export type IconButtonShape = 'circle' | 'square';
10
11
 
@@ -14,31 +15,44 @@ export type IconButtonProps = Omit<
14
15
  > & {
15
16
  /** This property defines the type of the IconButton */
16
17
  type?: PrimitiveButtonTypes;
17
- /** This property defines witch icon to use */
18
- iconName: IconProps['name'];
19
18
  /** This property defines the shape of the IconButton */
20
19
  shape?: IconButtonShape;
20
+ /** This property defines witch icon to use */
21
+ iconName: IconProps['name'];
22
+ /** Custom icon color */
23
+ iconColor?: BoxProps['color'];
21
24
  };
22
25
 
23
- const IconButton = React.forwardRef<HTMLButtonElement, IconButtonProps>((props, ref) => {
24
- const { iconName, size = 'normal', type = 'primary', shape = 'circle', dataTestPrefixId } = props;
25
-
26
- return (
26
+ const IconButton = React.forwardRef<HTMLButtonElement, IconButtonProps>(
27
+ (
28
+ {
29
+ size = 'normal',
30
+ type = 'primary',
31
+ shape = 'circle',
32
+ iconName,
33
+ iconColor,
34
+ dataTestPrefixId,
35
+ ...props
36
+ },
37
+ ref
38
+ ) => (
27
39
  <ButtonBase
28
40
  {...props}
29
41
  ref={ref}
30
42
  isIconButton
31
43
  shape={shape}
44
+ size={size}
45
+ type={type}
32
46
  dataTestPrefixId={dataTestPrefixId ? `${dataTestPrefixId}-icon-` : 'icon-'}
33
47
  >
34
48
  <Icon
35
49
  size={size === 'compact' ? 'sm' : 'md'}
36
50
  name={iconName}
37
- color={BUTTON_ICON_COLOR[type]}
51
+ color={iconColor ?? BUTTON_ICON_COLOR[type]}
38
52
  />
39
53
  </ButtonBase>
40
- );
41
- });
54
+ )
55
+ );
42
56
 
43
57
  IconButton.displayName = 'IconButton';
44
58
 
@@ -30,6 +30,11 @@ export type MenuProps = {
30
30
  sx?: { listProps?: { maxHeight?: number; width?: number } };
31
31
  } & TestProps;
32
32
 
33
+ /**
34
+ *
35
+ * @deprecated {@link Menu} has been deprecated; use vanilla Menu instead.
36
+ *
37
+ */
33
38
  const Menu: React.FC<MenuProps> = ({
34
39
  selectionMode = 'single',
35
40
  rowSize = 'normal',
@@ -1,4 +1,3 @@
1
- import { vars } from '@orfium/tokens';
2
1
  import Card from 'components/Card';
3
2
  import IconButton from 'components/IconButton';
4
3
  import useEscape from 'hooks/useEscape';
@@ -72,7 +71,7 @@ const Modal: React.FCC<ModalProps> = ({
72
71
  type="tertiary"
73
72
  iconName="close"
74
73
  onClick={onClose}
75
- color={vars.color.text.default.secondary}
74
+ iconColor="secondary"
76
75
  dataTestId="modal-close"
77
76
  />
78
77
  </div>
@@ -1,4 +1,3 @@
1
- import { vars } from '@orfium/tokens';
2
1
  import IconButton from 'components/IconButton';
3
2
  import Select from 'components/Select';
4
3
  import type { TableProps } from 'components/Table/types';
@@ -64,7 +63,6 @@ const TPagination: React.FC<TPaginationProps> = ({ pagination, isSticky, dataTes
64
63
  <div css={buttonsContainer()}>
65
64
  {isEnhancedPaginationVisible && (
66
65
  <IconButton
67
- color={vars.color.text.default.secondary}
68
66
  iconName="pageFirst"
69
67
  size="compact"
70
68
  type="tertiary"
@@ -74,7 +72,6 @@ const TPagination: React.FC<TPaginationProps> = ({ pagination, isSticky, dataTes
74
72
  />
75
73
  )}
76
74
  <IconButton
77
- color={vars.color.text.default.secondary}
78
75
  iconName="chevronLeft"
79
76
  size="compact"
80
77
  type="tertiary"
@@ -83,7 +80,6 @@ const TPagination: React.FC<TPaginationProps> = ({ pagination, isSticky, dataTes
83
80
  dataTestPrefixId={`${dataTestPrefixId}_table_go_to_prev_page`}
84
81
  />
85
82
  <IconButton
86
- color={vars.color.text.default.secondary}
87
83
  iconName="chevronRight"
88
84
  size="compact"
89
85
  type="tertiary"
@@ -93,7 +89,6 @@ const TPagination: React.FC<TPaginationProps> = ({ pagination, isSticky, dataTes
93
89
  />
94
90
  {isEnhancedPaginationVisible && (
95
91
  <IconButton
96
- color={vars.color.text.default.secondary}
97
92
  iconName="pageLast"
98
93
  size="compact"
99
94
  type="tertiary"
package/src/index.ts CHANGED
@@ -93,6 +93,8 @@ export type {
93
93
  // Token utility types
94
94
  export type { DotKeys, Token, TokensObject } from '@orfium/tokens';
95
95
 
96
+ export { vars } from '@orfium/tokens';
97
+
96
98
  // Hook types
97
99
  export type { OnCheckHandler } from './hooks/useCheck';
98
100