@solostylist/ui-kit 1.0.166 → 1.0.168

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 (241) hide show
  1. package/dist/{Typography-B7LOtCzI.js → Typography-C8jwvSWe.js} +1 -1
  2. package/dist/main.d.ts +5 -3
  3. package/dist/main.js +182 -172
  4. package/dist/s-accordion/index.js +2 -2
  5. package/dist/s-accordion/s-accordion.d.ts +17 -1
  6. package/dist/s-accordion/s-accordion.js +252 -238
  7. package/dist/s-action-overlay/index.js +1 -1
  8. package/dist/s-action-overlay/s-action-overlay.d.ts +34 -1
  9. package/dist/s-action-overlay/s-action-overlay.js +67 -55
  10. package/dist/s-ai-tool-bar/index.d.ts +2 -0
  11. package/dist/s-ai-tool-bar/index.js +3 -2
  12. package/dist/s-ai-tool-bar/s-ai-tool-bar.d.ts +43 -22
  13. package/dist/s-ai-tool-bar/s-ai-tool-bar.js +336 -255
  14. package/dist/s-autocomplete/index.js +2 -2
  15. package/dist/s-autocomplete/s-autocomplete.d.ts +13 -15
  16. package/dist/s-autocomplete/s-autocomplete.js +25 -17
  17. package/dist/s-avatar/index.js +2 -2
  18. package/dist/s-avatar/s-avatar.d.ts +16 -1
  19. package/dist/s-avatar/s-avatar.js +23 -10
  20. package/dist/s-blur-text/index.js +2 -2
  21. package/dist/s-blur-text/s-blur-text.d.ts +4 -13
  22. package/dist/s-blur-text/s-blur-text.js +57 -51
  23. package/dist/s-breadcrumbs/index.js +2 -2
  24. package/dist/s-breadcrumbs/s-breadcrumbs.d.ts +20 -1
  25. package/dist/s-breadcrumbs/s-breadcrumbs.js +39 -30
  26. package/dist/s-button/index.js +2 -2
  27. package/dist/s-button/s-button.d.ts +7 -1
  28. package/dist/s-button/s-button.js +15 -5
  29. package/dist/s-button-link/index.js +2 -2
  30. package/dist/s-button-link/s-button-link.d.ts +12 -26
  31. package/dist/s-button-link/s-button-link.js +36 -26
  32. package/dist/s-carousel/index.js +1 -1
  33. package/dist/s-carousel/s-carousel.d.ts +11 -1
  34. package/dist/s-carousel/s-carousel.js +233 -223
  35. package/dist/s-category-card/index.js +2 -2
  36. package/dist/s-category-card/s-category-card.d.ts +28 -1
  37. package/dist/s-category-card/s-category-card.js +77 -58
  38. package/dist/s-chat-input/index.js +2 -2
  39. package/dist/s-chat-input/s-chat-input.d.ts +12 -1
  40. package/dist/s-chat-input/s-chat-input.js +92 -82
  41. package/dist/s-chat-message/index.js +2 -2
  42. package/dist/s-chat-message/s-chat-message.d.ts +22 -1
  43. package/dist/s-chat-message/s-chat-message.js +144 -133
  44. package/dist/s-checkbox/index.js +2 -2
  45. package/dist/s-checkbox/s-checkbox.d.ts +2 -15
  46. package/dist/s-checkbox/s-checkbox.js +20 -10
  47. package/dist/s-chip/index.js +2 -2
  48. package/dist/s-chip/s-chip.d.ts +7 -1
  49. package/dist/s-chip/s-chip.js +15 -5
  50. package/dist/s-chips/index.js +2 -2
  51. package/dist/s-chips/s-chips.d.ts +5 -18
  52. package/dist/s-chips/s-chips.js +56 -41
  53. package/dist/s-comment-message/index.js +2 -2
  54. package/dist/s-comment-message/s-comment-message.d.ts +26 -1
  55. package/dist/s-comment-message/s-comment-message.js +95 -89
  56. package/dist/s-copyable-text/index.js +1 -1
  57. package/dist/s-copyable-text/s-copyable-text.d.ts +9 -36
  58. package/dist/s-copyable-text/s-copyable-text.js +31 -21
  59. package/dist/s-countdown/index.d.ts +3 -2
  60. package/dist/s-countdown/index.js +4 -3
  61. package/dist/s-countdown/s-count-box.d.ts +39 -0
  62. package/dist/s-countdown/s-count-box.js +112 -0
  63. package/dist/s-countdown/s-count-down.d.ts +6 -50
  64. package/dist/s-countdown/s-count-down.js +110 -175
  65. package/dist/s-data-table/index.js +2 -2
  66. package/dist/s-data-table/s-data-table.d.ts +9 -65
  67. package/dist/s-data-table/s-data-table.js +381 -371
  68. package/dist/s-date-picker/index.js +2 -2
  69. package/dist/s-date-picker/s-date-picker.d.ts +6 -17
  70. package/dist/s-date-picker/s-date-picker.js +124 -107
  71. package/dist/s-datetime-picker/index.js +2 -2
  72. package/dist/s-datetime-picker/s-datetime-picker.d.ts +5 -16
  73. package/dist/s-datetime-picker/s-datetime-picker.js +897 -887
  74. package/dist/s-dialog/index.js +2 -2
  75. package/dist/s-dialog/s-dialog.d.ts +3 -16
  76. package/dist/s-dialog/s-dialog.js +32 -23
  77. package/dist/s-dialog-confirm/index.js +3 -3
  78. package/dist/s-dialog-confirm/s-dialog-confirm.d.ts +5 -13
  79. package/dist/s-dialog-confirm/s-dialog-confirm.js +55 -48
  80. package/dist/s-dialog-message/index.js +4 -4
  81. package/dist/s-dialog-message/s-dialog-message.d.ts +5 -15
  82. package/dist/s-dialog-message/s-dialog-message.js +45 -38
  83. package/dist/s-empty/index.js +2 -2
  84. package/dist/s-empty/s-empty.d.ts +5 -20
  85. package/dist/s-empty/s-empty.js +14 -4
  86. package/dist/s-error/index.js +2 -2
  87. package/dist/s-error/s-error.d.ts +5 -20
  88. package/dist/s-error/s-error.js +16 -6
  89. package/dist/s-error-layout/index.js +2 -2
  90. package/dist/s-error-layout/s-error-layout.d.ts +6 -1
  91. package/dist/s-error-layout/s-error-layout.js +60 -51
  92. package/dist/s-file-dropzone/index.js +2 -2
  93. package/dist/s-file-dropzone/s-file-dropzone.d.ts +6 -51
  94. package/dist/s-file-dropzone/s-file-dropzone.js +64 -54
  95. package/dist/s-file-icon/index.js +2 -2
  96. package/dist/s-file-icon/s-file-icon.d.ts +5 -25
  97. package/dist/s-file-icon/s-file-icon.js +14 -8
  98. package/dist/s-flex-box/index.js +2 -2
  99. package/dist/s-flex-box/s-flex-box.d.ts +10 -1
  100. package/dist/s-flex-box/s-flex-box.js +14 -4
  101. package/dist/s-form/index.js +2 -2
  102. package/dist/s-form/s-form.d.ts +5 -14
  103. package/dist/s-form/s-form.js +19 -9
  104. package/dist/s-gallery/index.js +33 -3
  105. package/dist/s-gallery/s-gallery.d.ts +3 -36
  106. package/dist/s-gallery/s-gallery.js +108 -78
  107. package/dist/s-glow-button/s-glow-button.d.ts +6 -42
  108. package/dist/s-glow-button/s-glow-button.js +29 -47
  109. package/dist/s-gradient-icon/index.d.ts +1 -1
  110. package/dist/s-gradient-icon/index.js +1 -1
  111. package/dist/s-gradient-icon/s-gradient-icon.d.ts +8 -68
  112. package/dist/s-gradient-icon/s-gradient-icon.js +54 -44
  113. package/dist/s-i18n-provider/index.js +1 -1
  114. package/dist/s-i18n-provider/s-i18n-provider.d.ts +5 -33
  115. package/dist/s-i18n-provider/s-i18n-provider.js +25 -15
  116. package/dist/s-icon-button/index.js +2 -2
  117. package/dist/s-icon-button/s-icon-button.d.ts +6 -19
  118. package/dist/s-icon-button/s-icon-button.js +14 -4
  119. package/dist/s-image-comparison/s-image-comparison.js +50 -45
  120. package/dist/s-image-modal/index.js +3 -3
  121. package/dist/s-image-modal/s-image-modal.d.ts +4 -20
  122. package/dist/s-image-modal/s-image-modal.js +150 -135
  123. package/dist/s-item-not-found/index.js +2 -2
  124. package/dist/s-item-not-found/s-item-not-found.d.ts +14 -1
  125. package/dist/s-item-not-found/s-item-not-found.js +21 -10
  126. package/dist/s-label/index.js +2 -2
  127. package/dist/s-label/s-label.d.ts +9 -25
  128. package/dist/s-label/s-label.js +19 -9
  129. package/dist/s-language-switcher/index.js +3 -3
  130. package/dist/s-language-switcher/s-language-switcher.d.ts +20 -33
  131. package/dist/s-language-switcher/s-language-switcher.js +137 -115
  132. package/dist/s-lazy-image/index.js +10 -2
  133. package/dist/s-lazy-image/s-lazy-image.d.ts +12 -58
  134. package/dist/s-lazy-image/s-lazy-image.js +53 -58
  135. package/dist/s-localization-provider/index.js +2 -2
  136. package/dist/s-localization-provider/s-localization-provider.d.ts +6 -27
  137. package/dist/s-localization-provider/s-localization-provider.js +157 -149
  138. package/dist/s-moving-border/index.js +2 -2
  139. package/dist/s-moving-border/s-moving-border.d.ts +3 -33
  140. package/dist/s-moving-border/s-moving-border.js +65 -55
  141. package/dist/s-multi-select/index.js +2 -2
  142. package/dist/s-multi-select/s-multi-select.d.ts +5 -15
  143. package/dist/s-multi-select/s-multi-select.js +54 -45
  144. package/dist/s-no-ssr/index.js +2 -2
  145. package/dist/s-no-ssr/s-no-ssr.d.ts +5 -33
  146. package/dist/s-no-ssr/s-no-ssr.js +21 -11
  147. package/dist/s-overlay-scrollbar/index.js +2 -2
  148. package/dist/s-overlay-scrollbar/s-overlay-scrollbar.d.ts +10 -1
  149. package/dist/s-overlay-scrollbar/s-overlay-scrollbar.js +16 -11
  150. package/dist/s-pagination/index.js +2 -2
  151. package/dist/s-pagination/s-pagination.d.ts +5 -23
  152. package/dist/s-pagination/s-pagination.js +17 -11
  153. package/dist/s-pixel-reveal/index.d.ts +2 -0
  154. package/dist/s-pixel-reveal/index.js +4 -0
  155. package/dist/s-pixel-reveal/package.json +5 -0
  156. package/dist/s-pixel-reveal/s-pixel-reveal.d.ts +27 -0
  157. package/dist/s-pixel-reveal/s-pixel-reveal.js +156 -0
  158. package/dist/s-radial-pulse-animate/index.js +2 -2
  159. package/dist/s-radial-pulse-animate/s-radial-pulse-animate.d.ts +12 -1
  160. package/dist/s-radial-pulse-animate/s-radial-pulse-animate.js +52 -42
  161. package/dist/s-rating/index.js +2 -2
  162. package/dist/s-rating/s-rating.d.ts +7 -1
  163. package/dist/s-rating/s-rating.js +15 -5
  164. package/dist/s-review/index.js +2 -2
  165. package/dist/s-review/s-review.d.ts +25 -1
  166. package/dist/s-review/s-review.js +104 -97
  167. package/dist/s-scroll-reveal/index.js +2 -2
  168. package/dist/s-scroll-reveal/s-scroll-reveal.d.ts +17 -36
  169. package/dist/s-scroll-reveal/s-scroll-reveal.js +43 -33
  170. package/dist/s-scroll-to-top/index.js +2 -2
  171. package/dist/s-scroll-to-top/s-scroll-to-top.d.ts +12 -17
  172. package/dist/s-scroll-to-top/s-scroll-to-top.js +20 -15
  173. package/dist/s-select/index.js +2 -2
  174. package/dist/s-select/s-select.d.ts +3 -22
  175. package/dist/s-select/s-select.js +76 -72
  176. package/dist/s-select-list/index.js +2 -2
  177. package/dist/s-select-list/s-select-list.d.ts +16 -19
  178. package/dist/s-select-list/s-select-list.js +33 -28
  179. package/dist/s-skeleton/index.js +2 -2
  180. package/dist/s-skeleton/s-skeleton.d.ts +6 -22
  181. package/dist/s-skeleton/s-skeleton.js +28 -18
  182. package/dist/s-snackbar-message/index.js +4 -4
  183. package/dist/s-snackbar-message/s-snackbar-message.d.ts +5 -23
  184. package/dist/s-snackbar-message/s-snackbar-message.js +38 -31
  185. package/dist/s-spotlight-cursor/index.js +2 -2
  186. package/dist/s-spotlight-cursor/s-spotlight-cursor.d.ts +10 -44
  187. package/dist/s-spotlight-cursor/s-spotlight-cursor.js +35 -29
  188. package/dist/s-stripe/index.d.ts +4 -1
  189. package/dist/s-stripe/index.js +7 -4
  190. package/dist/s-stripe/s-stripe-cvc.d.ts +8 -0
  191. package/dist/s-stripe/s-stripe-cvc.js +15 -0
  192. package/dist/s-stripe/s-stripe-expiry.d.ts +8 -0
  193. package/dist/s-stripe/s-stripe-expiry.js +15 -0
  194. package/dist/s-stripe/s-stripe-number.d.ts +8 -0
  195. package/dist/s-stripe/s-stripe-number.js +15 -0
  196. package/dist/s-stripe/s-stripe.d.ts +6 -85
  197. package/dist/s-stripe/s-stripe.js +24 -27
  198. package/dist/s-stripe/stripe-input.js +22 -18
  199. package/dist/s-tabs/index.js +6 -6
  200. package/dist/s-tabs/s-tab-panel.d.ts +11 -1
  201. package/dist/s-tabs/s-tab-panel.js +25 -16
  202. package/dist/s-tabs/s-tab.js +9 -5
  203. package/dist/s-tabs/s-tabs.d.ts +24 -3
  204. package/dist/s-tabs/s-tabs.js +34 -25
  205. package/dist/s-text-editor/index.js +3 -3
  206. package/dist/s-text-editor/s-text-editor-toolbar.js +91 -76
  207. package/dist/s-text-editor/s-text-editor.d.ts +13 -11
  208. package/dist/s-text-editor/s-text-editor.js +44 -30
  209. package/dist/s-text-field/index.js +2 -2
  210. package/dist/s-text-field/s-text-field.d.ts +6 -15
  211. package/dist/s-text-field/s-text-field.js +38 -28
  212. package/dist/s-text-shimmer/index.js +2 -2
  213. package/dist/s-text-shimmer/s-text-shimmer.d.ts +10 -1
  214. package/dist/s-text-shimmer/s-text-shimmer.js +27 -18
  215. package/dist/s-text-truncation/index.js +2 -2
  216. package/dist/s-text-truncation/s-text-truncation.d.ts +9 -38
  217. package/dist/s-text-truncation/s-text-truncation.js +34 -20
  218. package/dist/s-theme-demo/s-theme-demo.js +238 -223
  219. package/dist/s-theme-provider/index.js +1 -1
  220. package/dist/s-theme-provider/s-theme-provider.d.ts +5 -17
  221. package/dist/s-theme-provider/s-theme-provider.js +44 -34
  222. package/dist/s-theme-switch/s-theme-switch.js +23 -19
  223. package/dist/s-tip/index.js +2 -2
  224. package/dist/s-tip/s-tip.d.ts +5 -22
  225. package/dist/s-tip/s-tip.js +22 -12
  226. package/dist/s-two-pane-layout/index.js +10 -2
  227. package/dist/s-two-pane-layout/s-two-pane-layout.d.ts +7 -1
  228. package/dist/s-two-pane-layout/s-two-pane-layout.js +58 -48
  229. package/dist/s-typewriter-text/index.js +2 -2
  230. package/dist/s-typewriter-text/s-typewriter-text.d.ts +17 -1
  231. package/dist/s-typewriter-text/s-typewriter-text.js +37 -27
  232. package/dist/s-zoom-image/index.js +10 -2
  233. package/dist/s-zoom-image/s-zoom-image.d.ts +10 -42
  234. package/dist/s-zoom-image/s-zoom-image.js +62 -52
  235. package/dist/theme/components/alert.d.ts +1440 -1440
  236. package/dist/theme/components/button.d.ts +2156 -2156
  237. package/dist/theme/components/chip.d.ts +2 -2
  238. package/dist/theme/customizations/data-display.js +1 -1
  239. package/dist/{typographyClasses-C7fhAsUD.js → typographyClasses-DDyl9mok.js} +4 -4
  240. package/dist/{useMobilePicker-DgxcRrRB.js → useMobilePicker-C1RZZUWr.js} +1 -1
  241. package/package.json +10 -4
@@ -1,4 +1,4 @@
1
- import { default as o } from "./s-theme-provider.js";
1
+ import { SThemeProvider as o } from "./s-theme-provider.js";
2
2
  export {
3
3
  o as default
4
4
  };
@@ -15,21 +15,9 @@ export interface SThemeProviderProps extends Omit<ThemeProviderProps, 'defaultMo
15
15
  /** Custom theme object to merge with internal theme */
16
16
  theme?: Theme;
17
17
  }
18
- /**
19
- * SThemeProvider - Central theme provider for the design system.
20
- *
21
- * Features:
22
- * - Material-UI v6 CSS variables integration with 's-' prefix
23
- * - System mode default with light/dark/system mode support
24
- * - Comprehensive component customizations
25
- * - Custom color schemes, typography, shadows, and shapes
26
- * - Modular theme customizations from separate files
27
- * - Theme merging capability for external overrides
28
- * - Memoized theme creation for performance
29
- * - Transition disabling for smoother mode switching
30
- *
31
- * @param props - SThemeProviderProps with theme configuration
32
- * @returns JSX.Element - ThemeProvider with custom design system theme
33
- */
34
- declare const SThemeProvider: ({ children, disableCustomTheme, themeComponents, defaultMode, theme, ...themeProviderProps }: SThemeProviderProps) => React.JSX.Element;
18
+ /** Central theme provider for the design system. */
19
+ export declare const SThemeProvider: {
20
+ ({ children, disableCustomTheme, themeComponents, defaultMode, theme, ...themeProviderProps }: SThemeProviderProps): React.JSX.Element;
21
+ displayName: string;
22
+ };
35
23
  export default SThemeProvider;
@@ -1,60 +1,70 @@
1
- import { j as s } from "../jsx-runtime-OVHDjVDe.js";
2
- import * as e from "react";
3
- import { createTheme as p, ThemeProvider as c } from "@mui/material";
4
- import { components as f } from "../theme/components/components.js";
5
- import { dataDisplayCustomizations as u } from "../theme/customizations/data-display.js";
1
+ import { j as a } from "../jsx-runtime-OVHDjVDe.js";
2
+ import * as m from "react";
3
+ import { createTheme as d, ThemeProvider as u } from "@mui/material";
4
+ import { components as p } from "../theme/components/components.js";
5
+ import { dataDisplayCustomizations as c } from "../theme/customizations/data-display.js";
6
6
  import { feedbackCustomizations as h } from "../theme/customizations/feedback.js";
7
- import { inputsCustomizations as l } from "../theme/customizations/inputs.js";
8
- import { navigationCustomizations as x } from "../theme/customizations/navigation.js";
9
- import { surfacesCustomizations as d } from "../theme/customizations/surfaces.js";
10
- import { shape as z, shadows as g, typography as j, colorSchemes as y } from "../theme/theme-primitives.js";
11
- const w = ({
12
- children: r,
13
- disableCustomTheme: o,
14
- themeComponents: t,
15
- defaultMode: m = "system",
7
+ import { inputsCustomizations as f } from "../theme/customizations/inputs.js";
8
+ import { navigationCustomizations as y } from "../theme/customizations/navigation.js";
9
+ import { surfacesCustomizations as v } from "../theme/customizations/surfaces.js";
10
+ import { shape as C, shadows as g, typography as _, colorSchemes as T } from "../theme/theme-primitives.js";
11
+ const o = ({
12
+ children: e,
13
+ disableCustomTheme: t,
14
+ themeComponents: r,
15
+ defaultMode: s = "system",
16
16
  // System preference by default
17
- theme: i,
18
- ...a
17
+ theme: n,
18
+ ...i
19
19
  }) => {
20
- const n = e.useMemo(() => o ? {} : p({
20
+ const l = m.useMemo(() => t ? {} : d({
21
21
  // CSS variables configuration for dynamic theming
22
22
  cssVariables: {
23
23
  colorSchemeSelector: "data-mui-color-scheme",
24
24
  cssVarPrefix: "s"
25
25
  // All CSS vars prefixed with '--s-'
26
26
  },
27
- colorSchemes: y,
27
+ colorSchemes: T,
28
28
  // Light/dark color schemes
29
- typography: j,
29
+ typography: _,
30
30
  // Custom typography scales
31
31
  shadows: g,
32
32
  // Custom shadow definitions
33
- shape: z,
33
+ shape: C,
34
34
  // Border radius and shape settings
35
35
  components: {
36
36
  // Merge all component customizations
37
- ...l,
38
- ...u,
39
- ...h,
40
- ...x,
41
- ...d,
42
37
  ...f,
43
- ...t
38
+ ...c,
39
+ ...h,
40
+ ...y,
41
+ ...v,
42
+ ...p,
43
+ ...r
44
44
  // Allow external overrides
45
45
  }
46
- }), [o, t]);
47
- return o ? /* @__PURE__ */ s.jsx(e.Fragment, { children: r }) : /* @__PURE__ */ s.jsx(
48
- c,
46
+ }), [t, r]);
47
+ return t ? /* @__PURE__ */ a.jsx(m.Fragment, { children: e }) : /* @__PURE__ */ a.jsx(
48
+ u,
49
49
  {
50
50
  disableTransitionOnChange: !0,
51
- ...a,
52
- theme: { ...n, ...i },
53
- defaultMode: m,
54
- children: r
51
+ ...i,
52
+ theme: { ...l, ...n },
53
+ defaultMode: s,
54
+ children: e
55
55
  }
56
56
  );
57
57
  };
58
+ o.displayName = "SThemeProvider";
59
+ try {
60
+ o.displayName = "SThemeProvider", o.__docgenInfo = { description: "Central theme provider for the design system.", displayName: "SThemeProvider", props: { children: { defaultValue: null, description: "Child components to receive theme context", name: "children", required: !0, type: { name: "ReactNode" } }, disableCustomTheme: { defaultValue: null, description: "Disable custom theme for testing/docs (falls back to no theme)", name: "disableCustomTheme", required: !1, type: { name: "boolean" } }, themeComponents: { defaultValue: null, description: "Additional theme component overrides", name: "themeComponents", required: !1, type: { name: 'Components<Omit<Theme, "components">>' } }, defaultMode: { defaultValue: { value: "system" }, description: "Default color mode (defaults to 'system')", name: "defaultMode", required: !1, type: { name: "enum", value: [{ value: '"light"' }, { value: '"dark"' }, { value: '"system"' }] } }, theme: { defaultValue: null, description: "Custom theme object to merge with internal theme", name: "theme", required: !1, type: { name: "Theme" } } } };
61
+ } catch {
62
+ }
63
+ try {
64
+ sthemeprovider.displayName = "sthemeprovider", sthemeprovider.__docgenInfo = { description: "Central theme provider for the design system.", displayName: "sthemeprovider", props: { children: { defaultValue: null, description: "Child components to receive theme context", name: "children", required: !0, type: { name: "ReactNode" } }, disableCustomTheme: { defaultValue: null, description: "Disable custom theme for testing/docs (falls back to no theme)", name: "disableCustomTheme", required: !1, type: { name: "boolean" } }, themeComponents: { defaultValue: null, description: "Additional theme component overrides", name: "themeComponents", required: !1, type: { name: 'Components<Omit<Theme, "components">>' } }, defaultMode: { defaultValue: { value: "system" }, description: "Default color mode (defaults to 'system')", name: "defaultMode", required: !1, type: { name: "enum", value: [{ value: '"light"' }, { value: '"dark"' }, { value: '"system"' }] } }, theme: { defaultValue: null, description: "Custom theme object to merge with internal theme", name: "theme", required: !1, type: { name: "Theme" } } } };
65
+ } catch {
66
+ }
58
67
  export {
59
- w as default
68
+ o as SThemeProvider,
69
+ o as default
60
70
  };
@@ -1,31 +1,31 @@
1
- import { j as t } from "../jsx-runtime-OVHDjVDe.js";
2
- import { useRef as f, useCallback as m } from "react";
1
+ import { j as e } from "../jsx-runtime-OVHDjVDe.js";
2
+ import { useRef as g, useCallback as l } from "react";
3
3
  import { IconButton as w } from "@mui/material";
4
- import { flushSync as M } from "react-dom";
5
- import { c as h } from "../createSvgIcon-DxwgGAVe.js";
6
- const k = h(/* @__PURE__ */ t.jsx("path", {
4
+ import { flushSync as y } from "react-dom";
5
+ import { c as m } from "../createSvgIcon-DxwgGAVe.js";
6
+ const M = m(/* @__PURE__ */ e.jsx("path", {
7
7
  d: "M12 3c-4.97 0-9 4.03-9 9s4.03 9 9 9 9-4.03 9-9c0-.46-.04-.92-.1-1.36-.98 1.37-2.58 2.26-4.4 2.26-2.98 0-5.4-2.42-5.4-5.4 0-1.81.89-3.42 2.26-4.4-.44-.06-.9-.1-1.36-.1"
8
- }), "DarkMode"), j = h(/* @__PURE__ */ t.jsx("path", {
8
+ }), "DarkMode"), v = m(/* @__PURE__ */ e.jsx("path", {
9
9
  d: "M12 7c-2.76 0-5 2.24-5 5s2.24 5 5 5 5-2.24 5-5-2.24-5-5-5M2 13h2c.55 0 1-.45 1-1s-.45-1-1-1H2c-.55 0-1 .45-1 1s.45 1 1 1m18 0h2c.55 0 1-.45 1-1s-.45-1-1-1h-2c-.55 0-1 .45-1 1s.45 1 1 1M11 2v2c0 .55.45 1 1 1s1-.45 1-1V2c0-.55-.45-1-1-1s-1 .45-1 1m0 18v2c0 .55.45 1 1 1s1-.45 1-1v-2c0-.55-.45-1-1-1s-1 .45-1 1M5.99 4.58c-.39-.39-1.03-.39-1.41 0-.39.39-.39 1.03 0 1.41l1.06 1.06c.39.39 1.03.39 1.41 0s.39-1.03 0-1.41zm12.37 12.37c-.39-.39-1.03-.39-1.41 0-.39.39-.39 1.03 0 1.41l1.06 1.06c.39.39 1.03.39 1.41 0 .39-.39.39-1.03 0-1.41zm1.06-10.96c.39-.39.39-1.03 0-1.41-.39-.39-1.03-.39-1.41 0l-1.06 1.06c-.39.39-.39 1.03 0 1.41s1.03.39 1.41 0zM7.05 18.36c.39-.39.39-1.03 0-1.41-.39-.39-1.03-.39-1.41 0l-1.06 1.06c-.39.39-.39 1.03 0 1.41s1.03.39 1.41 0z"
10
- }), "LightMode"), z = ({ mode: n, setMode: c, sx: l }) => {
11
- const o = f(null), u = n === "dark", s = m(() => {
10
+ }), "LightMode"), V = ({ mode: t, setMode: s, sx: d }) => {
11
+ const n = g(null), u = t === "dark", a = l(() => {
12
12
  setTimeout(() => {
13
- c == null || c(n === "dark" ? "light" : "dark");
13
+ s == null || s(t === "dark" ? "light" : "dark");
14
14
  }, 0);
15
- }, [n, c]), d = m(async () => {
16
- if (!o.current || !document.startViewTransition) {
17
- s();
15
+ }, [t, s]), h = l(async () => {
16
+ if (!n.current || !document.startViewTransition) {
17
+ a();
18
18
  return;
19
19
  }
20
20
  await document.startViewTransition(() => {
21
- M(() => {
22
- s();
21
+ y(() => {
22
+ a();
23
23
  });
24
24
  }).ready;
25
- const { top: e, left: i, width: p, height: x } = o.current.getBoundingClientRect(), r = i + p / 2, a = e + x / 2, g = Math.hypot(Math.max(i, window.innerWidth - i), Math.max(e, window.innerHeight - e));
25
+ const { top: c, left: o, width: p, height: x } = n.current.getBoundingClientRect(), i = o + p / 2, r = c + x / 2, f = Math.hypot(Math.max(o, window.innerWidth - o), Math.max(c, window.innerHeight - c));
26
26
  document.documentElement.animate(
27
27
  {
28
- clipPath: [`circle(0px at ${r}px ${a}px)`, `circle(${g}px at ${r}px ${a}px)`]
28
+ clipPath: [`circle(0px at ${i}px ${r}px)`, `circle(${f}px at ${i}px ${r}px)`]
29
29
  },
30
30
  {
31
31
  duration: 700,
@@ -33,9 +33,13 @@ const k = h(/* @__PURE__ */ t.jsx("path", {
33
33
  pseudoElement: "::view-transition-new(root)"
34
34
  }
35
35
  );
36
- }, [s]);
37
- return /* @__PURE__ */ t.jsx(w, { ref: o, onClick: d, sx: l, children: u ? /* @__PURE__ */ t.jsx(j, {}) : /* @__PURE__ */ t.jsx(k, {}) });
36
+ }, [a]);
37
+ return /* @__PURE__ */ e.jsx(w, { ref: n, onClick: h, sx: d, children: u ? /* @__PURE__ */ e.jsx(v, {}) : /* @__PURE__ */ e.jsx(M, {}) });
38
38
  };
39
+ try {
40
+ sthemeswitch.displayName = "sthemeswitch", sthemeswitch.__docgenInfo = { description: "", displayName: "sthemeswitch", props: { mode: { defaultValue: null, description: "", name: "mode", required: !1, type: { name: "enum", value: [{ value: '"light"' }, { value: '"dark"' }, { value: '"system"' }] } }, setMode: { defaultValue: null, description: "", name: "setMode", required: !1, type: { name: "((mode: SThemeMode) => void)" } }, sx: { defaultValue: null, description: "", name: "sx", required: !1, type: { name: "SxProps<Theme>" } } } };
41
+ } catch {
42
+ }
39
43
  export {
40
- z as default
44
+ V as default
41
45
  };
@@ -1,4 +1,4 @@
1
- import { default as o } from "./s-tip.js";
1
+ import { STip as f } from "./s-tip.js";
2
2
  export {
3
- o as default
3
+ f as default
4
4
  };
@@ -7,27 +7,10 @@ export interface STipProps {
7
7
  message: string;
8
8
  }
9
9
  /**
10
- * STip - A styled tip/hint component for displaying helpful information to users.
11
- * Features a lightbulb icon and "Tip." prefix for clear visual identification.
12
- *
13
- * Key features:
14
- * - Distinctive lightbulb icon for immediate recognition
15
- * - Bold "Tip." prefix for clear categorization
16
- * - Consistent background and text coloring
17
- * - Rounded corners for modern appearance
18
- * - Horizontal layout with proper spacing
19
- * - CSS custom properties for theme integration
20
- * - Compact 16px icon size for subtle presence
21
- *
22
- * Common use cases:
23
- * - Form hints and guidance
24
- * - Feature explanations
25
- * - Best practice suggestions
26
- * - User onboarding tips
27
- * - Contextual help information
28
- *
29
- * @param props - STipProps with the message to display
30
- * @returns JSX.Element - Styled tip component with icon and message
10
+ * A simple tip component that displays helpful information with a lightbulb icon.
31
11
  */
32
- declare const STip: ({ message }: STipProps) => React.JSX.Element;
12
+ export declare const STip: {
13
+ ({ message }: STipProps): React.JSX.Element;
14
+ displayName: string;
15
+ };
33
16
  export default STip;
@@ -1,11 +1,11 @@
1
- import { j as t } from "../jsx-runtime-OVHDjVDe.js";
2
- import { c } from "../createSvgIcon-DxwgGAVe.js";
3
- import { S as i } from "../Stack-Cq2r2NmC.js";
4
- import { T as o } from "../Typography-B7LOtCzI.js";
5
- const s = c(/* @__PURE__ */ t.jsx("path", {
1
+ import { j as e } from "../jsx-runtime-OVHDjVDe.js";
2
+ import { c as a } from "../createSvgIcon-DxwgGAVe.js";
3
+ import { S as r } from "../Stack-Cq2r2NmC.js";
4
+ import { T as s } from "../Typography-C8jwvSWe.js";
5
+ const o = a(/* @__PURE__ */ e.jsx("path", {
6
6
  d: "M9 21c0 .55.45 1 1 1h4c.55 0 1-.45 1-1v-1H9zm3-19C8.14 2 5 5.14 5 9c0 2.38 1.19 4.47 3 5.74V17c0 .55.45 1 1 1h6c.55 0 1-.45 1-1v-2.26c1.81-1.27 3-3.36 3-5.74 0-3.86-3.14-7-7-7m2 11.7V16h-4v-2.3C8.48 12.63 7 11.53 7 9c0-2.76 2.24-5 5-5s5 2.24 5 5c0 2.49-1.51 3.65-3 4.7"
7
- }), "LightbulbOutline"), l = ({ message: r }) => /* @__PURE__ */ t.jsxs(
8
- i,
7
+ }), "LightbulbOutline"), i = ({ message: t }) => /* @__PURE__ */ e.jsxs(
8
+ r,
9
9
  {
10
10
  direction: "row",
11
11
  spacing: 1,
@@ -18,15 +18,25 @@ const s = c(/* @__PURE__ */ t.jsx("path", {
18
18
  color: "text.secondary"
19
19
  },
20
20
  children: [
21
- /* @__PURE__ */ t.jsx(s, { sx: { fontSize: 16 } }),
22
- /* @__PURE__ */ t.jsxs(o, { variant: "body2", children: [
23
- /* @__PURE__ */ t.jsx(o, { component: "span", sx: { fontWeight: "bold" }, variant: "inherit", children: "Tip." }),
21
+ /* @__PURE__ */ e.jsx(o, { sx: { fontSize: 16 } }),
22
+ /* @__PURE__ */ e.jsxs(s, { variant: "body2", children: [
23
+ /* @__PURE__ */ e.jsx(s, { component: "span", sx: { fontWeight: "bold" }, variant: "inherit", children: "Tip." }),
24
24
  " ",
25
- r
25
+ t
26
26
  ] })
27
27
  ]
28
28
  }
29
29
  );
30
+ i.displayName = "STip";
31
+ try {
32
+ i.displayName = "STip", i.__docgenInfo = { description: "A simple tip component that displays helpful information with a lightbulb icon.", displayName: "STip", props: { message: { defaultValue: null, description: "The tip message to display", name: "message", required: !0, type: { name: "string" } } } };
33
+ } catch {
34
+ }
35
+ try {
36
+ stip.displayName = "stip", stip.__docgenInfo = { description: "A simple tip component that displays helpful information with a lightbulb icon.", displayName: "stip", props: { message: { defaultValue: null, description: "The tip message to display", name: "message", required: !0, type: { name: "string" } } } };
37
+ } catch {
38
+ }
30
39
  export {
31
- l as default
40
+ i as STip,
41
+ i as default
32
42
  };
@@ -1,4 +1,12 @@
1
- import { default as o } from "./s-two-pane-layout.js";
1
+ import { STwoPaneLayout as n } from "./s-two-pane-layout.js";
2
+ try {
3
+ stwopanelayout.displayName = "stwopanelayout", stwopanelayout.__docgenInfo = { description: "A flexible two-pane layout component with customizable sidebar and content areas.", displayName: "stwopanelayout", props: { sidebar: { defaultValue: null, description: "Content to display in the sidebar pane", name: "sidebar", required: !0, type: { name: "ReactNode" } }, content: { defaultValue: null, description: "Content to display in the main content pane", name: "content", required: !0, type: { name: "ReactNode" } }, sidebarWidth: { defaultValue: { value: "280" }, description: "Width of the sidebar in pixels. Default: 280", name: "sidebarWidth", required: !1, type: { name: "string | number" } }, height: { defaultValue: { value: "calc(100vh - 65px)" }, description: "Container height. Can be a CSS value or 'auto'. Default: 'calc(100vh - 65px)'", name: "height", required: !1, type: { name: "string | number" } }, containerSx: { defaultValue: null, description: "Custom styles for the main container", name: "containerSx", required: !1, type: { name: "SxProps<Theme>" } }, sidebarSx: { defaultValue: null, description: "Custom styles for the sidebar container", name: "sidebarSx", required: !1, type: { name: "SxProps<Theme>" } }, contentSx: { defaultValue: null, description: "Custom styles for the content container", name: "contentSx", required: !1, type: { name: "SxProps<Theme>" } }, sidebarHeaderSx: { defaultValue: null, description: "Custom styles for the sidebar header", name: "sidebarHeaderSx", required: !1, type: { name: "SxProps<Theme>" } }, contentHeaderSx: { defaultValue: null, description: "Custom styles for the content header", name: "contentHeaderSx", required: !1, type: { name: "SxProps<Theme>" } }, sidebarScrollSx: { defaultValue: null, description: "Custom styles for the sidebar scrollable area", name: "sidebarScrollSx", required: !1, type: { name: "SxProps<Theme>" } }, contentScrollSx: { defaultValue: null, description: "Custom styles for the content scrollable area", name: "contentScrollSx", required: !1, type: { name: "SxProps<Theme>" } }, disableBorder: { defaultValue: { value: "false" }, description: "Hide border between sidebar and content. Default: false", name: "disableBorder", required: !1, type: { name: "boolean" } }, sidebarHeader: { defaultValue: null, description: "Optional header content for the sidebar", name: "sidebarHeader", required: !1, type: { name: "ReactNode" } }, contentHeader: { defaultValue: null, description: "Optional header content for the main content area", name: "contentHeader", required: !1, type: { name: "ReactNode" } }, enableSidebarScroll: { defaultValue: { value: "true" }, description: "Enable scrollbar for sidebar. Default: true", name: "enableSidebarScroll", required: !1, type: { name: "boolean" } }, enableContentScroll: { defaultValue: { value: "false" }, description: "Enable scrollbar for content. Default: false", name: "enableContentScroll", required: !1, type: { name: "boolean" } }, sidebarPosition: { defaultValue: { value: "left" }, description: "Sidebar position. Default: 'left'", name: "sidebarPosition", required: !1, type: { name: "enum", value: [{ value: '"right"' }, { value: '"left"' }] } }, sidebarPadding: { defaultValue: { value: "1" }, description: "Padding for sidebar content. Default: 1", name: "sidebarPadding", required: !1, type: { name: "string | number" } }, contentPadding: { defaultValue: { value: "1" }, description: "Padding for main content. Default: 0", name: "contentPadding", required: !1, type: { name: "string | number" } }, sidebarHeaderPadding: { defaultValue: { value: "2" }, description: "Padding for sidebar header. Default: 2", name: "sidebarHeaderPadding", required: !1, type: { name: "string | number" } }, contentHeaderPadding: { defaultValue: { value: "2" }, description: "Padding for content header. Default: 2", name: "contentHeaderPadding", required: !1, type: { name: "string | number" } } } };
4
+ } catch {
5
+ }
6
+ try {
7
+ STwoPaneLayoutProps.displayName = "STwoPaneLayoutProps", STwoPaneLayoutProps.__docgenInfo = { description: "Props for the STwoPaneLayout component", displayName: "STwoPaneLayoutProps", props: {} };
8
+ } catch {
9
+ }
2
10
  export {
3
- o as default
11
+ n as default
4
12
  };
@@ -1,5 +1,8 @@
1
1
  import { FC, ReactNode } from 'react';
2
2
  import { SxProps, Theme } from '@mui/material';
3
+ /**
4
+ * Props for the STwoPaneLayout component
5
+ */
3
6
  export interface STwoPaneLayoutProps {
4
7
  /** Content to display in the sidebar pane */
5
8
  sidebar: ReactNode;
@@ -44,5 +47,8 @@ export interface STwoPaneLayoutProps {
44
47
  /** Padding for content header. Default: 2 */
45
48
  contentHeaderPadding?: number | string;
46
49
  }
47
- declare const STwoPaneLayout: FC<STwoPaneLayoutProps>;
50
+ /**
51
+ * A flexible two-pane layout component with customizable sidebar and content areas.
52
+ */
53
+ export declare const STwoPaneLayout: FC<STwoPaneLayoutProps>;
48
54
  export default STwoPaneLayout;
@@ -1,71 +1,81 @@
1
- import { j as r } from "../jsx-runtime-OVHDjVDe.js";
2
- import { Box as e } from "@mui/material";
3
- import L from "../s-flex-box/s-flex-box.js";
4
- import p from "../s-overlay-scrollbar/s-overlay-scrollbar.js";
5
- const T = ({
6
- sidebar: l,
7
- content: o,
8
- sidebarWidth: u = 280,
9
- height: v = "calc(100vh - 65px)",
10
- containerSx: w,
11
- sidebarSx: a,
12
- contentSx: g,
13
- sidebarHeaderSx: y,
14
- contentHeaderSx: B,
15
- sidebarScrollSx: i,
16
- contentScrollSx: s,
17
- disableBorder: h = !1,
18
- sidebarHeader: d,
19
- contentHeader: t,
20
- enableSidebarScroll: D = !0,
21
- enableContentScroll: f = !1,
22
- sidebarPosition: x = "left",
23
- sidebarPadding: n = 1,
24
- contentPadding: c = 1,
25
- sidebarHeaderPadding: F = 2,
26
- contentHeaderPadding: C = 2
1
+ import { j as e } from "../jsx-runtime-OVHDjVDe.js";
2
+ import { Box as a } from "@mui/material";
3
+ import { SFlexBox as D } from "../s-flex-box/s-flex-box.js";
4
+ import { SOverlayScrollbar as h } from "../s-overlay-scrollbar/s-overlay-scrollbar.js";
5
+ const r = ({
6
+ sidebar: t,
7
+ content: l,
8
+ sidebarWidth: x = 280,
9
+ height: y = "calc(100vh - 65px)",
10
+ containerSx: S,
11
+ sidebarSx: g,
12
+ contentSx: P,
13
+ sidebarHeaderSx: q,
14
+ contentHeaderSx: V,
15
+ sidebarScrollSx: d,
16
+ contentScrollSx: i,
17
+ disableBorder: o = !1,
18
+ sidebarHeader: s,
19
+ contentHeader: u,
20
+ enableSidebarScroll: v = !0,
21
+ enableContentScroll: c = !1,
22
+ sidebarPosition: n = "left",
23
+ sidebarPadding: f = 1,
24
+ contentPadding: m = 1,
25
+ sidebarHeaderPadding: C = 2,
26
+ contentHeaderPadding: H = 2
27
27
  }) => {
28
- const j = /* @__PURE__ */ r.jsxs(
29
- e,
28
+ const p = /* @__PURE__ */ e.jsxs(
29
+ a,
30
30
  {
31
31
  sx: {
32
- width: u,
33
- borderRight: !h && x === "left" ? 1 : 0,
34
- borderLeft: !h && x === "right" ? 1 : 0,
32
+ width: x,
33
+ borderRight: !o && n === "left" ? 1 : 0,
34
+ borderLeft: !o && n === "right" ? 1 : 0,
35
35
  borderColor: "divider",
36
36
  display: "flex",
37
37
  flexDirection: "column",
38
- ...a
38
+ ...g
39
39
  },
40
40
  children: [
41
- d && /* @__PURE__ */ r.jsx(e, { sx: { p: F, borderBottom: 1, borderColor: "divider", ...y }, children: d }),
42
- /* @__PURE__ */ r.jsx(e, { sx: { flex: 1, minHeight: 0 }, children: D ? /* @__PURE__ */ r.jsx(p, { children: /* @__PURE__ */ r.jsx(e, { sx: { p: n, ...i }, children: l }) }) : /* @__PURE__ */ r.jsx(e, { sx: { p: n, height: "100%", overflow: "hidden", ...i }, children: l }) })
41
+ s && /* @__PURE__ */ e.jsx(a, { sx: { p: C, borderBottom: 1, borderColor: "divider", ...q }, children: s }),
42
+ /* @__PURE__ */ e.jsx(a, { sx: { flex: 1, minHeight: 0 }, children: v ? /* @__PURE__ */ e.jsx(h, { children: /* @__PURE__ */ e.jsx(a, { sx: { p: f, ...d }, children: t }) }) : /* @__PURE__ */ e.jsx(a, { sx: { p: f, height: "100%", overflow: "hidden", ...d }, children: t }) })
43
43
  ]
44
44
  }
45
- ), m = /* @__PURE__ */ r.jsxs(e, { sx: { flex: 1, display: "flex", flexDirection: "column", ...g }, height: "100%", children: [
46
- t && /* @__PURE__ */ r.jsx(e, { sx: { p: C, borderBottom: 1, borderColor: "divider", ...B }, children: t }),
47
- /* @__PURE__ */ r.jsx(e, { sx: { flex: 1, overflow: f ? "auto" : "hidden" }, children: f ? /* @__PURE__ */ r.jsx(p, { children: /* @__PURE__ */ r.jsx(e, { sx: { p: c, ...s }, children: o }) }) : /* @__PURE__ */ r.jsx(e, { sx: { p: c, height: "100%", ...s }, children: o }) })
45
+ ), b = /* @__PURE__ */ e.jsxs(a, { sx: { flex: 1, display: "flex", flexDirection: "column", ...P }, height: "100%", children: [
46
+ u && /* @__PURE__ */ e.jsx(a, { sx: { p: H, borderBottom: 1, borderColor: "divider", ...V }, children: u }),
47
+ /* @__PURE__ */ e.jsx(a, { sx: { flex: 1, overflow: c ? "auto" : "hidden" }, children: c ? /* @__PURE__ */ e.jsx(h, { children: /* @__PURE__ */ e.jsx(a, { sx: { p: m, ...i }, children: l }) }) : /* @__PURE__ */ e.jsx(a, { sx: { p: m, height: "100%", ...i }, children: l }) })
48
48
  ] });
49
- return /* @__PURE__ */ r.jsx(
50
- L,
49
+ return /* @__PURE__ */ e.jsx(
50
+ D,
51
51
  {
52
52
  sx: {
53
- height: v,
53
+ height: y,
54
54
  flexDirection: "row",
55
55
  width: "100%",
56
56
  overflow: "hidden",
57
- ...w
57
+ ...S
58
58
  },
59
- children: x === "left" ? /* @__PURE__ */ r.jsxs(r.Fragment, { children: [
60
- j,
61
- m
62
- ] }) : /* @__PURE__ */ r.jsxs(r.Fragment, { children: [
63
- m,
64
- j
59
+ children: n === "left" ? /* @__PURE__ */ e.jsxs(e.Fragment, { children: [
60
+ p,
61
+ b
62
+ ] }) : /* @__PURE__ */ e.jsxs(e.Fragment, { children: [
63
+ b,
64
+ p
65
65
  ] })
66
66
  }
67
67
  );
68
68
  };
69
+ r.displayName = "STwoPaneLayout";
70
+ try {
71
+ r.displayName = "STwoPaneLayout", r.__docgenInfo = { description: "A flexible two-pane layout component with customizable sidebar and content areas.", displayName: "STwoPaneLayout", props: { sidebar: { defaultValue: null, description: "Content to display in the sidebar pane", name: "sidebar", required: !0, type: { name: "ReactNode" } }, content: { defaultValue: null, description: "Content to display in the main content pane", name: "content", required: !0, type: { name: "ReactNode" } }, sidebarWidth: { defaultValue: { value: "280" }, description: "Width of the sidebar in pixels. Default: 280", name: "sidebarWidth", required: !1, type: { name: "string | number" } }, height: { defaultValue: { value: "calc(100vh - 65px)" }, description: "Container height. Can be a CSS value or 'auto'. Default: 'calc(100vh - 65px)'", name: "height", required: !1, type: { name: "string | number" } }, containerSx: { defaultValue: null, description: "Custom styles for the main container", name: "containerSx", required: !1, type: { name: "SxProps<Theme>" } }, sidebarSx: { defaultValue: null, description: "Custom styles for the sidebar container", name: "sidebarSx", required: !1, type: { name: "SxProps<Theme>" } }, contentSx: { defaultValue: null, description: "Custom styles for the content container", name: "contentSx", required: !1, type: { name: "SxProps<Theme>" } }, sidebarHeaderSx: { defaultValue: null, description: "Custom styles for the sidebar header", name: "sidebarHeaderSx", required: !1, type: { name: "SxProps<Theme>" } }, contentHeaderSx: { defaultValue: null, description: "Custom styles for the content header", name: "contentHeaderSx", required: !1, type: { name: "SxProps<Theme>" } }, sidebarScrollSx: { defaultValue: null, description: "Custom styles for the sidebar scrollable area", name: "sidebarScrollSx", required: !1, type: { name: "SxProps<Theme>" } }, contentScrollSx: { defaultValue: null, description: "Custom styles for the content scrollable area", name: "contentScrollSx", required: !1, type: { name: "SxProps<Theme>" } }, disableBorder: { defaultValue: { value: "false" }, description: "Hide border between sidebar and content. Default: false", name: "disableBorder", required: !1, type: { name: "boolean" } }, sidebarHeader: { defaultValue: null, description: "Optional header content for the sidebar", name: "sidebarHeader", required: !1, type: { name: "ReactNode" } }, contentHeader: { defaultValue: null, description: "Optional header content for the main content area", name: "contentHeader", required: !1, type: { name: "ReactNode" } }, enableSidebarScroll: { defaultValue: { value: "true" }, description: "Enable scrollbar for sidebar. Default: true", name: "enableSidebarScroll", required: !1, type: { name: "boolean" } }, enableContentScroll: { defaultValue: { value: "false" }, description: "Enable scrollbar for content. Default: false", name: "enableContentScroll", required: !1, type: { name: "boolean" } }, sidebarPosition: { defaultValue: { value: "left" }, description: "Sidebar position. Default: 'left'", name: "sidebarPosition", required: !1, type: { name: "enum", value: [{ value: '"right"' }, { value: '"left"' }] } }, sidebarPadding: { defaultValue: { value: "1" }, description: "Padding for sidebar content. Default: 1", name: "sidebarPadding", required: !1, type: { name: "string | number" } }, contentPadding: { defaultValue: { value: "1" }, description: "Padding for main content. Default: 0", name: "contentPadding", required: !1, type: { name: "string | number" } }, sidebarHeaderPadding: { defaultValue: { value: "2" }, description: "Padding for sidebar header. Default: 2", name: "sidebarHeaderPadding", required: !1, type: { name: "string | number" } }, contentHeaderPadding: { defaultValue: { value: "2" }, description: "Padding for content header. Default: 2", name: "contentHeaderPadding", required: !1, type: { name: "string | number" } } } };
72
+ } catch {
73
+ }
74
+ try {
75
+ stwopanelayout.displayName = "stwopanelayout", stwopanelayout.__docgenInfo = { description: "A flexible two-pane layout component with customizable sidebar and content areas.", displayName: "stwopanelayout", props: { sidebar: { defaultValue: null, description: "Content to display in the sidebar pane", name: "sidebar", required: !0, type: { name: "ReactNode" } }, content: { defaultValue: null, description: "Content to display in the main content pane", name: "content", required: !0, type: { name: "ReactNode" } }, sidebarWidth: { defaultValue: { value: "280" }, description: "Width of the sidebar in pixels. Default: 280", name: "sidebarWidth", required: !1, type: { name: "string | number" } }, height: { defaultValue: { value: "calc(100vh - 65px)" }, description: "Container height. Can be a CSS value or 'auto'. Default: 'calc(100vh - 65px)'", name: "height", required: !1, type: { name: "string | number" } }, containerSx: { defaultValue: null, description: "Custom styles for the main container", name: "containerSx", required: !1, type: { name: "SxProps<Theme>" } }, sidebarSx: { defaultValue: null, description: "Custom styles for the sidebar container", name: "sidebarSx", required: !1, type: { name: "SxProps<Theme>" } }, contentSx: { defaultValue: null, description: "Custom styles for the content container", name: "contentSx", required: !1, type: { name: "SxProps<Theme>" } }, sidebarHeaderSx: { defaultValue: null, description: "Custom styles for the sidebar header", name: "sidebarHeaderSx", required: !1, type: { name: "SxProps<Theme>" } }, contentHeaderSx: { defaultValue: null, description: "Custom styles for the content header", name: "contentHeaderSx", required: !1, type: { name: "SxProps<Theme>" } }, sidebarScrollSx: { defaultValue: null, description: "Custom styles for the sidebar scrollable area", name: "sidebarScrollSx", required: !1, type: { name: "SxProps<Theme>" } }, contentScrollSx: { defaultValue: null, description: "Custom styles for the content scrollable area", name: "contentScrollSx", required: !1, type: { name: "SxProps<Theme>" } }, disableBorder: { defaultValue: { value: "false" }, description: "Hide border between sidebar and content. Default: false", name: "disableBorder", required: !1, type: { name: "boolean" } }, sidebarHeader: { defaultValue: null, description: "Optional header content for the sidebar", name: "sidebarHeader", required: !1, type: { name: "ReactNode" } }, contentHeader: { defaultValue: null, description: "Optional header content for the main content area", name: "contentHeader", required: !1, type: { name: "ReactNode" } }, enableSidebarScroll: { defaultValue: { value: "true" }, description: "Enable scrollbar for sidebar. Default: true", name: "enableSidebarScroll", required: !1, type: { name: "boolean" } }, enableContentScroll: { defaultValue: { value: "false" }, description: "Enable scrollbar for content. Default: false", name: "enableContentScroll", required: !1, type: { name: "boolean" } }, sidebarPosition: { defaultValue: { value: "left" }, description: "Sidebar position. Default: 'left'", name: "sidebarPosition", required: !1, type: { name: "enum", value: [{ value: '"right"' }, { value: '"left"' }] } }, sidebarPadding: { defaultValue: { value: "1" }, description: "Padding for sidebar content. Default: 1", name: "sidebarPadding", required: !1, type: { name: "string | number" } }, contentPadding: { defaultValue: { value: "1" }, description: "Padding for main content. Default: 0", name: "contentPadding", required: !1, type: { name: "string | number" } }, sidebarHeaderPadding: { defaultValue: { value: "2" }, description: "Padding for sidebar header. Default: 2", name: "sidebarHeaderPadding", required: !1, type: { name: "string | number" } }, contentHeaderPadding: { defaultValue: { value: "2" }, description: "Padding for content header. Default: 2", name: "contentHeaderPadding", required: !1, type: { name: "string | number" } } } };
76
+ } catch {
77
+ }
69
78
  export {
70
- T as default
79
+ r as STwoPaneLayout,
80
+ r as default
71
81
  };
@@ -1,4 +1,4 @@
1
- import { default as o } from "./s-typewriter-text.js";
1
+ import { STypewriterText as t } from "./s-typewriter-text.js";
2
2
  export {
3
- o as default
3
+ t as default
4
4
  };
@@ -1,12 +1,28 @@
1
1
  import { TypographyProps } from '@mui/material';
2
+ /**
3
+ * Props interface for STypewriterText component
4
+ */
2
5
  export interface STypewriterTextProps extends Omit<TypographyProps, 'children'> {
6
+ /** The text to display with typewriter effect. Can be a single string or array of strings for sequential display. */
3
7
  text: string | string[];
8
+ /** Speed of typing animation in milliseconds per character */
4
9
  speed?: number;
10
+ /** Character to display as the typing cursor */
5
11
  cursor?: string;
12
+ /** Whether the cursor should blink */
6
13
  cursorBlinking?: boolean;
14
+ /** Whether to loop the animation continuously */
7
15
  loop?: boolean;
16
+ /** Speed of deletion animation in milliseconds per character (when looping) */
8
17
  deleteSpeed?: number;
18
+ /** Delay in milliseconds before deleting text (when looping) */
9
19
  delay?: number;
10
20
  }
11
- declare function STypewriterText({ text, speed, cursor, cursorBlinking, loop, deleteSpeed, delay, ...typographyProps }: STypewriterTextProps): import("react/jsx-runtime").JSX.Element;
21
+ /**
22
+ * An animated text component that creates a typewriter effect with customizable speed and looping.
23
+ */
24
+ export declare const STypewriterText: {
25
+ ({ text, speed, cursor, cursorBlinking, loop, deleteSpeed, delay, ...typographyProps }: STypewriterTextProps): React.JSX.Element;
26
+ displayName: string;
27
+ };
12
28
  export default STypewriterText;
@@ -1,44 +1,54 @@
1
- import { j as y } from "../jsx-runtime-OVHDjVDe.js";
2
- import { useState as n, useEffect as j } from "react";
3
- import { Typography as k, Box as D } from "@mui/material";
4
- function B({
5
- text: r,
6
- speed: c = 100,
7
- cursor: T = "|",
8
- cursorBlinking: g = !0,
9
- loop: l = !1,
10
- deleteSpeed: f = 50,
11
- delay: u = 1500,
12
- ...h
13
- }) {
14
- const [s, x] = n(""), [i, m] = n(0), [o, p] = n(!1), [A, I] = n(0), a = Array.isArray(r) ? r : [r], t = a[A] || "";
15
- return j(() => {
16
- if (!t) return;
17
- const d = setTimeout(
1
+ import { j as h } from "../jsx-runtime-OVHDjVDe.js";
2
+ import { useState as a, useEffect as _ } from "react";
3
+ import { Typography as V, Box as v } from "@mui/material";
4
+ const s = ({
5
+ text: t,
6
+ speed: p = 100,
7
+ cursor: g = "|",
8
+ cursorBlinking: x = !0,
9
+ loop: u = !1,
10
+ deleteSpeed: d = 50,
11
+ delay: c = 1500,
12
+ ...b
13
+ }) => {
14
+ const [n, m] = a(""), [i, y] = a(0), [l, f] = a(!1), [w, T] = a(0), o = Array.isArray(t) ? t : [t], r = o[w] || "";
15
+ return _(() => {
16
+ if (!r) return;
17
+ const q = setTimeout(
18
18
  () => {
19
- o ? s.length > 0 ? x((e) => e.slice(0, -1)) : (p(!1), m(0), I((e) => (e + 1) % a.length)) : i < t.length ? (x((e) => e + t[i]), m((e) => e + 1)) : l && setTimeout(() => p(!0), u);
19
+ l ? n.length > 0 ? m((e) => e.slice(0, -1)) : (f(!1), y(0), T((e) => (e + 1) % o.length)) : i < r.length ? (m((e) => e + r[i]), y((e) => e + 1)) : u && setTimeout(() => f(!0), c);
20
20
  },
21
- o ? f : c
21
+ l ? d : p
22
22
  );
23
- return () => clearTimeout(d);
24
- }, [i, o, t, l, c, f, u, s, a.length]), /* @__PURE__ */ y.jsxs(k, { component: "span", ...h, children: [
25
- s,
26
- /* @__PURE__ */ y.jsx(
27
- D,
23
+ return () => clearTimeout(q);
24
+ }, [i, l, r, u, p, d, c, n, o.length]), /* @__PURE__ */ h.jsxs(V, { component: "span", ...b, children: [
25
+ n,
26
+ /* @__PURE__ */ h.jsx(
27
+ v,
28
28
  {
29
29
  component: "span",
30
30
  sx: {
31
- animation: g ? "blink 1s infinite" : "none",
31
+ animation: x ? "blink 1s infinite" : "none",
32
32
  "@keyframes blink": {
33
33
  "0%, 50%": { opacity: 1 },
34
34
  "51%, 100%": { opacity: 0 }
35
35
  }
36
36
  },
37
- children: T
37
+ children: g
38
38
  }
39
39
  )
40
40
  ] });
41
+ };
42
+ s.displayName = "STypewriterText";
43
+ try {
44
+ s.displayName = "STypewriterText", s.__docgenInfo = { description: "An animated text component that creates a typewriter effect with customizable speed and looping.", displayName: "STypewriterText", props: { text: { defaultValue: null, description: "The text to display with typewriter effect. Can be a single string or array of strings for sequential display.", name: "text", required: !0, type: { name: "string | string[]" } }, speed: { defaultValue: { value: "100" }, description: "Speed of typing animation in milliseconds per character", name: "speed", required: !1, type: { name: "number" } }, cursor: { defaultValue: { value: "|" }, description: "Character to display as the typing cursor", name: "cursor", required: !1, type: { name: "string" } }, cursorBlinking: { defaultValue: { value: "true" }, description: "Whether the cursor should blink", name: "cursorBlinking", required: !1, type: { name: "boolean" } }, loop: { defaultValue: { value: "false" }, description: "Whether to loop the animation continuously", name: "loop", required: !1, type: { name: "boolean" } }, deleteSpeed: { defaultValue: { value: "50" }, description: "Speed of deletion animation in milliseconds per character (when looping)", name: "deleteSpeed", required: !1, type: { name: "number" } }, delay: { defaultValue: { value: "1500" }, description: "Delay in milliseconds before deleting text (when looping)", name: "delay", required: !1, type: { name: "number" } } } };
45
+ } catch {
46
+ }
47
+ try {
48
+ stypewritertext.displayName = "stypewritertext", stypewritertext.__docgenInfo = { description: "An animated text component that creates a typewriter effect with customizable speed and looping.", displayName: "stypewritertext", props: { text: { defaultValue: null, description: "The text to display with typewriter effect. Can be a single string or array of strings for sequential display.", name: "text", required: !0, type: { name: "string | string[]" } }, speed: { defaultValue: { value: "100" }, description: "Speed of typing animation in milliseconds per character", name: "speed", required: !1, type: { name: "number" } }, cursor: { defaultValue: { value: "|" }, description: "Character to display as the typing cursor", name: "cursor", required: !1, type: { name: "string" } }, cursorBlinking: { defaultValue: { value: "true" }, description: "Whether the cursor should blink", name: "cursorBlinking", required: !1, type: { name: "boolean" } }, loop: { defaultValue: { value: "false" }, description: "Whether to loop the animation continuously", name: "loop", required: !1, type: { name: "boolean" } }, deleteSpeed: { defaultValue: { value: "50" }, description: "Speed of deletion animation in milliseconds per character (when looping)", name: "deleteSpeed", required: !1, type: { name: "number" } }, delay: { defaultValue: { value: "1500" }, description: "Delay in milliseconds before deleting text (when looping)", name: "delay", required: !1, type: { name: "number" } } } };
49
+ } catch {
41
50
  }
42
51
  export {
43
- B as default
52
+ s as STypewriterText,
53
+ s as default
44
54
  };