@atlaskit/textfield 5.1.13 → 5.2.0

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,15 @@
1
1
  # @atlaskit/textfield
2
2
 
3
+ ## 5.2.0
4
+
5
+ ### Minor Changes
6
+
7
+ - [`acf974e717c`](https://bitbucket.org/atlassian/atlassian-frontend/commits/acf974e717c) - Updates `@emotion/core` to `@emotion/react`; v10 to v11. There is no expected behavior change.
8
+
9
+ ### Patch Changes
10
+
11
+ - Updated dependencies
12
+
3
13
  ## 5.1.13
4
14
 
5
15
  ### Patch Changes
@@ -19,7 +19,7 @@ var _objectWithoutProperties2 = _interopRequireDefault(require("@babel/runtime/h
19
19
 
20
20
  var _react = _interopRequireWildcard(require("react"));
21
21
 
22
- var _core = require("@emotion/core");
22
+ var _react2 = require("@emotion/react");
23
23
 
24
24
  var _analyticsNext = require("@atlaskit/analytics-next");
25
25
 
@@ -40,7 +40,7 @@ function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { va
40
40
  var analyticsParams = {
41
41
  componentName: 'textField',
42
42
  packageName: "@atlaskit/textfield",
43
- packageVersion: "5.1.13"
43
+ packageVersion: "5.2.0"
44
44
  };
45
45
  var Textfield = /*#__PURE__*/(0, _react.forwardRef)(function (props, ref) {
46
46
  var _props$appearance = props.appearance,
@@ -125,7 +125,7 @@ var Textfield = /*#__PURE__*/(0, _react.forwardRef)(function (props, ref) {
125
125
  }, [mode]);
126
126
  return (// We use event bubbling here to listen to any child element mouse down event.
127
127
  // eslint-disable-next-line jsx-a11y/no-static-element-interactions
128
- (0, _core.jsx)("div", {
128
+ (0, _react2.jsx)("div", {
129
129
  "data-disabled": isDisabled ? isDisabled : undefined,
130
130
  "data-invalid": isInvalid ? isInvalid : undefined,
131
131
  "data-ds--text-field--container": true,
@@ -135,7 +135,7 @@ var Textfield = /*#__PURE__*/(0, _react.forwardRef)(function (props, ref) {
135
135
  ,
136
136
  css: containerStyles,
137
137
  className: className
138
- }, elemBeforeInput, (0, _core.jsx)("input", (0, _extends2.default)({}, spreadProps, {
138
+ }, elemBeforeInput, (0, _react2.jsx)("input", (0, _extends2.default)({}, spreadProps, {
139
139
  "data-compact": isCompact ? isCompact : undefined,
140
140
  "data-monospaced": isMonospaced ? isMonospaced : undefined,
141
141
  "data-ds--text-field--input": true,
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "@atlaskit/textfield",
3
- "version": "5.1.13",
3
+ "version": "5.2.0",
4
4
  "sideEffects": false
5
5
  }
@@ -2,14 +2,14 @@ import _extends from "@babel/runtime/helpers/extends";
2
2
 
3
3
  /** @jsx jsx */
4
4
  import React, { forwardRef, memo, useCallback, useMemo, useRef } from 'react';
5
- import { jsx } from '@emotion/core';
5
+ import { jsx } from '@emotion/react';
6
6
  import { usePlatformLeafEventHandler } from '@atlaskit/analytics-next';
7
7
  import { useGlobalTheme } from '@atlaskit/theme/components';
8
8
  import { containerStyles as getContainerStyles, inputStyles as getInputStyles } from './styles';
9
9
  const analyticsParams = {
10
10
  componentName: 'textField',
11
11
  packageName: "@atlaskit/textfield",
12
- packageVersion: "5.1.13"
12
+ packageVersion: "5.2.0"
13
13
  };
14
14
  const Textfield = /*#__PURE__*/forwardRef((props, ref) => {
15
15
  const {
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "@atlaskit/textfield",
3
- "version": "5.1.13",
3
+ "version": "5.2.0",
4
4
  "sideEffects": false
5
5
  }
@@ -10,14 +10,14 @@ function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { va
10
10
 
11
11
  /** @jsx jsx */
12
12
  import React, { forwardRef, memo, useCallback, useMemo, useRef } from 'react';
13
- import { jsx } from '@emotion/core';
13
+ import { jsx } from '@emotion/react';
14
14
  import { usePlatformLeafEventHandler } from '@atlaskit/analytics-next';
15
15
  import { useGlobalTheme } from '@atlaskit/theme/components';
16
16
  import { containerStyles as getContainerStyles, inputStyles as getInputStyles } from './styles';
17
17
  var analyticsParams = {
18
18
  componentName: 'textField',
19
19
  packageName: "@atlaskit/textfield",
20
- packageVersion: "5.1.13"
20
+ packageVersion: "5.2.0"
21
21
  };
22
22
  var Textfield = /*#__PURE__*/forwardRef(function (props, ref) {
23
23
  var _props$appearance = props.appearance,
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "@atlaskit/textfield",
3
- "version": "5.1.13",
3
+ "version": "5.2.0",
4
4
  "sideEffects": false
5
5
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/textfield",
3
- "version": "5.1.13",
3
+ "version": "5.2.0",
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/"
@@ -27,10 +27,10 @@
27
27
  },
28
28
  "dependencies": {
29
29
  "@atlaskit/analytics-next": "^8.2.0",
30
- "@atlaskit/theme": "^12.1.0",
30
+ "@atlaskit/theme": "^12.2.0",
31
31
  "@atlaskit/tokens": "^0.10.0",
32
32
  "@babel/runtime": "^7.0.0",
33
- "@emotion/core": "^10.0.9"
33
+ "@emotion/react": "^11.7.1"
34
34
  },
35
35
  "peerDependencies": {
36
36
  "react": "^16.8.0"
@@ -39,11 +39,12 @@
39
39
  "@atlaskit/avatar": "^21.0.0",
40
40
  "@atlaskit/button": "^16.3.0",
41
41
  "@atlaskit/docs": "*",
42
+ "@atlaskit/ds-lib": "^2.0.1",
42
43
  "@atlaskit/form": "^8.5.0",
43
44
  "@atlaskit/icon": "^21.10.0",
44
- "@atlaskit/section-message": "^6.1.0",
45
+ "@atlaskit/section-message": "^6.2.0",
45
46
  "@atlaskit/ssr": "*",
46
- "@atlaskit/toggle": "^12.4.0",
47
+ "@atlaskit/toggle": "^12.5.0",
47
48
  "@atlaskit/visual-regression": "*",
48
49
  "@atlaskit/webdriver-runner": "*",
49
50
  "@atlassian/atlassian-frontend-prettier-config-1.0.1": "npm:@atlassian/atlassian-frontend-prettier-config@1.0.1",