@atlaskit/textfield 5.3.7 → 5.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/textfield
2
2
 
3
+ ## 5.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
+ ## 5.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
  ## 5.3.7
4
20
 
5
21
  ### Patch Changes
@@ -24,7 +24,7 @@ function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { va
24
24
  var analyticsParams = {
25
25
  componentName: 'textField',
26
26
  packageName: "@atlaskit/textfield",
27
- packageVersion: "5.3.7"
27
+ packageVersion: "5.4.1"
28
28
  };
29
29
  var Textfield = /*#__PURE__*/(0, _react.forwardRef)(function (props, ref) {
30
30
  var _props$appearance = props.appearance,
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "@atlaskit/textfield",
3
- "version": "5.3.7",
3
+ "version": "5.4.1",
4
4
  "sideEffects": false
5
5
  }
@@ -8,7 +8,7 @@ import { containerStyles as getContainerStyles, inputStyles as getInputStyles }
8
8
  const analyticsParams = {
9
9
  componentName: 'textField',
10
10
  packageName: "@atlaskit/textfield",
11
- packageVersion: "5.3.7"
11
+ packageVersion: "5.4.1"
12
12
  };
13
13
  const Textfield = /*#__PURE__*/forwardRef((props, ref) => {
14
14
  const {
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "@atlaskit/textfield",
3
- "version": "5.3.7",
3
+ "version": "5.4.1",
4
4
  "sideEffects": false
5
5
  }
@@ -14,7 +14,7 @@ import { containerStyles as getContainerStyles, inputStyles as getInputStyles }
14
14
  var analyticsParams = {
15
15
  componentName: 'textField',
16
16
  packageName: "@atlaskit/textfield",
17
- packageVersion: "5.3.7"
17
+ packageVersion: "5.4.1"
18
18
  };
19
19
  var Textfield = /*#__PURE__*/forwardRef(function (props, ref) {
20
20
  var _props$appearance = props.appearance,
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "@atlaskit/textfield",
3
- "version": "5.3.7",
3
+ "version": "5.4.1",
4
4
  "sideEffects": false
5
5
  }
@@ -1,6 +1,6 @@
1
1
  import { ThemeModes } from '@atlaskit/theme/types';
2
2
  import { Appearance } from './types';
3
- export declare const containerStyles: (appearance: Appearance, mode: ThemeModes, width?: string | number | undefined) => {
3
+ export declare const containerStyles: (appearance: Appearance, mode: ThemeModes, width?: string | number) => {
4
4
  readonly borderRadius: 3;
5
5
  readonly borderWidth: 2;
6
6
  readonly borderStyle: "none" | "solid";
@@ -1,7 +1,6 @@
1
1
  /** @jsx jsx */
2
2
  import React from 'react';
3
3
  import { TextfieldProps } from './types';
4
- declare const _default: React.NamedExoticComponent<TextfieldProps & React.RefAttributes<unknown>>;
5
4
  /**
6
5
  * __Textfield__
7
6
  *
@@ -11,4 +10,5 @@ declare const _default: React.NamedExoticComponent<TextfieldProps & React.RefAtt
11
10
  * - [Code](https://atlassian.design/components/textfield/code)
12
11
  * - [Usage](https://atlassian.design/components/textfield/usage)
13
12
  */
13
+ declare const _default: React.NamedExoticComponent<TextfieldProps & React.RefAttributes<unknown>>;
14
14
  export default _default;
@@ -68,4 +68,4 @@ export interface TextfieldProps extends AllHTMLAttributes<HTMLInputElement> {
68
68
  */
69
69
  onChange?: FormEventHandler<HTMLInputElement>;
70
70
  }
71
- export declare type Appearance = 'subtle' | 'standard' | 'none';
71
+ export type Appearance = 'subtle' | 'standard' | 'none';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/textfield",
3
- "version": "5.3.7",
3
+ "version": "5.4.1",
4
4
  "description": "A text field is an input that allows a user to write or edit text.",
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": {
@@ -26,9 +34,9 @@
26
34
  ".": "./src/index.tsx"
27
35
  },
28
36
  "dependencies": {
29
- "@atlaskit/analytics-next": "^9.0.0",
30
- "@atlaskit/theme": "^12.4.0",
31
- "@atlaskit/tokens": "^1.2.0",
37
+ "@atlaskit/analytics-next": "^9.1.0",
38
+ "@atlaskit/theme": "^12.5.0",
39
+ "@atlaskit/tokens": "^1.4.0",
32
40
  "@babel/runtime": "^7.0.0",
33
41
  "@emotion/react": "^11.7.1"
34
42
  },
@@ -36,15 +44,15 @@
36
44
  "react": "^16.8.0"
37
45
  },
38
46
  "devDependencies": {
39
- "@atlaskit/avatar": "^21.2.0",
40
- "@atlaskit/button": "^16.6.0",
47
+ "@atlaskit/avatar": "^21.3.0",
48
+ "@atlaskit/button": "^16.7.0",
41
49
  "@atlaskit/docs": "*",
42
- "@atlaskit/ds-lib": "^2.0.1",
43
- "@atlaskit/form": "^8.10.0",
44
- "@atlaskit/icon": "^21.11.0",
45
- "@atlaskit/section-message": "^6.3.0",
50
+ "@atlaskit/ds-lib": "^2.2.0",
51
+ "@atlaskit/form": "^8.11.0",
52
+ "@atlaskit/icon": "^21.12.0",
53
+ "@atlaskit/section-message": "^6.4.0",
46
54
  "@atlaskit/ssr": "*",
47
- "@atlaskit/toggle": "^12.5.0",
55
+ "@atlaskit/toggle": "^12.6.0",
48
56
  "@atlaskit/visual-regression": "*",
49
57
  "@atlaskit/webdriver-runner": "*",
50
58
  "@atlassian/atlassian-frontend-prettier-config-1.0.1": "npm:@atlassian/atlassian-frontend-prettier-config@1.0.1",
@@ -53,7 +61,7 @@
53
61
  "jscodeshift": "^0.13.0",
54
62
  "react-dom": "^16.8.0",
55
63
  "storybook-addon-performance": "^0.16.0",
56
- "typescript": "4.5.5",
64
+ "typescript": "~4.9.5",
57
65
  "wait-for-expect": "^1.2.0"
58
66
  },
59
67
  "keywords": [