@code0-tech/pictor 0.14.0 → 0.15.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/LICENSE +19 -0
- package/dist/assets/components/avatar/Avatar.style.css +1 -1
- package/dist/assets/components/form/DateInput.style.css +1 -0
- package/dist/components/command/Command.js +29 -21
- package/dist/components/form/DateInput.d.ts +37 -0
- package/dist/components/form/DateInput.js +285 -0
- package/dist/components/form/index.d.ts +1 -0
- package/dist/components/form/index.js +71 -63
- package/dist/index.js +166 -158
- package/package.json +23 -21
package/LICENSE
CHANGED
|
@@ -1,7 +1,26 @@
|
|
|
1
1
|
Copyright 2023-2026 Code0 UG (haftungsbeschränkt)
|
|
2
2
|
|
|
3
|
+
This license applies to all files in this repository EXCEPT the contents of the
|
|
4
|
+
directories (and any derived build artifacts) covered by the "Excluded Assets" section
|
|
5
|
+
at the bottom of this file.
|
|
6
|
+
|
|
3
7
|
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the “Software”), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
|
|
4
8
|
|
|
5
9
|
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
|
|
6
10
|
|
|
7
11
|
THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
12
|
+
|
|
13
|
+
---
|
|
14
|
+
|
|
15
|
+
Excluded Assets
|
|
16
|
+
|
|
17
|
+
The contents of the directory "src/components/icon/codezero" (and any build
|
|
18
|
+
artifacts derived from it, such as the corresponding files in the published
|
|
19
|
+
package) are NOT covered by the MIT license above. These files include brand
|
|
20
|
+
logos and trademarks that are the property of their respective owners and are
|
|
21
|
+
used by Code0 UG (haftungsbeschränkt) under permission.
|
|
22
|
+
|
|
23
|
+
No license or right to use, copy, modify, distribute, sublicense, or otherwise
|
|
24
|
+
exploit these excluded assets is granted to any third party. All rights are
|
|
25
|
+
reserved by their respective owners. Any use of these assets requires the prior
|
|
26
|
+
written permission of the respective rights holder.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
.avatar{aspect-ratio:1/1;display:flex;align-items:center;justify-content:center;overflow:hidden}.avatar{background:#191825;box-shadow:inset 0 1px 1px #bfbfbf1a;border:none;color:#ffffffbf;position:relative;box-sizing:border-box;background:transparent;box-shadow:none}.avatar--image{padding:0}.avatar--identicon>div>div{--color: inherit;background:transparent;width:calc(var(--size) * 1px);height:calc(var(--size) * 1px)}.avatar--identicon>div>div>span>svg{width:calc(var(--size) *
|
|
1
|
+
.avatar{aspect-ratio:1/1;display:flex;align-items:center;justify-content:center;overflow:hidden}.avatar{background:#191825;box-shadow:inset 0 1px 1px #bfbfbf1a;border:none;color:#ffffffbf;position:relative;box-sizing:border-box;background:transparent;box-shadow:none}.avatar--image{padding:0}.avatar--identicon>div>div{--color: inherit;background:transparent;width:calc(var(--size) * 1px);height:calc(var(--size) * 1px)}.avatar--identicon>div>div>span>svg{width:calc(var(--size) * .75px);height:calc(var(--size) * .75px)}.avatar--identicon>div>div>span,.avatar--identicon>div>div>p{color:var(--color);font-size:calc(var(--size) * .75px)}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
.date-input__control{flex:1;min-width:0;align-self:stretch;display:flex;align-items:center}.date-input__segment-group{flex:1;min-width:0;display:flex;align-items:center}.date-input__segment{padding:0 1px;border-radius:.65rem;font-variant-numeric:tabular-nums}.date-input__segment:focus{outline:none}.date-input__segment{font-family:Inter,sans-serif;font-weight:400;letter-spacing:-.5px}.date-input__segment[data-placeholder]{opacity:.5}.date-input__segment:focus,.date-input__segment[data-focus]{background:#191825;box-shadow:inset 0 1px 1px #ffffff1a;border:none;color:#ffffffbf;position:relative;box-sizing:border-box}.date-input__trigger{cursor:pointer;display:flex;align-items:center}.date-input__view-control{display:flex;align-items:center;justify-content:space-between;gap:.7rem;padding:.35rem}.date-input__prev-trigger,.date-input__next-trigger,.date-input__view-trigger{cursor:pointer;background:none;border:none;padding:.35rem .7rem;border-radius:.65rem}.date-input__prev-trigger,.date-input__next-trigger,.date-input__view-trigger{background:#070514;box-shadow:inset 0 1px 1px #bfbfbf1a;border:none;color:#ffffffbf;position:relative;box-sizing:border-box}.date-input__prev-trigger:focus,.date-input__next-trigger:focus,.date-input__view-trigger:focus{outline:none}.date-input__prev-trigger,.date-input__next-trigger,.date-input__view-trigger{font-family:Inter,sans-serif;font-weight:400;letter-spacing:-.5px;box-shadow:none}.date-input__prev-trigger:hover,.date-input__prev-trigger[data-focus=true],.date-input__next-trigger:hover,.date-input__next-trigger[data-focus=true],.date-input__view-trigger:hover,.date-input__view-trigger[data-focus=true]{background:#191825;box-shadow:inset 0 1px 1px #ffffff1a;border:none;color:#ffffffbf;position:relative;box-sizing:border-box;box-shadow:none}.date-input__table{width:100%;border-collapse:collapse}.date-input__table-header{font-size:.8rem;padding:.35rem;text-align:center;opacity:.6}.date-input__table-header{font-family:Inter,sans-serif;font-weight:400;letter-spacing:-.5px}.date-input__cell{border-radius:.65rem;padding:.35rem;cursor:pointer;width:100%;display:flex;align-items:center;justify-content:center;font-size:.8rem}.date-input__cell{background:#070514;box-shadow:inset 0 1px 1px #bfbfbf1a;border:none;color:#ffffffbf;position:relative;box-sizing:border-box}.date-input__cell:focus{outline:none}.date-input__cell{font-family:Inter,sans-serif;font-weight:400;letter-spacing:-.5px}.date-input__cell:disabled,.date-input__cell[data-disabled],.date-input__cell[aria-disabled=true],.date-input__cell--disabled{cursor:not-allowed;opacity:25%;pointer-events:unset}.date-input__cell{box-shadow:none}.date-input__cell:focus,.date-input__cell:hover,.date-input__cell[data-focus=true],.date-input__cell[data-selected]{background:#191825;box-shadow:inset 0 1px 1px #ffffff1a;border:none;color:#ffffffbf;position:relative;box-sizing:border-box;box-shadow:none}.date-input__cell[data-outside-range]{opacity:.4}.date-input__time{display:flex;align-items:center;justify-content:center;gap:.35rem;padding:.7rem .35rem .35rem}.date-input__time-separator{font-size:.8rem}.date-input__time-separator{font-family:Inter,sans-serif;font-weight:400;letter-spacing:-.5px}
|
|
@@ -6,14 +6,25 @@ import "react";
|
|
|
6
6
|
import { mergeComponentProps as r } from "../../utils/component.js";
|
|
7
7
|
import "js-md5";
|
|
8
8
|
import { DialogPortal as u, DialogContent as h, Dialog as g, DialogOverlay as C } from "../dialog/Dialog.js";
|
|
9
|
-
import '../../assets/components/form/
|
|
9
|
+
import '../../assets/components/form/FileInput.style.css';import '../../assets/components/form/DateInput.style.css';import '../../assets/components/form/SelectInput.style.css';import '../../assets/components/scroll-area/ScrollArea.style.css';import '../../assets/components/menu/Menu.style.css';import '../../assets/components/flex/Flex.style.css';import '../../assets/components/form/Input.style.css';import '../../assets/components/command/Command.style.css';/* empty css */
|
|
10
10
|
import { Badge as _ } from "../badge/Badge.js";
|
|
11
11
|
import "@radix-ui/react-checkbox";
|
|
12
12
|
import "@tabler/icons-react";
|
|
13
13
|
/* empty css */
|
|
14
|
+
import "@ark-ui/react";
|
|
15
|
+
import "@internationalized/date";
|
|
16
|
+
import "../form/InputWrapper.js";
|
|
17
|
+
/* empty css */
|
|
18
|
+
/* empty css */
|
|
19
|
+
import "@radix-ui/react-dropdown-menu";
|
|
20
|
+
import "@radix-ui/react-scroll-area";
|
|
21
|
+
/* empty css */
|
|
22
|
+
import "@radix-ui/react-select";
|
|
23
|
+
/* empty css */
|
|
24
|
+
/* empty css */
|
|
25
|
+
import "../button/Button.js";
|
|
14
26
|
import "../form/EditorInput.js";
|
|
15
27
|
import "../form/EmailInput.js";
|
|
16
|
-
import "@ark-ui/react";
|
|
17
28
|
/* empty css */
|
|
18
29
|
import "../form/Input.js";
|
|
19
30
|
import "../form/InputSuggestion.js";
|
|
@@ -21,9 +32,6 @@ import "../form/NumberInput.js";
|
|
|
21
32
|
import "../form/PasswordInput.js";
|
|
22
33
|
import "@radix-ui/react-one-time-password-field";
|
|
23
34
|
import "@radix-ui/react-radio-group";
|
|
24
|
-
import "@radix-ui/react-select";
|
|
25
|
-
import "../form/InputWrapper.js";
|
|
26
|
-
/* empty css */
|
|
27
35
|
import "../form/SwitchInput.js";
|
|
28
36
|
import "../form/TextAreaInput.js";
|
|
29
37
|
import { TextInput as $ } from "../form/TextInput.js";
|
|
@@ -34,7 +42,7 @@ const P = (e) => {
|
|
|
34
42
|
const o = m;
|
|
35
43
|
let n;
|
|
36
44
|
return t[2] !== o ? (n = /* @__PURE__ */ i(a, { ...o }), t[2] = o, t[3] = n) : n = t[3], n;
|
|
37
|
-
},
|
|
45
|
+
}, mt = (e) => {
|
|
38
46
|
const t = c.c(11);
|
|
39
47
|
let m;
|
|
40
48
|
t[0] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (m = /* @__PURE__ */ i(C, {}), t[0] = m) : m = t[0];
|
|
@@ -47,14 +55,14 @@ const P = (e) => {
|
|
|
47
55
|
] }), t[3] = e.contentProps, t[4] = o, t[5] = n) : n = t[5];
|
|
48
56
|
let l;
|
|
49
57
|
return t[6] !== e.dialogProps || t[7] !== e.onOpenChange || t[8] !== e.open || t[9] !== n ? (l = /* @__PURE__ */ i(g, { ...e.dialogProps, open: e.open, onOpenChange: e.onOpenChange, children: n }), t[6] = e.dialogProps, t[7] = e.onOpenChange, t[8] = e.open, t[9] = n, t[10] = l) : l = t[10], l;
|
|
50
|
-
},
|
|
58
|
+
}, ot = (e) => {
|
|
51
59
|
const t = c.c(4);
|
|
52
60
|
let m;
|
|
53
61
|
t[0] !== e ? (m = r("command__list", e), t[0] = e, t[1] = m) : m = t[1];
|
|
54
62
|
const o = m;
|
|
55
63
|
let n;
|
|
56
64
|
return t[2] !== o ? (n = /* @__PURE__ */ i(a.List, { ...o }), t[2] = o, t[3] = n) : n = t[3], n;
|
|
57
|
-
},
|
|
65
|
+
}, it = (e) => {
|
|
58
66
|
const t = c.c(10);
|
|
59
67
|
let m;
|
|
60
68
|
t[0] !== e.value ? (m = e.value?.toString(), t[0] = e.value, t[1] = m) : m = t[1];
|
|
@@ -73,35 +81,35 @@ const P = (e) => {
|
|
|
73
81
|
t[4] !== e ? (n = /* @__PURE__ */ i($, { className: "command__input", ...e }), t[4] = e, t[5] = n) : n = t[5];
|
|
74
82
|
let l;
|
|
75
83
|
return t[6] !== m || t[7] !== o || t[8] !== n ? (l = /* @__PURE__ */ i(a.Input, { value: m, onValueChange: o, asChild: !0, children: n }), t[6] = m, t[7] = o, t[8] = n, t[9] = l) : l = t[9], l;
|
|
76
|
-
},
|
|
84
|
+
}, lt = (e) => {
|
|
77
85
|
const t = c.c(4);
|
|
78
86
|
let m;
|
|
79
87
|
t[0] !== e ? (m = r("command__empty", e), t[0] = e, t[1] = m) : m = t[1];
|
|
80
88
|
const o = m;
|
|
81
89
|
let n;
|
|
82
90
|
return t[2] !== o ? (n = /* @__PURE__ */ i(a.Empty, { ...o }), t[2] = o, t[3] = n) : n = t[3], n;
|
|
83
|
-
},
|
|
91
|
+
}, ct = (e) => {
|
|
84
92
|
const t = c.c(4);
|
|
85
93
|
let m;
|
|
86
94
|
t[0] !== e ? (m = r("command__group", e), t[0] = e, t[1] = m) : m = t[1];
|
|
87
95
|
const o = m;
|
|
88
96
|
let n;
|
|
89
97
|
return t[2] !== o ? (n = /* @__PURE__ */ i(a.Group, { ...o }), t[2] = o, t[3] = n) : n = t[3], n;
|
|
90
|
-
},
|
|
98
|
+
}, at = (e) => {
|
|
91
99
|
const t = c.c(4);
|
|
92
100
|
let m;
|
|
93
101
|
t[0] !== e ? (m = r("command__item", e), t[0] = e, t[1] = m) : m = t[1];
|
|
94
102
|
const o = m;
|
|
95
103
|
let n;
|
|
96
104
|
return t[2] !== o ? (n = /* @__PURE__ */ i(a.Item, { ...o }), t[2] = o, t[3] = n) : n = t[3], n;
|
|
97
|
-
},
|
|
105
|
+
}, rt = (e) => {
|
|
98
106
|
const t = c.c(4);
|
|
99
107
|
let m;
|
|
100
108
|
t[0] !== e ? (m = r("command__separator", e), t[0] = e, t[1] = m) : m = t[1];
|
|
101
109
|
const o = m;
|
|
102
110
|
let n;
|
|
103
111
|
return t[2] !== o ? (n = /* @__PURE__ */ i(a.Separator, { ...o }), t[2] = o, t[3] = n) : n = t[3], n;
|
|
104
|
-
},
|
|
112
|
+
}, dt = (e) => {
|
|
105
113
|
const t = c.c(5);
|
|
106
114
|
let m;
|
|
107
115
|
t[0] !== e ? (m = r("command__shortcut", e), t[0] = e, t[1] = m) : m = t[1];
|
|
@@ -111,12 +119,12 @@ const P = (e) => {
|
|
|
111
119
|
};
|
|
112
120
|
export {
|
|
113
121
|
P as Command,
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
+
mt as CommandDialog,
|
|
123
|
+
lt as CommandEmpty,
|
|
124
|
+
ct as CommandGroup,
|
|
125
|
+
it as CommandInput,
|
|
126
|
+
at as CommandItem,
|
|
127
|
+
ot as CommandList,
|
|
128
|
+
rt as CommandSeparator,
|
|
129
|
+
dt as CommandShortcut
|
|
122
130
|
};
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import { DateInput as ArkDateInput, DatePicker, DateValue } from '@ark-ui/react';
|
|
2
|
+
import { ComponentProps } from '../../utils';
|
|
3
|
+
import { default as React } from 'react';
|
|
4
|
+
import { InputWrapperProps } from './InputWrapper';
|
|
5
|
+
import { MenuContentProps, MenuTriggerProps } from '../menu/Menu';
|
|
6
|
+
type DateGranularity = "day" | "hour" | "minute" | "second";
|
|
7
|
+
interface ValueChangeDetails {
|
|
8
|
+
value: DateValue[];
|
|
9
|
+
valueAsString: string[];
|
|
10
|
+
}
|
|
11
|
+
export type DateProps = InputWrapperProps & {
|
|
12
|
+
granularity?: DateGranularity;
|
|
13
|
+
closeOnSelect?: boolean;
|
|
14
|
+
name?: string;
|
|
15
|
+
disabled?: boolean;
|
|
16
|
+
readOnly?: boolean;
|
|
17
|
+
locale?: string;
|
|
18
|
+
placeholderValue?: DateValue;
|
|
19
|
+
onValueChange?: (details: ValueChangeDetails) => void;
|
|
20
|
+
children?: React.ReactNode;
|
|
21
|
+
};
|
|
22
|
+
export type DateInputControlProps = ComponentProps & ArkDateInput.ControlProps;
|
|
23
|
+
export type DateInputFieldProps = ComponentProps & ArkDateInput.SegmentGroupProps;
|
|
24
|
+
export type DateInputTriggerProps = ComponentProps & MenuTriggerProps;
|
|
25
|
+
export type DateInputContentProps = ComponentProps & MenuContentProps & {
|
|
26
|
+
withTime?: boolean;
|
|
27
|
+
};
|
|
28
|
+
export type DateInputPrevTriggerProps = ComponentProps & DatePicker.PrevTriggerProps;
|
|
29
|
+
export type DateInputNextTriggerProps = ComponentProps & DatePicker.NextTriggerProps;
|
|
30
|
+
export declare const DateInput: React.FC<DateProps>;
|
|
31
|
+
export declare const DateInputControl: React.FC<DateInputControlProps>;
|
|
32
|
+
export declare const DateInputField: React.FC<DateInputFieldProps>;
|
|
33
|
+
export declare const DateInputTrigger: React.FC<DateInputTriggerProps>;
|
|
34
|
+
export declare const DateInputPrevTrigger: React.FC<DateInputPrevTriggerProps>;
|
|
35
|
+
export declare const DateInputNextTrigger: React.FC<DateInputNextTriggerProps>;
|
|
36
|
+
export declare const DateInputContent: React.FC<DateInputContentProps>;
|
|
37
|
+
export {};
|
|
@@ -0,0 +1,285 @@
|
|
|
1
|
+
import { jsx as n, jsxs as b, Fragment as H } from "react/jsx-runtime";
|
|
2
|
+
import { c as T } from "../../_virtual/compiler-runtime.js";
|
|
3
|
+
import { DatePicker as a, DateInput as C } from "@ark-ui/react";
|
|
4
|
+
import { toZoned as J, getLocalTimeZone as q, fromDate as K } from "@internationalized/date";
|
|
5
|
+
import { IconChevronDown as Q } from "@tabler/icons-react";
|
|
6
|
+
import "../../utils/contextStore.js";
|
|
7
|
+
import F from "react";
|
|
8
|
+
import { mergeComponentProps as S } from "../../utils/component.js";
|
|
9
|
+
import "js-md5";
|
|
10
|
+
import { InputWrapper as X } from "./InputWrapper.js";
|
|
11
|
+
import { Flex as ee } from "../flex/Flex.js";
|
|
12
|
+
import { MenuTrigger as te, Menu as ne, MenuPortal as le, MenuContent as re } from "../menu/Menu.js";
|
|
13
|
+
import { SelectPortal as ie, SelectContent as ae, SelectViewport as ce, SelectItem as oe, SelectItemText as se, SelectValue as ue, SelectTrigger as me, SelectInput as de } from "./SelectInput.js";
|
|
14
|
+
import '../../assets/components/form/DateInput.style.css';/* empty css */
|
|
15
|
+
import { Button as fe } from "../button/Button.js";
|
|
16
|
+
const he = (t) => K(new Date(t * 1e3), q()), _e = (t) => Math.floor(J(t, q()).toDate().getTime() / 1e3), Y = (t) => {
|
|
17
|
+
const e = Array.isArray(t) ? t : [t], l = [];
|
|
18
|
+
for (const r of e)
|
|
19
|
+
r == null || r === "" || (typeof r == "number" ? Number.isNaN(r) || l.push(he(r)) : l.push(r));
|
|
20
|
+
return l;
|
|
21
|
+
}, qe = (t) => {
|
|
22
|
+
const e = T.c(43), {
|
|
23
|
+
title: l,
|
|
24
|
+
description: r,
|
|
25
|
+
left: i,
|
|
26
|
+
leftType: c,
|
|
27
|
+
rightType: o,
|
|
28
|
+
right: s,
|
|
29
|
+
formValidation: u,
|
|
30
|
+
initialValue: m,
|
|
31
|
+
defaultValue: h,
|
|
32
|
+
value: d,
|
|
33
|
+
granularity: f,
|
|
34
|
+
closeOnSelect: _,
|
|
35
|
+
name: p,
|
|
36
|
+
disabled: g,
|
|
37
|
+
readOnly: k,
|
|
38
|
+
locale: v,
|
|
39
|
+
placeholderValue: A,
|
|
40
|
+
onValueChange: G,
|
|
41
|
+
children: z
|
|
42
|
+
} = t;
|
|
43
|
+
let $;
|
|
44
|
+
e[0] !== h || e[1] !== m || e[2] !== d ? ($ = () => Y(d ?? m ?? h), e[0] = h, e[1] = m, e[2] = d, e[3] = $) : $ = e[3];
|
|
45
|
+
const [w, L] = F.useState($);
|
|
46
|
+
let R, M;
|
|
47
|
+
e[4] !== d ? (R = () => {
|
|
48
|
+
d !== void 0 && L(Y(d));
|
|
49
|
+
}, M = [d], e[4] = d, e[5] = R, e[6] = M) : (R = e[5], M = e[6]), F.useEffect(R, M);
|
|
50
|
+
const [y, W] = F.useState(!1);
|
|
51
|
+
let O;
|
|
52
|
+
e[7] !== u || e[8] !== G ? (O = (I) => {
|
|
53
|
+
L(I.value), u?.setValue?.(I.value[0] ? _e(I.value[0]) : null), G?.(I);
|
|
54
|
+
}, e[7] = u, e[8] = G, e[9] = O) : O = e[9];
|
|
55
|
+
const N = O;
|
|
56
|
+
let P;
|
|
57
|
+
e[10] !== w || e[11] !== g || e[12] !== f || e[13] !== N || e[14] !== v || e[15] !== p || e[16] !== A || e[17] !== k ? (P = S("date-input", {
|
|
58
|
+
value: w,
|
|
59
|
+
onValueChange: N,
|
|
60
|
+
granularity: f,
|
|
61
|
+
name: p,
|
|
62
|
+
disabled: g,
|
|
63
|
+
readOnly: k,
|
|
64
|
+
locale: v,
|
|
65
|
+
placeholderValue: A
|
|
66
|
+
}), e[10] = w, e[11] = g, e[12] = f, e[13] = N, e[14] = v, e[15] = p, e[16] = A, e[17] = k, e[18] = P) : P = e[18];
|
|
67
|
+
const E = P;
|
|
68
|
+
let j;
|
|
69
|
+
e[19] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (j = (I) => W(I.open), e[19] = j) : j = e[19];
|
|
70
|
+
let V;
|
|
71
|
+
e[20] !== z || e[21] !== r || e[22] !== u || e[23] !== i || e[24] !== c || e[25] !== s || e[26] !== o || e[27] !== l ? (V = /* @__PURE__ */ n(X, { title: l, description: r, left: i, leftType: c, right: s, rightType: o, formValidation: u, children: z }), e[20] = z, e[21] = r, e[22] = u, e[23] = i, e[24] = c, e[25] = s, e[26] = o, e[27] = l, e[28] = V) : V = e[28];
|
|
72
|
+
let x;
|
|
73
|
+
e[29] !== y || e[30] !== V ? (x = /* @__PURE__ */ n(ne, { open: y, onOpenChange: W, children: V }), e[29] = y, e[30] = V, e[31] = x) : x = e[31];
|
|
74
|
+
let D;
|
|
75
|
+
e[32] !== _ || e[33] !== w || e[34] !== g || e[35] !== N || e[36] !== v || e[37] !== y || e[38] !== x ? (D = /* @__PURE__ */ n(a.Root, { value: w, onValueChange: N, open: y, onOpenChange: j, closeOnSelect: _, disabled: g, locale: v, children: x }), e[32] = _, e[33] = w, e[34] = g, e[35] = N, e[36] = v, e[37] = y, e[38] = x, e[39] = D) : D = e[39];
|
|
76
|
+
let B;
|
|
77
|
+
return e[40] !== E || e[41] !== D ? (B = /* @__PURE__ */ n(C.Root, { ...E, children: D }), e[40] = E, e[41] = D, e[42] = B) : B = e[42], B;
|
|
78
|
+
}, Je = (t) => {
|
|
79
|
+
const e = T.c(4);
|
|
80
|
+
let l;
|
|
81
|
+
e[0] !== t ? (l = S("date-input__control", t), e[0] = t, e[1] = l) : l = e[1];
|
|
82
|
+
const r = l;
|
|
83
|
+
let i;
|
|
84
|
+
return e[2] !== r ? (i = /* @__PURE__ */ n(C.Control, { ...r }), e[2] = r, e[3] = i) : i = e[3], i;
|
|
85
|
+
}, Ke = (t) => {
|
|
86
|
+
const e = T.c(8);
|
|
87
|
+
let l;
|
|
88
|
+
e[0] !== t ? (l = S("date-input__segment-group", t), e[0] = t, e[1] = l) : l = e[1];
|
|
89
|
+
const r = l;
|
|
90
|
+
let i;
|
|
91
|
+
e[2] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (i = /* @__PURE__ */ n(C.Context, { children: Ce }), e[2] = i) : i = e[2];
|
|
92
|
+
let c;
|
|
93
|
+
e[3] !== r ? (c = /* @__PURE__ */ n(C.SegmentGroup, { ...r, children: i }), e[3] = r, e[4] = c) : c = e[4];
|
|
94
|
+
let o;
|
|
95
|
+
e[5] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (o = /* @__PURE__ */ n(C.HiddenInput, {}), e[5] = o) : o = e[5];
|
|
96
|
+
let s;
|
|
97
|
+
return e[6] !== c ? (s = /* @__PURE__ */ b(H, { children: [
|
|
98
|
+
c,
|
|
99
|
+
o
|
|
100
|
+
] }), e[6] = c, e[7] = s) : s = e[7], s;
|
|
101
|
+
}, Qe = (t) => {
|
|
102
|
+
const e = T.c(4);
|
|
103
|
+
let l;
|
|
104
|
+
e[0] !== t ? (l = S("date-input__trigger", t), e[0] = t, e[1] = l) : l = e[1];
|
|
105
|
+
const r = l;
|
|
106
|
+
let i;
|
|
107
|
+
return e[2] !== r ? (i = /* @__PURE__ */ n(te, { ...r }), e[2] = r, e[3] = i) : i = e[3], i;
|
|
108
|
+
}, pe = (t) => {
|
|
109
|
+
const e = T.c(4);
|
|
110
|
+
let l;
|
|
111
|
+
e[0] !== t ? (l = S("date-input__prev-trigger", t), e[0] = t, e[1] = l) : l = e[1];
|
|
112
|
+
const r = l;
|
|
113
|
+
let i;
|
|
114
|
+
return e[2] !== r ? (i = /* @__PURE__ */ n(a.PrevTrigger, { ...r }), e[2] = r, e[3] = i) : i = e[3], i;
|
|
115
|
+
}, ge = (t) => {
|
|
116
|
+
const e = T.c(4);
|
|
117
|
+
let l;
|
|
118
|
+
e[0] !== t ? (l = S("date-input__next-trigger", t), e[0] = t, e[1] = l) : l = e[1];
|
|
119
|
+
const r = l;
|
|
120
|
+
let i;
|
|
121
|
+
return e[2] !== r ? (i = /* @__PURE__ */ n(a.NextTrigger, { ...r }), e[2] = r, e[3] = i) : i = e[3], i;
|
|
122
|
+
}, Z = () => {
|
|
123
|
+
const t = T.c(2);
|
|
124
|
+
let e;
|
|
125
|
+
t[0] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (e = /* @__PURE__ */ n(pe, { children: "‹" }), t[0] = e) : e = t[0];
|
|
126
|
+
let l;
|
|
127
|
+
return t[1] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (l = /* @__PURE__ */ b(a.ViewControl, { className: "date-input__view-control", children: [
|
|
128
|
+
e,
|
|
129
|
+
/* @__PURE__ */ n(a.ViewTrigger, { className: "date-input__view-trigger", children: /* @__PURE__ */ n(a.RangeText, { className: "date-input__range-text" }) }),
|
|
130
|
+
/* @__PURE__ */ n(ge, { children: "›" })
|
|
131
|
+
] }), t[1] = l) : l = t[1], l;
|
|
132
|
+
}, Xe = (t) => {
|
|
133
|
+
const e = T.c(20);
|
|
134
|
+
let l, r, i, c, o, s;
|
|
135
|
+
if (e[0] !== t) {
|
|
136
|
+
const {
|
|
137
|
+
withTime: p,
|
|
138
|
+
...g
|
|
139
|
+
} = t;
|
|
140
|
+
s = p, r = le, l = re, c = "end", o = 8, i = S("date-input__content", g), e[0] = t, e[1] = l, e[2] = r, e[3] = i, e[4] = c, e[5] = o, e[6] = s;
|
|
141
|
+
} else
|
|
142
|
+
l = e[1], r = e[2], i = e[3], c = e[4], o = e[5], s = e[6];
|
|
143
|
+
const u = i;
|
|
144
|
+
let m;
|
|
145
|
+
e[7] !== s ? (m = /* @__PURE__ */ n(a.View, { view: "day", className: "date-input__view", children: /* @__PURE__ */ n(a.Context, { children: (p) => /* @__PURE__ */ b(H, { children: [
|
|
146
|
+
/* @__PURE__ */ n(Z, {}),
|
|
147
|
+
/* @__PURE__ */ b(a.Table, { className: "date-input__table", children: [
|
|
148
|
+
/* @__PURE__ */ n(a.TableHead, { children: /* @__PURE__ */ n(a.TableRow, { children: p.weekDays.map(Se) }) }),
|
|
149
|
+
/* @__PURE__ */ n(a.TableBody, { children: p.weeks.map(we) })
|
|
150
|
+
] }),
|
|
151
|
+
s && /* @__PURE__ */ n(be, {})
|
|
152
|
+
] }) }) }), e[7] = s, e[8] = m) : m = e[8];
|
|
153
|
+
let h;
|
|
154
|
+
e[9] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (h = /* @__PURE__ */ n(a.View, { view: "month", className: "date-input__view", children: /* @__PURE__ */ n(a.Context, { children: Ve }) }), e[9] = h) : h = e[9];
|
|
155
|
+
let d;
|
|
156
|
+
e[10] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (d = /* @__PURE__ */ n(a.View, { view: "year", className: "date-input__view", children: /* @__PURE__ */ n(a.Context, { children: Ie }) }), e[10] = d) : d = e[10];
|
|
157
|
+
let f;
|
|
158
|
+
e[11] !== l || e[12] !== c || e[13] !== o || e[14] !== u || e[15] !== m ? (f = /* @__PURE__ */ b(l, { align: c, sideOffset: o, ...u, children: [
|
|
159
|
+
m,
|
|
160
|
+
h,
|
|
161
|
+
d
|
|
162
|
+
] }), e[11] = l, e[12] = c, e[13] = o, e[14] = u, e[15] = m, e[16] = f) : f = e[16];
|
|
163
|
+
let _;
|
|
164
|
+
return e[17] !== r || e[18] !== f ? (_ = /* @__PURE__ */ n(r, { children: f }), e[17] = r, e[18] = f, e[19] = _) : _ = e[19], _;
|
|
165
|
+
}, be = () => {
|
|
166
|
+
const t = T.c(1);
|
|
167
|
+
let e;
|
|
168
|
+
return t[0] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (e = /* @__PURE__ */ n(C.Context, { children: Me }), t[0] = e) : e = t[0], e;
|
|
169
|
+
}, U = (t) => {
|
|
170
|
+
const e = T.c(16), {
|
|
171
|
+
label: l,
|
|
172
|
+
value: r,
|
|
173
|
+
count: i,
|
|
174
|
+
disabled: c,
|
|
175
|
+
onValueChange: o
|
|
176
|
+
} = t, s = String(r);
|
|
177
|
+
let u;
|
|
178
|
+
e[0] !== o ? (u = (g) => o(Number(g)), e[0] = o, e[1] = u) : u = e[1];
|
|
179
|
+
let m;
|
|
180
|
+
e[2] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (m = {
|
|
181
|
+
className: "date-input__time-select"
|
|
182
|
+
}, e[2] = m) : m = e[2];
|
|
183
|
+
let h;
|
|
184
|
+
e[3] !== l ? (h = /* @__PURE__ */ n(ue, { "aria-label": l }), e[3] = l, e[4] = h) : h = e[4];
|
|
185
|
+
let d;
|
|
186
|
+
e[5] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (d = /* @__PURE__ */ n(Q, { size: 13 }), e[5] = d) : d = e[5];
|
|
187
|
+
let f;
|
|
188
|
+
e[6] !== h ? (f = /* @__PURE__ */ n(me, { asChild: !0, children: /* @__PURE__ */ n(fe, { paddingSize: "xxs", justify: "start", children: /* @__PURE__ */ b(ee, { justify: "space-between", w: "100%", align: "center", children: [
|
|
189
|
+
h,
|
|
190
|
+
d
|
|
191
|
+
] }) }) }), e[6] = h, e[7] = f) : f = e[7];
|
|
192
|
+
let _;
|
|
193
|
+
e[8] !== i ? (_ = /* @__PURE__ */ n(ie, { children: /* @__PURE__ */ n(ae, { position: "item-aligned", children: /* @__PURE__ */ n(ce, { children: Array.from({
|
|
194
|
+
length: i
|
|
195
|
+
}, Oe) }) }) }), e[8] = i, e[9] = _) : _ = e[9];
|
|
196
|
+
let p;
|
|
197
|
+
return e[10] !== c || e[11] !== s || e[12] !== u || e[13] !== f || e[14] !== _ ? (p = /* @__PURE__ */ b(de, { value: s, disabled: c, onValueChange: u, wrapperComponent: m, children: [
|
|
198
|
+
f,
|
|
199
|
+
_
|
|
200
|
+
] }), e[10] = c, e[11] = s, e[12] = u, e[13] = f, e[14] = _, e[15] = p) : p = e[15], p;
|
|
201
|
+
};
|
|
202
|
+
function Te(t, e) {
|
|
203
|
+
return /* @__PURE__ */ n(C.Segment, { segment: t, className: "date-input__segment" }, e);
|
|
204
|
+
}
|
|
205
|
+
function Ce(t) {
|
|
206
|
+
return t.getSegments().map(Te);
|
|
207
|
+
}
|
|
208
|
+
function Se(t, e) {
|
|
209
|
+
return /* @__PURE__ */ n(a.TableHeader, { className: "date-input__table-header", children: t.narrow }, e);
|
|
210
|
+
}
|
|
211
|
+
function ve(t, e) {
|
|
212
|
+
return /* @__PURE__ */ n(a.TableCell, { value: t, children: /* @__PURE__ */ n(a.TableCellTrigger, { className: "date-input__cell", children: t.day }) }, e);
|
|
213
|
+
}
|
|
214
|
+
function we(t, e) {
|
|
215
|
+
return /* @__PURE__ */ n(a.TableRow, { children: t.map(ve) }, e);
|
|
216
|
+
}
|
|
217
|
+
function ye(t, e) {
|
|
218
|
+
return /* @__PURE__ */ n(a.TableCell, { value: t.value, children: /* @__PURE__ */ n(a.TableCellTrigger, { className: "date-input__cell", children: t.label }) }, e);
|
|
219
|
+
}
|
|
220
|
+
function Ne(t, e) {
|
|
221
|
+
return /* @__PURE__ */ n(a.TableRow, { children: t.map(ye) }, e);
|
|
222
|
+
}
|
|
223
|
+
function Ve(t) {
|
|
224
|
+
return /* @__PURE__ */ b(H, { children: [
|
|
225
|
+
/* @__PURE__ */ n(Z, {}),
|
|
226
|
+
/* @__PURE__ */ n(a.Table, { className: "date-input__table", children: /* @__PURE__ */ n(a.TableBody, { children: t.getMonthsGrid({
|
|
227
|
+
columns: 4,
|
|
228
|
+
format: "short"
|
|
229
|
+
}).map(Ne) }) })
|
|
230
|
+
] });
|
|
231
|
+
}
|
|
232
|
+
function xe(t, e) {
|
|
233
|
+
return /* @__PURE__ */ n(a.TableCell, { value: t.value, children: /* @__PURE__ */ n(a.TableCellTrigger, { className: "date-input__cell", children: t.label }) }, e);
|
|
234
|
+
}
|
|
235
|
+
function De(t, e) {
|
|
236
|
+
return /* @__PURE__ */ n(a.TableRow, { children: t.map(xe) }, e);
|
|
237
|
+
}
|
|
238
|
+
function Ie(t) {
|
|
239
|
+
return /* @__PURE__ */ b(H, { children: [
|
|
240
|
+
/* @__PURE__ */ n(Z, {}),
|
|
241
|
+
/* @__PURE__ */ n(a.Table, { className: "date-input__table", children: /* @__PURE__ */ n(a.TableBody, { children: t.getYearsGrid({
|
|
242
|
+
columns: 4
|
|
243
|
+
}).map(De) }) })
|
|
244
|
+
] });
|
|
245
|
+
}
|
|
246
|
+
function $e(t) {
|
|
247
|
+
return t.type;
|
|
248
|
+
}
|
|
249
|
+
function Re(t, e) {
|
|
250
|
+
return /* @__PURE__ */ b(F.Fragment, { children: [
|
|
251
|
+
e > 0 && /* @__PURE__ */ n("span", { className: "date-input__time-separator", children: ":" }),
|
|
252
|
+
t
|
|
253
|
+
] }, e);
|
|
254
|
+
}
|
|
255
|
+
function Me(t) {
|
|
256
|
+
const e = new Set(t.getSegments().map($e));
|
|
257
|
+
return /* @__PURE__ */ n(a.Context, { children: (l) => {
|
|
258
|
+
const r = l.value[0], i = r?.hour ?? 0, c = r?.minute ?? 0, o = r?.second ?? 0, s = l.value.length === 0, u = [];
|
|
259
|
+
return e.has("hour") && u.push(/* @__PURE__ */ n(U, { label: "Hour", value: i, count: 24, disabled: s, onValueChange: (m) => l.setTime({
|
|
260
|
+
hour: m,
|
|
261
|
+
minute: c,
|
|
262
|
+
second: o
|
|
263
|
+
}) }, "hour")), e.has("minute") && u.push(/* @__PURE__ */ n(U, { label: "Minute", value: c, count: 60, disabled: s, onValueChange: (m) => l.setTime({
|
|
264
|
+
hour: i,
|
|
265
|
+
minute: m,
|
|
266
|
+
second: o
|
|
267
|
+
}) }, "minute")), e.has("second") && u.push(/* @__PURE__ */ n(U, { label: "Second", value: o, count: 60, disabled: s, onValueChange: (m) => l.setTime({
|
|
268
|
+
hour: i,
|
|
269
|
+
minute: c,
|
|
270
|
+
second: m
|
|
271
|
+
}) }, "second")), /* @__PURE__ */ n("div", { className: "date-input__time", children: u.map(Re) });
|
|
272
|
+
} });
|
|
273
|
+
}
|
|
274
|
+
function Oe(t, e) {
|
|
275
|
+
return /* @__PURE__ */ n(oe, { value: String(e), children: /* @__PURE__ */ n(se, { children: String(e).padStart(2, "0") }) }, e);
|
|
276
|
+
}
|
|
277
|
+
export {
|
|
278
|
+
qe as DateInput,
|
|
279
|
+
Xe as DateInputContent,
|
|
280
|
+
Je as DateInputControl,
|
|
281
|
+
Ke as DateInputField,
|
|
282
|
+
ge as DateInputNextTrigger,
|
|
283
|
+
pe as DateInputPrevTrigger,
|
|
284
|
+
Qe as DateInputTrigger
|
|
285
|
+
};
|
|
@@ -1,65 +1,73 @@
|
|
|
1
|
-
import { CheckboxInput as
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
9
|
-
import {
|
|
10
|
-
import {
|
|
11
|
-
import {
|
|
12
|
-
import {
|
|
13
|
-
import {
|
|
14
|
-
import {
|
|
15
|
-
import {
|
|
16
|
-
import {
|
|
17
|
-
import {
|
|
18
|
-
import {
|
|
19
|
-
import {
|
|
20
|
-
import {
|
|
1
|
+
import { CheckboxInput as r } from "./CheckboxInput.js";
|
|
2
|
+
import { DateInput as p, DateInputContent as n, DateInputControl as u, DateInputField as I, DateInputNextTrigger as i, DateInputPrevTrigger as m, DateInputTrigger as l } from "./DateInput.js";
|
|
3
|
+
import { EditorInput as a } from "./EditorInput.js";
|
|
4
|
+
import { EmailInput as g, emailValidation as F } from "./EmailInput.js";
|
|
5
|
+
import { FileInput as S, FileInputContext as c, FileInputDropzone as s, FileInputHiddenInput as D, FileInputItem as T, FileInputItemDeleteTrigger as P, FileInputItemGroup as C, FileInputItemName as w, FileInputItemPreview as b, FileInputItemPreviewImage as V, FileInputItemSizeText as v, FileInputTrigger as M } from "./FileInput.js";
|
|
6
|
+
import { Input as h } from "./Input.js";
|
|
7
|
+
import { InputDescription as E } from "./InputDescription.js";
|
|
8
|
+
import { InputLabel as H } from "./InputLabel.js";
|
|
9
|
+
import { InputMessage as k } from "./InputMessage.js";
|
|
10
|
+
import { InputSuggestionMenuContent as A, InputSuggestionMenuContentItems as L } from "./InputSuggestion.js";
|
|
11
|
+
import { NumberInput as q } from "./NumberInput.js";
|
|
12
|
+
import { PasswordInput as J, passwordValidation as K } from "./PasswordInput.js";
|
|
13
|
+
import { PinInput as Q, PinInputField as U, PinInputHiddenField as W } from "./PinInput.js";
|
|
14
|
+
import { RadioGroup as Y } from "./RadioGroup.js";
|
|
15
|
+
import { RadioInput as _ } from "./RadioInput.js";
|
|
16
|
+
import { SelectContent as ee, SelectInput as te, SelectItem as re, SelectItemText as oe, SelectPortal as pe, SelectTrigger as ne, SelectValue as ue, SelectViewport as Ie } from "./SelectInput.js";
|
|
17
|
+
import { SwitchInput as me } from "./SwitchInput.js";
|
|
18
|
+
import { TextAreaInput as xe } from "./TextAreaInput.js";
|
|
19
|
+
import { TextInput as fe } from "./TextInput.js";
|
|
20
|
+
import { useForm as Fe } from "./useForm.js";
|
|
21
|
+
import { buildDefaultSyntax as Se } from "./Input.syntax.hook.js";
|
|
21
22
|
export {
|
|
22
|
-
|
|
23
|
-
p as
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
S as
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
_ as
|
|
57
|
-
|
|
58
|
-
te as
|
|
59
|
-
re as
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
Ie as
|
|
23
|
+
r as CheckboxInput,
|
|
24
|
+
p as DateInput,
|
|
25
|
+
n as DateInputContent,
|
|
26
|
+
u as DateInputControl,
|
|
27
|
+
I as DateInputField,
|
|
28
|
+
i as DateInputNextTrigger,
|
|
29
|
+
m as DateInputPrevTrigger,
|
|
30
|
+
l as DateInputTrigger,
|
|
31
|
+
a as EditorInput,
|
|
32
|
+
g as EmailInput,
|
|
33
|
+
S as FileInput,
|
|
34
|
+
c as FileInputContext,
|
|
35
|
+
s as FileInputDropzone,
|
|
36
|
+
D as FileInputHiddenInput,
|
|
37
|
+
T as FileInputItem,
|
|
38
|
+
P as FileInputItemDeleteTrigger,
|
|
39
|
+
C as FileInputItemGroup,
|
|
40
|
+
w as FileInputItemName,
|
|
41
|
+
b as FileInputItemPreview,
|
|
42
|
+
V as FileInputItemPreviewImage,
|
|
43
|
+
v as FileInputItemSizeText,
|
|
44
|
+
M as FileInputTrigger,
|
|
45
|
+
h as Input,
|
|
46
|
+
E as InputDescription,
|
|
47
|
+
H as InputLabel,
|
|
48
|
+
k as InputMessage,
|
|
49
|
+
A as InputSuggestionMenuContent,
|
|
50
|
+
L as InputSuggestionMenuContentItems,
|
|
51
|
+
q as NumberInput,
|
|
52
|
+
J as PasswordInput,
|
|
53
|
+
Q as PinInput,
|
|
54
|
+
U as PinInputField,
|
|
55
|
+
W as PinInputHiddenField,
|
|
56
|
+
Y as RadioGroup,
|
|
57
|
+
_ as RadioInput,
|
|
58
|
+
ee as SelectContent,
|
|
59
|
+
te as SelectInput,
|
|
60
|
+
re as SelectItem,
|
|
61
|
+
oe as SelectItemText,
|
|
62
|
+
pe as SelectPortal,
|
|
63
|
+
ne as SelectTrigger,
|
|
64
|
+
ue as SelectValue,
|
|
65
|
+
Ie as SelectViewport,
|
|
66
|
+
me as SwitchInput,
|
|
67
|
+
xe as TextAreaInput,
|
|
68
|
+
fe as TextInput,
|
|
69
|
+
Se as buildDefaultSyntax,
|
|
70
|
+
F as emailValidation,
|
|
71
|
+
K as passwordValidation,
|
|
72
|
+
Fe as useForm
|
|
65
73
|
};
|
package/dist/index.js
CHANGED
|
@@ -1,85 +1,86 @@
|
|
|
1
|
-
import { Alert as
|
|
1
|
+
import { Alert as o } from "./components/alert/Alert.js";
|
|
2
2
|
import { AuroraBackground as n } from "./components/aurora/Aurora.js";
|
|
3
3
|
import { Avatar as p } from "./components/avatar/Avatar.js";
|
|
4
4
|
import { Badge as l } from "./components/badge/Badge.js";
|
|
5
5
|
import { Breadcrumb as u } from "./components/breadcrumb/Breadcrumb.js";
|
|
6
|
-
import { Button as
|
|
6
|
+
import { Button as g } from "./components/button/Button.js";
|
|
7
7
|
import { ButtonGroup as I } from "./components/button-group/ButtonGroup.js";
|
|
8
8
|
import { Card as T } from "./components/card/Card.js";
|
|
9
9
|
import { Col as b } from "./components/col/Col.js";
|
|
10
|
-
import { Command as s, CommandDialog as
|
|
10
|
+
import { Command as s, CommandDialog as D, CommandEmpty as c, CommandGroup as M, CommandInput as F, CommandItem as P, CommandList as A, CommandSeparator as w, CommandShortcut as v } from "./components/command/Command.js";
|
|
11
11
|
import { Container as R } from "./components/container/Container.js";
|
|
12
12
|
import { ContextMenu as G, ContextMenuArrow as L, ContextMenuContent as y, ContextMenuGroup as z, ContextMenuItem as B, ContextMenuLabel as H, ContextMenuPortal as k, ContextMenuSeparator as E, ContextMenuSub as N, ContextMenuSubContent as O, ContextMenuSubTrigger as Q, ContextMenuTrigger as J } from "./components/context-menu/ContextMenu.js";
|
|
13
13
|
import { DataTable as j } from "./components/data-table/DataTable.js";
|
|
14
14
|
import { DataTableColumn as K } from "./components/data-table/DataTableColumn.js";
|
|
15
15
|
import { DataTableHeader as W, DataTableHeaderColumn as X } from "./components/data-table/DataTableHeader.js";
|
|
16
|
-
import { DataTableMaxPaginationValue as _, DataTablePagination as $, DataTablePaginationBackwardsTrigger as ee, DataTablePaginationContext as
|
|
16
|
+
import { DataTableMaxPaginationValue as _, DataTablePagination as $, DataTablePaginationBackwardsTrigger as ee, DataTablePaginationContext as te, DataTablePaginationForwardTrigger as oe, DataTablePaginationValue as re, useDataTablePagination as ne } from "./components/data-table/DataTablePagination.js";
|
|
17
17
|
import { DataTableFilterInput as pe, createFilterQueryLanguage as ie } from "./components/data-table/DataTableFilterInput.js";
|
|
18
18
|
import { DataTableFilterSuggestionMenu as me } from "./components/data-table/DataTableFilterSuggestionMenu.js";
|
|
19
|
-
import { Dialog as xe, DialogClose as
|
|
20
|
-
import { Editor as
|
|
19
|
+
import { Dialog as xe, DialogClose as ge, DialogContent as fe, DialogDescription as Ie, DialogFooter as Ce, DialogHeader as Te, DialogOverlay as Se, DialogPortal as be, DialogTitle as de, DialogTrigger as se } from "./components/dialog/Dialog.js";
|
|
20
|
+
import { Editor as ce } from "./components/editor/Editor.js";
|
|
21
21
|
import { FileTabsService as Fe } from "./components/file-tabs/FileTabs.service.js";
|
|
22
22
|
import { FileTabs as Ae, FileTabsContent as we, FileTabsList as ve, FileTabsTrigger as he } from "./components/file-tabs/FileTabs.js";
|
|
23
23
|
import { Flex as Ve } from "./components/flex/Flex.js";
|
|
24
24
|
import { CheckboxInput as Le } from "./components/form/CheckboxInput.js";
|
|
25
|
-
import {
|
|
26
|
-
import {
|
|
27
|
-
import {
|
|
28
|
-
import {
|
|
29
|
-
import {
|
|
30
|
-
import {
|
|
31
|
-
import {
|
|
32
|
-
import {
|
|
33
|
-
import {
|
|
34
|
-
import {
|
|
35
|
-
import {
|
|
36
|
-
import {
|
|
37
|
-
import {
|
|
38
|
-
import {
|
|
39
|
-
import {
|
|
40
|
-
import {
|
|
41
|
-
import {
|
|
42
|
-
import {
|
|
43
|
-
import {
|
|
44
|
-
import {
|
|
45
|
-
import {
|
|
46
|
-
import {
|
|
47
|
-
import {
|
|
48
|
-
import {
|
|
49
|
-
import {
|
|
50
|
-
import {
|
|
51
|
-
import {
|
|
52
|
-
import {
|
|
53
|
-
import {
|
|
54
|
-
import {
|
|
55
|
-
import {
|
|
56
|
-
import {
|
|
57
|
-
import {
|
|
58
|
-
import {
|
|
59
|
-
import {
|
|
60
|
-
import {
|
|
61
|
-
import {
|
|
62
|
-
import {
|
|
63
|
-
import {
|
|
64
|
-
import {
|
|
65
|
-
import {
|
|
25
|
+
import { DateInput as ze, DateInputContent as Be, DateInputControl as He, DateInputField as ke, DateInputNextTrigger as Ee, DateInputPrevTrigger as Ne, DateInputTrigger as Oe } from "./components/form/DateInput.js";
|
|
26
|
+
import { EditorInput as Je } from "./components/form/EditorInput.js";
|
|
27
|
+
import { EmailInput as je, emailValidation as qe } from "./components/form/EmailInput.js";
|
|
28
|
+
import { FileInput as Ue, FileInputContext as We, FileInputDropzone as Xe, FileInputHiddenInput as Ye, FileInputItem as _e, FileInputItemDeleteTrigger as $e, FileInputItemGroup as et, FileInputItemName as tt, FileInputItemPreview as ot, FileInputItemPreviewImage as rt, FileInputItemSizeText as nt, FileInputTrigger as at } from "./components/form/FileInput.js";
|
|
29
|
+
import { Input as it } from "./components/form/Input.js";
|
|
30
|
+
import { InputDescription as mt } from "./components/form/InputDescription.js";
|
|
31
|
+
import { InputLabel as xt } from "./components/form/InputLabel.js";
|
|
32
|
+
import { InputMessage as ft } from "./components/form/InputMessage.js";
|
|
33
|
+
import { InputSuggestionMenuContent as Ct, InputSuggestionMenuContentItems as Tt } from "./components/form/InputSuggestion.js";
|
|
34
|
+
import { NumberInput as bt } from "./components/form/NumberInput.js";
|
|
35
|
+
import { PasswordInput as st, passwordValidation as Dt } from "./components/form/PasswordInput.js";
|
|
36
|
+
import { PinInput as Mt, PinInputField as Ft, PinInputHiddenField as Pt } from "./components/form/PinInput.js";
|
|
37
|
+
import { RadioGroup as wt } from "./components/form/RadioGroup.js";
|
|
38
|
+
import { RadioInput as ht } from "./components/form/RadioInput.js";
|
|
39
|
+
import { SelectContent as Vt, SelectInput as Gt, SelectItem as Lt, SelectItemText as yt, SelectPortal as zt, SelectTrigger as Bt, SelectValue as Ht, SelectViewport as kt } from "./components/form/SelectInput.js";
|
|
40
|
+
import { SwitchInput as Nt } from "./components/form/SwitchInput.js";
|
|
41
|
+
import { TextAreaInput as Qt } from "./components/form/TextAreaInput.js";
|
|
42
|
+
import { TextInput as Zt } from "./components/form/TextInput.js";
|
|
43
|
+
import { useForm as qt } from "./components/form/useForm.js";
|
|
44
|
+
import { buildDefaultSyntax as Ut } from "./components/form/Input.syntax.hook.js";
|
|
45
|
+
import { JsonView as Xt } from "./components/json-view/JsonView.js";
|
|
46
|
+
import { FullScreen as _t } from "./components/fullscreen/FullScreen.js";
|
|
47
|
+
import { Gantt as eo, getRelativeValue as to } from "./components/gantt/Gantt.js";
|
|
48
|
+
import { Icon as ro, resolveIcon as no } from "./components/icon/Icon.js";
|
|
49
|
+
import { Layout as po } from "./components/layout/Layout.js";
|
|
50
|
+
import { Menu as lo, MenuArrow as mo, MenuCheckboxItem as uo, MenuContent as xo, MenuGroup as go, MenuItem as fo, MenuItemIndicator as Io, MenuLabel as Co, MenuPortal as To, MenuSeparator as So, MenuSub as bo, MenuSubContent as so, MenuSubTrigger as Do, MenuTrigger as co } from "./components/menu/Menu.js";
|
|
51
|
+
import { Progress as Fo } from "./components/progress/Progress.js";
|
|
52
|
+
import { Quote as Ao } from "./components/quote/Quote.js";
|
|
53
|
+
import { ResizableHandle as vo, ResizablePanel as ho, ResizablePanelGroup as Ro } from "./components/resizable/Resizable.js";
|
|
54
|
+
import { Row as Go } from "./components/row/Row.js";
|
|
55
|
+
import { AutoScrollArea as yo, ScrollArea as zo, ScrollAreaCorner as Bo, ScrollAreaScrollbar as Ho, ScrollAreaThumb as ko, ScrollAreaViewport as Eo } from "./components/scroll-area/ScrollArea.js";
|
|
56
|
+
import { SegmentedControl as Oo, SegmentedControlItem as Qo } from "./components/segmented-control/SegmentedControl.js";
|
|
57
|
+
import { Spacing as Zo } from "./components/spacing/Spacing.js";
|
|
58
|
+
import { Tab as qo, TabContent as Ko, TabList as Uo, TabTrigger as Wo } from "./components/tab/Tab.js";
|
|
59
|
+
import { Text as Yo } from "./components/text/Text.js";
|
|
60
|
+
import { Toast as $o, toast as er } from "./components/toast/Toast.js";
|
|
61
|
+
import { Tooltip as or, TooltipArrow as rr, TooltipContent as nr, TooltipPortal as ar, TooltipTrigger as pr } from "./components/tooltip/Tooltip.js";
|
|
62
|
+
import { ContextStore as lr, ContextStoreProvider as mr, useService as ur, useStore as xr } from "./utils/contextStore.js";
|
|
63
|
+
import { ReactiveArrayService as fr, useReactiveArrayService as Ir } from "./utils/reactiveArrayService.js";
|
|
64
|
+
import { mergeComponentProps as Tr } from "./utils/component.js";
|
|
65
|
+
import { Colors as br, hashToColor as dr, withAlpha as sr } from "./utils/color.js";
|
|
66
|
+
import { getDOMSizeFromCodeZeroSize as cr } from "./utils/size.js";
|
|
66
67
|
export {
|
|
67
|
-
|
|
68
|
+
o as Alert,
|
|
68
69
|
n as AuroraBackground,
|
|
69
|
-
|
|
70
|
+
yo as AutoScrollArea,
|
|
70
71
|
p as Avatar,
|
|
71
72
|
l as Badge,
|
|
72
73
|
u as Breadcrumb,
|
|
73
|
-
|
|
74
|
+
g as Button,
|
|
74
75
|
I as ButtonGroup,
|
|
75
76
|
T as Card,
|
|
76
77
|
Le as CheckboxInput,
|
|
77
78
|
b as Col,
|
|
78
|
-
|
|
79
|
+
br as Colors,
|
|
79
80
|
s as Command,
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
81
|
+
D as CommandDialog,
|
|
82
|
+
c as CommandEmpty,
|
|
83
|
+
M as CommandGroup,
|
|
83
84
|
F as CommandInput,
|
|
84
85
|
P as CommandItem,
|
|
85
86
|
A as CommandList,
|
|
@@ -98,8 +99,8 @@ export {
|
|
|
98
99
|
O as ContextMenuSubContent,
|
|
99
100
|
Q as ContextMenuSubTrigger,
|
|
100
101
|
J as ContextMenuTrigger,
|
|
101
|
-
|
|
102
|
-
|
|
102
|
+
lr as ContextStore,
|
|
103
|
+
mr as ContextStoreProvider,
|
|
103
104
|
j as DataTable,
|
|
104
105
|
K as DataTableColumn,
|
|
105
106
|
pe as DataTableFilterInput,
|
|
@@ -109,12 +110,19 @@ export {
|
|
|
109
110
|
_ as DataTableMaxPaginationValue,
|
|
110
111
|
$ as DataTablePagination,
|
|
111
112
|
ee as DataTablePaginationBackwardsTrigger,
|
|
112
|
-
|
|
113
|
-
|
|
113
|
+
te as DataTablePaginationContext,
|
|
114
|
+
oe as DataTablePaginationForwardTrigger,
|
|
114
115
|
re as DataTablePaginationValue,
|
|
116
|
+
ze as DateInput,
|
|
117
|
+
Be as DateInputContent,
|
|
118
|
+
He as DateInputControl,
|
|
119
|
+
ke as DateInputField,
|
|
120
|
+
Ee as DateInputNextTrigger,
|
|
121
|
+
Ne as DateInputPrevTrigger,
|
|
122
|
+
Oe as DateInputTrigger,
|
|
115
123
|
xe as Dialog,
|
|
116
|
-
|
|
117
|
-
|
|
124
|
+
ge as DialogClose,
|
|
125
|
+
fe as DialogContent,
|
|
118
126
|
Ie as DialogDescription,
|
|
119
127
|
Ce as DialogFooter,
|
|
120
128
|
Te as DialogHeader,
|
|
@@ -122,110 +130,110 @@ export {
|
|
|
122
130
|
be as DialogPortal,
|
|
123
131
|
de as DialogTitle,
|
|
124
132
|
se as DialogTrigger,
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
133
|
+
ce as Editor,
|
|
134
|
+
Je as EditorInput,
|
|
135
|
+
je as EmailInput,
|
|
136
|
+
Ue as FileInput,
|
|
137
|
+
We as FileInputContext,
|
|
138
|
+
Xe as FileInputDropzone,
|
|
139
|
+
Ye as FileInputHiddenInput,
|
|
140
|
+
_e as FileInputItem,
|
|
141
|
+
$e as FileInputItemDeleteTrigger,
|
|
142
|
+
et as FileInputItemGroup,
|
|
143
|
+
tt as FileInputItemName,
|
|
144
|
+
ot as FileInputItemPreview,
|
|
145
|
+
rt as FileInputItemPreviewImage,
|
|
146
|
+
nt as FileInputItemSizeText,
|
|
147
|
+
at as FileInputTrigger,
|
|
140
148
|
Ae as FileTabs,
|
|
141
149
|
we as FileTabsContent,
|
|
142
150
|
ve as FileTabsList,
|
|
143
151
|
Fe as FileTabsService,
|
|
144
152
|
he as FileTabsTrigger,
|
|
145
153
|
Ve as Flex,
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
154
|
+
_t as FullScreen,
|
|
155
|
+
eo as Gantt,
|
|
156
|
+
ro as Icon,
|
|
157
|
+
it as Input,
|
|
158
|
+
mt as InputDescription,
|
|
159
|
+
xt as InputLabel,
|
|
160
|
+
ft as InputMessage,
|
|
161
|
+
Ct as InputSuggestionMenuContent,
|
|
162
|
+
Tt as InputSuggestionMenuContentItems,
|
|
163
|
+
Xt as JsonView,
|
|
164
|
+
po as Layout,
|
|
165
|
+
lo as Menu,
|
|
166
|
+
mo as MenuArrow,
|
|
167
|
+
uo as MenuCheckboxItem,
|
|
168
|
+
xo as MenuContent,
|
|
169
|
+
go as MenuGroup,
|
|
170
|
+
fo as MenuItem,
|
|
171
|
+
Io as MenuItemIndicator,
|
|
172
|
+
Co as MenuLabel,
|
|
173
|
+
To as MenuPortal,
|
|
174
|
+
So as MenuSeparator,
|
|
175
|
+
bo as MenuSub,
|
|
176
|
+
so as MenuSubContent,
|
|
177
|
+
Do as MenuSubTrigger,
|
|
178
|
+
co as MenuTrigger,
|
|
179
|
+
bt as NumberInput,
|
|
180
|
+
st as PasswordInput,
|
|
181
|
+
Mt as PinInput,
|
|
182
|
+
Ft as PinInputField,
|
|
183
|
+
Pt as PinInputHiddenField,
|
|
184
|
+
Fo as Progress,
|
|
185
|
+
Ao as Quote,
|
|
186
|
+
wt as RadioGroup,
|
|
187
|
+
ht as RadioInput,
|
|
188
|
+
fr as ReactiveArrayService,
|
|
189
|
+
vo as ResizableHandle,
|
|
190
|
+
ho as ResizablePanel,
|
|
191
|
+
Ro as ResizablePanelGroup,
|
|
192
|
+
Go as Row,
|
|
193
|
+
zo as ScrollArea,
|
|
194
|
+
Bo as ScrollAreaCorner,
|
|
195
|
+
Ho as ScrollAreaScrollbar,
|
|
196
|
+
ko as ScrollAreaThumb,
|
|
197
|
+
Eo as ScrollAreaViewport,
|
|
198
|
+
Oo as SegmentedControl,
|
|
199
|
+
Qo as SegmentedControlItem,
|
|
200
|
+
Vt as SelectContent,
|
|
201
|
+
Gt as SelectInput,
|
|
202
|
+
Lt as SelectItem,
|
|
203
|
+
yt as SelectItemText,
|
|
204
|
+
zt as SelectPortal,
|
|
205
|
+
Bt as SelectTrigger,
|
|
206
|
+
Ht as SelectValue,
|
|
207
|
+
kt as SelectViewport,
|
|
208
|
+
Zo as Spacing,
|
|
209
|
+
Nt as SwitchInput,
|
|
210
|
+
qo as Tab,
|
|
211
|
+
Ko as TabContent,
|
|
212
|
+
Uo as TabList,
|
|
213
|
+
Wo as TabTrigger,
|
|
214
|
+
Yo as Text,
|
|
215
|
+
Qt as TextAreaInput,
|
|
216
|
+
Zt as TextInput,
|
|
217
|
+
$o as Toast,
|
|
218
|
+
or as Tooltip,
|
|
219
|
+
rr as TooltipArrow,
|
|
220
|
+
nr as TooltipContent,
|
|
221
|
+
ar as TooltipPortal,
|
|
222
|
+
pr as TooltipTrigger,
|
|
223
|
+
Ut as buildDefaultSyntax,
|
|
216
224
|
ie as createFilterQueryLanguage,
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
+
qe as emailValidation,
|
|
226
|
+
cr as getDOMSizeFromCodeZeroSize,
|
|
227
|
+
to as getRelativeValue,
|
|
228
|
+
dr as hashToColor,
|
|
229
|
+
Tr as mergeComponentProps,
|
|
230
|
+
Dt as passwordValidation,
|
|
231
|
+
no as resolveIcon,
|
|
232
|
+
er as toast,
|
|
225
233
|
ne as useDataTablePagination,
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
234
|
+
qt as useForm,
|
|
235
|
+
Ir as useReactiveArrayService,
|
|
236
|
+
ur as useService,
|
|
237
|
+
xr as useStore,
|
|
238
|
+
sr as withAlpha
|
|
231
239
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@code0-tech/pictor",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.15.0",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "A simple template for a custom React component library",
|
|
6
6
|
"scripts": {
|
|
@@ -18,6 +18,7 @@
|
|
|
18
18
|
"author": "CodeZero",
|
|
19
19
|
"devDependencies": {
|
|
20
20
|
"@ark-ui/react": "^5.36.2",
|
|
21
|
+
"@internationalized/date": "^3.12.0",
|
|
21
22
|
"@babel/plugin-proposal-decorators": "^7.29.7",
|
|
22
23
|
"@babel/plugin-transform-class-properties": "^7.29.7",
|
|
23
24
|
"@codemirror/autocomplete": "^6.20.3",
|
|
@@ -25,24 +26,24 @@
|
|
|
25
26
|
"@codemirror/language": "^6.12.4",
|
|
26
27
|
"@codemirror/lint": "^6.9.7",
|
|
27
28
|
"@codemirror/state": "^6.7.1",
|
|
28
|
-
"@codemirror/view": "^6.43.
|
|
29
|
+
"@codemirror/view": "^6.43.6",
|
|
29
30
|
"@dagrejs/dagre": "^3.0.0",
|
|
30
31
|
"@icons-pack/react-simple-icons": "^13.13.0",
|
|
31
32
|
"@lezer/common": "^1.5.2",
|
|
32
33
|
"@mdx-js/react": "^3.1.1",
|
|
33
|
-
"@radix-ui/react-checkbox": "^1.3.
|
|
34
|
-
"@radix-ui/react-context-menu": "^2.
|
|
35
|
-
"@radix-ui/react-dialog": "^1.1.
|
|
36
|
-
"@radix-ui/react-dropdown-menu": "^2.1.
|
|
37
|
-
"@radix-ui/react-hover-card": "^1.1.
|
|
38
|
-
"@radix-ui/react-one-time-password-field": "^0.1.
|
|
39
|
-
"@radix-ui/react-progress": "^1.1.
|
|
40
|
-
"@radix-ui/react-radio-group": "^1.
|
|
41
|
-
"@radix-ui/react-scroll-area": "^1.2.
|
|
42
|
-
"@radix-ui/react-select": "^2.
|
|
43
|
-
"@radix-ui/react-tabs": "^1.1.
|
|
44
|
-
"@radix-ui/react-toggle-group": "^1.1.
|
|
45
|
-
"@radix-ui/react-tooltip": "^1.2.
|
|
34
|
+
"@radix-ui/react-checkbox": "^1.3.9",
|
|
35
|
+
"@radix-ui/react-context-menu": "^2.3.5",
|
|
36
|
+
"@radix-ui/react-dialog": "^1.1.21",
|
|
37
|
+
"@radix-ui/react-dropdown-menu": "^2.1.22",
|
|
38
|
+
"@radix-ui/react-hover-card": "^1.1.21",
|
|
39
|
+
"@radix-ui/react-one-time-password-field": "^0.1.14",
|
|
40
|
+
"@radix-ui/react-progress": "^1.1.14",
|
|
41
|
+
"@radix-ui/react-radio-group": "^1.4.5",
|
|
42
|
+
"@radix-ui/react-scroll-area": "^1.2.16",
|
|
43
|
+
"@radix-ui/react-select": "^2.3.5",
|
|
44
|
+
"@radix-ui/react-tabs": "^1.1.19",
|
|
45
|
+
"@radix-ui/react-toggle-group": "^1.1.17",
|
|
46
|
+
"@radix-ui/react-tooltip": "^1.2.14",
|
|
46
47
|
"@rollup/plugin-commonjs": "^29.0.3",
|
|
47
48
|
"@rollup/plugin-node-resolve": "^16.0.3",
|
|
48
49
|
"@rollup/plugin-terser": "^1.0.0",
|
|
@@ -57,7 +58,7 @@
|
|
|
57
58
|
"@storybook/react-vite": "^10.4.2",
|
|
58
59
|
"@tabler/icons-react": "3.41.1",
|
|
59
60
|
"@types/jest-image-snapshot": "^6.4.1",
|
|
60
|
-
"@types/react": "^19.2.
|
|
61
|
+
"@types/react": "^19.2.17",
|
|
61
62
|
"@types/react-dom": "^19.2.3",
|
|
62
63
|
"@types/react-syntax-highlighter": "^15.5.13",
|
|
63
64
|
"@uiw/codemirror-themes": "^4.25.10",
|
|
@@ -80,8 +81,8 @@
|
|
|
80
81
|
"merge-props": "^6.0.0",
|
|
81
82
|
"motion": "^12.40.0",
|
|
82
83
|
"playwright": "1.58.1",
|
|
83
|
-
"react": "^19.2.
|
|
84
|
-
"react-dom": "^19.2.
|
|
84
|
+
"react": "^19.2.7",
|
|
85
|
+
"react-dom": "^19.2.7",
|
|
85
86
|
"react-resizable-panels": "^4.9.0",
|
|
86
87
|
"react-zoom-pan-pinch": "^3.7.0",
|
|
87
88
|
"rimraf": "^6.1.3",
|
|
@@ -93,15 +94,15 @@
|
|
|
93
94
|
"sonner": "^2.0.7",
|
|
94
95
|
"storybook": "^10.4.2",
|
|
95
96
|
"style-loader": "^4.0.0",
|
|
96
|
-
"ts-jest": "^29.4.
|
|
97
|
+
"ts-jest": "^29.4.11",
|
|
97
98
|
"ts-node": "^10.9.2",
|
|
98
99
|
"typescript": "^5.9.3",
|
|
99
|
-
"vite": "^7.3.
|
|
100
|
+
"vite": "^7.3.6",
|
|
100
101
|
"vite-plugin-dts": "^4.5.4",
|
|
101
102
|
"vite-plugin-lib-inject-css": "^2.2.2",
|
|
102
103
|
"vite-plugin-svgr": "^5.2.0",
|
|
103
104
|
"vitest": "^4.1.2",
|
|
104
|
-
"zustand": "^4.
|
|
105
|
+
"zustand": "^4.5.7"
|
|
105
106
|
},
|
|
106
107
|
"main": "dist/index.js",
|
|
107
108
|
"repository": {
|
|
@@ -114,6 +115,7 @@
|
|
|
114
115
|
"types": "dist/index.d.ts",
|
|
115
116
|
"peerDependencies": {
|
|
116
117
|
"@ark-ui/react": "^5.36.2",
|
|
118
|
+
"@internationalized/date": "^3.12.0",
|
|
117
119
|
"@icons-pack/react-simple-icons": "^13.13.0",
|
|
118
120
|
"@codemirror/autocomplete": "^6.20.0",
|
|
119
121
|
"@codemirror/lang-json": "^6.0.2",
|