@umbraco-ui/uui-file-preview 1.0.0-rc.0 → 1.0.0-rc.3

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
@@ -1,9 +1,13 @@
1
1
  # uui-file-preview
2
2
 
3
- ![npm](https://img.shields.io/npm/v/@umbraco-ui/uui-file-preview?logoColor=%231B264F)
3
+ [![npm](https://img.shields.io/npm/v/@umbraco-ui/uui-file-preview?logoColor=%231B264F)](https://www.npmjs.com/package/@umbraco-ui/uui-file-preview)
4
4
 
5
5
  Umbraco style file-preview component.
6
6
 
7
+ ### See it in action
8
+
9
+ Preview the component on [Storybook](https://uui.umbraco.com/?path=/story/uui-file-preview)
10
+
7
11
  ## Installation
8
12
 
9
13
  ### ES imports
package/lib/index.js CHANGED
@@ -86,7 +86,10 @@ let UUIFilePreviewElement = class extends LitElement {
86
86
  _renderLongName() {
87
87
  const endCharCount = 6;
88
88
  const nameStart = this._name.substring(0, this._name.length - endCharCount);
89
- const nameEnd = this._name.substring(this._name.length - endCharCount, this._name.length);
89
+ const nameEnd = this._name.substring(
90
+ this._name.length - endCharCount,
91
+ this._name.length
92
+ );
90
93
  return html`
91
94
  <span
92
95
  id="file-name"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@umbraco-ui/uui-file-preview",
3
- "version": "1.0.0-rc.0",
3
+ "version": "1.0.0-rc.3",
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.0.0-rc.0",
34
- "@umbraco-ui/uui-symbol-file": "1.0.0-rc.0",
35
- "@umbraco-ui/uui-symbol-file-thumbnail": "1.0.0-rc.0",
36
- "@umbraco-ui/uui-symbol-folder": "1.0.0-rc.0"
33
+ "@umbraco-ui/uui-base": "1.0.0-rc.3",
34
+ "@umbraco-ui/uui-symbol-file": "1.0.0-rc.3",
35
+ "@umbraco-ui/uui-symbol-file-thumbnail": "1.0.0-rc.3",
36
+ "@umbraco-ui/uui-symbol-folder": "1.0.0-rc.3"
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": "b03d833ef438156f3e87d3ffa29a4dcca7d560cd"
47
+ "gitHead": "7d643a3d5f7204efbc3aaad83889c2fd5200af73"
48
48
  }