@atlaskit/icon 22.4.0 → 22.4.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 CHANGED
@@ -1,5 +1,14 @@
1
1
  # @atlaskit/icon
2
2
 
3
+ ## 22.4.1
4
+
5
+ ### Patch Changes
6
+
7
+ - [#113646](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/113646)
8
+ [`01c04f5a4e85a`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/01c04f5a4e85a) -
9
+ Update experimental new icons to support link tokens as colors
10
+ - Updated dependencies
11
+
3
12
  ## 22.4.0
4
13
 
5
14
  ### Minor Changes
@@ -1,5 +1,5 @@
1
1
  import type { ComponentType, SVGProps as ReactSVGProps, ReactNode } from 'react';
2
- import type { IconColor } from '@atlaskit/tokens/css-type-schema';
2
+ import type { IconColor, IconColorPressed } from '@atlaskit/tokens/css-type-schema';
3
3
  export type Size = 'small' | 'medium' | 'large' | 'xlarge';
4
4
  export interface CustomGlyphProps extends ReactSVGProps<SVGSVGElement> {
5
5
  /**
@@ -36,7 +36,7 @@ export interface NewGlyphColorProps {
36
36
  /**
37
37
  * Color for the icon. Supports any icon design token, or 'currentColor' to inherit the current text color.
38
38
  */
39
- color?: IconColor | 'currentColor';
39
+ color?: IconColor | IconColorPressed | 'currentColor';
40
40
  }
41
41
  export interface GlyphSizeProps {
42
42
  /**
@@ -1,5 +1,5 @@
1
1
  import type { ComponentType, SVGProps as ReactSVGProps, ReactNode } from 'react';
2
- import type { IconColor } from '@atlaskit/tokens/css-type-schema';
2
+ import type { IconColor, IconColorPressed } from '@atlaskit/tokens/css-type-schema';
3
3
  export type Size = 'small' | 'medium' | 'large' | 'xlarge';
4
4
  export interface CustomGlyphProps extends ReactSVGProps<SVGSVGElement> {
5
5
  /**
@@ -36,7 +36,7 @@ export interface NewGlyphColorProps {
36
36
  /**
37
37
  * Color for the icon. Supports any icon design token, or 'currentColor' to inherit the current text color.
38
38
  */
39
- color?: IconColor | 'currentColor';
39
+ color?: IconColor | IconColorPressed | 'currentColor';
40
40
  }
41
41
  export interface GlyphSizeProps {
42
42
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/icon",
3
- "version": "22.4.0",
3
+ "version": "22.4.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/"
@@ -31,7 +31,7 @@
31
31
  },
32
32
  "dependencies": {
33
33
  "@atlaskit/platform-feature-flags": "^0.2.0",
34
- "@atlaskit/tokens": "^1.51.0",
34
+ "@atlaskit/tokens": "^1.52.0",
35
35
  "@babel/runtime": "^7.0.0",
36
36
  "@emotion/react": "^11.7.1"
37
37
  },
@@ -42,13 +42,13 @@
42
42
  "@af/accessibility-testing": "*",
43
43
  "@af/icon-build-process": "^0.6.0",
44
44
  "@af/visual-regression": "*",
45
- "@atlaskit/code": "^15.2.0",
45
+ "@atlaskit/code": "^15.3.0",
46
46
  "@atlaskit/ds-lib": "^2.3.0",
47
47
  "@atlaskit/logo": "^14.1.0",
48
- "@atlaskit/primitives": "^7.4.0",
48
+ "@atlaskit/primitives": "^8.0.0",
49
49
  "@atlaskit/ssr": "*",
50
50
  "@atlaskit/textfield": "^6.4.0",
51
- "@atlaskit/theme": "^12.10.0",
51
+ "@atlaskit/theme": "^12.11.0",
52
52
  "@atlaskit/toggle": "^13.2.0",
53
53
  "@atlaskit/tooltip": "^18.5.0",
54
54
  "@atlaskit/visual-regression": "*",