kahuna-base-react-components 0.2.21 → 0.2.22

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/dist/types.d.ts CHANGED
@@ -96,6 +96,36 @@ interface KInputProps {
96
96
  }
97
97
  declare const KInput$1: React.FC<KInputProps>;
98
98
 
99
+ interface KTextAreaProps {
100
+ value: string;
101
+ onChange: (value: string) => void;
102
+ rows?: number;
103
+ onBlur?: (value: string) => void;
104
+ onKeyDown?: (event: KeyboardEvent) => void;
105
+ width?: number;
106
+ height?: number;
107
+ leftIcon?: string;
108
+ rightIcon?: string;
109
+ background?: string;
110
+ activeBackground?: string;
111
+ borderRadius?: number;
112
+ disabled?: boolean;
113
+ placeholder?: string;
114
+ shadowDisabled?: boolean;
115
+ leftIconClick?: () => void;
116
+ rightIconClick?: () => void;
117
+ accentColor?: string;
118
+ hoverBackground?: string;
119
+ padding?: string;
120
+ gap?: string;
121
+ border?: string;
122
+ boxShadow?: string;
123
+ fontSize?: string;
124
+ iconSize?: string;
125
+ checked?: boolean;
126
+ }
127
+ declare const KTextArea: React.FC<KTextAreaProps>;
128
+
99
129
  interface KSelectOption {
100
130
  label: string;
101
131
  value: number;
@@ -218,4 +248,4 @@ interface KCodeInputProps {
218
248
  }
219
249
  declare const KInput: React.FC<KCodeInputProps>;
220
250
 
221
- export { KButton, KInput as KCodeInput, KDropdown, KInput$1 as KInput, KLogo, KSelectDate, KSlider, KSliderLabel, KSpan, KTitleSpan, KTooltip };
251
+ export { KButton, KInput as KCodeInput, KDropdown, KInput$1 as KInput, KLogo, KSelectDate, KSlider, KSliderLabel, KSpan, KTextArea, KTitleSpan, KTooltip };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "kahuna-base-react-components",
3
- "version": "0.2.21",
3
+ "version": "0.2.22",
4
4
  "description": "Kahuna Base React Components",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.esm.js",
package/src/index.ts CHANGED
@@ -3,6 +3,7 @@ import KSpan from "./components/KSpan"
3
3
  import KTitleSpan from "./components/KTitleSpan"
4
4
  import KLogo from "./components/KLogo"
5
5
  import KInput from "./components/KInput"
6
+ import KTextArea from "./components/KTextArea"
6
7
  import KDropdown from "./components/KDropdown"
7
8
  import KSlider from "./components/KSlider"
8
9
  import KSelectDate from "./components/KSelectDate"
@@ -12,5 +13,5 @@ import KCodeInput from "./components/KCodeInput"
12
13
 
13
14
 
14
15
  export {
15
- KButton, KSpan, KLogo, KTitleSpan, KInput, KDropdown, KSlider, KSelectDate, KTooltip, KSliderLabel, KCodeInput
16
+ KButton, KSpan, KLogo, KTitleSpan, KInput, KTextArea, KDropdown, KSlider, KSelectDate, KTooltip, KSliderLabel, KCodeInput
16
17
  }