@janbox/storefront-builder 2.0.1 → 2.0.2

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 (36) hide show
  1. package/README.md +2 -2
  2. package/dist/anchor-target-CtXzdkBu.js +2918 -0
  3. package/dist/{color-picker-popover-B3AVFuei.js → color-picker-popover-XeaVfYS8.js} +104 -80
  4. package/dist/countdown-timer.node-Bh5fTSJ8.js +913 -0
  5. package/dist/date-picker-D9K6HWl-.js +157 -0
  6. package/dist/{dialog-header-DPLOS7TT.js → dialog-header-Bh3Dkw2q.js} +2440 -2122
  7. package/dist/dropzone-CF4CWXth.js +546 -0
  8. package/dist/editor/toolbars.js +171 -161
  9. package/dist/editor/ui/button-group/button-group.d.ts +1 -1
  10. package/dist/editor/ui/dialog/dialog-body/dialog-body.d.ts +1 -1
  11. package/dist/editor/ui/form-label/form-label.d.ts +1 -1
  12. package/dist/editor/ui/input/input.d.ts +1 -2
  13. package/dist/editor/ui/loading-overlay/loading-overlay.d.ts +1 -1
  14. package/dist/editor/ui/popover/popover-close.d.ts +1 -1
  15. package/dist/editor/ui/tabs/tab-content.d.ts +1 -1
  16. package/dist/editor/ui/tabs/tab-list.d.ts +2 -4
  17. package/dist/editor/ui/tabs/tab-panel.d.ts +1 -1
  18. package/dist/editor/ui/tabs/tab.d.ts +2 -5
  19. package/dist/editor/ui/tabs/tabs.d.ts +1 -1
  20. package/dist/editor/ui.js +82 -72
  21. package/dist/editor.js +822 -586
  22. package/dist/index-800HnUOi.js +4 -0
  23. package/dist/{index-CwrFnubn.js → index-CXyljfMv.js} +1729 -1584
  24. package/dist/index.js +287 -247
  25. package/dist/style.css +1 -1
  26. package/dist/templates.js +10 -12
  27. package/dist/theme/index.d.ts +293 -0
  28. package/dist/tooltip-CXOlTkGg.js +75 -0
  29. package/dist/utils/common.d.ts +0 -2
  30. package/package.json +1 -2
  31. package/dist/anchor-target-BlOvysAr.js +0 -2329
  32. package/dist/countdown-timer.node-OmDiT-pz.js +0 -825
  33. package/dist/date-picker-B4Rju7gG.js +0 -115
  34. package/dist/dropzone-Dbfed3jK.js +0 -490
  35. package/dist/index-BbiQ0n_-.js +0 -4
  36. package/dist/tooltip-KbIHELP2.js +0 -65
@@ -1,13 +1,14 @@
1
- import { T as f, C as k, a as F, b as P, c as A, d as I, F as B, e as O } from "../anchor-target-BlOvysAr.js";
2
- import { A as Fe, f as Pe, B as Ae, g as Ie, h as Be, i as Oe, j as Ve, k as Ge, D as Me, l as Ue, m as He, G as Re, H as De, J as je, n as qe, M as Je, N as Ee, o as Le, O as $e, p as Ke, P as Qe, R as Xe, S as Ye, q as Ze, r as _e, s as et, W as tt, t as ot } from "../anchor-target-BlOvysAr.js";
3
- import { jsxs as h, jsx as e } from "@emotion/react/jsx-runtime";
4
- import { isNumber as T, isNil as b, isString as N, isEqual as V } from "lodash-es";
5
- import { useRef as G, useState as M } from "react";
1
+ import { T as f, C as I, a as A, b as F, c as P, d as B, F as O, e as V } from "../anchor-target-CtXzdkBu.js";
2
+ import { A as ze, f as ke, B as Ie, g as Ae, h as Fe, i as Pe, j as Be, k as Oe, D as Ve, l as Ge, m as Me, G as De, H as Re, J as Ue, n as He, M as je, N as qe, o as Je, O as Ee, p as Le, P as $e, R as Ke, S as Qe, q as Xe, r as Ye, s as Ze, W as _e, t as eo } from "../anchor-target-CtXzdkBu.js";
3
+ import { jsxs as p, jsx as e } from "@emotion/react/jsx-runtime";
4
+ import { isNumber as C, isNil as m, isString as S, isEqual as G } from "lodash-es";
5
+ import { useRef as M, useState as D } from "react";
6
6
  import "@janbox/storefront-ui/hooks";
7
7
  import "@janbox/storefront-ui/theme";
8
8
  import "@janbox/storefront-ui/utils";
9
- import { y as U, t as S, l as g, W as p, P as C, M as W, q as H, s as R, c as D, r as j, C as q } from "../dialog-header-DPLOS7TT.js";
10
- import { c as y, g as J, f as E } from "../dropzone-Dbfed3jK.js";
9
+ import { A as R, v as w, k as g, W as b, P as N, M as W, q as U, s as H, t as T, r as j, C as q } from "../dialog-header-Bh3Dkw2q.js";
10
+ import "@emotion/react";
11
+ import { c as z, f as J, e as E } from "../dropzone-CF4CWXth.js";
11
12
  import "@floating-ui/react";
12
13
  import "react-use";
13
14
  import "react-colorful";
@@ -16,7 +17,7 @@ import "@tanstack/react-virtual";
16
17
  import "react-dropzone";
17
18
  import "react-datepicker/dist/react-datepicker.css";
18
19
  import "react-datepicker";
19
- import "../color-picker-popover-B3AVFuei.js";
20
+ import "../color-picker-popover-XeaVfYS8.js";
20
21
  import "@tiptap/extension-text-style";
21
22
  import "@tiptap/react";
22
23
  import "@tiptap/react/menus";
@@ -24,10 +25,7 @@ import "@tiptap/starter-kit";
24
25
  import "react-frame-component";
25
26
  import "@craftjs/core";
26
27
  import "flat";
27
- import "@emotion/react";
28
- import "clsx";
29
- import "tailwind-merge";
30
- var u = /* @__PURE__ */ ((t) => (t[t.Pixels = 0] = "Pixels", t[t.Unitless = 1] = "Unitless", t))(u || {});
28
+ var u = /* @__PURE__ */ ((o) => (o[o.Pixels = 0] = "Pixels", o[o.Unitless = 1] = "Unitless", o))(u || {});
31
29
  const L = [
32
30
  {
33
31
  label: "Pixels",
@@ -39,32 +37,32 @@ const L = [
39
37
  value: 1
40
38
  /* Unitless */
41
39
  }
42
- ], Ne = ({ name: t, responsive: m = !0, value: o, onChange: c }) => {
43
- const r = T(o?.lineHeight) ? u.Unitless : u.Pixels, l = r === u.Unitless ? 0.1 : 1, a = U(o?.lineHeight, "float"), i = ({ unit: s, value: d }) => {
44
- if (b(d)) {
40
+ ], Te = ({ name: o, responsive: d = !0, value: t, onChange: c }) => {
41
+ const r = C(t?.lineHeight) ? u.Unitless : u.Pixels, l = r === u.Unitless ? 0.1 : 1, n = R(t?.lineHeight, "float"), a = ({ unit: s, value: h }) => {
42
+ if (m(h)) {
45
43
  c?.({
46
- lineHeight: s === u.Unitless ? 1 : d
44
+ lineHeight: s === u.Unitless ? 1 : h
47
45
  });
48
46
  return;
49
47
  }
50
48
  c?.({
51
- lineHeight: s === u.Unitless ? Number(d.toFixed(1)) : `${d}px`
49
+ lineHeight: s === u.Unitless ? Number(h.toFixed(1)) : `${h}px`
52
50
  });
53
- }, n = (s) => {
54
- i({ unit: Number(s.target.value) });
51
+ }, i = (s) => {
52
+ a({ unit: Number(s.target.value) });
55
53
  }, x = (s) => {
56
- const d = isNaN(s.target.valueAsNumber) ? void 0 : s.target.valueAsNumber;
57
- i({ unit: r, value: d });
58
- }, w = (s) => {
59
- s.stopPropagation(), !b(a) && i({ unit: r, value: Math.max(a + l, 0) });
60
- }, z = (s) => {
61
- s.stopPropagation(), !b(a) && i({ unit: r, value: Math.max(a - l, 0) });
54
+ const h = isNaN(s.target.valueAsNumber) ? void 0 : s.target.valueAsNumber;
55
+ a({ unit: r, value: h });
56
+ }, v = (s) => {
57
+ s.stopPropagation(), !m(n) && a({ unit: r, value: Math.max(n + l, 0) });
58
+ }, k = (s) => {
59
+ s.stopPropagation(), !m(n) && a({ unit: r, value: Math.max(n - l, 0) });
62
60
  };
63
- return /* @__PURE__ */ h("div", { className: "tw:flex tw:flex-col tw:gap-2", children: [
64
- /* @__PURE__ */ e(f, { responsive: m, name: t ?? "Line height", children: /* @__PURE__ */ e("div", { className: "tw:flex tw:items-center tw:gap-1", children: L.map((s) => /* @__PURE__ */ e(
65
- S,
61
+ return /* @__PURE__ */ p("div", { css: { display: "flex", flexDirection: "column", gap: 8 }, children: [
62
+ /* @__PURE__ */ e(f, { responsive: d, name: o ?? "Line height", children: /* @__PURE__ */ e("div", { css: { display: "flex", alignItems: "center", gap: 4 }, children: L.map((s) => /* @__PURE__ */ e(
63
+ w,
66
64
  {
67
- onChange: n,
65
+ onChange: i,
68
66
  checked: s.value === r,
69
67
  value: s.value,
70
68
  name: "toolbar-line-height",
@@ -72,58 +70,56 @@ const L = [
72
70
  },
73
71
  s.value
74
72
  )) }) }),
75
- /* @__PURE__ */ e("div", { className: "tw:flex tw:justify-end", children: /* @__PURE__ */ e(
76
- y,
73
+ /* @__PURE__ */ e("div", { css: { display: "flex", justifyContent: "flex-end" }, children: /* @__PURE__ */ e("div", { css: { width: "50%" }, children: /* @__PURE__ */ e(
74
+ z,
77
75
  {
78
76
  fractionDigits: 1,
79
77
  type: r === u.Unitless ? "decimal" : "integer",
80
- value: a ?? "",
78
+ value: n ?? "",
81
79
  onChange: x,
82
- prefix: /* @__PURE__ */ e(g, { disabled: T(a) && a <= 0, onClick: z, children: /* @__PURE__ */ e(p, { source: W }) }),
83
- suffix: /* @__PURE__ */ e(g, { onClick: w, children: /* @__PURE__ */ e(p, { source: C }) }),
80
+ prefix: /* @__PURE__ */ e(g, { disabled: C(n) && n <= 0, onClick: k, children: /* @__PURE__ */ e(b, { source: W }) }),
81
+ suffix: /* @__PURE__ */ e(g, { onClick: v, children: /* @__PURE__ */ e(b, { source: N }) }),
84
82
  mode: "onBlur",
85
- className: "tw:text-center",
86
- placeholder: "normal",
87
- classes: { container: "tw:w-1/2" }
83
+ css: { textAlign: "center" },
84
+ placeholder: "normal"
88
85
  }
89
- ) })
86
+ ) }) })
90
87
  ] });
91
- }, ve = ({ name: t, responsive: m = !0, value: o, onChange: c }) => {
92
- const r = (i) => {
93
- const n = isNaN(i.target.valueAsNumber) ? void 0 : i.target.valueAsNumber;
88
+ }, ve = ({ name: o, responsive: d = !0, value: t, onChange: c }) => {
89
+ const r = (a) => {
90
+ const i = isNaN(a.target.valueAsNumber) ? void 0 : a.target.valueAsNumber;
94
91
  c?.({
95
- ...o,
96
- fontSize: n
92
+ ...t,
93
+ fontSize: i
97
94
  });
98
- }, l = (i) => {
99
- i.stopPropagation();
100
- const n = N(o?.fontSize) ? void 0 : o?.fontSize;
95
+ }, l = (a) => {
96
+ a.stopPropagation();
97
+ const i = S(t?.fontSize) ? void 0 : t?.fontSize;
101
98
  c?.({
102
- ...o,
103
- fontSize: b(n) ? 16 : n + 1
99
+ ...t,
100
+ fontSize: m(i) ? 16 : i + 1
104
101
  });
105
- }, a = (i) => {
106
- i.stopPropagation();
107
- const n = N(o?.fontSize) ? void 0 : o?.fontSize;
102
+ }, n = (a) => {
103
+ a.stopPropagation();
104
+ const i = S(t?.fontSize) ? void 0 : t?.fontSize;
108
105
  c?.({
109
- ...o,
110
- fontSize: b(n) ? 16 : Math.max(n - 1, 0)
106
+ ...t,
107
+ fontSize: m(i) ? 16 : Math.max(i - 1, 0)
111
108
  });
112
109
  };
113
- return /* @__PURE__ */ e(f, { responsive: m, name: t ?? "Font size", children: /* @__PURE__ */ e(
114
- y,
110
+ return /* @__PURE__ */ e(f, { responsive: d, name: o ?? "Font size", children: /* @__PURE__ */ e("div", { css: { width: "50%" }, children: /* @__PURE__ */ e(
111
+ z,
115
112
  {
116
113
  onCanPlay: r,
117
114
  mode: "onBlur",
118
- className: "tw:text-center",
115
+ css: { textAlign: "center" },
119
116
  placeholder: "inherit",
120
- classes: { container: "tw:w-1/2" },
121
- value: o?.fontSize ?? "",
122
- prefix: /* @__PURE__ */ e(g, { disabled: T(o?.fontSize) && o.fontSize <= 0, onClick: a, children: /* @__PURE__ */ e(p, { source: W }) }),
123
- suffix: /* @__PURE__ */ e(g, { onClick: l, children: /* @__PURE__ */ e(p, { source: C }) })
117
+ value: t?.fontSize ?? "",
118
+ prefix: /* @__PURE__ */ e(g, { disabled: C(t?.fontSize) && t.fontSize <= 0, onClick: n, children: /* @__PURE__ */ e(b, { source: W }) }),
119
+ suffix: /* @__PURE__ */ e(g, { onClick: l, children: /* @__PURE__ */ e(b, { source: N }) })
124
120
  }
125
- ) });
126
- }, v = [
121
+ ) }) });
122
+ }, y = [
127
123
  {
128
124
  label: "Block",
129
125
  value: "block"
@@ -152,32 +148,34 @@ const L = [
152
148
  label: "Inline Grid",
153
149
  value: "inline-grid"
154
150
  }
155
- ], Se = ({
156
- name: t,
157
- responsive: m = !1,
158
- availableDisplays: o,
151
+ ], Ce = ({
152
+ name: o,
153
+ responsive: d = !1,
154
+ availableDisplays: t,
159
155
  onChange: c,
160
156
  value: r
161
157
  }) => {
162
- const l = b(o) ? v : v.filter((i) => o.includes(i.value)), a = (i) => {
163
- c?.({ display: i });
158
+ const l = m(t) ? y : y.filter((a) => t.includes(a.value)), n = (a) => {
159
+ c?.({ display: a });
164
160
  };
165
- return /* @__PURE__ */ e(f, { name: t ?? "Display", responsive: m, children: /* @__PURE__ */ e(
161
+ return /* @__PURE__ */ e(f, { name: o ?? "Display", responsive: d, children: /* @__PURE__ */ e(
166
162
  J,
167
163
  {
168
- className: "tw:w-1/2",
164
+ css: {
165
+ width: "50%"
166
+ },
169
167
  placement: "bottom-end",
170
168
  placeholder: "default",
171
169
  options: l,
172
170
  value: r?.display ?? null,
173
- onChange: a
171
+ onChange: n
174
172
  }
175
173
  ) });
176
- }, Ce = ({ value: t, onChange: m, name: o, responsive: c = !1 }) => {
174
+ }, Se = ({ value: o, onChange: d, name: t, responsive: c = !1 }) => {
177
175
  const r = {
178
- flexBasis: t?.flexBasis ?? "auto",
179
- flexGrow: t?.flexGrow ?? 0,
180
- flexShrink: t?.flexShrink ?? 1
176
+ flexBasis: o?.flexBasis ?? "auto",
177
+ flexGrow: o?.flexGrow ?? 0,
178
+ flexShrink: o?.flexShrink ?? 1
181
179
  }, l = [
182
180
  {
183
181
  label: "Auto fit",
@@ -197,94 +195,106 @@ const L = [
197
195
  flexShrink: 1
198
196
  }
199
197
  }
200
- ], a = l.find((n) => V(n.rawValue, r))?.value, i = (n) => {
201
- const x = l.find((w) => w.value === Number(n.target.value));
202
- x && m?.(x.rawValue);
198
+ ], n = l.find((i) => G(i.rawValue, r))?.value, a = (i) => {
199
+ const x = l.find((v) => v.value === Number(i.target.value));
200
+ x && d?.(x.rawValue);
203
201
  };
204
- return /* @__PURE__ */ e(f, { name: o ?? "Content", responsive: c, children: /* @__PURE__ */ e("div", { className: "tw:inline-flex tw:items-center tw:gap-2", children: l.map((n) => /* @__PURE__ */ e(
205
- S,
202
+ return /* @__PURE__ */ e(f, { name: t ?? "Content", responsive: c, children: /* @__PURE__ */ e("div", { css: { display: "inline-flex", alignItems: "center", gap: 8 }, children: l.map((i) => /* @__PURE__ */ e(
203
+ w,
206
204
  {
207
- checked: n.value === a,
208
- value: n.value,
209
- onChange: i,
210
- children: n.label
205
+ checked: i.value === n,
206
+ value: i.value,
207
+ onChange: a,
208
+ children: i.label
211
209
  },
212
- n.value
210
+ i.value
213
211
  )) }) });
214
- }, We = ({ name: t, value: m, onChange: o, responsive: c = !0 }) => {
215
- const r = G(null), l = (a) => {
216
- o?.({
217
- minWidth: a
212
+ }, ye = ({ name: o, value: d, onChange: t, responsive: c = !0 }) => {
213
+ const r = M(null), l = (n) => {
214
+ t?.({
215
+ minWidth: n
218
216
  });
219
217
  };
220
- return /* @__PURE__ */ e(f, { name: t ?? "Min width", responsive: c, children: /* @__PURE__ */ e("div", { className: "tw:relative tw:w-1/2", children: /* @__PURE__ */ e(
221
- k,
218
+ return /* @__PURE__ */ e(f, { name: o ?? "Min width", responsive: c, children: /* @__PURE__ */ e("div", { css: { position: "relative", width: "50%" }, children: /* @__PURE__ */ e(
219
+ I,
222
220
  {
223
221
  fullWidth: !0,
224
222
  wrapRef: r,
225
223
  placeholder: "0",
226
- value: m?.minWidth,
224
+ value: d?.minWidth,
227
225
  onChange: l,
228
226
  defaultValue: {
229
227
  "%": 100
230
228
  }
231
229
  }
232
230
  ) }) });
233
- }, ye = ({ value: t, onChange: m }) => {
234
- const [o, c] = M(!1), r = (a) => {
235
- m?.({ ...t, sizeVariant: a });
236
- }, l = (a) => {
237
- m?.({
238
- ...t,
231
+ }, we = ({ value: o, onChange: d }) => {
232
+ const [t, c] = D(!1), r = (n) => {
233
+ d?.({ ...o, sizeVariant: n });
234
+ }, l = (n) => {
235
+ d?.({
236
+ ...o,
239
237
  css: {
240
- ...t?.css,
241
- ...a
238
+ ...o?.css,
239
+ ...n
242
240
  }
243
241
  });
244
242
  };
245
- return /* @__PURE__ */ e(f, { name: "Text style", children: /* @__PURE__ */ h(H, { open: o, onOpenChange: c, placement: "right", children: [
246
- /* @__PURE__ */ e(R, { children: /* @__PURE__ */ h(
243
+ return /* @__PURE__ */ e(f, { name: "Text style", children: /* @__PURE__ */ p(U, { open: t, onOpenChange: c, placement: "right", children: [
244
+ /* @__PURE__ */ e(H, { children: /* @__PURE__ */ p(
247
245
  "button",
248
246
  {
249
- className: D(
250
- "tw:w-1/2 tw:h-8 tw:flex tw:items-center tw:gap-2 tw:rounded-md tw:bg-ic-white-1s tw:px-2 tw:text-left tw:truncate tw:text-xs",
247
+ css: [
251
248
  {
252
- "tw:bg-ic-black-7s": o
253
- }
254
- ),
249
+ display: "flex",
250
+ paddingInline: 8,
251
+ alignItems: "center",
252
+ gap: 8,
253
+ borderRadius: 6,
254
+ textAlign: "left",
255
+ width: "50%",
256
+ height: 32,
257
+ backgroundColor: T.palette.white["1s"],
258
+ overflow: "hidden",
259
+ textOverflow: "ellipsis",
260
+ whiteSpace: "nowrap",
261
+ ...T.text.xs
262
+ },
263
+ t && { backgroundColor: T.palette.black["7s"] }
264
+ ],
255
265
  children: [
256
- /* @__PURE__ */ e(p, { className: "tw:text-white", source: F }),
266
+ /* @__PURE__ */ e(b, { css: { color: "white" }, source: A }),
257
267
  /* @__PURE__ */ e("span", { children: "Auto" })
258
268
  ]
259
269
  }
260
270
  ) }),
261
- /* @__PURE__ */ e(j, { children: /* @__PURE__ */ h("div", { style: { width: 280 }, children: [
262
- /* @__PURE__ */ h("div", { className: "tw:flex tw:justify-between tw:items-center tw:gap-2", children: [
263
- /* @__PURE__ */ e("div", { className: "tw:font-medium", children: "Text style" }),
264
- /* @__PURE__ */ e(E, { children: /* @__PURE__ */ e(g, { children: /* @__PURE__ */ e(p, { source: q }) }) })
271
+ /* @__PURE__ */ e(j, { children: /* @__PURE__ */ p("div", { style: { width: 280 }, children: [
272
+ /* @__PURE__ */ p("div", { css: { display: "flex", justifyContent: "space-between", alignItems: "center", gap: 8 }, children: [
273
+ /* @__PURE__ */ e("div", { css: { fontWeight: 500 }, children: "Text style" }),
274
+ /* @__PURE__ */ e(E, { children: /* @__PURE__ */ e(g, { children: /* @__PURE__ */ e(b, { source: q }) }) })
265
275
  ] }),
266
- /* @__PURE__ */ e("hr", { className: "tw:border-ic-white-1s tw:my-2" }),
267
- /* @__PURE__ */ h("div", { className: "tw:flex tw:flex-col tw:gap-3", children: [
268
- /* @__PURE__ */ e(P, { value: t?.sizeVariant, onChange: r }),
269
- /* @__PURE__ */ e(A, { value: { color: t?.css?.color }, onChange: l }),
276
+ /* @__PURE__ */ e("hr", { css: { marginBlock: 8, borderColor: T.palette.white["1s"] } }),
277
+ /* @__PURE__ */ p("div", { css: { display: "flex", flexDirection: "column", gap: 12 }, children: [
278
+ /* @__PURE__ */ e(F, { value: o?.sizeVariant, onChange: r }),
279
+ /* @__PURE__ */ e(P, { value: { color: o?.css?.color }, onChange: l }),
270
280
  /* @__PURE__ */ e(
271
- I,
281
+ B,
272
282
  {
273
283
  name: "Style",
274
284
  value: {
275
- fontWeight: t?.css?.fontWeight,
276
- fontStyle: t?.css?.fontStyle,
277
- textDecorationLine: t?.css?.textDecorationLine
285
+ fontWeight: o?.css?.fontWeight,
286
+ fontStyle: o?.css?.fontStyle,
287
+ textDecorationLine: o?.css?.textDecorationLine
278
288
  },
279
289
  onChange: l
280
290
  }
281
291
  ),
282
- /* @__PURE__ */ e(B, { value: { fontWeight: t?.css?.fontWeight }, onChange: l }),
292
+ /* @__PURE__ */ e(O, { value: { fontWeight: o?.css?.fontWeight }, onChange: l }),
283
293
  /* @__PURE__ */ e(
284
- O,
294
+ V,
285
295
  {
286
296
  value: {
287
- textTransform: t?.css?.textTransform
297
+ textTransform: o?.css?.textTransform
288
298
  },
289
299
  onChange: l
290
300
  }
@@ -294,43 +304,43 @@ const L = [
294
304
  ] }) });
295
305
  };
296
306
  export {
297
- Fe as AnchorTargetToolbar,
298
- Pe as AspectRatioToolbar,
299
- Ae as BackgroundToolbar,
300
- Ie as BorderRadiusToolbar,
301
- Be as BorderToolbar,
302
- Oe as ChildNodesToolbar,
303
- A as ColorToolbar,
304
- Ve as ColorVariantToolbar,
305
- Ge as ColumnGapToolbar,
306
- Me as DisplayOnToolbar,
307
- Se as DisplayToolbar,
308
- Ue as FlexAlignItemsToolbar,
309
- Ce as FlexToolbar,
310
- He as FlexWrapToolbar,
307
+ ze as AnchorTargetToolbar,
308
+ ke as AspectRatioToolbar,
309
+ Ie as BackgroundToolbar,
310
+ Ae as BorderRadiusToolbar,
311
+ Fe as BorderToolbar,
312
+ Pe as ChildNodesToolbar,
313
+ P as ColorToolbar,
314
+ Be as ColorVariantToolbar,
315
+ Oe as ColumnGapToolbar,
316
+ Ve as DisplayOnToolbar,
317
+ Ce as DisplayToolbar,
318
+ Ge as FlexAlignItemsToolbar,
319
+ Se as FlexToolbar,
320
+ Me as FlexWrapToolbar,
311
321
  ve as FontSizeToolbar,
312
- B as FontWeightToolbar,
313
- Re as GridAlignItemsToolbar,
314
- De as HeightToolbar,
315
- je as JustifyContentToolbar,
316
- qe as JustifyItemsToolbar,
317
- Ne as LineHeightToolbar,
318
- Je as MarginToolbar,
319
- We as MinWidthToolbar,
320
- Ee as NumberField,
321
- Le as NumberFieldMixOptions,
322
- $e as ObjectFitToolbar,
323
- Ke as OrderToolbar,
324
- Qe as PaddingToolbar,
325
- Xe as RowGapToolbar,
326
- Ye as SpacingToolbar,
327
- Ze as SvgSourceToolbar,
328
- _e as TagNameToolbar,
329
- et as TextAlignToolbar,
330
- P as TextSizeVariantToolbar,
331
- ye as TextStyleGroupToolbar,
332
- I as TextStyleToolbar,
333
- O as TextTransformToolbar,
334
- tt as WidthToolbar,
335
- ot as textSizeVariantOptions
322
+ O as FontWeightToolbar,
323
+ De as GridAlignItemsToolbar,
324
+ Re as HeightToolbar,
325
+ Ue as JustifyContentToolbar,
326
+ He as JustifyItemsToolbar,
327
+ Te as LineHeightToolbar,
328
+ je as MarginToolbar,
329
+ ye as MinWidthToolbar,
330
+ qe as NumberField,
331
+ Je as NumberFieldMixOptions,
332
+ Ee as ObjectFitToolbar,
333
+ Le as OrderToolbar,
334
+ $e as PaddingToolbar,
335
+ Ke as RowGapToolbar,
336
+ Qe as SpacingToolbar,
337
+ Xe as SvgSourceToolbar,
338
+ Ye as TagNameToolbar,
339
+ Ze as TextAlignToolbar,
340
+ F as TextSizeVariantToolbar,
341
+ we as TextStyleGroupToolbar,
342
+ B as TextStyleToolbar,
343
+ V as TextTransformToolbar,
344
+ _e as WidthToolbar,
345
+ eo as textSizeVariantOptions
336
346
  };
@@ -5,4 +5,4 @@ export type WbButtonGroupProps<T> = ShallowMerge<JSX.IntrinsicElements['div'], {
5
5
  value?: T;
6
6
  defaultValue?: T;
7
7
  }>;
8
- export declare const WbButtonGroup: <T extends string = string>({ children, defaultValue, value, onSelectionChange, className, ...props }: WbButtonGroupProps<T>) => import("@emotion/react/jsx-runtime").JSX.Element;
8
+ export declare const WbButtonGroup: <T extends string = string>({ children, defaultValue, value, onSelectionChange, ...props }: WbButtonGroupProps<T>) => import("@emotion/react/jsx-runtime").JSX.Element;
@@ -1,2 +1,2 @@
1
1
  import { WbDialogBodyProps } from './types';
2
- export declare const WbDialogBody: ({ className, ref, ...props }: WbDialogBodyProps) => import("@emotion/react/jsx-runtime").JSX.Element;
2
+ export declare const WbDialogBody: ({ ref, ...props }: WbDialogBodyProps) => import("@emotion/react/jsx-runtime").JSX.Element;
@@ -3,4 +3,4 @@ import { ShallowMerge } from '@janbox/storefront-ui/types';
3
3
  export type FormLabelProps = ShallowMerge<JSX.IntrinsicElements['div'], {
4
4
  required?: boolean;
5
5
  }>;
6
- export declare const WbFormLabel: ({ required, className, children, ...props }: FormLabelProps) => import("@emotion/react/jsx-runtime").JSX.Element;
6
+ export declare const WbFormLabel: ({ required, children, ...props }: FormLabelProps) => import("@emotion/react/jsx-runtime").JSX.Element;
@@ -7,7 +7,6 @@ export type WbInputProps = ShallowMerge<JSX.IntrinsicElements['input'], {
7
7
  classes?: {
8
8
  input?: string;
9
9
  main?: string;
10
- container?: string;
11
10
  };
12
11
  fullWidth?: boolean;
13
12
  value?: string | number;
@@ -19,4 +18,4 @@ export type WbInputProps = ShallowMerge<JSX.IntrinsicElements['input'], {
19
18
  helperText?: string;
20
19
  selectOnFocus?: boolean;
21
20
  }>;
22
- export declare const WbInput: ({ prefix, suffix, classes, className, size, transform, fullWidth, wrapRef, onChange: onChangeProp, mode, debounce, value, ref, error, helperText, selectOnFocus, ...props }: WbInputProps) => import("@emotion/react/jsx-runtime").JSX.Element;
21
+ export declare const WbInput: ({ prefix, suffix, classes, size, transform, fullWidth, wrapRef, onChange: onChangeProp, mode, debounce, value, ref, error, helperText, selectOnFocus, ...props }: WbInputProps) => import("@emotion/react/jsx-runtime").JSX.Element;
@@ -5,4 +5,4 @@ export type EsLoadingOverlayProps = ShallowMerge<JSX.IntrinsicElements['div'], {
5
5
  hideChildrenOnLoading?: boolean;
6
6
  size?: number;
7
7
  }>;
8
- export declare const WbLoadingOverlay: ({ className, style, children, isLoading, hideChildrenOnLoading, size, ...props }: EsLoadingOverlayProps) => import("@emotion/react/jsx-runtime").JSX.Element;
8
+ export declare const WbLoadingOverlay: ({ style, children, isLoading, hideChildrenOnLoading, size, ...props }: EsLoadingOverlayProps) => import("@emotion/react/jsx-runtime").JSX.Element;
@@ -5,4 +5,4 @@ export type WbPopoverCloseProps = ShallowMerge<JSX.IntrinsicElements['div'], {
5
5
  event?: keyof HTMLElementEventMap;
6
6
  reason?: OpenChangeReason;
7
7
  }>;
8
- export declare const WbPopoverClose: ({ event, reason, className, ref, ...props }: WbPopoverCloseProps) => import("@emotion/react/jsx-runtime").JSX.Element;
8
+ export declare const WbPopoverClose: ({ event, reason, ref, ...props }: WbPopoverCloseProps) => import("@emotion/react/jsx-runtime").JSX.Element;
@@ -1,2 +1,2 @@
1
1
  import { JSX } from 'react';
2
- export declare const WbTabContent: ({ children, className, ...props }: JSX.IntrinsicElements["div"]) => import("@emotion/react/jsx-runtime").JSX.Element;
2
+ export declare const WbTabContent: ({ children, ...props }: JSX.IntrinsicElements["div"]) => import("@emotion/react/jsx-runtime").JSX.Element;
@@ -1,6 +1,4 @@
1
1
  import { JSX } from 'react';
2
2
  import { ShallowMerge } from '@janbox/storefront-ui/types';
3
- export type WbTabListProps = ShallowMerge<JSX.IntrinsicElements['ul'], {
4
- layout?: 'auto-fit' | 'auto-fill';
5
- }>;
6
- export declare const WbTabList: ({ className, children, layout, ...props }: WbTabListProps) => import("@emotion/react/jsx-runtime").JSX.Element;
3
+ export type WbTabListProps = ShallowMerge<JSX.IntrinsicElements['ul'], {}>;
4
+ export declare const WbTabList: ({ children, ...props }: WbTabListProps) => import("@emotion/react/jsx-runtime").JSX.Element;
@@ -1,2 +1,2 @@
1
1
  import { JSX } from 'react';
2
- export declare const WbTabPanel: ({ className, ...props }: JSX.IntrinsicElements["div"]) => import("@emotion/react/jsx-runtime").JSX.Element;
2
+ export declare const WbTabPanel: ({ ...props }: JSX.IntrinsicElements["div"]) => import("@emotion/react/jsx-runtime").JSX.Element;
@@ -1,8 +1,5 @@
1
1
  import { JSX } from 'react';
2
- import { ShallowMerge } from '@janbox/storefront-ui/types';
3
2
  export type WbTabProps = ShallowMerge<JSX.IntrinsicElements['li'], {
4
- classes?: {
5
- active?: string;
6
- };
3
+ fill?: boolean;
7
4
  }>;
8
- export declare const WbTab: ({ className, classes, ...props }: WbTabProps) => import("@emotion/react/jsx-runtime").JSX.Element;
5
+ export declare const WbTab: ({ fill, ...props }: WbTabProps) => import("@emotion/react/jsx-runtime").JSX.Element;
@@ -4,5 +4,5 @@ type WbTabsProps = ShallowMerge<React.JSX.IntrinsicElements['div'], {
4
4
  defaultIndex?: number;
5
5
  onTabChange?: (tabIndex: number) => void;
6
6
  }>;
7
- export declare const WbTabs: ({ defaultIndex, activeIndex, children, onTabChange, className, ...props }: WbTabsProps) => import("@emotion/react/jsx-runtime").JSX.Element;
7
+ export declare const WbTabs: ({ defaultIndex, activeIndex, children, onTabChange, ...props }: WbTabsProps) => import("@emotion/react/jsx-runtime").JSX.Element;
8
8
  export {};