@fusion.dev/helix-headless 0.180.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.
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.180.0",
4
+ "version": "0.180.1",
5
5
  "license": "MIT",
6
6
  "author": "Ross Sheppard <ross.sheppard@fusion.dev>",
7
7
  "repository": {
@@ -49,13 +49,13 @@
49
49
  },
50
50
  "bugs": "https://github.com/project-fusion/fusion/issues",
51
51
  "dependencies": {
52
- "@fusion.dev/helix-core": "0.180.0",
53
- "@fusion.dev/helix-icons": "0.180.0",
52
+ "@fusion.dev/helix-core": "0.180.1",
53
+ "@fusion.dev/helix-icons": "0.180.1",
54
54
  "uqr": "^0.1.3"
55
55
  },
56
56
  "devDependencies": {
57
- "@fusion.dev/helix-cem": "0.180.0",
58
- "@fusion.dev/helix-testing": "0.180.0",
57
+ "@fusion.dev/helix-cem": "0.180.1",
58
+ "@fusion.dev/helix-testing": "0.180.1",
59
59
  "@fusion.dev/scripts": "0.0.0-dev",
60
60
  "@happy-dom/global-registrator": "^20.14.5",
61
61
  "@lit-labs/ssr": "^4.1.0",
package/types/jsx.d.ts CHANGED
@@ -41939,6 +41939,9 @@ export type CustomElements = {
41939
41939
  * Methods that can be called to access component functionality.
41940
41940
  *
41941
41941
  * - `formResetCallback() => void`: Resets the box to the state set in its markup.
41942
+ * - `click() => void`: Ticks or clears the box, as `click()` does a native checkbox: passed to the control
41943
+ * inside, so the one click a listener hears is the control's, after it has
41944
+ * moved. See `HostClickController`.
41942
41945
  * - `requestChecked(next: boolean) => boolean`: Requests a change to `checked`, and returns whether it was applied.
41943
41946
  *
41944
41947
  * Announces before it acts, so `preventDefault()` on the
@@ -57557,6 +57560,9 @@ export type CustomElements = {
57557
57560
  *
57558
57561
  * Methods that can be called to access component functionality.
57559
57562
  *
57563
+ * - `click() => void`: Chooses the radio, as `click()` does a native radio: passed to the control
57564
+ * inside, so the one click a listener hears is the control's, after it has
57565
+ * moved. See `HostClickController`.
57560
57566
  * - `focusItem() => void`: Moves focus to the item's control, for the set's arrow keys.
57561
57567
  *
57562
57568
  * The set drives the keys and cannot reach the control itself, which is
@@ -60697,6 +60703,9 @@ export type CustomElements = {
60697
60703
  * Methods that can be called to access component functionality.
60698
60704
  *
60699
60705
  * - `formResetCallback() => void`: Returns the switch to the state its markup declared.
60706
+ * - `click() => void`: Turns the switch on or off, as `click()` does a native checkbox: passed to the control
60707
+ * inside, so the one click a listener hears is the control's, after it has
60708
+ * moved. See `HostClickController`.
60700
60709
  * - `requestChecked(next: boolean) => boolean`: Requests a change to `checked`, and returns whether it was applied.
60701
60710
  *
60702
60711
  * Announces before it acts, so `preventDefault()` on the
@@ -64415,6 +64424,9 @@ export type CustomElements = {
64415
64424
  *
64416
64425
  * - `select() => boolean`: Chooses the item in its group, or, on its own, flips `selected` once
64417
64426
  * `helix-select` stands and sends `change`.
64427
+ * - `click() => void`: Presses the toggle, as `click()` does a native button: passed to the control
64428
+ * inside, so the one click a listener hears is the control's, after it has
64429
+ * moved. See `HostClickController`.
64418
64430
  * - `focusItem() => void`: Moves focus to the item's control, for the set's arrow keys.
64419
64431
  *
64420
64432
  * The set drives the keys and cannot reach the control itself, which is
@@ -71630,6 +71642,9 @@ export type CustomElementsSolidJs = {
71630
71642
  * Methods that can be called to access component functionality.
71631
71643
  *
71632
71644
  * - `formResetCallback() => void`: Resets the box to the state set in its markup.
71645
+ * - `click() => void`: Ticks or clears the box, as `click()` does a native checkbox: passed to the control
71646
+ * inside, so the one click a listener hears is the control's, after it has
71647
+ * moved. See `HostClickController`.
71633
71648
  * - `requestChecked(next: boolean) => boolean`: Requests a change to `checked`, and returns whether it was applied.
71634
71649
  *
71635
71650
  * Announces before it acts, so `preventDefault()` on the
@@ -87411,6 +87426,9 @@ export type CustomElementsSolidJs = {
87411
87426
  *
87412
87427
  * Methods that can be called to access component functionality.
87413
87428
  *
87429
+ * - `click() => void`: Chooses the radio, as `click()` does a native radio: passed to the control
87430
+ * inside, so the one click a listener hears is the control's, after it has
87431
+ * moved. See `HostClickController`.
87414
87432
  * - `focusItem() => void`: Moves focus to the item's control, for the set's arrow keys.
87415
87433
  *
87416
87434
  * The set drives the keys and cannot reach the control itself, which is
@@ -90594,6 +90612,9 @@ export type CustomElementsSolidJs = {
90594
90612
  * Methods that can be called to access component functionality.
90595
90613
  *
90596
90614
  * - `formResetCallback() => void`: Returns the switch to the state its markup declared.
90615
+ * - `click() => void`: Turns the switch on or off, as `click()` does a native checkbox: passed to the control
90616
+ * inside, so the one click a listener hears is the control's, after it has
90617
+ * moved. See `HostClickController`.
90597
90618
  * - `requestChecked(next: boolean) => boolean`: Requests a change to `checked`, and returns whether it was applied.
90598
90619
  *
90599
90620
  * Announces before it acts, so `preventDefault()` on the
@@ -94359,6 +94380,9 @@ export type CustomElementsSolidJs = {
94359
94380
  *
94360
94381
  * - `select() => boolean`: Chooses the item in its group, or, on its own, flips `selected` once
94361
94382
  * `helix-select` stands and sends `change`.
94383
+ * - `click() => void`: Presses the toggle, as `click()` does a native button: passed to the control
94384
+ * inside, so the one click a listener hears is the control's, after it has
94385
+ * moved. See `HostClickController`.
94362
94386
  * - `focusItem() => void`: Moves focus to the item's control, for the set's arrow keys.
94363
94387
  *
94364
94388
  * The set drives the keys and cannot reach the control itself, which is