Skip to content

Commit

Permalink
Version Packages (#2499)
Browse files Browse the repository at this point in the history
* Version Packages

* adds a few more packages

---------

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: Shaneeza <[email protected]>
  • Loading branch information
3 people authored Oct 10, 2024
1 parent 84028dc commit 9ea933d
Show file tree
Hide file tree
Showing 17 changed files with 66 additions and 33 deletions.
5 changes: 0 additions & 5 deletions .changeset/nine-pillows-decide.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/tasty-weeks-drum.md

This file was deleted.

15 changes: 0 additions & 15 deletions .changeset/wise-flies-doubt.md

This file was deleted.

6 changes: 6 additions & 0 deletions packages/combobox/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# @leafygreen-ui/combobox

## 9.1.4

### Patch Changes

- Updates `useAvailableSpace` hook which fixes a dropdown height bug. [LG-4601](https://jira.mongodb.org/browse/LG-4601)

## 9.1.3

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/combobox/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@leafygreen-ui/combobox",
"version": "9.1.3",
"version": "9.1.4",
"description": "leafyGreen UI Kit Combobox",
"main": "./dist/index.js",
"module": "./dist/esm/index.js",
Expand Down
6 changes: 6 additions & 0 deletions packages/empty-state/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# @leafygreen-ui/empty-state

## 1.1.0

### Minor Changes

- fa1ba0c19: [LG-4511](https://jira.mongodb.org/browse/LG-4511): Add optional `badgeProps` to `BasicEmptyState` component

## 1.0.17

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/empty-state/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@leafygreen-ui/empty-state",
"version": "1.0.17",
"version": "1.1.0",
"description": "leafyGreen UI Kit Empty State",
"main": "./dist/index.js",
"module": "./dist/esm/index.js",
Expand Down
17 changes: 17 additions & 0 deletions packages/hooks/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,22 @@
# @leafygreen-ui/hooks

## 8.2.1

### Patch Changes

- 84028dc5d: Removes `useMemo` from `useAvailableSpace`, which was preventing the hook from returning the correct value.

On first render, the `triggerRef` is not available but `useViewportSize` is. When the menu is opened, the `triggerRef` is available but the viewport size remains the same so the memo callback is not triggered since refs do not trigger a re-render.

Previously, `useViewportSize` returned null and then re-rendered with the correct dimensions, which would trigger the memo callback.

These changes should affect the following components:

- `Select`
- `Combobox`
- `Menu`
- `SearchInput`

## 8.2.0

### Minor Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/hooks/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@leafygreen-ui/hooks",
"version": "8.2.0",
"version": "8.2.1",
"description": "LeafyGreen UI Kit Custom Hooks",
"main": "./dist/index.js",
"module": "./dist/esm/index.js",
Expand Down
6 changes: 6 additions & 0 deletions packages/menu/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# @leafygreen-ui/menu

## 25.1.2

### Patch Changes

- Updates `useAvailableSpace` hook which fixes a dropdown height bug. [LG-4601](https://jira.mongodb.org/browse/LG-4601)

## 25.1.1

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/menu/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@leafygreen-ui/menu",
"version": "25.1.1",
"version": "25.1.2",
"description": "LeafyGreen UI Kit Menu",
"main": "./dist/index.js",
"module": "./dist/esm/index.js",
Expand Down
6 changes: 6 additions & 0 deletions packages/search-input/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# @leafygreen-ui/search-input

## 3.1.3

### Patch Changes

- Updates `useAvailableSpace` hook which fixes a dropdown height bug. [LG-4601](https://jira.mongodb.org/browse/LG-4601)

## 3.1.2

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/search-input/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@leafygreen-ui/search-input",
"version": "3.1.2",
"version": "3.1.3",
"description": "leafyGreen UI Kit Search Input",
"main": "./dist/index.js",
"module": "./dist/esm/index.js",
Expand Down
11 changes: 11 additions & 0 deletions packages/segmented-control/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,16 @@
# @leafygreen-ui/segmented-control

## 9.0.0

### Major Changes

- 1cfe7d0ce: [LG-4045](https://jira.mongodb.org/browse/LG-4045): Adds `'small'` size styles. Previously, `'small'` size would fall back on the `'xsmall'` size styles

### Patch Changes

- Updated dependencies [84028dc5d]
- @leafygreen-ui/hooks@8.2.1

## 8.2.13

### Patch Changes
Expand Down
4 changes: 2 additions & 2 deletions packages/segmented-control/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@leafygreen-ui/segmented-control",
"version": "8.2.13",
"version": "9.0.0",
"description": "leafyGreen UI Kit Segmented Control",
"main": "./dist/index.js",
"module": "./dist/esm/index.js",
Expand All @@ -24,7 +24,7 @@
"dependencies": {
"@leafygreen-ui/box": "^3.1.9",
"@leafygreen-ui/emotion": "^4.0.8",
"@leafygreen-ui/hooks": "^8.1.3",
"@leafygreen-ui/hooks": "^8.2.1",
"@leafygreen-ui/icon": "^12.4.0",
"@leafygreen-ui/lib": "^13.3.0",
"@leafygreen-ui/palette": "^4.0.9",
Expand Down
6 changes: 6 additions & 0 deletions packages/select/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# @leafygreen-ui/select

## 12.1.5

### Patch Changes

- Updates `useAvailableSpace` hook which fixes a dropdown height bug. [LG-4601](https://jira.mongodb.org/browse/LG-4601)

## 12.1.4

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/select/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@leafygreen-ui/select",
"version": "12.1.4",
"version": "12.1.5",
"description": "leafyGreen UI Kit Select",
"main": "./dist/index.js",
"module": "./dist/esm/index.js",
Expand Down

0 comments on commit 9ea933d

Please sign in to comment.