@televet/kibble-ui 1.1.0 → 1.2.0-beta.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.
@@ -0,0 +1,33 @@
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';
3
+ import { ComponentStyleConfig } from '@chakra-ui/theme';
4
+ export interface ITheme {
5
+ blur: Blur;
6
+ borders: Borders;
7
+ colors: Colors;
8
+ radii: Radii;
9
+ shadows: Shadows;
10
+ sizes: Sizes;
11
+ fonts: Fonts;
12
+ fontSizes: FontSizes;
13
+ fontWeights: FontWeights;
14
+ lineHeights: LineHeights;
15
+ space: Space;
16
+ transition: Transition;
17
+ zIndices: ZIndices;
18
+ semanticTokens: SemanticTokens;
19
+ initialColorMode: string;
20
+ useSystemColorMode: boolean;
21
+ config: {
22
+ initialColorMode: string;
23
+ useSystemColorMode: boolean;
24
+ };
25
+ components: {
26
+ Button: ButtonStyleConfig;
27
+ Drawer: ComponentStyleConfig;
28
+ Textarea: ComponentStyleConfig;
29
+ Heading: HeadingStyleConfig;
30
+ Text: ComponentStyleConfig;
31
+ Tooltip: TooltipStyleConfig;
32
+ };
33
+ }
@@ -0,0 +1,2 @@
1
+ import { ITheme } from './theme.model';
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 } from '../components';
2
+ import { ButtonStyleConfig, HeadingStyleConfig, TooltipStyleConfig } from '../components';
3
3
  import { ComponentStyleConfig } from '@chakra-ui/theme';
4
4
  export interface ITheme {
5
5
  blur: Blur;
@@ -28,5 +28,6 @@ export interface ITheme {
28
28
  Heading: HeadingStyleConfig;
29
29
  Text: ComponentStyleConfig;
30
30
  Button: ButtonStyleConfig;
31
+ Tooltip: TooltipStyleConfig;
31
32
  };
32
33
  }
@@ -1 +1,2 @@
1
1
  export declare const camelCaseToLabel: (s: string) => string;
2
+ export declare const toTitleCase: (s: string) => string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@televet/kibble-ui",
3
- "version": "1.1.0",
3
+ "version": "1.2.0-beta.0",
4
4
  "description": "Kibble Design System by Televet",
5
5
  "author": "TeleVet",
6
6
  "main": "build/index.js",