Skip to content

Commit

Permalink
3.0.0-alpha.1 release
Browse files Browse the repository at this point in the history
  • Loading branch information
enact-bot committed Aug 20, 2024
2 parents 756a3ea + 2bb9a8e commit c81aa1f
Show file tree
Hide file tree
Showing 61 changed files with 30,931 additions and 111,629 deletions.
4 changes: 2 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
dist: focal
dist: jammy
language: node_js
node_js:
- lts/*
- "21"
- node
sudo: false
before_install:
- curl -fsSL https://www.mongodb.org/static/pgp/server-4.4.asc | sudo gpg -o /usr/share/keyrings/mongodb-server-4.4.gpg --dearmor
Expand Down
4 changes: 2 additions & 2 deletions ArcPicker/ArcPickerBehaviorDecorator.js
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ const ArcPickerBehaviorDecorator = hoc((config, Wrapped) => {
}

handleClick = (value) => (ev) => {
if (platform.touchscreen) {
if (platform.touchScreen) {
this.setState({isFocused: true}, () => {
setTimeout(() => {
this.setState({isFocused: false});
Expand All @@ -109,7 +109,7 @@ const ArcPickerBehaviorDecorator = hoc((config, Wrapped) => {
};

handleFocus = () => {
if (!platform.touchscreen) {
if (!platform.touchScreen) {
this.setState({isFocused: true});
}
};
Expand Down
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,12 @@

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

## [3.0.0-alpha.1] - 2024-08-20

### Fixed

- `agate/ToggleButton` underline position for `huge`,`small` and `smallest` sizes

## [2.0.11] - 2024-07-22

### Changed
Expand Down
5 changes: 1 addition & 4 deletions Marquee/Marquee.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,16 +14,13 @@

import hoc from '@enact/core/hoc';
import {I18nContextDecorator} from '@enact/i18n/I18nDecorator';
import {isRtlText} from '@enact/i18n/util';
import {
MarqueeBase,
MarqueeController,
MarqueeDecorator as UiMarqueeDecorator
} from '@enact/ui/Marquee';

const MarqueeDecorator = hoc({
marqueeDirection: (str) => isRtlText(str) ? 'rtl' : 'ltr'
}, (config, Wrapped) => {
const MarqueeDecorator = hoc((config, Wrapped) => {
return I18nContextDecorator(
{rtlProp: 'rtl', localeProp: 'locale'},
UiMarqueeDecorator(
Expand Down
2 changes: 1 addition & 1 deletion Slider/SliderBehaviorDecorator.js
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ const SliderBehaviorDecorator = hoc(defaultConfig, (config, Wrapped) => {

handleDragStart () {
// on platforms with a touchscreen, we want to focus slider when dragging begins
if (platform.touchscreen) {
if (platform.touchScreen) {
this.focusSlider();
}
this.paused.pause();
Expand Down
2 changes: 1 addition & 1 deletion SliderButton/SliderButtonBehaviorDecorator.js
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ const SliderButtonBehaviorDecorator = (Wrapped) => {

const handleDragStart = useCallback(() => {
// on platforms with a touchscreen, we want to focus slider when dragging begins
if (platform.touchscreen) {
if (platform.touchScreen) {
ref.current.node.focus();
}
}, []);
Expand Down
2 changes: 1 addition & 1 deletion ThemeDecorator/ThemeDecorator.js
Original file line number Diff line number Diff line change
Expand Up @@ -275,7 +275,7 @@ const ThemeDecorator = hoc(defaultConfig, (config, Wrapped) => {
if (float) App = FloatingLayerDecorator({wrappedClassName: bgClassName}, App);
if (ri) App = ResolutionDecorator(ri, App);
if (i18n) App = I18nDecorator({sync: true}, App);
if (spotlight) App = SpotlightRootDecorator({noAutoFocus}, App);
if (spotlight) App = SpotlightRootDecorator({noAutoFocus, rootId}, App);
if (skin) App = Skinnable({defaultSkin}, App);

// add webOS-specific key maps
Expand Down
21 changes: 21 additions & 0 deletions ToggleButton/ToggleButton.module.less
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,27 @@
transform: @agate-togglebutton-indicator-transform;
}

&.huge {
&::after {
height: @agate-togglebutton-huge-indicator-height;
.position(@agate-togglebutton-huge-indicator-position);
}
}

&.small {
&::after {
height: @agate-togglebutton-small-indicator-height;
.position(@agate-togglebutton-small-indicator-position);
}
}

&.smallest {
&::after {
height: @agate-togglebutton-smallest-indicator-height;
.position(@agate-togglebutton-smallest-indicator-position);
}
}

&.underline {
.client {
padding-left: @agate-togglebutton-client-padding-left;
Expand Down
19 changes: 11 additions & 8 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@enact/agate",
"version": "2.0.11",
"version": "3.0.0-alpha.1",
"description": "A theme library for Enact, containing a variety of UI components.",
"repository": "https://github.com/enactjs/agate",
"main": "index.js",
Expand Down Expand Up @@ -37,15 +37,15 @@
"extends": "enact-proxy/strict"
},
"dependencies": {
"@enact/core": "^4.9.0",
"@enact/i18n": "^4.9.0",
"@enact/spotlight": "^4.9.0",
"@enact/ui": "^4.9.0",
"@enact/core": "^5.0.0-alpha.1",
"@enact/i18n": "^5.0.0-alpha.1",
"@enact/spotlight": "^5.0.0-alpha.1",
"@enact/ui": "^5.0.0-alpha.1",
"classnames": "^2.5.1",
"color-convert": "^2.0.1",
"deep-freeze": "0.0.1",
"eases": "^1.0.8",
"immer": "^9.0.21",
"immer": "^10.1.1",
"invariant": "^2.2.4",
"prop-types": "^15.8.1",
"ramda": "^0.30.1",
Expand All @@ -59,8 +59,11 @@
},
"devDependencies": {
"@enact/docs-utils": "^0.4.10",
"@enact/ui-test-utils": "^1.0.8",
"eslint-config-enact-proxy": "^1.0.7",
"@enact/ui-test-utils": "^1.0.9",
"eslint-config-enact-proxy": "^1.0.8",
"ilib": "^14.20.0"
},
"overrides": {
"autolinker": "^4.0.0"
}
}
8 changes: 4 additions & 4 deletions samples/event-logger/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,10 @@
},
"dependencies": {
"@enact/agate": "../../",
"@enact/core": "^4.9.0",
"@enact/i18n": "^4.9.0",
"@enact/spotlight": "^4.9.0",
"@enact/ui": "^4.9.0",
"@enact/core": "^5.0.0-alpha.1",
"@enact/i18n": "^5.0.0-alpha.1",
"@enact/spotlight": "^5.0.0-alpha.1",
"@enact/ui": "^5.0.0-alpha.1",
"@reduxjs/toolkit": "^2.2.5",
"ilib": "^14.20.0",
"prop-types": "^15.8.1",
Expand Down
8 changes: 4 additions & 4 deletions samples/perf-scroller-native/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,10 @@
},
"dependencies": {
"@enact/agate": "../../",
"@enact/core": "^4.9.0",
"@enact/i18n": "^4.9.0",
"@enact/spotlight": "^4.9.0",
"@enact/ui": "^4.9.0",
"@enact/core": "^5.0.0-alpha.1",
"@enact/i18n": "^5.0.0-alpha.1",
"@enact/spotlight": "^5.0.0-alpha.1",
"@enact/ui": "^5.0.0-alpha.1",
"classnames": "^2.5.1",
"ilib": "^14.20.0",
"react": "^18.3.1",
Expand Down
8 changes: 4 additions & 4 deletions samples/perf-scroller-translate/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +24,10 @@
},
"dependencies": {
"@enact/agate": "../../",
"@enact/core": "^4.9.0",
"@enact/i18n": "^4.9.0",
"@enact/spotlight": "^4.9.0",
"@enact/ui": "^4.9.0",
"@enact/core": "^5.0.0-alpha.1",
"@enact/i18n": "^5.0.0-alpha.1",
"@enact/spotlight": "^5.0.0-alpha.1",
"@enact/ui": "^5.0.0-alpha.1",
"classnames": "^2.5.1",
"ilib": "^14.20.0",
"react": "^18.3.1",
Expand Down
8 changes: 4 additions & 4 deletions samples/perf-virtualgridlist-native/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,10 @@
},
"dependencies": {
"@enact/agate": "../../",
"@enact/core": "^4.9.0",
"@enact/i18n": "^4.9.0",
"@enact/spotlight": "^4.9.0",
"@enact/ui": "^4.9.0",
"@enact/core": "^5.0.0-alpha.1",
"@enact/i18n": "^5.0.0-alpha.1",
"@enact/spotlight": "^5.0.0-alpha.1",
"@enact/ui": "^5.0.0-alpha.1",
"ilib": "^14.20.0",
"react": "^18.3.1",
"react-dom": "^18.3.1"
Expand Down
8 changes: 4 additions & 4 deletions samples/perf-virtualgridlist-translate/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,10 @@
},
"dependencies": {
"@enact/agate": "../../",
"@enact/core": "^4.9.0",
"@enact/i18n": "^4.9.0",
"@enact/spotlight": "^4.9.0",
"@enact/ui": "^4.9.0",
"@enact/core": "^5.0.0-alpha.1",
"@enact/i18n": "^5.0.0-alpha.1",
"@enact/spotlight": "^5.0.0-alpha.1",
"@enact/ui": "^5.0.0-alpha.1",
"ilib": "^14.20.0",
"react": "^18.3.1",
"react-dom": "^18.3.1"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,10 @@
},
"dependencies": {
"@enact/agate": "../../",
"@enact/core": "^4.9.0",
"@enact/i18n": "^4.9.0",
"@enact/spotlight": "^4.9.0",
"@enact/ui": "^4.9.0",
"@enact/core": "^5.0.0-alpha.1",
"@enact/i18n": "^5.0.0-alpha.1",
"@enact/spotlight": "^5.0.0-alpha.1",
"@enact/ui": "^5.0.0-alpha.1",
"ilib": "^14.20.0",
"react": "^18.3.1",
"react-dom": "^18.3.1"
Expand Down
8 changes: 4 additions & 4 deletions samples/perf-virtuallist-native/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,10 @@
},
"dependencies": {
"@enact/agate": "../../",
"@enact/core": "^4.9.0",
"@enact/i18n": "^4.9.0",
"@enact/spotlight": "^4.9.0",
"@enact/ui": "^4.9.0",
"@enact/core": "^5.0.0-alpha.1",
"@enact/i18n": "^5.0.0-alpha.1",
"@enact/spotlight": "^5.0.0-alpha.1",
"@enact/ui": "^5.0.0-alpha.1",
"ilib": "^14.20.0",
"react": "^18.3.1",
"react-dom": "^18.3.1"
Expand Down
8 changes: 4 additions & 4 deletions samples/perf-virtuallist-translate/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,10 @@
},
"dependencies": {
"@enact/agate": "../../",
"@enact/core": "^4.9.0",
"@enact/i18n": "^4.9.0",
"@enact/spotlight": "^4.9.0",
"@enact/ui": "^4.9.0",
"@enact/core": "^5.0.0-alpha.1",
"@enact/i18n": "^5.0.0-alpha.1",
"@enact/spotlight": "^5.0.0-alpha.1",
"@enact/ui": "^5.0.0-alpha.1",
"ilib": "^14.20.0",
"react": "^18.3.1",
"react-dom": "^18.3.1"
Expand Down
10 changes: 5 additions & 5 deletions samples/qa-a11y/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,11 +23,11 @@
},
"dependencies": {
"@enact/agate": "../../",
"@enact/core": "^4.9.0",
"@enact/i18n": "^4.9.0",
"@enact/spotlight": "^4.9.0",
"@enact/ui": "^4.9.0",
"@enact/webos": "^4.9.0",
"@enact/core": "^5.0.0-alpha.1",
"@enact/i18n": "^5.0.0-alpha.1",
"@enact/spotlight": "^5.0.0-alpha.1",
"@enact/ui": "^5.0.0-alpha.1",
"@enact/webos": "^5.0.0-alpha.1",
"ilib": "^14.20.0",
"prop-types": "^15.8.1",
"react": "^18.3.1",
Expand Down
10 changes: 5 additions & 5 deletions samples/qa-drag-and-drop/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,11 +23,11 @@
},
"dependencies": {
"@enact/agate": "../../",
"@enact/core": "^4.9.0",
"@enact/i18n": "^4.9.0",
"@enact/spotlight": "^4.9.0",
"@enact/ui": "^4.9.0",
"@enact/webos": "^4.9.0",
"@enact/core": "^5.0.0-alpha.1",
"@enact/i18n": "^5.0.0-alpha.1",
"@enact/spotlight": "^5.0.0-alpha.1",
"@enact/ui": "^5.0.0-alpha.1",
"@enact/webos": "^5.0.0-alpha.1",
"ilib": "^14.20.0",
"prop-types": "^15.8.1",
"react": "^18.3.1",
Expand Down
8 changes: 4 additions & 4 deletions samples/qa-dropdown/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,10 @@
},
"dependencies": {
"@enact/agate": "../../",
"@enact/core": "^4.9.0",
"@enact/i18n": "^4.9.0",
"@enact/spotlight": "^4.9.0",
"@enact/ui": "^4.9.0",
"@enact/core": "^5.0.0-alpha.1",
"@enact/i18n": "^5.0.0-alpha.1",
"@enact/spotlight": "^5.0.0-alpha.1",
"@enact/ui": "^5.0.0-alpha.1",
"ilib": "^14.20.0",
"prop-types": "^15.8.1",
"react": "^18.3.1",
Expand Down
8 changes: 4 additions & 4 deletions samples/qa-fonts/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,10 @@
},
"dependencies": {
"@enact/agate": "../../",
"@enact/core": "^4.9.0",
"@enact/i18n": "^4.9.0",
"@enact/spotlight": "^4.9.0",
"@enact/ui": "^4.9.0",
"@enact/core": "^5.0.0-alpha.1",
"@enact/i18n": "^5.0.0-alpha.1",
"@enact/spotlight": "^5.0.0-alpha.1",
"@enact/ui": "^5.0.0-alpha.1",
"ilib": "^14.20.0",
"prop-types": "^15.8.1",
"react": "^18.3.1",
Expand Down
8 changes: 4 additions & 4 deletions samples/qa-i18n-async/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,10 @@
},
"dependencies": {
"@enact/agate": "../../",
"@enact/core": "^4.9.0",
"@enact/i18n": "^4.9.0",
"@enact/spotlight": "^4.9.0",
"@enact/ui": "^4.9.0",
"@enact/core": "^5.0.0-alpha.1",
"@enact/i18n": "^5.0.0-alpha.1",
"@enact/spotlight": "^5.0.0-alpha.1",
"@enact/ui": "^5.0.0-alpha.1",
"ilib": "^14.20.0",
"prop-types": "^15.8.1",
"react": "^18.3.1",
Expand Down
10 changes: 5 additions & 5 deletions samples/qa-i18n/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,11 +23,11 @@
},
"dependencies": {
"@enact/agate": "../../",
"@enact/core": "^4.9.0",
"@enact/i18n": "^4.9.0",
"@enact/spotlight": "^4.9.0",
"@enact/ui": "^4.9.0",
"@enact/webos": "^4.9.0",
"@enact/core": "^5.0.0-alpha.1",
"@enact/i18n": "^5.0.0-alpha.1",
"@enact/spotlight": "^5.0.0-alpha.1",
"@enact/ui": "^5.0.0-alpha.1",
"@enact/webos": "^5.0.0-alpha.1",
"ilib": "^14.20.0",
"prop-types": "^15.8.1",
"react": "^18.3.1",
Expand Down
8 changes: 4 additions & 4 deletions samples/qa-scroller/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,10 @@
},
"dependencies": {
"@enact/agate": "../../",
"@enact/core": "^4.9.0",
"@enact/i18n": "^4.9.0",
"@enact/spotlight": "^4.9.0",
"@enact/ui": "^4.9.0",
"@enact/core": "^5.0.0-alpha.1",
"@enact/i18n": "^5.0.0-alpha.1",
"@enact/spotlight": "^5.0.0-alpha.1",
"@enact/ui": "^5.0.0-alpha.1",
"ilib": "^14.20.0",
"prop-types": "^15.8.1",
"react": "^18.3.1",
Expand Down
Loading

0 comments on commit c81aa1f

Please sign in to comment.