@everlywell/ui-kit 0.2.0 → 0.3.0-next

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,4 +1,11 @@
1
1
  export declare const theme: {
2
+ breakpoints: {
3
+ mobile: string;
4
+ tablet: string;
5
+ largeTablet: string;
6
+ desktop: string;
7
+ largeDesktop: string;
8
+ };
2
9
  fonts: {
3
10
  body: string;
4
11
  heading: string;
@@ -374,6 +381,26 @@ export declare const theme: {
374
381
  colorScheme?: string | undefined;
375
382
  } | undefined;
376
383
  };
384
+ Icon: {
385
+ baseStyle?: {} | undefined;
386
+ sizes?: {
387
+ sm: {
388
+ fontSize: string;
389
+ };
390
+ md: {
391
+ fontSize: string;
392
+ };
393
+ lg: {
394
+ fontSize: string;
395
+ };
396
+ } | undefined;
397
+ variants?: {} | undefined;
398
+ defaultProps?: {
399
+ size?: "sm" | "md" | "lg" | undefined;
400
+ variant?: undefined;
401
+ colorScheme?: string | undefined;
402
+ } | undefined;
403
+ };
377
404
  };
378
405
  styles: import("@chakra-ui/theme-tools/dist/component").Styles;
379
406
  config: import("@chakra-ui/theme/dist/theme.types").ThemeConfig;
@@ -420,14 +447,6 @@ export declare const theme: {
420
447
  "ultra-slow": string;
421
448
  };
422
449
  };
423
- breakpoints: {
424
- base: string;
425
- sm: string;
426
- md: string;
427
- lg: string;
428
- xl: string;
429
- "2xl": string;
430
- };
431
450
  zIndices: {
432
451
  hide: number;
433
452
  auto: string;
@@ -0,0 +1,21 @@
1
+ declare const _default: {
2
+ baseStyle?: {} | undefined;
3
+ sizes?: {
4
+ sm: {
5
+ fontSize: string;
6
+ };
7
+ md: {
8
+ fontSize: string;
9
+ };
10
+ lg: {
11
+ fontSize: string;
12
+ };
13
+ } | undefined;
14
+ variants?: {} | undefined;
15
+ defaultProps?: {
16
+ size?: "sm" | "md" | "lg" | undefined;
17
+ variant?: undefined;
18
+ colorScheme?: string | undefined;
19
+ } | undefined;
20
+ };
21
+ export default _default;
@@ -0,0 +1,14 @@
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
+ 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;
@@ -0,0 +1,3 @@
1
+ import { Link as ChakraLink, LinkProps as ChakraLinkProps } from '@chakra-ui/react';
2
+ export type LinkProps = ChakraLinkProps;
3
+ export default ChakraLink;
@@ -0,0 +1,3 @@
1
+ import { Text as ChakraText, TextProps as ChakraTextProps } from '@chakra-ui/react';
2
+ export type TextProps = ChakraTextProps;
3
+ export default ChakraText;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@everlywell/ui-kit",
3
- "version": "0.2.0",
3
+ "version": "0.3.0-next",
4
4
  "main": "./index.js",
5
5
  "types": "./index.d.ts",
6
6
  "exports": {
@@ -8,5 +8,12 @@
8
8
  "import": "./index.mjs",
9
9
  "require": "./index.js"
10
10
  }
11
+ },
12
+ "peerDependencies": {
13
+ "@chakra-ui/react": "^2.8.1",
14
+ "@emotion/react": "11.11.3",
15
+ "@emotion/styled": "11.11.0",
16
+ "@phosphor-icons/react": "2.0.15",
17
+ "framer-motion": "^10.16.4"
11
18
  }
12
19
  }