-
-
Notifications
You must be signed in to change notification settings - Fork 3.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Co-authored-by: Segun Adebayo <joseshegs@gmail.com>
- Loading branch information
1 parent
496ebae
commit 28c28b4
Showing
245 changed files
with
11,909 additions
and
245 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
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
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,102 @@ | ||
{ | ||
"Accordion": { | ||
"allowMultiple": { | ||
"type": "boolean;", | ||
"required": false, | ||
"description": "If `true`, multiple accordion items can be expanded at once." | ||
}, | ||
"allowToggle": { | ||
"type": "boolean;", | ||
"required": false, | ||
"description": "If `true`, any expanded accordion item can be collapsed again." | ||
}, | ||
"defaultIndex": { | ||
"type": "ExpandedIndex;", | ||
"required": false, | ||
"description": "The initial index(es) of the expanded accordion item" | ||
}, | ||
"index": { | ||
"type": "ExpandedIndex;", | ||
"required": false, | ||
"description": "The index(es) of the expanded accordion item" | ||
}, | ||
"onChange": { | ||
"type": "(expandedIndex: ExpandedIndex) => void;", | ||
"required": false, | ||
"description": "The callback invoked when accordion items are expanded or collapsed." | ||
}, | ||
"reduceMotion": { | ||
"type": "boolean;", | ||
"required": false, | ||
"description": "If `true`, height animation and transitions will be disabled." | ||
} | ||
}, | ||
"AccordionItem": { | ||
"id": { | ||
"type": "string;", | ||
"required": false, | ||
"description": "A unique id for the accordion item." | ||
}, | ||
"isDisabled": { | ||
"type": "boolean;", | ||
"required": false, | ||
"description": "If `true`, the accordion item will be disabled." | ||
}, | ||
"isFocusable": { | ||
"type": "boolean;", | ||
"required": false, | ||
"description": "If `true`, the accordion item will be focusable." | ||
} | ||
}, | ||
"AccordionPanel": { | ||
"motionProps": { | ||
"type": "CollapseProps;", | ||
"required": false, | ||
"description": "The properties passed to the underlying `Collapse` component." | ||
} | ||
}, | ||
"UseAccordionItem": { | ||
"id": { | ||
"type": "string;", | ||
"required": false, | ||
"description": "A unique id for the accordion item." | ||
}, | ||
"isDisabled": { | ||
"type": "boolean;", | ||
"required": false, | ||
"description": "If `true`, the accordion item will be disabled." | ||
}, | ||
"isFocusable": { | ||
"type": "boolean;", | ||
"required": false, | ||
"description": "If `true`, the accordion item will be focusable." | ||
} | ||
}, | ||
"UseAccordion": { | ||
"allowMultiple": { | ||
"type": "boolean;", | ||
"required": false, | ||
"description": "If `true`, multiple accordion items can be expanded at once." | ||
}, | ||
"allowToggle": { | ||
"type": "boolean;", | ||
"required": false, | ||
"description": "If `true`, any expanded accordion item can be collapsed again." | ||
}, | ||
"defaultIndex": { | ||
"type": "ExpandedIndex;", | ||
"required": false, | ||
"description": "The initial index(es) of the expanded accordion item" | ||
}, | ||
"index": { | ||
"type": "ExpandedIndex;", | ||
"required": false, | ||
"description": "The index(es) of the expanded accordion item" | ||
}, | ||
"onChange": { | ||
"type": "(expandedIndex: ExpandedIndex) => void;", | ||
"required": false, | ||
"description": "The callback invoked when accordion items are expanded or collapsed." | ||
} | ||
} | ||
} |
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
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
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,28 @@ | ||
{ | ||
"Alert": { | ||
"addRole": { "type": "boolean;", "required": false }, | ||
"colorScheme": { | ||
"defaultValue": "blue", | ||
"type": "\"whiteAlpha\" | \"blackAlpha\" | \"gray\" | \"red\" | \"orange\" | \"yellow\" | \"green\" | \"teal\" | \"blue\" | \"cyan\" | \"purple\" | \"pink\" | \"linkedin\" | \"facebook\" | \"messenger\" | \"whatsapp\" | \"twitter\" | \"telegram\"", | ||
"required": false, | ||
"description": "The visual color appearance of the component" | ||
}, | ||
"size": { | ||
"type": "string", | ||
"required": false, | ||
"description": "The size of the Alert" | ||
}, | ||
"status": { | ||
"type": "\"info\" | \"warning\" | \"success\" | \"error\" | \"loading\";", | ||
"defaultValue": "\"info\"", | ||
"required": false, | ||
"description": "The status of the alert" | ||
}, | ||
"variant": { | ||
"defaultValue": "subtle", | ||
"type": "\"subtle\" | \"left-accent\" | \"top-accent\" | \"solid\"", | ||
"required": false, | ||
"description": "The variant of the Alert" | ||
} | ||
} | ||
} |
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
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
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
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.
28c28b4
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Successfully deployed to the following URLs:
chakra-ui-storybook – ./
chakra-ui-storybook-git-main-chakra-ui.vercel.app
chakra-ui-storybook.vercel.app
chakra-ui-storybook-chakra-ui.vercel.app
storybook.chakra-ui.com