nodality 1.3.1 → 1.3.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/animator.cjs.js +1 -1
- package/dist/animator.cjs.js.LICENSE.txt +1 -1
- package/dist/animator.esm.js +1 -1
- package/dist/animator.esm.js.LICENSE.txt +1 -1
- package/dist/audionew.cjs.js +1 -1
- package/dist/audionew.cjs.js.LICENSE.txt +1 -1
- package/dist/audionew.esm.js +1 -1
- package/dist/audionew.esm.js.LICENSE.txt +1 -1
- package/dist/base.cjs.js +1 -1
- package/dist/base.cjs.js.LICENSE.txt +1 -1
- package/dist/base.esm.js +1 -1
- package/dist/base.esm.js.LICENSE.txt +1 -1
- package/dist/beta-desktop-bar.cjs.js +1 -1
- package/dist/beta-desktop-bar.cjs.js.LICENSE.txt +1 -1
- package/dist/beta-desktop-bar.esm.js +1 -1
- package/dist/beta-desktop-bar.esm.js.LICENSE.txt +1 -1
- package/dist/beta-mobile-bar.cjs.js +1 -1
- package/dist/beta-mobile-bar.cjs.js.LICENSE.txt +1 -1
- package/dist/beta-mobile-bar.esm.js +1 -1
- package/dist/beta-mobile-bar.esm.js.LICENSE.txt +1 -1
- package/dist/bundle.umd.js +1 -1
- package/dist/bundle.umd.js.LICENSE.txt +1 -1
- package/dist/button.cjs.js +1 -1
- package/dist/button.cjs.js.LICENSE.txt +1 -1
- package/dist/button.esm.js +1 -1
- package/dist/button.esm.js.LICENSE.txt +1 -1
- package/dist/card-getter.cjs.js.LICENSE.txt +1 -1
- package/dist/card-getter.esm.js.LICENSE.txt +1 -1
- package/dist/center.cjs.js +1 -1
- package/dist/center.cjs.js.LICENSE.txt +1 -1
- package/dist/center.esm.js +1 -1
- package/dist/center.esm.js.LICENSE.txt +1 -1
- package/dist/checkbox.cjs.js +1 -1
- package/dist/checkbox.cjs.js.LICENSE.txt +1 -1
- package/dist/checkbox.esm.js +1 -1
- package/dist/checkbox.esm.js.LICENSE.txt +1 -1
- package/dist/code.cjs.js +1 -1
- package/dist/code.cjs.js.LICENSE.txt +1 -1
- package/dist/code.esm.js +1 -1
- package/dist/code.esm.js.LICENSE.txt +1 -1
- package/dist/container.cjs.js +1 -1
- package/dist/container.cjs.js.LICENSE.txt +1 -1
- package/dist/container.esm.js +1 -1
- package/dist/container.esm.js.LICENSE.txt +1 -1
- package/dist/data-list.cjs.js +1 -1
- package/dist/data-list.cjs.js.LICENSE.txt +1 -1
- package/dist/data-list.esm.js +1 -1
- package/dist/data-list.esm.js.LICENSE.txt +1 -1
- package/dist/designer.cjs.js +1 -1
- package/dist/designer.cjs.js.LICENSE.txt +1 -1
- package/dist/designer.esm.js +1 -1
- package/dist/designer.esm.js.LICENSE.txt +1 -1
- package/dist/element-mapper.cjs.js +1 -1
- package/dist/element-mapper.cjs.js.LICENSE.txt +1 -1
- package/dist/element-mapper.esm.js +1 -1
- package/dist/element-mapper.esm.js.LICENSE.txt +1 -1
- package/dist/finalresult.esm.js +1 -1
- package/dist/finalresult.esm.js.LICENSE.txt +1 -1
- package/dist/flex-card.cjs.js +1 -1
- package/dist/flex-card.cjs.js.LICENSE.txt +1 -1
- package/dist/flex-card.esm.js +1 -1
- package/dist/flex-card.esm.js.LICENSE.txt +1 -1
- package/dist/flex-grid.cjs.js +1 -1
- package/dist/flex-grid.cjs.js.LICENSE.txt +1 -1
- package/dist/flex-grid.esm.js +1 -1
- package/dist/flex-grid.esm.js.LICENSE.txt +1 -1
- package/dist/flex-row.cjs.js +1 -1
- package/dist/flex-row.cjs.js.LICENSE.txt +1 -1
- package/dist/flex-row.esm.js +1 -1
- package/dist/flex-row.esm.js.LICENSE.txt +1 -1
- package/dist/floating-input.cjs.js +1 -1
- package/dist/floating-input.cjs.js.LICENSE.txt +1 -1
- package/dist/floating-input.esm.js +1 -1
- package/dist/floating-input.esm.js.LICENSE.txt +1 -1
- package/dist/free.cjs.js +1 -1
- package/dist/free.cjs.js.LICENSE.txt +1 -1
- package/dist/free.esm.js +1 -1
- package/dist/free.esm.js.LICENSE.txt +1 -1
- package/dist/horizontal-scroller.cjs.js.LICENSE.txt +1 -1
- package/dist/horizontal-scroller.esm.js.LICENSE.txt +1 -1
- package/dist/image-picker.cjs.js +1 -1
- package/dist/image-picker.cjs.js.LICENSE.txt +1 -1
- package/dist/image-picker.esm.js +1 -1
- package/dist/image-picker.esm.js.LICENSE.txt +1 -1
- package/dist/image.cjs.js +1 -1
- package/dist/image.cjs.js.LICENSE.txt +1 -1
- package/dist/image.esm.js +1 -1
- package/dist/image.esm.js.LICENSE.txt +1 -1
- package/dist/index.cjs.js +1 -1
- package/dist/index.cjs.js.LICENSE.txt +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.esm.js +1 -1
- package/dist/index.esm.js.LICENSE.txt +1 -1
- package/dist/keyframe-animation.cjs.js.LICENSE.txt +1 -1
- package/dist/keyframe-animation.esm.js.LICENSE.txt +1 -1
- package/dist/link-getter.cjs.js +1 -1
- package/dist/link-getter.cjs.js.LICENSE.txt +1 -1
- package/dist/link-getter.esm.js +1 -1
- package/dist/link-getter.esm.js.LICENSE.txt +1 -1
- package/dist/link.cjs.js +1 -1
- package/dist/link.cjs.js.LICENSE.txt +1 -1
- package/dist/link.esm.js +1 -1
- package/dist/link.esm.js.LICENSE.txt +1 -1
- package/dist/meta-adder.cjs.js +1 -1
- package/dist/meta-adder.cjs.js.LICENSE.txt +1 -1
- package/dist/meta-adder.esm.js +1 -1
- package/dist/meta-adder.esm.js.LICENSE.txt +1 -1
- package/dist/modal-2025.cjs.js +1 -1
- package/dist/modal-2025.cjs.js.LICENSE.txt +1 -1
- package/dist/modal-2025.esm.js +1 -1
- package/dist/modal-2025.esm.js.LICENSE.txt +1 -1
- package/dist/multiswitcher.cjs.js +1 -1
- package/dist/multiswitcher.cjs.js.LICENSE.txt +1 -1
- package/dist/multiswitcher.esm.js +1 -1
- package/dist/multiswitcher.esm.js.LICENSE.txt +1 -1
- package/dist/new-nav-bar.cjs.js +1 -1
- package/dist/new-nav-bar.cjs.js.LICENSE.txt +1 -1
- package/dist/new-nav-bar.esm.js +1 -1
- package/dist/new-nav-bar.esm.js.LICENSE.txt +1 -1
- package/dist/picker.cjs.js +1 -1
- package/dist/picker.cjs.js.LICENSE.txt +1 -1
- package/dist/picker.esm.js +1 -1
- package/dist/picker.esm.js.LICENSE.txt +1 -1
- package/dist/progress.cjs.js +1 -1
- package/dist/progress.cjs.js.LICENSE.txt +1 -1
- package/dist/progress.esm.js +1 -1
- package/dist/progress.esm.js.LICENSE.txt +1 -1
- package/dist/radio.cjs.js +1 -1
- package/dist/radio.cjs.js.LICENSE.txt +1 -1
- package/dist/radio.esm.js +1 -1
- package/dist/radio.esm.js.LICENSE.txt +1 -1
- package/dist/range.cjs.js +1 -1
- package/dist/range.cjs.js.LICENSE.txt +1 -1
- package/dist/range.esm.js +1 -1
- package/dist/range.esm.js.LICENSE.txt +1 -1
- package/dist/scroll-video.cjs.js.LICENSE.txt +1 -1
- package/dist/scroll-video.esm.js.LICENSE.txt +1 -1
- package/dist/side-bar.cjs.js +1 -1
- package/dist/side-bar.cjs.js.LICENSE.txt +1 -1
- package/dist/side-bar.esm.js +1 -1
- package/dist/side-bar.esm.js.LICENSE.txt +1 -1
- package/dist/side-nav-bar.cjs.js +1 -1
- package/dist/side-nav-bar.cjs.js.LICENSE.txt +1 -1
- package/dist/side-nav-bar.esm.js +1 -1
- package/dist/side-nav-bar.esm.js.LICENSE.txt +1 -1
- package/dist/simple-bar.cjs.js +1 -1
- package/dist/simple-bar.cjs.js.LICENSE.txt +1 -1
- package/dist/simple-bar.esm.js +1 -1
- package/dist/simple-bar.esm.js.LICENSE.txt +1 -1
- package/dist/slider-2025.cjs.js +1 -1
- package/dist/slider-2025.cjs.js.LICENSE.txt +1 -1
- package/dist/slider-2025.esm.js +1 -1
- package/dist/slider-2025.esm.js.LICENSE.txt +1 -1
- package/dist/spacer.cjs.js +1 -1
- package/dist/spacer.cjs.js.LICENSE.txt +1 -1
- package/dist/spacer.esm.js +1 -1
- package/dist/spacer.esm.js.LICENSE.txt +1 -1
- package/dist/stack.cjs.js +1 -1
- package/dist/stack.cjs.js.LICENSE.txt +1 -1
- package/dist/stack.esm.js +1 -1
- package/dist/stack.esm.js.LICENSE.txt +1 -1
- package/dist/stacker.cjs.js.LICENSE.txt +1 -1
- package/dist/stacker.esm.js.LICENSE.txt +1 -1
- package/dist/table.cjs.js +1 -1
- package/dist/table.cjs.js.LICENSE.txt +1 -1
- package/dist/table.esm.js +1 -1
- package/dist/table.esm.js.LICENSE.txt +1 -1
- package/dist/text-field.cjs.js +1 -1
- package/dist/text-field.cjs.js.LICENSE.txt +1 -1
- package/dist/text-field.esm.js +1 -1
- package/dist/text-field.esm.js.LICENSE.txt +1 -1
- package/dist/text.cjs.js +1 -1
- package/dist/text.cjs.js.LICENSE.txt +1 -1
- package/dist/text.esm.js +1 -1
- package/dist/text.esm.js.LICENSE.txt +1 -1
- package/dist/theme.cjs.js.LICENSE.txt +1 -1
- package/dist/theme.esm.js.LICENSE.txt +1 -1
- package/dist/transform-anim.cjs.js.LICENSE.txt +1 -1
- package/dist/transform-anim.esm.js.LICENSE.txt +1 -1
- package/dist/ulist.cjs.js +1 -1
- package/dist/ulist.cjs.js.LICENSE.txt +1 -1
- package/dist/ulist.esm.js +1 -1
- package/dist/ulist.esm.js.LICENSE.txt +1 -1
- package/dist/video.cjs.js +1 -1
- package/dist/video.cjs.js.LICENSE.txt +1 -1
- package/dist/video.esm.js +1 -1
- package/dist/video.esm.js.LICENSE.txt +1 -1
- package/dist/wrap.cjs.js +1 -1
- package/dist/wrap.cjs.js.LICENSE.txt +1 -1
- package/dist/wrap.esm.js +1 -1
- package/dist/wrap.esm.js.LICENSE.txt +1 -1
- package/dist/zoom-card.cjs.js +1 -1
- package/dist/zoom-card.cjs.js.LICENSE.txt +1 -1
- package/dist/zoom-card.esm.js +1 -1
- package/dist/zoom-card.esm.js.LICENSE.txt +1 -1
- package/layout/animator.js +30 -2
- package/layout/audio.js +1 -1
- package/layout/audionew.js +1 -1
- package/layout/base.js +1 -1
- package/layout/beta-desktop-bar.js +1 -1
- package/layout/beta-mobile-bar.js +1 -1
- package/layout/button.js +1 -1
- package/layout/center.js +1 -1
- package/layout/checkbox.js +1 -1
- package/layout/circle.js +1 -1
- package/layout/code.js +1 -1
- package/layout/container.js +1 -1
- package/layout/dropdown-2025.js +1 -1
- package/layout/flex-card.js +1 -1
- package/layout/flex-grid.js +1 -1
- package/layout/flex-row.js +1 -1
- package/layout/form-components/custom.js +1 -1
- package/layout/form-components/data-list.js +1 -1
- package/layout/form-components/floating-input.js +1 -1
- package/layout/form-components/form-all.js +1 -1
- package/layout/form-components/form.js +1 -1
- package/layout/form-components/image-picker.js +1 -1
- package/layout/form-components/picker.js +77 -7
- package/layout/form-components/radio.js +1 -1
- package/layout/form-components/radiogroup.js +1 -1
- package/layout/form-components/range.js +1 -1
- package/layout/free.js +1 -1
- package/layout/grid-switcher.js +1 -1
- package/layout/grid.js +1 -1
- package/layout/horizontal-scroller.js +1 -1
- package/layout/image.js +1 -1
- package/layout/index.js +1 -1
- package/layout/link.js +1 -1
- package/layout/list.js +1 -1
- package/layout/meta-adder.js +1 -1
- package/layout/modal-2025.js +1 -1
- package/layout/morph.js +1 -1
- package/layout/multiswitcher.js +1 -1
- package/layout/nav-bar.js +1 -1
- package/layout/nav-factor/custom-div.js +1 -1
- package/layout/new-nav-bar.js +1 -1
- package/layout/polygon.js +1 -1
- package/layout/prerender-site.js +1 -1
- package/layout/prerender.js +1 -1
- package/layout/progress.js +1 -1
- package/layout/row.js +1 -1
- package/layout/scroll-video.js +1 -1
- package/layout/side-bar.js +1 -1
- package/layout/side-nav-bar.js +1 -1
- package/layout/simple-bar.js +1 -1
- package/layout/slider-2025.js +1 -1
- package/layout/spacer.js +1 -1
- package/layout/stack.js +1 -1
- package/layout/svg.js +1 -1
- package/layout/switcher.js +1 -1
- package/layout/table.js +1 -1
- package/layout/text-field.js +1 -1
- package/layout/text.js +1 -1
- package/layout/ulist.js +1 -1
- package/layout/video.js +1 -1
- package/layout/wrap.js +1 -1
- package/layout/zoom-card.js +1 -1
- package/lib/agent-surface.js +1 -1
- package/lib/card-getter.js +1 -1
- package/lib/check-page.js +45 -5
- package/lib/codegen.js +1 -1
- package/lib/data.js +1 -1
- package/lib/designer.js +8 -2
- package/lib/element-mapper.js +6 -2
- package/lib/element-params.generated.js +1 -1
- package/lib/keyframe-animation.js +1 -1
- package/lib/link-getter.js +1 -1
- package/lib/morph-node.js +1 -1
- package/lib/normalize-spec.js +1 -1
- package/lib/parse-html.js +1 -1
- package/lib/raster-inspect.js +1 -1
- package/lib/raster-ops.js +1 -1
- package/lib/raster-presets.js +1 -1
- package/lib/resolve-refs.js +1 -1
- package/lib/scroll-video.js +1 -1
- package/lib/seo.js +1 -1
- package/lib/stacker.js +1 -1
- package/lib/suggest.js +1 -1
- package/lib/theme.js +1 -1
- package/lib/transform-anim.js +1 -1
- package/lib/transition.js +1 -1
- package/lib/validate-nodes.js +1 -1
- package/lib/webmcp-adapter.js +71 -6
- package/package.json +1 -1
- package/schema.json +68 -32
package/lib/webmcp-adapter.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* nodality v1.3.
|
|
2
|
+
* nodality v1.3.3
|
|
3
3
|
* (c) 2026 Filip Vabrousek
|
|
4
4
|
* License: MIT
|
|
5
5
|
*/
|
|
@@ -279,18 +279,83 @@ export function installAgentSurface({ mount, elements, nodes, morphs }) {
|
|
|
279
279
|
return refuse("MISSING_REQUIRED", missing, Object.keys(props));
|
|
280
280
|
}
|
|
281
281
|
|
|
282
|
-
|
|
282
|
+
// Setting a control is not the same as the control TAKING the
|
|
283
|
+
// value, and the difference used to be invisible. Assigning a
|
|
284
|
+
// `<select>` a value it has no option for leaves it untouched and
|
|
285
|
+
// throws nothing; the old loop pushed the key onto `filled`
|
|
286
|
+
// regardless, so the tool answered `ok: true, filled: [... "topic"]`
|
|
287
|
+
// for a field that never reached the payload. An agent was told
|
|
288
|
+
// its submission carried something it did not.
|
|
289
|
+
//
|
|
290
|
+
// So every field is READ BACK after it is set, and what a control
|
|
291
|
+
// refused is reported rather than counted as done.
|
|
292
|
+
const filled = [], rejected = [], absent = [];
|
|
293
|
+
|
|
294
|
+
/** The values a control will actually accept, where it is a closed set. */
|
|
295
|
+
const accepts = (field) => field.tagName === "SELECT"
|
|
296
|
+
? [...field.options].map((o) => o.value) : [];
|
|
297
|
+
|
|
283
298
|
for (const key of Object.keys(props)) {
|
|
284
299
|
if (args[key] === undefined) continue;
|
|
300
|
+
const want = args[key];
|
|
285
301
|
const field = form.querySelector(
|
|
286
302
|
`[name="${key}"], #${CSS.escape(key)}`);
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
303
|
+
// Named by the schema and carried by nothing. Also silent
|
|
304
|
+
// before, and the same lie by omission.
|
|
305
|
+
if (!field) { absent.push(key); continue; }
|
|
306
|
+
|
|
307
|
+
if (field.type === "checkbox") {
|
|
308
|
+
field.checked = !!want;
|
|
309
|
+
} else if (field.type === "radio") {
|
|
310
|
+
// A group, not a field: `querySelector` returns the FIRST
|
|
311
|
+
// radio, and assigning `.value` to it rewrites that
|
|
312
|
+
// button's value instead of choosing the one asked for —
|
|
313
|
+
// which then reads back as a match and reports success
|
|
314
|
+
// while nothing is selected.
|
|
315
|
+
const group = [...form.querySelectorAll(`[name="${key}"]`)];
|
|
316
|
+
const hit = group.find((r) => r.value === String(want));
|
|
317
|
+
if (hit) hit.checked = true;
|
|
318
|
+
else {
|
|
319
|
+
rejected.push({ field: key, got: null,
|
|
320
|
+
valid: group.map((r) => r.value) });
|
|
321
|
+
continue;
|
|
322
|
+
}
|
|
323
|
+
} else {
|
|
324
|
+
field.value = String(want);
|
|
325
|
+
}
|
|
290
326
|
// Both, because component state may listen for either.
|
|
291
327
|
field.dispatchEvent(new Event("input", { bubbles: true }));
|
|
292
328
|
field.dispatchEvent(new Event("change", { bubbles: true }));
|
|
293
|
-
|
|
329
|
+
|
|
330
|
+
const got = field.type === "checkbox" ? field.checked
|
|
331
|
+
: field.type === "radio" ? String(want) : field.value;
|
|
332
|
+
const took = field.type === "checkbox"
|
|
333
|
+
? (!!want === got) : (String(want) === got);
|
|
334
|
+
if (took) filled.push(key);
|
|
335
|
+
else rejected.push({ field: key, got, valid: accepts(field) });
|
|
336
|
+
}
|
|
337
|
+
|
|
338
|
+
// Nothing is submitted when a field did not take. A partial
|
|
339
|
+
// payload sent under `ok: true` is the failure this whole
|
|
340
|
+
// architecture exists to remove, and it is worse on the agent
|
|
341
|
+
// path than anywhere else: the caller has no eyes on the page and
|
|
342
|
+
// no reason to doubt the report. The refusal names the field and,
|
|
343
|
+
// where the control has a closed set, what it would have accepted
|
|
344
|
+
// — repairable in one turn.
|
|
345
|
+
if (rejected.length || absent.length) {
|
|
346
|
+
return {
|
|
347
|
+
...refuse("FIELD_NOT_SET",
|
|
348
|
+
[...rejected.map((r) => r.field), ...absent],
|
|
349
|
+
[...rejected.map((r) => r.valid.length
|
|
350
|
+
? `"${r.field}" accepts ${r.valid.map((v) => JSON.stringify(v)).join(", ")}`
|
|
351
|
+
: `"${r.field}" did not take the value given`),
|
|
352
|
+
...absent.map((k) =>
|
|
353
|
+
`"${k}" is named by the schema but no control in the form carries it`)]),
|
|
354
|
+
// What DID land, because the form is now partly filled and
|
|
355
|
+
// a caller retrying needs to know that.
|
|
356
|
+
filled,
|
|
357
|
+
submitted: null,
|
|
358
|
+
};
|
|
294
359
|
}
|
|
295
360
|
|
|
296
361
|
// Submitted through the form's OWN path, so its listeners,
|
package/package.json
CHANGED
package/schema.json
CHANGED
|
@@ -1941,7 +1941,8 @@
|
|
|
1941
1941
|
"name": "italic"
|
|
1942
1942
|
},
|
|
1943
1943
|
{
|
|
1944
|
-
"name": "items"
|
|
1944
|
+
"name": "items",
|
|
1945
|
+
"description": "The choices, each a `[value, text]` pair — or a plain string used as both."
|
|
1945
1946
|
},
|
|
1946
1947
|
{
|
|
1947
1948
|
"name": "keySet",
|
|
@@ -2132,7 +2133,8 @@
|
|
|
2132
2133
|
"name": "text"
|
|
2133
2134
|
},
|
|
2134
2135
|
{
|
|
2135
|
-
"name": "title"
|
|
2136
|
+
"name": "title",
|
|
2137
|
+
"description": "Accepted as a synonym for `label`, for parity with `labelInput`."
|
|
2136
2138
|
},
|
|
2137
2139
|
{
|
|
2138
2140
|
"name": "top"
|
|
@@ -2737,7 +2739,8 @@
|
|
|
2737
2739
|
"name": "italic"
|
|
2738
2740
|
},
|
|
2739
2741
|
{
|
|
2740
|
-
"name": "items"
|
|
2742
|
+
"name": "items",
|
|
2743
|
+
"description": "The choices, each a `[value, text]` pair — or a plain string used as both."
|
|
2741
2744
|
},
|
|
2742
2745
|
{
|
|
2743
2746
|
"name": "keySet",
|
|
@@ -2937,7 +2940,8 @@
|
|
|
2937
2940
|
"name": "text"
|
|
2938
2941
|
},
|
|
2939
2942
|
{
|
|
2940
|
-
"name": "title"
|
|
2943
|
+
"name": "title",
|
|
2944
|
+
"description": "Accepted as a synonym for `label`, for parity with `labelInput`."
|
|
2941
2945
|
},
|
|
2942
2946
|
{
|
|
2943
2947
|
"name": "top"
|
|
@@ -3267,7 +3271,8 @@
|
|
|
3267
3271
|
"name": "italic"
|
|
3268
3272
|
},
|
|
3269
3273
|
{
|
|
3270
|
-
"name": "items"
|
|
3274
|
+
"name": "items",
|
|
3275
|
+
"description": "The choices, each a `[value, text]` pair — or a plain string used as both."
|
|
3271
3276
|
},
|
|
3272
3277
|
{
|
|
3273
3278
|
"name": "keySet",
|
|
@@ -3467,7 +3472,8 @@
|
|
|
3467
3472
|
"name": "text"
|
|
3468
3473
|
},
|
|
3469
3474
|
{
|
|
3470
|
-
"name": "title"
|
|
3475
|
+
"name": "title",
|
|
3476
|
+
"description": "Accepted as a synonym for `label`, for parity with `labelInput`."
|
|
3471
3477
|
},
|
|
3472
3478
|
{
|
|
3473
3479
|
"name": "top"
|
|
@@ -3775,7 +3781,8 @@
|
|
|
3775
3781
|
"name": "italic"
|
|
3776
3782
|
},
|
|
3777
3783
|
{
|
|
3778
|
-
"name": "items"
|
|
3784
|
+
"name": "items",
|
|
3785
|
+
"description": "The choices, each a `[value, text]` pair — or a plain string used as both."
|
|
3779
3786
|
},
|
|
3780
3787
|
{
|
|
3781
3788
|
"name": "justifo"
|
|
@@ -3972,7 +3979,8 @@
|
|
|
3972
3979
|
"name": "text"
|
|
3973
3980
|
},
|
|
3974
3981
|
{
|
|
3975
|
-
"name": "title"
|
|
3982
|
+
"name": "title",
|
|
3983
|
+
"description": "Accepted as a synonym for `label`, for parity with `labelInput`."
|
|
3976
3984
|
},
|
|
3977
3985
|
{
|
|
3978
3986
|
"name": "toColumn"
|
|
@@ -4318,7 +4326,8 @@
|
|
|
4318
4326
|
"name": "italic"
|
|
4319
4327
|
},
|
|
4320
4328
|
{
|
|
4321
|
-
"name": "items"
|
|
4329
|
+
"name": "items",
|
|
4330
|
+
"description": "The choices, each a `[value, text]` pair — or a plain string used as both."
|
|
4322
4331
|
},
|
|
4323
4332
|
{
|
|
4324
4333
|
"name": "keySet",
|
|
@@ -4518,7 +4527,8 @@
|
|
|
4518
4527
|
"name": "text"
|
|
4519
4528
|
},
|
|
4520
4529
|
{
|
|
4521
|
-
"name": "title"
|
|
4530
|
+
"name": "title",
|
|
4531
|
+
"description": "Accepted as a synonym for `label`, for parity with `labelInput`."
|
|
4522
4532
|
},
|
|
4523
4533
|
{
|
|
4524
4534
|
"name": "top"
|
|
@@ -4589,7 +4599,8 @@
|
|
|
4589
4599
|
"description": "DOM id on the input."
|
|
4590
4600
|
},
|
|
4591
4601
|
{
|
|
4592
|
-
"name": "items"
|
|
4602
|
+
"name": "items",
|
|
4603
|
+
"description": "The choices, each a `[value, text]` pair — or a plain string used as both."
|
|
4593
4604
|
},
|
|
4594
4605
|
{
|
|
4595
4606
|
"name": "length"
|
|
@@ -4674,7 +4685,8 @@
|
|
|
4674
4685
|
"description": "Explicit light/dark overrides — {light: {...}, dark: {...}}."
|
|
4675
4686
|
},
|
|
4676
4687
|
{
|
|
4677
|
-
"name": "title"
|
|
4688
|
+
"name": "title",
|
|
4689
|
+
"description": "Accepted as a synonym for `label`, for parity with `labelInput`."
|
|
4678
4690
|
},
|
|
4679
4691
|
{
|
|
4680
4692
|
"name": "type",
|
|
@@ -4730,7 +4742,8 @@
|
|
|
4730
4742
|
"name": "text"
|
|
4731
4743
|
},
|
|
4732
4744
|
{
|
|
4733
|
-
"name": "title"
|
|
4745
|
+
"name": "title",
|
|
4746
|
+
"description": "Accepted as a synonym for `label`, for parity with `labelInput`."
|
|
4734
4747
|
},
|
|
4735
4748
|
{
|
|
4736
4749
|
"name": "type",
|
|
@@ -4780,7 +4793,8 @@
|
|
|
4780
4793
|
"description": "Corner radius in pixels. A bare number, not a CSS length."
|
|
4781
4794
|
},
|
|
4782
4795
|
{
|
|
4783
|
-
"name": "title"
|
|
4796
|
+
"name": "title",
|
|
4797
|
+
"description": "Accepted as a synonym for `label`, for parity with `labelInput`."
|
|
4784
4798
|
},
|
|
4785
4799
|
{
|
|
4786
4800
|
"name": "type",
|
|
@@ -4798,11 +4812,13 @@
|
|
|
4798
4812
|
"params": [
|
|
4799
4813
|
{
|
|
4800
4814
|
"name": "arrayMargin",
|
|
4801
|
-
"description": "Margin on named sides. {sides: [\"left\"], value: \"1rem\"}."
|
|
4815
|
+
"description": "Margin on named sides. {sides: [\"left\"], value: \"1rem\"}.",
|
|
4816
|
+
"deprecated": "superseded by `mar`. `mar: [{a: 10}]` is the same margin. Still works, but warns."
|
|
4802
4817
|
},
|
|
4803
4818
|
{
|
|
4804
4819
|
"name": "arrayPadding",
|
|
4805
|
-
"description": "Padding on named sides. {sides: [\"left\",\"top\"], value: \"1rem\"}."
|
|
4820
|
+
"description": "Padding on named sides. {sides: [\"left\",\"top\"], value: \"1rem\"}.",
|
|
4821
|
+
"deprecated": "superseded by `pad`. `pad: [{a: \"0.5rem\"}]` is the same padding. Still works, but warns."
|
|
4806
4822
|
},
|
|
4807
4823
|
{
|
|
4808
4824
|
"name": "background"
|
|
@@ -4812,10 +4828,12 @@
|
|
|
4812
4828
|
"description": "DOM id on the input."
|
|
4813
4829
|
},
|
|
4814
4830
|
{
|
|
4815
|
-
"name": "items"
|
|
4831
|
+
"name": "items",
|
|
4832
|
+
"description": "The choices, each a `[value, text]` pair — or a plain string used as both."
|
|
4816
4833
|
},
|
|
4817
4834
|
{
|
|
4818
|
-
"name": "
|
|
4835
|
+
"name": "label",
|
|
4836
|
+
"description": "Accessible name for the field."
|
|
4819
4837
|
},
|
|
4820
4838
|
{
|
|
4821
4839
|
"name": "mar",
|
|
@@ -4833,6 +4851,10 @@
|
|
|
4833
4851
|
"name": "radius",
|
|
4834
4852
|
"description": "Corner radius in pixels. A bare number, not a CSS length."
|
|
4835
4853
|
},
|
|
4854
|
+
{
|
|
4855
|
+
"name": "title",
|
|
4856
|
+
"description": "Accepted as a synonym for `label`, for parity with `labelInput`."
|
|
4857
|
+
},
|
|
4836
4858
|
{
|
|
4837
4859
|
"name": "type",
|
|
4838
4860
|
"description": "Input type attribute. Defaults to \"text\"; \"search\" adds the native clear button."
|
|
@@ -5149,7 +5171,8 @@
|
|
|
5149
5171
|
"name": "italic"
|
|
5150
5172
|
},
|
|
5151
5173
|
{
|
|
5152
|
-
"name": "items"
|
|
5174
|
+
"name": "items",
|
|
5175
|
+
"description": "The choices, each a `[value, text]` pair — or a plain string used as both."
|
|
5153
5176
|
},
|
|
5154
5177
|
{
|
|
5155
5178
|
"name": "keySet",
|
|
@@ -5334,7 +5357,8 @@
|
|
|
5334
5357
|
"name": "text"
|
|
5335
5358
|
},
|
|
5336
5359
|
{
|
|
5337
|
-
"name": "title"
|
|
5360
|
+
"name": "title",
|
|
5361
|
+
"description": "Accepted as a synonym for `label`, for parity with `labelInput`."
|
|
5338
5362
|
},
|
|
5339
5363
|
{
|
|
5340
5364
|
"name": "top"
|
|
@@ -5734,7 +5758,8 @@
|
|
|
5734
5758
|
"name": "italic"
|
|
5735
5759
|
},
|
|
5736
5760
|
{
|
|
5737
|
-
"name": "items"
|
|
5761
|
+
"name": "items",
|
|
5762
|
+
"description": "The choices, each a `[value, text]` pair — or a plain string used as both."
|
|
5738
5763
|
},
|
|
5739
5764
|
{
|
|
5740
5765
|
"name": "keySet",
|
|
@@ -5919,7 +5944,8 @@
|
|
|
5919
5944
|
"name": "text"
|
|
5920
5945
|
},
|
|
5921
5946
|
{
|
|
5922
|
-
"name": "title"
|
|
5947
|
+
"name": "title",
|
|
5948
|
+
"description": "Accepted as a synonym for `label`, for parity with `labelInput`."
|
|
5923
5949
|
},
|
|
5924
5950
|
{
|
|
5925
5951
|
"name": "top"
|
|
@@ -6166,7 +6192,8 @@
|
|
|
6166
6192
|
"description": "Heading level to render, independent of `size`/`fluid`."
|
|
6167
6193
|
},
|
|
6168
6194
|
{
|
|
6169
|
-
"name": "title"
|
|
6195
|
+
"name": "title",
|
|
6196
|
+
"description": "Accepted as a synonym for `label`, for parity with `labelInput`."
|
|
6170
6197
|
},
|
|
6171
6198
|
{
|
|
6172
6199
|
"name": "top"
|
|
@@ -6443,7 +6470,8 @@
|
|
|
6443
6470
|
"name": "italic"
|
|
6444
6471
|
},
|
|
6445
6472
|
{
|
|
6446
|
-
"name": "items"
|
|
6473
|
+
"name": "items",
|
|
6474
|
+
"description": "The choices, each a `[value, text]` pair — or a plain string used as both."
|
|
6447
6475
|
},
|
|
6448
6476
|
{
|
|
6449
6477
|
"name": "keySet",
|
|
@@ -6628,7 +6656,8 @@
|
|
|
6628
6656
|
"name": "text"
|
|
6629
6657
|
},
|
|
6630
6658
|
{
|
|
6631
|
-
"name": "title"
|
|
6659
|
+
"name": "title",
|
|
6660
|
+
"description": "Accepted as a synonym for `label`, for parity with `labelInput`."
|
|
6632
6661
|
},
|
|
6633
6662
|
{
|
|
6634
6663
|
"name": "top"
|
|
@@ -6929,7 +6958,8 @@
|
|
|
6929
6958
|
"name": "italic"
|
|
6930
6959
|
},
|
|
6931
6960
|
{
|
|
6932
|
-
"name": "items"
|
|
6961
|
+
"name": "items",
|
|
6962
|
+
"description": "The choices, each a `[value, text]` pair — or a plain string used as both."
|
|
6933
6963
|
},
|
|
6934
6964
|
{
|
|
6935
6965
|
"name": "keySet",
|
|
@@ -7114,7 +7144,8 @@
|
|
|
7114
7144
|
"name": "text"
|
|
7115
7145
|
},
|
|
7116
7146
|
{
|
|
7117
|
-
"name": "title"
|
|
7147
|
+
"name": "title",
|
|
7148
|
+
"description": "Accepted as a synonym for `label`, for parity with `labelInput`."
|
|
7118
7149
|
},
|
|
7119
7150
|
{
|
|
7120
7151
|
"name": "top"
|
|
@@ -7727,7 +7758,8 @@
|
|
|
7727
7758
|
"name": "italic"
|
|
7728
7759
|
},
|
|
7729
7760
|
{
|
|
7730
|
-
"name": "items"
|
|
7761
|
+
"name": "items",
|
|
7762
|
+
"description": "The choices, each a `[value, text]` pair — or a plain string used as both."
|
|
7731
7763
|
},
|
|
7732
7764
|
{
|
|
7733
7765
|
"name": "keySet",
|
|
@@ -7912,7 +7944,8 @@
|
|
|
7912
7944
|
"name": "text"
|
|
7913
7945
|
},
|
|
7914
7946
|
{
|
|
7915
|
-
"name": "title"
|
|
7947
|
+
"name": "title",
|
|
7948
|
+
"description": "Accepted as a synonym for `label`, for parity with `labelInput`."
|
|
7916
7949
|
},
|
|
7917
7950
|
{
|
|
7918
7951
|
"name": "top"
|
|
@@ -8385,7 +8418,8 @@
|
|
|
8385
8418
|
"description": "DOM id on the input."
|
|
8386
8419
|
},
|
|
8387
8420
|
{
|
|
8388
|
-
"name": "items"
|
|
8421
|
+
"name": "items",
|
|
8422
|
+
"description": "The choices, each a `[value, text]` pair — or a plain string used as both."
|
|
8389
8423
|
},
|
|
8390
8424
|
{
|
|
8391
8425
|
"name": "layout"
|
|
@@ -8672,7 +8706,8 @@
|
|
|
8672
8706
|
"name": "italic"
|
|
8673
8707
|
},
|
|
8674
8708
|
{
|
|
8675
|
-
"name": "items"
|
|
8709
|
+
"name": "items",
|
|
8710
|
+
"description": "The choices, each a `[value, text]` pair — or a plain string used as both."
|
|
8676
8711
|
},
|
|
8677
8712
|
{
|
|
8678
8713
|
"name": "keySet",
|
|
@@ -8857,7 +8892,8 @@
|
|
|
8857
8892
|
"name": "text"
|
|
8858
8893
|
},
|
|
8859
8894
|
{
|
|
8860
|
-
"name": "title"
|
|
8895
|
+
"name": "title",
|
|
8896
|
+
"description": "Accepted as a synonym for `label`, for parity with `labelInput`."
|
|
8861
8897
|
},
|
|
8862
8898
|
{
|
|
8863
8899
|
"name": "top"
|