@flikk/ui 1.0.0-beta.24 → 1.0.0-beta.26

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 (135) hide show
  1. package/dist/components/ai/CodeBlock/CodeBlock.theme.js +2 -2
  2. package/dist/components/ai/PromptInput/PromptInput.js +1 -0
  3. package/dist/components/ai/PromptInput/VoiceRecorder.js +1 -0
  4. package/dist/components/ai/StreamingResponse/MarkdownRenderer.js +1 -1
  5. package/dist/components/ai/TokenCounter/TokenCounter.theme.js +1 -1
  6. package/dist/components/charts/BarChart/BarChart.js +2 -2
  7. package/dist/components/charts/StackedBarChart/StackedBarChart.js +1 -1
  8. package/dist/components/charts/shared/BarRenderer/BarRenderer.js +2 -2
  9. package/dist/components/core/Accordion/Accordion.theme.js +2 -2
  10. package/dist/components/core/Breadcrumbs/Breadcrumbs.js +1 -1
  11. package/dist/components/core/Breadcrumbs/Breadcrumbs.theme.js +2 -2
  12. package/dist/components/core/Button/Button.js +1 -1
  13. package/dist/components/core/Button/Button.theme.js +4 -4
  14. package/dist/components/core/Calendar/Calendar.js +1 -1
  15. package/dist/components/core/Calendar/CalendarMini/CalendarMini.js +4 -2
  16. package/dist/components/core/Calendar/CalendarMini/CalendarMini.theme.js +2 -2
  17. package/dist/components/core/ContextMenu/ContextMenu.theme.js +1 -1
  18. package/dist/components/core/Drawer/Drawer.theme.js +2 -2
  19. package/dist/components/core/Dropdown/Dropdown.theme.js +2 -2
  20. package/dist/components/core/Empty/Empty.js +1 -1
  21. package/dist/components/core/Empty/Empty.theme.js +1 -1
  22. package/dist/components/core/ImagePlaceholder/ImagePlaceholder.d.ts +14 -0
  23. package/dist/components/core/ImagePlaceholder/ImagePlaceholder.js +28 -0
  24. package/dist/components/core/ImagePlaceholder/ImagePlaceholder.theme.d.ts +6 -0
  25. package/dist/components/core/ImagePlaceholder/ImagePlaceholder.theme.js +8 -0
  26. package/dist/components/core/ImagePlaceholder/ImagePlaceholder.types.d.ts +32 -0
  27. package/dist/components/core/ImagePlaceholder/index.d.ts +2 -0
  28. package/dist/components/core/Link/Link.js +1 -1
  29. package/dist/components/core/Message/Message.theme.js +1 -1
  30. package/dist/components/core/Modal/Modal.theme.js +1 -1
  31. package/dist/components/core/NavItem/NavItem.d.ts +1 -1
  32. package/dist/components/core/NavItem/NavItem.js +171 -68
  33. package/dist/components/core/NavItem/NavItem.theme.js +20 -12
  34. package/dist/components/core/NavItem/NavItem.types.d.ts +17 -39
  35. package/dist/components/core/Pagination/Pagination.theme.js +3 -3
  36. package/dist/components/core/Popover/Popover.theme.js +1 -1
  37. package/dist/components/core/Progress/Progress.theme.js +1 -1
  38. package/dist/components/core/ScrollArea/ScrollArea.js +2 -2
  39. package/dist/components/core/ScrollArea/ScrollArea.theme.js +1 -1
  40. package/dist/components/core/Segmented/Segmented.js +8 -6
  41. package/dist/components/core/Segmented/Segmented.theme.js +3 -3
  42. package/dist/components/core/Sidebar/Sidebar.d.ts +1 -1
  43. package/dist/components/core/Sidebar/Sidebar.js +42 -13
  44. package/dist/components/core/Sidebar/Sidebar.theme.js +5 -7
  45. package/dist/components/core/Sidebar/Sidebar.types.d.ts +33 -4
  46. package/dist/components/core/Sidebar/SidebarContent.js +6 -6
  47. package/dist/components/core/Sidebar/SidebarContext.d.ts +17 -16
  48. package/dist/components/core/Sidebar/SidebarContext.js +42 -19
  49. package/dist/components/core/Sidebar/SidebarFooter.js +4 -6
  50. package/dist/components/core/Sidebar/SidebarHeader.js +4 -9
  51. package/dist/components/core/Sidebar/SidebarLogo.js +3 -7
  52. package/dist/components/core/Sidebar/SidebarNav.js +4 -3
  53. package/dist/components/core/Sidebar/SidebarNavGroup.js +4 -7
  54. package/dist/components/core/Sidebar/SidebarToggle.js +6 -1
  55. package/dist/components/core/Sidebar/SidebarUserProfile.js +33 -17
  56. package/dist/components/core/Sidebar/index.d.ts +2 -3
  57. package/dist/components/core/Skeleton/Skeleton.theme.js +1 -1
  58. package/dist/components/core/Spinner/Spinner.theme.js +1 -1
  59. package/dist/components/core/Tabs/Tabs.js +6 -1
  60. package/dist/components/core/Tabs/Tabs.types.d.ts +2 -0
  61. package/dist/components/core/Tabs/TabsBody.js +5 -3
  62. package/dist/components/core/Tag/Tag.theme.js +1 -1
  63. package/dist/components/core/index.d.ts +1 -0
  64. package/dist/components/core/index.js +2 -2
  65. package/dist/components/data-display/GanttChart/GanttTableGroupRow.js +1 -1
  66. package/dist/components/data-display/KPI/KPI.js +13 -3
  67. package/dist/components/data-display/KPI/KPI.theme.js +3 -3
  68. package/dist/components/data-display/Metric/Metric.theme.js +3 -3
  69. package/dist/components/data-display/Table/Table.js +4 -3
  70. package/dist/components/data-display/Table/Table.theme.js +11 -1
  71. package/dist/components/data-display/Table/Table.types.d.ts +15 -0
  72. package/dist/components/data-display/Table/TableColumnManager.js +1 -1
  73. package/dist/components/data-display/Table/index.d.ts +2 -2
  74. package/dist/components/data-display/Timeline/Timeline.animations.d.ts +0 -7
  75. package/dist/components/data-display/Timeline/Timeline.animations.js +1 -27
  76. package/dist/components/data-display/Timeline/Timeline.js +3 -4
  77. package/dist/components/data-display/Timeline/Timeline.types.d.ts +0 -13
  78. package/dist/components/data-display/Timeline/TimelineContent.js +3 -7
  79. package/dist/components/data-display/Timeline/TimelineItem.js +4 -17
  80. package/dist/components/data-display/Timeline/index.d.ts +2 -2
  81. package/dist/components/effects/Aurora/Aurora.js +79 -40
  82. package/dist/components/effects/InteractiveCharacters/InteractiveCharacters.js +3 -3
  83. package/dist/components/effects/InteractiveCharacters/characters/BlobCharacter.js +13 -4
  84. package/dist/components/effects/InteractiveCharacters/characters/SmallCharacter.js +13 -4
  85. package/dist/components/effects/InteractiveCharacters/characters/TallCharacter.js +14 -4
  86. package/dist/components/effects/MorphingText/MorphingText.js +40 -7
  87. package/dist/components/effects/StripePattern/StripePattern.d.ts +18 -0
  88. package/dist/components/effects/StripePattern/StripePattern.js +54 -0
  89. package/dist/components/effects/StripePattern/StripePattern.types.d.ts +53 -0
  90. package/dist/components/effects/StripePattern/index.d.ts +2 -0
  91. package/dist/components/effects/index.d.ts +9 -0
  92. package/dist/components/effects/index.js +4 -0
  93. package/dist/components/forms/Checkbox/Checkbox.theme.js +1 -1
  94. package/dist/components/forms/CronInput/CronInput.theme.js +16 -16
  95. package/dist/components/forms/DatePicker/DatePickerTrigger.js +1 -1
  96. package/dist/components/forms/DateRangePicker/DateRangePicker.theme.js +1 -1
  97. package/dist/components/forms/DateRangePicker/DateRangePickerTrigger.js +1 -1
  98. package/dist/components/forms/FileUpload/FileUpload.js +1 -1
  99. package/dist/components/forms/FileUpload/FileUploadProgress.js +27 -20
  100. package/dist/components/forms/FileUpload/FileUploadProgress.theme.js +2 -2
  101. package/dist/components/forms/Input/Input.theme.js +9 -11
  102. package/dist/components/forms/Mention/Mention.theme.js +3 -3
  103. package/dist/components/forms/Radio/Radio.theme.js +1 -1
  104. package/dist/components/forms/RichTextEditor/RichTextEditor.d.ts +18 -0
  105. package/dist/components/forms/RichTextEditor/RichTextEditor.js +1231 -236
  106. package/dist/components/forms/RichTextEditor/RichTextEditor.theme.d.ts +53 -1
  107. package/dist/components/forms/RichTextEditor/RichTextEditor.theme.js +99 -25
  108. package/dist/components/forms/RichTextEditor/RichTextEditor.types.d.ts +42 -3
  109. package/dist/components/forms/RichTextEditor/index.d.ts +2 -2
  110. package/dist/components/forms/Select/Select.js +2 -2
  111. package/dist/components/forms/Slider/Slider.theme.js +1 -1
  112. package/dist/components/forms/Switch/Switch.theme.js +1 -1
  113. package/dist/components/forms/TimePicker/TimePicker.theme.js +2 -2
  114. package/dist/components/forms/TimePicker/TimePickerContent.js +1 -0
  115. package/dist/components/forms/TimePicker/TimePickerTrigger.js +1 -1
  116. package/dist/components/forms/forms.theme.js +12 -12
  117. package/dist/components/forms/index.js +1 -0
  118. package/dist/components/layout/FormLayout/FormLayout.js +6 -4
  119. package/dist/components/layout/FormLayout/FormLayout.types.d.ts +3 -3
  120. package/dist/components/layout/FormLayout/FormLayoutSection.js +6 -1
  121. package/dist/components/layout/PageLayout/PageLayout.d.ts +2 -2
  122. package/dist/components/layout/PageLayout/PageLayout.js +23 -5
  123. package/dist/components/layout/PageLayout/PageLayout.theme.d.ts +2 -1
  124. package/dist/components/layout/PageLayout/PageLayout.theme.js +35 -6
  125. package/dist/components/layout/PageLayout/PageLayout.types.d.ts +45 -0
  126. package/dist/components/layout/PageLayout/PageLayoutContent.js +6 -4
  127. package/dist/components/layout/PageLayout/PageLayoutHeader.js +3 -3
  128. package/dist/components/layout/PageLayout/PageLayoutSidebar.js +5 -3
  129. package/dist/components/layout/PageLayout/index.d.ts +1 -1
  130. package/dist/index.js +2 -2
  131. package/dist/styles.css +1 -1
  132. package/package.json +1 -1
  133. package/src/styles/theme.css +127 -92
  134. package/dist/components/core/Sidebar/SidebarSubmenu.d.ts +0 -7
  135. package/dist/components/core/Sidebar/SidebarSubmenu.js +0 -12
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@flikk/ui",
3
- "version": "1.0.0-beta.24",
3
+ "version": "1.0.0-beta.26",
4
4
  "description": "A modern React component library built with TypeScript, Tailwind CSS v4, and Framer Motion. Follows the shadcn philosophy with complete className override support.",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",
@@ -88,12 +88,23 @@
88
88
  --color-text-inverse: var(--color-neutral-50);
89
89
 
90
90
  /* generic colors */
91
- --color-border: oklch(90% 0 0);
91
+ --color-border: oklch(93% 0 0);
92
92
  --color-border-secondary: oklch(87% 0 0);
93
+ /* Surface elevation ladder: surface-sunken < background (floor) < surface < surface-raised < surface-overlay.
94
+ In light mode raised surfaces are ~white (elevation via shadow + border); sunken is recessed below the floor. */
95
+ --color-surface-sunken: oklch(94% 0 0);
93
96
  --color-surface: oklch(100% 0 0);
97
+ --color-surface-raised: oklch(100% 0 0);
98
+ --color-surface-overlay: oklch(100% 0 0);
99
+ /* Interaction fill (the one tokenized state): translucent tint so it composites correctly
100
+ over ANY surface level — darkens in light, lightens in dark. For hover/active highlights. */
101
+ --color-surface-hover: oklch(0% 0 0 / 0.05);
94
102
  --color-chart-track: rgba(0, 0, 0, 0.06);
95
103
  --color-background: oklch(98.5% 0.002 247.839);
96
- --color-background-secondary: oklch(98.5% 0 0);
104
+ /* DEPRECATED (remove next major): alias of --color-surface. Use the surface ladder. */
105
+ --color-background-secondary: var(--color-surface);
106
+ /* DEPRECATED (remove next major): recessed/subtle fills. Migrate per-usage to --color-surface-sunken
107
+ (dark values below are inverted vs. a correct sunken token, so no blind alias). */
97
108
  --color-background-tertiary: oklch(90% 0.002 247.839);
98
109
  --color-background-quaternary: oklch(85% 0.002 247.839);
99
110
  --color-background-quinary: oklch(80% 0.002 247.839);
@@ -122,26 +133,37 @@
122
133
  --font-weight-extrabold: 800;
123
134
 
124
135
  /* Form element variables — fixed px so they don't scale with root font-size */
125
- --form-min-h-sm: 32px; /* h-8 in Tailwind */
126
- --form-min-h-md: 40px; /* h-10 in Tailwind */
127
- --form-min-h-lg: 48px; /* h-12 in Tailwind */
128
-
129
- --form-label-pb: 8px; /* pb-2 in Tailwind */
130
-
131
- --form-px-sm: 12px; /* px-3 in Tailwind */
132
- --form-px-md: 14px; /* px-3.5 in Tailwind */
133
- --form-px-lg: 16px; /* px-4 in Tailwind */
134
-
135
- --form-py-sm: 8px; /* py-1 in Tailwind */
136
- --form-py-md: 10px; /* py-2 in Tailwind */
137
- --form-py-lg: 12px; /* py-3 in Tailwind */
136
+ --form-min-h-sm: 32px;
137
+ /* h-8 in Tailwind */
138
+ --form-min-h-md: 40px;
139
+ /* h-10 in Tailwind */
140
+ --form-min-h-lg: 48px;
141
+ /* h-12 in Tailwind */
142
+
143
+ --form-label-pb: 8px;
144
+ /* pb-2 in Tailwind */
145
+
146
+ --form-px-sm: 12px;
147
+ /* px-3 in Tailwind */
148
+ --form-px-md: 14px;
149
+ /* px-3.5 in Tailwind */
150
+ --form-px-lg: 16px;
151
+ /* px-4 in Tailwind */
152
+
153
+ --form-py-sm: 8px;
154
+ /* py-1 in Tailwind */
155
+ --form-py-md: 10px;
156
+ /* py-2 in Tailwind */
157
+ --form-py-lg: 12px;
158
+ /* py-3 in Tailwind */
138
159
 
139
160
  /* ============================================
140
161
  BORDER RADIUS SYSTEM
141
162
  Change --radius-base to adjust the entire UI.
142
163
  Individual --*-radius variables can be overridden independently.
143
164
  ============================================ */
144
- --radius-base: 8px; /* Base radius token */
165
+ --radius-base: 8px;
166
+ /* Base radius token */
145
167
 
146
168
  /* Forms & Controls (1x base = 8px) */
147
169
  --form-radius: var(--radius-base);
@@ -208,14 +230,21 @@
208
230
  --segmented-min-h-lg: var(--form-min-h-lg);
209
231
 
210
232
  /* Segmented padding */
211
- --segmented-px-sm: var(--form-px-sm);
212
- --segmented-px-md: var(--form-px-md);
213
- --segmented-px-lg: var(--form-px-lg);
233
+ --segmented-px-sm: 8px;
234
+ --segmented-px-md: 10px;
235
+ --segmented-px-lg: 12px;
214
236
 
215
237
  --segmented-py-sm: var(--form-py-sm);
216
238
  --segmented-py-md: var(--form-py-md);
217
239
  --segmented-py-lg: var(--form-py-lg);
218
240
 
241
+ /* Segmented inner offset — drives wrapper padding AND inner radius so
242
+ the sliding background + items stay concentric with the outer shell.
243
+ border (1px) + padding (--segmented-padding) = total inset. */
244
+ --segmented-padding: 0.125rem;
245
+ /* 2px */
246
+ --segmented-inner-radius: calc(var(--segmented-radius) - var(--segmented-padding) - 1px);
247
+
219
248
  /* Segmented sliding background */
220
249
  --segmented-active-bg: #ffffff;
221
250
  --segmented-active-shadow:
@@ -227,39 +256,46 @@
227
256
  --glass-layer-inner-offset: 1.5px;
228
257
 
229
258
  /* Glass effect gradient variables */
230
- --glass-gradient-outer: linear-gradient(
231
- to bottom,
232
- rgba(250, 250, 250, 0.8) 0%,
233
- rgba(229, 229, 229, 0.8) 30%,
234
- rgba(242, 242, 242, 0.8) 70%,
235
- rgba(250, 250, 250, 0.8) 100%
236
- );
237
- --glass-gradient-inner: linear-gradient(
238
- to bottom,
239
- rgba(242, 242, 242, 0.8) 0%,
240
- rgba(250, 250, 250, 0.8) 100%
241
- );
259
+ --glass-gradient-outer: linear-gradient(to bottom,
260
+ rgba(250, 250, 250, 0.8) 0%,
261
+ rgba(229, 229, 229, 0.8) 30%,
262
+ rgba(242, 242, 242, 0.8) 70%,
263
+ rgba(250, 250, 250, 0.8) 100%);
264
+ --glass-gradient-inner: linear-gradient(to bottom,
265
+ rgba(242, 242, 242, 0.8) 0%,
266
+ rgba(250, 250, 250, 0.8) 100%);
242
267
 
243
268
  /* Chat message variables */
244
269
  --chat-bubble-border-sender: rgba(255, 255, 255, 0.4);
245
270
  --chat-bubble-border-receiver: rgba(255, 255, 255, 1);
246
271
 
247
272
  /* Avatar variables — fixed px */
248
- --avatar-size-xs: 24px; /* size-6 in Tailwind */
249
- --avatar-size-sm: 32px; /* size-8 in Tailwind */
250
- --avatar-size-md: 40px; /* size-10 in Tailwind */
251
- --avatar-size-lg: 48px; /* size-12 in Tailwind */
252
- --avatar-size-xl: 64px; /* size-16 in Tailwind */
273
+ --avatar-size-xs: 24px;
274
+ /* size-6 in Tailwind */
275
+ --avatar-size-sm: 32px;
276
+ /* size-8 in Tailwind */
277
+ --avatar-size-md: 40px;
278
+ /* size-10 in Tailwind */
279
+ --avatar-size-lg: 48px;
280
+ /* size-12 in Tailwind */
281
+ --avatar-size-xl: 64px;
282
+ /* size-16 in Tailwind */
253
283
 
254
284
  /* Avatar radius - now defined in radius system above */
255
285
 
256
286
  /* Carousel Variables */
257
- --carousel-container-width: 100%; /* Full width container */
258
- --carousel-slide-width: 66vw; /* Default slide width - can be overridden */
259
- --carousel-slide-height: 44rem; /* 384px = h-96 */
260
- --carousel-slide-gap: 16px; /* gap between slides */
261
- --carousel-controls-size: 48px; /* control button size */
262
- --carousel-controls-offset: 16px; /* distance from edge */
287
+ --carousel-container-width: 100%;
288
+ /* Full width container */
289
+ --carousel-slide-width: 66vw;
290
+ /* Default slide width - can be overridden */
291
+ --carousel-slide-height: 44rem;
292
+ /* 384px = h-96 */
293
+ --carousel-slide-gap: 16px;
294
+ /* gap between slides */
295
+ --carousel-controls-size: 48px;
296
+ /* control button size */
297
+ --carousel-controls-offset: 16px;
298
+ /* distance from edge */
263
299
 
264
300
  /* Popover variables - radius now defined in radius system above */
265
301
  --popover-shadow:
@@ -278,16 +314,20 @@
278
314
 
279
315
  /* NavItem variables */
280
316
  --nav-item-radius: var(--radius-base);
281
- --nav-item-min-h: 40px; /* h-10 in Tailwind */
317
+ --nav-item-min-h: 40px;
318
+ /* h-10 in Tailwind */
282
319
 
283
320
  /* NavItem padding — fixed px */
284
- --nav-item-px: 12px; /* px-3 in Tailwind */
285
- --nav-item-py: 10px; /* py-2.5 in Tailwind */
321
+ --nav-item-px: 12px;
322
+ /* px-3 in Tailwind */
323
+ --nav-item-py: 10px;
324
+ /* py-2.5 in Tailwind */
286
325
 
287
326
  /* Modal and Drawer */
288
327
  --overlay-bg: rgba(0, 0, 0, 0.65);
289
328
  --overlay-blur: 2px;
290
- --color-scale-background: oklch(0% 0 0); /* backdrop behind scaled content */
329
+ --color-scale-background: oklch(0% 0 0);
330
+ /* backdrop behind scaled content */
291
331
  /* Modal radius - now defined in radius system above */
292
332
 
293
333
  /* Shadow color presets for utility generation */
@@ -325,21 +365,17 @@
325
365
  inset -0.5px -0.5px 1px rgba(255, 255, 255, 0.4),
326
366
  inset -1px -1px 2px rgba(255, 255, 255, 0.3), 0 1px 2px rgba(0, 0, 0, 0.06),
327
367
  0 2px 4px rgba(0, 0, 0, 0.04);
328
- --neu-raised-border: linear-gradient(
329
- 145deg,
330
- rgba(255, 255, 255, 0.7) 0%,
331
- rgba(255, 255, 255, 0.35) 30%,
332
- transparent 50%,
333
- rgba(0, 0, 0, 0.06) 100%
334
- );
335
- --neu-inset-border: linear-gradient(
336
- 180deg,
337
- rgba(0, 0, 0, 0.1) 0%,
338
- rgba(0, 0, 0, 0.04) 25%,
339
- rgba(255, 255, 255, 0.15) 50%,
340
- rgba(255, 255, 255, 0.35) 75%,
341
- rgba(255, 255, 255, 0.5) 100%
342
- );
368
+ --neu-raised-border: linear-gradient(145deg,
369
+ rgba(255, 255, 255, 0.7) 0%,
370
+ rgba(255, 255, 255, 0.35) 30%,
371
+ transparent 50%,
372
+ rgba(0, 0, 0, 0.06) 100%);
373
+ --neu-inset-border: linear-gradient(180deg,
374
+ rgba(0, 0, 0, 0.1) 0%,
375
+ rgba(0, 0, 0, 0.04) 25%,
376
+ rgba(255, 255, 255, 0.15) 50%,
377
+ rgba(255, 255, 255, 0.35) 75%,
378
+ rgba(255, 255, 255, 0.5) 100%);
343
379
  }
344
380
 
345
381
  /* ============================================
@@ -360,7 +396,7 @@
360
396
  --color-text-primary: var(--color-neutral-50);
361
397
  --color-text-secondary: var(--color-neutral-400);
362
398
  --color-text-placeholder: var(--color-neutral-600);
363
- --color-text-muted: var(--color-neutral-500);
399
+ --color-text-muted: var(--color-neutral-600);
364
400
  --color-text-disabled: var(--color-neutral-400);
365
401
  --color-text-inverse: var(--color-neutral-950);
366
402
 
@@ -379,9 +415,16 @@
379
415
  --color-secondary-contrast: var(--color-neutral-50);
380
416
 
381
417
  /* Background colors - dark equivalents */
382
- --color-surface: oklch(14.5% 0 0);
418
+ /* Surface elevation ladder: sunken sits below the floor; surface levels ascend so each reads as raised. */
419
+ --color-surface-sunken: oklch(13% 0 0);
420
+ --color-surface: oklch(18% 0 0);
421
+ --color-surface-raised: oklch(22% 0 0);
422
+ --color-surface-overlay: oklch(25% 0 0);
423
+ --color-surface-hover: oklch(100% 0 0 / 0.07);
383
424
  --color-background: oklch(14.5% 0 0);
384
- --color-background-secondary: oklch(18% 0 0);
425
+ /* DEPRECATED (remove next major): alias of --color-surface. */
426
+ --color-background-secondary: var(--color-surface);
427
+ /* DEPRECATED (remove next major): migrate per-usage to --color-surface-sunken / surface ladder. */
385
428
  --color-background-tertiary: oklch(22% 0 0);
386
429
  --color-background-quaternary: oklch(26% 0 0);
387
430
  --color-background-quinary: oklch(30% 0 0);
@@ -396,18 +439,14 @@
396
439
  --color-chart-track: rgba(255, 255, 255, 0.05);
397
440
 
398
441
  /* Glass effect gradients - dark mode */
399
- --glass-gradient-outer: linear-gradient(
400
- 135deg,
401
- var(--color-background-tertiary) 0%,
402
- var(--color-background-secondary) 30%,
403
- var(--color-background) 70%,
404
- var(--color-background-tertiary) 100%
405
- );
406
- --glass-gradient-inner: linear-gradient(
407
- to bottom,
408
- var(--color-background-secondary) 0%,
409
- var(--color-background) 100%
410
- );
442
+ --glass-gradient-outer: linear-gradient(135deg,
443
+ var(--color-background-tertiary) 0%,
444
+ var(--color-background-secondary) 30%,
445
+ var(--color-background) 70%,
446
+ var(--color-background-tertiary) 100%);
447
+ --glass-gradient-inner: linear-gradient(to bottom,
448
+ var(--color-background-secondary) 0%,
449
+ var(--color-background) 100%);
411
450
 
412
451
  /* Scrollbar - dark mode */
413
452
  --ui-scrollbar-thumb-rest: rgba(75, 85, 99, 0.3);
@@ -444,20 +483,16 @@
444
483
  inset -0.5px -0.5px 1px rgba(255, 255, 255, 0.04),
445
484
  inset -1px -1px 2px rgba(255, 255, 255, 0.03),
446
485
  0 1px 2px rgba(0, 0, 0, 0.25), 0 2px 4px rgba(0, 0, 0, 0.2);
447
- --neu-raised-border: linear-gradient(
448
- 145deg,
449
- rgba(255, 255, 255, 0.2) 0%,
450
- rgba(255, 255, 255, 0.08) 30%,
451
- transparent 50%,
452
- rgba(0, 0, 0, 0.12) 100%
453
- );
454
- --neu-inset-border: linear-gradient(
455
- 180deg,
456
- rgba(0, 0, 0, 0.4) 0%,
457
- rgba(0, 0, 0, 0.15) 25%,
458
- rgba(255, 255, 255, 0.03) 50%,
459
- rgba(255, 255, 255, 0.08) 75%,
460
- rgba(255, 255, 255, 0.12) 100%
461
- );
486
+ --neu-raised-border: linear-gradient(145deg,
487
+ rgba(255, 255, 255, 0.2) 0%,
488
+ rgba(255, 255, 255, 0.08) 30%,
489
+ transparent 50%,
490
+ rgba(0, 0, 0, 0.12) 100%);
491
+ --neu-inset-border: linear-gradient(180deg,
492
+ rgba(0, 0, 0, 0.4) 0%,
493
+ rgba(0, 0, 0, 0.15) 25%,
494
+ rgba(255, 255, 255, 0.03) 50%,
495
+ rgba(255, 255, 255, 0.08) 75%,
496
+ rgba(255, 255, 255, 0.12) 100%);
462
497
  }
463
- }
498
+ }
@@ -1,7 +0,0 @@
1
- import React from "react";
2
- export interface SidebarSubmenuProps {
3
- children: React.ReactNode;
4
- isOpen: boolean;
5
- className?: string;
6
- }
7
- export declare const SidebarSubmenu: ({ children, isOpen, className, }: SidebarSubmenuProps) => import("react/jsx-runtime").JSX.Element;
@@ -1,12 +0,0 @@
1
- import { jsx } from 'react/jsx-runtime';
2
- import { AnimatePresence, motion } from 'motion/react';
3
- import { cn } from '../../../utils/cn.js';
4
-
5
- const SidebarSubmenu = ({ children, isOpen, className, }) => {
6
- return (jsx(AnimatePresence, { initial: false, children: isOpen && (jsx(motion.div, { initial: "collapsed", animate: "open", exit: "collapsed", variants: {
7
- open: { opacity: 1, height: "auto" },
8
- collapsed: { opacity: 0, height: 0 },
9
- }, transition: { duration: 0.2, ease: "easeInOut" }, className: cn("overflow-hidden", className), children: children })) }));
10
- };
11
-
12
- export { SidebarSubmenu };