@wonderflow/react-components 2.38.0-next.11 → 2.38.0-next.12
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/card/card.js +1 -1
- package/card/card.module.css +5 -1
- package/package.json +1 -1
- package/themes/dark.css +1 -1
- package/themes/light.css +1 -1
- package/themes.css +3 -3
package/card/card.js
CHANGED
|
@@ -11,6 +11,6 @@ export const Card = forwardRef(({ as: Wrapper = 'div', children, className, padd
|
|
|
11
11
|
return (React.createElement(Wrapper, { ref: forwardedRef, className: clsx(CardClass, className), style: { ...dynamicStyle, ...style }, "data-card-dimmed": dimmed, "data-card-bordered": bordered, "data-card-vibrant": vibrant, "data-card-hoverable": hoverable, ...props },
|
|
12
12
|
React.createElement(Stack, { direction: "row", fill: false, verticalAlign: verticalAlign, horizontalAlign: horizontalAlign, columnGap: columnGap, rowGap: rowGap, wrap: wrap },
|
|
13
13
|
left && React.createElement("div", { className: Left }, left),
|
|
14
|
-
children && (React.createElement(
|
|
14
|
+
children && (React.createElement("div", { className: Content }, children)),
|
|
15
15
|
right && (React.createElement(Stack, { className: Right }, right)))));
|
|
16
16
|
});
|
package/card/card.module.css
CHANGED
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
}
|
|
12
12
|
|
|
13
13
|
&[data-card-dimmed='2'] {
|
|
14
|
-
background: var(--dimmed-
|
|
14
|
+
background: var(--dimmed-1);
|
|
15
15
|
}
|
|
16
16
|
|
|
17
17
|
&[data-card-dimmed='3'] {
|
|
@@ -32,6 +32,10 @@
|
|
|
32
32
|
&[data-card-bordered='true'] {
|
|
33
33
|
border: solid 1px var(--dimmed-1);
|
|
34
34
|
}
|
|
35
|
+
|
|
36
|
+
&[data-card-vibrant='true'][data-card-bordered='true'] {
|
|
37
|
+
border: solid 1px var(--dimmed-2);
|
|
38
|
+
}
|
|
35
39
|
}
|
|
36
40
|
|
|
37
41
|
.Left {
|
package/package.json
CHANGED
package/themes/dark.css
CHANGED
package/themes/light.css
CHANGED
package/themes.css
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
color: var(--global-foreground);
|
|
5
5
|
/**
|
|
6
6
|
* Do not edit directly
|
|
7
|
-
* Generated on Fri, 26 Nov 2021 16:
|
|
7
|
+
* Generated on Fri, 26 Nov 2021 16:40:31 GMT
|
|
8
8
|
*/
|
|
9
9
|
|
|
10
10
|
|
|
@@ -51,7 +51,7 @@
|
|
|
51
51
|
color: var(--global-foreground);
|
|
52
52
|
/**
|
|
53
53
|
* Do not edit directly
|
|
54
|
-
* Generated on Fri, 26 Nov 2021 16:
|
|
54
|
+
* Generated on Fri, 26 Nov 2021 16:40:31 GMT
|
|
55
55
|
*/
|
|
56
56
|
|
|
57
57
|
|
|
@@ -99,7 +99,7 @@
|
|
|
99
99
|
color: var(--global-foreground);
|
|
100
100
|
/**
|
|
101
101
|
* Do not edit directly
|
|
102
|
-
* Generated on Fri, 26 Nov 2021 16:
|
|
102
|
+
* Generated on Fri, 26 Nov 2021 16:40:31 GMT
|
|
103
103
|
*/
|
|
104
104
|
|
|
105
105
|
|