@leafygreen-ui/icon 12.3.0 → 12.4.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/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # @leafygreen-ui/icon
2
2
 
3
+ ## 12.4.0
4
+
5
+ ### Minor Changes
6
+
7
+ - ae44834e: Exports type `GlyphName`, a union of all default LeafyGreen icon names
8
+
3
9
  ## 12.3.0
4
10
 
5
11
  ### Minor Changes
package/dist/index.d.ts CHANGED
@@ -2,7 +2,7 @@ export { createGlyphComponent } from './createGlyphComponent';
2
2
  export type { IconProps } from './createIconComponent';
3
3
  export { createIconComponent } from './createIconComponent';
4
4
  export { Size } from './glyphCommon';
5
- export { glyphs } from './glyphs';
5
+ export { type GlyphName, glyphs } from './glyphs';
6
6
  export { Icon as default } from './Icon';
7
7
  export { isComponentGlyph } from './isComponentGlyph';
8
8
  export { LGGlyph } from './types';
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,oBAAoB,EAAE,MAAM,wBAAwB,CAAC;AAC9D,YAAY,EAAE,SAAS,EAAE,MAAM,uBAAuB,CAAC;AACvD,OAAO,EAAE,mBAAmB,EAAE,MAAM,uBAAuB,CAAC;AAC5D,OAAO,EAAE,IAAI,EAAE,MAAM,eAAe,CAAC;AACrC,OAAO,EAAE,MAAM,EAAE,MAAM,UAAU,CAAC;AAClC,OAAO,EAAE,IAAI,IAAI,OAAO,EAAE,MAAM,QAAQ,CAAC;AACzC,OAAO,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAC;AACtD,OAAO,EAAE,OAAO,EAAE,MAAM,SAAS,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,oBAAoB,EAAE,MAAM,wBAAwB,CAAC;AAC9D,YAAY,EAAE,SAAS,EAAE,MAAM,uBAAuB,CAAC;AACvD,OAAO,EAAE,mBAAmB,EAAE,MAAM,uBAAuB,CAAC;AAC5D,OAAO,EAAE,IAAI,EAAE,MAAM,eAAe,CAAC;AACrC,OAAO,EAAE,KAAK,SAAS,EAAE,MAAM,EAAE,MAAM,UAAU,CAAC;AAClD,OAAO,EAAE,IAAI,IAAI,OAAO,EAAE,MAAM,QAAQ,CAAC;AACzC,OAAO,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAC;AACtD,OAAO,EAAE,OAAO,EAAE,MAAM,SAAS,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@leafygreen-ui/icon",
3
- "version": "12.3.0",
3
+ "version": "12.4.0",
4
4
  "description": "LeafyGreen UI Kit Icons",
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/esm/index.js",
package/src/index.ts CHANGED
@@ -2,7 +2,7 @@ export { createGlyphComponent } from './createGlyphComponent';
2
2
  export type { IconProps } from './createIconComponent';
3
3
  export { createIconComponent } from './createIconComponent';
4
4
  export { Size } from './glyphCommon';
5
- export { glyphs } from './glyphs';
5
+ export { type GlyphName, glyphs } from './glyphs';
6
6
  export { Icon as default } from './Icon';
7
7
  export { isComponentGlyph } from './isComponentGlyph';
8
8
  export { LGGlyph } from './types';