@solostylist/ui-kit 1.0.205 → 1.0.207

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 (31) hide show
  1. package/dist/{warning-D7iWhOZI.js → LocalizationProvider-DxrK-c0x.js} +48 -48
  2. package/dist/{Select-B5RvkbDO.js → Select-C5bKKis6.js} +890 -887
  3. package/dist/entries/carousel.js +1 -0
  4. package/dist/entries/chat.js +1 -0
  5. package/dist/entries/code.js +1 -0
  6. package/dist/entries/dates.js +8 -4
  7. package/dist/entries/dropzone.js +1 -0
  8. package/dist/entries/editor.js +1 -0
  9. package/dist/entries/gallery.js +7 -4
  10. package/dist/entries/i18n.js +2 -0
  11. package/dist/entries/motion.js +23 -14
  12. package/dist/entries/stripe.js +1 -0
  13. package/dist/main.d.ts +0 -11
  14. package/dist/main.js +51 -97
  15. package/dist/s-category-card/s-category-card.js +1 -1
  16. package/dist/s-date-picker/index.js +1 -1
  17. package/dist/s-date-picker/s-date-picker.js +1 -1
  18. package/dist/{s-date-picker-BYqxsjPU.js → s-date-picker-B0D3WMLP.js} +62 -62
  19. package/dist/s-datetime-picker/index.js +1 -1
  20. package/dist/s-datetime-picker/s-datetime-picker.js +1 -1
  21. package/dist/{s-datetime-picker-BtwGoxL3.js → s-datetime-picker-BTnwnsM2.js} +413 -413
  22. package/dist/s-i18n-provider/s-i18n-provider.js +9 -9
  23. package/dist/s-localization-provider/index.js +1 -1
  24. package/dist/s-localization-provider/s-localization-provider.js +1 -1
  25. package/dist/{s-localization-provider-CeOR72Ti.js → s-localization-provider-DJc4e39M.js} +3 -3
  26. package/dist/s-text-editor/index.js +1 -1
  27. package/dist/s-text-editor/s-text-editor-toolbar.js +1 -1
  28. package/dist/s-text-editor/s-text-editor.js +1 -1
  29. package/dist/{s-text-editor-toolbar-BDDttdIt.js → s-text-editor-toolbar-ob6vDHU4.js} +1 -1
  30. package/dist/{useMobilePicker-DdH0AzNe.js → useMobilePicker-5bdhOdnH.js} +8851 -8848
  31. package/package.json +58 -1
@@ -1,24 +1,24 @@
1
1
  import { logger as e } from "../utils/logger.js";
2
2
  import * as t from "react";
3
3
  import { jsx as n } from "react/jsx-runtime";
4
- import { use as r } from "i18next";
5
- import i from "i18next-http-backend";
6
- import { initReactI18next as a, useTranslation as o } from "react-i18next";
4
+ import { initReactI18next as r, useTranslation as i } from "react-i18next";
5
+ import { use as a } from "i18next";
6
+ import o from "i18next-http-backend";
7
7
  //#region lib/s-i18n-provider/s-i18n-provider.tsx
8
- r(i).use(a).init({
8
+ a(o).use(r).init({
9
9
  lng: "en",
10
10
  fallbackLng: "en",
11
11
  interpolation: { escapeValue: !1 }
12
12
  }).catch((t) => {
13
13
  e.error("Failed to initialize i18n", t);
14
14
  });
15
- var s = ({ children: r, language: i = "en" }) => {
16
- let { i18n: a } = o();
15
+ var s = ({ children: r, language: a = "en" }) => {
16
+ let { i18n: o } = i();
17
17
  return t.useEffect(() => {
18
- a.changeLanguage(i).catch(() => {
19
- e.error(`Failed to change language to ${i}`);
18
+ o.changeLanguage(a).catch(() => {
19
+ e.error(`Failed to change language to ${a}`);
20
20
  });
21
- }, [a, i]), /* @__PURE__ */ n(t.Fragment, { children: r });
21
+ }, [o, a]), /* @__PURE__ */ n(t.Fragment, { children: r });
22
22
  };
23
23
  s.displayName = "SI18nProvider";
24
24
  //#endregion
@@ -1,3 +1,3 @@
1
1
  import "../createTheme-DuS5_nJb.js";
2
- import { t as e } from "../s-localization-provider-CeOR72Ti.js";
2
+ import { t as e } from "../s-localization-provider-DJc4e39M.js";
3
3
  export { e as default };
@@ -1,3 +1,3 @@
1
1
  import "../createTheme-DuS5_nJb.js";
2
- import { t as e } from "../s-localization-provider-CeOR72Ti.js";
2
+ import { t as e } from "../s-localization-provider-DJc4e39M.js";
3
3
  export { e as SLocalizationProvider, e as default };
@@ -1,6 +1,6 @@
1
1
  import { n as e, t } from "./chunk-efA98nb6.js";
2
2
  import { n } from "./objectWithoutPropertiesLoose-BdL2_POW.js";
3
- import { n as r, t as i } from "./warning-D7iWhOZI.js";
3
+ import { r, t as i } from "./LocalizationProvider-DxrK-c0x.js";
4
4
  import "react";
5
5
  import { jsx as a } from "react/jsx-runtime";
6
6
  import o from "dayjs";
@@ -412,7 +412,7 @@ var _ = {
412
412
  };
413
413
  getLocaleFormats = () => {
414
414
  let e = o.Ls, t = e[this.locale || "en"];
415
- return t === void 0 && (process.env.NODE_ENV !== "production" && i([
415
+ return t === void 0 && (process.env.NODE_ENV !== "production" && r([
416
416
  "MUI X: Your locale has not been found.",
417
417
  "Either the locale key is not a supported one. Locales supported by dayjs are available here: https://github.com/iamkun/dayjs/tree/dev/src/locale.",
418
418
  "Or you forget to import the locale from 'dayjs/locale/{localeUsed}'",
@@ -528,7 +528,7 @@ var _ = {
528
528
  for (; this.isBefore(a, r);) i.push(a), a = this.addYears(a, 1);
529
529
  return i;
530
530
  };
531
- }, S = ({ children: e }) => /* @__PURE__ */ a(r, {
531
+ }, S = ({ children: e }) => /* @__PURE__ */ a(i, {
532
532
  dateAdapter: x,
533
533
  children: e
534
534
  });
@@ -1,4 +1,4 @@
1
1
  import "../createTheme-DuS5_nJb.js";
2
- import { t as e } from "../s-text-editor-toolbar-BDDttdIt.js";
2
+ import { t as e } from "../s-text-editor-toolbar-ob6vDHU4.js";
3
3
  import { STextEditor as t } from "./s-text-editor.js";
4
4
  export { e as STextEditorToolbar, t as default };
@@ -1,3 +1,3 @@
1
1
  import "../createTheme-DuS5_nJb.js";
2
- import { t as e } from "../s-text-editor-toolbar-BDDttdIt.js";
2
+ import { t as e } from "../s-text-editor-toolbar-ob6vDHU4.js";
3
3
  export { e as STextEditorToolbar };
@@ -1,6 +1,6 @@
1
1
  import "../createTheme-DuS5_nJb.js";
2
2
  import { t as e } from "../Box-CCxGQYgC.js";
3
- import { t } from "../s-text-editor-toolbar-BDDttdIt.js";
3
+ import { t } from "../s-text-editor-toolbar-ob6vDHU4.js";
4
4
  import * as n from "react";
5
5
  import { jsx as r, jsxs as i } from "react/jsx-runtime";
6
6
  import { Link as a } from "@tiptap/extension-link";
@@ -1,6 +1,6 @@
1
1
  import { n as e } from "./Menu-Dhh4e9H1.js";
2
2
  import { t } from "./Stack-D-aoKnaS.js";
3
- import { a as n, n as r, t as i } from "./Select-B5RvkbDO.js";
3
+ import { a as n, i as r, t as i } from "./Select-C5bKKis6.js";
4
4
  import { t as a } from "./createSvgIcon-KjKEsKNV.js";
5
5
  import { t as o } from "./s-text-field-ni42E-1x.js";
6
6
  import * as s from "react";