@televet/kibble-ui 1.0.17-beta.6 → 1.0.18
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/Drawer/index.d.ts +1 -1
- package/build/components/Icon/icon.types.d.ts +1 -1
- package/build/components/Logo/logo.component.d.ts +5 -2
- package/build/components/Typography/Heading/index.d.ts +1 -1
- package/build/components/Typography/Text/index.d.ts +1 -1
- package/build/components/index.d.ts +0 -2
- package/build/index.js +592 -800
- package/build/index.js.map +1 -1
- package/build/theme/index.d.ts +2 -2
- package/build/theme/theme.config.d.ts +2 -0
- package/build/theme/{theme.model.d.ts → theme.types.d.ts} +1 -3
- package/package.json +2 -2
- 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
- package/build/theme/theme.record.d.ts +0 -2
- /package/build/components/Drawer/{drawer.records.d.ts → drawer.config.d.ts} +0 -0
- /package/build/components/Icon/{icon.records.d.ts → icon.config.d.ts} +0 -0
- /package/build/components/Logo/{logo.records.d.ts → logo.config.d.ts} +0 -0
- /package/build/components/Typography/Heading/{heading.records.d.ts → heading.config.d.ts} +0 -0
- /package/build/components/Typography/Text/{text.records.d.ts → text.config.d.ts} +0 -0
package/build/theme/index.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export * from './theme.
|
|
2
|
-
export * from './theme.
|
|
1
|
+
export * from './theme.types';
|
|
2
|
+
export * from './theme.config';
|
|
@@ -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,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@televet/kibble-ui",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.18",
|
|
4
4
|
"description": "Kibble Design System by Televet",
|
|
5
5
|
"author": "TeleVet",
|
|
6
6
|
"main": "build/index.js",
|
|
@@ -119,6 +119,6 @@
|
|
|
119
119
|
"styled-components": ">=5.0.0"
|
|
120
120
|
},
|
|
121
121
|
"dependencies": {
|
|
122
|
-
"@televet/kibble-icons": "^0.1.
|
|
122
|
+
"@televet/kibble-icons": "^0.1.9"
|
|
123
123
|
}
|
|
124
124
|
}
|
|
@@ -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;
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|