Skip to content

Commit bc9080e

Browse files
committed
3.0.0-rc.1 release
2 parents b6c1583 + 3343604 commit bc9080e

70 files changed

Lines changed: 18599 additions & 35973 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

CHANGELOG.md

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

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

5+
## [3.0.0-rc.1] - 2025-05-29
6+
7+
### Changed
8+
9+
- Component selectors from ui-tests views to work with `webdriverio` version 9
10+
- `isDisplayed` method to work with `webdriverio` version 9
11+
12+
### Fixed
13+
14+
- `agate/IncrementSlider` and `agate/Slider` vertical knob alignment in Electro skin.
15+
516
## [3.0.0-alpha.3] - 2025-01-22
617

718
- Updated `React` dependency to version `19.0.0`

DropManager/DropManager.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -356,7 +356,7 @@ const DropManager = hoc(defaultConfig, (configHoc, Wrapped) => {
356356
}
357357

358358
return (
359-
<DropManagerContext.Provider
359+
<DropManagerContext
360360
value={{
361361
arrangement,
362362
arranging: this.state.dragging,
@@ -368,7 +368,7 @@ const DropManager = hoc(defaultConfig, (configHoc, Wrapped) => {
368368
className={classnames(className, css.dropManager, (arrangeable ? css.arrangeable : ''), {dragging: this.state.dragging})}
369369
// draggable="true"
370370
/>
371-
</DropManagerContext.Provider>
371+
</DropManagerContext>
372372
);
373373
}
374374
};
@@ -428,14 +428,14 @@ const Draggable = (Wrapped) => kind({
428428
<DropManagerContext.Consumer>
429429
{({arrangement, arrangeable}) => {
430430
return (
431-
<DraggableContainerContext.Provider value={{containerShape}}>
431+
<DraggableContainerContext value={{containerShape}}>
432432
<Wrapped
433433
{...rest}
434434
draggable={arrangeable && draggable}
435435
data-slot={draggable ? (arrangement && (arrangement[name] || arrangement[slot]) || (name || slot)) : null}
436436
data-slot-name={slot}
437437
/>
438-
</DraggableContainerContext.Provider>
438+
</DraggableContainerContext>
439439
);
440440
}}
441441
</DropManagerContext.Consumer>

IncrementSlider/IncrementSlider.module.less

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -102,6 +102,7 @@
102102
order: 2;
103103
margin: @agate-incrementslider-vertical-slider-margin;
104104
padding: @agate-incrementslider-vertical-slider-padding;
105+
transform: @agate-incrementslider-bg-transform-vertical;
105106

106107
&::before {
107108
border-radius: @agate-incrementslider-border-radius;

Item/Item.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,6 @@ const ItemContent = kind({
114114
}
115115
},
116116

117-
// eslint-disable-next-line enact/prop-types
118117
render: ({centered, content, css, marqueeOn, label, labelPosition, orientation, styler, ...rest}) => {
119118

120119
if (!label) {

Panels/SharedStateDecorator.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -137,9 +137,9 @@ const SharedStateDecorator = hoc(defaultConfig, (config, Wrapped) => {
137137
delete props.noSharedState;
138138

139139
return (
140-
<SharedState.Provider value={this.sharedState}>
140+
<SharedState value={this.sharedState}>
141141
<Wrapped {...props} />
142-
</SharedState.Provider>
142+
</SharedState>
143143
);
144144
}
145145
};

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ Alright, chill. We built several apps based on Agate that you can check out at t
3333

3434
Unless otherwise specified, all content, including all source code files and documentation files in this repository are:
3535

36-
Copyright (c) 2012-2024 LG Electronics
36+
Copyright (c) 2012-2025 LG Electronics
3737

3838
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
3939

Scroller/Scroller.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ let Scroller = (props) => {
8383

8484
// Render
8585
return (
86-
<ResizeContext.Provider {...resizeContextProps}>
86+
<ResizeContext {...resizeContextProps}>
8787
<div {...scrollContainerProps}>
8888
<div {...scrollInnerContainerProps}>
8989
<ScrollContentWrapper {...scrollContentWrapperProps}>
@@ -93,7 +93,7 @@ let Scroller = (props) => {
9393
</div>
9494
{isHorizontalScrollbarVisible ? <Scrollbar {...horizontalScrollbarProps} /> : null}
9595
</div>
96-
</ResizeContext.Provider>
96+
</ResizeContext>
9797
);
9898
};
9999

Slider/Slider.module.less

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -136,6 +136,10 @@
136136
.knob {
137137
bottom: ~"calc(var(--ui-slider-proportion-end-knob) * 100%)";
138138
top: auto;
139+
140+
&::before {
141+
transform: @agate-slider-knob-transform-vertical;
142+
}
139143
}
140144
}
141145

@@ -199,6 +203,12 @@
199203
width: @agate-slider-active-knob-width;
200204
border-radius: @agate-slider-active-knob-border-radius;
201205
}
206+
207+
&.vertical {
208+
.knob::before {
209+
transform: @agate-slider-active-knob-transform-vertical;
210+
}
211+
}
202212
}
203213

204214
:global(.spotlight-input-touch) &.pressed {

SliderButton/SliderButton.js

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,6 @@ const SliderKnob = kind({
6969
},
7070
render: ({...rest}) => {
7171
delete rest.value;
72-
// eslint-disable-next-line enact/prop-types
7372
delete rest.tooltipComponent;
7473
return (
7574
<div
@@ -112,9 +111,7 @@ const SliderProgress = kind({
112111
className: 'track'
113112
},
114113
render: ({children, css, values, ...rest}) => {
115-
// eslint-disable-next-line enact/prop-types
116114
delete rest.progressAnchor;
117-
// eslint-disable-next-line enact/prop-types
118115
delete rest.backgroundProgress;
119116
return (
120117
<Row {...rest} align="center">

ThemeDecorator/ThemeDecorator.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -335,10 +335,10 @@ const ThemeDecorator = hoc(defaultConfig, (config, Wrapped) => {
335335
);
336336

337337
return (
338-
<ThemeContext.Provider value={{accent, highlight}}>
338+
<ThemeContext value={{accent, highlight}}>
339339
{customSkin ? <CustomizableSkinStyle className={customizableSkinClassName} accent={accent} highlight={highlight} /> : null}
340340
<App {...rest} accent={accent} highlight={highlight} className={allClassNames} />
341-
</ThemeContext.Provider>
341+
</ThemeContext>
342342
);
343343
}
344344
};

0 commit comments

Comments
 (0)