@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.
- package/build/components/Logo/index.d.ts +4 -29
- package/build/components/Logo/logo.records.d.ts +33 -0
- package/build/components/Logo/logos.d.ts +2 -1
- package/build/components/Textarea/textarea.component.d.ts +3 -13
- package/build/components/index.d.ts +0 -2
- package/build/index.js +1445 -452
- package/build/index.js.map +1 -1
- package/build/theme/theme.model.d.ts +1 -3
- package/package.json +1 -1
- package/build/components/Button/button.component.d.ts +0 -12
- package/build/components/Button/button.model.d.ts +0 -5
- package/build/components/Button/button.records.d.ts +0 -2
- package/build/components/Button/button.types.d.ts +0 -5
- package/build/components/Button/index.d.ts +0 -4
- package/build/components/Tooltip/index.d.ts +0 -3
- package/build/components/Tooltip/tooltip.component.d.ts +0 -8
- package/build/components/Tooltip/tooltip.model.d.ts +0 -4
- package/build/components/Tooltip/tooltip.records.d.ts +0 -9
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Blur, Borders, Colors, Fonts, FontSizes, FontWeights, LineHeights, Radii, SemanticTokens, Shadows, Sizes, Space, Transition, ZIndices } from './tokens';
|
|
2
|
-
import {
|
|
2
|
+
import { HeadingStyleConfig } from '../components';
|
|
3
3
|
import { ComponentStyleConfig } from '@chakra-ui/theme';
|
|
4
4
|
export interface ITheme {
|
|
5
5
|
blur: Blur;
|
|
@@ -23,11 +23,9 @@ export interface ITheme {
|
|
|
23
23
|
useSystemColorMode: boolean;
|
|
24
24
|
};
|
|
25
25
|
components: {
|
|
26
|
-
Button: ButtonStyleConfig;
|
|
27
26
|
Drawer: ComponentStyleConfig;
|
|
28
27
|
Textarea: ComponentStyleConfig;
|
|
29
28
|
Heading: HeadingStyleConfig;
|
|
30
29
|
Text: ComponentStyleConfig;
|
|
31
|
-
Tooltip: TooltipStyleConfig;
|
|
32
30
|
};
|
|
33
31
|
}
|
package/package.json
CHANGED
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { ReactNode } from 'react';
|
|
2
|
-
import { IconName } from '../Icon';
|
|
3
|
-
import { ButtonOptions } from '@chakra-ui/button/dist/declarations/src/button';
|
|
4
|
-
import { ButtonSize, ButtonVariant } from './button.types';
|
|
5
|
-
export interface ButtonProps extends ButtonOptions {
|
|
6
|
-
children?: ReactNode;
|
|
7
|
-
variant: ButtonVariant;
|
|
8
|
-
size: ButtonSize;
|
|
9
|
-
iconName?: IconName;
|
|
10
|
-
iconPosition?: 'left' | 'right';
|
|
11
|
-
}
|
|
12
|
-
export declare const Button: (props: ButtonProps) => JSX.Element;
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
import { ButtonVariantConfig } from './button.model';
|
|
2
|
-
export declare type ButtonVariant = 'primary' | 'primaryDestructive' | 'secondary' | 'secondaryDestructive' | 'secondarySubtle' | 'secondarySubtleDestructive' | 'tertiary' | 'tertiaryDestructive' | 'ghost' | 'ghostNeutral' | 'ghostDestructive';
|
|
3
|
-
export declare type ButtonColorOptions = 'content' | 'default' | 'hover' | 'active' | 'border';
|
|
4
|
-
export declare type ButtonSize = 'xs' | 'sm' | 'md' | 'lg';
|
|
5
|
-
export declare type ButtonStyleConfig = Record<ButtonVariant, ButtonVariantConfig>;
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { ReactNode } from 'react';
|
|
2
|
-
import { Placement, TooltipProps as ChakraTooltipProps } from '@chakra-ui/react';
|
|
3
|
-
export interface TooltipProps extends ChakraTooltipProps {
|
|
4
|
-
children: ReactNode;
|
|
5
|
-
label: string;
|
|
6
|
-
placement: Placement;
|
|
7
|
-
}
|
|
8
|
-
export declare const Tooltip: ({ children, label, placement, isOpen, defaultIsOpen, ...rest }: TooltipProps) => JSX.Element;
|