@atlaskit/css 0.7.3 → 0.7.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,21 @@
1
1
  # @atlaskit/css
2
2
 
3
+ ## 0.7.5
4
+
5
+ ### Patch Changes
6
+
7
+ - [#105661](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/105661)
8
+ [`f944cf37082f6`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/f944cf37082f6) -
9
+ Update dependencies and remove unused internal export.
10
+
11
+ ## 0.7.4
12
+
13
+ ### Patch Changes
14
+
15
+ - [#103999](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/103999)
16
+ [`9f62ecec4d422`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/9f62ecec4d422) -
17
+ Update dependencies.
18
+
3
19
  ## 0.7.3
4
20
 
5
21
  ### Patch Changes
@@ -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; }
@@ -72,7 +72,7 @@ function getInnerCssContent(node) {
72
72
  * @param node
73
73
  * @returns string
74
74
  */
75
- export function removeCssContent(text, node) {
75
+ function removeCssContent(text, node) {
76
76
  if (text === 0) {
77
77
  return test.toString();
78
78
  }
@@ -74,7 +74,7 @@ function getInnerCssContent(node) {
74
74
  * @param node
75
75
  * @returns string
76
76
  */
77
- export function removeCssContent(text, node) {
77
+ function removeCssContent(text, node) {
78
78
  if (text === 0) {
79
79
  return test.toString();
80
80
  }
@@ -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.7.3",
3
+ "version": "0.7.5",
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,27 +48,24 @@
48
48
  "./test-utils": "./src/test-utils/index.tsx"
49
49
  },
50
50
  "dependencies": {
51
- "@atlaskit/tokens": "^3.0.0",
51
+ "@atlaskit/tokens": "^3.2.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": "*",
60
+ "@atlaskit/button": "^20.3.10",
62
61
  "@atlaskit/ds-lib": "^3.3.0",
63
- "@atlaskit/ssr": "*",
64
- "@atlaskit/visual-regression": "*",
62
+ "@atlaskit/primitives": "^13.3.8",
65
63
  "@emotion/react": "^11.7.1",
66
64
  "@testing-library/react": "^12.1.5",
67
65
  "@types/jscodeshift": "^0.11.0",
68
66
  "jscodeshift": "^0.13.0",
69
67
  "react-dom": "^16.8.0",
70
- "typescript": "~5.4.2",
71
- "wait-for-expect": "^1.2.0"
68
+ "typescript": "~5.4.2"
72
69
  },
73
70
  "techstack": {
74
71
  "@atlassian/frontend": {