@carto/meridian-ds 5.2.2 → 5.2.3-alpha.2cd5dbc.43855242934
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.
- package/dist/bin/meridian-ds-mcp.js +0 -0
- package/dist/components/index.cjs +8 -3
- package/dist/components/index.js +8 -3
- package/dist/conventions.md +3 -0
- package/dist/metadata.json +2 -2
- package/dist/theme/index.cjs +1 -0
- package/dist/theme/index.js +1 -0
- package/dist/types/components/Autocomplete/AutocompleteList/AutocompleteList.d.ts.map +1 -1
- package/dist/types/components/ChipGroup/ChipGroup.stories.d.ts +7 -0
- package/dist/types/components/ChipGroup/ChipGroup.stories.d.ts.map +1 -1
- package/dist/types/components/ChipGroup/ChipGroupItem.d.ts.map +1 -1
- package/dist/types/theme/components/forms.d.ts.map +1 -1
- package/package.json +2 -2
- package/CHANGELOG.md +0 -504
|
File without changes
|
|
@@ -98,7 +98,7 @@ function uniqueId(prefix = "$lodash$") {
|
|
|
98
98
|
}
|
|
99
99
|
return `${prefix}${id}`;
|
|
100
100
|
}
|
|
101
|
-
const TooltipAnchor = material.styled("span")({
|
|
101
|
+
const TooltipAnchor$1 = material.styled("span")({
|
|
102
102
|
display: "inline-flex",
|
|
103
103
|
"&[data-full-width]": { display: "flex", width: "100%" }
|
|
104
104
|
});
|
|
@@ -163,7 +163,7 @@ function _Button({
|
|
|
163
163
|
}
|
|
164
164
|
);
|
|
165
165
|
if (tooltip === void 0 || tooltip === null) return button;
|
|
166
|
-
return /* @__PURE__ */ jsxRuntime.jsx(material.Tooltip, { title: tooltip, placement: tooltipPlacement, describeChild: true, children: /* @__PURE__ */ jsxRuntime.jsxs(TooltipAnchor, { "data-full-width": otherProps.fullWidth || void 0, children: [
|
|
166
|
+
return /* @__PURE__ */ jsxRuntime.jsx(material.Tooltip, { title: tooltip, placement: tooltipPlacement, describeChild: true, children: /* @__PURE__ */ jsxRuntime.jsxs(TooltipAnchor$1, { "data-full-width": otherProps.fullWidth || void 0, children: [
|
|
167
167
|
button,
|
|
168
168
|
/* @__PURE__ */ jsxRuntime.jsx("span", { hidden: true, id: tooltipId, children: tooltip })
|
|
169
169
|
] }) });
|
|
@@ -1373,6 +1373,7 @@ const List$1 = material.styled(material.MenuList, {
|
|
|
1373
1373
|
// Autocomplete's ownerState, which must not reach MenuList.
|
|
1374
1374
|
shouldForwardProp: (prop) => !["ownerState", "theme", "sx", "as", "hasFilters"].includes(prop)
|
|
1375
1375
|
})(({ theme, hasFilters }) => ({
|
|
1376
|
+
paddingBottom: `${theme.spacing(1)} !important`,
|
|
1376
1377
|
...!hasFilters && {
|
|
1377
1378
|
paddingTop: `${theme.spacing(1)} !important`
|
|
1378
1379
|
}
|
|
@@ -7962,6 +7963,10 @@ const Chip = material.styled(material.Chip)(() => ({
|
|
|
7962
7963
|
maxWidth: "100%",
|
|
7963
7964
|
width: "fit-content"
|
|
7964
7965
|
}));
|
|
7966
|
+
const TooltipAnchor = material.styled("span")({
|
|
7967
|
+
display: "inline-flex",
|
|
7968
|
+
maxWidth: "100%"
|
|
7969
|
+
});
|
|
7965
7970
|
function _ChipGroupItem({
|
|
7966
7971
|
chipData,
|
|
7967
7972
|
index,
|
|
@@ -8007,7 +8012,7 @@ function _ChipGroupItem({
|
|
|
8007
8012
|
if (!showTooltip && !chipData.tooltip) {
|
|
8008
8013
|
return chipElement;
|
|
8009
8014
|
}
|
|
8010
|
-
return /* @__PURE__ */ jsxRuntime.jsx(material.Tooltip, { title: chipData.tooltip || chipData.label, children: chipElement });
|
|
8015
|
+
return /* @__PURE__ */ jsxRuntime.jsx(material.Tooltip, { title: chipData.tooltip || chipData.label, children: isDisabled ? /* @__PURE__ */ jsxRuntime.jsx(TooltipAnchor, { children: chipElement }) : chipElement });
|
|
8011
8016
|
}
|
|
8012
8017
|
const ChipGroupItem = React.forwardRef(_ChipGroupItem);
|
|
8013
8018
|
ChipGroupItem.displayName = "ChipGroupItem";
|
package/dist/components/index.js
CHANGED
|
@@ -81,7 +81,7 @@ function uniqueId(prefix = "$lodash$") {
|
|
|
81
81
|
}
|
|
82
82
|
return `${prefix}${id}`;
|
|
83
83
|
}
|
|
84
|
-
const TooltipAnchor = styled("span")({
|
|
84
|
+
const TooltipAnchor$1 = styled("span")({
|
|
85
85
|
display: "inline-flex",
|
|
86
86
|
"&[data-full-width]": { display: "flex", width: "100%" }
|
|
87
87
|
});
|
|
@@ -146,7 +146,7 @@ function _Button({
|
|
|
146
146
|
}
|
|
147
147
|
);
|
|
148
148
|
if (tooltip === void 0 || tooltip === null) return button;
|
|
149
|
-
return /* @__PURE__ */ jsx(Tooltip, { title: tooltip, placement: tooltipPlacement, describeChild: true, children: /* @__PURE__ */ jsxs(TooltipAnchor, { "data-full-width": otherProps.fullWidth || void 0, children: [
|
|
149
|
+
return /* @__PURE__ */ jsx(Tooltip, { title: tooltip, placement: tooltipPlacement, describeChild: true, children: /* @__PURE__ */ jsxs(TooltipAnchor$1, { "data-full-width": otherProps.fullWidth || void 0, children: [
|
|
150
150
|
button,
|
|
151
151
|
/* @__PURE__ */ jsx("span", { hidden: true, id: tooltipId, children: tooltip })
|
|
152
152
|
] }) });
|
|
@@ -1356,6 +1356,7 @@ const List$1 = styled(MenuList$1, {
|
|
|
1356
1356
|
// Autocomplete's ownerState, which must not reach MenuList.
|
|
1357
1357
|
shouldForwardProp: (prop) => !["ownerState", "theme", "sx", "as", "hasFilters"].includes(prop)
|
|
1358
1358
|
})(({ theme, hasFilters }) => ({
|
|
1359
|
+
paddingBottom: `${theme.spacing(1)} !important`,
|
|
1359
1360
|
...!hasFilters && {
|
|
1360
1361
|
paddingTop: `${theme.spacing(1)} !important`
|
|
1361
1362
|
}
|
|
@@ -7945,6 +7946,10 @@ const Chip = styled(Chip$1)(() => ({
|
|
|
7945
7946
|
maxWidth: "100%",
|
|
7946
7947
|
width: "fit-content"
|
|
7947
7948
|
}));
|
|
7949
|
+
const TooltipAnchor = styled("span")({
|
|
7950
|
+
display: "inline-flex",
|
|
7951
|
+
maxWidth: "100%"
|
|
7952
|
+
});
|
|
7948
7953
|
function _ChipGroupItem({
|
|
7949
7954
|
chipData,
|
|
7950
7955
|
index,
|
|
@@ -7990,7 +7995,7 @@ function _ChipGroupItem({
|
|
|
7990
7995
|
if (!showTooltip && !chipData.tooltip) {
|
|
7991
7996
|
return chipElement;
|
|
7992
7997
|
}
|
|
7993
|
-
return /* @__PURE__ */ jsx(Tooltip, { title: chipData.tooltip || chipData.label, children: chipElement });
|
|
7998
|
+
return /* @__PURE__ */ jsx(Tooltip, { title: chipData.tooltip || chipData.label, children: isDisabled ? /* @__PURE__ */ jsx(TooltipAnchor, { children: chipElement }) : chipElement });
|
|
7994
7999
|
}
|
|
7995
8000
|
const ChipGroupItem = forwardRef(_ChipGroupItem);
|
|
7996
8001
|
ChipGroupItem.displayName = "ChipGroupItem";
|
package/dist/conventions.md
CHANGED
|
@@ -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;
|
package/dist/metadata.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
|
-
"version": "5.2.
|
|
3
|
-
"conventions": "# Meridian usage conventions (for code-generating agents)\n\nSystem-level rules an agent should apply across all components.\n\nMeridian is the source of truth: when an existing codebase pattern contradicts Meridian, follow Meridian — don't replicate the contradicting local pattern.\n\n## Choosing a component\n\n- Don't hand-roll what the design system already provides. Before writing a\n custom component, a styled wrapper, or a block of primitives (a modal,\n chip/tag, card, empty state, dropdown, tooltip, copy-to-clipboard input,\n etc.), confirm no Meridian component covers it — reuse or extend the existing one instead of rebuilding it.\n- Prefer a Meridian component over a bare MUI one whenever a Meridian wrapper\n exists — the wrappers carry CARTO theming, a11y defaults, and narrowed APIs. MUI is correct for layout primitives (`Box`/`Grid`/`Stack`/`Container`) and for gaps Meridian doesn't fill (e.g. date pickers); \"prefer Meridian\" is not \"never MUI\".\n- Resolve \"which component\" by reading each one's `description` + `keywords`,\n then confirm with its `decisionTree` (the conditions that point elsewhere) and `limitations` (what it lacks — check before you downgrade to it).\n Don't infer selection from prop lists.\n- Common hand-rolled patterns and their Meridian replacement:\n - `<a target=\"_blank\">` → `Link external`\n - modal built from `Box` → `Dialog` + `DialogHeader`/`DialogContent`/`DialogFooter`\n - pill/badge `Box` → `Tag`\n - custom select/dropdown → `SelectField`, or `FilterDropdown` for filters\n - label + required/optional mark → `LabelWithIndicator`\n - read-only input with a copy button → `CopiableInputText`\n - custom input → `TextField` (themed by Meridian; pick its `variant`) or `SearchField`\n - manual ellipsis + tooltip → `EllipsisWithTooltip`\n - status/feedback `Box` → `Alert`\n - form label/help text → `InputLabel`/`FormHelperText` (themed by Meridian)\n- Compose before customizing: a cluster of `styled()` wrappers that mirrors a composite is a smell (e.g. a hand-built row instead of `ListItem` + `ListItemIcon iconProps` + `ListItemText` + `ListItemRightContent`). Don't trust a code comment claiming the design system can't do something — check the component's props first.\n\n## Icons\n\n- Source icons from Meridian's custom-icons first, then `@mui/icons-material`;\n add a local SVG only when neither has an equivalent. Don't duplicate an icon\n the design system already ships.\n- 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`).\n- 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.\n- Use the standard icon sizes — small 12px, medium (default) 18px, large 24px;\n a value off this scale (e.g. 16, 20) needs design sign-off. Prefer the\n outlined variants.\n- `IconWrapper`'s `size` is the outer footprint (steps 12/18/24/32/40/48), not the glyph size — the glyph inside is sized for you.\n- A new SVG must inherit, not bake in: set `fill='currentColor'` so it takes\n the parent's color, and use the standard size — don't hardcode\n color/opacity/dimensions.\n- For an icon color outside the palette `color` set, pass a theme token via\n `htmlColor` (e.g. `htmlColor={theme.palette.text.secondary}`) — never a\n hardcoded hex.\n\n## Accessibility\n\n- Any icon-only control needs an accessible name: `tooltip` or `aria-label`.\n- Don't disable a control without telling the user why — pass the reason as `tooltip` on `Button`/`IconButton`/`SplitButton` (it shows while disabled), or link it with `aria-describedby`.\n- An `aria-label` must be human-readable text describing the control, not a test id in disguise — use a separate test hook for that.\n- User-facing strings (labels, `aria-label`, placeholders, messages) go through the app's i18n layer, not hardcoded literals.\n- Interactive elements are real controls (`Button`, `IconButton`, `Link`, …) — never a `div`/`Box` with `onClick`.\n- Every input has a visible or accessible label, not just a placeholder; every image has `alt`.\n\n## Props\n\n- Two sources, both pinned to the installed `@carto/meridian-ds`: **exact props / types / JSDoc** come from the package's **type declarations** — read the `<Name>.d.ts` directly — while the **`meridian-design-system` MCP** (`meridian_*` tools) covers what types can't: which component, when, gotchas, and real examples.\n- A component's curation lists the high-value inherited MUI props worth knowing (`curation.mui`, e.g. `color`/`variant`/`size`); the rest of MUI's surface is available but rarely needed.\n- Don't use `sx`/inline styles to override a Meridian component's visual design (colors, typography, borders, sizing) — use its documented props and the theme tokens. (`sx` for layout/spacing on primitives is fine — see Styling.)\n- Prefer the prop over an override (`Typography noWrap`/`weight`, `fullWidth`, `Alert isSticky`, …). Don't restyle one component to imitate another or to fake a state — pick the component/variant that already looks that way (e.g. `TextField variant=\"standard\"`, or plain `Typography` for a read-only value). Avoid brittle descendant selectors into a component's internals.\n- Don't restate or cancel built-in styling: no wrapper re-applying a component's own border/radius/background, no `disablePadding` on a parent only to re-add padding on its children.\n- `!important` on a Meridian or themed component is an override smell — a design-system gap to raise upstream.\n- If no prop covers the visual change you need, treat it as a design-system gap: request the variant/behavior upstream in Meridian rather than permanently overriding the component locally — a local `styled()` of a Meridian component is a smell, not a fix.\n\n## Styling\n\n- Use theme tokens, never hardcoded values: colors from the palette (`text.*`, `background.*`, `divider`, semantic `*.main`) and spacing from the theme scale (`theme.spacing(n)`, or `sx` numeric spacing like `px: 2` / `mt: 1.5`) — no raw hex/rgb or px. Margin, padding and gap use steps `0.25, 0.5, 0.75, 1, 1.5, 2, 2.5, 3, 4, 5, 6, 7, 8, 9, 12, 15` (2–120px); `width`/`height` and positional offsets may use any step (`spacing-step` in `@carto/meridian-ds/eslint-rules` lints it). Get the exact values — palette keys, spacing base, type ramp, `shape.borderRadius`, breakpoints, shadows — from `meridian_get_tokens`.\n- Token details:\n - `sx` spacing keys (`m*`/`p*`/`gap`) resolve to the scale, but `top`/`right`/`bottom`/`left` don't (`top: 2` is 2px) — use `theme.spacing()` there.\n - In `styled()`, always use `theme.spacing()`. `style={}` isn't theme-aware — use `sx`.\n - Borders use `divider`; radius comes from `shape.borderRadius`; elevation from `theme.shadows[n]`.\n - Translucent black/white use `palette.black[N]`/`palette.white[N]` (N = 90, 60, 40, 25, 12, 8, 4), not `alpha()`.\n - Motion uses `theme.transitions` and respects `prefers-reduced-motion`; responsive rules use `theme.breakpoints`.\n- Text uses `<Typography variant=…>` (with the `weight` prop for emphasis), never hardcoded `fontSize`/`fontWeight`/`lineHeight`/`fontFamily`. Text that can overflow gets `EllipsisWithTooltip` (or `noWrap` when the full text isn't needed).\n- Meridian's type scale is custom and does not match MUI defaults (e.g. `body2`/`caption` differ from MUI's sizes, and there are Meridian-only variants like `code1`/`code2`/`code3` and `overlineDelicate`). Pick the variant by role from Typography's variant list (`meridian_get_examples('Typography')`) — don't assume a px size or map px → variant yourself.\n- `sx` is the right tool for one-off layout/spacing on primitives (`Box`/`Grid`/`Stack`), not the deprecated MUI system props\n (`<Box px={2}>` → `<Box sx={{ px: 2 }}>`). This is layout, distinct from restyling a Meridian component (see Props).\n\n- A reusable component doesn't bake in its placement: no absolute positioning, outer margin, or fixed outer size — accept `sx` and let the caller place it.\n\n## Examples\n\n- Never invent example code when a story exists — use the component's real story source (`meridian_get_examples`). The lead Usage story is the copy-paste starting point; the later stories are illustrative (variants, edge cases) and may carry story-arg shells, so don't copy one wholesale as your baseline.\n",
|
|
2
|
+
"version": "5.2.3-alpha.2cd5dbc.43855242934",
|
|
3
|
+
"conventions": "# Meridian usage conventions (for code-generating agents)\n\nSystem-level rules an agent should apply across all components.\n\nMeridian is the source of truth: when an existing codebase pattern contradicts Meridian, follow Meridian — don't replicate the contradicting local pattern.\n\n## Choosing a component\n\n- Don't hand-roll what the design system already provides. Before writing a\n custom component, a styled wrapper, or a block of primitives (a modal,\n chip/tag, card, empty state, dropdown, tooltip, copy-to-clipboard input,\n etc.), confirm no Meridian component covers it — reuse or extend the existing one instead of rebuilding it.\n- Prefer a Meridian component over a bare MUI one whenever a Meridian wrapper\n exists — the wrappers carry CARTO theming, a11y defaults, and narrowed APIs. MUI is correct for layout primitives (`Box`/`Grid`/`Stack`/`Container`) and for gaps Meridian doesn't fill (e.g. date pickers); \"prefer Meridian\" is not \"never MUI\".\n- Resolve \"which component\" by reading each one's `description` + `keywords`,\n then confirm with its `decisionTree` (the conditions that point elsewhere) and `limitations` (what it lacks — check before you downgrade to it).\n Don't infer selection from prop lists.\n- Common hand-rolled patterns and their Meridian replacement:\n - `<a target=\"_blank\">` → `Link external`\n - modal built from `Box` → `Dialog` + `DialogHeader`/`DialogContent`/`DialogFooter`\n - pill/badge `Box` → `Tag`\n - custom select/dropdown → `SelectField`, or `FilterDropdown` for filters\n - label + required/optional mark → `LabelWithIndicator`\n - read-only input with a copy button → `CopiableInputText`\n - custom input → `TextField` (themed by Meridian; pick its `variant`) or `SearchField`\n - manual ellipsis + tooltip → `EllipsisWithTooltip`\n - status/feedback `Box` → `Alert`\n - form label/help text → `InputLabel`/`FormHelperText` (themed by Meridian)\n- Compose before customizing: a cluster of `styled()` wrappers that mirrors a composite is a smell (e.g. a hand-built row instead of `ListItem` + `ListItemIcon iconProps` + `ListItemText` + `ListItemRightContent`). Don't trust a code comment claiming the design system can't do something — check the component's props first.\n\n## Icons\n\n- Source icons from Meridian's custom-icons first, then `@mui/icons-material`;\n add a local SVG only when neither has an equivalent. Don't duplicate an icon\n the design system already ships.\n- Import each MUI icon by path (`import AddOutlined from '@mui/icons-material/AddOutlined'`),\n never from the `@mui/icons-material` barrel: the barrel pulls in every icon\n module and slows tests and dev builds.\n- 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`).\n- 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.\n- Use the standard icon sizes — small 12px, medium (default) 18px, large 24px;\n a value off this scale (e.g. 16, 20) needs design sign-off. Prefer the\n outlined variants.\n- `IconWrapper`'s `size` is the outer footprint (steps 12/18/24/32/40/48), not the glyph size — the glyph inside is sized for you.\n- A new SVG must inherit, not bake in: set `fill='currentColor'` so it takes\n the parent's color, and use the standard size — don't hardcode\n color/opacity/dimensions.\n- For an icon color outside the palette `color` set, pass a theme token via\n `htmlColor` (e.g. `htmlColor={theme.palette.text.secondary}`) — never a\n hardcoded hex.\n\n## Accessibility\n\n- Any icon-only control needs an accessible name: `tooltip` or `aria-label`.\n- Don't disable a control without telling the user why — pass the reason as `tooltip` on `Button`/`IconButton`/`SplitButton` (it shows while disabled), or link it with `aria-describedby`.\n- An `aria-label` must be human-readable text describing the control, not a test id in disguise — use a separate test hook for that.\n- User-facing strings (labels, `aria-label`, placeholders, messages) go through the app's i18n layer, not hardcoded literals.\n- Interactive elements are real controls (`Button`, `IconButton`, `Link`, …) — never a `div`/`Box` with `onClick`.\n- Every input has a visible or accessible label, not just a placeholder; every image has `alt`.\n\n## Props\n\n- Two sources, both pinned to the installed `@carto/meridian-ds`: **exact props / types / JSDoc** come from the package's **type declarations** — read the `<Name>.d.ts` directly — while the **`meridian-design-system` MCP** (`meridian_*` tools) covers what types can't: which component, when, gotchas, and real examples.\n- A component's curation lists the high-value inherited MUI props worth knowing (`curation.mui`, e.g. `color`/`variant`/`size`); the rest of MUI's surface is available but rarely needed.\n- Don't use `sx`/inline styles to override a Meridian component's visual design (colors, typography, borders, sizing) — use its documented props and the theme tokens. (`sx` for layout/spacing on primitives is fine — see Styling.)\n- Prefer the prop over an override (`Typography noWrap`/`weight`, `fullWidth`, `Alert isSticky`, …). Don't restyle one component to imitate another or to fake a state — pick the component/variant that already looks that way (e.g. `TextField variant=\"standard\"`, or plain `Typography` for a read-only value). Avoid brittle descendant selectors into a component's internals.\n- Don't restate or cancel built-in styling: no wrapper re-applying a component's own border/radius/background, no `disablePadding` on a parent only to re-add padding on its children.\n- `!important` on a Meridian or themed component is an override smell — a design-system gap to raise upstream.\n- If no prop covers the visual change you need, treat it as a design-system gap: request the variant/behavior upstream in Meridian rather than permanently overriding the component locally — a local `styled()` of a Meridian component is a smell, not a fix.\n\n## Styling\n\n- Use theme tokens, never hardcoded values: colors from the palette (`text.*`, `background.*`, `divider`, semantic `*.main`) and spacing from the theme scale (`theme.spacing(n)`, or `sx` numeric spacing like `px: 2` / `mt: 1.5`) — no raw hex/rgb or px. Margin, padding and gap use steps `0.25, 0.5, 0.75, 1, 1.5, 2, 2.5, 3, 4, 5, 6, 7, 8, 9, 12, 15` (2–120px); `width`/`height` and positional offsets may use any step (`spacing-step` in `@carto/meridian-ds/eslint-rules` lints it). Get the exact values — palette keys, spacing base, type ramp, `shape.borderRadius`, breakpoints, shadows — from `meridian_get_tokens`.\n- Token details:\n - `sx` spacing keys (`m*`/`p*`/`gap`) resolve to the scale, but `top`/`right`/`bottom`/`left` don't (`top: 2` is 2px) — use `theme.spacing()` there.\n - In `styled()`, always use `theme.spacing()`. `style={}` isn't theme-aware — use `sx`.\n - Borders use `divider`; radius comes from `shape.borderRadius`; elevation from `theme.shadows[n]`.\n - Translucent black/white use `palette.black[N]`/`palette.white[N]` (N = 90, 60, 40, 25, 12, 8, 4), not `alpha()`.\n - Motion uses `theme.transitions` and respects `prefers-reduced-motion`; responsive rules use `theme.breakpoints`.\n- Text uses `<Typography variant=…>` (with the `weight` prop for emphasis), never hardcoded `fontSize`/`fontWeight`/`lineHeight`/`fontFamily`. Text that can overflow gets `EllipsisWithTooltip` (or `noWrap` when the full text isn't needed).\n- Meridian's type scale is custom and does not match MUI defaults (e.g. `body2`/`caption` differ from MUI's sizes, and there are Meridian-only variants like `code1`/`code2`/`code3` and `overlineDelicate`). Pick the variant by role from Typography's variant list (`meridian_get_examples('Typography')`) — don't assume a px size or map px → variant yourself.\n- `sx` is the right tool for one-off layout/spacing on primitives (`Box`/`Grid`/`Stack`), not the deprecated MUI system props\n (`<Box px={2}>` → `<Box sx={{ px: 2 }}>`). This is layout, distinct from restyling a Meridian component (see Props).\n\n- A reusable component doesn't bake in its placement: no absolute positioning, outer margin, or fixed outer size — accept `sx` and let the caller place it.\n\n## Examples\n\n- Never invent example code when a story exists — use the component's real story source (`meridian_get_examples`). The lead Usage story is the copy-paste starting point; the later stories are illustrative (variants, edge cases) and may carry story-arg shells, so don't copy one wholesale as your baseline.\n",
|
|
4
4
|
"components": [
|
|
5
5
|
{
|
|
6
6
|
"name": "AccordionGroup",
|
package/dist/theme/index.cjs
CHANGED
package/dist/theme/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AutocompleteList.d.ts","sourceRoot":"","sources":["../../../../../src/components/Autocomplete/AutocompleteList/AutocompleteList.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA4C,MAAM,OAAO,CAAA;
|
|
1
|
+
{"version":3,"file":"AutocompleteList.d.ts","sourceRoot":"","sources":["../../../../../src/components/Autocomplete/AutocompleteList/AutocompleteList.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA4C,MAAM,OAAO,CAAA;AA8NhE,6ZAA6Z;AAC7Z,QAAA,MAAM,gBAAgB;;;;;;;;;;0CAAgC,CAAA;AACtD,eAAe,gBAAgB,CAAA"}
|
|
@@ -172,6 +172,13 @@ export declare const Disabled: {
|
|
|
172
172
|
disabled: boolean;
|
|
173
173
|
};
|
|
174
174
|
};
|
|
175
|
+
export declare const InteractionDisabledTooltip: {
|
|
176
|
+
tags: string[];
|
|
177
|
+
render: () => import("react/jsx-runtime").JSX.Element;
|
|
178
|
+
play: ({ canvasElement }: {
|
|
179
|
+
canvasElement: HTMLElement;
|
|
180
|
+
}) => Promise<void>;
|
|
181
|
+
};
|
|
175
182
|
export declare const InteractionMaxLengthChip: {
|
|
176
183
|
render: ({ chips, variant, color, size, ...rest }: PlaygroundStoryProps) => import("react/jsx-runtime").JSX.Element;
|
|
177
184
|
tags: string[];
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ChipGroup.stories.d.ts","sourceRoot":"","sources":["../../../../src/components/ChipGroup/ChipGroup.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAc,SAAS,EAAQ,MAAM,eAAe,CAAA;AAU3D,OAAO,EAAE,cAAc,EAAE,MAAM,SAAS,CAAA;AAGxC;;GAEG;AACH,UAAU,oBAAqB,SAAQ,cAAc;IACnD,wDAAwD;IACxD,OAAO,CAAC,EAAE,SAAS,CAAC,SAAS,CAAC,CAAA;IAC9B,sDAAsD;IACtD,KAAK,CAAC,EAAE,SAAS,CAAC,OAAO,CAAC,CAAA;IAC1B,qDAAqD;IACrD,IAAI,CAAC,EAAE,SAAS,CAAC,MAAM,CAAC,CAAA;CACzB;AA6CD,QAAA,MAAM,OAAO;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAiCqB,CAAA;AAClC,eAAe,OAAO,CAAA;AA0PtB,eAAO,MAAM,UAAU;uDAlPpB,oBAAoB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA6PtB,CAAA;AAED,eAAO,MAAM,WAAW;uDA/PrB,oBAAoB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8BAwQW;QAAE,aAAa,EAAE,WAAW,CAAA;KAAE;CAgB/D,CAAA;AAED,eAAO,MAAM,OAAO;iCAtQyB,cAAc;CAwQ1D,CAAA;AAED,eAAO,MAAM,KAAK;iCA5OyB,cAAc;CA8OxD,CAAA;AAED,eAAO,MAAM,IAAI;iCApMyB,cAAc;CAsMvD,CAAA;AAED,eAAO,MAAM,QAAQ;uDAtSlB,oBAAoB;;;;CA2StB,CAAA;AAED,eAAO,MAAM,wBAAwB;
|
|
1
|
+
{"version":3,"file":"ChipGroup.stories.d.ts","sourceRoot":"","sources":["../../../../src/components/ChipGroup/ChipGroup.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAc,SAAS,EAAQ,MAAM,eAAe,CAAA;AAU3D,OAAO,EAAE,cAAc,EAAE,MAAM,SAAS,CAAA;AAGxC;;GAEG;AACH,UAAU,oBAAqB,SAAQ,cAAc;IACnD,wDAAwD;IACxD,OAAO,CAAC,EAAE,SAAS,CAAC,SAAS,CAAC,CAAA;IAC9B,sDAAsD;IACtD,KAAK,CAAC,EAAE,SAAS,CAAC,OAAO,CAAC,CAAA;IAC1B,qDAAqD;IACrD,IAAI,CAAC,EAAE,SAAS,CAAC,MAAM,CAAC,CAAA;CACzB;AA6CD,QAAA,MAAM,OAAO;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAiCqB,CAAA;AAClC,eAAe,OAAO,CAAA;AA0PtB,eAAO,MAAM,UAAU;uDAlPpB,oBAAoB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA6PtB,CAAA;AAED,eAAO,MAAM,WAAW;uDA/PrB,oBAAoB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8BAwQW;QAAE,aAAa,EAAE,WAAW,CAAA;KAAE;CAgB/D,CAAA;AAED,eAAO,MAAM,OAAO;iCAtQyB,cAAc;CAwQ1D,CAAA;AAED,eAAO,MAAM,KAAK;iCA5OyB,cAAc;CA8OxD,CAAA;AAED,eAAO,MAAM,IAAI;iCApMyB,cAAc;CAsMvD,CAAA;AAED,eAAO,MAAM,QAAQ;uDAtSlB,oBAAoB;;;;CA2StB,CAAA;AAED,eAAO,MAAM,0BAA0B;;;8BAaL;QAAE,aAAa,EAAE,WAAW,CAAA;KAAE;CAQ/D,CAAA;AAED,eAAO,MAAM,wBAAwB;uDApUlC,oBAAoB;;;;;8BA0UW;QAAE,aAAa,EAAE,WAAW,CAAA;KAAE;CAW/D,CAAA;AAED,eAAO,MAAM,0BAA0B;uDAvVpC,oBAAoB;;;;;8BA6VW;QAAE,aAAa,EAAE,WAAW,CAAA;KAAE;CAe/D,CAAA;AAED,gKAAgK;AAChK,eAAO,MAAM,QAAQ;0BAnPkB,cAAc;CAqPpD,CAAA;AAED,eAAO,MAAM,KAAK;;;CAejB,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ChipGroupItem.d.ts","sourceRoot":"","sources":["../../../../src/components/ChipGroup/ChipGroupItem.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,SAAS,EAAoC,MAAM,eAAe,CAAA;AAE3E,OAAO,EAAE,kBAAkB,EAAE,MAAM,SAAS,CAAA;AAE5C;;;GAGG;AACH,MAAM,WAAW,2BAA4B,SAAQ,IAAI,CAAC,SAAS,EAAE,OAAO,CAAC;IAC3E,8DAA8D;IAC9D,QAAQ,EAAE,kBAAkB,CAAA;IAC5B,qCAAqC;IACrC,KAAK,EAAE,MAAM,CAAA;IACb,uCAAuC;IACvC,YAAY,EAAE,MAAM,CAAA;IACpB,8BAA8B;IAC9B,WAAW,CAAC,EAAE,OAAO,CAAA;CACtB;
|
|
1
|
+
{"version":3,"file":"ChipGroupItem.d.ts","sourceRoot":"","sources":["../../../../src/components/ChipGroup/ChipGroupItem.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,SAAS,EAAoC,MAAM,eAAe,CAAA;AAE3E,OAAO,EAAE,kBAAkB,EAAE,MAAM,SAAS,CAAA;AAE5C;;;GAGG;AACH,MAAM,WAAW,2BAA4B,SAAQ,IAAI,CAAC,SAAS,EAAE,OAAO,CAAC;IAC3E,8DAA8D;IAC9D,QAAQ,EAAE,kBAAkB,CAAA;IAC5B,qCAAqC;IACrC,KAAK,EAAE,MAAM,CAAA;IACb,uCAAuC;IACvC,YAAY,EAAE,MAAM,CAAA;IACpB,8BAA8B;IAC9B,WAAW,CAAC,EAAE,OAAO,CAAA;CACtB;AA2ED,kMAAkM;AAClM,QAAA,MAAM,aAAa,qIAA6B,CAAA;AAGhD,eAAe,aAAa,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"forms.d.ts","sourceRoot":"","sources":["../../../../src/theme/components/forms.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,UAAU,EAAuB,KAAK,EAAW,MAAM,eAAe,CAAA;AA8F/E,eAAO,MAAM,cAAc,EAAE,OAAO,CAAC,UAAU,CAAC,KAAK,CAAC,
|
|
1
|
+
{"version":3,"file":"forms.d.ts","sourceRoot":"","sources":["../../../../src/theme/components/forms.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,UAAU,EAAuB,KAAK,EAAW,MAAM,eAAe,CAAA;AA8F/E,eAAO,MAAM,cAAc,EAAE,OAAO,CAAC,UAAU,CAAC,KAAK,CAAC,CAg8BrD,CAAA"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@carto/meridian-ds",
|
|
3
|
-
"version": "5.2.
|
|
3
|
+
"version": "5.2.3-alpha.2cd5dbc.43855242934",
|
|
4
4
|
"description": "CARTO Meridian Design System",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"scripts": {
|
|
@@ -210,4 +210,4 @@
|
|
|
210
210
|
"url": "https://github.com/CartoDB/meridian-ds/issues"
|
|
211
211
|
},
|
|
212
212
|
"homepage": "https://github.com/CartoDB/meridian-ds#readme"
|
|
213
|
-
}
|
|
213
|
+
}
|
package/CHANGELOG.md
DELETED
|
@@ -1,504 +0,0 @@
|
|
|
1
|
-
# CHANGELOG
|
|
2
|
-
|
|
3
|
-
## Unreleased
|
|
4
|
-
|
|
5
|
-
## 5.0
|
|
6
|
-
|
|
7
|
-
### 5.2.2
|
|
8
|
-
|
|
9
|
-
- perf(icons): import @mui/icons-material per path so consumers skip the barrel [#590](https://github.com/CartoDB/meridian-ds/pull/590)
|
|
10
|
-
- ci(release): release notes after CI, release: alpha label and alpha docs [#576](https://github.com/CartoDB/meridian-ds/pull/576)
|
|
11
|
-
|
|
12
|
-
### 5.2.1
|
|
13
|
-
|
|
14
|
-
- ci(release): automate releases, alphas and release notes [#569](https://github.com/CartoDB/meridian-ds/pull/569)
|
|
15
|
-
|
|
16
|
-
### 5.2.0
|
|
17
|
-
|
|
18
|
-
- feat(dialog): export useScrollBorders hook for scroll-edge borders [sc-578988] [#564](https://github.com/CartoDB/meridian-ds/pull/564)
|
|
19
|
-
- feat(button): `tooltip` on Button and SplitButton — shown on hover even while disabled, and linked as the button's description; with it set, the button renders inside a wrapper span [sc-579530] [#563](https://github.com/CartoDB/meridian-ds/pull/563)
|
|
20
|
-
- feat(icon-button): logs a dev-only `console.error` when an IconButton has no accessible name — test setups that fail on `console.error` need a `tooltip` or `aria-label` on those buttons [sc-579530] [#563](https://github.com/CartoDB/meridian-ds/pull/563)
|
|
21
|
-
- feat(eslint-rules): new `@carto/meridian-ds/eslint-rules` export — Meridian's design rules as `no-restricted-syntax` entries plus generated MUI restricted imports, for `.eslintrc` or flat config; `SPACING_STEPS` exported from `@carto/meridian-ds/theme` [sc-579313] [#563](https://github.com/CartoDB/meridian-ds/pull/563)
|
|
22
|
-
- feat(ai-metadata): leaner MCP — minified results, compact catalogs (`list_icons` is now plain text; `list_components` lists family members by name), `get_component` takes `names` and returns `example`/`moreExamples`/`propTypes` instead of `description`/`examples.stories` [sc-578601] [sc-578984] [#563](https://github.com/CartoDB/meridian-ds/pull/563)
|
|
23
|
-
- feat(ai-metadata): conventions absorb the generic design-review rules; decision trees point list filters at FilterDropdown [sc-578639] [sc-580037] [#563](https://github.com/CartoDB/meridian-ds/pull/563)
|
|
24
|
-
- feat(ai-metadata): Meridian's own rendering per curated story — `meridian_get_screenshot(storyId)` and new `meridian_get_anatomy(storyId)`, shipped in `dist/stories/` [sc-580343] [#568](https://github.com/CartoDB/meridian-ds/pull/568)
|
|
25
|
-
- chore(stories): stories follow Meridian's design rules, enforced by lint [sc-579467] [#563](https://github.com/CartoDB/meridian-ds/pull/563)
|
|
26
|
-
|
|
27
|
-
### 5.1.3
|
|
28
|
-
|
|
29
|
-
- fix(ai-metadata): allow fractional spacing steps; give design team ownership of design-system paths [sc-577069] [#558](https://github.com/CartoDB/meridian-ds/pull/558)
|
|
30
|
-
- feat(ci): notify Slack when a PR needs design review [#558](https://github.com/CartoDB/meridian-ds/pull/558)
|
|
31
|
-
|
|
32
|
-
### 5.1.2
|
|
33
|
-
|
|
34
|
-
- fix(dialog-header): Name the dialog only by its title [sc-577444] [#556](https://github.com/CartoDB/meridian-ds/pull/556)
|
|
35
|
-
|
|
36
|
-
### 5.1.1
|
|
37
|
-
|
|
38
|
-
- feat(custom-icons): add ColumnWidth, FullWidth, Layout1col, Layout2col, LayoutDashboard, Mask, ResetFilled; update AiAgent from the Figma import [#552](https://github.com/CartoDB/meridian-ds/pull/552)
|
|
39
|
-
- feat(ci): harden the AI PR reviewer and post findings inline [sc-561556] [#513](https://github.com/CartoDB/meridian-ds/pull/513)
|
|
40
|
-
|
|
41
|
-
### 5.1.0
|
|
42
|
-
|
|
43
|
-
- feat(theme): support `color='tertiary'` — CARTO's purple accent — on Button, IconButton, ButtonGroup, SplitButton, Fab, ToggleButton, ToggleButtonGroup, Chip and Tag, plus a new `selectedColor` on MenuItem / FilterDropdown and `buttonColor` on MessageField [sc-567740] [#535](https://github.com/CartoDB/meridian-ds/pull/535)
|
|
44
|
-
- fix(ToggleButton): `color` now drives the selected state on ToggleButton and ToggleButtonGroup — the theme previously pinned it to primary whatever the value; the default is unchanged [#535](https://github.com/CartoDB/meridian-ds/pull/535)
|
|
45
|
-
- chore(deps): bump @figma/code-connect from 1.4.5 to 2.0.0 [#535](https://github.com/CartoDB/meridian-ds/pull/535)
|
|
46
|
-
- chore(deps-dev): bump the storybook group to 10.6.0 — including `@storybook/addon-mcp` from 0.7 and `@chromatic-com/storybook` to 5.3.1 [#535](https://github.com/CartoDB/meridian-ds/pull/535)
|
|
47
|
-
- chore(deps): bump js-yaml from 4.3.1 to 4.3.2 [#545](https://github.com/CartoDB/meridian-ds/pull/545)
|
|
48
|
-
- chore(deps): bump js-yaml from 4.3.1 to 4.3.2 in /scripts/import-figma-icons [#543](https://github.com/CartoDB/meridian-ds/pull/543)
|
|
49
|
-
- chore(deps): bump svgo from 3.3.4 to 3.3.5 in /scripts/import-figma-icons [#542](https://github.com/CartoDB/meridian-ds/pull/542)
|
|
50
|
-
- chore(deps): bump fflate from 0.8.2 to 0.8.3 [#534](https://github.com/CartoDB/meridian-ds/pull/534)
|
|
51
|
-
- chore(deps): bump fast-uri from 3.1.5 to 3.1.7 [#529](https://github.com/CartoDB/meridian-ds/pull/529)
|
|
52
|
-
- chore(deps): bump qs from 6.15.3 to 6.16.0 [#530](https://github.com/CartoDB/meridian-ds/pull/530)
|
|
53
|
-
- chore(deps): bump browserslist from 4.24.2 to 4.28.9 [#532](https://github.com/CartoDB/meridian-ds/pull/532)
|
|
54
|
-
- chore(deps): bump browserslist from 4.24.2 to 4.28.8 in /scripts/import-figma-icons [#531](https://github.com/CartoDB/meridian-ds/pull/531)
|
|
55
|
-
|
|
56
|
-
### 5.0.0
|
|
57
|
-
|
|
58
|
-
- chore(deps): upgrade MUI core + MUI X from v5 to v9 [sc-557186] [#485](https://github.com/CartoDB/meridian-ds/pull/485), in three phases — v6 [#484](https://github.com/CartoDB/meridian-ds/pull/484), v7 [#505](https://github.com/CartoDB/meridian-ds/pull/505), v9 [#524](https://github.com/CartoDB/meridian-ds/pull/524).
|
|
59
|
-
- **BREAKING** chore(theme): dot-path palette colors are inert on MUI components — `color='text.secondary'` no longer resolves; move it to `sx`.
|
|
60
|
-
- **BREAKING** chore(fields): `InputProps` / `inputProps` are gone from every component inheriting `TextFieldProps`. Use `slotProps.input` or `slotProps.htmlInput`.
|
|
61
|
-
- **BREAKING** chore(Dialog): `PaperProps` removed — use `slotProps.paper`. The dialog role, `aria-label` and `data-*` now sit on the paper, so selectors keyed on `.MuiDialog-root` stop matching.
|
|
62
|
-
- **BREAKING** chore(Autocomplete): `renderTags` → `renderValue`, and `ListboxComponent` / `PaperComponent` / `MenuListProps` → `slots` / `slotProps`.
|
|
63
|
-
- **BREAKING** chore(MenuItem): `MenuItem` throws outside a `MenuList` or `Menu` — hand-rolled dropdown surfaces must wrap their rows.
|
|
64
|
-
- **BREAKING** chore(date-pickers): the field renders editable `role='spinbutton'` sections instead of a single `<input>`; `.MuiInputBase-root` and the `PickersYear` / `PickersMonth` wrappers no longer match; `DatePicker`'s `placeholder` is deprecated and reaches nobody. `AdapterDateFns` now requires date-fns v3/v4 — on v2, import `@mui/x-date-pickers/AdapterDateFnsV2`.
|
|
65
|
-
- **BREAKING** chore(icons): the filled `*Outline` icons are gone — rename to `*Outlined`.
|
|
66
|
-
- **BREAKING** chore(Divider): drop the `light` prop.
|
|
67
|
-
- **BREAKING** chore(theme): `cartoThemeOptions` is typed `ThemeOptions`, so its members are optional — read values from the exported `theme` instead.
|
|
68
|
-
|
|
69
|
-
## 4.0
|
|
70
|
-
|
|
71
|
-
### 4.4.0
|
|
72
|
-
|
|
73
|
-
- feat(theme): add tertiary custom palette color [sc-567533] [#525](https://github.com/CartoDB/meridian-ds/pull/525)
|
|
74
|
-
- chore(deps): bump js-yaml from 4.3.0 to 4.3.1 in /scripts/import-figma-icons [#514](https://github.com/CartoDB/meridian-ds/pull/514)
|
|
75
|
-
- feat(legend): line & polygon stroke styles + fill patterns in `LegendCategories`, a filled `square` shows its stroke color + dash border, and export a standalone `LegendCategorySwatch` [#446](https://github.com/CartoDB/meridian-ds/pull/446)
|
|
76
|
-
|
|
77
|
-
### 4.3.0
|
|
78
|
-
|
|
79
|
-
- chore(deps): bump js-yaml from 4.3.0 to 4.3.1 [#516](https://github.com/CartoDB/meridian-ds/pull/516)
|
|
80
|
-
- chore(deps): bump nanoid from 3.3.16 to 3.3.18 [#515](https://github.com/CartoDB/meridian-ds/pull/515)
|
|
81
|
-
- feat(SearchField): dense prop for compact 32px control height [#517](https://github.com/CartoDB/meridian-ds/pull/517)
|
|
82
|
-
- chore(deps-dev): bump dompurify from 3.4.12 to 3.4.13 [#512](https://github.com/CartoDB/meridian-ds/pull/512)
|
|
83
|
-
- test(visual): stop DateRangeCalendar snapshot date drift, document story determinism + review triage [sc-565483] [sc-565508] [#509](https://github.com/CartoDB/meridian-ds/pull/509)
|
|
84
|
-
- fix(ci): re-sync the auto-logged CHANGELOG line when a PR title changes [sc-565536] [#510](https://github.com/CartoDB/meridian-ds/pull/510)
|
|
85
|
-
- chore(deps): bump brace-expansion from 1.1.16 to 1.1.18 [#503](https://github.com/CartoDB/meridian-ds/pull/503)
|
|
86
|
-
- chore(deps): bump fast-uri from 3.1.4 to 3.1.5 [#508](https://github.com/CartoDB/meridian-ds/pull/508)
|
|
87
|
-
- chore(deps): bump undici from 7.28.0 to 7.29.0 [#507](https://github.com/CartoDB/meridian-ds/pull/507)
|
|
88
|
-
- fix(CreatableAutocomplete): show a no-options row instead of an empty popup [#504](https://github.com/CartoDB/meridian-ds/pull/504)
|
|
89
|
-
- chore(deps): bump yaml from 1.10.2 to 1.10.3 [#501](https://github.com/CartoDB/meridian-ds/pull/501)
|
|
90
|
-
- chore(deps): bump postcss from 8.5.16 to 8.5.23 [#498](https://github.com/CartoDB/meridian-ds/pull/498)
|
|
91
|
-
- chore(deps): bump picomatch from 2.3.1 to 2.3.2 [#500](https://github.com/CartoDB/meridian-ds/pull/500)
|
|
92
|
-
- chore(deps-dev): bump vitest from 3.2.4 to 3.2.6 [#499](https://github.com/CartoDB/meridian-ds/pull/499)
|
|
93
|
-
- chore(deps): bump lodash from 4.17.21 to 4.18.1 [#502](https://github.com/CartoDB/meridian-ds/pull/502)
|
|
94
|
-
- chore(deps-dev): bump the storybook group with 7 updates [#493](https://github.com/CartoDB/meridian-ds/pull/493)
|
|
95
|
-
- chore(deps-dev): bump @babel/core from 7.26.0 to 7.29.6 in /scripts/import-figma-icons [#491](https://github.com/CartoDB/meridian-ds/pull/491)
|
|
96
|
-
- chore(deps): bump ws from 8.18.0 to 8.21.1 [#492](https://github.com/CartoDB/meridian-ds/pull/492)
|
|
97
|
-
- chore(deps): bump @babel/core from 7.26.0 to 7.29.7 [#490](https://github.com/CartoDB/meridian-ds/pull/490)
|
|
98
|
-
- chore(deps-dev): bump @vitest/browser from 3.2.4 to 3.2.7 [#488](https://github.com/CartoDB/meridian-ds/pull/488)
|
|
99
|
-
- chore(deps): bump fast-uri from 3.0.3 to 3.1.4 [#489](https://github.com/CartoDB/meridian-ds/pull/489)
|
|
100
|
-
- chore(deps): bump svgo from 3.3.2 to 3.3.4 in /scripts/import-figma-icons [#487](https://github.com/CartoDB/meridian-ds/pull/487)
|
|
101
|
-
- chore(deps): bump brace-expansion from 1.1.12 to 1.1.16 [#483](https://github.com/CartoDB/meridian-ds/pull/483)
|
|
102
|
-
- chore(deps-dev): bump the storybook group across 1 directory with 11 updates [#481](https://github.com/CartoDB/meridian-ds/pull/481)
|
|
103
|
-
- chore(deps): bump qs from 6.15.1 to 6.15.3 [#476](https://github.com/CartoDB/meridian-ds/pull/476)
|
|
104
|
-
- chore(deps): bump js-yaml from 4.1.1 to 4.3.0 [#468](https://github.com/CartoDB/meridian-ds/pull/468)
|
|
105
|
-
- chore(deps): bump js-yaml from 4.1.1 to 4.3.0 in /scripts/import-figma-icons [#467](https://github.com/CartoDB/meridian-ds/pull/467)
|
|
106
|
-
- chore(deps): bump form-data from 4.0.4 to 4.0.6 [#457](https://github.com/CartoDB/meridian-ds/pull/457)
|
|
107
|
-
- chore(deps): bump undici from 7.25.0 to 7.28.0 [#456](https://github.com/CartoDB/meridian-ds/pull/456)
|
|
108
|
-
- chore(deps-dev): bump dompurify from 3.2.6 to 3.4.11 [#455](https://github.com/CartoDB/meridian-ds/pull/455)
|
|
109
|
-
|
|
110
|
-
### 4.2.0
|
|
111
|
-
|
|
112
|
-
- feat(ai-metadata): serve custom-icon and theme-token knowledge to AI agents — new `meridian_list_icons`, `meridian_get_tokens`, and `meridian_get_screenshot` MCP tools (icons searchable by curated keywords + a labeled all-icons reference image an agent can Read to match a design by sight; tokens projected straight from the composed theme: palette / typography / spacing / shape / breakpoints / shadows), plus surfaced List `direction`/`spacing` props [#463](https://github.com/CartoDB/meridian-ds/pull/463) [sc-559510] [sc-559550] [sc-561408]
|
|
113
|
-
- feat(ci): add Claude AI PR review workflow (sc-561354) [#471](https://github.com/CartoDB/meridian-ds/pull/471)
|
|
114
|
-
- chore(ci): disable gemini-code-assist code review [#479](https://github.com/CartoDB/meridian-ds/pull/479)
|
|
115
|
-
|
|
116
|
-
### 4.1.0
|
|
117
|
-
|
|
118
|
-
- Storybook: replace Chromatic visual regression with a mandatory self-hosted Playwright harness (in-repo baselines, PR diff report, label-driven baseline updates); Chromatic is now deploy-only for the MCP integration [#412](https://github.com/CartoDB/meridian-ds/pull/412)
|
|
119
|
-
- feat(DateRangeCalendar): new component to select a date range in a single, always-visible calendar (no separate input fields), with a neutral hover preview of the pending range that turns into the selection color once committed — reuses `PickersDay` so styling stays token-driven [#465](https://github.com/CartoDB/meridian-ds/pull/465)
|
|
120
|
-
|
|
121
|
-
### 4.0.0
|
|
122
|
-
|
|
123
|
-
- **BREAKING** feat(widgets): move all Builder chart/data widgets to their sole consumer (workspace-www) and remove echarts from Meridian. Removes `PieWidgetUI`, `TimeSeriesWidgetUI`, `CategoryWidgetUI`, `HistogramWidgetUI`, `BarWidgetUI`, `ScatterPlotWidgetUI`, `FormulaWidgetUI`, `RangeWidgetUI`, `TableWidgetUI`, `WrapperWidgetUI`, `FeatureSelectionWidgetUI`, `NoDataAlert`, `ChartLegend`, and the comparative widgets; only the `legend` widgets remain. Adds public `./charts` and `./hooks` subpaths for the shared chart infrastructure (skeleton primitives, chart constants, formatter/animation utils) and the hooks the extracted widgets depend on; `theme` now also exports `commonPalette`. Drops the `echarts`/`echarts-for-react` dependencies and the `ReactEcharts` wrapper. [#462](https://github.com/CartoDB/meridian-ds/pull/462)
|
|
124
|
-
- fix(tooltip): prevent the hover "wave" (cascading tooltips) when scrubbing across icon-button lists — tune `MuiTooltip` defaults (`enterNextDelay`, `leaveDelay`, `Fade` transition) [#458](https://github.com/CartoDB/meridian-ds/pull/458)
|
|
125
|
-
|
|
126
|
-
## 3.0
|
|
127
|
-
|
|
128
|
-
### 3.1.0
|
|
129
|
-
|
|
130
|
-
- feat(components): add IconWrapper [#453](https://github.com/CartoDB/meridian-ds/pull/453)
|
|
131
|
-
- feat(custom-icons): add Leftsidebar, Rightsidebar, SqlSource; update RunReuse from the Figma import
|
|
132
|
-
- feat(ai-metadata): expose component knowledge to AI agents via the new `meridian-ds-mcp` MCP server — a build-time `dist/metadata.json` bundle (curation, conventions, example code) authored per component via `<Name>.metadata.ts` + JSDoc, validated in CI [#443](https://github.com/CartoDB/meridian-ds/pull/443)
|
|
133
|
-
- feat(ai-metadata): full component-catalog coverage (every public component documented) plus CI enforcement — coverage gate, listable `decisionTree`/`subComponent` targets, and repo-wide JSDoc tag hygiene; custom icons + theme still to come [#459](https://github.com/CartoDB/meridian-ds/pull/459)
|
|
134
|
-
|
|
135
|
-
### 3.0.2
|
|
136
|
-
|
|
137
|
-
- fix(CodeArea): keep a comfortable right padding for long, wrapped values in read-only / `lineNumbers: false` blocks — wrapped content no longer touches the right edge [#448](https://github.com/CartoDB/meridian-ds/pull/448)
|
|
138
|
-
- fix(ToggleButtonGroup): keep all four corners rounded (every variant) when each button is wrapped in an extra element (e.g. a tooltip `<span>`) — round every grouped button position-independently instead of relying on `:first-of-type`/`:last-of-type`, which break when a wrapper sits between the group and its buttons [#447](https://github.com/CartoDB/meridian-ds/pull/447) [sc-556920]
|
|
139
|
-
- fix(figma): sync Code Connect templates with the Meridian-DS Figma renames and add templates for the new `CopiableInputText` and `PasswordField` components [#436](https://github.com/CartoDB/meridian-ds/pull/436)
|
|
140
|
-
|
|
141
|
-
### 3.0.1
|
|
142
|
-
|
|
143
|
-
- fix(ci): re-enable `Test Interaction` reliably on `ubuntu-24.04`. Pins Yarn 4 in-repo via `yarnPath`. Also standardizes all workflows on `ubuntu-24.04` and SHA-pins / bumps third-party actions [#431](https://github.com/CartoDB/meridian-ds/pull/431)
|
|
144
|
-
- feat(design system): Support `mode="yaml` in the `CodeArea` component
|
|
145
|
-
|
|
146
|
-
### 3.0.0
|
|
147
|
-
|
|
148
|
-
- fix(ci): skip `test-interaction` unblocking releases while it's being investigated [#434](https://github.com/CartoDB/meridian-ds/pull/434)
|
|
149
|
-
- fix(ci): release_precheck respects allowed-failures via the `test` aggregate, so `test-interaction` failures no longer skip the release job [#433](https://github.com/CartoDB/meridian-ds/pull/433)
|
|
150
|
-
- feat(custom-icons): integrate Figma Code Connect for all custom icons [#425](https://github.com/CartoDB/meridian-ds/pull/425)
|
|
151
|
-
- feat(design system): integrate Figma Code Connect through `*.figma.ts` templates, two-layer validator (`yarn figma:validate:code` + `yarn figma:validate:live`), CI gating, and two Claude skills [#294](https://github.com/CartoDB/meridian-ds/pull/294)
|
|
152
|
-
- **BREAKING** chore(custom-icons): drop the `AiTool` icon — the Figma counterpart was renamed to `McpTool`, but the existing import script didn't catch the rename, so both icons ended up coexisting in the repo as duplicate assets pointing to the same Figma node. Consumers importing `AiTool` from `@carto/meridian-ds/custom-icons` should switch to `McpTool`.
|
|
153
|
-
- **BREAKING** chore(DateRangePicker): drop the top-level shortcuts that weren't rendered — `helperText` / `placeholder` (omitted from the inherited `DateRangePickerProps` surface) and `startDateLabel` / `endDateLabel` (removed). Use `globalHelperText` (spans both fields) or per-field `startProps.{helperText, placeholder, label}` / `endProps.{helperText, placeholder, label}`; localized label defaults still apply when no per-field label is provided.
|
|
154
|
-
- **BREAKING** chore(CodeAreaField): rename `CodeAreaProps` → `CodeAreaFieldProps` to match the `<Base>Props` convention used elsewhere. Consumers importing `CodeAreaProps` from `@carto/meridian-ds/components` need to update the type name.
|
|
155
|
-
|
|
156
|
-
## 2.0
|
|
157
|
-
|
|
158
|
-
### 2.17.0
|
|
159
|
-
|
|
160
|
-
- feat(CodeAreaDialog): add `confirmationDialogButtons` prop to override the confirmation's cancel/close actions [#418](https://github.com/CartoDB/meridian-ds/pull/418)
|
|
161
|
-
- Storybook: add interaction tests via `@storybook/addon-vitest` [#407](https://github.com/CartoDB/meridian-ds/pull/407)
|
|
162
|
-
|
|
163
|
-
### 2.16.1
|
|
164
|
-
|
|
165
|
-
- Chore: enable echarts treeshaking by switching `ReactEcharts` to `echarts-for-react/lib/core` and registering only the charts/components actually used [#415](https://github.com/CartoDB/meridian-ds/pull/415)
|
|
166
|
-
|
|
167
|
-
### 2.16.0
|
|
168
|
-
|
|
169
|
-
- feat(Slider): restyle `marks` as a thin vertical break in the rail to act as stop indicators [#410](https://github.com/CartoDB/meridian-ds/pull/410)
|
|
170
|
-
- Feat: add `markLine` prop to `TimeSeriesWidgetUI` for custom reference lines [#409](https://github.com/CartoDB/meridian-ds/pull/409)
|
|
171
|
-
- Chore: remove redundant prepublish lifecycle hook [#404](https://github.com/CartoDB/meridian-ds/pull/404)
|
|
172
|
-
- Test: fill unit testing gaps [#401](https://github.com/CartoDB/meridian-ds/pull/401)
|
|
173
|
-
- Storybook: add pseudo-states addon for CSS state testing and extend `PseudoHover`/`PseudoFocusVisible` coverage across components [#406](https://github.com/CartoDB/meridian-ds/pull/406)
|
|
174
|
-
- Fix: add missing padding on date picker calendar header `labelContainer` to match the design spec [#406](https://github.com/CartoDB/meridian-ds/pull/406)
|
|
175
|
-
- Add new custom icons: LayerTypeCluster, LayerTypeH3, LayerTypeHeatmap, LayerTypeLine, LayerTypePoint, LayerTypePolygon, LayersGroup, ShortcutMap, ShortcutWorkflow, StarredLayer, StrokeDot, VisibilityOffByGroup, XLogo, and update SelectFeature [#413](https://github.com/CartoDB/meridian-ds/pull/413)
|
|
176
|
-
|
|
177
|
-
### 2.15.1
|
|
178
|
-
|
|
179
|
-
- Fix: preserve compiled messages in flattenMessages — fixes `buttonFooterLabelId` and similar intl-key props showing raw keys [#402](https://github.com/CartoDB/meridian-ds/pull/402)
|
|
180
|
-
|
|
181
|
-
### 2.15.0
|
|
182
|
-
|
|
183
|
-
- Fix: WCAG accessibility improvements — IconButton aria-label, text contrast, widget labels [#398](https://github.com/CartoDB/meridian-ds/pull/398)
|
|
184
|
-
- CI: add prerelease workflow for branch releases [#396](https://github.com/CartoDB/meridian-ds/pull/396)
|
|
185
|
-
- Migrate Storybook from v8 to v10 [#393](https://github.com/CartoDB/meridian-ds/pull/393)
|
|
186
|
-
- Add Storybook MCP addon for AI-assisted development [#394](https://github.com/CartoDB/meridian-ds/pull/394)
|
|
187
|
-
|
|
188
|
-
### 2.14.2
|
|
189
|
-
|
|
190
|
-
- Fix: scope accordion small-size selectors to AccordionGroup and reset button letter-spacing [#391](https://github.com/CartoDB/meridian-ds/pull/391)
|
|
191
|
-
|
|
192
|
-
### 2.14.1
|
|
193
|
-
|
|
194
|
-
- Fix: remove `marginRight` hack from EllipsisWithTooltip `first-child` ellipsis target [#389](https://github.com/CartoDB/meridian-ds/pull/389)
|
|
195
|
-
|
|
196
|
-
### 2.14.0
|
|
197
|
-
|
|
198
|
-
- Add new custom icons: FolderOrg, FolderPublic, FolderRestricted, MapOrg, MapPublic, MapRestricted, ProjectOrg, ProjectPublic, ProjectRestricted, WorkflowOrg, WorkflowPublic, WorkflowRestricted [#387](https://github.com/CartoDB/meridian-ds/pull/387)
|
|
199
|
-
|
|
200
|
-
### 2.13.1
|
|
201
|
-
|
|
202
|
-
- Fix: prevent IME composition (Japanese, Chinese, Korean input) from triggering message submission in MessageField [#383](https://github.com/CartoDB/meridian-ds/pull/383/)
|
|
203
|
-
|
|
204
|
-
### 2.13.0
|
|
205
|
-
|
|
206
|
-
- Fix: revert package version and remove disabled cursor override from form inputs [#384](https://github.com/CartoDB/meridian-ds/pull/384)
|
|
207
|
-
- feat(design system): Add `size` prop to AccordionGroup for compact display [#382](https://github.com/CartoDB/meridian-ds/pull/382)
|
|
208
|
-
- Fix: make ChipGroupItem width fit its content [#381](https://github.com/CartoDB/meridian-ds/pull/381)
|
|
209
|
-
- feat(design system): Add `helperTextAlign` prop to MessageField for horizontal positioning of helper text [#380](https://github.com/CartoDB/meridian-ds/pull/380)
|
|
210
|
-
- feat(design system): Allow MultipleSelectField to labels for aggregate text when collapsed [#379](https://github.com/CartoDB/meridian-ds/pull/379)
|
|
211
|
-
- Upgrade repository to Node 24 [#378](https://github.com/CartoDB/meridian-ds/pull/378)
|
|
212
|
-
|
|
213
|
-
### 2.12.2
|
|
214
|
-
|
|
215
|
-
- Fix: change default arrow onBack icon for DialogHeader component [#376] (https://github.com/CartoDB/meridian-ds/pull/376)
|
|
216
|
-
|
|
217
|
-
### 2.12.1
|
|
218
|
-
|
|
219
|
-
- Allow customization of menu item label in MultipleSelectField [#359](https://github.com/CartoDB/meridian-ds/pull/359)
|
|
220
|
-
- Custom Icons [#374](https://github.com/CartoDB/meridian-ds/pull/374)
|
|
221
|
-
|
|
222
|
-
### 2.12.0
|
|
223
|
-
|
|
224
|
-
- Added onBack button functionality to the DialogHeader component [#372](https://github.com/CartoDB/meridian-ds/pull/372)
|
|
225
|
-
|
|
226
|
-
### 2.11.0
|
|
227
|
-
|
|
228
|
-
- Extend `AccordionGroup`, adding the `sx` property to each of the `items` [#369](https://github.com/CartoDB/meridian-ds/pull/369)
|
|
229
|
-
- New MessageField and ChipGroup components [#362](https://github.com/CartoDB/meridian-ds/pull/362)
|
|
230
|
-
- Fix flaky DateRangePicker test: auto-opens end date picker after selecting start date [#368](https://github.com/CartoDB/meridian-ds/pull/368)
|
|
231
|
-
|
|
232
|
-
### 2.10.2
|
|
233
|
-
|
|
234
|
-
- FeatureSelectionWidgetUI: Fix ChipList horizontal layout after List component update [#365](https://github.com/CartoDB/meridian-ds/pull/365)
|
|
235
|
-
|
|
236
|
-
### 2.10.1
|
|
237
|
-
|
|
238
|
-
- Autocomplete: make groupBy deprecation warning conditional for virtualization [#364](https://github.com/CartoDB/meridian-ds/pull/364)
|
|
239
|
-
- Add Storybook examples regarding grouped lists in Autocomplete and SelectField [#363](https://github.com/CartoDB/meridian-ds/pull/363)
|
|
240
|
-
- Add displayName to custom Icons [#361](https://github.com/CartoDB/meridian-ds/pull/361)
|
|
241
|
-
- Add code panel to Storybook UI [#344](https://github.com/CartoDB/meridian-ds/pull/344)
|
|
242
|
-
|
|
243
|
-
### 2.10.0
|
|
244
|
-
|
|
245
|
-
- Fix ESM/CJS interop issue with react-window for Yarn PnP consumers [#356](https://github.com/CartoDB/meridian-ds/pull/356)
|
|
246
|
-
- New List components (ListItemIcon, ListItemText, ListSubheader) [#352](https://github.com/CartoDB/meridian-ds/pull/352)
|
|
247
|
-
- New List components (List, ListItem, ListItemButton, ListItemRightContent) [#353](https://github.com/CartoDB/meridian-ds/pull/353)
|
|
248
|
-
- Minor changes in: LabelWithIndicator and MenuItem components [#354](https://github.com/CartoDB/meridian-ds/pull/354)
|
|
249
|
-
- Minor changes in: Avatar, Menu, Chip and Tag components [#350](https://github.com/CartoDB/meridian-ds/pull/350)
|
|
250
|
-
|
|
251
|
-
### 2.9.4
|
|
252
|
-
|
|
253
|
-
- fix(widgets): Support null values in PieWidgetUI [#349](https://github.com/CartoDB/meridian-ds/pull/349)
|
|
254
|
-
|
|
255
|
-
### 2.9.3
|
|
256
|
-
|
|
257
|
-
- Custom Icons: SwitchAccessShortcut [#347](https://github.com/CartoDB/meridian-ds/pull/347)
|
|
258
|
-
|
|
259
|
-
### 2.9.2
|
|
260
|
-
|
|
261
|
-
- Custom Icons: ArrowDownHigh, ArrowRightHigh, FolderEmpty [#345](https://github.com/CartoDB/meridian-ds/pull/345)
|
|
262
|
-
- Custom Icons: FilterCircle, FilterCircleOutlined [#337](https://github.com/CartoDB/meridian-ds/pull/337)
|
|
263
|
-
- CI: Auto-run Chromatic on release PRs [#334](https://github.com/CartoDB/meridian-ds/pull/334)
|
|
264
|
-
|
|
265
|
-
### 2.9.1
|
|
266
|
-
|
|
267
|
-
- Custom Icons: GroupOff, RunReuse, SearchMap, SwitchAccessShortcut [#335](https://github.com/CartoDB/meridian-ds/pull/335)
|
|
268
|
-
|
|
269
|
-
### 2.9.0
|
|
270
|
-
|
|
271
|
-
- New EmptyState component [#330](https://github.com/CartoDB/meridian-ds/pull/330)
|
|
272
|
-
- Tests: Add console mock utility and enhance test setup [#315](https://github.com/CartoDB/meridian-ds/pull/315)
|
|
273
|
-
|
|
274
|
-
### 2.8.0
|
|
275
|
-
|
|
276
|
-
- New Loader and CircularProgress components [#329](https://github.com/CartoDB/meridian-ds/pull/329)
|
|
277
|
-
- Dialog: improve customization [#313](https://github.com/CartoDB/meridian-ds/pull/313)
|
|
278
|
-
- ToggleButtonGroup: move styles to the theme [#319](https://github.com/CartoDB/meridian-ds/pull/319)
|
|
279
|
-
- Custom Icons: CreateFolder, FolderEmpty [#331](https://github.com/CartoDB/meridian-ds/pull/331)
|
|
280
|
-
|
|
281
|
-
### 2.7.0
|
|
282
|
-
|
|
283
|
-
- New SearchField component [#308](https://github.com/CartoDB/meridian-ds/pull/308)
|
|
284
|
-
- Custom Icons: ApiAccessToken, ApiBaseUrl, AppCredentials, M2mOauthClient,SpaOauthClient, WorkflowApiEndpoint [#325](https://github.com/CartoDB/meridian-ds/pull/325)
|
|
285
|
-
- Avatar: move size styles to the theme [#321](https://github.com/CartoDB/meridian-ds/pull/321)
|
|
286
|
-
- Alert: move neutral styles to the theme [#320](https://github.com/CartoDB/meridian-ds/pull/320)
|
|
287
|
-
- Handle empty buttonFooterLabelId in CodeAreaFooter [#323](https://github.com/CartoDB/meridian-ds/pull/323)
|
|
288
|
-
- Dialog: add a property to override content gap [#322](https://github.com/CartoDB/meridian-ds/pull/322)
|
|
289
|
-
- Improve translations handling in Meridian (part 4) [#309](https://github.com/CartoDB/meridian-ds/pull/309)
|
|
290
|
-
- Improve translations handling in Meridian (part 3) [#306](https://github.com/CartoDB/meridian-ds/pull/306)
|
|
291
|
-
- Improve translations handling in Meridian (part 2) [#305](https://github.com/CartoDB/meridian-ds/pull/305)
|
|
292
|
-
- Improve translations handling in Meridian (part 1) [#304](https://github.com/CartoDB/meridian-ds/pull/304)
|
|
293
|
-
- FilterDropdown: improve customization [#312](https://github.com/CartoDB/meridian-ds/pull/312)
|
|
294
|
-
- CopiableComponent: improve customization [#311](https://github.com/CartoDB/meridian-ds/pull/311)
|
|
295
|
-
- AppBar: disallow user selection of text [#324](https://github.com/CartoDB/meridian-ds/pull/324)
|
|
296
|
-
|
|
297
|
-
### 2.6.1
|
|
298
|
-
|
|
299
|
-
- Custom Icons: FoldersStackedOutlined,RedoAlt,UndoAlt [#317](https://github.com/CartoDB/meridian-ds/pull/317)
|
|
300
|
-
- Tabs: remove box-shadow in vertical mode [#302](https://github.com/CartoDB/meridian-ds/pull/302)
|
|
301
|
-
|
|
302
|
-
### 2.6.0
|
|
303
|
-
|
|
304
|
-
- New EllipsisWithTooltip component [#299](https://github.com/CartoDB/meridian-ds/pull/299)
|
|
305
|
-
- Improve translations handling with `useTranslationFallback` hook [#293](https://github.com/CartoDB/meridian-ds/pull/293)
|
|
306
|
-
- Add unit tests for data display components [#292](https://github.com/CartoDB/meridian-ds/pull/292)
|
|
307
|
-
- Add unit tests for action components [#290](https://github.com/CartoDB/meridian-ds/pull/290)
|
|
308
|
-
|
|
309
|
-
### 2.5.5
|
|
310
|
-
|
|
311
|
-
- Utils files: rename to kebab-case for better naming convention [#291](https://github.com/CartoDB/meridian-ds/pull/291)
|
|
312
|
-
- Add unit tests for utils and hooks [#285](https://github.com/CartoDB/meridian-ds/pull/285)
|
|
313
|
-
- Add unit tests for field components [#287](https://github.com/CartoDB/meridian-ds/pull/287)
|
|
314
|
-
- Support `copyText={null}` in `CopiableComponent` [#296](https://github.com/CartoDB/meridian-ds/pull/296)
|
|
315
|
-
|
|
316
|
-
### 2.5.4
|
|
317
|
-
|
|
318
|
-
- Custom Icons: BulletPointAlt,BulletPointCheckedAlt,ShowNodeResults [#288](https://github.com/CartoDB/meridian-ds/pull/288)
|
|
319
|
-
- Replace `fireEvent` with `userEvent` for better test reliability [#282](https://github.com/CartoDB/meridian-ds/pull/282)
|
|
320
|
-
- Move Atomic structure to a Co-located Files structure [#269](https://github.com/CartoDB/meridian-ds/pull/269)
|
|
321
|
-
- Add test coverage report locally & to the CI [#161](https://github.com/CartoDB/meridian-ds/pull/161)
|
|
322
|
-
|
|
323
|
-
### 2.5.3
|
|
324
|
-
|
|
325
|
-
- Support `tooltipLabel` + `disabled` properties in `FilterDropdown` [#279](https://github.com/CartoDB/meridian-ds/pull/279)
|
|
326
|
-
|
|
327
|
-
### 2.5.2
|
|
328
|
-
|
|
329
|
-
- Rename `useAutocompletion` to `useCodeAreaAutocompletion` [#275](https://github.com/CartoDB/meridian-ds/pull/275)
|
|
330
|
-
- Modify `useCodeAreaAutocompletion` interface to accept functions for a better memoization [#277](https://github.com/CartoDB/meridian-ds/pull/277)
|
|
331
|
-
|
|
332
|
-
### 2.5.0
|
|
333
|
-
|
|
334
|
-
- Move widgets files: Co-located Files with Explicit Exports [#259](https://github.com/CartoDB/meridian-ds/pull/259)
|
|
335
|
-
- Move the Mui component's stories to the `src/theme/` folder [#260](https://github.com/CartoDB/meridian-ds/pull/260)
|
|
336
|
-
- Integrate Chromatic visual testing tool in CI [#236](https://github.com/CartoDB/meridian-ds/pull/236)
|
|
337
|
-
- Add cursor rules, CODEOWNERS, and fix dependabot groups [#242](https://github.com/CartoDB/meridian-ds/pull/242)
|
|
338
|
-
- Support `useAutocompletion` in `CodeAreaField` component [#270](https://github.com/CartoDB/meridian-ds/pull/270)
|
|
339
|
-
- Support Symbol Highlighting in `CodeAreaField` component [#271](https://github.com/CartoDB/meridian-ds/pull/271)
|
|
340
|
-
|
|
341
|
-
### 2.4.0
|
|
342
|
-
|
|
343
|
-
- feat(icons): Update custom icons, adding `AiGeneratedObject`, `McpTool`, `SelectFeature` [#249](https://github.com/CartoDB/meridian-ds/pull/249)
|
|
344
|
-
- docs(Autocomplete): Improve Autocomplete documentation [#244](https://github.com/CartoDB/meridian-ds/pull/244)
|
|
345
|
-
|
|
346
|
-
### 2.3.1
|
|
347
|
-
|
|
348
|
-
- fix(widgets): FormulaWidgets doesn't display if when loading [#240](https://github.com/CartoDB/meridian-ds/pull/240)
|
|
349
|
-
|
|
350
|
-
### 2.3.0
|
|
351
|
-
|
|
352
|
-
- New FilterDropdown component [#235](https://github.com/CartoDB/meridian-ds/pull/235)
|
|
353
|
-
|
|
354
|
-
### 2.2.1
|
|
355
|
-
|
|
356
|
-
- Extend `AccordionGroup` interface to support `React.ReactNode` as `item.summary`[#237](https://github.com/CartoDB/meridian-ds/pull/237)
|
|
357
|
-
|
|
358
|
-
### 2.2.0
|
|
359
|
-
|
|
360
|
-
- New CopiableInputText component [#228](https://github.com/CartoDB/meridian-ds/pull/228)
|
|
361
|
-
|
|
362
|
-
### 2.1.1
|
|
363
|
-
|
|
364
|
-
- MultipleSelectField: select all filter is not working from empty state [#231](https://github.com/CartoDB/meridian-ds/pull/231)
|
|
365
|
-
|
|
366
|
-
### 2.1.0
|
|
367
|
-
|
|
368
|
-
- New Link component and Button with externalLink behavior [#202](https://github.com/CartoDB/meridian-ds/pull/202)
|
|
369
|
-
|
|
370
|
-
### 2.0.2
|
|
371
|
-
|
|
372
|
-
- fix(TimeSeriesWidgetUI): Fix TimeSeriesWidgetUI overflowing available height [#226](https://github.com/CartoDB/meridian-ds/pull/226)
|
|
373
|
-
|
|
374
|
-
### 2.0.1
|
|
375
|
-
|
|
376
|
-
- Autocomplete: fix flooding issue with console message [#225](https://github.com/CartoDB/meridian-ds/pull/225)
|
|
377
|
-
|
|
378
|
-
### 2.0.0
|
|
379
|
-
|
|
380
|
-
- Developer API change:
|
|
381
|
-
- `groupBy` deprecation in Autocomplete, use `createAutocompleteGroupByList` instead.
|
|
382
|
-
- **Breaking:** Support VirtualizedList in Autocomplete components [#215](https://github.com/CartoDB/meridian-ds/pull/215)
|
|
383
|
-
- Update import path for `createSvgIcon` from `@mui/material/utils` to `@mui/material` [#219](https://github.com/CartoDB/meridian-ds/pull/219)
|
|
384
|
-
|
|
385
|
-
## 1.0
|
|
386
|
-
|
|
387
|
-
### 1.5.1
|
|
388
|
-
|
|
389
|
-
- Support `loading` and `disabled` properties in `SplitButton` [#216](https://github.com/CartoDB/meridian-ds/pull/216)
|
|
390
|
-
|
|
391
|
-
### 1.5.0
|
|
392
|
-
|
|
393
|
-
- Add `SplitButton` [#212](https://github.com/CartoDB/meridian-ds/pull/212)
|
|
394
|
-
- CodeArea: Add automatic text marking for markdown [#209](https://github.com/CartoDB/meridian-ds/pull/209)
|
|
395
|
-
|
|
396
|
-
### 1.4.8
|
|
397
|
-
|
|
398
|
-
- Fix Category Widget Blanks [#210](https://github.com/CartoDB/meridian-ds/pull/210)
|
|
399
|
-
- Add support for labels in Pie widget legend and ChartLegend [#208](https://github.com/CartoDB/meridian-ds/pull/208)
|
|
400
|
-
|
|
401
|
-
### 1.4.7
|
|
402
|
-
|
|
403
|
-
- Fix Category Widget max value calculation [#206](https://github.com/CartoDB/meridian-ds/pull/206)
|
|
404
|
-
|
|
405
|
-
### 1.4.6
|
|
406
|
-
|
|
407
|
-
- Fix tooltips in ChartLegend pagination buttons [#201](https://github.com/CartoDB/meridian-ds/pull/201)
|
|
408
|
-
- Remove `scrollIntoView` from Category Widget [#203](https://github.com/CartoDB/meridian-ds/pull/203)
|
|
409
|
-
|
|
410
|
-
### 1.4.5
|
|
411
|
-
|
|
412
|
-
- Fix Icon shapes size [#194](https://github.com/CartoDB/meridian-ds/pull/194)
|
|
413
|
-
- New Tag component [#191](https://github.com/CartoDB/meridian-ds/pull/191)
|
|
414
|
-
|
|
415
|
-
### 1.4.4
|
|
416
|
-
|
|
417
|
-
- feat(widgets): Pie&Category widget acceps otherValues prop [#186](https://github.com/CartoDB/meridian-ds/pull/186)
|
|
418
|
-
- TimeSeriesWidgetUI: handle empty categories [#195](https://github.com/CartoDB/meridian-ds/pull/195)
|
|
419
|
-
- New CodeAreaField & CodeAreaDialog components [#175](https://github.com/CartoDB/meridian-ds/pull/175)
|
|
420
|
-
- New CopiableComponent component [#187](https://github.com/CartoDB/meridian-ds/pull/187)
|
|
421
|
-
- Expose OrderTypes enum in widgets [#192](https://github.com/CartoDB/meridian-ds/pull/192)
|
|
422
|
-
- Disable minification in published builds [#190](https://github.com/CartoDB/meridian-ds/pull/190)
|
|
423
|
-
- Fix issue with Category Widget not holding all selected values [#198](https://github.com/CartoDB/meridian-ds/pull/198)
|
|
424
|
-
|
|
425
|
-
### 1.4.3
|
|
426
|
-
|
|
427
|
-
- Fix: MultipleSelectField: select all filter is not working [#183](https://github.com/CartoDB/meridian-ds/pull/183)
|
|
428
|
-
- Update Custom Icons [#184](https://github.com/CartoDB/meridian-ds/pull/184)
|
|
429
|
-
- Fix: Mocks are not properly reset between test executions [#177](https://github.com/CartoDB/meridian-ds/pull/177)
|
|
430
|
-
- Improve Eslint rules regarding testing in Meridian [#172](https://github.com/CartoDB/meridian-ds/pull/172)
|
|
431
|
-
- Unit tests refactor: replace destructuring with screen [#173](https://github.com/CartoDB/meridian-ds/pull/173)
|
|
432
|
-
- Add unit tests for SelectField & Alert components [#164](https://github.com/CartoDB/meridian-ds/pull/164)
|
|
433
|
-
- Add unit tests for Custom Icons [#170](https://github.com/CartoDB/meridian-ds/pull/170)
|
|
434
|
-
- Refactor forwading prop tests in all files to use reusable helper [#165](https://github.com/CartoDB/meridian-ds/pull/165)
|
|
435
|
-
- Add unit tests for Menu components [#158](https://github.com/CartoDB/meridian-ds/pull/158)
|
|
436
|
-
|
|
437
|
-
### 1.4.2
|
|
438
|
-
|
|
439
|
-
- Pass `reason` parameter to the **CreatableAutocomplete** `onChange` callback [#160](https://github.com/CartoDB/meridian-ds/pull/160)
|
|
440
|
-
- Use values passed through `startProps` or `endProps` to `DateRangePicker` for being used afterward with `PickersDay` [#159](https://github.com/CartoDB/meridian-ds/pull/159/)
|
|
441
|
-
- Add unit tests for Autocomplete components [#136](https://github.com/CartoDB/meridian-ds/pull/136)
|
|
442
|
-
|
|
443
|
-
### 1.4.1
|
|
444
|
-
|
|
445
|
-
- Fix issue with `peerDependencies` not including `@mui/x-date-pickers` [#147](https://github.com/CartoDB/meridian-ds/pull/147)
|
|
446
|
-
|
|
447
|
-
### 1.4.0
|
|
448
|
-
|
|
449
|
-
- Autocomplete: Split `creatable` and `multiple` from regular Autocomplete [#120](https://github.com/CartoDB/meridian-ds/pull/120)
|
|
450
|
-
- DialogContent fix bottom border on zoomed views [#145](https://github.com/CartoDB/meridian-ds/pull/145)
|
|
451
|
-
- DialogContent updates borders when content is resized [#143](https://github.com/CartoDB/meridian-ds/pull/143)
|
|
452
|
-
|
|
453
|
-
### 1.3.6
|
|
454
|
-
|
|
455
|
-
- New icons: HideComments, MarkCommentRead [#137](https://github.com/CartoDB/meridian-ds/pull/137)
|
|
456
|
-
|
|
457
|
-
### 1.3.5
|
|
458
|
-
|
|
459
|
-
- Fix DialogContent support for ref [#131](https://github.com/CartoDB/meridian-ds/pull/131)
|
|
460
|
-
- Update Storybook to version 8.6.8 [#129](https://github.com/CartoDB/meridian-ds/pull/129)
|
|
461
|
-
- Add disabled prop to Avatar component [#128](https://github.com/CartoDB/meridian-ds/pull/128)
|
|
462
|
-
|
|
463
|
-
### 1.3.4
|
|
464
|
-
|
|
465
|
-
- Fix CategoryWidget edge-case when number of items is <= than max items [#126](https://github.com/CartoDB/meridian-ds/pull/126)
|
|
466
|
-
|
|
467
|
-
### 1.3.3
|
|
468
|
-
|
|
469
|
-
- Update LegendLayerTitle to use Caption text variant [#121](https://github.com/CartoDB/meridian-ds/pull/121)
|
|
470
|
-
|
|
471
|
-
### 1.3.2
|
|
472
|
-
|
|
473
|
-
- Prevent LegendLayerTitle from being UPPERCASE [#118](https://github.com/CartoDB/meridian-ds/pull/118)
|
|
474
|
-
|
|
475
|
-
### 1.3.1
|
|
476
|
-
|
|
477
|
-
- New loading state for Button component [#116](https://github.com/CartoDB/meridian-ds/pull/116)
|
|
478
|
-
|
|
479
|
-
### 1.3.0
|
|
480
|
-
|
|
481
|
-
- New Snackbar component [#114](https://github.com/CartoDB/meridian-ds/pull/114)
|
|
482
|
-
- New Dialog component [#113](https://github.com/CartoDB/meridian-ds/pull/113)
|
|
483
|
-
- New IconButton component [#108](https://github.com/CartoDB/meridian-ds/pull/108)
|
|
484
|
-
- Update contributing documentation [#107](https://github.com/CartoDB/meridian-ds/pull/107)
|
|
485
|
-
- Custom Icons Update [#111](https://github.com/CartoDB/meridian-ds/pull/111)
|
|
486
|
-
|
|
487
|
-
### 1.2.0
|
|
488
|
-
|
|
489
|
-
- UI fixes in MenuItem & MultipleSelectField & Typography components [#102](https://github.com/CartoDB/meridian-ds/pull/102)
|
|
490
|
-
- Fix CategoryWidget height when there are blocked categories [#105](https://github.com/CartoDB/meridian-ds/pull/105)
|
|
491
|
-
- Support VirtualizedList in the CategoryWidget component [#103](https://github.com/CartoDB/meridian-ds/pull/103)
|
|
492
|
-
|
|
493
|
-
### 1.1.0
|
|
494
|
-
|
|
495
|
-
- Linting missing files [#78](https://github.com/CartoDB/meridian-ds/pull/78)
|
|
496
|
-
- PasswordField: increase visibility and bugfixing icon [#81](https://github.com/CartoDB/meridian-ds/pull/81)
|
|
497
|
-
- New DatePicker component [#66](https://github.com/CartoDB/meridian-ds/pull/66)
|
|
498
|
-
- New DateRangePicker & PickersDay components [#71](https://github.com/CartoDB/meridian-ds/pull/71)
|
|
499
|
-
- New TimePicker & DateTimePicker components [#87](https://github.com/CartoDB/meridian-ds/pull/87)
|
|
500
|
-
- Simplify icon imports across components and consolidate MUI imports by removing unnecessary styles subpath [#97](https://github.com/CartoDB/meridian-ds/pull/97)
|
|
501
|
-
|
|
502
|
-
### 1.0.0
|
|
503
|
-
|
|
504
|
-
- feat: Initial release
|