@ponchia/ui 0.6.0 → 0.6.4
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/CHANGELOG.md +82 -4
- package/README.md +1 -1
- package/annotations/index.d.ts.map +1 -1
- package/annotations/index.js +36 -33
- package/behaviors/carousel.d.ts +28 -0
- package/behaviors/carousel.d.ts.map +1 -0
- package/behaviors/carousel.js +3 -0
- package/behaviors/combobox.d.ts +40 -0
- package/behaviors/combobox.d.ts.map +1 -0
- package/behaviors/combobox.js +71 -20
- package/behaviors/command.d.ts +41 -0
- package/behaviors/command.d.ts.map +1 -0
- package/behaviors/command.js +9 -0
- package/behaviors/connectors.d.ts +17 -0
- package/behaviors/connectors.d.ts.map +1 -0
- package/behaviors/connectors.js +3 -0
- package/behaviors/crosshair.d.ts +42 -0
- package/behaviors/crosshair.d.ts.map +1 -0
- package/behaviors/crosshair.js +19 -1
- package/behaviors/dialog.d.ts +20 -0
- package/behaviors/dialog.d.ts.map +1 -0
- package/behaviors/dialog.js +3 -0
- package/behaviors/disclosure.d.ts +10 -0
- package/behaviors/disclosure.d.ts.map +1 -0
- package/behaviors/disclosure.js +3 -0
- package/behaviors/dismissible.d.ts +10 -0
- package/behaviors/dismissible.d.ts.map +1 -0
- package/behaviors/dismissible.js +3 -0
- package/behaviors/forms.d.ts +27 -0
- package/behaviors/forms.d.ts.map +1 -0
- package/behaviors/forms.js +18 -5
- package/behaviors/glyph.d.ts +21 -0
- package/behaviors/glyph.d.ts.map +1 -0
- package/behaviors/glyph.js +82 -4
- package/behaviors/index.d.ts +31 -237
- package/behaviors/index.d.ts.map +1 -0
- package/behaviors/index.js +17 -0
- package/behaviors/inert.d.ts +20 -0
- package/behaviors/inert.d.ts.map +1 -0
- package/behaviors/inert.js +46 -0
- package/behaviors/internal.d.ts +25 -0
- package/behaviors/internal.d.ts.map +1 -0
- package/behaviors/internal.js +30 -1
- package/behaviors/legend.d.ts +35 -0
- package/behaviors/legend.d.ts.map +1 -0
- package/behaviors/legend.js +9 -0
- package/behaviors/menu.d.ts +16 -0
- package/behaviors/menu.d.ts.map +1 -0
- package/behaviors/menu.js +3 -0
- package/behaviors/modal.d.ts +41 -0
- package/behaviors/modal.d.ts.map +1 -0
- package/behaviors/modal.js +124 -0
- package/behaviors/popover.d.ts +28 -0
- package/behaviors/popover.d.ts.map +1 -0
- package/behaviors/popover.js +17 -17
- package/behaviors/spotlight.d.ts +17 -0
- package/behaviors/spotlight.d.ts.map +1 -0
- package/behaviors/spotlight.js +3 -0
- package/behaviors/table.d.ts +36 -0
- package/behaviors/table.d.ts.map +1 -0
- package/behaviors/table.js +48 -8
- package/behaviors/tabs.d.ts +20 -0
- package/behaviors/tabs.d.ts.map +1 -0
- package/behaviors/tabs.js +3 -0
- package/behaviors/theme.d.ts +54 -0
- package/behaviors/theme.d.ts.map +1 -0
- package/behaviors/theme.js +17 -0
- package/behaviors/toast.d.ts +49 -0
- package/behaviors/toast.d.ts.map +1 -0
- package/behaviors/toast.js +34 -2
- package/classes/classes.json +747 -15
- package/classes/index.d.ts +118 -3
- package/classes/index.js +264 -66
- package/connectors/index.d.ts +12 -0
- package/connectors/index.d.ts.map +1 -1
- package/connectors/index.js +23 -2
- package/css/app.css +26 -0
- package/css/bullet.css +108 -0
- package/css/code.css +98 -0
- package/css/content.css +15 -2
- package/css/crosshair.css +7 -7
- package/css/diff.css +153 -0
- package/css/disclosure.css +18 -4
- package/css/dots.css +246 -9
- package/css/feedback.css +39 -7
- package/css/forms.css +71 -3
- package/css/legend.css +5 -2
- package/css/motion.css +79 -14
- package/css/overlay.css +59 -2
- package/css/primitives.css +67 -8
- package/css/report.css +43 -4
- package/css/sidenote.css +67 -0
- package/css/skins.css +9 -0
- package/css/spark.css +76 -0
- package/css/table.css +16 -3
- package/css/term.css +110 -0
- package/css/textref.css +63 -0
- package/css/toc.css +91 -0
- package/css/tokens.css +14 -1
- package/css/tree.css +134 -0
- package/dist/bronto.css +1 -1
- package/dist/css/analytical.css +1 -1
- package/dist/css/app.css +1 -1
- package/dist/css/bullet.css +1 -0
- package/dist/css/code.css +1 -0
- package/dist/css/content.css +1 -1
- package/dist/css/crosshair.css +1 -1
- package/dist/css/diff.css +1 -0
- package/dist/css/disclosure.css +1 -1
- package/dist/css/dots.css +1 -1
- package/dist/css/feedback.css +1 -1
- package/dist/css/forms.css +1 -1
- package/dist/css/legend.css +1 -1
- package/dist/css/motion.css +1 -1
- package/dist/css/overlay.css +1 -1
- package/dist/css/primitives.css +1 -1
- package/dist/css/report.css +1 -1
- package/dist/css/sidenote.css +1 -0
- package/dist/css/skins.css +1 -1
- package/dist/css/spark.css +1 -0
- package/dist/css/table.css +1 -1
- package/dist/css/term.css +1 -0
- package/dist/css/textref.css +1 -0
- package/dist/css/toc.css +1 -0
- package/dist/css/tokens.css +1 -1
- package/dist/css/tree.css +1 -0
- package/docs/annotations.md +39 -0
- package/docs/architecture.md +2 -3
- package/docs/bullet.md +78 -0
- package/docs/code.md +76 -0
- package/docs/d2.md +4 -3
- package/docs/diff.md +146 -0
- package/docs/dots.md +146 -0
- package/docs/glyphs.md +114 -0
- package/docs/legends.md +8 -4
- package/docs/mermaid.md +21 -4
- package/docs/reference.md +168 -8
- package/docs/reporting.md +49 -17
- package/docs/sidenote.md +64 -0
- package/docs/spark.md +78 -0
- package/docs/stability.md +1 -0
- package/docs/term.md +81 -0
- package/docs/textref.md +78 -0
- package/docs/theming.md +44 -5
- package/docs/toc.md +83 -0
- package/docs/tree.md +74 -0
- package/docs/usage.md +264 -23
- package/docs/vega.md +22 -3
- package/glyphs/glyphs.d.ts +61 -0
- package/glyphs/glyphs.js +600 -31
- package/llms.txt +169 -15
- package/package.json +51 -7
- package/qwik/index.d.ts +4 -2
- package/qwik/index.d.ts.map +1 -1
- package/qwik/index.js +10 -0
- package/react/index.d.ts +4 -2
- package/react/index.d.ts.map +1 -1
- package/react/index.js +6 -0
- package/solid/index.d.ts +6 -2
- package/solid/index.d.ts.map +1 -1
- package/solid/index.js +6 -0
- package/tokens/skins.js +22 -9
package/classes/classes.json
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
{
|
|
2
|
-
"$comment": "@ponchia/ui class vocabulary as language-neutral data — validate emitted markup without executing the ESM cls map or parsing the .d.ts. Generated from classes/index.js — do not edit by hand; run `npm run classes:json:build`. Drift-checked in CI. `states` is the author-applied `is-*` hooks (runtime/behavior-managed hooks are excluded); `states` + `customProperties` are documented in docs/reference.md and ship outside `cls` by design.",
|
|
2
|
+
"$comment": "@ponchia/ui class vocabulary as language-neutral data — validate emitted markup without executing the ESM cls map or parsing the .d.ts. Generated from classes/index.js — do not edit by hand; run `npm run classes:json:build`. Drift-checked in CI. `groups[].base` is null for a parts-only namespace (no standalone base class — do NOT emit it). A modifier whose name contains `__` (e.g. `ui-spark__bar--pos`) attaches to THAT part, not the base host. `states` is the author-applied `is-*` hooks (runtime/behavior-managed hooks are excluded); `behaviorAttributes` are the `data-bronto-*` wiring hooks the optional behaviors delegate on; `requiredAria` is the role/aria a generator must emit per component. `states` + `customProperties` are documented in docs/reference.md and ship outside `cls` by design.",
|
|
3
3
|
"counts": {
|
|
4
|
-
"classes":
|
|
5
|
-
"groups":
|
|
4
|
+
"classes": 540,
|
|
5
|
+
"groups": 167
|
|
6
6
|
},
|
|
7
7
|
"groups": {
|
|
8
8
|
"ui-accordion": {
|
|
@@ -14,6 +14,11 @@
|
|
|
14
14
|
"ui-accordion__summary"
|
|
15
15
|
]
|
|
16
16
|
},
|
|
17
|
+
"ui-activity": {
|
|
18
|
+
"base": "ui-activity",
|
|
19
|
+
"modifiers": [],
|
|
20
|
+
"parts": []
|
|
21
|
+
},
|
|
17
22
|
"ui-alert": {
|
|
18
23
|
"base": "ui-alert",
|
|
19
24
|
"modifiers": [
|
|
@@ -25,7 +30,7 @@
|
|
|
25
30
|
],
|
|
26
31
|
"parts": [
|
|
27
32
|
"ui-alert__body",
|
|
28
|
-
"ui-
|
|
33
|
+
"ui-alert__close",
|
|
29
34
|
"ui-alert__title"
|
|
30
35
|
]
|
|
31
36
|
},
|
|
@@ -220,6 +225,19 @@
|
|
|
220
225
|
"modifiers": [],
|
|
221
226
|
"parts": []
|
|
222
227
|
},
|
|
228
|
+
"ui-bullet": {
|
|
229
|
+
"base": "ui-bullet",
|
|
230
|
+
"modifiers": [
|
|
231
|
+
"ui-bullet__measure--accent",
|
|
232
|
+
"ui-bullet__measure--neg",
|
|
233
|
+
"ui-bullet__measure--pos"
|
|
234
|
+
],
|
|
235
|
+
"parts": [
|
|
236
|
+
"ui-bullet__label",
|
|
237
|
+
"ui-bullet__measure",
|
|
238
|
+
"ui-bullet__target"
|
|
239
|
+
]
|
|
240
|
+
},
|
|
223
241
|
"ui-button": {
|
|
224
242
|
"base": "ui-button",
|
|
225
243
|
"modifiers": [
|
|
@@ -292,6 +310,20 @@
|
|
|
292
310
|
],
|
|
293
311
|
"parts": []
|
|
294
312
|
},
|
|
313
|
+
"ui-code": {
|
|
314
|
+
"base": "ui-code",
|
|
315
|
+
"modifiers": [
|
|
316
|
+
"ui-code--numbered",
|
|
317
|
+
"ui-code__line--add",
|
|
318
|
+
"ui-code__line--hl",
|
|
319
|
+
"ui-code__line--remove"
|
|
320
|
+
],
|
|
321
|
+
"parts": [
|
|
322
|
+
"ui-code__body",
|
|
323
|
+
"ui-code__head",
|
|
324
|
+
"ui-code__line"
|
|
325
|
+
]
|
|
326
|
+
},
|
|
295
327
|
"ui-combobox": {
|
|
296
328
|
"base": "ui-combobox",
|
|
297
329
|
"modifiers": [],
|
|
@@ -367,6 +399,11 @@
|
|
|
367
399
|
"ui-crosshair__line"
|
|
368
400
|
]
|
|
369
401
|
},
|
|
402
|
+
"ui-def": {
|
|
403
|
+
"base": "ui-def",
|
|
404
|
+
"modifiers": [],
|
|
405
|
+
"parts": []
|
|
406
|
+
},
|
|
370
407
|
"ui-delta": {
|
|
371
408
|
"base": "ui-delta",
|
|
372
409
|
"modifiers": [
|
|
@@ -377,6 +414,23 @@
|
|
|
377
414
|
],
|
|
378
415
|
"parts": []
|
|
379
416
|
},
|
|
417
|
+
"ui-diff": {
|
|
418
|
+
"base": "ui-diff",
|
|
419
|
+
"modifiers": [
|
|
420
|
+
"ui-diff--split",
|
|
421
|
+
"ui-diff__row--add",
|
|
422
|
+
"ui-diff__row--context",
|
|
423
|
+
"ui-diff__row--remove"
|
|
424
|
+
],
|
|
425
|
+
"parts": [
|
|
426
|
+
"ui-diff__code",
|
|
427
|
+
"ui-diff__head",
|
|
428
|
+
"ui-diff__hunk",
|
|
429
|
+
"ui-diff__ln",
|
|
430
|
+
"ui-diff__pane",
|
|
431
|
+
"ui-diff__row"
|
|
432
|
+
]
|
|
433
|
+
},
|
|
380
434
|
"ui-display": {
|
|
381
435
|
"base": "ui-display",
|
|
382
436
|
"modifiers": [],
|
|
@@ -411,6 +465,16 @@
|
|
|
411
465
|
"modifiers": [],
|
|
412
466
|
"parts": []
|
|
413
467
|
},
|
|
468
|
+
"ui-dotfit": {
|
|
469
|
+
"base": "ui-dotfit",
|
|
470
|
+
"modifiers": [],
|
|
471
|
+
"parts": []
|
|
472
|
+
},
|
|
473
|
+
"ui-dotgauge": {
|
|
474
|
+
"base": "ui-dotgauge",
|
|
475
|
+
"modifiers": [],
|
|
476
|
+
"parts": []
|
|
477
|
+
},
|
|
414
478
|
"ui-dotgrid": {
|
|
415
479
|
"base": "ui-dotgrid",
|
|
416
480
|
"modifiers": [
|
|
@@ -487,11 +551,24 @@
|
|
|
487
551
|
"ui-generated__label"
|
|
488
552
|
]
|
|
489
553
|
},
|
|
554
|
+
"ui-glossary": {
|
|
555
|
+
"base": "ui-glossary",
|
|
556
|
+
"modifiers": [],
|
|
557
|
+
"parts": [
|
|
558
|
+
"ui-glossary__def",
|
|
559
|
+
"ui-glossary__term"
|
|
560
|
+
]
|
|
561
|
+
},
|
|
490
562
|
"ui-grid": {
|
|
491
563
|
"base": "ui-grid",
|
|
492
564
|
"modifiers": [],
|
|
493
565
|
"parts": []
|
|
494
566
|
},
|
|
567
|
+
"ui-halftone": {
|
|
568
|
+
"base": "ui-halftone",
|
|
569
|
+
"modifiers": [],
|
|
570
|
+
"parts": []
|
|
571
|
+
},
|
|
495
572
|
"ui-hint": {
|
|
496
573
|
"base": "ui-hint",
|
|
497
574
|
"modifiers": [
|
|
@@ -587,6 +664,14 @@
|
|
|
587
664
|
"ui-legend__value"
|
|
588
665
|
]
|
|
589
666
|
},
|
|
667
|
+
"ui-level": {
|
|
668
|
+
"base": "ui-level",
|
|
669
|
+
"modifiers": [
|
|
670
|
+
"ui-level--danger",
|
|
671
|
+
"ui-level--warn"
|
|
672
|
+
],
|
|
673
|
+
"parts": []
|
|
674
|
+
},
|
|
590
675
|
"ui-lightbox": {
|
|
591
676
|
"base": "ui-lightbox",
|
|
592
677
|
"modifiers": [],
|
|
@@ -602,6 +687,11 @@
|
|
|
602
687
|
],
|
|
603
688
|
"parts": []
|
|
604
689
|
},
|
|
690
|
+
"ui-marginnote": {
|
|
691
|
+
"base": "ui-marginnote",
|
|
692
|
+
"modifiers": [],
|
|
693
|
+
"parts": []
|
|
694
|
+
},
|
|
605
695
|
"ui-mark": {
|
|
606
696
|
"base": "ui-mark",
|
|
607
697
|
"modifiers": [
|
|
@@ -654,7 +744,10 @@
|
|
|
654
744
|
"ui-meter--warning"
|
|
655
745
|
],
|
|
656
746
|
"parts": [
|
|
657
|
-
"ui-meter__fill"
|
|
747
|
+
"ui-meter__fill",
|
|
748
|
+
"ui-meter__label",
|
|
749
|
+
"ui-meter__row",
|
|
750
|
+
"ui-meter__value"
|
|
658
751
|
]
|
|
659
752
|
},
|
|
660
753
|
"ui-modal": {
|
|
@@ -784,7 +877,9 @@
|
|
|
784
877
|
"ui-readout": {
|
|
785
878
|
"base": "ui-readout",
|
|
786
879
|
"modifiers": [],
|
|
787
|
-
"parts": [
|
|
880
|
+
"parts": [
|
|
881
|
+
"ui-readout__spacer"
|
|
882
|
+
]
|
|
788
883
|
},
|
|
789
884
|
"ui-reasoning": {
|
|
790
885
|
"base": "ui-reasoning",
|
|
@@ -886,6 +981,13 @@
|
|
|
886
981
|
"modifiers": [],
|
|
887
982
|
"parts": []
|
|
888
983
|
},
|
|
984
|
+
"ui-sidenote": {
|
|
985
|
+
"base": "ui-sidenote",
|
|
986
|
+
"modifiers": [],
|
|
987
|
+
"parts": [
|
|
988
|
+
"ui-sidenote__ref"
|
|
989
|
+
]
|
|
990
|
+
},
|
|
889
991
|
"ui-sitefooter": {
|
|
890
992
|
"base": "ui-sitefooter",
|
|
891
993
|
"modifiers": [],
|
|
@@ -943,6 +1045,18 @@
|
|
|
943
1045
|
"ui-source-list__item"
|
|
944
1046
|
]
|
|
945
1047
|
},
|
|
1048
|
+
"ui-spark": {
|
|
1049
|
+
"base": "ui-spark",
|
|
1050
|
+
"modifiers": [
|
|
1051
|
+
"ui-spark--dots",
|
|
1052
|
+
"ui-spark__bar--accent",
|
|
1053
|
+
"ui-spark__bar--neg",
|
|
1054
|
+
"ui-spark__bar--pos"
|
|
1055
|
+
],
|
|
1056
|
+
"parts": [
|
|
1057
|
+
"ui-spark__bar"
|
|
1058
|
+
]
|
|
1059
|
+
},
|
|
946
1060
|
"ui-spinner": {
|
|
947
1061
|
"base": "ui-spinner",
|
|
948
1062
|
"modifiers": [],
|
|
@@ -1060,10 +1174,10 @@
|
|
|
1060
1174
|
"ui-table": {
|
|
1061
1175
|
"base": "ui-table",
|
|
1062
1176
|
"modifiers": [
|
|
1177
|
+
"ui-table--break-anywhere",
|
|
1063
1178
|
"ui-table--comfortable",
|
|
1064
1179
|
"ui-table--dense",
|
|
1065
1180
|
"ui-table--lined",
|
|
1066
|
-
"ui-table--loading",
|
|
1067
1181
|
"ui-table--selectable"
|
|
1068
1182
|
],
|
|
1069
1183
|
"parts": [
|
|
@@ -1075,7 +1189,9 @@
|
|
|
1075
1189
|
},
|
|
1076
1190
|
"ui-table-wrap": {
|
|
1077
1191
|
"base": "ui-table-wrap",
|
|
1078
|
-
"modifiers": [
|
|
1192
|
+
"modifiers": [
|
|
1193
|
+
"ui-table-wrap--loading"
|
|
1194
|
+
],
|
|
1079
1195
|
"parts": []
|
|
1080
1196
|
},
|
|
1081
1197
|
"ui-tabs": {
|
|
@@ -1098,13 +1214,23 @@
|
|
|
1098
1214
|
"modifiers": [],
|
|
1099
1215
|
"parts": []
|
|
1100
1216
|
},
|
|
1217
|
+
"ui-term": {
|
|
1218
|
+
"base": "ui-term",
|
|
1219
|
+
"modifiers": [],
|
|
1220
|
+
"parts": []
|
|
1221
|
+
},
|
|
1101
1222
|
"ui-textarea": {
|
|
1102
1223
|
"base": "ui-textarea",
|
|
1103
1224
|
"modifiers": [],
|
|
1104
1225
|
"parts": []
|
|
1105
1226
|
},
|
|
1227
|
+
"ui-textref": {
|
|
1228
|
+
"base": "ui-textref",
|
|
1229
|
+
"modifiers": [],
|
|
1230
|
+
"parts": []
|
|
1231
|
+
},
|
|
1106
1232
|
"ui-themetoggle": {
|
|
1107
|
-
"base":
|
|
1233
|
+
"base": null,
|
|
1108
1234
|
"modifiers": [],
|
|
1109
1235
|
"parts": [
|
|
1110
1236
|
"ui-themetoggle__button",
|
|
@@ -1143,6 +1269,15 @@
|
|
|
1143
1269
|
],
|
|
1144
1270
|
"parts": []
|
|
1145
1271
|
},
|
|
1272
|
+
"ui-toc": {
|
|
1273
|
+
"base": "ui-toc",
|
|
1274
|
+
"modifiers": [],
|
|
1275
|
+
"parts": [
|
|
1276
|
+
"ui-toc__link",
|
|
1277
|
+
"ui-toc__list",
|
|
1278
|
+
"ui-toc__title"
|
|
1279
|
+
]
|
|
1280
|
+
},
|
|
1146
1281
|
"ui-tool-call": {
|
|
1147
1282
|
"base": "ui-tool-call",
|
|
1148
1283
|
"modifiers": [],
|
|
@@ -1174,6 +1309,16 @@
|
|
|
1174
1309
|
"ui-tour-note__title"
|
|
1175
1310
|
]
|
|
1176
1311
|
},
|
|
1312
|
+
"ui-tree": {
|
|
1313
|
+
"base": "ui-tree",
|
|
1314
|
+
"modifiers": [],
|
|
1315
|
+
"parts": [
|
|
1316
|
+
"ui-tree__branch",
|
|
1317
|
+
"ui-tree__label",
|
|
1318
|
+
"ui-tree__leaf",
|
|
1319
|
+
"ui-tree__summary"
|
|
1320
|
+
]
|
|
1321
|
+
},
|
|
1177
1322
|
"ui-visually-hidden": {
|
|
1178
1323
|
"base": "ui-visually-hidden",
|
|
1179
1324
|
"modifiers": [],
|
|
@@ -1183,6 +1328,11 @@
|
|
|
1183
1328
|
"base": "ui-vt",
|
|
1184
1329
|
"modifiers": [],
|
|
1185
1330
|
"parts": []
|
|
1331
|
+
},
|
|
1332
|
+
"ui-waffle": {
|
|
1333
|
+
"base": "ui-waffle",
|
|
1334
|
+
"modifiers": [],
|
|
1335
|
+
"parts": []
|
|
1186
1336
|
}
|
|
1187
1337
|
},
|
|
1188
1338
|
"classes": [
|
|
@@ -1190,6 +1340,7 @@
|
|
|
1190
1340
|
"ui-accordion__body",
|
|
1191
1341
|
"ui-accordion__item",
|
|
1192
1342
|
"ui-accordion__summary",
|
|
1343
|
+
"ui-activity",
|
|
1193
1344
|
"ui-alert",
|
|
1194
1345
|
"ui-alert--accent",
|
|
1195
1346
|
"ui-alert--danger",
|
|
@@ -1197,7 +1348,7 @@
|
|
|
1197
1348
|
"ui-alert--success",
|
|
1198
1349
|
"ui-alert--warning",
|
|
1199
1350
|
"ui-alert__body",
|
|
1200
|
-
"ui-
|
|
1351
|
+
"ui-alert__close",
|
|
1201
1352
|
"ui-alert__title",
|
|
1202
1353
|
"ui-animate-dot",
|
|
1203
1354
|
"ui-animate-fade",
|
|
@@ -1284,6 +1435,13 @@
|
|
|
1284
1435
|
"ui-breadcrumb__item",
|
|
1285
1436
|
"ui-break-after",
|
|
1286
1437
|
"ui-break-before",
|
|
1438
|
+
"ui-bullet",
|
|
1439
|
+
"ui-bullet__label",
|
|
1440
|
+
"ui-bullet__measure",
|
|
1441
|
+
"ui-bullet__measure--accent",
|
|
1442
|
+
"ui-bullet__measure--neg",
|
|
1443
|
+
"ui-bullet__measure--pos",
|
|
1444
|
+
"ui-bullet__target",
|
|
1287
1445
|
"ui-button",
|
|
1288
1446
|
"ui-button--danger",
|
|
1289
1447
|
"ui-button--ghost",
|
|
@@ -1313,6 +1471,14 @@
|
|
|
1313
1471
|
"ui-citation--chip",
|
|
1314
1472
|
"ui-cluster",
|
|
1315
1473
|
"ui-cluster--between",
|
|
1474
|
+
"ui-code",
|
|
1475
|
+
"ui-code--numbered",
|
|
1476
|
+
"ui-code__body",
|
|
1477
|
+
"ui-code__head",
|
|
1478
|
+
"ui-code__line",
|
|
1479
|
+
"ui-code__line--add",
|
|
1480
|
+
"ui-code__line--hl",
|
|
1481
|
+
"ui-code__line--remove",
|
|
1316
1482
|
"ui-combobox",
|
|
1317
1483
|
"ui-combobox__empty",
|
|
1318
1484
|
"ui-combobox__input",
|
|
@@ -1351,11 +1517,23 @@
|
|
|
1351
1517
|
"ui-crosshair__line",
|
|
1352
1518
|
"ui-crosshair__line--x",
|
|
1353
1519
|
"ui-crosshair__line--y",
|
|
1520
|
+
"ui-def",
|
|
1354
1521
|
"ui-delta",
|
|
1355
1522
|
"ui-delta--down",
|
|
1356
1523
|
"ui-delta--flat",
|
|
1357
1524
|
"ui-delta--invert",
|
|
1358
1525
|
"ui-delta--up",
|
|
1526
|
+
"ui-diff",
|
|
1527
|
+
"ui-diff--split",
|
|
1528
|
+
"ui-diff__code",
|
|
1529
|
+
"ui-diff__head",
|
|
1530
|
+
"ui-diff__hunk",
|
|
1531
|
+
"ui-diff__ln",
|
|
1532
|
+
"ui-diff__pane",
|
|
1533
|
+
"ui-diff__row",
|
|
1534
|
+
"ui-diff__row--add",
|
|
1535
|
+
"ui-diff__row--context",
|
|
1536
|
+
"ui-diff__row--remove",
|
|
1359
1537
|
"ui-display",
|
|
1360
1538
|
"ui-divider",
|
|
1361
1539
|
"ui-dot",
|
|
@@ -1368,6 +1546,8 @@
|
|
|
1368
1546
|
"ui-dotbar",
|
|
1369
1547
|
"ui-dotbar--indeterminate",
|
|
1370
1548
|
"ui-dotfield",
|
|
1549
|
+
"ui-dotfit",
|
|
1550
|
+
"ui-dotgauge",
|
|
1371
1551
|
"ui-dotgrid",
|
|
1372
1552
|
"ui-dotgrid--accent",
|
|
1373
1553
|
"ui-dotgrid--dense",
|
|
@@ -1393,7 +1573,11 @@
|
|
|
1393
1573
|
"ui-file",
|
|
1394
1574
|
"ui-generated",
|
|
1395
1575
|
"ui-generated__label",
|
|
1576
|
+
"ui-glossary",
|
|
1577
|
+
"ui-glossary__def",
|
|
1578
|
+
"ui-glossary__term",
|
|
1396
1579
|
"ui-grid",
|
|
1580
|
+
"ui-halftone",
|
|
1397
1581
|
"ui-hint",
|
|
1398
1582
|
"ui-hint--error",
|
|
1399
1583
|
"ui-icon",
|
|
@@ -1438,11 +1622,15 @@
|
|
|
1438
1622
|
"ui-legend__title",
|
|
1439
1623
|
"ui-legend__track",
|
|
1440
1624
|
"ui-legend__value",
|
|
1625
|
+
"ui-level",
|
|
1626
|
+
"ui-level--danger",
|
|
1627
|
+
"ui-level--warn",
|
|
1441
1628
|
"ui-lightbox",
|
|
1442
1629
|
"ui-lightbox__close",
|
|
1443
1630
|
"ui-link",
|
|
1444
1631
|
"ui-link--arrow",
|
|
1445
1632
|
"ui-link--cta",
|
|
1633
|
+
"ui-marginnote",
|
|
1446
1634
|
"ui-mark",
|
|
1447
1635
|
"ui-mark--accent",
|
|
1448
1636
|
"ui-mark--box",
|
|
@@ -1469,6 +1657,9 @@
|
|
|
1469
1657
|
"ui-meter--success",
|
|
1470
1658
|
"ui-meter--warning",
|
|
1471
1659
|
"ui-meter__fill",
|
|
1660
|
+
"ui-meter__label",
|
|
1661
|
+
"ui-meter__row",
|
|
1662
|
+
"ui-meter__value",
|
|
1472
1663
|
"ui-modal",
|
|
1473
1664
|
"ui-modal--drawer",
|
|
1474
1665
|
"ui-modal__body",
|
|
@@ -1509,6 +1700,7 @@
|
|
|
1509
1700
|
"ui-range",
|
|
1510
1701
|
"ui-ratio",
|
|
1511
1702
|
"ui-readout",
|
|
1703
|
+
"ui-readout__spacer",
|
|
1512
1704
|
"ui-reasoning",
|
|
1513
1705
|
"ui-reasoning__body",
|
|
1514
1706
|
"ui-report",
|
|
@@ -1550,6 +1742,8 @@
|
|
|
1550
1742
|
"ui-shortcut",
|
|
1551
1743
|
"ui-shortcut__sep",
|
|
1552
1744
|
"ui-sidebar",
|
|
1745
|
+
"ui-sidenote",
|
|
1746
|
+
"ui-sidenote__ref",
|
|
1553
1747
|
"ui-sitefooter",
|
|
1554
1748
|
"ui-sitefooter__links",
|
|
1555
1749
|
"ui-siteheader",
|
|
@@ -1569,6 +1763,12 @@
|
|
|
1569
1763
|
"ui-source-card__title",
|
|
1570
1764
|
"ui-source-list",
|
|
1571
1765
|
"ui-source-list__item",
|
|
1766
|
+
"ui-spark",
|
|
1767
|
+
"ui-spark--dots",
|
|
1768
|
+
"ui-spark__bar",
|
|
1769
|
+
"ui-spark__bar--accent",
|
|
1770
|
+
"ui-spark__bar--neg",
|
|
1771
|
+
"ui-spark__bar--pos",
|
|
1572
1772
|
"ui-spinner",
|
|
1573
1773
|
"ui-spotlight",
|
|
1574
1774
|
"ui-spotlight--ring",
|
|
@@ -1614,12 +1814,13 @@
|
|
|
1614
1814
|
"ui-syncbar",
|
|
1615
1815
|
"ui-tab",
|
|
1616
1816
|
"ui-table",
|
|
1817
|
+
"ui-table--break-anywhere",
|
|
1617
1818
|
"ui-table--comfortable",
|
|
1618
1819
|
"ui-table--dense",
|
|
1619
1820
|
"ui-table--lined",
|
|
1620
|
-
"ui-table--loading",
|
|
1621
1821
|
"ui-table--selectable",
|
|
1622
1822
|
"ui-table-wrap",
|
|
1823
|
+
"ui-table-wrap--loading",
|
|
1623
1824
|
"ui-table__empty",
|
|
1624
1825
|
"ui-table__select",
|
|
1625
1826
|
"ui-table__sort",
|
|
@@ -1630,7 +1831,9 @@
|
|
|
1630
1831
|
"ui-tag",
|
|
1631
1832
|
"ui-tag--accent",
|
|
1632
1833
|
"ui-tags",
|
|
1834
|
+
"ui-term",
|
|
1633
1835
|
"ui-textarea",
|
|
1836
|
+
"ui-textref",
|
|
1634
1837
|
"ui-themetoggle__button",
|
|
1635
1838
|
"ui-themetoggle__label",
|
|
1636
1839
|
"ui-themetoggle__prefix",
|
|
@@ -1649,6 +1852,10 @@
|
|
|
1649
1852
|
"ui-toast-stack--assertive",
|
|
1650
1853
|
"ui-toast__close",
|
|
1651
1854
|
"ui-toast__title",
|
|
1855
|
+
"ui-toc",
|
|
1856
|
+
"ui-toc__link",
|
|
1857
|
+
"ui-toc__list",
|
|
1858
|
+
"ui-toc__title",
|
|
1652
1859
|
"ui-tool-call",
|
|
1653
1860
|
"ui-tool-call__body",
|
|
1654
1861
|
"ui-tool-call__name",
|
|
@@ -1661,8 +1868,14 @@
|
|
|
1661
1868
|
"ui-tour-note__body",
|
|
1662
1869
|
"ui-tour-note__step",
|
|
1663
1870
|
"ui-tour-note__title",
|
|
1871
|
+
"ui-tree",
|
|
1872
|
+
"ui-tree__branch",
|
|
1873
|
+
"ui-tree__label",
|
|
1874
|
+
"ui-tree__leaf",
|
|
1875
|
+
"ui-tree__summary",
|
|
1664
1876
|
"ui-visually-hidden",
|
|
1665
|
-
"ui-vt"
|
|
1877
|
+
"ui-vt",
|
|
1878
|
+
"ui-waffle"
|
|
1666
1879
|
],
|
|
1667
1880
|
"states": [
|
|
1668
1881
|
{
|
|
@@ -1741,10 +1954,10 @@
|
|
|
1741
1954
|
},
|
|
1742
1955
|
{
|
|
1743
1956
|
"name": "--value",
|
|
1744
|
-
"on": ".ui-
|
|
1957
|
+
"on": ".ui-meter, .ui-progress",
|
|
1745
1958
|
"type": "number 0..100",
|
|
1746
1959
|
"example": "92",
|
|
1747
|
-
"note": "measured value as a
|
|
1960
|
+
"note": "measured value as a UNITLESS number 0..100 (registered <number>, never a %). Set it on the meter/progress host — it inherits to the __fill/__bar. Prefer attrs.meter(value)/attrs.progress(value) from @ponchia/ui/classes, which sets it plus role + aria-valuenow/min/max together."
|
|
1748
1961
|
},
|
|
1749
1962
|
{
|
|
1750
1963
|
"name": "--icon-mask",
|
|
@@ -1776,6 +1989,64 @@
|
|
|
1776
1989
|
"required": true,
|
|
1777
1990
|
"note": "REQUIRED — the view-transition-name; .ui-vt is inert (no transition) without it"
|
|
1778
1991
|
},
|
|
1992
|
+
{
|
|
1993
|
+
"name": "--v",
|
|
1994
|
+
"on": ".ui-spark__bar",
|
|
1995
|
+
"type": "number 0..1",
|
|
1996
|
+
"example": "0.7",
|
|
1997
|
+
"required": true,
|
|
1998
|
+
"note": "REQUIRED — the normalised bar height (0..1). The host normalises; Bronto only paints. A bar with no --v collapses to the 1px floor. Pair every spark with a host-written role=\"img\" + aria-label."
|
|
1999
|
+
},
|
|
2000
|
+
{
|
|
2001
|
+
"name": "--sidenote-width",
|
|
2002
|
+
"on": ".ui-sidenote, .ui-marginnote",
|
|
2003
|
+
"type": "length",
|
|
2004
|
+
"example": "12rem",
|
|
2005
|
+
"note": "width of the floated margin note on wide viewports (default 12rem). The container must reserve a matching inline-end gutter — see docs/sidenote.md."
|
|
2006
|
+
},
|
|
2007
|
+
{
|
|
2008
|
+
"name": "--textref-highlight",
|
|
2009
|
+
"on": ".ui-textref",
|
|
2010
|
+
"type": "color",
|
|
2011
|
+
"example": "var(--accent-soft)",
|
|
2012
|
+
"note": "the ::target-text highlight wash for the matched cited sentence (default var(--accent-soft)). The host builds the #:~:text= href; Bronto owns the paint — see docs/textref.md."
|
|
2013
|
+
},
|
|
2014
|
+
{
|
|
2015
|
+
"name": "--v",
|
|
2016
|
+
"on": ".ui-bullet__measure",
|
|
2017
|
+
"type": "number 0..1",
|
|
2018
|
+
"example": "0.62",
|
|
2019
|
+
"required": true,
|
|
2020
|
+
"note": "REQUIRED — the normalised measure (0..1). The host normalises; Bronto only paints. A measure with no --v collapses to the 2px floor. Pair every bullet with a host-written role=\"img\" + aria-label."
|
|
2021
|
+
},
|
|
2022
|
+
{
|
|
2023
|
+
"name": "--t",
|
|
2024
|
+
"on": ".ui-bullet__target",
|
|
2025
|
+
"type": "number 0..1",
|
|
2026
|
+
"example": "0.9",
|
|
2027
|
+
"note": "the normalised target tick position (0..1). Omit to drop the target mark."
|
|
2028
|
+
},
|
|
2029
|
+
{
|
|
2030
|
+
"name": "--band-lo",
|
|
2031
|
+
"on": ".ui-bullet",
|
|
2032
|
+
"type": "number 0..1",
|
|
2033
|
+
"example": "0.5",
|
|
2034
|
+
"note": "the lower qualitative-band boundary (0..1, default 0.5). Bands are grayscale by Few-design — meaning lives in the required aria-label."
|
|
2035
|
+
},
|
|
2036
|
+
{
|
|
2037
|
+
"name": "--band-hi",
|
|
2038
|
+
"on": ".ui-bullet",
|
|
2039
|
+
"type": "number 0..1",
|
|
2040
|
+
"example": "0.8",
|
|
2041
|
+
"note": "the upper qualitative-band boundary (0..1, default 0.8). Must be ≥ --band-lo."
|
|
2042
|
+
},
|
|
2043
|
+
{
|
|
2044
|
+
"name": "--toc-top",
|
|
2045
|
+
"on": ".ui-toc",
|
|
2046
|
+
"type": "length",
|
|
2047
|
+
"example": "1rem",
|
|
2048
|
+
"note": "the sticky inset from the top of the scroll container (default var(--space-md))."
|
|
2049
|
+
},
|
|
1779
2050
|
{
|
|
1780
2051
|
"name": "--stack-gap",
|
|
1781
2052
|
"on": ".ui-stack",
|
|
@@ -1818,6 +2089,20 @@
|
|
|
1818
2089
|
"example": "50%",
|
|
1819
2090
|
"note": "min width of the main child before the two stack (default 60%)"
|
|
1820
2091
|
},
|
|
2092
|
+
{
|
|
2093
|
+
"name": "--sidebar-gap",
|
|
2094
|
+
"on": ".ui-sidebar",
|
|
2095
|
+
"type": "length",
|
|
2096
|
+
"example": "1.5rem",
|
|
2097
|
+
"note": "gap between the sidebar and the main child (default var(--space-md))"
|
|
2098
|
+
},
|
|
2099
|
+
{
|
|
2100
|
+
"name": "--switcher-gap",
|
|
2101
|
+
"on": ".ui-switcher",
|
|
2102
|
+
"type": "length",
|
|
2103
|
+
"example": "1.5rem",
|
|
2104
|
+
"note": "gap between switcher children in both row and column states (default var(--space-md))"
|
|
2105
|
+
},
|
|
1821
2106
|
{
|
|
1822
2107
|
"name": "--switcher-min",
|
|
1823
2108
|
"on": ".ui-switcher",
|
|
@@ -1844,7 +2129,7 @@
|
|
|
1844
2129
|
"on": ".ui-ratio",
|
|
1845
2130
|
"type": "ratio",
|
|
1846
2131
|
"example": "4 / 3",
|
|
1847
|
-
"note": "intrinsic aspect ratio of the box (default 16 / 9)"
|
|
2132
|
+
"note": "intrinsic aspect ratio of the box (default 16 / 9). Give .ui-ratio EXACTLY ONE child — only :first-child is sized to fill; a second child silently breaks the ratio. For a caption/overlay, position it absolutely inside the single child"
|
|
1848
2133
|
},
|
|
1849
2134
|
{
|
|
1850
2135
|
"name": "--app-rail",
|
|
@@ -1852,6 +2137,453 @@
|
|
|
1852
2137
|
"type": "length",
|
|
1853
2138
|
"example": "16rem",
|
|
1854
2139
|
"note": "width of the app-shell sidebar rail column (default 14rem)"
|
|
2140
|
+
},
|
|
2141
|
+
{
|
|
2142
|
+
"name": "--container",
|
|
2143
|
+
"on": ".ui-container",
|
|
2144
|
+
"type": "length",
|
|
2145
|
+
"example": "72rem",
|
|
2146
|
+
"note": "max inline width of the default page frame, border-box (default 72rem)"
|
|
2147
|
+
},
|
|
2148
|
+
{
|
|
2149
|
+
"name": "--container-narrow",
|
|
2150
|
+
"on": ".ui-container--narrow",
|
|
2151
|
+
"type": "length",
|
|
2152
|
+
"example": "44rem",
|
|
2153
|
+
"note": "max inline width of the narrow page frame (default 44rem)"
|
|
2154
|
+
},
|
|
2155
|
+
{
|
|
2156
|
+
"name": "--container-wide",
|
|
2157
|
+
"on": ".ui-container--wide",
|
|
2158
|
+
"type": "length",
|
|
2159
|
+
"example": "82rem",
|
|
2160
|
+
"note": "max inline width of the wide page frame (default 82rem)"
|
|
2161
|
+
},
|
|
2162
|
+
{
|
|
2163
|
+
"name": "--av-size",
|
|
2164
|
+
"on": ".ui-avatar",
|
|
2165
|
+
"type": "length",
|
|
2166
|
+
"example": "2.6rem",
|
|
2167
|
+
"note": "avatar box size; the initials font-size derives from it (default 2.2rem; --sm 1.5rem, --lg 3.2rem)"
|
|
2168
|
+
},
|
|
2169
|
+
{
|
|
2170
|
+
"name": "--dotmatrix-cols",
|
|
2171
|
+
"on": ".ui-dotmatrix",
|
|
2172
|
+
"type": "number",
|
|
2173
|
+
"example": "8",
|
|
2174
|
+
"note": "columns in the dot grid — the density knob (default 12)"
|
|
2175
|
+
},
|
|
2176
|
+
{
|
|
2177
|
+
"name": "--dotmatrix-gap",
|
|
2178
|
+
"on": ".ui-dotmatrix",
|
|
2179
|
+
"type": "length",
|
|
2180
|
+
"example": "0.3rem",
|
|
2181
|
+
"note": "gap between dots (default 0.5rem; set 0 with --dotmatrix-dot-radius:0 to fuse the dots)"
|
|
2182
|
+
},
|
|
2183
|
+
{
|
|
2184
|
+
"name": "--dotmatrix-dot",
|
|
2185
|
+
"on": ".ui-dotmatrix",
|
|
2186
|
+
"type": "length",
|
|
2187
|
+
"example": "0.5rem",
|
|
2188
|
+
"note": "fixed dot length for intrinsic sizing (default minmax(0, 1fr) — fluid to the container)"
|
|
2189
|
+
},
|
|
2190
|
+
{
|
|
2191
|
+
"name": "--dotmatrix-dot-radius",
|
|
2192
|
+
"on": ".ui-dotmatrix",
|
|
2193
|
+
"type": "length",
|
|
2194
|
+
"example": "0",
|
|
2195
|
+
"note": "dot corner radius (default 50% = round; 0 = square pixels)"
|
|
2196
|
+
},
|
|
2197
|
+
{
|
|
2198
|
+
"name": "--dotmatrix-glow",
|
|
2199
|
+
"on": ".ui-dotmatrix",
|
|
2200
|
+
"type": "length",
|
|
2201
|
+
"example": "2px",
|
|
2202
|
+
"note": "phosphor bloom radius around lit cells (default 0 = off)"
|
|
2203
|
+
},
|
|
2204
|
+
{
|
|
2205
|
+
"name": "--dotmatrix-pulse-min",
|
|
2206
|
+
"on": ".ui-dotmatrix",
|
|
2207
|
+
"type": "number",
|
|
2208
|
+
"example": "0.4",
|
|
2209
|
+
"note": "opacity floor the --pulse animation dips to (default 0.55)"
|
|
2210
|
+
},
|
|
2211
|
+
{
|
|
2212
|
+
"name": "--dotmatrix-reveal-step",
|
|
2213
|
+
"on": ".ui-dotmatrix",
|
|
2214
|
+
"type": "time",
|
|
2215
|
+
"example": "5ms",
|
|
2216
|
+
"note": "per-cell scan cadence for the reveal animation (default 3ms)"
|
|
2217
|
+
},
|
|
2218
|
+
{
|
|
2219
|
+
"name": "--ds-box",
|
|
2220
|
+
"on": ".ui-dotspinner",
|
|
2221
|
+
"type": "length",
|
|
2222
|
+
"example": "2.6rem",
|
|
2223
|
+
"note": "dot-spinner box size (default 1.6rem; the --lg modifier sets 2.6rem)"
|
|
2224
|
+
},
|
|
2225
|
+
{
|
|
2226
|
+
"name": "--ds-dot",
|
|
2227
|
+
"on": ".ui-dotspinner",
|
|
2228
|
+
"type": "length",
|
|
2229
|
+
"example": "0.42rem",
|
|
2230
|
+
"note": "dot-spinner dot size (default 0.26rem)"
|
|
2231
|
+
},
|
|
2232
|
+
{
|
|
2233
|
+
"name": "--crosshair-color",
|
|
2234
|
+
"on": ".ui-crosshair",
|
|
2235
|
+
"type": "color",
|
|
2236
|
+
"example": "var(--accent)",
|
|
2237
|
+
"note": "crosshair rule + badge colour (default var(--accent); the --muted modifier uses --line-strong)"
|
|
2238
|
+
},
|
|
2239
|
+
{
|
|
2240
|
+
"name": "--connector-color",
|
|
2241
|
+
"on": ".ui-connector",
|
|
2242
|
+
"type": "color",
|
|
2243
|
+
"example": "var(--accent)",
|
|
2244
|
+
"note": "leader-line stroke + label colour (default var(--line-strong); the --muted/--accent modifiers reset it)"
|
|
2245
|
+
},
|
|
2246
|
+
{
|
|
2247
|
+
"name": "--connector-width",
|
|
2248
|
+
"on": ".ui-connector",
|
|
2249
|
+
"type": "number",
|
|
2250
|
+
"example": "2",
|
|
2251
|
+
"note": "leader-line stroke width (default 1.5)"
|
|
2252
|
+
},
|
|
2253
|
+
{
|
|
2254
|
+
"name": "--mark-color",
|
|
2255
|
+
"on": ".ui-mark",
|
|
2256
|
+
"type": "color",
|
|
2257
|
+
"example": "var(--accent)",
|
|
2258
|
+
"note": "hand-drawn mark colour; a tone modifier sets it (no base default — each draw style falls back to --line-strong)"
|
|
2259
|
+
},
|
|
2260
|
+
{
|
|
2261
|
+
"name": "--spot-pad",
|
|
2262
|
+
"on": ".ui-spotlight",
|
|
2263
|
+
"type": "length",
|
|
2264
|
+
"example": "12px",
|
|
2265
|
+
"note": "padding between the spotlit target and the cutout edge (default 8px)"
|
|
2266
|
+
},
|
|
2267
|
+
{
|
|
2268
|
+
"name": "--spot-radius",
|
|
2269
|
+
"on": ".ui-spotlight",
|
|
2270
|
+
"type": "length",
|
|
2271
|
+
"example": "12px",
|
|
2272
|
+
"note": "spotlight cutout corner radius (default var(--radius-md))"
|
|
2273
|
+
},
|
|
2274
|
+
{
|
|
2275
|
+
"name": "--spot-backdrop",
|
|
2276
|
+
"on": ".ui-spotlight",
|
|
2277
|
+
"type": "color",
|
|
2278
|
+
"example": "color-mix(in srgb, #000 70%, transparent)",
|
|
2279
|
+
"note": "the dimming backdrop colour outside the cutout (default 55% black)"
|
|
2280
|
+
}
|
|
2281
|
+
],
|
|
2282
|
+
"rootAttributes": [
|
|
2283
|
+
{
|
|
2284
|
+
"name": "data-theme",
|
|
2285
|
+
"on": ":root",
|
|
2286
|
+
"values": [
|
|
2287
|
+
"light",
|
|
2288
|
+
"dark"
|
|
2289
|
+
],
|
|
2290
|
+
"note": "colour theme. Unset follows the OS via prefers-color-scheme; set it to force one."
|
|
2291
|
+
},
|
|
2292
|
+
{
|
|
2293
|
+
"name": "data-density",
|
|
2294
|
+
"on": ":root or any subtree",
|
|
2295
|
+
"values": [
|
|
2296
|
+
"compact",
|
|
2297
|
+
"comfortable"
|
|
2298
|
+
],
|
|
2299
|
+
"note": "spacing-scale preset (the middle scale is the default when unset). Scoped per-subtree, unlike the others."
|
|
2300
|
+
},
|
|
2301
|
+
{
|
|
2302
|
+
"name": "data-surface",
|
|
2303
|
+
"on": ":root",
|
|
2304
|
+
"values": [
|
|
2305
|
+
"oled"
|
|
2306
|
+
],
|
|
2307
|
+
"note": "opt into a true-black surface ramp for OLED. Unset = the standard elevated dark base."
|
|
2308
|
+
},
|
|
2309
|
+
{
|
|
2310
|
+
"name": "data-contrast",
|
|
2311
|
+
"on": ":root",
|
|
2312
|
+
"values": [
|
|
2313
|
+
"high"
|
|
2314
|
+
],
|
|
2315
|
+
"note": "raise contrast of lines/text for low-vision or glare. Unset = the standard ramp."
|
|
2316
|
+
},
|
|
2317
|
+
{
|
|
2318
|
+
"name": "data-bronto-skin",
|
|
2319
|
+
"on": ":root",
|
|
2320
|
+
"values": [
|
|
2321
|
+
"amber-crt",
|
|
2322
|
+
"phosphor-green",
|
|
2323
|
+
"e-ink"
|
|
2324
|
+
],
|
|
2325
|
+
"note": "opt-in display colorway — requires @ponchia/ui/css/skins.css. Unset (the design target) = the default Nothing aesthetic."
|
|
2326
|
+
},
|
|
2327
|
+
{
|
|
2328
|
+
"name": "--accent",
|
|
2329
|
+
"on": ":root or a theme root",
|
|
2330
|
+
"values": [
|
|
2331
|
+
"<color>"
|
|
2332
|
+
],
|
|
2333
|
+
"note": "the single brand knob; the accent family derives from it. Re-brand at :root/[data-theme] (a subtree override is only a partial re-brand). See docs/theming.md."
|
|
2334
|
+
}
|
|
2335
|
+
],
|
|
2336
|
+
"behaviorAttributes": [
|
|
2337
|
+
{
|
|
2338
|
+
"name": "data-bronto-open",
|
|
2339
|
+
"on": "a trigger (button/link)",
|
|
2340
|
+
"value": "id of the target <dialog>",
|
|
2341
|
+
"behavior": "initDialog",
|
|
2342
|
+
"note": "click calls showModal() on the named <dialog>; focus returns to the trigger on every close path"
|
|
2343
|
+
},
|
|
2344
|
+
{
|
|
2345
|
+
"name": "data-bronto-close",
|
|
2346
|
+
"on": "a button inside a <dialog>",
|
|
2347
|
+
"behavior": "initDialog",
|
|
2348
|
+
"note": "click closes the nearest enclosing <dialog>"
|
|
2349
|
+
},
|
|
2350
|
+
{
|
|
2351
|
+
"name": "data-bronto-dialog-light",
|
|
2352
|
+
"on": "a <dialog>",
|
|
2353
|
+
"behavior": "initDialog",
|
|
2354
|
+
"note": "opt into backdrop light-dismiss (click the backdrop to close)"
|
|
2355
|
+
},
|
|
2356
|
+
{
|
|
2357
|
+
"name": "data-bronto-modal",
|
|
2358
|
+
"on": "a controlled (non-<dialog>) .ui-modal overlay",
|
|
2359
|
+
"behavior": "initModal",
|
|
2360
|
+
"note": "inert focus-trap + .is-open toggling for a modal that is not a native <dialog>; needs an accessible name"
|
|
2361
|
+
},
|
|
2362
|
+
{
|
|
2363
|
+
"name": "data-bronto-menu",
|
|
2364
|
+
"on": "a native <details> dropdown",
|
|
2365
|
+
"behavior": "initMenu",
|
|
2366
|
+
"note": "adds outside-click / Escape close affordances to a <details>-based .ui-menu"
|
|
2367
|
+
},
|
|
2368
|
+
{
|
|
2369
|
+
"name": "data-bronto-popover",
|
|
2370
|
+
"on": "a trigger",
|
|
2371
|
+
"value": "id of the .ui-popover panel",
|
|
2372
|
+
"behavior": "initPopover",
|
|
2373
|
+
"note": "collision-aware NON-modal popover (no focus trap); top-layer via the native popover attr when present, else an .is-open class. Author an accessible name on the panel."
|
|
2374
|
+
},
|
|
2375
|
+
{
|
|
2376
|
+
"name": "data-bronto-command",
|
|
2377
|
+
"on": "a .ui-command palette host wrapping its input",
|
|
2378
|
+
"behavior": "initCommand",
|
|
2379
|
+
"note": "wires the filter input + active-option keyboard model"
|
|
2380
|
+
},
|
|
2381
|
+
{
|
|
2382
|
+
"name": "data-bronto-dismiss",
|
|
2383
|
+
"on": "a button",
|
|
2384
|
+
"value": "optional CSS selector of the ancestor to remove",
|
|
2385
|
+
"behavior": "dismissible",
|
|
2386
|
+
"note": "click removes the nearest matching ancestor (or, with no value, the nearest [data-bronto-dismissible])"
|
|
2387
|
+
},
|
|
2388
|
+
{
|
|
2389
|
+
"name": "data-bronto-disclosure",
|
|
2390
|
+
"on": "a trigger",
|
|
2391
|
+
"value": "id of the element it toggles",
|
|
2392
|
+
"behavior": "initDisclosure",
|
|
2393
|
+
"note": "toggles the named element + keeps aria-expanded in sync"
|
|
2394
|
+
},
|
|
2395
|
+
{
|
|
2396
|
+
"name": "data-bronto-tabs",
|
|
2397
|
+
"on": "a .ui-tabs group host",
|
|
2398
|
+
"behavior": "initTabs",
|
|
2399
|
+
"note": "adds the WAI-ARIA Tabs keyboard model (roving tabindex, Arrow/Home/End, aria-selected, panel hidden sync) over .ui-tab[data-tab] / .ui-tabs__panel[data-panel]. Without it the CSS tabs are mouse-only with no roving focus."
|
|
2400
|
+
},
|
|
2401
|
+
{
|
|
2402
|
+
"name": "data-bronto-theme-toggle",
|
|
2403
|
+
"on": "a .ui-themetoggle__button (or any control)",
|
|
2404
|
+
"value": "optional 'light' | 'dark' to force a specific theme instead of toggling",
|
|
2405
|
+
"behavior": "initThemeToggle",
|
|
2406
|
+
"note": "click toggles or sets data-theme on <html> and persists it; without it the button is inert. Pair with applyStoredTheme() before paint to avoid a flash."
|
|
2407
|
+
},
|
|
2408
|
+
{
|
|
2409
|
+
"name": "data-bronto-validate",
|
|
2410
|
+
"on": "a <form>",
|
|
2411
|
+
"behavior": "initFormValidation",
|
|
2412
|
+
"note": "progressive-enhancement validation: suppresses native bubbles, writes validationMessage into the field error slot, builds the error summary. With JS off the form still validates natively."
|
|
2413
|
+
},
|
|
2414
|
+
{
|
|
2415
|
+
"name": "data-bronto-error",
|
|
2416
|
+
"on": "an empty error slot inside a .ui-field (canonical: <p class=\"ui-hint\" data-bronto-error>)",
|
|
2417
|
+
"behavior": "initFormValidation",
|
|
2418
|
+
"note": "the dedicated per-field error node initFormValidation fills + links via aria-describedby (and unlinks when the field is valid). Preferred over borrowing the .ui-hint help slot."
|
|
2419
|
+
},
|
|
2420
|
+
{
|
|
2421
|
+
"name": "data-bronto-error-summary",
|
|
2422
|
+
"on": "a .ui-error-summary inside the form",
|
|
2423
|
+
"behavior": "initFormValidation",
|
|
2424
|
+
"note": "on an invalid submit, filled with role=alert + tabindex=-1 in-page links to each bad field and focused."
|
|
2425
|
+
},
|
|
2426
|
+
{
|
|
2427
|
+
"name": "data-bronto-combobox",
|
|
2428
|
+
"on": "a .ui-combobox host (wrapping the input + listbox)",
|
|
2429
|
+
"behavior": "initCombobox",
|
|
2430
|
+
"note": "editable combobox with a filtered listbox (APG pattern). The input needs a real accessible name (a placeholder does not count — it warns)."
|
|
2431
|
+
},
|
|
2432
|
+
{
|
|
2433
|
+
"name": "data-bronto-combobox-live",
|
|
2434
|
+
"on": "the [data-bronto-combobox] host",
|
|
2435
|
+
"behavior": "initCombobox",
|
|
2436
|
+
"note": "opt-in: a MutationObserver re-reads option nodes in place for async/replaced results, instead of a full re-init. Off by default."
|
|
2437
|
+
},
|
|
2438
|
+
{
|
|
2439
|
+
"name": "data-bronto-sortable",
|
|
2440
|
+
"on": "a .ui-table <table>",
|
|
2441
|
+
"behavior": "initTableSort",
|
|
2442
|
+
"note": "click a header .ui-table__sort button to sort; numeric columns via data-sort=\"num\" or .is-num cells. Use data-sort-value on a cell for a canonical sort key (accepts a European decimal comma)."
|
|
2443
|
+
},
|
|
2444
|
+
{
|
|
2445
|
+
"name": "data-bronto-select",
|
|
2446
|
+
"on": "a row checkbox inside a [data-bronto-sortable] table",
|
|
2447
|
+
"behavior": "initTableSort",
|
|
2448
|
+
"note": "toggling it sets the row aria-selected and syncs the header select-all state; emits bronto:selectionchange."
|
|
2449
|
+
},
|
|
2450
|
+
{
|
|
2451
|
+
"name": "data-bronto-select-all",
|
|
2452
|
+
"on": "the header checkbox of a [data-bronto-sortable] table",
|
|
2453
|
+
"behavior": "initTableSort",
|
|
2454
|
+
"note": "toggles every [data-bronto-select] row box; goes indeterminate on a partial selection."
|
|
2455
|
+
},
|
|
2456
|
+
{
|
|
2457
|
+
"name": "data-bronto-dismissible",
|
|
2458
|
+
"on": "the ancestor a [data-bronto-dismiss] button removes",
|
|
2459
|
+
"behavior": "dismissible",
|
|
2460
|
+
"note": "marks the default removal target when the dismiss button has no selector value. A cancelable bronto:dismiss fires first."
|
|
2461
|
+
},
|
|
2462
|
+
{
|
|
2463
|
+
"name": "data-bronto-legend",
|
|
2464
|
+
"on": "a .ui-legend host",
|
|
2465
|
+
"behavior": "initLegend",
|
|
2466
|
+
"note": "each .ui-legend__item is a <button aria-pressed>; clicking flips aria-pressed + .is-inactive and dispatches bronto:legend:toggle { series, active }. The host runs the actual series show/hide."
|
|
2467
|
+
},
|
|
2468
|
+
{
|
|
2469
|
+
"name": "data-bronto-crosshair",
|
|
2470
|
+
"on": "a plot containing a .ui-crosshair overlay",
|
|
2471
|
+
"behavior": "initCrosshair",
|
|
2472
|
+
"note": "tracks the pointer, sets --crosshair-x/y on the overlay, and emits bronto:crosshair:move { x, y, fx, fy }. Reports WHERE the pointer is — it does not map pixels to data."
|
|
2473
|
+
},
|
|
2474
|
+
{
|
|
2475
|
+
"name": "data-bronto-connector",
|
|
2476
|
+
"on": "a .ui-connector SVG overlay",
|
|
2477
|
+
"value": "via child data-from / data-to (element ids), optional data-shape / data-*-side",
|
|
2478
|
+
"behavior": "initConnectors",
|
|
2479
|
+
"note": "draws + keeps leader lines in sync between the referenced elements; re-routes on resize/scroll."
|
|
2480
|
+
},
|
|
2481
|
+
{
|
|
2482
|
+
"name": "data-bronto-spotlight",
|
|
2483
|
+
"on": "a .ui-spotlight overlay",
|
|
2484
|
+
"value": "via data-target (id of the element to highlight)",
|
|
2485
|
+
"behavior": "initSpotlight",
|
|
2486
|
+
"note": "measures the target and sets --spot-x/y/w/h on the overlay, re-placing on resize/scroll. Positioning only — not a tour engine."
|
|
2487
|
+
},
|
|
2488
|
+
{
|
|
2489
|
+
"name": "data-bronto-carousel",
|
|
2490
|
+
"on": "a carousel host containing a .ui-carousel__viewport",
|
|
2491
|
+
"behavior": "initCarousel",
|
|
2492
|
+
"note": "scroll-snap carousel with prev/next + a status counter; the lightbox dialog uses it too."
|
|
2493
|
+
},
|
|
2494
|
+
{
|
|
2495
|
+
"name": "data-bronto-carousel-prev",
|
|
2496
|
+
"on": "a control inside [data-bronto-carousel]",
|
|
2497
|
+
"behavior": "initCarousel",
|
|
2498
|
+
"note": "the previous-slide button."
|
|
2499
|
+
},
|
|
2500
|
+
{
|
|
2501
|
+
"name": "data-bronto-carousel-next",
|
|
2502
|
+
"on": "a control inside [data-bronto-carousel]",
|
|
2503
|
+
"behavior": "initCarousel",
|
|
2504
|
+
"note": "the next-slide button."
|
|
2505
|
+
},
|
|
2506
|
+
{
|
|
2507
|
+
"name": "data-bronto-carousel-loop",
|
|
2508
|
+
"on": "the [data-bronto-carousel] host",
|
|
2509
|
+
"behavior": "initCarousel",
|
|
2510
|
+
"note": "wrap from the last slide back to the first (and vice-versa)."
|
|
2511
|
+
},
|
|
2512
|
+
{
|
|
2513
|
+
"name": "data-bronto-carousel-label",
|
|
2514
|
+
"on": "the [data-bronto-carousel] host",
|
|
2515
|
+
"value": "accessible name for the carousel region",
|
|
2516
|
+
"behavior": "initCarousel",
|
|
2517
|
+
"note": "names the scroll region (defaults to \"Carousel\")."
|
|
2518
|
+
},
|
|
2519
|
+
{
|
|
2520
|
+
"name": "data-bronto-carousel-current",
|
|
2521
|
+
"on": "a .ui-carousel__slide",
|
|
2522
|
+
"behavior": "initCarousel",
|
|
2523
|
+
"note": "marks the slide to start on (defaults to the first)."
|
|
2524
|
+
},
|
|
2525
|
+
{
|
|
2526
|
+
"name": "data-bronto-glyph",
|
|
2527
|
+
"on": "a placeholder element",
|
|
2528
|
+
"value": "glyph name (see GLYPH_NAMES)",
|
|
2529
|
+
"behavior": "initDotGlyph",
|
|
2530
|
+
"note": "expands into a .ui-dotmatrix dot grid; an unknown name is left untouched + warns."
|
|
2531
|
+
},
|
|
2532
|
+
{
|
|
2533
|
+
"name": "data-bronto-glyph-label",
|
|
2534
|
+
"on": "a [data-bronto-glyph] placeholder",
|
|
2535
|
+
"value": "accessible label",
|
|
2536
|
+
"behavior": "initDotGlyph",
|
|
2537
|
+
"note": "exposes the glyph as role=\"img\" with this name; omit for a decorative (aria-hidden) glyph."
|
|
2538
|
+
},
|
|
2539
|
+
{
|
|
2540
|
+
"name": "data-bronto-glyph-solid",
|
|
2541
|
+
"on": "a [data-bronto-glyph] placeholder",
|
|
2542
|
+
"behavior": "initDotGlyph",
|
|
2543
|
+
"note": "render a square, gapless pixel glyph (more legible at small sizes) instead of the dot look."
|
|
2544
|
+
},
|
|
2545
|
+
{
|
|
2546
|
+
"name": "data-bronto-glyph-anim",
|
|
2547
|
+
"on": "a [data-bronto-glyph] placeholder",
|
|
2548
|
+
"value": "'reveal' | 'pulse'",
|
|
2549
|
+
"behavior": "initDotGlyph",
|
|
2550
|
+
"note": "decorative entrance/idle animation (honours prefers-reduced-motion)."
|
|
2551
|
+
},
|
|
2552
|
+
{
|
|
2553
|
+
"name": "data-bronto-glyph-render",
|
|
2554
|
+
"on": "a [data-bronto-glyph] placeholder",
|
|
2555
|
+
"value": "'mask'",
|
|
2556
|
+
"behavior": "initDotGlyph",
|
|
2557
|
+
"note": "take the one-node .ui-icon mask path (inherits currentColor, scales with text) instead of the 256-cell grid — the icon-at-scale path."
|
|
2558
|
+
},
|
|
2559
|
+
{
|
|
2560
|
+
"name": "data-bronto-glyph-size",
|
|
2561
|
+
"on": "a [data-bronto-glyph-render='mask'] placeholder",
|
|
2562
|
+
"value": "CSS length",
|
|
2563
|
+
"behavior": "initDotGlyph",
|
|
2564
|
+
"note": "sets --icon-size on the masked glyph (sanitized to a length/calc allowlist)."
|
|
2565
|
+
}
|
|
2566
|
+
],
|
|
2567
|
+
"requiredAria": [
|
|
2568
|
+
{
|
|
2569
|
+
"on": ".ui-progress",
|
|
2570
|
+
"require": "role=\"progressbar\" + aria-valuenow/min/max (determinate); role=\"progressbar\" + aria-busy=\"true\" and NO aria-valuenow (indeterminate)",
|
|
2571
|
+
"helper": "attrs.progress(value) / attrs.progress()"
|
|
2572
|
+
},
|
|
2573
|
+
{
|
|
2574
|
+
"on": ".ui-meter",
|
|
2575
|
+
"require": "role=\"meter\" + aria-valuenow/min/max. Caveat: role=\"meter\" has uneven AT support (notably older Safari/VoiceOver), so do NOT rely on it alone — the visible .ui-meter__label + .ui-meter__value carry the meaning and are the real channel (REQUIRED for a labelled meter)",
|
|
2576
|
+
"helper": "attrs.meter(value)"
|
|
2577
|
+
},
|
|
2578
|
+
{
|
|
2579
|
+
"on": ".ui-dotbar",
|
|
2580
|
+
"require": "role=\"progressbar\" + aria-valuenow/min/max (determinate); role=\"progressbar\" + aria-busy=\"true\" and NO aria-valuenow (indeterminate). The <i> segments are decorative — mark the host or segments aria-hidden so AT reads the value, not eight empty spans",
|
|
2581
|
+
"helper": "attrs.dotbar(value) / attrs.dotbar()"
|
|
2582
|
+
},
|
|
2583
|
+
{
|
|
2584
|
+
"on": ".ui-error-summary",
|
|
2585
|
+
"require": "role=\"alert\" + tabindex=\"-1\" on the hand-authored summary so it is announced and focusable when validation fails",
|
|
2586
|
+
"helper": "initFormValidation wires this for the dynamic summary; a static summary needs it hand-set"
|
|
1855
2587
|
}
|
|
1856
2588
|
]
|
|
1857
2589
|
}
|