@carto/meridian-ds 2.9.1 → 2.9.3-alpha-lists.4
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 +11 -1
- package/dist/{Alert-C4W0H_uN.cjs → Alert-0VBqBP4P.cjs} +1 -1
- package/dist/{Alert-BZPM5zpX.js → Alert-BEzNSCqV.js} +1 -1
- package/dist/{MenuItem-DoBJsRR_.cjs → MenuItem-0c7Cz5g_.cjs} +1 -1
- package/dist/{MenuItem-Cx5lTXXm.js → MenuItem-D4v_HV1x.js} +1 -1
- package/dist/components/index.cjs +255 -7
- package/dist/components/index.js +259 -11
- package/dist/{css-utils-CH7es90t.cjs → css-utils-B3V0Xzli.cjs} +8 -0
- package/dist/{css-utils-CjUBRJVK.js → css-utils-D9LibDjo.js} +12 -4
- package/dist/custom-icons/index.cjs +340 -267
- package/dist/custom-icons/index.js +340 -267
- package/dist/theme/index.cjs +339 -51
- package/dist/theme/index.js +341 -53
- package/dist/types/components/Avatar/Avatar.stories.d.ts.map +1 -1
- package/dist/types/components/List/List.d.ts +24 -0
- package/dist/types/components/List/List.d.ts.map +1 -0
- package/dist/types/components/List/List.stories.d.ts +398 -0
- package/dist/types/components/List/List.stories.d.ts.map +1 -0
- package/dist/types/components/List/List.test.d.ts +2 -0
- package/dist/types/components/List/List.test.d.ts.map +1 -0
- package/dist/types/components/List/ListItem/ListItem.d.ts +9 -0
- package/dist/types/components/List/ListItem/ListItem.d.ts.map +1 -0
- package/dist/types/components/List/ListItem/ListItem.stories.d.ts +307 -0
- package/dist/types/components/List/ListItem/ListItem.stories.d.ts.map +1 -0
- package/dist/types/components/List/ListItem/ListItem.test.d.ts +2 -0
- package/dist/types/components/List/ListItem/ListItem.test.d.ts.map +1 -0
- package/dist/types/components/List/ListItemButton/ListItemButton.d.ts +9 -0
- package/dist/types/components/List/ListItemButton/ListItemButton.d.ts.map +1 -0
- package/dist/types/components/List/ListItemButton/ListItemButton.test.d.ts +2 -0
- package/dist/types/components/List/ListItemButton/ListItemButton.test.d.ts.map +1 -0
- package/dist/types/components/List/ListItemRightContent/ListItemRightContent.d.ts +14 -0
- package/dist/types/components/List/ListItemRightContent/ListItemRightContent.d.ts.map +1 -0
- package/dist/types/components/List/ListItemRightContent/ListItemRightContent.test.d.ts +2 -0
- package/dist/types/components/List/ListItemRightContent/ListItemRightContent.test.d.ts.map +1 -0
- package/dist/types/components/List/ListSubheader/ListSubheader.d.ts +9 -0
- package/dist/types/components/List/ListSubheader/ListSubheader.d.ts.map +1 -0
- package/dist/types/components/List/ListSubheader/ListSubheader.test.d.ts +2 -0
- package/dist/types/components/List/ListSubheader/ListSubheader.test.d.ts.map +1 -0
- package/dist/types/components/List/index.d.ts +12 -0
- package/dist/types/components/List/index.d.ts.map +1 -0
- package/dist/types/components/List/types.d.ts +3 -0
- package/dist/types/components/List/types.d.ts.map +1 -0
- package/dist/types/components/Menu/Menu/Menu.stories.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/ArrowDownHigh.d.ts +4 -0
- package/dist/types/custom-icons/ArrowDownHigh.d.ts.map +1 -0
- package/dist/types/custom-icons/ArrowRightHigh.d.ts +4 -0
- package/dist/types/custom-icons/ArrowRightHigh.d.ts.map +1 -0
- package/dist/types/custom-icons/FilterCircle.d.ts +4 -0
- package/dist/types/custom-icons/FilterCircle.d.ts.map +1 -0
- package/dist/types/custom-icons/FilterCircleOutlined.d.ts +4 -0
- package/dist/types/custom-icons/FilterCircleOutlined.d.ts.map +1 -0
- package/dist/types/custom-icons/FolderEmpty.d.ts.map +1 -1
- package/dist/types/custom-icons/SwitchAccessShortcut.d.ts.map +1 -1
- package/dist/types/custom-icons/index.d.ts +4 -0
- package/dist/types/custom-icons/index.d.ts.map +1 -1
- package/dist/types/theme/components/data-display.d.ts.map +1 -1
- package/dist/types/theme/components/navigation.d.ts.map +1 -1
- package/dist/types/theme/types.d.ts +151 -0
- package/dist/types/theme/types.d.ts.map +1 -1
- package/dist/types/utils/theme-constants.d.ts +4 -0
- package/dist/types/utils/theme-constants.d.ts.map +1 -1
- package/dist/widgets/index.cjs +2 -2
- package/dist/widgets/index.js +2 -2
- package/package.json +1 -1
- package/dist/types/theme/components/stories/List.stories.d.ts +0 -62
- package/dist/types/theme/components/stories/List.stories.d.ts.map +0 -1
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { PaletteColor } from '@mui/material';
|
|
2
|
+
import { ListVariant } from '../components/List/types';
|
|
2
3
|
type Modify<T, R> = Omit<T, keyof R> & R;
|
|
3
4
|
type CustomDefaultPaletteColor = Modify<PaletteColor, {
|
|
4
5
|
background: string;
|
|
@@ -133,5 +134,155 @@ declare module '@mui/material/CircularProgress' {
|
|
|
133
134
|
neutral: true;
|
|
134
135
|
}
|
|
135
136
|
}
|
|
137
|
+
declare module '@mui/material/List' {
|
|
138
|
+
interface ListOwnProps {
|
|
139
|
+
/**
|
|
140
|
+
* The variant of the list.
|
|
141
|
+
* - 'standard': Default variant without border
|
|
142
|
+
* - 'outlined': List container and items have border
|
|
143
|
+
* - 'boxed': List items have border and background color
|
|
144
|
+
*/
|
|
145
|
+
variant?: ListVariant;
|
|
146
|
+
/**
|
|
147
|
+
* Spacing between list items (uses theme.spacing).
|
|
148
|
+
* Default: 0 for standard/outlined, 1 (8px) for boxed
|
|
149
|
+
*/
|
|
150
|
+
spacing?: number;
|
|
151
|
+
/**
|
|
152
|
+
* The direction of the list.
|
|
153
|
+
* - 'column': List items are stacked vertically (default)
|
|
154
|
+
* - 'column-reverse': List items are stacked vertically in reverse order
|
|
155
|
+
* - 'row-reverse': List items are stacked horizontally in reverse order
|
|
156
|
+
* - 'row': List items are stacked horizontally
|
|
157
|
+
* @default 'column'
|
|
158
|
+
*/
|
|
159
|
+
direction?: 'column' | 'column-reverse' | 'row-reverse' | 'row';
|
|
160
|
+
/**
|
|
161
|
+
* The color of the list.
|
|
162
|
+
* - 'transparent': Transparent background
|
|
163
|
+
* - 'default': Default background
|
|
164
|
+
* - 'paper': Paper background
|
|
165
|
+
*/
|
|
166
|
+
color?: 'transparent' | 'default' | 'paper';
|
|
167
|
+
/**
|
|
168
|
+
* If true, removes left and right padding (gutters) from the list items.
|
|
169
|
+
* @default false
|
|
170
|
+
*/
|
|
171
|
+
disableGutters?: boolean;
|
|
172
|
+
/**
|
|
173
|
+
* If true, the list item has a fixed height.
|
|
174
|
+
* - dense true: 52px
|
|
175
|
+
* - dense false: 68px
|
|
176
|
+
* If false, adapts to content.
|
|
177
|
+
* @default true
|
|
178
|
+
*/
|
|
179
|
+
fixedHeight?: boolean;
|
|
180
|
+
/**
|
|
181
|
+
* If true, the list has a divider between the list items. Only supported for standard variant.
|
|
182
|
+
* @default false
|
|
183
|
+
*/
|
|
184
|
+
divider?: boolean;
|
|
185
|
+
/**
|
|
186
|
+
* If true, enables virtualization for improved performance with large lists.
|
|
187
|
+
* Uses react-window's FixedSizeList for efficient rendering.
|
|
188
|
+
* @default false
|
|
189
|
+
*/
|
|
190
|
+
virtualized?: boolean;
|
|
191
|
+
/**
|
|
192
|
+
* The height of each list item in pixels. Required for optimal virtualization performance.
|
|
193
|
+
* Defaults based on dense prop: 52px (dense) or 68px (default).
|
|
194
|
+
*/
|
|
195
|
+
virtualizedItemHeight?: number;
|
|
196
|
+
/**
|
|
197
|
+
* Maximum height of the list container in pixels before scrolling is enabled.
|
|
198
|
+
* Only applies when virtualized is true.
|
|
199
|
+
* @default 312
|
|
200
|
+
*/
|
|
201
|
+
virtualizedListHeight?: number;
|
|
202
|
+
/**
|
|
203
|
+
* Number of items to render above/below the visible area.
|
|
204
|
+
* Higher values improve scroll smoothness but increase memory usage.
|
|
205
|
+
* Only applies when virtualized is true.
|
|
206
|
+
* @default 5
|
|
207
|
+
*/
|
|
208
|
+
overscanCount?: number;
|
|
209
|
+
}
|
|
210
|
+
}
|
|
211
|
+
declare module '@mui/material/ListItem' {
|
|
212
|
+
interface ListItemOwnProps {
|
|
213
|
+
/**
|
|
214
|
+
* The variant of the list item.
|
|
215
|
+
* - 'standard': Default variant without border
|
|
216
|
+
* - 'outlined': Variant with border
|
|
217
|
+
* - 'boxed': Variant with border and background color
|
|
218
|
+
*/
|
|
219
|
+
variant?: ListVariant;
|
|
220
|
+
/**
|
|
221
|
+
* If true, the list item has a fixed height.
|
|
222
|
+
* - dense true: 52px
|
|
223
|
+
* - dense false: 68px
|
|
224
|
+
* If false, adapts to content.
|
|
225
|
+
* @default true
|
|
226
|
+
*/
|
|
227
|
+
fixedHeight?: boolean;
|
|
228
|
+
/**
|
|
229
|
+
* If true, the list item is disabled.
|
|
230
|
+
* @default false
|
|
231
|
+
*/
|
|
232
|
+
disabled?: boolean;
|
|
233
|
+
/**
|
|
234
|
+
* Click handler. When provided, the component renders as a ListItemButton instead of ListItem.
|
|
235
|
+
*/
|
|
236
|
+
onClick?: React.MouseEventHandler<HTMLDivElement>;
|
|
237
|
+
}
|
|
238
|
+
}
|
|
239
|
+
declare module '@mui/material/ListItemButton' {
|
|
240
|
+
interface ListItemButtonOwnProps {
|
|
241
|
+
/**
|
|
242
|
+
* The variant of the list item.
|
|
243
|
+
* - 'standard': Default variant without border
|
|
244
|
+
* - 'outlined': Variant with border
|
|
245
|
+
* - 'boxed': Variant with border and background color
|
|
246
|
+
*/
|
|
247
|
+
variant?: ListVariant;
|
|
248
|
+
/**
|
|
249
|
+
* If true, the list item has a fixed height.
|
|
250
|
+
* - dense true: 52px
|
|
251
|
+
* - dense false: 68px
|
|
252
|
+
* If false, adapts to content.
|
|
253
|
+
* @default true
|
|
254
|
+
*/
|
|
255
|
+
fixedHeight?: boolean;
|
|
256
|
+
/**
|
|
257
|
+
* If true, the list item is disabled.
|
|
258
|
+
* @default false
|
|
259
|
+
*/
|
|
260
|
+
disabled?: boolean;
|
|
261
|
+
/**
|
|
262
|
+
* If true, the list item has no padding.
|
|
263
|
+
* @default false
|
|
264
|
+
*/
|
|
265
|
+
disablePadding?: boolean;
|
|
266
|
+
}
|
|
267
|
+
}
|
|
268
|
+
declare module '@mui/material/ListSubheader' {
|
|
269
|
+
interface ListSubheaderOwnProps {
|
|
270
|
+
/**
|
|
271
|
+
* The background color of the list subheader.
|
|
272
|
+
* - 'paper': Paper background
|
|
273
|
+
* - 'default': Default background
|
|
274
|
+
* - 'inherit': Inherit background from parent
|
|
275
|
+
* @default 'default'
|
|
276
|
+
*/
|
|
277
|
+
backgroundColor?: 'paper' | 'default' | 'inherit';
|
|
278
|
+
/**
|
|
279
|
+
* If true, the list subheader has dense lateral padding.
|
|
280
|
+
* - dense true: 12px
|
|
281
|
+
* - dense false: 16px
|
|
282
|
+
* @default true
|
|
283
|
+
*/
|
|
284
|
+
dense?: boolean;
|
|
285
|
+
}
|
|
286
|
+
}
|
|
136
287
|
export {};
|
|
137
288
|
//# sourceMappingURL=types.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/theme/types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,eAAe,CAAA;
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/theme/types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,eAAe,CAAA;AAC5C,OAAO,EAAE,WAAW,EAAE,MAAM,yBAAyB,CAAA;AAErD,KAAK,MAAM,CAAC,CAAC,EAAE,CAAC,IAAI,IAAI,CAAC,CAAC,EAAE,MAAM,CAAC,CAAC,GAAG,CAAC,CAAA;AAExC,KAAK,yBAAyB,GAAG,MAAM,CACrC,YAAY,EACZ;IACE,UAAU,EAAE,MAAM,CAAA;IAClB,cAAc,EAAE,MAAM,CAAA;CACvB,CACF,CAAA;AAED,UAAU,uBAAuB;IAC/B,QAAQ,EAAE,MAAM,CAAA;IAChB,WAAW,EAAE,MAAM,CAAA;IACnB,cAAc,EAAE,MAAM,CAAA;IACtB,QA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MAAM,CAAA;QAC9B;;;;WAIG;QACH,qBAAqB,CAAC,EAAE,MAAM,CAAA;QAC9B;;;;;WAKG;QACH,aAAa,CAAC,EAAE,MAAM,CAAA;KACvB;CACF;AAGD,OAAO,QAAQ,wBAAwB,CAAC;IACtC,UAAU,gBAAgB;QACxB;;;;;WAKG;QACH,OAAO,CAAC,EAAE,WAAW,CAAA;QACrB;;;;;;WAMG;QACH,WAAW,CAAC,EAAE,OAAO,CAAA;QACrB;;;WAGG;QACH,QAAQ,CAAC,EAAE,OAAO,CAAA;QAClB;;WAEG;QACH,OAAO,CAAC,EAAE,KAAK,CAAC,iBAAiB,CAAC,cAAc,CAAC,CAAA;KAClD;CACF;AAGD,OAAO,QAAQ,8BAA8B,CAAC;IAC5C,UAAU,sBAAsB;QAC9B;;;;;WAKG;QACH,OAAO,CAAC,EAAE,WAAW,CAAA;QACrB;;;;;;WAMG;QACH,WAAW,CAAC,EAAE,OAAO,CAAA;QACrB;;;WAGG;QACH,QAAQ,CAAC,EAAE,OAAO,CAAA;QAClB;;;WAGG;QACH,cAAc,CAAC,EAAE,OAAO,CAAA;KACzB;CACF;AAGD,OAAO,QAAQ,6BAA6B,CAAC;IAC3C,UAAU,qBAAqB;QAC7B;;;;;;WAMG;QACH,eAAe,CAAC,EAAE,OAAO,GAAG,SAAS,GAAG,SAAS,CAAA;QACjD;;;;;WAKG;QACH,KAAK,CAAC,EAAE,OAAO,CAAA;KAChB;CACF"}
|
|
@@ -16,4 +16,8 @@ export declare const MENU_LIST_MAX_SIZE = 312;
|
|
|
16
16
|
export declare const MENU_ITEM_SIZE_DENSE = 24;
|
|
17
17
|
export declare const MENU_ITEM_SIZE_DEFAULT = 32;
|
|
18
18
|
export declare const MENU_ITEM_SIZE_EXTENDED = 48;
|
|
19
|
+
export declare const LIST_ITEM_SIZE_DENSE = 52;
|
|
20
|
+
export declare const LIST_ITEM_SIZE_DEFAULT = 68;
|
|
21
|
+
export declare const LIST_MAX_SIZE = 312;
|
|
22
|
+
export declare const LIST_OVERSCAN_ITEMS_COUNT = 5;
|
|
19
23
|
//# sourceMappingURL=theme-constants.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"theme-constants.d.ts","sourceRoot":"","sources":["../../../src/utils/theme-constants.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,OAAO,IAAI,CAAA;AAGxB,eAAO,MAAM,WAAW;;;;;;CAMvB,CAAA;AAGD,eAAO,MAAM,UAAU,+BAAyB,CAAA;AAGhD,eAAO,MAAM,eAAe,QAAkB,CAAA;AAC9C,eAAO,MAAM,gBAAgB,QAAmB,CAAA;AAChD,eAAO,MAAM,eAAe,QAAgB,CAAA;AAG5C,eAAO,MAAM,WAAW,QAAgB,CAAA;AAGxC,eAAO,MAAM,2BAA2B,OAAO,CAAA;AAG/C,eAAO,MAAM,kBAAkB,MAAM,CAAA;AACrC,eAAO,MAAM,oBAAoB,KAAK,CAAA;AACtC,eAAO,MAAM,sBAAsB,KAAK,CAAA;AACxC,eAAO,MAAM,uBAAuB,KAAK,CAAA"}
|
|
1
|
+
{"version":3,"file":"theme-constants.d.ts","sourceRoot":"","sources":["../../../src/utils/theme-constants.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,OAAO,IAAI,CAAA;AAGxB,eAAO,MAAM,WAAW;;;;;;CAMvB,CAAA;AAGD,eAAO,MAAM,UAAU,+BAAyB,CAAA;AAGhD,eAAO,MAAM,eAAe,QAAkB,CAAA;AAC9C,eAAO,MAAM,gBAAgB,QAAmB,CAAA;AAChD,eAAO,MAAM,eAAe,QAAgB,CAAA;AAG5C,eAAO,MAAM,WAAW,QAAgB,CAAA;AAGxC,eAAO,MAAM,2BAA2B,OAAO,CAAA;AAG/C,eAAO,MAAM,kBAAkB,MAAM,CAAA;AACrC,eAAO,MAAM,oBAAoB,KAAK,CAAA;AACtC,eAAO,MAAM,sBAAsB,KAAK,CAAA;AACxC,eAAO,MAAM,uBAAuB,KAAK,CAAA;AAGzC,eAAO,MAAM,oBAAoB,KAAK,CAAA;AACtC,eAAO,MAAM,sBAAsB,KAAK,CAAA;AAGxC,eAAO,MAAM,aAAa,MAAM,CAAA;AAChC,eAAO,MAAM,yBAAyB,IAAI,CAAA"}
|
package/dist/widgets/index.cjs
CHANGED
|
@@ -4,11 +4,11 @@ const jsxRuntime = require("react/jsx-runtime");
|
|
|
4
4
|
const React = require("react");
|
|
5
5
|
const material = require("@mui/material");
|
|
6
6
|
const reactIntl = require("react-intl");
|
|
7
|
-
const cssUtils = require("../css-utils-
|
|
7
|
+
const cssUtils = require("../css-utils-B3V0Xzli.cjs");
|
|
8
8
|
const _ReactEcharts = require("echarts-for-react");
|
|
9
9
|
const reactWindow = require("react-window");
|
|
10
10
|
const Search = require("../Search-CMWbM9nD.cjs");
|
|
11
|
-
const Alert = require("../Alert-
|
|
11
|
+
const Alert = require("../Alert-0VBqBP4P.cjs");
|
|
12
12
|
const iconsMaterial = require("@mui/icons-material");
|
|
13
13
|
const paletteUtils = require("../palette-utils-B9ybmwiI.cjs");
|
|
14
14
|
const SwatchSquare = require("../SwatchSquare-DuXPIL7t.cjs");
|
package/dist/widgets/index.js
CHANGED
|
@@ -2,11 +2,11 @@ import { jsxs, Fragment, jsx } from "react/jsx-runtime";
|
|
|
2
2
|
import React, { useMemo, useState, useEffect, useCallback, useRef, createContext, useContext, useLayoutEffect, createRef } from "react";
|
|
3
3
|
import { useTheme, styled, Box, Skeleton, Grid, Link, darken, Button, Divider, TextField, InputAdornment, Checkbox, Tooltip, debounce, Slider, TableCell, Table, TableHead, TableRow, TableBody, TableContainer, TableSortLabel, TablePagination, IconButton as IconButton$1, Menu, MenuItem, SvgIcon, Icon, Collapse, LinearProgress, Typography as Typography$1, lighten, ClickAwayListener, ToggleButton, capitalize, ListItem, Chip, List, Paper, Popover, Select, ListItemText, Drawer } from "@mui/material";
|
|
4
4
|
import { useIntl } from "react-intl";
|
|
5
|
-
import {
|
|
5
|
+
import { n as getDefaultExportFromCjs, m as useImperativeIntl, T as Typography, S as SPACING, l as IconButton, B as BREAKPOINTS, a as TablePaginationActions, e as ellipsisStyles, b as ICON_SIZE_MEDIUM } from "../css-utils-D9LibDjo.js";
|
|
6
6
|
import _ReactEcharts from "echarts-for-react";
|
|
7
7
|
import { FixedSizeList } from "react-window";
|
|
8
8
|
import { S as Search } from "../Search-C7wkXu3f.js";
|
|
9
|
-
import { A as Alert, L as Link$1 } from "../Alert-
|
|
9
|
+
import { A as Alert, L as Link$1 } from "../Alert-BEzNSCqV.js";
|
|
10
10
|
import { ChevronLeft, ChevronRight, ExpandLess, ExpandMore, MoreVert, KeyboardArrowDown, ErrorOutline, Cancel, VisibilityOutlined, VisibilityOffOutlined, Close, LayersOutlined } from "@mui/icons-material";
|
|
11
11
|
import { a as getColorByCategory, c as commonPalette, b as getPalette } from "../palette-utils-BHqJlHm9.js";
|
|
12
12
|
import { S as SwatchSquare } from "../SwatchSquare-B6KYVoqV.js";
|
package/package.json
CHANGED
|
@@ -1,62 +0,0 @@
|
|
|
1
|
-
declare const options: {
|
|
2
|
-
title: string;
|
|
3
|
-
component: import('@mui/material').ExtendList<import('@mui/material').ListTypeMap<{}, "ul">>;
|
|
4
|
-
parameters: {
|
|
5
|
-
docs: {
|
|
6
|
-
description: {
|
|
7
|
-
component: string;
|
|
8
|
-
};
|
|
9
|
-
};
|
|
10
|
-
design: {
|
|
11
|
-
type: string;
|
|
12
|
-
url: string;
|
|
13
|
-
};
|
|
14
|
-
status: {
|
|
15
|
-
type: string[];
|
|
16
|
-
};
|
|
17
|
-
};
|
|
18
|
-
};
|
|
19
|
-
export default options;
|
|
20
|
-
export declare const Playground: {
|
|
21
|
-
render: ({ secondary }: {
|
|
22
|
-
secondary: React.ReactNode;
|
|
23
|
-
}) => import("react/jsx-runtime").JSX.Element;
|
|
24
|
-
};
|
|
25
|
-
export declare const Guide: {
|
|
26
|
-
render: () => import("react/jsx-runtime").JSX.Element;
|
|
27
|
-
parameters: {
|
|
28
|
-
chromatic: {
|
|
29
|
-
disableSnapshot: boolean;
|
|
30
|
-
};
|
|
31
|
-
};
|
|
32
|
-
};
|
|
33
|
-
export declare const OneLine: {
|
|
34
|
-
render: ({ secondary }: {
|
|
35
|
-
secondary: React.ReactNode;
|
|
36
|
-
}) => import("react/jsx-runtime").JSX.Element;
|
|
37
|
-
};
|
|
38
|
-
export declare const TwoLines: {
|
|
39
|
-
render: ({ secondary }: {
|
|
40
|
-
secondary: React.ReactNode;
|
|
41
|
-
}) => import("react/jsx-runtime").JSX.Element;
|
|
42
|
-
args: {
|
|
43
|
-
secondary: string;
|
|
44
|
-
};
|
|
45
|
-
};
|
|
46
|
-
export declare const SecondaryActions: {
|
|
47
|
-
render: () => import("react/jsx-runtime").JSX.Element;
|
|
48
|
-
};
|
|
49
|
-
export declare const MetaValue: {
|
|
50
|
-
render: ({ secondary, metaValue, }: {
|
|
51
|
-
secondary: React.ReactNode;
|
|
52
|
-
metaValue: string;
|
|
53
|
-
}) => import("react/jsx-runtime").JSX.Element;
|
|
54
|
-
args: {
|
|
55
|
-
secondary: string;
|
|
56
|
-
metaValue: string;
|
|
57
|
-
};
|
|
58
|
-
};
|
|
59
|
-
export declare const NestedOptions: {
|
|
60
|
-
render: () => import("react/jsx-runtime").JSX.Element;
|
|
61
|
-
};
|
|
62
|
-
//# sourceMappingURL=List.stories.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"List.stories.d.ts","sourceRoot":"","sources":["../../../../../src/theme/components/stories/List.stories.tsx"],"names":[],"mappings":"AAiCA,QAAA,MAAM,OAAO;;;;;;;;;;;;;;;;;CAiBG,CAAA;AAChB,eAAe,OAAO,CAAA;AA6btB,eAAO,MAAM,UAAU;4BArbU;QAAE,SAAS,EAAE,KAAK,CAAC,SAAS,CAAA;KAAE;CAub9D,CAAA;AAED,eAAO,MAAM,KAAK;;;;;;;CAKjB,CAAA;AAED,eAAO,MAAM,OAAO;4BAhca;QAAE,SAAS,EAAE,KAAK,CAAC,SAAS,CAAA;KAAE;CAkc9D,CAAA;AAED,eAAO,MAAM,QAAQ;4BApcY;QAAE,SAAS,EAAE,KAAK,CAAC,SAAS,CAAA;KAAE;;;;CAuc9D,CAAA;AAED,eAAO,MAAM,gBAAgB;;CAE5B,CAAA;AAED,eAAO,MAAM,SAAS;wCAzVnB;QACD,SAAS,EAAE,KAAK,CAAC,SAAS,CAAA;QAC1B,SAAS,EAAE,MAAM,CAAA;KAClB;;;;;CAyVA,CAAA;AAED,eAAO,MAAM,aAAa;;CAEzB,CAAA"}
|