@atlaskit/icon 22.1.1 → 22.2.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/base/package.json CHANGED
@@ -6,7 +6,7 @@
6
6
  "sideEffects": false,
7
7
  "types": "../dist/types/entry-points/base.d.ts",
8
8
  "typesVersions": {
9
- ">=4.5 <4.9": {
9
+ ">=4.5 <5.4": {
10
10
  "*": [
11
11
  "../dist/types-ts4.5/entry-points/base.d.ts"
12
12
  ]
@@ -6,7 +6,7 @@
6
6
  "sideEffects": false,
7
7
  "types": "../dist/types/entry-points/constants.d.ts",
8
8
  "typesVersions": {
9
- ">=4.5 <4.9": {
9
+ ">=4.5 <5.4": {
10
10
  "*": [
11
11
  "../dist/types-ts4.5/entry-points/constants.d.ts"
12
12
  ]
@@ -45,7 +45,6 @@ var baseHcmStyles = (0, _react2.css)({
45
45
  }
46
46
  }
47
47
  });
48
-
49
48
  var primaryEqualsSecondaryHcmStyles = (0, _react2.css)({
50
49
  '@media screen and (forced-colors: active)': {
51
50
  // eslint-disable-next-line @atlaskit/design-system/no-nested-styles
@@ -57,7 +56,6 @@ var primaryEqualsSecondaryHcmStyles = (0, _react2.css)({
57
56
  }
58
57
  }
59
58
  });
60
-
61
59
  var secondaryTransparentHcmStyles = (0, _react2.css)({
62
60
  '@media screen and (forced-colors: active)': {
63
61
  // eslint-disable-next-line @atlaskit/design-system/no-nested-styles
@@ -17,5 +17,5 @@ Object.defineProperty(exports, "default", {
17
17
  }
18
18
  });
19
19
  var _icon = _interopRequireWildcard(require("../components/icon"));
20
- function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
21
- function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || _typeof(obj) !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
20
+ function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(e) { return e ? t : r; })(e); }
21
+ function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != _typeof(e) && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && Object.prototype.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }
@@ -1,5 +1 @@
1
- "use strict";
2
-
3
- Object.defineProperty(exports, "__esModule", {
4
- value: true
5
- });
1
+ "use strict";
@@ -38,7 +38,6 @@ const baseHcmStyles = css({
38
38
  }
39
39
  }
40
40
  });
41
-
42
41
  const primaryEqualsSecondaryHcmStyles = css({
43
42
  '@media screen and (forced-colors: active)': {
44
43
  // eslint-disable-next-line @atlaskit/design-system/no-nested-styles
@@ -50,7 +49,6 @@ const primaryEqualsSecondaryHcmStyles = css({
50
49
  }
51
50
  }
52
51
  });
53
-
54
52
  const secondaryTransparentHcmStyles = css({
55
53
  '@media screen and (forced-colors: active)': {
56
54
  // eslint-disable-next-line @atlaskit/design-system/no-nested-styles
@@ -1 +0,0 @@
1
- export {};
@@ -40,7 +40,6 @@ var baseHcmStyles = css({
40
40
  }
41
41
  }
42
42
  });
43
-
44
43
  var primaryEqualsSecondaryHcmStyles = css({
45
44
  '@media screen and (forced-colors: active)': {
46
45
  // eslint-disable-next-line @atlaskit/design-system/no-nested-styles
@@ -52,7 +51,6 @@ var primaryEqualsSecondaryHcmStyles = css({
52
51
  }
53
52
  }
54
53
  });
55
-
56
54
  var secondaryTransparentHcmStyles = css({
57
55
  '@media screen and (forced-colors: active)': {
58
56
  // eslint-disable-next-line @atlaskit/design-system/no-nested-styles
@@ -1 +0,0 @@
1
- export {};
@@ -6,7 +6,7 @@
6
6
  "sideEffects": false,
7
7
  "types": "../dist/types/entry-points/metadata.d.ts",
8
8
  "typesVersions": {
9
- ">=4.5 <4.9": {
9
+ ">=4.5 <5.4": {
10
10
  "*": [
11
11
  "../dist/types-ts4.5/entry-points/metadata.d.ts"
12
12
  ]
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/icon",
3
- "version": "22.1.1",
3
+ "version": "22.2.0",
4
4
  "description": "An icon is a visual representation of a command, device, directory, or common action.",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/"
@@ -23,27 +23,31 @@
23
23
  "website": {
24
24
  "name": "Icon",
25
25
  "category": "Components"
26
- }
26
+ },
27
+ "runReact18": true
27
28
  },
28
29
  "scripts": {
29
30
  "build-glyphs": "ts-node --project ../../../tsconfig.node.json ./build/index.tsx"
30
31
  },
31
32
  "dependencies": {
32
- "@atlaskit/tokens": "^1.38.0",
33
+ "@atlaskit/tokens": "^1.48.0",
33
34
  "@babel/runtime": "^7.0.0",
34
35
  "@emotion/react": "^11.7.1"
35
36
  },
36
37
  "peerDependencies": {
37
- "react": "^16.8.0"
38
+ "react": "^16.8.0 || ^17.0.0 || ~18.2.0"
38
39
  },
39
40
  "devDependencies": {
40
41
  "@af/accessibility-testing": "*",
41
42
  "@af/icon-build-process": "^0.5.0",
42
43
  "@af/visual-regression": "*",
43
- "@atlaskit/ds-lib": "^2.2.0",
44
- "@atlaskit/logo": "^13.15.0",
44
+ "@atlaskit/ds-lib": "^2.3.0",
45
+ "@atlaskit/logo": "^13.16.0",
45
46
  "@atlaskit/ssr": "*",
46
- "@atlaskit/theme": "^12.6.0",
47
+ "@atlaskit/textfield": "^6.3.0",
48
+ "@atlaskit/theme": "^12.8.0",
49
+ "@atlaskit/toggle": "^13.1.0",
50
+ "@atlaskit/tooltip": "^18.4.0",
47
51
  "@atlaskit/visual-regression": "*",
48
52
  "@atlassian/atlassian-frontend-prettier-config-1.0.1": "npm:@atlassian/atlassian-frontend-prettier-config@1.0.1",
49
53
  "@babel/core": "^7.20.0",
@@ -100,4 +104,4 @@
100
104
  ".": "./src/index.tsx"
101
105
  },
102
106
  "prettier": "@atlassian/atlassian-frontend-prettier-config-1.0.1"
103
- }
107
+ }
package/svg/package.json CHANGED
@@ -6,7 +6,7 @@
6
6
  "sideEffects": false,
7
7
  "types": "../dist/types/entry-points/svg.d.ts",
8
8
  "typesVersions": {
9
- ">=4.5 <4.9": {
9
+ ">=4.5 <5.4": {
10
10
  "*": [
11
11
  "../dist/types-ts4.5/entry-points/svg.d.ts"
12
12
  ]
@@ -6,7 +6,7 @@
6
6
  "sideEffects": false,
7
7
  "types": "../dist/types/entry-points/types.d.ts",
8
8
  "typesVersions": {
9
- ">=4.5 <4.9": {
9
+ ">=4.5 <5.4": {
10
10
  "*": [
11
11
  "../dist/types-ts4.5/entry-points/types.d.ts"
12
12
  ]