@carto/meridian-ds 2.5.5 → 2.6.0-alpha-searchfield.1

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 (100) hide show
  1. package/CHANGELOG.md +9 -0
  2. package/dist/{Alert-lLA0z7fX.js → Alert-C1VgP3N1.js} +20 -77
  3. package/dist/{Alert-BdmDjcVc.cjs → Alert-F8G9P271.cjs} +22 -79
  4. package/dist/{MenuItem-nokUtiks.cjs → MenuItem-Bssr5qGq.cjs} +6 -6
  5. package/dist/{MenuItem-ZNdBUBvt.js → MenuItem-COajCLkS.js} +1 -1
  6. package/dist/{SwatchSquare-CaaLsjAC.js → Search-C7wkXu3f.js} +4 -23
  7. package/dist/{SwatchSquare-B8PIY3Rd.cjs → Search-CMWbM9nD.cjs} +3 -22
  8. package/dist/SwatchSquare-B6KYVoqV.js +24 -0
  9. package/dist/SwatchSquare-DuXPIL7t.cjs +23 -0
  10. package/dist/components/index.cjs +457 -112
  11. package/dist/components/index.js +397 -52
  12. package/dist/{TablePaginationActions-DAMGtIub.cjs → css-utils-CqIN_t7x.cjs} +126 -55
  13. package/dist/{TablePaginationActions-C6TVGJM-.js → css-utils-hxI-qUxK.js} +129 -58
  14. package/dist/custom-icons/index.cjs +3 -2
  15. package/dist/custom-icons/index.js +3 -2
  16. package/dist/theme/index.cjs +108 -114
  17. package/dist/theme/index.js +7 -13
  18. package/dist/types/components/AccordionGroup/AccordionGroup.d.ts +4 -1
  19. package/dist/types/components/AccordionGroup/AccordionGroup.d.ts.map +1 -1
  20. package/dist/types/components/AccordionGroup/AccordionGroup.stories.d.ts +39 -9
  21. package/dist/types/components/AccordionGroup/AccordionGroup.stories.d.ts.map +1 -1
  22. package/dist/types/components/AccordionGroup/AccordionGroup.test.d.ts +2 -0
  23. package/dist/types/components/AccordionGroup/AccordionGroup.test.d.ts.map +1 -0
  24. package/dist/types/components/AppBar/AppBar.d.ts +3 -1
  25. package/dist/types/components/AppBar/AppBar.d.ts.map +1 -1
  26. package/dist/types/components/AppBar/AppBar.stories.d.ts +2 -2
  27. package/dist/types/components/AppBar/AppBar.stories.d.ts.map +1 -1
  28. package/dist/types/components/AppBar/AppBar.test.d.ts +2 -0
  29. package/dist/types/components/AppBar/AppBar.test.d.ts.map +1 -0
  30. package/dist/types/components/Avatar/Avatar.d.ts +4 -1
  31. package/dist/types/components/Avatar/Avatar.d.ts.map +1 -1
  32. package/dist/types/components/Avatar/Avatar.stories.d.ts +1 -2
  33. package/dist/types/components/Avatar/Avatar.stories.d.ts.map +1 -1
  34. package/dist/types/components/Avatar/Avatar.test.d.ts +2 -0
  35. package/dist/types/components/Avatar/Avatar.test.d.ts.map +1 -0
  36. package/dist/types/components/Button/Button.d.ts +5 -0
  37. package/dist/types/components/Button/Button.d.ts.map +1 -1
  38. package/dist/types/components/Button/Button.stories.d.ts +3 -0
  39. package/dist/types/components/Button/Button.stories.d.ts.map +1 -1
  40. package/dist/types/components/EllipsisWithTooltip/EllipsisWithTooltip.d.ts +117 -0
  41. package/dist/types/components/EllipsisWithTooltip/EllipsisWithTooltip.d.ts.map +1 -0
  42. package/dist/types/components/EllipsisWithTooltip/EllipsisWithTooltip.stories.d.ts +66 -0
  43. package/dist/types/components/EllipsisWithTooltip/EllipsisWithTooltip.stories.d.ts.map +1 -0
  44. package/dist/types/components/EllipsisWithTooltip/EllipsisWithTooltip.test.d.ts +2 -0
  45. package/dist/types/components/EllipsisWithTooltip/EllipsisWithTooltip.test.d.ts.map +1 -0
  46. package/dist/types/components/EllipsisWithTooltip/index.d.ts +3 -0
  47. package/dist/types/components/EllipsisWithTooltip/index.d.ts.map +1 -0
  48. package/dist/types/components/Link/Link.d.ts +5 -0
  49. package/dist/types/components/Link/Link.d.ts.map +1 -1
  50. package/dist/types/components/Link/Link.stories.d.ts +9 -27
  51. package/dist/types/components/Link/Link.stories.d.ts.map +1 -1
  52. package/dist/types/components/SearchField/SearchField.d.ts +32 -0
  53. package/dist/types/components/SearchField/SearchField.d.ts.map +1 -0
  54. package/dist/types/components/SearchField/SearchField.stories.d.ts +123 -0
  55. package/dist/types/components/SearchField/SearchField.stories.d.ts.map +1 -0
  56. package/dist/types/components/SearchField/index.d.ts +3 -0
  57. package/dist/types/components/SearchField/index.d.ts.map +1 -0
  58. package/dist/types/components/TablePaginationActions/TablePaginationActions.d.ts +5 -2
  59. package/dist/types/components/TablePaginationActions/TablePaginationActions.d.ts.map +1 -1
  60. package/dist/types/components/TablePaginationActions/TablePaginationActions.stories.d.ts +72 -0
  61. package/dist/types/components/TablePaginationActions/TablePaginationActions.stories.d.ts.map +1 -0
  62. package/dist/types/components/TablePaginationActions/TablePaginationActions.test.d.ts +2 -0
  63. package/dist/types/components/TablePaginationActions/TablePaginationActions.test.d.ts.map +1 -0
  64. package/dist/types/components/Tag/Tag.d.ts +176 -4
  65. package/dist/types/components/Tag/Tag.d.ts.map +1 -1
  66. package/dist/types/components/ToggleButtonGroup/ToggleButtonGroup.d.ts +3 -2
  67. package/dist/types/components/ToggleButtonGroup/ToggleButtonGroup.d.ts.map +1 -1
  68. package/dist/types/components/ToggleButtonGroup/ToggleButtonGroup.stories.d.ts +2 -2
  69. package/dist/types/components/ToggleButtonGroup/ToggleButtonGroup.stories.d.ts.map +1 -1
  70. package/dist/types/components/ToggleButtonGroup/ToggleButtonGroup.test.d.ts +2 -0
  71. package/dist/types/components/ToggleButtonGroup/ToggleButtonGroup.test.d.ts.map +1 -0
  72. package/dist/types/components/TooltipData/TooltipData.d.ts.map +1 -1
  73. package/dist/types/components/TooltipData/TooltipData.stories.d.ts +34 -0
  74. package/dist/types/components/TooltipData/TooltipData.stories.d.ts.map +1 -0
  75. package/dist/types/components/TooltipData/TooltipData.test.d.ts +2 -0
  76. package/dist/types/components/TooltipData/TooltipData.test.d.ts.map +1 -0
  77. package/dist/types/components/index.d.ts +4 -0
  78. package/dist/types/components/index.d.ts.map +1 -1
  79. package/dist/types/localization/en.d.ts +1 -0
  80. package/dist/types/localization/en.d.ts.map +1 -1
  81. package/dist/types/localization/es.d.ts +1 -0
  82. package/dist/types/localization/es.d.ts.map +1 -1
  83. package/dist/types/localization/id.d.ts +1 -0
  84. package/dist/types/localization/id.d.ts.map +1 -1
  85. package/dist/types/localization/index.d.ts +3 -0
  86. package/dist/types/localization/index.d.ts.map +1 -1
  87. package/dist/types/theme/components/forms.d.ts.map +1 -1
  88. package/dist/types/theme/components/stories/Tooltip.stories.d.ts +0 -3
  89. package/dist/types/theme/components/stories/Tooltip.stories.d.ts.map +1 -1
  90. package/dist/types/utils/css-utils.d.ts +14 -0
  91. package/dist/types/utils/css-utils.d.ts.map +1 -0
  92. package/dist/types/utils/useTranslationFallback.d.ts +20 -0
  93. package/dist/types/utils/useTranslationFallback.d.ts.map +1 -0
  94. package/dist/types/utils/useTranslationFallback.test.d.ts +2 -0
  95. package/dist/types/utils/useTranslationFallback.test.d.ts.map +1 -0
  96. package/dist/types/widgets/TableWidgetUI/TableWidgetUI.d.ts.map +1 -1
  97. package/dist/types/widgets/WrapperWidgetUI/WrapperWidgetUI.d.ts.map +1 -1
  98. package/dist/widgets/index.cjs +120 -124
  99. package/dist/widgets/index.js +6 -10
  100. package/package.json +1 -1
@@ -4,11 +4,11 @@ Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
4
4
  const material = require("@mui/material");
5
5
  const paletteUtils = require("../palette-utils-B9ybmwiI.cjs");
6
6
  const jsxRuntime = require("react/jsx-runtime");
7
- const TablePaginationActions = require("../TablePaginationActions-DAMGtIub.cjs");
7
+ const cssUtils = require("../css-utils-CqIN_t7x.cjs");
8
8
  const iconsMaterial = require("@mui/icons-material");
9
9
  const ArrowDown = require("../ArrowDown-DJ0vhbsw.cjs");
10
10
  const xDatePickers = require("@mui/x-date-pickers");
11
- const MenuItem = require("../MenuItem-nokUtiks.cjs");
11
+ const MenuItem = require("../MenuItem-Bssr5qGq.cjs");
12
12
  const themeShadows = [
13
13
  "none",
14
14
  // 0
@@ -325,7 +325,7 @@ const dataDisplayOverrides = {
325
325
  labelDisplayedRows: ({ from, to, count }) => {
326
326
  return /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
327
327
  /* @__PURE__ */ jsxRuntime.jsx(
328
- TablePaginationActions.Typography,
328
+ cssUtils.Typography,
329
329
  {
330
330
  component: "span",
331
331
  variant: "inherit",
@@ -337,7 +337,7 @@ const dataDisplayOverrides = {
337
337
  ` of ${count}`
338
338
  ] });
339
339
  },
340
- ActionsComponent: TablePaginationActions.TablePaginationActions
340
+ ActionsComponent: cssUtils.TablePaginationActions
341
341
  },
342
342
  styleOverrides: {
343
343
  root: () => ({
@@ -423,9 +423,9 @@ const dataDisplayOverrides = {
423
423
  maxWidth: "192px",
424
424
  padding: theme2.spacing(0, 0.5),
425
425
  "& .MuiAvatar-root": {
426
- width: TablePaginationActions.ICON_SIZE_LARGE,
427
- minWidth: TablePaginationActions.ICON_SIZE_LARGE,
428
- height: TablePaginationActions.ICON_SIZE_LARGE,
426
+ width: cssUtils.ICON_SIZE_LARGE,
427
+ minWidth: cssUtils.ICON_SIZE_LARGE,
428
+ height: cssUtils.ICON_SIZE_LARGE,
429
429
  margin: 0,
430
430
  color: theme2.palette.secondary.contrastText,
431
431
  backgroundColor: theme2.palette.background.paper,
@@ -436,9 +436,9 @@ const dataDisplayOverrides = {
436
436
  marginLeft: theme2.spacing(0.5)
437
437
  },
438
438
  "& img": {
439
- width: TablePaginationActions.ICON_SIZE_LARGE,
440
- minWidth: TablePaginationActions.ICON_SIZE_LARGE,
441
- height: TablePaginationActions.ICON_SIZE_LARGE
439
+ width: cssUtils.ICON_SIZE_LARGE,
440
+ minWidth: cssUtils.ICON_SIZE_LARGE,
441
+ height: cssUtils.ICON_SIZE_LARGE
442
442
  },
443
443
  "&.MuiChip-root.Mui-disabled": {
444
444
  color: theme2.palette.text.disabled,
@@ -550,14 +550,14 @@ const dataDisplayOverrides = {
550
550
  // Sizes
551
551
  sizeSmall: ({ theme: theme2 }) => ({
552
552
  "& img": {
553
- width: TablePaginationActions.ICON_SIZE_MEDIUM,
554
- minWidth: TablePaginationActions.ICON_SIZE_MEDIUM,
555
- height: TablePaginationActions.ICON_SIZE_MEDIUM
553
+ width: cssUtils.ICON_SIZE_MEDIUM,
554
+ minWidth: cssUtils.ICON_SIZE_MEDIUM,
555
+ height: cssUtils.ICON_SIZE_MEDIUM
556
556
  },
557
557
  "& .MuiAvatar-root": {
558
- width: TablePaginationActions.ICON_SIZE_MEDIUM,
559
- minWidth: TablePaginationActions.ICON_SIZE_MEDIUM,
560
- height: TablePaginationActions.ICON_SIZE_MEDIUM
558
+ width: cssUtils.ICON_SIZE_MEDIUM,
559
+ minWidth: cssUtils.ICON_SIZE_MEDIUM,
560
+ height: cssUtils.ICON_SIZE_MEDIUM
561
561
  },
562
562
  "& .MuiChip-icon": {
563
563
  marginLeft: theme2.spacing(0.25)
@@ -574,8 +574,8 @@ const dataDisplayOverrides = {
574
574
  padding: theme2.spacing(0, 0.5)
575
575
  }),
576
576
  deleteIcon: () => ({
577
- width: TablePaginationActions.ICON_SIZE_MEDIUM,
578
- height: TablePaginationActions.ICON_SIZE_MEDIUM,
577
+ width: cssUtils.ICON_SIZE_MEDIUM,
578
+ height: cssUtils.ICON_SIZE_MEDIUM,
579
579
  margin: 0,
580
580
  marginLeft: "2px",
581
581
  // Forced to a non-standard value to meet with design
@@ -705,22 +705,22 @@ const dataDisplayOverrides = {
705
705
  MuiSvgIcon: {
706
706
  styleOverrides: {
707
707
  root: () => ({
708
- fontSize: TablePaginationActions.ICON_SIZE_MEDIUM
708
+ fontSize: cssUtils.ICON_SIZE_MEDIUM
709
709
  }),
710
710
  fontSizeSmall: () => ({
711
- fontSize: TablePaginationActions.ICON_SIZE_SMALL
711
+ fontSize: cssUtils.ICON_SIZE_SMALL
712
712
  }),
713
713
  fontSizeLarge: () => ({
714
- fontSize: TablePaginationActions.ICON_SIZE_LARGE
714
+ fontSize: cssUtils.ICON_SIZE_LARGE
715
715
  })
716
716
  }
717
717
  }
718
718
  };
719
- const sizeXsmall = TablePaginationActions.getSpacing(2);
720
- const sizeSmall = TablePaginationActions.getSpacing(3);
721
- const sizeMedium = TablePaginationActions.getSpacing(4);
722
- const sizeLarge = TablePaginationActions.getSpacing(6);
723
- const radius = TablePaginationActions.getSpacing(0.5);
719
+ const sizeXsmall = cssUtils.getSpacing(2);
720
+ const sizeSmall = cssUtils.getSpacing(3);
721
+ const sizeMedium = cssUtils.getSpacing(4);
722
+ const sizeLarge = cssUtils.getSpacing(6);
723
+ const radius = cssUtils.getSpacing(0.5);
724
724
  const buttonsOverrides = {
725
725
  // Button Base
726
726
  MuiButtonBase: {
@@ -731,10 +731,10 @@ const buttonsOverrides = {
731
731
  root: () => ({
732
732
  "& .MuiSvgIcon-root, & svg": {
733
733
  display: "flex",
734
- fontSize: TablePaginationActions.ICON_SIZE_MEDIUM,
735
- width: TablePaginationActions.ICON_SIZE_MEDIUM,
736
- minWidth: TablePaginationActions.ICON_SIZE_MEDIUM,
737
- height: TablePaginationActions.ICON_SIZE_MEDIUM
734
+ fontSize: cssUtils.ICON_SIZE_MEDIUM,
735
+ width: cssUtils.ICON_SIZE_MEDIUM,
736
+ minWidth: cssUtils.ICON_SIZE_MEDIUM,
737
+ height: cssUtils.ICON_SIZE_MEDIUM
738
738
  }
739
739
  })
740
740
  }
@@ -810,10 +810,10 @@ const buttonsOverrides = {
810
810
  startIcon: ({ theme: theme2 }) => ({
811
811
  marginRight: theme2.spacing(0.75),
812
812
  "& .MuiSvgIcon-root, & svg": {
813
- fontSize: TablePaginationActions.ICON_SIZE_MEDIUM,
814
- width: TablePaginationActions.ICON_SIZE_MEDIUM,
815
- minWidth: TablePaginationActions.ICON_SIZE_MEDIUM,
816
- height: TablePaginationActions.ICON_SIZE_MEDIUM
813
+ fontSize: cssUtils.ICON_SIZE_MEDIUM,
814
+ width: cssUtils.ICON_SIZE_MEDIUM,
815
+ minWidth: cssUtils.ICON_SIZE_MEDIUM,
816
+ height: cssUtils.ICON_SIZE_MEDIUM
817
817
  },
818
818
  "&.MuiButton-iconSizeSmall": {
819
819
  marginRight: theme2.spacing(0.5),
@@ -823,10 +823,10 @@ const buttonsOverrides = {
823
823
  endIcon: ({ theme: theme2 }) => ({
824
824
  marginLeft: theme2.spacing(0.75),
825
825
  "& .MuiSvgIcon-root, & svg": {
826
- fontSize: TablePaginationActions.ICON_SIZE_MEDIUM,
827
- width: TablePaginationActions.ICON_SIZE_MEDIUM,
828
- minWidth: TablePaginationActions.ICON_SIZE_MEDIUM,
829
- height: TablePaginationActions.ICON_SIZE_MEDIUM
826
+ fontSize: cssUtils.ICON_SIZE_MEDIUM,
827
+ width: cssUtils.ICON_SIZE_MEDIUM,
828
+ minWidth: cssUtils.ICON_SIZE_MEDIUM,
829
+ height: cssUtils.ICON_SIZE_MEDIUM
830
830
  },
831
831
  "&.MuiButton-iconSizeSmall": {
832
832
  marginLeft: theme2.spacing(0.5),
@@ -976,10 +976,10 @@ const buttonsOverrides = {
976
976
  color: theme2.palette.text.secondary
977
977
  },
978
978
  "& .MuiSvgIcon-root, & svg": {
979
- fontSize: TablePaginationActions.ICON_SIZE_MEDIUM,
980
- width: TablePaginationActions.ICON_SIZE_MEDIUM,
981
- minWidth: TablePaginationActions.ICON_SIZE_MEDIUM,
982
- height: TablePaginationActions.ICON_SIZE_MEDIUM
979
+ fontSize: cssUtils.ICON_SIZE_MEDIUM,
980
+ width: cssUtils.ICON_SIZE_MEDIUM,
981
+ minWidth: cssUtils.ICON_SIZE_MEDIUM,
982
+ height: cssUtils.ICON_SIZE_MEDIUM
983
983
  },
984
984
  "& svg": {
985
985
  fill: "currentColor",
@@ -1032,10 +1032,10 @@ const buttonsOverrides = {
1032
1032
  width: sizeXsmall,
1033
1033
  height: sizeXsmall,
1034
1034
  "& .MuiSvgIcon-root, & svg": {
1035
- fontSize: TablePaginationActions.ICON_SIZE_SMALL,
1036
- width: TablePaginationActions.ICON_SIZE_SMALL,
1037
- minWidth: TablePaginationActions.ICON_SIZE_SMALL,
1038
- height: TablePaginationActions.ICON_SIZE_SMALL
1035
+ fontSize: cssUtils.ICON_SIZE_SMALL,
1036
+ width: cssUtils.ICON_SIZE_SMALL,
1037
+ minWidth: cssUtils.ICON_SIZE_SMALL,
1038
+ height: cssUtils.ICON_SIZE_SMALL
1039
1039
  }
1040
1040
  })
1041
1041
  },
@@ -1267,10 +1267,10 @@ const buttonsOverrides = {
1267
1267
  boxShadow: theme2.shadows[6]
1268
1268
  },
1269
1269
  "& .MuiSvgIcon-root, & svg": {
1270
- fontSize: TablePaginationActions.ICON_SIZE_LARGE,
1271
- width: TablePaginationActions.ICON_SIZE_LARGE,
1272
- minWidth: TablePaginationActions.ICON_SIZE_LARGE,
1273
- height: TablePaginationActions.ICON_SIZE_LARGE
1270
+ fontSize: cssUtils.ICON_SIZE_LARGE,
1271
+ width: cssUtils.ICON_SIZE_LARGE,
1272
+ minWidth: cssUtils.ICON_SIZE_LARGE,
1273
+ height: cssUtils.ICON_SIZE_LARGE
1274
1274
  },
1275
1275
  "&.MuiFab-extended": {
1276
1276
  ...theme2.typography.body1,
@@ -1296,10 +1296,10 @@ const buttonsOverrides = {
1296
1296
  height: theme2.spacing(4),
1297
1297
  minHeight: theme2.spacing(4),
1298
1298
  "& .MuiSvgIcon-root, & svg": {
1299
- fontSize: TablePaginationActions.ICON_SIZE_MEDIUM,
1300
- width: TablePaginationActions.ICON_SIZE_MEDIUM,
1301
- minWidth: TablePaginationActions.ICON_SIZE_MEDIUM,
1302
- height: TablePaginationActions.ICON_SIZE_MEDIUM
1299
+ fontSize: cssUtils.ICON_SIZE_MEDIUM,
1300
+ width: cssUtils.ICON_SIZE_MEDIUM,
1301
+ minWidth: cssUtils.ICON_SIZE_MEDIUM,
1302
+ height: cssUtils.ICON_SIZE_MEDIUM
1303
1303
  },
1304
1304
  "&.MuiFab-extended": {
1305
1305
  ...theme2.typography.caption,
@@ -1461,9 +1461,7 @@ const formsOverrides = {
1461
1461
  background: "transparent"
1462
1462
  },
1463
1463
  "& .MuiTypography-root": {
1464
- whiteSpace: "nowrap",
1465
- overflow: "hidden",
1466
- textOverflow: "ellipsis"
1464
+ ...cssUtils.ellipsisStyles
1467
1465
  }
1468
1466
  },
1469
1467
  "& .MuiSelect-icon": {
@@ -1505,9 +1503,7 @@ const formsOverrides = {
1505
1503
  ...theme2.typography.body1,
1506
1504
  "& input": {
1507
1505
  padding: 0,
1508
- whiteSpace: "nowrap",
1509
- overflow: "hidden",
1510
- textOverflow: "ellipsis",
1506
+ ...cssUtils.ellipsisStyles,
1511
1507
  "&::placeholder": {
1512
1508
  opacity: 1,
1513
1509
  color: theme2.palette.text.hint
@@ -1711,10 +1707,10 @@ const formsOverrides = {
1711
1707
  marginTop: 0
1712
1708
  },
1713
1709
  "& .MuiSvgIcon-root, & svg": {
1714
- fontSize: TablePaginationActions.ICON_SIZE_MEDIUM,
1715
- width: TablePaginationActions.ICON_SIZE_MEDIUM,
1716
- minWidth: TablePaginationActions.ICON_SIZE_MEDIUM,
1717
- height: TablePaginationActions.ICON_SIZE_MEDIUM,
1710
+ fontSize: cssUtils.ICON_SIZE_MEDIUM,
1711
+ width: cssUtils.ICON_SIZE_MEDIUM,
1712
+ minWidth: cssUtils.ICON_SIZE_MEDIUM,
1713
+ height: cssUtils.ICON_SIZE_MEDIUM,
1718
1714
  color: theme2.palette.text.secondary
1719
1715
  },
1720
1716
  ".Mui-disabled &": {
@@ -1836,9 +1832,7 @@ const formsOverrides = {
1836
1832
  boxShadow: "none !important"
1837
1833
  },
1838
1834
  "& .MuiTypography-root": {
1839
- whiteSpace: "nowrap",
1840
- overflow: "hidden",
1841
- textOverflow: "ellipsis"
1835
+ ...cssUtils.ellipsisStyles
1842
1836
  },
1843
1837
  "&.MuiInputBase-inputSizeSmall": {
1844
1838
  padding: theme2.spacing(0.75)
@@ -1980,8 +1974,8 @@ const formsOverrides = {
1980
1974
  }
1981
1975
  }),
1982
1976
  popupIndicator: ({ theme: theme2 }) => ({
1983
- width: TablePaginationActions.ICON_SIZE_MEDIUM,
1984
- height: TablePaginationActions.ICON_SIZE_MEDIUM,
1977
+ width: cssUtils.ICON_SIZE_MEDIUM,
1978
+ height: cssUtils.ICON_SIZE_MEDIUM,
1985
1979
  cursor: "pointer",
1986
1980
  "&:hover": {
1987
1981
  backgroundColor: "transparent"
@@ -2018,7 +2012,7 @@ const formsOverrides = {
2018
2012
  }),
2019
2013
  option: ({ ownerState, theme: theme2 }) => ({
2020
2014
  "&.MuiAutocomplete-option": {
2021
- minHeight: TablePaginationActions.MENU_ITEM_SIZE_DEFAULT,
2015
+ minHeight: cssUtils.MENU_ITEM_SIZE_DEFAULT,
2022
2016
  padding: theme2.spacing(0.5, 2),
2023
2017
  ...theme2.typography.body2,
2024
2018
  transition: "background-color 300ms cubic-bezier(0.4, 0, 0.2, 1) 0ms",
@@ -2228,7 +2222,7 @@ const navigationOverrides = {
2228
2222
  "&.MuiMenu-paper": {
2229
2223
  minWidth: theme2.spacing(8),
2230
2224
  // 64px, defined by design
2231
- maxHeight: TablePaginationActions.MENU_LIST_MAX_SIZE,
2225
+ maxHeight: cssUtils.MENU_LIST_MAX_SIZE,
2232
2226
  // 312px, defined by design
2233
2227
  "&:focus-visible": {
2234
2228
  outline: "none !important",
@@ -2244,14 +2238,14 @@ const navigationOverrides = {
2244
2238
  root: ({ theme: theme2 }) => ({
2245
2239
  ...theme2.typography.body2,
2246
2240
  columnGap: theme2.spacing(1),
2247
- minHeight: TablePaginationActions.MENU_ITEM_SIZE_DEFAULT,
2241
+ minHeight: cssUtils.MENU_ITEM_SIZE_DEFAULT,
2248
2242
  padding: theme2.spacing(0.75, 1, 0.75, 1.5),
2249
2243
  whiteSpace: "normal",
2250
2244
  transition: "background-color 300ms cubic-bezier(0.4, 0, 0.2, 1) 0ms",
2251
2245
  [theme2.breakpoints.up("sm")]: {
2252
2246
  // Overrides an unwanted Mui default style
2253
2247
  "&.MuiButtonBase-root": {
2254
- minHeight: TablePaginationActions.MENU_ITEM_SIZE_DEFAULT
2248
+ minHeight: cssUtils.MENU_ITEM_SIZE_DEFAULT
2255
2249
  }
2256
2250
  },
2257
2251
  "&:hover": {
@@ -2318,7 +2312,7 @@ const navigationOverrides = {
2318
2312
  }
2319
2313
  }),
2320
2314
  dense: ({ theme: theme2 }) => ({
2321
- minHeight: TablePaginationActions.MENU_ITEM_SIZE_DENSE,
2315
+ minHeight: cssUtils.MENU_ITEM_SIZE_DENSE,
2322
2316
  paddingTop: 0,
2323
2317
  paddingBottom: 0,
2324
2318
  ".MuiTypography-root": {
@@ -2328,7 +2322,7 @@ const navigationOverrides = {
2328
2322
  [theme2.breakpoints.up("sm")]: {
2329
2323
  // Overrides an unwanted Mui default style
2330
2324
  "&.MuiButtonBase-root": {
2331
- minHeight: TablePaginationActions.MENU_ITEM_SIZE_DENSE
2325
+ minHeight: cssUtils.MENU_ITEM_SIZE_DENSE
2332
2326
  }
2333
2327
  }
2334
2328
  })
@@ -2342,7 +2336,7 @@ const navigationOverrides = {
2342
2336
  ".MuiPopover-root &, .MuiPopper-root &, .base-Popper-root &": {
2343
2337
  minWidth: theme2.spacing(8),
2344
2338
  // 64px, defined by design
2345
- maxHeight: TablePaginationActions.MENU_LIST_MAX_SIZE,
2339
+ maxHeight: cssUtils.MENU_LIST_MAX_SIZE,
2346
2340
  // 312px, defined by design
2347
2341
  overflowY: "auto",
2348
2342
  "&:focus-visible": {
@@ -2410,10 +2404,10 @@ const navigationOverrides = {
2410
2404
  alignItems: "center",
2411
2405
  gap: theme2.spacing(2),
2412
2406
  "& .MuiSvgIcon-root": {
2413
- fontSize: TablePaginationActions.ICON_SIZE_LARGE
2407
+ fontSize: cssUtils.ICON_SIZE_LARGE
2414
2408
  },
2415
2409
  ".MuiMenuItem-root.MuiButtonBase-root &": {
2416
- minWidth: TablePaginationActions.ICON_SIZE_MEDIUM
2410
+ minWidth: cssUtils.ICON_SIZE_MEDIUM
2417
2411
  }
2418
2412
  })
2419
2413
  }
@@ -2426,7 +2420,7 @@ const navigationOverrides = {
2426
2420
  width: theme2.spacing(4)
2427
2421
  },
2428
2422
  "& .MuiSvgIcon-root": {
2429
- fontSize: TablePaginationActions.ICON_SIZE_MEDIUM
2423
+ fontSize: cssUtils.ICON_SIZE_MEDIUM
2430
2424
  }
2431
2425
  })
2432
2426
  }
@@ -2498,7 +2492,7 @@ const navigationOverrides = {
2498
2492
  alignItems: "center"
2499
2493
  },
2500
2494
  "& .MuiSvgIcon-root": {
2501
- fontSize: TablePaginationActions.ICON_SIZE_MEDIUM,
2495
+ fontSize: cssUtils.ICON_SIZE_MEDIUM,
2502
2496
  marginRight: theme2.spacing(1)
2503
2497
  }
2504
2498
  }),
@@ -2830,8 +2824,8 @@ const feedbackOverrides = {
2830
2824
  padding: 0,
2831
2825
  marginRight: theme2.spacing(1),
2832
2826
  svg: {
2833
- width: TablePaginationActions.ICON_SIZE_MEDIUM,
2834
- height: TablePaginationActions.ICON_SIZE_MEDIUM
2827
+ width: cssUtils.ICON_SIZE_MEDIUM,
2828
+ height: cssUtils.ICON_SIZE_MEDIUM
2835
2829
  }
2836
2830
  }),
2837
2831
  action: () => ({
@@ -2867,7 +2861,7 @@ const surfacesOverrides = {
2867
2861
  flexDirection: "row",
2868
2862
  alignItems: "center",
2869
2863
  justifyContent: "space-between",
2870
- height: TablePaginationActions.APPBAR_SIZE,
2864
+ height: cssUtils.APPBAR_SIZE,
2871
2865
  backgroundColor: theme2.palette.brand.navyBlue,
2872
2866
  color: theme2.palette.common.white,
2873
2867
  boxShadow: theme2.shadows[0],
@@ -2875,7 +2869,7 @@ const surfacesOverrides = {
2875
2869
  justifyContent: "space-between",
2876
2870
  width: "100%",
2877
2871
  padding: theme2.spacing(0, 1),
2878
- minHeight: TablePaginationActions.APPBAR_SIZE
2872
+ minHeight: cssUtils.APPBAR_SIZE
2879
2873
  },
2880
2874
  "& .MuiAvatar-root": {
2881
2875
  width: theme2.spacing(4),
@@ -2973,17 +2967,17 @@ const CssBaseline = {
2973
2967
  'input[type="search"]::-webkit-search-cancel-button': {
2974
2968
  WebkitAppearance: "none",
2975
2969
  appearance: "none",
2976
- height: TablePaginationActions.getSpacing(2),
2977
- width: TablePaginationActions.getSpacing(2),
2970
+ height: cssUtils.getSpacing(2),
2971
+ width: cssUtils.getSpacing(2),
2978
2972
  display: "block",
2979
2973
  backgroundImage: `url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAB4AAAAeCAYAAAA7MK6iAAAAn0lEQVR42u3UMQrDMBBEUZ9WfQqDmm22EaTyjRMHAlM5K+Y7lb0wnUZPIKHlnutOa+25Z4D++MRBX98MD1V/trSppLKHqj9TTBWKcoUqffbUcbBBEhTjBOV4ja4l4OIAZThEOV6jHO8ARXD+gPPvKMABinGOrnu6gTNUawrcQKNCAQ7QeTxORzle3+sDfjJpPCqhJh7GixZq4rHcc9l5A9qZ+WeBhgEuAAAAAElFTkSuQmCC)`,
2980
2974
  backgroundRepeat: "no-repeat",
2981
- backgroundSize: TablePaginationActions.getSpacing(2)
2975
+ backgroundSize: cssUtils.getSpacing(2)
2982
2976
  },
2983
2977
  // Mapbox controls
2984
2978
  ".mapboxgl-ctrl.mapboxgl-ctrl-attrib": {
2985
- padding: TablePaginationActions.getSpacing(0, 1),
2986
- borderRadius: TablePaginationActions.getSpacing(0.5, 0, 0, 0),
2979
+ padding: cssUtils.getSpacing(0, 1),
2980
+ borderRadius: cssUtils.getSpacing(0.5, 0, 0, 0),
2987
2981
  "& .mapboxgl-ctrl-attrib-inner": {
2988
2982
  ...themeTypography.overline,
2989
2983
  textTransform: "none",
@@ -2994,11 +2988,11 @@ const CssBaseline = {
2994
2988
  },
2995
2989
  "&.mapboxgl-compact": {
2996
2990
  backgroundColor: "transparent",
2997
- right: TablePaginationActions.getSpacing(0.5),
2998
- bottom: TablePaginationActions.getSpacing(2.5),
2991
+ right: cssUtils.getSpacing(0.5),
2992
+ bottom: cssUtils.getSpacing(2.5),
2999
2993
  // Mobile
3000
2994
  "@media (max-width: 600px)": {
3001
- bottom: TablePaginationActions.getSpacing(0.5)
2995
+ bottom: cssUtils.getSpacing(0.5)
3002
2996
  },
3003
2997
  "& .mapboxgl-ctrl-attrib-button": {
3004
2998
  backgroundImage: `url("data:image/svg+xml;charset=utf-8,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20height='24'%20viewBox='0%200%2024%2024'%20width='24'%3E%3Cg%3E%3Crect%20fill='none'%20height='24'%20width='24'%20x='0'/%3E%3C/g%3E%3Cg%3E%3Cg%3E%3Cg%3E%3Cpath%20d='M11.88,9.14c1.28,0.06,1.61,1.15,1.63,1.66h1.79c-0.08-1.98-1.49-3.19-3.45-3.19C9.64,7.61,8,9,8,12.14%20c0,1.94,0.93,4.24,3.84,4.24c2.22,0,3.41-1.65,3.44-2.95h-1.79c-0.03,0.59-0.45,1.38-1.63,1.44C10.55,14.83,10,13.81,10,12.14%20C10,9.25,11.28,9.16,11.88,9.14z%20M12,2C6.48,2,2,6.48,2,12s4.48,10,10,10s10-4.48,10-10S17.52,2,12,2z%20M12,20c-4.41,0-8-3.59-8-8%20s3.59-8,8-8s8,3.59,8,8S16.41,20,12,20z'%20fill='${(_e = paletteUtils.commonPalette.text) == null ? void 0 : _e.secondary}'/%3E%3C/g%3E%3C/g%3E%3C/g%3E%3C/svg%3E")`,
@@ -3012,9 +3006,9 @@ const CssBaseline = {
3012
3006
  },
3013
3007
  "& .mapboxgl-ctrl-attrib-inner": {
3014
3008
  backgroundColor: "rgba(255,255,255,.8)",
3015
- padding: TablePaginationActions.getSpacing(0.5, 1),
3016
- borderRadius: TablePaginationActions.getSpacing(1.5),
3017
- marginRight: TablePaginationActions.getSpacing(2.5),
3009
+ padding: cssUtils.getSpacing(0.5, 1),
3010
+ borderRadius: cssUtils.getSpacing(1.5),
3011
+ marginRight: cssUtils.getSpacing(2.5),
3018
3012
  color: (_f = paletteUtils.commonPalette.text) == null ? void 0 : _f.secondary
3019
3013
  },
3020
3014
  "&.mapboxgl-compact-show": {
@@ -3034,15 +3028,15 @@ const cartoThemeOptions = {
3034
3028
  breakpoints: {
3035
3029
  keys: ["xs", "sm", "md", "lg", "xl"],
3036
3030
  values: {
3037
- xs: TablePaginationActions.BREAKPOINTS.XS,
3031
+ xs: cssUtils.BREAKPOINTS.XS,
3038
3032
  // 320 - 599
3039
- sm: TablePaginationActions.BREAKPOINTS.SM,
3033
+ sm: cssUtils.BREAKPOINTS.SM,
3040
3034
  // 600 - 959
3041
- md: TablePaginationActions.BREAKPOINTS.MD,
3035
+ md: cssUtils.BREAKPOINTS.MD,
3042
3036
  // 960 - 1279
3043
- lg: TablePaginationActions.BREAKPOINTS.LG,
3037
+ lg: cssUtils.BREAKPOINTS.LG,
3044
3038
  // 1280 - 1599
3045
- xl: TablePaginationActions.BREAKPOINTS.XL
3039
+ xl: cssUtils.BREAKPOINTS.XL
3046
3040
  // 1600+
3047
3041
  },
3048
3042
  unit: "px",
@@ -3070,9 +3064,9 @@ const cartoThemeOptions = {
3070
3064
  palette: paletteUtils.commonPalette,
3071
3065
  shadows: themeShadows,
3072
3066
  typography: themeTypography,
3073
- spacingValue: TablePaginationActions.SPACING,
3067
+ spacingValue: cssUtils.SPACING,
3074
3068
  // For situations where we can't use theme.spacing(), mainly math calculations.er
3075
- spacing: TablePaginationActions.SPACING,
3069
+ spacing: cssUtils.SPACING,
3076
3070
  // For custom spacing: https://material-ui.com/customization/spacing/#custom-spacing
3077
3071
  shape: {
3078
3072
  borderRadius: 4
@@ -3123,17 +3117,17 @@ const cartoThemeOptions = {
3123
3117
  };
3124
3118
  const theme = material.responsiveFontSizes(material.createTheme(cartoThemeOptions));
3125
3119
  exports.getCartoColorStylePropsForItem = paletteUtils.getCartoColorStylePropsForItem;
3126
- exports.APPBAR_SIZE = TablePaginationActions.APPBAR_SIZE;
3127
- exports.BREAKPOINTS = TablePaginationActions.BREAKPOINTS;
3128
- exports.ICON_SIZE_LARGE = TablePaginationActions.ICON_SIZE_LARGE;
3129
- exports.ICON_SIZE_MEDIUM = TablePaginationActions.ICON_SIZE_MEDIUM;
3130
- exports.ICON_SIZE_SMALL = TablePaginationActions.ICON_SIZE_SMALL;
3131
- exports.MENU_ITEM_SIZE_DEFAULT = TablePaginationActions.MENU_ITEM_SIZE_DEFAULT;
3132
- exports.MENU_ITEM_SIZE_DENSE = TablePaginationActions.MENU_ITEM_SIZE_DENSE;
3133
- exports.MENU_ITEM_SIZE_EXTENDED = TablePaginationActions.MENU_ITEM_SIZE_EXTENDED;
3134
- exports.MENU_LIST_MAX_SIZE = TablePaginationActions.MENU_LIST_MAX_SIZE;
3135
- exports.NOTIFICATION_DURATION_IN_MS = TablePaginationActions.NOTIFICATION_DURATION_IN_MS;
3136
- exports.SPACING = TablePaginationActions.SPACING;
3137
- exports.getSpacing = TablePaginationActions.getSpacing;
3120
+ exports.APPBAR_SIZE = cssUtils.APPBAR_SIZE;
3121
+ exports.BREAKPOINTS = cssUtils.BREAKPOINTS;
3122
+ exports.ICON_SIZE_LARGE = cssUtils.ICON_SIZE_LARGE;
3123
+ exports.ICON_SIZE_MEDIUM = cssUtils.ICON_SIZE_MEDIUM;
3124
+ exports.ICON_SIZE_SMALL = cssUtils.ICON_SIZE_SMALL;
3125
+ exports.MENU_ITEM_SIZE_DEFAULT = cssUtils.MENU_ITEM_SIZE_DEFAULT;
3126
+ exports.MENU_ITEM_SIZE_DENSE = cssUtils.MENU_ITEM_SIZE_DENSE;
3127
+ exports.MENU_ITEM_SIZE_EXTENDED = cssUtils.MENU_ITEM_SIZE_EXTENDED;
3128
+ exports.MENU_LIST_MAX_SIZE = cssUtils.MENU_LIST_MAX_SIZE;
3129
+ exports.NOTIFICATION_DURATION_IN_MS = cssUtils.NOTIFICATION_DURATION_IN_MS;
3130
+ exports.SPACING = cssUtils.SPACING;
3131
+ exports.getSpacing = cssUtils.getSpacing;
3138
3132
  exports.cartoThemeOptions = cartoThemeOptions;
3139
3133
  exports.theme = theme;
@@ -3,12 +3,12 @@ import { alpha, Tooltip, responsiveFontSizes, createTheme } from "@mui/material"
3
3
  import { c as commonPalette } from "../palette-utils-BHqJlHm9.js";
4
4
  import { g } from "../palette-utils-BHqJlHm9.js";
5
5
  import { jsxs, Fragment, jsx } from "react/jsx-runtime";
6
- 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-C6TVGJM-.js";
7
- import { f, N } from "../TablePaginationActions-C6TVGJM-.js";
6
+ 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, e as ellipsisStyles, M as MENU_ITEM_SIZE_DEFAULT, d as MENU_LIST_MAX_SIZE, f as MENU_ITEM_SIZE_DENSE, A as APPBAR_SIZE, B as BREAKPOINTS, S as SPACING } from "../css-utils-hxI-qUxK.js";
7
+ import { h, N } from "../css-utils-hxI-qUxK.js";
8
8
  import { Cancel, EventOutlined, ChevronRightOutlined, ChevronLeftOutlined, ExpandMoreOutlined, CheckCircleOutlined } from "@mui/icons-material";
9
9
  import { A as ArrowDown } from "../ArrowDown-d6bxUL0F.js";
10
10
  import { renderDigitalClockTimeView } from "@mui/x-date-pickers";
11
- import { M as MenuItem } from "../MenuItem-ZNdBUBvt.js";
11
+ import { M as MenuItem } from "../MenuItem-COajCLkS.js";
12
12
  const themeShadows = [
13
13
  "none",
14
14
  // 0
@@ -1461,9 +1461,7 @@ const formsOverrides = {
1461
1461
  background: "transparent"
1462
1462
  },
1463
1463
  "& .MuiTypography-root": {
1464
- whiteSpace: "nowrap",
1465
- overflow: "hidden",
1466
- textOverflow: "ellipsis"
1464
+ ...ellipsisStyles
1467
1465
  }
1468
1466
  },
1469
1467
  "& .MuiSelect-icon": {
@@ -1505,9 +1503,7 @@ const formsOverrides = {
1505
1503
  ...theme2.typography.body1,
1506
1504
  "& input": {
1507
1505
  padding: 0,
1508
- whiteSpace: "nowrap",
1509
- overflow: "hidden",
1510
- textOverflow: "ellipsis",
1506
+ ...ellipsisStyles,
1511
1507
  "&::placeholder": {
1512
1508
  opacity: 1,
1513
1509
  color: theme2.palette.text.hint
@@ -1836,9 +1832,7 @@ const formsOverrides = {
1836
1832
  boxShadow: "none !important"
1837
1833
  },
1838
1834
  "& .MuiTypography-root": {
1839
- whiteSpace: "nowrap",
1840
- overflow: "hidden",
1841
- textOverflow: "ellipsis"
1835
+ ...ellipsisStyles
1842
1836
  },
1843
1837
  "&.MuiInputBase-inputSizeSmall": {
1844
1838
  padding: theme2.spacing(0.75)
@@ -3130,7 +3124,7 @@ export {
3130
3124
  ICON_SIZE_SMALL,
3131
3125
  MENU_ITEM_SIZE_DEFAULT,
3132
3126
  MENU_ITEM_SIZE_DENSE,
3133
- f as MENU_ITEM_SIZE_EXTENDED,
3127
+ h as MENU_ITEM_SIZE_EXTENDED,
3134
3128
  MENU_LIST_MAX_SIZE,
3135
3129
  N as NOTIFICATION_DURATION_IN_MS,
3136
3130
  SPACING,
@@ -7,6 +7,9 @@ export type AccordionGroupProps = {
7
7
  defaultExpanded?: boolean;
8
8
  onChange?: (event: React.ChangeEvent<EventTarget>, expanded: boolean) => void;
9
9
  }[];
10
+ 'aria-label'?: string;
11
+ 'data-testid'?: string;
10
12
  };
11
- export default function AccordionGroup({ variant, items, ...otherProps }: AccordionGroupProps): import("react/jsx-runtime").JSX.Element;
13
+ declare const AccordionGroup: import('react').ForwardRefExoticComponent<AccordionGroupProps & import('react').RefAttributes<HTMLDivElement>>;
14
+ export default AccordionGroup;
12
15
  //# sourceMappingURL=AccordionGroup.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"AccordionGroup.d.ts","sourceRoot":"","sources":["../../../../src/components/AccordionGroup/AccordionGroup.tsx"],"names":[],"mappings":"AAOA,MAAM,MAAM,mBAAmB,GAAG;IAChC,OAAO,CAAC,EAAE,UAAU,GAAG,UAAU,CAAA;IACjC,KAAK,EAAE;QACL,OAAO,EAAE,MAAM,GAAG,KAAK,CAAC,SAAS,CAAA;QACjC,OAAO,EAAE,KAAK,CAAC,SAAS,CAAA;QACxB,QAAQ,CAAC,EAAE,OAAO,CAAA;QAClB,eAAe,CAAC,EAAE,OAAO,CAAA;QACzB,QAAQ,CAAC,EAAE,CACT,KAAK,EAAE,KAAK,CAAC,WAAW,CAAC,WAAW,CAAC,EACrC,QAAQ,EAAE,OAAO,KACd,IAAI,CAAA;KACV,EAAE,CAAA;CACJ,CAAA;AAcD,MAAM,CAAC,OAAO,UAAU,cAAc,CAAC,EACrC,OAAoB,EACpB,KAAK,EACL,GAAG,UAAU,EACd,EAAE,mBAAmB,2CAqBrB"}
1
+ {"version":3,"file":"AccordionGroup.d.ts","sourceRoot":"","sources":["../../../../src/components/AccordionGroup/AccordionGroup.tsx"],"names":[],"mappings":"AAQA,MAAM,MAAM,mBAAmB,GAAG;IAChC,OAAO,CAAC,EAAE,UAAU,GAAG,UAAU,CAAA;IACjC,KAAK,EAAE;QACL,OAAO,EAAE,MAAM,GAAG,KAAK,CAAC,SAAS,CAAA;QACjC,OAAO,EAAE,KAAK,CAAC,SAAS,CAAA;QACxB,QAAQ,CAAC,EAAE,OAAO,CAAA;QAClB,eAAe,CAAC,EAAE,OAAO,CAAA;QACzB,QAAQ,CAAC,EAAE,CACT,KAAK,EAAE,KAAK,CAAC,WAAW,CAAC,WAAW,CAAC,EACrC,QAAQ,EAAE,OAAO,KACd,IAAI,CAAA;KACV,EAAE,CAAA;IACH,YAAY,CAAC,EAAE,MAAM,CAAA;IACrB,aAAa,CAAC,EAAE,MAAM,CAAA;CACvB,CAAA;AAwDD,QAAA,MAAM,cAAc,gHAA8B,CAAA;AAClD,eAAe,cAAc,CAAA"}
@@ -1,11 +1,7 @@
1
- import { AccordionProps } from '@mui/material';
2
- import { AccordionGroup } from '..';
1
+ import { AccordionGroupProps } from '..';
3
2
  declare const options: {
4
3
  title: string;
5
- component: typeof AccordionGroup;
6
- args: {
7
- variant: "standard";
8
- };
4
+ component: import('react').ForwardRefExoticComponent<AccordionGroupProps & import('react').RefAttributes<HTMLDivElement>>;
9
5
  argTypes: {
10
6
  variant: {
11
7
  defaultValue: string;
@@ -25,7 +21,13 @@ declare const options: {
25
21
  };
26
22
  export default options;
27
23
  export declare const Playground: {
28
- render: (props: AccordionProps) => import("react/jsx-runtime").JSX.Element;
24
+ render: (props: AccordionGroupProps) => import("react/jsx-runtime").JSX.Element;
25
+ args: {
26
+ items: {
27
+ summary: string;
28
+ content: import("react/jsx-runtime").JSX.Element;
29
+ }[];
30
+ };
29
31
  parameters: {
30
32
  chromatic: {
31
33
  disableSnapshot: boolean;
@@ -40,8 +42,36 @@ export declare const Guide: {
40
42
  };
41
43
  };
42
44
  };
43
- export declare const Group: {
44
- render: (props: AccordionProps) => import("react/jsx-runtime").JSX.Element;
45
+ export declare const Variants: {
46
+ render: (props: AccordionGroupProps) => import("react/jsx-runtime").JSX.Element;
47
+ argTypes: {
48
+ disabled: {
49
+ table: {
50
+ disable: boolean;
51
+ };
52
+ };
53
+ };
54
+ };
55
+ export declare const WithDisabledItem: {
56
+ render: (props: AccordionGroupProps) => import("react/jsx-runtime").JSX.Element;
57
+ args: {
58
+ items: {
59
+ disabled: boolean;
60
+ summary: string;
61
+ content: import("react/jsx-runtime").JSX.Element;
62
+ }[];
63
+ };
64
+ };
65
+ export declare const WithExpandedItem: {
66
+ render: (props: AccordionGroupProps) => import("react/jsx-runtime").JSX.Element;
67
+ args: {
68
+ items: {
69
+ defaultExpanded: boolean;
70
+ summary: string;
71
+ content: import("react/jsx-runtime").JSX.Element;
72
+ }[];
73
+ 'aria-label': string;
74
+ };
45
75
  argTypes: {
46
76
  disabled: {
47
77
  table: {
@@ -1 +1 @@
1
- {"version":3,"file":"AccordionGroup.stories.d.ts","sourceRoot":"","sources":["../../../../src/components/AccordionGroup/AccordionGroup.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAsB,MAAM,eAAe,CAAA;AAQlE,OAAO,EAAE,cAAc,EAAc,MAAM,cAAc,CAAA;AAEzD,QAAA,MAAM,OAAO;;;;;;;;;;;;;;;;;;;;;;CAsB0B,CAAA;AACvC,eAAe,OAAO,CAAA;AAsGtB,eAAO,MAAM,UAAU;oBA7CO,cAAc;;;;;;CAkD3C,CAAA;AAED,eAAO,MAAM,KAAK;;;;;;;CAKjB,CAAA;AAED,eAAO,MAAM,KAAK;oBA3DY,cAAc;;;;;;;;CA8D3C,CAAA;AAED,eAAO,MAAM,QAAQ;;;;;;;;;CAGpB,CAAA"}
1
+ {"version":3,"file":"AccordionGroup.stories.d.ts","sourceRoot":"","sources":["../../../../src/components/AccordionGroup/AccordionGroup.stories.tsx"],"names":[],"mappings":"AAQA,OAAO,EAAkB,mBAAmB,EAAc,MAAM,cAAc,CAAA;AAE9E,QAAA,MAAM,OAAO;;;;;;;;;;;;;;;;;;;CAmB0B,CAAA;AACvC,eAAe,OAAO,CAAA;AAsGtB,eAAO,MAAM,UAAU;oBA9CY,mBAAmB;;;;;;;;;;;;CAsDrD,CAAA;AAED,eAAO,MAAM,KAAK;;;;;;;CAKjB,CAAA;AAED,eAAO,MAAM,QAAQ;oBA3DS,mBAAmB;;;;;;;;CA8DhD,CAAA;AAED,eAAO,MAAM,gBAAgB;oBApEM,mBAAmB;;;;;;;;CA4ErD,CAAA;AAED,eAAO,MAAM,gBAAgB;oBA9EM,mBAAmB;;;;;;;;;;;;;;;;CAwFrD,CAAA;AAED,eAAO,MAAM,QAAQ;;;;;;;;;CAGpB,CAAA"}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=AccordionGroup.test.d.ts.map