@fusion.dev/helix 0.179.0 → 0.180.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.
@@ -37844,6 +37844,23 @@
37844
37844
  "module": "src/checkbox/root/checkbox-root.ts"
37845
37845
  }
37846
37846
  },
37847
+ {
37848
+ "kind": "method",
37849
+ "name": "click",
37850
+ "return": {
37851
+ "type": {
37852
+ "text": "void"
37853
+ }
37854
+ },
37855
+ "description": "Ticks or clears the box, as `click()` does a native checkbox: passed to the control\ninside, so the one click a listener hears is the control's, after it has\nmoved. See `HostClickController`.",
37856
+ "type": {
37857
+ "text": "click() => void"
37858
+ },
37859
+ "inheritedFrom": {
37860
+ "name": "HelixHeadlessCheckbox",
37861
+ "module": "src/checkbox/root/checkbox-root.ts"
37862
+ }
37863
+ },
37847
37864
  {
37848
37865
  "kind": "field",
37849
37866
  "name": "formAssociated",
@@ -65044,6 +65061,23 @@
65044
65061
  "module": "src/date-input/root/date-input-root.ts"
65045
65062
  }
65046
65063
  },
65064
+ {
65065
+ "kind": "field",
65066
+ "name": "rangeOrderMessage",
65067
+ "type": {
65068
+ "text": "string"
65069
+ },
65070
+ "default": "'Choose an end on or after {start}.'",
65071
+ "description": "The message shown when a range ends before it starts. `{start}` is\nreplaced with the start, written the way the field writes dates.",
65072
+ "attribute": "range-order-message",
65073
+ "helix": {
65074
+ "words": true
65075
+ },
65076
+ "inheritedFrom": {
65077
+ "name": "HelixHeadlessDateInput",
65078
+ "module": "src/date-input/root/date-input-root.ts"
65079
+ }
65080
+ },
65047
65081
  {
65048
65082
  "kind": "field",
65049
65083
  "name": "rangeOverflowMessage",
@@ -67058,6 +67092,19 @@
67058
67092
  "module": "src/date-input/root/date-input-root.ts"
67059
67093
  }
67060
67094
  },
67095
+ {
67096
+ "name": "range-order-message",
67097
+ "type": {
67098
+ "text": "string"
67099
+ },
67100
+ "default": "'Choose an end on or after {start}.'",
67101
+ "description": "The message shown when a range ends before it starts. `{start}` is\nreplaced with the start, written the way the field writes dates.",
67102
+ "fieldName": "rangeOrderMessage",
67103
+ "inheritedFrom": {
67104
+ "name": "HelixHeadlessDateInput",
67105
+ "module": "src/date-input/root/date-input-root.ts"
67106
+ }
67107
+ },
67061
67108
  {
67062
67109
  "name": "range-overflow-message",
67063
67110
  "type": {
@@ -68620,6 +68667,23 @@
68620
68667
  "module": "src/date-picker/root/date-picker-root.ts"
68621
68668
  }
68622
68669
  },
68670
+ {
68671
+ "kind": "field",
68672
+ "name": "rangeOrderMessage",
68673
+ "type": {
68674
+ "text": "string"
68675
+ },
68676
+ "default": "'Choose an end on or after {start}.'",
68677
+ "description": "The validation message for a range that ends before it starts. `{start}`\nis replaced with the start, written as a date in `locale`.",
68678
+ "attribute": "range-order-message",
68679
+ "helix": {
68680
+ "words": true
68681
+ },
68682
+ "inheritedFrom": {
68683
+ "name": "HelixHeadlessDatePicker",
68684
+ "module": "src/date-picker/root/date-picker-root.ts"
68685
+ }
68686
+ },
68623
68687
  {
68624
68688
  "kind": "field",
68625
68689
  "name": "rangeOverflowMessage",
@@ -70986,6 +71050,19 @@
70986
71050
  "module": "src/date-picker/root/date-picker-root.ts"
70987
71051
  }
70988
71052
  },
71053
+ {
71054
+ "name": "range-order-message",
71055
+ "type": {
71056
+ "text": "string"
71057
+ },
71058
+ "default": "'Choose an end on or after {start}.'",
71059
+ "description": "The validation message for a range that ends before it starts. `{start}`\nis replaced with the start, written as a date in `locale`.",
71060
+ "fieldName": "rangeOrderMessage",
71061
+ "inheritedFrom": {
71062
+ "name": "HelixHeadlessDatePicker",
71063
+ "module": "src/date-picker/root/date-picker-root.ts"
71064
+ }
71065
+ },
70989
71066
  {
70990
71067
  "name": "range-overflow-message",
70991
71068
  "type": {
@@ -118169,7 +118246,7 @@
118169
118246
  "text": "readonly DataOptionItem[] | undefined"
118170
118247
  },
118171
118248
  "default": "undefined",
118172
- "description": "The options as data, for a list too long to draw whole: each a value,\nwhich is also its words, or a record with a `value`, a `label` and\n`disabled`. Set, the list draws only the options in sight, and the ones\nyou write as children are not read.\n\n**Every option is still reachable.** The keyboard, the typeahead, the\nfilter and the value work over the whole set, and the option the keyboard\nis on is drawn wherever it is, so a screen reader is told about it. Each\ndrawn option says its place in the set (`aria-posinset`, `aria-setsize`).\nReact Aria virtualizes a `ListBox` with its `Virtualizer`; this is core's\n`VirtualizeController`.\n\n**The list needs a height to scroll in**: the styled tier's\n`--listbox-max-block-size`, or a `max-block-size` on `::part(items)` in the\nheadless tier. Import the Option family as well, whose elements are drawn.\nA server sends the list empty, and the options are drawn once it hydrates.",
118249
+ "description": "The options as data, for a list too long to draw whole: each a value,\nwhich is also its words, or a record with a `value`, a `label` and\n`disabled`. Set, the list draws only the options in sight, and the ones\nyou write as children are not read.\n\n**Every option is still reachable.** The keyboard, the typeahead, the\nfilter and the value work over the whole set, and the option the keyboard\nis on is drawn wherever it is, so a screen reader is told about it. Each\ndrawn option says its place in the set (`aria-posinset`, `aria-setsize`).\nReact Aria virtualizes a `ListBox` with its `Virtualizer`; this is core's\n`VirtualizeController`.\n\n**The list needs a height to scroll in**: the styled tier's\n`--listbox-max-block-size`, or a `max-block-size` on `::part(items)` in the\nheadless tier. The options drawn are this tier's Option, which the page\nimports, as it imports the options it writes.\nA server sends the list empty, and the options are drawn once it hydrates.",
118173
118250
  "inheritedFrom": {
118174
118251
  "name": "HelixHeadlessListbox",
118175
118252
  "module": "src/listbox/root/listbox-root.ts"
@@ -167635,6 +167712,23 @@
167635
167712
  "module": "src/radio/root/radio-root.ts"
167636
167713
  }
167637
167714
  },
167715
+ {
167716
+ "kind": "method",
167717
+ "name": "click",
167718
+ "return": {
167719
+ "type": {
167720
+ "text": "void"
167721
+ }
167722
+ },
167723
+ "description": "Chooses the radio, as `click()` does a native radio: passed to the control\ninside, so the one click a listener hears is the control's, after it has\nmoved. See `HostClickController`.",
167724
+ "type": {
167725
+ "text": "click() => void"
167726
+ },
167727
+ "inheritedFrom": {
167728
+ "name": "HelixHeadlessRadio",
167729
+ "module": "src/radio/root/radio-root.ts"
167730
+ }
167731
+ },
167638
167732
  {
167639
167733
  "kind": "field",
167640
167734
  "name": "tier",
@@ -200563,6 +200657,23 @@
200563
200657
  "module": "src/switch/root/switch-root.ts"
200564
200658
  }
200565
200659
  },
200660
+ {
200661
+ "kind": "method",
200662
+ "name": "click",
200663
+ "return": {
200664
+ "type": {
200665
+ "text": "void"
200666
+ }
200667
+ },
200668
+ "description": "Turns the switch on or off, as `click()` does a native checkbox: passed to the control\ninside, so the one click a listener hears is the control's, after it has\nmoved. See `HostClickController`.",
200669
+ "type": {
200670
+ "text": "click() => void"
200671
+ },
200672
+ "inheritedFrom": {
200673
+ "name": "HelixHeadlessSwitch",
200674
+ "module": "src/switch/root/switch-root.ts"
200675
+ }
200676
+ },
200566
200677
  {
200567
200678
  "kind": "field",
200568
200679
  "name": "formAssociated",
@@ -231112,6 +231223,23 @@
231112
231223
  "module": "src/toggle/root/toggle-root.ts"
231113
231224
  }
231114
231225
  },
231226
+ {
231227
+ "kind": "method",
231228
+ "name": "click",
231229
+ "return": {
231230
+ "type": {
231231
+ "text": "void"
231232
+ }
231233
+ },
231234
+ "description": "Presses the toggle, as `click()` does a native button: passed to the control\ninside, so the one click a listener hears is the control's, after it has\nmoved. See `HostClickController`.",
231235
+ "type": {
231236
+ "text": "click() => void"
231237
+ },
231238
+ "inheritedFrom": {
231239
+ "name": "HelixHeadlessToggle",
231240
+ "module": "src/toggle/root/toggle-root.ts"
231241
+ }
231242
+ },
231115
231243
  {
231116
231244
  "kind": "field",
231117
231245
  "name": "tier",
@@ -251128,6 +251256,6 @@
251128
251256
  ],
251129
251257
  "helix": {
251130
251258
  "package": "@fusion.dev/helix",
251131
- "version": "0.179.0"
251259
+ "version": "0.180.1"
251132
251260
  }
251133
251261
  }
@@ -2,7 +2,6 @@ import { HelixHeadlessCommand } from '@fusion.dev/helix-headless/command';
2
2
  import type { CSSResultGroup } from 'lit';
3
3
  import '../../dialog/index.js';
4
4
  import '../../listbox/index.js';
5
- import '../../option/index.js';
6
5
  /**
7
6
  * @summary A command palette: a list of commands that opens from anywhere on the page and filters as you type.
8
7
  *
@@ -8,7 +8,6 @@ import { customElement } from '@fusion.dev/helix-core';
8
8
  import { HelixHeadlessCommand } from '@fusion.dev/helix-headless/command';
9
9
  import '../../dialog/index.js';
10
10
  import '../../listbox/index.js';
11
- import '../../option/index.js';
12
11
  import { styles as liveStyles } from '../../shared/live/live.css.js';
13
12
  import { styles } from './command-root.css.js';
14
13
  let HelixCommand = class HelixCommand extends HelixHeadlessCommand {
@@ -2,7 +2,6 @@ import { HelixHeadlessDataTable } from '@fusion.dev/helix-headless/data-table';
2
2
  import type { CSSResultGroup } from 'lit';
3
3
  import '../../checkbox/index.js';
4
4
  import '../../pagination/index.js';
5
- import '../../table/index.js';
6
5
  /**
7
6
  * @summary A table drawn from an array of rows, with sorting, filtering, and paging.
8
7
  *
@@ -11,7 +11,6 @@ import { styles as liveStyles } from '../../shared/live/live.css.js';
11
11
  import { styles } from './data-table-root.css.js';
12
12
  import '../../checkbox/index.js';
13
13
  import '../../pagination/index.js';
14
- import '../../table/index.js';
15
14
  let HelixDataTable = class HelixDataTable extends HelixHeadlessDataTable {
16
15
  static { this.tier = 'helix-'; }
17
16
  static { this.styles = [liveStyles, collectionStateStyles, styles]; }
@@ -1,6 +1,5 @@
1
1
  import { HelixHeadlessFilterInput } from '@fusion.dev/helix-headless/filter-input';
2
2
  import type { CSSResultGroup } from 'lit';
3
- import '../../option/index.js';
4
3
  /**
5
4
  * @summary A text field for filters, with the active filters shown in it as tokens.
6
5
  *
@@ -6,7 +6,6 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
6
6
  };
7
7
  import { customElement } from '@fusion.dev/helix-core';
8
8
  import { HelixHeadlessFilterInput } from '@fusion.dev/helix-headless/filter-input';
9
- import '../../option/index.js';
10
9
  import { styles as collectionStateStyles } from '../../shared/collection/state.css.js';
11
10
  import { styles as fieldStyles } from '../../shared/field/field.css.js';
12
11
  import { styles as fieldFrameStyles } from '../../shared/field/field-frame.css.js';
@@ -1,7 +1,6 @@
1
1
  import { HelixHeadlessSelect } from '@fusion.dev/helix-headless/select';
2
2
  import type { CSSResultGroup } from 'lit';
3
3
  import '../../listbox/index.js';
4
- import '../../option/index.js';
5
4
  /**
6
5
  * @summary A control that opens a list of options to choose from.
7
6
  *
@@ -14,7 +14,6 @@ import { styles as floatingPanelStyles } from '../../shared/floating/panel.css.j
14
14
  import { styles as liveStyles } from '../../shared/live/live.css.js';
15
15
  import { styles } from './select-root.css.js';
16
16
  import '../../listbox/index.js';
17
- import '../../option/index.js';
18
17
  let HelixSelect = class HelixSelect extends HelixHeadlessSelect {
19
18
  static { this.tier = 'helix-'; }
20
19
  static { this.styles = [
@@ -21,4 +21,4 @@ ease-in-out infinite;}@keyframes helix-skeleton-pulse {50% {opacity: 0.4;}}:host
21
21
  :host(:state(wrapping):not([loading])) [part="lines"],
22
22
  :host(:not(:defined):not(:empty):not([loading])) [part="lines"] {display: none;}:host([loading]:state(wrapping)) [part="content"],
23
23
  :host([loading]:not(:defined):not(:empty)) [part="content"] {visibility: hidden;}@keyframes helix-skeleton-sweep {from {translate: -50% 0;}to {translate: 50% 0;}}@media (prefers-reduced-motion: reduce) {[part="sheen"],
24
- :host([effect="pulse"]) [part~="skeleton"] {animation: none;}[part="sheen"] {background-image: none;}}@media print {:host {display: none;}}@media (forced-colors: active) {[part~="skeleton"] {outline: var(--helix-border-thin) solid GrayText;outline-offset: calc(var(--helix-border-thin) * -1);}}`);
24
+ :host([effect="pulse"]) [part~="skeleton"] {animation: none;}[part="sheen"] {background-image: none;}}@media print {:host {display: none;}}@media (forced-colors: active) {[part~="skeleton"] {outline: var(--helix-border-thin) solid GrayText;outline-offset: calc(var(--helix-border-thin) * -1);}}@media (forced-colors: active) and (prefers-reduced-motion: no-preference) {[part="sheen"] {background-image: linear-gradient(90deg, transparent 35%, GrayText 50%, transparent 65%);forced-color-adjust: none;}}`);