@atlaskit/icon 22.22.0 → 22.24.0

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.
@@ -3,13 +3,24 @@
3
3
  *
4
4
  * To change the format of this file, modify `createIconDocs` in icon-build-process/src/create-icon-docs.tsx.
5
5
  *
6
- * @codegen <<SignedSource::a486aefc3ce84b7176cf347b4228a156>>
6
+ * @codegen <<SignedSource::505188bcbfbd2bedd523b7a93366dd82>>
7
7
  * @codegenCommand yarn build:icon-glyphs
8
8
  */
9
+ /// <reference types="react" />
9
10
  interface Data {
10
11
  keywords: string[];
11
12
  componentName: string;
12
13
  package: string;
14
+ packageLoader: () => Promise<{
15
+ default: React.ComponentType<any>;
16
+ }>;
13
17
  }
14
- declare const metaData: Record<string, Data>;
18
+ export declare const metaDataWithPackageLoader: Record<string, Data>;
19
+ declare const metaData: {
20
+ [k: string]: {
21
+ keywords: string[];
22
+ componentName: string;
23
+ package: string;
24
+ };
25
+ };
15
26
  export default metaData;
@@ -215,4 +215,13 @@ export type IconFacadeProps = IconProps & {
215
215
  newIcon?: React.ComponentType<NewUtilityIconProps> | React.ComponentType<NewCoreIconProps>;
216
216
  iconType?: NewIconProps['type'];
217
217
  };
218
+ interface LEGACY_Data {
219
+ keywords: string[];
220
+ componentName: string;
221
+ package: string;
222
+ packageLoader: () => Promise<{
223
+ default: React.ComponentType<any>;
224
+ }>;
225
+ }
226
+ export type LEGACY_Metadata = Record<string, LEGACY_Data>;
218
227
  export {};
@@ -1,15 +1,26 @@
1
+ /// <reference types="react" />
1
2
  /**
2
3
  * THIS FILE WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
3
4
  *
4
5
  * To change the format of this file, modify `createIconDocs` in icon-build-process/src/create-icon-docs.tsx.
5
6
  *
6
- * @codegen <<SignedSource::a486aefc3ce84b7176cf347b4228a156>>
7
+ * @codegen <<SignedSource::505188bcbfbd2bedd523b7a93366dd82>>
7
8
  * @codegenCommand yarn build:icon-glyphs
8
9
  */
9
10
  interface Data {
10
11
  keywords: string[];
11
12
  componentName: string;
12
13
  package: string;
14
+ packageLoader: () => Promise<{
15
+ default: React.ComponentType<any>;
16
+ }>;
13
17
  }
14
- declare const metaData: Record<string, Data>;
18
+ export declare const metaDataWithPackageLoader: Record<string, Data>;
19
+ declare const metaData: {
20
+ [k: string]: {
21
+ keywords: string[];
22
+ componentName: string;
23
+ package: string;
24
+ };
25
+ };
15
26
  export default metaData;
@@ -215,4 +215,13 @@ export type IconFacadeProps = IconProps & {
215
215
  newIcon?: React.ComponentType<NewUtilityIconProps> | React.ComponentType<NewCoreIconProps>;
216
216
  iconType?: NewIconProps['type'];
217
217
  };
218
+ interface LEGACY_Data {
219
+ keywords: string[];
220
+ componentName: string;
221
+ package: string;
222
+ packageLoader: () => Promise<{
223
+ default: React.ComponentType<any>;
224
+ }>;
225
+ }
226
+ export type LEGACY_Metadata = Record<string, LEGACY_Data>;
218
227
  export {};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/icon",
3
- "version": "22.22.0",
3
+ "version": "22.24.0",
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/"
@@ -36,15 +36,15 @@
36
36
  },
37
37
  "devDependencies": {
38
38
  "@af/accessibility-testing": "*",
39
- "@af/icon-build-process": "^2.1.0",
39
+ "@af/icon-build-process": "^2.2.0",
40
40
  "@af/visual-regression": "*",
41
41
  "@atlaskit/code": "^15.6.0",
42
- "@atlaskit/ds-lib": "^3.0.0",
42
+ "@atlaskit/ds-lib": "^3.1.0",
43
43
  "@atlaskit/logo": "^14.3.0",
44
44
  "@atlaskit/primitives": "^12.2.0",
45
45
  "@atlaskit/ssr": "*",
46
46
  "@atlaskit/textfield": "^6.5.0",
47
- "@atlaskit/theme": "^13.0.0",
47
+ "@atlaskit/theme": "^14.0.0",
48
48
  "@atlaskit/toggle": "^13.4.0",
49
49
  "@atlaskit/tooltip": "^18.8.0",
50
50
  "@atlaskit/visual-regression": "*",