vasille-web 4.1.5 → 4.1.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 +1 -1
  2. package/spec/html.d.ts +6 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "vasille-web",
3
- "version": "4.1.5",
3
+ "version": "4.1.6",
4
4
  "description": "The same framework which is designed to build bulletproof frontends.",
5
5
  "main": "index.js",
6
6
  "types": "./index.d.ts",
package/spec/html.d.ts CHANGED
@@ -292,6 +292,11 @@ interface ButtonAttrs extends TagAttrs {
292
292
  value: string;
293
293
  }
294
294
 
295
+ interface CanvasAttrs extends TagAttrs {
296
+ width: number;
297
+ height: number;
298
+ }
299
+
295
300
  interface SelectAttrs extends TagAttrs {
296
301
  autocomplete: boolean;
297
302
  disabled: boolean;
@@ -376,7 +381,7 @@ export interface HtmlTagMap {
376
381
  body: Tag<TagAttrs, BodyEvents, TagProps<HTMLBodyElement>>;
377
382
  br: Tag<TagAttrs, TagEvents, TagProps<HTMLBRElement>>;
378
383
  button: Tag<ButtonAttrs, TagEvents, ButtonProps>;
379
- canvas: Tag<TagAttrs, TagEvents, CanvasProps>;
384
+ canvas: Tag<CanvasAttrs, TagEvents, CanvasProps>;
380
385
  caption: Tag<TagAttrs, TagEvents, TagProps<HTMLElement>>;
381
386
  cite: Tag<TagAttrs, TagEvents, TagProps<HTMLElement>>;
382
387
  code: Tag<TagAttrs, TagEvents, TagProps<HTMLElement>>;