@demokit-ui/demokit 0.1.0 → 0.1.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.
Files changed (189) hide show
  1. package/README.md +3 -0
  2. package/dist/app/demo1-shell.js +195 -188
  3. package/dist/app/tweak-panel.js +20 -4
  4. package/dist/index.js +811 -479
  5. package/dist/kit/components/chart/chart/chart.examples.d.ts +13 -0
  6. package/dist/kit/components/chart/chart/chart.examples.js +390 -0
  7. package/dist/kit/components/composite/action-bar/action-bar.examples.d.ts +2 -0
  8. package/dist/kit/components/composite/action-bar/action-bar.examples.js +35 -0
  9. package/dist/kit/components/composite/action-card/action-card.examples.d.ts +2 -0
  10. package/dist/kit/components/composite/action-card/action-card.examples.js +34 -0
  11. package/dist/kit/components/composite/activity-feed/activity-feed.examples.d.ts +2 -0
  12. package/dist/kit/components/composite/activity-feed/activity-feed.examples.js +44 -0
  13. package/dist/kit/components/composite/alert-card/alert-card.examples.d.ts +2 -0
  14. package/dist/kit/components/composite/alert-card/alert-card.examples.js +18 -0
  15. package/dist/kit/components/composite/approval-flow/approval-flow.examples.d.ts +2 -0
  16. package/dist/kit/components/composite/approval-flow/approval-flow.examples.js +70 -0
  17. package/dist/kit/components/composite/auth-shell/auth-shell.examples.d.ts +2 -0
  18. package/dist/kit/components/composite/auth-shell/auth-shell.examples.js +23 -0
  19. package/dist/kit/components/composite/board-toolbar/board-toolbar.examples.d.ts +2 -0
  20. package/dist/kit/components/composite/board-toolbar/board-toolbar.examples.js +32 -0
  21. package/dist/kit/components/composite/chart-card/chart-card.examples.d.ts +3 -0
  22. package/dist/kit/components/composite/chart-card/chart-card.examples.js +58 -0
  23. package/dist/kit/components/composite/chart-toolbar/chart-toolbar.examples.d.ts +2 -0
  24. package/dist/kit/components/composite/chart-toolbar/chart-toolbar.examples.js +39 -0
  25. package/dist/kit/components/composite/data-section/data-section.examples.d.ts +3 -0
  26. package/dist/kit/components/composite/data-section/data-section.examples.js +48 -0
  27. package/dist/kit/components/composite/description-grid/description-grid.examples.d.ts +2 -0
  28. package/dist/kit/components/composite/description-grid/description-grid.examples.js +30 -0
  29. package/dist/kit/components/composite/detail-header/detail-header.examples.d.ts +2 -0
  30. package/dist/kit/components/composite/detail-header/detail-header.examples.js +37 -0
  31. package/dist/kit/components/composite/filter-panel/filter-panel.examples.d.ts +2 -0
  32. package/dist/kit/components/composite/filter-panel/filter-panel.examples.js +63 -0
  33. package/dist/kit/components/composite/filter-toolbar/filter-toolbar.examples.d.ts +2 -0
  34. package/dist/kit/components/composite/filter-toolbar/filter-toolbar.examples.js +39 -0
  35. package/dist/kit/components/composite/forgot-password-form/forgot-password-form.examples.d.ts +2 -0
  36. package/dist/kit/components/composite/forgot-password-form/forgot-password-form.examples.js +19 -0
  37. package/dist/kit/components/composite/form-section/form-section.examples.d.ts +2 -0
  38. package/dist/kit/components/composite/form-section/form-section.examples.js +40 -0
  39. package/dist/kit/components/composite/kanban-board/kanban-board.examples.d.ts +2 -0
  40. package/dist/kit/components/composite/kanban-board/kanban-board.examples.js +72 -0
  41. package/dist/kit/components/composite/login-card/login-card.examples.d.ts +3 -0
  42. package/dist/kit/components/composite/login-card/login-card.examples.js +30 -0
  43. package/dist/kit/components/composite/message-list-card/message-list-card.examples.d.ts +2 -0
  44. package/dist/kit/components/composite/message-list-card/message-list-card.examples.js +56 -0
  45. package/dist/kit/components/composite/metric-card/metric-card.examples.d.ts +2 -0
  46. package/dist/kit/components/composite/metric-card/metric-card.examples.js +50 -0
  47. package/dist/kit/components/composite/milestone-card/milestone-card.examples.d.ts +2 -0
  48. package/dist/kit/components/composite/milestone-card/milestone-card.examples.js +54 -0
  49. package/dist/kit/components/composite/oauth-login-buttons/oauth-login-buttons.examples.d.ts +2 -0
  50. package/dist/kit/components/composite/oauth-login-buttons/oauth-login-buttons.examples.js +24 -0
  51. package/dist/kit/components/composite/page-header/page-header.examples.d.ts +3 -0
  52. package/dist/kit/components/composite/page-header/page-header.examples.js +56 -0
  53. package/dist/kit/components/composite/profile-card/profile-card.examples.d.ts +2 -0
  54. package/dist/kit/components/composite/profile-card/profile-card.examples.js +45 -0
  55. package/dist/kit/components/composite/progress-card/progress-card.examples.d.ts +2 -0
  56. package/dist/kit/components/composite/progress-card/progress-card.examples.js +42 -0
  57. package/dist/kit/components/composite/project-card/project-card.examples.d.ts +2 -0
  58. package/dist/kit/components/composite/project-card/project-card.examples.js +48 -0
  59. package/dist/kit/components/composite/shortcut-card/shortcut-card.examples.d.ts +2 -0
  60. package/dist/kit/components/composite/shortcut-card/shortcut-card.examples.js +18 -0
  61. package/dist/kit/components/composite/sprint-summary/sprint-summary.examples.d.ts +2 -0
  62. package/dist/kit/components/composite/sprint-summary/sprint-summary.examples.js +27 -0
  63. package/dist/kit/components/composite/state-panel/state-panel.examples.d.ts +2 -0
  64. package/dist/kit/components/composite/state-panel/state-panel.examples.js +48 -0
  65. package/dist/kit/components/composite/summary-card/summary-card.examples.d.ts +2 -0
  66. package/dist/kit/components/composite/summary-card/summary-card.examples.js +32 -0
  67. package/dist/kit/components/composite/task-card/task-card.examples.d.ts +2 -0
  68. package/dist/kit/components/composite/task-card/task-card.examples.js +39 -0
  69. package/dist/kit/components/composite/timeline/timeline.examples.d.ts +2 -0
  70. package/dist/kit/components/composite/timeline/timeline.examples.js +75 -0
  71. package/dist/kit/components/composite/todo-card/todo-card.examples.d.ts +2 -0
  72. package/dist/kit/components/composite/todo-card/todo-card.examples.js +42 -0
  73. package/dist/kit/components/data-display/avatar/avatar.examples.d.ts +7 -0
  74. package/dist/kit/components/data-display/avatar/avatar.examples.js +48 -0
  75. package/dist/kit/components/data-display/avatar-group/avatar-group.examples.d.ts +3 -0
  76. package/dist/kit/components/data-display/avatar-group/avatar-group.examples.js +35 -0
  77. package/dist/kit/components/data-display/badge/badge.examples.d.ts +9 -0
  78. package/dist/kit/components/data-display/badge/badge.examples.js +57 -0
  79. package/dist/kit/components/data-display/card/card.examples.d.ts +16 -0
  80. package/dist/kit/components/data-display/card/card.examples.js +72 -0
  81. package/dist/kit/components/data-display/data-grid/data-grid.examples.d.ts +2 -0
  82. package/dist/kit/components/data-display/data-grid/data-grid.examples.js +92 -0
  83. package/dist/kit/components/data-display/kbd/kbd.examples.d.ts +3 -0
  84. package/dist/kit/components/data-display/kbd/kbd.examples.js +43 -0
  85. package/dist/kit/components/data-display/money-amount/money-amount.examples.d.ts +1 -0
  86. package/dist/kit/components/data-display/money-amount/money-amount.examples.js +26 -0
  87. package/dist/kit/components/data-display/progress/progress.examples.d.ts +3 -0
  88. package/dist/kit/components/data-display/progress/progress.examples.js +45 -0
  89. package/dist/kit/components/data-display/skeleton/skeleton.examples.d.ts +3 -0
  90. package/dist/kit/components/data-display/skeleton/skeleton.examples.js +37 -0
  91. package/dist/kit/components/data-display/sliding-number/sliding-number.examples.d.ts +3 -0
  92. package/dist/kit/components/data-display/sliding-number/sliding-number.examples.js +42 -0
  93. package/dist/kit/components/data-display/stepper/stepper.examples.d.ts +2 -0
  94. package/dist/kit/components/data-display/stepper/stepper.examples.js +28 -0
  95. package/dist/kit/components/data-display/table/table.examples.d.ts +4 -0
  96. package/dist/kit/components/data-display/table/table.examples.js +78 -0
  97. package/dist/kit/components/decorative/aurora-background/aurora-background.examples.d.ts +2 -0
  98. package/dist/kit/components/decorative/aurora-background/aurora-background.examples.js +22 -0
  99. package/dist/kit/components/decorative/grid-background/grid-background.examples.d.ts +4 -0
  100. package/dist/kit/components/decorative/grid-background/grid-background.examples.js +42 -0
  101. package/dist/kit/components/decorative/shimmering-text/shimmering-text.examples.d.ts +4 -0
  102. package/dist/kit/components/decorative/shimmering-text/shimmering-text.examples.js +54 -0
  103. package/dist/kit/components/decorative/text-reveal/text-reveal.examples.d.ts +2 -0
  104. package/dist/kit/components/decorative/text-reveal/text-reveal.examples.js +46 -0
  105. package/dist/kit/components/feedback/alert/alert.examples.d.ts +2 -0
  106. package/dist/kit/components/feedback/alert/alert.examples.js +37 -0
  107. package/dist/kit/components/feedback/alert-dialog/alert-dialog.examples.d.ts +2 -0
  108. package/dist/kit/components/feedback/alert-dialog/alert-dialog.examples.js +28 -0
  109. package/dist/kit/components/feedback/context-menu/context-menu.examples.d.ts +2 -0
  110. package/dist/kit/components/feedback/context-menu/context-menu.examples.js +33 -0
  111. package/dist/kit/components/feedback/dialog/dialog.examples.d.ts +2 -0
  112. package/dist/kit/components/feedback/dialog/dialog.examples.js +51 -0
  113. package/dist/kit/components/feedback/drawer/drawer.examples.d.ts +2 -0
  114. package/dist/kit/components/feedback/drawer/drawer.examples.js +29 -0
  115. package/dist/kit/components/feedback/dropdown-menu/dropdown-menu.examples.d.ts +3 -0
  116. package/dist/kit/components/feedback/dropdown-menu/dropdown-menu.examples.js +54 -0
  117. package/dist/kit/components/feedback/hover-card/hover-card.examples.d.ts +2 -0
  118. package/dist/kit/components/feedback/hover-card/hover-card.examples.js +27 -0
  119. package/dist/kit/components/feedback/popover/popover.examples.d.ts +2 -0
  120. package/dist/kit/components/feedback/popover/popover.examples.js +42 -0
  121. package/dist/kit/components/feedback/sheet/sheet.examples.d.ts +2 -0
  122. package/dist/kit/components/feedback/sheet/sheet.examples.js +39 -0
  123. package/dist/kit/components/feedback/sonner/sonner.examples.d.ts +3 -0
  124. package/dist/kit/components/feedback/sonner/sonner.examples.js +49 -0
  125. package/dist/kit/components/feedback/title-help/title-help.examples.d.ts +1 -0
  126. package/dist/kit/components/feedback/title-help/title-help.examples.js +25 -0
  127. package/dist/kit/components/feedback/tooltip/tooltip.examples.d.ts +3 -0
  128. package/dist/kit/components/feedback/tooltip/tooltip.examples.js +44 -0
  129. package/dist/kit/components/form/button/button.examples.d.ts +13 -0
  130. package/dist/kit/components/form/button/button.examples.js +84 -0
  131. package/dist/kit/components/form/calendar/calendar.examples.d.ts +2 -0
  132. package/dist/kit/components/form/calendar/calendar.examples.js +23 -0
  133. package/dist/kit/components/form/checkbox/checkbox.examples.d.ts +4 -0
  134. package/dist/kit/components/form/checkbox/checkbox.examples.js +72 -0
  135. package/dist/kit/components/form/command/command.examples.d.ts +3 -0
  136. package/dist/kit/components/form/command/command.examples.js +52 -0
  137. package/dist/kit/components/form/datefield/datefield.examples.d.ts +2 -0
  138. package/dist/kit/components/form/datefield/datefield.examples.js +19 -0
  139. package/dist/kit/components/form/file-upload/file-upload.examples.d.ts +1 -0
  140. package/dist/kit/components/form/file-upload/file-upload.examples.js +18 -0
  141. package/dist/kit/components/form/form/form.examples.d.ts +2 -0
  142. package/dist/kit/components/form/form/form.examples.js +77 -0
  143. package/dist/kit/components/form/input/input.examples.d.ts +5 -0
  144. package/dist/kit/components/form/input/input.examples.js +64 -0
  145. package/dist/kit/components/form/label/label.examples.d.ts +4 -0
  146. package/dist/kit/components/form/label/label.examples.js +49 -0
  147. package/dist/kit/components/form/radio-group/radio-group.examples.d.ts +3 -0
  148. package/dist/kit/components/form/radio-group/radio-group.examples.js +40 -0
  149. package/dist/kit/components/form/select/select.examples.d.ts +3 -0
  150. package/dist/kit/components/form/select/select.examples.js +58 -0
  151. package/dist/kit/components/form/slider/slider.examples.d.ts +3 -0
  152. package/dist/kit/components/form/slider/slider.examples.js +46 -0
  153. package/dist/kit/components/form/switch/switch.examples.d.ts +3 -0
  154. package/dist/kit/components/form/switch/switch.examples.js +37 -0
  155. package/dist/kit/components/form/textarea/textarea.examples.d.ts +3 -0
  156. package/dist/kit/components/form/textarea/textarea.examples.js +49 -0
  157. package/dist/kit/components/form/toggle/toggle.examples.d.ts +3 -0
  158. package/dist/kit/components/form/toggle/toggle.examples.js +33 -0
  159. package/dist/kit/components/form/toggle-group/toggle-group.examples.d.ts +4 -0
  160. package/dist/kit/components/form/toggle-group/toggle-group.examples.js +46 -0
  161. package/dist/kit/components/index.d.ts +91 -0
  162. package/dist/kit/components/layout/accordion/accordion.examples.d.ts +2 -0
  163. package/dist/kit/components/layout/accordion/accordion.examples.js +34 -0
  164. package/dist/kit/components/layout/aspect-ratio/aspect-ratio.examples.d.ts +3 -0
  165. package/dist/kit/components/layout/aspect-ratio/aspect-ratio.examples.js +29 -0
  166. package/dist/kit/components/layout/collapsible/collapsible.examples.d.ts +2 -0
  167. package/dist/kit/components/layout/collapsible/collapsible.examples.js +28 -0
  168. package/dist/kit/components/layout/resizable/resizable.examples.d.ts +2 -0
  169. package/dist/kit/components/layout/resizable/resizable.examples.js +26 -0
  170. package/dist/kit/components/layout/scroll-area/scroll-area.examples.d.ts +2 -0
  171. package/dist/kit/components/layout/scroll-area/scroll-area.examples.js +16 -0
  172. package/dist/kit/components/layout/separator/separator.examples.d.ts +3 -0
  173. package/dist/kit/components/layout/separator/separator.examples.js +35 -0
  174. package/dist/kit/components/navigation/accordion-menu/accordion-menu.examples.d.ts +2 -0
  175. package/dist/kit/components/navigation/accordion-menu/accordion-menu.examples.js +36 -0
  176. package/dist/kit/components/navigation/breadcrumb/breadcrumb.examples.d.ts +3 -0
  177. package/dist/kit/components/navigation/breadcrumb/breadcrumb.examples.js +39 -0
  178. package/dist/kit/components/navigation/menubar/menubar.examples.d.ts +2 -0
  179. package/dist/kit/components/navigation/menubar/menubar.examples.js +54 -0
  180. package/dist/kit/components/navigation/navigation-menu/navigation-menu.examples.d.ts +2 -0
  181. package/dist/kit/components/navigation/navigation-menu/navigation-menu.examples.js +31 -0
  182. package/dist/kit/components/navigation/pagination/pagination.examples.d.ts +2 -0
  183. package/dist/kit/components/navigation/pagination/pagination.examples.js +42 -0
  184. package/dist/kit/components/navigation/scrollspy/scrollspy.examples.d.ts +2 -0
  185. package/dist/kit/components/navigation/scrollspy/scrollspy.examples.js +68 -0
  186. package/dist/kit/components/navigation/tabs/tabs.examples.d.ts +5 -0
  187. package/dist/kit/components/navigation/tabs/tabs.examples.js +43 -0
  188. package/dist/styles.css +29 -12
  189. package/package.json +1 -1
@@ -0,0 +1,78 @@
1
+ import { jsxs as n, jsx as e } from "react/jsx-runtime";
2
+ import { cn as m } from "../../../../lib/utils.js";
3
+ import { Table as a, TableHeader as c, TableRow as d, TableHead as t, TableBody as s, TableCell as r } from "./table.js";
4
+ import { Badge as l } from "../badge/badge.js";
5
+ import { Tooltip as o, TooltipTrigger as h, TooltipContent as u } from "../../feedback/tooltip/tooltip.js";
6
+ import { Avatar as f, AvatarFallback as p } from "../avatar/avatar.js";
7
+ import { Button as x } from "../../form/button/button.js";
8
+ function g() {
9
+ return /* @__PURE__ */ n(a, { children: [
10
+ /* @__PURE__ */ e(c, { children: /* @__PURE__ */ n(d, { children: [
11
+ /* @__PURE__ */ e(t, { children: "名称" }),
12
+ /* @__PURE__ */ e(t, { children: "类型" }),
13
+ /* @__PURE__ */ e(t, { className: "text-right", children: "大小" })
14
+ ] }) }),
15
+ /* @__PURE__ */ n(s, { children: [
16
+ /* @__PURE__ */ n(d, { children: [
17
+ /* @__PURE__ */ e(r, { children: "readme.md" }),
18
+ /* @__PURE__ */ e(r, { children: "文档" }),
19
+ /* @__PURE__ */ e(r, { className: "text-right font-mono", children: "4.2 KB" })
20
+ ] }),
21
+ /* @__PURE__ */ n(d, { children: [
22
+ /* @__PURE__ */ e(r, { children: "config.json" }),
23
+ /* @__PURE__ */ e(r, { children: "配置" }),
24
+ /* @__PURE__ */ e(r, { className: "text-right font-mono", children: "1.1 KB" })
25
+ ] })
26
+ ] })
27
+ ] });
28
+ }
29
+ const N = [
30
+ { id: "TASK-20260418-001", kind: "Feature", kindVariant: "primary", from: "Alice Chen", deadline: "2h", urgent: !0 },
31
+ { id: "TASK-20260414-001", kind: "Bug", kindVariant: "warning", from: "Dave Smith", deadline: "超时", overdue: !0 },
32
+ { id: "TASK-20260413-005", kind: "Release", kindVariant: "success", from: "Carol Johnson", deadline: "5d" }
33
+ ];
34
+ function v() {
35
+ return /* @__PURE__ */ n(a, { children: [
36
+ /* @__PURE__ */ e(c, { children: /* @__PURE__ */ n(d, { children: [
37
+ /* @__PURE__ */ e(t, { className: "ps-5", children: "任务编号" }),
38
+ /* @__PURE__ */ e(t, { className: "text-center", children: "类型" }),
39
+ /* @__PURE__ */ e(t, { children: "发起人" }),
40
+ /* @__PURE__ */ e(t, { className: "text-right", children: "时限" }),
41
+ /* @__PURE__ */ e(t, { className: "pe-5 text-center", children: "操作" })
42
+ ] }) }),
43
+ /* @__PURE__ */ e(s, { children: N.map((i) => /* @__PURE__ */ n(
44
+ d,
45
+ {
46
+ className: m(i.overdue && "bg-destructive/5"),
47
+ children: [
48
+ /* @__PURE__ */ e(r, { className: "ps-5 font-mono text-[12.5px] text-foreground", children: i.id }),
49
+ /* @__PURE__ */ e(r, { className: "text-center", children: /* @__PURE__ */ e(l, { variant: i.kindVariant, appearance: "light", size: "sm", children: i.kind }) }),
50
+ /* @__PURE__ */ e(r, { children: /* @__PURE__ */ n(o, { children: [
51
+ /* @__PURE__ */ e(h, { asChild: !0, children: /* @__PURE__ */ e(f, { className: "size-7", children: /* @__PURE__ */ e(p, { className: "text-[11px] bg-muted text-muted-foreground", children: i.from.slice(0, 2).toUpperCase() }) }) }),
52
+ /* @__PURE__ */ e(u, { children: i.from })
53
+ ] }) }),
54
+ /* @__PURE__ */ e(r, { className: "text-right", children: i.overdue ? /* @__PURE__ */ e(l, { variant: "destructive", appearance: "light", size: "sm", children: "超时" }) : i.urgent ? /* @__PURE__ */ e("span", { className: "text-destructive font-medium font-mono", children: i.deadline }) : /* @__PURE__ */ e("span", { className: "text-muted-foreground font-mono", children: i.deadline }) }),
55
+ /* @__PURE__ */ e(r, { className: "pe-5 text-center", children: /* @__PURE__ */ e(x, { size: "sm", variant: "outline", children: "审批" }) })
56
+ ]
57
+ },
58
+ i.id
59
+ )) })
60
+ ] });
61
+ }
62
+ function S() {
63
+ return /* @__PURE__ */ n("div", { className: "flex flex-col gap-6", children: [
64
+ /* @__PURE__ */ n("div", { children: [
65
+ /* @__PURE__ */ e("div", { className: "text-sm text-muted-foreground mb-2", children: "1. 最简形态" }),
66
+ /* @__PURE__ */ e(g, {})
67
+ ] }),
68
+ /* @__PURE__ */ n("div", { children: [
69
+ /* @__PURE__ */ e("div", { className: "text-sm text-muted-foreground mb-2", children: "2. 流程中心样板(徽章 / 头像 / 异常行 / 操作)" }),
70
+ /* @__PURE__ */ e(v, {})
71
+ ] })
72
+ ] });
73
+ }
74
+ export {
75
+ v as TableFlowCenter,
76
+ g as TableMinimal,
77
+ S as TableShowcase
78
+ };
@@ -0,0 +1,2 @@
1
+ export declare function AuroraBackgroundBasic(): import("react/jsx-runtime").JSX.Element;
2
+ export declare function AuroraBackgroundShowcase(): import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,22 @@
1
+ import { jsxs as r, jsx as e } from "react/jsx-runtime";
2
+ import { AuroraBackground as o } from "./aurora-background.js";
3
+ import { Card as d, CardContent as a } from "../../data-display/card/card.js";
4
+ function c() {
5
+ return /* @__PURE__ */ r("div", { className: "relative h-80 rounded-xl overflow-hidden border border-border bg-background", children: [
6
+ /* @__PURE__ */ e(o, {}),
7
+ /* @__PURE__ */ e("div", { className: "relative z-10 h-full flex items-center justify-center", children: /* @__PURE__ */ e(d, { className: "w-[260px] bg-card/80 backdrop-blur-xl shadow-lg", children: /* @__PURE__ */ r(a, { className: "p-6 text-center", children: [
8
+ /* @__PURE__ */ e("div", { className: "font-semibold text-foreground mb-1", children: "欢迎回来" }),
9
+ /* @__PURE__ */ e("div", { className: "text-xs text-muted-foreground", children: "毛玻璃卡片透出背后的彩色氛围" })
10
+ ] }) }) })
11
+ ] });
12
+ }
13
+ function s() {
14
+ return /* @__PURE__ */ e("div", { className: "flex flex-col gap-6", children: /* @__PURE__ */ r("section", { children: [
15
+ /* @__PURE__ */ e("h3", { className: "text-sm font-semibold mb-3", children: "基础用法" }),
16
+ /* @__PURE__ */ e(c, {})
17
+ ] }) });
18
+ }
19
+ export {
20
+ c as AuroraBackgroundBasic,
21
+ s as AuroraBackgroundShowcase
22
+ };
@@ -0,0 +1,4 @@
1
+ export declare function GridBackgroundBottom(): import("react/jsx-runtime").JSX.Element;
2
+ export declare function GridBackgroundRadial(): import("react/jsx-runtime").JSX.Element;
3
+ export declare function GridBackgroundCustom(): import("react/jsx-runtime").JSX.Element;
4
+ export declare function GridBackgroundShowcase(): import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,42 @@
1
+ import { jsxs as r, jsx as e } from "react/jsx-runtime";
2
+ import { GridBackground as d } from "./grid-background.js";
3
+ function t() {
4
+ return /* @__PURE__ */ r("div", { className: "relative h-64 rounded-xl overflow-hidden bg-blue-50 border border-border", children: [
5
+ /* @__PURE__ */ e(d, {}),
6
+ /* @__PURE__ */ e("div", { className: "relative z-10 h-full flex items-center justify-center text-sm text-muted-foreground", children: "默认:顶部实、底部渐隐" })
7
+ ] });
8
+ }
9
+ function i() {
10
+ return /* @__PURE__ */ r("div", { className: "relative h-64 rounded-xl overflow-hidden bg-muted/40 border border-border", children: [
11
+ /* @__PURE__ */ e(d, { fade: "radial" }),
12
+ /* @__PURE__ */ e("div", { className: "relative z-10 h-full flex items-center justify-center text-sm text-muted-foreground", children: 'fade="radial":中心清、四周淡' })
13
+ ] });
14
+ }
15
+ function l() {
16
+ return /* @__PURE__ */ r("div", { className: "relative h-64 rounded-xl overflow-hidden bg-slate-900 border border-border", children: [
17
+ /* @__PURE__ */ e(d, { color: "rgba(255,255,255,0.08)", size: 32 }),
18
+ /* @__PURE__ */ e("div", { className: "relative z-10 h-full flex items-center justify-center text-sm text-white/80", children: "深底 + 自定义颜色 / 格距" })
19
+ ] });
20
+ }
21
+ function a() {
22
+ return /* @__PURE__ */ r("div", { className: "flex flex-col gap-6", children: [
23
+ /* @__PURE__ */ r("section", { children: [
24
+ /* @__PURE__ */ e("h3", { className: "text-sm font-semibold mb-3", children: "bottom fade(默认)" }),
25
+ /* @__PURE__ */ e(t, {})
26
+ ] }),
27
+ /* @__PURE__ */ r("section", { children: [
28
+ /* @__PURE__ */ e("h3", { className: "text-sm font-semibold mb-3", children: "radial fade" }),
29
+ /* @__PURE__ */ e(i, {})
30
+ ] }),
31
+ /* @__PURE__ */ r("section", { children: [
32
+ /* @__PURE__ */ e("h3", { className: "text-sm font-semibold mb-3", children: "自定义 color / size" }),
33
+ /* @__PURE__ */ e(l, {})
34
+ ] })
35
+ ] });
36
+ }
37
+ export {
38
+ t as GridBackgroundBottom,
39
+ l as GridBackgroundCustom,
40
+ i as GridBackgroundRadial,
41
+ a as GridBackgroundShowcase
42
+ };
@@ -0,0 +1,4 @@
1
+ export declare function ShimmeringTextBasic(): import("react/jsx-runtime").JSX.Element;
2
+ export declare function ShimmeringTextHero(): import("react/jsx-runtime").JSX.Element;
3
+ export declare function ShimmeringTextColored(): import("react/jsx-runtime").JSX.Element;
4
+ export declare function ShimmeringTextShowcase(): import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,54 @@
1
+ import { jsx as e, jsxs as t } from "react/jsx-runtime";
2
+ import { ShimmeringText as i } from "./shimmering-text.js";
3
+ function r() {
4
+ return /* @__PURE__ */ e("div", { className: "text-3xl font-semibold tracking-tight", children: /* @__PURE__ */ e(i, { text: "加入我们,开启新旅程" }) });
5
+ }
6
+ function n() {
7
+ return /* @__PURE__ */ t("div", { className: "p-10 rounded-xl border border-border bg-card text-center", children: [
8
+ /* @__PURE__ */ e("div", { className: "text-4xl font-bold tracking-tight", children: /* @__PURE__ */ e(i, { text: "Engineering Excellence" }) }),
9
+ /* @__PURE__ */ e("div", { className: "text-sm text-muted-foreground mt-3", children: "A platform for configuration management at scale." })
10
+ ] });
11
+ }
12
+ function l() {
13
+ return /* @__PURE__ */ t("div", { className: "flex flex-col gap-4", children: [
14
+ /* @__PURE__ */ e("div", { className: "text-2xl font-semibold", children: /* @__PURE__ */ e(
15
+ i,
16
+ {
17
+ text: "限时优惠,立即开通",
18
+ color: "#94a3b8",
19
+ shimmerColor: "#2563eb"
20
+ }
21
+ ) }),
22
+ /* @__PURE__ */ e("div", { className: "text-2xl font-semibold", children: /* @__PURE__ */ e(
23
+ i,
24
+ {
25
+ text: "加载中...",
26
+ color: "#64748b",
27
+ shimmerColor: "#0f172a",
28
+ duration: 1.2
29
+ }
30
+ ) })
31
+ ] });
32
+ }
33
+ function c() {
34
+ return /* @__PURE__ */ t("div", { className: "flex flex-col gap-8", children: [
35
+ /* @__PURE__ */ t("section", { children: [
36
+ /* @__PURE__ */ e("h3", { className: "text-sm font-semibold mb-3", children: "基础(默认色)" }),
37
+ /* @__PURE__ */ e(r, {})
38
+ ] }),
39
+ /* @__PURE__ */ t("section", { children: [
40
+ /* @__PURE__ */ e("h3", { className: "text-sm font-semibold mb-3", children: "Hero 标题" }),
41
+ /* @__PURE__ */ e(n, {})
42
+ ] }),
43
+ /* @__PURE__ */ t("section", { children: [
44
+ /* @__PURE__ */ e("h3", { className: "text-sm font-semibold mb-3", children: "自定义颜色" }),
45
+ /* @__PURE__ */ e(l, {})
46
+ ] })
47
+ ] });
48
+ }
49
+ export {
50
+ r as ShimmeringTextBasic,
51
+ l as ShimmeringTextColored,
52
+ n as ShimmeringTextHero,
53
+ c as ShimmeringTextShowcase
54
+ };
@@ -0,0 +1,2 @@
1
+ export declare function TextRevealVariantSwitcher(): import("react/jsx-runtime").JSX.Element;
2
+ export declare function TextRevealShowcase(): import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,46 @@
1
+ import { jsx as e, jsxs as a } from "react/jsx-runtime";
2
+ import { useState as i } from "react";
3
+ import { Button as c } from "../../form/button/button.js";
4
+ import { TextReveal as d } from "./text-reveal.js";
5
+ const m = [
6
+ "fade",
7
+ "slideUp",
8
+ "slideDown",
9
+ "slideLeft",
10
+ "slideRight",
11
+ "scale",
12
+ "blur",
13
+ "typewriter",
14
+ "wave",
15
+ "stagger",
16
+ "rotate",
17
+ "elastic"
18
+ ];
19
+ function f() {
20
+ const [r, l] = i("slideUp"), [s, n] = i(0);
21
+ return /* @__PURE__ */ a("div", { className: "space-y-4", children: [
22
+ /* @__PURE__ */ e("div", { className: "flex flex-wrap gap-1.5", children: m.map((t) => /* @__PURE__ */ e(
23
+ c,
24
+ {
25
+ size: "sm",
26
+ variant: t === r ? "primary" : "outline",
27
+ onClick: () => {
28
+ l(t), n((o) => o + 1);
29
+ },
30
+ children: t
31
+ },
32
+ t
33
+ )) }),
34
+ /* @__PURE__ */ e("div", { className: "py-12 px-6 rounded-xl border border-border bg-card text-center", children: /* @__PURE__ */ e("div", { className: "text-3xl font-bold tracking-tight text-foreground", children: /* @__PURE__ */ e(d, { variant: r, startOnView: !1, children: "在每一次 Demo 中,关键体验都值得被看见。" }, s) }) })
35
+ ] });
36
+ }
37
+ function u() {
38
+ return /* @__PURE__ */ e("div", { className: "flex flex-col gap-6", children: /* @__PURE__ */ a("section", { children: [
39
+ /* @__PURE__ */ e("h3", { className: "text-sm font-semibold mb-3", children: "点击切换动画类型" }),
40
+ /* @__PURE__ */ e(f, {})
41
+ ] }) });
42
+ }
43
+ export {
44
+ u as TextRevealShowcase,
45
+ f as TextRevealVariantSwitcher
46
+ };
@@ -0,0 +1,2 @@
1
+ export declare function AlertVariants(): import("react/jsx-runtime").JSX.Element;
2
+ export declare function AlertShowcase(): import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,37 @@
1
+ import { jsx as r, jsxs as i } from "react/jsx-runtime";
2
+ import { RiInformationLine as t, RiCheckboxCircleLine as a, RiAlertLine as d, RiErrorWarningLine as h } from "@remixicon/react";
3
+ import { Alert as e, AlertIcon as n, AlertTitle as l, AlertDescription as c } from "./alert.js";
4
+ function o() {
5
+ return /* @__PURE__ */ i("div", { className: "space-y-3 max-w-xl", children: [
6
+ /* @__PURE__ */ i(e, { variant: "primary", children: [
7
+ /* @__PURE__ */ r(n, { children: /* @__PURE__ */ r(t, {}) }),
8
+ /* @__PURE__ */ r(l, { children: "系统通知" }),
9
+ /* @__PURE__ */ r(c, { children: "本周计划维护时间:周五 22:00-23:00。" })
10
+ ] }),
11
+ /* @__PURE__ */ i(e, { variant: "success", children: [
12
+ /* @__PURE__ */ r(n, { children: /* @__PURE__ */ r(a, {}) }),
13
+ /* @__PURE__ */ r(l, { children: "提交成功" }),
14
+ /* @__PURE__ */ r(c, { children: "你的变更已进入审批流程。" })
15
+ ] }),
16
+ /* @__PURE__ */ i(e, { variant: "warning", children: [
17
+ /* @__PURE__ */ r(n, { children: /* @__PURE__ */ r(d, {}) }),
18
+ /* @__PURE__ */ r(l, { children: "未保存的修改" }),
19
+ /* @__PURE__ */ r(c, { children: "离开前请先保存。" })
20
+ ] }),
21
+ /* @__PURE__ */ i(e, { variant: "destructive", children: [
22
+ /* @__PURE__ */ r(n, { children: /* @__PURE__ */ r(h, {}) }),
23
+ /* @__PURE__ */ r(l, { children: "提交失败" }),
24
+ /* @__PURE__ */ r(c, { children: "请检查 3 个必填字段。" })
25
+ ] })
26
+ ] });
27
+ }
28
+ function x() {
29
+ return /* @__PURE__ */ r("div", { className: "flex flex-col gap-6", children: /* @__PURE__ */ i("section", { children: [
30
+ /* @__PURE__ */ r("h3", { className: "text-sm font-semibold mb-3", children: "Variant 全览" }),
31
+ /* @__PURE__ */ r(o, {})
32
+ ] }) });
33
+ }
34
+ export {
35
+ x as AlertShowcase,
36
+ o as AlertVariants
37
+ };
@@ -0,0 +1,2 @@
1
+ export declare function AlertDialogBasic(): import("react/jsx-runtime").JSX.Element;
2
+ export declare function AlertDialogShowcase(): import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,28 @@
1
+ import { jsxs as l, jsx as e } from "react/jsx-runtime";
2
+ import { AlertDialog as r, AlertDialogTrigger as i, AlertDialogContent as t, AlertDialogHeader as o, AlertDialogTitle as n, AlertDialogDescription as c, AlertDialogFooter as a, AlertDialogCancel as d, AlertDialogAction as h } from "./alert-dialog.js";
3
+ import { Button as s } from "../../form/button/button.js";
4
+ function g() {
5
+ return /* @__PURE__ */ l(r, { children: [
6
+ /* @__PURE__ */ e(i, { asChild: !0, children: /* @__PURE__ */ e(s, { variant: "destructive", children: "删除项目" }) }),
7
+ /* @__PURE__ */ l(t, { children: [
8
+ /* @__PURE__ */ l(o, { children: [
9
+ /* @__PURE__ */ e(n, { children: "确认删除该项目?" }),
10
+ /* @__PURE__ */ e(c, { children: "此操作不可撤销。相关评论与历史记录会保留,但主数据将从列表中移除。" })
11
+ ] }),
12
+ /* @__PURE__ */ l(a, { children: [
13
+ /* @__PURE__ */ e(d, { children: "取消" }),
14
+ /* @__PURE__ */ e(h, { children: "删除" })
15
+ ] })
16
+ ] })
17
+ ] });
18
+ }
19
+ function f() {
20
+ return /* @__PURE__ */ e("div", { className: "flex flex-col gap-6", children: /* @__PURE__ */ l("section", { children: [
21
+ /* @__PURE__ */ e("h3", { className: "text-sm font-semibold mb-3", children: "危险操作确认" }),
22
+ /* @__PURE__ */ e(g, {})
23
+ ] }) });
24
+ }
25
+ export {
26
+ g as AlertDialogBasic,
27
+ f as AlertDialogShowcase
28
+ };
@@ -0,0 +1,2 @@
1
+ export declare function ContextMenuBasic(): import("react/jsx-runtime").JSX.Element;
2
+ export declare function ContextMenuShowcase(): import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,33 @@
1
+ import { jsxs as t, jsx as e } from "react/jsx-runtime";
2
+ import { ContextMenu as o, ContextMenuTrigger as c, ContextMenuContent as d, ContextMenuItem as n, ContextMenuShortcut as r, ContextMenuSeparator as i } from "./context-menu.js";
3
+ function s() {
4
+ return /* @__PURE__ */ t(o, { children: [
5
+ /* @__PURE__ */ e(c, { className: "flex items-center justify-center w-80 h-32 border-2 border-dashed border-border rounded-md text-sm text-muted-foreground", children: "在此区域内右键" }),
6
+ /* @__PURE__ */ t(d, { children: [
7
+ /* @__PURE__ */ t(n, { children: [
8
+ "剪切 ",
9
+ /* @__PURE__ */ e(r, { children: "⌘X" })
10
+ ] }),
11
+ /* @__PURE__ */ t(n, { children: [
12
+ "复制 ",
13
+ /* @__PURE__ */ e(r, { children: "⌘C" })
14
+ ] }),
15
+ /* @__PURE__ */ t(n, { children: [
16
+ "粘贴 ",
17
+ /* @__PURE__ */ e(r, { children: "⌘V" })
18
+ ] }),
19
+ /* @__PURE__ */ e(i, {}),
20
+ /* @__PURE__ */ e(n, { className: "text-destructive focus:text-destructive", children: "删除" })
21
+ ] })
22
+ ] });
23
+ }
24
+ function x() {
25
+ return /* @__PURE__ */ e("div", { className: "flex flex-col gap-6", children: /* @__PURE__ */ t("section", { children: [
26
+ /* @__PURE__ */ e("h3", { className: "text-sm font-semibold mb-3", children: "基础右键菜单" }),
27
+ /* @__PURE__ */ e(s, {})
28
+ ] }) });
29
+ }
30
+ export {
31
+ s as ContextMenuBasic,
32
+ x as ContextMenuShowcase
33
+ };
@@ -0,0 +1,2 @@
1
+ export declare function DialogBasic(): import("react/jsx-runtime").JSX.Element;
2
+ export declare function DialogShowcase(): import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,51 @@
1
+ import { jsxs as l, jsx as e } from "react/jsx-runtime";
2
+ import { Dialog as n, DialogTrigger as a, DialogContent as o, DialogHeader as d, DialogTitle as t, DialogDescription as h, DialogFooter as s, DialogClose as m } from "./dialog.js";
3
+ import { Button as i } from "../../form/button/button.js";
4
+ import { Label as c } from "../../form/label/label.js";
5
+ import { Input as g } from "../../form/input/input.js";
6
+ import { Select as p, SelectTrigger as u, SelectValue as D, SelectContent as f, SelectItem as r } from "../../form/select/select.js";
7
+ function v() {
8
+ return /* @__PURE__ */ l(n, { children: [
9
+ /* @__PURE__ */ e(a, { asChild: !0, children: /* @__PURE__ */ e(i, { children: "新建项目" }) }),
10
+ /* @__PURE__ */ l(o, { children: [
11
+ /* @__PURE__ */ l(d, { children: [
12
+ /* @__PURE__ */ e(t, { children: "新建项目" }),
13
+ /* @__PURE__ */ e(h, { children: "填写基本信息即可创建。" })
14
+ ] }),
15
+ /* @__PURE__ */ l("div", { className: "space-y-4 py-2", children: [
16
+ /* @__PURE__ */ l("div", { className: "space-y-1.5", children: [
17
+ /* @__PURE__ */ l(c, { htmlFor: "d-name", children: [
18
+ "项目名称 ",
19
+ /* @__PURE__ */ e("span", { className: "text-destructive", children: "*" })
20
+ ] }),
21
+ /* @__PURE__ */ e(g, { id: "d-name", placeholder: "例:Acme Dashboard" })
22
+ ] }),
23
+ /* @__PURE__ */ l("div", { className: "space-y-1.5", children: [
24
+ /* @__PURE__ */ e(c, { children: "优先级" }),
25
+ /* @__PURE__ */ l(p, { children: [
26
+ /* @__PURE__ */ e(u, { children: /* @__PURE__ */ e(D, { placeholder: "请选择" }) }),
27
+ /* @__PURE__ */ l(f, { children: [
28
+ /* @__PURE__ */ e(r, { value: "high", children: "High" }),
29
+ /* @__PURE__ */ e(r, { value: "medium", children: "Medium" }),
30
+ /* @__PURE__ */ e(r, { value: "low", children: "Low" })
31
+ ] })
32
+ ] })
33
+ ] })
34
+ ] }),
35
+ /* @__PURE__ */ l(s, { children: [
36
+ /* @__PURE__ */ e(m, { asChild: !0, children: /* @__PURE__ */ e(i, { variant: "outline", children: "取消" }) }),
37
+ /* @__PURE__ */ e(i, { children: "保存" })
38
+ ] })
39
+ ] })
40
+ ] });
41
+ }
42
+ function w() {
43
+ return /* @__PURE__ */ e("div", { className: "flex flex-col gap-6", children: /* @__PURE__ */ l("section", { children: [
44
+ /* @__PURE__ */ e("h3", { className: "text-sm font-semibold mb-3", children: "短表单对话框" }),
45
+ /* @__PURE__ */ e(v, {})
46
+ ] }) });
47
+ }
48
+ export {
49
+ v as DialogBasic,
50
+ w as DialogShowcase
51
+ };
@@ -0,0 +1,2 @@
1
+ export declare function DrawerBasic(): import("react/jsx-runtime").JSX.Element;
2
+ export declare function DrawerShowcase(): import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,29 @@
1
+ import { jsxs as e, jsx as r } from "react/jsx-runtime";
2
+ import { Drawer as n, DrawerTrigger as t, DrawerContent as l, DrawerHeader as a, DrawerTitle as c, DrawerDescription as o, DrawerFooter as d, DrawerClose as h } from "./drawer.js";
3
+ import { Button as i } from "../../form/button/button.js";
4
+ function s() {
5
+ return /* @__PURE__ */ e(n, { children: [
6
+ /* @__PURE__ */ r(t, { asChild: !0, children: /* @__PURE__ */ r(i, { variant: "outline", children: "打开筛选" }) }),
7
+ /* @__PURE__ */ e(l, { children: [
8
+ /* @__PURE__ */ e(a, { children: [
9
+ /* @__PURE__ */ r(c, { children: "筛选条件" }),
10
+ /* @__PURE__ */ r(o, { children: "根据条件过滤列表。" })
11
+ ] }),
12
+ /* @__PURE__ */ r("div", { className: "p-4 text-sm text-muted-foreground", children: "……(真实业务放筛选表单)" }),
13
+ /* @__PURE__ */ e(d, { children: [
14
+ /* @__PURE__ */ r(i, { children: "应用" }),
15
+ /* @__PURE__ */ r(h, { asChild: !0, children: /* @__PURE__ */ r(i, { variant: "outline", children: "取消" }) })
16
+ ] })
17
+ ] })
18
+ ] });
19
+ }
20
+ function D() {
21
+ return /* @__PURE__ */ r("div", { className: "flex flex-col gap-6", children: /* @__PURE__ */ e("section", { children: [
22
+ /* @__PURE__ */ r("h3", { className: "text-sm font-semibold mb-3", children: "底部抽屉" }),
23
+ /* @__PURE__ */ r(s, {})
24
+ ] }) });
25
+ }
26
+ export {
27
+ s as DrawerBasic,
28
+ D as DrawerShowcase
29
+ };
@@ -0,0 +1,3 @@
1
+ export declare function DropdownMenuRowActions(): import("react/jsx-runtime").JSX.Element;
2
+ export declare function DropdownMenuUser(): import("react/jsx-runtime").JSX.Element;
3
+ export declare function DropdownMenuShowcase(): import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,54 @@
1
+ import { jsxs as r, jsx as e } from "react/jsx-runtime";
2
+ import { RiMoreLine as l } from "@remixicon/react";
3
+ import { DropdownMenu as o, DropdownMenuTrigger as t, DropdownMenuContent as c, DropdownMenuItem as n, DropdownMenuShortcut as a, DropdownMenuSeparator as i, DropdownMenuLabel as h } from "./dropdown-menu.js";
4
+ import { Button as d } from "../../form/button/button.js";
5
+ import { Avatar as s, AvatarFallback as m } from "../../data-display/avatar/avatar.js";
6
+ function p() {
7
+ return /* @__PURE__ */ r(o, { children: [
8
+ /* @__PURE__ */ e(t, { asChild: !0, children: /* @__PURE__ */ e(d, { mode: "icon", variant: "ghost", size: "sm", children: /* @__PURE__ */ e(l, {}) }) }),
9
+ /* @__PURE__ */ r(c, { children: [
10
+ /* @__PURE__ */ e(n, { children: "查看详情" }),
11
+ /* @__PURE__ */ r(n, { children: [
12
+ "编辑 ",
13
+ /* @__PURE__ */ e(a, { children: "⌘E" })
14
+ ] }),
15
+ /* @__PURE__ */ e(n, { children: "复制链接" }),
16
+ /* @__PURE__ */ e(i, {}),
17
+ /* @__PURE__ */ e(n, { variant: "destructive", children: "删除" })
18
+ ] })
19
+ ] });
20
+ }
21
+ function u() {
22
+ return /* @__PURE__ */ r(o, { children: [
23
+ /* @__PURE__ */ e(t, { asChild: !0, children: /* @__PURE__ */ r(d, { variant: "ghost", className: "gap-2", children: [
24
+ /* @__PURE__ */ e(s, { className: "size-6", children: /* @__PURE__ */ e(m, { className: "text-[10px] bg-primary/10 text-primary", children: "AC" }) }),
25
+ "Alice Chen"
26
+ ] }) }),
27
+ /* @__PURE__ */ r(c, { align: "end", children: [
28
+ /* @__PURE__ */ e(h, { children: "Alice Chen · Project Manager" }),
29
+ /* @__PURE__ */ e(i, {}),
30
+ /* @__PURE__ */ e(n, { children: "个人信息" }),
31
+ /* @__PURE__ */ e(n, { children: "偏好设置" }),
32
+ /* @__PURE__ */ e(n, { children: "帮助文档" }),
33
+ /* @__PURE__ */ e(i, {}),
34
+ /* @__PURE__ */ e(n, { variant: "destructive", children: "退出登录" })
35
+ ] })
36
+ ] });
37
+ }
38
+ function g() {
39
+ return /* @__PURE__ */ r("div", { className: "flex flex-col gap-6", children: [
40
+ /* @__PURE__ */ r("section", { children: [
41
+ /* @__PURE__ */ e("h3", { className: "text-sm font-semibold mb-3", children: "表格行操作" }),
42
+ /* @__PURE__ */ e(p, {})
43
+ ] }),
44
+ /* @__PURE__ */ r("section", { children: [
45
+ /* @__PURE__ */ e("h3", { className: "text-sm font-semibold mb-3", children: "用户菜单" }),
46
+ /* @__PURE__ */ e(u, {})
47
+ ] })
48
+ ] });
49
+ }
50
+ export {
51
+ p as DropdownMenuRowActions,
52
+ g as DropdownMenuShowcase,
53
+ u as DropdownMenuUser
54
+ };
@@ -0,0 +1,2 @@
1
+ export declare function HoverCardUser(): import("react/jsx-runtime").JSX.Element;
2
+ export declare function HoverCardShowcase(): import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,27 @@
1
+ import { jsx as e, jsxs as r } from "react/jsx-runtime";
2
+ import { HoverCard as a, HoverCardTrigger as t, HoverCardContent as d } from "./hover-card.js";
3
+ import { Avatar as i, AvatarFallback as l } from "../../data-display/avatar/avatar.js";
4
+ function s() {
5
+ return /* @__PURE__ */ r(a, { children: [
6
+ /* @__PURE__ */ e(t, { asChild: !0, children: /* @__PURE__ */ e("span", { className: "text-primary cursor-pointer underline decoration-dotted", children: "Alice Chen" }) }),
7
+ /* @__PURE__ */ e(d, { className: "w-72", children: /* @__PURE__ */ r("div", { className: "flex gap-3", children: [
8
+ /* @__PURE__ */ e(i, { className: "size-12", children: /* @__PURE__ */ e(l, { className: "bg-primary/10 text-primary", children: "AC" }) }),
9
+ /* @__PURE__ */ r("div", { children: [
10
+ /* @__PURE__ */ e("div", { className: "font-semibold", children: "Alice Chen" }),
11
+ /* @__PURE__ */ e("div", { className: "text-xs text-muted-foreground", children: "Product Manager · Growth Team" }),
12
+ /* @__PURE__ */ e("div", { className: "text-xs text-muted-foreground mt-2", children: "参与:Acme Dashboard / Mobile App" }),
13
+ /* @__PURE__ */ e("div", { className: "text-xs text-muted-foreground", children: "本周任务:14 条" })
14
+ ] })
15
+ ] }) })
16
+ ] });
17
+ }
18
+ function m() {
19
+ return /* @__PURE__ */ e("div", { className: "flex flex-col gap-6", children: /* @__PURE__ */ r("section", { children: [
20
+ /* @__PURE__ */ e("h3", { className: "text-sm font-semibold mb-3", children: "用户名悬浮卡" }),
21
+ /* @__PURE__ */ e(s, {})
22
+ ] }) });
23
+ }
24
+ export {
25
+ m as HoverCardShowcase,
26
+ s as HoverCardUser
27
+ };
@@ -0,0 +1,2 @@
1
+ export declare function PopoverFilter(): import("react/jsx-runtime").JSX.Element;
2
+ export declare function PopoverShowcase(): import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,42 @@
1
+ import { jsxs as l, jsx as e } from "react/jsx-runtime";
2
+ import { Popover as n, PopoverTrigger as o, PopoverContent as t } from "./popover.js";
3
+ import { Button as r } from "../../form/button/button.js";
4
+ import { Label as c } from "../../form/label/label.js";
5
+ import { Input as a } from "../../form/input/input.js";
6
+ import { Select as d, SelectTrigger as s, SelectValue as h, SelectContent as m, SelectItem as i } from "../../form/select/select.js";
7
+ function p() {
8
+ return /* @__PURE__ */ l(n, { children: [
9
+ /* @__PURE__ */ e(o, { asChild: !0, children: /* @__PURE__ */ e(r, { variant: "outline", children: "筛选" }) }),
10
+ /* @__PURE__ */ e(t, { className: "w-80", children: /* @__PURE__ */ l("div", { className: "space-y-3", children: [
11
+ /* @__PURE__ */ l("div", { className: "space-y-1.5", children: [
12
+ /* @__PURE__ */ e(c, { children: "关键字" }),
13
+ /* @__PURE__ */ e(a, { placeholder: "搜索..." })
14
+ ] }),
15
+ /* @__PURE__ */ l("div", { className: "space-y-1.5", children: [
16
+ /* @__PURE__ */ e(c, { children: "优先级" }),
17
+ /* @__PURE__ */ l(d, { children: [
18
+ /* @__PURE__ */ e(s, { children: /* @__PURE__ */ e(h, { placeholder: "不限" }) }),
19
+ /* @__PURE__ */ l(m, { children: [
20
+ /* @__PURE__ */ e(i, { value: "high", children: "High" }),
21
+ /* @__PURE__ */ e(i, { value: "medium", children: "Medium" }),
22
+ /* @__PURE__ */ e(i, { value: "low", children: "Low" })
23
+ ] })
24
+ ] })
25
+ ] }),
26
+ /* @__PURE__ */ l("div", { className: "flex gap-2 pt-2", children: [
27
+ /* @__PURE__ */ e(r, { size: "sm", className: "flex-1", children: "应用" }),
28
+ /* @__PURE__ */ e(r, { size: "sm", variant: "outline", children: "重置" })
29
+ ] })
30
+ ] }) })
31
+ ] });
32
+ }
33
+ function S() {
34
+ return /* @__PURE__ */ e("div", { className: "flex flex-col gap-6", children: /* @__PURE__ */ l("section", { children: [
35
+ /* @__PURE__ */ e("h3", { className: "text-sm font-semibold mb-3", children: "筛选面板" }),
36
+ /* @__PURE__ */ e(p, {})
37
+ ] }) });
38
+ }
39
+ export {
40
+ p as PopoverFilter,
41
+ S as PopoverShowcase
42
+ };
@@ -0,0 +1,2 @@
1
+ export declare function SheetBasic(): import("react/jsx-runtime").JSX.Element;
2
+ export declare function SheetShowcase(): import("react/jsx-runtime").JSX.Element;