You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CHANGELOG.md
+23-8Lines changed: 23 additions & 8 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4,8 +4,8 @@
4
4
5
5
#### Breaking Changes
6
6
7
-
-`activeTabClassName`was renamed to `selectedTabClassName`
8
-
-`selectedTabClassName` and `disabledTabClassName` moved from `<TabList />` to`<Tabs />`
7
+
-`activeTabClassName`and `disabledTabClassName` moved from `<TabList />`to `<Tabs />`
8
+
-`activeTabClassName` was renamed to `selectedTabClassName` on`<Tabs />`
9
9
-`className` property on all components now overwrites the default classes instead of adding a second class name
10
10
11
11
```js
@@ -28,19 +28,34 @@
28
28
29
29
-`selectedIndex` now enables controlled mode, which disables internal management of the active tab. If you were using `selectedIndex` to set the initial displayed tab use `defaultIndex`
30
30
- No styles do get added by default anymore. If you want to use the default styles you need to add them yourself. See README.
31
+
- Support for bower package manager was removed.
31
32
32
33
#### New Features
33
34
34
35
-`selectedTabPanelClassName` was added to add `<Tabs />` to change the class name of the current selected TabPanel
35
36
-`defaultIndex` was added to set the initial displayed tab
36
-
-Add function `resetIdCounter` to reset the id-counter for isomorphic apps.
37
+
-New static method to reset the idcounter for isomorphic apps. Call this before rendering your application on the server.
- Allow random order of `<TabList />`, `<TabPanel />` and other arbitrary components. The `<TabPanel />` components are matched to the `<Tab />` components in order from top to bottom.
47
+
48
+
```js
49
+
<Tabs>
50
+
<TabPanel />
51
+
<div />
52
+
<TabList>
53
+
<Tab />
54
+
<Tab />
55
+
</TabList>
56
+
<span />
57
+
<TabPanel />
58
+
</Tabs>
44
59
```
45
60
46
61
#### Bug Fixes
@@ -50,7 +65,7 @@ render();
50
65
#### Internal
51
66
52
67
- Refactor components to use native classes
53
-
- Refactor to not use react-dom
68
+
- Refactor to not use react-dom and remove dependency on it
0 commit comments