@solostylist/ui-kit 1.0.175 → 1.0.176

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 (203) hide show
  1. package/dist/{ArrowUpward-DhTFpzoh.js → ArrowUpward-CEeqSc-C.js} +2 -2
  2. package/dist/{Box-Ha0cQ4KO.js → Box-CE3rycd-.js} +5 -5
  3. package/dist/ButtonBase-C_YYB9Ry.js +1099 -0
  4. package/dist/{ChevronLeft-CBuFk2Fh.js → ChevronLeft-6gdh4lRt.js} +2 -2
  5. package/dist/{ChevronRight-CnDWPrOm.js → ChevronRight-CC3l-wPC.js} +2 -2
  6. package/dist/{Close-BRlEKA2Q.js → Close-DOHlPcFK.js} +2 -2
  7. package/dist/{ContentCopy-7nFBtjhs.js → ContentCopy-2xxDThyB.js} +2 -2
  8. package/dist/DefaultPropsProvider-sk0uWcA6.js +64 -0
  9. package/dist/{Download-UsLvGg3y.js → Download-Chao5NQl.js} +2 -2
  10. package/dist/{ExpandMore-DTWX_mHf.js → ExpandMore-DIGPB4Mj.js} +2 -2
  11. package/dist/{Favorite-DS5Gpq2s.js → Favorite-wp65zwWq.js} +2 -2
  12. package/dist/{Menu-CWq-a1Wz.js → Menu-DZYzE2Mg.js} +908 -906
  13. package/dist/{MenuItem-DY_qFSPR.js → MenuItem-BXiIhfBS.js} +26 -25
  14. package/dist/Paper-DnctZB5U.js +689 -0
  15. package/dist/{Select-DabtQlJT.js → Select-DY7XGVsv.js} +2152 -2115
  16. package/dist/{Stack-Cq2r2NmC.js → Stack-BScsuyQy.js} +6 -6
  17. package/dist/{Typography-C8jwvSWe.js → Typography-9Kg27dDw.js} +84 -86
  18. package/dist/{_commonjsHelpers-B4e78b8K.js → _commonjsHelpers-ByX85dGu.js} +18 -13
  19. package/dist/assets/s-overlay-scrollbar.css +1 -9
  20. package/dist/createSvgIcon-BKymXuBG.js +242 -0
  21. package/dist/{createTheme-3Wd3hHrj.js → createTheme-f5g1s6ww.js} +859 -906
  22. package/dist/defaultTheme-LSr-S9un.js +5 -0
  23. package/dist/entries/carousel.d.ts +10 -0
  24. package/dist/entries/carousel.js +4 -0
  25. package/dist/entries/chat.d.ts +9 -0
  26. package/dist/entries/chat.js +4 -0
  27. package/dist/entries/code.d.ts +9 -0
  28. package/dist/entries/code.js +4 -0
  29. package/dist/entries/core.d.ts +100 -0
  30. package/dist/entries/core.js +122 -0
  31. package/dist/entries/dates.d.ts +16 -0
  32. package/dist/entries/dates.js +12 -0
  33. package/dist/entries/dropzone.d.ts +9 -0
  34. package/dist/entries/dropzone.js +4 -0
  35. package/dist/entries/editor.d.ts +12 -0
  36. package/dist/entries/editor.js +4 -0
  37. package/dist/entries/gallery.d.ts +17 -0
  38. package/dist/entries/gallery.js +13 -0
  39. package/dist/entries/i18n.d.ts +13 -0
  40. package/dist/entries/i18n.js +8 -0
  41. package/dist/entries/motion.d.ts +29 -0
  42. package/dist/entries/motion.js +28 -0
  43. package/dist/entries/scrollbar.d.ts +9 -0
  44. package/dist/entries/scrollbar.js +4 -0
  45. package/dist/entries/stripe.d.ts +10 -0
  46. package/dist/entries/stripe.js +10 -0
  47. package/dist/extendSxProp-DitxZ8We.js +36 -0
  48. package/dist/hooks/index.js +8 -9
  49. package/dist/hooks/use-is-passed-position.js +10 -10
  50. package/dist/{index-BGvzecIA.js → index-D3G5Rwl-.js} +0 -7
  51. package/dist/{index-CfKHZ86U.js → index-DtYP8YE7.js} +12 -13
  52. package/dist/{jsx-runtime-OVHDjVDe.js → jsx-runtime-tc70JA_2.js} +108 -128
  53. package/dist/main.d.ts +29 -145
  54. package/dist/main.js +187 -187
  55. package/dist/mergeSlotProps-CuzBQdlp.js +62 -0
  56. package/dist/resolveProps-BDH0VJjn.js +39 -0
  57. package/dist/s-accordion/package.json +5 -5
  58. package/dist/s-accordion/s-accordion.js +374 -358
  59. package/dist/s-action-overlay/package.json +5 -5
  60. package/dist/s-action-overlay/s-action-overlay.js +64 -79
  61. package/dist/s-ai-tool-bar/package.json +5 -5
  62. package/dist/s-ai-tool-bar/s-ai-tool-bar.js +260 -275
  63. package/dist/s-autocomplete/s-autocomplete.js +19 -25
  64. package/dist/s-avatar/package.json +5 -5
  65. package/dist/s-avatar/s-avatar.js +14 -25
  66. package/dist/s-blur-text/package.json +5 -5
  67. package/dist/s-blur-text/s-blur-text.js +55 -59
  68. package/dist/s-breadcrumbs/package.json +5 -5
  69. package/dist/s-breadcrumbs/s-breadcrumbs.js +31 -39
  70. package/dist/s-button/package.json +5 -5
  71. package/dist/s-button/s-button.js +7 -15
  72. package/dist/s-button-link/s-button-link.js +28 -36
  73. package/dist/s-carousel/package.json +4 -4
  74. package/dist/s-carousel/s-carousel.js +267 -280
  75. package/dist/s-category-card/package.json +4 -4
  76. package/dist/s-category-card/s-category-card.js +60 -77
  77. package/dist/s-chat-input/package.json +5 -5
  78. package/dist/s-chat-input/s-chat-input.js +84 -92
  79. package/dist/s-chat-message/s-chat-message.js +111 -120
  80. package/dist/s-checkbox/s-checkbox.js +12 -20
  81. package/dist/s-chip/package.json +5 -5
  82. package/dist/s-chip/s-chip.js +7 -15
  83. package/dist/s-chips/s-chips.js +47 -56
  84. package/dist/s-code-block/package.json +5 -5
  85. package/dist/s-code-block/s-code-block.js +35 -43
  86. package/dist/s-comment-message/package.json +5 -5
  87. package/dist/s-comment-message/s-comment-message.js +90 -94
  88. package/dist/s-copyable-text/s-copyable-text.js +24 -32
  89. package/dist/s-countdown/s-count-box.js +42 -50
  90. package/dist/s-countdown/s-count-down.js +79 -107
  91. package/dist/s-data-table/s-data-table.js +374 -384
  92. package/dist/s-date-picker/s-date-picker.js +164 -164
  93. package/dist/s-datetime-picker/s-datetime-picker.js +1599 -1603
  94. package/dist/s-dialog/s-dialog.js +24 -32
  95. package/dist/s-dialog-confirm/s-dialog-confirm.js +46 -50
  96. package/dist/s-dialog-message/s-dialog-message.js +40 -44
  97. package/dist/s-empty/s-empty.js +6 -14
  98. package/dist/s-error/s-error.js +9 -17
  99. package/dist/s-error-layout/s-error-layout.js +38 -47
  100. package/dist/s-file-dropzone/s-file-dropzone.js +55 -64
  101. package/dist/s-file-icon/s-file-icon.js +9 -13
  102. package/dist/s-flex-box/s-flex-box.js +6 -14
  103. package/dist/s-form/s-form.js +11 -19
  104. package/dist/s-gallery/index.js +3 -33
  105. package/dist/s-gallery/s-gallery.js +91 -114
  106. package/dist/s-glow-button/s-glow-button.js +22 -26
  107. package/dist/s-gradient-icon/s-gradient-icon.js +49 -59
  108. package/dist/s-i18n-provider/s-i18n-provider.js +17 -25
  109. package/dist/s-icon-button/s-icon-button.js +6 -14
  110. package/dist/s-image-comparison/package.json +5 -5
  111. package/dist/s-image-comparison/s-image-comparison.js +48 -53
  112. package/dist/s-image-modal/package.json +5 -5
  113. package/dist/s-image-modal/s-image-modal.js +137 -150
  114. package/dist/s-item-not-found/s-item-not-found.js +13 -22
  115. package/dist/s-label/s-label.js +12 -20
  116. package/dist/s-language-switcher/s-language-switcher.js +119 -141
  117. package/dist/s-lazy-image/index.js +2 -10
  118. package/dist/s-lazy-image/s-lazy-image.js +33 -37
  119. package/dist/s-localization-provider/s-localization-provider.js +368 -380
  120. package/dist/s-moving-border/s-moving-border.js +52 -67
  121. package/dist/s-multi-select/s-multi-select.js +43 -51
  122. package/dist/s-no-ssr/s-no-ssr.js +13 -21
  123. package/dist/s-overlay-scrollbar/s-overlay-scrollbar.js +12 -16
  124. package/dist/s-pagination/s-pagination.js +13 -17
  125. package/dist/s-pixel-reveal/package.json +5 -5
  126. package/dist/s-pixel-reveal/s-pixel-reveal.js +92 -99
  127. package/dist/s-radial-pulse-animate/package.json +5 -5
  128. package/dist/s-radial-pulse-animate/s-radial-pulse-animate.js +40 -48
  129. package/dist/s-rating/package.json +5 -5
  130. package/dist/s-rating/s-rating.js +7 -15
  131. package/dist/s-review/package.json +5 -5
  132. package/dist/s-review/s-review.js +101 -106
  133. package/dist/s-scroll-reveal/package.json +5 -5
  134. package/dist/s-scroll-reveal/s-scroll-reveal.js +40 -48
  135. package/dist/s-scroll-to-top/package.json +5 -5
  136. package/dist/s-scroll-to-top/s-scroll-to-top.js +20 -30
  137. package/dist/s-scroll-velocity/package.json +5 -5
  138. package/dist/s-scroll-velocity/s-scroll-velocity.js +5 -19
  139. package/dist/s-scroll-velocity/scroll-velocity-container.js +18 -27
  140. package/dist/s-scroll-velocity/scroll-velocity-row.js +62 -71
  141. package/dist/s-select/s-select.js +67 -75
  142. package/dist/s-select-list/s-select-list.js +28 -32
  143. package/dist/s-skeleton/s-skeleton.js +20 -28
  144. package/dist/s-snackbar-message/s-snackbar-message.js +36 -40
  145. package/dist/s-spotlight-cursor/s-spotlight-cursor.js +31 -35
  146. package/dist/s-stripe/s-stripe-cvc.js +8 -12
  147. package/dist/s-stripe/s-stripe-expiry.js +8 -12
  148. package/dist/s-stripe/s-stripe-number.js +8 -12
  149. package/dist/s-stripe/s-stripe.d.ts +2 -2
  150. package/dist/s-stripe/s-stripe.js +17 -26
  151. package/dist/s-stripe/stripe-input.js +25 -29
  152. package/dist/s-tabs/package.json +3 -3
  153. package/dist/s-tabs/s-tab-panel.js +17 -25
  154. package/dist/s-tabs/s-tab.js +5 -9
  155. package/dist/s-tabs/s-tabs.js +19 -27
  156. package/dist/s-text-editor/s-text-editor-toolbar.js +73 -88
  157. package/dist/s-text-editor/s-text-editor.js +33 -45
  158. package/dist/s-text-field/s-text-field.js +31 -40
  159. package/dist/s-text-shimmer/package.json +4 -4
  160. package/dist/s-text-shimmer/s-text-shimmer.js +19 -27
  161. package/dist/s-text-truncation/s-text-truncation.js +24 -32
  162. package/dist/s-theme-demo/package.json +5 -5
  163. package/dist/s-theme-demo/s-theme-demo.js +219 -234
  164. package/dist/s-theme-provider/s-theme-provider.js +37 -45
  165. package/dist/s-theme-switch/package.json +4 -4
  166. package/dist/s-theme-switch/s-theme-switch.js +19 -23
  167. package/dist/s-tip/s-tip.js +14 -22
  168. package/dist/s-two-pane-layout/index.js +2 -10
  169. package/dist/s-two-pane-layout/s-two-pane-layout.js +47 -55
  170. package/dist/s-typewriter-text/package.json +5 -5
  171. package/dist/s-typewriter-text/s-typewriter-text.js +27 -35
  172. package/dist/s-zoom-image/index.js +2 -10
  173. package/dist/s-zoom-image/package.json +5 -5
  174. package/dist/s-zoom-image/s-zoom-image.js +53 -62
  175. package/dist/styled-B0KflPi-.js +203 -0
  176. package/dist/theme/components/alert.d.ts +484 -264
  177. package/dist/theme/components/avatar.js +2 -2
  178. package/dist/theme/components/button.d.ts +726 -396
  179. package/dist/theme/components/chip.js +2 -2
  180. package/dist/theme/components/icon-button.d.ts +726 -396
  181. package/dist/theme/customizations/data-display.js +1 -1
  182. package/dist/theme/customizations/inputs.js +2 -2
  183. package/dist/theme/customizations/navigation.js +2 -2
  184. package/dist/theme/theme-primitives.d.ts +8 -246
  185. package/dist/theme/theme-primitives.js +76 -87
  186. package/dist/{typographyClasses-DDyl9mok.js → typographyClasses-C7fhAsUD.js} +4 -4
  187. package/dist/{useMobilePicker-C1RZZUWr.js → useMobilePicker-C4AYe0Ch.js} +11249 -11231
  188. package/dist/{useTheme-B5czKfC4.js → useTheme-CtdhfT4P.js} +1 -1
  189. package/dist/{useThemeProps-DqA5BinV.js → useThemeProps-_apS-Aua.js} +2 -2
  190. package/dist/utils/dayjs.js +7 -7
  191. package/dist/utils/logger.js +29 -32
  192. package/dist/{warning-BCwEnWrE.js → warning-DnPRVtW6.js} +4 -4
  193. package/package.json +240 -81
  194. package/README.md +0 -13
  195. package/dist/ButtonBase-DfTfJ_ou.js +0 -1105
  196. package/dist/DefaultPropsProvider-CaCsvQaq.js +0 -78
  197. package/dist/Paper-hkbPWyBT.js +0 -553
  198. package/dist/createSvgIcon-DxwgGAVe.js +0 -247
  199. package/dist/defaultTheme-fEi1x1Gb.js +0 -5
  200. package/dist/extendSxProp-BKWjdW12.js +0 -37
  201. package/dist/mergeSlotProps-Dl_rJtoN.js +0 -62
  202. package/dist/resolveProps-61uUKnlS.js +0 -52
  203. package/dist/styled-B0Z4EDy9.js +0 -206
@@ -1,11 +1,10 @@
1
- import "react";
2
- import { j as i } from "./jsx-runtime-OVHDjVDe.js";
3
- import { e as m } from "./extendSxProp-BKWjdW12.js";
4
- import { P as e } from "./createTheme-3Wd3hHrj.js";
5
- import { d as y } from "./defaultTheme-fEi1x1Gb.js";
1
+ import { j as i } from "./jsx-runtime-tc70JA_2.js";
2
+ import { e as y } from "./extendSxProp-DitxZ8We.js";
3
+ import { P as e } from "./createTheme-f5g1s6ww.js";
4
+ import { d as m } from "./defaultTheme-LSr-S9un.js";
6
5
  import { T as d } from "./identifier-BKLqN993.js";
7
- import { i as b } from "./index-BGvzecIA.js";
8
- import { u as T } from "./useTheme-B5czKfC4.js";
6
+ import { i as b } from "./index-D3G5Rwl-.js";
7
+ import { u as T } from "./useTheme-CtdhfT4P.js";
9
8
  import { Global as x } from "@emotion/react";
10
9
  function E(r) {
11
10
  return r == null || Object.keys(r).length === 0;
@@ -59,7 +58,7 @@ process.env.NODE_ENV !== "production" && (f.propTypes = {
59
58
  function c(r) {
60
59
  return /* @__PURE__ */ i.jsx(f, {
61
60
  ...r,
62
- defaultTheme: y,
61
+ defaultTheme: m,
63
62
  themeId: d
64
63
  });
65
64
  }
@@ -73,7 +72,7 @@ process.env.NODE_ENV !== "production" && (c.propTypes = {
73
72
  */
74
73
  styles: e.oneOfType([e.array, e.func, e.number, e.object, e.string, e.bool])
75
74
  });
76
- function D(r) {
75
+ function _(r) {
77
76
  return function(l) {
78
77
  return (
79
78
  // Pigment CSS `globalCss` support callback with theme inside an object but `GlobalStyles` support theme as a callback value.
@@ -86,10 +85,10 @@ function D(r) {
86
85
  );
87
86
  };
88
87
  }
89
- function P() {
90
- return m;
88
+ function D() {
89
+ return y;
91
90
  }
92
91
  export {
93
- D as g,
94
- P as i
92
+ _ as g,
93
+ D as i
95
94
  };
@@ -1,84 +1,66 @@
1
- import ee from "react";
2
- var T = { exports: {} }, _ = {};
3
- /**
4
- * @license React
5
- * react-jsx-runtime.production.js
6
- *
7
- * Copyright (c) Meta Platforms, Inc. and affiliates.
8
- *
9
- * This source code is licensed under the MIT license found in the
10
- * LICENSE file in the root directory of this source tree.
11
- */
12
- var F;
13
- function re() {
14
- if (F) return _;
15
- F = 1;
16
- var l = Symbol.for("react.transitional.element"), b = Symbol.for("react.fragment");
17
- function f(d, a, s) {
18
- var m = null;
19
- if (s !== void 0 && (m = "" + s), a.key !== void 0 && (m = "" + a.key), "key" in a) {
1
+ import K from "react";
2
+ var v = { exports: {} }, m = {};
3
+ var I;
4
+ function ee() {
5
+ if (I) return m;
6
+ I = 1;
7
+ var l = /* @__PURE__ */ Symbol.for("react.transitional.element"), E = /* @__PURE__ */ Symbol.for("react.fragment");
8
+ function c(i, o, s) {
9
+ var f = null;
10
+ if (s !== void 0 && (f = "" + s), o.key !== void 0 && (f = "" + o.key), "key" in o) {
20
11
  s = {};
21
- for (var E in a)
22
- E !== "key" && (s[E] = a[E]);
23
- } else s = a;
24
- return a = s.ref, {
12
+ for (var d in o)
13
+ d !== "key" && (s[d] = o[d]);
14
+ } else s = o;
15
+ return o = s.ref, {
25
16
  $$typeof: l,
26
- type: d,
27
- key: m,
28
- ref: a !== void 0 ? a : null,
17
+ type: i,
18
+ key: f,
19
+ ref: o !== void 0 ? o : null,
29
20
  props: s
30
21
  };
31
22
  }
32
- return _.Fragment = b, _.jsx = f, _.jsxs = f, _;
23
+ return m.Fragment = E, m.jsx = c, m.jsxs = c, m;
33
24
  }
34
- var R = {};
35
- /**
36
- * @license React
37
- * react-jsx-runtime.development.js
38
- *
39
- * Copyright (c) Meta Platforms, Inc. and affiliates.
40
- *
41
- * This source code is licensed under the MIT license found in the
42
- * LICENSE file in the root directory of this source tree.
43
- */
44
- var D;
45
- function te() {
46
- return D || (D = 1, process.env.NODE_ENV !== "production" && (function() {
25
+ var _ = {};
26
+ var $;
27
+ function re() {
28
+ return $ || ($ = 1, process.env.NODE_ENV !== "production" && (function() {
47
29
  function l(e) {
48
30
  if (e == null) return null;
49
31
  if (typeof e == "function")
50
- return e.$$typeof === Z ? null : e.displayName || e.name || null;
32
+ return e.$$typeof === H ? null : e.displayName || e.name || null;
51
33
  if (typeof e == "string") return e;
52
34
  switch (e) {
53
35
  case p:
54
36
  return "Fragment";
55
- case J:
56
- return "Profiler";
57
37
  case U:
38
+ return "Profiler";
39
+ case W:
58
40
  return "StrictMode";
59
- case G:
41
+ case z:
60
42
  return "Suspense";
61
- case X:
43
+ case G:
62
44
  return "SuspenseList";
63
- case H:
45
+ case B:
64
46
  return "Activity";
65
47
  }
66
48
  if (typeof e == "object")
67
49
  switch (typeof e.tag == "number" && console.error(
68
50
  "Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."
69
51
  ), e.$$typeof) {
70
- case W:
52
+ case M:
71
53
  return "Portal";
72
- case z:
73
- return (e.displayName || "Context") + ".Provider";
74
- case q:
75
- return (e._context.displayName || "Context") + ".Consumer";
76
54
  case V:
55
+ return e.displayName || "Context";
56
+ case J:
57
+ return (e._context.displayName || "Context") + ".Consumer";
58
+ case q:
77
59
  var r = e.render;
78
60
  return e = e.displayName, e || (e = r.displayName || r.name || "", e = e !== "" ? "ForwardRef(" + e + ")" : "ForwardRef"), e;
79
- case B:
61
+ case X:
80
62
  return r = e.displayName || null, r !== null ? r : l(e.type) || "Memo";
81
- case g:
63
+ case T:
82
64
  r = e._payload, e = e._init;
83
65
  try {
84
66
  return l(e(r));
@@ -87,12 +69,12 @@ function te() {
87
69
  }
88
70
  return null;
89
71
  }
90
- function b(e) {
72
+ function E(e) {
91
73
  return "" + e;
92
74
  }
93
- function f(e) {
75
+ function c(e) {
94
76
  try {
95
- b(e);
77
+ E(e);
96
78
  var r = !1;
97
79
  } catch {
98
80
  r = !0;
@@ -104,12 +86,12 @@ function te() {
104
86
  r,
105
87
  "The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",
106
88
  n
107
- ), b(e);
89
+ ), E(e);
108
90
  }
109
91
  }
110
- function d(e) {
92
+ function i(e) {
111
93
  if (e === p) return "<>";
112
- if (typeof e == "object" && e !== null && e.$$typeof === g)
94
+ if (typeof e == "object" && e !== null && e.$$typeof === T)
113
95
  return "<...>";
114
96
  try {
115
97
  var r = l(e);
@@ -118,23 +100,23 @@ function te() {
118
100
  return "<...>";
119
101
  }
120
102
  }
121
- function a() {
103
+ function o() {
122
104
  var e = k.A;
123
105
  return e === null ? null : e.getOwner();
124
106
  }
125
107
  function s() {
126
108
  return Error("react-stack-top-frame");
127
109
  }
128
- function m(e) {
129
- if (h.call(e, "key")) {
110
+ function f(e) {
111
+ if (x.call(e, "key")) {
130
112
  var r = Object.getOwnPropertyDescriptor(e, "key").get;
131
113
  if (r && r.isReactWarning) return !1;
132
114
  }
133
115
  return e.key !== void 0;
134
116
  }
135
- function E(e, r) {
117
+ function d(e, r) {
136
118
  function t() {
137
- y || (y = !0, console.error(
119
+ g || (g = !0, console.error(
138
120
  "%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://react.dev/link/special-props)",
139
121
  r
140
122
  ));
@@ -144,22 +126,23 @@ function te() {
144
126
  configurable: !0
145
127
  });
146
128
  }
147
- function L() {
129
+ function D() {
148
130
  var e = l(this.type);
149
- return N[e] || (N[e] = !0, console.error(
131
+ return h[e] || (h[e] = !0, console.error(
150
132
  "Accessing element.ref was removed in React 19. ref is now a regular prop. It will be removed from the JSX Element type in a future release."
151
133
  )), e = this.props.ref, e !== void 0 ? e : null;
152
134
  }
153
- function M(e, r, t, n, c, u, A, S) {
154
- return t = u.ref, e = {
155
- $$typeof: x,
135
+ function L(e, r, t, n, b, A) {
136
+ var a = t.ref;
137
+ return e = {
138
+ $$typeof: j,
156
139
  type: e,
157
140
  key: r,
158
- props: u,
159
- _owner: c
160
- }, (t !== void 0 ? t : null) !== null ? Object.defineProperty(e, "ref", {
141
+ props: t,
142
+ _owner: n
143
+ }, (a !== void 0 ? a : null) !== null ? Object.defineProperty(e, "ref", {
161
144
  enumerable: !1,
162
- get: L
145
+ get: D
163
146
  }) : Object.defineProperty(e, "ref", { enumerable: !1, value: null }), e._store = {}, Object.defineProperty(e._store, "validated", {
164
147
  configurable: !1,
165
148
  enumerable: !1,
@@ -174,33 +157,33 @@ function te() {
174
157
  configurable: !1,
175
158
  enumerable: !1,
176
159
  writable: !0,
177
- value: A
160
+ value: b
178
161
  }), Object.defineProperty(e, "_debugTask", {
179
162
  configurable: !1,
180
163
  enumerable: !1,
181
164
  writable: !0,
182
- value: S
165
+ value: A
183
166
  }), Object.freeze && (Object.freeze(e.props), Object.freeze(e)), e;
184
167
  }
185
- function j(e, r, t, n, c, u, A, S) {
186
- var o = r.children;
187
- if (o !== void 0)
168
+ function P(e, r, t, n, b, A) {
169
+ var a = r.children;
170
+ if (a !== void 0)
188
171
  if (n)
189
- if (Q(o)) {
190
- for (n = 0; n < o.length; n++)
191
- w(o[n]);
192
- Object.freeze && Object.freeze(o);
172
+ if (Z(a)) {
173
+ for (n = 0; n < a.length; n++)
174
+ w(a[n]);
175
+ Object.freeze && Object.freeze(a);
193
176
  } else
194
177
  console.error(
195
178
  "React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead."
196
179
  );
197
- else w(o);
198
- if (h.call(r, "key")) {
199
- o = l(e);
200
- var i = Object.keys(r).filter(function(K) {
201
- return K !== "key";
180
+ else w(a);
181
+ if (x.call(r, "key")) {
182
+ a = l(e);
183
+ var u = Object.keys(r).filter(function(Q) {
184
+ return Q !== "key";
202
185
  });
203
- n = 0 < i.length ? "{key: someKey, " + i.join(": ..., ") + ": ...}" : "{key: someKey}", I[o + n] || (i = 0 < i.length ? "{" + i.join(": ..., ") + ": ...}" : "{}", console.error(
186
+ n = 0 < u.length ? "{key: someKey, " + u.join(": ..., ") + ": ...}" : "{key: someKey}", Y[a + n] || (u = 0 < u.length ? "{" + u.join(": ..., ") + ": ...}" : "{}", console.error(
204
187
  `A props object containing a "key" prop is being spread into JSX:
205
188
  let props = %s;
206
189
  <%s {...props} />
@@ -208,77 +191,74 @@ React keys must be passed directly to JSX without using spread:
208
191
  let props = %s;
209
192
  <%s key={someKey} {...props} />`,
210
193
  n,
211
- o,
212
- i,
213
- o
214
- ), I[o + n] = !0);
194
+ a,
195
+ u,
196
+ a
197
+ ), Y[a + n] = !0);
215
198
  }
216
- if (o = null, t !== void 0 && (f(t), o = "" + t), m(r) && (f(r.key), o = "" + r.key), "key" in r) {
199
+ if (a = null, t !== void 0 && (c(t), a = "" + t), f(r) && (c(r.key), a = "" + r.key), "key" in r) {
217
200
  t = {};
218
- for (var P in r)
219
- P !== "key" && (t[P] = r[P]);
201
+ for (var S in r)
202
+ S !== "key" && (t[S] = r[S]);
220
203
  } else t = r;
221
- return o && E(
204
+ return a && d(
222
205
  t,
223
206
  typeof e == "function" ? e.displayName || e.name || "Unknown" : e
224
- ), M(
207
+ ), L(
225
208
  e,
226
- o,
227
- u,
228
- c,
229
- a(),
209
+ a,
230
210
  t,
231
- A,
232
- S
211
+ o(),
212
+ b,
213
+ A
233
214
  );
234
215
  }
235
216
  function w(e) {
236
- typeof e == "object" && e !== null && e.$$typeof === x && e._store && (e._store.validated = 1);
217
+ y(e) ? e._store && (e._store.validated = 1) : typeof e == "object" && e !== null && e.$$typeof === T && (e._payload.status === "fulfilled" ? y(e._payload.value) && e._payload.value._store && (e._payload.value._store.validated = 1) : e._store && (e._store.validated = 1));
218
+ }
219
+ function y(e) {
220
+ return typeof e == "object" && e !== null && e.$$typeof === j;
237
221
  }
238
- var v = ee, x = Symbol.for("react.transitional.element"), W = Symbol.for("react.portal"), p = Symbol.for("react.fragment"), U = Symbol.for("react.strict_mode"), J = Symbol.for("react.profiler"), q = Symbol.for("react.consumer"), z = Symbol.for("react.context"), V = Symbol.for("react.forward_ref"), G = Symbol.for("react.suspense"), X = Symbol.for("react.suspense_list"), B = Symbol.for("react.memo"), g = Symbol.for("react.lazy"), H = Symbol.for("react.activity"), Z = Symbol.for("react.client.reference"), k = v.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE, h = Object.prototype.hasOwnProperty, Q = Array.isArray, O = console.createTask ? console.createTask : function() {
222
+ var R = K, j = /* @__PURE__ */ Symbol.for("react.transitional.element"), M = /* @__PURE__ */ Symbol.for("react.portal"), p = /* @__PURE__ */ Symbol.for("react.fragment"), W = /* @__PURE__ */ Symbol.for("react.strict_mode"), U = /* @__PURE__ */ Symbol.for("react.profiler"), J = /* @__PURE__ */ Symbol.for("react.consumer"), V = /* @__PURE__ */ Symbol.for("react.context"), q = /* @__PURE__ */ Symbol.for("react.forward_ref"), z = /* @__PURE__ */ Symbol.for("react.suspense"), G = /* @__PURE__ */ Symbol.for("react.suspense_list"), X = /* @__PURE__ */ Symbol.for("react.memo"), T = /* @__PURE__ */ Symbol.for("react.lazy"), B = /* @__PURE__ */ Symbol.for("react.activity"), H = /* @__PURE__ */ Symbol.for("react.client.reference"), k = R.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE, x = Object.prototype.hasOwnProperty, Z = Array.isArray, O = console.createTask ? console.createTask : function() {
239
223
  return null;
240
224
  };
241
- v = {
225
+ R = {
242
226
  react_stack_bottom_frame: function(e) {
243
227
  return e();
244
228
  }
245
229
  };
246
- var y, N = {}, C = v.react_stack_bottom_frame.bind(
247
- v,
230
+ var g, h = {}, N = R.react_stack_bottom_frame.bind(
231
+ R,
248
232
  s
249
- )(), Y = O(d(s)), I = {};
250
- R.Fragment = p, R.jsx = function(e, r, t, n, c) {
251
- var u = 1e4 > k.recentlyCreatedOwnerStacks++;
252
- return j(
233
+ )(), C = O(i(s)), Y = {};
234
+ _.Fragment = p, _.jsx = function(e, r, t) {
235
+ var n = 1e4 > k.recentlyCreatedOwnerStacks++;
236
+ return P(
253
237
  e,
254
238
  r,
255
239
  t,
256
240
  !1,
257
- n,
258
- c,
259
- u ? Error("react-stack-top-frame") : C,
260
- u ? O(d(e)) : Y
241
+ n ? Error("react-stack-top-frame") : N,
242
+ n ? O(i(e)) : C
261
243
  );
262
- }, R.jsxs = function(e, r, t, n, c) {
263
- var u = 1e4 > k.recentlyCreatedOwnerStacks++;
264
- return j(
244
+ }, _.jsxs = function(e, r, t) {
245
+ var n = 1e4 > k.recentlyCreatedOwnerStacks++;
246
+ return P(
265
247
  e,
266
248
  r,
267
249
  t,
268
250
  !0,
269
- n,
270
- c,
271
- u ? Error("react-stack-top-frame") : C,
272
- u ? O(d(e)) : Y
251
+ n ? Error("react-stack-top-frame") : N,
252
+ n ? O(i(e)) : C
273
253
  );
274
254
  };
275
- })()), R;
255
+ })()), _;
276
256
  }
277
- var $;
278
- function ne() {
279
- return $ || ($ = 1, process.env.NODE_ENV === "production" ? T.exports = re() : T.exports = te()), T.exports;
257
+ var F;
258
+ function te() {
259
+ return F || (F = 1, process.env.NODE_ENV === "production" ? v.exports = ee() : v.exports = re()), v.exports;
280
260
  }
281
- var ae = ne();
261
+ var ae = te();
282
262
  export {
283
263
  ae as j
284
264
  };
package/dist/main.d.ts CHANGED
@@ -1,145 +1,29 @@
1
- export { default as SAccordion } from './s-accordion/index';
2
- export type { SAccordionProps } from './s-accordion/index';
3
- export { default as SActionOverlay } from './s-action-overlay/index';
4
- export type { SActionOverlayProps, IActionOverlay } from './s-action-overlay/index';
5
- export { default as SAiToolBar, SAiToolBarInputType } from './s-ai-tool-bar/index';
6
- export type { SAiToolBarProps, SAiToolBarInput, SAiToolBarValue, SAiToolBarOption } from './s-ai-tool-bar/index';
7
- export { default as SAutocomplete } from './s-autocomplete/index';
8
- export type { SAutocompleteProps } from './s-autocomplete/index';
9
- export { default as SAvatar } from './s-avatar/index';
10
- export type { SAvatarProps } from './s-avatar/index';
11
- export { default as SBreadcrumbs } from './s-breadcrumbs/index';
12
- export type { SBreadcrumbsProps, BreadcrumbItem } from './s-breadcrumbs/index';
13
- export { default as SButton } from './s-button/index';
14
- export type { SButtonProps } from './s-button/index';
15
- export { default as SButtonLink } from './s-button-link/index';
16
- export type { SButtonLinkProps } from './s-button-link/index';
17
- export { default as SCarousel } from './s-carousel/index';
18
- export type { SCarouselProps } from './s-carousel/index';
19
- export { default as SChatInput } from './s-chat-input/index';
20
- export type { SChatInputProps } from './s-chat-input/index';
21
- export { default as SChatMessage } from './s-chat-message/index';
22
- export type { SChatMessageProps } from './s-chat-message/index';
23
- export { default as SCommentMessage } from './s-comment-message/index';
24
- export type { SCommentMessageProps } from './s-comment-message/index';
25
- export { default as STextEditor } from './s-text-editor/index';
26
- export type { STextEditorProps } from './s-text-editor/index';
27
- export { default as SCheckbox } from './s-checkbox/index';
28
- export type { SCheckboxProps } from './s-checkbox/index';
29
- export { default as SChip } from './s-chip/index';
30
- export type { SChipProps } from './s-chip/index';
31
- export { default as SChips } from './s-chips/index';
32
- export type { SChipsProps } from './s-chips/index';
33
- export { default as SDataTable } from './s-data-table/index';
34
- export type { ColumnDef, SDataTableProps } from './s-data-table/index';
35
- export { default as SDialogConfirm, DialogConfirmProvider, useDialogConfirm } from './s-dialog-confirm/index';
36
- export type { DialogConfirmContextProps, DialogConfirmOpenOptions } from './s-dialog-confirm/index';
37
- export { default as SDialogMessage, DialogMessageProvider, useDialogMessage } from './s-dialog-message/index';
38
- export type { DialogMessageContextProps, DialogMessageOpenOptions } from './s-dialog-message/index';
39
- export { default as SError } from './s-error/index';
40
- export { default as SEmpty } from './s-empty/index';
41
- export type { SEmptyProps } from './s-empty/index';
42
- export { default as SFlexBox } from './s-flex-box/index';
43
- export type { SFlexBoxProps } from './s-flex-box/index';
44
- export { default as STwoPaneLayout } from './s-two-pane-layout/index';
45
- export type { STwoPaneLayoutProps } from './s-two-pane-layout/index';
46
- export { default as SDialog } from './s-dialog/index';
47
- export type { SDialogProps } from './s-dialog/index';
48
- export { default as SErrorLayout } from './s-error-layout/index';
49
- export type { SErrorLayoutProps } from './s-error-layout/index';
50
- export { default as SFileDropzone } from './s-file-dropzone/index';
51
- export type { CustomFile, SFileDropzoneProps } from './s-file-dropzone/index';
52
- export { default as SFileIcon } from './s-file-icon/index';
53
- export type { SFileIconProps } from './s-file-icon/index';
54
- export { default as SI18nProvider } from './s-i18n-provider/index';
55
- export type { SI18nProviderProps } from './s-i18n-provider/index';
56
- export { default as SIconButton } from './s-icon-button/index';
57
- export type { SIconButtonProps } from './s-icon-button/index';
58
- export { default as SLabel } from './s-label/index';
59
- export type { SLabelProps } from './s-label/index';
60
- export { default as SMultiSelect } from './s-multi-select/index';
61
- export type { SMultiSelectProps } from './s-multi-select/index';
62
- export { default as SNoSsr } from './s-no-ssr/index';
63
- export type { SNoSsrProps } from './s-no-ssr/index';
64
- export { default as SOverlayScrollbar } from './s-overlay-scrollbar/index';
65
- export type { SOverlayScrollbarProps } from './s-overlay-scrollbar/index';
66
- export { default as STextField } from './s-text-field/index';
67
- export type { STextFieldProps } from './s-text-field/index';
68
- export { default as SPagination } from './s-pagination/index';
69
- export type { SPaginationProps } from './s-pagination/index';
70
- export { default as SSelect } from './s-select/index';
71
- export type { SSelectProps } from './s-select/index';
72
- export { default as SSelectList } from './s-select-list/index';
73
- export type { SSelectListProps, SSelectListItem } from './s-select-list/index';
74
- export { default as SSkeleton } from './s-skeleton/index';
75
- export type { SSkeletonProps } from './s-skeleton/index';
76
- export { default as STip } from './s-tip/index';
77
- export type { STipProps } from './s-tip/index';
78
- export { default as STextTruncation } from './s-text-truncation/index';
79
- export { default as SSnackbarMessage, SnackbarMessageProvider, useSnackbarMessage } from './s-snackbar-message/index';
80
- export type { SnackbarMessageContextProps, SnackbarMessageOpenOptions } from './s-snackbar-message/index';
81
- export { default as SForm } from './s-form/index';
82
- export type { SFormProps } from './s-form/index';
83
- export { SStripeNumber, SStripeExpiry, SStripeCVC, StripeTextField } from './s-stripe/index';
84
- export type { StripeTextFieldProps, StripeElement } from './s-stripe/index';
85
- export { default as SThemeProvider } from './s-theme-provider/index';
86
- export type { SThemeProviderProps } from './s-theme-provider/index';
87
- export { default as SThemeSwitch } from './s-theme-switch/index';
88
- export type { SThemeSwitchProps, SThemeMode } from './s-theme-switch/index';
89
- export { default as SDateTimePicker } from './s-datetime-picker/index';
90
- export type { SDateTimePickerProps } from './s-datetime-picker/index';
91
- export { default as SDatePicker } from './s-date-picker/index';
92
- export type { SDatePickerProps } from './s-date-picker/index';
93
- export { default as SLocalizationProvider } from './s-localization-provider/index';
94
- export type { SLocalizationProviderProps } from './s-localization-provider/index';
95
- export { default as SGradientIcon } from './s-gradient-icon/index';
96
- export type { SGradientIconProps } from './s-gradient-icon/index';
97
- export { default as SGlowButton } from './s-glow-button/index';
98
- export type { SGlowButtonProps } from './s-glow-button/index';
99
- export { default as SMovingBorder } from './s-moving-border/index';
100
- export type { SMovingBorderProps } from './s-moving-border/index';
101
- export { default as SPixelReveal } from './s-pixel-reveal/index';
102
- export type { SPixelRevealProps } from './s-pixel-reveal/index';
103
- export { default as SScrollReveal } from './s-scroll-reveal/index';
104
- export type { SScrollRevealProps } from './s-scroll-reveal/index';
105
- export { default as SScrollVelocity, ScrollVelocityContainer, ScrollVelocityRow } from './s-scroll-velocity/index';
106
- export type { SScrollVelocityProps, ScrollVelocityContainerProps, ScrollVelocityRowProps, } from './s-scroll-velocity/index';
107
- export { default as SSpotlightCursor } from './s-spotlight-cursor/index';
108
- export type { SSpotlightCursorProps, SpotlightConfig } from './s-spotlight-cursor/index';
109
- export { default as SCopyableText } from './s-copyable-text/index';
110
- export type { SCopyableTextProps } from './s-copyable-text/index';
111
- export { default as SCodeBlock } from './s-code-block/index';
112
- export type { SCodeBlockProps } from './s-code-block/index';
113
- export { default as SGallery, MediaItem } from './s-gallery/index';
114
- export type { SGalleryProps, MediaItemProps, GalleryLayoutVariant } from './s-gallery/index';
115
- export { default as SImageModal } from './s-image-modal/index';
116
- export type { MediaItemType } from './s-image-modal/index';
117
- export type { SImageModalProps } from './s-image-modal/index';
118
- export { default as SLazyImage } from './s-lazy-image/index';
119
- export type { SLazyImageProps } from './s-lazy-image/index';
120
- export { default as SImageComparison } from './s-image-comparison/index';
121
- export type { SImageComparisonProps } from './s-image-comparison/index';
122
- export { default as SZoomImage } from './s-zoom-image/index';
123
- export type { SZoomImageProps } from './s-zoom-image/index';
124
- export { default as SItemNotFound } from './s-item-not-found/index';
125
- export type { SItemNotFoundProps } from './s-item-not-found/index';
126
- export { default as SCategoryCard } from './s-category-card/index';
127
- export type { SCategoryCardProps } from './s-category-card/index';
128
- export { default as SRadialPulseAnimate } from './s-radial-pulse-animate/index';
129
- export type { SRadialPulseAnimateProps } from './s-radial-pulse-animate/index';
130
- export { default as SRating } from './s-rating/index';
131
- export type { SRatingProps } from './s-rating/index';
132
- export { default as SReview } from './s-review/index';
133
- export type { SReviewProps } from './s-review/index';
134
- export { STabs, STab, STabPanel } from './s-tabs/index';
135
- export type { STabsProps, STabItem, STabProps, STabPanelProps } from './s-tabs/index';
136
- export { default as STextShimmer } from './s-text-shimmer/index';
137
- export type { STextShimmerProps } from './s-text-shimmer/index';
138
- export { default as STypewriterText } from './s-typewriter-text/index';
139
- export type { STypewriterTextProps } from './s-typewriter-text/index';
140
- export { default as SLanguageSwitcher, SLanguagePopover, defaultLanguageOptions } from './s-language-switcher/index';
141
- export type { SLanguageSwitcherProps, SLanguagePopoverProps, SLanguageOption } from './s-language-switcher/index';
142
- export { default as SScrollToTop } from './s-scroll-to-top/index';
143
- export type { SScrollToTopProps } from './s-scroll-to-top/index';
144
- export * from './hooks';
145
- export * from './utils';
1
+ /**
2
+ * Main entry point - Re-exports all components from subpath modules
3
+ *
4
+ * For optimized imports with fewer dependencies, use subpath imports:
5
+ * - @solostylist/ui-kit/core - Base MUI components
6
+ * - @solostylist/ui-kit/dates - Date/time pickers (@mui/x-date-pickers, dayjs)
7
+ * - @solostylist/ui-kit/editor - Rich text editor (@tiptap/*)
8
+ * - @solostylist/ui-kit/stripe - Payment components (@stripe/*)
9
+ * - @solostylist/ui-kit/motion - Animations (framer-motion)
10
+ * - @solostylist/ui-kit/gallery - Image components (framer-motion)
11
+ * - @solostylist/ui-kit/carousel - Carousel (react-slick)
12
+ * - @solostylist/ui-kit/chat - Chat with emoji (emoji-picker-react)
13
+ * - @solostylist/ui-kit/dropzone - File upload (react-dropzone)
14
+ * - @solostylist/ui-kit/code - Code display (react-syntax-highlighter)
15
+ * - @solostylist/ui-kit/scrollbar - Custom scrollbar (overlayscrollbars-react)
16
+ * - @solostylist/ui-kit/i18n - Internationalization (i18next)
17
+ */
18
+ export * from './entries/core';
19
+ export * from './entries/dates';
20
+ export * from './entries/editor';
21
+ export * from './entries/stripe';
22
+ export * from './entries/motion';
23
+ export * from './entries/gallery';
24
+ export * from './entries/carousel';
25
+ export * from './entries/chat';
26
+ export * from './entries/dropzone';
27
+ export * from './entries/code';
28
+ export * from './entries/scrollbar';
29
+ export * from './entries/i18n';