@atlaskit/tabs 13.4.0 → 13.4.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # @atlaskit/tabs
2
2
 
3
+ ## 13.4.1
4
+
5
+ ### Patch Changes
6
+
7
+ - [`41fae2c6f68`](https://bitbucket.org/atlassian/atlassian-frontend/commits/41fae2c6f68) - Upgrade Typescript from `4.5.5` to `4.9.5`
8
+
3
9
  ## 13.4.0
4
10
 
5
11
  ### Minor Changes
@@ -21,7 +21,7 @@ function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { va
21
21
  var analyticsAttributes = {
22
22
  componentName: 'tabs',
23
23
  packageName: "@atlaskit/tabs",
24
- packageVersion: "13.4.0"
24
+ packageVersion: "13.4.1"
25
25
  };
26
26
  var getTabPanelWithContext = function getTabPanelWithContext(_ref) {
27
27
  var tabPanel = _ref.tabPanel,
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "@atlaskit/tabs",
3
- "version": "13.4.0",
3
+ "version": "13.4.1",
4
4
  "sideEffects": false
5
5
  }
@@ -10,7 +10,7 @@ import { onMouseDownBlur } from '../internal/utils';
10
10
  const analyticsAttributes = {
11
11
  componentName: 'tabs',
12
12
  packageName: "@atlaskit/tabs",
13
- packageVersion: "13.4.0"
13
+ packageVersion: "13.4.1"
14
14
  };
15
15
  const getTabPanelWithContext = ({
16
16
  tabPanel,
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "@atlaskit/tabs",
3
- "version": "13.4.0",
3
+ "version": "13.4.1",
4
4
  "sideEffects": false
5
5
  }
@@ -15,7 +15,7 @@ import { onMouseDownBlur } from '../internal/utils';
15
15
  var analyticsAttributes = {
16
16
  componentName: 'tabs',
17
17
  packageName: "@atlaskit/tabs",
18
- packageVersion: "13.4.0"
18
+ packageVersion: "13.4.1"
19
19
  };
20
20
  var getTabPanelWithContext = function getTabPanelWithContext(_ref) {
21
21
  var tabPanel = _ref.tabPanel,
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "@atlaskit/tabs",
3
- "version": "13.4.0",
3
+ "version": "13.4.1",
4
4
  "sideEffects": false
5
5
  }
@@ -1,5 +1,5 @@
1
1
  import { ThemeModes } from '@atlaskit/theme/types';
2
- export declare type TabColors = {
2
+ export type TabColors = {
3
3
  labelColor: string;
4
4
  activeLabelColor: string;
5
5
  hoverLabelColor: string;
@@ -7,7 +7,7 @@ export declare type TabColors = {
7
7
  focusBorderColor: string;
8
8
  };
9
9
  export declare const getTabColors: (mode: ThemeModes) => TabColors;
10
- export declare type TabLineColors = {
10
+ export type TabLineColors = {
11
11
  lineColor: string;
12
12
  hoveredColor: string;
13
13
  activeColor: string;
@@ -56,8 +56,8 @@ export interface TabData {
56
56
  */
57
57
  [key: string]: any;
58
58
  }
59
- export declare type SelectedType = number;
60
- export declare type OnChangeCallback = (index: SelectedType, analyticsEvent: UIAnalyticsEvent) => void;
59
+ export type SelectedType = number;
60
+ export type OnChangeCallback = (index: SelectedType, analyticsEvent: UIAnalyticsEvent) => void;
61
61
  export interface TabsProps extends WithAnalyticsEventsProps {
62
62
  /**
63
63
  * The index of the tab that will be selected by default when the component mounts.
@@ -108,7 +108,7 @@ export interface TabListProps {
108
108
  */
109
109
  children: ReactNode;
110
110
  }
111
- export declare type TabAttributesType = {
111
+ export type TabAttributesType = {
112
112
  /**
113
113
  * Changes the selected tab.
114
114
  */
@@ -152,7 +152,7 @@ export declare type TabAttributesType = {
152
152
  */
153
153
  tabIndex: number;
154
154
  };
155
- export declare type TabListAttributesType = {
155
+ export type TabListAttributesType = {
156
156
  /**
157
157
  * The index of the selected tab.
158
158
  */
@@ -167,7 +167,7 @@ export declare type TabListAttributesType = {
167
167
  */
168
168
  onChange: (index: SelectedType) => void;
169
169
  };
170
- export declare type TabPanelAttributesType = {
170
+ export type TabPanelAttributesType = {
171
171
  /**
172
172
  * Role is "tabpanel".
173
173
  */
@@ -6,9 +6,9 @@
6
6
  "sideEffects": false,
7
7
  "types": "../dist/types/hooks.d.ts",
8
8
  "typesVersions": {
9
- ">=4.0 <4.5": {
9
+ ">=4.5 <4.9": {
10
10
  "*": [
11
- "../dist/types-ts4.0/hooks.d.ts"
11
+ "../dist/types-ts4.5/hooks.d.ts"
12
12
  ]
13
13
  }
14
14
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/tabs",
3
- "version": "13.4.0",
3
+ "version": "13.4.1",
4
4
  "description": "Tabs are used to organize content by grouping similar information on the same page.",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/"
@@ -12,6 +12,14 @@
12
12
  "module": "dist/esm/index.js",
13
13
  "module:es2019": "dist/es2019/index.js",
14
14
  "types": "dist/types/index.d.ts",
15
+ "typesVersions": {
16
+ ">=4.5 <4.9": {
17
+ "*": [
18
+ "dist/types-ts4.5/*",
19
+ "dist/types-ts4.5/index.d.ts"
20
+ ]
21
+ }
22
+ },
15
23
  "sideEffects": false,
16
24
  "atlaskit:src": "src/index.tsx",
17
25
  "atlassian": {
@@ -27,7 +35,7 @@
27
35
  "@atlaskit/codemod-utils": "^4.2.0",
28
36
  "@atlaskit/ds-explorations": "^2.1.0",
29
37
  "@atlaskit/theme": "^12.5.0",
30
- "@atlaskit/tokens": "^1.3.0",
38
+ "@atlaskit/tokens": "^1.4.0",
31
39
  "@babel/runtime": "^7.0.0",
32
40
  "@emotion/react": "^11.7.1"
33
41
  },
@@ -46,12 +54,11 @@
46
54
  "@atlaskit/webdriver-runner": "*",
47
55
  "@atlassian/atlassian-frontend-prettier-config-1.0.1": "npm:@atlassian/atlassian-frontend-prettier-config@1.0.1",
48
56
  "@testing-library/react": "^12.1.5",
49
- "enzyme": "^3.10.0",
50
57
  "jscodeshift": "^0.13.0",
51
58
  "react-dom": "^16.8.0",
52
59
  "react-lorem-component": "^0.13.0",
53
60
  "storybook-addon-performance": "^0.16.0",
54
- "typescript": "4.5.5",
61
+ "typescript": "~4.9.5",
55
62
  "wait-for-expect": "^1.2.0"
56
63
  },
57
64
  "techstack": {
@@ -6,9 +6,9 @@
6
6
  "sideEffects": false,
7
7
  "types": "../dist/types/types.d.ts",
8
8
  "typesVersions": {
9
- ">=4.0 <4.5": {
9
+ ">=4.5 <4.9": {
10
10
  "*": [
11
- "../dist/types-ts4.0/types.d.ts"
11
+ "../dist/types-ts4.5/types.d.ts"
12
12
  ]
13
13
  }
14
14
  }