@carto/meridian-ds 5.3.1-alpha.59b640e.32 → 5.3.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 (61) hide show
  1. package/README.md +15 -0
  2. package/dist/bin/meridian-ds-mcp.js +0 -0
  3. package/dist/components/index.cjs +42 -26
  4. package/dist/components/index.js +19 -3
  5. package/dist/conventions.md +3 -0
  6. package/dist/custom-icons/index.cjs +1397 -1239
  7. package/dist/custom-icons/index.js +1397 -1239
  8. package/dist/icons-screenshot.webp +0 -0
  9. package/dist/metadata.json +86 -74
  10. package/dist/theme/index.cjs +21 -14
  11. package/dist/theme/index.js +9 -2
  12. package/dist/types/components/Autocomplete/AutocompleteList/AutocompleteList.d.ts.map +1 -1
  13. package/dist/types/components/CodeArea/CodeAreaHeader/CodeAreaHeader.d.ts.map +1 -1
  14. package/dist/types/components/CopiableInputText/CopiableInputText.d.ts.map +1 -1
  15. package/dist/types/components/Dialog/DialogHeader/DialogHeader.d.ts.map +1 -1
  16. package/dist/types/components/IconWrapper/IconWrapper.stories.d.ts.map +1 -1
  17. package/dist/types/components/List/List.stories.d.ts.map +1 -1
  18. package/dist/types/components/List/ListItem/ListItem.stories.d.ts.map +1 -1
  19. package/dist/types/components/MessageField/MessageField.stories.d.ts.map +1 -1
  20. package/dist/types/components/PasswordField/PasswordField.d.ts.map +1 -1
  21. package/dist/types/components/SelectField/MultipleSelectField/MultipleSelectField.stories.d.ts.map +1 -1
  22. package/dist/types/components/TablePaginationActions/TablePaginationActions.d.ts.map +1 -1
  23. package/dist/types/components/Tag/Tag.stories.d.ts.map +1 -1
  24. package/dist/types/components/ToggleButtonGroup/ToggleButtonGroup.stories.d.ts.map +1 -1
  25. package/dist/types/custom-icons/CatalogView.d.ts.map +1 -1
  26. package/dist/types/custom-icons/DataCalendar.d.ts +4 -0
  27. package/dist/types/custom-icons/DataCalendar.d.ts.map +1 -0
  28. package/dist/types/custom-icons/EditingSettings.d.ts +4 -0
  29. package/dist/types/custom-icons/EditingSettings.d.ts.map +1 -0
  30. package/dist/types/custom-icons/LockedForm.d.ts +4 -0
  31. package/dist/types/custom-icons/LockedForm.d.ts.map +1 -0
  32. package/dist/types/custom-icons/NetworkDeployment.d.ts.map +1 -1
  33. package/dist/types/custom-icons/QueryTable.d.ts.map +1 -1
  34. package/dist/types/custom-icons/RiskAnalysis.d.ts.map +1 -1
  35. package/dist/types/custom-icons/SelectLayers.d.ts +4 -0
  36. package/dist/types/custom-icons/SelectLayers.d.ts.map +1 -0
  37. package/dist/types/custom-icons/TempTable.d.ts.map +1 -1
  38. package/dist/types/custom-icons/XLogo.d.ts.map +1 -1
  39. package/dist/types/custom-icons/__docs__/CustomIcons.stories.d.ts +1 -1
  40. package/dist/types/custom-icons/__figma__/DataCalendar.figma.d.ts +11 -0
  41. package/dist/types/custom-icons/__figma__/DataCalendar.figma.d.ts.map +1 -0
  42. package/dist/types/custom-icons/__figma__/EditingSettings.figma.d.ts +11 -0
  43. package/dist/types/custom-icons/__figma__/EditingSettings.figma.d.ts.map +1 -0
  44. package/dist/types/custom-icons/__figma__/LockedForm.figma.d.ts +11 -0
  45. package/dist/types/custom-icons/__figma__/LockedForm.figma.d.ts.map +1 -0
  46. package/dist/types/custom-icons/__figma__/SelectLayers.figma.d.ts +11 -0
  47. package/dist/types/custom-icons/__figma__/SelectLayers.figma.d.ts.map +1 -0
  48. package/dist/types/custom-icons/index.d.ts +4 -0
  49. package/dist/types/custom-icons/index.d.ts.map +1 -1
  50. package/dist/types/theme/components/date-pickers.d.ts.map +1 -1
  51. package/dist/types/theme/components/feedback.d.ts.map +1 -1
  52. package/dist/types/theme/components/forms.d.ts.map +1 -1
  53. package/dist/types/theme/components/stories/Tabs.stories.d.ts.map +1 -1
  54. package/dist/types/widgets/legend/LegendLayer.d.ts.map +1 -1
  55. package/dist/types/widgets/legend/LegendWidgetUI.d.ts.map +1 -1
  56. package/dist/{utils-BOrXorzC.js → utils-BWsUF6Y9.js} +2 -1
  57. package/dist/{utils-CKBWUAeM.cjs → utils-D6y-3HFr.cjs} +4 -3
  58. package/dist/widgets/index.cjs +10 -5
  59. package/dist/widgets/index.js +6 -1
  60. package/package.json +2 -2
  61. package/CHANGELOG.md +0 -499
package/README.md CHANGED
@@ -35,6 +35,21 @@ pnpm add @carto/meridian-ds
35
35
 
36
36
  Notice that to avoid issues within host projects, most of the base libraries are declared as **peer dependencies** (echarts, material-ui..). That means that you would need to add them explicitly to your project, if you are still not using them (keep an eye on the console warnings on peer dependencies).
37
37
 
38
+ ### Using an alpha
39
+
40
+ An unreleased change reaches an app as an alpha, published from a Meridian PR ([how](./CONTRIBUTING.md#alpha-release)). The PR's **📦 npm alpha release** comment gives the version.
41
+
42
+ ```bash
43
+ npm view @carto/meridian-ds dist-tags.pr-<number> # prints the version once npm serves it
44
+ yarn add @carto/meridian-ds@<version> # exact version, in the app that needs it
45
+ ```
46
+
47
+ - Pin the exact version, never the `pr-<number>` tag: the tag moves on every push and keeps the last alpha after the PR stops publishing.
48
+ - In a monorepo, workspace packages that also depend on Meridian must resolve the app's copy (for example Vite's `resolve.dedupe`), or they bundle a second copy and lose its theme and context.
49
+ - Restart the dev server, or it keeps serving the old version.
50
+ - Storybook shows the released version. Read the alpha's props in `node_modules/@carto/meridian-ds/dist/types/`; the Meridian MCP serves the copy it runs from.
51
+ - Never release an app on an alpha. Once the Meridian PR is released, replace the pin with that version.
52
+
38
53
  ## Icons
39
54
 
40
55
  Meridian ships CARTO's custom icon set as React components under `@carto/meridian-ds/custom-icons`. The icons are imported directly from the "Custom icons" page of a dedicated Figma file via `scripts/import-figma-icons/`, which fetches each `COMPONENT` node, runs it through SVGO + SVGR, and writes a TSX component per icon. Re-run the importer to sync after designers add or change icons. For more information, see [Icons documentation](https://meridian.carto.com/?path=/docs/icons-introduction--docs).
File without changes
@@ -4,12 +4,17 @@ const jsxRuntime = require("react/jsx-runtime");
4
4
  const React = require("react");
5
5
  const material = require("@mui/material");
6
6
  const paletteUtils = require("../palette-utils-NhMBL9rx.cjs");
7
- const iconsMaterial = require("@mui/icons-material");
7
+ const MenuOutlined = require("@mui/icons-material/MenuOutlined");
8
8
  const ArrowDown = require("../ArrowDown-84Oc8r9k.cjs");
9
9
  const ReactWindow = require("react-window");
10
- const utils = require("../utils-CKBWUAeM.cjs");
10
+ const utils = require("../utils-D6y-3HFr.cjs");
11
+ const OpenInNewOutlined = require("@mui/icons-material/OpenInNewOutlined");
11
12
  const Search = require("../Search-BsaXrSzs.cjs");
13
+ const CloseOutlined = require("@mui/icons-material/CloseOutlined");
12
14
  require("cartocolor");
15
+ const HelpOutlineOutlined = require("@mui/icons-material/HelpOutlineOutlined");
16
+ const ContentCopyOutlined = require("@mui/icons-material/ContentCopyOutlined");
17
+ const MoreVertOutlined = require("@mui/icons-material/MoreVertOutlined");
13
18
  const reactCodemirror2 = require("react-codemirror2");
14
19
  const colors = require("@mui/material/colors");
15
20
  require("codemirror/lib/codemirror.css");
@@ -35,14 +40,24 @@ require("codemirror/addon/fold/xml-fold.js");
35
40
  require("codemirror/addon/fold/indent-fold.js");
36
41
  require("codemirror/addon/fold/markdown-fold.js");
37
42
  require("codemirror/addon/fold/comment-fold.js");
43
+ const ErrorOutlineOutlined = require("@mui/icons-material/ErrorOutlineOutlined");
38
44
  const ClickAwayListener = require("@mui/material/ClickAwayListener");
45
+ const ArrowBackOutlined = require("@mui/icons-material/ArrowBackOutlined");
46
+ const VisibilityOffOutlined = require("@mui/icons-material/VisibilityOffOutlined");
47
+ const VisibilityOutlined = require("@mui/icons-material/VisibilityOutlined");
48
+ const AddCircleOutlineOutlined = require("@mui/icons-material/AddCircleOutlineOutlined");
39
49
  const DatePicker$1 = require("@mui/x-date-pickers/DatePicker");
40
50
  const reactIntl = require("react-intl");
41
51
  const useImperativeIntl = require("../useImperativeIntl-v_ds_FH7.cjs");
42
52
  const DateCalendar = require("@mui/x-date-pickers/DateCalendar");
43
53
  const xDatePickers = require("@mui/x-date-pickers");
54
+ const TodayOutlined = require("@mui/icons-material/TodayOutlined");
44
55
  const DateTimePicker$1 = require("@mui/x-date-pickers/DateTimePicker");
56
+ const ArrowUpwardOutlined = require("@mui/icons-material/ArrowUpwardOutlined");
57
+ const StopCircleOutlined = require("@mui/icons-material/StopCircleOutlined");
58
+ const Cancel = require("@mui/icons-material/Cancel");
45
59
  const TimePicker$1 = require("@mui/x-date-pickers/TimePicker");
60
+ const Check = require("@mui/icons-material/Check");
46
61
  const DOMPurify = require("dompurify");
47
62
  function _interopNamespaceDefault(e) {
48
63
  const n = Object.create(null, { [Symbol.toStringTag]: { value: "Module" } });
@@ -122,7 +137,7 @@ function _Button({
122
137
  loadingIndicator,
123
138
  disabled,
124
139
  startIcon: loading ? void 0 : startIcon,
125
- endIcon: loading ? void 0 : endIcon || (isExternalLink && showExternalIcon ? /* @__PURE__ */ jsxRuntime.jsx(iconsMaterial.OpenInNewOutlined, {}) : void 0),
140
+ endIcon: loading ? void 0 : endIcon || (isExternalLink && showExternalIcon ? /* @__PURE__ */ jsxRuntime.jsx(OpenInNewOutlined, {}) : void 0),
126
141
  ...otherProps,
127
142
  role: otherProps.href ? "link" : "button",
128
143
  ...isExternalLink && {
@@ -382,7 +397,7 @@ function _PasswordField({
382
397
  size,
383
398
  disabled,
384
399
  onClick: handleClickShowPassword,
385
- icon: showPassword ? /* @__PURE__ */ jsxRuntime.jsx(iconsMaterial.VisibilityOffOutlined, {}) : /* @__PURE__ */ jsxRuntime.jsx(iconsMaterial.VisibilityOutlined, {}),
400
+ icon: showPassword ? /* @__PURE__ */ jsxRuntime.jsx(VisibilityOffOutlined, {}) : /* @__PURE__ */ jsxRuntime.jsx(VisibilityOutlined, {}),
386
401
  tooltip: label,
387
402
  "aria-label": label
388
403
  }
@@ -816,7 +831,7 @@ function _MultipleSelectField({
816
831
  onChange: handleChange,
817
832
  size,
818
833
  variant,
819
- endAdornment: showFilters && areAnySelected && /* @__PURE__ */ jsxRuntime.jsx(UnselectButton, { position: "end", size, children: /* @__PURE__ */ jsxRuntime.jsx(material.IconButton, { onClick: unselectAll, size, children: /* @__PURE__ */ jsxRuntime.jsx(iconsMaterial.Cancel, {}) }) }),
834
+ endAdornment: showFilters && areAnySelected && /* @__PURE__ */ jsxRuntime.jsx(UnselectButton, { position: "end", size, children: /* @__PURE__ */ jsxRuntime.jsx(material.IconButton, { onClick: unselectAll, size, children: /* @__PURE__ */ jsxRuntime.jsx(Cancel, {}) }) }),
820
835
  menuProps: {
821
836
  slotProps: {
822
837
  paper: {
@@ -1008,7 +1023,7 @@ function _Link({
1008
1023
  children: [
1009
1024
  startIcon && /* @__PURE__ */ jsxRuntime.jsx(Icon, { variant, iconPosition: "left", children: startIcon }),
1010
1025
  children,
1011
- (endIcon || external && showExternalIcon) && /* @__PURE__ */ jsxRuntime.jsx(Icon, { variant, iconPosition: "right", children: endIcon || /* @__PURE__ */ jsxRuntime.jsx(iconsMaterial.OpenInNewOutlined, {}) }),
1026
+ (endIcon || external && showExternalIcon) && /* @__PURE__ */ jsxRuntime.jsx(Icon, { variant, iconPosition: "right", children: endIcon || /* @__PURE__ */ jsxRuntime.jsx(OpenInNewOutlined, {}) }),
1012
1027
  external && /* @__PURE__ */ jsxRuntime.jsx(ScreenReaderOnly, { id: "external-hint", children: screenReaderTextValue })
1013
1028
  ]
1014
1029
  }
@@ -1169,7 +1184,7 @@ const _CopiableComponent = ({
1169
1184
  setOpen(true);
1170
1185
  }).catch(console.error);
1171
1186
  };
1172
- const copyIcon = buttonIcon ?? /* @__PURE__ */ jsxRuntime.jsx(iconsMaterial.ContentCopyOutlined, {});
1187
+ const copyIcon = buttonIcon ?? /* @__PURE__ */ jsxRuntime.jsx(ContentCopyOutlined, {});
1173
1188
  return /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
1174
1189
  /* @__PURE__ */ jsxRuntime.jsx(
1175
1190
  material.Tooltip,
@@ -1300,7 +1315,7 @@ function _CopiableInputText({
1300
1315
  edge: variant !== "standard" ? "end" : void 0,
1301
1316
  onClick: () => setShowPassword(!showPassword),
1302
1317
  size,
1303
- icon: showPassword ? /* @__PURE__ */ jsxRuntime.jsx(iconsMaterial.VisibilityOutlined, {}) : /* @__PURE__ */ jsxRuntime.jsx(iconsMaterial.VisibilityOffOutlined, {}),
1318
+ icon: showPassword ? /* @__PURE__ */ jsxRuntime.jsx(VisibilityOutlined, {}) : /* @__PURE__ */ jsxRuntime.jsx(VisibilityOffOutlined, {}),
1304
1319
  tooltip: currentLabel,
1305
1320
  "aria-label": currentLabel
1306
1321
  }
@@ -1358,6 +1373,7 @@ const List$1 = material.styled(material.MenuList, {
1358
1373
  // Autocomplete's ownerState, which must not reach MenuList.
1359
1374
  shouldForwardProp: (prop) => !["ownerState", "theme", "sx", "as", "hasFilters"].includes(prop)
1360
1375
  })(({ theme, hasFilters }) => ({
1376
+ paddingBottom: `${theme.spacing(1)} !important`,
1361
1377
  ...!hasFilters && {
1362
1378
  paddingTop: `${theme.spacing(1)} !important`
1363
1379
  }
@@ -1820,7 +1836,7 @@ function useCreatableAutocomplete({
1820
1836
  return getOptionLabel(option);
1821
1837
  };
1822
1838
  const creatableRenderOption = (props, option, state) => {
1823
- const customIcon = option.inputValue ? newItemIcon ?? /* @__PURE__ */ jsxRuntime.jsx(iconsMaterial.AddCircleOutlineOutlined, {}) : void 0;
1839
+ const customIcon = option.inputValue ? newItemIcon ?? /* @__PURE__ */ jsxRuntime.jsx(AddCircleOutlineOutlined, {}) : void 0;
1824
1840
  const optionWithMultiple = createOptionWithMultiple(option, !!multiple);
1825
1841
  return autocompleteRenderOption(
1826
1842
  props,
@@ -2168,7 +2184,7 @@ function BurgerMenu({
2168
2184
  display: { md: "none", xs: "block" }
2169
2185
  },
2170
2186
  children: /* @__PURE__ */ jsxRuntime.jsxs(Menu$1, { children: [
2171
- /* @__PURE__ */ jsxRuntime.jsx(MenuButton, { onClick: onClickMenu, children: /* @__PURE__ */ jsxRuntime.jsx(iconsMaterial.MenuOutlined, {}) }),
2187
+ /* @__PURE__ */ jsxRuntime.jsx(MenuButton, { onClick: onClickMenu, children: /* @__PURE__ */ jsxRuntime.jsx(MenuOutlined, {}) }),
2172
2188
  /* @__PURE__ */ jsxRuntime.jsx(MenuDivider, { orientation: "vertical", flexItem: true })
2173
2189
  ] })
2174
2190
  }
@@ -2416,7 +2432,7 @@ function CodeAreaHeader({
2416
2432
  {
2417
2433
  color: "default",
2418
2434
  size,
2419
- icon: /* @__PURE__ */ jsxRuntime.jsx(iconsMaterial.MoreVertOutlined, {}),
2435
+ icon: /* @__PURE__ */ jsxRuntime.jsx(MoreVertOutlined, {}),
2420
2436
  disabled,
2421
2437
  tooltip: showOptionsTooltipLabel,
2422
2438
  tooltipPlacement: "top",
@@ -2441,7 +2457,7 @@ function CodeAreaHeader({
2441
2457
  },
2442
2458
  children: [
2443
2459
  /* @__PURE__ */ jsxRuntime.jsxs(utils.MenuItem, { onClick: handleCopy, disabled, id: "copy", children: [
2444
- /* @__PURE__ */ jsxRuntime.jsx(material.ListItemIcon, { children: /* @__PURE__ */ jsxRuntime.jsx(iconsMaterial.ContentCopyOutlined, {}) }),
2460
+ /* @__PURE__ */ jsxRuntime.jsx(material.ListItemIcon, { children: /* @__PURE__ */ jsxRuntime.jsx(ContentCopyOutlined, {}) }),
2445
2461
  /* @__PURE__ */ jsxRuntime.jsx(material.ListItemText, { children: copyLabel })
2446
2462
  ] }),
2447
2463
  /* @__PURE__ */ jsxRuntime.jsxs(utils.MenuItem, { onClick: onClickExpand, disabled, id: "expand", children: [
@@ -3102,7 +3118,7 @@ const InputWrapper$1 = material.styled(material.Box, {
3102
3118
  }
3103
3119
  }
3104
3120
  }));
3105
- const HelpIcon = material.styled(iconsMaterial.HelpOutlineOutlined)(({ theme }) => ({
3121
+ const HelpIcon = material.styled(HelpOutlineOutlined)(({ theme }) => ({
3106
3122
  width: paletteUtils.ICON_SIZE_SMALL,
3107
3123
  height: paletteUtils.ICON_SIZE_SMALL,
3108
3124
  fill: theme.palette.text.secondary
@@ -3290,7 +3306,7 @@ function CodeAreaDialogError({
3290
3306
  if (!children) return null;
3291
3307
  return /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
3292
3308
  /* @__PURE__ */ jsxRuntime.jsx(ErrorWrapper, { children: /* @__PURE__ */ jsxRuntime.jsxs(ErrorContent, { children: [
3293
- /* @__PURE__ */ jsxRuntime.jsx(iconsMaterial.ErrorOutlineOutlined, { htmlColor: theme.palette.error.main }),
3309
+ /* @__PURE__ */ jsxRuntime.jsx(ErrorOutlineOutlined, { htmlColor: theme.palette.error.main }),
3294
3310
  /* @__PURE__ */ jsxRuntime.jsx(material.FormHelperText, { error: true, children })
3295
3311
  ] }) }),
3296
3312
  hasDivider && /* @__PURE__ */ jsxRuntime.jsx(material.Divider, {})
@@ -3608,7 +3624,7 @@ const ItemsWrapper$1 = material.styled(material.Box)(({ theme }) => ({
3608
3624
  gap: theme.spacing(1),
3609
3625
  overflow: "hidden"
3610
3626
  }));
3611
- const CloseIcon = material.styled(iconsMaterial.CloseOutlined)(({ theme }) => ({
3627
+ const CloseIcon = material.styled(CloseOutlined)(({ theme }) => ({
3612
3628
  color: theme.palette.text.secondary
3613
3629
  }));
3614
3630
  const DividerBottom = material.styled(material.Divider)(() => ({
@@ -3659,7 +3675,7 @@ function DialogHeader({
3659
3675
  onClick: onBack,
3660
3676
  tooltip: backTooltipLabel,
3661
3677
  tooltipPlacement: "bottom",
3662
- icon: backIcon || /* @__PURE__ */ jsxRuntime.jsx(iconsMaterial.ArrowBackOutlined, {}),
3678
+ icon: backIcon || /* @__PURE__ */ jsxRuntime.jsx(ArrowBackOutlined, {}),
3663
3679
  ...backIconButtonProps
3664
3680
  }
3665
3681
  ),
@@ -4210,7 +4226,7 @@ function DialogStepper({
4210
4226
  {
4211
4227
  "data-state": isCompleted ? "completed" : isCurrent ? "current" : "uncompleted",
4212
4228
  children: [
4213
- /* @__PURE__ */ jsxRuntime.jsx(StepNumber, { completed: isCompleted, current: isCurrent, children: isCompleted ? /* @__PURE__ */ jsxRuntime.jsx(iconsMaterial.Check, { fontSize: "small", "aria-label": "Completed step" }) : step }),
4229
+ /* @__PURE__ */ jsxRuntime.jsx(StepNumber, { completed: isCompleted, current: isCurrent, children: isCompleted ? /* @__PURE__ */ jsxRuntime.jsx(Check, { fontSize: "small", "aria-label": "Completed step" }) : step }),
4214
4230
  /* @__PURE__ */ jsxRuntime.jsx(paletteUtils.Typography, { variant: "caption", component: "div", color: labelColor, children: stepLabel })
4215
4231
  ]
4216
4232
  },
@@ -4578,7 +4594,7 @@ function DatePicker({
4578
4594
  {
4579
4595
  label,
4580
4596
  type,
4581
- icon: labelHelpTooltip && /* @__PURE__ */ jsxRuntime.jsx(material.Tooltip, { title: labelHelpTooltip, children: /* @__PURE__ */ jsxRuntime.jsx(iconsMaterial.HelpOutlineOutlined, { htmlColor: "text.secondary" }) })
4597
+ icon: labelHelpTooltip && /* @__PURE__ */ jsxRuntime.jsx(material.Tooltip, { title: labelHelpTooltip, children: /* @__PURE__ */ jsxRuntime.jsx(HelpOutlineOutlined, { htmlColor: "text.secondary" }) })
4582
4598
  }
4583
4599
  ),
4584
4600
  slotProps: {
@@ -4950,7 +4966,7 @@ function DateRangePicker({
4950
4966
  ...startProps == null ? void 0 : startProps.slotProps
4951
4967
  },
4952
4968
  slots: {
4953
- openPickerIcon: iconsMaterial.TodayOutlined,
4969
+ openPickerIcon: TodayOutlined,
4954
4970
  day: (props2) => /* @__PURE__ */ jsxRuntime.jsx(
4955
4971
  PickerDay,
4956
4972
  {
@@ -5200,7 +5216,7 @@ function TimePicker({
5200
5216
  {
5201
5217
  label: fieldLabel,
5202
5218
  type,
5203
- icon: labelHelpTooltip && /* @__PURE__ */ jsxRuntime.jsx(material.Tooltip, { title: labelHelpTooltip, children: /* @__PURE__ */ jsxRuntime.jsx(iconsMaterial.HelpOutlineOutlined, { htmlColor: "text.secondary" }) })
5219
+ icon: labelHelpTooltip && /* @__PURE__ */ jsxRuntime.jsx(material.Tooltip, { title: labelHelpTooltip, children: /* @__PURE__ */ jsxRuntime.jsx(HelpOutlineOutlined, { htmlColor: "text.secondary" }) })
5204
5220
  }
5205
5221
  ),
5206
5222
  views: ["hours"],
@@ -5299,7 +5315,7 @@ function DateTimePicker({
5299
5315
  {
5300
5316
  label: fieldLabel,
5301
5317
  type,
5302
- icon: labelHelpTooltip && /* @__PURE__ */ jsxRuntime.jsx(material.Tooltip, { title: labelHelpTooltip, children: /* @__PURE__ */ jsxRuntime.jsx(iconsMaterial.HelpOutlineOutlined, { htmlColor: "text.secondary" }) })
5318
+ icon: labelHelpTooltip && /* @__PURE__ */ jsxRuntime.jsx(material.Tooltip, { title: labelHelpTooltip, children: /* @__PURE__ */ jsxRuntime.jsx(HelpOutlineOutlined, { htmlColor: "text.secondary" }) })
5303
5319
  }
5304
5320
  ),
5305
5321
  views: ["year", "month", "day", "hours"],
@@ -6195,7 +6211,7 @@ const MessageFieldFooter = ({
6195
6211
  onClick: onStop,
6196
6212
  color: "default",
6197
6213
  size,
6198
- icon: /* @__PURE__ */ jsxRuntime.jsx(iconsMaterial.StopCircleOutlined, {}),
6214
+ icon: /* @__PURE__ */ jsxRuntime.jsx(StopCircleOutlined, {}),
6199
6215
  tooltip: stopLabel,
6200
6216
  "aria-label": stopAriaLabel,
6201
6217
  tooltipPlacement: "top"
@@ -6254,7 +6270,7 @@ function _MessageField({
6254
6270
  variant = "filled",
6255
6271
  size = "small",
6256
6272
  analyzing,
6257
- iconButton = /* @__PURE__ */ jsxRuntime.jsx(iconsMaterial.ArrowUpwardOutlined, {}),
6273
+ iconButton = /* @__PURE__ */ jsxRuntime.jsx(ArrowUpwardOutlined, {}),
6258
6274
  labelButton,
6259
6275
  buttonColor,
6260
6276
  disabledButton,
@@ -6401,7 +6417,7 @@ const SearchIcon = material.styled(Search.ForwardedComponent$3, {
6401
6417
  }
6402
6418
  })
6403
6419
  );
6404
- const ClearSearchIcon = material.styled(iconsMaterial.Cancel)(({ theme }) => ({
6420
+ const ClearSearchIcon = material.styled(Cancel)(({ theme }) => ({
6405
6421
  color: `${theme.palette.text.hint} !important`
6406
6422
  }));
6407
6423
  const LoadingSearchIcon = material.styled(material.CircularProgress)(({ theme }) => ({
@@ -6844,7 +6860,7 @@ function Snackbar({
6844
6860
  {
6845
6861
  color: "default",
6846
6862
  onClick: (e) => onClose(e, "timeout"),
6847
- icon: /* @__PURE__ */ jsxRuntime.jsx(iconsMaterial.CloseOutlined, {}),
6863
+ icon: /* @__PURE__ */ jsxRuntime.jsx(CloseOutlined, {}),
6848
6864
  tooltip: closeTooltipLabel
6849
6865
  }
6850
6866
  ) })
@@ -7115,7 +7131,7 @@ function FilesAction({
7115
7131
  size,
7116
7132
  "aria-label": "Delete",
7117
7133
  disabled,
7118
- children: /* @__PURE__ */ jsxRuntime.jsx(iconsMaterial.Cancel, {})
7134
+ children: /* @__PURE__ */ jsxRuntime.jsx(Cancel, {})
7119
7135
  }
7120
7136
  ) });
7121
7137
  }
@@ -3,13 +3,18 @@ import React, { forwardRef, useState, useRef, useEffect, useMemo, createElement,
3
3
  import { styled, Button as Button$1, Tooltip, CircularProgress as CircularProgress$1, Popper, Grow, Paper, ClickAwayListener, MenuList as MenuList$1, MenuItem, ButtonGroup as ButtonGroup$1, Box, TextField, InputAdornment, FormControl, InputLabel, FormHelperText, Select, Checkbox, Link as Link$1, ListItemText as ListItemText$1, IconButton as IconButton$1, ToggleButtonGroup as ToggleButtonGroup$1, Stack, Autocomplete as Autocomplete$1, Divider, ListItemIcon as ListItemIcon$1, createFilterOptions, alpha, useTheme, Toolbar as Toolbar$1, AppBar as AppBar$1, Dialog as Dialog$1, Chip as Chip$1, DialogTitle as DialogTitle$1, DialogContent as DialogContent$1, Fade, AlertTitle, Alert as Alert$2, DialogActions as DialogActions$1, Slide, Accordion, AccordionSummary, AccordionDetails, Avatar as Avatar$1, Menu as Menu$2, useMediaQuery, Portal, Snackbar as Snackbar$1, List as List$2, ListItemButton as ListItemButton$1, ListItem as ListItem$1, ListSubheader as ListSubheader$1, Popover } from "@mui/material";
4
4
  import { ListItemAvatar, ListItemSecondaryAction } from "@mui/material";
5
5
  import { T as Typography, I as ICON_SIZE_SMALL, m as mergeSx, a as ICON_SIZE_MEDIUM, i as isPalettePath, M as MENU_ITEM_SIZE_EXTENDED, b as MENU_ITEM_SIZE_DEFAULT, c as MENU_LIST_MAX_SIZE, d as MENU_ITEM_SIZE_DENSE, A as APPBAR_SIZE, e as ICON_SIZE_LARGE, N as NOTIFICATION_DURATION_IN_MS, L as LIST_MAX_SIZE, f as LIST_ITEM_SIZE_DENSE, g as LIST_ITEM_SIZE_DEFAULT, h as LIST_OVERSCAN_ITEMS_COUNT, F as FontWeight, r as resolvePalettePath } from "../palette-utils-BmPPGzZt.js";
6
- import { OpenInNewOutlined, VisibilityOffOutlined, VisibilityOutlined, Cancel, ContentCopyOutlined, AddCircleOutlineOutlined, MenuOutlined, MoreVertOutlined, HelpOutlineOutlined, ErrorOutlineOutlined, ArrowBackOutlined, CloseOutlined, Check, TodayOutlined, StopCircleOutlined, ArrowUpwardOutlined } from "@mui/icons-material";
6
+ import MenuOutlined from "@mui/icons-material/MenuOutlined";
7
7
  import { F as ForwardedComponent$1 } from "../ArrowDown-Bho9Ssnw.js";
8
8
  import * as ReactWindow from "react-window";
9
- import { u as useTranslationWithFallback, I as IconButton, M as MenuItem$1, w as warnOnce, g as getThemeColor, e as ellipsisStyles, S as SVG_SELECTOR } from "../utils-BOrXorzC.js";
10
- import { T } from "../utils-BOrXorzC.js";
9
+ import { u as useTranslationWithFallback, I as IconButton, M as MenuItem$1, w as warnOnce, g as getThemeColor, e as ellipsisStyles, S as SVG_SELECTOR } from "../utils-BWsUF6Y9.js";
10
+ import { T } from "../utils-BWsUF6Y9.js";
11
+ import OpenInNewOutlined from "@mui/icons-material/OpenInNewOutlined";
11
12
  import { F as ForwardedComponent, a as ForwardedComponent$2, b as ForwardedComponent$3, c as ForwardedComponent$4 } from "../Search-DXfTNnxj.js";
13
+ import CloseOutlined from "@mui/icons-material/CloseOutlined";
12
14
  import "cartocolor";
15
+ import HelpOutlineOutlined from "@mui/icons-material/HelpOutlineOutlined";
16
+ import ContentCopyOutlined from "@mui/icons-material/ContentCopyOutlined";
17
+ import MoreVertOutlined from "@mui/icons-material/MoreVertOutlined";
13
18
  import { Controlled, UnControlled } from "react-codemirror2";
14
19
  import { purple, red, blue, indigo, green, lime, teal } from "@mui/material/colors";
15
20
  import "codemirror/lib/codemirror.css";
@@ -35,14 +40,24 @@ import "codemirror/addon/fold/xml-fold.js";
35
40
  import "codemirror/addon/fold/indent-fold.js";
36
41
  import "codemirror/addon/fold/markdown-fold.js";
37
42
  import "codemirror/addon/fold/comment-fold.js";
43
+ import ErrorOutlineOutlined from "@mui/icons-material/ErrorOutlineOutlined";
38
44
  import ClickAwayListener$1 from "@mui/material/ClickAwayListener";
45
+ import ArrowBackOutlined from "@mui/icons-material/ArrowBackOutlined";
46
+ import VisibilityOffOutlined from "@mui/icons-material/VisibilityOffOutlined";
47
+ import VisibilityOutlined from "@mui/icons-material/VisibilityOutlined";
48
+ import AddCircleOutlineOutlined from "@mui/icons-material/AddCircleOutlineOutlined";
39
49
  import { DatePicker as DatePicker$1 } from "@mui/x-date-pickers/DatePicker";
40
50
  import { useIntl } from "react-intl";
41
51
  import { u as useImperativeIntl } from "../useImperativeIntl-DXeh_Eda.js";
42
52
  import { DateCalendar } from "@mui/x-date-pickers/DateCalendar";
43
53
  import { PickerDay as PickerDay$1 } from "@mui/x-date-pickers";
54
+ import TodayOutlined from "@mui/icons-material/TodayOutlined";
44
55
  import { DateTimePicker as DateTimePicker$1 } from "@mui/x-date-pickers/DateTimePicker";
56
+ import ArrowUpwardOutlined from "@mui/icons-material/ArrowUpwardOutlined";
57
+ import StopCircleOutlined from "@mui/icons-material/StopCircleOutlined";
58
+ import Cancel from "@mui/icons-material/Cancel";
45
59
  import { TimePicker as TimePicker$1 } from "@mui/x-date-pickers/TimePicker";
60
+ import Check from "@mui/icons-material/Check";
46
61
  import DOMPurify from "dompurify";
47
62
  const ScreenReaderOnly = styled("span")(() => ({
48
63
  position: "absolute",
@@ -1341,6 +1356,7 @@ const List$1 = styled(MenuList$1, {
1341
1356
  // Autocomplete's ownerState, which must not reach MenuList.
1342
1357
  shouldForwardProp: (prop) => !["ownerState", "theme", "sx", "as", "hasFilters"].includes(prop)
1343
1358
  })(({ theme, hasFilters }) => ({
1359
+ paddingBottom: `${theme.spacing(1)} !important`,
1344
1360
  ...!hasFilters && {
1345
1361
  paddingTop: `${theme.spacing(1)} !important`
1346
1362
  }
@@ -33,6 +33,9 @@ Meridian is the source of truth: when an existing codebase pattern contradicts M
33
33
  - Source icons from Meridian's custom-icons first, then `@mui/icons-material`;
34
34
  add a local SVG only when neither has an equivalent. Don't duplicate an icon
35
35
  the design system already ships.
36
+ - Import each MUI icon by path (`import AddOutlined from '@mui/icons-material/AddOutlined'`),
37
+ never from the `@mui/icons-material` barrel: the barrel pulls in every icon
38
+ module and slows tests and dev builds.
36
39
  - Find the right custom icon with `meridian_list_icons` — match by name or keyword (e.g. "warehouse" → `Bigquery`), import it from `@carto/meridian-ds/custom-icons`, and render `<Name />`. Every icon shares one prop type, `CustomIconProps` (MUI `SvgIconProps` — `color`/`fontSize`/`sx` — plus `width`/`height`).
37
40
  - To confirm a shortlisted icon by sight (or match an icon in a design you're implementing), call `meridian_get_screenshot` with `name: 'icons'` and Read the returned image path — a labeled grid of every icon.
38
41
  - Use the standard icon sizes — small 12px, medium (default) 18px, large 24px;