@fusion.dev/helix 0.13.0 → 0.13.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.
@@ -20753,6 +20753,18 @@
20753
20753
  "module": "src/combobox/root/combobox-root.ts"
20754
20754
  }
20755
20755
  },
20756
+ {
20757
+ "type": {
20758
+ "text": "HelixFilterEvent"
20759
+ },
20760
+ "description": "Fired as the reader types, carrying the text the list is being narrowed to. Cancelable: refusing it leaves the list whole, and is how a consumer takes the filtering for themselves.",
20761
+ "name": "helix-filter",
20762
+ "reactProp": "onhelix-filter",
20763
+ "inheritedFrom": {
20764
+ "name": "HelixHeadlessCombobox",
20765
+ "module": "src/combobox/root/combobox-root.ts"
20766
+ }
20767
+ },
20756
20768
  {
20757
20769
  "type": {
20758
20770
  "text": "Event"
@@ -32,6 +32,7 @@ registerElementEvents({
32
32
  'helix-before-close',
33
33
  'helix-before-open',
34
34
  'helix-create',
35
+ 'helix-filter',
35
36
  'input',
36
37
  'toggle',
37
38
  ],
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@fusion.dev/helix",
3
3
  "description": "Styled component tier. Extends the headless tier with token-driven presentation.",
4
- "version": "0.13.0",
4
+ "version": "0.13.1",
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.13.0",
50
- "@fusion.dev/helix-headless": "0.13.0",
51
- "@fusion.dev/helix-styles": "0.13.0"
49
+ "@fusion.dev/helix-core": "0.13.1",
50
+ "@fusion.dev/helix-headless": "0.13.1",
51
+ "@fusion.dev/helix-styles": "0.13.1"
52
52
  },
53
53
  "devDependencies": {
54
54
  "@custom-elements-manifest/analyzer": "^0.11.0",
55
- "@fusion.dev/helix-cem": "0.13.0",
56
- "@fusion.dev/helix-testing": "0.13.0",
55
+ "@fusion.dev/helix-cem": "0.13.1",
56
+ "@fusion.dev/helix-testing": "0.13.1",
57
57
  "@fusion.dev/scripts": "0.0.0-dev",
58
58
  "@happy-dom/global-registrator": "^20.0.0",
59
59
  "@lit-labs/ssr": "^3.3.0",
package/types/jsx.d.ts CHANGED
@@ -4046,6 +4046,9 @@ export type HelixComboboxHelixBeforeOpenElementEvent =
4046
4046
  /** `helix-create` event type */
4047
4047
  export type HelixComboboxHelixCreateElementEvent =
4048
4048
  HelixComboboxElementEvent<HelixCreateEvent>;
4049
+ /** `helix-filter` event type */
4050
+ export type HelixComboboxHelixFilterElementEvent =
4051
+ HelixComboboxElementEvent<HelixFilterEvent>;
4049
4052
 
4050
4053
  export type HelixComboboxProps = {
4051
4054
  /** Whether the element is open.
@@ -4195,6 +4198,8 @@ differently: they are one chooser to a consumer. */
4195
4198
  "onhelix-before-open"?: ((e: HelixComboboxHelixBeforeOpenElementEvent) => void) | undefined;
4196
4199
  /** Fired when the reader asks for something the list does not hold, and cancelable. */
4197
4200
  "onhelix-create"?: ((e: HelixComboboxHelixCreateElementEvent) => void) | undefined;
4201
+ /** Fired as the reader types, carrying the text the list is being narrowed to. Cancelable: refusing it leaves the list whole, and is how a consumer takes the filtering for themselves. */
4202
+ "onhelix-filter"?: ((e: HelixComboboxHelixFilterElementEvent) => void) | undefined;
4198
4203
  /** Says the state moved, carrying `newState` and `oldState`. */
4199
4204
  ontoggle?: ((e: HelixComboboxElementEvent) => void) | undefined;
4200
4205
  };
@@ -4348,6 +4353,8 @@ differently: they are one chooser to a consumer. */
4348
4353
  ) => void) | undefined;
4349
4354
  /** Fired when the reader asks for something the list does not hold, and cancelable. */
4350
4355
  "on:helix-create"?: ((e: HelixComboboxHelixCreateElementEvent) => void) | undefined;
4356
+ /** Fired as the reader types, carrying the text the list is being narrowed to. Cancelable: refusing it leaves the list whole, and is how a consumer takes the filtering for themselves. */
4357
+ "on:helix-filter"?: ((e: HelixComboboxHelixFilterElementEvent) => void) | undefined;
4351
4358
  /** Says the state moved, carrying `newState` and `oldState`. */
4352
4359
  "on:toggle"?: ((e: HelixComboboxElementEvent) => void) | undefined;
4353
4360
 
@@ -21527,6 +21534,7 @@ export type CustomElements = {
21527
21534
  * - `helix-before-close`: Fired before it closes. Cancelable: refusing it takes the decision and nothing moves.
21528
21535
  * - `helix-before-open`: Fired before the panel opens. Cancelable: refusing it takes the decision and nothing moves.
21529
21536
  * - `helix-create`: Fired when the reader asks for something the list does not hold, and cancelable.
21537
+ * - `helix-filter`: Fired as the reader types, carrying the text the list is being narrowed to. Cancelable: refusing it leaves the list whole, and is how a consumer takes the filtering for themselves.
21530
21538
  * - `toggle`: Says the state moved, carrying `newState` and `oldState`.
21531
21539
  *
21532
21540
  * ## Slots
@@ -37479,6 +37487,7 @@ export type CustomElementsSolidJs = {
37479
37487
  * - `helix-before-close`: Fired before it closes. Cancelable: refusing it takes the decision and nothing moves.
37480
37488
  * - `helix-before-open`: Fired before the panel opens. Cancelable: refusing it takes the decision and nothing moves.
37481
37489
  * - `helix-create`: Fired when the reader asks for something the list does not hold, and cancelable.
37490
+ * - `helix-filter`: Fired as the reader types, carrying the text the list is being narrowed to. Cancelable: refusing it leaves the list whole, and is how a consumer takes the filtering for themselves.
37482
37491
  * - `toggle`: Says the state moved, carrying `newState` and `oldState`.
37483
37492
  *
37484
37493
  * ## Slots
package/types/vue.d.ts CHANGED
@@ -2073,6 +2073,9 @@ export type HelixComboboxHelixBeforeOpenElementEvent =
2073
2073
  /** `helix-create` event type */
2074
2074
  export type HelixComboboxHelixCreateElementEvent =
2075
2075
  HelixComboboxElementEvent<HelixCreateEvent>;
2076
+ /** `helix-filter` event type */
2077
+ export type HelixComboboxHelixFilterElementEvent =
2078
+ HelixComboboxElementEvent<HelixFilterEvent>;
2076
2079
 
2077
2080
  export type HelixComboboxVueProps = {
2078
2081
  /** Whether the element is open.
@@ -2220,6 +2223,8 @@ export type HelixComboboxVueEvents = {
2220
2223
  "helix-before-open": HelixComboboxHelixBeforeOpenElementEvent;
2221
2224
  /** Fired when the reader asks for something the list does not hold, and cancelable. */
2222
2225
  "helix-create": HelixComboboxHelixCreateElementEvent;
2226
+ /** Fired as the reader types, carrying the text the list is being narrowed to. Cancelable: refusing it leaves the list whole, and is how a consumer takes the filtering for themselves. */
2227
+ "helix-filter": HelixComboboxHelixFilterElementEvent;
2223
2228
  /** Says the state moved, carrying `newState` and `oldState`. */
2224
2229
  toggle: HelixComboboxElementEvent;
2225
2230
  };