@weaverse/react 0.6.23 → 0.6.24
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/dist/index.js +7 -4
- package/dist/index.mjs +7 -4
- package/package.json +2 -2
package/dist/index.js
CHANGED
|
@@ -224,7 +224,7 @@ Countdown.defaultProps = {
|
|
|
224
224
|
width: 48,
|
|
225
225
|
textAlign: "center"
|
|
226
226
|
},
|
|
227
|
-
"
|
|
227
|
+
".wv-countdown-label": {
|
|
228
228
|
fontSize: 10
|
|
229
229
|
},
|
|
230
230
|
"& > span": {
|
|
@@ -600,7 +600,8 @@ var AccordionContent = (0, import_react12.forwardRef)((props, ref) => {
|
|
|
600
600
|
"--rows": rows,
|
|
601
601
|
"--columns": columns,
|
|
602
602
|
"--gap": gap + "px",
|
|
603
|
-
"--row-size": rowSize + "px"
|
|
603
|
+
"--row-size": rowSize + "px",
|
|
604
|
+
"--col-size": "calc((var(--grid-size) - calc(var(--columns) - 1) * var(--gap)) / var(--columns))"
|
|
604
605
|
};
|
|
605
606
|
return /* @__PURE__ */ import_react12.default.createElement("div", __spreadProps(__spreadValues({
|
|
606
607
|
ref
|
|
@@ -618,10 +619,12 @@ AccordionContent.defaultProps = {
|
|
|
618
619
|
css: {
|
|
619
620
|
"@desktop": {
|
|
620
621
|
width: "100%",
|
|
622
|
+
maxWidth: "var(--grid-size)",
|
|
621
623
|
backgroundColor: "#DDD",
|
|
622
624
|
display: "none",
|
|
623
|
-
|
|
624
|
-
|
|
625
|
+
gridTemplateRows: "repeat(var(--rows), var(--row-size))",
|
|
626
|
+
gridTemplateColumns: "repeat(var(--columns), minmax(0, var(--col-size)))",
|
|
627
|
+
gap: "var(--gap)",
|
|
625
628
|
borderRadius: 4
|
|
626
629
|
}
|
|
627
630
|
}
|
package/dist/index.mjs
CHANGED
|
@@ -194,7 +194,7 @@ Countdown.defaultProps = {
|
|
|
194
194
|
width: 48,
|
|
195
195
|
textAlign: "center"
|
|
196
196
|
},
|
|
197
|
-
"
|
|
197
|
+
".wv-countdown-label": {
|
|
198
198
|
fontSize: 10
|
|
199
199
|
},
|
|
200
200
|
"& > span": {
|
|
@@ -570,7 +570,8 @@ var AccordionContent = forwardRef12((props, ref) => {
|
|
|
570
570
|
"--rows": rows,
|
|
571
571
|
"--columns": columns,
|
|
572
572
|
"--gap": gap + "px",
|
|
573
|
-
"--row-size": rowSize + "px"
|
|
573
|
+
"--row-size": rowSize + "px",
|
|
574
|
+
"--col-size": "calc((var(--grid-size) - calc(var(--columns) - 1) * var(--gap)) / var(--columns))"
|
|
574
575
|
};
|
|
575
576
|
return /* @__PURE__ */ React14.createElement("div", __spreadProps(__spreadValues({
|
|
576
577
|
ref
|
|
@@ -588,10 +589,12 @@ AccordionContent.defaultProps = {
|
|
|
588
589
|
css: {
|
|
589
590
|
"@desktop": {
|
|
590
591
|
width: "100%",
|
|
592
|
+
maxWidth: "var(--grid-size)",
|
|
591
593
|
backgroundColor: "#DDD",
|
|
592
594
|
display: "none",
|
|
593
|
-
|
|
594
|
-
|
|
595
|
+
gridTemplateRows: "repeat(var(--rows), var(--row-size))",
|
|
596
|
+
gridTemplateColumns: "repeat(var(--columns), minmax(0, var(--col-size)))",
|
|
597
|
+
gap: "var(--gap)",
|
|
595
598
|
borderRadius: 4
|
|
596
599
|
}
|
|
597
600
|
}
|
package/package.json
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"version": "0.6.
|
|
2
|
+
"version": "0.6.24",
|
|
3
3
|
"license": "MIT",
|
|
4
4
|
"main": "dist/index.js",
|
|
5
5
|
"typings": "dist/index.d.ts",
|
|
@@ -31,6 +31,6 @@
|
|
|
31
31
|
"name": "@weaverse/react",
|
|
32
32
|
"author": "Weaverse Team",
|
|
33
33
|
"dependencies": {
|
|
34
|
-
"@weaverse/core": "0.6.
|
|
34
|
+
"@weaverse/core": "0.6.24"
|
|
35
35
|
}
|
|
36
36
|
}
|