You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CHANGELOG.md
+29
Original file line number
Diff line number
Diff line change
@@ -2,6 +2,35 @@
2
2
3
3
The following is a curated list of changes in the Enact project, newest changes on the top.
4
4
5
+
## [3.0.0-beta.1] - 2019-07-15
6
+
7
+
### Removed
8
+
9
+
-`core/kind` config property `contextTypes`
10
+
-`i18n/ilib` embedded copy of iLib in favour of the NPM package `ilib`
11
+
-`small` prop in `moonstone/Input`, `moonstone/ToggleButton`, `moonstone/Button`, `moonstone/Icon`, `moonstone/IconButton`, and `moonstone/LabeledIcon`, replaced by `size` prop, which accepts `"small"` or `"large"`
12
+
-`moonstone/Divider`, replaced by `moonstone/Heading`
13
+
14
+
### Added
15
+
16
+
-`ilib@^14.2.0` package as a peer dependency for `@enact/i18n` and `@enact/moonstone`, which apps will need to include
17
+
-`moonstone/Dropdown` widths `tiny`, and `huge`
18
+
-`ui/VirtualList.VirtualGridList` and `ui/VirtualList.VirtualList` support for resizing a window
19
+
20
+
### Fixed
21
+
22
+
- Moonstone Fonts to use the updated names of global fonts available in the system
23
+
-`core/platform` logic for webOS detection
24
+
-`moonstone/Popup` to properly handle closing in mid-transition
25
+
-`moonstone/Scroller` to properly move focus out of the container
26
+
-`moonstone/VirtualList` to allow keydown events to bubble up when not handled by the component
27
+
-`moonstone/IncrementSlider` to support aria-label when disabled
28
+
-`moonstone/LabeledItem` to not clip the bottom of descender glyphs in large text mode
29
+
-`moonstone/VirtualList.VirtualGridList` and `moonstone/VirtualList.VirtualList` to focus an item properly after an update
30
+
-`moonstone/Scroller`, `moonstone/VirtualList.VirtualGridList`, and `moonstone/VirtualList.VirtualList` not to scroll too far by page up/down keys
31
+
-`spotlight/SpotlightContainerDecorator` to correctly forward `onFocusCapture` and `onBlurCapture` events
32
+
-`ui/Icon` to support arbitrary icon name strings, like in material icons
Copy file name to clipboardExpand all lines: docs/migration/enact/migrating-to-enact-3.md
+37
Original file line number
Diff line number
Diff line change
@@ -10,6 +10,40 @@ this guide.
10
10
11
11
## General Changes
12
12
13
+
### cli
14
+
`cli` must be upgraded to version `2.4.1`.
15
+
16
+
### i18n
17
+
Apps that use `@enact/i18n` must install `ilib` as a dependency. This includes apps that do not require `@enact/i18n` directly, but use themes or modules that do (list may or may not be complete, check module requirements):
18
+
*`@enact/analytics`
19
+
*`@enact/i18n` (of course!)
20
+
*`@enact/moonstone`
21
+
22
+
#### Example
23
+
```
24
+
npm install ilib@^14.2.0 --save
25
+
```
26
+
webOS TV developers can optionally use an alias for `ilib` that will provide the webOS-specific locale data for local development. It is not required as the webOS build tools will automatically provide the correct locale data at build time. Alias support is in `npm` version `6.9.0` or greater.
Import references using `@enact/i18n/ilib` must be updated to use `ilib`.
34
+
35
+
#### Example
36
+
##### 2.x
37
+
```
38
+
import DateFactory from '@enact/i18n/ilib/lib/DateFactory';
39
+
import ilib from '@enact/i18n/ilib/lib/ilib';
40
+
```
41
+
##### 3.0
42
+
```
43
+
import DateFactory from 'ilib/lib/DateFactory';
44
+
import ilib from 'ilib/lib/ilib';
45
+
```
46
+
13
47
### spotlight
14
48
`spotlight` will now focus disabled items. You can use the `spotlightDisabled` prop on `spotlight/Spottable`
15
49
and `spotlight/SpotlightContainerDecorator` instances if focus absolutely must be prevented.
@@ -19,6 +53,9 @@ Enact 3.0 no longer supports the 2019 TV platform or earlier versions.
19
53
20
54
## moonstone
21
55
56
+
### General
57
+
Many of the Moonstone components are affected by the change from using the `small` boolean prop to the `size` text prop. Most of them are `size="small"` by default and have larger versions when using `size="large"`.
58
+
22
59
### Style
23
60
Various styling changes have been made to support new UI/UX designs for the webOS TV platform. In
24
61
addition, some LESS variables have been changed or removed. If you were importing `moonstone/styles/*.less`
0 commit comments