@atlaskit/tabs
Advanced tools
Comparing version
# @atlaskit/tabs | ||
## 12.0.3 | ||
### Patch Changes | ||
- [`6c525a8229`](https://bitbucket.org/atlassian/atlassian-frontend/commits/6c525a8229) - Upgraded to TypeScript 3.9.6 and tslib to 2.0.0 | ||
Since tslib is a dependency for all our packages we recommend that products also follow this tslib upgrade | ||
to prevent duplicates of tslib being bundled. | ||
## 12.0.2 | ||
@@ -4,0 +13,0 @@ |
import React, { Component } from 'react'; | ||
import { TabData, TabsProps, TabsState } from '../types'; | ||
import { SelectedProp, TabData, TabsProps, TabsState } from '../types'; | ||
declare class Tabs extends Component<TabsProps, TabsState> { | ||
@@ -9,3 +9,3 @@ static defaultProps: { | ||
UNSAFE_componentWillReceiveProps(newProps: TabsProps): void; | ||
resolveSelected: (selected: any, newProps?: TabsProps | undefined) => TabData; | ||
resolveSelected: (selected: SelectedProp, newProps?: TabsProps | undefined) => TabData; | ||
onSelect: (newselected: TabData, newSelectedIndex: number) => void; | ||
@@ -12,0 +12,0 @@ render(): JSX.Element; |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.TabsWithoutAnalytics = void 0; | ||
var tslib_1 = require("tslib"); | ||
@@ -4,0 +5,0 @@ var react_1 = tslib_1.__importStar(require("react")); |
@@ -1,2 +0,2 @@ | ||
import React, { Component } from 'react'; | ||
import React, { Component, KeyboardEvent } from 'react'; | ||
import { TabData, TabsNavigationProps } from '../types'; | ||
@@ -6,6 +6,6 @@ export default class TabsNavigation extends Component<TabsNavigationProps> { | ||
UNSAFE_componentWillReceiveProps(newProps: TabsNavigationProps): void; | ||
tabKeyDownHandler: (e: React.KeyboardEvent<HTMLElement>) => void; | ||
tabKeyDownHandler: (e: KeyboardEvent<HTMLElement>) => void; | ||
onSelect: (selected: TabData, selectedIndex: number) => void; | ||
tabMouseDownHandler: (e: React.MouseEvent<HTMLElement, MouseEvent>) => void; | ||
tabMouseDownHandler: (e: React.MouseEvent<HTMLElement>) => void; | ||
render(): JSX.Element; | ||
} |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
var Tabs_1 = require("./components/Tabs"); | ||
exports.default = Tabs_1.default; | ||
Object.defineProperty(exports, "default", { enumerable: true, get: function () { return Tabs_1.default; } }); | ||
var TabContent_1 = require("./components/TabContent"); | ||
exports.TabContent = TabContent_1.default; | ||
Object.defineProperty(exports, "TabContent", { enumerable: true, get: function () { return TabContent_1.default; } }); | ||
var TabItem_1 = require("./components/TabItem"); | ||
exports.TabItem = TabItem_1.default; | ||
Object.defineProperty(exports, "TabItem", { enumerable: true, get: function () { return TabItem_1.default; } }); | ||
//# sourceMappingURL=index.js.map |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.NavItem = exports.NavLine = exports.Nav = exports.NavWrapper = exports.TabPane = exports.Tabs = void 0; | ||
var tslib_1 = require("tslib"); | ||
@@ -4,0 +5,0 @@ var styled_components_1 = tslib_1.__importDefault(require("styled-components")); |
{ | ||
"name": "@atlaskit/tabs", | ||
"version": "12.0.2", | ||
"version": "12.0.3", | ||
"sideEffects": false | ||
} |
import React, { Component } from 'react'; | ||
import { TabData, TabsProps, TabsState } from '../types'; | ||
import { SelectedProp, TabData, TabsProps, TabsState } from '../types'; | ||
declare class Tabs extends Component<TabsProps, TabsState> { | ||
@@ -9,3 +9,3 @@ static defaultProps: { | ||
UNSAFE_componentWillReceiveProps(newProps: TabsProps): void; | ||
resolveSelected: (selected: any, newProps?: TabsProps | undefined) => TabData; | ||
resolveSelected: (selected: SelectedProp, newProps?: TabsProps | undefined) => TabData; | ||
onSelect: (newselected: TabData, newSelectedIndex: number) => void; | ||
@@ -12,0 +12,0 @@ render(): JSX.Element; |
@@ -1,2 +0,2 @@ | ||
import React, { Component } from 'react'; | ||
import React, { Component, KeyboardEvent } from 'react'; | ||
import { TabData, TabsNavigationProps } from '../types'; | ||
@@ -6,6 +6,6 @@ export default class TabsNavigation extends Component<TabsNavigationProps> { | ||
UNSAFE_componentWillReceiveProps(newProps: TabsNavigationProps): void; | ||
tabKeyDownHandler: (e: React.KeyboardEvent<HTMLElement>) => void; | ||
tabKeyDownHandler: (e: KeyboardEvent<HTMLElement>) => void; | ||
onSelect: (selected: TabData, selectedIndex: number) => void; | ||
tabMouseDownHandler: (e: React.MouseEvent<HTMLElement, MouseEvent>) => void; | ||
tabMouseDownHandler: (e: React.MouseEvent<HTMLElement>) => void; | ||
render(): JSX.Element; | ||
} |
{ | ||
"name": "@atlaskit/tabs", | ||
"version": "12.0.2", | ||
"version": "12.0.3", | ||
"sideEffects": false | ||
} |
import React, { Component } from 'react'; | ||
import { TabData, TabsProps, TabsState } from '../types'; | ||
import { SelectedProp, TabData, TabsProps, TabsState } from '../types'; | ||
declare class Tabs extends Component<TabsProps, TabsState> { | ||
@@ -9,3 +9,3 @@ static defaultProps: { | ||
UNSAFE_componentWillReceiveProps(newProps: TabsProps): void; | ||
resolveSelected: (selected: any, newProps?: TabsProps | undefined) => TabData; | ||
resolveSelected: (selected: SelectedProp, newProps?: TabsProps | undefined) => TabData; | ||
onSelect: (newselected: TabData, newSelectedIndex: number) => void; | ||
@@ -12,0 +12,0 @@ render(): JSX.Element; |
@@ -1,2 +0,2 @@ | ||
import React, { Component } from 'react'; | ||
import React, { Component, KeyboardEvent } from 'react'; | ||
import { TabData, TabsNavigationProps } from '../types'; | ||
@@ -6,6 +6,6 @@ export default class TabsNavigation extends Component<TabsNavigationProps> { | ||
UNSAFE_componentWillReceiveProps(newProps: TabsNavigationProps): void; | ||
tabKeyDownHandler: (e: React.KeyboardEvent<HTMLElement>) => void; | ||
tabKeyDownHandler: (e: KeyboardEvent<HTMLElement>) => void; | ||
onSelect: (selected: TabData, selectedIndex: number) => void; | ||
tabMouseDownHandler: (e: React.MouseEvent<HTMLElement, MouseEvent>) => void; | ||
tabMouseDownHandler: (e: React.MouseEvent<HTMLElement>) => void; | ||
render(): JSX.Element; | ||
} |
{ | ||
"name": "@atlaskit/tabs", | ||
"version": "12.0.2", | ||
"version": "12.0.3", | ||
"sideEffects": false | ||
} |
{ | ||
"name": "@atlaskit/tabs", | ||
"version": "12.0.2", | ||
"version": "12.0.3", | ||
"description": "Tabs are used to organize content by grouping similar information on the same page.", | ||
@@ -17,5 +17,5 @@ "publishConfig": { | ||
"atlaskit:src": "src/index.ts", | ||
"homepage": "https://atlassian.design/components/tabs/", | ||
"atlassian": { | ||
"team": "Design System Team", | ||
"deprecatedAutoEntryPoints": true, | ||
"inPublicMirror": true, | ||
@@ -25,4 +25,3 @@ "releaseModel": "scheduled", | ||
"name": "Tabs" | ||
}, | ||
"deprecatedAutoEntryPoints": true | ||
} | ||
}, | ||
@@ -32,3 +31,3 @@ "dependencies": { | ||
"@atlaskit/theme": "^10.0.0", | ||
"tslib": "^1.9.3" | ||
"tslib": "^2.0.0" | ||
}, | ||
@@ -57,3 +56,4 @@ "peerDependencies": { | ||
} | ||
} | ||
}, | ||
"homepage": "https://atlassian.design/components/tabs/" | ||
} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
120439
1.05%1338
0.15%- Removed
Updated