@salutejs/plasma-new-hope 0.262.0-canary.1761.13279424878.0 → 0.262.0-canary.1762.13196724210.0
Sign up to get free protection for your applications and to get access to all the features.
- package/cjs/components/Accordion/ui/AccordionItem/AccordionItem.js +0 -5
- package/cjs/components/Accordion/ui/AccordionItem/AccordionItem.js.map +1 -1
- package/cjs/components/Accordion/ui/AccordionItem/AccordionItem.styles.js +1 -1
- package/cjs/components/Accordion/ui/AccordionItem/AccordionItem.styles.js.map +1 -1
- package/cjs/components/Combobox/ComboboxNew/Combobox.js +3 -9
- package/cjs/components/Combobox/ComboboxNew/Combobox.js.map +1 -1
- package/emotion/cjs/components/Accordion/ui/AccordionItem/AccordionItem.js +0 -5
- package/emotion/cjs/components/Accordion/ui/AccordionItem/AccordionItem.styles.js +12 -12
- package/emotion/cjs/components/Checkbox/Checkbox.template-doc.mdx +6 -0
- package/emotion/cjs/components/Combobox/ComboboxNew/Combobox.js +3 -8
- package/emotion/cjs/components/Combobox/ComboboxNew/ui/index.js +0 -11
- package/emotion/cjs/examples/plasma_b2c/components/Checkbox/Checkbox.config.js +19 -12
- package/emotion/cjs/examples/plasma_b2c/components/Checkbox/Checkbox.stories.tsx +15 -5
- package/emotion/cjs/examples/plasma_web/components/Checkbox/Checkbox.config.js +19 -12
- package/emotion/cjs/examples/plasma_web/components/Checkbox/Checkbox.stories.tsx +15 -5
- package/emotion/es/components/Accordion/ui/AccordionItem/AccordionItem.js +0 -5
- package/emotion/es/components/Accordion/ui/AccordionItem/AccordionItem.styles.js +12 -12
- package/emotion/es/components/Checkbox/Checkbox.template-doc.mdx +6 -0
- package/emotion/es/components/Combobox/ComboboxNew/Combobox.js +4 -9
- package/emotion/es/components/Combobox/ComboboxNew/ui/index.js +1 -2
- package/emotion/es/examples/plasma_b2c/components/Checkbox/Checkbox.config.js +19 -12
- package/emotion/es/examples/plasma_b2c/components/Checkbox/Checkbox.stories.tsx +15 -5
- package/emotion/es/examples/plasma_web/components/Checkbox/Checkbox.config.js +19 -12
- package/emotion/es/examples/plasma_web/components/Checkbox/Checkbox.stories.tsx +15 -5
- package/es/components/Accordion/ui/AccordionItem/AccordionItem.js +0 -5
- package/es/components/Accordion/ui/AccordionItem/AccordionItem.js.map +1 -1
- package/es/components/Accordion/ui/AccordionItem/AccordionItem.styles.js +1 -1
- package/es/components/Accordion/ui/AccordionItem/AccordionItem.styles.js.map +1 -1
- package/es/components/Combobox/ComboboxNew/Combobox.js +3 -9
- package/es/components/Combobox/ComboboxNew/Combobox.js.map +1 -1
- package/package.json +2 -3
- package/styled-components/cjs/components/Accordion/ui/AccordionItem/AccordionItem.js +0 -5
- package/styled-components/cjs/components/Accordion/ui/AccordionItem/AccordionItem.styles.js +1 -1
- package/styled-components/cjs/components/Checkbox/Checkbox.template-doc.mdx +6 -0
- package/styled-components/cjs/components/Combobox/ComboboxNew/Combobox.js +3 -8
- package/styled-components/cjs/components/Combobox/ComboboxNew/ui/index.js +0 -11
- package/styled-components/cjs/examples/plasma_b2c/components/Checkbox/Checkbox.config.js +8 -1
- package/styled-components/cjs/examples/plasma_b2c/components/Checkbox/Checkbox.stories.tsx +15 -5
- package/styled-components/cjs/examples/plasma_web/components/Checkbox/Checkbox.config.js +8 -1
- package/styled-components/cjs/examples/plasma_web/components/Checkbox/Checkbox.stories.tsx +15 -5
- package/styled-components/es/components/Accordion/ui/AccordionItem/AccordionItem.js +0 -5
- package/styled-components/es/components/Accordion/ui/AccordionItem/AccordionItem.styles.js +1 -1
- package/styled-components/es/components/Checkbox/Checkbox.template-doc.mdx +6 -0
- package/styled-components/es/components/Combobox/ComboboxNew/Combobox.js +4 -9
- package/styled-components/es/components/Combobox/ComboboxNew/ui/index.js +1 -2
- package/styled-components/es/examples/plasma_b2c/components/Checkbox/Checkbox.config.js +8 -1
- package/styled-components/es/examples/plasma_b2c/components/Checkbox/Checkbox.stories.tsx +15 -5
- package/styled-components/es/examples/plasma_web/components/Checkbox/Checkbox.config.js +8 -1
- package/styled-components/es/examples/plasma_web/components/Checkbox/Checkbox.stories.tsx +15 -5
- package/types/components/Accordion/ui/AccordionItem/AccordionItem.d.ts.map +1 -1
- package/types/components/Accordion/ui/AccordionItem/AccordionItem.styles.d.ts +1 -1
- package/types/components/Accordion/ui/AccordionItem/AccordionItem.styles.d.ts.map +1 -1
- package/types/components/Combobox/ComboboxNew/Combobox.d.ts.map +1 -1
- package/types/components/Combobox/ComboboxNew/Combobox.types.d.ts +0 -6
- package/types/components/Combobox/ComboboxNew/Combobox.types.d.ts.map +1 -1
- package/types/components/Combobox/ComboboxNew/ui/index.d.ts +0 -1
- package/types/components/Combobox/ComboboxNew/ui/index.d.ts.map +1 -1
- package/types/examples/plasma_b2c/components/Checkbox/Checkbox.config.d.ts +1 -1
- package/types/examples/plasma_b2c/components/Checkbox/Checkbox.config.d.ts.map +1 -1
- package/types/examples/plasma_b2c/components/Checkbox/Checkbox.d.ts +1 -1
- package/types/examples/plasma_b2c/components/Combobox/Combobox.d.ts +0 -48
- package/types/examples/plasma_b2c/components/Combobox/Combobox.d.ts.map +1 -1
- package/types/examples/plasma_web/components/Checkbox/Checkbox.config.d.ts +1 -1
- package/types/examples/plasma_web/components/Checkbox/Checkbox.config.d.ts.map +1 -1
- package/types/examples/plasma_web/components/Checkbox/Checkbox.d.ts +1 -1
- package/types/examples/plasma_web/components/Combobox/Combobox.d.ts +0 -48
- package/types/examples/plasma_web/components/Combobox/Combobox.d.ts.map +1 -1
- package/cjs/components/Combobox/ComboboxNew/ui/VirtualList/VirtualList.js +0 -39
- package/cjs/components/Combobox/ComboboxNew/ui/VirtualList/VirtualList.js.map +0 -1
- package/emotion/cjs/components/Combobox/ComboboxNew/ui/VirtualList/VirtualList.js +0 -33
- package/emotion/es/components/Combobox/ComboboxNew/ui/VirtualList/VirtualList.js +0 -26
- package/es/components/Combobox/ComboboxNew/ui/VirtualList/VirtualList.js +0 -30
- package/es/components/Combobox/ComboboxNew/ui/VirtualList/VirtualList.js.map +0 -1
- package/styled-components/cjs/components/Combobox/ComboboxNew/ui/VirtualList/VirtualList.js +0 -33
- package/styled-components/es/components/Combobox/ComboboxNew/ui/VirtualList/VirtualList.js +0 -26
- package/types/components/Combobox/ComboboxNew/ui/VirtualList/VirtualList.d.ts +0 -9
- package/types/components/Combobox/ComboboxNew/ui/VirtualList/VirtualList.d.ts.map +0 -1
- /package/cjs/components/Combobox/ComboboxNew/ui/{VirtualList/VirtualList.css → Inner/ui/Item/Item.css} +0 -0
- /package/es/components/Combobox/ComboboxNew/ui/{VirtualList/VirtualList.css → Inner/ui/Item/Item.css} +0 -0
@@ -50,7 +50,6 @@ declare const ComboboxComponent: import("react").FunctionComponent<import("../..
|
|
50
50
|
closeAfterSelect?: boolean | undefined;
|
51
51
|
beforeList?: import("react").ReactNode;
|
52
52
|
afterList?: import("react").ReactNode;
|
53
|
-
virtual?: boolean | undefined;
|
54
53
|
size?: string | undefined;
|
55
54
|
view?: string | undefined;
|
56
55
|
} & import("../../../../components/TextField/TextField.types").LabelProps & {
|
@@ -98,7 +97,6 @@ declare const ComboboxComponent: import("react").FunctionComponent<import("../..
|
|
98
97
|
closeAfterSelect?: boolean | undefined;
|
99
98
|
beforeList?: import("react").ReactNode;
|
100
99
|
afterList?: import("react").ReactNode;
|
101
|
-
virtual?: boolean | undefined;
|
102
100
|
size?: string | undefined;
|
103
101
|
view?: string | undefined;
|
104
102
|
} & import("../../../../components/TextField/TextField.types").LabelProps & {
|
@@ -146,7 +144,6 @@ declare const ComboboxComponent: import("react").FunctionComponent<import("../..
|
|
146
144
|
closeAfterSelect?: boolean | undefined;
|
147
145
|
beforeList?: import("react").ReactNode;
|
148
146
|
afterList?: import("react").ReactNode;
|
149
|
-
virtual?: boolean | undefined;
|
150
147
|
size?: string | undefined;
|
151
148
|
view?: string | undefined;
|
152
149
|
} & import("../../../../components/TextField/TextField.types").LabelProps & {
|
@@ -194,7 +191,6 @@ declare const ComboboxComponent: import("react").FunctionComponent<import("../..
|
|
194
191
|
closeAfterSelect?: boolean | undefined;
|
195
192
|
beforeList?: import("react").ReactNode;
|
196
193
|
afterList?: import("react").ReactNode;
|
197
|
-
virtual?: boolean | undefined;
|
198
194
|
size?: string | undefined;
|
199
195
|
view?: string | undefined;
|
200
196
|
} & import("../../../../components/TextField/TextField.types").LabelProps & {
|
@@ -242,7 +238,6 @@ declare const ComboboxComponent: import("react").FunctionComponent<import("../..
|
|
242
238
|
closeAfterSelect?: boolean | undefined;
|
243
239
|
beforeList?: import("react").ReactNode;
|
244
240
|
afterList?: import("react").ReactNode;
|
245
|
-
virtual?: boolean | undefined;
|
246
241
|
size?: string | undefined;
|
247
242
|
view?: string | undefined;
|
248
243
|
} & import("../../../../components/TextField/TextField.types").LabelProps & {
|
@@ -290,7 +285,6 @@ declare const ComboboxComponent: import("react").FunctionComponent<import("../..
|
|
290
285
|
closeAfterSelect?: boolean | undefined;
|
291
286
|
beforeList?: import("react").ReactNode;
|
292
287
|
afterList?: import("react").ReactNode;
|
293
|
-
virtual?: boolean | undefined;
|
294
288
|
size?: string | undefined;
|
295
289
|
view?: string | undefined;
|
296
290
|
} & import("../../../../components/TextField/TextField.types").LabelProps & {
|
@@ -338,7 +332,6 @@ declare const ComboboxComponent: import("react").FunctionComponent<import("../..
|
|
338
332
|
closeAfterSelect?: boolean | undefined;
|
339
333
|
beforeList?: import("react").ReactNode;
|
340
334
|
afterList?: import("react").ReactNode;
|
341
|
-
virtual?: boolean | undefined;
|
342
335
|
size?: string | undefined;
|
343
336
|
view?: string | undefined;
|
344
337
|
} & import("../../../../components/TextField/TextField.types").LabelProps & {
|
@@ -386,7 +379,6 @@ declare const ComboboxComponent: import("react").FunctionComponent<import("../..
|
|
386
379
|
closeAfterSelect?: boolean | undefined;
|
387
380
|
beforeList?: import("react").ReactNode;
|
388
381
|
afterList?: import("react").ReactNode;
|
389
|
-
virtual?: boolean | undefined;
|
390
382
|
size?: string | undefined;
|
391
383
|
view?: string | undefined;
|
392
384
|
} & import("../../../../components/TextField/TextField.types").LabelProps & {
|
@@ -434,7 +426,6 @@ declare const ComboboxComponent: import("react").FunctionComponent<import("../..
|
|
434
426
|
closeAfterSelect?: boolean | undefined;
|
435
427
|
beforeList?: import("react").ReactNode;
|
436
428
|
afterList?: import("react").ReactNode;
|
437
|
-
virtual?: boolean | undefined;
|
438
429
|
size?: string | undefined;
|
439
430
|
view?: string | undefined;
|
440
431
|
} & import("../../../../components/TextField/TextField.types").LabelProps & {
|
@@ -482,7 +473,6 @@ declare const ComboboxComponent: import("react").FunctionComponent<import("../..
|
|
482
473
|
closeAfterSelect?: boolean | undefined;
|
483
474
|
beforeList?: import("react").ReactNode;
|
484
475
|
afterList?: import("react").ReactNode;
|
485
|
-
virtual?: boolean | undefined;
|
486
476
|
size?: string | undefined;
|
487
477
|
view?: string | undefined;
|
488
478
|
} & import("../../../../components/TextField/TextField.types").LabelProps & {
|
@@ -530,7 +520,6 @@ declare const ComboboxComponent: import("react").FunctionComponent<import("../..
|
|
530
520
|
closeAfterSelect?: boolean | undefined;
|
531
521
|
beforeList?: import("react").ReactNode;
|
532
522
|
afterList?: import("react").ReactNode;
|
533
|
-
virtual?: boolean | undefined;
|
534
523
|
size?: string | undefined;
|
535
524
|
view?: string | undefined;
|
536
525
|
} & import("../../../../components/TextField/TextField.types").LabelProps & {
|
@@ -578,7 +567,6 @@ declare const ComboboxComponent: import("react").FunctionComponent<import("../..
|
|
578
567
|
closeAfterSelect?: boolean | undefined;
|
579
568
|
beforeList?: import("react").ReactNode;
|
580
569
|
afterList?: import("react").ReactNode;
|
581
|
-
virtual?: boolean | undefined;
|
582
570
|
size?: string | undefined;
|
583
571
|
view?: string | undefined;
|
584
572
|
} & import("../../../../components/TextField/TextField.types").LabelProps & {
|
@@ -626,7 +614,6 @@ declare const ComboboxComponent: import("react").FunctionComponent<import("../..
|
|
626
614
|
closeAfterSelect?: boolean | undefined;
|
627
615
|
beforeList?: import("react").ReactNode;
|
628
616
|
afterList?: import("react").ReactNode;
|
629
|
-
virtual?: boolean | undefined;
|
630
617
|
size?: string | undefined;
|
631
618
|
view?: string | undefined;
|
632
619
|
} & import("../../../../components/TextField/TextField.types").LabelProps & {
|
@@ -674,7 +661,6 @@ declare const ComboboxComponent: import("react").FunctionComponent<import("../..
|
|
674
661
|
closeAfterSelect?: boolean | undefined;
|
675
662
|
beforeList?: import("react").ReactNode;
|
676
663
|
afterList?: import("react").ReactNode;
|
677
|
-
virtual?: boolean | undefined;
|
678
664
|
size?: string | undefined;
|
679
665
|
view?: string | undefined;
|
680
666
|
} & import("../../../../components/TextField/TextField.types").LabelProps & {
|
@@ -722,7 +708,6 @@ declare const ComboboxComponent: import("react").FunctionComponent<import("../..
|
|
722
708
|
closeAfterSelect?: boolean | undefined;
|
723
709
|
beforeList?: import("react").ReactNode;
|
724
710
|
afterList?: import("react").ReactNode;
|
725
|
-
virtual?: boolean | undefined;
|
726
711
|
size?: string | undefined;
|
727
712
|
view?: string | undefined;
|
728
713
|
} & import("../../../../components/TextField/TextField.types").LabelProps & {
|
@@ -770,7 +755,6 @@ declare const ComboboxComponent: import("react").FunctionComponent<import("../..
|
|
770
755
|
closeAfterSelect?: boolean | undefined;
|
771
756
|
beforeList?: import("react").ReactNode;
|
772
757
|
afterList?: import("react").ReactNode;
|
773
|
-
virtual?: boolean | undefined;
|
774
758
|
size?: string | undefined;
|
775
759
|
view?: string | undefined;
|
776
760
|
} & import("../../../../components/TextField/TextField.types").LabelProps & {
|
@@ -818,7 +802,6 @@ declare const ComboboxComponent: import("react").FunctionComponent<import("../..
|
|
818
802
|
closeAfterSelect?: boolean | undefined;
|
819
803
|
beforeList?: import("react").ReactNode;
|
820
804
|
afterList?: import("react").ReactNode;
|
821
|
-
virtual?: boolean | undefined;
|
822
805
|
size?: string | undefined;
|
823
806
|
view?: string | undefined;
|
824
807
|
} & import("../../../../components/TextField/TextField.types").LabelProps & {
|
@@ -866,7 +849,6 @@ declare const ComboboxComponent: import("react").FunctionComponent<import("../..
|
|
866
849
|
closeAfterSelect?: boolean | undefined;
|
867
850
|
beforeList?: import("react").ReactNode;
|
868
851
|
afterList?: import("react").ReactNode;
|
869
|
-
virtual?: boolean | undefined;
|
870
852
|
size?: string | undefined;
|
871
853
|
view?: string | undefined;
|
872
854
|
} & import("../../../../components/TextField/TextField.types").LabelProps & {
|
@@ -914,7 +896,6 @@ declare const ComboboxComponent: import("react").FunctionComponent<import("../..
|
|
914
896
|
closeAfterSelect?: boolean | undefined;
|
915
897
|
beforeList?: import("react").ReactNode;
|
916
898
|
afterList?: import("react").ReactNode;
|
917
|
-
virtual?: boolean | undefined;
|
918
899
|
size?: string | undefined;
|
919
900
|
view?: string | undefined;
|
920
901
|
} & import("../../../../components/TextField/TextField.types").LabelProps & {
|
@@ -962,7 +943,6 @@ declare const ComboboxComponent: import("react").FunctionComponent<import("../..
|
|
962
943
|
closeAfterSelect?: boolean | undefined;
|
963
944
|
beforeList?: import("react").ReactNode;
|
964
945
|
afterList?: import("react").ReactNode;
|
965
|
-
virtual?: boolean | undefined;
|
966
946
|
size?: string | undefined;
|
967
947
|
view?: string | undefined;
|
968
948
|
} & import("../../../../components/TextField/TextField.types").LabelProps & {
|
@@ -1010,7 +990,6 @@ declare const ComboboxComponent: import("react").FunctionComponent<import("../..
|
|
1010
990
|
closeAfterSelect?: boolean | undefined;
|
1011
991
|
beforeList?: import("react").ReactNode;
|
1012
992
|
afterList?: import("react").ReactNode;
|
1013
|
-
virtual?: boolean | undefined;
|
1014
993
|
size?: string | undefined;
|
1015
994
|
view?: string | undefined;
|
1016
995
|
} & import("../../../../components/TextField/TextField.types").LabelProps & {
|
@@ -1058,7 +1037,6 @@ declare const ComboboxComponent: import("react").FunctionComponent<import("../..
|
|
1058
1037
|
closeAfterSelect?: boolean | undefined;
|
1059
1038
|
beforeList?: import("react").ReactNode;
|
1060
1039
|
afterList?: import("react").ReactNode;
|
1061
|
-
virtual?: boolean | undefined;
|
1062
1040
|
size?: string | undefined;
|
1063
1041
|
view?: string | undefined;
|
1064
1042
|
} & import("../../../../components/TextField/TextField.types").LabelProps & {
|
@@ -1106,7 +1084,6 @@ declare const ComboboxComponent: import("react").FunctionComponent<import("../..
|
|
1106
1084
|
closeAfterSelect?: boolean | undefined;
|
1107
1085
|
beforeList?: import("react").ReactNode;
|
1108
1086
|
afterList?: import("react").ReactNode;
|
1109
|
-
virtual?: boolean | undefined;
|
1110
1087
|
size?: string | undefined;
|
1111
1088
|
view?: string | undefined;
|
1112
1089
|
} & import("../../../../components/TextField/TextField.types").LabelProps & {
|
@@ -1154,7 +1131,6 @@ declare const ComboboxComponent: import("react").FunctionComponent<import("../..
|
|
1154
1131
|
closeAfterSelect?: boolean | undefined;
|
1155
1132
|
beforeList?: import("react").ReactNode;
|
1156
1133
|
afterList?: import("react").ReactNode;
|
1157
|
-
virtual?: boolean | undefined;
|
1158
1134
|
size?: string | undefined;
|
1159
1135
|
view?: string | undefined;
|
1160
1136
|
} & import("../../../../components/TextField/TextField.types").LabelProps & {
|
@@ -1235,7 +1211,6 @@ declare const Combobox: <T extends ItemOption>(props: Omit<ComboboxProps<T>, "vi
|
|
1235
1211
|
closeAfterSelect?: boolean | undefined;
|
1236
1212
|
beforeList?: import("react").ReactNode;
|
1237
1213
|
afterList?: import("react").ReactNode;
|
1238
|
-
virtual?: boolean | undefined;
|
1239
1214
|
size?: string | undefined;
|
1240
1215
|
view?: string | undefined;
|
1241
1216
|
} & import("../../../../components/TextField/TextField.types").LabelProps & {
|
@@ -1283,7 +1258,6 @@ declare const Combobox: <T extends ItemOption>(props: Omit<ComboboxProps<T>, "vi
|
|
1283
1258
|
closeAfterSelect?: boolean | undefined;
|
1284
1259
|
beforeList?: import("react").ReactNode;
|
1285
1260
|
afterList?: import("react").ReactNode;
|
1286
|
-
virtual?: boolean | undefined;
|
1287
1261
|
size?: string | undefined;
|
1288
1262
|
view?: string | undefined;
|
1289
1263
|
} & import("../../../../components/TextField/TextField.types").LabelProps & {
|
@@ -1331,7 +1305,6 @@ declare const Combobox: <T extends ItemOption>(props: Omit<ComboboxProps<T>, "vi
|
|
1331
1305
|
closeAfterSelect?: boolean | undefined;
|
1332
1306
|
beforeList?: import("react").ReactNode;
|
1333
1307
|
afterList?: import("react").ReactNode;
|
1334
|
-
virtual?: boolean | undefined;
|
1335
1308
|
size?: string | undefined;
|
1336
1309
|
view?: string | undefined;
|
1337
1310
|
} & import("../../../../components/TextField/TextField.types").LabelProps & {
|
@@ -1379,7 +1352,6 @@ declare const Combobox: <T extends ItemOption>(props: Omit<ComboboxProps<T>, "vi
|
|
1379
1352
|
closeAfterSelect?: boolean | undefined;
|
1380
1353
|
beforeList?: import("react").ReactNode;
|
1381
1354
|
afterList?: import("react").ReactNode;
|
1382
|
-
virtual?: boolean | undefined;
|
1383
1355
|
size?: string | undefined;
|
1384
1356
|
view?: string | undefined;
|
1385
1357
|
} & import("../../../../components/TextField/TextField.types").LabelProps & {
|
@@ -1427,7 +1399,6 @@ declare const Combobox: <T extends ItemOption>(props: Omit<ComboboxProps<T>, "vi
|
|
1427
1399
|
closeAfterSelect?: boolean | undefined;
|
1428
1400
|
beforeList?: import("react").ReactNode;
|
1429
1401
|
afterList?: import("react").ReactNode;
|
1430
|
-
virtual?: boolean | undefined;
|
1431
1402
|
size?: string | undefined;
|
1432
1403
|
view?: string | undefined;
|
1433
1404
|
} & import("../../../../components/TextField/TextField.types").LabelProps & {
|
@@ -1475,7 +1446,6 @@ declare const Combobox: <T extends ItemOption>(props: Omit<ComboboxProps<T>, "vi
|
|
1475
1446
|
closeAfterSelect?: boolean | undefined;
|
1476
1447
|
beforeList?: import("react").ReactNode;
|
1477
1448
|
afterList?: import("react").ReactNode;
|
1478
|
-
virtual?: boolean | undefined;
|
1479
1449
|
size?: string | undefined;
|
1480
1450
|
view?: string | undefined;
|
1481
1451
|
} & import("../../../../components/TextField/TextField.types").LabelProps & {
|
@@ -1523,7 +1493,6 @@ declare const Combobox: <T extends ItemOption>(props: Omit<ComboboxProps<T>, "vi
|
|
1523
1493
|
closeAfterSelect?: boolean | undefined;
|
1524
1494
|
beforeList?: import("react").ReactNode;
|
1525
1495
|
afterList?: import("react").ReactNode;
|
1526
|
-
virtual?: boolean | undefined;
|
1527
1496
|
size?: string | undefined;
|
1528
1497
|
view?: string | undefined;
|
1529
1498
|
} & import("../../../../components/TextField/TextField.types").LabelProps & {
|
@@ -1571,7 +1540,6 @@ declare const Combobox: <T extends ItemOption>(props: Omit<ComboboxProps<T>, "vi
|
|
1571
1540
|
closeAfterSelect?: boolean | undefined;
|
1572
1541
|
beforeList?: import("react").ReactNode;
|
1573
1542
|
afterList?: import("react").ReactNode;
|
1574
|
-
virtual?: boolean | undefined;
|
1575
1543
|
size?: string | undefined;
|
1576
1544
|
view?: string | undefined;
|
1577
1545
|
} & import("../../../../components/TextField/TextField.types").LabelProps & {
|
@@ -1619,7 +1587,6 @@ declare const Combobox: <T extends ItemOption>(props: Omit<ComboboxProps<T>, "vi
|
|
1619
1587
|
closeAfterSelect?: boolean | undefined;
|
1620
1588
|
beforeList?: import("react").ReactNode;
|
1621
1589
|
afterList?: import("react").ReactNode;
|
1622
|
-
virtual?: boolean | undefined;
|
1623
1590
|
size?: string | undefined;
|
1624
1591
|
view?: string | undefined;
|
1625
1592
|
} & import("../../../../components/TextField/TextField.types").LabelProps & {
|
@@ -1667,7 +1634,6 @@ declare const Combobox: <T extends ItemOption>(props: Omit<ComboboxProps<T>, "vi
|
|
1667
1634
|
closeAfterSelect?: boolean | undefined;
|
1668
1635
|
beforeList?: import("react").ReactNode;
|
1669
1636
|
afterList?: import("react").ReactNode;
|
1670
|
-
virtual?: boolean | undefined;
|
1671
1637
|
size?: string | undefined;
|
1672
1638
|
view?: string | undefined;
|
1673
1639
|
} & import("../../../../components/TextField/TextField.types").LabelProps & {
|
@@ -1715,7 +1681,6 @@ declare const Combobox: <T extends ItemOption>(props: Omit<ComboboxProps<T>, "vi
|
|
1715
1681
|
closeAfterSelect?: boolean | undefined;
|
1716
1682
|
beforeList?: import("react").ReactNode;
|
1717
1683
|
afterList?: import("react").ReactNode;
|
1718
|
-
virtual?: boolean | undefined;
|
1719
1684
|
size?: string | undefined;
|
1720
1685
|
view?: string | undefined;
|
1721
1686
|
} & import("../../../../components/TextField/TextField.types").LabelProps & {
|
@@ -1763,7 +1728,6 @@ declare const Combobox: <T extends ItemOption>(props: Omit<ComboboxProps<T>, "vi
|
|
1763
1728
|
closeAfterSelect?: boolean | undefined;
|
1764
1729
|
beforeList?: import("react").ReactNode;
|
1765
1730
|
afterList?: import("react").ReactNode;
|
1766
|
-
virtual?: boolean | undefined;
|
1767
1731
|
size?: string | undefined;
|
1768
1732
|
view?: string | undefined;
|
1769
1733
|
} & import("../../../../components/TextField/TextField.types").LabelProps & {
|
@@ -1811,7 +1775,6 @@ declare const Combobox: <T extends ItemOption>(props: Omit<ComboboxProps<T>, "vi
|
|
1811
1775
|
closeAfterSelect?: boolean | undefined;
|
1812
1776
|
beforeList?: import("react").ReactNode;
|
1813
1777
|
afterList?: import("react").ReactNode;
|
1814
|
-
virtual?: boolean | undefined;
|
1815
1778
|
size?: string | undefined;
|
1816
1779
|
view?: string | undefined;
|
1817
1780
|
} & import("../../../../components/TextField/TextField.types").LabelProps & {
|
@@ -1859,7 +1822,6 @@ declare const Combobox: <T extends ItemOption>(props: Omit<ComboboxProps<T>, "vi
|
|
1859
1822
|
closeAfterSelect?: boolean | undefined;
|
1860
1823
|
beforeList?: import("react").ReactNode;
|
1861
1824
|
afterList?: import("react").ReactNode;
|
1862
|
-
virtual?: boolean | undefined;
|
1863
1825
|
size?: string | undefined;
|
1864
1826
|
view?: string | undefined;
|
1865
1827
|
} & import("../../../../components/TextField/TextField.types").LabelProps & {
|
@@ -1907,7 +1869,6 @@ declare const Combobox: <T extends ItemOption>(props: Omit<ComboboxProps<T>, "vi
|
|
1907
1869
|
closeAfterSelect?: boolean | undefined;
|
1908
1870
|
beforeList?: import("react").ReactNode;
|
1909
1871
|
afterList?: import("react").ReactNode;
|
1910
|
-
virtual?: boolean | undefined;
|
1911
1872
|
size?: string | undefined;
|
1912
1873
|
view?: string | undefined;
|
1913
1874
|
} & import("../../../../components/TextField/TextField.types").LabelProps & {
|
@@ -1955,7 +1916,6 @@ declare const Combobox: <T extends ItemOption>(props: Omit<ComboboxProps<T>, "vi
|
|
1955
1916
|
closeAfterSelect?: boolean | undefined;
|
1956
1917
|
beforeList?: import("react").ReactNode;
|
1957
1918
|
afterList?: import("react").ReactNode;
|
1958
|
-
virtual?: boolean | undefined;
|
1959
1919
|
size?: string | undefined;
|
1960
1920
|
view?: string | undefined;
|
1961
1921
|
} & import("../../../../components/TextField/TextField.types").LabelProps & {
|
@@ -2003,7 +1963,6 @@ declare const Combobox: <T extends ItemOption>(props: Omit<ComboboxProps<T>, "vi
|
|
2003
1963
|
closeAfterSelect?: boolean | undefined;
|
2004
1964
|
beforeList?: import("react").ReactNode;
|
2005
1965
|
afterList?: import("react").ReactNode;
|
2006
|
-
virtual?: boolean | undefined;
|
2007
1966
|
size?: string | undefined;
|
2008
1967
|
view?: string | undefined;
|
2009
1968
|
} & import("../../../../components/TextField/TextField.types").LabelProps & {
|
@@ -2051,7 +2010,6 @@ declare const Combobox: <T extends ItemOption>(props: Omit<ComboboxProps<T>, "vi
|
|
2051
2010
|
closeAfterSelect?: boolean | undefined;
|
2052
2011
|
beforeList?: import("react").ReactNode;
|
2053
2012
|
afterList?: import("react").ReactNode;
|
2054
|
-
virtual?: boolean | undefined;
|
2055
2013
|
size?: string | undefined;
|
2056
2014
|
view?: string | undefined;
|
2057
2015
|
} & import("../../../../components/TextField/TextField.types").LabelProps & {
|
@@ -2099,7 +2057,6 @@ declare const Combobox: <T extends ItemOption>(props: Omit<ComboboxProps<T>, "vi
|
|
2099
2057
|
closeAfterSelect?: boolean | undefined;
|
2100
2058
|
beforeList?: import("react").ReactNode;
|
2101
2059
|
afterList?: import("react").ReactNode;
|
2102
|
-
virtual?: boolean | undefined;
|
2103
2060
|
size?: string | undefined;
|
2104
2061
|
view?: string | undefined;
|
2105
2062
|
} & import("../../../../components/TextField/TextField.types").LabelProps & {
|
@@ -2147,7 +2104,6 @@ declare const Combobox: <T extends ItemOption>(props: Omit<ComboboxProps<T>, "vi
|
|
2147
2104
|
closeAfterSelect?: boolean | undefined;
|
2148
2105
|
beforeList?: import("react").ReactNode;
|
2149
2106
|
afterList?: import("react").ReactNode;
|
2150
|
-
virtual?: boolean | undefined;
|
2151
2107
|
size?: string | undefined;
|
2152
2108
|
view?: string | undefined;
|
2153
2109
|
} & import("../../../../components/TextField/TextField.types").LabelProps & {
|
@@ -2195,7 +2151,6 @@ declare const Combobox: <T extends ItemOption>(props: Omit<ComboboxProps<T>, "vi
|
|
2195
2151
|
closeAfterSelect?: boolean | undefined;
|
2196
2152
|
beforeList?: import("react").ReactNode;
|
2197
2153
|
afterList?: import("react").ReactNode;
|
2198
|
-
virtual?: boolean | undefined;
|
2199
2154
|
size?: string | undefined;
|
2200
2155
|
view?: string | undefined;
|
2201
2156
|
} & import("../../../../components/TextField/TextField.types").LabelProps & {
|
@@ -2243,7 +2198,6 @@ declare const Combobox: <T extends ItemOption>(props: Omit<ComboboxProps<T>, "vi
|
|
2243
2198
|
closeAfterSelect?: boolean | undefined;
|
2244
2199
|
beforeList?: import("react").ReactNode;
|
2245
2200
|
afterList?: import("react").ReactNode;
|
2246
|
-
virtual?: boolean | undefined;
|
2247
2201
|
size?: string | undefined;
|
2248
2202
|
view?: string | undefined;
|
2249
2203
|
} & import("../../../../components/TextField/TextField.types").LabelProps & {
|
@@ -2291,7 +2245,6 @@ declare const Combobox: <T extends ItemOption>(props: Omit<ComboboxProps<T>, "vi
|
|
2291
2245
|
closeAfterSelect?: boolean | undefined;
|
2292
2246
|
beforeList?: import("react").ReactNode;
|
2293
2247
|
afterList?: import("react").ReactNode;
|
2294
|
-
virtual?: boolean | undefined;
|
2295
2248
|
size?: string | undefined;
|
2296
2249
|
view?: string | undefined;
|
2297
2250
|
} & import("../../../../components/TextField/TextField.types").LabelProps & {
|
@@ -2339,7 +2292,6 @@ declare const Combobox: <T extends ItemOption>(props: Omit<ComboboxProps<T>, "vi
|
|
2339
2292
|
closeAfterSelect?: boolean | undefined;
|
2340
2293
|
beforeList?: import("react").ReactNode;
|
2341
2294
|
afterList?: import("react").ReactNode;
|
2342
|
-
virtual?: boolean | undefined;
|
2343
2295
|
size?: string | undefined;
|
2344
2296
|
view?: string | undefined;
|
2345
2297
|
} & import("../../../../components/TextField/TextField.types").LabelProps & {
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"Combobox.d.ts","sourceRoot":"","sources":["../../../../../src/examples/plasma_web/components/Combobox/Combobox.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,cAAc,EAAE,YAAY,EAAE,MAAM,OAAO,CAAC;AAIxE,OAAO,KAAK,EAAE,aAAa,EAAE,UAAU,EAAE,MAAM,iCAAiC,CAAC;AAEjF,OAAO,EAAE,MAAM,EAAE,MAAM,mBAAmB,CAAC;AAG3C,QAAA,MAAM,iBAAiB
|
1
|
+
{"version":3,"file":"Combobox.d.ts","sourceRoot":"","sources":["../../../../../src/examples/plasma_web/components/Combobox/Combobox.ts"],"names":[],"mappings":"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"}
|
@@ -1,39 +0,0 @@
|
|
1
|
-
'use strict';
|
2
|
-
|
3
|
-
Object.defineProperty(exports, '__esModule', { value: true });
|
4
|
-
|
5
|
-
var React = require('react');
|
6
|
-
var List = require('rc-virtual-list');
|
7
|
-
var Item = require('../Inner/ui/Item/Item.js');
|
8
|
-
|
9
|
-
function _interopDefault (e) { return e && e.__esModule ? e : { default: e }; }
|
10
|
-
|
11
|
-
var React__default = /*#__PURE__*/_interopDefault(React);
|
12
|
-
var List__default = /*#__PURE__*/_interopDefault(List);
|
13
|
-
|
14
|
-
var getHeight = function getHeight(listHeight) {
|
15
|
-
if (!listHeight) return 300;
|
16
|
-
if (typeof listHeight === 'number') return listHeight;
|
17
|
-
return parseInt(listHeight, 10);
|
18
|
-
};
|
19
|
-
var VirtualList = function VirtualList(_ref) {
|
20
|
-
var items = _ref.items,
|
21
|
-
listHeight = _ref.listHeight;
|
22
|
-
return /*#__PURE__*/React__default.default.createElement(List__default.default, {
|
23
|
-
data: items,
|
24
|
-
height: getHeight(listHeight),
|
25
|
-
itemHeight: 100,
|
26
|
-
itemKey: "id"
|
27
|
-
}, function (item, index, props) {
|
28
|
-
return /*#__PURE__*/React__default.default.createElement("div", props, /*#__PURE__*/React__default.default.createElement(Item.Item, {
|
29
|
-
item: item,
|
30
|
-
path: ['root'],
|
31
|
-
currentLevel: 0,
|
32
|
-
index: index,
|
33
|
-
ariaLevel: 1
|
34
|
-
}));
|
35
|
-
});
|
36
|
-
};
|
37
|
-
|
38
|
-
exports.VirtualList = VirtualList;
|
39
|
-
//# sourceMappingURL=VirtualList.js.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"VirtualList.js","sources":["../../../../../../src/components/Combobox/ComboboxNew/ui/VirtualList/VirtualList.tsx"],"sourcesContent":["import React, { CSSProperties } from 'react';\nimport List from 'rc-virtual-list';\n\nimport type { ItemOptionTransformed } from '../Inner/ui/Item/Item.types';\nimport { Item } from '../Inner/ui';\n\nconst getHeight = (listHeight?: CSSProperties['height']) => {\n if (!listHeight) return 300;\n\n if (typeof listHeight === 'number') return listHeight;\n\n return parseInt(listHeight, 10);\n};\n\ninterface Props {\n items: ItemOptionTransformed[];\n listHeight?: CSSProperties['height'];\n}\n\nexport const VirtualList: React.FC<Props> = ({ items, listHeight }) => {\n return (\n <List data={items} height={getHeight(listHeight)} itemHeight={100} itemKey=\"id\">\n {(item, index, props) => (\n <div {...props}>\n <Item item={item} path={['root']} currentLevel={0} index={index} ariaLevel={1} />\n </div>\n )}\n </List>\n );\n};\n"],"names":["getHeight","listHeight","parseInt","VirtualList","_ref","items","React","createElement","List","data","height","itemHeight","itemKey","item","index","props","Item","path","currentLevel","ariaLevel"],"mappings":";;;;;;;;;;;;;AAMA,IAAMA,SAAS,GAAG,SAAZA,SAASA,CAAIC,UAAoC,EAAK;AACxD,EAAA,IAAI,CAACA,UAAU,EAAE,OAAO,GAAG,CAAA;AAE3B,EAAA,IAAI,OAAOA,UAAU,KAAK,QAAQ,EAAE,OAAOA,UAAU,CAAA;AAErD,EAAA,OAAOC,QAAQ,CAACD,UAAU,EAAE,EAAE,CAAC,CAAA;AACnC,CAAC,CAAA;IAOYE,WAA4B,GAAG,SAA/BA,WAA4BA,CAAAC,IAAA,EAA8B;AAAA,EAAA,IAAxBC,KAAK,GAAAD,IAAA,CAALC,KAAK;IAAEJ,UAAU,GAAAG,IAAA,CAAVH,UAAU,CAAA;AAC5D,EAAA,oBACIK,sBAAA,CAAAC,aAAA,CAACC,qBAAI,EAAA;AAACC,IAAAA,IAAI,EAAEJ,KAAM;AAACK,IAAAA,MAAM,EAAEV,SAAS,CAACC,UAAU,CAAE;AAACU,IAAAA,UAAU,EAAE,GAAI;AAACC,IAAAA,OAAO,EAAC,IAAA;AAAI,GAAA,EAC1E,UAACC,IAAI,EAAEC,KAAK,EAAEC,KAAK,EAAA;IAAA,oBAChBT,sBAAA,CAAAC,aAAA,CAASQ,KAAAA,EAAAA,KAAK,eACVT,sBAAA,CAAAC,aAAA,CAACS,SAAI,EAAA;AAACH,MAAAA,IAAI,EAAEA,IAAK;MAACI,IAAI,EAAE,CAAC,MAAM,CAAE;AAACC,MAAAA,YAAY,EAAE,CAAE;AAACJ,MAAAA,KAAK,EAAEA,KAAM;AAACK,MAAAA,SAAS,EAAE,CAAA;AAAE,KAAE,CAC/E,CAAC,CAAA;AAAA,GAER,CAAC,CAAA;AAEf;;;;"}
|
@@ -1,33 +0,0 @@
|
|
1
|
-
"use strict";
|
2
|
-
|
3
|
-
Object.defineProperty(exports, "__esModule", {
|
4
|
-
value: true
|
5
|
-
});
|
6
|
-
exports.VirtualList = void 0;
|
7
|
-
var _react = /*#__PURE__*/_interopRequireDefault( /*#__PURE__*/require("react"));
|
8
|
-
var _rcVirtualList = /*#__PURE__*/_interopRequireDefault( /*#__PURE__*/require("rc-virtual-list"));
|
9
|
-
var _ui = /*#__PURE__*/require("../Inner/ui");
|
10
|
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
|
11
|
-
var getHeight = function getHeight(listHeight) {
|
12
|
-
if (!listHeight) return 300;
|
13
|
-
if (typeof listHeight === 'number') return listHeight;
|
14
|
-
return parseInt(listHeight, 10);
|
15
|
-
};
|
16
|
-
var VirtualList = exports.VirtualList = function VirtualList(_ref) {
|
17
|
-
var items = _ref.items,
|
18
|
-
listHeight = _ref.listHeight;
|
19
|
-
return /*#__PURE__*/_react["default"].createElement(_rcVirtualList["default"], {
|
20
|
-
data: items,
|
21
|
-
height: getHeight(listHeight),
|
22
|
-
itemHeight: 100,
|
23
|
-
itemKey: "id"
|
24
|
-
}, function (item, index, props) {
|
25
|
-
return /*#__PURE__*/_react["default"].createElement("div", props, /*#__PURE__*/_react["default"].createElement(_ui.Item, {
|
26
|
-
item: item,
|
27
|
-
path: ['root'],
|
28
|
-
currentLevel: 0,
|
29
|
-
index: index,
|
30
|
-
ariaLevel: 1
|
31
|
-
}));
|
32
|
-
});
|
33
|
-
};
|
@@ -1,26 +0,0 @@
|
|
1
|
-
import React from 'react';
|
2
|
-
import List from 'rc-virtual-list';
|
3
|
-
import { Item } from '../Inner/ui';
|
4
|
-
var getHeight = function getHeight(listHeight) {
|
5
|
-
if (!listHeight) return 300;
|
6
|
-
if (typeof listHeight === 'number') return listHeight;
|
7
|
-
return parseInt(listHeight, 10);
|
8
|
-
};
|
9
|
-
export var VirtualList = function VirtualList(_ref) {
|
10
|
-
var items = _ref.items,
|
11
|
-
listHeight = _ref.listHeight;
|
12
|
-
return /*#__PURE__*/React.createElement(List, {
|
13
|
-
data: items,
|
14
|
-
height: getHeight(listHeight),
|
15
|
-
itemHeight: 100,
|
16
|
-
itemKey: "id"
|
17
|
-
}, function (item, index, props) {
|
18
|
-
return /*#__PURE__*/React.createElement("div", props, /*#__PURE__*/React.createElement(Item, {
|
19
|
-
item: item,
|
20
|
-
path: ['root'],
|
21
|
-
currentLevel: 0,
|
22
|
-
index: index,
|
23
|
-
ariaLevel: 1
|
24
|
-
}));
|
25
|
-
});
|
26
|
-
};
|
@@ -1,30 +0,0 @@
|
|
1
|
-
import React from 'react';
|
2
|
-
import List from 'rc-virtual-list';
|
3
|
-
import { Item } from '../Inner/ui/Item/Item.js';
|
4
|
-
|
5
|
-
var getHeight = function getHeight(listHeight) {
|
6
|
-
if (!listHeight) return 300;
|
7
|
-
if (typeof listHeight === 'number') return listHeight;
|
8
|
-
return parseInt(listHeight, 10);
|
9
|
-
};
|
10
|
-
var VirtualList = function VirtualList(_ref) {
|
11
|
-
var items = _ref.items,
|
12
|
-
listHeight = _ref.listHeight;
|
13
|
-
return /*#__PURE__*/React.createElement(List, {
|
14
|
-
data: items,
|
15
|
-
height: getHeight(listHeight),
|
16
|
-
itemHeight: 100,
|
17
|
-
itemKey: "id"
|
18
|
-
}, function (item, index, props) {
|
19
|
-
return /*#__PURE__*/React.createElement("div", props, /*#__PURE__*/React.createElement(Item, {
|
20
|
-
item: item,
|
21
|
-
path: ['root'],
|
22
|
-
currentLevel: 0,
|
23
|
-
index: index,
|
24
|
-
ariaLevel: 1
|
25
|
-
}));
|
26
|
-
});
|
27
|
-
};
|
28
|
-
|
29
|
-
export { VirtualList };
|
30
|
-
//# sourceMappingURL=VirtualList.js.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"VirtualList.js","sources":["../../../../../../src/components/Combobox/ComboboxNew/ui/VirtualList/VirtualList.tsx"],"sourcesContent":["import React, { CSSProperties } from 'react';\nimport List from 'rc-virtual-list';\n\nimport type { ItemOptionTransformed } from '../Inner/ui/Item/Item.types';\nimport { Item } from '../Inner/ui';\n\nconst getHeight = (listHeight?: CSSProperties['height']) => {\n if (!listHeight) return 300;\n\n if (typeof listHeight === 'number') return listHeight;\n\n return parseInt(listHeight, 10);\n};\n\ninterface Props {\n items: ItemOptionTransformed[];\n listHeight?: CSSProperties['height'];\n}\n\nexport const VirtualList: React.FC<Props> = ({ items, listHeight }) => {\n return (\n <List data={items} height={getHeight(listHeight)} itemHeight={100} itemKey=\"id\">\n {(item, index, props) => (\n <div {...props}>\n <Item item={item} path={['root']} currentLevel={0} index={index} ariaLevel={1} />\n </div>\n )}\n </List>\n );\n};\n"],"names":["getHeight","listHeight","parseInt","VirtualList","_ref","items","React","createElement","List","data","height","itemHeight","itemKey","item","index","props","Item","path","currentLevel","ariaLevel"],"mappings":";;;;AAMA,IAAMA,SAAS,GAAG,SAAZA,SAASA,CAAIC,UAAoC,EAAK;AACxD,EAAA,IAAI,CAACA,UAAU,EAAE,OAAO,GAAG,CAAA;AAE3B,EAAA,IAAI,OAAOA,UAAU,KAAK,QAAQ,EAAE,OAAOA,UAAU,CAAA;AAErD,EAAA,OAAOC,QAAQ,CAACD,UAAU,EAAE,EAAE,CAAC,CAAA;AACnC,CAAC,CAAA;IAOYE,WAA4B,GAAG,SAA/BA,WAA4BA,CAAAC,IAAA,EAA8B;AAAA,EAAA,IAAxBC,KAAK,GAAAD,IAAA,CAALC,KAAK;IAAEJ,UAAU,GAAAG,IAAA,CAAVH,UAAU,CAAA;AAC5D,EAAA,oBACIK,KAAA,CAAAC,aAAA,CAACC,IAAI,EAAA;AAACC,IAAAA,IAAI,EAAEJ,KAAM;AAACK,IAAAA,MAAM,EAAEV,SAAS,CAACC,UAAU,CAAE;AAACU,IAAAA,UAAU,EAAE,GAAI;AAACC,IAAAA,OAAO,EAAC,IAAA;AAAI,GAAA,EAC1E,UAACC,IAAI,EAAEC,KAAK,EAAEC,KAAK,EAAA;IAAA,oBAChBT,KAAA,CAAAC,aAAA,CAASQ,KAAAA,EAAAA,KAAK,eACVT,KAAA,CAAAC,aAAA,CAACS,IAAI,EAAA;AAACH,MAAAA,IAAI,EAAEA,IAAK;MAACI,IAAI,EAAE,CAAC,MAAM,CAAE;AAACC,MAAAA,YAAY,EAAE,CAAE;AAACJ,MAAAA,KAAK,EAAEA,KAAM;AAACK,MAAAA,SAAS,EAAE,CAAA;AAAE,KAAE,CAC/E,CAAC,CAAA;AAAA,GAER,CAAC,CAAA;AAEf;;;;"}
|
@@ -1,33 +0,0 @@
|
|
1
|
-
"use strict";
|
2
|
-
|
3
|
-
Object.defineProperty(exports, "__esModule", {
|
4
|
-
value: true
|
5
|
-
});
|
6
|
-
exports.VirtualList = void 0;
|
7
|
-
var _react = /*#__PURE__*/_interopRequireDefault( /*#__PURE__*/require("react"));
|
8
|
-
var _rcVirtualList = /*#__PURE__*/_interopRequireDefault( /*#__PURE__*/require("rc-virtual-list"));
|
9
|
-
var _ui = /*#__PURE__*/require("../Inner/ui");
|
10
|
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
|
11
|
-
var getHeight = function getHeight(listHeight) {
|
12
|
-
if (!listHeight) return 300;
|
13
|
-
if (typeof listHeight === 'number') return listHeight;
|
14
|
-
return parseInt(listHeight, 10);
|
15
|
-
};
|
16
|
-
var VirtualList = exports.VirtualList = function VirtualList(_ref) {
|
17
|
-
var items = _ref.items,
|
18
|
-
listHeight = _ref.listHeight;
|
19
|
-
return /*#__PURE__*/_react["default"].createElement(_rcVirtualList["default"], {
|
20
|
-
data: items,
|
21
|
-
height: getHeight(listHeight),
|
22
|
-
itemHeight: 100,
|
23
|
-
itemKey: "id"
|
24
|
-
}, function (item, index, props) {
|
25
|
-
return /*#__PURE__*/_react["default"].createElement("div", props, /*#__PURE__*/_react["default"].createElement(_ui.Item, {
|
26
|
-
item: item,
|
27
|
-
path: ['root'],
|
28
|
-
currentLevel: 0,
|
29
|
-
index: index,
|
30
|
-
ariaLevel: 1
|
31
|
-
}));
|
32
|
-
});
|
33
|
-
};
|
@@ -1,26 +0,0 @@
|
|
1
|
-
import React from 'react';
|
2
|
-
import List from 'rc-virtual-list';
|
3
|
-
import { Item } from '../Inner/ui';
|
4
|
-
var getHeight = function getHeight(listHeight) {
|
5
|
-
if (!listHeight) return 300;
|
6
|
-
if (typeof listHeight === 'number') return listHeight;
|
7
|
-
return parseInt(listHeight, 10);
|
8
|
-
};
|
9
|
-
export var VirtualList = function VirtualList(_ref) {
|
10
|
-
var items = _ref.items,
|
11
|
-
listHeight = _ref.listHeight;
|
12
|
-
return /*#__PURE__*/React.createElement(List, {
|
13
|
-
data: items,
|
14
|
-
height: getHeight(listHeight),
|
15
|
-
itemHeight: 100,
|
16
|
-
itemKey: "id"
|
17
|
-
}, function (item, index, props) {
|
18
|
-
return /*#__PURE__*/React.createElement("div", props, /*#__PURE__*/React.createElement(Item, {
|
19
|
-
item: item,
|
20
|
-
path: ['root'],
|
21
|
-
currentLevel: 0,
|
22
|
-
index: index,
|
23
|
-
ariaLevel: 1
|
24
|
-
}));
|
25
|
-
});
|
26
|
-
};
|
@@ -1,9 +0,0 @@
|
|
1
|
-
import React, { CSSProperties } from 'react';
|
2
|
-
import type { ItemOptionTransformed } from '../Inner/ui/Item/Item.types';
|
3
|
-
interface Props {
|
4
|
-
items: ItemOptionTransformed[];
|
5
|
-
listHeight?: CSSProperties['height'];
|
6
|
-
}
|
7
|
-
export declare const VirtualList: React.FC<Props>;
|
8
|
-
export {};
|
9
|
-
//# sourceMappingURL=VirtualList.d.ts.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"VirtualList.d.ts","sourceRoot":"","sources":["../../../../../../src/components/Combobox/ComboboxNew/ui/VirtualList/VirtualList.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,aAAa,EAAE,MAAM,OAAO,CAAC;AAG7C,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,6BAA6B,CAAC;AAWzE,UAAU,KAAK;IACX,KAAK,EAAE,qBAAqB,EAAE,CAAC;IAC/B,UAAU,CAAC,EAAE,aAAa,CAAC,QAAQ,CAAC,CAAC;CACxC;AAED,eAAO,MAAM,WAAW,EAAE,KAAK,CAAC,EAAE,CAAC,KAAK,CAUvC,CAAC"}
|
File without changes
|
File without changes
|