@solostylist/ui-kit 2.0.6 → 2.0.7

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 (101) hide show
  1. package/dist/components-DWGB2MCO.js +148 -0
  2. package/dist/{gradients-DSnBONEQ.js → gradients-CUC4WH9i.js} +1 -1
  3. package/dist/main.js +1 -1
  4. package/dist/palettes/index.js +1 -1
  5. package/dist/{palettes-CJLuEy1m.js → palettes-B1trNROL.js} +2 -2
  6. package/dist/s-brand-logo/index.js +1 -1
  7. package/dist/s-brand-logo/s-brand-logo.js +1 -1
  8. package/dist/s-chat-message/s-chat-message.js +1 -1
  9. package/dist/s-comment-message/s-comment-message.js +1 -1
  10. package/dist/s-file-dropzone/s-file-dropzone.js +1 -1
  11. package/dist/s-image-viewer/image-viewer-thumbnail-dock.js +1 -1
  12. package/dist/s-product-gallery/index.d.ts +1 -1
  13. package/dist/s-product-gallery/s-product-gallery.d.ts +28 -11
  14. package/dist/s-product-gallery/s-product-gallery.js +302 -246
  15. package/dist/s-review/s-review.js +1 -1
  16. package/dist/s-segmented-control/s-segmented-control.js +3 -3
  17. package/dist/s-stripe/stripe-input.js +1 -1
  18. package/dist/s-theme-demo/theme-demo-color-ramps-section.js +1 -1
  19. package/dist/s-theme-provider/s-theme-provider.js +10 -10
  20. package/dist/theme/component-augmentation.d.ts +1 -1
  21. package/dist/theme/components/accordion-details.d.ts +2 -8
  22. package/dist/theme/components/accordion-summary.d.ts +2 -1036
  23. package/dist/theme/components/accordion.d.ts +2 -43
  24. package/dist/theme/components/alert.d.ts +2 -4160
  25. package/dist/theme/components/app-bar.d.ts +2 -24
  26. package/dist/theme/components/autocomplete.d.ts +2 -78
  27. package/dist/theme/components/avatar.d.ts +2 -19
  28. package/dist/theme/components/backdrop.d.ts +2 -12
  29. package/dist/theme/components/button-base.d.ts +2 -7
  30. package/dist/theme/components/button.d.ts +2 -1117
  31. package/dist/theme/components/card-actions.d.ts +2 -7
  32. package/dist/theme/components/card-content.d.ts +2 -7
  33. package/dist/theme/components/card-header.d.ts +2 -7
  34. package/dist/theme/components/card.d.ts +2 -2046
  35. package/dist/theme/components/card.js +1 -1
  36. package/dist/theme/components/checkbox.d.ts +2 -1038
  37. package/dist/theme/components/checkbox.js +1 -1
  38. package/dist/theme/components/chip.d.ts +2 -2
  39. package/dist/theme/components/components.d.ts +68 -0
  40. package/dist/theme/components/components.js +2 -73
  41. package/dist/theme/components/container.d.ts +2 -5
  42. package/dist/theme/components/css-baseline.d.ts +2 -9
  43. package/dist/theme/components/date-calendar.d.ts +2 -13
  44. package/dist/theme/components/day-calendar.d.ts +2 -25
  45. package/dist/theme/components/dialog-actions.d.ts +2 -12
  46. package/dist/theme/components/dialog-content.d.ts +2 -13
  47. package/dist/theme/components/dialog-title.d.ts +2 -21
  48. package/dist/theme/components/dialog.d.ts +2 -25
  49. package/dist/theme/components/drawer.d.ts +2 -13
  50. package/dist/theme/components/form-control.d.ts +2 -7
  51. package/dist/theme/components/form-label.d.ts +2 -20
  52. package/dist/theme/components/icon-button.d.ts +2 -1100
  53. package/dist/theme/components/icon.d.ts +2 -17
  54. package/dist/theme/components/input-adornment.d.ts +2 -19
  55. package/dist/theme/components/input-base.d.ts +2 -18
  56. package/dist/theme/components/linear-progress.d.ts +2 -1023
  57. package/dist/theme/components/link.d.ts +2 -42
  58. package/dist/theme/components/list-item-button.d.ts +2 -120
  59. package/dist/theme/components/list-item-icon.d.ts +2 -7
  60. package/dist/theme/components/list-item-text.d.ts +2 -22
  61. package/dist/theme/components/list-item.d.ts +2 -129
  62. package/dist/theme/components/list-subheader.d.ts +2 -20
  63. package/dist/theme/components/list.d.ts +2 -10
  64. package/dist/theme/components/menu-item.d.ts +2 -8
  65. package/dist/theme/components/menu.d.ts +2 -20
  66. package/dist/theme/components/month-calendar.d.ts +2 -1088
  67. package/dist/theme/components/multi-section-digital-clock-section.d.ts +2 -2
  68. package/dist/theme/components/outlined-input.d.ts +2 -113
  69. package/dist/theme/components/pagination-item.d.ts +2 -1085
  70. package/dist/theme/components/pagination.d.ts +2 -14
  71. package/dist/theme/components/paper.d.ts +2 -5
  72. package/dist/theme/components/picker-day.d.ts +2 -1055
  73. package/dist/theme/components/pickers-arrow-switcher.d.ts +2 -12
  74. package/dist/theme/components/pickers-calendar-header.d.ts +2 -83
  75. package/dist/theme/components/popover.d.ts +2 -18
  76. package/dist/theme/components/rating.d.ts +2 -19
  77. package/dist/theme/components/select.d.ts +2 -31
  78. package/dist/theme/components/skeleton.d.ts +2 -2
  79. package/dist/theme/components/slider.d.ts +2 -0
  80. package/dist/theme/components/slot.d.ts +7 -0
  81. package/dist/theme/components/slot.js +0 -0
  82. package/dist/theme/components/step-connector.d.ts +2 -12
  83. package/dist/theme/components/step-icon.d.ts +2 -1034
  84. package/dist/theme/components/step-label.d.ts +2 -1025
  85. package/dist/theme/components/svg-icon.d.ts +2 -31
  86. package/dist/theme/components/switch.d.ts +2 -1027
  87. package/dist/theme/components/tab.d.ts +2 -30
  88. package/dist/theme/components/table-cell.d.ts +2 -12
  89. package/dist/theme/components/table-pagination.d.ts +2 -14
  90. package/dist/theme/components/tabs.d.ts +2 -36
  91. package/dist/theme/components/toggle-button-group.d.ts +2 -12
  92. package/dist/theme/components/toggle-button.d.ts +2 -1148
  93. package/dist/theme/components/tooltip.d.ts +2 -3
  94. package/dist/theme/components/year-calendar.d.ts +2 -1090
  95. package/dist/theme/theme-primitives.d.ts +2 -0
  96. package/dist/theme/theme-primitives.js +1 -1
  97. package/dist/{theme-primitives-CRfnMsNy.js → theme-primitives-DXekeATD.js} +29 -26
  98. package/package.json +4 -2
  99. /package/dist/{colors-CNjL5fhq.js → colors-DscJqo7m.js} +0 -0
  100. /package/dist/{s-brand-logo-CErW9Slg.js → s-brand-logo-Gi1MKnv9.js} +0 -0
  101. /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-CRfnMsNy.js";
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-CNjL5fhq.js";
2
- import { a as m, i as h, n as g, o as _, r as v, s as y } from "./gradients-DSnBONEQ.js";
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
- } }, T = x(), E = { palette: {
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
- } }, D = {
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: E
187
- }, O = {
186
+ dark: D
187
+ }, k = {
188
188
  fontFamily: "Outfit, sans-serif",
189
189
  h1: {
190
- fontSize: T.typography.pxToRem(36),
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: T.typography.pxToRem(30),
196
+ fontSize: E.typography.pxToRem(30),
197
197
  fontWeight: 600,
198
198
  lineHeight: 1.2
199
199
  },
200
200
  h3: {
201
- fontSize: T.typography.pxToRem(24),
201
+ fontSize: E.typography.pxToRem(24),
202
202
  fontWeight: 600,
203
203
  lineHeight: 1.2
204
204
  },
205
205
  h4: {
206
- fontSize: T.typography.pxToRem(20),
206
+ fontSize: E.typography.pxToRem(20),
207
207
  fontWeight: 600,
208
208
  lineHeight: 1.2
209
209
  },
210
210
  h5: {
211
- fontSize: T.typography.pxToRem(18),
211
+ fontSize: E.typography.pxToRem(18),
212
212
  fontWeight: 600,
213
213
  lineHeight: 1.2
214
214
  },
215
215
  h6: {
216
- fontSize: T.typography.pxToRem(16),
216
+ fontSize: E.typography.pxToRem(16),
217
217
  fontWeight: 600,
218
218
  lineHeight: 1.2
219
219
  },
220
220
  subtitle1: {
221
- fontSize: T.typography.pxToRem(16),
221
+ fontSize: E.typography.pxToRem(16),
222
222
  fontWeight: 500
223
223
  },
224
224
  subtitle2: {
225
- fontSize: T.typography.pxToRem(14),
225
+ fontSize: E.typography.pxToRem(14),
226
226
  fontWeight: 500
227
227
  },
228
228
  body1: {
229
- fontSize: T.typography.pxToRem(16),
229
+ fontSize: E.typography.pxToRem(16),
230
230
  fontWeight: 400
231
231
  },
232
232
  body2: {
233
- fontSize: T.typography.pxToRem(14),
233
+ fontSize: E.typography.pxToRem(14),
234
234
  fontWeight: 400
235
235
  },
236
236
  caption: {
237
- fontSize: T.typography.pxToRem(12),
237
+ fontSize: E.typography.pxToRem(12),
238
238
  fontWeight: 400,
239
239
  color: "var(--s-palette-text-secondary)"
240
240
  }
241
- }, k = { borderRadius: 8 }, A = {
241
+ }, A = { borderRadius: 8 }, j = {
242
242
  none: 0,
243
- sm: k.borderRadius * .5,
244
- md: k.borderRadius,
245
- lg: k.borderRadius * 1.5,
246
- xl: k.borderRadius * 2,
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
- }, j = { mediaHoverOpacity: C }, M = [
248
+ }, M = {
249
+ mediaHoverOpacity: C,
250
+ mediaIdleOpacity: w
251
+ }, N = [
249
252
  "none",
250
253
  "var(--s-palette-baseShadow)",
251
- ...T.shadows.slice(2)
254
+ ...E.shadows.slice(2)
252
255
  ];
253
256
  //#endregion
254
- export { k as a, M as i, j as n, w as o, A as r, O as s, D as t };
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",
6
+ "version": "2.0.7",
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.6"
250
+ "@solostylist/core": "^1.0.7"
249
251
  }
250
252
  }
File without changes
File without changes