@luminescent/ui 0.16.3 → 0.16.5
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
|
@@ -525,7 +525,7 @@ const Card = /* @__PURE__ */ qwik.componentQrl(/* @__PURE__ */ qwik.inlinedQrl((
|
|
|
525
525
|
return /* @__PURE__ */ qwik._jsxS("div", {
|
|
526
526
|
...props1,
|
|
527
527
|
class: {
|
|
528
|
-
"relative flex gap-3 sm:gap-4
|
|
528
|
+
"relative flex gap-3 sm:gap-4 px-5 py-6 sm:px-7 sm:py-8 border rounded-lg motion-safe:transition-all": true,
|
|
529
529
|
"flex-col": !props.row,
|
|
530
530
|
[cardColorClasses[props.color ?? "darkgray"].bg]: !props.blobs,
|
|
531
531
|
[cardColorClasses[props.color ?? "darkgray"].bg_blobs]: props.blobs,
|
|
@@ -552,15 +552,15 @@ const Card = /* @__PURE__ */ qwik.componentQrl(/* @__PURE__ */ qwik.inlinedQrl((
|
|
|
552
552
|
}, null, 3, "OW_3"),
|
|
553
553
|
props.blobs && /* @__PURE__ */ qwik._jsxC(Blobs, {
|
|
554
554
|
get color() {
|
|
555
|
-
return props.color ?? "darkgray";
|
|
555
|
+
return props.blobs == true ? props.color ?? "darkgray" : props.blobs;
|
|
556
556
|
},
|
|
557
557
|
class: {
|
|
558
|
-
"overflow-clip": true
|
|
558
|
+
"overflow-clip rounded-lg": true
|
|
559
559
|
},
|
|
560
560
|
[qwik._IMMUTABLE]: {
|
|
561
|
-
color: qwik._fnSignal((p0) => p0.color ?? "darkgray", [
|
|
561
|
+
color: qwik._fnSignal((p0) => p0.blobs == true ? p0.color ?? "darkgray" : p0.blobs, [
|
|
562
562
|
props
|
|
563
|
-
], 'p0.color??"darkgray"'),
|
|
563
|
+
], 'p0.blobs==true?p0.color??"darkgray":p0.blobs'),
|
|
564
564
|
class: qwik._IMMUTABLE
|
|
565
565
|
}
|
|
566
566
|
}, 3, "OW_4")
|
|
@@ -1467,7 +1467,7 @@ const Header = /* @__PURE__ */ qwik.componentQrl(/* @__PURE__ */ qwik.inlinedQrl
|
|
|
1467
1467
|
let Component = /* @__PURE__ */ qwik._jsxC(jsxRuntime.Fragment, {
|
|
1468
1468
|
children: /* @__PURE__ */ qwik._jsxQ("h2", {
|
|
1469
1469
|
class: {
|
|
1470
|
-
"flex gap-2
|
|
1470
|
+
"flex gap-2 group items-center font-bold text-xl sm:text-2xl whitespace-nowrap text-white": true,
|
|
1471
1471
|
...props1.class
|
|
1472
1472
|
}
|
|
1473
1473
|
}, null, [
|
|
@@ -1501,7 +1501,7 @@ const Header = /* @__PURE__ */ qwik.componentQrl(/* @__PURE__ */ qwik.inlinedQrl
|
|
|
1501
1501
|
}, 1, "dL_4");
|
|
1502
1502
|
if (props.subheader)
|
|
1503
1503
|
Component = /* @__PURE__ */ qwik._jsxQ("div", null, {
|
|
1504
|
-
class: "flex flex-
|
|
1504
|
+
class: "flex flex-col gap-1"
|
|
1505
1505
|
}, [
|
|
1506
1506
|
Component,
|
|
1507
1507
|
/* @__PURE__ */ qwik._jsxQ("h3", null, {
|
package/lib/index.qwik.mjs
CHANGED
|
@@ -523,7 +523,7 @@ const Card = /* @__PURE__ */ componentQrl(/* @__PURE__ */ inlinedQrl((props) =>
|
|
|
523
523
|
return /* @__PURE__ */ _jsxS("div", {
|
|
524
524
|
...props1,
|
|
525
525
|
class: {
|
|
526
|
-
"relative flex gap-3 sm:gap-4
|
|
526
|
+
"relative flex gap-3 sm:gap-4 px-5 py-6 sm:px-7 sm:py-8 border rounded-lg motion-safe:transition-all": true,
|
|
527
527
|
"flex-col": !props.row,
|
|
528
528
|
[cardColorClasses[props.color ?? "darkgray"].bg]: !props.blobs,
|
|
529
529
|
[cardColorClasses[props.color ?? "darkgray"].bg_blobs]: props.blobs,
|
|
@@ -550,15 +550,15 @@ const Card = /* @__PURE__ */ componentQrl(/* @__PURE__ */ inlinedQrl((props) =>
|
|
|
550
550
|
}, null, 3, "OW_3"),
|
|
551
551
|
props.blobs && /* @__PURE__ */ _jsxC(Blobs, {
|
|
552
552
|
get color() {
|
|
553
|
-
return props.color ?? "darkgray";
|
|
553
|
+
return props.blobs == true ? props.color ?? "darkgray" : props.blobs;
|
|
554
554
|
},
|
|
555
555
|
class: {
|
|
556
|
-
"overflow-clip": true
|
|
556
|
+
"overflow-clip rounded-lg": true
|
|
557
557
|
},
|
|
558
558
|
[_IMMUTABLE]: {
|
|
559
|
-
color: _fnSignal((p0) => p0.color ?? "darkgray", [
|
|
559
|
+
color: _fnSignal((p0) => p0.blobs == true ? p0.color ?? "darkgray" : p0.blobs, [
|
|
560
560
|
props
|
|
561
|
-
], 'p0.color??"darkgray"'),
|
|
561
|
+
], 'p0.blobs==true?p0.color??"darkgray":p0.blobs'),
|
|
562
562
|
class: _IMMUTABLE
|
|
563
563
|
}
|
|
564
564
|
}, 3, "OW_4")
|
|
@@ -1465,7 +1465,7 @@ const Header = /* @__PURE__ */ componentQrl(/* @__PURE__ */ inlinedQrl((props) =
|
|
|
1465
1465
|
let Component = /* @__PURE__ */ _jsxC(Fragment, {
|
|
1466
1466
|
children: /* @__PURE__ */ _jsxQ("h2", {
|
|
1467
1467
|
class: {
|
|
1468
|
-
"flex gap-2
|
|
1468
|
+
"flex gap-2 group items-center font-bold text-xl sm:text-2xl whitespace-nowrap text-white": true,
|
|
1469
1469
|
...props1.class
|
|
1470
1470
|
}
|
|
1471
1471
|
}, null, [
|
|
@@ -1499,7 +1499,7 @@ const Header = /* @__PURE__ */ componentQrl(/* @__PURE__ */ inlinedQrl((props) =
|
|
|
1499
1499
|
}, 1, "dL_4");
|
|
1500
1500
|
if (props.subheader)
|
|
1501
1501
|
Component = /* @__PURE__ */ _jsxQ("div", null, {
|
|
1502
|
-
class: "flex flex-
|
|
1502
|
+
class: "flex flex-col gap-1"
|
|
1503
1503
|
}, [
|
|
1504
1504
|
Component,
|
|
1505
1505
|
/* @__PURE__ */ _jsxQ("h3", null, {
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import type { PropsOf } from '@builder.io/qwik';
|
|
2
2
|
interface CardProps extends Omit<PropsOf<'div'>, 'class'> {
|
|
3
3
|
color?: keyof typeof cardColorClasses;
|
|
4
|
+
blobs?: boolean | keyof typeof cardColorClasses;
|
|
4
5
|
hover?: boolean | 'clickable' | 'blur';
|
|
5
6
|
href?: string;
|
|
6
7
|
row?: boolean;
|
|
7
|
-
blobs?: boolean;
|
|
8
8
|
class?: {
|
|
9
9
|
[key: string]: boolean;
|
|
10
10
|
};
|