@solostylist/ui-kit 1.0.196 → 1.0.198

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 (108) hide show
  1. package/dist/{ArrowUpward-JWPHrR6I.js → ArrowUpward-D8eqD-si.js} +1 -1
  2. package/dist/{Box-p3bpOtdn.js → Box-BkXoTbe8.js} +3 -3
  3. package/dist/{ButtonBase-PbSTzuUP.js → ButtonBase-D73M0QY5.js} +7 -7
  4. package/dist/{ChevronLeft-BJjuFNNQ.js → ChevronLeft-BmgmPHp9.js} +1 -1
  5. package/dist/{ChevronRight-5ZX3FodP.js → ChevronRight-DbWSr8yz.js} +1 -1
  6. package/dist/{Close-C-pCw-CD.js → Close-lHCUMitI.js} +1 -1
  7. package/dist/{ContentCopy-CNxsEhmq.js → ContentCopy-D4SuJd86.js} +1 -1
  8. package/dist/{DefaultPropsProvider-2MEHB2yv.js → DefaultPropsProvider-DPuuPIbS.js} +2 -2
  9. package/dist/{Download-D97XSAig.js → Download-BoRQUwCf.js} +1 -1
  10. package/dist/{ExpandMore-CTZrSZlF.js → ExpandMore-C7yRQv1-.js} +1 -1
  11. package/dist/{Favorite-Cvjg7GqN.js → Favorite-Bz_HcMgN.js} +1 -1
  12. package/dist/{Menu-_ZW9WiF2.js → Menu-GVFDMHCN.js} +137 -131
  13. package/dist/{MenuItem-DTapLhin.js → MenuItem-2wG8I2HO.js} +5 -5
  14. package/dist/{Paper-5nSdRRBA.js → Paper-CR019bki.js} +6 -6
  15. package/dist/{Select-J5gDqfEk.js → Select-80JhW337.js} +7 -7
  16. package/dist/{Stack-BlwLEm6H.js → Stack-Dfjnuorw.js} +5 -5
  17. package/dist/{Typography-Cum5_Ehu.js → Typography-PcmlIqm1.js} +4 -4
  18. package/dist/assets/s-overlay-scrollbar.css +1 -1
  19. package/dist/{createSvgIcon-DTNHY3_v.js → createSvgIcon-BkbeLOhM.js} +3 -3
  20. package/dist/{createTheme-CIXJrNxb.js → createTheme-DgoJyWM-.js} +874 -871
  21. package/dist/defaultTheme-CulFxfLR.js +5 -0
  22. package/dist/{extendSxProp-CyoueGTe.js → extendSxProp-BJEIxcAx.js} +1 -1
  23. package/dist/{index-8LcCMmwl.js → index-DtGYsHSv.js} +4 -4
  24. package/dist/s-accordion/s-accordion.js +89 -89
  25. package/dist/s-action-overlay/s-action-overlay.js +7 -7
  26. package/dist/s-ai-tool-bar/s-ai-tool-bar.d.ts +44 -0
  27. package/dist/s-ai-tool-bar/s-ai-tool-bar.js +241 -272
  28. package/dist/s-avatar/s-avatar.js +2 -2
  29. package/dist/s-breadcrumbs/s-breadcrumbs.js +1 -1
  30. package/dist/s-carousel/s-carousel.d.ts +4 -4
  31. package/dist/s-carousel/s-carousel.js +4 -4
  32. package/dist/s-chat-input/s-chat-input.js +4 -4
  33. package/dist/s-chat-message/s-chat-message.js +135 -124
  34. package/dist/s-chips/s-chips.js +35 -35
  35. package/dist/s-code-block/s-code-block.js +1 -1
  36. package/dist/s-comment-message/s-comment-message.js +5 -5
  37. package/dist/s-copyable-text/s-copyable-text.js +1 -1
  38. package/dist/s-countdown/s-count-down.d.ts +15 -10
  39. package/dist/s-countdown/s-count-down.js +84 -101
  40. package/dist/s-data-table/s-data-table.js +75 -76
  41. package/dist/s-date-picker/s-date-picker.js +43 -47
  42. package/dist/s-datetime-picker/s-datetime-picker.js +782 -782
  43. package/dist/s-dialog/s-dialog.js +1 -1
  44. package/dist/s-dialog-confirm/s-dialog-confirm.js +2 -2
  45. package/dist/s-dialog-message/s-dialog-message.js +2 -2
  46. package/dist/s-empty/s-empty.js +1 -1
  47. package/dist/s-file-dropzone/s-file-dropzone.js +4 -4
  48. package/dist/s-file-icon/s-file-icon.js +15 -15
  49. package/dist/s-flex-box/s-flex-box.js +1 -1
  50. package/dist/s-gallery/s-gallery.js +1 -1
  51. package/dist/s-gradient-icon/s-gradient-icon.js +5 -5
  52. package/dist/s-image-comparison/s-image-comparison.js +3 -3
  53. package/dist/s-image-modal/s-image-modal.js +7 -7
  54. package/dist/s-label/s-label.d.ts +1 -1
  55. package/dist/s-label/s-label.js +1 -1
  56. package/dist/s-language-switcher/s-language-switcher.js +8 -8
  57. package/dist/s-localization-provider/s-localization-provider.js +1 -1
  58. package/dist/s-moving-border/s-moving-border.d.ts +5 -5
  59. package/dist/s-multi-select/s-multi-select.js +3 -3
  60. package/dist/s-overlay-scrollbar/s-overlay-scrollbar.js +6 -6
  61. package/dist/s-pixel-reveal/s-pixel-reveal.js +76 -71
  62. package/dist/s-radial-pulse-animate/s-radial-pulse-animate.js +2 -2
  63. package/dist/s-review/s-review.d.ts +3 -2
  64. package/dist/s-review/s-review.js +19 -19
  65. package/dist/s-scroll-to-top/s-scroll-to-top.js +5 -5
  66. package/dist/s-scroll-velocity/scroll-velocity-container.d.ts +1 -1
  67. package/dist/s-scroll-velocity/scroll-velocity-row.d.ts +3 -3
  68. package/dist/s-scroll-velocity/scroll-velocity-row.js +2 -2
  69. package/dist/s-select/s-select.d.ts +3 -0
  70. package/dist/s-select/s-select.js +60 -72
  71. package/dist/s-select-list/s-select-list.js +1 -1
  72. package/dist/s-stripe/s-stripe-cvc.d.ts +1 -1
  73. package/dist/s-stripe/s-stripe-expiry.d.ts +1 -1
  74. package/dist/s-stripe/s-stripe-number.d.ts +1 -1
  75. package/dist/s-stripe/stripe-input.d.ts +1 -1
  76. package/dist/s-text-editor/s-text-editor-toolbar.js +64 -60
  77. package/dist/s-text-editor/s-text-editor.js +1 -1
  78. package/dist/s-text-field/s-text-field.js +1 -1
  79. package/dist/s-text-shimmer/s-text-shimmer.js +3 -3
  80. package/dist/s-theme-demo/s-theme-demo.js +2 -2
  81. package/dist/s-theme-provider/s-theme-provider.d.ts +1 -1
  82. package/dist/s-theme-switch/s-theme-switch.js +1 -1
  83. package/dist/s-tip/s-tip.js +3 -3
  84. package/dist/{styled-BR6UL29H.js → styled-8Y5KoVix.js} +2 -2
  85. package/dist/theme/components/avatar.js +1 -1
  86. package/dist/theme/components/button.d.ts +2 -2
  87. package/dist/theme/components/button.js +1 -1
  88. package/dist/theme/components/chip.d.ts +2 -2
  89. package/dist/theme/components/chip.js +1 -1
  90. package/dist/theme/components/icon-button.d.ts +2 -2
  91. package/dist/theme/components/popover.js +2 -2
  92. package/dist/theme/components/skeleton.js +1 -1
  93. package/dist/theme/components/tooltip.js +5 -5
  94. package/dist/theme/customizations/data-display.js +12 -12
  95. package/dist/theme/customizations/feedback.js +2 -2
  96. package/dist/theme/customizations/inputs.js +12 -12
  97. package/dist/theme/customizations/navigation.js +28 -28
  98. package/dist/theme/customizations/surfaces.js +11 -11
  99. package/dist/theme/theme-primitives.js +1 -1
  100. package/dist/{useMobilePicker-C0pYjskU.js → useMobilePicker-DVnEuXv1.js} +3936 -3653
  101. package/dist/{useTheme-DSvhq4Np.js → useTheme-CWPkv7g3.js} +1 -1
  102. package/dist/{useThemeProps-C-oV4Fbz.js → useThemeProps-XYgXGzjS.js} +1 -1
  103. package/dist/utils/logger.d.ts +1 -1
  104. package/dist/utils-CHdpkEZx.js +33 -0
  105. package/dist/{warning-BZ61Y8gI.js → warning-Ba-7BBAN.js} +3 -3
  106. package/package.json +59 -59
  107. package/dist/defaultTheme-DLue8Fr1.js +0 -5
  108. package/dist/utils-DJIrqgo5.js +0 -18
@@ -1,4 +1,4 @@
1
- import { e as n } from "./createTheme-CIXJrNxb.js";
1
+ import { e as n } from "./createTheme-DgoJyWM-.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
1
  import { r as n } from "./resolveProps-BDH0VJjn.js";
2
- import { u as p } from "./useTheme-DSvhq4Np.js";
2
+ import { u as p } from "./useTheme-CWPkv7g3.js";
3
3
  function m(t) {
4
4
  const {
5
5
  theme: e,
@@ -14,7 +14,7 @@ export declare class Logger {
14
14
  protected prefix: string;
15
15
  protected level: keyof typeof LogLevel;
16
16
  protected showLevel: boolean;
17
- private levelNumber;
17
+ private readonly levelNumber;
18
18
  constructor({ prefix, level, showLevel }: LoggerOptions);
19
19
  debug: (...args: unknown[]) => void;
20
20
  warn: (...args: unknown[]) => void;
@@ -0,0 +1,33 @@
1
+ const m = (o) => (typeof o == "string" ? new Date(o) : o).toLocaleTimeString("en-US", {
2
+ hour: "2-digit",
3
+ minute: "2-digit",
4
+ hour12: !0
5
+ }), f = (o) => {
6
+ if (!o)
7
+ return "";
8
+ const t = ["Bytes", "KB", "MB", "GB"], i = Math.floor(Math.log(o) / Math.log(1024));
9
+ return Math.round(o / Math.pow(1024, i) * 100) / 100 + " " + t[i];
10
+ }, c = (o) => {
11
+ const t = /* @__PURE__ */ new Date(), i = typeof o == "string" ? new Date(o) : o, a = Math.floor((t.getTime() - i.getTime()) / 1e3);
12
+ if (a < 60)
13
+ return "just now";
14
+ const n = [
15
+ { limit: 3600, divisor: 60, singular: "1 minute ago", plural: "minutes ago" },
16
+ { limit: 86400, divisor: 3600, singular: "1 hour ago", plural: "hours ago" },
17
+ { limit: 604800, divisor: 86400, singular: "1 day ago", plural: "days ago" },
18
+ { limit: 2592e3, divisor: 604800, singular: "1 week ago", plural: "weeks ago" },
19
+ { limit: 31536e3, divisor: 2592e3, singular: "1 month ago", plural: "months ago" }
20
+ ];
21
+ for (const { limit: s, divisor: l, singular: g, plural: u } of n)
22
+ if (a < s) {
23
+ const e = Math.floor(a / l);
24
+ return e === 1 ? g : `${e} ${u}`;
25
+ }
26
+ const r = Math.floor(a / 31536e3);
27
+ return r === 1 ? "1 year ago" : `${r} years ago`;
28
+ };
29
+ export {
30
+ m as a,
31
+ f,
32
+ c as g
33
+ };
@@ -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-CIXJrNxb.js";
3
+ import { P as e } from "./createTheme-DgoJyWM-.js";
4
4
  import { j as E } from "./jsx-runtime-tc70JA_2.js";
5
- import { d as M } from "./defaultTheme-DLue8Fr1.js";
5
+ import { d as M } from "./defaultTheme-CulFxfLR.js";
6
6
  import { T as j } from "./identifier-BKLqN993.js";
7
- import { u as v } from "./useThemeProps-C-oV4Fbz.js";
7
+ import { u as v } from "./useThemeProps-XYgXGzjS.js";
8
8
  function w({
9
9
  props: o,
10
10
  name: a
package/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "publishConfig": {
4
4
  "registry": "https://registry.npmjs.org"
5
5
  },
6
- "version": "1.0.196",
6
+ "version": "1.0.198",
7
7
  "description": "advanced ui kit for solostylist",
8
8
  "type": "module",
9
9
  "main": "dist/main.js",
@@ -126,30 +126,30 @@
126
126
  "@emotion/react": "^11.14.0",
127
127
  "@emotion/styled": "^11.14.1",
128
128
  "@fontsource/outfit": "^5.2.8",
129
- "@mui/icons-material": "^7.3.7",
130
- "@mui/lab": "^7.0.1-beta.21",
131
- "@mui/material": "^7.3.7",
132
- "@mui/system": "^7.3.7",
133
- "@mui/utils": "^7.3.7",
134
- "@mui/x-date-pickers": "^8.26.0",
135
- "@stripe/react-stripe-js": "^5.4.1",
136
- "@stripe/stripe-js": "^8.6.4",
137
- "@tiptap/extension-link": "^3.17.0",
138
- "@tiptap/extension-placeholder": "^3.17.0",
139
- "@tiptap/react": "^3.17.0",
140
- "@tiptap/starter-kit": "^3.17.0",
129
+ "@mui/icons-material": "^7.3.9",
130
+ "@mui/lab": "^7.0.1-beta.23",
131
+ "@mui/material": "^7.3.9",
132
+ "@mui/system": "^7.3.9",
133
+ "@mui/utils": "^7.3.9",
134
+ "@mui/x-date-pickers": "^8.27.2",
135
+ "@stripe/react-stripe-js": "^5.6.1",
136
+ "@stripe/stripe-js": "^8.9.0",
137
+ "@tiptap/extension-link": "^3.20.1",
138
+ "@tiptap/extension-placeholder": "^3.20.1",
139
+ "@tiptap/react": "^3.20.1",
140
+ "@tiptap/starter-kit": "^3.20.1",
141
141
  "dayjs": "^1.11.19",
142
- "emoji-picker-react": "^4.17.1",
143
- "framer-motion": "^12.29.0",
144
- "i18next": "^25.8.0",
142
+ "emoji-picker-react": "^4.18.0",
143
+ "framer-motion": "^12.35.2",
144
+ "i18next": "^25.8.17",
145
145
  "i18next-http-backend": "^3.0.2",
146
146
  "overlayscrollbars-react": "^0.5.6",
147
- "react": "^19.2.3",
147
+ "react": "^19.2.4",
148
148
  "react-country-flag": "^3.1.0",
149
- "react-dom": "^19.2.3",
150
- "react-dropzone": "^14.3.8",
151
- "react-i18next": "^16.5.3",
152
- "react-router-dom": "^7.13.0",
149
+ "react-dom": "^19.2.4",
150
+ "react-dropzone": "^15.0.0",
151
+ "react-i18next": "^16.5.6",
152
+ "react-router-dom": "^7.13.1",
153
153
  "react-slick": "^0.31.0",
154
154
  "react-syntax-highlighter": "^16.1.0",
155
155
  "slick-carousel": "^1.8.1",
@@ -164,60 +164,60 @@
164
164
  "@emotion/cache": "^11.14.0",
165
165
  "@emotion/react": "^11.14.0",
166
166
  "@emotion/styled": "^11.14.1",
167
- "@eslint/js": "^9.39.2",
167
+ "@eslint/js": "^10.0.1",
168
168
  "@fontsource/outfit": "^5.2.8",
169
- "@ianvs/prettier-plugin-sort-imports": "^4.7.0",
170
- "@mui/icons-material": "^7.3.7",
171
- "@mui/lab": "^7.0.1-beta.21",
172
- "@mui/material": "^7.3.7",
173
- "@mui/system": "^7.3.7",
174
- "@mui/utils": "^7.3.7",
175
- "@mui/x-date-pickers": "^8.26.0",
176
- "@stripe/react-stripe-js": "^5.4.1",
177
- "@stripe/stripe-js": "^8.6.4",
178
- "@tiptap/core": "^3.17.0",
179
- "@tiptap/extension-link": "^3.17.0",
180
- "@tiptap/extension-placeholder": "^3.17.0",
181
- "@tiptap/pm": "^3.17.0",
182
- "@tiptap/react": "^3.17.0",
183
- "@tiptap/starter-kit": "^3.17.0",
184
- "@types/node": "^25.0.10",
185
- "@types/react": "^19.2.9",
169
+ "@ianvs/prettier-plugin-sort-imports": "^4.7.1",
170
+ "@mui/icons-material": "^7.3.9",
171
+ "@mui/lab": "^7.0.1-beta.23",
172
+ "@mui/material": "^7.3.9",
173
+ "@mui/system": "^7.3.9",
174
+ "@mui/utils": "^7.3.9",
175
+ "@mui/x-date-pickers": "^8.27.2",
176
+ "@stripe/react-stripe-js": "^5.6.1",
177
+ "@stripe/stripe-js": "^8.9.0",
178
+ "@tiptap/core": "^3.20.1",
179
+ "@tiptap/extension-link": "^3.20.1",
180
+ "@tiptap/extension-placeholder": "^3.20.1",
181
+ "@tiptap/pm": "^3.20.1",
182
+ "@tiptap/react": "^3.20.1",
183
+ "@tiptap/starter-kit": "^3.20.1",
184
+ "@types/node": "^25.4.0",
185
+ "@types/react": "^19.2.14",
186
186
  "@types/react-dom": "^19.2.3",
187
187
  "@types/uuid": "^11.0.0",
188
- "@typescript-eslint/eslint-plugin": "^8.53.1",
189
- "@typescript-eslint/parser": "^8.53.1",
190
- "@vercel/node": "^5.5.27",
191
- "@vitejs/plugin-react": "^5.1.2",
192
- "baseline-browser-mapping": "^2.9.17",
188
+ "@typescript-eslint/eslint-plugin": "^8.57.0",
189
+ "@typescript-eslint/parser": "^8.57.0",
190
+ "@vercel/node": "^5.6.12",
191
+ "@vitejs/plugin-react": "^5.1.4",
192
+ "baseline-browser-mapping": "^2.10.0",
193
193
  "dayjs": "^1.11.19",
194
- "emoji-picker-react": "^4.17.1",
195
- "eslint": "^9.39.2",
194
+ "emoji-picker-react": "^4.18.0",
195
+ "eslint": "^10.0.3",
196
196
  "eslint-plugin-react-hooks": "^7.0.1",
197
- "eslint-plugin-react-refresh": "^0.4.26",
198
- "framer-motion": "^12.29.0",
199
- "globals": "^17.2.0",
197
+ "eslint-plugin-react-refresh": "^0.5.2",
198
+ "framer-motion": "^12.35.2",
199
+ "globals": "^17.4.0",
200
200
  "husky": "^9.1.7",
201
- "i18next": "^25.8.0",
201
+ "i18next": "^25.8.17",
202
202
  "i18next-http-backend": "^3.0.2",
203
- "lint-staged": "^16.2.7",
204
- "overlayscrollbars": "^2.13.0",
203
+ "lint-staged": "^16.3.3",
204
+ "overlayscrollbars": "^2.14.0",
205
205
  "overlayscrollbars-react": "^0.5.6",
206
206
  "prettier": "^3.8.1",
207
- "react": "^19.2.3",
207
+ "react": "^19.2.4",
208
208
  "react-country-flag": "^3.1.0",
209
- "react-dom": "^19.2.3",
210
- "react-dropzone": "^14.3.8",
211
- "react-i18next": "^16.5.3",
212
- "react-router-dom": "^7.13.0",
213
- "rimraf": "^6.1.2",
209
+ "react-dom": "^19.2.4",
210
+ "react-dropzone": "^15.0.0",
211
+ "react-i18next": "^16.5.6",
212
+ "react-router-dom": "^7.13.1",
213
+ "rimraf": "^6.1.3",
214
214
  "ts-node": "^10.9.2",
215
215
  "typescript": "^5.9.3",
216
216
  "uuid": "^13.0.0",
217
217
  "vite": "^7.3.1",
218
218
  "vite-plugin-dts": "^4.5.4",
219
219
  "vite-plugin-lib-inject-css": "^2.2.2",
220
- "vite-plugin-static-copy": "^3.1.6"
220
+ "vite-plugin-static-copy": "^3.2.0"
221
221
  },
222
222
  "lint-staged": {
223
223
  "*.{js,jsx,ts,tsx}": [
@@ -1,5 +0,0 @@
1
- import { b as e } from "./createTheme-CIXJrNxb.js";
2
- const a = e();
3
- export {
4
- a as d
5
- };
@@ -1,18 +0,0 @@
1
- const l = (o) => (typeof o == "string" ? new Date(o) : o).toLocaleTimeString("en-US", {
2
- hour: "2-digit",
3
- minute: "2-digit",
4
- hour12: !0
5
- }), c = (o) => {
6
- if (!o)
7
- return "";
8
- const e = ["Bytes", "KB", "MB", "GB"], n = Math.floor(Math.log(o) / Math.log(1024));
9
- return Math.round(o / Math.pow(1024, n) * 100) / 100 + " " + e[n];
10
- }, h = (o) => {
11
- const e = /* @__PURE__ */ new Date(), n = typeof o == "string" ? new Date(o) : o, u = e.getTime() - n.getTime(), f = Math.floor(u / 1e3), r = Math.floor(f / 60), a = Math.floor(r / 60), t = Math.floor(a / 24), s = Math.floor(t / 7), i = Math.floor(t / 30), g = Math.floor(t / 365);
12
- return f < 60 ? "just now" : r < 60 ? r === 1 ? "1 minute ago" : `${r} minutes ago` : a < 24 ? a === 1 ? "1 hour ago" : `${a} hours ago` : t < 7 ? t === 1 ? "1 day ago" : `${t} days ago` : s < 4 ? s === 1 ? "1 week ago" : `${s} weeks ago` : i < 12 ? i === 1 ? "1 month ago" : `${i} months ago` : g === 1 ? "1 year ago" : `${g} years ago`;
13
- };
14
- export {
15
- l as a,
16
- c as f,
17
- h as g
18
- };