@multicomma/arkcn 0.1.2 → 0.1.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/registry/index.json +1 -1
- package/registry/items/accordion.json +302 -0
- package/registry/items/activity-feed.json +408 -0
- package/registry/items/alert-dialog.json +676 -0
- package/registry/items/alert.json +113 -0
- package/registry/items/angle-slider.json +378 -0
- package/registry/items/app-shell.json +2654 -1
- package/registry/items/aspect-ratio.json +36 -0
- package/registry/items/attachment.json +299 -1
- package/registry/items/avatar.json +213 -0
- package/registry/items/badge.json +44 -0
- package/registry/items/breadcrumb.json +191 -0
- package/registry/items/bubble.json +146 -0
- package/registry/items/button-group.json +110 -0
- package/registry/items/button.json +52 -0
- package/registry/items/calendar.json +499 -1
- package/registry/items/canvas.json +446 -1
- package/registry/items/card.json +192 -0
- package/registry/items/carousel.json +208 -1
- package/registry/items/cascader.json +797 -1
- package/registry/items/chart.json +1764 -1
- package/registry/items/chat.json +993 -0
- package/registry/items/checkbox.json +503 -0
- package/registry/items/clipboard.json +308 -0
- package/registry/items/collapsible.json +226 -0
- package/registry/items/color-picker.json +1261 -0
- package/registry/items/combobox.json +1123 -1
- package/registry/items/command.json +837 -1
- package/registry/items/comment-thread.json +952 -1
- package/registry/items/context-menu.json +1344 -1
- package/registry/items/data-grid.json +449 -1
- package/registry/items/data-table.json +1310 -1
- package/registry/items/date-input.json +476 -0
- package/registry/items/dialog.json +592 -0
- package/registry/items/direction.json +29 -1
- package/registry/items/drawer.json +797 -0
- package/registry/items/dropdown-menu.json +1311 -1
- package/registry/items/editable.json +503 -0
- package/registry/items/empty.json +166 -0
- package/registry/items/field.json +286 -1
- package/registry/items/file-upload.json +638 -0
- package/registry/items/floating-panel.json +720 -0
- package/registry/items/floating-toolbar.json +43 -0
- package/registry/items/format.json +109 -0
- package/registry/items/gantt.json +773 -1
- package/registry/items/hooks/use-mobile.json +1 -0
- package/registry/items/hotkeys.json +99 -1
- package/registry/items/hover-card.json +357 -0
- package/registry/items/image-cropper.json +431 -0
- package/registry/items/input-group.json +189 -0
- package/registry/items/input-otp.json +181 -0
- package/registry/items/input.json +28 -0
- package/registry/items/item.json +308 -0
- package/registry/items/json-tree-view.json +336 -0
- package/registry/items/kanban.json +624 -1
- package/registry/items/kbd.json +54 -0
- package/registry/items/label.json +28 -0
- package/registry/items/lib/controllable.json +1 -0
- package/registry/items/lib/data-table-adapter.json +1 -0
- package/registry/items/lib/drag-preview.json +1 -0
- package/registry/items/lib/form.json +1 -0
- package/registry/items/lib/history.json +1 -0
- package/registry/items/lib/row-layout.json +1 -0
- package/registry/items/lib/table.json +1 -0
- package/registry/items/lib/time.json +1 -0
- package/registry/items/lib/utils.json +1 -0
- package/registry/items/live-region.json +43 -0
- package/registry/items/marker.json +96 -0
- package/registry/items/marquee.json +300 -0
- package/registry/items/menubar.json +1282 -1
- package/registry/items/message.json +166 -0
- package/registry/items/navigation-menu.json +561 -1
- package/registry/items/node-graph.json +1037 -1
- package/registry/items/number-input.json +519 -0
- package/registry/items/pagination.json +244 -1
- package/registry/items/password-input.json +311 -0
- package/registry/items/popconfirm.json +566 -0
- package/registry/items/popover.json +615 -0
- package/registry/items/progress.json +516 -0
- package/registry/items/qr-code.json +249 -0
- package/registry/items/query-builder.json +1368 -1
- package/registry/items/radio-group.json +362 -0
- package/registry/items/rating-group.json +304 -0
- package/registry/items/resizable.json +242 -1
- package/registry/items/rich-text-editor.json +934 -1
- package/registry/items/scheduler.json +1013 -1
- package/registry/items/scroll-area.json +227 -0
- package/registry/items/segment-group.json +363 -0
- package/registry/items/select.json +956 -0
- package/registry/items/separator.json +45 -1
- package/registry/items/sheet.json +592 -0
- package/registry/items/sidebar.json +785 -1
- package/registry/items/signature-pad.json +330 -0
- package/registry/items/skeleton.json +28 -0
- package/registry/items/slider.json +799 -0
- package/registry/items/sonner.json +135 -0
- package/registry/items/spinner.json +28 -0
- package/registry/items/steps.json +483 -0
- package/registry/items/swap.json +107 -0
- package/registry/items/switch.json +362 -0
- package/registry/items/table.json +210 -0
- package/registry/items/tabs.json +326 -0
- package/registry/items/tags-input.json +640 -0
- package/registry/items/textarea.json +28 -0
- package/registry/items/timer.json +289 -0
- package/registry/items/toc.json +372 -0
- package/registry/items/toggle-group.json +214 -1
- package/registry/items/toggle.json +124 -0
- package/registry/items/tooltip.json +417 -0
- package/registry/items/tour.json +498 -0
- package/registry/items/transfer-list.json +609 -1
- package/registry/items/tree-select.json +742 -1
- package/registry/items/tree-view.json +794 -0
- package/registry/items/virtual-list.json +214 -1
- package/src/components/ui/app-shell.tsx +11 -0
- package/src/components/ui/attachment.tsx +1 -0
- package/src/components/ui/calendar.tsx +1 -0
- package/src/components/ui/canvas.tsx +8 -0
- package/src/components/ui/carousel.tsx +3 -0
- package/src/components/ui/cascader.tsx +1 -0
- package/src/components/ui/chart.tsx +10 -0
- package/src/components/ui/combobox.tsx +3 -0
- package/src/components/ui/command.tsx +1 -0
- package/src/components/ui/comment-thread.tsx +11 -0
- package/src/components/ui/context-menu.tsx +6 -0
- package/src/components/ui/data-grid.tsx +8 -0
- package/src/components/ui/data-table.tsx +6 -0
- package/src/components/ui/direction.tsx +2 -0
- package/src/components/ui/dropdown-menu.tsx +6 -0
- package/src/components/ui/field.tsx +1 -0
- package/src/components/ui/gantt.tsx +15 -0
- package/src/components/ui/hotkeys.tsx +3 -0
- package/src/components/ui/kanban.tsx +3 -0
- package/src/components/ui/menubar.tsx +6 -0
- package/src/components/ui/navigation-menu.tsx +1 -0
- package/src/components/ui/node-graph.tsx +23 -0
- package/src/components/ui/pagination.tsx +1 -0
- package/src/components/ui/query-builder.tsx +7 -0
- package/src/components/ui/resizable.tsx +1 -0
- package/src/components/ui/rich-text-editor.tsx +54 -0
- package/src/components/ui/scheduler.tsx +26 -0
- package/src/components/ui/separator.tsx +1 -0
- package/src/components/ui/sidebar.tsx +5 -0
- package/src/components/ui/toggle-group.tsx +3 -0
- package/src/components/ui/transfer-list.tsx +11 -0
- package/src/components/ui/tree-select.tsx +5 -0
- package/src/components/ui/virtual-list.tsx +7 -0
|
@@ -11,6 +11,249 @@
|
|
|
11
11
|
"PaginationNext",
|
|
12
12
|
"PaginationPrevious"
|
|
13
13
|
],
|
|
14
|
+
"parts": [
|
|
15
|
+
{
|
|
16
|
+
"name": "Pagination",
|
|
17
|
+
"props": [
|
|
18
|
+
{
|
|
19
|
+
"name": "children",
|
|
20
|
+
"type": "ReactNode",
|
|
21
|
+
"required": false,
|
|
22
|
+
"description": "Content rendered inside the part.",
|
|
23
|
+
"from": "@types/react"
|
|
24
|
+
},
|
|
25
|
+
{
|
|
26
|
+
"name": "className",
|
|
27
|
+
"type": "string",
|
|
28
|
+
"required": false,
|
|
29
|
+
"description": "Extra classes merged into the part's own classes with `cn`.",
|
|
30
|
+
"from": "@types/react"
|
|
31
|
+
},
|
|
32
|
+
{
|
|
33
|
+
"name": "style",
|
|
34
|
+
"type": "CSSProperties",
|
|
35
|
+
"required": false,
|
|
36
|
+
"description": "Inline styles applied to the rendered element.",
|
|
37
|
+
"from": "@types/react"
|
|
38
|
+
}
|
|
39
|
+
]
|
|
40
|
+
},
|
|
41
|
+
{
|
|
42
|
+
"name": "PaginationContent",
|
|
43
|
+
"props": [
|
|
44
|
+
{
|
|
45
|
+
"name": "children",
|
|
46
|
+
"type": "ReactNode",
|
|
47
|
+
"required": false,
|
|
48
|
+
"description": "Content rendered inside the part.",
|
|
49
|
+
"from": "@types/react"
|
|
50
|
+
},
|
|
51
|
+
{
|
|
52
|
+
"name": "className",
|
|
53
|
+
"type": "string",
|
|
54
|
+
"required": false,
|
|
55
|
+
"description": "Extra classes merged into the part's own classes with `cn`.",
|
|
56
|
+
"from": "@types/react"
|
|
57
|
+
},
|
|
58
|
+
{
|
|
59
|
+
"name": "style",
|
|
60
|
+
"type": "CSSProperties",
|
|
61
|
+
"required": false,
|
|
62
|
+
"description": "Inline styles applied to the rendered element.",
|
|
63
|
+
"from": "@types/react"
|
|
64
|
+
}
|
|
65
|
+
]
|
|
66
|
+
},
|
|
67
|
+
{
|
|
68
|
+
"name": "PaginationEllipsis",
|
|
69
|
+
"props": [
|
|
70
|
+
{
|
|
71
|
+
"name": "children",
|
|
72
|
+
"type": "ReactNode",
|
|
73
|
+
"required": false,
|
|
74
|
+
"description": "Content rendered inside the part.",
|
|
75
|
+
"from": "@types/react"
|
|
76
|
+
},
|
|
77
|
+
{
|
|
78
|
+
"name": "className",
|
|
79
|
+
"type": "string",
|
|
80
|
+
"required": false,
|
|
81
|
+
"description": "Extra classes merged into the part's own classes with `cn`.",
|
|
82
|
+
"from": "@types/react"
|
|
83
|
+
},
|
|
84
|
+
{
|
|
85
|
+
"name": "style",
|
|
86
|
+
"type": "CSSProperties",
|
|
87
|
+
"required": false,
|
|
88
|
+
"description": "Inline styles applied to the rendered element.",
|
|
89
|
+
"from": "@types/react"
|
|
90
|
+
}
|
|
91
|
+
]
|
|
92
|
+
},
|
|
93
|
+
{
|
|
94
|
+
"name": "PaginationItem",
|
|
95
|
+
"props": [
|
|
96
|
+
{
|
|
97
|
+
"name": "children",
|
|
98
|
+
"type": "ReactNode",
|
|
99
|
+
"required": false,
|
|
100
|
+
"description": "Content rendered inside the part.",
|
|
101
|
+
"from": "@types/react"
|
|
102
|
+
},
|
|
103
|
+
{
|
|
104
|
+
"name": "className",
|
|
105
|
+
"type": "string",
|
|
106
|
+
"required": false,
|
|
107
|
+
"description": "Extra classes merged into the part's own classes with `cn`.",
|
|
108
|
+
"from": "@types/react"
|
|
109
|
+
},
|
|
110
|
+
{
|
|
111
|
+
"name": "style",
|
|
112
|
+
"type": "CSSProperties",
|
|
113
|
+
"required": false,
|
|
114
|
+
"description": "Inline styles applied to the rendered element.",
|
|
115
|
+
"from": "@types/react"
|
|
116
|
+
}
|
|
117
|
+
]
|
|
118
|
+
},
|
|
119
|
+
{
|
|
120
|
+
"name": "PaginationLink",
|
|
121
|
+
"props": [
|
|
122
|
+
{
|
|
123
|
+
"name": "isActive",
|
|
124
|
+
"type": "boolean",
|
|
125
|
+
"required": false,
|
|
126
|
+
"description": "Marks the current page link.",
|
|
127
|
+
"from": "arkcn"
|
|
128
|
+
},
|
|
129
|
+
{
|
|
130
|
+
"name": "size",
|
|
131
|
+
"type": "\"default\" | \"xs\" | \"sm\" | \"lg\" | \"icon\" | \"icon-xs\" | \"icon-sm\" | \"icon-lg\" | null",
|
|
132
|
+
"required": false,
|
|
133
|
+
"default": "\"icon\"",
|
|
134
|
+
"description": "Size variant; sets a `data-size` attribute.",
|
|
135
|
+
"from": "arkcn"
|
|
136
|
+
},
|
|
137
|
+
{
|
|
138
|
+
"name": "children",
|
|
139
|
+
"type": "ReactNode",
|
|
140
|
+
"required": false,
|
|
141
|
+
"description": "Content rendered inside the part.",
|
|
142
|
+
"from": "@types/react"
|
|
143
|
+
},
|
|
144
|
+
{
|
|
145
|
+
"name": "className",
|
|
146
|
+
"type": "string",
|
|
147
|
+
"required": false,
|
|
148
|
+
"description": "Extra classes merged into the part's own classes with `cn`.",
|
|
149
|
+
"from": "@types/react"
|
|
150
|
+
},
|
|
151
|
+
{
|
|
152
|
+
"name": "style",
|
|
153
|
+
"type": "CSSProperties",
|
|
154
|
+
"required": false,
|
|
155
|
+
"description": "Inline styles applied to the rendered element.",
|
|
156
|
+
"from": "@types/react"
|
|
157
|
+
}
|
|
158
|
+
]
|
|
159
|
+
},
|
|
160
|
+
{
|
|
161
|
+
"name": "PaginationNext",
|
|
162
|
+
"props": [
|
|
163
|
+
{
|
|
164
|
+
"name": "isActive",
|
|
165
|
+
"type": "boolean",
|
|
166
|
+
"required": false,
|
|
167
|
+
"description": "Marks the current page link.",
|
|
168
|
+
"from": "arkcn"
|
|
169
|
+
},
|
|
170
|
+
{
|
|
171
|
+
"name": "size",
|
|
172
|
+
"type": "\"default\" | \"xs\" | \"sm\" | \"lg\" | \"icon\" | \"icon-xs\" | \"icon-sm\" | \"icon-lg\" | null",
|
|
173
|
+
"required": false,
|
|
174
|
+
"description": "Size variant; sets a `data-size` attribute.",
|
|
175
|
+
"from": "arkcn"
|
|
176
|
+
},
|
|
177
|
+
{
|
|
178
|
+
"name": "text",
|
|
179
|
+
"type": "string",
|
|
180
|
+
"required": false,
|
|
181
|
+
"default": "\"Next\"",
|
|
182
|
+
"description": "Visible label.",
|
|
183
|
+
"from": "arkcn"
|
|
184
|
+
},
|
|
185
|
+
{
|
|
186
|
+
"name": "children",
|
|
187
|
+
"type": "ReactNode",
|
|
188
|
+
"required": false,
|
|
189
|
+
"description": "Content rendered inside the part.",
|
|
190
|
+
"from": "@types/react"
|
|
191
|
+
},
|
|
192
|
+
{
|
|
193
|
+
"name": "className",
|
|
194
|
+
"type": "string",
|
|
195
|
+
"required": false,
|
|
196
|
+
"description": "Extra classes merged into the part's own classes with `cn`.",
|
|
197
|
+
"from": "@types/react"
|
|
198
|
+
},
|
|
199
|
+
{
|
|
200
|
+
"name": "style",
|
|
201
|
+
"type": "CSSProperties",
|
|
202
|
+
"required": false,
|
|
203
|
+
"description": "Inline styles applied to the rendered element.",
|
|
204
|
+
"from": "@types/react"
|
|
205
|
+
}
|
|
206
|
+
]
|
|
207
|
+
},
|
|
208
|
+
{
|
|
209
|
+
"name": "PaginationPrevious",
|
|
210
|
+
"props": [
|
|
211
|
+
{
|
|
212
|
+
"name": "isActive",
|
|
213
|
+
"type": "boolean",
|
|
214
|
+
"required": false,
|
|
215
|
+
"description": "Marks the current page link.",
|
|
216
|
+
"from": "arkcn"
|
|
217
|
+
},
|
|
218
|
+
{
|
|
219
|
+
"name": "size",
|
|
220
|
+
"type": "\"default\" | \"xs\" | \"sm\" | \"lg\" | \"icon\" | \"icon-xs\" | \"icon-sm\" | \"icon-lg\" | null",
|
|
221
|
+
"required": false,
|
|
222
|
+
"description": "Size variant; sets a `data-size` attribute.",
|
|
223
|
+
"from": "arkcn"
|
|
224
|
+
},
|
|
225
|
+
{
|
|
226
|
+
"name": "text",
|
|
227
|
+
"type": "string",
|
|
228
|
+
"required": false,
|
|
229
|
+
"default": "\"Previous\"",
|
|
230
|
+
"description": "Visible label.",
|
|
231
|
+
"from": "arkcn"
|
|
232
|
+
},
|
|
233
|
+
{
|
|
234
|
+
"name": "children",
|
|
235
|
+
"type": "ReactNode",
|
|
236
|
+
"required": false,
|
|
237
|
+
"description": "Content rendered inside the part.",
|
|
238
|
+
"from": "@types/react"
|
|
239
|
+
},
|
|
240
|
+
{
|
|
241
|
+
"name": "className",
|
|
242
|
+
"type": "string",
|
|
243
|
+
"required": false,
|
|
244
|
+
"description": "Extra classes merged into the part's own classes with `cn`.",
|
|
245
|
+
"from": "@types/react"
|
|
246
|
+
},
|
|
247
|
+
{
|
|
248
|
+
"name": "style",
|
|
249
|
+
"type": "CSSProperties",
|
|
250
|
+
"required": false,
|
|
251
|
+
"description": "Inline styles applied to the rendered element.",
|
|
252
|
+
"from": "@types/react"
|
|
253
|
+
}
|
|
254
|
+
]
|
|
255
|
+
}
|
|
256
|
+
],
|
|
14
257
|
"dependencies": {
|
|
15
258
|
"lucide-react": "^1.41.0"
|
|
16
259
|
},
|
|
@@ -21,7 +264,7 @@
|
|
|
21
264
|
"files": [
|
|
22
265
|
{
|
|
23
266
|
"path": "components/ui/pagination.tsx",
|
|
24
|
-
"content": "import * as React from \"react\"\nimport { cn } from \"@/lib/utils\"\n\nimport { Button } from \"@/components/ui/button\"\nimport { ChevronLeftIcon, ChevronRightIcon, MoreHorizontalIcon } from \"lucide-react\"\n\nfunction Pagination({ className, ...props }: React.ComponentProps<\"nav\">) {\n return (\n <nav\n role=\"navigation\"\n aria-label=\"pagination\"\n data-slot=\"pagination\"\n className={cn(\"mx-auto flex w-full justify-center\", className)}\n {...props}\n />\n )\n}\n\nfunction PaginationContent({ className, ...props }: React.ComponentProps<\"ul\">) {\n return <ul data-slot=\"pagination-content\" className={cn(\"flex items-center gap-0.5\", className)} {...props} />\n}\n\nfunction PaginationItem({ ...props }: React.ComponentProps<\"li\">) {\n return <li data-slot=\"pagination-item\" {...props} />\n}\n\ntype PaginationLinkProps = {\n isActive?: boolean\n} & Pick<React.ComponentProps<typeof Button>, \"size\"> &\n React.ComponentProps<\"a\">\n\nfunction PaginationLink({ className, isActive, size = \"icon\", ...props }: PaginationLinkProps) {\n return (\n <Button asChild variant={isActive ? \"outline\" : \"ghost\"} size={size} className={cn(className)}>\n <a aria-current={isActive ? \"page\" : undefined} data-slot=\"pagination-link\" data-active={isActive} {...props} />\n </Button>\n )\n}\n\nfunction PaginationPrevious({\n className,\n text = \"Previous\",\n ...props\n}: React.ComponentProps<typeof PaginationLink> & { text?: string }) {\n return (\n <PaginationLink aria-label=\"Go to previous page\" size=\"default\" className={cn(\"pl-1.5!\", className)} {...props}>\n <ChevronLeftIcon data-icon=\"inline-start\" />\n <span className=\"hidden sm:block\">{text}</span>\n </PaginationLink>\n )\n}\n\nfunction PaginationNext({\n className,\n text = \"Next\",\n ...props\n}: React.ComponentProps<typeof PaginationLink> & { text?: string }) {\n return (\n <PaginationLink aria-label=\"Go to next page\" size=\"default\" className={cn(\"pr-1.5!\", className)} {...props}>\n <span className=\"hidden sm:block\">{text}</span>\n <ChevronRightIcon data-icon=\"inline-end\" />\n </PaginationLink>\n )\n}\n\nfunction PaginationEllipsis({ className, ...props }: React.ComponentProps<\"span\">) {\n return (\n <span\n aria-hidden\n data-slot=\"pagination-ellipsis\"\n className={cn(\"flex size-8 items-center justify-center [&_svg:not([class*='size-'])]:size-4\", className)}\n {...props}\n >\n <MoreHorizontalIcon />\n <span className=\"sr-only\">More pages</span>\n </span>\n )\n}\n\nexport {\n Pagination,\n PaginationContent,\n PaginationEllipsis,\n PaginationItem,\n PaginationLink,\n PaginationNext,\n PaginationPrevious,\n}\n"
|
|
267
|
+
"content": "import * as React from \"react\"\nimport { cn } from \"@/lib/utils\"\n\nimport { Button } from \"@/components/ui/button\"\nimport { ChevronLeftIcon, ChevronRightIcon, MoreHorizontalIcon } from \"lucide-react\"\n\nfunction Pagination({ className, ...props }: React.ComponentProps<\"nav\">) {\n return (\n <nav\n role=\"navigation\"\n aria-label=\"pagination\"\n data-slot=\"pagination\"\n className={cn(\"mx-auto flex w-full justify-center\", className)}\n {...props}\n />\n )\n}\n\nfunction PaginationContent({ className, ...props }: React.ComponentProps<\"ul\">) {\n return <ul data-slot=\"pagination-content\" className={cn(\"flex items-center gap-0.5\", className)} {...props} />\n}\n\nfunction PaginationItem({ ...props }: React.ComponentProps<\"li\">) {\n return <li data-slot=\"pagination-item\" {...props} />\n}\n\ntype PaginationLinkProps = {\n /** Marks the current page link. */\n isActive?: boolean\n} & Pick<React.ComponentProps<typeof Button>, \"size\"> &\n React.ComponentProps<\"a\">\n\nfunction PaginationLink({ className, isActive, size = \"icon\", ...props }: PaginationLinkProps) {\n return (\n <Button asChild variant={isActive ? \"outline\" : \"ghost\"} size={size} className={cn(className)}>\n <a aria-current={isActive ? \"page\" : undefined} data-slot=\"pagination-link\" data-active={isActive} {...props} />\n </Button>\n )\n}\n\nfunction PaginationPrevious({\n className,\n text = \"Previous\",\n ...props\n}: React.ComponentProps<typeof PaginationLink> & { text?: string }) {\n return (\n <PaginationLink aria-label=\"Go to previous page\" size=\"default\" className={cn(\"pl-1.5!\", className)} {...props}>\n <ChevronLeftIcon data-icon=\"inline-start\" />\n <span className=\"hidden sm:block\">{text}</span>\n </PaginationLink>\n )\n}\n\nfunction PaginationNext({\n className,\n text = \"Next\",\n ...props\n}: React.ComponentProps<typeof PaginationLink> & { text?: string }) {\n return (\n <PaginationLink aria-label=\"Go to next page\" size=\"default\" className={cn(\"pr-1.5!\", className)} {...props}>\n <span className=\"hidden sm:block\">{text}</span>\n <ChevronRightIcon data-icon=\"inline-end\" />\n </PaginationLink>\n )\n}\n\nfunction PaginationEllipsis({ className, ...props }: React.ComponentProps<\"span\">) {\n return (\n <span\n aria-hidden\n data-slot=\"pagination-ellipsis\"\n className={cn(\"flex size-8 items-center justify-center [&_svg:not([class*='size-'])]:size-4\", className)}\n {...props}\n >\n <MoreHorizontalIcon />\n <span className=\"sr-only\">More pages</span>\n </span>\n )\n}\n\nexport {\n Pagination,\n PaginationContent,\n PaginationEllipsis,\n PaginationItem,\n PaginationLink,\n PaginationNext,\n PaginationPrevious,\n}\n"
|
|
25
268
|
}
|
|
26
269
|
]
|
|
27
270
|
}
|
|
@@ -12,6 +12,317 @@
|
|
|
12
12
|
"PasswordInputLabel",
|
|
13
13
|
"PasswordInputVisibilityTrigger"
|
|
14
14
|
],
|
|
15
|
+
"parts": [
|
|
16
|
+
{
|
|
17
|
+
"name": "PasswordInput",
|
|
18
|
+
"props": [
|
|
19
|
+
{
|
|
20
|
+
"name": "asChild",
|
|
21
|
+
"type": "boolean",
|
|
22
|
+
"required": false,
|
|
23
|
+
"description": "Use the provided child element as the default rendered element, combining their props and behavior.",
|
|
24
|
+
"from": "@ark-ui/react"
|
|
25
|
+
},
|
|
26
|
+
{
|
|
27
|
+
"name": "autoComplete",
|
|
28
|
+
"type": "\"current-password\" | \"new-password\"",
|
|
29
|
+
"required": false,
|
|
30
|
+
"default": "\"current-password\"",
|
|
31
|
+
"description": "The autocomplete attribute for the password input.",
|
|
32
|
+
"from": "@zag-js/password-input"
|
|
33
|
+
},
|
|
34
|
+
{
|
|
35
|
+
"name": "children",
|
|
36
|
+
"type": "ReactNode",
|
|
37
|
+
"required": false,
|
|
38
|
+
"description": "Content rendered inside the part.",
|
|
39
|
+
"from": "@types/react"
|
|
40
|
+
},
|
|
41
|
+
{
|
|
42
|
+
"name": "className",
|
|
43
|
+
"type": "string",
|
|
44
|
+
"required": false,
|
|
45
|
+
"description": "Extra classes merged into the part's own classes with `cn`.",
|
|
46
|
+
"from": "@types/react"
|
|
47
|
+
},
|
|
48
|
+
{
|
|
49
|
+
"name": "defaultVisible",
|
|
50
|
+
"type": "boolean",
|
|
51
|
+
"required": false,
|
|
52
|
+
"description": "The default visibility of the password input.",
|
|
53
|
+
"from": "@zag-js/password-input"
|
|
54
|
+
},
|
|
55
|
+
{
|
|
56
|
+
"name": "disabled",
|
|
57
|
+
"type": "boolean",
|
|
58
|
+
"required": false,
|
|
59
|
+
"description": "Whether the password input is disabled.",
|
|
60
|
+
"from": "@zag-js/password-input"
|
|
61
|
+
},
|
|
62
|
+
{
|
|
63
|
+
"name": "id",
|
|
64
|
+
"type": "string",
|
|
65
|
+
"required": false,
|
|
66
|
+
"description": "The unique identifier of the machine.",
|
|
67
|
+
"from": "@zag-js/types"
|
|
68
|
+
},
|
|
69
|
+
{
|
|
70
|
+
"name": "ids",
|
|
71
|
+
"type": "ElementIds",
|
|
72
|
+
"required": false,
|
|
73
|
+
"description": "The ids of the password input parts",
|
|
74
|
+
"from": "@zag-js/password-input"
|
|
75
|
+
},
|
|
76
|
+
{
|
|
77
|
+
"name": "ignorePasswordManagers",
|
|
78
|
+
"type": "boolean",
|
|
79
|
+
"required": false,
|
|
80
|
+
"description": "When `true`, the input will ignore password managers.\n\n**Only works for the following password managers**\n- 1Password, LastPass, Bitwarden, Dashlane, Proton Pass",
|
|
81
|
+
"from": "@zag-js/password-input"
|
|
82
|
+
},
|
|
83
|
+
{
|
|
84
|
+
"name": "invalid",
|
|
85
|
+
"type": "boolean",
|
|
86
|
+
"required": false,
|
|
87
|
+
"description": "The invalid state of the password input.",
|
|
88
|
+
"from": "@zag-js/password-input"
|
|
89
|
+
},
|
|
90
|
+
{
|
|
91
|
+
"name": "name",
|
|
92
|
+
"type": "string",
|
|
93
|
+
"required": false,
|
|
94
|
+
"description": "The name of the password input.",
|
|
95
|
+
"from": "@zag-js/password-input"
|
|
96
|
+
},
|
|
97
|
+
{
|
|
98
|
+
"name": "onVisibilityChange",
|
|
99
|
+
"type": "((details: VisibilityChangeDetails) => void)",
|
|
100
|
+
"required": false,
|
|
101
|
+
"description": "Function called when the visibility changes.",
|
|
102
|
+
"from": "@zag-js/password-input"
|
|
103
|
+
},
|
|
104
|
+
{
|
|
105
|
+
"name": "readOnly",
|
|
106
|
+
"type": "boolean",
|
|
107
|
+
"required": false,
|
|
108
|
+
"description": "Whether the password input is read only.",
|
|
109
|
+
"from": "@zag-js/password-input"
|
|
110
|
+
},
|
|
111
|
+
{
|
|
112
|
+
"name": "required",
|
|
113
|
+
"type": "boolean",
|
|
114
|
+
"required": false,
|
|
115
|
+
"description": "Whether the password input is required.",
|
|
116
|
+
"from": "@zag-js/password-input"
|
|
117
|
+
},
|
|
118
|
+
{
|
|
119
|
+
"name": "style",
|
|
120
|
+
"type": "CSSProperties",
|
|
121
|
+
"required": false,
|
|
122
|
+
"description": "Inline styles applied to the rendered element.",
|
|
123
|
+
"from": "@types/react"
|
|
124
|
+
},
|
|
125
|
+
{
|
|
126
|
+
"name": "translations",
|
|
127
|
+
"type": "IntlTranslations",
|
|
128
|
+
"required": false,
|
|
129
|
+
"description": "The localized messages to use.",
|
|
130
|
+
"from": "@zag-js/password-input"
|
|
131
|
+
},
|
|
132
|
+
{
|
|
133
|
+
"name": "visible",
|
|
134
|
+
"type": "boolean",
|
|
135
|
+
"required": false,
|
|
136
|
+
"description": "Whether the password input is visible.",
|
|
137
|
+
"from": "@zag-js/password-input"
|
|
138
|
+
}
|
|
139
|
+
]
|
|
140
|
+
},
|
|
141
|
+
{
|
|
142
|
+
"name": "PasswordInputContext",
|
|
143
|
+
"props": [
|
|
144
|
+
{
|
|
145
|
+
"name": "children",
|
|
146
|
+
"type": "(context: UsePasswordInputReturn) => ReactNode",
|
|
147
|
+
"required": true,
|
|
148
|
+
"description": "Content rendered inside the part.",
|
|
149
|
+
"from": "@ark-ui/react"
|
|
150
|
+
}
|
|
151
|
+
]
|
|
152
|
+
},
|
|
153
|
+
{
|
|
154
|
+
"name": "PasswordInputControl",
|
|
155
|
+
"props": [
|
|
156
|
+
{
|
|
157
|
+
"name": "asChild",
|
|
158
|
+
"type": "boolean",
|
|
159
|
+
"required": false,
|
|
160
|
+
"description": "Use the provided child element as the default rendered element, combining their props and behavior.",
|
|
161
|
+
"from": "@ark-ui/react"
|
|
162
|
+
},
|
|
163
|
+
{
|
|
164
|
+
"name": "children",
|
|
165
|
+
"type": "ReactNode",
|
|
166
|
+
"required": false,
|
|
167
|
+
"description": "Content rendered inside the part.",
|
|
168
|
+
"from": "@types/react"
|
|
169
|
+
},
|
|
170
|
+
{
|
|
171
|
+
"name": "className",
|
|
172
|
+
"type": "string",
|
|
173
|
+
"required": false,
|
|
174
|
+
"description": "Extra classes merged into the part's own classes with `cn`.",
|
|
175
|
+
"from": "@types/react"
|
|
176
|
+
},
|
|
177
|
+
{
|
|
178
|
+
"name": "style",
|
|
179
|
+
"type": "CSSProperties",
|
|
180
|
+
"required": false,
|
|
181
|
+
"description": "Inline styles applied to the rendered element.",
|
|
182
|
+
"from": "@types/react"
|
|
183
|
+
}
|
|
184
|
+
]
|
|
185
|
+
},
|
|
186
|
+
{
|
|
187
|
+
"name": "PasswordInputIndicator",
|
|
188
|
+
"props": [
|
|
189
|
+
{
|
|
190
|
+
"name": "asChild",
|
|
191
|
+
"type": "boolean",
|
|
192
|
+
"required": false,
|
|
193
|
+
"description": "Use the provided child element as the default rendered element, combining their props and behavior.",
|
|
194
|
+
"from": "@ark-ui/react"
|
|
195
|
+
},
|
|
196
|
+
{
|
|
197
|
+
"name": "children",
|
|
198
|
+
"type": "ReactNode",
|
|
199
|
+
"required": false,
|
|
200
|
+
"description": "Content rendered inside the part.",
|
|
201
|
+
"from": "@types/react"
|
|
202
|
+
},
|
|
203
|
+
{
|
|
204
|
+
"name": "className",
|
|
205
|
+
"type": "string",
|
|
206
|
+
"required": false,
|
|
207
|
+
"description": "Extra classes merged into the part's own classes with `cn`.",
|
|
208
|
+
"from": "@types/react"
|
|
209
|
+
},
|
|
210
|
+
{
|
|
211
|
+
"name": "fallback",
|
|
212
|
+
"type": "ReactNode",
|
|
213
|
+
"required": false,
|
|
214
|
+
"description": "The fallback content to display when the password is not visible.",
|
|
215
|
+
"from": "@ark-ui/react"
|
|
216
|
+
},
|
|
217
|
+
{
|
|
218
|
+
"name": "style",
|
|
219
|
+
"type": "CSSProperties",
|
|
220
|
+
"required": false,
|
|
221
|
+
"description": "Inline styles applied to the rendered element.",
|
|
222
|
+
"from": "@types/react"
|
|
223
|
+
}
|
|
224
|
+
]
|
|
225
|
+
},
|
|
226
|
+
{
|
|
227
|
+
"name": "PasswordInputInput",
|
|
228
|
+
"props": [
|
|
229
|
+
{
|
|
230
|
+
"name": "asChild",
|
|
231
|
+
"type": "boolean",
|
|
232
|
+
"required": false,
|
|
233
|
+
"description": "Use the provided child element as the default rendered element, combining their props and behavior.",
|
|
234
|
+
"from": "@ark-ui/react"
|
|
235
|
+
},
|
|
236
|
+
{
|
|
237
|
+
"name": "children",
|
|
238
|
+
"type": "ReactNode",
|
|
239
|
+
"required": false,
|
|
240
|
+
"description": "Content rendered inside the part.",
|
|
241
|
+
"from": "@types/react"
|
|
242
|
+
},
|
|
243
|
+
{
|
|
244
|
+
"name": "className",
|
|
245
|
+
"type": "string",
|
|
246
|
+
"required": false,
|
|
247
|
+
"description": "Extra classes merged into the part's own classes with `cn`.",
|
|
248
|
+
"from": "@types/react"
|
|
249
|
+
},
|
|
250
|
+
{
|
|
251
|
+
"name": "style",
|
|
252
|
+
"type": "CSSProperties",
|
|
253
|
+
"required": false,
|
|
254
|
+
"description": "Inline styles applied to the rendered element.",
|
|
255
|
+
"from": "@types/react"
|
|
256
|
+
}
|
|
257
|
+
]
|
|
258
|
+
},
|
|
259
|
+
{
|
|
260
|
+
"name": "PasswordInputLabel",
|
|
261
|
+
"props": [
|
|
262
|
+
{
|
|
263
|
+
"name": "asChild",
|
|
264
|
+
"type": "boolean",
|
|
265
|
+
"required": false,
|
|
266
|
+
"description": "Use the provided child element as the default rendered element, combining their props and behavior.",
|
|
267
|
+
"from": "@ark-ui/react"
|
|
268
|
+
},
|
|
269
|
+
{
|
|
270
|
+
"name": "children",
|
|
271
|
+
"type": "ReactNode",
|
|
272
|
+
"required": false,
|
|
273
|
+
"description": "Content rendered inside the part.",
|
|
274
|
+
"from": "@types/react"
|
|
275
|
+
},
|
|
276
|
+
{
|
|
277
|
+
"name": "className",
|
|
278
|
+
"type": "string",
|
|
279
|
+
"required": false,
|
|
280
|
+
"description": "Extra classes merged into the part's own classes with `cn`.",
|
|
281
|
+
"from": "@types/react"
|
|
282
|
+
},
|
|
283
|
+
{
|
|
284
|
+
"name": "style",
|
|
285
|
+
"type": "CSSProperties",
|
|
286
|
+
"required": false,
|
|
287
|
+
"description": "Inline styles applied to the rendered element.",
|
|
288
|
+
"from": "@types/react"
|
|
289
|
+
}
|
|
290
|
+
]
|
|
291
|
+
},
|
|
292
|
+
{
|
|
293
|
+
"name": "PasswordInputVisibilityTrigger",
|
|
294
|
+
"props": [
|
|
295
|
+
{
|
|
296
|
+
"name": "asChild",
|
|
297
|
+
"type": "boolean",
|
|
298
|
+
"required": false,
|
|
299
|
+
"description": "Use the provided child element as the default rendered element, combining their props and behavior.",
|
|
300
|
+
"from": "@ark-ui/react"
|
|
301
|
+
},
|
|
302
|
+
{
|
|
303
|
+
"name": "children",
|
|
304
|
+
"type": "ReactNode",
|
|
305
|
+
"required": false,
|
|
306
|
+
"description": "Content rendered inside the part.",
|
|
307
|
+
"from": "@types/react"
|
|
308
|
+
},
|
|
309
|
+
{
|
|
310
|
+
"name": "className",
|
|
311
|
+
"type": "string",
|
|
312
|
+
"required": false,
|
|
313
|
+
"description": "Extra classes merged into the part's own classes with `cn`.",
|
|
314
|
+
"from": "@types/react"
|
|
315
|
+
},
|
|
316
|
+
{
|
|
317
|
+
"name": "style",
|
|
318
|
+
"type": "CSSProperties",
|
|
319
|
+
"required": false,
|
|
320
|
+
"description": "Inline styles applied to the rendered element.",
|
|
321
|
+
"from": "@types/react"
|
|
322
|
+
}
|
|
323
|
+
]
|
|
324
|
+
}
|
|
325
|
+
],
|
|
15
326
|
"dependencies": {
|
|
16
327
|
"@ark-ui/react": "^5.39.1",
|
|
17
328
|
"lucide-react": "^1.41.0"
|