@solostylist/ui-kit 1.0.113 → 1.0.115

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 (130) hide show
  1. package/dist/{Box-Deehc8LF.js → Box-D0kAx4PT.js} +5 -5
  2. package/dist/{ButtonBase-B-mcxJe8.js → ButtonBase-QnP537_L.js} +6 -5
  3. package/dist/{ChevronRight-BB4jrtLy.js → ChevronRight-SimL9kDt.js} +2 -2
  4. package/dist/{Close-DqRHeMAW.js → Close-BmQG3xZp.js} +2 -2
  5. package/dist/DefaultPropsProvider-CoEfFcSh.js +56 -0
  6. package/dist/{ExpandMore-CE1RzE_y.js → ExpandMore-CM0JYSoz.js} +2 -2
  7. package/dist/Favorite-BEKdrIQq.js +8 -0
  8. package/dist/GlobalStyles-CpyAg53D.js +59 -0
  9. package/dist/{Menu-HtTElywx.js → Menu-ClZKHyC1.js} +310 -327
  10. package/dist/{MenuItem-DzviefY7.js → MenuItem-DxJh8UvK.js} +6 -6
  11. package/dist/{Paper-pJ5bSU59.js → Paper-CpSojup3.js} +10 -10
  12. package/dist/{Select-C9Hk7BA8.js → Select-CmJydrV_.js} +376 -393
  13. package/dist/{Stack-TRopps6s.js → Stack-DKN2SxRo.js} +6 -6
  14. package/dist/{TransitionGroup--1HPPUFY.js → TransitionGroup-iVQWCEuB.js} +3 -3
  15. package/dist/{Typography-DGEEI1Q-.js → Typography-N0Mzi70r.js} +5 -5
  16. package/dist/assets/stripe-input.css +1 -1
  17. package/dist/{chunk-5P46WS5M-OG9gpzOE.js → chunk-6WTWBXEJ-CEca0jKr.js} +963 -922
  18. package/dist/{createSvgIcon-DCQI9UV5.js → createSvgIcon-L9c3q_HV.js} +104 -130
  19. package/dist/{createTheme-YLBX8GSj.js → createTheme-CSzTQZIR.js} +5 -4
  20. package/dist/defaultTheme-QdH8_nrP.js +5 -0
  21. package/dist/{extendSxProp-BNyKHzap.js → extendSxProp-BDhPgeA-.js} +1 -1
  22. package/dist/{index-B6k9mhKf.js → index--x2dvtup.js} +1 -1
  23. package/dist/index-C8hHiHry.js +33 -0
  24. package/dist/index-bBtpkEYO.js +44 -0
  25. package/dist/{jsx-runtime-DywqP_6a.js → jsx-runtime-OVHDjVDe.js} +2 -2
  26. package/dist/main.d.ts +4 -2
  27. package/dist/main.js +83 -79
  28. package/dist/{mergeSlotProps-N1VTlioP.js → mergeSlotProps-BqZn7QoU.js} +1 -1
  29. package/dist/s-accordion/s-accordion.js +10 -10
  30. package/dist/s-action-overlay/s-action-overlay.js +1 -1
  31. package/dist/s-autocomplete/s-autocomplete.js +1 -1
  32. package/dist/s-avatar/s-avatar.js +1 -1
  33. package/dist/s-blur-text/s-blur-text.js +1 -1
  34. package/dist/s-button/s-button.js +1 -1
  35. package/dist/s-button-link/s-button-link.js +1 -1
  36. package/dist/s-carousel/s-carousel.js +46 -46
  37. package/dist/s-category-card/s-category-card.js +1 -1
  38. package/dist/s-chat-input/s-chat-input.js +3 -3
  39. package/dist/s-chat-message/s-chat-message.js +2 -2
  40. package/dist/s-checkbox/s-checkbox.js +1 -1
  41. package/dist/s-chip/s-chip.js +1 -1
  42. package/dist/s-chips/s-chips.js +1 -1
  43. package/dist/s-comment-message/s-comment-message.js +36 -37
  44. package/dist/s-copilot-kit-provider/s-copilot-kit-provider.js +2 -2
  45. package/dist/s-copyable-text/s-copyable-text.js +2 -2
  46. package/dist/s-countdown/s-count-down.js +1 -1
  47. package/dist/s-data-table/s-data-table.js +7 -7
  48. package/dist/s-date-picker/s-date-picker.js +49 -46
  49. package/dist/s-datetime-picker/s-datetime-picker.js +654 -651
  50. package/dist/s-dialog/s-dialog.js +2 -2
  51. package/dist/s-dialog-confirm/s-dialog-confirm.js +3 -3
  52. package/dist/s-dialog-message/s-dialog-message.js +3 -3
  53. package/dist/s-empty/s-empty.js +1 -1
  54. package/dist/s-error/s-error.js +1 -1
  55. package/dist/s-file-dropzone/s-file-dropzone.js +5 -5
  56. package/dist/s-file-icon/s-file-icon.js +2 -2
  57. package/dist/s-flex-box/s-flex-box.js +2 -2
  58. package/dist/s-form/s-form.js +1 -1
  59. package/dist/s-glow-button/s-glow-button.js +1 -1
  60. package/dist/s-gradient-icon/s-gradient-icon.js +1 -1
  61. package/dist/s-i18n-provider/s-i18n-provider.js +1 -1
  62. package/dist/s-icon-button/s-icon-button.js +1 -1
  63. package/dist/s-image-comparison/s-image-comparison.js +2 -2
  64. package/dist/s-image-modal/s-image-modal.js +3 -3
  65. package/dist/s-interactive-gallery/s-interactive-gallery.js +1 -1
  66. package/dist/s-label/s-label.js +2 -2
  67. package/dist/s-lazy-image/s-lazy-image.js +1 -1
  68. package/dist/s-localization-provider/s-localization-provider.js +378 -293
  69. package/dist/s-moving-border/s-moving-border.js +1 -1
  70. package/dist/s-multi-select/s-multi-select.js +4 -4
  71. package/dist/s-no-ssr/s-no-ssr.js +1 -1
  72. package/dist/s-overlay-scrollbar/s-overlay-scrollbar.js +2 -2
  73. package/dist/s-pagination/s-pagination.js +1 -1
  74. package/dist/s-radial-pulse-animate/s-radial-pulse-animate.js +1 -1
  75. package/dist/s-rating/s-rating.js +1 -1
  76. package/dist/s-review/s-review.js +2 -2
  77. package/dist/s-scroll-reveal/s-scroll-reveal.js +1 -1
  78. package/dist/s-select/s-select.js +1 -1
  79. package/dist/s-skeleton/s-skeleton.js +1 -1
  80. package/dist/s-smart-text-field/s-smart-text-field.js +84 -84
  81. package/dist/s-snackbar-message/s-snackbar-message.js +1 -1
  82. package/dist/s-spotlight-cursor/s-spotlight-cursor.js +1 -1
  83. package/dist/s-stripe/s-stripe.js +1 -1
  84. package/dist/s-stripe/stripe-input.js +1 -1
  85. package/dist/s-tabs/s-tab-panel.js +1 -1
  86. package/dist/s-tabs/s-tab.js +1 -1
  87. package/dist/s-tabs/s-tabs.js +1 -1
  88. package/dist/s-text-editor/s-text-editor-toolbar.js +5 -5
  89. package/dist/s-text-editor/s-text-editor.js +2 -2
  90. package/dist/s-text-field/s-text-field.js +2 -2
  91. package/dist/s-text-shimmer/s-text-shimmer.js +8 -8
  92. package/dist/s-text-truncation/s-text-truncation.js +1 -1
  93. package/dist/s-theme-demo/index.d.ts +2 -0
  94. package/dist/s-theme-demo/index.js +4 -0
  95. package/dist/s-theme-demo/package.json +5 -0
  96. package/dist/s-theme-demo/s-theme-demo.d.ts +31 -0
  97. package/dist/s-theme-demo/s-theme-demo.js +417 -0
  98. package/dist/s-theme-provider/index.d.ts +2 -0
  99. package/dist/s-theme-provider/index.js +5 -2
  100. package/dist/s-theme-provider/s-theme-provider.d.ts +2 -2
  101. package/dist/s-theme-provider/s-theme-provider.js +13 -13
  102. package/dist/s-theme-provider/use-theme.d.ts +51 -0
  103. package/dist/s-theme-provider/use-theme.js +670 -0
  104. package/dist/s-theme-switch/index.d.ts +2 -0
  105. package/dist/s-theme-switch/index.js +4 -0
  106. package/dist/s-theme-switch/package.json +5 -0
  107. package/dist/s-theme-switch/s-theme-switch.d.ts +6 -0
  108. package/dist/s-theme-switch/s-theme-switch.js +43 -0
  109. package/dist/s-tip/s-tip.js +4 -4
  110. package/dist/s-typewriter-text/s-typewriter-text.js +1 -1
  111. package/dist/{styled-DOEEZAON.js → styled-B6SqfqyN.js} +3 -3
  112. package/dist/theme/components/avatar.js +2 -2
  113. package/dist/theme/components/chip.js +92 -30
  114. package/dist/theme/components/components.d.ts +2 -0
  115. package/dist/theme/components/tooltip.d.ts +2 -0
  116. package/dist/theme/components/tooltip.js +4 -2
  117. package/dist/theme/customizations/inputs.js +2 -2
  118. package/dist/theme/customizations/navigation.js +3 -2
  119. package/dist/theme/theme-primitives.d.ts +97 -0
  120. package/dist/theme/theme-primitives.js +290 -87
  121. package/dist/{useControlled-nm4pBabJ.js → useControlled-D1L5tREc.js} +11 -11
  122. package/dist/useId-CK6Kn3Tn.js +21 -0
  123. package/dist/{useMobilePicker-c5_EH1sg.js → useMobilePicker-BKb9wDk9.js} +4043 -3995
  124. package/dist/{useTheme-w9o5xUBz.js → useTheme-DQFlX-BU.js} +1 -1
  125. package/dist/{useThemeProps-CPsDWmFG.js → useThemeProps-DI2LSvKR.js} +1 -1
  126. package/dist/utils/dayjs.js +14 -14
  127. package/dist/{warning-KQY_8msi.js → warning-DRu3W3_g.js} +4 -4
  128. package/package.json +6 -6
  129. package/dist/defaultTheme-DXvvOU_p.js +0 -5
  130. package/dist/index-B3csTTDl.js +0 -95
@@ -1,12 +1,12 @@
1
- import { s as u, a as d, P as e } from "./createTheme-YLBX8GSj.js";
1
+ import { s as u, a as d, P as e } from "./createTheme-CSzTQZIR.js";
2
2
  import { T as h } from "./identifier-BKLqN993.js";
3
3
  import { g as T } from "./generateUtilityClasses-BtVDwGrk.js";
4
4
  import * as y from "react";
5
5
  import { c as B } from "./clsx-OuTLNxxd.js";
6
- import { s as N } from "./index-B6k9mhKf.js";
7
- import { j as C } from "./jsx-runtime-DywqP_6a.js";
8
- import { u as g } from "./useTheme-w9o5xUBz.js";
9
- import { e as j } from "./extendSxProp-BNyKHzap.js";
6
+ import { s as N } from "./index--x2dvtup.js";
7
+ import { j as C } from "./jsx-runtime-OVHDjVDe.js";
8
+ import { u as g } from "./useTheme-DQFlX-BU.js";
9
+ import { e as j } from "./extendSxProp-BDhPgeA-.js";
10
10
  import { C as E } from "./colorManipulator-ep5lERxB.js";
11
11
  function b(m = {}) {
12
12
  const {
@@ -3,12 +3,12 @@ var xe = (t, n, e) => n in t ? De(t, n, { enumerable: !0, configurable: !0, writ
3
3
  var q = (t, n, e) => xe(t, typeof n != "symbol" ? n + "" : n, e);
4
4
  import { c as oe } from "./resolveProps-61uUKnlS.js";
5
5
  import * as l from "react";
6
- import { P as o } from "./createTheme-YLBX8GSj.js";
7
- import { a as D, u as ue, b as Ie } from "./createSvgIcon-DCQI9UV5.js";
8
- import { j as P } from "./jsx-runtime-DywqP_6a.js";
6
+ import { P as o } from "./createTheme-CSzTQZIR.js";
7
+ import { a as D, u as ue, b as Ie } from "./createSvgIcon-L9c3q_HV.js";
8
+ import { j as P } from "./jsx-runtime-OVHDjVDe.js";
9
9
  import { g as Se } from "./generateUtilityClasses-BtVDwGrk.js";
10
- import { s as Q } from "./styled-DOEEZAON.js";
11
- import { a as Ve } from "./TransitionGroup--1HPPUFY.js";
10
+ import { s as Q } from "./styled-B6SqfqyN.js";
11
+ import { a as Ve } from "./TransitionGroup-iVQWCEuB.js";
12
12
  import { keyframes as ee } from "@emotion/react";
13
13
  import { g as je, b as Le } from "./buttonBaseClasses-jCihfot4.js";
14
14
  import { u as Oe } from "./useEnhancedEffect-CJGo-L3B.js";
@@ -905,6 +905,7 @@ export {
905
905
  Z as f,
906
906
  qe as g,
907
907
  Ye as h,
908
+ Ke as i,
908
909
  Fe as m,
909
910
  We as r,
910
911
  v as u
@@ -1,5 +1,5 @@
1
- import { j as o } from "./jsx-runtime-DywqP_6a.js";
2
- import { c as t } from "./createSvgIcon-DCQI9UV5.js";
1
+ import { j as o } from "./jsx-runtime-OVHDjVDe.js";
2
+ import { c as t } from "./createSvgIcon-L9c3q_HV.js";
3
3
  const n = t(/* @__PURE__ */ o.jsx("path", {
4
4
  d: "M15.41 7.41 14 6l-6 6 6 6 1.41-1.41L10.83 12z"
5
5
  }), "ChevronLeft"), s = t(/* @__PURE__ */ o.jsx("path", {
@@ -1,5 +1,5 @@
1
- import { j as o } from "./jsx-runtime-DywqP_6a.js";
2
- import { c as s } from "./createSvgIcon-DCQI9UV5.js";
1
+ import { j as o } from "./jsx-runtime-OVHDjVDe.js";
2
+ import { c as s } from "./createSvgIcon-L9c3q_HV.js";
3
3
  const e = s(/* @__PURE__ */ o.jsx("path", {
4
4
  d: "M19 6.41 17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z"
5
5
  }), "Close");
@@ -0,0 +1,56 @@
1
+ import * as m from "react";
2
+ import { P as s } from "./createTheme-CSzTQZIR.js";
3
+ import { j as a } from "./jsx-runtime-OVHDjVDe.js";
4
+ import { r as p } from "./resolveProps-61uUKnlS.js";
5
+ const c = /* @__PURE__ */ m.createContext(void 0);
6
+ function i({
7
+ value: o,
8
+ children: e
9
+ }) {
10
+ return /* @__PURE__ */ a.jsx(c.Provider, {
11
+ value: o,
12
+ children: e
13
+ });
14
+ }
15
+ process.env.NODE_ENV !== "production" && (i.propTypes = {
16
+ // ┌────────────────────────────── Warning ──────────────────────────────┐
17
+ // │ These PropTypes are generated from the TypeScript type definitions. │
18
+ // │ To update them, edit the TypeScript types and run `pnpm proptypes`. │
19
+ // └─────────────────────────────────────────────────────────────────────┘
20
+ /**
21
+ * @ignore
22
+ */
23
+ children: s.node,
24
+ /**
25
+ * @ignore
26
+ */
27
+ value: s.object
28
+ });
29
+ function u(o) {
30
+ const {
31
+ theme: e,
32
+ name: t,
33
+ props: n
34
+ } = o;
35
+ if (!e || !e.components || !e.components[t])
36
+ return n;
37
+ const r = e.components[t];
38
+ return r.defaultProps ? p(r.defaultProps, n, e.components.mergeClassNameAndStyle) : !r.styleOverrides && !r.variants ? p(r, n, e.components.mergeClassNameAndStyle) : n;
39
+ }
40
+ function P({
41
+ props: o,
42
+ name: e
43
+ }) {
44
+ const t = m.useContext(c);
45
+ return u({
46
+ props: o,
47
+ name: e,
48
+ theme: {
49
+ components: t
50
+ }
51
+ });
52
+ }
53
+ export {
54
+ i as D,
55
+ P as u
56
+ };
@@ -1,5 +1,5 @@
1
- import { j as o } from "./jsx-runtime-DywqP_6a.js";
2
- import { c as r } from "./createSvgIcon-DCQI9UV5.js";
1
+ import { j as o } from "./jsx-runtime-OVHDjVDe.js";
2
+ import { c as r } from "./createSvgIcon-L9c3q_HV.js";
3
3
  const p = r(/* @__PURE__ */ o.jsx("path", {
4
4
  d: "M16.59 8.59 12 13.17 7.41 8.59 6 10l6 6 6-6z"
5
5
  }), "ExpandMore");
@@ -0,0 +1,8 @@
1
+ import { j as o } from "./jsx-runtime-OVHDjVDe.js";
2
+ import { c as t } from "./createSvgIcon-L9c3q_HV.js";
3
+ const s = t(/* @__PURE__ */ o.jsx("path", {
4
+ d: "m12 21.35-1.45-1.32C5.4 15.36 2 12.28 2 8.5 2 5.42 4.42 3 7.5 3c1.74 0 3.41.81 4.5 2.09C13.09 3.81 14.76 3 16.5 3 19.58 3 22 5.42 22 8.5c0 3.78-3.4 6.86-8.55 11.54z"
5
+ }), "Favorite");
6
+ export {
7
+ s as F
8
+ };
@@ -0,0 +1,59 @@
1
+ import "react";
2
+ import { P as e } from "./createTheme-CSzTQZIR.js";
3
+ import { i as u } from "./index--x2dvtup.js";
4
+ import { j as p } from "./jsx-runtime-OVHDjVDe.js";
5
+ import { u as y } from "./useTheme-DQFlX-BU.js";
6
+ import { Global as c } from "@emotion/react";
7
+ function m(r) {
8
+ return r == null || Object.keys(r).length === 0;
9
+ }
10
+ function f(r) {
11
+ const {
12
+ styles: t,
13
+ defaultTheme: l = {}
14
+ } = r, n = typeof t == "function" ? (o) => t(m(o) ? l : o) : t;
15
+ return /* @__PURE__ */ p.jsx(c, {
16
+ styles: n
17
+ });
18
+ }
19
+ process.env.NODE_ENV !== "production" && (f.propTypes = {
20
+ defaultTheme: e.object,
21
+ styles: e.oneOfType([e.array, e.string, e.object, e.func])
22
+ });
23
+ function a(r) {
24
+ const t = u(r);
25
+ return r !== t && t.styles ? (t.styles.match(/^@layer\s+[^{]*$/) || (t.styles = `@layer global{${t.styles}}`), t) : r;
26
+ }
27
+ function b({
28
+ styles: r,
29
+ themeId: t,
30
+ defaultTheme: l = {}
31
+ }) {
32
+ const n = y(l), o = t && n[t] || n;
33
+ let s = typeof r == "function" ? r(o) : r;
34
+ return o.modularCssLayers && (Array.isArray(s) ? s = s.map((i) => a(typeof i == "function" ? i(o) : i)) : s = a(s)), /* @__PURE__ */ p.jsx(f, {
35
+ styles: s
36
+ });
37
+ }
38
+ process.env.NODE_ENV !== "production" && (b.propTypes = {
39
+ // ┌────────────────────────────── Warning ──────────────────────────────┐
40
+ // │ These PropTypes are generated from the TypeScript type definitions. │
41
+ // │ To update them, edit the TypeScript types and run `pnpm proptypes`. │
42
+ // └─────────────────────────────────────────────────────────────────────┘
43
+ /**
44
+ * @ignore
45
+ */
46
+ defaultTheme: e.object,
47
+ /**
48
+ * @ignore
49
+ */
50
+ styles: e.oneOfType([e.array, e.func, e.number, e.object, e.string, e.bool]),
51
+ /**
52
+ * @ignore
53
+ */
54
+ themeId: e.string
55
+ });
56
+ export {
57
+ b as G,
58
+ f as a
59
+ };