@fusion.dev/helix-headless 0.58.0 → 0.59.0

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 (36) hide show
  1. package/custom-elements.json +24 -203
  2. package/dist/button/root/button-root.d.ts +1 -7
  3. package/dist/button/root/button-root.js +2 -3
  4. package/dist/carousel/root/carousel-root.js +2 -2
  5. package/dist/color-picker/root/color-picker-root.d.ts +7 -1
  6. package/dist/color-picker/root/color-picker-root.js +3 -3
  7. package/dist/data-table/root/data-table-root.js +2 -2
  8. package/dist/date-input/root/date-input-root.js +6 -7
  9. package/dist/date-picker/root/date-picker-root.js +8 -17
  10. package/dist/heatmap/index.d.ts +1 -1
  11. package/dist/heatmap/index.js +1 -1
  12. package/dist/heatmap/root/buckets.d.ts +0 -4
  13. package/dist/heatmap/root/buckets.js +0 -5
  14. package/dist/heatmap/root/heatmap-root.d.ts +5 -3
  15. package/dist/heatmap/root/heatmap-root.js +5 -6
  16. package/dist/legend/root/legend-root.d.ts +2 -2
  17. package/dist/outline/root/outline-root.d.ts +8 -1
  18. package/dist/outline/root/outline-root.js +2 -3
  19. package/dist/scatter-chart/root/scatter-chart-root.js +2 -2
  20. package/dist/skip-link/root/skip-link-root.d.ts +11 -1
  21. package/dist/skip-link/root/skip-link-root.js +2 -4
  22. package/dist/sparkline/root/sparkline-root.js +2 -5
  23. package/dist/splitter/root/splitter-root.js +3 -3
  24. package/dist/table/column/table-column.js +2 -2
  25. package/dist/table/root/table-root.js +2 -24
  26. package/dist/textarea/root/textarea-root.js +2 -2
  27. package/dist/time-input/root/time-input-root.js +10 -11
  28. package/dist/time-picker/root/time-picker-root.d.ts +0 -17
  29. package/dist/time-picker/root/time-picker-root.js +9 -32
  30. package/dist/tooltip/root/tooltip-root.d.ts +3 -10
  31. package/dist/tooltip/root/tooltip-root.js +3 -13
  32. package/dist/tour/stop/tour-stop.js +2 -3
  33. package/dist/video/root/video-root.js +2 -4
  34. package/package.json +5 -5
  35. package/types/jsx.d.ts +64 -68
  36. package/types/vue.d.ts +16 -20
@@ -4,7 +4,7 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
4
4
  else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
5
5
  return c > 3 && r && Object.defineProperty(target, key, r), r;
6
6
  };
7
- import { anchorElement, customElement, HelixElement, hostAria, MixinControllerOpen, PopoverController, } from '@fusion.dev/helix-core';
7
+ import { anchorElement, customElement, elementById, HelixElement, hostAria, MixinControllerOpen, PopoverController, } from '@fusion.dev/helix-core';
8
8
  import { html } from 'lit';
9
9
  import { property, state } from 'lit/decorators.js';
10
10
  const GENERIC = new Set(['div', 'p', 'section', 'span']);
@@ -90,20 +90,10 @@ let HelixHeadlessTooltip = class HelixHeadlessTooltip extends MixinControllerOpe
90
90
  this.bubbleLayer.reposition();
91
91
  }
92
92
  get named() {
93
- if (this.for === '') {
94
- return null;
95
- }
96
- const root = this.getRootNode();
97
- return root.getElementById?.(this.for) ?? null;
93
+ return this.for === '' ? null : elementById(this, this.for);
98
94
  }
99
95
  get enclosure() {
100
- if (this.within === '') {
101
- return null;
102
- }
103
- const root = this.getRootNode();
104
- return root instanceof Document || root instanceof ShadowRoot
105
- ? root.getElementById(this.within)
106
- : null;
96
+ return this.within === '' ? null : elementById(this, this.within);
107
97
  }
108
98
  get bubble() {
109
99
  return this.partNamed('tooltip');
@@ -4,7 +4,7 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
4
4
  else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
5
5
  return c > 3 && r && Object.defineProperty(target, key, r), r;
6
6
  };
7
- import { customElement, HelixElement, HelixTourAskEvent, hostAria, PopoverController, } from '@fusion.dev/helix-core';
7
+ import { customElement, elementById, HelixElement, HelixTourAskEvent, hostAria, PopoverController, } from '@fusion.dev/helix-core';
8
8
  import { property, state } from 'lit/decorators.js';
9
9
  import { html } from 'lit/static-html.js';
10
10
  import '../../button/index.js';
@@ -41,8 +41,7 @@ let HelixHeadlessTourStop = class HelixHeadlessTourStop extends HelixElement {
41
41
  });
42
42
  }
43
43
  get target() {
44
- const scope = this.getRootNode();
45
- return this.for === '' ? null : (scope.getElementById?.(this.for) ?? null);
44
+ return this.for === '' ? null : elementById(this, this.for);
46
45
  }
47
46
  willUpdate(changed) {
48
47
  super.willUpdate(changed);
@@ -4,7 +4,7 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
4
4
  else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
5
5
  return c > 3 && r && Object.defineProperty(target, key, r), r;
6
6
  };
7
- import { activeCue, adoptTrack, CueController, captionsAmong, captionTracks, copiesOf, customElement, drawIcon, FullscreenController, HelixElement, HelixNextEvent, HelixPreviousEvent, IdleController, MediaSessionController, onUnlessFalse, RemotePlaybackController, SKIP_SECONDS, sameCopies, showCaption, writtenList, } from '@fusion.dev/helix-core';
7
+ import { activeCue, adoptTrack, CueController, captionsAmong, captionTracks, copiesOf, customElement, drawIcon, FullscreenController, HelixElement, HelixNextEvent, HelixPreviousEvent, IdleController, MediaSessionController, onUnlessFalse, RemotePlaybackController, SKIP_SECONDS, sameCopies, showCaption, writtenList, writtenNumbers, } from '@fusion.dev/helix-core';
8
8
  import { airplay, arrowClockwise, arrowCounterClockwise, closedCaptioning, cornersIn, cornersOut, dotsThreeVertical, download, gauge, pause, pictureInPicture, play, skipBack, skipForward, speakerHigh, speakerX, } from '@fusion.dev/helix-icons';
9
9
  import { nothing } from 'lit';
10
10
  import { property, state } from 'lit/decorators.js';
@@ -332,9 +332,7 @@ let HelixHeadlessVideo = class HelixHeadlessVideo extends HelixElement {
332
332
  this.dispatchEvent(back ? new HelixPreviousEvent() : new HelixNextEvent());
333
333
  }
334
334
  cycleSpeed() {
335
- const speeds = writtenList(this.speeds)
336
- .map(Number)
337
- .filter((one) => one > 0);
335
+ const speeds = writtenNumbers(this.speeds).filter((one) => one > 0);
338
336
  const video = this.video;
339
337
  if (!video || speeds.length === 0) {
340
338
  return;
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.58.0",
4
+ "version": "0.59.0",
5
5
  "license": "MIT",
6
6
  "author": "Ross Sheppard <ross.sheppard@fusion.dev>",
7
7
  "repository": {
@@ -46,14 +46,14 @@
46
46
  },
47
47
  "bugs": "https://github.com/project-fusion/fusion/issues",
48
48
  "dependencies": {
49
- "@fusion.dev/helix-core": "0.58.0",
50
- "@fusion.dev/helix-icons": "0.58.0",
49
+ "@fusion.dev/helix-core": "0.59.0",
50
+ "@fusion.dev/helix-icons": "0.59.0",
51
51
  "uqr": "^0.1.3"
52
52
  },
53
53
  "devDependencies": {
54
54
  "@custom-elements-manifest/analyzer": "^0.11.0",
55
- "@fusion.dev/helix-cem": "0.58.0",
56
- "@fusion.dev/helix-testing": "0.58.0",
55
+ "@fusion.dev/helix-cem": "0.59.0",
56
+ "@fusion.dev/helix-testing": "0.59.0",
57
57
  "@fusion.dev/scripts": "0.0.0-dev",
58
58
  "@happy-dom/global-registrator": "^20.0.0",
59
59
  "@lit-labs/ssr": "^4.1.0",
package/types/jsx.d.ts CHANGED
@@ -164,12 +164,8 @@ import type {
164
164
  HelixTourAskEvent,
165
165
  at,
166
166
  edgeOf,
167
- fromMinutes,
168
167
  initialsOf,
169
- isTime,
170
168
  optionsAmong,
171
- toMinutes,
172
- writeTime,
173
169
  } from '@fusion.dev/helix-headless';
174
170
 
175
171
  /**
@@ -783,8 +779,8 @@ fills the height and the bands are shares of it. */
783
779
  totalLabel?: (HelixHeadlessAreaChart["totalLabel"]) | undefined;
784
780
  /** The id of the table to read.
785
781
 
786
- Resolved through `getRootNode()`, so a chart inside another component's
787
- shadow root names a table in that root rather than in the document. A
782
+ Names a table in the same tree, so a chart inside another component's
783
+ shadow root reads a table in that root rather than one in the document. A
788
784
  `<table>` or anything built from grid roles, including `helix-table`.
789
785
 
790
786
  **In React this arrives as a property and not as an attribute**, the way
@@ -833,8 +829,8 @@ fills the height and the bands are shares of it. */
833
829
  "prop:totalLabel"?: (HelixHeadlessAreaChart["totalLabel"]) | undefined;
834
830
  /** The id of the table to read.
835
831
 
836
- Resolved through `getRootNode()`, so a chart inside another component's
837
- shadow root names a table in that root rather than in the document. A
832
+ Names a table in the same tree, so a chart inside another component's
833
+ shadow root reads a table in that root rather than one in the document. A
838
834
  `<table>` or anything built from grid roles, including `helix-table`.
839
835
 
840
836
  **In React this arrives as a property and not as an attribute**, the way
@@ -1103,8 +1099,8 @@ of any scale question the picture raises. */
1103
1099
  secondary?: (HelixHeadlessBarChart["secondary"]) | undefined;
1104
1100
  /** The id of the table to read.
1105
1101
 
1106
- Resolved through `getRootNode()`, so a chart inside another component's
1107
- shadow root names a table in that root rather than in the document. A
1102
+ Names a table in the same tree, so a chart inside another component's
1103
+ shadow root reads a table in that root rather than one in the document. A
1108
1104
  `<table>` or anything built from grid roles, including `helix-table`.
1109
1105
 
1110
1106
  **In React this arrives as a property and not as an attribute**, the way
@@ -1204,8 +1200,8 @@ of any scale question the picture raises. */
1204
1200
  "prop:secondary"?: (HelixHeadlessBarChart["secondary"]) | undefined;
1205
1201
  /** The id of the table to read.
1206
1202
 
1207
- Resolved through `getRootNode()`, so a chart inside another component's
1208
- shadow root names a table in that root rather than in the document. A
1203
+ Names a table in the same tree, so a chart inside another component's
1204
+ shadow root reads a table in that root rather than one in the document. A
1209
1205
  `<table>` or anything built from grid roles, including `helix-table`.
1210
1206
 
1211
1207
  **In React this arrives as a property and not as an attribute**, the way
@@ -6016,8 +6012,8 @@ the circle is not drawn. */
6016
6012
  sweep?: (HelixHeadlessDonutChart["sweep"]) | undefined;
6017
6013
  /** The id of the table to read.
6018
6014
 
6019
- Resolved through `getRootNode()`, so a chart inside another component's
6020
- shadow root names a table in that root rather than in the document. A
6015
+ Names a table in the same tree, so a chart inside another component's
6016
+ shadow root reads a table in that root rather than one in the document. A
6021
6017
  `<table>` or anything built from grid roles, including `helix-table`.
6022
6018
 
6023
6019
  **In React this arrives as a property and not as an attribute**, the way
@@ -6081,8 +6077,8 @@ the circle is not drawn. */
6081
6077
  "prop:sweep"?: (HelixHeadlessDonutChart["sweep"]) | undefined;
6082
6078
  /** The id of the table to read.
6083
6079
 
6084
- Resolved through `getRootNode()`, so a chart inside another component's
6085
- shadow root names a table in that root rather than in the document. A
6080
+ Names a table in the same tree, so a chart inside another component's
6081
+ shadow root reads a table in that root rather than one in the document. A
6086
6082
  `<table>` or anything built from grid roles, including `helix-table`.
6087
6083
 
6088
6084
  **In React this arrives as a property and not as an attribute**, the way
@@ -7414,8 +7410,8 @@ no order in it. */
7414
7410
  tones?: (HelixHeadlessHeatmap["tones"]) | undefined;
7415
7411
  /** The id of the table to read.
7416
7412
 
7417
- Resolved through `getRootNode()`, so a chart inside another component's
7418
- shadow root names a table in that root rather than in the document. A
7413
+ Names a table in the same tree, so a chart inside another component's
7414
+ shadow root reads a table in that root rather than one in the document. A
7419
7415
  `<table>` or anything built from grid roles, including `helix-table`.
7420
7416
 
7421
7417
  **In React this arrives as a property and not as an attribute**, the way
@@ -7509,8 +7505,8 @@ no order in it. */
7509
7505
  "prop:tones"?: (HelixHeadlessHeatmap["tones"]) | undefined;
7510
7506
  /** The id of the table to read.
7511
7507
 
7512
- Resolved through `getRootNode()`, so a chart inside another component's
7513
- shadow root names a table in that root rather than in the document. A
7508
+ Names a table in the same tree, so a chart inside another component's
7509
+ shadow root reads a table in that root rather than one in the document. A
7514
7510
  `<table>` or anything built from grid roles, including `helix-table`.
7515
7511
 
7516
7512
  **In React this arrives as a property and not as an attribute**, the way
@@ -8447,8 +8443,8 @@ shape `categories` already has. */
8447
8443
  entries?: (HelixHeadlessLegend["entries"]) | undefined;
8448
8444
  /** The id of the table to take the names from.
8449
8445
 
8450
- Resolved through `getRootNode()`, so a legend inside another component's
8451
- shadow root names a table in that root rather than in the document.
8446
+ Names a table in the same tree, so a legend inside another component's
8447
+ shadow root reads a table in that root rather than one in the document.
8452
8448
 
8453
8449
  **In React this arrives as a property and not as an attribute**, the way
8454
8450
  `Tooltip.for` does, so it does not reflect and nothing styles on it. */
@@ -8476,8 +8472,8 @@ shape `categories` already has. */
8476
8472
  "prop:entries"?: (HelixHeadlessLegend["entries"]) | undefined;
8477
8473
  /** The id of the table to take the names from.
8478
8474
 
8479
- Resolved through `getRootNode()`, so a legend inside another component's
8480
- shadow root names a table in that root rather than in the document.
8475
+ Names a table in the same tree, so a legend inside another component's
8476
+ shadow root reads a table in that root rather than one in the document.
8481
8477
 
8482
8478
  **In React this arrives as a property and not as an attribute**, the way
8483
8479
  `Tooltip.for` does, so it does not reflect and nothing styles on it. */
@@ -8585,8 +8581,8 @@ near the top of the box. */
8585
8581
  zero?: (HelixHeadlessLineChart["zero"]) | undefined;
8586
8582
  /** The id of the table to read.
8587
8583
 
8588
- Resolved through `getRootNode()`, so a chart inside another component's
8589
- shadow root names a table in that root rather than in the document. A
8584
+ Names a table in the same tree, so a chart inside another component's
8585
+ shadow root reads a table in that root rather than one in the document. A
8590
8586
  `<table>` or anything built from grid roles, including `helix-table`.
8591
8587
 
8592
8588
  **In React this arrives as a property and not as an attribute**, the way
@@ -8695,8 +8691,8 @@ near the top of the box. */
8695
8691
  "prop:zero"?: (HelixHeadlessLineChart["zero"]) | undefined;
8696
8692
  /** The id of the table to read.
8697
8693
 
8698
- Resolved through `getRootNode()`, so a chart inside another component's
8699
- shadow root names a table in that root rather than in the document. A
8694
+ Names a table in the same tree, so a chart inside another component's
8695
+ shadow root reads a table in that root rather than one in the document. A
8700
8696
  `<table>` or anything built from grid roles, including `helix-table`.
8701
8697
 
8702
8698
  **In React this arrives as a property and not as an attribute**, the way
@@ -12538,8 +12534,8 @@ is read along. */
12538
12534
  pointsLabel?: (HelixHeadlessScatterChart["pointsLabel"]) | undefined;
12539
12535
  /** The id of the table to read.
12540
12536
 
12541
- Resolved through `getRootNode()`, so a chart inside another component's
12542
- shadow root names a table in that root rather than in the document. A
12537
+ Names a table in the same tree, so a chart inside another component's
12538
+ shadow root reads a table in that root rather than one in the document. A
12543
12539
  `<table>` or anything built from grid roles, including `helix-table`.
12544
12540
 
12545
12541
  **In React this arrives as a property and not as an attribute**, the way
@@ -12570,8 +12566,8 @@ is read along. */
12570
12566
  "prop:pointsLabel"?: (HelixHeadlessScatterChart["pointsLabel"]) | undefined;
12571
12567
  /** The id of the table to read.
12572
12568
 
12573
- Resolved through `getRootNode()`, so a chart inside another component's
12574
- shadow root names a table in that root rather than in the document. A
12569
+ Names a table in the same tree, so a chart inside another component's
12570
+ shadow root reads a table in that root rather than one in the document. A
12575
12571
  `<table>` or anything built from grid roles, including `helix-table`.
12576
12572
 
12577
12573
  **In React this arrives as a property and not as an attribute**, the way
@@ -16328,8 +16324,8 @@ Set it and the tooltip stops wrapping: it renders no trigger, listens on
16328
16324
  the element it names, and points its bubble there. Leave it unset and the
16329
16325
  default slot is the trigger, which is the older form.
16330
16326
 
16331
- Resolved through `getRootNode()`, so a tooltip inside another component's
16332
- shadow root names an element in that root rather than in the document.
16327
+ Names an element in the same tree, so a tooltip inside another component's
16328
+ shadow root points at one in that root rather than one in the document.
16333
16329
 
16334
16330
  **In React this arrives as a property and not as an attribute**, which is
16335
16331
  worth knowing before someone reads the DOM and thinks it did not take.
@@ -16436,8 +16432,8 @@ Set it and the tooltip stops wrapping: it renders no trigger, listens on
16436
16432
  the element it names, and points its bubble there. Leave it unset and the
16437
16433
  default slot is the trigger, which is the older form.
16438
16434
 
16439
- Resolved through `getRootNode()`, so a tooltip inside another component's
16440
- shadow root names an element in that root rather than in the document.
16435
+ Names an element in the same tree, so a tooltip inside another component's
16436
+ shadow root points at one in that root rather than one in the document.
16441
16437
 
16442
16438
  **In React this arrives as a property and not as an attribute**, which is
16443
16439
  worth knowing before someone reads the DOM and thinks it did not take.
@@ -18386,8 +18382,8 @@ export type CustomElements = {
18386
18382
  * - `total-label`/`totalLabel`: What to call the sum of the parts, in the tooltip and the summary.
18387
18383
  * - `for`: The id of the table to read.
18388
18384
  *
18389
- * Resolved through `getRootNode()`, so a chart inside another component's
18390
- * shadow root names a table in that root rather than in the document. A
18385
+ * Names a table in the same tree, so a chart inside another component's
18386
+ * shadow root reads a table in that root rather than one in the document. A
18391
18387
  * `<table>` or anything built from grid roles, including `helix-table`.
18392
18388
  *
18393
18389
  * **In React this arrives as a property and not as an attribute**, the way
@@ -18866,8 +18862,8 @@ export type CustomElements = {
18866
18862
  * of any scale question the picture raises.
18867
18863
  * - `for`: The id of the table to read.
18868
18864
  *
18869
- * Resolved through `getRootNode()`, so a chart inside another component's
18870
- * shadow root names a table in that root rather than in the document. A
18865
+ * Names a table in the same tree, so a chart inside another component's
18866
+ * shadow root reads a table in that root rather than one in the document. A
18871
18867
  * `<table>` or anything built from grid roles, including `helix-table`.
18872
18868
  *
18873
18869
  * **In React this arrives as a property and not as an attribute**, the way
@@ -23314,8 +23310,8 @@ export type CustomElements = {
23314
23310
  * the circle is not drawn.
23315
23311
  * - `for`: The id of the table to read.
23316
23312
  *
23317
- * Resolved through `getRootNode()`, so a chart inside another component's
23318
- * shadow root names a table in that root rather than in the document. A
23313
+ * Names a table in the same tree, so a chart inside another component's
23314
+ * shadow root reads a table in that root rather than one in the document. A
23319
23315
  * `<table>` or anything built from grid roles, including `helix-table`.
23320
23316
  *
23321
23317
  * **In React this arrives as a property and not as an attribute**, the way
@@ -25070,8 +25066,8 @@ export type CustomElements = {
25070
25066
  * no order in it.
25071
25067
  * - `for`: The id of the table to read.
25072
25068
  *
25073
- * Resolved through `getRootNode()`, so a chart inside another component's
25074
- * shadow root names a table in that root rather than in the document. A
25069
+ * Names a table in the same tree, so a chart inside another component's
25070
+ * shadow root reads a table in that root rather than one in the document. A
25075
25071
  * `<table>` or anything built from grid roles, including `helix-table`.
25076
25072
  *
25077
25073
  * **In React this arrives as a property and not as an attribute**, the way
@@ -26018,8 +26014,8 @@ export type CustomElements = {
26018
26014
  * shape `categories` already has.
26019
26015
  * - `for`: The id of the table to take the names from.
26020
26016
  *
26021
- * Resolved through `getRootNode()`, so a legend inside another component's
26022
- * shadow root names a table in that root rather than in the document.
26017
+ * Names a table in the same tree, so a legend inside another component's
26018
+ * shadow root reads a table in that root rather than one in the document.
26023
26019
  *
26024
26020
  * **In React this arrives as a property and not as an attribute**, the way
26025
26021
  * `Tooltip.for` does, so it does not reflect and nothing styles on it.
@@ -26186,8 +26182,8 @@ export type CustomElements = {
26186
26182
  * near the top of the box.
26187
26183
  * - `for`: The id of the table to read.
26188
26184
  *
26189
- * Resolved through `getRootNode()`, so a chart inside another component's
26190
- * shadow root names a table in that root rather than in the document. A
26185
+ * Names a table in the same tree, so a chart inside another component's
26186
+ * shadow root reads a table in that root rather than one in the document. A
26191
26187
  * `<table>` or anything built from grid roles, including `helix-table`.
26192
26188
  *
26193
26189
  * **In React this arrives as a property and not as an attribute**, the way
@@ -30216,8 +30212,8 @@ export type CustomElements = {
30216
30212
  * - `points-label`/`pointsLabel`: What to call a row in the summary, which counts them.
30217
30213
  * - `for`: The id of the table to read.
30218
30214
  *
30219
- * Resolved through `getRootNode()`, so a chart inside another component's
30220
- * shadow root names a table in that root rather than in the document. A
30215
+ * Names a table in the same tree, so a chart inside another component's
30216
+ * shadow root reads a table in that root rather than one in the document. A
30221
30217
  * `<table>` or anything built from grid roles, including `helix-table`.
30222
30218
  *
30223
30219
  * **In React this arrives as a property and not as an attribute**, the way
@@ -34424,8 +34420,8 @@ export type CustomElements = {
34424
34420
  * the element it names, and points its bubble there. Leave it unset and the
34425
34421
  * default slot is the trigger, which is the older form.
34426
34422
  *
34427
- * Resolved through `getRootNode()`, so a tooltip inside another component's
34428
- * shadow root names an element in that root rather than in the document.
34423
+ * Names an element in the same tree, so a tooltip inside another component's
34424
+ * shadow root points at one in that root rather than one in the document.
34429
34425
  *
34430
34426
  * **In React this arrives as a property and not as an attribute**, which is
34431
34427
  * worth knowing before someone reads the DOM and thinks it did not take.
@@ -36347,8 +36343,8 @@ export type CustomElementsSolidJs = {
36347
36343
  * - `total-label`/`totalLabel`: What to call the sum of the parts, in the tooltip and the summary.
36348
36344
  * - `for`: The id of the table to read.
36349
36345
  *
36350
- * Resolved through `getRootNode()`, so a chart inside another component's
36351
- * shadow root names a table in that root rather than in the document. A
36346
+ * Names a table in the same tree, so a chart inside another component's
36347
+ * shadow root reads a table in that root rather than one in the document. A
36352
36348
  * `<table>` or anything built from grid roles, including `helix-table`.
36353
36349
  *
36354
36350
  * **In React this arrives as a property and not as an attribute**, the way
@@ -36837,8 +36833,8 @@ export type CustomElementsSolidJs = {
36837
36833
  * of any scale question the picture raises.
36838
36834
  * - `for`: The id of the table to read.
36839
36835
  *
36840
- * Resolved through `getRootNode()`, so a chart inside another component's
36841
- * shadow root names a table in that root rather than in the document. A
36836
+ * Names a table in the same tree, so a chart inside another component's
36837
+ * shadow root reads a table in that root rather than one in the document. A
36842
36838
  * `<table>` or anything built from grid roles, including `helix-table`.
36843
36839
  *
36844
36840
  * **In React this arrives as a property and not as an attribute**, the way
@@ -41343,8 +41339,8 @@ export type CustomElementsSolidJs = {
41343
41339
  * the circle is not drawn.
41344
41340
  * - `for`: The id of the table to read.
41345
41341
  *
41346
- * Resolved through `getRootNode()`, so a chart inside another component's
41347
- * shadow root names a table in that root rather than in the document. A
41342
+ * Names a table in the same tree, so a chart inside another component's
41343
+ * shadow root reads a table in that root rather than one in the document. A
41348
41344
  * `<table>` or anything built from grid roles, including `helix-table`.
41349
41345
  *
41350
41346
  * **In React this arrives as a property and not as an attribute**, the way
@@ -43119,8 +43115,8 @@ export type CustomElementsSolidJs = {
43119
43115
  * no order in it.
43120
43116
  * - `for`: The id of the table to read.
43121
43117
  *
43122
- * Resolved through `getRootNode()`, so a chart inside another component's
43123
- * shadow root names a table in that root rather than in the document. A
43118
+ * Names a table in the same tree, so a chart inside another component's
43119
+ * shadow root reads a table in that root rather than one in the document. A
43124
43120
  * `<table>` or anything built from grid roles, including `helix-table`.
43125
43121
  *
43126
43122
  * **In React this arrives as a property and not as an attribute**, the way
@@ -44083,8 +44079,8 @@ export type CustomElementsSolidJs = {
44083
44079
  * shape `categories` already has.
44084
44080
  * - `for`: The id of the table to take the names from.
44085
44081
  *
44086
- * Resolved through `getRootNode()`, so a legend inside another component's
44087
- * shadow root names a table in that root rather than in the document.
44082
+ * Names a table in the same tree, so a legend inside another component's
44083
+ * shadow root reads a table in that root rather than one in the document.
44088
44084
  *
44089
44085
  * **In React this arrives as a property and not as an attribute**, the way
44090
44086
  * `Tooltip.for` does, so it does not reflect and nothing styles on it.
@@ -44254,8 +44250,8 @@ export type CustomElementsSolidJs = {
44254
44250
  * near the top of the box.
44255
44251
  * - `for`: The id of the table to read.
44256
44252
  *
44257
- * Resolved through `getRootNode()`, so a chart inside another component's
44258
- * shadow root names a table in that root rather than in the document. A
44253
+ * Names a table in the same tree, so a chart inside another component's
44254
+ * shadow root reads a table in that root rather than one in the document. A
44259
44255
  * `<table>` or anything built from grid roles, including `helix-table`.
44260
44256
  *
44261
44257
  * **In React this arrives as a property and not as an attribute**, the way
@@ -48349,8 +48345,8 @@ export type CustomElementsSolidJs = {
48349
48345
  * - `points-label`/`pointsLabel`: What to call a row in the summary, which counts them.
48350
48346
  * - `for`: The id of the table to read.
48351
48347
  *
48352
- * Resolved through `getRootNode()`, so a chart inside another component's
48353
- * shadow root names a table in that root rather than in the document. A
48348
+ * Names a table in the same tree, so a chart inside another component's
48349
+ * shadow root reads a table in that root rather than one in the document. A
48354
48350
  * `<table>` or anything built from grid roles, including `helix-table`.
48355
48351
  *
48356
48352
  * **In React this arrives as a property and not as an attribute**, the way
@@ -52642,8 +52638,8 @@ export type CustomElementsSolidJs = {
52642
52638
  * the element it names, and points its bubble there. Leave it unset and the
52643
52639
  * default slot is the trigger, which is the older form.
52644
52640
  *
52645
- * Resolved through `getRootNode()`, so a tooltip inside another component's
52646
- * shadow root names an element in that root rather than in the document.
52641
+ * Names an element in the same tree, so a tooltip inside another component's
52642
+ * shadow root points at one in that root rather than one in the document.
52647
52643
  *
52648
52644
  * **In React this arrives as a property and not as an attribute**, which is
52649
52645
  * worth knowing before someone reads the DOM and thinks it did not take.
package/types/vue.d.ts CHANGED
@@ -115,10 +115,6 @@ import type {
115
115
  HelixHeadlessTag,
116
116
  HelixHeadlessTextarea,
117
117
  HelixHeadlessTimeInput,
118
- isTime,
119
- toMinutes,
120
- fromMinutes,
121
- writeTime,
122
118
  HelixHeadlessTimePicker,
123
119
  HelixHeadlessTimelineItem,
124
120
  HelixHeadlessTimeline,
@@ -435,8 +431,8 @@ fills the height and the bands are shares of it. */
435
431
  totalLabel?: (HelixHeadlessAreaChart["totalLabel"]) | undefined;
436
432
  /** The id of the table to read.
437
433
 
438
- Resolved through `getRootNode()`, so a chart inside another component's
439
- shadow root names a table in that root rather than in the document. A
434
+ Names a table in the same tree, so a chart inside another component's
435
+ shadow root reads a table in that root rather than one in the document. A
440
436
  `<table>` or anything built from grid roles, including `helix-table`.
441
437
 
442
438
  **In React this arrives as a property and not as an attribute**, the way
@@ -622,8 +618,8 @@ of any scale question the picture raises. */
622
618
  secondary?: (HelixHeadlessBarChart["secondary"]) | undefined;
623
619
  /** The id of the table to read.
624
620
 
625
- Resolved through `getRootNode()`, so a chart inside another component's
626
- shadow root names a table in that root rather than in the document. A
621
+ Names a table in the same tree, so a chart inside another component's
622
+ shadow root reads a table in that root rather than one in the document. A
627
623
  `<table>` or anything built from grid roles, including `helix-table`.
628
624
 
629
625
  **In React this arrives as a property and not as an attribute**, the way
@@ -3105,8 +3101,8 @@ the circle is not drawn. */
3105
3101
  sweep?: (HelixHeadlessDonutChart["sweep"]) | undefined;
3106
3102
  /** The id of the table to read.
3107
3103
 
3108
- Resolved through `getRootNode()`, so a chart inside another component's
3109
- shadow root names a table in that root rather than in the document. A
3104
+ Names a table in the same tree, so a chart inside another component's
3105
+ shadow root reads a table in that root rather than one in the document. A
3110
3106
  `<table>` or anything built from grid roles, including `helix-table`.
3111
3107
 
3112
3108
  **In React this arrives as a property and not as an attribute**, the way
@@ -3838,8 +3834,8 @@ no order in it. */
3838
3834
  tones?: (HelixHeadlessHeatmap["tones"]) | undefined;
3839
3835
  /** The id of the table to read.
3840
3836
 
3841
- Resolved through `getRootNode()`, so a chart inside another component's
3842
- shadow root names a table in that root rather than in the document. A
3837
+ Names a table in the same tree, so a chart inside another component's
3838
+ shadow root reads a table in that root rather than one in the document. A
3843
3839
  `<table>` or anything built from grid roles, including `helix-table`.
3844
3840
 
3845
3841
  **In React this arrives as a property and not as an attribute**, the way
@@ -4335,8 +4331,8 @@ shape `categories` already has. */
4335
4331
  entries?: (HelixHeadlessLegend["entries"]) | undefined;
4336
4332
  /** The id of the table to take the names from.
4337
4333
 
4338
- Resolved through `getRootNode()`, so a legend inside another component's
4339
- shadow root names a table in that root rather than in the document.
4334
+ Names a table in the same tree, so a legend inside another component's
4335
+ shadow root reads a table in that root rather than one in the document.
4340
4336
 
4341
4337
  **In React this arrives as a property and not as an attribute**, the way
4342
4338
  `Tooltip.for` does, so it does not reflect and nothing styles on it. */
@@ -4441,8 +4437,8 @@ near the top of the box. */
4441
4437
  zero?: (HelixHeadlessLineChart["zero"]) | undefined;
4442
4438
  /** The id of the table to read.
4443
4439
 
4444
- Resolved through `getRootNode()`, so a chart inside another component's
4445
- shadow root names a table in that root rather than in the document. A
4440
+ Names a table in the same tree, so a chart inside another component's
4441
+ shadow root reads a table in that root rather than one in the document. A
4446
4442
  `<table>` or anything built from grid roles, including `helix-table`.
4447
4443
 
4448
4444
  **In React this arrives as a property and not as an attribute**, the way
@@ -6426,8 +6422,8 @@ is read along. */
6426
6422
  pointsLabel?: (HelixHeadlessScatterChart["pointsLabel"]) | undefined;
6427
6423
  /** The id of the table to read.
6428
6424
 
6429
- Resolved through `getRootNode()`, so a chart inside another component's
6430
- shadow root names a table in that root rather than in the document. A
6425
+ Names a table in the same tree, so a chart inside another component's
6426
+ shadow root reads a table in that root rather than one in the document. A
6431
6427
  `<table>` or anything built from grid roles, including `helix-table`.
6432
6428
 
6433
6429
  **In React this arrives as a property and not as an attribute**, the way
@@ -8383,8 +8379,8 @@ Set it and the tooltip stops wrapping: it renders no trigger, listens on
8383
8379
  the element it names, and points its bubble there. Leave it unset and the
8384
8380
  default slot is the trigger, which is the older form.
8385
8381
 
8386
- Resolved through `getRootNode()`, so a tooltip inside another component's
8387
- shadow root names an element in that root rather than in the document.
8382
+ Names an element in the same tree, so a tooltip inside another component's
8383
+ shadow root points at one in that root rather than one in the document.
8388
8384
 
8389
8385
  **In React this arrives as a property and not as an attribute**, which is
8390
8386
  worth knowing before someone reads the DOM and thinks it did not take.