@swiftwc/ui 0.0.0-dev.91 → 0.0.0-dev.93
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/components/alert-dialog.d.ts +1 -2
- package/generated/components/alert-dialog.js +1 -2
- package/generated/components/body-view.d.ts +3 -0
- package/generated/components/body-view.js +3 -0
- package/generated/components/bordered-button.d.ts +2 -2
- package/generated/components/bordered-button.js +2 -2
- package/generated/components/bordered-prominent-button.d.ts +2 -2
- package/generated/components/bordered-prominent-button.js +2 -2
- package/generated/components/borderless-button.d.ts +2 -2
- package/generated/components/borderless-button.js +2 -2
- package/generated/components/content-unavailable.d.ts +25 -0
- package/generated/components/{content-unavailable-view.js → content-unavailable.js} +9 -8
- package/generated/components/date-picker.d.ts +9 -1
- package/generated/components/date-picker.js +11 -4
- package/generated/components/form-view.d.ts +1 -1
- package/generated/components/form-view.js +1 -1
- package/generated/components/glass-button.d.ts +2 -2
- package/generated/components/glass-button.js +2 -2
- package/generated/components/glass-prominent-button.d.ts +2 -2
- package/generated/components/glass-prominent-button.js +2 -2
- package/generated/components/h-stack.d.ts +6 -6
- package/generated/components/h-stack.js +6 -6
- package/generated/components/index.d.ts +1 -1
- package/generated/components/index.js +1 -1
- package/generated/components/label-view.d.ts +6 -2
- package/generated/components/label-view.js +8 -4
- package/generated/components/labeled-content.js +3 -3
- package/generated/components/list-view.d.ts +1 -1
- package/generated/components/list-view.js +1 -13
- package/generated/components/menu-view.d.ts +2 -1
- package/generated/components/menu-view.js +3 -8
- package/generated/components/navigation-stack.js +0 -2
- package/generated/components/navigation-title.js +0 -9
- package/generated/components/picker-view.d.ts +8 -2
- package/generated/components/picker-view.js +14 -9
- package/generated/components/progress-view.d.ts +1 -0
- package/generated/components/progress-view.js +2 -1
- package/generated/components/scroll-view.d.ts +1 -0
- package/generated/components/scroll-view.js +11 -2
- package/generated/components/search-view.js +0 -3
- package/generated/components/section-view.d.ts +2 -1
- package/generated/components/section-view.js +4 -48
- package/generated/components/sheet-view.js +0 -20
- package/generated/components/sidebar-view.js +1 -1
- package/generated/components/tab-bar.js +0 -3
- package/generated/components/tab-view.d.ts +5 -2
- package/generated/components/tab-view.js +5 -72
- package/generated/components/table-view.d.ts +2 -1
- package/generated/components/table-view.js +4 -3
- package/generated/components/text-field.d.ts +6 -0
- package/generated/components/text-field.js +7 -2
- package/generated/components/toggle-view.d.ts +6 -0
- package/generated/components/toggle-view.js +7 -2
- package/generated/components/tool-bar.d.ts +10 -10
- package/generated/components/tool-bar.js +10 -10
- package/generated/components/v-keyboard.d.ts +1 -1
- package/generated/components/v-keyboard.js +1 -1
- package/generated/components/v-stack.d.ts +7 -7
- package/generated/components/v-stack.js +7 -7
- package/generated/css/index.css +24 -17
- package/generated/events/scroll-view.js +0 -4
- package/generated/events/text-field.js +0 -3
- package/generated/events/toggle-view.js +0 -3
- package/generated/internal/utils/ensure-placeholder.js +0 -55
- package/package.json +3 -2
- package/scss/_components.scss +1 -1
- package/scss/components/{_content-unavailable-view.scss → _content-unavailable.scss} +1 -1
- package/scss/components/_index.scss +5 -4
- package/scss/components/_labeled-content.scss +8 -0
- package/scss/components/_navigation-title.scss +1 -1
- package/scss/components/_toggle-view.scss +1 -1
- package/web-components.html-data/en.json +340 -91
- package/generated/components/content-unavailable-view.d.ts +0 -24
|
@@ -3,19 +3,45 @@
|
|
|
3
3
|
"tags": [
|
|
4
4
|
{
|
|
5
5
|
"name": "alert-dialog",
|
|
6
|
-
"
|
|
6
|
+
"references": [
|
|
7
|
+
{
|
|
8
|
+
"name": "Documentation",
|
|
9
|
+
"url": "https://swiftwc.github.io/ui/web-components/alert-dialog"
|
|
10
|
+
}
|
|
11
|
+
],
|
|
12
|
+
"description": ""
|
|
7
13
|
},
|
|
8
14
|
{
|
|
9
|
-
"name": "body-view"
|
|
15
|
+
"name": "body-view",
|
|
16
|
+
"references": [
|
|
17
|
+
{
|
|
18
|
+
"name": "Documentation",
|
|
19
|
+
"url": "https://swiftwc.github.io/ui/web-components/body-view"
|
|
20
|
+
}
|
|
21
|
+
],
|
|
22
|
+
"description": ""
|
|
10
23
|
},
|
|
11
24
|
{
|
|
12
25
|
"name": "bordered-button",
|
|
13
|
-
"
|
|
26
|
+
"references": [
|
|
27
|
+
{
|
|
28
|
+
"name": "Documentation",
|
|
29
|
+
"url": "https://swiftwc.github.io/ui/web-components/bordered-button"
|
|
30
|
+
}
|
|
31
|
+
],
|
|
32
|
+
"description": "### **Slots:**\n- **overlay**\n\n### **Examples:**\n**Creating a bordered button:**\n```html\n<button is=\"bordered-button\">\n <label-view system-image=\"hand-tap\" title=\"Tap Me\"></label-view>\n</button>\n\n```",
|
|
14
33
|
"attributes": [
|
|
15
34
|
{
|
|
16
35
|
"name": "role",
|
|
17
|
-
"description": "Value Type:
|
|
18
|
-
"values": [
|
|
36
|
+
"description": "Value Type: “destructive” | “confirm”\nDescription: A value that describes the purpose of a button",
|
|
37
|
+
"values": [
|
|
38
|
+
{
|
|
39
|
+
"name": "destructive"
|
|
40
|
+
},
|
|
41
|
+
{
|
|
42
|
+
"name": "confirm"
|
|
43
|
+
}
|
|
44
|
+
]
|
|
19
45
|
},
|
|
20
46
|
{
|
|
21
47
|
"name": "title-key"
|
|
@@ -24,12 +50,25 @@
|
|
|
24
50
|
},
|
|
25
51
|
{
|
|
26
52
|
"name": "bordered-prominent-button",
|
|
27
|
-
"
|
|
53
|
+
"references": [
|
|
54
|
+
{
|
|
55
|
+
"name": "Documentation",
|
|
56
|
+
"url": "https://swiftwc.github.io/ui/web-components/bordered-prominent-button"
|
|
57
|
+
}
|
|
58
|
+
],
|
|
59
|
+
"description": "### **Slots:**\n- **overlay**\n\n### **Examples:**\n**Creating a prominent bordered button:**\n```html\n<button is=\"bordered-prominent-button\">\n <label-view system-image=\"hand-tap\" title=\"Tap Me\"></label-view>\n</button>\n\n```",
|
|
28
60
|
"attributes": [
|
|
29
61
|
{
|
|
30
62
|
"name": "role",
|
|
31
|
-
"description": "Value Type:
|
|
32
|
-
"values": [
|
|
63
|
+
"description": "Value Type: “destructive” | “confirm”\nDescription: A value that describes the purpose of a button",
|
|
64
|
+
"values": [
|
|
65
|
+
{
|
|
66
|
+
"name": "destructive"
|
|
67
|
+
},
|
|
68
|
+
{
|
|
69
|
+
"name": "confirm"
|
|
70
|
+
}
|
|
71
|
+
]
|
|
33
72
|
},
|
|
34
73
|
{
|
|
35
74
|
"name": "title-key"
|
|
@@ -38,12 +77,25 @@
|
|
|
38
77
|
},
|
|
39
78
|
{
|
|
40
79
|
"name": "borderless-button",
|
|
41
|
-
"
|
|
80
|
+
"references": [
|
|
81
|
+
{
|
|
82
|
+
"name": "Documentation",
|
|
83
|
+
"url": "https://swiftwc.github.io/ui/web-components/borderless-button"
|
|
84
|
+
}
|
|
85
|
+
],
|
|
86
|
+
"description": "### **Slots:**\n- **overlay**\n\n### **Examples:**\n**Use the `is` attribute to style a `button` as a `borderless-button`:**\n```html\n<button is=\"borderless-button\">\n <label-view system-image=\"hand-tap\" title=\"Tap Me\"></label-view>\n</button>\n\n```",
|
|
42
87
|
"attributes": [
|
|
43
88
|
{
|
|
44
89
|
"name": "role",
|
|
45
|
-
"description": "Value Type:
|
|
46
|
-
"values": [
|
|
90
|
+
"description": "Value Type: “destructive” | “confirm”\nDescription: A value that describes the purpose of a button",
|
|
91
|
+
"values": [
|
|
92
|
+
{
|
|
93
|
+
"name": "destructive"
|
|
94
|
+
},
|
|
95
|
+
{
|
|
96
|
+
"name": "confirm"
|
|
97
|
+
}
|
|
98
|
+
]
|
|
47
99
|
},
|
|
48
100
|
{
|
|
49
101
|
"name": "title-key"
|
|
@@ -56,20 +108,33 @@
|
|
|
56
108
|
{
|
|
57
109
|
"name": "dark"
|
|
58
110
|
}
|
|
59
|
-
]
|
|
111
|
+
],
|
|
112
|
+
"description": ""
|
|
60
113
|
},
|
|
61
114
|
{
|
|
62
115
|
"name": "confirmation-dialog",
|
|
63
|
-
"
|
|
116
|
+
"references": [
|
|
117
|
+
{
|
|
118
|
+
"name": "Documentation",
|
|
119
|
+
"url": "https://swiftwc.github.io/ui/web-components/confirmation-dialog"
|
|
120
|
+
}
|
|
121
|
+
],
|
|
64
122
|
"attributes": [
|
|
65
123
|
{
|
|
66
124
|
"name": "anchor"
|
|
67
125
|
}
|
|
68
|
-
]
|
|
126
|
+
],
|
|
127
|
+
"description": "A representation of a confirmation presentation.\nUse it from the client module like `await confirmation(trigger, 'Permanently erase the items in the Trash?')`.\n---"
|
|
69
128
|
},
|
|
70
129
|
{
|
|
71
|
-
"name": "content-unavailable
|
|
72
|
-
"
|
|
130
|
+
"name": "content-unavailable",
|
|
131
|
+
"references": [
|
|
132
|
+
{
|
|
133
|
+
"name": "Documentation",
|
|
134
|
+
"url": "https://swiftwc.github.io/ui/web-components/content-unavailable"
|
|
135
|
+
}
|
|
136
|
+
],
|
|
137
|
+
"description": "### **Slots:**\n- _default_ — The default slot.\n- **description**\n- **actions**\n\n### **Examples:**\n**Example:**\n```html\n<content-unavailable search></content-unavailable>\n\n```\n**Example:**\n```html\n<content-unavailable search=\"foo\"></content-unavailable>\n\n```\n**Example:**\n```html\n<content-unavailable padding>\n <label-view title=\"No Mail\">\n <i class=\"ph ph-tray\" slot=\"icon\" foreground=\"secondary\"></i>\n </label-view>\n <label-view\n title=\"New mails you receive will appear here.\"\n foreground=\"secondary\"\n slot=\"description\"\n ></label-view>\n <button is=\"borderless-button\" type=\"button\" tabindex=\"0\" slot=\"actions\">\n <label-view title=\"Switch Account\"></label-view>\n </button>\n</content-unavailable>\n\n```\n**Example:**\n```html\n<content-unavailable padding>\n <label-view title=\"No Mail\">\n <svg slot=\"icon\" foreground=\"secondary\" ...>...</svg>\n </label-view>\n <label-view\n title=\"New mails you receive will appear here.\"\n foreground=\"secondary\"\n slot=\"description\"\n ></label-view>\n <button is=\"borderless-button\" type=\"button\" tabindex=\"0\" slot=\"actions\">\n <label-view title=\"Switch Account\"></label-view>\n </button>\n</content-unavailable>\n\n```",
|
|
73
138
|
"attributes": [
|
|
74
139
|
{
|
|
75
140
|
"name": "search"
|
|
@@ -78,7 +143,13 @@
|
|
|
78
143
|
},
|
|
79
144
|
{
|
|
80
145
|
"name": "date-picker",
|
|
81
|
-
"
|
|
146
|
+
"references": [
|
|
147
|
+
{
|
|
148
|
+
"name": "Documentation",
|
|
149
|
+
"url": "https://swiftwc.github.io/ui/web-components/date-picker"
|
|
150
|
+
}
|
|
151
|
+
],
|
|
152
|
+
"description": "### **Properties:**\n- readonly **template** — DocumentFragment\n- readonly **datePickerStyle** — \"graphical\" | \"field\" | \"automatic\"\n- readonly **name** — string Form participation property\n- readonly **value** — { year: string; month: string; day: string; }\n- readonly **valueAsDate** — Date | null Returns the value as a Date object.\n- readonly **minimum** — { year: string; month: string; day: string; } | null\n- readonly **maximum** — { year: string; month: string; day: string; } | null",
|
|
82
153
|
"attributes": [
|
|
83
154
|
{
|
|
84
155
|
"name": "date-picker-style",
|
|
@@ -123,40 +194,66 @@
|
|
|
123
194
|
},
|
|
124
195
|
{
|
|
125
196
|
"name": "disclosure-group",
|
|
126
|
-
"
|
|
197
|
+
"references": [
|
|
198
|
+
{
|
|
199
|
+
"name": "Documentation",
|
|
200
|
+
"url": "https://swiftwc.github.io/ui/web-components/disclosure-group"
|
|
201
|
+
}
|
|
202
|
+
],
|
|
203
|
+
"description": "### **Examples:**\n**Example:**\n```html\n<details is=\"disclosure-group\">\n <summary><label-view title=\"Items\"></label-view></summary>\n <label-view title=\"Item 1\"></label-view>\n <label-view title=\"Item 2\"></label-view>\n <details is=\"disclosure-group\">\n <summary><label-view title=\"Sub-items\"></label-view></summary>\n <label-view title=\"Sub-item 1\"></label-view>\n </details>\n</details>\n\n```",
|
|
127
204
|
"attributes": [
|
|
128
205
|
{
|
|
129
206
|
"name": "open",
|
|
130
|
-
"description": "
|
|
207
|
+
"description": "The status of this element"
|
|
131
208
|
}
|
|
132
209
|
]
|
|
133
210
|
},
|
|
134
211
|
{
|
|
135
|
-
"name": "fine-tooltip"
|
|
212
|
+
"name": "fine-tooltip",
|
|
213
|
+
"description": ""
|
|
136
214
|
},
|
|
137
215
|
{
|
|
138
216
|
"name": "form-view",
|
|
139
|
-
"
|
|
217
|
+
"references": [
|
|
218
|
+
{
|
|
219
|
+
"name": "Documentation",
|
|
220
|
+
"url": "https://swiftwc.github.io/ui/web-components/form-view"
|
|
221
|
+
}
|
|
222
|
+
],
|
|
140
223
|
"attributes": [
|
|
141
224
|
{
|
|
142
|
-
"name": "navigation-link-indicator-visibility
|
|
143
|
-
"description": "Value Type: “hidden”\n\nDescription: chevron on NavigationLink buttons inside.",
|
|
225
|
+
"name": "navigation-link-indicator-visibility",
|
|
226
|
+
"description": "Value Type: “hidden”\n\nDescription: Hides accessories like right-arrow-chevron on NavigationLink buttons inside.",
|
|
144
227
|
"values": [
|
|
145
228
|
{
|
|
146
229
|
"name": "hidden"
|
|
147
230
|
}
|
|
148
231
|
]
|
|
149
232
|
}
|
|
150
|
-
]
|
|
233
|
+
],
|
|
234
|
+
"description": ""
|
|
151
235
|
},
|
|
152
236
|
{
|
|
153
237
|
"name": "glass-button",
|
|
154
|
-
"
|
|
238
|
+
"references": [
|
|
239
|
+
{
|
|
240
|
+
"name": "Documentation",
|
|
241
|
+
"url": "https://swiftwc.github.io/ui/web-components/glass-button"
|
|
242
|
+
}
|
|
243
|
+
],
|
|
244
|
+
"description": "### **Slots:**\n- **overlay**\n\n### **Examples:**\n**Creating a glass button:**\n```html\n<button is=\"glass-button\">\n <label-view system-image=\"hand-tap\" title=\"Tap Me\"></label-view>\n</button>\n\n```",
|
|
155
245
|
"attributes": [
|
|
156
246
|
{
|
|
157
247
|
"name": "role",
|
|
158
|
-
"description": "Value Type:
|
|
159
|
-
"values": [
|
|
248
|
+
"description": "Value Type: “destructive” | “confirm”\nDescription: A value that describes the purpose of a button",
|
|
249
|
+
"values": [
|
|
250
|
+
{
|
|
251
|
+
"name": "destructive"
|
|
252
|
+
},
|
|
253
|
+
{
|
|
254
|
+
"name": "confirm"
|
|
255
|
+
}
|
|
256
|
+
]
|
|
160
257
|
},
|
|
161
258
|
{
|
|
162
259
|
"name": "title-key"
|
|
@@ -165,12 +262,25 @@
|
|
|
165
262
|
},
|
|
166
263
|
{
|
|
167
264
|
"name": "glass-prominent-button",
|
|
168
|
-
"
|
|
265
|
+
"references": [
|
|
266
|
+
{
|
|
267
|
+
"name": "Documentation",
|
|
268
|
+
"url": "https://swiftwc.github.io/ui/web-components/glass-prominent-button"
|
|
269
|
+
}
|
|
270
|
+
],
|
|
271
|
+
"description": "### **Slots:**\n- **overlay**\n\n### **Examples:**\n**Creating a prominent glass button:**\n```html\n<button is=\"glass-prominent-button\">\n <label-view system-image=\"hand-tap\" title=\"Tap Me\"></label-view>\n</button>\n\n```",
|
|
169
272
|
"attributes": [
|
|
170
273
|
{
|
|
171
274
|
"name": "role",
|
|
172
|
-
"description": "Value Type:
|
|
173
|
-
"values": [
|
|
275
|
+
"description": "Value Type: “destructive” | “confirm”\nDescription: A value that describes the purpose of a button",
|
|
276
|
+
"values": [
|
|
277
|
+
{
|
|
278
|
+
"name": "destructive"
|
|
279
|
+
},
|
|
280
|
+
{
|
|
281
|
+
"name": "confirm"
|
|
282
|
+
}
|
|
283
|
+
]
|
|
174
284
|
},
|
|
175
285
|
{
|
|
176
286
|
"name": "title-key"
|
|
@@ -178,12 +288,18 @@
|
|
|
178
288
|
]
|
|
179
289
|
},
|
|
180
290
|
{
|
|
181
|
-
"name": "
|
|
182
|
-
"
|
|
291
|
+
"name": "h-stack",
|
|
292
|
+
"references": [
|
|
293
|
+
{
|
|
294
|
+
"name": "Documentation",
|
|
295
|
+
"url": "https://swiftwc.github.io/ui/web-components/h-stack"
|
|
296
|
+
}
|
|
297
|
+
],
|
|
298
|
+
"description": "",
|
|
183
299
|
"attributes": [
|
|
184
300
|
{
|
|
185
|
-
"name": "template
|
|
186
|
-
"description": "\nDescription: axis grid template",
|
|
301
|
+
"name": "template",
|
|
302
|
+
"description": "\nDescription: The main-axis grid template",
|
|
187
303
|
"valueSet": "templateSet"
|
|
188
304
|
},
|
|
189
305
|
{
|
|
@@ -192,18 +308,18 @@
|
|
|
192
308
|
"valueSet": "spacingSet"
|
|
193
309
|
},
|
|
194
310
|
{
|
|
195
|
-
"name": "alignment
|
|
196
|
-
"description": "\nDescription: axis alignment",
|
|
311
|
+
"name": "alignment",
|
|
312
|
+
"description": "\nDescription: The cross-axis alignment",
|
|
197
313
|
"valueSet": "blockSet"
|
|
198
314
|
},
|
|
199
315
|
{
|
|
200
|
-
"name": "distribution
|
|
201
|
-
"description": "\nDescription: axis alignment",
|
|
316
|
+
"name": "distribution",
|
|
317
|
+
"description": "\nDescription: The main-axis alignment",
|
|
202
318
|
"valueSet": "inlineSet"
|
|
203
319
|
},
|
|
204
320
|
{
|
|
205
|
-
"name": "placement
|
|
206
|
-
"description": "\nDescription: axis alignment",
|
|
321
|
+
"name": "placement",
|
|
322
|
+
"description": "\nDescription: The main-axis alignment",
|
|
207
323
|
"valueSet": "inlinePlacementSet"
|
|
208
324
|
}
|
|
209
325
|
]
|
|
@@ -217,11 +333,18 @@
|
|
|
217
333
|
{
|
|
218
334
|
"name": "system-weight"
|
|
219
335
|
}
|
|
220
|
-
]
|
|
336
|
+
],
|
|
337
|
+
"description": ""
|
|
221
338
|
},
|
|
222
339
|
{
|
|
223
340
|
"name": "label-view",
|
|
224
|
-
"
|
|
341
|
+
"references": [
|
|
342
|
+
{
|
|
343
|
+
"name": "Documentation",
|
|
344
|
+
"url": "https://swiftwc.github.io/ui/web-components/label-view"
|
|
345
|
+
}
|
|
346
|
+
],
|
|
347
|
+
"description": "### **Slots:**\n- _default_ — Place children without a `slot` attribute inside the main block of the label.\n- **icon** — Place children with a `slot=\"icon\"` attribute in the icon block of the label.\n\n### **Examples:**\n**Creating a label with an icon image and a title:**\n```html\n<label-view system-image=\"hand-tap\"><span>Hello</span></label-view>\n\n```",
|
|
225
348
|
"attributes": [
|
|
226
349
|
{
|
|
227
350
|
"name": "font",
|
|
@@ -263,26 +386,39 @@
|
|
|
263
386
|
{
|
|
264
387
|
"name": "format"
|
|
265
388
|
}
|
|
266
|
-
]
|
|
389
|
+
],
|
|
390
|
+
"description": ""
|
|
267
391
|
},
|
|
268
392
|
{
|
|
269
393
|
"name": "list-view",
|
|
270
|
-
"
|
|
394
|
+
"references": [
|
|
395
|
+
{
|
|
396
|
+
"name": "Documentation",
|
|
397
|
+
"url": "https://swiftwc.github.io/ui/web-components/list-view"
|
|
398
|
+
}
|
|
399
|
+
],
|
|
271
400
|
"attributes": [
|
|
272
401
|
{
|
|
273
|
-
"name": "navigation-link-indicator-visibility
|
|
274
|
-
"description": "Value Type: “hidden”\n\nDescription: chevron on NavigationLink buttons inside.",
|
|
402
|
+
"name": "navigation-link-indicator-visibility",
|
|
403
|
+
"description": "Value Type: “hidden”\n\nDescription: Hides accessories like right-arrow-chevron on NavigationLink buttons inside.",
|
|
275
404
|
"values": [
|
|
276
405
|
{
|
|
277
406
|
"name": "hidden"
|
|
278
407
|
}
|
|
279
408
|
]
|
|
280
409
|
}
|
|
281
|
-
]
|
|
410
|
+
],
|
|
411
|
+
"description": ""
|
|
282
412
|
},
|
|
283
413
|
{
|
|
284
414
|
"name": "menu-view",
|
|
285
|
-
"
|
|
415
|
+
"references": [
|
|
416
|
+
{
|
|
417
|
+
"name": "Documentation",
|
|
418
|
+
"url": "https://swiftwc.github.io/ui/web-components/menu-view"
|
|
419
|
+
}
|
|
420
|
+
],
|
|
421
|
+
"description": "### **Slots:**\n- _default_ — The default slot.\n- **label**",
|
|
286
422
|
"attributes": [
|
|
287
423
|
{
|
|
288
424
|
"name": "open"
|
|
@@ -296,15 +432,28 @@
|
|
|
296
432
|
]
|
|
297
433
|
},
|
|
298
434
|
{
|
|
299
|
-
"name": "navigation-large-title"
|
|
435
|
+
"name": "navigation-large-title",
|
|
436
|
+
"description": ""
|
|
300
437
|
},
|
|
301
438
|
{
|
|
302
439
|
"name": "navigation-split-view",
|
|
303
|
-
"
|
|
440
|
+
"references": [
|
|
441
|
+
{
|
|
442
|
+
"name": "Documentation",
|
|
443
|
+
"url": "https://swiftwc.github.io/ui/web-components/navigation-split-view"
|
|
444
|
+
}
|
|
445
|
+
],
|
|
446
|
+
"description": ""
|
|
304
447
|
},
|
|
305
448
|
{
|
|
306
449
|
"name": "navigation-stack",
|
|
307
|
-
"
|
|
450
|
+
"references": [
|
|
451
|
+
{
|
|
452
|
+
"name": "Documentation",
|
|
453
|
+
"url": "https://swiftwc.github.io/ui/web-components/navigation-stack"
|
|
454
|
+
}
|
|
455
|
+
],
|
|
456
|
+
"description": ""
|
|
308
457
|
},
|
|
309
458
|
{
|
|
310
459
|
"name": "navigation-title",
|
|
@@ -321,15 +470,22 @@
|
|
|
321
470
|
{
|
|
322
471
|
"name": "system-image-weight"
|
|
323
472
|
}
|
|
324
|
-
]
|
|
473
|
+
],
|
|
474
|
+
"description": ""
|
|
325
475
|
},
|
|
326
476
|
{
|
|
327
477
|
"name": "picker-view",
|
|
328
|
-
"
|
|
478
|
+
"references": [
|
|
479
|
+
{
|
|
480
|
+
"name": "Documentation",
|
|
481
|
+
"url": "https://swiftwc.github.io/ui/web-components/picker-view"
|
|
482
|
+
}
|
|
483
|
+
],
|
|
484
|
+
"description": "### **Slots:**\n- _default_ — The default slot.\n- **label**\n- **list**\n- **validity-options**\n\n### **Properties:**\n- **selection** — string\n- readonly **template** — DocumentFragment\n- readonly **pickerStyle** — \"automatic\" | \"menu\" | \"inline\" | \"navigation-link\" | \"sheet\"\n- readonly **name** — string Form participation property",
|
|
329
485
|
"attributes": [
|
|
330
486
|
{
|
|
331
|
-
"name": "picker",
|
|
332
|
-
"description": "Value Type: “menu” | “inline” | “navigation-link” | “sheet” | “automatic
|
|
487
|
+
"name": "picker-style",
|
|
488
|
+
"description": "Value Type: “menu” | “inline” | “navigation-link” | “sheet” | “automatic”",
|
|
333
489
|
"values": [
|
|
334
490
|
{
|
|
335
491
|
"name": "menu"
|
|
@@ -367,8 +523,8 @@
|
|
|
367
523
|
]
|
|
368
524
|
},
|
|
369
525
|
{
|
|
370
|
-
"name": "label-value",
|
|
371
|
-
"description": "Value Type: “vertical” | “horizontal” | “auto
|
|
526
|
+
"name": "label-value-placement",
|
|
527
|
+
"description": "Value Type: “vertical” | “horizontal” | “auto”",
|
|
372
528
|
"values": [
|
|
373
529
|
{
|
|
374
530
|
"name": "vertical"
|
|
@@ -384,11 +540,18 @@
|
|
|
384
540
|
]
|
|
385
541
|
},
|
|
386
542
|
{
|
|
387
|
-
"name": "plain-button"
|
|
543
|
+
"name": "plain-button",
|
|
544
|
+
"description": ""
|
|
388
545
|
},
|
|
389
546
|
{
|
|
390
547
|
"name": "progress-view",
|
|
391
|
-
"
|
|
548
|
+
"references": [
|
|
549
|
+
{
|
|
550
|
+
"name": "Documentation",
|
|
551
|
+
"url": "https://swiftwc.github.io/ui/web-components/progress-view"
|
|
552
|
+
}
|
|
553
|
+
],
|
|
554
|
+
"description": "### **Slots:**\n- _default_ — The default slot.\n- **current-value**\n\n### **Properties:**\n- readonly **progressViewStyle** — \"circular\" | \"linear\"\n- readonly **template** — DocumentFragment",
|
|
392
555
|
"attributes": [
|
|
393
556
|
{
|
|
394
557
|
"name": "label"
|
|
@@ -402,18 +565,31 @@
|
|
|
402
565
|
]
|
|
403
566
|
},
|
|
404
567
|
{
|
|
405
|
-
"name": "screen-view"
|
|
568
|
+
"name": "screen-view",
|
|
569
|
+
"description": ""
|
|
406
570
|
},
|
|
407
571
|
{
|
|
408
572
|
"name": "scroll-view-proxy",
|
|
409
|
-
"
|
|
573
|
+
"references": [
|
|
574
|
+
{
|
|
575
|
+
"name": "Documentation",
|
|
576
|
+
"url": "https://swiftwc.github.io/ui/web-components/scroll-view-proxy"
|
|
577
|
+
}
|
|
578
|
+
],
|
|
579
|
+
"description": ""
|
|
410
580
|
},
|
|
411
581
|
{
|
|
412
582
|
"name": "scroll-view",
|
|
413
|
-
"
|
|
583
|
+
"references": [
|
|
584
|
+
{
|
|
585
|
+
"name": "Documentation",
|
|
586
|
+
"url": "https://swiftwc.github.io/ui/web-components/scroll-view"
|
|
587
|
+
}
|
|
588
|
+
],
|
|
414
589
|
"attributes": [
|
|
415
590
|
{
|
|
416
|
-
"name": "navigation-title"
|
|
591
|
+
"name": "navigation-title",
|
|
592
|
+
"description": "Configures the view’s title for purposes of navigation. Shorthand for `<v-stack spacing=\"0\" alignment=\"fill\" slot=\"top-bar-principal\"><label-view line-limit=\"1\" truncation-mode=\"tail\" font=\"headline\"><span>Navigation Title</span></label-view></v-stack>`"
|
|
417
593
|
},
|
|
418
594
|
{
|
|
419
595
|
"name": "navigation-inline-title"
|
|
@@ -427,14 +603,22 @@
|
|
|
427
603
|
{
|
|
428
604
|
"name": "navigation-bar-title-display-mode"
|
|
429
605
|
}
|
|
430
|
-
]
|
|
606
|
+
],
|
|
607
|
+
"description": "### **Slots:**\n- _default_ — The default slot.\n- **top-bar-principal**\n- **bottom-bar-principal**"
|
|
431
608
|
},
|
|
432
609
|
{
|
|
433
|
-
"name": "search-view"
|
|
610
|
+
"name": "search-view",
|
|
611
|
+
"description": ""
|
|
434
612
|
},
|
|
435
613
|
{
|
|
436
614
|
"name": "section-view",
|
|
437
|
-
"
|
|
615
|
+
"references": [
|
|
616
|
+
{
|
|
617
|
+
"name": "Documentation",
|
|
618
|
+
"url": "https://swiftwc.github.io/ui/web-components/section-view"
|
|
619
|
+
}
|
|
620
|
+
],
|
|
621
|
+
"description": "### **Slots:**\n- _default_ — The default slot.\n- **header**\n- **footer**",
|
|
438
622
|
"attributes": [
|
|
439
623
|
{
|
|
440
624
|
"name": "header"
|
|
@@ -445,31 +629,54 @@
|
|
|
445
629
|
]
|
|
446
630
|
},
|
|
447
631
|
{
|
|
448
|
-
"name": "sheet-view"
|
|
632
|
+
"name": "sheet-view",
|
|
633
|
+
"description": ""
|
|
449
634
|
},
|
|
450
635
|
{
|
|
451
|
-
"name": "sidebar-toggle"
|
|
636
|
+
"name": "sidebar-toggle",
|
|
637
|
+
"description": ""
|
|
452
638
|
},
|
|
453
639
|
{
|
|
454
|
-
"name": "sidebar-view"
|
|
640
|
+
"name": "sidebar-view",
|
|
641
|
+
"description": ""
|
|
455
642
|
},
|
|
456
643
|
{
|
|
457
|
-
"name": "sticky-container"
|
|
644
|
+
"name": "sticky-container",
|
|
645
|
+
"description": ""
|
|
458
646
|
},
|
|
459
647
|
{
|
|
460
648
|
"name": "tab-bar",
|
|
461
|
-
"
|
|
649
|
+
"references": [
|
|
650
|
+
{
|
|
651
|
+
"name": "Documentation",
|
|
652
|
+
"url": "https://swiftwc.github.io/ui/web-components/tab-bar"
|
|
653
|
+
}
|
|
654
|
+
],
|
|
655
|
+
"description": ""
|
|
462
656
|
},
|
|
463
657
|
{
|
|
464
|
-
"name": "tab-item"
|
|
658
|
+
"name": "tab-item",
|
|
659
|
+
"description": ""
|
|
465
660
|
},
|
|
466
661
|
{
|
|
467
662
|
"name": "tab-view",
|
|
468
|
-
"
|
|
663
|
+
"references": [
|
|
664
|
+
{
|
|
665
|
+
"name": "Documentation",
|
|
666
|
+
"url": "https://swiftwc.github.io/ui/web-components/tab-view"
|
|
667
|
+
}
|
|
668
|
+
],
|
|
669
|
+
"description": "### **Properties:**\n- readonly **tabBarPlacement** — \"bottom-bar\" | \"ornament\" | \"sidebar\" | \"top-bar\" | undefined\n- readonly **moreTab** — NavigationStack | null\n- **selectedTab** — (NavigationSplitView | NavigationStack)[]\n\n### **Events:**\n- **tabshow** — A Tab is shown\n- **tabhide** — A Tab is hidden\n- **tab-view:toggle**\n- **tab-view:adaptable-tab-bar-placement-change**"
|
|
469
670
|
},
|
|
470
671
|
{
|
|
471
672
|
"name": "table-view",
|
|
472
|
-
"
|
|
673
|
+
"references": [
|
|
674
|
+
{
|
|
675
|
+
"name": "Documentation",
|
|
676
|
+
"url": "https://swiftwc.github.io/ui/web-components/table-view"
|
|
677
|
+
}
|
|
678
|
+
],
|
|
679
|
+
"description": "### **Slots:**\n- _default_ — The default slot.\n- **header-leading**\n- **header-principal**\n- **header-trailing**\n- **column**\n- **footer-leading**\n- **footer-principal**\n- **footer-trailing**",
|
|
473
680
|
"attributes": [
|
|
474
681
|
{
|
|
475
682
|
"name": "preferred-compact-template",
|
|
@@ -493,7 +700,13 @@
|
|
|
493
700
|
},
|
|
494
701
|
{
|
|
495
702
|
"name": "text-field",
|
|
496
|
-
"
|
|
703
|
+
"references": [
|
|
704
|
+
{
|
|
705
|
+
"name": "Documentation",
|
|
706
|
+
"url": "https://swiftwc.github.io/ui/web-components/text-field"
|
|
707
|
+
}
|
|
708
|
+
],
|
|
709
|
+
"description": "### **Slots:**\n- **label**\n- **validity-options**\n\n### **Properties:**\n- readonly **keyboardType** — \"decimal-pad\" | \"number-pad\" | \"default\"\n- **text** — string\n- readonly **name** — string Form participation property\n- readonly **value** — string\n- readonly **valueAsNumber** — number | \"\"\n- readonly **negativeNumbersAllowed** — boolean",
|
|
497
710
|
"attributes": [
|
|
498
711
|
{
|
|
499
712
|
"name": "prompt"
|
|
@@ -538,7 +751,13 @@
|
|
|
538
751
|
},
|
|
539
752
|
{
|
|
540
753
|
"name": "toggle-view",
|
|
541
|
-
"
|
|
754
|
+
"references": [
|
|
755
|
+
{
|
|
756
|
+
"name": "Documentation",
|
|
757
|
+
"url": "https://swiftwc.github.io/ui/web-components/toggle-view"
|
|
758
|
+
}
|
|
759
|
+
],
|
|
760
|
+
"description": "### **Slots:**\n- **label**\n- **validity-options**\n\n### **Properties:**\n- readonly **toggleStyle** — \"button\" | \"switch\"\n- **isOn** — boolean\n- readonly **name** — string Form participation property\n- **value** — string | null",
|
|
542
761
|
"attributes": [
|
|
543
762
|
{
|
|
544
763
|
"name": "label"
|
|
@@ -565,11 +784,23 @@
|
|
|
565
784
|
},
|
|
566
785
|
{
|
|
567
786
|
"name": "tool-bar-item-group",
|
|
568
|
-
"
|
|
787
|
+
"references": [
|
|
788
|
+
{
|
|
789
|
+
"name": "Documentation",
|
|
790
|
+
"url": "https://swiftwc.github.io/ui/web-components/tool-bar-item-group"
|
|
791
|
+
}
|
|
792
|
+
],
|
|
793
|
+
"description": "A model that represents a group of `ToolbarItems` which can be placed in the toolbar or navigation bar.\n---"
|
|
569
794
|
},
|
|
570
795
|
{
|
|
571
796
|
"name": "tool-bar-item",
|
|
572
|
-
"
|
|
797
|
+
"references": [
|
|
798
|
+
{
|
|
799
|
+
"name": "Documentation",
|
|
800
|
+
"url": "https://swiftwc.github.io/ui/web-components/tool-bar-item"
|
|
801
|
+
}
|
|
802
|
+
],
|
|
803
|
+
"description": "",
|
|
573
804
|
"attributes": [
|
|
574
805
|
{
|
|
575
806
|
"name": "slot"
|
|
@@ -584,11 +815,23 @@
|
|
|
584
815
|
},
|
|
585
816
|
{
|
|
586
817
|
"name": "tool-bar",
|
|
587
|
-
"
|
|
818
|
+
"references": [
|
|
819
|
+
{
|
|
820
|
+
"name": "Documentation",
|
|
821
|
+
"url": "https://swiftwc.github.io/ui/web-components/tool-bar"
|
|
822
|
+
}
|
|
823
|
+
],
|
|
824
|
+
"description": "### **Slots:**\n- **cancellation-action** — The item represents a cancellation action for a modal interface. Places the item in the leading edge of the top bar and on the trailing edge of the bottom bar when fine modal\n- **primary-action** — The item represents a primary action. Places the item in the trailing edge of the top bar and on the trailing edge of the bottom bar when fine modal\n- **confirmation-action** — The item represents a confirmation action for a modal interface. Places the item in the trailing edge of the top bar and on the trailing edge of the bottom bar when fine modal\n- **destructive-action** — The item represents a destructive action for a modal interface. Places the item in the leading edge of the top bar and on the leading edge of the bottom bar when fine modal\n- **top-bar-leading** — Places the item in the leading edge of the top bar\n- **top-bar-principal** — Places the item in the middle of the top bar\n- **top-bar-trailing** — Places the item in the trailing edge of the top bar\n- **bottom-bar-leading** — Places the item in the leading edge of the bottom bar\n- **bottom-bar-principal** — Places the item in the middle of the bottom bar\n- **bottom-bar-trailing** — Places the item in the trailing edge of the bottom bar"
|
|
588
825
|
},
|
|
589
826
|
{
|
|
590
|
-
"name": "
|
|
591
|
-
"
|
|
827
|
+
"name": "v-keyboard",
|
|
828
|
+
"references": [
|
|
829
|
+
{
|
|
830
|
+
"name": "Documentation",
|
|
831
|
+
"url": "https://swiftwc.github.io/ui/web-components/v-keyboard"
|
|
832
|
+
}
|
|
833
|
+
],
|
|
834
|
+
"description": "BUG: Safari on IOS reports inaccurate innerHeight (which is what we really want) on orientationchange.\nSo we live with a pescy body-scrollbar that shows up on resize on desktops.\n---",
|
|
592
835
|
"attributes": [
|
|
593
836
|
{
|
|
594
837
|
"name": "system-font",
|
|
@@ -602,8 +845,14 @@
|
|
|
602
845
|
]
|
|
603
846
|
},
|
|
604
847
|
{
|
|
605
|
-
"name": "
|
|
606
|
-
"
|
|
848
|
+
"name": "v-stack",
|
|
849
|
+
"references": [
|
|
850
|
+
{
|
|
851
|
+
"name": "Documentation",
|
|
852
|
+
"url": "https://swiftwc.github.io/ui/web-components/v-stack"
|
|
853
|
+
}
|
|
854
|
+
],
|
|
855
|
+
"description": "",
|
|
607
856
|
"attributes": [
|
|
608
857
|
{
|
|
609
858
|
"name": "distribution",
|
|
@@ -630,8 +879,8 @@
|
|
|
630
879
|
]
|
|
631
880
|
},
|
|
632
881
|
{
|
|
633
|
-
"name": "template
|
|
634
|
-
"description": "\nDescription: axis grid template",
|
|
882
|
+
"name": "template",
|
|
883
|
+
"description": "\nDescription: The main-axis grid template",
|
|
635
884
|
"valueSet": "templateSet"
|
|
636
885
|
},
|
|
637
886
|
{
|
|
@@ -640,18 +889,18 @@
|
|
|
640
889
|
"valueSet": "spacingSet"
|
|
641
890
|
},
|
|
642
891
|
{
|
|
643
|
-
"name": "alignment
|
|
644
|
-
"description": "\nDescription: axis alignment",
|
|
892
|
+
"name": "alignment",
|
|
893
|
+
"description": "\nDescription: The cross-axis alignment",
|
|
645
894
|
"valueSet": "inlineSet"
|
|
646
895
|
},
|
|
647
896
|
{
|
|
648
|
-
"name": "distribution
|
|
649
|
-
"description": "\nDescription: axis alignment",
|
|
897
|
+
"name": "distribution",
|
|
898
|
+
"description": "\nDescription: The main-axis alignment",
|
|
650
899
|
"valueSet": "blockSet"
|
|
651
900
|
},
|
|
652
901
|
{
|
|
653
|
-
"name": "placement
|
|
654
|
-
"description": "\nDescription: axis alignment",
|
|
902
|
+
"name": "placement",
|
|
903
|
+
"description": "\nDescription: The main-axis alignment",
|
|
655
904
|
"valueSet": "blockPlacementSet"
|
|
656
905
|
}
|
|
657
906
|
]
|