-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Add generic Chips component * Changeset * Addres comments, split out Chip * Fix headers
- Loading branch information
Showing
36 changed files
with
1,368 additions
and
0 deletions.
There are no files selected for viewing
This file contains 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,3 @@ | ||
releases: | ||
"@essex/components": minor | ||
essex-toolkit-stories: patch |
This file contains 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,11 @@ | ||
<!-- Do not edit this file. It is automatically generated by API Documenter. --> | ||
|
||
[Home](./index.md) > [@essex/components](./components.md) > [Chip](./components.chip.md) | ||
|
||
## Chip variable | ||
|
||
<b>Signature:</b> | ||
|
||
```typescript | ||
Chip: React.FC<ChipItemProps> | ||
``` |
11 changes: 11 additions & 0 deletions
11
packages/components/docs/markdown/components.chipitem.canclose.md
This file contains 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,11 @@ | ||
<!-- Do not edit this file. It is automatically generated by API Documenter. --> | ||
|
||
[Home](./index.md) > [@essex/components](./components.md) > [ChipItem](./components.chipitem.md) > [canClose](./components.chipitem.canclose.md) | ||
|
||
## ChipItem.canClose property | ||
|
||
<b>Signature:</b> | ||
|
||
```typescript | ||
canClose?: boolean; | ||
``` |
11 changes: 11 additions & 0 deletions
11
packages/components/docs/markdown/components.chipitem.iconname.md
This file contains 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,11 @@ | ||
<!-- Do not edit this file. It is automatically generated by API Documenter. --> | ||
|
||
[Home](./index.md) > [@essex/components](./components.md) > [ChipItem](./components.chipitem.md) > [iconName](./components.chipitem.iconname.md) | ||
|
||
## ChipItem.iconName property | ||
|
||
<b>Signature:</b> | ||
|
||
```typescript | ||
iconName?: string; | ||
``` |
11 changes: 11 additions & 0 deletions
11
packages/components/docs/markdown/components.chipitem.key.md
This file contains 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,11 @@ | ||
<!-- Do not edit this file. It is automatically generated by API Documenter. --> | ||
|
||
[Home](./index.md) > [@essex/components](./components.md) > [ChipItem](./components.chipitem.md) > [key](./components.chipitem.key.md) | ||
|
||
## ChipItem.key property | ||
|
||
<b>Signature:</b> | ||
|
||
```typescript | ||
key: string; | ||
``` |
This file contains 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,21 @@ | ||
<!-- Do not edit this file. It is automatically generated by API Documenter. --> | ||
|
||
[Home](./index.md) > [@essex/components](./components.md) > [ChipItem](./components.chipitem.md) | ||
|
||
## ChipItem interface | ||
|
||
<b>Signature:</b> | ||
|
||
```typescript | ||
export interface ChipItem | ||
``` | ||
|
||
## Properties | ||
|
||
| Property | Modifiers | Type | Description | | ||
| --- | --- | --- | --- | | ||
| [canClose?](./components.chipitem.canclose.md) | | boolean | <i>(Optional)</i> | | ||
| [iconName?](./components.chipitem.iconname.md) | | string | <i>(Optional)</i> | | ||
| [key](./components.chipitem.key.md) | | string | | | ||
| [text?](./components.chipitem.text.md) | | string | <i>(Optional)</i> | | ||
|
11 changes: 11 additions & 0 deletions
11
packages/components/docs/markdown/components.chipitem.text.md
This file contains 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,11 @@ | ||
<!-- Do not edit this file. It is automatically generated by API Documenter. --> | ||
|
||
[Home](./index.md) > [@essex/components](./components.md) > [ChipItem](./components.chipitem.md) > [text](./components.chipitem.text.md) | ||
|
||
## ChipItem.text property | ||
|
||
<b>Signature:</b> | ||
|
||
```typescript | ||
text?: string; | ||
``` |
11 changes: 11 additions & 0 deletions
11
packages/components/docs/markdown/components.chipitemprops.item.md
This file contains 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,11 @@ | ||
<!-- Do not edit this file. It is automatically generated by API Documenter. --> | ||
|
||
[Home](./index.md) > [@essex/components](./components.md) > [ChipItemProps](./components.chipitemprops.md) > [item](./components.chipitemprops.item.md) | ||
|
||
## ChipItemProps.item property | ||
|
||
<b>Signature:</b> | ||
|
||
```typescript | ||
item: ChipItem; | ||
``` |
21 changes: 21 additions & 0 deletions
21
packages/components/docs/markdown/components.chipitemprops.md
This file contains 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,21 @@ | ||
<!-- Do not edit this file. It is automatically generated by API Documenter. --> | ||
|
||
[Home](./index.md) > [@essex/components](./components.md) > [ChipItemProps](./components.chipitemprops.md) | ||
|
||
## ChipItemProps interface | ||
|
||
<b>Signature:</b> | ||
|
||
```typescript | ||
export interface ChipItemProps | ||
``` | ||
|
||
## Properties | ||
|
||
| Property | Modifiers | Type | Description | | ||
| --- | --- | --- | --- | | ||
| [item](./components.chipitemprops.item.md) | | [ChipItem](./components.chipitem.md) | | | ||
| [onClick?](./components.chipitemprops.onclick.md) | | () => void | <i>(Optional)</i> | | ||
| [onClose?](./components.chipitemprops.onclose.md) | | () => void | <i>(Optional)</i> | | ||
| [styles?](./components.chipitemprops.styles.md) | | [ChipsStyles](./components.chipsstyles.md) | <i>(Optional)</i> | | ||
|
11 changes: 11 additions & 0 deletions
11
packages/components/docs/markdown/components.chipitemprops.onclick.md
This file contains 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,11 @@ | ||
<!-- Do not edit this file. It is automatically generated by API Documenter. --> | ||
|
||
[Home](./index.md) > [@essex/components](./components.md) > [ChipItemProps](./components.chipitemprops.md) > [onClick](./components.chipitemprops.onclick.md) | ||
|
||
## ChipItemProps.onClick property | ||
|
||
<b>Signature:</b> | ||
|
||
```typescript | ||
onClick?: () => void; | ||
``` |
11 changes: 11 additions & 0 deletions
11
packages/components/docs/markdown/components.chipitemprops.onclose.md
This file contains 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,11 @@ | ||
<!-- Do not edit this file. It is automatically generated by API Documenter. --> | ||
|
||
[Home](./index.md) > [@essex/components](./components.md) > [ChipItemProps](./components.chipitemprops.md) > [onClose](./components.chipitemprops.onclose.md) | ||
|
||
## ChipItemProps.onClose property | ||
|
||
<b>Signature:</b> | ||
|
||
```typescript | ||
onClose?: () => void; | ||
``` |
11 changes: 11 additions & 0 deletions
11
packages/components/docs/markdown/components.chipitemprops.styles.md
This file contains 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,11 @@ | ||
<!-- Do not edit this file. It is automatically generated by API Documenter. --> | ||
|
||
[Home](./index.md) > [@essex/components](./components.md) > [ChipItemProps](./components.chipitemprops.md) > [styles](./components.chipitemprops.styles.md) | ||
|
||
## ChipItemProps.styles property | ||
|
||
<b>Signature:</b> | ||
|
||
```typescript | ||
styles?: ChipsStyles; | ||
``` |
This file contains 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,11 @@ | ||
<!-- Do not edit this file. It is automatically generated by API Documenter. --> | ||
|
||
[Home](./index.md) > [@essex/components](./components.md) > [Chips](./components.chips.md) | ||
|
||
## Chips variable | ||
|
||
<b>Signature:</b> | ||
|
||
```typescript | ||
Chips: React.FC<ChipsProps> | ||
``` |
11 changes: 11 additions & 0 deletions
11
packages/components/docs/markdown/components.chipsprops.items.md
This file contains 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,11 @@ | ||
<!-- Do not edit this file. It is automatically generated by API Documenter. --> | ||
|
||
[Home](./index.md) > [@essex/components](./components.md) > [ChipsProps](./components.chipsprops.md) > [items](./components.chipsprops.items.md) | ||
|
||
## ChipsProps.items property | ||
|
||
<b>Signature:</b> | ||
|
||
```typescript | ||
items: ChipItem[]; | ||
``` |
21 changes: 21 additions & 0 deletions
21
packages/components/docs/markdown/components.chipsprops.md
This file contains 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,21 @@ | ||
<!-- Do not edit this file. It is automatically generated by API Documenter. --> | ||
|
||
[Home](./index.md) > [@essex/components](./components.md) > [ChipsProps](./components.chipsprops.md) | ||
|
||
## ChipsProps interface | ||
|
||
<b>Signature:</b> | ||
|
||
```typescript | ||
export interface ChipsProps | ||
``` | ||
|
||
## Properties | ||
|
||
| Property | Modifiers | Type | Description | | ||
| --- | --- | --- | --- | | ||
| [items](./components.chipsprops.items.md) | | [ChipItem](./components.chipitem.md)<!-- -->\[\] | | | ||
| [onClick?](./components.chipsprops.onclick.md) | | (key: string) => void | <i>(Optional)</i> | | ||
| [onClose?](./components.chipsprops.onclose.md) | | (key: string) => void | <i>(Optional)</i> | | ||
| [styles?](./components.chipsprops.styles.md) | | [ChipsStyles](./components.chipsstyles.md) | <i>(Optional)</i> | | ||
|
11 changes: 11 additions & 0 deletions
11
packages/components/docs/markdown/components.chipsprops.onclick.md
This file contains 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,11 @@ | ||
<!-- Do not edit this file. It is automatically generated by API Documenter. --> | ||
|
||
[Home](./index.md) > [@essex/components](./components.md) > [ChipsProps](./components.chipsprops.md) > [onClick](./components.chipsprops.onclick.md) | ||
|
||
## ChipsProps.onClick property | ||
|
||
<b>Signature:</b> | ||
|
||
```typescript | ||
onClick?: (key: string) => void; | ||
``` |
11 changes: 11 additions & 0 deletions
11
packages/components/docs/markdown/components.chipsprops.onclose.md
This file contains 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,11 @@ | ||
<!-- Do not edit this file. It is automatically generated by API Documenter. --> | ||
|
||
[Home](./index.md) > [@essex/components](./components.md) > [ChipsProps](./components.chipsprops.md) > [onClose](./components.chipsprops.onclose.md) | ||
|
||
## ChipsProps.onClose property | ||
|
||
<b>Signature:</b> | ||
|
||
```typescript | ||
onClose?: (key: string) => void; | ||
``` |
11 changes: 11 additions & 0 deletions
11
packages/components/docs/markdown/components.chipsprops.styles.md
This file contains 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,11 @@ | ||
<!-- Do not edit this file. It is automatically generated by API Documenter. --> | ||
|
||
[Home](./index.md) > [@essex/components](./components.md) > [ChipsProps](./components.chipsprops.md) > [styles](./components.chipsprops.styles.md) | ||
|
||
## ChipsProps.styles property | ||
|
||
<b>Signature:</b> | ||
|
||
```typescript | ||
styles?: ChipsStyles; | ||
``` |
11 changes: 11 additions & 0 deletions
11
packages/components/docs/markdown/components.chipsstyles.item.md
This file contains 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,11 @@ | ||
<!-- Do not edit this file. It is automatically generated by API Documenter. --> | ||
|
||
[Home](./index.md) > [@essex/components](./components.md) > [ChipsStyles](./components.chipsstyles.md) > [item](./components.chipsstyles.item.md) | ||
|
||
## ChipsStyles.item property | ||
|
||
<b>Signature:</b> | ||
|
||
```typescript | ||
item?: ChipStyles; | ||
``` |
19 changes: 19 additions & 0 deletions
19
packages/components/docs/markdown/components.chipsstyles.md
This file contains 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,19 @@ | ||
<!-- Do not edit this file. It is automatically generated by API Documenter. --> | ||
|
||
[Home](./index.md) > [@essex/components](./components.md) > [ChipsStyles](./components.chipsstyles.md) | ||
|
||
## ChipsStyles interface | ||
|
||
<b>Signature:</b> | ||
|
||
```typescript | ||
export interface ChipsStyles | ||
``` | ||
|
||
## Properties | ||
|
||
| Property | Modifiers | Type | Description | | ||
| --- | --- | --- | --- | | ||
| [item?](./components.chipsstyles.item.md) | | [ChipStyles](./components.chipstyles.md) | <i>(Optional)</i> | | ||
| [root?](./components.chipsstyles.root.md) | | React.CSSProperties | <i>(Optional)</i> | | ||
|
11 changes: 11 additions & 0 deletions
11
packages/components/docs/markdown/components.chipsstyles.root.md
This file contains 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,11 @@ | ||
<!-- Do not edit this file. It is automatically generated by API Documenter. --> | ||
|
||
[Home](./index.md) > [@essex/components](./components.md) > [ChipsStyles](./components.chipsstyles.md) > [root](./components.chipsstyles.root.md) | ||
|
||
## ChipsStyles.root property | ||
|
||
<b>Signature:</b> | ||
|
||
```typescript | ||
root?: React.CSSProperties; | ||
``` |
11 changes: 11 additions & 0 deletions
11
packages/components/docs/markdown/components.chipstyles.close.md
This file contains 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,11 @@ | ||
<!-- Do not edit this file. It is automatically generated by API Documenter. --> | ||
|
||
[Home](./index.md) > [@essex/components](./components.md) > [ChipStyles](./components.chipstyles.md) > [close](./components.chipstyles.close.md) | ||
|
||
## ChipStyles.close property | ||
|
||
<b>Signature:</b> | ||
|
||
```typescript | ||
close?: IButtonStyles; | ||
``` |
11 changes: 11 additions & 0 deletions
11
packages/components/docs/markdown/components.chipstyles.icon.md
This file contains 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,11 @@ | ||
<!-- Do not edit this file. It is automatically generated by API Documenter. --> | ||
|
||
[Home](./index.md) > [@essex/components](./components.md) > [ChipStyles](./components.chipstyles.md) > [icon](./components.chipstyles.icon.md) | ||
|
||
## ChipStyles.icon property | ||
|
||
<b>Signature:</b> | ||
|
||
```typescript | ||
icon?: IIconStyles; | ||
``` |
20 changes: 20 additions & 0 deletions
20
packages/components/docs/markdown/components.chipstyles.md
This file contains 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,20 @@ | ||
<!-- Do not edit this file. It is automatically generated by API Documenter. --> | ||
|
||
[Home](./index.md) > [@essex/components](./components.md) > [ChipStyles](./components.chipstyles.md) | ||
|
||
## ChipStyles interface | ||
|
||
<b>Signature:</b> | ||
|
||
```typescript | ||
export interface ChipStyles | ||
``` | ||
|
||
## Properties | ||
|
||
| Property | Modifiers | Type | Description | | ||
| --- | --- | --- | --- | | ||
| [close?](./components.chipstyles.close.md) | | IButtonStyles | <i>(Optional)</i> | | ||
| [icon?](./components.chipstyles.icon.md) | | IIconStyles | <i>(Optional)</i> | | ||
| [root?](./components.chipstyles.root.md) | | React.CSSProperties | <i>(Optional)</i> | | ||
|
11 changes: 11 additions & 0 deletions
11
packages/components/docs/markdown/components.chipstyles.root.md
This file contains 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,11 @@ | ||
<!-- Do not edit this file. It is automatically generated by API Documenter. --> | ||
|
||
[Home](./index.md) > [@essex/components](./components.md) > [ChipStyles](./components.chipstyles.md) > [root](./components.chipstyles.root.md) | ||
|
||
## ChipStyles.root property | ||
|
||
<b>Signature:</b> | ||
|
||
```typescript | ||
root?: React.CSSProperties; | ||
``` |
This file contains 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
Oops, something went wrong.