@codecademy/gamut-icons 9.29.0 → 9.29.1-alpha.56218c.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/props.d.ts +4 -0
- package/package.json +2 -2
package/dist/props.d.ts
CHANGED
|
@@ -1,6 +1,10 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import { StyleProps } from '@codecademy/variance';
|
|
3
3
|
export interface IconStyleProps extends StyleProps<typeof iconProps> {
|
|
4
|
+
/**
|
|
5
|
+
* Set both the width and height of the icon at the same time
|
|
6
|
+
* Otherwise the default size is 24 for regular icons and 16 for mini icons
|
|
7
|
+
*/
|
|
4
8
|
size?: StyleProps<typeof iconProps>['width'];
|
|
5
9
|
}
|
|
6
10
|
export interface GamutBaseIconProps extends Omit<React.SVGProps<SVGSVGElement>, keyof IconStyleProps>, IconStyleProps {
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@codecademy/gamut-icons",
|
|
3
3
|
"description": "Icon library for codecademy.com",
|
|
4
|
-
"version": "9.29.0",
|
|
4
|
+
"version": "9.29.1-alpha.56218c.0",
|
|
5
5
|
"author": "Codecademy <dev@codecademy.com>",
|
|
6
6
|
"dependencies": {
|
|
7
7
|
"@codecademy/gamut-styles": "16.3.0",
|
|
@@ -29,5 +29,5 @@
|
|
|
29
29
|
},
|
|
30
30
|
"sideEffects": false,
|
|
31
31
|
"types": "dist/index.d.ts",
|
|
32
|
-
"gitHead": "
|
|
32
|
+
"gitHead": "1d2e5be19427844fc12f9cd2a208b2240b661432"
|
|
33
33
|
}
|