@gpichot/spectacle-deck 1.0.9 → 1.1.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.
Files changed (70) hide show
  1. package/{components → dist/components}/Timeline.d.ts +2 -0
  2. package/dist/components/Timeline.styled.d.ts +7 -0
  3. package/dist/components/styled.d.ts +12 -0
  4. package/{index.cjs → dist/index.cjs} +233 -144
  5. package/{index.mjs → dist/index.mjs} +232 -143
  6. package/dist/layouts/QuoteLayout.d.ts +6 -0
  7. package/dist/layouts/SectionLayout.d.ts +2 -0
  8. package/dist/layouts/index.d.ts +25 -0
  9. package/dist/layouts/styled.d.ts +2 -0
  10. package/dist/package.json +30 -0
  11. package/package.json +23 -19
  12. package/scripts/bundle.ts +84 -0
  13. package/src/components/CodeStepper/CodeStepper.tsx +223 -0
  14. package/src/components/CodeStepper/code-directives.test.ts +58 -0
  15. package/src/components/CodeStepper/code-directives.ts +129 -0
  16. package/src/components/DocumentationItem.tsx +85 -0
  17. package/src/components/FilePane.tsx +18 -0
  18. package/src/components/HorizontalList.tsx +140 -0
  19. package/src/components/IconBox.tsx +31 -0
  20. package/src/components/Image.tsx +34 -0
  21. package/src/components/ItemsColumn.tsx +56 -0
  22. package/src/components/Timeline.styled.tsx +24 -0
  23. package/src/components/Timeline.tsx +159 -0
  24. package/src/components/map.tsx +115 -0
  25. package/src/components/styled.tsx +73 -0
  26. package/src/front.png +0 -0
  27. package/src/index.tsx +109 -0
  28. package/src/layouts/CenteredLayout.tsx +40 -0
  29. package/src/layouts/Default3Layout.tsx +159 -0
  30. package/src/layouts/MainSectionLayout.tsx +31 -0
  31. package/src/layouts/QuoteLayout.tsx +99 -0
  32. package/src/layouts/SectionLayout.tsx +14 -0
  33. package/src/layouts/SideCodeLayout.tsx +44 -0
  34. package/src/layouts/SideImageLayout.tsx +72 -0
  35. package/src/layouts/SideLayout.tsx +31 -0
  36. package/src/layouts/columns.tsx +56 -0
  37. package/src/layouts/index.tsx +19 -0
  38. package/src/layouts/styled.ts +7 -0
  39. package/src/layouts/utils.ts +65 -0
  40. package/src/node.d.ts +5 -0
  41. package/src/style.d.ts +10 -0
  42. package/src/template.tsx +25 -0
  43. package/src/theme.ts +24 -0
  44. package/test.js +106 -0
  45. package/tsconfig.json +29 -0
  46. package/components/Timeline.styled.d.ts +0 -1361
  47. package/components/styled.d.ts +0 -1097
  48. package/layouts/SectionLayout.d.ts +0 -274
  49. package/layouts/index.d.ts +0 -295
  50. package/layouts/styled.d.ts +0 -283
  51. /package/{components → dist/components}/CodeStepper/CodeStepper.d.ts +0 -0
  52. /package/{components → dist/components}/CodeStepper/code-directives.d.ts +0 -0
  53. /package/{components → dist/components}/DocumentationItem.d.ts +0 -0
  54. /package/{components → dist/components}/FilePane.d.ts +0 -0
  55. /package/{components → dist/components}/HorizontalList.d.ts +0 -0
  56. /package/{components → dist/components}/IconBox.d.ts +0 -0
  57. /package/{components → dist/components}/Image.d.ts +0 -0
  58. /package/{components → dist/components}/ItemsColumn.d.ts +0 -0
  59. /package/{components → dist/components}/map.d.ts +0 -0
  60. /package/{index.d.ts → dist/index.d.ts} +0 -0
  61. /package/{layouts → dist/layouts}/CenteredLayout.d.ts +0 -0
  62. /package/{layouts → dist/layouts}/Default3Layout.d.ts +0 -0
  63. /package/{layouts → dist/layouts}/MainSectionLayout.d.ts +0 -0
  64. /package/{layouts → dist/layouts}/SideCodeLayout.d.ts +0 -0
  65. /package/{layouts → dist/layouts}/SideImageLayout.d.ts +0 -0
  66. /package/{layouts → dist/layouts}/SideLayout.d.ts +0 -0
  67. /package/{layouts → dist/layouts}/columns.d.ts +0 -0
  68. /package/{layouts → dist/layouts}/utils.d.ts +0 -0
  69. /package/{template.d.ts → dist/template.d.ts} +0 -0
  70. /package/{theme.d.ts → dist/theme.d.ts} +0 -0
@@ -1,5 +1,5 @@
1
1
  // src/index.tsx
2
- import React20 from "react";
2
+ import React21 from "react";
3
3
  import { MDXProvider } from "@mdx-js/react";
4
4
  import { Deck as SpectacleDeck, Slide } from "spectacle";
5
5
 
@@ -352,9 +352,97 @@ var MainSectionLayout = ({
352
352
  );
353
353
  };
354
354
 
355
- // src/layouts/SectionLayout.tsx
355
+ // src/layouts/QuoteLayout.tsx
356
+ import React5 from "react";
356
357
  import styled3 from "styled-components";
357
- var SectionLayout = styled3.div`
358
+ function invariant(condition, message) {
359
+ if (!condition) {
360
+ throw new Error(message);
361
+ }
362
+ }
363
+ var QuoteBaseLayout = styled3.div`
364
+ .blockquote > * {
365
+ border-left: 0;
366
+ }
367
+ .blockquote {
368
+ position: relative;
369
+ }
370
+ .blockquote > :first-child {
371
+ &:before {
372
+ content: "“";
373
+ position: absolute;
374
+ font-size: 16rem;
375
+ left: -9rem;
376
+ font-family: serif;
377
+ top: 2rem;
378
+ color: #ffffff22;
379
+ }
380
+ &:after {
381
+ content: "”";
382
+ position: absolute;
383
+ font-size: 16rem;
384
+ right: 3rem;
385
+ bottom: -5rem;
386
+ font-family: serif;
387
+ color: #ffffff22;
388
+ pointer-events: none;
389
+ }
390
+ }
391
+ .blockquote * {
392
+ line-height: 3.5rem !important;
393
+ font-size: 2.5rem;
394
+ }
395
+ .source {
396
+ font-family: Bitter, "Helvetica Neue", Helvetica, Arial, sans-serif;
397
+ box-sizing: border-box;
398
+ width: 100%;
399
+ margin-top: 4rem;
400
+ text-align: right;
401
+ font-size: 2rem;
402
+ a {
403
+ text-decoration: none;
404
+ color: #ffffff77;
405
+ }
406
+ }
407
+ `;
408
+ function QuoteLayout({
409
+ children,
410
+ author,
411
+ url
412
+ }) {
413
+ const [blockquote, rest] = getMatchingMdxType(children, "blockquote");
414
+ invariant(rest, "QuoteLayout can only have one blockquote");
415
+ return /* @__PURE__ */ React5.createElement(QuoteBaseLayout, null, /* @__PURE__ */ React5.createElement(
416
+ "div",
417
+ {
418
+ style: {
419
+ display: "flex",
420
+ flexDirection: "column",
421
+ alignItems: "flex-start",
422
+ justifyContent: "center",
423
+ textAlign: "center",
424
+ margin: "0 10%"
425
+ }
426
+ },
427
+ /* @__PURE__ */ React5.createElement(
428
+ "div",
429
+ {
430
+ style: {
431
+ flex: 1,
432
+ padding: "0 8rem 0 0",
433
+ boxSizing: "border-box"
434
+ },
435
+ className: "blockquote"
436
+ },
437
+ blockquote
438
+ ),
439
+ /* @__PURE__ */ React5.createElement("div", { className: "source", style: { flex: 1, padding: "0 2rem" } }, /* @__PURE__ */ React5.createElement("a", { href: url, target: "_blank", rel: "noopener noreferrer" }, author))
440
+ ));
441
+ }
442
+
443
+ // src/layouts/SectionLayout.tsx
444
+ import styled4 from "styled-components";
445
+ var SectionLayout = styled4.div`
358
446
  display: flex;
359
447
  flex-direction: row;
360
448
  align-items: center;
@@ -368,12 +456,12 @@ var SectionLayout = styled3.div`
368
456
  `;
369
457
 
370
458
  // src/layouts/SideCodeLayout.tsx
371
- import React6 from "react";
459
+ import React7 from "react";
372
460
 
373
461
  // src/layouts/columns.tsx
374
- import React5 from "react";
375
- import styled4 from "styled-components";
376
- var DivWithHeading = styled4.div`
462
+ import React6 from "react";
463
+ import styled5 from "styled-components";
464
+ var DivWithHeading = styled5.div`
377
465
  h2 {
378
466
  margin-top: 0;
379
467
  }
@@ -382,7 +470,7 @@ var DivWithHeading = styled4.div`
382
470
  font-weight: 400;
383
471
  }
384
472
  `;
385
- var ColumnsContainer = styled4(DivWithHeading)`
473
+ var ColumnsContainer = styled5(DivWithHeading)`
386
474
  display: flex;
387
475
  flex-direction: row;
388
476
  position: absolute;
@@ -396,15 +484,15 @@ function ColumnsLayout({
396
484
  children,
397
485
  reverse
398
486
  }) {
399
- const childrenArray = React5.Children.toArray(children);
400
- return /* @__PURE__ */ React5.createElement(
487
+ const childrenArray = React6.Children.toArray(children);
488
+ return /* @__PURE__ */ React6.createElement(
401
489
  ColumnsContainer,
402
490
  {
403
491
  style: {
404
492
  flexDirection: reverse ? "row-reverse" : "row"
405
493
  }
406
494
  },
407
- childrenArray.map((child, i) => /* @__PURE__ */ React5.createElement(
495
+ childrenArray.map((child, i) => /* @__PURE__ */ React6.createElement(
408
496
  "div",
409
497
  {
410
498
  key: i,
@@ -423,8 +511,8 @@ function ColumnsLayout({
423
511
  }
424
512
 
425
513
  // src/layouts/SideCodeLayout.tsx
426
- import styled5 from "styled-components";
427
- var CodeSide = styled5.div`
514
+ import styled6 from "styled-components";
515
+ var CodeSide = styled6.div`
428
516
  pre {
429
517
  font-size: 0.9rem;
430
518
  }
@@ -434,7 +522,7 @@ function SidedCodeLayout({
434
522
  position = "right"
435
523
  }) {
436
524
  const [code, rest] = getCodeChildren(children);
437
- return /* @__PURE__ */ React6.createElement(ColumnsLayout, { reverse: position === "left" }, /* @__PURE__ */ React6.createElement(
525
+ return /* @__PURE__ */ React7.createElement(ColumnsLayout, { reverse: position === "left" }, /* @__PURE__ */ React7.createElement(
438
526
  "div",
439
527
  {
440
528
  style: {
@@ -443,7 +531,7 @@ function SidedCodeLayout({
443
531
  }
444
532
  },
445
533
  rest
446
- ), /* @__PURE__ */ React6.createElement(
534
+ ), /* @__PURE__ */ React7.createElement(
447
535
  CodeSide,
448
536
  {
449
537
  style: {
@@ -459,15 +547,15 @@ function SidedCodeLayout({
459
547
  }
460
548
 
461
549
  // src/layouts/SideImageLayout.tsx
462
- import React8 from "react";
463
- import styled7 from "styled-components";
550
+ import React9 from "react";
551
+ import styled8 from "styled-components";
464
552
 
465
553
  // src/components/Image.tsx
466
- import React7 from "react";
554
+ import React8 from "react";
467
555
 
468
556
  // src/layouts/styled.ts
469
- import styled6 from "styled-components";
470
- var SVGObject = styled6.object`
557
+ import styled7 from "styled-components";
558
+ var SVGObject = styled7.object`
471
559
  padding: 3rem 2rem;
472
560
  box-sizing: border-box;
473
561
  background-color: white;
@@ -477,7 +565,7 @@ var SVGObject = styled6.object`
477
565
  function Image(props) {
478
566
  const { src, height } = props;
479
567
  if (!(src == null ? void 0 : src.endsWith(".svg"))) {
480
- return /* @__PURE__ */ React7.createElement(
568
+ return /* @__PURE__ */ React8.createElement(
481
569
  "img",
482
570
  {
483
571
  src,
@@ -490,7 +578,7 @@ function Image(props) {
490
578
  }
491
579
  );
492
580
  }
493
- return /* @__PURE__ */ React7.createElement(
581
+ return /* @__PURE__ */ React8.createElement(
494
582
  SVGObject,
495
583
  {
496
584
  type: "image/svg+xml",
@@ -506,7 +594,7 @@ function Image(props) {
506
594
  Image.mdxType = "Image";
507
595
 
508
596
  // src/layouts/SideImageLayout.tsx
509
- var DivWithHeading2 = styled7.div`
597
+ var DivWithHeading2 = styled8.div`
510
598
  h2 {
511
599
  margin-top: 0;
512
600
  }
@@ -527,7 +615,7 @@ var SidedImageLayout = ({
527
615
  console.error("No image provided for SidedImageLayout");
528
616
  return null;
529
617
  }
530
- return /* @__PURE__ */ React8.createElement(
618
+ return /* @__PURE__ */ React9.createElement(
531
619
  DivWithHeading2,
532
620
  {
533
621
  style: {
@@ -540,7 +628,7 @@ var SidedImageLayout = ({
540
628
  top: 0
541
629
  }
542
630
  },
543
- /* @__PURE__ */ React8.createElement(
631
+ /* @__PURE__ */ React9.createElement(
544
632
  "div",
545
633
  {
546
634
  style: {
@@ -553,7 +641,7 @@ var SidedImageLayout = ({
553
641
  },
554
642
  rest
555
643
  ),
556
- /* @__PURE__ */ React8.createElement(
644
+ /* @__PURE__ */ React9.createElement(
557
645
  "div",
558
646
  {
559
647
  style: {
@@ -565,19 +653,19 @@ var SidedImageLayout = ({
565
653
  backgroundColor: "white"
566
654
  }
567
655
  },
568
- component || /* @__PURE__ */ React8.createElement(Image, { src: image })
656
+ component || /* @__PURE__ */ React9.createElement(Image, { src: image })
569
657
  )
570
658
  );
571
659
  };
572
660
 
573
661
  // src/layouts/SideLayout.tsx
574
- import React9 from "react";
662
+ import React10 from "react";
575
663
  function SideLayout({
576
664
  children,
577
665
  position = "right"
578
666
  }) {
579
667
  const [side, rest] = getMatchingMdxType(children, "Side");
580
- return /* @__PURE__ */ React9.createElement(ColumnsLayout, { reverse: position === "left" }, /* @__PURE__ */ React9.createElement("div", { style: { marginLeft: Margins.horizontal } }, rest), /* @__PURE__ */ React9.createElement(
668
+ return /* @__PURE__ */ React10.createElement(ColumnsLayout, { reverse: position === "left" }, /* @__PURE__ */ React10.createElement("div", { style: { marginLeft: Margins.horizontal } }, rest), /* @__PURE__ */ React10.createElement(
581
669
  "div",
582
670
  {
583
671
  style: {
@@ -599,6 +687,7 @@ var layouts_default = {
599
687
  mainSection: MainSectionLayout,
600
688
  centered: CenteredLayout,
601
689
  default3: Default3Layout,
690
+ quote: QuoteLayout,
602
691
  sidedCode: SidedCodeLayout,
603
692
  sidedImage: SidedImageLayout,
604
693
  side: SideLayout,
@@ -631,11 +720,11 @@ var theme_default = {
631
720
  };
632
721
 
633
722
  // src/template.tsx
634
- import React10 from "react";
723
+ import React11 from "react";
635
724
  import { Box, FullScreen } from "spectacle";
636
725
  var template = ({ slideNumber, numberOfSlides }) => {
637
726
  const percentage = slideNumber / numberOfSlides * 100;
638
- return /* @__PURE__ */ React10.createElement("div", { style: { position: "absolute", bottom: 0, left: 0, right: 0 } }, /* @__PURE__ */ React10.createElement(Box, { padding: "0 0 0.5em 0.7em" }, /* @__PURE__ */ React10.createElement(FullScreen, null)), /* @__PURE__ */ React10.createElement("div", { style: { width: "100%", height: "4px", background: "#ffffff11" } }, /* @__PURE__ */ React10.createElement(
727
+ return /* @__PURE__ */ React11.createElement("div", { style: { position: "absolute", bottom: 0, left: 0, right: 0 } }, /* @__PURE__ */ React11.createElement(Box, { padding: "0 0 0.5em 0.7em" }, /* @__PURE__ */ React11.createElement(FullScreen, null)), /* @__PURE__ */ React11.createElement("div", { style: { width: "100%", height: "4px", background: "#ffffff11" } }, /* @__PURE__ */ React11.createElement(
639
728
  "div",
640
729
  {
641
730
  style: {
@@ -649,31 +738,31 @@ var template = ({ slideNumber, numberOfSlides }) => {
649
738
  };
650
739
 
651
740
  // src/components/map.tsx
652
- import React13 from "react";
741
+ import React14 from "react";
653
742
  import { mdxComponentMap } from "spectacle";
654
743
 
655
744
  // src/components/styled.tsx
656
- import React11 from "react";
745
+ import React12 from "react";
657
746
  import {
658
747
  Link as SpectacleLink,
659
748
  Image as SpectacleImage,
660
749
  Heading,
661
750
  FlexBox as FlexBox2
662
751
  } from "spectacle";
663
- import styled8 from "styled-components";
664
- var StyledImage = styled8(SpectacleImage)`
752
+ import styled9 from "styled-components";
753
+ var StyledImage = styled9(SpectacleImage)`
665
754
  object-fit: contain;
666
755
  max-height: 30vh;
667
756
  max-width: 70vw;
668
757
  `;
669
- var Image2 = (props) => /* @__PURE__ */ React11.createElement(FlexBox2, { margin: "0 0", padding: "0 0" }, /* @__PURE__ */ React11.createElement(StyledImage, { ...props }));
670
- var CustomHeading = styled8(Heading)`
758
+ var Image2 = (props) => /* @__PURE__ */ React12.createElement(FlexBox2, { margin: "0 0", padding: "0 0" }, /* @__PURE__ */ React12.createElement(StyledImage, { ...props }));
759
+ var CustomHeading = styled9(Heading)`
671
760
  strong {
672
761
  color: #f49676;
673
762
  font-weight: 500;
674
763
  }
675
764
  `;
676
- var CustomQuote = styled8.blockquote`
765
+ var CustomQuote = styled9.blockquote`
677
766
  margin: 1rem 0;
678
767
  padding-left: 1.5rem;
679
768
  padding-top: 0;
@@ -684,7 +773,7 @@ var CustomQuote = styled8.blockquote`
684
773
  padding: 0 !important;
685
774
  }
686
775
  `;
687
- var InlineCode = styled8.code`
776
+ var InlineCode = styled9.code`
688
777
  filter: brightness(1.05);
689
778
  zoom: 1.1;
690
779
  &:before,
@@ -693,12 +782,12 @@ var InlineCode = styled8.code`
693
782
  font-size: 0.8em;
694
783
  }
695
784
  `;
696
- var HeadingTwo = styled8.h2`
785
+ var HeadingTwo = styled9.h2`
697
786
  font-family: Bitter, \"Helvetica Neue\", Helvetica, Arial, sans-serif;
698
787
  font-size: 55px;
699
788
  font-weight: 400;
700
789
  `;
701
- var HeadingThree = styled8.h3`
790
+ var HeadingThree = styled9.h3`
702
791
  font-family: Bitter, \"Helvetica Neue\", Helvetica, Arial, sans-serif;
703
792
  font-size: 40px;
704
793
  font-weight: 400;
@@ -711,12 +800,12 @@ var HeadingThree = styled8.h3`
711
800
  `;
712
801
 
713
802
  // src/components/CodeStepper/CodeStepper.tsx
714
- import React12 from "react";
803
+ import React13 from "react";
715
804
  import ReactIs from "react-is";
716
805
  import { Prism as SyntaxHighlighter } from "react-syntax-highlighter";
717
806
  import { gruvboxDark } from "react-syntax-highlighter/dist/esm/styles/prism";
718
807
  import { Stepper } from "spectacle";
719
- import styled9 from "styled-components";
808
+ import styled10 from "styled-components";
720
809
 
721
810
  // src/components/CodeStepper/code-directives.ts
722
811
  function range(start, end) {
@@ -780,7 +869,7 @@ function parseStepDirectives(directives) {
780
869
 
781
870
  // src/components/CodeStepper/CodeStepper.tsx
782
871
  var Highlighter = SyntaxHighlighter;
783
- var CodeContainer = styled9.div`
872
+ var CodeContainer = styled10.div`
784
873
  pre {
785
874
  padding: 1rem 0rem !important;
786
875
  background-color: transparent !important;
@@ -801,7 +890,7 @@ var CodeContainer = styled9.div`
801
890
  }
802
891
  `;
803
892
  function useCodeSteps(code) {
804
- return React12.useMemo(() => {
893
+ return React13.useMemo(() => {
805
894
  const prefixes = code.match(/(?:\/\/|<!--) @.*\n/g) || [];
806
895
  const prefixesLength = prefixes.reduce(
807
896
  (acc, prefix) => acc + prefix.length,
@@ -821,8 +910,8 @@ function useCodeSteps(code) {
821
910
  }, [code]);
822
911
  }
823
912
  function getCodeDetails(children) {
824
- const child = React12.Children.toArray(children)[0];
825
- if (!React12.isValidElement(child)) {
913
+ const child = React13.Children.toArray(children)[0];
914
+ if (!React13.isValidElement(child)) {
826
915
  return {
827
916
  language: "",
828
917
  code: ReactIs.isFragment(child) ? "" : String(child || "")
@@ -840,7 +929,7 @@ function CodeWrapper({
840
929
  hasName,
841
930
  children
842
931
  }) {
843
- return /* @__PURE__ */ React12.createElement(
932
+ return /* @__PURE__ */ React13.createElement(
844
933
  "div",
845
934
  {
846
935
  style: {
@@ -850,7 +939,7 @@ function CodeWrapper({
850
939
  borderRadius: "4px"
851
940
  }
852
941
  },
853
- name && /* @__PURE__ */ React12.createElement(
942
+ name && /* @__PURE__ */ React13.createElement(
854
943
  "span",
855
944
  {
856
945
  style: {
@@ -867,7 +956,7 @@ function CodeWrapper({
867
956
  name
868
957
  ),
869
958
  children,
870
- hasName && /* @__PURE__ */ React12.createElement(
959
+ hasName && /* @__PURE__ */ React13.createElement(
871
960
  "span",
872
961
  {
873
962
  style: {
@@ -882,7 +971,7 @@ function CodeWrapper({
882
971
  fontStyle: "italic"
883
972
  }
884
973
  },
885
- stepName || /* @__PURE__ */ React12.createElement("span", { style: { visibility: "hidden" } }, "Step")
974
+ stepName || /* @__PURE__ */ React13.createElement("span", { style: { visibility: "hidden" } }, "Step")
886
975
  )
887
976
  );
888
977
  }
@@ -891,7 +980,7 @@ function CodeStepper({
891
980
  name,
892
981
  ...props
893
982
  }) {
894
- const { language, code } = React12.useMemo(() => {
983
+ const { language, code } = React13.useMemo(() => {
895
984
  return getCodeDetails(props.children);
896
985
  }, [props.children]);
897
986
  const {
@@ -901,21 +990,21 @@ function CodeStepper({
901
990
  hasSteps,
902
991
  hasName
903
992
  } = useCodeSteps(code);
904
- return /* @__PURE__ */ React12.createElement(CodeContainer, null, import.meta.env.DEV && Boolean(prefixes == null ? void 0 : prefixes.length) && /* @__PURE__ */ React12.createElement("div", { style: { position: "absolute", top: 0, opacity: 0.5, left: 0 } }, /* @__PURE__ */ React12.createElement(Highlighter, { language, style: gruvboxDark }, prefixes.join(""))), /* @__PURE__ */ React12.createElement(
993
+ return /* @__PURE__ */ React13.createElement(CodeContainer, null, import.meta.env.DEV && Boolean(prefixes == null ? void 0 : prefixes.length) && /* @__PURE__ */ React13.createElement("div", { style: { position: "absolute", top: 0, opacity: 0.5, left: 0 } }, /* @__PURE__ */ React13.createElement(Highlighter, { language, style: gruvboxDark }, prefixes.join(""))), /* @__PURE__ */ React13.createElement(
905
994
  Stepper,
906
995
  {
907
996
  values: steps,
908
997
  alwaysVisible: !hasSteps,
909
998
  priority: priority ? priority + 1 : void 0
910
999
  },
911
- (step, _, isActive) => /* @__PURE__ */ React12.createElement(
1000
+ (step, _, isActive) => /* @__PURE__ */ React13.createElement(
912
1001
  CodeWrapper,
913
1002
  {
914
1003
  name,
915
1004
  stepName: step == null ? void 0 : step.name,
916
1005
  hasName
917
1006
  },
918
- /* @__PURE__ */ React12.createElement(
1007
+ /* @__PURE__ */ React13.createElement(
919
1008
  Highlighter,
920
1009
  {
921
1010
  language,
@@ -965,7 +1054,7 @@ CodeStepper.mdxType = "CodeStepper";
965
1054
  // src/components/map.tsx
966
1055
  var componentsMap = {
967
1056
  ...mdxComponentMap,
968
- inlineCode: (props) => /* @__PURE__ */ React13.createElement(
1057
+ inlineCode: (props) => /* @__PURE__ */ React14.createElement(
969
1058
  InlineCode,
970
1059
  {
971
1060
  ...props,
@@ -975,7 +1064,7 @@ var componentsMap = {
975
1064
  }
976
1065
  }
977
1066
  ),
978
- table: (props) => /* @__PURE__ */ React13.createElement(
1067
+ table: (props) => /* @__PURE__ */ React14.createElement(
979
1068
  "table",
980
1069
  {
981
1070
  ...props,
@@ -986,7 +1075,7 @@ var componentsMap = {
986
1075
  }
987
1076
  }
988
1077
  ),
989
- tr: (props) => /* @__PURE__ */ React13.createElement(
1078
+ tr: (props) => /* @__PURE__ */ React14.createElement(
990
1079
  "tr",
991
1080
  {
992
1081
  ...props,
@@ -998,7 +1087,7 @@ var componentsMap = {
998
1087
  }
999
1088
  }
1000
1089
  ),
1001
- td: (props) => /* @__PURE__ */ React13.createElement(
1090
+ td: (props) => /* @__PURE__ */ React14.createElement(
1002
1091
  "td",
1003
1092
  {
1004
1093
  ...props,
@@ -1011,7 +1100,7 @@ var componentsMap = {
1011
1100
  }
1012
1101
  }
1013
1102
  ),
1014
- h1: (props) => /* @__PURE__ */ React13.createElement(
1103
+ h1: (props) => /* @__PURE__ */ React14.createElement(
1015
1104
  CustomHeading,
1016
1105
  {
1017
1106
  fontSize: "h1",
@@ -1027,15 +1116,15 @@ var componentsMap = {
1027
1116
  },
1028
1117
  props.children
1029
1118
  ),
1030
- h2: (props) => /* @__PURE__ */ React13.createElement(HeadingTwo, null, props.children),
1031
- h3: (props) => /* @__PURE__ */ React13.createElement(HeadingThree, { ...props }),
1032
- img: (props) => /* @__PURE__ */ React13.createElement(Image2, { ...props }),
1119
+ h2: (props) => /* @__PURE__ */ React14.createElement(HeadingTwo, null, props.children),
1120
+ h3: (props) => /* @__PURE__ */ React14.createElement(HeadingThree, { ...props }),
1121
+ img: (props) => /* @__PURE__ */ React14.createElement(Image2, { ...props }),
1033
1122
  pre: CodeStepper,
1034
- li: (props) => /* @__PURE__ */ React13.createElement("li", { ...props, style: { margin: "24px 0" } }),
1035
- Side: (props) => /* @__PURE__ */ React13.createElement("div", { ...props }),
1123
+ li: (props) => /* @__PURE__ */ React14.createElement("li", { ...props, style: { margin: "24px 0" } }),
1124
+ Side: (props) => /* @__PURE__ */ React14.createElement("div", { ...props }),
1036
1125
  p: (props) => {
1037
1126
  const Text = mdxComponentMap.p;
1038
- return /* @__PURE__ */ React13.createElement(
1127
+ return /* @__PURE__ */ React14.createElement(
1039
1128
  Text,
1040
1129
  {
1041
1130
  style: { margin: "8px 0", padding: "8px 0", lineHeight: "2rem" },
@@ -1043,10 +1132,10 @@ var componentsMap = {
1043
1132
  }
1044
1133
  );
1045
1134
  },
1046
- blockquote: (props) => /* @__PURE__ */ React13.createElement(CustomQuote, { ...props }),
1135
+ blockquote: (props) => /* @__PURE__ */ React14.createElement(CustomQuote, { ...props }),
1047
1136
  a: ({ children, ...props }) => {
1048
1137
  const domain = new URL(props.href || "").hostname;
1049
- return /* @__PURE__ */ React13.createElement("a", { ...props, style: { color: "#f49676", textDecoration: "none" } }, children, " ", /* @__PURE__ */ React13.createElement(
1138
+ return /* @__PURE__ */ React14.createElement("a", { ...props, style: { color: "#f49676", textDecoration: "none" } }, children, " ", /* @__PURE__ */ React14.createElement(
1050
1139
  "small",
1051
1140
  {
1052
1141
  style: {
@@ -1062,14 +1151,14 @@ var componentsMap = {
1062
1151
  var map_default = componentsMap;
1063
1152
 
1064
1153
  // src/components/FilePane.tsx
1065
- import React14 from "react";
1154
+ import React15 from "react";
1066
1155
  function FilePane({
1067
1156
  name,
1068
1157
  children,
1069
1158
  priority,
1070
1159
  ...divProps
1071
1160
  }) {
1072
- return React14.isValidElement(children) ? React14.cloneElement(children, {
1161
+ return React15.isValidElement(children) ? React15.cloneElement(children, {
1073
1162
  // @ts-expect-error cloning
1074
1163
  priority,
1075
1164
  name
@@ -1078,14 +1167,14 @@ function FilePane({
1078
1167
  FilePane.mdxType = "FilePane";
1079
1168
 
1080
1169
  // src/components/ItemsColumn.tsx
1081
- import React15 from "react";
1170
+ import React16 from "react";
1082
1171
  import { Stepper as Stepper2 } from "spectacle";
1083
- import styled10 from "styled-components";
1172
+ import styled11 from "styled-components";
1084
1173
  import { useSpring, animated } from "react-spring";
1085
1174
  function ItemsColumn(divProps) {
1086
1175
  const { style: style2, children, ...props } = divProps;
1087
- const childrenArray = React15.Children.toArray(children);
1088
- return /* @__PURE__ */ React15.createElement(Stepper2, { values: childrenArray }, (value, step) => /* @__PURE__ */ React15.createElement(
1176
+ const childrenArray = React16.Children.toArray(children);
1177
+ return /* @__PURE__ */ React16.createElement(Stepper2, { values: childrenArray }, (value, step) => /* @__PURE__ */ React16.createElement(
1089
1178
  "div",
1090
1179
  {
1091
1180
  style: {
@@ -1099,14 +1188,14 @@ function ItemsColumn(divProps) {
1099
1188
  },
1100
1189
  childrenArray.map((child, index) => {
1101
1190
  const isVisible = index <= step;
1102
- if (!React15.isValidElement(child)) {
1191
+ if (!React16.isValidElement(child)) {
1103
1192
  return child;
1104
1193
  }
1105
- return /* @__PURE__ */ React15.createElement(ItemColumnWrapper, { key: index, isVisible }, child);
1194
+ return /* @__PURE__ */ React16.createElement(ItemColumnWrapper, { key: index, isVisible }, child);
1106
1195
  })
1107
1196
  ));
1108
1197
  }
1109
- var ItemColumnWrapperStyled = styled10(animated.div)`
1198
+ var ItemColumnWrapperStyled = styled11(animated.div)`
1110
1199
  * {
1111
1200
  text-align: center !important;
1112
1201
  }
@@ -1117,13 +1206,13 @@ function ItemColumnWrapper({
1117
1206
  ...props
1118
1207
  }) {
1119
1208
  const styles = useSpring({ opacity: isVisible ? 1 : 0 });
1120
- return /* @__PURE__ */ React15.createElement(ItemColumnWrapperStyled, { style: styles, ...props }, children);
1209
+ return /* @__PURE__ */ React16.createElement(ItemColumnWrapperStyled, { style: styles, ...props }, children);
1121
1210
  }
1122
1211
 
1123
1212
  // src/components/DocumentationItem.tsx
1124
- import React16 from "react";
1125
- import styled11 from "styled-components";
1126
- var DocWrapper = styled11.div`
1213
+ import React17 from "react";
1214
+ import styled12 from "styled-components";
1215
+ var DocWrapper = styled12.div`
1127
1216
  position: absolute;
1128
1217
  bottom: 0;
1129
1218
  right: 0;
@@ -1137,20 +1226,20 @@ var DocWrapper = styled11.div`
1137
1226
  display: flex;
1138
1227
  }
1139
1228
  `;
1140
- var DocContainer = styled11.div`
1229
+ var DocContainer = styled12.div`
1141
1230
  margin: 2rem 1rem;
1142
1231
  background-color: #333;
1143
1232
  border: 1px solid #333;
1144
1233
  padding: 0.5rem 1rem;
1145
1234
  border-radius: 1.5rem;
1146
1235
  `;
1147
- var DocLink = styled11.a`
1236
+ var DocLink = styled12.a`
1148
1237
  text-decoration: none;
1149
1238
  font-weight: normal;
1150
1239
  font-family: Bitter, "Helvetica Neue", Helvetica, Arial, sans-serif;
1151
1240
  color: #f49676;
1152
1241
  `;
1153
- var DocLinkItem = styled11(DocLink)`
1242
+ var DocLinkItem = styled12(DocLink)`
1154
1243
  width: fit-content;
1155
1244
  display: inline-block;
1156
1245
  background-color: #333;
@@ -1159,7 +1248,7 @@ var DocLinkItem = styled11(DocLink)`
1159
1248
  border-radius: 1.5rem;
1160
1249
  margin: 0.25rem 0;
1161
1250
  `;
1162
- var DocContent = styled11.div`
1251
+ var DocContent = styled12.div`
1163
1252
  display: flex;
1164
1253
  flex-flow: column-reverse nowrap;
1165
1254
  position: absolute;
@@ -1174,18 +1263,18 @@ function Doc({
1174
1263
  link,
1175
1264
  children
1176
1265
  }) {
1177
- return /* @__PURE__ */ React16.createElement(DocWrapper, null, /* @__PURE__ */ React16.createElement(DocContainer, null, children && /* @__PURE__ */ React16.createElement(DocContent, null, children), /* @__PURE__ */ React16.createElement("div", null, /* @__PURE__ */ React16.createElement(DocLink, { target: "_blank", rel: "noopener noreferrer", href: link }, label))));
1266
+ return /* @__PURE__ */ React17.createElement(DocWrapper, null, /* @__PURE__ */ React17.createElement(DocContainer, null, children && /* @__PURE__ */ React17.createElement(DocContent, null, children), /* @__PURE__ */ React17.createElement("div", null, /* @__PURE__ */ React17.createElement(DocLink, { target: "_blank", rel: "noopener noreferrer", href: link }, label))));
1178
1267
  }
1179
1268
  function DocItem({ label, link }) {
1180
- return /* @__PURE__ */ React16.createElement(DocLinkItem, { target: "_blank", rel: "noopener noreferrer", href: link }, label);
1269
+ return /* @__PURE__ */ React17.createElement(DocLinkItem, { target: "_blank", rel: "noopener noreferrer", href: link }, label);
1181
1270
  }
1182
1271
 
1183
1272
  // src/components/HorizontalList.tsx
1184
- import React17 from "react";
1273
+ import React18 from "react";
1185
1274
  import { animated as animated2, useSpring as useSpring2 } from "react-spring";
1186
1275
  import { Stepper as Stepper3 } from "spectacle";
1187
- import styled12 from "styled-components";
1188
- var Container = styled12.div`
1276
+ import styled13 from "styled-components";
1277
+ var Container = styled13.div`
1189
1278
  display: grid;
1190
1279
  grid-gap: 2rem;
1191
1280
  `;
@@ -1193,8 +1282,8 @@ function HorizontalList({
1193
1282
  children,
1194
1283
  columns = 3
1195
1284
  }) {
1196
- const items = React17.Children.toArray(children);
1197
- return /* @__PURE__ */ React17.createElement(Stepper3, { values: items }, (_, step) => /* @__PURE__ */ React17.createElement(
1285
+ const items = React18.Children.toArray(children);
1286
+ return /* @__PURE__ */ React18.createElement(Stepper3, { values: items }, (_, step) => /* @__PURE__ */ React18.createElement(
1198
1287
  Container,
1199
1288
  {
1200
1289
  style: {
@@ -1202,10 +1291,10 @@ function HorizontalList({
1202
1291
  }
1203
1292
  },
1204
1293
  items.map((item, k) => {
1205
- if (!React17.isValidElement(item)) {
1294
+ if (!React18.isValidElement(item)) {
1206
1295
  return item;
1207
1296
  }
1208
- return React17.cloneElement(item, {
1297
+ return React18.cloneElement(item, {
1209
1298
  // @ts-expect-error cloning
1210
1299
  position: k + 1,
1211
1300
  isVisible: k <= step,
@@ -1215,12 +1304,12 @@ function HorizontalList({
1215
1304
  ));
1216
1305
  }
1217
1306
  function Pill({ position }) {
1218
- return /* @__PURE__ */ React17.createElement(
1307
+ return /* @__PURE__ */ React18.createElement(
1219
1308
  "div",
1220
1309
  {
1221
1310
  style: { width: 48, transform: "translate(-25%, -25%)", opacity: 0.9 }
1222
1311
  },
1223
- /* @__PURE__ */ React17.createElement(
1312
+ /* @__PURE__ */ React18.createElement(
1224
1313
  "svg",
1225
1314
  {
1226
1315
  width: "48",
@@ -1229,14 +1318,14 @@ function Pill({ position }) {
1229
1318
  fill: "none",
1230
1319
  xmlns: "http://www.w3.org/2000/svg"
1231
1320
  },
1232
- /* @__PURE__ */ React17.createElement(
1321
+ /* @__PURE__ */ React18.createElement(
1233
1322
  "path",
1234
1323
  {
1235
1324
  d: "M8.64717 20L0 15.0094V5.00134L8.64717 0L17.289 5.00134V15.0094L8.64717 20ZM1.48222 14.141L8.64717 18.2846L15.8068 14.141V5.85902L8.64717 1.71536L1.48222 5.85902V14.141Z",
1236
1325
  fill: "#ffffff"
1237
1326
  }
1238
1327
  ),
1239
- /* @__PURE__ */ React17.createElement(
1328
+ /* @__PURE__ */ React18.createElement(
1240
1329
  "text",
1241
1330
  {
1242
1331
  x: "9",
@@ -1248,7 +1337,7 @@ function Pill({ position }) {
1248
1337
  },
1249
1338
  position
1250
1339
  ),
1251
- /* @__PURE__ */ React17.createElement(
1340
+ /* @__PURE__ */ React18.createElement(
1252
1341
  "path",
1253
1342
  {
1254
1343
  d: "M 8.758 16.01 L 3.549 13.004 L 3.549 6.975 L 8.758 3.963 L 13.964 6.975 L 13.964 13.004 L 8.758 16.01 Z",
@@ -1258,12 +1347,12 @@ function Pill({ position }) {
1258
1347
  )
1259
1348
  );
1260
1349
  }
1261
- var Item = styled12(animated2.div)`
1350
+ var Item = styled13(animated2.div)`
1262
1351
  display: flex;
1263
1352
  flex-direction: column;
1264
1353
  font-family: Bitter, "Helvetica Neue", Helvetica, Arial, sans-serif;
1265
1354
  `;
1266
- var ItemHead = styled12.div`
1355
+ var ItemHead = styled13.div`
1267
1356
  display: flex;
1268
1357
  flex-direction: row;
1269
1358
  font-size: 1.3rem;
@@ -1273,7 +1362,7 @@ var ItemHead = styled12.div`
1273
1362
  margin: 0;
1274
1363
  }
1275
1364
  `;
1276
- var ItemContent = styled12.div`
1365
+ var ItemContent = styled13.div`
1277
1366
  > * {
1278
1367
  font-size: 1rem;
1279
1368
  padding: 4px !important;
@@ -1301,31 +1390,31 @@ function HorizontalListItem({
1301
1390
  const opacityStyles = useSpring2({
1302
1391
  opacity: getItemOpacity({ isVisible, isLast })
1303
1392
  });
1304
- return /* @__PURE__ */ React17.createElement(Item, { style: opacityStyles }, /* @__PURE__ */ React17.createElement(ItemHead, null, /* @__PURE__ */ React17.createElement(Pill, { position }), /* @__PURE__ */ React17.createElement("p", null, title)), /* @__PURE__ */ React17.createElement(ItemContent, null, children));
1393
+ return /* @__PURE__ */ React18.createElement(Item, { style: opacityStyles }, /* @__PURE__ */ React18.createElement(ItemHead, null, /* @__PURE__ */ React18.createElement(Pill, { position }), /* @__PURE__ */ React18.createElement("p", null, title)), /* @__PURE__ */ React18.createElement(ItemContent, null, children));
1305
1394
  }
1306
1395
 
1307
1396
  // src/components/Timeline.tsx
1308
- import React18 from "react";
1397
+ import React19 from "react";
1309
1398
  import { animated as animated3, useSpring as useSpring3 } from "react-spring";
1310
1399
  import { Stepper as Stepper4 } from "spectacle";
1311
1400
 
1312
1401
  // src/components/Timeline.styled.tsx
1313
- import styled13 from "styled-components";
1314
- var TimelineItemContent = styled13.div`
1402
+ import styled14 from "styled-components";
1403
+ var TimelineItemContent = styled14.div`
1315
1404
  display: flex;
1316
1405
  padding: 0.7rem 0 1rem 12px;
1317
1406
  `;
1318
- var TimelineItemContentPhantom = styled13(TimelineItemContent)`
1407
+ var TimelineItemContentPhantom = styled14(TimelineItemContent)`
1319
1408
  opacity: 0;
1320
1409
  `;
1321
- var TimelineItemBody = styled13.div`
1410
+ var TimelineItemBody = styled14.div`
1322
1411
  &,
1323
1412
  & > * {
1324
1413
  font-size: 1.3rem !important;
1325
1414
  color: #ffffff !important;
1326
1415
  }
1327
1416
  `;
1328
- var TimelineItemTitle = styled13.div`
1417
+ var TimelineItemTitle = styled14.div`
1329
1418
  font-family: Bitter, "Helvetica Neue", Helvetica, Arial, sans-serif;
1330
1419
  font-size: 1rem;
1331
1420
  font-weight: bold;
@@ -1333,8 +1422,8 @@ var TimelineItemTitle = styled13.div`
1333
1422
  `;
1334
1423
 
1335
1424
  // src/components/Timeline.tsx
1336
- import styled14 from "styled-components";
1337
- var TimelineItemStyled = styled14(animated3.div)`
1425
+ import styled15 from "styled-components";
1426
+ var TimelineItemStyled = styled15(animated3.div)`
1338
1427
  flex: 1;
1339
1428
  flex-flow: column nowrap;
1340
1429
  display: inline-flex;
@@ -1352,7 +1441,7 @@ var TimelineItemStyled = styled14(animated3.div)`
1352
1441
  }
1353
1442
  }
1354
1443
  `;
1355
- var TimelineItemGuide = styled14(animated3.div)`
1444
+ var TimelineItemGuide = styled15(animated3.div)`
1356
1445
  width: 100%;
1357
1446
  padding-top: 2px;
1358
1447
  display: flex;
@@ -1368,7 +1457,7 @@ var TimelineItemGuide = styled14(animated3.div)`
1368
1457
  margin-right: 4px;
1369
1458
  }
1370
1459
  `;
1371
- var TimelineItemGuideLine = styled14(animated3.div)`
1460
+ var TimelineItemGuideLine = styled15(animated3.div)`
1372
1461
  border-top: 4px solid #ffffff;
1373
1462
  margin-right: 4px;
1374
1463
  `;
@@ -1379,8 +1468,8 @@ var style = {
1379
1468
  alignItems: "center"
1380
1469
  };
1381
1470
  function Timeline(props) {
1382
- const children = React18.Children.toArray(props.children);
1383
- return /* @__PURE__ */ React18.createElement(
1471
+ const children = React19.Children.toArray(props.children);
1472
+ return /* @__PURE__ */ React19.createElement(
1384
1473
  Stepper4,
1385
1474
  {
1386
1475
  ...props,
@@ -1390,10 +1479,10 @@ function Timeline(props) {
1390
1479
  },
1391
1480
  (value, step) => {
1392
1481
  return children.map((child, index) => {
1393
- if (!React18.isValidElement(child)) {
1482
+ if (!React19.isValidElement(child)) {
1394
1483
  return child;
1395
1484
  }
1396
- return React18.cloneElement(child, {
1485
+ return React19.cloneElement(child, {
1397
1486
  // @ts-expect-error cloning
1398
1487
  isPhantom: step < index,
1399
1488
  isLast: step === index
@@ -1421,7 +1510,7 @@ function TimelineItem(props) {
1421
1510
  opacity: getItemOpacity2({ isPhantom, isLast })
1422
1511
  });
1423
1512
  const colorStyles = useSpring3({ opacity: isPhantom || isLast ? 1 : 0.15 });
1424
- return /* @__PURE__ */ React18.createElement(
1513
+ return /* @__PURE__ */ React19.createElement(
1425
1514
  TimelineItemStyled,
1426
1515
  {
1427
1516
  ...rest,
@@ -1429,13 +1518,13 @@ function TimelineItem(props) {
1429
1518
  ...appearStyles
1430
1519
  }
1431
1520
  },
1432
- /* @__PURE__ */ React18.createElement(TimelineItemContentPhantom, null, /* @__PURE__ */ React18.createElement(TimelineItemTitle, null, title), /* @__PURE__ */ React18.createElement(TimelineItemBody, null, children)),
1433
- /* @__PURE__ */ React18.createElement(TimelineItemGuide, { style: colorStyles }, /* @__PURE__ */ React18.createElement(Hexagon, null), /* @__PURE__ */ React18.createElement(TimelineItemGuideLine, { style: guideLineProps })),
1434
- /* @__PURE__ */ React18.createElement(TimelineItemContent, null, /* @__PURE__ */ React18.createElement(TimelineItemTitle, null, title), /* @__PURE__ */ React18.createElement(TimelineItemBody, null, children))
1521
+ /* @__PURE__ */ React19.createElement(TimelineItemContentPhantom, null, /* @__PURE__ */ React19.createElement(TimelineItemTitle, null, title), /* @__PURE__ */ React19.createElement(TimelineItemBody, null, children)),
1522
+ /* @__PURE__ */ React19.createElement(TimelineItemGuide, { style: colorStyles }, /* @__PURE__ */ React19.createElement(Hexagon, null), /* @__PURE__ */ React19.createElement(TimelineItemGuideLine, { style: guideLineProps })),
1523
+ /* @__PURE__ */ React19.createElement(TimelineItemContent, null, /* @__PURE__ */ React19.createElement(TimelineItemTitle, null, title), /* @__PURE__ */ React19.createElement(TimelineItemBody, null, children))
1435
1524
  );
1436
1525
  }
1437
1526
  function Hexagon() {
1438
- return /* @__PURE__ */ React18.createElement(
1527
+ return /* @__PURE__ */ React19.createElement(
1439
1528
  "svg",
1440
1529
  {
1441
1530
  width: "18",
@@ -1444,14 +1533,14 @@ function Hexagon() {
1444
1533
  fill: "none",
1445
1534
  xmlns: "http://www.w3.org/2000/svg"
1446
1535
  },
1447
- /* @__PURE__ */ React18.createElement(
1536
+ /* @__PURE__ */ React19.createElement(
1448
1537
  "path",
1449
1538
  {
1450
1539
  d: "M8.64717 20L0 15.0094V5.00134L8.64717 0L17.289 5.00134V15.0094L8.64717 20ZM1.48222 14.141L8.64717 18.2846L15.8068 14.141V5.85902L8.64717 1.71536L1.48222 5.85902V14.141Z",
1451
1540
  fill: "#F49676"
1452
1541
  }
1453
1542
  ),
1454
- /* @__PURE__ */ React18.createElement(
1543
+ /* @__PURE__ */ React19.createElement(
1455
1544
  "path",
1456
1545
  {
1457
1546
  d: "M 8.758 16.01 L 3.549 13.004 L 3.549 6.975 L 8.758 3.963 L 13.964 6.975 L 13.964 13.004 L 8.758 16.01 Z",
@@ -1462,9 +1551,9 @@ function Hexagon() {
1462
1551
  }
1463
1552
 
1464
1553
  // src/components/IconBox.tsx
1465
- import React19 from "react";
1466
- import styled15 from "styled-components";
1467
- var IconBoxContent = styled15.div`
1554
+ import React20 from "react";
1555
+ import styled16 from "styled-components";
1556
+ var IconBoxContent = styled16.div`
1468
1557
  * {
1469
1558
  margin: 0.2rem !important;
1470
1559
  padding: 0 !important;
@@ -1474,7 +1563,7 @@ function IconBox({
1474
1563
  children,
1475
1564
  icon
1476
1565
  }) {
1477
- return /* @__PURE__ */ React19.createElement(
1566
+ return /* @__PURE__ */ React20.createElement(
1478
1567
  "div",
1479
1568
  {
1480
1569
  style: {
@@ -1484,14 +1573,14 @@ function IconBox({
1484
1573
  padding: "1rem 0"
1485
1574
  }
1486
1575
  },
1487
- /* @__PURE__ */ React19.createElement("div", { style: { fontSize: 60 } }, icon),
1488
- /* @__PURE__ */ React19.createElement(IconBoxContent, null, children)
1576
+ /* @__PURE__ */ React20.createElement("div", { style: { fontSize: 60 } }, icon),
1577
+ /* @__PURE__ */ React20.createElement(IconBoxContent, null, children)
1489
1578
  );
1490
1579
  }
1491
1580
 
1492
1581
  // src/index.tsx
1493
1582
  function PassThrough({ children }) {
1494
- return /* @__PURE__ */ React20.createElement(React20.Fragment, null, children);
1583
+ return /* @__PURE__ */ React21.createElement(React21.Fragment, null, children);
1495
1584
  }
1496
1585
  function Layout({
1497
1586
  children,
@@ -1503,44 +1592,44 @@ function Layout({
1503
1592
  console.warn(`Layout ${layout} not found`);
1504
1593
  }
1505
1594
  if (Layout2) {
1506
- return /* @__PURE__ */ React20.createElement(Layout2, { ...frontmatter }, children);
1595
+ return /* @__PURE__ */ React21.createElement(Layout2, { ...frontmatter }, children);
1507
1596
  }
1508
- return /* @__PURE__ */ React20.createElement(React20.Fragment, null, children);
1597
+ return /* @__PURE__ */ React21.createElement(React21.Fragment, null, children);
1509
1598
  }
1510
1599
  var componentsMap2 = {
1511
1600
  ...map_default,
1512
1601
  wrapper: Layout
1513
1602
  };
1514
1603
  function Deck({ deck }) {
1515
- React20.useEffect(() => {
1604
+ React21.useEffect(() => {
1516
1605
  document.title = deck.metadata.title || "Untitled";
1517
1606
  }, [deck.metadata.title]);
1518
- return /* @__PURE__ */ React20.createElement(React20.StrictMode, null, /* @__PURE__ */ React20.createElement(MDXProvider, { components: componentsMap2 }, /* @__PURE__ */ React20.createElement(SpectacleDeck, { theme: theme_default, template }, deck.slides.map((slide, i) => {
1607
+ return /* @__PURE__ */ React21.createElement(React21.StrictMode, null, /* @__PURE__ */ React21.createElement(MDXProvider, { components: componentsMap2 }, /* @__PURE__ */ React21.createElement(SpectacleDeck, { theme: theme_default, template }, deck.slides.map((slide, i) => {
1519
1608
  const Component = slide.slideComponent;
1520
- return /* @__PURE__ */ React20.createElement(Slide, { key: i }, /* @__PURE__ */ React20.createElement(Component, null));
1609
+ return /* @__PURE__ */ React21.createElement(Slide, { key: i }, /* @__PURE__ */ React21.createElement(Component, null));
1521
1610
  }))));
1522
1611
  }
1523
1612
  function Danger({ children }) {
1524
- return /* @__PURE__ */ React20.createElement("div", { style: { color: "red" } }, children);
1613
+ return /* @__PURE__ */ React21.createElement("div", { style: { color: "red" } }, children);
1525
1614
  }
1526
1615
  function Information({ children }) {
1527
- return /* @__PURE__ */ React20.createElement("div", { style: { color: "orange" } }, children);
1616
+ return /* @__PURE__ */ React21.createElement("div", { style: { color: "orange" } }, children);
1528
1617
  }
1529
1618
  function Success({ children }) {
1530
- return /* @__PURE__ */ React20.createElement("div", { style: { color: "green" } }, children);
1619
+ return /* @__PURE__ */ React21.createElement("div", { style: { color: "green" } }, children);
1531
1620
  }
1532
1621
  function Warning({ children }) {
1533
- return /* @__PURE__ */ React20.createElement("div", { style: { color: "yellow" } }, children);
1622
+ return /* @__PURE__ */ React21.createElement("div", { style: { color: "yellow" } }, children);
1534
1623
  }
1535
1624
  function Side({ children }) {
1536
- return /* @__PURE__ */ React20.createElement("div", null, children);
1625
+ return /* @__PURE__ */ React21.createElement("div", null, children);
1537
1626
  }
1538
1627
  Side.mdxType = "Side";
1539
1628
  function Documentation({ children }) {
1540
- return /* @__PURE__ */ React20.createElement("div", null, children);
1629
+ return /* @__PURE__ */ React21.createElement("div", null, children);
1541
1630
  }
1542
1631
  function Box2({ children }) {
1543
- return /* @__PURE__ */ React20.createElement("div", null, children);
1632
+ return /* @__PURE__ */ React21.createElement("div", null, children);
1544
1633
  }
1545
1634
  export {
1546
1635
  Box2 as Box,