@solostylist/ui-kit 1.0.174 → 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 (206) 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.d.ts +4 -0
  79. package/dist/s-chat-input/s-chat-input.js +103 -109
  80. package/dist/s-chat-message/s-chat-message.js +111 -120
  81. package/dist/s-checkbox/s-checkbox.js +12 -20
  82. package/dist/s-chip/package.json +5 -5
  83. package/dist/s-chip/s-chip.js +7 -15
  84. package/dist/s-chips/s-chips.js +47 -56
  85. package/dist/s-code-block/package.json +5 -5
  86. package/dist/s-code-block/s-code-block.js +35 -43
  87. package/dist/s-comment-message/package.json +5 -5
  88. package/dist/s-comment-message/s-comment-message.js +90 -94
  89. package/dist/s-copyable-text/s-copyable-text.js +24 -32
  90. package/dist/s-countdown/s-count-box.js +42 -50
  91. package/dist/s-countdown/s-count-down.js +79 -107
  92. package/dist/s-data-table/s-data-table.js +374 -384
  93. package/dist/s-date-picker/s-date-picker.js +164 -164
  94. package/dist/s-datetime-picker/s-datetime-picker.js +1599 -1603
  95. package/dist/s-dialog/s-dialog.js +24 -32
  96. package/dist/s-dialog-confirm/s-dialog-confirm.js +46 -50
  97. package/dist/s-dialog-message/s-dialog-message.js +40 -44
  98. package/dist/s-empty/s-empty.js +6 -14
  99. package/dist/s-error/s-error.js +9 -17
  100. package/dist/s-error-layout/s-error-layout.js +38 -47
  101. package/dist/s-file-dropzone/s-file-dropzone.js +55 -64
  102. package/dist/s-file-icon/s-file-icon.js +9 -13
  103. package/dist/s-flex-box/s-flex-box.js +6 -14
  104. package/dist/s-form/s-form.js +11 -19
  105. package/dist/s-gallery/index.js +3 -33
  106. package/dist/s-gallery/s-gallery.js +91 -114
  107. package/dist/s-glow-button/s-glow-button.js +22 -26
  108. package/dist/s-gradient-icon/s-gradient-icon.js +49 -59
  109. package/dist/s-i18n-provider/s-i18n-provider.js +17 -25
  110. package/dist/s-icon-button/s-icon-button.js +6 -14
  111. package/dist/s-image-comparison/package.json +5 -5
  112. package/dist/s-image-comparison/s-image-comparison.js +48 -53
  113. package/dist/s-image-modal/package.json +5 -5
  114. package/dist/s-image-modal/s-image-modal.js +137 -150
  115. package/dist/s-item-not-found/s-item-not-found.js +13 -22
  116. package/dist/s-label/s-label.js +12 -20
  117. package/dist/s-language-switcher/s-language-switcher.js +119 -141
  118. package/dist/s-lazy-image/index.js +2 -10
  119. package/dist/s-lazy-image/s-lazy-image.js +33 -37
  120. package/dist/s-localization-provider/s-localization-provider.js +368 -380
  121. package/dist/s-moving-border/s-moving-border.js +52 -67
  122. package/dist/s-multi-select/s-multi-select.js +43 -51
  123. package/dist/s-no-ssr/s-no-ssr.js +13 -21
  124. package/dist/s-overlay-scrollbar/s-overlay-scrollbar.js +12 -16
  125. package/dist/s-pagination/s-pagination.js +13 -17
  126. package/dist/s-pixel-reveal/package.json +5 -5
  127. package/dist/s-pixel-reveal/s-pixel-reveal.js +92 -99
  128. package/dist/s-radial-pulse-animate/package.json +5 -5
  129. package/dist/s-radial-pulse-animate/s-radial-pulse-animate.js +40 -48
  130. package/dist/s-rating/package.json +5 -5
  131. package/dist/s-rating/s-rating.js +7 -15
  132. package/dist/s-review/package.json +5 -5
  133. package/dist/s-review/s-review.js +101 -106
  134. package/dist/s-scroll-reveal/package.json +5 -5
  135. package/dist/s-scroll-reveal/s-scroll-reveal.js +40 -48
  136. package/dist/s-scroll-to-top/package.json +5 -5
  137. package/dist/s-scroll-to-top/s-scroll-to-top.js +20 -30
  138. package/dist/s-scroll-velocity/package.json +5 -5
  139. package/dist/s-scroll-velocity/s-scroll-velocity.js +5 -19
  140. package/dist/s-scroll-velocity/scroll-velocity-container.js +18 -27
  141. package/dist/s-scroll-velocity/scroll-velocity-row.js +62 -71
  142. package/dist/s-select/s-select.js +67 -75
  143. package/dist/s-select-list/s-select-list.js +28 -32
  144. package/dist/s-skeleton/s-skeleton.js +20 -28
  145. package/dist/s-snackbar-message/s-snackbar-message.js +36 -40
  146. package/dist/s-spotlight-cursor/s-spotlight-cursor.js +31 -35
  147. package/dist/s-stripe/s-stripe-cvc.js +8 -12
  148. package/dist/s-stripe/s-stripe-expiry.js +8 -12
  149. package/dist/s-stripe/s-stripe-number.js +8 -12
  150. package/dist/s-stripe/s-stripe.d.ts +2 -2
  151. package/dist/s-stripe/s-stripe.js +17 -26
  152. package/dist/s-stripe/stripe-input.js +25 -29
  153. package/dist/s-tabs/package.json +3 -3
  154. package/dist/s-tabs/s-tab-panel.js +17 -25
  155. package/dist/s-tabs/s-tab.js +5 -9
  156. package/dist/s-tabs/s-tabs.js +19 -27
  157. package/dist/s-text-editor/s-text-editor-toolbar.js +73 -88
  158. package/dist/s-text-editor/s-text-editor.js +33 -45
  159. package/dist/s-text-field/s-text-field.js +31 -40
  160. package/dist/s-text-shimmer/package.json +4 -4
  161. package/dist/s-text-shimmer/s-text-shimmer.js +19 -27
  162. package/dist/s-text-truncation/s-text-truncation.js +24 -32
  163. package/dist/s-theme-demo/package.json +5 -5
  164. package/dist/s-theme-demo/s-theme-demo.js +219 -234
  165. package/dist/s-theme-provider/s-theme-provider.js +37 -45
  166. package/dist/s-theme-switch/package.json +4 -4
  167. package/dist/s-theme-switch/s-theme-switch.js +19 -23
  168. package/dist/s-tip/s-tip.js +14 -22
  169. package/dist/s-two-pane-layout/index.js +2 -10
  170. package/dist/s-two-pane-layout/s-two-pane-layout.js +47 -55
  171. package/dist/s-typewriter-text/package.json +5 -5
  172. package/dist/s-typewriter-text/s-typewriter-text.js +27 -35
  173. package/dist/s-zoom-image/index.js +2 -10
  174. package/dist/s-zoom-image/package.json +5 -5
  175. package/dist/s-zoom-image/s-zoom-image.js +53 -62
  176. package/dist/styled-B0KflPi-.js +203 -0
  177. package/dist/theme/components/alert.d.ts +484 -264
  178. package/dist/theme/components/avatar.js +2 -2
  179. package/dist/theme/components/button.d.ts +726 -396
  180. package/dist/theme/components/chip.js +2 -2
  181. package/dist/theme/components/components.js +14 -12
  182. package/dist/theme/components/icon-button.d.ts +6191 -0
  183. package/dist/theme/components/icon-button.js +90 -0
  184. package/dist/theme/customizations/data-display.js +1 -1
  185. package/dist/theme/customizations/inputs.js +2 -2
  186. package/dist/theme/customizations/navigation.js +2 -2
  187. package/dist/theme/theme-primitives.d.ts +8 -246
  188. package/dist/theme/theme-primitives.js +76 -87
  189. package/dist/{typographyClasses-DDyl9mok.js → typographyClasses-C7fhAsUD.js} +4 -4
  190. package/dist/{useMobilePicker-C1RZZUWr.js → useMobilePicker-C4AYe0Ch.js} +11249 -11231
  191. package/dist/{useTheme-B5czKfC4.js → useTheme-CtdhfT4P.js} +1 -1
  192. package/dist/{useThemeProps-DqA5BinV.js → useThemeProps-_apS-Aua.js} +2 -2
  193. package/dist/utils/dayjs.js +7 -7
  194. package/dist/utils/logger.js +29 -32
  195. package/dist/{warning-BCwEnWrE.js → warning-DnPRVtW6.js} +4 -4
  196. package/package.json +240 -81
  197. package/README.md +0 -13
  198. package/dist/ButtonBase-DfTfJ_ou.js +0 -1105
  199. package/dist/DefaultPropsProvider-CaCsvQaq.js +0 -78
  200. package/dist/Paper-hkbPWyBT.js +0 -553
  201. package/dist/createSvgIcon-DxwgGAVe.js +0 -247
  202. package/dist/defaultTheme-fEi1x1Gb.js +0 -5
  203. package/dist/extendSxProp-BKWjdW12.js +0 -37
  204. package/dist/mergeSlotProps-Dl_rJtoN.js +0 -62
  205. package/dist/resolveProps-61uUKnlS.js +0 -52
  206. package/dist/styled-B0Z4EDy9.js +0 -206
@@ -1,4 +1,4 @@
1
- import { b as n } from "./createTheme-3Wd3hHrj.js";
1
+ import { b as n } from "./createTheme-f5g1s6ww.js";
2
2
  import * as o from "react";
3
3
  import { ThemeContext as m } from "@emotion/react";
4
4
  function r(e) {
@@ -1,5 +1,5 @@
1
- import { r as n } from "./resolveProps-61uUKnlS.js";
2
- import { u as p } from "./useTheme-B5czKfC4.js";
1
+ import { r as n } from "./resolveProps-BDH0VJjn.js";
2
+ import { u as p } from "./useTheme-CtdhfT4P.js";
3
3
  function m(t) {
4
4
  const {
5
5
  theme: e,
@@ -1,6 +1,6 @@
1
1
  import h, { extend as k } from "dayjs";
2
2
  import { default as X } from "dayjs";
3
- import { g as E } from "../_commonjsHelpers-B4e78b8K.js";
3
+ import { g as E } from "../_commonjsHelpers-ByX85dGu.js";
4
4
  var v = { exports: {} }, N = v.exports, j;
5
5
  function U() {
6
6
  return j || (j = 1, (function(u, d) {
@@ -31,19 +31,19 @@ function P() {
31
31
  return t.fromToBase(e, i, p, M);
32
32
  }
33
33
  n.en.relativeTime = a, t.fromToBase = function(e, i, p, M, R) {
34
- for (var L, y, $, g = p.$locale().relativeTime || a, D = o.thresholds || [{ l: "s", r: 44, d: "second" }, { l: "m", r: 89 }, { l: "mm", r: 44, d: "minute" }, { l: "h", r: 89 }, { l: "hh", r: 21, d: "hour" }, { l: "d", r: 35 }, { l: "dd", r: 25, d: "day" }, { l: "M", r: 45 }, { l: "MM", r: 10, d: "month" }, { l: "y", r: 17 }, { l: "yy", d: "year" }], I = D.length, l = 0; l < I; l += 1) {
34
+ for (var $, y, L, g = p.$locale().relativeTime || a, D = o.thresholds || [{ l: "s", r: 44, d: "second" }, { l: "m", r: 89 }, { l: "mm", r: 44, d: "minute" }, { l: "h", r: 89 }, { l: "hh", r: 21, d: "hour" }, { l: "d", r: 35 }, { l: "dd", r: 25, d: "day" }, { l: "M", r: 45 }, { l: "MM", r: 10, d: "month" }, { l: "y", r: 17 }, { l: "yy", d: "year" }], I = D.length, l = 0; l < I; l += 1) {
35
35
  var s = D[l];
36
- s.d && (L = M ? n(e).diff(p, s.d, !0) : p.diff(e, s.d, !0));
37
- var c = (o.rounding || Math.round)(Math.abs(L));
38
- if ($ = L > 0, c <= s.r || !s.r) {
36
+ s.d && ($ = M ? n(e).diff(p, s.d, !0) : p.diff(e, s.d, !0));
37
+ var c = (o.rounding || Math.round)(Math.abs($));
38
+ if (L = $ > 0, c <= s.r || !s.r) {
39
39
  c <= 1 && l > 0 && (s = D[l - 1]);
40
40
  var q = g[s.l];
41
- R && (c = R("" + c)), y = typeof q == "string" ? q.replace("%d", c) : q(c, i, s.l, $);
41
+ R && (c = R("" + c)), y = typeof q == "string" ? q.replace("%d", c) : q(c, i, s.l, L);
42
42
  break;
43
43
  }
44
44
  }
45
45
  if (i) return y;
46
- var w = $ ? g.future : g.past;
46
+ var w = L ? g.future : g.past;
47
47
  return typeof w == "function" ? w(y) : w.replace("%s", y);
48
48
  }, t.to = function(e, i) {
49
49
  return f(e, i, this, !0);
@@ -1,51 +1,48 @@
1
- var o = Object.defineProperty;
2
- var L = (i, e, r) => e in i ? o(i, e, { enumerable: !0, configurable: !0, writable: !0, value: r }) : i[e] = r;
3
- var s = (i, e, r) => L(i, typeof e != "symbol" ? e + "" : e, r);
4
- const t = {
1
+ const r = {
5
2
  NONE: "NONE",
6
3
  ERROR: "ERROR",
7
4
  WARN: "WARN",
8
5
  DEBUG: "DEBUG",
9
6
  ALL: "ALL"
10
- }, R = {
7
+ }, l = {
11
8
  NONE: 0,
12
9
  ERROR: 1,
13
10
  WARN: 2,
14
11
  DEBUG: 3,
15
12
  ALL: 4
16
13
  };
17
- class h {
18
- constructor({ prefix: e = "", level: r = t.ALL, showLevel: l = !0 }) {
19
- s(this, "prefix");
20
- s(this, "level");
21
- s(this, "showLevel");
22
- s(this, "levelNumber");
23
- s(this, "debug", (...e) => {
24
- this.canWrite(t.DEBUG) && this.write(t.DEBUG, ...e);
25
- });
26
- s(this, "warn", (...e) => {
27
- this.canWrite(t.WARN) && this.write(t.WARN, ...e);
28
- });
29
- s(this, "error", (...e) => {
30
- this.canWrite(t.ERROR) && this.write(t.ERROR, ...e);
31
- });
32
- this.prefix = e, this.level = r, this.levelNumber = R[this.level], this.showLevel = l;
14
+ class R {
15
+ prefix;
16
+ level;
17
+ showLevel;
18
+ levelNumber;
19
+ constructor({ prefix: e = "", level: i = r.ALL, showLevel: t = !0 }) {
20
+ this.prefix = e, this.level = i, this.levelNumber = l[this.level], this.showLevel = t;
33
21
  }
22
+ debug = (...e) => {
23
+ this.canWrite(r.DEBUG) && this.write(r.DEBUG, ...e);
24
+ };
25
+ warn = (...e) => {
26
+ this.canWrite(r.WARN) && this.write(r.WARN, ...e);
27
+ };
28
+ error = (...e) => {
29
+ this.canWrite(r.ERROR) && this.write(r.ERROR, ...e);
30
+ };
34
31
  canWrite(e) {
35
- return this.levelNumber >= R[e];
32
+ return this.levelNumber >= l[e];
36
33
  }
37
- write(e, ...r) {
38
- let l = this.prefix;
39
- this.showLevel && (l = `- ${e} ${l}`), e === t.ERROR ? console.error(l, ...r) : console.log(l, ...r);
34
+ write(e, ...i) {
35
+ let t = this.prefix;
36
+ this.showLevel && (t = `- ${e} ${t}`), e === r.ERROR ? console.error(t, ...i) : console.log(t, ...i);
40
37
  }
41
38
  }
42
- function n({ prefix: i, level: e } = {}) {
43
- return new h({ prefix: i, level: e });
39
+ function o({ prefix: s, level: e } = {}) {
40
+ return new R({ prefix: s, level: e });
44
41
  }
45
- const c = n({ level: t.ALL });
42
+ const L = o({ level: r.ALL });
46
43
  export {
47
- t as LogLevel,
48
- h as Logger,
49
- n as createLogger,
50
- c as logger
44
+ r as LogLevel,
45
+ R as Logger,
46
+ o as createLogger,
47
+ L as logger
51
48
  };
@@ -1,10 +1,10 @@
1
1
  import { _ as L, a as P } from "./objectWithoutPropertiesLoose-DiWPeE4c.js";
2
2
  import * as n from "react";
3
- import { P as e } from "./createTheme-3Wd3hHrj.js";
4
- import { j as E } from "./jsx-runtime-OVHDjVDe.js";
5
- import { d as M } from "./defaultTheme-fEi1x1Gb.js";
3
+ import { P as e } from "./createTheme-f5g1s6ww.js";
4
+ import { j as E } from "./jsx-runtime-tc70JA_2.js";
5
+ import { d as M } from "./defaultTheme-LSr-S9un.js";
6
6
  import { T as j } from "./identifier-BKLqN993.js";
7
- import { u as v } from "./useThemeProps-DqA5BinV.js";
7
+ import { u as v } from "./useThemeProps-_apS-Aua.js";
8
8
  function w({
9
9
  props: o,
10
10
  name: a
package/package.json CHANGED
@@ -3,9 +3,8 @@
3
3
  "publishConfig": {
4
4
  "registry": "https://registry.npmjs.org"
5
5
  },
6
- "version": "1.0.174",
6
+ "version": "1.0.176",
7
7
  "description": "advanced ui kit for solostylist",
8
- "private": false,
9
8
  "type": "module",
10
9
  "main": "dist/main.js",
11
10
  "types": "dist/main.d.ts",
@@ -14,21 +13,111 @@
14
13
  ],
15
14
  "sideEffects": false,
16
15
  "exports": {
17
- ".": "./dist/main.js",
16
+ ".": {
17
+ "types": "./dist/main.d.ts",
18
+ "import": "./dist/main.js"
19
+ },
20
+ "./core": {
21
+ "types": "./dist/entries/core.d.ts",
22
+ "import": "./dist/entries/core.js"
23
+ },
24
+ "./dates": {
25
+ "types": "./dist/entries/dates.d.ts",
26
+ "import": "./dist/entries/dates.js"
27
+ },
28
+ "./editor": {
29
+ "types": "./dist/entries/editor.d.ts",
30
+ "import": "./dist/entries/editor.js"
31
+ },
32
+ "./stripe": {
33
+ "types": "./dist/entries/stripe.d.ts",
34
+ "import": "./dist/entries/stripe.js"
35
+ },
36
+ "./motion": {
37
+ "types": "./dist/entries/motion.d.ts",
38
+ "import": "./dist/entries/motion.js"
39
+ },
40
+ "./gallery": {
41
+ "types": "./dist/entries/gallery.d.ts",
42
+ "import": "./dist/entries/gallery.js"
43
+ },
44
+ "./carousel": {
45
+ "types": "./dist/entries/carousel.d.ts",
46
+ "import": "./dist/entries/carousel.js"
47
+ },
48
+ "./chat": {
49
+ "types": "./dist/entries/chat.d.ts",
50
+ "import": "./dist/entries/chat.js"
51
+ },
52
+ "./dropzone": {
53
+ "types": "./dist/entries/dropzone.d.ts",
54
+ "import": "./dist/entries/dropzone.js"
55
+ },
56
+ "./code": {
57
+ "types": "./dist/entries/code.d.ts",
58
+ "import": "./dist/entries/code.js"
59
+ },
60
+ "./scrollbar": {
61
+ "types": "./dist/entries/scrollbar.d.ts",
62
+ "import": "./dist/entries/scrollbar.js"
63
+ },
64
+ "./i18n": {
65
+ "types": "./dist/entries/i18n.d.ts",
66
+ "import": "./dist/entries/i18n.js"
67
+ },
18
68
  "./*": "./dist/*.js"
19
69
  },
70
+ "typesVersions": {
71
+ "*": {
72
+ "core": [
73
+ "./dist/entries/core.d.ts"
74
+ ],
75
+ "dates": [
76
+ "./dist/entries/dates.d.ts"
77
+ ],
78
+ "editor": [
79
+ "./dist/entries/editor.d.ts"
80
+ ],
81
+ "stripe": [
82
+ "./dist/entries/stripe.d.ts"
83
+ ],
84
+ "motion": [
85
+ "./dist/entries/motion.d.ts"
86
+ ],
87
+ "gallery": [
88
+ "./dist/entries/gallery.d.ts"
89
+ ],
90
+ "carousel": [
91
+ "./dist/entries/carousel.d.ts"
92
+ ],
93
+ "chat": [
94
+ "./dist/entries/chat.d.ts"
95
+ ],
96
+ "dropzone": [
97
+ "./dist/entries/dropzone.d.ts"
98
+ ],
99
+ "code": [
100
+ "./dist/entries/code.d.ts"
101
+ ],
102
+ "scrollbar": [
103
+ "./dist/entries/scrollbar.d.ts"
104
+ ],
105
+ "i18n": [
106
+ "./dist/entries/i18n.d.ts"
107
+ ]
108
+ }
109
+ },
20
110
  "scripts": {
21
- "dev": "vite",
22
111
  "build": "tsc --p ./tsconfig-build.json && vite build",
23
- "build:mcp": "tsx scripts/build-mcp-data.ts",
24
- "build:docs": "npm run build:mcp && vite build --config vite.docs.config.ts",
25
- "build:lib": "tsc --p ./tsconfig-build.json && vite build",
112
+ "dev": "tsc --p ./tsconfig-build.json --watch",
113
+ "test": "echo \"No tests configured for @solostylist/ui-kit\"",
26
114
  "lint": "eslint . --ext ts,tsx --report-unused-disable-directives --max-warnings 0",
27
115
  "lint:fix": "eslint --fix . --ext ts,tsx --report-unused-disable-directives --max-warnings 0",
28
- "preview": "vite preview",
29
- "app:publish": "npm run build:lib && npm publish --access public",
30
- "format:write": "prettier --write \"**/*.{js,jsx,mjs,ts,tsx,mdx}\" --cache",
31
- "format:check": "prettier --check \"**/*.{js,jsx,mjs,ts,tsx,mdx}\" --cache",
116
+ "app:publish": "yarn build && yarn npm publish --access public",
117
+ "format": "prettier --write \"**/*.{js,jsx,mjs,ts,tsx,mdx,json,md}\" --cache",
118
+ "format:check": "prettier --check \"**/*.{js,jsx,mjs,ts,tsx,mdx,json,md}\" --cache",
119
+ "typecheck": "tsc --noEmit",
120
+ "clean": "rimraf dist",
32
121
  "prepare": "husky"
33
122
  },
34
123
  "peerDependencies": {
@@ -36,99 +125,169 @@
36
125
  "@emotion/react": "^11.14.0",
37
126
  "@emotion/styled": "^11.14.0",
38
127
  "@fontsource/outfit": "^5.2.6",
39
- "@mui/icons-material": "7.3.2",
40
- "@mui/lab": "7.0.0-beta.17",
41
- "@mui/material": "7.3.2",
42
- "@mui/utils": "7.3.2",
43
- "@mui/x-date-pickers": "8.12.0",
44
- "@stripe/react-stripe-js": "^3.7.0",
45
- "@stripe/stripe-js": "^7.3.1",
46
- "@tiptap/extension-link": "^2.11.9",
47
- "@tiptap/extension-placeholder": "^2.11.9",
48
- "@tiptap/react": "^2.11.9",
49
- "@tiptap/starter-kit": "^2.11.9",
50
- "dayjs": "^1.11.13",
51
- "emoji-picker-react": "^4.13.3",
52
- "framer-motion": "^12.23.3",
53
- "i18next": "^25.0.2",
128
+ "@mui/icons-material": "^7.3.7",
129
+ "@mui/lab": "^7.0.1-beta.21",
130
+ "@mui/material": "^7.3.7",
131
+ "@mui/system": "^7.3.7",
132
+ "@mui/utils": "^7.3.7",
133
+ "@mui/x-date-pickers": "^8.25.0",
134
+ "@stripe/react-stripe-js": "^3.10.0",
135
+ "@stripe/stripe-js": "^7.9.0",
136
+ "@tiptap/extension-link": "^2.27.2",
137
+ "@tiptap/extension-placeholder": "^2.27.2",
138
+ "@tiptap/react": "^2.27.2",
139
+ "@tiptap/starter-kit": "^2.27.2",
140
+ "dayjs": "^1.11.19",
141
+ "emoji-picker-react": "^4.16.1",
142
+ "framer-motion": "^12.26.2",
143
+ "i18next": "^25.7.4",
54
144
  "i18next-http-backend": "^3.0.2",
55
145
  "overlayscrollbars-react": "^0.5.6",
56
- "react": "^19.1.0",
57
- "react-dom": "^19.1.0",
146
+ "react": "^19.2.3",
147
+ "react-dom": "^19.2.3",
58
148
  "react-dropzone": "^14.3.8",
59
- "react-i18next": "^15.5.1",
60
- "react-router-dom": "^7.8.2",
149
+ "react-i18next": "^15.7.4",
150
+ "react-router-dom": "^7.12.0",
61
151
  "react-slick": "^0.31.0",
62
152
  "react-syntax-highlighter": "^16.1.0",
63
153
  "slick-carousel": "^1.8.1",
64
- "uuid": "^11.1.0"
154
+ "uuid": "^13.0.0"
155
+ },
156
+ "peerDependenciesMeta": {
157
+ "@mui/x-date-pickers": {
158
+ "optional": true
159
+ },
160
+ "@stripe/react-stripe-js": {
161
+ "optional": true
162
+ },
163
+ "@stripe/stripe-js": {
164
+ "optional": true
165
+ },
166
+ "@tiptap/extension-link": {
167
+ "optional": true
168
+ },
169
+ "@tiptap/extension-placeholder": {
170
+ "optional": true
171
+ },
172
+ "@tiptap/react": {
173
+ "optional": true
174
+ },
175
+ "@tiptap/starter-kit": {
176
+ "optional": true
177
+ },
178
+ "dayjs": {
179
+ "optional": true
180
+ },
181
+ "emoji-picker-react": {
182
+ "optional": true
183
+ },
184
+ "framer-motion": {
185
+ "optional": true
186
+ },
187
+ "i18next": {
188
+ "optional": true
189
+ },
190
+ "i18next-http-backend": {
191
+ "optional": true
192
+ },
193
+ "overlayscrollbars-react": {
194
+ "optional": true
195
+ },
196
+ "react-dropzone": {
197
+ "optional": true
198
+ },
199
+ "react-i18next": {
200
+ "optional": true
201
+ },
202
+ "react-router-dom": {
203
+ "optional": true
204
+ },
205
+ "react-slick": {
206
+ "optional": true
207
+ },
208
+ "react-syntax-highlighter": {
209
+ "optional": true
210
+ },
211
+ "slick-carousel": {
212
+ "optional": true
213
+ }
65
214
  },
66
215
  "devDependencies": {
67
- "@ianvs/prettier-plugin-sort-imports": "^4.4.2",
68
- "@joshwooding/vite-plugin-react-docgen-typescript": "^0.6.3",
69
- "@types/fs-extra": "^11.0.4",
70
- "@types/node": "^22.15.30",
71
- "@types/react": "^19.1.6",
72
- "@types/react-dom": "^19.1.6",
73
- "@types/react-slick": "^0.23.13",
74
- "@types/react-syntax-highlighter": "^15.5.13",
75
- "@types/uuid": "^10.0.0",
76
- "@typescript-eslint/eslint-plugin": "^8.33.1",
77
- "@typescript-eslint/parser": "^8.33.1",
78
- "@vercel/node": "^5.5.16",
79
- "@vitejs/plugin-react": "^4.5.1",
80
- "baseline-browser-mapping": "^2.9.11",
81
- "eslint": "^9.28.0",
82
- "eslint-plugin-react-hooks": "^5.2.0",
83
- "eslint-plugin-react-refresh": "^0.4.20",
84
- "glob": "^11.0.2",
216
+ "@emotion/cache": "^11.14.0",
217
+ "@emotion/react": "^11.14.0",
218
+ "@emotion/styled": "^11.14.1",
219
+ "@fontsource/outfit": "^5.2.8",
220
+ "@ianvs/prettier-plugin-sort-imports": "^4.7.0",
221
+ "@mui/icons-material": "^7.3.7",
222
+ "@mui/lab": "^7.0.1-beta.21",
223
+ "@mui/material": "^7.3.7",
224
+ "@mui/system": "^7.3.7",
225
+ "@mui/utils": "^7.3.7",
226
+ "@mui/x-date-pickers": "^8.25.0",
227
+ "@stripe/react-stripe-js": "^5.4.1",
228
+ "@stripe/stripe-js": "^8.6.1",
229
+ "@tiptap/core": "^3.15.3",
230
+ "@tiptap/extension-link": "^3.15.3",
231
+ "@tiptap/extension-placeholder": "^3.15.3",
232
+ "@tiptap/pm": "^3.15.3",
233
+ "@tiptap/react": "^3.15.3",
234
+ "@tiptap/starter-kit": "^3.15.3",
235
+ "@types/node": "^25.0.9",
236
+ "@types/react": "^19.2.8",
237
+ "@types/react-dom": "^19.2.3",
238
+ "@types/uuid": "^11.0.0",
239
+ "@typescript-eslint/eslint-plugin": "^8.53.0",
240
+ "@typescript-eslint/parser": "^8.53.0",
241
+ "@vercel/node": "^5.5.23",
242
+ "@vitejs/plugin-react": "^5.1.2",
243
+ "baseline-browser-mapping": "^2.9.15",
244
+ "dayjs": "^1.11.19",
245
+ "emoji-picker-react": "^4.16.1",
246
+ "eslint": "^9.39.2",
247
+ "eslint-plugin-react-hooks": "^7.0.1",
248
+ "eslint-plugin-react-refresh": "^0.4.26",
249
+ "framer-motion": "^12.26.2",
85
250
  "husky": "^9.1.7",
86
- "lint-staged": "^16.1.0",
87
- "prettier": "^3.5.3",
88
- "react": "^19.1.0",
89
- "react-docgen-typescript": "^2.4.0",
90
- "react-dom": "^19.1.0",
251
+ "i18next": "^25.7.4",
252
+ "i18next-http-backend": "^3.0.2",
253
+ "lint-staged": "^16.2.7",
254
+ "overlayscrollbars": "^2.13.0",
255
+ "overlayscrollbars-react": "^0.5.6",
256
+ "prettier": "^3.8.0",
257
+ "react": "^19.2.3",
258
+ "react-dom": "^19.2.3",
259
+ "react-dropzone": "^14.3.8",
260
+ "react-i18next": "^16.5.3",
261
+ "react-router-dom": "^7.12.0",
262
+ "rimraf": "^6.1.2",
91
263
  "ts-node": "^10.9.2",
92
- "tsx": "^4.21.0",
93
- "typescript": "^5.8.3",
94
- "vite": "^6.3.5",
264
+ "typescript": "^5.9.3",
265
+ "uuid": "^13.0.0",
266
+ "vite": "^7.3.1",
95
267
  "vite-plugin-dts": "^4.5.4",
96
268
  "vite-plugin-lib-inject-css": "^2.2.2",
97
- "vite-plugin-static-copy": "^3.0.0"
269
+ "vite-plugin-static-copy": "^3.1.4"
98
270
  },
99
271
  "lint-staged": {
100
- "*.js": [
101
- "prettier --write \"**/*.{js,jsx,mjs,ts,tsx,mdx}\" --cache",
102
- "git add"
103
- ],
104
- "*.jsx": [
105
- "prettier --write \"**/*.{js,jsx,mjs,ts,tsx,mdx}\" --cache",
106
- "git add"
272
+ "*.{js,jsx,ts,tsx}": [
273
+ "prettier --write --cache"
107
274
  ],
108
- "*.ts": [
109
- "prettier --write \"**/*.{js,jsx,mjs,ts,tsx,mdx}\" --cache",
110
- "git add"
111
- ],
112
- "*.tsx": [
113
- "prettier --write \"**/*.{js,jsx,mjs,ts,tsx,mdx}\" --cache",
114
- "git add"
275
+ "*.{json,md,mdx}": [
276
+ "prettier --write --cache"
115
277
  ]
116
278
  },
117
- "husky": {
118
- "hooks": {
119
- "pre-commit": "lint-staged"
120
- }
121
- },
122
279
  "directories": {
123
280
  "lib": "lib"
124
281
  },
282
+ "repository": {
283
+ "type": "git",
284
+ "url": "git+https://github.com/ledangtruongdatdnvn/solostylist-ui-kit",
285
+ "directory": "packages/ui-kit"
286
+ },
125
287
  "keywords": [],
126
288
  "author": "Lê Đặng Trường Đạt",
127
289
  "license": "ISC",
128
290
  "dependencies": {
129
- "@modelcontextprotocol/sdk": "^1.25.1",
130
- "fs-extra": "^11.3.3",
131
- "react-syntax-highlighter": "^16.1.0",
132
- "zod": "^4.2.1"
291
+ "@solostylist/core": "*"
133
292
  }
134
293
  }
package/README.md DELETED
@@ -1,13 +0,0 @@
1
- ## Installation
2
-
3
- You can install it with npm:
4
-
5
- ```bash
6
- npm i @solostylist/ui-kit
7
- ```
8
-
9
- ## Usage
10
-
11
- ```javascript
12
- import { STextField } from '@solostylist/ui-kit';
13
- ```