@atlaskit/tabs 13.3.13 → 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,21 @@
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
+
9
+ ## 13.4.0
10
+
11
+ ### Minor Changes
12
+
13
+ - [`56507598609`](https://bitbucket.org/atlassian/atlassian-frontend/commits/56507598609) - Skip minor dependency bump
14
+
15
+ ### Patch Changes
16
+
17
+ - Updated dependencies
18
+
3
19
  ## 13.3.13
4
20
 
5
21
  ### Patch Changes
@@ -17,11 +17,11 @@ var _context = require("../internal/context");
17
17
  var _styles = require("../internal/styles");
18
18
  var _utils = require("../internal/utils");
19
19
  function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
20
- function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { (0, _defineProperty2.default)(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
20
+ function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { (0, _defineProperty2.default)(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; } /** @jsx jsx */
21
21
  var analyticsAttributes = {
22
22
  componentName: 'tabs',
23
23
  packageName: "@atlaskit/tabs",
24
- packageVersion: "13.3.13"
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.3.13",
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.3.13"
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.3.13",
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.3.13"
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.3.13",
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.3.13",
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": {
@@ -23,11 +31,11 @@
23
31
  }
24
32
  },
25
33
  "dependencies": {
26
- "@atlaskit/analytics-next": "^9.0.0",
27
- "@atlaskit/codemod-utils": "^4.1.0",
28
- "@atlaskit/ds-explorations": "^2.0.0",
29
- "@atlaskit/theme": "^12.2.0",
30
- "@atlaskit/tokens": "^1.2.0",
34
+ "@atlaskit/analytics-next": "^9.1.0",
35
+ "@atlaskit/codemod-utils": "^4.2.0",
36
+ "@atlaskit/ds-explorations": "^2.1.0",
37
+ "@atlaskit/theme": "^12.5.0",
38
+ "@atlaskit/tokens": "^1.4.0",
31
39
  "@babel/runtime": "^7.0.0",
32
40
  "@emotion/react": "^11.7.1"
33
41
  },
@@ -35,23 +43,22 @@
35
43
  "react": "^16.8.0"
36
44
  },
37
45
  "devDependencies": {
38
- "@atlaskit/button": "^16.5.0",
46
+ "@atlaskit/button": "^16.7.0",
39
47
  "@atlaskit/docs": "*",
40
- "@atlaskit/ds-lib": "^2.1.0",
41
- "@atlaskit/section-message": "^6.3.0",
42
- "@atlaskit/spinner": "^15.3.0",
48
+ "@atlaskit/ds-lib": "^2.2.0",
49
+ "@atlaskit/section-message": "^6.4.0",
50
+ "@atlaskit/spinner": "^15.5.0",
43
51
  "@atlaskit/ssr": "*",
44
- "@atlaskit/tooltip": "^17.6.0",
52
+ "@atlaskit/tooltip": "^17.8.0",
45
53
  "@atlaskit/visual-regression": "*",
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": {
package/report.api.md CHANGED
@@ -8,6 +8,7 @@
8
8
  ### Table of contents
9
9
 
10
10
  - [Main Entry Types](#main-entry-types)
11
+ - [Peer Dependencies](#peer-dependencies)
11
12
 
12
13
  ### Main Entry Types
13
14
 
@@ -121,3 +122,15 @@ export const useTabPanel: () => TabPanelAttributesType;
121
122
  ```
122
123
 
123
124
  <!--SECTION END: Main Entry Types-->
125
+
126
+ ### Peer Dependencies
127
+
128
+ <!--SECTION START: Peer Dependencies-->
129
+
130
+ ```json
131
+ {
132
+ "react": "^16.8.0"
133
+ }
134
+ ```
135
+
136
+ <!--SECTION END: Peer Dependencies-->
@@ -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
  }