@fusion.dev/helix-headless 0.132.0 → 0.133.1

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.
@@ -7777,6 +7777,10 @@
7777
7777
  {
7778
7778
  "description": "The inner control.",
7779
7779
  "name": "button"
7780
+ },
7781
+ {
7782
+ "description": "The button's words, which the styled button trims to their capitals and baseline so the letters sit at the middle in any font.",
7783
+ "name": "text"
7780
7784
  }
7781
7785
  ],
7782
7786
  "slots": [
@@ -21869,6 +21873,10 @@
21869
21873
  "description": "The clipboard icon, and the check mark that replaces it after a copy.",
21870
21874
  "name": "copy-mark"
21871
21875
  },
21876
+ {
21877
+ "description": "The words on that button, trimmed to their capitals and baseline.",
21878
+ "name": "copy-text"
21879
+ },
21872
21880
  {
21873
21881
  "description": "The copy button's tooltip.",
21874
21882
  "name": "copy-tooltip"
@@ -23189,6 +23197,10 @@
23189
23197
  "description": "The button inside `picker-eyedropper`.",
23190
23198
  "name": "picker-eyedropper-button"
23191
23199
  },
23200
+ {
23201
+ "description": "The words on the button inside `picker-eyedropper`.",
23202
+ "name": "picker-eyedropper-text"
23203
+ },
23192
23204
  {
23193
23205
  "description": "The row holding the value and the tools.",
23194
23206
  "name": "picker-footer"
@@ -23201,6 +23213,10 @@
23201
23213
  "description": "The button inside `picker-format`.",
23202
23214
  "name": "picker-format-button"
23203
23215
  },
23216
+ {
23217
+ "description": "The words on the button inside `picker-format`.",
23218
+ "name": "picker-format-text"
23219
+ },
23204
23220
  {
23205
23221
  "description": "The saturation and brightness square.",
23206
23222
  "name": "picker-grid"
@@ -25149,6 +25165,10 @@
25149
25165
  "description": "The button inside `eyedropper`.",
25150
25166
  "name": "eyedropper-button"
25151
25167
  },
25168
+ {
25169
+ "description": "The words on that button, trimmed to their capitals and baseline.",
25170
+ "name": "eyedropper-text"
25171
+ },
25152
25172
  {
25153
25173
  "description": "The row holding the value and the tools.",
25154
25174
  "name": "footer"
@@ -25161,6 +25181,10 @@
25161
25181
  "description": "The button inside `format`.",
25162
25182
  "name": "format-button"
25163
25183
  },
25184
+ {
25185
+ "description": "The words on that button, trimmed to their capitals and baseline.",
25186
+ "name": "format-text"
25187
+ },
25164
25188
  {
25165
25189
  "description": "The saturation and brightness square. Draw the mark that shows where the color sits with `::part(grid)::after` in your stylesheet. The square carries the two channels as `--color-picker-saturation` and `--color-picker-brightness`, and this tier ships no CSS.",
25166
25190
  "name": "grid"
@@ -29839,6 +29863,14 @@
29839
29863
  {
29840
29864
  "description": "The bubble while it is above the button. Set together with `tooltip`.",
29841
29865
  "name": "tooltip-top"
29866
+ },
29867
+ {
29868
+ "description": "The button's words, which the styled button trims to their capitals and baseline so the letters sit at the middle in any font.",
29869
+ "name": "text",
29870
+ "inheritedFrom": {
29871
+ "name": "HelixHeadlessButton",
29872
+ "module": "src/button/root/button-root.ts"
29873
+ }
29842
29874
  }
29843
29875
  ],
29844
29876
  "slots": [
@@ -54019,6 +54051,14 @@
54019
54051
  "name": "HelixHeadlessButton",
54020
54052
  "module": "src/button/root/button-root.ts"
54021
54053
  }
54054
+ },
54055
+ {
54056
+ "description": "The button's words, which the styled button trims to their capitals and baseline so the letters sit at the middle in any font.",
54057
+ "name": "text",
54058
+ "inheritedFrom": {
54059
+ "name": "HelixHeadlessButton",
54060
+ "module": "src/button/root/button-root.ts"
54061
+ }
54022
54062
  }
54023
54063
  ],
54024
54064
  "slots": [
@@ -82379,6 +82419,10 @@
82379
82419
  "description": "The clipboard icon, and the confirmation icon that replaces it.",
82380
82420
  "name": "copy-mark"
82381
82421
  },
82422
+ {
82423
+ "description": "The words on that button, trimmed to their capitals and baseline.",
82424
+ "name": "copy-text"
82425
+ },
82382
82426
  {
82383
82427
  "description": "The tooltip, forwarded from the copy button's tooltip.",
82384
82428
  "name": "copy-tooltip"
@@ -104924,6 +104968,10 @@
104924
104968
  "description": "The button inside the label.",
104925
104969
  "name": "label-button"
104926
104970
  },
104971
+ {
104972
+ "description": "The words on that button, trimmed to their capitals and baseline.",
104973
+ "name": "label-text"
104974
+ },
104927
104975
  {
104928
104976
  "description": "The glyph inside the marker: a tick, a dot, or an empty ring.",
104929
104977
  "name": "mark"
@@ -123631,6 +123679,10 @@
123631
123679
  "description": "The button inside `back`.",
123632
123680
  "name": "back-button"
123633
123681
  },
123682
+ {
123683
+ "description": "The words on that button, trimmed to their capitals and baseline.",
123684
+ "name": "back-text"
123685
+ },
123634
123686
  {
123635
123687
  "description": "The panel that points at the target.",
123636
123688
  "name": "bubble"
@@ -123647,6 +123699,10 @@
123647
123699
  "description": "The button inside `next`.",
123648
123700
  "name": "next-button"
123649
123701
  },
123702
+ {
123703
+ "description": "The words on that button, trimmed to their capitals and baseline.",
123704
+ "name": "next-text"
123705
+ },
123650
123706
  {
123651
123707
  "description": "The control that ends the tour early.",
123652
123708
  "name": "skip"
@@ -123654,6 +123710,10 @@
123654
123710
  {
123655
123711
  "description": "The button inside `skip`.",
123656
123712
  "name": "skip-button"
123713
+ },
123714
+ {
123715
+ "description": "The words on that button, trimmed to their capitals and baseline.",
123716
+ "name": "skip-text"
123657
123717
  }
123658
123718
  ],
123659
123719
  "slots": [
@@ -31,6 +31,7 @@ import { type PropertyValues, type TemplateResult } from 'lit';
31
31
  * @slot start - Content before the label, usually an icon.
32
32
  *
33
33
  * @csspart button - The inner control.
34
+ * @csspart text - The button's words, which the styled button trims to their capitals and baseline so the letters sit at the middle in any font.
34
35
  */
35
36
  export declare class HelixHeadlessButton extends HelixFormElement {
36
37
  protected readonly aria: AriaForwardController;
@@ -117,7 +117,7 @@ let HelixHeadlessButton = class HelixHeadlessButton extends HelixFormElement {
117
117
  this.linkCommand();
118
118
  }
119
119
  render() {
120
- const label = html `<slot name="start"></slot><slot></slot><slot name="end"></slot>`;
120
+ const label = html `<slot name="start"></slot><slot part="text"></slot><slot name="end"></slot>`;
121
121
  const stop = this.focusable ? nothing : '-1';
122
122
  return html `<button
123
123
  part="button"
@@ -43,6 +43,7 @@ import '../../copy-button/index.js';
43
43
  * @csspart copy - The copy button. It sits in the header when there is one, and beside the code otherwise.
44
44
  * @csspart copy-button - The inner button.
45
45
  * @csspart copy-mark - The clipboard icon, and the check mark that replaces it after a copy.
46
+ * @csspart copy-text - The words on that button, trimmed to their capitals and baseline.
46
47
  * @csspart copy-tooltip - The copy button's tooltip.
47
48
  * @csspart copy-tooltip-arrow - The tooltip's arrow, which points at the copy button.
48
49
  * @csspart copy-tooltip-arrow-bottom - The arrow while the tooltip is below the copy button, on the tooltip's top edge. Applied with `copy-tooltip-arrow`.
@@ -64,7 +64,7 @@ let HelixHeadlessCodeBlock = class HelixHeadlessCodeBlock extends HelixElement {
64
64
  renderCopyButton(value = this.text) {
65
65
  return html `<${this.tag('copy-button')}
66
66
  part="copy"
67
- exportparts="button: copy-button, mark: copy-mark, tooltip: copy-tooltip,
67
+ exportparts="button: copy-button, text: copy-text, mark: copy-mark, tooltip: copy-tooltip,
68
68
  tooltip-arrow: copy-tooltip-arrow, tooltip-arrow-bottom: copy-tooltip-arrow-bottom,
69
69
  tooltip-arrow-left: copy-tooltip-arrow-left, tooltip-arrow-right: copy-tooltip-arrow-right,
70
70
  tooltip-arrow-top: copy-tooltip-arrow-top, tooltip-bottom: copy-tooltip-bottom,
@@ -67,9 +67,11 @@ declare const HelixHeadlessColorInput_base: (new (...args: any[]) => import("@fu
67
67
  * @csspart picker-controls - The row under the square.
68
68
  * @csspart picker-eyedropper - The control that samples a color from the screen.
69
69
  * @csspart picker-eyedropper-button - The button inside `picker-eyedropper`.
70
+ * @csspart picker-eyedropper-text - The words on the button inside `picker-eyedropper`.
70
71
  * @csspart picker-footer - The row holding the value and the tools.
71
72
  * @csspart picker-format - The control that changes the syntax the value is written in.
72
73
  * @csspart picker-format-button - The button inside `picker-format`.
74
+ * @csspart picker-format-text - The words on the button inside `picker-format`.
73
75
  * @csspart picker-grid - The saturation and brightness square.
74
76
  * @csspart picker-grid-brightness - The range input for the square's vertical axis.
75
77
  * @csspart picker-grid-handle - The mark showing where in the square the color sits.
@@ -85,8 +85,8 @@ let HelixHeadlessColorInput = class HelixHeadlessColorInput extends MixinPickerF
85
85
  channel-marker: picker-channel-marker, channel-marker-label: picker-channel-marker-label,
86
86
  channel-markers: picker-channel-markers, channel-output: picker-channel-output,
87
87
  channels: picker-channels, controls: picker-controls, eyedropper: picker-eyedropper,
88
- eyedropper-button: picker-eyedropper-button, footer: picker-footer, format: picker-format,
89
- format-button: picker-format-button, grid: picker-grid,
88
+ eyedropper-button: picker-eyedropper-button, eyedropper-text: picker-eyedropper-text, footer: picker-footer, format: picker-format,
89
+ format-button: picker-format-button, format-text: picker-format-text, grid: picker-grid,
90
90
  grid-brightness: picker-grid-brightness, grid-handle: picker-grid-handle,
91
91
  grid-saturation: picker-grid-saturation, icon: picker-icon, sample: picker-sample,
92
92
  swatch: picker-swatch, swatches: picker-swatches, value: picker-value"
@@ -51,9 +51,11 @@ declare const HelixHeadlessColorPicker_base: (new (...args: any[]) => import("@f
51
51
  * @csspart controls - The row under the square.
52
52
  * @csspart eyedropper - The control that samples a color from the screen.
53
53
  * @csspart eyedropper-button - The button inside `eyedropper`.
54
+ * @csspart eyedropper-text - The words on that button, trimmed to their capitals and baseline.
54
55
  * @csspart footer - The row holding the value and the tools.
55
56
  * @csspart format - The control that changes the syntax the value is written in.
56
57
  * @csspart format-button - The button inside `format`.
58
+ * @csspart format-text - The words on that button, trimmed to their capitals and baseline.
57
59
  * @csspart grid - The saturation and brightness square. Draw the mark that shows
58
60
  * where the color sits with `::part(grid)::after` in your stylesheet. The
59
61
  * square carries the two channels as `--color-picker-saturation` and
@@ -219,7 +219,7 @@ let HelixHeadlessColorPicker = class HelixHeadlessColorPicker extends MixinContr
219
219
  ${this.sampling && !this.noEyedropper
220
220
  ? html `<${this.tag('button')}
221
221
  part="eyedropper"
222
- exportparts="button: eyedropper-button"
222
+ exportparts="button: eyedropper-button, text: eyedropper-text"
223
223
  aria-label=${this.eyedropperLabel}
224
224
  ?disabled=${this.isDisabled}
225
225
  @click=${this.handleEyeDropper}
@@ -231,7 +231,7 @@ let HelixHeadlessColorPicker = class HelixHeadlessColorPicker extends MixinContr
231
231
  ? nothing
232
232
  : html `<${this.tag('button')}
233
233
  part="format"
234
- exportparts="button: format-button"
234
+ exportparts="button: format-button, text: format-text"
235
235
  aria-label=${fillTemplate(this.formatLabel, { format: this.format ?? 'hex' })}
236
236
  ?disabled=${this.isDisabled}
237
237
  @click=${this.handleFormat}
@@ -55,6 +55,7 @@ interface Row {
55
55
  * @csspart copy - The copy button, which copies the active row.
56
56
  * @csspart copy-button - The button inside the copy control.
57
57
  * @csspart copy-mark - The clipboard icon, and the confirmation icon that replaces it.
58
+ * @csspart copy-text - The words on that button, trimmed to their capitals and baseline.
58
59
  * @csspart copy-tooltip - The tooltip, forwarded from the copy button's tooltip.
59
60
  * @csspart copy-tooltip-arrow - The tooltip's arrow, pointing at the copy button.
60
61
  * @csspart copy-tooltip-arrow-bottom - The arrow while the tooltip is below the copy button, on the tooltip's top edge. Set alongside `copy-tooltip-arrow`.
@@ -288,7 +288,7 @@ let HelixHeadlessObjectInspector = class HelixHeadlessObjectInspector extends He
288
288
  renderCopyButton(row) {
289
289
  return staticHtml `<${this.tag('copy-button')}
290
290
  part="copy"
291
- exportparts="button: copy-button, mark: copy-mark, tooltip: copy-tooltip,
291
+ exportparts="button: copy-button, text: copy-text, mark: copy-mark, tooltip: copy-tooltip,
292
292
  tooltip-arrow: copy-tooltip-arrow, tooltip-arrow-bottom: copy-tooltip-arrow-bottom,
293
293
  tooltip-arrow-left: copy-tooltip-arrow-left, tooltip-arrow-right: copy-tooltip-arrow-right,
294
294
  tooltip-arrow-top: copy-tooltip-arrow-top, tooltip-bottom: copy-tooltip-bottom,
@@ -38,6 +38,7 @@ import '../../button/index.js';
38
38
  * @csspart description - The line under the name.
39
39
  * @csspart label - The step's name, which is a control.
40
40
  * @csspart label-button - The button inside the label.
41
+ * @csspart label-text - The words on that button, trimmed to their capitals and baseline.
41
42
  * @csspart mark - The glyph inside the marker: a tick, a dot, or an empty ring.
42
43
  * @csspart marker - The shape carrying the number or the check.
43
44
  */
@@ -40,7 +40,7 @@ let HelixHeadlessStep = class HelixHeadlessStep extends HelixElement {
40
40
  renderLabel() {
41
41
  return html `<${this.tag('button')}
42
42
  part="label"
43
- exportparts="button: label-button"
43
+ exportparts="button: label-button, text: label-text"
44
44
  emphasis="ghost"
45
45
  ?disabled=${this.disabled}
46
46
  @click=${this.select}
@@ -43,12 +43,15 @@ import '../../button/index.js';
43
43
  * @csspart arrow-top - The arrow while the panel is above its target, on the panel's bottom edge. Applied with `arrow`.
44
44
  * @csspart back - The control that goes to the previous stop.
45
45
  * @csspart back-button - The button inside `back`.
46
+ * @csspart back-text - The words on that button, trimmed to their capitals and baseline.
46
47
  * @csspart bubble - The panel that points at the target.
47
48
  * @csspart content - The region holding the slotted content.
48
49
  * @csspart next - The control that goes to the next stop, and finishes the tour on the last stop.
49
50
  * @csspart next-button - The button inside `next`.
51
+ * @csspart next-text - The words on that button, trimmed to their capitals and baseline.
50
52
  * @csspart skip - The control that ends the tour early.
51
53
  * @csspart skip-button - The button inside `skip`.
54
+ * @csspart skip-text - The words on that button, trimmed to their capitals and baseline.
52
55
  *
53
56
  * @cssstate placed-bottom - The panel sits below its target.
54
57
  * @cssstate placed-left - The panel sits to the left of its target.
@@ -60,14 +60,14 @@ let HelixHeadlessTourStop = class HelixHeadlessTourStop extends HelixElement {
60
60
  return html `<slot name="actions">
61
61
  <${this.tag('button')}
62
62
  part="skip"
63
- exportparts="button: skip-button" emphasis="ghost" @click=${() => this.ask('skip')}>
63
+ exportparts="button: skip-button, text: skip-text" emphasis="ghost" @click=${() => this.ask('skip')}>
64
64
  ${this.skipLabel}
65
65
  </${this.tag('button')}>
66
66
  ${this.first
67
67
  ? ''
68
68
  : html `<${this.tag('button')}
69
69
  part="back"
70
- exportparts="button: back-button"
70
+ exportparts="button: back-button, text: back-text"
71
71
  emphasis="outlined"
72
72
  @click=${() => this.ask('back')}
73
73
  >
@@ -75,7 +75,7 @@ let HelixHeadlessTourStop = class HelixHeadlessTourStop extends HelixElement {
75
75
  </${this.tag('button')}>`}
76
76
  <${this.tag('button')}
77
77
  part="next"
78
- exportparts="button: next-button"
78
+ exportparts="button: next-button, text: next-text"
79
79
  emphasis="solid"
80
80
  tone="primary"
81
81
  @click=${() => this.ask('next')}
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@fusion.dev/helix-headless",
3
3
  "description": "Headless component tier. Structure, accessibility, state, and form participation. No styling.",
4
- "version": "0.132.0",
4
+ "version": "0.133.1",
5
5
  "license": "MIT",
6
6
  "author": "Ross Sheppard <ross.sheppard@fusion.dev>",
7
7
  "repository": {
@@ -46,13 +46,13 @@
46
46
  },
47
47
  "bugs": "https://github.com/project-fusion/fusion/issues",
48
48
  "dependencies": {
49
- "@fusion.dev/helix-core": "0.132.0",
50
- "@fusion.dev/helix-icons": "0.132.0",
49
+ "@fusion.dev/helix-core": "0.133.1",
50
+ "@fusion.dev/helix-icons": "0.133.1",
51
51
  "uqr": "^0.1.3"
52
52
  },
53
53
  "devDependencies": {
54
- "@fusion.dev/helix-cem": "0.132.0",
55
- "@fusion.dev/helix-testing": "0.132.0",
54
+ "@fusion.dev/helix-cem": "0.133.1",
55
+ "@fusion.dev/helix-testing": "0.133.1",
56
56
  "@fusion.dev/scripts": "0.0.0-dev",
57
57
  "@happy-dom/global-registrator": "^20.0.0",
58
58
  "@lit-labs/ssr": "^4.1.0",
package/types/jsx.d.ts CHANGED
@@ -25083,6 +25083,7 @@ export type CustomElements = {
25083
25083
  * Custom selectors for styling elements within the component.
25084
25084
  *
25085
25085
  * - `button`: The inner control.
25086
+ * - `text`: The button's words, which the styled button trims to their capitals and baseline so the letters sit at the middle in any font.
25086
25087
  *
25087
25088
  * ## CSS States
25088
25089
  *
@@ -26927,6 +26928,7 @@ export type CustomElements = {
26927
26928
  * - `copy`: The copy button. It sits in the header when there is one, and beside the code otherwise.
26928
26929
  * - `copy-button`: The inner button.
26929
26930
  * - `copy-mark`: The clipboard icon, and the check mark that replaces it after a copy.
26931
+ * - `copy-text`: The words on that button, trimmed to their capitals and baseline.
26930
26932
  * - `copy-tooltip`: The copy button's tooltip.
26931
26933
  * - `copy-tooltip-arrow`: The tooltip's arrow, which points at the copy button.
26932
26934
  * - `copy-tooltip-arrow-bottom`: The arrow while the tooltip is below the copy button, on the tooltip's top edge. Applied with `copy-tooltip-arrow`.
@@ -27284,9 +27286,11 @@ export type CustomElements = {
27284
27286
  * - `picker-controls`: The row under the square.
27285
27287
  * - `picker-eyedropper`: The control that samples a color from the screen.
27286
27288
  * - `picker-eyedropper-button`: The button inside `picker-eyedropper`.
27289
+ * - `picker-eyedropper-text`: The words on the button inside `picker-eyedropper`.
27287
27290
  * - `picker-footer`: The row holding the value and the tools.
27288
27291
  * - `picker-format`: The control that changes the syntax the value is written in.
27289
27292
  * - `picker-format-button`: The button inside `picker-format`.
27293
+ * - `picker-format-text`: The words on the button inside `picker-format`.
27290
27294
  * - `picker-grid`: The saturation and brightness square.
27291
27295
  * - `picker-grid-brightness`: The range input for the square's vertical axis.
27292
27296
  * - `picker-grid-handle`: The mark showing where in the square the color sits.
@@ -27586,9 +27590,11 @@ export type CustomElements = {
27586
27590
  * - `controls`: The row under the square.
27587
27591
  * - `eyedropper`: The control that samples a color from the screen.
27588
27592
  * - `eyedropper-button`: The button inside `eyedropper`.
27593
+ * - `eyedropper-text`: The words on that button, trimmed to their capitals and baseline.
27589
27594
  * - `footer`: The row holding the value and the tools.
27590
27595
  * - `format`: The control that changes the syntax the value is written in.
27591
27596
  * - `format-button`: The button inside `format`.
27597
+ * - `format-text`: The words on that button, trimmed to their capitals and baseline.
27592
27598
  * - `grid`: The saturation and brightness square. Draw the mark that shows where the color sits with `::part(grid)::after` in your stylesheet. The square carries the two channels as `--color-picker-saturation` and `--color-picker-brightness`, and this tier ships no CSS.
27593
27599
  * - `grid-brightness`: The range input for the square's vertical axis.
27594
27600
  * - `grid-saturation`: The range input for the square's horizontal axis.
@@ -28270,6 +28276,7 @@ export type CustomElements = {
28270
28276
  * - `tooltip-left`: The bubble while it is left of the button. Set together with `tooltip`.
28271
28277
  * - `tooltip-right`: The bubble while it is right of the button. Set together with `tooltip`.
28272
28278
  * - `tooltip-top`: The bubble while it is above the button. Set together with `tooltip`.
28279
+ * - `text`: The button's words, which the styled button trims to their capitals and baseline so the letters sit at the middle in any font.
28273
28280
  *
28274
28281
  * ## CSS States
28275
28282
  *
@@ -32035,6 +32042,7 @@ export type CustomElements = {
32035
32042
  * Custom selectors for styling elements within the component.
32036
32043
  *
32037
32044
  * - `button`: The inner button or anchor.
32045
+ * - `text`: The button's words, which the styled button trims to their capitals and baseline so the letters sit at the middle in any font.
32038
32046
  *
32039
32047
  * ## CSS States
32040
32048
  *
@@ -36078,6 +36086,7 @@ export type CustomElements = {
36078
36086
  * - `copy`: The copy button, which copies the active row.
36079
36087
  * - `copy-button`: The button inside the copy control.
36080
36088
  * - `copy-mark`: The clipboard icon, and the confirmation icon that replaces it.
36089
+ * - `copy-text`: The words on that button, trimmed to their capitals and baseline.
36081
36090
  * - `copy-tooltip`: The tooltip, forwarded from the copy button's tooltip.
36082
36091
  * - `copy-tooltip-arrow`: The tooltip's arrow, pointing at the copy button.
36083
36092
  * - `copy-tooltip-arrow-bottom`: The arrow while the tooltip is below the copy button, on the tooltip's top edge. Set alongside `copy-tooltip-arrow`.
@@ -39715,6 +39724,7 @@ export type CustomElements = {
39715
39724
  * - `description`: The line under the name.
39716
39725
  * - `label`: The step's name, which is a control.
39717
39726
  * - `label-button`: The button inside the label.
39727
+ * - `label-text`: The words on that button, trimmed to their capitals and baseline.
39718
39728
  * - `mark`: The glyph inside the marker: a tick, a dot, or an empty ring.
39719
39729
  * - `marker`: The shape carrying the number or the check.
39720
39730
  *
@@ -42680,12 +42690,15 @@ export type CustomElements = {
42680
42690
  * - `arrow-top`: The arrow while the panel is above its target, on the panel's bottom edge. Applied with `arrow`.
42681
42691
  * - `back`: The control that goes to the previous stop.
42682
42692
  * - `back-button`: The button inside `back`.
42693
+ * - `back-text`: The words on that button, trimmed to their capitals and baseline.
42683
42694
  * - `bubble`: The panel that points at the target.
42684
42695
  * - `content`: The region holding the slotted content.
42685
42696
  * - `next`: The control that goes to the next stop, and finishes the tour on the last stop.
42686
42697
  * - `next-button`: The button inside `next`.
42698
+ * - `next-text`: The words on that button, trimmed to their capitals and baseline.
42687
42699
  * - `skip`: The control that ends the tour early.
42688
42700
  * - `skip-button`: The button inside `skip`.
42701
+ * - `skip-text`: The words on that button, trimmed to their capitals and baseline.
42689
42702
  *
42690
42703
  * ## CSS States
42691
42704
  *
@@ -45407,6 +45420,7 @@ export type CustomElementsSolidJs = {
45407
45420
  * Custom selectors for styling elements within the component.
45408
45421
  *
45409
45422
  * - `button`: The inner control.
45423
+ * - `text`: The button's words, which the styled button trims to their capitals and baseline so the letters sit at the middle in any font.
45410
45424
  *
45411
45425
  * ## CSS States
45412
45426
  *
@@ -47277,6 +47291,7 @@ export type CustomElementsSolidJs = {
47277
47291
  * - `copy`: The copy button. It sits in the header when there is one, and beside the code otherwise.
47278
47292
  * - `copy-button`: The inner button.
47279
47293
  * - `copy-mark`: The clipboard icon, and the check mark that replaces it after a copy.
47294
+ * - `copy-text`: The words on that button, trimmed to their capitals and baseline.
47280
47295
  * - `copy-tooltip`: The copy button's tooltip.
47281
47296
  * - `copy-tooltip-arrow`: The tooltip's arrow, which points at the copy button.
47282
47297
  * - `copy-tooltip-arrow-bottom`: The arrow while the tooltip is below the copy button, on the tooltip's top edge. Applied with `copy-tooltip-arrow`.
@@ -47640,9 +47655,11 @@ export type CustomElementsSolidJs = {
47640
47655
  * - `picker-controls`: The row under the square.
47641
47656
  * - `picker-eyedropper`: The control that samples a color from the screen.
47642
47657
  * - `picker-eyedropper-button`: The button inside `picker-eyedropper`.
47658
+ * - `picker-eyedropper-text`: The words on the button inside `picker-eyedropper`.
47643
47659
  * - `picker-footer`: The row holding the value and the tools.
47644
47660
  * - `picker-format`: The control that changes the syntax the value is written in.
47645
47661
  * - `picker-format-button`: The button inside `picker-format`.
47662
+ * - `picker-format-text`: The words on the button inside `picker-format`.
47646
47663
  * - `picker-grid`: The saturation and brightness square.
47647
47664
  * - `picker-grid-brightness`: The range input for the square's vertical axis.
47648
47665
  * - `picker-grid-handle`: The mark showing where in the square the color sits.
@@ -47943,9 +47960,11 @@ export type CustomElementsSolidJs = {
47943
47960
  * - `controls`: The row under the square.
47944
47961
  * - `eyedropper`: The control that samples a color from the screen.
47945
47962
  * - `eyedropper-button`: The button inside `eyedropper`.
47963
+ * - `eyedropper-text`: The words on that button, trimmed to their capitals and baseline.
47946
47964
  * - `footer`: The row holding the value and the tools.
47947
47965
  * - `format`: The control that changes the syntax the value is written in.
47948
47966
  * - `format-button`: The button inside `format`.
47967
+ * - `format-text`: The words on that button, trimmed to their capitals and baseline.
47949
47968
  * - `grid`: The saturation and brightness square. Draw the mark that shows where the color sits with `::part(grid)::after` in your stylesheet. The square carries the two channels as `--color-picker-saturation` and `--color-picker-brightness`, and this tier ships no CSS.
47950
47969
  * - `grid-brightness`: The range input for the square's vertical axis.
47951
47970
  * - `grid-saturation`: The range input for the square's horizontal axis.
@@ -48634,6 +48653,7 @@ export type CustomElementsSolidJs = {
48634
48653
  * - `tooltip-left`: The bubble while it is left of the button. Set together with `tooltip`.
48635
48654
  * - `tooltip-right`: The bubble while it is right of the button. Set together with `tooltip`.
48636
48655
  * - `tooltip-top`: The bubble while it is above the button. Set together with `tooltip`.
48656
+ * - `text`: The button's words, which the styled button trims to their capitals and baseline so the letters sit at the middle in any font.
48637
48657
  *
48638
48658
  * ## CSS States
48639
48659
  *
@@ -52441,6 +52461,7 @@ export type CustomElementsSolidJs = {
52441
52461
  * Custom selectors for styling elements within the component.
52442
52462
  *
52443
52463
  * - `button`: The inner button or anchor.
52464
+ * - `text`: The button's words, which the styled button trims to their capitals and baseline so the letters sit at the middle in any font.
52444
52465
  *
52445
52466
  * ## CSS States
52446
52467
  *
@@ -56559,6 +56580,7 @@ export type CustomElementsSolidJs = {
56559
56580
  * - `copy`: The copy button, which copies the active row.
56560
56581
  * - `copy-button`: The button inside the copy control.
56561
56582
  * - `copy-mark`: The clipboard icon, and the confirmation icon that replaces it.
56583
+ * - `copy-text`: The words on that button, trimmed to their capitals and baseline.
56562
56584
  * - `copy-tooltip`: The tooltip, forwarded from the copy button's tooltip.
56563
56585
  * - `copy-tooltip-arrow`: The tooltip's arrow, pointing at the copy button.
56564
56586
  * - `copy-tooltip-arrow-bottom`: The arrow while the tooltip is below the copy button, on the tooltip's top edge. Set alongside `copy-tooltip-arrow`.
@@ -60262,6 +60284,7 @@ export type CustomElementsSolidJs = {
60262
60284
  * - `description`: The line under the name.
60263
60285
  * - `label`: The step's name, which is a control.
60264
60286
  * - `label-button`: The button inside the label.
60287
+ * - `label-text`: The words on that button, trimmed to their capitals and baseline.
60265
60288
  * - `mark`: The glyph inside the marker: a tick, a dot, or an empty ring.
60266
60289
  * - `marker`: The shape carrying the number or the check.
60267
60290
  *
@@ -63285,12 +63308,15 @@ export type CustomElementsSolidJs = {
63285
63308
  * - `arrow-top`: The arrow while the panel is above its target, on the panel's bottom edge. Applied with `arrow`.
63286
63309
  * - `back`: The control that goes to the previous stop.
63287
63310
  * - `back-button`: The button inside `back`.
63311
+ * - `back-text`: The words on that button, trimmed to their capitals and baseline.
63288
63312
  * - `bubble`: The panel that points at the target.
63289
63313
  * - `content`: The region holding the slotted content.
63290
63314
  * - `next`: The control that goes to the next stop, and finishes the tour on the last stop.
63291
63315
  * - `next-button`: The button inside `next`.
63316
+ * - `next-text`: The words on that button, trimmed to their capitals and baseline.
63292
63317
  * - `skip`: The control that ends the tour early.
63293
63318
  * - `skip-button`: The button inside `skip`.
63319
+ * - `skip-text`: The words on that button, trimmed to their capitals and baseline.
63294
63320
  *
63295
63321
  * ## CSS States
63296
63322
  *