Commit d4e0467
authored
Re-implement Tabs component using Radix (#1061)
* feat(tabs): re-implement tabs component using radix ui
* feat(tabs): add tabs storybook
* chore(tabs): add index.ts to resolve typecheck failed
* feat(tabs): give Tabs.Trigger's props directly to Button component
* fix(tabs): resolve typecheck error
* feat(tabs): add TabsContent
* feat(tabs): change tabAction element from div to button
* feat(tabs): rename tabs-related components to be singular
* fix(tabs): fix TabsProps to have ReactNode as children
* feat(tabs): add test code for Tabs component
* feat(tabs): export old tabs as LegacyTabs
* chore(changeset): add changeset
* chore(tabs): remove unnecessary font-weight style in TabAction
* feat(tabs): add test code for tab list in regard to a11n
* refactor(tabs): apply style to TabsPrimitive.Root directly
* refactor(tabs): change height in interface to size
* feat(tabs): add html attributes props to TabItem, TabList, and TabAction
* deps(toolbar): add radix-toolbar package
* feat(tabs): add TabItems and TabActions
* feat(tabs): fix test-code as changed Tabs component anatomy and add test code for tabaction(wip)
* fix(tabs): fix use example of tabs component
* fix(tabs): make TabsProps and TabActions extend BezerComponentProps
* docs(tabs): add js-docs for tab components
* fix(tabs): remove DisableProps from TabAction
* feat(tabs): add test code for tab actions
* feat(storybook): add tabs related components as subcomponent in storybook
* fix(tabs): forward ref directly to TabAction component
* feat(tabs): add test code with home and end keyboard
* fix(storybook): fix TabsComposition story to change value with mouse click
* fix(tabs): change TabAction interface to have proper interface depending on href is given or not
* chore(tabs): rename TabActionElement interface as TabActionElementBy
* feat(tabs): add activation animation using css animation
* chore(tabs): remove unnecessary will-change property
* refactor(tabs): css-animation 을 transition 으로 변경
* chore(tabs): fix typo (TabsListContextValue -> TabListContextValue)
* refactor(tabs): use semantic value for tabsize instead of px size
* refactor(tabs): remove unnecessary type assertion with TabAction component
* fix(tabs): add missed ref forwarding
* feat(tabs): add activation mode to props of Tabs component and test code associated with it
* refactor(tabs/style): replace tabsize prop with css variable
* chore(tabitem): remove unncessary will-change property1 parent e1550c5 commit d4e0467
File tree
42 files changed
+1201
-21
lines changed- .changeset
- packages/bezier-react
- src
- components/Tabs
- LegacyTabs
- TabAction
- TabItem
- Tabs
- utils
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
42 files changed
+1201
-21
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
121 | 121 | | |
122 | 122 | | |
123 | 123 | | |
| 124 | + | |
| 125 | + | |
124 | 126 | | |
125 | 127 | | |
126 | 128 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
9 | | - | |
| 9 | + | |
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
6 | | - | |
| 6 | + | |
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
8 | | - | |
| 8 | + | |
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
9 | | - | |
| 9 | + | |
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
| |||
0 commit comments