@code0-tech/pictor 0.15.0 → 0.16.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/dist/assets/components/avatar/Avatar.style.css +1 -1
- package/dist/assets/components/chart/Chart.style.css +1 -0
- package/dist/assets/components/form/ColorInput.style.css +1 -0
- package/dist/components/alert/Alert.js +33 -31
- package/dist/components/chart/Chart.d.ts +32 -0
- package/dist/components/chart/Chart.js +157 -0
- package/dist/components/chart/LineChart.d.ts +27 -0
- package/dist/components/chart/LineChart.js +76 -0
- package/dist/components/chart/index.d.ts +2 -0
- package/dist/components/chart/index.js +8 -0
- package/dist/components/command/Command.js +31 -30
- package/dist/components/form/ColorInput.d.ts +33 -0
- package/dist/components/form/ColorInput.js +355 -0
- package/dist/components/form/Input.js +229 -221
- package/dist/components/form/InputLabel.d.ts +2 -1
- package/dist/components/form/InputLabel.js +20 -9
- package/dist/components/form/index.d.ts +1 -0
- package/dist/components/form/index.js +78 -71
- package/dist/components/toast/Toast.js +61 -61
- package/dist/index.d.ts +1 -0
- package/dist/index.js +242 -229
- package/package.json +26 -20
package/dist/index.js
CHANGED
|
@@ -1,239 +1,252 @@
|
|
|
1
|
-
import { Alert as
|
|
1
|
+
import { Alert as t } 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
|
-
import { Badge as
|
|
5
|
-
import { Breadcrumb as
|
|
4
|
+
import { Badge as i } from "./components/badge/Badge.js";
|
|
5
|
+
import { Breadcrumb as m } from "./components/breadcrumb/Breadcrumb.js";
|
|
6
6
|
import { Button as g } from "./components/button/Button.js";
|
|
7
|
-
import { ButtonGroup as
|
|
7
|
+
import { ButtonGroup as C } from "./components/button-group/ButtonGroup.js";
|
|
8
8
|
import { Card as T } from "./components/card/Card.js";
|
|
9
|
-
import {
|
|
10
|
-
import {
|
|
11
|
-
import {
|
|
12
|
-
import {
|
|
13
|
-
import {
|
|
14
|
-
import {
|
|
15
|
-
import {
|
|
16
|
-
import {
|
|
17
|
-
import {
|
|
18
|
-
import {
|
|
19
|
-
import {
|
|
20
|
-
import {
|
|
21
|
-
import {
|
|
22
|
-
import {
|
|
23
|
-
import {
|
|
24
|
-
import {
|
|
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 {
|
|
66
|
-
import {
|
|
9
|
+
import { LineChart as b } from "./components/chart/LineChart.js";
|
|
10
|
+
import { ChartContainer as s, ChartLegendContent as c, ChartTooltipContent as D } from "./components/chart/Chart.js";
|
|
11
|
+
import { Col as F } from "./components/col/Col.js";
|
|
12
|
+
import { Command as A, CommandDialog as w, CommandEmpty as h, CommandGroup as v, CommandInput as L, CommandItem as V, CommandList as R, CommandSeparator as G, CommandShortcut as y } from "./components/command/Command.js";
|
|
13
|
+
import { Container as B } from "./components/container/Container.js";
|
|
14
|
+
import { ContextMenu as k, ContextMenuArrow as E, ContextMenuContent as N, ContextMenuGroup as O, ContextMenuItem as Q, ContextMenuLabel as J, ContextMenuPortal as Z, ContextMenuSeparator as j, ContextMenuSub as q, ContextMenuSubContent as K, ContextMenuSubTrigger as U, ContextMenuTrigger as W } from "./components/context-menu/ContextMenu.js";
|
|
15
|
+
import { DataTable as Y } from "./components/data-table/DataTable.js";
|
|
16
|
+
import { DataTableColumn as $ } from "./components/data-table/DataTableColumn.js";
|
|
17
|
+
import { DataTableHeader as oe, DataTableHeaderColumn as te } from "./components/data-table/DataTableHeader.js";
|
|
18
|
+
import { DataTableMaxPaginationValue as ne, DataTablePagination as ae, DataTablePaginationBackwardsTrigger as pe, DataTablePaginationContext as le, DataTablePaginationForwardTrigger as ie, DataTablePaginationValue as ue, useDataTablePagination as me } from "./components/data-table/DataTablePagination.js";
|
|
19
|
+
import { DataTableFilterInput as ge, createFilterQueryLanguage as fe } from "./components/data-table/DataTableFilterInput.js";
|
|
20
|
+
import { DataTableFilterSuggestionMenu as Ie } from "./components/data-table/DataTableFilterSuggestionMenu.js";
|
|
21
|
+
import { Dialog as Se, DialogClose as be, DialogContent as de, DialogDescription as se, DialogFooter as ce, DialogHeader as De, DialogOverlay as Me, DialogPortal as Fe, DialogTitle as Pe, DialogTrigger as Ae } from "./components/dialog/Dialog.js";
|
|
22
|
+
import { Editor as he } from "./components/editor/Editor.js";
|
|
23
|
+
import { FileTabsService as Le } from "./components/file-tabs/FileTabs.service.js";
|
|
24
|
+
import { FileTabs as Re, FileTabsContent as Ge, FileTabsList as ye, FileTabsTrigger as ze } from "./components/file-tabs/FileTabs.js";
|
|
25
|
+
import { Flex as He } from "./components/flex/Flex.js";
|
|
26
|
+
import { CheckboxInput as Ee } from "./components/form/CheckboxInput.js";
|
|
27
|
+
import { ColorInput as Oe, ColorInputContent as Qe, ColorInputControl as Je, ColorInputSwatch as Ze, ColorInputTrigger as je, ColorInputValueText as qe } from "./components/form/ColorInput.js";
|
|
28
|
+
import { DateInput as Ue, DateInputContent as We, DateInputControl as Xe, DateInputField as Ye, DateInputNextTrigger as _e, DateInputPrevTrigger as $e, DateInputTrigger as eo } from "./components/form/DateInput.js";
|
|
29
|
+
import { EditorInput as to } from "./components/form/EditorInput.js";
|
|
30
|
+
import { EmailInput as no, emailValidation as ao } from "./components/form/EmailInput.js";
|
|
31
|
+
import { FileInput as lo, FileInputContext as io, FileInputDropzone as uo, FileInputHiddenInput as mo, FileInputItem as xo, FileInputItemDeleteTrigger as go, FileInputItemGroup as fo, FileInputItemName as Co, FileInputItemPreview as Io, FileInputItemPreviewImage as To, FileInputItemSizeText as So, FileInputTrigger as bo } from "./components/form/FileInput.js";
|
|
32
|
+
import { Input as co } from "./components/form/Input.js";
|
|
33
|
+
import { InputDescription as Mo } from "./components/form/InputDescription.js";
|
|
34
|
+
import { InputLabel as Po } from "./components/form/InputLabel.js";
|
|
35
|
+
import { InputMessage as wo } from "./components/form/InputMessage.js";
|
|
36
|
+
import { InputSuggestionMenuContent as vo, InputSuggestionMenuContentItems as Lo } from "./components/form/InputSuggestion.js";
|
|
37
|
+
import { NumberInput as Ro } from "./components/form/NumberInput.js";
|
|
38
|
+
import { PasswordInput as yo, passwordValidation as zo } from "./components/form/PasswordInput.js";
|
|
39
|
+
import { PinInput as Ho, PinInputField as ko, PinInputHiddenField as Eo } from "./components/form/PinInput.js";
|
|
40
|
+
import { RadioGroup as Oo } from "./components/form/RadioGroup.js";
|
|
41
|
+
import { RadioInput as Jo } from "./components/form/RadioInput.js";
|
|
42
|
+
import { SelectContent as jo, SelectInput as qo, SelectItem as Ko, SelectItemText as Uo, SelectPortal as Wo, SelectTrigger as Xo, SelectValue as Yo, SelectViewport as _o } from "./components/form/SelectInput.js";
|
|
43
|
+
import { SwitchInput as et } from "./components/form/SwitchInput.js";
|
|
44
|
+
import { TextAreaInput as tt } from "./components/form/TextAreaInput.js";
|
|
45
|
+
import { TextInput as nt } from "./components/form/TextInput.js";
|
|
46
|
+
import { useForm as pt } from "./components/form/useForm.js";
|
|
47
|
+
import { buildDefaultSyntax as it } from "./components/form/Input.syntax.hook.js";
|
|
48
|
+
import { JsonView as mt } from "./components/json-view/JsonView.js";
|
|
49
|
+
import { FullScreen as gt } from "./components/fullscreen/FullScreen.js";
|
|
50
|
+
import { Gantt as Ct, getRelativeValue as It } from "./components/gantt/Gantt.js";
|
|
51
|
+
import { Icon as St, resolveIcon as bt } from "./components/icon/Icon.js";
|
|
52
|
+
import { Layout as st } from "./components/layout/Layout.js";
|
|
53
|
+
import { Menu as Dt, MenuArrow as Mt, MenuCheckboxItem as Ft, MenuContent as Pt, MenuGroup as At, MenuItem as wt, MenuItemIndicator as ht, MenuLabel as vt, MenuPortal as Lt, MenuSeparator as Vt, MenuSub as Rt, MenuSubContent as Gt, MenuSubTrigger as yt, MenuTrigger as zt } from "./components/menu/Menu.js";
|
|
54
|
+
import { Progress as Ht } from "./components/progress/Progress.js";
|
|
55
|
+
import { Quote as Et } from "./components/quote/Quote.js";
|
|
56
|
+
import { ResizableHandle as Ot, ResizablePanel as Qt, ResizablePanelGroup as Jt } from "./components/resizable/Resizable.js";
|
|
57
|
+
import { Row as jt } from "./components/row/Row.js";
|
|
58
|
+
import { AutoScrollArea as Kt, ScrollArea as Ut, ScrollAreaCorner as Wt, ScrollAreaScrollbar as Xt, ScrollAreaThumb as Yt, ScrollAreaViewport as _t } from "./components/scroll-area/ScrollArea.js";
|
|
59
|
+
import { SegmentedControl as er, SegmentedControlItem as or } from "./components/segmented-control/SegmentedControl.js";
|
|
60
|
+
import { Spacing as rr } from "./components/spacing/Spacing.js";
|
|
61
|
+
import { Tab as ar, TabContent as pr, TabList as lr, TabTrigger as ir } from "./components/tab/Tab.js";
|
|
62
|
+
import { Text as mr } from "./components/text/Text.js";
|
|
63
|
+
import { Toast as gr, toast as fr } from "./components/toast/Toast.js";
|
|
64
|
+
import { Tooltip as Ir, TooltipArrow as Tr, TooltipContent as Sr, TooltipPortal as br, TooltipTrigger as dr } from "./components/tooltip/Tooltip.js";
|
|
65
|
+
import { ContextStore as cr, ContextStoreProvider as Dr, useService as Mr, useStore as Fr } from "./utils/contextStore.js";
|
|
66
|
+
import { ReactiveArrayService as Ar, useReactiveArrayService as wr } from "./utils/reactiveArrayService.js";
|
|
67
|
+
import { mergeComponentProps as vr } from "./utils/component.js";
|
|
68
|
+
import { Colors as Vr, hashToColor as Rr, withAlpha as Gr } from "./utils/color.js";
|
|
69
|
+
import { getDOMSizeFromCodeZeroSize as zr } from "./utils/size.js";
|
|
67
70
|
export {
|
|
68
|
-
|
|
71
|
+
t as Alert,
|
|
69
72
|
n as AuroraBackground,
|
|
70
|
-
|
|
73
|
+
Kt as AutoScrollArea,
|
|
71
74
|
p as Avatar,
|
|
72
|
-
|
|
73
|
-
|
|
75
|
+
i as Badge,
|
|
76
|
+
m as Breadcrumb,
|
|
74
77
|
g as Button,
|
|
75
|
-
|
|
78
|
+
C as ButtonGroup,
|
|
76
79
|
T as Card,
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
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
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
Tr as
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
80
|
+
s as ChartContainer,
|
|
81
|
+
c as ChartLegendContent,
|
|
82
|
+
D as ChartTooltipContent,
|
|
83
|
+
Ee as CheckboxInput,
|
|
84
|
+
F as Col,
|
|
85
|
+
Oe as ColorInput,
|
|
86
|
+
Qe as ColorInputContent,
|
|
87
|
+
Je as ColorInputControl,
|
|
88
|
+
Ze as ColorInputSwatch,
|
|
89
|
+
je as ColorInputTrigger,
|
|
90
|
+
qe as ColorInputValueText,
|
|
91
|
+
Vr as Colors,
|
|
92
|
+
A as Command,
|
|
93
|
+
w as CommandDialog,
|
|
94
|
+
h as CommandEmpty,
|
|
95
|
+
v as CommandGroup,
|
|
96
|
+
L as CommandInput,
|
|
97
|
+
V as CommandItem,
|
|
98
|
+
R as CommandList,
|
|
99
|
+
G as CommandSeparator,
|
|
100
|
+
y as CommandShortcut,
|
|
101
|
+
B as Container,
|
|
102
|
+
k as ContextMenu,
|
|
103
|
+
E as ContextMenuArrow,
|
|
104
|
+
N as ContextMenuContent,
|
|
105
|
+
O as ContextMenuGroup,
|
|
106
|
+
Q as ContextMenuItem,
|
|
107
|
+
J as ContextMenuLabel,
|
|
108
|
+
Z as ContextMenuPortal,
|
|
109
|
+
j as ContextMenuSeparator,
|
|
110
|
+
q as ContextMenuSub,
|
|
111
|
+
K as ContextMenuSubContent,
|
|
112
|
+
U as ContextMenuSubTrigger,
|
|
113
|
+
W as ContextMenuTrigger,
|
|
114
|
+
cr as ContextStore,
|
|
115
|
+
Dr as ContextStoreProvider,
|
|
116
|
+
Y as DataTable,
|
|
117
|
+
$ as DataTableColumn,
|
|
118
|
+
ge as DataTableFilterInput,
|
|
119
|
+
Ie as DataTableFilterSuggestionMenu,
|
|
120
|
+
oe as DataTableHeader,
|
|
121
|
+
te as DataTableHeaderColumn,
|
|
122
|
+
ne as DataTableMaxPaginationValue,
|
|
123
|
+
ae as DataTablePagination,
|
|
124
|
+
pe as DataTablePaginationBackwardsTrigger,
|
|
125
|
+
le as DataTablePaginationContext,
|
|
126
|
+
ie as DataTablePaginationForwardTrigger,
|
|
127
|
+
ue as DataTablePaginationValue,
|
|
128
|
+
Ue as DateInput,
|
|
129
|
+
We as DateInputContent,
|
|
130
|
+
Xe as DateInputControl,
|
|
131
|
+
Ye as DateInputField,
|
|
132
|
+
_e as DateInputNextTrigger,
|
|
133
|
+
$e as DateInputPrevTrigger,
|
|
134
|
+
eo as DateInputTrigger,
|
|
135
|
+
Se as Dialog,
|
|
136
|
+
be as DialogClose,
|
|
137
|
+
de as DialogContent,
|
|
138
|
+
se as DialogDescription,
|
|
139
|
+
ce as DialogFooter,
|
|
140
|
+
De as DialogHeader,
|
|
141
|
+
Me as DialogOverlay,
|
|
142
|
+
Fe as DialogPortal,
|
|
143
|
+
Pe as DialogTitle,
|
|
144
|
+
Ae as DialogTrigger,
|
|
145
|
+
he as Editor,
|
|
146
|
+
to as EditorInput,
|
|
147
|
+
no as EmailInput,
|
|
148
|
+
lo as FileInput,
|
|
149
|
+
io as FileInputContext,
|
|
150
|
+
uo as FileInputDropzone,
|
|
151
|
+
mo as FileInputHiddenInput,
|
|
152
|
+
xo as FileInputItem,
|
|
153
|
+
go as FileInputItemDeleteTrigger,
|
|
154
|
+
fo as FileInputItemGroup,
|
|
155
|
+
Co as FileInputItemName,
|
|
156
|
+
Io as FileInputItemPreview,
|
|
157
|
+
To as FileInputItemPreviewImage,
|
|
158
|
+
So as FileInputItemSizeText,
|
|
159
|
+
bo as FileInputTrigger,
|
|
160
|
+
Re as FileTabs,
|
|
161
|
+
Ge as FileTabsContent,
|
|
162
|
+
ye as FileTabsList,
|
|
163
|
+
Le as FileTabsService,
|
|
164
|
+
ze as FileTabsTrigger,
|
|
165
|
+
He as Flex,
|
|
166
|
+
gt as FullScreen,
|
|
167
|
+
Ct as Gantt,
|
|
168
|
+
St as Icon,
|
|
169
|
+
co as Input,
|
|
170
|
+
Mo as InputDescription,
|
|
171
|
+
Po as InputLabel,
|
|
172
|
+
wo as InputMessage,
|
|
173
|
+
vo as InputSuggestionMenuContent,
|
|
174
|
+
Lo as InputSuggestionMenuContentItems,
|
|
175
|
+
mt as JsonView,
|
|
176
|
+
st as Layout,
|
|
177
|
+
b as LineChart,
|
|
178
|
+
Dt as Menu,
|
|
179
|
+
Mt as MenuArrow,
|
|
180
|
+
Ft as MenuCheckboxItem,
|
|
181
|
+
Pt as MenuContent,
|
|
182
|
+
At as MenuGroup,
|
|
183
|
+
wt as MenuItem,
|
|
184
|
+
ht as MenuItemIndicator,
|
|
185
|
+
vt as MenuLabel,
|
|
186
|
+
Lt as MenuPortal,
|
|
187
|
+
Vt as MenuSeparator,
|
|
188
|
+
Rt as MenuSub,
|
|
189
|
+
Gt as MenuSubContent,
|
|
190
|
+
yt as MenuSubTrigger,
|
|
191
|
+
zt as MenuTrigger,
|
|
192
|
+
Ro as NumberInput,
|
|
193
|
+
yo as PasswordInput,
|
|
194
|
+
Ho as PinInput,
|
|
195
|
+
ko as PinInputField,
|
|
196
|
+
Eo as PinInputHiddenField,
|
|
197
|
+
Ht as Progress,
|
|
198
|
+
Et as Quote,
|
|
199
|
+
Oo as RadioGroup,
|
|
200
|
+
Jo as RadioInput,
|
|
201
|
+
Ar as ReactiveArrayService,
|
|
202
|
+
Ot as ResizableHandle,
|
|
203
|
+
Qt as ResizablePanel,
|
|
204
|
+
Jt as ResizablePanelGroup,
|
|
205
|
+
jt as Row,
|
|
206
|
+
Ut as ScrollArea,
|
|
207
|
+
Wt as ScrollAreaCorner,
|
|
208
|
+
Xt as ScrollAreaScrollbar,
|
|
209
|
+
Yt as ScrollAreaThumb,
|
|
210
|
+
_t as ScrollAreaViewport,
|
|
211
|
+
er as SegmentedControl,
|
|
212
|
+
or as SegmentedControlItem,
|
|
213
|
+
jo as SelectContent,
|
|
214
|
+
qo as SelectInput,
|
|
215
|
+
Ko as SelectItem,
|
|
216
|
+
Uo as SelectItemText,
|
|
217
|
+
Wo as SelectPortal,
|
|
218
|
+
Xo as SelectTrigger,
|
|
219
|
+
Yo as SelectValue,
|
|
220
|
+
_o as SelectViewport,
|
|
221
|
+
rr as Spacing,
|
|
222
|
+
et as SwitchInput,
|
|
223
|
+
ar as Tab,
|
|
224
|
+
pr as TabContent,
|
|
225
|
+
lr as TabList,
|
|
226
|
+
ir as TabTrigger,
|
|
227
|
+
mr as Text,
|
|
228
|
+
tt as TextAreaInput,
|
|
229
|
+
nt as TextInput,
|
|
230
|
+
gr as Toast,
|
|
231
|
+
Ir as Tooltip,
|
|
232
|
+
Tr as TooltipArrow,
|
|
233
|
+
Sr as TooltipContent,
|
|
234
|
+
br as TooltipPortal,
|
|
235
|
+
dr as TooltipTrigger,
|
|
236
|
+
it as buildDefaultSyntax,
|
|
237
|
+
fe as createFilterQueryLanguage,
|
|
238
|
+
ao as emailValidation,
|
|
239
|
+
zr as getDOMSizeFromCodeZeroSize,
|
|
240
|
+
It as getRelativeValue,
|
|
241
|
+
Rr as hashToColor,
|
|
242
|
+
vr as mergeComponentProps,
|
|
243
|
+
zo as passwordValidation,
|
|
244
|
+
bt as resolveIcon,
|
|
245
|
+
fr as toast,
|
|
246
|
+
me as useDataTablePagination,
|
|
247
|
+
pt as useForm,
|
|
248
|
+
wr as useReactiveArrayService,
|
|
249
|
+
Mr as useService,
|
|
250
|
+
Fr as useStore,
|
|
251
|
+
Gr as withAlpha
|
|
239
252
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@code0-tech/pictor",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.16.0",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "A simple template for a custom React component library",
|
|
6
6
|
"scripts": {
|
|
@@ -17,8 +17,7 @@
|
|
|
17
17
|
},
|
|
18
18
|
"author": "CodeZero",
|
|
19
19
|
"devDependencies": {
|
|
20
|
-
"@ark-ui/react": "^5.
|
|
21
|
-
"@internationalized/date": "^3.12.0",
|
|
20
|
+
"@ark-ui/react": "^5.38.1",
|
|
22
21
|
"@babel/plugin-proposal-decorators": "^7.29.7",
|
|
23
22
|
"@babel/plugin-transform-class-properties": "^7.29.7",
|
|
24
23
|
"@codemirror/autocomplete": "^6.20.3",
|
|
@@ -29,21 +28,22 @@
|
|
|
29
28
|
"@codemirror/view": "^6.43.6",
|
|
30
29
|
"@dagrejs/dagre": "^3.0.0",
|
|
31
30
|
"@icons-pack/react-simple-icons": "^13.13.0",
|
|
31
|
+
"@internationalized/date": "^3.12.0",
|
|
32
32
|
"@lezer/common": "^1.5.2",
|
|
33
33
|
"@mdx-js/react": "^3.1.1",
|
|
34
|
-
"@radix-ui/react-checkbox": "^1.3.
|
|
35
|
-
"@radix-ui/react-context-menu": "^2.3.
|
|
36
|
-
"@radix-ui/react-dialog": "^1.1.
|
|
37
|
-
"@radix-ui/react-dropdown-menu": "^2.1.
|
|
38
|
-
"@radix-ui/react-hover-card": "^1.1.
|
|
39
|
-
"@radix-ui/react-one-time-password-field": "^0.1.
|
|
40
|
-
"@radix-ui/react-progress": "^1.1.
|
|
41
|
-
"@radix-ui/react-radio-group": "^1.4.
|
|
42
|
-
"@radix-ui/react-scroll-area": "^1.2.
|
|
43
|
-
"@radix-ui/react-select": "^2.3.
|
|
44
|
-
"@radix-ui/react-tabs": "^1.1.
|
|
45
|
-
"@radix-ui/react-toggle-group": "^1.1.
|
|
46
|
-
"@radix-ui/react-tooltip": "^1.2.
|
|
34
|
+
"@radix-ui/react-checkbox": "^1.3.11",
|
|
35
|
+
"@radix-ui/react-context-menu": "^2.3.7",
|
|
36
|
+
"@radix-ui/react-dialog": "^1.1.23",
|
|
37
|
+
"@radix-ui/react-dropdown-menu": "^2.1.24",
|
|
38
|
+
"@radix-ui/react-hover-card": "^1.1.23",
|
|
39
|
+
"@radix-ui/react-one-time-password-field": "^0.1.16",
|
|
40
|
+
"@radix-ui/react-progress": "^1.1.16",
|
|
41
|
+
"@radix-ui/react-radio-group": "^1.4.7",
|
|
42
|
+
"@radix-ui/react-scroll-area": "^1.2.18",
|
|
43
|
+
"@radix-ui/react-select": "^2.3.7",
|
|
44
|
+
"@radix-ui/react-tabs": "^1.1.21",
|
|
45
|
+
"@radix-ui/react-toggle-group": "^1.1.19",
|
|
46
|
+
"@radix-ui/react-tooltip": "^1.2.16",
|
|
47
47
|
"@rollup/plugin-commonjs": "^29.0.3",
|
|
48
48
|
"@rollup/plugin-node-resolve": "^16.0.3",
|
|
49
49
|
"@rollup/plugin-terser": "^1.0.0",
|
|
@@ -61,6 +61,7 @@
|
|
|
61
61
|
"@types/react": "^19.2.17",
|
|
62
62
|
"@types/react-dom": "^19.2.3",
|
|
63
63
|
"@types/react-syntax-highlighter": "^15.5.13",
|
|
64
|
+
"@uidotdev/usehooks": "^2.4.1",
|
|
64
65
|
"@uiw/codemirror-themes": "^4.25.10",
|
|
65
66
|
"@uiw/react-codemirror": "^4.25.10",
|
|
66
67
|
"@uiw/react-json-view": "^2.0.0-alpha.43",
|
|
@@ -83,6 +84,7 @@
|
|
|
83
84
|
"playwright": "1.58.1",
|
|
84
85
|
"react": "^19.2.7",
|
|
85
86
|
"react-dom": "^19.2.7",
|
|
87
|
+
"react-hotkeys-hook": "^5.3.3",
|
|
86
88
|
"react-resizable-panels": "^4.9.0",
|
|
87
89
|
"react-zoom-pan-pinch": "^3.7.0",
|
|
88
90
|
"rimraf": "^6.1.3",
|
|
@@ -102,7 +104,8 @@
|
|
|
102
104
|
"vite-plugin-lib-inject-css": "^2.2.2",
|
|
103
105
|
"vite-plugin-svgr": "^5.2.0",
|
|
104
106
|
"vitest": "^4.1.2",
|
|
105
|
-
"zustand": "^4.5.7"
|
|
107
|
+
"zustand": "^4.5.7",
|
|
108
|
+
"recharts": "^3.8.1"
|
|
106
109
|
},
|
|
107
110
|
"main": "dist/index.js",
|
|
108
111
|
"repository": {
|
|
@@ -115,14 +118,14 @@
|
|
|
115
118
|
"types": "dist/index.d.ts",
|
|
116
119
|
"peerDependencies": {
|
|
117
120
|
"@ark-ui/react": "^5.36.2",
|
|
118
|
-
"@internationalized/date": "^3.12.0",
|
|
119
|
-
"@icons-pack/react-simple-icons": "^13.13.0",
|
|
120
121
|
"@codemirror/autocomplete": "^6.20.0",
|
|
121
122
|
"@codemirror/lang-json": "^6.0.2",
|
|
122
123
|
"@codemirror/language": "^6.12.1",
|
|
123
124
|
"@codemirror/lint": "^6.9.4",
|
|
124
125
|
"@codemirror/state": "^6.5.4",
|
|
125
126
|
"@codemirror/view": "^6.39.13",
|
|
127
|
+
"@icons-pack/react-simple-icons": "^13.13.0",
|
|
128
|
+
"@internationalized/date": "^3.12.0",
|
|
126
129
|
"@radix-ui/react-checkbox": "^1.3.3",
|
|
127
130
|
"@radix-ui/react-context-menu": "^2.2.16",
|
|
128
131
|
"@radix-ui/react-dialog": "^1.1.15",
|
|
@@ -137,6 +140,7 @@
|
|
|
137
140
|
"@radix-ui/react-toggle-group": "^1.1.11",
|
|
138
141
|
"@radix-ui/react-tooltip": "^1.2.8",
|
|
139
142
|
"@tabler/icons-react": "3.41.1",
|
|
143
|
+
"@uidotdev/usehooks": "^2.4.1",
|
|
140
144
|
"@uiw/codemirror-themes": "^4.25.4",
|
|
141
145
|
"@uiw/react-codemirror": "^4.25.4",
|
|
142
146
|
"@uiw/react-json-view": "^2.0.0-alpha.43",
|
|
@@ -147,13 +151,15 @@
|
|
|
147
151
|
"motion": "^12.40.0",
|
|
148
152
|
"react": "^18.0.0 || ^19.0.0",
|
|
149
153
|
"react-dom": "^18.0.0 || ^19.0.0",
|
|
154
|
+
"react-hotkeys-hook": "^5.0.0",
|
|
150
155
|
"react-resizable-panels": "^4.3.1",
|
|
151
156
|
"react-zoom-pan-pinch": "^3.7.0",
|
|
152
157
|
"slate": "^0.124.0",
|
|
153
158
|
"slate-history": "^0.113.0",
|
|
154
159
|
"slate-react": "^0.125.0",
|
|
155
160
|
"sonner": "^2.0.7",
|
|
156
|
-
"zustand": ">=4.3.0 <5.0.0"
|
|
161
|
+
"zustand": ">=4.3.0 <5.0.0",
|
|
162
|
+
"recharts": "^3.8.1"
|
|
157
163
|
},
|
|
158
164
|
"publishConfig": {
|
|
159
165
|
"access": "public"
|