@carto/meridian-ds 5.2.1 → 5.2.2-alpha.ffc81fb.40527962685

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/CHANGELOG.md CHANGED
@@ -2,6 +2,8 @@
2
2
 
3
3
  ## Unreleased
4
4
 
5
+ - ci(release): release notes after CI, release: alpha label and alpha docs [#576](https://github.com/CartoDB/meridian-ds/pull/576)
6
+
5
7
  ## 5.0
6
8
 
7
9
  ### 5.2.1
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).
@@ -4548,6 +4548,7 @@ function DatePicker({
4548
4548
  "aria-label": ariaLabel,
4549
4549
  "data-testid": dataTestId,
4550
4550
  chooseDateAriaLabel,
4551
+ presets,
4551
4552
  ...props
4552
4553
  }) {
4553
4554
  const chooseDateText = utils.useTranslationWithFallback(
@@ -4597,6 +4598,15 @@ function DatePicker({
4597
4598
  clearable: !!handleClear,
4598
4599
  onClear: handleClear
4599
4600
  },
4601
+ ...presets && {
4602
+ shortcuts: {
4603
+ items: presets.map(({ label: label2, value }) => ({
4604
+ label: label2,
4605
+ getValue: () => value
4606
+ })),
4607
+ changeImportance: "accept"
4608
+ }
4609
+ },
4600
4610
  ...slotProps
4601
4611
  },
4602
4612
  slots: {
@@ -4531,6 +4531,7 @@ function DatePicker({
4531
4531
  "aria-label": ariaLabel,
4532
4532
  "data-testid": dataTestId,
4533
4533
  chooseDateAriaLabel,
4534
+ presets,
4534
4535
  ...props
4535
4536
  }) {
4536
4537
  const chooseDateText = useTranslationWithFallback(
@@ -4580,6 +4581,15 @@ function DatePicker({
4580
4581
  clearable: !!handleClear,
4581
4582
  onClear: handleClear
4582
4583
  },
4584
+ ...presets && {
4585
+ shortcuts: {
4586
+ items: presets.map(({ label: label2, value }) => ({
4587
+ label: label2,
4588
+ getValue: () => value
4589
+ })),
4590
+ changeImportance: "accept"
4591
+ }
4592
+ },
4583
4593
  ...slotProps
4584
4594
  },
4585
4595
  slots: {
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "5.2.1",
2
+ "version": "5.2.2-alpha.ffc81fb.40527962685",
3
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",
4
4
  "components": [
5
5
  {
@@ -1,5 +1,5 @@
1
1
  import { DatePickerProps } from '../types';
2
2
  /** A date input with a calendar popup (MUI X DatePicker) styled for Meridian — adds a clear button, an optional/required label indicator (`type`), and a label help tooltip. Toggle the calendar affordance with `showCalendar`. */
3
- declare function DatePicker({ handleClear, variant, size, label, labelHelpTooltip, type, helperText, placeholder, slotProps, slots, error, showCalendar, readOnly, 'aria-label': ariaLabel, 'data-testid': dataTestId, chooseDateAriaLabel, ...props }: DatePickerProps): import("react/jsx-runtime").JSX.Element;
3
+ declare function DatePicker({ handleClear, variant, size, label, labelHelpTooltip, type, helperText, placeholder, slotProps, slots, error, showCalendar, readOnly, 'aria-label': ariaLabel, 'data-testid': dataTestId, chooseDateAriaLabel, presets, ...props }: DatePickerProps): import("react/jsx-runtime").JSX.Element;
4
4
  export default DatePicker;
5
5
  //# sourceMappingURL=DatePicker.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"DatePicker.d.ts","sourceRoot":"","sources":["../../../../../src/components/DatePickers/DatePicker/DatePicker.tsx"],"names":[],"mappings":"AAOA,OAAO,EAAE,eAAe,EAAE,MAAM,UAAU,CAAA;AAK1C,oOAAoO;AACpO,iBAAS,UAAU,CAAC,EAClB,WAAW,EACX,OAAoB,EACpB,IAAc,EACd,KAAK,EACL,gBAAgB,EAChB,IAAI,EACJ,UAAU,EACV,WAAW,EACX,SAAS,EACT,KAAK,EACL,KAAK,EACL,YAAmB,EACnB,QAAQ,EACR,YAAY,EAAE,SAAS,EACvB,aAAa,EAAE,UAAU,EACzB,mBAAmB,EACnB,GAAG,KAAK,EACT,EAAE,eAAe,2CAyEjB;AAED,eAAe,UAAU,CAAA"}
1
+ {"version":3,"file":"DatePicker.d.ts","sourceRoot":"","sources":["../../../../../src/components/DatePickers/DatePicker/DatePicker.tsx"],"names":[],"mappings":"AAOA,OAAO,EAAE,eAAe,EAAE,MAAM,UAAU,CAAA;AAK1C,oOAAoO;AACpO,iBAAS,UAAU,CAAC,EAClB,WAAW,EACX,OAAoB,EACpB,IAAc,EACd,KAAK,EACL,gBAAgB,EAChB,IAAI,EACJ,UAAU,EACV,WAAW,EACX,SAAS,EACT,KAAK,EACL,KAAK,EACL,YAAmB,EACnB,QAAQ,EACR,YAAY,EAAE,SAAS,EACvB,aAAa,EAAE,UAAU,EACzB,mBAAmB,EACnB,OAAO,EACP,GAAG,KAAK,EACT,EAAE,eAAe,2CAkFjB;AAED,eAAe,UAAU,CAAA"}
@@ -123,6 +123,20 @@ export declare const Clearable: {
123
123
  export declare const DisabledDates: {
124
124
  render: (args: DatePickerProps) => import("react/jsx-runtime").JSX.Element;
125
125
  };
126
+ /** @summary `presets` lists quick choices beside the calendar; a `null` value clears the field. */
127
+ export declare const Presets: {
128
+ render: (args: DatePickerProps) => import("react/jsx-runtime").JSX.Element;
129
+ args: {
130
+ label: string;
131
+ presets: ({
132
+ label: string;
133
+ value: null;
134
+ } | {
135
+ label: string;
136
+ value: Date;
137
+ })[];
138
+ };
139
+ };
126
140
  /** @summary Limit the calendar to day / month / year via the `views` prop. */
127
141
  export declare const Views: {
128
142
  render: (args: DatePickerProps) => import("react/jsx-runtime").JSX.Element;
@@ -1 +1 @@
1
- {"version":3,"file":"DatePicker.stories.d.ts","sourceRoot":"","sources":["../../../../../src/components/DatePickers/DatePicker/DatePicker.stories.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAS,UAAU,EAAoB,MAAM,cAAc,CAAA;AAWlE,OAAO,EAAE,eAAe,EAAE,MAAM,UAAU,CAAA;AAS1C,QAAA,MAAM,OAAO;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAuCG,CAAA;AAChB,eAAe,OAAO,CAAA;AA0VtB,eAAO,MAAM,UAAU;mBAxVC,eAAe;;;;;;;;CA6VtC,CAAA;AAED,eAAO,MAAM,WAAW;mBA/VA,eAAe;;;;;8BAuWL;QAAE,aAAa,EAAE,WAAW,CAAA;KAAE;CAwB/D,CAAA;AAED,eAAO,MAAM,SAAS;;;;;;;;;;CASrB,CAAA;AAED,eAAO,MAAM,kBAAkB;8CApY5B,eAAe;CAsYjB,CAAA;AAED,eAAO,MAAM,KAAK;mBAjPW,eAAe;;;;;;;;;;;;;;;;;;;;;;;CAuP3C,CAAA;AAED,4EAA4E;AAC5E,eAAO,MAAM,SAAS;oBAtPY,eAAe;;;;CA2PhD,CAAA;AAED,yGAAyG;AACzG,eAAO,MAAM,aAAa;mBAjIW,eAAe;CAmInD,CAAA;AAED,8EAA8E;AAC9E,eAAO,MAAM,KAAK;mBAlNW,eAAe;CAoN3C,CAAA;AAED,2FAA2F;AAC3F,eAAO,MAAM,iBAAiB;mBA3aN,eAAe;;;;CAgbtC,CAAA;AAED,eAAO,MAAM,gBAAgB;;;;;;;;;CAK5B,CAAA;AAED,eAAO,MAAM,WAAW;;;;;;;;;;;;;;;;;mBArOK,eAAe;CAwO3C,CAAA;AAED,eAAO,MAAM,kBAAkB;;;;;;;;;;;;;;;;;mBA1OF,eAAe;CA6O3C,CAAA;AAED,eAAO,MAAM,kBAAkB;;CAuB9B,CAAA;AAED,eAAO,MAAM,KAAK;;;CAejB,CAAA"}
1
+ {"version":3,"file":"DatePicker.stories.d.ts","sourceRoot":"","sources":["../../../../../src/components/DatePickers/DatePicker/DatePicker.stories.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAS,UAAU,EAAoB,MAAM,cAAc,CAAA;AAWlE,OAAO,EAAE,eAAe,EAAE,MAAM,UAAU,CAAA;AAS1C,QAAA,MAAM,OAAO;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAuCG,CAAA;AAChB,eAAe,OAAO,CAAA;AA0VtB,eAAO,MAAM,UAAU;mBAxVC,eAAe;;;;;;;;CA6VtC,CAAA;AAED,eAAO,MAAM,WAAW;mBA/VA,eAAe;;;;;8BAuWL;QAAE,aAAa,EAAE,WAAW,CAAA;KAAE;CAwB/D,CAAA;AAED,eAAO,MAAM,SAAS;;;;;;;;;;CASrB,CAAA;AAED,eAAO,MAAM,kBAAkB;8CApY5B,eAAe;CAsYjB,CAAA;AAED,eAAO,MAAM,KAAK;mBAjPW,eAAe;;;;;;;;;;;;;;;;;;;;;;;CAuP3C,CAAA;AAED,4EAA4E;AAC5E,eAAO,MAAM,SAAS;oBAtPY,eAAe;;;;CA2PhD,CAAA;AAED,yGAAyG;AACzG,eAAO,MAAM,aAAa;mBAjIW,eAAe;CAmInD,CAAA;AAQD,mGAAmG;AACnG,eAAO,MAAM,OAAO;mBA5aI,eAAe;;;;;;;;;;;CAubtC,CAAA;AAED,8EAA8E;AAC9E,eAAO,MAAM,KAAK;mBAtOW,eAAe;CAwO3C,CAAA;AAED,2FAA2F;AAC3F,eAAO,MAAM,iBAAiB;mBA/bN,eAAe;;;;CAoctC,CAAA;AAED,eAAO,MAAM,gBAAgB;;;;;;;;;CAK5B,CAAA;AAED,eAAO,MAAM,WAAW;;;;;;;;;;;;;;;;;mBAzPK,eAAe;CA4P3C,CAAA;AAED,eAAO,MAAM,kBAAkB;;;;;;;;;;;;;;;;;mBA9PF,eAAe;CAiQ3C,CAAA;AAED,eAAO,MAAM,kBAAkB;;CAuB9B,CAAA;AAED,eAAO,MAAM,KAAK;;;CAejB,CAAA"}
@@ -1,5 +1,5 @@
1
1
  import { ReactNode } from 'react';
2
- import { DatePickerProps as MuiDatePickerProps, DateCalendarProps as MuiDateCalendarProps, PickerDayProps as MuiPickerDayProps, TimePickerProps as MuiTimePickerProps, DateTimePickerProps as MuiDateTimePickerProps } from '@mui/x-date-pickers';
2
+ import { DatePickerProps as MuiDatePickerProps, DateCalendarProps as MuiDateCalendarProps, PickerDayProps as MuiPickerDayProps, TimePickerProps as MuiTimePickerProps, DateTimePickerProps as MuiDateTimePickerProps, PickerValidDate } from '@mui/x-date-pickers';
3
3
  import { TextFieldProps } from '@mui/material';
4
4
  type DatePickersBaseProps = {
5
5
  /** Called when the field's clear (×) button is pressed; provide it to render the clear affordance. */
@@ -29,11 +29,18 @@ type DatePickersBaseProps = {
29
29
  /** Test id forwarded to the field root. */
30
30
  'data-testid'?: string;
31
31
  };
32
+ export type DatePickerPreset = {
33
+ label: string;
34
+ /** The date the preset selects; `null` clears the field, e.g. for a "Never" preset. */
35
+ value: PickerValidDate | null;
36
+ };
32
37
  export type DatePickerProps = MuiDatePickerProps & DatePickersBaseProps & {
33
38
  /** Show the calendar popup toggle (the calendar icon button). */
34
39
  showCalendar?: boolean;
35
40
  /** Accessible label for the open-calendar button. */
36
41
  chooseDateAriaLabel?: string;
42
+ /** Quick choices listed beside the calendar popup; picking one sets the value and closes the popup. */
43
+ presets?: DatePickerPreset[];
37
44
  };
38
45
  export type DateRangePickerProps = Omit<DatePickerProps, 'helperText' | 'placeholder'> & {
39
46
  /** Helper text spanning both fields (shown once under the range). */
@@ -1 +1 @@
1
- {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../src/components/DatePickers/types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,OAAO,CAAA;AACjC,OAAO,EACL,eAAe,IAAI,kBAAkB,EACrC,iBAAiB,IAAI,oBAAoB,EACzC,cAAc,IAAI,iBAAiB,EACnC,eAAe,IAAI,kBAAkB,EACrC,mBAAmB,IAAI,sBAAsB,EAC9C,MAAM,qBAAqB,CAAA;AAE5B,OAAO,EAAE,cAAc,EAAE,MAAM,eAAe,CAAA;AAE9C,KAAK,oBAAoB,GAAG;IAC1B,sGAAsG;IACtG,WAAW,CAAC,EAAE,MAAM,IAAI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AAG,IAAI,CAAA;CAC1B,CAAA;AAED,MAAM,MAAM,eAAe,GAAG,kBAAkB,GAC9C,oBAAoB,GAAG;IACrB,2DAA2D;IAC3D,SAAS,CAAC,EAAE,OAAO,CAAA;IACnB,mDAAmD;IACnD,mBAAmB,CAAC,EAAE,MAAM,CAAA;CAC7B,CAAA;AAEH,MAAM,MAAM,mBAAmB,GAAG,sBAAsB,GACtD,oBAAoB,GAAG;IACrB,iEAAiE;IACjE,YAAY,CAAC,EAAE,OAAO,CAAA;IACtB,mDAAmD;IACnD,mBAAmB,CAAC,EAAE,MAAM,CAAA;CAC7B,CAAA"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@carto/meridian-ds",
3
- "version": "5.2.1",
3
+ "version": "5.2.2-alpha.ffc81fb.40527962685",
4
4
  "description": "CARTO Meridian Design System",
5
5
  "type": "module",
6
6
  "scripts": {