@atlaskit/icon 21.10.2 → 21.10.3
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 +6 -0
- package/README.md +4 -3
- package/dist/cjs/extract-react-types/custom-glyph.js +10 -0
- package/dist/cjs/extract-react-types/svg.js +10 -0
- package/dist/cjs/version.json +1 -1
- package/dist/es2019/extract-react-types/custom-glyph.js +3 -0
- package/dist/es2019/extract-react-types/svg.js +3 -0
- package/dist/es2019/version.json +1 -1
- package/dist/esm/extract-react-types/custom-glyph.js +3 -0
- package/dist/esm/extract-react-types/svg.js +3 -0
- package/dist/esm/version.json +1 -1
- package/dist/types/extract-react-types/custom-glyph.d.ts +2 -0
- package/dist/types/extract-react-types/svg.d.ts +2 -0
- package/dist/types/types.d.ts +1 -1
- package/package.json +4 -3
- package/constellation/index/examples.mdx +0 -7
package/CHANGELOG.md
CHANGED
package/README.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# Icon
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
An icon is a visual representation of a command, device, directory, or common action.
|
|
4
4
|
|
|
5
5
|
## Installation
|
|
6
6
|
|
|
@@ -10,5 +10,6 @@ yarn add @atlaskit/icon
|
|
|
10
10
|
|
|
11
11
|
## Usage
|
|
12
12
|
|
|
13
|
-
|
|
14
|
-
|
|
13
|
+
Icons should be used intentionally to maximize comprehension and reduce cognitive load. Use it to call attention to a particular action, command, or section. If you’re questioning an icon’s use, it probably doesn’t need to be used.
|
|
14
|
+
|
|
15
|
+
To search through all the icons we have in our system, have a look at our [icon explorer](https://atlassian.design/components/icon/icon-explorer).
|
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
|
@@ -38,7 +38,7 @@ export interface OtherGlyphProps {
|
|
|
38
38
|
/**
|
|
39
39
|
* Text used to describe what the icon is in context.
|
|
40
40
|
* A label is needed when there is no pairing visible text next to the icon.
|
|
41
|
-
* An empty string marks the icon as presentation only
|
|
41
|
+
* An empty string marks the icon as presentation only.
|
|
42
42
|
*/
|
|
43
43
|
label: string;
|
|
44
44
|
/**
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/icon",
|
|
3
|
-
"version": "21.10.
|
|
4
|
-
"description": "An icon is
|
|
3
|
+
"version": "21.10.3",
|
|
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/"
|
|
7
7
|
},
|
|
@@ -14,6 +14,7 @@
|
|
|
14
14
|
"types": "dist/types/index.d.ts",
|
|
15
15
|
"sideEffects": false,
|
|
16
16
|
"atlaskit:src": "src/index.tsx",
|
|
17
|
+
"homepage": "https://atlassian.design/components/icon/",
|
|
17
18
|
"atlassian": {
|
|
18
19
|
"team": "Design System Team",
|
|
19
20
|
"releaseModel": "scheduled",
|
|
@@ -49,7 +50,7 @@
|
|
|
49
50
|
"@atlaskit/dynamic-table": "^14.5.0",
|
|
50
51
|
"@atlaskit/icon-file-type": "^6.3.0",
|
|
51
52
|
"@atlaskit/icon-object": "^6.2.0",
|
|
52
|
-
"@atlaskit/icon-priority": "^6.
|
|
53
|
+
"@atlaskit/icon-priority": "^6.3.0",
|
|
53
54
|
"@atlaskit/logo": "^13.5.0",
|
|
54
55
|
"@atlaskit/modal-dialog": "^12.2.0",
|
|
55
56
|
"@atlaskit/section-message": "^6.1.0",
|