@eightshift/ui-components 5.3.1 → 5.3.3
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/dist/assets/style-admin.css +83 -50
- package/dist/assets/style-editor.css +83 -50
- package/dist/assets/style.css +83 -50
- package/dist/components/button/button.js +14 -5
- package/dist/components/draggable/draggable-handle.js +1 -1
- package/dist/components/draggable-list/draggable-list-item.js +1 -1
- package/dist/components/menu/menu.js +9 -1
- package/dist/components/modal/modal.js +6 -1
- package/dist/components/popover/popover.js +5 -0
- package/dist/components/select/v2/async-multi-select.js +1 -1
- package/dist/components/select/v2/async-select.js +1 -1
- package/dist/components/select/v2/multi-select.js +1 -1
- package/dist/components/select/v2/shared.js +1 -1
- package/dist/components/select/v2/single-select.js +1 -1
- package/dist/components/toggle-button/toggle-button.js +29 -19
- package/dist/icons/icons.js +27 -0
- package/dist/icons/jsx-svg.js +1 -1
- package/dist/{react-jsx-parser.min-LF707GK8.js → react-jsx-parser.min-VUl-CuCv.js} +92 -89
- package/package.json +6 -6
|
@@ -10,7 +10,7 @@ import { c as cva } from "../../index-Dq3gT5pW.js";
|
|
|
10
10
|
import { Tooltip } from "../tooltip/tooltip.js";
|
|
11
11
|
import { _ as __ } from "../../default-i18n-CN_q3KUs.js";
|
|
12
12
|
import { icons } from "../../icons/icons.js";
|
|
13
|
-
import "../../react-jsx-parser.min-
|
|
13
|
+
import "../../react-jsx-parser.min-VUl-CuCv.js";
|
|
14
14
|
function $2680b1829e803644$export$fa142eb1681c520(props, ref) {
|
|
15
15
|
const { "aria-label": ariaLabel, "aria-labelledby": ariaLabelledBy, orientation = "horizontal" } = props;
|
|
16
16
|
let [isInToolbar, setInToolbar] = useState(false);
|
|
@@ -89,6 +89,11 @@ const $13c3c67164f4d5be$export$4c260019440d418f = /* @__PURE__ */ forwardRef(fun
|
|
|
89
89
|
"data-orientation": props.orientation || "horizontal"
|
|
90
90
|
}, renderProps.children);
|
|
91
91
|
});
|
|
92
|
+
/**
|
|
93
|
+
* @typedef {import('../tooltip/tooltip').TooltipProps} TooltipProps
|
|
94
|
+
*
|
|
95
|
+
* @preserve
|
|
96
|
+
* */
|
|
92
97
|
/**
|
|
93
98
|
* @typedef {Object} ButtonProps
|
|
94
99
|
* @property {JSX.Element} [props.icon] - Icon to display within the button.
|
|
@@ -328,8 +333,8 @@ const Button = (props) => {
|
|
|
328
333
|
isPending: pending,
|
|
329
334
|
className: componentClasses({
|
|
330
335
|
disabled: !pending && disabled,
|
|
331
|
-
hasIcon:
|
|
332
|
-
iconOnly:
|
|
336
|
+
hasIcon: Boolean(icon),
|
|
337
|
+
iconOnly: Boolean(icon && !children),
|
|
333
338
|
size,
|
|
334
339
|
type
|
|
335
340
|
}),
|
|
@@ -341,7 +346,11 @@ const Button = (props) => {
|
|
|
341
346
|
icon,
|
|
342
347
|
children
|
|
343
348
|
] }),
|
|
344
|
-
isPending && /* @__PURE__ */ jsxs(
|
|
349
|
+
isPending && /* @__PURE__ */ jsxs("div", { className: "es:relative", children: [
|
|
350
|
+
/* @__PURE__ */ jsxs("div", { className: "es:invisible", children: [
|
|
351
|
+
icon,
|
|
352
|
+
children
|
|
353
|
+
] }),
|
|
345
354
|
/* @__PURE__ */ jsx(
|
|
346
355
|
$0393f8ab869a0f1a$export$c17561cb55d4db30,
|
|
347
356
|
{
|
|
@@ -350,7 +359,7 @@ const Button = (props) => {
|
|
|
350
359
|
isIndeterminate: true
|
|
351
360
|
}
|
|
352
361
|
),
|
|
353
|
-
cloneElement(icons.loader, { className: "es:motion-preset-spin es:motion-duration-
|
|
362
|
+
cloneElement(icons.loader, { className: "es:motion-preset-spin es:motion-duration-2000 es:absolute es:inset-0 es:m-auto" })
|
|
354
363
|
] })
|
|
355
364
|
] })
|
|
356
365
|
}
|
|
@@ -4,7 +4,7 @@ import "../../default-i18n-CN_q3KUs.js";
|
|
|
4
4
|
import { DraggableContext } from "./draggable-context.js";
|
|
5
5
|
import { useContext } from "react";
|
|
6
6
|
import { icons } from "../../icons/icons.js";
|
|
7
|
-
import "../../react-jsx-parser.min-
|
|
7
|
+
import "../../react-jsx-parser.min-VUl-CuCv.js";
|
|
8
8
|
/**
|
|
9
9
|
* A Draggable item handle.
|
|
10
10
|
*
|
|
@@ -4,7 +4,7 @@ import "../../default-i18n-CN_q3KUs.js";
|
|
|
4
4
|
import { BaseControl } from "../base-control/base-control.js";
|
|
5
5
|
import { icons } from "../../icons/icons.js";
|
|
6
6
|
import { cloneElement } from "react";
|
|
7
|
-
import "../../react-jsx-parser.min-
|
|
7
|
+
import "../../react-jsx-parser.min-VUl-CuCv.js";
|
|
8
8
|
/**
|
|
9
9
|
* A DraggableList item.
|
|
10
10
|
*
|
|
@@ -8,6 +8,12 @@ import { Popover } from "../popover/popover.js";
|
|
|
8
8
|
import { c as clsx } from "../../lite-DVmmD_-j.js";
|
|
9
9
|
import { cloneElement } from "react";
|
|
10
10
|
import { _ as __ } from "../../default-i18n-CN_q3KUs.js";
|
|
11
|
+
/**
|
|
12
|
+
* @typedef {import('../button/button').ButtonProps} ButtonProps
|
|
13
|
+
* @typedef {import('../popover/popover').PopoverProps} PopoverProps
|
|
14
|
+
*
|
|
15
|
+
* @preserve
|
|
16
|
+
* */
|
|
11
17
|
/**
|
|
12
18
|
* A simple menu component.
|
|
13
19
|
*
|
|
@@ -210,6 +216,7 @@ const MenuItem = (props) => {
|
|
|
210
216
|
disabled,
|
|
211
217
|
endIcon,
|
|
212
218
|
onClick,
|
|
219
|
+
onClickNative = (event) => event?.stopPropagation(),
|
|
213
220
|
shortcut,
|
|
214
221
|
danger,
|
|
215
222
|
primary,
|
|
@@ -246,6 +253,7 @@ const MenuItem = (props) => {
|
|
|
246
253
|
className
|
|
247
254
|
),
|
|
248
255
|
onAction: onClick,
|
|
256
|
+
onClick: onClickNative,
|
|
249
257
|
children: [
|
|
250
258
|
/* @__PURE__ */ jsx(
|
|
251
259
|
RichLabel,
|
|
@@ -294,7 +302,7 @@ const SubMenuItem = (props) => {
|
|
|
294
302
|
}
|
|
295
303
|
return /* @__PURE__ */ jsxs($3674c52c6b3c5bce$export$ecabc99eeffab7ca, { children: [
|
|
296
304
|
cloneElement(trigger, {
|
|
297
|
-
endIcon: /* @__PURE__ */ jsx("span", { className: "es:text-secondary-
|
|
305
|
+
endIcon: /* @__PURE__ */ jsx("span", { className: "es:text-secondary-500 es:contrast-more:text-current es:icon:size-3! es:icon:stroke-2!", children: icons.chevronRight })
|
|
298
306
|
}),
|
|
299
307
|
/* @__PURE__ */ jsx(
|
|
300
308
|
Popover,
|
|
@@ -9,7 +9,7 @@ import { Button } from "../button/button.js";
|
|
|
9
9
|
import { _ as __ } from "../../default-i18n-CN_q3KUs.js";
|
|
10
10
|
import { c as clsx } from "../../lite-DVmmD_-j.js";
|
|
11
11
|
import { icons } from "../../icons/icons.js";
|
|
12
|
-
import "../../react-jsx-parser.min-
|
|
12
|
+
import "../../react-jsx-parser.min-VUl-CuCv.js";
|
|
13
13
|
import { HStack } from "../layout/hstack.js";
|
|
14
14
|
let $5df64b3807dc15ee$var$visualViewport = typeof document !== "undefined" && window.visualViewport;
|
|
15
15
|
function $5df64b3807dc15ee$export$d699905dd57c73ca() {
|
|
@@ -210,6 +210,11 @@ function $f3f84453ead64de5$var$ModalContent(props) {
|
|
|
210
210
|
onDismiss: state.close
|
|
211
211
|
}), renderProps.children);
|
|
212
212
|
}
|
|
213
|
+
/**
|
|
214
|
+
* @typedef {import('../button/button').ButtonProps} ButtonProps
|
|
215
|
+
*
|
|
216
|
+
* @preserve
|
|
217
|
+
* */
|
|
213
218
|
/**
|
|
214
219
|
* Modal dialog.
|
|
215
220
|
*
|
|
@@ -133,6 +133,11 @@ const Popover = (props) => {
|
|
|
133
133
|
}
|
|
134
134
|
);
|
|
135
135
|
};
|
|
136
|
+
/**
|
|
137
|
+
* @typedef {import('../button/button').ButtonProps} ButtonProps
|
|
138
|
+
*
|
|
139
|
+
* @preserve
|
|
140
|
+
* */
|
|
136
141
|
/**
|
|
137
142
|
* A simple version of the Popover component that includes a trigger button.
|
|
138
143
|
* The control of the popover is handled internally. A custom trigger can be provided.
|
|
@@ -11,7 +11,7 @@ import { $ as $514c0188e459b4c0$export$5f1af8db9871e1d6 } from "../../../Text-Ax
|
|
|
11
11
|
import { $ as $d8f176866e6dc039$export$2cfc5be7a55829f6 } from "../../../useDragAndDrop-DVLrIdEn.js";
|
|
12
12
|
import { useRef, useEffect, cloneElement } from "react";
|
|
13
13
|
import { icons } from "../../../icons/icons.js";
|
|
14
|
-
import "../../../react-jsx-parser.min-
|
|
14
|
+
import "../../../react-jsx-parser.min-VUl-CuCv.js";
|
|
15
15
|
import { OptionItemBase } from "./shared.js";
|
|
16
16
|
import { RichLabel } from "../../rich-label/rich-label.js";
|
|
17
17
|
import { c as clsx } from "../../../utils-cvK1vxO7.js";
|
|
@@ -10,7 +10,7 @@ import { e as $07b14b47974efb58$export$5b6b19405a83ff9d } from "../../../Dialog-
|
|
|
10
10
|
import { $ as $82d7e5349645de74$export$ef9b1a59e592288f, a as $82d7e5349645de74$export$e288731fd71264f0, b as $82d7e5349645de74$export$ef445b55be0601bd } from "../../../Select-ciHB1pub.js";
|
|
11
11
|
import { useRef, useEffect, cloneElement, useContext } from "react";
|
|
12
12
|
import { icons } from "../../../icons/icons.js";
|
|
13
|
-
import "../../../react-jsx-parser.min-
|
|
13
|
+
import "../../../react-jsx-parser.min-VUl-CuCv.js";
|
|
14
14
|
import { OptionItemBase } from "./shared.js";
|
|
15
15
|
import { RichLabel } from "../../rich-label/rich-label.js";
|
|
16
16
|
import { unescapeHTML } from "../../../utilities/text-helpers.js";
|
|
@@ -11,7 +11,7 @@ import { $ as $514c0188e459b4c0$export$5f1af8db9871e1d6 } from "../../../Text-Ax
|
|
|
11
11
|
import { $ as $d8f176866e6dc039$export$2cfc5be7a55829f6 } from "../../../useDragAndDrop-DVLrIdEn.js";
|
|
12
12
|
import { useRef, cloneElement } from "react";
|
|
13
13
|
import { icons } from "../../../icons/icons.js";
|
|
14
|
-
import "../../../react-jsx-parser.min-
|
|
14
|
+
import "../../../react-jsx-parser.min-VUl-CuCv.js";
|
|
15
15
|
import { OptionItemBase } from "./shared.js";
|
|
16
16
|
import { RichLabel } from "../../rich-label/rich-label.js";
|
|
17
17
|
import { c as clsx } from "../../../utils-cvK1vxO7.js";
|
|
@@ -3,7 +3,7 @@ import { a as $eed445e0843c11d0$export$a11e76429ed99b4 } from "../../../ListBox-
|
|
|
3
3
|
import { c as clsx } from "../../../utils-cvK1vxO7.js";
|
|
4
4
|
import { icons } from "../../../icons/icons.js";
|
|
5
5
|
import "react";
|
|
6
|
-
import "../../../react-jsx-parser.min-
|
|
6
|
+
import "../../../react-jsx-parser.min-VUl-CuCv.js";
|
|
7
7
|
import { AnimatedVisibility } from "../../animated-visibility/animated-visibility.js";
|
|
8
8
|
const OptionItemBase = (props) => /* @__PURE__ */ jsx(
|
|
9
9
|
$eed445e0843c11d0$export$a11e76429ed99b4,
|
|
@@ -10,7 +10,7 @@ import { e as $07b14b47974efb58$export$5b6b19405a83ff9d } from "../../../Dialog-
|
|
|
10
10
|
import { $ as $82d7e5349645de74$export$ef9b1a59e592288f, a as $82d7e5349645de74$export$e288731fd71264f0, b as $82d7e5349645de74$export$ef445b55be0601bd } from "../../../Select-ciHB1pub.js";
|
|
11
11
|
import { useRef, cloneElement, useContext } from "react";
|
|
12
12
|
import { icons } from "../../../icons/icons.js";
|
|
13
|
-
import "../../../react-jsx-parser.min-
|
|
13
|
+
import "../../../react-jsx-parser.min-VUl-CuCv.js";
|
|
14
14
|
import { OptionItemBase } from "./shared.js";
|
|
15
15
|
import { RichLabel } from "../../rich-label/rich-label.js";
|
|
16
16
|
import { c as clsx } from "../../../utils-cvK1vxO7.js";
|
|
@@ -102,6 +102,11 @@ const $efde0372d7a700fe$export$d2b052e7b4be1756 = /* @__PURE__ */ forwardRef(fun
|
|
|
102
102
|
"data-focus-visible": isFocusVisible || void 0
|
|
103
103
|
});
|
|
104
104
|
});
|
|
105
|
+
/**
|
|
106
|
+
* @typedef {import('../tooltip/tooltip').TooltipProps} TooltipProps
|
|
107
|
+
*
|
|
108
|
+
* @preserve
|
|
109
|
+
* */
|
|
105
110
|
/**
|
|
106
111
|
* A simple toggle button component.
|
|
107
112
|
*
|
|
@@ -173,8 +178,10 @@ const ToggleButton2 = (props) => {
|
|
|
173
178
|
"es:btn-group-mid:rounded-none",
|
|
174
179
|
"es:btn-group-h-start:rounded-r-none es:btn-group-v-start:rounded-b-none",
|
|
175
180
|
"es:btn-group-h-end:rounded-l-none es:btn-group-v-end:rounded-t-none",
|
|
176
|
-
"es:enabled:
|
|
177
|
-
"es:
|
|
181
|
+
"es:enabled:not-pending:cursor-pointer",
|
|
182
|
+
"es:shrink-0",
|
|
183
|
+
"es:pending:shadow-none! es:pending:cursor-wait",
|
|
184
|
+
"es:bg-radial-[at_50%_125%]",
|
|
178
185
|
icon && children ? "es:justify-start" : "es:justify-center",
|
|
179
186
|
className
|
|
180
187
|
],
|
|
@@ -184,10 +191,6 @@ const ToggleButton2 = (props) => {
|
|
|
184
191
|
small: "es:icon:size-5 es:rounded-7",
|
|
185
192
|
default: "es:icon:size-5 es:rounded-10",
|
|
186
193
|
large: "es:icon:size-6 es:rounded-xl"
|
|
187
|
-
},
|
|
188
|
-
type: {
|
|
189
|
-
default: ["es:bg-radial-[at_50%_125%]", "es:inset-ring es:inset-shadow-xs"],
|
|
190
|
-
ghost: ["es:border-transparent es:text-secondary-700", "es:hover:bg-secondary-100", "es:disabled:border-transparent!"]
|
|
191
194
|
}
|
|
192
195
|
},
|
|
193
196
|
compoundVariants: [
|
|
@@ -197,22 +200,22 @@ const ToggleButton2 = (props) => {
|
|
|
197
200
|
selected: false,
|
|
198
201
|
class: [
|
|
199
202
|
"es:text-black",
|
|
200
|
-
"es:from-
|
|
203
|
+
"es:from-white es:to-secondary-50",
|
|
201
204
|
"es:border-secondary-300",
|
|
202
|
-
"es:inset-ring-secondary-100",
|
|
203
|
-
"es:inset-shadow-secondary-100/50",
|
|
205
|
+
"es:inset-ring es:inset-ring-secondary-100",
|
|
206
|
+
"es:inset-shadow-xs es:inset-shadow-secondary-100/50",
|
|
204
207
|
"es:shadow-sm",
|
|
205
|
-
"es:hover:inset-shadow-secondary-100 es:hover:to-secondary-100 es:hover:inset-ring-secondary-100",
|
|
208
|
+
"es:enabled:hover:shadow-md es:enabled:active:shadow-sm es:enabled:pressed:shadow-sm es:hover:inset-shadow-secondary-100 es:hover:to-secondary-100 es:hover:inset-ring-secondary-100",
|
|
206
209
|
"es:hover:text-accent-950",
|
|
207
210
|
"es:focus-visible:text-accent-950"
|
|
208
211
|
]
|
|
209
212
|
},
|
|
210
213
|
{
|
|
211
|
-
type: "default",
|
|
214
|
+
type: ["default", "ghost"],
|
|
212
215
|
disabled: false,
|
|
213
216
|
selected: true,
|
|
214
217
|
class: [
|
|
215
|
-
"es:text-white
|
|
218
|
+
"es:text-white",
|
|
216
219
|
"es:from-accent-500 es:to-accent-600",
|
|
217
220
|
"es:border-accent-700",
|
|
218
221
|
"es:inset-ring es:inset-ring-accent-600",
|
|
@@ -220,18 +223,25 @@ const ToggleButton2 = (props) => {
|
|
|
220
223
|
"es:focus-visible:border-accent-700",
|
|
221
224
|
"es:focus-visible:inset-ring es:focus-visible:inset-ring-accent-600",
|
|
222
225
|
"es:focus-visible:inset-shadow-xs es:focus-visible:inset-shadow-accent-400",
|
|
223
|
-
"es:shadow
|
|
226
|
+
"es:shadow es:shadow-accent-600/30 es:enabled:hover:shadow-md es:enabled:active:shadow-sm es:enabled:pressed:shadow-sm"
|
|
224
227
|
]
|
|
225
228
|
},
|
|
226
|
-
{
|
|
227
|
-
disabled: true,
|
|
228
|
-
class: "es:disabled:border-secondary-300 es:disabled:text-secondary-400 es:border es:shadow-none es:disabled:inset-shadow-transparent es:disabled:inset-ring-0"
|
|
229
|
-
},
|
|
230
229
|
{
|
|
231
230
|
type: "ghost",
|
|
232
231
|
disabled: false,
|
|
233
|
-
selected:
|
|
234
|
-
class: [
|
|
232
|
+
selected: false,
|
|
233
|
+
class: [
|
|
234
|
+
"es:border-accent-500/0 es:text-secondary-700",
|
|
235
|
+
"es:hover:bg-accent-500/10 es:hover:text-accent-700",
|
|
236
|
+
"es:active:bg-accent-50 es:pressed:bg-accent-50 es:active:text-accent-950 es:pressed:text-accent-950",
|
|
237
|
+
"es:focus-visible:text-accent-700",
|
|
238
|
+
"es:inset-ring es:inset-ring-accent-600/0",
|
|
239
|
+
"es:inset-shadow-xs es:inset-shadow-accent-400/0"
|
|
240
|
+
]
|
|
241
|
+
},
|
|
242
|
+
{
|
|
243
|
+
disabled: true,
|
|
244
|
+
class: "es:disabled:border-zinc-300 es:disabled:text-zinc-400 es:border es:shadow-none es:disabled:inset-shadow-transparent es:disabled:inset-ring-0"
|
|
235
245
|
},
|
|
236
246
|
// Sizes.
|
|
237
247
|
{
|
package/dist/icons/icons.js
CHANGED
|
@@ -3349,6 +3349,33 @@ const icons = {
|
|
|
3349
3349
|
/* @__PURE__ */ jsx("path", { opacity: "0.6", d: "M3.439 17.562a.562.562 0 0 0 .793-.794.561.561 0 0 0-.794.793v.001Z", fill: "currentColor" }),
|
|
3350
3350
|
/* @__PURE__ */ jsx("path", { d: "M5.077 18.657a.561.561 0 1 0-.002 0h.002Z", fill: "currentColor" }),
|
|
3351
3351
|
/* @__PURE__ */ jsx("path", { d: "M6.5 12v2.25c0 .138.112.25.25.25H8.5", stroke: "currentColor", strokeLinecap: "round", fill: "none" })
|
|
3352
|
+
] }),
|
|
3353
|
+
folderSolid: /* @__PURE__ */ jsx("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 21 20", width: "21", height: "20", fill: "none", children: /* @__PURE__ */ jsx("path", { d: "M17.5 5a2 2 0 0 1 2 2v8a2 2 0 0 1-2 2h-14a2 2 0 0 1-1.99-1.796L1.5 15V8h5.8a.501.501 0 0 0 .298-.099l2.7-2-.008-.01L11.484 5H17.5ZM6.805 3a2 2 0 0 1 1.19.393l1.993 1.476L7.135 7H1.5V5a2 2 0 0 1 2-2h3.305Z", fill: "currentColor" }) }),
|
|
3354
|
+
folderOpenSolid: /* @__PURE__ */ jsx("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 21 20", width: "21", height: "20", fill: "none", children: /* @__PURE__ */ jsx("path", { d: "M19.27 8c.256.44.348.979.2 1.522l-1.623 6A2 2 0 0 1 15.916 17H3.5c-.207 0-.407-.033-.595-.092l.076-.277 2.196-7.899A1 1 0 0 1 6.14 8h13.13ZM6.4 3c.513 0 1.008.197 1.38.55l1.234 1.175c.186.176.433.275.69.275H15.5a2 2 0 0 1 2 2H6.14a2 2 0 0 0-1.927 1.465l-2.194 7.901.004-.021A1.99 1.99 0 0 1 1.5 15V5a2 2 0 0 1 2-2h2.9Z", fill: "currentColor" }) }),
|
|
3355
|
+
plusSquare: /* @__PURE__ */ jsxs("svg", { xmlns: "http://www.w3.org/2000/svg", width: "20", height: "20", viewBox: "0 0 20 20", fill: "none", children: [
|
|
3356
|
+
/* @__PURE__ */ jsx("rect", { x: "1.5", y: "1.5", width: "17", height: "17", rx: "2", stroke: "currentColor", fill: "none" }),
|
|
3357
|
+
/* @__PURE__ */ jsx("path", { d: "M5.5 10H10m0 0h4.5M10 10V5.5m0 4.5v4.5", stroke: "currentColor", strokeLinecap: "round", fill: "none" })
|
|
3358
|
+
] }),
|
|
3359
|
+
plusSquareFill: /* @__PURE__ */ jsx("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 20 20", width: "20", height: "20", fill: "none", children: /* @__PURE__ */ jsx("path", { d: "M16.5 19a2.5 2.5 0 0 0 2.5-2.5v-13A2.5 2.5 0 0 0 16.5 1h-13A2.5 2.5 0 0 0 1 3.5v13A2.5 2.5 0 0 0 3.5 19h13ZM10 15a.5.5 0 0 1-.5-.5v-4h-4a.5.5 0 0 1 0-1h4v-4a.5.5 0 0 1 1 0v4h4a.5.5 0 0 1 0 1h-4v4a.5.5 0 0 1-.5.5Z", fill: "currentColor" }) }),
|
|
3360
|
+
plusSquareFillTransparent: /* @__PURE__ */ jsxs("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 20 20", width: "20", height: "20", fill: "none", children: [
|
|
3361
|
+
/* @__PURE__ */ jsx("rect", { x: "1", y: "1", width: "18", height: "18", rx: "2.5", fill: "currentColor", fillOpacity: "0.12" }),
|
|
3362
|
+
/* @__PURE__ */ jsx("path", { d: "M5.5 10H10m0 0h4.5M10 10V5.5m0 4.5v4.5", stroke: "currentColor", strokeLinecap: "round", fill: "none" })
|
|
3363
|
+
] }),
|
|
3364
|
+
sortGeneric: /* @__PURE__ */ jsxs("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 20 20", width: "20", height: "20", fill: "none", children: [
|
|
3365
|
+
/* @__PURE__ */ jsx("path", { d: "m1 14 4.5 4.52m0 0L10 14m-4.5 4.52V3", stroke: "currentColor", strokeLinecap: "round", strokeLinejoin: "round", fill: "none" }),
|
|
3366
|
+
/* @__PURE__ */ jsx("path", { d: "M9 3.5h10m-10 3h8m-8 3h6", stroke: "currentColor", strokeLinecap: "round", fill: "none" })
|
|
3367
|
+
] }),
|
|
3368
|
+
musicNote: /* @__PURE__ */ jsxs("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 20 20", width: "20", height: "20", fill: "none", children: [
|
|
3369
|
+
/* @__PURE__ */ jsx("ellipse", { cx: "5", cy: "17", rx: "2.5", ry: "2", fill: "currentColor", stroke: "currentColor" }),
|
|
3370
|
+
/* @__PURE__ */ jsx("ellipse", { cx: "16", cy: "14", rx: "2.5", ry: "2", fill: "currentColor", stroke: "currentColor" }),
|
|
3371
|
+
/* @__PURE__ */ jsx("path", { d: "M18.5 2.698V4l-11 2V4.335a1 1 0 0 1 .821-.984l9-1.637a1 1 0 0 1 1.179.984Z", fill: "currentColor" }),
|
|
3372
|
+
/* @__PURE__ */ jsx("path", { d: "M18.5 14V2.698a1 1 0 0 0-1.179-.984l-9 1.637a1 1 0 0 0-.821.984V17.25M18.5 4l-11 2", stroke: "currentColor", fill: "none" })
|
|
3373
|
+
] }),
|
|
3374
|
+
wordpress: /* @__PURE__ */ jsx("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 20 20", width: "20", height: "20", fill: "none", children: /* @__PURE__ */ jsx("path", { d: "M17.1 6.118A8.052 8.052 0 0 1 18.091 10a8.087 8.087 0 0 1-4.023 6.994l2.472-7.146c.461-1.154.615-2.077.615-2.898 0-.298-.02-.575-.055-.832Zm-5.985.088c.487-.026.926-.077.926-.077.436-.052.385-.692-.051-.667 0 0-1.311.103-2.157.103-.795 0-2.131-.103-2.131-.103-.437-.025-.488.641-.052.667 0 0 .413.051.85.077L9.76 9.66l-1.771 5.31-2.947-8.764c.488-.026.926-.077.926-.077.436-.052.385-.692-.051-.667 0 0-1.31.103-2.157.103-.152 0-.33-.004-.52-.01A8.082 8.082 0 0 1 10 1.908c2.106 0 4.024.806 5.464 2.125-.035-.003-.069-.007-.105-.007-.794 0-1.358.692-1.358 1.436 0 .667.384 1.231.794 1.898.308.539.668 1.231.668 2.232 0 .692-.267 1.496-.616 2.615l-.808 2.697-2.924-8.698ZM10 18.092a8.09 8.09 0 0 1-2.286-.33l2.428-7.055 2.487 6.815a.76.76 0 0 0 .058.111 8.074 8.074 0 0 1-2.687.459ZM1.908 10a8.06 8.06 0 0 1 .701-3.293l3.86 10.575A8.092 8.092 0 0 1 1.909 10ZM10 1c-4.963 0-9 4.037-9 9 0 4.962 4.037 9 9 9s9-4.038 9-9c0-4.963-4.037-9-9-9Z", fill: "currentColor" }) }),
|
|
3375
|
+
filePdf: /* @__PURE__ */ jsxs("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 20 20", width: "20", height: "20", fill: "none", children: [
|
|
3376
|
+
/* @__PURE__ */ jsx("path", { d: "m9.5.5 5 5H10a.5.5 0 0 1-.5-.5V.5Z", fill: "currentColor", fillOpacity: "0.3" }),
|
|
3377
|
+
/* @__PURE__ */ jsx("path", { d: "m14.5 5.5-5-5m5 5H10a.5.5 0 0 1-.5-.5V.5m5 5v2m-5-7H2A1.5 1.5 0 0 0 .5 2v16A1.5 1.5 0 0 0 2 19.5h11a1.5 1.5 0 0 0 1.5-1.5v-.5", stroke: "currentColor", strokeLinecap: "round", strokeLinejoin: "round", fill: "none" }),
|
|
3378
|
+
/* @__PURE__ */ jsx("path", { d: "M11.236 15.5H9.499v-6h1.737s2.316 0 2.316 2.842v.316c0 2.842-2.316 2.842-2.316 2.842Zm4.263 0v-3m3.184-3H15.5v3m0 0h3.04m-15.04 3v-3m0 0v-3h1.882c.434 0 2.119 0 2.118 1.5-.001 1.5-1.566 1.5-2 1.5h-2Z", stroke: "currentColor", strokeLinecap: "round", strokeLinejoin: "round", fill: "none" })
|
|
3352
3379
|
] })
|
|
3353
3380
|
};
|
|
3354
3381
|
const blockIcons = {
|
package/dist/icons/jsx-svg.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsx } from "react/jsx-runtime";
|
|
2
|
-
import { s as svgToJsxString, a as source_default } from "../react-jsx-parser.min-
|
|
2
|
+
import { s as svgToJsxString, a as source_default } from "../react-jsx-parser.min-VUl-CuCv.js";
|
|
3
3
|
/**
|
|
4
4
|
* Renders SVG string as JSX SVGs.
|
|
5
5
|
*
|