@atlaskit/icon 21.12.5 → 21.12.7
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,17 @@
|
|
|
1
1
|
# @atlaskit/icon
|
|
2
2
|
|
|
3
|
+
## 21.12.7
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [`8a5ce2c105e`](https://bitbucket.org/atlassian/atlassian-frontend/commits/8a5ce2c105e) - This package is now onboarded onto the product push model.Th
|
|
8
|
+
|
|
9
|
+
## 21.12.6
|
|
10
|
+
|
|
11
|
+
### Patch Changes
|
|
12
|
+
|
|
13
|
+
- [`4ae083a7e66`](https://bitbucket.org/atlassian/atlassian-frontend/commits/4ae083a7e66) - Use `@af/accessibility-testing` for default jest-axe config and jest-axe import in accessibility testing.
|
|
14
|
+
|
|
3
15
|
## 21.12.5
|
|
4
16
|
|
|
5
17
|
### Patch Changes
|
|
@@ -23,7 +23,7 @@ var iconStyles = (0, _react2.css)({
|
|
|
23
23
|
display: 'inline-block',
|
|
24
24
|
flexShrink: 0,
|
|
25
25
|
lineHeight: 1,
|
|
26
|
-
// eslint-disable-next-line @
|
|
26
|
+
// eslint-disable-next-line @atlaskit/design-system/no-nested-styles
|
|
27
27
|
'> svg': _objectSpread(_objectSpread({}, _styles.commonSVGStyles), {}, {
|
|
28
28
|
maxWidth: '100%',
|
|
29
29
|
maxHeight: '100%',
|
|
@@ -37,7 +37,7 @@ var iconStyles = (0, _react2.css)({
|
|
|
37
37
|
*/
|
|
38
38
|
var baseHcmStyles = (0, _react2.css)({
|
|
39
39
|
'@media screen and (forced-colors: active)': {
|
|
40
|
-
// eslint-disable-next-line @
|
|
40
|
+
// eslint-disable-next-line @atlaskit/design-system/no-nested-styles
|
|
41
41
|
'> svg': {
|
|
42
42
|
filter: 'grayscale(1)',
|
|
43
43
|
'--icon-primary-color': 'CanvasText',
|
|
@@ -49,7 +49,7 @@ var baseHcmStyles = (0, _react2.css)({
|
|
|
49
49
|
|
|
50
50
|
var primaryEqualsSecondaryHcmStyles = (0, _react2.css)({
|
|
51
51
|
'@media screen and (forced-colors: active)': {
|
|
52
|
-
// eslint-disable-next-line @
|
|
52
|
+
// eslint-disable-next-line @atlaskit/design-system/no-nested-styles
|
|
53
53
|
'> svg': {
|
|
54
54
|
// if the primaryColor is the same as the secondaryColor we
|
|
55
55
|
// set the --icon-primary-color to Canvas
|
|
@@ -61,7 +61,7 @@ var primaryEqualsSecondaryHcmStyles = (0, _react2.css)({
|
|
|
61
61
|
|
|
62
62
|
var secondaryTransparentHcmStyles = (0, _react2.css)({
|
|
63
63
|
'@media screen and (forced-colors: active)': {
|
|
64
|
-
// eslint-disable-next-line @
|
|
64
|
+
// eslint-disable-next-line @atlaskit/design-system/no-nested-styles
|
|
65
65
|
'> svg': {
|
|
66
66
|
'--icon-secondary-color': 'transparent' // background
|
|
67
67
|
}
|
package/dist/cjs/version.json
CHANGED
|
@@ -15,7 +15,7 @@ const iconStyles = css({
|
|
|
15
15
|
display: 'inline-block',
|
|
16
16
|
flexShrink: 0,
|
|
17
17
|
lineHeight: 1,
|
|
18
|
-
// eslint-disable-next-line @
|
|
18
|
+
// eslint-disable-next-line @atlaskit/design-system/no-nested-styles
|
|
19
19
|
'> svg': {
|
|
20
20
|
...commonSVGStyles,
|
|
21
21
|
maxWidth: '100%',
|
|
@@ -30,7 +30,7 @@ const iconStyles = css({
|
|
|
30
30
|
*/
|
|
31
31
|
const baseHcmStyles = css({
|
|
32
32
|
'@media screen and (forced-colors: active)': {
|
|
33
|
-
// eslint-disable-next-line @
|
|
33
|
+
// eslint-disable-next-line @atlaskit/design-system/no-nested-styles
|
|
34
34
|
'> svg': {
|
|
35
35
|
filter: 'grayscale(1)',
|
|
36
36
|
'--icon-primary-color': 'CanvasText',
|
|
@@ -42,7 +42,7 @@ const baseHcmStyles = css({
|
|
|
42
42
|
|
|
43
43
|
const primaryEqualsSecondaryHcmStyles = css({
|
|
44
44
|
'@media screen and (forced-colors: active)': {
|
|
45
|
-
// eslint-disable-next-line @
|
|
45
|
+
// eslint-disable-next-line @atlaskit/design-system/no-nested-styles
|
|
46
46
|
'> svg': {
|
|
47
47
|
// if the primaryColor is the same as the secondaryColor we
|
|
48
48
|
// set the --icon-primary-color to Canvas
|
|
@@ -54,7 +54,7 @@ const primaryEqualsSecondaryHcmStyles = css({
|
|
|
54
54
|
|
|
55
55
|
const secondaryTransparentHcmStyles = css({
|
|
56
56
|
'@media screen and (forced-colors: active)': {
|
|
57
|
-
// eslint-disable-next-line @
|
|
57
|
+
// eslint-disable-next-line @atlaskit/design-system/no-nested-styles
|
|
58
58
|
'> svg': {
|
|
59
59
|
'--icon-secondary-color': 'transparent' // background
|
|
60
60
|
}
|
package/dist/es2019/version.json
CHANGED
|
@@ -18,7 +18,7 @@ var iconStyles = css({
|
|
|
18
18
|
display: 'inline-block',
|
|
19
19
|
flexShrink: 0,
|
|
20
20
|
lineHeight: 1,
|
|
21
|
-
// eslint-disable-next-line @
|
|
21
|
+
// eslint-disable-next-line @atlaskit/design-system/no-nested-styles
|
|
22
22
|
'> svg': _objectSpread(_objectSpread({}, commonSVGStyles), {}, {
|
|
23
23
|
maxWidth: '100%',
|
|
24
24
|
maxHeight: '100%',
|
|
@@ -32,7 +32,7 @@ var iconStyles = css({
|
|
|
32
32
|
*/
|
|
33
33
|
var baseHcmStyles = css({
|
|
34
34
|
'@media screen and (forced-colors: active)': {
|
|
35
|
-
// eslint-disable-next-line @
|
|
35
|
+
// eslint-disable-next-line @atlaskit/design-system/no-nested-styles
|
|
36
36
|
'> svg': {
|
|
37
37
|
filter: 'grayscale(1)',
|
|
38
38
|
'--icon-primary-color': 'CanvasText',
|
|
@@ -44,7 +44,7 @@ var baseHcmStyles = css({
|
|
|
44
44
|
|
|
45
45
|
var primaryEqualsSecondaryHcmStyles = css({
|
|
46
46
|
'@media screen and (forced-colors: active)': {
|
|
47
|
-
// eslint-disable-next-line @
|
|
47
|
+
// eslint-disable-next-line @atlaskit/design-system/no-nested-styles
|
|
48
48
|
'> svg': {
|
|
49
49
|
// if the primaryColor is the same as the secondaryColor we
|
|
50
50
|
// set the --icon-primary-color to Canvas
|
|
@@ -56,7 +56,7 @@ var primaryEqualsSecondaryHcmStyles = css({
|
|
|
56
56
|
|
|
57
57
|
var secondaryTransparentHcmStyles = css({
|
|
58
58
|
'@media screen and (forced-colors: active)': {
|
|
59
|
-
// eslint-disable-next-line @
|
|
59
|
+
// eslint-disable-next-line @atlaskit/design-system/no-nested-styles
|
|
60
60
|
'> svg': {
|
|
61
61
|
'--icon-secondary-color': 'transparent' // background
|
|
62
62
|
}
|
package/dist/esm/version.json
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/icon",
|
|
3
|
-
"version": "21.12.
|
|
3
|
+
"version": "21.12.7",
|
|
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,40 +12,25 @@
|
|
|
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
|
-
},
|
|
23
15
|
"sideEffects": false,
|
|
24
16
|
"atlaskit:src": "src/index.tsx",
|
|
25
|
-
"homepage": "https://atlassian.design/components/icon/",
|
|
26
17
|
"atlassian": {
|
|
27
18
|
"team": "Design System Team",
|
|
19
|
+
"productPushConsumption": [
|
|
20
|
+
"jira"
|
|
21
|
+
],
|
|
28
22
|
"releaseModel": "continuous",
|
|
29
23
|
"website": {
|
|
30
24
|
"name": "Icon",
|
|
31
25
|
"category": "Components"
|
|
32
26
|
}
|
|
33
27
|
},
|
|
34
|
-
"af:exports": {
|
|
35
|
-
"./base": "./src/entry-points/base.tsx",
|
|
36
|
-
"./constants": "./src/entry-points/constants.tsx",
|
|
37
|
-
"./metadata": "./src/entry-points/metadata.tsx",
|
|
38
|
-
"./svg": "./src/entry-points/svg.tsx",
|
|
39
|
-
"./types": "./src/entry-points/types.tsx",
|
|
40
|
-
"./glyph": "./glyph",
|
|
41
|
-
".": "./src/index.tsx"
|
|
42
|
-
},
|
|
43
28
|
"scripts": {
|
|
44
29
|
"build-glyphs": "ts-node --project ../../../tsconfig.node.json ./build/index.tsx"
|
|
45
30
|
},
|
|
46
31
|
"dependencies": {
|
|
47
32
|
"@atlaskit/theme": "^12.5.0",
|
|
48
|
-
"@atlaskit/tokens": "^1.
|
|
33
|
+
"@atlaskit/tokens": "^1.14.0",
|
|
49
34
|
"@babel/runtime": "^7.0.0",
|
|
50
35
|
"@emotion/react": "^11.7.1"
|
|
51
36
|
},
|
|
@@ -53,18 +38,12 @@
|
|
|
53
38
|
"react": "^16.8.0"
|
|
54
39
|
},
|
|
55
40
|
"devDependencies": {
|
|
41
|
+
"@af/accessibility-testing": "*",
|
|
56
42
|
"@af/icon-build-process": "^0.3.0",
|
|
57
|
-
"@
|
|
58
|
-
"@atlaskit/docs": "*",
|
|
43
|
+
"@af/visual-regression": "*",
|
|
59
44
|
"@atlaskit/ds-lib": "^2.2.0",
|
|
60
|
-
"@atlaskit/icon-file-type": "^6.4.0",
|
|
61
|
-
"@atlaskit/icon-object": "^6.3.0",
|
|
62
45
|
"@atlaskit/logo": "^13.14.0",
|
|
63
|
-
"@atlaskit/modal-dialog": "^12.6.0",
|
|
64
|
-
"@atlaskit/section-message": "^6.4.0",
|
|
65
46
|
"@atlaskit/ssr": "*",
|
|
66
|
-
"@atlaskit/textfield": "^5.5.0",
|
|
67
|
-
"@atlaskit/tooltip": "^17.8.0",
|
|
68
47
|
"@atlaskit/visual-regression": "*",
|
|
69
48
|
"@atlassian/atlassian-frontend-prettier-config-1.0.1": "npm:@atlassian/atlassian-frontend-prettier-config@1.0.1",
|
|
70
49
|
"@babel/core": "^7.20.0",
|
|
@@ -102,5 +81,23 @@
|
|
|
102
81
|
"deprecation": "no-deprecated-imports"
|
|
103
82
|
}
|
|
104
83
|
},
|
|
84
|
+
"typesVersions": {
|
|
85
|
+
">=4.5 <4.9": {
|
|
86
|
+
"*": [
|
|
87
|
+
"dist/types-ts4.5/*",
|
|
88
|
+
"dist/types-ts4.5/index.d.ts"
|
|
89
|
+
]
|
|
90
|
+
}
|
|
91
|
+
},
|
|
92
|
+
"homepage": "https://atlassian.design/components/icon/",
|
|
93
|
+
"af:exports": {
|
|
94
|
+
"./base": "./src/entry-points/base.tsx",
|
|
95
|
+
"./constants": "./src/entry-points/constants.tsx",
|
|
96
|
+
"./metadata": "./src/entry-points/metadata.tsx",
|
|
97
|
+
"./svg": "./src/entry-points/svg.tsx",
|
|
98
|
+
"./types": "./src/entry-points/types.tsx",
|
|
99
|
+
"./glyph": "./glyph",
|
|
100
|
+
".": "./src/index.tsx"
|
|
101
|
+
},
|
|
105
102
|
"prettier": "@atlassian/atlassian-frontend-prettier-config-1.0.1"
|
|
106
103
|
}
|