@pantoken/pantoken 0.2.6 → 0.2.8

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/model.json CHANGED
@@ -4,7 +4,7 @@
4
4
  "kind": "component",
5
5
  "className": ".instui-button",
6
6
  "summary": "An accessible action control, styled from the token palette; primary by default.",
7
- "remarks": "The AI variants layer two gradients — a padding-box fill and a border-box stroke — for their frame, and `-color-ai-secondary` can't paint gradient text and a fill at once, so its centre stays transparent at rest and fills on hover or active. Ghost hover and active derive a low-opacity, slightly-darkened brand wash rather than using the raw hover-background tokens, which would print same-colour-on-same-colour text. Also sets its own icon/label `gap` and horizontal `padding`; chaining a `-gap-*`/`-p-*`/`-padding-*` spacing utility modifier overrides those built-in values.",
7
+ "remarks": "The AI variants layer two gradients — a padding-box fill and a border-box stroke — for their frame, and `-color-ai-secondary` can't paint gradient text and a fill at once, so its centre stays transparent at rest and fills on hover or active. `-without-background` hover and active derive a low-opacity, slightly-darkened brand wash rather than using the raw hover-background tokens, which would print same-colour-on-same-colour text. Also sets its own icon/label `gap` and horizontal `padding`; chaining a `-gap-*`/`-p-*`/`-padding-*` spacing utility modifier overrides those built-in values. The optional `.instui-button-group` wrapper maps Figma's `.buttonGroup` and owns adjacent button spacing.",
8
8
  "accessibility": "Drive the `-toggle` variant's pressed state with `aria-pressed`, and mark a disabled button with `aria-disabled` (or the native `disabled`).",
9
9
  "modifiers": [
10
10
  {
@@ -25,11 +25,19 @@
25
25
  "value": "danger",
26
26
  "description": "A destructive action."
27
27
  },
28
+ {
29
+ "name": "-color-primary",
30
+ "prop": "color",
31
+ "value": "primary",
32
+ "description": "(default) the primary action."
33
+ },
28
34
  {
29
35
  "name": "-color-primary-inverse",
30
36
  "prop": "color",
31
37
  "value": "primary-inverse",
32
- "description": "Primary action for dark backgrounds."
38
+ "deprecated": {
39
+ "canonical": "-on-color"
40
+ }
33
41
  },
34
42
  {
35
43
  "name": "-color-secondary",
@@ -63,7 +71,9 @@
63
71
  {
64
72
  "name": "-ghost",
65
73
  "prop": "ghost",
66
- "description": "Outline (ghost) style: a border in the colour's ghost tokens, no fill."
74
+ "deprecated": {
75
+ "canonical": "-color-tertiary"
76
+ }
67
77
  },
68
78
  {
69
79
  "name": "-icon-*",
@@ -71,6 +81,12 @@
71
81
  "pattern": true,
72
82
  "description": "Render a glyph from the icon set before the label (e.g. `-icon-arrow-right`), painted in the button's text colour; pair with `-shape-square`/`-shape-circle` for an icon-only button."
73
83
  },
84
+ {
85
+ "name": "-on-color",
86
+ "prop": "on",
87
+ "value": "color",
88
+ "description": "For a button placed on a coloured (non-neutral) surface. Composed with `-color-primary` (default) fills white with dark text; composed with `-color-secondary` stays transparent with a white border and text."
89
+ },
74
90
  {
75
91
  "name": "-shape-circle",
76
92
  "prop": "shape",
@@ -95,6 +111,18 @@
95
111
  "value": "lg",
96
112
  "description": "Large."
97
113
  },
114
+ {
115
+ "name": "-size-md",
116
+ "prop": "size",
117
+ "value": "md",
118
+ "description": "(default) medium size."
119
+ },
120
+ {
121
+ "name": "-size-medium",
122
+ "prop": "size",
123
+ "value": "medium",
124
+ "description": "(default) medium size. Long-form alias of `-size-md`."
125
+ },
98
126
  {
99
127
  "name": "-size-sm",
100
128
  "prop": "size",
@@ -211,33 +239,18 @@
211
239
  {
212
240
  "name": "--instui-color-background-interactive-action-primary-base"
213
241
  },
214
- {
215
- "name": "--instui-color-background-interactive-action-primary-disabled"
216
- },
217
242
  {
218
243
  "name": "--instui-color-background-interactive-action-primary-hover"
219
244
  },
220
245
  {
221
246
  "name": "--instui-color-background-interactive-action-secondary-active"
222
247
  },
223
- {
224
- "name": "--instui-color-background-interactive-action-secondary-base"
225
- },
226
- {
227
- "name": "--instui-color-background-interactive-action-secondary-hover"
228
- },
229
248
  {
230
249
  "name": "--instui-color-background-interactive-action-success-base"
231
250
  },
232
251
  {
233
252
  "name": "--instui-color-background-interactive-action-success-hover"
234
253
  },
235
- {
236
- "name": "--instui-color-background-interactive-action-tertiary-active"
237
- },
238
- {
239
- "name": "--instui-color-background-interactive-action-tertiary-hover"
240
- },
241
254
  {
242
255
  "name": "--instui-color-background-muted"
243
256
  },
@@ -260,16 +273,16 @@
260
273
  "name": "--instui-color-stroke-interactive-action-ai-top-gradient-hover"
261
274
  },
262
275
  {
263
- "name": "--instui-color-stroke-interactive-action-secondary-active"
276
+ "name": "--instui-color-stroke-interactive-action-primary-active"
264
277
  },
265
278
  {
266
- "name": "--instui-color-stroke-interactive-action-secondary-base"
279
+ "name": "--instui-color-stroke-interactive-action-primary-base"
267
280
  },
268
281
  {
269
- "name": "--instui-color-stroke-interactive-action-secondary-hover"
282
+ "name": "--instui-color-stroke-interactive-action-primary-hover"
270
283
  },
271
284
  {
272
- "name": "--instui-color-stroke-interactive-action-tertiary-base"
285
+ "name": "--instui-color-stroke-interactive-action-secondary-active"
273
286
  },
274
287
  {
275
288
  "name": "--instui-color-text-interactive-action-ai-active"
@@ -289,9 +302,6 @@
289
302
  {
290
303
  "name": "--instui-color-text-interactive-action-primary-base"
291
304
  },
292
- {
293
- "name": "--instui-color-text-interactive-action-primary-disabled"
294
- },
295
305
  {
296
306
  "name": "--instui-color-text-interactive-action-secondary-base"
297
307
  },
@@ -299,7 +309,13 @@
299
309
  "name": "--instui-color-text-interactive-action-status-base"
300
310
  },
301
311
  {
302
- "name": "--instui-color-text-interactive-action-tertiary-base"
312
+ "name": "--instui-component-base-button-ai-disabled-background-color"
313
+ },
314
+ {
315
+ "name": "--instui-component-base-button-ai-disabled-border-color"
316
+ },
317
+ {
318
+ "name": "--instui-component-base-button-ai-disabled-text-color"
303
319
  },
304
320
  {
305
321
  "name": "--instui-component-base-button-border-radius"
@@ -322,6 +338,18 @@
322
338
  {
323
339
  "name": "--instui-component-base-button-medium-padding-horizontal"
324
340
  },
341
+ {
342
+ "name": "--instui-component-base-button-primary-color"
343
+ },
344
+ {
345
+ "name": "--instui-component-base-button-primary-disabled-background-color"
346
+ },
347
+ {
348
+ "name": "--instui-component-base-button-primary-disabled-border-color"
349
+ },
350
+ {
351
+ "name": "--instui-component-base-button-primary-ghost-active-background"
352
+ },
325
353
  {
326
354
  "name": "--instui-component-base-button-primary-ghost-background"
327
355
  },
@@ -331,6 +359,9 @@
331
359
  {
332
360
  "name": "--instui-component-base-button-primary-ghost-color"
333
361
  },
362
+ {
363
+ "name": "--instui-component-base-button-primary-ghost-hover-background"
364
+ },
334
365
  {
335
366
  "name": "--instui-component-base-button-primary-inverse-active-background"
336
367
  },
@@ -343,23 +374,92 @@
343
374
  {
344
375
  "name": "--instui-component-base-button-primary-inverse-color"
345
376
  },
377
+ {
378
+ "name": "--instui-component-base-button-primary-inverse-ghost-active-background"
379
+ },
380
+ {
381
+ "name": "--instui-component-base-button-primary-inverse-ghost-border-color"
382
+ },
383
+ {
384
+ "name": "--instui-component-base-button-primary-inverse-ghost-color"
385
+ },
386
+ {
387
+ "name": "--instui-component-base-button-primary-inverse-ghost-hover-background"
388
+ },
346
389
  {
347
390
  "name": "--instui-component-base-button-primary-inverse-hover-background"
348
391
  },
349
392
  {
350
393
  "name": "--instui-component-base-button-primary-on-color-active-border-color"
351
394
  },
395
+ {
396
+ "name": "--instui-component-base-button-primary-on-color-active-text-color"
397
+ },
398
+ {
399
+ "name": "--instui-component-base-button-primary-on-color-disabled-background-color"
400
+ },
401
+ {
402
+ "name": "--instui-component-base-button-primary-on-color-disabled-border-color"
403
+ },
404
+ {
405
+ "name": "--instui-component-base-button-primary-on-color-disabled-text-color"
406
+ },
352
407
  {
353
408
  "name": "--instui-component-base-button-primary-on-color-hover-border-color"
354
409
  },
355
410
  {
356
- "name": "--instui-component-base-button-secondary-ghost-background"
411
+ "name": "--instui-component-base-button-primary-on-color-hover-text-color"
412
+ },
413
+ {
414
+ "name": "--instui-component-base-button-secondary-active-background"
415
+ },
416
+ {
417
+ "name": "--instui-component-base-button-secondary-active-border-color"
418
+ },
419
+ {
420
+ "name": "--instui-component-base-button-secondary-active-text-color"
421
+ },
422
+ {
423
+ "name": "--instui-component-base-button-secondary-background"
424
+ },
425
+ {
426
+ "name": "--instui-component-base-button-secondary-border-color"
427
+ },
428
+ {
429
+ "name": "--instui-component-base-button-secondary-color"
430
+ },
431
+ {
432
+ "name": "--instui-component-base-button-secondary-disabled-background-color"
433
+ },
434
+ {
435
+ "name": "--instui-component-base-button-secondary-disabled-border-color"
436
+ },
437
+ {
438
+ "name": "--instui-component-base-button-secondary-disabled-text-color"
439
+ },
440
+ {
441
+ "name": "--instui-component-base-button-secondary-hover-background"
442
+ },
443
+ {
444
+ "name": "--instui-component-base-button-secondary-hover-border-color"
445
+ },
446
+ {
447
+ "name": "--instui-component-base-button-secondary-hover-text-color"
448
+ },
449
+ {
450
+ "name": "--instui-component-base-button-secondary-on-color-active-border-color"
357
451
  },
358
452
  {
359
- "name": "--instui-component-base-button-secondary-ghost-border-color"
453
+ "name": "--instui-component-base-button-secondary-on-color-active-text-color"
360
454
  },
361
455
  {
362
- "name": "--instui-component-base-button-secondary-ghost-color"
456
+ "name": "--instui-component-base-button-secondary-on-color-disabled-border-color"
457
+ },
458
+ {
459
+ "name": "--instui-component-base-button-secondary-on-color-disabled-text-color"
460
+ },
461
+ {
462
+ "name": "--instui-component-base-button-secondary-on-color-hover-text-color"
363
463
  },
364
464
  {
365
465
  "name": "--instui-component-base-button-small-font-size"
@@ -370,6 +470,30 @@
370
470
  {
371
471
  "name": "--instui-component-base-button-small-padding-horizontal"
372
472
  },
473
+ {
474
+ "name": "--instui-component-base-button-tertiary-active-border-color"
475
+ },
476
+ {
477
+ "name": "--instui-component-base-button-tertiary-active-text-color"
478
+ },
479
+ {
480
+ "name": "--instui-component-base-button-tertiary-disabled-border-color"
481
+ },
482
+ {
483
+ "name": "--instui-component-base-button-tertiary-disabled-text-color"
484
+ },
485
+ {
486
+ "name": "--instui-component-base-button-tertiary-hover-border-color"
487
+ },
488
+ {
489
+ "name": "--instui-component-base-button-tertiary-hover-text-color"
490
+ },
491
+ {
492
+ "name": "--instui-component-icon-action-ai-disabled-color"
493
+ },
494
+ {
495
+ "name": "--instui-component-shared-tokens-spacing-gap-buttons"
496
+ },
373
497
  {
374
498
  "name": "--instui-font-family-base"
375
499
  },
@@ -389,8 +513,22 @@
389
513
  "layers": [],
390
514
  "conditions": [],
391
515
  "examples": [
392
- "<button class=\"instui-button\">Primary</button>"
516
+ "```html\n<div class=\"instui-button-group\">\n <button class=\"instui-button\">Primary</button>\n <button class=\"instui-button -color-secondary\">Secondary</button>\n</div>\n```"
517
+ ],
518
+ "structure": [
519
+ {
520
+ "selector": ".instui-button-group",
521
+ "children": [
522
+ {
523
+ "selector": ".instui-button",
524
+ "children": [],
525
+ "cardinality": "one-or-more"
526
+ }
527
+ ],
528
+ "cardinality": "optional"
529
+ }
393
530
  ],
531
+ "structureDescription": "A group wrapper lays out adjacent buttons with the shared button gap.",
394
532
  "demo": "self:button",
395
533
  "see": [],
396
534
  "annotations": [],
@@ -424,7 +562,7 @@
424
562
  "kind": "component",
425
563
  "className": ".instui-alert",
426
564
  "summary": "An inline message with a status colour bar and a masked status glyph from the shared icon set.",
427
- "remarks": "A custom `-icon-<name>` swaps the status glyph but keeps the variant's coloured bar; the bar fill is re-asserted at higher specificity so the shared icon painter doesn't consume it.",
565
+ "remarks": "A custom `-icon-<name>` swaps the status glyph but keeps the variant's coloured bar; the bar fill is re-asserted at higher specificity so the shared icon painter doesn't consume it. A direct close button defaults to small; add a size modifier to override it.",
428
566
  "releaseStage": "stable",
429
567
  "accessibility": "For an important message, add `role=\"alert\"` or an `aria-live` region so assistive tech announces it; the dismiss control is a labelled close button (the `.instui-close-button` in the example carries `aria-label=\"Close\"`).",
430
568
  "modifiers": [
@@ -639,6 +777,9 @@
639
777
  {
640
778
  "name": "--instui-component-base-button-medium-height"
641
779
  },
780
+ {
781
+ "name": "--instui-component-base-button-small-height"
782
+ },
642
783
  {
643
784
  "name": "--instui-elevation-above"
644
785
  },
@@ -689,7 +830,7 @@
689
830
  "layers": [],
690
831
  "conditions": [],
691
832
  "examples": [
692
- "-nocard\n```html\n<div class=\"instui-alert -icon-megaphone --mb-md\">\n An alert with the default <code>info</code> color, and a custom icon.\n</div>\n<div class=\"instui-alert -color-success\">\n Congratulations! You're using the \"success\" color.\n <button class=\"instui-close-button -size-sm\" aria-label=\"Close\"></button>\n</div>\n```"
833
+ "-nocard\n```html\n<div class=\"instui-alert -icon-megaphone --mb-md\">\n An alert with the default <code>info</code> color, and a custom icon.\n</div>\n<div class=\"instui-alert -color-success\">\n Congratulations! You're using the \"success\" color.\n <button class=\"instui-close-button\" aria-label=\"Close\"></button>\n</div>\n```"
693
834
  ],
694
835
  "structure": [
695
836
  {
@@ -732,7 +873,7 @@
732
873
  "profiles": {}
733
874
  },
734
875
  "source": {
735
- "line": 299,
876
+ "line": 574,
736
877
  "column": 1
737
878
  }
738
879
  },
@@ -937,7 +1078,7 @@
937
1078
  "profiles": {}
938
1079
  },
939
1080
  "source": {
940
- "line": 512,
1081
+ "line": 791,
941
1082
  "column": 1
942
1083
  }
943
1084
  },
@@ -946,6 +1087,7 @@
946
1087
  "kind": "component",
947
1088
  "className": ".instui-pill",
948
1089
  "summary": "A compact status label; add a leading glyph with the shared `-icon-<name>` form.",
1090
+ "remarks": "Unlike `badge`, which shows a count, or `tag`, which is removable, the pill is a static status label; its leading glyph is a masked `::before`, not an `<img>`.",
949
1091
  "modifiers": [
950
1092
  {
951
1093
  "name": "-color-danger",
@@ -1103,7 +1245,7 @@
1103
1245
  "profiles": {}
1104
1246
  },
1105
1247
  "source": {
1106
- "line": 680,
1248
+ "line": 959,
1107
1249
  "column": 1
1108
1250
  }
1109
1251
  },
@@ -1272,7 +1414,7 @@
1272
1414
  "profiles": {}
1273
1415
  },
1274
1416
  "source": {
1275
- "line": 758,
1417
+ "line": 1038,
1276
1418
  "column": 1
1277
1419
  }
1278
1420
  },
@@ -1686,7 +1828,7 @@
1686
1828
  "profiles": {}
1687
1829
  },
1688
1830
  "source": {
1689
- "line": 856,
1831
+ "line": 1136,
1690
1832
  "column": 1
1691
1833
  }
1692
1834
  },
@@ -1775,7 +1917,7 @@
1775
1917
  "profiles": {}
1776
1918
  },
1777
1919
  "source": {
1778
- "line": 1241,
1920
+ "line": 1521,
1779
1921
  "column": 1
1780
1922
  }
1781
1923
  },
@@ -1889,7 +2031,7 @@
1889
2031
  "profiles": {}
1890
2032
  },
1891
2033
  "source": {
1892
- "line": 1293,
2034
+ "line": 1573,
1893
2035
  "column": 1
1894
2036
  }
1895
2037
  },
@@ -1971,7 +2113,7 @@
1971
2113
  "profiles": {}
1972
2114
  },
1973
2115
  "source": {
1974
- "line": 1387,
2116
+ "line": 1667,
1975
2117
  "column": 1
1976
2118
  }
1977
2119
  },
@@ -2095,7 +2237,7 @@
2095
2237
  "profiles": {}
2096
2238
  },
2097
2239
  "source": {
2098
- "line": 1420,
2240
+ "line": 1700,
2099
2241
  "column": 1
2100
2242
  }
2101
2243
  },
@@ -2273,7 +2415,7 @@
2273
2415
  "profiles": {}
2274
2416
  },
2275
2417
  "source": {
2276
- "line": 1486,
2418
+ "line": 1766,
2277
2419
  "column": 1
2278
2420
  }
2279
2421
  },
@@ -2282,6 +2424,7 @@
2282
2424
  "kind": "component",
2283
2425
  "className": ".instui-img",
2284
2426
  "summary": "A styled `<img>` with display, crop, and effect modifiers that stack.",
2427
+ "remarks": "Effects compose through the shared `--pantoken-img-filter` custom property, so `-with-grayscale` and `-with-blur` can apply together; the `-constrain-*` crop modifiers require the consumer to size the box explicitly.",
2285
2428
  "accessibility": "Provide meaningful `alt` text that describes the image, and use an empty `alt=\"\"` for purely decorative images so assistive tech skips them.",
2286
2429
  "modifiers": [
2287
2430
  {
@@ -2363,7 +2506,7 @@
2363
2506
  "profiles": {}
2364
2507
  },
2365
2508
  "source": {
2366
- "line": 1588,
2509
+ "line": 1868,
2367
2510
  "column": 1
2368
2511
  }
2369
2512
  },
@@ -2491,7 +2634,7 @@
2491
2634
  "profiles": {}
2492
2635
  },
2493
2636
  "source": {
2494
- "line": 1643,
2637
+ "line": 1924,
2495
2638
  "column": 1
2496
2639
  }
2497
2640
  },
@@ -2542,7 +2685,7 @@
2542
2685
  "profiles": {}
2543
2686
  },
2544
2687
  "source": {
2545
- "line": 1729,
2688
+ "line": 2010,
2546
2689
  "column": 1
2547
2690
  }
2548
2691
  },
@@ -2589,7 +2732,7 @@
2589
2732
  "profiles": {}
2590
2733
  },
2591
2734
  "source": {
2592
- "line": 1759,
2735
+ "line": 2040,
2593
2736
  "column": 1
2594
2737
  }
2595
2738
  },
@@ -2652,7 +2795,7 @@
2652
2795
  "profiles": {}
2653
2796
  },
2654
2797
  "source": {
2655
- "line": 1776,
2798
+ "line": 2057,
2656
2799
  "column": 1
2657
2800
  }
2658
2801
  },
@@ -2722,7 +2865,7 @@
2722
2865
  "profiles": {}
2723
2866
  },
2724
2867
  "source": {
2725
- "line": 1818,
2868
+ "line": 2099,
2726
2869
  "column": 1
2727
2870
  }
2728
2871
  },
@@ -2793,7 +2936,7 @@
2793
2936
  "profiles": {}
2794
2937
  },
2795
2938
  "source": {
2796
- "line": 1860,
2939
+ "line": 2141,
2797
2940
  "column": 1
2798
2941
  }
2799
2942
  },
@@ -2869,7 +3012,7 @@
2869
3012
  "profiles": {}
2870
3013
  },
2871
3014
  "source": {
2872
- "line": 1887,
3015
+ "line": 2168,
2873
3016
  "column": 1
2874
3017
  }
2875
3018
  },
@@ -3071,7 +3214,7 @@
3071
3214
  "profiles": {}
3072
3215
  },
3073
3216
  "source": {
3074
- "line": 1933,
3217
+ "line": 2214,
3075
3218
  "column": 1
3076
3219
  }
3077
3220
  },
@@ -3202,7 +3345,7 @@
3202
3345
  "profiles": {}
3203
3346
  },
3204
3347
  "source": {
3205
- "line": 2040,
3348
+ "line": 2321,
3206
3349
  "column": 1
3207
3350
  }
3208
3351
  },
@@ -3339,7 +3482,7 @@
3339
3482
  "profiles": {}
3340
3483
  },
3341
3484
  "source": {
3342
- "line": 2118,
3485
+ "line": 2399,
3343
3486
  "column": 1
3344
3487
  }
3345
3488
  },
@@ -3399,7 +3542,7 @@
3399
3542
  "profiles": {}
3400
3543
  },
3401
3544
  "source": {
3402
- "line": 2193,
3545
+ "line": 2474,
3403
3546
  "column": 1
3404
3547
  }
3405
3548
  },
@@ -3713,7 +3856,7 @@
3713
3856
  "profiles": {}
3714
3857
  },
3715
3858
  "source": {
3716
- "line": 2221,
3859
+ "line": 2502,
3717
3860
  "column": 1
3718
3861
  }
3719
3862
  },
@@ -3996,7 +4139,7 @@
3996
4139
  "profiles": {}
3997
4140
  },
3998
4141
  "source": {
3999
- "line": 2492,
4142
+ "line": 2773,
4000
4143
  "column": 1
4001
4144
  }
4002
4145
  },
@@ -4005,6 +4148,7 @@
4005
4148
  "kind": "component",
4006
4149
  "className": ".instui-spinner",
4007
4150
  "summary": "An animated loading ring; give it role=\"status\" and an aria-label.",
4151
+ "remarks": "`-color-inverse` only repaints the animated top border segment, not the whole track, so it still reads correctly on a dark card without needing a separate track color.",
4008
4152
  "accessibility": "Give the spinner role=\"status\" and an aria-label so screen readers announce it as a live loading status.",
4009
4153
  "modifiers": [
4010
4154
  {
@@ -4122,7 +4266,7 @@
4122
4266
  "profiles": {}
4123
4267
  },
4124
4268
  "source": {
4125
- "line": 2785,
4269
+ "line": 3066,
4126
4270
  "column": 1
4127
4271
  }
4128
4272
  },
@@ -4546,7 +4690,7 @@
4546
4690
  "profiles": {}
4547
4691
  },
4548
4692
  "source": {
4549
- "line": 2867,
4693
+ "line": 3149,
4550
4694
  "column": 1
4551
4695
  }
4552
4696
  },
@@ -4643,7 +4787,7 @@
4643
4787
  "profiles": {}
4644
4788
  },
4645
4789
  "source": {
4646
- "line": 3095,
4790
+ "line": 3377,
4647
4791
  "column": 1
4648
4792
  }
4649
4793
  },
@@ -4763,7 +4907,7 @@
4763
4907
  "profiles": {}
4764
4908
  },
4765
4909
  "source": {
4766
- "line": 3130,
4910
+ "line": 3412,
4767
4911
  "column": 1
4768
4912
  }
4769
4913
  },
@@ -4831,7 +4975,7 @@
4831
4975
  "profiles": {}
4832
4976
  },
4833
4977
  "source": {
4834
- "line": 3197,
4978
+ "line": 3479,
4835
4979
  "column": 1
4836
4980
  }
4837
4981
  },
@@ -4890,7 +5034,7 @@
4890
5034
  "profiles": {}
4891
5035
  },
4892
5036
  "source": {
4893
- "line": 3221,
5037
+ "line": 3503,
4894
5038
  "column": 1
4895
5039
  }
4896
5040
  },
@@ -5080,7 +5224,7 @@
5080
5224
  "profiles": {}
5081
5225
  },
5082
5226
  "source": {
5083
- "line": 3242,
5227
+ "line": 3524,
5084
5228
  "column": 1
5085
5229
  }
5086
5230
  },
@@ -5149,7 +5293,7 @@
5149
5293
  "profiles": {}
5150
5294
  },
5151
5295
  "source": {
5152
- "line": 3363,
5296
+ "line": 3645,
5153
5297
  "column": 1
5154
5298
  }
5155
5299
  },
@@ -5206,7 +5350,7 @@
5206
5350
  "profiles": {}
5207
5351
  },
5208
5352
  "source": {
5209
- "line": 3396,
5353
+ "line": 3678,
5210
5354
  "column": 1
5211
5355
  }
5212
5356
  },
@@ -5278,7 +5422,7 @@
5278
5422
  "profiles": {}
5279
5423
  },
5280
5424
  "source": {
5281
- "line": 3440,
5425
+ "line": 3722,
5282
5426
  "column": 1
5283
5427
  }
5284
5428
  },
@@ -5402,7 +5546,7 @@
5402
5546
  "profiles": {}
5403
5547
  },
5404
5548
  "source": {
5405
- "line": 3475,
5549
+ "line": 3757,
5406
5550
  "column": 1
5407
5551
  }
5408
5552
  },
@@ -5519,7 +5663,7 @@
5519
5663
  "profiles": {}
5520
5664
  },
5521
5665
  "source": {
5522
- "line": 3561,
5666
+ "line": 3843,
5523
5667
  "column": 1
5524
5668
  }
5525
5669
  },
@@ -5528,6 +5672,7 @@
5528
5672
  "kind": "component",
5529
5673
  "className": ".instui-billboard",
5530
5674
  "summary": "A large empty-state or call-to-action block: a hero icon or image, a heading, and a message.",
5675
+ "remarks": "The `.hero`/`.heading`/`.message` parts are composed by the consumer's markup, not enforced structure; `-clickable` only adds hover styling, so a real click target still needs `tabindex` and a keyboard handler.",
5531
5676
  "modifiers": [
5532
5677
  {
5533
5678
  "name": "-clickable",
@@ -5726,7 +5871,7 @@
5726
5871
  "profiles": {}
5727
5872
  },
5728
5873
  "source": {
5729
- "line": 3678,
5874
+ "line": 3960,
5730
5875
  "column": 1
5731
5876
  }
5732
5877
  },
@@ -5850,7 +5995,7 @@
5850
5995
  "profiles": {}
5851
5996
  },
5852
5997
  "source": {
5853
- "line": 3943,
5998
+ "line": 4226,
5854
5999
  "column": 1
5855
6000
  }
5856
6001
  },
@@ -6004,7 +6149,7 @@
6004
6149
  "profiles": {}
6005
6150
  },
6006
6151
  "source": {
6007
- "line": 4006,
6152
+ "line": 4289,
6008
6153
  "column": 1
6009
6154
  }
6010
6155
  },
@@ -6013,6 +6158,7 @@
6013
6158
  "kind": "component",
6014
6159
  "className": ".instui-context-view",
6015
6160
  "summary": "An elevated callout with a caret, positionable on any side; works as a native `[popover]`.",
6161
+ "remarks": "The caret is two stacked `::before`/`::after` triangles (border then fill) so it reads correctly against a matching surface; as a `[popover]` it needs the same open/`popovertarget` wiring as `popover`, but unlike `tooltip`, it dismisses on outside click or Escape.",
6016
6162
  "modifiers": [
6017
6163
  {
6018
6164
  "name": "-color-inverse",
@@ -6151,7 +6297,7 @@
6151
6297
  "profiles": {}
6152
6298
  },
6153
6299
  "source": {
6154
- "line": 4113,
6300
+ "line": 4396,
6155
6301
  "column": 1
6156
6302
  }
6157
6303
  },
@@ -6261,7 +6407,7 @@
6261
6407
  "profiles": {}
6262
6408
  },
6263
6409
  "source": {
6264
- "line": 4313,
6410
+ "line": 4597,
6265
6411
  "column": 1
6266
6412
  }
6267
6413
  },
@@ -6379,7 +6525,7 @@
6379
6525
  "profiles": {}
6380
6526
  },
6381
6527
  "source": {
6382
- "line": 4374,
6528
+ "line": 4658,
6383
6529
  "column": 1
6384
6530
  }
6385
6531
  },
@@ -6463,7 +6609,7 @@
6463
6609
  "profiles": {}
6464
6610
  },
6465
6611
  "source": {
6466
- "line": 4464,
6612
+ "line": 4748,
6467
6613
  "column": 1
6468
6614
  }
6469
6615
  },
@@ -6904,7 +7050,7 @@
6904
7050
  "profiles": {}
6905
7051
  },
6906
7052
  "source": {
6907
- "line": 4511,
7053
+ "line": 4795,
6908
7054
  "column": 1
6909
7055
  }
6910
7056
  },
@@ -7058,7 +7204,7 @@
7058
7204
  "profiles": {}
7059
7205
  },
7060
7206
  "source": {
7061
- "line": 4775,
7207
+ "line": 5059,
7062
7208
  "column": 1
7063
7209
  }
7064
7210
  },
@@ -7149,7 +7295,7 @@
7149
7295
  "profiles": {}
7150
7296
  },
7151
7297
  "source": {
7152
- "line": 4880,
7298
+ "line": 5164,
7153
7299
  "column": 1
7154
7300
  }
7155
7301
  },
@@ -7302,7 +7448,7 @@
7302
7448
  "profiles": {}
7303
7449
  },
7304
7450
  "source": {
7305
- "line": 4934,
7451
+ "line": 5218,
7306
7452
  "column": 1
7307
7453
  }
7308
7454
  },
@@ -7311,6 +7457,7 @@
7311
7457
  "kind": "component",
7312
7458
  "className": ".instui-file-drop",
7313
7459
  "summary": "A file dropzone with hover, accepted, and rejected states.",
7460
+ "remarks": "The `-hover`/`-accepted`/`-rejected` classes are purely visual — actual drag-and-drop detection and file validation are the consumer's JS to wire up around the wrapped native input.",
7314
7461
  "accessibility": "Wrap a native `<input type=\"file\">` in the `<label>` drop zone so it stays a real, labelled file control that the keyboard and assistive tech can operate.",
7315
7462
  "modifiers": [
7316
7463
  {
@@ -7428,7 +7575,7 @@
7428
7575
  "profiles": {}
7429
7576
  },
7430
7577
  "source": {
7431
- "line": 5045,
7578
+ "line": 5329,
7432
7579
  "column": 1
7433
7580
  }
7434
7581
  },
@@ -7521,7 +7668,7 @@
7521
7668
  "profiles": {}
7522
7669
  },
7523
7670
  "source": {
7524
- "line": 5101,
7671
+ "line": 5386,
7525
7672
  "column": 1
7526
7673
  }
7527
7674
  },
@@ -7619,7 +7766,7 @@
7619
7766
  "profiles": {}
7620
7767
  },
7621
7768
  "source": {
7622
- "line": 5160,
7769
+ "line": 5445,
7623
7770
  "column": 1
7624
7771
  }
7625
7772
  },
@@ -7812,7 +7959,7 @@
7812
7959
  "profiles": {}
7813
7960
  },
7814
7961
  "source": {
7815
- "line": 5211,
7962
+ "line": 5496,
7816
7963
  "column": 1
7817
7964
  }
7818
7965
  },
@@ -7938,7 +8085,7 @@
7938
8085
  "profiles": {}
7939
8086
  },
7940
8087
  "source": {
7941
- "line": 5360,
8088
+ "line": 5645,
7942
8089
  "column": 1
7943
8090
  }
7944
8091
  },
@@ -8038,7 +8185,7 @@
8038
8185
  "profiles": {}
8039
8186
  },
8040
8187
  "source": {
8041
- "line": 5461,
8188
+ "line": 5746,
8042
8189
  "column": 1
8043
8190
  }
8044
8191
  },
@@ -8047,6 +8194,7 @@
8047
8194
  "kind": "component",
8048
8195
  "className": ".instui-popover",
8049
8196
  "summary": "An elevated surface for a native `[popover]`, positioned with CSS anchor positioning.",
8197
+ "remarks": "Anchor positioning is Chromium-only; the `@supports` guard means `-placement-*` is silently inert elsewhere and the UA centers the popover in the top layer instead of failing.",
8050
8198
  "modifiers": [
8051
8199
  {
8052
8200
  "name": "-placement-bottom",
@@ -8168,7 +8316,7 @@
8168
8316
  "profiles": {}
8169
8317
  },
8170
8318
  "source": {
8171
- "line": 5506,
8319
+ "line": 5791,
8172
8320
  "column": 1
8173
8321
  }
8174
8322
  },
@@ -8379,7 +8527,7 @@
8379
8527
  "profiles": {}
8380
8528
  },
8381
8529
  "source": {
8382
- "line": 5597,
8530
+ "line": 5883,
8383
8531
  "column": 1
8384
8532
  }
8385
8533
  },
@@ -8388,6 +8536,7 @@
8388
8536
  "kind": "component",
8389
8537
  "className": ".instui-tooltip",
8390
8538
  "summary": "A CSS hover and focus tooltip bubble, positionable on any side.",
8539
+ "remarks": "Toggling is pure CSS (`:hover`/`:focus-within`), so the bubble only reaches keyboard users through a focusable trigger; unlike `popover`, it isn't dismissible or click-triggered.",
8391
8540
  "accessibility": "Point the trigger at the bubble with aria-describedby and give the bubble role=\"tooltip\".",
8392
8541
  "modifiers": [
8393
8542
  {
@@ -8485,7 +8634,7 @@
8485
8634
  "profiles": {}
8486
8635
  },
8487
8636
  "source": {
8488
- "line": 5773,
8637
+ "line": 6059,
8489
8638
  "column": 1
8490
8639
  }
8491
8640
  },
@@ -8494,6 +8643,7 @@
8494
8643
  "kind": "component",
8495
8644
  "className": ".instui-range-input",
8496
8645
  "summary": "A styled range slider with an inverse value bubble.",
8646
+ "remarks": "Each vendor thumb/track pseudo-element needs its own separate rule — grouping them in one selector list would invalidate the whole rule in browsers that don't recognize the other vendor's pseudo.",
8497
8647
  "accessibility": "The control is a native `<input type=\"range\">`; give it an accessible name with `aria-label` or an associated `<label>`.",
8498
8648
  "modifiers": [
8499
8649
  {
@@ -8631,7 +8781,7 @@
8631
8781
  "profiles": {}
8632
8782
  },
8633
8783
  "source": {
8634
- "line": 5857,
8784
+ "line": 6144,
8635
8785
  "column": 1
8636
8786
  }
8637
8787
  },
@@ -8689,7 +8839,7 @@
8689
8839
  "profiles": {}
8690
8840
  },
8691
8841
  "source": {
8692
- "line": 6005,
8842
+ "line": 6293,
8693
8843
  "column": 1
8694
8844
  }
8695
8845
  },
@@ -8733,7 +8883,7 @@
8733
8883
  "profiles": {}
8734
8884
  },
8735
8885
  "source": {
8736
- "line": 6041,
8886
+ "line": 6329,
8737
8887
  "column": 1
8738
8888
  }
8739
8889
  },
@@ -8742,6 +8892,7 @@
8742
8892
  "kind": "component",
8743
8893
  "className": ".instui-heading",
8744
8894
  "summary": "Heading typography from `-level-h1` to `-level-h6`.",
8895
+ "remarks": "The `-variant-*` presets override a `-level-*`'s font-size and font-weight, so combine only one of each family per element.",
8745
8896
  "accessibility": "These classes set the visual level only, so render a real `<h1>`–`<h6>` (or use `role=\"heading\"` with `aria-level`) to convey the heading level.",
8746
8897
  "modifiers": [
8747
8898
  {
@@ -8762,6 +8913,12 @@
8762
8913
  "value": "ai",
8763
8914
  "description": "AI-accent colour."
8764
8915
  },
8916
+ {
8917
+ "name": "-color-primary",
8918
+ "prop": "color",
8919
+ "value": "primary",
8920
+ "description": "(default) Primary colour."
8921
+ },
8765
8922
  {
8766
8923
  "name": "-color-primary-inverse",
8767
8924
  "prop": "color",
@@ -8988,7 +9145,7 @@
8988
9145
  "profiles": {}
8989
9146
  },
8990
9147
  "source": {
8991
- "line": 6067,
9148
+ "line": 6355,
8992
9149
  "column": 1
8993
9150
  }
8994
9151
  },
@@ -8997,6 +9154,7 @@
8997
9154
  "kind": "component",
8998
9155
  "className": ".instui-text",
8999
9156
  "summary": "Body-text typography with size, weight, colour, and style modifiers.",
9157
+ "remarks": "The `-variant-*` presets and the `-color-*`/`-size-*`/`-weight-*` modifiers all compose on the same element; unlike `heading`, it renders no implicit semantic level.",
9000
9158
  "releaseStage": "stable",
9001
9159
  "modifiers": [
9002
9160
  {
@@ -9368,7 +9526,7 @@
9368
9526
  "profiles": {}
9369
9527
  },
9370
9528
  "source": {
9371
- "line": 6131,
9529
+ "line": 6491,
9372
9530
  "column": 1
9373
9531
  }
9374
9532
  },
@@ -9376,14 +9534,23 @@
9376
9534
  "name": "close-button",
9377
9535
  "kind": "component",
9378
9536
  "className": ".instui-close-button",
9379
- "summary": "A transparent icon button that draws its own × glyph, in three sizes plus an inverse variant.",
9380
- "accessibility": "Give the icon-only button an `aria-label` (e.g. \"Close\").",
9537
+ "summary": "A transparent icon button that draws its own × glyph, in three sizes plus an on-color variant.",
9538
+ "remarks": "Always renders as an icon-only control with no visible label, so an `aria-label` is required, not optional; compare to `button`'s `-without-background` ghost variant, which keeps a text label.",
9539
+ "accessibility": "Give the icon-only button an `aria-label` (e.g. \"Close\"), and mark a disabled button with `aria-disabled` (or the native `disabled`).",
9381
9540
  "modifiers": [
9382
9541
  {
9383
9542
  "name": "-color-inverse",
9384
9543
  "prop": "color",
9385
9544
  "value": "inverse",
9386
- "description": "For dark backgrounds."
9545
+ "deprecated": {
9546
+ "canonical": "-on-color"
9547
+ }
9548
+ },
9549
+ {
9550
+ "name": "-on-color",
9551
+ "prop": "on",
9552
+ "value": "color",
9553
+ "description": "For a close button placed on a coloured (non-neutral) surface."
9387
9554
  },
9388
9555
  {
9389
9556
  "name": "-size-large",
@@ -9397,6 +9564,18 @@
9397
9564
  "value": "lg",
9398
9565
  "description": "Large."
9399
9566
  },
9567
+ {
9568
+ "name": "-size-md",
9569
+ "prop": "size",
9570
+ "value": "md",
9571
+ "description": "(default) medium size."
9572
+ },
9573
+ {
9574
+ "name": "-size-medium",
9575
+ "prop": "size",
9576
+ "value": "medium",
9577
+ "description": "(default) medium size. Long-form alias of `-size-md`."
9578
+ },
9400
9579
  {
9401
9580
  "name": "-size-sm",
9402
9581
  "prop": "size",
@@ -9418,34 +9597,56 @@
9418
9597
  "description": "The × glyph, masked in `currentColor`."
9419
9598
  }
9420
9599
  ],
9421
- "states": [],
9600
+ "states": [
9601
+ {
9602
+ "name": "aria-disabled=true",
9603
+ "kind": "attribute",
9604
+ "selector": "[aria-disabled=\"true\"]"
9605
+ },
9606
+ {
9607
+ "name": "disabled",
9608
+ "kind": "pseudo-class"
9609
+ }
9610
+ ],
9422
9611
  "slots": [],
9423
9612
  "todos": [],
9424
9613
  "cssPropertiesConsumed": [
9425
9614
  {
9426
- "name": "--instui-color-background-interactive-action-tertiary-active"
9615
+ "name": "--instui-component-base-button-border-radius"
9427
9616
  },
9428
9617
  {
9429
- "name": "--instui-color-background-interactive-action-tertiary-hover"
9618
+ "name": "--instui-component-base-button-large-height"
9430
9619
  },
9431
9620
  {
9432
- "name": "--instui-color-text-interactive-action-secondary-base"
9621
+ "name": "--instui-component-base-button-medium-height"
9433
9622
  },
9434
9623
  {
9435
- "name": "--instui-component-base-button-border-radius"
9624
+ "name": "--instui-component-base-button-primary-ghost-active-background"
9436
9625
  },
9437
9626
  {
9438
- "name": "--instui-component-base-button-large-height"
9627
+ "name": "--instui-component-base-button-primary-ghost-hover-background"
9439
9628
  },
9440
9629
  {
9441
- "name": "--instui-component-base-button-medium-height"
9630
+ "name": "--instui-component-base-button-primary-inverse-ghost-active-background"
9442
9631
  },
9443
9632
  {
9444
- "name": "--instui-component-base-button-primary-inverse-ghost-color"
9633
+ "name": "--instui-component-base-button-primary-inverse-ghost-hover-background"
9445
9634
  },
9446
9635
  {
9447
9636
  "name": "--instui-component-base-button-small-height"
9448
9637
  },
9638
+ {
9639
+ "name": "--instui-component-icon-base-color"
9640
+ },
9641
+ {
9642
+ "name": "--instui-component-icon-disabled-base-color"
9643
+ },
9644
+ {
9645
+ "name": "--instui-component-icon-disabled-on-color"
9646
+ },
9647
+ {
9648
+ "name": "--instui-component-icon-on-color"
9649
+ },
9449
9650
  {
9450
9651
  "name": "--instui-icon-x"
9451
9652
  },
@@ -9484,7 +9685,7 @@
9484
9685
  "profiles": {}
9485
9686
  },
9486
9687
  "source": {
9487
- "line": 6330,
9688
+ "line": 6691,
9488
9689
  "column": 1
9489
9690
  }
9490
9691
  },
@@ -9663,7 +9864,7 @@
9663
9864
  "profiles": {}
9664
9865
  },
9665
9866
  "source": {
9666
- "line": 6398,
9867
+ "line": 6795,
9667
9868
  "column": 1
9668
9869
  }
9669
9870
  },
@@ -9872,7 +10073,7 @@
9872
10073
  "profiles": {}
9873
10074
  },
9874
10075
  "source": {
9875
- "line": 6526,
10076
+ "line": 6923,
9876
10077
  "column": 1
9877
10078
  }
9878
10079
  },
@@ -10003,7 +10204,7 @@
10003
10204
  "profiles": {}
10004
10205
  },
10005
10206
  "source": {
10006
- "line": 6683,
10207
+ "line": 7080,
10007
10208
  "column": 1
10008
10209
  }
10009
10210
  },
@@ -10114,7 +10315,7 @@
10114
10315
  "profiles": {}
10115
10316
  },
10116
10317
  "source": {
10117
- "line": 6781,
10318
+ "line": 7178,
10118
10319
  "column": 1
10119
10320
  }
10120
10321
  },
@@ -10123,6 +10324,7 @@
10123
10324
  "kind": "component",
10124
10325
  "className": ".instui-text-input",
10125
10326
  "summary": "A styled native `<input>` — including `date`, `time`, and `datetime-local`, where the browser supplies the picker — with validation states and sizes.",
10327
+ "remarks": "Shares its border, background, and state chrome with `text-area`, `simple-select`, `number-input`, and `input-group`; for `date`/`time`/`datetime-local` types the browser supplies its own picker UI, which this stylesheet doesn't style.",
10126
10328
  "modifiers": [
10127
10329
  {
10128
10330
  "name": "-disabled",
@@ -10151,6 +10353,18 @@
10151
10353
  "value": "lg",
10152
10354
  "description": "Large."
10153
10355
  },
10356
+ {
10357
+ "name": "-size-md",
10358
+ "prop": "size",
10359
+ "value": "md",
10360
+ "description": "(default) Medium."
10361
+ },
10362
+ {
10363
+ "name": "-size-medium",
10364
+ "prop": "size",
10365
+ "value": "medium",
10366
+ "description": "(default) Medium. Long-form alias of `-size-md`."
10367
+ },
10154
10368
  {
10155
10369
  "name": "-size-sm",
10156
10370
  "prop": "size",
@@ -10283,7 +10497,7 @@
10283
10497
  "layers": [],
10284
10498
  "conditions": [],
10285
10499
  "examples": [
10286
- "<input class=\"instui-text-input\" placeholder=\"Default\">"
10500
+ "```html\n<input class=\"instui-text-input\" placeholder=\"Default\">\n```"
10287
10501
  ],
10288
10502
  "see": [],
10289
10503
  "annotations": [],
@@ -10320,7 +10534,7 @@
10320
10534
  "profiles": {}
10321
10535
  },
10322
10536
  "source": {
10323
- "line": 6867,
10537
+ "line": 7264,
10324
10538
  "column": 1
10325
10539
  }
10326
10540
  },
@@ -10329,6 +10543,7 @@
10329
10543
  "kind": "component",
10330
10544
  "className": ".instui-text-area",
10331
10545
  "summary": "A styled, resizable native `<textarea>` with the same states and sizes as the text input.",
10546
+ "remarks": "Shares its border, background, and focus states with `text-input` and `simple-select`; only `resize: vertical` and the taller minimum height are unique to it.",
10332
10547
  "modifiers": [
10333
10548
  {
10334
10549
  "name": "-disabled",
@@ -10357,6 +10572,18 @@
10357
10572
  "value": "lg",
10358
10573
  "description": "Large."
10359
10574
  },
10575
+ {
10576
+ "name": "-size-md",
10577
+ "prop": "size",
10578
+ "value": "md",
10579
+ "description": "(default) Medium."
10580
+ },
10581
+ {
10582
+ "name": "-size-medium",
10583
+ "prop": "size",
10584
+ "value": "medium",
10585
+ "description": "(default) Medium. Long-form alias of `-size-md`."
10586
+ },
10360
10587
  {
10361
10588
  "name": "-size-sm",
10362
10589
  "prop": "size",
@@ -10499,7 +10726,7 @@
10499
10726
  "profiles": {}
10500
10727
  },
10501
10728
  "source": {
10502
- "line": 6934,
10729
+ "line": 7388,
10503
10730
  "column": 1
10504
10731
  }
10505
10732
  },
@@ -10508,6 +10735,7 @@
10508
10735
  "kind": "component",
10509
10736
  "className": ".instui-simple-select",
10510
10737
  "summary": "A styled native `<select>` with a caret, matching the text-input states and sizes.",
10738
+ "remarks": "Wraps a plain native `<select>` with no custom dropdown/menu markup, so browser-native option rendering and keyboard behavior apply as-is; it shares its field chrome with `text-input`.",
10511
10739
  "modifiers": [
10512
10740
  {
10513
10741
  "name": "-disabled",
@@ -10536,6 +10764,18 @@
10536
10764
  "value": "lg",
10537
10765
  "description": "Large."
10538
10766
  },
10767
+ {
10768
+ "name": "-size-md",
10769
+ "prop": "size",
10770
+ "value": "md",
10771
+ "description": "(default) Medium."
10772
+ },
10773
+ {
10774
+ "name": "-size-medium",
10775
+ "prop": "size",
10776
+ "value": "medium",
10777
+ "description": "(default) Medium. Long-form alias of `-size-md`."
10778
+ },
10539
10779
  {
10540
10780
  "name": "-size-sm",
10541
10781
  "prop": "size",
@@ -10708,7 +10948,7 @@
10708
10948
  "profiles": {}
10709
10949
  },
10710
10950
  "source": {
10711
- "line": 7000,
10951
+ "line": 7497,
10712
10952
  "column": 1
10713
10953
  }
10714
10954
  },
@@ -10717,6 +10957,7 @@
10717
10957
  "kind": "component",
10718
10958
  "className": ".instui-input-group",
10719
10959
  "summary": "A facade around a text input with leading and trailing icon slots.",
10960
+ "remarks": "Wraps the same field chrome as `text-input` with icon slots either side of it; `-should-not-wrap` is only needed when the group's contents would otherwise overflow onto a second line.",
10720
10961
  "modifiers": [
10721
10962
  {
10722
10963
  "name": "-disabled",
@@ -10751,6 +10992,18 @@
10751
10992
  "value": "lg",
10752
10993
  "description": "Large."
10753
10994
  },
10995
+ {
10996
+ "name": "-size-md",
10997
+ "prop": "size",
10998
+ "value": "md",
10999
+ "description": "Medium."
11000
+ },
11001
+ {
11002
+ "name": "-size-medium",
11003
+ "prop": "size",
11004
+ "value": "medium",
11005
+ "description": "Medium. Long-form alias of `-size-md`."
11006
+ },
10754
11007
  {
10755
11008
  "name": "-size-sm",
10756
11009
  "prop": "size",
@@ -10769,7 +11022,16 @@
10769
11022
  "description": "Success (valid) state."
10770
11023
  }
10771
11024
  ],
10772
- "parts": [],
11025
+ "parts": [
11026
+ {
11027
+ "name": "after",
11028
+ "description": "The trailing content slot."
11029
+ },
11030
+ {
11031
+ "name": "before",
11032
+ "description": "The leading content slot."
11033
+ }
11034
+ ],
10773
11035
  "shadowParts": [],
10774
11036
  "pseudoElements": [
10775
11037
  {
@@ -10920,7 +11182,7 @@
10920
11182
  "profiles": {}
10921
11183
  },
10922
11184
  "source": {
10923
- "line": 7081,
11185
+ "line": 7639,
10924
11186
  "column": 1
10925
11187
  }
10926
11188
  },
@@ -10929,6 +11191,7 @@
10929
11191
  "kind": "component",
10930
11192
  "className": ".instui-number-input",
10931
11193
  "summary": "A number-input facade with a +/- spinner column.",
11194
+ "remarks": "The `.arrows` buttons are `aria-hidden` and purely presentational — incrementing/decrementing the value on click is the consumer's JS to wire up.",
10932
11195
  "accessibility": "Put the accessible name on the `<input>` (e.g. `aria-label`) so the field owns the value; the +/- spinner buttons are decorative and marked `aria-hidden=\"true\"`.",
10933
11196
  "modifiers": [
10934
11197
  {
@@ -10958,6 +11221,18 @@
10958
11221
  "value": "lg",
10959
11222
  "description": "Large."
10960
11223
  },
11224
+ {
11225
+ "name": "-size-md",
11226
+ "prop": "size",
11227
+ "value": "md",
11228
+ "description": "(default) Medium."
11229
+ },
11230
+ {
11231
+ "name": "-size-medium",
11232
+ "prop": "size",
11233
+ "value": "medium",
11234
+ "description": "(default) Medium. Long-form alias of `-size-md`."
11235
+ },
10961
11236
  {
10962
11237
  "name": "-size-sm",
10963
11238
  "prop": "size",
@@ -11189,7 +11464,7 @@
11189
11464
  "profiles": {}
11190
11465
  },
11191
11466
  "source": {
11192
- "line": 7165,
11467
+ "line": 7794,
11193
11468
  "column": 1
11194
11469
  }
11195
11470
  },
@@ -11198,6 +11473,7 @@
11198
11473
  "kind": "component",
11199
11474
  "className": ".instui-in-place-edit",
11200
11475
  "summary": "A [contenteditable] that reads as text until focused, then shows input chrome.",
11476
+ "remarks": "The input chrome only appears while focused; `-readonly` suppresses both the hover and focus affordances so the element always reads as plain inline text.",
11201
11477
  "accessibility": "Give the editable element `role=\"textbox\"` and an accessible name (`aria-label`).",
11202
11478
  "modifiers": [
11203
11479
  {
@@ -11282,7 +11558,7 @@
11282
11558
  "profiles": {}
11283
11559
  },
11284
11560
  "source": {
11285
- "line": 7304,
11561
+ "line": 8021,
11286
11562
  "column": 1
11287
11563
  }
11288
11564
  },
@@ -11718,7 +11994,7 @@
11718
11994
  "layers": [],
11719
11995
  "conditions": [],
11720
11996
  "examples": [
11721
- "<div class=\"instui-view -background-secondary -border-radius-medium -shadow-resting\">A card-like surface.</div>"
11997
+ "```html\n<div class=\"instui-view -background-secondary -border-radius-medium -shadow-resting\">\n A card-like surface.\n</div>\n```"
11722
11998
  ],
11723
11999
  "see": [],
11724
12000
  "annotations": [],
@@ -11738,7 +12014,7 @@
11738
12014
  "profiles": {}
11739
12015
  },
11740
12016
  "source": {
11741
- "line": 7354,
12017
+ "line": 8072,
11742
12018
  "column": 1
11743
12019
  }
11744
12020
  },
@@ -11801,7 +12077,7 @@
11801
12077
  },
11802
12078
  "global": true,
11803
12079
  "source": {
11804
- "line": 7475,
12080
+ "line": 8204,
11805
12081
  "column": 1
11806
12082
  }
11807
12083
  },
@@ -13030,7 +13306,7 @@
13030
13306
  },
13031
13307
  "global": true,
13032
13308
  "source": {
13033
- "line": 7501,
13309
+ "line": 8230,
13034
13310
  "column": 1
13035
13311
  }
13036
13312
  },
@@ -13105,7 +13381,7 @@
13105
13381
  },
13106
13382
  "global": true,
13107
13383
  "source": {
13108
- "line": 7756,
13384
+ "line": 8485,
13109
13385
  "column": 1
13110
13386
  }
13111
13387
  },
@@ -13210,7 +13486,7 @@
13210
13486
  },
13211
13487
  "global": true,
13212
13488
  "source": {
13213
- "line": 7776,
13489
+ "line": 8505,
13214
13490
  "column": 1
13215
13491
  }
13216
13492
  },
@@ -13303,7 +13579,7 @@
13303
13579
  },
13304
13580
  "global": true,
13305
13581
  "source": {
13306
- "line": 7806,
13582
+ "line": 8535,
13307
13583
  "column": 1
13308
13584
  }
13309
13585
  },
@@ -13385,7 +13661,7 @@
13385
13661
  },
13386
13662
  "global": true,
13387
13663
  "source": {
13388
- "line": 7832,
13664
+ "line": 8561,
13389
13665
  "column": 1
13390
13666
  }
13391
13667
  },
@@ -13452,7 +13728,7 @@
13452
13728
  },
13453
13729
  "global": true,
13454
13730
  "source": {
13455
- "line": 7850,
13731
+ "line": 8579,
13456
13732
  "column": 1
13457
13733
  }
13458
13734
  },
@@ -13645,7 +13921,7 @@
13645
13921
  },
13646
13922
  "global": true,
13647
13923
  "source": {
13648
- "line": 7866,
13924
+ "line": 8595,
13649
13925
  "column": 1
13650
13926
  }
13651
13927
  },
@@ -13809,7 +14085,7 @@
13809
14085
  },
13810
14086
  "global": true,
13811
14087
  "source": {
13812
- "line": 7959,
14088
+ "line": 8688,
13813
14089
  "column": 1
13814
14090
  }
13815
14091
  },
@@ -13862,7 +14138,7 @@
13862
14138
  },
13863
14139
  "global": true,
13864
14140
  "source": {
13865
- "line": 8030,
14141
+ "line": 8759,
13866
14142
  "column": 1
13867
14143
  }
13868
14144
  },
@@ -13951,7 +14227,7 @@
13951
14227
  },
13952
14228
  "global": true,
13953
14229
  "source": {
13954
- "line": 8050,
14230
+ "line": 8779,
13955
14231
  "column": 1
13956
14232
  }
13957
14233
  },
@@ -14034,7 +14310,7 @@
14034
14310
  },
14035
14311
  "global": true,
14036
14312
  "source": {
14037
- "line": 8449,
14313
+ "line": 9178,
14038
14314
  "column": 1
14039
14315
  }
14040
14316
  },
@@ -14620,7 +14896,7 @@
14620
14896
  },
14621
14897
  "global": true,
14622
14898
  "source": {
14623
- "line": 8480,
14899
+ "line": 9209,
14624
14900
  "column": 1
14625
14901
  }
14626
14902
  }