@atlaskit/checkbox 13.1.3 → 13.1.5

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,17 @@
1
1
  # @atlaskit/checkbox
2
2
 
3
+ ## 13.1.5
4
+
5
+ ### Patch Changes
6
+
7
+ - [#89923](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/89923) [`32bc9f9f09b3`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/32bc9f9f09b3) - Internal changes to typography, no visual change.
8
+
9
+ ## 13.1.4
10
+
11
+ ### Patch Changes
12
+
13
+ - [#84905](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/84905) [`f03cb7163ffc`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/f03cb7163ffc) - Remove input focus style on `Checkbox` component
14
+
3
15
  ## 13.1.3
4
16
 
5
17
  ### Patch Changes
@@ -27,9 +27,6 @@ var checkboxStyles = (0, _react2.css)({
27
27
  gridArea: '1 / 1 / 2 / 2',
28
28
  opacity: 0,
29
29
  outline: 'none',
30
- '&:focus': {
31
- opacity: 1
32
- },
33
30
  '& + svg': {
34
31
  /**
35
32
  * Change the variables --checkbox-background-color, --checkbox-border-color
@@ -167,7 +164,7 @@ var Checkbox = /*#__PURE__*/(0, _react.memo)( /*#__PURE__*/(0, _react.forwardRef
167
164
  analyticsData: analyticsContext,
168
165
  componentName: 'checkbox',
169
166
  packageName: "@atlaskit/checkbox",
170
- packageVersion: "13.1.3"
167
+ packageVersion: "13.1.5"
171
168
  });
172
169
  var internalRef = (0, _react.useRef)(null);
173
170
  var mergedRefs = (0, _mergeRefs.default)([internalRef, ref]);
@@ -7,7 +7,6 @@ exports.default = Label;
7
7
  var _react = require("@emotion/react");
8
8
  var _platformFeatureFlags = require("@atlaskit/platform-feature-flags");
9
9
  var _colors = require("@atlaskit/theme/colors");
10
- var _constants = require("./constants");
11
10
  /** @jsx jsx */
12
11
 
13
12
  var baseStyles = (0, _react.css)({
@@ -16,7 +15,7 @@ var baseStyles = (0, _react.css)({
16
15
  gridAutoRows: 'min-content',
17
16
  color: "var(--ds-text, ".concat(_colors.N900, ")"),
18
17
  cursor: 'default',
19
- fontFamily: "var(--ds-font-family-sans, ".concat(_constants.fontFamily, ")")
18
+ font: "var(--ds-font-body, normal 400 14px/20px ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, system-ui, \"Helvetica Neue\", sans-serif)"
20
19
  });
21
20
  var textLabelLayoutStyles = (0, _react.css)({
22
21
  gap: "var(--ds-space-0, 0px)".concat(" ", "var(--ds-space-050, 4px)"),
@@ -17,9 +17,6 @@ const checkboxStyles = css({
17
17
  gridArea: '1 / 1 / 2 / 2',
18
18
  opacity: 0,
19
19
  outline: 'none',
20
- '&:focus': {
21
- opacity: 1
22
- },
23
20
  '& + svg': {
24
21
  /**
25
22
  * Change the variables --checkbox-background-color, --checkbox-border-color
@@ -151,7 +148,7 @@ const Checkbox = /*#__PURE__*/memo( /*#__PURE__*/forwardRef(function Checkbox(pr
151
148
  analyticsData: analyticsContext,
152
149
  componentName: 'checkbox',
153
150
  packageName: "@atlaskit/checkbox",
154
- packageVersion: "13.1.3"
151
+ packageVersion: "13.1.5"
155
152
  });
156
153
  const internalRef = useRef(null);
157
154
  const mergedRefs = mergeRefs([internalRef, ref]);
@@ -2,14 +2,13 @@
2
2
  import { css, jsx } from '@emotion/react';
3
3
  import { getBooleanFF } from '@atlaskit/platform-feature-flags';
4
4
  import { B200, B300, B400, B50, N10, N100, N20, N30, N40, N70, N80, N900, R300 } from '@atlaskit/theme/colors';
5
- import { fontFamily } from './constants';
6
5
  const baseStyles = css({
7
6
  display: 'grid',
8
7
  gridAutoColumns: '1fr',
9
8
  gridAutoRows: 'min-content',
10
9
  color: `var(--ds-text, ${N900})`,
11
10
  cursor: 'default',
12
- fontFamily: `var(--ds-font-family-sans, ${fontFamily})`
11
+ font: "var(--ds-font-body, normal 400 14px/20px ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, system-ui, \"Helvetica Neue\", sans-serif)"
13
12
  });
14
13
  const textLabelLayoutStyles = css({
15
14
  gap: `${"var(--ds-space-0, 0px)"} ${"var(--ds-space-050, 4px)"}`,
@@ -20,9 +20,6 @@ var checkboxStyles = css({
20
20
  gridArea: '1 / 1 / 2 / 2',
21
21
  opacity: 0,
22
22
  outline: 'none',
23
- '&:focus': {
24
- opacity: 1
25
- },
26
23
  '& + svg': {
27
24
  /**
28
25
  * Change the variables --checkbox-background-color, --checkbox-border-color
@@ -160,7 +157,7 @@ var Checkbox = /*#__PURE__*/memo( /*#__PURE__*/forwardRef(function Checkbox(prop
160
157
  analyticsData: analyticsContext,
161
158
  componentName: 'checkbox',
162
159
  packageName: "@atlaskit/checkbox",
163
- packageVersion: "13.1.3"
160
+ packageVersion: "13.1.5"
164
161
  });
165
162
  var internalRef = useRef(null);
166
163
  var mergedRefs = mergeRefs([internalRef, ref]);
@@ -2,14 +2,13 @@
2
2
  import { css, jsx } from '@emotion/react';
3
3
  import { getBooleanFF } from '@atlaskit/platform-feature-flags';
4
4
  import { B200, B300, B400, B50, N10, N100, N20, N30, N40, N70, N80, N900, R300 } from '@atlaskit/theme/colors';
5
- import { fontFamily } from './constants';
6
5
  var baseStyles = css({
7
6
  display: 'grid',
8
7
  gridAutoColumns: '1fr',
9
8
  gridAutoRows: 'min-content',
10
9
  color: "var(--ds-text, ".concat(N900, ")"),
11
10
  cursor: 'default',
12
- fontFamily: "var(--ds-font-family-sans, ".concat(fontFamily, ")")
11
+ font: "var(--ds-font-body, normal 400 14px/20px ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, system-ui, \"Helvetica Neue\", sans-serif)"
13
12
  });
14
13
  var textLabelLayoutStyles = css({
15
14
  gap: "var(--ds-space-0, 0px)".concat(" ", "var(--ds-space-050, 4px)"),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/checkbox",
3
- "version": "13.1.3",
3
+ "version": "13.1.5",
4
4
  "description": "A checkbox is an input control that allows a user to select one or more options from a number of choices.",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/"
@@ -41,8 +41,8 @@
41
41
  "@atlaskit/ds-lib": "^2.2.0",
42
42
  "@atlaskit/icon": "^22.1.0",
43
43
  "@atlaskit/platform-feature-flags": "^0.2.0",
44
- "@atlaskit/theme": "^12.6.0",
45
- "@atlaskit/tokens": "^1.42.0",
44
+ "@atlaskit/theme": "^12.7.0",
45
+ "@atlaskit/tokens": "^1.43.0",
46
46
  "@babel/runtime": "^7.0.0",
47
47
  "@emotion/react": "^11.7.1"
48
48
  },
@@ -1,8 +0,0 @@
1
- "use strict";
2
-
3
- Object.defineProperty(exports, "__esModule", {
4
- value: true
5
- });
6
- exports.fontFamily = void 0;
7
- var _constants = require("@atlaskit/theme/constants");
8
- var fontFamily = exports.fontFamily = (0, _constants.fontFamily)();
@@ -1,2 +0,0 @@
1
- import { fontFamily as getFontFamily } from '@atlaskit/theme/constants';
2
- export const fontFamily = getFontFamily();
@@ -1,2 +0,0 @@
1
- import { fontFamily as getFontFamily } from '@atlaskit/theme/constants';
2
- export var fontFamily = getFontFamily();
@@ -1 +0,0 @@
1
- export declare const fontFamily: string;
@@ -1 +0,0 @@
1
- export declare const fontFamily: string;