@televet/kibble-ui 1.0.15 → 1.0.16

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,35 +1,10 @@
1
- /// <reference types="react" />
2
- export declare enum LogoType {
3
- Full = "Full",
4
- Icon = "Icon",
5
- Holiday = "Holiday"
6
- }
7
- export declare enum LogoColor {
8
- Teal = "Teal",
9
- Black = "Black",
10
- White = "White"
11
- }
12
- export declare enum LogoHoliday {
13
- NewYears = "NewYears",
14
- Valentines = "Valentines",
15
- StPatricks = "StPatricks",
16
- AprilFools = "AprilFools",
17
- Easter1 = "Easter1",
18
- Easter2 = "Easter2",
19
- Easter3 = "Easter3",
20
- Easter4 = "Easter4",
21
- Easter5 = "Easter5",
22
- Easter6 = "Easter6",
23
- MothersDay = "MothersDay",
24
- MemorialDay = "MemorialDay",
25
- Halloween = "Halloween",
26
- Thanksgiving = "Thanksgiving",
27
- Christmas = "Christmas"
28
- }
1
+ import { CSSProperties } from 'react';
2
+ import { LogoType, LogoColor, LogoHoliday } from './logo.records';
29
3
  export interface ILogoProps {
30
4
  type?: LogoType;
31
5
  color?: LogoColor;
32
6
  holiday?: LogoHoliday;
7
+ style?: CSSProperties;
33
8
  }
34
- declare const Logo: ({ type, color, holiday }: ILogoProps) => JSX.Element;
9
+ declare const Logo: ({ type, color, holiday, style }: ILogoProps) => JSX.Element;
35
10
  export default Logo;
@@ -0,0 +1,33 @@
1
+ /// <reference types="react" />
2
+ export declare type LogoType = 'full' | 'icon';
3
+ export declare type LogoColor = 'teal' | 'black' | 'white';
4
+ export declare enum LogoHoliday {
5
+ NewYears = "NewYears",
6
+ Valentines = "Valentines",
7
+ StPatricks = "StPatricks",
8
+ Easter1 = "Easter1",
9
+ Easter2 = "Easter2",
10
+ Easter3 = "Easter3",
11
+ Easter4 = "Easter4",
12
+ Easter5 = "Easter5",
13
+ Easter6 = "Easter6",
14
+ MothersDay = "MothersDay",
15
+ MemorialDay = "MemorialDay",
16
+ FathersDay = "FathersDay",
17
+ Halloween = "Halloween",
18
+ Thanksgiving = "Thanksgiving",
19
+ Christmas = "Christmas"
20
+ }
21
+ export declare const holidaysLogoIconMap: {
22
+ [key in LogoHoliday]: React.FC;
23
+ };
24
+ export declare const logoIconMap: {
25
+ black: import("react").FC<import("react").SVGProps<SVGSVGElement>>;
26
+ white: import("react").FC<import("react").SVGProps<SVGSVGElement>>;
27
+ teal: import("react").FC<import("react").SVGProps<SVGSVGElement>>;
28
+ };
29
+ export declare const fullLogoMap: {
30
+ black: import("react").FC<import("react").SVGProps<SVGSVGElement>>;
31
+ white: import("react").FC<import("react").SVGProps<SVGSVGElement>>;
32
+ teal: import("react").FC<import("react").SVGProps<SVGSVGElement>>;
33
+ };
@@ -15,7 +15,8 @@ import { ReactComponent as Easter5LogoIcon } from '../../assets/logos/holidays/e
15
15
  import { ReactComponent as Easter6LogoIcon } from '../../assets/logos/holidays/easter6.svg';
16
16
  import { ReactComponent as MothersDayLogoIcon } from '../../assets/logos/holidays/mothersDay.svg';
17
17
  import { ReactComponent as MemorialDayLogoIcon } from '../../assets/logos/holidays/memorialDay.svg';
18
+ import { ReactComponent as FathersDayLogoIcon } from '../../assets/logos/holidays/fathersDay.svg';
18
19
  import { ReactComponent as HalloweenLogoIcon } from '../../assets/logos/holidays/halloween.svg';
19
20
  import { ReactComponent as ThanksgivingLogoIcon } from '../../assets/logos/holidays/thanksgiving.svg';
20
21
  import { ReactComponent as ChristmasLogoIcon } from '../../assets/logos/holidays/christmas.svg';
21
- export { TealLogo, TealLogoIcon, BlackLogo, BlackLogoIcon, WhiteLogo, WhiteLogoIcon, NewYearsLogoIcon, ValentinesLogoIcon, StPatricksLogoIcon, Easter1LogoIcon, Easter2LogoIcon, Easter3LogoIcon, Easter4LogoIcon, Easter5LogoIcon, Easter6LogoIcon, MothersDayLogoIcon, MemorialDayLogoIcon, HalloweenLogoIcon, ThanksgivingLogoIcon, ChristmasLogoIcon, };
22
+ export { TealLogo, TealLogoIcon, BlackLogo, BlackLogoIcon, WhiteLogo, WhiteLogoIcon, NewYearsLogoIcon, ValentinesLogoIcon, StPatricksLogoIcon, Easter1LogoIcon, Easter2LogoIcon, Easter3LogoIcon, Easter4LogoIcon, Easter5LogoIcon, Easter6LogoIcon, MothersDayLogoIcon, MemorialDayLogoIcon, FathersDayLogoIcon, HalloweenLogoIcon, ThanksgivingLogoIcon, ChristmasLogoIcon, };
@@ -1,15 +1,5 @@
1
- import { ChangeEventHandler, LegacyRef } from 'react';
2
- import { TextareaResizeOrientation, TextareaSize } from './textarea.types';
3
- export interface TextareaProps {
4
- value: string;
5
- onChange: ChangeEventHandler<HTMLTextAreaElement>;
6
- isRequired?: boolean;
7
- isDisabled?: boolean;
8
- isInvalid?: boolean;
9
- placeholder?: string;
10
- size?: TextareaSize;
11
- resize?: TextareaResizeOrientation;
12
- autoFocus?: boolean;
13
- ref?: LegacyRef<HTMLTextAreaElement>;
1
+ /// <reference types="react" />
2
+ import { TextareaProps as CTextareaProps } from '@chakra-ui/react';
3
+ export interface TextareaProps extends CTextareaProps {
14
4
  }
15
5
  export declare const Textarea: (props: TextareaProps) => JSX.Element;
@@ -1,7 +1,5 @@
1
- export * from './Button';
2
1
  export * from './Drawer';
3
2
  export * from './Icon';
4
3
  export * from './Logo';
5
4
  export * from './Typography';
6
- export * from './Tooltip';
7
5
  export * from './Textarea';