@slotted/angular 0.1.0-beta.36 → 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 (68) hide show
  1. package/docs/button.json +1 -1
  2. package/docs/button.md +1 -90
  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/floating-panel.json +22 -4
  11. package/docs/floating-panel.md +6 -4
  12. package/docs/message.json +7 -0
  13. package/docs/message.md +1 -0
  14. package/docs/page.json +7 -0
  15. package/docs/page.md +1 -0
  16. package/docs/section.json +10 -2
  17. package/docs/section.md +2 -1
  18. package/docs/skills/theme-app/SKILL.md +1 -1
  19. package/docs/table.json +15 -3
  20. package/docs/table.md +4 -3
  21. package/fesm2022/slotted-angular-app-shell.mjs +2 -2
  22. package/fesm2022/slotted-angular-app-shell.mjs.map +1 -1
  23. package/fesm2022/slotted-angular-button.mjs +16 -15
  24. package/fesm2022/slotted-angular-button.mjs.map +1 -1
  25. package/fesm2022/slotted-angular-calendar.mjs +249 -137
  26. package/fesm2022/slotted-angular-calendar.mjs.map +1 -1
  27. package/fesm2022/slotted-angular-chart.mjs +11 -5
  28. package/fesm2022/slotted-angular-chart.mjs.map +1 -1
  29. package/fesm2022/slotted-angular-collapsible.mjs +10 -6
  30. package/fesm2022/slotted-angular-collapsible.mjs.map +1 -1
  31. package/fesm2022/slotted-angular-dashboard-grid.mjs +2 -2
  32. package/fesm2022/slotted-angular-dashboard-grid.mjs.map +1 -1
  33. package/fesm2022/slotted-angular-date-picker.mjs +1 -1
  34. package/fesm2022/slotted-angular-date-picker.mjs.map +1 -1
  35. package/fesm2022/slotted-angular-date-range-picker.mjs +1 -1
  36. package/fesm2022/slotted-angular-date-range-picker.mjs.map +1 -1
  37. package/fesm2022/slotted-angular-datetime-picker.mjs +1 -1
  38. package/fesm2022/slotted-angular-datetime-picker.mjs.map +1 -1
  39. package/fesm2022/slotted-angular-datetime-range-picker.mjs +1 -1
  40. package/fesm2022/slotted-angular-datetime-range-picker.mjs.map +1 -1
  41. package/fesm2022/slotted-angular-floating-panel.mjs +33 -30
  42. package/fesm2022/slotted-angular-floating-panel.mjs.map +1 -1
  43. package/fesm2022/slotted-angular-message.mjs +18 -8
  44. package/fesm2022/slotted-angular-message.mjs.map +1 -1
  45. package/fesm2022/slotted-angular-page.mjs +2 -2
  46. package/fesm2022/slotted-angular-page.mjs.map +1 -1
  47. package/fesm2022/slotted-angular-section.mjs +20 -3
  48. package/fesm2022/slotted-angular-section.mjs.map +1 -1
  49. package/fesm2022/slotted-angular-split-button.mjs +4 -4
  50. package/fesm2022/slotted-angular-split-button.mjs.map +1 -1
  51. package/fesm2022/slotted-angular-table.mjs +37 -8
  52. package/fesm2022/slotted-angular-table.mjs.map +1 -1
  53. package/package.json +3 -3
  54. package/types/slotted-angular-button.d.ts +2 -1
  55. package/types/slotted-angular-button.d.ts.map +1 -1
  56. package/types/slotted-angular-calendar.d.ts +26 -2
  57. package/types/slotted-angular-calendar.d.ts.map +1 -1
  58. package/types/slotted-angular-chart.d.ts.map +1 -1
  59. package/types/slotted-angular-collapsible.d.ts +4 -1
  60. package/types/slotted-angular-collapsible.d.ts.map +1 -1
  61. package/types/slotted-angular-floating-panel.d.ts +27 -22
  62. package/types/slotted-angular-floating-panel.d.ts.map +1 -1
  63. package/types/slotted-angular-message.d.ts +9 -3
  64. package/types/slotted-angular-message.d.ts.map +1 -1
  65. package/types/slotted-angular-section.d.ts +10 -1
  66. package/types/slotted-angular-section.d.ts.map +1 -1
  67. package/types/slotted-angular-table.d.ts +21 -7
  68. package/types/slotted-angular-table.d.ts.map +1 -1
package/docs/button.json CHANGED
@@ -565,7 +565,7 @@
565
565
  "type": "boolean",
566
566
  "defaultValue": "false",
567
567
  "appliesTo": "SlIconButton",
568
- "description": "One line of the surrounding text tall, for a help trigger inside a sentence or a term: the line does not grow, the control takes the text's font size, and a 24px target stays around it. In ghost it draws no ground under the pointer; in the secondary tone it is muted at rest and takes the text color on hover, on keyboard focus and while its tooltip or popover is open."
568
+ "description": "One line of the surrounding text tall, for a help trigger inside a sentence or a term: the line does not grow, and a 24px target stays around it. The icon is drawn from the capital height of the text, centered on the capital beside it, and the size of the Icon has no effect; in a flex row, align-items: baseline puts it on the first line. In ghost it draws no ground under the pointer; in the secondary tone it is muted at rest and takes the text color on hover, on keyboard focus and while its tooltip or popover is open."
569
569
  },
570
570
  {
571
571
  "name": "disabled",
package/docs/button.md CHANGED
@@ -95,96 +95,7 @@ export class ButtonBasic {
95
95
 
96
96
  ## Props
97
97
 
98
- ### button
99
-
100
- | Name | Type | Default | Applies to | Description |
101
- | --- | --- | --- | --- | --- |
102
- | `tone` | `accent \| secondary \| neutral \| info \| success \| warning \| danger` | accent | SlButton | The semantic color: accent for the primary action, secondary for a neutral one, neutral for a primary action drawn in ink where the accent is kept for data, and success, warning or danger for what the action does. |
103
- | `variant` | `solid \| outline \| ghost` | solid | SlButton | How the tone is painted: solid, outline or ghost. |
104
- | `size` | `sm \| md \| lg` | md | SlButton | The step of the control scale. Each step reads the --slotted-control-* tokens, so the density of the theme sets the height. |
105
- | `start` | `[slButtonStart]` | — | SlButton | Content projected before the label, such as an icon, on the element you mark with slButtonStart. It mirrors in a right-to-left document. |
106
- | `end` | `[slButtonEnd]` | — | SlButton | Content projected after the label, on the element you mark with slButtonEnd. It mirrors in a right-to-left document. |
107
- | `fullWidth` | `boolean` | false | SlButton | Fills the inline size of the container. |
108
- | `flush` | `'start' \| 'end' \| 'both'` | — | SlButton | Stands the label on the edge of the text around it: the button is pulled out by its own inset on the stated side, and the hover ground, the target and the focus ring extend past that edge. For a ghost button as the first line of a stacked cell. It has no effect on an inline button, which has no inset. |
109
- | `inline` | `boolean` | false | SlButton | A word of the surrounding text, for an action inside a sentence or a dense cell: no box in any variant, the font, line height and baseline of the text around it, underlined in the tone. A stated size sets the step of the text scale (--slotted-font-size-sm, -md, -lg); without one the font is the one around it, whatever a provider states. A row of small text keeps its height. |
110
- | `justify` | `center \| between` | center | SlButton | Where the content sits along the inline axis: center keeps the label and end together in the middle; between sets the label at the start and end at the inline end, as a field trigger reads, with start beside the label. It mirrors in a right-to-left document. |
111
- | `widest` | `readonly string[]` | — | SlButton | Every text the label can take, for a label that changes under the pointer (the month of a stepper): the control reserves the width of its whole content with the widest of them, in tabular figures, and centers what is visible. A start that renders nothing keeps its room in the reservation and takes none beside the label, so a mark comes and goes at one width; --slotted-button-widest-start states the width reserved for a start narrower than an icon. The entries stay out of the accessible name; no effect under fullWidth. |
112
- | `disabled` | `boolean` | false | SlButton | Refuses the action and marks the control unavailable. On its own, it sets the native disabled property, which also removes the control from the tab sequence. |
113
- | `focusableWhenDisabled` | `boolean` | false | SlButton | Keeps a disabled control in the tab sequence: aria-disabled replaces the native property, and activation is still refused. |
114
- | `loading` | `boolean` | false | SlButton | Refuses activation, keeps focus, and shows a progress indicator named by messages.loading. |
115
- | `loadingDelay` | `number` | 0 | SlButton | Milliseconds before the indicator appears. Activation is refused from the start of the wait. |
116
- | `messages` | `Partial<ButtonMessages>` | — | SlButton | Overrides for the strings of the active locale, key by key. loading names the progress indicator. |
117
- | `type` | `button \| submit \| reset` | button | SlButton | The native button type. Set submit only for a button that submits its form. |
118
- | `provideButtonDefaults` | `(defaults: ButtonDefaults) => Provider` | — | SlButton | Sets the default size, tone and variant of every button under the injector, SlButtonLink, SlIconButton and SlToggleButton included. An explicit input wins, and an axis left unset keeps each member’s own default. |
119
-
120
- ### buttonLink
121
-
122
- | Name | Type | Default | Applies to | Description |
123
- | --- | --- | --- | --- | --- |
124
- | `href` | `string` | — | SlButtonLink | The destination. A disabled SlButtonLink does not render it. |
125
- | `tone` | `accent \| secondary \| neutral \| info \| success \| warning \| danger` | accent | SlButtonLink | The semantic color: accent for the primary action, secondary for a neutral one, neutral for a primary action drawn in ink where the accent is kept for data, and success, warning or danger for what the action does. |
126
- | `variant` | `solid \| outline \| ghost` | solid | SlButtonLink | How the tone is painted: solid, outline or ghost. |
127
- | `size` | `sm \| md \| lg` | md | SlButtonLink | The step of the control scale. Each step reads the --slotted-control-* tokens, so the density of the theme sets the height. |
128
- | `start` | `[slButtonStart]` | — | SlButtonLink | Content projected before the label, such as an icon, on the element you mark with slButtonStart. It mirrors in a right-to-left document. |
129
- | `end` | `[slButtonEnd]` | — | SlButtonLink | Content projected after the label, on the element you mark with slButtonEnd. It mirrors in a right-to-left document. |
130
- | `fullWidth` | `boolean` | false | SlButtonLink | Fills the inline size of the container. |
131
- | `justify` | `center \| between` | center | SlButtonLink | Where the content sits along the inline axis: center keeps the label and end together in the middle; between sets the label at the start and end at the inline end, as a field trigger reads, with start beside the label. It mirrors in a right-to-left document. |
132
- | `widest` | `readonly string[]` | — | SlButtonLink | Every text the label can take, for a label that changes under the pointer (the month of a stepper): the control reserves the width of its whole content with the widest of them, in tabular figures, and centers what is visible. A start that renders nothing keeps its room in the reservation and takes none beside the label, so a mark comes and goes at one width; --slotted-button-widest-start states the width reserved for a start narrower than an icon. The entries stay out of the accessible name; no effect under fullWidth. |
133
- | `disabled` | `boolean` | false | SlButtonLink | Removes the href and refuses activation. The link stays focusable with role="link" and aria-disabled. |
134
-
135
- ### iconButton
136
-
137
- | Name | Type | Default | Applies to | Description |
138
- | --- | --- | --- | --- | --- |
139
- | `aria-label \| aria-labelledby` | `string` | required | SlIconButton | The accessible name. Required, because an icon supplies no text. |
140
- | `tone` | `accent \| secondary \| neutral \| info \| success \| warning \| danger` | secondary | SlIconButton | The semantic color: accent for the primary action, secondary for a neutral one, neutral for a primary action drawn in ink where the accent is kept for data, and success, warning or danger for what the action does. |
141
- | `variant` | `solid \| outline \| ghost` | ghost | SlIconButton | How the tone is painted: solid, outline or ghost. |
142
- | `size` | `sm \| md \| lg` | md | SlIconButton | The step of the control scale. Each step reads the --slotted-control-* tokens, so the density of the theme sets the height. |
143
- | `shape` | `square \| circle` | square | SlIconButton | The corners of the control: square keeps the radius of the control scale, circle rounds it fully. Both are as wide as they are tall. |
144
- | `inline` | `boolean` | false | SlIconButton | One line of the surrounding text tall, for a help trigger inside a sentence or a term: the line does not grow, the control takes the text's font size, and a 24px target stays around it. In ghost it draws no ground under the pointer; in the secondary tone it is muted at rest and takes the text color on hover, on keyboard focus and while its tooltip or popover is open. |
145
- | `disabled` | `boolean` | false | SlIconButton | Refuses the action and marks the control unavailable. On its own, it sets the native disabled property, which also removes the control from the tab sequence. |
146
- | `focusableWhenDisabled` | `boolean` | false | SlIconButton | Keeps a disabled control in the tab sequence: aria-disabled replaces the native property, and activation is still refused. |
147
- | `loading` | `boolean` | false | SlIconButton | Refuses activation, keeps focus, and shows a progress indicator named by messages.loading. |
148
- | `loadingDelay` | `number` | 0 | SlIconButton | Milliseconds before the indicator appears. Activation is refused from the start of the wait. |
149
- | `messages` | `Partial<ButtonMessages>` | — | SlIconButton | Overrides for the strings of the active locale, key by key. loading names the progress indicator. |
150
- | `pressed` | `boolean` | — | SlIconButton | The pressed state, controlled. Binding it makes the button a toggle whose value you own. |
151
- | `defaultPressed` | `boolean` | — | SlIconButton | The initial pressed state when the button owns it. Binding it makes the button a toggle. |
152
- | `pressedChange` | `ChangeRequest<boolean>` | — | SlIconButton | Emits the request: value, previous value, reason (pointer or keyboard), event and cancel(). |
153
- | `type` | `button \| submit \| reset` | button | SlIconButton | The native button type. Set submit only for a button that submits its form. |
154
-
155
- ### iconButtonLink
156
-
157
- | Name | Type | Default | Applies to | Description |
158
- | --- | --- | --- | --- | --- |
159
- | `aria-label \| aria-labelledby` | `string` | required | SlIconButtonLink | The accessible name. Required, because an icon supplies no text; a missing name throws in development. When both are present, aria-labelledby names the link. |
160
- | `href` | `string` | — | SlIconButtonLink | The destination. A disabled SlIconButtonLink does not render it. |
161
- | `tone` | `accent \| secondary \| neutral \| info \| success \| warning \| danger` | secondary | SlIconButtonLink | The semantic color: accent for the primary action, secondary for a neutral one, neutral for a primary action drawn in ink where the accent is kept for data, and success, warning or danger for what the action does. |
162
- | `variant` | `solid \| outline \| ghost` | ghost | SlIconButtonLink | How the tone is painted: solid, outline or ghost. |
163
- | `size` | `sm \| md \| lg` | md | SlIconButtonLink | The step of the control scale. Each step reads the --slotted-control-* tokens, so the density of the theme sets the height. |
164
- | `shape` | `square \| circle` | square | SlIconButtonLink | The corners of the control: square keeps the radius of the control scale, circle rounds it fully. Both are as wide as they are tall. |
165
- | `disabled` | `boolean` | false | SlIconButtonLink | Removes the href and refuses activation. The link stays focusable with role="link" and aria-disabled. |
166
-
167
- ### toggleButton
168
-
169
- | Name | Type | Default | Applies to | Description |
170
- | --- | --- | --- | --- | --- |
171
- | `tone` | `accent \| secondary \| neutral \| info \| success \| warning \| danger` | secondary | SlToggleButton | The semantic color: accent for the primary action, secondary for a neutral one, neutral for a primary action drawn in ink where the accent is kept for data, and success, warning or danger for what the action does. |
172
- | `variant` | `solid \| outline \| ghost` | outline | SlToggleButton | How the tone is painted: solid, outline or ghost. |
173
- | `size` | `sm \| md \| lg` | md | SlToggleButton | The step of the control scale. Each step reads the --slotted-control-* tokens, so the density of the theme sets the height. |
174
- | `start` | `[slButtonStart]` | — | SlToggleButton | Content projected before the label, such as an icon, on the element you mark with slButtonStart. It mirrors in a right-to-left document. |
175
- | `end` | `[slButtonEnd]` | — | SlToggleButton | Content projected after the label, on the element you mark with slButtonEnd. It mirrors in a right-to-left document. |
176
- | `fullWidth` | `boolean` | false | SlToggleButton | Fills the inline size of the container. |
177
- | `justify` | `center \| between` | center | SlToggleButton | Where the content sits along the inline axis: center keeps the label and end together in the middle; between sets the label at the start and end at the inline end, as a field trigger reads, with start beside the label. It mirrors in a right-to-left document. |
178
- | `widest` | `readonly string[]` | — | SlToggleButton | Every text the label can take, for a label that changes under the pointer (the month of a stepper): the control reserves the width of its whole content with the widest of them, in tabular figures, and centers what is visible. A start that renders nothing keeps its room in the reservation and takes none beside the label, so a mark comes and goes at one width; --slotted-button-widest-start states the width reserved for a start narrower than an icon. The entries stay out of the accessible name; no effect under fullWidth. |
179
- | `disabled` | `boolean` | false | SlToggleButton | Refuses the action and marks the control unavailable. On its own, it sets the native disabled property, which also removes the control from the tab sequence. |
180
- | `focusableWhenDisabled` | `boolean` | false | SlToggleButton | Keeps a disabled control in the tab sequence: aria-disabled replaces the native property, and activation is still refused. |
181
- | `loading` | `boolean` | false | SlToggleButton | Refuses activation, keeps focus, and shows a progress indicator named by messages.loading. |
182
- | `loadingDelay` | `number` | 0 | SlToggleButton | Milliseconds before the indicator appears. Activation is refused from the start of the wait. |
183
- | `messages` | `Partial<ButtonMessages>` | — | SlToggleButton | Overrides for the strings of the active locale, key by key. loading names the progress indicator. |
184
- | `pressed` | `boolean` | — | SlToggleButton | The pressed state, controlled. Binding it makes you the owner of the value. |
185
- | `defaultPressed` | `boolean` | false | SlToggleButton | The initial pressed state when the button owns it, read once. |
186
- | `pressedChange` | `ChangeRequest<boolean>` | — | SlToggleButton | Emits the request: value, previous value, reason (pointer or keyboard), event and cancel(). |
187
- | `type` | `button \| submit \| reset` | button | SlToggleButton | The native button type. Set submit only for a button that submits its form. |
98
+ See [button.props.md](./button.props.md).
188
99
 
189
100
  ## Axes and defaults
190
101
 
@@ -0,0 +1,97 @@
1
+ <!-- index: ./index.md -->
2
+ # button
3
+
4
+ `data-ui="button"` · Button, link button, icon button and toggle button.
5
+
6
+ ## Props
7
+
8
+ ### button
9
+
10
+ | Name | Type | Default | Applies to | Description |
11
+ | --- | --- | --- | --- | --- |
12
+ | `tone` | `accent \| secondary \| neutral \| info \| success \| warning \| danger` | accent | SlButton | The semantic color: accent for the primary action, secondary for a neutral one, neutral for a primary action drawn in ink where the accent is kept for data, and success, warning or danger for what the action does. |
13
+ | `variant` | `solid \| outline \| ghost` | solid | SlButton | How the tone is painted: solid, outline or ghost. |
14
+ | `size` | `sm \| md \| lg` | md | SlButton | The step of the control scale. Each step reads the --slotted-control-* tokens, so the density of the theme sets the height. |
15
+ | `start` | `[slButtonStart]` | — | SlButton | Content projected before the label, such as an icon, on the element you mark with slButtonStart. It mirrors in a right-to-left document. |
16
+ | `end` | `[slButtonEnd]` | — | SlButton | Content projected after the label, on the element you mark with slButtonEnd. It mirrors in a right-to-left document. |
17
+ | `fullWidth` | `boolean` | false | SlButton | Fills the inline size of the container. |
18
+ | `flush` | `'start' \| 'end' \| 'both'` | — | SlButton | Stands the label on the edge of the text around it: the button is pulled out by its own inset on the stated side, and the hover ground, the target and the focus ring extend past that edge. For a ghost button as the first line of a stacked cell. It has no effect on an inline button, which has no inset. |
19
+ | `inline` | `boolean` | false | SlButton | A word of the surrounding text, for an action inside a sentence or a dense cell: no box in any variant, the font, line height and baseline of the text around it, underlined in the tone. A stated size sets the step of the text scale (--slotted-font-size-sm, -md, -lg); without one the font is the one around it, whatever a provider states. A row of small text keeps its height. |
20
+ | `justify` | `center \| between` | center | SlButton | Where the content sits along the inline axis: center keeps the label and end together in the middle; between sets the label at the start and end at the inline end, as a field trigger reads, with start beside the label. It mirrors in a right-to-left document. |
21
+ | `widest` | `readonly string[]` | — | SlButton | Every text the label can take, for a label that changes under the pointer (the month of a stepper): the control reserves the width of its whole content with the widest of them, in tabular figures, and centers what is visible. A start that renders nothing keeps its room in the reservation and takes none beside the label, so a mark comes and goes at one width; --slotted-button-widest-start states the width reserved for a start narrower than an icon. The entries stay out of the accessible name; no effect under fullWidth. |
22
+ | `disabled` | `boolean` | false | SlButton | Refuses the action and marks the control unavailable. On its own, it sets the native disabled property, which also removes the control from the tab sequence. |
23
+ | `focusableWhenDisabled` | `boolean` | false | SlButton | Keeps a disabled control in the tab sequence: aria-disabled replaces the native property, and activation is still refused. |
24
+ | `loading` | `boolean` | false | SlButton | Refuses activation, keeps focus, and shows a progress indicator named by messages.loading. |
25
+ | `loadingDelay` | `number` | 0 | SlButton | Milliseconds before the indicator appears. Activation is refused from the start of the wait. |
26
+ | `messages` | `Partial<ButtonMessages>` | — | SlButton | Overrides for the strings of the active locale, key by key. loading names the progress indicator. |
27
+ | `type` | `button \| submit \| reset` | button | SlButton | The native button type. Set submit only for a button that submits its form. |
28
+ | `provideButtonDefaults` | `(defaults: ButtonDefaults) => Provider` | — | SlButton | Sets the default size, tone and variant of every button under the injector, SlButtonLink, SlIconButton and SlToggleButton included. An explicit input wins, and an axis left unset keeps each member’s own default. |
29
+
30
+ ### buttonLink
31
+
32
+ | Name | Type | Default | Applies to | Description |
33
+ | --- | --- | --- | --- | --- |
34
+ | `href` | `string` | — | SlButtonLink | The destination. A disabled SlButtonLink does not render it. |
35
+ | `tone` | `accent \| secondary \| neutral \| info \| success \| warning \| danger` | accent | SlButtonLink | The semantic color: accent for the primary action, secondary for a neutral one, neutral for a primary action drawn in ink where the accent is kept for data, and success, warning or danger for what the action does. |
36
+ | `variant` | `solid \| outline \| ghost` | solid | SlButtonLink | How the tone is painted: solid, outline or ghost. |
37
+ | `size` | `sm \| md \| lg` | md | SlButtonLink | The step of the control scale. Each step reads the --slotted-control-* tokens, so the density of the theme sets the height. |
38
+ | `start` | `[slButtonStart]` | — | SlButtonLink | Content projected before the label, such as an icon, on the element you mark with slButtonStart. It mirrors in a right-to-left document. |
39
+ | `end` | `[slButtonEnd]` | — | SlButtonLink | Content projected after the label, on the element you mark with slButtonEnd. It mirrors in a right-to-left document. |
40
+ | `fullWidth` | `boolean` | false | SlButtonLink | Fills the inline size of the container. |
41
+ | `justify` | `center \| between` | center | SlButtonLink | Where the content sits along the inline axis: center keeps the label and end together in the middle; between sets the label at the start and end at the inline end, as a field trigger reads, with start beside the label. It mirrors in a right-to-left document. |
42
+ | `widest` | `readonly string[]` | — | SlButtonLink | Every text the label can take, for a label that changes under the pointer (the month of a stepper): the control reserves the width of its whole content with the widest of them, in tabular figures, and centers what is visible. A start that renders nothing keeps its room in the reservation and takes none beside the label, so a mark comes and goes at one width; --slotted-button-widest-start states the width reserved for a start narrower than an icon. The entries stay out of the accessible name; no effect under fullWidth. |
43
+ | `disabled` | `boolean` | false | SlButtonLink | Removes the href and refuses activation. The link stays focusable with role="link" and aria-disabled. |
44
+
45
+ ### iconButton
46
+
47
+ | Name | Type | Default | Applies to | Description |
48
+ | --- | --- | --- | --- | --- |
49
+ | `aria-label \| aria-labelledby` | `string` | required | SlIconButton | The accessible name. Required, because an icon supplies no text. |
50
+ | `tone` | `accent \| secondary \| neutral \| info \| success \| warning \| danger` | secondary | SlIconButton | The semantic color: accent for the primary action, secondary for a neutral one, neutral for a primary action drawn in ink where the accent is kept for data, and success, warning or danger for what the action does. |
51
+ | `variant` | `solid \| outline \| ghost` | ghost | SlIconButton | How the tone is painted: solid, outline or ghost. |
52
+ | `size` | `sm \| md \| lg` | md | SlIconButton | The step of the control scale. Each step reads the --slotted-control-* tokens, so the density of the theme sets the height. |
53
+ | `shape` | `square \| circle` | square | SlIconButton | The corners of the control: square keeps the radius of the control scale, circle rounds it fully. Both are as wide as they are tall. |
54
+ | `inline` | `boolean` | false | SlIconButton | One line of the surrounding text tall, for a help trigger inside a sentence or a term: the line does not grow, and a 24px target stays around it. The icon is drawn from the capital height of the text, centered on the capital beside it, and the size of the Icon has no effect; in a flex row, align-items: baseline puts it on the first line. In ghost it draws no ground under the pointer; in the secondary tone it is muted at rest and takes the text color on hover, on keyboard focus and while its tooltip or popover is open. |
55
+ | `disabled` | `boolean` | false | SlIconButton | Refuses the action and marks the control unavailable. On its own, it sets the native disabled property, which also removes the control from the tab sequence. |
56
+ | `focusableWhenDisabled` | `boolean` | false | SlIconButton | Keeps a disabled control in the tab sequence: aria-disabled replaces the native property, and activation is still refused. |
57
+ | `loading` | `boolean` | false | SlIconButton | Refuses activation, keeps focus, and shows a progress indicator named by messages.loading. |
58
+ | `loadingDelay` | `number` | 0 | SlIconButton | Milliseconds before the indicator appears. Activation is refused from the start of the wait. |
59
+ | `messages` | `Partial<ButtonMessages>` | — | SlIconButton | Overrides for the strings of the active locale, key by key. loading names the progress indicator. |
60
+ | `pressed` | `boolean` | — | SlIconButton | The pressed state, controlled. Binding it makes the button a toggle whose value you own. |
61
+ | `defaultPressed` | `boolean` | — | SlIconButton | The initial pressed state when the button owns it. Binding it makes the button a toggle. |
62
+ | `pressedChange` | `ChangeRequest<boolean>` | — | SlIconButton | Emits the request: value, previous value, reason (pointer or keyboard), event and cancel(). |
63
+ | `type` | `button \| submit \| reset` | button | SlIconButton | The native button type. Set submit only for a button that submits its form. |
64
+
65
+ ### iconButtonLink
66
+
67
+ | Name | Type | Default | Applies to | Description |
68
+ | --- | --- | --- | --- | --- |
69
+ | `aria-label \| aria-labelledby` | `string` | required | SlIconButtonLink | The accessible name. Required, because an icon supplies no text; a missing name throws in development. When both are present, aria-labelledby names the link. |
70
+ | `href` | `string` | — | SlIconButtonLink | The destination. A disabled SlIconButtonLink does not render it. |
71
+ | `tone` | `accent \| secondary \| neutral \| info \| success \| warning \| danger` | secondary | SlIconButtonLink | The semantic color: accent for the primary action, secondary for a neutral one, neutral for a primary action drawn in ink where the accent is kept for data, and success, warning or danger for what the action does. |
72
+ | `variant` | `solid \| outline \| ghost` | ghost | SlIconButtonLink | How the tone is painted: solid, outline or ghost. |
73
+ | `size` | `sm \| md \| lg` | md | SlIconButtonLink | The step of the control scale. Each step reads the --slotted-control-* tokens, so the density of the theme sets the height. |
74
+ | `shape` | `square \| circle` | square | SlIconButtonLink | The corners of the control: square keeps the radius of the control scale, circle rounds it fully. Both are as wide as they are tall. |
75
+ | `disabled` | `boolean` | false | SlIconButtonLink | Removes the href and refuses activation. The link stays focusable with role="link" and aria-disabled. |
76
+
77
+ ### toggleButton
78
+
79
+ | Name | Type | Default | Applies to | Description |
80
+ | --- | --- | --- | --- | --- |
81
+ | `tone` | `accent \| secondary \| neutral \| info \| success \| warning \| danger` | secondary | SlToggleButton | The semantic color: accent for the primary action, secondary for a neutral one, neutral for a primary action drawn in ink where the accent is kept for data, and success, warning or danger for what the action does. |
82
+ | `variant` | `solid \| outline \| ghost` | outline | SlToggleButton | How the tone is painted: solid, outline or ghost. |
83
+ | `size` | `sm \| md \| lg` | md | SlToggleButton | The step of the control scale. Each step reads the --slotted-control-* tokens, so the density of the theme sets the height. |
84
+ | `start` | `[slButtonStart]` | — | SlToggleButton | Content projected before the label, such as an icon, on the element you mark with slButtonStart. It mirrors in a right-to-left document. |
85
+ | `end` | `[slButtonEnd]` | — | SlToggleButton | Content projected after the label, on the element you mark with slButtonEnd. It mirrors in a right-to-left document. |
86
+ | `fullWidth` | `boolean` | false | SlToggleButton | Fills the inline size of the container. |
87
+ | `justify` | `center \| between` | center | SlToggleButton | Where the content sits along the inline axis: center keeps the label and end together in the middle; between sets the label at the start and end at the inline end, as a field trigger reads, with start beside the label. It mirrors in a right-to-left document. |
88
+ | `widest` | `readonly string[]` | — | SlToggleButton | Every text the label can take, for a label that changes under the pointer (the month of a stepper): the control reserves the width of its whole content with the widest of them, in tabular figures, and centers what is visible. A start that renders nothing keeps its room in the reservation and takes none beside the label, so a mark comes and goes at one width; --slotted-button-widest-start states the width reserved for a start narrower than an icon. The entries stay out of the accessible name; no effect under fullWidth. |
89
+ | `disabled` | `boolean` | false | SlToggleButton | Refuses the action and marks the control unavailable. On its own, it sets the native disabled property, which also removes the control from the tab sequence. |
90
+ | `focusableWhenDisabled` | `boolean` | false | SlToggleButton | Keeps a disabled control in the tab sequence: aria-disabled replaces the native property, and activation is still refused. |
91
+ | `loading` | `boolean` | false | SlToggleButton | Refuses activation, keeps focus, and shows a progress indicator named by messages.loading. |
92
+ | `loadingDelay` | `number` | 0 | SlToggleButton | Milliseconds before the indicator appears. Activation is refused from the start of the wait. |
93
+ | `messages` | `Partial<ButtonMessages>` | — | SlToggleButton | Overrides for the strings of the active locale, key by key. loading names the progress indicator. |
94
+ | `pressed` | `boolean` | — | SlToggleButton | The pressed state, controlled. Binding it makes you the owner of the value. |
95
+ | `defaultPressed` | `boolean` | false | SlToggleButton | The initial pressed state when the button owns it, read once. |
96
+ | `pressedChange` | `ChangeRequest<boolean>` | — | SlToggleButton | Emits the request: value, previous value, reason (pointer or keyboard), event and cancel(). |
97
+ | `type` | `button \| submit \| reset` | button | SlToggleButton | The native button type. Set submit only for a button that submits its form. |
@@ -358,6 +358,13 @@
358
358
  "appliesTo": "SlCalendar",
359
359
  "description": "What a day holds under its number: slCalendarDayMarks with one slCalendarDayMark per record (a tone or data-1 to data-8, hollow for an open record) and a one-line slCalendarDayValue. The family keeps the day’s button, focus, selection, today and outside-day states; state is outside, selected, today and unavailable."
360
360
  },
361
+ {
362
+ "name": "ng-template[slCalendarDayTooltip]",
363
+ "type": "let-date, let-state, [when]",
364
+ "defaultValue": "—",
365
+ "appliesTo": "SlCalendar",
366
+ "description": "What a tooltip says of a day, with the day as its trigger: it opens on hover and on the keyboard focus, and describes the day. when answers which days have one; every day unless stated."
367
+ },
361
368
  {
362
369
  "name": "dayLabel",
363
370
  "type": "(date) => string",
@@ -372,6 +379,20 @@
372
379
  "appliesTo": "SlCalendar",
373
380
  "description": "cells draws square cells of --slotted-calendar-cell-size; fill shares the inline size between the seven columns and takes the row height from --slotted-calendar-day-height."
374
381
  },
382
+ {
383
+ "name": "lines",
384
+ "type": "boolean",
385
+ "defaultValue": "false",
386
+ "appliesTo": "SlCalendar",
387
+ "description": "Hairlines between the days of the fill layout, in --slotted-calendar-line-color."
388
+ },
389
+ {
390
+ "name": "header",
391
+ "type": "boolean",
392
+ "defaultValue": "true",
393
+ "appliesTo": "SlCalendar",
394
+ "description": "The name of the page and the controls that turn it. false leaves them out, for a page with a month control of its own: the grid is named by its caption, and focusedDate turns the page."
395
+ },
375
396
  {
376
397
  "name": "locale",
377
398
  "type": "string",
@@ -500,6 +521,7 @@
500
521
  "--slotted-calendar-in-range-color",
501
522
  "--slotted-calendar-invalid-edge-width",
502
523
  "--slotted-calendar-invalid-focus-ring-color",
524
+ "--slotted-calendar-line-color",
503
525
  "--slotted-calendar-outside-color",
504
526
  "--slotted-calendar-preview-background",
505
527
  "--slotted-calendar-preview-border-color",
package/docs/calendar.md CHANGED
@@ -67,8 +67,11 @@ Excerpt — not a complete module
67
67
  | `outsideDays` | `'shown' \| 'selectable' \| 'hidden'` | shown | SlCalendar | What a day of the month either side does: drawn and not pressable, drawn and pressable, or not drawn. |
68
68
  | `marks` | `ReadonlyMap<string, CalendarMark>` | — | SlCalendar | What falls on each day, keyed by its ISO date: a dot under the number in the mark’s tone, and its count in the day’s accessible name (“12, 2 items”). Composes with every selection mode, min, max and outsideDays. |
69
69
  | `ng-template[slCalendarDay]` | `let-date, let-state` | — | SlCalendar | What a day holds under its number: slCalendarDayMarks with one slCalendarDayMark per record (a tone or data-1 to data-8, hollow for an open record) and a one-line slCalendarDayValue. The family keeps the day’s button, focus, selection, today and outside-day states; state is outside, selected, today and unavailable. |
70
+ | `ng-template[slCalendarDayTooltip]` | `let-date, let-state, [when]` | — | SlCalendar | What a tooltip says of a day, with the day as its trigger: it opens on hover and on the keyboard focus, and describes the day. when answers which days have one; every day unless stated. |
70
71
  | `dayLabel` | `(date) => string` | — | SlCalendar | Replaces the day’s generated accessible name, for a day whose content says more than a count. |
71
72
  | `layout` | `'cells' \| 'fill'` | cells | SlCalendar | cells draws square cells of --slotted-calendar-cell-size; fill shares the inline size between the seven columns and takes the row height from --slotted-calendar-day-height. |
73
+ | `lines` | `boolean` | false | SlCalendar | Hairlines between the days of the fill layout, in --slotted-calendar-line-color. |
74
+ | `header` | `boolean` | true | SlCalendar | The name of the page and the controls that turn it. false leaves them out, for a page with a month control of its own: the grid is named by its caption, and focusedDate turns the page. |
72
75
  | `locale` | `string` | the language in force | SlCalendar | BCP 47. Decides the month names, the weekday names and the day a week starts on. |
73
76
  | `timeZone` | `string` | the runtime’s | SlCalendar | Which zone answers "what is today". |
74
77
  | `firstDayOfWeek` | `number` | the locale’s | SlCalendar | 0 is Sunday. Overrides what the locale says, for a product that fixes one. |
@@ -113,7 +116,7 @@ Excerpt — not a complete module
113
116
 
114
117
  ## Tokens
115
118
 
116
- `--slotted-border-subtle`, `--slotted-border-width-thin`, `--slotted-calendar-active-background`, `--slotted-calendar-background`, `--slotted-calendar-cell-size`, `--slotted-calendar-color`, `--slotted-calendar-day-height`, `--slotted-calendar-day-radius`, `--slotted-calendar-disabled-color`, `--slotted-calendar-hover-background`, `--slotted-calendar-in-range-color`, `--slotted-calendar-invalid-edge-width`, `--slotted-calendar-invalid-focus-ring-color`, `--slotted-calendar-outside-color`, `--slotted-calendar-preview-background`, `--slotted-calendar-preview-border-color`, `--slotted-calendar-radius`, `--slotted-calendar-range-active-background`, `--slotted-calendar-range-background`, `--slotted-calendar-range-border-color`, `--slotted-calendar-range-hover-background`, `--slotted-calendar-selected-background`, `--slotted-calendar-selected-color`, `--slotted-calendar-today-color`, `--slotted-calendar-trigger-color`, `--slotted-calendar-unavailable-color`, `--slotted-calendar-week-number-border-color`, `--slotted-calendar-week-number-color`, `--slotted-calendar-weekday-color`, `--slotted-control-font-family`, `--slotted-control-font-size-md`, `--slotted-control-gap-md`, `--slotted-control-height-md`, `--slotted-control-icon-size-md`, `--slotted-control-invalid-edge-width`, `--slotted-control-radius`, `--slotted-control-transition-duration`, `--slotted-control-transition-easing`, `--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-disabled-background`, `--slotted-disabled-foreground`, `--slotted-focus-ring-color`, `--slotted-focus-ring-color-invalid`, `--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-highlight-tint-opacity`, `--slotted-radius-full`, `--slotted-radius-sm`, `--slotted-space-1`, `--slotted-space-2`, `--slotted-space-3`, `--slotted-space-4`, `--slotted-space-6`, `--slotted-target-min`, `--slotted-text`, `--slotted-text-muted`, `--slotted-tone-accent-border`, `--slotted-tone-accent-on-solid`, `--slotted-tone-accent-solid`, `--slotted-tone-accent-subtle-active`, `--slotted-tone-accent-subtle-hover`, `--slotted-tone-accent-text`, `--slotted-tone-danger-solid`, `--slotted-tone-info-solid`, `--slotted-tone-secondary-subtle-active`, `--slotted-tone-secondary-subtle-hover`, `--slotted-tone-success-solid`, `--slotted-tone-warning-solid`
119
+ `--slotted-border-subtle`, `--slotted-border-width-thin`, `--slotted-calendar-active-background`, `--slotted-calendar-background`, `--slotted-calendar-cell-size`, `--slotted-calendar-color`, `--slotted-calendar-day-height`, `--slotted-calendar-day-radius`, `--slotted-calendar-disabled-color`, `--slotted-calendar-hover-background`, `--slotted-calendar-in-range-color`, `--slotted-calendar-invalid-edge-width`, `--slotted-calendar-invalid-focus-ring-color`, `--slotted-calendar-line-color`, `--slotted-calendar-outside-color`, `--slotted-calendar-preview-background`, `--slotted-calendar-preview-border-color`, `--slotted-calendar-radius`, `--slotted-calendar-range-active-background`, `--slotted-calendar-range-background`, `--slotted-calendar-range-border-color`, `--slotted-calendar-range-hover-background`, `--slotted-calendar-selected-background`, `--slotted-calendar-selected-color`, `--slotted-calendar-today-color`, `--slotted-calendar-trigger-color`, `--slotted-calendar-unavailable-color`, `--slotted-calendar-week-number-border-color`, `--slotted-calendar-week-number-color`, `--slotted-calendar-weekday-color`, `--slotted-control-font-family`, `--slotted-control-font-size-md`, `--slotted-control-gap-md`, `--slotted-control-height-md`, `--slotted-control-icon-size-md`, `--slotted-control-invalid-edge-width`, `--slotted-control-radius`, `--slotted-control-transition-duration`, `--slotted-control-transition-easing`, `--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-disabled-background`, `--slotted-disabled-foreground`, `--slotted-focus-ring-color`, `--slotted-focus-ring-color-invalid`, `--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-highlight-tint-opacity`, `--slotted-radius-full`, `--slotted-radius-sm`, `--slotted-space-1`, `--slotted-space-2`, `--slotted-space-3`, `--slotted-space-4`, `--slotted-space-6`, `--slotted-target-min`, `--slotted-text`, `--slotted-text-muted`, `--slotted-tone-accent-border`, `--slotted-tone-accent-on-solid`, `--slotted-tone-accent-solid`, `--slotted-tone-accent-subtle-active`, `--slotted-tone-accent-subtle-hover`, `--slotted-tone-accent-text`, `--slotted-tone-danger-solid`, `--slotted-tone-info-solid`, `--slotted-tone-secondary-subtle-active`, `--slotted-tone-secondary-subtle-hover`, `--slotted-tone-success-solid`, `--slotted-tone-warning-solid`
117
120
 
118
121
  ## Examples
119
122
 
package/docs/chart.json CHANGED
@@ -939,7 +939,7 @@
939
939
  {
940
940
  "name": "rangeChange, rangeChangeRequest",
941
941
  "payload": "ChartRange | null, ChangeRequest<ChartRange | null>",
942
- "when": "With rangeSelectable, at each point a drag reaches, on Shift and an arrow, on a click without a drag and on Escape: pointer, keyboard, escape, programmatic."
942
+ "when": "With rangeSelectable, at each point a drag reaches, on Shift and an arrow, on a click or a tap without a drag and on Escape: pointer, keyboard, escape, programmatic."
943
943
  },
944
944
  {
945
945
  "name": "zoomChange, zoomChangeRequest",
package/docs/chart.md CHANGED
@@ -146,7 +146,7 @@ Excerpt — not a complete module
146
146
  | `hiddenChange, hiddenChangeRequest` | `readonly string[], ChangeRequest<readonly string[]>` | The request before a series is hidden or shown from the legend, from “Show all”, or isolated with Shift; the model change after it commits. Reasons: pointer, keyboard, programmatic. cancel() refuses it. |
147
147
  | `activePointChange, activePointChangeRequest` | `ChartPoint \| null, ChangeRequest<ChartPoint \| null>` | When the pointer or the arrows reach a point, and when it leaves: pointer, keyboard, blur, escape. The value two charts share to move together. |
148
148
  | `selectionChange, selectionChangeRequest` | `ChartPoint \| null, ChangeRequest<ChartPoint \| null>` | With selectable, on a click or Enter on a point, and on Escape: pointer, keyboard, escape, programmatic. |
149
- | `rangeChange, rangeChangeRequest` | `ChartRange \| null, ChangeRequest<ChartRange \| null>` | With rangeSelectable, at each point a drag reaches, on Shift and an arrow, on a click without a drag and on Escape: pointer, keyboard, escape, programmatic. |
149
+ | `rangeChange, rangeChangeRequest` | `ChartRange \| null, ChangeRequest<ChartRange \| null>` | With rangeSelectable, at each point a drag reaches, on Shift and an arrow, on a click or a tap without a drag and on Escape: pointer, keyboard, escape, programmatic. |
150
150
  | `zoomChange, zoomChangeRequest` | `ChartZoom, ChangeRequest<ChartZoom>` | With zoomable, on a wheel with Ctrl, + or −, 0, the reset control or a drag that pans a zoomed chart: pointer, keyboard, clear, escape, programmatic. |
151
151
  | `tableOpenChange, tableOpenChangeRequest` | `boolean, ChangeRequest<boolean>` | Before the plot switches between the drawing and the table: pointer, keyboard, escape, programmatic. |
152
152
  | `fullscreenChange, fullscreenChangeRequest` | `boolean, ChangeRequest<boolean>` | Before the chart takes or gives back the screen, and when the browser leaves full screen on its own: pointer, keyboard, escape, programmatic. |
@@ -161,7 +161,7 @@
161
161
  "part": "more",
162
162
  "element": "button",
163
163
  "required": false,
164
- "purpose": "The control a peeking panel draws over its fade, present only while the panel is closed and peek is set: it opens the panel and names it through aria-controls, as the header trigger does."
164
+ "purpose": "The control at the end of a peeking panel, past the fade and --slotted-collapsible-more-overlap over the panel, where the content is masked whole; a Button takes its place. Present only while the panel is closed and peek is set, it opens the panel and names it through aria-controls, as the header trigger does."
165
165
  }
166
166
  ],
167
167
  "api": [
@@ -339,6 +339,7 @@
339
339
  "--slotted-collapsible-hover-background",
340
340
  "--slotted-collapsible-hover-color",
341
341
  "--slotted-collapsible-indicator-color",
342
+ "--slotted-collapsible-more-overlap",
342
343
  "--slotted-collapsible-padding-inline",
343
344
  "--slotted-collapsible-panel-color",
344
345
  "--slotted-collapsible-panel-padding-block-start",
@@ -94,7 +94,7 @@ Excerpt — not a complete module
94
94
 
95
95
  ## Tokens
96
96
 
97
- `--slotted-border-subtle`, `--slotted-border-width-thin`, `--slotted-collapsible-active-background`, `--slotted-collapsible-background`, `--slotted-collapsible-border-color`, `--slotted-collapsible-color`, `--slotted-collapsible-description-color`, `--slotted-collapsible-hover-background`, `--slotted-collapsible-hover-color`, `--slotted-collapsible-indicator-color`, `--slotted-collapsible-padding-inline`, `--slotted-collapsible-panel-color`, `--slotted-collapsible-panel-padding-block-start`, `--slotted-collapsible-peek-fade`, `--slotted-collapsible-radius`, `--slotted-collapsible-rule-color`, `--slotted-collapsible-shadow`, `--slotted-collapsible-surface`, `--slotted-control-font-family`, `--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-letter-spacing`, `--slotted-control-padding-inline-lg`, `--slotted-control-padding-inline-md`, `--slotted-control-padding-inline-sm`, `--slotted-control-radius`, `--slotted-control-transition-duration`, `--slotted-control-transition-easing`, `--slotted-disabled-foreground`, `--slotted-duration-medium`, `--slotted-duration-short`, `--slotted-easing-standard`, `--slotted-focus-ring-color`, `--slotted-focus-ring-offset`, `--slotted-focus-ring-width`, `--slotted-font-size-lg`, `--slotted-font-size-md`, `--slotted-font-size-sm`, `--slotted-font-size-xs`, `--slotted-font-weight-medium`, `--slotted-font-weight-regular`, `--slotted-line-height-md`, `--slotted-radius-md`, `--slotted-space-3`, `--slotted-space-4`, `--slotted-space-5`, `--slotted-surface-raised`, `--slotted-text`, `--slotted-text-muted`, `--slotted-tone-secondary-subtle-active`, `--slotted-tone-secondary-subtle-hover`
97
+ `--slotted-border-subtle`, `--slotted-border-width-thin`, `--slotted-collapsible-active-background`, `--slotted-collapsible-background`, `--slotted-collapsible-border-color`, `--slotted-collapsible-color`, `--slotted-collapsible-description-color`, `--slotted-collapsible-hover-background`, `--slotted-collapsible-hover-color`, `--slotted-collapsible-indicator-color`, `--slotted-collapsible-more-overlap`, `--slotted-collapsible-padding-inline`, `--slotted-collapsible-panel-color`, `--slotted-collapsible-panel-padding-block-start`, `--slotted-collapsible-peek-fade`, `--slotted-collapsible-radius`, `--slotted-collapsible-rule-color`, `--slotted-collapsible-shadow`, `--slotted-collapsible-surface`, `--slotted-control-font-family`, `--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-letter-spacing`, `--slotted-control-padding-inline-lg`, `--slotted-control-padding-inline-md`, `--slotted-control-padding-inline-sm`, `--slotted-control-radius`, `--slotted-control-transition-duration`, `--slotted-control-transition-easing`, `--slotted-disabled-foreground`, `--slotted-duration-medium`, `--slotted-duration-short`, `--slotted-easing-standard`, `--slotted-focus-ring-color`, `--slotted-focus-ring-offset`, `--slotted-focus-ring-width`, `--slotted-font-size-lg`, `--slotted-font-size-md`, `--slotted-font-size-sm`, `--slotted-font-size-xs`, `--slotted-font-weight-medium`, `--slotted-font-weight-regular`, `--slotted-line-height-md`, `--slotted-radius-md`, `--slotted-space-3`, `--slotted-space-4`, `--slotted-space-5`, `--slotted-surface-raised`, `--slotted-text`, `--slotted-text-muted`, `--slotted-tone-secondary-subtle-active`, `--slotted-tone-secondary-subtle-hover`
98
98
 
99
99
  ## Examples
100
100
 
@@ -11,7 +11,9 @@
11
11
  "floatingPanel": {
12
12
  "nativeElement": "section",
13
13
  "defaults": {
14
- "defaultPlace": "bottom-end"
14
+ "defaultPlace": "bottom-end",
15
+ "step": 8,
16
+ "largeStep": 32
15
17
  },
16
18
  "capabilities": [
17
19
  "placement",
@@ -96,7 +98,7 @@
96
98
  "type": "'top-start' | 'top-end' | 'bottom-start' | 'bottom-end'",
97
99
  "defaultValue": "bottom-end",
98
100
  "appliesTo": "slFloatingPanel",
99
- "description": "The corner the panel first opens in, in the reading direction"
101
+ "description": "The corner the panel stands in until its first move, in the reading direction, --slotted-floating-panel-inset from the edges"
100
102
  },
101
103
  {
102
104
  "name": "place",
@@ -105,12 +107,26 @@
105
107
  "appliesTo": "slFloatingPanel",
106
108
  "description": "A controlled place, the top-left corner in viewport pixels, drawn inside the viewport"
107
109
  },
110
+ {
111
+ "name": "step",
112
+ "type": "number",
113
+ "defaultValue": "8",
114
+ "appliesTo": "slFloatingPanel",
115
+ "description": "Pixels an arrow key on the grip moves the panel"
116
+ },
117
+ {
118
+ "name": "largeStep",
119
+ "type": "number",
120
+ "defaultValue": "32",
121
+ "appliesTo": "slFloatingPanel",
122
+ "description": "Pixels an arrow key with Shift moves it"
123
+ },
108
124
  {
109
125
  "name": "placeChange",
110
126
  "type": "output<{ x: number; y: number }>",
111
127
  "defaultValue": "—",
112
128
  "appliesTo": "slFloatingPanel",
113
- "description": "Fired at the end of a move, by pointer or by key, for the application to store"
129
+ "description": "Fired once at the end of a move, by pointer or by key, for the application to store"
114
130
  },
115
131
  {
116
132
  "name": "label",
@@ -151,6 +167,7 @@
151
167
  "--slotted-control-inner-size-md",
152
168
  "--slotted-floating-panel-backdrop-filter",
153
169
  "--slotted-floating-panel-border-color",
170
+ "--slotted-floating-panel-inset",
154
171
  "--slotted-floating-panel-radius",
155
172
  "--slotted-floating-panel-rule-color",
156
173
  "--slotted-floating-panel-shadow",
@@ -168,6 +185,7 @@
168
185
  "--slotted-space-2",
169
186
  "--slotted-space-3",
170
187
  "--slotted-space-5",
188
+ "--slotted-space-6",
171
189
  "--slotted-surface-raised",
172
190
  "--slotted-text",
173
191
  "--slotted-text-muted",
@@ -186,7 +204,7 @@
186
204
  {
187
205
  "id": "keyboard",
188
206
  "title": "Moved by the keyboard, and stored where it was left",
189
- "note": "The grip takes focus; an arrow key moves the panel eight pixels, thirty-two with Shift. placeChange reports the end of every move, so the application stores the place and hands it back as place.",
207
+ "note": "The grip takes focus; an arrow key moves the panel by step, eight pixels, and by largeStep, thirty-two, with Shift. placeChange reports the end of every move, so the application stores the place and hands it back as place.",
190
208
  "language": "html",
191
209
  "source": "<section\n slFloatingPanel\n [open]=\"open()\"\n [place]=\"place()\"\n (openChange)=\"open.set($event)\"\n (placeChange)=\"place.set($event)\"\n>\n …\n</section>\n",
192
210
  "verdict": "excerpt"
@@ -48,9 +48,11 @@ Excerpt — not a complete module
48
48
  | --- | --- | --- | --- | --- |
49
49
  | `open` | `boolean` | — | slFloatingPanel | Whether the panel is drawn |
50
50
  | `openChange` | `output<boolean>` | — | slFloatingPanel | Asked with false on Escape inside the panel and on its close control |
51
- | `defaultPlace` | `'top-start' \| 'top-end' \| 'bottom-start' \| 'bottom-end'` | bottom-end | slFloatingPanel | The corner the panel first opens in, in the reading direction |
51
+ | `defaultPlace` | `'top-start' \| 'top-end' \| 'bottom-start' \| 'bottom-end'` | bottom-end | slFloatingPanel | The corner the panel stands in until its first move, in the reading direction, --slotted-floating-panel-inset from the edges |
52
52
  | `place` | `{ x: number; y: number }` | — | slFloatingPanel | A controlled place, the top-left corner in viewport pixels, drawn inside the viewport |
53
- | `placeChange` | `output<{ x: number; y: number }>` | — | slFloatingPanel | Fired at the end of a move, by pointer or by key, for the application to store |
53
+ | `step` | `number` | 8 | slFloatingPanel | Pixels an arrow key on the grip moves the panel |
54
+ | `largeStep` | `number` | 32 | slFloatingPanel | Pixels an arrow key with Shift moves it |
55
+ | `placeChange` | `output<{ x: number; y: number }>` | — | slFloatingPanel | Fired once at the end of a move, by pointer or by key, for the application to store |
54
56
  | `label` | `string` | — | slFloatingPanel | The region’s name when no slFloatingPanelTitle names it |
55
57
  | `messages` | `PartialMessages<FloatingPanelMessages>` | — | slFloatingPanel | Words laid over the catalog of the language in force: close, move |
56
58
  | `native props` | `section, div, h2, button attributes` | — | every part | Reach the element each part renders |
@@ -64,13 +66,13 @@ Excerpt — not a complete module
64
66
 
65
67
  ## Tokens
66
68
 
67
- `--slotted-border-strong`, `--slotted-border-subtle`, `--slotted-border-width-thin`, `--slotted-control-inner-size-md`, `--slotted-floating-panel-backdrop-filter`, `--slotted-floating-panel-border-color`, `--slotted-floating-panel-radius`, `--slotted-floating-panel-rule-color`, `--slotted-floating-panel-shadow`, `--slotted-floating-panel-surface`, `--slotted-focus-ring-color`, `--slotted-focus-ring-offset`, `--slotted-focus-ring-width`, `--slotted-font-family-heading`, `--slotted-font-family-sans`, `--slotted-font-size-sm`, `--slotted-font-weight-semibold`, `--slotted-radius-lg`, `--slotted-radius-sm`, `--slotted-shadow-lg`, `--slotted-space-2`, `--slotted-space-3`, `--slotted-space-5`, `--slotted-surface-raised`, `--slotted-text`, `--slotted-text-muted`, `--slotted-tone-secondary-subtle-hover`, `--slotted-z-index-popover`
69
+ `--slotted-border-strong`, `--slotted-border-subtle`, `--slotted-border-width-thin`, `--slotted-control-inner-size-md`, `--slotted-floating-panel-backdrop-filter`, `--slotted-floating-panel-border-color`, `--slotted-floating-panel-inset`, `--slotted-floating-panel-radius`, `--slotted-floating-panel-rule-color`, `--slotted-floating-panel-shadow`, `--slotted-floating-panel-surface`, `--slotted-focus-ring-color`, `--slotted-focus-ring-offset`, `--slotted-focus-ring-width`, `--slotted-font-family-heading`, `--slotted-font-family-sans`, `--slotted-font-size-sm`, `--slotted-font-weight-semibold`, `--slotted-radius-lg`, `--slotted-radius-sm`, `--slotted-shadow-lg`, `--slotted-space-2`, `--slotted-space-3`, `--slotted-space-5`, `--slotted-space-6`, `--slotted-surface-raised`, `--slotted-text`, `--slotted-text-muted`, `--slotted-tone-secondary-subtle-hover`, `--slotted-z-index-popover`
68
70
 
69
71
  ## Examples
70
72
 
71
73
  ### Moved by the keyboard, and stored where it was left
72
74
 
73
- The grip takes focus; an arrow key moves the panel eight pixels, thirty-two with Shift. placeChange reports the end of every move, so the application stores the place and hands it back as place.
75
+ The grip takes focus; an arrow key moves the panel by step, eight pixels, and by largeStep, thirty-two, with Shift. placeChange reports the end of every move, so the application stores the place and hands it back as place.
74
76
 
75
77
  Excerpt — not a complete module
76
78
 
package/docs/message.json CHANGED
@@ -306,6 +306,13 @@
306
306
  "appliesTo": "slMessageReceipt",
307
307
  "description": "The receipt’s own status"
308
308
  },
309
+ {
310
+ "name": "variant",
311
+ "type": "'bubble' | 'plain'",
312
+ "defaultValue": "bubble",
313
+ "appliesTo": "slMessageActivity",
314
+ "description": "bubble draws a raised frame around the steps; plain draws the steps alone, with no border, ground or inset, for a turn that stands on a rail"
315
+ },
309
316
  {
310
317
  "name": "status",
311
318
  "type": "'complete' | 'current' | 'pending'",
package/docs/message.md CHANGED
@@ -85,6 +85,7 @@ Excerpt — not a complete module
85
85
  | `versionCount` | `number` | 1 | slMessage | How many versions exist; the pager draws with two or more |
86
86
  | `messages` | `PartialMessages<MessageMessages>` | — | slMessage | Words laid over the language in force, key by key, for the row and every part and bubble inside it; a bubble outside a row speaks the language in force |
87
87
  | `status` | `'sending' \| 'sent' \| 'delivered' \| 'read' \| 'failed'` | the row’s | slMessageReceipt | The receipt’s own status |
88
+ | `variant` | `'bubble' \| 'plain'` | bubble | slMessageActivity | bubble draws a raised frame around the steps; plain draws the steps alone, with no border, ground or inset, for a turn that stands on a rail |
88
89
  | `status` | `'complete' \| 'current' \| 'pending'` | current | slMessageActivityStep | Done with a tick, in progress with the ring, or waiting |
89
90
  | `datetime` | `string` | — | time[slMessageTime] | The time element’s own machine-readable value |
90
91
  | `exportAs` | `slMessage, slMessageGroup` | — | slMessage, slMessageGroup | The instance: version(), requestVersion() and the resolved layout |
package/docs/page.json CHANGED
@@ -216,6 +216,13 @@
216
216
  "appliesTo": "an injector",
217
217
  "description": "The five decisions an application takes once. A page that states any of them itself still wins"
218
218
  },
219
+ {
220
+ "name": "--slotted-page-gap, --slotted-page-section-space",
221
+ "type": "runtime properties on the body",
222
+ "defaultValue": "—",
223
+ "appliesTo": "a stack of blocks deeper in the page: a tab panel, a column beside an aside",
224
+ "description": "The distances between two blocks and above a section without a surface, as the page resolves them, the compact step below 600 pixels included: gap: var(--slotted-page-gap) stacks blocks as the body stacks its own"
225
+ },
219
226
  {
220
227
  "name": "--slotted-page-sticky-top, --slotted-page-sticky-bottom, --slotted-page-scrollport-block-size",
221
228
  "type": "runtime properties on the scroller",
package/docs/page.md CHANGED
@@ -51,6 +51,7 @@ Excerpt — not a complete module
51
51
  | `slPage on any element` | `directive` | — | the consumer’s own element | main keeps its native landmark; an article or a div gets role="main" unless landmark="none". The scroll part is the component’s, because it is the scroller |
52
52
  | `exportAs slPage` | `SlPage` | — | a template reference | The resolved width, inset, scroll and ground as signals, which the header and the footer inject |
53
53
  | `providePageDefaults()` | `{ width, inset, scroll, ground, landmark }` | — | an injector | The five decisions an application takes once. A page that states any of them itself still wins |
54
+ | `--slotted-page-gap, --slotted-page-section-space` | `runtime properties on the body` | — | a stack of blocks deeper in the page: a tab panel, a column beside an aside | The distances between two blocks and above a section without a surface, as the page resolves them, the compact step below 600 pixels included: gap: var(--slotted-page-gap) stacks blocks as the body stacks its own |
54
55
  | `--slotted-page-sticky-top, --slotted-page-sticky-bottom, --slotted-page-scrollport-block-size` | `runtime properties on the scroller` | — | every family under the page, and the consumer’s own sticky elements inside it | The height of the chrome that stays at the top, written by the header, of the footer, and of the scroller itself, written by the page. A section’s sticky header reads the first; a table with stickyTo="page" reads both through the bridge the page writes on its root. A consumer’s own position: sticky element reads the first as well: inset-block-start: calc(var(--slotted-page-sticky-top, 0px) + gap) stops it under the chrome instead of behind the stuck header, and max-block-size: calc(var(--slotted-page-scrollport-block-size, 100dvh) - var(--slotted-page-sticky-top, 0px) - var(--slotted-page-sticky-bottom, 0px) - 2 * gap) bounds one that may be taller than the scroller. The third is the scroller’s visible height, written by the page; under an inset canvas the scroller is shorter than the viewport |
55
56
  | `native attributes` | `on every part` | — | every part | Every directive sits on the consumer’s own element, so id, class, role and every listener stay where they were written; role and aria-label are read with HostAttributeToken before anything is written over them |
56
57
 
package/docs/section.json CHANGED
@@ -66,14 +66,15 @@
66
66
  "tags",
67
67
  "description",
68
68
  "actions",
69
- "body"
69
+ "body",
70
+ "bleed"
70
71
  ]
71
72
  }
72
73
  },
73
74
  "docs": {
74
75
  "section": {
75
76
  "imports": {
76
- "source": "import { SlSection, SlSectionHeader, SlSectionTitle, SlSectionEyebrow, SlSectionHeading, SlSectionTags, SlSectionDescription, SlSectionActions, SlSectionBody, provideSectionDefaults } from '@slotted/angular/section';",
77
+ "source": "import { SlSection, SlSectionHeader, SlSectionTitle, SlSectionEyebrow, SlSectionHeading, SlSectionTags, SlSectionDescription, SlSectionActions, SlSectionBleed, SlSectionBody, provideSectionDefaults } from '@slotted/angular/section';",
77
78
  "selector": "[slSection], [slSectionHeader], [slSectionTitle], [slSectionEyebrow], [slSectionHeading], [slSectionTags], [slSectionDescription], [slSectionActions], [slSectionBody]",
78
79
  "exportAs": "slSection, slSectionHeading"
79
80
  },
@@ -139,6 +140,13 @@
139
140
  "element": "the element carrying slSectionBody",
140
141
  "required": true,
141
142
  "purpose": "The content, with slHeadingLevel as a host directive, so a section inside it takes the next rank without being told."
143
+ },
144
+ {
145
+ "part": "bleed",
146
+ "parent": "body",
147
+ "element": "[slSectionBleed]",
148
+ "required": false,
149
+ "purpose": "A child of the body that bleeds alone, in the body or in the one stack the body holds: in a surface section it runs to the panel’s inline edges, and to its lower corners when it is the last of the panel, while the rest of the body keeps the inset."
142
150
  }
143
151
  ],
144
152
  "api": [
package/docs/section.md CHANGED
@@ -6,7 +6,7 @@
6
6
  ## Import
7
7
 
8
8
  ```ts
9
- import { SlSection, SlSectionHeader, SlSectionTitle, SlSectionEyebrow, SlSectionHeading, SlSectionTags, SlSectionDescription, SlSectionActions, SlSectionBody, provideSectionDefaults } from '@slotted/angular/section';
9
+ import { SlSection, SlSectionHeader, SlSectionTitle, SlSectionEyebrow, SlSectionHeading, SlSectionTags, SlSectionDescription, SlSectionActions, SlSectionBleed, SlSectionBody, provideSectionDefaults } from '@slotted/angular/section';
10
10
  ```
11
11
 
12
12
  Selector: `[slSection], [slSectionHeader], [slSectionTitle], [slSectionEyebrow], [slSectionHeading], [slSectionTags], [slSectionDescription], [slSectionActions], [slSectionBody]` · exportAs: `slSection, slSectionHeading`
@@ -37,6 +37,7 @@ Excerpt — not a complete module
37
37
  | `description` | `title` | the p carrying slSectionDescription | no |
38
38
  | `actions` | `header` | the element carrying slSectionActions | no |
39
39
  | `body` | `root` | the element carrying slSectionBody | yes |
40
+ | `bleed` | `body` | [slSectionBleed] | no |
40
41
 
41
42
  ## Props
42
43
 
@@ -19,7 +19,7 @@ Take the first row that reaches the change.
19
19
  | How tight controls and rows are | the density: `comfortable`, `compact`, `dense` | `data-slotted-density`, or the density of the `slThemeScope` directive from `@slotted/angular/theme` |
20
20
  | How round corners are, chosen by the reader | the corners: `square`, `soft`, `standard`, `round` | `data-slotted-corners`, or the corners of the `slThemeScope` directive from `@slotted/angular/theme`; the theme's `corners` holds each radius scale |
21
21
  | How deep a scheme's grounds sit, or how far each layer steps from the one below | the recipe: one derivation per token per scheme | the theme's `recipe`, spread from the base theme's, as below; `themeConformance` still checks every contrast |
22
- | A recipe derivation chosen by the reader: an OLED black page, a stronger border | a variant: an axis, its values, a partial recipe per scheme | the theme's `variants`; `data-slotted-variant-<axis>` set to the value; `themeConformance` checks each value |
22
+ | A scheme's values chosen by the reader: an OLED black page, flat shadows | a variant: per scheme, a derivation or a CSS value per token | the theme's `variants`; `data-slotted-variant-<axis>` set to the value; `themeConformance` checks each value |
23
23
  | Spacing, corners, type, lines, shadows or motion | a token of a group in `../../tokens.md` | the theme's `base`; `schemes` for a value per scheme; `densities` per density |
24
24
  | One family's look | a token the family's page lists under Tokens | the theme's `components` |
25
25
  | What no token reaches | a theme rule | the theme's `rules` |