Skip to content

Commit

Permalink
Merge branch 'main' into adam/menu-refactor-LG-4120
Browse files Browse the repository at this point in the history
  • Loading branch information
TheSonOfThomp committed Jun 10, 2024
2 parents 03babc2 + df0d6fa commit 84d4f9c
Show file tree
Hide file tree
Showing 21 changed files with 67 additions and 32 deletions.
5 changes: 5 additions & 0 deletions .changeset/clever-squids-bake.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@leafygreen-ui/icon': patch
---

Adds args to Icon meta for .design
5 changes: 5 additions & 0 deletions .changeset/empty-carrots-sing.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@leafygreen-ui/typography': patch
---

Updates `line-height` of H1 component from 62 to 64px to align better with our grid
5 changes: 0 additions & 5 deletions .changeset/fresh-beans-rush.md

This file was deleted.

7 changes: 0 additions & 7 deletions .changeset/strange-hounds-change.md

This file was deleted.

6 changes: 6 additions & 0 deletions chat/message/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# @lg-chat/message

## 4.2.1

### Patch Changes

- e5a13a22b: Fixes an import issue with the `links` prop implementation

## 4.2.0

### Minor Changes
Expand Down
2 changes: 1 addition & 1 deletion chat/message/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@lg-chat/message",
"version": "4.2.0",
"version": "4.2.1",
"description": "lg-chat Message",
"main": "./dist/index.js",
"module": "./dist/esm/index.js",
Expand Down
4 changes: 2 additions & 2 deletions packages/code/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
"@leafygreen-ui/button": "^21.1.0",
"@leafygreen-ui/emotion": "^4.0.8",
"@leafygreen-ui/hooks": "^8.1.3",
"@leafygreen-ui/icon": "^12.0.1",
"@leafygreen-ui/icon": "^12.5.1",
"@leafygreen-ui/icon-button": "^15.0.21",
"@leafygreen-ui/lib": "^13.3.0",
"@leafygreen-ui/palette": "^4.0.9",
Expand All @@ -44,7 +44,7 @@
"polished": "^4.2.2"
},
"devDependencies": {
"@leafygreen-ui/testing-lib": "^0.4.2",
"@leafygreen-ui/testing-lib": "^0.5.0",
"@lg-tools/storybook-utils": "^0.1.0"
},
"peerDependencies": {
Expand Down
4 changes: 2 additions & 2 deletions packages/combobox/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
"@leafygreen-ui/emotion": "^4.0.8",
"@leafygreen-ui/form-field": "^1.2.0",
"@leafygreen-ui/hooks": "^8.1.3",
"@leafygreen-ui/icon": "^12.5.0",
"@leafygreen-ui/icon": "^12.5.1",
"@leafygreen-ui/icon-button": "^15.0.21",
"@leafygreen-ui/input-option": "^1.1.3",
"@leafygreen-ui/lib": "^13.5.0",
Expand All @@ -44,7 +44,7 @@
},
"devDependencies": {
"@leafygreen-ui/button": "^21.2.0",
"@leafygreen-ui/testing-lib": "^0.4.2",
"@leafygreen-ui/testing-lib": "^0.5.0",
"@lg-tools/storybook-utils": "^0.1.1"
},
"homepage": "https://github.com/mongodb/leafygreen-ui/tree/main/packages/combobox",
Expand Down
4 changes: 2 additions & 2 deletions packages/copyable/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
"@leafygreen-ui/button": "^21.2.0",
"@leafygreen-ui/emotion": "^4.0.8",
"@leafygreen-ui/hooks": "^8.1.3",
"@leafygreen-ui/icon": "^12.0.1",
"@leafygreen-ui/icon": "^12.5.1",
"@leafygreen-ui/lib": "^13.3.0",
"@leafygreen-ui/palette": "^4.0.9",
"@leafygreen-ui/tokens": "^2.5.2",
Expand All @@ -46,7 +46,7 @@
"url": "https://jira.mongodb.org/projects/PD/summary"
},
"devDependencies": {
"@leafygreen-ui/testing-lib": "^0.4.2",
"@leafygreen-ui/testing-lib": "^0.5.0",
"@lg-tools/storybook-utils": "^0.1.1"
}
}
4 changes: 2 additions & 2 deletions packages/date-picker/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
"@leafygreen-ui/emotion": "^4.0.8",
"@leafygreen-ui/form-field": "^1.2.2",
"@leafygreen-ui/hooks": "^8.1.3",
"@leafygreen-ui/icon": "^12.5.0",
"@leafygreen-ui/icon": "^12.5.1",
"@leafygreen-ui/icon-button": "^15.0.21",
"@leafygreen-ui/lib": "^13.5.0",
"@leafygreen-ui/palette": "^4.0.10",
Expand All @@ -40,7 +40,7 @@
"@jest/globals": "^29.7.0",
"@leafygreen-ui/button": "^21.2.1",
"@leafygreen-ui/modal": "^16.0.8",
"@leafygreen-ui/testing-lib": "^0.4.2",
"@leafygreen-ui/testing-lib": "^0.5.0",
"mockdate": "^3.0.5",
"@lg-tools/storybook-utils": "^0.1.1"
},
Expand Down
6 changes: 6 additions & 0 deletions packages/icon/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# @leafygreen-ui/icon

## 12.5.1

### Patch Changes

- 95093066c: Rename `AllIcons` to `LiveExample` for .design

## 12.5.0

### Minor Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/icon/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@leafygreen-ui/icon",
"version": "12.5.0",
"version": "12.5.1",
"description": "LeafyGreen UI Kit Icons",
"main": "./dist/index.js",
"module": "./dist/esm/index.js",
Expand Down
8 changes: 6 additions & 2 deletions packages/icon/src/Icon.stories.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,15 @@ const meta: StoryMetaType<typeof Icon> = {
title: 'Components/Icon',
component: Icon,
parameters: {
default: 'AllIcons',
default: 'LiveExample',
controls: {
exclude: [...storybookExcludedControlParams, 'title', 'data-testid'],
},
},
args: {
fill: 'black',
size: Size.Default,
},
argTypes: {
size: {
control: 'select',
Expand Down Expand Up @@ -76,7 +80,7 @@ Single.argTypes = {
};
Single.parameters = { chromatic: { disableSnapshot: true } };

export const AllIcons: StoryFn<IconProps> = (
export const LiveExample: StoryFn<IconProps> = (
args: Omit<IconProps, 'glyph'>,
) => (
<div
Expand Down
4 changes: 2 additions & 2 deletions packages/select/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
"@leafygreen-ui/emotion": "^4.0.8",
"@leafygreen-ui/form-field": "^1.2.0",
"@leafygreen-ui/hooks": "^8.1.3",
"@leafygreen-ui/icon": "^12.5.0",
"@leafygreen-ui/icon": "^12.5.1",
"@leafygreen-ui/input-option": "^1.1.3",
"@leafygreen-ui/lib": "^13.5.0",
"@leafygreen-ui/palette": "^4.0.10",
Expand All @@ -51,7 +51,7 @@
"url": "https://jira.mongodb.org/projects/PD/summary"
},
"devDependencies": {
"@leafygreen-ui/testing-lib": "^0.4.2",
"@leafygreen-ui/testing-lib": "^0.5.0",
"@lg-tools/storybook-utils": "^0.1.1"
}
}
8 changes: 8 additions & 0 deletions packages/testing-lib/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
# @leafygreen-ui/testing-lib

## 0.5.0

### Minor Changes

- ed9bead67: Creates a `waitForTransition` test utility. Fires the `transitionend` event on a given element to ensure event handlers are called after CSS transitions complete.

This is useful for testing `onEntered` or `onExited` callbacks on `Transition` or `Popover` elements.

## 0.4.2

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/testing-lib/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@leafygreen-ui/testing-lib",
"version": "0.4.2",
"version": "0.5.0",
"description": "leafyGreen UI Kit Internal Testing Library",
"main": "./dist/index.js",
"module": "./dist/esm/index.js",
Expand Down
2 changes: 1 addition & 1 deletion packages/typography/src/H1/H1.styles.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import { fontFamilies, fontWeights } from '@leafygreen-ui/tokens';
export const h1Styles = css`
font-weight: ${fontWeights.regular};
font-size: 48px;
line-height: 62px;
line-height: 64px;
font-family: ${fontFamilies.serif};
`;

Expand Down
6 changes: 6 additions & 0 deletions tools/cli/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# @lg-tools/cli

## 0.5.13

### Patch Changes

- @lg-tools/test@0.4.7

## 0.5.12

### Patch Changes
Expand Down
4 changes: 2 additions & 2 deletions tools/cli/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@lg-tools/cli",
"version": "0.5.12",
"version": "0.5.13",
"description": "Command Line tools for LeafyGreen",
"license": "Apache-2.0",
"main": "./dist/index.js",
Expand All @@ -23,7 +23,7 @@
"@lg-tools/link": "0.2.3",
"@lg-tools/lint": "0.2.2",
"@lg-tools/slackbot": "0.2.6",
"@lg-tools/test": "0.4.6",
"@lg-tools/test": "0.4.7",
"@lg-tools/update": "0.1.8",
"@lg-tools/validate": "0.1.10",
"commander": "^11.0.0",
Expand Down
7 changes: 7 additions & 0 deletions tools/test/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
# @lg-tools/test

## 0.4.7

### Patch Changes

- Updated dependencies [ed9bead67]
- @leafygreen-ui/testing-lib@0.5.0

## 0.4.6

### Patch Changes
Expand Down
4 changes: 2 additions & 2 deletions tools/test/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@lg-tools/test",
"version": "0.4.6",
"version": "0.4.7",
"description": "Jest setup & config for LeafyGreen repositories",
"license": "Apache-2.0",
"main": "dist/index.js",
Expand All @@ -17,7 +17,7 @@
"@emotion/css": "11.9.0",
"@emotion/react": "11.11.1",
"@emotion/server": "11.11.0",
"@leafygreen-ui/testing-lib": "^0.4.2",
"@leafygreen-ui/testing-lib": "^0.5.0",
"@lg-tools/build": "0.5.1",
"@lg-tools/meta": "0.3.3",
"@testing-library/dom": "9.3.1",
Expand Down

0 comments on commit 84d4f9c

Please sign in to comment.