@umbraco-ui/uui-file-preview 1.5.0-rc.0 → 1.5.0-rc.2

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.
package/README.md CHANGED
@@ -6,7 +6,7 @@ Umbraco style file-preview component.
6
6
 
7
7
  ### See it in action
8
8
 
9
- Preview the component on [Storybook](https://uui.umbraco.com/?path=/story/uui-file-preview)
9
+ Preview the component on [Storybook](https://uui.umbraco.com/?path=/docs/uui-file-preview--docs)
10
10
 
11
11
  ## Installation
12
12
 
@@ -5,14 +5,14 @@
5
5
  "name": "uui-file-preview",
6
6
  "path": "./lib/uui-file-preview.element.ts",
7
7
  "properties": [
8
+ {
9
+ "name": "file",
10
+ "type": "File | undefined"
11
+ },
8
12
  {
9
13
  "name": "styles",
10
14
  "type": "CSSResult[]",
11
15
  "default": "[null]"
12
- },
13
- {
14
- "name": "file",
15
- "type": "File | undefined"
16
16
  }
17
17
  ],
18
18
  "slots": [
@@ -5,7 +5,6 @@ import { LitElement } from 'lit';
5
5
  * @description - A file preview with file size.
6
6
  */
7
7
  export declare class UUIFilePreviewElement extends LitElement {
8
- static styles: import("lit").CSSResult[];
9
8
  /**
10
9
  * Name of the file.
11
10
  * @type {string}
@@ -59,6 +58,7 @@ export declare class UUIFilePreviewElement extends LitElement {
59
58
  private _isFileAnImage;
60
59
  private _getThumbnail;
61
60
  render(): import("lit-html").TemplateResult<1>;
61
+ static styles: import("lit").CSSResult[];
62
62
  }
63
63
  declare global {
64
64
  interface HTMLElementTagNameMap {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@umbraco-ui/uui-file-preview",
3
- "version": "1.5.0-rc.0",
3
+ "version": "1.5.0-rc.2",
4
4
  "license": "MIT",
5
5
  "keywords": [
6
6
  "Umbraco",
@@ -30,10 +30,10 @@
30
30
  "custom-elements.json"
31
31
  ],
32
32
  "dependencies": {
33
- "@umbraco-ui/uui-base": "1.5.0-rc.0",
34
- "@umbraco-ui/uui-symbol-file": "1.5.0-rc.0",
35
- "@umbraco-ui/uui-symbol-file-thumbnail": "1.5.0-rc.0",
36
- "@umbraco-ui/uui-symbol-folder": "1.5.0-rc.0"
33
+ "@umbraco-ui/uui-base": "1.5.0-rc.2",
34
+ "@umbraco-ui/uui-symbol-file": "1.5.0-rc.2",
35
+ "@umbraco-ui/uui-symbol-file-thumbnail": "1.5.0-rc.2",
36
+ "@umbraco-ui/uui-symbol-folder": "1.5.0-rc.2"
37
37
  },
38
38
  "scripts": {
39
39
  "build": "npm run analyze && tsc --build --force && rollup -c rollup.config.js",
@@ -44,5 +44,5 @@
44
44
  "access": "public"
45
45
  },
46
46
  "homepage": "https://uui.umbraco.com/?path=/story/uui-file-preview",
47
- "gitHead": "73cbc1444590282b7fb63a18d5639628ba18f0a3"
47
+ "gitHead": "573af25cbb43f673731b87dd8e23dbe632bfc348"
48
48
  }