@enact/core 3.4.9-experimental-3 → 3.4.9-experimental-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/CHANGELOG.md +16 -0
- package/{build/dispatcher → dispatcher}/dispatcher.d.ts +0 -0
- package/dispatcher/dispatcher.js +76 -57
- package/dispatcher/listeners.js +31 -19
- package/dispatcher/tests/dispatcher-specs.js +75 -100
- package/{build/handle → handle}/handle.d.ts +0 -0
- package/handle/handle.js +260 -212
- package/handle/tests/handle-specs.js +476 -601
- package/{build/hoc → hoc}/hoc.d.ts +0 -0
- package/hoc/hoc.js +47 -33
- package/hoc/tests/hoc-specs.js +85 -126
- package/{build/index.d.ts → index.d.ts} +0 -0
- package/index.js +1 -0
- package/{build/internal → internal}/ApiDecorator/ApiDecorator.d.ts +0 -0
- package/internal/ApiDecorator/ApiDecorator.js +107 -61
- package/internal/ApiDecorator/tests/ApiDecorator-specs.js +106 -97
- package/{build/internal → internal}/Registry/Registry.d.ts +0 -0
- package/internal/Registry/Registry.js +68 -51
- package/internal/Registry/tests/Registry-specs.js +201 -143
- package/{build/internal → internal}/deprecate/deprecate.d.ts +0 -0
- package/internal/deprecate/deprecate.js +85 -60
- package/{build/internal → internal}/prop-types/prop-types.d.ts +0 -0
- package/internal/prop-types/prop-types.js +68 -61
- package/{build/keymap → keymap}/index.d.ts +0 -0
- package/keymap/index.js +27 -15
- package/keymap/keymap.js +67 -52
- package/keymap/tests/keymap-specs.js +75 -104
- package/kind/computed.js +29 -16
- package/{build/kind → kind}/kind.d.ts +0 -0
- package/kind/kind.js +150 -114
- package/kind/styles.js +62 -47
- package/kind/tests/computed-specs.js +87 -86
- package/kind/tests/kind-specs.js +216 -214
- package/kind/tests/styles-specs.js +170 -223
- package/kind/util.js +15 -7
- package/package.json +1 -1
- package/{build/platform → platform}/platform.d.ts +0 -0
- package/platform/platform.js +263 -169
- package/platform/tests/platform-specs.js +92 -90
- package/{build/snapshot → snapshot}/snapshot.d.ts +0 -0
- package/snapshot/snapshot.js +34 -27
- package/useChainRefs/tests/useChainRefs-specs.js +46 -30
- package/{build/useChainRefs → useChainRefs}/useChainRefs.d.ts +0 -0
- package/useChainRefs/useChainRefs.js +49 -29
- package/useClass/tests/useClass-specs.js +51 -46
- package/{build/useClass → useClass}/useClass.d.ts +0 -0
- package/useClass/useClass.js +27 -9
- package/useHandlers/Handlers.js +55 -30
- package/useHandlers/tests/useHandlers-specs.js +79 -95
- package/{build/useHandlers → useHandlers}/useHandlers.d.ts +0 -0
- package/useHandlers/useHandlers.js +18 -11
- package/util/Job.js +203 -241
- package/util/tests/Job-specs.js +216 -204
- package/util/tests/util-specs.js +123 -146
- package/{build/util → util}/util.d.ts +0 -0
- package/util/util.js +146 -103
- package/build/CHANGELOG.md +0 -699
- package/build/README.md +0 -33
- package/build/dispatcher/dispatcher.js +0 -160
- package/build/dispatcher/listeners.js +0 -37
- package/build/dispatcher/package.json +0 -3
- package/build/dispatcher/tests/dispatcher-specs.js +0 -75
- package/build/handle/handle.js +0 -846
- package/build/handle/package.json +0 -3
- package/build/handle/tests/handle-specs.js +0 -476
- package/build/hoc/hoc.js +0 -102
- package/build/hoc/package.json +0 -3
- package/build/hoc/tests/hoc-specs.js +0 -90
- package/build/index.js +0 -2
- package/build/internal/ApiDecorator/ApiDecorator.js +0 -143
- package/build/internal/ApiDecorator/package.json +0 -3
- package/build/internal/ApiDecorator/tests/ApiDecorator-specs.js +0 -106
- package/build/internal/Registry/Registry.js +0 -76
- package/build/internal/Registry/package.json +0 -3
- package/build/internal/Registry/tests/Registry-specs.js +0 -201
- package/build/internal/deprecate/deprecate.js +0 -116
- package/build/internal/deprecate/package.json +0 -3
- package/build/internal/prop-types/package.json +0 -3
- package/build/internal/prop-types/prop-types.js +0 -90
- package/build/keymap/index.js +0 -54
- package/build/keymap/keymap.js +0 -201
- package/build/keymap/package.json +0 -3
- package/build/keymap/tests/keymap-specs.js +0 -75
- package/build/kind/computed.js +0 -60
- package/build/kind/kind.js +0 -266
- package/build/kind/package.json +0 -3
- package/build/kind/styles.js +0 -105
- package/build/kind/tests/computed-specs.js +0 -87
- package/build/kind/tests/kind-specs.js +0 -216
- package/build/kind/tests/styles-specs.js +0 -170
- package/build/kind/util.js +0 -17
- package/build/package-lock.json +0 -206
- package/build/package.json +0 -38
- package/build/platform/package.json +0 -3
- package/build/platform/platform.js +0 -306
- package/build/platform/tests/platform-specs.js +0 -92
- package/build/snapshot/package.json +0 -3
- package/build/snapshot/snapshot.js +0 -89
- package/build/useChainRefs/package.json +0 -3
- package/build/useChainRefs/tests/useChainRefs-specs.js +0 -57
- package/build/useChainRefs/useChainRefs.js +0 -78
- package/build/useClass/package.json +0 -3
- package/build/useClass/tests/useClass-specs.js +0 -51
- package/build/useClass/useClass.js +0 -59
- package/build/useHandlers/Handlers.js +0 -55
- package/build/useHandlers/package.json +0 -3
- package/build/useHandlers/tests/useHandlers-specs.js +0 -84
- package/build/useHandlers/useHandlers.js +0 -36
- package/build/util/Job.js +0 -211
- package/build/util/package.json +0 -3
- package/build/util/tests/Job-specs.js +0 -216
- package/build/util/tests/util-specs.js +0 -123
- package/build/util/util.js +0 -322
package/build/CHANGELOG.md
DELETED
|
@@ -1,699 +0,0 @@
|
|
|
1
|
-
# Change Log
|
|
2
|
-
|
|
3
|
-
The following is a curated list of changes in the Enact core module, newest changes on the top.
|
|
4
|
-
|
|
5
|
-
## [3.4.9-experimental-3] - 2021-01-26
|
|
6
|
-
|
|
7
|
-
No significant changes.
|
|
8
|
-
|
|
9
|
-
## [3.4.9-experimental-2] - 2020-12-03
|
|
10
|
-
|
|
11
|
-
No significant changes.
|
|
12
|
-
|
|
13
|
-
## [3.4.9-experimental-1] - 2020-11-19
|
|
14
|
-
|
|
15
|
-
No significant changes.
|
|
16
|
-
|
|
17
|
-
## [3.4.9] - 2020-10-30
|
|
18
|
-
|
|
19
|
-
No significant changes.
|
|
20
|
-
|
|
21
|
-
## [3.4.8] - 2020-10-08
|
|
22
|
-
|
|
23
|
-
No significant changes.
|
|
24
|
-
|
|
25
|
-
## [3.4.7] - 2020-09-01
|
|
26
|
-
|
|
27
|
-
No significant changes.
|
|
28
|
-
|
|
29
|
-
## [3.4.6] - 2020-08-24
|
|
30
|
-
|
|
31
|
-
No significant changes.
|
|
32
|
-
|
|
33
|
-
## [3.4.5] - 2020-08-18
|
|
34
|
-
|
|
35
|
-
No significant changes.
|
|
36
|
-
|
|
37
|
-
## [3.4.4] - 2020-08-17
|
|
38
|
-
|
|
39
|
-
No significant changes.
|
|
40
|
-
|
|
41
|
-
## [3.4.3] - 2020-08-10
|
|
42
|
-
|
|
43
|
-
No significant changes.
|
|
44
|
-
|
|
45
|
-
## [3.4.2] - 2020-08-05
|
|
46
|
-
|
|
47
|
-
No significant changes.
|
|
48
|
-
|
|
49
|
-
## [3.4.1] - 2020-08-05
|
|
50
|
-
|
|
51
|
-
No significant changes.
|
|
52
|
-
|
|
53
|
-
## [3.4.0] - 2020-07-29
|
|
54
|
-
|
|
55
|
-
No significant changes.
|
|
56
|
-
|
|
57
|
-
## [3.3.1] - 2020-07-20
|
|
58
|
-
|
|
59
|
-
No significant changes.
|
|
60
|
-
|
|
61
|
-
## [3.3.0] - 2020-07-13
|
|
62
|
-
|
|
63
|
-
No significant changes.
|
|
64
|
-
|
|
65
|
-
## [3.3.0-alpha.15] - 2020-07-07
|
|
66
|
-
|
|
67
|
-
No significant changes.
|
|
68
|
-
|
|
69
|
-
## [3.3.0-alpha.14] - 2020-06-29
|
|
70
|
-
|
|
71
|
-
### Added
|
|
72
|
-
|
|
73
|
-
- `core/util` function `mapAndFilterChildren` to safely iterate over React `children`
|
|
74
|
-
|
|
75
|
-
## [3.3.0-alpha.13] - 2020-06-22
|
|
76
|
-
|
|
77
|
-
No significant changes.
|
|
78
|
-
|
|
79
|
-
## [3.3.0-alpha.12] - 2020-06-15
|
|
80
|
-
|
|
81
|
-
No significant changes.
|
|
82
|
-
|
|
83
|
-
## [3.3.0-alpha.11] - 2020-06-08
|
|
84
|
-
|
|
85
|
-
### Added
|
|
86
|
-
|
|
87
|
-
- `core/handle.forwardCustom` handler to simplify forwarding custom events from components
|
|
88
|
-
|
|
89
|
-
## [3.3.0-alpha.10] - 2020-05-26
|
|
90
|
-
|
|
91
|
-
No significant changes.
|
|
92
|
-
|
|
93
|
-
## [3.3.0-alpha.9] - 2020-05-11
|
|
94
|
-
|
|
95
|
-
No significant changes.
|
|
96
|
-
|
|
97
|
-
## [3.3.0-alpha.8] - 2020-05-04
|
|
98
|
-
|
|
99
|
-
### Added
|
|
100
|
-
|
|
101
|
-
- `core/kind` option `functional` to return a functional component, suitable for use with React hooks, instead of a class component
|
|
102
|
-
|
|
103
|
-
## [3.3.0-alpha.7] - 2020-04-27
|
|
104
|
-
|
|
105
|
-
No significant changes.
|
|
106
|
-
|
|
107
|
-
## [3.3.0-alpha.6] - 2020-04-14
|
|
108
|
-
|
|
109
|
-
No significant changes.
|
|
110
|
-
|
|
111
|
-
## [3.3.0-alpha.5] - 2020-04-06
|
|
112
|
-
|
|
113
|
-
### Added
|
|
114
|
-
|
|
115
|
-
- `core/handle.not` to return the logical complement of the value returned from the handler
|
|
116
|
-
|
|
117
|
-
## [3.3.0-alpha.4] - 2020-03-30
|
|
118
|
-
|
|
119
|
-
No significant changes.
|
|
120
|
-
|
|
121
|
-
## [3.3.0-alpha.3] - 2020-03-17
|
|
122
|
-
|
|
123
|
-
### Fixed
|
|
124
|
-
|
|
125
|
-
- `core/util.mergeClassNames` to mirror class names when used in unit tests
|
|
126
|
-
|
|
127
|
-
## [3.3.0-alpha.2] - 2020-03-09
|
|
128
|
-
|
|
129
|
-
No significant changes.
|
|
130
|
-
|
|
131
|
-
## [3.3.0-alpha.1] - 2020-02-26
|
|
132
|
-
|
|
133
|
-
No significant changes.
|
|
134
|
-
|
|
135
|
-
## [3.2.6] - 2020-03-26
|
|
136
|
-
|
|
137
|
-
No significant changes.
|
|
138
|
-
|
|
139
|
-
## [3.2.5] - 2019-11-14
|
|
140
|
-
|
|
141
|
-
No significant changes.
|
|
142
|
-
|
|
143
|
-
## [3.2.4] - 2019-11-07
|
|
144
|
-
|
|
145
|
-
No significant changes.
|
|
146
|
-
|
|
147
|
-
## [3.2.3] - 2019-11-01
|
|
148
|
-
|
|
149
|
-
No significant changes.
|
|
150
|
-
|
|
151
|
-
## [3.2.2] - 2019-10-24
|
|
152
|
-
|
|
153
|
-
No significant changes.
|
|
154
|
-
|
|
155
|
-
## [3.2.1] - 2019-10-22
|
|
156
|
-
|
|
157
|
-
No significant changes.
|
|
158
|
-
|
|
159
|
-
## [3.2.0] - 2019-10-18
|
|
160
|
-
|
|
161
|
-
No significant changes.
|
|
162
|
-
|
|
163
|
-
## [3.1.3] - 2019-10-09
|
|
164
|
-
|
|
165
|
-
No significant changes.
|
|
166
|
-
|
|
167
|
-
## [3.1.2] - 2019-09-30
|
|
168
|
-
|
|
169
|
-
### Fixed
|
|
170
|
-
|
|
171
|
-
- `core/handle` documentation for even better Typescript output
|
|
172
|
-
|
|
173
|
-
## [3.1.1] - 2019-09-23
|
|
174
|
-
|
|
175
|
-
### Fixed
|
|
176
|
-
|
|
177
|
-
- `core/kind` documentation of `handlers` and `computed` functions to support better Typescript definitions
|
|
178
|
-
|
|
179
|
-
## [3.1.0] - 2019-09-16
|
|
180
|
-
|
|
181
|
-
### Added
|
|
182
|
-
|
|
183
|
-
- `core/platform` member `touchscreen` to detect the presence of a touchscreen separately from support for touch events
|
|
184
|
-
|
|
185
|
-
### Fixed
|
|
186
|
-
|
|
187
|
-
- `core/kind` and `core/handle` documentation to support better Typescript definitions
|
|
188
|
-
- `core/platform` touch event detection
|
|
189
|
-
|
|
190
|
-
## [3.0.1] - 2019-09-09
|
|
191
|
-
|
|
192
|
-
No significant changes.
|
|
193
|
-
|
|
194
|
-
## [3.0.0] - 2019-09-03
|
|
195
|
-
|
|
196
|
-
No significant changes.
|
|
197
|
-
|
|
198
|
-
## [3.0.0-rc.4] - 2019-08-22
|
|
199
|
-
|
|
200
|
-
No significant changes.
|
|
201
|
-
|
|
202
|
-
## [3.0.0-rc.3] - 2019-08-15
|
|
203
|
-
|
|
204
|
-
No significant changes.
|
|
205
|
-
|
|
206
|
-
## [3.0.0-rc.2] - 2019-08-08
|
|
207
|
-
|
|
208
|
-
No significant changes.
|
|
209
|
-
|
|
210
|
-
## [3.0.0-rc.1] - 2019-07-31
|
|
211
|
-
|
|
212
|
-
No significant changes.
|
|
213
|
-
|
|
214
|
-
## [3.0.0-beta.2] - 2019-07-23
|
|
215
|
-
|
|
216
|
-
No significant changes.
|
|
217
|
-
|
|
218
|
-
## [3.0.0-beta.1] - 2019-07-15
|
|
219
|
-
|
|
220
|
-
### Removed
|
|
221
|
-
|
|
222
|
-
- `core/kind` config property `contextTypes`
|
|
223
|
-
|
|
224
|
-
### Fixed
|
|
225
|
-
|
|
226
|
-
- `core/platform` logic for webOS detection
|
|
227
|
-
|
|
228
|
-
## [3.0.0-alpha.7] - 2019-06-24
|
|
229
|
-
|
|
230
|
-
No significant changes.
|
|
231
|
-
|
|
232
|
-
## [3.0.0-alpha.6] - 2019-06-17
|
|
233
|
-
|
|
234
|
-
No significant changes.
|
|
235
|
-
|
|
236
|
-
## [3.0.0-alpha.5] - 2019-06-10
|
|
237
|
-
|
|
238
|
-
No significant changes.
|
|
239
|
-
|
|
240
|
-
## [3.0.0-alpha.4] - 2019-06-03
|
|
241
|
-
|
|
242
|
-
No significant changes.
|
|
243
|
-
|
|
244
|
-
## [3.0.0-alpha.3] - 2019-05-29
|
|
245
|
-
|
|
246
|
-
No significant changes.
|
|
247
|
-
|
|
248
|
-
## [3.0.0-alpha.2] - 2019-05-20
|
|
249
|
-
|
|
250
|
-
No significant changes.
|
|
251
|
-
|
|
252
|
-
## [3.0.0-alpha.1] - 2019-05-15
|
|
253
|
-
|
|
254
|
-
### Added
|
|
255
|
-
|
|
256
|
-
- `core/util.clamp` to safely clamp a value between min and max bounds
|
|
257
|
-
|
|
258
|
-
## [2.5.3] - 2019-06-06
|
|
259
|
-
|
|
260
|
-
No significant changes.
|
|
261
|
-
|
|
262
|
-
## [2.5.2] - 2019-04-23
|
|
263
|
-
|
|
264
|
-
No significant changes.
|
|
265
|
-
|
|
266
|
-
## [2.5.1] - 2019-04-09
|
|
267
|
-
|
|
268
|
-
### Fixed
|
|
269
|
-
|
|
270
|
-
- `core/kind` to address warnings raised in React 16.8.6
|
|
271
|
-
|
|
272
|
-
## [2.5.0] - 2019-04-01
|
|
273
|
-
|
|
274
|
-
No significant changes.
|
|
275
|
-
|
|
276
|
-
## [2.4.1] - 2019-03-11
|
|
277
|
-
|
|
278
|
-
### Fixed
|
|
279
|
-
|
|
280
|
-
- `core/util.isRenderable` to treat values returned by `React.lazy()`, `React.memo()`, and `React.forwardRef()` as renderable
|
|
281
|
-
- `core/hoc` to support wrapping components returned by `React.lazy()`, `React.memo()`, and `React.forwardRef()`
|
|
282
|
-
|
|
283
|
-
## [2.4.0] - 2019-03-04
|
|
284
|
-
|
|
285
|
-
No significant changes.
|
|
286
|
-
|
|
287
|
-
## [2.3.0] - 2019-02-11
|
|
288
|
-
|
|
289
|
-
### Deprecated
|
|
290
|
-
|
|
291
|
-
- `core/kind` config property `contextTypes`, to be removed in 3.0.
|
|
292
|
-
|
|
293
|
-
### Added
|
|
294
|
-
|
|
295
|
-
- `core/kind` config property `contextType` replacing legacy `contextTypes` property
|
|
296
|
-
|
|
297
|
-
## [2.2.9] - 2019-01-11
|
|
298
|
-
|
|
299
|
-
No significant changes.
|
|
300
|
-
|
|
301
|
-
## [2.2.8] - 2018-12-06
|
|
302
|
-
|
|
303
|
-
No significant changes.
|
|
304
|
-
|
|
305
|
-
## [2.2.7] - 2018-11-21
|
|
306
|
-
|
|
307
|
-
No significant changes.
|
|
308
|
-
|
|
309
|
-
## [2.2.6] - 2018-11-15
|
|
310
|
-
|
|
311
|
-
No significant changes.
|
|
312
|
-
|
|
313
|
-
## [2.2.5] - 2018-11-05
|
|
314
|
-
|
|
315
|
-
No significant changes.
|
|
316
|
-
|
|
317
|
-
## [2.2.4] - 2018-10-29
|
|
318
|
-
|
|
319
|
-
No significant changes.
|
|
320
|
-
|
|
321
|
-
## [2.2.3] - 2018-10-22
|
|
322
|
-
|
|
323
|
-
No significant changes.
|
|
324
|
-
|
|
325
|
-
## [2.2.2] - 2018-10-15
|
|
326
|
-
|
|
327
|
-
### Fixed
|
|
328
|
-
|
|
329
|
-
- `core/util.Job` to cancel existing scheduled `idle()` jobs before scheduling another
|
|
330
|
-
|
|
331
|
-
## [2.2.1] - 2018-10-09
|
|
332
|
-
|
|
333
|
-
No significant changes.
|
|
334
|
-
|
|
335
|
-
## [2.2.0] - 2018-10-02
|
|
336
|
-
|
|
337
|
-
No significant changes.
|
|
338
|
-
|
|
339
|
-
## [2.1.4] - 2018-09-17
|
|
340
|
-
|
|
341
|
-
No significant changes.
|
|
342
|
-
|
|
343
|
-
## [2.1.3] - 2018-09-10
|
|
344
|
-
|
|
345
|
-
No significant changes.
|
|
346
|
-
|
|
347
|
-
## [2.1.2] - 2018-09-04
|
|
348
|
-
|
|
349
|
-
No significant changes.
|
|
350
|
-
|
|
351
|
-
## [2.1.1] - 2018-08-27
|
|
352
|
-
|
|
353
|
-
No significant changes.
|
|
354
|
-
|
|
355
|
-
## [2.1.0] - 2018-08-20
|
|
356
|
-
|
|
357
|
-
No significant changes.
|
|
358
|
-
|
|
359
|
-
## [2.0.2] - 2018-08-13
|
|
360
|
-
|
|
361
|
-
No significant changes.
|
|
362
|
-
|
|
363
|
-
## [2.0.1] - 2018-08-01
|
|
364
|
-
|
|
365
|
-
No significant changes.
|
|
366
|
-
|
|
367
|
-
## [2.0.0] - 2018-07-30
|
|
368
|
-
|
|
369
|
-
No significant changes.
|
|
370
|
-
|
|
371
|
-
## [2.0.0-rc.3] - 2018-07-23
|
|
372
|
-
|
|
373
|
-
No significant changes.
|
|
374
|
-
|
|
375
|
-
## [2.0.0-rc.2] - 2018-07-16
|
|
376
|
-
|
|
377
|
-
No significant changes.
|
|
378
|
-
|
|
379
|
-
## [2.0.0-rc.1] - 2018-07-09
|
|
380
|
-
|
|
381
|
-
### Removed
|
|
382
|
-
|
|
383
|
-
- `core/util.withContextFromProps` function
|
|
384
|
-
|
|
385
|
-
## [2.0.0-beta.9] - 2018-07-02
|
|
386
|
-
|
|
387
|
-
No significant changes.
|
|
388
|
-
|
|
389
|
-
## [2.0.0-beta.8] - 2018-06-25
|
|
390
|
-
|
|
391
|
-
No significant changes.
|
|
392
|
-
|
|
393
|
-
## [2.0.0-beta.7] - 2018-06-11
|
|
394
|
-
|
|
395
|
-
No significant changes.
|
|
396
|
-
|
|
397
|
-
## [2.0.0-beta.6] - 2018-06-04
|
|
398
|
-
|
|
399
|
-
No significant changes.
|
|
400
|
-
|
|
401
|
-
## [2.0.0-beta.5] - 2018-05-29
|
|
402
|
-
|
|
403
|
-
No significant changes.
|
|
404
|
-
|
|
405
|
-
## [2.0.0-beta.4] - 2018-05-21
|
|
406
|
-
|
|
407
|
-
### Added
|
|
408
|
-
|
|
409
|
-
- `core/handle.handle` utility `bindAs` to facilitate debugging and binding handlers to component instances
|
|
410
|
-
|
|
411
|
-
## [2.0.0-beta.3] - 2018-05-14
|
|
412
|
-
|
|
413
|
-
No significant changes.
|
|
414
|
-
|
|
415
|
-
## [2.0.0-beta.2] - 2018-05-07
|
|
416
|
-
|
|
417
|
-
### Fixed
|
|
418
|
-
|
|
419
|
-
- `core/dispatcher.on` to not add duplicate event handlers
|
|
420
|
-
|
|
421
|
-
## [2.0.0-beta.1] - 2018-04-29
|
|
422
|
-
|
|
423
|
-
### Added
|
|
424
|
-
|
|
425
|
-
- `core/snapshot` module with `isWindowReady` method to check the window state and `onWindowReady` method to queue window-dependent callbacks for snapshot builds
|
|
426
|
-
|
|
427
|
-
### Fixed
|
|
428
|
-
|
|
429
|
-
- `core/util.memoize` to forward all args to memoized function
|
|
430
|
-
|
|
431
|
-
## [2.0.0-alpha.8] - 2018-04-17
|
|
432
|
-
|
|
433
|
-
### Added
|
|
434
|
-
|
|
435
|
-
- `core/handle.adaptEvent` to adapt event payload before passing to subsequent handler
|
|
436
|
-
- `core/handle.call` to invoke a named method on a bound handler
|
|
437
|
-
|
|
438
|
-
## [2.0.0-alpha.7] - 2018-04-03
|
|
439
|
-
|
|
440
|
-
No significant changes.
|
|
441
|
-
|
|
442
|
-
## [2.0.0-alpha.6] - 2018-03-22
|
|
443
|
-
|
|
444
|
-
### Removed
|
|
445
|
-
|
|
446
|
-
- `core/factory` module, replaced by the `css` override feature
|
|
447
|
-
|
|
448
|
-
## [2.0.0-alpha.5] - 2018-03-07
|
|
449
|
-
|
|
450
|
-
### Removed
|
|
451
|
-
|
|
452
|
-
- `core/util.childrenEquals` which was no longer supported by React 16
|
|
453
|
-
|
|
454
|
-
### Added
|
|
455
|
-
|
|
456
|
-
- `core/util.memoize` method to optimize the execution of expensive functions
|
|
457
|
-
|
|
458
|
-
## [2.0.0-alpha.4] - 2018-02-13
|
|
459
|
-
|
|
460
|
-
### Changed
|
|
461
|
-
|
|
462
|
-
- `core/kind` to always return a component rather than either a component or an SFC depending upon the configuration
|
|
463
|
-
|
|
464
|
-
## [2.0.0-alpha.3] - 2018-01-18
|
|
465
|
-
|
|
466
|
-
No significant changes.
|
|
467
|
-
|
|
468
|
-
## [2.0.0-alpha.2] - 2017-08-29
|
|
469
|
-
|
|
470
|
-
No significant changes.
|
|
471
|
-
|
|
472
|
-
## [2.0.0-alpha.1] - 2017-08-27
|
|
473
|
-
|
|
474
|
-
No significant changes.
|
|
475
|
-
|
|
476
|
-
## [1.15.0] - 2018-02-28
|
|
477
|
-
|
|
478
|
-
### Deprecated
|
|
479
|
-
|
|
480
|
-
- `core/util/childrenEquals`, to be removed in 2.0.0
|
|
481
|
-
|
|
482
|
-
## [1.14.0] - 2018-02-23
|
|
483
|
-
|
|
484
|
-
### Deprecated
|
|
485
|
-
|
|
486
|
-
- `core/factory`, to be removed in 2.0.0
|
|
487
|
-
|
|
488
|
-
## [1.13.4] - 2018-07-30
|
|
489
|
-
|
|
490
|
-
No significant changes.
|
|
491
|
-
|
|
492
|
-
## [1.13.3] - 2018-01-16
|
|
493
|
-
|
|
494
|
-
### Fixed
|
|
495
|
-
|
|
496
|
-
- `core/kind` and `core/hoc` public documentation to be visible
|
|
497
|
-
|
|
498
|
-
## [1.13.2] - 2017-12-14
|
|
499
|
-
|
|
500
|
-
No significant changes.
|
|
501
|
-
|
|
502
|
-
## [1.13.1] - 2017-12-06
|
|
503
|
-
|
|
504
|
-
No significant changes.
|
|
505
|
-
|
|
506
|
-
## [1.13.0] - 2017-11-28
|
|
507
|
-
|
|
508
|
-
No significant changes.
|
|
509
|
-
|
|
510
|
-
## [1.12.2] - 2017-11-15
|
|
511
|
-
|
|
512
|
-
No significant changes.
|
|
513
|
-
|
|
514
|
-
## [1.12.1] - 2017-11-07
|
|
515
|
-
|
|
516
|
-
No significant changes.
|
|
517
|
-
|
|
518
|
-
## [1.12.0] - 2017-10-27
|
|
519
|
-
|
|
520
|
-
### Added
|
|
521
|
-
|
|
522
|
-
- `core/util.Job` APIs `idle`, `idleUntil`, `startRaf` and `startRafAfter`
|
|
523
|
-
|
|
524
|
-
## [1.11.0] - 2017-10-24
|
|
525
|
-
|
|
526
|
-
No significant changes.
|
|
527
|
-
|
|
528
|
-
## [1.10.1] - 2017-10-16
|
|
529
|
-
|
|
530
|
-
No significant changes.
|
|
531
|
-
|
|
532
|
-
## [1.10.0] - 2017-10-09
|
|
533
|
-
|
|
534
|
-
No significant changes.
|
|
535
|
-
|
|
536
|
-
## [1.9.3] - 2017-10-03
|
|
537
|
-
|
|
538
|
-
No significant changes.
|
|
539
|
-
|
|
540
|
-
## [1.9.2] - 2017-09-26
|
|
541
|
-
|
|
542
|
-
No significant changes.
|
|
543
|
-
|
|
544
|
-
## [1.9.1] - 2017-09-25
|
|
545
|
-
|
|
546
|
-
No significant changes.
|
|
547
|
-
|
|
548
|
-
## [1.9.0] - 2017-09-22
|
|
549
|
-
|
|
550
|
-
No significant changes.
|
|
551
|
-
|
|
552
|
-
## [1.8.0] - 2017-09-07
|
|
553
|
-
|
|
554
|
-
No significant changes.
|
|
555
|
-
|
|
556
|
-
## [1.7.0] - 2017-08-23
|
|
557
|
-
|
|
558
|
-
No significant changes.
|
|
559
|
-
|
|
560
|
-
## [1.6.1] - 2017-08-07
|
|
561
|
-
|
|
562
|
-
No significant changes.
|
|
563
|
-
|
|
564
|
-
## [1.6.0] - 2017-08-04
|
|
565
|
-
|
|
566
|
-
No significant changes.
|
|
567
|
-
|
|
568
|
-
## [1.5.0] - 2017-07-19
|
|
569
|
-
|
|
570
|
-
### Changed
|
|
571
|
-
|
|
572
|
-
- `@core/handle.preventDefault` (and, subsequently, `forwardWithPrevent`) to also call `preventDefault()` on the originating event
|
|
573
|
-
|
|
574
|
-
## [1.4.1] - 2017-07-05
|
|
575
|
-
|
|
576
|
-
No significant changes.
|
|
577
|
-
|
|
578
|
-
## [1.4.0] - 2017-06-29
|
|
579
|
-
|
|
580
|
-
No significant changes.
|
|
581
|
-
|
|
582
|
-
## [1.3.1] - 2017-06-14
|
|
583
|
-
|
|
584
|
-
No significant changes.
|
|
585
|
-
|
|
586
|
-
## [1.3.0] - 2017-06-12
|
|
587
|
-
|
|
588
|
-
### Added
|
|
589
|
-
|
|
590
|
-
- `core/platform` to support platform detection across multiple browsers
|
|
591
|
-
|
|
592
|
-
## [1.2.2] - 2017-05-31
|
|
593
|
-
|
|
594
|
-
No significant changes.
|
|
595
|
-
|
|
596
|
-
## [1.2.1] - 2017-05-25
|
|
597
|
-
|
|
598
|
-
No significant changes.
|
|
599
|
-
|
|
600
|
-
## [1.2.0] - 2017-05-17
|
|
601
|
-
|
|
602
|
-
### Added
|
|
603
|
-
|
|
604
|
-
- `core/handle.oneOf` to support branching event handlers
|
|
605
|
-
|
|
606
|
-
## [1.1.0] - 2017-04-21
|
|
607
|
-
|
|
608
|
-
### Added
|
|
609
|
-
|
|
610
|
-
- `core/util` documentation
|
|
611
|
-
|
|
612
|
-
### Fixed
|
|
613
|
-
|
|
614
|
-
- `core/util.childrenEquals` to work with mixed components and text
|
|
615
|
-
|
|
616
|
-
## [1.0.0] - 2017-03-31
|
|
617
|
-
|
|
618
|
-
### Added
|
|
619
|
-
|
|
620
|
-
- `core/util.Job` to replace `core/jobs` with an API that reduced the chance of job name collisions
|
|
621
|
-
|
|
622
|
-
### Removed
|
|
623
|
-
|
|
624
|
-
- `core/jobs` and replaced it with `core/util.Job`
|
|
625
|
-
- `core/selection`, which was only used internally by `ui/GroupItem`
|
|
626
|
-
- `kind` and `hoc` named exports from root module. Should be directly imported via `@enact/core/kind` and `@enact/core/hoc`, respectively.
|
|
627
|
-
- `core/fetch` which was no longer used by Enact
|
|
628
|
-
|
|
629
|
-
## [1.0.0-beta.4] - 2017-03-10
|
|
630
|
-
|
|
631
|
-
### Added
|
|
632
|
-
|
|
633
|
-
- `core/kind` support for `contextTypes`
|
|
634
|
-
- `core/utils` function `extractAriaProps()` for redirecting ARIA props when the root node of a component isn't focusable
|
|
635
|
-
|
|
636
|
-
### Changed
|
|
637
|
-
|
|
638
|
-
- `core/handle` to allow binding to components. This also introduces a breaking change in the return value of handle methods.
|
|
639
|
-
|
|
640
|
-
## [1.0.0-beta.3] - 2017-02-21
|
|
641
|
-
|
|
642
|
-
### Added
|
|
643
|
-
|
|
644
|
-
- `core/handle` function `forEventProp` to test properties on an event
|
|
645
|
-
|
|
646
|
-
## [1.0.0-beta.2] - 2017-01-30
|
|
647
|
-
|
|
648
|
-
### Added
|
|
649
|
-
|
|
650
|
-
- Support for a new `handlers` block for components created with `core/kind` to allow cached event handlers
|
|
651
|
-
- `core/handle` handler `forKey`
|
|
652
|
-
- `core/keymap` module to abstract keyboard key codes behind common names (e.g. 'up' and 'down')
|
|
653
|
-
|
|
654
|
-
### Removed
|
|
655
|
-
|
|
656
|
-
- `core/handle.withArgs` helper function which is no longer needed with the addition of the `handlers` support in `kind()`
|
|
657
|
-
|
|
658
|
-
## [1.0.0-beta.1] - 2016-12-30
|
|
659
|
-
|
|
660
|
-
### Added
|
|
661
|
-
|
|
662
|
-
- `core/factory` which provides the means to support design-time customization of components
|
|
663
|
-
|
|
664
|
-
## [1.0.0-alpha.5] - 2016-12-16
|
|
665
|
-
|
|
666
|
-
### Fixed
|
|
667
|
-
|
|
668
|
-
- `core/dispatcher` to support pre-rendering
|
|
669
|
-
|
|
670
|
-
## [1.0.0-alpha.4] - 2016-12-2
|
|
671
|
-
|
|
672
|
-
No developer-facing changes.
|
|
673
|
-
|
|
674
|
-
## [1.0.0-alpha.3] - 2016-11-8
|
|
675
|
-
|
|
676
|
-
### Added
|
|
677
|
-
|
|
678
|
-
- `core/dispatcher` - an event dispatcher for global events (e.g. `window` and `document` events) that fire outside of the React tree
|
|
679
|
-
|
|
680
|
-
## [1.0.0-alpha.2] - 2016-10-21
|
|
681
|
-
|
|
682
|
-
This version includes a lot of refactoring from the previous release. Developers need to switch to the new enact-dev command-line tool.
|
|
683
|
-
|
|
684
|
-
### Added
|
|
685
|
-
|
|
686
|
-
- `stopImmediate` to `core/handle`
|
|
687
|
-
- Many more unit tests
|
|
688
|
-
|
|
689
|
-
### Changed
|
|
690
|
-
|
|
691
|
-
- Computed properties in `kind()` no longer mutate props. In other words, changing the value of a prop in one computed property does not affect the value of that prop in another computed property.
|
|
692
|
-
|
|
693
|
-
### Fixed
|
|
694
|
-
|
|
695
|
-
- Inline docs updated to be more consistent and comprehensive
|
|
696
|
-
|
|
697
|
-
## [1.0.0-alpha.1] - 2016-09-26
|
|
698
|
-
|
|
699
|
-
Initial release
|
package/build/README.md
DELETED
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
# @enact/core [](https://www.npmjs.com/package/@enact/core)
|
|
2
|
-
|
|
3
|
-
> The set of essential building blocks for an Enact-based application.
|
|
4
|
-
|
|
5
|
-
Enact core provides several abstractions to be used with React-based applications. These include `core/kind`, a
|
|
6
|
-
factory for stateless functional components (SFC's), `core/jobs`, a smart wrapper for `window.setTimeout`,
|
|
7
|
-
`core/hoc`, a Higher Order Component (HOC) factory, and more.
|
|
8
|
-
|
|
9
|
-
## Install
|
|
10
|
-
|
|
11
|
-
```
|
|
12
|
-
npm install --save @enact/core
|
|
13
|
-
```
|
|
14
|
-
|
|
15
|
-
## Test
|
|
16
|
-
|
|
17
|
-
Tests are implemented in mocha and are run with the Karma runner.
|
|
18
|
-
|
|
19
|
-
```
|
|
20
|
-
npm test
|
|
21
|
-
```
|
|
22
|
-
|
|
23
|
-
## Copyright and License Information
|
|
24
|
-
|
|
25
|
-
Unless otherwise specified, all content, including all source code files and documentation files in this repository are:
|
|
26
|
-
|
|
27
|
-
Copyright (c) 2012-2020 LG Electronics
|
|
28
|
-
|
|
29
|
-
Unless otherwise specified or set forth in the NOTICE file, all content, including all source code files and documentation files in this repository are: Licensed under the Apache License, Version 2.0 (the "License"); you may not use this content except in compliance with the License. You may obtain a copy of the License at
|
|
30
|
-
|
|
31
|
-
http://www.apache.org/licenses/LICENSE-2.0
|
|
32
|
-
|
|
33
|
-
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
|