@televet/kibble-ui 1.7.4 → 1.8.0-beta.3dn988v.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.
Files changed (74) hide show
  1. package/build/components/Avatar/avatar.component.d.ts +26 -0
  2. package/build/components/Avatar/avatar.config.d.ts +2 -0
  3. package/build/components/Avatar/avatar.types.d.ts +1 -0
  4. package/build/components/Avatar/index.d.ts +3 -0
  5. package/build/components/AvatarGroup/avatarGroup.component.d.ts +13 -0
  6. package/build/components/AvatarGroup/avatarGroup.utilities.d.ts +6 -0
  7. package/build/components/AvatarGroup/index.d.ts +1 -0
  8. package/build/components/Button/button.component.d.ts +13 -0
  9. package/build/components/Button/button.config.d.ts +16 -0
  10. package/build/components/Button/button.model.d.ts +5 -0
  11. package/build/components/Button/button.records.d.ts +2 -0
  12. package/build/components/Button/button.types.d.ts +8 -0
  13. package/build/components/Button/index.d.ts +3 -0
  14. package/build/components/DataDisplay/NotificationCounter/notificationCounter.component.d.ts +3 -2
  15. package/build/components/DataDisplay/NotificationCounter/notificationCounter.types.d.ts +4 -0
  16. package/build/components/Disclosure/Tabs/components/Tab/tab.component.d.ts +13 -0
  17. package/build/components/Disclosure/Tabs/components/TabsLayout/tabsLayout.component.d.ts +6 -0
  18. package/build/components/Disclosure/Tabs/index.d.ts +6 -0
  19. package/build/components/Disclosure/Tabs/tabs.argTypes.d.ts +72 -0
  20. package/build/components/Disclosure/Tabs/tabs.component.d.ts +19 -0
  21. package/build/components/Disclosure/Tabs/tabs.config.d.ts +2 -0
  22. package/build/components/Disclosure/Tabs/tabs.types.d.ts +1 -0
  23. package/build/components/Disclosure/index.d.ts +1 -0
  24. package/build/components/Drawer/drawer.config.d.ts +13 -0
  25. package/build/components/Drawer/drawer.records.d.ts +13 -0
  26. package/build/components/Drawer/index.d.ts +1 -0
  27. package/build/components/Forms/Radio/components/RadioGroup/radioGroup.component.d.ts +14 -0
  28. package/build/components/Forms/Radio/index.d.ts +5 -0
  29. package/build/components/Forms/Radio/radio.component.d.ts +6 -0
  30. package/build/components/Forms/Radio/radio.config.d.ts +2 -0
  31. package/build/components/Forms/Radio/radio.types.d.ts +2 -0
  32. package/build/components/Forms/index.d.ts +1 -0
  33. package/build/components/Icon/icon.component.d.ts +8 -0
  34. package/build/components/Icon/icon.config.d.ts +3 -0
  35. package/build/components/Icon/icon.records.d.ts +3 -0
  36. package/build/components/Icon/icon.types.d.ts +3 -0
  37. package/build/components/Icon/index.d.ts +2 -0
  38. package/build/components/Logo/index.d.ts +2 -0
  39. package/build/components/Logo/logo.component.d.ts +14 -0
  40. package/build/components/Logo/logo.config.d.ts +6 -0
  41. package/build/components/Logo/logo.records.d.ts +6 -0
  42. package/build/components/Logo/logo.types.d.ts +3 -0
  43. package/build/components/Logo/logos.d.ts +22 -0
  44. package/build/components/MediaAndIcons/Avatar/components/AvatarGroup/avatarGroup.component.d.ts +12 -0
  45. package/build/components/MediaAndIcons/Avatar/components/AvatarGroup/avatarGroup.utilities.d.ts +6 -0
  46. package/build/components/MediaAndIcons/Avatar/index.d.ts +1 -0
  47. package/build/components/MediaAndIcons/AvatarGroup/avatarGroup.component.d.ts +1 -0
  48. package/build/components/MediaAndIcons/index.d.ts +0 -1
  49. package/build/components/Textarea/index.d.ts +3 -0
  50. package/build/components/Textarea/textarea.component.d.ts +5 -0
  51. package/build/components/Textarea/textarea.config.d.ts +2 -0
  52. package/build/components/Textarea/textarea.types.d.ts +2 -0
  53. package/build/components/Tooltip/index.d.ts +3 -0
  54. package/build/components/Tooltip/tooltip.component.d.ts +8 -0
  55. package/build/components/Tooltip/tooltip.config.d.ts +8 -0
  56. package/build/components/Tooltip/tooltip.model.d.ts +4 -0
  57. package/build/components/Tooltip/tooltip.records.d.ts +9 -0
  58. package/build/components/Tooltip/tooltip.types.d.ts +4 -0
  59. package/build/components/Typography/Heading/heading.records.d.ts +2 -0
  60. package/build/components/Typography/Text/text.records.d.ts +2 -0
  61. package/build/components/index.d.ts +2 -1
  62. package/build/index.js +4098 -3845
  63. package/build/index.js.map +1 -1
  64. package/build/providers/ThemeProvider/index.d.ts +4 -0
  65. package/build/providers/index.d.ts +1 -0
  66. package/build/shared/types.d.ts +1 -0
  67. package/build/theme/theme.model.d.ts +37 -0
  68. package/build/theme/theme.record.d.ts +2 -0
  69. package/build/theme/theme.types.d.ts +2 -0
  70. package/build/theme/tokens/colors/color.model.d.ts +74 -0
  71. package/build/theme/tokens/colors/color.type.d.ts +8 -0
  72. package/build/theme/tokens/colors/color.types.d.ts +1 -0
  73. package/build/theme/tokens/shadows.d.ts +14 -0
  74. package/package.json +1 -1
@@ -0,0 +1,26 @@
1
+ import { AvatarProps as CAvatarProps, Placement } from '@chakra-ui/react';
2
+ import { CSSProperties } from 'react';
3
+ import { AvatarSize } from './avatar.types';
4
+ export declare enum AvatarVariant {
5
+ Green = "green",
6
+ Red = "red",
7
+ Blue = "blue",
8
+ Comet = "comet",
9
+ Number = "number",
10
+ Dashed = "dashed",
11
+ Image = "image"
12
+ }
13
+ export interface AvatarProps extends CAvatarProps {
14
+ name: string;
15
+ size?: AvatarSize;
16
+ isClinic?: boolean;
17
+ showTooltip?: boolean;
18
+ tooltipPlacement?: Placement;
19
+ style?: CSSProperties;
20
+ handleClick?: () => void;
21
+ showRemoveButton?: boolean;
22
+ handleRemoveButtonClick?: () => void;
23
+ variant?: AvatarVariant;
24
+ tooltipText?: string;
25
+ }
26
+ export declare const Avatar: ({ name, src, isClinic, size, showTooltip, tooltipPlacement, style, handleClick, showRemoveButton, handleRemoveButtonClick, variant, tooltipText, ...rest }: AvatarProps) => JSX.Element;
@@ -0,0 +1,2 @@
1
+ import { ComponentStyleConfig } from '@chakra-ui/react';
2
+ export declare const AvatarConfig: ComponentStyleConfig;
@@ -0,0 +1 @@
1
+ export declare type AvatarSize = 'xs' | 'sm' | 'md' | 'lg';
@@ -0,0 +1,3 @@
1
+ export * from './avatar.component';
2
+ export * from './avatar.types';
3
+ export * from './avatar.config';
@@ -0,0 +1,13 @@
1
+ /// <reference types="react" />
2
+ import { AvatarProps, AvatarSize } from 'components/Avatar';
3
+ export interface AvatarGroupProps {
4
+ avatars: AvatarProps[];
5
+ max?: number;
6
+ size?: AvatarSize;
7
+ handleAddButtonClick?: () => void;
8
+ showAddButton?: boolean;
9
+ addButtonTooltipText?: string;
10
+ showRemoveAvatarButton?: boolean;
11
+ handleRemoveButtonClick?: () => void;
12
+ }
13
+ export declare const AvatarGroup: ({ avatars, max, size, handleAddButtonClick, showAddButton, addButtonTooltipText, showRemoveAvatarButton, handleRemoveButtonClick, }: AvatarGroupProps) => JSX.Element;
@@ -0,0 +1,6 @@
1
+ export declare const avatarSizeMap: {
2
+ xs: string;
3
+ sm: string;
4
+ md: string;
5
+ lg: string;
6
+ };
@@ -0,0 +1 @@
1
+ export * from './avatarGroup.component';
@@ -0,0 +1,13 @@
1
+ import React, { ReactNode } from 'react';
2
+ import { ButtonProps as ChakraButtonProps } from '@chakra-ui/react';
3
+ import { IconName } from '../Icon';
4
+ import { ButtonSizeType, ButtonVariantType } from './button.types';
5
+ export interface ButtonProps extends ChakraButtonProps {
6
+ children?: ReactNode;
7
+ variant?: ButtonVariantType;
8
+ size?: ButtonSizeType;
9
+ iconName?: IconName;
10
+ iconPosition?: 'left' | 'right';
11
+ darkMode?: boolean;
12
+ }
13
+ export declare const Button: React.ForwardRefExoticComponent<ButtonProps & React.RefAttributes<HTMLButtonElement>>;
@@ -0,0 +1,16 @@
1
+ import { ButtonStyleType } from './button.types';
2
+ export declare const ButtonVariantConfig: ButtonStyleType;
3
+ export declare const ButtonSizeConfig: {
4
+ lg: {
5
+ p: string;
6
+ };
7
+ md: {
8
+ p: string;
9
+ };
10
+ sm: {
11
+ p: string;
12
+ };
13
+ xs: {
14
+ p: string;
15
+ };
16
+ };
@@ -0,0 +1,5 @@
1
+ import { ButtonColorOptions } from './button.types';
2
+ import { AdaptiveColorMap } from '../../theme/tokens';
3
+ export interface ButtonVariantConfig extends AdaptiveColorMap<ButtonColorOptions> {
4
+ variant: 'solid' | 'outline' | 'ghost';
5
+ }
@@ -0,0 +1,2 @@
1
+ import { ButtonStyleConfig } from './button.types';
2
+ export declare const ButtonConfig: ButtonStyleConfig;
@@ -0,0 +1,8 @@
1
+ import { AdaptiveColorMap } from '../../theme/tokens';
2
+ export interface ButtonVariantConfigType extends AdaptiveColorMap<ButtonColorOptionsType> {
3
+ variant: 'solid' | 'outline' | 'ghost';
4
+ }
5
+ export declare type ButtonVariantType = 'primary' | 'primaryDestructive' | 'secondary' | 'secondaryDestructive' | 'secondarySubtle' | 'secondarySubtleDestructive' | 'tertiary' | 'tertiaryDestructive' | 'ghost' | 'ghostNeutral' | 'ghostDestructive';
6
+ export declare type ButtonColorOptionsType = 'content' | 'default' | 'hover' | 'active' | 'border';
7
+ export declare type ButtonSizeType = 'xs' | 'sm' | 'md' | 'lg';
8
+ export declare type ButtonStyleType = Record<ButtonVariantType, ButtonVariantConfigType>;
@@ -0,0 +1,3 @@
1
+ export * from './button.component';
2
+ export * from './button.types';
3
+ export * from './button.config';
@@ -1,8 +1,9 @@
1
1
  import { FlexProps } from '@chakra-ui/react';
2
- import { NotificationCounterSize } from './notificationCounter.types';
2
+ import { NotificationCounterSize, NotificationCounterVariant } from './notificationCounter.types';
3
3
  export interface NotificationCounterProps extends FlexProps {
4
4
  count: number;
5
5
  size?: NotificationCounterSize;
6
6
  showCount?: boolean;
7
+ variant?: NotificationCounterVariant;
7
8
  }
8
- export declare const NotificationCounter: ({ count, size, showCount, ...rest }: NotificationCounterProps) => JSX.Element;
9
+ export declare const NotificationCounter: ({ count, size, showCount, variant, ...rest }: NotificationCounterProps) => JSX.Element;
@@ -1 +1,5 @@
1
1
  export declare type NotificationCounterSize = 'lg' | 'md' | 'sm' | 'xs';
2
+ export declare enum NotificationCounterVariant {
3
+ Red = "red",
4
+ Neutral = "neutral"
5
+ }
@@ -0,0 +1,13 @@
1
+ import { TabProps as CTabProps } from '@chakra-ui/react';
2
+ import { NotificationCounterVariant } from 'components/DataDisplay';
3
+ import { IconName } from 'components/MediaAndIcons';
4
+ import { TabSize } from '../../tabs.types';
5
+ export interface TabProps extends CTabProps {
6
+ iconName?: IconName;
7
+ label: string;
8
+ showNotificationCounter?: boolean;
9
+ notificationCount?: number;
10
+ notificationCounterVariant?: NotificationCounterVariant;
11
+ size?: TabSize;
12
+ }
13
+ export declare const Tab: ({ iconName, label, showNotificationCounter, notificationCount, notificationCounterVariant, size, ...rest }: TabProps) => JSX.Element;
@@ -0,0 +1,6 @@
1
+ /// <reference types="react" />
2
+ import { TabsProps } from '../../tabs.component';
3
+ export interface TabsLayoutProps extends TabsProps {
4
+ tabPanels: JSX.Element[];
5
+ }
6
+ export declare const TabsLayout: (props: TabsLayoutProps) => JSX.Element;
@@ -0,0 +1,6 @@
1
+ export { Tabs as CTabs, TabList, TabPanel, TabPanels } from '@chakra-ui/react';
2
+ export * from './components/Tab/tab.component';
3
+ export * from './components/TabsLayout/tabsLayout.component';
4
+ export * from './tabs.component';
5
+ export * from './tabs.config';
6
+ export * from './tabs.types';
@@ -0,0 +1,72 @@
1
+ export declare const tabsArgTypes: {
2
+ size: {
3
+ type: string;
4
+ control: string;
5
+ options: string[];
6
+ defaultValue: string;
7
+ description: string;
8
+ table: {
9
+ type: {
10
+ summary: string;
11
+ defaultValue: string;
12
+ };
13
+ };
14
+ };
15
+ tabList: {
16
+ type: {
17
+ name: string;
18
+ required: boolean;
19
+ };
20
+ description: string;
21
+ table: {
22
+ type: {
23
+ summary: string;
24
+ };
25
+ };
26
+ };
27
+ isFitted: {
28
+ type: string;
29
+ description: string;
30
+ defaultValue: boolean;
31
+ table: {
32
+ type: {
33
+ summary: string;
34
+ defaultValue: boolean;
35
+ };
36
+ };
37
+ };
38
+ align: {
39
+ type: string;
40
+ description: string;
41
+ control: string;
42
+ options: string[];
43
+ defaultValue: string;
44
+ table: {
45
+ type: {
46
+ summary: string;
47
+ defaultValue: string;
48
+ };
49
+ };
50
+ };
51
+ onChange: {
52
+ type: string;
53
+ description: string;
54
+ table: {
55
+ type: {
56
+ summary: string;
57
+ };
58
+ };
59
+ };
60
+ defaultIndex: {
61
+ type: string;
62
+ control: string;
63
+ description: string;
64
+ defaultValue: number;
65
+ table: {
66
+ type: {
67
+ summary: string;
68
+ defaultValue: number;
69
+ };
70
+ };
71
+ };
72
+ };
@@ -0,0 +1,19 @@
1
+ /// <reference types="react" />
2
+ import { StyleProps } from '@chakra-ui/react';
3
+ import { Alignment, Dict } from 'shared/types';
4
+ import { TabProps } from './components/Tab/tab.component';
5
+ import { TabSize } from './tabs.types';
6
+ export interface TabsProps extends StyleProps {
7
+ size?: TabSize;
8
+ tabList: TabProps[];
9
+ tabPanels?: JSX.Element[];
10
+ styleConfig?: Dict;
11
+ isFitted?: boolean;
12
+ align?: Alignment;
13
+ defaultIndex?: number;
14
+ isLazy?: boolean;
15
+ isManual?: boolean;
16
+ index?: number;
17
+ onChange?: (index: number) => void;
18
+ }
19
+ export declare const Tabs: ({ size, tabList, tabPanels, ...rest }: TabsProps) => JSX.Element;
@@ -0,0 +1,2 @@
1
+ import { ComponentStyleConfig } from '@chakra-ui/react';
2
+ export declare const TabsConfig: ComponentStyleConfig;
@@ -0,0 +1 @@
1
+ export declare type TabSize = 'lg' | 'md' | 'sm' | 'xs';
@@ -0,0 +1 @@
1
+ export * from './Tabs';
@@ -0,0 +1,13 @@
1
+ export declare const DrawerConfig: {
2
+ variants: {
3
+ alwaysOpen: {
4
+ parts: string[];
5
+ dialog: {
6
+ pointerEvents: string;
7
+ };
8
+ dialogContainer: {
9
+ pointerEvents: string;
10
+ };
11
+ };
12
+ };
13
+ };
@@ -0,0 +1,13 @@
1
+ export declare const DrawerConfig: {
2
+ variants: {
3
+ alwaysOpen: {
4
+ parts: string[];
5
+ dialog: {
6
+ pointerEvents: string;
7
+ };
8
+ dialogContainer: {
9
+ pointerEvents: string;
10
+ };
11
+ };
12
+ };
13
+ };
@@ -0,0 +1 @@
1
+ export * from './drawer.config';
@@ -0,0 +1,14 @@
1
+ import { RadioGroupProps as CRadioGroupProps, SystemProps } from '@chakra-ui/react';
2
+ import { WithFormControlProps } from 'components/Forms/FormControl/formControl.component';
3
+ import React from 'react';
4
+ import { RadioProps } from '../../radio.component';
5
+ import { RadioGroupDirection, RadioSize } from '../../radio.types';
6
+ export interface RadioGroupProps extends WithFormControlProps, CRadioGroupProps {
7
+ size?: RadioSize;
8
+ radios: RadioProps[];
9
+ direction?: RadioGroupDirection;
10
+ spacing?: SystemProps['margin'];
11
+ $isFieldInline?: boolean;
12
+ }
13
+ declare const WrappedRadioGroup: React.FC<RadioGroupProps & WithFormControlProps>;
14
+ export { WrappedRadioGroup as RadioGroup };
@@ -0,0 +1,5 @@
1
+ export { RadioGroup as CRadioGroup, useRadioGroup, useRadioGroupContext } from '@chakra-ui/react';
2
+ export * from './components/RadioGroup/radioGroup.component';
3
+ export * from './radio.component';
4
+ export * from './radio.config';
5
+ export * from './radio.types';
@@ -0,0 +1,6 @@
1
+ import { RadioProps as CRadioProps } from '@chakra-ui/react';
2
+ import { RadioSize } from './radio.types';
3
+ export interface RadioProps extends CRadioProps {
4
+ size?: RadioSize;
5
+ }
6
+ export declare const Radio: ({ children, size, ...rest }: RadioProps) => JSX.Element;
@@ -0,0 +1,2 @@
1
+ import { ComponentStyleConfig } from '@chakra-ui/react';
2
+ export declare const RadioConfig: ComponentStyleConfig;
@@ -0,0 +1,2 @@
1
+ export declare type RadioSize = 'sm' | 'md' | 'lg';
2
+ export declare type RadioGroupDirection = 'row' | 'column';
@@ -1,6 +1,7 @@
1
1
  export * from './Button';
2
2
  export * from './Textarea';
3
3
  export * from './TextInput';
4
+ export * from './Radio';
4
5
  export * from './RatingDots';
5
6
  export * from './Select';
6
7
  export * from './Switch';
@@ -0,0 +1,8 @@
1
+ import React from 'react';
2
+ import { IconColor, IconName, IconsSize } from './icon.types';
3
+ export interface IconProps {
4
+ name: IconName;
5
+ size?: IconsSize;
6
+ color?: IconColor;
7
+ }
8
+ export declare const Icon: React.ForwardRefExoticComponent<IconProps & React.RefAttributes<any>>;
@@ -0,0 +1,3 @@
1
+ import { IconName, IconsSize } from './icon.types';
2
+ export declare const IconMap: Record<IconName, any>;
3
+ export declare const IconSizeMap: Record<IconsSize, number>;
@@ -0,0 +1,3 @@
1
+ import { IconName, IconsSize } from './icon.types';
2
+ export declare const IconMap: Record<IconName, any>;
3
+ export declare const IconSizeMap: Record<IconsSize, number>;
@@ -0,0 +1,3 @@
1
+ export declare type IconName = 'alertCircle' | 'animalBird' | 'animalCat' | 'animalCow' | 'animalDog' | 'animalHorse' | 'arrowDownRight' | 'arrowCircle' | 'arrowLeft' | 'arrowRight' | 'arrowsIn' | 'arrowsOut' | 'article' | 'asterisk' | 'bell' | 'bellRinging' | 'bookmarkFilled' | 'bookmarkOutlined' | 'brush' | 'caduceus' | 'calendarDate' | 'calendarCheck' | 'calendarInfo' | 'calendarPen' | 'calendarOutlined' | 'camera' | 'cameraFlip' | 'cameraOff' | 'cancel' | 'cellphone' | 'cellphoneAlert' | 'chainLink' | 'chatBubbleFilled' | 'chatBubbleOutlined' | 'checkmark' | 'checkmarkBox' | 'checkmarkCircle' | 'checkmarkList' | 'chevronDown' | 'chevronLeft' | 'chevronRight' | 'chevronUp' | 'circleDotted' | 'clock' | 'close' | 'closeCircle' | 'code' | 'conversation' | 'creditCardHand' | 'crossClipboard' | 'crossPaw' | 'crossHatPerson' | 'dogHouse' | 'dogHouseOutlined' | 'dollar' | 'dollarCircle' | 'dotsCircle' | 'dotsHorizontal' | 'dotsVertical' | 'doubleArrowCircle' | 'download' | 'dragDrop' | 'emailSend' | 'envelopeFilled' | 'envelopeOutlined' | 'eyedropper' | 'eyeOpen' | 'eyeSlash' | 'faceScreen' | 'formsFilled' | 'formsOutlined' | 'funnelFilled' | 'funnelOutlined' | 'gear' | 'grid' | 'horizontalLines' | 'house' | 'infoCircleFilled' | 'infoCircleOutlined' | 'input' | 'invoice' | 'invoiceOutlined' | 'largeTextInput' | 'list' | 'locationMarker' | 'locationMarkerGround' | 'lockRectangle' | 'lockRound' | 'loudspeaker' | 'magnifyingGlass' | 'manHeadset' | 'message' | 'messages' | 'messageClipboard' | 'messageEllipses' | 'messageGear' | 'messageLink' | 'microphone' | 'microphoneMute' | 'moveLeft' | 'moveRight' | 'multipleChoice' | 'notification' | 'paperAirplane' | 'paperAirplane2' | 'paperAirplaneRight' | 'paperclip' | 'paperPen' | 'paw' | 'paw2' | 'pawMagnifyingGlass' | 'pawOutlined' | 'pdfLogo' | 'pen' | 'penSquare' | 'person' | 'personAdd' | 'phone' | 'phoneButtons' | 'phoneDown' | 'phoneRing' | 'pill' | 'pillHand' | 'playingCards' | 'plus' | 'questionMark' | 'questionMarkCircle' | 'quilInk' | 'reactLogo' | 'record' | 'report' | 'robot' | 'smileyFace' | 'smileyFacePlus' | 'star' | 'star2' | 'star2Outlined' | 'starCircle' | 'team' | 'textEdit' | 'thumbsUp' | 'trashcan' | 'twoSquares' | 'upload' | 'videoCamera' | 'warningSign' | 'website';
2
+ export declare type IconsSize = 'xs' | 'sm' | 'md' | 'lg' | 'xl' | '2xl';
3
+ export declare type IconColor = 'default' | 'subtle' | 'inactive' | 'active' | 'success' | 'warning' | 'error' | 'currentColor';
@@ -0,0 +1,2 @@
1
+ export * from './icon.component';
2
+ export * from './icon.types';
@@ -0,0 +1,2 @@
1
+ export * from './logo.component';
2
+ export * from './logo.types';
@@ -0,0 +1,14 @@
1
+ /// <reference types="react" />
2
+ import { LogoHoliday, LogoType, LogoColor } from './logo.types';
3
+ export interface ILogoProps {
4
+ type?: LogoType;
5
+ color?: LogoColor;
6
+ holiday?: LogoHoliday;
7
+ height?: number;
8
+ width?: number;
9
+ handleClick?: () => void;
10
+ }
11
+ export declare const Logo: {
12
+ ({ type, color, holiday, height, width, handleClick, }: ILogoProps): JSX.Element;
13
+ displayName: string;
14
+ };
@@ -0,0 +1,6 @@
1
+ /// <reference types="react" />
2
+ import { Props } from 'framer-motion/types/types';
3
+ import { LogoColor, LogoHoliday } from './logo.types';
4
+ export declare const holidaysLogoIconMap: Record<LogoHoliday, React.FC<Props>>;
5
+ export declare const logoIconMap: Record<LogoColor, React.FC<Props>>;
6
+ export declare const fullLogoMap: Record<LogoColor, React.FC<Props>>;
@@ -0,0 +1,6 @@
1
+ /// <reference types="react" />
2
+ import { Props } from 'framer-motion/types/types';
3
+ import { LogoColor, LogoHoliday } from './logo.types';
4
+ export declare const holidaysLogoIconMap: Record<LogoHoliday, React.FC<Props>>;
5
+ export declare const logoIconMap: Record<LogoColor, React.FC<Props>>;
6
+ export declare const fullLogoMap: Record<LogoColor, React.FC<Props>>;
@@ -0,0 +1,3 @@
1
+ export declare type LogoHoliday = 'newYears' | 'valentines' | 'stPatricks' | 'easter1' | 'easter2' | 'easter3' | 'easter4' | 'easter5' | 'easter6' | 'mothersDay' | 'memorialDay' | 'fathersDay' | 'halloween' | 'thanksgiving' | 'christmas';
2
+ export declare type LogoType = 'full' | 'icon';
3
+ export declare type LogoColor = 'teal' | 'black' | 'white';
@@ -0,0 +1,22 @@
1
+ import { ReactComponent as TealLogo } from '../../assets/logos/teal.svg';
2
+ import { ReactComponent as TealLogoIcon } from '../../assets/logos/tealIcon.svg';
3
+ import { ReactComponent as BlackLogo } from '../../assets/logos/black.svg';
4
+ import { ReactComponent as BlackLogoIcon } from '../../assets/logos/blackIcon.svg';
5
+ import { ReactComponent as WhiteLogo } from '../../assets/logos/white.svg';
6
+ import { ReactComponent as WhiteLogoIcon } from '../../assets/logos/whiteIcon.svg';
7
+ import { ReactComponent as NewYearsLogoIcon } from '../../assets/logos/holidays/newYears.svg';
8
+ import { ReactComponent as ValentinesLogoIcon } from '../../assets/logos/holidays/valentines.svg';
9
+ import { ReactComponent as StPatricksLogoIcon } from '../../assets/logos/holidays/stPatricks.svg';
10
+ import { ReactComponent as Easter1LogoIcon } from '../../assets/logos/holidays/easter1.svg';
11
+ import { ReactComponent as Easter2LogoIcon } from '../../assets/logos/holidays/easter2.svg';
12
+ import { ReactComponent as Easter3LogoIcon } from '../../assets/logos/holidays/easter3.svg';
13
+ import { ReactComponent as Easter4LogoIcon } from '../../assets/logos/holidays/easter4.svg';
14
+ import { ReactComponent as Easter5LogoIcon } from '../../assets/logos/holidays/easter5.svg';
15
+ import { ReactComponent as Easter6LogoIcon } from '../../assets/logos/holidays/easter6.svg';
16
+ import { ReactComponent as MothersDayLogoIcon } from '../../assets/logos/holidays/mothersDay.svg';
17
+ import { ReactComponent as MemorialDayLogoIcon } from '../../assets/logos/holidays/memorialDay.svg';
18
+ import { ReactComponent as FathersDayLogoIcon } from '../../assets/logos/holidays/fathersDay.svg';
19
+ import { ReactComponent as HalloweenLogoIcon } from '../../assets/logos/holidays/halloween.svg';
20
+ import { ReactComponent as ThanksgivingLogoIcon } from '../../assets/logos/holidays/thanksgiving.svg';
21
+ import { ReactComponent as ChristmasLogoIcon } from '../../assets/logos/holidays/christmas.svg';
22
+ export { TealLogo, TealLogoIcon, BlackLogo, BlackLogoIcon, WhiteLogo, WhiteLogoIcon, NewYearsLogoIcon, ValentinesLogoIcon, StPatricksLogoIcon, Easter1LogoIcon, Easter2LogoIcon, Easter3LogoIcon, Easter4LogoIcon, Easter5LogoIcon, Easter6LogoIcon, MothersDayLogoIcon, MemorialDayLogoIcon, FathersDayLogoIcon, HalloweenLogoIcon, ThanksgivingLogoIcon, ChristmasLogoIcon, };
@@ -0,0 +1,12 @@
1
+ import { AvatarProps, AvatarSize } from 'components/MediaAndIcons/Avatar';
2
+ export interface AvatarGroupProps {
3
+ avatars: AvatarProps[];
4
+ max?: number;
5
+ size?: AvatarSize;
6
+ handleAddButtonClick?: () => void;
7
+ showAddButton?: boolean;
8
+ addButtonTooltipText?: string;
9
+ showRemoveAvatarButton?: boolean;
10
+ handleRemoveButtonClick?: () => void;
11
+ }
12
+ export declare const AvatarGroup: ({ avatars, max, size, handleAddButtonClick, showAddButton, addButtonTooltipText, showRemoveAvatarButton, handleRemoveButtonClick, }: AvatarGroupProps) => JSX.Element;
@@ -0,0 +1,6 @@
1
+ export declare const avatarSizeMap: {
2
+ xs: string;
3
+ sm: string;
4
+ md: string;
5
+ lg: string;
6
+ };
@@ -1,3 +1,4 @@
1
+ export * from './components/AvatarGroup/avatarGroup.component';
1
2
  export * from './avatar.component';
2
3
  export * from './avatar.types';
3
4
  export * from './avatar.config';
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { AvatarProps, AvatarSize } from 'components/MediaAndIcons/Avatar';
2
3
  export interface AvatarGroupProps {
3
4
  avatars: AvatarProps[];
@@ -1,4 +1,3 @@
1
1
  export * from './Avatar';
2
- export * from './AvatarGroup';
3
2
  export * from './Icon';
4
3
  export * from './Logo';
@@ -0,0 +1,3 @@
1
+ export * from './textarea.component';
2
+ export * from './textarea.types';
3
+ export * from './textarea.config';
@@ -0,0 +1,5 @@
1
+ /// <reference types="react" />
2
+ import { TextareaProps as CTextareaProps } from '@chakra-ui/react';
3
+ export interface TextareaProps extends CTextareaProps {
4
+ }
5
+ export declare const Textarea: (props: TextareaProps) => JSX.Element;
@@ -0,0 +1,2 @@
1
+ import { ComponentStyleConfig } from '@chakra-ui/react';
2
+ export declare const TextareaConfig: ComponentStyleConfig;
@@ -0,0 +1,2 @@
1
+ export declare type TextareaSize = 'sm' | 'md' | 'lg';
2
+ export declare type TextareaResizeOrientation = 'horizontal' | 'vertical' | 'none';
@@ -0,0 +1,3 @@
1
+ export * from './tooltip.component';
2
+ export * from './tooltip.types';
3
+ export * from './tooltip.config';
@@ -0,0 +1,8 @@
1
+ /// <reference types="react" />
2
+ import { PlacementWithLogical, TooltipProps as ChakraTooltipProps } from '@chakra-ui/react';
3
+ export interface TooltipProps extends ChakraTooltipProps {
4
+ label: string;
5
+ placement?: PlacementWithLogical;
6
+ titleCaseLabel?: boolean;
7
+ }
8
+ export declare const Tooltip: ({ children, label, openDelay, placement, titleCaseLabel, ...rest }: TooltipProps) => JSX.Element;
@@ -0,0 +1,8 @@
1
+ import { TooltipStyleConfig } from './tooltip.types';
2
+ export declare const TooltipGlobalStyle: {
3
+ '[id^=tooltip]': {
4
+ padding: string;
5
+ borderRadius: string;
6
+ };
7
+ };
8
+ export declare const TooltipConfig: TooltipStyleConfig;
@@ -0,0 +1,4 @@
1
+ import { AdaptiveColor } from '../../theme/tokens';
2
+ export interface TooltipStyleConfig {
3
+ color: AdaptiveColor;
4
+ }
@@ -0,0 +1,9 @@
1
+ import { TooltipStyleConfig } from './tooltip.model';
2
+ export declare const TooltipGlobalStyle: {
3
+ '[id^=tooltip]': {
4
+ padding: string;
5
+ borderRadius: string;
6
+ textTransform: string;
7
+ };
8
+ };
9
+ export declare const TooltipConfig: TooltipStyleConfig;
@@ -0,0 +1,4 @@
1
+ import { AdaptiveColor } from '../../theme/tokens';
2
+ export interface TooltipStyleConfig {
3
+ color: AdaptiveColor;
4
+ }
@@ -0,0 +1,2 @@
1
+ import { HeadingStyleConfig } from './heading.types';
2
+ export declare const HeadingConfig: HeadingStyleConfig;
@@ -0,0 +1,2 @@
1
+ import { ComponentStyleConfig } from '@chakra-ui/theme';
2
+ export declare const TextConfig: ComponentStyleConfig;
@@ -1,8 +1,9 @@
1
1
  export * from './DataDisplay';
2
+ export * from './Disclosure';
2
3
  export * from './Forms';
3
4
  export * from './Layout';
4
5
  export * from './MediaAndIcons';
5
6
  export * from './Other';
6
7
  export * from './Overlay';
7
8
  export * from './Typography';
8
- export { Divider, InputGroup, InputLeftElement, InputRightElement, } from '@chakra-ui/react';
9
+ export { Divider, InputGroup, InputLeftElement, InputRightElement } from '@chakra-ui/react';