@luminescent/ui 0.2.2 → 0.2.3
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.
package/lib/index.qwik.cjs
CHANGED
|
@@ -222,6 +222,7 @@ const Card = /* @__PURE__ */ qwik.componentQrl(/* @__PURE__ */ qwik.inlinedQrl((
|
|
|
222
222
|
const props1 = qwik._restProps(props, [
|
|
223
223
|
"color",
|
|
224
224
|
"hoverable",
|
|
225
|
+
"href",
|
|
225
226
|
"row",
|
|
226
227
|
"blobs"
|
|
227
228
|
]);
|
|
@@ -234,6 +235,12 @@ const Card = /* @__PURE__ */ qwik.componentQrl(/* @__PURE__ */ qwik.inlinedQrl((
|
|
|
234
235
|
"p-8": true
|
|
235
236
|
}
|
|
236
237
|
}, [
|
|
238
|
+
props.href && /* @__PURE__ */ qwik._jsxQ("a", null, {
|
|
239
|
+
class: "absolute inset-0 z-20",
|
|
240
|
+
href: qwik._fnSignal((p0) => p0.href, [
|
|
241
|
+
props
|
|
242
|
+
], "p0.href")
|
|
243
|
+
}, null, 3, "OW_0"),
|
|
237
244
|
/* @__PURE__ */ qwik._jsxQ("div", null, {
|
|
238
245
|
class: "relative z-10"
|
|
239
246
|
}, /* @__PURE__ */ qwik._jsxQ("div", null, {
|
|
@@ -244,7 +251,7 @@ const Card = /* @__PURE__ */ qwik.componentQrl(/* @__PURE__ */ qwik.inlinedQrl((
|
|
|
244
251
|
}), [
|
|
245
252
|
props
|
|
246
253
|
], '{"flex gap-4":true,"flex-col":!p0.row,"flex-row items-center":p0.row}')
|
|
247
|
-
}, /* @__PURE__ */ qwik._jsxC(qwik.Slot, null, 3, "
|
|
254
|
+
}, /* @__PURE__ */ qwik._jsxC(qwik.Slot, null, 3, "OW_1"), 1, null), 1, null),
|
|
248
255
|
props.blobs && /* @__PURE__ */ qwik._jsxQ("div", null, {
|
|
249
256
|
class: "absolute -z-10 inset-0 w-full h-full transition-all overflow-clip",
|
|
250
257
|
style: {
|
|
@@ -274,7 +281,7 @@ const Card = /* @__PURE__ */ qwik.componentQrl(/* @__PURE__ */ qwik.inlinedQrl((
|
|
|
274
281
|
[cardColorClasses[props.color ?? "darkgray"].blobs[2]]: true
|
|
275
282
|
}
|
|
276
283
|
}, null, null, 3, null)
|
|
277
|
-
], 1, "
|
|
284
|
+
], 1, "OW_2")
|
|
278
285
|
], 1, null),
|
|
279
286
|
class: {
|
|
280
287
|
"flex-1 relative border rounded-lg group transition-all": true,
|
|
@@ -284,7 +291,7 @@ const Card = /* @__PURE__ */ qwik.componentQrl(/* @__PURE__ */ qwik.inlinedQrl((
|
|
|
284
291
|
"hover:shadow-lg cursor-pointer": button,
|
|
285
292
|
...props1.class
|
|
286
293
|
}
|
|
287
|
-
}, null, 0, "
|
|
294
|
+
}, null, 0, "OW_3");
|
|
288
295
|
}, "Card_component_DlkkcTEVka4"));
|
|
289
296
|
const CardHeader = /* @__PURE__ */ qwik.componentQrl(/* @__PURE__ */ qwik.inlinedQrl((props) => {
|
|
290
297
|
qwik._jsxBranch();
|
|
@@ -300,7 +307,7 @@ const CardHeader = /* @__PURE__ */ qwik.componentQrl(/* @__PURE__ */ qwik.inline
|
|
|
300
307
|
props
|
|
301
308
|
], "p0.id")
|
|
302
309
|
}
|
|
303
|
-
}, 3, "
|
|
310
|
+
}, 3, "OW_4"),
|
|
304
311
|
/* @__PURE__ */ qwik._jsxQ("div", null, {
|
|
305
312
|
class: "flex flex-1"
|
|
306
313
|
}, /* @__PURE__ */ qwik._jsxQ("div", null, {
|
|
@@ -308,13 +315,13 @@ const CardHeader = /* @__PURE__ */ qwik.componentQrl(/* @__PURE__ */ qwik.inline
|
|
|
308
315
|
}, [
|
|
309
316
|
/* @__PURE__ */ qwik._jsxQ("div", null, {
|
|
310
317
|
class: "flex items-center gap-3"
|
|
311
|
-
}, /* @__PURE__ */ qwik._jsxC(qwik.Slot, null, 3, "
|
|
318
|
+
}, /* @__PURE__ */ qwik._jsxC(qwik.Slot, null, 3, "OW_5"), 1, null),
|
|
312
319
|
/* @__PURE__ */ qwik._jsxC(qwik.Slot, {
|
|
313
320
|
name: "subheader",
|
|
314
321
|
[qwik._IMMUTABLE]: {
|
|
315
322
|
name: qwik._IMMUTABLE
|
|
316
323
|
}
|
|
317
|
-
}, 3, "
|
|
324
|
+
}, 3, "OW_6")
|
|
318
325
|
], 1, null), 1, null),
|
|
319
326
|
(props.loading ?? false) && /* @__PURE__ */ qwik._jsxQ("div", null, {
|
|
320
327
|
class: qwik._fnSignal((p0) => ({
|
|
@@ -333,8 +340,8 @@ const CardHeader = /* @__PURE__ */ qwik.componentQrl(/* @__PURE__ */ qwik.inline
|
|
|
333
340
|
class: qwik._IMMUTABLE,
|
|
334
341
|
width: qwik._IMMUTABLE
|
|
335
342
|
}
|
|
336
|
-
}, 3, "
|
|
337
|
-
], 1, "
|
|
343
|
+
}, 3, "OW_7"), 1, "OW_8")
|
|
344
|
+
], 1, "OW_9");
|
|
338
345
|
}, "CardHeader_component_2xQZ6Uv7R4A"));
|
|
339
346
|
const TextInput = /* @__PURE__ */ qwik.componentQrl(/* @__PURE__ */ qwik.inlinedQrl((props) => {
|
|
340
347
|
return /* @__PURE__ */ qwik._jsxQ("div", null, {
|
package/lib/index.qwik.mjs
CHANGED
|
@@ -220,6 +220,7 @@ const Card = /* @__PURE__ */ componentQrl(/* @__PURE__ */ inlinedQrl((props) =>
|
|
|
220
220
|
const props1 = _restProps(props, [
|
|
221
221
|
"color",
|
|
222
222
|
"hoverable",
|
|
223
|
+
"href",
|
|
223
224
|
"row",
|
|
224
225
|
"blobs"
|
|
225
226
|
]);
|
|
@@ -232,6 +233,12 @@ const Card = /* @__PURE__ */ componentQrl(/* @__PURE__ */ inlinedQrl((props) =>
|
|
|
232
233
|
"p-8": true
|
|
233
234
|
}
|
|
234
235
|
}, [
|
|
236
|
+
props.href && /* @__PURE__ */ _jsxQ("a", null, {
|
|
237
|
+
class: "absolute inset-0 z-20",
|
|
238
|
+
href: _fnSignal((p0) => p0.href, [
|
|
239
|
+
props
|
|
240
|
+
], "p0.href")
|
|
241
|
+
}, null, 3, "OW_0"),
|
|
235
242
|
/* @__PURE__ */ _jsxQ("div", null, {
|
|
236
243
|
class: "relative z-10"
|
|
237
244
|
}, /* @__PURE__ */ _jsxQ("div", null, {
|
|
@@ -242,7 +249,7 @@ const Card = /* @__PURE__ */ componentQrl(/* @__PURE__ */ inlinedQrl((props) =>
|
|
|
242
249
|
}), [
|
|
243
250
|
props
|
|
244
251
|
], '{"flex gap-4":true,"flex-col":!p0.row,"flex-row items-center":p0.row}')
|
|
245
|
-
}, /* @__PURE__ */ _jsxC(Slot, null, 3, "
|
|
252
|
+
}, /* @__PURE__ */ _jsxC(Slot, null, 3, "OW_1"), 1, null), 1, null),
|
|
246
253
|
props.blobs && /* @__PURE__ */ _jsxQ("div", null, {
|
|
247
254
|
class: "absolute -z-10 inset-0 w-full h-full transition-all overflow-clip",
|
|
248
255
|
style: {
|
|
@@ -272,7 +279,7 @@ const Card = /* @__PURE__ */ componentQrl(/* @__PURE__ */ inlinedQrl((props) =>
|
|
|
272
279
|
[cardColorClasses[props.color ?? "darkgray"].blobs[2]]: true
|
|
273
280
|
}
|
|
274
281
|
}, null, null, 3, null)
|
|
275
|
-
], 1, "
|
|
282
|
+
], 1, "OW_2")
|
|
276
283
|
], 1, null),
|
|
277
284
|
class: {
|
|
278
285
|
"flex-1 relative border rounded-lg group transition-all": true,
|
|
@@ -282,7 +289,7 @@ const Card = /* @__PURE__ */ componentQrl(/* @__PURE__ */ inlinedQrl((props) =>
|
|
|
282
289
|
"hover:shadow-lg cursor-pointer": button,
|
|
283
290
|
...props1.class
|
|
284
291
|
}
|
|
285
|
-
}, null, 0, "
|
|
292
|
+
}, null, 0, "OW_3");
|
|
286
293
|
}, "Card_component_DlkkcTEVka4"));
|
|
287
294
|
const CardHeader = /* @__PURE__ */ componentQrl(/* @__PURE__ */ inlinedQrl((props) => {
|
|
288
295
|
_jsxBranch();
|
|
@@ -298,7 +305,7 @@ const CardHeader = /* @__PURE__ */ componentQrl(/* @__PURE__ */ inlinedQrl((prop
|
|
|
298
305
|
props
|
|
299
306
|
], "p0.id")
|
|
300
307
|
}
|
|
301
|
-
}, 3, "
|
|
308
|
+
}, 3, "OW_4"),
|
|
302
309
|
/* @__PURE__ */ _jsxQ("div", null, {
|
|
303
310
|
class: "flex flex-1"
|
|
304
311
|
}, /* @__PURE__ */ _jsxQ("div", null, {
|
|
@@ -306,13 +313,13 @@ const CardHeader = /* @__PURE__ */ componentQrl(/* @__PURE__ */ inlinedQrl((prop
|
|
|
306
313
|
}, [
|
|
307
314
|
/* @__PURE__ */ _jsxQ("div", null, {
|
|
308
315
|
class: "flex items-center gap-3"
|
|
309
|
-
}, /* @__PURE__ */ _jsxC(Slot, null, 3, "
|
|
316
|
+
}, /* @__PURE__ */ _jsxC(Slot, null, 3, "OW_5"), 1, null),
|
|
310
317
|
/* @__PURE__ */ _jsxC(Slot, {
|
|
311
318
|
name: "subheader",
|
|
312
319
|
[_IMMUTABLE]: {
|
|
313
320
|
name: _IMMUTABLE
|
|
314
321
|
}
|
|
315
|
-
}, 3, "
|
|
322
|
+
}, 3, "OW_6")
|
|
316
323
|
], 1, null), 1, null),
|
|
317
324
|
(props.loading ?? false) && /* @__PURE__ */ _jsxQ("div", null, {
|
|
318
325
|
class: _fnSignal((p0) => ({
|
|
@@ -331,8 +338,8 @@ const CardHeader = /* @__PURE__ */ componentQrl(/* @__PURE__ */ inlinedQrl((prop
|
|
|
331
338
|
class: _IMMUTABLE,
|
|
332
339
|
width: _IMMUTABLE
|
|
333
340
|
}
|
|
334
|
-
}, 3, "
|
|
335
|
-
], 1, "
|
|
341
|
+
}, 3, "OW_7"), 1, "OW_8")
|
|
342
|
+
], 1, "OW_9");
|
|
336
343
|
}, "CardHeader_component_2xQZ6Uv7R4A"));
|
|
337
344
|
const TextInput = /* @__PURE__ */ componentQrl(/* @__PURE__ */ inlinedQrl((props) => {
|
|
338
345
|
return /* @__PURE__ */ _jsxQ("div", null, {
|