@solostylist/ui-kit 1.0.167 → 1.0.169

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 (248) 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 +187 -173
  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 +33 -22
  13. package/dist/s-ai-tool-bar/s-ai-tool-bar.js +295 -247
  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.js +2 -2
  154. package/dist/s-pixel-reveal/s-pixel-reveal.d.ts +15 -1
  155. package/dist/s-pixel-reveal/s-pixel-reveal.js +83 -78
  156. package/dist/s-radial-pulse-animate/index.js +2 -2
  157. package/dist/s-radial-pulse-animate/s-radial-pulse-animate.d.ts +12 -1
  158. package/dist/s-radial-pulse-animate/s-radial-pulse-animate.js +52 -42
  159. package/dist/s-rating/index.js +2 -2
  160. package/dist/s-rating/s-rating.d.ts +7 -1
  161. package/dist/s-rating/s-rating.js +15 -5
  162. package/dist/s-review/index.js +2 -2
  163. package/dist/s-review/s-review.d.ts +25 -1
  164. package/dist/s-review/s-review.js +104 -97
  165. package/dist/s-scroll-reveal/index.js +2 -2
  166. package/dist/s-scroll-reveal/s-scroll-reveal.d.ts +17 -36
  167. package/dist/s-scroll-reveal/s-scroll-reveal.js +43 -33
  168. package/dist/s-scroll-to-top/index.js +2 -2
  169. package/dist/s-scroll-to-top/s-scroll-to-top.d.ts +12 -17
  170. package/dist/s-scroll-to-top/s-scroll-to-top.js +20 -15
  171. package/dist/s-scroll-velocity/index.d.ts +6 -0
  172. package/dist/s-scroll-velocity/index.js +8 -0
  173. package/dist/s-scroll-velocity/package.json +5 -0
  174. package/dist/s-scroll-velocity/s-scroll-velocity.d.ts +24 -0
  175. package/dist/s-scroll-velocity/s-scroll-velocity.js +22 -0
  176. package/dist/s-scroll-velocity/scroll-velocity-container.d.ts +20 -0
  177. package/dist/s-scroll-velocity/scroll-velocity-container.js +40 -0
  178. package/dist/s-scroll-velocity/scroll-velocity-row.d.ts +27 -0
  179. package/dist/s-scroll-velocity/scroll-velocity-row.js +131 -0
  180. package/dist/s-select/index.js +2 -2
  181. package/dist/s-select/s-select.d.ts +3 -22
  182. package/dist/s-select/s-select.js +76 -72
  183. package/dist/s-select-list/index.js +2 -2
  184. package/dist/s-select-list/s-select-list.d.ts +16 -19
  185. package/dist/s-select-list/s-select-list.js +33 -28
  186. package/dist/s-skeleton/index.js +2 -2
  187. package/dist/s-skeleton/s-skeleton.d.ts +6 -22
  188. package/dist/s-skeleton/s-skeleton.js +28 -18
  189. package/dist/s-snackbar-message/index.js +4 -4
  190. package/dist/s-snackbar-message/s-snackbar-message.d.ts +5 -23
  191. package/dist/s-snackbar-message/s-snackbar-message.js +38 -31
  192. package/dist/s-spotlight-cursor/index.js +2 -2
  193. package/dist/s-spotlight-cursor/s-spotlight-cursor.d.ts +10 -44
  194. package/dist/s-spotlight-cursor/s-spotlight-cursor.js +35 -29
  195. package/dist/s-stripe/index.d.ts +4 -1
  196. package/dist/s-stripe/index.js +7 -4
  197. package/dist/s-stripe/s-stripe-cvc.d.ts +8 -0
  198. package/dist/s-stripe/s-stripe-cvc.js +15 -0
  199. package/dist/s-stripe/s-stripe-expiry.d.ts +8 -0
  200. package/dist/s-stripe/s-stripe-expiry.js +15 -0
  201. package/dist/s-stripe/s-stripe-number.d.ts +8 -0
  202. package/dist/s-stripe/s-stripe-number.js +15 -0
  203. package/dist/s-stripe/s-stripe.d.ts +6 -85
  204. package/dist/s-stripe/s-stripe.js +24 -27
  205. package/dist/s-stripe/stripe-input.js +22 -18
  206. package/dist/s-tabs/index.js +6 -6
  207. package/dist/s-tabs/s-tab-panel.d.ts +11 -1
  208. package/dist/s-tabs/s-tab-panel.js +25 -16
  209. package/dist/s-tabs/s-tab.js +9 -5
  210. package/dist/s-tabs/s-tabs.d.ts +24 -3
  211. package/dist/s-tabs/s-tabs.js +34 -25
  212. package/dist/s-text-editor/index.js +3 -3
  213. package/dist/s-text-editor/s-text-editor-toolbar.js +91 -76
  214. package/dist/s-text-editor/s-text-editor.d.ts +13 -11
  215. package/dist/s-text-editor/s-text-editor.js +44 -30
  216. package/dist/s-text-field/index.js +2 -2
  217. package/dist/s-text-field/s-text-field.d.ts +6 -15
  218. package/dist/s-text-field/s-text-field.js +38 -28
  219. package/dist/s-text-shimmer/index.js +2 -2
  220. package/dist/s-text-shimmer/s-text-shimmer.d.ts +10 -1
  221. package/dist/s-text-shimmer/s-text-shimmer.js +27 -18
  222. package/dist/s-text-truncation/index.js +2 -2
  223. package/dist/s-text-truncation/s-text-truncation.d.ts +9 -38
  224. package/dist/s-text-truncation/s-text-truncation.js +34 -20
  225. package/dist/s-theme-demo/s-theme-demo.js +238 -223
  226. package/dist/s-theme-provider/index.js +1 -1
  227. package/dist/s-theme-provider/s-theme-provider.d.ts +5 -17
  228. package/dist/s-theme-provider/s-theme-provider.js +44 -34
  229. package/dist/s-theme-switch/s-theme-switch.js +23 -19
  230. package/dist/s-tip/index.js +2 -2
  231. package/dist/s-tip/s-tip.d.ts +5 -22
  232. package/dist/s-tip/s-tip.js +22 -12
  233. package/dist/s-two-pane-layout/index.js +10 -2
  234. package/dist/s-two-pane-layout/s-two-pane-layout.d.ts +7 -1
  235. package/dist/s-two-pane-layout/s-two-pane-layout.js +58 -48
  236. package/dist/s-typewriter-text/index.js +2 -2
  237. package/dist/s-typewriter-text/s-typewriter-text.d.ts +17 -1
  238. package/dist/s-typewriter-text/s-typewriter-text.js +37 -27
  239. package/dist/s-zoom-image/index.js +10 -2
  240. package/dist/s-zoom-image/s-zoom-image.d.ts +10 -42
  241. package/dist/s-zoom-image/s-zoom-image.js +62 -52
  242. package/dist/theme/components/alert.d.ts +1436 -1436
  243. package/dist/theme/components/button.d.ts +2150 -2150
  244. package/dist/theme/components/chip.d.ts +2 -2
  245. package/dist/theme/customizations/data-display.js +1 -1
  246. package/dist/{typographyClasses-C7fhAsUD.js → typographyClasses-DDyl9mok.js} +4 -4
  247. package/dist/{useMobilePicker-DgxcRrRB.js → useMobilePicker-C1RZZUWr.js} +1 -1
  248. package/package.json +23 -6
@@ -1,12 +1,11 @@
1
- import { j as r } from "../jsx-runtime-OVHDjVDe.js";
2
- import { CardNumberElement as a, CardExpiryElement as E, CardCvcElement as s } from "@stripe/react-stripe-js";
3
- import C from "../s-text-field/s-text-field.js";
4
- import b from "./stripe-input.js";
5
- const n = (t) => {
6
- var p;
7
- const { helperText: u, slotProps: e, inputProps: m, error: i, labelErrorMessage: l, stripeElement: o, ...x } = t;
8
- return /* @__PURE__ */ r.jsx(
9
- C,
1
+ import { j as m } from "../jsx-runtime-OVHDjVDe.js";
2
+ import { STextField as d } from "../s-text-field/s-text-field.js";
3
+ import u from "./stripe-input.js";
4
+ const r = (t) => {
5
+ var a;
6
+ const { helperText: l, slotProps: e, inputProps: i, error: n, labelErrorMessage: p, stripeElement: s, ...o } = t;
7
+ return /* @__PURE__ */ m.jsx(
8
+ d,
10
9
  {
11
10
  fullWidth: !0,
12
11
  slotProps: {
@@ -18,33 +17,31 @@ const n = (t) => {
18
17
  input: {
19
18
  ...e == null ? void 0 : e.input,
20
19
  inputProps: {
21
- ...m,
22
- ...(p = e == null ? void 0 : e.input) == null ? void 0 : p.inputProps,
23
- component: o
20
+ ...i,
21
+ ...(a = e == null ? void 0 : e.input) == null ? void 0 : a.inputProps,
22
+ component: s
24
23
  // Pass Stripe element as component
25
24
  },
26
- inputComponent: b
25
+ inputComponent: u
27
26
  // Custom input component for Stripe integration
28
27
  }
29
28
  },
30
- error: i,
31
- helperText: i ? l : u,
32
- ...x
29
+ error: n,
30
+ helperText: n ? p : l,
31
+ ...o
33
32
  }
34
33
  );
35
34
  };
36
- function j(t) {
37
- return /* @__PURE__ */ r.jsx(n, { label: "Card Number", stripeElement: a, ...t });
35
+ r.displayName = "StripeTextField";
36
+ try {
37
+ r.displayName = "StripeTextField", r.__docgenInfo = { description: "Generic Stripe text field component that integrates Stripe Elements with Material-UI styling.", displayName: "StripeTextField", props: { inputProps: { defaultValue: null, description: "Props passed directly to the Stripe Element", name: "inputProps", required: !1, type: { name: "AuBankAccountElementProps | CardCvcElementProps | CardExpiryElementProps | CardNumberElementProps | FpxBankElementProps | IbanElementProps | IdealBankElementProps" } }, labelErrorMessage: { defaultValue: null, description: "Custom error message to display when validation fails", name: "labelErrorMessage", required: !1, type: { name: "string" } }, onChange: { defaultValue: null, description: "Change handler for Stripe Element events", name: "onChange", required: !1, type: { name: "((event: StripeAuBankAccountElementChangeEvent) => any) | ((event: StripeCardCvcElementChangeEvent) => any) | ... 5 more ..." } }, stripeElement: { defaultValue: null, description: "The Stripe Element component to render", name: "stripeElement", required: !1, type: { name: "StripeElement" } } } };
38
+ } catch {
38
39
  }
39
- function h(t) {
40
- return /* @__PURE__ */ r.jsx(n, { label: "Expiration", stripeElement: E, ...t });
41
- }
42
- function T(t) {
43
- return /* @__PURE__ */ r.jsx(n, { label: "CVC", stripeElement: s, ...t });
40
+ try {
41
+ sstripe.displayName = "sstripe", sstripe.__docgenInfo = { description: "Generic Stripe text field component that integrates Stripe Elements with Material-UI styling.", displayName: "sstripe", props: { inputProps: { defaultValue: null, description: "Props passed directly to the Stripe Element", name: "inputProps", required: !1, type: { name: "AuBankAccountElementProps | CardCvcElementProps | CardExpiryElementProps | CardNumberElementProps | FpxBankElementProps | IbanElementProps | IdealBankElementProps" } }, labelErrorMessage: { defaultValue: null, description: "Custom error message to display when validation fails", name: "labelErrorMessage", required: !1, type: { name: "string" } }, onChange: { defaultValue: null, description: "Change handler for Stripe Element events", name: "onChange", required: !1, type: { name: "((event: StripeAuBankAccountElementChangeEvent) => any) | ((event: StripeCardCvcElementChangeEvent) => any) | ... 5 more ..." } }, stripeElement: { defaultValue: null, description: "The Stripe Element component to render", name: "stripeElement", required: !1, type: { name: "StripeElement" } } } };
42
+ } catch {
44
43
  }
45
44
  export {
46
- T as SStripeCVC,
47
- h as SStripeExpiry,
48
- j as SStripeNumber,
49
- n as StripeTextField
45
+ r as StripeTextField,
46
+ r as default
50
47
  };
@@ -1,18 +1,18 @@
1
- import { j as l } from "../jsx-runtime-OVHDjVDe.js";
2
- import * as t from "react";
3
- import { gray as d } from "../theme/theme-primitives.js";
4
- import '../assets/stripe-input.css';const f = t.forwardRef(function(r, s) {
5
- const { component: n, options: a, ...o } = r, [e, i] = t.useState(null);
6
- return t.useImperativeHandle(
7
- s,
1
+ import { j as d } from "../jsx-runtime-OVHDjVDe.js";
2
+ import * as e from "react";
3
+ import { gray as l } from "../theme/theme-primitives.js";
4
+ import '../assets/stripe-input.css';const m = e.forwardRef(function(i, n) {
5
+ const { component: s, options: a, ...t } = i, [o, p] = e.useState(null);
6
+ return e.useImperativeHandle(
7
+ n,
8
8
  () => ({
9
- focus: () => e.focus()
9
+ focus: () => o.focus()
10
10
  }),
11
- [e]
12
- ), /* @__PURE__ */ l.jsx(
13
- n,
11
+ [o]
12
+ ), /* @__PURE__ */ d.jsx(
13
+ s,
14
14
  {
15
- onReady: i,
15
+ onReady: p,
16
16
  options: {
17
17
  ...a,
18
18
  style: {
@@ -20,26 +20,30 @@ import '../assets/stripe-input.css';const f = t.forwardRef(function(r, s) {
20
20
  fontFamily: "Outfit, sans-serif",
21
21
  lineHeight: "1.5",
22
22
  color: "rgb(255, 255, 255)",
23
- ...o.disabled && {
23
+ ...t.disabled && {
24
24
  color: "rgba(255, 255, 255, 0.5)"
25
25
  // for disabled state
26
26
  },
27
27
  "&::placeholder": {
28
- color: d[600],
29
- ...o.disabled && {
28
+ color: l[600],
29
+ ...t.disabled && {
30
30
  color: "rgba(255, 255, 255, 0.5)"
31
31
  // for disabled state
32
32
  }
33
33
  }
34
34
  }
35
35
  },
36
- disabled: o.disabled
36
+ disabled: t.disabled
37
37
  // Pass through the disabled state to Stripe Element
38
38
  },
39
- ...o
39
+ ...t
40
40
  }
41
41
  );
42
42
  });
43
+ try {
44
+ stripeinput.displayName = "stripeinput", stripeinput.__docgenInfo = { description: "Forward ref component for Stripe Elements integration with Material-UI", displayName: "stripeinput", props: {} };
45
+ } catch {
46
+ }
43
47
  export {
44
- f as default
48
+ m as default
45
49
  };
@@ -1,8 +1,8 @@
1
- import { default as f } from "./s-tabs.js";
2
- import { default as r } from "./s-tab.js";
3
- import { default as l } from "./s-tab-panel.js";
1
+ import { STabs as r } from "./s-tabs.js";
2
+ import { default as f } from "./s-tab.js";
3
+ import { STabPanel as b } from "./s-tab-panel.js";
4
4
  export {
5
- r as STab,
6
- l as STabPanel,
7
- f as STabs
5
+ f as STab,
6
+ b as STabPanel,
7
+ r as STabs
8
8
  };
@@ -1,10 +1,20 @@
1
1
  import { default as React } from 'react';
2
2
  import { BoxProps } from '@mui/material';
3
+ /**
4
+ * Props interface for STabPanel component
5
+ */
3
6
  export interface STabPanelProps extends BoxProps {
7
+ /** Content to display in the tab panel */
4
8
  children?: React.ReactNode;
9
+ /** Index of this specific tab panel (0-based) */
5
10
  index: number;
11
+ /** Current active tab index from the parent tabs component */
6
12
  value: number;
13
+ /** Keep the panel mounted in the DOM when not active */
7
14
  keepMounted?: boolean;
8
15
  }
9
- declare const STabPanel: React.ForwardRefExoticComponent<Omit<STabPanelProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
16
+ /**
17
+ * Individual tab content panel component with advanced mounting controls.
18
+ */
19
+ export declare const STabPanel: React.ForwardRefExoticComponent<Omit<STabPanelProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
10
20
  export default STabPanel;
@@ -1,28 +1,37 @@
1
- import { j as d } from "../jsx-runtime-OVHDjVDe.js";
2
- import { forwardRef as i } from "react";
3
- import { Box as p } from "@mui/material";
4
- const b = i(
5
- ({ children: o, value: r, index: a, keepMounted: l = !1, sx: t, ...s }, n) => {
6
- const e = r === a;
7
- return e || l ? /* @__PURE__ */ d.jsx(
8
- p,
1
+ import { j as p } from "../jsx-runtime-OVHDjVDe.js";
2
+ import { forwardRef as u } from "react";
3
+ import { Box as s } from "@mui/material";
4
+ const t = u(
5
+ ({ children: e, value: l, index: a, keepMounted: r = !1, sx: d, ...i }, o) => {
6
+ const n = l === a;
7
+ return n || r ? /* @__PURE__ */ p.jsx(
8
+ s,
9
9
  {
10
- ref: n,
10
+ ref: o,
11
11
  role: "tabpanel",
12
- hidden: !e,
12
+ hidden: !n,
13
13
  id: `tabpanel-${a}`,
14
14
  "aria-labelledby": `tab-${a}`,
15
15
  sx: {
16
- ...t,
17
- display: e ? "block" : "none"
16
+ ...d,
17
+ display: n ? "block" : "none"
18
18
  },
19
- ...s,
20
- children: o
19
+ ...i,
20
+ children: e
21
21
  }
22
22
  ) : null;
23
23
  }
24
24
  );
25
- b.displayName = "STabPanel";
25
+ t.displayName = "STabPanel";
26
+ try {
27
+ t.displayName = "STabPanel", t.__docgenInfo = { description: "Individual tab content panel component with advanced mounting controls.", displayName: "STabPanel", props: { children: { defaultValue: null, description: "Content to display in the tab panel", name: "children", required: !1, type: { name: "ReactNode" } }, value: { defaultValue: null, description: "Current active tab index from the parent tabs component", name: "value", required: !0, type: { name: "number" } }, index: { defaultValue: null, description: "Index of this specific tab panel (0-based)", name: "index", required: !0, type: { name: "number" } }, keepMounted: { defaultValue: { value: "false" }, description: "Keep the panel mounted in the DOM when not active", name: "keepMounted", required: !1, type: { name: "boolean" } } } };
28
+ } catch {
29
+ }
30
+ try {
31
+ stabpanel.displayName = "stabpanel", stabpanel.__docgenInfo = { description: "Individual tab content panel component with advanced mounting controls.", displayName: "stabpanel", props: { children: { defaultValue: null, description: "Content to display in the tab panel", name: "children", required: !1, type: { name: "ReactNode" } }, value: { defaultValue: null, description: "Current active tab index from the parent tabs component", name: "value", required: !0, type: { name: "number" } }, index: { defaultValue: null, description: "Index of this specific tab panel (0-based)", name: "index", required: !0, type: { name: "number" } }, keepMounted: { defaultValue: { value: "false" }, description: "Keep the panel mounted in the DOM when not active", name: "keepMounted", required: !1, type: { name: "boolean" } } } };
32
+ } catch {
33
+ }
26
34
  export {
27
- b as default
35
+ t as STabPanel,
36
+ t as default
28
37
  };
@@ -1,8 +1,12 @@
1
- import { j as a } from "../jsx-runtime-OVHDjVDe.js";
1
+ import { j as e } from "../jsx-runtime-OVHDjVDe.js";
2
2
  import { forwardRef as t } from "react";
3
- import { Tab as m } from "@mui/material";
4
- const s = t((r, o) => /* @__PURE__ */ a.jsx(m, { ref: o, ...r }));
5
- s.displayName = "STab";
3
+ import { Tab as p } from "@mui/material";
4
+ const r = t((a, o) => /* @__PURE__ */ e.jsx(p, { ref: o, ...a }));
5
+ r.displayName = "STab";
6
+ try {
7
+ r.displayName = "STab", r.__docgenInfo = { description: "", displayName: "STab", props: {} };
8
+ } catch {
9
+ }
6
10
  export {
7
- s as default
11
+ r as default
8
12
  };
@@ -1,20 +1,41 @@
1
1
  import { default as React } from 'react';
2
2
  import { BoxProps, TabProps, TabsProps } from '@mui/material';
3
+ /**
4
+ * Props interface for STabs component
5
+ */
3
6
  export interface STabsProps extends Omit<TabsProps, 'children'> {
7
+ /** Array of tab configuration objects defining the tabs to display */
4
8
  tabs: STabItem[];
9
+ /** Index of the currently active tab. Set to false for uncontrolled mode */
5
10
  activeTab?: number | false;
6
- onTabChange?: (event: React.SyntheticEvent, value: any) => void;
11
+ /** Callback function called when a tab is selected */
12
+ onTabChange?: (event: React.SyntheticEvent, value: number) => void;
13
+ /** Tab panel content. Children are matched to tabs by index */
7
14
  children?: React.ReactNode;
15
+ /** Additional props passed to the tab panel wrapper Box component */
8
16
  tabPanelProps?: BoxProps;
9
17
  }
18
+ /**
19
+ * Configuration object interface for individual tabs in STabs
20
+ */
10
21
  export interface STabItem {
22
+ /** The content displayed in the tab */
11
23
  label: React.ReactNode;
12
- value?: any;
24
+ /** Custom value for the tab. If not provided, uses the tab index */
25
+ value?: number;
26
+ /** Whether the tab is disabled and cannot be selected */
13
27
  disabled?: boolean;
28
+ /** Icon element to display in the tab */
14
29
  icon?: React.ReactElement;
30
+ /** Position of the icon relative to the label */
15
31
  iconPosition?: 'start' | 'end' | 'top' | 'bottom';
32
+ /** Whether the tab label should wrap to multiple lines */
16
33
  wrapped?: boolean;
34
+ /** Additional props passed to the underlying Material-UI Tab component */
17
35
  tabProps?: Omit<TabProps, 'label' | 'value' | 'disabled' | 'icon' | 'iconPosition' | 'wrapped'>;
18
36
  }
19
- declare const STabs: React.ForwardRefExoticComponent<Omit<STabsProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
37
+ /**
38
+ * A flexible tabs component system built on Material-UI Tabs.
39
+ */
40
+ export declare const STabs: React.ForwardRefExoticComponent<Omit<STabsProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
20
41
  export default STabs;
@@ -1,34 +1,43 @@
1
- import { j as o } from "../jsx-runtime-OVHDjVDe.js";
2
- import i, { forwardRef as c } from "react";
3
- import { Tabs as x, Tab as j, Box as P } from "@mui/material";
4
- const R = c(
5
- ({ tabs: t, activeTab: e = 0, onTabChange: l, children: d, tabPanelProps: a, ...n }, m) => {
6
- const [p, f] = i.useState(e);
7
- i.useEffect(() => {
8
- e !== !1 && f(e);
9
- }, [e]);
10
- const u = (s, r) => {
11
- e === !1 && f(r), l == null || l(s, r);
1
+ import { j as n } from "../jsx-runtime-OVHDjVDe.js";
2
+ import o, { forwardRef as f } from "react";
3
+ import { Tabs as y, Tab as h, Box as _ } from "@mui/material";
4
+ const s = f(
5
+ ({ tabs: l, activeTab: a = 0, onTabChange: r, children: i, tabPanelProps: c, ...u }, b) => {
6
+ const [d, p] = o.useState(a);
7
+ o.useEffect(() => {
8
+ a !== !1 && p(a);
9
+ }, [a]);
10
+ const m = (e, t) => {
11
+ a === !1 && p(t), r == null || r(e, t);
12
12
  };
13
- return /* @__PURE__ */ o.jsxs(o.Fragment, { children: [
14
- /* @__PURE__ */ o.jsx(x, { ref: m, value: p, onChange: u, ...n, children: t.map((s, r) => /* @__PURE__ */ o.jsx(
15
- j,
13
+ return /* @__PURE__ */ n.jsxs(n.Fragment, { children: [
14
+ /* @__PURE__ */ n.jsx(y, { ref: b, value: d, onChange: m, ...u, children: l.map((e, t) => /* @__PURE__ */ n.jsx(
15
+ h,
16
16
  {
17
- label: s.label,
18
- value: s.value ?? r,
19
- disabled: s.disabled,
20
- icon: s.icon,
21
- iconPosition: s.iconPosition,
22
- wrapped: s.wrapped,
23
- ...s.tabProps
17
+ label: e.label,
18
+ value: e.value ?? t,
19
+ disabled: e.disabled,
20
+ icon: e.icon,
21
+ iconPosition: e.iconPosition,
22
+ wrapped: e.wrapped,
23
+ ...e.tabProps
24
24
  },
25
- r
25
+ t
26
26
  )) }),
27
- d && /* @__PURE__ */ o.jsx(P, { role: "tabpanel", padding: 2, ...a, children: i.Children.toArray(d)[p] })
27
+ i && /* @__PURE__ */ n.jsx(_, { role: "tabpanel", padding: 2, ...c, children: o.Children.toArray(i)[d] })
28
28
  ] });
29
29
  }
30
30
  );
31
- R.displayName = "STabs";
31
+ s.displayName = "STabs";
32
+ try {
33
+ s.displayName = "STabs", s.__docgenInfo = { description: "A flexible tabs component system built on Material-UI Tabs.", displayName: "STabs", props: { children: { defaultValue: null, description: "Tab panel content. Children are matched to tabs by index", name: "children", required: !1, type: { name: "ReactNode" } }, tabs: { defaultValue: null, description: "Array of tab configuration objects defining the tabs to display", name: "tabs", required: !0, type: { name: "STabItem[]" } }, activeTab: { defaultValue: { value: "0" }, description: "Index of the currently active tab. Set to false for uncontrolled mode", name: "activeTab", required: !1, type: { name: "number | false" } }, onTabChange: { defaultValue: null, description: "Callback function called when a tab is selected", name: "onTabChange", required: !1, type: { name: "((event: SyntheticEvent<Element, Event>, value: number) => void)" } }, tabPanelProps: { defaultValue: null, description: "Additional props passed to the tab panel wrapper Box component", name: "tabPanelProps", required: !1, type: { name: "BoxProps" } } } };
34
+ } catch {
35
+ }
36
+ try {
37
+ stabs.displayName = "stabs", stabs.__docgenInfo = { description: "A flexible tabs component system built on Material-UI Tabs.", displayName: "stabs", props: { children: { defaultValue: null, description: "Tab panel content. Children are matched to tabs by index", name: "children", required: !1, type: { name: "ReactNode" } }, tabs: { defaultValue: null, description: "Array of tab configuration objects defining the tabs to display", name: "tabs", required: !0, type: { name: "STabItem[]" } }, activeTab: { defaultValue: { value: "0" }, description: "Index of the currently active tab. Set to false for uncontrolled mode", name: "activeTab", required: !1, type: { name: "number | false" } }, onTabChange: { defaultValue: null, description: "Callback function called when a tab is selected", name: "onTabChange", required: !1, type: { name: "((event: SyntheticEvent<Element, Event>, value: number) => void)" } }, tabPanelProps: { defaultValue: null, description: "Additional props passed to the tab panel wrapper Box component", name: "tabPanelProps", required: !1, type: { name: "BoxProps" } } } };
38
+ } catch {
39
+ }
32
40
  export {
33
- R as default
41
+ s as STabs,
42
+ s as default
34
43
  };
@@ -1,6 +1,6 @@
1
- import { default as t } from "./s-text-editor.js";
2
- import { STextEditorToolbar as f } from "./s-text-editor-toolbar.js";
1
+ import { STextEditor as t } from "./s-text-editor.js";
2
+ import { STextEditorToolbar as x } from "./s-text-editor-toolbar.js";
3
3
  export {
4
- f as STextEditorToolbar,
4
+ x as STextEditorToolbar,
5
5
  t as default
6
6
  };