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

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 (32) hide show
  1. package/CHANGELOG.md +0 -3
  2. package/dist/{Alert-CETC14v2.js → Alert-D8jI1sG4.js} +3 -89
  3. package/dist/{Alert-hun6016k.cjs → Alert-zqtoWsBL.cjs} +2 -88
  4. package/dist/{TablePaginationActions-CAmwcyTy.cjs → TablePaginationActions-CFGXm44W.cjs} +3 -6
  5. package/dist/{TablePaginationActions-b5wP_uRE.js → TablePaginationActions-KpTvhN4Y.js} +3 -6
  6. package/dist/components/index.cjs +60 -53
  7. package/dist/components/index.js +74 -67
  8. package/dist/theme/index.cjs +1 -1
  9. package/dist/theme/index.js +2 -2
  10. package/dist/types/components/atoms/index.d.ts +0 -4
  11. package/dist/types/components/atoms/index.d.ts.map +1 -1
  12. package/dist/types/localization/en.d.ts +0 -1
  13. package/dist/types/localization/en.d.ts.map +1 -1
  14. package/dist/types/localization/es.d.ts +0 -1
  15. package/dist/types/localization/es.d.ts.map +1 -1
  16. package/dist/types/localization/id.d.ts +0 -1
  17. package/dist/types/localization/id.d.ts.map +1 -1
  18. package/dist/types/localization/index.d.ts +0 -3
  19. package/dist/types/localization/index.d.ts.map +1 -1
  20. package/dist/types/theme/types.d.ts +0 -6
  21. package/dist/types/theme/types.d.ts.map +1 -1
  22. package/dist/types/widgets/CategoryWidgetUI/CategoryWidgetUI.styled.d.ts +1 -1
  23. package/dist/types/widgets/CategoryWidgetUI/CategoryWidgetUI.styled.d.ts.map +1 -1
  24. package/dist/types/widgets/ChartLegend.d.ts.map +1 -1
  25. package/dist/types/widgets/comparative/ComparativeCategoryWidgetUI/ComparativeCategoryWidgetUI.d.ts.map +1 -1
  26. package/dist/widgets/index.cjs +31 -23
  27. package/dist/widgets/index.js +42 -34
  28. package/package.json +1 -1
  29. package/dist/types/components/atoms/ExternalLink.d.ts +0 -21
  30. package/dist/types/components/atoms/ExternalLink.d.ts.map +0 -1
  31. package/dist/types/components/atoms/Link.d.ts +0 -4
  32. package/dist/types/components/atoms/Link.d.ts.map +0 -1
package/CHANGELOG.md CHANGED
@@ -2,9 +2,6 @@
2
2
 
3
3
  ## Unreleased
4
4
 
5
- - New Link and ExternalLink components [#202](https://github.com/CartoDB/meridian-ds/pull/202)
6
- - Fix tooltips in ChartLegend pagination buttons [201](https://github.com/CartoDB/meridian-ds/pull/201)
7
-
8
5
  ## 1.0
9
6
 
10
7
  ### 1.4.5
@@ -1,91 +1,7 @@
1
1
  import { jsx, jsxs } from "react/jsx-runtime";
2
+ import { b as ICON_SIZE_MEDIUM, T as Typography } from "./TablePaginationActions-KpTvhN4Y.js";
3
+ import { styled, Alert as Alert$1, Fade, AlertTitle } from "@mui/material";
2
4
  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";
5
- const Option = styled("div")(({ theme }) => ({
6
- position: "relative",
7
- display: "inline-flex",
8
- // TODO: Remove this once we have a better way to handle the spacing between icon buttons:
9
- // https://app.shortcut.com/cartoteam/story/471284/create-iconbuttongroup-component-to-properly-group-several-icons
10
- "& + &, & + .optionIconButton": {
11
- marginLeft: theme.spacing(0.5)
12
- }
13
- }));
14
- const StyledIconButton = styled(IconButton$1, {
15
- shouldForwardProp: (prop) => !["active"].includes(prop)
16
- })(({ active, theme }) => ({
17
- ...active && {
18
- color: theme.palette.primary.main,
19
- backgroundColor: theme.palette.primary.background,
20
- "& svg:not(.doNotFillIcon) path": {
21
- fill: theme.palette.primary.main
22
- }
23
- }
24
- }));
25
- function _IconButton({
26
- tooltip,
27
- tooltipPlacement = "top",
28
- icon,
29
- size = "medium",
30
- variant = "icon",
31
- color = "default",
32
- sx,
33
- className,
34
- loading,
35
- disabled,
36
- active,
37
- ...props
38
- }, ref) {
39
- return /* @__PURE__ */ jsx(Tooltip, { placement: tooltipPlacement, title: tooltip ?? "", children: /* @__PURE__ */ jsx(
40
- Option,
41
- {
42
- className: `optionIconButton ${className ?? ""}`,
43
- sx,
44
- "data-testid": "icon-button",
45
- children: /* @__PURE__ */ jsx(
46
- StyledIconButton,
47
- {
48
- ...props,
49
- ref,
50
- size,
51
- variant,
52
- color,
53
- active,
54
- disabled: disabled || loading,
55
- role: "button",
56
- children: loading ? /* @__PURE__ */ jsx(CircularProgress, { size: 18, color: "inherit" }) : icon
57
- }
58
- )
59
- }
60
- ) });
61
- }
62
- 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
69
- }));
70
- function _Link({ children, startIcon, endIcon, color, ...otherProps }, ref) {
71
- return /* @__PURE__ */ jsxs(
72
- Link$1,
73
- {
74
- ...otherProps,
75
- "data-color": color,
76
- "data-name": "link",
77
- role: "link",
78
- color,
79
- ref,
80
- children: [
81
- startIcon && /* @__PURE__ */ jsx(Icon, { children: startIcon }),
82
- children,
83
- endIcon && /* @__PURE__ */ jsx(Icon, { children: endIcon })
84
- ]
85
- }
86
- );
87
- }
88
- const Link = forwardRef(_Link);
89
5
  const StyledAlert = styled(Alert$1, {
90
6
  shouldForwardProp: (prop) => ![
91
7
  "isNeutral",
@@ -214,7 +130,5 @@ function _Alert({
214
130
  }
215
131
  const Alert = forwardRef(_Alert);
216
132
  export {
217
- Alert as A,
218
- IconButton as I,
219
- Link as L
133
+ Alert as A
220
134
  };
@@ -1,92 +1,8 @@
1
1
  "use strict";
2
2
  const jsxRuntime = require("react/jsx-runtime");
3
- const React = require("react");
3
+ const TablePaginationActions = require("./TablePaginationActions-CFGXm44W.cjs");
4
4
  const material = require("@mui/material");
5
- const TablePaginationActions = require("./TablePaginationActions-CAmwcyTy.cjs");
6
- const Option = material.styled("div")(({ theme }) => ({
7
- position: "relative",
8
- display: "inline-flex",
9
- // TODO: Remove this once we have a better way to handle the spacing between icon buttons:
10
- // https://app.shortcut.com/cartoteam/story/471284/create-iconbuttongroup-component-to-properly-group-several-icons
11
- "& + &, & + .optionIconButton": {
12
- marginLeft: theme.spacing(0.5)
13
- }
14
- }));
15
- const StyledIconButton = material.styled(material.IconButton, {
16
- shouldForwardProp: (prop) => !["active"].includes(prop)
17
- })(({ active, theme }) => ({
18
- ...active && {
19
- color: theme.palette.primary.main,
20
- backgroundColor: theme.palette.primary.background,
21
- "& svg:not(.doNotFillIcon) path": {
22
- fill: theme.palette.primary.main
23
- }
24
- }
25
- }));
26
- function _IconButton({
27
- tooltip,
28
- tooltipPlacement = "top",
29
- icon,
30
- size = "medium",
31
- variant = "icon",
32
- color = "default",
33
- sx,
34
- className,
35
- loading,
36
- disabled,
37
- active,
38
- ...props
39
- }, ref) {
40
- return /* @__PURE__ */ jsxRuntime.jsx(material.Tooltip, { placement: tooltipPlacement, title: tooltip ?? "", children: /* @__PURE__ */ jsxRuntime.jsx(
41
- Option,
42
- {
43
- className: `optionIconButton ${className ?? ""}`,
44
- sx,
45
- "data-testid": "icon-button",
46
- children: /* @__PURE__ */ jsxRuntime.jsx(
47
- StyledIconButton,
48
- {
49
- ...props,
50
- ref,
51
- size,
52
- variant,
53
- color,
54
- active,
55
- disabled: disabled || loading,
56
- role: "button",
57
- children: loading ? /* @__PURE__ */ jsxRuntime.jsx(material.CircularProgress, { size: 18, color: "inherit" }) : icon
58
- }
59
- )
60
- }
61
- ) });
62
- }
63
- 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
70
- }));
71
- function _Link({ children, startIcon, endIcon, color, ...otherProps }, ref) {
72
- return /* @__PURE__ */ jsxRuntime.jsxs(
73
- material.Link,
74
- {
75
- ...otherProps,
76
- "data-color": color,
77
- "data-name": "link",
78
- role: "link",
79
- color,
80
- ref,
81
- children: [
82
- startIcon && /* @__PURE__ */ jsxRuntime.jsx(Icon, { children: startIcon }),
83
- children,
84
- endIcon && /* @__PURE__ */ jsxRuntime.jsx(Icon, { children: endIcon })
85
- ]
86
- }
87
- );
88
- }
89
- const Link = React.forwardRef(_Link);
5
+ const React = require("react");
90
6
  const StyledAlert = material.styled(material.Alert, {
91
7
  shouldForwardProp: (prop) => ![
92
8
  "isNeutral",
@@ -215,5 +131,3 @@ function _Alert({
215
131
  }
216
132
  const Alert = React.forwardRef(_Alert);
217
133
  exports.Alert = Alert;
218
- exports.IconButton = IconButton;
219
- exports.Link = Link;
@@ -814,8 +814,7 @@ const en = {
814
814
  copy: "Copy",
815
815
  save: "Save",
816
816
  add: "Add",
817
- showOptions: "Show options",
818
- opensInNewTab: "Opens in new tab"
817
+ showOptions: "Show options"
819
818
  },
820
819
  form: {
821
820
  selectAll: "Select all",
@@ -963,8 +962,7 @@ const es = {
963
962
  copy: "Copiar",
964
963
  save: "Guardar",
965
964
  add: "Añadir",
966
- showOptions: "Mostrar opciones",
967
- opensInNewTab: "Abre en una nueva pestaña"
965
+ showOptions: "Mostrar opciones"
968
966
  },
969
967
  form: {
970
968
  selectAll: "Seleccionar todos",
@@ -1110,8 +1108,7 @@ const id = {
1110
1108
  copy: "Salin",
1111
1109
  save: "Simpan",
1112
1110
  add: "Tambah",
1113
- showOptions: "Tampilkan opsi",
1114
- opensInNewTab: "Buka di tab baru"
1111
+ showOptions: "Tampilkan opsi"
1115
1112
  },
1116
1113
  form: {
1117
1114
  selectAll: "Select all",
@@ -813,8 +813,7 @@ const en = {
813
813
  copy: "Copy",
814
814
  save: "Save",
815
815
  add: "Add",
816
- showOptions: "Show options",
817
- opensInNewTab: "Opens in new tab"
816
+ showOptions: "Show options"
818
817
  },
819
818
  form: {
820
819
  selectAll: "Select all",
@@ -962,8 +961,7 @@ const es = {
962
961
  copy: "Copiar",
963
962
  save: "Guardar",
964
963
  add: "Añadir",
965
- showOptions: "Mostrar opciones",
966
- opensInNewTab: "Abre en una nueva pestaña"
964
+ showOptions: "Mostrar opciones"
967
965
  },
968
966
  form: {
969
967
  selectAll: "Seleccionar todos",
@@ -1109,8 +1107,7 @@ const id = {
1109
1107
  copy: "Salin",
1110
1108
  save: "Simpan",
1111
1109
  add: "Tambah",
1112
- showOptions: "Tampilkan opsi",
1113
- opensInNewTab: "Buka di tab baru"
1110
+ showOptions: "Tampilkan opsi"
1114
1111
  },
1115
1112
  form: {
1116
1113
  selectAll: "Select all",
@@ -3,11 +3,10 @@ Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
3
3
  const jsxRuntime = require("react/jsx-runtime");
4
4
  const React = require("react");
5
5
  const material = require("@mui/material");
6
- const TablePaginationActions = require("../TablePaginationActions-CAmwcyTy.cjs");
6
+ const TablePaginationActions = require("../TablePaginationActions-CFGXm44W.cjs");
7
7
  const reactIntl = require("react-intl");
8
8
  const iconsMaterial = require("@mui/icons-material");
9
- const Alert$1 = require("../Alert-hun6016k.cjs");
10
- const styles = require("@mui/material/styles");
9
+ const Alert$1 = require("../Alert-zqtoWsBL.cjs");
11
10
  require("cartocolor");
12
11
  const MenuItem = require("../MenuItem-Br2jY2lt.cjs");
13
12
  const ArrowDown = require("../ArrowDown-8fLj23Ge.cjs");
@@ -382,54 +381,64 @@ function ToggleButtonGroup({
382
381
  }
383
382
  );
384
383
  }
385
- const externalLinkProps = {
386
- target: "_blank",
387
- rel: "noopener noreferrer"
388
- };
389
- const IconOpenInNewOutlined = styles.styled(iconsMaterial.OpenInNewOutlined)(() => ({
390
- fontSize: "1em",
391
- color: "inherit !important",
392
- "> path": {
393
- color: "inherit !important"
384
+ const Option = material.styled("div")(({ theme }) => ({
385
+ position: "relative",
386
+ display: "inline-flex",
387
+ // TODO: Remove this once we have a better way to handle the spacing between icon buttons:
388
+ // https://app.shortcut.com/cartoteam/story/471284/create-iconbuttongroup-component-to-properly-group-several-icons
389
+ "& + &, & + .optionIconButton": {
390
+ marginLeft: theme.spacing(0.5)
394
391
  }
395
392
  }));
396
- function _ExternalLink({
397
- children,
398
- showIcon = true,
399
- useButton = false,
400
- icon = /* @__PURE__ */ jsxRuntime.jsx(IconOpenInNewOutlined, {}),
393
+ const StyledIconButton = material.styled(material.IconButton, {
394
+ shouldForwardProp: (prop) => !["active"].includes(prop)
395
+ })(({ active, theme }) => ({
396
+ ...active && {
397
+ color: theme.palette.primary.main,
398
+ backgroundColor: theme.palette.primary.background,
399
+ "& svg:not(.doNotFillIcon) path": {
400
+ fill: theme.palette.primary.main
401
+ }
402
+ }
403
+ }));
404
+ function _IconButton({
405
+ tooltip,
406
+ tooltipPlacement = "top",
407
+ icon,
408
+ size = "medium",
409
+ variant = "icon",
410
+ color = "default",
411
+ sx,
412
+ className,
413
+ loading,
414
+ disabled,
415
+ active,
401
416
  ...props
402
417
  }, ref) {
403
- const intl = reactIntl.useIntl();
404
- const intlConfig = TablePaginationActions.useImperativeIntl(intl);
405
- if (useButton) {
406
- return /* @__PURE__ */ jsxRuntime.jsx(
407
- Button,
408
- {
409
- ...externalLinkProps,
410
- endIcon: showIcon && icon,
411
- ...props,
412
- ref,
413
- children
414
- }
415
- );
416
- } else {
417
- return /* @__PURE__ */ jsxRuntime.jsx(
418
- Alert$1.Link,
419
- {
420
- ...externalLinkProps,
421
- endIcon: showIcon && icon,
422
- ...props,
423
- ref,
424
- "aria-label": `${children == null ? void 0 : children.toString()} (${intlConfig.formatMessage({
425
- id: "c4r.button.opensInNewTab"
426
- })})`,
427
- children
428
- }
429
- );
430
- }
418
+ return /* @__PURE__ */ jsxRuntime.jsx(material.Tooltip, { placement: tooltipPlacement, title: tooltip ?? "", children: /* @__PURE__ */ jsxRuntime.jsx(
419
+ Option,
420
+ {
421
+ className: `optionIconButton ${className ?? ""}`,
422
+ sx,
423
+ "data-testid": "icon-button",
424
+ children: /* @__PURE__ */ jsxRuntime.jsx(
425
+ StyledIconButton,
426
+ {
427
+ ...props,
428
+ ref,
429
+ size,
430
+ variant,
431
+ color,
432
+ active,
433
+ disabled: disabled || loading,
434
+ role: "button",
435
+ children: loading ? /* @__PURE__ */ jsxRuntime.jsx(material.CircularProgress, { size: 18, color: "inherit" }) : icon
436
+ }
437
+ )
438
+ }
439
+ ) });
431
440
  }
432
- const ExternalLink = React.forwardRef(_ExternalLink);
441
+ const IconButton = React.forwardRef(_IconButton);
433
442
  const StyledMenu = material.styled(material.Menu, {
434
443
  shouldForwardProp: (prop) => !["extended", "width", "height"].includes(prop)
435
444
  })(({ theme, extended, width, height }) => ({
@@ -1471,7 +1480,7 @@ const _CopiableComponent = ({
1471
1480
  children: [
1472
1481
  children,
1473
1482
  button && /* @__PURE__ */ jsxRuntime.jsx(
1474
- Alert$1.IconButton,
1483
+ IconButton,
1475
1484
  {
1476
1485
  ...buttonProps,
1477
1486
  disabled,
@@ -1730,7 +1739,7 @@ function Snackbar({
1730
1739
  }
1731
1740
  ),
1732
1741
  closeable && /* @__PURE__ */ jsxRuntime.jsx(CloseButtonWrapper, { children: /* @__PURE__ */ jsxRuntime.jsx(
1733
- Alert$1.IconButton,
1742
+ IconButton,
1734
1743
  {
1735
1744
  color: "default",
1736
1745
  onClick: (e) => onClose(e, "timeout"),
@@ -2980,7 +2989,7 @@ function CodeAreaHeader({
2980
2989
  return /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
2981
2990
  /* @__PURE__ */ jsxRuntime.jsxs(Header, { size, "data-size": size, "data-name": "code-area-header", children: [
2982
2991
  /* @__PURE__ */ jsxRuntime.jsx(
2983
- Alert$1.IconButton,
2992
+ IconButton,
2984
2993
  {
2985
2994
  color: "default",
2986
2995
  size,
@@ -3044,7 +3053,7 @@ function CodeAreaHeader({
3044
3053
  }
3045
3054
  ),
3046
3055
  showExpandButton && /* @__PURE__ */ jsxRuntime.jsx(
3047
- Alert$1.IconButton,
3056
+ IconButton,
3048
3057
  {
3049
3058
  color: "default",
3050
3059
  size,
@@ -4534,8 +4543,6 @@ function CodeAreaDialog({
4534
4543
  exports.TablePaginationActions = TablePaginationActions.TablePaginationActions;
4535
4544
  exports.Typography = TablePaginationActions.Typography;
4536
4545
  exports.Alert = Alert$1.Alert;
4537
- exports.IconButton = Alert$1.IconButton;
4538
- exports.Link = Alert$1.Link;
4539
4546
  exports.MenuItem = MenuItem.MenuItem;
4540
4547
  exports.AccordionGroup = AccordionGroup;
4541
4548
  exports.AppBar = AppBar;
@@ -4565,7 +4572,7 @@ exports.DialogFooter = DialogFooter;
4565
4572
  exports.DialogHeader = DialogHeader;
4566
4573
  exports.DialogPaper = DialogPaper;
4567
4574
  exports.DialogStepper = DialogStepper;
4568
- exports.ExternalLink = ExternalLink;
4575
+ exports.IconButton = IconButton;
4569
4576
  exports.LabelWithIndicator = LabelWithIndicator;
4570
4577
  exports.Menu = Menu$1;
4571
4578
  exports.MenuItemFilter = MenuItemFilter;
@@ -1,12 +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 { 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 { a } from "../TablePaginationActions-b5wP_uRE.js";
3
+ import { styled, Box, Button as Button$1, CircularProgress, TextField, InputAdornment, IconButton as IconButton$1, Tooltip, Select, MenuItem, FormControl, InputLabel, FormHelperText, ToggleButtonGroup as ToggleButtonGroup$1, Menu as Menu$2, MenuList as MenuList$1, Link, 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-KpTvhN4Y.js";
5
+ import { a } from "../TablePaginationActions-KpTvhN4Y.js";
6
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";
9
- import { styled as styled$1 } from "@mui/material/styles";
7
+ import { VisibilityOffOutlined, VisibilityOutlined, Cancel, AddCircleOutlineOutlined, ContentCopyOutlined, CloseOutlined, MenuOutlined, HelpOutline, TodayOutlined, MoreVertOutlined, ErrorOutline, Check } from "@mui/icons-material";
8
+ import { A as Alert$1 } from "../Alert-D8jI1sG4.js";
10
9
  import "cartocolor";
11
10
  import { M as MenuItem$1 } from "../MenuItem-CXnnE5lK.js";
12
11
  import { A as ArrowDown } from "../ArrowDown-CY_wMVJT.js";
@@ -159,7 +158,7 @@ function _PasswordField({ InputProps, size = "small", ...otherProps }, ref) {
159
158
  size,
160
159
  InputProps: {
161
160
  ...InputProps,
162
- endAdornment: /* @__PURE__ */ jsx(InputAdornment, { position: "end", children: /* @__PURE__ */ jsx(IconButton, { size, onClick: handleClickShowPassword, children: /* @__PURE__ */ jsx(
161
+ endAdornment: /* @__PURE__ */ jsx(InputAdornment, { position: "end", children: /* @__PURE__ */ jsx(IconButton$1, { size, onClick: handleClickShowPassword, children: /* @__PURE__ */ jsx(
163
162
  Tooltip,
164
163
  {
165
164
  title: intlConfig.formatMessage({
@@ -381,54 +380,64 @@ function ToggleButtonGroup({
381
380
  }
382
381
  );
383
382
  }
384
- const externalLinkProps = {
385
- target: "_blank",
386
- rel: "noopener noreferrer"
387
- };
388
- const IconOpenInNewOutlined = styled$1(OpenInNewOutlined)(() => ({
389
- fontSize: "1em",
390
- color: "inherit !important",
391
- "> path": {
392
- color: "inherit !important"
383
+ const Option = styled("div")(({ theme }) => ({
384
+ position: "relative",
385
+ display: "inline-flex",
386
+ // TODO: Remove this once we have a better way to handle the spacing between icon buttons:
387
+ // https://app.shortcut.com/cartoteam/story/471284/create-iconbuttongroup-component-to-properly-group-several-icons
388
+ "& + &, & + .optionIconButton": {
389
+ marginLeft: theme.spacing(0.5)
393
390
  }
394
391
  }));
395
- function _ExternalLink({
396
- children,
397
- showIcon = true,
398
- useButton = false,
399
- icon = /* @__PURE__ */ jsx(IconOpenInNewOutlined, {}),
392
+ const StyledIconButton = styled(IconButton$1, {
393
+ shouldForwardProp: (prop) => !["active"].includes(prop)
394
+ })(({ active, theme }) => ({
395
+ ...active && {
396
+ color: theme.palette.primary.main,
397
+ backgroundColor: theme.palette.primary.background,
398
+ "& svg:not(.doNotFillIcon) path": {
399
+ fill: theme.palette.primary.main
400
+ }
401
+ }
402
+ }));
403
+ function _IconButton({
404
+ tooltip,
405
+ tooltipPlacement = "top",
406
+ icon,
407
+ size = "medium",
408
+ variant = "icon",
409
+ color = "default",
410
+ sx,
411
+ className,
412
+ loading,
413
+ disabled,
414
+ active,
400
415
  ...props
401
416
  }, ref) {
402
- const intl = useIntl();
403
- const intlConfig = useImperativeIntl(intl);
404
- if (useButton) {
405
- return /* @__PURE__ */ jsx(
406
- Button,
407
- {
408
- ...externalLinkProps,
409
- endIcon: showIcon && icon,
410
- ...props,
411
- ref,
412
- children
413
- }
414
- );
415
- } else {
416
- return /* @__PURE__ */ jsx(
417
- Link,
418
- {
419
- ...externalLinkProps,
420
- endIcon: showIcon && icon,
421
- ...props,
422
- ref,
423
- "aria-label": `${children == null ? void 0 : children.toString()} (${intlConfig.formatMessage({
424
- id: "c4r.button.opensInNewTab"
425
- })})`,
426
- children
427
- }
428
- );
429
- }
417
+ return /* @__PURE__ */ jsx(Tooltip, { placement: tooltipPlacement, title: tooltip ?? "", children: /* @__PURE__ */ jsx(
418
+ Option,
419
+ {
420
+ className: `optionIconButton ${className ?? ""}`,
421
+ sx,
422
+ "data-testid": "icon-button",
423
+ children: /* @__PURE__ */ jsx(
424
+ StyledIconButton,
425
+ {
426
+ ...props,
427
+ ref,
428
+ size,
429
+ variant,
430
+ color,
431
+ active,
432
+ disabled: disabled || loading,
433
+ role: "button",
434
+ children: loading ? /* @__PURE__ */ jsx(CircularProgress, { size: 18, color: "inherit" }) : icon
435
+ }
436
+ )
437
+ }
438
+ ) });
430
439
  }
431
- const ExternalLink = forwardRef(_ExternalLink);
440
+ const IconButton = forwardRef(_IconButton);
432
441
  const StyledMenu = styled(Menu$2, {
433
442
  shouldForwardProp: (prop) => !["extended", "width", "height"].includes(prop)
434
443
  })(({ theme, extended, width, height }) => ({
@@ -510,7 +519,7 @@ const MenuList = forwardRef(_MenuList);
510
519
  const StyledMenuItem$1 = styled(MenuItem$1)(() => ({
511
520
  marginTop: "0 !important"
512
521
  }));
513
- const LinkFilter = styled(Link$1)(
522
+ const LinkFilter = styled(Link)(
514
523
  ({ disabled, theme }) => ({
515
524
  display: "flex",
516
525
  alignItems: "center",
@@ -736,7 +745,7 @@ function _MultipleSelectField({
736
745
  onChange: handleChange,
737
746
  size,
738
747
  variant,
739
- endAdornment: showFilters && areAnySelected && /* @__PURE__ */ jsx(UnselectButton, { position: "end", size, children: /* @__PURE__ */ jsx(IconButton, { onClick: unselectAll, size, children: /* @__PURE__ */ jsx(Cancel, {}) }) }),
748
+ endAdornment: showFilters && areAnySelected && /* @__PURE__ */ jsx(UnselectButton, { position: "end", size, children: /* @__PURE__ */ jsx(IconButton$1, { onClick: unselectAll, size, children: /* @__PURE__ */ jsx(Cancel, {}) }) }),
740
749
  menuProps: {
741
750
  PaperProps: {
742
751
  sx: {
@@ -830,7 +839,7 @@ function FilesAction({
830
839
  handleOpen,
831
840
  inProgress
832
841
  }) {
833
- return /* @__PURE__ */ jsx(InputAdornment, { position: "end", children: inProgress ? /* @__PURE__ */ jsx(IconButton, { "aria-label": "Loading", disabled: true, size, children: /* @__PURE__ */ jsx(CircularProgress, { size: 18 }) }) : !hasFiles ? /* @__PURE__ */ jsx(
842
+ return /* @__PURE__ */ jsx(InputAdornment, { position: "end", children: inProgress ? /* @__PURE__ */ jsx(IconButton$1, { "aria-label": "Loading", disabled: true, size, children: /* @__PURE__ */ jsx(CircularProgress, { size: 18 }) }) : !hasFiles ? /* @__PURE__ */ jsx(
834
843
  Button$1,
835
844
  {
836
845
  onClick: handleOpen,
@@ -841,7 +850,7 @@ function FilesAction({
841
850
  children: buttonText
842
851
  }
843
852
  ) : /* @__PURE__ */ jsx(
844
- IconButton,
853
+ IconButton$1,
845
854
  {
846
855
  onClick: handleReset,
847
856
  size,
@@ -1470,7 +1479,7 @@ const _CopiableComponent = ({
1470
1479
  children: [
1471
1480
  children,
1472
1481
  button && /* @__PURE__ */ jsx(
1473
- IconButton$1,
1482
+ IconButton,
1474
1483
  {
1475
1484
  ...buttonProps,
1476
1485
  disabled,
@@ -1729,7 +1738,7 @@ function Snackbar({
1729
1738
  }
1730
1739
  ),
1731
1740
  closeable && /* @__PURE__ */ jsx(CloseButtonWrapper, { children: /* @__PURE__ */ jsx(
1732
- IconButton$1,
1741
+ IconButton,
1733
1742
  {
1734
1743
  color: "default",
1735
1744
  onClick: (e) => onClose(e, "timeout"),
@@ -1940,7 +1949,7 @@ const Menu = styled("div")(({ theme }) => ({
1940
1949
  height: APPBAR_SIZE,
1941
1950
  marginRight: theme.spacing(1.5)
1942
1951
  }));
1943
- const MenuButton = styled(IconButton)(({ theme }) => ({
1952
+ const MenuButton = styled(IconButton$1)(({ theme }) => ({
1944
1953
  marginRight: theme.spacing(1),
1945
1954
  "&.MuiButtonBase-root svg path": {
1946
1955
  fill: theme.palette.brand.appBarContrastText
@@ -2092,7 +2101,7 @@ function ClearButton({
2092
2101
  const intl = useIntl();
2093
2102
  const intlConfig = useImperativeIntl(intl);
2094
2103
  return /* @__PURE__ */ jsx(Container, { size, variant, children: /* @__PURE__ */ jsx(
2095
- IconButton,
2104
+ IconButton$1,
2096
2105
  {
2097
2106
  ...props,
2098
2107
  size,
@@ -2209,7 +2218,7 @@ function DatePicker({
2209
2218
  slots: {
2210
2219
  clearButton: (props2) => /* @__PURE__ */ jsx(ClearButton, { ...props2, size, variant }),
2211
2220
  openPickerButton: (props2) => /* @__PURE__ */ jsx(
2212
- IconButton,
2221
+ IconButton$1,
2213
2222
  {
2214
2223
  ...props2,
2215
2224
  size,
@@ -2709,7 +2718,7 @@ function TimePicker({
2709
2718
  slots: {
2710
2719
  clearButton: (props2) => /* @__PURE__ */ jsx(ClearButton, { ...props2, size, variant }),
2711
2720
  openPickerButton: (props2) => /* @__PURE__ */ jsx(
2712
- IconButton,
2721
+ IconButton$1,
2713
2722
  {
2714
2723
  ...props2,
2715
2724
  size,
@@ -2795,7 +2804,7 @@ function DateTimePicker({
2795
2804
  slots: {
2796
2805
  clearButton: (props2) => /* @__PURE__ */ jsx(ClearButton, { ...props2, size, variant }),
2797
2806
  openPickerButton: (props2) => /* @__PURE__ */ jsx(
2798
- IconButton,
2807
+ IconButton$1,
2799
2808
  {
2800
2809
  ...props2,
2801
2810
  size,
@@ -2979,7 +2988,7 @@ function CodeAreaHeader({
2979
2988
  return /* @__PURE__ */ jsxs(Fragment, { children: [
2980
2989
  /* @__PURE__ */ jsxs(Header, { size, "data-size": size, "data-name": "code-area-header", children: [
2981
2990
  /* @__PURE__ */ jsx(
2982
- IconButton$1,
2991
+ IconButton,
2983
2992
  {
2984
2993
  color: "default",
2985
2994
  size,
@@ -3043,7 +3052,7 @@ function CodeAreaHeader({
3043
3052
  }
3044
3053
  ),
3045
3054
  showExpandButton && /* @__PURE__ */ jsx(
3046
- IconButton$1,
3055
+ IconButton,
3047
3056
  {
3048
3057
  color: "default",
3049
3058
  size,
@@ -3991,7 +4000,7 @@ function DialogHeader({
3991
4000
  {
3992
4001
  title: intlConfig.formatMessage({ id: "c4r.button.close" }),
3993
4002
  placement: "left",
3994
- children: /* @__PURE__ */ jsx(IconButton, { onClick: onClose, children: closeIcon || /* @__PURE__ */ jsx(CloseIcon, { "data-testid": "CloseIcon" }) })
4003
+ children: /* @__PURE__ */ jsx(IconButton$1, { onClick: onClose, children: closeIcon || /* @__PURE__ */ jsx(CloseIcon, { "data-testid": "CloseIcon" }) })
3995
4004
  }
3996
4005
  )
3997
4006
  ] })
@@ -4560,10 +4569,8 @@ export {
4560
4569
  DialogHeader,
4561
4570
  DialogPaper,
4562
4571
  DialogStepper,
4563
- ExternalLink,
4564
- IconButton$1 as IconButton,
4572
+ IconButton,
4565
4573
  LabelWithIndicator,
4566
- Link,
4567
4574
  Menu$1 as Menu,
4568
4575
  MenuItem$1 as MenuItem,
4569
4576
  MenuItemFilter,
@@ -3,7 +3,7 @@ var _a, _b, _c, _d, _e, _f, _g, _h;
3
3
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
4
4
  const material = require("@mui/material");
5
5
  const jsxRuntime = require("react/jsx-runtime");
6
- const TablePaginationActions = require("../TablePaginationActions-CAmwcyTy.cjs");
6
+ const TablePaginationActions = require("../TablePaginationActions-CFGXm44W.cjs");
7
7
  const iconsMaterial = require("@mui/icons-material");
8
8
  const ArrowDown = require("../ArrowDown-8fLj23Ge.cjs");
9
9
  const xDatePickers = require("@mui/x-date-pickers");
@@ -1,8 +1,8 @@
1
1
  var _a, _b, _c, _d, _e, _f, _g, _h;
2
2
  import { alpha, Tooltip, responsiveFontSizes, createTheme } from "@mui/material";
3
3
  import { jsxs, Fragment, jsx } from "react/jsx-runtime";
4
- import { T as Typography, a as TablePaginationActions, I as ICON_SIZE_LARGE, b as ICON_SIZE_MEDIUM, c as ICON_SIZE_SMALL, g as getSpacing, A as APPBAR_SIZE, B as BREAKPOINTS, S as SPACING } from "../TablePaginationActions-b5wP_uRE.js";
5
- import { N } from "../TablePaginationActions-b5wP_uRE.js";
4
+ import { T as Typography, a as TablePaginationActions, I as ICON_SIZE_LARGE, b as ICON_SIZE_MEDIUM, c as ICON_SIZE_SMALL, g as getSpacing, A as APPBAR_SIZE, B as BREAKPOINTS, S as SPACING } from "../TablePaginationActions-KpTvhN4Y.js";
5
+ import { N } from "../TablePaginationActions-KpTvhN4Y.js";
6
6
  import { Cancel, EventOutlined, ChevronRightOutlined, ChevronLeftOutlined, ExpandMoreOutlined, CheckCircleOutlined } from "@mui/icons-material";
7
7
  import { A as ArrowDown } from "../ArrowDown-CY_wMVJT.js";
8
8
  import { renderDigitalClockTimeView } from "@mui/x-date-pickers";
@@ -5,8 +5,6 @@ export { default as SelectField } from './SelectField';
5
5
  export { default as ToggleButtonGroup } from './ToggleButtonGroup';
6
6
  export { default as Typography } from './Typography';
7
7
  export { default as IconButton } from './IconButton';
8
- export { default as ExternalLink } from './ExternalLink';
9
- export { default as Link } from './Link';
10
8
  export type * from './Button';
11
9
  export type * from './LabelWithIndicator';
12
10
  export type * from './PasswordField';
@@ -14,6 +12,4 @@ export type * from './SelectField';
14
12
  export type * from './ToggleButtonGroup';
15
13
  export type * from './Typography';
16
14
  export type * from './IconButton';
17
- export type * from './ExternalLink';
18
- export type * from './Link';
19
15
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/atoms/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,MAAM,EAAE,MAAM,UAAU,CAAA;AAC5C,OAAO,EAAE,OAAO,IAAI,kBAAkB,EAAE,MAAM,sBAAsB,CAAA;AACpE,OAAO,EAAE,OAAO,IAAI,aAAa,EAAE,MAAM,iBAAiB,CAAA;AAC1D,OAAO,EAAE,OAAO,IAAI,WAAW,EAAE,MAAM,eAAe,CAAA;AACtD,OAAO,EAAE,OAAO,IAAI,iBAAiB,EAAE,MAAM,qBAAqB,CAAA;AAClE,OAAO,EAAE,OAAO,IAAI,UAAU,EAAE,MAAM,cAAc,CAAA;AACpD,OAAO,EAAE,OAAO,IAAI,UAAU,EAAE,MAAM,cAAc,CAAA;AACpD,OAAO,EAAE,OAAO,IAAI,YAAY,EAAE,MAAM,gBAAgB,CAAA;AACxD,OAAO,EAAE,OAAO,IAAI,IAAI,EAAE,MAAM,QAAQ,CAAA;AAExC,mBAAmB,UAAU,CAAA;AAC7B,mBAAmB,sBAAsB,CAAA;AACzC,mBAAmB,iBAAiB,CAAA;AACpC,mBAAmB,eAAe,CAAA;AAClC,mBAAmB,qBAAqB,CAAA;AACxC,mBAAmB,cAAc,CAAA;AACjC,mBAAmB,cAAc,CAAA;AACjC,mBAAmB,gBAAgB,CAAA;AACnC,mBAAmB,QAAQ,CAAA"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/atoms/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,MAAM,EAAE,MAAM,UAAU,CAAA;AAC5C,OAAO,EAAE,OAAO,IAAI,kBAAkB,EAAE,MAAM,sBAAsB,CAAA;AACpE,OAAO,EAAE,OAAO,IAAI,aAAa,EAAE,MAAM,iBAAiB,CAAA;AAC1D,OAAO,EAAE,OAAO,IAAI,WAAW,EAAE,MAAM,eAAe,CAAA;AACtD,OAAO,EAAE,OAAO,IAAI,iBAAiB,EAAE,MAAM,qBAAqB,CAAA;AAClE,OAAO,EAAE,OAAO,IAAI,UAAU,EAAE,MAAM,cAAc,CAAA;AACpD,OAAO,EAAE,OAAO,IAAI,UAAU,EAAE,MAAM,cAAc,CAAA;AAEpD,mBAAmB,UAAU,CAAA;AAC7B,mBAAmB,sBAAsB,CAAA;AACzC,mBAAmB,iBAAiB,CAAA;AACpC,mBAAmB,eAAe,CAAA;AAClC,mBAAmB,qBAAqB,CAAA;AACxC,mBAAmB,cAAc,CAAA;AACjC,mBAAmB,cAAc,CAAA"}
@@ -10,7 +10,6 @@ declare const _default: {
10
10
  save: string;
11
11
  add: string;
12
12
  showOptions: string;
13
- opensInNewTab: string;
14
13
  };
15
14
  form: {
16
15
  selectAll: string;
@@ -1 +1 @@
1
- {"version":3,"file":"en.d.ts","sourceRoot":"","sources":["../../../src/localization/en.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAEA,wBAuJ0B"}
1
+ {"version":3,"file":"en.d.ts","sourceRoot":"","sources":["../../../src/localization/en.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAEA,wBAsJ0B"}
@@ -10,7 +10,6 @@ declare const _default: {
10
10
  save: string;
11
11
  add: string;
12
12
  showOptions: string;
13
- opensInNewTab: string;
14
13
  };
15
14
  form: {
16
15
  selectAll: string;
@@ -1 +1 @@
1
- {"version":3,"file":"es.d.ts","sourceRoot":"","sources":["../../../src/localization/es.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAEA,wBAyJ0B"}
1
+ {"version":3,"file":"es.d.ts","sourceRoot":"","sources":["../../../src/localization/es.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAEA,wBAwJ0B"}
@@ -10,7 +10,6 @@ declare const _default: {
10
10
  save: string;
11
11
  add: string;
12
12
  showOptions: string;
13
- opensInNewTab: string;
14
13
  };
15
14
  form: {
16
15
  selectAll: string;
@@ -1 +1 @@
1
- {"version":3,"file":"id.d.ts","sourceRoot":"","sources":["../../../src/localization/id.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAEA,wBAuJ0B"}
1
+ {"version":3,"file":"id.d.ts","sourceRoot":"","sources":["../../../src/localization/id.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAEA,wBAsJ0B"}
@@ -11,7 +11,6 @@ export declare const messages: {
11
11
  save: string;
12
12
  add: string;
13
13
  showOptions: string;
14
- opensInNewTab: string;
15
14
  };
16
15
  form: {
17
16
  selectAll: string;
@@ -160,7 +159,6 @@ export declare const messages: {
160
159
  save: string;
161
160
  add: string;
162
161
  showOptions: string;
163
- opensInNewTab: string;
164
162
  };
165
163
  form: {
166
164
  selectAll: string;
@@ -307,7 +305,6 @@ export declare const messages: {
307
305
  save: string;
308
306
  add: string;
309
307
  showOptions: string;
310
- opensInNewTab: string;
311
308
  };
312
309
  form: {
313
310
  selectAll: string;
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/localization/index.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,QAAQ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAAiB,CAAA"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/localization/index.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,QAAQ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAAiB,CAAA"}
@@ -111,11 +111,5 @@ declare module '@mui/material/Dialog' {
111
111
  size?: 'small' | 'medium' | 'large' | 'xlarge';
112
112
  }
113
113
  }
114
- declare module '@mui/material/Link' {
115
- interface LinkOwnProps {
116
- endIcon?: React.ReactNode;
117
- startIcon?: React.ReactNode;
118
- }
119
- }
120
114
  export {};
121
115
  //# sourceMappingURL=types.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/theme/types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,eAAe,CAAA;AAE5C,KAAK,MAAM,CAAC,CAAC,EAAE,CAAC,IAAI,IAAI,CAAC,CAAC,EAAE,MAAM,CAAC,CAAC,GAAG,CAAC,CAAA;AAExC,KAAK,yBAAyB,GAAG,MAAM,CACrC,YAAY,EACZ;IACE,UAAU,EAAE,MAAM,CAAA;IAClB,cAAc,EAAE,MAAM,CAAA;CACvB,CACF,CAAA;AAED,UAAU,uBAAuB;IAC/B,QAAQ,EAAE,MAAM,CAAA;IAChB,WAAW,EAAE,MAAM,CAAA;IACnB,cAAc,EAAE,MAAM,CAAA;IACtB,QAAQ,EAAE,MAAM,CAAA;IAChB,UAAU,EAAE,MAAM,CAAA;IAClB,kBAAkB,EAAE,MAAM,CAAA;CAC3B;AAED,UAAU,wBAAwB;IA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AAA;QACtB,KAAK,EAAE,IAAI,CAAA;QACX,KAAK,EAAE,IAAI,CAAA;QACX,KAAK,EAAE,IAAI,CAAA;KACZ;CACF;AAGD,OAAO,QAAQ,sBAAsB,CAAC;IACpC,UAAU,yBAAyB;QACjC,OAAO,EAAE,IAAI,CAAA;KACd;CACF;AAED,OAAO,QAAQ,2BAA2B,CAAC;IACzC,UAAU,8BAA8B;QACtC,OAAO,EAAE,IAAI,CAAA;KACd;CACF;AAGD,OAAO,QAAQ,0BAA0B,CAAC;IACxC,UAAU,4BAA4B;QACpC,MAAM,EAAE,IAAI,CAAA;KACb;CACF;AAGD,OAAO,QAAQ,0BAA0B,CAAC;IACxC,UAAU,kBAAkB;QAC1B,OAAO,CAAC,EAAE,MAAM,GAAG,WAAW,GAAG,UAAU,CAAA;KAC5C;CACF;AAGD,OAAO,QAAQ,mBAAmB,CAAC;IACjC,UAAU,sBAAsB;QAC9B,OAAO,EAAE,IAAI,CAAA;KACd;CACF;AAGD,OAAO,QAAQ,sBAAsB,CAAC;IACpC,UAAU,WAAW;QACnB,IAAI,CAAC,EAAE,OAAO,GAAG,QAAQ,GAAG,OAAO,GAAG,QAAQ,CAAA;KAC/C;CACF"}
@@ -22,7 +22,7 @@ export declare const CategoryLabelWrapper: import('@emotion/styled').StyledCompo
22
22
  export declare const CategoryLabel: import('@emotion/styled').StyledComponent<Omit<import('../../components/atoms/Typography').TypographyProps, "ref"> & import('react').RefAttributes<HTMLElement> & import('@mui/system').MUIStyledCommonProps<import('@mui/material').Theme>, {}, {}>;
23
23
  export declare const LinkAsButton: import('@emotion/styled').StyledComponent<import('@mui/material').LinkOwnProps & import('@mui/material/OverridableComponent').CommonProps & Omit<Omit<import('react').DetailedHTMLProps<import('react').AnchorHTMLAttributes<HTMLAnchorElement>, HTMLAnchorElement>, "ref"> & {
24
24
  ref?: ((instance: HTMLAnchorElement | null) => void | import('react').DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof import('react').DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | import('react').RefObject<HTMLAnchorElement> | null | undefined;
25
- }, "p" | "style" | "className" | "classes" | "border" | "borderTop" | "borderRight" | "borderBottom" | "borderLeft" | "borderColor" | "borderRadius" | "display" | "displayPrint" | "overflow" | "textOverflow" | "visibility" | "whiteSpace" | "flexBasis" | "flexDirection" | "flexWrap" | "justifyContent" | "alignItems" | "alignContent" | "order" | "flex" | "flexGrow" | "flexShrink" | "alignSelf" | "justifyItems" | "justifySelf" | "gap" | "columnGap" | "rowGap" | "gridColumn" | "gridRow" | "gridAutoFlow" | "gridAutoColumns" | "gridAutoRows" | "gridTemplateColumns" | "gridTemplateRows" | "gridTemplateAreas" | "gridArea" | "bgcolor" | "color" | "zIndex" | "position" | "top" | "right" | "bottom" | "left" | "boxShadow" | "width" | "maxWidth" | "minWidth" | "height" | "maxHeight" | "minHeight" | "boxSizing" | "m" | "mt" | "mr" | "mb" | "ml" | "mx" | "my" | "pt" | "pr" | "pb" | "pl" | "px" | "py" | "margin" | "marginTop" | "marginRight" | "marginBottom" | "marginLeft" | "marginX" | "marginY" | "marginInline" | "marginInlineStart" | "marginInlineEnd" | "marginBlock" | "marginBlockStart" | "marginBlockEnd" | "padding" | "paddingTop" | "paddingRight" | "paddingBottom" | "paddingLeft" | "paddingX" | "paddingY" | "paddingInline" | "paddingInlineStart" | "paddingInlineEnd" | "paddingBlock" | "paddingBlockStart" | "paddingBlockEnd" | "typography" | "fontFamily" | "fontSize" | "fontStyle" | "fontWeight" | "letterSpacing" | "lineHeight" | "textAlign" | "textTransform" | "align" | "children" | "gutterBottom" | "noWrap" | "paragraph" | "sx" | "variant" | "variantMapping" | "underline" | "endIcon" | "startIcon" | "TypographyClasses"> & import('@mui/system').MUIStyledCommonProps<import('@mui/material').Theme>, {}, {}>;
25
+ }, "p" | "style" | "className" | "classes" | "border" | "borderTop" | "borderRight" | "borderBottom" | "borderLeft" | "borderColor" | "borderRadius" | "display" | "displayPrint" | "overflow" | "textOverflow" | "visibility" | "whiteSpace" | "flexBasis" | "flexDirection" | "flexWrap" | "justifyContent" | "alignItems" | "alignContent" | "order" | "flex" | "flexGrow" | "flexShrink" | "alignSelf" | "justifyItems" | "justifySelf" | "gap" | "columnGap" | "rowGap" | "gridColumn" | "gridRow" | "gridAutoFlow" | "gridAutoColumns" | "gridAutoRows" | "gridTemplateColumns" | "gridTemplateRows" | "gridTemplateAreas" | "gridArea" | "bgcolor" | "color" | "zIndex" | "position" | "top" | "right" | "bottom" | "left" | "boxShadow" | "width" | "maxWidth" | "minWidth" | "height" | "maxHeight" | "minHeight" | "boxSizing" | "m" | "mt" | "mr" | "mb" | "ml" | "mx" | "my" | "pt" | "pr" | "pb" | "pl" | "px" | "py" | "margin" | "marginTop" | "marginRight" | "marginBottom" | "marginLeft" | "marginX" | "marginY" | "marginInline" | "marginInlineStart" | "marginInlineEnd" | "marginBlock" | "marginBlockStart" | "marginBlockEnd" | "padding" | "paddingTop" | "paddingRight" | "paddingBottom" | "paddingLeft" | "paddingX" | "paddingY" | "paddingInline" | "paddingInlineStart" | "paddingInlineEnd" | "paddingBlock" | "paddingBlockStart" | "paddingBlockEnd" | "typography" | "fontFamily" | "fontSize" | "fontStyle" | "fontWeight" | "letterSpacing" | "lineHeight" | "textAlign" | "textTransform" | "align" | "children" | "gutterBottom" | "noWrap" | "paragraph" | "sx" | "variant" | "variantMapping" | "underline" | "TypographyClasses"> & import('@mui/system').MUIStyledCommonProps<import('@mui/material').Theme>, {}, {}>;
26
26
  export declare const CategoriesRoot: import('@emotion/styled').StyledComponent<import('@mui/system').BoxOwnProps<import('@mui/material').Theme> & Omit<Omit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
27
27
  ref?: ((instance: HTMLDivElement | null) => void | import('react').DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof import('react').DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | import('react').RefObject<HTMLDivElement> | null | undefined;
28
28
  }, keyof import('@mui/system').BoxOwnProps<import('@mui/material').Theme>> & import('@mui/system').MUIStyledCommonProps<import('@mui/material').Theme>, {}, {}>;
@@ -1 +1 @@
1
- {"version":3,"file":"CategoryWidgetUI.styled.d.ts","sourceRoot":"","sources":["../../../../src/widgets/CategoryWidgetUI/CategoryWidgetUI.styled.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,iBAAiB;;qsDAI3B,CAAA;AAEH,eAAO,MAAM,iBAAiB;;;iBAIf,OAAO;WACb,MAAM;iBACA,OAAO;UAyCpB,CAAA;AAEF,eAAO,MAAM,kBAAkB;;qsDAY9B,CAAA;AAED,eAAO,MAAM,WAAW;;qsDAerB,CAAA;AAEH,eAAO,MAAM,oBAAoB;;;kBAEd,OAAO;UAMxB,CAAA;AAEF,eAAO,MAAM,aAAa,kPAGvB,CAAA;AAEH,eAAO,MAAM,YAAY;;2rDAOtB,CAAA;AAEH,eAAO,MAAM,cAAc;;+JAExB,CAAA;AAEH,eAAO,MAAM,YAAY;;geActB,CAAA"}
1
+ {"version":3,"file":"CategoryWidgetUI.styled.d.ts","sourceRoot":"","sources":["../../../../src/widgets/CategoryWidgetUI/CategoryWidgetUI.styled.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,iBAAiB;;qsDAI3B,CAAA;AAEH,eAAO,MAAM,iBAAiB;;;iBAIf,OAAO;WACb,MAAM;iBACA,OAAO;UAyCpB,CAAA;AAEF,eAAO,MAAM,kBAAkB;;qsDAY9B,CAAA;AAED,eAAO,MAAM,WAAW;;qsDAerB,CAAA;AAEH,eAAO,MAAM,oBAAoB;;;kBAEd,OAAO;UAMxB,CAAA;AAEF,eAAO,MAAM,aAAa,kPAGvB,CAAA;AAEH,eAAO,MAAM,YAAY;;iqDAOtB,CAAA;AAEH,eAAO,MAAM,cAAc;;+JAExB,CAAA;AAEH,eAAO,MAAM,YAAY;;geActB,CAAA"}
@@ -1 +1 @@
1
- {"version":3,"file":"ChartLegend.d.ts","sourceRoot":"","sources":["../../../src/widgets/ChartLegend.tsx"],"names":[],"mappings":"AAkEA,MAAM,CAAC,OAAO,UAAU,WAAW,CAAC,EAClC,MAAM,EACN,kBAAkB,EAClB,eAAe,GAChB,EAAE;IACD,MAAM,EAAE;QAAE,IAAI,EAAE,MAAM,CAAC;QAAC,KAAK,EAAE,MAAM,CAAC;QAAC,KAAK,CAAC,EAAE,MAAM,CAAA;KAAE,EAAE,CAAA;IACzD,kBAAkB,EAAE,MAAM,EAAE,CAAA;IAC5B,eAAe,CAAC,EAAE,CAAC,YAAY,EAAE,MAAM,KAAK,IAAI,CAAA;CACjD,2CA+IA"}
1
+ {"version":3,"file":"ChartLegend.d.ts","sourceRoot":"","sources":["../../../src/widgets/ChartLegend.tsx"],"names":[],"mappings":"AAiEA,MAAM,CAAC,OAAO,UAAU,WAAW,CAAC,EAClC,MAAM,EACN,kBAAkB,EAClB,eAAe,GAChB,EAAE;IACD,MAAM,EAAE;QAAE,IAAI,EAAE,MAAM,CAAC;QAAC,KAAK,EAAE,MAAM,CAAC;QAAC,KAAK,CAAC,EAAE,MAAM,CAAA;KAAE,EAAE,CAAA;IACzD,kBAAkB,EAAE,MAAM,EAAE,CAAA;IAC5B,eAAe,CAAC,EAAE,CAAC,YAAY,EAAE,MAAM,KAAK,IAAI,CAAA;CACjD,2CAqJA"}
@@ -1 +1 @@
1
- {"version":3,"file":"ComparativeCategoryWidgetUI.d.ts","sourceRoot":"","sources":["../../../../../src/widgets/comparative/ComparativeCategoryWidgetUI/ComparativeCategoryWidgetUI.tsx"],"names":[],"mappings":"AAaA,OAAO,EAAE,UAAU,EAAwB,MAAM,wBAAwB,CAAA;AACzE,OAAO,EAAE,mBAAmB,EAAE,MAAM,kCAAkC,CAAA;AAGtE,OAAO,EAAE,YAAY,EAAE,MAAM,6CAA6C,CAAA;AAW1E,MAAM,MAAM,gCAAgC,GAAG;IAC7C,KAAK,CAAC,EAAE,MAAM,EAAE,CAAA;IAChB,IAAI,EAAE,YAAY,EAAE,EAAE,CAAA;IACtB,MAAM,CAAC,EAAE,MAAM,EAAE,CAAA;IACjB,MAAM,CAAC,EAAE,MAAM,EAAE,CAAA;IACjB,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB,KAAK,CAAC,EAAE,UAAU,CAAA;IAClB,SAAS,CAAC,EAAE,OAAO,CAAA;IACnB,gBAAgB,CAAC,EAAE,mBAAmB,CAAC,SAAS,CAAC,CAAA;IACjD,UAAU,CAAC,EAAE,OAAO,CAAA;IACpB,UAAU,CAAC,EAAE,OAAO,CAAA;IACpB,kBAAkB,CAAC,EAAE,MAAM,EAAE,CAAA;IAC7B,0BAA0B,CAAC,EAAE,CAAC,UAAU,EAAE,MAAM,EAAE,KAAK,IAAI,CAAA;IAC3D,SAAS,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,KAAK,CAAC,SAAS,CAAA;IAC9C,gBAAgB,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,KAAK,CAAC,SAAS,CAAA;IACrD,OAAO,CAAC,EAAE,OAAO,CAAA;IACjB,SAAS,CAAC,EAAE,OAAO,CAAA;CACpB,CAAA;AAED,MAAM,CAAC,OAAO,UAAU,2BAA2B,CAAC,EAClD,KAA+B,EAC/B,IAAsC,EACtC,MAAgC,EAChC,MAAgC,EAChC,QAAY,EACZ,KAAwB,EACxB,SAAgB,EAChB,gBAAgB,EAChB,UAAiB,EACjB,UAAiB,EACjB,kBAA4C,EAC5C,0BAAqC,EACrC,SAAyD,EACzD,gBAAgE,EAChE,OAAc,EACd,SAAiB,GAClB,EAAE,gCAAgC,2CAwSlC"}
1
+ {"version":3,"file":"ComparativeCategoryWidgetUI.d.ts","sourceRoot":"","sources":["../../../../../src/widgets/comparative/ComparativeCategoryWidgetUI/ComparativeCategoryWidgetUI.tsx"],"names":[],"mappings":"AAoBA,OAAO,EAA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AwSlC"}
@@ -4,12 +4,12 @@ const jsxRuntime = require("react/jsx-runtime");
4
4
  const React = require("react");
5
5
  const material = require("@mui/material");
6
6
  const reactIntl = require("react-intl");
7
- const TablePaginationActions = require("../TablePaginationActions-CAmwcyTy.cjs");
7
+ const TablePaginationActions = require("../TablePaginationActions-CFGXm44W.cjs");
8
8
  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-zqtoWsBL.cjs");
13
13
  const paletteUtils = require("../paletteUtils-B9ybmwiI.cjs");
14
14
  function detectTouchscreen() {
15
15
  let result = false;
@@ -2171,29 +2171,37 @@ function ChartLegend({
2171
2171
  (overflowing || offset > 0) && /* @__PURE__ */ jsxRuntime.jsxs(ShowMoreButtons, { ref: showMoreButtonsRef, children: [
2172
2172
  /* @__PURE__ */ jsxRuntime.jsx(OverflowVeil, {}),
2173
2173
  /* @__PURE__ */ jsxRuntime.jsx(
2174
- Alert.IconButton,
2174
+ material.Tooltip,
2175
2175
  {
2176
- icon: /* @__PURE__ */ jsxRuntime.jsx(iconsMaterial.ChevronLeft, {}),
2177
- component: "span",
2178
- size: "small",
2179
- disabled: offset === 0,
2180
- onClick: handleClickLeft,
2181
- tooltip: intlConfig.formatMessage({
2182
- id: "c4r.widgets.chartLegend.prev"
2183
- })
2176
+ title: intlConfig.formatMessage({
2177
+ id: "c4r.widgets.chartLegend.next"
2178
+ }),
2179
+ children: /* @__PURE__ */ jsxRuntime.jsx(
2180
+ material.IconButton,
2181
+ {
2182
+ size: "small",
2183
+ disabled: offset === 0,
2184
+ onClick: handleClickLeft,
2185
+ children: /* @__PURE__ */ jsxRuntime.jsx(iconsMaterial.ChevronLeft, {})
2186
+ }
2187
+ )
2184
2188
  }
2185
2189
  ),
2186
2190
  /* @__PURE__ */ jsxRuntime.jsx(
2187
- Alert.IconButton,
2191
+ material.Tooltip,
2188
2192
  {
2189
- icon: /* @__PURE__ */ jsxRuntime.jsx(iconsMaterial.ChevronRight, {}),
2190
- component: "span",
2191
- size: "small",
2192
- disabled: !overflowing,
2193
- onClick: handleClickRight,
2194
- tooltip: intlConfig.formatMessage({
2195
- id: "c4r.widgets.chartLegend.next"
2196
- })
2193
+ title: intlConfig.formatMessage({
2194
+ id: "c4r.widgets.chartLegend.prev"
2195
+ }),
2196
+ children: /* @__PURE__ */ jsxRuntime.jsx(
2197
+ material.IconButton,
2198
+ {
2199
+ size: "small",
2200
+ disabled: !overflowing,
2201
+ onClick: handleClickRight,
2202
+ children: /* @__PURE__ */ jsxRuntime.jsx(iconsMaterial.ChevronRight, {})
2203
+ }
2204
+ )
2197
2205
  }
2198
2206
  )
2199
2207
  ] })
@@ -5267,7 +5275,7 @@ function ComparativeCategoryWidgetUI({
5267
5275
  { id: "c4r.widgets.category.selectedItems" },
5268
5276
  { items: selectedCategories.length }
5269
5277
  ) : intlConfig.formatMessage({ id: "c4r.widgets.category.all" }) }),
5270
- /* @__PURE__ */ jsxRuntime.jsx(TablePaginationActions.Typography, { variant: "caption", component: "div", children: searchActive ? /* @__PURE__ */ jsxRuntime.jsx(Alert.Link, { onClick: applyTempSelection, children: intlConfig.formatMessage({ id: "c4r.widgets.category.apply" }) }) : blockingActive ? /* @__PURE__ */ jsxRuntime.jsx(Alert.Link, { onClick: disableBlocking, children: intlConfig.formatMessage({
5278
+ /* @__PURE__ */ jsxRuntime.jsx(TablePaginationActions.Typography, { variant: "caption", component: "div", children: searchActive ? /* @__PURE__ */ jsxRuntime.jsx(material.Link, { onClick: applyTempSelection, children: intlConfig.formatMessage({ id: "c4r.widgets.category.apply" }) }) : blockingActive ? /* @__PURE__ */ jsxRuntime.jsx(material.Link, { onClick: disableBlocking, children: intlConfig.formatMessage({
5271
5279
  id: "c4r.widgets.category.unlock"
5272
5280
  }) }) : selectedCategories.length ? /* @__PURE__ */ jsxRuntime.jsxs(
5273
5281
  material.Box,
@@ -5278,11 +5286,11 @@ function ComparativeCategoryWidgetUI({
5278
5286
  gap: theme.spacing(1)
5279
5287
  },
5280
5288
  children: [
5281
- /* @__PURE__ */ jsxRuntime.jsx(Alert.Link, { onClick: enableBlocking, children: intlConfig.formatMessage({
5289
+ /* @__PURE__ */ jsxRuntime.jsx(material.Link, { onClick: enableBlocking, children: intlConfig.formatMessage({
5282
5290
  id: "c4r.widgets.category.lock"
5283
5291
  }) }),
5284
5292
  /* @__PURE__ */ jsxRuntime.jsx(material.Divider, { orientation: "vertical", flexItem: true }),
5285
- /* @__PURE__ */ jsxRuntime.jsx(Alert.Link, { onClick: clearSelection, children: intlConfig.formatMessage({
5293
+ /* @__PURE__ */ jsxRuntime.jsx(material.Link, { onClick: clearSelection, children: intlConfig.formatMessage({
5286
5294
  id: "c4r.widgets.category.clear"
5287
5295
  }) })
5288
5296
  ]
@@ -1,13 +1,13 @@
1
1
  import { jsxs, Fragment, jsx } from "react/jsx-runtime";
2
2
  import React, { useMemo, useState, useEffect, useCallback, useRef, forwardRef, createContext, useContext, useLayoutEffect, createRef } from "react";
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";
3
+ import { useTheme, styled, Box, Skeleton, Grid, Link, darken, Button, Divider, TextField, InputAdornment, Checkbox, Tooltip, IconButton, debounce, Slider, TableCell, Table, TableHead, TableRow, TableBody, TableContainer, TableSortLabel, TablePagination, 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-CETC14v2.js";
10
+ import { A as Alert } from "../Alert-D8jI1sG4.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;
@@ -2169,29 +2169,37 @@ function ChartLegend({
2169
2169
  (overflowing || offset > 0) && /* @__PURE__ */ jsxs(ShowMoreButtons, { ref: showMoreButtonsRef, children: [
2170
2170
  /* @__PURE__ */ jsx(OverflowVeil, {}),
2171
2171
  /* @__PURE__ */ jsx(
2172
- IconButton,
2172
+ Tooltip,
2173
2173
  {
2174
- icon: /* @__PURE__ */ jsx(ChevronLeft, {}),
2175
- component: "span",
2176
- size: "small",
2177
- disabled: offset === 0,
2178
- onClick: handleClickLeft,
2179
- tooltip: intlConfig.formatMessage({
2180
- id: "c4r.widgets.chartLegend.prev"
2181
- })
2174
+ title: intlConfig.formatMessage({
2175
+ id: "c4r.widgets.chartLegend.next"
2176
+ }),
2177
+ children: /* @__PURE__ */ jsx(
2178
+ IconButton,
2179
+ {
2180
+ size: "small",
2181
+ disabled: offset === 0,
2182
+ onClick: handleClickLeft,
2183
+ children: /* @__PURE__ */ jsx(ChevronLeft, {})
2184
+ }
2185
+ )
2182
2186
  }
2183
2187
  ),
2184
2188
  /* @__PURE__ */ jsx(
2185
- IconButton,
2189
+ Tooltip,
2186
2190
  {
2187
- icon: /* @__PURE__ */ jsx(ChevronRight, {}),
2188
- component: "span",
2189
- size: "small",
2190
- disabled: !overflowing,
2191
- onClick: handleClickRight,
2192
- tooltip: intlConfig.formatMessage({
2193
- id: "c4r.widgets.chartLegend.next"
2194
- })
2191
+ title: intlConfig.formatMessage({
2192
+ id: "c4r.widgets.chartLegend.prev"
2193
+ }),
2194
+ children: /* @__PURE__ */ jsx(
2195
+ IconButton,
2196
+ {
2197
+ size: "small",
2198
+ disabled: !overflowing,
2199
+ onClick: handleClickRight,
2200
+ children: /* @__PURE__ */ jsx(ChevronRight, {})
2201
+ }
2202
+ )
2195
2203
  }
2196
2204
  )
2197
2205
  ] })
@@ -4221,7 +4229,7 @@ function TimeSeriesControls({
4221
4229
  };
4222
4230
  return /* @__PURE__ */ jsxs(Fragment, { children: [
4223
4231
  /* @__PURE__ */ jsx(
4224
- IconButton$1,
4232
+ IconButton,
4225
4233
  {
4226
4234
  size: "small",
4227
4235
  color: "default",
@@ -4255,7 +4263,7 @@ function TimeSeriesControls({
4255
4263
  }
4256
4264
  ),
4257
4265
  /* @__PURE__ */ jsx(Box, { mt: 2, children: /* @__PURE__ */ jsx(
4258
- IconButton$1,
4266
+ IconButton,
4259
4267
  {
4260
4268
  size: "small",
4261
4269
  color: "primary",
@@ -4266,7 +4274,7 @@ function TimeSeriesControls({
4266
4274
  }
4267
4275
  ) }),
4268
4276
  /* @__PURE__ */ jsx(Box, { mt: 0.75, children: /* @__PURE__ */ jsx(
4269
- IconButton$1,
4277
+ IconButton,
4270
4278
  {
4271
4279
  "data-testid": "play-pause",
4272
4280
  size: "small",
@@ -5265,7 +5273,7 @@ function ComparativeCategoryWidgetUI({
5265
5273
  { id: "c4r.widgets.category.selectedItems" },
5266
5274
  { items: selectedCategories.length }
5267
5275
  ) : intlConfig.formatMessage({ id: "c4r.widgets.category.all" }) }),
5268
- /* @__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({
5276
+ /* @__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({
5269
5277
  id: "c4r.widgets.category.unlock"
5270
5278
  }) }) : selectedCategories.length ? /* @__PURE__ */ jsxs(
5271
5279
  Box,
@@ -5276,11 +5284,11 @@ function ComparativeCategoryWidgetUI({
5276
5284
  gap: theme.spacing(1)
5277
5285
  },
5278
5286
  children: [
5279
- /* @__PURE__ */ jsx(Link$1, { onClick: enableBlocking, children: intlConfig.formatMessage({
5287
+ /* @__PURE__ */ jsx(Link, { onClick: enableBlocking, children: intlConfig.formatMessage({
5280
5288
  id: "c4r.widgets.category.lock"
5281
5289
  }) }),
5282
5290
  /* @__PURE__ */ jsx(Divider, { orientation: "vertical", flexItem: true }),
5283
- /* @__PURE__ */ jsx(Link$1, { onClick: clearSelection, children: intlConfig.formatMessage({
5291
+ /* @__PURE__ */ jsx(Link, { onClick: clearSelection, children: intlConfig.formatMessage({
5284
5292
  id: "c4r.widgets.category.clear"
5285
5293
  }) })
5286
5294
  ]
@@ -5722,7 +5730,7 @@ function FeatureSelectionUIToggleButton({
5722
5730
  }
5723
5731
  ) });
5724
5732
  }
5725
- const ArrowButton = styled(IconButton$1, {
5733
+ const ArrowButton = styled(IconButton, {
5726
5734
  shouldForwardProp: (prop) => prop !== "isOpen"
5727
5735
  })(({ isOpen, theme }) => ({
5728
5736
  color: theme.palette.text.secondary,
@@ -6153,7 +6161,7 @@ function LegendOpacityControl({
6153
6161
  {
6154
6162
  title: intlConfig.formatMessage({ id: "c4r.widgets.legend.opacity" }),
6155
6163
  children: /* @__PURE__ */ jsx(
6156
- IconButton$1,
6164
+ IconButton,
6157
6165
  {
6158
6166
  size: "small",
6159
6167
  color: open ? "primary" : "default",
@@ -6734,7 +6742,7 @@ function LegendLayer({
6734
6742
  return /* @__PURE__ */ jsxs(LegendLayerWrapper, { "data-testid": "legend-layer", "aria-label": title, children: [
6735
6743
  /* @__PURE__ */ jsxs(LegendItemHeader, { ref: menuAnchorRef, children: [
6736
6744
  collapsible && /* @__PURE__ */ jsx(
6737
- IconButton$1,
6745
+ IconButton,
6738
6746
  {
6739
6747
  size: "small",
6740
6748
  "aria-label": intlConfig.formatMessage({
@@ -6790,7 +6798,7 @@ function LegendLayer({
6790
6798
  id: visible ? "c4r.widgets.legend.hideLayer" : "c4r.widgets.legend.showLayer"
6791
6799
  }),
6792
6800
  children: /* @__PURE__ */ jsx(
6793
- IconButton$1,
6801
+ IconButton,
6794
6802
  {
6795
6803
  size: "small",
6796
6804
  onClick: () => onChangeVisibility({
@@ -6880,7 +6888,7 @@ function LegendWidgetUI({
6880
6888
  Tooltip,
6881
6889
  {
6882
6890
  title: intlConfig.formatMessage({ id: "c4r.widgets.legend.close" }),
6883
- children: /* @__PURE__ */ jsx(IconButton$1, { size: "small", onClick: () => onChangeCollapsed(true), children: /* @__PURE__ */ jsx(Close, {}) })
6891
+ children: /* @__PURE__ */ jsx(IconButton, { size: "small", onClick: () => onChangeCollapsed(true), children: /* @__PURE__ */ jsx(Close, {}) })
6884
6892
  }
6885
6893
  )
6886
6894
  ] });
@@ -6888,7 +6896,7 @@ function LegendWidgetUI({
6888
6896
  Tooltip,
6889
6897
  {
6890
6898
  title: intlConfig.formatMessage({ id: "c4r.widgets.legend.open" }),
6891
- children: /* @__PURE__ */ jsx(IconButton$1, { "aria-label": title, onClick: () => onChangeCollapsed(false), children: /* @__PURE__ */ jsx(LayersOutlined, {}) })
6899
+ children: /* @__PURE__ */ jsx(IconButton, { "aria-label": title, onClick: () => onChangeCollapsed(false), children: /* @__PURE__ */ jsx(LayersOutlined, {}) })
6892
6900
  }
6893
6901
  );
6894
6902
  return /* @__PURE__ */ jsx(LegendRoot, { sx, elevation: 3, collapsed: collapsed || !!isMobile, children: isMobile ? /* @__PURE__ */ jsxs(Fragment, { children: [
@@ -7043,7 +7051,7 @@ const HeaderItems = styled(Grid)(({ theme }) => ({
7043
7051
  marginRight: theme.spacing(-0.5),
7044
7052
  marginLeft: theme.spacing(1)
7045
7053
  }));
7046
- const IconActionButton = styled(IconButton$1)(({ theme }) => ({
7054
+ const IconActionButton = styled(IconButton)(({ theme }) => ({
7047
7055
  color: theme.palette.text.secondary
7048
7056
  }));
7049
7057
  const PaperMenu = styled(Menu)(({ theme }) => ({
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",
4
4
  "description": "CARTO Meridian Design System",
5
5
  "type": "module",
6
6
  "scripts": {
@@ -1,21 +0,0 @@
1
- declare const ExternalLink: import('react').ForwardRefExoticComponent<(Omit<import('@mui/material/Link').LinkOwnProps & import('@mui/material/OverridableComponent').CommonProps & Omit<Omit<import('react').DetailedHTMLProps<import('react').AnchorHTMLAttributes<HTMLAnchorElement>, HTMLAnchorElement>, "ref"> & {
2
- ref?: ((instance: HTMLAnchorElement | null) => void | import('react').DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof import('react').DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | import('react').RefObject<HTMLAnchorElement> | null | undefined;
3
- }, "p" | "style" | "className" | "classes" | "border" | "borderTop" | "borderRight" | "borderBottom" | "borderLeft" | "borderColor" | "borderRadius" | "display" | "displayPrint" | "overflow" | "textOverflow" | "visibility" | "whiteSpace" | "flexBasis" | "flexDirection" | "flexWrap" | "justifyContent" | "alignItems" | "alignContent" | "order" | "flex" | "flexGrow" | "flexShrink" | "alignSelf" | "justifyItems" | "justifySelf" | "gap" | "columnGap" | "rowGap" | "gridColumn" | "gridRow" | "gridAutoFlow" | "gridAutoColumns" | "gridAutoRows" | "gridTemplateColumns" | "gridTemplateRows" | "gridTemplateAreas" | "gridArea" | "bgcolor" | "color" | "zIndex" | "position" | "top" | "right" | "bottom" | "left" | "boxShadow" | "width" | "maxWidth" | "minWidth" | "height" | "maxHeight" | "minHeight" | "boxSizing" | "m" | "mt" | "mr" | "mb" | "ml" | "mx" | "my" | "pt" | "pr" | "pb" | "pl" | "px" | "py" | "margin" | "marginTop" | "marginRight" | "marginBottom" | "marginLeft" | "marginX" | "marginY" | "marginInline" | "marginInlineStart" | "marginInlineEnd" | "marginBlock" | "marginBlockStart" | "marginBlockEnd" | "padding" | "paddingTop" | "paddingRight" | "paddingBottom" | "paddingLeft" | "paddingX" | "paddingY" | "paddingInline" | "paddingInlineStart" | "paddingInlineEnd" | "paddingBlock" | "paddingBlockStart" | "paddingBlockEnd" | "typography" | "fontFamily" | "fontSize" | "fontStyle" | "fontWeight" | "letterSpacing" | "lineHeight" | "textAlign" | "textTransform" | "align" | "children" | "gutterBottom" | "noWrap" | "paragraph" | "sx" | "variant" | "variantMapping" | "underline" | "endIcon" | "startIcon" | "TypographyClasses"> & {
4
- component?: import('react').ElementType;
5
- } & {
6
- showIcon?: boolean;
7
- useButton?: boolean;
8
- icon?: JSX.Element;
9
- }, "ref"> | Omit<{
10
- target?: string;
11
- loading?: boolean;
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"> & {
14
- component?: import('react').ElementType;
15
- } & {
16
- showIcon?: boolean;
17
- useButton?: boolean;
18
- icon?: JSX.Element;
19
- }, "ref">) & import('react').RefAttributes<HTMLAnchorElement | HTMLButtonElement>>;
20
- export default ExternalLink;
21
- //# sourceMappingURL=ExternalLink.d.ts.map
@@ -1 +0,0 @@
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,4 +0,0 @@
1
- import { LinkProps } from '@mui/material';
2
- declare const Link: import('react').ForwardRefExoticComponent<Omit<LinkProps, "ref"> & import('react').RefAttributes<HTMLAnchorElement>>;
3
- export default Link;
4
- //# sourceMappingURL=Link.d.ts.map
@@ -1 +0,0 @@
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"}