vintage-frames 0.7.1 → 0.8.0
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/custom-elements.json +888 -60
- package/dist/components/vf-desktop.d.ts +4 -2
- package/dist/components/vf-desktop.js +2 -2
- package/dist/components/vf-dialog.d.ts +17 -20
- package/dist/components/vf-dialog.js +73 -135
- package/dist/components/vf-icon.d.ts +5 -0
- package/dist/components/vf-icon.js +12 -8
- package/dist/components/vf-scroll-area.d.ts +4 -2
- package/dist/components/vf-scroll-area.js +2 -2
- package/dist/components/vf-window.d.ts +4 -2
- package/dist/components/vf-window.js +5 -5
- package/dist/index.d.ts +1 -1
- package/dist/index.js +6 -6
- package/dist/position.d.ts +55 -6
- package/dist/position.js +120 -58
- package/docs/SPEC.md +12 -12
- package/editor/vscode.html-custom-data.json +158 -3
- package/editor/web-types.json +317 -11
- package/package.json +1 -1
package/custom-elements.json
CHANGED
|
@@ -109,6 +109,20 @@
|
|
|
109
109
|
"name": "VfPositioned",
|
|
110
110
|
"module": "src/position.ts"
|
|
111
111
|
}
|
|
112
|
+
},
|
|
113
|
+
{
|
|
114
|
+
"kind": "field",
|
|
115
|
+
"name": "origin",
|
|
116
|
+
"type": {
|
|
117
|
+
"text": "PlacementOrigin | null | undefined"
|
|
118
|
+
},
|
|
119
|
+
"description": "Which point of the element's own box `top`/`left` place: one of nine\nkeywords, vertical then horizontal — `top left` (the default), `top\ncenter`, `top right`, `center left`, `center`, `center right`, `bottom\nleft`, `bottom center`, `bottom right`. The point is measured in whole\nsystem px and kept current as the box changes; an odd size's leftover\nhalf goes toward the start. An unknown value places as `top left` and\nwarns once. On its own it places nothing.",
|
|
120
|
+
"attribute": "origin",
|
|
121
|
+
"reflects": true,
|
|
122
|
+
"inheritedFrom": {
|
|
123
|
+
"name": "VfPositioned",
|
|
124
|
+
"module": "src/position.ts"
|
|
125
|
+
}
|
|
112
126
|
}
|
|
113
127
|
],
|
|
114
128
|
"attributes": [
|
|
@@ -166,6 +180,18 @@
|
|
|
166
180
|
"name": "VfPositioned",
|
|
167
181
|
"module": "src/position.ts"
|
|
168
182
|
}
|
|
183
|
+
},
|
|
184
|
+
{
|
|
185
|
+
"name": "origin",
|
|
186
|
+
"type": {
|
|
187
|
+
"text": "PlacementOrigin | null | undefined"
|
|
188
|
+
},
|
|
189
|
+
"description": "Which point of the element's own box `top`/`left` place: one of nine\nkeywords, vertical then horizontal — `top left` (the default), `top\ncenter`, `top right`, `center left`, `center`, `center right`, `bottom\nleft`, `bottom center`, `bottom right`. The point is measured in whole\nsystem px and kept current as the box changes; an odd size's leftover\nhalf goes toward the start. An unknown value places as `top left` and\nwarns once. On its own it places nothing.",
|
|
190
|
+
"fieldName": "origin",
|
|
191
|
+
"inheritedFrom": {
|
|
192
|
+
"name": "VfPositioned",
|
|
193
|
+
"module": "src/position.ts"
|
|
194
|
+
}
|
|
169
195
|
}
|
|
170
196
|
],
|
|
171
197
|
"mixins": [
|
|
@@ -448,6 +474,20 @@
|
|
|
448
474
|
"module": "src/position.ts"
|
|
449
475
|
}
|
|
450
476
|
},
|
|
477
|
+
{
|
|
478
|
+
"kind": "field",
|
|
479
|
+
"name": "origin",
|
|
480
|
+
"type": {
|
|
481
|
+
"text": "PlacementOrigin | null | undefined"
|
|
482
|
+
},
|
|
483
|
+
"description": "Which point of the element's own box `top`/`left` place: one of nine\nkeywords, vertical then horizontal — `top left` (the default), `top\ncenter`, `top right`, `center left`, `center`, `center right`, `bottom\nleft`, `bottom center`, `bottom right`. The point is measured in whole\nsystem px and kept current as the box changes; an odd size's leftover\nhalf goes toward the start. An unknown value places as `top left` and\nwarns once. On its own it places nothing.",
|
|
484
|
+
"attribute": "origin",
|
|
485
|
+
"reflects": true,
|
|
486
|
+
"inheritedFrom": {
|
|
487
|
+
"name": "VfPositioned",
|
|
488
|
+
"module": "src/position.ts"
|
|
489
|
+
}
|
|
490
|
+
},
|
|
451
491
|
{
|
|
452
492
|
"kind": "field",
|
|
453
493
|
"name": "bridgedAriaAttributes",
|
|
@@ -1107,6 +1147,18 @@
|
|
|
1107
1147
|
"module": "src/position.ts"
|
|
1108
1148
|
}
|
|
1109
1149
|
},
|
|
1150
|
+
{
|
|
1151
|
+
"name": "origin",
|
|
1152
|
+
"type": {
|
|
1153
|
+
"text": "PlacementOrigin | null | undefined"
|
|
1154
|
+
},
|
|
1155
|
+
"description": "Which point of the element's own box `top`/`left` place: one of nine\nkeywords, vertical then horizontal — `top left` (the default), `top\ncenter`, `top right`, `center left`, `center`, `center right`, `bottom\nleft`, `bottom center`, `bottom right`. The point is measured in whole\nsystem px and kept current as the box changes; an odd size's leftover\nhalf goes toward the start. An unknown value places as `top left` and\nwarns once. On its own it places nothing.",
|
|
1156
|
+
"fieldName": "origin",
|
|
1157
|
+
"inheritedFrom": {
|
|
1158
|
+
"name": "VfPositioned",
|
|
1159
|
+
"module": "src/position.ts"
|
|
1160
|
+
}
|
|
1161
|
+
},
|
|
1110
1162
|
{
|
|
1111
1163
|
"name": "description",
|
|
1112
1164
|
"type": {
|
|
@@ -1422,6 +1474,20 @@
|
|
|
1422
1474
|
"module": "src/position.ts"
|
|
1423
1475
|
}
|
|
1424
1476
|
},
|
|
1477
|
+
{
|
|
1478
|
+
"kind": "field",
|
|
1479
|
+
"name": "origin",
|
|
1480
|
+
"type": {
|
|
1481
|
+
"text": "PlacementOrigin | null | undefined"
|
|
1482
|
+
},
|
|
1483
|
+
"description": "Which point of the element's own box `top`/`left` place: one of nine\nkeywords, vertical then horizontal — `top left` (the default), `top\ncenter`, `top right`, `center left`, `center`, `center right`, `bottom\nleft`, `bottom center`, `bottom right`. The point is measured in whole\nsystem px and kept current as the box changes; an odd size's leftover\nhalf goes toward the start. An unknown value places as `top left` and\nwarns once. On its own it places nothing.",
|
|
1484
|
+
"attribute": "origin",
|
|
1485
|
+
"reflects": true,
|
|
1486
|
+
"inheritedFrom": {
|
|
1487
|
+
"name": "VfPositioned",
|
|
1488
|
+
"module": "src/position.ts"
|
|
1489
|
+
}
|
|
1490
|
+
},
|
|
1425
1491
|
{
|
|
1426
1492
|
"kind": "field",
|
|
1427
1493
|
"name": "externallyCoordinated",
|
|
@@ -1988,6 +2054,18 @@
|
|
|
1988
2054
|
"module": "src/position.ts"
|
|
1989
2055
|
}
|
|
1990
2056
|
},
|
|
2057
|
+
{
|
|
2058
|
+
"name": "origin",
|
|
2059
|
+
"type": {
|
|
2060
|
+
"text": "PlacementOrigin | null | undefined"
|
|
2061
|
+
},
|
|
2062
|
+
"description": "Which point of the element's own box `top`/`left` place: one of nine\nkeywords, vertical then horizontal — `top left` (the default), `top\ncenter`, `top right`, `center left`, `center`, `center right`, `bottom\nleft`, `bottom center`, `bottom right`. The point is measured in whole\nsystem px and kept current as the box changes; an odd size's leftover\nhalf goes toward the start. An unknown value places as `top left` and\nwarns once. On its own it places nothing.",
|
|
2063
|
+
"fieldName": "origin",
|
|
2064
|
+
"inheritedFrom": {
|
|
2065
|
+
"name": "VfPositioned",
|
|
2066
|
+
"module": "src/position.ts"
|
|
2067
|
+
}
|
|
2068
|
+
},
|
|
1991
2069
|
{
|
|
1992
2070
|
"name": "disabled",
|
|
1993
2071
|
"type": {
|
|
@@ -2225,6 +2303,20 @@
|
|
|
2225
2303
|
"name": "VfPositioned",
|
|
2226
2304
|
"module": "src/position.ts"
|
|
2227
2305
|
}
|
|
2306
|
+
},
|
|
2307
|
+
{
|
|
2308
|
+
"kind": "field",
|
|
2309
|
+
"name": "origin",
|
|
2310
|
+
"type": {
|
|
2311
|
+
"text": "PlacementOrigin | null | undefined"
|
|
2312
|
+
},
|
|
2313
|
+
"description": "Which point of the element's own box `top`/`left` place: one of nine\nkeywords, vertical then horizontal — `top left` (the default), `top\ncenter`, `top right`, `center left`, `center`, `center right`, `bottom\nleft`, `bottom center`, `bottom right`. The point is measured in whole\nsystem px and kept current as the box changes; an odd size's leftover\nhalf goes toward the start. An unknown value places as `top left` and\nwarns once. On its own it places nothing.",
|
|
2314
|
+
"attribute": "origin",
|
|
2315
|
+
"reflects": true,
|
|
2316
|
+
"inheritedFrom": {
|
|
2317
|
+
"name": "VfPositioned",
|
|
2318
|
+
"module": "src/position.ts"
|
|
2319
|
+
}
|
|
2228
2320
|
}
|
|
2229
2321
|
],
|
|
2230
2322
|
"attributes": [
|
|
@@ -2304,6 +2396,18 @@
|
|
|
2304
2396
|
"name": "VfPositioned",
|
|
2305
2397
|
"module": "src/position.ts"
|
|
2306
2398
|
}
|
|
2399
|
+
},
|
|
2400
|
+
{
|
|
2401
|
+
"name": "origin",
|
|
2402
|
+
"type": {
|
|
2403
|
+
"text": "PlacementOrigin | null | undefined"
|
|
2404
|
+
},
|
|
2405
|
+
"description": "Which point of the element's own box `top`/`left` place: one of nine\nkeywords, vertical then horizontal — `top left` (the default), `top\ncenter`, `top right`, `center left`, `center`, `center right`, `bottom\nleft`, `bottom center`, `bottom right`. The point is measured in whole\nsystem px and kept current as the box changes; an odd size's leftover\nhalf goes toward the start. An unknown value places as `top left` and\nwarns once. On its own it places nothing.",
|
|
2406
|
+
"fieldName": "origin",
|
|
2407
|
+
"inheritedFrom": {
|
|
2408
|
+
"name": "VfPositioned",
|
|
2409
|
+
"module": "src/position.ts"
|
|
2410
|
+
}
|
|
2307
2411
|
}
|
|
2308
2412
|
],
|
|
2309
2413
|
"mixins": [
|
|
@@ -2459,9 +2563,16 @@
|
|
|
2459
2563
|
"type": {
|
|
2460
2564
|
"text": "number"
|
|
2461
2565
|
}
|
|
2566
|
+
},
|
|
2567
|
+
{
|
|
2568
|
+
"name": "child",
|
|
2569
|
+
"optional": true,
|
|
2570
|
+
"type": {
|
|
2571
|
+
"text": "Element"
|
|
2572
|
+
}
|
|
2462
2573
|
}
|
|
2463
2574
|
],
|
|
2464
|
-
"description": "A viewport point (CSS px) as a placement on the screen — `{ left, top }`\nin whole system px on the placement lattice, measured from the raster's\ncorner with the bezel excluded: the pair a child dropped onto the desktop\nis written with. The screen sits in the shadow tree, which is why the\nconversion is a method here."
|
|
2575
|
+
"description": "A viewport point (CSS px) as a placement on the screen — `{ left, top }`\nin whole system px on the placement lattice, measured from the raster's\ncorner with the bezel excluded: the pair a child dropped onto the desktop\nis written with. The screen sits in the shadow tree, which is why the\nconversion is a method here. With `child`, the pair to write to that\nelement: the offset its `origin` adds is folded in, so its box's corner\nlands on the point."
|
|
2465
2576
|
},
|
|
2466
2577
|
{
|
|
2467
2578
|
"kind": "field",
|
|
@@ -2919,6 +3030,20 @@
|
|
|
2919
3030
|
"name": "VfPositioned",
|
|
2920
3031
|
"module": "src/position.ts"
|
|
2921
3032
|
}
|
|
3033
|
+
},
|
|
3034
|
+
{
|
|
3035
|
+
"kind": "field",
|
|
3036
|
+
"name": "origin",
|
|
3037
|
+
"type": {
|
|
3038
|
+
"text": "PlacementOrigin | null | undefined"
|
|
3039
|
+
},
|
|
3040
|
+
"description": "Which point of the element's own box `top`/`left` place: one of nine\nkeywords, vertical then horizontal — `top left` (the default), `top\ncenter`, `top right`, `center left`, `center`, `center right`, `bottom\nleft`, `bottom center`, `bottom right`. The point is measured in whole\nsystem px and kept current as the box changes; an odd size's leftover\nhalf goes toward the start. An unknown value places as `top left` and\nwarns once. On its own it places nothing.",
|
|
3041
|
+
"attribute": "origin",
|
|
3042
|
+
"reflects": true,
|
|
3043
|
+
"inheritedFrom": {
|
|
3044
|
+
"name": "VfPositioned",
|
|
3045
|
+
"module": "src/position.ts"
|
|
3046
|
+
}
|
|
2922
3047
|
}
|
|
2923
3048
|
],
|
|
2924
3049
|
"events": [
|
|
@@ -2994,6 +3119,18 @@
|
|
|
2994
3119
|
"name": "VfPositioned",
|
|
2995
3120
|
"module": "src/position.ts"
|
|
2996
3121
|
}
|
|
3122
|
+
},
|
|
3123
|
+
{
|
|
3124
|
+
"name": "origin",
|
|
3125
|
+
"type": {
|
|
3126
|
+
"text": "PlacementOrigin | null | undefined"
|
|
3127
|
+
},
|
|
3128
|
+
"description": "Which point of the element's own box `top`/`left` place: one of nine\nkeywords, vertical then horizontal — `top left` (the default), `top\ncenter`, `top right`, `center left`, `center`, `center right`, `bottom\nleft`, `bottom center`, `bottom right`. The point is measured in whole\nsystem px and kept current as the box changes; an odd size's leftover\nhalf goes toward the start. An unknown value places as `top left` and\nwarns once. On its own it places nothing.",
|
|
3129
|
+
"fieldName": "origin",
|
|
3130
|
+
"inheritedFrom": {
|
|
3131
|
+
"name": "VfPositioned",
|
|
3132
|
+
"module": "src/position.ts"
|
|
3133
|
+
}
|
|
2997
3134
|
}
|
|
2998
3135
|
],
|
|
2999
3136
|
"mixins": [
|
|
@@ -3035,7 +3172,7 @@
|
|
|
3035
3172
|
"declarations": [
|
|
3036
3173
|
{
|
|
3037
3174
|
"kind": "class",
|
|
3038
|
-
"description": "`<vf-dialog>` — the System 7 modal dialog shell.\n\nTwo chromes, one modal lifecycle (native `<dialog>` for top-layer rendering\nand focus trapping, with a fully transparent backdrop — no dimming). Both\nare the same dBoxProc double frame — 1px outer rule, 2px gap, 2px inner\nband, no shadow (vfModalFrame):\n\n- **Default:** the movable modal (movableDBoxProc) — the striped title bar\n set into the top of that frame, with a centered title over a white body.\n Drag the title bar to move it. `closable` adds the standard close box\n (left of the bar) — the HIG's own figures disagree on whether a movable\n modal carries one (Figure 5-1 says yes, Figure 6-1 and the Chapter 6 text\n say no), so the component enables either reading rather than enforcing\n one.\n- **`frame=\"plain\"`:** the modal dialog box — the bare frame, no title bar —\n and immovable, like the original.
|
|
3175
|
+
"description": "`<vf-dialog>` — the System 7 modal dialog shell.\n\nTwo chromes, one modal lifecycle (native `<dialog>` for top-layer rendering\nand focus trapping, with a fully transparent backdrop — no dimming). Both\nare the same dBoxProc double frame — 1px outer rule, 2px gap, 2px inner\nband, no shadow (vfModalFrame):\n\n- **Default:** the movable modal (movableDBoxProc) — the striped title bar\n set into the top of that frame, with a centered title over a white body.\n Drag the title bar to move it. `closable` adds the standard close box\n (left of the bar) — the HIG's own figures disagree on whether a movable\n modal carries one (Figure 5-1 says yes, Figure 6-1 and the Chapter 6 text\n say no), so the component enables either reading rather than enforcing\n one.\n- **`frame=\"plain\"`:** the modal dialog box — the bare frame, no title bar —\n and immovable, like the original. With no bar, `heading` only names the\n dialog and `closable` is ignored.\n\nOpen it with `show()` (or set the `open` attribute/property); close with\n`close()`. Escape closes it and fires `vf-close` with\n`{ reason: 'escape' }`; the close box and programmatic closing fire\n`{ reason: 'close' }`. With `light-dismiss`, a click outside the frame\ncloses it too, with `{ reason: 'outside' }` — for the About box; off by\ndefault, since the classic modal ignored an outside click.\n\nKeyboard, the classic Dialog Manager's two rules (VfModalDialog):\non open, focus goes to the first text-entry control — a slotted control\nwith `autofocus` first — or, with none, to the default button\n(`vf-button variant=\"default\"`). Return or Enter activates the default\nbutton from anywhere in the dialog, a focused Cancel included; Space\npresses the focused control. A link keeps its own Enter, and in a\nmulti-line editor Return inserts the newline while the keypad's Enter\nactivates the button.\n\nSlotted children placed with `top`/`left` measure from the content region's\ncorner — the frame's inner edge, below the title bar — and flow content\nstarts at the same corner.",
|
|
3039
3176
|
"name": "VfDialog",
|
|
3040
3177
|
"cssProperties": [
|
|
3041
3178
|
{
|
|
@@ -3065,7 +3202,7 @@
|
|
|
3065
3202
|
"name": "title-bar"
|
|
3066
3203
|
},
|
|
3067
3204
|
{
|
|
3068
|
-
"description": "The centered title patch (
|
|
3205
|
+
"description": "The centered title patch (default chrome only).",
|
|
3069
3206
|
"name": "title"
|
|
3070
3207
|
},
|
|
3071
3208
|
{
|
|
@@ -3073,30 +3210,18 @@
|
|
|
3073
3210
|
"name": "close-box"
|
|
3074
3211
|
},
|
|
3075
3212
|
{
|
|
3076
|
-
"description": "The white content
|
|
3213
|
+
"description": "The white content region.",
|
|
3077
3214
|
"name": "body"
|
|
3078
3215
|
},
|
|
3079
3216
|
{
|
|
3080
|
-
"description": "The scrolling region inside the body (
|
|
3217
|
+
"description": "The scrolling region inside the body (the slotted content). Inert while the content fits; over-stuffed, it scrolls under a System 7 rail and becomes a keyboard stop.",
|
|
3081
3218
|
"name": "content"
|
|
3082
|
-
},
|
|
3083
|
-
{
|
|
3084
|
-
"description": "The action row wrapping the buttons.",
|
|
3085
|
-
"name": "footer"
|
|
3086
|
-
},
|
|
3087
|
-
{
|
|
3088
|
-
"description": "The button group inside the footer.",
|
|
3089
|
-
"name": "buttons"
|
|
3090
3219
|
}
|
|
3091
3220
|
],
|
|
3092
3221
|
"slots": [
|
|
3093
3222
|
{
|
|
3094
|
-
"description": "Default slot: dialog
|
|
3223
|
+
"description": "Default slot: the dialog's content.",
|
|
3095
3224
|
"name": ""
|
|
3096
|
-
},
|
|
3097
|
-
{
|
|
3098
|
-
"description": "Optional action buttons. Rendered as a bottom-right `vf-button-group` (equal-width, faces aligned); the footer only takes space when the slot is populated.",
|
|
3099
|
-
"name": "buttons"
|
|
3100
3225
|
}
|
|
3101
3226
|
],
|
|
3102
3227
|
"members": [
|
|
@@ -3123,7 +3248,7 @@
|
|
|
3123
3248
|
"text": "string"
|
|
3124
3249
|
},
|
|
3125
3250
|
"default": "''",
|
|
3126
|
-
"description": "Title text: the bar's centered patch,
|
|
3251
|
+
"description": "Title text: the bar's centered patch, and the dialog's accessible name.\nWith `frame=\"plain\"`, which has no bar, it only names the dialog.",
|
|
3127
3252
|
"attribute": "heading"
|
|
3128
3253
|
},
|
|
3129
3254
|
{
|
|
@@ -3133,7 +3258,7 @@
|
|
|
3133
3258
|
"text": "string"
|
|
3134
3259
|
},
|
|
3135
3260
|
"default": "''",
|
|
3136
|
-
"description": "Accessible name for the dialog (`aria-label`), for a dialog with no\n`heading` — an untitled title bar has no text to be named by. Ignored when\nempty and a `heading` is set (the
|
|
3261
|
+
"description": "Accessible name for the dialog (`aria-label`), for a dialog with no\n`heading` — an untitled title bar has no text to be named by. Ignored when\nempty and a `heading` is set (the heading names the dialog then);\ndefaults to `'Dialog'` when neither is given.",
|
|
3137
3262
|
"attribute": "label"
|
|
3138
3263
|
},
|
|
3139
3264
|
{
|
|
@@ -3157,16 +3282,6 @@
|
|
|
3157
3282
|
"attribute": "frame",
|
|
3158
3283
|
"reflects": true
|
|
3159
3284
|
},
|
|
3160
|
-
{
|
|
3161
|
-
"kind": "field",
|
|
3162
|
-
"name": "_hasButtons",
|
|
3163
|
-
"type": {
|
|
3164
|
-
"text": "boolean"
|
|
3165
|
-
},
|
|
3166
|
-
"privacy": "private",
|
|
3167
|
-
"default": "false",
|
|
3168
|
-
"description": "Whether the `buttons` slot has assigned content (drives the footer)."
|
|
3169
|
-
},
|
|
3170
3285
|
{
|
|
3171
3286
|
"kind": "field",
|
|
3172
3287
|
"name": "_content",
|
|
@@ -3222,24 +3337,6 @@
|
|
|
3222
3337
|
}
|
|
3223
3338
|
}
|
|
3224
3339
|
},
|
|
3225
|
-
{
|
|
3226
|
-
"kind": "method",
|
|
3227
|
-
"name": "_onButtonsSlotChange",
|
|
3228
|
-
"privacy": "private",
|
|
3229
|
-
"return": {
|
|
3230
|
-
"type": {
|
|
3231
|
-
"text": "void"
|
|
3232
|
-
}
|
|
3233
|
-
},
|
|
3234
|
-
"parameters": [
|
|
3235
|
-
{
|
|
3236
|
-
"name": "event",
|
|
3237
|
-
"type": {
|
|
3238
|
-
"text": "Event"
|
|
3239
|
-
}
|
|
3240
|
-
}
|
|
3241
|
-
]
|
|
3242
|
-
},
|
|
3243
3340
|
{
|
|
3244
3341
|
"kind": "field",
|
|
3245
3342
|
"name": "scale",
|
|
@@ -3805,7 +3902,7 @@
|
|
|
3805
3902
|
"text": "string"
|
|
3806
3903
|
},
|
|
3807
3904
|
"default": "''",
|
|
3808
|
-
"description": "Title text: the bar's centered patch,
|
|
3905
|
+
"description": "Title text: the bar's centered patch, and the dialog's accessible name.\nWith `frame=\"plain\"`, which has no bar, it only names the dialog.",
|
|
3809
3906
|
"fieldName": "heading"
|
|
3810
3907
|
},
|
|
3811
3908
|
{
|
|
@@ -3814,7 +3911,7 @@
|
|
|
3814
3911
|
"text": "string"
|
|
3815
3912
|
},
|
|
3816
3913
|
"default": "''",
|
|
3817
|
-
"description": "Accessible name for the dialog (`aria-label`), for a dialog with no\n`heading` — an untitled title bar has no text to be named by. Ignored when\nempty and a `heading` is set (the
|
|
3914
|
+
"description": "Accessible name for the dialog (`aria-label`), for a dialog with no\n`heading` — an untitled title bar has no text to be named by. Ignored when\nempty and a `heading` is set (the heading names the dialog then);\ndefaults to `'Dialog'` when neither is given.",
|
|
3818
3915
|
"fieldName": "label"
|
|
3819
3916
|
},
|
|
3820
3917
|
{
|
|
@@ -4065,6 +4162,20 @@
|
|
|
4065
4162
|
"name": "VfPositioned",
|
|
4066
4163
|
"module": "src/position.ts"
|
|
4067
4164
|
}
|
|
4165
|
+
},
|
|
4166
|
+
{
|
|
4167
|
+
"kind": "field",
|
|
4168
|
+
"name": "origin",
|
|
4169
|
+
"type": {
|
|
4170
|
+
"text": "PlacementOrigin | null | undefined"
|
|
4171
|
+
},
|
|
4172
|
+
"description": "Which point of the element's own box `top`/`left` place: one of nine\nkeywords, vertical then horizontal — `top left` (the default), `top\ncenter`, `top right`, `center left`, `center`, `center right`, `bottom\nleft`, `bottom center`, `bottom right`. The point is measured in whole\nsystem px and kept current as the box changes; an odd size's leftover\nhalf goes toward the start. An unknown value places as `top left` and\nwarns once. On its own it places nothing.",
|
|
4173
|
+
"attribute": "origin",
|
|
4174
|
+
"reflects": true,
|
|
4175
|
+
"inheritedFrom": {
|
|
4176
|
+
"name": "VfPositioned",
|
|
4177
|
+
"module": "src/position.ts"
|
|
4178
|
+
}
|
|
4068
4179
|
}
|
|
4069
4180
|
],
|
|
4070
4181
|
"attributes": [
|
|
@@ -4113,6 +4224,18 @@
|
|
|
4113
4224
|
"name": "VfPositioned",
|
|
4114
4225
|
"module": "src/position.ts"
|
|
4115
4226
|
}
|
|
4227
|
+
},
|
|
4228
|
+
{
|
|
4229
|
+
"name": "origin",
|
|
4230
|
+
"type": {
|
|
4231
|
+
"text": "PlacementOrigin | null | undefined"
|
|
4232
|
+
},
|
|
4233
|
+
"description": "Which point of the element's own box `top`/`left` place: one of nine\nkeywords, vertical then horizontal — `top left` (the default), `top\ncenter`, `top right`, `center left`, `center`, `center right`, `bottom\nleft`, `bottom center`, `bottom right`. The point is measured in whole\nsystem px and kept current as the box changes; an odd size's leftover\nhalf goes toward the start. An unknown value places as `top left` and\nwarns once. On its own it places nothing.",
|
|
4234
|
+
"fieldName": "origin",
|
|
4235
|
+
"inheritedFrom": {
|
|
4236
|
+
"name": "VfPositioned",
|
|
4237
|
+
"module": "src/position.ts"
|
|
4238
|
+
}
|
|
4116
4239
|
}
|
|
4117
4240
|
],
|
|
4118
4241
|
"mixins": [
|
|
@@ -4307,6 +4430,20 @@
|
|
|
4307
4430
|
"name": "VfPositioned",
|
|
4308
4431
|
"module": "src/position.ts"
|
|
4309
4432
|
}
|
|
4433
|
+
},
|
|
4434
|
+
{
|
|
4435
|
+
"kind": "field",
|
|
4436
|
+
"name": "origin",
|
|
4437
|
+
"type": {
|
|
4438
|
+
"text": "PlacementOrigin | null | undefined"
|
|
4439
|
+
},
|
|
4440
|
+
"description": "Which point of the element's own box `top`/`left` place: one of nine\nkeywords, vertical then horizontal — `top left` (the default), `top\ncenter`, `top right`, `center left`, `center`, `center right`, `bottom\nleft`, `bottom center`, `bottom right`. The point is measured in whole\nsystem px and kept current as the box changes; an odd size's leftover\nhalf goes toward the start. An unknown value places as `top left` and\nwarns once. On its own it places nothing.",
|
|
4441
|
+
"attribute": "origin",
|
|
4442
|
+
"reflects": true,
|
|
4443
|
+
"inheritedFrom": {
|
|
4444
|
+
"name": "VfPositioned",
|
|
4445
|
+
"module": "src/position.ts"
|
|
4446
|
+
}
|
|
4310
4447
|
}
|
|
4311
4448
|
],
|
|
4312
4449
|
"attributes": [
|
|
@@ -4408,6 +4545,18 @@
|
|
|
4408
4545
|
"name": "VfPositioned",
|
|
4409
4546
|
"module": "src/position.ts"
|
|
4410
4547
|
}
|
|
4548
|
+
},
|
|
4549
|
+
{
|
|
4550
|
+
"name": "origin",
|
|
4551
|
+
"type": {
|
|
4552
|
+
"text": "PlacementOrigin | null | undefined"
|
|
4553
|
+
},
|
|
4554
|
+
"description": "Which point of the element's own box `top`/`left` place: one of nine\nkeywords, vertical then horizontal — `top left` (the default), `top\ncenter`, `top right`, `center left`, `center`, `center right`, `bottom\nleft`, `bottom center`, `bottom right`. The point is measured in whole\nsystem px and kept current as the box changes; an odd size's leftover\nhalf goes toward the start. An unknown value places as `top left` and\nwarns once. On its own it places nothing.",
|
|
4555
|
+
"fieldName": "origin",
|
|
4556
|
+
"inheritedFrom": {
|
|
4557
|
+
"name": "VfPositioned",
|
|
4558
|
+
"module": "src/position.ts"
|
|
4559
|
+
}
|
|
4411
4560
|
}
|
|
4412
4561
|
],
|
|
4413
4562
|
"mixins": [
|
|
@@ -4810,6 +4959,20 @@
|
|
|
4810
4959
|
"name": "VfPositioned",
|
|
4811
4960
|
"module": "src/position.ts"
|
|
4812
4961
|
}
|
|
4962
|
+
},
|
|
4963
|
+
{
|
|
4964
|
+
"kind": "field",
|
|
4965
|
+
"name": "origin",
|
|
4966
|
+
"type": {
|
|
4967
|
+
"text": "PlacementOrigin | null | undefined"
|
|
4968
|
+
},
|
|
4969
|
+
"description": "Which point of the element's own box `top`/`left` place: one of nine\nkeywords, vertical then horizontal — `top left` (the default), `top\ncenter`, `top right`, `center left`, `center`, `center right`, `bottom\nleft`, `bottom center`, `bottom right`. The point is measured in whole\nsystem px and kept current as the box changes; an odd size's leftover\nhalf goes toward the start. An unknown value places as `top left` and\nwarns once. On its own it places nothing.",
|
|
4970
|
+
"attribute": "origin",
|
|
4971
|
+
"reflects": true,
|
|
4972
|
+
"inheritedFrom": {
|
|
4973
|
+
"name": "VfPositioned",
|
|
4974
|
+
"module": "src/position.ts"
|
|
4975
|
+
}
|
|
4813
4976
|
}
|
|
4814
4977
|
],
|
|
4815
4978
|
"attributes": [
|
|
@@ -4890,6 +5053,18 @@
|
|
|
4890
5053
|
"name": "VfPositioned",
|
|
4891
5054
|
"module": "src/position.ts"
|
|
4892
5055
|
}
|
|
5056
|
+
},
|
|
5057
|
+
{
|
|
5058
|
+
"name": "origin",
|
|
5059
|
+
"type": {
|
|
5060
|
+
"text": "PlacementOrigin | null | undefined"
|
|
5061
|
+
},
|
|
5062
|
+
"description": "Which point of the element's own box `top`/`left` place: one of nine\nkeywords, vertical then horizontal — `top left` (the default), `top\ncenter`, `top right`, `center left`, `center`, `center right`, `bottom\nleft`, `bottom center`, `bottom right`. The point is measured in whole\nsystem px and kept current as the box changes; an odd size's leftover\nhalf goes toward the start. An unknown value places as `top left` and\nwarns once. On its own it places nothing.",
|
|
5063
|
+
"fieldName": "origin",
|
|
5064
|
+
"inheritedFrom": {
|
|
5065
|
+
"name": "VfPositioned",
|
|
5066
|
+
"module": "src/position.ts"
|
|
5067
|
+
}
|
|
4893
5068
|
}
|
|
4894
5069
|
],
|
|
4895
5070
|
"mixins": [
|
|
@@ -5868,6 +6043,20 @@
|
|
|
5868
6043
|
"name": "VfPositioned",
|
|
5869
6044
|
"module": "src/position.ts"
|
|
5870
6045
|
}
|
|
6046
|
+
},
|
|
6047
|
+
{
|
|
6048
|
+
"kind": "field",
|
|
6049
|
+
"name": "origin",
|
|
6050
|
+
"type": {
|
|
6051
|
+
"text": "PlacementOrigin | null | undefined"
|
|
6052
|
+
},
|
|
6053
|
+
"description": "Which point of the element's own box `top`/`left` place: one of nine\nkeywords, vertical then horizontal — `top left` (the default), `top\ncenter`, `top right`, `center left`, `center`, `center right`, `bottom\nleft`, `bottom center`, `bottom right`. The point is measured in whole\nsystem px and kept current as the box changes; an odd size's leftover\nhalf goes toward the start. An unknown value places as `top left` and\nwarns once. On its own it places nothing.",
|
|
6054
|
+
"attribute": "origin",
|
|
6055
|
+
"reflects": true,
|
|
6056
|
+
"inheritedFrom": {
|
|
6057
|
+
"name": "VfPositioned",
|
|
6058
|
+
"module": "src/position.ts"
|
|
6059
|
+
}
|
|
5871
6060
|
}
|
|
5872
6061
|
],
|
|
5873
6062
|
"events": [
|
|
@@ -6043,6 +6232,18 @@
|
|
|
6043
6232
|
"name": "VfPositioned",
|
|
6044
6233
|
"module": "src/position.ts"
|
|
6045
6234
|
}
|
|
6235
|
+
},
|
|
6236
|
+
{
|
|
6237
|
+
"name": "origin",
|
|
6238
|
+
"type": {
|
|
6239
|
+
"text": "PlacementOrigin | null | undefined"
|
|
6240
|
+
},
|
|
6241
|
+
"description": "Which point of the element's own box `top`/`left` place: one of nine\nkeywords, vertical then horizontal — `top left` (the default), `top\ncenter`, `top right`, `center left`, `center`, `center right`, `bottom\nleft`, `bottom center`, `bottom right`. The point is measured in whole\nsystem px and kept current as the box changes; an odd size's leftover\nhalf goes toward the start. An unknown value places as `top left` and\nwarns once. On its own it places nothing.",
|
|
6242
|
+
"fieldName": "origin",
|
|
6243
|
+
"inheritedFrom": {
|
|
6244
|
+
"name": "VfPositioned",
|
|
6245
|
+
"module": "src/position.ts"
|
|
6246
|
+
}
|
|
6046
6247
|
}
|
|
6047
6248
|
],
|
|
6048
6249
|
"mixins": [
|
|
@@ -6233,6 +6434,20 @@
|
|
|
6233
6434
|
"name": "VfPositioned",
|
|
6234
6435
|
"module": "src/position.ts"
|
|
6235
6436
|
}
|
|
6437
|
+
},
|
|
6438
|
+
{
|
|
6439
|
+
"kind": "field",
|
|
6440
|
+
"name": "origin",
|
|
6441
|
+
"type": {
|
|
6442
|
+
"text": "PlacementOrigin | null | undefined"
|
|
6443
|
+
},
|
|
6444
|
+
"description": "Which point of the element's own box `top`/`left` place: one of nine\nkeywords, vertical then horizontal — `top left` (the default), `top\ncenter`, `top right`, `center left`, `center`, `center right`, `bottom\nleft`, `bottom center`, `bottom right`. The point is measured in whole\nsystem px and kept current as the box changes; an odd size's leftover\nhalf goes toward the start. An unknown value places as `top left` and\nwarns once. On its own it places nothing.",
|
|
6445
|
+
"attribute": "origin",
|
|
6446
|
+
"reflects": true,
|
|
6447
|
+
"inheritedFrom": {
|
|
6448
|
+
"name": "VfPositioned",
|
|
6449
|
+
"module": "src/position.ts"
|
|
6450
|
+
}
|
|
6236
6451
|
}
|
|
6237
6452
|
],
|
|
6238
6453
|
"attributes": [
|
|
@@ -6288,6 +6503,18 @@
|
|
|
6288
6503
|
"name": "VfPositioned",
|
|
6289
6504
|
"module": "src/position.ts"
|
|
6290
6505
|
}
|
|
6506
|
+
},
|
|
6507
|
+
{
|
|
6508
|
+
"name": "origin",
|
|
6509
|
+
"type": {
|
|
6510
|
+
"text": "PlacementOrigin | null | undefined"
|
|
6511
|
+
},
|
|
6512
|
+
"description": "Which point of the element's own box `top`/`left` place: one of nine\nkeywords, vertical then horizontal — `top left` (the default), `top\ncenter`, `top right`, `center left`, `center`, `center right`, `bottom\nleft`, `bottom center`, `bottom right`. The point is measured in whole\nsystem px and kept current as the box changes; an odd size's leftover\nhalf goes toward the start. An unknown value places as `top left` and\nwarns once. On its own it places nothing.",
|
|
6513
|
+
"fieldName": "origin",
|
|
6514
|
+
"inheritedFrom": {
|
|
6515
|
+
"name": "VfPositioned",
|
|
6516
|
+
"module": "src/position.ts"
|
|
6517
|
+
}
|
|
6291
6518
|
}
|
|
6292
6519
|
],
|
|
6293
6520
|
"mixins": [
|
|
@@ -6540,6 +6767,20 @@
|
|
|
6540
6767
|
"name": "VfPositioned",
|
|
6541
6768
|
"module": "src/position.ts"
|
|
6542
6769
|
}
|
|
6770
|
+
},
|
|
6771
|
+
{
|
|
6772
|
+
"kind": "field",
|
|
6773
|
+
"name": "origin",
|
|
6774
|
+
"type": {
|
|
6775
|
+
"text": "PlacementOrigin | null | undefined"
|
|
6776
|
+
},
|
|
6777
|
+
"description": "Which point of the element's own box `top`/`left` place: one of nine\nkeywords, vertical then horizontal — `top left` (the default), `top\ncenter`, `top right`, `center left`, `center`, `center right`, `bottom\nleft`, `bottom center`, `bottom right`. The point is measured in whole\nsystem px and kept current as the box changes; an odd size's leftover\nhalf goes toward the start. An unknown value places as `top left` and\nwarns once. On its own it places nothing.",
|
|
6778
|
+
"attribute": "origin",
|
|
6779
|
+
"reflects": true,
|
|
6780
|
+
"inheritedFrom": {
|
|
6781
|
+
"name": "VfPositioned",
|
|
6782
|
+
"module": "src/position.ts"
|
|
6783
|
+
}
|
|
6543
6784
|
}
|
|
6544
6785
|
],
|
|
6545
6786
|
"attributes": [
|
|
@@ -6628,6 +6869,18 @@
|
|
|
6628
6869
|
"name": "VfPositioned",
|
|
6629
6870
|
"module": "src/position.ts"
|
|
6630
6871
|
}
|
|
6872
|
+
},
|
|
6873
|
+
{
|
|
6874
|
+
"name": "origin",
|
|
6875
|
+
"type": {
|
|
6876
|
+
"text": "PlacementOrigin | null | undefined"
|
|
6877
|
+
},
|
|
6878
|
+
"description": "Which point of the element's own box `top`/`left` place: one of nine\nkeywords, vertical then horizontal — `top left` (the default), `top\ncenter`, `top right`, `center left`, `center`, `center right`, `bottom\nleft`, `bottom center`, `bottom right`. The point is measured in whole\nsystem px and kept current as the box changes; an odd size's leftover\nhalf goes toward the start. An unknown value places as `top left` and\nwarns once. On its own it places nothing.",
|
|
6879
|
+
"fieldName": "origin",
|
|
6880
|
+
"inheritedFrom": {
|
|
6881
|
+
"name": "VfPositioned",
|
|
6882
|
+
"module": "src/position.ts"
|
|
6883
|
+
}
|
|
6631
6884
|
}
|
|
6632
6885
|
],
|
|
6633
6886
|
"mixins": [
|
|
@@ -6795,6 +7048,20 @@
|
|
|
6795
7048
|
"name": "VfPositioned",
|
|
6796
7049
|
"module": "src/position.ts"
|
|
6797
7050
|
}
|
|
7051
|
+
},
|
|
7052
|
+
{
|
|
7053
|
+
"kind": "field",
|
|
7054
|
+
"name": "origin",
|
|
7055
|
+
"type": {
|
|
7056
|
+
"text": "PlacementOrigin | null | undefined"
|
|
7057
|
+
},
|
|
7058
|
+
"description": "Which point of the element's own box `top`/`left` place: one of nine\nkeywords, vertical then horizontal — `top left` (the default), `top\ncenter`, `top right`, `center left`, `center`, `center right`, `bottom\nleft`, `bottom center`, `bottom right`. The point is measured in whole\nsystem px and kept current as the box changes; an odd size's leftover\nhalf goes toward the start. An unknown value places as `top left` and\nwarns once. On its own it places nothing.",
|
|
7059
|
+
"attribute": "origin",
|
|
7060
|
+
"reflects": true,
|
|
7061
|
+
"inheritedFrom": {
|
|
7062
|
+
"name": "VfPositioned",
|
|
7063
|
+
"module": "src/position.ts"
|
|
7064
|
+
}
|
|
6798
7065
|
}
|
|
6799
7066
|
],
|
|
6800
7067
|
"attributes": [
|
|
@@ -6861,6 +7128,18 @@
|
|
|
6861
7128
|
"name": "VfPositioned",
|
|
6862
7129
|
"module": "src/position.ts"
|
|
6863
7130
|
}
|
|
7131
|
+
},
|
|
7132
|
+
{
|
|
7133
|
+
"name": "origin",
|
|
7134
|
+
"type": {
|
|
7135
|
+
"text": "PlacementOrigin | null | undefined"
|
|
7136
|
+
},
|
|
7137
|
+
"description": "Which point of the element's own box `top`/`left` place: one of nine\nkeywords, vertical then horizontal — `top left` (the default), `top\ncenter`, `top right`, `center left`, `center`, `center right`, `bottom\nleft`, `bottom center`, `bottom right`. The point is measured in whole\nsystem px and kept current as the box changes; an odd size's leftover\nhalf goes toward the start. An unknown value places as `top left` and\nwarns once. On its own it places nothing.",
|
|
7138
|
+
"fieldName": "origin",
|
|
7139
|
+
"inheritedFrom": {
|
|
7140
|
+
"name": "VfPositioned",
|
|
7141
|
+
"module": "src/position.ts"
|
|
7142
|
+
}
|
|
6864
7143
|
}
|
|
6865
7144
|
],
|
|
6866
7145
|
"mixins": [
|
|
@@ -7342,6 +7621,20 @@
|
|
|
7342
7621
|
"name": "VfPositioned",
|
|
7343
7622
|
"module": "src/position.ts"
|
|
7344
7623
|
}
|
|
7624
|
+
},
|
|
7625
|
+
{
|
|
7626
|
+
"kind": "field",
|
|
7627
|
+
"name": "origin",
|
|
7628
|
+
"type": {
|
|
7629
|
+
"text": "PlacementOrigin | null | undefined"
|
|
7630
|
+
},
|
|
7631
|
+
"description": "Which point of the element's own box `top`/`left` place: one of nine\nkeywords, vertical then horizontal — `top left` (the default), `top\ncenter`, `top right`, `center left`, `center`, `center right`, `bottom\nleft`, `bottom center`, `bottom right`. The point is measured in whole\nsystem px and kept current as the box changes; an odd size's leftover\nhalf goes toward the start. An unknown value places as `top left` and\nwarns once. On its own it places nothing.",
|
|
7632
|
+
"attribute": "origin",
|
|
7633
|
+
"reflects": true,
|
|
7634
|
+
"inheritedFrom": {
|
|
7635
|
+
"name": "VfPositioned",
|
|
7636
|
+
"module": "src/position.ts"
|
|
7637
|
+
}
|
|
7345
7638
|
}
|
|
7346
7639
|
],
|
|
7347
7640
|
"events": [
|
|
@@ -7423,6 +7716,18 @@
|
|
|
7423
7716
|
"name": "VfPositioned",
|
|
7424
7717
|
"module": "src/position.ts"
|
|
7425
7718
|
}
|
|
7719
|
+
},
|
|
7720
|
+
{
|
|
7721
|
+
"name": "origin",
|
|
7722
|
+
"type": {
|
|
7723
|
+
"text": "PlacementOrigin | null | undefined"
|
|
7724
|
+
},
|
|
7725
|
+
"description": "Which point of the element's own box `top`/`left` place: one of nine\nkeywords, vertical then horizontal — `top left` (the default), `top\ncenter`, `top right`, `center left`, `center`, `center right`, `bottom\nleft`, `bottom center`, `bottom right`. The point is measured in whole\nsystem px and kept current as the box changes; an odd size's leftover\nhalf goes toward the start. An unknown value places as `top left` and\nwarns once. On its own it places nothing.",
|
|
7726
|
+
"fieldName": "origin",
|
|
7727
|
+
"inheritedFrom": {
|
|
7728
|
+
"name": "VfPositioned",
|
|
7729
|
+
"module": "src/position.ts"
|
|
7730
|
+
}
|
|
7426
7731
|
}
|
|
7427
7732
|
],
|
|
7428
7733
|
"mixins": [
|
|
@@ -7794,6 +8099,20 @@
|
|
|
7794
8099
|
"name": "VfPositioned",
|
|
7795
8100
|
"module": "src/position.ts"
|
|
7796
8101
|
}
|
|
8102
|
+
},
|
|
8103
|
+
{
|
|
8104
|
+
"kind": "field",
|
|
8105
|
+
"name": "origin",
|
|
8106
|
+
"type": {
|
|
8107
|
+
"text": "PlacementOrigin | null | undefined"
|
|
8108
|
+
},
|
|
8109
|
+
"description": "Which point of the element's own box `top`/`left` place: one of nine\nkeywords, vertical then horizontal — `top left` (the default), `top\ncenter`, `top right`, `center left`, `center`, `center right`, `bottom\nleft`, `bottom center`, `bottom right`. The point is measured in whole\nsystem px and kept current as the box changes; an odd size's leftover\nhalf goes toward the start. An unknown value places as `top left` and\nwarns once. On its own it places nothing.",
|
|
8110
|
+
"attribute": "origin",
|
|
8111
|
+
"reflects": true,
|
|
8112
|
+
"inheritedFrom": {
|
|
8113
|
+
"name": "VfPositioned",
|
|
8114
|
+
"module": "src/position.ts"
|
|
8115
|
+
}
|
|
7797
8116
|
}
|
|
7798
8117
|
],
|
|
7799
8118
|
"attributes": [
|
|
@@ -7860,6 +8179,18 @@
|
|
|
7860
8179
|
"name": "VfPositioned",
|
|
7861
8180
|
"module": "src/position.ts"
|
|
7862
8181
|
}
|
|
8182
|
+
},
|
|
8183
|
+
{
|
|
8184
|
+
"name": "origin",
|
|
8185
|
+
"type": {
|
|
8186
|
+
"text": "PlacementOrigin | null | undefined"
|
|
8187
|
+
},
|
|
8188
|
+
"description": "Which point of the element's own box `top`/`left` place: one of nine\nkeywords, vertical then horizontal — `top left` (the default), `top\ncenter`, `top right`, `center left`, `center`, `center right`, `bottom\nleft`, `bottom center`, `bottom right`. The point is measured in whole\nsystem px and kept current as the box changes; an odd size's leftover\nhalf goes toward the start. An unknown value places as `top left` and\nwarns once. On its own it places nothing.",
|
|
8189
|
+
"fieldName": "origin",
|
|
8190
|
+
"inheritedFrom": {
|
|
8191
|
+
"name": "VfPositioned",
|
|
8192
|
+
"module": "src/position.ts"
|
|
8193
|
+
}
|
|
7863
8194
|
}
|
|
7864
8195
|
],
|
|
7865
8196
|
"mixins": [
|
|
@@ -8225,6 +8556,20 @@
|
|
|
8225
8556
|
"name": "VfPositioned",
|
|
8226
8557
|
"module": "src/position.ts"
|
|
8227
8558
|
}
|
|
8559
|
+
},
|
|
8560
|
+
{
|
|
8561
|
+
"kind": "field",
|
|
8562
|
+
"name": "origin",
|
|
8563
|
+
"type": {
|
|
8564
|
+
"text": "PlacementOrigin | null | undefined"
|
|
8565
|
+
},
|
|
8566
|
+
"description": "Which point of the element's own box `top`/`left` place: one of nine\nkeywords, vertical then horizontal — `top left` (the default), `top\ncenter`, `top right`, `center left`, `center`, `center right`, `bottom\nleft`, `bottom center`, `bottom right`. The point is measured in whole\nsystem px and kept current as the box changes; an odd size's leftover\nhalf goes toward the start. An unknown value places as `top left` and\nwarns once. On its own it places nothing.",
|
|
8567
|
+
"attribute": "origin",
|
|
8568
|
+
"reflects": true,
|
|
8569
|
+
"inheritedFrom": {
|
|
8570
|
+
"name": "VfPositioned",
|
|
8571
|
+
"module": "src/position.ts"
|
|
8572
|
+
}
|
|
8228
8573
|
}
|
|
8229
8574
|
],
|
|
8230
8575
|
"events": [
|
|
@@ -8323,6 +8668,18 @@
|
|
|
8323
8668
|
"name": "VfPositioned",
|
|
8324
8669
|
"module": "src/position.ts"
|
|
8325
8670
|
}
|
|
8671
|
+
},
|
|
8672
|
+
{
|
|
8673
|
+
"name": "origin",
|
|
8674
|
+
"type": {
|
|
8675
|
+
"text": "PlacementOrigin | null | undefined"
|
|
8676
|
+
},
|
|
8677
|
+
"description": "Which point of the element's own box `top`/`left` place: one of nine\nkeywords, vertical then horizontal — `top left` (the default), `top\ncenter`, `top right`, `center left`, `center`, `center right`, `bottom\nleft`, `bottom center`, `bottom right`. The point is measured in whole\nsystem px and kept current as the box changes; an odd size's leftover\nhalf goes toward the start. An unknown value places as `top left` and\nwarns once. On its own it places nothing.",
|
|
8678
|
+
"fieldName": "origin",
|
|
8679
|
+
"inheritedFrom": {
|
|
8680
|
+
"name": "VfPositioned",
|
|
8681
|
+
"module": "src/position.ts"
|
|
8682
|
+
}
|
|
8326
8683
|
}
|
|
8327
8684
|
],
|
|
8328
8685
|
"mixins": [
|
|
@@ -8798,6 +9155,20 @@
|
|
|
8798
9155
|
"name": "VfPositioned",
|
|
8799
9156
|
"module": "src/position.ts"
|
|
8800
9157
|
}
|
|
9158
|
+
},
|
|
9159
|
+
{
|
|
9160
|
+
"kind": "field",
|
|
9161
|
+
"name": "origin",
|
|
9162
|
+
"type": {
|
|
9163
|
+
"text": "PlacementOrigin | null | undefined"
|
|
9164
|
+
},
|
|
9165
|
+
"description": "Which point of the element's own box `top`/`left` place: one of nine\nkeywords, vertical then horizontal — `top left` (the default), `top\ncenter`, `top right`, `center left`, `center`, `center right`, `bottom\nleft`, `bottom center`, `bottom right`. The point is measured in whole\nsystem px and kept current as the box changes; an odd size's leftover\nhalf goes toward the start. An unknown value places as `top left` and\nwarns once. On its own it places nothing.",
|
|
9166
|
+
"attribute": "origin",
|
|
9167
|
+
"reflects": true,
|
|
9168
|
+
"inheritedFrom": {
|
|
9169
|
+
"name": "VfPositioned",
|
|
9170
|
+
"module": "src/position.ts"
|
|
9171
|
+
}
|
|
8801
9172
|
}
|
|
8802
9173
|
],
|
|
8803
9174
|
"attributes": [
|
|
@@ -8864,6 +9235,18 @@
|
|
|
8864
9235
|
"name": "VfPositioned",
|
|
8865
9236
|
"module": "src/position.ts"
|
|
8866
9237
|
}
|
|
9238
|
+
},
|
|
9239
|
+
{
|
|
9240
|
+
"name": "origin",
|
|
9241
|
+
"type": {
|
|
9242
|
+
"text": "PlacementOrigin | null | undefined"
|
|
9243
|
+
},
|
|
9244
|
+
"description": "Which point of the element's own box `top`/`left` place: one of nine\nkeywords, vertical then horizontal — `top left` (the default), `top\ncenter`, `top right`, `center left`, `center`, `center right`, `bottom\nleft`, `bottom center`, `bottom right`. The point is measured in whole\nsystem px and kept current as the box changes; an odd size's leftover\nhalf goes toward the start. An unknown value places as `top left` and\nwarns once. On its own it places nothing.",
|
|
9245
|
+
"fieldName": "origin",
|
|
9246
|
+
"inheritedFrom": {
|
|
9247
|
+
"name": "VfPositioned",
|
|
9248
|
+
"module": "src/position.ts"
|
|
9249
|
+
}
|
|
8867
9250
|
}
|
|
8868
9251
|
],
|
|
8869
9252
|
"mixins": [
|
|
@@ -9174,6 +9557,20 @@
|
|
|
9174
9557
|
"module": "src/position.ts"
|
|
9175
9558
|
}
|
|
9176
9559
|
},
|
|
9560
|
+
{
|
|
9561
|
+
"kind": "field",
|
|
9562
|
+
"name": "origin",
|
|
9563
|
+
"type": {
|
|
9564
|
+
"text": "PlacementOrigin | null | undefined"
|
|
9565
|
+
},
|
|
9566
|
+
"description": "Which point of the element's own box `top`/`left` place: one of nine\nkeywords, vertical then horizontal — `top left` (the default), `top\ncenter`, `top right`, `center left`, `center`, `center right`, `bottom\nleft`, `bottom center`, `bottom right`. The point is measured in whole\nsystem px and kept current as the box changes; an odd size's leftover\nhalf goes toward the start. An unknown value places as `top left` and\nwarns once. On its own it places nothing.",
|
|
9567
|
+
"attribute": "origin",
|
|
9568
|
+
"reflects": true,
|
|
9569
|
+
"inheritedFrom": {
|
|
9570
|
+
"name": "VfPositioned",
|
|
9571
|
+
"module": "src/position.ts"
|
|
9572
|
+
}
|
|
9573
|
+
},
|
|
9177
9574
|
{
|
|
9178
9575
|
"kind": "field",
|
|
9179
9576
|
"name": "shadowRootOptions",
|
|
@@ -10099,6 +10496,18 @@
|
|
|
10099
10496
|
"module": "src/position.ts"
|
|
10100
10497
|
}
|
|
10101
10498
|
},
|
|
10499
|
+
{
|
|
10500
|
+
"name": "origin",
|
|
10501
|
+
"type": {
|
|
10502
|
+
"text": "PlacementOrigin | null | undefined"
|
|
10503
|
+
},
|
|
10504
|
+
"description": "Which point of the element's own box `top`/`left` place: one of nine\nkeywords, vertical then horizontal — `top left` (the default), `top\ncenter`, `top right`, `center left`, `center`, `center right`, `bottom\nleft`, `bottom center`, `bottom right`. The point is measured in whole\nsystem px and kept current as the box changes; an odd size's leftover\nhalf goes toward the start. An unknown value places as `top left` and\nwarns once. On its own it places nothing.",
|
|
10505
|
+
"fieldName": "origin",
|
|
10506
|
+
"inheritedFrom": {
|
|
10507
|
+
"name": "VfPositioned",
|
|
10508
|
+
"module": "src/position.ts"
|
|
10509
|
+
}
|
|
10510
|
+
},
|
|
10102
10511
|
{
|
|
10103
10512
|
"name": "value",
|
|
10104
10513
|
"type": {
|
|
@@ -10369,6 +10778,20 @@
|
|
|
10369
10778
|
"name": "VfPositioned",
|
|
10370
10779
|
"module": "src/position.ts"
|
|
10371
10780
|
}
|
|
10781
|
+
},
|
|
10782
|
+
{
|
|
10783
|
+
"kind": "field",
|
|
10784
|
+
"name": "origin",
|
|
10785
|
+
"type": {
|
|
10786
|
+
"text": "PlacementOrigin | null | undefined"
|
|
10787
|
+
},
|
|
10788
|
+
"description": "Which point of the element's own box `top`/`left` place: one of nine\nkeywords, vertical then horizontal — `top left` (the default), `top\ncenter`, `top right`, `center left`, `center`, `center right`, `bottom\nleft`, `bottom center`, `bottom right`. The point is measured in whole\nsystem px and kept current as the box changes; an odd size's leftover\nhalf goes toward the start. An unknown value places as `top left` and\nwarns once. On its own it places nothing.",
|
|
10789
|
+
"attribute": "origin",
|
|
10790
|
+
"reflects": true,
|
|
10791
|
+
"inheritedFrom": {
|
|
10792
|
+
"name": "VfPositioned",
|
|
10793
|
+
"module": "src/position.ts"
|
|
10794
|
+
}
|
|
10372
10795
|
}
|
|
10373
10796
|
],
|
|
10374
10797
|
"attributes": [
|
|
@@ -10444,6 +10867,18 @@
|
|
|
10444
10867
|
"name": "VfPositioned",
|
|
10445
10868
|
"module": "src/position.ts"
|
|
10446
10869
|
}
|
|
10870
|
+
},
|
|
10871
|
+
{
|
|
10872
|
+
"name": "origin",
|
|
10873
|
+
"type": {
|
|
10874
|
+
"text": "PlacementOrigin | null | undefined"
|
|
10875
|
+
},
|
|
10876
|
+
"description": "Which point of the element's own box `top`/`left` place: one of nine\nkeywords, vertical then horizontal — `top left` (the default), `top\ncenter`, `top right`, `center left`, `center`, `center right`, `bottom\nleft`, `bottom center`, `bottom right`. The point is measured in whole\nsystem px and kept current as the box changes; an odd size's leftover\nhalf goes toward the start. An unknown value places as `top left` and\nwarns once. On its own it places nothing.",
|
|
10877
|
+
"fieldName": "origin",
|
|
10878
|
+
"inheritedFrom": {
|
|
10879
|
+
"name": "VfPositioned",
|
|
10880
|
+
"module": "src/position.ts"
|
|
10881
|
+
}
|
|
10447
10882
|
}
|
|
10448
10883
|
],
|
|
10449
10884
|
"mixins": [
|
|
@@ -10617,6 +11052,20 @@
|
|
|
10617
11052
|
"name": "VfPositioned",
|
|
10618
11053
|
"module": "src/position.ts"
|
|
10619
11054
|
}
|
|
11055
|
+
},
|
|
11056
|
+
{
|
|
11057
|
+
"kind": "field",
|
|
11058
|
+
"name": "origin",
|
|
11059
|
+
"type": {
|
|
11060
|
+
"text": "PlacementOrigin | null | undefined"
|
|
11061
|
+
},
|
|
11062
|
+
"description": "Which point of the element's own box `top`/`left` place: one of nine\nkeywords, vertical then horizontal — `top left` (the default), `top\ncenter`, `top right`, `center left`, `center`, `center right`, `bottom\nleft`, `bottom center`, `bottom right`. The point is measured in whole\nsystem px and kept current as the box changes; an odd size's leftover\nhalf goes toward the start. An unknown value places as `top left` and\nwarns once. On its own it places nothing.",
|
|
11063
|
+
"attribute": "origin",
|
|
11064
|
+
"reflects": true,
|
|
11065
|
+
"inheritedFrom": {
|
|
11066
|
+
"name": "VfPositioned",
|
|
11067
|
+
"module": "src/position.ts"
|
|
11068
|
+
}
|
|
10620
11069
|
}
|
|
10621
11070
|
],
|
|
10622
11071
|
"attributes": [
|
|
@@ -10688,11 +11137,23 @@
|
|
|
10688
11137
|
{
|
|
10689
11138
|
"name": "fixed",
|
|
10690
11139
|
"type": {
|
|
10691
|
-
"text": "boolean"
|
|
11140
|
+
"text": "boolean"
|
|
11141
|
+
},
|
|
11142
|
+
"default": "false",
|
|
11143
|
+
"description": "Hold the placement against the visible region of the nearest scrolling\nancestor: the element keeps its stated `top`/`left` while the content\nscrolls under it, and the flag alone places it at (0,0). It comes\nbefore the flow content in its parent. Where nothing scrolls it renders\nexactly as placed.",
|
|
11144
|
+
"fieldName": "fixed",
|
|
11145
|
+
"inheritedFrom": {
|
|
11146
|
+
"name": "VfPositioned",
|
|
11147
|
+
"module": "src/position.ts"
|
|
11148
|
+
}
|
|
11149
|
+
},
|
|
11150
|
+
{
|
|
11151
|
+
"name": "origin",
|
|
11152
|
+
"type": {
|
|
11153
|
+
"text": "PlacementOrigin | null | undefined"
|
|
10692
11154
|
},
|
|
10693
|
-
"
|
|
10694
|
-
"
|
|
10695
|
-
"fieldName": "fixed",
|
|
11155
|
+
"description": "Which point of the element's own box `top`/`left` place: one of nine\nkeywords, vertical then horizontal — `top left` (the default), `top\ncenter`, `top right`, `center left`, `center`, `center right`, `bottom\nleft`, `bottom center`, `bottom right`. The point is measured in whole\nsystem px and kept current as the box changes; an odd size's leftover\nhalf goes toward the start. An unknown value places as `top left` and\nwarns once. On its own it places nothing.",
|
|
11156
|
+
"fieldName": "origin",
|
|
10696
11157
|
"inheritedFrom": {
|
|
10697
11158
|
"name": "VfPositioned",
|
|
10698
11159
|
"module": "src/position.ts"
|
|
@@ -10944,6 +11405,20 @@
|
|
|
10944
11405
|
"name": "VfPositioned",
|
|
10945
11406
|
"module": "src/position.ts"
|
|
10946
11407
|
}
|
|
11408
|
+
},
|
|
11409
|
+
{
|
|
11410
|
+
"kind": "field",
|
|
11411
|
+
"name": "origin",
|
|
11412
|
+
"type": {
|
|
11413
|
+
"text": "PlacementOrigin | null | undefined"
|
|
11414
|
+
},
|
|
11415
|
+
"description": "Which point of the element's own box `top`/`left` place: one of nine\nkeywords, vertical then horizontal — `top left` (the default), `top\ncenter`, `top right`, `center left`, `center`, `center right`, `bottom\nleft`, `bottom center`, `bottom right`. The point is measured in whole\nsystem px and kept current as the box changes; an odd size's leftover\nhalf goes toward the start. An unknown value places as `top left` and\nwarns once. On its own it places nothing.",
|
|
11416
|
+
"attribute": "origin",
|
|
11417
|
+
"reflects": true,
|
|
11418
|
+
"inheritedFrom": {
|
|
11419
|
+
"name": "VfPositioned",
|
|
11420
|
+
"module": "src/position.ts"
|
|
11421
|
+
}
|
|
10947
11422
|
}
|
|
10948
11423
|
],
|
|
10949
11424
|
"attributes": [
|
|
@@ -11019,6 +11494,18 @@
|
|
|
11019
11494
|
"name": "VfPositioned",
|
|
11020
11495
|
"module": "src/position.ts"
|
|
11021
11496
|
}
|
|
11497
|
+
},
|
|
11498
|
+
{
|
|
11499
|
+
"name": "origin",
|
|
11500
|
+
"type": {
|
|
11501
|
+
"text": "PlacementOrigin | null | undefined"
|
|
11502
|
+
},
|
|
11503
|
+
"description": "Which point of the element's own box `top`/`left` place: one of nine\nkeywords, vertical then horizontal — `top left` (the default), `top\ncenter`, `top right`, `center left`, `center`, `center right`, `bottom\nleft`, `bottom center`, `bottom right`. The point is measured in whole\nsystem px and kept current as the box changes; an odd size's leftover\nhalf goes toward the start. An unknown value places as `top left` and\nwarns once. On its own it places nothing.",
|
|
11504
|
+
"fieldName": "origin",
|
|
11505
|
+
"inheritedFrom": {
|
|
11506
|
+
"name": "VfPositioned",
|
|
11507
|
+
"module": "src/position.ts"
|
|
11508
|
+
}
|
|
11022
11509
|
}
|
|
11023
11510
|
],
|
|
11024
11511
|
"mixins": [
|
|
@@ -11316,6 +11803,20 @@
|
|
|
11316
11803
|
"module": "src/position.ts"
|
|
11317
11804
|
}
|
|
11318
11805
|
},
|
|
11806
|
+
{
|
|
11807
|
+
"kind": "field",
|
|
11808
|
+
"name": "origin",
|
|
11809
|
+
"type": {
|
|
11810
|
+
"text": "PlacementOrigin | null | undefined"
|
|
11811
|
+
},
|
|
11812
|
+
"description": "Which point of the element's own box `top`/`left` place: one of nine\nkeywords, vertical then horizontal — `top left` (the default), `top\ncenter`, `top right`, `center left`, `center`, `center right`, `bottom\nleft`, `bottom center`, `bottom right`. The point is measured in whole\nsystem px and kept current as the box changes; an odd size's leftover\nhalf goes toward the start. An unknown value places as `top left` and\nwarns once. On its own it places nothing.",
|
|
11813
|
+
"attribute": "origin",
|
|
11814
|
+
"reflects": true,
|
|
11815
|
+
"inheritedFrom": {
|
|
11816
|
+
"name": "VfPositioned",
|
|
11817
|
+
"module": "src/position.ts"
|
|
11818
|
+
}
|
|
11819
|
+
},
|
|
11319
11820
|
{
|
|
11320
11821
|
"kind": "field",
|
|
11321
11822
|
"name": "formAssociated",
|
|
@@ -11790,6 +12291,18 @@
|
|
|
11790
12291
|
"module": "src/position.ts"
|
|
11791
12292
|
}
|
|
11792
12293
|
},
|
|
12294
|
+
{
|
|
12295
|
+
"name": "origin",
|
|
12296
|
+
"type": {
|
|
12297
|
+
"text": "PlacementOrigin | null | undefined"
|
|
12298
|
+
},
|
|
12299
|
+
"description": "Which point of the element's own box `top`/`left` place: one of nine\nkeywords, vertical then horizontal — `top left` (the default), `top\ncenter`, `top right`, `center left`, `center`, `center right`, `bottom\nleft`, `bottom center`, `bottom right`. The point is measured in whole\nsystem px and kept current as the box changes; an odd size's leftover\nhalf goes toward the start. An unknown value places as `top left` and\nwarns once. On its own it places nothing.",
|
|
12300
|
+
"fieldName": "origin",
|
|
12301
|
+
"inheritedFrom": {
|
|
12302
|
+
"name": "VfPositioned",
|
|
12303
|
+
"module": "src/position.ts"
|
|
12304
|
+
}
|
|
12305
|
+
},
|
|
11793
12306
|
{
|
|
11794
12307
|
"name": "disabled",
|
|
11795
12308
|
"type": {
|
|
@@ -12063,6 +12576,20 @@
|
|
|
12063
12576
|
"module": "src/position.ts"
|
|
12064
12577
|
}
|
|
12065
12578
|
},
|
|
12579
|
+
{
|
|
12580
|
+
"kind": "field",
|
|
12581
|
+
"name": "origin",
|
|
12582
|
+
"type": {
|
|
12583
|
+
"text": "PlacementOrigin | null | undefined"
|
|
12584
|
+
},
|
|
12585
|
+
"description": "Which point of the element's own box `top`/`left` place: one of nine\nkeywords, vertical then horizontal — `top left` (the default), `top\ncenter`, `top right`, `center left`, `center`, `center right`, `bottom\nleft`, `bottom center`, `bottom right`. The point is measured in whole\nsystem px and kept current as the box changes; an odd size's leftover\nhalf goes toward the start. An unknown value places as `top left` and\nwarns once. On its own it places nothing.",
|
|
12586
|
+
"attribute": "origin",
|
|
12587
|
+
"reflects": true,
|
|
12588
|
+
"inheritedFrom": {
|
|
12589
|
+
"name": "VfPositioned",
|
|
12590
|
+
"module": "src/position.ts"
|
|
12591
|
+
}
|
|
12592
|
+
},
|
|
12066
12593
|
{
|
|
12067
12594
|
"kind": "field",
|
|
12068
12595
|
"name": "scale",
|
|
@@ -12235,6 +12762,18 @@
|
|
|
12235
12762
|
"name": "VfPositioned",
|
|
12236
12763
|
"module": "src/position.ts"
|
|
12237
12764
|
}
|
|
12765
|
+
},
|
|
12766
|
+
{
|
|
12767
|
+
"name": "origin",
|
|
12768
|
+
"type": {
|
|
12769
|
+
"text": "PlacementOrigin | null | undefined"
|
|
12770
|
+
},
|
|
12771
|
+
"description": "Which point of the element's own box `top`/`left` place: one of nine\nkeywords, vertical then horizontal — `top left` (the default), `top\ncenter`, `top right`, `center left`, `center`, `center right`, `bottom\nleft`, `bottom center`, `bottom right`. The point is measured in whole\nsystem px and kept current as the box changes; an odd size's leftover\nhalf goes toward the start. An unknown value places as `top left` and\nwarns once. On its own it places nothing.",
|
|
12772
|
+
"fieldName": "origin",
|
|
12773
|
+
"inheritedFrom": {
|
|
12774
|
+
"name": "VfPositioned",
|
|
12775
|
+
"module": "src/position.ts"
|
|
12776
|
+
}
|
|
12238
12777
|
}
|
|
12239
12778
|
],
|
|
12240
12779
|
"mixins": [
|
|
@@ -12419,9 +12958,16 @@
|
|
|
12419
12958
|
"type": {
|
|
12420
12959
|
"text": "number"
|
|
12421
12960
|
}
|
|
12961
|
+
},
|
|
12962
|
+
{
|
|
12963
|
+
"name": "child",
|
|
12964
|
+
"optional": true,
|
|
12965
|
+
"type": {
|
|
12966
|
+
"text": "Element"
|
|
12967
|
+
}
|
|
12422
12968
|
}
|
|
12423
12969
|
],
|
|
12424
|
-
"description": "A viewport point (CSS px) as a placement on the scrolled plane —\n`{ left, top }` in whole system px on the placement lattice, the pair a\nchild dropped here is written with. The plane travels with the scroll,\nso its box already carries the scroll offset and the border-floor\npadding; nothing is left for the caller to add."
|
|
12970
|
+
"description": "A viewport point (CSS px) as a placement on the scrolled plane —\n`{ left, top }` in whole system px on the placement lattice, the pair a\nchild dropped here is written with. The plane travels with the scroll,\nso its box already carries the scroll offset and the border-floor\npadding; nothing is left for the caller to add. With `child`, the pair\nto write to that element: the offset its `origin` adds is folded in, so\nits box's corner lands on the point."
|
|
12425
12971
|
},
|
|
12426
12972
|
{
|
|
12427
12973
|
"kind": "method",
|
|
@@ -12503,6 +13049,20 @@
|
|
|
12503
13049
|
"name": "VfPositioned",
|
|
12504
13050
|
"module": "src/position.ts"
|
|
12505
13051
|
}
|
|
13052
|
+
},
|
|
13053
|
+
{
|
|
13054
|
+
"kind": "field",
|
|
13055
|
+
"name": "origin",
|
|
13056
|
+
"type": {
|
|
13057
|
+
"text": "PlacementOrigin | null | undefined"
|
|
13058
|
+
},
|
|
13059
|
+
"description": "Which point of the element's own box `top`/`left` place: one of nine\nkeywords, vertical then horizontal — `top left` (the default), `top\ncenter`, `top right`, `center left`, `center`, `center right`, `bottom\nleft`, `bottom center`, `bottom right`. The point is measured in whole\nsystem px and kept current as the box changes; an odd size's leftover\nhalf goes toward the start. An unknown value places as `top left` and\nwarns once. On its own it places nothing.",
|
|
13060
|
+
"attribute": "origin",
|
|
13061
|
+
"reflects": true,
|
|
13062
|
+
"inheritedFrom": {
|
|
13063
|
+
"name": "VfPositioned",
|
|
13064
|
+
"module": "src/position.ts"
|
|
13065
|
+
}
|
|
12506
13066
|
}
|
|
12507
13067
|
],
|
|
12508
13068
|
"attributes": [
|
|
@@ -12569,6 +13129,18 @@
|
|
|
12569
13129
|
"name": "VfPositioned",
|
|
12570
13130
|
"module": "src/position.ts"
|
|
12571
13131
|
}
|
|
13132
|
+
},
|
|
13133
|
+
{
|
|
13134
|
+
"name": "origin",
|
|
13135
|
+
"type": {
|
|
13136
|
+
"text": "PlacementOrigin | null | undefined"
|
|
13137
|
+
},
|
|
13138
|
+
"description": "Which point of the element's own box `top`/`left` place: one of nine\nkeywords, vertical then horizontal — `top left` (the default), `top\ncenter`, `top right`, `center left`, `center`, `center right`, `bottom\nleft`, `bottom center`, `bottom right`. The point is measured in whole\nsystem px and kept current as the box changes; an odd size's leftover\nhalf goes toward the start. An unknown value places as `top left` and\nwarns once. On its own it places nothing.",
|
|
13139
|
+
"fieldName": "origin",
|
|
13140
|
+
"inheritedFrom": {
|
|
13141
|
+
"name": "VfPositioned",
|
|
13142
|
+
"module": "src/position.ts"
|
|
13143
|
+
}
|
|
12572
13144
|
}
|
|
12573
13145
|
],
|
|
12574
13146
|
"mixins": [
|
|
@@ -13640,6 +14212,20 @@
|
|
|
13640
14212
|
"module": "src/position.ts"
|
|
13641
14213
|
}
|
|
13642
14214
|
},
|
|
14215
|
+
{
|
|
14216
|
+
"kind": "field",
|
|
14217
|
+
"name": "origin",
|
|
14218
|
+
"type": {
|
|
14219
|
+
"text": "PlacementOrigin | null | undefined"
|
|
14220
|
+
},
|
|
14221
|
+
"description": "Which point of the element's own box `top`/`left` place: one of nine\nkeywords, vertical then horizontal — `top left` (the default), `top\ncenter`, `top right`, `center left`, `center`, `center right`, `bottom\nleft`, `bottom center`, `bottom right`. The point is measured in whole\nsystem px and kept current as the box changes; an odd size's leftover\nhalf goes toward the start. An unknown value places as `top left` and\nwarns once. On its own it places nothing.",
|
|
14222
|
+
"attribute": "origin",
|
|
14223
|
+
"reflects": true,
|
|
14224
|
+
"inheritedFrom": {
|
|
14225
|
+
"name": "VfPositioned",
|
|
14226
|
+
"module": "src/position.ts"
|
|
14227
|
+
}
|
|
14228
|
+
},
|
|
13643
14229
|
{
|
|
13644
14230
|
"kind": "field",
|
|
13645
14231
|
"name": "bridgedAriaAttributes",
|
|
@@ -14210,6 +14796,18 @@
|
|
|
14210
14796
|
"module": "src/position.ts"
|
|
14211
14797
|
}
|
|
14212
14798
|
},
|
|
14799
|
+
{
|
|
14800
|
+
"name": "origin",
|
|
14801
|
+
"type": {
|
|
14802
|
+
"text": "PlacementOrigin | null | undefined"
|
|
14803
|
+
},
|
|
14804
|
+
"description": "Which point of the element's own box `top`/`left` place: one of nine\nkeywords, vertical then horizontal — `top left` (the default), `top\ncenter`, `top right`, `center left`, `center`, `center right`, `bottom\nleft`, `bottom center`, `bottom right`. The point is measured in whole\nsystem px and kept current as the box changes; an odd size's leftover\nhalf goes toward the start. An unknown value places as `top left` and\nwarns once. On its own it places nothing.",
|
|
14805
|
+
"fieldName": "origin",
|
|
14806
|
+
"inheritedFrom": {
|
|
14807
|
+
"name": "VfPositioned",
|
|
14808
|
+
"module": "src/position.ts"
|
|
14809
|
+
}
|
|
14810
|
+
},
|
|
14213
14811
|
{
|
|
14214
14812
|
"name": "description",
|
|
14215
14813
|
"type": {
|
|
@@ -14384,6 +14982,20 @@
|
|
|
14384
14982
|
"name": "VfPositioned",
|
|
14385
14983
|
"module": "src/position.ts"
|
|
14386
14984
|
}
|
|
14985
|
+
},
|
|
14986
|
+
{
|
|
14987
|
+
"kind": "field",
|
|
14988
|
+
"name": "origin",
|
|
14989
|
+
"type": {
|
|
14990
|
+
"text": "PlacementOrigin | null | undefined"
|
|
14991
|
+
},
|
|
14992
|
+
"description": "Which point of the element's own box `top`/`left` place: one of nine\nkeywords, vertical then horizontal — `top left` (the default), `top\ncenter`, `top right`, `center left`, `center`, `center right`, `bottom\nleft`, `bottom center`, `bottom right`. The point is measured in whole\nsystem px and kept current as the box changes; an odd size's leftover\nhalf goes toward the start. An unknown value places as `top left` and\nwarns once. On its own it places nothing.",
|
|
14993
|
+
"attribute": "origin",
|
|
14994
|
+
"reflects": true,
|
|
14995
|
+
"inheritedFrom": {
|
|
14996
|
+
"name": "VfPositioned",
|
|
14997
|
+
"module": "src/position.ts"
|
|
14998
|
+
}
|
|
14387
14999
|
}
|
|
14388
15000
|
],
|
|
14389
15001
|
"attributes": [
|
|
@@ -14432,6 +15044,18 @@
|
|
|
14432
15044
|
"name": "VfPositioned",
|
|
14433
15045
|
"module": "src/position.ts"
|
|
14434
15046
|
}
|
|
15047
|
+
},
|
|
15048
|
+
{
|
|
15049
|
+
"name": "origin",
|
|
15050
|
+
"type": {
|
|
15051
|
+
"text": "PlacementOrigin | null | undefined"
|
|
15052
|
+
},
|
|
15053
|
+
"description": "Which point of the element's own box `top`/`left` place: one of nine\nkeywords, vertical then horizontal — `top left` (the default), `top\ncenter`, `top right`, `center left`, `center`, `center right`, `bottom\nleft`, `bottom center`, `bottom right`. The point is measured in whole\nsystem px and kept current as the box changes; an odd size's leftover\nhalf goes toward the start. An unknown value places as `top left` and\nwarns once. On its own it places nothing.",
|
|
15054
|
+
"fieldName": "origin",
|
|
15055
|
+
"inheritedFrom": {
|
|
15056
|
+
"name": "VfPositioned",
|
|
15057
|
+
"module": "src/position.ts"
|
|
15058
|
+
}
|
|
14435
15059
|
}
|
|
14436
15060
|
],
|
|
14437
15061
|
"mixins": [
|
|
@@ -14864,6 +15488,20 @@
|
|
|
14864
15488
|
"module": "src/position.ts"
|
|
14865
15489
|
}
|
|
14866
15490
|
},
|
|
15491
|
+
{
|
|
15492
|
+
"kind": "field",
|
|
15493
|
+
"name": "origin",
|
|
15494
|
+
"type": {
|
|
15495
|
+
"text": "PlacementOrigin | null | undefined"
|
|
15496
|
+
},
|
|
15497
|
+
"description": "Which point of the element's own box `top`/`left` place: one of nine\nkeywords, vertical then horizontal — `top left` (the default), `top\ncenter`, `top right`, `center left`, `center`, `center right`, `bottom\nleft`, `bottom center`, `bottom right`. The point is measured in whole\nsystem px and kept current as the box changes; an odd size's leftover\nhalf goes toward the start. An unknown value places as `top left` and\nwarns once. On its own it places nothing.",
|
|
15498
|
+
"attribute": "origin",
|
|
15499
|
+
"reflects": true,
|
|
15500
|
+
"inheritedFrom": {
|
|
15501
|
+
"name": "VfPositioned",
|
|
15502
|
+
"module": "src/position.ts"
|
|
15503
|
+
}
|
|
15504
|
+
},
|
|
14867
15505
|
{
|
|
14868
15506
|
"kind": "field",
|
|
14869
15507
|
"name": "formAssociated",
|
|
@@ -15374,6 +16012,18 @@
|
|
|
15374
16012
|
"module": "src/position.ts"
|
|
15375
16013
|
}
|
|
15376
16014
|
},
|
|
16015
|
+
{
|
|
16016
|
+
"name": "origin",
|
|
16017
|
+
"type": {
|
|
16018
|
+
"text": "PlacementOrigin | null | undefined"
|
|
16019
|
+
},
|
|
16020
|
+
"description": "Which point of the element's own box `top`/`left` place: one of nine\nkeywords, vertical then horizontal — `top left` (the default), `top\ncenter`, `top right`, `center left`, `center`, `center right`, `bottom\nleft`, `bottom center`, `bottom right`. The point is measured in whole\nsystem px and kept current as the box changes; an odd size's leftover\nhalf goes toward the start. An unknown value places as `top left` and\nwarns once. On its own it places nothing.",
|
|
16021
|
+
"fieldName": "origin",
|
|
16022
|
+
"inheritedFrom": {
|
|
16023
|
+
"name": "VfPositioned",
|
|
16024
|
+
"module": "src/position.ts"
|
|
16025
|
+
}
|
|
16026
|
+
},
|
|
15377
16027
|
{
|
|
15378
16028
|
"name": "disabled",
|
|
15379
16029
|
"type": {
|
|
@@ -15609,6 +16259,20 @@
|
|
|
15609
16259
|
"name": "VfPositioned",
|
|
15610
16260
|
"module": "src/position.ts"
|
|
15611
16261
|
}
|
|
16262
|
+
},
|
|
16263
|
+
{
|
|
16264
|
+
"kind": "field",
|
|
16265
|
+
"name": "origin",
|
|
16266
|
+
"type": {
|
|
16267
|
+
"text": "PlacementOrigin | null | undefined"
|
|
16268
|
+
},
|
|
16269
|
+
"description": "Which point of the element's own box `top`/`left` place: one of nine\nkeywords, vertical then horizontal — `top left` (the default), `top\ncenter`, `top right`, `center left`, `center`, `center right`, `bottom\nleft`, `bottom center`, `bottom right`. The point is measured in whole\nsystem px and kept current as the box changes; an odd size's leftover\nhalf goes toward the start. An unknown value places as `top left` and\nwarns once. On its own it places nothing.",
|
|
16270
|
+
"attribute": "origin",
|
|
16271
|
+
"reflects": true,
|
|
16272
|
+
"inheritedFrom": {
|
|
16273
|
+
"name": "VfPositioned",
|
|
16274
|
+
"module": "src/position.ts"
|
|
16275
|
+
}
|
|
15612
16276
|
}
|
|
15613
16277
|
],
|
|
15614
16278
|
"attributes": [
|
|
@@ -15706,6 +16370,18 @@
|
|
|
15706
16370
|
"name": "VfPositioned",
|
|
15707
16371
|
"module": "src/position.ts"
|
|
15708
16372
|
}
|
|
16373
|
+
},
|
|
16374
|
+
{
|
|
16375
|
+
"name": "origin",
|
|
16376
|
+
"type": {
|
|
16377
|
+
"text": "PlacementOrigin | null | undefined"
|
|
16378
|
+
},
|
|
16379
|
+
"description": "Which point of the element's own box `top`/`left` place: one of nine\nkeywords, vertical then horizontal — `top left` (the default), `top\ncenter`, `top right`, `center left`, `center`, `center right`, `bottom\nleft`, `bottom center`, `bottom right`. The point is measured in whole\nsystem px and kept current as the box changes; an odd size's leftover\nhalf goes toward the start. An unknown value places as `top left` and\nwarns once. On its own it places nothing.",
|
|
16380
|
+
"fieldName": "origin",
|
|
16381
|
+
"inheritedFrom": {
|
|
16382
|
+
"name": "VfPositioned",
|
|
16383
|
+
"module": "src/position.ts"
|
|
16384
|
+
}
|
|
15709
16385
|
}
|
|
15710
16386
|
],
|
|
15711
16387
|
"mixins": [
|
|
@@ -15919,6 +16595,20 @@
|
|
|
15919
16595
|
"module": "src/position.ts"
|
|
15920
16596
|
}
|
|
15921
16597
|
},
|
|
16598
|
+
{
|
|
16599
|
+
"kind": "field",
|
|
16600
|
+
"name": "origin",
|
|
16601
|
+
"type": {
|
|
16602
|
+
"text": "PlacementOrigin | null | undefined"
|
|
16603
|
+
},
|
|
16604
|
+
"description": "Which point of the element's own box `top`/`left` place: one of nine\nkeywords, vertical then horizontal — `top left` (the default), `top\ncenter`, `top right`, `center left`, `center`, `center right`, `bottom\nleft`, `bottom center`, `bottom right`. The point is measured in whole\nsystem px and kept current as the box changes; an odd size's leftover\nhalf goes toward the start. An unknown value places as `top left` and\nwarns once. On its own it places nothing.",
|
|
16605
|
+
"attribute": "origin",
|
|
16606
|
+
"reflects": true,
|
|
16607
|
+
"inheritedFrom": {
|
|
16608
|
+
"name": "VfPositioned",
|
|
16609
|
+
"module": "src/position.ts"
|
|
16610
|
+
}
|
|
16611
|
+
},
|
|
15922
16612
|
{
|
|
15923
16613
|
"kind": "field",
|
|
15924
16614
|
"name": "bridgedAriaAttributes",
|
|
@@ -16540,6 +17230,18 @@
|
|
|
16540
17230
|
"module": "src/position.ts"
|
|
16541
17231
|
}
|
|
16542
17232
|
},
|
|
17233
|
+
{
|
|
17234
|
+
"name": "origin",
|
|
17235
|
+
"type": {
|
|
17236
|
+
"text": "PlacementOrigin | null | undefined"
|
|
17237
|
+
},
|
|
17238
|
+
"description": "Which point of the element's own box `top`/`left` place: one of nine\nkeywords, vertical then horizontal — `top left` (the default), `top\ncenter`, `top right`, `center left`, `center`, `center right`, `bottom\nleft`, `bottom center`, `bottom right`. The point is measured in whole\nsystem px and kept current as the box changes; an odd size's leftover\nhalf goes toward the start. An unknown value places as `top left` and\nwarns once. On its own it places nothing.",
|
|
17239
|
+
"fieldName": "origin",
|
|
17240
|
+
"inheritedFrom": {
|
|
17241
|
+
"name": "VfPositioned",
|
|
17242
|
+
"module": "src/position.ts"
|
|
17243
|
+
}
|
|
17244
|
+
},
|
|
16543
17245
|
{
|
|
16544
17246
|
"name": "description",
|
|
16545
17247
|
"type": {
|
|
@@ -16737,6 +17439,20 @@
|
|
|
16737
17439
|
"module": "src/position.ts"
|
|
16738
17440
|
}
|
|
16739
17441
|
},
|
|
17442
|
+
{
|
|
17443
|
+
"kind": "field",
|
|
17444
|
+
"name": "origin",
|
|
17445
|
+
"type": {
|
|
17446
|
+
"text": "PlacementOrigin | null | undefined"
|
|
17447
|
+
},
|
|
17448
|
+
"description": "Which point of the element's own box `top`/`left` place: one of nine\nkeywords, vertical then horizontal — `top left` (the default), `top\ncenter`, `top right`, `center left`, `center`, `center right`, `bottom\nleft`, `bottom center`, `bottom right`. The point is measured in whole\nsystem px and kept current as the box changes; an odd size's leftover\nhalf goes toward the start. An unknown value places as `top left` and\nwarns once. On its own it places nothing.",
|
|
17449
|
+
"attribute": "origin",
|
|
17450
|
+
"reflects": true,
|
|
17451
|
+
"inheritedFrom": {
|
|
17452
|
+
"name": "VfPositioned",
|
|
17453
|
+
"module": "src/position.ts"
|
|
17454
|
+
}
|
|
17455
|
+
},
|
|
16740
17456
|
{
|
|
16741
17457
|
"kind": "field",
|
|
16742
17458
|
"name": "shadowRootOptions",
|
|
@@ -17623,6 +18339,18 @@
|
|
|
17623
18339
|
"module": "src/position.ts"
|
|
17624
18340
|
}
|
|
17625
18341
|
},
|
|
18342
|
+
{
|
|
18343
|
+
"name": "origin",
|
|
18344
|
+
"type": {
|
|
18345
|
+
"text": "PlacementOrigin | null | undefined"
|
|
18346
|
+
},
|
|
18347
|
+
"description": "Which point of the element's own box `top`/`left` place: one of nine\nkeywords, vertical then horizontal — `top left` (the default), `top\ncenter`, `top right`, `center left`, `center`, `center right`, `bottom\nleft`, `bottom center`, `bottom right`. The point is measured in whole\nsystem px and kept current as the box changes; an odd size's leftover\nhalf goes toward the start. An unknown value places as `top left` and\nwarns once. On its own it places nothing.",
|
|
18348
|
+
"fieldName": "origin",
|
|
18349
|
+
"inheritedFrom": {
|
|
18350
|
+
"name": "VfPositioned",
|
|
18351
|
+
"module": "src/position.ts"
|
|
18352
|
+
}
|
|
18353
|
+
},
|
|
17626
18354
|
{
|
|
17627
18355
|
"name": "value",
|
|
17628
18356
|
"type": {
|
|
@@ -17879,6 +18607,20 @@
|
|
|
17879
18607
|
"module": "src/position.ts"
|
|
17880
18608
|
}
|
|
17881
18609
|
},
|
|
18610
|
+
{
|
|
18611
|
+
"kind": "field",
|
|
18612
|
+
"name": "origin",
|
|
18613
|
+
"type": {
|
|
18614
|
+
"text": "PlacementOrigin | null | undefined"
|
|
18615
|
+
},
|
|
18616
|
+
"description": "Which point of the element's own box `top`/`left` place: one of nine\nkeywords, vertical then horizontal — `top left` (the default), `top\ncenter`, `top right`, `center left`, `center`, `center right`, `bottom\nleft`, `bottom center`, `bottom right`. The point is measured in whole\nsystem px and kept current as the box changes; an odd size's leftover\nhalf goes toward the start. An unknown value places as `top left` and\nwarns once. On its own it places nothing.",
|
|
18617
|
+
"attribute": "origin",
|
|
18618
|
+
"reflects": true,
|
|
18619
|
+
"inheritedFrom": {
|
|
18620
|
+
"name": "VfPositioned",
|
|
18621
|
+
"module": "src/position.ts"
|
|
18622
|
+
}
|
|
18623
|
+
},
|
|
17882
18624
|
{
|
|
17883
18625
|
"kind": "field",
|
|
17884
18626
|
"name": "shadowRootOptions",
|
|
@@ -18772,6 +19514,18 @@
|
|
|
18772
19514
|
"module": "src/position.ts"
|
|
18773
19515
|
}
|
|
18774
19516
|
},
|
|
19517
|
+
{
|
|
19518
|
+
"name": "origin",
|
|
19519
|
+
"type": {
|
|
19520
|
+
"text": "PlacementOrigin | null | undefined"
|
|
19521
|
+
},
|
|
19522
|
+
"description": "Which point of the element's own box `top`/`left` place: one of nine\nkeywords, vertical then horizontal — `top left` (the default), `top\ncenter`, `top right`, `center left`, `center`, `center right`, `bottom\nleft`, `bottom center`, `bottom right`. The point is measured in whole\nsystem px and kept current as the box changes; an odd size's leftover\nhalf goes toward the start. An unknown value places as `top left` and\nwarns once. On its own it places nothing.",
|
|
19523
|
+
"fieldName": "origin",
|
|
19524
|
+
"inheritedFrom": {
|
|
19525
|
+
"name": "VfPositioned",
|
|
19526
|
+
"module": "src/position.ts"
|
|
19527
|
+
}
|
|
19528
|
+
},
|
|
18775
19529
|
{
|
|
18776
19530
|
"name": "value",
|
|
18777
19531
|
"type": {
|
|
@@ -19274,9 +20028,16 @@
|
|
|
19274
20028
|
"type": {
|
|
19275
20029
|
"text": "number"
|
|
19276
20030
|
}
|
|
20031
|
+
},
|
|
20032
|
+
{
|
|
20033
|
+
"name": "child",
|
|
20034
|
+
"optional": true,
|
|
20035
|
+
"type": {
|
|
20036
|
+
"text": "Element"
|
|
20037
|
+
}
|
|
19277
20038
|
}
|
|
19278
20039
|
],
|
|
19279
|
-
"description": "A viewport point (CSS px) as a placement in the window's content region\n— `{ left, top }` in whole system px on the placement lattice, the pair a\nchild dropped into this window is written with: the body's corner, or\nunder `scrollbars` the scrolled plane, scroll offset included. The anchor\nsits in the shadow tree, which is why the conversion is a method here\nrather than the page's own `toSysExact` against a rect."
|
|
20040
|
+
"description": "A viewport point (CSS px) as a placement in the window's content region\n— `{ left, top }` in whole system px on the placement lattice, the pair a\nchild dropped into this window is written with: the body's corner, or\nunder `scrollbars` the scrolled plane, scroll offset included. The anchor\nsits in the shadow tree, which is why the conversion is a method here\nrather than the page's own `toSysExact` against a rect. With `child`,\nthe pair to write to that element: the offset its `origin` adds is\nfolded in, so its box's corner lands on the point."
|
|
19280
20041
|
},
|
|
19281
20042
|
{
|
|
19282
20043
|
"kind": "method",
|
|
@@ -19509,6 +20270,20 @@
|
|
|
19509
20270
|
"name": "VfPositioned",
|
|
19510
20271
|
"module": "src/position.ts"
|
|
19511
20272
|
}
|
|
20273
|
+
},
|
|
20274
|
+
{
|
|
20275
|
+
"kind": "field",
|
|
20276
|
+
"name": "origin",
|
|
20277
|
+
"type": {
|
|
20278
|
+
"text": "PlacementOrigin | null | undefined"
|
|
20279
|
+
},
|
|
20280
|
+
"description": "Which point of the element's own box `top`/`left` place: one of nine\nkeywords, vertical then horizontal — `top left` (the default), `top\ncenter`, `top right`, `center left`, `center`, `center right`, `bottom\nleft`, `bottom center`, `bottom right`. The point is measured in whole\nsystem px and kept current as the box changes; an odd size's leftover\nhalf goes toward the start. An unknown value places as `top left` and\nwarns once. On its own it places nothing.",
|
|
20281
|
+
"attribute": "origin",
|
|
20282
|
+
"reflects": true,
|
|
20283
|
+
"inheritedFrom": {
|
|
20284
|
+
"name": "VfPositioned",
|
|
20285
|
+
"module": "src/position.ts"
|
|
20286
|
+
}
|
|
19512
20287
|
}
|
|
19513
20288
|
],
|
|
19514
20289
|
"events": [
|
|
@@ -19696,6 +20471,18 @@
|
|
|
19696
20471
|
"name": "VfPositioned",
|
|
19697
20472
|
"module": "src/position.ts"
|
|
19698
20473
|
}
|
|
20474
|
+
},
|
|
20475
|
+
{
|
|
20476
|
+
"name": "origin",
|
|
20477
|
+
"type": {
|
|
20478
|
+
"text": "PlacementOrigin | null | undefined"
|
|
20479
|
+
},
|
|
20480
|
+
"description": "Which point of the element's own box `top`/`left` place: one of nine\nkeywords, vertical then horizontal — `top left` (the default), `top\ncenter`, `top right`, `center left`, `center`, `center right`, `bottom\nleft`, `bottom center`, `bottom right`. The point is measured in whole\nsystem px and kept current as the box changes; an odd size's leftover\nhalf goes toward the start. An unknown value places as `top left` and\nwarns once. On its own it places nothing.",
|
|
20481
|
+
"fieldName": "origin",
|
|
20482
|
+
"inheritedFrom": {
|
|
20483
|
+
"name": "VfPositioned",
|
|
20484
|
+
"module": "src/position.ts"
|
|
20485
|
+
}
|
|
19699
20486
|
}
|
|
19700
20487
|
],
|
|
19701
20488
|
"mixins": [
|
|
@@ -22317,6 +23104,13 @@
|
|
|
22317
23104
|
"type": {
|
|
22318
23105
|
"text": "boolean"
|
|
22319
23106
|
}
|
|
23107
|
+
},
|
|
23108
|
+
{
|
|
23109
|
+
"kind": "field",
|
|
23110
|
+
"name": "origin",
|
|
23111
|
+
"type": {
|
|
23112
|
+
"text": "PlacementOrigin | null | undefined"
|
|
23113
|
+
}
|
|
22320
23114
|
}
|
|
22321
23115
|
],
|
|
22322
23116
|
"superclass": {
|
|
@@ -22327,7 +23121,7 @@
|
|
|
22327
23121
|
},
|
|
22328
23122
|
{
|
|
22329
23123
|
"kind": "mixin",
|
|
22330
|
-
"description": "Explicit placement — `top`/`left` in whole system px, on **every** component.\n\nNo exceptions, deliberately. These are web components, and a consumer may put\none wherever they like; the kit does not get to decide that a `vf-option` is\nonly ever a popup row. The rows a container normally owns (`vf-option`,\n`vf-menu-item`, `vf-list-item`) and a bar's `vf-menu` take the pair on the\nsame terms as anything else — and stating an origin on one *inside* its\nmanaging parent does take it out of that parent's flow layout, which is the\nplacement working, not failing. Each of those components documents what its\ncontainer stops doing for it. `vf-dialog` takes the pair in viewport\ncoordinates, the one difference the platform forces (see modal-dialog.ts).\n\nA DITL resource laid a dialog out as a list of items, each with a rectangle\nin the window's own coordinates; arranging controls by stating where they go\nis as native to System 7 as stacking them. This mixin is that mechanism:\ndeclaring `top` or `left` takes the element out of normal flow and\nabsolutely positions it within its parent, both coordinates in the art's own\nunit so the position scales with the display like every other metric. A\nwindow or dialog body can be laid out either way — a tree of `vf-stack`s, or\npositioned children — with no stylesheet in either case.\n\nMechanics, mirroring how `vf-stack` writes its declared size:\n\n- Setting either property writes `position: absolute` and both offsets onto\n the host's inline style as `calc(var(--vf-scale, 1) * Npx)` — live against\n the display, resolved at paint time. The coordinate left unset is 0.\n- `right`/`bottom` are released to `auto` and `margin` zeroed, so the stated\n offsets are the whole story — an auto-width box with both edges set would\n stretch rather than sit (the `vf-icon` seed logic, generalized).\n- Unsetting both returns the element to normal flow: every inline\n declaration this wrote is removed, and stylesheet values resume.\n\nThe anchor is CSS's own: the nearest positioned ancestor's padding box. The\nkit's containers are all deliberate anchors — a desktop's raster, a window's\
|
|
23124
|
+
"description": "Explicit placement — `top`/`left` in whole system px, on **every** component.\n\nNo exceptions, deliberately. These are web components, and a consumer may put\none wherever they like; the kit does not get to decide that a `vf-option` is\nonly ever a popup row. The rows a container normally owns (`vf-option`,\n`vf-menu-item`, `vf-list-item`) and a bar's `vf-menu` take the pair on the\nsame terms as anything else — and stating an origin on one *inside* its\nmanaging parent does take it out of that parent's flow layout, which is the\nplacement working, not failing. Each of those components documents what its\ncontainer stops doing for it. `vf-dialog` takes the pair in viewport\ncoordinates, the one difference the platform forces (see modal-dialog.ts).\n\nA DITL resource laid a dialog out as a list of items, each with a rectangle\nin the window's own coordinates; arranging controls by stating where they go\nis as native to System 7 as stacking them. This mixin is that mechanism:\ndeclaring `top` or `left` takes the element out of normal flow and\nabsolutely positions it within its parent, both coordinates in the art's own\nunit so the position scales with the display like every other metric. A\nwindow or dialog body can be laid out either way — a tree of `vf-stack`s, or\npositioned children — with no stylesheet in either case.\n\nMechanics, mirroring how `vf-stack` writes its declared size:\n\n- Setting either property writes `position: absolute` and both offsets onto\n the host's inline style as `calc(var(--vf-scale, 1) * Npx)` — live against\n the display, resolved at paint time. The coordinate left unset is 0.\n- `right`/`bottom` are released to `auto` and `margin` zeroed, so the stated\n offsets are the whole story — an auto-width box with both edges set would\n stretch rather than sit (the `vf-icon` seed logic, generalized).\n- Unsetting both returns the element to normal flow: every inline\n declaration this wrote is removed, and stylesheet values resume.\n\nThe anchor is CSS's own: the nearest positioned ancestor's padding box. The\nkit's containers are all deliberate anchors — a desktop's raster, a window's\nor a dialog's content region (the frame's inner edge, below any title bar,\nwith no inset — flow content starts there too, exactly the DITL\nconvention), a stack's box, a fieldset's border box, a scroll area's\nscrolled plane. In a non-kit parent, give the parent `position: relative`,\nthe one line of CSS this feature can't write for you.\n\nThe writing rides a ReactiveController (`hostUpdated`) rather than\nan `updated()` override, for a lifecycle reason worth keeping in the source:\nthe mixin sits *under* each component class, and most components override\n`updated()` without calling `super.updated()` — Lit's base is a no-op, so\nnothing ever forced the call — which would silently shadow a mixin-level\noverride. A controller is invoked by ReactiveElement itself, after every\nupdate, no matter what the subclass does.\n\nA gesture writes **through these properties**: `vf-window`'s title-bar drag\nand `vf-icon`'s drag and arrow nudge hand their new origin to a\nPlacementController, which snaps it onto the placement lattice and\nsets `left`/`top`. A moved element is therefore placed exactly the way an\nauthored one is — a live `calc()` in the art's own unit — and stays where it\nwas dropped when the zoom or the display changes what a system px costs.\n\nIt did not always. Writing the resolved CSS px straight to the inline style\nfroze the coordinate in the wrong unit: `--vf-scale` moved under it at every\nzoom step and the same constant read back as a different number of system px,\nso moved windows and icons slid off the grid the rest of the kit stayed on\n(by `3z / round(3z)` — 10% at 110% zoom, where nothing else moves at all).\n\nSetting a property yourself is still the deliberate way to re-place a moved\nelement. The controller re-applies **only when the values changed**, so an\nunrelated update — a heading change, a desktop toggling `active` — never\nre-asserts a coordinate and costs nothing.\n\n**Every write it makes is announced** as `vf-placement-change` (bubbles,\n`composed: false`, detail `{ left, top }` — nulls on a return to flow). It\nis an internal coordination event on the terms of the menu handshakes:\nparent and child share one light tree, and a kit protocol must not leak out\nof a consumer's shadow boundary. `vf-scroll-area` listens for it and\nre-measures, because a placed child moved through `top`/`left` changes the\nscroll range with no box changing anywhere a ResizeObserver can see — the\nplane's box is never grown by an absolutely positioned child. One funnel\ncovers a drop, an arrow nudge and a page's own `icon.left = …` alike.\n\n**`origin`** names which point of the host's own box the pair places —\nnine keywords, vertical then horizontal (`top center`, `bottom right`,\n`center`), `top left` the default. A title stays centered on its `left`\nwhatever its text; a button group keeps its bottom-right corner in from\nthe dialog's however long its labels run. The point is measured, not\ntransformed: the controller reads the host's border box in whole system px\n(w × h) and writes `left` as the stated `L` less ⌈w·fx⌉ (`fx` 0, ½ or 1),\n`top` the same way — the ceiling sends an odd size's leftover half toward\nthe start, the tie rule the kit's other centering uses. A ResizeObserver\nkeeps the offset current through a relabel or a late font, and each such\nrewrite is announced like any other write. A zoom step changes CSS px, not\nsystem px, so it recomputes the same offset. `translate: -50% 0` would have\nbeen the no-JavaScript version, and fails twice: a percentage of an odd\nwidth is half a pixel, which smears the 1-bit art, and a transform makes\nthe host the containing block for `position: fixed` descendants — a placed\ngroup holding a `vf-select` would trap its list. `top left` is the plain\ncode path: no observer, no measurement, the same inline style as before\nthe attribute existed. An unknown value places as `top left` and warns once\nper element. On its own the attribute places nothing: it changes what the\npair means, and is inert on a host in flow.\n\n**`fixed`** holds the placement against the *visible* region of the nearest\nscrolling ancestor instead of its scrolled plane — a tool strip over a\ndocument, a column header over rows — and the flag alone places at (0,0).\nThe engine underneath is `position: sticky`, the one way the platform holds\na box against a scrollport from inside it on the compositor (a scroll\nlistener counter-translating lags a frame; a layer outside the scroller\nstops wheel and touch over it). Sticky boxes stay in flow, which is not\nwhat a placement is, so the controller erases the footprint: the host is\nblockified (no line box), shrink-wrapped, and given a negative right/bottom\nmargin equal to its own box — a 0×0 margin box that flow content lays out\nas if it weren't there, measured by a ResizeObserver so a relabel or a zoom\nstep keeps it exact. `z-index: 1` puts it over the plane's placed children,\nwhich is where a fixed strip belongs. Two facts of the engine that the\ndocs state as rules: sticky only ever pushes a box *down* from where the\nflow put it, so a fixed child comes before the flow content in its parent;\nand a scroll container that never scrolls (a plain window body is\n`overflow: hidden`) holds it exactly where placement would.",
|
|
22331
23125
|
"name": "VfPositioned",
|
|
22332
23126
|
"members": [
|
|
22333
23127
|
{
|
|
@@ -22358,6 +23152,16 @@
|
|
|
22358
23152
|
"description": "Hold the placement against the visible region of the nearest scrolling\nancestor: the element keeps its stated `top`/`left` while the content\nscrolls under it, and the flag alone places it at (0,0). It comes\nbefore the flow content in its parent. Where nothing scrolls it renders\nexactly as placed.",
|
|
22359
23153
|
"attribute": "fixed",
|
|
22360
23154
|
"reflects": true
|
|
23155
|
+
},
|
|
23156
|
+
{
|
|
23157
|
+
"kind": "field",
|
|
23158
|
+
"name": "origin",
|
|
23159
|
+
"type": {
|
|
23160
|
+
"text": "PlacementOrigin | null | undefined"
|
|
23161
|
+
},
|
|
23162
|
+
"description": "Which point of the element's own box `top`/`left` place: one of nine\nkeywords, vertical then horizontal — `top left` (the default), `top\ncenter`, `top right`, `center left`, `center`, `center right`, `bottom\nleft`, `bottom center`, `bottom right`. The point is measured in whole\nsystem px and kept current as the box changes; an odd size's leftover\nhalf goes toward the start. An unknown value places as `top left` and\nwarns once. On its own it places nothing.",
|
|
23163
|
+
"attribute": "origin",
|
|
23164
|
+
"reflects": true
|
|
22361
23165
|
}
|
|
22362
23166
|
],
|
|
22363
23167
|
"attributes": [
|
|
@@ -22385,6 +23189,14 @@
|
|
|
22385
23189
|
"default": "false",
|
|
22386
23190
|
"description": "Hold the placement against the visible region of the nearest scrolling\nancestor: the element keeps its stated `top`/`left` while the content\nscrolls under it, and the flag alone places it at (0,0). It comes\nbefore the flow content in its parent. Where nothing scrolls it renders\nexactly as placed.",
|
|
22387
23191
|
"fieldName": "fixed"
|
|
23192
|
+
},
|
|
23193
|
+
{
|
|
23194
|
+
"name": "origin",
|
|
23195
|
+
"type": {
|
|
23196
|
+
"text": "PlacementOrigin | null | undefined"
|
|
23197
|
+
},
|
|
23198
|
+
"description": "Which point of the element's own box `top`/`left` place: one of nine\nkeywords, vertical then horizontal — `top left` (the default), `top\ncenter`, `top right`, `center left`, `center`, `center right`, `bottom\nleft`, `bottom center`, `bottom right`. The point is measured in whole\nsystem px and kept current as the box changes; an odd size's leftover\nhalf goes toward the start. An unknown value places as `top left` and\nwarns once. On its own it places nothing.",
|
|
23199
|
+
"fieldName": "origin"
|
|
22388
23200
|
}
|
|
22389
23201
|
],
|
|
22390
23202
|
"parameters": [
|
|
@@ -22429,9 +23241,16 @@
|
|
|
22429
23241
|
"type": {
|
|
22430
23242
|
"text": "Element"
|
|
22431
23243
|
}
|
|
23244
|
+
},
|
|
23245
|
+
{
|
|
23246
|
+
"name": "child",
|
|
23247
|
+
"optional": true,
|
|
23248
|
+
"type": {
|
|
23249
|
+
"text": "Element"
|
|
23250
|
+
}
|
|
22432
23251
|
}
|
|
22433
23252
|
],
|
|
22434
|
-
"description": "A viewport point as a placement in `anchor`'s coordinates: `{ left, top }`\nin whole system px on the placement lattice, measured from the anchor's\nbox the way a placed child's `top`/`left` are — the unit and lattice a\ndrag lands on, so the result can be written straight to a child's pair.\n\nThe three containers whose anchor sits in shadow DOM (`vf-window`'s\ncontent region, `vf-desktop`'s screen, `vf-scroll-area`'s plane) expose it\nas `placementAt(clientX, clientY)`; everywhere else the anchor is the\nelement's own padding box, and `toSysExact` against\n`getBoundingClientRect()` is the documented conversion. The anchor is\nexpected to carry no border of its own (the three do not), so its border\nbox is its padding box; `scaleAt` is the element whose `--vf-scale` the\nconversion reads — the component's host."
|
|
23253
|
+
"description": "A viewport point as a placement in `anchor`'s coordinates: `{ left, top }`\nin whole system px on the placement lattice, measured from the anchor's\nbox the way a placed child's `top`/`left` are — the unit and lattice a\ndrag lands on, so the result can be written straight to a child's pair.\n\nThe three containers whose anchor sits in shadow DOM (`vf-window`'s\ncontent region, `vf-desktop`'s screen, `vf-scroll-area`'s plane) expose it\nas `placementAt(clientX, clientY)`; everywhere else the anchor is the\nelement's own padding box, and `toSysExact` against\n`getBoundingClientRect()` is the documented conversion. The anchor is\nexpected to carry no border of its own (the three do not), so its border\nbox is its padding box; `scaleAt` is the element whose `--vf-scale` the\nconversion reads — the component's host.\n\nWith `child`, the pair to write to *that* element so its box's corner\nlands on the point: the offset its `origin` adds is folded in, and is zero\nfor a child with none."
|
|
22435
23254
|
},
|
|
22436
23255
|
{
|
|
22437
23256
|
"kind": "class",
|
|
@@ -22495,6 +23314,15 @@
|
|
|
22495
23314
|
"description": "The box the gesture is clamped into, in system px: the one seed\nmeasured, or a fresh measurement before any gesture. A group drag reads\nit to clamp a whole selection's delta at once.",
|
|
22496
23315
|
"readonly": true
|
|
22497
23316
|
},
|
|
23317
|
+
{
|
|
23318
|
+
"kind": "field",
|
|
23319
|
+
"name": "offset",
|
|
23320
|
+
"type": {
|
|
23321
|
+
"text": "Readonly<Offset>"
|
|
23322
|
+
},
|
|
23323
|
+
"description": "The offset the host's stated pair sits from its box's top-left corner,\nin whole system px — what its `origin` adds, `(0, 0)` without one. A\ngroup drag reads it to clamp each member's box rather than its pair.",
|
|
23324
|
+
"readonly": true
|
|
23325
|
+
},
|
|
22498
23326
|
{
|
|
22499
23327
|
"kind": "method",
|
|
22500
23328
|
"name": "seed",
|
|
@@ -22503,7 +23331,7 @@
|
|
|
22503
23331
|
"text": "{ x: number; y: number }"
|
|
22504
23332
|
}
|
|
22505
23333
|
},
|
|
22506
|
-
"description": "The origin a move adds its delta to, in system px.\n\nA stated coordinate is authoritative and needs no measuring — including\nthe one this controller wrote last time. Otherwise the host is wherever\nlayout or a stylesheet put it, so the *used* position is read and\nconverted: absolutely positioned hosts through their computed offsets\n(`left: 10%` and `left: 1em` are perfectly good ways to place one, and\nboth resolve to px here), everything else through its in-flow offset,\nwhich is measured against the same padding box `left`/`top` will be."
|
|
23334
|
+
"description": "The origin a move adds its delta to, in system px — the stated pair,\nwhich with an `origin` is the origin point rather than the corner.\n\nA stated coordinate is authoritative and needs no measuring — including\nthe one this controller wrote last time. Otherwise the host is wherever\nlayout or a stylesheet put it, so the *used* position is read and\nconverted: absolutely positioned hosts through their computed offsets\n(`left: 10%` and `left: 1em` are perfectly good ways to place one, and\nboth resolve to px here), everything else through its in-flow offset,\nwhich is measured against the same padding box `left`/`top` will be.\nThat read is the corner, so the origin's offset is added back."
|
|
22507
23335
|
},
|
|
22508
23336
|
{
|
|
22509
23337
|
"kind": "method",
|
|
@@ -22527,7 +23355,7 @@
|
|
|
22527
23355
|
}
|
|
22528
23356
|
}
|
|
22529
23357
|
],
|
|
22530
|
-
"description": "Place the host at a system-px origin, clamped by its own rule and snapped.\n\nThe clamp runs *here*, during the gesture, which is the moment the user is\nactually pushing against an edge — and nowhere else. Re-clamping later, on\na parent that shrank under a zoom, would move a host nobody moved and would\nnot give the position back when the parent grew again.\n\nIt runs against the box seed measured, not a fresh one. The\ndifference only shows when the movable contract is unmet: a host with no\nstated origin is in normal flow, so its first move takes it out — and an\nauto-height parent then collapses to whatever is left, which is a box the\nhost never actually sat in. Re-measuring per move would clamp the rest of\nthe gesture into that phantom, walking the host to the parent's origin\nwhile the user drags away from it. The box at the moment of the press is\nthe one the user is pushing against."
|
|
23358
|
+
"description": "Place the host at a system-px origin, clamped by its own rule and snapped.\n\nThe clamp runs *here*, during the gesture, which is the moment the user is\nactually pushing against an edge — and nowhere else. Re-clamping later, on\na parent that shrank under a zoom, would move a host nobody moved and would\nnot give the position back when the parent grew again.\n\nIt runs against the box seed measured, not a fresh one. The\ndifference only shows when the movable contract is unmet: a host with no\nstated origin is in normal flow, so its first move takes it out — and an\nauto-height parent then collapses to whatever is left, which is a box the\nhost never actually sat in. Re-measuring per move would clamp the rest of\nthe gesture into that phantom, walking the host to the parent's origin\nwhile the user drags away from it. The box at the moment of the press is\nthe one the user is pushing against.\n\nThe pair is the origin point; the clamp is a rule about the *box*. So\nthe origin's offset comes off before the clamp and goes back on after,\nand a dragged title stays centered on wherever it was dropped."
|
|
22531
23359
|
},
|
|
22532
23360
|
{
|
|
22533
23361
|
"kind": "method",
|