@atlaskit/textfield 5.3.2 → 5.3.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,11 @@
1
1
  # @atlaskit/textfield
2
2
 
3
+ ## 5.3.3
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies
8
+
3
9
  ## 5.3.2
4
10
 
5
11
  ### Patch Changes
@@ -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.3.2"
43
+ packageVersion: "5.3.3"
44
44
  };
45
45
  var Textfield = /*#__PURE__*/(0, _react.forwardRef)(function (props, ref) {
46
46
  var _props$appearance = props.appearance,
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "@atlaskit/textfield",
3
- "version": "5.3.2",
3
+ "version": "5.3.3",
4
4
  "sideEffects": false
5
5
  }
@@ -9,7 +9,7 @@ import { containerStyles as getContainerStyles, inputStyles as getInputStyles }
9
9
  const analyticsParams = {
10
10
  componentName: 'textField',
11
11
  packageName: "@atlaskit/textfield",
12
- packageVersion: "5.3.2"
12
+ packageVersion: "5.3.3"
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.3.2",
3
+ "version": "5.3.3",
4
4
  "sideEffects": false
5
5
  }
@@ -17,7 +17,7 @@ import { containerStyles as getContainerStyles, inputStyles as getInputStyles }
17
17
  var analyticsParams = {
18
18
  componentName: 'textField',
19
19
  packageName: "@atlaskit/textfield",
20
- packageVersion: "5.3.2"
20
+ packageVersion: "5.3.3"
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.3.2",
3
+ "version": "5.3.3",
4
4
  "sideEffects": false
5
5
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/textfield",
3
- "version": "5.3.2",
3
+ "version": "5.3.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
  "dependencies": {
30
30
  "@atlaskit/analytics-next": "^8.2.0",
31
31
  "@atlaskit/theme": "^12.2.0",
32
- "@atlaskit/tokens": "^0.11.0",
32
+ "@atlaskit/tokens": "^0.12.0",
33
33
  "@babel/runtime": "^7.0.0",
34
34
  "@emotion/react": "^11.7.1"
35
35
  },
@@ -38,10 +38,10 @@
38
38
  },
39
39
  "devDependencies": {
40
40
  "@atlaskit/avatar": "^21.1.0",
41
- "@atlaskit/button": "^16.4.0",
41
+ "@atlaskit/button": "^16.5.0",
42
42
  "@atlaskit/docs": "*",
43
43
  "@atlaskit/ds-lib": "^2.0.1",
44
- "@atlaskit/form": "^8.7.0",
44
+ "@atlaskit/form": "^8.8.0",
45
45
  "@atlaskit/icon": "^21.11.0",
46
46
  "@atlaskit/section-message": "^6.3.0",
47
47
  "@atlaskit/ssr": "*",
package/report.api.md CHANGED
@@ -1,12 +1,17 @@
1
+ <!-- API Report Version: 2.2 -->
2
+
1
3
  ## API Report File for "@atlaskit/textfield"
2
4
 
3
- > Do not edit this file. It is a report generated by [API Extractor](https://api-extractor.com/).
5
+ > Do not edit this file. This report is auto-generated using [API Extractor](https://api-extractor.com/).
6
+ > [Learn more about API reports](https://hello.atlassian.net/wiki/spaces/UR/pages/1825484529/Package+API+Reports)
7
+
8
+ ### Table of contents
4
9
 
5
- <!--
6
- Generated API Report version: 2.0
7
- -->
10
+ - [Main Entry Types](#main-entry-types)
8
11
 
9
- [Learn more about API reports](https://hello.atlassian.net/wiki/spaces/UR/pages/1825484529/Package+API+Reports)
12
+ ### Main Entry Types
13
+
14
+ <!--SECTION START: Main Entry Types-->
10
15
 
11
16
  ```ts
12
17
  import { AllHTMLAttributes } from 'react';
@@ -14,7 +19,7 @@ import { FormEventHandler } from 'react';
14
19
  import { default as React_2 } from 'react';
15
20
 
16
21
  // @public (undocumented)
17
- export type Appearance = 'subtle' | 'standard' | 'none';
22
+ export type Appearance = 'none' | 'standard' | 'subtle';
18
23
 
19
24
  // @public (undocumented)
20
25
  const _default: React_2.NamedExoticComponent<
@@ -58,8 +63,8 @@ export const TextFieldColors: {
58
63
  dark: 'var(--ds-background-input-hovered)';
59
64
  };
60
65
  subtle: {
61
- light: 'var(--ds-background-neutral-subtle-hovered)';
62
- dark: 'var(--ds-background-neutral-subtle-hovered)';
66
+ light: 'var(--ds-background-input-hovered)';
67
+ dark: 'var(--ds-background-input-hovered)';
63
68
  };
64
69
  none: {
65
70
  light: string;
@@ -68,8 +73,8 @@ export const TextFieldColors: {
68
73
  };
69
74
  borderColor: {
70
75
  standard: {
71
- light: 'var(--ds-border)';
72
- dark: 'var(--ds-border)';
76
+ light: 'var(--ds-border-input)';
77
+ dark: 'var(--ds-border-input)';
73
78
  };
74
79
  subtle: {
75
80
  light: string;
@@ -94,6 +99,20 @@ export const TextFieldColors: {
94
99
  dark: string;
95
100
  };
96
101
  };
102
+ borderColorHover: {
103
+ standard: {
104
+ light: 'var(--ds-border-input)';
105
+ dark: 'var(--ds-border-input)';
106
+ };
107
+ subtle: {
108
+ light: 'var(--ds-border-input)';
109
+ dark: 'var(--ds-border-input)';
110
+ };
111
+ none: {
112
+ light: string;
113
+ dark: string;
114
+ };
115
+ };
97
116
  placeholderTextColor: {
98
117
  light: 'var(--ds-text-subtlest)';
99
118
  dark: 'var(--ds-text-subtlest)';
@@ -136,7 +155,7 @@ export const TextFieldColors: {
136
155
 
137
156
  // @public (undocumented)
138
157
  export interface TextFieldProps extends AllHTMLAttributes<HTMLInputElement> {
139
- appearance?: 'standard' | 'none' | 'subtle';
158
+ appearance?: Appearance;
140
159
  className?: string;
141
160
  elemAfterInput?: React_2.ReactNode;
142
161
  elemBeforeInput?: React_2.ReactNode;
@@ -151,8 +170,10 @@ export interface TextFieldProps extends AllHTMLAttributes<HTMLInputElement> {
151
170
  onMouseDown?: React_2.MouseEventHandler<HTMLElement>;
152
171
  placeholder?: string;
153
172
  testId?: string;
154
- width?: string | number;
173
+ width?: number | string;
155
174
  }
156
175
 
157
176
  // (No @packageDocumentation comment for this package)
158
177
  ```
178
+
179
+ <!--SECTION END: Main Entry Types-->