Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Version Packages #2324

Merged
merged 1 commit into from
Apr 26, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 0 additions & 10 deletions .changeset/afraid-doors-knock.md

This file was deleted.

17 changes: 0 additions & 17 deletions .changeset/chatty-socks-occur.md

This file was deleted.

7 changes: 0 additions & 7 deletions .changeset/gorgeous-paws-nail.md

This file was deleted.

34 changes: 0 additions & 34 deletions .changeset/lovely-pigs-eat.md

This file was deleted.

16 changes: 0 additions & 16 deletions .changeset/modern-spies-behave.md

This file was deleted.

18 changes: 0 additions & 18 deletions .changeset/neat-kiwis-know.md

This file was deleted.

7 changes: 0 additions & 7 deletions .changeset/perfect-buckets-raise.md

This file was deleted.

8 changes: 0 additions & 8 deletions .changeset/proud-bugs-smile.md

This file was deleted.

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

## 14.3.3

### Patch Changes

- Updated dependencies [c406ab85]
- Updated dependencies [c406ab85]
- @leafygreen-ui/[email protected]
- @leafygreen-ui/[email protected]

## 14.3.2

### Patch Changes
Expand Down
6 changes: 3 additions & 3 deletions packages/code/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@leafygreen-ui/code",
"version": "14.3.2",
"version": "14.3.3",
"description": "leafyGreen UI Kit Code Blocks",
"main": "./dist/index.js",
"module": "./dist/esm/index.js",
Expand Down Expand Up @@ -31,8 +31,8 @@
"@leafygreen-ui/icon-button": "^15.0.21",
"@leafygreen-ui/lib": "^13.3.0",
"@leafygreen-ui/palette": "^4.0.9",
"@leafygreen-ui/select": "^11.2.3",
"@leafygreen-ui/tokens": "^2.5.2",
"@leafygreen-ui/select": "^12.0.0",
"@leafygreen-ui/tokens": "^2.6.0",
"@leafygreen-ui/tooltip": "^11.0.3",
"@types/facepaint": "^1.2.1",
"@types/highlight.js": "^10.1.0",
Expand Down
45 changes: 45 additions & 0 deletions packages/combobox/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,50 @@
# @leafygreen-ui/combobox

## 9.0.0

### Major Changes

- c406ab85: [LG-4133](https://jira.mongodb.org/browse/LG-4133)

1. Updated styling:

- updated spacing for `'small'`, `'xsmall'`, and `'large'` size variants
- updated placeholder text color
- moved error icon from inside the input to underneath the input, alongside the error message

2. A default `errorMessage` of `'This input needs your attention'` will render below combobox when state is invalid.

3. Added a `valid` state with success icon and `successMessage` prop. A default `successMessage` of `'Success'` will render when state is valid. `successMessage` prop allows customization.

4. Disabled `Combobox` component no longer renders the `disabled` attribute and instead relies on `aria-disabled` and `readonly` attributes.

The last change is made to ensure that disabled components are still focusable to users using keyboard navigation.

For more on `aria-disabled` see the [documentation on MDN](https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Attributes/aria-disabled)

#### Migration guide

Functionally, migration should be seamless, however there may be unit/integration/e2e tests that relied on this behavior.

##### Jest/RTL

Generally, only this repo should need to test that these components have a specific attribute. We recommend updating unit tests to check that some event was or was not called.

However, there are cases where this may still need to be tested. You can replace any `expect(combobox).toBeDisabled()` with an explicit check for `expect(combobox).toHaveAttribute('aria-disabled', 'true')`.

##### Cypress

Similar to unit tests, you should generally test functionality and not implementation details. However, to test this in Cypress replace any `cy.get(combobox).should('be.disabled');` checks with `cy.get(combobox).invoke('attr', 'aria-disabled').should('eq', 'true');`

### Patch Changes

- Updated dependencies [c406ab85]
- Updated dependencies [c406ab85]
- Updated dependencies [c406ab85]
- @leafygreen-ui/[email protected]
- @leafygreen-ui/[email protected]
- @leafygreen-ui/[email protected]

## 8.1.4

### Patch Changes
Expand Down
8 changes: 4 additions & 4 deletions packages/combobox/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@leafygreen-ui/combobox",
"version": "8.1.4",
"version": "9.0.0",
"description": "leafyGreen UI Kit Combobox",
"main": "./dist/index.js",
"module": "./dist/esm/index.js",
Expand All @@ -25,16 +25,16 @@
"@leafygreen-ui/checkbox": "^13.1.0",
"@leafygreen-ui/chip": "^1.0.2",
"@leafygreen-ui/emotion": "^4.0.8",
"@leafygreen-ui/form-field": "^1.1.1",
"@leafygreen-ui/form-field": "^1.2.0",
"@leafygreen-ui/hooks": "^8.1.3",
"@leafygreen-ui/icon": "^12.0.1",
"@leafygreen-ui/icon-button": "^15.0.21",
"@leafygreen-ui/input-option": "^1.1.3",
"@leafygreen-ui/lib": "^13.3.0",
"@leafygreen-ui/palette": "^4.0.9",
"@leafygreen-ui/popover": "^11.3.1",
"@leafygreen-ui/tokens": "^2.5.2",
"@leafygreen-ui/typography": "^19.0.0",
"@leafygreen-ui/tokens": "^2.6.0",
"@leafygreen-ui/typography": "^19.1.0",
"chalk": "^4.1.2",
"lodash": "^4.17.21",
"polished": "^4.2.2"
Expand Down
17 changes: 17 additions & 0 deletions packages/date-picker/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,22 @@
# @leafygreen-ui/date-picker

## 1.1.2

### Patch Changes

- c406ab85: [LG-2930](https://jira.mongodb.org/browse/LG-2930)

- Update error message test id in `DatePicker` test specs

- Updated dependencies [c406ab85]
- Updated dependencies [c406ab85]
- Updated dependencies [c406ab85]
- Updated dependencies [c406ab85]
- @leafygreen-ui/[email protected]
- @leafygreen-ui/[email protected]
- @leafygreen-ui/[email protected]
- @leafygreen-ui/[email protected]

## 1.1.1

### Patch Changes
Expand Down
10 changes: 5 additions & 5 deletions packages/date-picker/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@leafygreen-ui/date-picker",
"version": "1.1.1",
"version": "1.1.2",
"description": "LeafyGreen UI Kit Date Picker",
"license": "Apache-2.0",
"main": "./dist/index.js",
Expand All @@ -18,16 +18,16 @@
"@leafygreen-ui/a11y": "^1.4.13",
"@leafygreen-ui/date-utils": "^0.1.2",
"@leafygreen-ui/emotion": "^4.0.8",
"@leafygreen-ui/form-field": "^1.1.1",
"@leafygreen-ui/form-field": "^1.2.0",
"@leafygreen-ui/hooks": "^8.1.3",
"@leafygreen-ui/icon": "^12.1.0",
"@leafygreen-ui/icon-button": "^15.0.21",
"@leafygreen-ui/lib": "^13.4.0",
"@leafygreen-ui/palette": "^4.0.10",
"@leafygreen-ui/popover": "^11.3.1",
"@leafygreen-ui/select": "^11.3.2",
"@leafygreen-ui/tokens": "^2.5.2",
"@leafygreen-ui/typography": "^19.0.0",
"@leafygreen-ui/select": "^12.0.0",
"@leafygreen-ui/tokens": "^2.6.0",
"@leafygreen-ui/typography": "^19.1.0",
"date-fns": "^2.30.0",
"lodash": "^4.17.21",
"polished": "^4.2.2",
Expand Down
18 changes: 18 additions & 0 deletions packages/form-field/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,23 @@
# @leafygreen-ui/form-field

## 1.2.0

### Minor Changes

- c406ab85: [LG-2930](https://jira.mongodb.org/browse/LG-2930)

- Adds and exports `FormFieldFeedback` component
- Adds and exports `DEFAULT_MESSAGES` constant
- Updates `FormField` and `FormFieldInputContainer` components to use tokens where possible
- Refactors `FormField` to use `FormFieldFeedback`

### Patch Changes

- Updated dependencies [c406ab85]
- Updated dependencies [c406ab85]
- @leafygreen-ui/[email protected]
- @leafygreen-ui/[email protected]

## 1.1.1

### Patch Changes
Expand Down
6 changes: 3 additions & 3 deletions packages/form-field/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@leafygreen-ui/form-field",
"version": "1.1.1",
"version": "1.2.0",
"description": "LeafyGreen UI Kit Form Field",
"main": "./dist/index.js",
"module": "./dist/esm/index.js",
Expand All @@ -20,8 +20,8 @@
"@leafygreen-ui/icon": "^12.1.0",
"@leafygreen-ui/lib": "^13.4.0",
"@leafygreen-ui/palette": "^4.0.10",
"@leafygreen-ui/tokens": "^2.5.2",
"@leafygreen-ui/typography": "^19.0.0"
"@leafygreen-ui/tokens": "^2.6.0",
"@leafygreen-ui/typography": "^19.1.0"
},
"peerDependencies": {
"@leafygreen-ui/leafygreen-provider": "^3.1.12"
Expand Down
8 changes: 4 additions & 4 deletions packages/modal/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
"@leafygreen-ui/lib": "^13.3.0",
"@leafygreen-ui/palette": "^4.0.9",
"@leafygreen-ui/portal": "^5.1.1",
"@leafygreen-ui/tokens": "^2.5.2",
"@leafygreen-ui/tokens": "^2.6.0",
"focus-trap": "6.9.4",
"focus-trap-react": "^9.0.2",
"polished": "^4.2.2",
Expand All @@ -38,10 +38,10 @@
},
"devDependencies": {
"@faker-js/faker": "8.0.2",
"@leafygreen-ui/select": "^11.3.2",
"@leafygreen-ui/typography": "^19.0.0",
"@leafygreen-ui/select": "^12.0.0",
"@leafygreen-ui/typography": "^19.1.0",
"@leafygreen-ui/copyable": "^8.0.25",
"@leafygreen-ui/code": "^14.3.2",
"@leafygreen-ui/code": "^14.3.3",
"@leafygreen-ui/button": "^21.2.0",
"@lg-tools/storybook-utils": "^0.1.1"
},
Expand Down
31 changes: 31 additions & 0 deletions packages/number-input/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,36 @@
# @leafygreen-ui/number-input

## 2.0.0

### Major Changes

- c406ab85: [LG-4134](https://jira.mongodb.org/browse/LG-4134)

1. Updated styling:

- updated spacing for `'small'` and `'xsmall'` size variants
- added `'large'` variant
- updated placeholder text color
- moved error icon from inside the input to underneath the input, alongside the error message

2. Added default `errorMessage` of `'This input needs your attention'`

3. Added `valid` state variant and `successMessage` prop

- `successMessage` will render a default of `'Success'` and can be customized
- `successMessage` will only render when `state=valid`

### Patch Changes

- Updated dependencies [c406ab85]
- Updated dependencies [c406ab85]
- Updated dependencies [c406ab85]
- Updated dependencies [c406ab85]
- @leafygreen-ui/[email protected]
- @leafygreen-ui/[email protected]
- @leafygreen-ui/[email protected]
- @leafygreen-ui/[email protected]

## 1.0.23

### Patch Changes
Expand Down
Loading
Loading