@atlaskit/icon 21.10.1 → 21.10.2
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 +7 -0
- package/constellation/index/examples.mdx +7 -0
- package/dist/cjs/components/utils.js +2 -2
- package/dist/cjs/version.json +1 -1
- package/dist/es2019/components/utils.js +2 -2
- package/dist/es2019/version.json +1 -1
- package/dist/esm/components/utils.js +2 -2
- package/dist/esm/version.json +1 -1
- package/dist/types/components/utils.d.ts +1 -1
- package/package.json +3 -3
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,12 @@
|
|
|
1
1
|
# @atlaskit/icon
|
|
2
2
|
|
|
3
|
+
## 21.10.2
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [`19d72473dfb`](https://bitbucket.org/atlassian/atlassian-frontend/commits/19d72473dfb) - Updates usage of deprecated token names so they're aligned with the latest naming conventions. No UI or visual changes
|
|
8
|
+
- Updated dependencies
|
|
9
|
+
|
|
3
10
|
## 21.10.1
|
|
4
11
|
|
|
5
12
|
### Patch Changes
|
|
@@ -5,8 +5,8 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
5
5
|
});
|
|
6
6
|
exports.getBackground = void 0;
|
|
7
7
|
var themedBackground = {
|
|
8
|
-
light: "var(--ds-
|
|
9
|
-
dark: "var(--ds-
|
|
8
|
+
light: "var(--ds-surface, #FFFFFF)",
|
|
9
|
+
dark: "var(--ds-surface, #1B2638)"
|
|
10
10
|
};
|
|
11
11
|
/**
|
|
12
12
|
* Returns the background color depending on the passed through mode.
|
package/dist/cjs/version.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
const themedBackground = {
|
|
2
|
-
light: "var(--ds-
|
|
3
|
-
dark: "var(--ds-
|
|
2
|
+
light: "var(--ds-surface, #FFFFFF)",
|
|
3
|
+
dark: "var(--ds-surface, #1B2638)"
|
|
4
4
|
};
|
|
5
5
|
/**
|
|
6
6
|
* Returns the background color depending on the passed through mode.
|
package/dist/es2019/version.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
var themedBackground = {
|
|
2
|
-
light: "var(--ds-
|
|
3
|
-
dark: "var(--ds-
|
|
2
|
+
light: "var(--ds-surface, #FFFFFF)",
|
|
3
|
+
dark: "var(--ds-surface, #1B2638)"
|
|
4
4
|
};
|
|
5
5
|
/**
|
|
6
6
|
* Returns the background color depending on the passed through mode.
|
package/dist/esm/version.json
CHANGED
|
@@ -3,4 +3,4 @@ import type { ThemeModes } from '@atlaskit/theme/types';
|
|
|
3
3
|
* Returns the background color depending on the passed through mode.
|
|
4
4
|
* @param mode
|
|
5
5
|
*/
|
|
6
|
-
export declare const getBackground: (mode?: ThemeModes) => "var(--ds-
|
|
6
|
+
export declare const getBackground: (mode?: ThemeModes) => "var(--ds-surface)";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/icon",
|
|
3
|
-
"version": "21.10.
|
|
3
|
+
"version": "21.10.2",
|
|
4
4
|
"description": "An icon is used as a visual representation of common actions and commands to provide context.",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/"
|
|
@@ -35,7 +35,7 @@
|
|
|
35
35
|
},
|
|
36
36
|
"dependencies": {
|
|
37
37
|
"@atlaskit/theme": "^12.1.0",
|
|
38
|
-
"@atlaskit/tokens": "^0.
|
|
38
|
+
"@atlaskit/tokens": "^0.6.0",
|
|
39
39
|
"@babel/runtime": "^7.0.0",
|
|
40
40
|
"@emotion/core": "^10.0.9"
|
|
41
41
|
},
|
|
@@ -46,7 +46,7 @@
|
|
|
46
46
|
"@af/icon-build-process": "^0.3.0",
|
|
47
47
|
"@atlaskit/button": "^16.1.0",
|
|
48
48
|
"@atlaskit/docs": "*",
|
|
49
|
-
"@atlaskit/dynamic-table": "^14.
|
|
49
|
+
"@atlaskit/dynamic-table": "^14.5.0",
|
|
50
50
|
"@atlaskit/icon-file-type": "^6.3.0",
|
|
51
51
|
"@atlaskit/icon-object": "^6.2.0",
|
|
52
52
|
"@atlaskit/icon-priority": "^6.2.0",
|