@bedrock-layout/solid 0.11.2 → 0.11.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.cjs.js +9 -1
- package/lib/index.m.js +9 -1
- package/lib/index.umd.js +9 -1
- package/package.json +2 -2
package/lib/index.cjs.js
CHANGED
|
@@ -148,7 +148,15 @@
|
|
|
148
148
|
}
|
|
149
149
|
|
|
150
150
|
flex-wrap: nowrap;
|
|
151
|
-
${e=>e.stretch==="all"
|
|
151
|
+
${e=>e.stretch==="all"?`& > * {
|
|
152
|
+
flex: 1;
|
|
153
|
+
}`:e.stretch==="start"?`& > :first-child {
|
|
154
|
+
flex: 1;
|
|
155
|
+
}`:e.stretch==="end"?`& > :last-child {
|
|
156
|
+
flex: 1;
|
|
157
|
+
}`:typeof e.stretch=="number"?`& > :nth-child(${e.stretch+1}) {
|
|
158
|
+
flex: 1;
|
|
159
|
+
}`:""}
|
|
152
160
|
|
|
153
161
|
${e=>se(e.switchAt)?`
|
|
154
162
|
--switchAt: ${typeof e.switchAt=="string"?e.switchAt:`${e.switchAt}px`};
|
package/lib/index.m.js
CHANGED
|
@@ -428,7 +428,15 @@ const Inline = styled(InlineCluster)`
|
|
|
428
428
|
}
|
|
429
429
|
|
|
430
430
|
flex-wrap: nowrap;
|
|
431
|
-
${(props) => props.stretch === "all" ? `& > * {
|
|
431
|
+
${(props) => props.stretch === "all" ? `& > * {
|
|
432
|
+
flex: 1;
|
|
433
|
+
}` : props.stretch === "start" ? `& > :first-child {
|
|
434
|
+
flex: 1;
|
|
435
|
+
}` : props.stretch === "end" ? `& > :last-child {
|
|
436
|
+
flex: 1;
|
|
437
|
+
}` : typeof props.stretch === "number" ? `& > :nth-child(${props.stretch + 1}) {
|
|
438
|
+
flex: 1;
|
|
439
|
+
}` : ""}
|
|
432
440
|
|
|
433
441
|
${(props) => shouldUseSwitch(props.switchAt) ? `
|
|
434
442
|
--switchAt: ${typeof props.switchAt === "string" ? props.switchAt : `${props.switchAt}px`};
|
package/lib/index.umd.js
CHANGED
|
@@ -148,7 +148,15 @@ var $e=Object.defineProperty,we=Object.defineProperties;var Se=Object.getOwnProp
|
|
|
148
148
|
}
|
|
149
149
|
|
|
150
150
|
flex-wrap: nowrap;
|
|
151
|
-
${e=>e.stretch==="all"
|
|
151
|
+
${e=>e.stretch==="all"?`& > * {
|
|
152
|
+
flex: 1;
|
|
153
|
+
}`:e.stretch==="start"?`& > :first-child {
|
|
154
|
+
flex: 1;
|
|
155
|
+
}`:e.stretch==="end"?`& > :last-child {
|
|
156
|
+
flex: 1;
|
|
157
|
+
}`:typeof e.stretch=="number"?`& > :nth-child(${e.stretch+1}) {
|
|
158
|
+
flex: 1;
|
|
159
|
+
}`:""}
|
|
152
160
|
|
|
153
161
|
${e=>ne(e.switchAt)?`
|
|
154
162
|
--switchAt: ${typeof e.switchAt=="string"?e.switchAt:`${e.switchAt}px`};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@bedrock-layout/solid",
|
|
3
|
-
"version": "0.11.
|
|
3
|
+
"version": "0.11.3",
|
|
4
4
|
"description": "solid.js port of bedrock-layout primitives",
|
|
5
5
|
"sideEffects": false,
|
|
6
6
|
"private": false,
|
|
@@ -62,5 +62,5 @@
|
|
|
62
62
|
"bugs": {
|
|
63
63
|
"url": "https://github.com/Bedrock-Layouts/Solid-Bedrock/issues"
|
|
64
64
|
},
|
|
65
|
-
"gitHead": "
|
|
65
|
+
"gitHead": "0df38d1d92e6809299d9e0a0e8d741add1e26dca"
|
|
66
66
|
}
|