@solostylist/ui-kit 2.0.6 → 2.0.8
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/components-DWGB2MCO.js +148 -0
- package/dist/{gradients-DSnBONEQ.js → gradients-CUC4WH9i.js} +1 -1
- package/dist/main.js +1 -1
- package/dist/palettes/index.js +1 -1
- package/dist/{palettes-CJLuEy1m.js → palettes-B1trNROL.js} +2 -2
- package/dist/s-brand-logo/index.js +1 -1
- package/dist/s-brand-logo/s-brand-logo.js +1 -1
- package/dist/s-chat-message/s-chat-message.js +1 -1
- package/dist/s-comment-message/s-comment-message.js +1 -1
- package/dist/s-file-dropzone/s-file-dropzone.js +1 -1
- package/dist/s-image-viewer/image-viewer-thumbnail-dock.js +1 -1
- package/dist/s-product-gallery/index.d.ts +1 -1
- package/dist/s-product-gallery/s-product-gallery.d.ts +28 -11
- package/dist/s-product-gallery/s-product-gallery.js +302 -246
- package/dist/s-review/s-review.js +1 -1
- package/dist/s-segmented-control/s-segmented-control.js +3 -3
- package/dist/s-stripe/stripe-input.js +1 -1
- package/dist/s-theme-demo/theme-demo-color-ramps-section.js +1 -1
- package/dist/s-theme-provider/s-theme-provider.js +10 -10
- package/dist/theme/component-augmentation.d.ts +1 -1
- package/dist/theme/components/accordion-details.d.ts +2 -8
- package/dist/theme/components/accordion-summary.d.ts +2 -1036
- package/dist/theme/components/accordion.d.ts +2 -43
- package/dist/theme/components/alert.d.ts +2 -4160
- package/dist/theme/components/app-bar.d.ts +2 -24
- package/dist/theme/components/autocomplete.d.ts +2 -78
- package/dist/theme/components/avatar.d.ts +2 -19
- package/dist/theme/components/avatar.js +20 -6
- package/dist/theme/components/backdrop.d.ts +2 -12
- package/dist/theme/components/button-base.d.ts +2 -7
- package/dist/theme/components/button.d.ts +2 -1117
- package/dist/theme/components/card-actions.d.ts +2 -7
- package/dist/theme/components/card-content.d.ts +2 -7
- package/dist/theme/components/card-header.d.ts +2 -7
- package/dist/theme/components/card.d.ts +2 -2046
- package/dist/theme/components/card.js +1 -1
- package/dist/theme/components/checkbox.d.ts +2 -1038
- package/dist/theme/components/checkbox.js +1 -1
- package/dist/theme/components/chip.d.ts +2 -2
- package/dist/theme/components/components.d.ts +68 -0
- package/dist/theme/components/components.js +2 -73
- package/dist/theme/components/container.d.ts +2 -5
- package/dist/theme/components/css-baseline.d.ts +2 -9
- package/dist/theme/components/date-calendar.d.ts +2 -13
- package/dist/theme/components/day-calendar.d.ts +2 -25
- package/dist/theme/components/dialog-actions.d.ts +2 -12
- package/dist/theme/components/dialog-content.d.ts +2 -13
- package/dist/theme/components/dialog-title.d.ts +2 -21
- package/dist/theme/components/dialog.d.ts +2 -25
- package/dist/theme/components/drawer.d.ts +2 -13
- package/dist/theme/components/form-control.d.ts +2 -7
- package/dist/theme/components/form-label.d.ts +2 -20
- package/dist/theme/components/icon-button.d.ts +2 -1100
- package/dist/theme/components/icon.d.ts +2 -17
- package/dist/theme/components/input-adornment.d.ts +2 -19
- package/dist/theme/components/input-base.d.ts +2 -18
- package/dist/theme/components/linear-progress.d.ts +2 -1023
- package/dist/theme/components/link.d.ts +2 -42
- package/dist/theme/components/list-item-button.d.ts +2 -120
- package/dist/theme/components/list-item-icon.d.ts +2 -7
- package/dist/theme/components/list-item-text.d.ts +2 -22
- package/dist/theme/components/list-item.d.ts +2 -129
- package/dist/theme/components/list-subheader.d.ts +2 -20
- package/dist/theme/components/list.d.ts +2 -10
- package/dist/theme/components/menu-item.d.ts +2 -8
- package/dist/theme/components/menu.d.ts +2 -20
- package/dist/theme/components/month-calendar.d.ts +2 -1088
- package/dist/theme/components/multi-section-digital-clock-section.d.ts +2 -2
- package/dist/theme/components/outlined-input.d.ts +2 -113
- package/dist/theme/components/pagination-item.d.ts +2 -1085
- package/dist/theme/components/pagination.d.ts +2 -14
- package/dist/theme/components/paper.d.ts +2 -5
- package/dist/theme/components/picker-day.d.ts +2 -1055
- package/dist/theme/components/pickers-arrow-switcher.d.ts +2 -12
- package/dist/theme/components/pickers-calendar-header.d.ts +2 -83
- package/dist/theme/components/popover.d.ts +2 -18
- package/dist/theme/components/rating.d.ts +2 -19
- package/dist/theme/components/select.d.ts +2 -31
- package/dist/theme/components/skeleton.d.ts +2 -2
- package/dist/theme/components/slider.d.ts +2 -0
- package/dist/theme/components/slot.d.ts +7 -0
- package/dist/theme/components/slot.js +0 -0
- package/dist/theme/components/step-connector.d.ts +2 -12
- package/dist/theme/components/step-icon.d.ts +2 -1034
- package/dist/theme/components/step-label.d.ts +2 -1025
- package/dist/theme/components/svg-icon.d.ts +2 -31
- package/dist/theme/components/switch.d.ts +2 -1027
- package/dist/theme/components/tab.d.ts +2 -30
- package/dist/theme/components/table-cell.d.ts +2 -12
- package/dist/theme/components/table-pagination.d.ts +2 -14
- package/dist/theme/components/tabs.d.ts +2 -36
- package/dist/theme/components/toggle-button-group.d.ts +2 -12
- package/dist/theme/components/toggle-button.d.ts +2 -1148
- package/dist/theme/components/tooltip.d.ts +2 -3
- package/dist/theme/components/year-calendar.d.ts +2 -1090
- package/dist/theme/theme-primitives.d.ts +2 -0
- package/dist/theme/theme-primitives.js +1 -1
- package/dist/{theme-primitives-CRfnMsNy.js → theme-primitives-DXekeATD.js} +29 -26
- package/package.json +4 -2
- /package/dist/{colors-CNjL5fhq.js → colors-DscJqo7m.js} +0 -0
- /package/dist/{s-brand-logo-CErW9Slg.js → s-brand-logo-Gi1MKnv9.js} +0 -0
- /package/dist/{utils-CMeAWSRO.js → utils-CXRJYVCd.js} +0 -0
|
@@ -14,6 +14,7 @@ declare module '@mui/system' {
|
|
|
14
14
|
declare module '@mui/material/styles' {
|
|
15
15
|
interface InteractionTokens {
|
|
16
16
|
mediaHoverOpacity: number;
|
|
17
|
+
mediaIdleOpacity: number;
|
|
17
18
|
}
|
|
18
19
|
interface RadiusScale {
|
|
19
20
|
none: number;
|
|
@@ -468,5 +469,6 @@ export declare const radius: {
|
|
|
468
469
|
/** Shared interaction tokens resolved through the MUI theme. */
|
|
469
470
|
export declare const interaction: {
|
|
470
471
|
mediaHoverOpacity: number;
|
|
472
|
+
mediaIdleOpacity: number;
|
|
471
473
|
};
|
|
472
474
|
export declare const shadows: Shadows;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as e, i as t, n, o as r, r as i, s as a, t as o } from "../theme-primitives-
|
|
1
|
+
import { a as e, i as t, n, o as r, r as i, s as a, t as o } from "../theme-primitives-DXekeATD.js";
|
|
2
2
|
export { o as colorSchemes, n as interaction, i as radius, t as shadows, e as shape, r as sxConfig, a as typography };
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { a as e, c as t, d as n, f as r, i, l as a, m as o, n as s, o as c, p as l, r as u, s as d, t as f, u as p } from "./colors-
|
|
2
|
-
import { a as m, i as h, n as g, o as _, r as v, s as y } from "./gradients-
|
|
1
|
+
import { a as e, c as t, d as n, f as r, i, l as a, m as o, n as s, o as c, p as l, r as u, s as d, t as f, u as p } from "./colors-DscJqo7m.js";
|
|
2
|
+
import { a as m, i as h, n as g, o as _, r as v, s as y } from "./gradients-CUC4WH9i.js";
|
|
3
3
|
import { alpha as b, createTheme as x, lighten as S } from "@mui/material/styles";
|
|
4
4
|
//#region ../core/dist/interaction.js
|
|
5
|
-
var C = .9, w = { gradient: {
|
|
5
|
+
var C = .9, w = .72, T = { gradient: {
|
|
6
6
|
themeKey: "palette.gradient",
|
|
7
7
|
cssProperty: "backgroundImage"
|
|
8
|
-
} },
|
|
8
|
+
} }, E = x(), D = { palette: {
|
|
9
9
|
gradient: g,
|
|
10
10
|
blackAlpha: {
|
|
11
11
|
zero: _[0],
|
|
@@ -93,7 +93,7 @@ var C = .9, w = { gradient: {
|
|
|
93
93
|
selected: b(u[600], .3)
|
|
94
94
|
},
|
|
95
95
|
baseShadow: "hsla(220, 30%, 5%, 0.7) 0px 4px 16px 0px, hsla(220, 25%, 10%, 0.8) 0px 8px 16px -5px"
|
|
96
|
-
} },
|
|
96
|
+
} }, O = {
|
|
97
97
|
light: { palette: {
|
|
98
98
|
gradient: h,
|
|
99
99
|
blackAlpha: {
|
|
@@ -183,72 +183,75 @@ var C = .9, w = { gradient: {
|
|
|
183
183
|
},
|
|
184
184
|
baseShadow: "rgba(15, 23, 42, 0.08) 0px 2px 8px 0px, rgba(15, 23, 42, 0.04) 0px 1px 2px -1px"
|
|
185
185
|
} },
|
|
186
|
-
dark:
|
|
187
|
-
},
|
|
186
|
+
dark: D
|
|
187
|
+
}, k = {
|
|
188
188
|
fontFamily: "Outfit, sans-serif",
|
|
189
189
|
h1: {
|
|
190
|
-
fontSize:
|
|
190
|
+
fontSize: E.typography.pxToRem(36),
|
|
191
191
|
fontWeight: 600,
|
|
192
192
|
lineHeight: 1.2,
|
|
193
193
|
letterSpacing: -.5
|
|
194
194
|
},
|
|
195
195
|
h2: {
|
|
196
|
-
fontSize:
|
|
196
|
+
fontSize: E.typography.pxToRem(30),
|
|
197
197
|
fontWeight: 600,
|
|
198
198
|
lineHeight: 1.2
|
|
199
199
|
},
|
|
200
200
|
h3: {
|
|
201
|
-
fontSize:
|
|
201
|
+
fontSize: E.typography.pxToRem(24),
|
|
202
202
|
fontWeight: 600,
|
|
203
203
|
lineHeight: 1.2
|
|
204
204
|
},
|
|
205
205
|
h4: {
|
|
206
|
-
fontSize:
|
|
206
|
+
fontSize: E.typography.pxToRem(20),
|
|
207
207
|
fontWeight: 600,
|
|
208
208
|
lineHeight: 1.2
|
|
209
209
|
},
|
|
210
210
|
h5: {
|
|
211
|
-
fontSize:
|
|
211
|
+
fontSize: E.typography.pxToRem(18),
|
|
212
212
|
fontWeight: 600,
|
|
213
213
|
lineHeight: 1.2
|
|
214
214
|
},
|
|
215
215
|
h6: {
|
|
216
|
-
fontSize:
|
|
216
|
+
fontSize: E.typography.pxToRem(16),
|
|
217
217
|
fontWeight: 600,
|
|
218
218
|
lineHeight: 1.2
|
|
219
219
|
},
|
|
220
220
|
subtitle1: {
|
|
221
|
-
fontSize:
|
|
221
|
+
fontSize: E.typography.pxToRem(16),
|
|
222
222
|
fontWeight: 500
|
|
223
223
|
},
|
|
224
224
|
subtitle2: {
|
|
225
|
-
fontSize:
|
|
225
|
+
fontSize: E.typography.pxToRem(14),
|
|
226
226
|
fontWeight: 500
|
|
227
227
|
},
|
|
228
228
|
body1: {
|
|
229
|
-
fontSize:
|
|
229
|
+
fontSize: E.typography.pxToRem(16),
|
|
230
230
|
fontWeight: 400
|
|
231
231
|
},
|
|
232
232
|
body2: {
|
|
233
|
-
fontSize:
|
|
233
|
+
fontSize: E.typography.pxToRem(14),
|
|
234
234
|
fontWeight: 400
|
|
235
235
|
},
|
|
236
236
|
caption: {
|
|
237
|
-
fontSize:
|
|
237
|
+
fontSize: E.typography.pxToRem(12),
|
|
238
238
|
fontWeight: 400,
|
|
239
239
|
color: "var(--s-palette-text-secondary)"
|
|
240
240
|
}
|
|
241
|
-
},
|
|
241
|
+
}, A = { borderRadius: 8 }, j = {
|
|
242
242
|
none: 0,
|
|
243
|
-
sm:
|
|
244
|
-
md:
|
|
245
|
-
lg:
|
|
246
|
-
xl:
|
|
243
|
+
sm: A.borderRadius * .5,
|
|
244
|
+
md: A.borderRadius,
|
|
245
|
+
lg: A.borderRadius * 1.5,
|
|
246
|
+
xl: A.borderRadius * 2,
|
|
247
247
|
full: 9999
|
|
248
|
-
},
|
|
248
|
+
}, M = {
|
|
249
|
+
mediaHoverOpacity: C,
|
|
250
|
+
mediaIdleOpacity: w
|
|
251
|
+
}, N = [
|
|
249
252
|
"none",
|
|
250
253
|
"var(--s-palette-baseShadow)",
|
|
251
|
-
...
|
|
254
|
+
...E.shadows.slice(2)
|
|
252
255
|
];
|
|
253
256
|
//#endregion
|
|
254
|
-
export {
|
|
257
|
+
export { A as a, N as i, M as n, T as o, j as r, k as s, O as t };
|
package/package.json
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"publishConfig": {
|
|
4
4
|
"registry": "https://registry.npmjs.org"
|
|
5
5
|
},
|
|
6
|
-
"version": "2.0.
|
|
6
|
+
"version": "2.0.8",
|
|
7
7
|
"description": "advanced ui kit for solostylist",
|
|
8
8
|
"type": "module",
|
|
9
9
|
"main": "dist/main.js",
|
|
@@ -187,6 +187,7 @@
|
|
|
187
187
|
"@types/node": "^25.8.0",
|
|
188
188
|
"@types/react": "^19.2.14",
|
|
189
189
|
"@types/react-dom": "^19.2.3",
|
|
190
|
+
"@types/react-syntax-highlighter": "^15.5.13",
|
|
190
191
|
"@types/uuid": "^11.0.0",
|
|
191
192
|
"@typescript-eslint/eslint-plugin": "^8.59.3",
|
|
192
193
|
"@typescript-eslint/parser": "^8.59.3",
|
|
@@ -216,6 +217,7 @@
|
|
|
216
217
|
"react-dropzone": "^15.0.0",
|
|
217
218
|
"react-i18next": "^16.6.6",
|
|
218
219
|
"react-router-dom": "^7.15.1",
|
|
220
|
+
"react-syntax-highlighter": "^16.1.0",
|
|
219
221
|
"rimraf": "^6.1.3",
|
|
220
222
|
"ts-node": "^10.9.2",
|
|
221
223
|
"typescript": "^5.9.3",
|
|
@@ -245,6 +247,6 @@
|
|
|
245
247
|
"author": "Lê Đặng Trường Đạt",
|
|
246
248
|
"license": "ISC",
|
|
247
249
|
"dependencies": {
|
|
248
|
-
"@solostylist/core": "^1.0.
|
|
250
|
+
"@solostylist/core": "^1.0.9"
|
|
249
251
|
}
|
|
250
252
|
}
|
|
File without changes
|
|
File without changes
|
|
File without changes
|