@carto/meridian-ds 2.4.0 → 2.5.2

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 (242) hide show
  1. package/CHANGELOG.md +16 -0
  2. package/dist/{Link-_lzRY1Ay.cjs → Link-CrGCrul0.cjs} +1 -1
  3. package/dist/{Link-D5fKicEY.js → Link-RfbgGzdR.js} +1 -1
  4. package/dist/{MenuItem-badiQq9A.js → MenuItem-ZNdBUBvt.js} +1 -1
  5. package/dist/{MenuItem-YpFpuljU.cjs → MenuItem-nokUtiks.cjs} +1 -1
  6. package/dist/components/index.cjs +95 -3
  7. package/dist/components/index.js +97 -5
  8. package/dist/theme/index.cjs +305 -305
  9. package/dist/theme/index.js +306 -306
  10. package/dist/types/components/molecules/Tag.d.ts +1 -1
  11. package/dist/types/components/organisms/CodeArea/CodeAreaInput.d.ts.map +1 -1
  12. package/dist/types/components/organisms/CodeArea/index.d.ts +3 -1
  13. package/dist/types/components/organisms/CodeArea/index.d.ts.map +1 -1
  14. package/dist/types/components/organisms/CodeArea/useCodeAreaAutocompletion.d.ts +62 -0
  15. package/dist/types/components/organisms/CodeArea/useCodeAreaAutocompletion.d.ts.map +1 -0
  16. package/dist/types/components/organisms/CodeArea/utils.d.ts +7 -0
  17. package/dist/types/components/organisms/CodeArea/utils.d.ts.map +1 -1
  18. package/dist/types/components/organisms/Dialog/DialogPaper.d.ts +1 -1
  19. package/dist/types/theme/carto-theme.d.ts +5 -5
  20. package/dist/types/theme/carto-theme.d.ts.map +1 -1
  21. package/dist/types/theme/components/buttons.d.ts.map +1 -0
  22. package/dist/types/theme/components/data-display.d.ts.map +1 -0
  23. package/dist/types/theme/components/date-pickers.d.ts.map +1 -0
  24. package/dist/types/theme/components/feedback.d.ts.map +1 -0
  25. package/dist/types/theme/components/forms.d.ts.map +1 -0
  26. package/dist/types/theme/components/navigation.d.ts.map +1 -0
  27. package/dist/types/theme/components/stories/Accordion.stories.d.ts +56 -0
  28. package/dist/types/theme/components/stories/Accordion.stories.d.ts.map +1 -0
  29. package/dist/types/theme/components/stories/Breadcrumb.stories.d.ts +58 -0
  30. package/dist/types/theme/components/stories/Breadcrumb.stories.d.ts.map +1 -0
  31. package/dist/types/theme/components/stories/ButtonGroup.stories.d.ts +118 -0
  32. package/dist/types/theme/components/stories/ButtonGroup.stories.d.ts.map +1 -0
  33. package/dist/types/theme/components/stories/Checkbox.stories.d.ts +93 -0
  34. package/dist/types/theme/components/stories/Checkbox.stories.d.ts.map +1 -0
  35. package/dist/types/theme/components/stories/Chip.stories.d.ts +311 -0
  36. package/dist/types/theme/components/stories/Chip.stories.d.ts.map +1 -0
  37. package/dist/types/theme/components/stories/Divider.stories.d.ts +43 -0
  38. package/dist/types/theme/components/stories/Divider.stories.d.ts.map +1 -0
  39. package/dist/types/theme/components/stories/FAB.stories.d.ts +82 -0
  40. package/dist/types/theme/components/stories/FAB.stories.d.ts.map +1 -0
  41. package/dist/types/theme/components/stories/HelperText.stories.d.ts +48 -0
  42. package/dist/types/theme/components/stories/HelperText.stories.d.ts.map +1 -0
  43. package/dist/types/theme/components/stories/InputLabel.stories.d.ts +56 -0
  44. package/dist/types/theme/components/stories/InputLabel.stories.d.ts.map +1 -0
  45. package/dist/types/theme/components/stories/List.stories.d.ts +62 -0
  46. package/dist/types/theme/components/stories/List.stories.d.ts.map +1 -0
  47. package/dist/types/theme/components/stories/Paper.stories.d.ts +48 -0
  48. package/dist/types/theme/components/stories/Paper.stories.d.ts.map +1 -0
  49. package/dist/types/theme/components/stories/Progress.stories.d.ts +78 -0
  50. package/dist/types/theme/components/stories/Progress.stories.d.ts.map +1 -0
  51. package/dist/types/theme/components/stories/Radio.stories.d.ts +75 -0
  52. package/dist/types/theme/components/stories/Radio.stories.d.ts.map +1 -0
  53. package/dist/types/theme/components/stories/Slider.stories.d.ts +217 -0
  54. package/dist/types/theme/components/stories/Slider.stories.d.ts.map +1 -0
  55. package/dist/types/theme/components/stories/Switch.stories.d.ts +58 -0
  56. package/dist/types/theme/components/stories/Switch.stories.d.ts.map +1 -0
  57. package/dist/types/theme/components/stories/Table.stories.d.ts +44 -0
  58. package/dist/types/theme/components/stories/Table.stories.d.ts.map +1 -0
  59. package/dist/types/theme/components/stories/TablePagination.stories.d.ts +27 -0
  60. package/dist/types/theme/components/stories/TablePagination.stories.d.ts.map +1 -0
  61. package/dist/types/theme/components/stories/Tabs.stories.d.ts +133 -0
  62. package/dist/types/theme/components/stories/Tabs.stories.d.ts.map +1 -0
  63. package/dist/types/theme/components/stories/TextArea.stories.d.ts +180 -0
  64. package/dist/types/theme/components/stories/TextArea.stories.d.ts.map +1 -0
  65. package/dist/types/theme/components/stories/TextField.stories.d.ts +198 -0
  66. package/dist/types/theme/components/stories/TextField.stories.d.ts.map +1 -0
  67. package/dist/types/theme/components/stories/ToggleButton.stories.d.ts +57 -0
  68. package/dist/types/theme/components/stories/ToggleButton.stories.d.ts.map +1 -0
  69. package/dist/types/theme/components/stories/Tooltip.stories.d.ts +73 -0
  70. package/dist/types/theme/components/stories/Tooltip.stories.d.ts.map +1 -0
  71. package/dist/types/theme/components/surfaces.d.ts.map +1 -0
  72. package/dist/types/theme/{sections → helpers}/css-baseline.d.ts.map +1 -1
  73. package/dist/types/theme/helpers/theme-constants.d.ts.map +1 -0
  74. package/dist/types/theme/helpers/theme-utils.d.ts.map +1 -0
  75. package/dist/types/theme/index.d.ts +1 -1
  76. package/dist/types/theme/index.d.ts.map +1 -1
  77. package/dist/types/theme/tokens/ColorTokens.stories.d.ts +17 -0
  78. package/dist/types/theme/tokens/ColorTokens.stories.d.ts.map +1 -0
  79. package/dist/types/theme/tokens/LayoutTokens.stories.d.ts +30 -0
  80. package/dist/types/theme/tokens/LayoutTokens.stories.d.ts.map +1 -0
  81. package/dist/types/theme/tokens/TypographyTokens.stories.d.ts +17 -0
  82. package/dist/types/theme/tokens/TypographyTokens.stories.d.ts.map +1 -0
  83. package/dist/types/theme/{sections/palette.d.ts → tokens/colors.d.ts} +1 -1
  84. package/dist/types/theme/tokens/colors.d.ts.map +1 -0
  85. package/dist/types/theme/tokens/shadows.d.ts.map +1 -0
  86. package/dist/types/theme/{sections → tokens}/typography.d.ts +5 -5
  87. package/dist/types/theme/{sections → tokens}/typography.d.ts.map +1 -1
  88. package/dist/types/utils/formatterUtils.d.ts +9 -0
  89. package/dist/types/utils/formatterUtils.d.ts.map +1 -1
  90. package/dist/types/widgets/BarWidgetUI/BarWidgetUI.stories.d.ts +126 -0
  91. package/dist/types/widgets/BarWidgetUI/BarWidgetUI.stories.d.ts.map +1 -0
  92. package/dist/types/widgets/BarWidgetUI/BarWidgetUI.test.d.ts +2 -0
  93. package/dist/types/widgets/BarWidgetUI/BarWidgetUI.test.d.ts.map +1 -0
  94. package/dist/types/widgets/BarWidgetUI/index.d.ts +3 -0
  95. package/dist/types/widgets/BarWidgetUI/index.d.ts.map +1 -0
  96. package/dist/types/widgets/CategoryWidgetUI/CategoryWidgetUI.stories.d.ts +128 -0
  97. package/dist/types/widgets/CategoryWidgetUI/CategoryWidgetUI.stories.d.ts.map +1 -0
  98. package/dist/types/widgets/CategoryWidgetUI/CategoryWidgetUI.styled.d.ts +8 -8
  99. package/dist/types/widgets/CategoryWidgetUI/CategoryWidgetUI.styled.d.ts.map +1 -1
  100. package/dist/types/widgets/CategoryWidgetUI/CategoryWidgetUI.test.d.ts +2 -0
  101. package/dist/types/widgets/CategoryWidgetUI/CategoryWidgetUI.test.d.ts.map +1 -0
  102. package/dist/types/widgets/CategoryWidgetUI/index.d.ts +3 -0
  103. package/dist/types/widgets/CategoryWidgetUI/index.d.ts.map +1 -0
  104. package/dist/types/widgets/ChartLegend.d.ts.map +1 -1
  105. package/dist/types/widgets/FeatureSelectionWidgetUI/FeatureSelectionWidgetUI.stories.d.ts +74 -0
  106. package/dist/types/widgets/FeatureSelectionWidgetUI/FeatureSelectionWidgetUI.stories.d.ts.map +1 -0
  107. package/dist/types/widgets/FeatureSelectionWidgetUI/FeatureSelectionWidgetUI.test.d.ts +2 -0
  108. package/dist/types/widgets/FeatureSelectionWidgetUI/FeatureSelectionWidgetUI.test.d.ts.map +1 -0
  109. package/dist/types/widgets/FormulaWidgetUI/FormulaWidgetUI.stories.d.ts +68 -0
  110. package/dist/types/widgets/FormulaWidgetUI/FormulaWidgetUI.stories.d.ts.map +1 -0
  111. package/dist/types/widgets/FormulaWidgetUI/FormulaWidgetUI.test.d.ts +2 -0
  112. package/dist/types/widgets/FormulaWidgetUI/FormulaWidgetUI.test.d.ts.map +1 -0
  113. package/dist/types/widgets/FormulaWidgetUI/index.d.ts +3 -0
  114. package/dist/types/widgets/FormulaWidgetUI/index.d.ts.map +1 -0
  115. package/dist/types/widgets/HistogramWidgetUI/HistogramWidgetUI.stories.d.ts +114 -0
  116. package/dist/types/widgets/HistogramWidgetUI/HistogramWidgetUI.stories.d.ts.map +1 -0
  117. package/dist/types/widgets/HistogramWidgetUI/HistogramWidgetUI.test.d.ts +2 -0
  118. package/dist/types/widgets/HistogramWidgetUI/HistogramWidgetUI.test.d.ts.map +1 -0
  119. package/dist/types/widgets/HistogramWidgetUI/index.d.ts +3 -0
  120. package/dist/types/widgets/HistogramWidgetUI/index.d.ts.map +1 -0
  121. package/dist/types/widgets/{NoDataAlert.d.ts → NoDataAlert/NoDataAlert.d.ts} +1 -1
  122. package/dist/types/widgets/NoDataAlert/NoDataAlert.d.ts.map +1 -0
  123. package/dist/types/widgets/NoDataAlert/NoDataAlert.stories.d.ts +34 -0
  124. package/dist/types/widgets/NoDataAlert/NoDataAlert.stories.d.ts.map +1 -0
  125. package/dist/types/widgets/NoDataAlert/index.d.ts +3 -0
  126. package/dist/types/widgets/NoDataAlert/index.d.ts.map +1 -0
  127. package/dist/types/widgets/PieWidgetUI/PieWidgetUI.stories.d.ts +107 -0
  128. package/dist/types/widgets/PieWidgetUI/PieWidgetUI.stories.d.ts.map +1 -0
  129. package/dist/types/widgets/PieWidgetUI/PieWidgetUI.test.d.ts +2 -0
  130. package/dist/types/widgets/PieWidgetUI/PieWidgetUI.test.d.ts.map +1 -0
  131. package/dist/types/widgets/PieWidgetUI/index.d.ts +3 -0
  132. package/dist/types/widgets/PieWidgetUI/index.d.ts.map +1 -0
  133. package/dist/types/widgets/PieWidgetUI/usePieCategories.d.ts.map +1 -1
  134. package/dist/types/widgets/RangeWidgetUI/RangeWidgetUI.stories.d.ts +33 -0
  135. package/dist/types/widgets/RangeWidgetUI/RangeWidgetUI.stories.d.ts.map +1 -0
  136. package/dist/types/widgets/RangeWidgetUI/RangeWidgetUI.test.d.ts +2 -0
  137. package/dist/types/widgets/RangeWidgetUI/RangeWidgetUI.test.d.ts.map +1 -0
  138. package/dist/types/widgets/RangeWidgetUI/index.d.ts +3 -0
  139. package/dist/types/widgets/RangeWidgetUI/index.d.ts.map +1 -0
  140. package/dist/types/widgets/ScatterPlotWidgetUI/ScatterPlotWidgetUI.stories.d.ts +66 -0
  141. package/dist/types/widgets/ScatterPlotWidgetUI/ScatterPlotWidgetUI.stories.d.ts.map +1 -0
  142. package/dist/types/widgets/ScatterPlotWidgetUI/ScatterPlotWidgetUI.test.d.ts +2 -0
  143. package/dist/types/widgets/ScatterPlotWidgetUI/ScatterPlotWidgetUI.test.d.ts.map +1 -0
  144. package/dist/types/widgets/ScatterPlotWidgetUI/index.d.ts +3 -0
  145. package/dist/types/widgets/ScatterPlotWidgetUI/index.d.ts.map +1 -0
  146. package/dist/types/widgets/SkeletonWidgets.d.ts +4 -4
  147. package/dist/types/widgets/TableWidgetUI/TableWidgetUI.stories.d.ts +223 -0
  148. package/dist/types/widgets/TableWidgetUI/TableWidgetUI.stories.d.ts.map +1 -0
  149. package/dist/types/widgets/TableWidgetUI/TableWidgetUI.test.d.ts +2 -0
  150. package/dist/types/widgets/TableWidgetUI/TableWidgetUI.test.d.ts.map +1 -0
  151. package/dist/types/widgets/TableWidgetUI/index.d.ts +3 -0
  152. package/dist/types/widgets/TableWidgetUI/index.d.ts.map +1 -0
  153. package/dist/types/widgets/TimeSeriesWidgetUI/TimeSeriesWidgetUI.d.ts.map +1 -1
  154. package/dist/types/widgets/TimeSeriesWidgetUI/TimeSeriesWidgetUI.stories.d.ts +129 -0
  155. package/dist/types/widgets/TimeSeriesWidgetUI/TimeSeriesWidgetUI.stories.d.ts.map +1 -0
  156. package/dist/types/widgets/TimeSeriesWidgetUI/TimeSeriesWidgetUI.test.d.ts +2 -0
  157. package/dist/types/widgets/TimeSeriesWidgetUI/TimeSeriesWidgetUI.test.d.ts.map +1 -0
  158. package/dist/types/widgets/TimeSeriesWidgetUI/timeSeriesUtils.test.d.ts +2 -0
  159. package/dist/types/widgets/TimeSeriesWidgetUI/timeSeriesUtils.test.d.ts.map +1 -0
  160. package/dist/types/widgets/WrapperWidgetUI/WrapperWidgetUI.d.ts.map +1 -0
  161. package/dist/types/widgets/WrapperWidgetUI/WrapperWidgetUI.stories.d.ts +195 -0
  162. package/dist/types/widgets/WrapperWidgetUI/WrapperWidgetUI.stories.d.ts.map +1 -0
  163. package/dist/types/widgets/WrapperWidgetUI/WrapperWidgetUI.test.d.ts +2 -0
  164. package/dist/types/widgets/WrapperWidgetUI/WrapperWidgetUI.test.d.ts.map +1 -0
  165. package/dist/types/widgets/WrapperWidgetUI/index.d.ts +3 -0
  166. package/dist/types/widgets/WrapperWidgetUI/index.d.ts.map +1 -0
  167. package/dist/types/widgets/comparative/ComparativeCategoryWidgetUI/ComparativeCategoryWidgetUI.d.ts +1 -1
  168. package/dist/types/widgets/comparative/ComparativeCategoryWidgetUI/ComparativeCategoryWidgetUI.d.ts.map +1 -1
  169. package/dist/types/widgets/comparative/ComparativeCategoryWidgetUI/ComparativeCategoryWidgetUI.stories.d.ts +35 -0
  170. package/dist/types/widgets/comparative/ComparativeCategoryWidgetUI/ComparativeCategoryWidgetUI.stories.d.ts.map +1 -0
  171. package/dist/types/widgets/comparative/ComparativeCategoryWidgetUI/ComparativeCategoryWidgetUI.test.d.ts +2 -0
  172. package/dist/types/widgets/comparative/ComparativeCategoryWidgetUI/ComparativeCategoryWidgetUI.test.d.ts.map +1 -0
  173. package/dist/types/widgets/comparative/ComparativeCategoryWidgetUI/transposeCategoryData.d.ts +1 -1
  174. package/dist/types/widgets/comparative/ComparativeCategoryWidgetUI/transposeCategoryData.d.ts.map +1 -1
  175. package/dist/types/widgets/comparative/ComparativeFormulaWidgetUI/ComparativeFormulaWidgetUI.stories.d.ts +31 -0
  176. package/dist/types/widgets/comparative/ComparativeFormulaWidgetUI/ComparativeFormulaWidgetUI.stories.d.ts.map +1 -0
  177. package/dist/types/widgets/comparative/ComparativeFormulaWidgetUI/ComparativeFormulaWidgetUI.test.d.ts +2 -0
  178. package/dist/types/widgets/comparative/ComparativeFormulaWidgetUI/ComparativeFormulaWidgetUI.test.d.ts.map +1 -0
  179. package/dist/types/widgets/comparative/{ComparativePieWidgetUI.d.ts → ComparativePieWidgetUI/ComparativePieWidgetUI.d.ts} +1 -1
  180. package/dist/types/widgets/comparative/ComparativePieWidgetUI/ComparativePieWidgetUI.d.ts.map +1 -0
  181. package/dist/types/widgets/comparative/ComparativePieWidgetUI/ComparativePieWidgetUI.stories.d.ts +45 -0
  182. package/dist/types/widgets/comparative/ComparativePieWidgetUI/ComparativePieWidgetUI.stories.d.ts.map +1 -0
  183. package/dist/types/widgets/comparative/ComparativePieWidgetUI/ComparativePieWidgetUI.test.d.ts +2 -0
  184. package/dist/types/widgets/comparative/ComparativePieWidgetUI/ComparativePieWidgetUI.test.d.ts.map +1 -0
  185. package/dist/types/widgets/comparative/index.d.ts +7 -0
  186. package/dist/types/widgets/comparative/index.d.ts.map +1 -0
  187. package/dist/types/widgets/index.d.ts +11 -29
  188. package/dist/types/widgets/index.d.ts.map +1 -1
  189. package/dist/types/widgets/legend/LegendCategories.stories.d.ts +46 -0
  190. package/dist/types/widgets/legend/LegendCategories.stories.d.ts.map +1 -0
  191. package/dist/types/widgets/legend/LegendCategories.test.d.ts +2 -0
  192. package/dist/types/widgets/legend/LegendCategories.test.d.ts.map +1 -0
  193. package/dist/types/widgets/legend/LegendIcon.stories.d.ts +27 -0
  194. package/dist/types/widgets/legend/LegendIcon.stories.d.ts.map +1 -0
  195. package/dist/types/widgets/legend/LegendIcon.test.d.ts +2 -0
  196. package/dist/types/widgets/legend/LegendIcon.test.d.ts.map +1 -0
  197. package/dist/types/widgets/legend/LegendProportion.stories.d.ts +26 -0
  198. package/dist/types/widgets/legend/LegendProportion.stories.d.ts.map +1 -0
  199. package/dist/types/widgets/legend/LegendProportion.test.d.ts +2 -0
  200. package/dist/types/widgets/legend/LegendProportion.test.d.ts.map +1 -0
  201. package/dist/types/widgets/legend/LegendRamp.stories.d.ts +62 -0
  202. package/dist/types/widgets/legend/LegendRamp.stories.d.ts.map +1 -0
  203. package/dist/types/widgets/legend/LegendRamp.test.d.ts +2 -0
  204. package/dist/types/widgets/legend/LegendRamp.test.d.ts.map +1 -0
  205. package/dist/types/widgets/legend/LegendWidgetUI.stories.d.ts +228 -0
  206. package/dist/types/widgets/legend/LegendWidgetUI.stories.d.ts.map +1 -0
  207. package/dist/types/widgets/legend/LegendWidgetUI.styles.d.ts +1 -1
  208. package/dist/types/widgets/legend/LegendWidgetUI.test.d.ts +2 -0
  209. package/dist/types/widgets/legend/LegendWidgetUI.test.d.ts.map +1 -0
  210. package/dist/types/widgets/legend/legendFixtures.d.ts +168 -0
  211. package/dist/types/widgets/legend/legendFixtures.d.ts.map +1 -0
  212. package/dist/widgets/index.cjs +250 -249
  213. package/dist/widgets/index.js +252 -251
  214. package/package.json +4 -1
  215. package/dist/types/theme/sections/components/buttons.d.ts.map +0 -1
  216. package/dist/types/theme/sections/components/data-display.d.ts.map +0 -1
  217. package/dist/types/theme/sections/components/date-pickers.d.ts.map +0 -1
  218. package/dist/types/theme/sections/components/feedback.d.ts.map +0 -1
  219. package/dist/types/theme/sections/components/forms.d.ts.map +0 -1
  220. package/dist/types/theme/sections/components/navigation.d.ts.map +0 -1
  221. package/dist/types/theme/sections/components/surfaces.d.ts.map +0 -1
  222. package/dist/types/theme/sections/palette.d.ts.map +0 -1
  223. package/dist/types/theme/sections/shadows.d.ts.map +0 -1
  224. package/dist/types/theme/theme-constants.d.ts.map +0 -1
  225. package/dist/types/theme/theme-utils.d.ts.map +0 -1
  226. package/dist/types/widgets/NoDataAlert.d.ts.map +0 -1
  227. package/dist/types/widgets/WrapperWidgetUI.d.ts.map +0 -1
  228. package/dist/types/widgets/comparative/ComparativePieWidgetUI.d.ts.map +0 -1
  229. package/dist/{TablePaginationActions-CCDi-BO-.js → TablePaginationActions-C6TVGJM-.js} +25 -25
  230. package/dist/{TablePaginationActions-D2K26kdR.cjs → TablePaginationActions-DAMGtIub.cjs} +25 -25
  231. /package/dist/types/theme/{sections/components → components}/buttons.d.ts +0 -0
  232. /package/dist/types/theme/{sections/components → components}/data-display.d.ts +0 -0
  233. /package/dist/types/theme/{sections/components → components}/date-pickers.d.ts +0 -0
  234. /package/dist/types/theme/{sections/components → components}/feedback.d.ts +0 -0
  235. /package/dist/types/theme/{sections/components → components}/forms.d.ts +0 -0
  236. /package/dist/types/theme/{sections/components → components}/navigation.d.ts +0 -0
  237. /package/dist/types/theme/{sections/components → components}/surfaces.d.ts +0 -0
  238. /package/dist/types/theme/{sections → helpers}/css-baseline.d.ts +0 -0
  239. /package/dist/types/theme/{theme-constants.d.ts → helpers/theme-constants.d.ts} +0 -0
  240. /package/dist/types/theme/{theme-utils.d.ts → helpers/theme-utils.d.ts} +0 -0
  241. /package/dist/types/theme/{sections → tokens}/shadows.d.ts +0 -0
  242. /package/dist/types/widgets/{WrapperWidgetUI.d.ts → WrapperWidgetUI/WrapperWidgetUI.d.ts} +0 -0
@@ -2,13 +2,197 @@
2
2
  var _a, _b, _c, _d, _e, _f, _g, _h;
3
3
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
4
4
  const material = require("@mui/material");
5
+ const paletteUtils = require("../paletteUtils-B9ybmwiI.cjs");
5
6
  const jsxRuntime = require("react/jsx-runtime");
6
- const TablePaginationActions = require("../TablePaginationActions-D2K26kdR.cjs");
7
+ const TablePaginationActions = require("../TablePaginationActions-DAMGtIub.cjs");
7
8
  const iconsMaterial = require("@mui/icons-material");
8
9
  const ArrowDown = require("../ArrowDown-DJ0vhbsw.cjs");
9
10
  const xDatePickers = require("@mui/x-date-pickers");
10
- const MenuItem = require("../MenuItem-YpFpuljU.cjs");
11
- const paletteUtils = require("../paletteUtils-B9ybmwiI.cjs");
11
+ const MenuItem = require("../MenuItem-nokUtiks.cjs");
12
+ const themeShadows = [
13
+ "none",
14
+ // 0
15
+ "0px 2px 1px -1px rgba(44, 48, 50, 0.12), 0px 1px 1px rgba(44, 48, 50, 0.08), 0px 1px 3px rgba(44, 48, 50, 0.04)",
16
+ // 1
17
+ "0px 3px 1px -2px rgba(44, 48, 50, 0.12), 0px 2px 2px rgba(44, 48, 50, 0.08), 0px 1px 5px rgba(44, 48, 50, 0.04)",
18
+ // 2
19
+ "0px 3px 3px -2px rgba(0,0,0,0.16),0px 3px 4px 0px rgba(0,0,0,0.08),0px 1px 8px 0px rgba(0,0,0,0.04)",
20
+ "0px 2px 4px -1px rgba(44, 48, 50, 0.12), 0px 4px 5px rgba(44, 48, 50, 0.08), 0px 1px 10px rgba(44, 48, 50, 0.04)",
21
+ // 4
22
+ "0px 3px 5px -1px rgba(0,0,0,0.16),0px 5px 8px 0px rgba(0,0,0,0.08),0px 1px 14px 0px rgba(0,0,0,0.04)",
23
+ "0px 3px 5px -1px rgba(44, 48, 50, 0.12), 0px 6px 10px rgba(44, 48, 50, 0.08), 0px 1px 18px rgba(44, 48, 50, 0.04)",
24
+ // 6
25
+ "0px 4px 5px -2px rgba(0,0,0,0.16),0px 7px 10px 1px rgba(0,0,0,0.08),0px 2px 16px 1px rgba(0,0,0,0.04)",
26
+ "0px 5px 5px -3px rgba(44, 48, 50, 0.12), 0px 8px 10px 1px rgba(44, 48, 50, 0.08), 0px 3px 14px 2px rgba(44, 48, 50, 0.04)",
27
+ // 8
28
+ "0px 5px 6px -3px rgba(0,0,0,0.16),0px 9px 12px 1px rgba(0,0,0,0.08),0px 3px 16px 2px rgba(0,0,0,0.04)",
29
+ "0px 6px 6px -3px rgba(0,0,0,0.16),0px 10px 14px 1px rgba(0,0,0,0.08),0px 4px 18px 3px rgba(0,0,0,0.04)",
30
+ "0px 6px 7px -4px rgba(0,0,0,0.16),0px 11px 15px 1px rgba(0,0,0,0.08),0px 4px 20px 3px rgba(0,0,0,0.04)",
31
+ "0px 7px 8px -4px rgba(0,0,0,0.16),0px 12px 17px 2px rgba(0,0,0,0.08),0px 5px 22px 4px rgba(0,0,0,0.04)",
32
+ "0px 7px 8px -4px rgba(0,0,0,0.16),0px 13px 19px 2px rgba(0,0,0,0.08),0px 5px 24px 4px rgba(0,0,0,0.04)",
33
+ "0px 7px 9px -4px rgba(0,0,0,0.16),0px 14px 21px 2px rgba(0,0,0,0.08),0px 5px 26px 4px rgba(0,0,0,0.04)",
34
+ "0px 8px 9px -5px rgba(0,0,0,0.16),0px 15px 22px 2px rgba(0,0,0,0.08),0px 6px 28px 5px rgba(0,0,0,0.04)",
35
+ "0px 8px 10px -5px rgba(44, 48, 50, 0.12), 0px 16px 24px 2px rgba(44, 48, 50, 0.08), 0px 6px 30px 5px rgba(44, 48, 50, 0.04)",
36
+ // 16
37
+ "0px 8px 11px -5px rgba(0,0,0,0.16),0px 17px 26px 2px rgba(0,0,0,0.08),0px 6px 32px 5px rgba(0,0,0,0.04)",
38
+ "0px 9px 11px -5px rgba(0,0,0,0.16),0px 18px 28px 2px rgba(0,0,0,0.08),0px 7px 34px 6px rgba(0,0,0,0.04)",
39
+ "0px 9px 12px -6px rgba(0,0,0,0.16),0px 19px 29px 2px rgba(0,0,0,0.08),0px 7px 36px 6px rgba(0,0,0,0.04)",
40
+ "0px 10px 13px -6px rgba(0,0,0,0.16),0px 20px 31px 3px rgba(0,0,0,0.08),0px 8px 38px 7px rgba(0,0,0,0.04)",
41
+ "0px 10px 13px -6px rgba(0,0,0,0.16),0px 21px 33px 3px rgba(0,0,0,0.08),0px 8px 40px 7px rgba(0,0,0,0.04)",
42
+ "0px 10px 14px -6px rgba(0,0,0,0.16),0px 22px 35px 3px rgba(0,0,0,0.08),0px 8px 42px 7px rgba(0,0,0,0.04)",
43
+ "0px 11px 14px -7px rgba(0,0,0,0.16),0px 23px 36px 3px rgba(0,0,0,0.08),0px 9px 44px 8px rgba(0,0,0,0.04)",
44
+ "0px 11px 15px -7px rgba(44, 48, 50, 0.12), 0px 24px 38px 3px rgba(44, 48, 50, 0.08), 0px 9px 46px 8px rgba(44, 48, 50, 0.04)"
45
+ // 24
46
+ ];
47
+ function getPixelToRem(px) {
48
+ const fontBase = 16;
49
+ const rem = 1 / fontBase * px + "rem";
50
+ return rem;
51
+ }
52
+ const baseTypography = {
53
+ htmlFontSize: 16,
54
+ fontFamily: "Inter, sans-serif",
55
+ fontSize: 16,
56
+ lineHeight: 1.5,
57
+ fontWeightLight: 300,
58
+ fontWeightRegular: 400,
59
+ fontWeightMedium: 500,
60
+ fontWeightBold: 600,
61
+ fontSmoothing: "antialiased",
62
+ h1: {
63
+ fontFamily: "Inter, sans-serif",
64
+ fontWeight: 600,
65
+ fontSize: getPixelToRem(96),
66
+ lineHeight: 1.167,
67
+ letterSpacing: "-1.5px"
68
+ },
69
+ h2: {
70
+ fontFamily: "Inter, sans-serif",
71
+ fontWeight: 600,
72
+ fontSize: getPixelToRem(60),
73
+ lineHeight: 1.2,
74
+ letterSpacing: "-0.5px"
75
+ },
76
+ h3: {
77
+ fontFamily: "Inter, sans-serif",
78
+ fontWeight: 600,
79
+ fontSize: getPixelToRem(48),
80
+ lineHeight: 1.167,
81
+ letterSpacing: 0
82
+ },
83
+ h4: {
84
+ fontFamily: "Inter, sans-serif",
85
+ fontWeight: 600,
86
+ fontSize: getPixelToRem(32),
87
+ lineHeight: 1.25,
88
+ letterSpacing: 0
89
+ },
90
+ h5: {
91
+ fontFamily: "Inter, sans-serif",
92
+ fontWeight: 600,
93
+ fontSize: getPixelToRem(24),
94
+ lineHeight: 1.167,
95
+ letterSpacing: 0
96
+ },
97
+ h6: {
98
+ fontFamily: "Inter, sans-serif",
99
+ fontWeight: 500,
100
+ fontSize: getPixelToRem(18),
101
+ lineHeight: 1.333,
102
+ letterSpacing: 0
103
+ },
104
+ subtitle1: {
105
+ fontFamily: "Inter, sans-serif",
106
+ fontWeight: 500,
107
+ fontSize: getPixelToRem(16),
108
+ lineHeight: 1.5,
109
+ letterSpacing: 0
110
+ },
111
+ subtitle2: {
112
+ fontFamily: "Inter, sans-serif",
113
+ fontWeight: 600,
114
+ fontSize: getPixelToRem(13),
115
+ lineHeight: 1.538,
116
+ letterSpacing: 0
117
+ },
118
+ body1: {
119
+ fontFamily: "Inter, sans-serif",
120
+ fontWeight: 400,
121
+ fontSize: getPixelToRem(16),
122
+ lineHeight: 1.5,
123
+ letterSpacing: 0
124
+ },
125
+ body2: {
126
+ fontFamily: "Inter, sans-serif",
127
+ fontWeight: 400,
128
+ fontSize: getPixelToRem(13),
129
+ lineHeight: 1.538,
130
+ letterSpacing: 0
131
+ },
132
+ button: {
133
+ fontFamily: "Inter, sans-serif",
134
+ fontWeight: 500,
135
+ fontSize: getPixelToRem(13),
136
+ lineHeight: 1.538,
137
+ letterSpacing: 0,
138
+ textTransform: "inherit"
139
+ },
140
+ caption: {
141
+ fontFamily: "Inter, sans-serif",
142
+ fontWeight: 400,
143
+ fontSize: getPixelToRem(11),
144
+ lineHeight: 1.454,
145
+ letterSpacing: 0
146
+ },
147
+ overline: {
148
+ fontFamily: "Inter, sans-serif",
149
+ fontWeight: 500,
150
+ fontSize: getPixelToRem(10),
151
+ lineHeight: 1.2,
152
+ letterSpacing: "1.2px",
153
+ textTransform: "uppercase"
154
+ }
155
+ };
156
+ const customTypography = {
157
+ captionMedium: {
158
+ ...baseTypography.caption,
159
+ fontWeight: 500,
160
+ letterSpacing: 0
161
+ },
162
+ overlineDelicate: {
163
+ ...baseTypography.overline,
164
+ fontWeight: 400,
165
+ letterSpacing: "1.2px"
166
+ },
167
+ code1: {
168
+ fontFamily: '"Overpass Mono", monospace',
169
+ fontWeight: 400,
170
+ fontSize: getPixelToRem(16),
171
+ lineHeight: 1.5,
172
+ letterSpacing: 0,
173
+ fontVariantLigatures: "no-common-ligatures"
174
+ },
175
+ code2: {
176
+ fontFamily: '"Overpass Mono", monospace',
177
+ fontWeight: 400,
178
+ fontSize: getPixelToRem(14),
179
+ lineHeight: 1.428,
180
+ letterSpacing: 0,
181
+ fontVariantLigatures: "no-common-ligatures"
182
+ },
183
+ code3: {
184
+ fontFamily: '"Overpass Mono", monospace',
185
+ fontWeight: 400,
186
+ fontSize: getPixelToRem(12),
187
+ lineHeight: 1.333,
188
+ letterSpacing: 0,
189
+ fontVariantLigatures: "no-common-ligatures"
190
+ }
191
+ };
192
+ const themeTypography = {
193
+ ...baseTypography,
194
+ ...customTypography
195
+ };
12
196
  const tooltipArrowSize = 1;
13
197
  const tooltipSeparation = 0.5;
14
198
  const tooltipMargin = tooltipArrowSize + tooltipSeparation;
@@ -2592,273 +2776,38 @@ const datePickersOverrides = {
2592
2776
  }
2593
2777
  }
2594
2778
  };
2595
- function getPixelToRem(px) {
2596
- const fontBase = 16;
2597
- const rem = 1 / fontBase * px + "rem";
2598
- return rem;
2599
- }
2600
- const baseTypography = {
2601
- htmlFontSize: 16,
2602
- fontFamily: "Inter, sans-serif",
2603
- fontSize: 16,
2604
- lineHeight: 1.5,
2605
- fontWeightLight: 300,
2606
- fontWeightRegular: 400,
2607
- fontWeightMedium: 500,
2608
- fontWeightBold: 600,
2609
- fontSmoothing: "antialiased",
2610
- h1: {
2611
- fontFamily: "Inter, sans-serif",
2612
- fontWeight: 600,
2613
- fontSize: getPixelToRem(96),
2614
- lineHeight: 1.167,
2615
- letterSpacing: "-1.5px"
2616
- },
2617
- h2: {
2618
- fontFamily: "Inter, sans-serif",
2619
- fontWeight: 600,
2620
- fontSize: getPixelToRem(60),
2621
- lineHeight: 1.2,
2622
- letterSpacing: "-0.5px"
2779
+ const feedbackOverrides = {
2780
+ // SnackBar
2781
+ MuiSnackbar: {
2782
+ defaultProps: {
2783
+ anchorOrigin: {
2784
+ vertical: "bottom",
2785
+ horizontal: "center"
2786
+ }
2787
+ }
2623
2788
  },
2624
- h3: {
2625
- fontFamily: "Inter, sans-serif",
2626
- fontWeight: 600,
2627
- fontSize: getPixelToRem(48),
2628
- lineHeight: 1.167,
2629
- letterSpacing: 0
2630
- },
2631
- h4: {
2632
- fontFamily: "Inter, sans-serif",
2633
- fontWeight: 600,
2634
- fontSize: getPixelToRem(32),
2635
- lineHeight: 1.25,
2636
- letterSpacing: 0
2637
- },
2638
- h5: {
2639
- fontFamily: "Inter, sans-serif",
2640
- fontWeight: 600,
2641
- fontSize: getPixelToRem(24),
2642
- lineHeight: 1.167,
2643
- letterSpacing: 0
2644
- },
2645
- h6: {
2646
- fontFamily: "Inter, sans-serif",
2647
- fontWeight: 500,
2648
- fontSize: getPixelToRem(18),
2649
- lineHeight: 1.333,
2650
- letterSpacing: 0
2651
- },
2652
- subtitle1: {
2653
- fontFamily: "Inter, sans-serif",
2654
- fontWeight: 500,
2655
- fontSize: getPixelToRem(16),
2656
- lineHeight: 1.5,
2657
- letterSpacing: 0
2658
- },
2659
- subtitle2: {
2660
- fontFamily: "Inter, sans-serif",
2661
- fontWeight: 600,
2662
- fontSize: getPixelToRem(13),
2663
- lineHeight: 1.538,
2664
- letterSpacing: 0
2665
- },
2666
- body1: {
2667
- fontFamily: "Inter, sans-serif",
2668
- fontWeight: 400,
2669
- fontSize: getPixelToRem(16),
2670
- lineHeight: 1.5,
2671
- letterSpacing: 0
2672
- },
2673
- body2: {
2674
- fontFamily: "Inter, sans-serif",
2675
- fontWeight: 400,
2676
- fontSize: getPixelToRem(13),
2677
- lineHeight: 1.538,
2678
- letterSpacing: 0
2679
- },
2680
- button: {
2681
- fontFamily: "Inter, sans-serif",
2682
- fontWeight: 500,
2683
- fontSize: getPixelToRem(13),
2684
- lineHeight: 1.538,
2685
- letterSpacing: 0,
2686
- textTransform: "inherit"
2687
- },
2688
- caption: {
2689
- fontFamily: "Inter, sans-serif",
2690
- fontWeight: 400,
2691
- fontSize: getPixelToRem(11),
2692
- lineHeight: 1.454,
2693
- letterSpacing: 0
2694
- },
2695
- overline: {
2696
- fontFamily: "Inter, sans-serif",
2697
- fontWeight: 500,
2698
- fontSize: getPixelToRem(10),
2699
- lineHeight: 1.2,
2700
- letterSpacing: "1.2px",
2701
- textTransform: "uppercase"
2702
- }
2703
- };
2704
- const customTypography = {
2705
- captionMedium: {
2706
- ...baseTypography.caption,
2707
- fontWeight: 500,
2708
- letterSpacing: 0
2709
- },
2710
- overlineDelicate: {
2711
- ...baseTypography.overline,
2712
- fontWeight: 400,
2713
- letterSpacing: "1.2px"
2714
- },
2715
- code1: {
2716
- fontFamily: '"Overpass Mono", monospace',
2717
- fontWeight: 400,
2718
- fontSize: getPixelToRem(16),
2719
- lineHeight: 1.5,
2720
- letterSpacing: 0,
2721
- fontVariantLigatures: "no-common-ligatures"
2722
- },
2723
- code2: {
2724
- fontFamily: '"Overpass Mono", monospace',
2725
- fontWeight: 400,
2726
- fontSize: getPixelToRem(14),
2727
- lineHeight: 1.428,
2728
- letterSpacing: 0,
2729
- fontVariantLigatures: "no-common-ligatures"
2730
- },
2731
- code3: {
2732
- fontFamily: '"Overpass Mono", monospace',
2733
- fontWeight: 400,
2734
- fontSize: getPixelToRem(12),
2735
- lineHeight: 1.333,
2736
- letterSpacing: 0,
2737
- fontVariantLigatures: "no-common-ligatures"
2738
- }
2739
- };
2740
- const themeTypography = {
2741
- ...baseTypography,
2742
- ...customTypography
2743
- };
2744
- const CssBaseline = {
2745
- // Accessibility focus (keyboard only)
2746
- "*:focus-visible": {
2747
- outline: `2px solid ${(_a = paletteUtils.commonPalette.primary) == null ? void 0 : _a.main} !important`,
2748
- boxShadow: `0 0 0 4px ${(_b = paletteUtils.commonPalette.primary) == null ? void 0 : _b.background} !important`,
2749
- borderRadius: "4px"
2750
- },
2751
- // Custom scrollbars
2752
- "*::-webkit-scrollbar": {
2753
- position: "fixed"
2754
- },
2755
- "*::-webkit-scrollbar:vertical": {
2756
- width: "5px"
2757
- },
2758
- "*::-webkit-scrollbar:horizontal": {
2759
- height: "5px"
2760
- },
2761
- "*::-webkit-scrollbar-track": {
2762
- boxShadow: "none",
2763
- background: "transparent"
2764
- },
2765
- "*::-webkit-scrollbar-thumb": {
2766
- borderRadius: "3px",
2767
- background: (_c = paletteUtils.commonPalette.action) == null ? void 0 : _c.focus,
2768
- outline: "none"
2769
- },
2770
- // iOS Search clear button
2771
- 'input[type="search"]::-webkit-search-cancel-button': {
2772
- WebkitAppearance: "none",
2773
- appearance: "none",
2774
- height: TablePaginationActions.getSpacing(2),
2775
- width: TablePaginationActions.getSpacing(2),
2776
- display: "block",
2777
- backgroundImage: `url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAB4AAAAeCAYAAAA7MK6iAAAAn0lEQVR42u3UMQrDMBBEUZ9WfQqDmm22EaTyjRMHAlM5K+Y7lb0wnUZPIKHlnutOa+25Z4D++MRBX98MD1V/trSppLKHqj9TTBWKcoUqffbUcbBBEhTjBOV4ja4l4OIAZThEOV6jHO8ARXD+gPPvKMABinGOrnu6gTNUawrcQKNCAQ7QeTxORzle3+sDfjJpPCqhJh7GixZq4rHcc9l5A9qZ+WeBhgEuAAAAAElFTkSuQmCC)`,
2778
- backgroundRepeat: "no-repeat",
2779
- backgroundSize: TablePaginationActions.getSpacing(2)
2780
- },
2781
- // Mapbox controls
2782
- ".mapboxgl-ctrl.mapboxgl-ctrl-attrib": {
2783
- padding: TablePaginationActions.getSpacing(0, 1),
2784
- borderRadius: TablePaginationActions.getSpacing(0.5, 0, 0, 0),
2785
- "& .mapboxgl-ctrl-attrib-inner": {
2786
- ...themeTypography.overline,
2787
- textTransform: "none",
2788
- letterSpacing: "0.75px",
2789
- "& a": {
2790
- color: (_d = paletteUtils.commonPalette.primary) == null ? void 0 : _d.main
2791
- }
2792
- },
2793
- "&.mapboxgl-compact": {
2794
- backgroundColor: "transparent",
2795
- right: TablePaginationActions.getSpacing(0.5),
2796
- bottom: TablePaginationActions.getSpacing(2.5),
2797
- // Mobile
2798
- "@media (max-width: 600px)": {
2799
- bottom: TablePaginationActions.getSpacing(0.5)
2800
- },
2801
- "& .mapboxgl-ctrl-attrib-button": {
2802
- backgroundImage: `url("data:image/svg+xml;charset=utf-8,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20height='24'%20viewBox='0%200%2024%2024'%20width='24'%3E%3Cg%3E%3Crect%20fill='none'%20height='24'%20width='24'%20x='0'/%3E%3C/g%3E%3Cg%3E%3Cg%3E%3Cg%3E%3Cpath%20d='M11.88,9.14c1.28,0.06,1.61,1.15,1.63,1.66h1.79c-0.08-1.98-1.49-3.19-3.45-3.19C9.64,7.61,8,9,8,12.14%20c0,1.94,0.93,4.24,3.84,4.24c2.22,0,3.41-1.65,3.44-2.95h-1.79c-0.03,0.59-0.45,1.38-1.63,1.44C10.55,14.83,10,13.81,10,12.14%20C10,9.25,11.28,9.16,11.88,9.14z%20M12,2C6.48,2,2,6.48,2,12s4.48,10,10,10s10-4.48,10-10S17.52,2,12,2z%20M12,20c-4.41,0-8-3.59-8-8%20s3.59-8,8-8s8,3.59,8,8S16.41,20,12,20z'%20fill='${(_e = paletteUtils.commonPalette.text) == null ? void 0 : _e.secondary}'/%3E%3C/g%3E%3C/g%3E%3C/g%3E%3C/svg%3E")`,
2803
- backgroundColor: "rgba(255,255,255,.8)",
2804
- top: "auto",
2805
- bottom: 0,
2806
- right: 0,
2807
- "&:not(:disabled):hover": {
2808
- backgroundColor: "rgba(255,255,255,.8)"
2809
- }
2810
- },
2811
- "& .mapboxgl-ctrl-attrib-inner": {
2812
- backgroundColor: "rgba(255,255,255,.8)",
2813
- padding: TablePaginationActions.getSpacing(0.5, 1),
2814
- borderRadius: TablePaginationActions.getSpacing(1.5),
2815
- marginRight: TablePaginationActions.getSpacing(2.5),
2816
- color: (_f = paletteUtils.commonPalette.text) == null ? void 0 : _f.secondary
2817
- },
2818
- "&.mapboxgl-compact-show": {
2819
- "& .mapboxgl-ctrl-attrib-button": {
2820
- backgroundImage: `url("data:image/svg+xml;charset=utf-8,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20height='24'%20viewBox='0%200%2024%2024'%20width='24'%3E%3Cpath%20d='M0%200h24v24H0z'%20fill='none'/%3E%3Cpath%20d='M19%206.41L17.59%205%2012%2010.59%206.41%205%205%206.41%2010.59%2012%205%2017.59%206.41%2019%2012%2013.41%2017.59%2019%2019%2017.59%2013.41%2012z'%20fill='white'/%3E%3C/svg%3E")`,
2821
- backgroundColor: (_g = paletteUtils.commonPalette.common) == null ? void 0 : _g.black,
2822
- "&:not(:disabled):hover": {
2823
- backgroundColor: (_h = paletteUtils.commonPalette.common) == null ? void 0 : _h.black
2824
- }
2825
- }
2826
- }
2827
- }
2828
- }
2829
- };
2830
- const feedbackOverrides = {
2831
- // SnackBar
2832
- MuiSnackbar: {
2833
- defaultProps: {
2834
- anchorOrigin: {
2835
- vertical: "bottom",
2836
- horizontal: "center"
2837
- }
2838
- }
2839
- },
2840
- // Skeleton
2841
- MuiSkeleton: {
2842
- defaultProps: {
2843
- animation: "wave",
2844
- variant: "rounded"
2845
- },
2846
- styleOverrides: {
2847
- root: ({ theme: theme2 }) => ({
2848
- backgroundColor: theme2.palette.black[8]
2849
- }),
2850
- rounded: ({ theme: theme2 }) => ({
2851
- borderRadius: theme2.spacing(0.5)
2852
- }),
2853
- text: ({ theme: theme2 }) => ({
2854
- borderRadius: theme2.spacing(0.5)
2855
- }),
2856
- wave: ({ theme: theme2 }) => ({
2857
- "&::after": {
2858
- background: `linear-gradient( 90deg, transparent, ${theme2.palette.black[4]}, transparent )`
2859
- }
2860
- })
2861
- }
2789
+ // Skeleton
2790
+ MuiSkeleton: {
2791
+ defaultProps: {
2792
+ animation: "wave",
2793
+ variant: "rounded"
2794
+ },
2795
+ styleOverrides: {
2796
+ root: ({ theme: theme2 }) => ({
2797
+ backgroundColor: theme2.palette.black[8]
2798
+ }),
2799
+ rounded: ({ theme: theme2 }) => ({
2800
+ borderRadius: theme2.spacing(0.5)
2801
+ }),
2802
+ text: ({ theme: theme2 }) => ({
2803
+ borderRadius: theme2.spacing(0.5)
2804
+ }),
2805
+ wave: ({ theme: theme2 }) => ({
2806
+ "&::after": {
2807
+ background: `linear-gradient( 90deg, transparent, ${theme2.palette.black[4]}, transparent )`
2808
+ }
2809
+ })
2810
+ }
2862
2811
  },
2863
2812
  // Alert
2864
2813
  MuiAlert: {
@@ -2994,41 +2943,92 @@ const surfacesOverrides = {
2994
2943
  }
2995
2944
  }
2996
2945
  };
2997
- const themeShadows = [
2998
- "none",
2999
- // 0
3000
- "0px 2px 1px -1px rgba(44, 48, 50, 0.12), 0px 1px 1px rgba(44, 48, 50, 0.08), 0px 1px 3px rgba(44, 48, 50, 0.04)",
3001
- // 1
3002
- "0px 3px 1px -2px rgba(44, 48, 50, 0.12), 0px 2px 2px rgba(44, 48, 50, 0.08), 0px 1px 5px rgba(44, 48, 50, 0.04)",
3003
- // 2
3004
- "0px 3px 3px -2px rgba(0,0,0,0.16),0px 3px 4px 0px rgba(0,0,0,0.08),0px 1px 8px 0px rgba(0,0,0,0.04)",
3005
- "0px 2px 4px -1px rgba(44, 48, 50, 0.12), 0px 4px 5px rgba(44, 48, 50, 0.08), 0px 1px 10px rgba(44, 48, 50, 0.04)",
3006
- // 4
3007
- "0px 3px 5px -1px rgba(0,0,0,0.16),0px 5px 8px 0px rgba(0,0,0,0.08),0px 1px 14px 0px rgba(0,0,0,0.04)",
3008
- "0px 3px 5px -1px rgba(44, 48, 50, 0.12), 0px 6px 10px rgba(44, 48, 50, 0.08), 0px 1px 18px rgba(44, 48, 50, 0.04)",
3009
- // 6
3010
- "0px 4px 5px -2px rgba(0,0,0,0.16),0px 7px 10px 1px rgba(0,0,0,0.08),0px 2px 16px 1px rgba(0,0,0,0.04)",
3011
- "0px 5px 5px -3px rgba(44, 48, 50, 0.12), 0px 8px 10px 1px rgba(44, 48, 50, 0.08), 0px 3px 14px 2px rgba(44, 48, 50, 0.04)",
3012
- // 8
3013
- "0px 5px 6px -3px rgba(0,0,0,0.16),0px 9px 12px 1px rgba(0,0,0,0.08),0px 3px 16px 2px rgba(0,0,0,0.04)",
3014
- "0px 6px 6px -3px rgba(0,0,0,0.16),0px 10px 14px 1px rgba(0,0,0,0.08),0px 4px 18px 3px rgba(0,0,0,0.04)",
3015
- "0px 6px 7px -4px rgba(0,0,0,0.16),0px 11px 15px 1px rgba(0,0,0,0.08),0px 4px 20px 3px rgba(0,0,0,0.04)",
3016
- "0px 7px 8px -4px rgba(0,0,0,0.16),0px 12px 17px 2px rgba(0,0,0,0.08),0px 5px 22px 4px rgba(0,0,0,0.04)",
3017
- "0px 7px 8px -4px rgba(0,0,0,0.16),0px 13px 19px 2px rgba(0,0,0,0.08),0px 5px 24px 4px rgba(0,0,0,0.04)",
3018
- "0px 7px 9px -4px rgba(0,0,0,0.16),0px 14px 21px 2px rgba(0,0,0,0.08),0px 5px 26px 4px rgba(0,0,0,0.04)",
3019
- "0px 8px 9px -5px rgba(0,0,0,0.16),0px 15px 22px 2px rgba(0,0,0,0.08),0px 6px 28px 5px rgba(0,0,0,0.04)",
3020
- "0px 8px 10px -5px rgba(44, 48, 50, 0.12), 0px 16px 24px 2px rgba(44, 48, 50, 0.08), 0px 6px 30px 5px rgba(44, 48, 50, 0.04)",
3021
- // 16
3022
- "0px 8px 11px -5px rgba(0,0,0,0.16),0px 17px 26px 2px rgba(0,0,0,0.08),0px 6px 32px 5px rgba(0,0,0,0.04)",
3023
- "0px 9px 11px -5px rgba(0,0,0,0.16),0px 18px 28px 2px rgba(0,0,0,0.08),0px 7px 34px 6px rgba(0,0,0,0.04)",
3024
- "0px 9px 12px -6px rgba(0,0,0,0.16),0px 19px 29px 2px rgba(0,0,0,0.08),0px 7px 36px 6px rgba(0,0,0,0.04)",
3025
- "0px 10px 13px -6px rgba(0,0,0,0.16),0px 20px 31px 3px rgba(0,0,0,0.08),0px 8px 38px 7px rgba(0,0,0,0.04)",
3026
- "0px 10px 13px -6px rgba(0,0,0,0.16),0px 21px 33px 3px rgba(0,0,0,0.08),0px 8px 40px 7px rgba(0,0,0,0.04)",
3027
- "0px 10px 14px -6px rgba(0,0,0,0.16),0px 22px 35px 3px rgba(0,0,0,0.08),0px 8px 42px 7px rgba(0,0,0,0.04)",
3028
- "0px 11px 14px -7px rgba(0,0,0,0.16),0px 23px 36px 3px rgba(0,0,0,0.08),0px 9px 44px 8px rgba(0,0,0,0.04)",
3029
- "0px 11px 15px -7px rgba(44, 48, 50, 0.12), 0px 24px 38px 3px rgba(44, 48, 50, 0.08), 0px 9px 46px 8px rgba(44, 48, 50, 0.04)"
3030
- // 24
3031
- ];
2946
+ const CssBaseline = {
2947
+ // Accessibility focus (keyboard only)
2948
+ "*:focus-visible": {
2949
+ outline: `2px solid ${(_a = paletteUtils.commonPalette.primary) == null ? void 0 : _a.main} !important`,
2950
+ boxShadow: `0 0 0 4px ${(_b = paletteUtils.commonPalette.primary) == null ? void 0 : _b.background} !important`,
2951
+ borderRadius: "4px"
2952
+ },
2953
+ // Custom scrollbars
2954
+ "*::-webkit-scrollbar": {
2955
+ position: "fixed"
2956
+ },
2957
+ "*::-webkit-scrollbar:vertical": {
2958
+ width: "5px"
2959
+ },
2960
+ "*::-webkit-scrollbar:horizontal": {
2961
+ height: "5px"
2962
+ },
2963
+ "*::-webkit-scrollbar-track": {
2964
+ boxShadow: "none",
2965
+ background: "transparent"
2966
+ },
2967
+ "*::-webkit-scrollbar-thumb": {
2968
+ borderRadius: "3px",
2969
+ background: (_c = paletteUtils.commonPalette.action) == null ? void 0 : _c.focus,
2970
+ outline: "none"
2971
+ },
2972
+ // iOS Search clear button
2973
+ 'input[type="search"]::-webkit-search-cancel-button': {
2974
+ WebkitAppearance: "none",
2975
+ appearance: "none",
2976
+ height: TablePaginationActions.getSpacing(2),
2977
+ width: TablePaginationActions.getSpacing(2),
2978
+ display: "block",
2979
+ backgroundImage: `url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAB4AAAAeCAYAAAA7MK6iAAAAn0lEQVR42u3UMQrDMBBEUZ9WfQqDmm22EaTyjRMHAlM5K+Y7lb0wnUZPIKHlnutOa+25Z4D++MRBX98MD1V/trSppLKHqj9TTBWKcoUqffbUcbBBEhTjBOV4ja4l4OIAZThEOV6jHO8ARXD+gPPvKMABinGOrnu6gTNUawrcQKNCAQ7QeTxORzle3+sDfjJpPCqhJh7GixZq4rHcc9l5A9qZ+WeBhgEuAAAAAElFTkSuQmCC)`,
2980
+ backgroundRepeat: "no-repeat",
2981
+ backgroundSize: TablePaginationActions.getSpacing(2)
2982
+ },
2983
+ // Mapbox controls
2984
+ ".mapboxgl-ctrl.mapboxgl-ctrl-attrib": {
2985
+ padding: TablePaginationActions.getSpacing(0, 1),
2986
+ borderRadius: TablePaginationActions.getSpacing(0.5, 0, 0, 0),
2987
+ "& .mapboxgl-ctrl-attrib-inner": {
2988
+ ...themeTypography.overline,
2989
+ textTransform: "none",
2990
+ letterSpacing: "0.75px",
2991
+ "& a": {
2992
+ color: (_d = paletteUtils.commonPalette.primary) == null ? void 0 : _d.main
2993
+ }
2994
+ },
2995
+ "&.mapboxgl-compact": {
2996
+ backgroundColor: "transparent",
2997
+ right: TablePaginationActions.getSpacing(0.5),
2998
+ bottom: TablePaginationActions.getSpacing(2.5),
2999
+ // Mobile
3000
+ "@media (max-width: 600px)": {
3001
+ bottom: TablePaginationActions.getSpacing(0.5)
3002
+ },
3003
+ "& .mapboxgl-ctrl-attrib-button": {
3004
+ backgroundImage: `url("data:image/svg+xml;charset=utf-8,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20height='24'%20viewBox='0%200%2024%2024'%20width='24'%3E%3Cg%3E%3Crect%20fill='none'%20height='24'%20width='24'%20x='0'/%3E%3C/g%3E%3Cg%3E%3Cg%3E%3Cg%3E%3Cpath%20d='M11.88,9.14c1.28,0.06,1.61,1.15,1.63,1.66h1.79c-0.08-1.98-1.49-3.19-3.45-3.19C9.64,7.61,8,9,8,12.14%20c0,1.94,0.93,4.24,3.84,4.24c2.22,0,3.41-1.65,3.44-2.95h-1.79c-0.03,0.59-0.45,1.38-1.63,1.44C10.55,14.83,10,13.81,10,12.14%20C10,9.25,11.28,9.16,11.88,9.14z%20M12,2C6.48,2,2,6.48,2,12s4.48,10,10,10s10-4.48,10-10S17.52,2,12,2z%20M12,20c-4.41,0-8-3.59-8-8%20s3.59-8,8-8s8,3.59,8,8S16.41,20,12,20z'%20fill='${(_e = paletteUtils.commonPalette.text) == null ? void 0 : _e.secondary}'/%3E%3C/g%3E%3C/g%3E%3C/g%3E%3C/svg%3E")`,
3005
+ backgroundColor: "rgba(255,255,255,.8)",
3006
+ top: "auto",
3007
+ bottom: 0,
3008
+ right: 0,
3009
+ "&:not(:disabled):hover": {
3010
+ backgroundColor: "rgba(255,255,255,.8)"
3011
+ }
3012
+ },
3013
+ "& .mapboxgl-ctrl-attrib-inner": {
3014
+ backgroundColor: "rgba(255,255,255,.8)",
3015
+ padding: TablePaginationActions.getSpacing(0.5, 1),
3016
+ borderRadius: TablePaginationActions.getSpacing(1.5),
3017
+ marginRight: TablePaginationActions.getSpacing(2.5),
3018
+ color: (_f = paletteUtils.commonPalette.text) == null ? void 0 : _f.secondary
3019
+ },
3020
+ "&.mapboxgl-compact-show": {
3021
+ "& .mapboxgl-ctrl-attrib-button": {
3022
+ backgroundImage: `url("data:image/svg+xml;charset=utf-8,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20height='24'%20viewBox='0%200%2024%2024'%20width='24'%3E%3Cpath%20d='M0%200h24v24H0z'%20fill='none'/%3E%3Cpath%20d='M19%206.41L17.59%205%2012%2010.59%206.41%205%205%206.41%2010.59%2012%205%2017.59%206.41%2019%2012%2013.41%2017.59%2019%2019%2017.59%2013.41%2012z'%20fill='white'/%3E%3C/svg%3E")`,
3023
+ backgroundColor: (_g = paletteUtils.commonPalette.common) == null ? void 0 : _g.black,
3024
+ "&:not(:disabled):hover": {
3025
+ backgroundColor: (_h = paletteUtils.commonPalette.common) == null ? void 0 : _h.black
3026
+ }
3027
+ }
3028
+ }
3029
+ }
3030
+ }
3031
+ };
3032
3032
  const cartoThemeOptions = {
3033
3033
  themeName: "CARTO",
3034
3034
  breakpoints: {
@@ -3122,6 +3122,7 @@ const cartoThemeOptions = {
3122
3122
  }
3123
3123
  };
3124
3124
  const theme = material.responsiveFontSizes(material.createTheme(cartoThemeOptions));
3125
+ exports.getCartoColorStylePropsForItem = paletteUtils.getCartoColorStylePropsForItem;
3125
3126
  exports.APPBAR_SIZE = TablePaginationActions.APPBAR_SIZE;
3126
3127
  exports.BREAKPOINTS = TablePaginationActions.BREAKPOINTS;
3127
3128
  exports.ICON_SIZE_LARGE = TablePaginationActions.ICON_SIZE_LARGE;
@@ -3134,6 +3135,5 @@ exports.MENU_LIST_MAX_SIZE = TablePaginationActions.MENU_LIST_MAX_SIZE;
3134
3135
  exports.NOTIFICATION_DURATION_IN_MS = TablePaginationActions.NOTIFICATION_DURATION_IN_MS;
3135
3136
  exports.SPACING = TablePaginationActions.SPACING;
3136
3137
  exports.getSpacing = TablePaginationActions.getSpacing;
3137
- exports.getCartoColorStylePropsForItem = paletteUtils.getCartoColorStylePropsForItem;
3138
3138
  exports.cartoThemeOptions = cartoThemeOptions;
3139
3139
  exports.theme = theme;