@digital-realty/ix-fab 1.2.12 → 1.3.1
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/dist/ix-fab.min.js +11 -1
- package/package.json +10 -19
package/dist/ix-fab.min.js
CHANGED
|
@@ -1 +1,11 @@
|
|
|
1
|
-
import{__decorate}from"tslib";import{LitElement,html}from"lit";import{property}from"lit/decorators.js";import"@material/web/fab/fab.js";import"@material/web/icon/icon.js";class
|
|
1
|
+
import{__decorate as t}from"tslib";import{LitElement as i,html as o}from"lit";import{property as e}from"lit/decorators.js";import"@material/web/fab/fab.js";import"@material/web/icon/icon.js";class r extends i{constructor(){super(...arguments),this.lowered=!1,this.variant="surface",this.label="",this.size="medium",this.onClick=()=>{}}render(){return o`
|
|
2
|
+
<md-fab
|
|
3
|
+
.label=${this.label}
|
|
4
|
+
.lowered=${this.lowered}
|
|
5
|
+
.size=${this.size}
|
|
6
|
+
.variant=${this.variant}
|
|
7
|
+
@click=${this.onClick}
|
|
8
|
+
>
|
|
9
|
+
<slot slot="icon"></slot>
|
|
10
|
+
</md-fab>
|
|
11
|
+
`}}t([e({type:Boolean,reflect:!0})],r.prototype,"lowered",void 0),t([e()],r.prototype,"variant",void 0),t([e()],r.prototype,"label",void 0),t([e()],r.prototype,"size",void 0),t([e()],r.prototype,"onClick",void 0),window.customElements.define("ix-fab",r);
|
package/package.json
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"description": "Webcomponent ix-fab following open-wc recommendations",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"author": "Digital Realty",
|
|
6
|
-
"version": "1.
|
|
6
|
+
"version": "1.3.1",
|
|
7
7
|
"type": "module",
|
|
8
8
|
"main": "dist/index.js",
|
|
9
9
|
"module": "dist/index.js",
|
|
@@ -21,12 +21,10 @@
|
|
|
21
21
|
"start": "tsc && concurrently -k -r \"tsc --watch --preserveWatchOutput\" \"wds\"",
|
|
22
22
|
"build": "tsc && npm run analyze -- --exclude dist && rollup -c",
|
|
23
23
|
"prepublish": "tsc && npm run analyze -- --exclude dist",
|
|
24
|
-
"lint": "eslint --ext .ts,.html .
|
|
25
|
-
"format": "eslint --ext .ts,.html . --fix
|
|
24
|
+
"lint": "eslint --ext .ts,.html . && prettier \"**/*.ts\" --check --ignore-path .gitignore",
|
|
25
|
+
"format": "eslint --ext .ts,.html . --fix && prettier \"**/*.ts\" --write --ignore-path .gitignore",
|
|
26
26
|
"test": "tsc && wtr --coverage",
|
|
27
|
-
"test:watch": "tsc && concurrently -k -r \"tsc --watch --preserveWatchOutput\" \"wtr --watch\""
|
|
28
|
-
"storybook": "tsc && npm run analyze -- --exclude dist && concurrently -k -r \"tsc --watch --preserveWatchOutput\" \"wds -c .storybook/server.mjs\"",
|
|
29
|
-
"storybook:build": "tsc && npm run analyze -- --exclude dist && build-storybook"
|
|
27
|
+
"test:watch": "tsc && concurrently -k -r \"tsc --watch --preserveWatchOutput\" \"wtr --watch\""
|
|
30
28
|
},
|
|
31
29
|
"dependencies": {
|
|
32
30
|
"@eslint/js": "^8.49.0",
|
|
@@ -37,33 +35,26 @@
|
|
|
37
35
|
},
|
|
38
36
|
"devDependencies": {
|
|
39
37
|
"@custom-elements-manifest/analyzer": "^0.4.17",
|
|
40
|
-
"@open-wc/eslint-config": "^9.2.1",
|
|
41
38
|
"@open-wc/testing": "^3.1.6",
|
|
42
|
-
"@
|
|
43
|
-
"@typescript-eslint/
|
|
39
|
+
"@rollup/plugin-terser": "^1.0.0",
|
|
40
|
+
"@typescript-eslint/eslint-plugin": "^8.58.2",
|
|
41
|
+
"@typescript-eslint/parser": "^8.58.2",
|
|
44
42
|
"@web/dev-server": "^0.4.6",
|
|
45
|
-
"@web/dev-server-storybook": "^2.0.3",
|
|
46
43
|
"@web/test-runner": "^0.20.2",
|
|
47
|
-
"concurrently": "^9.1
|
|
48
|
-
"eslint": "^
|
|
44
|
+
"concurrently": "^9.2.1",
|
|
45
|
+
"eslint": "^9.39.4",
|
|
49
46
|
"eslint-config-prettier": "^8.3.0",
|
|
50
47
|
"husky": "^4.3.8",
|
|
51
48
|
"lint-staged": "^10.5.4",
|
|
52
49
|
"prettier": "^2.4.1",
|
|
53
50
|
"rollup": "^4.29.1",
|
|
54
|
-
"rollup-plugin-minify-html-literals": "^1.2.6",
|
|
55
51
|
"rollup-plugin-summary": "^2.0.0",
|
|
56
|
-
"rollup-plugin-uglify": "^6.0.4",
|
|
57
52
|
"tslib": "^2.3.1",
|
|
58
53
|
"typescript": "^4.5.2"
|
|
59
54
|
},
|
|
60
55
|
"customElements": "custom-elements.json",
|
|
61
56
|
"eslintConfig": {
|
|
62
57
|
"parser": "@typescript-eslint/parser",
|
|
63
|
-
"extends": [
|
|
64
|
-
"@open-wc",
|
|
65
|
-
"prettier"
|
|
66
|
-
],
|
|
67
58
|
"plugins": [
|
|
68
59
|
"@typescript-eslint"
|
|
69
60
|
],
|
|
@@ -104,5 +95,5 @@
|
|
|
104
95
|
"README.md",
|
|
105
96
|
"LICENSE"
|
|
106
97
|
],
|
|
107
|
-
"gitHead": "
|
|
98
|
+
"gitHead": "da06737d6707fd3d4ef898ba0fa632e7b3ed8019"
|
|
108
99
|
}
|