@carto/meridian-ds 1.4.8-alpha-external-link.5 → 1.5.0-alpha-virtual-autocomplete.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 +6 -4
- package/dist/{Alert-CmDToT57.cjs → Alert-BzEgeyQJ.cjs} +1 -72
- package/dist/{Alert-2L0Hy8lT.js → Alert-CnaTtNJd.js} +3 -74
- package/dist/{MenuItem-CXnnE5lK.js → MenuItem-D6wJym7Z.js} +9 -5
- package/dist/{MenuItem-Br2jY2lt.cjs → MenuItem-lAxlHrDp.cjs} +9 -5
- package/dist/{TablePaginationActions-b5wP_uRE.js → TablePaginationActions-Cz5Hbi6N.js} +12 -7
- package/dist/{TablePaginationActions-CAmwcyTy.cjs → TablePaginationActions-mbbjzV6Y.cjs} +11 -6
- package/dist/components/index.cjs +163 -55
- package/dist/components/index.js +164 -57
- package/dist/theme/index.cjs +13 -9
- package/dist/theme/index.js +14 -10
- package/dist/types/components/atoms/Button.d.ts +0 -11
- package/dist/types/components/atoms/Button.d.ts.map +1 -1
- package/dist/types/components/atoms/index.d.ts +0 -2
- package/dist/types/components/atoms/index.d.ts.map +1 -1
- package/dist/types/components/molecules/Autocomplete/CreatableAutocomplete.d.ts +1 -1
- package/dist/types/components/molecules/Autocomplete/CreatableAutocomplete.d.ts.map +1 -1
- package/dist/types/components/molecules/Autocomplete/ListBoxWithFilter.d.ts +18 -0
- package/dist/types/components/molecules/Autocomplete/ListBoxWithFilter.d.ts.map +1 -1
- package/dist/types/components/molecules/Autocomplete/MultipleAutocomplete.d.ts +1 -1
- package/dist/types/components/molecules/Autocomplete/MultipleAutocomplete.d.ts.map +1 -1
- package/dist/types/components/molecules/Autocomplete/types.d.ts +61 -3
- package/dist/types/components/molecules/Autocomplete/types.d.ts.map +1 -1
- package/dist/types/components/molecules/Autocomplete/useMultipleAutocomplete.d.ts +3 -1
- package/dist/types/components/molecules/Autocomplete/useMultipleAutocomplete.d.ts.map +1 -1
- package/dist/types/components/molecules/Autocomplete/utils.d.ts +9 -0
- package/dist/types/components/molecules/Autocomplete/utils.d.ts.map +1 -1
- package/dist/types/components/molecules/Menu/Menu.d.ts.map +1 -1
- package/dist/types/components/molecules/Menu/MenuItem.d.ts.map +1 -1
- package/dist/types/components/molecules/Menu/MenuItemFilter.d.ts.map +1 -1
- package/dist/types/components/molecules/Menu/MenuList.d.ts.map +1 -1
- package/dist/types/components/molecules/MultipleSelectField/MultipleSelectField.d.ts.map +1 -1
- package/dist/types/localization/en.d.ts +0 -1
- package/dist/types/localization/en.d.ts.map +1 -1
- package/dist/types/localization/es.d.ts +0 -1
- package/dist/types/localization/es.d.ts.map +1 -1
- package/dist/types/localization/id.d.ts +0 -1
- package/dist/types/localization/id.d.ts.map +1 -1
- package/dist/types/localization/index.d.ts +0 -3
- package/dist/types/localization/index.d.ts.map +1 -1
- package/dist/types/theme/sections/components/forms.d.ts.map +1 -1
- package/dist/types/theme/sections/components/navigation.d.ts.map +1 -1
- package/dist/types/theme/theme-constants.d.ts +4 -0
- package/dist/types/theme/theme-constants.d.ts.map +1 -1
- package/dist/types/theme/types.d.ts +0 -6
- package/dist/types/theme/types.d.ts.map +1 -1
- package/dist/types/widgets/CategoryWidgetUI/CategoryWidgetUI.styled.d.ts +1 -1
- package/dist/types/widgets/CategoryWidgetUI/CategoryWidgetUI.styled.d.ts.map +1 -1
- package/dist/types/widgets/comparative/ComparativeCategoryWidgetUI/ComparativeCategoryWidgetUI.d.ts.map +1 -1
- package/dist/widgets/index.cjs +5 -5
- package/dist/widgets/index.js +5 -5
- package/package.json +1 -1
- package/dist/types/components/atoms/Link.d.ts +0 -14
- package/dist/types/components/atoms/Link.d.ts.map +0 -1
package/CHANGELOG.md
CHANGED
|
@@ -2,13 +2,15 @@
|
|
|
2
2
|
|
|
3
3
|
## Unreleased
|
|
4
4
|
|
|
5
|
-
-
|
|
6
|
-
- Fix tooltips in ChartLegend pagination buttons [201](https://github.com/CartoDB/meridian-ds/pull/201)
|
|
7
|
-
- Add `SplitButton` [#212](https://github.com/CartoDB/meridian-ds/pull/212)
|
|
8
|
-
- CodeArea: Add automatic text marking for markdown [#209](https://github.com/CartoDB/meridian-ds/pull/209)
|
|
5
|
+
- Support VirtualizedList in Autocomplete components [#215](https://github.com/CartoDB/meridian-ds/pull/215)
|
|
9
6
|
|
|
10
7
|
## 1.0
|
|
11
8
|
|
|
9
|
+
### 1.5.0
|
|
10
|
+
|
|
11
|
+
- Add `SplitButton` [#212](https://github.com/CartoDB/meridian-ds/pull/212)
|
|
12
|
+
- CodeArea: Add automatic text marking for markdown [#209](https://github.com/CartoDB/meridian-ds/pull/209)
|
|
13
|
+
|
|
12
14
|
### 1.4.8
|
|
13
15
|
|
|
14
16
|
- Fix Category Widget Blanks [#210](https://github.com/CartoDB/meridian-ds/pull/210)
|
|
@@ -2,10 +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
|
|
6
|
-
const iconsMaterial = require("@mui/icons-material");
|
|
7
|
-
const TablePaginationActions = require("./TablePaginationActions-CAmwcyTy.cjs");
|
|
8
|
-
require("cartocolor");
|
|
5
|
+
const TablePaginationActions = require("./TablePaginationActions-mbbjzV6Y.cjs");
|
|
9
6
|
const Option = material.styled("div")(({ theme }) => ({
|
|
10
7
|
position: "relative",
|
|
11
8
|
display: "inline-flex",
|
|
@@ -64,73 +61,6 @@ function _IconButton({
|
|
|
64
61
|
) });
|
|
65
62
|
}
|
|
66
63
|
const IconButton = React.forwardRef(_IconButton);
|
|
67
|
-
const StyledLink = material.styled(material.Link)(({ theme }) => ({
|
|
68
|
-
display: "inline-flex",
|
|
69
|
-
alignItems: "center",
|
|
70
|
-
gap: theme.spacing(0.25)
|
|
71
|
-
}));
|
|
72
|
-
const Icon = material.styled(material.Box, {
|
|
73
|
-
shouldForwardProp: (prop) => prop !== "variant"
|
|
74
|
-
})(({ variant }) => ({
|
|
75
|
-
display: "flex",
|
|
76
|
-
svg: {
|
|
77
|
-
// Size adapts to the text size, but make sure the icon size is at least 12px
|
|
78
|
-
fontSize: `max(1em, ${TablePaginationActions.ICON_SIZE_SMALL})`,
|
|
79
|
-
color: "inherit !important",
|
|
80
|
-
"> path": {
|
|
81
|
-
color: "inherit !important"
|
|
82
|
-
},
|
|
83
|
-
// Defined sizes in design specs
|
|
84
|
-
...variant === "caption" && {
|
|
85
|
-
fontSize: TablePaginationActions.ICON_SIZE_SMALL
|
|
86
|
-
},
|
|
87
|
-
...variant === "button" && {
|
|
88
|
-
fontSize: TablePaginationActions.ICON_SIZE_MEDIUM
|
|
89
|
-
},
|
|
90
|
-
...variant === "body2" && {
|
|
91
|
-
fontSize: TablePaginationActions.ICON_SIZE_MEDIUM
|
|
92
|
-
},
|
|
93
|
-
...variant === "body1" && {
|
|
94
|
-
fontSize: TablePaginationActions.ICON_SIZE_LARGE
|
|
95
|
-
}
|
|
96
|
-
}
|
|
97
|
-
}));
|
|
98
|
-
function _Link({
|
|
99
|
-
children,
|
|
100
|
-
variant,
|
|
101
|
-
startIcon,
|
|
102
|
-
endIcon,
|
|
103
|
-
color,
|
|
104
|
-
external,
|
|
105
|
-
showExternalIcon = true,
|
|
106
|
-
...otherProps
|
|
107
|
-
}, ref) {
|
|
108
|
-
const intl = reactIntl.useIntl();
|
|
109
|
-
const intlConfig = TablePaginationActions.useImperativeIntl(intl);
|
|
110
|
-
return /* @__PURE__ */ jsxRuntime.jsxs(
|
|
111
|
-
StyledLink,
|
|
112
|
-
{
|
|
113
|
-
...otherProps,
|
|
114
|
-
variant,
|
|
115
|
-
"data-color": color,
|
|
116
|
-
"data-name": "link",
|
|
117
|
-
role: "link",
|
|
118
|
-
color,
|
|
119
|
-
ref,
|
|
120
|
-
target: external ? "_blank" : void 0,
|
|
121
|
-
rel: external ? "noopener noreferrer" : void 0,
|
|
122
|
-
"aria-label": external ? `${children == null ? void 0 : children.toString()} (${intlConfig.formatMessage({
|
|
123
|
-
id: "c4r.button.opensInNewTab"
|
|
124
|
-
})})` : void 0,
|
|
125
|
-
children: [
|
|
126
|
-
startIcon && /* @__PURE__ */ jsxRuntime.jsx(Icon, { variant, children: startIcon }),
|
|
127
|
-
children,
|
|
128
|
-
(endIcon || external && showExternalIcon) && /* @__PURE__ */ jsxRuntime.jsx(Icon, { variant, children: endIcon || /* @__PURE__ */ jsxRuntime.jsx(iconsMaterial.OpenInNewOutlined, {}) })
|
|
129
|
-
]
|
|
130
|
-
}
|
|
131
|
-
);
|
|
132
|
-
}
|
|
133
|
-
const Link = React.forwardRef(_Link);
|
|
134
64
|
const StyledAlert = material.styled(material.Alert, {
|
|
135
65
|
shouldForwardProp: (prop) => ![
|
|
136
66
|
"isNeutral",
|
|
@@ -260,4 +190,3 @@ function _Alert({
|
|
|
260
190
|
const Alert = React.forwardRef(_Alert);
|
|
261
191
|
exports.Alert = Alert;
|
|
262
192
|
exports.IconButton = IconButton;
|
|
263
|
-
exports.Link = Link;
|
|
@@ -1,10 +1,7 @@
|
|
|
1
1
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
2
2
|
import { forwardRef, useState } from "react";
|
|
3
|
-
import { styled, IconButton as IconButton$1, Tooltip, CircularProgress,
|
|
4
|
-
import {
|
|
5
|
-
import { OpenInNewOutlined } from "@mui/icons-material";
|
|
6
|
-
import { c as ICON_SIZE_SMALL, b as ICON_SIZE_MEDIUM, I as ICON_SIZE_LARGE, u as useImperativeIntl, T as Typography } from "./TablePaginationActions-b5wP_uRE.js";
|
|
7
|
-
import "cartocolor";
|
|
3
|
+
import { styled, IconButton as IconButton$1, Tooltip, CircularProgress, Alert as Alert$1, Fade, AlertTitle } from "@mui/material";
|
|
4
|
+
import { b as ICON_SIZE_MEDIUM, T as Typography } from "./TablePaginationActions-Cz5Hbi6N.js";
|
|
8
5
|
const Option = styled("div")(({ theme }) => ({
|
|
9
6
|
position: "relative",
|
|
10
7
|
display: "inline-flex",
|
|
@@ -63,73 +60,6 @@ function _IconButton({
|
|
|
63
60
|
) });
|
|
64
61
|
}
|
|
65
62
|
const IconButton = forwardRef(_IconButton);
|
|
66
|
-
const StyledLink = styled(Link$1)(({ theme }) => ({
|
|
67
|
-
display: "inline-flex",
|
|
68
|
-
alignItems: "center",
|
|
69
|
-
gap: theme.spacing(0.25)
|
|
70
|
-
}));
|
|
71
|
-
const Icon = styled(Box, {
|
|
72
|
-
shouldForwardProp: (prop) => prop !== "variant"
|
|
73
|
-
})(({ variant }) => ({
|
|
74
|
-
display: "flex",
|
|
75
|
-
svg: {
|
|
76
|
-
// Size adapts to the text size, but make sure the icon size is at least 12px
|
|
77
|
-
fontSize: `max(1em, ${ICON_SIZE_SMALL})`,
|
|
78
|
-
color: "inherit !important",
|
|
79
|
-
"> path": {
|
|
80
|
-
color: "inherit !important"
|
|
81
|
-
},
|
|
82
|
-
// Defined sizes in design specs
|
|
83
|
-
...variant === "caption" && {
|
|
84
|
-
fontSize: ICON_SIZE_SMALL
|
|
85
|
-
},
|
|
86
|
-
...variant === "button" && {
|
|
87
|
-
fontSize: ICON_SIZE_MEDIUM
|
|
88
|
-
},
|
|
89
|
-
...variant === "body2" && {
|
|
90
|
-
fontSize: ICON_SIZE_MEDIUM
|
|
91
|
-
},
|
|
92
|
-
...variant === "body1" && {
|
|
93
|
-
fontSize: ICON_SIZE_LARGE
|
|
94
|
-
}
|
|
95
|
-
}
|
|
96
|
-
}));
|
|
97
|
-
function _Link({
|
|
98
|
-
children,
|
|
99
|
-
variant,
|
|
100
|
-
startIcon,
|
|
101
|
-
endIcon,
|
|
102
|
-
color,
|
|
103
|
-
external,
|
|
104
|
-
showExternalIcon = true,
|
|
105
|
-
...otherProps
|
|
106
|
-
}, ref) {
|
|
107
|
-
const intl = useIntl();
|
|
108
|
-
const intlConfig = useImperativeIntl(intl);
|
|
109
|
-
return /* @__PURE__ */ jsxs(
|
|
110
|
-
StyledLink,
|
|
111
|
-
{
|
|
112
|
-
...otherProps,
|
|
113
|
-
variant,
|
|
114
|
-
"data-color": color,
|
|
115
|
-
"data-name": "link",
|
|
116
|
-
role: "link",
|
|
117
|
-
color,
|
|
118
|
-
ref,
|
|
119
|
-
target: external ? "_blank" : void 0,
|
|
120
|
-
rel: external ? "noopener noreferrer" : void 0,
|
|
121
|
-
"aria-label": external ? `${children == null ? void 0 : children.toString()} (${intlConfig.formatMessage({
|
|
122
|
-
id: "c4r.button.opensInNewTab"
|
|
123
|
-
})})` : void 0,
|
|
124
|
-
children: [
|
|
125
|
-
startIcon && /* @__PURE__ */ jsx(Icon, { variant, children: startIcon }),
|
|
126
|
-
children,
|
|
127
|
-
(endIcon || external && showExternalIcon) && /* @__PURE__ */ jsx(Icon, { variant, children: endIcon || /* @__PURE__ */ jsx(OpenInNewOutlined, {}) })
|
|
128
|
-
]
|
|
129
|
-
}
|
|
130
|
-
);
|
|
131
|
-
}
|
|
132
|
-
const Link = forwardRef(_Link);
|
|
133
63
|
const StyledAlert = styled(Alert$1, {
|
|
134
64
|
shouldForwardProp: (prop) => ![
|
|
135
65
|
"isNeutral",
|
|
@@ -259,6 +189,5 @@ function _Alert({
|
|
|
259
189
|
const Alert = forwardRef(_Alert);
|
|
260
190
|
export {
|
|
261
191
|
Alert as A,
|
|
262
|
-
IconButton as I
|
|
263
|
-
Link as L
|
|
192
|
+
IconButton as I
|
|
264
193
|
};
|
|
@@ -1,6 +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 { e as MENU_ITEM_SIZE_DENSE, f as MENU_ITEM_SIZE_EXTENDED } from "./TablePaginationActions-Cz5Hbi6N.js";
|
|
4
5
|
const StyledMenuItem = styled(MenuItem$1, {
|
|
5
6
|
shouldForwardProp: (prop) => !["subtitle", "destructive", "extended", "fixed", "iconColor"].includes(
|
|
6
7
|
prop
|
|
@@ -27,7 +28,7 @@ const StyledMenuItem = styled(MenuItem$1, {
|
|
|
27
28
|
color: theme.palette.text.secondary
|
|
28
29
|
},
|
|
29
30
|
"&.MuiMenuItem-root": {
|
|
30
|
-
minHeight:
|
|
31
|
+
minHeight: MENU_ITEM_SIZE_DENSE,
|
|
31
32
|
paddingTop: 0,
|
|
32
33
|
paddingBottom: 0,
|
|
33
34
|
marginTop: theme.spacing(1),
|
|
@@ -94,7 +95,7 @@ const StyledMenuItem = styled(MenuItem$1, {
|
|
|
94
95
|
},
|
|
95
96
|
...extended && {
|
|
96
97
|
"&.MuiButtonBase-root.MuiMenuItem-root": {
|
|
97
|
-
minHeight:
|
|
98
|
+
minHeight: MENU_ITEM_SIZE_EXTENDED
|
|
98
99
|
}
|
|
99
100
|
},
|
|
100
101
|
...fixed && {
|
|
@@ -105,14 +106,14 @@ const StyledMenuItem = styled(MenuItem$1, {
|
|
|
105
106
|
bottom: 0,
|
|
106
107
|
right: 0,
|
|
107
108
|
zIndex: 2,
|
|
108
|
-
minHeight:
|
|
109
|
+
minHeight: MENU_ITEM_SIZE_EXTENDED,
|
|
109
110
|
marginBottom: theme.spacing(1),
|
|
110
111
|
padding: theme.spacing(0.5, 1.5),
|
|
111
112
|
backgroundColor: `${theme.palette.background.paper} !important`,
|
|
112
113
|
borderBottom: `1px solid ${theme.palette.divider}`
|
|
113
114
|
},
|
|
114
115
|
".MuiAutocomplete-listbox &.MuiAutocomplete-option:first-of-type": {
|
|
115
|
-
minHeight:
|
|
116
|
+
minHeight: MENU_ITEM_SIZE_EXTENDED,
|
|
116
117
|
marginTop: 0,
|
|
117
118
|
"&:hover": {
|
|
118
119
|
backgroundColor: theme.palette.background.paper
|
|
@@ -126,7 +127,7 @@ const StyledMenuItem = styled(MenuItem$1, {
|
|
|
126
127
|
},
|
|
127
128
|
...dense && {
|
|
128
129
|
"&.MuiButtonBase-root.MuiMenuItem-root": {
|
|
129
|
-
minHeight:
|
|
130
|
+
minHeight: MENU_ITEM_SIZE_DENSE,
|
|
130
131
|
padding: theme.spacing(0.25, 1.5)
|
|
131
132
|
}
|
|
132
133
|
}
|
|
@@ -139,6 +140,7 @@ function _MenuItem({
|
|
|
139
140
|
extended,
|
|
140
141
|
fixed,
|
|
141
142
|
iconColor = "primary",
|
|
143
|
+
dense,
|
|
142
144
|
...props
|
|
143
145
|
}, ref) {
|
|
144
146
|
return /* @__PURE__ */ jsx(
|
|
@@ -151,10 +153,12 @@ function _MenuItem({
|
|
|
151
153
|
subtitle,
|
|
152
154
|
destructive,
|
|
153
155
|
extended,
|
|
156
|
+
dense,
|
|
154
157
|
fixed,
|
|
155
158
|
color: iconColor,
|
|
156
159
|
"data-destructive": destructive,
|
|
157
160
|
"data-extended": extended,
|
|
161
|
+
"data-dense": dense,
|
|
158
162
|
"data-fixed": fixed
|
|
159
163
|
}
|
|
160
164
|
);
|
|
@@ -2,6 +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 TablePaginationActions = require("./TablePaginationActions-mbbjzV6Y.cjs");
|
|
5
6
|
const StyledMenuItem = material.styled(material.MenuItem, {
|
|
6
7
|
shouldForwardProp: (prop) => !["subtitle", "destructive", "extended", "fixed", "iconColor"].includes(
|
|
7
8
|
prop
|
|
@@ -28,7 +29,7 @@ const StyledMenuItem = material.styled(material.MenuItem, {
|
|
|
28
29
|
color: theme.palette.text.secondary
|
|
29
30
|
},
|
|
30
31
|
"&.MuiMenuItem-root": {
|
|
31
|
-
minHeight:
|
|
32
|
+
minHeight: TablePaginationActions.MENU_ITEM_SIZE_DENSE,
|
|
32
33
|
paddingTop: 0,
|
|
33
34
|
paddingBottom: 0,
|
|
34
35
|
marginTop: theme.spacing(1),
|
|
@@ -95,7 +96,7 @@ const StyledMenuItem = material.styled(material.MenuItem, {
|
|
|
95
96
|
},
|
|
96
97
|
...extended && {
|
|
97
98
|
"&.MuiButtonBase-root.MuiMenuItem-root": {
|
|
98
|
-
minHeight:
|
|
99
|
+
minHeight: TablePaginationActions.MENU_ITEM_SIZE_EXTENDED
|
|
99
100
|
}
|
|
100
101
|
},
|
|
101
102
|
...fixed && {
|
|
@@ -106,14 +107,14 @@ const StyledMenuItem = material.styled(material.MenuItem, {
|
|
|
106
107
|
bottom: 0,
|
|
107
108
|
right: 0,
|
|
108
109
|
zIndex: 2,
|
|
109
|
-
minHeight:
|
|
110
|
+
minHeight: TablePaginationActions.MENU_ITEM_SIZE_EXTENDED,
|
|
110
111
|
marginBottom: theme.spacing(1),
|
|
111
112
|
padding: theme.spacing(0.5, 1.5),
|
|
112
113
|
backgroundColor: `${theme.palette.background.paper} !important`,
|
|
113
114
|
borderBottom: `1px solid ${theme.palette.divider}`
|
|
114
115
|
},
|
|
115
116
|
".MuiAutocomplete-listbox &.MuiAutocomplete-option:first-of-type": {
|
|
116
|
-
minHeight:
|
|
117
|
+
minHeight: TablePaginationActions.MENU_ITEM_SIZE_EXTENDED,
|
|
117
118
|
marginTop: 0,
|
|
118
119
|
"&:hover": {
|
|
119
120
|
backgroundColor: theme.palette.background.paper
|
|
@@ -127,7 +128,7 @@ const StyledMenuItem = material.styled(material.MenuItem, {
|
|
|
127
128
|
},
|
|
128
129
|
...dense && {
|
|
129
130
|
"&.MuiButtonBase-root.MuiMenuItem-root": {
|
|
130
|
-
minHeight:
|
|
131
|
+
minHeight: TablePaginationActions.MENU_ITEM_SIZE_DENSE,
|
|
131
132
|
padding: theme.spacing(0.25, 1.5)
|
|
132
133
|
}
|
|
133
134
|
}
|
|
@@ -140,6 +141,7 @@ function _MenuItem({
|
|
|
140
141
|
extended,
|
|
141
142
|
fixed,
|
|
142
143
|
iconColor = "primary",
|
|
144
|
+
dense,
|
|
143
145
|
...props
|
|
144
146
|
}, ref) {
|
|
145
147
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
@@ -152,10 +154,12 @@ function _MenuItem({
|
|
|
152
154
|
subtitle,
|
|
153
155
|
destructive,
|
|
154
156
|
extended,
|
|
157
|
+
dense,
|
|
155
158
|
fixed,
|
|
156
159
|
color: iconColor,
|
|
157
160
|
"data-destructive": destructive,
|
|
158
161
|
"data-extended": extended,
|
|
162
|
+
"data-dense": dense,
|
|
159
163
|
"data-fixed": fixed
|
|
160
164
|
}
|
|
161
165
|
);
|
|
@@ -777,6 +777,10 @@ const ICON_SIZE_MEDIUM = getSpacing(2.25);
|
|
|
777
777
|
const ICON_SIZE_LARGE = getSpacing(3);
|
|
778
778
|
const APPBAR_SIZE = getSpacing(6);
|
|
779
779
|
const NOTIFICATION_DURATION_IN_MS = 6e3;
|
|
780
|
+
const MENU_LIST_MAX_SIZE = 312;
|
|
781
|
+
const MENU_ITEM_SIZE_DENSE = 24;
|
|
782
|
+
const MENU_ITEM_SIZE_DEFAULT = 32;
|
|
783
|
+
const MENU_ITEM_SIZE_EXTENDED = 48;
|
|
780
784
|
const FontWeight = {
|
|
781
785
|
regular: 400,
|
|
782
786
|
medium: 500,
|
|
@@ -813,8 +817,7 @@ const en = {
|
|
|
813
817
|
copy: "Copy",
|
|
814
818
|
save: "Save",
|
|
815
819
|
add: "Add",
|
|
816
|
-
showOptions: "Show options"
|
|
817
|
-
opensInNewTab: "Opens in new tab"
|
|
820
|
+
showOptions: "Show options"
|
|
818
821
|
},
|
|
819
822
|
form: {
|
|
820
823
|
selectAll: "Select all",
|
|
@@ -962,8 +965,7 @@ const es = {
|
|
|
962
965
|
copy: "Copiar",
|
|
963
966
|
save: "Guardar",
|
|
964
967
|
add: "Añadir",
|
|
965
|
-
showOptions: "Mostrar opciones"
|
|
966
|
-
opensInNewTab: "Abre en una nueva pestaña"
|
|
968
|
+
showOptions: "Mostrar opciones"
|
|
967
969
|
},
|
|
968
970
|
form: {
|
|
969
971
|
selectAll: "Seleccionar todos",
|
|
@@ -1109,8 +1111,7 @@ const id = {
|
|
|
1109
1111
|
copy: "Salin",
|
|
1110
1112
|
save: "Simpan",
|
|
1111
1113
|
add: "Tambah",
|
|
1112
|
-
showOptions: "Tampilkan opsi"
|
|
1113
|
-
opensInNewTab: "Buka di tab baru"
|
|
1114
|
+
showOptions: "Tampilkan opsi"
|
|
1114
1115
|
},
|
|
1115
1116
|
form: {
|
|
1116
1117
|
selectAll: "Select all",
|
|
@@ -5653,13 +5654,17 @@ export {
|
|
|
5653
5654
|
APPBAR_SIZE as A,
|
|
5654
5655
|
BREAKPOINTS as B,
|
|
5655
5656
|
ICON_SIZE_LARGE as I,
|
|
5657
|
+
MENU_ITEM_SIZE_DEFAULT as M,
|
|
5656
5658
|
NOTIFICATION_DURATION_IN_MS as N,
|
|
5657
5659
|
SPACING as S,
|
|
5658
5660
|
Typography as T,
|
|
5659
5661
|
TablePaginationActions as a,
|
|
5660
5662
|
ICON_SIZE_MEDIUM as b,
|
|
5661
5663
|
ICON_SIZE_SMALL as c,
|
|
5662
|
-
|
|
5664
|
+
MENU_LIST_MAX_SIZE as d,
|
|
5665
|
+
MENU_ITEM_SIZE_DENSE as e,
|
|
5666
|
+
MENU_ITEM_SIZE_EXTENDED as f,
|
|
5663
5667
|
getSpacing as g,
|
|
5668
|
+
getDefaultExportFromCjs as h,
|
|
5664
5669
|
useImperativeIntl as u
|
|
5665
5670
|
};
|
|
@@ -778,6 +778,10 @@ const ICON_SIZE_MEDIUM = getSpacing(2.25);
|
|
|
778
778
|
const ICON_SIZE_LARGE = getSpacing(3);
|
|
779
779
|
const APPBAR_SIZE = getSpacing(6);
|
|
780
780
|
const NOTIFICATION_DURATION_IN_MS = 6e3;
|
|
781
|
+
const MENU_LIST_MAX_SIZE = 312;
|
|
782
|
+
const MENU_ITEM_SIZE_DENSE = 24;
|
|
783
|
+
const MENU_ITEM_SIZE_DEFAULT = 32;
|
|
784
|
+
const MENU_ITEM_SIZE_EXTENDED = 48;
|
|
781
785
|
const FontWeight = {
|
|
782
786
|
regular: 400,
|
|
783
787
|
medium: 500,
|
|
@@ -814,8 +818,7 @@ const en = {
|
|
|
814
818
|
copy: "Copy",
|
|
815
819
|
save: "Save",
|
|
816
820
|
add: "Add",
|
|
817
|
-
showOptions: "Show options"
|
|
818
|
-
opensInNewTab: "Opens in new tab"
|
|
821
|
+
showOptions: "Show options"
|
|
819
822
|
},
|
|
820
823
|
form: {
|
|
821
824
|
selectAll: "Select all",
|
|
@@ -963,8 +966,7 @@ const es = {
|
|
|
963
966
|
copy: "Copiar",
|
|
964
967
|
save: "Guardar",
|
|
965
968
|
add: "Añadir",
|
|
966
|
-
showOptions: "Mostrar opciones"
|
|
967
|
-
opensInNewTab: "Abre en una nueva pestaña"
|
|
969
|
+
showOptions: "Mostrar opciones"
|
|
968
970
|
},
|
|
969
971
|
form: {
|
|
970
972
|
selectAll: "Seleccionar todos",
|
|
@@ -1110,8 +1112,7 @@ const id = {
|
|
|
1110
1112
|
copy: "Salin",
|
|
1111
1113
|
save: "Simpan",
|
|
1112
1114
|
add: "Tambah",
|
|
1113
|
-
showOptions: "Tampilkan opsi"
|
|
1114
|
-
opensInNewTab: "Buka di tab baru"
|
|
1115
|
+
showOptions: "Tampilkan opsi"
|
|
1115
1116
|
},
|
|
1116
1117
|
form: {
|
|
1117
1118
|
selectAll: "Select all",
|
|
@@ -5655,6 +5656,10 @@ exports.BREAKPOINTS = BREAKPOINTS;
|
|
|
5655
5656
|
exports.ICON_SIZE_LARGE = ICON_SIZE_LARGE;
|
|
5656
5657
|
exports.ICON_SIZE_MEDIUM = ICON_SIZE_MEDIUM;
|
|
5657
5658
|
exports.ICON_SIZE_SMALL = ICON_SIZE_SMALL;
|
|
5659
|
+
exports.MENU_ITEM_SIZE_DEFAULT = MENU_ITEM_SIZE_DEFAULT;
|
|
5660
|
+
exports.MENU_ITEM_SIZE_DENSE = MENU_ITEM_SIZE_DENSE;
|
|
5661
|
+
exports.MENU_ITEM_SIZE_EXTENDED = MENU_ITEM_SIZE_EXTENDED;
|
|
5662
|
+
exports.MENU_LIST_MAX_SIZE = MENU_LIST_MAX_SIZE;
|
|
5658
5663
|
exports.NOTIFICATION_DURATION_IN_MS = NOTIFICATION_DURATION_IN_MS;
|
|
5659
5664
|
exports.SPACING = SPACING;
|
|
5660
5665
|
exports.TablePaginationActions = TablePaginationActions;
|