@luminescent/ui 0.16.3 → 0.16.4
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")
|
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")
|
|
@@ -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
|
};
|