@viewfly/platform-browser 0.0.4 → 0.0.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.
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as CSS from 'csstype';
|
|
2
|
-
import {
|
|
2
|
+
import { ViewTypes } 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
|
|
@@ -199,10 +199,10 @@ interface AriaAttributes {
|
|
|
199
199
|
/** Defines the human readable text alternative of aria-valuenow for a range widget. */
|
|
200
200
|
'aria-valuetext'?: string;
|
|
201
201
|
}
|
|
202
|
-
export type StyleValue = string | CSSProperties;
|
|
203
|
-
export interface HTMLAttributes<T extends object> extends AriaAttributes, EventHandlers<Events>,
|
|
202
|
+
export type StyleValue = string | CSSProperties | null;
|
|
203
|
+
export interface HTMLAttributes<T extends object> extends AriaAttributes, EventHandlers<Events>, ViewTypes.RefAttributes<T> {
|
|
204
204
|
innerHTML?: string;
|
|
205
|
-
class?:
|
|
205
|
+
class?: ViewTypes.ClassNames;
|
|
206
206
|
style?: StyleValue;
|
|
207
207
|
accesskey?: string;
|
|
208
208
|
contenteditable?: Booleanish | 'inherit';
|
|
@@ -620,13 +620,13 @@ export interface WebViewHTMLAttributes<T extends object> extends HTMLAttributes<
|
|
|
620
620
|
useragent?: string;
|
|
621
621
|
webpreferences?: string;
|
|
622
622
|
}
|
|
623
|
-
export interface SVGAttributes<T extends object> extends AriaAttributes, EventHandlers<Events>,
|
|
623
|
+
export interface SVGAttributes<T extends object> extends AriaAttributes, EventHandlers<Events>, ViewTypes.RefAttributes<T> {
|
|
624
624
|
innerHTML?: string;
|
|
625
625
|
/**
|
|
626
626
|
* SVG Styling Attributes
|
|
627
627
|
* @see https://www.w3.org/TR/SVG/styling.html#ElementSpecificStyling
|
|
628
628
|
*/
|
|
629
|
-
class?:
|
|
629
|
+
class?: ViewTypes.ClassNames;
|
|
630
630
|
style?: string | CSSProperties;
|
|
631
631
|
color?: string;
|
|
632
632
|
height?: Numberish;
|
package/bundles/public-api.d.ts
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@viewfly/platform-browser",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.6",
|
|
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.
|
|
16
|
+
"@viewfly/core": "^0.0.6",
|
|
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": "
|
|
38
|
+
"gitHead": "75d56812c92bfd5d099e0d7eb8d964251d88df28"
|
|
39
39
|
}
|