@everlywell/ui-kit 0.28.1 → 1.0.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.
@@ -1,14 +1,3 @@
1
- /// <reference types="react" />
2
- import { IconProps as ChakraIconProps, ThemingProps } from '@chakra-ui/react';
3
- import * as icons from '@phosphor-icons/react';
4
- declare const ICON_RED_LIST: readonly ["SSR", "Icon", "IconProps", "IconContext", "IconBase", "IconWeight"];
5
- declare const ICON_GREEN_LIST: readonly [];
6
- export type IconKey = Exclude<keyof typeof icons, (typeof ICON_RED_LIST)[number]> | (typeof ICON_GREEN_LIST)[number];
7
- type IconType = Record<IconKey, React.ElementType>;
8
- export declare const ICON_SET: IconType;
9
- export type IconProps = ChakraIconProps & ThemingProps<'Icon'> & {
10
- icon: IconKey;
11
- isFilled?: boolean;
12
- };
13
- declare const Icon: (props: IconProps) => import("react/jsx-runtime").JSX.Element;
14
- export default Icon;
1
+ import { Icon as ChakraIcon, IconProps as ChakraIconProps } from '@chakra-ui/react';
2
+ export type IconProps = ChakraIconProps;
3
+ export default ChakraIcon;
@@ -9,7 +9,7 @@ declare const _default: {
9
9
  } | undefined;
10
10
  sizes?: {
11
11
  sm: {
12
- fontSize: ("xs" | "sm")[];
12
+ fontSize: ("sm" | "xs")[];
13
13
  lineHeight: string;
14
14
  };
15
15
  md: {
@@ -59,7 +59,7 @@ declare const _default: {
59
59
  } | undefined;
60
60
  variants?: {
61
61
  [key: string]: import("@chakra-ui/styled-system").PartsStyleInterpolation<{
62
- keys: ("body" | "dialog" | "footer" | "header" | "overlay" | "dialogContainer" | "closeButton")[];
62
+ keys: ("body" | "overlay" | "dialog" | "dialogContainer" | "header" | "closeButton" | "footer")[];
63
63
  }>;
64
64
  } | undefined;
65
65
  defaultProps?: {
@@ -67,6 +67,6 @@ declare const _default: {
67
67
  variant?: string | number | undefined;
68
68
  colorScheme?: string | undefined;
69
69
  } | undefined;
70
- parts: ("body" | "dialog" | "footer" | "header" | "overlay" | "dialogContainer" | "closeButton")[];
70
+ parts: ("body" | "overlay" | "dialog" | "dialogContainer" | "header" | "closeButton" | "footer")[];
71
71
  };
72
72
  export default _default;
@@ -9,10 +9,10 @@ declare const _default: {
9
9
  } | undefined;
10
10
  sizes?: {
11
11
  xs: {
12
- fontSize: ("2xs" | "xs")[];
12
+ fontSize: ("xs" | "2xs")[];
13
13
  };
14
14
  sm: {
15
- fontSize: ("xs" | "sm")[];
15
+ fontSize: ("sm" | "xs")[];
16
16
  };
17
17
  md: {
18
18
  fontSize: ("sm" | "md")[];
@@ -29,7 +29,7 @@ declare const _default: {
29
29
  [key: string]: import("@chakra-ui/styled-system").SystemStyleInterpolation;
30
30
  } | undefined;
31
31
  defaultProps?: {
32
- size?: "xs" | "sm" | "md" | "lg" | "xl" | undefined;
32
+ size?: "sm" | "md" | "lg" | "xl" | "xs" | undefined;
33
33
  variant?: string | number | undefined;
34
34
  colorScheme?: string | undefined;
35
35
  } | undefined;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@everlywell/ui-kit",
3
- "version": "0.28.1",
3
+ "version": "1.0.0",
4
4
  "main": "./index.js",
5
5
  "types": "./index.d.ts",
6
6
  "exports": {
@@ -10,6 +10,7 @@
10
10
  }
11
11
  },
12
12
  "peerDependencies": {
13
+ "@phosphor-icons/react": "2.0.15",
13
14
  "react": "18.x",
14
15
  "react-dom": "18.x"
15
16
  },
@@ -17,7 +18,6 @@
17
18
  "@chakra-ui/react": "^2.8.1",
18
19
  "@emotion/react": "11.11.3",
19
20
  "@emotion/styled": "11.11.0",
20
- "@phosphor-icons/react": "2.0.15",
21
21
  "framer-motion": "^10.16.4"
22
22
  }
23
23
  }