@klu_dev/ui-klu-green 1.2.17 → 1.2.19

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.css CHANGED
@@ -230,6 +230,10 @@ button,
230
230
  .uiklu-left-0{
231
231
  left: 0px;
232
232
 
233
+ }
234
+ .uiklu-left-2{
235
+ left: 0.5rem;
236
+
233
237
  }
234
238
  .uiklu-left-3{
235
239
  left: 0.75rem;
@@ -823,6 +827,10 @@ button,
823
827
  .uiklu-w-full{
824
828
  width: 100%;
825
829
 
830
+ }
831
+ .uiklu-w-px{
832
+ width: 1px;
833
+
826
834
  }
827
835
  .uiklu-min-w-0{
828
836
  min-width: 0px;
@@ -975,6 +983,10 @@ button,
975
983
  .uiklu-cursor-default{
976
984
  cursor: default;
977
985
 
986
+ }
987
+ .uiklu-cursor-not-allowed{
988
+ cursor: not-allowed;
989
+
978
990
  }
979
991
  .uiklu-cursor-pointer{
980
992
  cursor: pointer;
@@ -1059,6 +1071,10 @@ button,
1059
1071
  .uiklu-gap-1{
1060
1072
  gap: 0.25rem;
1061
1073
 
1074
+ }
1075
+ .uiklu-gap-1\.5{
1076
+ gap: 0.375rem;
1077
+
1062
1078
  }
1063
1079
  .uiklu-gap-10{
1064
1080
  gap: 2.5rem;
@@ -1299,6 +1315,10 @@ button,
1299
1315
  .uiklu-border-b-\[1px\]{
1300
1316
  border-bottom-width: 1px;
1301
1317
 
1318
+ }
1319
+ .uiklu-border-r{
1320
+ border-right-width: 1px;
1321
+
1302
1322
  }
1303
1323
  .uiklu-border-t{
1304
1324
  border-top-width: 1px;
@@ -1335,6 +1355,10 @@ button,
1335
1355
  --tw-border-opacity: 1;
1336
1356
  border-color: hsl(var(--uiklu-destructive) / var(--tw-border-opacity, 1));
1337
1357
 
1358
+ }
1359
+ .uiklu-border-destructive\/40{
1360
+ border-color: hsl(var(--uiklu-destructive) / 0.4);
1361
+
1338
1362
  }
1339
1363
  .uiklu-border-gray-100{
1340
1364
  --tw-border-opacity: 1;
@@ -1805,6 +1829,11 @@ button,
1805
1829
  padding-left: 48px;
1806
1830
  padding-right: 48px;
1807
1831
 
1832
+ }
1833
+ .uiklu-px-\[8px\]{
1834
+ padding-left: 8px;
1835
+ padding-right: 8px;
1836
+
1808
1837
  }
1809
1838
  .uiklu-py-1{
1810
1839
  padding-top: 0.25rem;
@@ -1859,6 +1888,14 @@ button,
1859
1888
  .uiklu-pl-6{
1860
1889
  padding-left: 1.5rem;
1861
1890
 
1891
+ }
1892
+ .uiklu-pl-8{
1893
+ padding-left: 2rem;
1894
+
1895
+ }
1896
+ .uiklu-pl-\[6px\]{
1897
+ padding-left: 6px;
1898
+
1862
1899
  }
1863
1900
  .uiklu-pr-10{
1864
1901
  padding-right: 2.5rem;
@@ -1879,6 +1916,10 @@ button,
1879
1916
  .uiklu-pr-6{
1880
1917
  padding-right: 1.5rem;
1881
1918
 
1919
+ }
1920
+ .uiklu-pr-\[10px\]{
1921
+ padding-right: 10px;
1922
+
1882
1923
  }
1883
1924
  .uiklu-pt-4{
1884
1925
  padding-top: 1rem;
@@ -2485,6 +2526,18 @@ input.uiklu-flex:not(:placeholder-shown) {
2485
2526
 
2486
2527
  }
2487
2528
 
2529
+ .placeholder\:uiklu-text-gray800::-moz-placeholder{
2530
+ --tw-text-opacity: 1;
2531
+ color: hsl(var(--uiklu-gray-800) / var(--tw-text-opacity, 1));
2532
+
2533
+ }
2534
+
2535
+ .placeholder\:uiklu-text-gray800::placeholder{
2536
+ --tw-text-opacity: 1;
2537
+ color: hsl(var(--uiklu-gray-800) / var(--tw-text-opacity, 1));
2538
+
2539
+ }
2540
+
2488
2541
  .placeholder\:uiklu-text-white\/40::-moz-placeholder{
2489
2542
  color: rgb(255 255 255 / 0.4);
2490
2543
 
@@ -2540,6 +2593,12 @@ input.uiklu-flex:not(:placeholder-shown) {
2540
2593
 
2541
2594
  }
2542
2595
 
2596
+ .focus-within\:uiklu-bg-white:focus-within{
2597
+ --tw-bg-opacity: 1;
2598
+ background-color: rgb(255 255 255 / var(--tw-bg-opacity, 1));
2599
+
2600
+ }
2601
+
2543
2602
  .focus-within\:uiklu-shadow-\[0_0_0_3px_\#AFD8D8\]:focus-within{
2544
2603
  --tw-shadow: 0 0 0 3px #AFD8D8;
2545
2604
  --tw-shadow-colored: 0 0 0 3px var(--tw-shadow-color);
@@ -2813,6 +2872,12 @@ input.uiklu-flex:not(:placeholder-shown) {
2813
2872
 
2814
2873
  }
2815
2874
 
2875
+ .data-\[placeholder\]\:uiklu-text-gray800[data-placeholder]{
2876
+ --tw-text-opacity: 1;
2877
+ color: hsl(var(--uiklu-gray-800) / var(--tw-text-opacity, 1));
2878
+
2879
+ }
2880
+
2816
2881
  @media (min-width: 640px){
2817
2882
  .sm\:uiklu-flex-row{
2818
2883
  flex-direction: row;
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;
@@ -147,6 +147,7 @@ declare const Icons: {
147
147
  TICKET: react_jsx_runtime.JSX.Element;
148
148
  CASH: react_jsx_runtime.JSX.Element;
149
149
  CHEVRON_RIGHT: react_jsx_runtime.JSX.Element;
150
+ CHEVRON_DOWN: react_jsx_runtime.JSX.Element;
150
151
  SHIELD_CHECK: react_jsx_runtime.JSX.Element;
151
152
  CLOSE: react_jsx_runtime.JSX.Element;
152
153
  MONEY: react_jsx_runtime.JSX.Element;
@@ -205,13 +206,13 @@ declare const searchSelectTriggerVariants: (props?: ({
205
206
  size?: "sm" | "md" | "lg" | "full" | null | undefined;
206
207
  error?: boolean | null | undefined;
207
208
  } & class_variance_authority_types.ClassProp) | undefined) => string;
208
- interface Option {
209
+ interface Option$1 {
209
210
  value: string;
210
211
  label: string;
211
212
  extra?: React.ReactNode;
212
213
  }
213
214
  interface SearchSelectProps extends VariantProps<typeof searchSelectTriggerVariants> {
214
- options: Option[];
215
+ options: Option$1[];
215
216
  value: string;
216
217
  onChange: (value: string) => void;
217
218
  placeholder?: string;
@@ -245,21 +246,6 @@ interface CheckboxProps {
245
246
  }
246
247
  declare const Checkbox: React__default.FC<CheckboxProps>;
247
248
 
248
- interface LadaOption {
249
- code: string;
250
- label: string;
251
- }
252
- type InputSize = "sm" | "md" | "lg" | "full";
253
- interface InputPhoneProps extends Omit<React.InputHTMLAttributes<HTMLInputElement>, "size" | "value" | "onChange"> {
254
- size?: InputSize;
255
- error?: string;
256
- value?: string;
257
- onChange?: (value: string) => void;
258
- ladas?: LadaOption[];
259
- defaultLadaIndex?: number;
260
- }
261
- declare const InputPhone: React.ForwardRefExoticComponent<InputPhoneProps & React.RefAttributes<HTMLInputElement>>;
262
-
263
249
  type IconBadgeSize = 'sm' | 'md' | 'lg';
264
250
  interface IconBadgeProps {
265
251
  icon: React.ReactElement<{
@@ -302,4 +288,59 @@ interface TextFieldProps extends Omit<React.InputHTMLAttributes<HTMLInputElement
302
288
  }
303
289
  declare const TextField: React.ForwardRefExoticComponent<TextFieldProps & React.RefAttributes<HTMLInputElement>>;
304
290
 
305
- 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, Select, SidebarTabs, TextField, type TextFieldProps, ToastAction, Toaster, Typography, useToast };
291
+ type SelectFieldSize = "sm" | "md" | "lg" | "full";
292
+ interface SelectFieldProps extends React.ComponentPropsWithoutRef<typeof SelectPrimitive.Root> {
293
+ label: string;
294
+ placeholder?: string;
295
+ size?: SelectFieldSize;
296
+ error?: string;
297
+ required?: boolean;
298
+ disabled?: boolean;
299
+ className?: string;
300
+ labelClassName?: string;
301
+ }
302
+ declare const SelectValue: React.ForwardRefExoticComponent<SelectPrimitive.SelectValueProps & React.RefAttributes<HTMLSpanElement>>;
303
+ declare const SelectGroup: React.ForwardRefExoticComponent<SelectPrimitive.SelectGroupProps & React.RefAttributes<HTMLDivElement>>;
304
+ declare const SelectField: React.ForwardRefExoticComponent<SelectFieldProps & React.RefAttributes<HTMLButtonElement>>;
305
+ declare const SelectContent: React.ForwardRefExoticComponent<Omit<SelectPrimitive.SelectContentProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
306
+ declare const SelectItem: React.ForwardRefExoticComponent<Omit<SelectPrimitive.SelectItemProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
307
+
308
+ type SearchSelectFieldSize = "sm" | "md" | "lg" | "full";
309
+ interface Option {
310
+ value: string;
311
+ label: string;
312
+ extra?: React.ReactNode;
313
+ }
314
+ interface SearchSelectFieldProps {
315
+ options: Option[];
316
+ value: string;
317
+ onChange: (value: string) => void;
318
+ label: string;
319
+ placeholder?: string;
320
+ size?: SearchSelectFieldSize;
321
+ error?: string;
322
+ required?: boolean;
323
+ disabled?: boolean;
324
+ className?: string;
325
+ labelClassName?: string;
326
+ }
327
+ declare const SearchSelectField: ({ options, value, onChange, label, placeholder, size, error, required, disabled, className, labelClassName, }: SearchSelectFieldProps) => react_jsx_runtime.JSX.Element;
328
+
329
+ type PhoneFieldSize = "sm" | "md" | "lg" | "full";
330
+ interface LadaOption {
331
+ code: string;
332
+ label: string;
333
+ }
334
+ interface PhoneFieldProps extends Omit<React.InputHTMLAttributes<HTMLInputElement>, "size" | "value" | "onChange"> {
335
+ label: string;
336
+ size?: PhoneFieldSize;
337
+ error?: string;
338
+ value?: string;
339
+ onChange?: (value: string) => void;
340
+ ladas?: LadaOption[];
341
+ defaultLadaIndex?: number;
342
+ labelClassName?: string;
343
+ }
344
+ declare const PhoneField: React.ForwardRefExoticComponent<PhoneFieldProps & React.RefAttributes<HTMLInputElement>>;
345
+
346
+ 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 };