@fusion.dev/helix 0.4.5 → 0.4.6

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 (2) hide show
  1. package/package.json +6 -6
  2. package/types/jsx.d.ts +12 -0
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.4.5",
4
+ "version": "0.4.6",
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.4.5",
50
- "@fusion.dev/helix-headless": "0.4.5",
51
- "@fusion.dev/helix-styles": "0.4.5"
49
+ "@fusion.dev/helix-core": "0.4.6",
50
+ "@fusion.dev/helix-headless": "0.4.6",
51
+ "@fusion.dev/helix-styles": "0.4.6"
52
52
  },
53
53
  "devDependencies": {
54
54
  "@custom-elements-manifest/analyzer": "^0.11.0",
55
- "@fusion.dev/helix-cem": "0.4.5",
56
- "@fusion.dev/helix-testing": "0.4.5",
55
+ "@fusion.dev/helix-cem": "0.4.6",
56
+ "@fusion.dev/helix-testing": "0.4.6",
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
@@ -353,6 +353,18 @@ type BaseEvents<T = HTMLElement> = {
353
353
  onCut?: ((event: ClipboardEvent & { currentTarget: T }) => void) | undefined;
354
354
  /** Fired when the user has initiated a "paste" action through the browser's user interface. */
355
355
  onPaste?: ((event: ClipboardEvent & { currentTarget: T }) => void) | undefined;
356
+
357
+ // Declared by an element rather than by the generator's own list.
358
+ /** Declared by an element in this package's manifest. */
359
+ onClose?: ((event: Event & { currentTarget: T }) => void) | undefined;
360
+ /** Declared by an element in this package's manifest. */
361
+ onEnded?: ((event: Event & { currentTarget: T }) => void) | undefined;
362
+ /** Declared by an element in this package's manifest. */
363
+ onPause?: ((event: Event & { currentTarget: T }) => void) | undefined;
364
+ /** Declared by an element in this package's manifest. */
365
+ onPlay?: ((event: Event & { currentTarget: T }) => void) | undefined;
366
+ /** Declared by an element in this package's manifest. */
367
+ onToggle?: ((event: Event & { currentTarget: T }) => void) | undefined;
356
368
  };
357
369
 
358
370
  /** `HelixAccordionItem` component event */