@carto/meridian-ds 2.5.5-alpha-ellipsis.2 → 2.5.5-alpha-translations.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.
- package/CHANGELOG.md +3 -1
- package/dist/{Alert-wE4A0ify.js → Alert-CRVceJ9N.js} +20 -77
- package/dist/{Alert-CaashKPj.cjs → Alert-Dyw7Z9wJ.cjs} +22 -79
- package/dist/{MenuItem-BUe4eJZH.js → MenuItem-h41wtQTz.js} +1 -1
- package/dist/{MenuItem-BZWWJptW.cjs → MenuItem-o51jnNjL.cjs} +6 -6
- package/dist/{css-utils-W9dzgcXq.cjs → TablePaginationActions-CMC_ZxDN.cjs} +117 -61
- package/dist/{css-utils-CTJjJR0x.js → TablePaginationActions-DIFPc_wQ.js} +119 -63
- package/dist/components/index.cjs +163 -258
- package/dist/components/index.js +103 -198
- package/dist/theme/index.cjs +114 -108
- package/dist/theme/index.js +13 -7
- package/dist/types/components/AccordionGroup/AccordionGroup.d.ts +4 -1
- package/dist/types/components/AccordionGroup/AccordionGroup.d.ts.map +1 -1
- package/dist/types/components/AccordionGroup/AccordionGroup.stories.d.ts +39 -9
- package/dist/types/components/AccordionGroup/AccordionGroup.stories.d.ts.map +1 -1
- package/dist/types/components/AccordionGroup/AccordionGroup.test.d.ts +2 -0
- package/dist/types/components/AccordionGroup/AccordionGroup.test.d.ts.map +1 -0
- package/dist/types/components/AppBar/AppBar.d.ts +3 -1
- package/dist/types/components/AppBar/AppBar.d.ts.map +1 -1
- package/dist/types/components/AppBar/AppBar.stories.d.ts +2 -2
- package/dist/types/components/AppBar/AppBar.stories.d.ts.map +1 -1
- package/dist/types/components/AppBar/AppBar.test.d.ts +2 -0
- package/dist/types/components/AppBar/AppBar.test.d.ts.map +1 -0
- package/dist/types/components/Avatar/Avatar.d.ts +4 -1
- package/dist/types/components/Avatar/Avatar.d.ts.map +1 -1
- package/dist/types/components/Avatar/Avatar.stories.d.ts +1 -2
- package/dist/types/components/Avatar/Avatar.stories.d.ts.map +1 -1
- package/dist/types/components/Avatar/Avatar.test.d.ts +2 -0
- package/dist/types/components/Avatar/Avatar.test.d.ts.map +1 -0
- package/dist/types/components/Button/Button.d.ts +5 -0
- package/dist/types/components/Button/Button.d.ts.map +1 -1
- package/dist/types/components/Button/Button.stories.d.ts +3 -0
- package/dist/types/components/Button/Button.stories.d.ts.map +1 -1
- package/dist/types/components/Link/Link.d.ts +5 -0
- package/dist/types/components/Link/Link.d.ts.map +1 -1
- package/dist/types/components/Link/Link.stories.d.ts +16 -20
- package/dist/types/components/Link/Link.stories.d.ts.map +1 -1
- package/dist/types/components/TablePaginationActions/TablePaginationActions.d.ts +5 -2
- package/dist/types/components/TablePaginationActions/TablePaginationActions.d.ts.map +1 -1
- package/dist/types/components/TablePaginationActions/TablePaginationActions.stories.d.ts +72 -0
- package/dist/types/components/TablePaginationActions/TablePaginationActions.stories.d.ts.map +1 -0
- package/dist/types/components/TablePaginationActions/TablePaginationActions.test.d.ts +2 -0
- package/dist/types/components/TablePaginationActions/TablePaginationActions.test.d.ts.map +1 -0
- package/dist/types/components/Tag/Tag.d.ts +4 -176
- package/dist/types/components/Tag/Tag.d.ts.map +1 -1
- package/dist/types/components/ToggleButtonGroup/ToggleButtonGroup.d.ts +3 -2
- package/dist/types/components/ToggleButtonGroup/ToggleButtonGroup.d.ts.map +1 -1
- package/dist/types/components/ToggleButtonGroup/ToggleButtonGroup.stories.d.ts +2 -2
- package/dist/types/components/ToggleButtonGroup/ToggleButtonGroup.stories.d.ts.map +1 -1
- package/dist/types/components/ToggleButtonGroup/ToggleButtonGroup.test.d.ts +2 -0
- package/dist/types/components/ToggleButtonGroup/ToggleButtonGroup.test.d.ts.map +1 -0
- package/dist/types/components/TooltipData/TooltipData.d.ts.map +1 -1
- package/dist/types/components/TooltipData/TooltipData.stories.d.ts +34 -0
- package/dist/types/components/TooltipData/TooltipData.stories.d.ts.map +1 -0
- package/dist/types/components/TooltipData/TooltipData.test.d.ts +2 -0
- package/dist/types/components/TooltipData/TooltipData.test.d.ts.map +1 -0
- package/dist/types/components/index.d.ts +0 -2
- package/dist/types/components/index.d.ts.map +1 -1
- package/dist/types/theme/components/forms.d.ts.map +1 -1
- package/dist/types/theme/components/stories/Tooltip.stories.d.ts +0 -3
- package/dist/types/theme/components/stories/Tooltip.stories.d.ts.map +1 -1
- package/dist/types/utils/useTranslationFallback.d.ts +20 -0
- package/dist/types/utils/useTranslationFallback.d.ts.map +1 -0
- package/dist/types/utils/useTranslationFallback.test.d.ts +2 -0
- package/dist/types/utils/useTranslationFallback.test.d.ts.map +1 -0
- package/dist/types/widgets/TableWidgetUI/TableWidgetUI.d.ts.map +1 -1
- package/dist/types/widgets/WrapperWidgetUI/WrapperWidgetUI.d.ts.map +1 -1
- package/dist/widgets/index.cjs +119 -114
- package/dist/widgets/index.js +9 -4
- package/package.json +1 -1
- package/dist/types/components/EllipsisWithTooltip/EllipsisWithTooltip.d.ts +0 -117
- package/dist/types/components/EllipsisWithTooltip/EllipsisWithTooltip.d.ts.map +0 -1
- package/dist/types/components/EllipsisWithTooltip/EllipsisWithTooltip.stories.d.ts +0 -66
- package/dist/types/components/EllipsisWithTooltip/EllipsisWithTooltip.stories.d.ts.map +0 -1
- package/dist/types/components/EllipsisWithTooltip/EllipsisWithTooltip.test.d.ts +0 -2
- package/dist/types/components/EllipsisWithTooltip/EllipsisWithTooltip.test.d.ts.map +0 -1
- package/dist/types/components/EllipsisWithTooltip/index.d.ts +0 -3
- package/dist/types/components/EllipsisWithTooltip/index.d.ts.map +0 -1
- package/dist/types/utils/css-utils.d.ts +0 -14
- package/dist/types/utils/css-utils.d.ts.map +0 -1
package/dist/theme/index.cjs
CHANGED
|
@@ -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
|
|
7
|
+
const TablePaginationActions = require("../TablePaginationActions-CMC_ZxDN.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-
|
|
11
|
+
const MenuItem = require("../MenuItem-o51jnNjL.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
|
-
|
|
328
|
+
TablePaginationActions.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:
|
|
340
|
+
ActionsComponent: TablePaginationActions.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:
|
|
427
|
-
minWidth:
|
|
428
|
-
height:
|
|
426
|
+
width: TablePaginationActions.ICON_SIZE_LARGE,
|
|
427
|
+
minWidth: TablePaginationActions.ICON_SIZE_LARGE,
|
|
428
|
+
height: TablePaginationActions.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:
|
|
440
|
-
minWidth:
|
|
441
|
-
height:
|
|
439
|
+
width: TablePaginationActions.ICON_SIZE_LARGE,
|
|
440
|
+
minWidth: TablePaginationActions.ICON_SIZE_LARGE,
|
|
441
|
+
height: TablePaginationActions.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:
|
|
554
|
-
minWidth:
|
|
555
|
-
height:
|
|
553
|
+
width: TablePaginationActions.ICON_SIZE_MEDIUM,
|
|
554
|
+
minWidth: TablePaginationActions.ICON_SIZE_MEDIUM,
|
|
555
|
+
height: TablePaginationActions.ICON_SIZE_MEDIUM
|
|
556
556
|
},
|
|
557
557
|
"& .MuiAvatar-root": {
|
|
558
|
-
width:
|
|
559
|
-
minWidth:
|
|
560
|
-
height:
|
|
558
|
+
width: TablePaginationActions.ICON_SIZE_MEDIUM,
|
|
559
|
+
minWidth: TablePaginationActions.ICON_SIZE_MEDIUM,
|
|
560
|
+
height: TablePaginationActions.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:
|
|
578
|
-
height:
|
|
577
|
+
width: TablePaginationActions.ICON_SIZE_MEDIUM,
|
|
578
|
+
height: TablePaginationActions.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:
|
|
708
|
+
fontSize: TablePaginationActions.ICON_SIZE_MEDIUM
|
|
709
709
|
}),
|
|
710
710
|
fontSizeSmall: () => ({
|
|
711
|
-
fontSize:
|
|
711
|
+
fontSize: TablePaginationActions.ICON_SIZE_SMALL
|
|
712
712
|
}),
|
|
713
713
|
fontSizeLarge: () => ({
|
|
714
|
-
fontSize:
|
|
714
|
+
fontSize: TablePaginationActions.ICON_SIZE_LARGE
|
|
715
715
|
})
|
|
716
716
|
}
|
|
717
717
|
}
|
|
718
718
|
};
|
|
719
|
-
const sizeXsmall =
|
|
720
|
-
const sizeSmall =
|
|
721
|
-
const sizeMedium =
|
|
722
|
-
const sizeLarge =
|
|
723
|
-
const radius =
|
|
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);
|
|
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:
|
|
735
|
-
width:
|
|
736
|
-
minWidth:
|
|
737
|
-
height:
|
|
734
|
+
fontSize: TablePaginationActions.ICON_SIZE_MEDIUM,
|
|
735
|
+
width: TablePaginationActions.ICON_SIZE_MEDIUM,
|
|
736
|
+
minWidth: TablePaginationActions.ICON_SIZE_MEDIUM,
|
|
737
|
+
height: TablePaginationActions.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:
|
|
814
|
-
width:
|
|
815
|
-
minWidth:
|
|
816
|
-
height:
|
|
813
|
+
fontSize: TablePaginationActions.ICON_SIZE_MEDIUM,
|
|
814
|
+
width: TablePaginationActions.ICON_SIZE_MEDIUM,
|
|
815
|
+
minWidth: TablePaginationActions.ICON_SIZE_MEDIUM,
|
|
816
|
+
height: TablePaginationActions.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:
|
|
827
|
-
width:
|
|
828
|
-
minWidth:
|
|
829
|
-
height:
|
|
826
|
+
fontSize: TablePaginationActions.ICON_SIZE_MEDIUM,
|
|
827
|
+
width: TablePaginationActions.ICON_SIZE_MEDIUM,
|
|
828
|
+
minWidth: TablePaginationActions.ICON_SIZE_MEDIUM,
|
|
829
|
+
height: TablePaginationActions.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:
|
|
980
|
-
width:
|
|
981
|
-
minWidth:
|
|
982
|
-
height:
|
|
979
|
+
fontSize: TablePaginationActions.ICON_SIZE_MEDIUM,
|
|
980
|
+
width: TablePaginationActions.ICON_SIZE_MEDIUM,
|
|
981
|
+
minWidth: TablePaginationActions.ICON_SIZE_MEDIUM,
|
|
982
|
+
height: TablePaginationActions.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:
|
|
1036
|
-
width:
|
|
1037
|
-
minWidth:
|
|
1038
|
-
height:
|
|
1035
|
+
fontSize: TablePaginationActions.ICON_SIZE_SMALL,
|
|
1036
|
+
width: TablePaginationActions.ICON_SIZE_SMALL,
|
|
1037
|
+
minWidth: TablePaginationActions.ICON_SIZE_SMALL,
|
|
1038
|
+
height: TablePaginationActions.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:
|
|
1271
|
-
width:
|
|
1272
|
-
minWidth:
|
|
1273
|
-
height:
|
|
1270
|
+
fontSize: TablePaginationActions.ICON_SIZE_LARGE,
|
|
1271
|
+
width: TablePaginationActions.ICON_SIZE_LARGE,
|
|
1272
|
+
minWidth: TablePaginationActions.ICON_SIZE_LARGE,
|
|
1273
|
+
height: TablePaginationActions.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:
|
|
1300
|
-
width:
|
|
1301
|
-
minWidth:
|
|
1302
|
-
height:
|
|
1299
|
+
fontSize: TablePaginationActions.ICON_SIZE_MEDIUM,
|
|
1300
|
+
width: TablePaginationActions.ICON_SIZE_MEDIUM,
|
|
1301
|
+
minWidth: TablePaginationActions.ICON_SIZE_MEDIUM,
|
|
1302
|
+
height: TablePaginationActions.ICON_SIZE_MEDIUM
|
|
1303
1303
|
},
|
|
1304
1304
|
"&.MuiFab-extended": {
|
|
1305
1305
|
...theme2.typography.caption,
|
|
@@ -1461,7 +1461,9 @@ const formsOverrides = {
|
|
|
1461
1461
|
background: "transparent"
|
|
1462
1462
|
},
|
|
1463
1463
|
"& .MuiTypography-root": {
|
|
1464
|
-
|
|
1464
|
+
whiteSpace: "nowrap",
|
|
1465
|
+
overflow: "hidden",
|
|
1466
|
+
textOverflow: "ellipsis"
|
|
1465
1467
|
}
|
|
1466
1468
|
},
|
|
1467
1469
|
"& .MuiSelect-icon": {
|
|
@@ -1503,7 +1505,9 @@ const formsOverrides = {
|
|
|
1503
1505
|
...theme2.typography.body1,
|
|
1504
1506
|
"& input": {
|
|
1505
1507
|
padding: 0,
|
|
1506
|
-
|
|
1508
|
+
whiteSpace: "nowrap",
|
|
1509
|
+
overflow: "hidden",
|
|
1510
|
+
textOverflow: "ellipsis",
|
|
1507
1511
|
"&::placeholder": {
|
|
1508
1512
|
opacity: 1,
|
|
1509
1513
|
color: theme2.palette.text.hint
|
|
@@ -1707,10 +1711,10 @@ const formsOverrides = {
|
|
|
1707
1711
|
marginTop: 0
|
|
1708
1712
|
},
|
|
1709
1713
|
"& .MuiSvgIcon-root, & svg": {
|
|
1710
|
-
fontSize:
|
|
1711
|
-
width:
|
|
1712
|
-
minWidth:
|
|
1713
|
-
height:
|
|
1714
|
+
fontSize: TablePaginationActions.ICON_SIZE_MEDIUM,
|
|
1715
|
+
width: TablePaginationActions.ICON_SIZE_MEDIUM,
|
|
1716
|
+
minWidth: TablePaginationActions.ICON_SIZE_MEDIUM,
|
|
1717
|
+
height: TablePaginationActions.ICON_SIZE_MEDIUM,
|
|
1714
1718
|
color: theme2.palette.text.secondary
|
|
1715
1719
|
},
|
|
1716
1720
|
".Mui-disabled &": {
|
|
@@ -1832,7 +1836,9 @@ const formsOverrides = {
|
|
|
1832
1836
|
boxShadow: "none !important"
|
|
1833
1837
|
},
|
|
1834
1838
|
"& .MuiTypography-root": {
|
|
1835
|
-
|
|
1839
|
+
whiteSpace: "nowrap",
|
|
1840
|
+
overflow: "hidden",
|
|
1841
|
+
textOverflow: "ellipsis"
|
|
1836
1842
|
},
|
|
1837
1843
|
"&.MuiInputBase-inputSizeSmall": {
|
|
1838
1844
|
padding: theme2.spacing(0.75)
|
|
@@ -1974,8 +1980,8 @@ const formsOverrides = {
|
|
|
1974
1980
|
}
|
|
1975
1981
|
}),
|
|
1976
1982
|
popupIndicator: ({ theme: theme2 }) => ({
|
|
1977
|
-
width:
|
|
1978
|
-
height:
|
|
1983
|
+
width: TablePaginationActions.ICON_SIZE_MEDIUM,
|
|
1984
|
+
height: TablePaginationActions.ICON_SIZE_MEDIUM,
|
|
1979
1985
|
cursor: "pointer",
|
|
1980
1986
|
"&:hover": {
|
|
1981
1987
|
backgroundColor: "transparent"
|
|
@@ -2012,7 +2018,7 @@ const formsOverrides = {
|
|
|
2012
2018
|
}),
|
|
2013
2019
|
option: ({ ownerState, theme: theme2 }) => ({
|
|
2014
2020
|
"&.MuiAutocomplete-option": {
|
|
2015
|
-
minHeight:
|
|
2021
|
+
minHeight: TablePaginationActions.MENU_ITEM_SIZE_DEFAULT,
|
|
2016
2022
|
padding: theme2.spacing(0.5, 2),
|
|
2017
2023
|
...theme2.typography.body2,
|
|
2018
2024
|
transition: "background-color 300ms cubic-bezier(0.4, 0, 0.2, 1) 0ms",
|
|
@@ -2222,7 +2228,7 @@ const navigationOverrides = {
|
|
|
2222
2228
|
"&.MuiMenu-paper": {
|
|
2223
2229
|
minWidth: theme2.spacing(8),
|
|
2224
2230
|
// 64px, defined by design
|
|
2225
|
-
maxHeight:
|
|
2231
|
+
maxHeight: TablePaginationActions.MENU_LIST_MAX_SIZE,
|
|
2226
2232
|
// 312px, defined by design
|
|
2227
2233
|
"&:focus-visible": {
|
|
2228
2234
|
outline: "none !important",
|
|
@@ -2238,14 +2244,14 @@ const navigationOverrides = {
|
|
|
2238
2244
|
root: ({ theme: theme2 }) => ({
|
|
2239
2245
|
...theme2.typography.body2,
|
|
2240
2246
|
columnGap: theme2.spacing(1),
|
|
2241
|
-
minHeight:
|
|
2247
|
+
minHeight: TablePaginationActions.MENU_ITEM_SIZE_DEFAULT,
|
|
2242
2248
|
padding: theme2.spacing(0.75, 1, 0.75, 1.5),
|
|
2243
2249
|
whiteSpace: "normal",
|
|
2244
2250
|
transition: "background-color 300ms cubic-bezier(0.4, 0, 0.2, 1) 0ms",
|
|
2245
2251
|
[theme2.breakpoints.up("sm")]: {
|
|
2246
2252
|
// Overrides an unwanted Mui default style
|
|
2247
2253
|
"&.MuiButtonBase-root": {
|
|
2248
|
-
minHeight:
|
|
2254
|
+
minHeight: TablePaginationActions.MENU_ITEM_SIZE_DEFAULT
|
|
2249
2255
|
}
|
|
2250
2256
|
},
|
|
2251
2257
|
"&:hover": {
|
|
@@ -2312,7 +2318,7 @@ const navigationOverrides = {
|
|
|
2312
2318
|
}
|
|
2313
2319
|
}),
|
|
2314
2320
|
dense: ({ theme: theme2 }) => ({
|
|
2315
|
-
minHeight:
|
|
2321
|
+
minHeight: TablePaginationActions.MENU_ITEM_SIZE_DENSE,
|
|
2316
2322
|
paddingTop: 0,
|
|
2317
2323
|
paddingBottom: 0,
|
|
2318
2324
|
".MuiTypography-root": {
|
|
@@ -2322,7 +2328,7 @@ const navigationOverrides = {
|
|
|
2322
2328
|
[theme2.breakpoints.up("sm")]: {
|
|
2323
2329
|
// Overrides an unwanted Mui default style
|
|
2324
2330
|
"&.MuiButtonBase-root": {
|
|
2325
|
-
minHeight:
|
|
2331
|
+
minHeight: TablePaginationActions.MENU_ITEM_SIZE_DENSE
|
|
2326
2332
|
}
|
|
2327
2333
|
}
|
|
2328
2334
|
})
|
|
@@ -2336,7 +2342,7 @@ const navigationOverrides = {
|
|
|
2336
2342
|
".MuiPopover-root &, .MuiPopper-root &, .base-Popper-root &": {
|
|
2337
2343
|
minWidth: theme2.spacing(8),
|
|
2338
2344
|
// 64px, defined by design
|
|
2339
|
-
maxHeight:
|
|
2345
|
+
maxHeight: TablePaginationActions.MENU_LIST_MAX_SIZE,
|
|
2340
2346
|
// 312px, defined by design
|
|
2341
2347
|
overflowY: "auto",
|
|
2342
2348
|
"&:focus-visible": {
|
|
@@ -2404,10 +2410,10 @@ const navigationOverrides = {
|
|
|
2404
2410
|
alignItems: "center",
|
|
2405
2411
|
gap: theme2.spacing(2),
|
|
2406
2412
|
"& .MuiSvgIcon-root": {
|
|
2407
|
-
fontSize:
|
|
2413
|
+
fontSize: TablePaginationActions.ICON_SIZE_LARGE
|
|
2408
2414
|
},
|
|
2409
2415
|
".MuiMenuItem-root.MuiButtonBase-root &": {
|
|
2410
|
-
minWidth:
|
|
2416
|
+
minWidth: TablePaginationActions.ICON_SIZE_MEDIUM
|
|
2411
2417
|
}
|
|
2412
2418
|
})
|
|
2413
2419
|
}
|
|
@@ -2420,7 +2426,7 @@ const navigationOverrides = {
|
|
|
2420
2426
|
width: theme2.spacing(4)
|
|
2421
2427
|
},
|
|
2422
2428
|
"& .MuiSvgIcon-root": {
|
|
2423
|
-
fontSize:
|
|
2429
|
+
fontSize: TablePaginationActions.ICON_SIZE_MEDIUM
|
|
2424
2430
|
}
|
|
2425
2431
|
})
|
|
2426
2432
|
}
|
|
@@ -2492,7 +2498,7 @@ const navigationOverrides = {
|
|
|
2492
2498
|
alignItems: "center"
|
|
2493
2499
|
},
|
|
2494
2500
|
"& .MuiSvgIcon-root": {
|
|
2495
|
-
fontSize:
|
|
2501
|
+
fontSize: TablePaginationActions.ICON_SIZE_MEDIUM,
|
|
2496
2502
|
marginRight: theme2.spacing(1)
|
|
2497
2503
|
}
|
|
2498
2504
|
}),
|
|
@@ -2824,8 +2830,8 @@ const feedbackOverrides = {
|
|
|
2824
2830
|
padding: 0,
|
|
2825
2831
|
marginRight: theme2.spacing(1),
|
|
2826
2832
|
svg: {
|
|
2827
|
-
width:
|
|
2828
|
-
height:
|
|
2833
|
+
width: TablePaginationActions.ICON_SIZE_MEDIUM,
|
|
2834
|
+
height: TablePaginationActions.ICON_SIZE_MEDIUM
|
|
2829
2835
|
}
|
|
2830
2836
|
}),
|
|
2831
2837
|
action: () => ({
|
|
@@ -2861,7 +2867,7 @@ const surfacesOverrides = {
|
|
|
2861
2867
|
flexDirection: "row",
|
|
2862
2868
|
alignItems: "center",
|
|
2863
2869
|
justifyContent: "space-between",
|
|
2864
|
-
height:
|
|
2870
|
+
height: TablePaginationActions.APPBAR_SIZE,
|
|
2865
2871
|
backgroundColor: theme2.palette.brand.navyBlue,
|
|
2866
2872
|
color: theme2.palette.common.white,
|
|
2867
2873
|
boxShadow: theme2.shadows[0],
|
|
@@ -2869,7 +2875,7 @@ const surfacesOverrides = {
|
|
|
2869
2875
|
justifyContent: "space-between",
|
|
2870
2876
|
width: "100%",
|
|
2871
2877
|
padding: theme2.spacing(0, 1),
|
|
2872
|
-
minHeight:
|
|
2878
|
+
minHeight: TablePaginationActions.APPBAR_SIZE
|
|
2873
2879
|
},
|
|
2874
2880
|
"& .MuiAvatar-root": {
|
|
2875
2881
|
width: theme2.spacing(4),
|
|
@@ -2967,17 +2973,17 @@ const CssBaseline = {
|
|
|
2967
2973
|
'input[type="search"]::-webkit-search-cancel-button': {
|
|
2968
2974
|
WebkitAppearance: "none",
|
|
2969
2975
|
appearance: "none",
|
|
2970
|
-
height:
|
|
2971
|
-
width:
|
|
2976
|
+
height: TablePaginationActions.getSpacing(2),
|
|
2977
|
+
width: TablePaginationActions.getSpacing(2),
|
|
2972
2978
|
display: "block",
|
|
2973
2979
|
backgroundImage: `url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAB4AAAAeCAYAAAA7MK6iAAAAn0lEQVR42u3UMQrDMBBEUZ9WfQqDmm22EaTyjRMHAlM5K+Y7lb0wnUZPIKHlnutOa+25Z4D++MRBX98MD1V/trSppLKHqj9TTBWKcoUqffbUcbBBEhTjBOV4ja4l4OIAZThEOV6jHO8ARXD+gPPvKMABinGOrnu6gTNUawrcQKNCAQ7QeTxORzle3+sDfjJpPCqhJh7GixZq4rHcc9l5A9qZ+WeBhgEuAAAAAElFTkSuQmCC)`,
|
|
2974
2980
|
backgroundRepeat: "no-repeat",
|
|
2975
|
-
backgroundSize:
|
|
2981
|
+
backgroundSize: TablePaginationActions.getSpacing(2)
|
|
2976
2982
|
},
|
|
2977
2983
|
// Mapbox controls
|
|
2978
2984
|
".mapboxgl-ctrl.mapboxgl-ctrl-attrib": {
|
|
2979
|
-
padding:
|
|
2980
|
-
borderRadius:
|
|
2985
|
+
padding: TablePaginationActions.getSpacing(0, 1),
|
|
2986
|
+
borderRadius: TablePaginationActions.getSpacing(0.5, 0, 0, 0),
|
|
2981
2987
|
"& .mapboxgl-ctrl-attrib-inner": {
|
|
2982
2988
|
...themeTypography.overline,
|
|
2983
2989
|
textTransform: "none",
|
|
@@ -2988,11 +2994,11 @@ const CssBaseline = {
|
|
|
2988
2994
|
},
|
|
2989
2995
|
"&.mapboxgl-compact": {
|
|
2990
2996
|
backgroundColor: "transparent",
|
|
2991
|
-
right:
|
|
2992
|
-
bottom:
|
|
2997
|
+
right: TablePaginationActions.getSpacing(0.5),
|
|
2998
|
+
bottom: TablePaginationActions.getSpacing(2.5),
|
|
2993
2999
|
// Mobile
|
|
2994
3000
|
"@media (max-width: 600px)": {
|
|
2995
|
-
bottom:
|
|
3001
|
+
bottom: TablePaginationActions.getSpacing(0.5)
|
|
2996
3002
|
},
|
|
2997
3003
|
"& .mapboxgl-ctrl-attrib-button": {
|
|
2998
3004
|
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")`,
|
|
@@ -3006,9 +3012,9 @@ const CssBaseline = {
|
|
|
3006
3012
|
},
|
|
3007
3013
|
"& .mapboxgl-ctrl-attrib-inner": {
|
|
3008
3014
|
backgroundColor: "rgba(255,255,255,.8)",
|
|
3009
|
-
padding:
|
|
3010
|
-
borderRadius:
|
|
3011
|
-
marginRight:
|
|
3015
|
+
padding: TablePaginationActions.getSpacing(0.5, 1),
|
|
3016
|
+
borderRadius: TablePaginationActions.getSpacing(1.5),
|
|
3017
|
+
marginRight: TablePaginationActions.getSpacing(2.5),
|
|
3012
3018
|
color: (_f = paletteUtils.commonPalette.text) == null ? void 0 : _f.secondary
|
|
3013
3019
|
},
|
|
3014
3020
|
"&.mapboxgl-compact-show": {
|
|
@@ -3028,15 +3034,15 @@ const cartoThemeOptions = {
|
|
|
3028
3034
|
breakpoints: {
|
|
3029
3035
|
keys: ["xs", "sm", "md", "lg", "xl"],
|
|
3030
3036
|
values: {
|
|
3031
|
-
xs:
|
|
3037
|
+
xs: TablePaginationActions.BREAKPOINTS.XS,
|
|
3032
3038
|
// 320 - 599
|
|
3033
|
-
sm:
|
|
3039
|
+
sm: TablePaginationActions.BREAKPOINTS.SM,
|
|
3034
3040
|
// 600 - 959
|
|
3035
|
-
md:
|
|
3041
|
+
md: TablePaginationActions.BREAKPOINTS.MD,
|
|
3036
3042
|
// 960 - 1279
|
|
3037
|
-
lg:
|
|
3043
|
+
lg: TablePaginationActions.BREAKPOINTS.LG,
|
|
3038
3044
|
// 1280 - 1599
|
|
3039
|
-
xl:
|
|
3045
|
+
xl: TablePaginationActions.BREAKPOINTS.XL
|
|
3040
3046
|
// 1600+
|
|
3041
3047
|
},
|
|
3042
3048
|
unit: "px",
|
|
@@ -3064,9 +3070,9 @@ const cartoThemeOptions = {
|
|
|
3064
3070
|
palette: paletteUtils.commonPalette,
|
|
3065
3071
|
shadows: themeShadows,
|
|
3066
3072
|
typography: themeTypography,
|
|
3067
|
-
spacingValue:
|
|
3073
|
+
spacingValue: TablePaginationActions.SPACING,
|
|
3068
3074
|
// For situations where we can't use theme.spacing(), mainly math calculations.er
|
|
3069
|
-
spacing:
|
|
3075
|
+
spacing: TablePaginationActions.SPACING,
|
|
3070
3076
|
// For custom spacing: https://material-ui.com/customization/spacing/#custom-spacing
|
|
3071
3077
|
shape: {
|
|
3072
3078
|
borderRadius: 4
|
|
@@ -3117,17 +3123,17 @@ const cartoThemeOptions = {
|
|
|
3117
3123
|
};
|
|
3118
3124
|
const theme = material.responsiveFontSizes(material.createTheme(cartoThemeOptions));
|
|
3119
3125
|
exports.getCartoColorStylePropsForItem = paletteUtils.getCartoColorStylePropsForItem;
|
|
3120
|
-
exports.APPBAR_SIZE =
|
|
3121
|
-
exports.BREAKPOINTS =
|
|
3122
|
-
exports.ICON_SIZE_LARGE =
|
|
3123
|
-
exports.ICON_SIZE_MEDIUM =
|
|
3124
|
-
exports.ICON_SIZE_SMALL =
|
|
3125
|
-
exports.MENU_ITEM_SIZE_DEFAULT =
|
|
3126
|
-
exports.MENU_ITEM_SIZE_DENSE =
|
|
3127
|
-
exports.MENU_ITEM_SIZE_EXTENDED =
|
|
3128
|
-
exports.MENU_LIST_MAX_SIZE =
|
|
3129
|
-
exports.NOTIFICATION_DURATION_IN_MS =
|
|
3130
|
-
exports.SPACING =
|
|
3131
|
-
exports.getSpacing =
|
|
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;
|
|
3132
3138
|
exports.cartoThemeOptions = cartoThemeOptions;
|
|
3133
3139
|
exports.theme = theme;
|
package/dist/theme/index.js
CHANGED
|
@@ -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,
|
|
7
|
-
import {
|
|
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-DIFPc_wQ.js";
|
|
7
|
+
import { f, N } from "../TablePaginationActions-DIFPc_wQ.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-
|
|
11
|
+
import { M as MenuItem } from "../MenuItem-h41wtQTz.js";
|
|
12
12
|
const themeShadows = [
|
|
13
13
|
"none",
|
|
14
14
|
// 0
|
|
@@ -1461,7 +1461,9 @@ const formsOverrides = {
|
|
|
1461
1461
|
background: "transparent"
|
|
1462
1462
|
},
|
|
1463
1463
|
"& .MuiTypography-root": {
|
|
1464
|
-
|
|
1464
|
+
whiteSpace: "nowrap",
|
|
1465
|
+
overflow: "hidden",
|
|
1466
|
+
textOverflow: "ellipsis"
|
|
1465
1467
|
}
|
|
1466
1468
|
},
|
|
1467
1469
|
"& .MuiSelect-icon": {
|
|
@@ -1503,7 +1505,9 @@ const formsOverrides = {
|
|
|
1503
1505
|
...theme2.typography.body1,
|
|
1504
1506
|
"& input": {
|
|
1505
1507
|
padding: 0,
|
|
1506
|
-
|
|
1508
|
+
whiteSpace: "nowrap",
|
|
1509
|
+
overflow: "hidden",
|
|
1510
|
+
textOverflow: "ellipsis",
|
|
1507
1511
|
"&::placeholder": {
|
|
1508
1512
|
opacity: 1,
|
|
1509
1513
|
color: theme2.palette.text.hint
|
|
@@ -1832,7 +1836,9 @@ const formsOverrides = {
|
|
|
1832
1836
|
boxShadow: "none !important"
|
|
1833
1837
|
},
|
|
1834
1838
|
"& .MuiTypography-root": {
|
|
1835
|
-
|
|
1839
|
+
whiteSpace: "nowrap",
|
|
1840
|
+
overflow: "hidden",
|
|
1841
|
+
textOverflow: "ellipsis"
|
|
1836
1842
|
},
|
|
1837
1843
|
"&.MuiInputBase-inputSizeSmall": {
|
|
1838
1844
|
padding: theme2.spacing(0.75)
|
|
@@ -3124,7 +3130,7 @@ export {
|
|
|
3124
3130
|
ICON_SIZE_SMALL,
|
|
3125
3131
|
MENU_ITEM_SIZE_DEFAULT,
|
|
3126
3132
|
MENU_ITEM_SIZE_DENSE,
|
|
3127
|
-
|
|
3133
|
+
f as MENU_ITEM_SIZE_EXTENDED,
|
|
3128
3134
|
MENU_LIST_MAX_SIZE,
|
|
3129
3135
|
N as NOTIFICATION_DURATION_IN_MS,
|
|
3130
3136
|
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
|
-
|
|
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":"
|
|
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 {
|
|
2
|
-
import { AccordionGroup } from '..';
|
|
1
|
+
import { AccordionGroupProps } from '..';
|
|
3
2
|
declare const options: {
|
|
4
3
|
title: string;
|
|
5
|
-
component:
|
|
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:
|
|
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
|
|
44
|
-
render: (props:
|
|
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":"
|
|
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"}
|