@caffeinebounce/ui 0.62.2

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 (143) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +39 -0
  3. package/dist/FinancialStatementTable-BNUrdTU4.d.cts +249 -0
  4. package/dist/FinancialStatementTable-BNUrdTU4.d.ts +249 -0
  5. package/dist/NewsletterSignup-BPreFi5W.d.cts +37 -0
  6. package/dist/NewsletterSignup-BPreFi5W.d.ts +37 -0
  7. package/dist/TestimonialsSection-DtPu2OeR.d.ts +736 -0
  8. package/dist/TestimonialsSection-z-yotRfv.d.cts +736 -0
  9. package/dist/UnifiedTableControls-CG299y9h.d.ts +1233 -0
  10. package/dist/UnifiedTableControls-CIjRpNhy.d.cts +1233 -0
  11. package/dist/blog.d.cts +99 -0
  12. package/dist/blog.d.ts +99 -0
  13. package/dist/blog.js +292 -0
  14. package/dist/blog.mjs +279 -0
  15. package/dist/button-BHnoRUkF.d.cts +34 -0
  16. package/dist/button-BHnoRUkF.d.ts +34 -0
  17. package/dist/charts.d.cts +80 -0
  18. package/dist/charts.d.ts +80 -0
  19. package/dist/charts.js +19 -0
  20. package/dist/charts.mjs +2 -0
  21. package/dist/chunk-33JR5SYE.js +44 -0
  22. package/dist/chunk-3NDB4YPC.js +247 -0
  23. package/dist/chunk-5RW4PYZ6.js +1504 -0
  24. package/dist/chunk-5THF4YP6.mjs +155 -0
  25. package/dist/chunk-6BUBNZPG.mjs +164 -0
  26. package/dist/chunk-6DVWMJ3H.mjs +7029 -0
  27. package/dist/chunk-6TGV2DNP.js +120 -0
  28. package/dist/chunk-72JGQ7IJ.mjs +1498 -0
  29. package/dist/chunk-7DHKQODW.mjs +2932 -0
  30. package/dist/chunk-7IKHZKAC.js +160 -0
  31. package/dist/chunk-ADIDI7AJ.js +11 -0
  32. package/dist/chunk-BFWX5GJZ.mjs +940 -0
  33. package/dist/chunk-BMFQG6RA.mjs +5537 -0
  34. package/dist/chunk-C4UT5V3P.js +65 -0
  35. package/dist/chunk-CC4KUIKC.js +2004 -0
  36. package/dist/chunk-D3QXPL47.mjs +1814 -0
  37. package/dist/chunk-DQWHYBV2.js +36 -0
  38. package/dist/chunk-E42B4GSB.js +993 -0
  39. package/dist/chunk-ESZ7CBA2.js +1007 -0
  40. package/dist/chunk-EYJJQVV4.js +111 -0
  41. package/dist/chunk-FRRS2YZH.mjs +129 -0
  42. package/dist/chunk-G5TQWWQA.mjs +37 -0
  43. package/dist/chunk-GAIQJCAZ.js +5612 -0
  44. package/dist/chunk-GMBGWOCR.mjs +48 -0
  45. package/dist/chunk-GUSTCU2W.mjs +105 -0
  46. package/dist/chunk-HBLKVQIQ.mjs +23 -0
  47. package/dist/chunk-HMAMMC72.js +26 -0
  48. package/dist/chunk-IMKLN273.mjs +9 -0
  49. package/dist/chunk-J6OLBSZR.js +250 -0
  50. package/dist/chunk-JAE45W2T.js +28 -0
  51. package/dist/chunk-JORVSG52.js +606 -0
  52. package/dist/chunk-KB7UXIQZ.mjs +984 -0
  53. package/dist/chunk-KGGQ5NZV.js +186 -0
  54. package/dist/chunk-KHCC5UKW.mjs +22 -0
  55. package/dist/chunk-KRRIRS6A.mjs +1945 -0
  56. package/dist/chunk-LQCVRWVF.js +48 -0
  57. package/dist/chunk-MHZXUOGN.mjs +168 -0
  58. package/dist/chunk-MPZFPU4X.js +349 -0
  59. package/dist/chunk-MVYRNJA6.js +74 -0
  60. package/dist/chunk-N6AFNFZR.mjs +565 -0
  61. package/dist/chunk-OFQLWSUR.mjs +214 -0
  62. package/dist/chunk-OLAAXLXY.mjs +219 -0
  63. package/dist/chunk-OZZWDIOY.js +1859 -0
  64. package/dist/chunk-PZRI43EZ.js +111 -0
  65. package/dist/chunk-Q256HRYD.js +176 -0
  66. package/dist/chunk-Q52ZEL62.mjs +223 -0
  67. package/dist/chunk-R26Y7LGJ.js +142 -0
  68. package/dist/chunk-RBUYW6QQ.js +39 -0
  69. package/dist/chunk-RVEFPVZF.mjs +43 -0
  70. package/dist/chunk-SORWLKOK.js +96 -0
  71. package/dist/chunk-STEP6C4C.mjs +33 -0
  72. package/dist/chunk-T5R6HUDG.mjs +22 -0
  73. package/dist/chunk-T6ZBA6VJ.js +7109 -0
  74. package/dist/chunk-UM7WMXIU.js +2995 -0
  75. package/dist/chunk-VBD4Q5LL.mjs +117 -0
  76. package/dist/chunk-WOITB4JL.js +195 -0
  77. package/dist/chunk-YKZEKJMZ.mjs +71 -0
  78. package/dist/chunk-YL7RZRHM.mjs +103 -0
  79. package/dist/chunk-YSLD2HLP.mjs +346 -0
  80. package/dist/chunk-ZFLZA7UP.mjs +140 -0
  81. package/dist/chunk-ZKUIUE7W.mjs +26 -0
  82. package/dist/chunk-ZOA7B32D.js +248 -0
  83. package/dist/data-table.d.cts +46 -0
  84. package/dist/data-table.d.ts +46 -0
  85. package/dist/data-table.js +270 -0
  86. package/dist/data-table.mjs +13 -0
  87. package/dist/editor.d.cts +89 -0
  88. package/dist/editor.d.ts +89 -0
  89. package/dist/editor.js +10 -0
  90. package/dist/editor.mjs +1 -0
  91. package/dist/forms.d.cts +142 -0
  92. package/dist/forms.d.ts +142 -0
  93. package/dist/forms.js +24 -0
  94. package/dist/forms.mjs +11 -0
  95. package/dist/hooks-8ORd7T1A.d.cts +751 -0
  96. package/dist/hooks-B2jU1GVT.d.ts +751 -0
  97. package/dist/hooks.d.cts +6 -0
  98. package/dist/hooks.d.ts +6 -0
  99. package/dist/hooks.js +99 -0
  100. package/dist/hooks.mjs +10 -0
  101. package/dist/index.d.cts +3141 -0
  102. package/dist/index.d.ts +3141 -0
  103. package/dist/index.js +7332 -0
  104. package/dist/index.mjs +5876 -0
  105. package/dist/layouts-DPfDDF53.d.cts +1001 -0
  106. package/dist/layouts-DPfDDF53.d.ts +1001 -0
  107. package/dist/layouts.d.cts +4 -0
  108. package/dist/layouts.d.ts +4 -0
  109. package/dist/layouts.js +100 -0
  110. package/dist/layouts.mjs +11 -0
  111. package/dist/marketing-3d.d.cts +51 -0
  112. package/dist/marketing-3d.d.ts +51 -0
  113. package/dist/marketing-3d.js +553 -0
  114. package/dist/marketing-3d.mjs +526 -0
  115. package/dist/marketing.d.cts +583 -0
  116. package/dist/marketing.d.ts +583 -0
  117. package/dist/marketing.js +299 -0
  118. package/dist/marketing.mjs +10 -0
  119. package/dist/media.d.cts +29 -0
  120. package/dist/media.d.ts +29 -0
  121. package/dist/media.js +189 -0
  122. package/dist/media.mjs +182 -0
  123. package/dist/navigation.d.cts +591 -0
  124. package/dist/navigation.d.ts +591 -0
  125. package/dist/navigation.js +108 -0
  126. package/dist/navigation.mjs +15 -0
  127. package/dist/portal.d.cts +58 -0
  128. package/dist/portal.d.ts +58 -0
  129. package/dist/portal.js +403 -0
  130. package/dist/portal.mjs +395 -0
  131. package/dist/primitives.d.cts +508 -0
  132. package/dist/primitives.d.ts +508 -0
  133. package/dist/primitives.js +295 -0
  134. package/dist/primitives.mjs +14 -0
  135. package/dist/settings.d.cts +216 -0
  136. package/dist/settings.d.ts +216 -0
  137. package/dist/settings.js +34 -0
  138. package/dist/settings.mjs +9 -0
  139. package/dist/shared-Dqn36QHZ.d.cts +4 -0
  140. package/dist/shared-Dqn36QHZ.d.ts +4 -0
  141. package/dist/styles.css +1213 -0
  142. package/package.json +189 -0
  143. package/styles.css +1 -0
@@ -0,0 +1,48 @@
1
+ import { cn } from './chunk-IMKLN273.mjs';
2
+ import * as TabsPrimitive from '@radix-ui/react-tabs';
3
+ import * as React from 'react';
4
+ import { jsx } from 'react/jsx-runtime';
5
+
6
+ var Tabs = TabsPrimitive.Root;
7
+ var TabsList = React.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
8
+ TabsPrimitive.List,
9
+ {
10
+ ref,
11
+ className: cn("inline-flex h-auto items-center gap-0.5", className),
12
+ ...props
13
+ }
14
+ ));
15
+ TabsList.displayName = TabsPrimitive.List.displayName;
16
+ var TabsTrigger = React.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
17
+ TabsPrimitive.Trigger,
18
+ {
19
+ ref,
20
+ className: cn(
21
+ "relative inline-flex items-center justify-center whitespace-nowrap px-2 py-1 text-sm transition-colors rounded-box",
22
+ "ring-offset-background focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2",
23
+ "disabled:pointer-events-none disabled:opacity-50",
24
+ "text-muted-foreground data-[state=inactive]:hover:text-foreground data-[state=inactive]:hover:bg-accent/50",
25
+ "data-[state=active]:text-foreground data-[state=active]:font-medium",
26
+ // Active indicator line
27
+ "after:absolute after:bottom-0 after:left-2 after:right-2 after:h-0.5 after:rounded-full",
28
+ "after:bg-transparent data-[state=active]:after:bg-foreground",
29
+ className
30
+ ),
31
+ ...props
32
+ }
33
+ ));
34
+ TabsTrigger.displayName = TabsPrimitive.Trigger.displayName;
35
+ var TabsContent = React.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
36
+ TabsPrimitive.Content,
37
+ {
38
+ ref,
39
+ className: cn(
40
+ "mt-2 ring-offset-background focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2",
41
+ className
42
+ ),
43
+ ...props
44
+ }
45
+ ));
46
+ TabsContent.displayName = TabsPrimitive.Content.displayName;
47
+
48
+ export { Tabs, TabsContent, TabsList, TabsTrigger };
@@ -0,0 +1,105 @@
1
+ import { cn } from './chunk-IMKLN273.mjs';
2
+ import { cva } from 'class-variance-authority';
3
+ import { jsx } from 'react/jsx-runtime';
4
+
5
+ var alertVariants = cva(
6
+ "relative w-full rounded-box border px-4 py-3 text-sm grid has-[>svg]:grid-cols-[calc(var(--spacing)*4)_1fr] grid-cols-[0_1fr] has-[>svg]:gap-x-3 gap-y-0.5 items-start [&>svg]:size-4 [&>svg]:translate-y-0.5 [&>svg]:text-current",
7
+ {
8
+ variants: {
9
+ variant: {
10
+ default: "bg-card text-card-foreground",
11
+ destructive: "border-destructive text-destructive bg-card [&>svg]:text-current *:data-[slot=alert-description]:text-destructive/90"
12
+ }
13
+ },
14
+ defaultVariants: {
15
+ variant: "default"
16
+ }
17
+ }
18
+ );
19
+ function Alert({
20
+ className,
21
+ variant,
22
+ ...props
23
+ }) {
24
+ return /* @__PURE__ */ jsx(
25
+ "div",
26
+ {
27
+ "data-slot": "alert",
28
+ role: "alert",
29
+ className: cn(alertVariants({ variant }), className),
30
+ ...props
31
+ }
32
+ );
33
+ }
34
+ function AlertTitle({ className, ...props }) {
35
+ return /* @__PURE__ */ jsx(
36
+ "div",
37
+ {
38
+ "data-slot": "alert-title",
39
+ className: cn(
40
+ "col-start-2 line-clamp-1 min-h-4 font-medium tracking-tight",
41
+ className
42
+ ),
43
+ ...props
44
+ }
45
+ );
46
+ }
47
+ function AlertDescription({
48
+ className,
49
+ ...props
50
+ }) {
51
+ return /* @__PURE__ */ jsx(
52
+ "div",
53
+ {
54
+ "data-slot": "alert-description",
55
+ className: cn(
56
+ "text-muted-foreground col-start-2 grid justify-items-start gap-1 text-sm [&_p]:leading-relaxed",
57
+ className
58
+ ),
59
+ ...props
60
+ }
61
+ );
62
+ }
63
+ var badgeVariants = cva(
64
+ "inline-flex items-center border font-medium transition-colors focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2",
65
+ {
66
+ variants: {
67
+ variant: {
68
+ default: "border-transparent bg-primary text-primary-foreground hover:bg-primary/80",
69
+ secondary: "border-transparent bg-secondary text-secondary-foreground hover:bg-secondary/80",
70
+ destructive: "border-transparent bg-destructive text-destructive-foreground hover:bg-destructive/80",
71
+ outline: "text-foreground",
72
+ success: "border-transparent bg-green-100 text-green-800 dark:bg-green-900/30 dark:text-green-400",
73
+ warning: "border-transparent bg-amber-100 text-amber-800 dark:bg-amber-900/30 dark:text-amber-400",
74
+ muted: "border-transparent bg-muted text-muted-foreground"
75
+ },
76
+ shape: {
77
+ pill: "rounded-full",
78
+ rounded: "rounded-md",
79
+ square: "rounded-none"
80
+ },
81
+ size: {
82
+ sm: "px-1 text-[9px]",
83
+ default: "px-1.5 text-[10px]",
84
+ lg: "px-2 py-0.5 text-xs"
85
+ }
86
+ },
87
+ defaultVariants: {
88
+ variant: "default",
89
+ shape: "pill",
90
+ size: "default"
91
+ }
92
+ }
93
+ );
94
+ function Badge({ className, variant, shape, size, ...props }) {
95
+ return /* @__PURE__ */ jsx(
96
+ "div",
97
+ {
98
+ "data-slot": "badge",
99
+ className: cn(badgeVariants({ variant, shape, size }), className),
100
+ ...props
101
+ }
102
+ );
103
+ }
104
+
105
+ export { Alert, AlertDescription, AlertTitle, Badge, badgeVariants };
@@ -0,0 +1,23 @@
1
+ import { cn } from './chunk-IMKLN273.mjs';
2
+ import { cva } from 'class-variance-authority';
3
+ import { Loader2 } from 'lucide-react';
4
+ import { jsx } from 'react/jsx-runtime';
5
+
6
+ var spinnerVariants = cva("animate-spin text-muted-foreground", {
7
+ variants: {
8
+ size: {
9
+ xs: "h-3 w-3",
10
+ sm: "h-4 w-4",
11
+ md: "h-6 w-6",
12
+ lg: "h-8 w-8"
13
+ }
14
+ },
15
+ defaultVariants: {
16
+ size: "sm"
17
+ }
18
+ });
19
+ function Spinner({ className, size, ...props }) {
20
+ return /* @__PURE__ */ jsx(Loader2, { className: cn(spinnerVariants({ size, className })), ...props });
21
+ }
22
+
23
+ export { Spinner, spinnerVariants };
@@ -0,0 +1,26 @@
1
+ 'use strict';
2
+
3
+ var chunkADIDI7AJ_js = require('./chunk-ADIDI7AJ.js');
4
+ var classVarianceAuthority = require('class-variance-authority');
5
+ var lucideReact = require('lucide-react');
6
+ var jsxRuntime = require('react/jsx-runtime');
7
+
8
+ var spinnerVariants = classVarianceAuthority.cva("animate-spin text-muted-foreground", {
9
+ variants: {
10
+ size: {
11
+ xs: "h-3 w-3",
12
+ sm: "h-4 w-4",
13
+ md: "h-6 w-6",
14
+ lg: "h-8 w-8"
15
+ }
16
+ },
17
+ defaultVariants: {
18
+ size: "sm"
19
+ }
20
+ });
21
+ function Spinner({ className, size, ...props }) {
22
+ return /* @__PURE__ */ jsxRuntime.jsx(lucideReact.Loader2, { className: chunkADIDI7AJ_js.cn(spinnerVariants({ size, className })), ...props });
23
+ }
24
+
25
+ exports.Spinner = Spinner;
26
+ exports.spinnerVariants = spinnerVariants;
@@ -0,0 +1,9 @@
1
+ import { clsx } from 'clsx';
2
+ import { twMerge } from 'tailwind-merge';
3
+
4
+ // src/utils/cn.ts
5
+ function cn(...inputs) {
6
+ return twMerge(clsx(inputs));
7
+ }
8
+
9
+ export { cn };
@@ -0,0 +1,250 @@
1
+ 'use strict';
2
+
3
+ var chunkADIDI7AJ_js = require('./chunk-ADIDI7AJ.js');
4
+ var DropdownMenuPrimitive = require('@radix-ui/react-dropdown-menu');
5
+ var lucideReact = require('lucide-react');
6
+ var jsxRuntime = require('react/jsx-runtime');
7
+
8
+ function _interopNamespace(e) {
9
+ if (e && e.__esModule) return e;
10
+ var n = Object.create(null);
11
+ if (e) {
12
+ Object.keys(e).forEach(function (k) {
13
+ if (k !== 'default') {
14
+ var d = Object.getOwnPropertyDescriptor(e, k);
15
+ Object.defineProperty(n, k, d.get ? d : {
16
+ enumerable: true,
17
+ get: function () { return e[k]; }
18
+ });
19
+ }
20
+ });
21
+ }
22
+ n.default = e;
23
+ return Object.freeze(n);
24
+ }
25
+
26
+ var DropdownMenuPrimitive__namespace = /*#__PURE__*/_interopNamespace(DropdownMenuPrimitive);
27
+
28
+ function DropdownMenu({
29
+ ...props
30
+ }) {
31
+ return /* @__PURE__ */ jsxRuntime.jsx(DropdownMenuPrimitive__namespace.Root, { "data-slot": "dropdown-menu", ...props });
32
+ }
33
+ function DropdownMenuPortal({
34
+ ...props
35
+ }) {
36
+ return /* @__PURE__ */ jsxRuntime.jsx(DropdownMenuPrimitive__namespace.Portal, { "data-slot": "dropdown-menu-portal", ...props });
37
+ }
38
+ function DropdownMenuTrigger({
39
+ ...props
40
+ }) {
41
+ return /* @__PURE__ */ jsxRuntime.jsx(
42
+ DropdownMenuPrimitive__namespace.Trigger,
43
+ {
44
+ "data-slot": "dropdown-menu-trigger",
45
+ ...props
46
+ }
47
+ );
48
+ }
49
+ function DropdownMenuContent({
50
+ className,
51
+ sideOffset = 4,
52
+ ...props
53
+ }) {
54
+ return /* @__PURE__ */ jsxRuntime.jsx(DropdownMenuPrimitive__namespace.Portal, { children: /* @__PURE__ */ jsxRuntime.jsx(
55
+ DropdownMenuPrimitive__namespace.Content,
56
+ {
57
+ "data-slot": "dropdown-menu-content",
58
+ sideOffset,
59
+ className: chunkADIDI7AJ_js.cn(
60
+ "bg-popover text-popover-foreground data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 z-50 min-w-32 overflow-hidden rounded-box border p-1 shadow-md",
61
+ className
62
+ ),
63
+ ...props
64
+ }
65
+ ) });
66
+ }
67
+ function DropdownMenuItem({
68
+ className,
69
+ inset,
70
+ variant = "default",
71
+ ...props
72
+ }) {
73
+ return /* @__PURE__ */ jsxRuntime.jsx(
74
+ DropdownMenuPrimitive__namespace.Item,
75
+ {
76
+ "data-slot": "dropdown-menu-item",
77
+ "data-inset": inset,
78
+ "data-variant": variant,
79
+ className: chunkADIDI7AJ_js.cn(
80
+ "focus:bg-accent focus:text-accent-foreground data-[variant=destructive]:text-destructive data-[variant=destructive]:focus:bg-destructive/10 dark:data-[variant=destructive]:focus:bg-destructive/20 data-[variant=destructive]:focus:text-destructive data-[variant=destructive]:*:[svg]:text-destructive! [&_svg:not([class*='text-'])]:text-muted-foreground relative flex cursor-default items-center gap-2 rounded-sm px-2 py-1.5 text-sm outline-hidden select-none data-disabled:pointer-events-none data-disabled:opacity-50 data-inset:pl-8 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",
81
+ className
82
+ ),
83
+ ...props
84
+ }
85
+ );
86
+ }
87
+ function DropdownMenuCheckboxItem({
88
+ className,
89
+ children,
90
+ checked,
91
+ ...props
92
+ }) {
93
+ return /* @__PURE__ */ jsxRuntime.jsxs(
94
+ DropdownMenuPrimitive__namespace.CheckboxItem,
95
+ {
96
+ "data-slot": "dropdown-menu-checkbox-item",
97
+ className: chunkADIDI7AJ_js.cn(
98
+ "focus:bg-accent focus:text-accent-foreground relative flex cursor-default select-none items-center rounded-sm py-1.5 pl-8 pr-2 text-sm outline-none transition-colors data-disabled:pointer-events-none data-disabled:opacity-50",
99
+ className
100
+ ),
101
+ checked,
102
+ ...props,
103
+ children: [
104
+ /* @__PURE__ */ jsxRuntime.jsx("span", { className: "absolute left-2 flex h-3.5 w-3.5 items-center justify-center", children: /* @__PURE__ */ jsxRuntime.jsx(DropdownMenuPrimitive__namespace.ItemIndicator, { children: /* @__PURE__ */ jsxRuntime.jsx(lucideReact.CheckIcon, { className: "size-4" }) }) }),
105
+ children
106
+ ]
107
+ }
108
+ );
109
+ }
110
+ function DropdownMenuRadioItem({
111
+ className,
112
+ children,
113
+ ...props
114
+ }) {
115
+ return /* @__PURE__ */ jsxRuntime.jsxs(
116
+ DropdownMenuPrimitive__namespace.RadioItem,
117
+ {
118
+ "data-slot": "dropdown-menu-radio-item",
119
+ className: chunkADIDI7AJ_js.cn(
120
+ "focus:bg-accent focus:text-accent-foreground relative flex cursor-default select-none items-center rounded-sm py-1.5 pl-8 pr-2 text-sm outline-none transition-colors data-disabled:pointer-events-none data-disabled:opacity-50",
121
+ className
122
+ ),
123
+ ...props,
124
+ children: [
125
+ /* @__PURE__ */ jsxRuntime.jsx("span", { className: "absolute left-2 flex h-3.5 w-3.5 items-center justify-center", children: /* @__PURE__ */ jsxRuntime.jsx(DropdownMenuPrimitive__namespace.ItemIndicator, { children: /* @__PURE__ */ jsxRuntime.jsx(lucideReact.CircleIcon, { className: "size-2 fill-current" }) }) }),
126
+ children
127
+ ]
128
+ }
129
+ );
130
+ }
131
+ function DropdownMenuLabel({
132
+ className,
133
+ inset,
134
+ ...props
135
+ }) {
136
+ return /* @__PURE__ */ jsxRuntime.jsx(
137
+ DropdownMenuPrimitive__namespace.Label,
138
+ {
139
+ "data-slot": "dropdown-menu-label",
140
+ className: chunkADIDI7AJ_js.cn(
141
+ "px-2 py-1.5 text-sm font-semibold",
142
+ inset && "pl-8",
143
+ className
144
+ ),
145
+ ...props
146
+ }
147
+ );
148
+ }
149
+ function DropdownMenuSeparator({
150
+ className,
151
+ ...props
152
+ }) {
153
+ return /* @__PURE__ */ jsxRuntime.jsx(
154
+ DropdownMenuPrimitive__namespace.Separator,
155
+ {
156
+ "data-slot": "dropdown-menu-separator",
157
+ className: chunkADIDI7AJ_js.cn("bg-muted -mx-1 my-1 h-px", className),
158
+ ...props
159
+ }
160
+ );
161
+ }
162
+ function DropdownMenuGroup({
163
+ ...props
164
+ }) {
165
+ return /* @__PURE__ */ jsxRuntime.jsx(DropdownMenuPrimitive__namespace.Group, { "data-slot": "dropdown-menu-group", ...props });
166
+ }
167
+ function DropdownMenuRadioGroup({
168
+ ...props
169
+ }) {
170
+ return /* @__PURE__ */ jsxRuntime.jsx(
171
+ DropdownMenuPrimitive__namespace.RadioGroup,
172
+ {
173
+ "data-slot": "dropdown-menu-radio-group",
174
+ ...props
175
+ }
176
+ );
177
+ }
178
+ function DropdownMenuSub({
179
+ ...props
180
+ }) {
181
+ return /* @__PURE__ */ jsxRuntime.jsx(DropdownMenuPrimitive__namespace.Sub, { "data-slot": "dropdown-menu-sub", ...props });
182
+ }
183
+ function DropdownMenuSubTrigger({
184
+ className,
185
+ inset,
186
+ children,
187
+ ...props
188
+ }) {
189
+ return /* @__PURE__ */ jsxRuntime.jsxs(
190
+ DropdownMenuPrimitive__namespace.SubTrigger,
191
+ {
192
+ "data-slot": "dropdown-menu-sub-trigger",
193
+ className: chunkADIDI7AJ_js.cn(
194
+ "focus:bg-accent data-[state=open]:bg-accent flex cursor-default select-none items-center rounded-sm px-2 py-1.5 text-sm outline-none",
195
+ inset && "pl-8",
196
+ className
197
+ ),
198
+ ...props,
199
+ children: [
200
+ children,
201
+ /* @__PURE__ */ jsxRuntime.jsx(lucideReact.ChevronRightIcon, { className: "ml-auto size-4" })
202
+ ]
203
+ }
204
+ );
205
+ }
206
+ function DropdownMenuSubContent({
207
+ className,
208
+ ...props
209
+ }) {
210
+ return /* @__PURE__ */ jsxRuntime.jsx(
211
+ DropdownMenuPrimitive__namespace.SubContent,
212
+ {
213
+ "data-slot": "dropdown-menu-sub-content",
214
+ className: chunkADIDI7AJ_js.cn(
215
+ "bg-popover text-popover-foreground data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 z-50 min-w-32 overflow-hidden rounded-box border p-1 shadow-lg",
216
+ className
217
+ ),
218
+ ...props
219
+ }
220
+ );
221
+ }
222
+ function DropdownMenuShortcut({
223
+ className,
224
+ ...props
225
+ }) {
226
+ return /* @__PURE__ */ jsxRuntime.jsx(
227
+ "span",
228
+ {
229
+ "data-slot": "dropdown-menu-shortcut",
230
+ className: chunkADIDI7AJ_js.cn("ml-auto text-xs tracking-widest opacity-60", className),
231
+ ...props
232
+ }
233
+ );
234
+ }
235
+
236
+ exports.DropdownMenu = DropdownMenu;
237
+ exports.DropdownMenuCheckboxItem = DropdownMenuCheckboxItem;
238
+ exports.DropdownMenuContent = DropdownMenuContent;
239
+ exports.DropdownMenuGroup = DropdownMenuGroup;
240
+ exports.DropdownMenuItem = DropdownMenuItem;
241
+ exports.DropdownMenuLabel = DropdownMenuLabel;
242
+ exports.DropdownMenuPortal = DropdownMenuPortal;
243
+ exports.DropdownMenuRadioGroup = DropdownMenuRadioGroup;
244
+ exports.DropdownMenuRadioItem = DropdownMenuRadioItem;
245
+ exports.DropdownMenuSeparator = DropdownMenuSeparator;
246
+ exports.DropdownMenuShortcut = DropdownMenuShortcut;
247
+ exports.DropdownMenuSub = DropdownMenuSub;
248
+ exports.DropdownMenuSubContent = DropdownMenuSubContent;
249
+ exports.DropdownMenuSubTrigger = DropdownMenuSubTrigger;
250
+ exports.DropdownMenuTrigger = DropdownMenuTrigger;
@@ -0,0 +1,28 @@
1
+ 'use strict';
2
+
3
+ // src/blocks/marketing/aceternity/shared.ts
4
+ var sectionPaddingClasses = {
5
+ sm: "py-12 md:py-16",
6
+ md: "py-16 md:py-24",
7
+ lg: "py-20 md:py-28"
8
+ };
9
+ var sectionToneClasses = {
10
+ default: "bg-background",
11
+ muted: "bg-muted/30",
12
+ accent: "bg-accent/10"
13
+ };
14
+ function cx(...values) {
15
+ return values.filter(Boolean).join(" ");
16
+ }
17
+ function clamp(value, min, max) {
18
+ return Math.min(Math.max(value, min), max);
19
+ }
20
+ function hasWindow() {
21
+ return typeof window !== "undefined";
22
+ }
23
+
24
+ exports.clamp = clamp;
25
+ exports.cx = cx;
26
+ exports.hasWindow = hasWindow;
27
+ exports.sectionPaddingClasses = sectionPaddingClasses;
28
+ exports.sectionToneClasses = sectionToneClasses;