@atlaskit/contextual-survey 2.2.17 → 2.2.18

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,14 @@
1
1
  # @atlaskit/contextual-survey
2
2
 
3
+ ## 2.2.18
4
+
5
+ ### Patch Changes
6
+
7
+ - [#114683](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/114683)
8
+ [`ff0815316ab38`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/ff0815316ab38) -
9
+ Removes usage of custom theme button in places where its API is not being used and the default
10
+ button is able to be used instead. This should give a slight performance (runtime) improvement.
11
+
3
12
  ## 2.2.17
4
13
 
5
14
  ### Patch Changes
@@ -11,7 +11,7 @@ var _slicedToArray2 = _interopRequireDefault(require("@babel/runtime/helpers/sli
11
11
  var _react = require("react");
12
12
  var _react2 = require("@emotion/react");
13
13
  var _reactTransitionGroup = require("react-transition-group");
14
- var _customThemeButton = _interopRequireDefault(require("@atlaskit/button/custom-theme-button"));
14
+ var _button = require("@atlaskit/button");
15
15
  var _checkbox = require("@atlaskit/checkbox");
16
16
  var _form = _interopRequireWildcard(require("@atlaskit/form"));
17
17
  var _textarea = _interopRequireDefault(require("@atlaskit/textarea"));
@@ -133,7 +133,7 @@ var _default = exports.default = function _default(_ref) {
133
133
  return (0, _react2.jsx)(_checkbox.Checkbox, (0, _extends2.default)({}, fieldProps, {
134
134
  label: "Atlassian can contact me about this feedback"
135
135
  }));
136
- }), (0, _react2.jsx)(_form.FormFooter, null, (0, _react2.jsx)(_customThemeButton.default, {
136
+ }), (0, _react2.jsx)(_form.FormFooter, null, (0, _react2.jsx)(_button.LoadingButton, {
137
137
  type: "submit",
138
138
  appearance: "primary",
139
139
  isLoading: submitting
@@ -5,7 +5,7 @@ import { useCallback, useRef, useState } from 'react';
5
5
  // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
6
6
  import { css, jsx } from '@emotion/react';
7
7
  import { Transition } from 'react-transition-group';
8
- import Button from '@atlaskit/button/custom-theme-button';
8
+ import { LoadingButton as Button } from '@atlaskit/button';
9
9
  import { Checkbox } from '@atlaskit/checkbox';
10
10
  import Form, { CheckboxField, Field, FormFooter } from '@atlaskit/form';
11
11
  import Textarea from '@atlaskit/textarea';
@@ -6,7 +6,7 @@ import { useCallback, useRef, useState } from 'react';
6
6
  // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
7
7
  import { css, jsx } from '@emotion/react';
8
8
  import { Transition } from 'react-transition-group';
9
- import Button from '@atlaskit/button/custom-theme-button';
9
+ import { LoadingButton as Button } from '@atlaskit/button';
10
10
  import { Checkbox } from '@atlaskit/checkbox';
11
11
  import Form, { CheckboxField, Field, FormFooter } from '@atlaskit/form';
12
12
  import Textarea from '@atlaskit/textarea';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/contextual-survey",
3
- "version": "2.2.17",
3
+ "version": "2.2.18",
4
4
  "description": "A React component used to ask the user for feedback",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/"
@@ -41,7 +41,7 @@
41
41
  "@atlaskit/icon": "^22.4.0",
42
42
  "@atlaskit/textarea": "^5.5.0",
43
43
  "@atlaskit/theme": "^12.11.0",
44
- "@atlaskit/tokens": "^1.52.0",
44
+ "@atlaskit/tokens": "^1.53.0",
45
45
  "@atlaskit/tooltip": "^18.5.0",
46
46
  "@babel/runtime": "^7.0.0",
47
47
  "@emotion/react": "^11.7.1",