@carto/meridian-ds 2.9.1-alpha-lists.3 → 2.9.2
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 +6 -3
- package/dist/{Alert-BWe4a9zW.js → Alert-BZPM5zpX.js} +1 -1
- package/dist/{Alert-BDpjbOOk.cjs → Alert-C4W0H_uN.cjs} +1 -1
- package/dist/{MenuItem-zaH11xyj.js → MenuItem-Cx5lTXXm.js} +1 -1
- package/dist/{MenuItem-DrvPgr-r.cjs → MenuItem-DoBJsRR_.cjs} +1 -1
- package/dist/components/index.cjs +7 -92
- package/dist/components/index.js +10 -95
- package/dist/{css-utils-Do3X_yIr.cjs → css-utils-CH7es90t.cjs} +0 -4
- package/dist/{css-utils-BzztxQJk.js → css-utils-CjUBRJVK.js} +4 -8
- package/dist/custom-icons/index.cjs +333 -243
- package/dist/custom-icons/index.js +333 -243
- package/dist/theme/index.cjs +26 -251
- package/dist/theme/index.js +28 -253
- package/dist/types/components/Avatar/Avatar.stories.d.ts.map +1 -1
- package/dist/types/components/Menu/Menu/Menu.stories.d.ts.map +1 -1
- package/dist/types/components/index.d.ts +0 -4
- 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/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/components/stories/List.stories.d.ts +62 -0
- package/dist/types/theme/components/stories/List.stories.d.ts.map +1 -0
- package/dist/types/theme/types.d.ts +0 -90
- package/dist/types/theme/types.d.ts.map +1 -1
- package/dist/types/utils/theme-constants.d.ts +0 -2
- 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/components/List/List.d.ts +0 -9
- package/dist/types/components/List/List.d.ts.map +0 -1
- package/dist/types/components/List/List.stories.d.ts +0 -80
- package/dist/types/components/List/List.stories.d.ts.map +0 -1
- package/dist/types/components/List/List.test.d.ts +0 -2
- package/dist/types/components/List/List.test.d.ts.map +0 -1
- package/dist/types/components/List/ListSubheader/ListSubheader.d.ts +0 -9
- package/dist/types/components/List/ListSubheader/ListSubheader.d.ts.map +0 -1
- package/dist/types/components/List/ListSubheader/ListSubheader.test.d.ts +0 -2
- package/dist/types/components/List/ListSubheader/ListSubheader.test.d.ts.map +0 -1
- package/dist/types/components/List/index.d.ts +0 -5
- package/dist/types/components/List/index.d.ts.map +0 -1
- package/dist/types/components/ListItem/ListItem.d.ts +0 -9
- package/dist/types/components/ListItem/ListItem.d.ts.map +0 -1
- package/dist/types/components/ListItem/ListItem.stories.d.ts +0 -235
- package/dist/types/components/ListItem/ListItem.stories.d.ts.map +0 -1
- package/dist/types/components/ListItem/ListItem.test.d.ts +0 -2
- package/dist/types/components/ListItem/ListItem.test.d.ts.map +0 -1
- package/dist/types/components/ListItem/ListItemRightContent/ListItemRightContent.d.ts +0 -14
- package/dist/types/components/ListItem/ListItemRightContent/ListItemRightContent.d.ts.map +0 -1
- package/dist/types/components/ListItem/ListItemRightContent/ListItemRightContent.test.d.ts +0 -2
- package/dist/types/components/ListItem/ListItemRightContent/ListItemRightContent.test.d.ts.map +0 -1
- package/dist/types/components/ListItem/index.d.ts +0 -5
- package/dist/types/components/ListItem/index.d.ts.map +0 -1
package/CHANGELOG.md
CHANGED
|
@@ -2,11 +2,14 @@
|
|
|
2
2
|
|
|
3
3
|
## Unreleased
|
|
4
4
|
|
|
5
|
-
- New List components (List, ListItem, ListSubheader, ListItemRightContent) [#336](https://github.com/CartoDB/meridian-ds/pull/336)
|
|
6
|
-
- CI: Auto-run Chromatic on release PRs [#334](https://github.com/CartoDB/meridian-ds/pull/334)
|
|
7
|
-
|
|
8
5
|
## 2.0
|
|
9
6
|
|
|
7
|
+
### 2.9.2
|
|
8
|
+
|
|
9
|
+
- Custom Icons: ArrowDownHigh, ArrowRightHigh, FolderEmpty [#345](https://github.com/CartoDB/meridian-ds/pull/345)
|
|
10
|
+
- Custom Icons: FilterCircle, FilterCircleOutlined [#337](https://github.com/CartoDB/meridian-ds/pull/337)
|
|
11
|
+
- CI: Auto-run Chromatic on release PRs [#334](https://github.com/CartoDB/meridian-ds/pull/334)
|
|
12
|
+
|
|
10
13
|
### 2.9.1
|
|
11
14
|
|
|
12
15
|
- Custom Icons: GroupOff, RunReuse, SearchMap, SwitchAccessShortcut [#335](https://github.com/CartoDB/meridian-ds/pull/335)
|
|
@@ -3,7 +3,7 @@ import { forwardRef, useState } from "react";
|
|
|
3
3
|
import { styled, Link as Link$1, Alert as Alert$1, Fade, AlertTitle } from "@mui/material";
|
|
4
4
|
import { OpenInNewOutlined } from "@mui/icons-material";
|
|
5
5
|
import "cartocolor";
|
|
6
|
-
import { c as ICON_SIZE_SMALL, b as ICON_SIZE_MEDIUM, u as useTranslationWithFallback, T as Typography } from "./css-utils-
|
|
6
|
+
import { c as ICON_SIZE_SMALL, b as ICON_SIZE_MEDIUM, u as useTranslationWithFallback, T as Typography } from "./css-utils-CjUBRJVK.js";
|
|
7
7
|
const ScreenReaderOnly = styled("span")(() => ({
|
|
8
8
|
position: "absolute",
|
|
9
9
|
width: 1,
|
|
@@ -4,7 +4,7 @@ const React = require("react");
|
|
|
4
4
|
const material = require("@mui/material");
|
|
5
5
|
const iconsMaterial = require("@mui/icons-material");
|
|
6
6
|
require("cartocolor");
|
|
7
|
-
const cssUtils = require("./css-utils-
|
|
7
|
+
const cssUtils = require("./css-utils-CH7es90t.cjs");
|
|
8
8
|
const ScreenReaderOnly = material.styled("span")(() => ({
|
|
9
9
|
position: "absolute",
|
|
10
10
|
width: 1,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx } from "react/jsx-runtime";
|
|
2
2
|
import { forwardRef } from "react";
|
|
3
3
|
import { styled, MenuItem as MenuItem$1 } from "@mui/material";
|
|
4
|
-
import { f as MENU_ITEM_SIZE_DENSE,
|
|
4
|
+
import { f as MENU_ITEM_SIZE_DENSE, h as MENU_ITEM_SIZE_EXTENDED } from "./css-utils-CjUBRJVK.js";
|
|
5
5
|
function getPixelToRem(px) {
|
|
6
6
|
const fontBase = 16;
|
|
7
7
|
const rem = 1 / fontBase * px + "rem";
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
const jsxRuntime = require("react/jsx-runtime");
|
|
3
3
|
const React = require("react");
|
|
4
4
|
const material = require("@mui/material");
|
|
5
|
-
const cssUtils = require("./css-utils-
|
|
5
|
+
const cssUtils = require("./css-utils-CH7es90t.cjs");
|
|
6
6
|
function getPixelToRem(px) {
|
|
7
7
|
const fontBase = 16;
|
|
8
8
|
const rem = 1 / fontBase * px + "rem";
|
|
@@ -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 iconsMaterial = require("@mui/icons-material");
|
|
7
|
-
const cssUtils = require("../css-utils-
|
|
8
|
-
const Alert$1 = require("../Alert-
|
|
7
|
+
const cssUtils = require("../css-utils-CH7es90t.cjs");
|
|
8
|
+
const Alert$1 = require("../Alert-C4W0H_uN.cjs");
|
|
9
9
|
const ArrowDown = require("../ArrowDown-DJ0vhbsw.cjs");
|
|
10
10
|
const OpenDiagonallyRight = require("../OpenDiagonallyRight-CpL4ROwg.cjs");
|
|
11
|
-
const MenuItem = require("../MenuItem-
|
|
11
|
+
const MenuItem = require("../MenuItem-DoBJsRR_.cjs");
|
|
12
12
|
require("cartocolor");
|
|
13
13
|
const reactWindow = require("react-window");
|
|
14
14
|
const reactCodemirror2 = require("react-codemirror2");
|
|
@@ -1479,7 +1479,7 @@ function useMultipleAutocomplete({
|
|
|
1479
1479
|
getCounterRenderTags
|
|
1480
1480
|
};
|
|
1481
1481
|
}
|
|
1482
|
-
const List
|
|
1482
|
+
const List = material.styled("ul")(
|
|
1483
1483
|
({ theme, hasFilters }) => ({
|
|
1484
1484
|
...!hasFilters && {
|
|
1485
1485
|
paddingTop: `${theme.spacing(1)} !important`
|
|
@@ -1606,7 +1606,7 @@ function _AutocompleteList({
|
|
|
1606
1606
|
);
|
|
1607
1607
|
};
|
|
1608
1608
|
return /* @__PURE__ */ jsxRuntime.jsxs(
|
|
1609
|
-
List
|
|
1609
|
+
List,
|
|
1610
1610
|
{
|
|
1611
1611
|
ref,
|
|
1612
1612
|
...otherProps,
|
|
@@ -4928,7 +4928,7 @@ const StyledMenu = material.styled(material.Menu, {
|
|
|
4928
4928
|
}
|
|
4929
4929
|
}
|
|
4930
4930
|
}));
|
|
4931
|
-
function _Menu({ extended, width, height, MenuListProps
|
|
4931
|
+
function _Menu({ extended, width, height, MenuListProps, ...otherProps }, ref) {
|
|
4932
4932
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
4933
4933
|
StyledMenu,
|
|
4934
4934
|
{
|
|
@@ -4939,7 +4939,7 @@ function _Menu({ extended, width, height, MenuListProps: MenuListProps2, ...othe
|
|
|
4939
4939
|
height,
|
|
4940
4940
|
extended,
|
|
4941
4941
|
MenuListProps: {
|
|
4942
|
-
...
|
|
4942
|
+
...MenuListProps,
|
|
4943
4943
|
"data-width": width,
|
|
4944
4944
|
"data-height": height,
|
|
4945
4945
|
"data-extended": extended
|
|
@@ -6263,87 +6263,6 @@ function _EllipsisWithTooltip({
|
|
|
6263
6263
|
);
|
|
6264
6264
|
}
|
|
6265
6265
|
const EllipsisWithTooltip = React.forwardRef(_EllipsisWithTooltip);
|
|
6266
|
-
function _List({ variant = "standard", spacing, ...otherProps }, ref) {
|
|
6267
|
-
const isOutlinedItems = variant === "outlined-items";
|
|
6268
|
-
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
6269
|
-
material.List,
|
|
6270
|
-
{
|
|
6271
|
-
...otherProps,
|
|
6272
|
-
variant,
|
|
6273
|
-
spacing: spacing ?? (isOutlinedItems ? 1 : 0),
|
|
6274
|
-
ref,
|
|
6275
|
-
"data-name": "list",
|
|
6276
|
-
"data-variant": variant,
|
|
6277
|
-
"data-spacing": spacing
|
|
6278
|
-
}
|
|
6279
|
-
);
|
|
6280
|
-
}
|
|
6281
|
-
const List = React.forwardRef(_List);
|
|
6282
|
-
function _ListSubheader({ backgroundColor = "default", ...otherProps }, ref) {
|
|
6283
|
-
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
6284
|
-
material.ListSubheader,
|
|
6285
|
-
{
|
|
6286
|
-
...otherProps,
|
|
6287
|
-
ref,
|
|
6288
|
-
"data-name": "list-subheader",
|
|
6289
|
-
"data-background-color": backgroundColor
|
|
6290
|
-
}
|
|
6291
|
-
);
|
|
6292
|
-
}
|
|
6293
|
-
const ListSubheader = React.forwardRef(_ListSubheader);
|
|
6294
|
-
function _ListItem({
|
|
6295
|
-
variant = "standard",
|
|
6296
|
-
disabled,
|
|
6297
|
-
fixedHeight = true,
|
|
6298
|
-
onClick,
|
|
6299
|
-
...otherProps
|
|
6300
|
-
}, ref) {
|
|
6301
|
-
if (onClick) {
|
|
6302
|
-
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
6303
|
-
material.ListItemButton,
|
|
6304
|
-
{
|
|
6305
|
-
...otherProps,
|
|
6306
|
-
variant,
|
|
6307
|
-
disabled,
|
|
6308
|
-
onClick,
|
|
6309
|
-
ref,
|
|
6310
|
-
"data-name": "list-item-button",
|
|
6311
|
-
"data-variant": variant,
|
|
6312
|
-
"data-fixed-height": fixedHeight
|
|
6313
|
-
}
|
|
6314
|
-
);
|
|
6315
|
-
}
|
|
6316
|
-
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
6317
|
-
material.ListItem,
|
|
6318
|
-
{
|
|
6319
|
-
...otherProps,
|
|
6320
|
-
variant,
|
|
6321
|
-
disabled,
|
|
6322
|
-
"aria-disabled": disabled,
|
|
6323
|
-
ref,
|
|
6324
|
-
"data-name": "list-item",
|
|
6325
|
-
"data-variant": variant,
|
|
6326
|
-
"data-fixed-height": fixedHeight
|
|
6327
|
-
}
|
|
6328
|
-
);
|
|
6329
|
-
}
|
|
6330
|
-
const ListItem = React.forwardRef(_ListItem);
|
|
6331
|
-
function ListItemRightContent({
|
|
6332
|
-
children,
|
|
6333
|
-
...props
|
|
6334
|
-
}) {
|
|
6335
|
-
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
6336
|
-
material.Stack,
|
|
6337
|
-
{
|
|
6338
|
-
direction: "row",
|
|
6339
|
-
alignItems: "center",
|
|
6340
|
-
gap: 1.5,
|
|
6341
|
-
...props,
|
|
6342
|
-
"data-name": "list-item-right-content",
|
|
6343
|
-
children
|
|
6344
|
-
}
|
|
6345
|
-
);
|
|
6346
|
-
}
|
|
6347
6266
|
exports.IconButton = cssUtils.IconButton;
|
|
6348
6267
|
exports.TablePaginationActions = cssUtils.TablePaginationActions;
|
|
6349
6268
|
exports.Typography = cssUtils.Typography;
|
|
@@ -6389,10 +6308,6 @@ exports.EmptyState = EmptyState;
|
|
|
6389
6308
|
exports.FilterDropdown = FilterDropdown;
|
|
6390
6309
|
exports.FilterDropdownMenuItem = FilterDropdownMenuItem;
|
|
6391
6310
|
exports.LabelWithIndicator = LabelWithIndicator;
|
|
6392
|
-
exports.List = List;
|
|
6393
|
-
exports.ListItem = ListItem;
|
|
6394
|
-
exports.ListItemRightContent = ListItemRightContent;
|
|
6395
|
-
exports.ListSubheader = ListSubheader;
|
|
6396
6311
|
exports.Loader = Loader;
|
|
6397
6312
|
exports.Menu = Menu;
|
|
6398
6313
|
exports.MenuItemFilter = MenuItemFilter;
|
package/dist/components/index.js
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { jsx, jsxs, Fragment } from "react/jsx-runtime";
|
|
2
2
|
import React, { forwardRef, useState, useRef, useEffect, useMemo, createElement, Fragment as Fragment$1, useCallback, useImperativeHandle } from "react";
|
|
3
|
-
import { styled, Box, Button as Button$1, CircularProgress as CircularProgress$1, Popper, Grow, Paper, ClickAwayListener, MenuList as MenuList$1, MenuItem, ButtonGroup as ButtonGroup$1, TextField, InputAdornment, Select, FormControl, InputLabel, FormHelperText, Link, Checkbox, IconButton as IconButton$1, ListItemText, Tooltip, ToggleButtonGroup as ToggleButtonGroup$1, Stack, Autocomplete as Autocomplete$1, Divider, ListItemIcon, createFilterOptions, alpha, useTheme, AppBar as AppBar$1, Toolbar, Dialog as Dialog$1, DialogTitle as DialogTitle$1, Chip, DialogContent as DialogContent$1, DialogActions as DialogActions$1, Slide, Accordion, AccordionSummary, AccordionDetails, Avatar as Avatar$1, Menu as Menu$2, useMediaQuery, Snackbar as Snackbar$1, Portal, Fade
|
|
3
|
+
import { styled, Box, Button as Button$1, CircularProgress as CircularProgress$1, Popper, Grow, Paper, ClickAwayListener, MenuList as MenuList$1, MenuItem, ButtonGroup as ButtonGroup$1, TextField, InputAdornment, Select, FormControl, InputLabel, FormHelperText, Link, Checkbox, IconButton as IconButton$1, ListItemText, Tooltip, ToggleButtonGroup as ToggleButtonGroup$1, Stack, Autocomplete as Autocomplete$1, Divider, ListItemIcon, createFilterOptions, alpha, useTheme, AppBar as AppBar$1, Toolbar, Dialog as Dialog$1, DialogTitle as DialogTitle$1, Chip, DialogContent as DialogContent$1, DialogActions as DialogActions$1, Slide, Accordion, AccordionSummary, AccordionDetails, Avatar as Avatar$1, Menu as Menu$2, useMediaQuery, Snackbar as Snackbar$1, Portal, Fade } from "@mui/material";
|
|
4
4
|
import { OpenInNewOutlined, VisibilityOffOutlined, VisibilityOutlined, Cancel, ContentCopyOutlined, AddCircleOutlineOutlined, MenuOutlined, MoreVertOutlined, HelpOutline, ErrorOutline, CloseOutlined, Check, TodayOutlined } from "@mui/icons-material";
|
|
5
|
-
import { u as useTranslationWithFallback, T as Typography, c as ICON_SIZE_SMALL,
|
|
6
|
-
import { a } from "../css-utils-
|
|
7
|
-
import { S as ScreenReaderOnly, A as Alert$1 } from "../Alert-
|
|
8
|
-
import { L } from "../Alert-
|
|
5
|
+
import { u as useTranslationWithFallback, T as Typography, c as ICON_SIZE_SMALL, i as IconButton, f as MENU_ITEM_SIZE_DENSE, d as MENU_LIST_MAX_SIZE, h as MENU_ITEM_SIZE_EXTENDED, M as MENU_ITEM_SIZE_DEFAULT, A as APPBAR_SIZE, j as useImperativeIntl, b as ICON_SIZE_MEDIUM, N as NOTIFICATION_DURATION_IN_MS, e as ellipsisStyles } from "../css-utils-CjUBRJVK.js";
|
|
6
|
+
import { a } from "../css-utils-CjUBRJVK.js";
|
|
7
|
+
import { S as ScreenReaderOnly, A as Alert$1 } from "../Alert-BZPM5zpX.js";
|
|
8
|
+
import { L } from "../Alert-BZPM5zpX.js";
|
|
9
9
|
import { A as ArrowDown } from "../ArrowDown-d6bxUL0F.js";
|
|
10
10
|
import { A as ArrowUp, O as OpenDiagonallyRight, C as CloseDiagonallyRight } from "../OpenDiagonallyRight-CGdCEXlF.js";
|
|
11
|
-
import { M as MenuItem$1, a as getThemeColor } from "../MenuItem-
|
|
11
|
+
import { M as MenuItem$1, a as getThemeColor } from "../MenuItem-Cx5lTXXm.js";
|
|
12
12
|
import "cartocolor";
|
|
13
13
|
import { FixedSizeList } from "react-window";
|
|
14
14
|
import { Controlled, UnControlled } from "react-codemirror2";
|
|
@@ -1479,7 +1479,7 @@ function useMultipleAutocomplete({
|
|
|
1479
1479
|
getCounterRenderTags
|
|
1480
1480
|
};
|
|
1481
1481
|
}
|
|
1482
|
-
const List
|
|
1482
|
+
const List = styled("ul")(
|
|
1483
1483
|
({ theme, hasFilters }) => ({
|
|
1484
1484
|
...!hasFilters && {
|
|
1485
1485
|
paddingTop: `${theme.spacing(1)} !important`
|
|
@@ -1606,7 +1606,7 @@ function _AutocompleteList({
|
|
|
1606
1606
|
);
|
|
1607
1607
|
};
|
|
1608
1608
|
return /* @__PURE__ */ jsxs(
|
|
1609
|
-
List
|
|
1609
|
+
List,
|
|
1610
1610
|
{
|
|
1611
1611
|
ref,
|
|
1612
1612
|
...otherProps,
|
|
@@ -4928,7 +4928,7 @@ const StyledMenu = styled(Menu$2, {
|
|
|
4928
4928
|
}
|
|
4929
4929
|
}
|
|
4930
4930
|
}));
|
|
4931
|
-
function _Menu({ extended, width, height, MenuListProps
|
|
4931
|
+
function _Menu({ extended, width, height, MenuListProps, ...otherProps }, ref) {
|
|
4932
4932
|
return /* @__PURE__ */ jsx(
|
|
4933
4933
|
StyledMenu,
|
|
4934
4934
|
{
|
|
@@ -4939,7 +4939,7 @@ function _Menu({ extended, width, height, MenuListProps: MenuListProps2, ...othe
|
|
|
4939
4939
|
height,
|
|
4940
4940
|
extended,
|
|
4941
4941
|
MenuListProps: {
|
|
4942
|
-
...
|
|
4942
|
+
...MenuListProps,
|
|
4943
4943
|
"data-width": width,
|
|
4944
4944
|
"data-height": height,
|
|
4945
4945
|
"data-extended": extended
|
|
@@ -6263,87 +6263,6 @@ function _EllipsisWithTooltip({
|
|
|
6263
6263
|
);
|
|
6264
6264
|
}
|
|
6265
6265
|
const EllipsisWithTooltip = forwardRef(_EllipsisWithTooltip);
|
|
6266
|
-
function _List({ variant = "standard", spacing, ...otherProps }, ref) {
|
|
6267
|
-
const isOutlinedItems = variant === "outlined-items";
|
|
6268
|
-
return /* @__PURE__ */ jsx(
|
|
6269
|
-
List$2,
|
|
6270
|
-
{
|
|
6271
|
-
...otherProps,
|
|
6272
|
-
variant,
|
|
6273
|
-
spacing: spacing ?? (isOutlinedItems ? 1 : 0),
|
|
6274
|
-
ref,
|
|
6275
|
-
"data-name": "list",
|
|
6276
|
-
"data-variant": variant,
|
|
6277
|
-
"data-spacing": spacing
|
|
6278
|
-
}
|
|
6279
|
-
);
|
|
6280
|
-
}
|
|
6281
|
-
const List = forwardRef(_List);
|
|
6282
|
-
function _ListSubheader({ backgroundColor = "default", ...otherProps }, ref) {
|
|
6283
|
-
return /* @__PURE__ */ jsx(
|
|
6284
|
-
ListSubheader$1,
|
|
6285
|
-
{
|
|
6286
|
-
...otherProps,
|
|
6287
|
-
ref,
|
|
6288
|
-
"data-name": "list-subheader",
|
|
6289
|
-
"data-background-color": backgroundColor
|
|
6290
|
-
}
|
|
6291
|
-
);
|
|
6292
|
-
}
|
|
6293
|
-
const ListSubheader = forwardRef(_ListSubheader);
|
|
6294
|
-
function _ListItem({
|
|
6295
|
-
variant = "standard",
|
|
6296
|
-
disabled,
|
|
6297
|
-
fixedHeight = true,
|
|
6298
|
-
onClick,
|
|
6299
|
-
...otherProps
|
|
6300
|
-
}, ref) {
|
|
6301
|
-
if (onClick) {
|
|
6302
|
-
return /* @__PURE__ */ jsx(
|
|
6303
|
-
ListItemButton,
|
|
6304
|
-
{
|
|
6305
|
-
...otherProps,
|
|
6306
|
-
variant,
|
|
6307
|
-
disabled,
|
|
6308
|
-
onClick,
|
|
6309
|
-
ref,
|
|
6310
|
-
"data-name": "list-item-button",
|
|
6311
|
-
"data-variant": variant,
|
|
6312
|
-
"data-fixed-height": fixedHeight
|
|
6313
|
-
}
|
|
6314
|
-
);
|
|
6315
|
-
}
|
|
6316
|
-
return /* @__PURE__ */ jsx(
|
|
6317
|
-
ListItem$1,
|
|
6318
|
-
{
|
|
6319
|
-
...otherProps,
|
|
6320
|
-
variant,
|
|
6321
|
-
disabled,
|
|
6322
|
-
"aria-disabled": disabled,
|
|
6323
|
-
ref,
|
|
6324
|
-
"data-name": "list-item",
|
|
6325
|
-
"data-variant": variant,
|
|
6326
|
-
"data-fixed-height": fixedHeight
|
|
6327
|
-
}
|
|
6328
|
-
);
|
|
6329
|
-
}
|
|
6330
|
-
const ListItem = forwardRef(_ListItem);
|
|
6331
|
-
function ListItemRightContent({
|
|
6332
|
-
children,
|
|
6333
|
-
...props
|
|
6334
|
-
}) {
|
|
6335
|
-
return /* @__PURE__ */ jsx(
|
|
6336
|
-
Stack,
|
|
6337
|
-
{
|
|
6338
|
-
direction: "row",
|
|
6339
|
-
alignItems: "center",
|
|
6340
|
-
gap: 1.5,
|
|
6341
|
-
...props,
|
|
6342
|
-
"data-name": "list-item-right-content",
|
|
6343
|
-
children
|
|
6344
|
-
}
|
|
6345
|
-
);
|
|
6346
|
-
}
|
|
6347
6266
|
export {
|
|
6348
6267
|
AUTOCOMPLETE_GROUP_HEADER_PROPERTY,
|
|
6349
6268
|
AccordionGroup,
|
|
@@ -6386,10 +6305,6 @@ export {
|
|
|
6386
6305
|
IconButton,
|
|
6387
6306
|
LabelWithIndicator,
|
|
6388
6307
|
L as Link,
|
|
6389
|
-
List,
|
|
6390
|
-
ListItem,
|
|
6391
|
-
ListItemRightContent,
|
|
6392
|
-
ListSubheader,
|
|
6393
6308
|
Loader,
|
|
6394
6309
|
Menu,
|
|
6395
6310
|
MenuItem$1 as MenuItem,
|
|
@@ -782,8 +782,6 @@ const MENU_LIST_MAX_SIZE = 312;
|
|
|
782
782
|
const MENU_ITEM_SIZE_DENSE = 24;
|
|
783
783
|
const MENU_ITEM_SIZE_DEFAULT = 32;
|
|
784
784
|
const MENU_ITEM_SIZE_EXTENDED = 48;
|
|
785
|
-
const LIST_ITEM_SIZE_DENSE = 52;
|
|
786
|
-
const LIST_ITEM_SIZE_DEFAULT = 68;
|
|
787
785
|
const FontWeight = {
|
|
788
786
|
regular: 400,
|
|
789
787
|
medium: 500,
|
|
@@ -5761,8 +5759,6 @@ exports.ICON_SIZE_LARGE = ICON_SIZE_LARGE;
|
|
|
5761
5759
|
exports.ICON_SIZE_MEDIUM = ICON_SIZE_MEDIUM;
|
|
5762
5760
|
exports.ICON_SIZE_SMALL = ICON_SIZE_SMALL;
|
|
5763
5761
|
exports.IconButton = IconButton;
|
|
5764
|
-
exports.LIST_ITEM_SIZE_DEFAULT = LIST_ITEM_SIZE_DEFAULT;
|
|
5765
|
-
exports.LIST_ITEM_SIZE_DENSE = LIST_ITEM_SIZE_DENSE;
|
|
5766
5762
|
exports.MENU_ITEM_SIZE_DEFAULT = MENU_ITEM_SIZE_DEFAULT;
|
|
5767
5763
|
exports.MENU_ITEM_SIZE_DENSE = MENU_ITEM_SIZE_DENSE;
|
|
5768
5764
|
exports.MENU_ITEM_SIZE_EXTENDED = MENU_ITEM_SIZE_EXTENDED;
|
|
@@ -781,8 +781,6 @@ const MENU_LIST_MAX_SIZE = 312;
|
|
|
781
781
|
const MENU_ITEM_SIZE_DENSE = 24;
|
|
782
782
|
const MENU_ITEM_SIZE_DEFAULT = 32;
|
|
783
783
|
const MENU_ITEM_SIZE_EXTENDED = 48;
|
|
784
|
-
const LIST_ITEM_SIZE_DENSE = 52;
|
|
785
|
-
const LIST_ITEM_SIZE_DEFAULT = 68;
|
|
786
784
|
const FontWeight = {
|
|
787
785
|
regular: 400,
|
|
788
786
|
medium: 500,
|
|
@@ -5758,7 +5756,6 @@ export {
|
|
|
5758
5756
|
APPBAR_SIZE as A,
|
|
5759
5757
|
BREAKPOINTS as B,
|
|
5760
5758
|
ICON_SIZE_LARGE as I,
|
|
5761
|
-
LIST_ITEM_SIZE_DENSE as L,
|
|
5762
5759
|
MENU_ITEM_SIZE_DEFAULT as M,
|
|
5763
5760
|
NOTIFICATION_DURATION_IN_MS as N,
|
|
5764
5761
|
SPACING as S,
|
|
@@ -5770,10 +5767,9 @@ export {
|
|
|
5770
5767
|
ellipsisStyles as e,
|
|
5771
5768
|
MENU_ITEM_SIZE_DENSE as f,
|
|
5772
5769
|
getSpacing as g,
|
|
5773
|
-
|
|
5774
|
-
|
|
5775
|
-
|
|
5776
|
-
|
|
5777
|
-
getDefaultExportFromCjs as l,
|
|
5770
|
+
MENU_ITEM_SIZE_EXTENDED as h,
|
|
5771
|
+
IconButton as i,
|
|
5772
|
+
useImperativeIntl as j,
|
|
5773
|
+
getDefaultExportFromCjs as k,
|
|
5778
5774
|
useTranslationWithFallback as u
|
|
5779
5775
|
};
|