@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 CHANGED
@@ -1,5 +1,11 @@
1
1
  # @atlaskit/icon
2
2
 
3
+ ## 21.10.3
4
+
5
+ ### Patch Changes
6
+
7
+ - [`58884c2f6c1`](https://bitbucket.org/atlassian/atlassian-frontend/commits/58884c2f6c1) - Internal code change turning on a new linting rule.
8
+
3
9
  ## 21.10.2
4
10
 
5
11
  ### Patch Changes
package/README.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # Icon
2
2
 
3
- A React package that contains icons.
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
- Detailed docs and example usage can be found [here](https://atlaskit.atlassian.com/packages/design-system/icon).
14
- For adding a new icon to the icon set please follow the [adding new icons](https://developer.atlassian.com/cloud/framework/atlassian-frontend/documentation/02-adding-new-icons/) documentation.
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).
@@ -0,0 +1,10 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.default = CustomGlyphProps;
7
+
8
+ function CustomGlyphProps(props) {
9
+ return null;
10
+ }
@@ -0,0 +1,10 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.default = SVGProps;
7
+
8
+ function SVGProps(props) {
9
+ return null;
10
+ }
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "@atlaskit/icon",
3
- "version": "21.10.2",
3
+ "version": "21.10.3",
4
4
  "sideEffects": false
5
5
  }
@@ -0,0 +1,3 @@
1
+ export default function CustomGlyphProps(props) {
2
+ return null;
3
+ }
@@ -0,0 +1,3 @@
1
+ export default function SVGProps(props) {
2
+ return null;
3
+ }
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "@atlaskit/icon",
3
- "version": "21.10.2",
3
+ "version": "21.10.3",
4
4
  "sideEffects": false
5
5
  }
@@ -0,0 +1,3 @@
1
+ export default function CustomGlyphProps(props) {
2
+ return null;
3
+ }
@@ -0,0 +1,3 @@
1
+ export default function SVGProps(props) {
2
+ return null;
3
+ }
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "@atlaskit/icon",
3
- "version": "21.10.2",
3
+ "version": "21.10.3",
4
4
  "sideEffects": false
5
5
  }
@@ -0,0 +1,2 @@
1
+ import type { CustomGlyphProps as Props } from '../types';
2
+ export default function CustomGlyphProps(props: Props): null;
@@ -0,0 +1,2 @@
1
+ import type { SVGProps as Props } from '../types';
2
+ export default function SVGProps(props: Props): null;
@@ -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.2",
4
- "description": "An icon is used as a visual representation of common actions and commands to provide context.",
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.2.0",
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",
@@ -1,7 +0,0 @@
1
- ---
2
- order: 0
3
- ---
4
-
5
- import IconExplorer from '@af/icon-explorer'
6
-
7
- <Example Component={IconExplorer} packageName="@af/icon-explorer"/>