@atlaskit/form 10.4.1 → 10.4.2

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,14 @@
1
1
  # @atlaskit/form
2
2
 
3
+ ## 10.4.2
4
+
5
+ ### Patch Changes
6
+
7
+ - [#105813](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/105813)
8
+ [`f2f51e7a24d00`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/f2f51e7a24d00) -
9
+ Internal change only. Update typography to use typography tokens.
10
+ - Updated dependencies
11
+
3
12
  ## 10.4.1
4
13
 
5
14
  ### Patch Changes
@@ -9,7 +9,6 @@ var _react = require("@emotion/react");
9
9
  var _heading = _interopRequireDefault(require("@atlaskit/heading"));
10
10
  var _platformFeatureFlags = require("@atlaskit/platform-feature-flags");
11
11
  var _primitives = require("@atlaskit/primitives");
12
- var _constants = require("@atlaskit/theme/constants");
13
12
  var _typography = require("@atlaskit/theme/typography");
14
13
  /**
15
14
  * @jsxRuntime classic
@@ -18,7 +17,6 @@ var _typography = require("@atlaskit/theme/typography");
18
17
 
19
18
  // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
20
19
 
21
- var fontFamily = (0, _constants.fontFamily)();
22
20
  var formHeaderContentStyles = (0, _primitives.xcss)({
23
21
  minWidth: '100%',
24
22
  marginBlockStart: 'space.100'
@@ -35,7 +33,7 @@ var formHeaderTitleStyles = (0, _react.css)({
35
33
  whiteSpace: 'nowrap'
36
34
  });
37
35
  var formHeaderWrapperStyles = (0, _react.css)({
38
- fontFamily: "".concat(fontFamily)
36
+ fontFamily: "var(--ds-font-family-body, ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, system-ui, \"Helvetica Neue\", sans-serif)"
39
37
  });
40
38
 
41
39
  // eslint-disable-next-line @atlaskit/design-system/consistent-css-prop-usage, @atlaskit/ui-styling-standard/no-imported-style-values, @atlaskit/ui-styling-standard/no-unsafe-values -- Ignored via go/DSP-18766
@@ -8,9 +8,7 @@ import { css, jsx } from '@emotion/react';
8
8
  import Heading from '@atlaskit/heading';
9
9
  import { getBooleanFF } from '@atlaskit/platform-feature-flags';
10
10
  import { Box, xcss } from '@atlaskit/primitives';
11
- import { fontFamily as getFontFamily } from '@atlaskit/theme/constants';
12
11
  import { h700 } from '@atlaskit/theme/typography';
13
- const fontFamily = getFontFamily();
14
12
  const formHeaderContentStyles = xcss({
15
13
  minWidth: '100%',
16
14
  marginBlockStart: 'space.100'
@@ -27,7 +25,7 @@ const formHeaderTitleStyles = css({
27
25
  whiteSpace: 'nowrap'
28
26
  });
29
27
  const formHeaderWrapperStyles = css({
30
- fontFamily: `${fontFamily}`
28
+ fontFamily: "var(--ds-font-family-body, ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, system-ui, \"Helvetica Neue\", sans-serif)"
31
29
  });
32
30
 
33
31
  // eslint-disable-next-line @atlaskit/design-system/consistent-css-prop-usage, @atlaskit/ui-styling-standard/no-imported-style-values, @atlaskit/ui-styling-standard/no-unsafe-values -- Ignored via go/DSP-18766
@@ -8,9 +8,7 @@ import { css, jsx } from '@emotion/react';
8
8
  import Heading from '@atlaskit/heading';
9
9
  import { getBooleanFF } from '@atlaskit/platform-feature-flags';
10
10
  import { Box, xcss } from '@atlaskit/primitives';
11
- import { fontFamily as getFontFamily } from '@atlaskit/theme/constants';
12
11
  import { h700 } from '@atlaskit/theme/typography';
13
- var fontFamily = getFontFamily();
14
12
  var formHeaderContentStyles = xcss({
15
13
  minWidth: '100%',
16
14
  marginBlockStart: 'space.100'
@@ -27,7 +25,7 @@ var formHeaderTitleStyles = css({
27
25
  whiteSpace: 'nowrap'
28
26
  });
29
27
  var formHeaderWrapperStyles = css({
30
- fontFamily: "".concat(fontFamily)
28
+ fontFamily: "var(--ds-font-family-body, ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, system-ui, \"Helvetica Neue\", sans-serif)"
31
29
  });
32
30
 
33
31
  // eslint-disable-next-line @atlaskit/design-system/consistent-css-prop-usage, @atlaskit/ui-styling-standard/no-imported-style-values, @atlaskit/ui-styling-standard/no-unsafe-values -- Ignored via go/DSP-18766
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/form",
3
- "version": "10.4.1",
3
+ "version": "10.4.2",
4
4
  "description": "A form allows users to input information.",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/"
@@ -32,7 +32,7 @@
32
32
  "@atlaskit/icon": "^22.4.0",
33
33
  "@atlaskit/platform-feature-flags": "^0.2.5",
34
34
  "@atlaskit/primitives": "^8.0.0",
35
- "@atlaskit/theme": "^12.10.0",
35
+ "@atlaskit/theme": "^12.11.0",
36
36
  "@atlaskit/tokens": "^1.51.0",
37
37
  "@babel/runtime": "^7.0.0",
38
38
  "@emotion/react": "^11.7.1",