@orfium/ictinus 5.43.2 → 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.
Files changed (44) hide show
  1. package/.turbo/turbo-build.log +20 -20
  2. package/CHANGELOG.md +12 -0
  3. package/dist/components/IconButton/IconButton.js +16 -17
  4. package/dist/components/Modal/Modal.js +27 -27
  5. package/dist/components/Table/components/TPagination/TPagination.js +26 -27
  6. package/dist/index.js +237 -236
  7. package/dist/package.json.d.ts +1 -1
  8. package/dist/package.json.js +1 -1
  9. package/dist/src/components/Box/Box.d.ts +5 -0
  10. package/dist/src/components/Icon/Icon.d.ts +5 -0
  11. package/dist/src/components/IconButton/IconButton.d.ts +9 -4
  12. package/dist/src/components/Menu/Menu.d.ts +5 -0
  13. package/dist/src/components/Table/Table.d.ts +5 -0
  14. package/dist/src/components/Typography/Typography.d.ts +5 -0
  15. package/dist/src/data-table/DataTable.test.d.ts +1 -0
  16. package/dist/src/data-table/DataTableBulkActions.d.ts +3 -0
  17. package/dist/src/data-table/DataTableCounter.d.ts +7 -0
  18. package/dist/src/data-table/index.d.ts +2 -0
  19. package/dist/src/index.d.ts +1 -0
  20. package/dist/vanilla/index.d.ts +12 -2
  21. package/dist/vanilla/index.js +2 -0
  22. package/dist/vanilla/package.json.js +1 -1
  23. package/dist/vanilla/src/components/IconButton/IconButton.js +15 -6
  24. package/dist/vanilla/src/data-table/DataTableBulkActions.js +13 -0
  25. package/dist/vanilla/src/data-table/DataTableCounter.js +25 -0
  26. package/dist/vanilla/src/data-table/DataTableEditColumns.js +1 -1
  27. package/dist/vanilla/src/data-table/DataTableHeaderCell.js +15 -13
  28. package/eslint.config.mjs +1 -1
  29. package/package.json +1 -1
  30. package/src/components/Box/Box.tsx +5 -0
  31. package/src/components/Icon/Icon.tsx +5 -0
  32. package/src/components/IconButton/IconButton.tsx +23 -9
  33. package/src/components/Menu/Menu.tsx +5 -0
  34. package/src/components/Modal/Modal.tsx +1 -2
  35. package/src/components/Table/Table.tsx +5 -0
  36. package/src/components/Table/components/TPagination/TPagination.tsx +0 -5
  37. package/src/components/Typography/Typography.tsx +5 -0
  38. package/src/data-table/DataTable.test.tsx +425 -0
  39. package/src/data-table/DataTableBulkActions.tsx +17 -0
  40. package/src/data-table/DataTableCounter.tsx +37 -0
  41. package/src/data-table/DataTableEditColumns.tsx +3 -1
  42. package/src/data-table/DataTableHeaderCell.tsx +96 -90
  43. package/src/data-table/index.ts +2 -0
  44. package/src/index.ts +2 -0
@@ -1,16 +1,16 @@
1
1
 
2
- > @orfium/ictinus@5.43.2 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.2 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
10
10
  vite v7.3.1 building client environment for production...
11
11
  production /home/runner/work/orfium-ictinus/orfium-ictinus/packages/ictinus
12
12
  transforming...
13
- ✓ 804 modules transformed.
13
+ ✓ 806 modules transformed.
14
14
  rendering chunks...
15
15
 
16
16
  [vite:dts] Start generate declaration files...
@@ -52,10 +52,10 @@ computing gzip size...
52
52
  dist/components/Table/components/TBody/TBody.style.js  0.29 kB │ gzip: 0.21 kB
53
53
  dist/hooks/useEscape.js  0.29 kB │ gzip: 0.19 kB
54
54
  dist/hooks/useCombinedRefs.js  0.29 kB │ gzip: 0.20 kB
55
- dist/components/Controls/ControlLabel/ControlHelpText.js  0.30 kB │ gzip: 0.24 kB
56
55
  dist/components/Icon/assets/usersAndStatus/statusIndicator.svg.js  0.30 kB │ gzip: 0.23 kB
57
- dist/components/Breadcrumb/Breadcrumb.style.js  0.30 kB │ gzip: 0.23 kB
56
+ dist/components/Controls/ControlLabel/ControlHelpText.js  0.30 kB │ gzip: 0.24 kB
58
57
  dist/components/Chart/Wrapper.js  0.30 kB │ gzip: 0.21 kB
58
+ dist/components/Breadcrumb/Breadcrumb.style.js  0.30 kB │ gzip: 0.23 kB
59
59
  dist/components/TableV4/components/RenderRowOrNestedRow/components/ContentCell/ContentCell.style.js  0.30 kB │ gzip: 0.24 kB
60
60
  dist/components/Tabs/components/TabsContainer/TabsContainer.style.js  0.31 kB │ gzip: 0.22 kB
61
61
  dist/components/TableV4/components/TableCell/utils.js  0.31 kB │ gzip: 0.23 kB
@@ -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
@@ -394,8 +394,8 @@ computing gzip size...
394
394
  dist/components/Icon/assets/musicBusiness/artist.svg.js  1.54 kB │ gzip: 0.81 kB
395
395
  dist/components/Drawer/Drawer.js  1.55 kB │ gzip: 0.70 kB
396
396
  dist/icons/DigitalIcon.js  1.55 kB │ gzip: 0.78 kB
397
- dist/components/Table/components/OptimizedTableRow.js  1.55 kB │ gzip: 0.73 kB
398
397
  dist/components/Controls/Switch/Switch.style.js  1.55 kB │ gzip: 0.72 kB
398
+ dist/components/Table/components/OptimizedTableRow.js  1.55 kB │ gzip: 0.73 kB
399
399
  dist/icons/ConflictIcon.js  1.55 kB │ gzip: 0.86 kB
400
400
  dist/icons/AssetIcon.js  1.58 kB │ gzip: 0.85 kB
401
401
  dist/icons/LockIcon.js  1.59 kB │ gzip: 0.81 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 10187ms.
608
+ [vite:dts] Declaration files built in 10807ms.
609
609
 
610
- ✓ built in 14.64s
610
+ ✓ built in 15.36s
611
611
 
612
- > @orfium/ictinus@5.43.2 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,19 +642,19 @@ 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 815ms.
645
+ [vite:dts] Declaration files built in 848ms.
646
646
 
647
- ✓ built in 995ms
647
+ ✓ built in 1.01s
648
648
 
649
- > @orfium/ictinus@5.43.2 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
658
658
  https://rollupjs.org/troubleshooting/#warning-treating-module-as-external-dependency
659
659
  csstype (imported by "node_modules/@vanilla-extract/css/dist/vanilla-extract-css.cjs.d.ts")
660
- created dist/vanilla in 3.3s
660
+ created dist/vanilla in 3.4s
package/CHANGELOG.md CHANGED
@@ -1,5 +1,17 @@
1
1
  # @orfium/ictinus
2
2
 
3
+ ## 5.43.4
4
+
5
+ ### Patch Changes
6
+
7
+ - 6faf00e: icon button color
8
+
9
+ ## 5.43.3
10
+
11
+ ### Patch Changes
12
+
13
+ - 9e38725: table counter + bulk actions
14
+
3
15
  ## 5.43.2
4
16
 
5
17
  ### 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
  };