@swiftwc/ui 0.0.0-dev.69 → 0.0.0-dev.70
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/generated/client/index.js +1 -1
- package/generated/components/h-stack.d.ts +2 -0
- package/generated/components/h-stack.js +2 -0
- package/generated/components/v-stack.d.ts +2 -0
- package/generated/components/v-stack.js +2 -0
- package/generated/css/index.css +4 -0
- package/package.json +1 -1
- package/scss/utils/_stacks.scss +3 -0
- package/web-components.html-data/en.json +30 -0
|
@@ -194,7 +194,7 @@ export const alert = (title, message, actions, options) => {
|
|
|
194
194
|
const dismiss = (reason) => {
|
|
195
195
|
off?.();
|
|
196
196
|
dialog?.close();
|
|
197
|
-
dialog?.remove()
|
|
197
|
+
// dialog?.remove()
|
|
198
198
|
reason === undefined ? resolve(undefined) : reject(reason instanceof Error ? reason : new DOMException('Alert dismissed', 'AbortError'));
|
|
199
199
|
};
|
|
200
200
|
if (options?.signal)
|
|
@@ -2,6 +2,8 @@
|
|
|
2
2
|
*
|
|
3
3
|
* @attr {@spacingSet} spacing - The gap between the primary axis
|
|
4
4
|
*
|
|
5
|
+
* @attr {leading|center|trailing} frame:alignment - The alignment of the stack on the cross-axis
|
|
6
|
+
*
|
|
5
7
|
* @attr {@alignmentSet} alignment - The cross-axis alignment
|
|
6
8
|
* @attr {@distributionSet} distribution - The main-axis alignment
|
|
7
9
|
* @attr {@placementSet} placement - The main-axis alignment
|
|
@@ -3,6 +3,8 @@ import { devFlags } from '../internal/utils';
|
|
|
3
3
|
*
|
|
4
4
|
* @attr {@spacingSet} spacing - The gap between the primary axis
|
|
5
5
|
*
|
|
6
|
+
* @attr {leading|center|trailing} frame:alignment - The alignment of the stack on the cross-axis
|
|
7
|
+
*
|
|
6
8
|
* @attr {@alignmentSet} alignment - The cross-axis alignment
|
|
7
9
|
* @attr {@distributionSet} distribution - The main-axis alignment
|
|
8
10
|
* @attr {@placementSet} placement - The main-axis alignment
|
|
@@ -3,6 +3,8 @@
|
|
|
3
3
|
*
|
|
4
4
|
* @attr {"auto spacer"|"auto auto spacer"|"auto auto auto spacer"} template
|
|
5
5
|
*
|
|
6
|
+
* @attr {leading|center|trailing} frame:alignment - The alignment of the stack on the cross-axis
|
|
7
|
+
*
|
|
6
8
|
* @attr {@spacingSet} spacing - The gap between the primary axis
|
|
7
9
|
*
|
|
8
10
|
* @attr {@alignmentSet} alignment - The cross-axis alignment
|
|
@@ -4,6 +4,8 @@ import { devFlags } from '../internal/utils';
|
|
|
4
4
|
*
|
|
5
5
|
* @attr {"auto spacer"|"auto auto spacer"|"auto auto auto spacer"} template
|
|
6
6
|
*
|
|
7
|
+
* @attr {leading|center|trailing} frame:alignment - The alignment of the stack on the cross-axis
|
|
8
|
+
*
|
|
7
9
|
* @attr {@spacingSet} spacing - The gap between the primary axis
|
|
8
10
|
*
|
|
9
11
|
* @attr {@alignmentSet} alignment - The cross-axis alignment
|
package/generated/css/index.css
CHANGED
|
@@ -6749,6 +6749,10 @@
|
|
|
6749
6749
|
h-stack[spacing="50"]) {
|
|
6750
6750
|
gap: 5rem;
|
|
6751
6751
|
}
|
|
6752
|
+
:where(v-stack[frame\:alignment=leading],
|
|
6753
|
+
h-stack[frame\:alignment=leading]) {
|
|
6754
|
+
justify-self: start;
|
|
6755
|
+
}
|
|
6752
6756
|
:where(v-stack[frame\:alignment=center],
|
|
6753
6757
|
h-stack[frame\:alignment=center]) {
|
|
6754
6758
|
justify-self: center;
|
package/package.json
CHANGED
package/scss/utils/_stacks.scss
CHANGED
|
@@ -183,6 +183,21 @@
|
|
|
183
183
|
"description": "\nDescription: The gap between the primary axis",
|
|
184
184
|
"valueSet": "spacingSet"
|
|
185
185
|
},
|
|
186
|
+
{
|
|
187
|
+
"name": "frame:alignment - The alignment of the stack on the cross",
|
|
188
|
+
"description": "Value Type: “leading” | “center” | “trailing”\n\nDescription: axis",
|
|
189
|
+
"values": [
|
|
190
|
+
{
|
|
191
|
+
"name": "leading"
|
|
192
|
+
},
|
|
193
|
+
{
|
|
194
|
+
"name": "center"
|
|
195
|
+
},
|
|
196
|
+
{
|
|
197
|
+
"name": "trailing"
|
|
198
|
+
}
|
|
199
|
+
]
|
|
200
|
+
},
|
|
186
201
|
{
|
|
187
202
|
"name": "alignment - The cross",
|
|
188
203
|
"description": "\nDescription: axis alignment",
|
|
@@ -620,6 +635,21 @@
|
|
|
620
635
|
}
|
|
621
636
|
]
|
|
622
637
|
},
|
|
638
|
+
{
|
|
639
|
+
"name": "frame:alignment - The alignment of the stack on the cross",
|
|
640
|
+
"description": "Value Type: “leading” | “center” | “trailing”\n\nDescription: axis",
|
|
641
|
+
"values": [
|
|
642
|
+
{
|
|
643
|
+
"name": "leading"
|
|
644
|
+
},
|
|
645
|
+
{
|
|
646
|
+
"name": "center"
|
|
647
|
+
},
|
|
648
|
+
{
|
|
649
|
+
"name": "trailing"
|
|
650
|
+
}
|
|
651
|
+
]
|
|
652
|
+
},
|
|
623
653
|
{
|
|
624
654
|
"name": "spacing",
|
|
625
655
|
"description": "\nDescription: The gap between the primary axis",
|