@atlaskit/css 0.7.4 → 0.8.0
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 +20 -0
- package/dist/cjs/index.js +1 -1
- package/dist/cjs/test-utils/inline-css.js +0 -1
- package/dist/es2019/index.js +1 -1
- package/dist/es2019/test-utils/inline-css.js +1 -1
- package/dist/esm/index.js +1 -1
- package/dist/esm/test-utils/inline-css.js +1 -1
- package/dist/types/test-utils/inline-css.d.ts +0 -8
- package/dist/types-ts4.5/test-utils/inline-css.d.ts +0 -8
- package/package.json +7 -9
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,25 @@
|
|
|
1
1
|
# @atlaskit/css
|
|
2
2
|
|
|
3
|
+
## 0.8.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- [#109060](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/109060)
|
|
8
|
+
[`4660ec858a305`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/4660ec858a305) -
|
|
9
|
+
Update `React` from v16 to v18
|
|
10
|
+
|
|
11
|
+
### Patch Changes
|
|
12
|
+
|
|
13
|
+
- Updated dependencies
|
|
14
|
+
|
|
15
|
+
## 0.7.5
|
|
16
|
+
|
|
17
|
+
### Patch Changes
|
|
18
|
+
|
|
19
|
+
- [#105661](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/105661)
|
|
20
|
+
[`f944cf37082f6`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/f944cf37082f6) -
|
|
21
|
+
Update dependencies and remove unused internal export.
|
|
22
|
+
|
|
3
23
|
## 0.7.4
|
|
4
24
|
|
|
5
25
|
### Patch Changes
|
package/dist/cjs/index.js
CHANGED
|
@@ -6,7 +6,6 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
6
6
|
});
|
|
7
7
|
exports.isExtendedElement = isExtendedElement;
|
|
8
8
|
exports.isStyleElement = isStyleElement;
|
|
9
|
-
exports.removeCssContent = removeCssContent;
|
|
10
9
|
var _defineProperty2 = _interopRequireDefault(require("@babel/runtime/helpers/defineProperty"));
|
|
11
10
|
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
12
11
|
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { (0, _defineProperty2.default)(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
package/dist/es2019/index.js
CHANGED
package/dist/esm/index.js
CHANGED
|
@@ -6,11 +6,3 @@ import { type HTMLElementExtended, type HTMLStyleElementExtended } from './types
|
|
|
6
6
|
*/
|
|
7
7
|
export declare function isStyleElement(node: Node): node is HTMLStyleElementExtended;
|
|
8
8
|
export declare function isExtendedElement(node?: Node): node is HTMLElementExtended;
|
|
9
|
-
/**
|
|
10
|
-
* Return text with the inline CSS style definitions removed
|
|
11
|
-
*
|
|
12
|
-
* @param text string
|
|
13
|
-
* @param node
|
|
14
|
-
* @returns string
|
|
15
|
-
*/
|
|
16
|
-
export declare function removeCssContent(text: string | number | null | undefined, node: Node): string;
|
|
@@ -6,11 +6,3 @@ import { type HTMLElementExtended, type HTMLStyleElementExtended } from './types
|
|
|
6
6
|
*/
|
|
7
7
|
export declare function isStyleElement(node: Node): node is HTMLStyleElementExtended;
|
|
8
8
|
export declare function isExtendedElement(node?: Node): node is HTMLElementExtended;
|
|
9
|
-
/**
|
|
10
|
-
* Return text with the inline CSS style definitions removed
|
|
11
|
-
*
|
|
12
|
-
* @param text string
|
|
13
|
-
* @param node
|
|
14
|
-
* @returns string
|
|
15
|
-
*/
|
|
16
|
-
export declare function removeCssContent(text: string | number | null | undefined, node: Node): string;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/css",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.8.0",
|
|
4
4
|
"description": "Style components backed by Atlassian Design System design tokens powered by Compiled CSS-in-JS.",
|
|
5
5
|
"author": "Atlassian Pty Ltd",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -48,25 +48,23 @@
|
|
|
48
48
|
"./test-utils": "./src/test-utils/index.tsx"
|
|
49
49
|
},
|
|
50
50
|
"dependencies": {
|
|
51
|
-
"@atlaskit/tokens": "^3.
|
|
51
|
+
"@atlaskit/tokens": "^3.3.0",
|
|
52
52
|
"@babel/runtime": "^7.0.0",
|
|
53
|
-
"@compiled/jest": "^0.10.5",
|
|
54
53
|
"@compiled/react": "^0.18.1"
|
|
55
54
|
},
|
|
56
55
|
"peerDependencies": {
|
|
57
56
|
"react": "^16.8.0 || ^17.0.0 || ^18.0.0"
|
|
58
57
|
},
|
|
59
58
|
"devDependencies": {
|
|
60
|
-
"@af/integration-testing": "*",
|
|
61
59
|
"@af/visual-regression": "*",
|
|
62
|
-
"@atlaskit/
|
|
63
|
-
"@atlaskit/
|
|
64
|
-
"@atlaskit/
|
|
60
|
+
"@atlaskit/button": "^20.4.0",
|
|
61
|
+
"@atlaskit/ds-lib": "^3.5.0",
|
|
62
|
+
"@atlaskit/primitives": "^13.4.0",
|
|
65
63
|
"@emotion/react": "^11.7.1",
|
|
66
|
-
"@testing-library/react": "^
|
|
64
|
+
"@testing-library/react": "^13.4.0",
|
|
67
65
|
"@types/jscodeshift": "^0.11.0",
|
|
68
66
|
"jscodeshift": "^0.13.0",
|
|
69
|
-
"react-dom": "^
|
|
67
|
+
"react-dom": "^18.2.0",
|
|
70
68
|
"typescript": "~5.4.2"
|
|
71
69
|
},
|
|
72
70
|
"techstack": {
|