Skip to content

Commit 302a2db

Browse files
committed
feat(radio): update the implementation of radio tabs
1 parent d89ed63 commit 302a2db

32 files changed

+583
-520
lines changed

.vitepress/config.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,7 @@ export default defineConfig({
7373
{ text: 'Checkbox Group', link: '/components/checkbox-group' },
7474
{ text: 'Radio', link: '/components/radio' },
7575
{ text: 'Radio Group', link: '/components/radio-group' },
76+
{ text: 'Radio Tabs', link: '/components/radio-tabs' },
7677
{ text: 'TextField', link: '/components/text-field' },
7778
{ text: 'TextArea', link: '/components/text-area' },
7879
{ text: 'ColorField', link: '/components/color-field' },

.vitepress/meta/Button.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
},
1818
{
1919
"name": "color",
20-
"description": "<p>Overrides the accent color inherited from the Theme.</p>",
20+
"description": "<p>Overrides the accent color inherited from the ThemeProvider.</p>",
2121
"type": "\"indigo\" | \"gray\" | \"gold\" | \"bronze\" | \"brown\" | \"yellow\" | \"amber\" | \"orange\" | \"tomato\" | \"red\" | \"ruby\" | \"crimson\" | \"pink\" | \"plum\" | \"purple\" | \"violet\" | \"iris\" | \"blue\" | \"cyan\" | \"teal\" | \"jade\" | \"green\" | \"grass\" | \"lime\" | \"mint\" | \"sky\"",
2222
"required": false,
2323
"inherit": null
@@ -38,7 +38,7 @@
3838
},
3939
{
4040
"name": "radius",
41-
"description": "<p>Overrides the radius inherited from the theme.</p>",
41+
"description": "<p>Overrides the radius inherited from the ThemeProvider.</p>",
4242
"type": "\"none\" | \"small\" | \"medium\" | \"large\" | \"full\"",
4343
"required": false,
4444
"inherit": null

.vitepress/meta/CheckboxGroupControl.json

Lines changed: 0 additions & 86 deletions
This file was deleted.

.vitepress/meta/CheckboxGroupItem.json

Lines changed: 0 additions & 86 deletions
This file was deleted.

.vitepress/meta/CheckboxGroupRoot.json

Lines changed: 0 additions & 43 deletions
This file was deleted.

.vitepress/meta/IconButton.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
},
1818
{
1919
"name": "color",
20-
"description": "<p>Overrides the accent color inherited from the Theme.</p>",
20+
"description": "<p>Overrides the accent color inherited from the ThemeProvider.</p>",
2121
"type": "\"indigo\" | \"gray\" | \"gold\" | \"bronze\" | \"brown\" | \"yellow\" | \"amber\" | \"orange\" | \"tomato\" | \"red\" | \"ruby\" | \"crimson\" | \"pink\" | \"plum\" | \"purple\" | \"violet\" | \"iris\" | \"blue\" | \"cyan\" | \"teal\" | \"jade\" | \"green\" | \"grass\" | \"lime\" | \"mint\" | \"sky\"",
2222
"required": false,
2323
"inherit": null
@@ -38,7 +38,7 @@
3838
},
3939
{
4040
"name": "radius",
41-
"description": "<p>Overrides the radius inherited from the theme.</p>",
41+
"description": "<p>Overrides the radius inherited from the ThemeProvider.</p>",
4242
"type": "\"none\" | \"small\" | \"medium\" | \"large\" | \"full\"",
4343
"required": false,
4444
"inherit": null

.vitepress/meta/Pagination.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
},
1818
{
1919
"name": "color",
20-
"description": "<p>Overrides the accent color inherited from the Theme.</p>",
20+
"description": "<p>Overrides the accent color inherited from the ThemeProvider.</p>",
2121
"type": "\"indigo\" | \"gray\" | \"gold\" | \"bronze\" | \"brown\" | \"yellow\" | \"amber\" | \"orange\" | \"tomato\" | \"red\" | \"ruby\" | \"crimson\" | \"pink\" | \"plum\" | \"purple\" | \"violet\" | \"iris\" | \"blue\" | \"cyan\" | \"teal\" | \"jade\" | \"green\" | \"grass\" | \"lime\" | \"mint\" | \"sky\"",
2222
"required": false,
2323
"inherit": null
@@ -59,7 +59,7 @@
5959
},
6060
{
6161
"name": "radius",
62-
"description": "<p>Overrides the radius inherited from the theme.</p>",
62+
"description": "<p>Overrides the radius inherited from the ThemeProvider.</p>",
6363
"type": "\"none\" | \"small\" | \"medium\" | \"large\" | \"full\"",
6464
"required": false,
6565
"inherit": null

.vitepress/meta/RadioCardsRoot.json

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
},
1818
{
1919
"name": "color",
20-
"description": "",
20+
"description": "<p>Overrides the accent color inherited from the ThemeProvider.</p>",
2121
"type": "\"indigo\" | \"gray\" | \"gold\" | \"bronze\" | \"brown\" | \"yellow\" | \"amber\" | \"orange\" | \"tomato\" | \"red\" | \"ruby\" | \"crimson\" | \"pink\" | \"plum\" | \"purple\" | \"violet\" | \"iris\" | \"blue\" | \"cyan\" | \"teal\" | \"jade\" | \"green\" | \"grass\" | \"lime\" | \"mint\" | \"sky\"",
2222
"required": false,
2323
"inherit": null
@@ -45,7 +45,7 @@
4545
},
4646
{
4747
"name": "highContrast",
48-
"description": "",
48+
"description": "<p>Uses a higher contrast color for the component.</p>",
4949
"type": "boolean",
5050
"required": false,
5151
"inherit": null
@@ -87,17 +87,19 @@
8787
},
8888
{
8989
"name": "size",
90-
"description": "",
90+
"description": "<p>Control the size of the radio group.</p>",
9191
"type": "\"1\" | \"2\" | \"3\"",
9292
"required": false,
93-
"inherit": null
93+
"inherit": null,
94+
"default": "\"2\""
9495
},
9596
{
9697
"name": "variant",
97-
"description": "",
98+
"description": "<p>The visual variant of the radio group.</p>",
9899
"type": "\"soft\" | \"surface\"",
99100
"required": false,
100-
"inherit": null
101+
"inherit": null,
102+
"default": "\"surface\""
101103
}
102104
],
103105
"events": [

.vitepress/meta/RadioGroupItem.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
},
1818
{
1919
"name": "color",
20-
"description": "",
20+
"description": "<p>Overrides the accent color inherited from the RadioGroupRoot.</p>",
2121
"type": "\"indigo\" | \"gray\" | \"gold\" | \"bronze\" | \"brown\" | \"yellow\" | \"amber\" | \"orange\" | \"tomato\" | \"red\" | \"ruby\" | \"crimson\" | \"pink\" | \"plum\" | \"purple\" | \"violet\" | \"iris\" | \"blue\" | \"cyan\" | \"teal\" | \"jade\" | \"green\" | \"grass\" | \"lime\" | \"mint\" | \"sky\"",
2222
"required": false,
2323
"inherit": null
@@ -31,7 +31,7 @@
3131
},
3232
{
3333
"name": "highContrast",
34-
"description": "",
34+
"description": "<p>Overrides the highContrast prop inherited from the RadioGroupRoot.</p>",
3535
"type": "boolean",
3636
"required": false,
3737
"inherit": null
@@ -59,7 +59,7 @@
5959
},
6060
{
6161
"name": "size",
62-
"description": "",
62+
"description": "<p>Overrides the size inherited from the RadioGroupRoot.</p>",
6363
"type": "\"1\" | \"2\" | \"3\"",
6464
"required": false,
6565
"inherit": null
@@ -73,7 +73,7 @@
7373
},
7474
{
7575
"name": "variant",
76-
"description": "",
76+
"description": "<p>Overrides the variant inherited from the RadioGroupRoot.</p>",
7777
"type": "\"soft\" | \"surface\"",
7878
"required": false,
7979
"inherit": null

0 commit comments

Comments
 (0)