@televet/kibble-ui 1.3.1 → 1.3.2-beta.3chctp9.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.
- package/build/components/DataDisplay/Table/index.d.ts +1 -0
- package/build/components/DataDisplay/index.d.ts +1 -0
- package/build/components/FormControl/formControl.argTypes.d.ts +125 -0
- package/build/components/FormControl/formControl.component.d.ts +12 -0
- package/build/components/FormControl/formControl.config.d.ts +2 -0
- package/build/components/Forms/Button/button.component.d.ts +13 -0
- package/build/components/Forms/Button/button.config.d.ts +16 -0
- package/build/components/Forms/Button/button.types.d.ts +8 -0
- package/build/components/Forms/Button/index.d.ts +3 -0
- package/build/components/Forms/FormControl/formControl.argTypes.d.ts +125 -0
- package/build/components/Forms/FormControl/formControl.component.d.ts +12 -0
- package/build/components/Forms/FormControl/formControl.config.d.ts +2 -0
- package/build/components/Forms/RatingDots/index.d.ts +2 -0
- package/build/components/Forms/RatingDots/ratingDot.component.d.ts +9 -0
- package/build/components/Forms/RatingDots/ratingDots.component.d.ts +13 -0
- package/build/components/Forms/Select/index.d.ts +3 -0
- package/build/components/Forms/Select/select.component.d.ts +9 -0
- package/build/components/Forms/Select/select.config.d.ts +2 -0
- package/build/components/Forms/Select/select.types.d.ts +4 -0
- package/build/components/Forms/Switch/index.d.ts +2 -0
- package/build/components/Forms/Switch/switch.component.d.ts +7 -0
- package/build/components/Forms/Switch/switch.config.d.ts +2 -0
- package/build/components/Forms/TextInput/index.d.ts +2 -0
- package/build/components/Forms/TextInput/textInput.component.d.ts +9 -0
- package/build/components/Forms/TextInput/textInput.config.d.ts +2 -0
- package/build/components/Forms/Textarea/index.d.ts +2 -0
- package/build/components/Forms/Textarea/textarea.component.d.ts +7 -0
- package/build/components/Forms/Textarea/textarea.config.d.ts +2 -0
- package/build/components/Forms/index.d.ts +6 -0
- package/build/components/Layout/Box/index.d.ts +1 -0
- package/build/components/Layout/Center/index.d.ts +1 -0
- package/build/components/Layout/Container/index.d.ts +1 -0
- package/build/components/Layout/Flex/index.d.ts +1 -0
- package/build/components/Layout/Grid/index.d.ts +1 -0
- package/build/components/Layout/SimpleGrid/index.d.ts +1 -0
- package/build/components/Layout/Stack/index.d.ts +1 -0
- package/build/components/Layout/Wrap/index.d.ts +1 -0
- package/build/components/Layout/index.d.ts +8 -0
- package/build/components/MediaAndIcons/Avatar/avatar.component.d.ts +26 -0
- package/build/components/MediaAndIcons/Avatar/avatar.config.d.ts +2 -0
- package/build/components/MediaAndIcons/Avatar/avatar.types.d.ts +1 -0
- package/build/components/MediaAndIcons/Avatar/index.d.ts +3 -0
- package/build/components/MediaAndIcons/AvatarGroup/avatarGroup.component.d.ts +13 -0
- package/build/components/MediaAndIcons/AvatarGroup/avatarGroup.utilities.d.ts +6 -0
- package/build/components/MediaAndIcons/AvatarGroup/index.d.ts +1 -0
- package/build/components/MediaAndIcons/Icon/icon.component.d.ts +8 -0
- package/build/components/MediaAndIcons/Icon/icon.records.d.ts +3 -0
- package/build/components/MediaAndIcons/Icon/icon.types.d.ts +3 -0
- package/build/components/MediaAndIcons/Icon/index.d.ts +2 -0
- package/build/components/MediaAndIcons/Image/index.d.ts +1 -0
- package/build/components/MediaAndIcons/Logo/index.d.ts +2 -0
- package/build/components/MediaAndIcons/Logo/logo.component.d.ts +14 -0
- package/build/components/MediaAndIcons/Logo/logo.config.d.ts +6 -0
- package/build/components/MediaAndIcons/Logo/logo.types.d.ts +3 -0
- package/build/components/MediaAndIcons/Logo/logos.d.ts +22 -0
- package/build/components/MediaAndIcons/index.d.ts +4 -0
- package/build/components/Other/Hide/index.d.ts +1 -0
- package/build/components/Other/Show/index.d.ts +1 -0
- package/build/components/Other/index.d.ts +2 -0
- package/build/components/Overlay/Drawer/drawer.config.d.ts +13 -0
- package/build/components/Overlay/Drawer/index.d.ts +2 -0
- package/build/components/Overlay/Tooltip/index.d.ts +3 -0
- package/build/components/Overlay/Tooltip/tooltip.component.d.ts +8 -0
- package/build/components/Overlay/Tooltip/tooltip.config.d.ts +8 -0
- package/build/components/Overlay/Tooltip/tooltip.types.d.ts +6 -0
- package/build/components/Overlay/index.d.ts +2 -0
- package/build/components/RatingDots/index.d.ts +2 -0
- package/build/components/RatingDots/ratingDot.component.d.ts +9 -0
- package/build/components/RatingDots/ratingDots.component.d.ts +10 -0
- package/build/components/Select/index.d.ts +3 -0
- package/build/components/Select/select.component.d.ts +9 -0
- package/build/components/Select/select.config.d.ts +2 -0
- package/build/components/Select/select.types.d.ts +4 -0
- package/build/components/Switch/index.d.ts +2 -0
- package/build/components/Switch/switch.component.d.ts +7 -0
- package/build/components/Switch/switch.config.d.ts +2 -0
- package/build/components/TextInput/index.d.ts +2 -0
- package/build/components/TextInput/textInput.component.d.ts +7 -0
- package/build/components/TextInput/textInput.config.d.ts +2 -0
- package/build/components/Textarea/index.d.ts +0 -1
- package/build/components/Textarea/textarea.component.d.ts +5 -3
- package/build/components/index.d.ts +7 -8
- package/build/index.js +4933 -2435
- package/build/index.js.map +1 -1
- package/build/theme/theme.types.d.ts +4 -2
- package/package.json +1 -1
- /package/build/components/{Textarea → Forms/Textarea}/textarea.types.d.ts +0 -0
|
@@ -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 @@
|
|
|
1
|
+
export { Hide } from '@chakra-ui/react';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { Show } from '@chakra-ui/react';
|
|
@@ -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,9 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
export interface IRatingDotProps {
|
|
3
|
+
number: number;
|
|
4
|
+
isInteractive?: boolean;
|
|
5
|
+
isDisabled?: boolean;
|
|
6
|
+
onClick?: (value: number) => void;
|
|
7
|
+
selected: boolean;
|
|
8
|
+
}
|
|
9
|
+
export declare const RatingDot: ({ number, isInteractive, isDisabled, onClick, selected }: IRatingDotProps) => JSX.Element;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
export interface IRatingDotsProps {
|
|
3
|
+
minValue: number;
|
|
4
|
+
maxValue: number;
|
|
5
|
+
isInteractive?: boolean;
|
|
6
|
+
isDisabled?: boolean;
|
|
7
|
+
onClick?: (value: number) => void;
|
|
8
|
+
selected?: number;
|
|
9
|
+
}
|
|
10
|
+
export declare const RatingDots: ({ minValue, maxValue, isDisabled, isInteractive, onClick, selected, }: IRatingDotsProps) => JSX.Element;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { SelectProps as CSelectProps } from '@chakra-ui/react';
|
|
3
|
+
import { WithFormControlProps } from '../FormControl/formControl.component';
|
|
4
|
+
import { SelectOptionProps } from './select.types';
|
|
5
|
+
export interface SelectProps extends WithFormControlProps, CSelectProps {
|
|
6
|
+
options: SelectOptionProps[];
|
|
7
|
+
}
|
|
8
|
+
declare const WrappedSelect: React.FC<SelectProps & WithFormControlProps>;
|
|
9
|
+
export { WrappedSelect as Select };
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { SwitchProps as CSwitchProps } from '@chakra-ui/react';
|
|
3
|
+
import { WithFormControlProps } from '../FormControl/formControl.component';
|
|
4
|
+
export interface SwitchProps extends WithFormControlProps, CSwitchProps {
|
|
5
|
+
}
|
|
6
|
+
declare const WrappedSwitch: React.FC<SwitchProps & WithFormControlProps>;
|
|
7
|
+
export { WrappedSwitch as Switch };
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { InputProps as CInputProps } from '@chakra-ui/react';
|
|
3
|
+
import { WithFormControlProps } from 'components/FormControl/formControl.component';
|
|
4
|
+
export interface TextInputProps extends WithFormControlProps, CInputProps {
|
|
5
|
+
}
|
|
6
|
+
declare const WrappedTextInput: React.FC<TextInputProps & WithFormControlProps>;
|
|
7
|
+
export { WrappedTextInput as TextInput };
|
|
@@ -1,5 +1,7 @@
|
|
|
1
|
-
|
|
1
|
+
import React from 'react';
|
|
2
2
|
import { TextareaProps as CTextareaProps } from '@chakra-ui/react';
|
|
3
|
-
|
|
3
|
+
import { WithFormControlProps } from '../FormControl/formControl.component';
|
|
4
|
+
export interface TextareaProps extends WithFormControlProps, CTextareaProps {
|
|
4
5
|
}
|
|
5
|
-
|
|
6
|
+
declare const WrappedTextArea: React.FC<TextareaProps & WithFormControlProps>;
|
|
7
|
+
export { WrappedTextArea as Textarea };
|
|
@@ -1,9 +1,8 @@
|
|
|
1
|
-
export * from './
|
|
2
|
-
export * from './
|
|
3
|
-
export * from './
|
|
1
|
+
export * from './DataDisplay';
|
|
2
|
+
export * from './Forms';
|
|
3
|
+
export * from './Layout';
|
|
4
|
+
export * from './MediaAndIcons';
|
|
5
|
+
export * from './Other';
|
|
6
|
+
export * from './Overlay';
|
|
4
7
|
export * from './Typography';
|
|
5
|
-
export
|
|
6
|
-
export * from './Avatar';
|
|
7
|
-
export * from './Button';
|
|
8
|
-
export * from './Tooltip';
|
|
9
|
-
export { Box, BoxProps, Center, CenterProps, Flex, FlexProps, Hide, HideProps, Show, ShowProps, Tbody, Td, Th, Thead, Tr, VStack, HStack, } from '@chakra-ui/react';
|
|
8
|
+
export { Divider, InputGroup, InputLeftElement, InputRightElement, } from '@chakra-ui/react';
|