Skip to content

Commit

Permalink
2.7.18 release
Browse files Browse the repository at this point in the history
  • Loading branch information
enact-bot committed Sep 5, 2024
2 parents c23bc81 + ae6f36b commit 1f8ae81
Show file tree
Hide file tree
Showing 33 changed files with 1,156 additions and 1,065 deletions.
27 changes: 22 additions & 5 deletions Alert/Alert.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ import Popup from '../Popup';

import AlertImage from './AlertImage';

import css from './Alert.module.less';
import componentCss from './Alert.module.less';

/**
* A modal Alert component.
Expand Down Expand Up @@ -64,6 +64,22 @@ const AlertBase = kind({
*/
children: PropTypes.node,

/**
* Customizes the component by mapping the supplied collection of CSS class names to the
* corresponding internal elements and states of this component.
*
* The following classes are supported:
*
* * `alert` - The root class name
* * `content` - The content component class
* * `fullscreen` - Applied to a `type='fullscreen'` alert
* * `title` - The title component class
*
* @type {Object}
* @public
*/
css: PropTypes.object,

/**
* The `id` of Alert referred to when generating ids for `'title'` and `'buttons'`.
*
Expand Down Expand Up @@ -140,12 +156,13 @@ const AlertBase = kind({
},

styles: {
css,
className: 'alert'
css: componentCss,
className: 'alert',
publicClassNames: ['alert', 'content', 'fullscreen', 'title']
},

computed: {
buttons: ({buttons}) => {
buttons: ({buttons, css}) => {
return mapAndFilterChildren(buttons, (button, index) => (
<Cell className={css.buttonCell} key={`button${index}`} shrink>
{button}
Expand Down Expand Up @@ -179,7 +196,7 @@ const AlertBase = kind({
}
},

render: ({buttons, contentComponent, children, id, image, overflow, title, type, ...rest}) => {
render: ({buttons, contentComponent, children, css, id, image, overflow, title, type, ...rest}) => {
const fullscreen = (type === 'fullscreen');
const position = (type === 'overlay' ? 'bottom' : type);
const showTitle = (fullscreen && title);
Expand Down
10 changes: 10 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,16 @@

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

## [2.7.18] - 2024-09-05

### Added

- `sandstone/Alert` public class names `alert`, `content`, `fullscreen`, and `title`

### Changed

- `sandstone/Icon` supported icon list, adding new icons

## [2.7.17] - 2024-07-08

### Added
Expand Down
33 changes: 33 additions & 0 deletions Icon/Icon.js
Original file line number Diff line number Diff line change
Expand Up @@ -359,6 +359,39 @@ const IconBase = kind({
* wifilock35g
* wifilock45g
* create
* background
* pen
* eraser
* mediaplayer
* location
* exit
* movies
* mycontents
* accessibility
* seemore
* trailer
* onnow
* tvguidefvp
* pcnotconnected
* fileppt
* textinput
* pagewidth
* index
* colorpicker
* ear
* hand
* remotecontrol
* channelscheduling
* smartfunction
* appscontents
* deviceconnect
* move
* voiced
* auracast
* jumpbackward10
* jumpforward10
* logout
* sketch
* ```
*
* @name iconList
Expand Down
35 changes: 34 additions & 1 deletion Icon/IconList.js
Original file line number Diff line number Diff line change
Expand Up @@ -218,5 +218,38 @@ export default {
wifilock25g : 0x0F0196, // wifilock2_5g
wifilock35g : 0x0F0197, // wifilock3_5g
wifilock45g : 0x0F0198, // wifilock4_5g
create : 0x0F0199 // create
create : 0x0F0199, // create
background : 0x0F019A, // background
pen : 0x0F019B, // pen
eraser : 0x0F019C, // eraser
mediaplayer : 0x0F019D, // mediaplayer
location : 0x0F019E, // location
exit : 0x0F019F, // exit
movies : 0x0F01A0, // movies
mycontents : 0x0F01A1, // mycontents
accessibility : 0x0F01A2, // accessibility
seemore : 0x0F01A3, // see_more
trailer : 0x0F01A4, // trailer
onnow : 0x0F01A5, // onnow
tvguidefvp : 0x0F01A6, // tvguide_fvp
pcnotconnected : 0x0F01A7, // pc_not_connected
fileppt : 0x0F01A8, // file_ppt
textinput : 0x0F01A9, // textinput
pagewidth : 0x0F01AA, // pagewidth
index : 0x0F01AB, // index
colorpicker : 0x0F01AC, // colorpicker
ear : 0x0F01AD, // ear
hand : 0x0F01AE, // hand
remotecontrol : 0x0F01AF, // remotecontrol
channelscheduling : 0x0F01B0, // channelscheduling
smartfunction : 0x0F01B1, // smartfunction
appscontents : 0x0F01B2, // appscontents
deviceconnect : 0x0F01B3, // deviceconnect
move : 0x0F01B4, // move
voiced : 0x0F01B5, // voiced
auracast : 0x0F01B6, // auracast
jumpbackward10 : 0x0F01B7, // jumpbackward_10
jumpforward10 : 0x0F01B8, // jumpforward_10
logout : 0x0F01B9, // logout
sketch : 0x0F01BA // sketch
};
Binary file modified fonts/Sandstone_Icons.ttf
Binary file not shown.
14 changes: 7 additions & 7 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

12 changes: 6 additions & 6 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@enact/sandstone",
"version": "2.7.17",
"version": "2.7.18",
"description": "Large-screen/TV support library for Enact, containing a variety of UI components.",
"repository": {
"type": "git",
Expand Down Expand Up @@ -42,11 +42,11 @@
"extends": "enact-proxy/strict"
},
"dependencies": {
"@enact/core": "^4.7.11",
"@enact/i18n": "^4.7.11",
"@enact/spotlight": "^4.7.11",
"@enact/ui": "^4.7.11",
"@enact/webos": "^4.7.11",
"@enact/core": "^4.7.12",
"@enact/i18n": "^4.7.12",
"@enact/spotlight": "^4.7.12",
"@enact/ui": "^4.7.12",
"@enact/webos": "^4.7.12",
"classnames": "^2.3.2",
"invariant": "^2.2.4",
"prop-types": "^15.8.1",
Expand Down
8 changes: 4 additions & 4 deletions samples/event-logger/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,11 +22,11 @@
"theme": "sandstone"
},
"dependencies": {
"@enact/core": "^4.7.11",
"@enact/i18n": "^4.7.11",
"@enact/core": "^4.7.12",
"@enact/i18n": "^4.7.12",
"@enact/sandstone": "../../",
"@enact/spotlight": "^4.7.11",
"@enact/ui": "^4.7.11",
"@enact/spotlight": "^4.7.12",
"@enact/ui": "^4.7.12",
"@reduxjs/toolkit": "^1.9.7",
"ilib": "^14.18.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 @@ -22,11 +22,11 @@
"theme": "sandstone"
},
"dependencies": {
"@enact/core": "^4.7.11",
"@enact/i18n": "^4.7.11",
"@enact/core": "^4.7.12",
"@enact/i18n": "^4.7.12",
"@enact/sandstone": "../../",
"@enact/spotlight": "^4.7.11",
"@enact/ui": "^4.7.11",
"@enact/spotlight": "^4.7.12",
"@enact/ui": "^4.7.12",
"classnames": "^2.3.2",
"ilib": "^14.18.0",
"react": "^18.2.0",
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 @@ -23,11 +23,11 @@
"theme": "sandstone"
},
"dependencies": {
"@enact/core": "^4.7.11",
"@enact/i18n": "^4.7.11",
"@enact/core": "^4.7.12",
"@enact/i18n": "^4.7.12",
"@enact/sandstone": "../../",
"@enact/spotlight": "^4.7.11",
"@enact/ui": "^4.7.11",
"@enact/spotlight": "^4.7.12",
"@enact/ui": "^4.7.12",
"classnames": "^2.3.2",
"ilib": "^14.18.0",
"react": "^18.2.0",
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 @@ -22,11 +22,11 @@
"theme": "sandstone"
},
"dependencies": {
"@enact/core": "^4.7.11",
"@enact/i18n": "^4.7.11",
"@enact/core": "^4.7.12",
"@enact/i18n": "^4.7.12",
"@enact/sandstone": "../../",
"@enact/spotlight": "^4.7.11",
"@enact/ui": "^4.7.11",
"@enact/spotlight": "^4.7.12",
"@enact/ui": "^4.7.12",
"ilib": "^14.18.0",
"react": "^18.2.0",
"react-dom": "^18.2.0"
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 @@ -22,11 +22,11 @@
"theme": "sandstone"
},
"dependencies": {
"@enact/core": "^4.7.11",
"@enact/i18n": "^4.7.11",
"@enact/core": "^4.7.12",
"@enact/i18n": "^4.7.12",
"@enact/sandstone": "../../",
"@enact/spotlight": "^4.7.11",
"@enact/ui": "^4.7.11",
"@enact/spotlight": "^4.7.12",
"@enact/ui": "^4.7.12",
"ilib": "^14.18.0",
"react": "^18.2.0",
"react-dom": "^18.2.0"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,11 +22,11 @@
"theme": "sandstone"
},
"dependencies": {
"@enact/core": "^4.7.11",
"@enact/i18n": "^4.7.11",
"@enact/core": "^4.7.12",
"@enact/i18n": "^4.7.12",
"@enact/sandstone": "../../",
"@enact/spotlight": "^4.7.11",
"@enact/ui": "^4.7.11",
"@enact/spotlight": "^4.7.12",
"@enact/ui": "^4.7.12",
"ilib": "^14.18.0",
"react": "^18.2.0",
"react-dom": "^18.2.0"
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 @@ -22,11 +22,11 @@
"theme": "sandstone"
},
"dependencies": {
"@enact/core": "^4.7.11",
"@enact/i18n": "^4.7.11",
"@enact/core": "^4.7.12",
"@enact/i18n": "^4.7.12",
"@enact/sandstone": "../../",
"@enact/spotlight": "^4.7.11",
"@enact/ui": "^4.7.11",
"@enact/spotlight": "^4.7.12",
"@enact/ui": "^4.7.12",
"ilib": "^14.18.0",
"react": "^18.2.0",
"react-dom": "^18.2.0"
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 @@ -22,11 +22,11 @@
"theme": "sandstone"
},
"dependencies": {
"@enact/core": "^4.7.11",
"@enact/i18n": "^4.7.11",
"@enact/core": "^4.7.12",
"@enact/i18n": "^4.7.12",
"@enact/sandstone": "../../",
"@enact/spotlight": "^4.7.11",
"@enact/ui": "^4.7.11",
"@enact/spotlight": "^4.7.12",
"@enact/ui": "^4.7.12",
"ilib": "^14.18.0",
"react": "^18.2.0",
"react-dom": "^18.2.0"
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 @@ -22,12 +22,12 @@
"theme": "sandstone"
},
"dependencies": {
"@enact/core": "^4.7.11",
"@enact/i18n": "^4.7.11",
"@enact/core": "^4.7.12",
"@enact/i18n": "^4.7.12",
"@enact/sandstone": "../../",
"@enact/spotlight": "^4.7.11",
"@enact/ui": "^4.7.11",
"@enact/webos": "^4.7.11",
"@enact/spotlight": "^4.7.12",
"@enact/ui": "^4.7.12",
"@enact/webos": "^4.7.12",
"ilib": "^14.18.0",
"prop-types": "^15.8.1",
"react": "^18.2.0",
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 @@ -22,11 +22,11 @@
"theme": "sandstone"
},
"dependencies": {
"@enact/core": "^4.7.11",
"@enact/i18n": "^4.7.11",
"@enact/core": "^4.7.12",
"@enact/i18n": "^4.7.12",
"@enact/sandstone": "../../",
"@enact/spotlight": "^4.7.11",
"@enact/ui": "^4.7.11",
"@enact/spotlight": "^4.7.12",
"@enact/ui": "^4.7.12",
"ilib": "^14.18.0",
"prop-types": "^15.8.1",
"react": "^18.2.0",
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 @@ -22,11 +22,11 @@
"theme": "sandstone"
},
"dependencies": {
"@enact/core": "^4.7.11",
"@enact/i18n": "^4.7.11",
"@enact/core": "^4.7.12",
"@enact/i18n": "^4.7.12",
"@enact/sandstone": "../../",
"@enact/spotlight": "^4.7.11",
"@enact/ui": "^4.7.11",
"@enact/spotlight": "^4.7.12",
"@enact/ui": "^4.7.12",
"ilib": "^14.18.0",
"prop-types": "^15.8.1",
"react": "^18.2.0",
Expand Down
Loading

0 comments on commit 1f8ae81

Please sign in to comment.