@atlaskit/select 16.5.2 → 16.5.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,11 @@
1
1
  # @atlaskit/select
2
2
 
3
+ ## 16.5.3
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
  ## 16.5.2
4
10
 
5
11
  ### Patch Changes
@@ -47,7 +47,7 @@ exports.MenuDialog = MenuDialog;
47
47
  var DropdownIndicator = function DropdownIndicator() {
48
48
  return (0, _react.jsx)("div", {
49
49
  css: {
50
- marginRight: 2,
50
+ marginRight: "var(--ds-space-025, 2px)",
51
51
  textAlign: 'center',
52
52
  width: 32
53
53
  }
@@ -62,7 +62,7 @@ var Control = function Control(_ref2) {
62
62
  return (0, _react.jsx)("div", {
63
63
  ref: innerRef,
64
64
  css: {
65
- padding: '8px 8px 4px'
65
+ padding: "var(--ds-space-100, 8px)".concat(" ", "var(--ds-space-100, 8px)", " ", "var(--ds-space-050, 4px)")
66
66
  }
67
67
  }, (0, _react.jsx)(_reactSelect.components.Control, (0, _extends2.default)({}, props, {
68
68
  innerProps: innerProps
@@ -9,7 +9,7 @@ var _reactSelect = _interopRequireDefault(require("react-select"));
9
9
  var _analyticsNext = require("@atlaskit/analytics-next");
10
10
  var _createSelect = _interopRequireDefault(require("./createSelect"));
11
11
  var packageName = "@atlaskit/select";
12
- var packageVersion = "16.5.2";
12
+ var packageVersion = "16.5.3";
13
13
  var SelectWithoutAnalytics = (0, _createSelect.default)(_reactSelect.default);
14
14
  exports.SelectWithoutAnalytics = SelectWithoutAnalytics;
15
15
  var createAndFireEventOnAtlaskit = (0, _analyticsNext.createAndFireEvent)('atlaskit');
@@ -241,7 +241,7 @@ var ControlOption = /*#__PURE__*/function (_Component) {
241
241
  alignItems: 'center',
242
242
  display: 'flex ',
243
243
  flexShrink: 0,
244
- paddingRight: '4px',
244
+ paddingRight: "var(--ds-space-050, 4px)",
245
245
  // Here we are adding a border to the Checkbox and Radio SVG icons
246
246
  // This is an a11y fix for Select only for now but it may be rolled
247
247
  // into the `@atlaskit/icon` package's Checkbox and Radio SVGs later
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "@atlaskit/select",
3
- "version": "16.5.2",
3
+ "version": "16.5.3",
4
4
  "sideEffects": false
5
5
  }
@@ -36,7 +36,7 @@ export const MenuDialog = ({
36
36
 
37
37
  const DropdownIndicator = () => jsx("div", {
38
38
  css: {
39
- marginRight: 2,
39
+ marginRight: "var(--ds-space-025, 2px)",
40
40
  textAlign: 'center',
41
41
  width: 32
42
42
  }
@@ -50,7 +50,7 @@ const Control = ({
50
50
  }) => jsx("div", {
51
51
  ref: innerRef,
52
52
  css: {
53
- padding: '8px 8px 4px'
53
+ padding: `${"var(--ds-space-100, 8px)"} ${"var(--ds-space-100, 8px)"} ${"var(--ds-space-050, 4px)"}`
54
54
  }
55
55
  }, jsx(components.Control, _extends({}, props, {
56
56
  innerProps: innerProps
@@ -2,7 +2,7 @@ import Select from 'react-select';
2
2
  import { withAnalyticsEvents, withAnalyticsContext, createAndFireEvent } from '@atlaskit/analytics-next';
3
3
  import createSelect from './createSelect';
4
4
  const packageName = "@atlaskit/select";
5
- const packageVersion = "16.5.2";
5
+ const packageVersion = "16.5.3";
6
6
  export const SelectWithoutAnalytics = createSelect(Select);
7
7
  const createAndFireEventOnAtlaskit = createAndFireEvent('atlaskit');
8
8
  export default withAnalyticsContext({
@@ -211,7 +211,7 @@ class ControlOption extends Component {
211
211
  alignItems: 'center',
212
212
  display: 'flex ',
213
213
  flexShrink: 0,
214
- paddingRight: '4px',
214
+ paddingRight: "var(--ds-space-050, 4px)",
215
215
  // Here we are adding a border to the Checkbox and Radio SVG icons
216
216
  // This is an a11y fix for Select only for now but it may be rolled
217
217
  // into the `@atlaskit/icon` package's Checkbox and Radio SVGs later
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "@atlaskit/select",
3
- "version": "16.5.2",
3
+ "version": "16.5.3",
4
4
  "sideEffects": false
5
5
  }
@@ -41,7 +41,7 @@ export var MenuDialog = function MenuDialog(_ref) {
41
41
  var DropdownIndicator = function DropdownIndicator() {
42
42
  return jsx("div", {
43
43
  css: {
44
- marginRight: 2,
44
+ marginRight: "var(--ds-space-025, 2px)",
45
45
  textAlign: 'center',
46
46
  width: 32
47
47
  }
@@ -56,7 +56,7 @@ var Control = function Control(_ref2) {
56
56
  return jsx("div", {
57
57
  ref: innerRef,
58
58
  css: {
59
- padding: '8px 8px 4px'
59
+ padding: "var(--ds-space-100, 8px)".concat(" ", "var(--ds-space-100, 8px)", " ", "var(--ds-space-050, 4px)")
60
60
  }
61
61
  }, jsx(components.Control, _extends({}, props, {
62
62
  innerProps: innerProps
@@ -2,7 +2,7 @@ import Select from 'react-select';
2
2
  import { withAnalyticsEvents, withAnalyticsContext, createAndFireEvent } from '@atlaskit/analytics-next';
3
3
  import createSelect from './createSelect';
4
4
  var packageName = "@atlaskit/select";
5
- var packageVersion = "16.5.2";
5
+ var packageVersion = "16.5.3";
6
6
  export var SelectWithoutAnalytics = createSelect(Select);
7
7
  var createAndFireEventOnAtlaskit = createAndFireEvent('atlaskit');
8
8
  export default withAnalyticsContext({
@@ -235,7 +235,7 @@ var ControlOption = /*#__PURE__*/function (_Component) {
235
235
  alignItems: 'center',
236
236
  display: 'flex ',
237
237
  flexShrink: 0,
238
- paddingRight: '4px',
238
+ paddingRight: "var(--ds-space-050, 4px)",
239
239
  // Here we are adding a border to the Checkbox and Radio SVG icons
240
240
  // This is an a11y fix for Select only for now but it may be rolled
241
241
  // into the `@atlaskit/icon` package's Checkbox and Radio SVGs later
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "@atlaskit/select",
3
- "version": "16.5.2",
3
+ "version": "16.5.3",
4
4
  "sideEffects": false
5
5
  }
@@ -100,7 +100,13 @@ export default class PopupSelect<Option = OptionType, IsMulti extends boolean =
100
100
  mergedComponents: {
101
101
  Control: React.FC<import("../types").ControlProps<OptionType, boolean>>;
102
102
  DropdownIndicator: () => import("@emotion/react").jsx.JSX.Element;
103
- Menu: ({ children, innerProps, ...props }: import("../types").MenuProps<OptionType, boolean>) => import("@emotion/react").jsx.JSX.Element;
103
+ Menu: ({ children, innerProps, ...props }: import("../types").MenuProps<OptionType, boolean>) => import("@emotion/react").jsx.JSX.Element; /**
104
+ The props passed down to React Popper.
105
+
106
+ Use these to override the default positioning strategy, behaviour and placement used by this library.
107
+ For more information, see the Popper Props section below, or [React Popper documentation](https://popper.js.org/react-popper/v2/render-props).
108
+
109
+ */
104
110
  };
105
111
  mergedPopperProps: PopperPropsNoChildren<string>;
106
112
  focusLockEnabled?: undefined;
@@ -110,7 +116,13 @@ export default class PopupSelect<Option = OptionType, IsMulti extends boolean =
110
116
  mergedComponents: {
111
117
  Control: React.FC<import("../types").ControlProps<OptionType, boolean>>;
112
118
  DropdownIndicator: () => import("@emotion/react").jsx.JSX.Element;
113
- Menu: ({ children, innerProps, ...props }: import("../types").MenuProps<OptionType, boolean>) => import("@emotion/react").jsx.JSX.Element;
119
+ Menu: ({ children, innerProps, ...props }: import("../types").MenuProps<OptionType, boolean>) => import("@emotion/react").jsx.JSX.Element; /**
120
+ The props passed down to React Popper.
121
+
122
+ Use these to override the default positioning strategy, behaviour and placement used by this library.
123
+ For more information, see the Popper Props section below, or [React Popper documentation](https://popper.js.org/react-popper/v2/render-props).
124
+
125
+ */
114
126
  };
115
127
  mergedPopperProps: PopperPropsNoChildren<string>;
116
128
  };
@@ -100,7 +100,13 @@ export default class PopupSelect<Option = OptionType, IsMulti extends boolean =
100
100
  mergedComponents: {
101
101
  Control: React.FC<import("../types").ControlProps<OptionType, boolean>>;
102
102
  DropdownIndicator: () => import("@emotion/react").jsx.JSX.Element;
103
- Menu: ({ children, innerProps, ...props }: import("../types").MenuProps<OptionType, boolean>) => import("@emotion/react").jsx.JSX.Element;
103
+ Menu: ({ children, innerProps, ...props }: import("../types").MenuProps<OptionType, boolean>) => import("@emotion/react").jsx.JSX.Element; /**
104
+ The props passed down to React Popper.
105
+
106
+ Use these to override the default positioning strategy, behaviour and placement used by this library.
107
+ For more information, see the Popper Props section below, or [React Popper documentation](https://popper.js.org/react-popper/v2/render-props).
108
+
109
+ */
104
110
  };
105
111
  mergedPopperProps: PopperPropsNoChildren<string>;
106
112
  focusLockEnabled?: undefined;
@@ -110,7 +116,13 @@ export default class PopupSelect<Option = OptionType, IsMulti extends boolean =
110
116
  mergedComponents: {
111
117
  Control: React.FC<import("../types").ControlProps<OptionType, boolean>>;
112
118
  DropdownIndicator: () => import("@emotion/react").jsx.JSX.Element;
113
- Menu: ({ children, innerProps, ...props }: import("../types").MenuProps<OptionType, boolean>) => import("@emotion/react").jsx.JSX.Element;
119
+ Menu: ({ children, innerProps, ...props }: import("../types").MenuProps<OptionType, boolean>) => import("@emotion/react").jsx.JSX.Element; /**
120
+ The props passed down to React Popper.
121
+
122
+ Use these to override the default positioning strategy, behaviour and placement used by this library.
123
+ For more information, see the Popper Props section below, or [React Popper documentation](https://popper.js.org/react-popper/v2/render-props).
124
+
125
+ */
114
126
  };
115
127
  mergedPopperProps: PopperPropsNoChildren<string>;
116
128
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/select",
3
- "version": "16.5.2",
3
+ "version": "16.5.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/"
@@ -69,7 +69,7 @@
69
69
  "@atlaskit/drawer": "^7.5.0",
70
70
  "@atlaskit/form": "^8.11.0",
71
71
  "@atlaskit/logo": "^13.14.0",
72
- "@atlaskit/modal-dialog": "^12.5.0",
72
+ "@atlaskit/modal-dialog": "^12.6.0",
73
73
  "@atlaskit/radio": "^5.6.0",
74
74
  "@atlaskit/section-message": "^6.4.0",
75
75
  "@atlaskit/ssr": "*",