@viewfly/platform-browser 0.0.1-alpha.17 → 0.0.1-alpha.18

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/bundles/jsx.d.ts +3 -7
  2. package/package.json +3 -3
package/bundles/jsx.d.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  import * as CSS from 'csstype';
2
- import { Key, Ref } from '@viewfly/core';
2
+ import { JSX } from '@viewfly/core';
3
3
  export interface CSSProperties extends CSS.Properties<string | number>, CSS.PropertiesHyphen<string | number> {
4
4
  /**
5
5
  * The index signature was removed to enable closed typing for style
@@ -200,11 +200,7 @@ interface AriaAttributes {
200
200
  'aria-valuetext'?: string;
201
201
  }
202
202
  export type StyleValue = string | CSSProperties;
203
- export interface VFAttributes<T extends object> {
204
- ref?: Ref<T>;
205
- key?: Key;
206
- }
207
- export interface HTMLAttributes<T extends object> extends AriaAttributes, EventHandlers<Events>, VFAttributes<T> {
203
+ export interface HTMLAttributes<T extends object> extends AriaAttributes, EventHandlers<Events>, JSX.Attributes<T> {
208
204
  innerHTML?: string;
209
205
  class?: any;
210
206
  style?: StyleValue;
@@ -624,7 +620,7 @@ export interface WebViewHTMLAttributes<T extends object> extends HTMLAttributes<
624
620
  useragent?: string;
625
621
  webpreferences?: string;
626
622
  }
627
- export interface SVGAttributes<T extends object> extends AriaAttributes, EventHandlers<Events>, VFAttributes<T> {
623
+ export interface SVGAttributes<T extends object> extends AriaAttributes, EventHandlers<Events>, JSX.Attributes<T> {
628
624
  innerHTML?: string;
629
625
  /**
630
626
  * SVG Styling Attributes
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@viewfly/platform-browser",
3
- "version": "0.0.1-alpha.17",
3
+ "version": "0.0.1-alpha.18",
4
4
  "description": "This project is used to enable the Viewfly framework to run in a browser.",
5
5
  "main": "./bundles/index.js",
6
6
  "module": "./bundles/index.esm.js",
@@ -13,7 +13,7 @@
13
13
  "keywords": [],
14
14
  "dependencies": {
15
15
  "@tanbo/di": "^1.1.5",
16
- "@viewfly/core": "^0.0.1-alpha.17",
16
+ "@viewfly/core": "^0.0.1-alpha.18",
17
17
  "csstype": "^3.1.2",
18
18
  "reflect-metadata": "^0.1.13"
19
19
  },
@@ -35,5 +35,5 @@
35
35
  "bugs": {
36
36
  "url": "https://github.com/viewfly/viewfly.git/issues"
37
37
  },
38
- "gitHead": "d10e9c9f134b3b5bcd1278f3f4f1106bc2623f26"
38
+ "gitHead": "742425d66d4b9db93239f5fb50d5faaa41c92571"
39
39
  }