@atlaskit/textarea 4.7.4 → 4.7.5

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/textarea
2
2
 
3
+ ## 4.7.5
4
+
5
+ ### Patch Changes
6
+
7
+ - [`356d6ebed05`](https://bitbucket.org/atlassian/atlassian-frontend/commits/356d6ebed05) - This package is now onboarded onto the product push model.
8
+
3
9
  ## 4.7.4
4
10
 
5
11
  ### Patch Changes
@@ -49,13 +49,13 @@ var bgAndBorderColorStyles = function bgAndBorderColorStyles(props, appearance)
49
49
  backgroundColor: props.backgroundColor,
50
50
  borderColor: props.borderColor
51
51
  },
52
- // eslint-disable-next-line @repo/internal/styles/no-nested-styles
52
+ // eslint-disable-next-line @atlaskit/design-system/no-nested-styles
53
53
  '&[data-invalid]:focus': {
54
54
  backgroundColor: props.invalidRules.backgroundColorFocus,
55
55
  borderColor: props.invalidRules.borderColorFocus,
56
56
  boxShadow: (0, _platformFeatureFlags.getBooleanFF)('platform.design-system-team.border-checkbox_nyoiu') ? "inset 0 0 0 ".concat("var(--ds-border-width, 1px)", " ", props.invalidRules.borderColorFocus) : undefined
57
57
  },
58
- // eslint-disable-next-line @repo/internal/styles/no-nested-styles
58
+ // eslint-disable-next-line @atlaskit/design-system/no-nested-styles
59
59
  '&[data-invalid]:not(:focus)': {
60
60
  backgroundColor: props.invalidRules.backgroundColor,
61
61
  borderColor: props.invalidRules.borderColor,
@@ -87,7 +87,7 @@ var hoverBackgroundAndBorderStyles = function hoverBackgroundAndBorderStyles(pro
87
87
  '&:disabled': {
88
88
  backgroundColor: props.disabledRules.backgroundColorHover
89
89
  },
90
- // eslint-disable-next-line @repo/internal/styles/no-nested-styles
90
+ // eslint-disable-next-line @atlaskit/design-system/no-nested-styles
91
91
  '&[data-invalid]': {
92
92
  backgroundColor: props.invalidRules.backgroundColorHover,
93
93
  borderColor: props.invalidRules.borderColor,
@@ -128,7 +128,7 @@ var borderPaddingAndHeightStyles = function borderPaddingAndHeightStyles() {
128
128
  var horizontalPaddingWithoutBorderWidth = horizontalPadding - borderWidth;
129
129
  var borderHeight = borderWidth;
130
130
  return (0, _react.css)({
131
- // eslint-disable-next-line @repo/internal/styles/no-nested-styles
131
+ // eslint-disable-next-line @atlaskit/design-system/no-nested-styles
132
132
  '&[data-compact]': {
133
133
  minHeight: borderBoxMinHeightCompact(minimumRows, borderHeight),
134
134
  // eslint-disable-next-line @atlaskit/design-system/ensure-design-token-usage
@@ -23,7 +23,7 @@ function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj &&
23
23
  function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
24
24
  function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { (0, _defineProperty2.default)(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
25
25
  var packageName = "@atlaskit/textarea";
26
- var packageVersion = "4.7.4";
26
+ var packageVersion = "4.7.5";
27
27
  var analyticsParams = {
28
28
  componentName: 'textArea',
29
29
  packageName: packageName,
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "@atlaskit/textarea",
3
- "version": "4.7.4",
3
+ "version": "4.7.5",
4
4
  "sideEffects": false
5
5
  }
@@ -40,13 +40,13 @@ const bgAndBorderColorStyles = (props, appearance) => css({
40
40
  backgroundColor: props.backgroundColor,
41
41
  borderColor: props.borderColor
42
42
  },
43
- // eslint-disable-next-line @repo/internal/styles/no-nested-styles
43
+ // eslint-disable-next-line @atlaskit/design-system/no-nested-styles
44
44
  '&[data-invalid]:focus': {
45
45
  backgroundColor: props.invalidRules.backgroundColorFocus,
46
46
  borderColor: props.invalidRules.borderColorFocus,
47
47
  boxShadow: getBooleanFF('platform.design-system-team.border-checkbox_nyoiu') ? `inset 0 0 0 ${"var(--ds-border-width, 1px)"} ${props.invalidRules.borderColorFocus}` : undefined
48
48
  },
49
- // eslint-disable-next-line @repo/internal/styles/no-nested-styles
49
+ // eslint-disable-next-line @atlaskit/design-system/no-nested-styles
50
50
  '&[data-invalid]:not(:focus)': {
51
51
  backgroundColor: props.invalidRules.backgroundColor,
52
52
  borderColor: props.invalidRules.borderColor,
@@ -77,7 +77,7 @@ const hoverBackgroundAndBorderStyles = props => css({
77
77
  '&:disabled': {
78
78
  backgroundColor: props.disabledRules.backgroundColorHover
79
79
  },
80
- // eslint-disable-next-line @repo/internal/styles/no-nested-styles
80
+ // eslint-disable-next-line @atlaskit/design-system/no-nested-styles
81
81
  '&[data-invalid]': {
82
82
  backgroundColor: props.invalidRules.backgroundColorHover,
83
83
  borderColor: props.invalidRules.borderColor,
@@ -111,7 +111,7 @@ const borderPaddingAndHeightStyles = (minimumRows = 1, appearance) => {
111
111
  const horizontalPaddingWithoutBorderWidth = horizontalPadding - borderWidth;
112
112
  const borderHeight = borderWidth;
113
113
  return css({
114
- // eslint-disable-next-line @repo/internal/styles/no-nested-styles
114
+ // eslint-disable-next-line @atlaskit/design-system/no-nested-styles
115
115
  '&[data-compact]': {
116
116
  minHeight: borderBoxMinHeightCompact(minimumRows, borderHeight),
117
117
  // eslint-disable-next-line @atlaskit/design-system/ensure-design-token-usage
@@ -7,7 +7,7 @@ import { useGlobalTheme } from '@atlaskit/theme/components';
7
7
  import { borderWidth, getBaseStyles, themeStyles } from './styles';
8
8
  import { Theme } from './theme';
9
9
  const packageName = "@atlaskit/textarea";
10
- const packageVersion = "4.7.4";
10
+ const packageVersion = "4.7.5";
11
11
  const analyticsParams = {
12
12
  componentName: 'textArea',
13
13
  packageName,
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "@atlaskit/textarea",
3
- "version": "4.7.4",
3
+ "version": "4.7.5",
4
4
  "sideEffects": false
5
5
  }
@@ -44,13 +44,13 @@ var bgAndBorderColorStyles = function bgAndBorderColorStyles(props, appearance)
44
44
  backgroundColor: props.backgroundColor,
45
45
  borderColor: props.borderColor
46
46
  },
47
- // eslint-disable-next-line @repo/internal/styles/no-nested-styles
47
+ // eslint-disable-next-line @atlaskit/design-system/no-nested-styles
48
48
  '&[data-invalid]:focus': {
49
49
  backgroundColor: props.invalidRules.backgroundColorFocus,
50
50
  borderColor: props.invalidRules.borderColorFocus,
51
51
  boxShadow: getBooleanFF('platform.design-system-team.border-checkbox_nyoiu') ? "inset 0 0 0 ".concat("var(--ds-border-width, 1px)", " ", props.invalidRules.borderColorFocus) : undefined
52
52
  },
53
- // eslint-disable-next-line @repo/internal/styles/no-nested-styles
53
+ // eslint-disable-next-line @atlaskit/design-system/no-nested-styles
54
54
  '&[data-invalid]:not(:focus)': {
55
55
  backgroundColor: props.invalidRules.backgroundColor,
56
56
  borderColor: props.invalidRules.borderColor,
@@ -82,7 +82,7 @@ var hoverBackgroundAndBorderStyles = function hoverBackgroundAndBorderStyles(pro
82
82
  '&:disabled': {
83
83
  backgroundColor: props.disabledRules.backgroundColorHover
84
84
  },
85
- // eslint-disable-next-line @repo/internal/styles/no-nested-styles
85
+ // eslint-disable-next-line @atlaskit/design-system/no-nested-styles
86
86
  '&[data-invalid]': {
87
87
  backgroundColor: props.invalidRules.backgroundColorHover,
88
88
  borderColor: props.invalidRules.borderColor,
@@ -123,7 +123,7 @@ var borderPaddingAndHeightStyles = function borderPaddingAndHeightStyles() {
123
123
  var horizontalPaddingWithoutBorderWidth = horizontalPadding - borderWidth;
124
124
  var borderHeight = borderWidth;
125
125
  return css({
126
- // eslint-disable-next-line @repo/internal/styles/no-nested-styles
126
+ // eslint-disable-next-line @atlaskit/design-system/no-nested-styles
127
127
  '&[data-compact]': {
128
128
  minHeight: borderBoxMinHeightCompact(minimumRows, borderHeight),
129
129
  // eslint-disable-next-line @atlaskit/design-system/ensure-design-token-usage
@@ -13,7 +13,7 @@ import { useGlobalTheme } from '@atlaskit/theme/components';
13
13
  import { borderWidth, getBaseStyles, themeStyles } from './styles';
14
14
  import { Theme } from './theme';
15
15
  var packageName = "@atlaskit/textarea";
16
- var packageVersion = "4.7.4";
16
+ var packageVersion = "4.7.5";
17
17
  var analyticsParams = {
18
18
  componentName: 'textArea',
19
19
  packageName: packageName,
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "@atlaskit/textarea",
3
- "version": "4.7.4",
3
+ "version": "4.7.5",
4
4
  "sideEffects": false
5
5
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/textarea",
3
- "version": "4.7.4",
3
+ "version": "4.7.5",
4
4
  "description": "A text area lets users enter long form text which spans over multiple lines.",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/"
@@ -25,6 +25,9 @@
25
25
  "homepage": "https://atlassian.design/components/textarea/",
26
26
  "atlassian": {
27
27
  "team": "Design System Team",
28
+ "productPushConsumption": [
29
+ "jira"
30
+ ],
28
31
  "releaseModel": "continuous",
29
32
  "website": {
30
33
  "name": "Text area",
@@ -42,7 +45,7 @@
42
45
  "@atlaskit/analytics-next": "^9.1.0",
43
46
  "@atlaskit/platform-feature-flags": "^0.2.0",
44
47
  "@atlaskit/theme": "^12.5.0",
45
- "@atlaskit/tokens": "^1.11.0",
48
+ "@atlaskit/tokens": "^1.14.0",
46
49
  "@babel/runtime": "^7.0.0",
47
50
  "@emotion/react": "^11.7.1"
48
51
  },
@@ -50,6 +53,7 @@
50
53
  "react": "^16.8.0"
51
54
  },
52
55
  "devDependencies": {
56
+ "@af/accessibility-testing": "*",
53
57
  "@atlaskit/ds-lib": "^2.2.0",
54
58
  "@atlaskit/ssr": "*",
55
59
  "@atlaskit/visual-regression": "*",
@@ -95,4 +99,4 @@
95
99
  }
96
100
  },
97
101
  "prettier": "@atlassian/atlassian-frontend-prettier-config-1.0.1"
98
- }
102
+ }