@atlaskit/select 16.5.13 → 16.5.14

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.14
4
+
5
+ ### Patch Changes
6
+
7
+ - [`aee1bdd977d`](https://bitbucket.org/atlassian/atlassian-frontend/commits/aee1bdd977d) - Update select checkbox and radio icon to have 1px border under FF
8
+
3
9
  ## 16.5.13
4
10
 
5
11
  ### Patch Changes
@@ -1531,21 +1537,21 @@
1531
1537
 
1532
1538
  ## 6.1.4
1533
1539
 
1534
- - [patch][6ab8e95" d](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/6ab8e95"
1540
+ - [patch][6ab8e95](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/6ab8e95"
1535
1541
  d):
1536
1542
 
1537
1543
  - Removed wrapping div from around selects as it is no longer needed when using the latest inline-dialog component.
1538
1544
 
1539
1545
  ## 6.1.3
1540
1546
 
1541
- - [patch][dab963b" d](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/dab963b"
1547
+ - [patch][dab963b](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/dab963b"
1542
1548
  d):
1543
1549
 
1544
1550
  - Make sure portal binds to DOM only
1545
1551
 
1546
1552
  ## 6.1.2
1547
1553
 
1548
- - [patch][0782e03" d](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/0782e03"
1554
+ - [patch][0782e03](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/0782e03"
1549
1555
  d):
1550
1556
 
1551
1557
  - bumped react-select to 2.1.1 minor bug fixes including mirroring the logic for the backspace key to delete, and stripping theme props from Input and GroupHeading dom elements. See https://github.com/JedWatson/react-select/releases/tag/v2.1.1 for details
@@ -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.13";
12
+ var packageVersion = "16.5.14";
13
13
  var SelectWithoutAnalytics = (0, _createSelect.default)(_reactSelect.default);
14
14
  exports.SelectWithoutAnalytics = SelectWithoutAnalytics;
15
15
  var createAndFireEventOnAtlaskit = (0, _analyticsNext.createAndFireEvent)('atlaskit');
@@ -17,6 +17,7 @@ var _objectWithoutProperties2 = _interopRequireDefault(require("@babel/runtime/h
17
17
  var _defineProperty2 = _interopRequireDefault(require("@babel/runtime/helpers/defineProperty"));
18
18
  var _react = require("@emotion/react");
19
19
  var _react2 = require("react");
20
+ var _platformFeatureFlags = require("@atlaskit/platform-feature-flags");
20
21
  var _radio = _interopRequireDefault(require("@atlaskit/icon/glyph/radio"));
21
22
  var _checkbox = _interopRequireDefault(require("@atlaskit/icon/glyph/checkbox"));
22
23
  var _components = require("@atlaskit/theme/components");
@@ -185,7 +186,7 @@ var baseIconStyles = (0, _react.css)({
185
186
  // into the `@atlaskit/icon` package's Checkbox and Radio SVGs later
186
187
  // eslint-disable-next-line @atlaskit/design-system/no-nested-styles
187
188
  '& svg rect, & svg circle:first-of-type': {
188
- strokeWidth: "var(--ds-border-width-outline, 2px)",
189
+ strokeWidth: (0, _platformFeatureFlags.getBooleanFF)('platform.design-system-team.border-checkbox_nyoiu') ? "var(--ds-border-width, 1px)" : "var(--ds-border-width-outline, 2px)",
189
190
  strokeLinejoin: 'round'
190
191
  }
191
192
  });
@@ -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.13";
5
+ const packageVersion = "16.5.14";
6
6
  export const SelectWithoutAnalytics = createSelect(Select);
7
7
  const createAndFireEventOnAtlaskit = createAndFireEvent('atlaskit');
8
8
  export default withAnalyticsContext({
@@ -3,6 +3,7 @@ import _defineProperty from "@babel/runtime/helpers/defineProperty";
3
3
  /** @jsx jsx */
4
4
  import { css, jsx } from '@emotion/react';
5
5
  import { Component } from 'react';
6
+ import { getBooleanFF } from '@atlaskit/platform-feature-flags';
6
7
  import RadioIcon from '@atlaskit/icon/glyph/radio';
7
8
  import CheckboxIcon from '@atlaskit/icon/glyph/checkbox';
8
9
  import { themed } from '@atlaskit/theme/components';
@@ -171,7 +172,7 @@ const baseIconStyles = css({
171
172
  // into the `@atlaskit/icon` package's Checkbox and Radio SVGs later
172
173
  // eslint-disable-next-line @atlaskit/design-system/no-nested-styles
173
174
  '& svg rect, & svg circle:first-of-type': {
174
- strokeWidth: "var(--ds-border-width-outline, 2px)",
175
+ strokeWidth: getBooleanFF('platform.design-system-team.border-checkbox_nyoiu') ? "var(--ds-border-width, 1px)" : "var(--ds-border-width-outline, 2px)",
175
176
  strokeLinejoin: 'round'
176
177
  }
177
178
  });
@@ -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.13";
5
+ var packageVersion = "16.5.14";
6
6
  export var SelectWithoutAnalytics = createSelect(Select);
7
7
  var createAndFireEventOnAtlaskit = createAndFireEvent('atlaskit');
8
8
  export default withAnalyticsContext({
@@ -19,6 +19,7 @@ function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t =
19
19
  /** @jsx jsx */
20
20
  import { css, jsx } from '@emotion/react';
21
21
  import { Component } from 'react';
22
+ import { getBooleanFF } from '@atlaskit/platform-feature-flags';
22
23
  import RadioIcon from '@atlaskit/icon/glyph/radio';
23
24
  import CheckboxIcon from '@atlaskit/icon/glyph/checkbox';
24
25
  import { themed } from '@atlaskit/theme/components';
@@ -179,7 +180,7 @@ var baseIconStyles = css({
179
180
  // into the `@atlaskit/icon` package's Checkbox and Radio SVGs later
180
181
  // eslint-disable-next-line @atlaskit/design-system/no-nested-styles
181
182
  '& svg rect, & svg circle:first-of-type': {
182
- strokeWidth: "var(--ds-border-width-outline, 2px)",
183
+ strokeWidth: getBooleanFF('platform.design-system-team.border-checkbox_nyoiu') ? "var(--ds-border-width, 1px)" : "var(--ds-border-width-outline, 2px)",
183
184
  strokeLinejoin: 'round'
184
185
  }
185
186
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/select",
3
- "version": "16.5.13",
3
+ "version": "16.5.14",
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/"
@@ -43,7 +43,7 @@
43
43
  "@atlaskit/platform-feature-flags": "^0.2.0",
44
44
  "@atlaskit/spinner": "^15.5.0",
45
45
  "@atlaskit/theme": "^12.6.0",
46
- "@atlaskit/tokens": "^1.21.0",
46
+ "@atlaskit/tokens": "^1.22.0",
47
47
  "@atlaskit/visually-hidden": "^1.2.0",
48
48
  "@babel/runtime": "^7.0.0",
49
49
  "@emotion/react": "^11.7.1",