Skip to content

Commit a9170bd

Browse files
Merge branch 'main' into refactor-chart
2 parents 086256e + 93ae067 commit a9170bd

File tree

283 files changed

+5264
-1321
lines changed

Some content is hidden

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

283 files changed

+5264
-1321
lines changed

.changeset/eslint-plugin-rtl.md

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

.changeset/eslint-plugin.md

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

.changeset/hungry-women-smell.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'@lg-tools/storybook-utils': patch
3+
---
4+
5+
Updates Storybook react & core versions

.changeset/loading-spinner.md

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
---
2+
'@leafygreen-ui/loading-indicator': major
3+
---
4+
5+
[LG-4735](https://jira.mongodb.org/browse/LG-4735)
6+
7+
The `Spinner` component has been re-written as a lightweight SVG-based spinning loading indicator component, to eliminate the use of Lottie player (a heavy run-time animation library).
8+
Importing `Spinner` component from the package root is not recommended, since this will also bundle the heavy `PageLoader` component, which still uses Lottie player.
9+
10+
For simple loading spinners, prefer importing the spinner directly from `@leafygreen-ui/loading-indicator/spinner`
11+
12+
Prop changes:
13+
- Replaces `displayOption` (and `sizeOverride`) prop with a single `size` prop. The size mapping has also been updated to reflect the Figma spec.
14+
```
15+
Size.XSmall: 16px;
16+
Size.Small: 24px;
17+
Size.Default: 48px;
18+
Size.Large: 64px;
19+
```
20+
21+
- Removes `baseFontSize` prop
22+
- Removes the explicit `description` prop.
23+
```tsx
24+
<div>
25+
<Spinner size="default" />
26+
<Description>Loading...</Description>
27+
</div>
28+
```

.changeset/moody-sites-relate.md

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

.changeset/new-dryers-invite.md

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

.changeset/peer-deps-range.md

Lines changed: 82 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,82 @@
1+
---
2+
'@leafygreen-ui/confirmation-modal': patch
3+
'@leafygreen-ui/gallery-indicator': patch
4+
'@leafygreen-ui/inline-definition': patch
5+
'@leafygreen-ui/loading-indicator': patch
6+
'@leafygreen-ui/segmented-control': patch
7+
'@leafygreen-ui/vertical-stepper': patch
8+
'@leafygreen-ui/expandable-card': patch
9+
'@leafygreen-ui/marketing-modal': patch
10+
'@leafygreen-ui/radio-box-group': patch
11+
'@leafygreen-ui/skeleton-loader': patch
12+
'@leafygreen-ui/context-drawer': patch
13+
'@leafygreen-ui/password-input': patch
14+
'@lg-charts/series-provider': patch
15+
'@lg-chat/fixed-chat-window': patch
16+
'@leafygreen-ui/info-sprinkle': patch
17+
'@lg-chat/message-feedback': patch
18+
'@leafygreen-ui/input-option': patch
19+
'@leafygreen-ui/number-input': patch
20+
'@leafygreen-ui/ordered-list': patch
21+
'@leafygreen-ui/preview-card': patch
22+
'@leafygreen-ui/progress-bar': patch
23+
'@leafygreen-ui/search-input': patch
24+
'@leafygreen-ui/split-button': patch
25+
'@lg-charts/drag-provider': patch
26+
'@lg-chat/message-prompts': patch
27+
'@leafygreen-ui/code-editor': patch
28+
'@leafygreen-ui/date-picker': patch
29+
'@leafygreen-ui/descendants': patch
30+
'@leafygreen-ui/empty-state': patch
31+
'@leafygreen-ui/form-footer': patch
32+
'@leafygreen-ui/icon-button': patch
33+
'@leafygreen-ui/radio-group': patch
34+
'@leafygreen-ui/section-nav': patch
35+
'@lg-chat/message-rating': patch
36+
'@leafygreen-ui/form-field': patch
37+
'@leafygreen-ui/pagination': patch
38+
'@leafygreen-ui/text-input': patch
39+
'@leafygreen-ui/typography': patch
40+
'@leafygreen-ui/guide-cue': patch
41+
'@leafygreen-ui/text-area': patch
42+
'@lg-charts/chart-card': patch
43+
'@lg-chat/message-feed': patch
44+
'@leafygreen-ui/checkbox': patch
45+
'@leafygreen-ui/combobox': patch
46+
'@leafygreen-ui/copyable': patch
47+
'@leafygreen-ui/pipeline': patch
48+
'@leafygreen-ui/side-nav': patch
49+
'@lg-chat/chat-window': patch
50+
'@lg-chat/lg-markdown': patch
51+
'@lg-chat/suggestions': patch
52+
'@leafygreen-ui/callout': patch
53+
'@leafygreen-ui/popover': patch
54+
'@leafygreen-ui/stepper': patch
55+
'@leafygreen-ui/toolbar': patch
56+
'@leafygreen-ui/tooltip': patch
57+
'@lg-chat/rich-links': patch
58+
'@leafygreen-ui/avatar': patch
59+
'@leafygreen-ui/banner': patch
60+
'@leafygreen-ui/button': patch
61+
'@leafygreen-ui/drawer': patch
62+
'@leafygreen-ui/select': patch
63+
'@leafygreen-ui/toggle': patch
64+
'@lg-chat/input-bar': patch
65+
'@lg-chat/title-bar': patch
66+
'@leafygreen-ui/badge': patch
67+
'@leafygreen-ui/modal': patch
68+
'@leafygreen-ui/table': patch
69+
'@leafygreen-ui/toast': patch
70+
'@lg-charts/colors': patch
71+
'@lg-charts/legend': patch
72+
'@leafygreen-ui/card': patch
73+
'@leafygreen-ui/chip': patch
74+
'@leafygreen-ui/code': patch
75+
'@leafygreen-ui/menu': patch
76+
'@leafygreen-ui/tabs': patch
77+
'@lg-chat/message': patch
78+
'@lg-charts/core': patch
79+
'@lg-chat/avatar': patch
80+
---
81+
82+
Widens the range of `@leafygreen-ui/leafygreen-provider` peer dependency to `>=3.2.0`

.changeset/pink-steaks-give.md

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

.changeset/six-crews-melt.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'@lg-tools/storybook-addon': patch
3+
---
4+
5+
Updates Storybook dependency versions. Removes redundant "node" export definition

.changeset/yummy-glasses-switch.md

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

0 commit comments

Comments
 (0)