@solostylist/ui-kit 1.0.15 → 1.0.17

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 (77) hide show
  1. package/dist/{Box-BAmUWsQI.js → Box-CppaOdse.js} +4 -4
  2. package/dist/{Menu-B8rPlcSd.js → Menu-bcHHOGTe.js} +5 -5
  3. package/dist/{Stack-DDbGEkxd.js → Stack-Cvqi8X8g.js} +4 -4
  4. package/dist/{Typography-DiJzGJJd.js → Typography--_YDZuXf.js} +4 -4
  5. package/dist/{buttonBaseClasses-DuDP2bLR.js → buttonBaseClasses-Djzc2AiG.js} +2 -2
  6. package/dist/{createSvgIcon-Bpes8W5L.js → createSvgIcon-Ct7gnxYc.js} +20 -20
  7. package/dist/{createTheme-DDycScYN.js → createTheme-Hc7RjLJ8.js} +2 -2
  8. package/dist/{extendSxProp-De4gGzfV.js → extendSxProp-CRSYESt2.js} +1 -1
  9. package/dist/{generateUtilityClasses-Z7VQRhBn.js → generateUtilityClasses-BUjlppXi.js} +1 -1
  10. package/dist/{iconButtonClasses-8TuGhR-e.js → iconButtonClasses-p4XIdEHn.js} +2 -2
  11. package/dist/{index-CBHvlAxO.js → index-DKnaPifQ.js} +4 -4
  12. package/dist/main.d.ts +54 -33
  13. package/dist/main.js +23 -21
  14. package/dist/{memoTheme-DX35GGEJ.js → memoTheme-Bkr5VYLb.js} +3 -3
  15. package/dist/{menuItemClasses-DLFqc90k.js → menuItemClasses-Dzm1zEZ_.js} +2 -2
  16. package/dist/{outlinedInputClasses-CnRkAD7A.js → outlinedInputClasses-49K73-OT.js} +2 -2
  17. package/dist/s-autocomplete/index.d.ts +1 -0
  18. package/dist/s-button-link/index.d.ts +1 -0
  19. package/dist/s-button-link/s-button-link.d.ts +1 -1
  20. package/dist/s-checkbox/index.d.ts +1 -0
  21. package/dist/s-checkbox/s-checkbox.d.ts +1 -1
  22. package/dist/s-chips/index.d.ts +1 -0
  23. package/dist/s-chips/s-chips.d.ts +3 -2
  24. package/dist/s-chips/s-chips.js +29 -29
  25. package/dist/s-data-table/s-data-table.js +5 -5
  26. package/dist/s-dialog/index.d.ts +1 -0
  27. package/dist/s-dialog/s-dialog.d.ts +1 -1
  28. package/dist/s-dialog-confirm/s-dialog-confirm.js +1 -1
  29. package/dist/s-dialog-message/s-dialog-message.js +1 -1
  30. package/dist/s-empty/index.d.ts +1 -0
  31. package/dist/s-empty/s-empty.d.ts +1 -1
  32. package/dist/s-file-dropzone/index.d.ts +1 -1
  33. package/dist/s-file-dropzone/s-file-dropzone.d.ts +1 -1
  34. package/dist/s-file-dropzone/s-file-dropzone.js +3 -3
  35. package/dist/s-file-icon/index.d.ts +1 -0
  36. package/dist/s-file-icon/s-file-icon.js +1 -1
  37. package/dist/s-form/index.d.ts +1 -0
  38. package/dist/s-form/s-form.d.ts +1 -1
  39. package/dist/s-i18n-provider/index.d.ts +1 -0
  40. package/dist/s-icon-button/index.d.ts +1 -0
  41. package/dist/s-icon-button/s-icon-button.d.ts +1 -1
  42. package/dist/s-image-gallery/index.d.ts +1 -0
  43. package/dist/s-image-gallery/s-image-gallery.d.ts +1 -1
  44. package/dist/s-label/index.d.ts +1 -0
  45. package/dist/s-label/s-label.d.ts +1 -1
  46. package/dist/s-multi-select/s-multi-select.d.ts +3 -1
  47. package/dist/s-multi-select/s-multi-select.js +165 -165
  48. package/dist/s-no-ssr/index.d.ts +1 -0
  49. package/dist/s-pagination/index.d.ts +1 -0
  50. package/dist/s-pagination/s-pagination.d.ts +1 -1
  51. package/dist/s-select/index.d.ts +1 -0
  52. package/dist/s-select/s-select.d.ts +1 -1
  53. package/dist/s-skeleton/index.d.ts +1 -0
  54. package/dist/s-skeleton/s-skeleton.d.ts +1 -1
  55. package/dist/s-text-editor/index.d.ts +1 -0
  56. package/dist/s-text-editor/s-text-editor-toolbar.js +11 -11
  57. package/dist/s-text-editor/s-text-editor.js +1 -1
  58. package/dist/s-text-field/index.d.ts +1 -0
  59. package/dist/s-text-field/s-text-field.d.ts +1 -1
  60. package/dist/s-text-truncation/index.d.ts +1 -0
  61. package/dist/s-text-truncation/s-text-truncation.d.ts +1 -1
  62. package/dist/s-theme-provider/index.d.ts +1 -0
  63. package/dist/s-theme-provider/s-theme-provider.d.ts +1 -1
  64. package/dist/s-tip/index.d.ts +1 -0
  65. package/dist/s-tip/s-tip.js +3 -3
  66. package/dist/{selectClasses-CDFwg8w_.js → selectClasses-5MwxZ3Fd.js} +2 -2
  67. package/dist/{svgIconClasses-XJq1Ciua.js → svgIconClasses-CeSsTTHM.js} +2 -2
  68. package/dist/theme/customizations/data-display.js +6 -6
  69. package/dist/theme/customizations/feedback.js +1 -1
  70. package/dist/theme/customizations/inputs.js +6 -6
  71. package/dist/theme/customizations/navigation.js +6 -6
  72. package/dist/theme/customizations/surfaces.js +1 -1
  73. package/dist/theme/theme-primitives.js +1 -1
  74. package/dist/{typographyClasses-CyVhKkh8.js → typographyClasses-ykhCbiPA.js} +2 -2
  75. package/dist/{useSlot-B682hoPx.js → useSlot-DeteCI62.js} +4 -4
  76. package/dist/{useTheme-DPznNGA-.js → useTheme-Z78hHaly.js} +1 -1
  77. package/package.json +1 -1
@@ -1,10 +1,10 @@
1
- import { s as x, c as d, P as e } from "./createTheme-DDycScYN.js";
1
+ import { s as x, b as d, P as e } from "./createTheme-Hc7RjLJ8.js";
2
2
  import { s as h, c as T, T as y } from "./identifier-CHPjnqaz.js";
3
- import { g as B } from "./generateUtilityClasses-Z7VQRhBn.js";
3
+ import { g as B } from "./generateUtilityClasses-BUjlppXi.js";
4
4
  import * as N from "react";
5
5
  import { j as C } from "./jsx-runtime-C5mzlN2N.js";
6
- import { u as b } from "./useTheme-DPznNGA-.js";
7
- import { e as g } from "./extendSxProp-De4gGzfV.js";
6
+ import { u as b } from "./useTheme-Z78hHaly.js";
7
+ import { e as g } from "./extendSxProp-CRSYESt2.js";
8
8
  import { unstable_ClassNameGenerator as j } from "@mui/utils";
9
9
  function E(n = {}) {
10
10
  const {
@@ -1,12 +1,12 @@
1
1
  import * as p from "react";
2
2
  import be from "react";
3
- import { P as e, g as se, a as ze, p as We, l as st } from "./createTheme-DDycScYN.js";
3
+ import { P as e, g as se, a as ze, p as We, l as st } from "./createTheme-Hc7RjLJ8.js";
4
4
  import { T as wt, c as ee } from "./identifier-CHPjnqaz.js";
5
5
  import { j as L } from "./jsx-runtime-C5mzlN2N.js";
6
- import { d as St, u as ae, s as z, c as le, m as at, b as Ct } from "./memoTheme-DX35GGEJ.js";
7
- import { g as ce } from "./generateUtilityClasses-Z7VQRhBn.js";
8
- import { _ as Mt, b as kt, T as lt, c as Ne, d as Dt, u as we, a as G, e as It, m as jt, r as Ft, f as Lt, g as At, h as _t, i as $t } from "./useSlot-B682hoPx.js";
9
- import { u as Vt } from "./useTheme-DPznNGA-.js";
6
+ import { d as St, u as ae, s as z, c as le, m as at, r as Ct } from "./memoTheme-Bkr5VYLb.js";
7
+ import { g as ce } from "./generateUtilityClasses-BUjlppXi.js";
8
+ import { _ as Mt, b as kt, T as lt, c as Ne, d as Dt, u as we, a as G, e as It, m as jt, r as Ft, f as Lt, g as At, h as _t, i as $t } from "./useSlot-DeteCI62.js";
9
+ import { u as Vt } from "./useTheme-Z78hHaly.js";
10
10
  import * as Ut from "react-dom";
11
11
  import Ee from "react-dom";
12
12
  import { unstable_getScrollbarSize as qt, unstable_ownerWindow as ye, unstable_ownerDocument as ie, unstable_useForkRef as Ve, unstable_getReactElementRef as ct, elementAcceptingRef as Kt, exactProp as ut, unstable_useEnhancedEffect as Ge, unstable_setRef as Xe, HTMLElementType as Bt, unstable_useEventCallback as Ye, unstable_createChainedFunction as Je } from "@mui/utils";
@@ -1,10 +1,10 @@
1
- import { P as e, h as O, r as m, f as V, j as C, m as R, g as D, e as E, k as T } from "./createTheme-DDycScYN.js";
2
- import { a as N, r as F, c as B, s as M, u as w } from "./memoTheme-DX35GGEJ.js";
1
+ import { P as e, h as O, r as m, f as V, j as C, m as R, g as D, e as E, k as T } from "./createTheme-Hc7RjLJ8.js";
2
+ import { a as N, b as F, c as B, s as M, u as w } from "./memoTheme-Bkr5VYLb.js";
3
3
  import * as f from "react";
4
4
  import { c as G } from "./identifier-CHPjnqaz.js";
5
5
  import { j as U } from "./jsx-runtime-C5mzlN2N.js";
6
- import { e as $ } from "./extendSxProp-De4gGzfV.js";
7
- import { u as A } from "./useTheme-DPznNGA-.js";
6
+ import { e as $ } from "./extendSxProp-CRSYESt2.js";
7
+ import { u as A } from "./useTheme-Z78hHaly.js";
8
8
  const _ = N();
9
9
  function L(o) {
10
10
  const {
@@ -1,10 +1,10 @@
1
1
  import * as j from "react";
2
- import { b as c, P as r } from "./createTheme-DDycScYN.js";
2
+ import { c, P as r } from "./createTheme-Hc7RjLJ8.js";
3
3
  import { c as O } from "./identifier-CHPjnqaz.js";
4
- import { i as S } from "./index-CBHvlAxO.js";
5
- import { u as w, s as B, c as P, m as W } from "./memoTheme-DX35GGEJ.js";
4
+ import { i as S } from "./index-DKnaPifQ.js";
5
+ import { u as w, s as B, c as P, m as W } from "./memoTheme-Bkr5VYLb.js";
6
6
  import { c as C } from "./createSimplePaletteValueFilter-B7--0ryQ.js";
7
- import { g as R } from "./typographyClasses-CyVhKkh8.js";
7
+ import { g as R } from "./typographyClasses-ykhCbiPA.js";
8
8
  import { j as M } from "./jsx-runtime-C5mzlN2N.js";
9
9
  const N = {
10
10
  primary: !0,
@@ -1,5 +1,5 @@
1
- import { g as s } from "./generateUtilityClasses-Z7VQRhBn.js";
2
- import { g as e } from "./createTheme-DDycScYN.js";
1
+ import { g as s } from "./generateUtilityClasses-BUjlppXi.js";
2
+ import { g as e } from "./createTheme-Hc7RjLJ8.js";
3
3
  function o(t) {
4
4
  return e("MuiButtonBase", t);
5
5
  }
@@ -1,9 +1,9 @@
1
1
  import * as h from "react";
2
- import { j as b } from "./jsx-runtime-C5mzlN2N.js";
3
- import { b as x, P as o } from "./createTheme-DDycScYN.js";
4
- import { c as w } from "./identifier-CHPjnqaz.js";
5
- import { u as N, s as O, c as R, m as T } from "./memoTheme-DX35GGEJ.js";
6
- import { g as I } from "./svgIconClasses-XJq1Ciua.js";
2
+ import { j as w } from "./jsx-runtime-C5mzlN2N.js";
3
+ import { c as x, P as o } from "./createTheme-Hc7RjLJ8.js";
4
+ import { c as N } from "./identifier-CHPjnqaz.js";
5
+ import { u as b, s as O, c as R, m as T } from "./memoTheme-Bkr5VYLb.js";
6
+ import { g as I } from "./svgIconClasses-CeSsTTHM.js";
7
7
  const j = (e) => {
8
8
  const {
9
9
  color: r,
@@ -25,7 +25,7 @@ const j = (e) => {
25
25
  })(T(({
26
26
  theme: e
27
27
  }) => {
28
- var r, n, i, s, l, g, a, S, p, m, c, d, v, f;
28
+ var r, n, i, s, l, g, c, S, p, m, a, d, v, f;
29
29
  return {
30
30
  userSelect: "none",
31
31
  width: "1em",
@@ -65,7 +65,7 @@ const j = (e) => {
65
65
  fontSize: "medium"
66
66
  },
67
67
  style: {
68
- fontSize: ((S = (a = e.typography) == null ? void 0 : a.pxToRem) == null ? void 0 : S.call(a, 24)) || "1.5rem"
68
+ fontSize: ((S = (c = e.typography) == null ? void 0 : c.pxToRem) == null ? void 0 : S.call(c, 24)) || "1.5rem"
69
69
  }
70
70
  },
71
71
  {
@@ -93,7 +93,7 @@ const j = (e) => {
93
93
  color: "action"
94
94
  },
95
95
  style: {
96
- color: (d = (c = (e.vars ?? e).palette) == null ? void 0 : c.action) == null ? void 0 : d.active
96
+ color: (d = (a = (e.vars ?? e).palette) == null ? void 0 : a.action) == null ? void 0 : d.active
97
97
  }
98
98
  },
99
99
  {
@@ -115,24 +115,24 @@ const j = (e) => {
115
115
  ]
116
116
  };
117
117
  })), z = /* @__PURE__ */ h.forwardRef(function(r, n) {
118
- const i = N({
118
+ const i = b({
119
119
  props: r,
120
120
  name: "MuiSvgIcon"
121
121
  }), {
122
122
  children: s,
123
123
  className: l,
124
124
  color: g = "inherit",
125
- component: a = "svg",
125
+ component: c = "svg",
126
126
  fontSize: S = "medium",
127
127
  htmlColor: p,
128
128
  inheritViewBox: m = !1,
129
- titleAccess: c,
129
+ titleAccess: a,
130
130
  viewBox: d = "0 0 24 24",
131
131
  ...v
132
132
  } = i, f = /* @__PURE__ */ h.isValidElement(s) && s.type === "svg", t = {
133
133
  ...i,
134
134
  color: g,
135
- component: a,
135
+ component: c,
136
136
  fontSize: S,
137
137
  instanceFontSize: r.fontSize,
138
138
  inheritViewBox: m,
@@ -141,20 +141,20 @@ const j = (e) => {
141
141
  }, u = {};
142
142
  m || (u.viewBox = d);
143
143
  const y = j(t);
144
- return /* @__PURE__ */ b.jsxs(C, {
145
- as: a,
146
- className: w(y.root, l),
144
+ return /* @__PURE__ */ w.jsxs(C, {
145
+ as: c,
146
+ className: N(y.root, l),
147
147
  focusable: "false",
148
148
  color: p,
149
- "aria-hidden": c ? void 0 : !0,
150
- role: c ? "img" : void 0,
149
+ "aria-hidden": a ? void 0 : !0,
150
+ role: a ? "img" : void 0,
151
151
  ref: n,
152
152
  ...u,
153
153
  ...v,
154
154
  ...f && s.props,
155
155
  ownerState: t,
156
- children: [f ? s.props.children : s, c ? /* @__PURE__ */ b.jsx("title", {
157
- children: c
156
+ children: [f ? s.props.children : s, a ? /* @__PURE__ */ w.jsx("title", {
157
+ children: a
158
158
  }) : null]
159
159
  });
160
160
  });
@@ -233,7 +233,7 @@ process.env.NODE_ENV !== "production" && (z.propTypes = {
233
233
  z.muiName = "SvgIcon";
234
234
  function D(e, r) {
235
235
  function n(i, s) {
236
- return /* @__PURE__ */ b.jsx(z, {
236
+ return /* @__PURE__ */ w.jsx(z, {
237
237
  "data-testid": process.env.NODE_ENV !== "production" ? `${r}Icon` : void 0,
238
238
  ref: s,
239
239
  ...i,
@@ -2908,8 +2908,8 @@ function ao(e = {}, ...r) {
2908
2908
  export {
2909
2909
  Ce as P,
2910
2910
  bn as a,
2911
- qr as b,
2912
- ao as c,
2911
+ ao as b,
2912
+ qr as c,
2913
2913
  Ge as d,
2914
2914
  ln as e,
2915
2915
  cr as f,
@@ -1,4 +1,4 @@
1
- import { i as c, d as l } from "./createTheme-DDycScYN.js";
1
+ import { i as c, d as l } from "./createTheme-Hc7RjLJ8.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-DDycScYN.js";
1
+ import { g as i } from "./createTheme-Hc7RjLJ8.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-Z7VQRhBn.js";
2
- import { g as t } from "./createTheme-DDycScYN.js";
1
+ import { g as r } from "./generateUtilityClasses-BUjlppXi.js";
2
+ import { g as t } from "./createTheme-Hc7RjLJ8.js";
3
3
  function n(o) {
4
4
  return t("MuiIconButton", o);
5
5
  }
@@ -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-De4gGzfV.js";
4
- import { P as e } from "./createTheme-DDycScYN.js";
5
- import { d as a } from "./memoTheme-DX35GGEJ.js";
3
+ import { e as f } from "./extendSxProp-CRSYESt2.js";
4
+ import { P as e } from "./createTheme-Hc7RjLJ8.js";
5
+ import { d as a } from "./memoTheme-Bkr5VYLb.js";
6
6
  import { T as c } from "./identifier-CHPjnqaz.js";
7
- import { u as m } from "./useTheme-DPznNGA-.js";
7
+ import { u as m } from "./useTheme-Z78hHaly.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
@@ -1,35 +1,56 @@
1
- export { default as SAutocomplete } from './s-autocomplete';
2
- export { default as SButtonLink } from './s-button-link';
3
- export { default as STextEditor } from './s-text-editor';
4
- export { default as SCheckbox } from './s-checkbox';
5
- export { default as SChips } from './s-chips';
6
- export { default as SDataTable } from './s-data-table';
7
- export type { ColumnDef, SDataTableProps } from './s-data-table';
8
- export { default as SDialogConfirm, DialogConfirmProvider, useDialogConfirm } from './s-dialog-confirm';
9
- export type { DialogConfirmContextProps, DialogConfirmOpenOptions } from './s-dialog-confirm';
10
- export { default as SDialogMessage, DialogMessageProvider, useDialogMessage } from './s-dialog-message';
11
- export type { DialogMessageContextProps, DialogMessageOpenOptions } from './s-dialog-message';
12
- export { default as SError } from './s-error';
13
- export { default as SEmpty } from './s-empty';
14
- export { default as SDialog } from './s-dialog';
15
- export { default as SFileDropzone } from './s-file-dropzone';
16
- export type { CustomFile } from './s-file-dropzone';
17
- export { default as SFileIcon } from './s-file-icon';
18
- export { default as SI18nProvider } from './s-i18n-provider';
19
- export { default as SIconButton } from './s-icon-button';
20
- export { default as SLabel } from './s-label';
21
- export { default as SMultiSelect } from './s-multi-select';
22
- export type { SMultiSelectProps } from './s-multi-select';
23
- export { default as SNoSsr } from './s-no-ssr';
24
- export { default as STextField } from './s-text-field';
25
- export { default as SPagination } from './s-pagination';
26
- export { default as SSelect } from './s-select';
27
- export { default as SSkeleton } from './s-skeleton';
28
- export { default as STip } from './s-tip';
29
- export { default as STextTruncation } from './s-text-truncation';
30
- export { default as SSnackbarMessage, SnackbarMessageProvider, useSnackbarMessage } from './s-snackbar-message';
31
- export type { SnackbarMessageContextProps, SnackbarMessageOpenOptions } from './s-snackbar-message';
32
- export { default as SImageGallery } from './s-image-gallery';
33
- export { default as SThemeProvider } from './s-theme-provider';
1
+ export { default as SAutocomplete } from './s-autocomplete/index';
2
+ export type { SAutocompleteProps } from './s-autocomplete/index';
3
+ export { default as SButtonLink } from './s-button-link/index';
4
+ export type { SButtonLinkProps } from './s-button-link/index';
5
+ export { default as STextEditor } from './s-text-editor/index';
6
+ export type { STextEditorProps } from './s-text-editor/index';
7
+ export { default as SCheckbox } from './s-checkbox/index';
8
+ export type { SCheckboxProps } from './s-checkbox/index';
9
+ export { default as SChips } from './s-chips/index';
10
+ export type { SChipsProps } from './s-chips/index';
11
+ export { default as SDataTable } from './s-data-table/index';
12
+ export type { ColumnDef, SDataTableProps } from './s-data-table/index';
13
+ export { default as SDialogConfirm, DialogConfirmProvider, useDialogConfirm } from './s-dialog-confirm/index';
14
+ export type { DialogConfirmContextProps, DialogConfirmOpenOptions } from './s-dialog-confirm/index';
15
+ export { default as SDialogMessage, DialogMessageProvider, useDialogMessage } from './s-dialog-message/index';
16
+ export type { DialogMessageContextProps, DialogMessageOpenOptions } from './s-dialog-message/index';
17
+ export { default as SError } from './s-error/index';
18
+ export { default as SEmpty } from './s-empty/index';
19
+ export type { SEmptyProps } from './s-empty/index';
20
+ export { default as SDialog } from './s-dialog/index';
21
+ export type { SDialogProps } from './s-dialog/index';
22
+ export { default as SFileDropzone } from './s-file-dropzone/index';
23
+ export type { CustomFile, SFileDropzoneProps } from './s-file-dropzone/index';
24
+ export { default as SFileIcon } from './s-file-icon/index';
25
+ export type { SFileIconProps } from './s-file-icon/index';
26
+ export { default as SI18nProvider } from './s-i18n-provider/index';
27
+ export type { SI18nProviderProps } from './s-i18n-provider/index';
28
+ export { default as SIconButton } from './s-icon-button/index';
29
+ export type { SIconButtonProps } from './s-icon-button/index';
30
+ export { default as SLabel } from './s-label/index';
31
+ export type { SLabelProps } from './s-label/index';
32
+ export { default as SMultiSelect } from './s-multi-select/index';
33
+ export type { SMultiSelectProps } from './s-multi-select/index';
34
+ export { default as SNoSsr } from './s-no-ssr/index';
35
+ export type { SNoSsrProps } from './s-no-ssr/index';
36
+ export { default as STextField } from './s-text-field/index';
37
+ export type { STextFieldProps } from './s-text-field/index';
38
+ export { default as SPagination } from './s-pagination/index';
39
+ export type { SPaginationProps } from './s-pagination/index';
40
+ export { default as SSelect } from './s-select/index';
41
+ export type { SSelectProps } from './s-select/index';
42
+ export { default as SSkeleton } from './s-skeleton/index';
43
+ export type { SSkeletonProps } from './s-skeleton/index';
44
+ export { default as STip } from './s-tip/index';
45
+ export type { STipProps } from './s-tip/index';
46
+ export { default as STextTruncation } from './s-text-truncation/index';
47
+ export { default as SSnackbarMessage, SnackbarMessageProvider, useSnackbarMessage } from './s-snackbar-message/index';
48
+ export type { SnackbarMessageContextProps, SnackbarMessageOpenOptions } from './s-snackbar-message/index';
49
+ export { default as SImageGallery } from './s-image-gallery/index';
50
+ export type { SImageGalleryProps } from './s-image-gallery/index';
51
+ export { default as SForm } from './s-form/index';
52
+ export type { SFormProps } from './s-form/index';
53
+ export { default as SThemeProvider } from './s-theme-provider/index';
54
+ export type { SThemeProviderProps } from './s-theme-provider/index';
34
55
  export * from './hooks';
35
56
  export * from './utils';
package/dist/main.js CHANGED
@@ -9,8 +9,8 @@ import { DialogMessageProvider as D, default as P, useDialogMessage as T } from
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 I } from "./s-file-dropzone/s-file-dropzone.js";
13
- import { default as E } from "./s-file-icon/s-file-icon.js";
12
+ import { default as F } from "./s-file-dropzone/s-file-dropzone.js";
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";
16
16
  import { default as G } from "./s-label/s-label.js";
@@ -24,18 +24,19 @@ import { default as Y } from "./s-tip/s-tip.js";
24
24
  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
- import { default as le } from "./s-theme-provider/s-theme-provider.js";
28
- import { useDialog as me } from "./hooks/use-dialog.js";
29
- import { usePopover as ue } from "./hooks/use-popover.js";
30
- import { formatDatePosted as xe } from "./utils/dayjs.js";
31
- import { bytesToSize as ie } from "./utils/bytes-to-size.js";
32
- import { LogLevel as ne, Logger as ce, createLogger as De, logger as Pe } from "./utils/logger.js";
33
- import { default as be } from "dayjs";
27
+ import { default as le } from "./s-form/s-form.js";
28
+ import { default as me } from "./s-theme-provider/s-theme-provider.js";
29
+ 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";
34
35
  export {
35
36
  i as DialogConfirmProvider,
36
37
  D as DialogMessageProvider,
37
- ne as LogLevel,
38
- ce as Logger,
38
+ De as LogLevel,
39
+ Pe as Logger,
39
40
  r as SAutocomplete,
40
41
  t as SButtonLink,
41
42
  m as SCheckbox,
@@ -46,8 +47,9 @@ export {
46
47
  P as SDialogMessage,
47
48
  k as SEmpty,
48
49
  v as SError,
49
- I as SFileDropzone,
50
- E as SFileIcon,
50
+ F as SFileDropzone,
51
+ h as SFileIcon,
52
+ le as SForm,
51
53
  z as SI18nProvider,
52
54
  j as SIconButton,
53
55
  te as SImageGallery,
@@ -61,17 +63,17 @@ export {
61
63
  l as STextEditor,
62
64
  K as STextField,
63
65
  _ as STextTruncation,
64
- le as SThemeProvider,
66
+ me as SThemeProvider,
65
67
  Y as STip,
66
68
  oe as SnackbarMessageProvider,
67
- ie as bytesToSize,
68
- De as createLogger,
69
- be as dayjs,
70
- xe as formatDatePosted,
71
- Pe as logger,
72
- me as useDialog,
69
+ ne as bytesToSize,
70
+ Te as createLogger,
71
+ Me as dayjs,
72
+ ie as formatDatePosted,
73
+ be as logger,
74
+ ue as useDialog,
73
75
  n as useDialogConfirm,
74
76
  T as useDialogMessage,
75
- ue as usePopover,
77
+ xe as usePopover,
76
78
  re as useSnackbarMessage
77
79
  };
@@ -1,4 +1,4 @@
1
- import { l as V, e as Q, s as D, i as U, b as X, P as O, c as Y } from "./createTheme-DDycScYN.js";
1
+ import { l as V, e as Q, s as D, i as U, c as X, P as O, b as Y } from "./createTheme-Hc7RjLJ8.js";
2
2
  import { i as j, a as Z, s as ee, T as te } from "./identifier-CHPjnqaz.js";
3
3
  import * as I from "react";
4
4
  import "./jsx-runtime-C5mzlN2N.js";
@@ -280,12 +280,12 @@ function Oe(e) {
280
280
  const xe = he;
281
281
  export {
282
282
  ie as a,
283
- Se as b,
283
+ g as b,
284
284
  Ne as c,
285
285
  ye as d,
286
286
  pe as e,
287
287
  xe as m,
288
- g as r,
288
+ Se as r,
289
289
  Te as s,
290
290
  Oe as u
291
291
  };
@@ -1,5 +1,5 @@
1
- import { g as e } from "./generateUtilityClasses-Z7VQRhBn.js";
2
- import { g as i } from "./createTheme-DDycScYN.js";
1
+ import { g as e } from "./generateUtilityClasses-BUjlppXi.js";
2
+ import { g as i } from "./createTheme-Hc7RjLJ8.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-Z7VQRhBn.js";
2
- import { g as e } from "./createTheme-DDycScYN.js";
1
+ import { g as n } from "./generateUtilityClasses-BUjlppXi.js";
2
+ import { g as e } from "./createTheme-Hc7RjLJ8.js";
3
3
  function l(t) {
4
4
  return e("MuiInputBase", t);
5
5
  }
@@ -1 +1,2 @@
1
1
  export { default } from './s-autocomplete';
2
+ export type { SAutocompleteProps } from './s-autocomplete';
@@ -1 +1,2 @@
1
1
  export { default } from './s-button-link';
2
+ export type { SButtonLinkProps } from './s-button-link';
@@ -1,4 +1,4 @@
1
- interface SButtonLinkProps {
1
+ export interface SButtonLinkProps {
2
2
  beforeText?: string | React.ReactNode;
3
3
  afterText?: string | React.ReactNode;
4
4
  mainText?: string | React.ReactNode;
@@ -1 +1,2 @@
1
1
  export { default } from './s-checkbox';
2
+ export type { SCheckboxProps } from './s-checkbox';
@@ -1,6 +1,6 @@
1
1
  import { default as React } from 'react';
2
2
  import { CheckboxProps } from '@mui/material';
3
- interface SCheckboxProps extends Omit<CheckboxProps, 'content'> {
3
+ export interface SCheckboxProps extends Omit<CheckboxProps, 'content'> {
4
4
  content?: string | React.ReactNode;
5
5
  }
6
6
  declare const SCheckbox: React.ForwardRefExoticComponent<Omit<SCheckboxProps, "ref"> & React.RefAttributes<HTMLButtonElement>>;
@@ -1 +1,2 @@
1
1
  export { default } from './s-chips';
2
+ export type { SChipsProps } from './s-chips';
@@ -1,7 +1,8 @@
1
- interface SChipsProps {
1
+ export interface SChipsProps {
2
2
  chips: string[];
3
3
  overflow?: boolean;
4
4
  onClick?: (tag: string) => void;
5
+ overflowText?: string;
5
6
  }
6
- declare const SChips: ({ chips, overflow, onClick }: SChipsProps) => import("react/jsx-runtime").JSX.Element;
7
+ declare const SChips: ({ chips, overflow, onClick, overflowText }: SChipsProps) => import("react/jsx-runtime").JSX.Element;
7
8
  export default SChips;
@@ -1,40 +1,40 @@
1
- import { j as n } from "../jsx-runtime-C5mzlN2N.js";
2
- import { useRef as g, useState as m, useEffect as S } from "react";
3
- import { Box as r, Chip as h, Tooltip as E } from "@mui/material";
4
- const L = ({ chips: s, overflow: l = !0, onClick: o }) => {
5
- const c = g(null), [w, b] = m([]), [C, y] = m([]), [u, j] = m(0), a = () => {
6
- var x;
7
- const t = ((x = c.current) == null ? void 0 : x.offsetWidth) || 0;
1
+ import { j as s } from "../jsx-runtime-C5mzlN2N.js";
2
+ import { useRef as S, useState as m, useEffect as E } from "react";
3
+ import { Box as o, Chip as h, Tooltip as R } from "@mui/material";
4
+ const P = ({ chips: n, overflow: l = !0, onClick: r, overflowText: c = "keywords" }) => {
5
+ const u = S(null), [w, C] = m([]), [j, y] = m([]), [x, W] = m(0), a = () => {
6
+ var f;
7
+ const t = ((f = u.current) == null ? void 0 : f.offsetWidth) || 0;
8
8
  let e = 0, i = 0;
9
- for (let p = 0; p < s.length; p++) {
10
- const f = d(s[p]);
11
- if (e + f <= t)
12
- e += f, i++;
9
+ for (let p = 0; p < n.length; p++) {
10
+ const b = d(n[p]);
11
+ if (e + b <= t)
12
+ e += b, i++;
13
13
  else
14
14
  break;
15
15
  }
16
- const v = d(`+${s.length - i} keywords`);
17
- for (; e + v > t && i > 0; )
18
- i--, e -= d(s[i]);
19
- b(s.slice(0, i)), y(s.slice(i)), j(s.length - i);
16
+ const g = d(`+${n.length - i} ${c}`);
17
+ for (; e + g > t && i > 0; )
18
+ i--, e -= d(n[i]);
19
+ C(n.slice(0, i)), y(n.slice(i)), W(n.length - i);
20
20
  }, d = (t) => {
21
21
  const e = document.createElement("span");
22
22
  e.style.visibility = "hidden", e.style.position = "absolute", e.style.whiteSpace = "nowrap", e.textContent = t.trim(), document.body.appendChild(e);
23
23
  const i = e.offsetWidth;
24
24
  return document.body.removeChild(e), i + 16;
25
- }, W = l ? { textOverflow: "ellipsis", whiteSpace: "nowrap", overflow: "hidden" } : {};
26
- return S(() => (a(), window.addEventListener("resize", a), () => {
25
+ }, v = l ? { textOverflow: "ellipsis", whiteSpace: "nowrap", overflow: "hidden" } : {};
26
+ return E(() => (a(), window.addEventListener("resize", a), () => {
27
27
  window.removeEventListener("resize", a);
28
- }), [s]), /* @__PURE__ */ n.jsxs(r, { ref: c, display: "flex", maxWidth: "100%", ...W, children: [
29
- (l ? w : s).map((t) => /* @__PURE__ */ n.jsx(
30
- r,
28
+ }), [n]), /* @__PURE__ */ s.jsxs(o, { ref: u, display: "flex", maxWidth: "100%", ...v, children: [
29
+ (l ? w : n).map((t) => /* @__PURE__ */ s.jsx(
30
+ o,
31
31
  {
32
32
  component: "span",
33
33
  textTransform: "lowercase",
34
34
  onClick: () => {
35
- o == null || o(t);
35
+ r == null || r(t);
36
36
  },
37
- children: /* @__PURE__ */ n.jsx(
37
+ children: /* @__PURE__ */ s.jsx(
38
38
  h,
39
39
  {
40
40
  label: t.trim(),
@@ -42,24 +42,24 @@ const L = ({ chips: s, overflow: l = !0, onClick: o }) => {
42
42
  mr: 1,
43
43
  mb: 1,
44
44
  userSelect: "none",
45
- cursor: o ? "pointer" : "default"
45
+ cursor: r ? "pointer" : "default"
46
46
  }
47
47
  }
48
48
  )
49
49
  },
50
50
  t
51
51
  )),
52
- l && u > 0 && /* @__PURE__ */ n.jsx(
53
- E,
52
+ l && x > 0 && /* @__PURE__ */ s.jsx(
53
+ R,
54
54
  {
55
55
  slotProps: {
56
56
  tooltip: { style: { padding: "0.5rem" } }
57
57
  },
58
- title: /* @__PURE__ */ n.jsx(r, { display: "flex", gap: 1, maxWidth: "240px", flexWrap: "wrap", children: C.map((t) => /* @__PURE__ */ n.jsx(h, { label: t.trim() }, t)) }),
59
- children: /* @__PURE__ */ n.jsx(r, { component: "span", textTransform: "lowercase", children: /* @__PURE__ */ n.jsx(
58
+ title: /* @__PURE__ */ s.jsx(o, { display: "flex", gap: 1, maxWidth: "240px", flexWrap: "wrap", children: j.map((t) => /* @__PURE__ */ s.jsx(h, { label: t.trim() }, t)) }),
59
+ children: /* @__PURE__ */ s.jsx(o, { component: "span", textTransform: "lowercase", children: /* @__PURE__ */ s.jsx(
60
60
  h,
61
61
  {
62
- label: `+${u} keywords`,
62
+ label: `+${x} ${c}`,
63
63
  variant: "outlined",
64
64
  sx: { mr: 1, mb: 1, userSelect: "none", cursor: "pointer" }
65
65
  }
@@ -69,5 +69,5 @@ const L = ({ chips: s, overflow: l = !0, onClick: o }) => {
69
69
  ] });
70
70
  };
71
71
  export {
72
- L as default
72
+ P as default
73
73
  };
@@ -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, b as j, P as e, a as M, n as Te, o as ke } from "../createTheme-DDycScYN.js";
4
+ import { g as N, c as j, P as e, a as M, n as Te, o as ke } from "../createTheme-Hc7RjLJ8.js";
5
5
  import { c as I } from "../identifier-CHPjnqaz.js";
6
- import { s as S, c as $, b as se, u as E, m as W } from "../memoTheme-DX35GGEJ.js";
7
- import { g as B } from "../generateUtilityClasses-Z7VQRhBn.js";
6
+ import { s as S, c as $, r as se, u as E, m as W } from "../memoTheme-Bkr5VYLb.js";
7
+ import { g as B } from "../generateUtilityClasses-BUjlppXi.js";
8
8
  import { u as je, a as Re } from "../useControlled-Bvu9pDu8.js";
9
- import { a as A, B as Oe, r as we, m as Pe } from "../useSlot-B682hoPx.js";
10
- import { c as J } from "../createSvgIcon-Bpes8W5L.js";
9
+ import { a as A, B as Oe, r as we, m as Pe } from "../useSlot-DeteCI62.js";
10
+ import { c as J } from "../createSvgIcon-Ct7gnxYc.js";
11
11
  import { c as Y } from "../createSimplePaletteValueFilter-B7--0ryQ.js";
12
12
  function Se(o) {
13
13
  return N("PrivateSwitchBase", o);
@@ -1 +1,2 @@
1
1
  export { default } from './s-dialog';
2
+ export type { SDialogProps } from './s-dialog';
@@ -1,6 +1,6 @@
1
1
  import { Breakpoint } from '@mui/material';
2
2
  import * as React from 'react';
3
- interface SDialogProps {
3
+ export interface SDialogProps {
4
4
  title?: string | React.ReactNode;
5
5
  content?: string | React.ReactNode;
6
6
  actions?: React.ReactNode;