@solostylist/ui-kit 1.0.223 → 1.0.225

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 (109) hide show
  1. package/dist/{checkbox-PlpiwQNi.js → checkbox-B95Vlykq.js} +1 -1
  2. package/dist/hooks/index.d.ts +1 -1
  3. package/dist/hooks/{use-count-down.d.ts → use-countdown.d.ts} +8 -8
  4. package/dist/hooks/{use-count-down.js → use-countdown.js} +1 -1
  5. package/dist/s-chat-input/index.js +1 -1
  6. package/dist/s-chat-input/s-chat-input.js +1 -1
  7. package/dist/{s-chat-input-DpCaY6gB.js → s-chat-input-cOCqPTUS.js} +98 -98
  8. package/dist/s-chat-message/index.js +1 -1
  9. package/dist/s-chat-message/s-chat-message.js +1 -1
  10. package/dist/{s-chat-message-ox4Sj6xh.js → s-chat-message-Cb1npIQO.js} +1 -1
  11. package/dist/s-countdown/index.d.ts +2 -2
  12. package/dist/s-countdown/index.js +1 -1
  13. package/dist/s-countdown/{s-count-down.d.ts → s-countdown.d.ts} +17 -17
  14. package/dist/s-countdown/{s-count-down.js → s-countdown.js} +2 -2
  15. package/dist/s-data-table/index.js +1 -1
  16. package/dist/s-data-table/s-data-table.js +1 -1
  17. package/dist/{s-data-table-Cb7CsYQf.js → s-data-table-TrCdKq9r.js} +12 -12
  18. package/dist/s-date-picker/index.js +1 -1
  19. package/dist/s-date-picker/s-date-picker.js +1 -1
  20. package/dist/s-date-picker-BkZIEZoz.js +634 -0
  21. package/dist/s-datetime-picker/index.js +1 -1
  22. package/dist/s-datetime-picker/s-datetime-picker.js +1 -1
  23. package/dist/{s-datetime-picker-D78dPyAo.js → s-datetime-picker-rCWovez1.js} +394 -394
  24. package/dist/s-dialog/s-dialog.d.ts +3 -3
  25. package/dist/s-dialog/s-dialog.js +6 -5
  26. package/dist/s-dialog-confirm/s-dialog-confirm.d.ts +7 -1
  27. package/dist/s-dialog-confirm/s-dialog-confirm.js +4 -4
  28. package/dist/s-gallery/s-gallery.js +1 -1
  29. package/dist/s-glow-button/s-glow-button.d.ts +1 -1
  30. package/dist/s-glow-button/s-glow-button.js +18 -19
  31. package/dist/s-image-modal/index.js +1 -1
  32. package/dist/s-image-modal/s-image-modal.d.ts +6 -0
  33. package/dist/s-image-modal/s-image-modal.js +1 -1
  34. package/dist/{s-image-modal-DA3DBNbv.js → s-image-modal-Za71QD3d.js} +43 -43
  35. package/dist/s-nav-item/index.d.ts +0 -1
  36. package/dist/s-nav-item/index.js +1 -2
  37. package/dist/s-nav-items/index.d.ts +2 -0
  38. package/dist/s-nav-items/index.js +2 -0
  39. package/dist/{s-nav-item → s-nav-items}/s-nav-items.d.ts +1 -1
  40. package/dist/{s-nav-item → s-nav-items}/s-nav-items.js +3 -3
  41. package/dist/s-pixel-reveal/s-pixel-reveal.d.ts +1 -1
  42. package/dist/s-pixel-reveal/s-pixel-reveal.js +74 -69
  43. package/dist/s-review/index.js +1 -1
  44. package/dist/s-review/s-review.js +1 -1
  45. package/dist/{s-review-D4FBfBPF.js → s-review-DjvDY-h4.js} +1 -1
  46. package/dist/s-select/index.js +1 -1
  47. package/dist/s-select/s-select.d.ts +2 -0
  48. package/dist/s-select/s-select.js +1 -1
  49. package/dist/{s-select-b8CHbeCf.js → s-select-B-dEcddK.js} +20 -20
  50. package/dist/s-stripe/s-stripe.js +1 -1
  51. package/dist/s-text-editor/index.js +1 -1
  52. package/dist/s-text-editor/s-text-editor-toolbar.js +1 -1
  53. package/dist/s-text-editor/s-text-editor.js +30 -31
  54. package/dist/{s-text-editor-toolbar-CCK7yyNS.js → s-text-editor-toolbar-DP0MkICo.js} +1 -1
  55. package/dist/s-text-field/index.js +1 -1
  56. package/dist/s-text-field/s-text-field.d.ts +3 -1
  57. package/dist/s-text-field/s-text-field.js +1 -1
  58. package/dist/{s-text-field-Ck5QMhYI.js → s-text-field-GqcwXwta.js} +11 -11
  59. package/dist/s-theme-demo/index.js +1 -1
  60. package/dist/s-theme-demo/s-theme-demo.js +1 -1
  61. package/dist/{s-theme-demo-THHj5mFp.js → s-theme-demo-BpeyFRKt.js} +1 -1
  62. package/dist/s-theme-provider/s-theme-provider.d.ts +3 -3
  63. package/dist/s-theme-provider/s-theme-provider.js +32 -26
  64. package/dist/s-tool-bar/index.js +1 -1
  65. package/dist/s-tool-bar/s-tool-bar.js +1 -1
  66. package/dist/{s-tool-bar-B-v1I_Hy.js → s-tool-bar-DaZ2wT09.js} +142 -143
  67. package/dist/theme/components/accordion-summary.d.ts +385 -385
  68. package/dist/theme/components/accordion-summary.js +1 -1
  69. package/dist/theme/components/accordion.d.ts +2 -2
  70. package/dist/theme/components/alert.d.ts +1524 -1524
  71. package/dist/theme/components/alert.js +15 -22
  72. package/dist/theme/components/app-bar.d.ts +2 -2
  73. package/dist/theme/components/button.d.ts +2282 -2282
  74. package/dist/theme/components/button.js +40 -42
  75. package/dist/theme/components/card.d.ts +767 -767
  76. package/dist/theme/components/card.js +1 -1
  77. package/dist/theme/components/checkbox.d.ts +381 -381
  78. package/dist/theme/components/checkbox.js +1 -1
  79. package/dist/theme/components/chip.js +65 -52
  80. package/dist/theme/components/components.js +3 -3
  81. package/dist/theme/components/form-label.d.ts +2 -2
  82. package/dist/theme/components/icon-button.d.ts +2294 -2294
  83. package/dist/theme/components/icon-button.js +31 -29
  84. package/dist/theme/components/linear-progress.d.ts +382 -382
  85. package/dist/theme/components/linear-progress.js +1 -1
  86. package/dist/theme/components/link.d.ts +2 -2
  87. package/dist/theme/components/link.js +1 -1
  88. package/dist/theme/components/list-item-button.d.ts +2 -2
  89. package/dist/theme/components/list-item.d.ts +2 -2
  90. package/dist/theme/components/outlined-input.js +1 -1
  91. package/dist/theme/components/pagination-item.d.ts +385 -385
  92. package/dist/theme/components/step-icon.d.ts +383 -383
  93. package/dist/theme/components/step-icon.js +1 -1
  94. package/dist/theme/components/step-label.d.ts +384 -384
  95. package/dist/theme/components/tab.d.ts +384 -384
  96. package/dist/theme/components/tabs.d.ts +386 -386
  97. package/dist/theme/components/toggle-button-group.d.ts +383 -383
  98. package/dist/theme/components/toggle-button-group.js +1 -1
  99. package/dist/theme/components/toggle-button.d.ts +385 -385
  100. package/dist/theme/components/toggle-button.js +1 -1
  101. package/dist/theme/theme-primitives.d.ts +132 -0
  102. package/dist/theme/theme-primitives.js +1 -1
  103. package/dist/theme/utils.d.ts +11 -0
  104. package/dist/theme/utils.js +4 -0
  105. package/dist/{theme-primitives-OrQ-xFJR.js → theme-primitives-D2vHHGiX.js} +34 -10
  106. package/dist/{toggle-button-BgpxYWVw.js → toggle-button-BUsRxHn0.js} +1 -1
  107. package/dist/{toggle-button-group-l4hL1DLP.js → toggle-button-group-ABwIhV4P.js} +1 -1
  108. package/package.json +1 -1
  109. package/dist/s-date-picker-Mynq297P.js +0 -634
@@ -1,2 +1,2 @@
1
- import { t as e } from "../../toggle-button-BgpxYWVw.js";
1
+ import { t as e } from "../../toggle-button-BUsRxHn0.js";
2
2
  export { e as MuiToggleButton };
@@ -85,30 +85,96 @@ export declare const colorSchemes: {
85
85
  dark: string;
86
86
  white: string;
87
87
  black: string;
88
+ 50: string;
89
+ 100: string;
90
+ 200: string;
91
+ 300: string;
92
+ 400: string;
93
+ 500: string;
94
+ 600: string;
95
+ 700: string;
96
+ 800: string;
97
+ 900: string;
98
+ };
99
+ secondary: {
100
+ contrastText: string;
101
+ light: string;
102
+ main: string;
103
+ dark: string;
104
+ 50: string;
105
+ 100: string;
106
+ 200: string;
107
+ 300: string;
108
+ 400: string;
109
+ 500: string;
110
+ 600: string;
111
+ 700: string;
112
+ 800: string;
113
+ 900: string;
88
114
  };
89
115
  info: {
90
116
  contrastText: string;
91
117
  light: string;
92
118
  main: string;
93
119
  dark: string;
120
+ 50: string;
121
+ 100: string;
122
+ 200: string;
123
+ 300: string;
124
+ 400: string;
125
+ 500: string;
126
+ 600: string;
127
+ 700: string;
128
+ 800: string;
129
+ 900: string;
94
130
  };
95
131
  warning: {
96
132
  contrastText: string;
97
133
  light: string;
98
134
  main: string;
99
135
  dark: string;
136
+ 50: string;
137
+ 100: string;
138
+ 200: string;
139
+ 300: string;
140
+ 400: string;
141
+ 500: string;
142
+ 600: string;
143
+ 700: string;
144
+ 800: string;
145
+ 900: string;
100
146
  };
101
147
  error: {
102
148
  contrastText: string;
103
149
  light: string;
104
150
  main: string;
105
151
  dark: string;
152
+ 50: string;
153
+ 100: string;
154
+ 200: string;
155
+ 300: string;
156
+ 400: string;
157
+ 500: string;
158
+ 600: string;
159
+ 700: string;
160
+ 800: string;
161
+ 900: string;
106
162
  };
107
163
  success: {
108
164
  contrastText: string;
109
165
  light: string;
110
166
  main: string;
111
167
  dark: string;
168
+ 50: string;
169
+ 100: string;
170
+ 200: string;
171
+ 300: string;
172
+ 400: string;
173
+ 500: string;
174
+ 600: string;
175
+ 700: string;
176
+ 800: string;
177
+ 900: string;
112
178
  };
113
179
  grey: import('@solostylist/core').ColorRange;
114
180
  divider: string;
@@ -155,30 +221,96 @@ export declare const colorSchemes: {
155
221
  dark: string;
156
222
  white: string;
157
223
  black: string;
224
+ 50: string;
225
+ 100: string;
226
+ 200: string;
227
+ 300: string;
228
+ 400: string;
229
+ 500: string;
230
+ 600: string;
231
+ 700: string;
232
+ 800: string;
233
+ 900: string;
234
+ };
235
+ secondary: {
236
+ contrastText: string;
237
+ light: string;
238
+ main: string;
239
+ dark: string;
240
+ 50: string;
241
+ 100: string;
242
+ 200: string;
243
+ 300: string;
244
+ 400: string;
245
+ 500: string;
246
+ 600: string;
247
+ 700: string;
248
+ 800: string;
249
+ 900: string;
158
250
  };
159
251
  info: {
160
252
  contrastText: string;
161
253
  light: string;
162
254
  main: string;
163
255
  dark: string;
256
+ 50: string;
257
+ 100: string;
258
+ 200: string;
259
+ 300: string;
260
+ 400: string;
261
+ 500: string;
262
+ 600: string;
263
+ 700: string;
264
+ 800: string;
265
+ 900: string;
164
266
  };
165
267
  warning: {
166
268
  contrastText: string;
167
269
  light: string;
168
270
  main: string;
169
271
  dark: string;
272
+ 50: string;
273
+ 100: string;
274
+ 200: string;
275
+ 300: string;
276
+ 400: string;
277
+ 500: string;
278
+ 600: string;
279
+ 700: string;
280
+ 800: string;
281
+ 900: string;
170
282
  };
171
283
  error: {
172
284
  contrastText: string;
173
285
  light: string;
174
286
  main: string;
175
287
  dark: string;
288
+ 50: string;
289
+ 100: string;
290
+ 200: string;
291
+ 300: string;
292
+ 400: string;
293
+ 500: string;
294
+ 600: string;
295
+ 700: string;
296
+ 800: string;
297
+ 900: string;
176
298
  };
177
299
  success: {
178
300
  contrastText: string;
179
301
  light: string;
180
302
  main: string;
181
303
  dark: string;
304
+ 50: string;
305
+ 100: string;
306
+ 200: string;
307
+ 300: string;
308
+ 400: string;
309
+ 500: string;
310
+ 600: string;
311
+ 700: string;
312
+ 800: string;
313
+ 900: string;
182
314
  };
183
315
  grey: import('@solostylist/core').ColorRange;
184
316
  divider: string;
@@ -1,2 +1,2 @@
1
- import { _ as e, a as t, c as n, d as r, f as i, g as a, h as o, i as s, l as c, m as l, n as u, o as d, p as f, r as p, s as m, t as h, u as g, v as _ } from "../theme-primitives-OrQ-xFJR.js";
1
+ import { _ as e, a as t, c as n, d as r, f as i, g as a, h as o, i as s, l as c, m as l, n as u, o as d, p as f, r as p, s as m, t as h, u as g, v as _ } from "../theme-primitives-D2vHHGiX.js";
2
2
  export { t as blue, d as brand, h as colorSchemes, m as gray, n as green, c as lightBlue, g as lightBrand, r as lightGray, i as lightGreen, f as lightOrange, l as lightPurple, o as lightRed, a as orange, e as purple, _ as red, u as shadows, p as shape, s as typography };
@@ -0,0 +1,11 @@
1
+ /**
2
+ * Mixes a color with transparency using CSS color-mix().
3
+ *
4
+ * Use this instead of MUI's alpha() when the color may be a theme CSS variable
5
+ * (e.g. values read from `theme.vars.palette.*`): alpha() needs a parseable
6
+ * color string, while color-mix() lets the browser resolve var() at paint time.
7
+ *
8
+ * @param color - Any CSS color, including `var(--s-palette-...)` references
9
+ * @param percent - Opacity of the color in the mix, 0–100
10
+ */
11
+ export declare const tint: (color: string, percent: number) => string;
@@ -0,0 +1,4 @@
1
+ //#region lib/theme/utils.ts
2
+ var e = (e, t) => `color-mix(in srgb, ${e} ${t}%, transparent)`;
3
+ //#endregion
4
+ export { e as tint };
@@ -7,10 +7,10 @@ var n = {
7
7
  300: "hsl(210, 100%, 65%)",
8
8
  400: "hsl(210, 98%, 48%)",
9
9
  500: "hsl(210, 98%, 42%)",
10
- 600: "hsl(210, 98%, 55%)",
10
+ 600: "hsl(210, 98%, 38%)",
11
11
  700: "hsl(210, 100%, 35%)",
12
- 800: "hsl(210, 100%, 16%)",
13
- 900: "hsl(210, 100%, 21%)"
12
+ 800: "hsl(210, 100%, 21%)",
13
+ 900: "hsl(210, 100%, 16%)"
14
14
  }, r = {
15
15
  50: "hsl(220, 60%, 98%)",
16
16
  100: "hsl(220, 55%, 95%)",
@@ -220,6 +220,7 @@ var n = {
220
220
  },
221
221
  ui: { pulse: b },
222
222
  primary: {
223
+ ...n,
223
224
  contrastText: n[50],
224
225
  light: n[400],
225
226
  main: n[500],
@@ -227,25 +228,36 @@ var n = {
227
228
  white: "#ffffff",
228
229
  black: "#000000"
229
230
  },
231
+ secondary: {
232
+ ...m,
233
+ contrastText: m[50],
234
+ light: m[400],
235
+ main: m[500],
236
+ dark: m[700]
237
+ },
230
238
  info: {
239
+ ...u,
231
240
  contrastText: u[50],
232
241
  light: u[400],
233
242
  main: u[500],
234
243
  dark: u[700]
235
244
  },
236
245
  warning: {
246
+ ...c,
237
247
  contrastText: c[50],
238
248
  light: c[400],
239
249
  main: c[500],
240
250
  dark: c[700]
241
251
  },
242
252
  error: {
253
+ ...f,
243
254
  contrastText: f[50],
244
255
  light: f[400],
245
256
  main: f[500],
246
257
  dark: f[700]
247
258
  },
248
259
  success: {
260
+ ...o,
249
261
  contrastText: o[50],
250
262
  light: o[400],
251
263
  main: o[500],
@@ -286,6 +298,7 @@ var n = {
286
298
  },
287
299
  ui: { pulse: x },
288
300
  primary: {
301
+ ...r,
289
302
  contrastText: r[50],
290
303
  light: r[200],
291
304
  main: r[500],
@@ -293,29 +306,40 @@ var n = {
293
306
  white: "#ffffff",
294
307
  black: "#000000"
295
308
  },
309
+ secondary: {
310
+ ...h,
311
+ contrastText: h[50],
312
+ light: h[200],
313
+ main: h[500],
314
+ dark: h[700]
315
+ },
296
316
  info: {
317
+ ...d,
297
318
  contrastText: d[50],
298
319
  light: d[200],
299
- main: d[500],
300
- dark: d[700]
320
+ main: d[700],
321
+ dark: d[800]
301
322
  },
302
323
  warning: {
324
+ ...l,
303
325
  contrastText: l[50],
304
326
  light: l[200],
305
- main: l[500],
306
- dark: l[700]
327
+ main: l[800],
328
+ dark: l[900]
307
329
  },
308
330
  error: {
331
+ ...p,
309
332
  contrastText: p[50],
310
333
  light: p[200],
311
- main: p[500],
334
+ main: p[600],
312
335
  dark: p[700]
313
336
  },
314
337
  success: {
338
+ ...s,
315
339
  contrastText: s[50],
316
340
  light: s[200],
317
- main: s[500],
318
- dark: s[700]
341
+ main: s[800],
342
+ dark: s[900]
319
343
  },
320
344
  grey: a,
321
345
  divider: e(a[300], .9),
@@ -1,5 +1,5 @@
1
1
  import { t as e } from "./generateUtilityClasses-XrPHiTcM.js";
2
- import { o as t, s as n } from "./theme-primitives-OrQ-xFJR.js";
2
+ import { o as t, s as n } from "./theme-primitives-D2vHHGiX.js";
3
3
  //#region ../../node_modules/@mui/material/ToggleButton/toggleButtonClasses.mjs
4
4
  var r = e("MuiToggleButton", [
5
5
  "root",
@@ -1,6 +1,6 @@
1
1
  import { i as e } from "./createTheme-Bnw5w28O.js";
2
2
  import { t } from "./generateUtilityClasses-XrPHiTcM.js";
3
- import { o as n, s as r } from "./theme-primitives-OrQ-xFJR.js";
3
+ import { o as n, s as r } from "./theme-primitives-D2vHHGiX.js";
4
4
  //#region ../../node_modules/@mui/material/ToggleButtonGroup/toggleButtonGroupClasses.mjs
5
5
  var i = t("MuiToggleButtonGroup", [
6
6
  "root",
package/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "publishConfig": {
4
4
  "registry": "https://registry.npmjs.org"
5
5
  },
6
- "version": "1.0.223",
6
+ "version": "1.0.225",
7
7
  "description": "advanced ui kit for solostylist",
8
8
  "type": "module",
9
9
  "main": "dist/main.js",