@carto/meridian-ds 5.2.2-alpha.febf205.40001643693 → 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 -0
- package/README.md +15 -0
- package/dist/components/index.cjs +43 -33
- package/dist/components/index.js +20 -10
- package/dist/metadata.json +73 -73
- 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/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.d.ts +3 -5
- package/dist/types/components/Tag/Tag.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
|
@@ -4,6 +4,11 @@
|
|
|
4
4
|
|
|
5
5
|
## 5.0
|
|
6
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
|
+
|
|
7
12
|
### 5.2.1
|
|
8
13
|
|
|
9
14
|
- ci(release): automate releases, alphas and release notes [#569](https://github.com/CartoDB/meridian-ds/pull/569)
|
package/README.md
CHANGED
|
@@ -35,6 +35,21 @@ pnpm add @carto/meridian-ds
|
|
|
35
35
|
|
|
36
36
|
Notice that to avoid issues within host projects, most of the base libraries are declared as **peer dependencies** (echarts, material-ui..). That means that you would need to add them explicitly to your project, if you are still not using them (keep an eye on the console warnings on peer dependencies).
|
|
37
37
|
|
|
38
|
+
### Using an alpha
|
|
39
|
+
|
|
40
|
+
An unreleased change reaches an app as an alpha, published from a Meridian PR ([how](./CONTRIBUTING.md#alpha-release)). The PR's **📦 npm alpha release** comment gives the version.
|
|
41
|
+
|
|
42
|
+
```bash
|
|
43
|
+
npm view @carto/meridian-ds dist-tags.pr-<number> # prints the version once npm serves it
|
|
44
|
+
yarn add @carto/meridian-ds@<version> # exact version, in the app that needs it
|
|
45
|
+
```
|
|
46
|
+
|
|
47
|
+
- Pin the exact version, never the `pr-<number>` tag: the tag moves on every push and keeps the last alpha after the PR stops publishing.
|
|
48
|
+
- In a monorepo, workspace packages that also depend on Meridian must resolve the app's copy (for example Vite's `resolve.dedupe`), or they bundle a second copy and lose its theme and context.
|
|
49
|
+
- Restart the dev server, or it keeps serving the old version.
|
|
50
|
+
- Storybook shows the released version. Read the alpha's props in `node_modules/@carto/meridian-ds/dist/types/`; the Meridian MCP serves the copy it runs from.
|
|
51
|
+
- Never release an app on an alpha. Once the Meridian PR is released, replace the pin with that version.
|
|
52
|
+
|
|
38
53
|
## Icons
|
|
39
54
|
|
|
40
55
|
Meridian ships CARTO's custom icon set as React components under `@carto/meridian-ds/custom-icons`. The icons are imported directly from the "Custom icons" page of a dedicated Figma file via `scripts/import-figma-icons/`, which fetches each `COMPONENT` node, runs it through SVGO + SVGR, and writes a TSX component per icon. Re-run the importer to sync after designers add or change icons. For more information, see [Icons documentation](https://meridian.carto.com/?path=/docs/icons-introduction--docs).
|
|
@@ -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
|
},
|
|
@@ -4578,7 +4593,7 @@ function DatePicker({
|
|
|
4578
4593
|
{
|
|
4579
4594
|
label,
|
|
4580
4595
|
type,
|
|
4581
|
-
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" }) })
|
|
4582
4597
|
}
|
|
4583
4598
|
),
|
|
4584
4599
|
slotProps: {
|
|
@@ -4950,7 +4965,7 @@ function DateRangePicker({
|
|
|
4950
4965
|
...startProps == null ? void 0 : startProps.slotProps
|
|
4951
4966
|
},
|
|
4952
4967
|
slots: {
|
|
4953
|
-
openPickerIcon:
|
|
4968
|
+
openPickerIcon: TodayOutlined,
|
|
4954
4969
|
day: (props2) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
4955
4970
|
PickerDay,
|
|
4956
4971
|
{
|
|
@@ -5200,7 +5215,7 @@ function TimePicker({
|
|
|
5200
5215
|
{
|
|
5201
5216
|
label: fieldLabel,
|
|
5202
5217
|
type,
|
|
5203
|
-
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" }) })
|
|
5204
5219
|
}
|
|
5205
5220
|
),
|
|
5206
5221
|
views: ["hours"],
|
|
@@ -5299,7 +5314,7 @@ function DateTimePicker({
|
|
|
5299
5314
|
{
|
|
5300
5315
|
label: fieldLabel,
|
|
5301
5316
|
type,
|
|
5302
|
-
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" }) })
|
|
5303
5318
|
}
|
|
5304
5319
|
),
|
|
5305
5320
|
views: ["year", "month", "day", "hours"],
|
|
@@ -6195,7 +6210,7 @@ const MessageFieldFooter = ({
|
|
|
6195
6210
|
onClick: onStop,
|
|
6196
6211
|
color: "default",
|
|
6197
6212
|
size,
|
|
6198
|
-
icon: /* @__PURE__ */ jsxRuntime.jsx(
|
|
6213
|
+
icon: /* @__PURE__ */ jsxRuntime.jsx(StopCircleOutlined, {}),
|
|
6199
6214
|
tooltip: stopLabel,
|
|
6200
6215
|
"aria-label": stopAriaLabel,
|
|
6201
6216
|
tooltipPlacement: "top"
|
|
@@ -6254,7 +6269,7 @@ function _MessageField({
|
|
|
6254
6269
|
variant = "filled",
|
|
6255
6270
|
size = "small",
|
|
6256
6271
|
analyzing,
|
|
6257
|
-
iconButton = /* @__PURE__ */ jsxRuntime.jsx(
|
|
6272
|
+
iconButton = /* @__PURE__ */ jsxRuntime.jsx(ArrowUpwardOutlined, {}),
|
|
6258
6273
|
labelButton,
|
|
6259
6274
|
buttonColor,
|
|
6260
6275
|
disabledButton,
|
|
@@ -6401,7 +6416,7 @@ const SearchIcon = material.styled(Search.ForwardedComponent$3, {
|
|
|
6401
6416
|
}
|
|
6402
6417
|
})
|
|
6403
6418
|
);
|
|
6404
|
-
const ClearSearchIcon = material.styled(
|
|
6419
|
+
const ClearSearchIcon = material.styled(Cancel)(({ theme }) => ({
|
|
6405
6420
|
color: `${theme.palette.text.hint} !important`
|
|
6406
6421
|
}));
|
|
6407
6422
|
const LoadingSearchIcon = material.styled(material.CircularProgress)(({ theme }) => ({
|
|
@@ -6844,7 +6859,7 @@ function Snackbar({
|
|
|
6844
6859
|
{
|
|
6845
6860
|
color: "default",
|
|
6846
6861
|
onClick: (e) => onClose(e, "timeout"),
|
|
6847
|
-
icon: /* @__PURE__ */ jsxRuntime.jsx(
|
|
6862
|
+
icon: /* @__PURE__ */ jsxRuntime.jsx(CloseOutlined, {}),
|
|
6848
6863
|
tooltip: closeTooltipLabel
|
|
6849
6864
|
}
|
|
6850
6865
|
) })
|
|
@@ -6983,13 +6998,8 @@ const TagRoot = material.styled("div", {
|
|
|
6983
6998
|
maxWidth: "100%",
|
|
6984
6999
|
height: theme.spacing(2),
|
|
6985
7000
|
borderWidth: "1px",
|
|
6986
|
-
borderStyle:
|
|
6987
|
-
...colorProps(
|
|
6988
|
-
color ?? "primary",
|
|
6989
|
-
variant === "dashed" ? "outlined" : variant ?? "filled",
|
|
6990
|
-
theme,
|
|
6991
|
-
disabled
|
|
6992
|
-
),
|
|
7001
|
+
borderStyle: "solid",
|
|
7002
|
+
...colorProps(color ?? "primary", variant ?? "filled", theme, disabled),
|
|
6993
7003
|
'.Mui-selected &, [aria-selected="true"] &': {
|
|
6994
7004
|
borderColor: theme.palette.primary.main,
|
|
6995
7005
|
backgroundColor: theme.palette.primary.background,
|
|
@@ -7120,7 +7130,7 @@ function FilesAction({
|
|
|
7120
7130
|
size,
|
|
7121
7131
|
"aria-label": "Delete",
|
|
7122
7132
|
disabled,
|
|
7123
|
-
children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
7133
|
+
children: /* @__PURE__ */ jsxRuntime.jsx(Cancel, {})
|
|
7124
7134
|
}
|
|
7125
7135
|
) });
|
|
7126
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",
|
|
@@ -6966,13 +6981,8 @@ const TagRoot = styled("div", {
|
|
|
6966
6981
|
maxWidth: "100%",
|
|
6967
6982
|
height: theme.spacing(2),
|
|
6968
6983
|
borderWidth: "1px",
|
|
6969
|
-
borderStyle:
|
|
6970
|
-
...colorProps(
|
|
6971
|
-
color ?? "primary",
|
|
6972
|
-
variant === "dashed" ? "outlined" : variant ?? "filled",
|
|
6973
|
-
theme,
|
|
6974
|
-
disabled
|
|
6975
|
-
),
|
|
6984
|
+
borderStyle: "solid",
|
|
6985
|
+
...colorProps(color ?? "primary", variant ?? "filled", theme, disabled),
|
|
6976
6986
|
'.Mui-selected &, [aria-selected="true"] &': {
|
|
6977
6987
|
borderColor: theme.palette.primary.main,
|
|
6978
6988
|
backgroundColor: theme.palette.primary.background,
|