-
-
Notifications
You must be signed in to change notification settings - Fork 3.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor: component api docs generation (#7216)
- Loading branch information
1 parent
efc2ce9
commit 08e3ffc
Showing
110 changed files
with
1,060 additions
and
495 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,5 @@ | ||
--- | ||
"@chakra-ui/props-docs": minor | ||
--- | ||
|
||
[BREAKING] Refactor props docs and improved its output structure |
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,5 @@ | ||
--- | ||
"@chakra-ui/icons": patch | ||
--- | ||
|
||
Fix export for `ReactIcon` |
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 |
---|---|---|
@@ -1,19 +1,23 @@ | ||
export { AccordionButton, type AccordionButtonProps } from "./accordion-button" | ||
export { Accordion } from "./accordion" | ||
export type { AccordionProps } from "./accordion" | ||
export { AccordionButton } from "./accordion-button" | ||
export type { AccordionButtonProps } from "./accordion-button" | ||
export { useAccordionStyles } from "./accordion-context" | ||
export { AccordionIcon } from "./accordion-icon" | ||
export { AccordionItem, type AccordionItemProps } from "./accordion-item" | ||
export { AccordionPanel, type AccordionPanelProps } from "./accordion-panel" | ||
export { Accordion, type AccordionProps } from "./accordion" | ||
export { AccordionItem } from "./accordion-item" | ||
export type { AccordionItemProps } from "./accordion-item" | ||
export { AccordionPanel } from "./accordion-panel" | ||
export type { AccordionPanelProps } from "./accordion-panel" | ||
export { | ||
AccordionProvider, | ||
useAccordionItem, | ||
useAccordionContext, | ||
useAccordion, | ||
useAccordionContext, | ||
useAccordionItem, | ||
} from "./use-accordion" | ||
export type { | ||
UseAccordionItemProps, | ||
UseAccordionProps, | ||
UseAccordionItemReturn, | ||
UseAccordionProps, | ||
UseAccordionReturn, | ||
} from "./use-accordion" | ||
export { useAccordionItemState } from "./use-accordion-item-state" |
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 |
---|---|---|
@@ -1,8 +1,10 @@ | ||
export { Alert, type AlertProps } from "./alert" | ||
export { useAlertStyles, type AlertStatus } from "./alert-context" | ||
export { | ||
AlertDescription, | ||
type AlertDescriptionProps, | ||
} from "./alert-description" | ||
export { AlertIcon, type AlertIconProps } from "./alert-icon" | ||
export { AlertTitle, type AlertTitleProps } from "./alert-title" | ||
export { Alert } from "./alert" | ||
export type { AlertProps } from "./alert" | ||
export { useAlertStyles } from "./alert-context" | ||
export type { AlertStatus } from "./alert-context" | ||
export { AlertDescription } from "./alert-description" | ||
export type { AlertDescriptionProps } from "./alert-description" | ||
export { AlertIcon } from "./alert-icon" | ||
export type { AlertIconProps } from "./alert-icon" | ||
export { AlertTitle } from "./alert-title" | ||
export type { AlertTitleProps } from "./alert-title" |
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 |
---|---|---|
@@ -1,5 +1,8 @@ | ||
export { Avatar, type AvatarProps } from "./avatar" | ||
export { AvatarGroup, type AvatarGroupProps } from "./avatar-group" | ||
export { AvatarBadge, type AvatarBadgeProps } from "./avatar-badge" | ||
export { Avatar } from "./avatar" | ||
export type { AvatarProps } from "./avatar" | ||
export { AvatarBadge } from "./avatar-badge" | ||
export type { AvatarBadgeProps } from "./avatar-badge" | ||
export { useAvatarStyles } from "./avatar-context" | ||
export { AvatarGroup } from "./avatar-group" | ||
export type { AvatarGroupProps } from "./avatar-group" | ||
export { GenericAvatarIcon } from "./generic-avatar-icon" |
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 |
---|---|---|
@@ -1,9 +1,12 @@ | ||
export { Breadcrumb, type BreadcrumbProps } from "./breadcrumb" | ||
export { BreadcrumbItem, type BreadcrumbItemProps } from "./breadcrumb-item" | ||
export { Breadcrumb } from "./breadcrumb" | ||
export type { BreadcrumbProps } from "./breadcrumb" | ||
export { useBreadcrumbStyles } from "./breadcrumb-context" | ||
export { BreadcrumbItem } from "./breadcrumb-item" | ||
export type { BreadcrumbItemProps } from "./breadcrumb-item" | ||
export { BreadcrumbLink } from "./breadcrumb-link" | ||
export type { BreadcrumbLinkProps } from "./breadcrumb-link" | ||
export { | ||
BreadcrumbSeparator, | ||
type BreadcrumbSeparatorProps, | ||
} from "./breadcrumb-separator" | ||
export { BreadcrumbLink, type BreadcrumbLinkProps } from "./breadcrumb-link" | ||
export { useBreadcrumbStyles } from "./breadcrumb-context" | ||
export type { BreadcrumbOptions } from "./breadcrumb-types" |
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 |
---|---|---|
@@ -1,6 +1,9 @@ | ||
export { Button, type ButtonProps } from "./button" | ||
export { ButtonGroup, type ButtonGroupProps } from "./button-group" | ||
export { IconButton, type IconButtonProps } from "./icon-button" | ||
export { Button } from "./button" | ||
export type { ButtonProps } from "./button" | ||
export { ButtonGroup } from "./button-group" | ||
export type { ButtonGroupProps } from "./button-group" | ||
export { IconButton } from "./icon-button" | ||
export type { IconButtonProps } from "./icon-button" | ||
export { ButtonSpinner } from "./button-spinner" | ||
export { useButtonGroup } from "./button-context" | ||
export type { ButtonOptions } from "./button-types" |
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 |
---|---|---|
@@ -1,13 +1,9 @@ | ||
export { Card } from "./card" | ||
export type { CardProps } from "./card" | ||
|
||
export { CardBody } from "./card-body" | ||
export type { CardBodyProps } from "./card-body" | ||
|
||
export { useCardStyles } from "./card-context" | ||
|
||
export { CardFooter } from "./card-footer" | ||
export type { CardFooterProps } from "./card-footer" | ||
|
||
export { CardHeader } from "./card-header" | ||
export type { CardHeaderProps } from "./card-header" |
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 |
---|---|---|
@@ -1,14 +1,16 @@ | ||
export { CheckboxGroup, type CheckboxGroupProps } from "./checkbox-group" | ||
export { CheckboxIcon, type CheckboxIconProps } from "./checkbox-icon" | ||
export { Checkbox } from "./checkbox" | ||
export type { CheckboxProps } from "./checkbox" | ||
export { CheckboxGroup } from "./checkbox-group" | ||
export type { CheckboxGroupProps } from "./checkbox-group" | ||
export { CheckboxIcon } from "./checkbox-icon" | ||
export type { CheckboxIconProps } from "./checkbox-icon" | ||
export type { | ||
UseCheckboxGroupProps, | ||
UseCheckboxProps, | ||
CheckboxGroupContext, | ||
CheckboxState, | ||
UseCheckboxGroupProps, | ||
UseCheckboxProps, | ||
} from "./checkbox-types" | ||
export { Checkbox, type CheckboxProps } from "./checkbox" | ||
export { | ||
useCheckboxGroup, | ||
type UseCheckboxGroupReturn, | ||
} from "./use-checkbox-group" | ||
export { useCheckbox, type UseCheckboxReturn } from "./use-checkbox" | ||
export { useCheckbox } from "./use-checkbox" | ||
export type { UseCheckboxReturn } from "./use-checkbox" | ||
export { useCheckboxGroup } from "./use-checkbox-group" | ||
export type { UseCheckboxGroupReturn } from "./use-checkbox-group" |
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 |
---|---|---|
@@ -1 +1,2 @@ | ||
export * from "./use-clickable" | ||
export { useClickable } from "./use-clickable" | ||
export type { UseClickableProps, UseClickableReturn } from "./use-clickable" |
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 |
---|---|---|
@@ -1 +1,2 @@ | ||
export * from "./close-button" | ||
export { CloseButton } from "./close-button" | ||
export type { CloseButtonProps } from "./close-button" |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,2 @@ | ||
export * from "./control-box" | ||
export { ControlBox } from "./control-box" | ||
export type { ControlBoxOptions, ControlBoxProps } from "./control-box" |
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 |
---|---|---|
@@ -1 +1,2 @@ | ||
export * from "./use-counter" | ||
export { useCounter } from "./use-counter" | ||
export type { UseCounterProps, UseCounterReturn } from "./use-counter" |
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 |
---|---|---|
@@ -1,15 +1,13 @@ | ||
export { Editable, type EditableProps } from "./editable" | ||
export { EditableInput, type EditableInputProps } from "./editable-input" | ||
export { | ||
EditableTextarea, | ||
type EditableTextareaProps, | ||
} from "./editable-textarea" | ||
export { EditablePreview, type EditablePreviewProps } from "./editable-preview" | ||
export { | ||
useEditable, | ||
type UseEditableProps, | ||
type UseEditableReturn, | ||
} from "./use-editable" | ||
export { Editable } from "./editable" | ||
export type { EditableProps } from "./editable" | ||
export { useEditableStyles } from "./editable-context" | ||
export { EditableInput } from "./editable-input" | ||
export type { EditableInputProps } from "./editable-input" | ||
export { EditablePreview } from "./editable-preview" | ||
export type { EditablePreviewProps } from "./editable-preview" | ||
export { EditableTextarea } from "./editable-textarea" | ||
export type { EditableTextareaProps } from "./editable-textarea" | ||
export { useEditable } from "./use-editable" | ||
export type { UseEditableProps, UseEditableReturn } from "./use-editable" | ||
export { useEditableControls } from "./use-editable-controls" | ||
export { useEditableState } from "./use-editable-state" | ||
export { useEditableStyles } from "./editable-context" |
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 |
---|---|---|
@@ -1 +1,2 @@ | ||
export * from "./env" | ||
export { EnvironmentProvider, useEnvironment } from "./env" | ||
export type { EnvironmentProviderProps } from "./env" |
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.
08e3ffc
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-chakra-ui.vercel.app
chakra-ui-storybook-git-main-chakra-ui.vercel.app
chakra-ui-storybook.vercel.app
storybook.chakra-ui.com