@ostack.tech/ui-exhibit 1.3.0-beta.0 → 1.3.0-beta.1

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,16 @@
1
1
  import { c } from "react/compiler-runtime";
2
- import { Alert, AlertDialog, AlertDialogAction, AlertDialogBody, AlertDialogCancel, AlertDialogContent, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogTitle, AlertDialogTrigger, AlertTitle, Button, ButtonGroup, Calendar, Checkbox, CheckboxGroup, Code, Collapsible, CollapsibleContent, CollapsibleTrigger, CommandMenu, CommandMenuDialog, CommandMenuGroup, CommandMenuItem, Container, ControlAddon, DataTable, DataTableContent, DataTableFilter, DataTablePagination, DataTableRowsPerPage, DateInput, DateRangeInput, DescriptionList, DescriptionListItem, Dialog, DialogBody, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogTitle, DialogTrigger, DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger, Feedback, Field, FieldGroup, FieldGroupBody, FieldGroupHeader, FieldGroupTitle, Heading, HelperText, IconButton, Input, Keybinds, Keyboard, Label, Link, Mark, MenuList, MenuListGroup, MenuListItem, NumericInput, Option, Output, Popover, PopoverContent, PopoverTrigger, Radio, RadioGroup, Root, Select, Spinner, Stack, Step, StepContent, StepList, Stepper, StepperFinishTrigger, StepperNextTrigger, StepperPreviousTrigger, Tab, TabContent, TabList, Table, TableBody, TableCell, TableColumn, TableFoot, TableHead, TableRow, Tabs, Tag, TextArea, Tooltip, VisuallyHidden, useCssVars, useKeyboardShortcut, useSpacing, useToastManager } from "@ostack.tech/ui";
2
+ import { Alert, AlertDialog, AlertDialogAction, AlertDialogBody, AlertDialogCancel, AlertDialogContent, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogTitle, AlertDialogTrigger, AlertTitle, Box, Button, ButtonGroup, Calendar, Checkbox, CheckboxGroup, Code, Collapsible, CollapsibleContent, CollapsibleTrigger, CommandMenu, CommandMenuDialog, CommandMenuGroup, CommandMenuItem, Container, ControlAddon, DataTable, DataTableContent, DataTableFilter, DataTablePagination, DataTableRowsPerPage, DateInput, DateRangeInput, DescriptionList, DescriptionListItem, Dialog, DialogBody, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogTitle, DialogTrigger, DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger, Feedback, Field, FieldGroup, FieldGroupBody, FieldGroupHeader, FieldGroupTitle, Heading, HelperText, IconButton, Input, Keybinds, Keyboard, Label, Link, Mark, MenuList, MenuListGroup, MenuListItem, NumericInput, Option, Output, Popover, PopoverContent, PopoverTrigger, Radio, RadioGroup, Root, Select, Spinner, Stack, Step, StepContent, StepList, Stepper, StepperFinishTrigger, StepperNextTrigger, StepperPreviousTrigger, Tab, TabContent, TabList, Table, TableBody, TableCell, TableColumn, TableFoot, TableHead, TableRow, Tabs, Tag, Text, TextArea, Tooltip, VisuallyHidden, useCssVars, useKeyboardShortcut, useToastManager } from "@ostack.tech/ui";
3
3
  import { enGB } from "@ostack.tech/ui/locales";
4
4
  import { DEV } from "esm-env";
5
5
  import { Fragment, createContext, useContext, useState } from "react";
6
6
  import { Fragment as Fragment$1, jsx, jsxs } from "react/jsx-runtime";
7
7
  import { faBolt, faBookmark, faCaretDown, faCaretUp, faCircleXmark, faClock, faComment, faDisplay, faEye, faFolderOpen, faGear, faKeyboard, faNetworkWired, faPencil, faPrint, faSave, faSeedling, faStar, faTrashCan, faUser, faVolumeHigh, faWifi } from "@fortawesome/free-solid-svg-icons";
8
- //#region src/ExhibitContext.tsx
8
+ // src/ExhibitContext.tsx
9
9
  var ExhibitContext = createContext(null);
10
10
  function useDocsUrl() {
11
11
  return useContext(ExhibitContext).docsUrl;
12
12
  }
13
- //#endregion
14
- //#region src/components/ExhibitGrid.tsx
13
+ // src/components/ExhibitGrid.tsx
15
14
  function ExhibitGrid(t0) {
16
15
  const $ = c(17);
17
16
  const { rows, cols, renderItem } = t0;
@@ -37,7 +36,7 @@ function ExhibitGrid(t0) {
37
36
  } else t5 = $[5];
38
37
  let t6;
39
38
  if ($[6] !== cols) {
40
- t6 = Object.keys(cols).map(_temp$27);
39
+ t6 = Object.keys(cols).map(_temp$28);
41
40
  $[6] = cols;
42
41
  $[7] = t6;
43
42
  } else t6 = $[7];
@@ -84,14 +83,13 @@ function ExhibitGrid(t0) {
84
83
  } else t8 = $[16];
85
84
  return t8;
86
85
  }
87
- function _temp$27(colLabel) {
86
+ function _temp$28(colLabel) {
88
87
  return /* @__PURE__ */ jsx("div", {
89
88
  className: "exhibit-grid-col-label",
90
89
  children: colLabel
91
90
  }, colLabel);
92
91
  }
93
- //#endregion
94
- //#region src/components/ExhibitSection.tsx
92
+ // src/components/ExhibitSection.tsx
95
93
  function ExhibitSection(t0) {
96
94
  const $ = c(35);
97
95
  const { title, docsPage, children } = t0;
@@ -229,8 +227,7 @@ function ExhibitSection(t0) {
229
227
  } else t21 = $[34];
230
228
  return t21;
231
229
  }
232
- //#endregion
233
- //#region src/sections/AlertDialogSection.tsx
230
+ // src/sections/AlertDialogSection.tsx
234
231
  function AlertDialogSection() {
235
232
  const $ = c(1);
236
233
  let t0;
@@ -252,14 +249,14 @@ function AlertDialogSection() {
252
249
  Outlined: "outlined",
253
250
  Ghost: "ghost"
254
251
  },
255
- renderItem: _temp$26
252
+ renderItem: _temp$27
256
253
  })
257
254
  });
258
255
  $[0] = t0;
259
256
  } else t0 = $[0];
260
257
  return t0;
261
258
  }
262
- function _temp$26(t0) {
259
+ function _temp$27(t0) {
263
260
  const { col, row } = t0;
264
261
  return /* @__PURE__ */ jsxs(AlertDialog, { children: [/* @__PURE__ */ jsx(AlertDialogTrigger, { children: /* @__PURE__ */ jsx(Button, {
265
262
  variant: row,
@@ -281,8 +278,7 @@ function _temp$26(t0) {
281
278
  ]
282
279
  })] });
283
280
  }
284
- //#endregion
285
- //#region src/sections/AlertSection.tsx
281
+ // src/sections/AlertSection.tsx
286
282
  function AlertSection() {
287
283
  const $ = c(1);
288
284
  let t0;
@@ -306,14 +302,14 @@ function AlertSection() {
306
302
  Subtle: "subtle",
307
303
  Outlined: "outlined"
308
304
  },
309
- renderItem: _temp$25
305
+ renderItem: _temp$26
310
306
  })
311
307
  });
312
308
  $[0] = t0;
313
309
  } else t0 = $[0];
314
310
  return t0;
315
311
  }
316
- function _temp$25(t0) {
312
+ function _temp$26(t0) {
317
313
  const { col, row } = t0;
318
314
  return /* @__PURE__ */ jsxs(Alert, {
319
315
  variant: row,
@@ -326,8 +322,7 @@ function _temp$25(t0) {
326
322
  children: [col === "title" && /* @__PURE__ */ jsx(AlertTitle, { children: "Notice" }), "Terms may apply."]
327
323
  });
328
324
  }
329
- //#endregion
330
- //#region src/sections/ButtonGroupSection.tsx
325
+ // src/sections/ButtonGroupSection.tsx
331
326
  function ButtonGroupSection() {
332
327
  const $ = c(1);
333
328
  let t0;
@@ -349,14 +344,14 @@ function ButtonGroupSection() {
349
344
  Outlined: "outlined",
350
345
  Ghost: "ghost"
351
346
  },
352
- renderItem: _temp$24
347
+ renderItem: _temp$25
353
348
  })
354
349
  });
355
350
  $[0] = t0;
356
351
  } else t0 = $[0];
357
352
  return t0;
358
353
  }
359
- function _temp$24(t0) {
354
+ function _temp$25(t0) {
360
355
  const { col, row } = t0;
361
356
  return /* @__PURE__ */ jsxs(ButtonGroup, { children: [
362
357
  /* @__PURE__ */ jsx(Button, {
@@ -379,8 +374,7 @@ function _temp$24(t0) {
379
374
  })
380
375
  ] });
381
376
  }
382
- //#endregion
383
- //#region src/sections/ButtonSection.tsx
377
+ // src/sections/ButtonSection.tsx
384
378
  function ButtonSection() {
385
379
  const $ = c(1);
386
380
  let t0;
@@ -406,14 +400,14 @@ function ButtonSection() {
406
400
  Outlined: "outlined",
407
401
  Ghost: "ghost"
408
402
  },
409
- renderItem: _temp$23
403
+ renderItem: _temp$24
410
404
  })
411
405
  });
412
406
  $[0] = t0;
413
407
  } else t0 = $[0];
414
408
  return t0;
415
409
  }
416
- function _temp$23(t0) {
410
+ function _temp$24(t0) {
417
411
  const { col, row } = t0;
418
412
  return /* @__PURE__ */ jsx(Button, {
419
413
  icon: faBolt,
@@ -427,8 +421,7 @@ function _temp$23(t0) {
427
421
  children: "Zap"
428
422
  });
429
423
  }
430
- //#endregion
431
- //#region src/sections/CalendarSection.tsx
424
+ // src/sections/CalendarSection.tsx
432
425
  function CalendarSection() {
433
426
  const $ = c(1);
434
427
  let t0;
@@ -442,8 +435,7 @@ function CalendarSection() {
442
435
  } else t0 = $[0];
443
436
  return t0;
444
437
  }
445
- //#endregion
446
- //#region src/sections/CheckboxGroupSection.tsx
438
+ // src/sections/CheckboxGroupSection.tsx
447
439
  function CheckboxGroupSection() {
448
440
  const $ = c(1);
449
441
  let t0;
@@ -468,14 +460,14 @@ function CheckboxGroupSection() {
468
460
  Invalid: "invalid",
469
461
  Warned: "warned"
470
462
  },
471
- renderItem: _temp$22
463
+ renderItem: _temp$23
472
464
  })
473
465
  });
474
466
  $[0] = t0;
475
467
  } else t0 = $[0];
476
468
  return t0;
477
469
  }
478
- function _temp$22(t0) {
470
+ function _temp$23(t0) {
479
471
  const { col, row } = t0;
480
472
  return /* @__PURE__ */ jsxs(Field, { children: [
481
473
  /* @__PURE__ */ jsx(Label, { children: "Toppings" }),
@@ -517,8 +509,7 @@ function _temp$22(t0) {
517
509
  col === "helperText" && /* @__PURE__ */ jsx(HelperText, { children: "Select all wanted." })
518
510
  ] });
519
511
  }
520
- //#endregion
521
- //#region src/sections/CheckboxSection.tsx
512
+ // src/sections/CheckboxSection.tsx
522
513
  function CheckboxSection() {
523
514
  const $ = c(1);
524
515
  let t0;
@@ -543,14 +534,14 @@ function CheckboxSection() {
543
534
  Invalid: "invalid",
544
535
  Warned: "warned"
545
536
  },
546
- renderItem: _temp$21
537
+ renderItem: _temp$22
547
538
  })
548
539
  });
549
540
  $[0] = t0;
550
541
  } else t0 = $[0];
551
542
  return t0;
552
543
  }
553
- function _temp$21(t0) {
544
+ function _temp$22(t0) {
554
545
  const { col, row } = t0;
555
546
  return /* @__PURE__ */ jsxs(Field, { children: [
556
547
  /* @__PURE__ */ jsx(Checkbox, {
@@ -575,8 +566,7 @@ function _temp$21(t0) {
575
566
  col === "helperText" && /* @__PURE__ */ jsx(HelperText, { children: "Please indicate." })
576
567
  ] });
577
568
  }
578
- //#endregion
579
- //#region src/sections/CodeSection.tsx
569
+ // src/sections/CodeSection.tsx
580
570
  function CodeSection() {
581
571
  const $ = c(1);
582
572
  let t0;
@@ -592,81 +582,70 @@ function CodeSection() {
592
582
  Danger: "danger",
593
583
  Warning: "warning"
594
584
  },
595
- renderItem: _temp$20
585
+ renderItem: _temp$21
596
586
  })
597
587
  });
598
588
  $[0] = t0;
599
589
  } else t0 = $[0];
600
590
  return t0;
601
591
  }
602
- function _temp$20(t0) {
592
+ function _temp$21(t0) {
603
593
  const { col } = t0;
604
594
  return /* @__PURE__ */ jsx(Code, {
605
595
  color: col,
606
596
  children: "Math.sin(1)"
607
597
  });
608
598
  }
609
- //#endregion
610
- //#region src/sections/CollapsibleSection.tsx
599
+ // src/sections/CollapsibleSection.tsx
611
600
  function CollapsibleSection() {
612
- const $ = c(9);
613
- const spacing = useSpacing();
601
+ const $ = c(3);
614
602
  let t0;
615
603
  if ($[0] === Symbol.for("react.memo_cache_sentinel")) {
616
- t0 = /* @__PURE__ */ jsx(CollapsibleTrigger, { children: _temp$19 });
604
+ t0 = /* @__PURE__ */ jsx(CollapsibleTrigger, { children: _temp$20 });
617
605
  $[0] = t0;
618
606
  } else t0 = $[0];
619
607
  let t1;
620
- if ($[1] !== spacing) {
621
- t1 = spacing(4);
622
- $[1] = spacing;
623
- $[2] = t1;
624
- } else t1 = $[2];
608
+ if ($[1] === Symbol.for("react.memo_cache_sentinel")) {
609
+ t1 = /* @__PURE__ */ jsx(Text, {
610
+ as: "p",
611
+ children: "“The sun had not yet risen. The sea was indistinguishable from the sky, except that the sea was slightly creased as if a cloth had wrinkles in it. Gradually as the sky whitened a dark line lay on the horizon dividing the sea from the sky and the grey cloth became barred with thick strokes moving, one after another, beneath the surface, following each other, pursuing each other, perpetually.”"
612
+ });
613
+ $[1] = t1;
614
+ } else t1 = $[1];
625
615
  let t2;
626
- if ($[3] !== t1) {
627
- t2 = { marginTop: t1 };
628
- $[3] = t1;
629
- $[4] = t2;
630
- } else t2 = $[4];
631
- let t3;
632
- if ($[5] === Symbol.for("react.memo_cache_sentinel")) {
633
- t3 = /* @__PURE__ */ jsx("p", { children: "\"The sun had not yet risen. The sea was indistinguishable from the sky, except that the sea was slightly creased as if a cloth had wrinkles in it. Gradually as the sky whitened a dark line lay on the horizon dividing the sea from the sky and the grey cloth became barred with thick strokes moving, one after another, beneath the surface, following each other, pursuing each other, perpetually.\"" });
634
- $[5] = t3;
635
- } else t3 = $[5];
636
- let t4;
637
- if ($[6] === Symbol.for("react.memo_cache_sentinel")) {
638
- t4 = /* @__PURE__ */ jsxs("p", { children: ["—Virginia Woolf, ", /* @__PURE__ */ jsx("cite", { children: "The Waves" })] });
639
- $[6] = t4;
640
- } else t4 = $[6];
641
- let t5;
642
- if ($[7] !== t2) {
643
- t5 = /* @__PURE__ */ jsx(ExhibitSection, {
616
+ if ($[2] === Symbol.for("react.memo_cache_sentinel")) {
617
+ t2 = /* @__PURE__ */ jsx(ExhibitSection, {
644
618
  title: "Collapsible",
645
619
  docsPage: "ostack-ui-disclosure-collapsible",
646
- children: /* @__PURE__ */ jsxs(Collapsible, { children: [t0, /* @__PURE__ */ jsx(CollapsibleContent, { children: /* @__PURE__ */ jsxs("blockquote", {
647
- cite: "https://gutenberg.net.au/ebooks02/0201091h.html",
648
- style: t2,
649
- children: [t3, t4]
620
+ children: /* @__PURE__ */ jsxs(Collapsible, { children: [t0, /* @__PURE__ */ jsx(CollapsibleContent, { children: /* @__PURE__ */ jsx(Box, {
621
+ asChild: true,
622
+ mt: 4,
623
+ children: /* @__PURE__ */ jsxs("blockquote", {
624
+ cite: "https://gutenberg.net.au/ebooks02/0201091h.html",
625
+ children: [t1, /* @__PURE__ */ jsxs(Text, {
626
+ as: "p",
627
+ mt: 2,
628
+ color: "neutral",
629
+ children: ["—Virginia Woolf, ", /* @__PURE__ */ jsx("cite", { children: "The Waves" })]
630
+ })]
631
+ })
650
632
  }) })] })
651
633
  });
652
- $[7] = t2;
653
- $[8] = t5;
654
- } else t5 = $[8];
655
- return t5;
634
+ $[2] = t2;
635
+ } else t2 = $[2];
636
+ return t2;
656
637
  }
657
- function _temp$19(open) {
638
+ function _temp$20(open) {
658
639
  return /* @__PURE__ */ jsxs(Button, {
659
640
  icon: open ? faCaretUp : faCaretDown,
660
641
  iconPlacement: "end",
661
642
  children: [open ? "Hide" : "Show", " quote"]
662
643
  });
663
644
  }
664
- //#endregion
665
- //#region src/sections/CommandMenuSection.tsx
645
+ // src/sections/CommandMenuSection.tsx
666
646
  function CommandMenuSection() {
667
- const $ = c(17);
647
+ const $ = c(8);
668
648
  const [open, setOpen] = useState(false);
669
- const { cssVar } = useCssVars();
670
649
  let t0;
671
650
  let t1;
672
651
  if ($[0] === Symbol.for("react.memo_cache_sentinel")) {
@@ -686,38 +665,20 @@ function CommandMenuSection() {
686
665
  } else t2 = $[2];
687
666
  const handleSelect = t2;
688
667
  let t3;
689
- if ($[3] !== cssVar) {
690
- t3 = cssVar("neutral-11");
691
- $[3] = cssVar;
692
- $[4] = t3;
693
- } else t3 = $[4];
694
- let t4;
695
- if ($[5] !== t3) {
696
- t4 = { color: t3 };
697
- $[5] = t3;
698
- $[6] = t4;
699
- } else t4 = $[6];
700
- let t5;
701
- if ($[7] === Symbol.for("react.memo_cache_sentinel")) {
702
- t5 = /* @__PURE__ */ jsx(Keybinds, { keybinds: "$mod+K" });
703
- $[7] = t5;
704
- } else t5 = $[7];
705
- let t6;
706
- if ($[8] !== t4) {
707
- t6 = /* @__PURE__ */ jsxs("span", {
708
- style: t4,
668
+ if ($[3] === Symbol.for("react.memo_cache_sentinel")) {
669
+ t3 = /* @__PURE__ */ jsxs(Text, {
670
+ color: "neutral",
709
671
  children: [
710
672
  "Press ",
711
- t5,
673
+ /* @__PURE__ */ jsx(Keybinds, { keybinds: "$mod+K" }),
712
674
  " to open the command menu."
713
675
  ]
714
676
  });
715
- $[8] = t4;
716
- $[9] = t6;
717
- } else t6 = $[9];
718
- let t7;
719
- if ($[10] === Symbol.for("react.memo_cache_sentinel")) {
720
- t7 = /* @__PURE__ */ jsxs(CommandMenuGroup, {
677
+ $[3] = t3;
678
+ } else t3 = $[3];
679
+ let t4;
680
+ if ($[4] === Symbol.for("react.memo_cache_sentinel")) {
681
+ t4 = /* @__PURE__ */ jsxs(CommandMenuGroup, {
721
682
  label: "Actions",
722
683
  children: [
723
684
  /* @__PURE__ */ jsx(CommandMenuItem, {
@@ -738,11 +699,11 @@ function CommandMenuSection() {
738
699
  })
739
700
  ]
740
701
  });
741
- $[10] = t7;
742
- } else t7 = $[10];
743
- let t8;
744
- if ($[11] === Symbol.for("react.memo_cache_sentinel")) {
745
- t8 = /* @__PURE__ */ jsxs(CommandMenu, { children: [t7, /* @__PURE__ */ jsxs(CommandMenuGroup, {
702
+ $[4] = t4;
703
+ } else t4 = $[4];
704
+ let t5;
705
+ if ($[5] === Symbol.for("react.memo_cache_sentinel")) {
706
+ t5 = /* @__PURE__ */ jsxs(CommandMenu, { children: [t4, /* @__PURE__ */ jsxs(CommandMenuGroup, {
746
707
  label: "Languages",
747
708
  children: [
748
709
  /* @__PURE__ */ jsx(CommandMenuItem, {
@@ -771,33 +732,25 @@ function CommandMenuSection() {
771
732
  })
772
733
  ]
773
734
  })] });
774
- $[11] = t8;
775
- } else t8 = $[11];
776
- let t9;
777
- if ($[12] !== open) {
778
- t9 = /* @__PURE__ */ jsx(CommandMenuDialog, {
779
- open,
780
- onOpenChange: setOpen,
781
- children: t8
782
- });
783
- $[12] = open;
784
- $[13] = t9;
785
- } else t9 = $[13];
786
- let t10;
787
- if ($[14] !== t6 || $[15] !== t9) {
788
- t10 = /* @__PURE__ */ jsxs(ExhibitSection, {
735
+ $[5] = t5;
736
+ } else t5 = $[5];
737
+ let t6;
738
+ if ($[6] !== open) {
739
+ t6 = /* @__PURE__ */ jsxs(ExhibitSection, {
789
740
  title: "Command menu",
790
741
  docsPage: "ostack-ui-overlay-command-menu",
791
- children: [t6, t9]
742
+ children: [t3, /* @__PURE__ */ jsx(CommandMenuDialog, {
743
+ open,
744
+ onOpenChange: setOpen,
745
+ children: t5
746
+ })]
792
747
  });
793
- $[14] = t6;
794
- $[15] = t9;
795
- $[16] = t10;
796
- } else t10 = $[16];
797
- return t10;
748
+ $[6] = open;
749
+ $[7] = t6;
750
+ } else t6 = $[7];
751
+ return t6;
798
752
  }
799
- //#endregion
800
- //#region src/sections/DataTableSection.tsx
753
+ // src/sections/DataTableSection.tsx
801
754
  var ROWS$1 = [
802
755
  {
803
756
  id: 0,
@@ -1474,7 +1427,7 @@ function DataTableSection() {
1474
1427
  function _temp2$1(t0) {
1475
1428
  const { col } = t0;
1476
1429
  return /* @__PURE__ */ jsx(Field, {
1477
- style: { width: 450 },
1430
+ width: 450,
1478
1431
  children: /* @__PURE__ */ jsxs(DataTable, {
1479
1432
  columns: {
1480
1433
  student: {
@@ -1488,7 +1441,7 @@ function _temp2$1(t0) {
1488
1441
  align: "right",
1489
1442
  sortable: true,
1490
1443
  filterable: true,
1491
- format: _temp$18
1444
+ format: _temp$19
1492
1445
  }
1493
1446
  },
1494
1447
  rows: ROWS$1,
@@ -1512,12 +1465,11 @@ function _temp2$1(t0) {
1512
1465
  })
1513
1466
  });
1514
1467
  }
1515
- function _temp$18(t0) {
1468
+ function _temp$19(t0) {
1516
1469
  const { value } = t0;
1517
1470
  return value.toFixed(1);
1518
1471
  }
1519
- //#endregion
1520
- //#region src/sections/DateInputSection.tsx
1472
+ // src/sections/DateInputSection.tsx
1521
1473
  function DateInputSection() {
1522
1474
  const $ = c(1);
1523
1475
  let t0;
@@ -1541,14 +1493,14 @@ function DateInputSection() {
1541
1493
  Invalid: "invalid",
1542
1494
  Warned: "warned"
1543
1495
  },
1544
- renderItem: _temp$17
1496
+ renderItem: _temp$18
1545
1497
  })
1546
1498
  });
1547
1499
  $[0] = t0;
1548
1500
  } else t0 = $[0];
1549
1501
  return t0;
1550
1502
  }
1551
- function _temp$17(t0) {
1503
+ function _temp$18(t0) {
1552
1504
  const { col, row } = t0;
1553
1505
  return /* @__PURE__ */ jsxs(Field, { children: [
1554
1506
  /* @__PURE__ */ jsx(Label, { children: "Birthday" }),
@@ -1574,8 +1526,7 @@ function _temp$17(t0) {
1574
1526
  col === "helperText" && /* @__PURE__ */ jsx(HelperText, { children: "For legal purposes." })
1575
1527
  ] });
1576
1528
  }
1577
- //#endregion
1578
- //#region src/sections/DateRangeInputSection.tsx
1529
+ // src/sections/DateRangeInputSection.tsx
1579
1530
  function DateRangeInputSection() {
1580
1531
  const $ = c(1);
1581
1532
  let t0;
@@ -1599,14 +1550,14 @@ function DateRangeInputSection() {
1599
1550
  Invalid: "invalid",
1600
1551
  Warned: "warned"
1601
1552
  },
1602
- renderItem: _temp$16
1553
+ renderItem: _temp$17
1603
1554
  })
1604
1555
  });
1605
1556
  $[0] = t0;
1606
1557
  } else t0 = $[0];
1607
1558
  return t0;
1608
1559
  }
1609
- function _temp$16(t0) {
1560
+ function _temp$17(t0) {
1610
1561
  const { col, row } = t0;
1611
1562
  return /* @__PURE__ */ jsxs(Field, { children: [
1612
1563
  /* @__PURE__ */ jsx(Label, { children: "Time off" }),
@@ -1635,8 +1586,7 @@ function _temp$16(t0) {
1635
1586
  col === "helperText" && /* @__PURE__ */ jsx(HelperText, { children: "Reserve your paid time off." })
1636
1587
  ] });
1637
1588
  }
1638
- //#endregion
1639
- //#region src/sections/DescriptionListSection.tsx
1589
+ // src/sections/DescriptionListSection.tsx
1640
1590
  function DescriptionListSection() {
1641
1591
  const $ = c(5);
1642
1592
  let t0;
@@ -1727,8 +1677,7 @@ function DescriptionListSection() {
1727
1677
  } else t4 = $[4];
1728
1678
  return t4;
1729
1679
  }
1730
- //#endregion
1731
- //#region src/sections/DialogSection.tsx
1680
+ // src/sections/DialogSection.tsx
1732
1681
  function DialogSection() {
1733
1682
  const $ = c(1);
1734
1683
  let t0;
@@ -1750,14 +1699,14 @@ function DialogSection() {
1750
1699
  Outlined: "outlined",
1751
1700
  Ghost: "ghost"
1752
1701
  },
1753
- renderItem: _temp$15
1702
+ renderItem: _temp$16
1754
1703
  })
1755
1704
  });
1756
1705
  $[0] = t0;
1757
1706
  } else t0 = $[0];
1758
1707
  return t0;
1759
1708
  }
1760
- function _temp$15(t0) {
1709
+ function _temp$16(t0) {
1761
1710
  const { col, row } = t0;
1762
1711
  return /* @__PURE__ */ jsxs(Dialog, { children: [/* @__PURE__ */ jsx(DialogTrigger, { children: /* @__PURE__ */ jsx(Button, {
1763
1712
  variant: row,
@@ -1777,8 +1726,7 @@ function _temp$15(t0) {
1777
1726
  ] })
1778
1727
  })] });
1779
1728
  }
1780
- //#endregion
1781
- //#region ../../node_modules/@fortawesome/free-brands-svg-icons/index.mjs
1729
+ // ../../node_modules/@fortawesome/free-brands-svg-icons/index.mjs
1782
1730
  /*!
1783
1731
  * Font Awesome Free 7.3.1 by @fontawesome - https://fontawesome.com
1784
1732
  * License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License)
@@ -1817,10 +1765,9 @@ var faWikipediaW = {
1817
1765
  "M640 51.2l-.3 12.2c-28.1 .8-45 15.8-55.8 40.3-25 57.8-103.3 240-155.3 358.6l-13.6 0-81.9-193.1c-32.5 63.6-68.3 130-99.2 193.1-.3 .3-15 0-15-.3-46.9-109.7-96.1-218.6-143.1-328.6-11.4-26.7-49.4-70-75.6-69.7 0-3.1-.3-10-.3-14.2l161.9 0 0 13.9c-19.2 1.1-52.8 13.3-43.3 34.2 21.9 49.7 103.6 240.3 125.6 288.6 15-29.7 57.8-109.2 75.3-142.8-13.9-28.3-58.6-133.9-72.8-160-9.7-17.8-36.1-19.4-55.8-19.7l0-13.9 142.5 .3 0 13.1c-19.4 .6-38.1 7.8-29.4 26.1 18.9 40 30.6 68.1 48.1 104.7 5.6-10.8 34.7-69.4 48.1-100.8 8.9-20.6-3.9-28.6-38.6-29.4 .3-3.6 0-10.3 .3-13.6 44.4-.3 111.1-.3 123.1-.6l0 13.6C462.4 64 439.1 76 426.8 94.9L367.6 217.7c6.4 16.1 63.3 142.8 69.2 156.7L559.2 91.8c-8.6-23.1-36.4-28.1-47.2-28.3l0-13.9 127.8 1.1 .2 .5z"
1818
1766
  ]
1819
1767
  };
1820
- //#endregion
1821
- //#region src/sections/DropdownMenuSection.tsx
1768
+ // src/sections/DropdownMenuSection.tsx
1822
1769
  function DropdownMenuSection() {
1823
- const $ = c(9);
1770
+ const $ = c(8);
1824
1771
  let t0;
1825
1772
  if ($[0] === Symbol.for("react.memo_cache_sentinel")) {
1826
1773
  t0 = /* @__PURE__ */ jsx(DropdownMenuTrigger, { children: /* @__PURE__ */ jsx(Button, {
@@ -1831,12 +1778,7 @@ function DropdownMenuSection() {
1831
1778
  } else t0 = $[0];
1832
1779
  let t1;
1833
1780
  if ($[1] === Symbol.for("react.memo_cache_sentinel")) {
1834
- t1 = { minWidth: 200 };
1835
- $[1] = t1;
1836
- } else t1 = $[1];
1837
- let t2;
1838
- if ($[2] === Symbol.for("react.memo_cache_sentinel")) {
1839
- t2 = /* @__PURE__ */ jsxs(DropdownMenuGroup, {
1781
+ t1 = /* @__PURE__ */ jsxs(DropdownMenuGroup, {
1840
1782
  label: "Connectivity",
1841
1783
  children: [
1842
1784
  /* @__PURE__ */ jsx(DropdownMenuItem, {
@@ -1853,11 +1795,11 @@ function DropdownMenuSection() {
1853
1795
  })
1854
1796
  ]
1855
1797
  });
1856
- $[2] = t2;
1857
- } else t2 = $[2];
1858
- let t3;
1859
- if ($[3] === Symbol.for("react.memo_cache_sentinel")) {
1860
- t3 = /* @__PURE__ */ jsxs(DropdownMenuGroup, {
1798
+ $[1] = t1;
1799
+ } else t1 = $[1];
1800
+ let t2;
1801
+ if ($[2] === Symbol.for("react.memo_cache_sentinel")) {
1802
+ t2 = /* @__PURE__ */ jsxs(DropdownMenuGroup, {
1861
1803
  label: "Devices",
1862
1804
  children: [
1863
1805
  /* @__PURE__ */ jsx(DropdownMenuItem, {
@@ -1878,11 +1820,11 @@ function DropdownMenuSection() {
1878
1820
  })
1879
1821
  ]
1880
1822
  });
1881
- $[3] = t3;
1882
- } else t3 = $[3];
1883
- let t4;
1884
- if ($[4] === Symbol.for("react.memo_cache_sentinel")) {
1885
- t4 = /* @__PURE__ */ jsxs(DropdownMenuRadioGroup, {
1823
+ $[2] = t2;
1824
+ } else t2 = $[2];
1825
+ let t3;
1826
+ if ($[3] === Symbol.for("react.memo_cache_sentinel")) {
1827
+ t3 = /* @__PURE__ */ jsxs(DropdownMenuRadioGroup, {
1886
1828
  label: "Language",
1887
1829
  value: "en",
1888
1830
  children: [
@@ -1901,48 +1843,48 @@ function DropdownMenuSection() {
1901
1843
  })
1902
1844
  ]
1903
1845
  });
1904
- $[4] = t4;
1905
- } else t4 = $[4];
1906
- let t5;
1907
- if ($[5] === Symbol.for("react.memo_cache_sentinel")) {
1908
- t5 = /* @__PURE__ */ jsxs(DropdownMenuGroup, {
1846
+ $[3] = t3;
1847
+ } else t3 = $[3];
1848
+ let t4;
1849
+ if ($[4] === Symbol.for("react.memo_cache_sentinel")) {
1850
+ t4 = /* @__PURE__ */ jsxs(DropdownMenuGroup, {
1909
1851
  label: "Notifications",
1910
1852
  children: [/* @__PURE__ */ jsx(DropdownMenuCheckboxItem, { children: "Calendar" }), /* @__PURE__ */ jsx(DropdownMenuCheckboxItem, {
1911
1853
  checked: true,
1912
1854
  children: "Weather"
1913
1855
  })]
1914
1856
  });
1857
+ $[4] = t4;
1858
+ } else t4 = $[4];
1859
+ let t5;
1860
+ if ($[5] === Symbol.for("react.memo_cache_sentinel")) {
1861
+ t5 = /* @__PURE__ */ jsx(DropdownMenuSubTrigger, { children: "System" });
1915
1862
  $[5] = t5;
1916
1863
  } else t5 = $[5];
1917
1864
  let t6;
1918
1865
  if ($[6] === Symbol.for("react.memo_cache_sentinel")) {
1919
- t6 = /* @__PURE__ */ jsx(DropdownMenuSubTrigger, { children: "System" });
1920
- $[6] = t6;
1921
- } else t6 = $[6];
1922
- let t7;
1923
- if ($[7] === Symbol.for("react.memo_cache_sentinel")) {
1924
- t7 = /* @__PURE__ */ jsxs(DropdownMenuGroup, { children: [/* @__PURE__ */ jsx(DropdownMenuItem, {
1866
+ t6 = /* @__PURE__ */ jsxs(DropdownMenuGroup, { children: [/* @__PURE__ */ jsx(DropdownMenuItem, {
1925
1867
  icon: faClock,
1926
1868
  children: "Date & Time"
1927
1869
  }), /* @__PURE__ */ jsx(DropdownMenuItem, {
1928
1870
  icon: faUser,
1929
1871
  children: "Users"
1930
1872
  })] });
1931
- $[7] = t7;
1932
- } else t7 = $[7];
1933
- let t8;
1934
- if ($[8] === Symbol.for("react.memo_cache_sentinel")) {
1935
- t8 = /* @__PURE__ */ jsx(ExhibitSection, {
1873
+ $[6] = t6;
1874
+ } else t6 = $[6];
1875
+ let t7;
1876
+ if ($[7] === Symbol.for("react.memo_cache_sentinel")) {
1877
+ t7 = /* @__PURE__ */ jsx(ExhibitSection, {
1936
1878
  title: "Dropdown menu",
1937
1879
  docsPage: "ostack-ui-overlay-dropdown-menu",
1938
1880
  children: /* @__PURE__ */ jsxs(DropdownMenu, { children: [t0, /* @__PURE__ */ jsxs(DropdownMenuContent, {
1939
- style: t1,
1881
+ minWidth: 200,
1940
1882
  children: [
1883
+ t1,
1941
1884
  t2,
1942
1885
  t3,
1943
1886
  t4,
1944
- t5,
1945
- /* @__PURE__ */ jsx(DropdownMenuGroup, { children: /* @__PURE__ */ jsxs(DropdownMenuSub, { children: [t6, /* @__PURE__ */ jsxs(DropdownMenuSubContent, { children: [t7, /* @__PURE__ */ jsx(DropdownMenuGroup, { children: /* @__PURE__ */ jsx(DropdownMenuItem, {
1887
+ /* @__PURE__ */ jsx(DropdownMenuGroup, { children: /* @__PURE__ */ jsxs(DropdownMenuSub, { children: [t5, /* @__PURE__ */ jsxs(DropdownMenuSubContent, { children: [t6, /* @__PURE__ */ jsx(DropdownMenuGroup, { children: /* @__PURE__ */ jsx(DropdownMenuItem, {
1946
1888
  icon: faCircleXmark,
1947
1889
  color: "danger",
1948
1890
  children: "Factory reset"
@@ -1950,12 +1892,11 @@ function DropdownMenuSection() {
1950
1892
  ]
1951
1893
  })] })
1952
1894
  });
1953
- $[8] = t8;
1954
- } else t8 = $[8];
1955
- return t8;
1895
+ $[7] = t7;
1896
+ } else t7 = $[7];
1897
+ return t7;
1956
1898
  }
1957
- //#endregion
1958
- //#region src/sections/FieldGroupSection.tsx
1899
+ // src/sections/FieldGroupSection.tsx
1959
1900
  function FieldGroupSection() {
1960
1901
  const $ = c(1);
1961
1902
  let t0;
@@ -1968,14 +1909,14 @@ function FieldGroupSection() {
1968
1909
  Basic: "basic",
1969
1910
  Code: "code"
1970
1911
  },
1971
- renderItem: _temp$14
1912
+ renderItem: _temp$15
1972
1913
  })
1973
1914
  });
1974
1915
  $[0] = t0;
1975
1916
  } else t0 = $[0];
1976
1917
  return t0;
1977
1918
  }
1978
- function _temp$14(t0) {
1919
+ function _temp$15(t0) {
1979
1920
  const { col } = t0;
1980
1921
  return /* @__PURE__ */ jsxs(FieldGroup, { children: [/* @__PURE__ */ jsx(FieldGroupHeader, {
1981
1922
  code: col === "code" ? "1" : void 0,
@@ -1985,8 +1926,7 @@ function _temp$14(t0) {
1985
1926
  children: [/* @__PURE__ */ jsxs(Field, { children: [/* @__PURE__ */ jsx(Label, { children: "Full name" }), /* @__PURE__ */ jsx(Input, { code: col === "code" ? "1.1" : void 0 })] }), /* @__PURE__ */ jsxs(Field, { children: [/* @__PURE__ */ jsx(Label, { children: "Passport number" }), /* @__PURE__ */ jsx(Input, { code: col === "code" ? "1.2" : void 0 })] })]
1986
1927
  }) })] });
1987
1928
  }
1988
- //#endregion
1989
- //#region src/sections/IconButtonSection.tsx
1929
+ // src/sections/IconButtonSection.tsx
1990
1930
  function IconButtonSection() {
1991
1931
  const $ = c(1);
1992
1932
  let t0;
@@ -2011,14 +1951,14 @@ function IconButtonSection() {
2011
1951
  Outlined: "outlined",
2012
1952
  Ghost: "ghost"
2013
1953
  },
2014
- renderItem: _temp$13
1954
+ renderItem: _temp$14
2015
1955
  })
2016
1956
  });
2017
1957
  $[0] = t0;
2018
1958
  } else t0 = $[0];
2019
1959
  return t0;
2020
1960
  }
2021
- function _temp$13(t0) {
1961
+ function _temp$14(t0) {
2022
1962
  const { col, row } = t0;
2023
1963
  return /* @__PURE__ */ jsx(IconButton, {
2024
1964
  label: "Bloom",
@@ -2031,8 +1971,7 @@ function _temp$13(t0) {
2031
1971
  keybinds: col === "keybinds" ? "Alt+Shift+B" : void 0
2032
1972
  });
2033
1973
  }
2034
- //#endregion
2035
- //#region src/sections/InputSection.tsx
1974
+ // src/sections/InputSection.tsx
2036
1975
  function InputSection() {
2037
1976
  const $ = c(1);
2038
1977
  let t0;
@@ -2058,14 +1997,14 @@ function InputSection() {
2058
1997
  Invalid: "invalid",
2059
1998
  Warned: "warned"
2060
1999
  },
2061
- renderItem: _temp$12
2000
+ renderItem: _temp$13
2062
2001
  })
2063
2002
  });
2064
2003
  $[0] = t0;
2065
2004
  } else t0 = $[0];
2066
2005
  return t0;
2067
2006
  }
2068
- function _temp$12(t0) {
2007
+ function _temp$13(t0) {
2069
2008
  const { col, row } = t0;
2070
2009
  return /* @__PURE__ */ jsxs(Field, { children: [
2071
2010
  /* @__PURE__ */ jsx(Label, {
@@ -2095,8 +2034,7 @@ function _temp$12(t0) {
2095
2034
  col === "helperText" && /* @__PURE__ */ jsx(HelperText, { children: "Used to sign in." })
2096
2035
  ] });
2097
2036
  }
2098
- //#endregion
2099
- //#region src/sections/KeyboardSection.tsx
2037
+ // src/sections/KeyboardSection.tsx
2100
2038
  function KeyboardSection() {
2101
2039
  const $ = c(2);
2102
2040
  let t0;
@@ -2121,8 +2059,7 @@ function KeyboardSection() {
2121
2059
  } else t1 = $[1];
2122
2060
  return t1;
2123
2061
  }
2124
- //#endregion
2125
- //#region src/sections/LinkSection.tsx
2062
+ // src/sections/LinkSection.tsx
2126
2063
  function LinkSection() {
2127
2064
  const $ = c(1);
2128
2065
  let t0;
@@ -2139,14 +2076,14 @@ function LinkSection() {
2139
2076
  Warning: "warning",
2140
2077
  External: "external"
2141
2078
  },
2142
- renderItem: _temp$11
2079
+ renderItem: _temp$12
2143
2080
  })
2144
2081
  });
2145
2082
  $[0] = t0;
2146
2083
  } else t0 = $[0];
2147
2084
  return t0;
2148
2085
  }
2149
- function _temp$11(t0) {
2086
+ function _temp$12(t0) {
2150
2087
  const { col } = t0;
2151
2088
  return /* @__PURE__ */ jsx(Link, {
2152
2089
  href: col === "external" ? "https://www.wikipedia.org/" : "#",
@@ -2155,8 +2092,7 @@ function _temp$11(t0) {
2155
2092
  children: col === "external" ? "Wikipedia" : "Go to top"
2156
2093
  });
2157
2094
  }
2158
- //#endregion
2159
- //#region src/sections/MarkSection.tsx
2095
+ // src/sections/MarkSection.tsx
2160
2096
  function MarkSection() {
2161
2097
  const $ = c(1);
2162
2098
  let t0;
@@ -2172,14 +2108,14 @@ function MarkSection() {
2172
2108
  Danger: "danger",
2173
2109
  Warning: "warning"
2174
2110
  },
2175
- renderItem: _temp$10
2111
+ renderItem: _temp$11
2176
2112
  })
2177
2113
  });
2178
2114
  $[0] = t0;
2179
2115
  } else t0 = $[0];
2180
2116
  return t0;
2181
2117
  }
2182
- function _temp$10(t0) {
2118
+ function _temp$11(t0) {
2183
2119
  const { col } = t0;
2184
2120
  return /* @__PURE__ */ jsxs(Fragment$1, { children: [
2185
2121
  "The deadline is ",
@@ -2190,8 +2126,7 @@ function _temp$10(t0) {
2190
2126
  "."
2191
2127
  ] });
2192
2128
  }
2193
- //#endregion
2194
- //#region src/sections/MenuListSection.tsx
2129
+ // src/sections/MenuListSection.tsx
2195
2130
  function MenuListSection() {
2196
2131
  const $ = c(1);
2197
2132
  let t0;
@@ -2204,14 +2139,14 @@ function MenuListSection() {
2204
2139
  Subtle: "subtle",
2205
2140
  Solid: "solid"
2206
2141
  },
2207
- renderItem: _temp$9
2142
+ renderItem: _temp$10
2208
2143
  })
2209
2144
  });
2210
2145
  $[0] = t0;
2211
2146
  } else t0 = $[0];
2212
2147
  return t0;
2213
2148
  }
2214
- function _temp$9(t0) {
2149
+ function _temp$10(t0) {
2215
2150
  const { col } = t0;
2216
2151
  return /* @__PURE__ */ jsxs(MenuList, {
2217
2152
  variant: col,
@@ -2254,8 +2189,7 @@ function _temp$9(t0) {
2254
2189
  })]
2255
2190
  });
2256
2191
  }
2257
- //#endregion
2258
- //#region src/sections/NumericInputSection.tsx
2192
+ // src/sections/NumericInputSection.tsx
2259
2193
  function NumericInputSection() {
2260
2194
  const $ = c(1);
2261
2195
  let t0;
@@ -2280,14 +2214,14 @@ function NumericInputSection() {
2280
2214
  Invalid: "invalid",
2281
2215
  Warned: "warned"
2282
2216
  },
2283
- renderItem: _temp$8
2217
+ renderItem: _temp$9
2284
2218
  })
2285
2219
  });
2286
2220
  $[0] = t0;
2287
2221
  } else t0 = $[0];
2288
2222
  return t0;
2289
2223
  }
2290
- function _temp$8(t0) {
2224
+ function _temp$9(t0) {
2291
2225
  const { col, row } = t0;
2292
2226
  return /* @__PURE__ */ jsxs(Field, { children: [
2293
2227
  /* @__PURE__ */ jsx(Label, { children: "Income" }),
@@ -2319,8 +2253,7 @@ function _temp$8(t0) {
2319
2253
  col === "helperText" && /* @__PURE__ */ jsx(HelperText, { children: "For tax purposes." })
2320
2254
  ] });
2321
2255
  }
2322
- //#endregion
2323
- //#region src/sections/OutputSection.tsx
2256
+ // src/sections/OutputSection.tsx
2324
2257
  function OutputSection() {
2325
2258
  const $ = c(1);
2326
2259
  let t0;
@@ -2341,14 +2274,14 @@ function OutputSection() {
2341
2274
  Invalid: "invalid",
2342
2275
  Warned: "warned"
2343
2276
  },
2344
- renderItem: _temp$7
2277
+ renderItem: _temp$8
2345
2278
  })
2346
2279
  });
2347
2280
  $[0] = t0;
2348
2281
  } else t0 = $[0];
2349
2282
  return t0;
2350
2283
  }
2351
- function _temp$7(t0) {
2284
+ function _temp$8(t0) {
2352
2285
  const { col, row } = t0;
2353
2286
  return /* @__PURE__ */ jsxs(Field, { children: [
2354
2287
  /* @__PURE__ */ jsx(Label, { children: "Total" }),
@@ -2371,11 +2304,9 @@ function _temp$7(t0) {
2371
2304
  col === "helperText" && /* @__PURE__ */ jsx(HelperText, { children: "A + B + C + D - E" })
2372
2305
  ] });
2373
2306
  }
2374
- //#endregion
2375
- //#region src/sections/PopoverSection.tsx
2307
+ // src/sections/PopoverSection.tsx
2376
2308
  function PopoverSection() {
2377
- const $ = c(9);
2378
- const spacing = useSpacing();
2309
+ const $ = c(3);
2379
2310
  let t0;
2380
2311
  if ($[0] === Symbol.for("react.memo_cache_sentinel")) {
2381
2312
  t0 = /* @__PURE__ */ jsx(PopoverTrigger, { children: /* @__PURE__ */ jsx(Button, {
@@ -2385,60 +2316,41 @@ function PopoverSection() {
2385
2316
  $[0] = t0;
2386
2317
  } else t0 = $[0];
2387
2318
  let t1;
2388
- if ($[1] !== spacing) {
2389
- t1 = spacing(2);
2390
- $[1] = spacing;
2391
- $[2] = t1;
2392
- } else t1 = $[2];
2319
+ if ($[1] === Symbol.for("react.memo_cache_sentinel")) {
2320
+ t1 = /* @__PURE__ */ jsx(Label, { children: "Leave a comment" });
2321
+ $[1] = t1;
2322
+ } else t1 = $[1];
2393
2323
  let t2;
2394
- if ($[3] !== t1) {
2395
- t2 = { padding: t1 };
2396
- $[3] = t1;
2397
- $[4] = t2;
2398
- } else t2 = $[4];
2399
- let t3;
2400
- if ($[5] === Symbol.for("react.memo_cache_sentinel")) {
2401
- t3 = /* @__PURE__ */ jsx(Label, { children: "Leave a comment" });
2402
- $[5] = t3;
2403
- } else t3 = $[5];
2404
- let t4;
2405
- if ($[6] === Symbol.for("react.memo_cache_sentinel")) {
2406
- t4 = /* @__PURE__ */ jsx(Stack, {
2407
- asChild: true,
2408
- gap: 2,
2409
- alignItems: "flex-end",
2410
- children: /* @__PURE__ */ jsxs("form", { children: [/* @__PURE__ */ jsxs(Field, { children: [t3, /* @__PURE__ */ jsx(TextArea, {
2411
- rows: 6,
2412
- style: { width: 300 }
2413
- })] }), /* @__PURE__ */ jsx(Button, {
2414
- color: "primary",
2415
- type: "submit",
2416
- onClick: _temp$6,
2417
- children: "Submit"
2418
- })] })
2419
- });
2420
- $[6] = t4;
2421
- } else t4 = $[6];
2422
- let t5;
2423
- if ($[7] !== t2) {
2424
- t5 = /* @__PURE__ */ jsx(ExhibitSection, {
2324
+ if ($[2] === Symbol.for("react.memo_cache_sentinel")) {
2325
+ t2 = /* @__PURE__ */ jsx(ExhibitSection, {
2425
2326
  title: "Popover",
2426
2327
  docsPage: "ostack-ui-overlay-popover",
2427
2328
  children: /* @__PURE__ */ jsxs(Popover, { children: [t0, /* @__PURE__ */ jsx(PopoverContent, {
2428
- style: t2,
2429
- children: t4
2329
+ p: 2,
2330
+ children: /* @__PURE__ */ jsx(Stack, {
2331
+ asChild: true,
2332
+ gap: 2,
2333
+ alignItems: "flex-end",
2334
+ children: /* @__PURE__ */ jsxs("form", { children: [/* @__PURE__ */ jsxs(Field, { children: [t1, /* @__PURE__ */ jsx(TextArea, {
2335
+ rows: 6,
2336
+ style: { width: 300 }
2337
+ })] }), /* @__PURE__ */ jsx(Button, {
2338
+ color: "primary",
2339
+ type: "submit",
2340
+ onClick: _temp$7,
2341
+ children: "Submit"
2342
+ })] })
2343
+ })
2430
2344
  })] })
2431
2345
  });
2432
- $[7] = t2;
2433
- $[8] = t5;
2434
- } else t5 = $[8];
2435
- return t5;
2346
+ $[2] = t2;
2347
+ } else t2 = $[2];
2348
+ return t2;
2436
2349
  }
2437
- function _temp$6(evt) {
2350
+ function _temp$7(evt) {
2438
2351
  return evt.preventDefault();
2439
2352
  }
2440
- //#endregion
2441
- //#region src/sections/RadioGroupSection.tsx
2353
+ // src/sections/RadioGroupSection.tsx
2442
2354
  function RadioGroupSection() {
2443
2355
  const $ = c(1);
2444
2356
  let t0;
@@ -2464,14 +2376,14 @@ function RadioGroupSection() {
2464
2376
  Invalid: "invalid",
2465
2377
  Warned: "warned"
2466
2378
  },
2467
- renderItem: _temp$5
2379
+ renderItem: _temp$6
2468
2380
  })
2469
2381
  });
2470
2382
  $[0] = t0;
2471
2383
  } else t0 = $[0];
2472
2384
  return t0;
2473
2385
  }
2474
- function _temp$5(t0) {
2386
+ function _temp$6(t0) {
2475
2387
  const { col, row } = t0;
2476
2388
  return /* @__PURE__ */ jsxs(Field, { children: [
2477
2389
  /* @__PURE__ */ jsx(Label, { children: "Preferred make" }),
@@ -2514,8 +2426,7 @@ function _temp$5(t0) {
2514
2426
  col === "helperText" && /* @__PURE__ */ jsx(HelperText, { children: "All with low mileage." })
2515
2427
  ] });
2516
2428
  }
2517
- //#endregion
2518
- //#region src/sections/SelectSection.tsx
2429
+ // src/sections/SelectSection.tsx
2519
2430
  function SelectSection() {
2520
2431
  const $ = c(1);
2521
2432
  let t0;
@@ -2540,14 +2451,14 @@ function SelectSection() {
2540
2451
  Invalid: "invalid",
2541
2452
  Warned: "warned"
2542
2453
  },
2543
- renderItem: _temp$4
2454
+ renderItem: _temp$5
2544
2455
  })
2545
2456
  });
2546
2457
  $[0] = t0;
2547
2458
  } else t0 = $[0];
2548
2459
  return t0;
2549
2460
  }
2550
- function _temp$4(t0) {
2461
+ function _temp$5(t0) {
2551
2462
  const { col, row } = t0;
2552
2463
  return /* @__PURE__ */ jsxs(Field, { children: [
2553
2464
  /* @__PURE__ */ jsxs(Label, { children: ["Pick your fruit", col === "multiple" && "s"] }),
@@ -2588,8 +2499,7 @@ function _temp$4(t0) {
2588
2499
  col === "helperText" && /* @__PURE__ */ jsx(HelperText, { children: "For breakfast." })
2589
2500
  ] });
2590
2501
  }
2591
- //#endregion
2592
- //#region src/sections/SpinnerSection.tsx
2502
+ // src/sections/SpinnerSection.tsx
2593
2503
  function SpinnerSection() {
2594
2504
  const $ = c(1);
2595
2505
  let t0;
@@ -2606,144 +2516,64 @@ function SpinnerSection() {
2606
2516
  Warning: "warning",
2607
2517
  Labelled: "label"
2608
2518
  },
2609
- renderItem: _temp$3
2519
+ renderItem: _temp$4
2610
2520
  })
2611
2521
  });
2612
2522
  $[0] = t0;
2613
2523
  } else t0 = $[0];
2614
2524
  return t0;
2615
2525
  }
2616
- function _temp$3(t0) {
2526
+ function _temp$4(t0) {
2617
2527
  const { col } = t0;
2618
2528
  return /* @__PURE__ */ jsx(Spinner, {
2619
2529
  color: col === "label" ? void 0 : col,
2620
2530
  label: col === "label" ? "Loading…" : void 0
2621
2531
  });
2622
2532
  }
2623
- //#endregion
2624
- //#region src/sections/StepperSection.tsx
2533
+ // src/sections/StepperSection.tsx
2625
2534
  function StepperSection() {
2626
- const $ = c(26);
2627
- const spacing = useSpacing();
2535
+ const $ = c(1);
2628
2536
  let t0;
2629
2537
  if ($[0] === Symbol.for("react.memo_cache_sentinel")) {
2630
- t0 = { maxWidth: 600 };
2631
- $[0] = t0;
2632
- } else t0 = $[0];
2633
- let t1;
2634
- if ($[1] === Symbol.for("react.memo_cache_sentinel")) {
2635
- t1 = /* @__PURE__ */ jsxs(StepList, { children: [
2636
- /* @__PURE__ */ jsx(Step, { children: "Account Details" }),
2637
- /* @__PURE__ */ jsx(Step, { children: "Shipping Address" }),
2638
- /* @__PURE__ */ jsx(Step, { children: "Payment Method" }),
2639
- /* @__PURE__ */ jsx(Step, { children: "Review & Confirm" })
2640
- ] });
2641
- $[1] = t1;
2642
- } else t1 = $[1];
2643
- let t2;
2644
- if ($[2] !== spacing) {
2645
- t2 = spacing(2);
2646
- $[2] = spacing;
2647
- $[3] = t2;
2648
- } else t2 = $[3];
2649
- let t3;
2650
- if ($[4] !== t2) {
2651
- t3 = /* @__PURE__ */ jsx(StepContent, {
2652
- style: { marginBlock: t2 },
2653
- children: "Enter your contact information…"
2654
- });
2655
- $[4] = t2;
2656
- $[5] = t3;
2657
- } else t3 = $[5];
2658
- let t4;
2659
- if ($[6] !== spacing) {
2660
- t4 = spacing(2);
2661
- $[6] = spacing;
2662
- $[7] = t4;
2663
- } else t4 = $[7];
2664
- let t5;
2665
- if ($[8] !== t4) {
2666
- t5 = /* @__PURE__ */ jsx(StepContent, {
2667
- style: { marginBlock: t4 },
2668
- children: "Select your shipping address…"
2669
- });
2670
- $[8] = t4;
2671
- $[9] = t5;
2672
- } else t5 = $[9];
2673
- let t6;
2674
- if ($[10] !== spacing) {
2675
- t6 = spacing(2);
2676
- $[10] = spacing;
2677
- $[11] = t6;
2678
- } else t6 = $[11];
2679
- let t7;
2680
- if ($[12] !== t6) {
2681
- t7 = /* @__PURE__ */ jsx(StepContent, {
2682
- style: { marginBlock: t6 },
2683
- children: "Select your payment method…"
2684
- });
2685
- $[12] = t6;
2686
- $[13] = t7;
2687
- } else t7 = $[13];
2688
- let t8;
2689
- if ($[14] !== spacing) {
2690
- t8 = spacing(2);
2691
- $[14] = spacing;
2692
- $[15] = t8;
2693
- } else t8 = $[15];
2694
- let t9;
2695
- if ($[16] !== t8) {
2696
- t9 = /* @__PURE__ */ jsx(StepContent, {
2697
- style: { marginBlock: t8 },
2698
- children: "Double-check your order…"
2699
- });
2700
- $[16] = t8;
2701
- $[17] = t9;
2702
- } else t9 = $[17];
2703
- let t10;
2704
- let t11;
2705
- let t12;
2706
- if ($[18] === Symbol.for("react.memo_cache_sentinel")) {
2707
- t10 = /* @__PURE__ */ jsx(StepperPreviousTrigger, {});
2708
- t11 = /* @__PURE__ */ jsx(StepperNextTrigger, {});
2709
- t12 = /* @__PURE__ */ jsx(StepperFinishTrigger, {});
2710
- $[18] = t10;
2711
- $[19] = t11;
2712
- $[20] = t12;
2713
- } else {
2714
- t10 = $[18];
2715
- t11 = $[19];
2716
- t12 = $[20];
2717
- }
2718
- let t13;
2719
- if ($[21] !== t3 || $[22] !== t5 || $[23] !== t7 || $[24] !== t9) {
2720
- t13 = /* @__PURE__ */ jsx(ExhibitSection, {
2538
+ t0 = /* @__PURE__ */ jsx(ExhibitSection, {
2721
2539
  title: "Stepper",
2722
2540
  docsPage: "ostack-ui-data-disclosure-stepper",
2723
2541
  children: /* @__PURE__ */ jsxs(Stepper, {
2724
- style: t0,
2542
+ maxWidth: 600,
2725
2543
  children: [
2726
- t1,
2727
- t3,
2728
- t5,
2729
- t7,
2730
- t9,
2731
- t10,
2732
- t11,
2733
- t12
2544
+ /* @__PURE__ */ jsxs(StepList, { children: [
2545
+ /* @__PURE__ */ jsx(Step, { children: "Account Details" }),
2546
+ /* @__PURE__ */ jsx(Step, { children: "Shipping Address" }),
2547
+ /* @__PURE__ */ jsx(Step, { children: "Payment Method" }),
2548
+ /* @__PURE__ */ jsx(Step, { children: "Review & Confirm" })
2549
+ ] }),
2550
+ /* @__PURE__ */ jsx(StepContent, {
2551
+ my: 2,
2552
+ children: "Enter your contact information…"
2553
+ }),
2554
+ /* @__PURE__ */ jsx(StepContent, {
2555
+ my: 2,
2556
+ children: "Select your shipping address…"
2557
+ }),
2558
+ /* @__PURE__ */ jsx(StepContent, {
2559
+ my: 2,
2560
+ children: "Select your payment method…"
2561
+ }),
2562
+ /* @__PURE__ */ jsx(StepContent, {
2563
+ my: 2,
2564
+ children: "Double-check your order…"
2565
+ }),
2566
+ /* @__PURE__ */ jsx(StepperPreviousTrigger, {}),
2567
+ /* @__PURE__ */ jsx(StepperNextTrigger, {}),
2568
+ /* @__PURE__ */ jsx(StepperFinishTrigger, {})
2734
2569
  ]
2735
2570
  })
2736
2571
  });
2737
- $[21] = t3;
2738
- $[22] = t5;
2739
- $[23] = t7;
2740
- $[24] = t9;
2741
- $[25] = t13;
2742
- } else t13 = $[25];
2743
- return t13;
2744
- }
2745
- //#endregion
2746
- //#region src/sections/TableSection.tsx
2572
+ $[0] = t0;
2573
+ } else t0 = $[0];
2574
+ return t0;
2575
+ }
2576
+ // src/sections/TableSection.tsx
2747
2577
  var ROWS = [
2748
2578
  {
2749
2579
  student: "Avi Everett",
@@ -2796,82 +2626,74 @@ function _temp2(t0) {
2796
2626
  label: "Grade",
2797
2627
  align: "right"
2798
2628
  })] }),
2799
- /* @__PURE__ */ jsx(TableBody, { children: ROWS.map(_temp$2) }),
2629
+ /* @__PURE__ */ jsx(TableBody, { children: ROWS.map(_temp$3) }),
2800
2630
  /* @__PURE__ */ jsx(TableFoot, { children: /* @__PURE__ */ jsxs(TableRow, { children: [/* @__PURE__ */ jsx(TableCell, { children: "Average" }), /* @__PURE__ */ jsx(TableCell, { children: AVG_GRADE.toFixed(1) })] }) })
2801
2631
  ]
2802
2632
  });
2803
2633
  }
2804
- function _temp$2(t0, i) {
2634
+ function _temp$3(t0, i) {
2805
2635
  const { student, grade } = t0;
2806
2636
  return /* @__PURE__ */ jsxs(TableRow, { children: [/* @__PURE__ */ jsx(TableCell, { children: student }), /* @__PURE__ */ jsx(TableCell, { children: grade.toFixed(1) })] }, i);
2807
2637
  }
2808
- //#endregion
2809
- //#region src/sections/TabsSection.tsx
2638
+ // src/sections/TabsSection.tsx
2810
2639
  function TabsSection() {
2811
- const $ = c(3);
2812
- const spacing = useSpacing();
2640
+ const $ = c(1);
2813
2641
  let t0;
2814
2642
  if ($[0] === Symbol.for("react.memo_cache_sentinel")) {
2815
- t0 = {
2816
- Default: "default",
2817
- Annexes: "annexes"
2818
- };
2819
- $[0] = t0;
2820
- } else t0 = $[0];
2821
- let t1;
2822
- if ($[1] !== spacing) {
2823
- t1 = /* @__PURE__ */ jsx(ExhibitSection, {
2643
+ t0 = /* @__PURE__ */ jsx(ExhibitSection, {
2824
2644
  title: "Tabs",
2825
2645
  docsPage: "ostack-ui-data-disclosure-tabs",
2826
2646
  children: /* @__PURE__ */ jsx(ExhibitGrid, {
2827
- cols: t0,
2828
- renderItem: (t2) => {
2829
- const { col } = t2;
2830
- return /* @__PURE__ */ jsxs(Tabs, {
2831
- variant: col,
2832
- defaultValue: "accessibility",
2833
- children: [
2834
- /* @__PURE__ */ jsxs(TabList, { children: [
2835
- /* @__PURE__ */ jsx(Tab, {
2836
- value: "accessibility",
2837
- children: "Accessibility"
2838
- }),
2839
- /* @__PURE__ */ jsx(Tab, {
2840
- value: "privacy",
2841
- children: "Privacy & Security"
2842
- }),
2843
- /* @__PURE__ */ jsx(Tab, {
2844
- value: "system",
2845
- children: "System"
2846
- })
2847
- ] }),
2848
- /* @__PURE__ */ jsx(TabContent, {
2849
- value: "accessibility",
2850
- style: { marginTop: spacing(2) },
2851
- children: "Accessibility options…"
2852
- }),
2853
- /* @__PURE__ */ jsx(TabContent, {
2854
- value: "privacy",
2855
- style: { marginTop: spacing(2) },
2856
- children: "Privacy & Security settings…"
2857
- }),
2858
- /* @__PURE__ */ jsx(TabContent, {
2859
- value: "system",
2860
- style: { marginTop: spacing(2) },
2861
- children: "System configuration…"
2862
- })
2863
- ]
2864
- });
2865
- }
2647
+ cols: {
2648
+ Default: "default",
2649
+ Annexes: "annexes"
2650
+ },
2651
+ renderItem: _temp$2
2866
2652
  })
2867
2653
  });
2868
- $[1] = spacing;
2869
- $[2] = t1;
2870
- } else t1 = $[2];
2871
- return t1;
2654
+ $[0] = t0;
2655
+ } else t0 = $[0];
2656
+ return t0;
2657
+ }
2658
+ function _temp$2(t0) {
2659
+ const { col } = t0;
2660
+ return /* @__PURE__ */ jsxs(Tabs, {
2661
+ variant: col,
2662
+ defaultValue: "accessibility",
2663
+ children: [
2664
+ /* @__PURE__ */ jsxs(TabList, {
2665
+ mb: 2,
2666
+ children: [
2667
+ /* @__PURE__ */ jsx(Tab, {
2668
+ value: "accessibility",
2669
+ children: "Accessibility"
2670
+ }),
2671
+ /* @__PURE__ */ jsx(Tab, {
2672
+ value: "privacy",
2673
+ children: "Privacy & Security"
2674
+ }),
2675
+ /* @__PURE__ */ jsx(Tab, {
2676
+ value: "system",
2677
+ children: "System"
2678
+ })
2679
+ ]
2680
+ }),
2681
+ /* @__PURE__ */ jsx(TabContent, {
2682
+ value: "accessibility",
2683
+ children: "Accessibility options…"
2684
+ }),
2685
+ /* @__PURE__ */ jsx(TabContent, {
2686
+ value: "privacy",
2687
+ children: "Privacy & Security settings…"
2688
+ }),
2689
+ /* @__PURE__ */ jsx(TabContent, {
2690
+ value: "system",
2691
+ children: "System configuration…"
2692
+ })
2693
+ ]
2694
+ });
2872
2695
  }
2873
- //#endregion
2874
- //#region src/sections/TagSection.tsx
2696
+ // src/sections/TagSection.tsx
2875
2697
  function TagSection() {
2876
2698
  const $ = c(1);
2877
2699
  let t0;
@@ -2913,8 +2735,7 @@ function _temp$1(t0) {
2913
2735
  children: "New"
2914
2736
  });
2915
2737
  }
2916
- //#endregion
2917
- //#region src/sections/TextAreaSection.tsx
2738
+ // src/sections/TextAreaSection.tsx
2918
2739
  function TextAreaSection() {
2919
2740
  const $ = c(1);
2920
2741
  let t0;
@@ -2973,8 +2794,7 @@ function _temp(t0) {
2973
2794
  col === "helperText" && /* @__PURE__ */ jsx(HelperText, { children: "We will attempt to honour them." })
2974
2795
  ] });
2975
2796
  }
2976
- //#endregion
2977
- //#region src/sections/ToastSection.tsx
2797
+ // src/sections/ToastSection.tsx
2978
2798
  function ToastSection() {
2979
2799
  const $ = c(4);
2980
2800
  const { addToast } = useToastManager();
@@ -3038,8 +2858,7 @@ function ToastSection() {
3038
2858
  } else t2 = $[3];
3039
2859
  return t2;
3040
2860
  }
3041
- //#endregion
3042
- //#region src/sections/TooltipSection.tsx
2861
+ // src/sections/TooltipSection.tsx
3043
2862
  function TooltipSection() {
3044
2863
  const $ = c(1);
3045
2864
  let t0;
@@ -3056,8 +2875,7 @@ function TooltipSection() {
3056
2875
  } else t0 = $[0];
3057
2876
  return t0;
3058
2877
  }
3059
- //#endregion
3060
- //#region src/ExhibitApp.tsx
2878
+ // src/ExhibitApp.tsx
3061
2879
  var DEFAULT_DOCS_URL = DEV ? "http://localhost:6006/" : "https://ui.ostack.tech/";
3062
2880
  function ExhibitApp(t0) {
3063
2881
  const $ = c(17);
@@ -3200,7 +3018,6 @@ function ExhibitApp(t0) {
3200
3018
  } else t10 = $[16];
3201
3019
  return t10;
3202
3020
  }
3203
- //#endregion
3204
3021
  export { ExhibitApp };
3205
3022
 
3206
3023
  //# sourceMappingURL=ostack-ui-exhibit.js.map