@pactor-app/ui 0.1.0 → 1.1.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/ui/index.js CHANGED
@@ -1,8 +1,123 @@
1
1
  import {
2
2
  Alert,
3
3
  AlertDescription,
4
+ AlertDialog,
5
+ AlertDialogAction,
6
+ AlertDialogCancel,
7
+ AlertDialogContent,
8
+ AlertDialogDescription,
9
+ AlertDialogFooter,
10
+ AlertDialogHeader,
11
+ AlertDialogOverlay,
12
+ AlertDialogPortal,
13
+ AlertDialogTitle,
14
+ AlertDialogTrigger,
4
15
  AlertTitle,
16
+ AspectRatio,
17
+ Avatar,
18
+ AvatarFallback,
19
+ AvatarImage,
20
+ Badge,
21
+ Breadcrumb,
22
+ BreadcrumbEllipsis,
23
+ BreadcrumbItem,
24
+ BreadcrumbLink,
25
+ BreadcrumbList,
26
+ BreadcrumbPage,
27
+ BreadcrumbSeparator,
28
+ ButtonGroup,
29
+ CHART_TOKEN_COLORS,
30
+ Calendar,
31
+ Carousel,
32
+ CarouselContent,
33
+ CarouselItem,
34
+ CarouselNext,
35
+ CarouselPrevious,
36
+ ChartContainer,
37
+ Checkbox,
38
+ Collapsible,
39
+ CollapsibleContent,
40
+ CollapsibleTrigger,
41
+ Combobox,
42
+ ComboboxContent,
43
+ ComboboxTrigger,
44
+ Command,
45
+ CommandEmpty,
46
+ CommandGroup,
47
+ CommandInput,
48
+ CommandItem,
49
+ CommandList,
50
+ ContextMenu,
51
+ ContextMenuContent,
52
+ ContextMenuItem,
53
+ ContextMenuSeparator,
54
+ ContextMenuTrigger,
55
+ DropdownMenu,
56
+ DropdownMenuContent,
57
+ DropdownMenuItem,
58
+ DropdownMenuSeparator,
59
+ DropdownMenuSub,
60
+ DropdownMenuSubContent,
61
+ DropdownMenuSubTrigger,
62
+ DropdownMenuTrigger,
63
+ Empty,
64
+ EmptyContent,
65
+ EmptyDescription,
66
+ EmptyHeader,
67
+ EmptyTitle,
68
+ Field,
69
+ FieldDescription,
70
+ FieldError,
71
+ FieldLabel,
72
+ HoverCard,
73
+ HoverCardContent,
74
+ HoverCardTrigger,
5
75
  Input,
76
+ InputGroup,
77
+ InputGroupAddon,
78
+ InputGroupInput,
79
+ InputOTP,
80
+ InputOTPGroup,
81
+ InputOTPSeparator,
82
+ InputOTPSlot,
83
+ Item,
84
+ ItemActions,
85
+ ItemContent,
86
+ ItemDescription,
87
+ ItemMedia,
88
+ ItemTitle,
89
+ Kbd,
90
+ Label,
91
+ Menubar,
92
+ MenubarContent,
93
+ MenubarItem,
94
+ MenubarMenu,
95
+ MenubarSeparator,
96
+ MenubarTrigger,
97
+ NavigationMenu,
98
+ NavigationMenuContent,
99
+ NavigationMenuItem,
100
+ NavigationMenuLink,
101
+ NavigationMenuList,
102
+ NavigationMenuTrigger,
103
+ NavigationMenuViewport,
104
+ Pagination,
105
+ PaginationContent,
106
+ PaginationEllipsis,
107
+ PaginationItem,
108
+ PaginationLink,
109
+ PaginationNext,
110
+ PaginationPrevious,
111
+ Panel,
112
+ PanelGroup,
113
+ Progress,
114
+ ProgressIndicator,
115
+ ProgressTrack,
116
+ RadioGroup,
117
+ RadioGroupItem,
118
+ ResizableHandle,
119
+ ScrollArea,
120
+ ScrollBar,
6
121
  Select,
7
122
  SelectContent,
8
123
  SelectGroup,
@@ -13,6 +128,25 @@ import {
13
128
  SelectSeparator,
14
129
  SelectTrigger,
15
130
  SelectValue,
131
+ Separator,
132
+ Sheet,
133
+ SheetClose,
134
+ SheetContent,
135
+ SheetDescription,
136
+ SheetFooter,
137
+ SheetHeader,
138
+ SheetOverlay,
139
+ SheetPortal,
140
+ SheetTitle,
141
+ SheetTrigger,
142
+ Skeleton,
143
+ Slider,
144
+ SliderControl,
145
+ SliderIndicator,
146
+ SliderThumb,
147
+ SliderTrack,
148
+ Spinner,
149
+ Switch,
16
150
  Table,
17
151
  TableBody,
18
152
  TableCaption,
@@ -24,9 +158,28 @@ import {
24
158
  Tabs,
25
159
  TabsContent,
26
160
  TabsList,
27
- TabsTrigger
28
- } from "../chunk-OUTSIJMO.js";
161
+ TabsTrigger,
162
+ Textarea,
163
+ Toaster,
164
+ Toggle,
165
+ ToggleGroup,
166
+ ToggleGroupItem,
167
+ Tooltip,
168
+ TooltipContent,
169
+ TooltipProvider,
170
+ TooltipTrigger,
171
+ Typography,
172
+ badgeVariants,
173
+ chartColor,
174
+ navigationMenuTriggerStyle,
175
+ toast,
176
+ toastManager,
177
+ toggleVariants,
178
+ typographyVariants,
179
+ useCarousel
180
+ } from "../chunk-BVHAP22U.js";
29
181
  import {
182
+ Button,
30
183
  Dialog,
31
184
  DialogClose,
32
185
  DialogContent,
@@ -36,141 +189,36 @@ import {
36
189
  DialogOverlay,
37
190
  DialogPortal,
38
191
  DialogTitle,
39
- DialogTrigger
40
- } from "../chunk-QDTVOJ5P.js";
41
- import {
42
- Button,
192
+ DialogTrigger,
193
+ Drawer,
194
+ DrawerClose,
195
+ DrawerContent,
196
+ DrawerDescription,
197
+ DrawerFooter,
198
+ DrawerHeader,
199
+ DrawerOverlay,
200
+ DrawerPortal,
201
+ DrawerTitle,
202
+ DrawerTrigger,
43
203
  buttonVariants
44
- } from "../chunk-QWZ23QLS.js";
204
+ } from "../chunk-F3H23KYG.js";
45
205
  import {
46
206
  Accordion,
47
207
  AccordionContent,
48
208
  AccordionItem,
49
209
  AccordionTrigger,
50
- Popover,
51
- PopoverContent,
52
- PopoverTrigger
53
- } from "../chunk-SNFDI77B.js";
54
- import {
55
210
  Card,
56
211
  CardAction,
57
212
  CardContent,
58
213
  CardDescription,
59
214
  CardFooter,
60
215
  CardHeader,
61
- CardTitle
62
- } from "../chunk-57NRUZ5G.js";
63
- import {
64
- cn
65
- } from "../chunk-RQHJBTEU.js";
66
-
67
- // src/ui/badge.tsx
68
- import { cva } from "class-variance-authority";
69
- import { jsx } from "react/jsx-runtime";
70
- var badgeVariants = cva(
71
- "inline-flex w-fit shrink-0 items-center justify-center gap-1 overflow-hidden rounded-md border px-2 py-0.5 text-xs font-medium whitespace-nowrap [&>svg]:pointer-events-none [&>svg]:size-3",
72
- {
73
- variants: {
74
- variant: {
75
- default: "border-transparent bg-primary text-primary-foreground",
76
- secondary: "border-transparent bg-secondary text-secondary-foreground",
77
- destructive: "border-transparent bg-destructive text-destructive-foreground",
78
- outline: "border-border text-foreground"
79
- }
80
- },
81
- defaultVariants: {
82
- variant: "default"
83
- }
84
- }
85
- );
86
- function Badge({
87
- className,
88
- variant,
89
- ...props
90
- }) {
91
- return /* @__PURE__ */ jsx(
92
- "span",
93
- {
94
- "data-slot": "badge",
95
- className: cn(badgeVariants({ variant }), className),
96
- ...props
97
- }
98
- );
99
- }
100
-
101
- // src/ui/label.tsx
102
- import { jsx as jsx2 } from "react/jsx-runtime";
103
- function Label({
104
- className,
105
- ...props
106
- }) {
107
- return /* @__PURE__ */ jsx2(
108
- "label",
109
- {
110
- "data-slot": "label",
111
- className: cn(
112
- "flex items-center gap-2 text-sm leading-none font-medium select-none group-data-[disabled=true]:pointer-events-none group-data-[disabled=true]:opacity-50 peer-disabled:cursor-not-allowed peer-disabled:opacity-50",
113
- className
114
- ),
115
- ...props
116
- }
117
- );
118
- }
119
-
120
- // src/ui/separator.tsx
121
- import { Separator as SeparatorPrimitive } from "@base-ui/react/separator";
122
- import { jsx as jsx3 } from "react/jsx-runtime";
123
- function Separator({
124
- className,
125
- orientation = "horizontal",
126
- decorative: _decorative,
127
- ...props
128
- }) {
129
- return /* @__PURE__ */ jsx3(
130
- SeparatorPrimitive,
131
- {
132
- "data-slot": "separator",
133
- orientation,
134
- className: cn(
135
- "shrink-0 bg-border data-[orientation=horizontal]:h-px data-[orientation=horizontal]:w-full data-[orientation=vertical]:h-full data-[orientation=vertical]:w-px",
136
- className
137
- ),
138
- ...props
139
- }
140
- );
141
- }
142
-
143
- // src/ui/skeleton.tsx
144
- import { jsx as jsx4 } from "react/jsx-runtime";
145
- function Skeleton({ className, ...props }) {
146
- return /* @__PURE__ */ jsx4(
147
- "div",
148
- {
149
- "data-slot": "skeleton",
150
- className: cn("animate-pulse rounded-md bg-muted", className),
151
- ...props
152
- }
153
- );
154
- }
155
-
156
- // src/ui/textarea.tsx
157
- import { jsx as jsx5 } from "react/jsx-runtime";
158
- function Textarea({
159
- className,
160
- ...props
161
- }) {
162
- return /* @__PURE__ */ jsx5(
163
- "textarea",
164
- {
165
- "data-slot": "textarea",
166
- className: cn(
167
- "flex field-sizing-content min-h-16 w-full rounded-md border border-input bg-transparent px-3 py-2 text-sm shadow-xs transition-colors outline-none placeholder:text-muted-foreground focus-visible:border-ring focus-visible:ring-[3px] focus-visible:ring-ring/50 disabled:cursor-not-allowed disabled:opacity-50",
168
- className
169
- ),
170
- ...props
171
- }
172
- );
173
- }
216
+ CardTitle,
217
+ Popover,
218
+ PopoverContent,
219
+ PopoverTrigger
220
+ } from "../chunk-GL7IO22L.js";
221
+ import "../chunk-RQHJBTEU.js";
174
222
  export {
175
223
  Accordion,
176
224
  AccordionContent,
@@ -178,9 +226,34 @@ export {
178
226
  AccordionTrigger,
179
227
  Alert,
180
228
  AlertDescription,
229
+ AlertDialog,
230
+ AlertDialogAction,
231
+ AlertDialogCancel,
232
+ AlertDialogContent,
233
+ AlertDialogDescription,
234
+ AlertDialogFooter,
235
+ AlertDialogHeader,
236
+ AlertDialogOverlay,
237
+ AlertDialogPortal,
238
+ AlertDialogTitle,
239
+ AlertDialogTrigger,
181
240
  AlertTitle,
241
+ AspectRatio,
242
+ Avatar,
243
+ AvatarFallback,
244
+ AvatarImage,
182
245
  Badge,
246
+ Breadcrumb,
247
+ BreadcrumbEllipsis,
248
+ BreadcrumbItem,
249
+ BreadcrumbLink,
250
+ BreadcrumbList,
251
+ BreadcrumbPage,
252
+ BreadcrumbSeparator,
183
253
  Button,
254
+ ButtonGroup,
255
+ CHART_TOKEN_COLORS,
256
+ Calendar,
184
257
  Card,
185
258
  CardAction,
186
259
  CardContent,
@@ -188,6 +261,30 @@ export {
188
261
  CardFooter,
189
262
  CardHeader,
190
263
  CardTitle,
264
+ Carousel,
265
+ CarouselContent,
266
+ CarouselItem,
267
+ CarouselNext,
268
+ CarouselPrevious,
269
+ ChartContainer,
270
+ Checkbox,
271
+ Collapsible,
272
+ CollapsibleContent,
273
+ CollapsibleTrigger,
274
+ Combobox,
275
+ ComboboxContent,
276
+ ComboboxTrigger,
277
+ Command,
278
+ CommandEmpty,
279
+ CommandGroup,
280
+ CommandInput,
281
+ CommandItem,
282
+ CommandList,
283
+ ContextMenu,
284
+ ContextMenuContent,
285
+ ContextMenuItem,
286
+ ContextMenuSeparator,
287
+ ContextMenuTrigger,
191
288
  Dialog,
192
289
  DialogClose,
193
290
  DialogContent,
@@ -198,11 +295,85 @@ export {
198
295
  DialogPortal,
199
296
  DialogTitle,
200
297
  DialogTrigger,
298
+ Drawer,
299
+ DrawerClose,
300
+ DrawerContent,
301
+ DrawerDescription,
302
+ DrawerFooter,
303
+ DrawerHeader,
304
+ DrawerOverlay,
305
+ DrawerPortal,
306
+ DrawerTitle,
307
+ DrawerTrigger,
308
+ DropdownMenu,
309
+ DropdownMenuContent,
310
+ DropdownMenuItem,
311
+ DropdownMenuSeparator,
312
+ DropdownMenuSub,
313
+ DropdownMenuSubContent,
314
+ DropdownMenuSubTrigger,
315
+ DropdownMenuTrigger,
316
+ Empty,
317
+ EmptyContent,
318
+ EmptyDescription,
319
+ EmptyHeader,
320
+ EmptyTitle,
321
+ Field,
322
+ FieldDescription,
323
+ FieldError,
324
+ FieldLabel,
325
+ HoverCard,
326
+ HoverCardContent,
327
+ HoverCardTrigger,
201
328
  Input,
329
+ InputGroup,
330
+ InputGroupAddon,
331
+ InputGroupInput,
332
+ InputOTP,
333
+ InputOTPGroup,
334
+ InputOTPSeparator,
335
+ InputOTPSlot,
336
+ Item,
337
+ ItemActions,
338
+ ItemContent,
339
+ ItemDescription,
340
+ ItemMedia,
341
+ ItemTitle,
342
+ Kbd,
202
343
  Label,
344
+ Menubar,
345
+ MenubarContent,
346
+ MenubarItem,
347
+ MenubarMenu,
348
+ MenubarSeparator,
349
+ MenubarTrigger,
350
+ NavigationMenu,
351
+ NavigationMenuContent,
352
+ NavigationMenuItem,
353
+ NavigationMenuLink,
354
+ NavigationMenuList,
355
+ NavigationMenuTrigger,
356
+ NavigationMenuViewport,
357
+ Pagination,
358
+ PaginationContent,
359
+ PaginationEllipsis,
360
+ PaginationItem,
361
+ PaginationLink,
362
+ PaginationNext,
363
+ PaginationPrevious,
364
+ Panel,
365
+ PanelGroup,
203
366
  Popover,
204
367
  PopoverContent,
205
368
  PopoverTrigger,
369
+ Progress,
370
+ ProgressIndicator,
371
+ ProgressTrack,
372
+ RadioGroup,
373
+ RadioGroupItem,
374
+ ResizableHandle,
375
+ ScrollArea,
376
+ ScrollBar,
206
377
  Select,
207
378
  SelectContent,
208
379
  SelectGroup,
@@ -214,7 +385,24 @@ export {
214
385
  SelectTrigger,
215
386
  SelectValue,
216
387
  Separator,
388
+ Sheet,
389
+ SheetClose,
390
+ SheetContent,
391
+ SheetDescription,
392
+ SheetFooter,
393
+ SheetHeader,
394
+ SheetOverlay,
395
+ SheetPortal,
396
+ SheetTitle,
397
+ SheetTrigger,
217
398
  Skeleton,
399
+ Slider,
400
+ SliderControl,
401
+ SliderIndicator,
402
+ SliderThumb,
403
+ SliderTrack,
404
+ Spinner,
405
+ Switch,
218
406
  Table,
219
407
  TableBody,
220
408
  TableCaption,
@@ -228,6 +416,22 @@ export {
228
416
  TabsList,
229
417
  TabsTrigger,
230
418
  Textarea,
419
+ Toaster,
420
+ Toggle,
421
+ ToggleGroup,
422
+ ToggleGroupItem,
423
+ Tooltip,
424
+ TooltipContent,
425
+ TooltipProvider,
426
+ TooltipTrigger,
427
+ Typography,
231
428
  badgeVariants,
232
- buttonVariants
429
+ buttonVariants,
430
+ chartColor,
431
+ navigationMenuTriggerStyle,
432
+ toast,
433
+ toastManager,
434
+ toggleVariants,
435
+ typographyVariants,
436
+ useCarousel
233
437
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pactor-app/ui",
3
- "version": "0.1.0",
3
+ "version": "1.1.0",
4
4
  "description": "Pactor UI kit (shadcn): the single built-in UI kit — vendored shadcn/ui components (Base UI primitives + cva + tailwind-merge + lucide-react), props contracts, interaction core (OverlayManager / UiBridge) and layouts, with build-time Tailwind v4 prebuilt styles.css (zero consumer-side Tailwind config)",
5
5
  "keywords": [
6
6
  "pactor",
@@ -94,12 +94,20 @@
94
94
  "@base-ui/react": "^1.7.0",
95
95
  "class-variance-authority": "^0.7.1",
96
96
  "clsx": "^2.1.1",
97
+ "cmdk": "^1.1.1",
98
+ "date-fns": "^4.4.0",
99
+ "embla-carousel-react": "^8.6.0",
100
+ "input-otp": "^1.5.0",
97
101
  "lucide-react": "^1.34.0",
102
+ "react-day-picker": "^10.0.1",
103
+ "react-resizable-panels": "^4.12.3",
104
+ "recharts": "^3.10.1",
98
105
  "tailwind-merge": "^3.6.0",
99
- "@pactor-app/core": "0.1.0",
100
- "@pactor-app/runtime": "0.1.0",
101
- "@pactor-app/permission": "0.1.0",
102
- "@pactor-app/router": "0.1.0"
106
+ "vaul": "^1.1.2",
107
+ "@pactor-app/permission": "1.1.0",
108
+ "@pactor-app/runtime": "1.1.0",
109
+ "@pactor-app/core": "1.1.0",
110
+ "@pactor-app/router": "1.1.0"
103
111
  },
104
112
  "peerDependencies": {
105
113
  "react": ">=18",