@atlaskit/form 10.4.1 → 10.4.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 +18 -0
- package/__perf__/default.tsx +1 -1
- package/dist/cjs/form-header.js +1 -3
- package/dist/es2019/form-header.js +1 -3
- package/dist/esm/form-header.js +1 -3
- package/package.json +5 -5
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,23 @@
|
|
|
1
1
|
# @atlaskit/form
|
|
2
2
|
|
|
3
|
+
## 10.4.3
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [#114683](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/114683)
|
|
8
|
+
[`ff0815316ab38`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/ff0815316ab38) -
|
|
9
|
+
Removes usage of custom theme button in places where its API is not being used and the default
|
|
10
|
+
button is able to be used instead. This should give a slight performance (runtime) improvement.
|
|
11
|
+
|
|
12
|
+
## 10.4.2
|
|
13
|
+
|
|
14
|
+
### Patch Changes
|
|
15
|
+
|
|
16
|
+
- [#105813](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/105813)
|
|
17
|
+
[`f2f51e7a24d00`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/f2f51e7a24d00) -
|
|
18
|
+
Internal change only. Update typography to use typography tokens.
|
|
19
|
+
- Updated dependencies
|
|
20
|
+
|
|
3
21
|
## 10.4.1
|
|
4
22
|
|
|
5
23
|
### Patch Changes
|
package/__perf__/default.tsx
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import React, { Fragment } from 'react';
|
|
2
2
|
|
|
3
|
+
import { LoadingButton as Button } from '@atlaskit/button';
|
|
3
4
|
import ButtonGroup from '@atlaskit/button/button-group';
|
|
4
|
-
import Button from '@atlaskit/button/custom-theme-button';
|
|
5
5
|
import TextField from '@atlaskit/textfield';
|
|
6
6
|
|
|
7
7
|
import Form, { ErrorMessage, Field, FormFooter, HelperMessage } from '../src';
|
package/dist/cjs/form-header.js
CHANGED
|
@@ -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: ""
|
|
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:
|
|
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/dist/esm/form-header.js
CHANGED
|
@@ -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: ""
|
|
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.
|
|
3
|
+
"version": "10.4.3",
|
|
4
4
|
"description": "A form allows users to input information.",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/"
|
|
@@ -31,9 +31,9 @@
|
|
|
31
31
|
"@atlaskit/heading": "^2.4.0",
|
|
32
32
|
"@atlaskit/icon": "^22.4.0",
|
|
33
33
|
"@atlaskit/platform-feature-flags": "^0.2.5",
|
|
34
|
-
"@atlaskit/primitives": "^8.
|
|
35
|
-
"@atlaskit/theme": "^12.
|
|
36
|
-
"@atlaskit/tokens": "^1.
|
|
34
|
+
"@atlaskit/primitives": "^8.2.0",
|
|
35
|
+
"@atlaskit/theme": "^12.11.0",
|
|
36
|
+
"@atlaskit/tokens": "^1.53.0",
|
|
37
37
|
"@babel/runtime": "^7.0.0",
|
|
38
38
|
"@emotion/react": "^11.7.1",
|
|
39
39
|
"final-form": "^4.20.3",
|
|
@@ -50,7 +50,7 @@
|
|
|
50
50
|
"@af/integration-testing": "*",
|
|
51
51
|
"@af/visual-regression": "*",
|
|
52
52
|
"@atlaskit/banner": "^12.4.0",
|
|
53
|
-
"@atlaskit/button": "^
|
|
53
|
+
"@atlaskit/button": "^18.0.0",
|
|
54
54
|
"@atlaskit/checkbox": "^13.5.0",
|
|
55
55
|
"@atlaskit/ds-lib": "^2.3.0",
|
|
56
56
|
"@atlaskit/modal-dialog": "^12.14.0",
|