@atlaskit/icon 21.11.5 → 21.12.1
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 +16 -0
- package/base/package.json +2 -2
- package/constants/package.json +2 -2
- package/dist/cjs/components/icon.js +6 -1
- package/dist/cjs/version.json +1 -1
- package/dist/es2019/version.json +1 -1
- package/dist/esm/version.json +1 -1
- package/dist/types/types.d.ts +1 -1
- package/metadata/package.json +2 -2
- package/package.json +25 -16
- package/svg/package.json +2 -2
- package/types/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,21 @@
|
|
|
1
1
|
# @atlaskit/icon
|
|
2
2
|
|
|
3
|
+
## 21.12.1
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [`41fae2c6f68`](https://bitbucket.org/atlassian/atlassian-frontend/commits/41fae2c6f68) - Upgrade Typescript from `4.5.5` to `4.9.5`
|
|
8
|
+
|
|
9
|
+
## 21.12.0
|
|
10
|
+
|
|
11
|
+
### Minor Changes
|
|
12
|
+
|
|
13
|
+
- [`56507598609`](https://bitbucket.org/atlassian/atlassian-frontend/commits/56507598609) - Skip minor dependency bump
|
|
14
|
+
|
|
15
|
+
### Patch Changes
|
|
16
|
+
|
|
17
|
+
- Updated dependencies
|
|
18
|
+
|
|
3
19
|
## 21.11.5
|
|
4
20
|
|
|
5
21
|
### Patch Changes
|
package/base/package.json
CHANGED
package/constants/package.json
CHANGED
|
@@ -6,9 +6,9 @@
|
|
|
6
6
|
"sideEffects": false,
|
|
7
7
|
"types": "../dist/types/entry-points/constants.d.ts",
|
|
8
8
|
"typesVersions": {
|
|
9
|
-
">=4.
|
|
9
|
+
">=4.5 <4.9": {
|
|
10
10
|
"*": [
|
|
11
|
-
"../dist/types-ts4.
|
|
11
|
+
"../dist/types-ts4.5/entry-points/constants.d.ts"
|
|
12
12
|
]
|
|
13
13
|
}
|
|
14
14
|
}
|
|
@@ -13,7 +13,12 @@ var _components = require("@atlaskit/theme/components");
|
|
|
13
13
|
var _utils = require("./utils");
|
|
14
14
|
var _styles = require("./styles");
|
|
15
15
|
function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
|
|
16
|
-
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { (0, _defineProperty2.default)(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
16
|
+
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { (0, _defineProperty2.default)(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; } /** @jsx jsx */
|
|
17
|
+
/**
|
|
18
|
+
* We are hiding these props from consumers as they're used to
|
|
19
|
+
* hack around icon sizing specifically for icon-file-type.
|
|
20
|
+
*/
|
|
21
|
+
|
|
17
22
|
var iconStyles = (0, _react2.css)({
|
|
18
23
|
display: 'inline-block',
|
|
19
24
|
flexShrink: 0,
|
package/dist/cjs/version.json
CHANGED
package/dist/es2019/version.json
CHANGED
package/dist/esm/version.json
CHANGED
package/dist/types/types.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { ComponentType, SVGProps as ReactSVGProps, ReactNode } from 'react';
|
|
2
|
-
export
|
|
2
|
+
export type Size = 'small' | 'medium' | 'large' | 'xlarge';
|
|
3
3
|
export interface CustomGlyphProps extends ReactSVGProps<SVGSVGElement> {
|
|
4
4
|
/**
|
|
5
5
|
* provided to a custom glyph
|
package/metadata/package.json
CHANGED
|
@@ -6,9 +6,9 @@
|
|
|
6
6
|
"sideEffects": false,
|
|
7
7
|
"types": "../dist/types/entry-points/metadata.d.ts",
|
|
8
8
|
"typesVersions": {
|
|
9
|
-
">=4.
|
|
9
|
+
">=4.5 <4.9": {
|
|
10
10
|
"*": [
|
|
11
|
-
"../dist/types-ts4.
|
|
11
|
+
"../dist/types-ts4.5/entry-points/metadata.d.ts"
|
|
12
12
|
]
|
|
13
13
|
}
|
|
14
14
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/icon",
|
|
3
|
-
"version": "21.
|
|
3
|
+
"version": "21.12.1",
|
|
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/"
|
|
@@ -12,11 +12,18 @@
|
|
|
12
12
|
"module": "dist/esm/index.js",
|
|
13
13
|
"module:es2019": "dist/es2019/index.js",
|
|
14
14
|
"types": "dist/types/index.d.ts",
|
|
15
|
+
"typesVersions": {
|
|
16
|
+
">=4.5 <4.9": {
|
|
17
|
+
"*": [
|
|
18
|
+
"dist/types-ts4.5/*",
|
|
19
|
+
"dist/types-ts4.5/index.d.ts"
|
|
20
|
+
]
|
|
21
|
+
}
|
|
22
|
+
},
|
|
15
23
|
"sideEffects": false,
|
|
16
24
|
"atlaskit:src": "src/index.tsx",
|
|
17
25
|
"homepage": "https://atlassian.design/components/icon/",
|
|
18
26
|
"atlassian": {
|
|
19
|
-
"disableProductCI": true,
|
|
20
27
|
"team": "Design System Team",
|
|
21
28
|
"releaseModel": "scheduled",
|
|
22
29
|
"website": {
|
|
@@ -37,8 +44,8 @@
|
|
|
37
44
|
"build-glyphs": "ts-node --project ../../../tsconfig.node.json ./build/index.tsx"
|
|
38
45
|
},
|
|
39
46
|
"dependencies": {
|
|
40
|
-
"@atlaskit/theme": "^12.
|
|
41
|
-
"@atlaskit/tokens": "^1.
|
|
47
|
+
"@atlaskit/theme": "^12.5.0",
|
|
48
|
+
"@atlaskit/tokens": "^1.4.0",
|
|
42
49
|
"@babel/runtime": "^7.0.0",
|
|
43
50
|
"@emotion/react": "^11.7.1"
|
|
44
51
|
},
|
|
@@ -47,21 +54,21 @@
|
|
|
47
54
|
},
|
|
48
55
|
"devDependencies": {
|
|
49
56
|
"@af/icon-build-process": "^0.3.0",
|
|
50
|
-
"@atlaskit/button": "^16.
|
|
57
|
+
"@atlaskit/button": "^16.7.0",
|
|
51
58
|
"@atlaskit/docs": "*",
|
|
52
|
-
"@atlaskit/ds-lib": "^2.
|
|
53
|
-
"@atlaskit/dynamic-table": "^14.
|
|
54
|
-
"@atlaskit/icon-file-type": "^6.
|
|
55
|
-
"@atlaskit/icon-object": "^6.
|
|
56
|
-
"@atlaskit/logo": "^13.
|
|
57
|
-
"@atlaskit/modal-dialog": "^12.
|
|
58
|
-
"@atlaskit/section-message": "^6.
|
|
59
|
+
"@atlaskit/ds-lib": "^2.2.0",
|
|
60
|
+
"@atlaskit/dynamic-table": "^14.9.0",
|
|
61
|
+
"@atlaskit/icon-file-type": "^6.4.0",
|
|
62
|
+
"@atlaskit/icon-object": "^6.3.0",
|
|
63
|
+
"@atlaskit/logo": "^13.14.0",
|
|
64
|
+
"@atlaskit/modal-dialog": "^12.5.0",
|
|
65
|
+
"@atlaskit/section-message": "^6.4.0",
|
|
59
66
|
"@atlaskit/ssr": "*",
|
|
60
|
-
"@atlaskit/textfield": "^5.
|
|
61
|
-
"@atlaskit/tooltip": "^17.
|
|
67
|
+
"@atlaskit/textfield": "^5.4.0",
|
|
68
|
+
"@atlaskit/tooltip": "^17.8.0",
|
|
62
69
|
"@atlaskit/visual-regression": "*",
|
|
63
70
|
"@atlassian/atlassian-frontend-prettier-config-1.0.1": "npm:@atlassian/atlassian-frontend-prettier-config@1.0.1",
|
|
64
|
-
"@babel/core": "^7.
|
|
71
|
+
"@babel/core": "^7.20.0",
|
|
65
72
|
"@emotion/babel-preset-css-prop": "^10.0.7",
|
|
66
73
|
"@testing-library/react": "^12.1.5",
|
|
67
74
|
"classnames": "^2.2.5",
|
|
@@ -89,7 +96,9 @@
|
|
|
89
96
|
],
|
|
90
97
|
"ui-components": "lite-mode",
|
|
91
98
|
"analytics": "analytics-next",
|
|
92
|
-
"
|
|
99
|
+
"design-tokens": [
|
|
100
|
+
"color"
|
|
101
|
+
],
|
|
93
102
|
"deprecation": "no-deprecated-imports"
|
|
94
103
|
}
|
|
95
104
|
},
|
package/svg/package.json
CHANGED
package/types/package.json
CHANGED