@televet/kibble-ui 1.17.7 → 1.17.8

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,7 +1,7 @@
1
1
  import { TabProps as CTabProps } from '@chakra-ui/react';
2
2
  import { NotificationCounterVariant } from 'components/DataDisplay';
3
- import { IconName } from 'components/MediaAndIcons';
4
3
  import { TabSize } from '../../tabs.types';
4
+ import { IconName } from '@televet/kibble-icons';
5
5
  export interface TabProps extends CTabProps {
6
6
  iconName?: IconName;
7
7
  label: string;
@@ -1,7 +1,7 @@
1
1
  import React, { ReactNode } from 'react';
2
2
  import { ButtonProps as ChakraButtonProps } from '@chakra-ui/react';
3
- import { IconName } from '../../MediaAndIcons';
4
3
  import { ButtonSizeType, ButtonVariantType } from './button.types';
4
+ import { IconName } from '@televet/kibble-icons';
5
5
  export interface ButtonProps extends ChakraButtonProps {
6
6
  children?: ReactNode;
7
7
  variant?: ButtonVariantType;
@@ -1,8 +1,10 @@
1
1
  import React from 'react';
2
- import { IconColor, IconName, IconsSize } from './icon.types';
2
+ import { IconColorToken, IconsSize } from './icon.types';
3
+ import { IconName } from '@televet/kibble-icons';
3
4
  export interface IconProps {
4
5
  name: IconName;
5
6
  size?: IconsSize;
6
- color?: IconColor;
7
+ color?: IconColorToken;
8
+ colorToken?: IconColorToken;
7
9
  }
8
10
  export declare const Icon: React.ForwardRefExoticComponent<IconProps & React.RefAttributes<any>>;
@@ -1,3 +1,2 @@
1
- import { IconName, IconsSize } from './icon.types';
2
- export declare const IconMap: Record<IconName, any>;
1
+ import { IconsSize } from './icon.types';
3
2
  export declare const IconSizeMap: Record<IconsSize, number>;
@@ -1,3 +1,4 @@
1
- export declare type IconName = 'alertCircle' | 'animalBird' | 'animalCat' | 'animalCow' | 'animalDog' | 'animalHorse' | 'animalMouse' | 'animalPig' | 'animalSnake' | 'arrowCircle' | 'arrowDown' | 'arrowDownRight' | 'arrowLeft' | 'arrowRight' | 'arrowUp' | 'arrowsIn' | 'arrowsOut' | 'article' | 'asterisk' | 'award' | 'bell' | 'bone' | 'bellRinging' | 'bookmarkFilled' | 'bookmarkOutlined' | 'brush' | 'bulkSelect' | 'buttons' | 'caduceus' | 'calendarDate' | 'calendarCheck' | 'calendarInfo' | 'calendarPen' | 'calendarOutlined' | 'camera' | 'cameraFlip' | 'cameraOff' | 'cancel' | 'cellphone' | 'cellphoneAlert' | 'chainLink' | 'chatBubbleFilled' | 'chatBubbleOutlined' | 'checkmark' | 'checkmarkBox' | 'checkmarkCircle' | 'checkmarkList' | 'chevronDown' | 'chevronLeft' | 'chevronRight' | 'chevronUp' | 'chevronUpDown' | 'circleDotted' | 'clockGear' | 'clock' | 'close' | 'closeCircle' | 'closedSign' | 'code' | 'conversation' | 'creditCardHand' | 'crossClipboard' | 'crossPaw' | 'crossHatPerson' | 'dogHouse' | 'dogHouseOutlined' | 'dollar' | 'dollarBank' | 'dollarCircle' | 'dotsCircle' | 'dotsHorizontal' | 'dotsVertical' | 'doubleArrowCircle' | 'download' | 'dragDrop' | 'emailSend' | 'envelopeFilled' | 'envelopeOutlined' | 'eyedropper' | 'eyeOpen' | 'eyeSlash' | 'externalLink' | 'faceScreen' | 'formsFilled' | 'formsOutlined' | 'funnelFilled' | 'funnelOutlined' | 'gear' | 'grid' | 'horizontalLines' | 'house' | 'infoCircleFilled' | 'infoCircleOutlined' | 'input' | 'invoice' | 'invoiceOutlined' | 'kanbanBoard' | 'largeTextInput' | 'list' | 'locationMarker' | 'locationMarkerGround' | 'lockRectangle' | 'lockRound' | 'loudspeaker' | 'magnifyingGlass' | 'mailbox' | 'manHeadset' | 'mergeTags' | 'message' | 'messages' | 'messageClipboard' | 'messageEllipses' | 'messageGearOutlined' | 'messageGear' | 'messageLink' | 'microphone' | 'microphoneMute' | 'minus' | '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' | 'robotLink' | 'robotOutlined' | 'smileyFace' | 'smileyFacePlus' | 'sort' | 'star' | 'star2' | 'star2Outlined' | 'starCircle' | 'stop' | 'stopRecording' | 'team' | 'televetV' | 'textEdit' | 'thumbsUp' | 'trashcan' | 'twoSquares' | 'upload' | 'videoCamera' | 'warningSign' | 'website' | 'wrench';
1
+ export { IconName } from '@televet/kibble-icons';
2
2
  export declare type IconsSize = 'xs' | 'sm' | 'md' | 'lg' | 'xl' | '2xl';
3
- export declare type IconColor = 'default' | 'subtle' | 'inactive' | 'active' | 'success' | 'warning' | 'error' | 'currentColor';
3
+ export declare type IconColorToken = 'default' | 'subtle' | 'inactive' | 'active' | 'success' | 'warning' | 'error' | 'currentColor';
4
+ export declare type IconColor = IconColorToken;
@@ -1,7 +1,7 @@
1
1
  import { ReactNode } from 'react';
2
2
  import { ButtonVariantType, ButtonSizeType } from 'components/Forms';
3
- import { IconName } from 'components/MediaAndIcons';
4
3
  import { MenuButtonProps as CMenuButtonProps } from '@chakra-ui/react';
4
+ import { IconName } from '@televet/kibble-icons';
5
5
  export interface MenuButtonProps extends CMenuButtonProps {
6
6
  leftElement?: ReactNode;
7
7
  leftIconName?: IconName;