@m4l/components 9.74.0-beta-m4lcom-785-data-grids-implementar-la-funcionalidad-de-scroll-infinito.0 → 9.74.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (124) hide show
  1. package/components/Pager/subcomponents/CustomTablePagination/CustomTablePagination.d.ts.map +1 -1
  2. package/components/Pager/subcomponents/CustomTablePagination/CustomTablePagination.js +61 -53
  3. package/components/TabsNavigator/TabsNavigator.styles.d.ts.map +1 -1
  4. package/components/TabsNavigator/TabsNavigator.styles.js +23 -17
  5. package/components/datagrids/Datagrid.styles.d.ts.map +1 -1
  6. package/components/datagrids/Datagrid.styles.js +298 -332
  7. package/components/datagrids/components/BaseDataGrid/BaseDataGrid.d.ts.map +1 -1
  8. package/components/datagrids/components/BaseDataGrid/BaseDataGrid.js +95 -101
  9. package/components/datagrids/constants.d.ts +0 -3
  10. package/components/datagrids/constants.d.ts.map +1 -1
  11. package/components/datagrids/constants.js +5 -7
  12. package/components/datagrids/contexts/DataGridContext/DataGridContext.d.ts.map +1 -1
  13. package/components/datagrids/contexts/DataGridContext/DataGridContext.js +102 -112
  14. package/components/datagrids/contexts/DataGridContext/types.d.ts +3 -18
  15. package/components/datagrids/contexts/DataGridContext/types.d.ts.map +1 -1
  16. package/components/datagrids/dictionary.d.ts +0 -4
  17. package/components/datagrids/dictionary.d.ts.map +1 -1
  18. package/components/datagrids/dictionary.js +9 -16
  19. package/components/datagrids/helpers/index.d.ts +0 -3
  20. package/components/datagrids/helpers/index.d.ts.map +1 -1
  21. package/components/datagrids/hooks/index.d.ts +0 -2
  22. package/components/datagrids/hooks/index.d.ts.map +1 -1
  23. package/components/datagrids/hooks/useRemeasureOnReady/useRemeasureOnReady.d.ts +1 -4
  24. package/components/datagrids/hooks/useRemeasureOnReady/useRemeasureOnReady.d.ts.map +1 -1
  25. package/components/datagrids/hooks/useRemeasureOnReady/useRemeasureOnReady.js +25 -33
  26. package/components/datagrids/index.d.ts +2 -4
  27. package/components/datagrids/index.d.ts.map +1 -1
  28. package/components/datagrids/slots/DataGridEnum.d.ts +0 -4
  29. package/components/datagrids/slots/DataGridEnum.d.ts.map +1 -1
  30. package/components/datagrids/slots/DataGridEnum.js +4 -5
  31. package/components/datagrids/slots/DataGridSlot.d.ts +0 -11
  32. package/components/datagrids/slots/DataGridSlot.d.ts.map +1 -1
  33. package/components/datagrids/slots/DataGridSlot.js +113 -121
  34. package/components/datagrids/subcomponents/index.d.ts +0 -1
  35. package/components/datagrids/subcomponents/index.d.ts.map +1 -1
  36. package/components/datagrids/types.d.ts +4 -77
  37. package/components/datagrids/types.d.ts.map +1 -1
  38. package/components/datagrids/views/CardsView/CardsView.d.ts.map +1 -1
  39. package/components/datagrids/views/CardsView/CardsView.js +61 -64
  40. package/components/datagrids/views/CardsView/hooks/useCardsPerRow/useCardsPerRow.d.ts.map +1 -1
  41. package/components/datagrids/views/CardsView/hooks/useCardsPerRow/useCardsPerRow.js +14 -18
  42. package/components/datagrids/views/ListView/ListView.d.ts.map +1 -1
  43. package/components/datagrids/views/ListView/ListView.js +38 -41
  44. package/components/datagrids/views/TableView/TableView.d.ts.map +1 -1
  45. package/components/datagrids/views/TableView/TableView.js +73 -76
  46. package/components/datagrids/views/TableView/helpers/getDragHeaderRenderer/getDragHeaderRenderer.d.ts +0 -1
  47. package/components/datagrids/views/TableView/helpers/getDragHeaderRenderer/getDragHeaderRenderer.d.ts.map +1 -1
  48. package/components/datagrids/views/TableView/helpers/getDragHeaderRenderer/getDragHeaderRenderer.js +8 -9
  49. package/components/datagrids/views/TableView/hooks/useHeaderMenuActions/useHeaderMenuActions.d.ts.map +1 -1
  50. package/components/datagrids/views/TableView/hooks/useHeaderMenuActions/useHeaderMenuActions.js +138 -117
  51. package/components/datagrids/views/TableView/hooks/useSortColumnsRows/useSortColumnsRows.d.ts.map +1 -1
  52. package/components/datagrids/views/TableView/hooks/useSortColumnsRows/useSortColumnsRows.js +54 -57
  53. package/components/datagrids/views/TableView/subcomponents/DraggableHeaderRenderer/DraggableHeaderRenderer.d.ts.map +1 -1
  54. package/components/datagrids/views/TableView/subcomponents/DraggableHeaderRenderer/DraggableHeaderRenderer.js +82 -108
  55. package/components/datagrids/views/TableView/subcomponents/DraggableHeaderRenderer/types.d.ts +0 -2
  56. package/components/datagrids/views/TableView/subcomponents/DraggableHeaderRenderer/types.d.ts.map +1 -1
  57. package/index.js +722 -725
  58. package/package.json +8 -8
  59. package/components/Pager/subcomponents/RowsPerPageSelect/RowsPerPageSelect.d.ts +0 -7
  60. package/components/Pager/subcomponents/RowsPerPageSelect/RowsPerPageSelect.d.ts.map +0 -1
  61. package/components/Pager/subcomponents/RowsPerPageSelect/RowsPerPageSelect.js +0 -28
  62. package/components/Pager/subcomponents/RowsPerPageSelect/types.d.ts +0 -20
  63. package/components/Pager/subcomponents/RowsPerPageSelect/types.d.ts.map +0 -1
  64. package/components/datagrids/helpers/normalizeHeaderClickDeferMs.d.ts +0 -5
  65. package/components/datagrids/helpers/normalizeHeaderClickDeferMs.d.ts.map +0 -1
  66. package/components/datagrids/helpers/normalizeHeaderClickDeferMs.js +0 -7
  67. package/components/datagrids/helpers/shared/attachScrollElement/attachScrollElement.d.ts +0 -9
  68. package/components/datagrids/helpers/shared/attachScrollElement/attachScrollElement.d.ts.map +0 -1
  69. package/components/datagrids/helpers/shared/attachScrollElement/attachScrollElement.js +0 -14
  70. package/components/datagrids/helpers/shared/attachScrollElement/index.d.ts +0 -3
  71. package/components/datagrids/helpers/shared/attachScrollElement/index.d.ts.map +0 -1
  72. package/components/datagrids/helpers/shared/attachScrollElement/types.d.ts +0 -14
  73. package/components/datagrids/helpers/shared/attachScrollElement/types.d.ts.map +0 -1
  74. package/components/datagrids/helpers/shared/buildCursorExportPaginationInfo/buildCursorExportPaginationInfo.d.ts +0 -4
  75. package/components/datagrids/helpers/shared/buildCursorExportPaginationInfo/buildCursorExportPaginationInfo.d.ts.map +0 -1
  76. package/components/datagrids/helpers/shared/buildCursorExportPaginationInfo/buildCursorExportPaginationInfo.js +0 -14
  77. package/components/datagrids/helpers/shared/buildCursorExportPaginationInfo/index.d.ts +0 -3
  78. package/components/datagrids/helpers/shared/buildCursorExportPaginationInfo/index.d.ts.map +0 -1
  79. package/components/datagrids/helpers/shared/buildCursorExportPaginationInfo/types.d.ts +0 -11
  80. package/components/datagrids/helpers/shared/buildCursorExportPaginationInfo/types.d.ts.map +0 -1
  81. package/components/datagrids/helpers/shared/isNearBottom/index.d.ts +0 -2
  82. package/components/datagrids/helpers/shared/isNearBottom/index.d.ts.map +0 -1
  83. package/components/datagrids/helpers/shared/isNearBottom/isNearBottom.d.ts +0 -15
  84. package/components/datagrids/helpers/shared/isNearBottom/isNearBottom.d.ts.map +0 -1
  85. package/components/datagrids/helpers/shared/isNearBottom/isNearBottom.js +0 -6
  86. package/components/datagrids/hooks/shared/useInfiniteScroll/index.d.ts +0 -3
  87. package/components/datagrids/hooks/shared/useInfiniteScroll/index.d.ts.map +0 -1
  88. package/components/datagrids/hooks/shared/useInfiniteScroll/types.d.ts +0 -20
  89. package/components/datagrids/hooks/shared/useInfiniteScroll/types.d.ts.map +0 -1
  90. package/components/datagrids/hooks/shared/useInfiniteScroll/useInfiniteScroll.d.ts +0 -13
  91. package/components/datagrids/hooks/shared/useInfiniteScroll/useInfiniteScroll.d.ts.map +0 -1
  92. package/components/datagrids/hooks/shared/useInfiniteScroll/useInfiniteScroll.js +0 -38
  93. package/components/datagrids/hooks/useInfiniteScrollGate/index.d.ts +0 -3
  94. package/components/datagrids/hooks/useInfiniteScrollGate/index.d.ts.map +0 -1
  95. package/components/datagrids/hooks/useInfiniteScrollGate/types.d.ts +0 -32
  96. package/components/datagrids/hooks/useInfiniteScrollGate/types.d.ts.map +0 -1
  97. package/components/datagrids/hooks/useInfiniteScrollGate/useInfiniteScrollGate.d.ts +0 -17
  98. package/components/datagrids/hooks/useInfiniteScrollGate/useInfiniteScrollGate.d.ts.map +0 -1
  99. package/components/datagrids/hooks/useInfiniteScrollGate/useInfiniteScrollGate.js +0 -20
  100. package/components/datagrids/subcomponents/InfiniteScrollStatus/InfiniteScrollStatus.d.ts +0 -9
  101. package/components/datagrids/subcomponents/InfiniteScrollStatus/InfiniteScrollStatus.d.ts.map +0 -1
  102. package/components/datagrids/subcomponents/InfiniteScrollStatus/InfiniteScrollStatus.js +0 -65
  103. package/components/datagrids/subcomponents/InfiniteScrollStatus/index.d.ts +0 -3
  104. package/components/datagrids/subcomponents/InfiniteScrollStatus/index.d.ts.map +0 -1
  105. package/components/datagrids/subcomponents/InfiniteScrollStatus/types.d.ts +0 -11
  106. package/components/datagrids/subcomponents/InfiniteScrollStatus/types.d.ts.map +0 -1
  107. package/components/datagrids/tests/helpers/InfiniteScrollStory.d.ts +0 -9
  108. package/components/datagrids/tests/helpers/InfiniteScrollStory.d.ts.map +0 -1
  109. package/components/datagrids/tests/helpers/infiniteScrollStoryHelpers.d.ts +0 -22
  110. package/components/datagrids/tests/helpers/infiniteScrollStoryHelpers.d.ts.map +0 -1
  111. package/components/datagrids/views/CardsView/helpers/observeContainerWidth/index.d.ts +0 -3
  112. package/components/datagrids/views/CardsView/helpers/observeContainerWidth/index.d.ts.map +0 -1
  113. package/components/datagrids/views/CardsView/helpers/observeContainerWidth/observeContainerWidth.d.ts +0 -9
  114. package/components/datagrids/views/CardsView/helpers/observeContainerWidth/observeContainerWidth.d.ts.map +0 -1
  115. package/components/datagrids/views/CardsView/helpers/observeContainerWidth/observeContainerWidth.js +0 -13
  116. package/components/datagrids/views/CardsView/helpers/observeContainerWidth/types.d.ts +0 -14
  117. package/components/datagrids/views/CardsView/helpers/observeContainerWidth/types.d.ts.map +0 -1
  118. package/components/datagrids/views/CardsView/hooks/useCardsPerRow/types.d.ts +0 -15
  119. package/components/datagrids/views/CardsView/hooks/useCardsPerRow/types.d.ts.map +0 -1
  120. package/components/datagrids/views/TableView/hooks/useColumnSortRules/index.d.ts +0 -2
  121. package/components/datagrids/views/TableView/hooks/useColumnSortRules/index.d.ts.map +0 -1
  122. package/components/datagrids/views/TableView/hooks/useColumnSortRules/useColumnSortRules.d.ts +0 -25
  123. package/components/datagrids/views/TableView/hooks/useColumnSortRules/useColumnSortRules.d.ts.map +0 -1
  124. package/components/datagrids/views/TableView/hooks/useColumnSortRules/useColumnSortRules.js +0 -97
@@ -1 +1 @@
1
- {"version":3,"file":"CustomTablePagination.d.ts","sourceRoot":"","sources":["../../../../../../../../packages/components/src/components/Pager/subcomponents/CustomTablePagination/CustomTablePagination.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,0BAA0B,EAAE,MAAM,SAAS,CAAC;AASrD;;GAEG;AACH,eAAO,MAAM,qBAAqB,GAAI,OAAO,0BAA0B,qDAmGtE,CAAC"}
1
+ {"version":3,"file":"CustomTablePagination.d.ts","sourceRoot":"","sources":["../../../../../../../../packages/components/src/components/Pager/subcomponents/CustomTablePagination/CustomTablePagination.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,0BAA0B,EAAE,MAAM,SAAS,CAAC;AASrD;;GAEG;AACH,eAAO,MAAM,qBAAqB,GAAI,OAAO,0BAA0B,qDA6GtE,CAAC"}
@@ -1,65 +1,73 @@
1
- import { jsxs as O, Fragment as j, jsx as w } from "@emotion/react/jsx-runtime";
2
- import { PagerActions as E } from "../PagerActions/PagerActions.js";
3
- import { RowsPerPageSelect as I } from "../RowsPerPageSelect/RowsPerPageSelect.js";
4
- import { useState as L, useMemo as n, useEffect as T, useCallback as z } from "react";
5
- import { useModuleDictionary as k } from "@m4l/core";
6
- import { PAGER_DICTIONARY as m } from "../../dicctionary.js";
7
- import { ActionsContainerStyled as v } from "../../slots/PagerSlots.js";
8
- const J = (y) => {
1
+ import { jsxs as w, Fragment as N, jsx as g } from "@emotion/react/jsx-runtime";
2
+ import { PagerActions as O } from "../PagerActions/PagerActions.js";
3
+ import { useState as L, useMemo as r, useEffect as x, useCallback as T } from "react";
4
+ import { useModuleDictionary as j } from "@m4l/core";
5
+ import { PAGER_DICTIONARY as P } from "../../dicctionary.js";
6
+ import { ContainerTotalRowSelectStyled as E, TotalRowStyled as I, LabelSelectContainerStyled as W, RowsPerPageStyled as F, ActionsContainerStyled as G } from "../../slots/PagerSlots.js";
7
+ import { Select as V } from "../../../extended/mui/Select/Select.js";
8
+ const U = (v) => {
9
9
  const {
10
- count: e,
11
- page: P,
12
- rowsPerPage: i = 25,
13
- rowsPerPageOptions: g = [10, 25, 50, 100],
14
- onRowsPerPageChange: u,
10
+ count: t,
11
+ page: u,
12
+ rowsPerPage: d = 25,
13
+ rowsPerPageOptions: l = [10, 25, 50, 100],
14
+ onRowsPerPageChange: h,
15
15
  onPageChange: c,
16
- size: f,
17
- labelOf: h,
18
- labelTotalRows: A
19
- } = y, [r, p] = L(i), [R, d] = L(Math.max(0, P)), { getLabel: o } = k(), s = n(() => Math.max(1, Math.ceil(e / r)), [e, r]);
20
- T(() => {
21
- d(Math.max(0, Math.min(P, s - 1)));
22
- }, [P, s]), T(() => {
23
- g.includes(i) && p(i);
24
- }, [i, g]);
25
- const l = n(() => Math.max(0, Math.min(R, s - 1)), [R, s]), b = n(() => o(m.page), [o]), M = n(() => o(m.rows), [o]), S = n(() => o(m.rows_per_page), [o]), C = n(() => o(m.no_records), [o]), _ = n(() => {
26
- if (e === 0)
27
- return C;
28
- const a = l + 1;
29
- return `${b} ${a} ${h} ${s}`;
30
- }, [l, s, e, h, b, C]), $ = z((a) => {
31
- const t = Number(a.id), N = Math.ceil(e / t), x = Math.min(l, N - 1);
32
- p(t), d(x), u && u({ id: t, value: t, label: `${t} ${M}` }), c && c(null, x);
33
- }, [e, l, M, c, u]), D = z((a) => {
34
- a && $(a);
16
+ size: m,
17
+ labelOf: p,
18
+ labelTotalRows: z
19
+ } = v, [n, S] = L(d), [b, f] = L(Math.max(0, u)), { getLabel: o } = j(), s = r(() => Math.max(1, Math.ceil(t / n)), [t, n]);
20
+ x(() => {
21
+ f(Math.max(0, Math.min(u, s - 1)));
22
+ }, [u, s]), x(() => {
23
+ l.includes(d) && S(d);
24
+ }, [d, l]);
25
+ const i = r(() => Math.max(0, Math.min(b, s - 1)), [b, s]), R = r(() => o(P.page), [o]), C = r(() => o(P.rows), [o]), A = r(() => o(P.rows_per_page), [o]), M = r(() => o(P.no_records), [o]), _ = r(() => {
26
+ if (t === 0)
27
+ return M;
28
+ const e = i + 1;
29
+ return `${R} ${e} ${p} ${s}`;
30
+ }, [i, s, t, p, R, M]), $ = T((e) => {
31
+ const a = Number(e.id), D = Math.ceil(t / a), y = Math.min(i, D - 1);
32
+ S(a), f(y), h && h({ id: a, value: a, label: `${a} ${C}` }), c && c(null, y);
33
+ }, [t, i, C, c, h]), k = T((e) => {
34
+ e && $(e);
35
35
  }, [$]);
36
- return /* @__PURE__ */ O(j, { children: [
37
- g?.length > 1 ? /* @__PURE__ */ w(
38
- I,
36
+ return /* @__PURE__ */ w(N, { children: [
37
+ l?.length > 1 ? /* @__PURE__ */ w(E, { children: [
38
+ /* @__PURE__ */ g(I, { skeletonWidth: 50, size: m, variant: "bodyStandard", children: `${z}: ${Math.min(n, t - i * n)} ${p} ${t}` }),
39
+ /* @__PURE__ */ w(W, { children: [
40
+ /* @__PURE__ */ g(F, { skeletonWidth: 50, size: m, variant: "bodyStandard", children: `${A}:` }),
41
+ /* @__PURE__ */ g(
42
+ V,
43
+ {
44
+ size: m,
45
+ value: l.includes(n) ? n.toString() : l[0].toString(),
46
+ onChange: k,
47
+ options: l.map((e) => ({
48
+ id: e.toString(),
49
+ value: e.toString(),
50
+ label: e.toString()
51
+ }))
52
+ }
53
+ )
54
+ ] })
55
+ ] }) : null,
56
+ /* @__PURE__ */ g(G, { children: /* @__PURE__ */ g(
57
+ O,
39
58
  {
40
- size: f,
41
- totalRowText: `${A}: ${Math.min(r, e - l * r)} ${h} ${e}`,
42
- labelRowsPerPage: S,
43
- rowsPerPage: r,
44
- rowsPerPageOptions: g,
45
- onChange: D
46
- }
47
- ) : null,
48
- /* @__PURE__ */ w(v, { children: /* @__PURE__ */ w(
49
- E,
50
- {
51
- size: f,
52
- count: e,
53
- page: l,
54
- rowsPerPage: r,
59
+ size: m,
60
+ count: t,
61
+ page: i,
62
+ rowsPerPage: n,
55
63
  pageCounter: _,
56
- onPageChange: (a, t) => {
57
- d(t), c && c(a, t);
64
+ onPageChange: (e, a) => {
65
+ f(a), c && c(e, a);
58
66
  }
59
67
  }
60
68
  ) })
61
69
  ] });
62
70
  };
63
71
  export {
64
- J as CustomTablePagination
72
+ U as CustomTablePagination
65
73
  };
@@ -1 +1 @@
1
- {"version":3,"file":"TabsNavigator.styles.d.ts","sourceRoot":"","sources":["../../../../../../packages/components/src/components/TabsNavigator/TabsNavigator.styles.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,mBAAmB,EAAE,MAAM,SAAS,CAAC;AAc9C,eAAO,MAAM,mBAAmB,EAAE,mBA0RjC,CAAC"}
1
+ {"version":3,"file":"TabsNavigator.styles.d.ts","sourceRoot":"","sources":["../../../../../../packages/components/src/components/TabsNavigator/TabsNavigator.styles.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,mBAAmB,EAAE,MAAM,SAAS,CAAC;AAc9C,eAAO,MAAM,mBAAmB,EAAE,mBA+RjC,CAAC"}
@@ -1,14 +1,15 @@
1
1
  import { keyframes as p } from "@emotion/react";
2
- import { TAB_MAX_HEIGHT as i, TAB_MAX_WIDTH as e, TABS_NAVIGATOR_CLASSES as t, WIDTH_SCROLL_BAR as c } from "./constants.js";
2
+ import { ICON_SVG_SHAPE_SELECTOR as c } from "@m4l/base";
3
+ import { TAB_MAX_HEIGHT as i, TAB_MAX_WIDTH as e, TABS_NAVIGATOR_CLASSES as t, WIDTH_SCROLL_BAR as v } from "./constants.js";
3
4
  import { getSizeStyles as s } from "../../utils/getSizeStyles/getSizeStyles.js";
4
- const v = p`
5
+ const b = p`
5
6
  0%, 10% {
6
7
  transform: translateX(0);
7
8
  }
8
9
  90%, 100% {
9
10
  transform: translateX(var(--scroll-distance));
10
11
  }
11
- `, f = {
12
+ `, y = {
12
13
  /**
13
14
  * Root Styles
14
15
  */
@@ -50,38 +51,38 @@ const v = p`
50
51
  "&:hover": {
51
52
  overflow: "visible"
52
53
  },
53
- // Estilos de estado focus-visible aplica para estado selected y no selected.
54
+ // Focus-visible styles apply to both selected and unselected states.
54
55
  "&:focus-visible": {
55
56
  [`& .${t.tabNavigatorIconContainer}`]: {
56
57
  boxShadow: `inset 0px 0px 0px 1px ${a.vars.palette.primary.focusVisible}`
57
58
  }
58
59
  },
59
- // Estilos de estado CON selección
60
+ // Selected state styles
60
61
  ...r?.selected && {
61
- // Estilos de estado hover
62
+ // Hover state styles
62
63
  [`& .${t.tabNavigatorIconContainer}`]: {
63
64
  backgroundColor: a.vars.palette.primary.hoverOpacity
64
65
  },
65
- // Estilos de estado active
66
+ // Active state styles
66
67
  [`&:active .${t.tabNavigatorIconContainer}`]: {
67
68
  backgroundColor: a.vars.palette.primary.activeOpacity
68
69
  },
69
- // Estilos de estado focus-visible
70
+ // Focus-visible state styles
70
71
  [`&:focus-visible .${t.tabNavigatorIconContainer}`]: {
71
72
  backgroundColor: a.vars.palette.primary.activeOpacity
72
73
  }
73
74
  },
74
- // Estilos de estado SIN seleccionado
75
+ // Unselected state styles
75
76
  ...!r?.selected && {
76
- // Estilos de estado hover
77
+ // Hover state styles
77
78
  [`&:hover .${t.tabNavigatorIconContainer}`]: {
78
79
  backgroundColor: a.vars.palette.default.hoverOpacity
79
80
  },
80
- // Estilos de estado active
81
+ // Active state styles
81
82
  [`&:active .${t.tabNavigatorIconContainer}`]: {
82
83
  backgroundColor: a.vars.palette.default.activeOpacity
83
84
  },
84
- // Estilos de estado focus-visible
85
+ // Focus-visible state styles
85
86
  [`&:focus-visible .${t.tabNavigatorIconContainer}`]: {
86
87
  backgroundColor: a.vars.palette.default.activeOpacity
87
88
  }
@@ -96,7 +97,7 @@ const v = p`
96
97
  display: "flex",
97
98
  flexDirection: "row",
98
99
  overflow: "visible",
99
- width: n * e + d + c,
100
+ width: n * e + d + v,
100
101
  maxHeight: 300,
101
102
  gap: a.vars.size.baseSpacings.sp1
102
103
  };
@@ -140,7 +141,7 @@ const v = p`
140
141
  whiteSpace: "normal"
141
142
  },
142
143
  [`& .${t.typographyTextMarqueeContainer} .${t.typographyTextMarquee}[data-should-animate="true"]`]: {
143
- animation: `${v} var(--scroll-duration, 3s) linear forwards`,
144
+ animation: `${b} var(--scroll-duration, 3s) linear forwards`,
144
145
  textOverflow: "clip"
145
146
  }
146
147
  }
@@ -186,7 +187,12 @@ const v = p`
186
187
  borderColor: `${a.vars.palette.primary.selectedOpacity} !important`,
187
188
  backgroundColor: a.vars.palette.primary.enabledOpacity,
188
189
  "&&& .M4LIcon-icon": {
189
- backgroundColor: a.vars.palette.primary.enabled
190
+ backgroundColor: a.vars.palette.primary.semanticText
191
+ },
192
+ "&&& .MuiSvgIcon-root": {
193
+ [c]: {
194
+ fill: a.vars.palette.primary.semanticText
195
+ }
190
196
  }
191
197
  }
192
198
  }),
@@ -205,7 +211,7 @@ const v = p`
205
211
  ),
206
212
  "& .M4LIcon-icon": {
207
213
  ...r?.selected ? {
208
- backgroundColor: a.vars.palette.text.primary
214
+ backgroundColor: a.vars.palette.primary.semanticText
209
215
  } : {
210
216
  backgroundColor: a.vars.palette.text.secondary
211
217
  }
@@ -255,5 +261,5 @@ const v = p`
255
261
  })
256
262
  };
257
263
  export {
258
- f as tabsNavigatorStyles
264
+ y as tabsNavigatorStyles
259
265
  };
@@ -1 +1 @@
1
- {"version":3,"file":"Datagrid.styles.d.ts","sourceRoot":"","sources":["../../../../../../packages/components/src/components/datagrids/Datagrid.styles.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,cAAc,EAAE,MAAM,SAAS,CAAC;AAIzC,eAAO,MAAM,cAAc,EAAE,cA09C5B,CAAC"}
1
+ {"version":3,"file":"Datagrid.styles.d.ts","sourceRoot":"","sources":["../../../../../../packages/components/src/components/datagrids/Datagrid.styles.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,cAAc,EAAE,MAAM,SAAS,CAAC;AAIzC,eAAO,MAAM,cAAc,EAAE,cAs7C5B,CAAC"}