@12-apps/ui 6.62.0 → 6.62.1

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 (139) hide show
  1. package/dist/_internal/components/data-display/CardKit/CardKebab.js +3 -3
  2. package/dist/_internal/components/data-display/CardKit/use-remove-confirm.js +3 -3
  3. package/dist/_internal/components/data-display/CardKit/use-row-confirm.js +3 -3
  4. package/dist/_internal/components/data-display/DataViews/DataViewsGrid.js +17 -17
  5. package/dist/_internal/components/data-display/DataViews/DataViewsTableBase.js +23 -23
  6. package/dist/_internal/components/data-display/DataViews/DeleteViewDialog.js +3 -3
  7. package/dist/_internal/components/data-display/DataViews/ManageViewsDialog.js +4 -4
  8. package/dist/_internal/components/data-display/DataViews/SaveViewModal.js +3 -3
  9. package/dist/_internal/components/data-display/DataViews/data-views-columns.js +4 -4
  10. package/dist/_internal/components/data-display/DataViews/data-views-display-panel.js +4 -4
  11. package/dist/_internal/components/data-display/DataViews/data-views-empty.js +3 -3
  12. package/dist/_internal/components/data-display/DataViews/data-views-export.js +3 -3
  13. package/dist/_internal/components/data-display/DataViews/data-views-grid-bodies.js +5 -5
  14. package/dist/_internal/components/data-display/DataViews/data-views-grid-helpers.js +3 -3
  15. package/dist/_internal/components/data-display/DataViews/data-views-grid-parts.js +14 -14
  16. package/dist/_internal/components/data-display/DataViews/data-views-inline-bar.js +4 -4
  17. package/dist/_internal/components/data-display/DataViews/data-views-more-filters.js +3 -3
  18. package/dist/_internal/components/data-display/DataViews/data-views-select-all-strip.js +3 -3
  19. package/dist/_internal/components/data-display/DataViews/data-views-shell-toolbar.js +8 -8
  20. package/dist/_internal/components/data-display/DataViews/data-views-table-parts.js +6 -6
  21. package/dist/_internal/components/data-display/DataViews/data-views-toolbar.js +7 -7
  22. package/dist/_internal/components/data-display/DataViews/data-views-view-nav.js +3 -3
  23. package/dist/_internal/components/data-display/DataViews/use-data-views-state.js +5 -5
  24. package/dist/_internal/components/feedback/ConfirmAction/ConfirmButton.js +3 -3
  25. package/dist/_internal/components/feedback/NotificationStatusNotice/NotificationStatusNotice.js +3 -3
  26. package/dist/_internal/components/feedback/index.js +4 -4
  27. package/dist/_internal/components/form/Button/Button.js +2 -2
  28. package/dist/_internal/components/form/Button/Button.styles.js +1 -1
  29. package/dist/_internal/components/form/index.js +2 -2
  30. package/dist/_internal/components/form/total-form/SubmitButton.js +3 -3
  31. package/dist/_internal/components/index.js +12 -12
  32. package/dist/_internal/components/layout/SettingCard/SettingCard.js +5 -5
  33. package/dist/_internal/components/layout/SettingCard/SettingCard.parts.js +3 -3
  34. package/dist/_internal/components/layout/SettingCard/SettingCard.summary.js +4 -4
  35. package/dist/_internal/components/layout/SettingCard/SettingGrid.js +4 -4
  36. package/dist/_internal/components/layout/SettingCard/SettingGroup.js +6 -6
  37. package/dist/_internal/components/layout/SettingCard/SettingSwitch.js +5 -5
  38. package/dist/_internal/components/layout/SettingCard/SettingToggle.js +6 -6
  39. package/dist/_internal/components/layout/index.js +9 -9
  40. package/dist/_internal/components/navigation/AppHeader/AppHeader.details.js +3 -3
  41. package/dist/_internal/components/navigation/index.js +3 -3
  42. package/dist/_internal/social-login-button/social-login-button.js +3 -3
  43. package/dist/_internal/user-avatar/user-avatar.js +3 -3
  44. package/dist/{chunk-CFAIMOFE.js → chunk-265RW6VX.js} +2 -2
  45. package/dist/{chunk-VZCZAHMX.js → chunk-2XOL4HJU.js} +4 -4
  46. package/dist/{chunk-4PYEDDYV.js → chunk-3AQ25I6D.js} +2 -2
  47. package/dist/{chunk-BTJFOPCQ.js → chunk-3FLJ4ZWZ.js} +2 -2
  48. package/dist/{chunk-XE4JVTM6.js → chunk-4HHCVL5D.js} +2 -2
  49. package/dist/{chunk-EFLRNSE6.js → chunk-5COIBRIP.js} +3 -3
  50. package/dist/{chunk-NFCAXQ3F.js → chunk-5P4GWCBS.js} +3 -3
  51. package/dist/{chunk-USZMUOI6.js → chunk-6DJQKK6Q.js} +3 -3
  52. package/dist/{chunk-KEDZTZCV.js → chunk-6FZ3PJXR.js} +2 -2
  53. package/dist/{chunk-PZPTTAO5.js → chunk-6KQWNPER.js} +6 -6
  54. package/dist/{chunk-YDTCM5F6.js → chunk-AGUK7VQP.js} +4 -4
  55. package/dist/{chunk-ZCUVZ5PR.js → chunk-C622UXU6.js} +2 -2
  56. package/dist/{chunk-CCCILWYZ.js → chunk-DOROD5GQ.js} +3 -3
  57. package/dist/{chunk-INQO5AYV.js → chunk-GF5VDLCC.js} +3 -3
  58. package/dist/{chunk-6NWFX2XJ.js → chunk-GOIFPE2E.js} +2 -2
  59. package/dist/{chunk-PKGBW7KS.js → chunk-HM6T6EQR.js} +3 -3
  60. package/dist/{chunk-EXAXD7FA.js → chunk-JQBODXRV.js} +2 -2
  61. package/dist/{chunk-T2UP4XJF.js → chunk-JTIKY2D3.js} +20 -13
  62. package/dist/{chunk-T2UP4XJF.js.map → chunk-JTIKY2D3.js.map} +1 -1
  63. package/dist/{chunk-6J27G2HT.js → chunk-KYFRZX5C.js} +2 -2
  64. package/dist/{chunk-NQZNV3VR.js → chunk-LCVBED7G.js} +2 -2
  65. package/dist/{chunk-GRRW5NSR.js → chunk-NHAB477Y.js} +3 -3
  66. package/dist/{chunk-X7HCS3HP.js → chunk-PSYX2KEQ.js} +3 -3
  67. package/dist/{chunk-3UQMIFPA.js → chunk-QNXCCBRW.js} +2 -2
  68. package/dist/{chunk-JA6GKU65.js → chunk-SAVNRXHT.js} +2 -2
  69. package/dist/{chunk-WQBHJXXW.js → chunk-TSHX4Q6M.js} +2 -2
  70. package/dist/{chunk-XGIJGIN3.js → chunk-U5NRT6JR.js} +2 -2
  71. package/dist/{chunk-ZUQX7XHJ.js → chunk-UDC5M3P2.js} +4 -4
  72. package/dist/{chunk-QJWIX4YZ.js → chunk-VE7QYG3W.js} +2 -2
  73. package/dist/{chunk-4JZ6XDVA.js → chunk-VLRHESS2.js} +2 -2
  74. package/dist/{chunk-JE6FNSQV.js → chunk-W4O3BTD5.js} +2 -2
  75. package/dist/{chunk-PPITQH3C.js → chunk-WA36P74Q.js} +2 -2
  76. package/dist/{chunk-UZCQHNXC.js → chunk-WM44LYFN.js} +2 -2
  77. package/dist/{chunk-NBM3YJ4P.js → chunk-X6WC5QBY.js} +2 -2
  78. package/dist/{chunk-L4HUZCKV.js → chunk-XOCWAQOA.js} +2 -2
  79. package/dist/{chunk-5NOCDQJD.js → chunk-YLSBEWPJ.js} +2 -2
  80. package/dist/{chunk-H7R6UKOE.js → chunk-YWIVVKCJ.js} +2 -2
  81. package/dist/data-display/CardKit.js +4 -4
  82. package/dist/data-display/DataViews.js +23 -23
  83. package/dist/feedback/ConfirmAction.js +3 -3
  84. package/dist/feedback/NotificationStatusNotice.js +3 -3
  85. package/dist/form/Button.js +2 -2
  86. package/dist/form/total-form.js +3 -3
  87. package/dist/layout/SettingCard.js +9 -9
  88. package/dist/native/chunks/{chunk-MU5EIZSP.js → chunk-2MFMON74.js} +21 -11
  89. package/dist/native/chunks/chunk-2MFMON74.js.map +1 -0
  90. package/dist/native/chunks/{chunk-BUFQXX27.js → chunk-CNTOS6KK.js} +2 -2
  91. package/dist/native/data-display/EmptyState.js +2 -2
  92. package/dist/native/data-display/ErrorState.js +1 -1
  93. package/dist/native/data-display/FleetMap.js +2 -2
  94. package/dist/native/form/Button.js +1 -1
  95. package/dist/navigation/AppHeader.js +3 -3
  96. package/dist/social-login-button.js +3 -3
  97. package/dist/types/components/form/Button/Button.styles.d.ts.map +1 -1
  98. package/dist/types-native/components/form/Button/Button.native.d.ts.map +1 -1
  99. package/dist/user-avatar.js +3 -3
  100. package/package.json +1 -1
  101. package/src/components/form/Button/Button.native.tsx +28 -13
  102. package/src/components/form/Button/Button.styles.ts +19 -12
  103. package/dist/native/chunks/chunk-MU5EIZSP.js.map +0 -1
  104. /package/dist/{chunk-CFAIMOFE.js.map → chunk-265RW6VX.js.map} +0 -0
  105. /package/dist/{chunk-VZCZAHMX.js.map → chunk-2XOL4HJU.js.map} +0 -0
  106. /package/dist/{chunk-4PYEDDYV.js.map → chunk-3AQ25I6D.js.map} +0 -0
  107. /package/dist/{chunk-BTJFOPCQ.js.map → chunk-3FLJ4ZWZ.js.map} +0 -0
  108. /package/dist/{chunk-XE4JVTM6.js.map → chunk-4HHCVL5D.js.map} +0 -0
  109. /package/dist/{chunk-EFLRNSE6.js.map → chunk-5COIBRIP.js.map} +0 -0
  110. /package/dist/{chunk-NFCAXQ3F.js.map → chunk-5P4GWCBS.js.map} +0 -0
  111. /package/dist/{chunk-USZMUOI6.js.map → chunk-6DJQKK6Q.js.map} +0 -0
  112. /package/dist/{chunk-KEDZTZCV.js.map → chunk-6FZ3PJXR.js.map} +0 -0
  113. /package/dist/{chunk-PZPTTAO5.js.map → chunk-6KQWNPER.js.map} +0 -0
  114. /package/dist/{chunk-YDTCM5F6.js.map → chunk-AGUK7VQP.js.map} +0 -0
  115. /package/dist/{chunk-ZCUVZ5PR.js.map → chunk-C622UXU6.js.map} +0 -0
  116. /package/dist/{chunk-CCCILWYZ.js.map → chunk-DOROD5GQ.js.map} +0 -0
  117. /package/dist/{chunk-INQO5AYV.js.map → chunk-GF5VDLCC.js.map} +0 -0
  118. /package/dist/{chunk-6NWFX2XJ.js.map → chunk-GOIFPE2E.js.map} +0 -0
  119. /package/dist/{chunk-PKGBW7KS.js.map → chunk-HM6T6EQR.js.map} +0 -0
  120. /package/dist/{chunk-EXAXD7FA.js.map → chunk-JQBODXRV.js.map} +0 -0
  121. /package/dist/{chunk-6J27G2HT.js.map → chunk-KYFRZX5C.js.map} +0 -0
  122. /package/dist/{chunk-NQZNV3VR.js.map → chunk-LCVBED7G.js.map} +0 -0
  123. /package/dist/{chunk-GRRW5NSR.js.map → chunk-NHAB477Y.js.map} +0 -0
  124. /package/dist/{chunk-X7HCS3HP.js.map → chunk-PSYX2KEQ.js.map} +0 -0
  125. /package/dist/{chunk-3UQMIFPA.js.map → chunk-QNXCCBRW.js.map} +0 -0
  126. /package/dist/{chunk-JA6GKU65.js.map → chunk-SAVNRXHT.js.map} +0 -0
  127. /package/dist/{chunk-WQBHJXXW.js.map → chunk-TSHX4Q6M.js.map} +0 -0
  128. /package/dist/{chunk-XGIJGIN3.js.map → chunk-U5NRT6JR.js.map} +0 -0
  129. /package/dist/{chunk-ZUQX7XHJ.js.map → chunk-UDC5M3P2.js.map} +0 -0
  130. /package/dist/{chunk-QJWIX4YZ.js.map → chunk-VE7QYG3W.js.map} +0 -0
  131. /package/dist/{chunk-4JZ6XDVA.js.map → chunk-VLRHESS2.js.map} +0 -0
  132. /package/dist/{chunk-JE6FNSQV.js.map → chunk-W4O3BTD5.js.map} +0 -0
  133. /package/dist/{chunk-PPITQH3C.js.map → chunk-WA36P74Q.js.map} +0 -0
  134. /package/dist/{chunk-UZCQHNXC.js.map → chunk-WM44LYFN.js.map} +0 -0
  135. /package/dist/{chunk-NBM3YJ4P.js.map → chunk-X6WC5QBY.js.map} +0 -0
  136. /package/dist/{chunk-L4HUZCKV.js.map → chunk-XOCWAQOA.js.map} +0 -0
  137. /package/dist/{chunk-5NOCDQJD.js.map → chunk-YLSBEWPJ.js.map} +0 -0
  138. /package/dist/{chunk-H7R6UKOE.js.map → chunk-YWIVVKCJ.js.map} +0 -0
  139. /package/dist/native/chunks/{chunk-BUFQXX27.js.map → chunk-CNTOS6KK.js.map} +0 -0
@@ -6,7 +6,7 @@ import {
6
6
  } from "./chunk-ILQVNZ5B.js";
7
7
  import {
8
8
  Button
9
- } from "./chunk-JE6FNSQV.js";
9
+ } from "./chunk-W4O3BTD5.js";
10
10
  import {
11
11
  accentFor
12
12
  } from "./chunk-B7ZHEOQQ.js";
@@ -166,4 +166,4 @@ AppHeaderDetails.displayName = "AppHeaderDetails";
166
166
  export {
167
167
  AppHeaderDetails
168
168
  };
169
- //# sourceMappingURL=chunk-XE4JVTM6.js.map
169
+ //# sourceMappingURL=chunk-4HHCVL5D.js.map
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  useColumnsWithActions,
3
3
  useRenderedColumns
4
- } from "./chunk-BTJFOPCQ.js";
4
+ } from "./chunk-3FLJ4ZWZ.js";
5
5
  import {
6
6
  filterRows
7
7
  } from "./chunk-YGQX7BNI.js";
@@ -22,7 +22,7 @@ import {
22
22
  import {
23
23
  computeActiveFilterCount,
24
24
  defaultSortFields
25
- } from "./chunk-NQZNV3VR.js";
25
+ } from "./chunk-LCVBED7G.js";
26
26
  import {
27
27
  emptyViewState
28
28
  } from "./chunk-LHHAYZ55.js";
@@ -172,4 +172,4 @@ function useDataViewsState({
172
172
  export {
173
173
  useDataViewsState
174
174
  };
175
- //# sourceMappingURL=chunk-EFLRNSE6.js.map
175
+ //# sourceMappingURL=chunk-5COIBRIP.js.map
@@ -10,7 +10,7 @@ import {
10
10
  ViewFooter,
11
11
  ViewHeader,
12
12
  ViewsList
13
- } from "./chunk-5NOCDQJD.js";
13
+ } from "./chunk-YLSBEWPJ.js";
14
14
  import {
15
15
  useDataViewsCopy
16
16
  } from "./chunk-KHG57NAE.js";
@@ -19,7 +19,7 @@ import {
19
19
  } from "./chunk-6DPAWXZ3.js";
20
20
  import {
21
21
  Button
22
- } from "./chunk-JE6FNSQV.js";
22
+ } from "./chunk-W4O3BTD5.js";
23
23
  import {
24
24
  rem,
25
25
  sxRem
@@ -265,4 +265,4 @@ function DataViewsDisplayPanel({
265
265
  export {
266
266
  DataViewsDisplayPanel
267
267
  };
268
- //# sourceMappingURL=chunk-NFCAXQ3F.js.map
268
+ //# sourceMappingURL=chunk-5P4GWCBS.js.map
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  GridShell
3
- } from "./chunk-PZPTTAO5.js";
3
+ } from "./chunk-6KQWNPER.js";
4
4
  import {
5
5
  useDataViewsState
6
- } from "./chunk-EFLRNSE6.js";
6
+ } from "./chunk-5COIBRIP.js";
7
7
 
8
8
  // src/components/data-display/DataViews/DataViewsGrid.tsx
9
9
  import { useEffect, useRef } from "react";
@@ -27,4 +27,4 @@ function DataViewsGrid(props) {
27
27
  export {
28
28
  DataViewsGrid
29
29
  };
30
- //# sourceMappingURL=chunk-USZMUOI6.js.map
30
+ //# sourceMappingURL=chunk-6DJQKK6Q.js.map
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  SettingSwitchBlock,
3
3
  useSettingSwitchIds
4
- } from "./chunk-INQO5AYV.js";
4
+ } from "./chunk-GF5VDLCC.js";
5
5
  import {
6
6
  useSettingGroup
7
7
  } from "./chunk-XJQNSMGA.js";
@@ -44,4 +44,4 @@ SettingToggle.displayName = "SettingToggle";
44
44
  export {
45
45
  SettingToggle
46
46
  };
47
- //# sourceMappingURL=chunk-KEDZTZCV.js.map
47
+ //# sourceMappingURL=chunk-6FZ3PJXR.js.map
@@ -1,16 +1,16 @@
1
1
  import {
2
2
  GridMain
3
- } from "./chunk-PKGBW7KS.js";
3
+ } from "./chunk-HM6T6EQR.js";
4
4
  import {
5
5
  FilterDialog,
6
6
  GridFilterPanel
7
7
  } from "./chunk-SKOAJPOS.js";
8
8
  import {
9
9
  DataViewsEmpty
10
- } from "./chunk-6NWFX2XJ.js";
10
+ } from "./chunk-GOIFPE2E.js";
11
11
  import {
12
12
  InlineFilterControls
13
- } from "./chunk-NBM3YJ4P.js";
13
+ } from "./chunk-X6WC5QBY.js";
14
14
  import {
15
15
  GridHeaderRow
16
16
  } from "./chunk-X3AFXHY5.js";
@@ -30,10 +30,10 @@ import {
30
30
  } from "./chunk-5JWCNQSI.js";
31
31
  import {
32
32
  ShellToolbar
33
- } from "./chunk-UZCQHNXC.js";
33
+ } from "./chunk-WM44LYFN.js";
34
34
  import {
35
35
  togglePillValues
36
- } from "./chunk-NQZNV3VR.js";
36
+ } from "./chunk-LCVBED7G.js";
37
37
  import {
38
38
  DataViewsLayoutProvider,
39
39
  useDataViewsLayout
@@ -240,4 +240,4 @@ function GridShell(props) {
240
240
  export {
241
241
  GridShell
242
242
  };
243
- //# sourceMappingURL=chunk-PZPTTAO5.js.map
243
+ //# sourceMappingURL=chunk-6KQWNPER.js.map
@@ -3,14 +3,14 @@ import {
3
3
  } from "./chunk-SALQ65SM.js";
4
4
  import {
5
5
  useSummaryInfo
6
- } from "./chunk-ZCUVZ5PR.js";
6
+ } from "./chunk-C622UXU6.js";
7
7
  import {
8
8
  LearnMore,
9
9
  PendingSpinner,
10
10
  SaveError,
11
11
  SettingHeader,
12
12
  partTestId
13
- } from "./chunk-4PYEDDYV.js";
13
+ } from "./chunk-3AQ25I6D.js";
14
14
  import {
15
15
  SETTING_CARD_OPEN_ATTR,
16
16
  actionsStyles,
@@ -23,7 +23,7 @@ import {
23
23
  } from "./chunk-SEWUYHSG.js";
24
24
  import {
25
25
  Button
26
- } from "./chunk-JE6FNSQV.js";
26
+ } from "./chunk-W4O3BTD5.js";
27
27
 
28
28
  // src/components/layout/SettingCard/SettingCard.tsx
29
29
  import Box from "@mui/material/Box/index.js";
@@ -170,4 +170,4 @@ SettingCard.displayName = "SettingCard";
170
170
  export {
171
171
  SettingCard
172
172
  };
173
- //# sourceMappingURL=chunk-YDTCM5F6.js.map
173
+ //# sourceMappingURL=chunk-AGUK7VQP.js.map
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  partTestId
3
- } from "./chunk-4PYEDDYV.js";
3
+ } from "./chunk-3AQ25I6D.js";
4
4
  import {
5
5
  SETTING_CARD
6
6
  } from "./chunk-BFRVMCQM.js";
@@ -92,4 +92,4 @@ export {
92
92
  SummaryInfo,
93
93
  useSummaryInfo
94
94
  };
95
- //# sourceMappingURL=chunk-ZCUVZ5PR.js.map
95
+ //# sourceMappingURL=chunk-C622UXU6.js.map
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  SettingSwitchBlock,
3
3
  useSettingSwitchIds
4
- } from "./chunk-INQO5AYV.js";
4
+ } from "./chunk-GF5VDLCC.js";
5
5
  import {
6
6
  SettingGroupContext
7
7
  } from "./chunk-XJQNSMGA.js";
@@ -10,7 +10,7 @@ import {
10
10
  } from "./chunk-SALQ65SM.js";
11
11
  import {
12
12
  partTestId
13
- } from "./chunk-4PYEDDYV.js";
13
+ } from "./chunk-3AQ25I6D.js";
14
14
  import {
15
15
  dependentsStyles,
16
16
  hintStyles,
@@ -84,4 +84,4 @@ SettingGroup.displayName = "SettingGroup";
84
84
  export {
85
85
  SettingGroup
86
86
  };
87
- //# sourceMappingURL=chunk-CCCILWYZ.js.map
87
+ //# sourceMappingURL=chunk-DOROD5GQ.js.map
@@ -1,12 +1,12 @@
1
1
  import {
2
2
  useSummaryInfo
3
- } from "./chunk-ZCUVZ5PR.js";
3
+ } from "./chunk-C622UXU6.js";
4
4
  import {
5
5
  PendingSpinner,
6
6
  SaveError,
7
7
  SettingHeader,
8
8
  partTestId
9
- } from "./chunk-4PYEDDYV.js";
9
+ } from "./chunk-3AQ25I6D.js";
10
10
  import {
11
11
  clampStyles,
12
12
  descriptionStyles
@@ -87,4 +87,4 @@ export {
87
87
  useSettingSwitchIds,
88
88
  SettingSwitchBlock
89
89
  };
90
- //# sourceMappingURL=chunk-INQO5AYV.js.map
90
+ //# sourceMappingURL=chunk-GF5VDLCC.js.map
@@ -6,7 +6,7 @@ import {
6
6
  } from "./chunk-6DPAWXZ3.js";
7
7
  import {
8
8
  Button
9
- } from "./chunk-JE6FNSQV.js";
9
+ } from "./chunk-W4O3BTD5.js";
10
10
  import {
11
11
  Text
12
12
  } from "./chunk-AJBRO76D.js";
@@ -80,4 +80,4 @@ function DataViewsEmpty({
80
80
  export {
81
81
  DataViewsEmpty
82
82
  };
83
- //# sourceMappingURL=chunk-6NWFX2XJ.js.map
83
+ //# sourceMappingURL=chunk-GOIFPE2E.js.map
@@ -3,13 +3,13 @@ import {
3
3
  } from "./chunk-NHHWNA5W.js";
4
4
  import {
5
5
  SelectAllStrip
6
- } from "./chunk-CFAIMOFE.js";
6
+ } from "./chunk-265RW6VX.js";
7
7
  import {
8
8
  toGridExpansion
9
9
  } from "./chunk-O5UGAL2V.js";
10
10
  import {
11
11
  cardGridTracks
12
- } from "./chunk-NQZNV3VR.js";
12
+ } from "./chunk-LCVBED7G.js";
13
13
  import {
14
14
  ListCardGroup
15
15
  } from "./chunk-6FAYTKXW.js";
@@ -274,4 +274,4 @@ function GridMain(props) {
274
274
  export {
275
275
  GridMain
276
276
  };
277
- //# sourceMappingURL=chunk-PKGBW7KS.js.map
277
+ //# sourceMappingURL=chunk-HM6T6EQR.js.map
@@ -3,7 +3,7 @@ import {
3
3
  } from "./chunk-4XK6JQ4D.js";
4
4
  import {
5
5
  Button
6
- } from "./chunk-JE6FNSQV.js";
6
+ } from "./chunk-W4O3BTD5.js";
7
7
  import {
8
8
  fieldHeight
9
9
  } from "./chunk-RGVNXES5.js";
@@ -34,4 +34,4 @@ function SubmitButton({
34
34
  export {
35
35
  SubmitButton
36
36
  };
37
- //# sourceMappingURL=chunk-EXAXD7FA.js.map
37
+ //# sourceMappingURL=chunk-JQBODXRV.js.map
@@ -125,18 +125,25 @@ var VARIANT_STYLES = {
125
125
  boxShadow: theme.shadows[8]
126
126
  }
127
127
  }),
128
- // A NEUTRAL outline is a field-row control ("Mais", "Exibir"), so it rests on
129
- // the one field border; a coloured outline keeps its colour, which is the
130
- // point of asking for one.
131
- outline: (theme, palette, color) => ({
132
- backgroundColor: "transparent",
133
- color: palette.main,
134
- border: color === "neutral" ? fieldBorder(theme) : `1px solid ${palette.main}`,
135
- "&:hover": {
136
- backgroundColor: alpha(palette.main, 0.1),
137
- borderColor: palette.dark
138
- }
139
- }),
128
+ // A NEUTRAL outline is a field-row control ("Mais", "Exibir", "Cancelar"), so
129
+ // it rests on the one field border and writes in the theme's own text ink —
130
+ // a ROLE, which turns with the mode. It used to write in grey 700, a step on
131
+ // a ramp MUI keeps the same in dark: dark on dark, 2.18:1 on a dark bar, so a
132
+ // live "Descartar" read as disabled. A coloured outline keeps its colour,
133
+ // which is the point of asking for one.
134
+ // Its hover draws from the same role, so it does not dim to grey 800 on a dark ground.
135
+ outline: (theme, palette, color) => {
136
+ const ink = color === "neutral" ? theme.palette.text.primary : palette.main;
137
+ return {
138
+ backgroundColor: "transparent",
139
+ color: ink,
140
+ border: color === "neutral" ? fieldBorder(theme) : `1px solid ${palette.main}`,
141
+ "&:hover": {
142
+ backgroundColor: alpha(ink, 0.1),
143
+ borderColor: color === "neutral" ? theme.palette.text.secondary : palette.dark
144
+ }
145
+ };
146
+ },
140
147
  ghost: (theme, palette) => ({
141
148
  backgroundColor: "transparent",
142
149
  color: quietInk(theme, palette),
@@ -217,4 +224,4 @@ export {
217
224
  buttonVariantStyles,
218
225
  buttonEmphasisStyles
219
226
  };
220
- //# sourceMappingURL=chunk-T2UP4XJF.js.map
227
+ //# sourceMappingURL=chunk-JTIKY2D3.js.map
@@ -1 +1 @@
1
- {"version":3,"sources":["../src/components/form/Button/Button.styles.ts"],"sourcesContent":["import { alpha, darken, keyframes, lighten } from '@mui/material/styles/index.js';\nimport type { CSSObject, Theme } from '@mui/material/styles/index.js';\n\nimport { BUTTON_SIZES, ICON_ONLY_PADDING as ICON_ONLY_PADDING_PX } from './Button.metrics';\nimport { asFieldSize, fieldBorder, fieldHeight } from '../../../tokens/field-height';\nimport { absoluteInk, controlNeutral } from '../../../tokens/ink';\nimport { rem, rems } from '../../../tokens/relative';\nimport { inkOver } from '../../../tokens/theme';\n\n// The pulse ring, its spread through the theme's type scale.\nconst pulseAnimation = (theme: Theme) => keyframes`\n 0% {\n box-shadow: 0 0 0 0 currentColor;\n opacity: 1;\n }\n 70% {\n box-shadow: 0 0 0 ${rem(theme, 15)} currentColor;\n opacity: 0;\n }\n 100% {\n box-shadow: 0 0 0 0 currentColor;\n opacity: 0;\n }\n`;\n\ninterface ColorPalette {\n main: string;\n dark: string;\n light: string;\n contrastText: string;\n}\n\nconst shade = (\n palette: ColorPalette | undefined,\n key: 'dark' | 'light',\n fallback: ColorPalette,\n): string => palette?.[key] || palette?.main || fallback[key];\n\n/** `neutral` has no MUI palette entry, so its four shades come from grey. */\nconst neutralPalette = (theme: Theme): ColorPalette => controlNeutral(theme);\n\nexport const getColorFromTheme = (theme: Theme, color: string): ColorPalette => {\n if (color === 'neutral') return neutralPalette(theme);\n\n const colorMap: Record<string, ColorPalette> = {\n primary: theme.palette.primary as ColorPalette,\n secondary: theme.palette.secondary as ColorPalette,\n success: theme.palette.success as ColorPalette,\n warning: theme.palette.warning as ColorPalette,\n info: theme.palette.info as ColorPalette,\n danger: theme.palette.error as ColorPalette,\n };\n\n const fallback = theme.palette.primary as ColorPalette;\n const palette = colorMap[color] || fallback;\n\n // Ensure palette has required properties\n return {\n main: palette?.main || fallback.main,\n dark: shade(palette, 'dark', fallback),\n light: shade(palette, 'light', fallback),\n contrastText: palette?.contrastText || absoluteInk(theme).white,\n };\n};\n\n/** A size's padding and its type in design px, read through the type scale. */\ninterface WebButtonSize {\n paddingYPx: number;\n paddingXPx: number;\n fontPx: number;\n}\n\n// Derived from `Button.metrics.ts`, which the native `Button` reads too — one\n// table, so a size cannot differ between the renderers.\nconst SIZE_MAP: Record<string, WebButtonSize> = Object.fromEntries(\n Object.entries(BUTTON_SIZES).map(([size, m]) => [\n size,\n { paddingYPx: m.paddingVertical, paddingXPx: m.paddingHorizontal, fontPx: m.fontSize },\n ]),\n);\n\n/** What an unrecognised size falls back to, named so indexing can never be undefined. */\nconst DEFAULT_SIZE: WebButtonSize = SIZE_MAP.md as WebButtonSize;\n\nconst sizeOf = (size: string): WebButtonSize => SIZE_MAP[size] ?? DEFAULT_SIZE;\n\n/**\n * A BUTTON THAT IS ONLY AN ICON IS SQUARE.\n *\n * MUI puts a 64px `min-width` on every button, which is right for a label and\n * wrong for a glyph: three dots in a 64px slab reads as a button that failed to\n * load its text, and at the end of a dense row it claims space the row needs.\n * The horizontal padding goes too — a square of padding round a square glyph —\n * and so does the gap MUI reserves beside a start/end icon, since there is\n * nothing on the other side of it.\n *\n * Derived, not declared: a button with an `icon` and no children can only be an\n * icon button, so no consumer has to opt in and none can forget to.\n */\nconst iconOnlyPadding = (theme: Theme, size: string): string => {\n const bySize: Record<string, number> = ICON_ONLY_PADDING_PX;\n return rem(theme, bySize[size] ?? ICON_ONLY_PADDING_PX.md);\n};\n\nconst iconOnlySize = (theme: Theme, size: string): CSSObject => ({\n minWidth: 0,\n padding: iconOnlyPadding(theme, size),\n fontSize: rem(theme, sizeOf(size).fontPx),\n '& .MuiButton-startIcon, & .MuiButton-endIcon': { margin: 0 },\n});\n\n/**\n * The size styles for a button, square when it carries nothing but an icon.\n *\n * The HEIGHT is the theme's field height for the size (`tokens/field-height`),\n * so a button stands level with the field beside it: the vertical padding goes\n * and the label is centred in a box at least that tall — a label that wraps\n * still grows it. An icon-only button is that height on every side.\n */\nexport const buttonSize =\n (size: string, iconOnly: boolean) =>\n (theme: Theme): CSSObject => {\n const height = fieldHeight(theme, asFieldSize(size));\n if (iconOnly) return { ...iconOnlySize(theme, size), padding: 0, minWidth: height, minHeight: height };\n const { paddingYPx, paddingXPx, fontPx } = sizeOf(size);\n return { padding: rems(theme, paddingYPx, paddingXPx), fontSize: rem(theme, fontPx), minHeight: height, paddingTop: 0, paddingBottom: 0 };\n };\n\n/**\n * MUI centres icons with a negative margin that fights our own padding, so the\n * flex alignment is restated here rather than fought with `!important`.\n */\nexport const iconAlignmentStyles = (theme: Theme): CSSObject => ({\n '& .MuiButton-startIcon, & .MuiButton-endIcon': {\n display: 'inline-flex',\n alignItems: 'center',\n justifyContent: 'center',\n margin: 0,\n verticalAlign: 'middle',\n '& > *': {\n display: 'inline-flex',\n alignItems: 'center',\n justifyContent: 'center',\n lineHeight: 0,\n },\n },\n '& .MuiButton-startIcon': {\n marginRight: theme.spacing(0.5),\n },\n '& .MuiButton-endIcon': {\n marginLeft: theme.spacing(0.5),\n },\n});\n\n// Gradients run between two related hues; the named colours pick a specific pair,\n// anything else runs from its own main to its own dark.\nconst GRADIENT_PAIRS: Record<string, (theme: Theme) => [string, string]> = {\n primary: (theme) => [theme.palette.primary.main, theme.palette.secondary.main],\n secondary: (theme) => [theme.palette.secondary.main, theme.palette.primary.main],\n success: (theme) => [theme.palette.success.light, theme.palette.success.dark],\n warning: (theme) => [theme.palette.warning.light, theme.palette.warning.dark],\n danger: (theme) => [theme.palette.error.light, theme.palette.error.dark],\n};\n\nconst gradientStops = (theme: Theme, color: string, palette: ColorPalette): [string, string] =>\n GRADIENT_PAIRS[color]?.(theme) ?? [palette.main, palette.dark];\n\nconst gradientFor = (theme: Theme, color: string, palette: ColorPalette): string => {\n const [from, to] = gradientStops(theme, color, palette);\n return `linear-gradient(135deg, ${from} 0%, ${to} 100%)`;\n};\n\n/**\n * The label colour for `gradient`, which used to be `#fff` outright (FUT-1924).\n *\n * Every other filled variant reads `palette.contrastText`, derived from `main`\n * — so a white-labelled host handing the library a pale brand got dark ink on\n * its solid buttons and white ink on its gradient one. That store had exactly\n * one button in the library whose label it could not read, in LIGHT mode,\n * before dark mode existed anywhere.\n *\n * `contrastText` is still not the right thing to read, and that is why this\n * goes through {@link inkOver}: a gradient is TWO fills, the named pairs run\n * light-to-dark, and an ink chosen against `main` says nothing about the end\n * the gradient actually reaches. Both stops go in, and the ink has to survive\n * the worse of them.\n */\nconst gradientInk = (theme: Theme, color: string, palette: ColorPalette): string =>\n inkOver(gradientStops(theme, color, palette), palette.contrastText || absoluteInk(theme).white);\n\n/**\n * The label colour for the two variants that paint no background of their own.\n *\n * `ghost` and `text` used `palette.main` directly, which is the same mistake\n * the Alert made with its body text: a palette's `main` is chosen to sit UNDER\n * white — it is the fill of a solid button — and it is not chosen to be read AS\n * text. `#6366F1`, the default primary, is 3.6:1 on white and worse on any\n * tinted surface, so a \"Cancelar\" or an \"Agora não\" placed on a coloured panel\n * turned into a smudge. That is precisely where these two variants belong: they\n * exist to be the quiet option NEXT to a solid one, so they are the buttons\n * most likely to be sitting on something other than plain paper.\n *\n * One step darker (lighter, on a dark theme) keeps the hue the caller asked for\n * and buys the contrast back. `main` still drives the hover wash and every\n * bordered variant, so nothing that was already legible moves.\n */\nconst quietInk = (theme: Theme, palette: ColorPalette): string =>\n theme.palette.mode === 'dark' ? lighten(palette.main, 0.35) : darken(palette.main, 0.3);\n\nconst VARIANT_STYLES: Record<\n string,\n (theme: Theme, palette: ColorPalette, color: string) => CSSObject\n> = {\n solid: (theme, palette) => ({\n backgroundColor: palette.main,\n color: palette.contrastText || absoluteInk(theme).white,\n '&:hover': {\n backgroundColor: palette.dark,\n transform: `translateY(${rem(theme, -2)})`,\n boxShadow: theme.shadows[8],\n },\n }),\n // A NEUTRAL outline is a field-row control (\"Mais\", \"Exibir\"), so it rests on\n // the one field border; a coloured outline keeps its colour, which is the\n // point of asking for one.\n outline: (theme, palette, color) => ({\n backgroundColor: 'transparent',\n color: palette.main,\n border: color === 'neutral' ? fieldBorder(theme) : `1px solid ${palette.main}`,\n '&:hover': {\n backgroundColor: alpha(palette.main, 0.1),\n borderColor: palette.dark,\n },\n }),\n ghost: (theme, palette) => ({\n backgroundColor: 'transparent',\n color: quietInk(theme, palette),\n '&:hover': {\n backgroundColor: alpha(palette.main, 0.1),\n },\n }),\n text: (theme, palette) => ({\n backgroundColor: 'transparent',\n color: quietInk(theme, palette),\n border: `none`,\n '&:hover': {\n backgroundColor: alpha(palette.main, 0.1),\n },\n '&.active': {\n backgroundColor: alpha(palette.main, 0.1),\n color: quietInk(theme, palette),\n },\n }),\n glass: (theme, palette) => ({\n backgroundColor: alpha(theme.palette.background.paper, 0.1),\n backdropFilter: `blur(${rem(theme, 20)})`,\n border: `1px solid ${alpha(theme.palette.divider, 0.2)}`,\n color: palette.main,\n '&:hover': {\n backgroundColor: alpha(theme.palette.background.paper, 0.2),\n transform: `translateY(${rem(theme, -2)})`,\n },\n }),\n gradient: (theme, palette, color) => ({\n background: gradientFor(theme, color, palette),\n color: gradientInk(theme, color, palette),\n '&:hover': {\n filter: 'brightness(1.1)',\n transform: `translateY(${rem(theme, -2)})`,\n boxShadow: theme.shadows[12],\n },\n }),\n};\n\nexport const buttonVariantStyles = (\n theme: Theme,\n variant: string | undefined,\n palette: ColorPalette,\n color: string,\n): CSSObject => VARIANT_STYLES[variant ?? '']?.(theme, palette, color) ?? {};\n\n// Glow effect - applied with !important to override variant shadows\nconst glowStyles = (theme: Theme, palette: ColorPalette): CSSObject => ({\n boxShadow: `${rems(theme, 0, 0, 20, 5)} ${alpha(palette.main, 0.6)}, ${rems(theme, 0, 0, 40, 10)} ${alpha(palette.main, 0.3)} !important`,\n filter: 'brightness(1.05)',\n '&:hover': {\n boxShadow: `${rems(theme, 0, 0, 25, 8)} ${alpha(palette.main, 0.7)}, ${rems(theme, 0, 0, 50, 15)} ${alpha(palette.main, 0.4)} !important`,\n filter: 'brightness(1.1)',\n transform: `translateY(${rem(theme, -2)}) scale(1.02)`,\n },\n});\n\n// Pulse animation using pseudo-element\nconst pulseStyles = (theme: Theme, palette: ColorPalette): CSSObject => ({\n position: 'relative',\n overflow: 'visible',\n '&::after': {\n content: '\"\"',\n position: 'absolute',\n top: '50%',\n left: '50%',\n width: '100%',\n height: '100%',\n borderRadius: 'inherit',\n transform: 'translate(-50%, -50%)',\n backgroundColor: palette.main,\n opacity: 0.3,\n animation: `${pulseAnimation(theme)} 2s infinite`,\n pointerEvents: 'none',\n zIndex: -1,\n },\n});\n\n/**\n * glow and pulse are independent flags. The three combinations used to be spelled\n * out one by one, but each is just the union of whichever flags are set.\n */\nexport const buttonEmphasisStyles = (\n theme: Theme,\n palette: ColorPalette,\n glow?: boolean,\n pulse?: boolean,\n): CSSObject => ({\n ...(glow ? glowStyles(theme, palette) : {}),\n ...(pulse ? pulseStyles(theme, palette) : {}),\n});\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;AAAA,SAAS,OAAO,QAAQ,WAAW,eAAe;AAUlD,IAAM,iBAAiB,CAAC,UAAiB;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,wBAMjB,IAAI,OAAO,EAAE,CAAC;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAgBtC,IAAM,QAAQ,CACZ,SACA,KACA,aACW,UAAU,GAAG,KAAK,SAAS,QAAQ,SAAS,GAAG;AAG5D,IAAM,iBAAiB,CAAC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K,OAAO,GAAG,GAAG,IAAI,EAAE,CAAC,IAAI,MAAM,QAAQ,MAAM,GAAG,CAAC;AAAA,EAC5H,QAAQ;AAAA,EACR,WAAW;AAAA,IACT,WAAW,GAAG,KAAK,OAAO,GAAG,GAAG,IAAI,CAAC,CAAC,IAAI,MAAM,QAAQ,MAAM,GAAG,CAAC,KAAK,KAAK,OAAO,GAAG,GAAG,IAAI,EAAE,CAAC,IAAI,MAAM,QAAQ,MAAM,GAAG,CAAC;AAAA,IAC5H,QAAQ;AAAA,IACR,WAAW,cAAc,IAAI,OAAO,EAAE,CAAC;AAAA,EACzC;AACF;AAGA,IAAM,cAAc,CAAC,OAAc,aAAsC;AAAA,EACvE,UAAU;AAAA,EACV,UAAU;AAAA,EACV,YAAY;AAAA,IACV,SAAS;AAAA,IACT,UAAU;AAAA,IACV,KAAK;AAAA,IACL,MAAM;AAAA,IACN,OAAO;AAAA,IACP,QAAQ;AAAA,IACR,cAAc;AAAA,IACd,WAAW;AAAA,IACX,iBAAiB,QAAQ;AAAA,IACzB,SAAS;AAAA,IACT,WAAW,GAAG,eAAe,KAAK,CAAC;AAAA,IACnC,eAAe;AAAA,IACf,QAAQ;AAAA,EACV;AACF;AAMO,IAAM,uBAAuB,CAClC,OACA,SACA,MACA,WACe;AAAA,EACf,GAAI,OAAO,WAAW,OAAO,OAAO,IAAI,CAAC;AAAA,EACzC,GAAI,QAAQ,YAAY,OAAO,OAAO,IAAI,CAAC;AAC7C;","names":[]}
1
+ {"version":3,"sources":["../src/components/form/Button/Button.styles.ts"],"sourcesContent":["import { alpha, darken, keyframes, lighten } from '@mui/material/styles/index.js';\nimport type { CSSObject, Theme } from '@mui/material/styles/index.js';\n\nimport { BUTTON_SIZES, ICON_ONLY_PADDING as ICON_ONLY_PADDING_PX } from './Button.metrics';\nimport { asFieldSize, fieldBorder, fieldHeight } from '../../../tokens/field-height';\nimport { absoluteInk, controlNeutral } from '../../../tokens/ink';\nimport { rem, rems } from '../../../tokens/relative';\nimport { inkOver } from '../../../tokens/theme';\n\n// The pulse ring, its spread through the theme's type scale.\nconst pulseAnimation = (theme: Theme) => keyframes`\n 0% {\n box-shadow: 0 0 0 0 currentColor;\n opacity: 1;\n }\n 70% {\n box-shadow: 0 0 0 ${rem(theme, 15)} currentColor;\n opacity: 0;\n }\n 100% {\n box-shadow: 0 0 0 0 currentColor;\n opacity: 0;\n }\n`;\n\ninterface ColorPalette {\n main: string;\n dark: string;\n light: string;\n contrastText: string;\n}\n\nconst shade = (\n palette: ColorPalette | undefined,\n key: 'dark' | 'light',\n fallback: ColorPalette,\n): string => palette?.[key] || palette?.main || fallback[key];\n\n/** `neutral` has no MUI palette entry, so its four shades come from grey. */\nconst neutralPalette = (theme: Theme): ColorPalette => controlNeutral(theme);\n\nexport const getColorFromTheme = (theme: Theme, color: string): ColorPalette => {\n if (color === 'neutral') return neutralPalette(theme);\n\n const colorMap: Record<string, ColorPalette> = {\n primary: theme.palette.primary as ColorPalette,\n secondary: theme.palette.secondary as ColorPalette,\n success: theme.palette.success as ColorPalette,\n warning: theme.palette.warning as ColorPalette,\n info: theme.palette.info as ColorPalette,\n danger: theme.palette.error as ColorPalette,\n };\n\n const fallback = theme.palette.primary as ColorPalette;\n const palette = colorMap[color] || fallback;\n\n // Ensure palette has required properties\n return {\n main: palette?.main || fallback.main,\n dark: shade(palette, 'dark', fallback),\n light: shade(palette, 'light', fallback),\n contrastText: palette?.contrastText || absoluteInk(theme).white,\n };\n};\n\n/** A size's padding and its type in design px, read through the type scale. */\ninterface WebButtonSize {\n paddingYPx: number;\n paddingXPx: number;\n fontPx: number;\n}\n\n// Derived from `Button.metrics.ts`, which the native `Button` reads too — one\n// table, so a size cannot differ between the renderers.\nconst SIZE_MAP: Record<string, WebButtonSize> = Object.fromEntries(\n Object.entries(BUTTON_SIZES).map(([size, m]) => [\n size,\n { paddingYPx: m.paddingVertical, paddingXPx: m.paddingHorizontal, fontPx: m.fontSize },\n ]),\n);\n\n/** What an unrecognised size falls back to, named so indexing can never be undefined. */\nconst DEFAULT_SIZE: WebButtonSize = SIZE_MAP.md as WebButtonSize;\n\nconst sizeOf = (size: string): WebButtonSize => SIZE_MAP[size] ?? DEFAULT_SIZE;\n\n/**\n * A BUTTON THAT IS ONLY AN ICON IS SQUARE.\n *\n * MUI puts a 64px `min-width` on every button, which is right for a label and\n * wrong for a glyph: three dots in a 64px slab reads as a button that failed to\n * load its text, and at the end of a dense row it claims space the row needs.\n * The horizontal padding goes too — a square of padding round a square glyph —\n * and so does the gap MUI reserves beside a start/end icon, since there is\n * nothing on the other side of it.\n *\n * Derived, not declared: a button with an `icon` and no children can only be an\n * icon button, so no consumer has to opt in and none can forget to.\n */\nconst iconOnlyPadding = (theme: Theme, size: string): string => {\n const bySize: Record<string, number> = ICON_ONLY_PADDING_PX;\n return rem(theme, bySize[size] ?? ICON_ONLY_PADDING_PX.md);\n};\n\nconst iconOnlySize = (theme: Theme, size: string): CSSObject => ({\n minWidth: 0,\n padding: iconOnlyPadding(theme, size),\n fontSize: rem(theme, sizeOf(size).fontPx),\n '& .MuiButton-startIcon, & .MuiButton-endIcon': { margin: 0 },\n});\n\n/**\n * The size styles for a button, square when it carries nothing but an icon.\n *\n * The HEIGHT is the theme's field height for the size (`tokens/field-height`),\n * so a button stands level with the field beside it: the vertical padding goes\n * and the label is centred in a box at least that tall — a label that wraps\n * still grows it. An icon-only button is that height on every side.\n */\nexport const buttonSize =\n (size: string, iconOnly: boolean) =>\n (theme: Theme): CSSObject => {\n const height = fieldHeight(theme, asFieldSize(size));\n if (iconOnly) return { ...iconOnlySize(theme, size), padding: 0, minWidth: height, minHeight: height };\n const { paddingYPx, paddingXPx, fontPx } = sizeOf(size);\n return { padding: rems(theme, paddingYPx, paddingXPx), fontSize: rem(theme, fontPx), minHeight: height, paddingTop: 0, paddingBottom: 0 };\n };\n\n/**\n * MUI centres icons with a negative margin that fights our own padding, so the\n * flex alignment is restated here rather than fought with `!important`.\n */\nexport const iconAlignmentStyles = (theme: Theme): CSSObject => ({\n '& .MuiButton-startIcon, & .MuiButton-endIcon': {\n display: 'inline-flex',\n alignItems: 'center',\n justifyContent: 'center',\n margin: 0,\n verticalAlign: 'middle',\n '& > *': {\n display: 'inline-flex',\n alignItems: 'center',\n justifyContent: 'center',\n lineHeight: 0,\n },\n },\n '& .MuiButton-startIcon': {\n marginRight: theme.spacing(0.5),\n },\n '& .MuiButton-endIcon': {\n marginLeft: theme.spacing(0.5),\n },\n});\n\n// Gradients run between two related hues; the named colours pick a specific pair,\n// anything else runs from its own main to its own dark.\nconst GRADIENT_PAIRS: Record<string, (theme: Theme) => [string, string]> = {\n primary: (theme) => [theme.palette.primary.main, theme.palette.secondary.main],\n secondary: (theme) => [theme.palette.secondary.main, theme.palette.primary.main],\n success: (theme) => [theme.palette.success.light, theme.palette.success.dark],\n warning: (theme) => [theme.palette.warning.light, theme.palette.warning.dark],\n danger: (theme) => [theme.palette.error.light, theme.palette.error.dark],\n};\n\nconst gradientStops = (theme: Theme, color: string, palette: ColorPalette): [string, string] =>\n GRADIENT_PAIRS[color]?.(theme) ?? [palette.main, palette.dark];\n\nconst gradientFor = (theme: Theme, color: string, palette: ColorPalette): string => {\n const [from, to] = gradientStops(theme, color, palette);\n return `linear-gradient(135deg, ${from} 0%, ${to} 100%)`;\n};\n\n/**\n * The label colour for `gradient`, which used to be `#fff` outright (FUT-1924).\n *\n * Every other filled variant reads `palette.contrastText`, derived from `main`\n * — so a white-labelled host handing the library a pale brand got dark ink on\n * its solid buttons and white ink on its gradient one. That store had exactly\n * one button in the library whose label it could not read, in LIGHT mode,\n * before dark mode existed anywhere.\n *\n * `contrastText` is still not the right thing to read, and that is why this\n * goes through {@link inkOver}: a gradient is TWO fills, the named pairs run\n * light-to-dark, and an ink chosen against `main` says nothing about the end\n * the gradient actually reaches. Both stops go in, and the ink has to survive\n * the worse of them.\n */\nconst gradientInk = (theme: Theme, color: string, palette: ColorPalette): string =>\n inkOver(gradientStops(theme, color, palette), palette.contrastText || absoluteInk(theme).white);\n\n/**\n * The label colour for the two variants that paint no background of their own.\n *\n * `ghost` and `text` used `palette.main` directly, which is the same mistake\n * the Alert made with its body text: a palette's `main` is chosen to sit UNDER\n * white — it is the fill of a solid button — and it is not chosen to be read AS\n * text. `#6366F1`, the default primary, is 3.6:1 on white and worse on any\n * tinted surface, so a \"Cancelar\" or an \"Agora não\" placed on a coloured panel\n * turned into a smudge. That is precisely where these two variants belong: they\n * exist to be the quiet option NEXT to a solid one, so they are the buttons\n * most likely to be sitting on something other than plain paper.\n *\n * One step darker (lighter, on a dark theme) keeps the hue the caller asked for\n * and buys the contrast back. `main` still drives the hover wash and every\n * bordered variant, so nothing that was already legible moves.\n */\nconst quietInk = (theme: Theme, palette: ColorPalette): string =>\n theme.palette.mode === 'dark' ? lighten(palette.main, 0.35) : darken(palette.main, 0.3);\n\nconst VARIANT_STYLES: Record<\n string,\n (theme: Theme, palette: ColorPalette, color: string) => CSSObject\n> = {\n solid: (theme, palette) => ({\n backgroundColor: palette.main,\n color: palette.contrastText || absoluteInk(theme).white,\n '&:hover': {\n backgroundColor: palette.dark,\n transform: `translateY(${rem(theme, -2)})`,\n boxShadow: theme.shadows[8],\n },\n }),\n // A NEUTRAL outline is a field-row control (\"Mais\", \"Exibir\", \"Cancelar\"), so\n // it rests on the one field border and writes in the theme's own text ink —\n // a ROLE, which turns with the mode. It used to write in grey 700, a step on\n // a ramp MUI keeps the same in dark: dark on dark, 2.18:1 on a dark bar, so a\n // live \"Descartar\" read as disabled. A coloured outline keeps its colour,\n // which is the point of asking for one.\n // Its hover draws from the same role, so it does not dim to grey 800 on a dark ground.\n outline: (theme, palette, color) => {\n const ink = color === 'neutral' ? theme.palette.text.primary : palette.main;\n return {\n backgroundColor: 'transparent',\n color: ink,\n border: color === 'neutral' ? fieldBorder(theme) : `1px solid ${palette.main}`,\n '&:hover': {\n backgroundColor: alpha(ink, 0.1),\n borderColor: color === 'neutral' ? theme.palette.text.secondary : palette.dark,\n },\n };\n },\n ghost: (theme, palette) => ({\n backgroundColor: 'transparent',\n color: quietInk(theme, palette),\n '&:hover': {\n backgroundColor: alpha(palette.main, 0.1),\n },\n }),\n text: (theme, palette) => ({\n backgroundColor: 'transparent',\n color: quietInk(theme, palette),\n border: `none`,\n '&:hover': {\n backgroundColor: alpha(palette.main, 0.1),\n },\n '&.active': {\n backgroundColor: alpha(palette.main, 0.1),\n color: quietInk(theme, palette),\n },\n }),\n glass: (theme, palette) => ({\n backgroundColor: alpha(theme.palette.background.paper, 0.1),\n backdropFilter: `blur(${rem(theme, 20)})`,\n border: `1px solid ${alpha(theme.palette.divider, 0.2)}`,\n color: palette.main,\n '&:hover': {\n backgroundColor: alpha(theme.palette.background.paper, 0.2),\n transform: `translateY(${rem(theme, -2)})`,\n },\n }),\n gradient: (theme, palette, color) => ({\n background: gradientFor(theme, color, palette),\n color: gradientInk(theme, color, palette),\n '&:hover': {\n filter: 'brightness(1.1)',\n transform: `translateY(${rem(theme, -2)})`,\n boxShadow: theme.shadows[12],\n },\n }),\n};\n\nexport const buttonVariantStyles = (\n theme: Theme,\n variant: string | undefined,\n palette: ColorPalette,\n color: string,\n): CSSObject => VARIANT_STYLES[variant ?? '']?.(theme, palette, color) ?? {};\n\n// Glow effect - applied with !important to override variant shadows\nconst glowStyles = (theme: Theme, palette: ColorPalette): CSSObject => ({\n boxShadow: `${rems(theme, 0, 0, 20, 5)} ${alpha(palette.main, 0.6)}, ${rems(theme, 0, 0, 40, 10)} ${alpha(palette.main, 0.3)} !important`,\n filter: 'brightness(1.05)',\n '&:hover': {\n boxShadow: `${rems(theme, 0, 0, 25, 8)} ${alpha(palette.main, 0.7)}, ${rems(theme, 0, 0, 50, 15)} ${alpha(palette.main, 0.4)} !important`,\n filter: 'brightness(1.1)',\n transform: `translateY(${rem(theme, -2)}) scale(1.02)`,\n },\n});\n\n// Pulse animation using pseudo-element\nconst pulseStyles = (theme: Theme, palette: ColorPalette): CSSObject => ({\n position: 'relative',\n overflow: 'visible',\n '&::after': {\n content: '\"\"',\n position: 'absolute',\n top: '50%',\n left: '50%',\n width: '100%',\n height: '100%',\n borderRadius: 'inherit',\n transform: 'translate(-50%, -50%)',\n backgroundColor: palette.main,\n opacity: 0.3,\n animation: `${pulseAnimation(theme)} 2s infinite`,\n pointerEvents: 'none',\n zIndex: -1,\n },\n});\n\n/**\n * glow and pulse are independent flags. The three combinations used to be spelled\n * out one by one, but each is just the union of whichever flags are set.\n */\nexport const buttonEmphasisStyles = (\n theme: Theme,\n palette: ColorPalette,\n glow?: boolean,\n pulse?: boolean,\n): CSSObject => ({\n ...(glow ? glowStyles(theme, palette) : {}),\n ...(pulse ? pulseStyles(theme, palette) : {}),\n});\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;AAAA,SAAS,OAAO,QAAQ,WAAW,eAAe;AAUlD,IAAM,iBAAiB,CAAC,UAAiB;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,wBAMjB,IAAI,OAAO,EAAE,CAAC;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAgBtC,IAAM,QAAQ,CACZ,SACA,KACA,aACW,UAAU,GAAG,KAAK,SAAS,QAAQ,SAAS,GAAG;AAG5D,IAAM,iBAAiB,CAAC,UAA+B,eAAe,KAAK;AAEpE,IAAM,oBAAoB,CAAC,OAAc,UAAgC;AAC9E,MAAI,UAAU,UAAW,QAAO,eAAe,KAAK;AAEpD,QAAM,WAAyC;AAAA,IAC7C,SAAS,MAAM,QAAQ;AAAA,IACvB,WAAW,MAAM,QAAQ;AAAA,IACzB,SAAS,MAAM,QAAQ;AAAA,IACvB,SAAS,MAAM,QAAQ;AAAA,IACvB,MAAM,MAAM,QAAQ;AAAA,IACpB,QAAQ,MAAM,QAAQ;AAAA,EACxB;AAEA,QAAM,WAAW,MAAM,QAAQ;AAC/B,QAAM,UAAU,SAAS,KAAK,KAAK;AAGnC,SAAO;AAAA,IACL,MAAM,SAAS,QAAQ,SAAS;AAAA,IAChC,MAAM,MAAM,SAAS,QAAQ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AI,OAAO,EAAE,CAAC;AAAA,EACzC;AACF;AAGA,IAAM,cAAc,CAAC,OAAc,aAAsC;AAAA,EACvE,UAAU;AAAA,EACV,UAAU;AAAA,EACV,YAAY;AAAA,IACV,SAAS;AAAA,IACT,UAAU;AAAA,IACV,KAAK;AAAA,IACL,MAAM;AAAA,IACN,OAAO;AAAA,IACP,QAAQ;AAAA,IACR,cAAc;AAAA,IACd,WAAW;AAAA,IACX,iBAAiB,QAAQ;AAAA,IACzB,SAAS;AAAA,IACT,WAAW,GAAG,eAAe,KAAK,CAAC;AAAA,IACnC,eAAe;AAAA,IACf,QAAQ;AAAA,EACV;AACF;AAMO,IAAM,uBAAuB,CAClC,OACA,SACA,MACA,WACe;AAAA,EACf,GAAI,OAAO,WAAW,OAAO,OAAO,IAAI,CAAC;AAAA,EACzC,GAAI,QAAQ,YAAY,OAAO,OAAO,IAAI,CAAC;AAC7C;","names":[]}
@@ -25,7 +25,7 @@ import {
25
25
  } from "./chunk-WEBEOBN5.js";
26
26
  import {
27
27
  Button
28
- } from "./chunk-JE6FNSQV.js";
28
+ } from "./chunk-W4O3BTD5.js";
29
29
  import {
30
30
  Text
31
31
  } from "./chunk-AJBRO76D.js";
@@ -268,4 +268,4 @@ function SaveViewModal({
268
268
  export {
269
269
  SaveViewModal
270
270
  };
271
- //# sourceMappingURL=chunk-6J27G2HT.js.map
271
+ //# sourceMappingURL=chunk-KYFRZX5C.js.map
@@ -9,7 +9,7 @@ import {
9
9
  } from "./chunk-6DPAWXZ3.js";
10
10
  import {
11
11
  Button
12
- } from "./chunk-JE6FNSQV.js";
12
+ } from "./chunk-W4O3BTD5.js";
13
13
  import {
14
14
  rem,
15
15
  sxRem
@@ -166,4 +166,4 @@ export {
166
166
  togglePillValues,
167
167
  cardGridTracks
168
168
  };
169
- //# sourceMappingURL=chunk-NQZNV3VR.js.map
169
+ //# sourceMappingURL=chunk-LCVBED7G.js.map
@@ -3,7 +3,7 @@ import {
3
3
  } from "./chunk-KHG57NAE.js";
4
4
  import {
5
5
  createConfirmButton
6
- } from "./chunk-L4HUZCKV.js";
6
+ } from "./chunk-XOCWAQOA.js";
7
7
  import {
8
8
  Dialog,
9
9
  DialogContent
@@ -16,7 +16,7 @@ import {
16
16
  } from "./chunk-WEBEOBN5.js";
17
17
  import {
18
18
  Button
19
- } from "./chunk-JE6FNSQV.js";
19
+ } from "./chunk-W4O3BTD5.js";
20
20
  import {
21
21
  Text
22
22
  } from "./chunk-AJBRO76D.js";
@@ -128,4 +128,4 @@ function ManageViewsDialog({
128
128
  export {
129
129
  ManageViewsDialog
130
130
  };
131
- //# sourceMappingURL=chunk-GRRW5NSR.js.map
131
+ //# sourceMappingURL=chunk-NHAB477Y.js.map
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  SaveViewModal
3
- } from "./chunk-6J27G2HT.js";
3
+ } from "./chunk-KYFRZX5C.js";
4
4
  import {
5
5
  ManageViewsDialog
6
- } from "./chunk-GRRW5NSR.js";
6
+ } from "./chunk-NHAB477Y.js";
7
7
  import {
8
8
  useDataViewsCopy
9
9
  } from "./chunk-KHG57NAE.js";
@@ -121,4 +121,4 @@ export {
121
121
  ViewsMenuSlot,
122
122
  ViewDialogs
123
123
  };
124
- //# sourceMappingURL=chunk-X7HCS3HP.js.map
124
+ //# sourceMappingURL=chunk-PSYX2KEQ.js.map
@@ -13,7 +13,7 @@ import {
13
13
  } from "./chunk-J2QIICWP.js";
14
14
  import {
15
15
  Button
16
- } from "./chunk-JE6FNSQV.js";
16
+ } from "./chunk-W4O3BTD5.js";
17
17
  import {
18
18
  Text
19
19
  } from "./chunk-AJBRO76D.js";
@@ -217,4 +217,4 @@ export {
217
217
  SocialLoginButton,
218
218
  SocialLoginContainer
219
219
  };
220
- //# sourceMappingURL=chunk-3UQMIFPA.js.map
220
+ //# sourceMappingURL=chunk-QNXCCBRW.js.map
@@ -6,7 +6,7 @@ import {
6
6
  } from "./chunk-6DPAWXZ3.js";
7
7
  import {
8
8
  Button
9
- } from "./chunk-JE6FNSQV.js";
9
+ } from "./chunk-W4O3BTD5.js";
10
10
  import {
11
11
  Text
12
12
  } from "./chunk-AJBRO76D.js";
@@ -167,4 +167,4 @@ function DataViewsExportMenu({
167
167
  export {
168
168
  DataViewsExportMenu
169
169
  };
170
- //# sourceMappingURL=chunk-JA6GKU65.js.map
170
+ //# sourceMappingURL=chunk-SAVNRXHT.js.map
@@ -11,7 +11,7 @@ import {
11
11
  } from "./chunk-TP3XKS72.js";
12
12
  import {
13
13
  Button
14
- } from "./chunk-JE6FNSQV.js";
14
+ } from "./chunk-W4O3BTD5.js";
15
15
 
16
16
  // src/components/feedback/NotificationStatusNotice/NotificationStatusNotice.tsx
17
17
  import Box from "@mui/material/Box/index.js";
@@ -106,4 +106,4 @@ NotificationStatusNotice.displayName = "NotificationStatusNotice";
106
106
  export {
107
107
  NotificationStatusNotice
108
108
  };
109
- //# sourceMappingURL=chunk-WQBHJXXW.js.map
109
+ //# sourceMappingURL=chunk-TSHX4Q6M.js.map
@@ -3,7 +3,7 @@ import {
3
3
  } from "./chunk-2X2G75MV.js";
4
4
  import {
5
5
  Button
6
- } from "./chunk-JE6FNSQV.js";
6
+ } from "./chunk-W4O3BTD5.js";
7
7
 
8
8
  // src/components/data-display/CardKit/CardKebab.tsx
9
9
  import { jsx } from "react/jsx-runtime";
@@ -25,4 +25,4 @@ function CardKebab({
25
25
  export {
26
26
  CardKebab
27
27
  };
28
- //# sourceMappingURL=chunk-XGIJGIN3.js.map
28
+ //# sourceMappingURL=chunk-U5NRT6JR.js.map
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  DeleteViewDialog
3
- } from "./chunk-H7R6UKOE.js";
3
+ } from "./chunk-YWIVVKCJ.js";
4
4
  import {
5
5
  DataViewsGrid
6
- } from "./chunk-USZMUOI6.js";
6
+ } from "./chunk-6DJQKK6Q.js";
7
7
  import {
8
8
  viewStateKey
9
9
  } from "./chunk-ZOLAYP2D.js";
@@ -14,7 +14,7 @@ import {
14
14
  import {
15
15
  ViewDialogs,
16
16
  ViewMutationErrorAlert
17
- } from "./chunk-X7HCS3HP.js";
17
+ } from "./chunk-PSYX2KEQ.js";
18
18
  import {
19
19
  useSavedViewsController
20
20
  } from "./chunk-HR7YTBR7.js";
@@ -166,4 +166,4 @@ function renderViewDialogs(ctl, fields, columns, views, testIdPrefix, onSaved) {
166
166
  export {
167
167
  DataViewsTableBase
168
168
  };
169
- //# sourceMappingURL=chunk-ZUQX7XHJ.js.map
169
+ //# sourceMappingURL=chunk-UDC5M3P2.js.map
@@ -10,7 +10,7 @@ import {
10
10
  } from "./chunk-6DPAWXZ3.js";
11
11
  import {
12
12
  Button
13
- } from "./chunk-JE6FNSQV.js";
13
+ } from "./chunk-W4O3BTD5.js";
14
14
  import {
15
15
  Text
16
16
  } from "./chunk-AJBRO76D.js";
@@ -184,4 +184,4 @@ function MoreFilters({
184
184
  export {
185
185
  MoreFilters
186
186
  };
187
- //# sourceMappingURL=chunk-QJWIX4YZ.js.map
187
+ //# sourceMappingURL=chunk-VE7QYG3W.js.map
@@ -6,7 +6,7 @@ import {
6
6
  } from "./chunk-J2QIICWP.js";
7
7
  import {
8
8
  Button
9
- } from "./chunk-JE6FNSQV.js";
9
+ } from "./chunk-W4O3BTD5.js";
10
10
  import {
11
11
  Text
12
12
  } from "./chunk-AJBRO76D.js";
@@ -74,4 +74,4 @@ export {
74
74
  UserAvatar,
75
75
  UserMenu
76
76
  };
77
- //# sourceMappingURL=chunk-4JZ6XDVA.js.map
77
+ //# sourceMappingURL=chunk-VLRHESS2.js.map
@@ -4,7 +4,7 @@ import {
4
4
  buttonVariantStyles,
5
5
  getColorFromTheme,
6
6
  iconAlignmentStyles
7
- } from "./chunk-T2UP4XJF.js";
7
+ } from "./chunk-JTIKY2D3.js";
8
8
  import {
9
9
  BUTTON_ICON_GLYPH_SIZE
10
10
  } from "./chunk-G2FUZALJ.js";
@@ -128,4 +128,4 @@ var Button = ButtonRoot;
128
128
  export {
129
129
  Button
130
130
  };
131
- //# sourceMappingURL=chunk-JE6FNSQV.js.map
131
+ //# sourceMappingURL=chunk-W4O3BTD5.js.map
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  partTestId
3
- } from "./chunk-4PYEDDYV.js";
3
+ } from "./chunk-3AQ25I6D.js";
4
4
  import {
5
5
  SETTING_CARD_OPEN_ATTR,
6
6
  withCallerSx
@@ -79,4 +79,4 @@ export {
79
79
  settingGridStyles,
80
80
  SettingGrid
81
81
  };
82
- //# sourceMappingURL=chunk-PPITQH3C.js.map
82
+ //# sourceMappingURL=chunk-WA36P74Q.js.map