@klu_dev/ui-klu-green 1.2.18 → 1.2.20

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/index.d.ts CHANGED
@@ -6,9 +6,9 @@ import * as SelectPrimitive from '@radix-ui/react-select';
6
6
  import * as react_jsx_runtime from 'react/jsx-runtime';
7
7
  import * as ToastPrimitives from '@radix-ui/react-toast';
8
8
 
9
- type InputSize$1 = "sm" | "md" | "lg" | "full";
9
+ type InputSize = "sm" | "md" | "lg" | "full";
10
10
  interface InputProps extends Omit<React.InputHTMLAttributes<HTMLInputElement>, "size"> {
11
- size?: InputSize$1;
11
+ size?: InputSize;
12
12
  error?: string;
13
13
  isSearchable?: boolean;
14
14
  onSearchClick?: () => void;
@@ -144,6 +144,7 @@ declare function MobileMenuDrawer({ isOpen, onClose, items, activeTab, onTabChan
144
144
 
145
145
  declare const Icons: {
146
146
  CARD: react_jsx_runtime.JSX.Element;
147
+ CARDCIRCLE: react_jsx_runtime.JSX.Element;
147
148
  TICKET: react_jsx_runtime.JSX.Element;
148
149
  CASH: react_jsx_runtime.JSX.Element;
149
150
  CHEVRON_RIGHT: react_jsx_runtime.JSX.Element;
@@ -159,6 +160,7 @@ declare const Icons: {
159
160
  ARROW_UP: react_jsx_runtime.JSX.Element;
160
161
  ARROW_DOWN: react_jsx_runtime.JSX.Element;
161
162
  KLU: react_jsx_runtime.JSX.Element;
163
+ KLUWHITE: react_jsx_runtime.JSX.Element;
162
164
  DESIGNEDFREEDOM: react_jsx_runtime.JSX.Element;
163
165
  GRAPHIC_TOP: react_jsx_runtime.JSX.Element;
164
166
  HOME: react_jsx_runtime.JSX.Element;
@@ -200,6 +202,9 @@ declare const Icons: {
200
202
  WARNING: react_jsx_runtime.JSX.Element;
201
203
  CHECK: react_jsx_runtime.JSX.Element;
202
204
  DOWNLOAD: react_jsx_runtime.JSX.Element;
205
+ MASTERCARD: react_jsx_runtime.JSX.Element;
206
+ LOCKOPEN: react_jsx_runtime.JSX.Element;
207
+ LOCK: react_jsx_runtime.JSX.Element;
203
208
  };
204
209
 
205
210
  declare const searchSelectTriggerVariants: (props?: ({
@@ -246,21 +251,6 @@ interface CheckboxProps {
246
251
  }
247
252
  declare const Checkbox: React__default.FC<CheckboxProps>;
248
253
 
249
- interface LadaOption {
250
- code: string;
251
- label: string;
252
- }
253
- type InputSize = "sm" | "md" | "lg" | "full";
254
- interface InputPhoneProps extends Omit<React.InputHTMLAttributes<HTMLInputElement>, "size" | "value" | "onChange"> {
255
- size?: InputSize;
256
- error?: string;
257
- value?: string;
258
- onChange?: (value: string) => void;
259
- ladas?: LadaOption[];
260
- defaultLadaIndex?: number;
261
- }
262
- declare const InputPhone: React.ForwardRefExoticComponent<InputPhoneProps & React.RefAttributes<HTMLInputElement>>;
263
-
264
254
  type IconBadgeSize = 'sm' | 'md' | 'lg';
265
255
  interface IconBadgeProps {
266
256
  icon: React.ReactElement<{
@@ -341,4 +331,21 @@ interface SearchSelectFieldProps {
341
331
  }
342
332
  declare const SearchSelectField: ({ options, value, onChange, label, placeholder, size, error, required, disabled, className, labelClassName, }: SearchSelectFieldProps) => react_jsx_runtime.JSX.Element;
343
333
 
344
- export { BackButton, BalanceInfo, Button, Checkbox, type CheckboxProps, DetailCard, type DetailCardItem, type DetailCardProps, GridCard, IconBadge, type IconBadgeProps, Icons, Input, InputCode, InputPhone, type InputPhoneProps, type LadaOption, LoadingScreen, MobileMenuDrawer, Modal, PromoBanner, SearchSelect, SearchSelectField, type SearchSelectFieldProps, Select, SelectContent, SelectField, type SelectFieldProps, SelectGroup, SelectItem, SelectValue, SidebarTabs, TextField, type TextFieldProps, ToastAction, Toaster, Typography, useToast };
334
+ type PhoneFieldSize = "sm" | "md" | "lg" | "full";
335
+ interface LadaOption {
336
+ code: string;
337
+ label: string;
338
+ }
339
+ interface PhoneFieldProps extends Omit<React.InputHTMLAttributes<HTMLInputElement>, "size" | "value" | "onChange"> {
340
+ label: string;
341
+ size?: PhoneFieldSize;
342
+ error?: string;
343
+ value?: string;
344
+ onChange?: (value: string) => void;
345
+ ladas?: LadaOption[];
346
+ defaultLadaIndex?: number;
347
+ labelClassName?: string;
348
+ }
349
+ declare const PhoneField: React.ForwardRefExoticComponent<PhoneFieldProps & React.RefAttributes<HTMLInputElement>>;
350
+
351
+ export { BackButton, BalanceInfo, Button, Checkbox, type CheckboxProps, DetailCard, type DetailCardItem, type DetailCardProps, GridCard, IconBadge, type IconBadgeProps, Icons, Input, InputCode, type LadaOption, LoadingScreen, MobileMenuDrawer, Modal, PhoneField, type PhoneFieldProps, PromoBanner, SearchSelect, SearchSelectField, type SearchSelectFieldProps, Select, SelectContent, SelectField, type SelectFieldProps, SelectGroup, SelectItem, SelectValue, SidebarTabs, TextField, type TextFieldProps, ToastAction, Toaster, Typography, useToast };