@atlaskit/css
Advanced tools
Comparing version 0.7.4 to 0.7.5
# @atlaskit/css | ||
## 0.7.5 | ||
### Patch Changes | ||
- [#105661](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/105661) | ||
[`f944cf37082f6`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/f944cf37082f6) - | ||
Update dependencies and remove unused internal export. | ||
## 0.7.4 | ||
@@ -4,0 +12,0 @@ |
@@ -9,3 +9,2 @@ "use strict"; | ||
exports.isStyleElement = isStyleElement; | ||
exports.removeCssContent = removeCssContent; | ||
var _defineProperty2 = _interopRequireDefault(require("@babel/runtime/helpers/defineProperty")); | ||
@@ -12,0 +11,0 @@ 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; } |
@@ -75,3 +75,3 @@ if (typeof Node !== 'undefined') { | ||
*/ | ||
export function removeCssContent(text, node) { | ||
function removeCssContent(text, node) { | ||
if (text === 0) { | ||
@@ -78,0 +78,0 @@ return test.toString(); |
@@ -77,3 +77,3 @@ import _defineProperty from "@babel/runtime/helpers/defineProperty"; | ||
*/ | ||
export function removeCssContent(text, node) { | ||
function removeCssContent(text, node) { | ||
if (text === 0) { | ||
@@ -80,0 +80,0 @@ return test.toString(); |
@@ -9,9 +9,1 @@ import { type HTMLElementExtended, type HTMLStyleElementExtended } from './types'; | ||
export declare function isExtendedElement(node?: Node): node is HTMLElementExtended; | ||
/** | ||
* Return text with the inline CSS style definitions removed | ||
* | ||
* @param text string | ||
* @param node | ||
* @returns string | ||
*/ | ||
export declare function removeCssContent(text: string | number | null | undefined, node: Node): string; |
@@ -9,9 +9,1 @@ import { type HTMLElementExtended, type HTMLStyleElementExtended } from './types'; | ||
export declare function isExtendedElement(node?: Node): node is HTMLElementExtended; | ||
/** | ||
* Return text with the inline CSS style definitions removed | ||
* | ||
* @param text string | ||
* @param node | ||
* @returns string | ||
*/ | ||
export declare function removeCssContent(text: string | number | null | undefined, node: Node): string; |
{ | ||
"name": "@atlaskit/css", | ||
"version": "0.7.4", | ||
"version": "0.7.5", | ||
"description": "Style components backed by Atlassian Design System design tokens powered by Compiled CSS-in-JS.", | ||
@@ -51,5 +51,4 @@ "author": "Atlassian Pty Ltd", | ||
"dependencies": { | ||
"@atlaskit/tokens": "^3.1.0", | ||
"@atlaskit/tokens": "^3.2.0", | ||
"@babel/runtime": "^7.0.0", | ||
"@compiled/jest": "^0.10.5", | ||
"@compiled/react": "^0.18.1" | ||
@@ -61,7 +60,6 @@ }, | ||
"devDependencies": { | ||
"@af/integration-testing": "*", | ||
"@af/visual-regression": "*", | ||
"@atlaskit/button": "^20.3.10", | ||
"@atlaskit/ds-lib": "^3.3.0", | ||
"@atlaskit/ssr": "*", | ||
"@atlaskit/visual-regression": "*", | ||
"@atlaskit/primitives": "^13.3.8", | ||
"@emotion/react": "^11.7.1", | ||
@@ -68,0 +66,0 @@ "@testing-library/react": "^12.1.5", |
4
10
132370
2291
- Removed@compiled/jest@^0.10.5
- Removed@compiled/jest@0.10.5(transitive)
- Removedatob@2.1.2(transitive)
- Removedcss@3.0.0(transitive)
- Removeddecode-uri-component@0.2.2(transitive)
- Removedinherits@2.0.4(transitive)
- Removedsource-map@0.6.1(transitive)
- Removedsource-map-resolve@0.6.0(transitive)
Updated@atlaskit/tokens@^3.2.0