@everlywell/ui-kit 0.3.1 → 0.3.2

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.
@@ -1,9 +1,11 @@
1
1
  /// <reference types="react" />
2
2
  import { IconProps as ChakraIconProps, ThemingProps } from '@chakra-ui/react';
3
3
  import * as icons from '@phosphor-icons/react';
4
+ declare const PhosphorIcons: Readonly<typeof icons>;
5
+ type PhosphorIconKey = keyof typeof PhosphorIcons;
4
6
  declare const ICON_RED_LIST: readonly ["SSR", "Icon", "IconProps", "IconContext", "IconBase", "IconWeight"];
5
7
  declare const ICON_GREEN_LIST: readonly [];
6
- export type IconKey = Exclude<keyof typeof icons, (typeof ICON_RED_LIST)[number]> | (typeof ICON_GREEN_LIST)[number];
8
+ export type IconKey = Exclude<PhosphorIconKey, (typeof ICON_RED_LIST)[number]> | (typeof ICON_GREEN_LIST)[number];
7
9
  type IconType = Record<IconKey, React.ElementType>;
8
10
  export declare const ICON_SET: IconType;
9
11
  export type IconProps = ChakraIconProps & ThemingProps<'Icon'> & {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@everlywell/ui-kit",
3
- "version": "0.3.1",
3
+ "version": "0.3.2",
4
4
  "main": "./index.js",
5
5
  "types": "./index.d.ts",
6
6
  "exports": {
@@ -8,5 +8,8 @@
8
8
  "import": "./index.mjs",
9
9
  "require": "./index.js"
10
10
  }
11
+ },
12
+ "dependencies": {
13
+ "@phosphor-icons/react": "2.0.15"
11
14
  }
12
15
  }