@solostylist/ui-kit 1.0.113 → 1.0.114

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 (86) hide show
  1. package/dist/{Box-Deehc8LF.js → Box-BVty_s6i.js} +3 -3
  2. package/dist/{ButtonBase-B-mcxJe8.js → ButtonBase-mQcNFFZT.js} +4 -4
  3. package/dist/{ChevronRight-BB4jrtLy.js → ChevronRight-DHNkZLlo.js} +1 -1
  4. package/dist/{Close-DqRHeMAW.js → Close-NkxvAwQr.js} +1 -1
  5. package/dist/DefaultPropsProvider-B--diaQ3.js +56 -0
  6. package/dist/{ExpandMore-CE1RzE_y.js → ExpandMore-DpFPV8W9.js} +1 -1
  7. package/dist/Favorite-DpJ7EDHh.js +8 -0
  8. package/dist/GlobalStyles-OdaYqxTO.js +59 -0
  9. package/dist/{Menu-HtTElywx.js → Menu-CcW81QRb.js} +311 -324
  10. package/dist/{MenuItem-DzviefY7.js → MenuItem-DGNNylSd.js} +5 -5
  11. package/dist/{Paper-pJ5bSU59.js → Paper-BUFfm5KI.js} +7 -7
  12. package/dist/{Select-C9Hk7BA8.js → Select-CWgjtbUU.js} +370 -387
  13. package/dist/{Stack-TRopps6s.js → Stack-CQ7zBwkJ.js} +5 -5
  14. package/dist/{TransitionGroup--1HPPUFY.js → TransitionGroup-Buyx2ey4.js} +1 -1
  15. package/dist/{Typography-DGEEI1Q-.js → Typography-fMf8hWqG.js} +4 -4
  16. package/dist/{createSvgIcon-DCQI9UV5.js → createSvgIcon-PpKM6urg.js} +104 -130
  17. package/dist/{createTheme-YLBX8GSj.js → createTheme-ubqb7_yU.js} +1 -0
  18. package/dist/defaultTheme-CtLmY7I4.js +5 -0
  19. package/dist/{extendSxProp-BNyKHzap.js → extendSxProp-5t2om437.js} +1 -1
  20. package/dist/index-N6ZbgVEG.js +33 -0
  21. package/dist/index-h98nw21y.js +44 -0
  22. package/dist/main.d.ts +4 -2
  23. package/dist/main.js +83 -79
  24. package/dist/{mergeSlotProps-N1VTlioP.js → mergeSlotProps-DKFm7I5M.js} +1 -1
  25. package/dist/s-accordion/s-accordion.js +8 -8
  26. package/dist/s-carousel/s-carousel.js +1 -1
  27. package/dist/s-chat-input/s-chat-input.js +2 -2
  28. package/dist/s-chat-message/s-chat-message.js +1 -1
  29. package/dist/s-comment-message/s-comment-message.js +35 -36
  30. package/dist/s-copyable-text/s-copyable-text.js +1 -1
  31. package/dist/s-data-table/s-data-table.js +5 -5
  32. package/dist/s-date-picker/s-date-picker.js +7 -7
  33. package/dist/s-datetime-picker/s-datetime-picker.js +15 -14
  34. package/dist/s-dialog/s-dialog.js +1 -1
  35. package/dist/s-dialog-confirm/s-dialog-confirm.js +2 -2
  36. package/dist/s-dialog-message/s-dialog-message.js +2 -2
  37. package/dist/s-file-dropzone/s-file-dropzone.js +4 -4
  38. package/dist/s-file-icon/s-file-icon.js +1 -1
  39. package/dist/s-flex-box/s-flex-box.js +1 -1
  40. package/dist/s-image-comparison/s-image-comparison.js +1 -1
  41. package/dist/s-image-modal/s-image-modal.js +2 -2
  42. package/dist/s-label/s-label.js +1 -1
  43. package/dist/s-localization-provider/s-localization-provider.js +1 -1
  44. package/dist/s-multi-select/s-multi-select.js +3 -3
  45. package/dist/s-overlay-scrollbar/s-overlay-scrollbar.js +1 -1
  46. package/dist/s-review/s-review.js +1 -1
  47. package/dist/s-smart-text-field/s-smart-text-field.js +2 -2
  48. package/dist/s-text-editor/s-text-editor-toolbar.js +4 -4
  49. package/dist/s-text-editor/s-text-editor.js +1 -1
  50. package/dist/s-text-field/s-text-field.js +1 -1
  51. package/dist/s-text-shimmer/s-text-shimmer.js +7 -7
  52. package/dist/s-theme-demo/index.d.ts +2 -0
  53. package/dist/s-theme-demo/index.js +4 -0
  54. package/dist/s-theme-demo/package.json +5 -0
  55. package/dist/s-theme-demo/s-theme-demo.d.ts +31 -0
  56. package/dist/s-theme-demo/s-theme-demo.js +417 -0
  57. package/dist/s-theme-provider/index.d.ts +2 -0
  58. package/dist/s-theme-provider/index.js +5 -2
  59. package/dist/s-theme-provider/s-theme-provider.d.ts +2 -2
  60. package/dist/s-theme-provider/s-theme-provider.js +13 -13
  61. package/dist/s-theme-provider/use-theme.d.ts +51 -0
  62. package/dist/s-theme-provider/use-theme.js +670 -0
  63. package/dist/s-theme-switch/index.d.ts +2 -0
  64. package/dist/s-theme-switch/index.js +4 -0
  65. package/dist/s-theme-switch/package.json +5 -0
  66. package/dist/s-theme-switch/s-theme-switch.d.ts +6 -0
  67. package/dist/s-theme-switch/s-theme-switch.js +43 -0
  68. package/dist/s-tip/s-tip.js +3 -3
  69. package/dist/{styled-DOEEZAON.js → styled-C9vD3j80.js} +2 -2
  70. package/dist/theme/components/avatar.js +1 -1
  71. package/dist/theme/components/chip.js +92 -30
  72. package/dist/theme/components/components.d.ts +2 -0
  73. package/dist/theme/components/tooltip.d.ts +2 -0
  74. package/dist/theme/components/tooltip.js +4 -2
  75. package/dist/theme/customizations/inputs.js +1 -1
  76. package/dist/theme/customizations/navigation.js +2 -1
  77. package/dist/theme/theme-primitives.d.ts +97 -0
  78. package/dist/theme/theme-primitives.js +290 -87
  79. package/dist/useId-CK6Kn3Tn.js +21 -0
  80. package/dist/{useMobilePicker-c5_EH1sg.js → useMobilePicker-kwoV49Bq.js} +99 -97
  81. package/dist/{useTheme-w9o5xUBz.js → useTheme-BRW1H8JQ.js} +1 -1
  82. package/dist/{useThemeProps-CPsDWmFG.js → useThemeProps-DEztVr97.js} +1 -1
  83. package/dist/{warning-KQY_8msi.js → warning-Dcl59VWg.js} +3 -3
  84. package/package.json +1 -1
  85. package/dist/defaultTheme-DXvvOU_p.js +0 -5
  86. 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-ubqb7_yU.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
6
  import { s as N } from "./index-B6k9mhKf.js";
7
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";
8
+ import { u as g } from "./useTheme-BRW1H8JQ.js";
9
+ import { e as j } from "./extendSxProp-5t2om437.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";
6
+ import { P as o } from "./createTheme-ubqb7_yU.js";
7
+ import { a as D, u as ue, b as Ie } from "./createSvgIcon-PpKM6urg.js";
8
8
  import { j as P } from "./jsx-runtime-DywqP_6a.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-C9vD3j80.js";
11
+ import { a as Ve } from "./TransitionGroup-Buyx2ey4.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";
@@ -1,5 +1,5 @@
1
1
  import { j as o } from "./jsx-runtime-DywqP_6a.js";
2
- import { c as t } from "./createSvgIcon-DCQI9UV5.js";
2
+ import { c as t } from "./createSvgIcon-PpKM6urg.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
1
  import { j as o } from "./jsx-runtime-DywqP_6a.js";
2
- import { c as s } from "./createSvgIcon-DCQI9UV5.js";
2
+ import { c as s } from "./createSvgIcon-PpKM6urg.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-ubqb7_yU.js";
3
+ import { j as a } from "./jsx-runtime-DywqP_6a.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
1
  import { j as o } from "./jsx-runtime-DywqP_6a.js";
2
- import { c as r } from "./createSvgIcon-DCQI9UV5.js";
2
+ import { c as r } from "./createSvgIcon-PpKM6urg.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-DywqP_6a.js";
2
+ import { c as t } from "./createSvgIcon-PpKM6urg.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-ubqb7_yU.js";
3
+ import { i as u } from "./index-B6k9mhKf.js";
4
+ import { j as p } from "./jsx-runtime-DywqP_6a.js";
5
+ import { u as y } from "./useTheme-BRW1H8JQ.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
+ };