@carto/meridian-ds 1.4.5-alpha-external-link.3 → 1.4.5-alpha-external-link.4

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.
@@ -1,7 +1,10 @@
1
1
  import { jsx, jsxs } from "react/jsx-runtime";
2
2
  import { forwardRef, useState } from "react";
3
- import { styled, IconButton as IconButton$1, Tooltip, CircularProgress, Box, Link as Link$1, Alert as Alert$1, Fade, AlertTitle } from "@mui/material";
4
- import { b as ICON_SIZE_MEDIUM, T as Typography } from "./TablePaginationActions-b5wP_uRE.js";
3
+ import { styled, IconButton as IconButton$1, Tooltip, CircularProgress, Link as Link$1, Box, Alert as Alert$1, Fade, AlertTitle } from "@mui/material";
4
+ import { useIntl } from "react-intl";
5
+ import { OpenInNewOutlined } from "@mui/icons-material";
6
+ import { c as ICON_SIZE_SMALL, b as ICON_SIZE_MEDIUM, I as ICON_SIZE_LARGE, u as useImperativeIntl, T as Typography } from "./TablePaginationActions-b5wP_uRE.js";
7
+ import "cartocolor";
5
8
  const Option = styled("div")(({ theme }) => ({
6
9
  position: "relative",
7
10
  display: "inline-flex",
@@ -60,27 +63,61 @@ function _IconButton({
60
63
  ) });
61
64
  }
62
65
  const IconButton = forwardRef(_IconButton);
63
- const Icon = styled(Box)(({ theme }) => ({
64
- position: "relative",
65
- display: "inline-block",
66
- margin: theme.spacing(0, 0.25),
67
- top: "calc(1em * 5.0/32)"
68
- // heuristic to align icon with true perceived baseline
66
+ const StyledLink = styled(Link$1)(({ theme }) => ({
67
+ display: "inline-flex",
68
+ alignItems: "center",
69
+ gap: theme.spacing(0.25)
70
+ }));
71
+ const Icon = styled(Box, {
72
+ shouldForwardProp: (prop) => prop !== "variant"
73
+ })(({ variant }) => ({
74
+ display: "flex",
75
+ svg: {
76
+ ...variant === "caption" && {
77
+ fontSize: ICON_SIZE_SMALL
78
+ },
79
+ ...variant === "body2" && {
80
+ fontSize: ICON_SIZE_MEDIUM
81
+ },
82
+ ...variant === "body1" && {
83
+ fontSize: ICON_SIZE_LARGE
84
+ },
85
+ ...variant === "button" && {
86
+ fontSize: ICON_SIZE_MEDIUM
87
+ }
88
+ }
69
89
  }));
70
- function _Link({ children, startIcon, endIcon, color, ...otherProps }, ref) {
90
+ function _Link({
91
+ children,
92
+ variant,
93
+ startIcon,
94
+ endIcon,
95
+ color,
96
+ external,
97
+ showExternalIcon = true,
98
+ ...otherProps
99
+ }, ref) {
100
+ const intl = useIntl();
101
+ const intlConfig = useImperativeIntl(intl);
71
102
  return /* @__PURE__ */ jsxs(
72
- Link$1,
103
+ StyledLink,
73
104
  {
74
105
  ...otherProps,
106
+ variant,
75
107
  "data-color": color,
76
108
  "data-name": "link",
77
109
  role: "link",
78
110
  color,
79
111
  ref,
112
+ target: external ? "_blank" : void 0,
113
+ rel: external ? "noopener noreferrer" : void 0,
114
+ "aria-label": external ? `${children == null ? void 0 : children.toString()} (${intlConfig.formatMessage({
115
+ id: "c4r.button.opensInNewTab"
116
+ })})` : void 0,
80
117
  children: [
81
- startIcon && /* @__PURE__ */ jsx(Icon, { children: startIcon }),
118
+ startIcon && /* @__PURE__ */ jsx(Icon, { variant, children: startIcon }),
82
119
  children,
83
- endIcon && /* @__PURE__ */ jsx(Icon, { children: endIcon })
120
+ (endIcon || external && showExternalIcon) && /* @__PURE__ */ jsx(Icon, { variant, children: endIcon || /* @__PURE__ */ jsx(OpenInNewOutlined, {}) })
84
121
  ]
85
122
  }
86
123
  );
@@ -2,7 +2,10 @@
2
2
  const jsxRuntime = require("react/jsx-runtime");
3
3
  const React = require("react");
4
4
  const material = require("@mui/material");
5
+ const reactIntl = require("react-intl");
6
+ const iconsMaterial = require("@mui/icons-material");
5
7
  const TablePaginationActions = require("./TablePaginationActions-CAmwcyTy.cjs");
8
+ require("cartocolor");
6
9
  const Option = material.styled("div")(({ theme }) => ({
7
10
  position: "relative",
8
11
  display: "inline-flex",
@@ -61,27 +64,61 @@ function _IconButton({
61
64
  ) });
62
65
  }
63
66
  const IconButton = React.forwardRef(_IconButton);
64
- const Icon = material.styled(material.Box)(({ theme }) => ({
65
- position: "relative",
66
- display: "inline-block",
67
- margin: theme.spacing(0, 0.25),
68
- top: "calc(1em * 5.0/32)"
69
- // heuristic to align icon with true perceived baseline
67
+ const StyledLink = material.styled(material.Link)(({ theme }) => ({
68
+ display: "inline-flex",
69
+ alignItems: "center",
70
+ gap: theme.spacing(0.25)
71
+ }));
72
+ const Icon = material.styled(material.Box, {
73
+ shouldForwardProp: (prop) => prop !== "variant"
74
+ })(({ variant }) => ({
75
+ display: "flex",
76
+ svg: {
77
+ ...variant === "caption" && {
78
+ fontSize: TablePaginationActions.ICON_SIZE_SMALL
79
+ },
80
+ ...variant === "body2" && {
81
+ fontSize: TablePaginationActions.ICON_SIZE_MEDIUM
82
+ },
83
+ ...variant === "body1" && {
84
+ fontSize: TablePaginationActions.ICON_SIZE_LARGE
85
+ },
86
+ ...variant === "button" && {
87
+ fontSize: TablePaginationActions.ICON_SIZE_MEDIUM
88
+ }
89
+ }
70
90
  }));
71
- function _Link({ children, startIcon, endIcon, color, ...otherProps }, ref) {
91
+ function _Link({
92
+ children,
93
+ variant,
94
+ startIcon,
95
+ endIcon,
96
+ color,
97
+ external,
98
+ showExternalIcon = true,
99
+ ...otherProps
100
+ }, ref) {
101
+ const intl = reactIntl.useIntl();
102
+ const intlConfig = TablePaginationActions.useImperativeIntl(intl);
72
103
  return /* @__PURE__ */ jsxRuntime.jsxs(
73
- material.Link,
104
+ StyledLink,
74
105
  {
75
106
  ...otherProps,
107
+ variant,
76
108
  "data-color": color,
77
109
  "data-name": "link",
78
110
  role: "link",
79
111
  color,
80
112
  ref,
113
+ target: external ? "_blank" : void 0,
114
+ rel: external ? "noopener noreferrer" : void 0,
115
+ "aria-label": external ? `${children == null ? void 0 : children.toString()} (${intlConfig.formatMessage({
116
+ id: "c4r.button.opensInNewTab"
117
+ })})` : void 0,
81
118
  children: [
82
- startIcon && /* @__PURE__ */ jsxRuntime.jsx(Icon, { children: startIcon }),
119
+ startIcon && /* @__PURE__ */ jsxRuntime.jsx(Icon, { variant, children: startIcon }),
83
120
  children,
84
- endIcon && /* @__PURE__ */ jsxRuntime.jsx(Icon, { children: endIcon })
121
+ (endIcon || external && showExternalIcon) && /* @__PURE__ */ jsxRuntime.jsx(Icon, { variant, children: endIcon || /* @__PURE__ */ jsxRuntime.jsx(iconsMaterial.OpenInNewOutlined, {}) })
85
122
  ]
86
123
  }
87
124
  );
@@ -2,11 +2,11 @@
2
2
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
3
3
  const jsxRuntime = require("react/jsx-runtime");
4
4
  const React = require("react");
5
- const material = require("@mui/material");
6
- const TablePaginationActions = require("../TablePaginationActions-CAmwcyTy.cjs");
7
5
  const reactIntl = require("react-intl");
6
+ const material = require("@mui/material");
8
7
  const iconsMaterial = require("@mui/icons-material");
9
- const Alert$1 = require("../Alert-hun6016k.cjs");
8
+ const TablePaginationActions = require("../TablePaginationActions-CAmwcyTy.cjs");
9
+ const Alert$1 = require("../Alert-D01HgLe0.cjs");
10
10
  const styles = require("@mui/material/styles");
11
11
  require("cartocolor");
12
12
  const MenuItem = require("../MenuItem-Br2jY2lt.cjs");
@@ -62,8 +62,11 @@ function _Button({
62
62
  startIcon,
63
63
  endIcon,
64
64
  loadingPosition,
65
+ external,
65
66
  ...otherProps
66
67
  }, ref) {
68
+ const intl = reactIntl.useIntl();
69
+ const intlConfig = TablePaginationActions.useImperativeIntl(intl);
67
70
  const defaultIconLoader = /* @__PURE__ */ jsxRuntime.jsx(material.CircularProgress, { size: 18, color: "inherit" });
68
71
  const isDefaultLoading = loading && loadingPosition === void 0;
69
72
  const renderContent = () => {
@@ -85,7 +88,11 @@ function _Button({
85
88
  }
86
89
  return void 0;
87
90
  }
88
- return position === "start" ? startIcon : endIcon;
91
+ if (position === "start") {
92
+ return startIcon;
93
+ } else {
94
+ return endIcon || (external && otherProps.href ? /* @__PURE__ */ jsxRuntime.jsx(iconsMaterial.OpenInNewOutlined, {}) : void 0);
95
+ }
89
96
  };
90
97
  return /* @__PURE__ */ jsxRuntime.jsx(
91
98
  material.Button,
@@ -95,6 +102,13 @@ function _Button({
95
102
  endIcon: getIconForPosition("end"),
96
103
  ...otherProps,
97
104
  role: otherProps.href ? "link" : "button",
105
+ ...otherProps.href && external && {
106
+ target: "_blank",
107
+ rel: "noopener noreferrer"
108
+ },
109
+ "aria-label": external && otherProps.href ? `${children == null ? void 0 : children.toString()} (${intlConfig.formatMessage({
110
+ id: "c4r.button.opensInNewTab"
111
+ })})` : void 0,
98
112
  ref,
99
113
  children: /* @__PURE__ */ jsxRuntime.jsx(TablePaginationActions.Typography, { variant: "inherit", color: "inherit", noWrap: true, component: "span", children: renderContent() })
100
114
  }
@@ -400,8 +414,6 @@ function _ExternalLink({
400
414
  icon = /* @__PURE__ */ jsxRuntime.jsx(IconOpenInNewOutlined, {}),
401
415
  ...props
402
416
  }, ref) {
403
- const intl = reactIntl.useIntl();
404
- const intlConfig = TablePaginationActions.useImperativeIntl(intl);
405
417
  if (useButton) {
406
418
  return /* @__PURE__ */ jsxRuntime.jsx(
407
419
  Button,
@@ -417,13 +429,10 @@ function _ExternalLink({
417
429
  return /* @__PURE__ */ jsxRuntime.jsx(
418
430
  Alert$1.Link,
419
431
  {
420
- ...externalLinkProps,
421
- endIcon: showIcon && icon,
422
432
  ...props,
433
+ external: true,
434
+ showExternalIcon: showIcon,
423
435
  ref,
424
- "aria-label": `${children == null ? void 0 : children.toString()} (${intlConfig.formatMessage({
425
- id: "c4r.button.opensInNewTab"
426
- })})`,
427
436
  children
428
437
  }
429
438
  );
@@ -1,11 +1,11 @@
1
1
  import { jsx, jsxs, Fragment } from "react/jsx-runtime";
2
2
  import { forwardRef, useState, useEffect, useMemo, useRef, Fragment as Fragment$1, useImperativeHandle, useCallback } from "react";
3
+ import { useIntl } from "react-intl";
3
4
  import { styled, Box, Button as Button$1, CircularProgress, TextField, InputAdornment, IconButton, Tooltip, Select, MenuItem, FormControl, InputLabel, FormHelperText, ToggleButtonGroup as ToggleButtonGroup$1, Menu as Menu$2, MenuList as MenuList$1, Link as Link$1, Checkbox, ListItemText, Autocomplete as Autocomplete$1, Divider, ListItemIcon, createFilterOptions, Accordion, AccordionSummary, AccordionDetails, Avatar as Avatar$1, Snackbar as Snackbar$1, Portal, Fade, Slide, alpha, useTheme, Toolbar, AppBar as AppBar$1, Paper, Dialog as Dialog$1, DialogTitle as DialogTitle$1, Chip, DialogContent as DialogContent$1, DialogActions as DialogActions$1 } from "@mui/material";
4
- import { T as Typography, c as ICON_SIZE_SMALL, u as useImperativeIntl, N as NOTIFICATION_DURATION_IN_MS, A as APPBAR_SIZE } from "../TablePaginationActions-b5wP_uRE.js";
5
+ import { OpenInNewOutlined, VisibilityOffOutlined, VisibilityOutlined, Cancel, AddCircleOutlineOutlined, ContentCopyOutlined, CloseOutlined, MenuOutlined, HelpOutline, TodayOutlined, MoreVertOutlined, ErrorOutline, Check } from "@mui/icons-material";
6
+ import { u as useImperativeIntl, T as Typography, c as ICON_SIZE_SMALL, N as NOTIFICATION_DURATION_IN_MS, A as APPBAR_SIZE } from "../TablePaginationActions-b5wP_uRE.js";
5
7
  import { a } from "../TablePaginationActions-b5wP_uRE.js";
6
- import { useIntl } from "react-intl";
7
- import { VisibilityOffOutlined, VisibilityOutlined, OpenInNewOutlined, Cancel, AddCircleOutlineOutlined, ContentCopyOutlined, CloseOutlined, MenuOutlined, HelpOutline, TodayOutlined, MoreVertOutlined, ErrorOutline, Check } from "@mui/icons-material";
8
- import { L as Link, I as IconButton$1, A as Alert$1 } from "../Alert-CETC14v2.js";
8
+ import { L as Link, I as IconButton$1, A as Alert$1 } from "../Alert-C0UdTQsO.js";
9
9
  import { styled as styled$1 } from "@mui/material/styles";
10
10
  import "cartocolor";
11
11
  import { M as MenuItem$1 } from "../MenuItem-CXnnE5lK.js";
@@ -61,8 +61,11 @@ function _Button({
61
61
  startIcon,
62
62
  endIcon,
63
63
  loadingPosition,
64
+ external,
64
65
  ...otherProps
65
66
  }, ref) {
67
+ const intl = useIntl();
68
+ const intlConfig = useImperativeIntl(intl);
66
69
  const defaultIconLoader = /* @__PURE__ */ jsx(CircularProgress, { size: 18, color: "inherit" });
67
70
  const isDefaultLoading = loading && loadingPosition === void 0;
68
71
  const renderContent = () => {
@@ -84,7 +87,11 @@ function _Button({
84
87
  }
85
88
  return void 0;
86
89
  }
87
- return position === "start" ? startIcon : endIcon;
90
+ if (position === "start") {
91
+ return startIcon;
92
+ } else {
93
+ return endIcon || (external && otherProps.href ? /* @__PURE__ */ jsx(OpenInNewOutlined, {}) : void 0);
94
+ }
88
95
  };
89
96
  return /* @__PURE__ */ jsx(
90
97
  Button$1,
@@ -94,6 +101,13 @@ function _Button({
94
101
  endIcon: getIconForPosition("end"),
95
102
  ...otherProps,
96
103
  role: otherProps.href ? "link" : "button",
104
+ ...otherProps.href && external && {
105
+ target: "_blank",
106
+ rel: "noopener noreferrer"
107
+ },
108
+ "aria-label": external && otherProps.href ? `${children == null ? void 0 : children.toString()} (${intlConfig.formatMessage({
109
+ id: "c4r.button.opensInNewTab"
110
+ })})` : void 0,
97
111
  ref,
98
112
  children: /* @__PURE__ */ jsx(Typography, { variant: "inherit", color: "inherit", noWrap: true, component: "span", children: renderContent() })
99
113
  }
@@ -399,8 +413,6 @@ function _ExternalLink({
399
413
  icon = /* @__PURE__ */ jsx(IconOpenInNewOutlined, {}),
400
414
  ...props
401
415
  }, ref) {
402
- const intl = useIntl();
403
- const intlConfig = useImperativeIntl(intl);
404
416
  if (useButton) {
405
417
  return /* @__PURE__ */ jsx(
406
418
  Button,
@@ -416,13 +428,10 @@ function _ExternalLink({
416
428
  return /* @__PURE__ */ jsx(
417
429
  Link,
418
430
  {
419
- ...externalLinkProps,
420
- endIcon: showIcon && icon,
421
431
  ...props,
432
+ external: true,
433
+ showExternalIcon: showIcon,
422
434
  ref,
423
- "aria-label": `${children == null ? void 0 : children.toString()} (${intlConfig.formatMessage({
424
- id: "c4r.button.opensInNewTab"
425
- })})`,
426
435
  children
427
436
  }
428
437
  );
@@ -9,6 +9,11 @@ export type ButtonProps = MUIButtonProps<React.ElementType, {
9
9
  * - 'end': Shows spinner at the end position, replacing the endIcon
10
10
  */
11
11
  loadingPosition?: 'start' | 'end';
12
+ /**
13
+ * Whether the button is external. If true, the button will open in a new tab.
14
+ * Needs to have a href prop to be considered external.
15
+ */
16
+ external?: boolean;
12
17
  }>;
13
18
  declare const Button: import('react').ForwardRefExoticComponent<Omit<ButtonProps, "ref"> & import('react').RefAttributes<HTMLButtonElement>>;
14
19
  export default Button;
@@ -1 +1 @@
1
- {"version":3,"file":"Button.d.ts","sourceRoot":"","sources":["../../../../src/components/atoms/Button.tsx"],"names":[],"mappings":"AACA,OAAO,EACL,WAAW,IAAI,cAAc,EAK9B,MAAM,eAAe,CAAA;AAmBtB,MAAM,MAAM,WAAW,GAAG,cAAc,CACtC,KAAK,CAAC,WAAW,EACjB;IACE,MAAM,CAAC,EAAE,MAAM,CAAA;IACf,OAAO,CAAC,EAAE,OAAO,CAAA;IAEjB;;;;;OAKG;IACH,eAAe,CAAC,EAAE,OAAO,GAAG,KAAK,CAAA;CAClC,CACF,CAAA;AAoED,QAAA,MAAM,MAAM,wHAAsB,CAAA;AAClC,eAAe,MAAM,CAAA"}
1
+ {"version":3,"file":"Button.d.ts","sourceRoot":"","sources":["../../../../src/components/atoms/Button.tsx"],"names":[],"mappings":"AAEA,OAAO,EACL,WAAW,IAAI,cAAc,EAK9B,MAAM,eAAe,CAAA;AAsBtB,MAAM,MAAM,WAAW,GAAG,cAAc,CACtC,KAAK,CAAC,WAAW,EACjB;IACE,MAAM,CAAC,EAAE,MAAM,CAAA;IACf,OAAO,CAAC,EAAE,OAAO,CAAA;IAEjB;;;;;OAKG;IACH,eAAe,CAAC,EAAE,OAAO,GAAG,KAAK,CAAA;IACjC;;;OAGG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAA;CACnB,CACF,CAAA;AA2FD,QAAA,MAAM,MAAM,wHAAsB,CAAA;AAClC,eAAe,MAAM,CAAA"}
@@ -10,7 +10,8 @@ declare const ExternalLink: import('react').ForwardRefExoticComponent<(Omit<impo
10
10
  target?: string;
11
11
  loading?: boolean;
12
12
  loadingPosition?: "start" | "end";
13
- } & import('@mui/material').ButtonOwnProps & Omit<import('@mui/material').ButtonBaseOwnProps, "classes"> & import('@mui/material/OverridableComponent').CommonProps & Omit<any, "style" | "className" | "classes" | "color" | "children" | "sx" | "variant" | "target" | "tabIndex" | "href" | "disabled" | "action" | "loading" | "size" | "centerRipple" | "disableRipple" | "disableTouchRipple" | "focusRipple" | "focusVisibleClassName" | "LinkComponent" | "onFocusVisible" | "TouchRippleProps" | "touchRippleRef" | "disableFocusRipple" | "fullWidth" | "disableElevation" | "endIcon" | "startIcon" | "loadingPosition"> & {
13
+ external?: boolean;
14
+ } & import('@mui/material').ButtonOwnProps & Omit<import('@mui/material').ButtonBaseOwnProps, "classes"> & import('@mui/material/OverridableComponent').CommonProps & Omit<any, "style" | "className" | "classes" | "color" | "children" | "sx" | "variant" | "target" | "tabIndex" | "href" | "disabled" | "action" | "loading" | "size" | "centerRipple" | "disableRipple" | "disableTouchRipple" | "focusRipple" | "focusVisibleClassName" | "LinkComponent" | "onFocusVisible" | "TouchRippleProps" | "touchRippleRef" | "disableFocusRipple" | "fullWidth" | "disableElevation" | "endIcon" | "startIcon" | "loadingPosition" | "external"> & {
14
15
  component?: import('react').ElementType;
15
16
  } & {
16
17
  showIcon?: boolean;
@@ -1 +1 @@
1
- {"version":3,"file":"ExternalLink.d.ts","sourceRoot":"","sources":["../../../../src/components/atoms/ExternalLink.tsx"],"names":[],"mappings":"AAuEA,QAAA,MAAM,YAAY;;;;;eAvCH,OAAO;gBACN,OAAO;WACZ,GAAG,CAAC,OAAO;;;;;;;;eAFP,OAAO;gBACN,OAAO;WACZ,GAAG,CAAC,OAAO;kFAqCwB,CAAA;AAC9C,eAAe,YAAY,CAAA"}
1
+ {"version":3,"file":"ExternalLink.d.ts","sourceRoot":"","sources":["../../../../src/components/atoms/ExternalLink.tsx"],"names":[],"mappings":"AA+DA,QAAA,MAAM,YAAY;;;;;eAjCH,OAAO;gBACN,OAAO;WACZ,GAAG,CAAC,OAAO;;;;;;;;;eAFP,OAAO;gBACN,OAAO;WACZ,GAAG,CAAC,OAAO;kFA+BwB,CAAA;AAC9C,eAAe,YAAY,CAAA"}
@@ -1,4 +1,14 @@
1
- import { LinkProps } from '@mui/material';
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
+ }>;
2
12
  declare const Link: import('react').ForwardRefExoticComponent<Omit<LinkProps, "ref"> & import('react').RefAttributes<HTMLAnchorElement>>;
3
13
  export default Link;
4
14
  //# sourceMappingURL=Link.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Link.d.ts","sourceRoot":"","sources":["../../../../src/components/atoms/Link.tsx"],"names":[],"mappings":"AACA,OAAO,EAAO,SAAS,EAA2B,MAAM,eAAe,CAAA;AA+BvE,QAAA,MAAM,IAAI,sHAAoB,CAAA;AAC9B,eAAe,IAAI,CAAA"}
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;AAkCtB,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"}
@@ -9,7 +9,7 @@ const _ReactEcharts = require("echarts-for-react");
9
9
  const reactWindow = require("react-window");
10
10
  const SwatchSquare = require("../SwatchSquare-benaO55C.cjs");
11
11
  const iconsMaterial = require("@mui/icons-material");
12
- const Alert = require("../Alert-hun6016k.cjs");
12
+ const Alert = require("../Alert-D01HgLe0.cjs");
13
13
  const paletteUtils = require("../paletteUtils-B9ybmwiI.cjs");
14
14
  function detectTouchscreen() {
15
15
  let result = false;
@@ -7,7 +7,7 @@ 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-CETC14v2.js";
10
+ import { I as IconButton, L as Link$1, A as Alert } from "../Alert-C0UdTQsO.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;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@carto/meridian-ds",
3
- "version": "1.4.5-alpha-external-link.3",
3
+ "version": "1.4.5-alpha-external-link.4",
4
4
  "description": "CARTO Meridian Design System",
5
5
  "type": "module",
6
6
  "scripts": {