@spear-ai/spectral 1.9.1 → 1.10.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.
- package/README.md +6 -5
- package/dist/.js +112 -239
- package/dist/Accordion-CDXdSAST.js +363 -0
- package/dist/Accordion.js +3 -498
- package/dist/Alert/AlertBase.js +69 -152
- package/dist/Alert.js +58 -106
- package/dist/AnimatePresence-D-9jXfgI.js +178 -0
- package/dist/App.js +6 -6
- package/dist/Avatar.js +83 -65
- package/dist/Badge.d.ts +1 -3
- package/dist/Badge.js +21 -25
- package/dist/Button.js +102 -178
- package/dist/ButtonGroup/ButtonGroupButton.js +38 -40
- package/dist/ButtonGroup.js +55 -59
- package/dist/ButtonIcon.js +58 -134
- package/dist/Calendar-s4lyijkn.js +3109 -0
- package/dist/Checkbox/CheckboxBase.js +94 -126
- package/dist/Checkbox.d.ts +1 -1
- package/dist/Checkbox.js +40 -105
- package/dist/Combobox/ComboboxBase.js +2 -79
- package/dist/Combobox.js +106 -172
- package/dist/ComboboxBase-D8Nf4xC-.js +491 -0
- package/dist/ControlGroup/ControlGroupSelect.d.ts +1 -1
- package/dist/ControlGroup/ControlGroupSelect.js +85 -101
- package/dist/ControlGroup.js +45 -48
- package/dist/DataCard/Card.js +37 -12
- package/dist/DataCard.d.ts +1 -1
- package/dist/DataCard.js +36 -16
- package/dist/DateTimePicker/Calendar.js +2 -2967
- package/dist/DateTimePicker/DateTimeDisplayInput.d.ts +1 -1
- package/dist/DateTimePicker/DateTimeDisplayInput.js +379 -275
- package/dist/DateTimePicker/DateTimeInput.d.ts +1 -1
- package/dist/DateTimePicker/DateTimeInput.js +133 -141
- package/dist/DateTimePicker/DateTimeUtils.js +2 -2193
- package/dist/DateTimePicker/TimePeriodSelect.d.ts +1 -1
- package/dist/DateTimePicker/TimePeriodSelect.js +45 -20
- package/dist/DateTimePicker/TimePicker.d.ts +1 -1
- package/dist/DateTimePicker/TimePicker.js +76 -60
- package/dist/DateTimePicker.d.ts +2 -2
- package/dist/DateTimePicker.js +87 -205
- package/dist/DateTimeUtils-DVvG6H-p.js +2098 -0
- package/dist/Dialog.js +74 -74
- package/dist/Drawer.js +67 -37
- package/dist/HoverCard-CYDsIiVK.js +201 -0
- package/dist/HoverCard.d.ts +1 -1
- package/dist/HoverCard.js +2 -218
- package/dist/Icons/AnalyzeIcon.js +50 -57
- package/dist/Icons/AnnotationsIcon.js +20 -15
- package/dist/Icons/ApprovedIcon.js +26 -18
- package/dist/Icons/ArrowDownIcon.js +20 -6
- package/dist/Icons/ArrowUpIcon.js +20 -6
- package/dist/Icons/BoxToolIcon.js +17 -12
- package/dist/Icons/CalendarIcon.js +43 -20
- package/dist/Icons/CheckCircleIcon.js +26 -10
- package/dist/Icons/CheckSquareIcon.js +26 -10
- package/dist/Icons/CheckmarkIcon.js +22 -9
- package/dist/Icons/ChevronDownIcon.js +22 -9
- package/dist/Icons/ChevronUpIcon.js +22 -9
- package/dist/Icons/ClockIcon.js +26 -18
- package/dist/Icons/CloseCircleIcon.js +26 -10
- package/dist/Icons/CloseIcon.js +18 -9
- package/dist/Icons/DashboardIcon.js +36 -10
- package/dist/Icons/DatabaseIcon.js +36 -19
- package/dist/Icons/DeleteIcon.js +36 -19
- package/dist/Icons/DurationIcon.js +57 -22
- package/dist/Icons/EditIcon.js +26 -27
- package/dist/Icons/EmailIcon.js +26 -10
- package/dist/Icons/EraserIcon.js +41 -25
- package/dist/Icons/ErrorIcon.js +27 -11
- package/dist/Icons/EyeClosedIcon.js +29 -13
- package/dist/Icons/EyeClosedIcon2.js +27 -11
- package/dist/Icons/EyeOpenIcon.js +22 -9
- package/dist/Icons/FileDownloadIcon.js +43 -20
- package/dist/Icons/GoToFirstIcon.js +26 -9
- package/dist/Icons/GoToLastIcon.js +26 -9
- package/dist/Icons/HarmonicCursorsIcon.js +23 -9
- package/dist/Icons/IconBase.d.ts +3 -3
- package/dist/Icons/IconBase.js +49 -66
- package/dist/Icons/InfoIcon.js +36 -10
- package/dist/Icons/KeyboardIcon.js +26 -27
- package/dist/Icons/LabelIcon.js +19 -14
- package/dist/Icons/LassoIcon.js +36 -28
- package/dist/Icons/LineToolIcon.js +48 -39
- package/dist/Icons/LiveViewIcon.js +50 -12
- package/dist/Icons/LoaderIcon.js +67 -27
- package/dist/Icons/LocationIcon.js +26 -27
- package/dist/Icons/LogoutIcon.js +20 -15
- package/dist/Icons/MeasureIcon.js +78 -25
- package/dist/Icons/MessagesIcon.js +33 -18
- package/dist/Icons/MetadataIcon.js +20 -15
- package/dist/Icons/MinusIcon.d.ts +1 -1
- package/dist/Icons/MinusIcon.js +18 -6
- package/dist/Icons/OntologyIcon.js +87 -71
- package/dist/Icons/PanelIconClose.js +28 -10
- package/dist/Icons/PanelIconOpen.js +28 -10
- package/dist/Icons/PlayIcon.js +20 -6
- package/dist/Icons/PlusIcon.js +20 -14
- package/dist/Icons/PolygonIcon.js +50 -39
- package/dist/Icons/ProgressCheckIcon.d.ts +5 -0
- package/dist/Icons/ProgressCheckIcon.js +58 -0
- package/dist/Icons/ResetIcon.js +17 -12
- package/dist/Icons/ReviewedIcon.js +36 -19
- package/dist/Icons/ScissorsIcon.js +22 -17
- package/dist/Icons/SearchIcon.js +26 -9
- package/dist/Icons/SettingsIcon.js +26 -27
- package/dist/Icons/SortAscendingIcon.js +50 -12
- package/dist/Icons/SortAtoZIcon.js +50 -12
- package/dist/Icons/SortDescendingIcon.js +50 -12
- package/dist/Icons/SortZtoAIcon.js +50 -12
- package/dist/Icons/StackIcon.js +26 -9
- package/dist/Icons/StarIcon.js +20 -6
- package/dist/Icons/TrashIcon.js +17 -12
- package/dist/Icons/UndoIcon.js +20 -15
- package/dist/Icons/User2Icon.js +26 -10
- package/dist/Icons/UserIcon.js +19 -14
- package/dist/Icons/WarningIcon.js +19 -14
- package/dist/Icons/ZoomAllIcon.js +71 -15
- package/dist/Icons/ZoomXIcon.js +36 -10
- package/dist/Icons/ZoomYIcon.js +36 -10
- package/dist/Icons/index.d.ts +1 -0
- package/dist/Icons.js +68 -136
- package/dist/IconsAnimated/PanelLeftCloseIcon.js +66 -36
- package/dist/IconsAnimated/PanelLeftOpenIcon.js +66 -36
- package/dist/IconsAnimated.js +3 -6
- package/dist/Input/InputUtils.js +51 -52
- package/dist/Input.js +132 -185
- package/dist/InputOTP-XUWW9xcI.js +461 -0
- package/dist/InputOTP.js +2 -382
- package/dist/Kbd.d.ts +1 -1
- package/dist/Kbd.js +182 -86
- package/dist/Label.js +12 -14
- package/dist/MultiSelect/MultiSelectBase.js +331 -403
- package/dist/MultiSelect.d.ts +1 -1
- package/dist/MultiSelect.js +23 -23
- package/dist/Popover.js +28 -32
- package/dist/RadioButton.d.ts +17 -0
- package/dist/RadioButton.js +33 -0
- package/dist/RadioButtonGroup/RadioButtonGroupBase.d.ts +3 -1
- package/dist/RadioButtonGroup/RadioButtonGroupBase.js +49 -46
- package/dist/RadioButtonGroup.d.ts +1 -1
- package/dist/RadioButtonGroup.js +11 -8
- package/dist/RadioGroup-w_q6RGEK.js +447 -0
- package/dist/RadioGroup.js +2 -505
- package/dist/Select.js +163 -186
- package/dist/Separator.js +16 -19
- package/dist/Skeleton.js +10 -6
- package/dist/Slider-BzzZT3Zm.js +490 -0
- package/dist/Slider.js +2 -562
- package/dist/SpectralProvider.js +8 -5
- package/dist/Switch/SwitchBase.js +91 -95
- package/dist/Switch-CVzRJ-0n.js +126 -0
- package/dist/Switch.d.ts +1 -1
- package/dist/Switch.js +2 -134
- package/dist/Tabs/TabsBase.js +242 -250
- package/dist/Tabs/tabsUtils.js +65 -73
- package/dist/Tabs.d.ts +1 -1
- package/dist/Tabs.js +73 -103
- package/dist/Textarea/TextareaUtils.js +35 -46
- package/dist/Textarea.js +83 -160
- package/dist/Toast-9zqXxKKO.js +711 -0
- package/dist/Toast.js +2 -885
- package/dist/Toggle/ToggleBase.js +46 -56
- package/dist/Toggle.d.ts +1 -1
- package/dist/Toggle.js +52 -62
- package/dist/ToggleGroup/ToggleGroupBase.js +128 -104
- package/dist/ToggleGroup.d.ts +1 -1
- package/dist/ToggleGroup.js +52 -63
- package/dist/Tooltip-D1K8kY1y.js +389 -0
- package/dist/Tooltip.js +2 -365
- package/dist/Tray.js +174 -217
- package/dist/chunk-h9knIhTc.js +20 -0
- package/dist/clsx-jM1GlMvB.js +16 -0
- package/dist/dist-3Af8168y.js +913 -0
- package/dist/dist-7HRQ5IKN.js +249 -0
- package/dist/dist-B2k1iWFp.js +129 -0
- package/dist/dist-B4FgboI8.js +122 -0
- package/dist/dist-B4g6zpUF.js +33 -0
- package/dist/dist-B9tup-4O.js +216 -0
- package/dist/dist-BK1K0g9W.js +29 -0
- package/dist/dist-Bfjk-jx9.js +28 -0
- package/dist/dist-Bft31cJh.js +65 -0
- package/dist/dist-BtdmHAzK.js +190 -0
- package/dist/dist-C0Hifjgh.js +1287 -0
- package/dist/dist-CGzgmYB9.js +68 -0
- package/dist/dist-ClmepHp4.js +10 -0
- package/dist/dist-D8Wb_MX9.js +6 -0
- package/dist/dist-Dtvmk11N.js +12 -0
- package/dist/dist-fW81qjVl.js +677 -0
- package/dist/dist-s1uWaZYZ.js +11 -0
- package/dist/es2015-YHaMV-St.js +701 -0
- package/dist/hooks/useAccordionAutoScroll.js +66 -67
- package/dist/hooks/useControllableState.js +14 -13
- package/dist/hooks/useTheme.js +21 -17
- package/dist/index.d.ts +2 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/main.js +18954 -27224
- package/dist/primitives/button.js +39 -41
- package/dist/primitives/input-group.js +57 -73
- package/dist/primitives/input.js +11 -20
- package/dist/primitives/popover.js +34 -28
- package/dist/primitives/select.js +70 -138
- package/dist/primitives/slot.js +32 -31
- package/dist/primitives/textarea.js +10 -16
- package/dist/proxy-Dn10Pl_g.js +4920 -0
- package/dist/styles/main.css +2 -1
- package/dist/styles/spectral.css +1 -1
- package/dist/twUtils-VNWgstKL.js +1673 -0
- package/dist/use-animation-CBUDycyW.js +57 -0
- package/dist/utils/constants.js +4 -4
- package/dist/utils/formFieldUtils.js +136 -148
- package/dist/utils/sharedUtils.js +26 -7
- package/dist/utils/twUtils.js +2 -2919
- package/package.json +24 -28
- package/dist/ComboboxBase-CxNxYtdT.js +0 -408
- package/dist/clsx-OuTLNxxd.js +0 -16
- package/dist/index-0ioNhtNM.js +0 -10
- package/dist/index-6oYKCvIn.js +0 -677
- package/dist/index-BFOf48AQ.js +0 -69
- package/dist/index-BZPx6jYI.js +0 -8
- package/dist/index-BlHU_t18.js +0 -142
- package/dist/index-Bm1RbF6w.js +0 -1037
- package/dist/index-Bv2OIg5P.js +0 -225
- package/dist/index-CKEI0pDv.js +0 -56
- package/dist/index-CM_hWgfC.js +0 -32
- package/dist/index-C_YVr64u.js +0 -1538
- package/dist/index-Cl8VeY0o.js +0 -149
- package/dist/index-CwSyIPrv.js +0 -13
- package/dist/index-D29mdTf5.js +0 -34
- package/dist/index-DEYs15GP.js +0 -66
- package/dist/index-Dc0No4pV.js +0 -233
- package/dist/index-T6XEa11q.js +0 -822
- package/dist/index-pBCLb6Gr.js +0 -240
- package/dist/index-psiVrsnE.js +0 -27
- package/dist/index-rKs9bXHr.js +0 -6
- package/dist/proxy-CO_-Vget.js +0 -4975
- package/dist/use-animation-DhEPRwZ3.js +0 -62
package/dist/Icons/EraserIcon.js
CHANGED
|
@@ -1,27 +1,43 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import "../styles/main.css";
|
|
3
|
-
import {
|
|
4
|
-
import
|
|
5
|
-
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
},
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
3
|
+
import { IconBase as e, SvgIdContext as t } from "./IconBase.js";
|
|
4
|
+
import { useContext as n } from "react";
|
|
5
|
+
import { jsx as r, jsxs as i } from "react/jsx-runtime";
|
|
6
|
+
var a = Object.assign(({ ref: a, className: o, ariaHidden: s, title: c, description: l, size: u = 24, ...d }) => {
|
|
7
|
+
let f = n(t);
|
|
8
|
+
return /* @__PURE__ */ i(e, {
|
|
9
|
+
size: u,
|
|
10
|
+
className: o,
|
|
11
|
+
title: c,
|
|
12
|
+
description: l,
|
|
13
|
+
ariaHidden: s,
|
|
14
|
+
ref: a,
|
|
15
|
+
...d,
|
|
16
|
+
children: [/* @__PURE__ */ i("g", {
|
|
17
|
+
clipPath: `url(#${f}-clip0_2279_97)`,
|
|
18
|
+
children: [/* @__PURE__ */ r("path", {
|
|
19
|
+
d: "M20.1819 20.6363H7.72525L3.22034 15.9945C3.02104 15.7922 2.90918 15.5186 2.90918 15.2335C2.90918 14.9483 3.02104 14.6747 3.22034 14.4724L13.9208 3.67749C14.1213 3.47644 14.3925 3.36359 14.6752 3.36359C14.9579 3.36359 15.2291 3.47644 15.4296 3.67749L20.7798 9.07495C20.9791 9.27721 21.091 9.55081 21.091 9.836C21.091 10.1212 20.9791 10.3948 20.7798 10.597L10.9354 20.6363",
|
|
20
|
+
stroke: "currentColor",
|
|
21
|
+
strokeWidth: "2",
|
|
22
|
+
strokeLinecap: "round",
|
|
23
|
+
strokeLinejoin: "round"
|
|
24
|
+
}), /* @__PURE__ */ r("path", {
|
|
25
|
+
d: "M17.4545 13.3636L11.0908 6.99994",
|
|
26
|
+
stroke: "currentColor",
|
|
27
|
+
strokeWidth: "2",
|
|
28
|
+
strokeLinecap: "round",
|
|
29
|
+
strokeLinejoin: "round"
|
|
30
|
+
})]
|
|
31
|
+
}), /* @__PURE__ */ r("defs", { children: /* @__PURE__ */ r("clipPath", {
|
|
32
|
+
id: `${f}-clip0_2279_97`,
|
|
33
|
+
children: /* @__PURE__ */ r("rect", {
|
|
34
|
+
width: "22",
|
|
35
|
+
height: "20",
|
|
36
|
+
fill: "white",
|
|
37
|
+
transform: "translate(1 2)"
|
|
38
|
+
})
|
|
39
|
+
}) })]
|
|
40
|
+
});
|
|
41
|
+
}, { displayName: "EraserIcon" });
|
|
42
|
+
//#endregion
|
|
43
|
+
export { a as EraserIcon };
|
package/dist/Icons/ErrorIcon.js
CHANGED
|
@@ -1,12 +1,28 @@
|
|
|
1
1
|
import "../styles/main.css";
|
|
2
|
-
import {
|
|
3
|
-
import
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
2
|
+
import { IconBase as e } from "./IconBase.js";
|
|
3
|
+
import { jsx as t, jsxs as n } from "react/jsx-runtime";
|
|
4
|
+
var r = Object.assign(({ ref: r, className: i, ariaHidden: a, title: o, description: s, size: c = 24, ...l }) => /* @__PURE__ */ n(e, {
|
|
5
|
+
size: c,
|
|
6
|
+
className: i,
|
|
7
|
+
title: o,
|
|
8
|
+
description: s,
|
|
9
|
+
ariaHidden: a,
|
|
10
|
+
ref: r,
|
|
11
|
+
stroke: "currentColor",
|
|
12
|
+
strokeWidth: 2,
|
|
13
|
+
strokeLinecap: "round",
|
|
14
|
+
strokeLinejoin: "round",
|
|
15
|
+
...l,
|
|
16
|
+
children: [
|
|
17
|
+
/* @__PURE__ */ t("path", {
|
|
18
|
+
stroke: "none",
|
|
19
|
+
d: "M0 0h24v24H0z",
|
|
20
|
+
fill: "none"
|
|
21
|
+
}),
|
|
22
|
+
/* @__PURE__ */ t("path", { d: "M12 12m-9 0a9 9 0 1 0 18 0a9 9 0 1 0 -18 0" }),
|
|
23
|
+
/* @__PURE__ */ t("path", { d: "M12 9v4" }),
|
|
24
|
+
/* @__PURE__ */ t("path", { d: "M12 16v.01" })
|
|
25
|
+
]
|
|
26
|
+
}), { displayName: "ErrorIcon" });
|
|
27
|
+
//#endregion
|
|
28
|
+
export { r as ErrorIcon };
|
|
@@ -1,14 +1,30 @@
|
|
|
1
1
|
import "../styles/main.css";
|
|
2
|
-
import {
|
|
3
|
-
import
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
2
|
+
import { IconBase as e } from "./IconBase.js";
|
|
3
|
+
import { jsx as t, jsxs as n } from "react/jsx-runtime";
|
|
4
|
+
var r = Object.assign(({ ref: r, className: i, ariaHidden: a, title: o, description: s, size: c = 24, ...l }) => /* @__PURE__ */ n(e, {
|
|
5
|
+
size: c,
|
|
6
|
+
className: i,
|
|
7
|
+
title: o,
|
|
8
|
+
description: s,
|
|
9
|
+
ariaHidden: a,
|
|
10
|
+
ref: r,
|
|
11
|
+
stroke: "currentColor",
|
|
12
|
+
strokeWidth: 2,
|
|
13
|
+
strokeLinecap: "round",
|
|
14
|
+
strokeLinejoin: "round",
|
|
15
|
+
...l,
|
|
16
|
+
children: [
|
|
17
|
+
/* @__PURE__ */ t("path", {
|
|
18
|
+
stroke: "none",
|
|
19
|
+
d: "M0 0h24v24H0z",
|
|
20
|
+
fill: "none"
|
|
21
|
+
}),
|
|
22
|
+
/* @__PURE__ */ t("path", { d: "M21 9c-2.4 2.667 -5.4 4 -9 4c-3.6 0 -6.6 -1.333 -9 -4" }),
|
|
23
|
+
/* @__PURE__ */ t("path", { d: "M3 15l2.5 -3.8" }),
|
|
24
|
+
/* @__PURE__ */ t("path", { d: "M21 14.976l-2.492 -3.776" }),
|
|
25
|
+
/* @__PURE__ */ t("path", { d: "M9 17l.5 -4" }),
|
|
26
|
+
/* @__PURE__ */ t("path", { d: "M15 17l-.5 -4" })
|
|
27
|
+
]
|
|
28
|
+
}), { displayName: "EyeClosedIcon" });
|
|
29
|
+
//#endregion
|
|
30
|
+
export { r as EyeClosedIcon };
|
|
@@ -1,12 +1,28 @@
|
|
|
1
1
|
import "../styles/main.css";
|
|
2
|
-
import {
|
|
3
|
-
import
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
2
|
+
import { IconBase as e } from "./IconBase.js";
|
|
3
|
+
import { jsx as t, jsxs as n } from "react/jsx-runtime";
|
|
4
|
+
var r = Object.assign(({ ref: r, className: i, ariaHidden: a, title: o, description: s, size: c = 24, ...l }) => /* @__PURE__ */ n(e, {
|
|
5
|
+
size: c,
|
|
6
|
+
className: i,
|
|
7
|
+
title: o,
|
|
8
|
+
description: s,
|
|
9
|
+
ariaHidden: a,
|
|
10
|
+
ref: r,
|
|
11
|
+
stroke: "currentColor",
|
|
12
|
+
strokeWidth: 2,
|
|
13
|
+
strokeLinecap: "round",
|
|
14
|
+
strokeLinejoin: "round",
|
|
15
|
+
...l,
|
|
16
|
+
children: [
|
|
17
|
+
/* @__PURE__ */ t("path", {
|
|
18
|
+
stroke: "none",
|
|
19
|
+
d: "M0 0h24v24H0z",
|
|
20
|
+
fill: "none"
|
|
21
|
+
}),
|
|
22
|
+
/* @__PURE__ */ t("path", { d: "M10.585 10.587a2 2 0 0 0 2.829 2.828" }),
|
|
23
|
+
/* @__PURE__ */ t("path", { d: "M16.681 16.673a8.717 8.717 0 0 1 -4.681 1.327c-3.6 0 -6.6 -2 -9 -6c1.272 -2.12 2.712 -3.678 4.32 -4.674m2.86 -1.146a9.055 9.055 0 0 1 1.82 -.18c3.6 0 6.6 2 9 6c-.666 1.11 -1.379 2.067 -2.138 2.87" }),
|
|
24
|
+
/* @__PURE__ */ t("path", { d: "M3 3l18 18" })
|
|
25
|
+
]
|
|
26
|
+
}), { displayName: "EyeClosedIcon2" });
|
|
27
|
+
//#endregion
|
|
28
|
+
export { r as EyeClosedIcon2 };
|
|
@@ -1,10 +1,23 @@
|
|
|
1
1
|
import "../styles/main.css";
|
|
2
|
-
import {
|
|
3
|
-
import
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
2
|
+
import { IconBase as e } from "./IconBase.js";
|
|
3
|
+
import { jsx as t, jsxs as n } from "react/jsx-runtime";
|
|
4
|
+
var r = Object.assign(({ ref: r, className: i, ariaHidden: a, title: o, description: s, size: c = 24, ...l }) => /* @__PURE__ */ n(e, {
|
|
5
|
+
size: c,
|
|
6
|
+
className: i,
|
|
7
|
+
title: o,
|
|
8
|
+
description: s,
|
|
9
|
+
ariaHidden: a,
|
|
10
|
+
ref: r,
|
|
11
|
+
stroke: "currentColor",
|
|
12
|
+
strokeWidth: 2,
|
|
13
|
+
strokeLinecap: "round",
|
|
14
|
+
strokeLinejoin: "round",
|
|
15
|
+
...l,
|
|
16
|
+
children: [/* @__PURE__ */ t("path", { d: "M2.062 12.348a1 1 0 0 1 0-.696 10.75 10.75 0 0 1 19.876 0 1 1 0 0 1 0 .696 10.75 10.75 0 0 1-19.876 0" }), /* @__PURE__ */ t("circle", {
|
|
17
|
+
cx: "12",
|
|
18
|
+
cy: "12",
|
|
19
|
+
r: "3"
|
|
20
|
+
})]
|
|
21
|
+
}), { displayName: "EyeOpenIcon" });
|
|
22
|
+
//#endregion
|
|
23
|
+
export { r as EyeOpenIcon };
|
|
@@ -1,21 +1,44 @@
|
|
|
1
1
|
import "../styles/main.css";
|
|
2
|
-
import {
|
|
3
|
-
import
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
2
|
+
import { IconBase as e } from "./IconBase.js";
|
|
3
|
+
import { jsx as t, jsxs as n } from "react/jsx-runtime";
|
|
4
|
+
var r = Object.assign(({ ref: r, className: i, ariaHidden: a, title: o, description: s, size: c = 24, ...l }) => /* @__PURE__ */ n(e, {
|
|
5
|
+
size: c,
|
|
6
|
+
className: i,
|
|
7
|
+
title: o,
|
|
8
|
+
description: s,
|
|
9
|
+
ariaHidden: a,
|
|
10
|
+
ref: r,
|
|
11
|
+
...l,
|
|
12
|
+
children: [
|
|
13
|
+
/* @__PURE__ */ t("path", {
|
|
14
|
+
d: "M14.125 2.55V6.75C14.125 7.02848 14.2369 7.29555 14.4362 7.49246C14.6355 7.68937 14.9057 7.8 15.1875 7.8H19.4375",
|
|
15
|
+
stroke: "currentColor",
|
|
16
|
+
strokeWidth: "2",
|
|
17
|
+
strokeLinecap: "round",
|
|
18
|
+
strokeLinejoin: "round"
|
|
19
|
+
}),
|
|
20
|
+
/* @__PURE__ */ t("path", {
|
|
21
|
+
d: "M17.3125 21.45H6.6875C6.12391 21.45 5.58341 21.2287 5.1849 20.8349C4.78638 20.4411 4.5625 19.907 4.5625 19.35V4.65C4.5625 4.09304 4.78638 3.5589 5.1849 3.16507C5.58341 2.77125 6.12391 2.55 6.6875 2.55H14.125L19.4375 7.8V19.35C19.4375 19.907 19.2136 20.4411 18.8151 20.8349C18.4166 21.2287 17.8761 21.45 17.3125 21.45Z",
|
|
22
|
+
stroke: "currentColor",
|
|
23
|
+
strokeWidth: "2",
|
|
24
|
+
strokeLinecap: "round",
|
|
25
|
+
strokeLinejoin: "round"
|
|
26
|
+
}),
|
|
27
|
+
/* @__PURE__ */ t("path", {
|
|
28
|
+
d: "M12 17.25V10.95",
|
|
29
|
+
stroke: "currentColor",
|
|
30
|
+
strokeWidth: "2",
|
|
31
|
+
strokeLinecap: "round",
|
|
32
|
+
strokeLinejoin: "round"
|
|
33
|
+
}),
|
|
34
|
+
/* @__PURE__ */ t("path", {
|
|
35
|
+
d: "M9.34375 14.625L12 17.25L14.6562 14.625",
|
|
36
|
+
stroke: "currentColor",
|
|
37
|
+
strokeWidth: "2",
|
|
38
|
+
strokeLinecap: "round",
|
|
39
|
+
strokeLinejoin: "round"
|
|
40
|
+
})
|
|
41
|
+
]
|
|
42
|
+
}), { displayName: "FileDownloadIcon" });
|
|
43
|
+
//#endregion
|
|
44
|
+
export { r as FileDownloadIcon };
|
|
@@ -1,10 +1,27 @@
|
|
|
1
1
|
import "../styles/main.css";
|
|
2
|
-
import {
|
|
3
|
-
import
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
2
|
+
import { IconBase as e } from "./IconBase.js";
|
|
3
|
+
import { jsx as t, jsxs as n } from "react/jsx-runtime";
|
|
4
|
+
var r = Object.assign(({ ref: r, className: i, ariaHidden: a, title: o, description: s, size: c = 24, ...l }) => /* @__PURE__ */ n(e, {
|
|
5
|
+
size: c,
|
|
6
|
+
className: i,
|
|
7
|
+
title: o,
|
|
8
|
+
description: s,
|
|
9
|
+
ariaHidden: a,
|
|
10
|
+
ref: r,
|
|
11
|
+
...l,
|
|
12
|
+
children: [/* @__PURE__ */ t("path", {
|
|
13
|
+
d: "M18.1765 19.6501L10.7647 12.0001L18.1765 4.3501",
|
|
14
|
+
stroke: "currentColor",
|
|
15
|
+
strokeWidth: "2",
|
|
16
|
+
strokeLinecap: "round",
|
|
17
|
+
strokeLinejoin: "round"
|
|
18
|
+
}), /* @__PURE__ */ t("path", {
|
|
19
|
+
d: "M5.82353 4.3501V19.6501",
|
|
20
|
+
stroke: "currentColor",
|
|
21
|
+
strokeWidth: "2",
|
|
22
|
+
strokeLinecap: "round",
|
|
23
|
+
strokeLinejoin: "round"
|
|
24
|
+
})]
|
|
25
|
+
}), { displayName: "GoToFirstIcon" });
|
|
26
|
+
//#endregion
|
|
27
|
+
export { r as GoToFirstIcon };
|
|
@@ -1,10 +1,27 @@
|
|
|
1
1
|
import "../styles/main.css";
|
|
2
|
-
import {
|
|
3
|
-
import
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
2
|
+
import { IconBase as e } from "./IconBase.js";
|
|
3
|
+
import { jsx as t, jsxs as n } from "react/jsx-runtime";
|
|
4
|
+
var r = Object.assign(({ ref: r, className: i, ariaHidden: a, title: o, description: s, size: c = 24, ...l }) => /* @__PURE__ */ n(e, {
|
|
5
|
+
size: c,
|
|
6
|
+
className: i,
|
|
7
|
+
title: o,
|
|
8
|
+
description: s,
|
|
9
|
+
ariaHidden: a,
|
|
10
|
+
ref: r,
|
|
11
|
+
...l,
|
|
12
|
+
children: [/* @__PURE__ */ t("path", {
|
|
13
|
+
d: "M5.75 19.2858L13.25 12.0001L5.75 4.71436",
|
|
14
|
+
stroke: "currentColor",
|
|
15
|
+
strokeWidth: "2",
|
|
16
|
+
strokeLinecap: "round",
|
|
17
|
+
strokeLinejoin: "round"
|
|
18
|
+
}), /* @__PURE__ */ t("path", {
|
|
19
|
+
d: "M18.25 4.71436V19.2858",
|
|
20
|
+
stroke: "currentColor",
|
|
21
|
+
strokeWidth: "2",
|
|
22
|
+
strokeLinecap: "round",
|
|
23
|
+
strokeLinejoin: "round"
|
|
24
|
+
})]
|
|
25
|
+
}), { displayName: "GoToLastIcon" });
|
|
26
|
+
//#endregion
|
|
27
|
+
export { r as GoToLastIcon };
|
|
@@ -1,10 +1,24 @@
|
|
|
1
1
|
import "../styles/main.css";
|
|
2
|
-
import {
|
|
3
|
-
import
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
2
|
+
import { IconBase as e } from "./IconBase.js";
|
|
3
|
+
import { jsx as t, jsxs as n } from "react/jsx-runtime";
|
|
4
|
+
var r = Object.assign(({ ref: r, className: i, ariaHidden: a, title: o, description: s, size: c = 24, ...l }) => /* @__PURE__ */ n(e, {
|
|
5
|
+
size: c,
|
|
6
|
+
className: i,
|
|
7
|
+
title: o,
|
|
8
|
+
description: s,
|
|
9
|
+
ariaHidden: a,
|
|
10
|
+
ref: r,
|
|
11
|
+
...l,
|
|
12
|
+
children: [/* @__PURE__ */ t("path", {
|
|
13
|
+
d: "M2.45453 13.4347C2.45453 13.4347 11.2804 -1.47771 21.5454 13.2072",
|
|
14
|
+
stroke: "currentColor",
|
|
15
|
+
strokeWidth: "1.85"
|
|
16
|
+
}), /* @__PURE__ */ t("path", {
|
|
17
|
+
d: "M21.5454 12.9565C12.5912 43.9337 11.4062 -17.8068 2.45453 13.4348C7.71677 -11.6145 6.88298 16.2733 10.0909 16.3044C14.0847 16.3431 16.4288 -11.9102 21.5454 12.9565Z",
|
|
18
|
+
stroke: "currentColor",
|
|
19
|
+
strokeWidth: "1.85",
|
|
20
|
+
strokeLinejoin: "round"
|
|
21
|
+
})]
|
|
22
|
+
}), { displayName: "HarmonicCursorsIcon" });
|
|
23
|
+
//#endregion
|
|
24
|
+
export { r as HarmonicCursorsIcon };
|
package/dist/Icons/IconBase.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { IconProps } from './iconTypes';
|
|
2
1
|
import { ComponentPropsWithoutRef, ReactNode, Ref } from 'react';
|
|
2
|
+
import { IconProps } from './iconTypes';
|
|
3
3
|
export declare const SvgIdContext: import('react').Context<string>;
|
|
4
4
|
interface IconBaseProps extends Omit<IconProps, 'strokeWidth'>, ComponentPropsWithoutRef<'svg'> {
|
|
5
5
|
children: ReactNode;
|
|
@@ -9,8 +9,8 @@ interface IconBaseProps extends Omit<IconProps, 'strokeWidth'>, ComponentPropsWi
|
|
|
9
9
|
title?: string;
|
|
10
10
|
color?: string;
|
|
11
11
|
}
|
|
12
|
-
declare const IconBase: ({ ref, children, title, size, ariaHidden, description, className, disabled, onClick, onKeyDown, role, tabIndex, "aria-label": ariaLabel, "aria-labelledby": ariaLabelledBy, ...rest }: IconBaseProps & {
|
|
12
|
+
declare const IconBase: ({ ref, children, title, size, ariaHidden, description, className, disabled, onClick, onKeyDown, role, tabIndex, viewBox, "aria-label": ariaLabel, "aria-labelledby": ariaLabelledBy, ...rest }: IconBaseProps & {
|
|
13
13
|
ref?: Ref<SVGSVGElement>;
|
|
14
14
|
}) => import("react/jsx-runtime").JSX.Element;
|
|
15
|
-
export
|
|
15
|
+
export { IconBase };
|
|
16
16
|
//# sourceMappingURL=IconBase.d.ts.map
|
package/dist/Icons/IconBase.js
CHANGED
|
@@ -1,69 +1,52 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import "../styles/main.css";
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
onKeyDown: o || l ? j : void 0,
|
|
51
|
-
ref: x,
|
|
52
|
-
role: A,
|
|
53
|
-
tabIndex: C,
|
|
54
|
-
viewBox: "0 0 24 24",
|
|
55
|
-
width: b,
|
|
56
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
57
|
-
children: [
|
|
58
|
-
!a && c && /* @__PURE__ */ u("title", { id: m, children: c }),
|
|
59
|
-
!a && s && /* @__PURE__ */ u("desc", { id: I, children: s }),
|
|
60
|
-
/* @__PURE__ */ u(P.Provider, { value: r, children: g })
|
|
61
|
-
]
|
|
62
|
-
}
|
|
63
|
-
)
|
|
64
|
-
);
|
|
65
|
-
};
|
|
66
|
-
export {
|
|
67
|
-
P as SvgIdContext,
|
|
68
|
-
S as default
|
|
3
|
+
import { createContext as e, useCallback as t, useId as n } from "react";
|
|
4
|
+
import { jsx as r, jsxs as i } from "react/jsx-runtime";
|
|
5
|
+
//#region src/components/Icons/IconBase.tsx
|
|
6
|
+
var a = e(""), o = function({ ref: e, children: o, title: s, size: c = 24, ariaHidden: l = !0, description: u, className: d, disabled: f, onClick: p, onKeyDown: m, role: h, tabIndex: g, viewBox: _ = "0 0 24 24", "aria-label": v, "aria-labelledby": y, ...b }) {
|
|
7
|
+
let x = n(), S = p !== void 0, C = S && !f, w = s !== void 0 || !!v || !!y;
|
|
8
|
+
process.env.NODE_ENV !== "production" && S && !w && console.warn("IconBase: an onClick handler was provided without an accessible name (title, aria-label, or aria-labelledby). Interactive icons must have an accessible name. The icon will be hidden from the accessibility tree.");
|
|
9
|
+
let T = S && !w, E = (w || S) && !T ? !1 : l, D = h ?? (S && !T ? "button" : "img"), O = g ?? (C && !T ? 0 : void 0), k = t((e) => {
|
|
10
|
+
m?.(e), !e.defaultPrevented && C && (e.key === "Enter" || e.key === " ") && (e.preventDefault(), e.currentTarget.dispatchEvent(new MouseEvent("click", {
|
|
11
|
+
bubbles: !0,
|
|
12
|
+
cancelable: !0
|
|
13
|
+
})));
|
|
14
|
+
}, [C, m]), A = t((e) => {
|
|
15
|
+
f || p?.(e);
|
|
16
|
+
}, [f, p]), j = !E && s ? `${x}_title` : "", M = !E && u ? `${x}_desc` : "", N = [j, M].filter(Boolean).join(" ") || void 0;
|
|
17
|
+
return /* @__PURE__ */ i("svg", {
|
|
18
|
+
...b,
|
|
19
|
+
"aria-disabled": f && S ? !0 : void 0,
|
|
20
|
+
"aria-hidden": E,
|
|
21
|
+
"aria-label": v,
|
|
22
|
+
"aria-labelledby": y ?? N,
|
|
23
|
+
className: d,
|
|
24
|
+
"data-disabled": f,
|
|
25
|
+
fill: "none",
|
|
26
|
+
height: c,
|
|
27
|
+
onClick: p ? A : void 0,
|
|
28
|
+
onKeyDown: C || m ? k : void 0,
|
|
29
|
+
ref: e,
|
|
30
|
+
role: D,
|
|
31
|
+
tabIndex: O,
|
|
32
|
+
viewBox: _,
|
|
33
|
+
width: c,
|
|
34
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
35
|
+
children: [
|
|
36
|
+
!E && s && /* @__PURE__ */ r("title", {
|
|
37
|
+
id: j,
|
|
38
|
+
children: s
|
|
39
|
+
}),
|
|
40
|
+
!E && u && /* @__PURE__ */ r("desc", {
|
|
41
|
+
id: M,
|
|
42
|
+
children: u
|
|
43
|
+
}),
|
|
44
|
+
/* @__PURE__ */ r(a.Provider, {
|
|
45
|
+
value: x,
|
|
46
|
+
children: o
|
|
47
|
+
})
|
|
48
|
+
]
|
|
49
|
+
});
|
|
69
50
|
};
|
|
51
|
+
//#endregion
|
|
52
|
+
export { o as IconBase, a as SvgIdContext };
|
package/dist/Icons/InfoIcon.js
CHANGED
|
@@ -1,11 +1,37 @@
|
|
|
1
1
|
import "../styles/main.css";
|
|
2
|
-
import {
|
|
3
|
-
import
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
2
|
+
import { IconBase as e } from "./IconBase.js";
|
|
3
|
+
import { jsx as t, jsxs as n } from "react/jsx-runtime";
|
|
4
|
+
var r = Object.assign(({ ref: r, className: i, ariaHidden: a, title: o, description: s, size: c = 24, ...l }) => /* @__PURE__ */ n(e, {
|
|
5
|
+
size: c,
|
|
6
|
+
className: i,
|
|
7
|
+
title: o,
|
|
8
|
+
description: s,
|
|
9
|
+
ariaHidden: a,
|
|
10
|
+
ref: r,
|
|
11
|
+
...l,
|
|
12
|
+
children: [
|
|
13
|
+
/* @__PURE__ */ t("path", {
|
|
14
|
+
d: "M12 21C16.9706 21 21 16.9706 21 12C21 7.02944 16.9706 3 12 3C7.02944 3 3 7.02944 3 12C3 16.9706 7.02944 21 12 21Z",
|
|
15
|
+
stroke: "currentColor",
|
|
16
|
+
strokeWidth: "2",
|
|
17
|
+
strokeLinecap: "round",
|
|
18
|
+
strokeLinejoin: "round"
|
|
19
|
+
}),
|
|
20
|
+
/* @__PURE__ */ t("path", {
|
|
21
|
+
d: "M12 16.5V11.1",
|
|
22
|
+
stroke: "currentColor",
|
|
23
|
+
strokeWidth: "2",
|
|
24
|
+
strokeLinecap: "round",
|
|
25
|
+
strokeLinejoin: "round"
|
|
26
|
+
}),
|
|
27
|
+
/* @__PURE__ */ t("path", {
|
|
28
|
+
d: "M12 7.5H12.01",
|
|
29
|
+
stroke: "currentColor",
|
|
30
|
+
strokeWidth: "2",
|
|
31
|
+
strokeLinecap: "round",
|
|
32
|
+
strokeLinejoin: "round"
|
|
33
|
+
})
|
|
34
|
+
]
|
|
35
|
+
}), { displayName: "InfoIcon" });
|
|
36
|
+
//#endregion
|
|
37
|
+
export { r as InfoIcon };
|