@atlaskit/textfield 6.1.1 → 6.1.3

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,17 @@
1
1
  # @atlaskit/textfield
2
2
 
3
+ ## 6.1.3
4
+
5
+ ### Patch Changes
6
+
7
+ - [#83130](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/83130) [`4efd62cdc533`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/4efd62cdc533) - SHPLVIII-481: Assign name to default export components to fix quick-fix imports
8
+
9
+ ## 6.1.2
10
+
11
+ ### Patch Changes
12
+
13
+ - [#83116](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/83116) [`8d4e99057fe0`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/8d4e99057fe0) - Upgrade Typescript from `4.9.5` to `5.4.2`
14
+
3
15
  ## 6.1.1
4
16
 
5
17
  ### Patch Changes
@@ -23,9 +23,9 @@ function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t =
23
23
  var analyticsParams = {
24
24
  componentName: 'textField',
25
25
  packageName: "@atlaskit/textfield",
26
- packageVersion: "6.1.1"
26
+ packageVersion: "6.1.3"
27
27
  };
28
- var Textfield = /*#__PURE__*/(0, _react.forwardRef)(function (props, ref) {
28
+ var TextfieldComponent = /*#__PURE__*/(0, _react.forwardRef)(function (props, ref) {
29
29
  var _props$appearance = props.appearance,
30
30
  appearance = _props$appearance === void 0 ? 'standard' : _props$appearance,
31
31
  className = props.className,
@@ -135,7 +135,7 @@ var Textfield = /*#__PURE__*/(0, _react.forwardRef)(function (props, ref) {
135
135
  })), elemAfterInput)
136
136
  );
137
137
  });
138
- Textfield.displayName = 'Textfield';
138
+ TextfieldComponent.displayName = 'Textfield';
139
139
 
140
140
  /**
141
141
  * __Textfield__
@@ -146,5 +146,7 @@ Textfield.displayName = 'Textfield';
146
146
  * - [Code](https://atlassian.design/components/textfield/code)
147
147
  * - [Usage](https://atlassian.design/components/textfield/usage)
148
148
  */
149
- var _default = exports.default = /*#__PURE__*/(0, _react.memo)(Textfield); // The above generic is used to let ERTC know what props to extract.
150
- // See: https://github.com/atlassian/extract-react-types/issues/201
149
+ var Textfield = /*#__PURE__*/(0, _react.memo)(TextfieldComponent);
150
+ // The above generic is used to let ERTC know what props to extract.
151
+ // See: https://github.com/atlassian/extract-react-types/issues/201
152
+ var _default = exports.default = Textfield;
@@ -7,9 +7,9 @@ import { containerStyles as getContainerStyles, inputStyles as getInputStyles }
7
7
  const analyticsParams = {
8
8
  componentName: 'textField',
9
9
  packageName: "@atlaskit/textfield",
10
- packageVersion: "6.1.1"
10
+ packageVersion: "6.1.3"
11
11
  };
12
- const Textfield = /*#__PURE__*/forwardRef((props, ref) => {
12
+ const TextfieldComponent = /*#__PURE__*/forwardRef((props, ref) => {
13
13
  const {
14
14
  appearance = 'standard',
15
15
  className,
@@ -114,7 +114,7 @@ const Textfield = /*#__PURE__*/forwardRef((props, ref) => {
114
114
  })), elemAfterInput)
115
115
  );
116
116
  });
117
- Textfield.displayName = 'Textfield';
117
+ TextfieldComponent.displayName = 'Textfield';
118
118
 
119
119
  /**
120
120
  * __Textfield__
@@ -125,6 +125,8 @@ Textfield.displayName = 'Textfield';
125
125
  * - [Code](https://atlassian.design/components/textfield/code)
126
126
  * - [Usage](https://atlassian.design/components/textfield/usage)
127
127
  */
128
- export default /*#__PURE__*/memo(Textfield);
128
+ const Textfield = /*#__PURE__*/memo(TextfieldComponent);
129
129
  // The above generic is used to let ERTC know what props to extract.
130
- // See: https://github.com/atlassian/extract-react-types/issues/201
130
+ // See: https://github.com/atlassian/extract-react-types/issues/201
131
+
132
+ export default Textfield;
@@ -13,9 +13,9 @@ import { containerStyles as getContainerStyles, inputStyles as getInputStyles }
13
13
  var analyticsParams = {
14
14
  componentName: 'textField',
15
15
  packageName: "@atlaskit/textfield",
16
- packageVersion: "6.1.1"
16
+ packageVersion: "6.1.3"
17
17
  };
18
- var Textfield = /*#__PURE__*/forwardRef(function (props, ref) {
18
+ var TextfieldComponent = /*#__PURE__*/forwardRef(function (props, ref) {
19
19
  var _props$appearance = props.appearance,
20
20
  appearance = _props$appearance === void 0 ? 'standard' : _props$appearance,
21
21
  className = props.className,
@@ -125,7 +125,7 @@ var Textfield = /*#__PURE__*/forwardRef(function (props, ref) {
125
125
  })), elemAfterInput)
126
126
  );
127
127
  });
128
- Textfield.displayName = 'Textfield';
128
+ TextfieldComponent.displayName = 'Textfield';
129
129
 
130
130
  /**
131
131
  * __Textfield__
@@ -136,6 +136,8 @@ Textfield.displayName = 'Textfield';
136
136
  * - [Code](https://atlassian.design/components/textfield/code)
137
137
  * - [Usage](https://atlassian.design/components/textfield/usage)
138
138
  */
139
- export default /*#__PURE__*/memo(Textfield);
139
+ var Textfield = /*#__PURE__*/memo(TextfieldComponent);
140
140
  // The above generic is used to let ERTC know what props to extract.
141
- // See: https://github.com/atlassian/extract-react-types/issues/201
141
+ // See: https://github.com/atlassian/extract-react-types/issues/201
142
+
143
+ export default Textfield;
@@ -10,5 +10,5 @@ import { TextfieldProps } from './types';
10
10
  * - [Code](https://atlassian.design/components/textfield/code)
11
11
  * - [Usage](https://atlassian.design/components/textfield/usage)
12
12
  */
13
- declare const _default: React.NamedExoticComponent<TextfieldProps & React.RefAttributes<unknown>>;
14
- export default _default;
13
+ declare const Textfield: React.NamedExoticComponent<TextfieldProps & React.RefAttributes<unknown>>;
14
+ export default Textfield;
@@ -10,5 +10,5 @@ import { TextfieldProps } from './types';
10
10
  * - [Code](https://atlassian.design/components/textfield/code)
11
11
  * - [Usage](https://atlassian.design/components/textfield/usage)
12
12
  */
13
- declare const _default: React.NamedExoticComponent<TextfieldProps & React.RefAttributes<unknown>>;
14
- export default _default;
13
+ declare const Textfield: React.NamedExoticComponent<TextfieldProps & React.RefAttributes<unknown>>;
14
+ export default Textfield;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/textfield",
3
- "version": "6.1.1",
3
+ "version": "6.1.3",
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/"
@@ -29,7 +29,7 @@
29
29
  "@atlaskit/analytics-next": "^9.2.0",
30
30
  "@atlaskit/platform-feature-flags": "^0.2.0",
31
31
  "@atlaskit/theme": "^12.6.0",
32
- "@atlaskit/tokens": "^1.41.0",
32
+ "@atlaskit/tokens": "^1.42.0",
33
33
  "@babel/runtime": "^7.0.0",
34
34
  "@emotion/react": "^11.7.1"
35
35
  },
@@ -51,7 +51,7 @@
51
51
  "jscodeshift": "^0.13.0",
52
52
  "react-dom": "^16.8.0",
53
53
  "storybook-addon-performance": "^0.16.0",
54
- "typescript": "~4.9.5",
54
+ "typescript": "~5.4.2",
55
55
  "wait-for-expect": "^1.2.0"
56
56
  },
57
57
  "keywords": [
@@ -100,4 +100,4 @@
100
100
  },
101
101
  "homepage": "https://atlassian.design/components/textfield/",
102
102
  "prettier": "@atlassian/atlassian-frontend-prettier-config-1.0.1"
103
- }
103
+ }