@carto/meridian-ds 2.7.0-alpha-loader.6 → 2.8.0

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 (52) hide show
  1. package/CHANGELOG.md +7 -2
  2. package/dist/{Alert-CHyETxuP.js → Alert-BZPM5zpX.js} +1 -1
  3. package/dist/{Alert-DyUCYGVG.cjs → Alert-C4W0H_uN.cjs} +1 -1
  4. package/dist/{MenuItem-BLZz_nSA.cjs → MenuItem-CgF4QdGi.cjs} +1 -1
  5. package/dist/{MenuItem-CM00TU3e.js → MenuItem-DRUK149i.js} +1 -1
  6. package/dist/components/index.cjs +28 -80
  7. package/dist/components/index.js +30 -82
  8. package/dist/{css-utils-B9V_AMcv.cjs → css-utils-CH7es90t.cjs} +1 -212
  9. package/dist/{css-utils-Cr7ZvmiF.js → css-utils-CjUBRJVK.js} +5 -216
  10. package/dist/custom-icons/index.cjs +296 -226
  11. package/dist/custom-icons/index.js +296 -226
  12. package/dist/palette-utils-B9ybmwiI.cjs +304 -0
  13. package/dist/palette-utils-BHqJlHm9.js +288 -0
  14. package/dist/theme/index.cjs +83 -14
  15. package/dist/theme/index.js +76 -6
  16. package/dist/types/components/CircularProgress/CircularProgress.stories.d.ts.map +1 -1
  17. package/dist/types/components/Dialog/DialogConfirmation/DialogConfirmation.d.ts +1 -1
  18. package/dist/types/components/Dialog/DialogConfirmation/DialogConfirmation.d.ts.map +1 -1
  19. package/dist/types/components/Dialog/DialogConfirmation/DialogConfirmation.stories.d.ts +13 -0
  20. package/dist/types/components/Dialog/DialogConfirmation/DialogConfirmation.stories.d.ts.map +1 -1
  21. package/dist/types/components/Dialog/DialogHeader/DialogHeader.d.ts +1 -1
  22. package/dist/types/components/Dialog/DialogHeader/DialogHeader.d.ts.map +1 -1
  23. package/dist/types/components/Dialog/DialogHeader/DialogHeader.stories.d.ts +31 -0
  24. package/dist/types/components/Dialog/DialogHeader/DialogHeader.stories.d.ts.map +1 -1
  25. package/dist/types/components/Dialog/types.d.ts +7 -1
  26. package/dist/types/components/Dialog/types.d.ts.map +1 -1
  27. package/dist/types/components/Loader/Loader.d.ts +1 -39
  28. package/dist/types/components/Loader/Loader.d.ts.map +1 -1
  29. package/dist/types/components/Loader/Loader.stories.d.ts +1 -1
  30. package/dist/types/components/Loader/Loader.stories.d.ts.map +1 -1
  31. package/dist/types/components/Loader/index.d.ts +1 -1
  32. package/dist/types/components/Loader/index.d.ts.map +1 -1
  33. package/dist/types/components/Loader/types.d.ts +40 -0
  34. package/dist/types/components/Loader/types.d.ts.map +1 -0
  35. package/dist/types/components/ToggleButtonGroup/ToggleButtonGroup.d.ts +1 -4
  36. package/dist/types/components/ToggleButtonGroup/ToggleButtonGroup.d.ts.map +1 -1
  37. package/dist/types/custom-icons/CreateFolder.d.ts +4 -0
  38. package/dist/types/custom-icons/CreateFolder.d.ts.map +1 -0
  39. package/dist/types/custom-icons/FolderEmpty.d.ts +4 -0
  40. package/dist/types/custom-icons/FolderEmpty.d.ts.map +1 -0
  41. package/dist/types/custom-icons/SelectFeature.d.ts.map +1 -1
  42. package/dist/types/custom-icons/index.d.ts +2 -0
  43. package/dist/types/custom-icons/index.d.ts.map +1 -1
  44. package/dist/types/theme/components/buttons.d.ts.map +1 -1
  45. package/dist/types/theme/components/stories/LinearProgress.stories.d.ts.map +1 -1
  46. package/dist/types/theme/types.d.ts +6 -0
  47. package/dist/types/theme/types.d.ts.map +1 -1
  48. package/dist/widgets/index.cjs +5 -5
  49. package/dist/widgets/index.js +3 -3
  50. package/package.json +1 -1
  51. package/dist/palette-utils-C5CHlLXB.cjs +0 -93
  52. package/dist/palette-utils-D99Ib0kC.js +0 -77
@@ -2,13 +2,13 @@
2
2
  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
- const cssUtils = require("../css-utils-B9V_AMcv.cjs");
5
+ const paletteUtils = require("../palette-utils-B9ybmwiI.cjs");
6
6
  const jsxRuntime = require("react/jsx-runtime");
7
+ const cssUtils = require("../css-utils-CH7es90t.cjs");
7
8
  const iconsMaterial = require("@mui/icons-material");
8
9
  const ArrowDown = require("../ArrowDown-DJ0vhbsw.cjs");
9
10
  const xDatePickers = require("@mui/x-date-pickers");
10
- const MenuItem = require("../MenuItem-BLZz_nSA.cjs");
11
- const paletteUtils = require("../palette-utils-C5CHlLXB.cjs");
11
+ const MenuItem = require("../MenuItem-CgF4QdGi.cjs");
12
12
  const themeShadows = [
13
13
  "none",
14
14
  // 0
@@ -1213,7 +1213,7 @@ const buttonsOverrides = {
1213
1213
  exclusive: true
1214
1214
  },
1215
1215
  styleOverrides: {
1216
- root: ({ theme: theme2 }) => ({
1216
+ root: ({ theme: theme2, ownerState }) => ({
1217
1217
  alignItems: "center",
1218
1218
  justifyContent: "center",
1219
1219
  borderRadius: theme2.spacing(1),
@@ -1241,6 +1241,75 @@ const buttonsOverrides = {
1241
1241
  "& + .MuiDivider-root.MuiDivider-horizontal": {
1242
1242
  width: sizeMedium
1243
1243
  }
1244
+ },
1245
+ // Variant: contained
1246
+ ...ownerState.variant === "contained" && {
1247
+ boxShadow: "none"
1248
+ },
1249
+ // Variant: unbounded
1250
+ ...ownerState.variant === "unbounded" && {
1251
+ boxShadow: "none",
1252
+ borderRadius: theme2.spacing(0.5),
1253
+ "& .MuiDivider-root": {
1254
+ height: theme2.spacing(4),
1255
+ "&.MuiToggleButtonGroup-groupedHorizontal": {
1256
+ height: theme2.spacing(4)
1257
+ },
1258
+ "&.MuiToggleButtonGroup-groupedVertical": {
1259
+ height: "auto",
1260
+ width: theme2.spacing(4),
1261
+ margin: `${theme2.spacing(0.5, 0, 1)} !important`,
1262
+ borderRadius: "0 !important"
1263
+ }
1264
+ },
1265
+ "& .MuiToggleButton-sizeSmall": {
1266
+ margin: 0,
1267
+ "&.MuiToggleButtonGroup-grouped:not(.MuiDivider-root)": {
1268
+ margin: 0
1269
+ },
1270
+ "& + .MuiDivider-root.MuiToggleButtonGroup-groupedHorizontal": {
1271
+ height: theme2.spacing(3)
1272
+ },
1273
+ "& + .MuiDivider-root.MuiToggleButtonGroup-groupedVertical": {
1274
+ height: "auto",
1275
+ width: theme2.spacing(3)
1276
+ }
1277
+ },
1278
+ ".MuiToggleButtonGroup-grouped:not(.MuiDivider-root)": {
1279
+ margin: 0,
1280
+ "&:first-of-type": {
1281
+ marginLeft: 0
1282
+ },
1283
+ "&:not(:last-of-type)": {
1284
+ marginRight: theme2.spacing(0.5)
1285
+ }
1286
+ },
1287
+ "&.MuiToggleButtonGroup-horizontal:not(.MuiDivider-root)": {
1288
+ ".MuiToggleButtonGroup-grouped": {
1289
+ margin: theme2.spacing(0, 0.5)
1290
+ }
1291
+ },
1292
+ "&.MuiToggleButtonGroup-vertical:not(.MuiDivider-root)": {
1293
+ ".MuiToggleButtonGroup-grouped": {
1294
+ margin: theme2.spacing(0, 0, 0.5),
1295
+ "&:not(:last-of-type)": {
1296
+ marginRight: 0
1297
+ },
1298
+ "&:last-of-type": {
1299
+ marginBottom: 0
1300
+ }
1301
+ }
1302
+ }
1303
+ },
1304
+ // Background colors using data-attribute selector
1305
+ '&[data-background-color="primary"]': {
1306
+ backgroundColor: theme2.palette.background.paper
1307
+ },
1308
+ '&[data-background-color="secondary"]': {
1309
+ backgroundColor: theme2.palette.background.default
1310
+ },
1311
+ '&[data-background-color="transparent"]': {
1312
+ backgroundColor: "transparent"
1244
1313
  }
1245
1314
  }),
1246
1315
  // Styles applied to the children if orientation="horizontal"
@@ -3016,8 +3085,8 @@ const layoutOverrides = {
3016
3085
  const CssBaseline = {
3017
3086
  // Accessibility focus (keyboard only)
3018
3087
  "*:focus-visible": {
3019
- outline: `2px solid ${(_a = cssUtils.commonPalette.primary) == null ? void 0 : _a.main} !important`,
3020
- boxShadow: `0 0 0 4px ${(_b = cssUtils.commonPalette.primary) == null ? void 0 : _b.background} !important`,
3088
+ outline: `2px solid ${(_a = paletteUtils.commonPalette.primary) == null ? void 0 : _a.main} !important`,
3089
+ boxShadow: `0 0 0 4px ${(_b = paletteUtils.commonPalette.primary) == null ? void 0 : _b.background} !important`,
3021
3090
  borderRadius: "4px"
3022
3091
  },
3023
3092
  // Custom scrollbars
@@ -3036,7 +3105,7 @@ const CssBaseline = {
3036
3105
  },
3037
3106
  "*::-webkit-scrollbar-thumb": {
3038
3107
  borderRadius: "3px",
3039
- background: (_c = cssUtils.commonPalette.action) == null ? void 0 : _c.focus,
3108
+ background: (_c = paletteUtils.commonPalette.action) == null ? void 0 : _c.focus,
3040
3109
  outline: "none"
3041
3110
  },
3042
3111
  // iOS Search clear button
@@ -3059,7 +3128,7 @@ const CssBaseline = {
3059
3128
  textTransform: "none",
3060
3129
  letterSpacing: "0.75px",
3061
3130
  "& a": {
3062
- color: (_d = cssUtils.commonPalette.primary) == null ? void 0 : _d.main
3131
+ color: (_d = paletteUtils.commonPalette.primary) == null ? void 0 : _d.main
3063
3132
  }
3064
3133
  },
3065
3134
  "&.mapboxgl-compact": {
@@ -3071,7 +3140,7 @@ const CssBaseline = {
3071
3140
  bottom: cssUtils.getSpacing(0.5)
3072
3141
  },
3073
3142
  "& .mapboxgl-ctrl-attrib-button": {
3074
- 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 = cssUtils.commonPalette.text) == null ? void 0 : _e.secondary}'/%3E%3C/g%3E%3C/g%3E%3C/g%3E%3C/svg%3E")`,
3143
+ 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")`,
3075
3144
  backgroundColor: "rgba(255,255,255,.8)",
3076
3145
  top: "auto",
3077
3146
  bottom: 0,
@@ -3085,14 +3154,14 @@ const CssBaseline = {
3085
3154
  padding: cssUtils.getSpacing(0.5, 1),
3086
3155
  borderRadius: cssUtils.getSpacing(1.5),
3087
3156
  marginRight: cssUtils.getSpacing(2.5),
3088
- color: (_f = cssUtils.commonPalette.text) == null ? void 0 : _f.secondary
3157
+ color: (_f = paletteUtils.commonPalette.text) == null ? void 0 : _f.secondary
3089
3158
  },
3090
3159
  "&.mapboxgl-compact-show": {
3091
3160
  "& .mapboxgl-ctrl-attrib-button": {
3092
3161
  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%3Cpath%20d='M0%200h24v24H0z'%20fill='none'/%3E%3Cpath%20d='M19%206.41L17.59%205%2012%2010.59%206.41%205%205%206.41%2010.59%2012%205%2017.59%206.41%2019%2012%2013.41%2017.59%2019%2019%2017.59%2013.41%2012z'%20fill='white'/%3E%3C/svg%3E")`,
3093
- backgroundColor: (_g = cssUtils.commonPalette.common) == null ? void 0 : _g.black,
3162
+ backgroundColor: (_g = paletteUtils.commonPalette.common) == null ? void 0 : _g.black,
3094
3163
  "&:not(:disabled):hover": {
3095
- backgroundColor: (_h = cssUtils.commonPalette.common) == null ? void 0 : _h.black
3164
+ backgroundColor: (_h = paletteUtils.commonPalette.common) == null ? void 0 : _h.black
3096
3165
  }
3097
3166
  }
3098
3167
  }
@@ -3137,7 +3206,7 @@ const cartoThemeOptions = {
3137
3206
  }
3138
3207
  }
3139
3208
  },
3140
- palette: cssUtils.commonPalette,
3209
+ palette: paletteUtils.commonPalette,
3141
3210
  shadows: themeShadows,
3142
3211
  typography: themeTypography,
3143
3212
  spacingValue: cssUtils.SPACING,
@@ -3193,6 +3262,7 @@ const cartoThemeOptions = {
3193
3262
  }
3194
3263
  };
3195
3264
  const theme = material.responsiveFontSizes(material.createTheme(cartoThemeOptions));
3265
+ exports.getCartoColorStylePropsForItem = paletteUtils.getCartoColorStylePropsForItem;
3196
3266
  exports.APPBAR_SIZE = cssUtils.APPBAR_SIZE;
3197
3267
  exports.BREAKPOINTS = cssUtils.BREAKPOINTS;
3198
3268
  exports.ICON_SIZE_LARGE = cssUtils.ICON_SIZE_LARGE;
@@ -3205,6 +3275,5 @@ exports.MENU_LIST_MAX_SIZE = cssUtils.MENU_LIST_MAX_SIZE;
3205
3275
  exports.NOTIFICATION_DURATION_IN_MS = cssUtils.NOTIFICATION_DURATION_IN_MS;
3206
3276
  exports.SPACING = cssUtils.SPACING;
3207
3277
  exports.getSpacing = cssUtils.getSpacing;
3208
- exports.getCartoColorStylePropsForItem = paletteUtils.getCartoColorStylePropsForItem;
3209
3278
  exports.cartoThemeOptions = cartoThemeOptions;
3210
3279
  exports.theme = theme;
@@ -1,13 +1,14 @@
1
1
  var _a, _b, _c, _d, _e, _f, _g, _h;
2
2
  import { alpha, Tooltip, responsiveFontSizes, createTheme } from "@mui/material";
3
- 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, h as commonPalette, B as BREAKPOINTS, S as SPACING } from "../css-utils-Cr7ZvmiF.js";
4
- import { i, N } from "../css-utils-Cr7ZvmiF.js";
3
+ import { c as commonPalette } from "../palette-utils-BHqJlHm9.js";
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, 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-CjUBRJVK.js";
7
+ import { h, N } from "../css-utils-CjUBRJVK.js";
6
8
  import { Cancel, EventOutlined, ChevronRightOutlined, ChevronLeftOutlined, ExpandMoreOutlined, CheckCircleOutlined, InfoOutlined } from "@mui/icons-material";
7
9
  import { A as ArrowDown } from "../ArrowDown-d6bxUL0F.js";
8
10
  import { renderDigitalClockTimeView } from "@mui/x-date-pickers";
9
- import { M as MenuItem } from "../MenuItem-CM00TU3e.js";
10
- import { g } from "../palette-utils-D99Ib0kC.js";
11
+ import { M as MenuItem } from "../MenuItem-DRUK149i.js";
11
12
  const themeShadows = [
12
13
  "none",
13
14
  // 0
@@ -1212,7 +1213,7 @@ const buttonsOverrides = {
1212
1213
  exclusive: true
1213
1214
  },
1214
1215
  styleOverrides: {
1215
- root: ({ theme: theme2 }) => ({
1216
+ root: ({ theme: theme2, ownerState }) => ({
1216
1217
  alignItems: "center",
1217
1218
  justifyContent: "center",
1218
1219
  borderRadius: theme2.spacing(1),
@@ -1240,6 +1241,75 @@ const buttonsOverrides = {
1240
1241
  "& + .MuiDivider-root.MuiDivider-horizontal": {
1241
1242
  width: sizeMedium
1242
1243
  }
1244
+ },
1245
+ // Variant: contained
1246
+ ...ownerState.variant === "contained" && {
1247
+ boxShadow: "none"
1248
+ },
1249
+ // Variant: unbounded
1250
+ ...ownerState.variant === "unbounded" && {
1251
+ boxShadow: "none",
1252
+ borderRadius: theme2.spacing(0.5),
1253
+ "& .MuiDivider-root": {
1254
+ height: theme2.spacing(4),
1255
+ "&.MuiToggleButtonGroup-groupedHorizontal": {
1256
+ height: theme2.spacing(4)
1257
+ },
1258
+ "&.MuiToggleButtonGroup-groupedVertical": {
1259
+ height: "auto",
1260
+ width: theme2.spacing(4),
1261
+ margin: `${theme2.spacing(0.5, 0, 1)} !important`,
1262
+ borderRadius: "0 !important"
1263
+ }
1264
+ },
1265
+ "& .MuiToggleButton-sizeSmall": {
1266
+ margin: 0,
1267
+ "&.MuiToggleButtonGroup-grouped:not(.MuiDivider-root)": {
1268
+ margin: 0
1269
+ },
1270
+ "& + .MuiDivider-root.MuiToggleButtonGroup-groupedHorizontal": {
1271
+ height: theme2.spacing(3)
1272
+ },
1273
+ "& + .MuiDivider-root.MuiToggleButtonGroup-groupedVertical": {
1274
+ height: "auto",
1275
+ width: theme2.spacing(3)
1276
+ }
1277
+ },
1278
+ ".MuiToggleButtonGroup-grouped:not(.MuiDivider-root)": {
1279
+ margin: 0,
1280
+ "&:first-of-type": {
1281
+ marginLeft: 0
1282
+ },
1283
+ "&:not(:last-of-type)": {
1284
+ marginRight: theme2.spacing(0.5)
1285
+ }
1286
+ },
1287
+ "&.MuiToggleButtonGroup-horizontal:not(.MuiDivider-root)": {
1288
+ ".MuiToggleButtonGroup-grouped": {
1289
+ margin: theme2.spacing(0, 0.5)
1290
+ }
1291
+ },
1292
+ "&.MuiToggleButtonGroup-vertical:not(.MuiDivider-root)": {
1293
+ ".MuiToggleButtonGroup-grouped": {
1294
+ margin: theme2.spacing(0, 0, 0.5),
1295
+ "&:not(:last-of-type)": {
1296
+ marginRight: 0
1297
+ },
1298
+ "&:last-of-type": {
1299
+ marginBottom: 0
1300
+ }
1301
+ }
1302
+ }
1303
+ },
1304
+ // Background colors using data-attribute selector
1305
+ '&[data-background-color="primary"]': {
1306
+ backgroundColor: theme2.palette.background.paper
1307
+ },
1308
+ '&[data-background-color="secondary"]': {
1309
+ backgroundColor: theme2.palette.background.default
1310
+ },
1311
+ '&[data-background-color="transparent"]': {
1312
+ backgroundColor: "transparent"
1243
1313
  }
1244
1314
  }),
1245
1315
  // Styles applied to the children if orientation="horizontal"
@@ -3200,7 +3270,7 @@ export {
3200
3270
  ICON_SIZE_SMALL,
3201
3271
  MENU_ITEM_SIZE_DEFAULT,
3202
3272
  MENU_ITEM_SIZE_DENSE,
3203
- i as MENU_ITEM_SIZE_EXTENDED,
3273
+ h as MENU_ITEM_SIZE_EXTENDED,
3204
3274
  MENU_LIST_MAX_SIZE,
3205
3275
  N as NOTIFICATION_DURATION_IN_MS,
3206
3276
  SPACING,
@@ -1 +1 @@
1
- {"version":3,"file":"CircularProgress.stories.d.ts","sourceRoot":"","sources":["../../../../src/components/CircularProgress/CircularProgress.stories.tsx"],"names":[],"mappings":"AAEA,OAAyB,EAAE,qBAAqB,EAAE,MAAM,oBAAoB,CAAA;AAG5E,QAAA,MAAM,OAAO;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAmDG,CAAA;AAChB,eAAe,OAAO,CAAA;AAsItB,eAAO,MAAM,UAAU;mBApIC,qBAAqB;;;;;;CAyI5C,CAAA;AAED,eAAO,MAAM,KAAK;mBAzIW,qBAAqB;CA2IjD,CAAA;AAED,eAAO,MAAM,IAAI;mBAtFW,qBAAqB;CAwFhD,CAAA;AAED,eAAO,MAAM,SAAS;mBAjEW,qBAAqB;CAmErD,CAAA;AAED,eAAO,MAAM,OAAO;mBA5CW,qBAAqB;CA8CnD,CAAA"}
1
+ {"version":3,"file":"CircularProgress.stories.d.ts","sourceRoot":"","sources":["../../../../src/components/CircularProgress/CircularProgress.stories.tsx"],"names":[],"mappings":"AAEA,OAAyB,EAAE,qBAAqB,EAAE,MAAM,oBAAoB,CAAA;AAG5E,QAAA,MAAM,OAAO;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAmDG,CAAA;AAChB,eAAe,OAAO,CAAA;AAiGtB,eAAO,MAAM,UAAU;mBA/FC,qBAAqB;;;;;;CAoG5C,CAAA;AAED,eAAO,MAAM,KAAK;mBApGW,qBAAqB;CAsGjD,CAAA;AAED,eAAO,MAAM,IAAI;mBA5EW,qBAAqB;CA8EhD,CAAA;AAED,eAAO,MAAM,SAAS;mBA7DW,qBAAqB;CA+DrD,CAAA;AAED,eAAO,MAAM,OAAO;mBA5CW,qBAAqB;CA8CnD,CAAA"}
@@ -1,4 +1,4 @@
1
1
  import { DialogConfirmationProps } from '../types';
2
- declare function DialogConfirmation({ children, onClickAway, actions, severity, opened, 'data-testid': dataTestId, 'aria-label': ariaLabel, ...alertProps }: DialogConfirmationProps): import("react/jsx-runtime").JSX.Element;
2
+ declare function DialogConfirmation({ children, onClickAway, actions, severity, opened, 'data-testid': dataTestId, 'aria-label': ariaLabel, slideProps, ...alertProps }: DialogConfirmationProps): import("react/jsx-runtime").JSX.Element;
3
3
  export default DialogConfirmation;
4
4
  //# sourceMappingURL=DialogConfirmation.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"DialogConfirmation.d.ts","sourceRoot":"","sources":["../../../../../src/components/Dialog/DialogConfirmation/DialogConfirmation.tsx"],"names":[],"mappings":"AAMA,OAAO,EAAE,uBAAuB,EAAE,MAAM,UAAU,CAAA;AAiClD,iBAAS,kBAAkB,CAAC,EAC1B,QAAQ,EACR,WAAW,EACX,OAAO,EACP,QAAoB,EACpB,MAAM,EACN,aAAa,EAAE,UAAU,EACzB,YAAY,EAAE,SAAS,EACvB,GAAG,UAAU,EACd,EAAE,uBAAuB,2CAwCzB;AAED,eAAe,kBAAkB,CAAA"}
1
+ {"version":3,"file":"DialogConfirmation.d.ts","sourceRoot":"","sources":["../../../../../src/components/Dialog/DialogConfirmation/DialogConfirmation.tsx"],"names":[],"mappings":"AAMA,OAAO,EAAE,uBAAuB,EAAE,MAAM,UAAU,CAAA;AAiClD,iBAAS,kBAAkB,CAAC,EAC1B,QAAQ,EACR,WAAW,EACX,OAAO,EACP,QAAoB,EACpB,MAAM,EACN,aAAa,EAAE,UAAU,EACzB,YAAY,EAAE,SAAS,EACvB,UAAU,EACV,GAAG,UAAU,EACd,EAAE,uBAAuB,2CA8CzB;AAED,eAAe,kBAAkB,CAAA"}
@@ -17,6 +17,12 @@ declare const options: {
17
17
  type: "select";
18
18
  };
19
19
  };
20
+ slideProps: {
21
+ control: {
22
+ type: "object";
23
+ };
24
+ description: string;
25
+ };
20
26
  };
21
27
  args: {
22
28
  severity: "warning";
@@ -36,4 +42,11 @@ export default options;
36
42
  export declare const Playground: {
37
43
  render: ({ severity, content, title, ...dialogProps }: DialogProps & AlertProps) => import("react/jsx-runtime").JSX.Element;
38
44
  };
45
+ export declare const CustomSlideProps: {
46
+ render: ({ severity, content, title, ...dialogProps }: DialogProps & AlertProps) => import("react/jsx-runtime").JSX.Element;
47
+ args: {
48
+ severity: string;
49
+ title: string;
50
+ };
51
+ };
39
52
  //# sourceMappingURL=DialogConfirmation.stories.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"DialogConfirmation.stories.d.ts","sourceRoot":"","sources":["../../../../../src/components/Dialog/DialogConfirmation/DialogConfirmation.stories.tsx"],"names":[],"mappings":"AAGA,OAAO,EAML,kBAAkB,EAClB,UAAU,EACX,MAAM,cAAc,CAAA;AACrB,OAAO,EAAE,WAAW,EAAE,MAAM,UAAU,CAAA;AAEtC,QAAA,MAAM,OAAO;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA2B8B,CAAA;AAE3C,eAAe,OAAO,CAAA;AA0EtB,eAAO,MAAM,UAAU;2DAnEpB,WAAW,GAAG,UAAU;CAqE1B,CAAA"}
1
+ {"version":3,"file":"DialogConfirmation.stories.d.ts","sourceRoot":"","sources":["../../../../../src/components/Dialog/DialogConfirmation/DialogConfirmation.stories.tsx"],"names":[],"mappings":"AAGA,OAAO,EAML,kBAAkB,EAClB,UAAU,EACX,MAAM,cAAc,CAAA;AACrB,OAAO,EAAE,WAAW,EAAE,MAAM,UAAU,CAAA;AAEtC,QAAA,MAAM,OAAO;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAgC8B,CAAA;AAE3C,eAAe,OAAO,CAAA;AA0EtB,eAAO,MAAM,UAAU;2DAnEpB,WAAW,GAAG,UAAU;CAqE1B,CAAA;AAyED,eAAO,MAAM,gBAAgB;2DAlE1B,WAAW,GAAG,UAAU;;;;;CAwE1B,CAAA"}
@@ -1,4 +1,4 @@
1
1
  import { DialogHeaderProps } from '../types';
2
- declare function DialogHeader({ title, chipLabel, chipProps, children, onClose, secondaryActions, 'aria-label': ariaLabel, closeIcon, closeTooltipText, ...otherProps }: DialogHeaderProps): import("react/jsx-runtime").JSX.Element;
2
+ declare function DialogHeader({ title, chipLabel, chipProps, children, onClose, secondaryActions, 'aria-label': ariaLabel, closeIcon, closeTooltipText, tooltipProps, iconButtonProps, ...otherProps }: DialogHeaderProps): import("react/jsx-runtime").JSX.Element;
3
3
  export default DialogHeader;
4
4
  //# sourceMappingURL=DialogHeader.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"DialogHeader.d.ts","sourceRoot":"","sources":["../../../../../src/components/Dialog/DialogHeader/DialogHeader.tsx"],"names":[],"mappings":"AAYA,OAAO,EAAE,iBAAiB,EAAE,MAAM,UAAU,CAAA;AAgC5C,iBAAS,YAAY,CAAC,EACpB,KAAK,EACL,SAAS,EACT,SAAS,EACT,QAAQ,EACR,OAAO,EACP,gBAAgB,EAChB,YAAY,EAAE,SAAS,EACvB,SAAS,EACT,gBAAgB,EAChB,GAAG,UAAU,EACd,EAAE,iBAAiB,2CA6CnB;AAED,eAAe,YAAY,CAAA"}
1
+ {"version":3,"file":"DialogHeader.d.ts","sourceRoot":"","sources":["../../../../../src/components/Dialog/DialogHeader/DialogHeader.tsx"],"names":[],"mappings":"AAYA,OAAO,EAAE,iBAAiB,EAAE,MAAM,UAAU,CAAA;AAgC5C,iBAAS,YAAY,CAAC,EACpB,KAAK,EACL,SAAS,EACT,SAAS,EACT,QAAQ,EACR,OAAO,EACP,gBAAgB,EAChB,YAAY,EAAE,SAAS,EACvB,SAAS,EACT,gBAAgB,EAChB,YAAY,EACZ,eAAe,EACf,GAAG,UAAU,EACd,EAAE,iBAAiB,2CAiDnB;AAED,eAAe,YAAY,CAAA"}
@@ -3,6 +3,20 @@ declare const options: {
3
3
  title: string;
4
4
  component: typeof DialogHeader;
5
5
  tags: string[];
6
+ argTypes: {
7
+ tooltipProps: {
8
+ control: {
9
+ type: "object";
10
+ };
11
+ description: string;
12
+ };
13
+ iconButtonProps: {
14
+ control: {
15
+ type: "object";
16
+ };
17
+ description: string;
18
+ };
19
+ };
6
20
  args: {
7
21
  title: string;
8
22
  onClose: () => undefined;
@@ -54,4 +68,21 @@ export declare const CustomCloseTooltipText: {
54
68
  };
55
69
  };
56
70
  };
71
+ export declare const CustomTooltipProps: {
72
+ args: {
73
+ tooltipProps: {
74
+ arrow: boolean;
75
+ placement: string;
76
+ enterDelay: number;
77
+ };
78
+ };
79
+ };
80
+ export declare const CustomIconButtonProps: {
81
+ args: {
82
+ iconButtonProps: {
83
+ color: string;
84
+ size: string;
85
+ };
86
+ };
87
+ };
57
88
  //# sourceMappingURL=DialogHeader.stories.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"DialogHeader.stories.d.ts","sourceRoot":"","sources":["../../../../../src/components/Dialog/DialogHeader/DialogHeader.stories.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,YAAY,EAAiB,MAAM,cAAc,CAAA;AAG1D,QAAA,MAAM,OAAO;;;;;;;;;;;;;;;;;CAiBwB,CAAA;AAErC,eAAe,OAAO,CAAA;AAEtB,eAAO,MAAM,UAAU,IAAK,CAAA;AAE5B,eAAO,MAAM,eAAe;;;;CAQ3B,CAAA;AAED,eAAO,MAAM,QAAQ;;;;;CAMpB,CAAA;AAED,eAAO,MAAM,oBAAoB;;;;CAQhC,CAAA;AAED,eAAO,MAAM,YAAY;;;;CASxB,CAAA;AAED,eAAO,MAAM,sBAAsB;;;;;;;;;;;;;CAclC,CAAA"}
1
+ {"version":3,"file":"DialogHeader.stories.d.ts","sourceRoot":"","sources":["../../../../../src/components/Dialog/DialogHeader/DialogHeader.stories.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,YAAY,EAAiB,MAAM,cAAc,CAAA;AAG1D,QAAA,MAAM,OAAO;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA2BwB,CAAA;AAErC,eAAe,OAAO,CAAA;AAEtB,eAAO,MAAM,UAAU,IAAK,CAAA;AAE5B,eAAO,MAAM,eAAe;;;;CAQ3B,CAAA;AAED,eAAO,MAAM,QAAQ;;;;;CAMpB,CAAA;AAED,eAAO,MAAM,oBAAoB;;;;CAQhC,CAAA;AAED,eAAO,MAAM,YAAY;;;;CASxB,CAAA;AAED,eAAO,MAAM,sBAAsB;;;;;;;;;;;;;CAclC,CAAA;AAED,eAAO,MAAM,kBAAkB;;;;;;;;CAQ9B,CAAA;AAED,eAAO,MAAM,qBAAqB;;;;;;;CAOjC,CAAA"}
@@ -1,5 +1,5 @@
1
1
  import { ReactNode } from 'react';
2
- import { ChipProps, DialogProps as MuiDialogProps, DialogContentProps as MuiDialogContentProps, DialogActionsProps as MuiDialogActionsProps, DialogTitleProps as MuiDialogTitleProps } from '@mui/material';
2
+ import { ChipProps, DialogProps as MuiDialogProps, DialogContentProps as MuiDialogContentProps, DialogActionsProps as MuiDialogActionsProps, DialogTitleProps as MuiDialogTitleProps, TooltipProps, IconButtonProps, SlideProps } from '@mui/material';
3
3
  import { AlertProps } from '../Alert/Alert';
4
4
  export type DialogSize = 'small' | 'medium' | 'large' | 'xlarge';
5
5
  export interface DialogProps extends MuiDialogProps {
@@ -61,6 +61,10 @@ export type DialogHeaderProps = Omit<MuiDialogTitleProps, 'title'> & {
61
61
  ariaLabel?: string;
62
62
  closeIcon?: ReactNode;
63
63
  closeTooltipText?: string;
64
+ /** Props to pass to the Tooltip component around the close button */
65
+ tooltipProps?: Partial<TooltipProps>;
66
+ /** Props to pass to the IconButton component for the close button */
67
+ iconButtonProps?: Partial<Omit<IconButtonProps, 'children'>>;
64
68
  };
65
69
  export interface DialogStepperProps {
66
70
  currentStep: number;
@@ -71,5 +75,7 @@ export type DialogConfirmationProps = AlertProps & {
71
75
  actions: ReactNode;
72
76
  opened: boolean;
73
77
  'data-testid'?: string;
78
+ /** Props to pass to the Slide component for animation customization */
79
+ slideProps?: Partial<Omit<SlideProps, 'in' | 'container' | 'children'>>;
74
80
  };
75
81
  //# sourceMappingURL=types.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../src/components/Dialog/types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,OAAO,CAAA;AACjC,OAAO,EACL,SAAS,EACT,WAAW,IAAI,cAAc,EAC7B,kBAAkB,IAAI,qBAAqB,EAC3C,kBAAkB,IAAI,qBAAqB,EAC3C,gBAAgB,IAAI,mBAAmB,EACxC,MAAM,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,CAAA;IAClB,MAAM,EAAE,OAAO,CAAA;IACf,aAAa,CAAC,EAAE,MAAM,CAAA;IACtB,uEAAuE;IACvE,UAAU,CAAC,EAAE,OAAO,CAAC,IAAI,CAAC,UAAU,EAAE,IAAI,GAAG,WAAW,GAAG,UAAU,CAAC,CAAC,CAAA;CACxE,CAAA"}
@@ -1,42 +1,4 @@
1
- import { ReactNode } from 'react';
2
- import { SxProps, Theme } from '@mui/material';
3
- import { CircularProgressProps } from '../CircularProgress';
4
- import { TypographyProps } from '../Typography';
5
- export type LoaderProps = {
6
- /**
7
- * The label to display.
8
- * If not provided, the default label 'Loading...' will be displayed.
9
- */
10
- label?: ReactNode;
11
- /**
12
- * The props to pass to the label Typography component to override the default styles.
13
- */
14
- labelProps?: TypographyProps;
15
- /**
16
- * The second label to display.
17
- * If not provided, no second label will be displayed.
18
- */
19
- secondLabel?: ReactNode;
20
- /**
21
- * The props to pass to the second label Typography component to override the default styles.
22
- */
23
- secondLabelProps?: TypographyProps;
24
- /**
25
- * The props to pass to the CircularProgress component.
26
- */
27
- iconProps?: CircularProgressProps;
28
- /**
29
- * The height of the component.
30
- * If using a number, the pixel unit is assumed.
31
- * If using a string, you need to provide the CSS unit, for example '3rem'.
32
- * @default undefined
33
- */
34
- contentHeight?: number | string;
35
- /**
36
- * The props to pass to the container element to override the default styles.
37
- */
38
- sx?: SxProps<Theme>;
39
- };
1
+ import { LoaderProps } from './types';
40
2
  declare const Loader: import('react').ForwardRefExoticComponent<LoaderProps & import('react').RefAttributes<HTMLDivElement>>;
41
3
  export default Loader;
42
4
  //# sourceMappingURL=Loader.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Loader.d.ts","sourceRoot":"","sources":["../../../../src/components/Loader/Loader.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAA4B,MAAM,OAAO,CAAA;AAC3D,OAAO,EAAiB,OAAO,EAAE,KAAK,EAAE,MAAM,eAAe,CAAA;AAC7D,OAAO,EAAoB,qBAAqB,EAAE,MAAM,qBAAqB,CAAA;AAC7E,OAAO,EAAc,eAAe,EAAE,MAAM,eAAe,CAAA;AAG3D,MAAM,MAAM,WAAW,GAAG;IACxB;;;OAGG;IACH,KAAK,CAAC,EAAE,SAAS,CAAA;IACjB;;OAEG;IACH,UAAU,CAAC,EAAE,eAAe,CAAA;IAC5B;;;OAGG;IACH,WAAW,CAAC,EAAE,SAAS,CAAA;IACvB;;OAEG;IACH,gBAAgB,CAAC,EAAE,eAAe,CAAA;IAClC;;OAEG;IACH,SAAS,CAAC,EAAE,qBAAqB,CAAA;IACjC;;;;;OAKG;IACH,aAAa,CAAC,EAAE,MAAM,GAAG,MAAM,CAAA;IAC/B;;OAEG;IACH,EAAE,CAAC,EAAE,OAAO,CAAC,KAAK,CAAC,CAAA;CACpB,CAAA;AAgFD,QAAA,MAAM,MAAM,wGAAsB,CAAA;AAClC,eAAe,MAAM,CAAA"}
1
+ {"version":3,"file":"Loader.d.ts","sourceRoot":"","sources":["../../../../src/components/Loader/Loader.tsx"],"names":[],"mappings":"AAKA,OAAO,EAAE,WAAW,EAAE,MAAM,SAAS,CAAA;AAgFrC,QAAA,MAAM,MAAM,wGAAsB,CAAA;AAClC,eAAe,MAAM,CAAA"}
@@ -1,4 +1,4 @@
1
- import { LoaderProps } from './Loader';
1
+ import { LoaderProps } from './types';
2
2
  import { CircularProgressProps } from '../CircularProgress';
3
3
  type LoaderStoryProps = LoaderProps & {
4
4
  /**
@@ -1 +1 @@
1
- {"version":3,"file":"Loader.stories.d.ts","sourceRoot":"","sources":["../../../../src/components/Loader/Loader.stories.tsx"],"names":[],"mappings":"AAEA,OAAe,EAAE,WAAW,EAAE,MAAM,UAAU,CAAA;AAC9C,OAAO,EAAE,qBAAqB,EAAE,MAAM,qBAAqB,CAAA;AAE3D,KAAK,gBAAgB,GAAG,WAAW,GAAG;IACpC;;;;OAIG;IACH,KAAK,CAAC,EAAE,SAAS,GAAG,WAAW,GAAG,SAAS,CAAA;IAC3C;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E,CAAA;AAED,eAAO,MAAM,KAAK;gCApGwB,gBAAgB;CAsGzD,CAAA;AAED,eAAO,MAAM,IAAI;iCAnFyB,gBAAgB;CAqFzD,CAAA;AAED,eAAO,MAAM,mBAAmB;uCAtEiB,gBAAgB;CAwEhE,CAAA;AAED,eAAO,MAAM,eAAe;kDA3H2B,gBAAgB;;;;;;CAkItE,CAAA;AAED,eAAO,MAAM,aAAa;kDApI6B,gBAAgB;;;;CAyItE,CAAA;AAED,eAAO,MAAM,cAAc;kDA3I4B,gBAAgB;;;;;;CAgJtE,CAAA"}
@@ -1,3 +1,3 @@
1
1
  export { default as Loader } from './Loader';
2
- export type * from './Loader';
2
+ export type * from './types';
3
3
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/Loader/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,MAAM,EAAE,MAAM,UAAU,CAAA;AAC5C,mBAAmB,UAAU,CAAA"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/Loader/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,MAAM,EAAE,MAAM,UAAU,CAAA;AAC5C,mBAAmB,SAAS,CAAA"}
@@ -0,0 +1,40 @@
1
+ import { ReactNode } from 'react';
2
+ import { SxProps, Theme } from '@mui/material';
3
+ import { CircularProgressProps } from '../CircularProgress';
4
+ import { TypographyProps } from '../Typography';
5
+ export type LoaderProps = {
6
+ /**
7
+ * The label to display.
8
+ * If not provided, the default label 'Loading...' will be displayed.
9
+ */
10
+ label?: ReactNode;
11
+ /**
12
+ * The props to pass to the label Typography component to override the default styles.
13
+ */
14
+ labelProps?: TypographyProps;
15
+ /**
16
+ * The second label to display.
17
+ * If not provided, no second label will be displayed.
18
+ */
19
+ secondLabel?: ReactNode;
20
+ /**
21
+ * The props to pass to the second label Typography component to override the default styles.
22
+ */
23
+ secondLabelProps?: TypographyProps;
24
+ /**
25
+ * The props to pass to the CircularProgress component.
26
+ */
27
+ iconProps?: CircularProgressProps;
28
+ /**
29
+ * The height of the component.
30
+ * If using a number, the pixel unit is assumed.
31
+ * If using a string, you need to provide the CSS unit, for example '3rem'.
32
+ * @default undefined
33
+ */
34
+ contentHeight?: number | string;
35
+ /**
36
+ * The props to pass to the container element to override the default styles.
37
+ */
38
+ sx?: SxProps<Theme>;
39
+ };
40
+ //# sourceMappingURL=types.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../src/components/Loader/types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,OAAO,CAAA;AACjC,OAAO,EAAE,OAAO,EAAE,KAAK,EAAE,MAAM,eAAe,CAAA;AAC9C,OAAO,EAAE,qBAAqB,EAAE,MAAM,qBAAqB,CAAA;AAC3D,OAAO,EAAE,eAAe,EAAE,MAAM,eAAe,CAAA;AAE/C,MAAM,MAAM,WAAW,GAAG;IACxB;;;OAGG;IACH,KAAK,CAAC,EAAE,SAAS,CAAA;IACjB;;OAEG;IACH,UAAU,CAAC,EAAE,eAAe,CAAA;IAC5B;;;OAGG;IACH,WAAW,CAAC,EAAE,SAAS,CAAA;IACvB;;OAEG;IACH,gBAAgB,CAAC,EAAE,eAAe,CAAA;IAClC;;OAEG;IACH,SAAS,CAAC,EAAE,qBAAqB,CAAA;IACjC;;;;;OAKG;IACH,aAAa,CAAC,EAAE,MAAM,GAAG,MAAM,CAAA;IAC/B;;OAEG;IACH,EAAE,CAAC,EAAE,OAAO,CAAC,KAAK,CAAC,CAAA;CACpB,CAAA"}
@@ -1,8 +1,5 @@
1
1
  import { ToggleButtonGroupProps as MUIToggleButtonGroupProps } from '@mui/material';
2
- export type ToggleButtonGroupProps = MUIToggleButtonGroupProps & {
3
- variant?: 'floating' | 'contained' | 'unbounded';
4
- backgroundColor?: 'primary' | 'secondary' | 'transparent';
5
- } & React.RefAttributes<HTMLDivElement>;
2
+ export type ToggleButtonGroupProps = MUIToggleButtonGroupProps & React.RefAttributes<HTMLDivElement>;
6
3
  declare const ToggleButtonGroup: import('react').ForwardRefExoticComponent<Omit<ToggleButtonGroupProps, "ref"> & import('react').RefAttributes<HTMLDivElement>>;
7
4
  export default ToggleButtonGroup;
8
5
  //# sourceMappingURL=ToggleButtonGroup.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"ToggleButtonGroup.d.ts","sourceRoot":"","sources":["../../../../src/components/ToggleButtonGroup/ToggleButtonGroup.tsx"],"names":[],"mappings":"AACA,OAAO,EAGL,sBAAsB,IAAI,yBAAyB,EACpD,MAAM,eAAe,CAAA;AAEtB,MAAM,MAAM,sBAAsB,GAAG,yBAAyB,GAAG;IAC/D,OAAO,CAAC,EAAE,UAAU,GAAG,WAAW,GAAG,WAAW,CAAA;IAChD,eAAe,CAAC,EAAE,SAAS,GAAG,WAAW,GAAG,aAAa,CAAA;CAC1D,GAAG,KAAK,CAAC,aAAa,CAAC,cAAc,CAAC,CAAA;AAwHvC,QAAA,MAAM,iBAAiB,gIAAiC,CAAA;AACxD,eAAe,iBAAiB,CAAA"}
1
+ {"version":3,"file":"ToggleButtonGroup.d.ts","sourceRoot":"","sources":["../../../../src/components/ToggleButtonGroup/ToggleButtonGroup.tsx"],"names":[],"mappings":"AACA,OAAO,EAGL,sBAAsB,IAAI,yBAAyB,EACpD,MAAM,eAAe,CAAA;AAEtB,MAAM,MAAM,sBAAsB,GAAG,yBAAyB,GAC5D,KAAK,CAAC,aAAa,CAAC,cAAc,CAAC,CAAA;AAsDrC,QAAA,MAAM,iBAAiB,gIAAiC,CAAA;AACxD,eAAe,iBAAiB,CAAA"}
@@ -0,0 +1,4 @@
1
+ import { CustomIconProps } from './types';
2
+ declare const _default: import('react').ForwardRefExoticComponent<Omit<CustomIconProps, "ref"> & import('react').RefAttributes<SVGSVGElement>>;
3
+ export default _default;
4
+ //# sourceMappingURL=CreateFolder.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"CreateFolder.d.ts","sourceRoot":"","sources":["../../../src/custom-icons/CreateFolder.tsx"],"names":[],"mappings":"AAOA,OAAO,EAAE,eAAe,EAAE,MAAM,sBAAsB,CAAA;;AA4BtD,wBAAuC"}
@@ -0,0 +1,4 @@
1
+ import { CustomIconProps } from './types';
2
+ declare const _default: import('react').ForwardRefExoticComponent<Omit<CustomIconProps, "ref"> & import('react').RefAttributes<SVGSVGElement>>;
3
+ export default _default;
4
+ //# sourceMappingURL=FolderEmpty.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"FolderEmpty.d.ts","sourceRoot":"","sources":["../../../src/custom-icons/FolderEmpty.tsx"],"names":[],"mappings":"AAOA,OAAO,EAAE,eAAe,EAAE,MAAM,sBAAsB,CAAA;;AA0CtD,wBAAsC"}
@@ -1 +1 @@
1
- {"version":3,"file":"SelectFeature.d.ts","sourceRoot":"","sources":["../../../src/custom-icons/SelectFeature.tsx"],"names":[],"mappings":"AAOA,OAAO,EAAE,eAAe,EAAE,MAAM,sBAAsB,CAAA;;AA+BtD,wBAAwC"}
1
+ {"version":3,"file":"SelectFeature.d.ts","sourceRoot":"","sources":["../../../src/custom-icons/SelectFeature.tsx"],"names":[],"mappings":"AAOA,OAAO,EAAE,eAAe,EAAE,MAAM,sBAAsB,CAAA;;AAiCtD,wBAAwC"}
@@ -39,6 +39,7 @@ export { default as CodeBlock } from './CodeBlock';
39
39
  export { default as Comments } from './Comments';
40
40
  export { default as Console } from './Console';
41
41
  export { default as Covid19 } from './Covid19';
42
+ export { default as CreateFolder } from './CreateFolder';
42
43
  export { default as CreateMap } from './CreateMap';
43
44
  export { default as CreateSpatialAnalysis } from './CreateSpatialAnalysis';
44
45
  export { default as CreateTileset } from './CreateTileset';
@@ -75,6 +76,7 @@ export { default as Fabric } from './Fabric';
75
76
  export { default as Facebook } from './Facebook';
76
77
  export { default as Financial } from './Financial';
77
78
  export { default as FlipInverse } from './FlipInverse';
79
+ export { default as FolderEmpty } from './FolderEmpty';
78
80
  export { default as FoldersStackedOutlined } from './FoldersStackedOutlined';
79
81
  export { default as Framed } from './Framed';
80
82
  export { default as FraudDetection } from './FraudDetection';