Skip to content

Commit

Permalink
Merge branch 'v4.0.0' of https://github.com/pixiv/charcoal into toshu…
Browse files Browse the repository at this point in the history
…sai/feat-update-textfield-api-v4
  • Loading branch information
toshusai committed May 24, 2024
2 parents 76d8229 + 24a5b4a commit e1c2ae6
Show file tree
Hide file tree
Showing 23 changed files with 1,446 additions and 5,414 deletions.
7 changes: 1 addition & 6 deletions docs/src/pages/@charcoal-ui/react/Radio/ExampleRadio.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,7 @@ export const ExampleRadio = () => {
return (
<div>
<p>value: {value}</p>
<StyledRadioGroup
name="radio"
label="radio"
onChange={setValue}
value={value}
>
<StyledRadioGroup name="radio" onChange={setValue} value={value}>
<Radio value="value1">value1</Radio>
<Radio value="value2">value2</Radio>
<Radio value="value3">value3</Radio>
Expand Down
6 changes: 0 additions & 6 deletions docs/src/pages/@charcoal-ui/react/Radio/apiData.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -17,12 +17,6 @@ export const apiDataRadio: Partial<ApiTableData<RadioProps, HTMLInputElement>> =
}
export const apiData: Partial<ApiTableData<RadioGroupProps, HTMLInputElement>> =
{
label: {
default: '',
description: 'ラベル',
required: true,
type: 'string',
},
value: {
default: '',
description: '選択されている値',
Expand Down
1 change: 0 additions & 1 deletion docs/src/pages/@charcoal-ui/react/Radio/index.page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@ function Preview(meta: PreviewMeta<RadioGroupProps>, i: number, j: number) {
<StyledRadioGroup
{...meta.props}
key={j}
label={'radio' + j.toString()}
name={'radio' + j.toString()}
onChange={setValue}
value={value}
Expand Down
3 changes: 0 additions & 3 deletions docs/src/pages/@charcoal-ui/react/Radio/sections.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ export const sections: PreviewSection<RadioGroupProps>[] = [
previewMetas: [
{
props: {
label: 'radio',
name: 'radio',
onChange: () => {},
disabled: true,
Expand All @@ -21,7 +20,6 @@ export const sections: PreviewSection<RadioGroupProps>[] = [
previewMetas: [
{
props: {
label: 'radio',
name: 'radio',
onChange: () => {},
invalid: true,
Expand All @@ -35,7 +33,6 @@ export const sections: PreviewSection<RadioGroupProps>[] = [
previewMetas: [
{
props: {
label: 'radio',
name: 'radio',
onChange: () => {},
readonly: true,
Expand Down
Loading

0 comments on commit e1c2ae6

Please sign in to comment.