@luminescent/ui-qwik 1.2.9 → 1.3.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.
@@ -866,9 +866,11 @@ const Header = /* @__PURE__ */ qwik.componentQrl(/* @__PURE__ */ qwik.inlinedQrl
866
866
  return Component;
867
867
  }, "Header_component_JY2gvGRuOjU"));
868
868
  const Nav = /* @__PURE__ */ qwik.componentQrl(/* @__PURE__ */ qwik.inlinedQrl((props) => {
869
+ qwik._jsxBranch();
869
870
  const props1 = qwik._restProps(props, [
870
871
  "fixed",
871
872
  "floating",
873
+ "nohamburger",
872
874
  "colorClass"
873
875
  ]);
874
876
  const menu = qwik.useSignal(false);
@@ -881,7 +883,7 @@ const Nav = /* @__PURE__ */ qwik.componentQrl(/* @__PURE__ */ qwik.inlinedQrl((p
881
883
  ...props1.class
882
884
  },
883
885
  children: [
884
- /* @__PURE__ */ qwik._jsxQ("div", {
886
+ !props.nohamburger && /* @__PURE__ */ qwik._jsxQ("div", {
885
887
  class: {
886
888
  "sm:hidden motion-safe:transition-all flex flex-col px-2 items-center absolute w-full top-full": true,
887
889
  "mt-2": menu.value,
@@ -901,7 +903,7 @@ const Nav = /* @__PURE__ */ qwik.componentQrl(/* @__PURE__ */ qwik.inlinedQrl((p
901
903
  [qwik._IMMUTABLE]: {
902
904
  name: qwik._IMMUTABLE
903
905
  }
904
- }, 3, "03_0"), 1, null), 1, null),
906
+ }, 3, "03_0"), 1, null), 1, "03_1"),
905
907
  /* @__PURE__ */ qwik._jsxQ("div", {
906
908
  class: {
907
909
  [props.colorClass ?? "lum-bg-gray-900"]: !props.floating,
@@ -926,7 +928,7 @@ const Nav = /* @__PURE__ */ qwik.componentQrl(/* @__PURE__ */ qwik.inlinedQrl((p
926
928
  [qwik._IMMUTABLE]: {
927
929
  name: qwik._IMMUTABLE
928
930
  }
929
- }, 3, "03_1"), 1, null),
931
+ }, 3, "03_2"), 1, null),
930
932
  /* @__PURE__ */ qwik._jsxQ("div", null, {
931
933
  class: "flex items-center flex-1 gap-2 py-2 justify-center"
932
934
  }, /* @__PURE__ */ qwik._jsxC(qwik.Slot, {
@@ -934,7 +936,7 @@ const Nav = /* @__PURE__ */ qwik.componentQrl(/* @__PURE__ */ qwik.inlinedQrl((p
934
936
  [qwik._IMMUTABLE]: {
935
937
  name: qwik._IMMUTABLE
936
938
  }
937
- }, 3, "03_2"), 1, null),
939
+ }, 3, "03_3"), 1, null),
938
940
  /* @__PURE__ */ qwik._jsxQ("div", null, {
939
941
  class: "flex items-center flex-1 gap-2 py-2 justify-end"
940
942
  }, [
@@ -943,8 +945,8 @@ const Nav = /* @__PURE__ */ qwik.componentQrl(/* @__PURE__ */ qwik.inlinedQrl((p
943
945
  [qwik._IMMUTABLE]: {
944
946
  name: qwik._IMMUTABLE
945
947
  }
946
- }, 3, "03_3"),
947
- /* @__PURE__ */ qwik._jsxQ("button", null, {
948
+ }, 3, "03_4"),
949
+ !props.nohamburger && /* @__PURE__ */ qwik._jsxQ("button", null, {
948
950
  class: "lum-btn lum-pad-equal-md lum-bg-transparent sm:hidden",
949
951
  onClick$: /* @__PURE__ */ qwik.inlinedQrl(() => {
950
952
  const [menu2] = qwik.useLexicalScope();
@@ -963,11 +965,11 @@ const Nav = /* @__PURE__ */ qwik.componentQrl(/* @__PURE__ */ qwik.inlinedQrl((p
963
965
  "stroke-linejoin": "round",
964
966
  "stroke-width": "2",
965
967
  d: "M4 6h16M4 12h16M4 18h16"
966
- }, null, 3, null), 3, null), 3, null)
968
+ }, null, 3, null), 3, null), 3, "03_5")
967
969
  ], 1, null)
968
970
  ], 1, null), 1, null)
969
971
  ]
970
- }, null, 0, "03_4");
972
+ }, null, 0, "03_6");
971
973
  }, "Nav_component_GVA94DyavJM"));
972
974
  const Plus = /* @__PURE__ */ qwik.componentQrl(/* @__PURE__ */ qwik.inlinedQrl((props) => {
973
975
  return /* @__PURE__ */ qwik._jsxS("svg", {
@@ -864,9 +864,11 @@ const Header = /* @__PURE__ */ componentQrl(/* @__PURE__ */ inlinedQrl((props) =
864
864
  return Component;
865
865
  }, "Header_component_JY2gvGRuOjU"));
866
866
  const Nav = /* @__PURE__ */ componentQrl(/* @__PURE__ */ inlinedQrl((props) => {
867
+ _jsxBranch();
867
868
  const props1 = _restProps(props, [
868
869
  "fixed",
869
870
  "floating",
871
+ "nohamburger",
870
872
  "colorClass"
871
873
  ]);
872
874
  const menu = useSignal(false);
@@ -879,7 +881,7 @@ const Nav = /* @__PURE__ */ componentQrl(/* @__PURE__ */ inlinedQrl((props) => {
879
881
  ...props1.class
880
882
  },
881
883
  children: [
882
- /* @__PURE__ */ _jsxQ("div", {
884
+ !props.nohamburger && /* @__PURE__ */ _jsxQ("div", {
883
885
  class: {
884
886
  "sm:hidden motion-safe:transition-all flex flex-col px-2 items-center absolute w-full top-full": true,
885
887
  "mt-2": menu.value,
@@ -899,7 +901,7 @@ const Nav = /* @__PURE__ */ componentQrl(/* @__PURE__ */ inlinedQrl((props) => {
899
901
  [_IMMUTABLE]: {
900
902
  name: _IMMUTABLE
901
903
  }
902
- }, 3, "03_0"), 1, null), 1, null),
904
+ }, 3, "03_0"), 1, null), 1, "03_1"),
903
905
  /* @__PURE__ */ _jsxQ("div", {
904
906
  class: {
905
907
  [props.colorClass ?? "lum-bg-gray-900"]: !props.floating,
@@ -924,7 +926,7 @@ const Nav = /* @__PURE__ */ componentQrl(/* @__PURE__ */ inlinedQrl((props) => {
924
926
  [_IMMUTABLE]: {
925
927
  name: _IMMUTABLE
926
928
  }
927
- }, 3, "03_1"), 1, null),
929
+ }, 3, "03_2"), 1, null),
928
930
  /* @__PURE__ */ _jsxQ("div", null, {
929
931
  class: "flex items-center flex-1 gap-2 py-2 justify-center"
930
932
  }, /* @__PURE__ */ _jsxC(Slot, {
@@ -932,7 +934,7 @@ const Nav = /* @__PURE__ */ componentQrl(/* @__PURE__ */ inlinedQrl((props) => {
932
934
  [_IMMUTABLE]: {
933
935
  name: _IMMUTABLE
934
936
  }
935
- }, 3, "03_2"), 1, null),
937
+ }, 3, "03_3"), 1, null),
936
938
  /* @__PURE__ */ _jsxQ("div", null, {
937
939
  class: "flex items-center flex-1 gap-2 py-2 justify-end"
938
940
  }, [
@@ -941,8 +943,8 @@ const Nav = /* @__PURE__ */ componentQrl(/* @__PURE__ */ inlinedQrl((props) => {
941
943
  [_IMMUTABLE]: {
942
944
  name: _IMMUTABLE
943
945
  }
944
- }, 3, "03_3"),
945
- /* @__PURE__ */ _jsxQ("button", null, {
946
+ }, 3, "03_4"),
947
+ !props.nohamburger && /* @__PURE__ */ _jsxQ("button", null, {
946
948
  class: "lum-btn lum-pad-equal-md lum-bg-transparent sm:hidden",
947
949
  onClick$: /* @__PURE__ */ inlinedQrl(() => {
948
950
  const [menu2] = useLexicalScope();
@@ -961,11 +963,11 @@ const Nav = /* @__PURE__ */ componentQrl(/* @__PURE__ */ inlinedQrl((props) => {
961
963
  "stroke-linejoin": "round",
962
964
  "stroke-width": "2",
963
965
  d: "M4 6h16M4 12h16M4 18h16"
964
- }, null, 3, null), 3, null), 3, null)
966
+ }, null, 3, null), 3, null), 3, "03_5")
965
967
  ], 1, null)
966
968
  ], 1, null), 1, null)
967
969
  ]
968
- }, null, 0, "03_4");
970
+ }, null, 0, "03_6");
969
971
  }, "Nav_component_GVA94DyavJM"));
970
972
  const Plus = /* @__PURE__ */ componentQrl(/* @__PURE__ */ inlinedQrl((props) => {
971
973
  return /* @__PURE__ */ _jsxS("svg", {
@@ -5,6 +5,7 @@ interface NavContainerProps extends Omit<PropsOf<'nav'>, 'class'> {
5
5
  };
6
6
  fixed?: boolean;
7
7
  floating?: boolean;
8
+ nohamburger?: boolean;
8
9
  colorClass?: string;
9
10
  }
10
11
  export declare const Nav: import("@builder.io/qwik").Component<NavContainerProps>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@luminescent/ui-qwik",
3
- "version": "1.2.9",
3
+ "version": "1.3.1",
4
4
  "description": "Luminescent UI library",
5
5
  "main": "./lib/index.qwik.mjs",
6
6
  "qwik": "./lib/index.qwik.mjs",