-
Notifications
You must be signed in to change notification settings - Fork 77
[LG-5830] feat(collection-toolbar): Collection Toolbar component #3419
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
Merged
+4,340
−1
Merged
Changes from 17 commits
Commits
Show all changes
18 commits
Select commit
Hold shift + click to select a range
0385dff
[LG-5830] feat(collection-toolbar): Collection Toolbar component
adamrasheed 9675f4f
fixed linting, updated story, updated tests, udpated imports
adamrasheed d8e1163
[LG-844] feat(collection-toolbar): CollectionToolbar Title SubCompone…
adamrasheed 4827176
Merge branch 'main' into ar/LG-5830-collection-toolbar
adamrasheed 6e49c46
Merge branch 'main' into ar/LG-5830-collection-toolbar
adamrasheed c02e30d
[LG-5840] feat(collection-toolbar): add Actions compound component wi…
adamrasheed 8009c16
Merge branch 'main' into ar/LG-5830-collection-toolbar
adamrasheed 1ede9ae
Merge branch 'main' into ar/LG-5830-collection-toolbar
adamrasheed 31cc01c
Merge branch 'main' into ar/LG-5830-collection-toolbar
adamrasheed 3e8526c
[LG-5838] feat(collection-toolbar): SearchInput Component (#3469)
adamrasheed 80402ca
Merge branch 'main' into ar/LG-5830-collection-toolbar
adamrasheed 0f527bb
[LG-5841] feat(collection-toolbar): Filters and Subcomponents (#3477)
adamrasheed 4c5c74a
Merge branch 'main' into ar/LG-5830-collection-toolbar
adamrasheed 9a2f93c
[LG-5937] feat(collection-toolbar): Refactor Compound Components (#3489)
adamrasheed 3c787de
[LG-5845] feat(collection-toolbar): Compact & Collapsible Variant Sty…
adamrasheed b99fa57
Merge branch 'main' into ar/LG-5830-collection-toolbar
adamrasheed b47f8d0
updated changeset
adamrasheed a7a4095
updated changeset
adamrasheed File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,5 @@ | ||
| --- | ||
| '@leafygreen-ui/collection-toolbar': minor | ||
| --- | ||
|
|
||
| Initial release of `CollectionToolbar`: a compound component for collection/list toolbars with optional Title, SearchInput, Filters (Select, Combobox, DatePicker, NumberInput, SegmentedControl, TextInput), and Actions (buttons, menu, pagination). Supports default, compact, and collapsible variants and default/small sizes. | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,5 @@ | ||
| --- | ||
| '@leafygreen-ui/combobox': minor | ||
| --- | ||
|
|
||
| Exported out InternalComboboxOptionProps from ComboBoxOption |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,25 @@ | ||
| # Collection Toolbar | ||
|
|
||
|  | ||
|
|
||
| #### [View on MongoDB.design](https://www.mongodb.design/component/collection-toolbar/live-example/) | ||
|
|
||
| ## Installation | ||
|
|
||
| ### PNPM | ||
|
|
||
| ```shell | ||
| pnpm add @leafygreen-ui/collection-toolbar | ||
| ``` | ||
|
|
||
| ### Yarn | ||
|
|
||
| ```shell | ||
| yarn add @leafygreen-ui/collection-toolbar | ||
| ``` | ||
|
|
||
| ### NPM | ||
|
|
||
| ```shell | ||
| npm install @leafygreen-ui/collection-toolbar | ||
| ``` |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,64 @@ | ||
|
|
||
| { | ||
| "name": "@leafygreen-ui/collection-toolbar", | ||
| "version": "0.0.1", | ||
| "description": "LeafyGreen UI Kit Collection Toolbar", | ||
| "main": "./dist/umd/index.js", | ||
| "module": "./dist/esm/index.js", | ||
| "types": "./dist/types/index.d.ts", | ||
| "license": "Apache-2.0", | ||
| "exports": { | ||
| ".": { | ||
| "require": "./dist/umd/index.js", | ||
| "import": "./dist/esm/index.js", | ||
| "types": "./dist/types/index.d.ts" | ||
| }, | ||
| "./testing": { | ||
| "require": "./dist/umd/testing/index.js", | ||
| "import": "./dist/esm/testing/index.js", | ||
| "types": "./dist/types/testing/index.d.ts" | ||
| } | ||
| }, | ||
| "scripts": { | ||
| "build": "lg-build bundle", | ||
| "tsc": "lg-build tsc", | ||
| "docs": "lg-build docs" | ||
| }, | ||
| "publishConfig": { | ||
| "access": "public" | ||
| }, | ||
| "dependencies": { | ||
| "@leafygreen-ui/a11y": "workspace:^", | ||
| "@leafygreen-ui/button": "workspace:^", | ||
| "@leafygreen-ui/combobox": "workspace:^", | ||
| "@leafygreen-ui/compound-component": "workspace:^", | ||
| "@leafygreen-ui/date-picker": "workspace:^", | ||
| "@leafygreen-ui/emotion": "workspace:^", | ||
| "@leafygreen-ui/lib": "workspace:^", | ||
| "@leafygreen-ui/hooks": "workspace:^", | ||
| "@leafygreen-ui/icon": "workspace:^", | ||
| "@leafygreen-ui/icon-button": "workspace:^", | ||
| "@leafygreen-ui/menu": "workspace:^", | ||
| "@leafygreen-ui/number-input": "workspace:^", | ||
| "@leafygreen-ui/pagination": "workspace:^", | ||
| "@leafygreen-ui/search-input": "workspace:^", | ||
| "@leafygreen-ui/segmented-control": "workspace:^", | ||
| "@leafygreen-ui/select": "workspace:^", | ||
| "@leafygreen-ui/text-input": "workspace:^", | ||
| "@leafygreen-ui/tokens": "workspace:^", | ||
| "@leafygreen-ui/tooltip": "workspace:^", | ||
| "@leafygreen-ui/typography": "workspace:^", | ||
| "@lg-tools/test-harnesses": "workspace:^" | ||
| }, | ||
| "peerDependencies": { | ||
| "@leafygreen-ui/leafygreen-provider": "workspace:^5.0.0 || ^4.0.0 || ^3.2.0" | ||
| }, | ||
| "homepage": "https://github.com/mongodb/leafygreen-ui/tree/main/packages/collection-toolbar", | ||
| "repository": { | ||
| "type": "git", | ||
| "url": "https://github.com/mongodb/leafygreen-ui" | ||
| }, | ||
| "bugs": { | ||
| "url": "https://jira.mongodb.org/projects/LG/summary" | ||
| } | ||
| } |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.