@luminescent/ui 0.12.4 → 0.12.6

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.
@@ -310,7 +310,7 @@ const Card = /* @__PURE__ */ qwik.componentQrl(/* @__PURE__ */ qwik.inlinedQrl((
310
310
  }, 3, "OW_2")
311
311
  ],
312
312
  class: {
313
- "relative flex gap-4 p-8 border rounded-lg motion-safe:transition-all": true,
313
+ "relative flex gap-4 p-7 border rounded-lg motion-safe:transition-all": true,
314
314
  "flex-col": !props.row,
315
315
  [cardColorClasses[props.color ?? "darkgray"].card.bg]: !props.blobs,
316
316
  [cardColorClasses[props.color ?? "darkgray"].card.bg_blobs]: props.blobs,
@@ -1054,10 +1054,18 @@ const LoadingIcon = /* @__PURE__ */ qwik.componentQrl(/* @__PURE__ */ qwik.inlin
1054
1054
  }, "LoadingIcon_component_QMsA9D0RcAM"));
1055
1055
  const Header = /* @__PURE__ */ qwik.componentQrl(/* @__PURE__ */ qwik.inlinedQrl((props) => {
1056
1056
  qwik._jsxBranch();
1057
+ const props1 = qwik._restProps(props, [
1058
+ "id",
1059
+ "loading",
1060
+ "subheader"
1061
+ ]);
1057
1062
  let Component = /* @__PURE__ */ qwik._jsxC(jsxRuntime.Fragment, {
1058
- children: /* @__PURE__ */ qwik._jsxQ("h2", null, {
1059
- class: "flex gap-2 flex-1 items-center font-bold text-2xl whitespace-nowrap"
1060
- }, [
1063
+ children: /* @__PURE__ */ qwik._jsxQ("h2", {
1064
+ class: {
1065
+ "flex gap-2 flex-1 items-center font-bold text-2xl whitespace-nowrap text-white": true,
1066
+ ...props1.class
1067
+ }
1068
+ }, null, [
1061
1069
  /* @__PURE__ */ qwik._jsxC(qwik.Slot, null, 3, "dL_0"),
1062
1070
  props.id && /* @__PURE__ */ qwik._jsxC(Anchor, {
1063
1071
  get id() {
@@ -1105,105 +1113,110 @@ const Header = /* @__PURE__ */ qwik.componentQrl(/* @__PURE__ */ qwik.inlinedQrl
1105
1113
  return Component;
1106
1114
  }, "Header_component_FfGOhhBNG5k"));
1107
1115
  const Nav = /* @__PURE__ */ qwik.componentQrl(/* @__PURE__ */ qwik.inlinedQrl((props) => {
1116
+ const props1 = qwik._restProps(props, [
1117
+ "fixed",
1118
+ "floating"
1119
+ ]);
1108
1120
  const menu = qwik.useSignal(false);
1109
- return /* @__PURE__ */ qwik._jsxQ("nav", null, {
1110
- class: qwik._fnSignal((p0) => ({
1111
- "motion-safe:transition-all duration-200 flex flex-col top-0 left-0 w-full z-50": true,
1112
- "fixed": p0.fixed,
1113
- "absolute": !p0.fixed
1114
- }), [
1115
- props
1116
- ], '{"motion-safe:transition-all duration-200 flex flex-col top-0 left-0 w-full z-50":true,"fixed":p0.fixed,"absolute":!p0.fixed}')
1117
- }, [
1118
- /* @__PURE__ */ qwik._jsxQ("div", {
1119
- class: {
1120
- "sm:hidden motion-safe:transition-all flex flex-col px-2 items-center absolute w-full": true,
1121
- "top-full mt-2": menu.value,
1122
- "opacity-0 top-0 scale-95": !menu.value
1123
- }
1124
- }, null, /* @__PURE__ */ qwik._jsxQ("div", null, {
1125
- class: {
1126
- "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,
1127
- 'before:absolute before:content-[""] before:w-full before:h-full before:backdrop-blur-lg before:drop-shadow-xl before:-z-10': true
1128
- }
1129
- }, /* @__PURE__ */ qwik._jsxC(qwik.Slot, {
1130
- name: "mobile",
1131
- [qwik._IMMUTABLE]: {
1132
- name: qwik._IMMUTABLE
1133
- }
1134
- }, 3, "8r_0"), 1, null), 1, null),
1135
- /* @__PURE__ */ qwik._jsxQ("div", {
1136
- class: {
1137
- "bg-gray-800/50 border-b border-gray-700/50": !props.floating,
1138
- 'before:absolute before:content-[""] before:w-full before:h-full before:backdrop-blur-lg before:drop-shadow-xl before:-z-10': !props.floating,
1139
- "relative mt-2 mx-2": props.floating
1140
- }
1141
- }, null, /* @__PURE__ */ qwik._jsxQ("div", {
1142
- class: {
1143
- "flex justify-evenly w-full mx-auto px-2 max-w-7xl": true,
1144
- "bg-gray-800/50 border border-gray-700/50 rounded-lg": props.floating,
1145
- '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
1146
- }
1147
- }, null, [
1148
- /* @__PURE__ */ qwik._jsxQ("div", null, {
1149
- class: "flex items-center flex-1 gap-2 py-2 justify-start"
1150
- }, /* @__PURE__ */ qwik._jsxC(qwik.Slot, {
1151
- name: "start",
1152
- [qwik._IMMUTABLE]: {
1153
- 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": !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 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
1154
1134
  }
1155
- }, 3, "8r_1"), 1, null),
1156
- /* @__PURE__ */ qwik._jsxQ("div", null, {
1157
- class: "flex items-center flex-1 gap-2 py-2 justify-center"
1158
1135
  }, /* @__PURE__ */ qwik._jsxC(qwik.Slot, {
1159
- name: "center",
1136
+ name: "mobile",
1160
1137
  [qwik._IMMUTABLE]: {
1161
1138
  name: qwik._IMMUTABLE
1162
1139
  }
1163
- }, 3, "8r_2"), 1, null),
1164
- /* @__PURE__ */ qwik._jsxQ("div", null, {
1165
- class: "flex items-center flex-1 gap-2 py-2 justify-end"
1166
- }, [
1167
- /* @__PURE__ */ qwik._jsxC(qwik.Slot, {
1168
- 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",
1169
1158
  [qwik._IMMUTABLE]: {
1170
1159
  name: qwik._IMMUTABLE
1171
1160
  }
1172
- }, 3, "8r_3"),
1173
- /* @__PURE__ */ qwik._jsxC(Button, {
1174
- children: /* @__PURE__ */ qwik._jsxQ("svg", null, {
1175
- class: "w-6 h-6",
1176
- fill: "none",
1177
- stroke: "currentColor",
1178
- viewBox: "0 0 24 24",
1179
- xmlns: "http://www.w3.org/2000/svg"
1180
- }, /* @__PURE__ */ qwik._jsxQ("path", null, {
1181
- d: "M4 6h16M4 12h16m-7 6h7",
1182
- "stroke-linecap": "round",
1183
- "stroke-linejoin": "round",
1184
- "stroke-width": "2"
1185
- }, null, 3, null), 3, null),
1186
- class: {
1187
- "sm:hidden": true
1188
- },
1189
- color: "transparent",
1190
- onClick$: /* @__PURE__ */ qwik.inlinedQrl(() => {
1191
- const [menu2] = qwik.useLexicalScope();
1192
- return menu2.value = !menu2.value;
1193
- }, "Nav_component_nav_div_div_div_Button_onClick_J0TKJTxh4N4", [
1194
- menu
1195
- ]),
1196
- 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",
1197
1166
  [qwik._IMMUTABLE]: {
1198
- class: qwik._IMMUTABLE,
1199
- color: qwik._IMMUTABLE,
1200
- onClick$: qwik._IMMUTABLE,
1201
- square: qwik._IMMUTABLE
1167
+ name: qwik._IMMUTABLE
1202
1168
  }
1203
- }, 3, "8r_4")
1204
- ], 1, null)
1205
- ], 1, null), 1, null)
1206
- ], 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");
1207
1220
  }, "Nav_component_ZePSmw9628k"));
1208
1221
  const Plus = /* @__PURE__ */ qwik.componentQrl(/* @__PURE__ */ qwik.inlinedQrl((props) => {
1209
1222
  return /* @__PURE__ */ qwik._jsxS("svg", {
@@ -308,7 +308,7 @@ const Card = /* @__PURE__ */ componentQrl(/* @__PURE__ */ inlinedQrl((props) =>
308
308
  }, 3, "OW_2")
309
309
  ],
310
310
  class: {
311
- "relative flex gap-4 p-8 border rounded-lg motion-safe:transition-all": true,
311
+ "relative flex gap-4 p-7 border rounded-lg motion-safe:transition-all": true,
312
312
  "flex-col": !props.row,
313
313
  [cardColorClasses[props.color ?? "darkgray"].card.bg]: !props.blobs,
314
314
  [cardColorClasses[props.color ?? "darkgray"].card.bg_blobs]: props.blobs,
@@ -1052,10 +1052,18 @@ const LoadingIcon = /* @__PURE__ */ componentQrl(/* @__PURE__ */ inlinedQrl((pro
1052
1052
  }, "LoadingIcon_component_QMsA9D0RcAM"));
1053
1053
  const Header = /* @__PURE__ */ componentQrl(/* @__PURE__ */ inlinedQrl((props) => {
1054
1054
  _jsxBranch();
1055
+ const props1 = _restProps(props, [
1056
+ "id",
1057
+ "loading",
1058
+ "subheader"
1059
+ ]);
1055
1060
  let Component = /* @__PURE__ */ _jsxC(Fragment, {
1056
- children: /* @__PURE__ */ _jsxQ("h2", null, {
1057
- class: "flex gap-2 flex-1 items-center font-bold text-2xl whitespace-nowrap"
1058
- }, [
1061
+ children: /* @__PURE__ */ _jsxQ("h2", {
1062
+ class: {
1063
+ "flex gap-2 flex-1 items-center font-bold text-2xl whitespace-nowrap text-white": true,
1064
+ ...props1.class
1065
+ }
1066
+ }, null, [
1059
1067
  /* @__PURE__ */ _jsxC(Slot, null, 3, "dL_0"),
1060
1068
  props.id && /* @__PURE__ */ _jsxC(Anchor, {
1061
1069
  get id() {
@@ -1103,105 +1111,110 @@ const Header = /* @__PURE__ */ componentQrl(/* @__PURE__ */ inlinedQrl((props) =
1103
1111
  return Component;
1104
1112
  }, "Header_component_FfGOhhBNG5k"));
1105
1113
  const Nav = /* @__PURE__ */ componentQrl(/* @__PURE__ */ inlinedQrl((props) => {
1114
+ const props1 = _restProps(props, [
1115
+ "fixed",
1116
+ "floating"
1117
+ ]);
1106
1118
  const menu = useSignal(false);
1107
- return /* @__PURE__ */ _jsxQ("nav", null, {
1108
- class: _fnSignal((p0) => ({
1109
- "motion-safe:transition-all duration-200 flex flex-col top-0 left-0 w-full z-50": true,
1110
- "fixed": p0.fixed,
1111
- "absolute": !p0.fixed
1112
- }), [
1113
- props
1114
- ], '{"motion-safe:transition-all duration-200 flex flex-col top-0 left-0 w-full z-50":true,"fixed":p0.fixed,"absolute":!p0.fixed}')
1115
- }, [
1116
- /* @__PURE__ */ _jsxQ("div", {
1117
- class: {
1118
- "sm:hidden motion-safe:transition-all flex flex-col px-2 items-center absolute w-full": true,
1119
- "top-full mt-2": menu.value,
1120
- "opacity-0 top-0 scale-95": !menu.value
1121
- }
1122
- }, null, /* @__PURE__ */ _jsxQ("div", null, {
1123
- class: {
1124
- "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,
1125
- 'before:absolute before:content-[""] before:w-full before:h-full before:backdrop-blur-lg before:drop-shadow-xl before:-z-10': true
1126
- }
1127
- }, /* @__PURE__ */ _jsxC(Slot, {
1128
- name: "mobile",
1129
- [_IMMUTABLE]: {
1130
- name: _IMMUTABLE
1131
- }
1132
- }, 3, "8r_0"), 1, null), 1, null),
1133
- /* @__PURE__ */ _jsxQ("div", {
1134
- class: {
1135
- "bg-gray-800/50 border-b border-gray-700/50": !props.floating,
1136
- 'before:absolute before:content-[""] before:w-full before:h-full before:backdrop-blur-lg before:drop-shadow-xl before:-z-10': !props.floating,
1137
- "relative mt-2 mx-2": props.floating
1138
- }
1139
- }, null, /* @__PURE__ */ _jsxQ("div", {
1140
- class: {
1141
- "flex justify-evenly w-full mx-auto px-2 max-w-7xl": true,
1142
- "bg-gray-800/50 border border-gray-700/50 rounded-lg": props.floating,
1143
- '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
1144
- }
1145
- }, null, [
1146
- /* @__PURE__ */ _jsxQ("div", null, {
1147
- class: "flex items-center flex-1 gap-2 py-2 justify-start"
1148
- }, /* @__PURE__ */ _jsxC(Slot, {
1149
- name: "start",
1150
- [_IMMUTABLE]: {
1151
- 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": !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 p-2 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
1152
1132
  }
1153
- }, 3, "8r_1"), 1, null),
1154
- /* @__PURE__ */ _jsxQ("div", null, {
1155
- class: "flex items-center flex-1 gap-2 py-2 justify-center"
1156
1133
  }, /* @__PURE__ */ _jsxC(Slot, {
1157
- name: "center",
1134
+ name: "mobile",
1158
1135
  [_IMMUTABLE]: {
1159
1136
  name: _IMMUTABLE
1160
1137
  }
1161
- }, 3, "8r_2"), 1, null),
1162
- /* @__PURE__ */ _jsxQ("div", null, {
1163
- class: "flex items-center flex-1 gap-2 py-2 justify-end"
1164
- }, [
1165
- /* @__PURE__ */ _jsxC(Slot, {
1166
- 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",
1167
1156
  [_IMMUTABLE]: {
1168
1157
  name: _IMMUTABLE
1169
1158
  }
1170
- }, 3, "8r_3"),
1171
- /* @__PURE__ */ _jsxC(Button, {
1172
- children: /* @__PURE__ */ _jsxQ("svg", null, {
1173
- class: "w-6 h-6",
1174
- fill: "none",
1175
- stroke: "currentColor",
1176
- viewBox: "0 0 24 24",
1177
- xmlns: "http://www.w3.org/2000/svg"
1178
- }, /* @__PURE__ */ _jsxQ("path", null, {
1179
- d: "M4 6h16M4 12h16m-7 6h7",
1180
- "stroke-linecap": "round",
1181
- "stroke-linejoin": "round",
1182
- "stroke-width": "2"
1183
- }, null, 3, null), 3, null),
1184
- class: {
1185
- "sm:hidden": true
1186
- },
1187
- color: "transparent",
1188
- onClick$: /* @__PURE__ */ inlinedQrl(() => {
1189
- const [menu2] = useLexicalScope();
1190
- return menu2.value = !menu2.value;
1191
- }, "Nav_component_nav_div_div_div_Button_onClick_J0TKJTxh4N4", [
1192
- menu
1193
- ]),
1194
- 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",
1195
1164
  [_IMMUTABLE]: {
1196
- class: _IMMUTABLE,
1197
- color: _IMMUTABLE,
1198
- onClick$: _IMMUTABLE,
1199
- square: _IMMUTABLE
1165
+ name: _IMMUTABLE
1200
1166
  }
1201
- }, 3, "8r_4")
1202
- ], 1, null)
1203
- ], 1, null), 1, null)
1204
- ], 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");
1205
1218
  }, "Nav_component_ZePSmw9628k"));
1206
1219
  const Plus = /* @__PURE__ */ componentQrl(/* @__PURE__ */ inlinedQrl((props) => {
1207
1220
  return /* @__PURE__ */ _jsxS("svg", {
@@ -1,5 +1,8 @@
1
- import type { JSXOutput } from '@builder.io/qwik';
2
- interface HeaderProps {
1
+ import type { JSXOutput, PropsOf } from '@builder.io/qwik';
2
+ interface HeaderProps extends Omit<PropsOf<'h2'>, 'class'> {
3
+ class?: {
4
+ [key: string]: boolean;
5
+ };
3
6
  id?: string;
4
7
  loading?: boolean;
5
8
  subheader?: string | JSXOutput;
@@ -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
  }
@@ -9,9 +9,8 @@ interface SelectInputProps extends Omit<PropsOf<'select'>, 'class' | 'size'> {
9
9
  size?: keyof typeof sizeClasses;
10
10
  id: string;
11
11
  values: {
12
- name: JSXChildren;
12
+ name: string;
13
13
  value: string | number;
14
- color?: keyof typeof buttonColorClasses;
15
14
  }[];
16
15
  }
17
16
  export declare const SelectInput: import("@builder.io/qwik").Component<SelectInputProps>;
@@ -0,0 +1,36 @@
1
+ export declare const clamp: (value: number, min: number, max: number) => number;
2
+ export declare function getMousePosition(e: MouseEvent | TouchEvent): {
3
+ x: number;
4
+ y: number;
5
+ };
6
+ export declare const pad2: (c: string) => string;
7
+ export type RGBAColor = {
8
+ r: number;
9
+ g: number;
10
+ b: number;
11
+ a?: number;
12
+ };
13
+ export type HSVAColor = {
14
+ h: number;
15
+ s: number;
16
+ v: number;
17
+ a?: number;
18
+ };
19
+ export declare function getBrightness(color: RGBAColor): number;
20
+ export declare function hexNumberToRgb(color: number): {
21
+ r: number;
22
+ g: number;
23
+ b: number;
24
+ };
25
+ export declare function rgbToHex(color: RGBAColor): string;
26
+ export declare const hexStringToNumber: (color: string) => number;
27
+ export declare function hsvToRgb(color: HSVAColor): {
28
+ r: number;
29
+ g: number;
30
+ b: number;
31
+ };
32
+ export declare function rgbToHsv(color: RGBAColor): {
33
+ h: number;
34
+ s: number;
35
+ v: number;
36
+ };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@luminescent/ui",
3
- "version": "0.12.4",
3
+ "version": "0.12.6",
4
4
  "description": "Luminescent UI library",
5
5
  "main": "./lib/index.qwik.mjs",
6
6
  "qwik": "./lib/index.qwik.mjs",
@@ -1,2 +0,0 @@
1
- declare const _default: import("@builder.io/qwik").Component<unknown>;
2
- export default _default;