@carto/meridian-ds 2.7.0-alpha-loader.6 → 2.8.0-alpha-empty-state.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 +9 -2
- package/dist/{Alert-CHyETxuP.js → Alert-BZPM5zpX.js} +1 -1
- package/dist/{Alert-DyUCYGVG.cjs → Alert-C4W0H_uN.cjs} +1 -1
- package/dist/{MenuItem-BLZz_nSA.cjs → MenuItem-CgF4QdGi.cjs} +1 -1
- package/dist/{MenuItem-CM00TU3e.js → MenuItem-DRUK149i.js} +1 -1
- package/dist/components/index.cjs +159 -92
- package/dist/components/index.js +161 -94
- package/dist/{css-utils-B9V_AMcv.cjs → css-utils-CH7es90t.cjs} +1 -212
- package/dist/{css-utils-Cr7ZvmiF.js → css-utils-CjUBRJVK.js} +5 -216
- package/dist/custom-icons/index.cjs +296 -226
- package/dist/custom-icons/index.js +296 -226
- package/dist/palette-utils-B9ybmwiI.cjs +304 -0
- package/dist/palette-utils-BHqJlHm9.js +288 -0
- package/dist/theme/index.cjs +83 -14
- package/dist/theme/index.js +76 -6
- package/dist/types/components/CircularProgress/CircularProgress.stories.d.ts.map +1 -1
- package/dist/types/components/Dialog/DialogConfirmation/DialogConfirmation.d.ts +1 -1
- package/dist/types/components/Dialog/DialogConfirmation/DialogConfirmation.d.ts.map +1 -1
- package/dist/types/components/Dialog/DialogConfirmation/DialogConfirmation.stories.d.ts +13 -0
- package/dist/types/components/Dialog/DialogConfirmation/DialogConfirmation.stories.d.ts.map +1 -1
- package/dist/types/components/Dialog/DialogHeader/DialogHeader.d.ts +1 -1
- package/dist/types/components/Dialog/DialogHeader/DialogHeader.d.ts.map +1 -1
- package/dist/types/components/Dialog/DialogHeader/DialogHeader.stories.d.ts +31 -0
- package/dist/types/components/Dialog/DialogHeader/DialogHeader.stories.d.ts.map +1 -1
- package/dist/types/components/Dialog/types.d.ts +7 -1
- package/dist/types/components/Dialog/types.d.ts.map +1 -1
- package/dist/types/components/EmptyState/EmptyState.d.ts +4 -0
- package/dist/types/components/EmptyState/EmptyState.d.ts.map +1 -0
- package/dist/types/components/EmptyState/EmptyState.stories.d.ts +158 -0
- package/dist/types/components/EmptyState/EmptyState.stories.d.ts.map +1 -0
- package/dist/types/components/EmptyState/EmptyState.styled.d.ts +40 -0
- package/dist/types/components/EmptyState/EmptyState.styled.d.ts.map +1 -0
- package/dist/types/components/EmptyState/EmptyState.test.d.ts +2 -0
- package/dist/types/components/EmptyState/EmptyState.test.d.ts.map +1 -0
- package/dist/types/components/EmptyState/index.d.ts +3 -0
- package/dist/types/components/EmptyState/index.d.ts.map +1 -0
- package/dist/types/components/EmptyState/types.d.ts +71 -0
- package/dist/types/components/EmptyState/types.d.ts.map +1 -0
- package/dist/types/components/Loader/Loader.d.ts +1 -39
- package/dist/types/components/Loader/Loader.d.ts.map +1 -1
- package/dist/types/components/Loader/Loader.stories.d.ts +1 -1
- package/dist/types/components/Loader/Loader.stories.d.ts.map +1 -1
- package/dist/types/components/Loader/index.d.ts +1 -1
- package/dist/types/components/Loader/index.d.ts.map +1 -1
- package/dist/types/components/Loader/types.d.ts +40 -0
- package/dist/types/components/Loader/types.d.ts.map +1 -0
- package/dist/types/components/ToggleButtonGroup/ToggleButtonGroup.d.ts +1 -4
- package/dist/types/components/ToggleButtonGroup/ToggleButtonGroup.d.ts.map +1 -1
- package/dist/types/components/index.d.ts +2 -0
- package/dist/types/components/index.d.ts.map +1 -1
- package/dist/types/custom-icons/CreateFolder.d.ts +4 -0
- package/dist/types/custom-icons/CreateFolder.d.ts.map +1 -0
- package/dist/types/custom-icons/FolderEmpty.d.ts +4 -0
- package/dist/types/custom-icons/FolderEmpty.d.ts.map +1 -0
- package/dist/types/custom-icons/SelectFeature.d.ts.map +1 -1
- package/dist/types/custom-icons/index.d.ts +2 -0
- package/dist/types/custom-icons/index.d.ts.map +1 -1
- package/dist/types/theme/components/buttons.d.ts.map +1 -1
- package/dist/types/theme/components/stories/LinearProgress.stories.d.ts.map +1 -1
- package/dist/types/theme/types.d.ts +6 -0
- package/dist/types/theme/types.d.ts.map +1 -1
- package/dist/widgets/index.cjs +5 -5
- package/dist/widgets/index.js +3 -3
- package/package.json +1 -1
- package/dist/palette-utils-C5CHlLXB.cjs +0 -93
- package/dist/palette-utils-D99Ib0kC.js +0 -77
package/dist/theme/index.cjs
CHANGED
|
@@ -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
|
|
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-
|
|
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 =
|
|
3020
|
-
boxShadow: `0 0 0 4px ${(_b =
|
|
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 =
|
|
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 =
|
|
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 =
|
|
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 =
|
|
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 =
|
|
3162
|
+
backgroundColor: (_g = paletteUtils.commonPalette.common) == null ? void 0 : _g.black,
|
|
3094
3163
|
"&:not(:disabled):hover": {
|
|
3095
|
-
backgroundColor: (_h =
|
|
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:
|
|
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;
|
package/dist/theme/index.js
CHANGED
|
@@ -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 {
|
|
4
|
-
import {
|
|
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-
|
|
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
|
-
|
|
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;
|
|
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,
|
|
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
|
|
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,
|
|
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
|
|
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,
|
|
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,EACvC,YAAY,EACZ,eAAe,EACf,UAAU,EACX,MAAM,eAAe,CAAA;AACtB,OAAO,EAAE,UAAU,EAAE,MAAM,gBAAgB,CAAA;AAE3C,MAAM,MAAM,UAAU,GAAG,OAAO,GAAG,QAAQ,GAAG,OAAO,GAAG,QAAQ,CAAA;AAEhE,MAAM,WAAW,WAAY,SAAQ,cAAc;IACjD;;;;OAIG;IACH,IAAI,CAAC,EAAE,UAAU,CAAA;IAEjB;;OAEG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAA;IAElB;;SAEK;IACL,MAAM,CAAC,EAAE,MAAM,CAAA;IAEf;;SAEK;IACL,KAAK,CAAC,EAAE,MAAM,CAAA;IAEd;;SAEK;IACL,OAAO,CAAC,EAAE,OAAO,CAAA;IAEjB,aAAa,CAAC,EAAE,MAAM,CAAA;CACvB;AAED,MAAM,WAAW,kBAAmB,SAAQ,qBAAqB;IAC/D;;;;;;OAMG;IACH,iBAAiB,CAAC,EAAE,OAAO,CAAA;IAC3B,UAAU,CAAC,EAAE,OAAO,CAAA;IACpB,gBAAgB,CAAC,EAAE,OAAO,CAAA;IAC1B,cAAc,CAAC,EAAE,OAAO,CAAA;IACxB;;;SAGK;IACL,OAAO,CAAC,EAAE,MAAM,CAAA;CACjB;AAED,MAAM,MAAM,iBAAiB,GAAG,qBAAqB,GAAG;IACtD,gBAAgB,CAAC,EAAE,SAAS,CAAA;IAC5B,YAAY,CAAC,EAAE,SAAS,CAAA;IACxB,UAAU,CAAC,EAAE,UAAU,CAAA;IACvB,IAAI,CAAC,EAAE,OAAO,CAAA;IACd,UAAU,CAAC,EAAE,SAAS,CAAA;CACvB,CAAA;AAED,MAAM,MAAM,iBAAiB,GAAG,IAAI,CAAC,mBAAmB,EAAE,OAAO,CAAC,GAAG;IACnE,KAAK,EAAE,SAAS,CAAA;IAChB,SAAS,CAAC,EAAE,SAAS,CAAA;IACrB,SAAS,CAAC,EAAE,SAAS,CAAA;IACrB,OAAO,CAAC,EAAE,MAAM,IAAI,CAAA;IACpB,gBAAgB,CAAC,EAAE,SAAS,CAAA;IAC5B,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,SAAS,CAAC,EAAE,SAAS,CAAA;IACrB,gBAAgB,CAAC,EAAE,MAAM,CAAA;IACzB,qEAAqE;IACrE,YAAY,CAAC,EAAE,OAAO,CAAC,YAAY,CAAC,CAAA;IACpC,qEAAqE;IACrE,eAAe,CAAC,EAAE,OAAO,CAAC,IAAI,CAAC,eAAe,EAAE,UAAU,CAAC,CAAC,CAAA;CAC7D,CAAA;AAED,MAAM,WAAW,kBAAkB;IACjC,WAAW,EAAE,MAAM,CAAA;IACnB,WAAW,EAAE,MAAM,EAAE,CAAA;CACtB;AAED,MAAM,MAAM,uBAAuB,GAAG,UAAU,GAAG;IACjD,WAAW,CAAC,EAAE,MAAM,IAAI,CAAA;IACxB,OAAO,EAAE,SAAS,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"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"EmptyState.d.ts","sourceRoot":"","sources":["../../../../src/components/EmptyState/EmptyState.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,eAAe,EAAE,MAAM,SAAS,CAAA;AA0FzC,QAAA,MAAM,UAAU,4GAA2D,CAAA;AAC3E,eAAe,UAAU,CAAA"}
|
|
@@ -0,0 +1,158 @@
|
|
|
1
|
+
import { EmptyStateProps } from './types';
|
|
2
|
+
type EmptyStateStoryProps = EmptyStateProps & {
|
|
3
|
+
/**
|
|
4
|
+
* The color of the icon.
|
|
5
|
+
* It supports primary, secondary and default colors.
|
|
6
|
+
* @default 'default'
|
|
7
|
+
*/
|
|
8
|
+
iconColor?: 'primary' | 'secondary' | 'default';
|
|
9
|
+
/**
|
|
10
|
+
* The size of the icon.
|
|
11
|
+
* @default undefined
|
|
12
|
+
*/
|
|
13
|
+
iconSize?: number | string;
|
|
14
|
+
};
|
|
15
|
+
declare const options: {
|
|
16
|
+
title: string;
|
|
17
|
+
component: import('react').ForwardRefExoticComponent<EmptyStateProps & import('react').RefAttributes<HTMLDivElement>>;
|
|
18
|
+
tags: string[];
|
|
19
|
+
argTypes: {
|
|
20
|
+
size: {
|
|
21
|
+
control: "select";
|
|
22
|
+
options: string[];
|
|
23
|
+
table: {
|
|
24
|
+
type: {
|
|
25
|
+
summary: string;
|
|
26
|
+
};
|
|
27
|
+
defaultValue: {
|
|
28
|
+
summary: string;
|
|
29
|
+
};
|
|
30
|
+
};
|
|
31
|
+
};
|
|
32
|
+
spacing: {
|
|
33
|
+
control: "number";
|
|
34
|
+
table: {
|
|
35
|
+
type: {
|
|
36
|
+
summary: string;
|
|
37
|
+
};
|
|
38
|
+
};
|
|
39
|
+
};
|
|
40
|
+
contentWidth: {
|
|
41
|
+
control: "number";
|
|
42
|
+
table: {
|
|
43
|
+
type: {
|
|
44
|
+
summary: string;
|
|
45
|
+
};
|
|
46
|
+
defaultValue: {
|
|
47
|
+
summary: string;
|
|
48
|
+
};
|
|
49
|
+
};
|
|
50
|
+
};
|
|
51
|
+
contentHeight: {
|
|
52
|
+
control: "number";
|
|
53
|
+
table: {
|
|
54
|
+
type: {
|
|
55
|
+
summary: string;
|
|
56
|
+
};
|
|
57
|
+
};
|
|
58
|
+
};
|
|
59
|
+
title: {
|
|
60
|
+
control: "text";
|
|
61
|
+
};
|
|
62
|
+
description: {
|
|
63
|
+
control: "text";
|
|
64
|
+
};
|
|
65
|
+
sx: {
|
|
66
|
+
control: "object";
|
|
67
|
+
};
|
|
68
|
+
iconProps: {
|
|
69
|
+
control: "boolean";
|
|
70
|
+
defaultValue: boolean;
|
|
71
|
+
description: string;
|
|
72
|
+
table: {
|
|
73
|
+
type: {
|
|
74
|
+
summary: string;
|
|
75
|
+
};
|
|
76
|
+
};
|
|
77
|
+
};
|
|
78
|
+
iconColor: {
|
|
79
|
+
control: "select";
|
|
80
|
+
options: string[];
|
|
81
|
+
description: string;
|
|
82
|
+
if: {
|
|
83
|
+
arg: string;
|
|
84
|
+
};
|
|
85
|
+
table: {
|
|
86
|
+
type: {
|
|
87
|
+
summary: string;
|
|
88
|
+
};
|
|
89
|
+
defaultValue: {
|
|
90
|
+
summary: string;
|
|
91
|
+
};
|
|
92
|
+
};
|
|
93
|
+
};
|
|
94
|
+
iconSize: {
|
|
95
|
+
control: "select";
|
|
96
|
+
options: number[];
|
|
97
|
+
description: string;
|
|
98
|
+
if: {
|
|
99
|
+
arg: string;
|
|
100
|
+
};
|
|
101
|
+
table: {
|
|
102
|
+
type: {
|
|
103
|
+
summary: string;
|
|
104
|
+
};
|
|
105
|
+
defaultValue: {
|
|
106
|
+
summary: string;
|
|
107
|
+
};
|
|
108
|
+
};
|
|
109
|
+
};
|
|
110
|
+
};
|
|
111
|
+
args: {
|
|
112
|
+
icon: import("react/jsx-runtime").JSX.Element;
|
|
113
|
+
title: string;
|
|
114
|
+
description: string;
|
|
115
|
+
};
|
|
116
|
+
parameters: {
|
|
117
|
+
design: {
|
|
118
|
+
type: string;
|
|
119
|
+
url: string;
|
|
120
|
+
};
|
|
121
|
+
status: {
|
|
122
|
+
type: string;
|
|
123
|
+
};
|
|
124
|
+
};
|
|
125
|
+
};
|
|
126
|
+
export default options;
|
|
127
|
+
export declare const Playground: {
|
|
128
|
+
render: ({ iconSize, iconColor, iconProps, ...args }: EmptyStateStoryProps) => import("react/jsx-runtime").JSX.Element;
|
|
129
|
+
parameters: {
|
|
130
|
+
chromatic: {
|
|
131
|
+
disableSnapshot: boolean;
|
|
132
|
+
};
|
|
133
|
+
};
|
|
134
|
+
};
|
|
135
|
+
export declare const TextContent: {
|
|
136
|
+
render: (args: EmptyStateStoryProps) => import("react/jsx-runtime").JSX.Element;
|
|
137
|
+
};
|
|
138
|
+
export declare const Actions: {
|
|
139
|
+
render: (args: EmptyStateStoryProps) => import("react/jsx-runtime").JSX.Element;
|
|
140
|
+
};
|
|
141
|
+
export declare const Size: {
|
|
142
|
+
render: (args: EmptyStateStoryProps) => import("react/jsx-runtime").JSX.Element;
|
|
143
|
+
};
|
|
144
|
+
export declare const IconProps: {
|
|
145
|
+
render: (args: EmptyStateStoryProps) => import("react/jsx-runtime").JSX.Element;
|
|
146
|
+
};
|
|
147
|
+
export declare const ContentDimensions: {
|
|
148
|
+
render: (args: EmptyStateStoryProps) => import("react/jsx-runtime").JSX.Element;
|
|
149
|
+
};
|
|
150
|
+
export declare const CustomSXStyles: {
|
|
151
|
+
render: ({ iconSize, iconColor, iconProps, ...args }: EmptyStateStoryProps) => import("react/jsx-runtime").JSX.Element;
|
|
152
|
+
args: {
|
|
153
|
+
sx: {
|
|
154
|
+
border: string;
|
|
155
|
+
};
|
|
156
|
+
};
|
|
157
|
+
};
|
|
158
|
+
//# sourceMappingURL=EmptyState.stories.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"EmptyState.stories.d.ts","sourceRoot":"","sources":["../../../../src/components/EmptyState/EmptyState.stories.tsx"],"names":[],"mappings":"AAIA,OAAO,EAAE,eAAe,EAAE,MAAM,SAAS,CAAA;AAKzC,KAAK,oBAAoB,GAAG,eAAe,GAAG;IAC5C;;;;OAIG;IACH,SAAS,CAAC,EAAE,SAAS,GAAG,WAAW,GAAG,SAAS,CAAA;IAC/C;;;OAGG;IACH,QAAQ,CAAC,EAAE,MAAM,GAAG,MAAM,CAAA;CAC3B,CAAA;AAED,QAAA,MAAM,OAAO;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA8FyB,CAAA;AACtC,eAAe,OAAO,CAAA;AAoStB,eAAO,MAAM,UAAU;0DA7RpB,oBAAoB;;;;;;CAkStB,CAAA;AAED,eAAO,MAAM,WAAW;mBA3JW,oBAAoB;CA6JtD,CAAA;AAED,eAAO,MAAM,OAAO;mBA3HW,oBAAoB;CA6HlD,CAAA;AAED,eAAO,MAAM,IAAI;mBAjSW,oBAAoB;CAmS/C,CAAA;AAED,eAAO,MAAM,SAAS;mBApQW,oBAAoB;CAsQpD,CAAA;AAED,eAAO,MAAM,iBAAiB;mBA5NW,oBAAoB;CA8N5D,CAAA;AAED,eAAO,MAAM,cAAc;0DAxTxB,oBAAoB;;;;;;CA6TtB,CAAA"}
|