@carto/meridian-ds 5.2.2-alpha.ffc81fb.40527962685 → 5.2.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 +5 -2
- package/dist/components/index.cjs +41 -36
- package/dist/components/index.js +18 -13
- package/dist/metadata.json +72 -72
- package/dist/theme/index.cjs +20 -14
- package/dist/theme/index.js +8 -2
- package/dist/types/components/CodeArea/CodeAreaHeader/CodeAreaHeader.d.ts.map +1 -1
- package/dist/types/components/CopiableInputText/CopiableInputText.d.ts.map +1 -1
- package/dist/types/components/DatePickers/DatePicker/DatePicker.d.ts +1 -1
- package/dist/types/components/DatePickers/DatePicker/DatePicker.d.ts.map +1 -1
- package/dist/types/components/DatePickers/DatePicker/DatePicker.stories.d.ts +0 -14
- package/dist/types/components/DatePickers/DatePicker/DatePicker.stories.d.ts.map +1 -1
- package/dist/types/components/DatePickers/types.d.ts +1 -8
- package/dist/types/components/DatePickers/types.d.ts.map +1 -1
- package/dist/types/components/Dialog/DialogHeader/DialogHeader.d.ts.map +1 -1
- package/dist/types/components/IconWrapper/IconWrapper.stories.d.ts.map +1 -1
- package/dist/types/components/List/List.stories.d.ts.map +1 -1
- package/dist/types/components/List/ListItem/ListItem.stories.d.ts.map +1 -1
- package/dist/types/components/MessageField/MessageField.stories.d.ts.map +1 -1
- package/dist/types/components/PasswordField/PasswordField.d.ts.map +1 -1
- package/dist/types/components/SelectField/MultipleSelectField/MultipleSelectField.stories.d.ts.map +1 -1
- package/dist/types/components/TablePaginationActions/TablePaginationActions.d.ts.map +1 -1
- package/dist/types/components/Tag/Tag.stories.d.ts.map +1 -1
- package/dist/types/components/ToggleButtonGroup/ToggleButtonGroup.stories.d.ts.map +1 -1
- package/dist/types/theme/components/date-pickers.d.ts.map +1 -1
- package/dist/types/theme/components/feedback.d.ts.map +1 -1
- package/dist/types/theme/components/stories/Tabs.stories.d.ts.map +1 -1
- package/dist/types/widgets/legend/LegendLayer.d.ts.map +1 -1
- package/dist/types/widgets/legend/LegendWidgetUI.d.ts.map +1 -1
- package/dist/{utils-BOrXorzC.js → utils-BWsUF6Y9.js} +2 -1
- package/dist/{utils-CKBWUAeM.cjs → utils-D6y-3HFr.cjs} +4 -3
- package/dist/widgets/index.cjs +10 -5
- package/dist/widgets/index.js +6 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -2,10 +2,13 @@
|
|
|
2
2
|
|
|
3
3
|
## Unreleased
|
|
4
4
|
|
|
5
|
-
- ci(release): release notes after CI, release: alpha label and alpha docs [#576](https://github.com/CartoDB/meridian-ds/pull/576)
|
|
6
|
-
|
|
7
5
|
## 5.0
|
|
8
6
|
|
|
7
|
+
### 5.2.2
|
|
8
|
+
|
|
9
|
+
- perf(icons): import @mui/icons-material per path so consumers skip the barrel [#590](https://github.com/CartoDB/meridian-ds/pull/590)
|
|
10
|
+
- ci(release): release notes after CI, release: alpha label and alpha docs [#576](https://github.com/CartoDB/meridian-ds/pull/576)
|
|
11
|
+
|
|
9
12
|
### 5.2.1
|
|
10
13
|
|
|
11
14
|
- ci(release): automate releases, alphas and release notes [#569](https://github.com/CartoDB/meridian-ds/pull/569)
|
|
@@ -4,12 +4,17 @@ const jsxRuntime = require("react/jsx-runtime");
|
|
|
4
4
|
const React = require("react");
|
|
5
5
|
const material = require("@mui/material");
|
|
6
6
|
const paletteUtils = require("../palette-utils-NhMBL9rx.cjs");
|
|
7
|
-
const
|
|
7
|
+
const MenuOutlined = require("@mui/icons-material/MenuOutlined");
|
|
8
8
|
const ArrowDown = require("../ArrowDown-84Oc8r9k.cjs");
|
|
9
9
|
const ReactWindow = require("react-window");
|
|
10
|
-
const utils = require("../utils-
|
|
10
|
+
const utils = require("../utils-D6y-3HFr.cjs");
|
|
11
|
+
const OpenInNewOutlined = require("@mui/icons-material/OpenInNewOutlined");
|
|
11
12
|
const Search = require("../Search-BsaXrSzs.cjs");
|
|
13
|
+
const CloseOutlined = require("@mui/icons-material/CloseOutlined");
|
|
12
14
|
require("cartocolor");
|
|
15
|
+
const HelpOutlineOutlined = require("@mui/icons-material/HelpOutlineOutlined");
|
|
16
|
+
const ContentCopyOutlined = require("@mui/icons-material/ContentCopyOutlined");
|
|
17
|
+
const MoreVertOutlined = require("@mui/icons-material/MoreVertOutlined");
|
|
13
18
|
const reactCodemirror2 = require("react-codemirror2");
|
|
14
19
|
const colors = require("@mui/material/colors");
|
|
15
20
|
require("codemirror/lib/codemirror.css");
|
|
@@ -35,14 +40,24 @@ require("codemirror/addon/fold/xml-fold.js");
|
|
|
35
40
|
require("codemirror/addon/fold/indent-fold.js");
|
|
36
41
|
require("codemirror/addon/fold/markdown-fold.js");
|
|
37
42
|
require("codemirror/addon/fold/comment-fold.js");
|
|
43
|
+
const ErrorOutlineOutlined = require("@mui/icons-material/ErrorOutlineOutlined");
|
|
38
44
|
const ClickAwayListener = require("@mui/material/ClickAwayListener");
|
|
45
|
+
const ArrowBackOutlined = require("@mui/icons-material/ArrowBackOutlined");
|
|
46
|
+
const VisibilityOffOutlined = require("@mui/icons-material/VisibilityOffOutlined");
|
|
47
|
+
const VisibilityOutlined = require("@mui/icons-material/VisibilityOutlined");
|
|
48
|
+
const AddCircleOutlineOutlined = require("@mui/icons-material/AddCircleOutlineOutlined");
|
|
39
49
|
const DatePicker$1 = require("@mui/x-date-pickers/DatePicker");
|
|
40
50
|
const reactIntl = require("react-intl");
|
|
41
51
|
const useImperativeIntl = require("../useImperativeIntl-v_ds_FH7.cjs");
|
|
42
52
|
const DateCalendar = require("@mui/x-date-pickers/DateCalendar");
|
|
43
53
|
const xDatePickers = require("@mui/x-date-pickers");
|
|
54
|
+
const TodayOutlined = require("@mui/icons-material/TodayOutlined");
|
|
44
55
|
const DateTimePicker$1 = require("@mui/x-date-pickers/DateTimePicker");
|
|
56
|
+
const ArrowUpwardOutlined = require("@mui/icons-material/ArrowUpwardOutlined");
|
|
57
|
+
const StopCircleOutlined = require("@mui/icons-material/StopCircleOutlined");
|
|
58
|
+
const Cancel = require("@mui/icons-material/Cancel");
|
|
45
59
|
const TimePicker$1 = require("@mui/x-date-pickers/TimePicker");
|
|
60
|
+
const Check = require("@mui/icons-material/Check");
|
|
46
61
|
const DOMPurify = require("dompurify");
|
|
47
62
|
function _interopNamespaceDefault(e) {
|
|
48
63
|
const n = Object.create(null, { [Symbol.toStringTag]: { value: "Module" } });
|
|
@@ -122,7 +137,7 @@ function _Button({
|
|
|
122
137
|
loadingIndicator,
|
|
123
138
|
disabled,
|
|
124
139
|
startIcon: loading ? void 0 : startIcon,
|
|
125
|
-
endIcon: loading ? void 0 : endIcon || (isExternalLink && showExternalIcon ? /* @__PURE__ */ jsxRuntime.jsx(
|
|
140
|
+
endIcon: loading ? void 0 : endIcon || (isExternalLink && showExternalIcon ? /* @__PURE__ */ jsxRuntime.jsx(OpenInNewOutlined, {}) : void 0),
|
|
126
141
|
...otherProps,
|
|
127
142
|
role: otherProps.href ? "link" : "button",
|
|
128
143
|
...isExternalLink && {
|
|
@@ -382,7 +397,7 @@ function _PasswordField({
|
|
|
382
397
|
size,
|
|
383
398
|
disabled,
|
|
384
399
|
onClick: handleClickShowPassword,
|
|
385
|
-
icon: showPassword ? /* @__PURE__ */ jsxRuntime.jsx(
|
|
400
|
+
icon: showPassword ? /* @__PURE__ */ jsxRuntime.jsx(VisibilityOffOutlined, {}) : /* @__PURE__ */ jsxRuntime.jsx(VisibilityOutlined, {}),
|
|
386
401
|
tooltip: label,
|
|
387
402
|
"aria-label": label
|
|
388
403
|
}
|
|
@@ -816,7 +831,7 @@ function _MultipleSelectField({
|
|
|
816
831
|
onChange: handleChange,
|
|
817
832
|
size,
|
|
818
833
|
variant,
|
|
819
|
-
endAdornment: showFilters && areAnySelected && /* @__PURE__ */ jsxRuntime.jsx(UnselectButton, { position: "end", size, children: /* @__PURE__ */ jsxRuntime.jsx(material.IconButton, { onClick: unselectAll, size, children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
834
|
+
endAdornment: showFilters && areAnySelected && /* @__PURE__ */ jsxRuntime.jsx(UnselectButton, { position: "end", size, children: /* @__PURE__ */ jsxRuntime.jsx(material.IconButton, { onClick: unselectAll, size, children: /* @__PURE__ */ jsxRuntime.jsx(Cancel, {}) }) }),
|
|
820
835
|
menuProps: {
|
|
821
836
|
slotProps: {
|
|
822
837
|
paper: {
|
|
@@ -1008,7 +1023,7 @@ function _Link({
|
|
|
1008
1023
|
children: [
|
|
1009
1024
|
startIcon && /* @__PURE__ */ jsxRuntime.jsx(Icon, { variant, iconPosition: "left", children: startIcon }),
|
|
1010
1025
|
children,
|
|
1011
|
-
(endIcon || external && showExternalIcon) && /* @__PURE__ */ jsxRuntime.jsx(Icon, { variant, iconPosition: "right", children: endIcon || /* @__PURE__ */ jsxRuntime.jsx(
|
|
1026
|
+
(endIcon || external && showExternalIcon) && /* @__PURE__ */ jsxRuntime.jsx(Icon, { variant, iconPosition: "right", children: endIcon || /* @__PURE__ */ jsxRuntime.jsx(OpenInNewOutlined, {}) }),
|
|
1012
1027
|
external && /* @__PURE__ */ jsxRuntime.jsx(ScreenReaderOnly, { id: "external-hint", children: screenReaderTextValue })
|
|
1013
1028
|
]
|
|
1014
1029
|
}
|
|
@@ -1169,7 +1184,7 @@ const _CopiableComponent = ({
|
|
|
1169
1184
|
setOpen(true);
|
|
1170
1185
|
}).catch(console.error);
|
|
1171
1186
|
};
|
|
1172
|
-
const copyIcon = buttonIcon ?? /* @__PURE__ */ jsxRuntime.jsx(
|
|
1187
|
+
const copyIcon = buttonIcon ?? /* @__PURE__ */ jsxRuntime.jsx(ContentCopyOutlined, {});
|
|
1173
1188
|
return /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
|
|
1174
1189
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
1175
1190
|
material.Tooltip,
|
|
@@ -1300,7 +1315,7 @@ function _CopiableInputText({
|
|
|
1300
1315
|
edge: variant !== "standard" ? "end" : void 0,
|
|
1301
1316
|
onClick: () => setShowPassword(!showPassword),
|
|
1302
1317
|
size,
|
|
1303
|
-
icon: showPassword ? /* @__PURE__ */ jsxRuntime.jsx(
|
|
1318
|
+
icon: showPassword ? /* @__PURE__ */ jsxRuntime.jsx(VisibilityOutlined, {}) : /* @__PURE__ */ jsxRuntime.jsx(VisibilityOffOutlined, {}),
|
|
1304
1319
|
tooltip: currentLabel,
|
|
1305
1320
|
"aria-label": currentLabel
|
|
1306
1321
|
}
|
|
@@ -1820,7 +1835,7 @@ function useCreatableAutocomplete({
|
|
|
1820
1835
|
return getOptionLabel(option);
|
|
1821
1836
|
};
|
|
1822
1837
|
const creatableRenderOption = (props, option, state) => {
|
|
1823
|
-
const customIcon = option.inputValue ? newItemIcon ?? /* @__PURE__ */ jsxRuntime.jsx(
|
|
1838
|
+
const customIcon = option.inputValue ? newItemIcon ?? /* @__PURE__ */ jsxRuntime.jsx(AddCircleOutlineOutlined, {}) : void 0;
|
|
1824
1839
|
const optionWithMultiple = createOptionWithMultiple(option, !!multiple);
|
|
1825
1840
|
return autocompleteRenderOption(
|
|
1826
1841
|
props,
|
|
@@ -2168,7 +2183,7 @@ function BurgerMenu({
|
|
|
2168
2183
|
display: { md: "none", xs: "block" }
|
|
2169
2184
|
},
|
|
2170
2185
|
children: /* @__PURE__ */ jsxRuntime.jsxs(Menu$1, { children: [
|
|
2171
|
-
/* @__PURE__ */ jsxRuntime.jsx(MenuButton, { onClick: onClickMenu, children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
2186
|
+
/* @__PURE__ */ jsxRuntime.jsx(MenuButton, { onClick: onClickMenu, children: /* @__PURE__ */ jsxRuntime.jsx(MenuOutlined, {}) }),
|
|
2172
2187
|
/* @__PURE__ */ jsxRuntime.jsx(MenuDivider, { orientation: "vertical", flexItem: true })
|
|
2173
2188
|
] })
|
|
2174
2189
|
}
|
|
@@ -2416,7 +2431,7 @@ function CodeAreaHeader({
|
|
|
2416
2431
|
{
|
|
2417
2432
|
color: "default",
|
|
2418
2433
|
size,
|
|
2419
|
-
icon: /* @__PURE__ */ jsxRuntime.jsx(
|
|
2434
|
+
icon: /* @__PURE__ */ jsxRuntime.jsx(MoreVertOutlined, {}),
|
|
2420
2435
|
disabled,
|
|
2421
2436
|
tooltip: showOptionsTooltipLabel,
|
|
2422
2437
|
tooltipPlacement: "top",
|
|
@@ -2441,7 +2456,7 @@ function CodeAreaHeader({
|
|
|
2441
2456
|
},
|
|
2442
2457
|
children: [
|
|
2443
2458
|
/* @__PURE__ */ jsxRuntime.jsxs(utils.MenuItem, { onClick: handleCopy, disabled, id: "copy", children: [
|
|
2444
|
-
/* @__PURE__ */ jsxRuntime.jsx(material.ListItemIcon, { children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
2459
|
+
/* @__PURE__ */ jsxRuntime.jsx(material.ListItemIcon, { children: /* @__PURE__ */ jsxRuntime.jsx(ContentCopyOutlined, {}) }),
|
|
2445
2460
|
/* @__PURE__ */ jsxRuntime.jsx(material.ListItemText, { children: copyLabel })
|
|
2446
2461
|
] }),
|
|
2447
2462
|
/* @__PURE__ */ jsxRuntime.jsxs(utils.MenuItem, { onClick: onClickExpand, disabled, id: "expand", children: [
|
|
@@ -3102,7 +3117,7 @@ const InputWrapper$1 = material.styled(material.Box, {
|
|
|
3102
3117
|
}
|
|
3103
3118
|
}
|
|
3104
3119
|
}));
|
|
3105
|
-
const HelpIcon = material.styled(
|
|
3120
|
+
const HelpIcon = material.styled(HelpOutlineOutlined)(({ theme }) => ({
|
|
3106
3121
|
width: paletteUtils.ICON_SIZE_SMALL,
|
|
3107
3122
|
height: paletteUtils.ICON_SIZE_SMALL,
|
|
3108
3123
|
fill: theme.palette.text.secondary
|
|
@@ -3290,7 +3305,7 @@ function CodeAreaDialogError({
|
|
|
3290
3305
|
if (!children) return null;
|
|
3291
3306
|
return /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
|
|
3292
3307
|
/* @__PURE__ */ jsxRuntime.jsx(ErrorWrapper, { children: /* @__PURE__ */ jsxRuntime.jsxs(ErrorContent, { children: [
|
|
3293
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
3308
|
+
/* @__PURE__ */ jsxRuntime.jsx(ErrorOutlineOutlined, { htmlColor: theme.palette.error.main }),
|
|
3294
3309
|
/* @__PURE__ */ jsxRuntime.jsx(material.FormHelperText, { error: true, children })
|
|
3295
3310
|
] }) }),
|
|
3296
3311
|
hasDivider && /* @__PURE__ */ jsxRuntime.jsx(material.Divider, {})
|
|
@@ -3608,7 +3623,7 @@ const ItemsWrapper$1 = material.styled(material.Box)(({ theme }) => ({
|
|
|
3608
3623
|
gap: theme.spacing(1),
|
|
3609
3624
|
overflow: "hidden"
|
|
3610
3625
|
}));
|
|
3611
|
-
const CloseIcon = material.styled(
|
|
3626
|
+
const CloseIcon = material.styled(CloseOutlined)(({ theme }) => ({
|
|
3612
3627
|
color: theme.palette.text.secondary
|
|
3613
3628
|
}));
|
|
3614
3629
|
const DividerBottom = material.styled(material.Divider)(() => ({
|
|
@@ -3659,7 +3674,7 @@ function DialogHeader({
|
|
|
3659
3674
|
onClick: onBack,
|
|
3660
3675
|
tooltip: backTooltipLabel,
|
|
3661
3676
|
tooltipPlacement: "bottom",
|
|
3662
|
-
icon: backIcon || /* @__PURE__ */ jsxRuntime.jsx(
|
|
3677
|
+
icon: backIcon || /* @__PURE__ */ jsxRuntime.jsx(ArrowBackOutlined, {}),
|
|
3663
3678
|
...backIconButtonProps
|
|
3664
3679
|
}
|
|
3665
3680
|
),
|
|
@@ -4210,7 +4225,7 @@ function DialogStepper({
|
|
|
4210
4225
|
{
|
|
4211
4226
|
"data-state": isCompleted ? "completed" : isCurrent ? "current" : "uncompleted",
|
|
4212
4227
|
children: [
|
|
4213
|
-
/* @__PURE__ */ jsxRuntime.jsx(StepNumber, { completed: isCompleted, current: isCurrent, children: isCompleted ? /* @__PURE__ */ jsxRuntime.jsx(
|
|
4228
|
+
/* @__PURE__ */ jsxRuntime.jsx(StepNumber, { completed: isCompleted, current: isCurrent, children: isCompleted ? /* @__PURE__ */ jsxRuntime.jsx(Check, { fontSize: "small", "aria-label": "Completed step" }) : step }),
|
|
4214
4229
|
/* @__PURE__ */ jsxRuntime.jsx(paletteUtils.Typography, { variant: "caption", component: "div", color: labelColor, children: stepLabel })
|
|
4215
4230
|
]
|
|
4216
4231
|
},
|
|
@@ -4548,7 +4563,6 @@ function DatePicker({
|
|
|
4548
4563
|
"aria-label": ariaLabel,
|
|
4549
4564
|
"data-testid": dataTestId,
|
|
4550
4565
|
chooseDateAriaLabel,
|
|
4551
|
-
presets,
|
|
4552
4566
|
...props
|
|
4553
4567
|
}) {
|
|
4554
4568
|
const chooseDateText = utils.useTranslationWithFallback(
|
|
@@ -4579,7 +4593,7 @@ function DatePicker({
|
|
|
4579
4593
|
{
|
|
4580
4594
|
label,
|
|
4581
4595
|
type,
|
|
4582
|
-
icon: labelHelpTooltip && /* @__PURE__ */ jsxRuntime.jsx(material.Tooltip, { title: labelHelpTooltip, children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
4596
|
+
icon: labelHelpTooltip && /* @__PURE__ */ jsxRuntime.jsx(material.Tooltip, { title: labelHelpTooltip, children: /* @__PURE__ */ jsxRuntime.jsx(HelpOutlineOutlined, { htmlColor: "text.secondary" }) })
|
|
4583
4597
|
}
|
|
4584
4598
|
),
|
|
4585
4599
|
slotProps: {
|
|
@@ -4598,15 +4612,6 @@ function DatePicker({
|
|
|
4598
4612
|
clearable: !!handleClear,
|
|
4599
4613
|
onClear: handleClear
|
|
4600
4614
|
},
|
|
4601
|
-
...presets && {
|
|
4602
|
-
shortcuts: {
|
|
4603
|
-
items: presets.map(({ label: label2, value }) => ({
|
|
4604
|
-
label: label2,
|
|
4605
|
-
getValue: () => value
|
|
4606
|
-
})),
|
|
4607
|
-
changeImportance: "accept"
|
|
4608
|
-
}
|
|
4609
|
-
},
|
|
4610
4615
|
...slotProps
|
|
4611
4616
|
},
|
|
4612
4617
|
slots: {
|
|
@@ -4960,7 +4965,7 @@ function DateRangePicker({
|
|
|
4960
4965
|
...startProps == null ? void 0 : startProps.slotProps
|
|
4961
4966
|
},
|
|
4962
4967
|
slots: {
|
|
4963
|
-
openPickerIcon:
|
|
4968
|
+
openPickerIcon: TodayOutlined,
|
|
4964
4969
|
day: (props2) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
4965
4970
|
PickerDay,
|
|
4966
4971
|
{
|
|
@@ -5210,7 +5215,7 @@ function TimePicker({
|
|
|
5210
5215
|
{
|
|
5211
5216
|
label: fieldLabel,
|
|
5212
5217
|
type,
|
|
5213
|
-
icon: labelHelpTooltip && /* @__PURE__ */ jsxRuntime.jsx(material.Tooltip, { title: labelHelpTooltip, children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
5218
|
+
icon: labelHelpTooltip && /* @__PURE__ */ jsxRuntime.jsx(material.Tooltip, { title: labelHelpTooltip, children: /* @__PURE__ */ jsxRuntime.jsx(HelpOutlineOutlined, { htmlColor: "text.secondary" }) })
|
|
5214
5219
|
}
|
|
5215
5220
|
),
|
|
5216
5221
|
views: ["hours"],
|
|
@@ -5309,7 +5314,7 @@ function DateTimePicker({
|
|
|
5309
5314
|
{
|
|
5310
5315
|
label: fieldLabel,
|
|
5311
5316
|
type,
|
|
5312
|
-
icon: labelHelpTooltip && /* @__PURE__ */ jsxRuntime.jsx(material.Tooltip, { title: labelHelpTooltip, children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
5317
|
+
icon: labelHelpTooltip && /* @__PURE__ */ jsxRuntime.jsx(material.Tooltip, { title: labelHelpTooltip, children: /* @__PURE__ */ jsxRuntime.jsx(HelpOutlineOutlined, { htmlColor: "text.secondary" }) })
|
|
5313
5318
|
}
|
|
5314
5319
|
),
|
|
5315
5320
|
views: ["year", "month", "day", "hours"],
|
|
@@ -6205,7 +6210,7 @@ const MessageFieldFooter = ({
|
|
|
6205
6210
|
onClick: onStop,
|
|
6206
6211
|
color: "default",
|
|
6207
6212
|
size,
|
|
6208
|
-
icon: /* @__PURE__ */ jsxRuntime.jsx(
|
|
6213
|
+
icon: /* @__PURE__ */ jsxRuntime.jsx(StopCircleOutlined, {}),
|
|
6209
6214
|
tooltip: stopLabel,
|
|
6210
6215
|
"aria-label": stopAriaLabel,
|
|
6211
6216
|
tooltipPlacement: "top"
|
|
@@ -6264,7 +6269,7 @@ function _MessageField({
|
|
|
6264
6269
|
variant = "filled",
|
|
6265
6270
|
size = "small",
|
|
6266
6271
|
analyzing,
|
|
6267
|
-
iconButton = /* @__PURE__ */ jsxRuntime.jsx(
|
|
6272
|
+
iconButton = /* @__PURE__ */ jsxRuntime.jsx(ArrowUpwardOutlined, {}),
|
|
6268
6273
|
labelButton,
|
|
6269
6274
|
buttonColor,
|
|
6270
6275
|
disabledButton,
|
|
@@ -6411,7 +6416,7 @@ const SearchIcon = material.styled(Search.ForwardedComponent$3, {
|
|
|
6411
6416
|
}
|
|
6412
6417
|
})
|
|
6413
6418
|
);
|
|
6414
|
-
const ClearSearchIcon = material.styled(
|
|
6419
|
+
const ClearSearchIcon = material.styled(Cancel)(({ theme }) => ({
|
|
6415
6420
|
color: `${theme.palette.text.hint} !important`
|
|
6416
6421
|
}));
|
|
6417
6422
|
const LoadingSearchIcon = material.styled(material.CircularProgress)(({ theme }) => ({
|
|
@@ -6854,7 +6859,7 @@ function Snackbar({
|
|
|
6854
6859
|
{
|
|
6855
6860
|
color: "default",
|
|
6856
6861
|
onClick: (e) => onClose(e, "timeout"),
|
|
6857
|
-
icon: /* @__PURE__ */ jsxRuntime.jsx(
|
|
6862
|
+
icon: /* @__PURE__ */ jsxRuntime.jsx(CloseOutlined, {}),
|
|
6858
6863
|
tooltip: closeTooltipLabel
|
|
6859
6864
|
}
|
|
6860
6865
|
) })
|
|
@@ -7125,7 +7130,7 @@ function FilesAction({
|
|
|
7125
7130
|
size,
|
|
7126
7131
|
"aria-label": "Delete",
|
|
7127
7132
|
disabled,
|
|
7128
|
-
children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
7133
|
+
children: /* @__PURE__ */ jsxRuntime.jsx(Cancel, {})
|
|
7129
7134
|
}
|
|
7130
7135
|
) });
|
|
7131
7136
|
}
|
package/dist/components/index.js
CHANGED
|
@@ -3,13 +3,18 @@ import React, { forwardRef, useState, useRef, useEffect, useMemo, createElement,
|
|
|
3
3
|
import { styled, Button as Button$1, Tooltip, CircularProgress as CircularProgress$1, Popper, Grow, Paper, ClickAwayListener, MenuList as MenuList$1, MenuItem, ButtonGroup as ButtonGroup$1, Box, TextField, InputAdornment, FormControl, InputLabel, FormHelperText, Select, Checkbox, Link as Link$1, ListItemText as ListItemText$1, IconButton as IconButton$1, ToggleButtonGroup as ToggleButtonGroup$1, Stack, Autocomplete as Autocomplete$1, Divider, ListItemIcon as ListItemIcon$1, createFilterOptions, alpha, useTheme, Toolbar as Toolbar$1, AppBar as AppBar$1, Dialog as Dialog$1, Chip as Chip$1, DialogTitle as DialogTitle$1, DialogContent as DialogContent$1, Fade, AlertTitle, Alert as Alert$2, DialogActions as DialogActions$1, Slide, Accordion, AccordionSummary, AccordionDetails, Avatar as Avatar$1, Menu as Menu$2, useMediaQuery, Portal, Snackbar as Snackbar$1, List as List$2, ListItemButton as ListItemButton$1, ListItem as ListItem$1, ListSubheader as ListSubheader$1, Popover } from "@mui/material";
|
|
4
4
|
import { ListItemAvatar, ListItemSecondaryAction } from "@mui/material";
|
|
5
5
|
import { T as Typography, I as ICON_SIZE_SMALL, m as mergeSx, a as ICON_SIZE_MEDIUM, i as isPalettePath, M as MENU_ITEM_SIZE_EXTENDED, b as MENU_ITEM_SIZE_DEFAULT, c as MENU_LIST_MAX_SIZE, d as MENU_ITEM_SIZE_DENSE, A as APPBAR_SIZE, e as ICON_SIZE_LARGE, N as NOTIFICATION_DURATION_IN_MS, L as LIST_MAX_SIZE, f as LIST_ITEM_SIZE_DENSE, g as LIST_ITEM_SIZE_DEFAULT, h as LIST_OVERSCAN_ITEMS_COUNT, F as FontWeight, r as resolvePalettePath } from "../palette-utils-BmPPGzZt.js";
|
|
6
|
-
import
|
|
6
|
+
import MenuOutlined from "@mui/icons-material/MenuOutlined";
|
|
7
7
|
import { F as ForwardedComponent$1 } from "../ArrowDown-Bho9Ssnw.js";
|
|
8
8
|
import * as ReactWindow from "react-window";
|
|
9
|
-
import { u as useTranslationWithFallback, I as IconButton, M as MenuItem$1, w as warnOnce, g as getThemeColor, e as ellipsisStyles, S as SVG_SELECTOR } from "../utils-
|
|
10
|
-
import { T } from "../utils-
|
|
9
|
+
import { u as useTranslationWithFallback, I as IconButton, M as MenuItem$1, w as warnOnce, g as getThemeColor, e as ellipsisStyles, S as SVG_SELECTOR } from "../utils-BWsUF6Y9.js";
|
|
10
|
+
import { T } from "../utils-BWsUF6Y9.js";
|
|
11
|
+
import OpenInNewOutlined from "@mui/icons-material/OpenInNewOutlined";
|
|
11
12
|
import { F as ForwardedComponent, a as ForwardedComponent$2, b as ForwardedComponent$3, c as ForwardedComponent$4 } from "../Search-DXfTNnxj.js";
|
|
13
|
+
import CloseOutlined from "@mui/icons-material/CloseOutlined";
|
|
12
14
|
import "cartocolor";
|
|
15
|
+
import HelpOutlineOutlined from "@mui/icons-material/HelpOutlineOutlined";
|
|
16
|
+
import ContentCopyOutlined from "@mui/icons-material/ContentCopyOutlined";
|
|
17
|
+
import MoreVertOutlined from "@mui/icons-material/MoreVertOutlined";
|
|
13
18
|
import { Controlled, UnControlled } from "react-codemirror2";
|
|
14
19
|
import { purple, red, blue, indigo, green, lime, teal } from "@mui/material/colors";
|
|
15
20
|
import "codemirror/lib/codemirror.css";
|
|
@@ -35,14 +40,24 @@ import "codemirror/addon/fold/xml-fold.js";
|
|
|
35
40
|
import "codemirror/addon/fold/indent-fold.js";
|
|
36
41
|
import "codemirror/addon/fold/markdown-fold.js";
|
|
37
42
|
import "codemirror/addon/fold/comment-fold.js";
|
|
43
|
+
import ErrorOutlineOutlined from "@mui/icons-material/ErrorOutlineOutlined";
|
|
38
44
|
import ClickAwayListener$1 from "@mui/material/ClickAwayListener";
|
|
45
|
+
import ArrowBackOutlined from "@mui/icons-material/ArrowBackOutlined";
|
|
46
|
+
import VisibilityOffOutlined from "@mui/icons-material/VisibilityOffOutlined";
|
|
47
|
+
import VisibilityOutlined from "@mui/icons-material/VisibilityOutlined";
|
|
48
|
+
import AddCircleOutlineOutlined from "@mui/icons-material/AddCircleOutlineOutlined";
|
|
39
49
|
import { DatePicker as DatePicker$1 } from "@mui/x-date-pickers/DatePicker";
|
|
40
50
|
import { useIntl } from "react-intl";
|
|
41
51
|
import { u as useImperativeIntl } from "../useImperativeIntl-DXeh_Eda.js";
|
|
42
52
|
import { DateCalendar } from "@mui/x-date-pickers/DateCalendar";
|
|
43
53
|
import { PickerDay as PickerDay$1 } from "@mui/x-date-pickers";
|
|
54
|
+
import TodayOutlined from "@mui/icons-material/TodayOutlined";
|
|
44
55
|
import { DateTimePicker as DateTimePicker$1 } from "@mui/x-date-pickers/DateTimePicker";
|
|
56
|
+
import ArrowUpwardOutlined from "@mui/icons-material/ArrowUpwardOutlined";
|
|
57
|
+
import StopCircleOutlined from "@mui/icons-material/StopCircleOutlined";
|
|
58
|
+
import Cancel from "@mui/icons-material/Cancel";
|
|
45
59
|
import { TimePicker as TimePicker$1 } from "@mui/x-date-pickers/TimePicker";
|
|
60
|
+
import Check from "@mui/icons-material/Check";
|
|
46
61
|
import DOMPurify from "dompurify";
|
|
47
62
|
const ScreenReaderOnly = styled("span")(() => ({
|
|
48
63
|
position: "absolute",
|
|
@@ -4531,7 +4546,6 @@ function DatePicker({
|
|
|
4531
4546
|
"aria-label": ariaLabel,
|
|
4532
4547
|
"data-testid": dataTestId,
|
|
4533
4548
|
chooseDateAriaLabel,
|
|
4534
|
-
presets,
|
|
4535
4549
|
...props
|
|
4536
4550
|
}) {
|
|
4537
4551
|
const chooseDateText = useTranslationWithFallback(
|
|
@@ -4581,15 +4595,6 @@ function DatePicker({
|
|
|
4581
4595
|
clearable: !!handleClear,
|
|
4582
4596
|
onClear: handleClear
|
|
4583
4597
|
},
|
|
4584
|
-
...presets && {
|
|
4585
|
-
shortcuts: {
|
|
4586
|
-
items: presets.map(({ label: label2, value }) => ({
|
|
4587
|
-
label: label2,
|
|
4588
|
-
getValue: () => value
|
|
4589
|
-
})),
|
|
4590
|
-
changeImportance: "accept"
|
|
4591
|
-
}
|
|
4592
|
-
},
|
|
4593
4598
|
...slotProps
|
|
4594
4599
|
},
|
|
4595
4600
|
slots: {
|