@elmethis/qwik 0.0.27 → 0.0.29

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.
@@ -10,7 +10,7 @@ const marked = require("marked");
10
10
  const caption$1 = "_caption_1j0ec_27";
11
11
  const divider = "_divider_1j0ec_50";
12
12
  const code$2 = "_code_1j0ec_1";
13
- const styles$z = {
13
+ const styles$A = {
14
14
  "code-block": "_code-block_1j0ec_1",
15
15
  "language-icon": "_language-icon_1j0ec_22",
16
16
  caption: caption$1,
@@ -70,7 +70,7 @@ const Typescript = qwik.component$(({ size = 24, ...props }) => {
70
70
  });
71
71
  });
72
72
  const path = "_path_1ccs2_1";
73
- const styles$y = {
73
+ const styles$z = {
74
74
  path
75
75
  };
76
76
  const Bash = qwik.component$(({ size = 24, ...props }) => {
@@ -86,7 +86,7 @@ const Bash = qwik.component$(({ size = 24, ...props }) => {
86
86
  d: "M4.24 4.24h119.53v119.53H4.24z"
87
87
  }),
88
88
  /* @__PURE__ */ jsxRuntime.jsx("path", {
89
- class: styles$y.path,
89
+ class: styles$z.path,
90
90
  d: "M109.01 28.64L71.28 6.24c-2.25-1.33-4.77-2-7.28-2s-5.03.67-7.28 2.01l-37.74 22.4c-4.5 2.67-7.28 7.61-7.28 12.96v44.8c0 5.35 2.77 10.29 7.28 12.96l37.73 22.4c2.25 1.34 4.76 2 7.28 2c2.51 0 5.03-.67 7.28-2l37.74-22.4c4.5-2.67 7.28-7.62 7.28-12.96V41.6c0-5.34-2.77-10.29-7.28-12.96M79.79 98.59l.06 3.22c0 .39-.25.83-.55.99l-1.91 1.1c-.3.15-.56-.03-.56-.42l-.03-3.17c-1.63.68-3.29.84-4.34.42c-.2-.08-.29-.37-.21-.71l.69-2.91c.06-.23.18-.46.34-.6c.06-.06.12-.1.18-.13c.11-.06.22-.07.31-.03c1.14.38 2.59.2 3.99-.5c1.78-.9 2.97-2.72 2.95-4.52c-.02-1.64-.9-2.31-3.05-2.33c-2.74.01-5.3-.53-5.34-4.57c-.03-3.32 1.69-6.78 4.43-8.96l-.03-3.25c0-.4.24-.84.55-1l1.85-1.18c.3-.15.56.04.56.43l.03 3.25c1.36-.54 2.54-.69 3.61-.44c.23.06.34.38.24.75l-.72 2.88c-.06.22-.18.44-.33.58a.8.8 0 0 1-.19.14c-.1.05-.19.06-.28.05c-.49-.11-1.65-.36-3.48.56c-1.92.97-2.59 2.64-2.58 3.88c.02 1.48.77 1.93 3.39 1.97c3.49.06 4.99 1.58 5.03 5.09c.05 3.44-1.79 7.15-4.61 9.41m26.34-60.5l-35.7 22.05c-4.45 2.6-7.73 5.52-7.74 10.89v43.99c0 3.21 1.3 5.29 3.29 5.9c-.65.11-1.32.19-1.98.19c-2.09 0-4.15-.57-5.96-1.64l-37.73-22.4c-3.69-2.19-5.98-6.28-5.98-10.67V41.6c0-4.39 2.29-8.48 5.98-10.67l37.74-22.4c1.81-1.07 3.87-1.64 5.96-1.64s4.15.57 5.96 1.64l37.74 22.4c3.11 1.85 5.21 5.04 5.8 8.63c-1.27-2.67-4.09-3.39-7.38-1.47"
91
91
  }),
92
92
  /* @__PURE__ */ jsxRuntime.jsx("path", {
@@ -527,12 +527,12 @@ const C = qwik.component$(({ size = 24, ...props }) => {
527
527
  });
528
528
  });
529
529
  const icon$4 = "_icon_1gvln_1";
530
- const styles$x = {
530
+ const styles$y = {
531
531
  icon: icon$4
532
532
  };
533
533
  const ElmMdiIcon = qwik.component$(({ d, size = "1em", color, lightColor, darkColor }) => {
534
534
  return /* @__PURE__ */ jsxRuntime.jsx("svg", {
535
- class: styles$x.icon,
535
+ class: styles$y.icon,
536
536
  style: {
537
537
  "--color": lightColor ?? color,
538
538
  "--dark-color": darkColor ?? color
@@ -641,7 +641,7 @@ const text$3 = "_text_1gswr_1";
641
641
  const code$1 = "_code_1gswr_12";
642
642
  const kbd = "_kbd_1gswr_21";
643
643
  const link$1 = "_link_1gswr_47";
644
- const styles$w = {
644
+ const styles$x = {
645
645
  text: text$3,
646
646
  code: code$1,
647
647
  kbd,
@@ -652,16 +652,16 @@ const textStyles = {
652
652
  text: text$2
653
653
  };
654
654
  const icon$3 = "_icon_19g82_1";
655
- const styles$v = {
655
+ const styles$w = {
656
656
  icon: icon$3
657
657
  };
658
658
  const ElmInlineIcon = qwik.component$(({ src, alt }) => {
659
659
  return /* @__PURE__ */ jsxRuntime.jsx("span", {
660
- class: styles$v.icon,
660
+ class: styles$w.icon,
661
661
  children: /* @__PURE__ */ jsxRuntime.jsx("img", {
662
662
  src,
663
663
  alt,
664
- class: styles$v.icon
664
+ class: styles$w.icon
665
665
  })
666
666
  });
667
667
  });
@@ -672,7 +672,7 @@ const ElmInlineText = qwik.component$((props) => {
672
672
  }) : /* @__PURE__ */ jsxRuntime.jsx(qwik.Slot, {});
673
673
  if (props.kbd) {
674
674
  vnode = /* @__PURE__ */ jsxRuntime.jsx("kbd", {
675
- class: styles$w.kbd,
675
+ class: styles$x.kbd,
676
676
  children: vnode
677
677
  });
678
678
  }
@@ -698,13 +698,13 @@ const ElmInlineText = qwik.component$((props) => {
698
698
  }
699
699
  if (code2) {
700
700
  vnode = /* @__PURE__ */ jsxRuntime.jsx("code", {
701
- class: styles$w.code,
701
+ class: styles$x.code,
702
702
  children: vnode
703
703
  });
704
704
  }
705
705
  if (props.ruby) {
706
706
  vnode = /* @__PURE__ */ jsxRuntime.jsxs("ruby", {
707
- class: styles$w.text,
707
+ class: styles$x.text,
708
708
  children: [
709
709
  /* @__PURE__ */ jsxRuntime.jsx("span", {
710
710
  children: vnode
@@ -717,7 +717,7 @@ const ElmInlineText = qwik.component$((props) => {
717
717
  }
718
718
  const wrappedVnode = /* @__PURE__ */ jsxRuntime.jsx("span", {
719
719
  class: [
720
- styles$w.text,
720
+ styles$x.text,
721
721
  textStyles.text
722
722
  ],
723
723
  style: {
@@ -729,7 +729,7 @@ const ElmInlineText = qwik.component$((props) => {
729
729
  });
730
730
  if (props.href) {
731
731
  return /* @__PURE__ */ jsxRuntime.jsxs("a", {
732
- class: styles$w.link,
732
+ class: styles$x.link,
733
733
  href: props.href,
734
734
  style: {
735
735
  "--font-size": size
@@ -747,7 +747,7 @@ const ElmInlineText = qwik.component$((props) => {
747
747
  return wrappedVnode;
748
748
  });
749
749
  const code = "_code_1sw1e_1";
750
- const styles$u = {
750
+ const styles$v = {
751
751
  code
752
752
  };
753
753
  const ElmShikiHighlighter = qwik.component$(({ code: code2, language = "txt" }) => {
@@ -772,7 +772,7 @@ const ElmShikiHighlighter = qwik.component$(({ code: code2, language = "txt" })
772
772
  }
773
773
  });
774
774
  return /* @__PURE__ */ jsxRuntime.jsx("pre", {
775
- class: styles$u.code,
775
+ class: styles$v.code,
776
776
  dangerouslySetInnerHTML: rawHtml.value
777
777
  });
778
778
  });
@@ -791,17 +791,17 @@ const ElmCodeBlock = qwik.component$(({ code: code2, language = "txt", caption:
791
791
  }
792
792
  });
793
793
  return /* @__PURE__ */ jsxRuntime.jsxs("figure", {
794
- class: styles$z["code-block"],
794
+ class: styles$A["code-block"],
795
795
  style,
796
796
  children: [
797
797
  /* @__PURE__ */ jsxRuntime.jsx("span", {
798
- class: styles$z["language-icon"],
798
+ class: styles$A["language-icon"],
799
799
  children: /* @__PURE__ */ jsxRuntime.jsx(ElmLanguageIcon, {
800
800
  language
801
801
  })
802
802
  }),
803
803
  /* @__PURE__ */ jsxRuntime.jsx("span", {
804
- class: styles$z.caption,
804
+ class: styles$A.caption,
805
805
  children: /* @__PURE__ */ jsxRuntime.jsxs(ElmInlineText, {
806
806
  children: [
807
807
  caption2 || language,
@@ -810,7 +810,7 @@ const ElmCodeBlock = qwik.component$(({ code: code2, language = "txt", caption:
810
810
  })
811
811
  }),
812
812
  /* @__PURE__ */ jsxRuntime.jsx("div", {
813
- class: styles$z["copy-icon"],
813
+ class: styles$A["copy-icon"],
814
814
  onClick$: copyToClipboard,
815
815
  children: /* @__PURE__ */ jsxRuntime.jsx(ElmMdiIcon, {
816
816
  size: "1.25rem",
@@ -819,10 +819,10 @@ const ElmCodeBlock = qwik.component$(({ code: code2, language = "txt", caption:
819
819
  })
820
820
  }),
821
821
  /* @__PURE__ */ jsxRuntime.jsx("hr", {
822
- class: styles$z.divider
822
+ class: styles$A.divider
823
823
  }),
824
824
  /* @__PURE__ */ jsxRuntime.jsx("div", {
825
- class: styles$z.code,
825
+ class: styles$A.code,
826
826
  children: /* @__PURE__ */ jsxRuntime.jsx(ElmShikiHighlighter, {
827
827
  code: code2,
828
828
  language
@@ -842,7 +842,7 @@ const ElmKatex = qwik.component$(({ expression, block = false }) => {
842
842
  });
843
843
  });
844
844
  const parallax = "_parallax_1kb0k_1";
845
- const styles$t = {
845
+ const styles$u = {
846
846
  "parallax-watcher": "_parallax-watcher_1kb0k_1",
847
847
  parallax
848
848
  };
@@ -851,13 +851,13 @@ const ElmParallax = qwik.component$(({ images }) => {
851
851
  return /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, {
852
852
  children: [
853
853
  /* @__PURE__ */ jsxRuntime.jsx("div", {
854
- class: styles$t["parallax-watcher"],
854
+ class: styles$u["parallax-watcher"],
855
855
  "window:onScroll$": () => {
856
856
  y.value = window.scrollY;
857
857
  }
858
858
  }),
859
859
  images.map((image2, index) => /* @__PURE__ */ jsxRuntime.jsx("div", {
860
- class: styles$t.parallax,
860
+ class: styles$u.parallax,
861
861
  style: {
862
862
  backgroundImage: `url(${image2})`,
863
863
  transform: `scale(1.2) translateY(${y.value / (1e3 * (index + 1))}%)`,
@@ -871,7 +871,7 @@ const toggle = "_toggle_pbyu8_1";
871
871
  const summary = "_summary_pbyu8_14";
872
872
  const content$2 = "_content_pbyu8_60";
873
873
  const footer = "_footer_pbyu8_80";
874
- const styles$s = {
874
+ const styles$t = {
875
875
  toggle,
876
876
  "toggle-closed": "_toggle-closed_pbyu8_7",
877
877
  "toggle-open": "_toggle-open_pbyu8_10",
@@ -898,30 +898,30 @@ const ElmToggle = qwik.component$(({ summary: summary2, style }) => {
898
898
  });
899
899
  return /* @__PURE__ */ jsxRuntime.jsxs("div", {
900
900
  class: [
901
- styles$s.toggle,
901
+ styles$t.toggle,
902
902
  {
903
- [styles$s["toggle-open"]]: isOpen.value,
904
- [styles$s["toggle-closed"]]: !isOpen.value
903
+ [styles$t["toggle-open"]]: isOpen.value,
904
+ [styles$t["toggle-closed"]]: !isOpen.value
905
905
  }
906
906
  ],
907
907
  style,
908
908
  children: [
909
909
  /* @__PURE__ */ jsxRuntime.jsxs("div", {
910
910
  class: [
911
- styles$s.summary,
911
+ styles$t.summary,
912
912
  {
913
- [styles$s["summary-open"]]: isOpen.value,
914
- [styles$s["summary-closed"]]: !isOpen.value
913
+ [styles$t["summary-open"]]: isOpen.value,
914
+ [styles$t["summary-closed"]]: !isOpen.value
915
915
  }
916
916
  ],
917
917
  onClick$: toggle2,
918
918
  children: [
919
919
  /* @__PURE__ */ jsxRuntime.jsx("span", {
920
920
  class: [
921
- styles$s["chevron-icon"],
921
+ styles$t["chevron-icon"],
922
922
  {
923
- [styles$s["chevron-icon-open"]]: isOpen.value,
924
- [styles$s["chevron-icon-closed"]]: !isOpen.value
923
+ [styles$t["chevron-icon-open"]]: isOpen.value,
924
+ [styles$t["chevron-icon-closed"]]: !isOpen.value
925
925
  }
926
926
  ],
927
927
  children: /* @__PURE__ */ jsxRuntime.jsx(ElmMdiIcon, {
@@ -929,17 +929,17 @@ const ElmToggle = qwik.component$(({ summary: summary2, style }) => {
929
929
  })
930
930
  }),
931
931
  /* @__PURE__ */ jsxRuntime.jsx("span", {
932
- class: styles$s["summary-text"],
932
+ class: styles$t["summary-text"],
933
933
  children: summary2 ? summary2 : /* @__PURE__ */ jsxRuntime.jsx(qwik.Slot, {
934
934
  name: "summary"
935
935
  })
936
936
  }),
937
937
  /* @__PURE__ */ jsxRuntime.jsx("span", {
938
938
  class: [
939
- styles$s["plus-icon"],
939
+ styles$t["plus-icon"],
940
940
  {
941
- [styles$s["plus-icon-open"]]: isOpen.value,
942
- [styles$s["plus-icon-closed"]]: !isOpen.value
941
+ [styles$t["plus-icon-open"]]: isOpen.value,
942
+ [styles$t["plus-icon-closed"]]: !isOpen.value
943
943
  }
944
944
  ],
945
945
  children: /* @__PURE__ */ jsxRuntime.jsx(ElmMdiIcon, {
@@ -952,16 +952,16 @@ const ElmToggle = qwik.component$(({ summary: summary2, style }) => {
952
952
  }),
953
953
  /* @__PURE__ */ jsxRuntime.jsx("div", {
954
954
  class: [
955
- styles$s.content,
955
+ styles$t.content,
956
956
  {
957
- [styles$s["content-open"]]: isOpen.value,
958
- [styles$s["content-closed"]]: !isOpen.value
957
+ [styles$t["content-open"]]: isOpen.value,
958
+ [styles$t["content-closed"]]: !isOpen.value
959
959
  }
960
960
  ],
961
961
  children: /* @__PURE__ */ jsxRuntime.jsx(qwik.Slot, {})
962
962
  }),
963
963
  /* @__PURE__ */ jsxRuntime.jsxs("div", {
964
- class: styles$s.footer,
964
+ class: styles$t.footer,
965
965
  onClick$: toggle2,
966
966
  children: [
967
967
  /* @__PURE__ */ jsxRuntime.jsx("span", {
@@ -971,10 +971,10 @@ const ElmToggle = qwik.component$(({ summary: summary2, style }) => {
971
971
  })
972
972
  }),
973
973
  /* @__PURE__ */ jsxRuntime.jsx("hr", {
974
- class: styles$s["footer-line"]
974
+ class: styles$t["footer-line"]
975
975
  }),
976
976
  /* @__PURE__ */ jsxRuntime.jsx("span", {
977
- class: styles$s["footer-cross-icon"],
977
+ class: styles$t["footer-cross-icon"],
978
978
  children: /* @__PURE__ */ jsxRuntime.jsx(ElmMdiIcon, {
979
979
  d: js.mdiPlus,
980
980
  color: "#c56565"
@@ -984,14 +984,14 @@ const ElmToggle = qwik.component$(({ summary: summary2, style }) => {
984
984
  children: "CLOSE"
985
985
  }),
986
986
  /* @__PURE__ */ jsxRuntime.jsx("span", {
987
- class: styles$s["footer-cross-icon"],
987
+ class: styles$t["footer-cross-icon"],
988
988
  children: /* @__PURE__ */ jsxRuntime.jsx(ElmMdiIcon, {
989
989
  d: js.mdiPlus,
990
990
  color: "#c56565"
991
991
  })
992
992
  }),
993
993
  /* @__PURE__ */ jsxRuntime.jsx("hr", {
994
- class: styles$s["footer-line"]
994
+ class: styles$t["footer-line"]
995
995
  }),
996
996
  /* @__PURE__ */ jsxRuntime.jsx("span", {
997
997
  style: {
@@ -1007,50 +1007,50 @@ const ElmToggle = qwik.component$(({ summary: summary2, style }) => {
1007
1007
  ]
1008
1008
  });
1009
1009
  });
1010
- const styles$r = {
1010
+ const styles$s = {
1011
1011
  "block-fallback": "_block-fallback_rt986_1"
1012
1012
  };
1013
- const wrapper$3 = "_wrapper_1yktj_12";
1013
+ const wrapper$4 = "_wrapper_1yktj_12";
1014
1014
  const dot = "_dot_1yktj_22";
1015
- const styles$q = {
1016
- wrapper: wrapper$3,
1015
+ const styles$r = {
1016
+ wrapper: wrapper$4,
1017
1017
  dot
1018
1018
  };
1019
1019
  const ElmDotLoadingIcon = qwik.component$(({ size = "4em", color = "#606875" }) => {
1020
1020
  return /* @__PURE__ */ jsxRuntime.jsxs("div", {
1021
- class: styles$q.wrapper,
1021
+ class: styles$r.wrapper,
1022
1022
  style: {
1023
1023
  "--size": size,
1024
1024
  "--color": color
1025
1025
  },
1026
1026
  children: [
1027
1027
  /* @__PURE__ */ jsxRuntime.jsx("div", {
1028
- class: styles$q.dot,
1028
+ class: styles$r.dot,
1029
1029
  "aria-hidden": "true"
1030
1030
  }),
1031
1031
  /* @__PURE__ */ jsxRuntime.jsx("div", {
1032
- class: styles$q.dot,
1032
+ class: styles$r.dot,
1033
1033
  "aria-hidden": "true"
1034
1034
  }),
1035
1035
  /* @__PURE__ */ jsxRuntime.jsx("div", {
1036
- class: styles$q.dot,
1036
+ class: styles$r.dot,
1037
1037
  "aria-hidden": "true"
1038
1038
  })
1039
1039
  ]
1040
1040
  });
1041
1041
  });
1042
- const styles$p = {
1042
+ const styles$q = {
1043
1043
  "rectangle-wave": "_rectangle-wave_hej9g_17"
1044
1044
  };
1045
1045
  const ElmRectangleWave = qwik.component$(() => {
1046
1046
  return /* @__PURE__ */ jsxRuntime.jsx("div", {
1047
1047
  "aria-hidden": "true",
1048
- class: styles$p["rectangle-wave"]
1048
+ class: styles$q["rectangle-wave"]
1049
1049
  });
1050
1050
  });
1051
1051
  const ElmBlockFallback = qwik.component$(({ height = "16rem" }) => {
1052
1052
  return /* @__PURE__ */ jsxRuntime.jsxs("div", {
1053
- class: styles$r["block-fallback"],
1053
+ class: styles$s["block-fallback"],
1054
1054
  style: {
1055
1055
  "--height": height
1056
1056
  },
@@ -1067,7 +1067,7 @@ const colored = "_colored_1ykfy_50";
1067
1067
  const enable = "_enable_1ykfy_54";
1068
1068
  const flex = "_flex_1ykfy_76";
1069
1069
  const ripple = "_ripple_1ykfy_97";
1070
- const styles$o = {
1070
+ const styles$p = {
1071
1071
  button,
1072
1072
  "button-ornament": "_button-ornament_1ykfy_21",
1073
1073
  normal,
@@ -1091,11 +1091,11 @@ const ElmButton = qwik.component$((props) => {
1091
1091
  return /* @__PURE__ */ jsxRuntime.jsxs("button", {
1092
1092
  onClick$: handleClick,
1093
1093
  class: [
1094
- styles$o.button,
1095
- !props.loading && !props.disabled && styles$o.enable,
1096
- props.color && styles$o.colored,
1097
- !props.color && !props.primary && styles$o.normal,
1098
- !props.color && props.primary && styles$o.primary
1094
+ styles$p.button,
1095
+ !props.loading && !props.disabled && styles$p.enable,
1096
+ props.color && styles$p.colored,
1097
+ !props.color && !props.primary && styles$p.normal,
1098
+ !props.color && props.primary && styles$p.primary
1099
1099
  ],
1100
1100
  style: {
1101
1101
  display: props.block ? "flex" : "inline-flex",
@@ -1106,16 +1106,16 @@ const ElmButton = qwik.component$((props) => {
1106
1106
  },
1107
1107
  children: [
1108
1108
  clicked.value && /* @__PURE__ */ jsxRuntime.jsx("div", {
1109
- class: styles$o.ripple
1109
+ class: styles$p.ripple
1110
1110
  }),
1111
1111
  props.loading ? /* @__PURE__ */ jsxRuntime.jsx(ElmDotLoadingIcon, {
1112
1112
  size: "1.5rem"
1113
1113
  }) : /* @__PURE__ */ jsxRuntime.jsx("span", {
1114
- class: styles$o.flex,
1114
+ class: styles$p.flex,
1115
1115
  children: /* @__PURE__ */ jsxRuntime.jsx(qwik.Slot, {})
1116
1116
  }),
1117
1117
  /* @__PURE__ */ jsxRuntime.jsx("div", {
1118
- class: styles$o["button-ornament"]
1118
+ class: styles$p["button-ornament"]
1119
1119
  })
1120
1120
  ]
1121
1121
  });
@@ -1124,7 +1124,7 @@ const container$2 = "_container_101ok_1";
1124
1124
  const checkbox = "_checkbox_101ok_19";
1125
1125
  const rect = "_rect_101ok_27";
1126
1126
  const loading$1 = "_loading_101ok_40";
1127
- const styles$n = {
1127
+ const styles$o = {
1128
1128
  container: container$2,
1129
1129
  "container--disable": "_container--disable_101ok_11",
1130
1130
  checkbox,
@@ -1144,8 +1144,8 @@ const ElmCheckbox = qwik.component$((props) => {
1144
1144
  });
1145
1145
  return /* @__PURE__ */ jsxRuntime.jsx("div", {
1146
1146
  class: [
1147
- styles$n.container,
1148
- props.disable && styles$n["container--disable"]
1147
+ styles$o.container,
1148
+ props.disable && styles$o["container--disable"]
1149
1149
  ],
1150
1150
  onClick$: toggleCheck,
1151
1151
  children: /* @__PURE__ */ jsxRuntime.jsxs("div", {
@@ -1158,13 +1158,13 @@ const ElmCheckbox = qwik.component$((props) => {
1158
1158
  /* @__PURE__ */ jsxRuntime.jsxs("svg", {
1159
1159
  width: "24",
1160
1160
  height: "24",
1161
- class: styles$n.checkbox,
1161
+ class: styles$o.checkbox,
1162
1162
  children: [
1163
1163
  /* @__PURE__ */ jsxRuntime.jsxs("circle", {
1164
1164
  cx: "0",
1165
1165
  cy: "0",
1166
1166
  r: "2",
1167
- class: styles$n.loading,
1167
+ class: styles$o.loading,
1168
1168
  style: {
1169
1169
  opacity: props.loading ? 1 : 0
1170
1170
  },
@@ -1191,7 +1191,7 @@ const ElmCheckbox = qwik.component$((props) => {
1191
1191
  cx: "20",
1192
1192
  cy: "20",
1193
1193
  r: "2",
1194
- class: styles$n.loading,
1194
+ class: styles$o.loading,
1195
1195
  style: {
1196
1196
  opacity: props.loading ? 1 : 0
1197
1197
  },
@@ -1220,14 +1220,14 @@ const ElmCheckbox = qwik.component$((props) => {
1220
1220
  width: "16",
1221
1221
  height: "16",
1222
1222
  class: [
1223
- styles$n.rect,
1224
- isChecked.value && styles$n["rect--checked"],
1225
- props.loading && styles$n["rect--loading"]
1223
+ styles$o.rect,
1224
+ isChecked.value && styles$o["rect--checked"],
1225
+ props.loading && styles$o["rect--loading"]
1226
1226
  ],
1227
1227
  "stroke-width": "0.8"
1228
1228
  }),
1229
1229
  isChecked.value && /* @__PURE__ */ jsxRuntime.jsx("polyline", {
1230
- class: styles$n["check-line"],
1230
+ class: styles$o["check-line"],
1231
1231
  points: "5,12 10,17 19,8",
1232
1232
  "stroke-width": "1.5",
1233
1233
  fill: "transparent"
@@ -1299,7 +1299,7 @@ const ElmCheckbox = qwik.component$((props) => {
1299
1299
  })
1300
1300
  });
1301
1301
  });
1302
- const wrapper$2 = "_wrapper_1o5x2_1";
1302
+ const wrapper$3 = "_wrapper_1o5x2_1";
1303
1303
  const active$1 = "_active_1o5x2_23";
1304
1304
  const header$2 = "_header_1o5x2_27";
1305
1305
  const label$1 = "_label_1o5x2_35";
@@ -1310,8 +1310,8 @@ const fallback$1 = "_fallback_1o5x2_71";
1310
1310
  const pulldown = "_pulldown_1o5x2_79";
1311
1311
  const option = "_option_1o5x2_96";
1312
1312
  const description$1 = "_description_1o5x2_116";
1313
- const styles$m = {
1314
- wrapper: wrapper$2,
1313
+ const styles$n = {
1314
+ wrapper: wrapper$3,
1315
1315
  active: active$1,
1316
1316
  header: header$2,
1317
1317
  label: label$1,
@@ -1352,8 +1352,8 @@ const ElmSelect = qwik.component$((props) => {
1352
1352
  return /* @__PURE__ */ jsxRuntime.jsxs("div", {
1353
1353
  ref: containerRef,
1354
1354
  class: [
1355
- styles$m.wrapper,
1356
- isActive.value && styles$m.active
1355
+ styles$n.wrapper,
1356
+ isActive.value && styles$n.active
1357
1357
  ],
1358
1358
  style: {
1359
1359
  backgroundColor: props.disabled || props.loading ? "rgba(0,0,0,0.15)" : void 0,
@@ -1362,23 +1362,23 @@ const ElmSelect = qwik.component$((props) => {
1362
1362
  onClick$: handleToggle,
1363
1363
  children: [
1364
1364
  /* @__PURE__ */ jsxRuntime.jsx("div", {
1365
- class: styles$m.header,
1365
+ class: styles$n.header,
1366
1366
  children: /* @__PURE__ */ jsxRuntime.jsx("span", {
1367
1367
  class: [
1368
- styles$m.label,
1368
+ styles$n.label,
1369
1369
  textStyles.text
1370
1370
  ],
1371
1371
  children: props.label
1372
1372
  })
1373
1373
  }),
1374
1374
  /* @__PURE__ */ jsxRuntime.jsx("div", {
1375
- class: styles$m.body,
1375
+ class: styles$n.body,
1376
1376
  children: /* @__PURE__ */ jsxRuntime.jsxs("div", {
1377
- class: styles$m.select,
1377
+ class: styles$n.select,
1378
1378
  children: [
1379
1379
  /* @__PURE__ */ jsxRuntime.jsx("div", {
1380
1380
  class: [
1381
- styles$m.selected,
1381
+ styles$n.selected,
1382
1382
  textStyles.text
1383
1383
  ],
1384
1384
  children: selectedOption.value ? /* @__PURE__ */ jsxRuntime.jsxs("div", {
@@ -1387,12 +1387,12 @@ const ElmSelect = qwik.component$((props) => {
1387
1387
  children: selectedOption.value.label
1388
1388
  }),
1389
1389
  selectedOption.value.description && /* @__PURE__ */ jsxRuntime.jsx("span", {
1390
- class: styles$m.description,
1390
+ class: styles$n.description,
1391
1391
  children: selectedOption.value.description
1392
1392
  })
1393
1393
  ]
1394
1394
  }, selectedOption.value.id) : /* @__PURE__ */ jsxRuntime.jsxs("div", {
1395
- class: styles$m.fallback,
1395
+ class: styles$n.fallback,
1396
1396
  children: [
1397
1397
  /* @__PURE__ */ jsxRuntime.jsx(ElmMdiIcon, {
1398
1398
  d: js.mdiArrowDownDropCircleOutline
@@ -1408,10 +1408,10 @@ const ElmSelect = qwik.component$((props) => {
1408
1408
  size: "1.5rem"
1409
1409
  }),
1410
1410
  isActive.value && /* @__PURE__ */ jsxRuntime.jsx("div", {
1411
- class: styles$m.pulldown,
1411
+ class: styles$n.pulldown,
1412
1412
  children: props.options.map((option2) => /* @__PURE__ */ jsxRuntime.jsxs("div", {
1413
1413
  class: [
1414
- styles$m.option,
1414
+ styles$n.option,
1415
1415
  textStyles.text
1416
1416
  ],
1417
1417
  onClick$: (e) => {
@@ -1429,7 +1429,7 @@ const ElmSelect = qwik.component$((props) => {
1429
1429
  children: option2.label
1430
1430
  }),
1431
1431
  option2.description && /* @__PURE__ */ jsxRuntime.jsx("span", {
1432
- class: styles$m.description,
1432
+ class: styles$n.description,
1433
1433
  children: option2.description
1434
1434
  })
1435
1435
  ]
@@ -1443,7 +1443,7 @@ const ElmSelect = qwik.component$((props) => {
1443
1443
  });
1444
1444
  const bar = "_bar_gpty5_5";
1445
1445
  const circle = "_circle_gpty5_25";
1446
- const styles$l = {
1446
+ const styles$m = {
1447
1447
  "switch": "_switch_gpty5_1",
1448
1448
  bar,
1449
1449
  "bar--checked": "_bar--checked_gpty5_17",
@@ -1472,22 +1472,22 @@ const ElmSwitch = qwik.component$((props) => {
1472
1472
  },
1473
1473
  children: [
1474
1474
  /* @__PURE__ */ jsxRuntime.jsx("input", {
1475
- class: styles$l.switch,
1475
+ class: styles$m.switch,
1476
1476
  type: "checkbox",
1477
1477
  checked: checked.value,
1478
1478
  disabled: props.disabled
1479
1479
  }),
1480
1480
  /* @__PURE__ */ jsxRuntime.jsx("div", {
1481
1481
  class: [
1482
- styles$l.bar,
1483
- checked.value && styles$l["bar--checked"],
1484
- props.disabled && styles$l["bar--disabled"]
1482
+ styles$m.bar,
1483
+ checked.value && styles$m["bar--checked"],
1484
+ props.disabled && styles$m["bar--disabled"]
1485
1485
  ],
1486
1486
  children: /* @__PURE__ */ jsxRuntime.jsx("div", {
1487
1487
  class: [
1488
- styles$l.circle,
1489
- checked.value && styles$l["circle--checked"],
1490
- props.disabled && styles$l["circle--disabled"]
1488
+ styles$m.circle,
1489
+ checked.value && styles$m["circle--checked"],
1490
+ props.disabled && styles$m["circle--disabled"]
1491
1491
  ]
1492
1492
  })
1493
1493
  })
@@ -1495,7 +1495,7 @@ const ElmSwitch = qwik.component$((props) => {
1495
1495
  });
1496
1496
  });
1497
1497
  const loading = "_loading_1yj0v_19";
1498
- const wrapper$1 = "_wrapper_1yj0v_33";
1498
+ const wrapper$2 = "_wrapper_1yj0v_33";
1499
1499
  const active = "_active_1yj0v_55";
1500
1500
  const header$1 = "_header_1yj0v_59";
1501
1501
  const label = "_label_1yj0v_67";
@@ -1504,9 +1504,9 @@ const body$1 = "_body_1yj0v_88";
1504
1504
  const input = "_input_1yj0v_109";
1505
1505
  const icon$2 = "_icon_1yj0v_136";
1506
1506
  const suffix = "_suffix_1yj0v_153";
1507
- const styles$k = {
1507
+ const styles$l = {
1508
1508
  loading,
1509
- wrapper: wrapper$1,
1509
+ wrapper: wrapper$2,
1510
1510
  active,
1511
1511
  header: header$1,
1512
1512
  label,
@@ -1548,8 +1548,8 @@ const ElmTextField = qwik.component$((props) => {
1548
1548
  };
1549
1549
  return /* @__PURE__ */ jsxRuntime.jsxs("div", {
1550
1550
  class: [
1551
- styles$k.wrapper,
1552
- isFocused.value && styles$k.active
1551
+ styles$l.wrapper,
1552
+ isFocused.value && styles$l.active
1553
1553
  ],
1554
1554
  style: {
1555
1555
  backgroundColor: props.disabled || props.loading ? "rgba(0,0,0,0.15)" : void 0,
@@ -1557,17 +1557,17 @@ const ElmTextField = qwik.component$((props) => {
1557
1557
  },
1558
1558
  children: [
1559
1559
  /* @__PURE__ */ jsxRuntime.jsxs("div", {
1560
- class: styles$k.header,
1560
+ class: styles$l.header,
1561
1561
  children: [
1562
1562
  /* @__PURE__ */ jsxRuntime.jsxs("label", {
1563
1563
  for: id,
1564
- class: styles$k.label,
1564
+ class: styles$l.label,
1565
1565
  children: [
1566
1566
  /* @__PURE__ */ jsxRuntime.jsx("span", {
1567
1567
  children: props.label
1568
1568
  }),
1569
1569
  props.required && /* @__PURE__ */ jsxRuntime.jsx("span", {
1570
- class: styles$k.requierd,
1570
+ class: styles$l.requierd,
1571
1571
  children: "*"
1572
1572
  })
1573
1573
  ]
@@ -1580,7 +1580,7 @@ const ElmTextField = qwik.component$((props) => {
1580
1580
  ]
1581
1581
  }),
1582
1582
  /* @__PURE__ */ jsxRuntime.jsxs("div", {
1583
- class: styles$k.body,
1583
+ class: styles$l.body,
1584
1584
  children: [
1585
1585
  props.icon && /* @__PURE__ */ jsxRuntime.jsx(ElmMdiIcon, {
1586
1586
  d: iconMap[props.icon],
@@ -1591,7 +1591,7 @@ const ElmTextField = qwik.component$((props) => {
1591
1591
  id,
1592
1592
  "bind:value": input2,
1593
1593
  type: inputType.value,
1594
- class: styles$k.input,
1594
+ class: styles$l.input,
1595
1595
  placeholder: props.placeholder,
1596
1596
  onFocus$: () => isFocused.value = true,
1597
1597
  onBlur$: () => isFocused.value = false,
@@ -1602,16 +1602,16 @@ const ElmTextField = qwik.component$((props) => {
1602
1602
  "aria-required": props.required
1603
1603
  }),
1604
1604
  /* @__PURE__ */ jsxRuntime.jsxs("div", {
1605
- class: styles$k["icon-box"],
1605
+ class: styles$l["icon-box"],
1606
1606
  children: [
1607
1607
  /* @__PURE__ */ jsxRuntime.jsx("span", {
1608
- class: styles$k.suffix,
1608
+ class: styles$l.suffix,
1609
1609
  children: props.suffix != null && /* @__PURE__ */ jsxRuntime.jsx(ElmInlineText, {
1610
1610
  text: props.suffix
1611
1611
  })
1612
1612
  }),
1613
1613
  /* @__PURE__ */ jsxRuntime.jsx("div", {
1614
- class: styles$k.icon,
1614
+ class: styles$l.icon,
1615
1615
  onClick$: handleVisibleSwitch,
1616
1616
  children: /* @__PURE__ */ jsxRuntime.jsx(ElmMdiIcon, {
1617
1617
  d: inputType.value === "text" ? js.mdiEyeOutline : js.mdiEyeOffOutline,
@@ -1620,7 +1620,7 @@ const ElmTextField = qwik.component$((props) => {
1620
1620
  })
1621
1621
  }),
1622
1622
  /* @__PURE__ */ jsxRuntime.jsx("div", {
1623
- class: styles$k.icon,
1623
+ class: styles$l.icon,
1624
1624
  onClick$: handleDelete,
1625
1625
  children: /* @__PURE__ */ jsxRuntime.jsx(ElmMdiIcon, {
1626
1626
  d: js.mdiBackspaceOutline,
@@ -1633,7 +1633,7 @@ const ElmTextField = qwik.component$((props) => {
1633
1633
  ]
1634
1634
  }),
1635
1635
  /* @__PURE__ */ jsxRuntime.jsx("div", {
1636
- class: styles$k.loading,
1636
+ class: styles$l.loading,
1637
1637
  style: {
1638
1638
  opacity: props.loading ? 0.2 : 0
1639
1639
  }
@@ -1642,12 +1642,12 @@ const ElmTextField = qwik.component$((props) => {
1642
1642
  });
1643
1643
  });
1644
1644
  const validation = "_validation_r3xix_1";
1645
- const styles$j = {
1645
+ const styles$k = {
1646
1646
  validation
1647
1647
  };
1648
1648
  const ElmValidation = qwik.component$(({ text: text2, validColor = "#449763", isValid }) => {
1649
1649
  return /* @__PURE__ */ jsxRuntime.jsxs("div", {
1650
- class: styles$j.validation,
1650
+ class: styles$k.validation,
1651
1651
  style: {
1652
1652
  "--opacity": isValid ? 1 : 0.5
1653
1653
  },
@@ -1710,7 +1710,7 @@ function useElmethisTheme() {
1710
1710
  };
1711
1711
  }
1712
1712
  const icon$1 = "_icon_1husg_1";
1713
- const styles$i = {
1713
+ const styles$j = {
1714
1714
  icon: icon$1
1715
1715
  };
1716
1716
  const ElmToggleTheme = qwik.component$(({ size = "2rem" }) => {
@@ -1721,7 +1721,7 @@ const ElmToggleTheme = qwik.component$(({ size = "2rem" }) => {
1721
1721
  width: size,
1722
1722
  height: size,
1723
1723
  viewBox: "0 0 24 24",
1724
- class: styles$i.icon,
1724
+ class: styles$j.icon,
1725
1725
  onClick$: toggleTheme,
1726
1726
  children: [
1727
1727
  /* @__PURE__ */ jsxRuntime.jsxs("g", {
@@ -1929,7 +1929,7 @@ const ElmToggleTheme = qwik.component$(({ size = "2rem" }) => {
1929
1929
  width: size,
1930
1930
  height: size,
1931
1931
  viewBox: "0 0 24 24",
1932
- class: styles$i.icon,
1932
+ class: styles$j.icon,
1933
1933
  onClick$: toggleTheme,
1934
1934
  children: [
1935
1935
  /* @__PURE__ */ jsxRuntime.jsxs("path", {
@@ -2175,6 +2175,30 @@ const ElmToggleTheme = qwik.component$(({ size = "2rem" }) => {
2175
2175
  })
2176
2176
  });
2177
2177
  });
2178
+ const wrapper$1 = "_wrapper_13xd3_15";
2179
+ const square = "_square_13xd3_24";
2180
+ const styles$i = {
2181
+ wrapper: wrapper$1,
2182
+ square
2183
+ };
2184
+ const ElmSquareLoadingIcon = qwik.component$(({ size = "3rem", dimensions = 4 }) => {
2185
+ const DURATION = 1200;
2186
+ const DELAY = DURATION / (dimensions * 3);
2187
+ return /* @__PURE__ */ jsxRuntime.jsx("div", {
2188
+ class: styles$i.wrapper,
2189
+ style: {
2190
+ "--size": size,
2191
+ "--dimensions": dimensions,
2192
+ "--duration": `${DURATION}ms`
2193
+ },
2194
+ children: new Array(dimensions).fill(null).map((_, rowIndex) => new Array(dimensions).fill(null).map((_2, columnIndex) => /* @__PURE__ */ jsxRuntime.jsx("div", {
2195
+ class: styles$i.square,
2196
+ style: {
2197
+ "--delay": `${DELAY * (rowIndex + columnIndex)}ms`
2198
+ }
2199
+ }, `${rowIndex}-${columnIndex}`)))
2200
+ });
2201
+ });
2178
2202
  const image$1 = "_image_sf1wj_12";
2179
2203
  const fallback = "_fallback_sf1wj_34";
2180
2204
  const styles$h = {
@@ -2649,16 +2673,17 @@ const ElmFragmentIdentifier = qwik.component$(({ id }) => {
2649
2673
  children: "#"
2650
2674
  });
2651
2675
  });
2652
- const h1 = "_h1_1c1xr_10";
2653
- const h2 = "_h2_1c1xr_40";
2654
- const h2__underline = "_h2__underline_1c1xr_68";
2655
- const h3 = "_h3_1c1xr_85";
2656
- const h4 = "_h4_1c1xr_102";
2657
- const h5 = "_h5_1c1xr_106";
2658
- const h6 = "_h6_1c1xr_110";
2676
+ const h1 = "_h1_13qod_18";
2677
+ const h2 = "_h2_13qod_48";
2678
+ const h2__underline = "_h2__underline_13qod_76";
2679
+ const h3 = "_h3_13qod_92";
2680
+ const h4 = "_h4_13qod_109";
2681
+ const h5 = "_h5_13qod_113";
2682
+ const h6 = "_h6_13qod_117";
2659
2683
  const styles$8 = {
2660
- "heading-common": "_heading-common_1c1xr_1",
2684
+ "heading-common": "_heading-common_13qod_1",
2661
2685
  h1,
2686
+ "heading-stretch": "_heading-stretch_13qod_1",
2662
2687
  h2,
2663
2688
  h2__underline,
2664
2689
  h3,
@@ -2733,41 +2758,19 @@ const ElmList = qwik.component$(({ listStyle = "unordered", style }) => {
2733
2758
  });
2734
2759
  }
2735
2760
  });
2736
- const paragraph = "_paragraph_1klqe_1";
2761
+ const paragraph = "_paragraph_14h3g_1";
2737
2762
  const styles$6 = {
2738
2763
  paragraph
2739
2764
  };
2740
- const useInView = (props) => {
2741
- const ref = qwik.useSignal();
2742
- const isVisible = qwik.useSignal(props?.defaultValue ?? false);
2743
- qwik.useVisibleTask$(() => {
2744
- if (!ref.value) return;
2745
- const observer = new IntersectionObserver(([entry]) => {
2746
- isVisible.value = entry.isIntersecting;
2747
- }, {
2748
- rootMargin: "100px",
2749
- threshold: 0.1
2750
- });
2751
- observer.observe(ref.value);
2752
- return () => observer.disconnect();
2753
- });
2754
- return {
2755
- ref,
2756
- isVisible
2757
- };
2758
- };
2759
2765
  const ElmParagraph = qwik.component$(({ color, backgroundColor }) => {
2760
- const { ref, isVisible } = useInView();
2761
2766
  return /* @__PURE__ */ jsxRuntime.jsx("p", {
2762
- ref,
2763
2767
  class: [
2764
2768
  styles$6.paragraph,
2765
2769
  textStyles.text
2766
2770
  ],
2767
2771
  style: {
2768
2772
  "--color": color,
2769
- "--background-color": backgroundColor,
2770
- "--opacity": isVisible.value ? 1 : 0
2773
+ "--background-color": backgroundColor
2771
2774
  },
2772
2775
  children: /* @__PURE__ */ jsxRuntime.jsx(qwik.Slot, {})
2773
2776
  });
@@ -3254,6 +3257,25 @@ const useDelayedSignal = (initialValue) => {
3254
3257
  dispatch
3255
3258
  };
3256
3259
  };
3260
+ const useInView = (props) => {
3261
+ const ref = qwik.useSignal();
3262
+ const isVisible = qwik.useSignal(props?.defaultValue ?? false);
3263
+ qwik.useVisibleTask$(() => {
3264
+ if (!ref.value) return;
3265
+ const observer = new IntersectionObserver(([entry]) => {
3266
+ isVisible.value = entry.isIntersecting;
3267
+ }, {
3268
+ rootMargin: "100px",
3269
+ threshold: 0.1
3270
+ });
3271
+ observer.observe(ref.value);
3272
+ return () => observer.disconnect();
3273
+ });
3274
+ return {
3275
+ ref,
3276
+ isVisible
3277
+ };
3278
+ };
3257
3279
  const useLocalStorage = (key, initialValue) => {
3258
3280
  const state = qwik.useSignal(initialValue);
3259
3281
  qwik.useVisibleTask$(() => {
@@ -3318,6 +3340,7 @@ exports.ElmParallax = ElmParallax;
3318
3340
  exports.ElmRectangleWave = ElmRectangleWave;
3319
3341
  exports.ElmSelect = ElmSelect;
3320
3342
  exports.ElmShikiHighlighter = ElmShikiHighlighter;
3343
+ exports.ElmSquareLoadingIcon = ElmSquareLoadingIcon;
3321
3344
  exports.ElmSwitch = ElmSwitch;
3322
3345
  exports.ElmTable = ElmTable;
3323
3346
  exports.ElmTableBody = ElmTableBody;