@slotted/angular 0.1.0-beta.1 → 0.1.0-beta.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (169) hide show
  1. package/README.md +4 -0
  2. package/docs/AGENTS.snippet.md +10 -0
  3. package/docs/app-shell.json +1 -1
  4. package/docs/button-group.json +1 -0
  5. package/docs/button-group.md +1 -1
  6. package/docs/button.json +45 -11
  7. package/docs/button.md +10 -6
  8. package/docs/chart.json +7 -0
  9. package/docs/chart.md +1 -0
  10. package/docs/checkbox.json +7 -0
  11. package/docs/checkbox.md +1 -0
  12. package/docs/currency-field.json +32 -1
  13. package/docs/currency-field.md +4 -1
  14. package/docs/dialog.examples.md +20 -0
  15. package/docs/dialog.json +14 -2
  16. package/docs/dialog.md +1 -1
  17. package/docs/event-calendar.json +7 -0
  18. package/docs/event-calendar.md +1 -0
  19. package/docs/guidelines/README.md +27 -0
  20. package/docs/guidelines/async-feedback.md +108 -0
  21. package/docs/guidelines/browsing.md +74 -0
  22. package/docs/guidelines/builders.md +97 -0
  23. package/docs/guidelines/composition.md +129 -0
  24. package/docs/guidelines/conversations.md +59 -0
  25. package/docs/guidelines/errors-and-conflicts.md +71 -0
  26. package/docs/guidelines/forms.md +192 -0
  27. package/docs/guidelines/index.md +121 -0
  28. package/docs/guidelines/layout-alignment.md +95 -0
  29. package/docs/guidelines/ledgers.md +45 -0
  30. package/docs/guidelines/list-pages.md +165 -0
  31. package/docs/guidelines/overviews.md +66 -0
  32. package/docs/guidelines/own-elements.md +115 -0
  33. package/docs/guidelines/reading-permissions.md +55 -0
  34. package/docs/guidelines/record-pages.md +178 -0
  35. package/docs/guidelines/reports.md +123 -0
  36. package/docs/guidelines/shell-composition.md +94 -0
  37. package/docs/guidelines/workspaces.md +46 -0
  38. package/docs/index.md +12 -0
  39. package/docs/list.json +19 -1
  40. package/docs/list.md +3 -1
  41. package/docs/popover.json +1 -1
  42. package/docs/progress-indicator.json +1 -2
  43. package/docs/progress-indicator.md +2 -2
  44. package/docs/segmented-control.json +29 -1
  45. package/docs/segmented-control.md +17 -1
  46. package/docs/skills/build-own-element/SKILL.md +90 -0
  47. package/docs/skills/compose-screen/SKILL.md +76 -0
  48. package/docs/skills/index.md +9 -0
  49. package/docs/skills/review-screen/SKILL.md +70 -0
  50. package/docs/skills/theme-app/SKILL.md +79 -0
  51. package/docs/skills/waiting-states/SKILL.md +139 -0
  52. package/docs/split-button.json +1 -0
  53. package/docs/split-button.md +1 -1
  54. package/docs/stat-card.json +2 -0
  55. package/docs/stat-card.md +1 -1
  56. package/docs/table.examples.md +1 -1
  57. package/docs/table.json +70 -1
  58. package/docs/table.md +10 -1
  59. package/docs/tabs.json +1 -4
  60. package/docs/tabs.md +1 -1
  61. package/docs/toggle-group.json +14 -3
  62. package/docs/toggle-group.md +3 -3
  63. package/docs/toggle.json +12 -3
  64. package/docs/toggle.md +3 -3
  65. package/docs/tokens.md +448 -0
  66. package/docs/tour.json +1 -1
  67. package/fesm2022/slotted-angular-app-shell.mjs +48 -16
  68. package/fesm2022/slotted-angular-app-shell.mjs.map +1 -1
  69. package/fesm2022/slotted-angular-button-group.mjs +4 -4
  70. package/fesm2022/slotted-angular-button-group.mjs.map +1 -1
  71. package/fesm2022/slotted-angular-button.mjs +51 -19
  72. package/fesm2022/slotted-angular-button.mjs.map +1 -1
  73. package/fesm2022/slotted-angular-cascader.mjs +1 -1
  74. package/fesm2022/slotted-angular-cascader.mjs.map +1 -1
  75. package/fesm2022/slotted-angular-chart.mjs +41 -20
  76. package/fesm2022/slotted-angular-chart.mjs.map +1 -1
  77. package/fesm2022/slotted-angular-checkbox.mjs +11 -2
  78. package/fesm2022/slotted-angular-checkbox.mjs.map +1 -1
  79. package/fesm2022/slotted-angular-column-manager.mjs +1 -1
  80. package/fesm2022/slotted-angular-column-manager.mjs.map +1 -1
  81. package/fesm2022/slotted-angular-combobox.mjs +12 -6
  82. package/fesm2022/slotted-angular-combobox.mjs.map +1 -1
  83. package/fesm2022/slotted-angular-currency-field.mjs +59 -8
  84. package/fesm2022/slotted-angular-currency-field.mjs.map +1 -1
  85. package/fesm2022/slotted-angular-dashboard-grid.mjs +18 -22
  86. package/fesm2022/slotted-angular-dashboard-grid.mjs.map +1 -1
  87. package/fesm2022/slotted-angular-data-grid.mjs +7 -3
  88. package/fesm2022/slotted-angular-data-grid.mjs.map +1 -1
  89. package/fesm2022/slotted-angular-data-list.mjs +2 -2
  90. package/fesm2022/slotted-angular-data-list.mjs.map +1 -1
  91. package/fesm2022/slotted-angular-dialog.mjs +4 -4
  92. package/fesm2022/slotted-angular-dialog.mjs.map +1 -1
  93. package/fesm2022/slotted-angular-drawer.mjs +5 -1
  94. package/fesm2022/slotted-angular-drawer.mjs.map +1 -1
  95. package/fesm2022/slotted-angular-event-calendar.mjs +18 -8
  96. package/fesm2022/slotted-angular-event-calendar.mjs.map +1 -1
  97. package/fesm2022/slotted-angular-filter-bar.mjs +8 -8
  98. package/fesm2022/slotted-angular-filter-bar.mjs.map +1 -1
  99. package/fesm2022/slotted-angular-import-export-center.mjs +1 -1
  100. package/fesm2022/slotted-angular-import-export-center.mjs.map +1 -1
  101. package/fesm2022/slotted-angular-list.mjs +28 -17
  102. package/fesm2022/slotted-angular-list.mjs.map +1 -1
  103. package/fesm2022/slotted-angular-loading-overlay.mjs +2 -2
  104. package/fesm2022/slotted-angular-markdown.mjs +1 -1
  105. package/fesm2022/slotted-angular-markdown.mjs.map +1 -1
  106. package/fesm2022/slotted-angular-multi-select.mjs +32 -27
  107. package/fesm2022/slotted-angular-multi-select.mjs.map +1 -1
  108. package/fesm2022/slotted-angular-notification-center.mjs +1 -1
  109. package/fesm2022/slotted-angular-notification-center.mjs.map +1 -1
  110. package/fesm2022/slotted-angular-number-field.mjs +2 -2
  111. package/fesm2022/slotted-angular-number-field.mjs.map +1 -1
  112. package/fesm2022/slotted-angular-progress-indicator.mjs +6 -6
  113. package/fesm2022/slotted-angular-saved-views.mjs +1 -1
  114. package/fesm2022/slotted-angular-saved-views.mjs.map +1 -1
  115. package/fesm2022/slotted-angular-segmented-control.mjs +25 -5
  116. package/fesm2022/slotted-angular-segmented-control.mjs.map +1 -1
  117. package/fesm2022/slotted-angular-select.mjs +1 -25
  118. package/fesm2022/slotted-angular-select.mjs.map +1 -1
  119. package/fesm2022/slotted-angular-split-button.mjs +4 -4
  120. package/fesm2022/slotted-angular-split-button.mjs.map +1 -1
  121. package/fesm2022/slotted-angular-stat-card.mjs +2 -2
  122. package/fesm2022/slotted-angular-stat-card.mjs.map +1 -1
  123. package/fesm2022/slotted-angular-table.mjs +97 -10
  124. package/fesm2022/slotted-angular-table.mjs.map +1 -1
  125. package/fesm2022/slotted-angular-tabs.mjs +2 -2
  126. package/fesm2022/slotted-angular-tabs.mjs.map +1 -1
  127. package/fesm2022/slotted-angular-toggle-group.mjs +17 -4
  128. package/fesm2022/slotted-angular-toggle-group.mjs.map +1 -1
  129. package/fesm2022/slotted-angular-toggle.mjs +2 -2
  130. package/fesm2022/slotted-angular-toggle.mjs.map +1 -1
  131. package/fesm2022/slotted-angular-tour.mjs +1 -1
  132. package/fesm2022/slotted-angular-tour.mjs.map +1 -1
  133. package/fesm2022/slotted-angular-transfer.mjs +1 -1
  134. package/fesm2022/slotted-angular-transfer.mjs.map +1 -1
  135. package/fesm2022/slotted-angular-upload.mjs +2 -2
  136. package/fesm2022/slotted-angular-wizard.mjs +1 -1
  137. package/fesm2022/slotted-angular-wizard.mjs.map +1 -1
  138. package/package.json +3 -3
  139. package/types/slotted-angular-app-shell.d.ts +6 -0
  140. package/types/slotted-angular-app-shell.d.ts.map +1 -1
  141. package/types/slotted-angular-button-group.d.ts +1 -1
  142. package/types/slotted-angular-button.d.ts +33 -13
  143. package/types/slotted-angular-button.d.ts.map +1 -1
  144. package/types/slotted-angular-chart.d.ts +9 -0
  145. package/types/slotted-angular-chart.d.ts.map +1 -1
  146. package/types/slotted-angular-checkbox.d.ts +7 -1
  147. package/types/slotted-angular-checkbox.d.ts.map +1 -1
  148. package/types/slotted-angular-combobox.d.ts.map +1 -1
  149. package/types/slotted-angular-currency-field.d.ts +25 -3
  150. package/types/slotted-angular-currency-field.d.ts.map +1 -1
  151. package/types/slotted-angular-dashboard-grid.d.ts.map +1 -1
  152. package/types/slotted-angular-data-grid.d.ts.map +1 -1
  153. package/types/slotted-angular-drawer.d.ts.map +1 -1
  154. package/types/slotted-angular-event-calendar.d.ts +9 -2
  155. package/types/slotted-angular-event-calendar.d.ts.map +1 -1
  156. package/types/slotted-angular-list.d.ts +42 -27
  157. package/types/slotted-angular-list.d.ts.map +1 -1
  158. package/types/slotted-angular-multi-select.d.ts +10 -0
  159. package/types/slotted-angular-multi-select.d.ts.map +1 -1
  160. package/types/slotted-angular-segmented-control.d.ts +15 -2
  161. package/types/slotted-angular-segmented-control.d.ts.map +1 -1
  162. package/types/slotted-angular-select.d.ts.map +1 -1
  163. package/types/slotted-angular-split-button.d.ts +2 -2
  164. package/types/slotted-angular-table.d.ts +43 -3
  165. package/types/slotted-angular-table.d.ts.map +1 -1
  166. package/types/slotted-angular-toggle-group.d.ts +8 -2
  167. package/types/slotted-angular-toggle-group.d.ts.map +1 -1
  168. package/types/slotted-angular-toggle.d.ts +1 -1
  169. package/types/slotted-angular-toggle.d.ts.map +1 -1
@@ -0,0 +1,123 @@
1
+ ---
2
+ topic: reports
3
+ prefix: RE
4
+ triggers:
5
+ [
6
+ report,
7
+ analytics,
8
+ period,
9
+ comparison,
10
+ compare,
11
+ trend,
12
+ segment,
13
+ drill-down,
14
+ download,
15
+ csv,
16
+ anomaly,
17
+ annotation,
18
+ coverage,
19
+ history,
20
+ ranking,
21
+ ]
22
+ families: [page-header, select, stat-card, chart, table, list, section, inline-message]
23
+ ---
24
+
25
+ # Reports
26
+
27
+ How a screen that reads records over a chosen period is composed: what it
28
+ reads from the operational screens, how a period and its comparison are
29
+ chosen and kept, what it says where the records are not kept, how a figure
30
+ is flagged and how a breakdown is downloaded. The library gives `chart` a
31
+ period of data, `stat-card` a change and its base, `table` a summary row; it
32
+ does not say that a period lives in the address, that a figure the history
33
+ does not hold is no number, or which rule flags a figure.
34
+
35
+ ### RE-01 · A report reads a period; an overview reads today
36
+
37
+ Level: SHOULD
38
+ Applies to: a report that shows a state of today beside its period's flows — receivables, a backlog, stock on hand
39
+ Rule: A figure of the report is a flow over its period against a period of the same length; a state of today is read through the operational screen's own read, says "as of today", and opens the operational screen's door.
40
+ Why: Two reads of one state drift — a receivables figure computed twice says two numbers on two screens — and a state read beside a period reads as the period's.
41
+ Do: Read the overview's answer beside the report's and draw its figures from it, with the overview's door and the overview's thresholds; give the read a region of its own, so a failure of either leaves the other on screen.
42
+ Don't: Recompute an overview's figure inside the report, or draw a state of today without saying it is today's.
43
+ Check: Read each state of today on the report: it says "as of today", equals the figure of the operational screen it opens, and stays on screen when the report's own read fails.
44
+
45
+ ### RE-02 · The period is the address
46
+
47
+ Level: SHOULD
48
+ Applies to: the period, the comparison and the segment filters of a report
49
+ Rule: They are query parameters of the report's address; a report opened without them takes the ones last chosen on any report, and the back gesture from a list it opened returns to the same period.
50
+ Why: A period held in the page alone is lost on the way back from a drill-down, and a reader moving from one report to the next would choose it again on each.
51
+ Do: Write each choice into the address by replacing the current history entry, so a change of period is no step of the history and the back gesture leaves the report; remember the last choice for the next report opened without one.
52
+ Don't: Keep the period in a store the address does not name, or push a history entry per change.
53
+ Check: Choose a period, open a figure's list and go back: the report is on the same period. Open another report with no period in its address: it takes the period last chosen.
54
+
55
+ ### RE-03 · What the records do not cover is not a number
56
+
57
+ Level: MUST
58
+ Applies to: a period, a comparison or a measure whose records the backend does not keep for all of its days
59
+ Rule: The period control offers only the periods the report's records are kept for; a figure, a cell or a breakdown whose records start after its range says "not kept" and from when, and is never drawn as a number.
60
+ Why: A sum over the days that happen to be kept is a part drawn as a whole: a ninety-day ratio over thirty days of invoices read 84 days of sales outstanding where the book held about 35.
61
+ Do: State once, under the controls, from which day each kind of record is kept; leave a comparison that starts earlier as "kept from", and replace a breakdown that cannot be read with the sentence that says why and which period can.
62
+ Don't: Draw a zero, a dash or a short bar for days the history does not hold, or offer a period the report will answer with nothing.
63
+ Check: Choose the longest period offered: every figure whose records start after its range says "not kept" and from when, and the period control offers no period the records do not cover.
64
+
65
+ ### RE-04 · A change says its base
66
+
67
+ Level: SHOULD
68
+ Applies to: the change a `stat-card` draws against a comparison period
69
+ Rule: The comparison line names the value compared with and the period it belongs to; an amount and a count move by a percentage, a share by points, a duration in its own unit.
70
+ Why: "+7%" with no base is a number a reader cannot check, and a share that moves from 36% to 37% reads as a 3% rise when it is one point.
71
+ Do: Hand the card the change and write "vs $15.22M, the 30 days before" in its `comparison`, on one line cut with its title; tell the card from the measure which direction is good, so a rise in discounts or in days to ship reads as a fall in quality.
72
+ Don't: Draw a relative change of a share, or a change whose base period the page does not name.
73
+ Check: Read each card with a change: the base value and its period stand on its comparison line, and a share's change ends in "pts".
74
+
75
+ ### RE-05 · An anomaly says its rule
76
+
77
+ Level: SHOULD
78
+ Applies to: a figure or a bucket a report flags as unusual
79
+ Rule: A value is flagged only by a rule the page states in words, and the flag names the value, the range it fell in, the band it left and opens the records of that range.
80
+ Why: A flag with no rule is an opinion the reader cannot weigh, and a flag that fires on noise teaches the reader to ignore the flags.
81
+ Do: Flag a value outside the mean of its own history plus or minus two standard deviations — the six periods of the same length before it, or the earlier buckets of the period — and keep a count's band no narrower than its chance variation; state a threshold the product sets (OV-04) beside it as a second kind of flag.
82
+ Don't: Flag by a fixed number the screen chose for itself, or by a comparison with a single earlier period.
83
+ Check: Read each flag: the page states its rule in words, the flag names the value, its range and the band it left, and it opens the records of that range.
84
+
85
+ ### RE-06 · A report's filters stand in the header
86
+
87
+ Level: SHOULD
88
+ Applies to: the period, comparison and segment controls of a report
89
+ Rule: They stand in `page-header`'s `content`, under the header's `toggle` and `pin`; below 600 pixels the area opens collapsed, so the figures lead the screen.
90
+ Why: The header's area is the family's place for filters, and a pinned area keeps the period in sight over a long report; a block in the body scrolls away and, on a phone, filled the first screen before a single figure.
91
+ Do: Write the controls and the one sentence of what the records cover in the `content`, and let the `subheading` say the period on the title row, where it stays when the area collapses.
92
+ Don't: Put the controls as the first block of the body, or keep the area open on a phone.
93
+ Check: At 1280 pixels the controls stand in the header with the pin; at 390 pixels with a coarse pointer the first screen holds the figures and the collapsed area's toggle.
94
+
95
+ ### RE-07 · Every number of a report opens what it counts
96
+
97
+ Level: SHOULD
98
+ Applies to: a report's figures, the bars and points of its charts, and the cells of its tables
99
+ Rule: Each opens the list of the records it counts, with its condition and its period as the list's own pills and the same total, and a record named by its id is named in the pill by its record's words.
100
+ Why: A breakdown the reader cannot open is a claim, and a pill reading "Account is any of cus_000412" says nothing a reader can check.
101
+ Do: Carry the condition in the address, field by field, and the names of the records it names beside their ids; let the list read them into its bar as it reads any filter (OV-01).
102
+ Don't: Open the unfiltered list, a list whose total differs from the number, or a pill of raw ids.
103
+ Check: Open a figure, a bar and a cell: each list's pills name the condition and the period in words, and its total equals the number opened.
104
+
105
+ ### RE-08 · A ranking draws ten
106
+
107
+ Level: SHOULD
108
+ Applies to: a `horizontal` `chart` that ranks categories whose number grows with the period or the tenant — accounts, products, representatives
109
+ Rule: The chart draws at most the ten first categories and says so in its title; the table under it holds every row and its summary.
110
+ Why: Forty-four representatives drawn on one plot stacked their names into a column nobody could read.
111
+ Do: Rank in the answer, cut the chart's data at ten and keep the rest — or one "other" row — to the table; place the section whose table holds every row last, since the wait cannot know its length and its growth then moves nothing.
112
+ Don't: Grow the plot with the categories, or cut the table with the chart.
113
+ Check: Choose the longest period: the ranking chart holds at most ten bars and says so in its title, and its table holds every row and the summary.
114
+
115
+ ### RE-09 · A download is the table on screen
116
+
117
+ Level: SHOULD
118
+ Applies to: the file a report's section offers
119
+ Rule: The download is the section's table as the reader sees it — its columns, its rows and its summary row, in its words — built in the browser from the answer the page drew, for every reader of the report.
120
+ Why: A file built by another read can say other numbers than the screen, and a column the reader may not see on screen would reach them in the file.
121
+ Do: Offer "Download CSV" in the section's actions and write the file from the table's lines; name it by report, section and period.
122
+ Don't: Offer a server export the reader's permissions were not applied to, or a file of raw minor units the table does not show.
123
+ Check: Press Download CSV on a section: the file's rows are the table's rows and its summary, and a withheld column is absent from both.
@@ -0,0 +1,94 @@
1
+ ---
2
+ topic: shell composition
3
+ prefix: SC
4
+ triggers:
5
+ [
6
+ app-shell,
7
+ shell,
8
+ banner,
9
+ header bar,
10
+ top-navigation,
11
+ search,
12
+ command palette,
13
+ magnifier,
14
+ mobile,
15
+ narrow,
16
+ overlay,
17
+ drawer,
18
+ dialog,
19
+ layer,
20
+ host,
21
+ popover,
22
+ notification-center,
23
+ brand,
24
+ ]
25
+ families: [app-shell, top-navigation, command-palette, popover, drawer, dialog, notification-center]
26
+ ---
27
+
28
+ # Shell composition
29
+
30
+ How the application frame is put together from `app-shell`, the bar inside its
31
+ banner and the layers the bar opens. Each family states its own anatomy; the
32
+ seams between them — what stands in the search slot, what a component host
33
+ costs in a flex row, how wide a panel is when its content has no width — are
34
+ the consumer's to get right.
35
+
36
+ ### SC-01 · A palette trigger is not a search field
37
+
38
+ Level: MUST
39
+ Applies to: `top-navigation`'s `search` region when what stands in it opens a `command-palette` rather than filtering in place
40
+ Rule: Below the bar's medium step, the magnifier opens the palette directly; the search region is never expanded over the bar.
41
+ Why: The bar's fold is written for a text field — open the region, move focus to its input. A region holding a trigger button costs the reader a second press and shows a button beside a close control, aligned with nothing.
42
+ Do: Answer the bar's request to open the search by cancelling it and opening the palette. Above the step the region shows the trigger as it always did.
43
+ Don't: Let the region open, or hide the magnifier and leave a narrow bar with no way to the palette.
44
+ Check: At a width under the medium step, one press on the magnifier shows the palette and the bar does not carry the open-search state.
45
+
46
+ ### SC-02 · Layer hosts leave the banner's row
47
+
48
+ Level: MUST
49
+ Applies to: a consumer component placed inside `app-shell`'s `banner` whose only output is a layer — a palette, a drawer, a dialog
50
+ Rule: A component host inside the banner that draws no box of its own contributes no box to the banner's row.
51
+ Why: The banner is a flex row with a gap; an empty host is still a flex item and costs one gap, which is air on one end of the bar and not the other.
52
+ Do: Give such a host no box — the library's own layer hosts have none — or place the component outside the banner.
53
+ Don't: Leave a consumer host in the row because its content is portalled anyway.
54
+ Check: The bar's first and last controls stand the same distance from the frame's two edges.
55
+
56
+ ### SC-03 · A panel around a query container states its measure
57
+
58
+ Level: SHOULD
59
+ Applies to: a `popover` whose content is a family that is a container query — `notification-center`, any consumer region with inline-size containment
60
+ Rule: The consumer states the content's inline size, and its block cap, on the content; the popover's measure alone does not size it.
61
+ Why: A query container contributes no intrinsic width, so a panel sized to its content settles at the family's floor whatever the popover's measure says, and a panel with no cap runs to the bottom of the viewport.
62
+ Do: Size the content to the popover's measure less the layer's own gap, bounded by the viewport on a phone, and cap its block size so the family's scrolling part scrolls.
63
+ Don't: Retune the popover's measure and expect a query container to grow into it.
64
+ Check: The panel is as wide as the popover's measure allows and no taller than the stated cap; the feed scrolls inside it.
65
+
66
+ ### SC-04 · The search slot stands one space step off the brand
67
+
68
+ Level: SHOULD
69
+ Applies to: `top-navigation`'s `search` region when nothing — no context, no destinations — stands between it and `brand`
70
+ Rule: The search region carries one space step of leading margin beyond the bar's own gap.
71
+ Why: The bar's gap is the air between the mark and the wordmark; a bordered field at that distance reads as a third part of the brand.
72
+ Do: Add one space step at the region's start. When the region takes the whole bar below the medium step it has its own inset and the margin does not apply.
73
+ Don't: Widen the bar's gap, which also moves the actions apart.
74
+ Check: The field's left edge stands one space step further from the wordmark than the wordmark stands from the mark.
75
+
76
+ ### SC-05 · A phone's bar holds five controls
77
+
78
+ Level: SHOULD
79
+ Applies to: what a consumer places in `top-navigation`'s `actions` — `action` controls of the product's own, beside the family's bell, help and account
80
+ Rule: Below the bar's high step the actions hold the search toggle, the bell, the help and the account; a product's own `action` leaves the bar and stays reachable from the navigation column or the palette.
81
+ Why: On a touch screen every control is a 44-pixel target; nine of them with the mark and the shell's toggle are wider than a phone, and the family folds none of a consumer's actions.
82
+ Do: Hide the product's own actions under the bar's own container query at the high step, and keep each one a destination in the column or a command in the palette.
83
+ Don't: Keep every action in the bar and let the cluster overflow, or shrink the controls under the touch target.
84
+ Check: At 390px with a coarse pointer, the bar's first and last controls are whole and no control overlaps another.
85
+
86
+ ### SC-06 · No key legends where there are no keys
87
+
88
+ Level: SHOULD
89
+ Applies to: a `kbd` or `shortcut` drawn as a hint beside a control — the search trigger's hotkey, a menu item's shortcut, a footer of hints
90
+ Rule: Where the primary input is a touch screen — `(hover: none) and (pointer: coarse)` — a shortcut drawn as a hint is not shown.
91
+ Why: The legend names a key the reader has no way to press; on a phone it is noise beside the control it decorates.
92
+ Do: Hide the hint under the media query. Keep a `kbd` that is content — a settings page listing the application's shortcuts — because it documents rather than hints.
93
+ Don't: Hide the control the hint stands beside, or key the rule on width: a narrow window on a laptop still has a keyboard.
94
+ Check: On a touch screen the search trigger shows the magnifier and the words alone, and the palette's footer is absent.
@@ -0,0 +1,46 @@
1
+ ---
2
+ topic: workspaces
3
+ prefix: WS
4
+ triggers:
5
+ [
6
+ workspace,
7
+ reconciliation,
8
+ match,
9
+ candidate,
10
+ confidence,
11
+ score,
12
+ queue,
13
+ three columns,
14
+ dense,
15
+ phone,
16
+ ]
17
+ families: [detail-panel, list, list-item, table, filter-bar, scroll-area, tag]
18
+ ---
19
+
20
+ # Workspaces
21
+
22
+ How a dense screen that works a queue against candidates is composed: what a
23
+ phone keeps of its regions, and how a machine's score is put before a person
24
+ who confirms it. The library gives `detail-panel` a main column and an aside,
25
+ `list` rows that lead somewhere and `table` a summary row; it does not say
26
+ how three regions become one on a phone, or that a score is shown taken apart.
27
+
28
+ ### WS-01 · A phone reads one region at a time
29
+
30
+ Level: SHOULD
31
+ Applies to: a workspace of three regions — a queue, the record opened from it, and what the record is matched against
32
+ Rule: Below 600 pixels the workspace shows the queue, and opening a row goes to the row's own address, where the record's page holds the other two regions, the third under the second; the back gesture returns to the queue.
33
+ Why: Three columns in 390 pixels are three columns nobody can read, and a region hidden on a phone is work a phone reader cannot finish.
34
+ Do: Make the opened record a place in the address at every width, so the selection is a link and the back gesture walks it back. From 600 pixels keep the queue beside the record and draw the record as a `detail-panel` whose `aside` is the third region, so the family decides whether it stands beside or under. Drop nothing: the phone reaches every region, one at a time.
35
+ Don't: Scroll the workspace sideways, hide the third region on a phone, or keep the selection in the page's state alone.
36
+ Check: At 390 pixels, open a row of the queue: the address changes, the record and the third region stand one under the other with no sideways scroll, and the back gesture returns to the queue.
37
+
38
+ ### WS-02 · A score that decides is taken apart
39
+
40
+ Level: SHOULD
41
+ Applies to: a score a person confirms or refuses — a match confidence, a risk rating the reader acts on
42
+ Rule: The score is shown as a table of its criteria, each with the points it earned or none of its points, ending in the summary row that adds back up to the score and says where a cap applies, and its band is one mark beside one sentence giving the thresholds.
43
+ Why: A number or a band alone asks the reader to trust the machine, and a confirmation given on trust is the one a person was asked to give.
44
+ Do: Map each criterion the backend reports to its points, draw the ones the candidate did not earn as "0 of N", sum them in the table's `summary` (RP-07), and state the bands once ("high from 85, medium from 60"). Say the difference between the two compared amounts beside the command that confirms.
45
+ Don't: Show the band twice at two weights (CP-06), or put the reasons in a tooltip.
46
+ Check: Read one score: its criteria rows add up to the summary row, the summary equals the score or names its cap, and the band is stated once with its thresholds.
package/docs/index.md CHANGED
@@ -139,3 +139,15 @@ Each family is documented in `./<family>.md`.
139
139
  - splitter: Resizable panes divided by a handle.
140
140
  - stack: Column of items with a gap.
141
141
  - visually-hidden: Hides content visually, keeps it for readers.
142
+
143
+ ## Tokens
144
+
145
+ What each theme token is for, with its default value: `./tokens.md`.
146
+
147
+ ## Guidelines
148
+
149
+ Rules for composing screens from these families: `./guidelines/index.md`. Read it before writing a screen.
150
+
151
+ ## Skills
152
+
153
+ Procedures for whole tasks, each with when it applies: `./skills/index.md`.
package/docs/list.json CHANGED
@@ -51,6 +51,7 @@
51
51
  "root",
52
52
  "section",
53
53
  "section-label",
54
+ "section-end",
54
55
  "section-list",
55
56
  "empty"
56
57
  ]
@@ -80,7 +81,13 @@
80
81
  "part": "section-label",
81
82
  "element": "h1 to h6, or a div",
82
83
  "required": false,
83
- "purpose": "The group name. It carries the id the nested list names itself by, and data-sticky when it has to hold still while its own rows scroll past."
84
+ "purpose": "The group name. It carries the id the nested list names itself by, data-sticky when it has to hold still while its own rows scroll past, and data-variant: caption, the small muted name, or ruled, the name in the text colour over a rule with no ground behind it."
85
+ },
86
+ {
87
+ "part": "section-end",
88
+ "element": "span",
89
+ "required": false,
90
+ "purpose": "What stands at the end of the heading, on the line of the name: a day balance, a count. Set in tabular figures. It is the element inside the heading marked slListSectionEnd."
84
91
  },
85
92
  {
86
93
  "part": "section-list",
@@ -152,6 +159,13 @@
152
159
  "appliesTo": "slListSectionLabel",
153
160
  "description": "Keeps a group name in place while its own rows scroll past it"
154
161
  },
162
+ {
163
+ "name": "variant",
164
+ "type": "'caption' | 'ruled'",
165
+ "defaultValue": "caption",
166
+ "appliesTo": "slListSectionLabel",
167
+ "description": "How the group heading is drawn: the small muted name, or the name over a rule with no ground; an element inside it marked slListSectionEnd stands at the end, in tabular figures"
168
+ },
155
169
  {
156
170
  "name": "id",
157
171
  "type": "string",
@@ -209,6 +223,7 @@
209
223
  "--slotted-control-padding-inline-md",
210
224
  "--slotted-control-padding-inline-sm",
211
225
  "--slotted-font-size-xs",
226
+ "--slotted-font-weight-medium",
212
227
  "--slotted-font-weight-semibold",
213
228
  "--slotted-line-height-sm",
214
229
  "--slotted-list-background",
@@ -232,6 +247,8 @@
232
247
  "--slotted-list-section-padding-block",
233
248
  "--slotted-list-section-padding-block-lg",
234
249
  "--slotted-list-section-padding-block-sm",
250
+ "--slotted-list-section-rule-color",
251
+ "--slotted-list-section-ruled-color",
235
252
  "--slotted-radius-md",
236
253
  "--slotted-space-2",
237
254
  "--slotted-space-3",
@@ -241,6 +258,7 @@
241
258
  "--slotted-space-8",
242
259
  "--slotted-space-9",
243
260
  "--slotted-surface",
261
+ "--slotted-text",
244
262
  "--slotted-text-muted",
245
263
  "--slotted-z-index-sticky"
246
264
  ],
package/docs/list.md CHANGED
@@ -33,6 +33,7 @@ Excerpt — not a complete module
33
33
  | `root` | ul or ol, or the element render returns | yes |
34
34
  | `section` | li | no |
35
35
  | `section-label` | h1 to h6, or a div | no |
36
+ | `section-end` | span | no |
36
37
  | `section-list` | ul or ol | no |
37
38
  | `empty` | li | no |
38
39
 
@@ -48,6 +49,7 @@ Excerpt — not a complete module
48
49
  | `loading` | `boolean` | false | slList | Writes aria-busy on the set. What stands in for the rows is slSkeleton, composed by the page |
49
50
  | `level` | `'none' \| '1' \| '2' \| '3' \| '4' \| '5' \| '6'` | 3 | the element | Not an input: slListSectionLabel goes on the heading the page wrote, at whatever level the document needs |
50
51
  | `sticky` | `boolean` | false | slListSectionLabel | Keeps a group name in place while its own rows scroll past it |
52
+ | `variant` | `'caption' \| 'ruled'` | caption | slListSectionLabel | How the group heading is drawn: the small muted name, or the name over a rule with no ground; an element inside it marked slListSectionEnd stands at the end, in tabular figures |
51
53
  | `id` | `string` | — | slListSectionLabel | The heading own id, which the nested list is named by. Generated when the page wrote none |
52
54
  | `exportAs` | `slList \| slListSection \| slListSectionLabel \| slListSectionList \| slListEmpty` | — | every directive | Reaches the instance from a template |
53
55
  | `aria-label / aria-labelledby` | `string` | — | slList | The set own name, written on the element. The family adds no label of its own |
@@ -75,7 +77,7 @@ Excerpt — not a complete module
75
77
 
76
78
  ## Tokens
77
79
 
78
- `--slotted-border-subtle`, `--slotted-border-width-thin`, `--slotted-control-padding-inline-lg`, `--slotted-control-padding-inline-md`, `--slotted-control-padding-inline-sm`, `--slotted-font-size-xs`, `--slotted-font-weight-semibold`, `--slotted-line-height-sm`, `--slotted-list-background`, `--slotted-list-border-color`, `--slotted-list-border-width`, `--slotted-list-empty-color`, `--slotted-list-empty-padding`, `--slotted-list-empty-padding-lg`, `--slotted-list-empty-padding-sm`, `--slotted-list-gap`, `--slotted-list-gap-lg`, `--slotted-list-gap-sm`, `--slotted-list-padding-inline`, `--slotted-list-padding-inline-lg`, `--slotted-list-padding-inline-sm`, `--slotted-list-radius`, `--slotted-list-section-color`, `--slotted-list-section-font-size`, `--slotted-list-section-font-weight`, `--slotted-list-section-letter-spacing`, `--slotted-list-section-padding-block`, `--slotted-list-section-padding-block-lg`, `--slotted-list-section-padding-block-sm`, `--slotted-radius-md`, `--slotted-space-2`, `--slotted-space-3`, `--slotted-space-4`, `--slotted-space-5`, `--slotted-space-6`, `--slotted-space-8`, `--slotted-space-9`, `--slotted-surface`, `--slotted-text-muted`, `--slotted-z-index-sticky`
80
+ `--slotted-border-subtle`, `--slotted-border-width-thin`, `--slotted-control-padding-inline-lg`, `--slotted-control-padding-inline-md`, `--slotted-control-padding-inline-sm`, `--slotted-font-size-xs`, `--slotted-font-weight-medium`, `--slotted-font-weight-semibold`, `--slotted-line-height-sm`, `--slotted-list-background`, `--slotted-list-border-color`, `--slotted-list-border-width`, `--slotted-list-empty-color`, `--slotted-list-empty-padding`, `--slotted-list-empty-padding-lg`, `--slotted-list-empty-padding-sm`, `--slotted-list-gap`, `--slotted-list-gap-lg`, `--slotted-list-gap-sm`, `--slotted-list-padding-inline`, `--slotted-list-padding-inline-lg`, `--slotted-list-padding-inline-sm`, `--slotted-list-radius`, `--slotted-list-section-color`, `--slotted-list-section-font-size`, `--slotted-list-section-font-weight`, `--slotted-list-section-letter-spacing`, `--slotted-list-section-padding-block`, `--slotted-list-section-padding-block-lg`, `--slotted-list-section-padding-block-sm`, `--slotted-list-section-rule-color`, `--slotted-list-section-ruled-color`, `--slotted-radius-md`, `--slotted-space-2`, `--slotted-space-3`, `--slotted-space-4`, `--slotted-space-5`, `--slotted-space-6`, `--slotted-space-8`, `--slotted-space-9`, `--slotted-surface`, `--slotted-text`, `--slotted-text-muted`, `--slotted-z-index-sticky`
79
81
 
80
82
  ## Examples
81
83
 
package/docs/popover.json CHANGED
@@ -146,7 +146,7 @@
146
146
  "part": "content",
147
147
  "element": "the element carrying slPopoverContent",
148
148
  "required": true,
149
- "purpose": "The panel, with role=\"dialog\" and tabindex=\"-1\". It is named by its title and described by its description when those parts are present. aria-modal is never written, because the popover is not modal."
149
+ "purpose": "The panel, with role=\"dialog\" and tabindex=\"-1\". It is named by its title and described by its description when those parts are present. aria-modal is never written, because the popover is not modal. It draws no padding: slPopoverHeader, slPopoverBody and slPopoverFooter carry the panel inset, set by --slotted-popover-padding-inline and --slotted-popover-padding-block."
150
150
  },
151
151
  {
152
152
  "part": "header",
@@ -339,7 +339,6 @@
339
339
  "--slotted-progress-indicator-wave-phase",
340
340
  "--slotted-radius-full",
341
341
  "--slotted-radius-none",
342
- "--slotted-space-1",
343
342
  "--slotted-space-2",
344
343
  "--slotted-space-3",
345
344
  "--slotted-space-4",
@@ -428,7 +427,7 @@
428
427
  {
429
428
  "id": "waveSizes",
430
429
  "title": "The wave is measured in thicknesses",
431
- "note": "One wavelength is ten thicknesses and a crest is three quarters of one at every size, so the small bar’s wave is twenty pixels long and the large bar’s eighty. Every ring carries eight crests, because the wave is wound on the viewBox and the viewBox scales.",
430
+ "note": "One wavelength is ten thicknesses and a crest is three quarters of one at every size, so the small bar’s wave is forty pixels long and the large bar’s eighty. Every ring carries eight crests, because the wave is wound on the viewBox and the viewBox scales.",
432
431
  "language": "html",
433
432
  "source": "<div slProgressBar label=\"Small\" size=\"sm\" wave [value]=\"55\"></div>\n<div slProgressBar label=\"Large\" size=\"lg\" wave [value]=\"55\"></div>\n<div slProgressCircle label=\"Saving\" size=\"lg\" wave [value]=\"55\"></div>\n",
434
433
  "verdict": "excerpt"
@@ -85,7 +85,7 @@ Excerpt — not a complete module
85
85
 
86
86
  ## Tokens
87
87
 
88
- `--slotted-border-strong`, `--slotted-border-width-thin`, `--slotted-control-font-family`, `--slotted-control-font-size-lg`, `--slotted-control-font-size-md`, `--slotted-control-font-size-sm`, `--slotted-control-height-lg`, `--slotted-control-height-md`, `--slotted-control-height-sm`, `--slotted-duration-long`, `--slotted-duration-loop`, `--slotted-duration-loop-slow`, `--slotted-duration-medium`, `--slotted-duration-short`, `--slotted-easing-emphasized`, `--slotted-easing-enter`, `--slotted-easing-exit`, `--slotted-easing-standard`, `--slotted-line-height-md`, `--slotted-progress-indicator-buffer-color`, `--slotted-progress-indicator-buffer-percent`, `--slotted-progress-indicator-gap`, `--slotted-progress-indicator-indicator-color`, `--slotted-progress-indicator-percent`, `--slotted-progress-indicator-position`, `--slotted-progress-indicator-radius`, `--slotted-progress-indicator-size`, `--slotted-progress-indicator-stroke`, `--slotted-progress-indicator-thickness`, `--slotted-progress-indicator-track-color`, `--slotted-progress-indicator-travel-size`, `--slotted-progress-indicator-travel-start`, `--slotted-progress-indicator-wave-amplitude`, `--slotted-progress-indicator-wave-phase`, `--slotted-radius-full`, `--slotted-radius-none`, `--slotted-space-1`, `--slotted-space-2`, `--slotted-space-3`, `--slotted-space-4`, `--slotted-surface`, `--slotted-text`, `--slotted-text-muted`, `--slotted-tone-accent-text`, `--slotted-tone-danger-text`, `--slotted-tone-success-text`, `--slotted-tone-warning-text`, `--slotted-z-index-sticky`
88
+ `--slotted-border-strong`, `--slotted-border-width-thin`, `--slotted-control-font-family`, `--slotted-control-font-size-lg`, `--slotted-control-font-size-md`, `--slotted-control-font-size-sm`, `--slotted-control-height-lg`, `--slotted-control-height-md`, `--slotted-control-height-sm`, `--slotted-duration-long`, `--slotted-duration-loop`, `--slotted-duration-loop-slow`, `--slotted-duration-medium`, `--slotted-duration-short`, `--slotted-easing-emphasized`, `--slotted-easing-enter`, `--slotted-easing-exit`, `--slotted-easing-standard`, `--slotted-line-height-md`, `--slotted-progress-indicator-buffer-color`, `--slotted-progress-indicator-buffer-percent`, `--slotted-progress-indicator-gap`, `--slotted-progress-indicator-indicator-color`, `--slotted-progress-indicator-percent`, `--slotted-progress-indicator-position`, `--slotted-progress-indicator-radius`, `--slotted-progress-indicator-size`, `--slotted-progress-indicator-stroke`, `--slotted-progress-indicator-thickness`, `--slotted-progress-indicator-track-color`, `--slotted-progress-indicator-travel-size`, `--slotted-progress-indicator-travel-start`, `--slotted-progress-indicator-wave-amplitude`, `--slotted-progress-indicator-wave-phase`, `--slotted-radius-full`, `--slotted-radius-none`, `--slotted-space-2`, `--slotted-space-3`, `--slotted-space-4`, `--slotted-surface`, `--slotted-text`, `--slotted-text-muted`, `--slotted-tone-accent-text`, `--slotted-tone-danger-text`, `--slotted-tone-success-text`, `--slotted-tone-warning-text`, `--slotted-z-index-sticky`
89
89
 
90
90
  ## Examples
91
91
 
@@ -195,7 +195,7 @@ Excerpt — not a complete module
195
195
 
196
196
  ### The wave is measured in thicknesses
197
197
 
198
- One wavelength is ten thicknesses and a crest is three quarters of one at every size, so the small bar’s wave is twenty pixels long and the large bar’s eighty. Every ring carries eight crests, because the wave is wound on the viewBox and the viewBox scales.
198
+ One wavelength is ten thicknesses and a crest is three quarters of one at every size, so the small bar’s wave is forty pixels long and the large bar’s eighty. Every ring carries eight crests, because the wave is wound on the viewBox and the viewBox scales.
199
199
 
200
200
  Excerpt — not a complete module
201
201
 
@@ -19,6 +19,10 @@
19
19
  "condense": [
20
20
  "none",
21
21
  "icons"
22
+ ],
23
+ "variant": [
24
+ "track",
25
+ "underline"
22
26
  ]
23
27
  },
24
28
  "members": {
@@ -29,7 +33,8 @@
29
33
  "orientation": "horizontal",
30
34
  "condense": "none",
31
35
  "fullWidth": false,
32
- "disabled": false
36
+ "disabled": false,
37
+ "variant": "track"
33
38
  },
34
39
  "capabilities": [
35
40
  "selection",
@@ -145,6 +150,13 @@
145
150
  "appliesTo": "slSegmentedControl",
146
151
  "description": "How the segments flow and which way the thumb travels. A horizontal set writes aria-orientation, because radiogroup already implies vertical"
147
152
  },
153
+ {
154
+ "name": "variant",
155
+ "type": "'track' | 'underline'",
156
+ "defaultValue": "track",
157
+ "appliesTo": "slSegmentedControl",
158
+ "description": "How the choice is drawn: a track with a thumb, or the words alone with the chosen one underlined"
159
+ },
148
160
  {
149
161
  "name": "condense",
150
162
  "type": "'none' | 'icons'",
@@ -263,6 +275,7 @@
263
275
  },
264
276
  "tokens": [
265
277
  "--slotted-border-subtle",
278
+ "--slotted-border-width-thick",
266
279
  "--slotted-control-border-color",
267
280
  "--slotted-control-border-width",
268
281
  "--slotted-control-font-family",
@@ -298,7 +311,9 @@
298
311
  "--slotted-easing-standard",
299
312
  "--slotted-focus-ring-color",
300
313
  "--slotted-focus-ring-color-invalid",
314
+ "--slotted-focus-ring-offset",
301
315
  "--slotted-focus-ring-width",
316
+ "--slotted-font-weight-medium",
302
317
  "--slotted-radius-xs",
303
318
  "--slotted-segmented-control-active-background",
304
319
  "--slotted-segmented-control-background",
@@ -318,9 +333,14 @@
318
333
  "--slotted-segmented-control-invalid-focus-ring-color",
319
334
  "--slotted-segmented-control-radius",
320
335
  "--slotted-segmented-control-shadow",
336
+ "--slotted-segmented-control-underline-checked-color",
337
+ "--slotted-segmented-control-underline-color",
338
+ "--slotted-segmented-control-underline-gap",
321
339
  "--slotted-space-1",
340
+ "--slotted-space-6",
322
341
  "--slotted-target-min",
323
342
  "--slotted-text",
343
+ "--slotted-text-muted",
324
344
  "--slotted-tone-accent-border",
325
345
  "--slotted-tone-accent-subtle-active",
326
346
  "--slotted-tone-accent-text",
@@ -369,6 +389,14 @@
369
389
  "source": "<div slSegmentedControl aria-label=\"Alinhamento\" defaultValue=\"center\">\n <label slSegment value=\"start\" aria-label=\"Início\">\n <ng-icon slSegmentIcon name=\"lucideAlignLeft\" />\n </label>\n</div>\n",
370
390
  "verdict": "excerpt"
371
391
  },
392
+ {
393
+ "id": "variants",
394
+ "title": "A track, or the words alone",
395
+ "note": "underline draws the same radio group as words: each as wide as itself, the chosen one in the text colour and underlined, the others muted. One tab stop, the arrows move the value, and inside a field the label names the set.",
396
+ "language": "html",
397
+ "source": "<div slSegmentedControl aria-label=\"Período\" defaultValue=\"month\" variant=\"underline\">\n <label slSegment value=\"day\">Dia</label>\n <label slSegment value=\"week\">Semana</label>\n <label slSegment value=\"month\">Mês</label>\n</div>\n",
398
+ "verdict": "excerpt"
399
+ },
372
400
  {
373
401
  "id": "condense",
374
402
  "title": "Narrower than its words",
@@ -48,6 +48,7 @@ Excerpt — not a complete module
48
48
  | `name` | `string` | — | slSegmentedControl | The submission name the segments share, and the reason the platform treats them as one radio group. Generated when none is written, from an application-scoped factory so the server and the client agree |
49
49
  | `size` | `'sm' \| 'md' \| 'lg'` | md | slSegmentedControl | The control step. The track measures its segments back from it, so the whole control is exactly as tall as the field beside it |
50
50
  | `orientation` | `'horizontal' \| 'vertical'` | horizontal | slSegmentedControl | How the segments flow and which way the thumb travels. A horizontal set writes aria-orientation, because radiogroup already implies vertical |
51
+ | `variant` | `'track' \| 'underline'` | track | slSegmentedControl | How the choice is drawn: a track with a thumb, or the words alone with the chosen one underlined |
51
52
  | `condense` | `'none' \| 'icons'` | none | slSegmentedControl | What the control does when it is narrower than its labels need. icons keeps the marks and hides the words, and makes the control take its parent’s width so there is a width to ask a question about |
52
53
  | `fullWidth` | `boolean` | false | slSegmentedControl | Whether the equal columns spread across the whole line. Left alone every column is the widest label’s |
53
54
  | `disabled` | `boolean` | false | slSegmentedControl | Unstated rather than false, so the control defers to the field around it and to a form that disables it. Stated, it reaches every radio as the native attribute |
@@ -76,6 +77,7 @@ Excerpt — not a complete module
76
77
  | `size` | `sm`, `md`, `lg` | `md` |
77
78
  | `orientation` | `horizontal`, `vertical` | `horizontal` |
78
79
  | `condense` | `none`, `icons` | `none` |
80
+ | `variant` | `track`, `underline` | `track` |
79
81
 
80
82
  ## Rules
81
83
 
@@ -88,7 +90,7 @@ Excerpt — not a complete module
88
90
 
89
91
  ## Tokens
90
92
 
91
- `--slotted-border-subtle`, `--slotted-control-border-color`, `--slotted-control-border-width`, `--slotted-control-font-family`, `--slotted-control-font-size-lg`, `--slotted-control-font-size-md`, `--slotted-control-font-size-sm`, `--slotted-control-font-weight`, `--slotted-control-gap-lg`, `--slotted-control-gap-md`, `--slotted-control-gap-sm`, `--slotted-control-height-lg`, `--slotted-control-height-md`, `--slotted-control-height-sm`, `--slotted-control-icon-size-lg`, `--slotted-control-icon-size-md`, `--slotted-control-icon-size-sm`, `--slotted-control-invalid-edge-width`, `--slotted-control-letter-spacing`, `--slotted-control-line-height`, `--slotted-control-padding-inline-lg`, `--slotted-control-padding-inline-md`, `--slotted-control-padding-inline-sm`, `--slotted-control-radius`, `--slotted-control-shadow`, `--slotted-control-surface`, `--slotted-control-transition-duration`, `--slotted-control-transition-easing`, `--slotted-disabled-background`, `--slotted-disabled-border`, `--slotted-disabled-foreground`, `--slotted-duration-instant`, `--slotted-duration-medium`, `--slotted-easing-standard`, `--slotted-focus-ring-color`, `--slotted-focus-ring-color-invalid`, `--slotted-focus-ring-width`, `--slotted-radius-xs`, `--slotted-segmented-control-active-background`, `--slotted-segmented-control-background`, `--slotted-segmented-control-border-color`, `--slotted-segmented-control-checked-color`, `--slotted-segmented-control-color`, `--slotted-segmented-control-disabled-border-color`, `--slotted-segmented-control-disabled-color`, `--slotted-segmented-control-disabled-indicator-background`, `--slotted-segmented-control-divider-color`, `--slotted-segmented-control-hover-background`, `--slotted-segmented-control-indicator-background`, `--slotted-segmented-control-indicator-border-color`, `--slotted-segmented-control-inset`, `--slotted-segmented-control-invalid-border-color`, `--slotted-segmented-control-invalid-edge-width`, `--slotted-segmented-control-invalid-focus-ring-color`, `--slotted-segmented-control-radius`, `--slotted-segmented-control-shadow`, `--slotted-space-1`, `--slotted-target-min`, `--slotted-text`, `--slotted-tone-accent-border`, `--slotted-tone-accent-subtle-active`, `--slotted-tone-accent-text`, `--slotted-tone-danger-border`, `--slotted-tone-secondary-subtle-active`, `--slotted-tone-secondary-subtle-hover`
93
+ `--slotted-border-subtle`, `--slotted-border-width-thick`, `--slotted-control-border-color`, `--slotted-control-border-width`, `--slotted-control-font-family`, `--slotted-control-font-size-lg`, `--slotted-control-font-size-md`, `--slotted-control-font-size-sm`, `--slotted-control-font-weight`, `--slotted-control-gap-lg`, `--slotted-control-gap-md`, `--slotted-control-gap-sm`, `--slotted-control-height-lg`, `--slotted-control-height-md`, `--slotted-control-height-sm`, `--slotted-control-icon-size-lg`, `--slotted-control-icon-size-md`, `--slotted-control-icon-size-sm`, `--slotted-control-invalid-edge-width`, `--slotted-control-letter-spacing`, `--slotted-control-line-height`, `--slotted-control-padding-inline-lg`, `--slotted-control-padding-inline-md`, `--slotted-control-padding-inline-sm`, `--slotted-control-radius`, `--slotted-control-shadow`, `--slotted-control-surface`, `--slotted-control-transition-duration`, `--slotted-control-transition-easing`, `--slotted-disabled-background`, `--slotted-disabled-border`, `--slotted-disabled-foreground`, `--slotted-duration-instant`, `--slotted-duration-medium`, `--slotted-easing-standard`, `--slotted-focus-ring-color`, `--slotted-focus-ring-color-invalid`, `--slotted-focus-ring-offset`, `--slotted-focus-ring-width`, `--slotted-font-weight-medium`, `--slotted-radius-xs`, `--slotted-segmented-control-active-background`, `--slotted-segmented-control-background`, `--slotted-segmented-control-border-color`, `--slotted-segmented-control-checked-color`, `--slotted-segmented-control-color`, `--slotted-segmented-control-disabled-border-color`, `--slotted-segmented-control-disabled-color`, `--slotted-segmented-control-disabled-indicator-background`, `--slotted-segmented-control-divider-color`, `--slotted-segmented-control-hover-background`, `--slotted-segmented-control-indicator-background`, `--slotted-segmented-control-indicator-border-color`, `--slotted-segmented-control-inset`, `--slotted-segmented-control-invalid-border-color`, `--slotted-segmented-control-invalid-edge-width`, `--slotted-segmented-control-invalid-focus-ring-color`, `--slotted-segmented-control-radius`, `--slotted-segmented-control-shadow`, `--slotted-segmented-control-underline-checked-color`, `--slotted-segmented-control-underline-color`, `--slotted-segmented-control-underline-gap`, `--slotted-space-1`, `--slotted-space-6`, `--slotted-target-min`, `--slotted-text`, `--slotted-text-muted`, `--slotted-tone-accent-border`, `--slotted-tone-accent-subtle-active`, `--slotted-tone-accent-text`, `--slotted-tone-danger-border`, `--slotted-tone-secondary-subtle-active`, `--slotted-tone-secondary-subtle-hover`
92
94
 
93
95
  ## Examples
94
96
 
@@ -145,6 +147,20 @@ Excerpt — not a complete module
145
147
  </div>
146
148
  ```
147
149
 
150
+ ### A track, or the words alone
151
+
152
+ underline draws the same radio group as words: each as wide as itself, the chosen one in the text colour and underlined, the others muted. One tab stop, the arrows move the value, and inside a field the label names the set.
153
+
154
+ Excerpt — not a complete module
155
+
156
+ ```html
157
+ <div slSegmentedControl aria-label="Período" defaultValue="month" variant="underline">
158
+ <label slSegment value="day">Dia</label>
159
+ <label slSegment value="week">Semana</label>
160
+ <label slSegment value="month">Mês</label>
161
+ </div>
162
+ ```
163
+
148
164
  ### Narrower than its words
149
165
 
150
166
  Below the width its labels need, a control told to condense keeps its marks and hides its words — hidden, never removed, so every segment is announced the same at every width.