@slotted/angular 0.1.0-beta.35 → 0.1.0-beta.37

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 (122) hide show
  1. package/docs/button.json +10 -7
  2. package/docs/button.md +2 -91
  3. package/docs/button.props.md +97 -0
  4. package/docs/calendar.json +22 -0
  5. package/docs/calendar.md +4 -1
  6. package/docs/chart.json +1 -1
  7. package/docs/chart.md +1 -1
  8. package/docs/collapsible.json +2 -1
  9. package/docs/collapsible.md +1 -1
  10. package/docs/command-palette.json +2 -1
  11. package/docs/command-palette.md +1 -1
  12. package/docs/dashboard-grid.json +2 -1
  13. package/docs/dashboard-grid.md +1 -1
  14. package/docs/entity-picker.json +2 -1
  15. package/docs/entity-picker.md +1 -1
  16. package/docs/field-group.json +1 -1
  17. package/docs/field-group.md +1 -1
  18. package/docs/floating-panel.json +22 -4
  19. package/docs/floating-panel.md +6 -4
  20. package/docs/guidelines/index.md +2 -0
  21. package/docs/guidelines/own-elements.md +20 -0
  22. package/docs/index.md +1 -1
  23. package/docs/list.json +2 -1
  24. package/docs/list.md +2 -2
  25. package/docs/message.json +7 -0
  26. package/docs/message.md +1 -0
  27. package/docs/page.json +8 -1
  28. package/docs/page.md +2 -1
  29. package/docs/progress-indicator.json +1 -39
  30. package/docs/progress-indicator.md +1 -6
  31. package/docs/radio-group.json +1 -18
  32. package/docs/radio-group.md +1 -3
  33. package/docs/section.json +10 -2
  34. package/docs/section.md +2 -1
  35. package/docs/skills/build-own-element/SKILL.md +42 -2
  36. package/docs/skills/theme-app/SKILL.md +1 -1
  37. package/docs/sparkline.json +1 -416
  38. package/docs/sparkline.md +2 -186
  39. package/docs/table.json +15 -3
  40. package/docs/table.md +4 -3
  41. package/docs/tokens.md +12 -0
  42. package/fesm2022/slotted-angular-app-shell.mjs +2 -2
  43. package/fesm2022/slotted-angular-app-shell.mjs.map +1 -1
  44. package/fesm2022/slotted-angular-button.mjs +50 -41
  45. package/fesm2022/slotted-angular-button.mjs.map +1 -1
  46. package/fesm2022/slotted-angular-calendar.mjs +249 -137
  47. package/fesm2022/slotted-angular-calendar.mjs.map +1 -1
  48. package/fesm2022/slotted-angular-chart.mjs +11 -5
  49. package/fesm2022/slotted-angular-chart.mjs.map +1 -1
  50. package/fesm2022/slotted-angular-collapsible.mjs +10 -6
  51. package/fesm2022/slotted-angular-collapsible.mjs.map +1 -1
  52. package/fesm2022/slotted-angular-command-palette.mjs +2 -2
  53. package/fesm2022/slotted-angular-command-palette.mjs.map +1 -1
  54. package/fesm2022/slotted-angular-dashboard-grid.mjs +2 -2
  55. package/fesm2022/slotted-angular-dashboard-grid.mjs.map +1 -1
  56. package/fesm2022/slotted-angular-data-list.mjs +2 -2
  57. package/fesm2022/slotted-angular-data-list.mjs.map +1 -1
  58. package/fesm2022/slotted-angular-date-picker.mjs +1 -1
  59. package/fesm2022/slotted-angular-date-picker.mjs.map +1 -1
  60. package/fesm2022/slotted-angular-date-range-picker.mjs +1 -1
  61. package/fesm2022/slotted-angular-date-range-picker.mjs.map +1 -1
  62. package/fesm2022/slotted-angular-datetime-picker.mjs +1 -1
  63. package/fesm2022/slotted-angular-datetime-picker.mjs.map +1 -1
  64. package/fesm2022/slotted-angular-datetime-range-picker.mjs +1 -1
  65. package/fesm2022/slotted-angular-datetime-range-picker.mjs.map +1 -1
  66. package/fesm2022/slotted-angular-entity-picker.mjs +2 -2
  67. package/fesm2022/slotted-angular-entity-picker.mjs.map +1 -1
  68. package/fesm2022/slotted-angular-field-group.mjs +2 -2
  69. package/fesm2022/slotted-angular-field-group.mjs.map +1 -1
  70. package/fesm2022/slotted-angular-floating-panel.mjs +33 -30
  71. package/fesm2022/slotted-angular-floating-panel.mjs.map +1 -1
  72. package/fesm2022/slotted-angular-list-item.mjs +2 -2
  73. package/fesm2022/slotted-angular-list-item.mjs.map +1 -1
  74. package/fesm2022/slotted-angular-list.mjs +3 -3
  75. package/fesm2022/slotted-angular-list.mjs.map +1 -1
  76. package/fesm2022/slotted-angular-loading-overlay.mjs +2 -2
  77. package/fesm2022/slotted-angular-loading-overlay.mjs.map +1 -1
  78. package/fesm2022/slotted-angular-message.mjs +18 -8
  79. package/fesm2022/slotted-angular-message.mjs.map +1 -1
  80. package/fesm2022/slotted-angular-page.mjs +8 -4
  81. package/fesm2022/slotted-angular-page.mjs.map +1 -1
  82. package/fesm2022/slotted-angular-progress-indicator.mjs +7 -106
  83. package/fesm2022/slotted-angular-progress-indicator.mjs.map +1 -1
  84. package/fesm2022/slotted-angular-radio-group.mjs +12 -45
  85. package/fesm2022/slotted-angular-radio-group.mjs.map +1 -1
  86. package/fesm2022/slotted-angular-section.mjs +20 -3
  87. package/fesm2022/slotted-angular-section.mjs.map +1 -1
  88. package/fesm2022/slotted-angular-sparkline.mjs +4 -295
  89. package/fesm2022/slotted-angular-sparkline.mjs.map +1 -1
  90. package/fesm2022/slotted-angular-split-button.mjs +4 -4
  91. package/fesm2022/slotted-angular-split-button.mjs.map +1 -1
  92. package/fesm2022/slotted-angular-table.mjs +39 -10
  93. package/fesm2022/slotted-angular-table.mjs.map +1 -1
  94. package/fesm2022/slotted-angular-tooltip.mjs +2 -2
  95. package/fesm2022/slotted-angular-tooltip.mjs.map +1 -1
  96. package/fesm2022/slotted-angular-upload.mjs +2 -2
  97. package/fesm2022/slotted-angular-upload.mjs.map +1 -1
  98. package/package.json +3 -3
  99. package/types/slotted-angular-button.d.ts +22 -11
  100. package/types/slotted-angular-button.d.ts.map +1 -1
  101. package/types/slotted-angular-calendar.d.ts +26 -2
  102. package/types/slotted-angular-calendar.d.ts.map +1 -1
  103. package/types/slotted-angular-chart.d.ts.map +1 -1
  104. package/types/slotted-angular-collapsible.d.ts +4 -1
  105. package/types/slotted-angular-collapsible.d.ts.map +1 -1
  106. package/types/slotted-angular-floating-panel.d.ts +27 -22
  107. package/types/slotted-angular-floating-panel.d.ts.map +1 -1
  108. package/types/slotted-angular-list.d.ts +6 -4
  109. package/types/slotted-angular-list.d.ts.map +1 -1
  110. package/types/slotted-angular-message.d.ts +9 -3
  111. package/types/slotted-angular-message.d.ts.map +1 -1
  112. package/types/slotted-angular-page.d.ts.map +1 -1
  113. package/types/slotted-angular-progress-indicator.d.ts +2 -46
  114. package/types/slotted-angular-progress-indicator.d.ts.map +1 -1
  115. package/types/slotted-angular-radio-group.d.ts +4 -22
  116. package/types/slotted-angular-radio-group.d.ts.map +1 -1
  117. package/types/slotted-angular-section.d.ts +10 -1
  118. package/types/slotted-angular-section.d.ts.map +1 -1
  119. package/types/slotted-angular-sparkline.d.ts +4 -86
  120. package/types/slotted-angular-sparkline.d.ts.map +1 -1
  121. package/types/slotted-angular-table.d.ts +21 -7
  122. package/types/slotted-angular-table.d.ts.map +1 -1
package/docs/sparkline.md CHANGED
@@ -1,7 +1,7 @@
1
1
  <!-- index: ./index.md -->
2
2
  # sparkline
3
3
 
4
- `data-ui="sparkline"` · Word-sized graphics: a trend, a position, a comparison.
4
+ `data-ui="sparkline"` · Word-sized graphics: a trend in a line or bars.
5
5
 
6
6
  ## Import
7
7
 
@@ -11,18 +11,6 @@ import { SlSparkline, provideSparklineDefaults } from '@slotted/angular/sparklin
11
11
 
12
12
  Selector: `[slSparkline]` · exportAs: `slSparkline`
13
13
 
14
- ```ts
15
- import { SlPositionStrip } from '@slotted/angular/sparkline';
16
- ```
17
-
18
- Selector: `[slPositionStrip]` · exportAs: `slPositionStrip`
19
-
20
- ```ts
21
- import { SlBarCompare } from '@slotted/angular/sparkline';
22
- ```
23
-
24
- Selector: `[slBarCompare]` · exportAs: `slBarCompare`
25
-
26
14
  ## Minimal example
27
15
 
28
16
  Excerpt — not a complete module
@@ -33,8 +21,6 @@ Excerpt — not a complete module
33
21
 
34
22
  ## Anatomy
35
23
 
36
- ### sparkline
37
-
38
24
  | Part | Element | Required |
39
25
  | --- | --- | --- |
40
26
  | `root` | span | yes |
@@ -46,37 +32,8 @@ Excerpt — not a complete module
46
32
  | `ring` | path | no |
47
33
  | `marker` | path | no |
48
34
 
49
- ### positionStrip
50
-
51
- | Part | Element | Required |
52
- | --- | --- | --- |
53
- | `root` | span | yes |
54
- | `track` | span | yes |
55
- | `band` | span | no |
56
- | `dot` | span | no |
57
- | `value` | span | no |
58
- | `reference` | span | no |
59
- | `zero` | span | no |
60
- | `start` | span | yes |
61
- | `end` | span | yes |
62
-
63
- ### barCompare
64
-
65
- | Part | Element | Required |
66
- | --- | --- | --- |
67
- | `root` | span | yes |
68
- | `row` | span | yes |
69
- | `label` | span | yes |
70
- | `track` | span | yes |
71
- | `bar` | span | yes |
72
- | `value` | span | yes |
73
- | `zero` | span | no |
74
- | `tick` | span | no |
75
-
76
35
  ## Props
77
36
 
78
- ### sparkline
79
-
80
37
  | Name | Type | Default | Applies to | Description |
81
38
  | --- | --- | --- | --- | --- |
82
39
  | `data` | `(number \| null)[]` | — | Sparkline | The series, oldest first. null is a gap: the line breaks, the bar is not drawn, the summary ignores it |
@@ -102,38 +59,6 @@ Excerpt — not a complete module
102
59
  | `--slotted-sparkline-color` | `custom property` | — | a container | What a sparkline with no tone and no series is drawn in. stat-card writes it on its trend from the delta’s tone |
103
60
  | `provideSparklineDefaults` | `SparklineDefaults` | — | Application | Sets curve, area, marker and formatOptions once, in a route or the application config; an input still wins |
104
61
 
105
- ### positionStrip
106
-
107
- | Name | Type | Default | Applies to | Description |
108
- | --- | --- | --- | --- | --- |
109
- | `value` | `number \| null` | — | slPositionStrip | The current value |
110
- | `values` | `(number \| null)[]` | — | slPositionStrip | The periods, oldest first; null is a gap |
111
- | `reference` | `number` | — | slPositionStrip | A dashed tick, which widens the extent |
112
- | `min` | `number` | — | slPositionStrip | Widens the extent, for rows that line up |
113
- | `max` | `number` | — | slPositionStrip | Widens the extent, for rows that line up |
114
- | `hideValue` | `boolean` | false | slPositionStrip | Leaves the value dot out, and says so |
115
- | `size` | `'sm' \| 'md' \| 'lg'` | md | slPositionStrip | The height of the track |
116
- | `label` | `string` | — | slPositionStrip | What the strip is, said first in the name |
117
- | `formatOptions` | `Intl.NumberFormatOptions` | — | slPositionStrip | How a number is written, on the page and in the name |
118
- | `valueFormatter` | `(value: number) => string` | — | slPositionStrip | Writes a number instead |
119
- | `locale` | `string` | — | slPositionStrip | The locale; the language in force when absent |
120
- | `description` | `string` | — | slPositionStrip | The whole accessible name |
121
- | `tone` | `'neutral' \| 'accent' \| 'secondary' \| 'info' \| 'success' \| 'warning' \| 'danger'` | — | slPositionStrip | How the value is doing |
122
-
123
- ### barCompare
124
-
125
- | Name | Type | Default | Applies to | Description |
126
- | --- | --- | --- | --- | --- |
127
- | `data` | `{ label: string; value: number; texture?: boolean }[]` | — | slBarCompare | One row per value |
128
- | `min` | `number` | — | slBarCompare | The low end of the domain; zero and the data widen it |
129
- | `max` | `number` | — | slBarCompare | The high end of the domain; zero and the data widen it |
130
- | `step` | `number` | — | slBarCompare | The distance between two ticks |
131
- | `formatOptions` | `Intl.NumberFormatOptions` | — | slBarCompare | How a number is written, on the page and in the name |
132
- | `valueFormatter` | `(value: number) => string` | — | slBarCompare | Writes a number instead |
133
- | `locale` | `string` | — | slBarCompare | The locale; the language in force when absent |
134
- | `description` | `string` | — | slBarCompare | The whole accessible name |
135
- | `tone` | `'neutral' \| 'accent' \| 'secondary' \| 'info' \| 'success' \| 'warning' \| 'danger'` | — | slBarCompare | How the value is doing |
136
-
137
62
  ## Axes and defaults
138
63
 
139
64
  | Axis | Values | Default |
@@ -152,16 +77,10 @@ Excerpt — not a complete module
152
77
  - Color never carries the reading alone: the direction is in the description, the current bar is the last one by position as well as by color, and a tone is a second encoding on top of the shape.
153
78
  - Under forced colors the data scale and the tones map to CanvasText, the wash is withdrawn, earlier bars take GrayText and the current one CanvasText, so a series still reads as one.
154
79
  - The eight slots of the data scale were chosen by measurement: adjacent slots separate by at least ΔE 16.8 under simulated protanopia and deuteranopia in every scheme, and every slot clears 3:1 against every surface.
155
- - The root carries role="img" and a name built from the value, the smallest and largest period and the reference, because those are the numbers the strip exists to compare.
156
- - Every mark is hidden from the tree by being inside the image: nothing is focusable and nothing answers a key, as for a sparkline.
157
- - The value is told apart by size and a ring as well as by color, and the reference by its dash; under forced colors the dots and the band take GrayText and the value CanvasText.
158
- - The root carries role="img" named by every row’s label and value, in order: the comparison is read as the list of numbers it draws.
159
- - A negative value is written with its sign and drawn left of the zero line; the sign never depends on the color.
160
- - texture tells a reference from the subject without color, and forced colors draw it as CanvasText stripes over Canvas.
161
80
 
162
81
  ## Tokens
163
82
 
164
- `--slotted-border-strong`, `--slotted-border-width-medium`, `--slotted-border-width-thick`, `--slotted-border-width-thin`, `--slotted-data-1`, `--slotted-data-2`, `--slotted-data-3`, `--slotted-data-4`, `--slotted-data-5`, `--slotted-data-6`, `--slotted-data-7`, `--slotted-data-8`, `--slotted-duration-medium`, `--slotted-duration-short`, `--slotted-easing-standard`, `--slotted-font-size-xs`, `--slotted-line-height-sm`, `--slotted-radius-full`, `--slotted-space-11`, `--slotted-space-2`, `--slotted-space-3`, `--slotted-space-4`, `--slotted-space-5`, `--slotted-space-7`, `--slotted-space-9`, `--slotted-sparkline-area-opacity`, `--slotted-sparkline-bar-share`, `--slotted-sparkline-bar-thickness`, `--slotted-sparkline-block-size`, `--slotted-sparkline-block-size-lg`, `--slotted-sparkline-block-size-sm`, `--slotted-sparkline-color`, `--slotted-sparkline-end-size`, `--slotted-sparkline-label-size`, `--slotted-sparkline-line-width`, `--slotted-sparkline-line-width-sm`, `--slotted-sparkline-marker-size`, `--slotted-sparkline-marker-size-lg`, `--slotted-sparkline-marker-size-sm`, `--slotted-sparkline-min-inline-size`, `--slotted-sparkline-reference-color`, `--slotted-sparkline-ring-color`, `--slotted-sparkline-ring-width`, `--slotted-sparkline-ring-width-sm`, `--slotted-sparkline-value-size`, `--slotted-surface`, `--slotted-surface-raised`, `--slotted-text`, `--slotted-text-muted`, `--slotted-tone-accent-text`, `--slotted-tone-danger-text`, `--slotted-tone-info-text`, `--slotted-tone-secondary-text`, `--slotted-tone-success-text`, `--slotted-tone-warning-text`
83
+ `--slotted-border-strong`, `--slotted-border-width-medium`, `--slotted-border-width-thick`, `--slotted-border-width-thin`, `--slotted-data-1`, `--slotted-data-2`, `--slotted-data-3`, `--slotted-data-4`, `--slotted-data-5`, `--slotted-data-6`, `--slotted-data-7`, `--slotted-data-8`, `--slotted-duration-medium`, `--slotted-duration-short`, `--slotted-easing-standard`, `--slotted-space-11`, `--slotted-space-2`, `--slotted-space-3`, `--slotted-space-4`, `--slotted-space-7`, `--slotted-space-9`, `--slotted-sparkline-area-opacity`, `--slotted-sparkline-bar-share`, `--slotted-sparkline-block-size`, `--slotted-sparkline-block-size-lg`, `--slotted-sparkline-block-size-sm`, `--slotted-sparkline-color`, `--slotted-sparkline-line-width`, `--slotted-sparkline-line-width-sm`, `--slotted-sparkline-marker-size`, `--slotted-sparkline-marker-size-lg`, `--slotted-sparkline-marker-size-sm`, `--slotted-sparkline-min-inline-size`, `--slotted-sparkline-reference-color`, `--slotted-sparkline-ring-color`, `--slotted-sparkline-ring-width`, `--slotted-sparkline-ring-width-sm`, `--slotted-surface-raised`, `--slotted-text-muted`, `--slotted-tone-accent-text`, `--slotted-tone-danger-text`, `--slotted-tone-info-text`, `--slotted-tone-secondary-text`, `--slotted-tone-success-text`, `--slotted-tone-warning-text`
165
84
 
166
85
  ## Examples
167
86
 
@@ -285,106 +204,3 @@ Excerpt — not a complete module
285
204
  label="Fill rate"
286
205
  ></span>
287
206
  ```
288
-
289
- ### Playground
290
-
291
- This month’s savings against the eight months before it: each small dot is a month, the band their span, the large dot this month, the dashed tick their mean.
292
-
293
- Excerpt — not a complete module
294
-
295
- ```html
296
- <span slPositionStrip label="Savings" [reference]="1200" [value]="800" [values]="periods"></span>
297
- ```
298
-
299
- ### Rows that line up
300
-
301
- In a table, a value column writes the number and the strip shows where it stands. Every row states one min and max, so the rows write the same ends and their tracks line up.
302
-
303
- Excerpt — not a complete module
304
-
305
- ```html
306
- <span
307
- slPositionStrip
308
- label="Savings"
309
- [max]="3000"
310
- [min]="-1000"
311
- [value]="800"
312
- [values]="savings"
313
- ></span>
314
- <span
315
- slPositionStrip
316
- label="Debt service"
317
- [max]="3000"
318
- [min]="-1000"
319
- [value]="2200"
320
- [values]="debt"
321
- ></span>
322
- ```
323
-
324
- ### A value not known yet
325
-
326
- hideValue leaves the value dot out while the period is incomplete, and the name says the value is pending rather than reading the last one.
327
-
328
- Excerpt — not a complete module
329
-
330
- ```html
331
- <span slPositionStrip hideValue label="Savings" [values]="periods"></span>
332
- ```
333
-
334
- ### What a reader hears
335
-
336
- The root is an image named “Savings: R$800.00, against a range of -R$500.00 to R$2,500.00, reference R$1,200.00”, every number in the locale and format given.
337
-
338
- Excerpt — not a complete module
339
-
340
- ```html
341
- <span
342
- slPositionStrip
343
- label="Savings"
344
- [formatOptions]="currency"
345
- [reference]="1200"
346
- [value]="800"
347
- [values]="periods"
348
- ></span>
349
- ```
350
-
351
- ### Playground
352
-
353
- A result against a benchmark on one signed axis: the negative result hangs left of the zero line and each value is written at its bar’s end.
354
-
355
- Excerpt — not a complete module
356
-
357
- ```html
358
- <span slBarCompare [data]="pair"></span>
359
- ```
360
-
361
- ### One axis across sections
362
-
363
- Roots that state the same min, max and step draw the same axis and the same ticks, so pairs in separate sections compare at a glance.
364
-
365
- Excerpt — not a complete module
366
-
367
- ```html
368
- <span slBarCompare [data]="march" [max]="800" [min]="-1600" [step]="800"></span>
369
- <span slBarCompare [data]="april" [max]="800" [min]="-1600" [step]="800"></span>
370
- ```
371
-
372
- ### A reference told apart without color
373
-
374
- texture hatches a row’s fill, so the reference reads as a reference in grayscale, in print and under forced colors.
375
-
376
- Excerpt — not a complete module
377
-
378
- ```html
379
- <span slBarCompare [data]="withIndex"></span>
380
- ```
381
-
382
- ### What a reader hears
383
-
384
- The root is an image named by every row: “Result: -1,000; Benchmark: 33”, each value in the locale and format given; description replaces it.
385
-
386
- Excerpt — not a complete module
387
-
388
- ```html
389
- <span slBarCompare [data]="pair" [formatOptions]="currency"></span>
390
- ```
package/docs/table.json CHANGED
@@ -71,7 +71,8 @@
71
71
  ],
72
72
  "guides": [
73
73
  true,
74
- false
74
+ false,
75
+ "branch"
75
76
  ]
76
77
  },
77
78
  "members": {
@@ -149,6 +150,7 @@
149
150
  "filter-actions",
150
151
  "selection",
151
152
  "expander",
153
+ "mark",
152
154
  "detail",
153
155
  "group-row",
154
156
  "group-header",
@@ -331,6 +333,12 @@
331
333
  "required": false,
332
334
  "purpose": "Opens and closes one row detail. It carries aria-expanded, and aria-controls naming the detail row while that row is open. It is the APG Disclosure pattern, borrowed whole."
333
335
  },
336
+ {
337
+ "part": "mark",
338
+ "element": "[slTableMark]",
339
+ "required": false,
340
+ "purpose": "A record’s leading mark: an avatar, a logo, an icon. One box per level, --slotted-table-mark-size and a step smaller at a child, which the steps of an avatar up to md measure. Under guides=\"branch\" the rail of the children starts at its foot."
341
+ },
334
342
  {
335
343
  "part": "detail",
336
344
  "element": "tr[slTableDetail]",
@@ -446,10 +454,10 @@
446
454
  },
447
455
  {
448
456
  "name": "guides",
449
- "type": "boolean",
457
+ "type": "boolean | 'branch'",
450
458
  "defaultValue": "true",
451
459
  "appliesTo": "slTable",
452
- "description": "A line per ancestor level beside the rows that name a parent, on the center of the expander one level up"
460
+ "description": "A line per ancestor level beside the rows that name a parent, on the center of the expander one level up. branch draws a rail from the foot of the parent’s mark (slTableMark, or the expander), a branch to each child and an elbow at the last, and keeps the marks of a level in one column"
453
461
  },
454
462
  {
455
463
  "name": "stickyHeader",
@@ -848,6 +856,7 @@
848
856
  "--slotted-radius-md",
849
857
  "--slotted-radius-sm",
850
858
  "--slotted-shadow-xs",
859
+ "--slotted-space-1",
851
860
  "--slotted-space-2",
852
861
  "--slotted-space-4",
853
862
  "--slotted-space-5",
@@ -856,6 +865,7 @@
856
865
  "--slotted-table-border-color",
857
866
  "--slotted-table-border-color-strong",
858
867
  "--slotted-table-border-width",
868
+ "--slotted-table-branch-size",
859
869
  "--slotted-table-caption-surface",
860
870
  "--slotted-table-cell-padding-block",
861
871
  "--slotted-table-cell-padding-inline",
@@ -875,6 +885,8 @@
875
885
  "--slotted-table-header-surface",
876
886
  "--slotted-table-header-surface-hover",
877
887
  "--slotted-table-icon-size",
888
+ "--slotted-table-mark-child-size",
889
+ "--slotted-table-mark-size",
878
890
  "--slotted-table-radius",
879
891
  "--slotted-table-row-color-selected",
880
892
  "--slotted-table-row-min-block-size",
package/docs/table.md CHANGED
@@ -185,6 +185,7 @@ export class TableBasic {
185
185
  | `filter-actions` | div | no |
186
186
  | `selection` | td[slTableSelect] and th[slTableSelectAll] | no |
187
187
  | `expander` | button[slTableExpander] | no |
188
+ | `mark` | [slTableMark] | no |
188
189
  | `detail` | tr[slTableDetail] | no |
189
190
  | `group-row` | tr[slTableGroupRow] | no |
190
191
  | `group-header` | th | no |
@@ -207,7 +208,7 @@ export class TableBasic {
207
208
  | `variant` | `'plain' \| 'ruled' \| 'framed'` | ruled | slTable | How much of a frame the set is given |
208
209
  | `edges` | `'inset' \| 'flush'` | inset | slTable | Whether the first and the last column keep the cell inset on their outer side. flush lines a plain or ruled table up with the heading around it, leaving the theme’s --slotted-table-edge-inset (0 unless set); a framed table ignores it. Sticky and selection columns keep their own offsets |
209
210
  | `striped` | `boolean` | false | slTable | A tinted ground on every second record |
210
- | `guides` | `boolean` | true | slTable | A line per ancestor level beside the rows that name a parent, on the center of the expander one level up |
211
+ | `guides` | `boolean \| 'branch'` | true | slTable | A line per ancestor level beside the rows that name a parent, on the center of the expander one level up. branch draws a rail from the foot of the parent’s mark (slTableMark, or the expander), a branch to each child and an elbow at the last, and keeps the marks of a level in one column |
211
212
  | `stickyHeader` | `boolean` | false | slTable | Whether the header stays while the body scrolls |
212
213
  | `stickyFooter` | `boolean` | false | slTable | Whether the summary rows stay while the body scrolls. It pins the tfoot and not the footer bar, which never scrolls. |
213
214
  | `stickyTo` | `'scroll' \| 'page'` | scroll | slTable | What the header stays inside: this table own scroller, or whatever scrolls outside it. page releases the scroller, so the table stops scrolling sideways in its frame. |
@@ -284,7 +285,7 @@ export class TableBasic {
284
285
  | `text` | `wrap`, `truncate`, `nowrap` | `wrap` |
285
286
  | `sticky` | `start`, `end` | `start` |
286
287
  | `blockAlign` | `start`, `center`, `end` | `center` |
287
- | `guides` | `true`, `false` | `true` |
288
+ | `guides` | `true`, `false`, `branch` | `true` |
288
289
 
289
290
  ## Rules
290
291
 
@@ -300,7 +301,7 @@ export class TableBasic {
300
301
 
301
302
  ## Tokens
302
303
 
303
- `--slotted-border-strong`, `--slotted-border-subtle`, `--slotted-border-width-thin`, `--slotted-control-font-family`, `--slotted-control-font-size-md`, `--slotted-control-gap-md`, `--slotted-control-height-md`, `--slotted-control-icon-size-md`, `--slotted-control-padding-inline-md`, `--slotted-control-transition-duration`, `--slotted-control-transition-easing`, `--slotted-disabled-foreground`, `--slotted-duration-short`, `--slotted-easing-standard`, `--slotted-focus-ring-color`, `--slotted-focus-ring-offset`, `--slotted-focus-ring-width`, `--slotted-font-size-xs`, `--slotted-font-weight-medium`, `--slotted-font-weight-regular`, `--slotted-font-weight-semibold`, `--slotted-ground`, `--slotted-line-height-md`, `--slotted-radius-md`, `--slotted-radius-sm`, `--slotted-shadow-xs`, `--slotted-space-2`, `--slotted-space-4`, `--slotted-space-5`, `--slotted-space-9`, `--slotted-surface`, `--slotted-table-border-color`, `--slotted-table-border-color-strong`, `--slotted-table-border-width`, `--slotted-table-caption-surface`, `--slotted-table-cell-padding-block`, `--slotted-table-cell-padding-inline`, `--slotted-table-color`, `--slotted-table-color-muted`, `--slotted-table-column-actions-size`, `--slotted-table-control-radius`, `--slotted-table-edge-inset`, `--slotted-table-font-family`, `--slotted-table-font-size`, `--slotted-table-gap`, `--slotted-table-group-color`, `--slotted-table-group-sticky-offset`, `--slotted-table-group-surface`, `--slotted-table-guide-color`, `--slotted-table-header-backdrop-filter`, `--slotted-table-header-surface`, `--slotted-table-header-surface-hover`, `--slotted-table-icon-size`, `--slotted-table-radius`, `--slotted-table-row-color-selected`, `--slotted-table-row-min-block-size`, `--slotted-table-row-surface-current`, `--slotted-table-row-surface-hover`, `--slotted-table-row-surface-selected`, `--slotted-table-row-surface-selected-hover`, `--slotted-table-row-surface-stripe`, `--slotted-table-selection-size`, `--slotted-table-shadow`, `--slotted-table-sticky-inset`, `--slotted-table-sticky-offset`, `--slotted-table-sticky-offset-end`, `--slotted-table-sticky-surface`, `--slotted-table-surface`, `--slotted-table-tree-indent`, `--slotted-target-comfortable`, `--slotted-target-min`, `--slotted-text`, `--slotted-text-muted`, `--slotted-tone-accent-subtle-hover`, `--slotted-tone-accent-surface`, `--slotted-tone-accent-text`, `--slotted-tone-secondary-subtle-active`, `--slotted-tone-secondary-subtle-hover`, `--slotted-z-index-sticky`
304
+ `--slotted-border-strong`, `--slotted-border-subtle`, `--slotted-border-width-thin`, `--slotted-control-font-family`, `--slotted-control-font-size-md`, `--slotted-control-gap-md`, `--slotted-control-height-md`, `--slotted-control-icon-size-md`, `--slotted-control-padding-inline-md`, `--slotted-control-transition-duration`, `--slotted-control-transition-easing`, `--slotted-disabled-foreground`, `--slotted-duration-short`, `--slotted-easing-standard`, `--slotted-focus-ring-color`, `--slotted-focus-ring-offset`, `--slotted-focus-ring-width`, `--slotted-font-size-xs`, `--slotted-font-weight-medium`, `--slotted-font-weight-regular`, `--slotted-font-weight-semibold`, `--slotted-ground`, `--slotted-line-height-md`, `--slotted-radius-md`, `--slotted-radius-sm`, `--slotted-shadow-xs`, `--slotted-space-1`, `--slotted-space-2`, `--slotted-space-4`, `--slotted-space-5`, `--slotted-space-9`, `--slotted-surface`, `--slotted-table-border-color`, `--slotted-table-border-color-strong`, `--slotted-table-border-width`, `--slotted-table-branch-size`, `--slotted-table-caption-surface`, `--slotted-table-cell-padding-block`, `--slotted-table-cell-padding-inline`, `--slotted-table-color`, `--slotted-table-color-muted`, `--slotted-table-column-actions-size`, `--slotted-table-control-radius`, `--slotted-table-edge-inset`, `--slotted-table-font-family`, `--slotted-table-font-size`, `--slotted-table-gap`, `--slotted-table-group-color`, `--slotted-table-group-sticky-offset`, `--slotted-table-group-surface`, `--slotted-table-guide-color`, `--slotted-table-header-backdrop-filter`, `--slotted-table-header-surface`, `--slotted-table-header-surface-hover`, `--slotted-table-icon-size`, `--slotted-table-mark-child-size`, `--slotted-table-mark-size`, `--slotted-table-radius`, `--slotted-table-row-color-selected`, `--slotted-table-row-min-block-size`, `--slotted-table-row-surface-current`, `--slotted-table-row-surface-hover`, `--slotted-table-row-surface-selected`, `--slotted-table-row-surface-selected-hover`, `--slotted-table-row-surface-stripe`, `--slotted-table-selection-size`, `--slotted-table-shadow`, `--slotted-table-sticky-inset`, `--slotted-table-sticky-offset`, `--slotted-table-sticky-offset-end`, `--slotted-table-sticky-surface`, `--slotted-table-surface`, `--slotted-table-tree-indent`, `--slotted-target-comfortable`, `--slotted-target-min`, `--slotted-text`, `--slotted-text-muted`, `--slotted-tone-accent-subtle-hover`, `--slotted-tone-accent-surface`, `--slotted-tone-accent-text`, `--slotted-tone-secondary-subtle-active`, `--slotted-tone-secondary-subtle-hover`, `--slotted-z-index-sticky`
304
305
 
305
306
  ## Examples
306
307
 
package/docs/tokens.md CHANGED
@@ -438,6 +438,18 @@ How strong the band behind a matched span is.
438
438
  | --- | --- | --- |
439
439
  | `--slotted-highlight-tint-opacity` | The share of `--slotted-tone-accent-text` in the band behind a matched span. | 0.075 |
440
440
 
441
+ ## mark
442
+
443
+ How the track, the dot and the ring of a small data mark are drawn.
444
+
445
+ | Token | Meaning | Default value |
446
+ | --- | --- | --- |
447
+ | `--slotted-mark-track-thickness` | The thickness of the track a mark is placed on. | 0.25rem |
448
+ | `--slotted-mark-dot-size` | The diameter of a dot that stands for one value. | 0.375rem |
449
+ | `--slotted-mark-ring-width` | The width of the ring that separates the current value's dot from what it covers. | 2px |
450
+ | `--slotted-mark-track-color` | The color of the track, quieter than any mark on it. | by scheme |
451
+ | `--slotted-mark-ring-color` | The color of that ring: the ground a mark stands on. | by scheme |
452
+
441
453
  ## current
442
454
 
443
455
  How the place the reader is on is marked.