@luminescent/ui 0.12.5 → 0.12.7

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.
@@ -545,7 +545,7 @@ const ColorInput = /* @__PURE__ */ qwik.componentQrl(/* @__PURE__ */ qwik.inline
545
545
  get class() {
546
546
  return {
547
547
  "motion-safe:transition-all absolute top-full mt-2 left-0 gap-1 z-[1000]": true,
548
- "opacity-0 pointer-events-none scale-95": !store.opened
548
+ "opacity-0 scale-95 pointer-events-none": !store.opened
549
549
  };
550
550
  },
551
551
  onInput$: /* @__PURE__ */ qwik.inlinedQrl((color) => {
@@ -578,10 +578,10 @@ const ColorInput = /* @__PURE__ */ qwik.componentQrl(/* @__PURE__ */ qwik.inline
578
578
  [qwik._IMMUTABLE]: {
579
579
  class: qwik._fnSignal((p0) => ({
580
580
  "motion-safe:transition-all absolute top-full mt-2 left-0 gap-1 z-[1000]": true,
581
- "opacity-0 pointer-events-none scale-95": !p0.opened
581
+ "opacity-0 scale-95 pointer-events-none": !p0.opened
582
582
  }), [
583
583
  store
584
- ], '{"motion-safe:transition-all absolute top-full mt-2 left-0 gap-1 z-[1000]":true,"opacity-0 pointer-events-none scale-95":!p0.opened}'),
584
+ ], '{"motion-safe:transition-all absolute top-full mt-2 left-0 gap-1 z-[1000]":true,"opacity-0 scale-95 pointer-events-none":!p0.opened}'),
585
585
  color: qwik._fnSignal((p0) => p0.value ?? "#000000", [
586
586
  props
587
587
  ], 'p0.value??"#000000"'),
@@ -982,7 +982,7 @@ const DropdownRaw = /* @__PURE__ */ qwik.componentQrl(/* @__PURE__ */ qwik.inlin
982
982
  /* @__PURE__ */ qwik._jsxQ("div", {
983
983
  class: {
984
984
  "absolute top-full pt-2 left-0 z-[1000] ": true,
985
- "pointer-events-none opacity-0 scale-95": !store.opened,
985
+ "opacity-0 scale-95 pointer-events-none": !store.opened,
986
986
  "group-hover:pointer-events-auto group-hover:opacity-100 group-hover:scale-100": props.hover
987
987
  }
988
988
  }, null, /* @__PURE__ */ qwik._jsxQ("div", null, {
@@ -1113,105 +1113,110 @@ const Header = /* @__PURE__ */ qwik.componentQrl(/* @__PURE__ */ qwik.inlinedQrl
1113
1113
  return Component;
1114
1114
  }, "Header_component_FfGOhhBNG5k"));
1115
1115
  const Nav = /* @__PURE__ */ qwik.componentQrl(/* @__PURE__ */ qwik.inlinedQrl((props) => {
1116
+ const props1 = qwik._restProps(props, [
1117
+ "fixed",
1118
+ "floating"
1119
+ ]);
1116
1120
  const menu = qwik.useSignal(false);
1117
- return /* @__PURE__ */ qwik._jsxQ("nav", null, {
1118
- class: qwik._fnSignal((p0) => ({
1119
- "motion-safe:transition-all duration-200 flex flex-col top-0 left-0 w-full z-50": true,
1120
- "fixed": p0.fixed,
1121
- "absolute": !p0.fixed
1122
- }), [
1123
- props
1124
- ], '{"motion-safe:transition-all duration-200 flex flex-col top-0 left-0 w-full z-50":true,"fixed":p0.fixed,"absolute":!p0.fixed}')
1125
- }, [
1126
- /* @__PURE__ */ qwik._jsxQ("div", {
1127
- class: {
1128
- "sm:hidden motion-safe:transition-all flex flex-col px-2 items-center absolute w-full": true,
1129
- "top-full mt-2": menu.value,
1130
- "opacity-0 top-0 scale-95": !menu.value
1131
- }
1132
- }, null, /* @__PURE__ */ qwik._jsxQ("div", null, {
1133
- class: {
1134
- "flex flex-col gap-2 motion-safe:transition-all max-w-7xl w-full p-2 bg-gray-800/50 border border-gray-700/50 rounded-lg": true,
1135
- 'before:absolute before:content-[""] before:w-full before:h-full before:backdrop-blur-lg before:drop-shadow-xl before:-z-10': true
1136
- }
1137
- }, /* @__PURE__ */ qwik._jsxC(qwik.Slot, {
1138
- name: "mobile",
1139
- [qwik._IMMUTABLE]: {
1140
- name: qwik._IMMUTABLE
1141
- }
1142
- }, 3, "8r_0"), 1, null), 1, null),
1143
- /* @__PURE__ */ qwik._jsxQ("div", {
1144
- class: {
1145
- "bg-gray-800/50 border-b border-gray-700/50": !props.floating,
1146
- 'before:absolute before:content-[""] before:w-full before:h-full before:backdrop-blur-lg before:drop-shadow-xl before:-z-10': !props.floating,
1147
- "relative mt-2 mx-2": props.floating
1148
- }
1149
- }, null, /* @__PURE__ */ qwik._jsxQ("div", {
1150
- class: {
1151
- "flex justify-evenly w-full mx-auto px-2 max-w-7xl": true,
1152
- "bg-gray-800/50 border border-gray-700/50 rounded-lg": props.floating,
1153
- 'before:absolute before:content-[""] before:w-full before:max-w-7xl before:h-full before:rounded-lg before:backdrop-blur-lg before:drop-shadow-xl before:-z-10': props.floating
1154
- }
1155
- }, null, [
1156
- /* @__PURE__ */ qwik._jsxQ("div", null, {
1157
- class: "flex items-center flex-1 gap-2 py-2 justify-start"
1158
- }, /* @__PURE__ */ qwik._jsxC(qwik.Slot, {
1159
- name: "start",
1160
- [qwik._IMMUTABLE]: {
1161
- name: qwik._IMMUTABLE
1121
+ return /* @__PURE__ */ qwik._jsxS("nav", {
1122
+ ...props1,
1123
+ children: [
1124
+ /* @__PURE__ */ qwik._jsxQ("div", {
1125
+ class: {
1126
+ "sm:hidden motion-safe:transition-all flex flex-col px-2 items-center absolute w-full": true,
1127
+ "top-full mt-2": menu.value,
1128
+ "opacity-0 top-0 scale-95 pointer-events-none": !menu.value
1129
+ }
1130
+ }, null, /* @__PURE__ */ qwik._jsxQ("div", null, {
1131
+ class: {
1132
+ "flex flex-col gap-2 motion-safe:transition-all max-w-7xl w-full px-2 py-4 bg-gray-800/50 border border-gray-700/50 rounded-lg": true,
1133
+ 'before:absolute before:content-[""] before:w-full before:h-full before:backdrop-blur-lg before:drop-shadow-xl before:-z-10': true
1162
1134
  }
1163
- }, 3, "8r_1"), 1, null),
1164
- /* @__PURE__ */ qwik._jsxQ("div", null, {
1165
- class: "flex items-center flex-1 gap-2 py-2 justify-center"
1166
1135
  }, /* @__PURE__ */ qwik._jsxC(qwik.Slot, {
1167
- name: "center",
1136
+ name: "mobile",
1168
1137
  [qwik._IMMUTABLE]: {
1169
1138
  name: qwik._IMMUTABLE
1170
1139
  }
1171
- }, 3, "8r_2"), 1, null),
1172
- /* @__PURE__ */ qwik._jsxQ("div", null, {
1173
- class: "flex items-center flex-1 gap-2 py-2 justify-end"
1174
- }, [
1175
- /* @__PURE__ */ qwik._jsxC(qwik.Slot, {
1176
- name: "end",
1140
+ }, 3, "8r_0"), 1, null), 1, null),
1141
+ /* @__PURE__ */ qwik._jsxQ("div", {
1142
+ class: {
1143
+ "bg-gray-800/50 border-b border-gray-700/50": !props.floating,
1144
+ 'before:absolute before:content-[""] before:w-full before:h-full before:backdrop-blur-lg before:drop-shadow-xl before:-z-10': !props.floating,
1145
+ "relative mt-2 mx-2": props.floating
1146
+ }
1147
+ }, null, /* @__PURE__ */ qwik._jsxQ("div", {
1148
+ class: {
1149
+ "flex justify-evenly w-full mx-auto px-2 max-w-7xl": true,
1150
+ "bg-gray-800/50 border border-gray-700/50 rounded-lg": props.floating,
1151
+ 'before:absolute before:content-[""] before:w-full before:max-w-7xl before:h-full before:rounded-lg before:backdrop-blur-lg before:drop-shadow-xl before:-z-10': props.floating
1152
+ }
1153
+ }, null, [
1154
+ /* @__PURE__ */ qwik._jsxQ("div", null, {
1155
+ class: "flex items-center flex-1 gap-2 py-2 justify-start"
1156
+ }, /* @__PURE__ */ qwik._jsxC(qwik.Slot, {
1157
+ name: "start",
1177
1158
  [qwik._IMMUTABLE]: {
1178
1159
  name: qwik._IMMUTABLE
1179
1160
  }
1180
- }, 3, "8r_3"),
1181
- /* @__PURE__ */ qwik._jsxC(Button, {
1182
- children: /* @__PURE__ */ qwik._jsxQ("svg", null, {
1183
- class: "w-6 h-6",
1184
- fill: "none",
1185
- stroke: "currentColor",
1186
- viewBox: "0 0 24 24",
1187
- xmlns: "http://www.w3.org/2000/svg"
1188
- }, /* @__PURE__ */ qwik._jsxQ("path", null, {
1189
- d: "M4 6h16M4 12h16m-7 6h7",
1190
- "stroke-linecap": "round",
1191
- "stroke-linejoin": "round",
1192
- "stroke-width": "2"
1193
- }, null, 3, null), 3, null),
1194
- class: {
1195
- "sm:hidden": true
1196
- },
1197
- color: "transparent",
1198
- onClick$: /* @__PURE__ */ qwik.inlinedQrl(() => {
1199
- const [menu2] = qwik.useLexicalScope();
1200
- return menu2.value = !menu2.value;
1201
- }, "Nav_component_nav_div_div_div_Button_onClick_J0TKJTxh4N4", [
1202
- menu
1203
- ]),
1204
- square: true,
1161
+ }, 3, "8r_1"), 1, null),
1162
+ /* @__PURE__ */ qwik._jsxQ("div", null, {
1163
+ class: "flex items-center flex-1 gap-2 py-2 justify-center"
1164
+ }, /* @__PURE__ */ qwik._jsxC(qwik.Slot, {
1165
+ name: "center",
1205
1166
  [qwik._IMMUTABLE]: {
1206
- class: qwik._IMMUTABLE,
1207
- color: qwik._IMMUTABLE,
1208
- onClick$: qwik._IMMUTABLE,
1209
- square: qwik._IMMUTABLE
1167
+ name: qwik._IMMUTABLE
1210
1168
  }
1211
- }, 3, "8r_4")
1212
- ], 1, null)
1213
- ], 1, null), 1, null)
1214
- ], 1, "8r_5");
1169
+ }, 3, "8r_2"), 1, null),
1170
+ /* @__PURE__ */ qwik._jsxQ("div", null, {
1171
+ class: "flex items-center flex-1 gap-2 py-2 justify-end"
1172
+ }, [
1173
+ /* @__PURE__ */ qwik._jsxC(qwik.Slot, {
1174
+ name: "end",
1175
+ [qwik._IMMUTABLE]: {
1176
+ name: qwik._IMMUTABLE
1177
+ }
1178
+ }, 3, "8r_3"),
1179
+ /* @__PURE__ */ qwik._jsxC(Button, {
1180
+ children: /* @__PURE__ */ qwik._jsxQ("svg", null, {
1181
+ class: "w-6 h-6",
1182
+ fill: "none",
1183
+ stroke: "currentColor",
1184
+ viewBox: "0 0 24 24",
1185
+ xmlns: "http://www.w3.org/2000/svg"
1186
+ }, /* @__PURE__ */ qwik._jsxQ("path", null, {
1187
+ d: "M4 6h16M4 12h16m-7 6h7",
1188
+ "stroke-linecap": "round",
1189
+ "stroke-linejoin": "round",
1190
+ "stroke-width": "2"
1191
+ }, null, 3, null), 3, null),
1192
+ class: {
1193
+ "sm:hidden": true
1194
+ },
1195
+ color: "transparent",
1196
+ onClick$: /* @__PURE__ */ qwik.inlinedQrl(() => {
1197
+ const [menu2] = qwik.useLexicalScope();
1198
+ return menu2.value = !menu2.value;
1199
+ }, "Nav_component_nav_div_div_div_Button_onClick_J0TKJTxh4N4", [
1200
+ menu
1201
+ ]),
1202
+ square: true,
1203
+ [qwik._IMMUTABLE]: {
1204
+ class: qwik._IMMUTABLE,
1205
+ color: qwik._IMMUTABLE,
1206
+ onClick$: qwik._IMMUTABLE,
1207
+ square: qwik._IMMUTABLE
1208
+ }
1209
+ }, 3, "8r_4")
1210
+ ], 1, null)
1211
+ ], 1, null), 1, null)
1212
+ ],
1213
+ class: {
1214
+ "motion-safe:transition-all duration-200 flex flex-col top-0 left-0 w-full z-50": true,
1215
+ "fixed": props.fixed,
1216
+ "absolute": !props.fixed,
1217
+ ...props1.class
1218
+ }
1219
+ }, null, 0, "8r_5");
1215
1220
  }, "Nav_component_ZePSmw9628k"));
1216
1221
  const Plus = /* @__PURE__ */ qwik.componentQrl(/* @__PURE__ */ qwik.inlinedQrl((props) => {
1217
1222
  return /* @__PURE__ */ qwik._jsxS("svg", {
@@ -543,7 +543,7 @@ const ColorInput = /* @__PURE__ */ componentQrl(/* @__PURE__ */ inlinedQrl((prop
543
543
  get class() {
544
544
  return {
545
545
  "motion-safe:transition-all absolute top-full mt-2 left-0 gap-1 z-[1000]": true,
546
- "opacity-0 pointer-events-none scale-95": !store.opened
546
+ "opacity-0 scale-95 pointer-events-none": !store.opened
547
547
  };
548
548
  },
549
549
  onInput$: /* @__PURE__ */ inlinedQrl((color) => {
@@ -576,10 +576,10 @@ const ColorInput = /* @__PURE__ */ componentQrl(/* @__PURE__ */ inlinedQrl((prop
576
576
  [_IMMUTABLE]: {
577
577
  class: _fnSignal((p0) => ({
578
578
  "motion-safe:transition-all absolute top-full mt-2 left-0 gap-1 z-[1000]": true,
579
- "opacity-0 pointer-events-none scale-95": !p0.opened
579
+ "opacity-0 scale-95 pointer-events-none": !p0.opened
580
580
  }), [
581
581
  store
582
- ], '{"motion-safe:transition-all absolute top-full mt-2 left-0 gap-1 z-[1000]":true,"opacity-0 pointer-events-none scale-95":!p0.opened}'),
582
+ ], '{"motion-safe:transition-all absolute top-full mt-2 left-0 gap-1 z-[1000]":true,"opacity-0 scale-95 pointer-events-none":!p0.opened}'),
583
583
  color: _fnSignal((p0) => p0.value ?? "#000000", [
584
584
  props
585
585
  ], 'p0.value??"#000000"'),
@@ -980,7 +980,7 @@ const DropdownRaw = /* @__PURE__ */ componentQrl(/* @__PURE__ */ inlinedQrl((pro
980
980
  /* @__PURE__ */ _jsxQ("div", {
981
981
  class: {
982
982
  "absolute top-full pt-2 left-0 z-[1000] ": true,
983
- "pointer-events-none opacity-0 scale-95": !store.opened,
983
+ "opacity-0 scale-95 pointer-events-none": !store.opened,
984
984
  "group-hover:pointer-events-auto group-hover:opacity-100 group-hover:scale-100": props.hover
985
985
  }
986
986
  }, null, /* @__PURE__ */ _jsxQ("div", null, {
@@ -1111,105 +1111,110 @@ const Header = /* @__PURE__ */ componentQrl(/* @__PURE__ */ inlinedQrl((props) =
1111
1111
  return Component;
1112
1112
  }, "Header_component_FfGOhhBNG5k"));
1113
1113
  const Nav = /* @__PURE__ */ componentQrl(/* @__PURE__ */ inlinedQrl((props) => {
1114
+ const props1 = _restProps(props, [
1115
+ "fixed",
1116
+ "floating"
1117
+ ]);
1114
1118
  const menu = useSignal(false);
1115
- return /* @__PURE__ */ _jsxQ("nav", null, {
1116
- class: _fnSignal((p0) => ({
1117
- "motion-safe:transition-all duration-200 flex flex-col top-0 left-0 w-full z-50": true,
1118
- "fixed": p0.fixed,
1119
- "absolute": !p0.fixed
1120
- }), [
1121
- props
1122
- ], '{"motion-safe:transition-all duration-200 flex flex-col top-0 left-0 w-full z-50":true,"fixed":p0.fixed,"absolute":!p0.fixed}')
1123
- }, [
1124
- /* @__PURE__ */ _jsxQ("div", {
1125
- class: {
1126
- "sm:hidden motion-safe:transition-all flex flex-col px-2 items-center absolute w-full": true,
1127
- "top-full mt-2": menu.value,
1128
- "opacity-0 top-0 scale-95": !menu.value
1129
- }
1130
- }, null, /* @__PURE__ */ _jsxQ("div", null, {
1131
- class: {
1132
- "flex flex-col gap-2 motion-safe:transition-all max-w-7xl w-full p-2 bg-gray-800/50 border border-gray-700/50 rounded-lg": true,
1133
- 'before:absolute before:content-[""] before:w-full before:h-full before:backdrop-blur-lg before:drop-shadow-xl before:-z-10': true
1134
- }
1135
- }, /* @__PURE__ */ _jsxC(Slot, {
1136
- name: "mobile",
1137
- [_IMMUTABLE]: {
1138
- name: _IMMUTABLE
1139
- }
1140
- }, 3, "8r_0"), 1, null), 1, null),
1141
- /* @__PURE__ */ _jsxQ("div", {
1142
- class: {
1143
- "bg-gray-800/50 border-b border-gray-700/50": !props.floating,
1144
- 'before:absolute before:content-[""] before:w-full before:h-full before:backdrop-blur-lg before:drop-shadow-xl before:-z-10': !props.floating,
1145
- "relative mt-2 mx-2": props.floating
1146
- }
1147
- }, null, /* @__PURE__ */ _jsxQ("div", {
1148
- class: {
1149
- "flex justify-evenly w-full mx-auto px-2 max-w-7xl": true,
1150
- "bg-gray-800/50 border border-gray-700/50 rounded-lg": props.floating,
1151
- 'before:absolute before:content-[""] before:w-full before:max-w-7xl before:h-full before:rounded-lg before:backdrop-blur-lg before:drop-shadow-xl before:-z-10': props.floating
1152
- }
1153
- }, null, [
1154
- /* @__PURE__ */ _jsxQ("div", null, {
1155
- class: "flex items-center flex-1 gap-2 py-2 justify-start"
1156
- }, /* @__PURE__ */ _jsxC(Slot, {
1157
- name: "start",
1158
- [_IMMUTABLE]: {
1159
- name: _IMMUTABLE
1119
+ return /* @__PURE__ */ _jsxS("nav", {
1120
+ ...props1,
1121
+ children: [
1122
+ /* @__PURE__ */ _jsxQ("div", {
1123
+ class: {
1124
+ "sm:hidden motion-safe:transition-all flex flex-col px-2 items-center absolute w-full": true,
1125
+ "top-full mt-2": menu.value,
1126
+ "opacity-0 top-0 scale-95 pointer-events-none": !menu.value
1127
+ }
1128
+ }, null, /* @__PURE__ */ _jsxQ("div", null, {
1129
+ class: {
1130
+ "flex flex-col gap-2 motion-safe:transition-all max-w-7xl w-full px-2 py-4 bg-gray-800/50 border border-gray-700/50 rounded-lg": true,
1131
+ 'before:absolute before:content-[""] before:w-full before:h-full before:backdrop-blur-lg before:drop-shadow-xl before:-z-10': true
1160
1132
  }
1161
- }, 3, "8r_1"), 1, null),
1162
- /* @__PURE__ */ _jsxQ("div", null, {
1163
- class: "flex items-center flex-1 gap-2 py-2 justify-center"
1164
1133
  }, /* @__PURE__ */ _jsxC(Slot, {
1165
- name: "center",
1134
+ name: "mobile",
1166
1135
  [_IMMUTABLE]: {
1167
1136
  name: _IMMUTABLE
1168
1137
  }
1169
- }, 3, "8r_2"), 1, null),
1170
- /* @__PURE__ */ _jsxQ("div", null, {
1171
- class: "flex items-center flex-1 gap-2 py-2 justify-end"
1172
- }, [
1173
- /* @__PURE__ */ _jsxC(Slot, {
1174
- name: "end",
1138
+ }, 3, "8r_0"), 1, null), 1, null),
1139
+ /* @__PURE__ */ _jsxQ("div", {
1140
+ class: {
1141
+ "bg-gray-800/50 border-b border-gray-700/50": !props.floating,
1142
+ 'before:absolute before:content-[""] before:w-full before:h-full before:backdrop-blur-lg before:drop-shadow-xl before:-z-10': !props.floating,
1143
+ "relative mt-2 mx-2": props.floating
1144
+ }
1145
+ }, null, /* @__PURE__ */ _jsxQ("div", {
1146
+ class: {
1147
+ "flex justify-evenly w-full mx-auto px-2 max-w-7xl": true,
1148
+ "bg-gray-800/50 border border-gray-700/50 rounded-lg": props.floating,
1149
+ 'before:absolute before:content-[""] before:w-full before:max-w-7xl before:h-full before:rounded-lg before:backdrop-blur-lg before:drop-shadow-xl before:-z-10': props.floating
1150
+ }
1151
+ }, null, [
1152
+ /* @__PURE__ */ _jsxQ("div", null, {
1153
+ class: "flex items-center flex-1 gap-2 py-2 justify-start"
1154
+ }, /* @__PURE__ */ _jsxC(Slot, {
1155
+ name: "start",
1175
1156
  [_IMMUTABLE]: {
1176
1157
  name: _IMMUTABLE
1177
1158
  }
1178
- }, 3, "8r_3"),
1179
- /* @__PURE__ */ _jsxC(Button, {
1180
- children: /* @__PURE__ */ _jsxQ("svg", null, {
1181
- class: "w-6 h-6",
1182
- fill: "none",
1183
- stroke: "currentColor",
1184
- viewBox: "0 0 24 24",
1185
- xmlns: "http://www.w3.org/2000/svg"
1186
- }, /* @__PURE__ */ _jsxQ("path", null, {
1187
- d: "M4 6h16M4 12h16m-7 6h7",
1188
- "stroke-linecap": "round",
1189
- "stroke-linejoin": "round",
1190
- "stroke-width": "2"
1191
- }, null, 3, null), 3, null),
1192
- class: {
1193
- "sm:hidden": true
1194
- },
1195
- color: "transparent",
1196
- onClick$: /* @__PURE__ */ inlinedQrl(() => {
1197
- const [menu2] = useLexicalScope();
1198
- return menu2.value = !menu2.value;
1199
- }, "Nav_component_nav_div_div_div_Button_onClick_J0TKJTxh4N4", [
1200
- menu
1201
- ]),
1202
- square: true,
1159
+ }, 3, "8r_1"), 1, null),
1160
+ /* @__PURE__ */ _jsxQ("div", null, {
1161
+ class: "flex items-center flex-1 gap-2 py-2 justify-center"
1162
+ }, /* @__PURE__ */ _jsxC(Slot, {
1163
+ name: "center",
1203
1164
  [_IMMUTABLE]: {
1204
- class: _IMMUTABLE,
1205
- color: _IMMUTABLE,
1206
- onClick$: _IMMUTABLE,
1207
- square: _IMMUTABLE
1165
+ name: _IMMUTABLE
1208
1166
  }
1209
- }, 3, "8r_4")
1210
- ], 1, null)
1211
- ], 1, null), 1, null)
1212
- ], 1, "8r_5");
1167
+ }, 3, "8r_2"), 1, null),
1168
+ /* @__PURE__ */ _jsxQ("div", null, {
1169
+ class: "flex items-center flex-1 gap-2 py-2 justify-end"
1170
+ }, [
1171
+ /* @__PURE__ */ _jsxC(Slot, {
1172
+ name: "end",
1173
+ [_IMMUTABLE]: {
1174
+ name: _IMMUTABLE
1175
+ }
1176
+ }, 3, "8r_3"),
1177
+ /* @__PURE__ */ _jsxC(Button, {
1178
+ children: /* @__PURE__ */ _jsxQ("svg", null, {
1179
+ class: "w-6 h-6",
1180
+ fill: "none",
1181
+ stroke: "currentColor",
1182
+ viewBox: "0 0 24 24",
1183
+ xmlns: "http://www.w3.org/2000/svg"
1184
+ }, /* @__PURE__ */ _jsxQ("path", null, {
1185
+ d: "M4 6h16M4 12h16m-7 6h7",
1186
+ "stroke-linecap": "round",
1187
+ "stroke-linejoin": "round",
1188
+ "stroke-width": "2"
1189
+ }, null, 3, null), 3, null),
1190
+ class: {
1191
+ "sm:hidden": true
1192
+ },
1193
+ color: "transparent",
1194
+ onClick$: /* @__PURE__ */ inlinedQrl(() => {
1195
+ const [menu2] = useLexicalScope();
1196
+ return menu2.value = !menu2.value;
1197
+ }, "Nav_component_nav_div_div_div_Button_onClick_J0TKJTxh4N4", [
1198
+ menu
1199
+ ]),
1200
+ square: true,
1201
+ [_IMMUTABLE]: {
1202
+ class: _IMMUTABLE,
1203
+ color: _IMMUTABLE,
1204
+ onClick$: _IMMUTABLE,
1205
+ square: _IMMUTABLE
1206
+ }
1207
+ }, 3, "8r_4")
1208
+ ], 1, null)
1209
+ ], 1, null), 1, null)
1210
+ ],
1211
+ class: {
1212
+ "motion-safe:transition-all duration-200 flex flex-col top-0 left-0 w-full z-50": true,
1213
+ "fixed": props.fixed,
1214
+ "absolute": !props.fixed,
1215
+ ...props1.class
1216
+ }
1217
+ }, null, 0, "8r_5");
1213
1218
  }, "Nav_component_ZePSmw9628k"));
1214
1219
  const Plus = /* @__PURE__ */ componentQrl(/* @__PURE__ */ inlinedQrl((props) => {
1215
1220
  return /* @__PURE__ */ _jsxS("svg", {
@@ -1,4 +1,8 @@
1
- interface NavContainerProps {
1
+ import type { PropsOf } from '@builder.io/qwik';
2
+ interface NavContainerProps extends Omit<PropsOf<'nav'>, 'class'> {
3
+ class?: {
4
+ [key: string]: boolean;
5
+ };
2
6
  fixed?: boolean;
3
7
  floating?: boolean;
4
8
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@luminescent/ui",
3
- "version": "0.12.5",
3
+ "version": "0.12.7",
4
4
  "description": "Luminescent UI library",
5
5
  "main": "./lib/index.qwik.mjs",
6
6
  "qwik": "./lib/index.qwik.mjs",