smoothly 0.3.5 → 0.3.7
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/cjs/{index-3efe2a41.js → index-3fb97927.js} +467 -269
- package/dist/cjs/{index-2a011313.js → index-7b75b331.js} +1 -1
- package/dist/cjs/index.cjs.js +2 -2
- package/dist/cjs/loader.cjs.js +3 -3
- package/dist/cjs/smoothly-accordion_53.cjs.entry.js +68 -26
- package/dist/cjs/smoothly-google-font.cjs.entry.js +1 -1
- package/dist/cjs/smoothly-radio-group.cjs.entry.js +1 -1
- package/dist/cjs/smoothly-reorder.cjs.entry.js +1 -1
- package/dist/cjs/smoothly-trigger-sink.cjs.entry.js +1 -1
- package/dist/cjs/smoothly-trigger-source.cjs.entry.js +1 -1
- package/dist/cjs/smoothly.cjs.js +3 -3
- package/dist/collection/collection-manifest.json +2 -2
- package/dist/collection/components/App.js +38 -46
- package/dist/collection/components/accordion/index.js +65 -55
- package/dist/collection/components/accordion-item/index.js +133 -131
- package/dist/collection/components/app/index.js +37 -32
- package/dist/collection/components/app-demo/index.js +39 -68
- package/dist/collection/components/backtotop/index.js +73 -66
- package/dist/collection/components/button/index.js +144 -141
- package/dist/collection/components/calendar/index.js +277 -268
- package/dist/collection/components/checkbox/index.js +120 -110
- package/dist/collection/components/dialog/index.js +97 -93
- package/dist/collection/components/dialog-demo/index.js +2 -3
- package/dist/collection/components/display/index.js +108 -102
- package/dist/collection/components/display-amount/index.js +68 -63
- package/dist/collection/components/display-date-time/index.js +35 -30
- package/dist/collection/components/display-demo/index.js +23 -129
- package/dist/collection/components/frame/index.js +134 -124
- package/dist/collection/components/google-font/index.js +26 -24
- package/dist/collection/components/icon/index.js +116 -107
- package/dist/collection/components/icon-demo/index.js +11 -7
- package/dist/collection/components/input/index.js +364 -355
- package/dist/collection/components/input-date/index.js +165 -156
- package/dist/collection/components/input-date-range/index.js +220 -213
- package/dist/collection/components/input-demo/index.js +2 -87
- package/dist/collection/components/input-month/index.js +65 -57
- package/dist/collection/components/item/index.js +101 -87
- package/dist/collection/components/menu-options/index.js +287 -275
- package/dist/collection/components/notification/index.js +74 -63
- package/dist/collection/components/notifier/index.js +31 -23
- package/dist/collection/components/option/index.js +227 -223
- package/dist/collection/components/picker/index.js +404 -397
- package/dist/collection/components/popup/index.js +73 -69
- package/dist/collection/components/quiet/index.js +33 -28
- package/dist/collection/components/radio/index.js +98 -91
- package/dist/collection/components/radio-button/index.js +92 -83
- package/dist/collection/components/radio-button/item/index.js +91 -66
- package/dist/collection/components/radio-button/item/style.css +9 -15
- package/dist/collection/components/radio-group/index.js +33 -27
- package/dist/collection/components/reorder/index.js +28 -23
- package/dist/collection/components/room/index.js +73 -71
- package/dist/collection/components/select/index.js +82 -75
- package/dist/collection/components/select-demo/index.js +24 -42
- package/dist/collection/components/selector/index.js +71 -68
- package/dist/collection/components/skeleton/index.js +112 -106
- package/dist/collection/components/spinner/index.js +50 -46
- package/dist/collection/components/submit/index.js +174 -163
- package/dist/collection/components/svg/index.js +65 -60
- package/dist/collection/components/tab/index.js +84 -75
- package/dist/collection/components/tab-switch/index.js +32 -23
- package/dist/collection/components/table/cell/index.js +12 -9
- package/dist/collection/components/table/demo/index.js +13 -59
- package/dist/collection/components/table/expandable/cell/index.js +100 -95
- package/dist/collection/components/table/expandable/row/index.js +85 -79
- package/dist/collection/components/table/header/index.js +33 -28
- package/dist/collection/components/table/index.js +44 -36
- package/dist/collection/components/table/row/index.js +26 -20
- package/dist/collection/components/trigger/index.js +174 -166
- package/dist/collection/components/trigger-sink/index.js +73 -65
- package/dist/collection/components/trigger-source/index.js +71 -63
- package/dist/collection/components/tuple/index.js +19 -17
- package/dist/collection/components/urlencoded/index.js +22 -20
- package/dist/collection/model/Listenable.js +4 -2
- package/dist/custom-elements/index.js +67 -25
- package/dist/esm/{index-1d438ba2.js → index-3b463176.js} +1 -1
- package/dist/esm/{index-4d9efff8.js → index-fcf8bdd3.js} +467 -269
- package/dist/esm/index.js +2 -2
- package/dist/esm/loader.js +3 -3
- package/dist/esm/polyfills/css-shim.js +1 -1
- package/dist/esm/smoothly-accordion_53.entry.js +68 -26
- package/dist/esm/smoothly-google-font.entry.js +1 -1
- package/dist/esm/smoothly-radio-group.entry.js +1 -1
- package/dist/esm/smoothly-reorder.entry.js +1 -1
- package/dist/esm/smoothly-trigger-sink.entry.js +1 -1
- package/dist/esm/smoothly-trigger-source.entry.js +1 -1
- package/dist/esm/smoothly.js +3 -3
- package/dist/smoothly/index.esm.js +1 -1
- package/dist/smoothly/{p-d5d4832d.entry.js → p-0833f25c.entry.js} +1 -1
- package/dist/smoothly/{p-919ae3e8.entry.js → p-2bf8c660.entry.js} +1 -1
- package/dist/smoothly/{p-8e4e941e.entry.js → p-3bd18eea.entry.js} +1 -1
- package/dist/smoothly/{p-9bc77fba.entry.js → p-a1c137fc.entry.js} +1 -1
- package/dist/smoothly/p-af26b4ed.entry.js +1 -0
- package/dist/smoothly/p-af90d05a.js +2 -0
- package/dist/smoothly/{p-76e88859.js → p-e5191036.js} +1 -1
- package/dist/smoothly/{p-7a5eda51.entry.js → p-f67259c5.entry.js} +1 -1
- package/dist/smoothly/smoothly.esm.js +1 -1
- package/dist/types/components/radio-button/item/index.d.ts +2 -0
- package/dist/types/components.d.ts +3 -1
- package/dist/types/stencil-public-runtime.d.ts +15 -4
- package/loader/package.json +1 -0
- package/package.json +6 -6
- package/dist/smoothly/p-191ee4b8.js +0 -2
- package/dist/smoothly/p-78b676aa.entry.js +0 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { h, Host } from "@stencil/core";
|
|
2
2
|
export class SmoothlySpinner {
|
|
3
3
|
constructor() {
|
|
4
4
|
this.size = "large";
|
|
@@ -8,53 +8,57 @@ export class SmoothlySpinner {
|
|
|
8
8
|
return (h(Host, { style: {
|
|
9
9
|
"--color": `var(--spinner-color)`,
|
|
10
10
|
"--size": this.size == "large" ? "5em" : this.size == "medium" ? "3em" : "1.2em",
|
|
11
|
-
} },
|
|
12
|
-
h("svg", { class: "spinner", viewBox: `0 0 ${60 + strokeWidth} ${60 + strokeWidth}`, xmlns: "http://www.w3.org/2000/svg" },
|
|
13
|
-
h("circle", { class: "path", fill: "none", "stroke-width": strokeWidth, "stroke-linecap": "round", cx: `${30 + strokeWidth / 2}`, cy: `${30 + strokeWidth / 2}`, r: "30" }))));
|
|
11
|
+
} }, h("svg", { class: "spinner", viewBox: `0 0 ${60 + strokeWidth} ${60 + strokeWidth}`, xmlns: "http://www.w3.org/2000/svg" }, h("circle", { class: "path", fill: "none", "stroke-width": strokeWidth, "stroke-linecap": "round", cx: `${30 + strokeWidth / 2}`, cy: `${30 + strokeWidth / 2}`, r: "30" }))));
|
|
14
12
|
}
|
|
15
13
|
static get is() { return "smoothly-spinner"; }
|
|
16
14
|
static get encapsulation() { return "scoped"; }
|
|
17
|
-
static get originalStyleUrls() {
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
"
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
"original": "\"small\" | \"medium\" | \"large\"",
|
|
46
|
-
"resolved": "\"large\" | \"medium\" | \"small\"",
|
|
47
|
-
"references": {}
|
|
48
|
-
},
|
|
49
|
-
"required": false,
|
|
50
|
-
"optional": false,
|
|
51
|
-
"docs": {
|
|
52
|
-
"tags": [],
|
|
53
|
-
"text": ""
|
|
15
|
+
static get originalStyleUrls() {
|
|
16
|
+
return {
|
|
17
|
+
"$": ["style.scss"]
|
|
18
|
+
};
|
|
19
|
+
}
|
|
20
|
+
static get styleUrls() {
|
|
21
|
+
return {
|
|
22
|
+
"$": ["style.css"]
|
|
23
|
+
};
|
|
24
|
+
}
|
|
25
|
+
static get properties() {
|
|
26
|
+
return {
|
|
27
|
+
"active": {
|
|
28
|
+
"type": "boolean",
|
|
29
|
+
"mutable": false,
|
|
30
|
+
"complexType": {
|
|
31
|
+
"original": "boolean",
|
|
32
|
+
"resolved": "boolean",
|
|
33
|
+
"references": {}
|
|
34
|
+
},
|
|
35
|
+
"required": false,
|
|
36
|
+
"optional": false,
|
|
37
|
+
"docs": {
|
|
38
|
+
"tags": [],
|
|
39
|
+
"text": ""
|
|
40
|
+
},
|
|
41
|
+
"attribute": "active",
|
|
42
|
+
"reflect": true
|
|
54
43
|
},
|
|
55
|
-
"
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
44
|
+
"size": {
|
|
45
|
+
"type": "string",
|
|
46
|
+
"mutable": false,
|
|
47
|
+
"complexType": {
|
|
48
|
+
"original": "\"small\" | \"medium\" | \"large\"",
|
|
49
|
+
"resolved": "\"large\" | \"medium\" | \"small\"",
|
|
50
|
+
"references": {}
|
|
51
|
+
},
|
|
52
|
+
"required": false,
|
|
53
|
+
"optional": false,
|
|
54
|
+
"docs": {
|
|
55
|
+
"tags": [],
|
|
56
|
+
"text": ""
|
|
57
|
+
},
|
|
58
|
+
"attribute": "size",
|
|
59
|
+
"reflect": true,
|
|
60
|
+
"defaultValue": "\"large\""
|
|
61
|
+
}
|
|
62
|
+
};
|
|
63
|
+
}
|
|
60
64
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { h } from "@stencil/core";
|
|
2
2
|
import { Data } from "./Data";
|
|
3
3
|
export class SmoothlySubmit {
|
|
4
4
|
constructor() {
|
|
@@ -40,184 +40,195 @@ export class SmoothlySubmit {
|
|
|
40
40
|
render() {
|
|
41
41
|
return [
|
|
42
42
|
h("smoothly-spinner", { active: this.processing }),
|
|
43
|
-
h("button", { type: "submit", disabled: this.disabled || this.processing, ref: (element) => (this.button = element) },
|
|
44
|
-
h("slot", null)),
|
|
43
|
+
h("button", { type: "submit", disabled: this.disabled || this.processing, ref: (element) => (this.button = element) }, h("slot", null)),
|
|
45
44
|
];
|
|
46
45
|
}
|
|
47
46
|
static get is() { return "smoothly-submit"; }
|
|
48
47
|
static get encapsulation() { return "scoped"; }
|
|
49
|
-
static get originalStyleUrls() {
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
"
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
48
|
+
static get originalStyleUrls() {
|
|
49
|
+
return {
|
|
50
|
+
"$": ["style.css"]
|
|
51
|
+
};
|
|
52
|
+
}
|
|
53
|
+
static get styleUrls() {
|
|
54
|
+
return {
|
|
55
|
+
"$": ["style.css"]
|
|
56
|
+
};
|
|
57
|
+
}
|
|
58
|
+
static get properties() {
|
|
59
|
+
return {
|
|
60
|
+
"processing": {
|
|
61
|
+
"type": "boolean",
|
|
62
|
+
"mutable": true,
|
|
63
|
+
"complexType": {
|
|
64
|
+
"original": "boolean",
|
|
65
|
+
"resolved": "boolean",
|
|
66
|
+
"references": {}
|
|
67
|
+
},
|
|
68
|
+
"required": false,
|
|
69
|
+
"optional": false,
|
|
70
|
+
"docs": {
|
|
71
|
+
"tags": [],
|
|
72
|
+
"text": ""
|
|
73
|
+
},
|
|
74
|
+
"attribute": "processing",
|
|
75
|
+
"reflect": true
|
|
69
76
|
},
|
|
70
|
-
"
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
"location": "import",
|
|
82
|
-
"path": "../../model"
|
|
77
|
+
"color": {
|
|
78
|
+
"type": "string",
|
|
79
|
+
"mutable": false,
|
|
80
|
+
"complexType": {
|
|
81
|
+
"original": "Color",
|
|
82
|
+
"resolved": "\"danger\" | \"dark\" | \"default\" | \"light\" | \"medium\" | \"primary\" | \"secondary\" | \"success\" | \"tertiary\" | \"warning\" | undefined",
|
|
83
|
+
"references": {
|
|
84
|
+
"Color": {
|
|
85
|
+
"location": "import",
|
|
86
|
+
"path": "../../model"
|
|
87
|
+
}
|
|
83
88
|
}
|
|
84
|
-
}
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
89
|
+
},
|
|
90
|
+
"required": false,
|
|
91
|
+
"optional": true,
|
|
92
|
+
"docs": {
|
|
93
|
+
"tags": [],
|
|
94
|
+
"text": ""
|
|
95
|
+
},
|
|
96
|
+
"attribute": "color",
|
|
97
|
+
"reflect": true
|
|
91
98
|
},
|
|
92
|
-
"
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
"location": "import",
|
|
104
|
-
"path": "../../model"
|
|
99
|
+
"expand": {
|
|
100
|
+
"type": "string",
|
|
101
|
+
"mutable": false,
|
|
102
|
+
"complexType": {
|
|
103
|
+
"original": "Expand",
|
|
104
|
+
"resolved": "\"block\" | \"full\" | undefined",
|
|
105
|
+
"references": {
|
|
106
|
+
"Expand": {
|
|
107
|
+
"location": "import",
|
|
108
|
+
"path": "../../model"
|
|
109
|
+
}
|
|
105
110
|
}
|
|
106
|
-
}
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
111
|
+
},
|
|
112
|
+
"required": false,
|
|
113
|
+
"optional": true,
|
|
114
|
+
"docs": {
|
|
115
|
+
"tags": [],
|
|
116
|
+
"text": ""
|
|
117
|
+
},
|
|
118
|
+
"attribute": "expand",
|
|
119
|
+
"reflect": true
|
|
113
120
|
},
|
|
114
|
-
"
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
"location": "import",
|
|
126
|
-
"path": "../../model"
|
|
121
|
+
"fill": {
|
|
122
|
+
"type": "string",
|
|
123
|
+
"mutable": false,
|
|
124
|
+
"complexType": {
|
|
125
|
+
"original": "Fill",
|
|
126
|
+
"resolved": "\"clear\" | \"default\" | \"outline\" | \"solid\" | undefined",
|
|
127
|
+
"references": {
|
|
128
|
+
"Fill": {
|
|
129
|
+
"location": "import",
|
|
130
|
+
"path": "../../model"
|
|
131
|
+
}
|
|
127
132
|
}
|
|
128
|
-
}
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
"reflect": true
|
|
138
|
-
},
|
|
139
|
-
"disabled": {
|
|
140
|
-
"type": "boolean",
|
|
141
|
-
"mutable": false,
|
|
142
|
-
"complexType": {
|
|
143
|
-
"original": "boolean",
|
|
144
|
-
"resolved": "boolean",
|
|
145
|
-
"references": {}
|
|
146
|
-
},
|
|
147
|
-
"required": false,
|
|
148
|
-
"optional": false,
|
|
149
|
-
"docs": {
|
|
150
|
-
"tags": [],
|
|
151
|
-
"text": ""
|
|
152
|
-
},
|
|
153
|
-
"attribute": "disabled",
|
|
154
|
-
"reflect": true,
|
|
155
|
-
"defaultValue": "false"
|
|
156
|
-
},
|
|
157
|
-
"prevent": {
|
|
158
|
-
"type": "boolean",
|
|
159
|
-
"mutable": false,
|
|
160
|
-
"complexType": {
|
|
161
|
-
"original": "boolean",
|
|
162
|
-
"resolved": "boolean | undefined",
|
|
163
|
-
"references": {}
|
|
164
|
-
},
|
|
165
|
-
"required": false,
|
|
166
|
-
"optional": true,
|
|
167
|
-
"docs": {
|
|
168
|
-
"tags": [],
|
|
169
|
-
"text": ""
|
|
133
|
+
},
|
|
134
|
+
"required": false,
|
|
135
|
+
"optional": true,
|
|
136
|
+
"docs": {
|
|
137
|
+
"tags": [],
|
|
138
|
+
"text": ""
|
|
139
|
+
},
|
|
140
|
+
"attribute": "fill",
|
|
141
|
+
"reflect": true
|
|
170
142
|
},
|
|
171
|
-
"
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
143
|
+
"disabled": {
|
|
144
|
+
"type": "boolean",
|
|
145
|
+
"mutable": false,
|
|
146
|
+
"complexType": {
|
|
147
|
+
"original": "boolean",
|
|
148
|
+
"resolved": "boolean",
|
|
149
|
+
"references": {}
|
|
150
|
+
},
|
|
151
|
+
"required": false,
|
|
152
|
+
"optional": false,
|
|
153
|
+
"docs": {
|
|
154
|
+
"tags": [],
|
|
155
|
+
"text": ""
|
|
156
|
+
},
|
|
157
|
+
"attribute": "disabled",
|
|
158
|
+
"reflect": true,
|
|
159
|
+
"defaultValue": "false"
|
|
184
160
|
},
|
|
185
|
-
"
|
|
186
|
-
"
|
|
187
|
-
"
|
|
188
|
-
"
|
|
189
|
-
"
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
161
|
+
"prevent": {
|
|
162
|
+
"type": "boolean",
|
|
163
|
+
"mutable": false,
|
|
164
|
+
"complexType": {
|
|
165
|
+
"original": "boolean",
|
|
166
|
+
"resolved": "boolean | undefined",
|
|
167
|
+
"references": {}
|
|
168
|
+
},
|
|
169
|
+
"required": false,
|
|
170
|
+
"optional": true,
|
|
171
|
+
"docs": {
|
|
172
|
+
"tags": [],
|
|
173
|
+
"text": ""
|
|
174
|
+
},
|
|
175
|
+
"attribute": "prevent",
|
|
176
|
+
"reflect": false
|
|
194
177
|
}
|
|
195
|
-
}
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
"
|
|
200
|
-
"
|
|
201
|
-
"
|
|
202
|
-
|
|
203
|
-
|
|
178
|
+
};
|
|
179
|
+
}
|
|
180
|
+
static get events() {
|
|
181
|
+
return [{
|
|
182
|
+
"method": "submitEvent",
|
|
183
|
+
"name": "submit",
|
|
184
|
+
"bubbles": true,
|
|
185
|
+
"cancelable": true,
|
|
186
|
+
"composed": true,
|
|
187
|
+
"docs": {
|
|
188
|
+
"tags": [],
|
|
189
|
+
"text": ""
|
|
190
|
+
},
|
|
191
|
+
"complexType": {
|
|
192
|
+
"original": "Data",
|
|
193
|
+
"resolved": "{ [name: string]: string | Data; }",
|
|
194
|
+
"references": {
|
|
195
|
+
"Data": {
|
|
196
|
+
"location": "import",
|
|
197
|
+
"path": "./Data"
|
|
198
|
+
}
|
|
204
199
|
}
|
|
200
|
+
}
|
|
201
|
+
}];
|
|
202
|
+
}
|
|
203
|
+
static get methods() {
|
|
204
|
+
return {
|
|
205
|
+
"submit": {
|
|
206
|
+
"complexType": {
|
|
207
|
+
"signature": "() => Promise<boolean>",
|
|
208
|
+
"parameters": [],
|
|
209
|
+
"references": {
|
|
210
|
+
"Promise": {
|
|
211
|
+
"location": "global"
|
|
212
|
+
}
|
|
213
|
+
},
|
|
214
|
+
"return": "Promise<boolean>"
|
|
205
215
|
},
|
|
206
|
-
"
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
"tags": []
|
|
216
|
+
"docs": {
|
|
217
|
+
"text": "",
|
|
218
|
+
"tags": []
|
|
219
|
+
}
|
|
211
220
|
}
|
|
212
|
-
}
|
|
213
|
-
}
|
|
214
|
-
static get listeners() {
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
+
};
|
|
222
|
+
}
|
|
223
|
+
static get listeners() {
|
|
224
|
+
return [{
|
|
225
|
+
"name": "click",
|
|
226
|
+
"method": "handleSubmit",
|
|
227
|
+
"target": undefined,
|
|
228
|
+
"capture": false,
|
|
229
|
+
"passive": false
|
|
230
|
+
}];
|
|
231
|
+
}
|
|
221
232
|
}
|
|
222
233
|
function hasNameAndValue(element) {
|
|
223
234
|
return (typeof element.name == "string" && typeof element.value == "string");
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { h, Host } from "@stencil/core";
|
|
2
2
|
export class SmoothlySvg {
|
|
3
3
|
constructor() {
|
|
4
4
|
this.defaultSizes = {
|
|
@@ -25,68 +25,73 @@ export class SmoothlySvg {
|
|
|
25
25
|
"--size-height": height,
|
|
26
26
|
"--size-width": width,
|
|
27
27
|
"--color": this.color,
|
|
28
|
-
} },
|
|
29
|
-
h("object", { height: height, width: width, type: "image/svg+xml", data: this.url })));
|
|
28
|
+
} }, h("object", { height: height, width: width, type: "image/svg+xml", data: this.url })));
|
|
30
29
|
}
|
|
31
30
|
static get is() { return "smoothly-svg"; }
|
|
32
31
|
static get encapsulation() { return "scoped"; }
|
|
33
|
-
static get originalStyleUrls() {
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
"
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
"original": "\"large\" | \"medium\" | \"small\" | \"tiny\" | { height: string; width: string }",
|
|
62
|
-
"resolved": "\"large\" | \"medium\" | \"small\" | \"tiny\" | undefined | { height: string; width: string; }",
|
|
63
|
-
"references": {}
|
|
64
|
-
},
|
|
65
|
-
"required": false,
|
|
66
|
-
"optional": true,
|
|
67
|
-
"docs": {
|
|
68
|
-
"tags": [],
|
|
69
|
-
"text": ""
|
|
70
|
-
},
|
|
71
|
-
"attribute": "size",
|
|
72
|
-
"reflect": true
|
|
73
|
-
},
|
|
74
|
-
"color": {
|
|
75
|
-
"type": "string",
|
|
76
|
-
"mutable": false,
|
|
77
|
-
"complexType": {
|
|
78
|
-
"original": "string",
|
|
79
|
-
"resolved": "string",
|
|
80
|
-
"references": {}
|
|
32
|
+
static get originalStyleUrls() {
|
|
33
|
+
return {
|
|
34
|
+
"$": ["style.css"]
|
|
35
|
+
};
|
|
36
|
+
}
|
|
37
|
+
static get styleUrls() {
|
|
38
|
+
return {
|
|
39
|
+
"$": ["style.css"]
|
|
40
|
+
};
|
|
41
|
+
}
|
|
42
|
+
static get properties() {
|
|
43
|
+
return {
|
|
44
|
+
"url": {
|
|
45
|
+
"type": "string",
|
|
46
|
+
"mutable": false,
|
|
47
|
+
"complexType": {
|
|
48
|
+
"original": "string",
|
|
49
|
+
"resolved": "string",
|
|
50
|
+
"references": {}
|
|
51
|
+
},
|
|
52
|
+
"required": true,
|
|
53
|
+
"optional": false,
|
|
54
|
+
"docs": {
|
|
55
|
+
"tags": [],
|
|
56
|
+
"text": ""
|
|
57
|
+
},
|
|
58
|
+
"attribute": "url",
|
|
59
|
+
"reflect": true
|
|
81
60
|
},
|
|
82
|
-
"
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
"
|
|
86
|
-
|
|
61
|
+
"size": {
|
|
62
|
+
"type": "string",
|
|
63
|
+
"mutable": false,
|
|
64
|
+
"complexType": {
|
|
65
|
+
"original": "\"large\" | \"medium\" | \"small\" | \"tiny\" | { height: string; width: string }",
|
|
66
|
+
"resolved": "\"large\" | \"medium\" | \"small\" | \"tiny\" | undefined | { height: string; width: string; }",
|
|
67
|
+
"references": {}
|
|
68
|
+
},
|
|
69
|
+
"required": false,
|
|
70
|
+
"optional": true,
|
|
71
|
+
"docs": {
|
|
72
|
+
"tags": [],
|
|
73
|
+
"text": ""
|
|
74
|
+
},
|
|
75
|
+
"attribute": "size",
|
|
76
|
+
"reflect": true
|
|
87
77
|
},
|
|
88
|
-
"
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
78
|
+
"color": {
|
|
79
|
+
"type": "string",
|
|
80
|
+
"mutable": false,
|
|
81
|
+
"complexType": {
|
|
82
|
+
"original": "string",
|
|
83
|
+
"resolved": "string",
|
|
84
|
+
"references": {}
|
|
85
|
+
},
|
|
86
|
+
"required": false,
|
|
87
|
+
"optional": false,
|
|
88
|
+
"docs": {
|
|
89
|
+
"tags": [],
|
|
90
|
+
"text": ""
|
|
91
|
+
},
|
|
92
|
+
"attribute": "color",
|
|
93
|
+
"reflect": false
|
|
94
|
+
}
|
|
95
|
+
};
|
|
96
|
+
}
|
|
92
97
|
}
|