@carto/meridian-ds 2.7.0 → 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.
- package/CHANGELOG.md +7 -0
- package/dist/{Alert-BfDnWlbD.js → Alert-BZPM5zpX.js} +1 -1
- package/dist/{Alert-CPvYAHO_.cjs → Alert-C4W0H_uN.cjs} +1 -1
- package/dist/{MenuItem-ZSYcQBtg.cjs → MenuItem-CgF4QdGi.cjs} +1 -1
- package/dist/{MenuItem-D90EfuGS.js → MenuItem-DRUK149i.js} +1 -1
- package/dist/components/index.cjs +130 -81
- package/dist/components/index.js +139 -90
- package/dist/{css-utils-DjvM17Vb.cjs → css-utils-CH7es90t.cjs} +15 -0
- package/dist/{css-utils-BHYA7By_.js → css-utils-CjUBRJVK.js} +15 -0
- package/dist/custom-icons/index.cjs +296 -226
- package/dist/custom-icons/index.js +296 -226
- package/dist/theme/index.cjs +80 -3
- package/dist/theme/index.js +81 -4
- package/dist/types/components/CircularProgress/CircularProgress.d.ts +19 -0
- package/dist/types/components/CircularProgress/CircularProgress.d.ts.map +1 -0
- package/dist/types/components/CircularProgress/CircularProgress.stories.d.ts +72 -0
- package/dist/types/components/CircularProgress/CircularProgress.stories.d.ts.map +1 -0
- package/dist/types/components/CircularProgress/CircularProgress.test.d.ts +2 -0
- package/dist/types/components/CircularProgress/CircularProgress.test.d.ts.map +1 -0
- package/dist/types/components/CircularProgress/index.d.ts +3 -0
- package/dist/types/components/CircularProgress/index.d.ts.map +1 -0
- 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/Loader/Loader.d.ts +4 -0
- package/dist/types/components/Loader/Loader.d.ts.map +1 -0
- package/dist/types/components/Loader/Loader.stories.d.ts +130 -0
- package/dist/types/components/Loader/Loader.stories.d.ts.map +1 -0
- package/dist/types/components/Loader/Loader.test.d.ts +2 -0
- package/dist/types/components/Loader/Loader.test.d.ts.map +1 -0
- package/dist/types/components/Loader/index.d.ts +3 -0
- package/dist/types/components/Loader/index.d.ts.map +1 -0
- 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/SearchField/SearchField.styled.d.ts.map +1 -1
- 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 +4 -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/localization/en.d.ts +5 -0
- package/dist/types/localization/en.d.ts.map +1 -1
- package/dist/types/localization/es.d.ts +5 -0
- package/dist/types/localization/es.d.ts.map +1 -1
- package/dist/types/localization/id.d.ts +5 -0
- package/dist/types/localization/id.d.ts.map +1 -1
- package/dist/types/localization/index.d.ts +15 -0
- package/dist/types/localization/index.d.ts.map +1 -1
- package/dist/types/theme/components/buttons.d.ts.map +1 -1
- package/dist/types/theme/components/forms.d.ts.map +1 -1
- package/dist/types/theme/components/stories/{Progress.stories.d.ts → LinearProgress.stories.d.ts} +12 -22
- package/dist/types/theme/components/stories/LinearProgress.stories.d.ts.map +1 -0
- package/dist/types/theme/types.d.ts +11 -0
- package/dist/types/theme/types.d.ts.map +1 -1
- package/dist/widgets/index.cjs +2 -2
- package/dist/widgets/index.js +2 -2
- package/package.json +2 -2
- package/dist/types/theme/components/stories/Progress.stories.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 cssUtils = require("../css-utils-
|
|
7
|
+
const cssUtils = require("../css-utils-CH7es90t.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-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"
|
|
@@ -2230,6 +2299,14 @@ const formsOverrides = {
|
|
|
2230
2299
|
defaultProps: {
|
|
2231
2300
|
size: 40,
|
|
2232
2301
|
thickness: 4
|
|
2302
|
+
},
|
|
2303
|
+
styleOverrides: {
|
|
2304
|
+
root: ({ theme: theme2 }) => ({
|
|
2305
|
+
// Not using standard ownerState to avoid MUI error trying to access non-existent theme.palette.neutral.main
|
|
2306
|
+
'&[data-color="neutral"]': {
|
|
2307
|
+
color: theme2.palette.text.hint
|
|
2308
|
+
}
|
|
2309
|
+
})
|
|
2233
2310
|
}
|
|
2234
2311
|
},
|
|
2235
2312
|
// Slider
|
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, 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-
|
|
7
|
-
import { h, N } from "../css-utils-
|
|
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";
|
|
8
8
|
import { Cancel, EventOutlined, ChevronRightOutlined, ChevronLeftOutlined, ExpandMoreOutlined, CheckCircleOutlined, InfoOutlined } 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-DRUK149i.js";
|
|
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"
|
|
@@ -2230,6 +2299,14 @@ const formsOverrides = {
|
|
|
2230
2299
|
defaultProps: {
|
|
2231
2300
|
size: 40,
|
|
2232
2301
|
thickness: 4
|
|
2302
|
+
},
|
|
2303
|
+
styleOverrides: {
|
|
2304
|
+
root: ({ theme: theme2 }) => ({
|
|
2305
|
+
// Not using standard ownerState to avoid MUI error trying to access non-existent theme.palette.neutral.main
|
|
2306
|
+
'&[data-color="neutral"]': {
|
|
2307
|
+
color: theme2.palette.text.hint
|
|
2308
|
+
}
|
|
2309
|
+
})
|
|
2233
2310
|
}
|
|
2234
2311
|
},
|
|
2235
2312
|
// Slider
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { CircularProgressProps as MuiCircularProgressProps } from '@mui/material';
|
|
2
|
+
export type CircularProgressProps = Omit<MuiCircularProgressProps, 'color' | 'ref'> & {
|
|
3
|
+
/**
|
|
4
|
+
* The color of the component.
|
|
5
|
+
* It supports primary, secondary, error, info, success, warning and neutral colors.
|
|
6
|
+
* @default 'primary'
|
|
7
|
+
*/
|
|
8
|
+
color?: MuiCircularProgressProps['color'] | 'neutral';
|
|
9
|
+
};
|
|
10
|
+
declare const CircularProgress: import('react').ForwardRefExoticComponent<Omit<MuiCircularProgressProps, "color" | "ref"> & {
|
|
11
|
+
/**
|
|
12
|
+
* The color of the component.
|
|
13
|
+
* It supports primary, secondary, error, info, success, warning and neutral colors.
|
|
14
|
+
* @default 'primary'
|
|
15
|
+
*/
|
|
16
|
+
color?: MuiCircularProgressProps["color"] | "neutral";
|
|
17
|
+
} & import('react').RefAttributes<HTMLSpanElement>>;
|
|
18
|
+
export default CircularProgress;
|
|
19
|
+
//# sourceMappingURL=CircularProgress.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CircularProgress.d.ts","sourceRoot":"","sources":["../../../../src/components/CircularProgress/CircularProgress.tsx"],"names":[],"mappings":"AACA,OAAO,EAEL,qBAAqB,IAAI,wBAAwB,EAClD,MAAM,eAAe,CAAA;AAEtB,MAAM,MAAM,qBAAqB,GAAG,IAAI,CACtC,wBAAwB,EACxB,OAAO,GAAG,KAAK,CAChB,GAAG;IACF;;;;OAIG;IACH,KAAK,CAAC,EAAE,wBAAwB,CAAC,OAAO,CAAC,GAAG,SAAS,CAAA;CACtD,CAAA;AA+BD,QAAA,MAAM,gBAAgB;IArCpB;;;;OAIG;YACK,wBAAwB,CAAC,OAAO,CAAC,GAAG,SAAS;mDAkCtD,CAAA;AACD,eAAe,gBAAgB,CAAA"}
|
|
@@ -0,0 +1,72 @@
|
|
|
1
|
+
import { CircularProgressProps } from './CircularProgress';
|
|
2
|
+
declare const options: {
|
|
3
|
+
title: string;
|
|
4
|
+
component: import('react').ForwardRefExoticComponent<Omit<import('@mui/material').CircularProgressProps, "color" | "ref"> & {
|
|
5
|
+
color?: import('@mui/material').CircularProgressProps["color"] | "neutral";
|
|
6
|
+
} & import('react').RefAttributes<HTMLSpanElement>>;
|
|
7
|
+
tags: string[];
|
|
8
|
+
argTypes: {
|
|
9
|
+
color: {
|
|
10
|
+
control: "select";
|
|
11
|
+
options: string[];
|
|
12
|
+
};
|
|
13
|
+
size: {
|
|
14
|
+
control: "select";
|
|
15
|
+
options: number[];
|
|
16
|
+
};
|
|
17
|
+
thickness: {
|
|
18
|
+
control: "number";
|
|
19
|
+
};
|
|
20
|
+
variant: {
|
|
21
|
+
control: "select";
|
|
22
|
+
options: string[];
|
|
23
|
+
};
|
|
24
|
+
value: {
|
|
25
|
+
control: "number";
|
|
26
|
+
if: {
|
|
27
|
+
arg: string;
|
|
28
|
+
eq: string;
|
|
29
|
+
};
|
|
30
|
+
};
|
|
31
|
+
};
|
|
32
|
+
args: {
|
|
33
|
+
color: string;
|
|
34
|
+
size: number;
|
|
35
|
+
thickness: number;
|
|
36
|
+
variant: string;
|
|
37
|
+
};
|
|
38
|
+
parameters: {
|
|
39
|
+
design: {
|
|
40
|
+
type: string;
|
|
41
|
+
url: string;
|
|
42
|
+
};
|
|
43
|
+
status: {
|
|
44
|
+
type: string;
|
|
45
|
+
};
|
|
46
|
+
chromatic: {
|
|
47
|
+
diffThreshold: number;
|
|
48
|
+
};
|
|
49
|
+
};
|
|
50
|
+
};
|
|
51
|
+
export default options;
|
|
52
|
+
export declare const Playground: {
|
|
53
|
+
render: (args: CircularProgressProps) => import("react/jsx-runtime").JSX.Element;
|
|
54
|
+
parameters: {
|
|
55
|
+
chromatic: {
|
|
56
|
+
disableSnapshot: boolean;
|
|
57
|
+
};
|
|
58
|
+
};
|
|
59
|
+
};
|
|
60
|
+
export declare const Color: {
|
|
61
|
+
render: (args: CircularProgressProps) => import("react/jsx-runtime").JSX.Element;
|
|
62
|
+
};
|
|
63
|
+
export declare const Size: {
|
|
64
|
+
render: (args: CircularProgressProps) => import("react/jsx-runtime").JSX.Element;
|
|
65
|
+
};
|
|
66
|
+
export declare const Thickness: {
|
|
67
|
+
render: (args: CircularProgressProps) => import("react/jsx-runtime").JSX.Element;
|
|
68
|
+
};
|
|
69
|
+
export declare const Variant: {
|
|
70
|
+
render: (args: CircularProgressProps) => import("react/jsx-runtime").JSX.Element;
|
|
71
|
+
};
|
|
72
|
+
//# sourceMappingURL=CircularProgress.stories.d.ts.map
|
|
@@ -0,0 +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;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"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CircularProgress.test.d.ts","sourceRoot":"","sources":["../../../../src/components/CircularProgress/CircularProgress.test.tsx"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/CircularProgress/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,gBAAgB,EAAE,MAAM,oBAAoB,CAAA;AAChE,mBAAmB,oBAAoB,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":"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"}
|
|
@@ -0,0 +1,130 @@
|
|
|
1
|
+
import { LoaderProps } from './types';
|
|
2
|
+
import { CircularProgressProps } from '../CircularProgress';
|
|
3
|
+
type LoaderStoryProps = LoaderProps & {
|
|
4
|
+
/**
|
|
5
|
+
* The color of the circular progress.
|
|
6
|
+
* It supports primary, secondary and neutral colors.
|
|
7
|
+
* @default 'primary'
|
|
8
|
+
*/
|
|
9
|
+
color?: 'primary' | 'secondary' | 'neutral';
|
|
10
|
+
/**
|
|
11
|
+
* The size of the circular progress.
|
|
12
|
+
* @default 40
|
|
13
|
+
*/
|
|
14
|
+
size?: CircularProgressProps['size'];
|
|
15
|
+
};
|
|
16
|
+
declare const options: {
|
|
17
|
+
title: string;
|
|
18
|
+
component: import('react').ForwardRefExoticComponent<LoaderProps & import('react').RefAttributes<HTMLDivElement>>;
|
|
19
|
+
tags: string[];
|
|
20
|
+
argTypes: {
|
|
21
|
+
color: {
|
|
22
|
+
control: "select";
|
|
23
|
+
options: string[];
|
|
24
|
+
description: string;
|
|
25
|
+
table: {
|
|
26
|
+
type: {
|
|
27
|
+
summary: string;
|
|
28
|
+
};
|
|
29
|
+
defaultValue: {
|
|
30
|
+
summary: string;
|
|
31
|
+
};
|
|
32
|
+
};
|
|
33
|
+
};
|
|
34
|
+
size: {
|
|
35
|
+
control: "select";
|
|
36
|
+
options: number[];
|
|
37
|
+
description: string;
|
|
38
|
+
table: {
|
|
39
|
+
type: {
|
|
40
|
+
summary: string;
|
|
41
|
+
};
|
|
42
|
+
defaultValue: {
|
|
43
|
+
summary: string;
|
|
44
|
+
};
|
|
45
|
+
};
|
|
46
|
+
};
|
|
47
|
+
label: {
|
|
48
|
+
control: "text";
|
|
49
|
+
};
|
|
50
|
+
secondLabel: {
|
|
51
|
+
control: "text";
|
|
52
|
+
};
|
|
53
|
+
labelProps: {
|
|
54
|
+
control: "object";
|
|
55
|
+
};
|
|
56
|
+
secondLabelProps: {
|
|
57
|
+
control: "object";
|
|
58
|
+
};
|
|
59
|
+
iconProps: {
|
|
60
|
+
control: "object";
|
|
61
|
+
table: {
|
|
62
|
+
type: {
|
|
63
|
+
summary: string;
|
|
64
|
+
};
|
|
65
|
+
};
|
|
66
|
+
};
|
|
67
|
+
contentHeight: {
|
|
68
|
+
table: {
|
|
69
|
+
type: {
|
|
70
|
+
summary: string;
|
|
71
|
+
};
|
|
72
|
+
};
|
|
73
|
+
control: "text";
|
|
74
|
+
};
|
|
75
|
+
};
|
|
76
|
+
args: {
|
|
77
|
+
color: "primary";
|
|
78
|
+
size: number;
|
|
79
|
+
};
|
|
80
|
+
parameters: {
|
|
81
|
+
design: {
|
|
82
|
+
type: string;
|
|
83
|
+
url: string;
|
|
84
|
+
};
|
|
85
|
+
status: {
|
|
86
|
+
type: string;
|
|
87
|
+
};
|
|
88
|
+
};
|
|
89
|
+
};
|
|
90
|
+
export default options;
|
|
91
|
+
export declare const Playground: {
|
|
92
|
+
render: ({ size, color, iconProps, ...args }: LoaderStoryProps) => import("react/jsx-runtime").JSX.Element;
|
|
93
|
+
parameters: {
|
|
94
|
+
chromatic: {
|
|
95
|
+
disableSnapshot: boolean;
|
|
96
|
+
};
|
|
97
|
+
};
|
|
98
|
+
};
|
|
99
|
+
export declare const Color: {
|
|
100
|
+
render: ({ size, ...args }: LoaderStoryProps) => import("react/jsx-runtime").JSX.Element;
|
|
101
|
+
};
|
|
102
|
+
export declare const Size: {
|
|
103
|
+
render: ({ color, ...args }: LoaderStoryProps) => import("react/jsx-runtime").JSX.Element;
|
|
104
|
+
};
|
|
105
|
+
export declare const LabelAndSecondLabel: {
|
|
106
|
+
render: ({ color, size, ...args }: LoaderStoryProps) => import("react/jsx-runtime").JSX.Element;
|
|
107
|
+
};
|
|
108
|
+
export declare const CustomIconProps: {
|
|
109
|
+
render: ({ size, color, iconProps, ...args }: LoaderStoryProps) => import("react/jsx-runtime").JSX.Element;
|
|
110
|
+
args: {
|
|
111
|
+
iconProps: {
|
|
112
|
+
thickness: number;
|
|
113
|
+
};
|
|
114
|
+
};
|
|
115
|
+
};
|
|
116
|
+
export declare const ContentHeight: {
|
|
117
|
+
render: ({ size, color, iconProps, ...args }: LoaderStoryProps) => import("react/jsx-runtime").JSX.Element;
|
|
118
|
+
args: {
|
|
119
|
+
contentHeight: number;
|
|
120
|
+
};
|
|
121
|
+
};
|
|
122
|
+
export declare const CustomSXStyles: {
|
|
123
|
+
render: ({ size, color, iconProps, ...args }: LoaderStoryProps) => import("react/jsx-runtime").JSX.Element;
|
|
124
|
+
args: {
|
|
125
|
+
sx: {
|
|
126
|
+
border: string;
|
|
127
|
+
};
|
|
128
|
+
};
|
|
129
|
+
};
|
|
130
|
+
//# sourceMappingURL=Loader.stories.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Loader.stories.d.ts","sourceRoot":"","sources":["../../../../src/components/Loader/Loader.stories.tsx"],"names":[],"mappings":"AAGA,OAAO,EAAE,WAAW,EAAE,MAAM,SAAS,CAAA;AACrC,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;;;OAGG;IACH,IAAI,CAAC,EAAE,qBAAqB,CAAC,MAAM,CAAC,CAAA;CACrC,CAAA;AAED,QAAA,MAAM,OAAO;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA+DqB,CAAA;AAClC,eAAe,OAAO,CAAA;AA0GtB,eAAO,MAAM,UAAU;kDAxGgC,gBAAgB;;;;;;CA6GtE,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"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Loader.test.d.ts","sourceRoot":"","sources":["../../../../src/components/Loader/Loader.test.tsx"],"names":[],"mappings":""}
|
|
@@ -0,0 +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,SAAS,CAAA"}
|