@atlaskit/textfield 5.5.0 → 5.5.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 +6 -0
- package/dist/cjs/styles.js +3 -1
- package/dist/cjs/text-field.js +1 -1
- package/dist/cjs/version.json +1 -1
- package/dist/es2019/styles.js +3 -1
- package/dist/es2019/text-field.js +1 -1
- package/dist/es2019/version.json +1 -1
- package/dist/esm/styles.js +3 -1
- package/dist/esm/text-field.js +1 -1
- package/dist/esm/version.json +1 -1
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,11 @@
|
|
|
1
1
|
# @atlaskit/textfield
|
|
2
2
|
|
|
3
|
+
## 5.5.1
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [`774ed69ecef`](https://bitbucket.org/atlassian/atlassian-frontend/commits/774ed69ecef) - Internal changes to use space tokens for spacing values. There is no visual change.
|
|
8
|
+
|
|
3
9
|
## 5.5.0
|
|
4
10
|
|
|
5
11
|
### Minor Changes
|
package/dist/cjs/styles.js
CHANGED
|
@@ -141,7 +141,9 @@ var containerStyles = function containerStyles(appearance, mode, width) {
|
|
|
141
141
|
}, getContainerTextBgAndBorderColor(appearance, mode)), {}, {
|
|
142
142
|
borderRadius: 3,
|
|
143
143
|
borderWidth: (0, _platformFeatureFlags.getBooleanFF)('platform.design-system-team.update-border-input_ff9l1') ? 1 : 2
|
|
144
|
-
}, (0, _platformFeatureFlags.getBooleanFF)('platform.design-system-team.update-border-input_ff9l1') && appearance !== 'none' ?
|
|
144
|
+
}, (0, _platformFeatureFlags.getBooleanFF)('platform.design-system-team.update-border-input_ff9l1') && appearance !== 'none' ?
|
|
145
|
+
// eslint-disable-next-line @atlaskit/design-system/ensure-design-token-usage-spacing
|
|
146
|
+
{
|
|
145
147
|
padding: '1px 0'
|
|
146
148
|
} : {}), {}, {
|
|
147
149
|
borderStyle: appearance === 'none' ? 'none' : 'solid',
|
package/dist/cjs/text-field.js
CHANGED
|
@@ -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.5.
|
|
27
|
+
packageVersion: "5.5.1"
|
|
28
28
|
};
|
|
29
29
|
var Textfield = /*#__PURE__*/(0, _react.forwardRef)(function (props, ref) {
|
|
30
30
|
var _props$appearance = props.appearance,
|
package/dist/cjs/version.json
CHANGED
package/dist/es2019/styles.js
CHANGED
|
@@ -129,7 +129,9 @@ export const containerStyles = (appearance, mode, width) => ({
|
|
|
129
129
|
borderRadius: 3,
|
|
130
130
|
borderWidth: getBooleanFF('platform.design-system-team.update-border-input_ff9l1') ? 1 : 2,
|
|
131
131
|
// add 1px padding on both top and bottom to keep the same overall height after border reduced from 2px to 1px under feature flag
|
|
132
|
-
...(getBooleanFF('platform.design-system-team.update-border-input_ff9l1') && appearance !== 'none' ?
|
|
132
|
+
...(getBooleanFF('platform.design-system-team.update-border-input_ff9l1') && appearance !== 'none' ?
|
|
133
|
+
// eslint-disable-next-line @atlaskit/design-system/ensure-design-token-usage-spacing
|
|
134
|
+
{
|
|
133
135
|
padding: '1px 0'
|
|
134
136
|
} : {}),
|
|
135
137
|
borderStyle: appearance === 'none' ? 'none' : 'solid',
|
|
@@ -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.5.
|
|
11
|
+
packageVersion: "5.5.1"
|
|
12
12
|
};
|
|
13
13
|
const Textfield = /*#__PURE__*/forwardRef((props, ref) => {
|
|
14
14
|
const {
|
package/dist/es2019/version.json
CHANGED
package/dist/esm/styles.js
CHANGED
|
@@ -133,7 +133,9 @@ export var containerStyles = function containerStyles(appearance, mode, width) {
|
|
|
133
133
|
}, getContainerTextBgAndBorderColor(appearance, mode)), {}, {
|
|
134
134
|
borderRadius: 3,
|
|
135
135
|
borderWidth: getBooleanFF('platform.design-system-team.update-border-input_ff9l1') ? 1 : 2
|
|
136
|
-
}, getBooleanFF('platform.design-system-team.update-border-input_ff9l1') && appearance !== 'none' ?
|
|
136
|
+
}, getBooleanFF('platform.design-system-team.update-border-input_ff9l1') && appearance !== 'none' ?
|
|
137
|
+
// eslint-disable-next-line @atlaskit/design-system/ensure-design-token-usage-spacing
|
|
138
|
+
{
|
|
137
139
|
padding: '1px 0'
|
|
138
140
|
} : {}), {}, {
|
|
139
141
|
borderStyle: appearance === 'none' ? 'none' : 'solid',
|
package/dist/esm/text-field.js
CHANGED
|
@@ -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.5.
|
|
17
|
+
packageVersion: "5.5.1"
|
|
18
18
|
};
|
|
19
19
|
var Textfield = /*#__PURE__*/forwardRef(function (props, ref) {
|
|
20
20
|
var _props$appearance = props.appearance,
|
package/dist/esm/version.json
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/textfield",
|
|
3
|
-
"version": "5.5.
|
|
3
|
+
"version": "5.5.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/"
|
|
@@ -37,7 +37,7 @@
|
|
|
37
37
|
"@atlaskit/analytics-next": "^9.1.0",
|
|
38
38
|
"@atlaskit/platform-feature-flags": "^0.2.0",
|
|
39
39
|
"@atlaskit/theme": "^12.5.0",
|
|
40
|
-
"@atlaskit/tokens": "^1.
|
|
40
|
+
"@atlaskit/tokens": "^1.5.0",
|
|
41
41
|
"@babel/runtime": "^7.0.0",
|
|
42
42
|
"@emotion/react": "^11.7.1"
|
|
43
43
|
},
|