@yahoo/uds-icons 2.33.0 → 2.34.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.
- package/dist/types.d.cts +12 -0
- package/dist/types.d.cts.map +1 -1
- package/dist/types.d.ts +12 -0
- package/dist/types.d.ts.map +1 -1
- package/package.json +1 -1
package/dist/types.d.cts
CHANGED
|
@@ -12,6 +12,18 @@ interface SvgIconWithStaticProps<SvgIconProps> extends React.FunctionComponent<S
|
|
|
12
12
|
/** Icon name */name: string; /** Whether this is an SVG icon */
|
|
13
13
|
isSvgIcon: boolean; /** List of available variants for this icon */
|
|
14
14
|
variants: IconVariant[];
|
|
15
|
+
/**
|
|
16
|
+
* Semantic category, e.g. 'Actions', 'Navigation'. Defaults to 'Other' once
|
|
17
|
+
* codegen emits this field. Optional until then so checked-in
|
|
18
|
+
* generated icons typecheck without a mass metadata update.
|
|
19
|
+
*/
|
|
20
|
+
category?: string;
|
|
21
|
+
/**
|
|
22
|
+
* Search tags parsed from Figma description. Defaults to [] once codegen
|
|
23
|
+
* emits this field. Optional until then for the same reason as
|
|
24
|
+
* `category`.
|
|
25
|
+
*/
|
|
26
|
+
tags?: string[];
|
|
15
27
|
};
|
|
16
28
|
}
|
|
17
29
|
type SvgIcon = SvgIconWithStaticProps<SvgIconProps>;
|
package/dist/types.d.cts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.cts","names":[],"sources":["../src/types.ts"],"mappings":";;KAAK,aAAA;AAAA,KACA,QAAA;AAAA,KACA,WAAA;AAAA,UAEK,YAAA;EACR,IAAA,GAAO,QAAA;EACP,OAAA,GAAU,WAAA;AAAA;AAAA,UAGF,sBAAA,uBAA6C,KAAA,CAAM,iBAAA,CAAkB,YAAA;EAC7E,QAAA;IATW,gBAWT,IAAA,UAVC;IAYD,SAAA,WAZY;IAcZ,QAAA,EAAU,WAAA;EAAA;AAAA;AAAA,
|
|
1
|
+
{"version":3,"file":"types.d.cts","names":[],"sources":["../src/types.ts"],"mappings":";;KAAK,aAAA;AAAA,KACA,QAAA;AAAA,KACA,WAAA;AAAA,UAEK,YAAA;EACR,IAAA,GAAO,QAAA;EACP,OAAA,GAAU,WAAA;AAAA;AAAA,UAGF,sBAAA,uBAA6C,KAAA,CAAM,iBAAA,CAAkB,YAAA;EAC7E,QAAA;IATW,gBAWT,IAAA,UAVC;IAYD,SAAA,WAZY;IAcZ,QAAA,EAAU,WAAA;IAdE;AAAA;;;;IAoBZ,QAAA;IAjBK;;;;;IAuBL,IAAA;EAAA;AAAA;AAAA,KAIC,OAAA,GAAU,sBAAA,CAAuB,YAAA"}
|
package/dist/types.d.ts
CHANGED
|
@@ -12,6 +12,18 @@ interface SvgIconWithStaticProps<SvgIconProps> extends React.FunctionComponent<S
|
|
|
12
12
|
/** Icon name */name: string; /** Whether this is an SVG icon */
|
|
13
13
|
isSvgIcon: boolean; /** List of available variants for this icon */
|
|
14
14
|
variants: IconVariant[];
|
|
15
|
+
/**
|
|
16
|
+
* Semantic category, e.g. 'Actions', 'Navigation'. Defaults to 'Other' once
|
|
17
|
+
* codegen emits this field. Optional until then so checked-in
|
|
18
|
+
* generated icons typecheck without a mass metadata update.
|
|
19
|
+
*/
|
|
20
|
+
category?: string;
|
|
21
|
+
/**
|
|
22
|
+
* Search tags parsed from Figma description. Defaults to [] once codegen
|
|
23
|
+
* emits this field. Optional until then for the same reason as
|
|
24
|
+
* `category`.
|
|
25
|
+
*/
|
|
26
|
+
tags?: string[];
|
|
15
27
|
};
|
|
16
28
|
}
|
|
17
29
|
type SvgIcon = SvgIconWithStaticProps<SvgIconProps>;
|
package/dist/types.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","names":[],"sources":["../src/types.ts"],"mappings":";;KAAK,aAAA;AAAA,KACA,QAAA;AAAA,KACA,WAAA;AAAA,UAEK,YAAA;EACR,IAAA,GAAO,QAAA;EACP,OAAA,GAAU,WAAA;AAAA;AAAA,UAGF,sBAAA,uBAA6C,KAAA,CAAM,iBAAA,CAAkB,YAAA;EAC7E,QAAA;IATW,gBAWT,IAAA,UAVC;IAYD,SAAA,WAZY;IAcZ,QAAA,EAAU,WAAA;EAAA;AAAA;AAAA,
|
|
1
|
+
{"version":3,"file":"types.d.ts","names":[],"sources":["../src/types.ts"],"mappings":";;KAAK,aAAA;AAAA,KACA,QAAA;AAAA,KACA,WAAA;AAAA,UAEK,YAAA;EACR,IAAA,GAAO,QAAA;EACP,OAAA,GAAU,WAAA;AAAA;AAAA,UAGF,sBAAA,uBAA6C,KAAA,CAAM,iBAAA,CAAkB,YAAA;EAC7E,QAAA;IATW,gBAWT,IAAA,UAVC;IAYD,SAAA,WAZY;IAcZ,QAAA,EAAU,WAAA;IAdE;AAAA;;;;IAoBZ,QAAA;IAjBK;;;;;IAuBL,IAAA;EAAA;AAAA;AAAA,KAIC,OAAA,GAAU,sBAAA,CAAuB,YAAA"}
|