@shohojdhara/atomix 0.2.3 → 0.2.5

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 (225) hide show
  1. package/README.md +19 -0
  2. package/dist/atomix.css +1703 -1544
  3. package/dist/atomix.min.css +4 -4
  4. package/dist/index.d.ts +1465 -963
  5. package/dist/index.esm.js +16289 -25908
  6. package/dist/index.esm.js.map +1 -1
  7. package/dist/index.js +15650 -21780
  8. package/dist/index.js.map +1 -1
  9. package/dist/index.min.js +1 -1
  10. package/dist/index.min.js.map +1 -1
  11. package/dist/themes/applemix.css +15008 -0
  12. package/dist/themes/applemix.min.css +72 -0
  13. package/dist/themes/boomdevs.css +1608 -1450
  14. package/dist/themes/boomdevs.min.css +5 -5
  15. package/dist/themes/esrar.css +1702 -1543
  16. package/dist/themes/esrar.min.css +4 -4
  17. package/dist/themes/flashtrade.css +15159 -0
  18. package/dist/themes/flashtrade.min.css +86 -0
  19. package/dist/themes/mashroom.css +1699 -1540
  20. package/dist/themes/mashroom.min.css +7 -7
  21. package/dist/themes/shaj-default.css +1693 -1534
  22. package/dist/themes/shaj-default.min.css +4 -4
  23. package/package.json +6 -17
  24. package/src/components/Accordion/Accordion.stories.tsx +662 -21
  25. package/src/components/Accordion/Accordion.tsx +21 -14
  26. package/src/components/AtomixGlass/AtomixGlass.test.tsx +106 -72
  27. package/src/components/AtomixGlass/AtomixGlass.tsx +529 -1195
  28. package/src/components/AtomixGlass/AtomixGlassContainer.tsx +400 -0
  29. package/src/components/AtomixGlass/GlassFilter.tsx +156 -0
  30. package/src/components/AtomixGlass/README.md +124 -2
  31. package/src/components/AtomixGlass/atomixGLass.old.tsx +1266 -0
  32. package/src/components/AtomixGlass/glass-utils.ts +263 -0
  33. package/src/components/AtomixGlass/shader-utils.ts +792 -68
  34. package/src/components/AtomixGlass/stories/AtomixGlass.stories.tsx +1250 -0
  35. package/src/components/AtomixGlass/stories/Examples.stories.tsx +5768 -0
  36. package/src/components/AtomixGlass/stories/Modes.stories.tsx +1065 -0
  37. package/src/components/AtomixGlass/stories/Playground.stories.tsx +1129 -0
  38. package/src/components/AtomixGlass/stories/ShaderVariants.stories.tsx +395 -0
  39. package/src/components/AtomixGlass/stories/shared-components.tsx +301 -0
  40. package/src/components/AtomixGlass/utils.ts +3 -3
  41. package/src/components/Avatar/Avatar.tsx +3 -0
  42. package/src/components/Avatar/AvatarGroup.tsx +2 -1
  43. package/src/components/Badge/Badge.stories.tsx +76 -55
  44. package/src/components/Badge/Badge.tsx +12 -14
  45. package/src/components/Breadcrumb/Breadcrumb.tsx +23 -4
  46. package/src/components/Button/Button.stories.tsx +501 -20
  47. package/src/components/Button/Button.tsx +5 -8
  48. package/src/components/Callout/Callout.stories.tsx +86 -35
  49. package/src/components/Callout/Callout.tsx +31 -9
  50. package/src/components/Card/Card.stories.tsx +565 -2
  51. package/src/components/Card/Card.tsx +15 -4
  52. package/src/components/Card/ElevationCard.tsx +2 -0
  53. package/src/components/Chart/AnimatedChart.tsx +179 -156
  54. package/src/components/Chart/AreaChart.tsx +123 -12
  55. package/src/components/Chart/BarChart.tsx +91 -100
  56. package/src/components/Chart/BaseChart.tsx +80 -0
  57. package/src/components/Chart/BubbleChart.tsx +114 -290
  58. package/src/components/Chart/CandlestickChart.tsx +282 -622
  59. package/src/components/Chart/Chart.stories.tsx +576 -179
  60. package/src/components/Chart/Chart.tsx +374 -75
  61. package/src/components/Chart/ChartRenderer.tsx +371 -220
  62. package/src/components/Chart/ChartToolbar.tsx +372 -61
  63. package/src/components/Chart/ChartTooltip.tsx +33 -18
  64. package/src/components/Chart/DonutChart.tsx +172 -254
  65. package/src/components/Chart/FunnelChart.tsx +169 -240
  66. package/src/components/Chart/GaugeChart.tsx +224 -392
  67. package/src/components/Chart/HeatmapChart.tsx +302 -440
  68. package/src/components/Chart/LineChart.tsx +148 -103
  69. package/src/components/Chart/MultiAxisChart.tsx +267 -395
  70. package/src/components/Chart/PieChart.tsx +114 -64
  71. package/src/components/Chart/RadarChart.tsx +202 -218
  72. package/src/components/Chart/ScatterChart.tsx +111 -97
  73. package/src/components/Chart/TreemapChart.tsx +147 -222
  74. package/src/components/Chart/WaterfallChart.tsx +253 -291
  75. package/src/components/Chart/index.ts +11 -9
  76. package/src/components/Chart/types.ts +85 -9
  77. package/src/components/Chart/utils.ts +66 -0
  78. package/src/components/ColorModeToggle/ColorModeToggle.tsx +6 -3
  79. package/src/components/Countdown/Countdown.tsx +4 -0
  80. package/src/components/DataTable/DataTable.tsx +2 -1
  81. package/src/components/DatePicker/DatePicker.stories.tsx +689 -12
  82. package/src/components/DatePicker/DatePicker.tsx +3 -9
  83. package/src/components/DatePicker/types.ts +5 -0
  84. package/src/components/Dropdown/Dropdown.stories.tsx +32 -25
  85. package/src/components/Dropdown/Dropdown.tsx +26 -28
  86. package/src/components/EdgePanel/EdgePanel.stories.tsx +473 -2
  87. package/src/components/EdgePanel/EdgePanel.tsx +101 -13
  88. package/src/components/Footer/Footer.stories.tsx +187 -60
  89. package/src/components/Footer/Footer.test.tsx +134 -0
  90. package/src/components/Footer/Footer.tsx +133 -34
  91. package/src/components/Footer/FooterLink.tsx +1 -1
  92. package/src/components/Footer/FooterSection.tsx +53 -36
  93. package/src/components/Footer/FooterSocialLink.tsx +32 -29
  94. package/src/components/Footer/README.md +82 -3
  95. package/src/components/Footer/index.ts +1 -1
  96. package/src/components/Form/Checkbox.stories.tsx +13 -5
  97. package/src/components/Form/Checkbox.tsx +3 -6
  98. package/src/components/Form/Form.stories.tsx +10 -3
  99. package/src/components/Form/Form.tsx +2 -0
  100. package/src/components/Form/FormGroup.tsx +2 -1
  101. package/src/components/Form/Input.stories.tsx +12 -11
  102. package/src/components/Form/Input.tsx +97 -95
  103. package/src/components/Form/Radio.stories.tsx +22 -7
  104. package/src/components/Form/Radio.tsx +3 -6
  105. package/src/components/Form/Select.stories.tsx +21 -6
  106. package/src/components/Form/Select.tsx +3 -5
  107. package/src/components/Form/Textarea.stories.tsx +13 -11
  108. package/src/components/Form/Textarea.tsx +88 -86
  109. package/src/components/Hero/Hero.stories.tsx +2 -3
  110. package/src/components/Hero/Hero.tsx +5 -6
  111. package/src/components/Icon/Icon.tsx +12 -1
  112. package/src/components/List/List.tsx +2 -1
  113. package/src/components/List/ListGroup.tsx +2 -1
  114. package/src/components/Messages/Messages.stories.tsx +113 -0
  115. package/src/components/Messages/Messages.tsx +52 -9
  116. package/src/components/Modal/Modal.stories.tsx +48 -32
  117. package/src/components/Modal/Modal.tsx +19 -24
  118. package/src/components/Navigation/Menu/MegaMenu.tsx +2 -2
  119. package/src/components/Navigation/Menu/Menu.tsx +2 -2
  120. package/src/components/Navigation/Nav/Nav.stories.tsx +469 -0
  121. package/src/components/Navigation/Nav/Nav.tsx +22 -4
  122. package/src/components/Navigation/Nav/NavDropdown.tsx +10 -1
  123. package/src/components/Navigation/Navbar/Navbar.stories.tsx +413 -0
  124. package/src/components/Navigation/Navbar/Navbar.tsx +70 -29
  125. package/src/components/Navigation/SideMenu/SideMenu.stories.tsx +340 -0
  126. package/src/components/Navigation/SideMenu/SideMenu.tsx +29 -2
  127. package/src/components/Pagination/Pagination.stories.tsx +13 -6
  128. package/src/components/Pagination/Pagination.tsx +7 -6
  129. package/src/components/PhotoViewer/PhotoViewer.tsx +2 -1
  130. package/src/components/Popover/Popover.stories.tsx +32 -24
  131. package/src/components/Popover/Popover.tsx +4 -1
  132. package/src/components/ProductReview/ProductReview.tsx +8 -2
  133. package/src/components/Progress/Progress.tsx +19 -3
  134. package/src/components/Rating/Rating.stories.tsx +11 -6
  135. package/src/components/Rating/Rating.tsx +3 -5
  136. package/src/components/River/River.tsx +5 -5
  137. package/src/components/SectionIntro/SectionIntro.tsx +8 -2
  138. package/src/components/Slider/Slider.stories.tsx +4 -4
  139. package/src/components/Slider/Slider.tsx +4 -3
  140. package/src/components/Spinner/Spinner.tsx +19 -3
  141. package/src/components/Steps/Steps.stories.tsx +5 -4
  142. package/src/components/Steps/Steps.tsx +8 -5
  143. package/src/components/Tab/Tab.stories.tsx +4 -3
  144. package/src/components/Tab/Tab.tsx +8 -6
  145. package/src/components/Testimonial/Testimonial.tsx +8 -2
  146. package/src/components/Todo/Todo.tsx +2 -1
  147. package/src/components/Toggle/Toggle.stories.tsx +5 -4
  148. package/src/components/Toggle/Toggle.tsx +8 -5
  149. package/src/components/Tooltip/Tooltip.stories.tsx +40 -30
  150. package/src/components/Tooltip/Tooltip.tsx +9 -2
  151. package/src/components/Upload/Upload.stories.tsx +252 -0
  152. package/src/components/Upload/Upload.tsx +92 -53
  153. package/src/components/VideoPlayer/VideoPlayer.tsx +3 -1
  154. package/src/components/index.ts +0 -4
  155. package/src/layouts/Grid/Grid.stories.tsx +10 -23
  156. package/src/layouts/Grid/Grid.tsx +20 -1
  157. package/src/layouts/Grid/GridCol.tsx +76 -48
  158. package/src/lib/composables/useAtomixGlass.ts +861 -44
  159. package/src/lib/composables/useBarChart.ts +21 -4
  160. package/src/lib/composables/useChart.ts +227 -370
  161. package/src/lib/composables/useChartExport.ts +19 -78
  162. package/src/lib/composables/useChartToolbar.ts +11 -21
  163. package/src/lib/composables/useEdgePanel.ts +125 -71
  164. package/src/lib/composables/useFooter.ts +3 -3
  165. package/src/lib/composables/useGlassContainer.ts +16 -7
  166. package/src/lib/composables/useLineChart.ts +11 -2
  167. package/src/lib/composables/usePieChart.ts +4 -14
  168. package/src/lib/composables/useRiver.ts +5 -0
  169. package/src/lib/composables/useSlider.ts +62 -24
  170. package/src/lib/composables/useVideoPlayer.ts +60 -63
  171. package/src/lib/constants/components.ts +147 -32
  172. package/src/lib/types/components.ts +355 -25
  173. package/src/lib/utils/displacement-generator.ts +55 -49
  174. package/src/lib/utils/icons.ts +1 -1
  175. package/src/lib/utils/index.ts +16 -10
  176. package/src/styles/01-settings/_settings.accordion.scss +19 -19
  177. package/src/styles/01-settings/_settings.animations.scss +5 -5
  178. package/src/styles/01-settings/_settings.avatar-group.scss +1 -1
  179. package/src/styles/01-settings/_settings.avatar.scss +17 -17
  180. package/src/styles/01-settings/_settings.background.scss +0 -3
  181. package/src/styles/01-settings/_settings.badge.scss +1 -1
  182. package/src/styles/01-settings/_settings.breadcrumb.scss +1 -1
  183. package/src/styles/01-settings/_settings.card.scss +1 -1
  184. package/src/styles/01-settings/_settings.chart.scss +65 -2
  185. package/src/styles/01-settings/_settings.dropdown.scss +1 -1
  186. package/src/styles/01-settings/_settings.edge-panel.scss +1 -1
  187. package/src/styles/01-settings/_settings.footer.scss +35 -42
  188. package/src/styles/01-settings/_settings.input.scss +1 -1
  189. package/src/styles/01-settings/_settings.list.scss +1 -1
  190. package/src/styles/01-settings/_settings.rating.scss +1 -1
  191. package/src/styles/01-settings/_settings.tabs.scss +1 -1
  192. package/src/styles/01-settings/_settings.upload.scss +6 -5
  193. package/src/styles/02-tools/_tools.animations.scss +4 -5
  194. package/src/styles/02-tools/_tools.background.scss +1 -13
  195. package/src/styles/02-tools/_tools.glass.scss +0 -1
  196. package/src/styles/02-tools/_tools.utility-api.scss +91 -48
  197. package/src/styles/03-generic/_generic.root.scss +1 -4
  198. package/src/styles/04-elements/_elements.body.scss +0 -1
  199. package/src/styles/06-components/_components.atomix-glass.scss +249 -0
  200. package/src/styles/06-components/_components.badge.scss +8 -23
  201. package/src/styles/06-components/_components.button.scss +8 -3
  202. package/src/styles/06-components/_components.callout.scss +10 -5
  203. package/src/styles/06-components/_components.card.scss +2 -14
  204. package/src/styles/06-components/_components.chart.scss +969 -1449
  205. package/src/styles/06-components/_components.dropdown.scss +19 -7
  206. package/src/styles/06-components/_components.edge-panel.scss +103 -0
  207. package/src/styles/06-components/_components.footer.scss +166 -85
  208. package/src/styles/06-components/_components.input.scss +8 -9
  209. package/src/styles/06-components/_components.list.scss +1 -0
  210. package/src/styles/06-components/_components.messages.scss +176 -0
  211. package/src/styles/06-components/_components.modal.scss +16 -4
  212. package/src/styles/06-components/_components.navbar.scss +12 -1
  213. package/src/styles/06-components/_components.side-menu.scss +5 -0
  214. package/src/styles/06-components/_components.skeleton.scss +8 -6
  215. package/src/styles/06-components/_components.upload.scss +219 -4
  216. package/src/styles/06-components/old.chart.styles.scss +1 -30
  217. package/src/styles/99-utilities/_index.scss +1 -0
  218. package/src/styles/99-utilities/_utilities.glass-fixes.scss +1 -0
  219. package/src/styles/99-utilities/_utilities.scss +1 -1
  220. package/src/components/AtomixGlass/AtomixGlass.stories.tsx +0 -3011
  221. package/src/components/AtomixGlass/AtomixGlassComprehensivePreview.stories.tsx +0 -1369
  222. package/src/components/Chart/AdvancedChart.tsx +0 -624
  223. package/src/components/Chart/LineChartNew.tsx +0 -167
  224. package/src/components/Chart/RealTimeChart.tsx +0 -436
  225. package/src/components/DatePicker/DatePicker copy.tsx +0 -551
@@ -1,5 +1,179 @@
1
1
  import { ReactNode } from 'react';
2
- import { AtomixGlass } from '../../components/AtomixGlass/AtomixGlass';
2
+
3
+ // ============================================================================
4
+ // AtomixGlass Types
5
+ // ============================================================================
6
+
7
+ /**
8
+ * Displacement mode for glass effect
9
+ */
10
+ export type DisplacementMode = 'standard' | 'polar' | 'prominent' | 'shader';
11
+
12
+ /**
13
+ * Mouse position coordinates
14
+ */
15
+ export interface MousePosition {
16
+ x: number;
17
+ y: number;
18
+ }
19
+
20
+ /**
21
+ * Glass component size dimensions
22
+ */
23
+ export interface GlassSize {
24
+ width: number;
25
+ height: number;
26
+ }
27
+
28
+ /**
29
+ * OverLight configuration - can be boolean, 'auto', or object with settings
30
+ *
31
+ * @example
32
+ * // Boolean - explicit control
33
+ * overLight={true}
34
+ *
35
+ * @example
36
+ * // Auto-detection - automatically detects background brightness
37
+ * overLight="auto"
38
+ *
39
+ * @example
40
+ * // Object config - auto-detection with custom settings
41
+ * overLight={{
42
+ * threshold: 0.8,
43
+ * opacity: 0.6,
44
+ * contrast: 1.8,
45
+ * brightness: 1.0,
46
+ * saturationBoost: 1.5
47
+ * }}
48
+ */
49
+ export type OverLightConfig =
50
+ | boolean
51
+ | 'auto'
52
+ | OverLightObjectConfig;
53
+
54
+ /**
55
+ * OverLight object configuration
56
+ *
57
+ * When using object mode, the component will auto-detect background brightness
58
+ * and apply the custom settings. All properties are optional and will use
59
+ * sensible defaults if not provided.
60
+ *
61
+ * @example
62
+ * // Minimal config - only threshold
63
+ * overLight={{ threshold: 0.8 }}
64
+ *
65
+ * @example
66
+ * // Full config with all properties
67
+ * overLight={{
68
+ * threshold: 0.75,
69
+ * opacity: 0.6,
70
+ * contrast: 1.8,
71
+ * brightness: 1.1,
72
+ * saturationBoost: 1.5
73
+ * }}
74
+ */
75
+ export interface OverLightObjectConfig {
76
+ /**
77
+ * Luminance threshold for auto-detection (0.1 - 1.0)
78
+ *
79
+ * Backgrounds with average luminance above this threshold will be
80
+ * considered "light" and trigger overLight mode.
81
+ *
82
+ * @default 0.7
83
+ * @minimum 0.1
84
+ * @maximum 1.0
85
+ *
86
+ * @example
87
+ * // More sensitive detection (triggers on lighter backgrounds)
88
+ * threshold: 0.6
89
+ *
90
+ * @example
91
+ * // Less sensitive detection (only very light backgrounds)
92
+ * threshold: 0.85
93
+ */
94
+ threshold?: number;
95
+
96
+ /**
97
+ * Base opacity for overLight layers (0.1 - 1.0)
98
+ *
99
+ * Controls the opacity of the base and overlay layers when overLight
100
+ * mode is active. This value is multiplied by hover/active intensity
101
+ * multipliers for dynamic effects.
102
+ *
103
+ * @default 0.5 (dynamic, depends on hover/active state)
104
+ * @minimum 0.1
105
+ * @maximum 1.0
106
+ *
107
+ * @example
108
+ * // Subtle overlay
109
+ * opacity: 0.3
110
+ *
111
+ * @example
112
+ * // Strong overlay
113
+ * opacity: 0.7
114
+ */
115
+ opacity?: number;
116
+
117
+ /**
118
+ * Contrast enhancement multiplier (0.5 - 2.5)
119
+ *
120
+ * Increases the contrast of the glass effect for better visibility
121
+ * on light backgrounds. Higher values create more dramatic effects.
122
+ *
123
+ * @default 1.4 (dynamic, includes mouse influence)
124
+ * @minimum 0.5
125
+ * @maximum 2.5
126
+ *
127
+ * @example
128
+ * // Subtle contrast boost
129
+ * contrast: 1.2
130
+ *
131
+ * @example
132
+ * // High contrast for maximum visibility
133
+ * contrast: 2.0
134
+ */
135
+ contrast?: number;
136
+
137
+ /**
138
+ * Brightness adjustment multiplier (0.5 - 2.0)
139
+ *
140
+ * Adjusts the overall brightness of the glass effect. Values above 1.0
141
+ * brighten the effect, while values below 1.0 darken it.
142
+ *
143
+ * @default 0.85 (dynamic, includes mouse influence)
144
+ * @minimum 0.5
145
+ * @maximum 2.0
146
+ *
147
+ * @example
148
+ * // Neutral brightness
149
+ * brightness: 1.0
150
+ *
151
+ * @example
152
+ * // Brighter effect
153
+ * brightness: 1.2
154
+ */
155
+ brightness?: number;
156
+
157
+ /**
158
+ * Saturation boost multiplier (0.5 - 3.0)
159
+ *
160
+ * Enhances color saturation for more vibrant glass effects on light
161
+ * backgrounds. This works in conjunction with the base saturation prop.
162
+ *
163
+ * @default 1.3 (dynamic, includes mouse influence)
164
+ * @minimum 0.5
165
+ * @maximum 3.0
166
+ *
167
+ * @example
168
+ * // Moderate saturation boost
169
+ * saturationBoost: 1.2
170
+ *
171
+ * @example
172
+ * // High saturation for vivid effects
173
+ * saturationBoost: 2.0
174
+ */
175
+ saturationBoost?: number;
176
+ }
3
177
 
4
178
  /**
5
179
  * AtomixGlass component props interface
@@ -12,16 +186,21 @@ export interface AtomixGlassProps {
12
186
  aberrationIntensity?: number;
13
187
  elasticity?: number;
14
188
  cornerRadius?: number;
15
- globalMousePos?: { x: number; y: number };
16
- mouseOffset?: { x: number; y: number };
189
+ globalMousePosition?: MousePosition;
190
+ mouseOffset?: MousePosition;
17
191
  mouseContainer?: React.RefObject<HTMLElement | null> | null;
18
192
  className?: string;
19
193
  padding?: string;
20
194
  style?: React.CSSProperties;
21
- overLight?: boolean;
22
- mode?: 'standard' | 'polar' | 'prominent' | 'shader';
195
+ overLight?: OverLightConfig;
196
+ mode?: DisplacementMode;
23
197
  onClick?: () => void;
24
198
 
199
+ /**
200
+ * Shader variant for shader mode
201
+ */
202
+ shaderVariant?: 'liquidGlass' | 'premiumGlass';
203
+
25
204
  /**
26
205
  * Accessibility props
27
206
  */
@@ -36,11 +215,38 @@ export interface AtomixGlassProps {
36
215
  reducedMotion?: boolean;
37
216
  highContrast?: boolean;
38
217
  disableEffects?: boolean;
218
+ enableLiquidBlur?: boolean;
219
+ enableBorderEffect?: boolean;
220
+ enableOverLightLayers?: boolean;
39
221
 
40
222
  /**
41
223
  * Performance monitoring
42
224
  */
43
225
  enablePerformanceMonitoring?: boolean;
226
+
227
+ /**
228
+ * Debug mode for cornerRadius extraction
229
+ */
230
+ debugCornerRadius?: boolean;
231
+
232
+ /**
233
+ * Debug mode for overLight detection and configuration
234
+ *
235
+ * When enabled, logs detailed information about:
236
+ * - Auto-detection results (luminance values, threshold comparison)
237
+ * - Final overLight configuration values
238
+ * - Detection timing and performance
239
+ *
240
+ * Useful for debugging auto-detection issues and fine-tuning thresholds.
241
+ *
242
+ * @default false
243
+ *
244
+ * @example
245
+ * <AtomixGlass overLight="auto" debugOverLight={true}>
246
+ * Content
247
+ * </AtomixGlass>
248
+ */
249
+ debugOverLight?: boolean;
44
250
  }
45
251
 
46
252
  /**
@@ -106,6 +312,11 @@ export interface BaseComponentProps {
106
312
  * Component children
107
313
  */
108
314
  children?: ReactNode;
315
+
316
+ /**
317
+ * Inline style for the component root element
318
+ */
319
+ style?: React.CSSProperties;
109
320
  }
110
321
 
111
322
  /**
@@ -222,6 +433,11 @@ export interface ButtonProps extends BaseComponentProps {
222
433
  * Can be a boolean to enable with default settings, or an object with AtomixGlassProps to customize the effect
223
434
  */
224
435
  glass?: AtomixGlassProps | boolean;
436
+
437
+ /**
438
+ * Custom style for the button
439
+ */
440
+ style?: React.CSSProperties;
225
441
  }
226
442
 
227
443
  /**
@@ -253,6 +469,11 @@ export interface BadgeProps extends BaseComponentProps {
253
469
  * Can be a boolean to enable with default settings, or an object with AtomixGlassProps to customize the effect
254
470
  */
255
471
  glass?: AtomixGlassProps | boolean;
472
+
473
+ /**
474
+ * Custom style for the badge
475
+ */
476
+ style?: React.CSSProperties;
256
477
  }
257
478
 
258
479
  /**
@@ -304,8 +525,12 @@ export interface CalloutProps extends BaseComponentProps {
304
525
  * Can be a boolean to enable with default settings, or an object with AtomixGlassProps to customize the effect
305
526
  */
306
527
  glass?: AtomixGlassProps | boolean;
307
- }
308
528
 
529
+ /**
530
+ * Custom style for the callout
531
+ */
532
+ style?: React.CSSProperties;
533
+ }
309
534
 
310
535
  /**
311
536
  * Accordion component properties
@@ -510,6 +735,12 @@ export interface SpinnerProps extends BaseComponentProps {
510
735
  * Whether the spinner should be displayed fullscreen
511
736
  */
512
737
  fullscreen?: boolean;
738
+
739
+ /**
740
+ * Glass morphism effect for the spinner
741
+ * Can be a boolean to enable with default settings, or an object with AtomixGlassProps to customize the effect
742
+ */
743
+ glass?: AtomixGlassProps | boolean;
513
744
  }
514
745
 
515
746
  /**
@@ -595,6 +826,12 @@ export interface NavbarProps extends BaseComponentProps {
595
826
  * ID for the navbar (used for accessibility)
596
827
  */
597
828
  id?: string;
829
+
830
+ /**
831
+ * Enable glass morphism effect.
832
+ * Can be a boolean to enable with default settings, or an object with AtomixGlassProps to customize the effect
833
+ */
834
+ glass?: boolean | Omit<AtomixGlassProps, 'children'>;
598
835
  }
599
836
 
600
837
  /**
@@ -615,6 +852,12 @@ export interface NavProps extends BaseComponentProps {
615
852
  * Nav variant (including float variants)
616
853
  */
617
854
  variant?: NavVariant;
855
+
856
+ /**
857
+ * Enable glass morphism effect.
858
+ * Can be a boolean to enable with default settings, or an object with AtomixGlassProps to customize the effect
859
+ */
860
+ glass?: boolean | Omit<AtomixGlassProps, 'children'>;
618
861
  }
619
862
 
620
863
  /**
@@ -820,6 +1063,12 @@ export interface SideMenuProps extends BaseComponentProps {
820
1063
  * ID for the menu (used for accessibility)
821
1064
  */
822
1065
  id?: string;
1066
+
1067
+ /**
1068
+ * Glass morphism effect for the side menu
1069
+ * Can be a boolean to enable with default settings, or an object with AtomixGlassProps to customize the effect
1070
+ */
1071
+ glass?: boolean | Omit<AtomixGlassProps, 'children'>;
823
1072
  }
824
1073
 
825
1074
  /**
@@ -892,49 +1141,61 @@ export type EdgePanelMode = 'slide' | 'push' | 'none';
892
1141
  */
893
1142
  export interface EdgePanelProps extends BaseComponentProps {
894
1143
  /**
895
- * Panel title
1144
+ * Title of the panel
896
1145
  */
897
- title?: ReactNode;
898
-
899
- /**
900
- * Panel content
901
- */
902
- children: ReactNode;
1146
+ title?: React.ReactNode;
903
1147
 
904
1148
  /**
905
- * Panel position
1149
+ * Position of the panel
1150
+ * @default 'start'
906
1151
  */
907
- position?: EdgePanelPosition;
1152
+ position?: 'start' | 'end' | 'top' | 'bottom';
908
1153
 
909
1154
  /**
910
1155
  * Animation mode
1156
+ * @default 'slide'
911
1157
  */
912
- mode?: EdgePanelMode;
1158
+ mode?: 'slide' | 'push' | 'none';
913
1159
 
914
1160
  /**
915
1161
  * Whether the panel is open
1162
+ * @default false
916
1163
  */
917
1164
  isOpen?: boolean;
918
1165
 
919
1166
  /**
920
- * Open/close callback
1167
+ * Callback when panel open state changes
921
1168
  */
922
1169
  onOpenChange?: (open: boolean) => void;
923
1170
 
924
1171
  /**
925
- * Show backdrop
1172
+ * Whether to show backdrop
1173
+ * @default true
926
1174
  */
927
1175
  backdrop?: boolean;
928
1176
 
929
1177
  /**
930
- * Close when clicking backdrop
1178
+ * Whether to close panel when clicking backdrop
1179
+ * @default true
931
1180
  */
932
1181
  closeOnBackdropClick?: boolean;
933
1182
 
934
1183
  /**
935
- * Close when pressing escape key
1184
+ * Whether to close panel when pressing Escape key
1185
+ * @default true
936
1186
  */
937
1187
  closeOnEscape?: boolean;
1188
+
1189
+ /**
1190
+ * Glass effect configuration
1191
+ * @default undefined
1192
+ */
1193
+ glass?: boolean | AtomixGlassProps;
1194
+
1195
+ /**
1196
+ * Children elements
1197
+ */
1198
+ children: React.ReactNode;
938
1199
  }
939
1200
 
940
1201
  /**
@@ -1055,6 +1316,12 @@ export interface DataTableProps extends BaseComponentProps {
1055
1316
  * Callback when sorting changes
1056
1317
  */
1057
1318
  onSort?: (sortConfig: SortConfig) => void;
1319
+
1320
+ /**
1321
+ * Glass morphism effect for the data table
1322
+ * Can be a boolean to enable with default settings, or an object with AtomixGlassProps to customize the effect
1323
+ */
1324
+ glass?: AtomixGlassProps | boolean;
1058
1325
  }
1059
1326
 
1060
1327
  /**
@@ -1176,6 +1443,12 @@ export interface TodoProps extends BaseComponentProps {
1176
1443
  * Whether to show the completed todos
1177
1444
  */
1178
1445
  showCompleted?: boolean;
1446
+
1447
+ /**
1448
+ * Glass morphism effect for the todo component
1449
+ * Can be a boolean to enable with default settings, or an object with AtomixGlassProps to customize the effect
1450
+ */
1451
+ glass?: AtomixGlassProps | boolean;
1179
1452
  }
1180
1453
 
1181
1454
  /**
@@ -1395,7 +1668,7 @@ export interface InputProps extends BaseComponentProps {
1395
1668
  /**
1396
1669
  * Glass morphism effect
1397
1670
  */
1398
- glass?: boolean | Omit<React.ComponentProps<typeof AtomixGlass>, 'children'>;
1671
+ glass?: boolean | Omit<AtomixGlassProps, 'children'>;
1399
1672
  }
1400
1673
 
1401
1674
  /**
@@ -1748,7 +2021,7 @@ export interface TextareaProps extends BaseComponentProps {
1748
2021
  /**
1749
2022
  * Glass morphism effect
1750
2023
  */
1751
- glass?: boolean | Omit<React.ComponentProps<typeof AtomixGlass>, 'children'>;
2024
+ glass?: boolean | Omit<AtomixGlassProps, 'children'>;
1752
2025
  }
1753
2026
 
1754
2027
  /**
@@ -1794,6 +2067,17 @@ export interface AvatarProps extends BaseComponentProps {
1794
2067
  * Optional click handler
1795
2068
  */
1796
2069
  onClick?: (event: React.MouseEvent<HTMLDivElement>) => void;
2070
+
2071
+ /**
2072
+ * Glass morphism effect for the avatar
2073
+ * Can be a boolean to enable with default settings, or an object with AtomixGlassProps to customize the effect
2074
+ */
2075
+ glass?: AtomixGlassProps | boolean;
2076
+
2077
+ /**
2078
+ * Custom style for the avatar
2079
+ */
2080
+ style?: React.CSSProperties;
1797
2081
  }
1798
2082
 
1799
2083
  /**
@@ -1819,6 +2103,12 @@ export interface AvatarGroupProps extends BaseComponentProps {
1819
2103
  * Custom text for the "more" indicator
1820
2104
  */
1821
2105
  moreText?: string;
2106
+
2107
+ /**
2108
+ * Glass morphism effect for the avatar group
2109
+ * Can be a boolean to enable with default settings, or an object with AtomixGlassProps to customize the effect
2110
+ */
2111
+ glass?: AtomixGlassProps | boolean;
1822
2112
  }
1823
2113
 
1824
2114
  /**
@@ -1940,6 +2230,12 @@ export interface BreadcrumbOptions {
1940
2230
  * Accessible label for the breadcrumb navigation
1941
2231
  */
1942
2232
  ariaLabel?: string;
2233
+
2234
+ /**
2235
+ * Glass morphism effect for the breadcrumb
2236
+ * Can be a boolean to enable with default settings, or an object with AtomixGlassProps to customize the effect
2237
+ */
2238
+ glass?: AtomixGlassProps | boolean;
1943
2239
  }
1944
2240
 
1945
2241
  /**
@@ -2050,6 +2346,12 @@ export interface MessagesProps extends BaseComponentProps {
2050
2346
  * Unique identifier for the messages component
2051
2347
  */
2052
2348
  id?: string;
2349
+
2350
+ /**
2351
+ * Glass morphism effect for the messages component
2352
+ * Can be a boolean to enable with default settings, or an object with AtomixGlassProps to customize the effect
2353
+ */
2354
+ glass?: boolean | Omit<AtomixGlassProps, 'children'>;
2053
2355
  }
2054
2356
 
2055
2357
  /**
@@ -2093,6 +2395,11 @@ export interface PopoverProps {
2093
2395
  */
2094
2396
  className?: string;
2095
2397
 
2398
+ /**
2399
+ * Inline style for the popover
2400
+ */
2401
+ style?: React.CSSProperties;
2402
+
2096
2403
  /**
2097
2404
  * Delay before showing the popover (in milliseconds)
2098
2405
  */
@@ -2332,6 +2639,12 @@ export interface ProgressProps extends BaseComponentProps {
2332
2639
  * Accessible label for screen readers
2333
2640
  */
2334
2641
  ariaLabel?: string;
2642
+
2643
+ /**
2644
+ * Glass morphism effect for the progress bar
2645
+ * Can be a boolean to enable with default settings, or an object with AtomixGlassProps to customize the effect
2646
+ */
2647
+ glass?: AtomixGlassProps | boolean;
2335
2648
  }
2336
2649
 
2337
2650
  /**
@@ -2723,7 +3036,7 @@ export interface CardProps extends BaseComponentProps {
2723
3036
  * Applies a glass morphism effect to the card.
2724
3037
  * Can be a boolean to enable with default settings, or an object with `AtomixGlassProps` to customize the effect.
2725
3038
  */
2726
- glass?: boolean | Omit<React.ComponentProps<typeof AtomixGlass>, 'children'>;
3039
+ glass?: boolean | Omit<AtomixGlassProps, 'children'>;
2727
3040
 
2728
3041
  cardAppearance?: boolean;
2729
3042
  /**
@@ -2734,7 +3047,7 @@ export interface CardProps extends BaseComponentProps {
2734
3047
  /**
2735
3048
  * Card styles
2736
3049
  */
2737
- styles?: React.CSSProperties;
3050
+ style?: React.CSSProperties;
2738
3051
 
2739
3052
  /**
2740
3053
  * Card className
@@ -4944,7 +5257,14 @@ export interface CodeBlockProps extends BaseComponentProps {
4944
5257
  /**
4945
5258
  * Footer layout options
4946
5259
  */
4947
- export type FooterLayout = 'columns' | 'centered' | 'minimal' | 'stacked';
5260
+ export type FooterLayout =
5261
+ | 'columns'
5262
+ | 'centered'
5263
+ | 'minimal'
5264
+ | 'stacked'
5265
+ | 'flexible'
5266
+ | 'sidebar'
5267
+ | 'wide';
4948
5268
 
4949
5269
  /**
4950
5270
  * Social media platform types
@@ -5100,6 +5420,11 @@ export interface FooterProps extends BaseComponentProps {
5100
5420
  * Footer sections content
5101
5421
  */
5102
5422
  children?: ReactNode;
5423
+
5424
+ /**
5425
+ * Whether footer should be glass
5426
+ */
5427
+ glass?: boolean;
5103
5428
  }
5104
5429
 
5105
5430
  /**
@@ -5126,6 +5451,11 @@ export interface FooterSectionProps extends BaseComponentProps {
5126
5451
  */
5127
5452
  defaultCollapsed?: boolean;
5128
5453
 
5454
+ /**
5455
+ * Whether newsletter is shown in the footer
5456
+ */
5457
+ showNewsletter?: boolean;
5458
+
5129
5459
  /**
5130
5460
  * Section content
5131
5461
  */