Skip to content

Commit b51a0d3

Browse files
Version Packages (#1998)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
1 parent 93bd65f commit b51a0d3

File tree

7 files changed

+63
-65
lines changed

7 files changed

+63
-65
lines changed

.changeset/calm-hornets-care.md

Lines changed: 0 additions & 5 deletions
This file was deleted.

.changeset/friendly-ants-act.md

Lines changed: 0 additions & 5 deletions
This file was deleted.

.changeset/lazy-apes-flow.md

Lines changed: 0 additions & 52 deletions
This file was deleted.

docs/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
"test": "$_ run build"
1717
},
1818
"dependencies": {
19-
"@aws-amplify/ui-react": "2.18.3",
19+
"@aws-amplify/ui-react": "2.19.0",
2020
"@codesandbox/sandpack-react": "0.1.9",
2121
"@cucumber/gherkin": "^19.0.3",
2222
"@cucumber/messages": "^16.0.1",

examples/next/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
"lint": "next lint"
1111
},
1212
"dependencies": {
13-
"@aws-amplify/ui-react": "^2.18.3",
13+
"@aws-amplify/ui-react": "^2.19.0",
1414
"@types/node": "^15.12.4",
1515
"@types/react": "^17.0.11",
1616
"next": "^11.1.3",

packages/react/CHANGELOG.md

Lines changed: 60 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,65 @@
11
# @aws-amplify/ui-react
22

3+
## 2.19.0
4+
5+
### Minor Changes
6+
7+
- [#1980](https://github.com/aws-amplify/amplify-ui/pull/1980) [`a9b29e879`](https://github.com/aws-amplify/amplify-ui/commit/a9b29e8796baa8ba7986cf787b5879a6d4b74a99) Thanks [@zchenwei](https://github.com/zchenwei)! - feat: adding missing label props to make text in i18n file customizable
8+
9+
* [#1986](https://github.com/aws-amplify/amplify-ui/pull/1986) [`c58c1e056`](https://github.com/aws-amplify/amplify-ui/commit/c58c1e0568e7d2b1ec870ebc78245a770da04b2b) Thanks [@zchenwei](https://github.com/zchenwei)! - feat: update custom style props to accept StyleToken type
10+
11+
For example:
12+
13+
```jsx
14+
import {
15+
Flex,
16+
Loader,
17+
Rating,
18+
SliderField,
19+
SwitchField,
20+
} from '@aws-amplify/ui-react';
21+
22+
export const StyleTokenExample = () => {
23+
return (
24+
<Flex>
25+
<Loader
26+
emptyColor={tokens.colors.black}
27+
filledColor={tokens.colors.orange[40]}
28+
/>
29+
30+
<Rating
31+
value={2.5}
32+
fillColor={tokens.colors.red[60]}
33+
emptyColor={tokens.colors.green[60]}
34+
/>
35+
36+
<SliderField
37+
label="Style Props Slider"
38+
filledTrackColor={tokens.colors.green[80].value}
39+
emptyTrackColor={tokens.colors.green[20].value}
40+
thumbColor="red"
41+
filledTrackColor={tokens.colors.green[80]}
42+
emptyTrackColor={tokens.colors.green[20]}
43+
thumbColor={tokens.colors.red[60]}
44+
trackSize="15px"
45+
defaultValue={50}
46+
/>
47+
48+
<SwitchField
49+
label="This is a switch"
50+
trackCheckedColor={tokens.colors.green[60]}
51+
thumbColor={tokens.colors.orange[10]}
52+
/>
53+
<Flex>
54+
);
55+
}
56+
57+
```
58+
59+
### Patch Changes
60+
61+
- [#1996](https://github.com/aws-amplify/amplify-ui/pull/1996) [`2c3ee1a7f`](https://github.com/aws-amplify/amplify-ui/commit/2c3ee1a7fd66bd6f090b7a469c84acd1203349f9) Thanks [@0618](https://github.com/0618)! - fix ThemeProvider original value
62+
363
## 2.18.3
464

565
### Patch Changes

packages/react/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@aws-amplify/ui-react",
3-
"version": "2.18.3",
3+
"version": "2.19.0",
44
"main": "dist/index.js",
55
"module": "dist/esm/index.js",
66
"exports": {

0 commit comments

Comments
 (0)