@carto/meridian-ds 1.4.8-alpha-external-link.5 → 1.4.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (45) hide show
  1. package/CHANGELOG.md +0 -5
  2. package/dist/{Alert-CmDToT57.cjs → Alert-BiOR9aar.cjs} +1 -72
  3. package/dist/{Alert-2L0Hy8lT.js → Alert-CywtIMOj.js} +3 -74
  4. package/dist/{OpenDiagonallyRight-CSm5GYYJ.js → OpenDiagonallyRight-5HZXh46V.js} +0 -27
  5. package/dist/{OpenDiagonallyRight-CM1tojUq.cjs → OpenDiagonallyRight-BrRyCV4Q.cjs} +0 -27
  6. package/dist/{TablePaginationActions-CAmwcyTy.cjs → TablePaginationActions-CFGXm44W.cjs} +3 -6
  7. package/dist/{TablePaginationActions-b5wP_uRE.js → TablePaginationActions-KpTvhN4Y.js} +3 -6
  8. package/dist/components/index.cjs +21 -239
  9. package/dist/components/index.js +27 -246
  10. package/dist/custom-icons/index.cjs +55 -29
  11. package/dist/custom-icons/index.js +55 -29
  12. package/dist/theme/index.cjs +1 -1
  13. package/dist/theme/index.js +2 -2
  14. package/dist/types/components/atoms/Button.d.ts +0 -11
  15. package/dist/types/components/atoms/Button.d.ts.map +1 -1
  16. package/dist/types/components/atoms/index.d.ts +0 -4
  17. package/dist/types/components/atoms/index.d.ts.map +1 -1
  18. package/dist/types/components/organisms/CodeArea/CodeAreaInput.d.ts.map +1 -1
  19. package/dist/types/components/organisms/CodeArea/CodeAreaTheme.d.ts.map +1 -1
  20. package/dist/types/components/organisms/CodeArea/index.d.ts +0 -1
  21. package/dist/types/components/organisms/CodeArea/index.d.ts.map +1 -1
  22. package/dist/types/components/organisms/CodeArea/types.d.ts +0 -4
  23. package/dist/types/components/organisms/CodeArea/types.d.ts.map +1 -1
  24. package/dist/types/components/organisms/CodeArea/utils.d.ts +0 -34
  25. package/dist/types/components/organisms/CodeArea/utils.d.ts.map +1 -1
  26. package/dist/types/localization/en.d.ts +0 -1
  27. package/dist/types/localization/en.d.ts.map +1 -1
  28. package/dist/types/localization/es.d.ts +0 -1
  29. package/dist/types/localization/es.d.ts.map +1 -1
  30. package/dist/types/localization/id.d.ts +0 -1
  31. package/dist/types/localization/id.d.ts.map +1 -1
  32. package/dist/types/localization/index.d.ts +0 -3
  33. package/dist/types/localization/index.d.ts.map +1 -1
  34. package/dist/types/theme/types.d.ts +0 -6
  35. package/dist/types/theme/types.d.ts.map +1 -1
  36. package/dist/types/widgets/CategoryWidgetUI/CategoryWidgetUI.styled.d.ts +1 -1
  37. package/dist/types/widgets/CategoryWidgetUI/CategoryWidgetUI.styled.d.ts.map +1 -1
  38. package/dist/types/widgets/comparative/ComparativeCategoryWidgetUI/ComparativeCategoryWidgetUI.d.ts.map +1 -1
  39. package/dist/widgets/index.cjs +5 -5
  40. package/dist/widgets/index.js +5 -5
  41. package/package.json +1 -1
  42. package/dist/types/components/atoms/Link.d.ts +0 -14
  43. package/dist/types/components/atoms/Link.d.ts.map +0 -1
  44. package/dist/types/components/atoms/SplitButton.d.ts +0 -17
  45. package/dist/types/components/atoms/SplitButton.d.ts.map +0 -1
@@ -2,12 +2,12 @@ import { jsxs, Fragment, jsx } from "react/jsx-runtime";
2
2
  import React, { useMemo, useState, useEffect, useCallback, useRef, createContext, useContext, useLayoutEffect, createRef } from "react";
3
3
  import { useTheme, styled, Box, Skeleton, Grid, Link, darken, Button, Divider, TextField, InputAdornment, Checkbox, Tooltip, debounce, Slider, TableCell, Table, TableHead, TableRow, TableBody, TableContainer, TableSortLabel, TablePagination, IconButton as IconButton$1, Menu, MenuItem, SvgIcon, lighten, Typography as Typography$1, ClickAwayListener, ToggleButton, capitalize, ListItem, Chip, List, Paper, Popover, Select, ListItemText, Collapse, Drawer, Icon, LinearProgress } from "@mui/material";
4
4
  import { useIntl } from "react-intl";
5
- import { d as getDefaultExportFromCjs, u as useImperativeIntl, T as Typography, S as SPACING, B as BREAKPOINTS, a as TablePaginationActions, b as ICON_SIZE_MEDIUM } from "../TablePaginationActions-b5wP_uRE.js";
5
+ import { d as getDefaultExportFromCjs, u as useImperativeIntl, T as Typography, S as SPACING, B as BREAKPOINTS, a as TablePaginationActions, b as ICON_SIZE_MEDIUM } from "../TablePaginationActions-KpTvhN4Y.js";
6
6
  import _ReactEcharts from "echarts-for-react";
7
7
  import { FixedSizeList } from "react-window";
8
8
  import { S as Search, a as SwatchSquare } from "../SwatchSquare-DhaaXt53.js";
9
9
  import { ChevronLeft, ChevronRight, KeyboardArrowDown, ErrorOutline, Cancel, VisibilityOutlined, VisibilityOffOutlined, ExpandLess, ExpandMore, Close, LayersOutlined, MoreVert } from "@mui/icons-material";
10
- import { I as IconButton, L as Link$1, A as Alert } from "../Alert-2L0Hy8lT.js";
10
+ import { I as IconButton, A as Alert } from "../Alert-CywtIMOj.js";
11
11
  import { a as getColorByCategory, c as commonPalette, b as getPalette } from "../paletteUtils-BHqJlHm9.js";
12
12
  function detectTouchscreen() {
13
13
  let result = false;
@@ -5267,7 +5267,7 @@ function ComparativeCategoryWidgetUI({
5267
5267
  { id: "c4r.widgets.category.selectedItems" },
5268
5268
  { items: selectedCategories.length }
5269
5269
  ) : intlConfig.formatMessage({ id: "c4r.widgets.category.all" }) }),
5270
- /* @__PURE__ */ jsx(Typography, { variant: "caption", component: "div", children: searchActive ? /* @__PURE__ */ jsx(Link$1, { onClick: applyTempSelection, children: intlConfig.formatMessage({ id: "c4r.widgets.category.apply" }) }) : blockingActive ? /* @__PURE__ */ jsx(Link$1, { onClick: disableBlocking, children: intlConfig.formatMessage({
5270
+ /* @__PURE__ */ jsx(Typography, { variant: "caption", component: "div", children: searchActive ? /* @__PURE__ */ jsx(Link, { onClick: applyTempSelection, children: intlConfig.formatMessage({ id: "c4r.widgets.category.apply" }) }) : blockingActive ? /* @__PURE__ */ jsx(Link, { onClick: disableBlocking, children: intlConfig.formatMessage({
5271
5271
  id: "c4r.widgets.category.unlock"
5272
5272
  }) }) : selectedCategories.length ? /* @__PURE__ */ jsxs(
5273
5273
  Box,
@@ -5278,11 +5278,11 @@ function ComparativeCategoryWidgetUI({
5278
5278
  gap: theme.spacing(1)
5279
5279
  },
5280
5280
  children: [
5281
- /* @__PURE__ */ jsx(Link$1, { onClick: enableBlocking, children: intlConfig.formatMessage({
5281
+ /* @__PURE__ */ jsx(Link, { onClick: enableBlocking, children: intlConfig.formatMessage({
5282
5282
  id: "c4r.widgets.category.lock"
5283
5283
  }) }),
5284
5284
  /* @__PURE__ */ jsx(Divider, { orientation: "vertical", flexItem: true }),
5285
- /* @__PURE__ */ jsx(Link$1, { onClick: clearSelection, children: intlConfig.formatMessage({
5285
+ /* @__PURE__ */ jsx(Link, { onClick: clearSelection, children: intlConfig.formatMessage({
5286
5286
  id: "c4r.widgets.category.clear"
5287
5287
  }) })
5288
5288
  ]
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@carto/meridian-ds",
3
- "version": "1.4.8-alpha-external-link.5",
3
+ "version": "1.4.8",
4
4
  "description": "CARTO Meridian Design System",
5
5
  "type": "module",
6
6
  "scripts": {
@@ -1,14 +0,0 @@
1
- import { LinkProps as MUILinkProps } from '@mui/material';
2
- export type LinkProps = MUILinkProps<React.ElementType, {
3
- /**
4
- * Whether the link is external. If true, the link will open in a new tab.
5
- */
6
- external?: boolean;
7
- /**
8
- * Whether to show the external icon when external is true. Defaults to true.
9
- */
10
- showExternalIcon?: boolean;
11
- }>;
12
- declare const Link: import('react').ForwardRefExoticComponent<Omit<LinkProps, "ref"> & import('react').RefAttributes<HTMLAnchorElement>>;
13
- export default Link;
14
- //# sourceMappingURL=Link.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Link.d.ts","sourceRoot":"","sources":["../../../../src/components/atoms/Link.tsx"],"names":[],"mappings":"AAEA,OAAO,EAEL,SAAS,IAAI,YAAY,EAG1B,MAAM,eAAe,CAAA;AA2CtB,MAAM,MAAM,SAAS,GAAG,YAAY,CAClC,KAAK,CAAC,WAAW,EACjB;IACE;;OAEG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB;;OAEG;IACH,gBAAgB,CAAC,EAAE,OAAO,CAAA;CAC3B,CACF,CAAA;AAgDD,QAAA,MAAM,IAAI,sHAAoB,CAAA;AAC9B,eAAe,IAAI,CAAA"}
@@ -1,17 +0,0 @@
1
- import { ButtonProps } from '@mui/material';
2
- type SplitButtonOption = {
3
- label: string;
4
- disabled?: boolean;
5
- };
6
- export type SplitButtonProps = {
7
- options: SplitButtonOption[];
8
- onClick: (option: SplitButtonOption) => void;
9
- variant?: ButtonProps['variant'];
10
- size?: ButtonProps['size'];
11
- color?: ButtonProps['color'];
12
- 'data-testid'?: string;
13
- 'aria-label'?: string;
14
- };
15
- export default function SplitButton({ options, onClick, variant, size, color, ...otherProps }: SplitButtonProps): import("react/jsx-runtime").JSX.Element;
16
- export {};
17
- //# sourceMappingURL=SplitButton.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"SplitButton.d.ts","sourceRoot":"","sources":["../../../../src/components/atoms/SplitButton.tsx"],"names":[],"mappings":"AACA,OAAO,EAIL,WAAW,EAOZ,MAAM,eAAe,CAAA;AAetB,KAAK,iBAAiB,GAAG;IACvB,KAAK,EAAE,MAAM,CAAA;IACb,QAAQ,CAAC,EAAE,OAAO,CAAA;CACnB,CAAA;AAED,MAAM,MAAM,gBAAgB,GAAG;IAC7B,OAAO,EAAE,iBAAiB,EAAE,CAAA;IAC5B,OAAO,EAAE,CAAC,MAAM,EAAE,iBAAiB,KAAK,IAAI,CAAA;IAC5C,OAAO,CAAC,EAAE,WAAW,CAAC,SAAS,CAAC,CAAA;IAChC,IAAI,CAAC,EAAE,WAAW,CAAC,MAAM,CAAC,CAAA;IAC1B,KAAK,CAAC,EAAE,WAAW,CAAC,OAAO,CAAC,CAAA;IAC5B,aAAa,CAAC,EAAE,MAAM,CAAA;IACtB,YAAY,CAAC,EAAE,MAAM,CAAA;CACtB,CAAA;AAED,MAAM,CAAC,OAAO,UAAU,WAAW,CAAC,EAClC,OAAO,EACP,OAAO,EACP,OAAO,EACP,IAAI,EACJ,KAAK,EACL,GAAG,UAAU,EACd,EAAE,gBAAgB,2CAkFlB"}