@cocreate/element-prototype 2.0.0 → 2.0.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/CHANGELOG.md +14 -0
- package/package.json +3 -3
- package/src/index.js +20 -40
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,17 @@
|
|
|
1
|
+
## [2.0.2](https://github.com/CoCreateJS/element-prototype/compare/v2.0.1...v2.0.2) (2026-11-07)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Bug Fixes
|
|
5
|
+
|
|
6
|
+
* bump CoCreate dependency versions ([6a7e352](https://github.com/CoCreateJS/element-prototype/commit/6a7e3527a1fed0949db86640a994552d6992b592))
|
|
7
|
+
|
|
8
|
+
## [2.0.1](https://github.com/CoCreateJS/element-prototype/compare/v2.0.0...v2.0.1) (2026-11-05)
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
### Bug Fixes
|
|
12
|
+
|
|
13
|
+
* upgrade CoCreate dependencies to v2 ([d2584a7](https://github.com/CoCreateJS/element-prototype/commit/d2584a73b601f56a7ceeab16004c5b1d82c0b979))
|
|
14
|
+
|
|
1
15
|
# [2.0.0](https://github.com/CoCreateJS/element-prototype/compare/v1.33.2...v2.0.0) (2026-11-02)
|
|
2
16
|
|
|
3
17
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cocreate/element-prototype",
|
|
3
|
-
"version": "2.0.
|
|
3
|
+
"version": "2.0.2",
|
|
4
4
|
"description": "A simple element-prototype component in vanilla javascript. Easily configured using HTML5 data-attributes and/or JavaScript API.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"element-prototype",
|
|
@@ -36,10 +36,10 @@
|
|
|
36
36
|
},
|
|
37
37
|
"main": "./src/index.js",
|
|
38
38
|
"dependencies": {
|
|
39
|
-
"@cocreate/utils": "^
|
|
39
|
+
"@cocreate/utils": "^2.0.2"
|
|
40
40
|
},
|
|
41
41
|
"devDependencies": {
|
|
42
|
-
"@cocreate/webpack": "^
|
|
42
|
+
"@cocreate/webpack": "^2.0.1"
|
|
43
43
|
},
|
|
44
44
|
"allowScripts": {
|
|
45
45
|
"@cocreate/utils@1.42.2": true,
|
package/src/index.js
CHANGED
|
@@ -55,160 +55,140 @@ export default {
|
|
|
55
55
|
/**
|
|
56
56
|
*
|
|
57
57
|
* @name array
|
|
58
|
-
* @kind
|
|
59
|
-
* @attribute
|
|
58
|
+
* @kind attribute
|
|
60
59
|
* @environment client
|
|
61
60
|
*/
|
|
62
61
|
|
|
63
62
|
/**
|
|
64
63
|
*
|
|
65
64
|
* @name component
|
|
66
|
-
* @kind
|
|
67
|
-
* @attribute
|
|
65
|
+
* @kind attribute
|
|
68
66
|
* @environment client
|
|
69
67
|
*/
|
|
70
68
|
|
|
71
69
|
/**
|
|
72
70
|
*
|
|
73
71
|
* @name contenteditable
|
|
74
|
-
* @kind
|
|
75
|
-
* @attribute
|
|
72
|
+
* @kind attribute
|
|
76
73
|
* @environment client
|
|
77
74
|
*/
|
|
78
75
|
|
|
79
76
|
/**
|
|
80
77
|
*
|
|
81
78
|
* @name editor
|
|
82
|
-
* @kind
|
|
83
|
-
* @attribute
|
|
79
|
+
* @kind attribute
|
|
84
80
|
* @environment client
|
|
85
81
|
*/
|
|
86
82
|
|
|
87
83
|
/**
|
|
88
84
|
*
|
|
89
85
|
* @name key
|
|
90
|
-
* @kind
|
|
91
|
-
* @attribute
|
|
86
|
+
* @kind attribute
|
|
92
87
|
* @environment client
|
|
93
88
|
*/
|
|
94
89
|
|
|
95
90
|
/**
|
|
96
91
|
*
|
|
97
92
|
* @name locale
|
|
98
|
-
* @kind
|
|
99
|
-
* @attribute
|
|
93
|
+
* @kind attribute
|
|
100
94
|
* @environment client
|
|
101
95
|
*/
|
|
102
96
|
|
|
103
97
|
/**
|
|
104
98
|
*
|
|
105
99
|
* @name multiple
|
|
106
|
-
* @kind
|
|
107
|
-
* @attribute
|
|
100
|
+
* @kind attribute
|
|
108
101
|
* @environment client
|
|
109
102
|
*/
|
|
110
103
|
|
|
111
104
|
/**
|
|
112
105
|
*
|
|
113
106
|
* @name now
|
|
114
|
-
* @kind
|
|
115
|
-
* @attribute
|
|
107
|
+
* @kind attribute
|
|
116
108
|
* @environment client
|
|
117
109
|
*/
|
|
118
110
|
|
|
119
111
|
/**
|
|
120
112
|
*
|
|
121
113
|
* @name object
|
|
122
|
-
* @kind
|
|
123
|
-
* @attribute
|
|
114
|
+
* @kind attribute
|
|
124
115
|
* @environment client
|
|
125
116
|
*/
|
|
126
117
|
|
|
127
118
|
/**
|
|
128
119
|
*
|
|
129
120
|
* @name set-value-prefix
|
|
130
|
-
* @kind
|
|
131
|
-
* @attribute
|
|
121
|
+
* @kind attribute
|
|
132
122
|
* @environment client
|
|
133
123
|
*/
|
|
134
124
|
|
|
135
125
|
/**
|
|
136
126
|
*
|
|
137
127
|
* @name set-value-suffix
|
|
138
|
-
* @kind
|
|
139
|
-
* @attribute
|
|
128
|
+
* @kind attribute
|
|
140
129
|
* @environment client
|
|
141
130
|
*/
|
|
142
131
|
|
|
143
132
|
/**
|
|
144
133
|
*
|
|
145
134
|
* @name src
|
|
146
|
-
* @kind
|
|
147
|
-
* @attribute
|
|
135
|
+
* @kind attribute
|
|
148
136
|
* @environment client
|
|
149
137
|
*/
|
|
150
138
|
|
|
151
139
|
/**
|
|
152
140
|
*
|
|
153
141
|
* @name srcdoc
|
|
154
|
-
* @kind
|
|
155
|
-
* @attribute
|
|
142
|
+
* @kind attribute
|
|
156
143
|
* @environment client
|
|
157
144
|
*/
|
|
158
145
|
|
|
159
146
|
/**
|
|
160
147
|
*
|
|
161
148
|
* @name state_id
|
|
162
|
-
* @kind
|
|
163
|
-
* @attribute
|
|
149
|
+
* @kind attribute
|
|
164
150
|
* @environment client
|
|
165
151
|
*/
|
|
166
152
|
|
|
167
153
|
/**
|
|
168
154
|
*
|
|
169
155
|
* @name time-ago-limit
|
|
170
|
-
* @kind
|
|
171
|
-
* @attribute
|
|
156
|
+
* @kind attribute
|
|
172
157
|
* @environment client
|
|
173
158
|
*/
|
|
174
159
|
|
|
175
160
|
/**
|
|
176
161
|
*
|
|
177
162
|
* @name time-to-units
|
|
178
|
-
* @kind
|
|
179
|
-
* @attribute
|
|
163
|
+
* @kind attribute
|
|
180
164
|
* @environment client
|
|
181
165
|
*/
|
|
182
166
|
|
|
183
167
|
/**
|
|
184
168
|
*
|
|
185
169
|
* @name type
|
|
186
|
-
* @kind
|
|
187
|
-
* @attribute
|
|
170
|
+
* @kind attribute
|
|
188
171
|
* @environment client
|
|
189
172
|
*/
|
|
190
173
|
|
|
191
174
|
/**
|
|
192
175
|
*
|
|
193
176
|
* @name use-utc
|
|
194
|
-
* @kind
|
|
195
|
-
* @attribute
|
|
177
|
+
* @kind attribute
|
|
196
178
|
* @environment client
|
|
197
179
|
*/
|
|
198
180
|
|
|
199
181
|
/**
|
|
200
182
|
*
|
|
201
183
|
* @name value
|
|
202
|
-
* @kind
|
|
203
|
-
* @attribute
|
|
184
|
+
* @kind attribute
|
|
204
185
|
* @environment client
|
|
205
186
|
*/
|
|
206
187
|
|
|
207
188
|
/**
|
|
208
189
|
*
|
|
209
190
|
* @name week-start-day
|
|
210
|
-
* @kind
|
|
211
|
-
* @attribute
|
|
191
|
+
* @kind attribute
|
|
212
192
|
* @environment client
|
|
213
193
|
*/
|
|
214
194
|
|