@atlaskit/icon 22.0.0 → 22.0.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,11 @@
1
1
  # @atlaskit/icon
2
2
 
3
+ ## 22.0.1
4
+
5
+ ### Patch Changes
6
+
7
+ - [#72130](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/72130) [`b037e5451037`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/b037e5451037) - Update new button text color fallback for default theme (non-token) to match that of old button current text color
8
+
3
9
  ## 22.0.0
4
10
 
5
11
  ### Major Changes
@@ -0,0 +1,25 @@
1
+ {
2
+ "extends": "../../../../tsconfig.entry-points.confluence.json",
3
+ "compilerOptions": {
4
+ "declaration": true,
5
+ "target": "es5",
6
+ "composite": true,
7
+ "outDir": "../dist",
8
+ "rootDir": "../",
9
+ "baseUrl": "../"
10
+ },
11
+ "include": [
12
+ "../src/**/*.ts",
13
+ "../src/**/*.tsx"
14
+ ],
15
+ "exclude": [
16
+ "../src/**/__tests__/*",
17
+ "../src/**/*.test.*",
18
+ "../src/**/test.*"
19
+ ],
20
+ "references": [
21
+ {
22
+ "path": "../../tokens/afm-cc/tsconfig.json"
23
+ }
24
+ ]
25
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/icon",
3
- "version": "22.0.0",
3
+ "version": "22.0.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/"
@@ -29,7 +29,7 @@
29
29
  "build-glyphs": "ts-node --project ../../../tsconfig.node.json ./build/index.tsx"
30
30
  },
31
31
  "dependencies": {
32
- "@atlaskit/tokens": "^1.28.0",
32
+ "@atlaskit/tokens": "^1.37.0",
33
33
  "@babel/runtime": "^7.0.0",
34
34
  "@emotion/react": "^11.7.1"
35
35
  },
@@ -41,7 +41,7 @@
41
41
  "@af/icon-build-process": "^0.3.0",
42
42
  "@af/visual-regression": "*",
43
43
  "@atlaskit/ds-lib": "^2.2.0",
44
- "@atlaskit/logo": "^13.14.0",
44
+ "@atlaskit/logo": "^13.15.0",
45
45
  "@atlaskit/ssr": "*",
46
46
  "@atlaskit/theme": "^12.6.0",
47
47
  "@atlaskit/visual-regression": "*",
@@ -1,86 +0,0 @@
1
- ## API Report File for "@atlaskit/icon"
2
-
3
- > Do not edit this file. It is a report generated by [API Extractor](https://api-extractor.com/).
4
-
5
- ```ts
6
-
7
- /// <reference types="react" />
8
-
9
- import type { ComponentType } from 'react';
10
- import { NamedExoticComponent } from 'react';
11
- import type { ReactNode } from 'react';
12
- import type { SVGProps as SVGProps_2 } from 'react';
13
-
14
- // @public (undocumented)
15
- export interface CustomGlyphProps extends SVGProps_2<SVGSVGElement> {
16
- 'aria-label'?: string;
17
- 'data-testid'?: string;
18
- className?: string;
19
- }
20
-
21
- // @public (undocumented)
22
- interface GlyphColorProps {
23
- primaryColor?: string;
24
- secondaryColor?: string;
25
- }
26
-
27
- // @public (undocumented)
28
- export interface GlyphProps extends OtherGlyphProps, GlyphSizeProps, GlyphColorProps {
29
- }
30
-
31
- // @public (undocumented)
32
- interface GlyphSizeProps {
33
- size?: Size;
34
- }
35
-
36
- // @public
37
- const Icon: NamedExoticComponent<IconProps>;
38
- export default Icon;
39
-
40
- // @public (undocumented)
41
- export interface IconProps extends GlyphProps {
42
- // @deprecated (undocumented)
43
- dangerouslySetGlyph?: string;
44
- glyph?: ComponentType<CustomGlyphProps>;
45
- }
46
-
47
- // @public (undocumented)
48
- interface OtherGlyphProps {
49
- label: string;
50
- testId?: string;
51
- }
52
-
53
- // @public (undocumented)
54
- export type Size = 'large' | 'medium' | 'small' | 'xlarge';
55
-
56
- // @public (undocumented)
57
- export const size: Record<Size, Size>;
58
-
59
- // @public (undocumented)
60
- export const sizes: Record<Size, string>;
61
-
62
- // @public
63
- export const Skeleton: NamedExoticComponent<SkeletonProps>;
64
-
65
- // @public (undocumented)
66
- export interface SkeletonProps {
67
- // (undocumented)
68
- color?: string;
69
- // (undocumented)
70
- size?: Size;
71
- testId?: string;
72
- // (undocumented)
73
- weight?: 'normal' | 'strong';
74
- }
75
-
76
- // @public
77
- export const SVG: NamedExoticComponent<SVGProps>;
78
-
79
- // @public (undocumented)
80
- export interface SVGProps extends GlyphProps {
81
- children?: ReactNode;
82
- }
83
-
84
- // (No @packageDocumentation comment for this package)
85
-
86
- ```