Skip to content

Commit 4412ce1

Browse files
Version Packages (#3056)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
1 parent 5994b73 commit 4412ce1

File tree

14 files changed

+120
-39
lines changed

14 files changed

+120
-39
lines changed

.changeset/famous-dancers-wink.md

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

.changeset/plain-banks-take.md

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

chat/chat-disclaimer/CHANGELOG.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,12 @@
11
# @lg-chat/chat-disclaimer
22

3+
## 4.0.6
4+
5+
### Patch Changes
6+
7+
- Updated dependencies [5994b73]
8+
- @leafygreen-ui/marketing-modal@8.0.0
9+
310
## 4.0.5
411

512
### Patch Changes

chat/chat-disclaimer/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@lg-chat/chat-disclaimer",
3-
"version": "4.0.5",
3+
"version": "4.0.6",
44
"description": "LeafyGreen UI Kit Chat Disclaimer",
55
"main": "./dist/umd/index.js",
66
"module": "./dist/esm/index.js",

packages/confirmation-modal/CHANGELOG.md

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,38 @@
11
# @leafygreen-ui/confirmation-modal
22

3+
## 10.0.0
4+
5+
### Major Changes
6+
7+
- 5994b73: [LG-4952](https://jira.mongodb.org/browse/LG-4952)
8+
9+
#### Breaking Changes
10+
11+
- **Top layer rendering**: Component renders in [top layer](https://developer.mozilla.org/en-US/docs/Glossary/Top_layer) instead of portaling
12+
- **Props**: `className``backdropClassName`, `contentClassName``className`, `initialFocus` prop removed
13+
- **Backdrop styling**: `backdropClassName` deprecated in favor of CSS `::backdrop` pseudo-element
14+
- **Focus management**: Specifying `autoFocus` on focusable child element replaces manual `initialFocus` prop
15+
- **Type changes**: Component now extends `HTMLElementProps<'dialog'>` instead of `HTMLElementProps<'div'>`
16+
17+
#### Migration Guide
18+
19+
Use the [modal-v20 codemod]([popover-v12 codemod](https://github.com/mongodb/leafygreen-ui/tree/main/tools/codemods#modal-v20) for migration assistance.
20+
21+
```shell
22+
pnpm lg codemod modal-v20 <path>
23+
```
24+
25+
The codemod will:
26+
27+
1. Rename `className` prop to `backdropClassName`
28+
2. Rename `contentClassName` prop to `className`
29+
3. Remove `initialFocus` prop and add guidance comments
30+
31+
### Patch Changes
32+
33+
- Updated dependencies [5994b73]
34+
- @leafygreen-ui/modal@20.0.0
35+
336
## 9.0.2
437

538
### Patch Changes

packages/confirmation-modal/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@leafygreen-ui/confirmation-modal",
3-
"version": "9.0.2",
3+
"version": "10.0.0",
44
"description": "leafyGreen UI Kit Confirmation Modal",
55
"main": "./dist/umd/index.js",
66
"module": "./dist/esm/index.js",

packages/marketing-modal/CHANGELOG.md

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,38 @@
11
# @leafygreen-ui/marketing-modal
22

3+
## 8.0.0
4+
5+
### Major Changes
6+
7+
- 5994b73: [LG-4952](https://jira.mongodb.org/browse/LG-4952)
8+
9+
#### Breaking Changes
10+
11+
- **Top layer rendering**: Component renders in [top layer](https://developer.mozilla.org/en-US/docs/Glossary/Top_layer) instead of portaling
12+
- **Props**: `className``backdropClassName`, `contentClassName``className`, `initialFocus` prop removed
13+
- **Backdrop styling**: `backdropClassName` deprecated in favor of CSS `::backdrop` pseudo-element
14+
- **Focus management**: Specifying `autoFocus` on focusable child element replaces manual `initialFocus` prop
15+
- **Type changes**: Component now extends `HTMLElementProps<'dialog'>` instead of `HTMLElementProps<'div'>`
16+
17+
#### Migration Guide
18+
19+
Use the [modal-v20 codemod]([popover-v12 codemod](https://github.com/mongodb/leafygreen-ui/tree/main/tools/codemods#modal-v20) for migration assistance.
20+
21+
```shell
22+
pnpm lg codemod modal-v20 <path>
23+
```
24+
25+
The codemod will:
26+
27+
1. Rename `className` prop to `backdropClassName`
28+
2. Rename `contentClassName` prop to `className`
29+
3. Remove `initialFocus` prop and add guidance comments
30+
31+
### Patch Changes
32+
33+
- Updated dependencies [5994b73]
34+
- @leafygreen-ui/modal@20.0.0
35+
336
## 7.0.0
437

538
### Major Changes

packages/marketing-modal/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@leafygreen-ui/marketing-modal",
3-
"version": "7.0.0",
3+
"version": "8.0.0",
44
"description": "leafyGreen UI Kit Marketing Modal",
55
"main": "./dist/umd/index.js",
66
"module": "./dist/esm/index.js",

packages/modal/CHANGELOG.md

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,33 @@
11
# @leafygreen-ui/modal
22

3+
## 20.0.0
4+
5+
### Major Changes
6+
7+
- 5994b73: [LG-4952](https://jira.mongodb.org/browse/LG-4952)
8+
9+
#### Breaking Changes
10+
11+
- **Top layer rendering**: Component renders in [top layer](https://developer.mozilla.org/en-US/docs/Glossary/Top_layer) instead of portaling
12+
- **Props**: `className``backdropClassName`, `contentClassName``className`, `initialFocus` prop removed
13+
- **Backdrop styling**: `backdropClassName` deprecated in favor of CSS `::backdrop` pseudo-element
14+
- **Focus management**: Specifying `autoFocus` on focusable child element replaces manual `initialFocus` prop
15+
- **Type changes**: Component now extends `HTMLElementProps<'dialog'>` instead of `HTMLElementProps<'div'>`
16+
17+
#### Migration Guide
18+
19+
Use the [modal-v20 codemod]([popover-v12 codemod](https://github.com/mongodb/leafygreen-ui/tree/main/tools/codemods#modal-v20) for migration assistance.
20+
21+
```shell
22+
pnpm lg codemod modal-v20 <path>
23+
```
24+
25+
The codemod will:
26+
27+
1. Rename `className` prop to `backdropClassName`
28+
2. Rename `contentClassName` prop to `className`
29+
3. Remove `initialFocus` prop and add guidance comments
30+
331
## 19.0.1
432

533
### Patch Changes

packages/modal/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@leafygreen-ui/modal",
3-
"version": "19.0.1",
3+
"version": "20.0.0",
44
"description": "LeafyGreen UI Kit Modal",
55
"main": "./dist/umd/index.js",
66
"module": "./dist/esm/index.js",

0 commit comments

Comments
 (0)