forked from chakra-ui/chakra-ui
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
09bea21
commit 7da62e0
Showing
23 changed files
with
494 additions
and
933 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
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,23 @@ | ||
import { Radiomark, Stack, chakra } from "../src" | ||
|
||
export default { | ||
title: "Components / Radiomark", | ||
decorators: [ | ||
(story: Function) => ( | ||
<chakra.div maxW="500px" mt="40px" mx="auto"> | ||
{story()} | ||
</chakra.div> | ||
), | ||
], | ||
} | ||
|
||
export const Demo = () => { | ||
return ( | ||
<Stack colorPalette="gray"> | ||
<Radiomark /> | ||
<Radiomark checked /> | ||
<Radiomark disabled /> | ||
<Radiomark checked disabled /> | ||
</Stack> | ||
) | ||
} |
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 |
---|---|---|
@@ -1,24 +1,26 @@ | ||
export { RadioGroupItem } from "./radio-group-item" | ||
export type { RadioGroupItemProps } from "./radio-group-item" | ||
|
||
export { useRadio } from "./use-radio" | ||
export type { UseRadioProps, UseRadioReturn } from "./use-radio" | ||
|
||
export { useRadioGroup } from "./use-radio-group" | ||
export type { UseRadioGroupProps, UseRadioGroupReturn } from "./use-radio-group" | ||
|
||
export { RadioGroupRoot } from "./radio-group-root" | ||
export type { RadioGroupRootProps } from "./radio-group-root" | ||
|
||
export { useRadioGroupContext } from "./radio-group-context" | ||
|
||
export { RadioGroupItemControl } from "./radio-group-item-control" | ||
export type { RadioGroupItemControlProps } from "./radio-group-item-control" | ||
|
||
export { RadioGroupItemText } from "./radio-group-item-text" | ||
export type { RadioGroupItemTextProps } from "./radio-group-item-text" | ||
|
||
export { RadioGroupItemIndicator } from "./radio-group-item-indicator" | ||
export type { RadioGroupItemIndicatorProps } from "./radio-group-item-indicator" | ||
export { | ||
RadioGroupItem, | ||
RadioGroupItemControl, | ||
RadioGroupItemText, | ||
RadioGroupLabel, | ||
RadioGroupRoot, | ||
RadioGroupItemIndicator, | ||
} from "./radio-group" | ||
|
||
export type { | ||
RadioGroupItemControlProps, | ||
RadioGroupItemProps, | ||
RadioGroupItemTextProps, | ||
RadioGroupLabelProps, | ||
RadioGroupRootProps, | ||
} from "./radio-group" | ||
|
||
export { | ||
RadioGroupItemHiddenInput, | ||
RadioGroupContext, | ||
useRadioGroupContext, | ||
} from "@ark-ui/react/radio-group" | ||
|
||
export type { RadioGroupValueChangeDetails } from "@ark-ui/react/radio-group" | ||
|
||
export * as RadioGroup from "./namespace" |
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,23 @@ | ||
export { RadioGroupItem as Item } from "./radio-group-item" | ||
export type { RadioGroupItemProps as ItemProps } from "./radio-group-item" | ||
export { | ||
RadioGroupItem as Item, | ||
RadioGroupItemControl as ItemControl, | ||
RadioGroupItemText as ItemText, | ||
RadioGroupLabel as Label, | ||
RadioGroupRoot as Root, | ||
RadioGroupItemIndicator as ItemIndicator, | ||
} from "./radio-group" | ||
|
||
export { RadioGroupRoot as Root } from "./radio-group-root" | ||
export type { RadioGroupRootProps as RootProps } from "./radio-group-root" | ||
export type { | ||
RadioGroupItemControlProps as ItemControlProps, | ||
RadioGroupItemProps as ItemProps, | ||
RadioGroupItemTextProps as ItemTextProps, | ||
RadioGroupLabelProps as LabelProps, | ||
RadioGroupRootProps as RootProps, | ||
} from "./radio-group" | ||
|
||
export { RadioGroupItemControl as ItemControl } from "./radio-group-item-control" | ||
export type { RadioGroupItemControlProps } from "./radio-group-item-control" | ||
export { | ||
RadioGroupContext as Context, | ||
RadioGroupItemHiddenInput as ItemHiddenInput, | ||
} from "@ark-ui/react/radio-group" | ||
|
||
export { RadioGroupItemText as ItemText } from "./radio-group-item-text" | ||
export type { RadioGroupItemTextProps as ItemTextProps } from "./radio-group-item-text" | ||
|
||
export { RadioGroupItemIndicator as ItemIndicator } from "./radio-group-item-indicator" | ||
export type { RadioGroupItemIndicatorProps as ItemIndicatorProps } from "./radio-group-item-indicator" | ||
export type { RadioGroupValueChangeDetails as ValueChangeDetails } from "@ark-ui/react/radio-group" |
28 changes: 0 additions & 28 deletions
28
packages/react/src/components/radio-group/radio-group-context.ts
This file was deleted.
Oops, something went wrong.
29 changes: 0 additions & 29 deletions
29
packages/react/src/components/radio-group/radio-group-item-control.tsx
This file was deleted.
Oops, something went wrong.
29 changes: 0 additions & 29 deletions
29
packages/react/src/components/radio-group/radio-group-item-indicator.tsx
This file was deleted.
Oops, something went wrong.
26 changes: 0 additions & 26 deletions
26
packages/react/src/components/radio-group/radio-group-item-text.tsx
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.