@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.
Files changed (27) hide show
  1. package/build/components/Drawer/index.d.ts +1 -1
  2. package/build/components/Icon/icon.types.d.ts +1 -1
  3. package/build/components/Logo/logo.component.d.ts +5 -2
  4. package/build/components/Typography/Heading/index.d.ts +1 -1
  5. package/build/components/Typography/Text/index.d.ts +1 -1
  6. package/build/components/index.d.ts +0 -2
  7. package/build/index.js +592 -800
  8. package/build/index.js.map +1 -1
  9. package/build/theme/index.d.ts +2 -2
  10. package/build/theme/theme.config.d.ts +2 -0
  11. package/build/theme/{theme.model.d.ts → theme.types.d.ts} +1 -3
  12. package/package.json +2 -2
  13. package/build/components/Button/button.component.d.ts +0 -12
  14. package/build/components/Button/button.model.d.ts +0 -5
  15. package/build/components/Button/button.records.d.ts +0 -2
  16. package/build/components/Button/button.types.d.ts +0 -5
  17. package/build/components/Button/index.d.ts +0 -4
  18. package/build/components/Tooltip/index.d.ts +0 -3
  19. package/build/components/Tooltip/tooltip.component.d.ts +0 -8
  20. package/build/components/Tooltip/tooltip.model.d.ts +0 -4
  21. package/build/components/Tooltip/tooltip.records.d.ts +0 -9
  22. package/build/theme/theme.record.d.ts +0 -2
  23. /package/build/components/Drawer/{drawer.records.d.ts → drawer.config.d.ts} +0 -0
  24. /package/build/components/Icon/{icon.records.d.ts → icon.config.d.ts} +0 -0
  25. /package/build/components/Logo/{logo.records.d.ts → logo.config.d.ts} +0 -0
  26. /package/build/components/Typography/Heading/{heading.records.d.ts → heading.config.d.ts} +0 -0
  27. /package/build/components/Typography/Text/{text.records.d.ts → text.config.d.ts} +0 -0
@@ -1,2 +1,2 @@
1
- export * from './theme.model';
2
- export * from './theme.record';
1
+ export * from './theme.types';
2
+ export * from './theme.config';
@@ -0,0 +1,2 @@
1
+ import { ITheme } from './theme.types';
2
+ export declare const theme: ITheme;
@@ -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 { ButtonStyleConfig, HeadingStyleConfig, TooltipStyleConfig } from '../components';
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.17-beta.6",
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.7"
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 { ButtonColorOptions } from './button.types';
2
- import { AdaptiveColorMap } from '../../theme/tokens/colors';
3
- export interface ButtonVariantConfig extends AdaptiveColorMap<ButtonColorOptions> {
4
- variant: 'solid' | 'outline' | 'ghost';
5
- }
@@ -1,2 +0,0 @@
1
- import { ButtonStyleConfig } from './button.types';
2
- export declare const ButtonConfig: ButtonStyleConfig;
@@ -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,4 +0,0 @@
1
- export * from './button.component';
2
- export * from './button.types';
3
- export * from './button.model';
4
- export * from './button.records';
@@ -1,3 +0,0 @@
1
- export * from './tooltip.component';
2
- export * from './tooltip.model';
3
- export * from './tooltip.records';
@@ -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;
@@ -1,4 +0,0 @@
1
- import { AdaptiveColor } from '../../theme/tokens';
2
- export interface TooltipStyleConfig {
3
- color: AdaptiveColor;
4
- }
@@ -1,9 +0,0 @@
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;
@@ -1,2 +0,0 @@
1
- import { ITheme } from './theme.model';
2
- export declare const theme: ITheme;