Skip to content

Commit e458c7a

Browse files
shaneezaTheSonOfThompbruugeygithub-actions[bot]
authored
LG-5027: Toolbar (#2809)
* add toolbar * Updates Readme (#2806) * rm create-leafygreen-app * Update README.md * lint * add keyboard focus management * fix focus hijacking * naming * updates types, fixes focus on click * Toolbar focus state * fix error * add stories * toolbar generated stories * ToolbarIconButton generated stories * update comments * add testids and add an error if trying to use ToolbarIconButton outside of Toolbar * interaction tests * WIP test harnesses * test harnesses * toolbar specs * ToolbarIconButton specs * lint * pass className to styles * README * add missing deps * use test utils in interaction tests * changesets * remove darkMode from context * Use latest version of `useBackdropClick` (#2810) * upate hooks * with changeset * revert allowProp * fix ts error * some cleanup * add ref test * use correct test * remove iconButton changes * hellllllo * fix build error * Storybook export `findStories` (#2808) * update webpack * findStories args * changeset * Update index.ts * revert to getLGConfig * Updates `lg install` [LG-5040, LG-5041] (#2807) * updates lg install script * updates meta * adds --dry option to install command * changesets * adds package set flags * cli minor * fix install pkg prebuild * adds tests * updates lint scrips * lint all_packages file on write * run lint * Update getLGConfig.ts * Update getPackagesToInstall.ts * Update getPackagesToInstall.spec.ts * fix mocks * update flags to be additive * push not concat * Update getLGConfig.spec.ts * Update package.json * adds separate files for ESSENTIALS & BASIC * --ui * readonly<> * fix tests * Update pnpm-lock.yaml * add missing lodash * adds two new icons (#2815) * constants * update README * Version Packages (#2811) Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> * build error and export const * move handle click to context * unique test ids for toolbarIconButton * move test harnesses to testing dir * aria label check * update README * Add more descriptive labels to some toolbar icons --------- Co-authored-by: Adam Thompson <[email protected]> Co-authored-by: Brooke Scarlett Yalof <[email protected]> Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
1 parent 05966e8 commit e458c7a

File tree

253 files changed

+4533
-448
lines changed

Some content is hidden

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

253 files changed

+4533
-448
lines changed

.changeset/modern-buses-give.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'@leafygreen-ui/toolbar': patch
3+
---
4+
5+
Initial pre-release of `Toolbar`

.changeset/yellow-birds-begin.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'@leafygreen-ui/icon-button': patch
3+
---
4+
5+
Updates CSS selectors for Storybook testing

README.md

Lines changed: 105 additions & 122 deletions
Large diffs are not rendered by default.

charts/chart-card/CHANGELOG.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,18 @@
11
# @lg-charts/chart-card
22

3+
## 0.2.4
4+
5+
### Patch Changes
6+
7+
- Updated dependencies [21bcd4195]
8+
- Updated dependencies [1dbfb7064]
9+
- @leafygreen-ui/hooks@8.4.1
10+
- @leafygreen-ui/icon@13.3.0
11+
- @leafygreen-ui/leafygreen-provider@4.0.7
12+
- @leafygreen-ui/emotion@4.1.1
13+
- @leafygreen-ui/icon-button@16.0.11
14+
- @leafygreen-ui/typography@20.1.8
15+
316
## 0.2.3
417

518
### Patch Changes

charts/chart-card/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@lg-charts/chart-card",
3-
"version": "0.2.3",
3+
"version": "0.2.4",
44
"description": "lg-charts ChartCard",
55
"main": "./dist/index.js",
66
"module": "./dist/esm/index.js",

charts/colors/CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,11 @@
11
# @lg-charts/colors
22

3+
## 0.2.4
4+
5+
### Patch Changes
6+
7+
- @leafygreen-ui/leafygreen-provider@4.0.7
8+
39
## 0.2.3
410

511
### Patch Changes

charts/colors/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@lg-charts/colors",
3-
"version": "0.2.3",
3+
"version": "0.2.4",
44
"description": "lg-charts colors",
55
"main": "./dist/index.js",
66
"module": "./dist/esm/index.js",

charts/core/CHANGELOG.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,16 @@
11
# @lg-charts/core
22

3+
## 0.17.1
4+
5+
### Patch Changes
6+
7+
- @lg-charts/chart-card@0.2.4
8+
- @leafygreen-ui/leafygreen-provider@4.0.7
9+
- @leafygreen-ui/emotion@4.1.1
10+
- @leafygreen-ui/typography@20.1.8
11+
- @lg-charts/colors@0.2.4
12+
- @lg-charts/series-provider@0.2.2
13+
314
## 0.17.0
415

516
### Minor Changes

charts/core/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@lg-charts/core",
3-
"version": "0.17.0",
3+
"version": "0.17.1",
44
"description": "lg-charts Core Chart Components",
55
"main": "./dist/index.js",
66
"module": "./dist/esm/index.js",

charts/drag-provider/CHANGELOG.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,13 @@
11
# @lg-charts/drag-provider
22

3+
## 0.2.4
4+
5+
### Patch Changes
6+
7+
- @lg-charts/chart-card@0.2.4
8+
- @leafygreen-ui/leafygreen-provider@4.0.7
9+
- @lg-charts/core@0.17.1
10+
311
## 0.2.3
412

513
### Patch Changes

charts/drag-provider/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@lg-charts/drag-provider",
3-
"version": "0.2.3",
3+
"version": "0.2.4",
44
"description": "lg-charts DragProvider Component",
55
"main": "./dist/index.js",
66
"module": "./dist/esm/index.js",

charts/legend/CHANGELOG.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,15 @@
11
# @lg-charts/legend
22

3+
## 0.2.3
4+
5+
### Patch Changes
6+
7+
- @leafygreen-ui/checkbox@15.2.3
8+
- @leafygreen-ui/leafygreen-provider@4.0.7
9+
- @leafygreen-ui/emotion@4.1.1
10+
- @lg-charts/colors@0.2.4
11+
- @lg-charts/series-provider@0.2.2
12+
313
## 0.2.2
414

515
### Patch Changes

charts/legend/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@lg-charts/legend",
3-
"version": "0.2.2",
3+
"version": "0.2.3",
44
"description": "lg-charts Legend",
55
"main": "./dist/index.js",
66
"module": "./dist/esm/index.js",

charts/series-provider/CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,11 @@
11
# @lg-charts/series-provider
22

3+
## 0.2.2
4+
5+
### Patch Changes
6+
7+
- @leafygreen-ui/leafygreen-provider@4.0.7
8+
39
## 0.2.1
410

511
### Patch Changes

charts/series-provider/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@lg-charts/series-provider",
3-
"version": "0.2.1",
3+
"version": "0.2.2",
44
"description": "lg-charts SeriesProvider Component",
55
"main": "./dist/index.js",
66
"module": "./dist/esm/index.js",

chat/avatar/CHANGELOG.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,13 @@
11
# @lg-chat/avatar
22

3+
## 4.0.10
4+
5+
### Patch Changes
6+
7+
- @leafygreen-ui/leafygreen-provider@4.0.7
8+
- @leafygreen-ui/emotion@4.1.1
9+
- @leafygreen-ui/avatar@2.0.9
10+
311
## 4.0.9
412

513
### Patch Changes

chat/avatar/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@lg-chat/avatar",
3-
"version": "4.0.9",
3+
"version": "4.0.10",
44
"description": "lg-chat Avatar",
55
"main": "./dist/index.js",
66
"module": "./dist/esm/index.js",

chat/chat-disclaimer/CHANGELOG.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,13 @@
11
# @lg-chat/chat-disclaimer
22

3+
## 3.0.17
4+
5+
### Patch Changes
6+
7+
- @leafygreen-ui/emotion@4.1.1
8+
- @leafygreen-ui/typography@20.1.8
9+
- @leafygreen-ui/marketing-modal@5.0.14
10+
311
## 3.0.16
412

513
### Patch Changes

chat/chat-disclaimer/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@lg-chat/chat-disclaimer",
3-
"version": "3.0.16",
3+
"version": "3.0.17",
44
"description": "LeafyGreen UI Kit Chat Disclaimer",
55
"main": "./dist/index.js",
66
"module": "./dist/esm/index.js",

chat/chat-window/CHANGELOG.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,14 @@
11
# @lg-chat/chat-window
22

3+
## 3.0.13
4+
5+
### Patch Changes
6+
7+
- @leafygreen-ui/leafygreen-provider@4.0.7
8+
- @leafygreen-ui/emotion@4.1.1
9+
- @lg-chat/title-bar@3.0.13
10+
- @lg-chat/avatar@4.0.10
11+
312
## 3.0.12
413

514
### Patch Changes

chat/chat-window/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@lg-chat/chat-window",
3-
"version": "3.0.12",
3+
"version": "3.0.13",
44
"description": "lg-chat Chat Window",
55
"main": "./dist/index.js",
66
"module": "./dist/esm/index.js",

chat/fixed-chat-window/CHANGELOG.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,18 @@
11
# @lg-chat/fixed-chat-window
22

3+
## 3.0.14
4+
5+
### Patch Changes
6+
7+
- Updated dependencies [1dbfb7064]
8+
- @leafygreen-ui/icon@13.3.0
9+
- @leafygreen-ui/leafygreen-provider@4.0.7
10+
- @leafygreen-ui/popover@13.0.10
11+
- @leafygreen-ui/emotion@4.1.1
12+
- @lg-chat/chat-window@3.0.13
13+
- @lg-chat/title-bar@3.0.13
14+
- @leafygreen-ui/typography@20.1.8
15+
316
## 3.0.13
417

518
### Patch Changes

chat/fixed-chat-window/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@lg-chat/fixed-chat-window",
3-
"version": "3.0.13",
3+
"version": "3.0.14",
44
"description": "LeafyGreen UI Kit Fixed Chat Window",
55
"main": "./dist/index.js",
66
"module": "./dist/esm/index.js",

chat/input-bar/CHANGELOG.md

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,24 @@
11
# @lg-chat/input-bar
22

3+
## 7.0.13
4+
5+
### Patch Changes
6+
7+
- 21bcd4195: Use latest version of `useBackdropClick` hook
8+
- Updated dependencies [21bcd4195]
9+
- Updated dependencies [21bcd4195]
10+
- Updated dependencies [1dbfb7064]
11+
- @leafygreen-ui/hooks@8.4.1
12+
- @leafygreen-ui/search-input@5.0.12
13+
- @leafygreen-ui/icon@13.3.0
14+
- @leafygreen-ui/leafygreen-provider@4.0.7
15+
- @leafygreen-ui/popover@13.0.10
16+
- @leafygreen-ui/emotion@4.1.1
17+
- @leafygreen-ui/button@23.1.6
18+
- @leafygreen-ui/input-option@3.0.11
19+
- @leafygreen-ui/typography@20.1.8
20+
- @leafygreen-ui/badge@9.0.9
21+
322
## 7.0.12
423

524
### Patch Changes

chat/input-bar/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@lg-chat/input-bar",
3-
"version": "7.0.12",
3+
"version": "7.0.13",
44
"description": "lg-chat Input Bar",
55
"main": "./dist/index.js",
66
"module": "./dist/esm/index.js",

chat/input-bar/src/InputBar/InputBar.tsx

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -340,11 +340,9 @@ export const InputBar = forwardRef<HTMLFormElement, InputBarProps>(
340340
};
341341

342342
useAutoScroll(highlightedElementRef, menuRef, 12);
343-
useBackdropClick(
344-
handleBackdropClick,
345-
[focusContainerRef, menuRef],
346-
isOpen && withTypeAhead,
347-
);
343+
useBackdropClick(handleBackdropClick, [focusContainerRef, menuRef], {
344+
enabled: isOpen && withTypeAhead,
345+
});
348346

349347
useEventListener(
350348
'keydown',

chat/lg-markdown/CHANGELOG.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,15 @@
11
# @lg-chat/lg-markdown
22

3+
## 3.0.14
4+
5+
### Patch Changes
6+
7+
- Updated dependencies [21bcd4195]
8+
- @leafygreen-ui/code@18.0.3
9+
- @leafygreen-ui/leafygreen-provider@4.0.7
10+
- @leafygreen-ui/emotion@4.1.1
11+
- @leafygreen-ui/typography@20.1.8
12+
313
## 3.0.13
414

515
### Patch Changes

chat/lg-markdown/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@lg-chat/lg-markdown",
3-
"version": "3.0.13",
3+
"version": "3.0.14",
44
"description": "lg-chat LGMarkdown",
55
"main": "./dist/index.js",
66
"module": "./dist/esm/index.js",

chat/message-feed/CHANGELOG.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,18 @@
11
# @lg-chat/message-feed
22

3+
## 4.1.12
4+
5+
### Patch Changes
6+
7+
- Updated dependencies [1dbfb7064]
8+
- @leafygreen-ui/icon@13.3.0
9+
- @lg-chat/message-rating@3.0.11
10+
- @leafygreen-ui/leafygreen-provider@4.0.7
11+
- @leafygreen-ui/emotion@4.1.1
12+
- @leafygreen-ui/button@23.1.6
13+
- @lg-chat/message@5.0.14
14+
- @lg-chat/avatar@4.0.10
15+
316
## 4.1.11
417

518
### Patch Changes

chat/message-feed/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@lg-chat/message-feed",
3-
"version": "4.1.11",
3+
"version": "4.1.12",
44
"description": "lg-chat Message Feed",
55
"main": "./dist/index.js",
66
"module": "./dist/esm/index.js",

chat/message-feedback/CHANGELOG.md

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,21 @@
11
# @lg-chat/message-feedback
22

3+
## 4.0.8
4+
5+
### Patch Changes
6+
7+
- Updated dependencies [21bcd4195]
8+
- Updated dependencies [1dbfb7064]
9+
- @leafygreen-ui/hooks@8.4.1
10+
- @leafygreen-ui/icon@13.3.0
11+
- @leafygreen-ui/leafygreen-provider@4.0.7
12+
- @leafygreen-ui/popover@13.0.10
13+
- @leafygreen-ui/text-area@10.0.11
14+
- @leafygreen-ui/emotion@4.1.1
15+
- @leafygreen-ui/button@23.1.6
16+
- @leafygreen-ui/icon-button@16.0.11
17+
- @leafygreen-ui/typography@20.1.8
18+
319
## 4.0.7
420

521
### Patch Changes

chat/message-feedback/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@lg-chat/message-feedback",
3-
"version": "4.0.7",
3+
"version": "4.0.8",
44
"description": "LeafyGreen UI Kit Message Feedback",
55
"main": "./dist/index.js",
66
"module": "./dist/esm/index.js",

chat/message-prompts/CHANGELOG.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,13 @@
11
# @lg-chat/message-prompts
22

3+
## 3.0.11
4+
5+
### Patch Changes
6+
7+
- @leafygreen-ui/leafygreen-provider@4.0.7
8+
- @leafygreen-ui/emotion@4.1.1
9+
- @leafygreen-ui/typography@20.1.8
10+
311
## 3.0.10
412

513
### Patch Changes

chat/message-prompts/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@lg-chat/message-prompts",
3-
"version": "3.0.10",
3+
"version": "3.0.11",
44
"description": "LeafyGreen UI Kit Message Prompts",
55
"main": "./dist/index.js",
66
"module": "./dist/esm/index.js",

0 commit comments

Comments
 (0)