@cognite/aura 0.1.7 → 0.3.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/DESIGN.md +34 -92
- package/README.md +33 -0
- package/dist/colors.css +471 -214
- package/dist/components/index.d.ts +17 -33
- package/dist/components/index.js +315 -281
- package/dist/components/ui/core/accordion/accordion.d.ts +7 -7
- package/dist/components/ui/core/accordion/accordion.js +64 -62
- package/dist/components/ui/core/action-toolbar/action-toolbar.d.ts +41 -0
- package/dist/components/ui/core/action-toolbar/action-toolbar.js +176 -0
- package/dist/components/ui/core/alert/alert.d.ts +23 -12
- package/dist/components/ui/core/alert/alert.js +123 -120
- package/dist/components/ui/core/avatar/avatar.d.ts +12 -8
- package/dist/components/ui/core/avatar/avatar.js +10 -10
- package/dist/components/ui/core/badge/badge.d.ts +11 -8
- package/dist/components/ui/core/badge/badge.js +13 -13
- package/dist/components/ui/core/banner/banner.d.ts +18 -28
- package/dist/components/ui/core/banner/banner.js +6 -6
- package/dist/components/ui/core/breadcrumb/breadcrumb.d.ts +12 -0
- package/dist/components/ui/core/breadcrumb/breadcrumb.js +200 -0
- package/dist/components/ui/core/button/button.d.ts +8 -5
- package/dist/components/ui/core/button/button.js +22 -19
- package/dist/components/ui/core/button-group/button-group.d.ts +7 -6
- package/dist/components/ui/core/card/card.d.ts +18 -14
- package/dist/components/ui/core/card/card.js +131 -87
- package/dist/components/ui/core/chart/chart.d.ts +69 -0
- package/dist/components/ui/core/chart/chart.js +215 -0
- package/dist/components/ui/core/chart/index.d.ts +2 -0
- package/dist/components/ui/core/chart/index.js +8 -0
- package/dist/components/ui/core/checkbox/checkbox.d.ts +17 -0
- package/dist/components/ui/core/checkbox/checkbox.js +133 -0
- package/dist/components/ui/core/{badge/badge.metadata.d.ts → checkbox/checkbox.metadata.d.ts} +1 -1
- package/dist/components/ui/core/checkbox/checkbox.metadata.js +8 -0
- package/dist/components/ui/core/code-block/code-block.d.ts +6 -9
- package/dist/components/ui/core/code-block/code-block.js +52 -48
- package/dist/components/ui/core/collapsible/collapsible.d.ts +5 -3
- package/dist/components/ui/core/combobox/combobox.d.ts +2 -2
- package/dist/components/ui/core/command/command.d.ts +11 -78
- package/dist/components/ui/core/command/command.js +53 -52
- package/dist/components/ui/core/count/count.d.ts +9 -0
- package/dist/components/ui/core/count/count.js +32 -0
- package/dist/components/ui/core/date-time-pickers/date-range-picker/date-range-picker.d.ts +15 -0
- package/dist/components/ui/core/date-time-pickers/date-range-picker/date-range-picker.js +99 -0
- package/dist/components/ui/core/date-time-pickers/date-range-picker/index.d.ts +3 -0
- package/dist/components/ui/core/date-time-pickers/date-range-picker/types.d.ts +25 -0
- package/dist/components/ui/core/date-time-pickers/date-range-picker/use-date-range-picker.d.ts +4 -0
- package/dist/components/ui/core/date-time-pickers/date-range-picker/use-date-range-picker.js +82 -0
- package/dist/components/ui/core/date-time-pickers/date-time-range-picker/date-time-range-picker.d.ts +17 -0
- package/dist/components/ui/core/date-time-pickers/date-time-range-picker/date-time-range-picker.js +190 -0
- package/dist/components/ui/core/date-time-pickers/date-time-range-picker/index.d.ts +3 -0
- package/dist/components/ui/core/date-time-pickers/date-time-range-picker/types.d.ts +42 -0
- package/dist/components/ui/core/date-time-pickers/date-time-range-picker/use-date-time-range-picker.d.ts +3 -0
- package/dist/components/ui/core/date-time-pickers/date-time-range-picker/use-date-time-range-picker.js +161 -0
- package/dist/components/ui/core/date-time-pickers/index.d.ts +6 -0
- package/dist/components/ui/core/date-time-pickers/shared/am-pm-scroll/am-pm-scroll.d.ts +7 -0
- package/dist/components/ui/core/date-time-pickers/shared/am-pm-scroll/am-pm-scroll.js +57 -0
- package/dist/components/ui/core/date-time-pickers/shared/calendar/calendar.d.ts +13 -0
- package/dist/components/ui/core/date-time-pickers/shared/calendar/calendar.js +119 -0
- package/dist/components/ui/core/date-time-pickers/shared/calendar-header/calendar-header.d.ts +10 -0
- package/dist/components/ui/core/date-time-pickers/shared/calendar-header/calendar-header.js +93 -0
- package/dist/components/ui/core/date-time-pickers/shared/constants.d.ts +20 -0
- package/dist/components/ui/core/date-time-pickers/shared/constants.js +14 -0
- package/dist/components/ui/core/date-time-pickers/shared/date-time-input/date-time-input.d.ts +19 -0
- package/dist/components/ui/core/date-time-pickers/shared/date-time-input/date-time-input.js +99 -0
- package/dist/components/ui/core/date-time-pickers/shared/date-time-input/range-input-display.d.ts +12 -0
- package/dist/components/ui/core/date-time-pickers/shared/date-time-input/range-input-display.js +68 -0
- package/dist/components/ui/core/date-time-pickers/shared/hooks/use-popover-state.d.ts +12 -0
- package/dist/components/ui/core/date-time-pickers/shared/hooks/use-popover-state.js +40 -0
- package/dist/components/ui/core/date-time-pickers/shared/hooks/use-range-date-state.d.ts +29 -0
- package/dist/components/ui/core/date-time-pickers/shared/hooks/use-range-date-state.js +63 -0
- package/dist/components/ui/core/date-time-pickers/shared/hooks/use-range-step-manager.d.ts +8 -0
- package/dist/components/ui/core/date-time-pickers/shared/hooks/use-range-step-manager.js +19 -0
- package/dist/components/ui/core/date-time-pickers/shared/hooks/use-time-state.d.ts +17 -0
- package/dist/components/ui/core/date-time-pickers/shared/hooks/use-time-state.js +34 -0
- package/dist/components/ui/core/date-time-pickers/shared/scroll-cell-classes.d.ts +8 -0
- package/dist/components/ui/core/date-time-pickers/shared/scroll-cell-classes.js +7 -0
- package/dist/components/ui/core/date-time-pickers/shared/shortcuts-panel/shortcuts-panel.d.ts +13 -0
- package/dist/components/ui/core/date-time-pickers/shared/shortcuts-panel/shortcuts-panel.js +31 -0
- package/dist/components/ui/core/date-time-pickers/shared/time-picker-scroll/time-picker-scroll.d.ts +10 -0
- package/dist/components/ui/core/date-time-pickers/shared/time-picker-scroll/time-picker-scroll.js +52 -0
- package/dist/components/ui/core/date-time-pickers/utils/calendar-utils.d.ts +48 -0
- package/dist/components/ui/core/date-time-pickers/utils/calendar-utils.js +52 -0
- package/dist/components/ui/core/date-time-pickers/utils/date-range-utils.d.ts +26 -0
- package/dist/components/ui/core/date-time-pickers/utils/format-utils.d.ts +37 -0
- package/dist/components/ui/core/date-time-pickers/utils/segment-utils.d.ts +34 -0
- package/dist/components/ui/core/date-time-pickers/utils/time-utils.d.ts +43 -0
- package/dist/components/ui/core/date-time-pickers/utils/time-utils.js +15 -0
- package/dist/components/ui/core/date-time-pickers/utils/time-validation.d.ts +23 -0
- package/dist/components/ui/core/dialog/dialog.d.ts +10 -10
- package/dist/components/ui/core/dialog/dialog.js +12 -3
- package/dist/components/ui/core/dropdown-menu/dropdown-menu.d.ts +24 -47
- package/dist/components/ui/core/dropdown-menu/dropdown-menu.js +125 -123
- package/dist/components/ui/core/empty-state/empty-state.context.d.ts +10 -0
- package/dist/components/ui/core/empty-state/empty-state.context.js +8 -0
- package/dist/components/ui/core/empty-state/empty-state.d.ts +18 -0
- package/dist/components/ui/core/empty-state/empty-state.js +139 -0
- package/dist/components/ui/core/helper-text/helper-text.d.ts +7 -5
- package/dist/components/ui/core/hover-card/hover-card.d.ts +5 -7
- package/dist/components/ui/core/hover-card/hover-card.js +26 -25
- package/dist/components/ui/core/inline-citation/inline-citation.d.ts +10 -10
- package/dist/components/ui/core/inline-citation/inline-citation.js +65 -57
- package/dist/components/ui/core/input/input.d.ts +2 -1
- package/dist/components/ui/core/input-group/input-group.d.ts +17 -13
- package/dist/components/ui/core/input-group/input-group.js +35 -36
- package/dist/components/ui/core/kbd/kbd.d.ts +4 -0
- package/dist/components/ui/core/kbd/kbd.js +36 -0
- package/dist/components/ui/core/label/label.d.ts +3 -2
- package/dist/components/ui/core/loader/loader.d.ts +11 -3
- package/dist/components/ui/core/loader/loader.js +106 -107
- package/dist/components/ui/core/message/message.d.ts +18 -17
- package/dist/components/ui/core/message/message.js +15 -13
- package/dist/components/ui/core/pagination/pagination-size-context.d.ts +5 -0
- package/dist/components/ui/core/pagination/pagination-size-context.js +6 -0
- package/dist/components/ui/core/pagination/pagination-teleport.d.ts +11 -0
- package/dist/components/ui/core/pagination/pagination-teleport.js +108 -0
- package/dist/components/ui/core/pagination/pagination-teleport.utils.d.ts +1 -0
- package/dist/components/ui/core/pagination/pagination-teleport.utils.js +7 -0
- package/dist/components/ui/core/pagination/pagination.d.ts +41 -0
- package/dist/components/ui/core/pagination/pagination.js +335 -0
- package/dist/components/ui/core/popover/popover.d.ts +12 -16
- package/dist/components/ui/core/popover/popover.js +52 -51
- package/dist/components/ui/core/progress/progress.d.ts +7 -4
- package/dist/components/ui/core/prompt-input/prompt-input.d.ts +36 -103
- package/dist/components/ui/core/prompt-input/prompt-input.js +193 -180
- package/dist/components/ui/core/radio-group/radio-group.d.ts +20 -0
- package/dist/components/ui/core/radio-group/radio-group.js +113 -0
- package/dist/components/ui/core/reasoning/reasoning.d.ts +5 -5
- package/dist/components/ui/core/reasoning/reasoning.js +1 -1
- package/dist/components/ui/core/scroll-area/scroll-area.d.ts +4 -2
- package/dist/components/ui/core/search/search.d.ts +10 -0
- package/dist/components/ui/core/search/search.js +99 -0
- package/dist/components/ui/core/segmented-control/segmented-control.d.ts +20 -0
- package/dist/components/ui/core/segmented-control/segmented-control.js +172 -0
- package/dist/components/ui/core/select/select.d.ts +13 -13
- package/dist/components/ui/core/select/select.js +13 -10
- package/dist/components/ui/core/separator/separator.d.ts +2 -4
- package/dist/components/ui/core/separator/separator.js +4 -5
- package/dist/components/ui/core/shimmer/shimmer.d.ts +3 -5
- package/dist/components/ui/core/shimmer/shimmer.js +25 -26
- package/dist/components/ui/core/skeleton/skeleton.d.ts +2 -1
- package/dist/components/ui/core/sonner-toast/sonner-toast.d.ts +4 -0
- package/dist/components/ui/core/sonner-toast/sonner-toast.js +48 -0
- package/dist/components/ui/core/sources/sources.d.ts +3 -3
- package/dist/components/ui/core/sources/sources.js +6 -1
- package/dist/components/ui/core/switch/switch.d.ts +11 -0
- package/dist/components/ui/core/{button/button.metadata.d.ts → switch/switch.metadata.d.ts} +1 -1
- package/dist/components/ui/core/tabs/tabs.d.ts +27 -0
- package/dist/components/ui/core/tabs/tabs.js +224 -0
- package/dist/components/ui/core/tabs/tabs.utils.d.ts +2 -0
- package/dist/components/ui/core/tabs/tabs.utils.js +9 -0
- package/dist/components/ui/core/textarea/textarea.d.ts +2 -1
- package/dist/components/ui/core/textarea/textarea.js +20 -18
- package/dist/components/ui/core/tool/tool.d.ts +7 -6
- package/dist/components/ui/core/tool/tool.js +48 -44
- package/dist/components/ui/core/tooltip/tooltip.d.ts +6 -5
- package/dist/components/ui/core/tooltip/tooltip.js +10 -8
- package/dist/components/ui/core/topbar/topbar.d.ts +28 -0
- package/dist/components/ui/core/topbar/topbar.js +190 -0
- package/dist/eslint/index.d.ts +2 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +298 -273
- package/dist/lib/portal-container-context.d.ts +2 -1
- package/dist/lib/portal-container-context.js +1 -3
- package/dist/lib/utils.d.ts +11 -0
- package/dist/lib/utils.js +40 -29
- package/dist/styles.css +1 -1
- package/dist/styles.source.css +75 -8
- package/package.json +26 -5
- package/dist/components/ui/core/accordion/accordion.metadata.d.ts +0 -2
- package/dist/components/ui/core/accordion/accordion.metadata.js +0 -9
- package/dist/components/ui/core/alert/alert.metadata.d.ts +0 -2
- package/dist/components/ui/core/alert/alert.metadata.js +0 -9
- package/dist/components/ui/core/avatar/avatar.metadata.d.ts +0 -8
- package/dist/components/ui/core/avatar/avatar.metadata.js +0 -9
- package/dist/components/ui/core/badge/badge.metadata.js +0 -8
- package/dist/components/ui/core/banner/banner.metadata.d.ts +0 -2
- package/dist/components/ui/core/banner/banner.metadata.js +0 -9
- package/dist/components/ui/core/button/button.metadata.js +0 -9
- package/dist/components/ui/core/button-group/button-group.metadata.d.ts +0 -2
- package/dist/components/ui/core/button-group/button-group.metadata.js +0 -8
- package/dist/components/ui/core/card/card.metadata.d.ts +0 -8
- package/dist/components/ui/core/card/card.metadata.js +0 -9
- package/dist/components/ui/core/code-block/code-block.metadata.d.ts +0 -2
- package/dist/components/ui/core/code-block/code-block.metadata.js +0 -8
- package/dist/components/ui/core/collapsible/collapsible.metadata.d.ts +0 -2
- package/dist/components/ui/core/collapsible/collapsible.metadata.js +0 -9
- package/dist/components/ui/core/combobox/combobox.metadata.d.ts +0 -2
- package/dist/components/ui/core/command/command.metadata.d.ts +0 -2
- package/dist/components/ui/core/command/command.metadata.js +0 -9
- package/dist/components/ui/core/dialog/dialog.metadata.d.ts +0 -2
- package/dist/components/ui/core/dialog/dialog.metadata.js +0 -9
- package/dist/components/ui/core/dropdown-menu/dropdown-menu.metadata.d.ts +0 -2
- package/dist/components/ui/core/dropdown-menu/dropdown-menu.metadata.js +0 -9
- package/dist/components/ui/core/helper-text/helper-text.metadata.d.ts +0 -2
- package/dist/components/ui/core/helper-text/helper-text.metadata.js +0 -9
- package/dist/components/ui/core/hover-card/hover-card.metadata.d.ts +0 -2
- package/dist/components/ui/core/hover-card/hover-card.metadata.js +0 -8
- package/dist/components/ui/core/inline-citation/inline-citation.metadata.d.ts +0 -2
- package/dist/components/ui/core/inline-citation/inline-citation.metadata.js +0 -8
- package/dist/components/ui/core/input/input.metadata.d.ts +0 -2
- package/dist/components/ui/core/input/input.metadata.js +0 -9
- package/dist/components/ui/core/input-group/input-group.metadata.d.ts +0 -2
- package/dist/components/ui/core/input-group/input-group.metadata.js +0 -9
- package/dist/components/ui/core/label/label.metadata.d.ts +0 -2
- package/dist/components/ui/core/label/label.metadata.js +0 -9
- package/dist/components/ui/core/loader/loader.metadata.d.ts +0 -2
- package/dist/components/ui/core/loader/loader.metadata.js +0 -9
- package/dist/components/ui/core/message/message.metadata.d.ts +0 -2
- package/dist/components/ui/core/popover/popover.metadata.d.ts +0 -2
- package/dist/components/ui/core/popover/popover.metadata.js +0 -9
- package/dist/components/ui/core/progress/progress.metadata.d.ts +0 -2
- package/dist/components/ui/core/progress/progress.metadata.js +0 -9
- package/dist/components/ui/core/prompt-input/prompt-input.metadata.d.ts +0 -2
- package/dist/components/ui/core/prompt-input/prompt-input.metadata.js +0 -9
- package/dist/components/ui/core/reasoning/reasoning.metadata.d.ts +0 -2
- package/dist/components/ui/core/reasoning/reasoning.metadata.js +0 -8
- package/dist/components/ui/core/scroll-area/scroll-area.metadata.d.ts +0 -2
- package/dist/components/ui/core/scroll-area/scroll-area.metadata.js +0 -9
- package/dist/components/ui/core/select/select.metadata.d.ts +0 -2
- package/dist/components/ui/core/select/select.metadata.js +0 -9
- package/dist/components/ui/core/separator/separator.metadata.d.ts +0 -2
- package/dist/components/ui/core/separator/separator.metadata.js +0 -8
- package/dist/components/ui/core/shimmer/shimmer.metadata.d.ts +0 -2
- package/dist/components/ui/core/shimmer/shimmer.metadata.js +0 -9
- package/dist/components/ui/core/skeleton/skeleton.metadata.d.ts +0 -2
- package/dist/components/ui/core/skeleton/skeleton.metadata.js +0 -9
- package/dist/components/ui/core/sources/sources.metadata.d.ts +0 -2
- package/dist/components/ui/core/textarea/textarea.metadata.d.ts +0 -2
- package/dist/components/ui/core/textarea/textarea.metadata.js +0 -9
- package/dist/components/ui/core/tool/tool.metadata.d.ts +0 -2
- package/dist/components/ui/core/tool/tool.metadata.js +0 -8
- package/dist/components/ui/core/tooltip/tooltip.metadata.d.ts +0 -8
- package/dist/components/ui/core/tooltip/tooltip.metadata.js +0 -9
|
@@ -0,0 +1,200 @@
|
|
|
1
|
+
import { jsx as a, jsxs as u, Fragment as c } from "react/jsx-runtime";
|
|
2
|
+
import { forwardRef as o } from "react";
|
|
3
|
+
import { mergeProps as m } from "@base-ui/react/merge-props";
|
|
4
|
+
import { useRender as l } from "@base-ui/react/use-render";
|
|
5
|
+
import { IconDots as i, IconSlash as p } from "@tabler/icons-react";
|
|
6
|
+
import { cn as n } from "../../../../lib/utils.js";
|
|
7
|
+
const b = o(
|
|
8
|
+
({ ...e }, t) => /* @__PURE__ */ a(
|
|
9
|
+
"nav",
|
|
10
|
+
{
|
|
11
|
+
ref: t,
|
|
12
|
+
"aria-label": "breadcrumb",
|
|
13
|
+
"data-slot": "breadcrumb",
|
|
14
|
+
...e
|
|
15
|
+
}
|
|
16
|
+
)
|
|
17
|
+
);
|
|
18
|
+
b.displayName = "Breadcrumb";
|
|
19
|
+
const g = o(
|
|
20
|
+
({ className: e, ...t }, r) => /* @__PURE__ */ a(
|
|
21
|
+
"ol",
|
|
22
|
+
{
|
|
23
|
+
ref: r,
|
|
24
|
+
"data-slot": "breadcrumb-list",
|
|
25
|
+
className: n(
|
|
26
|
+
"flex items-center text-sm tracking-tight flex-wrap wrap-break-word",
|
|
27
|
+
e
|
|
28
|
+
),
|
|
29
|
+
...t
|
|
30
|
+
}
|
|
31
|
+
)
|
|
32
|
+
);
|
|
33
|
+
g.displayName = "BreadcrumbList";
|
|
34
|
+
const f = o(
|
|
35
|
+
({ className: e, ...t }, r) => /* @__PURE__ */ a(
|
|
36
|
+
"li",
|
|
37
|
+
{
|
|
38
|
+
ref: r,
|
|
39
|
+
"data-slot": "breadcrumb-item",
|
|
40
|
+
className: n(
|
|
41
|
+
"inline-flex items-center text-muted-foreground text-sm tracking-tight",
|
|
42
|
+
"has-[button[data-popup-open]]:bg-accent-background has-[button[data-popup-open]]:text-foreground has-[button[data-popup-open]]:rounded-sm",
|
|
43
|
+
e
|
|
44
|
+
),
|
|
45
|
+
...t
|
|
46
|
+
}
|
|
47
|
+
)
|
|
48
|
+
);
|
|
49
|
+
f.displayName = "BreadcrumbItem";
|
|
50
|
+
const x = o(
|
|
51
|
+
({ className: e, render: t, children: r, ...s }, d) => l({
|
|
52
|
+
defaultTagName: "a",
|
|
53
|
+
ref: d,
|
|
54
|
+
props: m(
|
|
55
|
+
{
|
|
56
|
+
...{
|
|
57
|
+
"data-slot": "breadcrumb-link"
|
|
58
|
+
},
|
|
59
|
+
className: n(
|
|
60
|
+
"inline-flex h-7 items-center justify-center gap-2 rounded-md px-[6px] py-1",
|
|
61
|
+
"text-muted-foreground text-sm leading-[18px] tracking-tight font-normal",
|
|
62
|
+
"transition-colors hover:bg-accent-background hover:text-foreground",
|
|
63
|
+
"aria-[current=page]:font-medium aria-[current=page]:text-foreground",
|
|
64
|
+
e
|
|
65
|
+
)
|
|
66
|
+
},
|
|
67
|
+
{ ...s, children: r }
|
|
68
|
+
),
|
|
69
|
+
render: t,
|
|
70
|
+
state: {
|
|
71
|
+
slot: "breadcrumb-link"
|
|
72
|
+
}
|
|
73
|
+
})
|
|
74
|
+
);
|
|
75
|
+
x.displayName = "BreadcrumbLink";
|
|
76
|
+
const h = o(
|
|
77
|
+
({ className: e, ...t }, r) => /* @__PURE__ */ a(
|
|
78
|
+
"span",
|
|
79
|
+
{
|
|
80
|
+
ref: r,
|
|
81
|
+
"data-slot": "breadcrumb-page",
|
|
82
|
+
role: "link",
|
|
83
|
+
"aria-disabled": "true",
|
|
84
|
+
"aria-current": "page",
|
|
85
|
+
tabIndex: -1,
|
|
86
|
+
className: n(
|
|
87
|
+
"inline-flex h-7 items-center justify-center gap-2 rounded-md px-[6px] py-1",
|
|
88
|
+
"cursor-default hover:bg-transparent dark:hover:bg-transparent",
|
|
89
|
+
"text-sm leading-[18px] tracking-tight font-medium text-foreground",
|
|
90
|
+
e
|
|
91
|
+
),
|
|
92
|
+
...t
|
|
93
|
+
}
|
|
94
|
+
)
|
|
95
|
+
);
|
|
96
|
+
h.displayName = "BreadcrumbPage";
|
|
97
|
+
const N = o(
|
|
98
|
+
({ className: e, ...t }, r) => /* @__PURE__ */ a(
|
|
99
|
+
"button",
|
|
100
|
+
{
|
|
101
|
+
ref: r,
|
|
102
|
+
"data-slot": "breadcrumb-page-button",
|
|
103
|
+
type: "button",
|
|
104
|
+
"aria-current": "page",
|
|
105
|
+
className: n(
|
|
106
|
+
"inline-flex h-7 items-center justify-center gap-2 rounded-md px-[6px] py-1",
|
|
107
|
+
"text-sm leading-[18px] tracking-tight font-medium text-foreground",
|
|
108
|
+
"transition-colors hover:bg-accent-background",
|
|
109
|
+
e
|
|
110
|
+
),
|
|
111
|
+
...t
|
|
112
|
+
}
|
|
113
|
+
)
|
|
114
|
+
);
|
|
115
|
+
N.displayName = "BreadcrumbPageButton";
|
|
116
|
+
const y = o(
|
|
117
|
+
({ className: e, children: t, ...r }, s) => /* @__PURE__ */ a(
|
|
118
|
+
"button",
|
|
119
|
+
{
|
|
120
|
+
ref: s,
|
|
121
|
+
"data-slot": "breadcrumb-ellipsis-button",
|
|
122
|
+
type: "button",
|
|
123
|
+
className: n(
|
|
124
|
+
"flex size-7 items-center justify-center rounded-md",
|
|
125
|
+
"text-muted-foreground transition-colors hover:bg-accent-background hover:text-foreground",
|
|
126
|
+
"data-[popup-open]:bg-accent-background data-[popup-open]:text-foreground",
|
|
127
|
+
e
|
|
128
|
+
),
|
|
129
|
+
...r,
|
|
130
|
+
children: t ?? /* @__PURE__ */ u(c, { children: [
|
|
131
|
+
/* @__PURE__ */ a(i, { className: "size-3" }),
|
|
132
|
+
/* @__PURE__ */ a("span", { className: "sr-only", children: "More" })
|
|
133
|
+
] })
|
|
134
|
+
}
|
|
135
|
+
)
|
|
136
|
+
);
|
|
137
|
+
y.displayName = "BreadcrumbEllipsisButton";
|
|
138
|
+
const B = o(
|
|
139
|
+
({ children: e, className: t, ...r }, s) => /* @__PURE__ */ a(
|
|
140
|
+
"li",
|
|
141
|
+
{
|
|
142
|
+
ref: s,
|
|
143
|
+
"data-slot": "breadcrumb-separator",
|
|
144
|
+
role: "presentation",
|
|
145
|
+
"aria-hidden": "true",
|
|
146
|
+
className: n(
|
|
147
|
+
"flex size-4 items-center justify-center [&>svg]:size-4",
|
|
148
|
+
t
|
|
149
|
+
),
|
|
150
|
+
...r,
|
|
151
|
+
children: e ?? /* @__PURE__ */ a(p, { className: "size-4 text-muted-foreground" })
|
|
152
|
+
}
|
|
153
|
+
)
|
|
154
|
+
);
|
|
155
|
+
B.displayName = "BreadcrumbSeparator";
|
|
156
|
+
const k = o(
|
|
157
|
+
({ children: e, className: t, ...r }, s) => {
|
|
158
|
+
const d = e != null;
|
|
159
|
+
return /* @__PURE__ */ a(
|
|
160
|
+
"li",
|
|
161
|
+
{
|
|
162
|
+
ref: s,
|
|
163
|
+
"data-slot": "breadcrumb-ellipsis",
|
|
164
|
+
role: d ? void 0 : "presentation",
|
|
165
|
+
"aria-hidden": d ? void 0 : !0,
|
|
166
|
+
className: n(
|
|
167
|
+
"inline-flex items-center",
|
|
168
|
+
"has-[button[data-popup-open]]:bg-accent-background has-[button[data-popup-open]]:text-foreground has-[button[data-popup-open]]:rounded-sm",
|
|
169
|
+
t
|
|
170
|
+
),
|
|
171
|
+
...r,
|
|
172
|
+
children: e ?? /* @__PURE__ */ u(
|
|
173
|
+
"span",
|
|
174
|
+
{
|
|
175
|
+
className: n(
|
|
176
|
+
"flex size-7 items-center justify-center rounded-md",
|
|
177
|
+
"cursor-default text-muted-foreground hover:bg-transparent dark:hover:bg-transparent"
|
|
178
|
+
),
|
|
179
|
+
children: [
|
|
180
|
+
/* @__PURE__ */ a(i, { className: "size-3" }),
|
|
181
|
+
/* @__PURE__ */ a("span", { className: "sr-only", children: "More" })
|
|
182
|
+
]
|
|
183
|
+
}
|
|
184
|
+
)
|
|
185
|
+
}
|
|
186
|
+
);
|
|
187
|
+
}
|
|
188
|
+
);
|
|
189
|
+
k.displayName = "BreadcrumbEllipsis";
|
|
190
|
+
export {
|
|
191
|
+
b as Breadcrumb,
|
|
192
|
+
k as BreadcrumbEllipsis,
|
|
193
|
+
y as BreadcrumbEllipsisButton,
|
|
194
|
+
f as BreadcrumbItem,
|
|
195
|
+
x as BreadcrumbLink,
|
|
196
|
+
g as BreadcrumbList,
|
|
197
|
+
h as BreadcrumbPage,
|
|
198
|
+
N as BreadcrumbPageButton,
|
|
199
|
+
B as BreadcrumbSeparator
|
|
200
|
+
};
|
|
@@ -1,9 +1,12 @@
|
|
|
1
|
+
import { ForwardRefExoticComponent, RefAttributes } from 'react';
|
|
1
2
|
import { Button as ButtonPrimitive } from '@base-ui/react/button';
|
|
2
3
|
import { VariantProps } from 'class-variance-authority';
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
import { ClassProp } from 'class-variance-authority/types';
|
|
5
|
+
export interface ButtonVariantProps {
|
|
6
|
+
variant?: 'default' | 'defaultOnDark' | 'secondary' | 'secondaryOnDark' | 'outline' | 'ghost' | 'ghostOnDark' | 'destructive' | null;
|
|
7
|
+
size?: 'default' | 'sm' | 'lg' | 'icon' | 'icon-sm' | 'icon-lg' | null;
|
|
8
|
+
}
|
|
9
|
+
declare const buttonVariants: (props?: (ButtonVariantProps & ClassProp) | undefined) => string;
|
|
7
10
|
type ButtonProps = ButtonPrimitive.Props & VariantProps<typeof buttonVariants>;
|
|
8
|
-
declare const Button:
|
|
11
|
+
declare const Button: ForwardRefExoticComponent<Omit<ButtonProps, 'ref'> & RefAttributes<HTMLElement>>;
|
|
9
12
|
export { Button, buttonVariants };
|
|
@@ -1,18 +1,21 @@
|
|
|
1
|
-
import { jsx as
|
|
2
|
-
import { forwardRef as
|
|
3
|
-
import { Button as
|
|
4
|
-
import { cva as
|
|
5
|
-
import {
|
|
6
|
-
const
|
|
7
|
-
`inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-lg text-sm leading-4.5 tracking-normal font-medium transition-all cursor-pointer disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none [&_svg:not([class*='size-'])]:size-4 shrink-0 [&_svg]:shrink-0 ${
|
|
1
|
+
import { jsx as s } from "react/jsx-runtime";
|
|
2
|
+
import { forwardRef as g } from "react";
|
|
3
|
+
import { Button as b } from "@base-ui/react/button";
|
|
4
|
+
import { cva as c } from "class-variance-authority";
|
|
5
|
+
import { cn as u, focusRing as f, focusRingDestructive as l } from "../../../../lib/utils.js";
|
|
6
|
+
const v = c(
|
|
7
|
+
`inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-lg text-sm leading-4.5 tracking-normal font-medium transition-all cursor-pointer disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none [&_svg:not([class*='size-'])]:size-4 shrink-0 [&_svg]:shrink-0 ${f} aria-invalid:focus-visible:shadow-focus-ring-destructive`,
|
|
8
8
|
{
|
|
9
9
|
variants: {
|
|
10
10
|
variant: {
|
|
11
11
|
default: "bg-primary-background text-foreground-on-primary hover:bg-primary-background-hover",
|
|
12
|
+
defaultOnDark: "bg-primary-background-fixed-dark text-foreground-fixed-dark hover:bg-primary-background-fixed-dark-hover disabled:opacity-100 disabled:bg-disabled-background-fixed-dark disabled:text-disabled-foreground-fixed-dark",
|
|
12
13
|
secondary: "bg-secondary-background text-secondary-foreground hover:bg-secondary-background-hover",
|
|
14
|
+
secondaryOnDark: "bg-secondary-background-fixed-dark text-foreground-fixed-light hover:bg-secondary-background-fixed-dark-hover disabled:opacity-100 disabled:bg-disabled-background-fixed-dark disabled:text-disabled-foreground-fixed-dark",
|
|
13
15
|
outline: "border border-border-emphasized bg-background text-foreground hover:bg-accent-background disabled:border-transparent disabled:bg-disabled-background",
|
|
14
16
|
ghost: "hover:bg-accent-background",
|
|
15
|
-
|
|
17
|
+
ghostOnDark: "text-foreground-fixed-light hover:bg-secondary-background-fixed-dark disabled:opacity-100 disabled:text-disabled-foreground-fixed-dark",
|
|
18
|
+
destructive: `bg-destructive-background text-destructive-foreground-on-critical hover:bg-destructive-background-hover ${l}`
|
|
16
19
|
},
|
|
17
20
|
size: {
|
|
18
21
|
default: "h-9 px-3 has-[>svg]:px-3",
|
|
@@ -28,22 +31,22 @@ const p = g(
|
|
|
28
31
|
size: "default"
|
|
29
32
|
}
|
|
30
33
|
}
|
|
31
|
-
),
|
|
32
|
-
({ className: r, variant:
|
|
33
|
-
|
|
34
|
+
), k = g(
|
|
35
|
+
({ className: r, variant: d, size: a, children: o, render: e, nativeButton: t, ...i }, n) => /* @__PURE__ */ s(
|
|
36
|
+
b,
|
|
34
37
|
{
|
|
35
|
-
ref:
|
|
38
|
+
ref: n,
|
|
36
39
|
"data-slot": "button",
|
|
37
40
|
render: e,
|
|
38
|
-
nativeButton:
|
|
39
|
-
className:
|
|
40
|
-
...
|
|
41
|
-
children:
|
|
41
|
+
nativeButton: t ?? (e ? !1 : void 0),
|
|
42
|
+
className: u(v({ variant: d, size: a, className: r })),
|
|
43
|
+
...i,
|
|
44
|
+
children: o
|
|
42
45
|
}
|
|
43
46
|
)
|
|
44
47
|
);
|
|
45
|
-
|
|
48
|
+
k.displayName = "Button";
|
|
46
49
|
export {
|
|
47
|
-
|
|
48
|
-
|
|
50
|
+
k as Button,
|
|
51
|
+
v as buttonVariants
|
|
49
52
|
};
|
|
@@ -1,11 +1,12 @@
|
|
|
1
|
-
import { ComponentProps } from 'react';
|
|
1
|
+
import { ComponentProps, ReactNode } from 'react';
|
|
2
2
|
import { useRender } from '@base-ui/react/use-render';
|
|
3
3
|
import { VariantProps } from 'class-variance-authority';
|
|
4
|
+
import { ClassProp } from 'class-variance-authority/types';
|
|
4
5
|
import { Separator } from '../separator/separator';
|
|
5
6
|
declare const buttonGroupVariants: (props?: ({
|
|
6
|
-
orientation?:
|
|
7
|
-
} &
|
|
8
|
-
declare function ButtonGroup({ className, orientation, ...props }: ComponentProps<'div'> & VariantProps<typeof buttonGroupVariants>):
|
|
9
|
-
declare function ButtonGroupText({ className, render, children, ...props }: useRender.ComponentProps<'div'>):
|
|
10
|
-
declare function ButtonGroupSeparator({ className, orientation, ...props }: ComponentProps<typeof Separator>):
|
|
7
|
+
orientation?: 'horizontal' | 'vertical' | null | undefined;
|
|
8
|
+
} & ClassProp) | undefined) => string;
|
|
9
|
+
declare function ButtonGroup({ className, orientation, ...props }: ComponentProps<'div'> & VariantProps<typeof buttonGroupVariants>): ReactNode;
|
|
10
|
+
declare function ButtonGroupText({ className, render, children, ...props }: useRender.ComponentProps<'div'>): ReactNode;
|
|
11
|
+
declare function ButtonGroupSeparator({ className, orientation, ...props }: ComponentProps<typeof Separator>): ReactNode;
|
|
11
12
|
export { ButtonGroup, ButtonGroupSeparator, ButtonGroupText, buttonGroupVariants, };
|
|
@@ -1,17 +1,21 @@
|
|
|
1
|
-
import { ReactNode } from 'react';
|
|
1
|
+
import { ForwardRefExoticComponent, RefAttributes, ComponentProps, ReactNode } from 'react';
|
|
2
|
+
import { MenuRoot } from '@base-ui/react';
|
|
2
3
|
type HeadingElement = 'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'h6';
|
|
3
|
-
declare const Card:
|
|
4
|
-
declare const
|
|
5
|
-
declare const
|
|
6
|
-
declare const CardTitle: import('react').ForwardRefExoticComponent<Omit<import('react').ClassAttributes<HTMLHeadingElement> & import('react').HTMLAttributes<HTMLHeadingElement> & {
|
|
4
|
+
declare const Card: ForwardRefExoticComponent<ComponentProps<'div'> & RefAttributes<HTMLDivElement>>;
|
|
5
|
+
declare const CardHeaderStart: ForwardRefExoticComponent<ComponentProps<'div'> & RefAttributes<HTMLDivElement>>;
|
|
6
|
+
declare const CardTitle: ForwardRefExoticComponent<Omit<ComponentProps<'h3'> & {
|
|
7
7
|
as?: HeadingElement;
|
|
8
|
-
},
|
|
9
|
-
declare const CardDescription:
|
|
10
|
-
declare const
|
|
11
|
-
declare const
|
|
8
|
+
}, 'ref'> & RefAttributes<HTMLHeadingElement>>;
|
|
9
|
+
declare const CardDescription: ForwardRefExoticComponent<ComponentProps<'p'> & RefAttributes<HTMLParagraphElement>>;
|
|
10
|
+
declare const CardHeaderEnd: ForwardRefExoticComponent<ComponentProps<'div'> & RefAttributes<HTMLDivElement>>;
|
|
11
|
+
declare const CardHeader: ForwardRefExoticComponent<ComponentProps<'div'> & RefAttributes<HTMLDivElement>>;
|
|
12
|
+
declare const CardHeaderCenter: ForwardRefExoticComponent<ComponentProps<'div'> & RefAttributes<HTMLDivElement>>;
|
|
13
|
+
declare const CardActions: ForwardRefExoticComponent<Omit<MenuRoot.Props<unknown>, 'children'> & {
|
|
12
14
|
children?: ReactNode;
|
|
13
|
-
align?:
|
|
14
|
-
} &
|
|
15
|
-
declare const CardContent:
|
|
16
|
-
declare const CardFooter:
|
|
17
|
-
|
|
15
|
+
align?: 'start' | 'center' | 'end';
|
|
16
|
+
} & RefAttributes<HTMLElement>>;
|
|
17
|
+
declare const CardContent: ForwardRefExoticComponent<ComponentProps<'div'> & RefAttributes<HTMLDivElement>>;
|
|
18
|
+
declare const CardFooter: ForwardRefExoticComponent<ComponentProps<'div'> & RefAttributes<HTMLDivElement>>;
|
|
19
|
+
declare const CardFooterStart: ForwardRefExoticComponent<ComponentProps<'div'> & RefAttributes<HTMLDivElement>>;
|
|
20
|
+
declare const CardFooterEnd: ForwardRefExoticComponent<ComponentProps<'div'> & RefAttributes<HTMLDivElement>>;
|
|
21
|
+
export { Card, CardHeader, CardHeaderCenter, CardHeaderStart, CardHeaderEnd, CardFooter, CardFooterStart, CardFooterEnd, CardTitle, CardActions, CardDescription, CardContent, };
|
|
@@ -1,143 +1,187 @@
|
|
|
1
|
-
import { jsx as
|
|
2
|
-
import { forwardRef as
|
|
3
|
-
import { IconDotsVertical as
|
|
4
|
-
import { cn as
|
|
5
|
-
import { Button as
|
|
6
|
-
import { DropdownMenu as
|
|
7
|
-
const
|
|
8
|
-
({ className:
|
|
1
|
+
import { jsx as e, jsxs as n } from "react/jsx-runtime";
|
|
2
|
+
import { forwardRef as d } from "react";
|
|
3
|
+
import { IconDotsVertical as l } from "@tabler/icons-react";
|
|
4
|
+
import { cn as s } from "../../../../lib/utils.js";
|
|
5
|
+
import { Button as c } from "../button/button.js";
|
|
6
|
+
import { DropdownMenu as i, DropdownMenuTrigger as m, DropdownMenuContent as f } from "../dropdown-menu/dropdown-menu.js";
|
|
7
|
+
const p = d(
|
|
8
|
+
({ className: t, ...r }, a) => /* @__PURE__ */ e(
|
|
9
9
|
"div",
|
|
10
10
|
{
|
|
11
|
-
ref:
|
|
11
|
+
ref: a,
|
|
12
12
|
"data-slot": "card",
|
|
13
|
-
className:
|
|
14
|
-
"bg-card-background text-foreground flex flex-col rounded-
|
|
15
|
-
|
|
13
|
+
className: s(
|
|
14
|
+
"bg-card-background text-foreground flex flex-col rounded-xl p-4 gap-4",
|
|
15
|
+
t
|
|
16
16
|
),
|
|
17
17
|
...r
|
|
18
18
|
}
|
|
19
19
|
)
|
|
20
20
|
);
|
|
21
|
-
|
|
22
|
-
const
|
|
23
|
-
({ className:
|
|
21
|
+
p.displayName = "Card";
|
|
22
|
+
const u = d(
|
|
23
|
+
({ className: t, children: r, ...a }, o) => /* @__PURE__ */ e(
|
|
24
24
|
"div",
|
|
25
25
|
{
|
|
26
|
-
ref:
|
|
27
|
-
"data-slot": "card-header",
|
|
28
|
-
className:
|
|
29
|
-
"
|
|
30
|
-
|
|
31
|
-
"has-data-[slot=card-icon]:grid-cols-[auto_1fr]",
|
|
32
|
-
"has-data-[slot=card-header-right]:grid-cols-[1fr_auto]",
|
|
33
|
-
"has-data-[slot=card-icon]:has-data-[slot=card-header-right]:grid-cols-[auto_1fr_auto]",
|
|
34
|
-
a
|
|
26
|
+
ref: o,
|
|
27
|
+
"data-slot": "card-header-start",
|
|
28
|
+
className: s(
|
|
29
|
+
"col-start-1 row-start-1 h-12 self-stretch pt-1.5",
|
|
30
|
+
t
|
|
35
31
|
),
|
|
36
|
-
...
|
|
32
|
+
...a,
|
|
33
|
+
children: /* @__PURE__ */ e("div", { className: "flex items-start h-full", children: r })
|
|
37
34
|
}
|
|
38
35
|
)
|
|
39
36
|
);
|
|
40
|
-
|
|
41
|
-
const
|
|
42
|
-
({ className: a, children: r, ...t }, s) => /* @__PURE__ */ d(
|
|
43
|
-
"div",
|
|
44
|
-
{
|
|
45
|
-
ref: s,
|
|
46
|
-
"data-slot": "card-icon",
|
|
47
|
-
className: o("col-start-1 row-start-1 h-full", a),
|
|
48
|
-
...t,
|
|
49
|
-
children: /* @__PURE__ */ d("div", { className: "flex items-center h-full", children: r })
|
|
50
|
-
}
|
|
51
|
-
)
|
|
52
|
-
);
|
|
53
|
-
f.displayName = "CardIcon";
|
|
54
|
-
const g = e(({ className: a, as: r = "h3", ...t }, s) => /* @__PURE__ */ d(
|
|
37
|
+
u.displayName = "CardHeaderStart";
|
|
38
|
+
const C = d(({ className: t, as: r = "h3", ...a }, o) => /* @__PURE__ */ e(
|
|
55
39
|
r,
|
|
56
40
|
{
|
|
57
|
-
ref:
|
|
41
|
+
ref: o,
|
|
58
42
|
"data-slot": "card-title",
|
|
59
|
-
className:
|
|
60
|
-
"tracking-tightest text-foreground font-medium text-lg
|
|
61
|
-
|
|
62
|
-
a
|
|
43
|
+
className: s(
|
|
44
|
+
"tracking-tightest text-foreground font-medium text-lg leading-6 line-clamp-2 overflow-hidden",
|
|
45
|
+
t
|
|
63
46
|
),
|
|
64
|
-
...
|
|
47
|
+
...a
|
|
65
48
|
}
|
|
66
49
|
));
|
|
67
|
-
|
|
68
|
-
const
|
|
69
|
-
({ className:
|
|
50
|
+
C.displayName = "CardTitle";
|
|
51
|
+
const g = d(
|
|
52
|
+
({ className: t, ...r }, a) => /* @__PURE__ */ e(
|
|
70
53
|
"p",
|
|
71
54
|
{
|
|
72
|
-
ref:
|
|
55
|
+
ref: a,
|
|
73
56
|
"data-slot": "card-description",
|
|
74
|
-
className:
|
|
75
|
-
"text-muted-foreground text-sm
|
|
76
|
-
|
|
77
|
-
a
|
|
57
|
+
className: s(
|
|
58
|
+
"text-muted-foreground text-sm font-normal leading-5 tracking-tight line-clamp-2 overflow-hidden",
|
|
59
|
+
t
|
|
78
60
|
),
|
|
79
61
|
...r
|
|
80
62
|
}
|
|
81
63
|
)
|
|
82
64
|
);
|
|
83
|
-
|
|
84
|
-
const
|
|
85
|
-
({ className:
|
|
65
|
+
g.displayName = "CardDescription";
|
|
66
|
+
const x = d(
|
|
67
|
+
({ className: t, ...r }, a) => /* @__PURE__ */ e(
|
|
68
|
+
"div",
|
|
69
|
+
{
|
|
70
|
+
ref: a,
|
|
71
|
+
"data-slot": "card-header-end",
|
|
72
|
+
className: s(
|
|
73
|
+
"col-start-3 row-start-1 self-start justify-self-end flex justify-end items-start gap-1",
|
|
74
|
+
t
|
|
75
|
+
),
|
|
76
|
+
...r
|
|
77
|
+
}
|
|
78
|
+
)
|
|
79
|
+
);
|
|
80
|
+
x.displayName = "CardHeaderEnd";
|
|
81
|
+
const N = d(
|
|
82
|
+
({ className: t, children: r, ...a }, o) => /* @__PURE__ */ e(
|
|
83
|
+
"div",
|
|
84
|
+
{
|
|
85
|
+
ref: o,
|
|
86
|
+
"data-slot": "card-header",
|
|
87
|
+
className: s(
|
|
88
|
+
"group/card-header @container/card-header grid items-center gap-x-3 grid-cols-[auto_minmax(0,1fr)_auto]",
|
|
89
|
+
t
|
|
90
|
+
),
|
|
91
|
+
...a,
|
|
92
|
+
children: r
|
|
93
|
+
}
|
|
94
|
+
)
|
|
95
|
+
);
|
|
96
|
+
N.displayName = "CardHeader";
|
|
97
|
+
const h = d(
|
|
98
|
+
({ className: t, ...r }, a) => /* @__PURE__ */ e(
|
|
86
99
|
"div",
|
|
87
100
|
{
|
|
88
|
-
ref:
|
|
89
|
-
"data-slot": "card-header-
|
|
90
|
-
className:
|
|
91
|
-
"
|
|
92
|
-
|
|
101
|
+
ref: a,
|
|
102
|
+
"data-slot": "card-header-center",
|
|
103
|
+
className: s(
|
|
104
|
+
"col-start-1 row-start-1 min-w-0 flex flex-col justify-center",
|
|
105
|
+
"group-has-data-[slot=card-header-start]/card-header:col-start-2",
|
|
106
|
+
t
|
|
93
107
|
),
|
|
94
108
|
...r
|
|
95
109
|
}
|
|
96
110
|
)
|
|
97
111
|
);
|
|
98
|
-
|
|
99
|
-
const
|
|
100
|
-
/* @__PURE__ */
|
|
112
|
+
h.displayName = "CardHeaderCenter";
|
|
113
|
+
const y = d(({ children: t, align: r = "end", ...a }, o) => /* @__PURE__ */ n(i, { ...a, children: [
|
|
114
|
+
/* @__PURE__ */ e(
|
|
101
115
|
m,
|
|
102
116
|
{
|
|
103
|
-
render: /* @__PURE__ */
|
|
117
|
+
render: /* @__PURE__ */ e(c, { variant: "ghost", size: "icon-sm", ref: o, children: /* @__PURE__ */ e(l, {}) })
|
|
104
118
|
}
|
|
105
119
|
),
|
|
106
|
-
/* @__PURE__ */
|
|
120
|
+
/* @__PURE__ */ e(f, { align: r, children: t })
|
|
107
121
|
] }));
|
|
108
|
-
|
|
109
|
-
const
|
|
110
|
-
({ className:
|
|
122
|
+
y.displayName = "CardActions";
|
|
123
|
+
const v = d(
|
|
124
|
+
({ className: t, ...r }, a) => /* @__PURE__ */ e(
|
|
111
125
|
"div",
|
|
112
126
|
{
|
|
113
|
-
ref:
|
|
127
|
+
ref: a,
|
|
114
128
|
"data-slot": "card-content",
|
|
115
|
-
className:
|
|
129
|
+
className: s(
|
|
130
|
+
"text-secondary-foreground flex flex-col items-start gap-4 self-stretch",
|
|
131
|
+
t
|
|
132
|
+
),
|
|
116
133
|
...r
|
|
117
134
|
}
|
|
118
135
|
)
|
|
119
136
|
);
|
|
120
|
-
|
|
121
|
-
const
|
|
122
|
-
({ className:
|
|
137
|
+
v.displayName = "CardContent";
|
|
138
|
+
const w = d(
|
|
139
|
+
({ className: t, ...r }, a) => /* @__PURE__ */ e(
|
|
123
140
|
"div",
|
|
124
141
|
{
|
|
125
|
-
ref:
|
|
142
|
+
ref: a,
|
|
126
143
|
"data-slot": "card-footer",
|
|
127
|
-
className:
|
|
144
|
+
className: s("flex items-center gap-4 self-stretch", t),
|
|
145
|
+
...r
|
|
146
|
+
}
|
|
147
|
+
)
|
|
148
|
+
);
|
|
149
|
+
w.displayName = "CardFooter";
|
|
150
|
+
const H = d(
|
|
151
|
+
({ className: t, ...r }, a) => /* @__PURE__ */ e(
|
|
152
|
+
"div",
|
|
153
|
+
{
|
|
154
|
+
ref: a,
|
|
155
|
+
"data-slot": "card-footer-start",
|
|
156
|
+
className: s("flex-1 flex items-start justify-start gap-2", t),
|
|
157
|
+
...r
|
|
158
|
+
}
|
|
159
|
+
)
|
|
160
|
+
);
|
|
161
|
+
H.displayName = "CardFooterStart";
|
|
162
|
+
const j = d(
|
|
163
|
+
({ className: t, ...r }, a) => /* @__PURE__ */ e(
|
|
164
|
+
"div",
|
|
165
|
+
{
|
|
166
|
+
ref: a,
|
|
167
|
+
"data-slot": "card-footer-end",
|
|
168
|
+
className: s("flex items-center justify-end", t),
|
|
128
169
|
...r
|
|
129
170
|
}
|
|
130
171
|
)
|
|
131
172
|
);
|
|
132
|
-
|
|
173
|
+
j.displayName = "CardFooterEnd";
|
|
133
174
|
export {
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
175
|
+
p as Card,
|
|
176
|
+
y as CardActions,
|
|
177
|
+
v as CardContent,
|
|
178
|
+
g as CardDescription,
|
|
179
|
+
w as CardFooter,
|
|
180
|
+
j as CardFooterEnd,
|
|
181
|
+
H as CardFooterStart,
|
|
182
|
+
N as CardHeader,
|
|
183
|
+
h as CardHeaderCenter,
|
|
184
|
+
x as CardHeaderEnd,
|
|
185
|
+
u as CardHeaderStart,
|
|
186
|
+
C as CardTitle
|
|
143
187
|
};
|