@wrdagency/blockout 1.0.13 → 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 (107) hide show
  1. package/dist/assets/index2.css +1 -1
  2. package/dist/assets/index8.css +1 -1
  3. package/dist/assets/style10.css +1 -1
  4. package/dist/assets/style2.css +1 -1
  5. package/dist/assets/style21.css +1 -1
  6. package/dist/assets/style3.css +1 -1
  7. package/dist/assets/style4.css +1 -1
  8. package/dist/assets/style5.css +1 -1
  9. package/dist/assets/style6.css +1 -1
  10. package/dist/assets/style7.css +1 -1
  11. package/dist/assets/style8.css +1 -1
  12. package/dist/assets/style9.css +1 -1
  13. package/dist/combobox-popover-DcwyOnhG.js +650 -0
  14. package/dist/components/avatar/index.d.ts +4 -2
  15. package/dist/components/avatar/index.js +24 -19
  16. package/dist/components/breadcrumbs/index.js +2 -2
  17. package/dist/components/button/button.js +2 -2
  18. package/dist/components/button/icon.js +1 -1
  19. package/dist/components/controls/base-popover-control/index.js +1 -1
  20. package/dist/components/controls/checkbox-control/index.js +1 -1
  21. package/dist/components/controls/choice-control/choice.js +1 -1
  22. package/dist/components/controls/choice-control/index.js +1 -1
  23. package/dist/components/controls/date-control/index.js +1 -1
  24. package/dist/components/controls/list-control/item.js +1 -1
  25. package/dist/components/controls/recurrence-control/index.js +1 -1
  26. package/dist/components/controls/select-control/props.d.ts +4 -3
  27. package/dist/components/controls/select-control/select.d.ts +1 -1
  28. package/dist/components/controls/select-control/select.js +55 -51
  29. package/dist/components/controls/tag-control/ariakit-experimental.js +17 -17
  30. package/dist/components/controls/tag-control/index.js +9 -9
  31. package/dist/components/controls/tag-control/props.js +1 -1
  32. package/dist/components/controls/toggle-control/index.js +1 -1
  33. package/dist/components/controls/toggle-group-control/index.js +1 -1
  34. package/dist/components/data-form/status.js +1 -1
  35. package/dist/components/data-form/submit.js +1 -1
  36. package/dist/components/data-view/data/filter.js +2 -2
  37. package/dist/components/data-view/index.js +1 -1
  38. package/dist/components/data-view/layouts/grid/group.js +2 -2
  39. package/dist/components/data-view/layouts/grid/item.js +2 -2
  40. package/dist/components/data-view/layouts/kanban/group.js +2 -2
  41. package/dist/components/data-view/layouts/kanban/item.js +2 -2
  42. package/dist/components/data-view/layouts/kanban/root.js +1 -1
  43. package/dist/components/data-view/layouts/list/group.js +2 -2
  44. package/dist/components/data-view/layouts/list/item.js +2 -2
  45. package/dist/components/data-view/layouts/table/empty.js +2 -2
  46. package/dist/components/data-view/layouts/table/group.js +3 -3
  47. package/dist/components/data-view/layouts/table/item.js +3 -3
  48. package/dist/components/data-view/layouts/table/root.js +2 -2
  49. package/dist/components/data-view/parts/body/empty.js +1 -1
  50. package/dist/components/data-view/parts/body/index.js +4 -4
  51. package/dist/components/data-view/parts/controls/index.js +2 -2
  52. package/dist/components/data-view/parts/controls/search.js +2 -2
  53. package/dist/components/data-view/parts/filters/chip.js +1 -1
  54. package/dist/components/data-view/parts/filters/editor.js +1 -1
  55. package/dist/components/data-view/parts/footer/actions.js +2 -2
  56. package/dist/components/data-view/parts/footer/index.js +2 -2
  57. package/dist/components/data-view/parts/footer/selection.js +2 -2
  58. package/dist/components/data-view/parts/view-control/index.js +2 -2
  59. package/dist/components/data-view/root.js +2 -2
  60. package/dist/components/data-view/slots/group/checkbox.js +3 -3
  61. package/dist/components/data-view/slots/group/context.js +1 -1
  62. package/dist/components/data-view/slots/group/icon.js +1 -1
  63. package/dist/components/data-view/slots/group/index.js +1 -1
  64. package/dist/components/data-view/slots/group/label.js +1 -1
  65. package/dist/components/data-view/slots/index.js +3 -3
  66. package/dist/components/data-view/slots/item/actions.js +1 -1
  67. package/dist/components/data-view/slots/item/checkbox.js +2 -2
  68. package/dist/components/data-view/slots/item/depth.js +3 -3
  69. package/dist/components/data-view/slots/item/description.js +1 -1
  70. package/dist/components/data-view/slots/item/index.js +1 -1
  71. package/dist/components/data-view/slots/item/properties.js +2 -2
  72. package/dist/components/data-view/slots/item/relations.js +4 -4
  73. package/dist/components/data-view/slots/item/tags.js +1 -1
  74. package/dist/components/data-view/slots/item/thumbnail.js +1 -1
  75. package/dist/components/data-view/slots/item/title.js +3 -3
  76. package/dist/components/data-view/slots/item/util.js +2 -2
  77. package/dist/components/data-view/slots/property/field/editable.js +2 -2
  78. package/dist/components/data-view/slots/property/field/index.js +1 -1
  79. package/dist/components/data-view/slots/property/field/static.js +1 -1
  80. package/dist/components/data-view/slots/property/index.js +1 -1
  81. package/dist/components/data-view/slots/property/label.js +1 -1
  82. package/dist/components/data-view/slots/root/checkbox.js +2 -2
  83. package/dist/components/data-view/slots/root/index.js +1 -1
  84. package/dist/components/index.js +1 -1
  85. package/dist/components/progress/index.js +1 -1
  86. package/dist/components/shell/pane.js +20 -15
  87. package/dist/components/tag/tag.js +1 -1
  88. package/dist/components/window/index.js +2 -2
  89. package/dist/{filter-DAMRLXNe.js → filter-BqYmWg3n.js} +1 -1
  90. package/dist/{index-CoFfLb68.js → index-BdzBM_aG.js} +1 -1
  91. package/dist/{index-CPOlz97j.js → index-BrUAPkzm.js} +3 -3
  92. package/dist/{index-ClExU5xD.js → index-CWkR83hZ.js} +2 -2
  93. package/dist/index.js +1 -1
  94. package/dist/primitives/colourway/index.js +1 -1
  95. package/dist/primitives/icon-label/index.d.ts +3 -1
  96. package/dist/primitives/icon-label/index.js +18 -13
  97. package/dist/primitives/link/index.js +1 -1
  98. package/dist/primitives/nav-link/index.js +1 -1
  99. package/dist/primitives/resizable/index.js +1 -1
  100. package/dist/primitives/tooltip/index.js +1 -1
  101. package/dist/primitives/truncate/index.js +1 -1
  102. package/dist/primitives/typography/heading.js +1 -1
  103. package/dist/primitives/typography/paragraph.js +1 -1
  104. package/dist/tag-remove-CVXLunYF.js +447 -0
  105. package/package.json +1 -1
  106. package/dist/MAXQOH4L-DBaf8WKp.js +0 -564
  107. package/dist/tag-remove-BVa8oSsq.js +0 -533
@@ -0,0 +1,447 @@
1
+ import { d as pe } from "./S43UC3DV-CiBKpqp8.js";
2
+ import { createContext as ve, useContext as W, useState as ee, useEffect as te, useCallback as fe } from "react";
3
+ import { f as L, c as N, a as B, _ as M, m as P, o as C, r as ge, a7 as he, s as Ce, i as q, q as ne, j as R, e as I, ag as oe, l as re, ah as be, y as z, aa as Te, n as ke, G as ye, T as J, V as F, U as A, a5 as Pe } from "./LMDWO4NN-CIZvvtic.js";
4
+ import { jsx as x, jsxs as ae, Fragment as xe } from "react/jsx-runtime";
5
+ import { u as G, T as se, e as ie, f as Ve, g as Se, h as De } from "./combobox-popover-DcwyOnhG.js";
6
+ import { u as ue } from "./6VRAQV3D-DK_p41oq.js";
7
+ import { a as we, c as Ee, s as Ie, e as _e, b as Oe, d as Q } from "./YV4JVR4I-w1-dnslS.js";
8
+ import { t as Ke } from "./7PRQYBBV-91wrWGjk.js";
9
+ import { u as Re } from "./5JTVDSTH-DcfjjEya.js";
10
+ import { b as Le } from "./PFRGBC2K-B9ko--FF.js";
11
+ import { c as Ne, b as Be } from "./4CMBR7SL-ChJnawVl.js";
12
+ import { R as Me } from "./G7GW6PWC-A0eDeXMt.js";
13
+ var je = ve(!1), Ue = "span", $e = /* @__PURE__ */ x(
14
+ "svg",
15
+ {
16
+ display: "block",
17
+ fill: "none",
18
+ stroke: "currentColor",
19
+ strokeLinecap: "round",
20
+ strokeLinejoin: "round",
21
+ strokeWidth: 1.5,
22
+ viewBox: "0 0 16 16",
23
+ height: "1em",
24
+ width: "1em",
25
+ children: /* @__PURE__ */ x("polyline", { points: "4,8 7,12 12,4" })
26
+ }
27
+ );
28
+ function Fe(o) {
29
+ return o.checked ? o.children || $e : typeof o.children == "function" ? o.children : null;
30
+ }
31
+ var le = N(
32
+ function(r) {
33
+ var n = r, { store: e, checked: a } = n, s = M(n, ["store", "checked"]);
34
+ const c = W(je);
35
+ a = a ?? c;
36
+ const i = Fe({ checked: a, children: s.children });
37
+ return s = P(C({
38
+ "aria-hidden": !0
39
+ }, s), {
40
+ children: i,
41
+ style: C({
42
+ width: "1em",
43
+ height: "1em",
44
+ pointerEvents: "none"
45
+ }, s.style)
46
+ }), ge(s);
47
+ }
48
+ ), ht = L(function(r) {
49
+ const n = le(r);
50
+ return B(Ue, n);
51
+ }), We = "span", qe = N(function(r) {
52
+ var n = r, { store: e, checked: a } = n, s = M(n, ["store", "checked"]);
53
+ const c = W(pe);
54
+ return a = a ?? c, s = le(P(C({}, s), { checked: a })), s;
55
+ }), Ct = L(function(r) {
56
+ const n = qe(r);
57
+ return B(We, n);
58
+ });
59
+ function H() {
60
+ const [o, r] = ee(!1);
61
+ return te(() => {
62
+ r(he());
63
+ }, []), o;
64
+ }
65
+ var Ae = "div", Ge = N(function(r) {
66
+ var n = r, {
67
+ store: e,
68
+ value: a,
69
+ getItem: s,
70
+ removeOnKeyPress: c = !0
71
+ } = n, i = M(n, [
72
+ "store",
73
+ "value",
74
+ "getItem",
75
+ "removeOnKeyPress"
76
+ ]);
77
+ const p = G();
78
+ e = e || p, q(
79
+ e,
80
+ process.env.NODE_ENV !== "production" && "Tag must be wrapped in a TagList component."
81
+ );
82
+ const u = ne(i.id), l = H(), v = fe(
83
+ (t) => {
84
+ const d = P(C({}, t), { value: a });
85
+ return s ? s(d) : d;
86
+ },
87
+ [a, s]
88
+ ), f = i.onKeyDown, g = R(c), b = I((t) => {
89
+ if (f == null || f(t), t.defaultPrevented) return;
90
+ const { inputElement: d } = e.getState(), h = t.key === "Backspace";
91
+ if ((h || t.key === "Delete") && g(t)) {
92
+ t.preventDefault(), e.removeValue(a);
93
+ const y = h && e.previous() || e.next();
94
+ e.move(y);
95
+ }
96
+ const _ = !t.ctrlKey && !t.metaKey && t.key.length === 1, O = !oe(), m = t.key === "v" || t.key === "V", w = (O ? t.ctrlKey : t.metaKey) && m;
97
+ (_ || w) && (d == null || d.focus());
98
+ }), [T, D] = ee();
99
+ return i = re(
100
+ i,
101
+ (t) => /* @__PURE__ */ x(se.Provider, { value: a, children: /* @__PURE__ */ x(ie.Provider, { value: D, children: t }) }),
102
+ [a]
103
+ ), i = P(C({
104
+ id: u,
105
+ role: l ? "listitem" : "option",
106
+ children: a,
107
+ "aria-describedby": T
108
+ }, i), {
109
+ onKeyDown: b
110
+ }), i = ue(P(C({
111
+ store: e
112
+ }, i), {
113
+ getItem: v
114
+ })), i;
115
+ }), bt = Ce(
116
+ L(function(r) {
117
+ const n = Ge(r);
118
+ return B(Ae, n);
119
+ })
120
+ );
121
+ function ce(o) {
122
+ return async () => {
123
+ const r = await (o == null ? void 0 : o());
124
+ return ce(async () => (await (r == null ? void 0 : r()), o));
125
+ };
126
+ }
127
+ var U = He();
128
+ function He({
129
+ limit: o = 100
130
+ } = {}) {
131
+ const r = [];
132
+ let n = [], e = null;
133
+ const a = () => r.length > 0, s = () => n.length > 0;
134
+ return {
135
+ canUndo: a,
136
+ canRedo: s,
137
+ undo: async () => {
138
+ var u;
139
+ a() && (e = null, n.push(await ((u = r.pop()) == null ? void 0 : u())));
140
+ },
141
+ redo: async () => {
142
+ var u;
143
+ s() && (e = null, r.push(await ((u = n.pop()) == null ? void 0 : u())));
144
+ },
145
+ execute: async (u, l) => {
146
+ if (!u) return;
147
+ for (; r.length > o; )
148
+ r.shift();
149
+ const v = l === e;
150
+ e = l ?? null;
151
+ const f = v ? Math.max(0, r.length - 1) : r.length, g = await u();
152
+ if (!g) return;
153
+ n = [];
154
+ const b = r[f];
155
+ r[f] = ce(async () => {
156
+ await (g == null ? void 0 : g());
157
+ const T = await (b == null ? void 0 : b());
158
+ return async () => {
159
+ await (T == null ? void 0 : T()), await (u == null ? void 0 : u());
160
+ };
161
+ });
162
+ }
163
+ };
164
+ }
165
+ var Ze = "input", ze = [`
166
+ `, ";", ",", /\s/];
167
+ function X(o, r = ze) {
168
+ const n = o === void 0 ? r : o;
169
+ return n ? Ke(n) : [];
170
+ }
171
+ function Y(o, r) {
172
+ for (const n of r) {
173
+ let e = o.match(n);
174
+ for (; (e == null ? void 0 : e.index) === 0; )
175
+ o = o.slice(e[0].length), e = o.match(n);
176
+ if (e)
177
+ return o.split(n);
178
+ }
179
+ return [];
180
+ }
181
+ var Je = N(
182
+ function(r) {
183
+ var n = r, {
184
+ store: e,
185
+ tabbable: a = !0,
186
+ delimiter: s,
187
+ addValueOnPaste: c = !0,
188
+ addValueOnChange: i = !0,
189
+ setValueOnChange: p = !0,
190
+ removeOnBackspace: u = !0
191
+ } = n, l = M(n, [
192
+ "store",
193
+ "tabbable",
194
+ "delimiter",
195
+ "addValueOnPaste",
196
+ "addValueOnChange",
197
+ "setValueOnChange",
198
+ "removeOnBackspace"
199
+ ]);
200
+ const v = G();
201
+ e = e || v, q(
202
+ e,
203
+ process.env.NODE_ENV !== "production" && "TagInput must receive a `store` prop or be wrapped in a TagProvider component."
204
+ );
205
+ const f = we(e, "value"), g = l.onPaste, b = R(c), T = I((m) => {
206
+ if (g == null || g(m), m.defaultPrevented) return;
207
+ const k = m.clipboardData.getData("text"), w = X(s), y = Y(k.trim(), w).map((E) => E.trim()).filter((E) => E !== ""), S = Object.assign(m, { values: y });
208
+ if (b(S) && y.length) {
209
+ m.preventDefault();
210
+ for (const E of y)
211
+ e.addValue(E);
212
+ }
213
+ }), D = l.onChange, t = R(p), d = R(i), h = I((m) => {
214
+ if (D == null || D(m), m.defaultPrevented || !e) return;
215
+ const { value: k } = e.getState(), w = be(m), y = m.currentTarget, { start: S, end: E } = z(y), { value: $ } = y;
216
+ if (t(m) && U.execute(() => {
217
+ if (e.setValue($), queueMicrotask(() => {
218
+ Te(y, S, E);
219
+ }), $ !== k)
220
+ return () => e.setValue(k);
221
+ }, w), S === E && S === $.length) {
222
+ const de = X(s);
223
+ let K = Y($, de);
224
+ const Z = K.pop() || "";
225
+ K = K.map((j) => j.trim()).filter((j) => j !== "");
226
+ const me = Object.assign(m, { values: K });
227
+ if (K.length && d(me)) {
228
+ m.preventDefault();
229
+ for (const j of K)
230
+ e.addValue(j);
231
+ U.execute(() => {
232
+ if (e.setValue(Z), Z !== k)
233
+ return () => e.setValue(k);
234
+ }, w);
235
+ }
236
+ }
237
+ }), V = l.onKeyDown, _ = R(u), O = I((m) => {
238
+ if (V == null || V(m), !m.defaultPrevented && m.key === "Backspace" && _(m)) {
239
+ const { start: k, end: w } = z(m.currentTarget);
240
+ if (!(k === w && k === 0)) return;
241
+ e.setValues((S) => S.length ? S.slice(0, -1) : S);
242
+ }
243
+ });
244
+ return l = P(C({
245
+ value: f
246
+ }, l), {
247
+ ref: ke(e.setInputElement, l.ref),
248
+ onPaste: T,
249
+ onChange: h,
250
+ onKeyDown: O
251
+ }), l = ue(C({ store: e, tabbable: a }, l)), l;
252
+ }
253
+ ), Tt = L(function(r) {
254
+ const n = Je(r);
255
+ return B(Ze, n);
256
+ }), Qe = "div", Xe = N(
257
+ function(r) {
258
+ var n = r, { store: e } = n, a = M(n, ["store"]);
259
+ const s = Ve();
260
+ e = e || s, q(
261
+ e,
262
+ process.env.NODE_ENV !== "production" && "TagList must receive a `store` prop or be wrapped in a TagProvider component."
263
+ );
264
+ const c = a.onMouseDown, i = I((t) => {
265
+ if (c == null || c(t), t.defaultPrevented) return;
266
+ const d = t.target, h = t.currentTarget, V = Le(d);
267
+ if (!(V === h) && h.contains(V)) return;
268
+ const { inputElement: O } = e.getState();
269
+ ye(t.currentTarget, "mouseup", () => {
270
+ O == null || O.focus();
271
+ });
272
+ }), p = a.onKeyDown, u = I((t) => {
273
+ if (p == null || p(t), t.defaultPrevented) return;
274
+ const d = !oe(), h = t.key === "z" || t.key === "Z", V = d ? t.ctrlKey : t.metaKey, _ = t.shiftKey && h || d && t.key === "y";
275
+ V && _ ? (t.preventDefault(), U.redo()) : V && h && (t.preventDefault(), U.undo());
276
+ });
277
+ a = re(
278
+ a,
279
+ (t) => /* @__PURE__ */ x(Se, { value: e, children: t }),
280
+ [e]
281
+ ), a = P(C({}, a), {
282
+ onMouseDown: i,
283
+ onKeyDown: u
284
+ }), a = Re(C({ store: e }, a));
285
+ const l = e.useState(
286
+ (t) => t.orientation === "both" ? void 0 : t.orientation
287
+ ), f = e.useState((t) => t.renderedItems).filter((t) => !!t.value).map((t) => t.id), g = e.useState((t) => {
288
+ var d;
289
+ return (d = t.labelElement) == null ? void 0 : d.id;
290
+ }), b = {};
291
+ for (const t in a)
292
+ if (t === "role" || t.startsWith("aria-")) {
293
+ const d = t;
294
+ b[d] = a[d], delete a[d];
295
+ }
296
+ const T = H(), D = /* @__PURE__ */ ae(xe, { children: [
297
+ /* @__PURE__ */ x(
298
+ "div",
299
+ P(C({
300
+ role: T ? "list" : "listbox",
301
+ "aria-live": "polite",
302
+ "aria-relevant": "all",
303
+ "aria-atomic": !0,
304
+ "aria-labelledby": g,
305
+ "aria-orientation": l,
306
+ "aria-owns": f.join(" ")
307
+ }, b), {
308
+ style: { position: "fixed" }
309
+ })
310
+ ),
311
+ a.children
312
+ ] });
313
+ return a = P(C({}, a), {
314
+ children: D
315
+ }), a;
316
+ }
317
+ ), kt = L(function(r) {
318
+ const n = Xe(r);
319
+ return B(Qe, n);
320
+ });
321
+ function Ye(o = {}) {
322
+ var r;
323
+ const n = (r = o.store) == null ? void 0 : r.getState(), e = Ne(o), a = J(A({}, e.getState()), {
324
+ inputElement: F(n == null ? void 0 : n.inputElement, null),
325
+ labelElement: F(n == null ? void 0 : n.labelElement, null),
326
+ value: F(o.value, n == null ? void 0 : n.value, o.defaultValue, ""),
327
+ values: F(
328
+ o.values,
329
+ n == null ? void 0 : n.values,
330
+ o.defaultValues,
331
+ []
332
+ )
333
+ }), s = Ee(a, e, o.store);
334
+ Ie(
335
+ s,
336
+ () => _e(s, ["inputElement", "activeId"], (i) => {
337
+ i.inputElement && i.activeId === void 0 && s.setState("activeId", i.inputElement.id);
338
+ })
339
+ );
340
+ const c = (i) => {
341
+ const { values: p } = s.getState();
342
+ U.execute(() => {
343
+ let u = !0;
344
+ if (s.setState("values", (l) => {
345
+ const v = Pe(i, l);
346
+ return v === l && (u = !1), v;
347
+ }), !!u)
348
+ return () => {
349
+ var l;
350
+ s.setState("values", p), e.move((l = s.getState().inputElement) == null ? void 0 : l.id);
351
+ };
352
+ });
353
+ };
354
+ return J(A(A({}, e), s), {
355
+ setInputElement: (i) => s.setState("inputElement", i),
356
+ setLabelElement: (i) => s.setState("labelElement", i),
357
+ setValue: (i) => s.setState("value", i),
358
+ resetValue: () => s.setState("value", a.value),
359
+ setValues: c,
360
+ addValue: (i) => {
361
+ c((p) => p.includes(i) ? p : [...p, i]);
362
+ },
363
+ removeValue: (i) => c((p) => p.filter((u) => u !== i))
364
+ });
365
+ }
366
+ function et(o, r, n) {
367
+ return Q(o, n, "value", "setValue"), Q(o, n, "values", "setValues"), Be(o, r, n);
368
+ }
369
+ function tt(o = {}) {
370
+ const [r, n] = Oe(Ye, o);
371
+ return et(r, n, o);
372
+ }
373
+ function yt(o = {}) {
374
+ const r = tt(o);
375
+ return /* @__PURE__ */ x(De, { value: r, children: o.children });
376
+ }
377
+ var nt = "button", ot = N(
378
+ function(r) {
379
+ var n = r, {
380
+ store: e,
381
+ value: a,
382
+ removeOnClick: s = !0
383
+ } = n, c = M(n, [
384
+ "store",
385
+ "value",
386
+ "removeOnClick"
387
+ ]);
388
+ const i = G();
389
+ e = e || i, q(
390
+ e,
391
+ process.env.NODE_ENV !== "production" && "TagRemove must receive a `store` prop or be wrapped in a TagProvider component."
392
+ );
393
+ const p = ne(c.id), u = W(ie), l = W(se), v = l !== null, f = a ?? l;
394
+ te(() => (u == null || u(p), () => u == null ? void 0 : u()), [p, u]);
395
+ const g = c.onClick, b = R(s), T = I((d) => {
396
+ if (g == null || g(d), d.defaultPrevented || !e || !f || !b(d)) return;
397
+ const { inputElement: h } = e.getState();
398
+ e.removeValue(f), h == null || h.focus();
399
+ }), D = /* @__PURE__ */ ae(
400
+ "svg",
401
+ {
402
+ display: "block",
403
+ viewBox: "0 0 24 24",
404
+ fill: "none",
405
+ stroke: "currentColor",
406
+ strokeWidth: 1.5,
407
+ strokeLinecap: "round",
408
+ strokeLinejoin: "round",
409
+ height: "1em",
410
+ width: "1em",
411
+ "aria-hidden": !0,
412
+ children: [
413
+ /* @__PURE__ */ x("path", { d: "M7.28782 5.46243C7.80963 4.92308 8.07054 4.65341 8.37751 4.46038C8.64963 4.28926 8.94749 4.16299 9.25969 4.0864C9.61186 4 9.98709 4 10.7375 4H16.8C17.9201 4 18.4802 4 18.908 4.21799C19.2843 4.40973 19.5903 4.71569 19.782 5.09202C20 5.51984 20 6.0799 20 7.2V16.8C20 17.9201 20 18.4802 19.782 18.908C19.5903 19.2843 19.2843 19.5903 18.908 19.782C18.4802 20 17.9201 20 16.8 20H10.7512C9.99584 20 9.61818 20 9.264 19.9126C8.95004 19.8351 8.65067 19.7073 8.37748 19.5342C8.06931 19.339 7.80802 19.0663 7.28544 18.521L2.59879 13.63C2.03714 13.0439 1.75631 12.7508 1.65115 12.4158C1.55859 12.121 1.55935 11.8048 1.65332 11.5104C1.7601 11.1759 2.04233 10.8842 2.60679 10.3008L7.28782 5.46243Z" }),
414
+ /* @__PURE__ */ x("path", { d: "M10.052 9L16 15M15.948 9L10 15" })
415
+ ]
416
+ }
417
+ ), t = H() && v;
418
+ return c = P(C({
419
+ id: p,
420
+ children: D,
421
+ role: t ? "button" : void 0,
422
+ "aria-hidden": !t,
423
+ "aria-label": t ? `Remove ${f}` : v ? "Press Delete or Backspace to remove" : void 0
424
+ }, c), {
425
+ onClick: T,
426
+ render: v ? /* @__PURE__ */ x(Me.span, { render: c.render }) : c.render
427
+ }), c;
428
+ }
429
+ ), Pt = L(function(r) {
430
+ const n = ot(r);
431
+ return B(nt, n);
432
+ });
433
+ export {
434
+ Ct as C,
435
+ yt as T,
436
+ kt as a,
437
+ bt as b,
438
+ Pt as c,
439
+ Tt as d,
440
+ je as e,
441
+ ht as f,
442
+ Ge as g,
443
+ Je as h,
444
+ Xe as i,
445
+ ot as j,
446
+ le as u
447
+ };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wrdagency/blockout",
3
- "version": "1.0.13",
3
+ "version": "1.0.17",
4
4
  "description": "A React component library created by WRD.agency",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",