@atlaskit/select 18.4.2 → 18.4.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,13 @@
1
1
  # @atlaskit/select
2
2
 
3
+ ## 18.4.3
4
+
5
+ ### Patch Changes
6
+
7
+ - [#158691](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/158691)
8
+ [`453919c3f78d3`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/453919c3f78d3) -
9
+ Pass isInvalid to internal react-select from select prop to support aria-invalid on input
10
+
3
11
  ## 18.4.2
4
12
 
5
13
  ### Patch Changes
@@ -11,7 +11,7 @@ var _createSelect = _interopRequireDefault(require("./createSelect"));
11
11
  /* eslint-disable @repo/internal/react/require-jsdoc */
12
12
 
13
13
  var packageName = "@atlaskit/select";
14
- var packageVersion = "18.4.2";
14
+ var packageVersion = "18.4.3";
15
15
  var SelectWithoutAnalytics = exports.SelectWithoutAnalytics = (0, _createSelect.default)(_reactSelect.default);
16
16
  var createAndFireEventOnAtlaskit = (0, _analyticsNext.createAndFireEvent)('atlaskit');
17
17
  var Select = (0, _analyticsNext.withAnalyticsContext)({
@@ -95,7 +95,8 @@ function createSelect(WrappedComponent) {
95
95
  }
96
96
  }, ariaLiveMessages) : _objectSpread({}, ariaLiveMessages),
97
97
  tabSelectsValue: tabSelectsValue,
98
- onClickPreventDefault: onClickPreventDefault
98
+ onClickPreventDefault: onClickPreventDefault,
99
+ isInvalid: isInvalid
99
100
  }, restProps, {
100
101
  components: components
101
102
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values -- Ignored via go/DSP-18766
@@ -3,7 +3,7 @@ import { createAndFireEvent, withAnalyticsContext, withAnalyticsEvents } from '@
3
3
  import ReactSelect from '@atlaskit/react-select';
4
4
  import createSelect from './createSelect';
5
5
  const packageName = "@atlaskit/select";
6
- const packageVersion = "18.4.2";
6
+ const packageVersion = "18.4.3";
7
7
  export const SelectWithoutAnalytics = createSelect(ReactSelect);
8
8
  const createAndFireEventOnAtlaskit = createAndFireEvent('atlaskit');
9
9
  const Select = withAnalyticsContext({
@@ -77,7 +77,8 @@ export default function createSelect(WrappedComponent) {
77
77
  ...ariaLiveMessages
78
78
  },
79
79
  tabSelectsValue: tabSelectsValue,
80
- onClickPreventDefault: onClickPreventDefault
80
+ onClickPreventDefault: onClickPreventDefault,
81
+ isInvalid: isInvalid
81
82
  }, restProps, {
82
83
  components: components
83
84
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values -- Ignored via go/DSP-18766
@@ -3,7 +3,7 @@ import { createAndFireEvent, withAnalyticsContext, withAnalyticsEvents } from '@
3
3
  import ReactSelect from '@atlaskit/react-select';
4
4
  import createSelect from './createSelect';
5
5
  var packageName = "@atlaskit/select";
6
- var packageVersion = "18.4.2";
6
+ var packageVersion = "18.4.3";
7
7
  export var SelectWithoutAnalytics = createSelect(ReactSelect);
8
8
  var createAndFireEventOnAtlaskit = createAndFireEvent('atlaskit');
9
9
  var Select = withAnalyticsContext({
@@ -86,7 +86,8 @@ export default function createSelect(WrappedComponent) {
86
86
  }
87
87
  }, ariaLiveMessages) : _objectSpread({}, ariaLiveMessages),
88
88
  tabSelectsValue: tabSelectsValue,
89
- onClickPreventDefault: onClickPreventDefault
89
+ onClickPreventDefault: onClickPreventDefault,
90
+ isInvalid: isInvalid
90
91
  }, restProps, {
91
92
  components: components
92
93
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values -- Ignored via go/DSP-18766
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/select",
3
- "version": "18.4.2",
3
+ "version": "18.4.3",
4
4
  "description": "Select allows users to make a single selection or multiple selections from a list of options.",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/"
@@ -46,7 +46,7 @@
46
46
  "@atlaskit/react-select": "^1.2.0",
47
47
  "@atlaskit/spinner": "^16.3.0",
48
48
  "@atlaskit/theme": "^14.0.0",
49
- "@atlaskit/tokens": "^2.0.0",
49
+ "@atlaskit/tokens": "^2.1.0",
50
50
  "@atlaskit/visually-hidden": "^1.5.0",
51
51
  "@babel/runtime": "^7.0.0",
52
52
  "@emotion/react": "^11.7.1",