@alphakits/ui 2.5.15 → 2.5.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.
@@ -1,17 +1,19 @@
1
- import { useRef as g, useEffect as y } from "react";
2
- import { startOfDay as k, startOfMonth as m, startOfISOWeek as v, endOfISOWeek as p, lastDayOfMonth as T, eachDayOfInterval as I, isSameDay as h, eachMonthOfInterval as S, endOfYear as E, startOfYear as u, eachYearOfInterval as x, max as d, min as D, addDays as l, isBefore as M, isAfter as b, isSameMonth as A, endOfWeek as N, startOfWeek as Y, addMonths as _, subMonths as R, subDays as O } from "../utils/date/index.js";
3
- const w = 7, X = 12, K = 6;
1
+ import { useRef as W, useEffect as g } from "react";
2
+ import { startOfDay as O, startOfMonth as D, startOfISOWeek as p, endOfISOWeek as v, lastDayOfMonth as T, eachDayOfInterval as I, isSameDay as h, eachMonthOfInterval as S, endOfYear as E, startOfYear as u, eachYearOfInterval as x, max as d, min as m, addDays as l, isBefore as w, isAfter as y, isSameMonth as A, endOfWeek as N, startOfWeek as Y, addMonths as _, subMonths as R, subDays as k } from "../utils/date/index.js";
3
+ const M = 7, X = 12, K = 6;
4
4
  function B(e) {
5
5
  const n = e.getDay();
6
- return n === 0 ? w - 1 : n - 1;
6
+ return n === 0 ? M - 1 : n - 1;
7
7
  }
8
8
  function j(e, t) {
9
- const n = () => Array(w).fill(null), r = m(e), i = v(m(e)), a = p(T(e));
9
+ const n = () => Array(M).fill(null), r = D(e), i = p(D(e)), f = v(T(e));
10
10
  let s = n();
11
- return I({ start: i, end: a }).reduce((o, f) => {
12
- const c = B(f);
13
- return s[c] = H(f, r, t), (c === K || h(f, a)) && (o.push(s), s = n()), o;
14
- }, []);
11
+ const o = [];
12
+ for (const a of I({ start: i, end: f })) {
13
+ const c = B(a);
14
+ s[c] = H(a, r, t), (c === K || h(a, f)) && (o.push(s), s = n());
15
+ }
16
+ return s.some((a) => a !== null) && o.push(s), o;
15
17
  }
16
18
  function q(e, t) {
17
19
  return S({ start: u(e), end: E(e) }).map(
@@ -20,17 +22,17 @@ function q(e, t) {
20
22
  }
21
23
  function z(e, t) {
22
24
  return x({
23
- start: D([u(t), u(e)]),
25
+ start: m([u(t), u(e)]),
24
26
  end: d([u(t), u(e)])
25
27
  }).reverse();
26
28
  }
27
29
  function H(e, t, n) {
28
- const { minDate: r, maxDate: i, selected: a, eventsMap: s = {}, offDaysMap: o = {} } = n, f = o[e.getTime()], c = r && M(e, r) || i && b(e, i);
30
+ const { minDate: r, maxDate: i, selected: f, eventsMap: s = {}, offDaysMap: o = {} } = n, a = o[e.getTime()], c = r && w(e, r) || i && y(e, i);
29
31
  return {
30
32
  date: e,
31
- disabled: c || f,
33
+ disabled: c || a,
32
34
  event: s[e.getTime()],
33
- selected: a && h(e, a),
35
+ selected: f && h(e, f),
34
36
  muted: !A(e, t)
35
37
  };
36
38
  }
@@ -38,15 +40,15 @@ function U(e, t) {
38
40
  const { minMonth: n, maxMonth: r } = t;
39
41
  return {
40
42
  date: e,
41
- disabled: n && M(e, n) || r && b(e, r)
43
+ disabled: n && w(e, n) || r && y(e, r)
42
44
  };
43
45
  }
44
- function W(e, t, n) {
46
+ function b(e, t, n) {
45
47
  let r = e;
46
- return t && (r = d([t, r])), n && (r = D([n, r])), new Date(r);
48
+ return t && (r = d([t, r])), n && (r = m([n, r])), new Date(r);
47
49
  }
48
50
  function C(e, t, n) {
49
- return e && W(e, t, n).getTime() === new Date(e).getTime();
51
+ return e && b(e, t, n).getTime() === new Date(e).getTime();
50
52
  }
51
53
  function G(e, t, n) {
52
54
  return new Intl.DateTimeFormat(t, { month: n ? "short" : "long" }).format(
@@ -54,31 +56,31 @@ function G(e, t, n) {
54
56
  );
55
57
  }
56
58
  function J(e) {
57
- return e.reduce((t, n) => (t[k(n).getTime()] = !0, t), {});
59
+ return e.reduce((t, n) => (t[O(n).getTime()] = !0, t), {});
58
60
  }
59
61
  function P(e, t, n) {
60
62
  const r = t || n;
61
63
  return e && r && e !== r ? {
62
- start: D([e, r]),
64
+ start: m([e, r]),
63
65
  end: d([e, r])
64
66
  } : null;
65
67
  }
66
68
  function Q(e, t, n, r, i = {}) {
67
69
  let s = {
68
- prev: () => O(t, 1),
69
- prevWeek: () => O(t, 7),
70
+ prev: () => k(t, 1),
71
+ prevWeek: () => k(t, 7),
70
72
  prevMonth: () => R(t, 1),
71
73
  next: () => l(t, 1),
72
74
  nextWeek: () => l(t, 7),
73
75
  nextMonth: () => _(t, 1),
74
76
  startOfWeek: () => Y(t, { weekStartsOn: 1 }),
75
- endOfWeek: () => k(N(t, { weekStartsOn: 1 }))
77
+ endOfWeek: () => O(N(t, { weekStartsOn: 1 }))
76
78
  }[e]();
77
79
  for (; i[s.getTime()]; ) {
78
80
  let o = s < t ? -1 : 1;
79
81
  e === "endOfWeek" && (o = -1), e === "startOfWeek" && (o = 1), s = l(s, o);
80
82
  }
81
- return W(s, n, r);
83
+ return b(s, n, r);
82
84
  }
83
85
  function V(e) {
84
86
  if (window.KeyboardEvent) {
@@ -90,13 +92,13 @@ function V(e) {
90
92
  }
91
93
  }
92
94
  function Z(e, t) {
93
- const n = g(!1);
94
- y(() => {
95
+ const n = W(!1);
96
+ g(() => {
95
97
  n.current ? e() : n.current = !0;
96
98
  }, t);
97
99
  }
98
100
  export {
99
- w as DAYS_IN_WEEK,
101
+ M as DAYS_IN_WEEK,
100
102
  X as MONTHS_IN_YEAR,
101
103
  K as SUNDAY_INDEX,
102
104
  H as buildDay,
@@ -107,7 +109,7 @@ export {
107
109
  j as generateWeeks,
108
110
  z as generateYears,
109
111
  P as getSelectionRange,
110
- W as limitDate,
112
+ b as limitDate,
111
113
  Q as modifyDateByShift,
112
114
  G as monthName,
113
115
  B as russianWeekDay,
@@ -1,149 +1,227 @@
1
- import { jsxs as a, jsx as e } from "react/jsx-runtime";
2
- import j from "@alphakits/icons/dist/EyeM";
3
- import B from "@alphakits/icons/dist/HeartStrokeM";
4
- import H from "@alphakits/icons/dist/PlusS";
5
- import L from "@alphakits/icons/dist/TrashM";
6
- import b, { forwardRef as D, useState as p, useRef as G } from "react";
7
- import { Button as O } from "../button/component.js";
8
- import { FlexColumns as q } from "../flex-columns/component.js";
9
- import { IconButton as m } from "../icon-button/component.js";
10
- import { Image as J } from "../image/component.js";
11
- import { ImageGallery as K } from "../image-gallery/component.js";
12
- import { Padding as Q } from "../padding/component.js";
13
- import { SuperListHeader as U } from "../super-list-header/component.js";
14
- import { Typography as k } from "../typography/component.js";
15
- import { getServiceError as V } from "../utils/get-service-error/index.js";
16
- import { showError as W } from "../utils/show-toast/index.js";
17
- import t from "./index.module.css.js";
18
- const de = D(
1
+ import { jsxs as f, jsx as o } from "react/jsx-runtime";
2
+ import or from "@alphakits/icons/dist/EyeS";
3
+ import tr from "@alphakits/icons/dist/HeartS";
4
+ import O from "@alphakits/icons/dist/PlusS";
5
+ import ar from "@alphakits/icons/dist/TrashS";
6
+ import A from "classnames";
7
+ import { forwardRef as nr, useState as m, useRef as P } from "react";
8
+ import { Button as sr } from "../button/component.js";
9
+ import { FlexColumns as ir } from "../flex-columns/component.js";
10
+ import { IconButton as y } from "../icon-button/component.js";
11
+ import { Image as cr } from "../image/component.js";
12
+ import { ImageGallery as lr } from "../image-gallery/component.js";
13
+ import { SuperListHeader as dr } from "../super-list-header/component.js";
14
+ import { Typography as L } from "../typography/component.js";
15
+ import { getServiceError as fr } from "../utils/get-service-error/index.js";
16
+ import { showError as pr } from "../utils/show-toast/index.js";
17
+ import a from "./index.module.css.js";
18
+ const w = "application/x-image-uploader-index", mr = (t, g, p) => {
19
+ if (g === p) return t;
20
+ const c = [...t], [N] = c.splice(g, 1);
21
+ return c.splice(p, 0, N), c;
22
+ }, br = nr(
19
23
  ({
20
- value: n = [],
21
- title: S,
22
- subtitle: d,
23
- columns: N = 3,
24
- onUpdate: f,
25
- uploadRequest: I,
26
- setMain: h,
27
- type: R,
28
- main: u,
29
- multiple: l,
30
- error: g,
31
- className: z,
32
- children: y
33
- }, T) => {
34
- const [A, w] = p(!1), [E, F] = p(), [v, C] = p(!1), s = G(null), M = (r, c) => {
35
- f(r.filter((i) => i !== c));
36
- }, x = async ({ target: { files: r } }) => {
37
- if (!r) return;
38
- const c = Array.from(r).map((i) => {
39
- const o = new FormData();
40
- return o.append("file", i), o.append("type", R), I({ data: o });
24
+ value: t = [],
25
+ title: g,
26
+ subtitle: p,
27
+ onUpdate: c,
28
+ uploadRequest: N,
29
+ setMain: S,
30
+ type: B,
31
+ main: k,
32
+ multiple: s,
33
+ error: v,
34
+ className: H,
35
+ children: z
36
+ }, M) => {
37
+ const [j, I] = m(!1), [G, K] = m(), [R, x] = m(!1), [W, h] = m(!1), [_, C] = m(null), u = P(null), d = P(0), D = () => u.current?.click(), E = async (r) => {
38
+ const e = Array.from(r).filter(
39
+ (l) => l.type.startsWith("image/") || /\.heic$/i.test(l.name)
40
+ );
41
+ if (!e.length) return;
42
+ const n = e.map((l) => {
43
+ const i = new FormData();
44
+ return i.append("file", l), i.append("type", B), N({ data: i });
41
45
  });
42
- C(!0);
46
+ x(!0);
43
47
  try {
44
- const o = (await Promise.all(c)).map(({ data: P }) => P.url);
45
- f(l ? [...n, ...o] : o);
46
- } catch (i) {
47
- const { message: o } = V(i);
48
- W(o);
48
+ const i = (await Promise.all(n)).map(({ data: er }) => er.url);
49
+ c(s ? [...t, ...i] : i.slice(0, 1));
50
+ } catch (l) {
51
+ const { message: i } = fr(l);
52
+ pr(i);
49
53
  } finally {
50
- s.current && (s.current.value = ""), C(!1);
54
+ u.current && (u.current.value = ""), x(!1);
51
55
  }
52
- };
53
- return /* @__PURE__ */ a("div", { className: z, children: [
54
- /* @__PURE__ */ e(
56
+ }, b = async ({ target: { files: r } }) => {
57
+ r && await E(r);
58
+ }, $ = (r, e) => {
59
+ c(r.filter((n) => n !== e));
60
+ }, q = (r, e) => {
61
+ c(mr(t, r, e));
62
+ }, J = (r) => {
63
+ r.preventDefault(), d.current += 1, h(!0);
64
+ }, Q = (r) => {
65
+ r.preventDefault(), d.current -= 1, d.current <= 0 && (d.current = 0, h(!1));
66
+ }, F = (r) => {
67
+ r.preventDefault(), r.dataTransfer.dropEffect = r.dataTransfer.types.includes(w) ? "move" : "copy";
68
+ }, V = async (r) => {
69
+ r.preventDefault(), r.stopPropagation(), d.current = 0, h(!1), !r.dataTransfer.getData(w) && r.dataTransfer.files?.length && await E(r.dataTransfer.files);
70
+ }, X = (r, e) => {
71
+ !s || t.length < 2 || (r.dataTransfer.setData(w, String(e)), r.dataTransfer.effectAllowed = "move", C(e));
72
+ }, Y = () => {
73
+ C(null);
74
+ }, Z = (r, e) => {
75
+ if (r.preventDefault(), r.stopPropagation(), d.current = 0, h(!1), r.dataTransfer.files?.length) {
76
+ E(r.dataTransfer.files);
77
+ return;
78
+ }
79
+ const n = Number(r.dataTransfer.getData(w));
80
+ Number.isNaN(n) || n === e || (q(n, e), C(null));
81
+ }, T = s || !t.length, U = !t.length, rr = !T;
82
+ return /* @__PURE__ */ f("div", { className: H, children: [
83
+ /* @__PURE__ */ o(
55
84
  "input",
56
85
  {
57
86
  type: "file",
58
87
  style: { height: 0, position: "absolute" },
59
- ref: T,
60
- onChange: x,
61
- multiple: l,
88
+ ref: M,
89
+ onChange: b,
90
+ multiple: s,
62
91
  accept: "image/*, .heic"
63
92
  }
64
93
  ),
65
- /* @__PURE__ */ e(
94
+ /* @__PURE__ */ o(
66
95
  "input",
67
96
  {
68
97
  type: "file",
69
98
  style: { height: 0, position: "absolute" },
70
- ref: s,
71
- onChange: x,
72
- multiple: l,
99
+ ref: u,
100
+ onChange: b,
101
+ multiple: s,
73
102
  accept: "image/*, .heic"
74
103
  }
75
104
  ),
76
- y ? /* @__PURE__ */ e(O, { view: "ghost", onClick: () => s.current?.click(), children: y({ value: n, loading: v }) }) : /* @__PURE__ */ a(b.Fragment, { children: [
77
- /* @__PURE__ */ e(
78
- U,
79
- {
80
- text: S,
81
- leftAddons: /* @__PURE__ */ e(
82
- m,
83
- {
84
- onClick: () => s.current?.click(),
85
- icon: H,
86
- loading: v
87
- }
88
- )
89
- }
90
- ),
91
- d && /* @__PURE__ */ e(k.Text, { view: "primary-small", color: "secondary", weight: "medium", children: d }),
92
- /* @__PURE__ */ e(Q, { padding: "4px 0", children: g && /* @__PURE__ */ e(k.Text, { view: "caps", color: "negative", weight: "medium", children: g }) }),
93
- /* @__PURE__ */ e(q, { columns: N, children: n.map((r, c) => /* @__PURE__ */ a(
94
- J,
95
- {
96
- className: t.image,
97
- src: r,
98
- size: "xl",
99
- view: "default",
100
- children: [
101
- /* @__PURE__ */ a("div", { className: t.controls, children: [
102
- !!h && u !== r && /* @__PURE__ */ e(
103
- m,
104
- {
105
- onClick: () => h(r),
106
- icon: B,
107
- size: "m",
108
- view: "secondary",
109
- className: t.icon
110
- }
111
- ),
112
- /* @__PURE__ */ e(
113
- m,
114
- {
115
- onClick: () => {
116
- F(c), w(!0);
117
- },
118
- icon: j,
119
- size: "m",
120
- view: "secondary",
121
- className: t.icon
122
- }
123
- ),
124
- /* @__PURE__ */ e(
125
- m,
126
- {
127
- onClick: () => M(n, r),
128
- icon: L,
129
- size: "m",
130
- view: "secondary",
131
- className: t.icon
132
- }
133
- )
134
- ] }),
135
- u === r && /* @__PURE__ */ e("div", { className: t.main, children: "MAIN" })
136
- ]
137
- },
138
- r
139
- )) }),
140
- /* @__PURE__ */ e(
141
- K,
105
+ z ? /* @__PURE__ */ o(sr, { view: "ghost", onClick: D, children: z({ value: t, loading: R }) }) : /* @__PURE__ */ f(ir, { columns: 1, gr: 12, gc: 0, children: [
106
+ /* @__PURE__ */ f("div", { className: a.header, children: [
107
+ /* @__PURE__ */ o(
108
+ dr,
109
+ {
110
+ text: g,
111
+ rightAddons: rr ? /* @__PURE__ */ o(
112
+ y,
113
+ {
114
+ onClick: D,
115
+ icon: O,
116
+ loading: R
117
+ }
118
+ ) : void 0
119
+ }
120
+ ),
121
+ p && /* @__PURE__ */ o(
122
+ L.Text,
123
+ {
124
+ view: "primary-small",
125
+ color: "secondary",
126
+ weight: "medium",
127
+ children: p
128
+ }
129
+ ),
130
+ v && /* @__PURE__ */ o(L.Text, { view: "caps", color: "negative", weight: "medium", children: v })
131
+ ] }),
132
+ (!!t.length || T) && /* @__PURE__ */ f("div", { className: a.grid, children: [
133
+ t.map((r, e) => /* @__PURE__ */ o(
134
+ "div",
135
+ {
136
+ className: A(a.card, {
137
+ [a.cardDragging]: _ === e
138
+ }),
139
+ draggable: s && t.length > 1,
140
+ onDragStart: (n) => X(n, e),
141
+ onDragEnd: Y,
142
+ onDragOver: F,
143
+ onDrop: (n) => Z(n, e),
144
+ children: /* @__PURE__ */ f(
145
+ cr,
146
+ {
147
+ className: a.thumbnail,
148
+ src: r,
149
+ size: "xl",
150
+ view: "default",
151
+ children: [
152
+ s && k === r && /* @__PURE__ */ o("div", { className: a.mainBadge, children: "MAIN" }),
153
+ /* @__PURE__ */ f(
154
+ "div",
155
+ {
156
+ className: a.controls,
157
+ onMouseDown: (n) => n.stopPropagation(),
158
+ children: [
159
+ s && !!S && k !== r && /* @__PURE__ */ o(
160
+ y,
161
+ {
162
+ onClick: () => S(r),
163
+ icon: tr,
164
+ size: "s",
165
+ className: a.action
166
+ }
167
+ ),
168
+ /* @__PURE__ */ o(
169
+ y,
170
+ {
171
+ onClick: () => {
172
+ K(e), I(!0);
173
+ },
174
+ icon: or,
175
+ size: "s",
176
+ className: a.action
177
+ }
178
+ ),
179
+ /* @__PURE__ */ o(
180
+ y,
181
+ {
182
+ onClick: () => $(t, r),
183
+ icon: ar,
184
+ size: "s",
185
+ className: a.action
186
+ }
187
+ )
188
+ ]
189
+ }
190
+ )
191
+ ]
192
+ }
193
+ )
194
+ },
195
+ r
196
+ )),
197
+ T && /* @__PURE__ */ o(
198
+ "div",
199
+ {
200
+ role: "button",
201
+ tabIndex: 0,
202
+ className: A(a.dropzone, {
203
+ [a.dropzoneActive]: W,
204
+ [a.dropzoneEmpty]: U
205
+ }),
206
+ onClick: D,
207
+ onKeyDown: (r) => {
208
+ (r.key === "Enter" || r.key === " ") && (r.preventDefault(), D());
209
+ },
210
+ onDragEnter: J,
211
+ onDragLeave: Q,
212
+ onDragOver: F,
213
+ onDrop: V,
214
+ children: /* @__PURE__ */ o(O, { className: a.dropzoneIcon })
215
+ }
216
+ )
217
+ ] }),
218
+ /* @__PURE__ */ o(
219
+ lr,
142
220
  {
143
- photos: n.map((r) => ({ src: r })),
144
- initialSlide: E || 0,
145
- open: A,
146
- onClose: () => w(!1)
221
+ photos: t.map((r) => ({ src: r })),
222
+ initialSlide: G || 0,
223
+ open: j,
224
+ onClose: () => I(!1)
147
225
  }
148
226
  )
149
227
  ] })
@@ -151,5 +229,5 @@ const de = D(
151
229
  }
152
230
  );
153
231
  export {
154
- de as ImageUploader
232
+ br as ImageUploader
155
233
  };
@@ -1 +1 @@
1
- .image_5Dvr{height:150px}.icon_Xtgb{background:var(--color-bg-primary-inverted);color:var(--color-text-primary-inverted);margin:4px}.controls_XUF4{position:absolute;inset:0;display:flex;background:var(--color-bg-primary-inverted);align-items:center;justify-content:center;opacity:0;z-index:3}.controls_XUF4:hover{opacity:1}.main_ZMTq{position:absolute;bottom:0;background:var(--color-bg-positive);width:100%;text-align:center;font-size:10px;text-transform:uppercase;padding:4px;z-index:4;color:var(--color-text-primary-inverted)}
1
+ .header_r6rI{display:flex;flex-direction:column;gap:4px}.header_r6rI>:first-child{min-height:0;min-height:initial;padding:0}.grid_xbZY{display:grid;grid-template-columns:repeat(auto-fill,minmax(112px,136px));grid-gap:12px;gap:12px}.card_Hah9,.dropzone_RCg5{width:100%;max-width:136px;height:80px;box-sizing:border-box}.card_Hah9{position:relative;cursor:grab;border-radius:var(--radius-s, 8px);overflow:hidden}.card_Hah9:active{cursor:grabbing}.cardDragging_0e1s{opacity:.45}.card_Hah9 .thumbnail_jtZG{width:100%!important;height:100%!important;min-width:0!important;min-height:0!important;max-width:none;border-radius:inherit!important;overflow:hidden}.card_Hah9 .thumbnail_jtZG>div{border-radius:inherit!important}.card_Hah9 .thumbnail_jtZG img{border-radius:inherit}.card_Hah9:hover .controls_XUF4{opacity:1}.controls_XUF4{position:absolute;top:0;right:0;left:0;display:flex;align-items:center;justify-content:flex-end;gap:3px;padding:4px 5px;background:linear-gradient(to bottom,rgba(15,20,25,.42),transparent);opacity:0;transition:opacity .15s ease;z-index:3}.action_q3U6{align-items:center!important;background:#fffffff0!important;border-radius:4px!important;box-shadow:0 1px 3px #00000047;color:#1c1c1e!important;display:inline-flex!important;flex-shrink:0;height:20px!important;justify-content:center!important;min-height:20px!important;min-width:20px!important;padding:0!important;width:20px!important}.action_q3U6:hover{background:#fff!important}.action_q3U6 span{height:12px!important;width:12px!important}.action_q3U6 svg,.action_q3U6 svg *{color:#1c1c1e!important;fill:currentColor!important;height:12px!important;width:12px!important}.mainBadge_kZlV{position:absolute;top:6px;left:6px;background:var(--color-bg-positive);border-radius:var(--radius-s, 8px);color:var(--color-text-primary-inverted);font-size:9px;font-weight:700;letter-spacing:.04em;line-height:1;padding:4px 6px;text-transform:uppercase;z-index:4}.dropzone_RCg5{align-items:center;background:var(--color-bg-secondary);border:1.5px dashed color-mix(in srgb,var(--color-graphic-secondary) 35%,transparent);border-radius:var(--radius-s, 8px);cursor:pointer;display:flex;justify-content:center;padding:0;transition:background .15s ease,border-color .15s ease}.dropzone_RCg5:hover{background:var(--color-bg-thirdly);border-color:color-mix(in srgb,var(--color-graphic-accent) 55%,transparent)}.dropzoneActive_z97l{background:color-mix(in srgb,var(--color-bg-accent) 8%,var(--color-bg-secondary));border-color:var(--color-graphic-accent)}.dropzoneEmpty_9tHX{max-width:136px}.dropzoneIcon_m3ug{color:var(--color-graphic-secondary)}.dropzoneActive_z97l .dropzoneIcon_m3ug{color:var(--color-graphic-accent)}
@@ -1,15 +1,31 @@
1
1
  import * as __css from './index.css';
2
2
  export const __cssModule = __css;
3
- const o = "image_5Dvr", n = "icon_Xtgb", t = "controls_XUF4", c = "main_ZMTq", s = {
4
- image: o,
5
- icon: n,
6
- controls: t,
7
- main: c
3
+ const o = "header_r6rI", n = "grid_xbZY", r = "card_Hah9", t = "dropzone_RCg5", c = "cardDragging_0e1s", d = "thumbnail_jtZG", e = "controls_XUF4", a = "action_q3U6", s = "mainBadge_kZlV", i = "dropzoneActive_z97l", g = "dropzoneEmpty_9tHX", p = "dropzoneIcon_m3ug", z = {
4
+ header: o,
5
+ grid: n,
6
+ card: r,
7
+ dropzone: t,
8
+ cardDragging: c,
9
+ thumbnail: d,
10
+ controls: e,
11
+ action: a,
12
+ mainBadge: s,
13
+ dropzoneActive: i,
14
+ dropzoneEmpty: g,
15
+ dropzoneIcon: p
8
16
  };
9
17
  export {
10
- t as controls,
11
- s as default,
12
- n as icon,
13
- o as image,
14
- c as main
18
+ a as action,
19
+ r as card,
20
+ c as cardDragging,
21
+ e as controls,
22
+ z as default,
23
+ t as dropzone,
24
+ i as dropzoneActive,
25
+ g as dropzoneEmpty,
26
+ p as dropzoneIcon,
27
+ n as grid,
28
+ o as header,
29
+ s as mainBadge,
30
+ d as thumbnail
15
31
  };
package/dist/index.d.ts CHANGED
@@ -69,6 +69,7 @@ export * from './radio-groups';
69
69
  export * from './section-wrapper';
70
70
  export * from './select';
71
71
  export * from './settings-hint';
72
+ export * from './settings-info-block';
72
73
  export * from './sidepanel';
73
74
  export * from './sidepanel-header';
74
75
  export * from './skeleton';