@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.
- package/dist/{ArrowUpward-DhTFpzoh.js → ArrowUpward-CEeqSc-C.js} +2 -2
- package/dist/{Box-Ha0cQ4KO.js → Box-CE3rycd-.js} +5 -5
- package/dist/ButtonBase-C_YYB9Ry.js +1099 -0
- package/dist/{ChevronLeft-CBuFk2Fh.js → ChevronLeft-6gdh4lRt.js} +2 -2
- package/dist/{ChevronRight-CnDWPrOm.js → ChevronRight-CC3l-wPC.js} +2 -2
- package/dist/{Close-BRlEKA2Q.js → Close-DOHlPcFK.js} +2 -2
- package/dist/{ContentCopy-7nFBtjhs.js → ContentCopy-2xxDThyB.js} +2 -2
- package/dist/DefaultPropsProvider-sk0uWcA6.js +64 -0
- package/dist/{Download-UsLvGg3y.js → Download-Chao5NQl.js} +2 -2
- package/dist/{ExpandMore-DTWX_mHf.js → ExpandMore-DIGPB4Mj.js} +2 -2
- package/dist/{Favorite-DS5Gpq2s.js → Favorite-wp65zwWq.js} +2 -2
- package/dist/{Menu-CWq-a1Wz.js → Menu-DZYzE2Mg.js} +908 -906
- package/dist/{MenuItem-DY_qFSPR.js → MenuItem-BXiIhfBS.js} +26 -25
- package/dist/Paper-DnctZB5U.js +689 -0
- package/dist/{Select-DabtQlJT.js → Select-DY7XGVsv.js} +2152 -2115
- package/dist/{Stack-Cq2r2NmC.js → Stack-BScsuyQy.js} +6 -6
- package/dist/{Typography-C8jwvSWe.js → Typography-9Kg27dDw.js} +84 -86
- package/dist/{_commonjsHelpers-B4e78b8K.js → _commonjsHelpers-ByX85dGu.js} +18 -13
- package/dist/assets/s-overlay-scrollbar.css +1 -9
- package/dist/createSvgIcon-BKymXuBG.js +242 -0
- package/dist/{createTheme-3Wd3hHrj.js → createTheme-f5g1s6ww.js} +859 -906
- package/dist/defaultTheme-LSr-S9un.js +5 -0
- package/dist/entries/carousel.d.ts +10 -0
- package/dist/entries/carousel.js +4 -0
- package/dist/entries/chat.d.ts +9 -0
- package/dist/entries/chat.js +4 -0
- package/dist/entries/code.d.ts +9 -0
- package/dist/entries/code.js +4 -0
- package/dist/entries/core.d.ts +100 -0
- package/dist/entries/core.js +122 -0
- package/dist/entries/dates.d.ts +16 -0
- package/dist/entries/dates.js +12 -0
- package/dist/entries/dropzone.d.ts +9 -0
- package/dist/entries/dropzone.js +4 -0
- package/dist/entries/editor.d.ts +12 -0
- package/dist/entries/editor.js +4 -0
- package/dist/entries/gallery.d.ts +17 -0
- package/dist/entries/gallery.js +13 -0
- package/dist/entries/i18n.d.ts +13 -0
- package/dist/entries/i18n.js +8 -0
- package/dist/entries/motion.d.ts +29 -0
- package/dist/entries/motion.js +28 -0
- package/dist/entries/scrollbar.d.ts +9 -0
- package/dist/entries/scrollbar.js +4 -0
- package/dist/entries/stripe.d.ts +10 -0
- package/dist/entries/stripe.js +10 -0
- package/dist/extendSxProp-DitxZ8We.js +36 -0
- package/dist/hooks/index.js +8 -9
- package/dist/hooks/use-is-passed-position.js +10 -10
- package/dist/{index-BGvzecIA.js → index-D3G5Rwl-.js} +0 -7
- package/dist/{index-CfKHZ86U.js → index-DtYP8YE7.js} +12 -13
- package/dist/{jsx-runtime-OVHDjVDe.js → jsx-runtime-tc70JA_2.js} +108 -128
- package/dist/main.d.ts +29 -145
- package/dist/main.js +187 -187
- package/dist/mergeSlotProps-CuzBQdlp.js +62 -0
- package/dist/resolveProps-BDH0VJjn.js +39 -0
- package/dist/s-accordion/package.json +5 -5
- package/dist/s-accordion/s-accordion.js +374 -358
- package/dist/s-action-overlay/package.json +5 -5
- package/dist/s-action-overlay/s-action-overlay.js +64 -79
- package/dist/s-ai-tool-bar/package.json +5 -5
- package/dist/s-ai-tool-bar/s-ai-tool-bar.js +260 -275
- package/dist/s-autocomplete/s-autocomplete.js +19 -25
- package/dist/s-avatar/package.json +5 -5
- package/dist/s-avatar/s-avatar.js +14 -25
- package/dist/s-blur-text/package.json +5 -5
- package/dist/s-blur-text/s-blur-text.js +55 -59
- package/dist/s-breadcrumbs/package.json +5 -5
- package/dist/s-breadcrumbs/s-breadcrumbs.js +31 -39
- package/dist/s-button/package.json +5 -5
- package/dist/s-button/s-button.js +7 -15
- package/dist/s-button-link/s-button-link.js +28 -36
- package/dist/s-carousel/package.json +4 -4
- package/dist/s-carousel/s-carousel.js +267 -280
- package/dist/s-category-card/package.json +4 -4
- package/dist/s-category-card/s-category-card.js +60 -77
- package/dist/s-chat-input/package.json +5 -5
- package/dist/s-chat-input/s-chat-input.d.ts +4 -0
- package/dist/s-chat-input/s-chat-input.js +103 -109
- package/dist/s-chat-message/s-chat-message.js +111 -120
- package/dist/s-checkbox/s-checkbox.js +12 -20
- package/dist/s-chip/package.json +5 -5
- package/dist/s-chip/s-chip.js +7 -15
- package/dist/s-chips/s-chips.js +47 -56
- package/dist/s-code-block/package.json +5 -5
- package/dist/s-code-block/s-code-block.js +35 -43
- package/dist/s-comment-message/package.json +5 -5
- package/dist/s-comment-message/s-comment-message.js +90 -94
- package/dist/s-copyable-text/s-copyable-text.js +24 -32
- package/dist/s-countdown/s-count-box.js +42 -50
- package/dist/s-countdown/s-count-down.js +79 -107
- package/dist/s-data-table/s-data-table.js +374 -384
- package/dist/s-date-picker/s-date-picker.js +164 -164
- package/dist/s-datetime-picker/s-datetime-picker.js +1599 -1603
- package/dist/s-dialog/s-dialog.js +24 -32
- package/dist/s-dialog-confirm/s-dialog-confirm.js +46 -50
- package/dist/s-dialog-message/s-dialog-message.js +40 -44
- package/dist/s-empty/s-empty.js +6 -14
- package/dist/s-error/s-error.js +9 -17
- package/dist/s-error-layout/s-error-layout.js +38 -47
- package/dist/s-file-dropzone/s-file-dropzone.js +55 -64
- package/dist/s-file-icon/s-file-icon.js +9 -13
- package/dist/s-flex-box/s-flex-box.js +6 -14
- package/dist/s-form/s-form.js +11 -19
- package/dist/s-gallery/index.js +3 -33
- package/dist/s-gallery/s-gallery.js +91 -114
- package/dist/s-glow-button/s-glow-button.js +22 -26
- package/dist/s-gradient-icon/s-gradient-icon.js +49 -59
- package/dist/s-i18n-provider/s-i18n-provider.js +17 -25
- package/dist/s-icon-button/s-icon-button.js +6 -14
- package/dist/s-image-comparison/package.json +5 -5
- package/dist/s-image-comparison/s-image-comparison.js +48 -53
- package/dist/s-image-modal/package.json +5 -5
- package/dist/s-image-modal/s-image-modal.js +137 -150
- package/dist/s-item-not-found/s-item-not-found.js +13 -22
- package/dist/s-label/s-label.js +12 -20
- package/dist/s-language-switcher/s-language-switcher.js +119 -141
- package/dist/s-lazy-image/index.js +2 -10
- package/dist/s-lazy-image/s-lazy-image.js +33 -37
- package/dist/s-localization-provider/s-localization-provider.js +368 -380
- package/dist/s-moving-border/s-moving-border.js +52 -67
- package/dist/s-multi-select/s-multi-select.js +43 -51
- package/dist/s-no-ssr/s-no-ssr.js +13 -21
- package/dist/s-overlay-scrollbar/s-overlay-scrollbar.js +12 -16
- package/dist/s-pagination/s-pagination.js +13 -17
- package/dist/s-pixel-reveal/package.json +5 -5
- package/dist/s-pixel-reveal/s-pixel-reveal.js +92 -99
- package/dist/s-radial-pulse-animate/package.json +5 -5
- package/dist/s-radial-pulse-animate/s-radial-pulse-animate.js +40 -48
- package/dist/s-rating/package.json +5 -5
- package/dist/s-rating/s-rating.js +7 -15
- package/dist/s-review/package.json +5 -5
- package/dist/s-review/s-review.js +101 -106
- package/dist/s-scroll-reveal/package.json +5 -5
- package/dist/s-scroll-reveal/s-scroll-reveal.js +40 -48
- package/dist/s-scroll-to-top/package.json +5 -5
- package/dist/s-scroll-to-top/s-scroll-to-top.js +20 -30
- package/dist/s-scroll-velocity/package.json +5 -5
- package/dist/s-scroll-velocity/s-scroll-velocity.js +5 -19
- package/dist/s-scroll-velocity/scroll-velocity-container.js +18 -27
- package/dist/s-scroll-velocity/scroll-velocity-row.js +62 -71
- package/dist/s-select/s-select.js +67 -75
- package/dist/s-select-list/s-select-list.js +28 -32
- package/dist/s-skeleton/s-skeleton.js +20 -28
- package/dist/s-snackbar-message/s-snackbar-message.js +36 -40
- package/dist/s-spotlight-cursor/s-spotlight-cursor.js +31 -35
- package/dist/s-stripe/s-stripe-cvc.js +8 -12
- package/dist/s-stripe/s-stripe-expiry.js +8 -12
- package/dist/s-stripe/s-stripe-number.js +8 -12
- package/dist/s-stripe/s-stripe.d.ts +2 -2
- package/dist/s-stripe/s-stripe.js +17 -26
- package/dist/s-stripe/stripe-input.js +25 -29
- package/dist/s-tabs/package.json +3 -3
- package/dist/s-tabs/s-tab-panel.js +17 -25
- package/dist/s-tabs/s-tab.js +5 -9
- package/dist/s-tabs/s-tabs.js +19 -27
- package/dist/s-text-editor/s-text-editor-toolbar.js +73 -88
- package/dist/s-text-editor/s-text-editor.js +33 -45
- package/dist/s-text-field/s-text-field.js +31 -40
- package/dist/s-text-shimmer/package.json +4 -4
- package/dist/s-text-shimmer/s-text-shimmer.js +19 -27
- package/dist/s-text-truncation/s-text-truncation.js +24 -32
- package/dist/s-theme-demo/package.json +5 -5
- package/dist/s-theme-demo/s-theme-demo.js +219 -234
- package/dist/s-theme-provider/s-theme-provider.js +37 -45
- package/dist/s-theme-switch/package.json +4 -4
- package/dist/s-theme-switch/s-theme-switch.js +19 -23
- package/dist/s-tip/s-tip.js +14 -22
- package/dist/s-two-pane-layout/index.js +2 -10
- package/dist/s-two-pane-layout/s-two-pane-layout.js +47 -55
- package/dist/s-typewriter-text/package.json +5 -5
- package/dist/s-typewriter-text/s-typewriter-text.js +27 -35
- package/dist/s-zoom-image/index.js +2 -10
- package/dist/s-zoom-image/package.json +5 -5
- package/dist/s-zoom-image/s-zoom-image.js +53 -62
- package/dist/styled-B0KflPi-.js +203 -0
- package/dist/theme/components/alert.d.ts +484 -264
- package/dist/theme/components/avatar.js +2 -2
- package/dist/theme/components/button.d.ts +726 -396
- package/dist/theme/components/chip.js +2 -2
- package/dist/theme/components/components.js +14 -12
- package/dist/theme/components/icon-button.d.ts +6191 -0
- package/dist/theme/components/icon-button.js +90 -0
- package/dist/theme/customizations/data-display.js +1 -1
- package/dist/theme/customizations/inputs.js +2 -2
- package/dist/theme/customizations/navigation.js +2 -2
- package/dist/theme/theme-primitives.d.ts +8 -246
- package/dist/theme/theme-primitives.js +76 -87
- package/dist/{typographyClasses-DDyl9mok.js → typographyClasses-C7fhAsUD.js} +4 -4
- package/dist/{useMobilePicker-C1RZZUWr.js → useMobilePicker-C4AYe0Ch.js} +11249 -11231
- package/dist/{useTheme-B5czKfC4.js → useTheme-CtdhfT4P.js} +1 -1
- package/dist/{useThemeProps-DqA5BinV.js → useThemeProps-_apS-Aua.js} +2 -2
- package/dist/utils/dayjs.js +7 -7
- package/dist/utils/logger.js +29 -32
- package/dist/{warning-BCwEnWrE.js → warning-DnPRVtW6.js} +4 -4
- package/package.json +240 -81
- package/README.md +0 -13
- package/dist/ButtonBase-DfTfJ_ou.js +0 -1105
- package/dist/DefaultPropsProvider-CaCsvQaq.js +0 -78
- package/dist/Paper-hkbPWyBT.js +0 -553
- package/dist/createSvgIcon-DxwgGAVe.js +0 -247
- package/dist/defaultTheme-fEi1x1Gb.js +0 -5
- package/dist/extendSxProp-BKWjdW12.js +0 -37
- package/dist/mergeSlotProps-Dl_rJtoN.js +0 -62
- package/dist/resolveProps-61uUKnlS.js +0 -52
- package/dist/styled-B0Z4EDy9.js +0 -206
package/dist/utils/dayjs.js
CHANGED
|
@@ -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-
|
|
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
|
|
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 && (
|
|
37
|
-
var c = (o.rounding || Math.round)(Math.abs(
|
|
38
|
-
if (
|
|
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 =
|
|
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);
|
package/dist/utils/logger.js
CHANGED
|
@@ -1,51 +1,48 @@
|
|
|
1
|
-
|
|
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
|
-
},
|
|
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
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
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 >=
|
|
32
|
+
return this.levelNumber >= l[e];
|
|
36
33
|
}
|
|
37
|
-
write(e, ...
|
|
38
|
-
let
|
|
39
|
-
this.showLevel && (
|
|
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
|
|
43
|
-
return new
|
|
39
|
+
function o({ prefix: s, level: e } = {}) {
|
|
40
|
+
return new R({ prefix: s, level: e });
|
|
44
41
|
}
|
|
45
|
-
const
|
|
42
|
+
const L = o({ level: r.ALL });
|
|
46
43
|
export {
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
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-
|
|
4
|
-
import { j as E } from "./jsx-runtime-
|
|
5
|
-
import { d as M } from "./defaultTheme-
|
|
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-
|
|
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.
|
|
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
|
-
".":
|
|
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
|
-
"
|
|
24
|
-
"
|
|
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
|
-
"
|
|
29
|
-
"
|
|
30
|
-
"format:
|
|
31
|
-
"
|
|
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.
|
|
40
|
-
"@mui/lab": "7.0.
|
|
41
|
-
"@mui/material": "7.3.
|
|
42
|
-
"@mui/
|
|
43
|
-
"@mui/
|
|
44
|
-
"@
|
|
45
|
-
"@stripe/stripe-js": "^
|
|
46
|
-
"@
|
|
47
|
-
"@tiptap/extension-
|
|
48
|
-
"@tiptap/
|
|
49
|
-
"@tiptap/
|
|
50
|
-
"
|
|
51
|
-
"
|
|
52
|
-
"
|
|
53
|
-
"
|
|
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.
|
|
57
|
-
"react-dom": "^19.
|
|
146
|
+
"react": "^19.2.3",
|
|
147
|
+
"react-dom": "^19.2.3",
|
|
58
148
|
"react-dropzone": "^14.3.8",
|
|
59
|
-
"react-i18next": "^15.
|
|
60
|
-
"react-router-dom": "^7.
|
|
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": "^
|
|
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
|
-
"@
|
|
68
|
-
"@
|
|
69
|
-
"@
|
|
70
|
-
"@
|
|
71
|
-
"@
|
|
72
|
-
"@
|
|
73
|
-
"@
|
|
74
|
-
"@
|
|
75
|
-
"@
|
|
76
|
-
"@
|
|
77
|
-
"@
|
|
78
|
-
"@
|
|
79
|
-
"@
|
|
80
|
-
"
|
|
81
|
-
"
|
|
82
|
-
"
|
|
83
|
-
"
|
|
84
|
-
"
|
|
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
|
-
"
|
|
87
|
-
"
|
|
88
|
-
"
|
|
89
|
-
"
|
|
90
|
-
"react
|
|
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
|
-
"
|
|
93
|
-
"
|
|
94
|
-
"vite": "^
|
|
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.
|
|
269
|
+
"vite-plugin-static-copy": "^3.1.4"
|
|
98
270
|
},
|
|
99
271
|
"lint-staged": {
|
|
100
|
-
"*.js": [
|
|
101
|
-
"prettier --write
|
|
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
|
-
"*.
|
|
109
|
-
"prettier --write
|
|
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
|
-
"@
|
|
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
|
}
|