kahuna-base-react-components 0.1.10 → 0.1.12

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/.prettierrc ADDED
@@ -0,0 +1,8 @@
1
+ {
2
+ "semi": false,
3
+ "tabWidth": 2,
4
+ "printWidth": 120,
5
+ "singleQuote": false,
6
+ "trailingComma": "none",
7
+ "bracketSameLine": false
8
+ }
@@ -14,6 +14,7 @@ export interface KButtonProps {
14
14
  textColor?: string;
15
15
  padding?: string;
16
16
  shadowDisabled?: boolean;
17
+ hoverBackground?: string;
17
18
  }
18
19
  declare const KButton: React.FC<KButtonProps>;
19
20
  export default KButton;
@@ -1,12 +1,13 @@
1
1
  import React from "react";
2
2
  import "../../main.css";
3
- import { MultiValue } from 'react-select';
3
+ import { MultiValue } from "react-select";
4
4
  export interface KSelectOption {
5
5
  label: string;
6
6
  value: number;
7
7
  type?: string;
8
8
  label2?: string;
9
9
  value2?: string;
10
+ icon?: string;
10
11
  }
11
12
  export interface KDropdownProps {
12
13
  defaultValue?: KSelectOption | MultiValue<KSelectOption>;
@@ -25,6 +26,7 @@ export interface KDropdownProps {
25
26
  label?: string;
26
27
  textColor?: string;
27
28
  shadowDisabled?: boolean;
29
+ menuBackground?: string;
28
30
  }
29
31
  declare const KDropdown: React.FC<KDropdownProps>;
30
32
  export default KDropdown;
@@ -18,6 +18,7 @@ export interface KInputProps {
18
18
  leftIconClick?: () => void;
19
19
  rightIconClick?: () => void;
20
20
  accentColor?: string;
21
+ hoverBackground?: string;
21
22
  }
22
23
  declare const KInput: React.FC<KInputProps>;
23
24
  export default KInput;
@@ -8,6 +8,8 @@ export interface KSpanProps {
8
8
  lineHeight?: string;
9
9
  fontStyle?: string;
10
10
  letterSpacing?: string;
11
+ hoverText?: string;
12
+ hoverTextColor?: string;
11
13
  }
12
14
  declare const KSpan: React.FC<KSpanProps>;
13
15
  export default KSpan;