@codefast/ui 0.3.10 → 0.3.11-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 +32 -0
- package/README.md +277 -167
- package/dist/components/accordion.d.ts +4 -4
- package/dist/components/accordion.js +5 -5
- package/dist/components/alert-dialog.d.ts +11 -11
- package/dist/components/alert-dialog.js +9 -9
- package/dist/components/alert.d.ts +5 -5
- package/dist/components/alert.js +5 -5
- package/dist/components/aspect-ratio.d.ts +2 -2
- package/dist/components/avatar.d.ts +2 -2
- package/dist/components/avatar.js +3 -3
- package/dist/components/badge.d.ts +3 -3
- package/dist/components/badge.js +7 -7
- package/dist/components/breadcrumb.d.ts +8 -8
- package/dist/components/breadcrumb.js +6 -8
- package/dist/components/button-group.d.ts +5 -5
- package/dist/components/button-group.js +8 -8
- package/dist/components/button.d.ts +6 -6
- package/dist/components/button.js +17 -17
- package/dist/components/calendar.d.ts +5 -5
- package/dist/components/calendar.js +35 -35
- package/dist/components/card.d.ts +8 -8
- package/dist/components/card.js +7 -7
- package/dist/components/carousel.d.ts +10 -10
- package/dist/components/carousel.js +20 -20
- package/dist/components/chart.d.ts +12 -11
- package/dist/components/chart.js +42 -42
- package/dist/components/checkbox-cards.d.ts +2 -2
- package/dist/components/checkbox-cards.js +2 -2
- package/dist/components/checkbox-group.d.ts +2 -2
- package/dist/components/checkbox-group.js +2 -2
- package/dist/components/checkbox.d.ts +2 -2
- package/dist/components/checkbox.js +1 -1
- package/dist/components/collapsible.d.ts +2 -2
- package/dist/components/command.d.ts +4 -4
- package/dist/components/command.js +10 -10
- package/dist/components/context-menu.d.ts +4 -4
- package/dist/components/context-menu.js +10 -10
- package/dist/components/dialog.d.ts +10 -10
- package/dist/components/dialog.js +12 -12
- package/dist/components/drawer.d.ts +9 -9
- package/dist/components/drawer.js +9 -9
- package/dist/components/dropdown-menu.d.ts +4 -4
- package/dist/components/dropdown-menu.js +10 -10
- package/dist/components/empty.d.ts +9 -9
- package/dist/components/empty.js +10 -10
- package/dist/components/field.d.ts +14 -14
- package/dist/components/field.js +17 -17
- package/dist/components/form.d.ts +10 -10
- package/dist/components/form.js +8 -8
- package/dist/components/hover-card.d.ts +2 -2
- package/dist/components/hover-card.js +3 -3
- package/dist/components/input-group.d.ts +15 -15
- package/dist/components/input-group.js +20 -20
- package/dist/components/input-number.d.ts +2 -2
- package/dist/components/input-number.js +7 -7
- package/dist/components/input-otp.d.ts +6 -6
- package/dist/components/input-otp.js +4 -4
- package/dist/components/input-password.d.ts +3 -3
- package/dist/components/input-password.js +6 -6
- package/dist/components/input-search.d.ts +3 -3
- package/dist/components/input-search.js +4 -4
- package/dist/components/input.d.ts +2 -2
- package/dist/components/input.js +1 -1
- package/dist/components/item.d.ts +12 -12
- package/dist/components/item.js +23 -23
- package/dist/components/kbd.d.ts +3 -3
- package/dist/components/kbd.js +2 -2
- package/dist/components/label.d.ts +2 -2
- package/dist/components/label.js +1 -1
- package/dist/components/menubar.d.ts +4 -4
- package/dist/components/menubar.js +13 -13
- package/dist/components/native-select.d.ts +4 -4
- package/dist/components/native-select.js +2 -2
- package/dist/components/navigation-menu.d.ts +2 -2
- package/dist/components/navigation-menu.js +10 -10
- package/dist/components/pagination.d.ts +10 -10
- package/dist/components/pagination.js +6 -6
- package/dist/components/popover.d.ts +3 -3
- package/dist/components/popover.js +3 -3
- package/dist/components/progress-circle.d.ts +5 -5
- package/dist/components/progress-circle.js +22 -22
- package/dist/components/progress.d.ts +2 -2
- package/dist/components/progress.js +2 -2
- package/dist/components/radio-cards.d.ts +2 -2
- package/dist/components/radio-cards.js +3 -3
- package/dist/components/radio-group.d.ts +2 -2
- package/dist/components/radio-group.js +3 -3
- package/dist/components/radio.d.ts +2 -2
- package/dist/components/radio.js +1 -1
- package/dist/components/resizable.d.ts +2 -2
- package/dist/components/resizable.js +3 -3
- package/dist/components/scroll-area.d.ts +5 -5
- package/dist/components/scroll-area.js +31 -31
- package/dist/components/select.d.ts +5 -5
- package/dist/components/select.js +9 -9
- package/dist/components/separator.d.ts +5 -5
- package/dist/components/separator.js +9 -9
- package/dist/components/sheet.d.ts +9 -9
- package/dist/components/sheet.js +17 -17
- package/dist/components/sidebar.d.ts +31 -31
- package/dist/components/sidebar.js +65 -65
- package/dist/components/skeleton.d.ts +2 -2
- package/dist/components/skeleton.js +1 -1
- package/dist/components/slider.d.ts +2 -2
- package/dist/components/slider.js +4 -4
- package/dist/components/sonner.d.ts +3 -3
- package/dist/components/sonner.js +4 -4
- package/dist/components/spinner.d.ts +2 -2
- package/dist/components/spinner.js +5 -5
- package/dist/components/switch.d.ts +2 -2
- package/dist/components/switch.js +2 -2
- package/dist/components/table.d.ts +9 -9
- package/dist/components/table.js +8 -8
- package/dist/components/tabs.d.ts +2 -2
- package/dist/components/tabs.js +4 -4
- package/dist/components/textarea.d.ts +2 -2
- package/dist/components/textarea.js +1 -1
- package/dist/components/toggle-group.d.ts +4 -4
- package/dist/components/toggle-group.js +5 -5
- package/dist/components/toggle.d.ts +3 -3
- package/dist/components/toggle.js +8 -8
- package/dist/components/tooltip.d.ts +3 -3
- package/dist/components/tooltip.js +2 -2
- package/dist/css/preset.css +4 -4
- package/dist/css/style.css +3 -3
- package/dist/hooks/use-copy-to-clipboard.d.ts +1 -1
- package/dist/hooks/use-copy-to-clipboard.js +1 -1
- package/dist/hooks/use-media-query.js +3 -3
- package/dist/hooks/use-mutation-observer.d.ts +1 -1
- package/dist/hooks/use-pagination.js +1 -1
- package/dist/index.d.ts +130 -130
- package/dist/primitives/checkbox-group.d.ts +11 -11
- package/dist/primitives/checkbox-group.js +3 -3
- package/dist/primitives/input-number.d.ts +8 -8
- package/dist/primitives/input-number.js +46 -46
- package/dist/primitives/input.d.ts +4 -4
- package/dist/primitives/input.js +7 -7
- package/dist/primitives/progress-circle.d.ts +7 -7
- package/dist/primitives/progress-circle.js +8 -8
- package/package.json +111 -189
- package/dist/components/accordion.cjs +0 -98
- package/dist/components/alert-dialog.cjs +0 -156
- package/dist/components/alert.cjs +0 -84
- package/dist/components/aspect-ratio.cjs +0 -44
- package/dist/components/avatar.cjs +0 -66
- package/dist/components/badge.cjs +0 -67
- package/dist/components/breadcrumb.cjs +0 -127
- package/dist/components/button-group.cjs +0 -87
- package/dist/components/button.cjs +0 -92
- package/dist/components/calendar.cjs +0 -151
- package/dist/components/card.cjs +0 -105
- package/dist/components/carousel.cjs +0 -211
- package/dist/components/chart.cjs +0 -251
- package/dist/components/checkbox-cards.cjs +0 -70
- package/dist/components/checkbox-group.cjs +0 -64
- package/dist/components/checkbox.cjs +0 -54
- package/dist/components/collapsible.cjs +0 -62
- package/dist/components/command.cjs +0 -168
- package/dist/components/context-menu.cjs +0 -219
- package/dist/components/dialog.cjs +0 -165
- package/dist/components/drawer.cjs +0 -144
- package/dist/components/dropdown-menu.cjs +0 -222
- package/dist/components/empty.cjs +0 -113
- package/dist/components/field.cjs +0 -194
- package/dist/components/form.cjs +0 -152
- package/dist/components/hover-card.cjs +0 -78
- package/dist/components/input-group.cjs +0 -156
- package/dist/components/input-number.cjs +0 -99
- package/dist/components/input-otp.cjs +0 -102
- package/dist/components/input-password.cjs +0 -72
- package/dist/components/input-search.cjs +0 -81
- package/dist/components/input.cjs +0 -46
- package/dist/components/item.cjs +0 -186
- package/dist/components/kbd.cjs +0 -54
- package/dist/components/label.cjs +0 -46
- package/dist/components/menubar.cjs +0 -233
- package/dist/components/native-select.cjs +0 -75
- package/dist/components/navigation-menu.cjs +0 -146
- package/dist/components/pagination.cjs +0 -138
- package/dist/components/popover.cjs +0 -87
- package/dist/components/progress-circle.cjs +0 -185
- package/dist/components/progress.cjs +0 -53
- package/dist/components/radio-cards.cjs +0 -67
- package/dist/components/radio-group.cjs +0 -60
- package/dist/components/radio.cjs +0 -48
- package/dist/components/resizable.cjs +0 -72
- package/dist/components/scroll-area.cjs +0 -141
- package/dist/components/select.cjs +0 -181
- package/dist/components/separator.cjs +0 -83
- package/dist/components/sheet.cjs +0 -185
- package/dist/components/sidebar.cjs +0 -507
- package/dist/components/skeleton.cjs +0 -44
- package/dist/components/slider.cjs +0 -80
- package/dist/components/sonner.cjs +0 -58
- package/dist/components/spinner.cjs +0 -76
- package/dist/components/switch.cjs +0 -50
- package/dist/components/table.cjs +0 -118
- package/dist/components/tabs.cjs +0 -76
- package/dist/components/textarea.cjs +0 -44
- package/dist/components/toggle-group.cjs +0 -91
- package/dist/components/toggle.cjs +0 -72
- package/dist/components/tooltip.cjs +0 -91
- package/dist/hooks/use-animated-value.cjs +0 -75
- package/dist/hooks/use-copy-to-clipboard.cjs +0 -58
- package/dist/hooks/use-is-mobile.cjs +0 -40
- package/dist/hooks/use-media-query.cjs +0 -57
- package/dist/hooks/use-mutation-observer.cjs +0 -57
- package/dist/hooks/use-pagination.cjs +0 -93
- package/dist/index.cjs +0 -1081
- package/dist/primitives/checkbox-group.cjs +0 -151
- package/dist/primitives/input-number.cjs +0 -439
- package/dist/primitives/input.cjs +0 -99
- package/dist/primitives/progress-circle.cjs +0 -199
|
@@ -1,98 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
"use client";
|
|
3
|
-
var __webpack_require__ = {};
|
|
4
|
-
(()=>{
|
|
5
|
-
__webpack_require__.d = (exports1, definition)=>{
|
|
6
|
-
for(var key in definition)if (__webpack_require__.o(definition, key) && !__webpack_require__.o(exports1, key)) Object.defineProperty(exports1, key, {
|
|
7
|
-
enumerable: true,
|
|
8
|
-
get: definition[key]
|
|
9
|
-
});
|
|
10
|
-
};
|
|
11
|
-
})();
|
|
12
|
-
(()=>{
|
|
13
|
-
__webpack_require__.o = (obj, prop)=>Object.prototype.hasOwnProperty.call(obj, prop);
|
|
14
|
-
})();
|
|
15
|
-
(()=>{
|
|
16
|
-
__webpack_require__.r = (exports1)=>{
|
|
17
|
-
if ("u" > typeof Symbol && Symbol.toStringTag) Object.defineProperty(exports1, Symbol.toStringTag, {
|
|
18
|
-
value: 'Module'
|
|
19
|
-
});
|
|
20
|
-
Object.defineProperty(exports1, '__esModule', {
|
|
21
|
-
value: true
|
|
22
|
-
});
|
|
23
|
-
};
|
|
24
|
-
})();
|
|
25
|
-
var __webpack_exports__ = {};
|
|
26
|
-
__webpack_require__.r(__webpack_exports__);
|
|
27
|
-
__webpack_require__.d(__webpack_exports__, {
|
|
28
|
-
AccordionIcon: ()=>AccordionIcon,
|
|
29
|
-
AccordionItem: ()=>AccordionItem,
|
|
30
|
-
Accordion: ()=>Accordion,
|
|
31
|
-
AccordionContent: ()=>AccordionContent,
|
|
32
|
-
AccordionTrigger: ()=>AccordionTrigger
|
|
33
|
-
});
|
|
34
|
-
const jsx_runtime_namespaceObject = require("react/jsx-runtime");
|
|
35
|
-
const tailwind_variants_namespaceObject = require("@codefast/tailwind-variants");
|
|
36
|
-
const react_accordion_namespaceObject = require("@radix-ui/react-accordion");
|
|
37
|
-
const react_slot_namespaceObject = require("@radix-ui/react-slot");
|
|
38
|
-
const external_lucide_react_namespaceObject = require("lucide-react");
|
|
39
|
-
function Accordion({ ...props }) {
|
|
40
|
-
return /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(react_accordion_namespaceObject.Root, {
|
|
41
|
-
"data-slot": "accordion",
|
|
42
|
-
...props
|
|
43
|
-
});
|
|
44
|
-
}
|
|
45
|
-
function AccordionItem({ className, ...props }) {
|
|
46
|
-
return /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(react_accordion_namespaceObject.Item, {
|
|
47
|
-
className: (0, tailwind_variants_namespaceObject.cn)('border-b last:border-b-0', className),
|
|
48
|
-
"data-slot": "accordion-item",
|
|
49
|
-
...props
|
|
50
|
-
});
|
|
51
|
-
}
|
|
52
|
-
function AccordionIcon({ asChild, className, ...props }) {
|
|
53
|
-
const Component = asChild ? react_slot_namespaceObject.Slot : external_lucide_react_namespaceObject.ChevronDownIcon;
|
|
54
|
-
return /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(Component, {
|
|
55
|
-
"aria-hidden": true,
|
|
56
|
-
className: (0, tailwind_variants_namespaceObject.cn)('text-muted-foreground size-4 shrink-0 translate-y-0.5 transition-transform duration-200', className),
|
|
57
|
-
"data-slot": "accordion-icon",
|
|
58
|
-
...props
|
|
59
|
-
});
|
|
60
|
-
}
|
|
61
|
-
function AccordionTrigger({ children, className, ...props }) {
|
|
62
|
-
return /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(react_accordion_namespaceObject.Header, {
|
|
63
|
-
className: "flex",
|
|
64
|
-
"data-slot": "accordion-trigger-wrapper",
|
|
65
|
-
children: /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(react_accordion_namespaceObject.Trigger, {
|
|
66
|
-
className: (0, tailwind_variants_namespaceObject.cn)('focus-visible:ring-ring/50 group/accordion-trigger flex grow items-start justify-between gap-4 rounded-md py-4 text-left text-sm font-medium outline-hidden hover:not-disabled:underline focus-visible:ring-3 disabled:opacity-50 [&[data-state=open]>svg]:rotate-180', className),
|
|
67
|
-
"data-slot": "accordion-trigger",
|
|
68
|
-
...props,
|
|
69
|
-
children: children
|
|
70
|
-
})
|
|
71
|
-
});
|
|
72
|
-
}
|
|
73
|
-
function AccordionContent({ children, className, ...props }) {
|
|
74
|
-
return /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(react_accordion_namespaceObject.Content, {
|
|
75
|
-
className: "data-[state=open]:animate-collapsible-down data-[state=closed]:animate-collapsible-up overflow-hidden",
|
|
76
|
-
"data-slot": "accordion-content",
|
|
77
|
-
...props,
|
|
78
|
-
children: /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)("div", {
|
|
79
|
-
className: (0, tailwind_variants_namespaceObject.cn)('pt-0 pb-4 text-sm', className),
|
|
80
|
-
children: children
|
|
81
|
-
})
|
|
82
|
-
});
|
|
83
|
-
}
|
|
84
|
-
exports.Accordion = __webpack_exports__.Accordion;
|
|
85
|
-
exports.AccordionContent = __webpack_exports__.AccordionContent;
|
|
86
|
-
exports.AccordionIcon = __webpack_exports__.AccordionIcon;
|
|
87
|
-
exports.AccordionItem = __webpack_exports__.AccordionItem;
|
|
88
|
-
exports.AccordionTrigger = __webpack_exports__.AccordionTrigger;
|
|
89
|
-
for(var __rspack_i in __webpack_exports__)if (-1 === [
|
|
90
|
-
"Accordion",
|
|
91
|
-
"AccordionContent",
|
|
92
|
-
"AccordionIcon",
|
|
93
|
-
"AccordionItem",
|
|
94
|
-
"AccordionTrigger"
|
|
95
|
-
].indexOf(__rspack_i)) exports[__rspack_i] = __webpack_exports__[__rspack_i];
|
|
96
|
-
Object.defineProperty(exports, '__esModule', {
|
|
97
|
-
value: true
|
|
98
|
-
});
|
|
@@ -1,156 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
"use client";
|
|
3
|
-
var __webpack_require__ = {};
|
|
4
|
-
(()=>{
|
|
5
|
-
__webpack_require__.d = (exports1, definition)=>{
|
|
6
|
-
for(var key in definition)if (__webpack_require__.o(definition, key) && !__webpack_require__.o(exports1, key)) Object.defineProperty(exports1, key, {
|
|
7
|
-
enumerable: true,
|
|
8
|
-
get: definition[key]
|
|
9
|
-
});
|
|
10
|
-
};
|
|
11
|
-
})();
|
|
12
|
-
(()=>{
|
|
13
|
-
__webpack_require__.o = (obj, prop)=>Object.prototype.hasOwnProperty.call(obj, prop);
|
|
14
|
-
})();
|
|
15
|
-
(()=>{
|
|
16
|
-
__webpack_require__.r = (exports1)=>{
|
|
17
|
-
if ("u" > typeof Symbol && Symbol.toStringTag) Object.defineProperty(exports1, Symbol.toStringTag, {
|
|
18
|
-
value: 'Module'
|
|
19
|
-
});
|
|
20
|
-
Object.defineProperty(exports1, '__esModule', {
|
|
21
|
-
value: true
|
|
22
|
-
});
|
|
23
|
-
};
|
|
24
|
-
})();
|
|
25
|
-
var __webpack_exports__ = {};
|
|
26
|
-
__webpack_require__.r(__webpack_exports__);
|
|
27
|
-
__webpack_require__.d(__webpack_exports__, {
|
|
28
|
-
AlertDialogCancel: ()=>AlertDialogCancel,
|
|
29
|
-
AlertDialogBody: ()=>AlertDialogBody,
|
|
30
|
-
AlertDialogContent: ()=>AlertDialogContent,
|
|
31
|
-
AlertDialogHeader: ()=>AlertDialogHeader,
|
|
32
|
-
AlertDialogFooter: ()=>AlertDialogFooter,
|
|
33
|
-
AlertDialogTrigger: ()=>AlertDialogTrigger,
|
|
34
|
-
AlertDialogDescription: ()=>AlertDialogDescription,
|
|
35
|
-
AlertDialogTitle: ()=>AlertDialogTitle,
|
|
36
|
-
AlertDialog: ()=>AlertDialog,
|
|
37
|
-
AlertDialogAction: ()=>AlertDialogAction
|
|
38
|
-
});
|
|
39
|
-
const jsx_runtime_namespaceObject = require("react/jsx-runtime");
|
|
40
|
-
const tailwind_variants_namespaceObject = require("@codefast/tailwind-variants");
|
|
41
|
-
const react_alert_dialog_namespaceObject = require("@radix-ui/react-alert-dialog");
|
|
42
|
-
const external_button_cjs_namespaceObject = require("./button.cjs");
|
|
43
|
-
function AlertDialog({ ...props }) {
|
|
44
|
-
return /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(react_alert_dialog_namespaceObject.Root, {
|
|
45
|
-
"data-slot": "alert-dialog",
|
|
46
|
-
...props
|
|
47
|
-
});
|
|
48
|
-
}
|
|
49
|
-
function AlertDialogTrigger({ ...props }) {
|
|
50
|
-
return /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(react_alert_dialog_namespaceObject.Trigger, {
|
|
51
|
-
"data-slot": "alert-dialog-trigger",
|
|
52
|
-
...props
|
|
53
|
-
});
|
|
54
|
-
}
|
|
55
|
-
function AlertDialogContent({ children, className, classNames, ...props }) {
|
|
56
|
-
return /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsxs)(react_alert_dialog_namespaceObject.Portal, {
|
|
57
|
-
children: [
|
|
58
|
-
/*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(react_alert_dialog_namespaceObject.Overlay, {
|
|
59
|
-
className: (0, tailwind_variants_namespaceObject.cn)('data-[state=open]:fade-in-0 data-[state=open]:animate-in data-[state=closed]:fade-out-0 data-[state=closed]:animate-out ease-ui fixed inset-0 z-50 bg-black/50', classNames?.overlay),
|
|
60
|
-
"data-slot": "alert-dialog-overlay"
|
|
61
|
-
}),
|
|
62
|
-
/*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(react_alert_dialog_namespaceObject.Content, {
|
|
63
|
-
className: (0, tailwind_variants_namespaceObject.cn)('data-[state=open]:animate-in data-[state=open]:fade-in-0 data-[state=open]:zoom-in-95 data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95 ease-ui 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', classNames?.wrapper),
|
|
64
|
-
"data-slot": "alert-dialog-content-wrapper",
|
|
65
|
-
...props,
|
|
66
|
-
children: /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)("div", {
|
|
67
|
-
className: (0, tailwind_variants_namespaceObject.cn)('bg-popover text-popover-foreground relative row-start-2 flex w-full max-w-lg flex-col rounded-2xl border shadow-lg', classNames?.content, className),
|
|
68
|
-
"data-slot": "alert-dialog-content",
|
|
69
|
-
children: children
|
|
70
|
-
})
|
|
71
|
-
})
|
|
72
|
-
]
|
|
73
|
-
});
|
|
74
|
-
}
|
|
75
|
-
function AlertDialogHeader({ className, ...props }) {
|
|
76
|
-
return /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)("div", {
|
|
77
|
-
className: (0, tailwind_variants_namespaceObject.cn)('flex shrink-0 flex-col gap-1.5 px-6 pt-6 pb-4 text-center sm:text-left', className),
|
|
78
|
-
"data-slot": "alert-dialog-header",
|
|
79
|
-
...props
|
|
80
|
-
});
|
|
81
|
-
}
|
|
82
|
-
function AlertDialogBody({ className, ...props }) {
|
|
83
|
-
return /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)("main", {
|
|
84
|
-
className: (0, tailwind_variants_namespaceObject.cn)('overflow-auto px-6 py-2', className),
|
|
85
|
-
"data-slot": "alert-dialog-body",
|
|
86
|
-
...props
|
|
87
|
-
});
|
|
88
|
-
}
|
|
89
|
-
function AlertDialogFooter({ className, ...props }) {
|
|
90
|
-
return /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)("div", {
|
|
91
|
-
className: (0, tailwind_variants_namespaceObject.cn)('flex shrink-0 flex-col-reverse gap-2 px-6 pt-4 pb-6 sm:flex-row sm:justify-end', className),
|
|
92
|
-
"data-slot": "alert-dialog-footer",
|
|
93
|
-
...props
|
|
94
|
-
});
|
|
95
|
-
}
|
|
96
|
-
function AlertDialogTitle({ className, ...props }) {
|
|
97
|
-
return /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(react_alert_dialog_namespaceObject.Title, {
|
|
98
|
-
className: (0, tailwind_variants_namespaceObject.cn)('text-lg leading-none font-semibold tracking-tight', className),
|
|
99
|
-
"data-slot": "alert-dialog-title",
|
|
100
|
-
...props
|
|
101
|
-
});
|
|
102
|
-
}
|
|
103
|
-
function AlertDialogDescription({ className, ...props }) {
|
|
104
|
-
return /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(react_alert_dialog_namespaceObject.Description, {
|
|
105
|
-
className: (0, tailwind_variants_namespaceObject.cn)('text-muted-foreground text-sm', className),
|
|
106
|
-
"data-slot": "alert-dialog-description",
|
|
107
|
-
...props
|
|
108
|
-
});
|
|
109
|
-
}
|
|
110
|
-
function AlertDialogAction({ className, size, variant, ...props }) {
|
|
111
|
-
return /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(react_alert_dialog_namespaceObject.Action, {
|
|
112
|
-
className: (0, external_button_cjs_namespaceObject.buttonVariants)({
|
|
113
|
-
className,
|
|
114
|
-
size,
|
|
115
|
-
variant
|
|
116
|
-
}),
|
|
117
|
-
"data-slot": "alert-dialog-action",
|
|
118
|
-
...props
|
|
119
|
-
});
|
|
120
|
-
}
|
|
121
|
-
function AlertDialogCancel({ className, size, variant = 'outline', ...props }) {
|
|
122
|
-
return /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(react_alert_dialog_namespaceObject.Cancel, {
|
|
123
|
-
className: (0, external_button_cjs_namespaceObject.buttonVariants)({
|
|
124
|
-
className,
|
|
125
|
-
size,
|
|
126
|
-
variant
|
|
127
|
-
}),
|
|
128
|
-
"data-slot": "alert-dialog-cancel",
|
|
129
|
-
...props
|
|
130
|
-
});
|
|
131
|
-
}
|
|
132
|
-
exports.AlertDialog = __webpack_exports__.AlertDialog;
|
|
133
|
-
exports.AlertDialogAction = __webpack_exports__.AlertDialogAction;
|
|
134
|
-
exports.AlertDialogBody = __webpack_exports__.AlertDialogBody;
|
|
135
|
-
exports.AlertDialogCancel = __webpack_exports__.AlertDialogCancel;
|
|
136
|
-
exports.AlertDialogContent = __webpack_exports__.AlertDialogContent;
|
|
137
|
-
exports.AlertDialogDescription = __webpack_exports__.AlertDialogDescription;
|
|
138
|
-
exports.AlertDialogFooter = __webpack_exports__.AlertDialogFooter;
|
|
139
|
-
exports.AlertDialogHeader = __webpack_exports__.AlertDialogHeader;
|
|
140
|
-
exports.AlertDialogTitle = __webpack_exports__.AlertDialogTitle;
|
|
141
|
-
exports.AlertDialogTrigger = __webpack_exports__.AlertDialogTrigger;
|
|
142
|
-
for(var __rspack_i in __webpack_exports__)if (-1 === [
|
|
143
|
-
"AlertDialog",
|
|
144
|
-
"AlertDialogAction",
|
|
145
|
-
"AlertDialogBody",
|
|
146
|
-
"AlertDialogCancel",
|
|
147
|
-
"AlertDialogContent",
|
|
148
|
-
"AlertDialogDescription",
|
|
149
|
-
"AlertDialogFooter",
|
|
150
|
-
"AlertDialogHeader",
|
|
151
|
-
"AlertDialogTitle",
|
|
152
|
-
"AlertDialogTrigger"
|
|
153
|
-
].indexOf(__rspack_i)) exports[__rspack_i] = __webpack_exports__[__rspack_i];
|
|
154
|
-
Object.defineProperty(exports, '__esModule', {
|
|
155
|
-
value: true
|
|
156
|
-
});
|
|
@@ -1,84 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __webpack_require__ = {};
|
|
3
|
-
(()=>{
|
|
4
|
-
__webpack_require__.d = (exports1, definition)=>{
|
|
5
|
-
for(var key in definition)if (__webpack_require__.o(definition, key) && !__webpack_require__.o(exports1, key)) Object.defineProperty(exports1, key, {
|
|
6
|
-
enumerable: true,
|
|
7
|
-
get: definition[key]
|
|
8
|
-
});
|
|
9
|
-
};
|
|
10
|
-
})();
|
|
11
|
-
(()=>{
|
|
12
|
-
__webpack_require__.o = (obj, prop)=>Object.prototype.hasOwnProperty.call(obj, prop);
|
|
13
|
-
})();
|
|
14
|
-
(()=>{
|
|
15
|
-
__webpack_require__.r = (exports1)=>{
|
|
16
|
-
if ("u" > typeof Symbol && Symbol.toStringTag) Object.defineProperty(exports1, Symbol.toStringTag, {
|
|
17
|
-
value: 'Module'
|
|
18
|
-
});
|
|
19
|
-
Object.defineProperty(exports1, '__esModule', {
|
|
20
|
-
value: true
|
|
21
|
-
});
|
|
22
|
-
};
|
|
23
|
-
})();
|
|
24
|
-
var __webpack_exports__ = {};
|
|
25
|
-
__webpack_require__.r(__webpack_exports__);
|
|
26
|
-
__webpack_require__.d(__webpack_exports__, {
|
|
27
|
-
Alert: ()=>Alert,
|
|
28
|
-
AlertDescription: ()=>AlertDescription,
|
|
29
|
-
AlertTitle: ()=>AlertTitle,
|
|
30
|
-
alertVariants: ()=>alertVariants
|
|
31
|
-
});
|
|
32
|
-
const jsx_runtime_namespaceObject = require("react/jsx-runtime");
|
|
33
|
-
const tailwind_variants_namespaceObject = require("@codefast/tailwind-variants");
|
|
34
|
-
const alertVariants = (0, tailwind_variants_namespaceObject.tv)({
|
|
35
|
-
base: 'bg-card relative grid w-full grid-cols-[0_1fr] items-start gap-y-0.5 rounded-xl border px-4 py-3 text-sm has-[>svg]:grid-cols-[--spacing(4)_1fr] has-[>svg]:gap-x-3 [&>svg]:size-4 [&>svg]:translate-y-0.5 [&>svg]:text-current',
|
|
36
|
-
defaultVariants: {
|
|
37
|
-
variant: 'default'
|
|
38
|
-
},
|
|
39
|
-
variants: {
|
|
40
|
-
variant: {
|
|
41
|
-
default: 'text-card-foreground',
|
|
42
|
-
destructive: "text-destructive *:data-[slot=alert-description]:text-destructive/90 [&>svg]:text-current"
|
|
43
|
-
}
|
|
44
|
-
}
|
|
45
|
-
});
|
|
46
|
-
function Alert({ className, variant, ...props }) {
|
|
47
|
-
return /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)("div", {
|
|
48
|
-
className: alertVariants({
|
|
49
|
-
className,
|
|
50
|
-
variant
|
|
51
|
-
}),
|
|
52
|
-
"data-slot": "alert",
|
|
53
|
-
role: "alert",
|
|
54
|
-
...props
|
|
55
|
-
});
|
|
56
|
-
}
|
|
57
|
-
function AlertTitle({ children, className, ...props }) {
|
|
58
|
-
return /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)("div", {
|
|
59
|
-
className: (0, tailwind_variants_namespaceObject.cn)('col-start-2 line-clamp-1 min-h-4 font-medium tracking-tight', className),
|
|
60
|
-
"data-slot": "alert-title",
|
|
61
|
-
...props,
|
|
62
|
-
children: children
|
|
63
|
-
});
|
|
64
|
-
}
|
|
65
|
-
function AlertDescription({ className, ...props }) {
|
|
66
|
-
return /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)("div", {
|
|
67
|
-
className: (0, tailwind_variants_namespaceObject.cn)('text-muted-foreground col-start-2 grid justify-items-start gap-1 text-sm [&_p]:leading-relaxed', className),
|
|
68
|
-
"data-slot": "alert-description",
|
|
69
|
-
...props
|
|
70
|
-
});
|
|
71
|
-
}
|
|
72
|
-
exports.Alert = __webpack_exports__.Alert;
|
|
73
|
-
exports.AlertDescription = __webpack_exports__.AlertDescription;
|
|
74
|
-
exports.AlertTitle = __webpack_exports__.AlertTitle;
|
|
75
|
-
exports.alertVariants = __webpack_exports__.alertVariants;
|
|
76
|
-
for(var __rspack_i in __webpack_exports__)if (-1 === [
|
|
77
|
-
"Alert",
|
|
78
|
-
"AlertDescription",
|
|
79
|
-
"AlertTitle",
|
|
80
|
-
"alertVariants"
|
|
81
|
-
].indexOf(__rspack_i)) exports[__rspack_i] = __webpack_exports__[__rspack_i];
|
|
82
|
-
Object.defineProperty(exports, '__esModule', {
|
|
83
|
-
value: true
|
|
84
|
-
});
|
|
@@ -1,44 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
"use client";
|
|
3
|
-
var __webpack_require__ = {};
|
|
4
|
-
(()=>{
|
|
5
|
-
__webpack_require__.d = (exports1, definition)=>{
|
|
6
|
-
for(var key in definition)if (__webpack_require__.o(definition, key) && !__webpack_require__.o(exports1, key)) Object.defineProperty(exports1, key, {
|
|
7
|
-
enumerable: true,
|
|
8
|
-
get: definition[key]
|
|
9
|
-
});
|
|
10
|
-
};
|
|
11
|
-
})();
|
|
12
|
-
(()=>{
|
|
13
|
-
__webpack_require__.o = (obj, prop)=>Object.prototype.hasOwnProperty.call(obj, prop);
|
|
14
|
-
})();
|
|
15
|
-
(()=>{
|
|
16
|
-
__webpack_require__.r = (exports1)=>{
|
|
17
|
-
if ("u" > typeof Symbol && Symbol.toStringTag) Object.defineProperty(exports1, Symbol.toStringTag, {
|
|
18
|
-
value: 'Module'
|
|
19
|
-
});
|
|
20
|
-
Object.defineProperty(exports1, '__esModule', {
|
|
21
|
-
value: true
|
|
22
|
-
});
|
|
23
|
-
};
|
|
24
|
-
})();
|
|
25
|
-
var __webpack_exports__ = {};
|
|
26
|
-
__webpack_require__.r(__webpack_exports__);
|
|
27
|
-
__webpack_require__.d(__webpack_exports__, {
|
|
28
|
-
AspectRatio: ()=>AspectRatio
|
|
29
|
-
});
|
|
30
|
-
const jsx_runtime_namespaceObject = require("react/jsx-runtime");
|
|
31
|
-
const react_aspect_ratio_namespaceObject = require("@radix-ui/react-aspect-ratio");
|
|
32
|
-
function AspectRatio({ ...props }) {
|
|
33
|
-
return /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(react_aspect_ratio_namespaceObject.Root, {
|
|
34
|
-
"data-slot": "aspect-ratio",
|
|
35
|
-
...props
|
|
36
|
-
});
|
|
37
|
-
}
|
|
38
|
-
exports.AspectRatio = __webpack_exports__.AspectRatio;
|
|
39
|
-
for(var __rspack_i in __webpack_exports__)if (-1 === [
|
|
40
|
-
"AspectRatio"
|
|
41
|
-
].indexOf(__rspack_i)) exports[__rspack_i] = __webpack_exports__[__rspack_i];
|
|
42
|
-
Object.defineProperty(exports, '__esModule', {
|
|
43
|
-
value: true
|
|
44
|
-
});
|
|
@@ -1,66 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
"use client";
|
|
3
|
-
var __webpack_require__ = {};
|
|
4
|
-
(()=>{
|
|
5
|
-
__webpack_require__.d = (exports1, definition)=>{
|
|
6
|
-
for(var key in definition)if (__webpack_require__.o(definition, key) && !__webpack_require__.o(exports1, key)) Object.defineProperty(exports1, key, {
|
|
7
|
-
enumerable: true,
|
|
8
|
-
get: definition[key]
|
|
9
|
-
});
|
|
10
|
-
};
|
|
11
|
-
})();
|
|
12
|
-
(()=>{
|
|
13
|
-
__webpack_require__.o = (obj, prop)=>Object.prototype.hasOwnProperty.call(obj, prop);
|
|
14
|
-
})();
|
|
15
|
-
(()=>{
|
|
16
|
-
__webpack_require__.r = (exports1)=>{
|
|
17
|
-
if ("u" > typeof Symbol && Symbol.toStringTag) Object.defineProperty(exports1, Symbol.toStringTag, {
|
|
18
|
-
value: 'Module'
|
|
19
|
-
});
|
|
20
|
-
Object.defineProperty(exports1, '__esModule', {
|
|
21
|
-
value: true
|
|
22
|
-
});
|
|
23
|
-
};
|
|
24
|
-
})();
|
|
25
|
-
var __webpack_exports__ = {};
|
|
26
|
-
__webpack_require__.r(__webpack_exports__);
|
|
27
|
-
__webpack_require__.d(__webpack_exports__, {
|
|
28
|
-
AvatarFallback: ()=>AvatarFallback,
|
|
29
|
-
Avatar: ()=>Avatar,
|
|
30
|
-
AvatarImage: ()=>AvatarImage
|
|
31
|
-
});
|
|
32
|
-
const jsx_runtime_namespaceObject = require("react/jsx-runtime");
|
|
33
|
-
const tailwind_variants_namespaceObject = require("@codefast/tailwind-variants");
|
|
34
|
-
const react_avatar_namespaceObject = require("@radix-ui/react-avatar");
|
|
35
|
-
function Avatar({ className, ...props }) {
|
|
36
|
-
return /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(react_avatar_namespaceObject.Root, {
|
|
37
|
-
className: (0, tailwind_variants_namespaceObject.cn)('relative flex size-8 shrink-0 overflow-hidden rounded-full', className),
|
|
38
|
-
"data-slot": "avatar",
|
|
39
|
-
...props
|
|
40
|
-
});
|
|
41
|
-
}
|
|
42
|
-
function AvatarImage({ className, ...props }) {
|
|
43
|
-
return /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(react_avatar_namespaceObject.Image, {
|
|
44
|
-
className: (0, tailwind_variants_namespaceObject.cn)('aspect-square size-full', className),
|
|
45
|
-
"data-slot": "avatar-image",
|
|
46
|
-
...props
|
|
47
|
-
});
|
|
48
|
-
}
|
|
49
|
-
function AvatarFallback({ className, ...props }) {
|
|
50
|
-
return /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(react_avatar_namespaceObject.Fallback, {
|
|
51
|
-
className: (0, tailwind_variants_namespaceObject.cn)('bg-muted flex size-full items-center justify-center rounded-full', className),
|
|
52
|
-
"data-slot": "avatar-fallback",
|
|
53
|
-
...props
|
|
54
|
-
});
|
|
55
|
-
}
|
|
56
|
-
exports.Avatar = __webpack_exports__.Avatar;
|
|
57
|
-
exports.AvatarFallback = __webpack_exports__.AvatarFallback;
|
|
58
|
-
exports.AvatarImage = __webpack_exports__.AvatarImage;
|
|
59
|
-
for(var __rspack_i in __webpack_exports__)if (-1 === [
|
|
60
|
-
"Avatar",
|
|
61
|
-
"AvatarFallback",
|
|
62
|
-
"AvatarImage"
|
|
63
|
-
].indexOf(__rspack_i)) exports[__rspack_i] = __webpack_exports__[__rspack_i];
|
|
64
|
-
Object.defineProperty(exports, '__esModule', {
|
|
65
|
-
value: true
|
|
66
|
-
});
|
|
@@ -1,67 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
"use client";
|
|
3
|
-
var __webpack_require__ = {};
|
|
4
|
-
(()=>{
|
|
5
|
-
__webpack_require__.d = (exports1, definition)=>{
|
|
6
|
-
for(var key in definition)if (__webpack_require__.o(definition, key) && !__webpack_require__.o(exports1, key)) Object.defineProperty(exports1, key, {
|
|
7
|
-
enumerable: true,
|
|
8
|
-
get: definition[key]
|
|
9
|
-
});
|
|
10
|
-
};
|
|
11
|
-
})();
|
|
12
|
-
(()=>{
|
|
13
|
-
__webpack_require__.o = (obj, prop)=>Object.prototype.hasOwnProperty.call(obj, prop);
|
|
14
|
-
})();
|
|
15
|
-
(()=>{
|
|
16
|
-
__webpack_require__.r = (exports1)=>{
|
|
17
|
-
if ("u" > typeof Symbol && Symbol.toStringTag) Object.defineProperty(exports1, Symbol.toStringTag, {
|
|
18
|
-
value: 'Module'
|
|
19
|
-
});
|
|
20
|
-
Object.defineProperty(exports1, '__esModule', {
|
|
21
|
-
value: true
|
|
22
|
-
});
|
|
23
|
-
};
|
|
24
|
-
})();
|
|
25
|
-
var __webpack_exports__ = {};
|
|
26
|
-
__webpack_require__.r(__webpack_exports__);
|
|
27
|
-
__webpack_require__.d(__webpack_exports__, {
|
|
28
|
-
Badge: ()=>Badge,
|
|
29
|
-
badgeVariants: ()=>badgeVariants
|
|
30
|
-
});
|
|
31
|
-
const jsx_runtime_namespaceObject = require("react/jsx-runtime");
|
|
32
|
-
const tailwind_variants_namespaceObject = require("@codefast/tailwind-variants");
|
|
33
|
-
const react_slot_namespaceObject = require("@radix-ui/react-slot");
|
|
34
|
-
const badgeVariants = (0, tailwind_variants_namespaceObject.tv)({
|
|
35
|
-
base: 'focus-visible:ring-ring/50 focus-visible:ring-3 outline-hidden inline-flex w-fit shrink-0 items-center justify-center gap-2 whitespace-nowrap rounded-md border px-1.5 py-0.5 text-xs font-medium transition [&>svg]:size-3 [&>svg]:shrink-0',
|
|
36
|
-
defaultVariants: {
|
|
37
|
-
variant: 'default'
|
|
38
|
-
},
|
|
39
|
-
variants: {
|
|
40
|
-
variant: {
|
|
41
|
-
default: 'bg-primary [a&]:hover:bg-primary/80 text-primary-foreground focus-visible:ring-primary/20 dark:focus-visible:ring-primary/40 border-transparent',
|
|
42
|
-
destructive: 'bg-destructive dark:bg-destructive/60 [a&]:hover:bg-destructive/90 focus-visible:ring-destructive/20 dark:focus-visible:ring-destructive/40 border-transparent text-white',
|
|
43
|
-
outline: 'bg-background border-input [a&]:hover:bg-accent [a&]:hover:text-accent-foreground [a&]:hover:border-ring/60 focus-visible:border-ring',
|
|
44
|
-
secondary: 'bg-secondary [a&]:hover:bg-secondary/80 text-secondary-foreground border-transparent'
|
|
45
|
-
}
|
|
46
|
-
}
|
|
47
|
-
});
|
|
48
|
-
function Badge({ asChild, className, variant, ...props }) {
|
|
49
|
-
const Component = asChild ? react_slot_namespaceObject.Slot : 'span';
|
|
50
|
-
return /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(Component, {
|
|
51
|
-
className: badgeVariants({
|
|
52
|
-
className,
|
|
53
|
-
variant
|
|
54
|
-
}),
|
|
55
|
-
"data-slot": "badge",
|
|
56
|
-
...props
|
|
57
|
-
});
|
|
58
|
-
}
|
|
59
|
-
exports.Badge = __webpack_exports__.Badge;
|
|
60
|
-
exports.badgeVariants = __webpack_exports__.badgeVariants;
|
|
61
|
-
for(var __rspack_i in __webpack_exports__)if (-1 === [
|
|
62
|
-
"Badge",
|
|
63
|
-
"badgeVariants"
|
|
64
|
-
].indexOf(__rspack_i)) exports[__rspack_i] = __webpack_exports__[__rspack_i];
|
|
65
|
-
Object.defineProperty(exports, '__esModule', {
|
|
66
|
-
value: true
|
|
67
|
-
});
|
|
@@ -1,127 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
"use client";
|
|
3
|
-
var __webpack_require__ = {};
|
|
4
|
-
(()=>{
|
|
5
|
-
__webpack_require__.d = (exports1, definition)=>{
|
|
6
|
-
for(var key in definition)if (__webpack_require__.o(definition, key) && !__webpack_require__.o(exports1, key)) Object.defineProperty(exports1, key, {
|
|
7
|
-
enumerable: true,
|
|
8
|
-
get: definition[key]
|
|
9
|
-
});
|
|
10
|
-
};
|
|
11
|
-
})();
|
|
12
|
-
(()=>{
|
|
13
|
-
__webpack_require__.o = (obj, prop)=>Object.prototype.hasOwnProperty.call(obj, prop);
|
|
14
|
-
})();
|
|
15
|
-
(()=>{
|
|
16
|
-
__webpack_require__.r = (exports1)=>{
|
|
17
|
-
if ("u" > typeof Symbol && Symbol.toStringTag) Object.defineProperty(exports1, Symbol.toStringTag, {
|
|
18
|
-
value: 'Module'
|
|
19
|
-
});
|
|
20
|
-
Object.defineProperty(exports1, '__esModule', {
|
|
21
|
-
value: true
|
|
22
|
-
});
|
|
23
|
-
};
|
|
24
|
-
})();
|
|
25
|
-
var __webpack_exports__ = {};
|
|
26
|
-
__webpack_require__.r(__webpack_exports__);
|
|
27
|
-
__webpack_require__.d(__webpack_exports__, {
|
|
28
|
-
BreadcrumbPage: ()=>BreadcrumbPage,
|
|
29
|
-
BreadcrumbSeparator: ()=>BreadcrumbSeparator,
|
|
30
|
-
BreadcrumbItem: ()=>BreadcrumbItem,
|
|
31
|
-
BreadcrumbEllipsis: ()=>BreadcrumbEllipsis,
|
|
32
|
-
BreadcrumbLink: ()=>BreadcrumbLink,
|
|
33
|
-
Breadcrumb: ()=>Breadcrumb,
|
|
34
|
-
BreadcrumbList: ()=>BreadcrumbList
|
|
35
|
-
});
|
|
36
|
-
const jsx_runtime_namespaceObject = require("react/jsx-runtime");
|
|
37
|
-
const tailwind_variants_namespaceObject = require("@codefast/tailwind-variants");
|
|
38
|
-
const react_slot_namespaceObject = require("@radix-ui/react-slot");
|
|
39
|
-
const external_lucide_react_namespaceObject = require("lucide-react");
|
|
40
|
-
function Breadcrumb({ ...props }) {
|
|
41
|
-
return /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)("nav", {
|
|
42
|
-
"aria-label": "breadcrumb",
|
|
43
|
-
"data-slot": "breadcrumb",
|
|
44
|
-
...props
|
|
45
|
-
});
|
|
46
|
-
}
|
|
47
|
-
function BreadcrumbList({ className, ...props }) {
|
|
48
|
-
return /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)("ol", {
|
|
49
|
-
className: (0, tailwind_variants_namespaceObject.cn)('text-muted-foreground flex flex-wrap items-center gap-1.5 text-sm break-words sm:gap-2', className),
|
|
50
|
-
"data-slot": "breadcrumb-list",
|
|
51
|
-
...props
|
|
52
|
-
});
|
|
53
|
-
}
|
|
54
|
-
function BreadcrumbItem({ className, ...props }) {
|
|
55
|
-
return /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)("li", {
|
|
56
|
-
className: (0, tailwind_variants_namespaceObject.cn)('inline-flex items-center gap-1.5', className),
|
|
57
|
-
"data-slot": "breadcrumb-item",
|
|
58
|
-
...props
|
|
59
|
-
});
|
|
60
|
-
}
|
|
61
|
-
function BreadcrumbLink({ asChild, className, ...props }) {
|
|
62
|
-
const Component = asChild ? react_slot_namespaceObject.Slot : 'a';
|
|
63
|
-
return /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(Component, {
|
|
64
|
-
className: (0, tailwind_variants_namespaceObject.cn)('hover:text-foreground transition-colors', className),
|
|
65
|
-
"data-slot": "breadcrumb-link",
|
|
66
|
-
...props
|
|
67
|
-
});
|
|
68
|
-
}
|
|
69
|
-
function BreadcrumbPage({ className, ...props }) {
|
|
70
|
-
return /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)("span", {
|
|
71
|
-
"aria-current": "page",
|
|
72
|
-
"aria-disabled": "true",
|
|
73
|
-
className: (0, tailwind_variants_namespaceObject.cn)('text-foreground font-normal', className),
|
|
74
|
-
"data-slot": "breadcrumb-page",
|
|
75
|
-
role: "link",
|
|
76
|
-
tabIndex: 0,
|
|
77
|
-
...props
|
|
78
|
-
});
|
|
79
|
-
}
|
|
80
|
-
function BreadcrumbSeparator({ children, ...props }) {
|
|
81
|
-
return /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)("li", {
|
|
82
|
-
"aria-hidden": "true",
|
|
83
|
-
"data-slot": "breadcrumb-separator",
|
|
84
|
-
role: "presentation",
|
|
85
|
-
...props,
|
|
86
|
-
children: children ?? /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(external_lucide_react_namespaceObject.ChevronRightIcon, {
|
|
87
|
-
className: "size-3.5"
|
|
88
|
-
})
|
|
89
|
-
});
|
|
90
|
-
}
|
|
91
|
-
function BreadcrumbEllipsis({ className, ...props }) {
|
|
92
|
-
return /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsxs)("span", {
|
|
93
|
-
"aria-hidden": "true",
|
|
94
|
-
className: (0, tailwind_variants_namespaceObject.cn)('flex size-4 items-center justify-center', className),
|
|
95
|
-
"data-slot": "breadcrumb-ellipsis",
|
|
96
|
-
role: "presentation",
|
|
97
|
-
...props,
|
|
98
|
-
children: [
|
|
99
|
-
/*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(external_lucide_react_namespaceObject.EllipsisIcon, {
|
|
100
|
-
className: "size-4"
|
|
101
|
-
}),
|
|
102
|
-
/*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)("span", {
|
|
103
|
-
className: "sr-only",
|
|
104
|
-
children: "More"
|
|
105
|
-
})
|
|
106
|
-
]
|
|
107
|
-
});
|
|
108
|
-
}
|
|
109
|
-
exports.Breadcrumb = __webpack_exports__.Breadcrumb;
|
|
110
|
-
exports.BreadcrumbEllipsis = __webpack_exports__.BreadcrumbEllipsis;
|
|
111
|
-
exports.BreadcrumbItem = __webpack_exports__.BreadcrumbItem;
|
|
112
|
-
exports.BreadcrumbLink = __webpack_exports__.BreadcrumbLink;
|
|
113
|
-
exports.BreadcrumbList = __webpack_exports__.BreadcrumbList;
|
|
114
|
-
exports.BreadcrumbPage = __webpack_exports__.BreadcrumbPage;
|
|
115
|
-
exports.BreadcrumbSeparator = __webpack_exports__.BreadcrumbSeparator;
|
|
116
|
-
for(var __rspack_i in __webpack_exports__)if (-1 === [
|
|
117
|
-
"Breadcrumb",
|
|
118
|
-
"BreadcrumbEllipsis",
|
|
119
|
-
"BreadcrumbItem",
|
|
120
|
-
"BreadcrumbLink",
|
|
121
|
-
"BreadcrumbList",
|
|
122
|
-
"BreadcrumbPage",
|
|
123
|
-
"BreadcrumbSeparator"
|
|
124
|
-
].indexOf(__rspack_i)) exports[__rspack_i] = __webpack_exports__[__rspack_i];
|
|
125
|
-
Object.defineProperty(exports, '__esModule', {
|
|
126
|
-
value: true
|
|
127
|
-
});
|