@codefast/ui 0.3.12-canary.0 → 0.3.12-canary.1
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/CHANGELOG.md +51 -0
- package/dist/components/accordion.d.ts.map +1 -1
- package/dist/components/accordion.js +5 -5
- package/dist/components/alert-dialog.d.ts +1 -1
- package/dist/components/alert-dialog.d.ts.map +1 -1
- package/dist/components/alert-dialog.js +5 -5
- package/dist/components/alert.d.ts +2 -2
- package/dist/components/alert.d.ts.map +1 -1
- package/dist/components/alert.js +15 -5
- package/dist/components/avatar.d.ts.map +1 -1
- package/dist/components/avatar.js +3 -3
- package/dist/components/badge.d.ts +5 -5
- package/dist/components/badge.d.ts.map +1 -1
- package/dist/components/badge.js +35 -6
- package/dist/components/breadcrumb.d.ts.map +1 -1
- package/dist/components/breadcrumb.js +3 -3
- package/dist/components/button-group.d.ts +3 -3
- package/dist/components/button-group.d.ts.map +1 -1
- package/dist/components/button-group.js +21 -7
- package/dist/components/button.d.ts +10 -10
- package/dist/components/button.d.ts.map +1 -1
- package/dist/components/button.js +54 -11
- package/dist/components/calendar.d.ts.map +1 -1
- package/dist/components/calendar.js +35 -23
- package/dist/components/card.d.ts.map +1 -1
- package/dist/components/card.js +4 -4
- package/dist/components/carousel.d.ts.map +1 -1
- package/dist/components/carousel.js +3 -3
- package/dist/components/chart.d.ts +2 -2
- package/dist/components/chart.d.ts.map +1 -1
- package/dist/components/chart.js +7 -7
- package/dist/components/checkbox-cards.d.ts.map +1 -1
- package/dist/components/checkbox-cards.js +2 -2
- package/dist/components/checkbox-group.d.ts.map +1 -1
- package/dist/components/checkbox-group.js +2 -2
- package/dist/components/checkbox.d.ts.map +1 -1
- package/dist/components/checkbox.js +2 -2
- package/dist/components/command.d.ts.map +1 -1
- package/dist/components/command.js +10 -10
- package/dist/components/context-menu.d.ts.map +1 -1
- package/dist/components/context-menu.js +10 -10
- package/dist/components/dialog.d.ts +1 -1
- package/dist/components/dialog.d.ts.map +1 -1
- package/dist/components/dialog.js +5 -5
- package/dist/components/drawer.d.ts +1 -1
- package/dist/components/drawer.d.ts.map +1 -1
- package/dist/components/drawer.js +5 -5
- package/dist/components/dropdown-menu.d.ts.map +1 -1
- package/dist/components/dropdown-menu.js +10 -10
- package/dist/components/empty.d.ts +2 -2
- package/dist/components/empty.d.ts.map +1 -1
- package/dist/components/empty.js +15 -7
- package/dist/components/field.d.ts +4 -4
- package/dist/components/field.d.ts.map +1 -1
- package/dist/components/field.js +28 -14
- package/dist/components/form.js +1 -1
- package/dist/components/hover-card.d.ts.map +1 -1
- package/dist/components/hover-card.js +2 -2
- package/dist/components/input-group.d.ts +9 -9
- package/dist/components/input-group.d.ts.map +1 -1
- package/dist/components/input-group.js +65 -15
- package/dist/components/input-number.d.ts.map +1 -1
- package/dist/components/input-number.js +2 -2
- package/dist/components/input-otp.d.ts.map +1 -1
- package/dist/components/input-otp.js +3 -3
- package/dist/components/input-password.d.ts.map +1 -1
- package/dist/components/input-password.js +2 -1
- package/dist/components/input-search.d.ts.map +1 -1
- package/dist/components/input-search.js +2 -1
- package/dist/components/input.d.ts.map +1 -1
- package/dist/components/input.js +2 -2
- package/dist/components/item.d.ts +5 -5
- package/dist/components/item.d.ts.map +1 -1
- package/dist/components/item.js +31 -10
- package/dist/components/kbd.d.ts.map +1 -1
- package/dist/components/kbd.js +2 -2
- package/dist/components/label.d.ts.map +1 -1
- package/dist/components/label.js +2 -2
- package/dist/components/menubar.d.ts.map +1 -1
- package/dist/components/menubar.js +12 -12
- package/dist/components/native-select.d.ts.map +1 -1
- package/dist/components/native-select.js +2 -2
- package/dist/components/navigation-menu.d.ts.map +1 -1
- package/dist/components/navigation-menu.js +8 -8
- package/dist/components/pagination.d.ts +1 -1
- package/dist/components/pagination.d.ts.map +1 -1
- package/dist/components/pagination.js +2 -2
- package/dist/components/popover.d.ts.map +1 -1
- package/dist/components/popover.js +2 -2
- package/dist/components/progress-circle.d.ts +2 -2
- package/dist/components/progress-circle.d.ts.map +1 -1
- package/dist/components/progress-circle.js +2 -2
- package/dist/components/progress.d.ts.map +1 -1
- package/dist/components/progress.js +2 -2
- package/dist/components/radio-cards.d.ts.map +1 -1
- package/dist/components/radio-cards.js +2 -2
- package/dist/components/radio-group.d.ts.map +1 -1
- package/dist/components/radio-group.js +2 -2
- package/dist/components/radio.d.ts.map +1 -1
- package/dist/components/radio.js +2 -2
- package/dist/components/resizable.d.ts.map +1 -1
- package/dist/components/resizable.js +2 -2
- package/dist/components/scroll-area.d.ts +3 -3
- package/dist/components/scroll-area.d.ts.map +1 -1
- package/dist/components/scroll-area.js +6 -6
- package/dist/components/select.d.ts +1 -1
- package/dist/components/select.d.ts.map +1 -1
- package/dist/components/select.js +10 -10
- package/dist/components/separator.d.ts +1 -1
- package/dist/components/separator.d.ts.map +1 -1
- package/dist/components/separator.js +3 -3
- package/dist/components/sheet.d.ts +5 -5
- package/dist/components/sheet.d.ts.map +1 -1
- package/dist/components/sheet.js +41 -10
- package/dist/components/sidebar.d.ts +5 -5
- package/dist/components/sidebar.d.ts.map +1 -1
- package/dist/components/sidebar.js +50 -33
- package/dist/components/skeleton.js +2 -2
- package/dist/components/slider.d.ts.map +1 -1
- package/dist/components/slider.js +2 -2
- package/dist/components/sonner.d.ts.map +1 -1
- package/dist/components/sonner.js +2 -1
- package/dist/components/spinner.d.ts.map +1 -1
- package/dist/components/spinner.js +3 -3
- package/dist/components/switch.d.ts.map +1 -1
- package/dist/components/switch.js +2 -2
- package/dist/components/table.d.ts.map +1 -1
- package/dist/components/table.js +8 -8
- package/dist/components/tabs.d.ts.map +1 -1
- package/dist/components/tabs.js +4 -4
- package/dist/components/textarea.d.ts.map +1 -1
- package/dist/components/textarea.js +2 -2
- package/dist/components/toggle-group.d.ts.map +1 -1
- package/dist/components/toggle-group.js +4 -4
- package/dist/components/toggle.d.ts +5 -5
- package/dist/components/toggle.d.ts.map +1 -1
- package/dist/components/toggle.js +23 -6
- package/dist/components/tooltip.d.ts.map +1 -1
- package/dist/components/tooltip.js +2 -2
- package/dist/hooks/use-copy-to-clipboard.d.ts +1 -1
- package/dist/hooks/use-copy-to-clipboard.d.ts.map +1 -1
- package/dist/hooks/use-pagination.d.ts +1 -1
- package/dist/hooks/use-pagination.d.ts.map +1 -1
- package/dist/lib/utils.d.ts +10 -0
- package/dist/lib/utils.d.ts.map +1 -0
- package/dist/lib/utils.js +10 -0
- package/dist/primitives/input.js +1 -1
- package/dist/primitives/progress-circle.d.ts +1 -1
- package/dist/primitives/progress-circle.d.ts.map +1 -1
- package/package.json +23 -13
- package/src/css/preset.css +85 -8
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,56 @@
|
|
|
1
1
|
# @codefast/ui
|
|
2
2
|
|
|
3
|
+
## 0.3.12-canary.1
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [#387](https://github.com/codefastlabs/codefast/pull/387) [`b393c9b`](https://github.com/codefastlabs/codefast/commit/b393c9b780c6776c04cc26d6058c574929bbc6b5) Thanks [@thevuong](https://github.com/thevuong)! - refactor(cli): update imports to use scoped `@codefast/tailwind-variants`
|
|
8
|
+
|
|
9
|
+
- [#387](https://github.com/codefastlabs/codefast/pull/387) [`e1b045f`](https://github.com/codefastlabs/codefast/commit/e1b045f16621807e61648cd77cc2486e10021ce5) Thanks [@thevuong](https://github.com/thevuong)! - feat(scripts): add bucket label summarization for grouping
|
|
10
|
+
|
|
11
|
+
- [#387](https://github.com/codefastlabs/codefast/pull/387) [`3528b84`](https://github.com/codefastlabs/codefast/commit/3528b843e86cccaebbdd4c1e5e10718a2f18ece4) Thanks [@thevuong](https://github.com/thevuong)! - chore(cli): improve skipped package logging and handle missing `package.json` gracefully
|
|
12
|
+
|
|
13
|
+
- [#387](https://github.com/codefastlabs/codefast/pull/387) [`165e92a`](https://github.com/codefastlabs/codefast/commit/165e92a92f6198493e17d29fc225216622c6c5ab) Thanks [@thevuong](https://github.com/thevuong)! - refactor(cli): improve test coverage and simplify utilities
|
|
14
|
+
|
|
15
|
+
- [#387](https://github.com/codefastlabs/codefast/pull/387) [`8670d9e`](https://github.com/codefastlabs/codefast/commit/8670d9e2dc593fc569471dd96e2df185fa0a68b5) Thanks [@thevuong](https://github.com/thevuong)! - refactor(cli): enhance comments and logging in `arrange` module
|
|
16
|
+
|
|
17
|
+
- [#387](https://github.com/codefastlabs/codefast/pull/387) [`5165100`](https://github.com/codefastlabs/codefast/commit/5165100bdf6af2b13c30cc3f257f05dd7b3c859b) Thanks [@thevuong](https://github.com/thevuong)! - refactor(cli): remove outdated unit tests for `arrange`
|
|
18
|
+
|
|
19
|
+
- [#387](https://github.com/codefastlabs/codefast/pull/387) [`881b85f`](https://github.com/codefastlabs/codefast/commit/881b85fc2759c49137e7dcb049fb1a88a9ad67f0) Thanks [@thevuong](https://github.com/thevuong)! - refactor(ui): reduce visual noise in Tailwind classes
|
|
20
|
+
|
|
21
|
+
- [#387](https://github.com/codefastlabs/codefast/pull/387) [`35f8e7e`](https://github.com/codefastlabs/codefast/commit/35f8e7e6fff0a8256fc3d5c0ea2507cd4db85c98) Thanks [@thevuong](https://github.com/thevuong)! - refactor(ui): split utility class declarations across components for enhanced readability
|
|
22
|
+
|
|
23
|
+
- [#387](https://github.com/codefastlabs/codefast/pull/387) [`9e22902`](https://github.com/codefastlabs/codefast/commit/9e22902ea2ed36abae3ba8acd461f2c2b6296eb6) Thanks [@thevuong](https://github.com/thevuong)! - chore(cli): refactor `generate-exports` and `tailwind-cn` commands into `mirror` and `arrange` commands
|
|
24
|
+
|
|
25
|
+
- [#387](https://github.com/codefastlabs/codefast/pull/387) [`b7feafb`](https://github.com/codefastlabs/codefast/commit/b7feafb02188ea6fcc34a75440d190dd5809b744) Thanks [@thevuong](https://github.com/thevuong)! - refactor(cli): standardize variable names in `arrange` module for clarity
|
|
26
|
+
|
|
27
|
+
- [#387](https://github.com/codefastlabs/codefast/pull/387) [`2f14ad3`](https://github.com/codefastlabs/codefast/commit/2f14ad317df1f13b48db69e0927abebb63dafc3e) Thanks [@thevuong](https://github.com/thevuong)! - feat(cli): implement `arrange` module for token analysis and formatting
|
|
28
|
+
|
|
29
|
+
- [#387](https://github.com/codefastlabs/codefast/pull/387) [`5a2c44b`](https://github.com/codefastlabs/codefast/commit/5a2c44bb180d2c886c97ad87c102a88a55e340aa) Thanks [@thevuong](https://github.com/thevuong)! - chore: migrate utility imports to updated `#lib/utils` alias
|
|
30
|
+
|
|
31
|
+
- [#387](https://github.com/codefastlabs/codefast/pull/387) [`bbaeaed`](https://github.com/codefastlabs/codefast/commit/bbaeaedf247f56e95a3e5655424f42d2357912a9) Thanks [@thevuong](https://github.com/thevuong)! - refactor: split utility classes for readability in primitive components
|
|
32
|
+
|
|
33
|
+
- [#387](https://github.com/codefastlabs/codefast/pull/387) [`2c4b3de`](https://github.com/codefastlabs/codefast/commit/2c4b3def4b249a02646d0a4ca68670955ec033e9) Thanks [@thevuong](https://github.com/thevuong)! - feat(docs): update CLI README with expanded usage details
|
|
34
|
+
|
|
35
|
+
- [#387](https://github.com/codefastlabs/codefast/pull/387) [`6b32eb5`](https://github.com/codefastlabs/codefast/commit/6b32eb56d81b411c1a3736208a6f3b93c0f9aeba) Thanks [@thevuong](https://github.com/thevuong)! - feat(cli): localize `arrange` module and enhance error handling
|
|
36
|
+
|
|
37
|
+
- [#387](https://github.com/codefastlabs/codefast/pull/387) [`b7fe6c2`](https://github.com/codefastlabs/codefast/commit/b7fe6c2fda19bddb0a3bb015d421da3006bfe142) Thanks [@thevuong](https://github.com/thevuong)! - chore(cli): migrate `generate-exports` script to CLI with new commands and tests
|
|
38
|
+
|
|
39
|
+
- [#387](https://github.com/codefastlabs/codefast/pull/387) [`f964767`](https://github.com/codefastlabs/codefast/commit/f96476757b4cf40100e0ee92f777219fd69f406b) Thanks [@thevuong](https://github.com/thevuong)! - refactor(cli): replace `ArrangeFs` and `ArrangeLogger` with `CliFs` and `CliLogger`
|
|
40
|
+
|
|
41
|
+
- [#387](https://github.com/codefastlabs/codefast/pull/387) [`9c3a840`](https://github.com/codefastlabs/codefast/commit/9c3a840f024ecd401b9052e104933fd2189ff51a) Thanks [@thevuong](https://github.com/thevuong)! - feat(cli): refine `arrange` token handling and enhance compatibility
|
|
42
|
+
|
|
43
|
+
- [#387](https://github.com/codefastlabs/codefast/pull/387) [`a721bb6`](https://github.com/codefastlabs/codefast/commit/a721bb6e938308194bf810c9e1143d389dc17c61) Thanks [@thevuong](https://github.com/thevuong)! - test(cli): improve test coverage and add repo root tests
|
|
44
|
+
|
|
45
|
+
- [#387](https://github.com/codefastlabs/codefast/pull/387) [`e11a468`](https://github.com/codefastlabs/codefast/commit/e11a4689cc3821624c93cbd151fc86616fb59578) Thanks [@thevuong](https://github.com/thevuong)! - refactor(cli): restructure `arrange` imports and improve dependency management
|
|
46
|
+
|
|
47
|
+
- [#387](https://github.com/codefastlabs/codefast/pull/387) [`bb616f0`](https://github.com/codefastlabs/codefast/commit/bb616f0fddab38e1fc87c296dac5506a7e0386c3) Thanks [@thevuong](https://github.com/thevuong)! - refactor(cli): reorganize `arrange` and `mirror` modules, extract utilities
|
|
48
|
+
|
|
49
|
+
- [#387](https://github.com/codefastlabs/codefast/pull/387) [`56b6f43`](https://github.com/codefastlabs/codefast/commit/56b6f43ff42be0e80d81392f5104ce6fc3e2d022) Thanks [@thevuong](https://github.com/thevuong)! - feat(cli): enhance workspace package discovery in `mirror sync`
|
|
50
|
+
|
|
51
|
+
- Updated dependencies []:
|
|
52
|
+
- @codefast/tailwind-variants@0.3.12-canary.1
|
|
53
|
+
|
|
3
54
|
## 0.3.12-canary.0
|
|
4
55
|
|
|
5
56
|
### Patch Changes
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"accordion.d.ts","sourceRoot":"","sources":["../../src/components/accordion.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,cAAc,EAAE,GAAG,EAAE,MAAM,OAAO,CAAC;AAGjD,OAAO,KAAK,kBAAkB,M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E,kBAAkB,GAAG,GAAG,CAAC,OAAO,CAQ/E;AAMD,UAAU,kBAAmB,SAAQ,cAAc,CAAC,OAAO,IAAI,CAAC;IAC9D,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED,iBAAS,aAAa,CAAC,EAAE,OAAO,EAAE,SAAS,EAAE,GAAG,KAAK,EAAE,EAAE,kBAAkB,GAAG,GAAG,CAAC,OAAO,CAexF;AAMD,KAAK,qBAAqB,GAAG,cAAc,CAAC,OAAO,kBAAkB,CAAC,OAAO,CAAC,CAAC;AAE/E,iBAAS,gBAAgB,CAAC,EAAE,QAAQ,EAAE,SAAS,EAAE,GAAG,KAAK,EAAE,EAAE,qBAAqB,GAAG,GAAG,CAAC,OAAO,CAqB/F;AAMD,KAAK,qBAAqB,GAAG,cAAc,CAAC,OAAO,kBAAkB,CAAC,OAAO,CAAC,CAAC;AAE/E,iBAAS,gBAAgB,CAAC,EAAE,QAAQ,EAAE,SAAS,EAAE,GAAG,KAAK,EAAE,EAAE,qBAAqB,GAAG,GAAG,CAAC,OAAO,CAc/F;AAMD,OAAO,EAAE,SAAS,EAAE,gBAAgB,EAAE,aAAa,EAAE,aAAa,EAAE,gBAAgB,EAAE,CAAC;AACvF,YAAY,EACV,qBAAqB,EACrB,kBAAkB,EAClB,kBAAkB,EAClB,cAAc,EACd,qBAAqB,GACtB,CAAC"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
3
|
-
import { cn } from "
|
|
3
|
+
import { cn } from "#lib/utils";
|
|
4
4
|
import * as AccordionPrimitive from "@radix-ui/react-accordion";
|
|
5
5
|
import { Slot } from "@radix-ui/react-slot";
|
|
6
6
|
import { ChevronDownIcon } from "lucide-react";
|
|
@@ -8,17 +8,17 @@ function Accordion({ ...props }) {
|
|
|
8
8
|
return _jsx(AccordionPrimitive.Root, { "data-slot": "accordion", ...props });
|
|
9
9
|
}
|
|
10
10
|
function AccordionItem({ className, ...props }) {
|
|
11
|
-
return (_jsx(AccordionPrimitive.Item, { className: cn("border-b last:border-b-0", className), "data-slot": "accordion-item", ...props }));
|
|
11
|
+
return (_jsx(AccordionPrimitive.Item, { className: cn("border-b", "last:border-b-0", className), "data-slot": "accordion-item", ...props }));
|
|
12
12
|
}
|
|
13
13
|
function AccordionIcon({ asChild, className, ...props }) {
|
|
14
14
|
const Component = (asChild ? Slot : ChevronDownIcon);
|
|
15
|
-
return (_jsx(Component, { "aria-hidden": true, className: cn("size-4 shrink-0 translate-y-0.5
|
|
15
|
+
return (_jsx(Component, { "aria-hidden": true, className: cn("size-4 shrink-0 text-muted-foreground", "translate-y-0.5 transition-transform duration-200", className), "data-slot": "accordion-icon", ...props }));
|
|
16
16
|
}
|
|
17
17
|
function AccordionTrigger({ children, className, ...props }) {
|
|
18
|
-
return (_jsx(AccordionPrimitive.Header, { className: "flex", "data-slot": "accordion-trigger-wrapper", children: _jsx(AccordionPrimitive.Trigger, { className: cn("group/accordion-trigger flex grow items-start justify-between gap-4 rounded-md
|
|
18
|
+
return (_jsx(AccordionPrimitive.Header, { className: "flex", "data-slot": "accordion-trigger-wrapper", children: _jsx(AccordionPrimitive.Trigger, { className: cn("group/accordion-trigger flex grow items-start justify-between gap-4 py-4", "rounded-md outline-hidden", "text-left text-sm font-medium", "hover:not-disabled:underline", "focus-visible:ring-3 focus-visible:ring-ring/50", "disabled:opacity-50", "[&[data-state=open]>svg]:rotate-180", className), "data-slot": "accordion-trigger", ...props, children: children }) }));
|
|
19
19
|
}
|
|
20
20
|
function AccordionContent({ children, className, ...props }) {
|
|
21
|
-
return (_jsx(AccordionPrimitive.Content, { className: "overflow-hidden data-
|
|
21
|
+
return (_jsx(AccordionPrimitive.Content, { className: cn("overflow-hidden", "data-open:animate-collapsible-down", "data-closed:animate-collapsible-up"), "data-slot": "accordion-content", ...props, children: _jsx("div", { className: cn("pt-0 pb-4", "text-sm", className), children: children }) }));
|
|
22
22
|
}
|
|
23
23
|
/* -----------------------------------------------------------------------------
|
|
24
24
|
* Exports
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { VariantProps } from "
|
|
1
|
+
import type { VariantProps } from "#lib/utils";
|
|
2
2
|
import type { ComponentProps, JSX } from "react";
|
|
3
3
|
import * as AlertDialogPrimitive from "@radix-ui/react-alert-dialog";
|
|
4
4
|
import { buttonVariants } from "#components/button";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"alert-dialog.d.ts","sourceRoot":"","sources":["../../src/components/alert-dialog.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"alert-dialog.d.ts","sourceRoot":"","sources":["../../src/components/alert-dialog.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,YAAY,CAAC;AAC/C,OAAO,KAAK,EAAE,cAAc,EAAE,GAAG,EAAE,MAAM,OAAO,CAAC;AAGjD,OAAO,KAAK,oBAAoB,MAAM,8BAA8B,CAAC;AAErE,OAAO,EAAE,cAAc,EAAE,MAAM,oBAAoB,CAAC;AAMpD,KAAK,gBAAgB,GAAG,cAAc,CAAC,OAAO,oBAAoB,CAAC,IAAI,CAAC,CAAC;AAEzE,iBAAS,WAAW,CAAC,EAAE,GAAG,KAAK,EAAE,EAAE,gBAAgB,GAAG,GAAG,CAAC,OAAO,CAEhE;AAMD,KAAK,uBAAuB,GAAG,cAAc,CAAC,OAAO,oBAAoB,CAAC,OAAO,CAAC,CAAC;AAEnF,iBAAS,kBAAkB,CAAC,EAAE,GAAG,KAAK,EAAE,EAAE,uBAAuB,GAAG,GAAG,CAAC,OAAO,CAE9E;AAMD,UAAU,uBAAwB,SAAQ,cAAc,CAAC,OAAO,oBAAoB,CAAC,OAAO,CAAC;IAC3F,UAAU,CAAC,EAAE;QACX,OAAO,CAAC,EAAE,MAAM,CAAC;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CAAC,CAAC;IACnD,OAAO,CAAC,EAAE,YAAY,CAAC,OAAO,cAAc,CAAC,CAAC,SAAS,CAAC,CAAC;CAC1D;AAED,iBAAS,iBAAiB,CAAC,EACzB,SAAS,EACT,IAAI,EACJ,OAAO,EACP,GAAG,KAAK,EACT,EAAE,sBAAsB,GAAG,GAAG,CAAC,OAAO,CAQtC;AAMD,UAAU,sBAAuB,SAAQ,cAAc,CAAC,OAAO,oBAAoB,CAAC,MAAM,CAAC;IACzF,IAAI,CAAC,EAAE,YAAY,CAAC,OAAO,cAAc,CAAC,CAAC,MAAM,CAAC,CAAC;IACnD,OAAO,CAAC,EAAE,YAAY,CAAC,OAAO,cAAc,CAAC,CAAC,SAAS,CAAC,CAAC;CAC1D;AAED,iBAAS,iBAAiB,CAAC,EACzB,SAAS,EACT,IAAI,EACJ,OAAmB,EACnB,GAAG,KAAK,EACT,EAAE,sBAAsB,GAAG,GAAG,CAAC,OAAO,CAQtC;AAMD,OAAO,EACL,WAAW,EACX,iBAAiB,EACjB,eAAe,EACf,iBAAiB,EACjB,kBAAkB,EAClB,sBAAsB,EACtB,iBAAiB,EACjB,iBAAiB,EACjB,gBAAgB,EAChB,kBAAkB,GACnB,CAAC;AACF,YAAY,EACV,sBAAsB,EACtB,oBAAoB,EACpB,sBAAsB,EACtB,uBAAuB,EACvB,2BAA2B,EAC3B,sBAAsB,EACtB,sBAAsB,EACtB,gBAAgB,EAChB,qBAAqB,EACrB,uBAAuB,GACxB,CAAC"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
3
|
-
import { cn } from "
|
|
3
|
+
import { cn } from "#lib/utils";
|
|
4
4
|
import * as AlertDialogPrimitive from "@radix-ui/react-alert-dialog";
|
|
5
5
|
import { buttonVariants } from "#components/button";
|
|
6
6
|
function AlertDialog({ ...props }) {
|
|
@@ -10,16 +10,16 @@ function AlertDialogTrigger({ ...props }) {
|
|
|
10
10
|
return _jsx(AlertDialogPrimitive.Trigger, { "data-slot": "alert-dialog-trigger", ...props });
|
|
11
11
|
}
|
|
12
12
|
function AlertDialogContent({ children, className, classNames, ...props }) {
|
|
13
|
-
return (_jsxs(AlertDialogPrimitive.Portal, { children: [_jsx(AlertDialogPrimitive.Overlay, { className: cn("fixed inset-0 z-50 bg-black/50 ease-ui data-
|
|
13
|
+
return (_jsxs(AlertDialogPrimitive.Portal, { children: [_jsx(AlertDialogPrimitive.Overlay, { className: cn("fixed inset-0 z-50", "bg-black/50", "ease-ui data-open:animate-in data-open:fade-in-0", "data-closed:animate-out data-closed:fade-out-0", classNames?.overlay), "data-slot": "alert-dialog-overlay" }), _jsx(AlertDialogPrimitive.Content, { className: cn("fixed inset-0 z-50 grid grid-rows-[1fr_auto_1fr] justify-items-center overflow-auto p-8", "sm:grid-rows-[1fr_auto_3fr] sm:p-4", "ease-ui data-open:animate-in data-open:fade-in-0 data-open:zoom-in-95", "data-closed:animate-out data-closed:fade-out-0 data-closed:zoom-out-95", classNames?.wrapper), "data-slot": "alert-dialog-content-wrapper", ...props, children: _jsx("div", { className: cn("relative row-start-2 flex w-full max-w-lg flex-col", "rounded-2xl border", "bg-popover text-popover-foreground shadow-lg", classNames?.content, className), "data-slot": "alert-dialog-content", children: children }) })] }));
|
|
14
14
|
}
|
|
15
15
|
function AlertDialogHeader({ className, ...props }) {
|
|
16
|
-
return (_jsx("div", { className: cn("flex shrink-0 flex-col gap-1.5 px-6 pt-6 pb-4 text-center sm:text-left", className), "data-slot": "alert-dialog-header", ...props }));
|
|
16
|
+
return (_jsx("div", { className: cn("flex shrink-0 flex-col gap-1.5 px-6 pt-6 pb-4 text-center", "sm:text-left", className), "data-slot": "alert-dialog-header", ...props }));
|
|
17
17
|
}
|
|
18
18
|
function AlertDialogBody({ className, ...props }) {
|
|
19
|
-
return (_jsx("main", { className: cn("overflow-auto px-6 py-2", className), "data-slot": "alert-dialog-body", ...props }));
|
|
19
|
+
return (_jsx("main", { className: cn("overflow-auto", "px-6 py-2", className), "data-slot": "alert-dialog-body", ...props }));
|
|
20
20
|
}
|
|
21
21
|
function AlertDialogFooter({ className, ...props }) {
|
|
22
|
-
return (_jsx("div", { className: cn("flex shrink-0 flex-col-reverse gap-2 px-6 pt-4 pb-6 sm:flex-row sm:justify-end", className), "data-slot": "alert-dialog-footer", ...props }));
|
|
22
|
+
return (_jsx("div", { className: cn("flex shrink-0 flex-col-reverse gap-2 px-6 pt-4 pb-6", "sm:flex-row sm:justify-end", className), "data-slot": "alert-dialog-footer", ...props }));
|
|
23
23
|
}
|
|
24
24
|
function AlertDialogTitle({ className, ...props }) {
|
|
25
25
|
return (_jsx(AlertDialogPrimitive.Title, { className: cn("text-lg leading-none font-semibold tracking-tight", className), "data-slot": "alert-dialog-title", ...props }));
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import type { VariantProps } from "
|
|
1
|
+
import type { VariantProps } from "#lib/utils";
|
|
2
2
|
import type { ComponentProps, JSX } from "react";
|
|
3
3
|
declare const alertVariants: import("@codefast/tailwind-variants").VariantFunctionType<{
|
|
4
4
|
variant: {
|
|
5
5
|
default: string;
|
|
6
|
-
destructive: string;
|
|
6
|
+
destructive: string[];
|
|
7
7
|
};
|
|
8
8
|
}, Record<string, never>>;
|
|
9
9
|
interface AlertProps extends ComponentProps<"div">, VariantProps<typeof alertVariants> {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"alert.d.ts","sourceRoot":"","sources":["../../src/components/alert.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"alert.d.ts","sourceRoot":"","sources":["../../src/components/alert.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,YAAY,CAAC;AAC/C,OAAO,KAAK,EAAE,cAAc,EAAE,GAAG,EAAE,MAAM,OAAO,CAAC;AAQjD,QAAA,MAAM,aAAa;;QAab,OAAO;QACP,WAAW;;yBAOf,CAAC;AAMH,UAAU,UAAW,SAAQ,cAAc,CAAC,KAAK,CAAC,EAAE,YAAY,CAAC,OAAO,aAAa,CAAC;CAAG;AAEzF,iBAAS,KAAK,CAAC,EAAE,SAAS,EAAE,OAAO,EAAE,GAAG,KAAK,EAAE,EAAE,UAAU,GAAG,GAAG,CAAC,OAAO,CASxE;AAMD,KAAK,eAAe,GAAG,cAAc,CAAC,KAAK,CAAC,CAAC;AAE7C,iBAAS,UAAU,CAAC,EAAE,QAAQ,EAAE,SAAS,EAAE,GAAG,KAAK,EAAE,EAAE,eAAe,GAAG,GAAG,CAAC,OAAO,CAUnF;AAMD,KAAK,qBAAqB,GAAG,cAAc,CAAC,KAAK,CAAC,CAAC;AAEnD,iBAAS,gBAAgB,CAAC,EAAE,SAAS,EAAE,GAAG,KAAK,EAAE,EAAE,qBAAqB,GAAG,GAAG,CAAC,OAAO,CAYrF;AAMD,OAAO,EAAE,aAAa,EAAE,CAAC;AACzB,OAAO,EAAE,KAAK,EAAE,gBAAgB,EAAE,UAAU,EAAE,CAAC;AAC/C,YAAY,EAAE,qBAAqB,EAAE,UAAU,EAAE,eAAe,EAAE,CAAC"}
|
package/dist/components/alert.js
CHANGED
|
@@ -1,17 +1,27 @@
|
|
|
1
1
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
|
-
import { cn, tv } from "
|
|
2
|
+
import { cn, tv } from "#lib/utils";
|
|
3
3
|
/* -----------------------------------------------------------------------------
|
|
4
4
|
* Variant: Alert
|
|
5
5
|
* -------------------------------------------------------------------------- */
|
|
6
6
|
const alertVariants = tv({
|
|
7
|
-
base:
|
|
7
|
+
base: [
|
|
8
|
+
"relative grid w-full grid-cols-[0_1fr] items-start gap-y-0.5 px-4 py-3",
|
|
9
|
+
"rounded-xl border",
|
|
10
|
+
"bg-card text-sm",
|
|
11
|
+
"has-[>svg]:grid-cols-[--spacing(4)_1fr] has-[>svg]:gap-x-3",
|
|
12
|
+
"[&>svg]:size-4 [&>svg]:translate-y-0.5 [&>svg]:text-current",
|
|
13
|
+
],
|
|
8
14
|
defaultVariants: {
|
|
9
15
|
variant: "default",
|
|
10
16
|
},
|
|
11
17
|
variants: {
|
|
12
18
|
variant: {
|
|
13
19
|
default: "text-card-foreground",
|
|
14
|
-
destructive:
|
|
20
|
+
destructive: [
|
|
21
|
+
"text-destructive",
|
|
22
|
+
"*:data-[slot=alert-description]:text-destructive/90",
|
|
23
|
+
"[&>svg]:text-current",
|
|
24
|
+
],
|
|
15
25
|
},
|
|
16
26
|
},
|
|
17
27
|
});
|
|
@@ -19,10 +29,10 @@ function Alert({ className, variant, ...props }) {
|
|
|
19
29
|
return (_jsx("div", { className: alertVariants({ className, variant }), "data-slot": "alert", role: "alert", ...props }));
|
|
20
30
|
}
|
|
21
31
|
function AlertTitle({ children, className, ...props }) {
|
|
22
|
-
return (_jsx("div", { className: cn("col-start-2 line-clamp-1
|
|
32
|
+
return (_jsx("div", { className: cn("col-start-2 min-h-4", "line-clamp-1 font-medium tracking-tight", className), "data-slot": "alert-title", ...props, children: children }));
|
|
23
33
|
}
|
|
24
34
|
function AlertDescription({ className, ...props }) {
|
|
25
|
-
return (_jsx("div", { className: cn("col-start-2 grid justify-items-start gap-1 text-sm text-muted-foreground [&_p]:leading-relaxed", className), "data-slot": "alert-description", ...props }));
|
|
35
|
+
return (_jsx("div", { className: cn("col-start-2 grid justify-items-start gap-1 text-sm text-muted-foreground", "[&_p]:leading-relaxed", className), "data-slot": "alert-description", ...props }));
|
|
26
36
|
}
|
|
27
37
|
/* -----------------------------------------------------------------------------
|
|
28
38
|
* Exports
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"avatar.d.ts","sourceRoot":"","sources":["../../src/components/avatar.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,cAAc,EAAE,GAAG,EAAE,MAAM,OAAO,CAAC;AAGjD,OAAO,KAAK,eAAe,MAAM,wBAAwB,CAAC;A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,EAAE,mBAAmB,GAAG,GAAG,CAAC,OAAO,CAajF;AAMD,OAAO,EAAE,MAAM,EAAE,cAAc,EAAE,WAAW,EAAE,CAAC;AAC/C,YAAY,EAAE,mBAAmB,EAAE,gBAAgB,EAAE,WAAW,EAAE,CAAC"}
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
3
|
-
import { cn } from "
|
|
3
|
+
import { cn } from "#lib/utils";
|
|
4
4
|
import * as AvatarPrimitive from "@radix-ui/react-avatar";
|
|
5
5
|
function Avatar({ className, ...props }) {
|
|
6
|
-
return (_jsx(AvatarPrimitive.Root, { className: cn("relative flex size-8 shrink-0 overflow-hidden rounded-full", className), "data-slot": "avatar", ...props }));
|
|
6
|
+
return (_jsx(AvatarPrimitive.Root, { className: cn("relative flex size-8 shrink-0 overflow-hidden", "rounded-full", className), "data-slot": "avatar", ...props }));
|
|
7
7
|
}
|
|
8
8
|
function AvatarImage({ className, ...props }) {
|
|
9
9
|
return (_jsx(AvatarPrimitive.Image, { className: cn("aspect-square size-full", className), "data-slot": "avatar-image", ...props }));
|
|
10
10
|
}
|
|
11
11
|
function AvatarFallback({ className, ...props }) {
|
|
12
|
-
return (_jsx(AvatarPrimitive.Fallback, { className: cn("flex size-full items-center justify-center rounded-full bg-muted", className), "data-slot": "avatar-fallback", ...props }));
|
|
12
|
+
return (_jsx(AvatarPrimitive.Fallback, { className: cn("flex size-full items-center justify-center", "rounded-full", "bg-muted", className), "data-slot": "avatar-fallback", ...props }));
|
|
13
13
|
}
|
|
14
14
|
/* -----------------------------------------------------------------------------
|
|
15
15
|
* Exports
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import type { VariantProps } from "
|
|
1
|
+
import type { VariantProps } from "#lib/utils";
|
|
2
2
|
import type { ComponentProps, JSX } from "react";
|
|
3
3
|
declare const badgeVariants: import("@codefast/tailwind-variants").VariantFunctionType<{
|
|
4
4
|
variant: {
|
|
5
|
-
default: string;
|
|
6
|
-
destructive: string;
|
|
7
|
-
outline: string;
|
|
8
|
-
secondary: string;
|
|
5
|
+
default: string[];
|
|
6
|
+
destructive: string[];
|
|
7
|
+
outline: string[];
|
|
8
|
+
secondary: string[];
|
|
9
9
|
};
|
|
10
10
|
}, Record<string, never>>;
|
|
11
11
|
interface BadgeProps extends ComponentProps<"span">, VariantProps<typeof badgeVariants> {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"badge.d.ts","sourceRoot":"","sources":["../../src/components/badge.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"badge.d.ts","sourceRoot":"","sources":["../../src/components/badge.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,YAAY,CAAC;AAC/C,OAAO,KAAK,EAAE,cAAc,EAAE,GAAG,EAAE,MAAM,OAAO,CAAC;AASjD,QAAA,MAAM,aAAa;;QAcb,OAAO;QAOP,WAAW;QAQX,OAAO;QAMP,SAAS;;yBAOb,CAAC;AAMH,UAAU,UAAW,SAAQ,cAAc,CAAC,MAAM,CAAC,EAAE,YAAY,CAAC,OAAO,aAAa,CAAC;IACrF,OAAO,CAAC,EAAE,OAAO,CAAC;CACnB;AAED,iBAAS,KAAK,CAAC,EAAE,OAAO,EAAE,SAAS,EAAE,OAAO,EAAE,GAAG,KAAK,EAAE,EAAE,UAAU,GAAG,GAAG,CAAC,OAAO,CAMjF;AAMD,OAAO,EAAE,aAAa,EAAE,CAAC;AACzB,OAAO,EAAE,KAAK,EAAE,CAAC;AAEjB,YAAY,EAAE,UAAU,EAAE,CAAC"}
|
package/dist/components/badge.js
CHANGED
|
@@ -1,21 +1,50 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
3
|
-
import { tv } from "
|
|
3
|
+
import { tv } from "#lib/utils";
|
|
4
4
|
import { Slot } from "@radix-ui/react-slot";
|
|
5
5
|
/* -----------------------------------------------------------------------------
|
|
6
6
|
* Variant: Badge
|
|
7
7
|
* -------------------------------------------------------------------------- */
|
|
8
8
|
const badgeVariants = tv({
|
|
9
|
-
base:
|
|
9
|
+
base: [
|
|
10
|
+
"inline-flex w-fit shrink-0 items-center justify-center gap-2 px-1.5 py-0.5",
|
|
11
|
+
"rounded-md border outline-hidden",
|
|
12
|
+
"text-xs font-medium whitespace-nowrap",
|
|
13
|
+
"transition",
|
|
14
|
+
"focus-visible:ring-3 focus-visible:ring-ring/50",
|
|
15
|
+
"[&>svg]:size-3 [&>svg]:shrink-0",
|
|
16
|
+
],
|
|
10
17
|
defaultVariants: {
|
|
11
18
|
variant: "default",
|
|
12
19
|
},
|
|
13
20
|
variants: {
|
|
14
21
|
variant: {
|
|
15
|
-
default:
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
22
|
+
default: [
|
|
23
|
+
"border-transparent",
|
|
24
|
+
"bg-primary text-primary-foreground",
|
|
25
|
+
"focus-visible:ring-primary/20",
|
|
26
|
+
"dark:focus-visible:ring-primary/40",
|
|
27
|
+
"[a&]:hover:bg-primary/80",
|
|
28
|
+
],
|
|
29
|
+
destructive: [
|
|
30
|
+
"border-transparent",
|
|
31
|
+
"bg-destructive text-white",
|
|
32
|
+
"focus-visible:ring-destructive/20",
|
|
33
|
+
"dark:bg-destructive/60",
|
|
34
|
+
"dark:focus-visible:ring-destructive/40",
|
|
35
|
+
"[a&]:hover:bg-destructive/90",
|
|
36
|
+
],
|
|
37
|
+
outline: [
|
|
38
|
+
"border-input",
|
|
39
|
+
"bg-background",
|
|
40
|
+
"focus-visible:border-ring",
|
|
41
|
+
"[a&]:hover:border-ring/60 [a&]:hover:bg-accent [a&]:hover:text-accent-foreground",
|
|
42
|
+
],
|
|
43
|
+
secondary: [
|
|
44
|
+
"border-transparent",
|
|
45
|
+
"bg-secondary text-secondary-foreground",
|
|
46
|
+
"[a&]:hover:bg-secondary/80",
|
|
47
|
+
],
|
|
19
48
|
},
|
|
20
49
|
},
|
|
21
50
|
});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"breadcrumb.d.ts","sourceRoot":"","sources":["../../src/components/breadcrumb.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,cAAc,EAAE,GAAG,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAU5D,UAAU,eAAgB,SAAQ,cAAc,CAAC,KAAK,CAAC;IACrD,SAAS,CAAC,EAAE,SAAS,CAAC;CACvB;AAED,iBAAS,UAAU,CAAC,EAAE,GAAG,KAAK,EAAE,EAAE,eAAe,GAAG,GAAG,CAAC,OAAO,CAE9D;AAMD,KAAK,mBAAmB,GAAG,cAAc,CAAC,IAAI,CAAC,CAAC;AAEhD,iBAAS,cAAc,CAAC,EAAE,SAAS,EAAE,GAAG,KAAK,EAAE,EAAE,mBAAmB,GAAG,GAAG,CAAC,OAAO,
|
|
1
|
+
{"version":3,"file":"breadcrumb.d.ts","sourceRoot":"","sources":["../../src/components/breadcrumb.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,cAAc,EAAE,GAAG,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAU5D,UAAU,eAAgB,SAAQ,cAAc,CAAC,KAAK,CAAC;IACrD,SAAS,CAAC,EAAE,SAAS,CAAC;CACvB;AAED,iBAAS,UAAU,CAAC,EAAE,GAAG,KAAK,EAAE,EAAE,eAAe,GAAG,GAAG,CAAC,OAAO,CAE9D;AAMD,KAAK,mBAAmB,GAAG,cAAc,CAAC,IAAI,CAAC,CAAC;AAEhD,iBAAS,cAAc,CAAC,EAAE,SAAS,EAAE,GAAG,KAAK,EAAE,EAAE,mBAAmB,GAAG,GAAG,CAAC,OAAO,CAYjF;AAMD,KAAK,mBAAmB,GAAG,cAAc,CAAC,IAAI,CAAC,CAAC;AAEhD,iBAAS,cAAc,CAAC,EAAE,SAAS,EAAE,GAAG,KAAK,EAAE,EAAE,mBAAmB,GAAG,GAAG,CAAC,OAAO,CAQjF;AAMD,UAAU,mBAAoB,SAAQ,cAAc,CAAC,GAAG,CAAC;IACvD,OAAO,CAAC,EAAE,OAAO,CAAC;CACnB;AAED,iBAAS,cAAc,CAAC,EAAE,OAAO,EAAE,SAAS,EAAE,GAAG,KAAK,EAAE,EAAE,mBAAmB,GAAG,GAAG,CAAC,OAAO,CAU1F;AAMD,KAAK,mBAAmB,GAAG,cAAc,CAAC,MAAM,CAAC,CAAC;AAElD,iBAAS,cAAc,CAAC,EAAE,SAAS,EAAE,GAAG,KAAK,EAAE,EAAE,mBAAmB,GAAG,GAAG,CAAC,OAAO,CAUjF;AAMD,KAAK,wBAAwB,GAAG,cAAc,CAAC,IAAI,CAAC,CAAC;AAErD,iBAAS,mBAAmB,CAAC,EAAE,QAAQ,EAAE,GAAG,KAAK,EAAE,EAAE,wBAAwB,GAAG,GAAG,CAAC,OAAO,CAM1F;AAMD,KAAK,uBAAuB,GAAG,cAAc,CAAC,MAAM,CAAC,CAAC;AAEtD,iBAAS,kBAAkB,CAAC,EAAE,SAAS,EAAE,GAAG,KAAK,EAAE,EAAE,uBAAuB,GAAG,GAAG,CAAC,OAAO,CAazF;AAMD,OAAO,EACL,UAAU,EACV,kBAAkB,EAClB,cAAc,EACd,cAAc,EACd,cAAc,EACd,cAAc,EACd,mBAAmB,GACpB,CAAC;AACF,YAAY,EACV,uBAAuB,EACvB,mBAAmB,EACnB,mBAAmB,EACnB,mBAAmB,EACnB,mBAAmB,EACnB,eAAe,EACf,wBAAwB,GACzB,CAAC"}
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
3
|
-
import { cn } from "
|
|
3
|
+
import { cn } from "#lib/utils";
|
|
4
4
|
import { Slot } from "@radix-ui/react-slot";
|
|
5
5
|
import { ChevronRightIcon, EllipsisIcon } from "lucide-react";
|
|
6
6
|
function Breadcrumb({ ...props }) {
|
|
7
7
|
return _jsx("nav", { "aria-label": "breadcrumb", "data-slot": "breadcrumb", ...props });
|
|
8
8
|
}
|
|
9
9
|
function BreadcrumbList({ className, ...props }) {
|
|
10
|
-
return (_jsx("ol", { className: cn("flex flex-wrap items-center gap-1.5 text-sm break-words text-muted-foreground sm:gap-2", className), "data-slot": "breadcrumb-list", ...props }));
|
|
10
|
+
return (_jsx("ol", { className: cn("flex flex-wrap items-center gap-1.5 text-sm break-words text-muted-foreground", "sm:gap-2", className), "data-slot": "breadcrumb-list", ...props }));
|
|
11
11
|
}
|
|
12
12
|
function BreadcrumbItem({ className, ...props }) {
|
|
13
13
|
return (_jsx("li", { className: cn("inline-flex items-center gap-1.5", className), "data-slot": "breadcrumb-item", ...props }));
|
|
14
14
|
}
|
|
15
15
|
function BreadcrumbLink({ asChild, className, ...props }) {
|
|
16
16
|
const Component = asChild ? Slot : "a";
|
|
17
|
-
return (_jsx(Component, { className: cn("transition-colors hover:text-foreground", className), "data-slot": "breadcrumb-link", ...props }));
|
|
17
|
+
return (_jsx(Component, { className: cn("transition-colors", "hover:text-foreground", className), "data-slot": "breadcrumb-link", ...props }));
|
|
18
18
|
}
|
|
19
19
|
function BreadcrumbPage({ className, ...props }) {
|
|
20
20
|
return (_jsx("span", { "aria-current": "page", "aria-disabled": "true", className: cn("font-normal text-foreground", className), "data-slot": "breadcrumb-page", ...props }));
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import type { VariantProps } from "
|
|
1
|
+
import type { VariantProps } from "#lib/utils";
|
|
2
2
|
import type { ComponentProps, JSX } from "react";
|
|
3
3
|
import { Separator } from "#components/separator";
|
|
4
4
|
declare const buttonGroupVariants: import("@codefast/tailwind-variants").VariantFunctionType<{
|
|
5
5
|
orientation: {
|
|
6
|
-
horizontal: string;
|
|
7
|
-
vertical: string;
|
|
6
|
+
horizontal: string[];
|
|
7
|
+
vertical: string[];
|
|
8
8
|
};
|
|
9
9
|
}, Record<string, never>>;
|
|
10
10
|
type ButtonGroupProps = ComponentProps<"div"> & VariantProps<typeof buttonGroupVariants>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"button-group.d.ts","sourceRoot":"","sources":["../../src/components/button-group.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"button-group.d.ts","sourceRoot":"","sources":["../../src/components/button-group.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,YAAY,CAAC;AAC/C,OAAO,KAAK,EAAE,cAAc,EAAE,GAAG,EAAE,MAAM,OAAO,CAAC;AAKjD,OAAO,EAAE,SAAS,EAAE,MAAM,uBAAuB,CAAC;AAMlD,QAAA,MAAM,mBAAmB;;QAcnB,UAAU;QAIV,QAAQ;;yBAOZ,CAAC;AAMH,KAAK,gBAAgB,GAAG,cAAc,CAAC,KAAK,CAAC,GAAG,YAAY,CAAC,OAAO,mBAAmB,CAAC,CAAC;AAEzF,iBAAS,WAAW,CAAC,EAAE,SAAS,EAAE,WAAW,EAAE,GAAG,KAAK,EAAE,EAAE,gBAAgB,GAAG,GAAG,CAAC,OAAO,CAUxF;AAMD,UAAU,oBAAqB,SAAQ,cAAc,CAAC,KAAK,CAAC;IAC1D,OAAO,CAAC,EAAE,OAAO,CAAC;CACnB;AAED,iBAAS,eAAe,CAAC,EACvB,OAAe,EACf,SAAS,EACT,GAAG,KAAK,EACT,EAAE,oBAAoB,GAAG,GAAG,CAAC,OAAO,CAkBpC;AAMD,KAAK,yBAAyB,GAAG,cAAc,CAAC,OAAO,SAAS,CAAC,CAAC;AAElE,iBAAS,oBAAoB,CAAC,EAC5B,SAAS,EACT,WAAwB,EACxB,GAAG,KAAK,EACT,EAAE,yBAAyB,GAAG,GAAG,CAAC,OAAO,CASzC;AAMD,OAAO,EAAE,WAAW,EAAE,oBAAoB,EAAE,eAAe,EAAE,mBAAmB,EAAE,CAAC;AAEnF,YAAY,EAAE,gBAAgB,EAAE,yBAAyB,EAAE,oBAAoB,EAAE,CAAC"}
|
|
@@ -1,32 +1,46 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
3
|
-
import { cn, tv } from "
|
|
3
|
+
import { cn, tv } from "#lib/utils";
|
|
4
4
|
import { Slot } from "@radix-ui/react-slot";
|
|
5
5
|
import { Separator } from "#components/separator";
|
|
6
6
|
/* -----------------------------------------------------------------------------
|
|
7
7
|
* Variants: ButtonGroup
|
|
8
8
|
* -------------------------------------------------------------------------- */
|
|
9
9
|
const buttonGroupVariants = tv({
|
|
10
|
-
base:
|
|
10
|
+
base: [
|
|
11
|
+
"flex w-fit items-stretch",
|
|
12
|
+
"has-[>[data-slot=button-group]]:gap-2",
|
|
13
|
+
"[&>*]:focus-visible:relative [&>*]:focus-visible:z-10",
|
|
14
|
+
"has-[select[aria-hidden=true]:last-child]:[&>[data-slot=select-trigger]:last-of-type]:rounded-r-lg",
|
|
15
|
+
"[&>[data-slot=select-trigger]:not([class*='w-'])]:w-fit",
|
|
16
|
+
"[&>input]:flex-1",
|
|
17
|
+
],
|
|
11
18
|
defaultVariants: {
|
|
12
19
|
orientation: "horizontal",
|
|
13
20
|
},
|
|
14
21
|
variants: {
|
|
15
22
|
orientation: {
|
|
16
|
-
horizontal:
|
|
17
|
-
|
|
23
|
+
horizontal: [
|
|
24
|
+
"[&>*:not(:first-child)]:rounded-l-none [&>*:not(:first-child)]:border-l-0",
|
|
25
|
+
"[&>*:not(:last-child)]:rounded-r-none",
|
|
26
|
+
],
|
|
27
|
+
vertical: [
|
|
28
|
+
"flex-col",
|
|
29
|
+
"[&>*:not(:first-child)]:rounded-t-none [&>*:not(:first-child)]:border-t-0",
|
|
30
|
+
"[&>*:not(:last-child)]:rounded-b-none",
|
|
31
|
+
],
|
|
18
32
|
},
|
|
19
33
|
},
|
|
20
34
|
});
|
|
21
35
|
function ButtonGroup({ className, orientation, ...props }) {
|
|
22
|
-
return (_jsx("div", { className:
|
|
36
|
+
return (_jsx("div", { className: buttonGroupVariants({ orientation, className }), "data-orientation": orientation, "data-slot": "button-group", role: "group", ...props }));
|
|
23
37
|
}
|
|
24
38
|
function ButtonGroupText({ asChild = false, className, ...props }) {
|
|
25
39
|
const Component = asChild ? Slot : "div";
|
|
26
|
-
return (_jsx(Component, { className: cn("flex items-center gap-2 rounded-lg border bg-muted
|
|
40
|
+
return (_jsx(Component, { className: cn("flex items-center gap-2", "px-4", "rounded-lg border", "bg-muted shadow-xs", "text-sm font-medium", "[&_svg]:pointer-events-none", "[&_svg:not([class*='size-'])]:size-4", className), ...props }));
|
|
27
41
|
}
|
|
28
42
|
function ButtonGroupSeparator({ className, orientation = "vertical", ...props }) {
|
|
29
|
-
return (_jsx(Separator, { className: cn("relative
|
|
43
|
+
return (_jsx(Separator, { className: cn("relative self-stretch", "bg-input", "data-vertical:h-auto", "!m-0", className), "data-slot": "button-group-separator", orientation: orientation, ...props }));
|
|
30
44
|
}
|
|
31
45
|
/* -----------------------------------------------------------------------------
|
|
32
46
|
* Exports
|
|
@@ -1,21 +1,21 @@
|
|
|
1
|
-
import type { VariantProps } from "
|
|
1
|
+
import type { VariantProps } from "#lib/utils";
|
|
2
2
|
import type { ComponentProps, JSX } from "react";
|
|
3
3
|
declare const buttonVariants: import("@codefast/tailwind-variants").VariantFunctionType<{
|
|
4
4
|
size: {
|
|
5
5
|
"icon-sm": string;
|
|
6
6
|
icon: string;
|
|
7
7
|
"icon-lg": string;
|
|
8
|
-
sm: string;
|
|
9
|
-
md: string;
|
|
10
|
-
lg: string;
|
|
8
|
+
sm: string[];
|
|
9
|
+
md: string[];
|
|
10
|
+
lg: string[];
|
|
11
11
|
};
|
|
12
12
|
variant: {
|
|
13
|
-
default: string;
|
|
14
|
-
destructive: string;
|
|
15
|
-
ghost: string;
|
|
16
|
-
link: string;
|
|
17
|
-
outline: string;
|
|
18
|
-
secondary: string;
|
|
13
|
+
default: string[];
|
|
14
|
+
destructive: string[];
|
|
15
|
+
ghost: string[];
|
|
16
|
+
link: string[];
|
|
17
|
+
outline: string[];
|
|
18
|
+
secondary: string[];
|
|
19
19
|
};
|
|
20
20
|
}, Record<string, never>>;
|
|
21
21
|
type ButtonProps = ComponentProps<"button"> & VariantProps<typeof buttonVariants> & {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"button.d.ts","sourceRoot":"","sources":["../../src/components/button.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"button.d.ts","sourceRoot":"","sources":["../../src/components/button.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,YAAY,CAAC;AAC/C,OAAO,KAAK,EAAE,cAAc,EAAE,GAAG,EAAE,MAAM,OAAO,CAAC;AASjD,QAAA,MAAM,cAAc;;QAkBd,SAAS;QAGT,IAAI;QAGJ,SAAS;QAGT,EAAE;QAGF,EAAE;QAGF,EAAE;;;QAGF,OAAO;QAMP,WAAW;QAOX,KAAK;QAKL,IAAI;QAKJ,OAAO;QAYP,SAAS;;yBAOb,CAAC;AAMH,KAAK,WAAW,GAAG,cAAc,CAAC,QAAQ,CAAC,GACzC,YAAY,CAAC,OAAO,cAAc,CAAC,GAAG;IACpC,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,IAAI,CAAC,EAAE,cAAc,CAAC,QAAQ,CAAC,CAAC,MAAM,CAAC,CAAC;CACzC,CAAC;AAEJ,iBAAS,MAAM,CAAC,EACd,OAAe,EACf,QAAQ,EACR,SAAS,EACT,IAAI,EACJ,IAAe,EACf,OAAO,EACP,GAAG,KAAK,EACT,EAAE,WAAW,GAAG,GAAG,CAAC,OAAO,CA2B3B;AAMD,OAAO,EAAE,cAAc,EAAE,CAAC;AAC1B,OAAO,EAAE,MAAM,EAAE,CAAC;AAClB,YAAY,EAAE,WAAW,EAAE,CAAC"}
|
|
@@ -1,11 +1,20 @@
|
|
|
1
1
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
|
-
import { tv } from "
|
|
2
|
+
import { tv } from "#lib/utils";
|
|
3
3
|
import { Slot } from "@radix-ui/react-slot";
|
|
4
4
|
/* -----------------------------------------------------------------------------
|
|
5
5
|
* Variant: Button
|
|
6
6
|
* -------------------------------------------------------------------------- */
|
|
7
7
|
const buttonVariants = tv({
|
|
8
|
-
base:
|
|
8
|
+
base: [
|
|
9
|
+
"inline-flex shrink-0 items-center justify-center gap-2",
|
|
10
|
+
"rounded-lg outline-hidden",
|
|
11
|
+
"text-sm font-medium whitespace-nowrap",
|
|
12
|
+
"transition select-none",
|
|
13
|
+
"focus-visible:ring-3",
|
|
14
|
+
"disabled:opacity-50",
|
|
15
|
+
"[&_svg]:shrink-0",
|
|
16
|
+
"[&_svg:not([class*='size-'])]:size-4",
|
|
17
|
+
],
|
|
9
18
|
defaultVariants: {
|
|
10
19
|
size: "md",
|
|
11
20
|
variant: "default",
|
|
@@ -19,19 +28,53 @@ const buttonVariants = tv({
|
|
|
19
28
|
// 40px
|
|
20
29
|
"icon-lg": "size-10",
|
|
21
30
|
// 32px
|
|
22
|
-
sm: "h-8 px-3 has-[>svg]:px-2.5",
|
|
31
|
+
sm: ["h-8 px-3", "has-[>svg]:px-2.5"],
|
|
23
32
|
// 36px
|
|
24
|
-
md: "h-9 px-4 has-[>svg]:px-3",
|
|
33
|
+
md: ["h-9 px-4", "has-[>svg]:px-3"],
|
|
25
34
|
// 40px
|
|
26
|
-
lg: "h-10 px-6 has-[>svg]:px-4",
|
|
35
|
+
lg: ["h-10 px-6", "has-[>svg]:px-4"],
|
|
27
36
|
},
|
|
28
37
|
variant: {
|
|
29
|
-
default:
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
38
|
+
default: [
|
|
39
|
+
"bg-primary text-primary-foreground",
|
|
40
|
+
"hover:not-disabled:bg-primary/80",
|
|
41
|
+
"focus-visible:ring-primary/20",
|
|
42
|
+
"dark:focus-visible:ring-primary/40",
|
|
43
|
+
],
|
|
44
|
+
destructive: [
|
|
45
|
+
"bg-destructive text-white",
|
|
46
|
+
"hover:not-disabled:bg-destructive/90",
|
|
47
|
+
"focus-visible:ring-destructive/20",
|
|
48
|
+
"dark:bg-destructive/60",
|
|
49
|
+
"dark:focus-visible:ring-destructive/40",
|
|
50
|
+
],
|
|
51
|
+
ghost: [
|
|
52
|
+
"hover:not-disabled:bg-secondary hover:not-disabled:text-secondary-foreground",
|
|
53
|
+
"focus-visible:ring-ring/50",
|
|
54
|
+
"dark:hover:not-disabled:bg-secondary/50",
|
|
55
|
+
],
|
|
56
|
+
link: [
|
|
57
|
+
"text-primary underline-offset-4",
|
|
58
|
+
"hover:not-disabled:underline",
|
|
59
|
+
"focus-visible:ring-ring/50",
|
|
60
|
+
],
|
|
61
|
+
outline: [
|
|
62
|
+
"border border-input shadow-xs",
|
|
63
|
+
"hover:not-disabled:border-ring/60 hover:not-disabled:bg-secondary hover:not-disabled:text-secondary-foreground",
|
|
64
|
+
"focus-visible:border-ring focus-visible:ring-ring/50",
|
|
65
|
+
"aria-invalid:border-destructive",
|
|
66
|
+
"focus-within:aria-invalid:ring-destructive/20",
|
|
67
|
+
"hover:not-disabled:aria-invalid:border-destructive/60",
|
|
68
|
+
"dark:bg-input/30",
|
|
69
|
+
"dark:hover:not-disabled:bg-input/50",
|
|
70
|
+
"dark:aria-invalid:border-destructive/70",
|
|
71
|
+
"dark:focus-within:aria-invalid:ring-destructive/40",
|
|
72
|
+
],
|
|
73
|
+
secondary: [
|
|
74
|
+
"bg-secondary text-secondary-foreground",
|
|
75
|
+
"hover:not-disabled:bg-secondary/80",
|
|
76
|
+
"focus-visible:ring-ring/50",
|
|
77
|
+
],
|
|
35
78
|
},
|
|
36
79
|
},
|
|
37
80
|
});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"calendar.d.ts","sourceRoot":"","sources":["../../src/components/calendar.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,cAAc,EAAE,GAAG,EAAE,MAAM,OAAO,CAAC;AACjD,OAAO,KAAK,EAAW,SAAS,EAAoB,MAAM,kBAAkB,CAAC;AAK7E,OAAO,EAAE,SAAS,EAAwB,MAAM,kBAAkB,CAAC;AAEnE,OAAO,EAAE,MAAM,EAAkB,MAAM,oBAAoB,CAAC;AAM5D,KAAK,aAAa,GAAG,cAAc,CAAC,OAAO,SAAS,CAAC,GAAG;IACtD,aAAa,CAAC,EAAE,cAAc,CAAC,OAAO,MAAM,CAAC,CAAC,SAAS,CAAC,CAAC;CAC1D,CAAC;AAEF,iBAAS,QAAQ,CAAC,EAChB,aAAuB,EACvB,aAAuB,EACvB,SAAS,EACT,UAAU,EACV,UAAU,EACV,UAAU,EACV,eAAsB,EACtB,GAAG,KAAK,EACT,EAAE,aAAa,GAAG,GAAG,CAAC,OAAO,
|
|
1
|
+
{"version":3,"file":"calendar.d.ts","sourceRoot":"","sources":["../../src/components/calendar.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,cAAc,EAAE,GAAG,EAAE,MAAM,OAAO,CAAC;AACjD,OAAO,KAAK,EAAW,SAAS,EAAoB,MAAM,kBAAkB,CAAC;AAK7E,OAAO,EAAE,SAAS,EAAwB,MAAM,kBAAkB,CAAC;AAEnE,OAAO,EAAE,MAAM,EAAkB,MAAM,oBAAoB,CAAC;AAM5D,KAAK,aAAa,GAAG,cAAc,CAAC,OAAO,SAAS,CAAC,GAAG;IACtD,aAAa,CAAC,EAAE,cAAc,CAAC,OAAO,MAAM,CAAC,CAAC,SAAS,CAAC,CAAC;CAC1D,CAAC;AAEF,iBAAS,QAAQ,CAAC,EAChB,aAAuB,EACvB,aAAuB,EACvB,SAAS,EACT,UAAU,EACV,UAAU,EACV,UAAU,EACV,eAAsB,EACtB,GAAG,KAAK,EACT,EAAE,aAAa,GAAG,GAAG,CAAC,OAAO,CAgI7B;AAmDD,K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