Skip to content

Commit 134308f

Browse files
committed
docs: add changelog
1 parent df98d1d commit 134308f

File tree

3 files changed

+73
-3
lines changed

3 files changed

+73
-3
lines changed

.changelogrc

+2-2
Original file line numberDiff line numberDiff line change
@@ -51,8 +51,8 @@ the recommended `addEventListener` and `removeEventListener` calls.
5151

5252
**Color Mode** `v1.2.0`
5353

54-
- Added possibility to use the system preferred color scheme as value for
55-
`initialColorMode`, while still respecting a user's previous choice.
54+
Added possibility to use the system preferred color scheme as value for
55+
`initialColorMode`, while still respecting a user's previous choice.
5656

5757
As long as the user does not manually select a color mode through a website
5858
interaction, the theme will change when the system preference changes.

CHANGELOG.md

+70
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,76 @@ To better understand the changelog, here are some legends we use:
1717

1818
<!-- CHANGELOG:INSERT -->
1919

20+
## 03-11-2021
21+
22+
`@chakra-ui/[email protected]`
23+
24+
- Allow usage of `framer-motion` 5.x in `peerDependency`
25+
26+
**Radio** `v1.3.13`
27+
28+
- Improve types defined for `getRadioprops`
29+
30+
**Checkbox** `v1.5.10`
31+
32+
- Allow usage of `framer-motion` 5.x in `peerDependency`
33+
34+
**Menu** `v1.7.8`
35+
36+
- Allow usage of `framer-motion` 5.x in `peerDependency`
37+
38+
**Modal** `v1.9.4`
39+
40+
- Allow usage of `framer-motion` 5.x in `peerDependency`
41+
42+
**Popover** `v1.9.1`
43+
44+
- Allow usage of `framer-motion` 5.x in `peerDependency`
45+
46+
**Theme** `v1.11.1`
47+
48+
- Allow usage of `framer-motion` 5.x in `peerDependency`
49+
50+
**Toast** `v1.3.4`
51+
52+
- Allow usage of `framer-motion` 5.x in `peerDependency`
53+
54+
**Tooltip** `v1.3.14`
55+
56+
- Allow usage of `framer-motion` 5.x in `peerDependency`
57+
58+
**Transition** `v1.3.8`
59+
60+
- Allow usage of `framer-motion` 5.x in `peerDependency`
61+
62+
**Media Query** `v1.1.5`
63+
64+
- Corrected eslint errors.
65+
- Fix an issue where the `useMediaQuery` was not updating the array of booleans
66+
correctly when resizing the viewport.
67+
68+
It also removes deprecated calls `addListener` and `removeListener` in favor of
69+
the recommended `addEventListener` and `removeEventListener` calls.
70+
71+
**Color Mode** `v1.2.0`
72+
73+
Added possibility to use the system preferred color scheme as value for
74+
`initialColorMode`, while still respecting a user's previous choice.
75+
76+
As long as the user does not manually select a color mode through a website
77+
interaction, the theme will change when the system preference changes.
78+
79+
This would easily allow for an implementation where the user can choose between
80+
`light`, `dark` and `system` by simply setting the `initialColorMode` setting to
81+
`system` and presenting the user with the three options.
82+
83+
**Popper** `v2.3.1`
84+
85+
- Remove default `[]` value for modifiers and moved it into `createPopper`
86+
definition. This allows memoized modifiers to work correctly in user-land when
87+
used with `useCallback`.
88+
89+
2090
## 31-10-2021
2191

2292
`@chakra-ui/[email protected]`

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@
6060
"create:pkg": "ts-node scripts/plopfile.ts",
6161
"release": "changeset publish",
6262
"notify:release": "yarn changelog:write && yarn discord && yarn commit:changelog",
63-
"commit:changelog": "git add .CHANGELOG.md && git commit -am 'docs: add changelog' && git push",
63+
"commit:changelog": "git add CHANGELOG.md && git commit -am 'docs: add changelog' && git push",
6464
"docs": "yarn workspace @chakra-ui/docs",
6565
"docs:deploy": "yarn build && yarn docs:build && cp -r website/public .",
6666
"docs:build": "yarn search-meta:gen && yarn docs build",

0 commit comments

Comments
 (0)