@embeddable.com/remarkable-ui 0.0.2 → 0.0.4

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 (38) hide show
  1. package/dist/{ChartCard-LJ6ahXjM.js → ChartCard-D9Zhasle.js} +18 -14
  2. package/dist/{ChartCard-LJ6ahXjM.js.map → ChartCard-D9Zhasle.js.map} +1 -1
  3. package/dist/DonutChartPro.js +18 -61
  4. package/dist/DonutChartPro.js.map +1 -1
  5. package/dist/DonutLabelChartPro.js +20 -79
  6. package/dist/DonutLabelChartPro.js.map +1 -1
  7. package/dist/{EditorCard-ESCNXU4p.js → EditorCard-Bejw3k3G.js} +16 -16
  8. package/dist/{EditorCard-ESCNXU4p.js.map → EditorCard-Bejw3k3G.js.map} +1 -1
  9. package/dist/MultiSelectFieldPro.js +30 -197
  10. package/dist/MultiSelectFieldPro.js.map +1 -1
  11. package/dist/PieChartPro.js +18 -61
  12. package/dist/PieChartPro.js.map +1 -1
  13. package/dist/SingleSelectFieldPro.js +30 -138
  14. package/dist/SingleSelectFieldPro.js.map +1 -1
  15. package/dist/{component.constants-DeKHmTqm.js → component.constants-DJJeuVZB.js} +44 -34
  16. package/dist/component.constants-DJJeuVZB.js.map +1 -0
  17. package/dist/embeddable-components.json +3 -3
  18. package/dist/embeddable-theme-2b917.js +2 -1
  19. package/dist/index-4zSmkd1-.js +55 -0
  20. package/dist/index-4zSmkd1-.js.map +1 -0
  21. package/dist/index-B8DbQejD.js +123 -0
  22. package/dist/index-B8DbQejD.js.map +1 -0
  23. package/dist/index-CMkIqbbJ.js +55 -0
  24. package/dist/index-CMkIqbbJ.js.map +1 -0
  25. package/dist/index-DNGz7eoP.js +183 -0
  26. package/dist/index-DNGz7eoP.js.map +1 -0
  27. package/dist/index-tRLBKX7V.js +71 -0
  28. package/dist/index-tRLBKX7V.js.map +1 -0
  29. package/dist/index.d.ts +2 -4
  30. package/dist/index.d.ts.map +1 -1
  31. package/dist/index.js +63 -0
  32. package/dist/index.js.map +1 -0
  33. package/dist/remarkable-pro/index.d.ts +17 -0
  34. package/dist/remarkable-pro/index.d.ts.map +1 -0
  35. package/dist/remarkable-pro/theme/i18n/i18n.d.ts.map +1 -1
  36. package/dist/remarkable-ui/index.d.ts.map +1 -1
  37. package/package.json +2 -1
  38. package/dist/component.constants-DeKHmTqm.js.map +0 -1
@@ -1,4 +1,4 @@
1
- import { h as Un, i as hn, k as us, n as Vr, j as Ve, o as hs, p as pa, I as ds, q as ms, S as xs, u as gs, v as ps, C as vs, w as _s, x as Ts, y as va, z as ws } from "./component.constants-DeKHmTqm.js";
1
+ import { J as Un, k as hn, O as us, j as Vr, H as Ve, M as hs, g as pa, Q as ds, D as ms, e as xs, S as gs, I as ps, C as vs, b as _s, a as Ts, c as va, N as ws } from "./component.constants-DJJeuVZB.js";
2
2
  import Es, { useRef as Ss } from "react";
3
3
  import { useTheme as li } from "@embeddable.com/react";
4
4
  function As(e) {
@@ -16888,30 +16888,30 @@ const qd = [["path", { d: "M12 12m-1 0a1 1 0 1 0 2 0a1 1 0 1 0 -2 0", key: "svg-
16888
16888
  }, rm = "_loading_7lgag_7", tm = {
16889
16889
  loading: rm
16890
16890
  }, K0 = () => /* @__PURE__ */ Ve.jsx(ds, { className: tm.loading }), nm = (e) => {
16891
- var s;
16891
+ var s, o;
16892
16892
  const t = li();
16893
16893
  hn(t);
16894
- const [r, n] = Es.useState(!1), a = (o) => {
16894
+ const [r, n] = Es.useState(!1), a = (l) => {
16895
16895
  n(!0), setTimeout(() => {
16896
- Promise.resolve(o()).finally(() => n(!1));
16896
+ Promise.resolve(l()).finally(() => n(!1));
16897
16897
  }, 100);
16898
- }, i = (o) => {
16899
- a(() => o({ ...e, theme: t }));
16898
+ }, i = (l) => {
16899
+ a(() => l({ ...e, theme: t }));
16900
16900
  };
16901
16901
  return /* @__PURE__ */ Ve.jsx(
16902
16902
  ms,
16903
16903
  {
16904
16904
  triggerComponent: r ? /* @__PURE__ */ Ve.jsx(K0, {}) : /* @__PURE__ */ Ve.jsx(ps, { icon: Zd }),
16905
- children: /* @__PURE__ */ Ve.jsx(xs, { autoFocus: !0, autoWidth: !0, children: (s = t.charts.menuOptions) == null ? void 0 : s.map((o, l) => {
16906
- const f = Vr.t(o.labelKey);
16905
+ children: /* @__PURE__ */ Ve.jsx(xs, { autoFocus: !0, autoWidth: !0, children: (o = (s = t.charts) == null ? void 0 : s.menuOptions) == null ? void 0 : o.map((l, f) => {
16906
+ const c = Vr.t(l.labelKey);
16907
16907
  return /* @__PURE__ */ Ve.jsx(
16908
16908
  gs,
16909
16909
  {
16910
- label: f,
16911
- onClick: () => i(o.onClick),
16912
- startIcon: o.iconSrc ? /* @__PURE__ */ Ve.jsx("img", { src: o.iconSrc, alt: `${f} icon` }) : void 0
16910
+ label: c,
16911
+ onClick: () => i(l.onClick),
16912
+ startIcon: l.iconSrc ? /* @__PURE__ */ Ve.jsx("img", { src: l.iconSrc, alt: `${c} icon` }) : void 0
16913
16913
  },
16914
- l
16914
+ f
16915
16915
  );
16916
16916
  }) })
16917
16917
  }
@@ -16964,7 +16964,11 @@ const qd = [["path", { d: "M12 12m-1 0a1 1 0 1 0 2 0a1 1 0 1 0 -2 0", key: "svg-
16964
16964
  };
16965
16965
  export {
16966
16966
  lm as C,
16967
+ Jd as S,
16967
16968
  fm as a,
16968
- om as g
16969
+ Xd as d,
16970
+ om as g,
16971
+ $0 as r,
16972
+ Gd as s
16969
16973
  };
16970
- //# sourceMappingURL=ChartCard-LJ6ahXjM.js.map
16974
+ //# sourceMappingURL=ChartCard-D9Zhasle.js.map