@klu_dev/ui-klu-green 1.2.16 → 1.2.18
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/README.md +1 -0
- package/dist/index.css +120 -39
- package/dist/index.d.ts +56 -5
- package/dist/index.js +1460 -980
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
package/dist/index.css
CHANGED
|
@@ -151,8 +151,11 @@
|
|
|
151
151
|
--uiklu-gray-400: 220 2% 72%;
|
|
152
152
|
--uiklu-gray-300: 210 3% 87%;
|
|
153
153
|
--uiklu-gray-200: 220 8% 93%;
|
|
154
|
+
--uiklu-gray-100: 220 14% 96%;
|
|
154
155
|
--uiklu-gray-50: 240 20% 98%;
|
|
155
156
|
|
|
157
|
+
--uiklu-grayicon: 210 1% 69%;
|
|
158
|
+
|
|
156
159
|
|
|
157
160
|
--uiklu-successbg: 184 36% 91%;
|
|
158
161
|
--uiklu-successborder: 180 34% 77%;
|
|
@@ -186,11 +189,14 @@ button,
|
|
|
186
189
|
.uiklu-error-message {
|
|
187
190
|
color: hsl(var(--uiklu-destructive)) !important;
|
|
188
191
|
}
|
|
189
|
-
[class*="bg-"]:not([class*="white"]) .uiklu-error-message
|
|
192
|
+
[class*="bg-"]:not([class*="white"]) .uiklu-error-message,
|
|
193
|
+
[class*="bg-"]:not([class*="white"]) .uiklu-label {
|
|
190
194
|
color: #FFFFFF !important;
|
|
191
195
|
}
|
|
192
196
|
[class*="bg-white/"] .uiklu-error-message,
|
|
193
|
-
[class*="
|
|
197
|
+
[class*="bg-white/"] .uiklu-label,
|
|
198
|
+
[class*="backdrop-blur"] .uiklu-error-message,
|
|
199
|
+
[class*="backdrop-blur"] .uiklu-label {
|
|
194
200
|
color: #FFFFFF !important;
|
|
195
201
|
}
|
|
196
202
|
.uiklu-pointer-events-none{
|
|
@@ -224,6 +230,10 @@ button,
|
|
|
224
230
|
.uiklu-left-0{
|
|
225
231
|
left: 0px;
|
|
226
232
|
|
|
233
|
+
}
|
|
234
|
+
.uiklu-left-2{
|
|
235
|
+
left: 0.5rem;
|
|
236
|
+
|
|
227
237
|
}
|
|
228
238
|
.uiklu-left-3{
|
|
229
239
|
left: 0.75rem;
|
|
@@ -240,6 +250,10 @@ button,
|
|
|
240
250
|
.uiklu-right-0{
|
|
241
251
|
right: 0px;
|
|
242
252
|
|
|
253
|
+
}
|
|
254
|
+
.uiklu-right-3{
|
|
255
|
+
right: 0.75rem;
|
|
256
|
+
|
|
243
257
|
}
|
|
244
258
|
.uiklu-right-6{
|
|
245
259
|
right: 1.5rem;
|
|
@@ -360,10 +374,22 @@ button,
|
|
|
360
374
|
.uiklu-mb-\[20px\]{
|
|
361
375
|
margin-bottom: 20px;
|
|
362
376
|
|
|
377
|
+
}
|
|
378
|
+
.uiklu-mb-\[5px\]{
|
|
379
|
+
margin-bottom: 5px;
|
|
380
|
+
|
|
381
|
+
}
|
|
382
|
+
.uiklu-mb-\[7px\]{
|
|
383
|
+
margin-bottom: 7px;
|
|
384
|
+
|
|
363
385
|
}
|
|
364
386
|
.uiklu-mb-\[8px\]{
|
|
365
387
|
margin-bottom: 8px;
|
|
366
388
|
|
|
389
|
+
}
|
|
390
|
+
.uiklu-ml-0\.5{
|
|
391
|
+
margin-left: 0.125rem;
|
|
392
|
+
|
|
367
393
|
}
|
|
368
394
|
.uiklu-ml-2{
|
|
369
395
|
margin-left: 0.5rem;
|
|
@@ -632,10 +658,6 @@ button,
|
|
|
632
658
|
.uiklu-min-h-screen{
|
|
633
659
|
min-height: 100vh;
|
|
634
660
|
|
|
635
|
-
}
|
|
636
|
-
.uiklu-w-11{
|
|
637
|
-
width: 2.75rem;
|
|
638
|
-
|
|
639
661
|
}
|
|
640
662
|
.uiklu-w-12{
|
|
641
663
|
width: 3rem;
|
|
@@ -672,6 +694,10 @@ button,
|
|
|
672
694
|
.uiklu-w-8{
|
|
673
695
|
width: 2rem;
|
|
674
696
|
|
|
697
|
+
}
|
|
698
|
+
.uiklu-w-9{
|
|
699
|
+
width: 2.25rem;
|
|
700
|
+
|
|
675
701
|
}
|
|
676
702
|
.uiklu-w-\[140px\]{
|
|
677
703
|
width: 140px;
|
|
@@ -934,16 +960,6 @@ button,
|
|
|
934
960
|
--tw-translate-y: -50%;
|
|
935
961
|
transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
|
|
936
962
|
|
|
937
|
-
}
|
|
938
|
-
.uiklu-translate-x-1{
|
|
939
|
-
--tw-translate-x: 0.25rem;
|
|
940
|
-
transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
|
|
941
|
-
|
|
942
|
-
}
|
|
943
|
-
.uiklu-translate-x-6{
|
|
944
|
-
--tw-translate-x: 1.5rem;
|
|
945
|
-
transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
|
|
946
|
-
|
|
947
963
|
}
|
|
948
964
|
.uiklu-translate-x-\[-50\%\]{
|
|
949
965
|
--tw-translate-x: -50%;
|
|
@@ -959,14 +975,14 @@ button,
|
|
|
959
975
|
--tw-translate-y: -50%;
|
|
960
976
|
transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
|
|
961
977
|
|
|
962
|
-
}
|
|
963
|
-
.uiklu-transform{
|
|
964
|
-
transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
|
|
965
|
-
|
|
966
978
|
}
|
|
967
979
|
.uiklu-cursor-default{
|
|
968
980
|
cursor: default;
|
|
969
981
|
|
|
982
|
+
}
|
|
983
|
+
.uiklu-cursor-not-allowed{
|
|
984
|
+
cursor: not-allowed;
|
|
985
|
+
|
|
970
986
|
}
|
|
971
987
|
.uiklu-cursor-pointer{
|
|
972
988
|
cursor: pointer;
|
|
@@ -1342,6 +1358,11 @@ button,
|
|
|
1342
1358
|
--tw-border-opacity: 1;
|
|
1343
1359
|
border-color: rgb(209 213 219 / var(--tw-border-opacity, 1));
|
|
1344
1360
|
|
|
1361
|
+
}
|
|
1362
|
+
.uiklu-border-gray100{
|
|
1363
|
+
--tw-border-opacity: 1;
|
|
1364
|
+
border-color: hsl(var(--uiklu-gray-100) / var(--tw-border-opacity, 1));
|
|
1365
|
+
|
|
1345
1366
|
}
|
|
1346
1367
|
.uiklu-border-gray200{
|
|
1347
1368
|
--tw-border-opacity: 1;
|
|
@@ -1487,11 +1508,6 @@ button,
|
|
|
1487
1508
|
--tw-bg-opacity: 1;
|
|
1488
1509
|
background-color: rgb(249 250 251 / var(--tw-bg-opacity, 1));
|
|
1489
1510
|
|
|
1490
|
-
}
|
|
1491
|
-
.uiklu-bg-gray300{
|
|
1492
|
-
--tw-bg-opacity: 1;
|
|
1493
|
-
background-color: hsl(var(--uiklu-gray-300) / var(--tw-bg-opacity, 1));
|
|
1494
|
-
|
|
1495
1511
|
}
|
|
1496
1512
|
.uiklu-bg-gray50{
|
|
1497
1513
|
--tw-bg-opacity: 1;
|
|
@@ -1658,14 +1674,6 @@ button,
|
|
|
1658
1674
|
.uiklu-bg-origin-border{
|
|
1659
1675
|
background-origin: border-box;
|
|
1660
1676
|
|
|
1661
|
-
}
|
|
1662
|
-
.uiklu-fill-destructive{
|
|
1663
|
-
fill: hsl(var(--uiklu-destructive) / 1);
|
|
1664
|
-
|
|
1665
|
-
}
|
|
1666
|
-
.uiklu-fill-gray400{
|
|
1667
|
-
fill: hsl(var(--uiklu-gray-400) / 1);
|
|
1668
|
-
|
|
1669
1677
|
}
|
|
1670
1678
|
.uiklu-object-cover{
|
|
1671
1679
|
-o-object-fit: cover;
|
|
@@ -1859,6 +1867,10 @@ button,
|
|
|
1859
1867
|
.uiklu-pl-6{
|
|
1860
1868
|
padding-left: 1.5rem;
|
|
1861
1869
|
|
|
1870
|
+
}
|
|
1871
|
+
.uiklu-pr-10{
|
|
1872
|
+
padding-right: 2.5rem;
|
|
1873
|
+
|
|
1862
1874
|
}
|
|
1863
1875
|
.uiklu-pr-14{
|
|
1864
1876
|
padding-right: 3.5rem;
|
|
@@ -1938,6 +1950,10 @@ button,
|
|
|
1938
1950
|
.uiklu-text-\[12px\]{
|
|
1939
1951
|
font-size: 12px;
|
|
1940
1952
|
|
|
1953
|
+
}
|
|
1954
|
+
.uiklu-text-\[13px\]{
|
|
1955
|
+
font-size: 13px;
|
|
1956
|
+
|
|
1941
1957
|
}
|
|
1942
1958
|
.uiklu-text-\[14px\]{
|
|
1943
1959
|
font-size: 14px;
|
|
@@ -2146,6 +2162,11 @@ button,
|
|
|
2146
2162
|
--tw-text-opacity: 1;
|
|
2147
2163
|
color: hsl(var(--uiklu-gray-900) / var(--tw-text-opacity, 1));
|
|
2148
2164
|
|
|
2165
|
+
}
|
|
2166
|
+
.uiklu-text-grayicon{
|
|
2167
|
+
--tw-text-opacity: 1;
|
|
2168
|
+
color: hsl(var(--uiklu-grayicon) / var(--tw-text-opacity, 1));
|
|
2169
|
+
|
|
2149
2170
|
}
|
|
2150
2171
|
.uiklu-text-green-500{
|
|
2151
2172
|
--tw-text-opacity: 1;
|
|
@@ -2416,6 +2437,16 @@ input.uiklu-flex:not(:placeholder-shown) {
|
|
|
2416
2437
|
color: hsl(var(--uiklu-gray-800)) !important;
|
|
2417
2438
|
}
|
|
2418
2439
|
|
|
2440
|
+
.placeholder\:uiklu-font-semibold::-moz-placeholder{
|
|
2441
|
+
font-weight: 600;
|
|
2442
|
+
|
|
2443
|
+
}
|
|
2444
|
+
|
|
2445
|
+
.placeholder\:uiklu-font-semibold::placeholder{
|
|
2446
|
+
font-weight: 600;
|
|
2447
|
+
|
|
2448
|
+
}
|
|
2449
|
+
|
|
2419
2450
|
.placeholder\:\!uiklu-text-destructive::-moz-placeholder{
|
|
2420
2451
|
--tw-text-opacity: 1 !important;
|
|
2421
2452
|
color: hsl(var(--uiklu-destructive) / var(--tw-text-opacity, 1)) !important;
|
|
@@ -2428,6 +2459,16 @@ input.uiklu-flex:not(:placeholder-shown) {
|
|
|
2428
2459
|
|
|
2429
2460
|
}
|
|
2430
2461
|
|
|
2462
|
+
.placeholder\:\!uiklu-text-destructive\/60::-moz-placeholder{
|
|
2463
|
+
color: hsl(var(--uiklu-destructive) / 0.6) !important;
|
|
2464
|
+
|
|
2465
|
+
}
|
|
2466
|
+
|
|
2467
|
+
.placeholder\:\!uiklu-text-destructive\/60::placeholder{
|
|
2468
|
+
color: hsl(var(--uiklu-destructive) / 0.6) !important;
|
|
2469
|
+
|
|
2470
|
+
}
|
|
2471
|
+
|
|
2431
2472
|
.placeholder\:uiklu-text-destructive::-moz-placeholder{
|
|
2432
2473
|
--tw-text-opacity: 1;
|
|
2433
2474
|
color: hsl(var(--uiklu-destructive) / var(--tw-text-opacity, 1));
|
|
@@ -2452,6 +2493,28 @@ input.uiklu-flex:not(:placeholder-shown) {
|
|
|
2452
2493
|
|
|
2453
2494
|
}
|
|
2454
2495
|
|
|
2496
|
+
.placeholder\:uiklu-text-gray800::-moz-placeholder{
|
|
2497
|
+
--tw-text-opacity: 1;
|
|
2498
|
+
color: hsl(var(--uiklu-gray-800) / var(--tw-text-opacity, 1));
|
|
2499
|
+
|
|
2500
|
+
}
|
|
2501
|
+
|
|
2502
|
+
.placeholder\:uiklu-text-gray800::placeholder{
|
|
2503
|
+
--tw-text-opacity: 1;
|
|
2504
|
+
color: hsl(var(--uiklu-gray-800) / var(--tw-text-opacity, 1));
|
|
2505
|
+
|
|
2506
|
+
}
|
|
2507
|
+
|
|
2508
|
+
.placeholder\:uiklu-text-white\/40::-moz-placeholder{
|
|
2509
|
+
color: rgb(255 255 255 / 0.4);
|
|
2510
|
+
|
|
2511
|
+
}
|
|
2512
|
+
|
|
2513
|
+
.placeholder\:uiklu-text-white\/40::placeholder{
|
|
2514
|
+
color: rgb(255 255 255 / 0.4);
|
|
2515
|
+
|
|
2516
|
+
}
|
|
2517
|
+
|
|
2455
2518
|
.placeholder\:uiklu-opacity-100::-moz-placeholder{
|
|
2456
2519
|
opacity: 1;
|
|
2457
2520
|
|
|
@@ -2497,6 +2560,12 @@ input.uiklu-flex:not(:placeholder-shown) {
|
|
|
2497
2560
|
|
|
2498
2561
|
}
|
|
2499
2562
|
|
|
2563
|
+
.focus-within\:uiklu-bg-white:focus-within{
|
|
2564
|
+
--tw-bg-opacity: 1;
|
|
2565
|
+
background-color: rgb(255 255 255 / var(--tw-bg-opacity, 1));
|
|
2566
|
+
|
|
2567
|
+
}
|
|
2568
|
+
|
|
2500
2569
|
.focus-within\:uiklu-shadow-\[0_0_0_3px_\#AFD8D8\]:focus-within{
|
|
2501
2570
|
--tw-shadow: 0 0 0 3px #AFD8D8;
|
|
2502
2571
|
--tw-shadow-colored: 0 0 0 3px var(--tw-shadow-color);
|
|
@@ -2634,6 +2703,12 @@ input.uiklu-flex:not(:placeholder-shown) {
|
|
|
2634
2703
|
|
|
2635
2704
|
}
|
|
2636
2705
|
|
|
2706
|
+
.focus\:uiklu-bg-white:focus{
|
|
2707
|
+
--tw-bg-opacity: 1;
|
|
2708
|
+
background-color: rgb(255 255 255 / var(--tw-bg-opacity, 1));
|
|
2709
|
+
|
|
2710
|
+
}
|
|
2711
|
+
|
|
2637
2712
|
.focus\:uiklu-text-primary:focus{
|
|
2638
2713
|
--tw-text-opacity: 1;
|
|
2639
2714
|
color: hsl(var(--uiklu-primary) / var(--tw-text-opacity, 1));
|
|
@@ -2734,21 +2809,21 @@ input.uiklu-flex:not(:placeholder-shown) {
|
|
|
2734
2809
|
|
|
2735
2810
|
}
|
|
2736
2811
|
|
|
2737
|
-
.data-\[state\=checked\]\:uiklu-translate-x-
|
|
2738
|
-
--tw-translate-x:
|
|
2812
|
+
.data-\[state\=checked\]\:uiklu-translate-x-3[data-state="checked"]{
|
|
2813
|
+
--tw-translate-x: 0.75rem;
|
|
2739
2814
|
transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
|
|
2740
2815
|
|
|
2741
2816
|
}
|
|
2742
2817
|
|
|
2743
|
-
.data-\[state\=unchecked\]\:uiklu-translate-x-
|
|
2744
|
-
--tw-translate-x:
|
|
2818
|
+
.data-\[state\=unchecked\]\:uiklu-translate-x-\[-4px\][data-state="unchecked"]{
|
|
2819
|
+
--tw-translate-x: -4px;
|
|
2745
2820
|
transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
|
|
2746
2821
|
|
|
2747
2822
|
}
|
|
2748
2823
|
|
|
2749
|
-
.data-\[state\=checked\]\:uiklu-bg-
|
|
2824
|
+
.data-\[state\=checked\]\:uiklu-bg-primary900[data-state="checked"]{
|
|
2750
2825
|
--tw-bg-opacity: 1;
|
|
2751
|
-
background-color: hsl(var(--uiklu-primary) / var(--tw-bg-opacity, 1));
|
|
2826
|
+
background-color: hsl(var(--uiklu-primary-900) / var(--tw-bg-opacity, 1));
|
|
2752
2827
|
|
|
2753
2828
|
}
|
|
2754
2829
|
|
|
@@ -2764,6 +2839,12 @@ input.uiklu-flex:not(:placeholder-shown) {
|
|
|
2764
2839
|
|
|
2765
2840
|
}
|
|
2766
2841
|
|
|
2842
|
+
.data-\[placeholder\]\:uiklu-text-gray800[data-placeholder]{
|
|
2843
|
+
--tw-text-opacity: 1;
|
|
2844
|
+
color: hsl(var(--uiklu-gray-800) / var(--tw-text-opacity, 1));
|
|
2845
|
+
|
|
2846
|
+
}
|
|
2847
|
+
|
|
2767
2848
|
@media (min-width: 640px){
|
|
2768
2849
|
.sm\:uiklu-flex-row{
|
|
2769
2850
|
flex-direction: row;
|
package/dist/index.d.ts
CHANGED
|
@@ -36,8 +36,8 @@ declare const Select: React.FC<SelectPrimitive.SelectProps>;
|
|
|
36
36
|
|
|
37
37
|
declare const typographyVariants: (props?: ({
|
|
38
38
|
size?: "sm" | "md" | "xl" | "xxxl" | "xxl" | null | undefined;
|
|
39
|
-
color?: "
|
|
40
|
-
align?: "
|
|
39
|
+
color?: "white" | "primary" | "secondary" | "black" | "orange" | null | undefined;
|
|
40
|
+
align?: "center" | "left" | "right" | "justify" | null | undefined;
|
|
41
41
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
42
42
|
interface TypographyProps extends Omit<React.HTMLAttributes<HTMLParagraphElement>, "color">, VariantProps<typeof typographyVariants> {
|
|
43
43
|
showDot?: boolean;
|
|
@@ -147,12 +147,14 @@ 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;
|
|
153
154
|
INFO: react_jsx_runtime.JSX.Element;
|
|
154
155
|
EYE_MASKED: react_jsx_runtime.JSX.Element;
|
|
155
156
|
EYE_OPEN: react_jsx_runtime.JSX.Element;
|
|
157
|
+
SEARCH_ICON: react_jsx_runtime.JSX.Element;
|
|
156
158
|
COPY: react_jsx_runtime.JSX.Element;
|
|
157
159
|
ARROW_UP: react_jsx_runtime.JSX.Element;
|
|
158
160
|
ARROW_DOWN: react_jsx_runtime.JSX.Element;
|
|
@@ -204,13 +206,13 @@ declare const searchSelectTriggerVariants: (props?: ({
|
|
|
204
206
|
size?: "sm" | "md" | "lg" | "full" | null | undefined;
|
|
205
207
|
error?: boolean | null | undefined;
|
|
206
208
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
207
|
-
interface Option {
|
|
209
|
+
interface Option$1 {
|
|
208
210
|
value: string;
|
|
209
211
|
label: string;
|
|
210
212
|
extra?: React.ReactNode;
|
|
211
213
|
}
|
|
212
214
|
interface SearchSelectProps extends VariantProps<typeof searchSelectTriggerVariants> {
|
|
213
|
-
options: Option[];
|
|
215
|
+
options: Option$1[];
|
|
214
216
|
value: string;
|
|
215
217
|
onChange: (value: string) => void;
|
|
216
218
|
placeholder?: string;
|
|
@@ -290,4 +292,53 @@ interface DetailCardProps {
|
|
|
290
292
|
}
|
|
291
293
|
declare const DetailCard: React__default.FC<DetailCardProps>;
|
|
292
294
|
|
|
293
|
-
|
|
295
|
+
type TextFieldSize = "sm" | "md" | "lg" | "full";
|
|
296
|
+
interface TextFieldProps extends Omit<React.InputHTMLAttributes<HTMLInputElement>, "size"> {
|
|
297
|
+
label: string;
|
|
298
|
+
size?: TextFieldSize;
|
|
299
|
+
error?: string;
|
|
300
|
+
isSearchable?: boolean;
|
|
301
|
+
onSearchClick?: () => void;
|
|
302
|
+
labelClassName?: string;
|
|
303
|
+
}
|
|
304
|
+
declare const TextField: React.ForwardRefExoticComponent<TextFieldProps & React.RefAttributes<HTMLInputElement>>;
|
|
305
|
+
|
|
306
|
+
type SelectFieldSize = "sm" | "md" | "lg" | "full";
|
|
307
|
+
interface SelectFieldProps extends React.ComponentPropsWithoutRef<typeof SelectPrimitive.Root> {
|
|
308
|
+
label: string;
|
|
309
|
+
placeholder?: string;
|
|
310
|
+
size?: SelectFieldSize;
|
|
311
|
+
error?: string;
|
|
312
|
+
required?: boolean;
|
|
313
|
+
disabled?: boolean;
|
|
314
|
+
className?: string;
|
|
315
|
+
labelClassName?: string;
|
|
316
|
+
}
|
|
317
|
+
declare const SelectValue: React.ForwardRefExoticComponent<SelectPrimitive.SelectValueProps & React.RefAttributes<HTMLSpanElement>>;
|
|
318
|
+
declare const SelectGroup: React.ForwardRefExoticComponent<SelectPrimitive.SelectGroupProps & React.RefAttributes<HTMLDivElement>>;
|
|
319
|
+
declare const SelectField: React.ForwardRefExoticComponent<SelectFieldProps & React.RefAttributes<HTMLButtonElement>>;
|
|
320
|
+
declare const SelectContent: React.ForwardRefExoticComponent<Omit<SelectPrimitive.SelectContentProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
321
|
+
declare const SelectItem: React.ForwardRefExoticComponent<Omit<SelectPrimitive.SelectItemProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
322
|
+
|
|
323
|
+
type SearchSelectFieldSize = "sm" | "md" | "lg" | "full";
|
|
324
|
+
interface Option {
|
|
325
|
+
value: string;
|
|
326
|
+
label: string;
|
|
327
|
+
extra?: React.ReactNode;
|
|
328
|
+
}
|
|
329
|
+
interface SearchSelectFieldProps {
|
|
330
|
+
options: Option[];
|
|
331
|
+
value: string;
|
|
332
|
+
onChange: (value: string) => void;
|
|
333
|
+
label: string;
|
|
334
|
+
placeholder?: string;
|
|
335
|
+
size?: SearchSelectFieldSize;
|
|
336
|
+
error?: string;
|
|
337
|
+
required?: boolean;
|
|
338
|
+
disabled?: boolean;
|
|
339
|
+
className?: string;
|
|
340
|
+
labelClassName?: string;
|
|
341
|
+
}
|
|
342
|
+
declare const SearchSelectField: ({ options, value, onChange, label, placeholder, size, error, required, disabled, className, labelClassName, }: SearchSelectFieldProps) => react_jsx_runtime.JSX.Element;
|
|
343
|
+
|
|
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 };
|