@solostylist/ui-kit 1.0.21 → 1.0.24

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 (60) hide show
  1. package/dist/{Box-CYhpy9DM.js → Box-CafvePOg.js} +5 -5
  2. package/dist/{DefaultPropsProvider-DhE0_fCr.js → DefaultPropsProvider-Doz-fKTH.js} +2 -2
  3. package/dist/{Menu-DeygsmYI.js → Menu-DV6b-3vA.js} +18 -17
  4. package/dist/{Stack-Du2vO-iF.js → Stack-CyNMyetl.js} +5 -5
  5. package/dist/TransitionGroup-C2C7KNye.js +216 -0
  6. package/dist/{Typography-BUC2b3EE.js → Typography-BXLku1B0.js} +5 -5
  7. package/dist/_commonjsHelpers-B4e78b8K.js +28 -0
  8. package/dist/assets/s-image-gallery.css +1 -1
  9. package/dist/{buttonBaseClasses-D9p3ujfW.js → buttonBaseClasses-C7kEMnpC.js} +2 -2
  10. package/dist/{createSvgIcon-CFj_BoDp.js → createSvgIcon-C9keHw6o.js} +4 -4
  11. package/dist/{createTheme-DkVAXJiq.js → createTheme-DwCHEbMU.js} +1 -1
  12. package/dist/emotion-serialize.esm-lgBmL_7o.js +195 -0
  13. package/dist/{extendSxProp-oTj2mv7x.js → extendSxProp-DOBfSUxL.js} +1 -1
  14. package/dist/{generateUtilityClasses-DStZbN71.js → generateUtilityClasses-BHlV34bM.js} +1 -1
  15. package/dist/{iconButtonClasses-Dx9aLkXb.js → iconButtonClasses--mfwnDzQ.js} +2 -2
  16. package/dist/identifier-C1jBtHV2.js +46 -0
  17. package/dist/{index-8QDI4GK5.js → index-Bg8Tniaw.js} +5 -5
  18. package/dist/main.d.ts +2 -0
  19. package/dist/main.js +26 -24
  20. package/dist/{menuItemClasses-D9_8SIPH.js → menuItemClasses-BuWSZEU7.js} +2 -2
  21. package/dist/{outlinedInputClasses-DNQT_xFJ.js → outlinedInputClasses-BiB8MrLY.js} +2 -2
  22. package/dist/s-data-table/s-data-table.js +6 -6
  23. package/dist/s-dialog-confirm/s-dialog-confirm.js +1 -1
  24. package/dist/s-dialog-message/s-dialog-message.js +1 -1
  25. package/dist/s-file-dropzone/s-file-dropzone.js +3 -3
  26. package/dist/s-file-icon/s-file-icon.js +1 -1
  27. package/dist/s-form/s-form.js +10 -8
  28. package/dist/s-image-gallery/package.json +1 -1
  29. package/dist/s-label/s-label.js +7 -5
  30. package/dist/s-multi-select/s-multi-select.js +8 -8
  31. package/dist/s-select/s-select.d.ts +1 -3
  32. package/dist/s-smart-text-field/index.d.ts +2 -0
  33. package/dist/s-smart-text-field/index.js +4 -0
  34. package/dist/s-smart-text-field/package.json +5 -0
  35. package/dist/s-smart-text-field/s-text-field.d.ts +6 -0
  36. package/dist/s-smart-text-field/s-text-field.js +27137 -0
  37. package/dist/s-snackbar-message/s-snackbar-message.d.ts +6 -1
  38. package/dist/s-snackbar-message/s-snackbar-message.js +13 -13
  39. package/dist/s-text-editor/s-text-editor-toolbar.js +12 -12
  40. package/dist/s-text-editor/s-text-editor.js +1 -1
  41. package/dist/s-theme-provider/s-theme-provider.d.ts +3 -2
  42. package/dist/s-theme-provider/s-theme-provider.js +26 -24
  43. package/dist/s-tip/s-tip.js +3 -3
  44. package/dist/{selectClasses-BDdGqseQ.js → selectClasses-gIFRMjMV.js} +2 -2
  45. package/dist/{svgIconClasses-ByelSBlO.js → svgIconClasses-B4eDa4bG.js} +2 -2
  46. package/dist/theme/customizations/data-display.js +6 -6
  47. package/dist/theme/customizations/feedback.js +1 -1
  48. package/dist/theme/customizations/inputs.js +5 -5
  49. package/dist/theme/customizations/navigation.js +16 -20
  50. package/dist/theme/customizations/surfaces.js +1 -1
  51. package/dist/theme/theme-primitives.js +1 -1
  52. package/dist/{typographyClasses-By7qHJ5j.js → typographyClasses-BHvgKFVi.js} +2 -2
  53. package/dist/useSlot-CUlGPdMt.js +969 -0
  54. package/dist/{useTheme-B14mI9KW.js → useTheme-Cfg4NSRM.js} +1 -1
  55. package/dist/utils/dayjs.js +1 -1
  56. package/package.json +1 -1
  57. package/dist/HelpOutline-BpAsfhrs.js +0 -8
  58. package/dist/_commonjsHelpers-C6fGbg64.js +0 -6
  59. package/dist/identifier-DCmLmBSP.js +0 -234
  60. package/dist/useSlot-D9cy_5Wu.js +0 -1179
@@ -0,0 +1,195 @@
1
+ function C(r) {
2
+ for (var e = 0, n, t = 0, a = r.length; a >= 4; ++t, a -= 4)
3
+ n = r.charCodeAt(t) & 255 | (r.charCodeAt(++t) & 255) << 8 | (r.charCodeAt(++t) & 255) << 16 | (r.charCodeAt(++t) & 255) << 24, n = /* Math.imul(k, m): */
4
+ (n & 65535) * 1540483477 + ((n >>> 16) * 59797 << 16), n ^= /* k >>> r: */
5
+ n >>> 24, e = /* Math.imul(k, m): */
6
+ (n & 65535) * 1540483477 + ((n >>> 16) * 59797 << 16) ^ /* Math.imul(h, m): */
7
+ (e & 65535) * 1540483477 + ((e >>> 16) * 59797 << 16);
8
+ switch (a) {
9
+ case 3:
10
+ e ^= (r.charCodeAt(t + 2) & 255) << 16;
11
+ case 2:
12
+ e ^= (r.charCodeAt(t + 1) & 255) << 8;
13
+ case 1:
14
+ e ^= r.charCodeAt(t) & 255, e = /* Math.imul(h, m): */
15
+ (e & 65535) * 1540483477 + ((e >>> 16) * 59797 << 16);
16
+ }
17
+ return e ^= e >>> 13, e = /* Math.imul(h, m): */
18
+ (e & 65535) * 1540483477 + ((e >>> 16) * 59797 << 16), ((e ^ e >>> 15) >>> 0).toString(36);
19
+ }
20
+ var y = {
21
+ animationIterationCount: 1,
22
+ aspectRatio: 1,
23
+ borderImageOutset: 1,
24
+ borderImageSlice: 1,
25
+ borderImageWidth: 1,
26
+ boxFlex: 1,
27
+ boxFlexGroup: 1,
28
+ boxOrdinalGroup: 1,
29
+ columnCount: 1,
30
+ columns: 1,
31
+ flex: 1,
32
+ flexGrow: 1,
33
+ flexPositive: 1,
34
+ flexShrink: 1,
35
+ flexNegative: 1,
36
+ flexOrder: 1,
37
+ gridRow: 1,
38
+ gridRowEnd: 1,
39
+ gridRowSpan: 1,
40
+ gridRowStart: 1,
41
+ gridColumn: 1,
42
+ gridColumnEnd: 1,
43
+ gridColumnSpan: 1,
44
+ gridColumnStart: 1,
45
+ msGridRow: 1,
46
+ msGridRowSpan: 1,
47
+ msGridColumn: 1,
48
+ msGridColumnSpan: 1,
49
+ fontWeight: 1,
50
+ lineHeight: 1,
51
+ opacity: 1,
52
+ order: 1,
53
+ orphans: 1,
54
+ scale: 1,
55
+ tabSize: 1,
56
+ widows: 1,
57
+ zIndex: 1,
58
+ zoom: 1,
59
+ WebkitLineClamp: 1,
60
+ // SVG-related properties
61
+ fillOpacity: 1,
62
+ floodOpacity: 1,
63
+ stopOpacity: 1,
64
+ strokeDasharray: 1,
65
+ strokeDashoffset: 1,
66
+ strokeMiterlimit: 1,
67
+ strokeOpacity: 1,
68
+ strokeWidth: 1
69
+ };
70
+ function w(r) {
71
+ var e = /* @__PURE__ */ Object.create(null);
72
+ return function(n) {
73
+ return e[n] === void 0 && (e[n] = r(n)), e[n];
74
+ };
75
+ }
76
+ var A = /[A-Z]|^ms/g, S = /_EMO_([^_]+?)_([^]*?)_EMO_/g, v = function(e) {
77
+ return e.charCodeAt(1) === 45;
78
+ }, x = function(e) {
79
+ return e != null && typeof e != "boolean";
80
+ }, d = /* @__PURE__ */ w(function(r) {
81
+ return v(r) ? r : r.replace(A, "-$&").toLowerCase();
82
+ }), h = function(e, n) {
83
+ switch (e) {
84
+ case "animation":
85
+ case "animationName":
86
+ if (typeof n == "string")
87
+ return n.replace(S, function(t, a, f) {
88
+ return u = {
89
+ name: a,
90
+ styles: f,
91
+ next: u
92
+ }, a;
93
+ });
94
+ }
95
+ return y[e] !== 1 && !v(e) && typeof n == "number" && n !== 0 ? n + "px" : n;
96
+ };
97
+ function s(r, e, n) {
98
+ if (n == null)
99
+ return "";
100
+ var t = n;
101
+ if (t.__emotion_styles !== void 0)
102
+ return t;
103
+ switch (typeof n) {
104
+ case "boolean":
105
+ return "";
106
+ case "object": {
107
+ var a = n;
108
+ if (a.anim === 1)
109
+ return u = {
110
+ name: a.name,
111
+ styles: a.styles,
112
+ next: u
113
+ }, a.name;
114
+ var f = n;
115
+ if (f.styles !== void 0) {
116
+ var o = f.next;
117
+ if (o !== void 0)
118
+ for (; o !== void 0; )
119
+ u = {
120
+ name: o.name,
121
+ styles: o.styles,
122
+ next: u
123
+ }, o = o.next;
124
+ var i = f.styles + ";";
125
+ return i;
126
+ }
127
+ return O(r, e, n);
128
+ }
129
+ }
130
+ var c = n;
131
+ if (e == null)
132
+ return c;
133
+ var l = e[c];
134
+ return l !== void 0 ? l : c;
135
+ }
136
+ function O(r, e, n) {
137
+ var t = "";
138
+ if (Array.isArray(n))
139
+ for (var a = 0; a < n.length; a++)
140
+ t += s(r, e, n[a]) + ";";
141
+ else
142
+ for (var f in n) {
143
+ var o = n[f];
144
+ if (typeof o != "object") {
145
+ var i = o;
146
+ e != null && e[i] !== void 0 ? t += f + "{" + e[i] + "}" : x(i) && (t += d(f) + ":" + h(f, i) + ";");
147
+ } else if (Array.isArray(o) && typeof o[0] == "string" && (e == null || e[o[0]] === void 0))
148
+ for (var c = 0; c < o.length; c++)
149
+ x(o[c]) && (t += d(f) + ":" + h(f, o[c]) + ";");
150
+ else {
151
+ var l = s(r, e, o);
152
+ switch (f) {
153
+ case "animation":
154
+ case "animationName": {
155
+ t += d(f) + ":" + l + ";";
156
+ break;
157
+ }
158
+ default:
159
+ t += f + "{" + l + "}";
160
+ }
161
+ }
162
+ }
163
+ return t;
164
+ }
165
+ var p = /label:\s*([^\s;{]+)\s*(;|$)/g, u;
166
+ function R(r, e, n) {
167
+ if (r.length === 1 && typeof r[0] == "object" && r[0] !== null && r[0].styles !== void 0)
168
+ return r[0];
169
+ var t = !0, a = "";
170
+ u = void 0;
171
+ var f = r[0];
172
+ if (f == null || f.raw === void 0)
173
+ t = !1, a += s(n, e, f);
174
+ else {
175
+ var o = f;
176
+ a += o[0];
177
+ }
178
+ for (var i = 1; i < r.length; i++)
179
+ if (a += s(n, e, r[i]), t) {
180
+ var c = f;
181
+ a += c[i];
182
+ }
183
+ p.lastIndex = 0;
184
+ for (var l = "", m; (m = p.exec(a)) !== null; )
185
+ l += "-" + m[1];
186
+ var b = C(a) + l;
187
+ return {
188
+ name: b,
189
+ styles: a,
190
+ next: u
191
+ };
192
+ }
193
+ export {
194
+ R as s
195
+ };
@@ -1,4 +1,4 @@
1
- import { i as c, d as l } from "./createTheme-DkVAXJiq.js";
1
+ import { i as c, d as l } from "./createTheme-DwCHEbMU.js";
2
2
  const a = (t) => {
3
3
  var s;
4
4
  const e = {
@@ -1,4 +1,4 @@
1
- import { g as i } from "./createTheme-DkVAXJiq.js";
1
+ import { g as i } from "./createTheme-DwCHEbMU.js";
2
2
  function o(r, s, a = "Mui") {
3
3
  const t = {};
4
4
  return s.forEach((e) => {
@@ -1,5 +1,5 @@
1
- import { g as r } from "./generateUtilityClasses-DStZbN71.js";
2
- import { g as t } from "./createTheme-DkVAXJiq.js";
1
+ import { g as r } from "./generateUtilityClasses-BHlV34bM.js";
2
+ import { g as t } from "./createTheme-DwCHEbMU.js";
3
3
  function n(o) {
4
4
  return t("MuiIconButton", o);
5
5
  }
@@ -0,0 +1,46 @@
1
+ import a from "@emotion/styled";
2
+ import { s as u } from "./emotion-serialize.esm-lgBmL_7o.js";
3
+ import "@emotion/react";
4
+ function i(e) {
5
+ var t, o, r = "";
6
+ if (typeof e == "string" || typeof e == "number") r += e;
7
+ else if (typeof e == "object") if (Array.isArray(e)) {
8
+ var s = e.length;
9
+ for (t = 0; t < s; t++) e[t] && (o = i(e[t])) && (r && (r += " "), r += o);
10
+ } else for (o in e) e[o] && (r && (r += " "), r += o);
11
+ return r;
12
+ }
13
+ function c() {
14
+ for (var e, t, o = 0, r = "", s = arguments.length; o < s; o++) (e = arguments[o]) && (t = i(e)) && (r && (r += " "), r += t);
15
+ return r;
16
+ }
17
+ /**
18
+ * @mui/styled-engine v7.0.2
19
+ *
20
+ * @license MIT
21
+ * This source code is licensed under the MIT license found in the
22
+ * LICENSE file in the root directory of this source tree.
23
+ */
24
+ function p(e, t) {
25
+ const o = a(e, t);
26
+ return process.env.NODE_ENV !== "production" ? (...r) => {
27
+ const s = typeof e == "string" ? `"${e}"` : "component";
28
+ return r.length === 0 ? console.error([`MUI: Seems like you called \`styled(${s})()\` without a \`style\` argument.`, 'You must provide a `styles` argument: `styled("div")(styleYouForgotToPass)`.'].join(`
29
+ `)) : r.some((l) => l === void 0) && console.error(`MUI: the styled(${s})(...args) API requires all its args to be defined.`), o(...r);
30
+ } : o;
31
+ }
32
+ function d(e, t) {
33
+ Array.isArray(e.__emotion_styles) && (e.__emotion_styles = t(e.__emotion_styles));
34
+ }
35
+ const n = [];
36
+ function _(e) {
37
+ return n[0] = e, u(n);
38
+ }
39
+ const g = "$$material";
40
+ export {
41
+ g as T,
42
+ d as a,
43
+ c,
44
+ _ as i,
45
+ p as s
46
+ };
@@ -1,10 +1,10 @@
1
1
  import "react";
2
2
  import { j as p } from "./jsx-runtime-C5mzlN2N.js";
3
- import { e as f } from "./extendSxProp-oTj2mv7x.js";
4
- import { P as e } from "./createTheme-DkVAXJiq.js";
5
- import { d as a } from "./DefaultPropsProvider-DhE0_fCr.js";
6
- import { T as c } from "./identifier-DCmLmBSP.js";
7
- import { u as m } from "./useTheme-B14mI9KW.js";
3
+ import { e as f } from "./extendSxProp-DOBfSUxL.js";
4
+ import { P as e } from "./createTheme-DwCHEbMU.js";
5
+ import { d as a } from "./DefaultPropsProvider-Doz-fKTH.js";
6
+ import { T as c } from "./identifier-C1jBtHV2.js";
7
+ import { u as m } from "./useTheme-Cfg4NSRM.js";
8
8
  import { Global as y } from "@emotion/react";
9
9
  function d(o) {
10
10
  return o == null || Object.keys(o).length === 0;
package/dist/main.d.ts CHANGED
@@ -50,6 +50,8 @@ export { default as SImageGallery } from './s-image-gallery/index';
50
50
  export type { SImageGalleryProps } from './s-image-gallery/index';
51
51
  export { default as SForm } from './s-form/index';
52
52
  export type { SFormProps } from './s-form/index';
53
+ export { default as SSmartTextField } from './s-smart-text-field/index';
54
+ export type { SSmartTextFieldProps } from './s-smart-text-field/index';
53
55
  export { default as SThemeProvider } from './s-theme-provider/index';
54
56
  export type { SThemeProviderProps } from './s-theme-provider/index';
55
57
  export * from './hooks';
package/dist/main.js CHANGED
@@ -2,14 +2,14 @@ import { default as r } from "./s-autocomplete/s-autocomplete.js";
2
2
  import { default as t } from "./s-button-link/s-button-link.js";
3
3
  import { default as l } from "./s-text-editor/s-text-editor.js";
4
4
  import { default as m } from "./s-checkbox/s-checkbox.js";
5
- import { default as u } from "./s-chips/s-chips.js";
6
- import { default as x } from "./s-data-table/s-data-table.js";
5
+ import { default as x } from "./s-chips/s-chips.js";
6
+ import { default as u } from "./s-data-table/s-data-table.js";
7
7
  import { DialogConfirmProvider as i, default as g, useDialogConfirm as n } from "./s-dialog-confirm/s-dialog-confirm.js";
8
- import { DialogMessageProvider as D, default as P, useDialogMessage as T } from "./s-dialog-message/s-dialog-message.js";
8
+ import { DialogMessageProvider as D, default as T, useDialogMessage as P } from "./s-dialog-message/s-dialog-message.js";
9
9
  import { default as v } from "./s-error/s-error.js";
10
10
  import { default as k } from "./s-empty/s-empty.js";
11
11
  import { default as C } from "./s-dialog/s-dialog.js";
12
- import { default as F } from "./s-file-dropzone/s-file-dropzone.js";
12
+ import { default as y } from "./s-file-dropzone/s-file-dropzone.js";
13
13
  import { default as h } from "./s-file-icon/s-file-icon.js";
14
14
  import { default as z } from "./s-i18n-provider/s-i18n-provider.js";
15
15
  import { default as j } from "./s-icon-button/s-icon-button.js";
@@ -25,29 +25,30 @@ import { default as _ } from "./s-text-truncation/s-text-truncation.js";
25
25
  import { default as ee, SnackbarMessageProvider as oe, useSnackbarMessage as re } from "./s-snackbar-message/s-snackbar-message.js";
26
26
  import { default as te } from "./s-image-gallery/s-image-gallery.js";
27
27
  import { default as le } from "./s-form/s-form.js";
28
- import { default as me } from "./s-theme-provider/s-theme-provider.js";
28
+ import { SSmartTextField as me } from "./s-smart-text-field/s-text-field.js";
29
+ import { default as xe } from "./s-theme-provider/s-theme-provider.js";
29
30
  import { useDialog as ue } from "./hooks/use-dialog.js";
30
- import { usePopover as xe } from "./hooks/use-popover.js";
31
- import { formatDatePosted as ie } from "./utils/dayjs.js";
32
- import { bytesToSize as ne } from "./utils/bytes-to-size.js";
33
- import { LogLevel as De, Logger as Pe, createLogger as Te, logger as be } from "./utils/logger.js";
34
- import { default as Me } from "dayjs";
31
+ import { usePopover as ie } from "./hooks/use-popover.js";
32
+ import { formatDatePosted as ne } from "./utils/dayjs.js";
33
+ import { bytesToSize as De } from "./utils/bytes-to-size.js";
34
+ import { LogLevel as Pe, Logger as be, createLogger as ve, logger as Me } from "./utils/logger.js";
35
+ import { default as Le } from "dayjs";
35
36
  export {
36
37
  i as DialogConfirmProvider,
37
38
  D as DialogMessageProvider,
38
- De as LogLevel,
39
- Pe as Logger,
39
+ Pe as LogLevel,
40
+ be as Logger,
40
41
  r as SAutocomplete,
41
42
  t as SButtonLink,
42
43
  m as SCheckbox,
43
- u as SChips,
44
- x as SDataTable,
44
+ x as SChips,
45
+ u as SDataTable,
45
46
  C as SDialog,
46
47
  g as SDialogConfirm,
47
- P as SDialogMessage,
48
+ T as SDialogMessage,
48
49
  k as SEmpty,
49
50
  v as SError,
50
- F as SFileDropzone,
51
+ y as SFileDropzone,
51
52
  h as SFileIcon,
52
53
  le as SForm,
53
54
  z as SI18nProvider,
@@ -59,21 +60,22 @@ export {
59
60
  Q as SPagination,
60
61
  U as SSelect,
61
62
  W as SSkeleton,
63
+ me as SSmartTextField,
62
64
  ee as SSnackbarMessage,
63
65
  l as STextEditor,
64
66
  K as STextField,
65
67
  _ as STextTruncation,
66
- me as SThemeProvider,
68
+ xe as SThemeProvider,
67
69
  Y as STip,
68
70
  oe as SnackbarMessageProvider,
69
- ne as bytesToSize,
70
- Te as createLogger,
71
- Me as dayjs,
72
- ie as formatDatePosted,
73
- be as logger,
71
+ De as bytesToSize,
72
+ ve as createLogger,
73
+ Le as dayjs,
74
+ ne as formatDatePosted,
75
+ Me as logger,
74
76
  ue as useDialog,
75
77
  n as useDialogConfirm,
76
- T as useDialogMessage,
77
- xe as usePopover,
78
+ P as useDialogMessage,
79
+ ie as usePopover,
78
80
  re as useSnackbarMessage
79
81
  };
@@ -1,5 +1,5 @@
1
- import { g as e } from "./generateUtilityClasses-DStZbN71.js";
2
- import { g as i } from "./createTheme-DkVAXJiq.js";
1
+ import { g as e } from "./generateUtilityClasses-BHlV34bM.js";
2
+ import { g as i } from "./createTheme-DwCHEbMU.js";
3
3
  const r = e("MuiDivider", ["root", "absolute", "fullWidth", "inset", "middle", "flexItem", "light", "vertical", "withChildren", "withChildrenVertical", "textAlignRight", "textAlignLeft", "wrapper", "wrapperVertical"]);
4
4
  function a(t) {
5
5
  return i("MuiMenuItem", t);
@@ -1,5 +1,5 @@
1
- import { g as n } from "./generateUtilityClasses-DStZbN71.js";
2
- import { g as e } from "./createTheme-DkVAXJiq.js";
1
+ import { g as n } from "./generateUtilityClasses-BHlV34bM.js";
2
+ import { g as e } from "./createTheme-DwCHEbMU.js";
3
3
  function l(t) {
4
4
  return e("MuiInputBase", t);
5
5
  }
@@ -1,13 +1,13 @@
1
1
  import { j as r } from "../jsx-runtime-C5mzlN2N.js";
2
2
  import * as y from "react";
3
3
  import Ce from "../s-empty/s-empty.js";
4
- import { g as N, c as j, P as e, a as M, n as Te, o as ke } from "../createTheme-DkVAXJiq.js";
5
- import { c as I } from "../identifier-DCmLmBSP.js";
6
- import { s as S, c as $, r as se, u as E, m as W } from "../DefaultPropsProvider-DhE0_fCr.js";
7
- import { g as B } from "../generateUtilityClasses-DStZbN71.js";
4
+ import { g as N, c as j, P as e, a as M, n as Te, o as ke } from "../createTheme-DwCHEbMU.js";
5
+ import { c as I } from "../identifier-C1jBtHV2.js";
6
+ import { s as S, c as $, r as se, u as E, m as W } from "../DefaultPropsProvider-Doz-fKTH.js";
7
+ import { g as B } from "../generateUtilityClasses-BHlV34bM.js";
8
8
  import { u as je, a as Re } from "../useFormControl-D6-HePVL.js";
9
- import { a as A, B as Oe, r as we, m as Pe } from "../useSlot-D9cy_5Wu.js";
10
- import { c as J } from "../createSvgIcon-CFj_BoDp.js";
9
+ import { a as A, B as Oe, r as we, m as Pe } from "../useSlot-CUlGPdMt.js";
10
+ import { c as J } from "../createSvgIcon-C9keHw6o.js";
11
11
  import { c as Y } from "../createSimplePaletteValueFilter-B7--0ryQ.js";
12
12
  function Se(o) {
13
13
  return N("PrivateSwitchBase", o);
@@ -3,7 +3,7 @@ import * as r from "react";
3
3
  import { Dialog as p, DialogTitle as g, Stack as j, IconButton as D, DialogContent as v, DialogActions as y, Button as d } from "@mui/material";
4
4
  import { S as b } from "../X-B8GTZwii.js";
5
5
  import { useDialog as k } from "../hooks/use-dialog.js";
6
- import { T as m } from "../Typography-BUC2b3EE.js";
6
+ import { T as m } from "../Typography-BXLku1B0.js";
7
7
  const w = ({
8
8
  title: o,
9
9
  content: e,
@@ -3,7 +3,7 @@ import * as s from "react";
3
3
  import { Dialog as u, DialogTitle as p, Stack as g, IconButton as m, DialogContent as j, DialogActions as f, Button as C } from "@mui/material";
4
4
  import { S as D } from "../X-B8GTZwii.js";
5
5
  import { useDialog as k } from "../hooks/use-dialog.js";
6
- import { T as c } from "../Typography-BUC2b3EE.js";
6
+ import { T as c } from "../Typography-BXLku1B0.js";
7
7
  const v = ({
8
8
  title: n,
9
9
  content: e,
@@ -7,9 +7,9 @@ import { useDropzone as F } from "react-dropzone";
7
7
  import I from "../s-file-icon/s-file-icon.js";
8
8
  import O from "../s-form/s-form.js";
9
9
  import { bytesToSize as C } from "../utils/bytes-to-size.js";
10
- import { S as n } from "../Stack-Du2vO-iF.js";
11
- import { B as u } from "../Box-CYhpy9DM.js";
12
- import { T as i } from "../Typography-BUC2b3EE.js";
10
+ import { S as n } from "../Stack-CyNMyetl.js";
11
+ import { B as u } from "../Box-CafvePOg.js";
12
+ import { T as i } from "../Typography-BXLku1B0.js";
13
13
  const H = /* @__PURE__ */ new Map([
14
14
  [
15
15
  "bold",
@@ -1,5 +1,5 @@
1
1
  import { j as e } from "../jsx-runtime-C5mzlN2N.js";
2
- import { B as i } from "../Box-CYhpy9DM.js";
2
+ import { B as i } from "../Box-CafvePOg.js";
3
3
  const o = {
4
4
  jpeg: "/assets/icon-jpg.svg",
5
5
  jpg: "/assets/icon-jpg.svg",
@@ -1,15 +1,17 @@
1
1
  import { j as l } from "../jsx-runtime-C5mzlN2N.js";
2
- import { FormControl as i, FormLabel as m, Tooltip as p, FormHelperText as x } from "@mui/material";
3
- import { H as a } from "../HelpOutline-BpAsfhrs.js";
4
- const f = ({ label: t, hint: o, error: e, required: r, children: s, htmlFor: n }) => /* @__PURE__ */ l.jsxs(i, { error: !!e, fullWidth: !0, children: [
5
- t ? /* @__PURE__ */ l.jsxs(m, { htmlFor: n, required: r, sx: { display: "flex", alignItems: "center", gap: 1 }, children: [
2
+ import { FormControl as c, FormLabel as m, Tooltip as p, FormHelperText as i } from "@mui/material";
3
+ import { c as x } from "../createSvgIcon-C9keHw6o.js";
4
+ const a = x(/* @__PURE__ */ l.jsx("path", {
5
+ d: "M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2m1 17h-2v-2h2zm2.07-7.75-.9.92C13.45 12.9 13 13.5 13 15h-2v-.5c0-1.1.45-2.1 1.17-2.83l1.24-1.26c.37-.36.59-.86.59-1.41 0-1.1-.9-2-2-2s-2 .9-2 2H8c0-2.21 1.79-4 4-4s4 1.79 4 4c0 .88-.36 1.68-.93 2.25"
6
+ }), "Help"), u = ({ label: t, hint: s, error: e, required: o, children: r, htmlFor: n }) => /* @__PURE__ */ l.jsxs(c, { error: !!e, fullWidth: !0, children: [
7
+ t ? /* @__PURE__ */ l.jsxs(m, { htmlFor: n, required: o, sx: { display: "flex", alignItems: "center", gap: 0.5 }, children: [
6
8
  t,
7
9
  " ",
8
- o ? /* @__PURE__ */ l.jsx(p, { title: o, placement: "top", children: /* @__PURE__ */ l.jsx(a, { fontSize: "small" }) }) : null
10
+ s ? /* @__PURE__ */ l.jsx(p, { title: s, placement: "top", children: /* @__PURE__ */ l.jsx(a, { style: { width: 16 } }) }) : null
9
11
  ] }) : null,
10
- s,
11
- e ? /* @__PURE__ */ l.jsx(x, { children: e }) : null
12
+ r,
13
+ e ? /* @__PURE__ */ l.jsx(i, { children: e }) : null
12
14
  ] });
13
15
  export {
14
- f as default
16
+ u as default
15
17
  };
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "main": "./index.js",
3
- "types": "./index.d.ts",
3
+ "types": "./s-image-gallery.d.ts",
4
4
  "sideEffects": false
5
5
  }
@@ -1,10 +1,12 @@
1
1
  import { j as e } from "../jsx-runtime-C5mzlN2N.js";
2
2
  import { Stack as i, Tooltip as s } from "@mui/material";
3
- import { H as a } from "../HelpOutline-BpAsfhrs.js";
4
- const p = ({ label: l, content: r, children: o, hint: t, sx: n }) => /* @__PURE__ */ e.jsxs(i, { width: "100%", sx: n, children: [
3
+ import { c } from "../createSvgIcon-C9keHw6o.js";
4
+ const m = c(/* @__PURE__ */ e.jsx("path", {
5
+ d: "M11 18h2v-2h-2zm1-16C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2m0 18c-4.41 0-8-3.59-8-8s3.59-8 8-8 8 3.59 8 8-3.59 8-8 8m0-14c-2.21 0-4 1.79-4 4h2c0-1.1.9-2 2-2s2 .9 2 2c0 2-3 1.75-3 5h2c0-2.25 3-2.5 3-5 0-2.21-1.79-4-4-4"
6
+ }), "HelpOutline"), d = ({ label: l, content: n, children: o, hint: t, sx: r }) => /* @__PURE__ */ e.jsxs(i, { width: "100%", sx: r, children: [
5
7
  /* @__PURE__ */ e.jsxs(i, { direction: "row", gap: 1, alignItems: "center", children: [
6
8
  /* @__PURE__ */ e.jsx("div", { style: { fontSize: "1rem", fontWeight: 500, lineHeight: 1.57 }, children: l }),
7
- t ? /* @__PURE__ */ e.jsx(s, { title: t, placement: "top", children: /* @__PURE__ */ e.jsx(a, { fontSize: "small" }) }) : null
9
+ t ? /* @__PURE__ */ e.jsx(s, { title: t, placement: "top", children: /* @__PURE__ */ e.jsx(m, { fontSize: "small" }) }) : null
8
10
  ] }),
9
11
  /* @__PURE__ */ e.jsx(
10
12
  "div",
@@ -15,11 +17,11 @@ const p = ({ label: l, content: r, children: o, hint: t, sx: n }) => /* @__PURE_
15
17
  lineHeight: 1.57,
16
18
  color: "var(--mui-palette-text-secondary)"
17
19
  },
18
- children: r
20
+ children: n
19
21
  }
20
22
  ),
21
23
  o
22
24
  ] });
23
25
  export {
24
- p as default
26
+ d as default
25
27
  };
@@ -1,18 +1,18 @@
1
1
  import { j as l } from "../jsx-runtime-C5mzlN2N.js";
2
2
  import * as m from "react";
3
- import { c as V } from "../createSvgIcon-CFj_BoDp.js";
3
+ import { c as V } from "../createSvgIcon-C9keHw6o.js";
4
4
  import { Stack as P, OutlinedInput as B, selectClasses as E } from "@mui/material";
5
5
  import { usePopover as U } from "../hooks/use-popover.js";
6
6
  import F from "../s-chips/s-chips.js";
7
7
  import { gray as x } from "../theme/theme-primitives.js";
8
- import { L as O, M as z } from "../Menu-DeygsmYI.js";
9
- import { a as f, P as s } from "../createTheme-DkVAXJiq.js";
10
- import { c as M } from "../identifier-DCmLmBSP.js";
11
- import { u as D, s as G, c as H, r as _, m as A } from "../DefaultPropsProvider-DhE0_fCr.js";
12
- import { g as W, d as k, m as u } from "../menuItemClasses-D9_8SIPH.js";
8
+ import { L as O, M as z } from "../Menu-DV6b-3vA.js";
9
+ import { a as f, P as s } from "../createTheme-DwCHEbMU.js";
10
+ import { c as M } from "../identifier-C1jBtHV2.js";
11
+ import { u as D, s as G, c as H, r as _, m as A } from "../DefaultPropsProvider-Doz-fKTH.js";
12
+ import { g as W, d as k, m as u } from "../menuItemClasses-BuWSZEU7.js";
13
13
  import { u as q } from "../useEnhancedEffect-CJGo-L3B.js";
14
- import { u as J, B as K } from "../useSlot-D9cy_5Wu.js";
15
- import { g as R } from "../generateUtilityClasses-DStZbN71.js";
14
+ import { u as J, B as K } from "../useSlot-CUlGPdMt.js";
15
+ import { g as R } from "../generateUtilityClasses-BHlV34bM.js";
16
16
  const Q = V(/* @__PURE__ */ l.jsx("path", {
17
17
  d: "M12 5.83 15.17 9l1.41-1.41L12 3 7.41 7.59 8.83 9zm0 12.34L8.83 15l-1.41 1.41L12 21l4.59-4.59L15.17 15z"
18
18
  }), "UnfoldMore"), S = R("MuiListItemIcon", ["root", "alignItemsFlexStart"]), j = R("MuiListItemText", ["root", "multiline", "dense", "inset", "primary", "secondary"]), X = (e, o) => {
@@ -1,7 +1,5 @@
1
1
  import { SelectProps } from '@mui/material';
2
- type BaseOption = string | number | {
3
- [key: string]: unknown;
4
- };
2
+ type BaseOption = string | number | Record<string, any>;
5
3
  export type SSelectProps<T extends BaseOption = string> = Omit<SelectProps, 'error' | 'variant'> & {
6
4
  options?: T[];
7
5
  optionLabel?: T extends object ? keyof T : never;
@@ -0,0 +1,2 @@
1
+ export { default } from './s-text-field';
2
+ export type { SSmartTextFieldProps } from './s-text-field';
@@ -0,0 +1,4 @@
1
+ import { SSmartTextField as a } from "./s-text-field.js";
2
+ export {
3
+ a as default
4
+ };
@@ -0,0 +1,5 @@
1
+ {
2
+ "main": "./index.js",
3
+ "types": "./index.d.ts",
4
+ "sideEffects": false
5
+ }
@@ -0,0 +1,6 @@
1
+ import { AutosuggestionsConfigUserSpecified, CopilotTextarea } from '@copilotkit/react-textarea';
2
+ export type SSmartTextFieldProps = Omit<React.ComponentProps<typeof CopilotTextarea>, 'autosuggestionsConfig'> & {
3
+ autosuggestionsConfig?: AutosuggestionsConfigUserSpecified;
4
+ };
5
+ export declare function SSmartTextField({ autosuggestionsConfig, ...props }: SSmartTextFieldProps): import("react/jsx-runtime").JSX.Element;
6
+ export default SSmartTextField;