@umbraco-ui/uui-file-preview 1.0.0-rc.1 → 1.0.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.
Files changed (2) hide show
  1. package/lib/index.js +4 -1
  2. package/package.json +6 -6
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.1",
3
+ "version": "1.0.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.0.0-rc.1",
34
- "@umbraco-ui/uui-symbol-file": "1.0.0-rc.1",
35
- "@umbraco-ui/uui-symbol-file-thumbnail": "1.0.0-rc.1",
36
- "@umbraco-ui/uui-symbol-folder": "1.0.0-rc.1"
33
+ "@umbraco-ui/uui-base": "1.0.0-rc.2",
34
+ "@umbraco-ui/uui-symbol-file": "1.0.0-rc.2",
35
+ "@umbraco-ui/uui-symbol-file-thumbnail": "1.0.0-rc.2",
36
+ "@umbraco-ui/uui-symbol-folder": "1.0.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": "127e036dbafa18cc37027591d6548a4cb4700d33"
47
+ "gitHead": "436dd8d9fff81481feb88f06b461167c98dac91a"
48
48
  }