@atlaskit/select 18.7.1 → 18.8.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 CHANGED
@@ -1,5 +1,34 @@
1
1
  # @atlaskit/select
2
2
 
3
+ ## 18.8.1
4
+
5
+ ### Patch Changes
6
+
7
+ - [#174836](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/174836)
8
+ [`8d2c4dcde79da`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/8d2c4dcde79da) -
9
+ Update use of deprecated aria-label to proper label in PopupSelect
10
+ - Updated dependencies
11
+
12
+ ## 18.8.0
13
+
14
+ ### Minor Changes
15
+
16
+ - [#173737](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/173737)
17
+ [`667640085e5c7`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/667640085e5c7) -
18
+ Update the font size for the textarea and select components at the `xs` breakpoint. The font size
19
+ will be increased to 16px to prevent IOS Safari from zooming in on the text field when it is
20
+ focused. Styles for larger breakpoints will remain unchanged.
21
+
22
+ Apply a fix to the textfield component to ensure monospace is correctly applied to the input at
23
+ the `media.above.xs` breakpoint.
24
+
25
+ These changes are currently behind a feature gate and will be evaluated for effectiveness. If
26
+ successful, they will be included in a future release.
27
+
28
+ ### Patch Changes
29
+
30
+ - Updated dependencies
31
+
3
32
  ## 18.7.1
4
33
 
5
34
  ### Patch Changes
@@ -422,7 +422,7 @@ var PopupSelect = exports.default = /*#__PURE__*/function (_PureComponent) {
422
422
  disabled: !focusLockEnabled,
423
423
  returnFocus: true
424
424
  }, /*#__PURE__*/_react.default.createElement(_Select.default, (0, _extends2.default)({
425
- "aria-label": providedAriaLabel
425
+ label: providedAriaLabel
426
426
  // TODO: Popup Select does not work well with active-descendant
427
427
  ,
428
428
  "aria-live": (/iPad|iPhone|iPod/.test(navigator.userAgent) || navigator.platform === 'MacIntel') &&
@@ -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.7.1";
14
+ var packageVersion = "18.8.1";
15
15
  var SelectWithoutAnalytics = exports.SelectWithoutAnalytics = (0, _createSelect.default)(_async.default);
16
16
  var createAndFireEventOnAtlaskit = (0, _analyticsNext.createAndFireEvent)('atlaskit');
17
17
  var Select = (0, _analyticsNext.withAnalyticsContext)({
@@ -400,7 +400,7 @@ export default class PopupSelect extends PureComponent {
400
400
  disabled: !focusLockEnabled,
401
401
  returnFocus: true
402
402
  }, /*#__PURE__*/React.createElement(Select, _extends({
403
- "aria-label": providedAriaLabel
403
+ label: providedAriaLabel
404
404
  // TODO: Popup Select does not work well with active-descendant
405
405
  ,
406
406
  "aria-live": (/iPad|iPhone|iPod/.test(navigator.userAgent) || navigator.platform === 'MacIntel') &&
@@ -3,7 +3,7 @@ import { createAndFireEvent, withAnalyticsContext, withAnalyticsEvents } from '@
3
3
  import AsyncSelect from '@atlaskit/react-select/async';
4
4
  import createSelect from './createSelect';
5
5
  const packageName = "@atlaskit/select";
6
- const packageVersion = "18.7.1";
6
+ const packageVersion = "18.8.1";
7
7
  export const SelectWithoutAnalytics = createSelect(AsyncSelect);
8
8
  const createAndFireEventOnAtlaskit = createAndFireEvent('atlaskit');
9
9
  const Select = withAnalyticsContext({
@@ -413,7 +413,7 @@ var PopupSelect = /*#__PURE__*/function (_PureComponent) {
413
413
  disabled: !focusLockEnabled,
414
414
  returnFocus: true
415
415
  }, /*#__PURE__*/React.createElement(Select, _extends({
416
- "aria-label": providedAriaLabel
416
+ label: providedAriaLabel
417
417
  // TODO: Popup Select does not work well with active-descendant
418
418
  ,
419
419
  "aria-live": (/iPad|iPhone|iPod/.test(navigator.userAgent) || navigator.platform === 'MacIntel') &&
@@ -3,7 +3,7 @@ import { createAndFireEvent, withAnalyticsContext, withAnalyticsEvents } from '@
3
3
  import AsyncSelect from '@atlaskit/react-select/async';
4
4
  import createSelect from './createSelect';
5
5
  var packageName = "@atlaskit/select";
6
- var packageVersion = "18.7.1";
6
+ var packageVersion = "18.8.1";
7
7
  export var SelectWithoutAnalytics = createSelect(AsyncSelect);
8
8
  var createAndFireEventOnAtlaskit = createAndFireEvent('atlaskit');
9
9
  var Select = withAnalyticsContext({
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/select",
3
- "version": "18.7.1",
3
+ "version": "18.8.1",
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/"
@@ -42,10 +42,10 @@
42
42
  "dependencies": {
43
43
  "@atlaskit/analytics-next": "^10.1.0",
44
44
  "@atlaskit/ds-lib": "^3.3.0",
45
- "@atlaskit/icon": "^23.0.0",
45
+ "@atlaskit/icon": "^23.1.0",
46
46
  "@atlaskit/platform-feature-flags": "^0.3.0",
47
47
  "@atlaskit/primitives": "^13.3.0",
48
- "@atlaskit/react-select": "^1.4.0",
48
+ "@atlaskit/react-select": "^1.5.0",
49
49
  "@atlaskit/spinner": "^16.3.0",
50
50
  "@atlaskit/theme": "^14.0.0",
51
51
  "@atlaskit/tokens": "^2.4.0",
@@ -114,6 +114,9 @@
114
114
  },
115
115
  "platform-icon-control-migration": {
116
116
  "type": "boolean"
117
+ },
118
+ "platform_design_system_team_safari_input_fix": {
119
+ "type": "boolean"
117
120
  }
118
121
  },
119
122
  "homepage": "https://atlassian.design/components/select/"