@carto/meridian-ds 2.1.0 → 2.1.1-alpha-copiable-input-text.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 (40) hide show
  1. package/CHANGELOG.md +7 -1
  2. package/dist/{Alert-yL5uEg4Z.js → Link-D5fKicEY.js} +129 -129
  3. package/dist/{Alert-oGAW_syG.cjs → Link-_lzRY1Ay.cjs} +129 -129
  4. package/dist/{MenuItem-CyIdh2wX.cjs → MenuItem-BY6fuF5U.cjs} +1 -1
  5. package/dist/{MenuItem-C8x-GasJ.js → MenuItem-CKrhDizf.js} +1 -1
  6. package/dist/{TablePaginationActions-BWer8cmX.js → TablePaginationActions-CCDi-BO-.js} +6 -6
  7. package/dist/{TablePaginationActions-MwqZJoRm.cjs → TablePaginationActions-D2K26kdR.cjs} +6 -6
  8. package/dist/components/index.cjs +861 -741
  9. package/dist/components/index.js +828 -708
  10. package/dist/theme/index.cjs +2 -2
  11. package/dist/theme/index.js +3 -3
  12. package/dist/types/components/atoms/Copy/CopiableComponent.d.ts +4 -0
  13. package/dist/types/components/atoms/Copy/CopiableComponent.d.ts.map +1 -0
  14. package/dist/types/components/atoms/Copy/CopiableInputText.d.ts +18 -0
  15. package/dist/types/components/atoms/Copy/CopiableInputText.d.ts.map +1 -0
  16. package/dist/types/components/atoms/Copy/copyString.d.ts.map +1 -0
  17. package/dist/types/components/{molecules → atoms}/Copy/index.d.ts +2 -1
  18. package/dist/types/components/atoms/Copy/index.d.ts.map +1 -0
  19. package/dist/types/components/{molecules/Copy/CopiableComponent.d.ts → atoms/Copy/types.d.ts} +11 -5
  20. package/dist/types/components/atoms/Copy/types.d.ts.map +1 -0
  21. package/dist/types/components/atoms/Copy/useCopyValue.d.ts.map +1 -0
  22. package/dist/types/components/atoms/index.d.ts +2 -0
  23. package/dist/types/components/atoms/index.d.ts.map +1 -1
  24. package/dist/types/components/molecules/MultipleSelectField/useMultipleSelectField.d.ts.map +1 -1
  25. package/dist/types/components/molecules/index.d.ts +0 -2
  26. package/dist/types/components/molecules/index.d.ts.map +1 -1
  27. package/dist/types/components/organisms/CodeArea/CodeAreaHeader.d.ts.map +1 -1
  28. package/dist/types/localization/en.d.ts +2 -2
  29. package/dist/types/localization/es.d.ts +2 -2
  30. package/dist/types/localization/id.d.ts +2 -2
  31. package/dist/types/localization/index.d.ts +6 -6
  32. package/dist/widgets/index.cjs +8 -8
  33. package/dist/widgets/index.js +2 -2
  34. package/package.json +1 -1
  35. package/dist/types/components/molecules/Copy/CopiableComponent.d.ts.map +0 -1
  36. package/dist/types/components/molecules/Copy/copyString.d.ts.map +0 -1
  37. package/dist/types/components/molecules/Copy/index.d.ts.map +0 -1
  38. package/dist/types/components/molecules/Copy/useCopyValue.d.ts.map +0 -1
  39. /package/dist/types/components/{molecules → atoms}/Copy/copyString.d.ts +0 -0
  40. /package/dist/types/components/{molecules → atoms}/Copy/useCopyValue.d.ts +0 -0
@@ -3,11 +3,11 @@ 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-MwqZJoRm.cjs");
6
+ const TablePaginationActions = require("../TablePaginationActions-D2K26kdR.cjs");
7
7
  const iconsMaterial = require("@mui/icons-material");
8
8
  const ArrowDown = require("../ArrowDown-DJ0vhbsw.cjs");
9
9
  const xDatePickers = require("@mui/x-date-pickers");
10
- const MenuItem = require("../MenuItem-CyIdh2wX.cjs");
10
+ const MenuItem = require("../MenuItem-BY6fuF5U.cjs");
11
11
  const paletteUtils = require("../paletteUtils-B9ybmwiI.cjs");
12
12
  const tooltipArrowSize = 1;
13
13
  const tooltipSeparation = 0.5;
@@ -1,12 +1,12 @@
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, M as MENU_ITEM_SIZE_DEFAULT, d as MENU_LIST_MAX_SIZE, e as MENU_ITEM_SIZE_DENSE, A as APPBAR_SIZE, B as BREAKPOINTS, S as SPACING } from "../TablePaginationActions-BWer8cmX.js";
5
- import { f, N } from "../TablePaginationActions-BWer8cmX.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, M as MENU_ITEM_SIZE_DEFAULT, d as MENU_LIST_MAX_SIZE, e as MENU_ITEM_SIZE_DENSE, A as APPBAR_SIZE, B as BREAKPOINTS, S as SPACING } from "../TablePaginationActions-CCDi-BO-.js";
5
+ import { f, N } from "../TablePaginationActions-CCDi-BO-.js";
6
6
  import { Cancel, EventOutlined, ChevronRightOutlined, ChevronLeftOutlined, ExpandMoreOutlined, CheckCircleOutlined } from "@mui/icons-material";
7
7
  import { A as ArrowDown } from "../ArrowDown-d6bxUL0F.js";
8
8
  import { renderDigitalClockTimeView } from "@mui/x-date-pickers";
9
- import { M as MenuItem } from "../MenuItem-C8x-GasJ.js";
9
+ import { M as MenuItem } from "../MenuItem-CKrhDizf.js";
10
10
  import { c as commonPalette } from "../paletteUtils-BHqJlHm9.js";
11
11
  import { g } from "../paletteUtils-BHqJlHm9.js";
12
12
  const tooltipArrowSize = 1;
@@ -0,0 +1,4 @@
1
+ import { CopiableComponentProps } from '..';
2
+ declare const CopiableComponent: import('react').ForwardRefExoticComponent<CopiableComponentProps & import('react').RefAttributes<HTMLDivElement>>;
3
+ export default CopiableComponent;
4
+ //# sourceMappingURL=CopiableComponent.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"CopiableComponent.d.ts","sourceRoot":"","sources":["../../../../../src/components/atoms/Copy/CopiableComponent.tsx"],"names":[],"mappings":"AAMA,OAAO,EACL,sBAAsB,EAGvB,MAAM,oBAAoB,CAAA;AAwF3B,QAAA,MAAM,iBAAiB,mHAAiC,CAAA;AACxD,eAAe,iBAAiB,CAAA"}
@@ -0,0 +1,18 @@
1
+ declare const CopiableInputText: import('react').ForwardRefExoticComponent<(Omit<import('@mui/material').FilledTextFieldProps & {
2
+ value: string;
3
+ extraEndAdornment?: React.ReactNode;
4
+ onCopied?: () => void;
5
+ password?: boolean;
6
+ }, "ref"> | Omit<import('@mui/material').OutlinedTextFieldProps & {
7
+ value: string;
8
+ extraEndAdornment?: React.ReactNode;
9
+ onCopied?: () => void;
10
+ password?: boolean;
11
+ }, "ref"> | Omit<import('@mui/material').StandardTextFieldProps & {
12
+ value: string;
13
+ extraEndAdornment?: React.ReactNode;
14
+ onCopied?: () => void;
15
+ password?: boolean;
16
+ }, "ref">) & import('react').RefAttributes<HTMLDivElement>>;
17
+ export default CopiableInputText;
18
+ //# sourceMappingURL=CopiableInputText.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"CopiableInputText.d.ts","sourceRoot":"","sources":["../../../../../src/components/atoms/Copy/CopiableInputText.tsx"],"names":[],"mappings":"AAoJA,QAAA,MAAM,iBAAiB;;8BA9Hc,SAAS;;;;;8BAAT,SAAS;;;;;8BAAT,SAAS;;;2DA8HU,CAAA;AACxD,eAAe,iBAAiB,CAAA"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"copyString.d.ts","sourceRoot":"","sources":["../../../../../src/components/atoms/Copy/copyString.tsx"],"names":[],"mappings":"AAAA,iBAAe,UAAU,CAAC,KAAK,EAAE,MAAM,iBAEtC;AAED,eAAe,UAAU,CAAA"}
@@ -1,5 +1,6 @@
1
1
  export { default as CopiableComponent } from './CopiableComponent';
2
+ export { default as CopiableInputText } from './CopiableInputText';
2
3
  export { default as copyString } from './copyString';
3
4
  export { useCopyValue } from './useCopyValue';
4
- export type * from './CopiableComponent';
5
+ export type * from './types';
5
6
  //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/atoms/Copy/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,iBAAiB,EAAE,MAAM,qBAAqB,CAAA;AAClE,OAAO,EAAE,OAAO,IAAI,iBAAiB,EAAE,MAAM,qBAAqB,CAAA;AAClE,OAAO,EAAE,OAAO,IAAI,UAAU,EAAE,MAAM,cAAc,CAAA;AACpD,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAA;AAE7C,mBAAmB,SAAS,CAAA"}
@@ -1,12 +1,14 @@
1
1
  import { ReactNode } from 'react';
2
- import { TooltipProps } from '@mui/material';
3
- import { IconButtonProps } from '../../atoms';
2
+ import { TextFieldProps, TooltipProps } from '@mui/material';
3
+ import { IconButtonProps } from '..';
4
4
  export interface CopiableComponentProps {
5
5
  children?: ReactNode;
6
6
  disabled?: boolean;
7
7
  value: string;
8
8
  onCopied?: () => void;
9
+ /** Copy button tooltip text */
9
10
  copyText?: string;
11
+ /** Success message text */
10
12
  copiedText?: string;
11
13
  button?: boolean;
12
14
  buttonLabel?: string;
@@ -15,6 +17,10 @@ export interface CopiableComponentProps {
15
17
  dataTestId?: string;
16
18
  tooltipPlacement?: TooltipProps['placement'];
17
19
  }
18
- declare const CopiableComponent: import('react').ForwardRefExoticComponent<CopiableComponentProps & import('react').RefAttributes<HTMLDivElement>>;
19
- export default CopiableComponent;
20
- //# sourceMappingURL=CopiableComponent.d.ts.map
20
+ export type CopiableInputTextProps = TextFieldProps & {
21
+ value: string;
22
+ extraEndAdornment?: React.ReactNode;
23
+ onCopied?: () => void;
24
+ password?: boolean;
25
+ };
26
+ //# sourceMappingURL=types.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../src/components/atoms/Copy/types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,OAAO,CAAA;AACjC,OAAO,EAAE,cAAc,EAAE,YAAY,EAAE,MAAM,eAAe,CAAA;AAE5D,OAAO,EAAE,eAAe,EAAE,MAAM,oBAAoB,CAAA;AAEpD,MAAM,WAAW,sBAAsB;IACrC,QAAQ,CAAC,EAAE,SAAS,CAAA;IACpB,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,KAAK,EAAE,MAAM,CAAA;IACb,QAAQ,CAAC,EAAE,MAAM,IAAI,CAAA;IACrB,+BAA+B;IAC/B,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB,2BAA2B;IAC3B,UAAU,CAAC,EAAE,MAAM,CAAA;IACnB,MAAM,CAAC,EAAE,OAAO,CAAA;IAChB,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,WAAW,CAAC,EAAE,IAAI,CAAC,eAAe,EAAE,MAAM,CAAC,CAAA;IAC3C,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,UAAU,CAAC,EAAE,MAAM,CAAA;IACnB,gBAAgB,CAAC,EAAE,YAAY,CAAC,WAAW,CAAC,CAAA;CAC7C;AAED,MAAM,MAAM,sBAAsB,GAAG,cAAc,GAAG;IACpD,KAAK,EAAE,MAAM,CAAA;IACb,iBAAiB,CAAC,EAAE,KAAK,CAAC,SAAS,CAAA;IACnC,QAAQ,CAAC,EAAE,MAAM,IAAI,CAAA;IACrB,QAAQ,CAAC,EAAE,OAAO,CAAA;CACnB,CAAA"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"useCopyValue.d.ts","sourceRoot":"","sources":["../../../../../src/components/atoms/Copy/useCopyValue.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,YAAY;;iBAMG,MAAM;CAUjC,CAAA"}
@@ -1,3 +1,4 @@
1
+ export * from './Copy';
1
2
  export { default as Button } from './Button';
2
3
  export { default as SplitButton } from './SplitButton';
3
4
  export { default as LabelWithIndicator } from './LabelWithIndicator';
@@ -16,5 +17,6 @@ export type * from './SelectField';
16
17
  export type * from './ToggleButtonGroup';
17
18
  export type * from './Typography';
18
19
  export type * from './IconButton';
20
+ export type * from './Copy';
19
21
  export type * from './Link';
20
22
  //# 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,WAAW,EAAE,MAAM,eAAe,CAAA;AACtD,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,IAAI,EAAE,MAAM,QAAQ,CAAA;AACxC,OAAO,EAAE,OAAO,IAAI,gBAAgB,EAAE,MAAM,oBAAoB,CAAA;AAEhE,mBAAmB,UAAU,CAAA;AAC7B,mBAAmB,eAAe,CAAA;AAClC,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,QAAQ,CAAA"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/atoms/index.ts"],"names":[],"mappings":"AAAA,cAAc,QAAQ,CAAA;AACtB,OAAO,EAAE,OAAO,IAAI,MAAM,EAAE,MAAM,UAAU,CAAA;AAC5C,OAAO,EAAE,OAAO,IAAI,WAAW,EAAE,MAAM,eAAe,CAAA;AACtD,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,IAAI,EAAE,MAAM,QAAQ,CAAA;AACxC,OAAO,EAAE,OAAO,IAAI,gBAAgB,EAAE,MAAM,oBAAoB,CAAA;AAEhE,mBAAmB,UAAU,CAAA;AAC7B,mBAAmB,eAAe,CAAA;AAClC,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,QAAQ,CAAA;AAC3B,mBAAmB,QAAQ,CAAA"}
@@ -1 +1 @@
1
- {"version":3,"file":"useMultipleSelectField.d.ts","sourceRoot":"","sources":["../../../../../src/components/molecules/MultipleSelectField/useMultipleSelectField.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,eAAe,CAAA;AACtD,OAAO,KAAK,EACV,yBAAyB,EACzB,wBAAwB,EACzB,MAAM,uBAAuB,CAAA;AAE9B,MAAM,CAAC,OAAO,UAAU,sBAAsB,CAAC,EAC7C,eAAe,EACf,OAAO,EACP,QAAQ,GACT,EAAE,IAAI,CACL,QAAQ,CAAC,wBAAwB,CAAC,EAClC,iBAAiB,GAAG,SAAS,GAAG,UAAU,CAC3C;;;;0BAeU,iBAAiB,CAAC,yBAAyB,CAAC,OAAO,CAAC,EAAE,CAAC;;;EA+CjE"}
1
+ {"version":3,"file":"useMultipleSelectField.d.ts","sourceRoot":"","sources":["../../../../../src/components/molecules/MultipleSelectField/useMultipleSelectField.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,eAAe,CAAA;AACtD,OAAO,KAAK,EACV,yBAAyB,EACzB,wBAAwB,EACzB,MAAM,uBAAuB,CAAA;AAE9B,MAAM,CAAC,OAAO,UAAU,sBAAsB,CAAC,EAC7C,eAAe,EACf,OAAO,EACP,QAAQ,GACT,EAAE,IAAI,CACL,QAAQ,CAAC,wBAAwB,CAAC,EAClC,iBAAiB,GAAG,SAAS,GAAG,UAAU,CAC3C;;;;0BA4BU,iBAAiB,CAAC,yBAAyB,CAAC,OAAO,CAAC,EAAE,CAAC;;;EAsDjE"}
@@ -3,7 +3,6 @@ export * from './MultipleSelectField';
3
3
  export * from './Table';
4
4
  export * from './UploadField';
5
5
  export * from './Autocomplete';
6
- export * from './Copy';
7
6
  export { default as AccordionGroup } from './AccordionGroup';
8
7
  export { default as Alert } from './Alert';
9
8
  export { default as Avatar } from './Avatar';
@@ -18,6 +17,5 @@ export type * from './Alert';
18
17
  export type * from './Autocomplete/types';
19
18
  export type * from './Avatar';
20
19
  export type * from './Snackbar';
21
- export type * from './Copy';
22
20
  export type * from './Tag';
23
21
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/molecules/index.ts"],"names":[],"mappings":"AAAA,cAAc,QAAQ,CAAA;AACtB,cAAc,uBAAuB,CAAA;AACrC,cAAc,SAAS,CAAA;AACvB,cAAc,eAAe,CAAA;AAC7B,cAAc,gBAAgB,CAAA;AAC9B,cAAc,QAAQ,CAAA;AACtB,OAAO,EAAE,OAAO,IAAI,cAAc,EAAE,MAAM,kBAAkB,CAAA;AAC5D,OAAO,EAAE,OAAO,IAAI,KAAK,EAAE,MAAM,SAAS,CAAA;AAC1C,OAAO,EAAE,OAAO,IAAI,MAAM,EAAE,MAAM,UAAU,CAAA;AAC5C,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,MAAM,YAAY,CAAA;AAChD,OAAO,EAAE,OAAO,IAAI,GAAG,EAAE,MAAM,OAAO,CAAA;AAEtC,mBAAmB,QAAQ,CAAA;AAC3B,mBAAmB,uBAAuB,CAAA;AAC1C,mBAAmB,SAAS,CAAA;AAC5B,mBAAmB,eAAe,CAAA;AAClC,mBAAmB,kBAAkB,CAAA;AACrC,mBAAmB,SAAS,CAAA;AAC5B,mBAAmB,sBAAsB,CAAA;AACzC,mBAAmB,UAAU,CAAA;AAC7B,mBAAmB,YAAY,CAAA;AAC/B,mBAAmB,QAAQ,CAAA;AAC3B,mBAAmB,OAAO,CAAA"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/molecules/index.ts"],"names":[],"mappings":"AAAA,cAAc,QAAQ,CAAA;AACtB,cAAc,uBAAuB,CAAA;AACrC,cAAc,SAAS,CAAA;AACvB,cAAc,eAAe,CAAA;AAC7B,cAAc,gBAAgB,CAAA;AAC9B,OAAO,EAAE,OAAO,IAAI,cAAc,EAAE,MAAM,kBAAkB,CAAA;AAC5D,OAAO,EAAE,OAAO,IAAI,KAAK,EAAE,MAAM,SAAS,CAAA;AAC1C,OAAO,EAAE,OAAO,IAAI,MAAM,EAAE,MAAM,UAAU,CAAA;AAC5C,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,MAAM,YAAY,CAAA;AAChD,OAAO,EAAE,OAAO,IAAI,GAAG,EAAE,MAAM,OAAO,CAAA;AAEtC,mBAAmB,QAAQ,CAAA;AAC3B,mBAAmB,uBAAuB,CAAA;AAC1C,mBAAmB,SAAS,CAAA;AAC5B,mBAAmB,eAAe,CAAA;AAClC,mBAAmB,kBAAkB,CAAA;AACrC,mBAAmB,SAAS,CAAA;AAC5B,mBAAmB,sBAAsB,CAAA;AACzC,mBAAmB,UAAU,CAAA;AAC7B,mBAAmB,YAAY,CAAA;AAC/B,mBAAmB,OAAO,CAAA"}
@@ -1 +1 @@
1
- {"version":3,"file":"CodeAreaHeader.d.ts","sourceRoot":"","sources":["../../../../../src/components/organisms/CodeArea/CodeAreaHeader.tsx"],"names":[],"mappings":"AA8BA,UAAU,KAAK;IACb,aAAa,CAAC,EAAE,MAAM,IAAI,CAAA;IAC1B,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,IAAI,CAAC,EAAE,OAAO,GAAG,QAAQ,CAAA;CAC1B;AAED,MAAM,CAAC,OAAO,UAAU,cAAc,CAAC,EACrC,QAAQ,EACR,SAAS,EACT,aAAa,EACb,IAAI,GACL,EAAE,KAAK,kDAsHP"}
1
+ {"version":3,"file":"CodeAreaHeader.d.ts","sourceRoot":"","sources":["../../../../../src/components/organisms/CodeArea/CodeAreaHeader.tsx"],"names":[],"mappings":"AAwBA,UAAU,KAAK;IACb,aAAa,CAAC,EAAE,MAAM,IAAI,CAAA;IAC1B,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,IAAI,CAAC,EAAE,OAAO,GAAG,QAAQ,CAAA;CAC1B;AAED,MAAM,CAAC,OAAO,UAAU,cAAc,CAAC,EACrC,QAAQ,EACR,SAAS,EACT,aAAa,EACb,IAAI,GACL,EAAE,KAAK,kDAsHP"}
@@ -10,6 +10,8 @@ declare const _default: {
10
10
  save: string;
11
11
  add: string;
12
12
  showOptions: string;
13
+ hide: string;
14
+ show: string;
13
15
  opensInNewTab: string;
14
16
  };
15
17
  form: {
@@ -73,8 +75,6 @@ declare const _default: {
73
75
  };
74
76
  legend: {
75
77
  layerOptions: string;
76
- hide: string;
77
- show: string;
78
78
  layer: string;
79
79
  opacity: string;
80
80
  hideLayer: string;
@@ -10,6 +10,8 @@ declare const _default: {
10
10
  save: string;
11
11
  add: string;
12
12
  showOptions: string;
13
+ hide: string;
14
+ show: string;
13
15
  opensInNewTab: string;
14
16
  };
15
17
  form: {
@@ -73,8 +75,6 @@ declare const _default: {
73
75
  };
74
76
  legend: {
75
77
  layerOptions: string;
76
- hide: string;
77
- show: string;
78
78
  layer: string;
79
79
  opacity: string;
80
80
  hideLayer: string;
@@ -10,6 +10,8 @@ declare const _default: {
10
10
  save: string;
11
11
  add: string;
12
12
  showOptions: string;
13
+ hide: string;
14
+ show: string;
13
15
  opensInNewTab: string;
14
16
  };
15
17
  form: {
@@ -73,8 +75,6 @@ declare const _default: {
73
75
  };
74
76
  legend: {
75
77
  layerOptions: string;
76
- hide: string;
77
- show: string;
78
78
  layer: string;
79
79
  opacity: string;
80
80
  hideLayer: string;
@@ -11,6 +11,8 @@ export declare const messages: {
11
11
  save: string;
12
12
  add: string;
13
13
  showOptions: string;
14
+ hide: string;
15
+ show: string;
14
16
  opensInNewTab: string;
15
17
  };
16
18
  form: {
@@ -74,8 +76,6 @@ export declare const messages: {
74
76
  };
75
77
  legend: {
76
78
  layerOptions: string;
77
- hide: string;
78
- show: string;
79
79
  layer: string;
80
80
  opacity: string;
81
81
  hideLayer: string;
@@ -160,6 +160,8 @@ export declare const messages: {
160
160
  save: string;
161
161
  add: string;
162
162
  showOptions: string;
163
+ hide: string;
164
+ show: string;
163
165
  opensInNewTab: string;
164
166
  };
165
167
  form: {
@@ -223,8 +225,6 @@ export declare const messages: {
223
225
  };
224
226
  legend: {
225
227
  layerOptions: string;
226
- hide: string;
227
- show: string;
228
228
  layer: string;
229
229
  opacity: string;
230
230
  hideLayer: string;
@@ -307,6 +307,8 @@ export declare const messages: {
307
307
  save: string;
308
308
  add: string;
309
309
  showOptions: string;
310
+ hide: string;
311
+ show: string;
310
312
  opensInNewTab: string;
311
313
  };
312
314
  form: {
@@ -370,8 +372,6 @@ export declare const messages: {
370
372
  };
371
373
  legend: {
372
374
  layerOptions: string;
373
- hide: string;
374
- show: string;
375
375
  layer: string;
376
376
  opacity: string;
377
377
  hideLayer: string;
@@ -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-MwqZJoRm.cjs");
7
+ const TablePaginationActions = require("../TablePaginationActions-D2K26kdR.cjs");
8
8
  const _ReactEcharts = require("echarts-for-react");
9
9
  const reactWindow = require("react-window");
10
10
  const SwatchSquare = require("../SwatchSquare-B8PIY3Rd.cjs");
11
11
  const iconsMaterial = require("@mui/icons-material");
12
- const Alert = require("../Alert-oGAW_syG.cjs");
12
+ const Link = require("../Link-_lzRY1Ay.cjs");
13
13
  const paletteUtils = require("../paletteUtils-B9ybmwiI.cjs");
14
14
  function detectTouchscreen() {
15
15
  let result = false;
@@ -2174,7 +2174,7 @@ function ChartLegend({
2174
2174
  (overflowing || offset > 0) && /* @__PURE__ */ jsxRuntime.jsxs(ShowMoreButtons, { ref: showMoreButtonsRef, children: [
2175
2175
  /* @__PURE__ */ jsxRuntime.jsx(OverflowVeil, {}),
2176
2176
  /* @__PURE__ */ jsxRuntime.jsx(
2177
- Alert.IconButton,
2177
+ Link.IconButton,
2178
2178
  {
2179
2179
  icon: /* @__PURE__ */ jsxRuntime.jsx(iconsMaterial.ChevronLeft, {}),
2180
2180
  component: "span",
@@ -2187,7 +2187,7 @@ function ChartLegend({
2187
2187
  }
2188
2188
  ),
2189
2189
  /* @__PURE__ */ jsxRuntime.jsx(
2190
- Alert.IconButton,
2190
+ Link.IconButton,
2191
2191
  {
2192
2192
  icon: /* @__PURE__ */ jsxRuntime.jsx(iconsMaterial.ChevronRight, {}),
2193
2193
  component: "span",
@@ -5271,7 +5271,7 @@ function ComparativeCategoryWidgetUI({
5271
5271
  { id: "c4r.widgets.category.selectedItems" },
5272
5272
  { items: selectedCategories.length }
5273
5273
  ) : intlConfig.formatMessage({ id: "c4r.widgets.category.all" }) }),
5274
- /* @__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({
5274
+ /* @__PURE__ */ jsxRuntime.jsx(TablePaginationActions.Typography, { variant: "caption", component: "div", children: searchActive ? /* @__PURE__ */ jsxRuntime.jsx(Link.Link, { onClick: applyTempSelection, children: intlConfig.formatMessage({ id: "c4r.widgets.category.apply" }) }) : blockingActive ? /* @__PURE__ */ jsxRuntime.jsx(Link.Link, { onClick: disableBlocking, children: intlConfig.formatMessage({
5275
5275
  id: "c4r.widgets.category.unlock"
5276
5276
  }) }) : selectedCategories.length ? /* @__PURE__ */ jsxRuntime.jsxs(
5277
5277
  material.Box,
@@ -5282,11 +5282,11 @@ function ComparativeCategoryWidgetUI({
5282
5282
  gap: theme.spacing(1)
5283
5283
  },
5284
5284
  children: [
5285
- /* @__PURE__ */ jsxRuntime.jsx(Alert.Link, { onClick: enableBlocking, children: intlConfig.formatMessage({
5285
+ /* @__PURE__ */ jsxRuntime.jsx(Link.Link, { onClick: enableBlocking, children: intlConfig.formatMessage({
5286
5286
  id: "c4r.widgets.category.lock"
5287
5287
  }) }),
5288
5288
  /* @__PURE__ */ jsxRuntime.jsx(material.Divider, { orientation: "vertical", flexItem: true }),
5289
- /* @__PURE__ */ jsxRuntime.jsx(Alert.Link, { onClick: clearSelection, children: intlConfig.formatMessage({
5289
+ /* @__PURE__ */ jsxRuntime.jsx(Link.Link, { onClick: clearSelection, children: intlConfig.formatMessage({
5290
5290
  id: "c4r.widgets.category.clear"
5291
5291
  }) })
5292
5292
  ]
@@ -6965,7 +6965,7 @@ function NoDataAlert({
6965
6965
  severity = void 0,
6966
6966
  ...otherProps
6967
6967
  }) {
6968
- return severity ? /* @__PURE__ */ jsxRuntime.jsx(Alert.Alert, { title, severity, ...otherProps, children: /* @__PURE__ */ jsxRuntime.jsx(AlertBody, { children: body }) }) : /* @__PURE__ */ jsxRuntime.jsxs(material.Box, { ...otherProps, children: [
6968
+ return severity ? /* @__PURE__ */ jsxRuntime.jsx(Link.Alert, { title, severity, ...otherProps, children: /* @__PURE__ */ jsxRuntime.jsx(AlertBody, { children: body }) }) : /* @__PURE__ */ jsxRuntime.jsxs(material.Box, { ...otherProps, children: [
6969
6969
  title && /* @__PURE__ */ jsxRuntime.jsx(TablePaginationActions.Typography, { variant: "body2", children: title }),
6970
6970
  /* @__PURE__ */ jsxRuntime.jsx(AlertBody, { color: "textSecondary", children: body })
6971
6971
  ] });
@@ -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 { h as getDefaultExportFromCjs, u as useImperativeIntl, T as Typography, S as SPACING, B as BREAKPOINTS, a as TablePaginationActions, b as ICON_SIZE_MEDIUM } from "../TablePaginationActions-BWer8cmX.js";
5
+ import { h as getDefaultExportFromCjs, u as useImperativeIntl, T as Typography, S as SPACING, B as BREAKPOINTS, a as TablePaginationActions, b as ICON_SIZE_MEDIUM } from "../TablePaginationActions-CCDi-BO-.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-CaaLsjAC.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-yL5uEg4Z.js";
10
+ import { I as IconButton, L as Link$1, A as Alert } from "../Link-D5fKicEY.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": "2.1.0",
3
+ "version": "2.1.1-alpha-copiable-input-text.5",
4
4
  "description": "CARTO Meridian Design System",
5
5
  "type": "module",
6
6
  "scripts": {
@@ -1 +0,0 @@
1
- {"version":3,"file":"CopiableComponent.d.ts","sourceRoot":"","sources":["../../../../../src/components/molecules/Copy/CopiableComponent.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAsC,MAAM,OAAO,CAAA;AAGrE,OAAO,EAAW,YAAY,EAAO,MAAM,eAAe,CAAA;AAG1D,OAAO,EAAc,eAAe,EAAE,MAAM,oBAAoB,CAAA;AAGhE,MAAM,WAAW,sBAAsB;IACrC,QAAQ,CAAC,EAAE,SAAS,CAAA;IACpB,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,KAAK,EAAE,MAAM,CAAA;IACb,QAAQ,CAAC,EAAE,MAAM,IAAI,CAAA;IACrB,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB,UAAU,CAAC,EAAE,MAAM,CAAA;IACnB,MAAM,CAAC,EAAE,OAAO,CAAA;IAChB,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,WAAW,CAAC,EAAE,IAAI,CAAC,eAAe,EAAE,MAAM,CAAC,CAAA;IAC3C,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,UAAU,CAAC,EAAE,MAAM,CAAA;IACnB,gBAAgB,CAAC,EAAE,YAAY,CAAC,WAAW,CAAC,CAAA;CAC7C;AA+ED,QAAA,MAAM,iBAAiB,mHAAiC,CAAA;AACxD,eAAe,iBAAiB,CAAA"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"copyString.d.ts","sourceRoot":"","sources":["../../../../../src/components/molecules/Copy/copyString.tsx"],"names":[],"mappings":"AAAA,iBAAe,UAAU,CAAC,KAAK,EAAE,MAAM,iBAEtC;AAED,eAAe,UAAU,CAAA"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/molecules/Copy/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,iBAAiB,EAAE,MAAM,qBAAqB,CAAA;AAClE,OAAO,EAAE,OAAO,IAAI,UAAU,EAAE,MAAM,cAAc,CAAA;AACpD,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAA;AAE7C,mBAAmB,qBAAqB,CAAA"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"useCopyValue.d.ts","sourceRoot":"","sources":["../../../../../src/components/molecules/Copy/useCopyValue.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,YAAY;;iBAMG,MAAM;CAUjC,CAAA"}