@carto/meridian-ds 1.4.8 → 1.5.0

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.
@@ -1,21 +1,21 @@
1
1
  import { jsx, jsxs, Fragment } from "react/jsx-runtime";
2
- import { forwardRef, useState, useEffect, useMemo, useRef, Fragment as Fragment$1, useImperativeHandle, useCallback } from "react";
3
- import { styled, Box, Button as Button$1, CircularProgress, TextField, InputAdornment, IconButton, Tooltip, Select, MenuItem, FormControl, InputLabel, FormHelperText, ToggleButtonGroup as ToggleButtonGroup$1, Menu as Menu$2, MenuList as MenuList$1, Link, Checkbox, ListItemText, Autocomplete as Autocomplete$1, Divider, ListItemIcon, createFilterOptions, Accordion, AccordionSummary, AccordionDetails, Avatar as Avatar$1, Snackbar as Snackbar$1, Portal, Fade, Slide, alpha, useTheme, Toolbar, AppBar as AppBar$1, Paper, Dialog as Dialog$1, DialogTitle as DialogTitle$1, Chip, DialogContent as DialogContent$1, DialogActions as DialogActions$1 } from "@mui/material";
2
+ import { forwardRef, useState, useRef, useEffect, useMemo, Fragment as Fragment$1, useImperativeHandle, useCallback } from "react";
3
+ import { styled, Box, Button as Button$1, CircularProgress, Popper, Grow, Paper, ClickAwayListener, MenuList as MenuList$1, MenuItem, ButtonGroup as ButtonGroup$1, TextField, InputAdornment, IconButton, Tooltip, Select, FormControl, InputLabel, FormHelperText, ToggleButtonGroup as ToggleButtonGroup$1, Menu as Menu$2, Link, Checkbox, ListItemText, Autocomplete as Autocomplete$1, Divider, ListItemIcon, createFilterOptions, Accordion, AccordionSummary, AccordionDetails, Avatar as Avatar$1, Snackbar as Snackbar$1, Portal, Fade, Slide, alpha, useTheme, Toolbar, AppBar as AppBar$1, Dialog as Dialog$1, DialogTitle as DialogTitle$1, Chip, DialogContent as DialogContent$1, DialogActions as DialogActions$1 } from "@mui/material";
4
4
  import { T as Typography, c as ICON_SIZE_SMALL, u as useImperativeIntl, N as NOTIFICATION_DURATION_IN_MS, A as APPBAR_SIZE } from "../TablePaginationActions-KpTvhN4Y.js";
5
5
  import { a } from "../TablePaginationActions-KpTvhN4Y.js";
6
+ import { A as ArrowDown } from "../ArrowDown-CY_wMVJT.js";
7
+ import { A as ArrowUp, O as OpenDiagonallyRight, C as CloseDiagonallyRight } from "../OpenDiagonallyRight-CSm5GYYJ.js";
6
8
  import { useIntl } from "react-intl";
7
9
  import { VisibilityOffOutlined, VisibilityOutlined, Cancel, AddCircleOutlineOutlined, ContentCopyOutlined, CloseOutlined, MenuOutlined, HelpOutline, TodayOutlined, MoreVertOutlined, ErrorOutline, Check } from "@mui/icons-material";
8
10
  import { I as IconButton$1, A as Alert$1 } from "../Alert-CywtIMOj.js";
9
11
  import "cartocolor";
10
12
  import { M as MenuItem$1 } from "../MenuItem-CXnnE5lK.js";
11
- import { A as ArrowDown } from "../ArrowDown-CY_wMVJT.js";
12
13
  import { DatePicker as DatePicker$1 } from "@mui/x-date-pickers/DatePicker";
13
14
  import { PickersDay as PickersDay$1 } from "@mui/x-date-pickers";
14
15
  import { TimePicker as TimePicker$1 } from "@mui/x-date-pickers/TimePicker";
15
16
  import { DateTimePicker as DateTimePicker$1 } from "@mui/x-date-pickers/DateTimePicker";
16
- import { O as OpenDiagonallyRight, C as CloseDiagonallyRight } from "../OpenDiagonallyRight-5HZXh46V.js";
17
17
  import { Controlled, UnControlled } from "react-codemirror2";
18
- import { lime, blue, purple, teal, red, indigo } from "@mui/material/colors";
18
+ import { lime, blue, purple, teal, red, green, indigo } from "@mui/material/colors";
19
19
  import "codemirror/lib/codemirror.css";
20
20
  import "codemirror/lib/codemirror.js";
21
21
  import "codemirror/mode/sql/sql.js";
@@ -38,7 +38,7 @@ import "codemirror/addon/fold/xml-fold.js";
38
38
  import "codemirror/addon/fold/indent-fold.js";
39
39
  import "codemirror/addon/fold/markdown-fold.js";
40
40
  import "codemirror/addon/fold/comment-fold.js";
41
- import ClickAwayListener from "@mui/material/ClickAwayListener";
41
+ import ClickAwayListener$1 from "@mui/material/ClickAwayListener";
42
42
  const IndicatorIcon = styled(Box)({
43
43
  position: "absolute",
44
44
  top: 0,
@@ -99,6 +99,90 @@ function _Button({
99
99
  );
100
100
  }
101
101
  const Button = forwardRef(_Button);
102
+ const ButtonGroup = styled(ButtonGroup$1)(({ theme, size }) => ({
103
+ "& .MuiButton-root:last-child": {
104
+ padding: 0,
105
+ minWidth: size === "small" ? theme.spacing(3) : size === "large" ? theme.spacing(6) : theme.spacing(4)
106
+ }
107
+ }));
108
+ function SplitButton({
109
+ options,
110
+ onClick,
111
+ variant,
112
+ size,
113
+ color,
114
+ ...otherProps
115
+ }) {
116
+ var _a;
117
+ const [open, setOpen] = useState(false);
118
+ const anchorRef = useRef(null);
119
+ const [selectedIndex, setSelectedIndex] = useState(0);
120
+ const handleClick = () => {
121
+ onClick(options[selectedIndex]);
122
+ };
123
+ const handleMenuItemClick = (_, index) => {
124
+ setSelectedIndex(index);
125
+ setOpen(false);
126
+ };
127
+ const handleToggle = () => {
128
+ setOpen((prevOpen) => !prevOpen);
129
+ };
130
+ const handleClose = (event) => {
131
+ var _a2;
132
+ if ((_a2 = anchorRef.current) == null ? void 0 : _a2.contains(event.target)) {
133
+ return;
134
+ }
135
+ setOpen(false);
136
+ };
137
+ return /* @__PURE__ */ jsxs(Fragment, { children: [
138
+ /* @__PURE__ */ jsxs(
139
+ ButtonGroup,
140
+ {
141
+ "data-name": "split-button",
142
+ ref: anchorRef,
143
+ variant,
144
+ size,
145
+ color,
146
+ ...otherProps,
147
+ children: [
148
+ /* @__PURE__ */ jsx(Button$1, { onClick: handleClick, children: (_a = options[selectedIndex]) == null ? void 0 : _a.label }),
149
+ /* @__PURE__ */ jsx(Button$1, { onClick: handleToggle, children: open ? /* @__PURE__ */ jsx(ArrowUp, {}) : /* @__PURE__ */ jsx(ArrowDown, {}) })
150
+ ]
151
+ }
152
+ ),
153
+ /* @__PURE__ */ jsx(
154
+ Popper,
155
+ {
156
+ sx: { zIndex: 1 },
157
+ open,
158
+ anchorEl: anchorRef.current,
159
+ role: void 0,
160
+ transition: true,
161
+ disablePortal: true,
162
+ placement: "bottom-end",
163
+ children: ({ TransitionProps, placement }) => /* @__PURE__ */ jsx(
164
+ Grow,
165
+ {
166
+ ...TransitionProps,
167
+ style: {
168
+ transformOrigin: placement === "bottom" ? "center top" : "center bottom"
169
+ },
170
+ children: /* @__PURE__ */ jsx(Paper, { elevation: 8, children: /* @__PURE__ */ jsx(ClickAwayListener, { onClickAway: handleClose, children: /* @__PURE__ */ jsx(MenuList$1, { autoFocusItem: true, sx: { paddingY: 1 }, children: options.map((option, index) => /* @__PURE__ */ jsx(
171
+ MenuItem,
172
+ {
173
+ disabled: option.disabled,
174
+ selected: index === selectedIndex,
175
+ onClick: (event) => handleMenuItemClick(event, index),
176
+ children: option.label
177
+ },
178
+ option.label
179
+ )) }) }) })
180
+ }
181
+ )
182
+ }
183
+ )
184
+ ] });
185
+ }
102
186
  const Root$5 = styled(Box)(({ theme }) => ({
103
187
  display: "flex",
104
188
  alignItems: "center",
@@ -3113,8 +3197,9 @@ const CodeAreaTheme = styled(Box, {
3113
3197
  right: 0,
3114
3198
  zIndex: 1
3115
3199
  },
3116
- "& .pre.CodeMirror-line, .CodeMirror pre.CodeMirror-line-like, & .cm-bracket": {
3117
- color: theme.palette.text.primary
3200
+ ".CodeMirror pre.CodeMirror-line, .CodeMirror pre.CodeMirror-line-like, & .cm-bracket": {
3201
+ color: theme.palette.text.primary,
3202
+ fontVariantLigatures: "no-common-ligatures"
3118
3203
  },
3119
3204
  "& .CodeMirror pre.CodeMirror-placeholder": {
3120
3205
  color: theme.palette.text.hint
@@ -3132,7 +3217,7 @@ const CodeAreaTheme = styled(Box, {
3132
3217
  "& .cm-number, & .cm-property, & .cm-builtin": {
3133
3218
  color: red[700]
3134
3219
  },
3135
- "& .cm-comment": {
3220
+ "& .cm-comment, & .cm-quote": {
3136
3221
  color: theme.palette.text.secondary
3137
3222
  },
3138
3223
  "& .cm-variable": {
@@ -3141,9 +3226,18 @@ const CodeAreaTheme = styled(Box, {
3141
3226
  "& .cm-variable-2": {
3142
3227
  color: theme.palette.text.primary
3143
3228
  },
3144
- "& .cm-punctuation, & .cm-def, ": {
3229
+ "& .cm-punctuation, & .cm-def": {
3145
3230
  color: blue[800]
3146
3231
  },
3232
+ "& .cm-image-alt-text, & .cm-link": {
3233
+ color: green[800],
3234
+ textDecoration: "none"
3235
+ },
3236
+ // Custom inline link styling .cm-inline-url
3237
+ "& .cm-url, & .cm-inline-url": {
3238
+ color: blue[800],
3239
+ textDecoration: "none"
3240
+ },
3147
3241
  "& .cm-variable-3, & .cm-type": {
3148
3242
  color: indigo[800]
3149
3243
  },
@@ -3157,20 +3251,23 @@ const CodeAreaTheme = styled(Box, {
3157
3251
  "& .CodeMirror-selected": {
3158
3252
  background: blue[800]
3159
3253
  },
3160
- "& .cm-header-1": {
3161
- fontSize: theme.typography.h2.fontSize
3254
+ "& .cm-header": {
3255
+ color: red[700],
3256
+ ...theme.typography.code3,
3257
+ fontWeight: theme.typography.fontWeightBold
3162
3258
  },
3163
- "& .cm-header-2": {
3164
- fontSize: theme.typography.h3.fontSize
3259
+ "& .cm-header-4, & .cm-header-5, & .cm-header-6": {
3260
+ fontWeight: theme.typography.fontWeightRegular
3165
3261
  },
3166
- "& .cm-header-3": {
3167
- fontSize: theme.typography.h4.fontSize
3168
- },
3169
- "& .cm-header-4": {
3170
- fontSize: theme.typography.h5.fontSize
3262
+ // Custom inline code styling
3263
+ "& .cm-inline-code": {
3264
+ backgroundColor: theme.palette.black[4],
3265
+ color: purple[500]
3171
3266
  },
3172
- "& .cm-header-5": {
3173
- fontSize: theme.typography.h6.fontSize
3267
+ // Custom code block styling
3268
+ "& .cm-code-block": {
3269
+ backgroundColor: theme.palette.black[4],
3270
+ marginRight: theme.spacing(2)
3174
3271
  },
3175
3272
  ...size === "small" && {
3176
3273
  "& .CodeMirror": {
@@ -3206,6 +3303,100 @@ function findCodeAreaControlCodeOccurrences(content) {
3206
3303
  }
3207
3304
  return matches;
3208
3305
  }
3306
+ const editorMarkers = /* @__PURE__ */ new WeakMap();
3307
+ function clearMarkersForClass(editor, className) {
3308
+ var _a, _b;
3309
+ const markers = (_a = editorMarkers.get(editor)) == null ? void 0 : _a.get(className);
3310
+ if (!markers) return;
3311
+ markers.forEach((marker) => {
3312
+ if (marker.find()) {
3313
+ marker.clear();
3314
+ }
3315
+ });
3316
+ (_b = editorMarkers.get(editor)) == null ? void 0 : _b.delete(className);
3317
+ }
3318
+ function storeMarkersForClass(editor, className, markers) {
3319
+ if (!editorMarkers.has(editor)) {
3320
+ editorMarkers.set(editor, /* @__PURE__ */ new Map());
3321
+ }
3322
+ const editorMap = editorMarkers.get(editor);
3323
+ if (editorMap) {
3324
+ editorMap.set(className, markers);
3325
+ }
3326
+ }
3327
+ function CodeAreaMarkTextPattern(editor, pattern, options, excludePatterns) {
3328
+ const { className } = options;
3329
+ clearMarkersForClass(editor, className);
3330
+ const doc = editor.getDoc();
3331
+ const content = doc.getValue();
3332
+ const excludeRanges = (excludePatterns == null ? void 0 : excludePatterns.flatMap(
3333
+ (excludePattern) => Array.from(content.matchAll(excludePattern), (match) => ({
3334
+ start: match.index,
3335
+ end: match.index + match[0].length
3336
+ }))
3337
+ )) ?? [];
3338
+ const markers = Array.from(content.matchAll(pattern)).filter((match) => {
3339
+ if (excludeRanges.some(
3340
+ (range) => match.index >= range.start && match.index < range.end
3341
+ )) {
3342
+ return false;
3343
+ }
3344
+ return !match[1] || match[1].trim().length > 0;
3345
+ }).map((match) => {
3346
+ const startPos = doc.posFromIndex(match.index);
3347
+ const endPos = doc.posFromIndex(match.index + match[0].length);
3348
+ return editor.markText(startPos, endPos, {
3349
+ atomic: false,
3350
+ clearOnEnter: false,
3351
+ ...options
3352
+ });
3353
+ });
3354
+ if (markers.length > 0) {
3355
+ storeMarkersForClass(editor, className, markers);
3356
+ }
3357
+ }
3358
+ function markInlineCode(editor, className = "cm-inline-code") {
3359
+ const inlineCodePattern = /`([^`\n\r]+)`/g;
3360
+ const codeBlockPattern = /```[\s\S]*?```/g;
3361
+ CodeAreaMarkTextPattern(
3362
+ editor,
3363
+ inlineCodePattern,
3364
+ {
3365
+ className
3366
+ },
3367
+ [codeBlockPattern]
3368
+ );
3369
+ }
3370
+ function markInlineLinks(editor, className = "cm-inline-url") {
3371
+ const inlineLinkPattern = /<((?:https?:\/\/[^\s<>]+)|(?:[^\s<>@]+@[^\s<>@]+\.[^\s<>@]+))>/g;
3372
+ const codeBlockPattern = /```[\s\S]*?```/g;
3373
+ CodeAreaMarkTextPattern(
3374
+ editor,
3375
+ inlineLinkPattern,
3376
+ {
3377
+ className
3378
+ },
3379
+ [codeBlockPattern]
3380
+ );
3381
+ }
3382
+ function markCodeBlocks(editor, className = "cm-code-block") {
3383
+ const doc = editor.getDoc();
3384
+ const content = doc.getValue();
3385
+ const lineCount = content.split("\n").length;
3386
+ for (let i = 0; i < lineCount; i++) {
3387
+ ["background", "wrap", "text"].forEach(
3388
+ (where) => editor.removeLineClass(i, where, className)
3389
+ );
3390
+ }
3391
+ const codeBlockPattern = /```[\s\S]*?(?:```|$)/g;
3392
+ Array.from(content.matchAll(codeBlockPattern)).forEach((match) => {
3393
+ const startPos = doc.posFromIndex(match.index);
3394
+ const endPos = doc.posFromIndex(match.index + match[0].length);
3395
+ for (let lineNum = startPos.line; lineNum <= endPos.line; lineNum++) {
3396
+ editor.addLineClass(lineNum, "wrap", className);
3397
+ }
3398
+ });
3399
+ }
3209
3400
  function foldCode(editor, { from, to }) {
3210
3401
  editor.foldCode(
3211
3402
  0,
@@ -3246,6 +3437,7 @@ function CodeAreaInput({
3246
3437
  const codeMirrorOptions = {
3247
3438
  mode: "sql",
3248
3439
  theme: "light",
3440
+ addModeClass: true,
3249
3441
  lineNumbers: true,
3250
3442
  lineWrapping: true,
3251
3443
  extraKeys: { "Ctrl-Space": "autocomplete" },
@@ -3276,6 +3468,13 @@ function CodeAreaInput({
3276
3468
  }
3277
3469
  initialFoldingDoneRef.current = true;
3278
3470
  }, [value, editor, autoFoldControlBlocks]);
3471
+ useEffect(() => {
3472
+ const mode = typeof (options == null ? void 0 : options.mode) === "object" && options.mode !== null ? options.mode.name : options == null ? void 0 : options.mode;
3473
+ if (mode !== "markdown" || !editor || !value) return;
3474
+ markInlineCode(editor);
3475
+ markInlineLinks(editor);
3476
+ markCodeBlocks(editor);
3477
+ }, [editor, value, options == null ? void 0 : options.mode]);
3279
3478
  return /* @__PURE__ */ jsxs(
3280
3479
  CodeAreaTheme,
3281
3480
  {
@@ -4210,7 +4409,7 @@ function DialogConfirmation({
4210
4409
  "aria-label": ariaLabel,
4211
4410
  role: "presentation",
4212
4411
  "data-name": "dialog-confirmation",
4213
- children: /* @__PURE__ */ jsx(ClickAwayListener, { onClickAway: handleClickAway, children: /* @__PURE__ */ jsx(
4412
+ children: /* @__PURE__ */ jsx(ClickAwayListener$1, { onClickAway: handleClickAway, children: /* @__PURE__ */ jsx(
4214
4413
  Slide,
4215
4414
  {
4216
4415
  direction: "up",
@@ -4496,6 +4695,7 @@ export {
4496
4695
  CodeAreaFooter,
4497
4696
  CodeAreaHeader,
4498
4697
  CodeAreaInput,
4698
+ CodeAreaMarkTextPattern,
4499
4699
  CopiableComponent,
4500
4700
  CreatableAutocomplete,
4501
4701
  DatePicker,
@@ -4522,6 +4722,7 @@ export {
4522
4722
  PasswordField,
4523
4723
  SelectField,
4524
4724
  Snackbar,
4725
+ SplitButton,
4525
4726
  a as TablePaginationActions,
4526
4727
  Tag,
4527
4728
  TimePicker,
@@ -4,9 +4,9 @@ const jsxRuntime = require("react/jsx-runtime");
4
4
  const React = require("react");
5
5
  const utils = require("@mui/material/utils");
6
6
  const ArrowDown = require("../ArrowDown-8fLj23Ge.cjs");
7
- const OpenDiagonallyRight = require("../OpenDiagonallyRight-BrRyCV4Q.cjs");
7
+ const OpenDiagonallyRight = require("../OpenDiagonallyRight-CM1tojUq.cjs");
8
8
  const SwatchSquare = require("../SwatchSquare-benaO55C.cjs");
9
- const Icon$30 = () => /* @__PURE__ */ jsxRuntime.jsx("svg", { xmlns: "http://www.w3.org/2000/svg", fill: "none", children: /* @__PURE__ */ jsxRuntime.jsx(
9
+ const Icon$2$ = () => /* @__PURE__ */ jsxRuntime.jsx("svg", { xmlns: "http://www.w3.org/2000/svg", fill: "none", children: /* @__PURE__ */ jsxRuntime.jsx(
10
10
  "path",
11
11
  {
12
12
  fill: "currentColor",
@@ -15,10 +15,10 @@ const Icon$30 = () => /* @__PURE__ */ jsxRuntime.jsx("svg", { xmlns: "http://www
15
15
  clipRule: "evenodd"
16
16
  }
17
17
  ) });
18
- const BaseSvgIcon$30 = utils.createSvgIcon(Icon$30(), "AccessIn");
18
+ const BaseSvgIcon$2$ = utils.createSvgIcon(Icon$2$(), "AccessIn");
19
19
  function AccessIn({ width, height, sx, ...props }, ref) {
20
20
  return /* @__PURE__ */ jsxRuntime.jsx(
21
- BaseSvgIcon$30,
21
+ BaseSvgIcon$2$,
22
22
  {
23
23
  ref,
24
24
  viewBox: "0 0 24 24",
@@ -32,17 +32,17 @@ function AccessIn({ width, height, sx, ...props }, ref) {
32
32
  );
33
33
  }
34
34
  const AccessIn$1 = React.forwardRef(AccessIn);
35
- const Icon$2$ = () => /* @__PURE__ */ jsxRuntime.jsx("svg", { xmlns: "http://www.w3.org/2000/svg", fill: "none", children: /* @__PURE__ */ jsxRuntime.jsx(
35
+ const Icon$2_ = () => /* @__PURE__ */ jsxRuntime.jsx("svg", { xmlns: "http://www.w3.org/2000/svg", fill: "none", children: /* @__PURE__ */ jsxRuntime.jsx(
36
36
  "path",
37
37
  {
38
38
  fill: "currentColor",
39
39
  d: "M4 8h4V4H4zM10 20h4v-4h-4zM8 20H4v-4h4zM4 14h4v-4H4zM14 14h-4v-4h4zM14 8h-4V4h4zM16 14h4v-4h-4zM20 20h-4v-4h4zM21 0h-2v3h-3v2h3v3h2V5h3V3h-3z"
40
40
  }
41
41
  ) });
42
- const BaseSvgIcon$2$ = utils.createSvgIcon(Icon$2$(), "AddApp");
42
+ const BaseSvgIcon$2_ = utils.createSvgIcon(Icon$2_(), "AddApp");
43
43
  function AddApp({ width, height, sx, ...props }, ref) {
44
44
  return /* @__PURE__ */ jsxRuntime.jsx(
45
- BaseSvgIcon$2$,
45
+ BaseSvgIcon$2_,
46
46
  {
47
47
  ref,
48
48
  viewBox: "0 0 24 24",
@@ -56,7 +56,7 @@ function AddApp({ width, height, sx, ...props }, ref) {
56
56
  );
57
57
  }
58
58
  const AddApp$1 = React.forwardRef(AddApp);
59
- const Icon$2_ = () => /* @__PURE__ */ jsxRuntime.jsx("svg", { xmlns: "http://www.w3.org/2000/svg", fill: "none", children: /* @__PURE__ */ jsxRuntime.jsx(
59
+ const Icon$2Z = () => /* @__PURE__ */ jsxRuntime.jsx("svg", { xmlns: "http://www.w3.org/2000/svg", fill: "none", children: /* @__PURE__ */ jsxRuntime.jsx(
60
60
  "path",
61
61
  {
62
62
  fill: "currentColor",
@@ -65,10 +65,10 @@ const Icon$2_ = () => /* @__PURE__ */ jsxRuntime.jsx("svg", { xmlns: "http://www
65
65
  clipRule: "evenodd"
66
66
  }
67
67
  ) });
68
- const BaseSvgIcon$2_ = utils.createSvgIcon(Icon$2_(), "AddSection");
68
+ const BaseSvgIcon$2Z = utils.createSvgIcon(Icon$2Z(), "AddSection");
69
69
  function AddSection({ width, height, sx, ...props }, ref) {
70
70
  return /* @__PURE__ */ jsxRuntime.jsx(
71
- BaseSvgIcon$2_,
71
+ BaseSvgIcon$2Z,
72
72
  {
73
73
  ref,
74
74
  viewBox: "0 0 24 24",
@@ -82,17 +82,17 @@ function AddSection({ width, height, sx, ...props }, ref) {
82
82
  );
83
83
  }
84
84
  const AddSection$1 = React.forwardRef(AddSection);
85
- const Icon$2Z = () => /* @__PURE__ */ jsxRuntime.jsx("svg", { xmlns: "http://www.w3.org/2000/svg", fill: "none", children: /* @__PURE__ */ jsxRuntime.jsx(
85
+ const Icon$2Y = () => /* @__PURE__ */ jsxRuntime.jsx("svg", { xmlns: "http://www.w3.org/2000/svg", fill: "none", children: /* @__PURE__ */ jsxRuntime.jsx(
86
86
  "path",
87
87
  {
88
88
  fill: "currentColor",
89
89
  d: "M3 7v2h10V7zm4 6v2H3v2h4v2h2v-6zm14 4v-2H11v2zm-6-6h2V9h4V7h-4V5h-2z"
90
90
  }
91
91
  ) });
92
- const BaseSvgIcon$2Z = utils.createSvgIcon(Icon$2Z(), "AdvancedSettings");
92
+ const BaseSvgIcon$2Y = utils.createSvgIcon(Icon$2Y(), "AdvancedSettings");
93
93
  function AdvancedSettings({ width, height, sx, ...props }, ref) {
94
94
  return /* @__PURE__ */ jsxRuntime.jsx(
95
- BaseSvgIcon$2Z,
95
+ BaseSvgIcon$2Y,
96
96
  {
97
97
  ref,
98
98
  viewBox: "0 0 24 24",
@@ -106,7 +106,7 @@ function AdvancedSettings({ width, height, sx, ...props }, ref) {
106
106
  );
107
107
  }
108
108
  const AdvancedSettings$1 = React.forwardRef(AdvancedSettings);
109
- const Icon$2Y = () => /* @__PURE__ */ jsxRuntime.jsxs("svg", { xmlns: "http://www.w3.org/2000/svg", fill: "none", children: [
109
+ const Icon$2X = () => /* @__PURE__ */ jsxRuntime.jsxs("svg", { xmlns: "http://www.w3.org/2000/svg", fill: "none", children: [
110
110
  /* @__PURE__ */ jsxRuntime.jsx(
111
111
  "path",
112
112
  {
@@ -147,10 +147,10 @@ const Icon$2Y = () => /* @__PURE__ */ jsxRuntime.jsxs("svg", { xmlns: "http://ww
147
147
  }
148
148
  )
149
149
  ] });
150
- const BaseSvgIcon$2Y = utils.createSvgIcon(Icon$2Y(), "AiTool");
150
+ const BaseSvgIcon$2X = utils.createSvgIcon(Icon$2X(), "AiTool");
151
151
  function AiTool({ width, height, sx, ...props }, ref) {
152
152
  return /* @__PURE__ */ jsxRuntime.jsx(
153
- BaseSvgIcon$2Y,
153
+ BaseSvgIcon$2X,
154
154
  {
155
155
  ref,
156
156
  viewBox: "0 0 24 24",
@@ -164,7 +164,7 @@ function AiTool({ width, height, sx, ...props }, ref) {
164
164
  );
165
165
  }
166
166
  const AiTool$1 = React.forwardRef(AiTool);
167
- const Icon$2X = () => /* @__PURE__ */ jsxRuntime.jsxs("svg", { xmlns: "http://www.w3.org/2000/svg", fill: "none", children: [
167
+ const Icon$2W = () => /* @__PURE__ */ jsxRuntime.jsxs("svg", { xmlns: "http://www.w3.org/2000/svg", fill: "none", children: [
168
168
  /* @__PURE__ */ jsxRuntime.jsx(
169
169
  "path",
170
170
  {
@@ -184,10 +184,10 @@ const Icon$2X = () => /* @__PURE__ */ jsxRuntime.jsxs("svg", { xmlns: "http://ww
184
184
  }
185
185
  )
186
186
  ] });
187
- const BaseSvgIcon$2X = utils.createSvgIcon(Icon$2X(), "Annotation");
187
+ const BaseSvgIcon$2W = utils.createSvgIcon(Icon$2W(), "Annotation");
188
188
  function Annotation({ width, height, sx, ...props }, ref) {
189
189
  return /* @__PURE__ */ jsxRuntime.jsx(
190
- BaseSvgIcon$2X,
190
+ BaseSvgIcon$2W,
191
191
  {
192
192
  ref,
193
193
  viewBox: "0 0 24 24",
@@ -201,7 +201,7 @@ function Annotation({ width, height, sx, ...props }, ref) {
201
201
  );
202
202
  }
203
203
  const Annotation$1 = React.forwardRef(Annotation);
204
- const Icon$2W = () => /* @__PURE__ */ jsxRuntime.jsxs("svg", { xmlns: "http://www.w3.org/2000/svg", fill: "none", children: [
204
+ const Icon$2V = () => /* @__PURE__ */ jsxRuntime.jsxs("svg", { xmlns: "http://www.w3.org/2000/svg", fill: "none", children: [
205
205
  /* @__PURE__ */ jsxRuntime.jsx(
206
206
  "path",
207
207
  {
@@ -226,10 +226,10 @@ const Icon$2W = () => /* @__PURE__ */ jsxRuntime.jsxs("svg", { xmlns: "http://ww
226
226
  }
227
227
  )
228
228
  ] });
229
- const BaseSvgIcon$2W = utils.createSvgIcon(Icon$2W(), "ApiCall");
229
+ const BaseSvgIcon$2V = utils.createSvgIcon(Icon$2V(), "ApiCall");
230
230
  function ApiCall({ width, height, sx, ...props }, ref) {
231
231
  return /* @__PURE__ */ jsxRuntime.jsx(
232
- BaseSvgIcon$2W,
232
+ BaseSvgIcon$2V,
233
233
  {
234
234
  ref,
235
235
  viewBox: "0 0 24 24",
@@ -243,7 +243,7 @@ function ApiCall({ width, height, sx, ...props }, ref) {
243
243
  );
244
244
  }
245
245
  const ApiCall$1 = React.forwardRef(ApiCall);
246
- const Icon$2V = () => /* @__PURE__ */ jsxRuntime.jsx("svg", { xmlns: "http://www.w3.org/2000/svg", fill: "none", children: /* @__PURE__ */ jsxRuntime.jsx(
246
+ const Icon$2U = () => /* @__PURE__ */ jsxRuntime.jsx("svg", { xmlns: "http://www.w3.org/2000/svg", fill: "none", children: /* @__PURE__ */ jsxRuntime.jsx(
247
247
  "path",
248
248
  {
249
249
  fill: "currentColor",
@@ -252,10 +252,10 @@ const Icon$2V = () => /* @__PURE__ */ jsxRuntime.jsx("svg", { xmlns: "http://www
252
252
  clipRule: "evenodd"
253
253
  }
254
254
  ) });
255
- const BaseSvgIcon$2V = utils.createSvgIcon(Icon$2V(), "ArrowLeft");
255
+ const BaseSvgIcon$2U = utils.createSvgIcon(Icon$2U(), "ArrowLeft");
256
256
  function ArrowLeft({ width, height, sx, ...props }, ref) {
257
257
  return /* @__PURE__ */ jsxRuntime.jsx(
258
- BaseSvgIcon$2V,
258
+ BaseSvgIcon$2U,
259
259
  {
260
260
  ref,
261
261
  viewBox: "0 0 24 24",
@@ -269,7 +269,7 @@ function ArrowLeft({ width, height, sx, ...props }, ref) {
269
269
  );
270
270
  }
271
271
  const ArrowLeft$1 = React.forwardRef(ArrowLeft);
272
- const Icon$2U = () => /* @__PURE__ */ jsxRuntime.jsx("svg", { xmlns: "http://www.w3.org/2000/svg", fill: "none", children: /* @__PURE__ */ jsxRuntime.jsx(
272
+ const Icon$2T = () => /* @__PURE__ */ jsxRuntime.jsx("svg", { xmlns: "http://www.w3.org/2000/svg", fill: "none", children: /* @__PURE__ */ jsxRuntime.jsx(
273
273
  "path",
274
274
  {
275
275
  fill: "currentColor",
@@ -278,34 +278,8 @@ const Icon$2U = () => /* @__PURE__ */ jsxRuntime.jsx("svg", { xmlns: "http://www
278
278
  clipRule: "evenodd"
279
279
  }
280
280
  ) });
281
- const BaseSvgIcon$2U = utils.createSvgIcon(Icon$2U(), "ArrowRight");
281
+ const BaseSvgIcon$2T = utils.createSvgIcon(Icon$2T(), "ArrowRight");
282
282
  function ArrowRight({ width, height, sx, ...props }, ref) {
283
- return /* @__PURE__ */ jsxRuntime.jsx(
284
- BaseSvgIcon$2U,
285
- {
286
- ref,
287
- viewBox: "0 0 24 24",
288
- sx: {
289
- width,
290
- height: height || width,
291
- ...sx
292
- },
293
- ...props
294
- }
295
- );
296
- }
297
- const ArrowRight$1 = React.forwardRef(ArrowRight);
298
- const Icon$2T = () => /* @__PURE__ */ jsxRuntime.jsx("svg", { xmlns: "http://www.w3.org/2000/svg", fill: "none", children: /* @__PURE__ */ jsxRuntime.jsx(
299
- "path",
300
- {
301
- fill: "currentColor",
302
- fillRule: "evenodd",
303
- d: "M12.01 11.83 15.18 15l1.41-1.41L12.01 9l-4.59 4.59L8.84 15z",
304
- clipRule: "evenodd"
305
- }
306
- ) });
307
- const BaseSvgIcon$2T = utils.createSvgIcon(Icon$2T(), "ArrowUp");
308
- function ArrowUp({ width, height, sx, ...props }, ref) {
309
283
  return /* @__PURE__ */ jsxRuntime.jsx(
310
284
  BaseSvgIcon$2T,
311
285
  {
@@ -320,7 +294,7 @@ function ArrowUp({ width, height, sx, ...props }, ref) {
320
294
  }
321
295
  );
322
296
  }
323
- const ArrowUp$1 = React.forwardRef(ArrowUp);
297
+ const ArrowRight$1 = React.forwardRef(ArrowRight);
324
298
  const Icon$2S = () => /* @__PURE__ */ jsxRuntime.jsxs("svg", { xmlns: "http://www.w3.org/2000/svg", fill: "none", children: [
325
299
  /* @__PURE__ */ jsxRuntime.jsx(
326
300
  "path",
@@ -5796,6 +5770,7 @@ function WorkflowTemp({ width, height, sx, ...props }, ref) {
5796
5770
  }
5797
5771
  const WorkflowTemp$1 = React.forwardRef(WorkflowTemp);
5798
5772
  exports.ArrowDown = ArrowDown.ArrowDown;
5773
+ exports.ArrowUp = OpenDiagonallyRight.ArrowUp;
5799
5774
  exports.CloseDiagonallyRight = OpenDiagonallyRight.CloseDiagonallyRight;
5800
5775
  exports.OpenDiagonallyRight = OpenDiagonallyRight.OpenDiagonallyRight;
5801
5776
  exports.Search = SwatchSquare.Search;
@@ -5809,7 +5784,6 @@ exports.Annotation = Annotation$1;
5809
5784
  exports.ApiCall = ApiCall$1;
5810
5785
  exports.ArrowLeft = ArrowLeft$1;
5811
5786
  exports.ArrowRight = ArrowRight$1;
5812
- exports.ArrowUp = ArrowUp$1;
5813
5787
  exports.AsynchronousWait = AsynchronousWait$1;
5814
5788
  exports.Autostyle = Autostyle$1;
5815
5789
  exports.Avg = Avg$1;