@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,155 @@
1
+ import { cn } from './chunk-IMKLN273.mjs';
2
+ import * as DialogPrimitive from '@radix-ui/react-dialog';
3
+ import { X } from 'lucide-react';
4
+ import { jsx, jsxs } from 'react/jsx-runtime';
5
+
6
+ function Dialog({
7
+ ...props
8
+ }) {
9
+ return /* @__PURE__ */ jsx(DialogPrimitive.Root, { "data-slot": "dialog", ...props });
10
+ }
11
+ function DialogTrigger({
12
+ ...props
13
+ }) {
14
+ return /* @__PURE__ */ jsx(DialogPrimitive.Trigger, { "data-slot": "dialog-trigger", ...props });
15
+ }
16
+ function DialogPortal({
17
+ ...props
18
+ }) {
19
+ return /* @__PURE__ */ jsx(DialogPrimitive.Portal, { "data-slot": "dialog-portal", ...props });
20
+ }
21
+ function DialogClose({
22
+ ...props
23
+ }) {
24
+ return /* @__PURE__ */ jsx(DialogPrimitive.Close, { "data-slot": "dialog-close", ...props });
25
+ }
26
+ function DialogOverlay({
27
+ className,
28
+ ...props
29
+ }) {
30
+ return /* @__PURE__ */ jsx(
31
+ DialogPrimitive.Overlay,
32
+ {
33
+ "data-slot": "dialog-overlay",
34
+ className: cn(
35
+ "fixed inset-0 z-50 bg-black/50 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0",
36
+ className
37
+ ),
38
+ ...props
39
+ }
40
+ );
41
+ }
42
+ function DialogContent({
43
+ className,
44
+ children,
45
+ onInteractOutside,
46
+ ...props
47
+ }) {
48
+ const handleInteractOutside = (event) => {
49
+ const target = event.target;
50
+ const isAiAssistant = target.closest("[data-ai-assistant]");
51
+ if (isAiAssistant) {
52
+ event.preventDefault();
53
+ return;
54
+ }
55
+ const isPasswordManager = (
56
+ // 1Password
57
+ target.closest("[data-1p-hint]") || target.closest('[class*="com-1password"]') || target.tagName === "COM-1PASSWORD-BUTTON" || target.closest("com-1password-button") || target.closest('[class*="1password"]') || // LastPass
58
+ target.closest('[class*="lastpass"]') || target.closest("[data-lpignore]") || target.closest('[id*="lastpass"]') || // Bitwarden
59
+ target.closest('[class*="bit-"]') || target.closest('[class*="bitwarden"]') || // Dashlane
60
+ target.closest('[class*="dashlane"]') || target.closest("[data-dashlane]") || // Keeper
61
+ target.closest('[class*="keeper"]') || // NordPass
62
+ target.closest('[class*="nordpass"]') || // RoboForm
63
+ target.closest('[class*="roboform"]') || // Chrome/Edge built-in password manager
64
+ target.closest('[class*="credential"]') || target.closest("[data-credentials-form]") || // Safari password manager
65
+ target.closest('[class*="password-assistant"]') || // Firefox password manager
66
+ target.closest('[class*="ac-popup"]') || // Generic autofill detection
67
+ target.closest('[class*="autofill"]') || target.closest("[data-autofill]")
68
+ );
69
+ if (isPasswordManager) {
70
+ event.preventDefault();
71
+ return;
72
+ }
73
+ onInteractOutside?.(event);
74
+ };
75
+ return /* @__PURE__ */ jsxs(DialogPortal, { children: [
76
+ /* @__PURE__ */ jsx(DialogOverlay, {}),
77
+ /* @__PURE__ */ jsx("div", { className: "fixed inset-0 z-50 flex items-center justify-center pointer-events-none", children: /* @__PURE__ */ jsxs(
78
+ DialogPrimitive.Content,
79
+ {
80
+ "data-slot": "dialog-content",
81
+ className: cn(
82
+ // focus:outline-none removes the browser focus ring when dialog opens via keyboard
83
+ "relative pointer-events-auto grid w-full max-w-lg gap-4 border bg-background p-6 shadow-lg duration-200 focus:outline-none 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-[state=closed]:slide-out-to-top-[2%] data-[state=open]:slide-in-from-top-[2%] sm:rounded-box",
84
+ className
85
+ ),
86
+ onInteractOutside: handleInteractOutside,
87
+ ...props,
88
+ children: [
89
+ children,
90
+ /* @__PURE__ */ jsxs(DialogPrimitive.Close, { className: "absolute right-4 top-4 rounded-sm opacity-70 ring-offset-background transition-opacity hover:opacity-100 focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:pointer-events-none data-[state=open]:bg-accent data-[state=open]:text-muted-foreground", children: [
91
+ /* @__PURE__ */ jsx(X, { className: "h-4 w-4" }),
92
+ /* @__PURE__ */ jsx("span", { className: "sr-only", children: "Close" })
93
+ ] })
94
+ ]
95
+ }
96
+ ) })
97
+ ] });
98
+ }
99
+ function DialogHeader({ className, ...props }) {
100
+ return /* @__PURE__ */ jsx(
101
+ "div",
102
+ {
103
+ "data-slot": "dialog-header",
104
+ className: cn(
105
+ "flex flex-col space-y-1.5 text-center sm:text-left",
106
+ className
107
+ ),
108
+ ...props
109
+ }
110
+ );
111
+ }
112
+ function DialogFooter({ className, ...props }) {
113
+ return /* @__PURE__ */ jsx(
114
+ "div",
115
+ {
116
+ "data-slot": "dialog-footer",
117
+ className: cn(
118
+ "flex flex-col-reverse sm:flex-row sm:justify-end sm:space-x-2",
119
+ className
120
+ ),
121
+ ...props
122
+ }
123
+ );
124
+ }
125
+ function DialogTitle({
126
+ className,
127
+ ...props
128
+ }) {
129
+ return /* @__PURE__ */ jsx(
130
+ DialogPrimitive.Title,
131
+ {
132
+ "data-slot": "dialog-title",
133
+ className: cn(
134
+ "text-lg font-semibold leading-none tracking-tight",
135
+ className
136
+ ),
137
+ ...props
138
+ }
139
+ );
140
+ }
141
+ function DialogDescription({
142
+ className,
143
+ ...props
144
+ }) {
145
+ return /* @__PURE__ */ jsx(
146
+ DialogPrimitive.Description,
147
+ {
148
+ "data-slot": "dialog-description",
149
+ className: cn("text-sm text-muted-foreground", className),
150
+ ...props
151
+ }
152
+ );
153
+ }
154
+
155
+ export { Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger };
@@ -0,0 +1,164 @@
1
+ import { cn } from './chunk-IMKLN273.mjs';
2
+ import * as SelectPrimitive from '@radix-ui/react-select';
3
+ import { ChevronDownIcon, CheckIcon, ChevronUpIcon } from 'lucide-react';
4
+ import { jsx, jsxs } from 'react/jsx-runtime';
5
+
6
+ function Select({
7
+ ...props
8
+ }) {
9
+ return /* @__PURE__ */ jsx(SelectPrimitive.Root, { "data-slot": "select", ...props });
10
+ }
11
+ function SelectGroup({
12
+ ...props
13
+ }) {
14
+ return /* @__PURE__ */ jsx(SelectPrimitive.Group, { "data-slot": "select-group", ...props });
15
+ }
16
+ function SelectValue({
17
+ ...props
18
+ }) {
19
+ return /* @__PURE__ */ jsx(SelectPrimitive.Value, { "data-slot": "select-value", ...props });
20
+ }
21
+ function SelectTrigger({
22
+ className,
23
+ size = "default",
24
+ variant = "default",
25
+ children,
26
+ ...props
27
+ }) {
28
+ return /* @__PURE__ */ jsxs(
29
+ SelectPrimitive.Trigger,
30
+ {
31
+ "data-slot": "select-trigger",
32
+ "data-size": size,
33
+ className: cn(
34
+ "data-placeholder:text-muted-foreground focus-visible:ring-ring/50 aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive flex w-fit items-center justify-between gap-2 rounded-box px-3 py-2 text-sm whitespace-nowrap transition-[color,box-shadow] outline-none focus-visible:ring-[3px] disabled:cursor-not-allowed disabled:opacity-50 data-[size=default]:h-9 data-[size=sm]:h-8 *:data-[slot=select-value]:line-clamp-1 *:data-[slot=select-value]:flex *:data-[slot=select-value]:items-center *:data-[slot=select-value]:gap-2 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",
35
+ variant === "ghost" ? "border-none bg-transparent shadow-none hover:bg-accent hover:text-accent-foreground focus-visible:ring-0 [&_svg]:text-current [&_svg]:opacity-100" : "[&_svg:not([class*='text-'])]:text-muted-foreground border-input focus-visible:border-ring dark:bg-input/30 dark:hover:bg-input/50 border bg-transparent shadow-xs",
36
+ className
37
+ ),
38
+ ...props,
39
+ children: [
40
+ children,
41
+ /* @__PURE__ */ jsx(SelectPrimitive.Icon, { asChild: true, children: /* @__PURE__ */ jsx(ChevronDownIcon, { className: "size-4" }) })
42
+ ]
43
+ }
44
+ );
45
+ }
46
+ function SelectContent({
47
+ className,
48
+ children,
49
+ position = "popper",
50
+ align = "start",
51
+ ...props
52
+ }) {
53
+ return /* @__PURE__ */ jsx(SelectPrimitive.Portal, { children: /* @__PURE__ */ jsxs(
54
+ SelectPrimitive.Content,
55
+ {
56
+ "data-slot": "select-content",
57
+ className: cn(
58
+ "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 relative z-50 max-h-(--radix-select-content-available-height) min-w-32 origin-(--radix-select-content-transform-origin) overflow-x-hidden overflow-y-auto rounded-box border shadow-md",
59
+ position === "popper" && "data-[side=bottom]:translate-y-1 data-[side=left]:-translate-x-1 data-[side=right]:translate-x-1 data-[side=top]:-translate-y-1",
60
+ className
61
+ ),
62
+ position,
63
+ align,
64
+ ...props,
65
+ children: [
66
+ /* @__PURE__ */ jsx(SelectScrollUpButton, {}),
67
+ /* @__PURE__ */ jsx(
68
+ SelectPrimitive.Viewport,
69
+ {
70
+ className: cn(
71
+ "p-1",
72
+ position === "popper" && "h-(--radix-select-trigger-height) w-full min-w-(--radix-select-trigger-width) scroll-my-1"
73
+ ),
74
+ children
75
+ }
76
+ ),
77
+ /* @__PURE__ */ jsx(SelectScrollDownButton, {})
78
+ ]
79
+ }
80
+ ) });
81
+ }
82
+ function SelectLabel({
83
+ className,
84
+ ...props
85
+ }) {
86
+ return /* @__PURE__ */ jsx(
87
+ SelectPrimitive.Label,
88
+ {
89
+ "data-slot": "select-label",
90
+ className: cn("text-muted-foreground px-2 py-1.5 text-xs", className),
91
+ ...props
92
+ }
93
+ );
94
+ }
95
+ function SelectItem({
96
+ className,
97
+ children,
98
+ ...props
99
+ }) {
100
+ return /* @__PURE__ */ jsxs(
101
+ SelectPrimitive.Item,
102
+ {
103
+ "data-slot": "select-item",
104
+ className: cn(
105
+ "focus:bg-accent focus:text-accent-foreground [&_svg:not([class*='text-'])]:text-muted-foreground relative flex w-full cursor-default items-center gap-2 rounded-sm py-1.5 pr-8 pl-2 text-sm outline-hidden select-none data-disabled:pointer-events-none data-disabled:opacity-50 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4 *:[span]:last:flex *:[span]:last:items-center *:[span]:last:gap-2",
106
+ className
107
+ ),
108
+ ...props,
109
+ children: [
110
+ /* @__PURE__ */ jsx("span", { className: "absolute right-2 flex size-3.5 items-center justify-center", children: /* @__PURE__ */ jsx(SelectPrimitive.ItemIndicator, { children: /* @__PURE__ */ jsx(CheckIcon, { className: "size-4" }) }) }),
111
+ /* @__PURE__ */ jsx(SelectPrimitive.ItemText, { children })
112
+ ]
113
+ }
114
+ );
115
+ }
116
+ function SelectSeparator({
117
+ className,
118
+ ...props
119
+ }) {
120
+ return /* @__PURE__ */ jsx(
121
+ SelectPrimitive.Separator,
122
+ {
123
+ "data-slot": "select-separator",
124
+ className: cn("bg-border pointer-events-none -mx-1 my-1 h-px", className),
125
+ ...props
126
+ }
127
+ );
128
+ }
129
+ function SelectScrollUpButton({
130
+ className,
131
+ ...props
132
+ }) {
133
+ return /* @__PURE__ */ jsx(
134
+ SelectPrimitive.ScrollUpButton,
135
+ {
136
+ "data-slot": "select-scroll-up-button",
137
+ className: cn(
138
+ "flex cursor-default items-center justify-center py-1",
139
+ className
140
+ ),
141
+ ...props,
142
+ children: /* @__PURE__ */ jsx(ChevronUpIcon, { className: "size-4" })
143
+ }
144
+ );
145
+ }
146
+ function SelectScrollDownButton({
147
+ className,
148
+ ...props
149
+ }) {
150
+ return /* @__PURE__ */ jsx(
151
+ SelectPrimitive.ScrollDownButton,
152
+ {
153
+ "data-slot": "select-scroll-down-button",
154
+ className: cn(
155
+ "flex cursor-default items-center justify-center py-1",
156
+ className
157
+ ),
158
+ ...props,
159
+ children: /* @__PURE__ */ jsx(ChevronDownIcon, { className: "size-4" })
160
+ }
161
+ );
162
+ }
163
+
164
+ export { Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, SelectValue };