Skip to content

Commit b17ef9a

Browse files
committed
3.1.2 release
2 parents 728422f + 74b3f26 commit b17ef9a

31 files changed

+300
-162
lines changed

CHANGELOG.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,16 @@
22

33
The following is a curated list of changes in the Enact project, newest changes on the top.
44

5+
## [3.1.2] - 2019-09-30
6+
7+
### Fixed
8+
9+
- `core/handle` documentation for even better Typescript output
10+
- `moonstone` language-specific (`LG Smart UI AR HE TH`) and Indian font assignment
11+
- `ui/Button` to not require `children`
12+
- `ui/VirtualList.VirtualGridList` and `ui/VirtualList.VirtualList` to scroll smoothly when wheeling
13+
- `ui/Scroller`, `ui/VirtualList.VirtualGridList`, and `ui/VirtualList.VirtualList` to scroll correctly after performing flick events
14+
515
## [3.1.1] - 2019-09-23
616

717
### Fixed

lerna.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"lerna": "2.8.0",
3-
"version": "3.1.1",
3+
"version": "3.1.2",
44
"command": {
55
"bootstrap": {
66
"npmClientArgs": [

package-lock.json

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "enact",
3-
"version": "3.1.1",
3+
"version": "3.1.2",
44
"description": "Monorepo for all Enact front end libraries.",
55
"private": true,
66
"scripts": {

packages/core/CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,12 @@
22

33
The following is a curated list of changes in the Enact core module, newest changes on the top.
44

5+
## [3.1.2] - 2019-09-30
6+
7+
### Fixed
8+
9+
- `core/handle` documentation for even better Typescript output
10+
511
## [3.1.1] - 2019-09-23
612

713
### Fixed

packages/core/handle/handle.js

Lines changed: 22 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -83,17 +83,32 @@ import curry from 'ramda/src/curry';
8383
import {is} from '../keymap';
8484

8585
/**
86+
* The signature for event handlers
87+
*
8688
* @callback EventHandler
8789
* @memberof core/handle
8890
* @param {any} event
8991
*/
9092

9193
/**
94+
* The signature for event handling functions supported by `handle` and related functions
95+
*
9296
* @callback HandlerFunction
9397
* @memberof core/handle
94-
* @param {Object<string, any>} event
95-
* @param {any} props
98+
* @param {any} event
99+
* @param {Object<string, any>} props
100+
* @param {Object<string, any>} context
101+
*/
102+
103+
/**
104+
* The signature for {@link core/handle.adaptEvent} parameter `adapter`
105+
*
106+
* @callback EventAdapter
107+
* @memberof core/handle
108+
* @param {any} event
109+
* @param {Object<string, any>} props
96110
* @param {Object<string, any>} context
111+
* @returns {any}
97112
*/
98113

99114
// Accepts an array of handlers, sanitizes them, and returns a handler function
@@ -234,10 +249,10 @@ const handle = function (...handlers) {
234249
* ```
235250
*
236251
* @method oneOf
237-
* @param {...Function[]} handlers List of conditions and handlers to process the event
252+
* @param {...[HandlerFunction, HandlerFunction]} handlers List of conditions and handlers to process the event
238253
*
239254
* @returns {HandlerFunction} A function that accepts an event which is dispatched to each of the
240-
* conditions and, if it passes, onto the provided handler.
255+
* conditions and, if it passes, onto the provided handler.
241256
* @memberof core/handle
242257
* @public
243258
*/
@@ -666,11 +681,10 @@ const call = function (method) {
666681
* ```
667682
*
668683
* @method adaptEvent
669-
* @param {Function} adapter Function to adapt the event payload
670-
* @param {Function} handler Handler to call with the new event payload
671-
* @param {...*} [args] Additional args passed to both `adapter` and `handler`
684+
* @param {EventAdapter} adapter Function to adapt the event payload
685+
* @param {HandlerFunction} handler Handler to call with the handler function
672686
*
673-
* @returns {HandlerFunction} New event payload
687+
* @returns {HandlerFunction} Returns an [event handler]{@link core/handle.HandlerFunction} (suitable for passing to handle) that returns the result of `handler`
674688
* @curried
675689
* @memberof core/handle
676690
* @public

packages/core/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@enact/core",
3-
"version": "3.1.1",
3+
"version": "3.1.2",
44
"description": "Enact is an open source JavaScript framework containing everything you need to create a fast, scalable mobile or web application.",
55
"main": "index.js",
66
"scripts": {

packages/i18n/CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,10 @@
22

33
The following is a curated list of changes in the Enact i18n module, newest changes on the top.
44

5+
## [3.1.2] - 2019-09-30
6+
7+
No significant changes.
8+
59
## [3.1.1] - 2019-09-23
610

711
No significant changes.

packages/i18n/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "@enact/i18n",
33
"main": "./src/index.js",
4-
"version": "3.1.1",
4+
"version": "3.1.2",
55
"description": "Internationalization support for Enact using iLib",
66
"scripts": {
77
"clean": "enact clean",
@@ -41,7 +41,7 @@
4141
]
4242
},
4343
"dependencies": {
44-
"@enact/core": "^3.1.1",
44+
"@enact/core": "^3.1.2",
4545
"prop-types": "^15.7.2",
4646
"ramda": "^0.24.1",
4747
"react": "^16.8.0",

packages/moonstone/CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,12 @@
22

33
The following is a curated list of changes in the Enact moonstone module, newest changes on the top.
44

5+
## [3.1.2] - 2019-09-30
6+
7+
### Fixed
8+
9+
- `moonstone` language-specific (`LG Smart UI AR HE TH`) and Indian font assignment
10+
511
## [3.1.1] - 2019-09-23
612

713
### Fixed

0 commit comments

Comments
 (0)