Skip to content

Commit f7a0d2a

Browse files
committed
Merge branch 'main' into adam/date-picker-lg-3152
2 parents 9aee892 + a579f5e commit f7a0d2a

File tree

136 files changed

+791
-316
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

136 files changed

+791
-316
lines changed

STYLEGUIDE.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ export const someConstant = {
5555
optionTwo = 'option 2',
5656
} as const;
5757

58-
export type someConstant = typeof someConstant[keyof typeof someConstant];
58+
export type someConstant = (typeof someConstant)[keyof typeof someConstant];
5959
```
6060

6161
#### Avoid

packages/a11y/CHANGELOG.md

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

3+
## 1.4.9
4+
5+
### Patch Changes
6+
7+
- Updated dependencies [fd907503]
8+
- @leafygreen-ui/hooks@8.0.0
9+
310
## 1.4.8
411

512
### Patch Changes

packages/a11y/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@leafygreen-ui/a11y",
3-
"version": "1.4.8",
3+
"version": "1.4.9",
44
"description": "leafyGreen UI Kit A11y",
55
"main": "./dist/index.js",
66
"module": "./dist/esm/index.js",
@@ -22,7 +22,7 @@
2222
"access": "public"
2323
},
2424
"dependencies": {
25-
"@leafygreen-ui/hooks": "^7.7.8",
25+
"@leafygreen-ui/hooks": "^8.0.0",
2626
"@leafygreen-ui/lib": "^11.0.0",
2727
"@leafygreen-ui/emotion": "^4.0.7"
2828
},

packages/badge/src/Badge/types.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,4 +28,4 @@ export const Variant = {
2828
Green: 'green',
2929
} as const;
3030

31-
export type Variant = typeof Variant[keyof typeof Variant];
31+
export type Variant = (typeof Variant)[keyof typeof Variant];

packages/banner/src/Banner/types.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ export const Variant = {
88
Success: 'success',
99
} as const;
1010

11-
export type Variant = typeof Variant[keyof typeof Variant];
11+
export type Variant = (typeof Variant)[keyof typeof Variant];
1212

1313
export interface BannerProps
1414
extends HTMLElementProps<'div', never>,

packages/button/src/types.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ export const Variant = {
1111
BaseGreen: 'baseGreen',
1212
} as const;
1313

14-
export type Variant = typeof Variant[keyof typeof Variant];
14+
export type Variant = (typeof Variant)[keyof typeof Variant];
1515

1616
/**
1717
* Size variants
@@ -25,15 +25,15 @@ export const Size = {
2525
Large: 'large',
2626
};
2727

28-
export type Size = typeof Size[keyof typeof Size];
28+
export type Size = (typeof Size)[keyof typeof Size];
2929

3030
// TODO: Remove in next major release
3131
export const FontSize = {
3232
Body1: 13,
3333
Body2: 16,
3434
} as const;
3535

36-
export type FontSize = typeof FontSize[keyof typeof FontSize];
36+
export type FontSize = (typeof FontSize)[keyof typeof FontSize];
3737

3838
export interface ButtonProps {
3939
// Would prefer to use Pick<> to extract these properties, but they would not be correctly imported into Storybook otherwise.

packages/callout/src/Callout/types.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ export const Variant = {
99
Example: 'example',
1010
} as const;
1111

12-
export type Variant = typeof Variant[keyof typeof Variant];
12+
export type Variant = (typeof Variant)[keyof typeof Variant];
1313

1414
export interface CalloutProps extends HTMLElementProps<'div'> {
1515
/**

packages/card/src/Card/types.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ export const ContentStyle = {
55
Clickable: 'clickable',
66
} as const;
77

8-
export type ContentStyle = typeof ContentStyle[keyof typeof ContentStyle];
8+
export type ContentStyle = (typeof ContentStyle)[keyof typeof ContentStyle];
99

1010
export interface CardProps extends DarkModeProps, HTMLElementProps<'div'> {
1111
/**

packages/checkbox/CHANGELOG.md

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

3+
## 12.0.17
4+
5+
### Patch Changes
6+
7+
- Updated dependencies [3fe03b50]
8+
- Updated dependencies [fd907503]
9+
- @leafygreen-ui/tokens@2.2.0
10+
- @leafygreen-ui/hooks@8.0.0
11+
- @leafygreen-ui/a11y@1.4.9
12+
- @leafygreen-ui/leafygreen-provider@3.1.8
13+
314
## 12.0.16
415

516
### Patch Changes

packages/checkbox/package.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@leafygreen-ui/checkbox",
3-
"version": "12.0.16",
3+
"version": "12.0.17",
44
"description": "LeafyGreen UI Kit Checkbox",
55
"main": "./dist/index.js",
66
"module": "./dist/esm/index.js",
@@ -22,17 +22,17 @@
2222
"access": "public"
2323
},
2424
"dependencies": {
25-
"@leafygreen-ui/a11y": "^1.4.8",
25+
"@leafygreen-ui/a11y": "^1.4.9",
2626
"@leafygreen-ui/emotion": "^4.0.7",
27-
"@leafygreen-ui/hooks": "^7.7.8",
27+
"@leafygreen-ui/hooks": "^8.0.0",
2828
"@leafygreen-ui/lib": "^11.0.0",
2929
"@leafygreen-ui/palette": "^4.0.7",
30-
"@leafygreen-ui/tokens": "^2.1.4",
30+
"@leafygreen-ui/tokens": "^2.2.0",
3131
"@leafygreen-ui/typography": "^16.5.5",
3232
"react-transition-group": "^4.4.5"
3333
},
3434
"peerDependencies": {
35-
"@leafygreen-ui/leafygreen-provider": "^3.1.7"
35+
"@leafygreen-ui/leafygreen-provider": "^3.1.8"
3636
},
3737
"gitHead": "dd71a2d404218ccec2e657df9c0263dc1c15b9e0",
3838
"homepage": "https://github.com/mongodb/leafygreen-ui/tree/main/packages/checkbox",

0 commit comments

Comments
 (0)