@drawbridge/components 0.1.23 → 0.1.25

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 (81) hide show
  1. package/dist/bridge/form-subdomain-embed.js +1 -0
  2. package/dist/bridge/form-subdomain-embed.mjs +1 -0
  3. package/dist/bridge/form-subdomain.js +5 -2
  4. package/dist/bridge/form-subdomain.mjs +5 -2
  5. package/dist/bridge/template-modal.js +2 -2
  6. package/dist/bridge/template-modal.mjs +2 -2
  7. package/dist/dashboard/buttons-subscription.js +27 -66
  8. package/dist/dashboard/buttons-subscription.mjs +27 -65
  9. package/dist/dashboard/card-payment-method.js +1 -1
  10. package/dist/dashboard/card-payment-method.mjs +1 -1
  11. package/dist/dashboard/card-section.js +2 -2
  12. package/dist/dashboard/card-section.mjs +2 -2
  13. package/dist/dashboard/card-setting.js +3 -4
  14. package/dist/dashboard/card-setting.mjs +3 -4
  15. package/dist/dashboard/card-task.js +4 -22
  16. package/dist/dashboard/card-task.mjs +4 -22
  17. package/dist/dashboard/card-tile.js +6 -6
  18. package/dist/dashboard/card-tile.mjs +6 -6
  19. package/dist/dashboard/drawer.js +2 -7
  20. package/dist/dashboard/drawer.mjs +3 -8
  21. package/dist/dashboard/form-organization-campaign-integration-gtm.js +6 -5
  22. package/dist/dashboard/form-organization-campaign-integration-gtm.mjs +6 -5
  23. package/dist/dashboard/form-organization-campaign.js +1 -1
  24. package/dist/dashboard/form-organization-campaign.mjs +1 -1
  25. package/dist/dashboard/form-organization-identity.js +3 -3
  26. package/dist/dashboard/form-organization-identity.mjs +3 -3
  27. package/dist/dashboard/form-organization-workflow.js +9 -7
  28. package/dist/dashboard/form-organization-workflow.mjs +9 -7
  29. package/dist/dashboard/form-organization.js +40 -3
  30. package/dist/dashboard/form-organization.mjs +40 -3
  31. package/dist/dashboard/guide.js +238 -0
  32. package/dist/dashboard/guide.mjs +209 -0
  33. package/dist/dashboard/input-combobox.js +2 -7
  34. package/dist/dashboard/input-combobox.mjs +2 -7
  35. package/dist/dashboard/list.js +1 -1
  36. package/dist/dashboard/list.mjs +1 -1
  37. package/dist/dashboard/menu.js +96 -188
  38. package/dist/dashboard/menu.mjs +97 -189
  39. package/dist/dashboard/modal.js +3 -9
  40. package/dist/dashboard/modal.mjs +4 -10
  41. package/dist/dashboard/notice.js +3 -5
  42. package/dist/dashboard/notice.mjs +3 -5
  43. package/dist/dashboard/table-cell-title.js +0 -2
  44. package/dist/dashboard/table-cell-title.mjs +0 -2
  45. package/dist/dashboard/table.js +20 -61
  46. package/dist/dashboard/table.mjs +20 -61
  47. package/dist/dashboard/template-dashboard.js +133 -35
  48. package/dist/dashboard/template-dashboard.mjs +134 -36
  49. package/dist/dashboard/template-socket.js +3 -19
  50. package/dist/dashboard/template-socket.mjs +3 -19
  51. package/dist/dashboard/template-ui.js +186 -150
  52. package/dist/dashboard/template-ui.mjs +187 -151
  53. package/dist/shared/lib/helpers.js +2 -9
  54. package/dist/shared/lib/helpers.mjs +2 -9
  55. package/dist/shared/overlay.js +3 -5
  56. package/dist/shared/overlay.mjs +3 -5
  57. package/package.json +13 -28
  58. package/types/dashboard/card-task.d.ts +1 -5
  59. package/types/dashboard/guide.d.ts +23 -0
  60. package/types/dashboard/table.d.ts +1 -3
  61. package/types/dashboard/template-dashboard.d.ts +1 -4
  62. package/types/dashboard/template-ui.d.ts +2 -2
  63. package/dist/dashboard/lib/escape.js +0 -48
  64. package/dist/dashboard/lib/escape.mjs +0 -25
  65. package/dist/dashboard/lib/rail.js +0 -75
  66. package/dist/dashboard/lib/rail.mjs +0 -46
  67. package/dist/dashboard/lib/throttle.js +0 -57
  68. package/dist/dashboard/lib/throttle.mjs +0 -34
  69. package/dist/dashboard/template-rail.js +0 -674
  70. package/dist/dashboard/template-rail.mjs +0 -640
  71. package/dist/icons/book-open.js +0 -46
  72. package/dist/icons/book-open.mjs +0 -27
  73. package/dist/icons/task.js +0 -46
  74. package/dist/icons/task.mjs +0 -27
  75. package/dist/shared/lib/motion.js +0 -27
  76. package/dist/shared/lib/motion.mjs +0 -4
  77. package/types/dashboard/lib/rail.d.ts +0 -32
  78. package/types/dashboard/lib/throttle.d.ts +0 -5
  79. package/types/dashboard/template-rail.d.ts +0 -36
  80. package/types/icons/book-open.d.ts +0 -5
  81. package/types/icons/task.d.ts +0 -5
@@ -1,640 +0,0 @@
1
- "use client";
2
- import { jsx, jsxs } from "react/jsx-runtime";
3
- import { useEffect, useRef, useState } from "react";
4
- import { createPortal } from "react-dom";
5
- import { useQuery, useQueryClient } from "@tanstack/react-query";
6
- import { railCount, railItems, railOnScreen, railOverlap, railTabTarget, railView } from "./lib/rail.mjs";
7
- import CardTask from "./card-task.mjs";
8
- import Badge from "../shared/badge.mjs";
9
- import Button from "../shared/button.mjs";
10
- import Empty from "../shared/empty.mjs";
11
- import Tooltip from "../shared/tooltip.mjs";
12
- import BookOpen from "../icons/book-open.mjs";
13
- import Task from "../icons/task.mjs";
14
- import Times from "../icons/times.mjs";
15
- const titles = {
16
- guide: "Screen guide",
17
- next: "Next steps"
18
- };
19
- const RING_MS = 3e3;
20
- const useRail = () => {
21
- var _a;
22
- const queryClient = useQueryClient();
23
- const rail = useQuery({
24
- queryFn: () => ({
25
- panel: null
26
- }),
27
- queryKey: ["rail"]
28
- });
29
- return {
30
- panel: ((_a = rail.data) == null ? void 0 : _a.panel) || null,
31
- set: (panel) => queryClient.setQueryData(
32
- ["rail"],
33
- {
34
- panel
35
- }
36
- )
37
- };
38
- };
39
- const Group = ({
40
- items,
41
- onFollow,
42
- title
43
- }) => items.length > 0 && /* @__PURE__ */ jsxs(
44
- "section",
45
- {
46
- ...{
47
- className: "space-y-3"
48
- },
49
- children: [
50
- /* @__PURE__ */ jsxs(
51
- "p",
52
- {
53
- ...{
54
- className: "flex items-center gap-2 text-sm text-gray-dark"
55
- },
56
- children: [
57
- /* @__PURE__ */ jsx("span", { children: title }),
58
- /* @__PURE__ */ jsx(
59
- Badge,
60
- {
61
- ...{
62
- size: "small"
63
- },
64
- children: items.length
65
- }
66
- )
67
- ]
68
- }
69
- ),
70
- items.map((item, index) => /* @__PURE__ */ jsx(
71
- CardTask,
72
- {
73
- ...{
74
- badge: item.area,
75
- message: item.why,
76
- stack: true,
77
- title: item.title,
78
- type: item.kind === "required" ? "warning" : "recommended",
79
- ...item.href && {
80
- button: {
81
- href: item.href,
82
- onClick: onFollow,
83
- text: item.button
84
- }
85
- }
86
- }
87
- },
88
- item.href + item.title + index
89
- ))
90
- ]
91
- }
92
- );
93
- const NextSteps = ({
94
- items,
95
- onFollow
96
- }) => items.length === 0 ? /* @__PURE__ */ jsx(
97
- Empty,
98
- {
99
- ...{
100
- variant: "secondary"
101
- },
102
- children: "Everything is up to date"
103
- }
104
- ) : /* @__PURE__ */ jsxs(
105
- "div",
106
- {
107
- ...{
108
- className: "space-y-6"
109
- },
110
- children: [
111
- /* @__PURE__ */ jsx(
112
- Group,
113
- {
114
- ...{
115
- items: items.filter(({ kind }) => kind === "required"),
116
- onFollow,
117
- title: "Required"
118
- }
119
- }
120
- ),
121
- /* @__PURE__ */ jsx(
122
- Group,
123
- {
124
- ...{
125
- items: items.filter(({ kind }) => kind === "recommended"),
126
- onFollow,
127
- title: "Recommended"
128
- }
129
- }
130
- )
131
- ]
132
- }
133
- );
134
- const ScreenGuide = ({
135
- guide,
136
- onShow
137
- }) => /* @__PURE__ */ jsx(
138
- "ol",
139
- {
140
- ...{
141
- className: "divide-y divide-gray"
142
- },
143
- children: guide.steps.map((step, index) => /* @__PURE__ */ jsxs(
144
- "li",
145
- {
146
- ...{
147
- className: "grid grid-cols-[28px_minmax(0,1fr)] gap-3 py-4 first:pt-0 last:pb-0"
148
- },
149
- children: [
150
- /* @__PURE__ */ jsx(
151
- Badge,
152
- {
153
- ...{
154
- className: "self-start"
155
- },
156
- children: index + 1
157
- }
158
- ),
159
- /* @__PURE__ */ jsxs(
160
- "div",
161
- {
162
- ...{
163
- className: "space-y-2 min-w-0"
164
- },
165
- children: [
166
- /* @__PURE__ */ jsx(
167
- "p",
168
- {
169
- ...{
170
- className: "font-medium"
171
- },
172
- children: step.title
173
- }
174
- ),
175
- step.content.map((line, key) => /* @__PURE__ */ jsx(
176
- "p",
177
- {
178
- ...{
179
- className: "text-sm"
180
- },
181
- children: line
182
- },
183
- key
184
- )),
185
- step.target !== "body" ? /* @__PURE__ */ jsx(
186
- Button,
187
- {
188
- ...{
189
- inline: true,
190
- onClick: () => onShow(step.target),
191
- size: "small",
192
- variant: "secondary"
193
- },
194
- children: "Show me"
195
- }
196
- ) : /* @__PURE__ */ jsx(
197
- "p",
198
- {
199
- ...{
200
- className: "text-sm text-gray-dark"
201
- },
202
- children: "Applies to the whole screen"
203
- }
204
- )
205
- ]
206
- }
207
- )
208
- ]
209
- },
210
- index
211
- ))
212
- }
213
- );
214
- const RailButton = ({
215
- count,
216
- icon: Icon,
217
- label,
218
- onClick,
219
- pressed
220
- }) => {
221
- const [hovered, setHovered] = useState(false);
222
- const open = hovered && !pressed;
223
- return /* @__PURE__ */ jsx(
224
- Tooltip,
225
- {
226
- ...{
227
- content: label,
228
- open,
229
- placement: "left",
230
- // Shut is not drawn at all: a closing label faded over the panel.
231
- ...!open && {
232
- styles: {
233
- floater: {
234
- display: "none"
235
- }
236
- }
237
- }
238
- },
239
- children: /* @__PURE__ */ jsx(
240
- Button,
241
- {
242
- ...{
243
- "aria-label": count ? label + ", " + count + " required" : label,
244
- "aria-pressed": pressed,
245
- inline: true,
246
- onClick: () => {
247
- setHovered(false);
248
- onClick();
249
- },
250
- onMouseEnter: () => setHovered(true),
251
- onMouseLeave: () => setHovered(false),
252
- variant: "link"
253
- },
254
- children: /* @__PURE__ */ jsxs(
255
- "span",
256
- {
257
- ...{
258
- className: "relative flex items-center justify-center w-9 h-9 rounded transition duration-300 " + (pressed ? "bg-gray-light ring-1 ring-gray" : "hover:bg-gray-light")
259
- },
260
- children: [
261
- /* @__PURE__ */ jsx(
262
- Icon,
263
- {
264
- ...{
265
- className: "w-5 h-5"
266
- }
267
- }
268
- ),
269
- count > 0 && /* @__PURE__ */ jsx(
270
- Badge,
271
- {
272
- ...{
273
- className: "absolute -top-1.5 -right-1 px-1!",
274
- size: "small",
275
- type: "warning"
276
- },
277
- children: count
278
- }
279
- )
280
- ]
281
- }
282
- )
283
- }
284
- )
285
- }
286
- );
287
- };
288
- const Ring = ({
289
- rect
290
- }) => rect && createPortal(
291
- /* @__PURE__ */ jsx(
292
- "div",
293
- {
294
- ...{
295
- "data-rail-ring": true,
296
- className: "fixed z-[60] rounded pointer-events-none ring-4 ring-green-dark ring-offset-2 ring-offset-white",
297
- style: {
298
- height: rect.height,
299
- left: rect.left,
300
- top: rect.top,
301
- width: rect.width
302
- }
303
- }
304
- }
305
- ),
306
- document.body
307
- );
308
- const scrollBox = (element) => {
309
- let box = element.parentElement;
310
- while (box && !(/auto|scroll/.test(getComputedStyle(box).overflowY) && box.scrollHeight > box.clientHeight)) {
311
- box = box.parentElement;
312
- }
313
- ;
314
- return box;
315
- };
316
- const scrollTo = (box, element) => {
317
- const from = box.getBoundingClientRect();
318
- const to = element.getBoundingClientRect();
319
- box.scrollTo({
320
- behavior: window.matchMedia("(prefers-reduced-motion: reduce)").matches ? "auto" : "smooth",
321
- top: box.scrollTop + to.top - from.top - (box.clientHeight - to.height) / 2
322
- });
323
- };
324
- const TemplateRail = ({
325
- account,
326
- campaign,
327
- children,
328
- guide,
329
- organization,
330
- params = {},
331
- path = ""
332
- }) => {
333
- const queryClient = useQueryClient();
334
- const { panel, set } = useRail();
335
- const page = useQuery({
336
- enabled: false,
337
- // the page's builder loads it
338
- queryKey: ["organization-campaign-page", params]
339
- });
340
- const items = railItems({
341
- account,
342
- campaign,
343
- organization,
344
- page: page.data,
345
- params,
346
- path
347
- });
348
- const view = railView({
349
- guide,
350
- panel
351
- });
352
- const toggle = (next) => set(view === next ? null : next);
353
- const close = () => set(null);
354
- const aside = useRef(null);
355
- const opened = useRef(Boolean(view));
356
- const arrived = useRef(Boolean(view));
357
- if (!view) arrived.current = false;
358
- const opener = useRef(null);
359
- const [ring, setRing] = useState(null);
360
- const [rect, setRect] = useState(null);
361
- const [away, setAway] = useState(false);
362
- useEffect(
363
- () => {
364
- if (!ring) return void 0;
365
- const element = document.querySelector(ring.target);
366
- const box = element && scrollBox(element);
367
- const shown = element && element.getClientRects().length > 0 && railOnScreen(
368
- (box || element).getBoundingClientRect(),
369
- {
370
- height: window.innerHeight,
371
- width: window.innerWidth
372
- }
373
- );
374
- if (!shown) {
375
- queryClient.setQueryData(
376
- ["notice"],
377
- {
378
- active: true,
379
- response: {
380
- message: "That isn't on this page right now"
381
- }
382
- }
383
- );
384
- setRing(null);
385
- return void 0;
386
- }
387
- if (box) scrollTo(box, element);
388
- const end = Date.now() + RING_MS;
389
- let frame;
390
- const step = () => {
391
- if (Date.now() > end || !element.isConnected) {
392
- setRect(null);
393
- setAway(false);
394
- setRing(null);
395
- return;
396
- }
397
- const box2 = element.getBoundingClientRect();
398
- setRect(box2);
399
- setAway(aside.current ? railOverlap(box2, aside.current.getBoundingClientRect()) : false);
400
- frame = window.requestAnimationFrame(step);
401
- };
402
- step();
403
- return () => {
404
- window.cancelAnimationFrame(frame);
405
- setRect(null);
406
- setAway(false);
407
- };
408
- },
409
- [queryClient, ring]
410
- );
411
- useEffect(
412
- () => {
413
- var _a, _b;
414
- const open = Boolean(view);
415
- if (open === opened.current) return;
416
- opened.current = open;
417
- if (open) {
418
- opener.current = document.activeElement;
419
- (_a = aside.current) == null ? void 0 : _a.focus();
420
- return;
421
- }
422
- if ((_b = opener.current) == null ? void 0 : _b.isConnected) opener.current.focus();
423
- opener.current = null;
424
- },
425
- [view]
426
- );
427
- const phone = () => window.matchMedia("(max-width: 767px)").matches;
428
- const onKeyDown = (event) => {
429
- if (event.key === "Escape") {
430
- event.preventDefault();
431
- close();
432
- return;
433
- }
434
- if (event.key !== "Tab" || !phone()) return;
435
- const next = railTabTarget({
436
- active: document.activeElement,
437
- items: [...aside.current.querySelectorAll("a[href], button:not([disabled])")],
438
- shift: event.shiftKey
439
- });
440
- if (next) {
441
- event.preventDefault();
442
- next.focus();
443
- }
444
- };
445
- const onFollow = () => {
446
- if (phone()) close();
447
- };
448
- const onShow = (target) => setRing({
449
- nonce: Date.now(),
450
- target
451
- });
452
- return /* @__PURE__ */ jsxs(
453
- "div",
454
- {
455
- ...{
456
- className: "relative flex h-full w-full min-w-0 md:w-3/4 lg:w-4/5"
457
- },
458
- children: [
459
- /* @__PURE__ */ jsx(
460
- "div",
461
- {
462
- ...{
463
- className: "@container flex flex-col h-full flex-1 min-w-0"
464
- },
465
- children
466
- }
467
- ),
468
- view && /* @__PURE__ */ jsxs(
469
- "aside",
470
- {
471
- ...{
472
- "aria-label": titles[view],
473
- className: "fixed inset-0 z-[35] flex flex-col bg-white outline-none transition duration-200 ease-out motion-reduce:transition-none md:absolute md:inset-auto md:top-0 md:bottom-0 md:right-12 md:z-20 md:w-96 md:border-l md:border-gray 2xl:static 2xl:z-auto 2xl:h-full 2xl:shrink-0 " + (arrived.current ? "" : "starting:opacity-0 starting:translate-x-4 ") + (away ? "opacity-0 pointer-events-none" : ""),
474
- onKeyDown,
475
- ref: aside,
476
- tabIndex: -1
477
- },
478
- children: [
479
- /* @__PURE__ */ jsxs(
480
- "div",
481
- {
482
- ...{
483
- className: "flex items-center justify-between h-14 px-6 shrink-0 border-b border-gray"
484
- },
485
- children: [
486
- /* @__PURE__ */ jsx(
487
- "span",
488
- {
489
- ...{
490
- className: "font-medium"
491
- },
492
- children: titles[view]
493
- }
494
- ),
495
- /* @__PURE__ */ jsx(
496
- "span",
497
- {
498
- ...{
499
- className: "flex md:hidden"
500
- },
501
- children: /* @__PURE__ */ jsx(
502
- Button,
503
- {
504
- ...{
505
- "aria-label": "Close",
506
- inline: true,
507
- onClick: close,
508
- variant: "link"
509
- },
510
- children: /* @__PURE__ */ jsx(
511
- Times,
512
- {
513
- ...{
514
- className: "w-6 h-6"
515
- }
516
- }
517
- )
518
- }
519
- )
520
- }
521
- )
522
- ]
523
- }
524
- ),
525
- /* @__PURE__ */ jsxs(
526
- "div",
527
- {
528
- ...{
529
- className: "flex-1 min-h-0 overflow-y-auto p-6"
530
- },
531
- children: [
532
- view === "next" && /* @__PURE__ */ jsx(
533
- NextSteps,
534
- {
535
- ...{
536
- items,
537
- onFollow
538
- }
539
- }
540
- ),
541
- view === "guide" && /* @__PURE__ */ jsx(
542
- ScreenGuide,
543
- {
544
- ...{
545
- guide,
546
- onShow
547
- }
548
- }
549
- )
550
- ]
551
- }
552
- )
553
- ]
554
- }
555
- ),
556
- /* @__PURE__ */ jsxs(
557
- "nav",
558
- {
559
- ...{
560
- "aria-label": "Rail",
561
- className: "hidden md:flex flex-col items-center gap-2 w-12 h-full shrink-0 py-3 bg-white border-l border-gray relative z-20"
562
- },
563
- children: [
564
- /* @__PURE__ */ jsx(
565
- RailButton,
566
- {
567
- ...{
568
- count: railCount(items),
569
- icon: Task,
570
- label: titles.next,
571
- onClick: () => toggle("next"),
572
- pressed: view === "next"
573
- }
574
- }
575
- ),
576
- guide && /* @__PURE__ */ jsx(
577
- RailButton,
578
- {
579
- ...{
580
- icon: BookOpen,
581
- label: titles.guide,
582
- onClick: () => toggle("guide"),
583
- pressed: view === "guide"
584
- }
585
- }
586
- )
587
- ]
588
- }
589
- ),
590
- /* @__PURE__ */ jsx(
591
- Ring,
592
- {
593
- ...{
594
- rect
595
- }
596
- }
597
- )
598
- ]
599
- }
600
- );
601
- };
602
- const TemplateRailBook = ({
603
- guide
604
- }) => {
605
- const { set } = useRail();
606
- if (!guide) return null;
607
- return /* @__PURE__ */ jsx(
608
- "div",
609
- {
610
- ...{
611
- className: "flex text-white transform duration-300 hover:opacity-70 md:hidden"
612
- },
613
- children: /* @__PURE__ */ jsx(
614
- Button,
615
- {
616
- ...{
617
- "aria-label": titles.guide,
618
- inline: true,
619
- onClick: () => set("guide"),
620
- variant: "link"
621
- },
622
- children: /* @__PURE__ */ jsx(
623
- BookOpen,
624
- {
625
- ...{
626
- className: "w-6 h-6 shrink-0"
627
- }
628
- }
629
- )
630
- }
631
- )
632
- }
633
- );
634
- };
635
- var template_rail_default = TemplateRail;
636
- export {
637
- TemplateRailBook,
638
- template_rail_default as default,
639
- useRail
640
- };
@@ -1,46 +0,0 @@
1
- var __defProp = Object.defineProperty;
2
- var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
3
- var __getOwnPropNames = Object.getOwnPropertyNames;
4
- var __hasOwnProp = Object.prototype.hasOwnProperty;
5
- var __export = (target, all) => {
6
- for (var name in all)
7
- __defProp(target, name, { get: all[name], enumerable: true });
8
- };
9
- var __copyProps = (to, from, except, desc) => {
10
- if (from && typeof from === "object" || typeof from === "function") {
11
- for (let key of __getOwnPropNames(from))
12
- if (!__hasOwnProp.call(to, key) && key !== except)
13
- __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
14
- }
15
- return to;
16
- };
17
- var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
18
- var book_open_exports = {};
19
- __export(book_open_exports, {
20
- default: () => book_open_default
21
- });
22
- module.exports = __toCommonJS(book_open_exports);
23
- var import_jsx_runtime = require("react/jsx-runtime");
24
- const BookOpen = (props) => /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
25
- "svg",
26
- {
27
- ...{
28
- fill: "none",
29
- stroke: "currentColor",
30
- strokeWidth: 1.5,
31
- viewBox: "0 0 24 24",
32
- ...props
33
- },
34
- children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
35
- "path",
36
- {
37
- ...{
38
- d: "M12 6.042A8.967 8.967 0 0 0 6 3.75c-1.052 0-2.062.18-3 .512v14.25A8.987 8.987 0 0 1 6 18c2.305 0 4.408.867 6 2.292m0-14.25a8.966 8.966 0 0 1 6-2.292c1.052 0 2.062.18 3 .512v14.25A8.987 8.987 0 0 0 18 18a8.967 8.967 0 0 0-6 2.292m0-14.25v14.25",
39
- strokeLinecap: "round",
40
- strokeLinejoin: "round"
41
- }
42
- }
43
- )
44
- }
45
- );
46
- var book_open_default = BookOpen;
@@ -1,27 +0,0 @@
1
- import { jsx } from "react/jsx-runtime";
2
- const BookOpen = (props) => /* @__PURE__ */ jsx(
3
- "svg",
4
- {
5
- ...{
6
- fill: "none",
7
- stroke: "currentColor",
8
- strokeWidth: 1.5,
9
- viewBox: "0 0 24 24",
10
- ...props
11
- },
12
- children: /* @__PURE__ */ jsx(
13
- "path",
14
- {
15
- ...{
16
- d: "M12 6.042A8.967 8.967 0 0 0 6 3.75c-1.052 0-2.062.18-3 .512v14.25A8.987 8.987 0 0 1 6 18c2.305 0 4.408.867 6 2.292m0-14.25a8.966 8.966 0 0 1 6-2.292c1.052 0 2.062.18 3 .512v14.25A8.987 8.987 0 0 0 18 18a8.967 8.967 0 0 0-6 2.292m0-14.25v14.25",
17
- strokeLinecap: "round",
18
- strokeLinejoin: "round"
19
- }
20
- }
21
- )
22
- }
23
- );
24
- var book_open_default = BookOpen;
25
- export {
26
- book_open_default as default
27
- };