@westpac/ui 0.57.4 → 0.59.0
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/CHANGELOG.md +12 -0
- package/dist/component-type.json +1 -1
- package/dist/components/compacta/compacta.component.d.ts +1 -1
- package/dist/components/compacta/compacta.component.js +21 -1
- package/dist/components/compacta/compacta.types.d.ts +12 -0
- package/dist/components/index.d.ts +1 -0
- package/dist/components/index.js +1 -0
- package/dist/components/multi-select/components/multi-select-dropdown/multi-select-dropdown.component.d.ts +2 -0
- package/dist/components/multi-select/components/multi-select-dropdown/multi-select-dropdown.component.js +20 -0
- package/dist/components/multi-select/components/multi-select-dropdown/multi-select-dropdown.styles.d.ts +37 -0
- package/dist/components/multi-select/components/multi-select-dropdown/multi-select-dropdown.styles.js +8 -0
- package/dist/components/multi-select/components/multi-select-dropdown/multi-select-dropdown.types.d.ts +5 -0
- package/dist/components/multi-select/components/multi-select-dropdown/multi-select-dropdown.types.js +1 -0
- package/dist/components/multi-select/components/multi-select-list-box/components/multi-select-list-box-section/multi-select-list-box-section.component.d.ts +2 -0
- package/dist/components/multi-select/components/multi-select-list-box/components/multi-select-list-box-section/multi-select-list-box-section.component.js +31 -0
- package/dist/components/multi-select/components/multi-select-list-box/components/multi-select-list-box-section/multi-select-list-box-section.styles.d.ts +25 -0
- package/dist/components/multi-select/components/multi-select-list-box/components/multi-select-list-box-section/multi-select-list-box-section.styles.js +6 -0
- package/dist/components/multi-select/components/multi-select-list-box/components/multi-select-list-box-section/multi-select-list-box-section.types.d.ts +4 -0
- package/dist/components/multi-select/components/multi-select-list-box/components/multi-select-list-box-section/multi-select-list-box-section.types.js +1 -0
- package/dist/components/multi-select/components/multi-select-list-box/components/multi-select-option/multi-select-option.component.d.ts +2 -0
- package/dist/components/multi-select/components/multi-select-list-box/components/multi-select-option/multi-select-option.component.js +62 -0
- package/dist/components/multi-select/components/multi-select-list-box/components/multi-select-option/multi-select-option.styles.d.ts +82 -0
- package/dist/components/multi-select/components/multi-select-list-box/components/multi-select-option/multi-select-option.styles.js +32 -0
- package/dist/components/multi-select/components/multi-select-list-box/components/multi-select-option/multi-select-option.types.d.ts +8 -0
- package/dist/components/multi-select/components/multi-select-list-box/components/multi-select-option/multi-select-option.types.js +1 -0
- package/dist/components/multi-select/components/multi-select-list-box/components/multi-select-select-all-option/multi-select-select-all-option.component.d.ts +1 -0
- package/dist/components/multi-select/components/multi-select-list-box/components/multi-select-select-all-option/multi-select-select-all-option.component.js +93 -0
- package/dist/components/multi-select/components/multi-select-list-box/components/multi-select-select-all-option/multi-select-select-all-option.styles.d.ts +64 -0
- package/dist/components/multi-select/components/multi-select-list-box/components/multi-select-select-all-option/multi-select-select-all-option.styles.js +26 -0
- package/dist/components/multi-select/components/multi-select-list-box/multi-select-list-box.component.d.ts +2 -0
- package/dist/components/multi-select/components/multi-select-list-box/multi-select-list-box.component.js +35 -0
- package/dist/components/multi-select/components/multi-select-list-box/multi-select-list-box.styles.d.ts +43 -0
- package/dist/components/multi-select/components/multi-select-list-box/multi-select-list-box.styles.js +9 -0
- package/dist/components/multi-select/components/multi-select-list-box/multi-select-list-box.types.d.ts +5 -0
- package/dist/components/multi-select/components/multi-select-list-box/multi-select-list-box.types.js +1 -0
- package/dist/components/multi-select/components/multi-select-list-box-trigger/multi-select-list-box-trigger.component.d.ts +2 -0
- package/dist/components/multi-select/components/multi-select-list-box-trigger/multi-select-list-box-trigger.component.js +118 -0
- package/dist/components/multi-select/components/multi-select-list-box-trigger/multi-select-list-box-trigger.styles.d.ts +263 -0
- package/dist/components/multi-select/components/multi-select-list-box-trigger/multi-select-list-box-trigger.styles.js +99 -0
- package/dist/components/multi-select/components/multi-select-list-box-trigger/multi-select-list-box-trigger.types.d.ts +15 -0
- package/dist/components/multi-select/components/multi-select-list-box-trigger/multi-select-list-box-trigger.types.js +1 -0
- package/dist/components/multi-select/components/multi-select-popover/multi-select-popover.component.d.ts +2 -0
- package/dist/components/multi-select/components/multi-select-popover/multi-select-popover.component.js +52 -0
- package/dist/components/multi-select/components/multi-select-popover/multi-select-popover.styles.d.ts +31 -0
- package/dist/components/multi-select/components/multi-select-popover/multi-select-popover.styles.js +7 -0
- package/dist/components/multi-select/components/multi-select-popover/multi-select-popover.types.d.ts +6 -0
- package/dist/components/multi-select/components/multi-select-popover/multi-select-popover.types.js +1 -0
- package/dist/components/multi-select/components/multi-select-searchbar/multi-select-searchbar.component.d.ts +2 -0
- package/dist/components/multi-select/components/multi-select-searchbar/multi-select-searchbar.component.js +74 -0
- package/dist/components/multi-select/components/multi-select-searchbar/multi-select-searchbar.styles.d.ts +31 -0
- package/dist/components/multi-select/components/multi-select-searchbar/multi-select-searchbar.styles.js +7 -0
- package/dist/components/multi-select/components/multi-select-searchbar/multi-select-searchbar.types.d.ts +6 -0
- package/dist/components/multi-select/components/multi-select-searchbar/multi-select-searchbar.types.js +1 -0
- package/dist/components/multi-select/index.d.ts +2 -0
- package/dist/components/multi-select/index.js +1 -0
- package/dist/components/multi-select/multi-select.component.d.ts +7 -0
- package/dist/components/multi-select/multi-select.component.js +95 -0
- package/dist/components/multi-select/multi-select.styles.d.ts +25 -0
- package/dist/components/multi-select/multi-select.styles.js +6 -0
- package/dist/components/multi-select/multi-select.types.d.ts +61 -0
- package/dist/components/multi-select/multi-select.types.js +1 -0
- package/dist/components/multi-select/utils/filter-nodes.d.ts +2 -0
- package/dist/components/multi-select/utils/filter-nodes.js +25 -0
- package/dist/components/tooltip/components/tooltip-content/tooltip-content.component.d.ts +1 -1
- package/dist/components/tooltip/components/tooltip-content/tooltip-content.component.js +4 -2
- package/dist/components/tooltip/components/tooltip-content/tooltip-content.styles.d.ts +16 -1
- package/dist/components/tooltip/components/tooltip-content/tooltip-content.styles.js +7 -1
- package/dist/components/tooltip/components/tooltip-content/tooltip-content.types.d.ts +1 -0
- package/dist/components/tooltip/tooltip.component.d.ts +1 -1
- package/dist/components/tooltip/tooltip.component.js +4 -3
- package/dist/components/tooltip/tooltip.types.d.ts +3 -0
- package/dist/css/westpac-ui.css +366 -0
- package/dist/css/westpac-ui.min.css +366 -0
- package/package.json +4 -1
- package/src/components/compacta/compacta.component.tsx +21 -0
- package/src/components/compacta/compacta.types.ts +10 -0
- package/src/components/index.ts +1 -0
- package/src/components/multi-select/components/multi-select-dropdown/multi-select-dropdown.component.tsx +26 -0
- package/src/components/multi-select/components/multi-select-dropdown/multi-select-dropdown.styles.ts +9 -0
- package/src/components/multi-select/components/multi-select-dropdown/multi-select-dropdown.types.ts +6 -0
- package/src/components/multi-select/components/multi-select-list-box/components/multi-select-list-box-section/multi-select-list-box-section.component.tsx +42 -0
- package/src/components/multi-select/components/multi-select-list-box/components/multi-select-list-box-section/multi-select-list-box-section.styles.ts +7 -0
- package/src/components/multi-select/components/multi-select-list-box/components/multi-select-list-box-section/multi-select-list-box-section.types.ts +5 -0
- package/src/components/multi-select/components/multi-select-list-box/components/multi-select-option/multi-select-option.component.tsx +66 -0
- package/src/components/multi-select/components/multi-select-list-box/components/multi-select-option/multi-select-option.styles.ts +33 -0
- package/src/components/multi-select/components/multi-select-list-box/components/multi-select-option/multi-select-option.types.ts +7 -0
- package/src/components/multi-select/components/multi-select-list-box/components/multi-select-select-all-option/multi-select-select-all-option.component.tsx +105 -0
- package/src/components/multi-select/components/multi-select-list-box/components/multi-select-select-all-option/multi-select-select-all-option.styles.ts +22 -0
- package/src/components/multi-select/components/multi-select-list-box/multi-select-list-box.component.tsx +42 -0
- package/src/components/multi-select/components/multi-select-list-box/multi-select-list-box.styles.ts +10 -0
- package/src/components/multi-select/components/multi-select-list-box/multi-select-list-box.types.ts +6 -0
- package/src/components/multi-select/components/multi-select-list-box-trigger/multi-select-list-box-trigger.component.tsx +136 -0
- package/src/components/multi-select/components/multi-select-list-box-trigger/multi-select-list-box-trigger.styles.ts +74 -0
- package/src/components/multi-select/components/multi-select-list-box-trigger/multi-select-list-box-trigger.types.ts +19 -0
- package/src/components/multi-select/components/multi-select-popover/multi-select-popover.component.tsx +64 -0
- package/src/components/multi-select/components/multi-select-popover/multi-select-popover.styles.ts +8 -0
- package/src/components/multi-select/components/multi-select-popover/multi-select-popover.types.ts +8 -0
- package/src/components/multi-select/components/multi-select-searchbar/multi-select-searchbar.component.tsx +81 -0
- package/src/components/multi-select/components/multi-select-searchbar/multi-select-searchbar.styles.ts +8 -0
- package/src/components/multi-select/components/multi-select-searchbar/multi-select-searchbar.types.ts +7 -0
- package/src/components/multi-select/index.ts +2 -0
- package/src/components/multi-select/multi-select.component.tsx +116 -0
- package/src/components/multi-select/multi-select.styles.ts +7 -0
- package/src/components/multi-select/multi-select.types.ts +60 -0
- package/src/components/multi-select/utils/filter-nodes.ts +29 -0
- package/src/components/tooltip/components/tooltip-content/tooltip-content.component.tsx +2 -2
- package/src/components/tooltip/components/tooltip-content/tooltip-content.styles.ts +6 -0
- package/src/components/tooltip/components/tooltip-content/tooltip-content.types.ts +1 -0
- package/src/components/tooltip/tooltip.component.tsx +7 -3
- package/src/components/tooltip/tooltip.types.ts +4 -0
|
@@ -3339,6 +3339,15 @@ body {
|
|
|
3339
3339
|
.right-3 {
|
|
3340
3340
|
right: 1.125rem;
|
|
3341
3341
|
}
|
|
3342
|
+
.right-6\.5 {
|
|
3343
|
+
right: 2.4375rem;
|
|
3344
|
+
}
|
|
3345
|
+
.right-8\.5 {
|
|
3346
|
+
right: 3.1875rem;
|
|
3347
|
+
}
|
|
3348
|
+
.right-9\.5 {
|
|
3349
|
+
right: 3.5625rem;
|
|
3350
|
+
}
|
|
3342
3351
|
.right-\[-1px\] {
|
|
3343
3352
|
right: -1px;
|
|
3344
3353
|
}
|
|
@@ -3369,6 +3378,9 @@ body {
|
|
|
3369
3378
|
.top-\[5vh\] {
|
|
3370
3379
|
top: 5vh;
|
|
3371
3380
|
}
|
|
3381
|
+
.top-auto {
|
|
3382
|
+
top: auto;
|
|
3383
|
+
}
|
|
3372
3384
|
.top-full {
|
|
3373
3385
|
top: 100%;
|
|
3374
3386
|
}
|
|
@@ -3505,6 +3517,14 @@ body {
|
|
|
3505
3517
|
margin-top: -0.75rem;
|
|
3506
3518
|
margin-bottom: -0.75rem;
|
|
3507
3519
|
}
|
|
3520
|
+
.-my-\[0\.3125rem\] {
|
|
3521
|
+
margin-top: -0.3125rem;
|
|
3522
|
+
margin-bottom: -0.3125rem;
|
|
3523
|
+
}
|
|
3524
|
+
.-my-\[0\.5rem\] {
|
|
3525
|
+
margin-top: -0.5rem;
|
|
3526
|
+
margin-bottom: -0.5rem;
|
|
3527
|
+
}
|
|
3508
3528
|
.mx-2 {
|
|
3509
3529
|
margin-left: 0.75rem;
|
|
3510
3530
|
margin-right: 0.75rem;
|
|
@@ -3551,18 +3571,45 @@ body {
|
|
|
3551
3571
|
.-mb-1 {
|
|
3552
3572
|
margin-bottom: -0.375rem;
|
|
3553
3573
|
}
|
|
3574
|
+
.-mb-\[0\.25rem\] {
|
|
3575
|
+
margin-bottom: -0.25rem;
|
|
3576
|
+
}
|
|
3577
|
+
.-mb-\[0\.625rem\] {
|
|
3578
|
+
margin-bottom: -0.625rem;
|
|
3579
|
+
}
|
|
3554
3580
|
.-ml-2 {
|
|
3555
3581
|
margin-left: -0.75rem;
|
|
3556
3582
|
}
|
|
3583
|
+
.-mr-1\.5 {
|
|
3584
|
+
margin-right: -0.5625rem;
|
|
3585
|
+
}
|
|
3586
|
+
.-mr-2 {
|
|
3587
|
+
margin-right: -0.75rem;
|
|
3588
|
+
}
|
|
3589
|
+
.-mr-2\.5 {
|
|
3590
|
+
margin-right: -0.9375rem;
|
|
3591
|
+
}
|
|
3592
|
+
.-mr-3 {
|
|
3593
|
+
margin-right: -1.125rem;
|
|
3594
|
+
}
|
|
3595
|
+
.-mt-0\.5 {
|
|
3596
|
+
margin-top: -0.1875rem;
|
|
3597
|
+
}
|
|
3557
3598
|
.-mt-1 {
|
|
3558
3599
|
margin-top: -0.375rem;
|
|
3559
3600
|
}
|
|
3601
|
+
.-mt-1\.5 {
|
|
3602
|
+
margin-top: -0.5625rem;
|
|
3603
|
+
}
|
|
3560
3604
|
.-mt-2 {
|
|
3561
3605
|
margin-top: -0.75rem;
|
|
3562
3606
|
}
|
|
3563
3607
|
.mb-0 {
|
|
3564
3608
|
margin-bottom: 0rem;
|
|
3565
3609
|
}
|
|
3610
|
+
.mb-0\.5 {
|
|
3611
|
+
margin-bottom: 0.1875rem;
|
|
3612
|
+
}
|
|
3566
3613
|
.mb-1 {
|
|
3567
3614
|
margin-bottom: 0.375rem;
|
|
3568
3615
|
}
|
|
@@ -3587,6 +3634,9 @@ body {
|
|
|
3587
3634
|
.ml-1\.5 {
|
|
3588
3635
|
margin-left: 0.5625rem;
|
|
3589
3636
|
}
|
|
3637
|
+
.ml-5 {
|
|
3638
|
+
margin-left: 1.875rem;
|
|
3639
|
+
}
|
|
3590
3640
|
.ml-\[-1px\] {
|
|
3591
3641
|
margin-left: -1px;
|
|
3592
3642
|
}
|
|
@@ -3772,6 +3822,9 @@ body {
|
|
|
3772
3822
|
height: -moz-fit-content;
|
|
3773
3823
|
height: fit-content;
|
|
3774
3824
|
}
|
|
3825
|
+
.\!h-auto {
|
|
3826
|
+
height: auto !important;
|
|
3827
|
+
}
|
|
3775
3828
|
.h-1 {
|
|
3776
3829
|
height: 0.375rem;
|
|
3777
3830
|
}
|
|
@@ -3922,6 +3975,9 @@ body {
|
|
|
3922
3975
|
.max-h-\[400px\] {
|
|
3923
3976
|
max-height: 400px;
|
|
3924
3977
|
}
|
|
3978
|
+
.max-h-\[432px\] {
|
|
3979
|
+
max-height: 432px;
|
|
3980
|
+
}
|
|
3925
3981
|
.max-h-\[80vh\] {
|
|
3926
3982
|
max-height: 80vh;
|
|
3927
3983
|
}
|
|
@@ -3937,6 +3993,18 @@ body {
|
|
|
3937
3993
|
.min-h-12 {
|
|
3938
3994
|
min-height: 4.5rem;
|
|
3939
3995
|
}
|
|
3996
|
+
.min-h-5 {
|
|
3997
|
+
min-height: 1.875rem;
|
|
3998
|
+
}
|
|
3999
|
+
.min-h-6 {
|
|
4000
|
+
min-height: 2.25rem;
|
|
4001
|
+
}
|
|
4002
|
+
.min-h-7 {
|
|
4003
|
+
min-height: 2.625rem;
|
|
4004
|
+
}
|
|
4005
|
+
.min-h-8 {
|
|
4006
|
+
min-height: 3rem;
|
|
4007
|
+
}
|
|
3940
4008
|
.min-h-9 {
|
|
3941
4009
|
min-height: 3.375rem;
|
|
3942
4010
|
}
|
|
@@ -3967,6 +4035,9 @@ body {
|
|
|
3967
4035
|
.w-3 {
|
|
3968
4036
|
width: 1.125rem;
|
|
3969
4037
|
}
|
|
4038
|
+
.w-3\/5 {
|
|
4039
|
+
width: 60%;
|
|
4040
|
+
}
|
|
3970
4041
|
.w-6 {
|
|
3971
4042
|
width: 2.25rem;
|
|
3972
4043
|
}
|
|
@@ -4320,6 +4391,11 @@ body {
|
|
|
4320
4391
|
.touch-manipulation {
|
|
4321
4392
|
touch-action: manipulation;
|
|
4322
4393
|
}
|
|
4394
|
+
.select-all {
|
|
4395
|
+
-webkit-user-select: all;
|
|
4396
|
+
-moz-user-select: all;
|
|
4397
|
+
user-select: all;
|
|
4398
|
+
}
|
|
4323
4399
|
.resize {
|
|
4324
4400
|
resize: both;
|
|
4325
4401
|
}
|
|
@@ -4787,6 +4863,10 @@ body {
|
|
|
4787
4863
|
--tw-border-opacity: 1;
|
|
4788
4864
|
border-top-color: rgba(var(--colors-border), var(--tw-border-opacity, 1));
|
|
4789
4865
|
}
|
|
4866
|
+
.border-t-hero {
|
|
4867
|
+
--tw-border-opacity: 1;
|
|
4868
|
+
border-top-color: rgba(var(--colors-hero), var(--tw-border-opacity, 1));
|
|
4869
|
+
}
|
|
4790
4870
|
.border-opacity-0 {
|
|
4791
4871
|
--tw-border-opacity: 0;
|
|
4792
4872
|
}
|
|
@@ -4855,6 +4935,9 @@ body {
|
|
|
4855
4935
|
.bg-black\/20 {
|
|
4856
4936
|
background-color: rgb(0 0 0 / 0.2);
|
|
4857
4937
|
}
|
|
4938
|
+
.bg-black\/5 {
|
|
4939
|
+
background-color: rgb(0 0 0 / 0.05);
|
|
4940
|
+
}
|
|
4858
4941
|
.bg-black\/50 {
|
|
4859
4942
|
background-color: rgb(0 0 0 / 0.5);
|
|
4860
4943
|
}
|
|
@@ -6508,6 +6591,9 @@ body {
|
|
|
6508
6591
|
.\!outline-offset-0 {
|
|
6509
6592
|
outline-offset: 0px !important;
|
|
6510
6593
|
}
|
|
6594
|
+
.\!outline-offset-\[-2px\] {
|
|
6595
|
+
outline-offset: -2px !important;
|
|
6596
|
+
}
|
|
6511
6597
|
.\!outline-offset-\[-3px\] {
|
|
6512
6598
|
outline-offset: -3px !important;
|
|
6513
6599
|
}
|
|
@@ -6534,6 +6620,11 @@ body {
|
|
|
6534
6620
|
transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
|
|
6535
6621
|
transition-duration: 150ms;
|
|
6536
6622
|
}
|
|
6623
|
+
.transition-\[background-color\] {
|
|
6624
|
+
transition-property: background-color;
|
|
6625
|
+
transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
|
|
6626
|
+
transition-duration: 150ms;
|
|
6627
|
+
}
|
|
6537
6628
|
.transition-\[background\] {
|
|
6538
6629
|
transition-property: background;
|
|
6539
6630
|
transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
|
|
@@ -8359,6 +8450,16 @@ body {
|
|
|
8359
8450
|
outline-offset: 3px;
|
|
8360
8451
|
outline-color: rgb(var(--colors-focus));
|
|
8361
8452
|
}
|
|
8453
|
+
.focus-visible\:bg-background:focus-visible {
|
|
8454
|
+
--tw-bg-opacity: 1;
|
|
8455
|
+
background-color: rgba(var(--colors-background), var(--tw-bg-opacity, 1));
|
|
8456
|
+
}
|
|
8457
|
+
.focus-visible\:outline-2:focus-visible {
|
|
8458
|
+
outline-width: 2px;
|
|
8459
|
+
}
|
|
8460
|
+
.focus-visible\:\!outline-offset-\[-2px\]:focus-visible {
|
|
8461
|
+
outline-offset: -2px !important;
|
|
8462
|
+
}
|
|
8362
8463
|
.focus-visible\:focus-outline:focus-visible {
|
|
8363
8464
|
outline-style: solid;
|
|
8364
8465
|
outline-width: 2px;
|
|
@@ -8807,6 +8908,15 @@ body {
|
|
|
8807
8908
|
.xsl\:right-0 {
|
|
8808
8909
|
right: 0rem;
|
|
8809
8910
|
}
|
|
8911
|
+
.xsl\:right-6\.5 {
|
|
8912
|
+
right: 2.4375rem;
|
|
8913
|
+
}
|
|
8914
|
+
.xsl\:right-8\.5 {
|
|
8915
|
+
right: 3.1875rem;
|
|
8916
|
+
}
|
|
8917
|
+
.xsl\:right-9\.5 {
|
|
8918
|
+
right: 3.5625rem;
|
|
8919
|
+
}
|
|
8810
8920
|
.xsl\:top-0 {
|
|
8811
8921
|
top: 0rem;
|
|
8812
8922
|
}
|
|
@@ -8918,6 +9028,14 @@ body {
|
|
|
8918
9028
|
.xsl\:row-span-6 {
|
|
8919
9029
|
grid-row: span 6 / span 6;
|
|
8920
9030
|
}
|
|
9031
|
+
.xsl\:-my-\[0\.3125rem\] {
|
|
9032
|
+
margin-top: -0.3125rem;
|
|
9033
|
+
margin-bottom: -0.3125rem;
|
|
9034
|
+
}
|
|
9035
|
+
.xsl\:-my-\[0\.5rem\] {
|
|
9036
|
+
margin-top: -0.5rem;
|
|
9037
|
+
margin-bottom: -0.5rem;
|
|
9038
|
+
}
|
|
8921
9039
|
.xsl\:mx-\[-8vw\] {
|
|
8922
9040
|
margin-left: -8vw;
|
|
8923
9041
|
margin-right: -8vw;
|
|
@@ -8930,9 +9048,33 @@ body {
|
|
|
8930
9048
|
margin-top: 0.75rem;
|
|
8931
9049
|
margin-bottom: 0.75rem;
|
|
8932
9050
|
}
|
|
9051
|
+
.xsl\:-mb-\[0\.25rem\] {
|
|
9052
|
+
margin-bottom: -0.25rem;
|
|
9053
|
+
}
|
|
9054
|
+
.xsl\:-mb-\[0\.625rem\] {
|
|
9055
|
+
margin-bottom: -0.625rem;
|
|
9056
|
+
}
|
|
9057
|
+
.xsl\:-mr-1\.5 {
|
|
9058
|
+
margin-right: -0.5625rem;
|
|
9059
|
+
}
|
|
9060
|
+
.xsl\:-mr-2 {
|
|
9061
|
+
margin-right: -0.75rem;
|
|
9062
|
+
}
|
|
9063
|
+
.xsl\:-mr-2\.5 {
|
|
9064
|
+
margin-right: -0.9375rem;
|
|
9065
|
+
}
|
|
9066
|
+
.xsl\:-mr-3 {
|
|
9067
|
+
margin-right: -1.125rem;
|
|
9068
|
+
}
|
|
9069
|
+
.xsl\:-mt-0\.5 {
|
|
9070
|
+
margin-top: -0.1875rem;
|
|
9071
|
+
}
|
|
8933
9072
|
.xsl\:-mt-1 {
|
|
8934
9073
|
margin-top: -0.375rem;
|
|
8935
9074
|
}
|
|
9075
|
+
.xsl\:-mt-1\.5 {
|
|
9076
|
+
margin-top: -0.5625rem;
|
|
9077
|
+
}
|
|
8936
9078
|
.xsl\:-mt-2 {
|
|
8937
9079
|
margin-top: -0.75rem;
|
|
8938
9080
|
}
|
|
@@ -9101,6 +9243,18 @@ body {
|
|
|
9101
9243
|
.xsl\:min-h-12 {
|
|
9102
9244
|
min-height: 4.5rem;
|
|
9103
9245
|
}
|
|
9246
|
+
.xsl\:min-h-5 {
|
|
9247
|
+
min-height: 1.875rem;
|
|
9248
|
+
}
|
|
9249
|
+
.xsl\:min-h-6 {
|
|
9250
|
+
min-height: 2.25rem;
|
|
9251
|
+
}
|
|
9252
|
+
.xsl\:min-h-7 {
|
|
9253
|
+
min-height: 2.625rem;
|
|
9254
|
+
}
|
|
9255
|
+
.xsl\:min-h-8 {
|
|
9256
|
+
min-height: 3rem;
|
|
9257
|
+
}
|
|
9104
9258
|
.xsl\:min-h-9 {
|
|
9105
9259
|
min-height: 3.375rem;
|
|
9106
9260
|
}
|
|
@@ -10498,6 +10652,15 @@ body {
|
|
|
10498
10652
|
.sm\:right-0 {
|
|
10499
10653
|
right: 0rem;
|
|
10500
10654
|
}
|
|
10655
|
+
.sm\:right-6\.5 {
|
|
10656
|
+
right: 2.4375rem;
|
|
10657
|
+
}
|
|
10658
|
+
.sm\:right-8\.5 {
|
|
10659
|
+
right: 3.1875rem;
|
|
10660
|
+
}
|
|
10661
|
+
.sm\:right-9\.5 {
|
|
10662
|
+
right: 3.5625rem;
|
|
10663
|
+
}
|
|
10501
10664
|
.sm\:top-0 {
|
|
10502
10665
|
top: 0rem;
|
|
10503
10666
|
}
|
|
@@ -10606,6 +10769,14 @@ body {
|
|
|
10606
10769
|
.sm\:row-span-6 {
|
|
10607
10770
|
grid-row: span 6 / span 6;
|
|
10608
10771
|
}
|
|
10772
|
+
.sm\:-my-\[0\.3125rem\] {
|
|
10773
|
+
margin-top: -0.3125rem;
|
|
10774
|
+
margin-bottom: -0.3125rem;
|
|
10775
|
+
}
|
|
10776
|
+
.sm\:-my-\[0\.5rem\] {
|
|
10777
|
+
margin-top: -0.5rem;
|
|
10778
|
+
margin-bottom: -0.5rem;
|
|
10779
|
+
}
|
|
10609
10780
|
.sm\:mx-\[-8vw\] {
|
|
10610
10781
|
margin-left: -8vw;
|
|
10611
10782
|
margin-right: -8vw;
|
|
@@ -10618,12 +10789,36 @@ body {
|
|
|
10618
10789
|
margin-top: 0.75rem;
|
|
10619
10790
|
margin-bottom: 0.75rem;
|
|
10620
10791
|
}
|
|
10792
|
+
.sm\:-mb-\[0\.25rem\] {
|
|
10793
|
+
margin-bottom: -0.25rem;
|
|
10794
|
+
}
|
|
10795
|
+
.sm\:-mb-\[0\.625rem\] {
|
|
10796
|
+
margin-bottom: -0.625rem;
|
|
10797
|
+
}
|
|
10621
10798
|
.sm\:-ml-4 {
|
|
10622
10799
|
margin-left: -1.5rem;
|
|
10623
10800
|
}
|
|
10801
|
+
.sm\:-mr-1\.5 {
|
|
10802
|
+
margin-right: -0.5625rem;
|
|
10803
|
+
}
|
|
10804
|
+
.sm\:-mr-2 {
|
|
10805
|
+
margin-right: -0.75rem;
|
|
10806
|
+
}
|
|
10807
|
+
.sm\:-mr-2\.5 {
|
|
10808
|
+
margin-right: -0.9375rem;
|
|
10809
|
+
}
|
|
10810
|
+
.sm\:-mr-3 {
|
|
10811
|
+
margin-right: -1.125rem;
|
|
10812
|
+
}
|
|
10813
|
+
.sm\:-mt-0\.5 {
|
|
10814
|
+
margin-top: -0.1875rem;
|
|
10815
|
+
}
|
|
10624
10816
|
.sm\:-mt-1 {
|
|
10625
10817
|
margin-top: -0.375rem;
|
|
10626
10818
|
}
|
|
10819
|
+
.sm\:-mt-1\.5 {
|
|
10820
|
+
margin-top: -0.5625rem;
|
|
10821
|
+
}
|
|
10627
10822
|
.sm\:-mt-2 {
|
|
10628
10823
|
margin-top: -0.75rem;
|
|
10629
10824
|
}
|
|
@@ -10809,6 +11004,18 @@ body {
|
|
|
10809
11004
|
.sm\:min-h-12 {
|
|
10810
11005
|
min-height: 4.5rem;
|
|
10811
11006
|
}
|
|
11007
|
+
.sm\:min-h-5 {
|
|
11008
|
+
min-height: 1.875rem;
|
|
11009
|
+
}
|
|
11010
|
+
.sm\:min-h-6 {
|
|
11011
|
+
min-height: 2.25rem;
|
|
11012
|
+
}
|
|
11013
|
+
.sm\:min-h-7 {
|
|
11014
|
+
min-height: 2.625rem;
|
|
11015
|
+
}
|
|
11016
|
+
.sm\:min-h-8 {
|
|
11017
|
+
min-height: 3rem;
|
|
11018
|
+
}
|
|
10812
11019
|
.sm\:min-h-9 {
|
|
10813
11020
|
min-height: 3.375rem;
|
|
10814
11021
|
}
|
|
@@ -12297,6 +12504,15 @@ body {
|
|
|
12297
12504
|
.md\:right-0 {
|
|
12298
12505
|
right: 0rem;
|
|
12299
12506
|
}
|
|
12507
|
+
.md\:right-6\.5 {
|
|
12508
|
+
right: 2.4375rem;
|
|
12509
|
+
}
|
|
12510
|
+
.md\:right-8\.5 {
|
|
12511
|
+
right: 3.1875rem;
|
|
12512
|
+
}
|
|
12513
|
+
.md\:right-9\.5 {
|
|
12514
|
+
right: 3.5625rem;
|
|
12515
|
+
}
|
|
12300
12516
|
.md\:top-0 {
|
|
12301
12517
|
top: 0rem;
|
|
12302
12518
|
}
|
|
@@ -12413,6 +12629,14 @@ body {
|
|
|
12413
12629
|
margin-top: -1.125rem;
|
|
12414
12630
|
margin-bottom: -1.125rem;
|
|
12415
12631
|
}
|
|
12632
|
+
.md\:-my-\[0\.3125rem\] {
|
|
12633
|
+
margin-top: -0.3125rem;
|
|
12634
|
+
margin-bottom: -0.3125rem;
|
|
12635
|
+
}
|
|
12636
|
+
.md\:-my-\[0\.5rem\] {
|
|
12637
|
+
margin-top: -0.5rem;
|
|
12638
|
+
margin-bottom: -0.5rem;
|
|
12639
|
+
}
|
|
12416
12640
|
.md\:mx-\[-8vw\] {
|
|
12417
12641
|
margin-left: -8vw;
|
|
12418
12642
|
margin-right: -8vw;
|
|
@@ -12425,12 +12649,36 @@ body {
|
|
|
12425
12649
|
margin-top: 0.75rem;
|
|
12426
12650
|
margin-bottom: 0.75rem;
|
|
12427
12651
|
}
|
|
12652
|
+
.md\:-mb-\[0\.25rem\] {
|
|
12653
|
+
margin-bottom: -0.25rem;
|
|
12654
|
+
}
|
|
12655
|
+
.md\:-mb-\[0\.625rem\] {
|
|
12656
|
+
margin-bottom: -0.625rem;
|
|
12657
|
+
}
|
|
12428
12658
|
.md\:-ml-3 {
|
|
12429
12659
|
margin-left: -1.125rem;
|
|
12430
12660
|
}
|
|
12661
|
+
.md\:-mr-1\.5 {
|
|
12662
|
+
margin-right: -0.5625rem;
|
|
12663
|
+
}
|
|
12664
|
+
.md\:-mr-2 {
|
|
12665
|
+
margin-right: -0.75rem;
|
|
12666
|
+
}
|
|
12667
|
+
.md\:-mr-2\.5 {
|
|
12668
|
+
margin-right: -0.9375rem;
|
|
12669
|
+
}
|
|
12670
|
+
.md\:-mr-3 {
|
|
12671
|
+
margin-right: -1.125rem;
|
|
12672
|
+
}
|
|
12673
|
+
.md\:-mt-0\.5 {
|
|
12674
|
+
margin-top: -0.1875rem;
|
|
12675
|
+
}
|
|
12431
12676
|
.md\:-mt-1 {
|
|
12432
12677
|
margin-top: -0.375rem;
|
|
12433
12678
|
}
|
|
12679
|
+
.md\:-mt-1\.5 {
|
|
12680
|
+
margin-top: -0.5625rem;
|
|
12681
|
+
}
|
|
12434
12682
|
.md\:-mt-2 {
|
|
12435
12683
|
margin-top: -0.75rem;
|
|
12436
12684
|
}
|
|
@@ -12608,6 +12856,18 @@ body {
|
|
|
12608
12856
|
.md\:min-h-12 {
|
|
12609
12857
|
min-height: 4.5rem;
|
|
12610
12858
|
}
|
|
12859
|
+
.md\:min-h-5 {
|
|
12860
|
+
min-height: 1.875rem;
|
|
12861
|
+
}
|
|
12862
|
+
.md\:min-h-6 {
|
|
12863
|
+
min-height: 2.25rem;
|
|
12864
|
+
}
|
|
12865
|
+
.md\:min-h-7 {
|
|
12866
|
+
min-height: 2.625rem;
|
|
12867
|
+
}
|
|
12868
|
+
.md\:min-h-8 {
|
|
12869
|
+
min-height: 3rem;
|
|
12870
|
+
}
|
|
12611
12871
|
.md\:min-h-9 {
|
|
12612
12872
|
min-height: 3.375rem;
|
|
12613
12873
|
}
|
|
@@ -14109,6 +14369,15 @@ body {
|
|
|
14109
14369
|
.lg\:right-0 {
|
|
14110
14370
|
right: 0rem;
|
|
14111
14371
|
}
|
|
14372
|
+
.lg\:right-6\.5 {
|
|
14373
|
+
right: 2.4375rem;
|
|
14374
|
+
}
|
|
14375
|
+
.lg\:right-8\.5 {
|
|
14376
|
+
right: 3.1875rem;
|
|
14377
|
+
}
|
|
14378
|
+
.lg\:right-9\.5 {
|
|
14379
|
+
right: 3.5625rem;
|
|
14380
|
+
}
|
|
14112
14381
|
.lg\:top-0 {
|
|
14113
14382
|
top: 0rem;
|
|
14114
14383
|
}
|
|
@@ -14217,6 +14486,14 @@ body {
|
|
|
14217
14486
|
.lg\:row-span-6 {
|
|
14218
14487
|
grid-row: span 6 / span 6;
|
|
14219
14488
|
}
|
|
14489
|
+
.lg\:-my-\[0\.3125rem\] {
|
|
14490
|
+
margin-top: -0.3125rem;
|
|
14491
|
+
margin-bottom: -0.3125rem;
|
|
14492
|
+
}
|
|
14493
|
+
.lg\:-my-\[0\.5rem\] {
|
|
14494
|
+
margin-top: -0.5rem;
|
|
14495
|
+
margin-bottom: -0.5rem;
|
|
14496
|
+
}
|
|
14220
14497
|
.lg\:mx-\[-8vw\] {
|
|
14221
14498
|
margin-left: -8vw;
|
|
14222
14499
|
margin-right: -8vw;
|
|
@@ -14229,9 +14506,33 @@ body {
|
|
|
14229
14506
|
margin-top: 0.75rem;
|
|
14230
14507
|
margin-bottom: 0.75rem;
|
|
14231
14508
|
}
|
|
14509
|
+
.lg\:-mb-\[0\.25rem\] {
|
|
14510
|
+
margin-bottom: -0.25rem;
|
|
14511
|
+
}
|
|
14512
|
+
.lg\:-mb-\[0\.625rem\] {
|
|
14513
|
+
margin-bottom: -0.625rem;
|
|
14514
|
+
}
|
|
14515
|
+
.lg\:-mr-1\.5 {
|
|
14516
|
+
margin-right: -0.5625rem;
|
|
14517
|
+
}
|
|
14518
|
+
.lg\:-mr-2 {
|
|
14519
|
+
margin-right: -0.75rem;
|
|
14520
|
+
}
|
|
14521
|
+
.lg\:-mr-2\.5 {
|
|
14522
|
+
margin-right: -0.9375rem;
|
|
14523
|
+
}
|
|
14524
|
+
.lg\:-mr-3 {
|
|
14525
|
+
margin-right: -1.125rem;
|
|
14526
|
+
}
|
|
14527
|
+
.lg\:-mt-0\.5 {
|
|
14528
|
+
margin-top: -0.1875rem;
|
|
14529
|
+
}
|
|
14232
14530
|
.lg\:-mt-1 {
|
|
14233
14531
|
margin-top: -0.375rem;
|
|
14234
14532
|
}
|
|
14533
|
+
.lg\:-mt-1\.5 {
|
|
14534
|
+
margin-top: -0.5625rem;
|
|
14535
|
+
}
|
|
14235
14536
|
.lg\:-mt-2 {
|
|
14236
14537
|
margin-top: -0.75rem;
|
|
14237
14538
|
}
|
|
@@ -14403,6 +14704,18 @@ body {
|
|
|
14403
14704
|
.lg\:min-h-12 {
|
|
14404
14705
|
min-height: 4.5rem;
|
|
14405
14706
|
}
|
|
14707
|
+
.lg\:min-h-5 {
|
|
14708
|
+
min-height: 1.875rem;
|
|
14709
|
+
}
|
|
14710
|
+
.lg\:min-h-6 {
|
|
14711
|
+
min-height: 2.25rem;
|
|
14712
|
+
}
|
|
14713
|
+
.lg\:min-h-7 {
|
|
14714
|
+
min-height: 2.625rem;
|
|
14715
|
+
}
|
|
14716
|
+
.lg\:min-h-8 {
|
|
14717
|
+
min-height: 3rem;
|
|
14718
|
+
}
|
|
14406
14719
|
.lg\:min-h-9 {
|
|
14407
14720
|
min-height: 3.375rem;
|
|
14408
14721
|
}
|
|
@@ -15847,6 +16160,15 @@ body {
|
|
|
15847
16160
|
.xl\:right-0 {
|
|
15848
16161
|
right: 0rem;
|
|
15849
16162
|
}
|
|
16163
|
+
.xl\:right-6\.5 {
|
|
16164
|
+
right: 2.4375rem;
|
|
16165
|
+
}
|
|
16166
|
+
.xl\:right-8\.5 {
|
|
16167
|
+
right: 3.1875rem;
|
|
16168
|
+
}
|
|
16169
|
+
.xl\:right-9\.5 {
|
|
16170
|
+
right: 3.5625rem;
|
|
16171
|
+
}
|
|
15850
16172
|
.xl\:top-0 {
|
|
15851
16173
|
top: 0rem;
|
|
15852
16174
|
}
|
|
@@ -15955,6 +16277,14 @@ body {
|
|
|
15955
16277
|
.xl\:row-span-6 {
|
|
15956
16278
|
grid-row: span 6 / span 6;
|
|
15957
16279
|
}
|
|
16280
|
+
.xl\:-my-\[0\.3125rem\] {
|
|
16281
|
+
margin-top: -0.3125rem;
|
|
16282
|
+
margin-bottom: -0.3125rem;
|
|
16283
|
+
}
|
|
16284
|
+
.xl\:-my-\[0\.5rem\] {
|
|
16285
|
+
margin-top: -0.5rem;
|
|
16286
|
+
margin-bottom: -0.5rem;
|
|
16287
|
+
}
|
|
15958
16288
|
.xl\:mx-\[-8vw\] {
|
|
15959
16289
|
margin-left: -8vw;
|
|
15960
16290
|
margin-right: -8vw;
|
|
@@ -15967,9 +16297,33 @@ body {
|
|
|
15967
16297
|
margin-top: 0.75rem;
|
|
15968
16298
|
margin-bottom: 0.75rem;
|
|
15969
16299
|
}
|
|
16300
|
+
.xl\:-mb-\[0\.25rem\] {
|
|
16301
|
+
margin-bottom: -0.25rem;
|
|
16302
|
+
}
|
|
16303
|
+
.xl\:-mb-\[0\.625rem\] {
|
|
16304
|
+
margin-bottom: -0.625rem;
|
|
16305
|
+
}
|
|
16306
|
+
.xl\:-mr-1\.5 {
|
|
16307
|
+
margin-right: -0.5625rem;
|
|
16308
|
+
}
|
|
16309
|
+
.xl\:-mr-2 {
|
|
16310
|
+
margin-right: -0.75rem;
|
|
16311
|
+
}
|
|
16312
|
+
.xl\:-mr-2\.5 {
|
|
16313
|
+
margin-right: -0.9375rem;
|
|
16314
|
+
}
|
|
16315
|
+
.xl\:-mr-3 {
|
|
16316
|
+
margin-right: -1.125rem;
|
|
16317
|
+
}
|
|
16318
|
+
.xl\:-mt-0\.5 {
|
|
16319
|
+
margin-top: -0.1875rem;
|
|
16320
|
+
}
|
|
15970
16321
|
.xl\:-mt-1 {
|
|
15971
16322
|
margin-top: -0.375rem;
|
|
15972
16323
|
}
|
|
16324
|
+
.xl\:-mt-1\.5 {
|
|
16325
|
+
margin-top: -0.5625rem;
|
|
16326
|
+
}
|
|
15973
16327
|
.xl\:-mt-2 {
|
|
15974
16328
|
margin-top: -0.75rem;
|
|
15975
16329
|
}
|
|
@@ -16133,6 +16487,18 @@ body {
|
|
|
16133
16487
|
.xl\:min-h-12 {
|
|
16134
16488
|
min-height: 4.5rem;
|
|
16135
16489
|
}
|
|
16490
|
+
.xl\:min-h-5 {
|
|
16491
|
+
min-height: 1.875rem;
|
|
16492
|
+
}
|
|
16493
|
+
.xl\:min-h-6 {
|
|
16494
|
+
min-height: 2.25rem;
|
|
16495
|
+
}
|
|
16496
|
+
.xl\:min-h-7 {
|
|
16497
|
+
min-height: 2.625rem;
|
|
16498
|
+
}
|
|
16499
|
+
.xl\:min-h-8 {
|
|
16500
|
+
min-height: 3rem;
|
|
16501
|
+
}
|
|
16136
16502
|
.xl\:min-h-9 {
|
|
16137
16503
|
min-height: 3.375rem;
|
|
16138
16504
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@westpac/ui",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.59.0",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"sideEffects": false,
|
|
6
6
|
"type": "module",
|
|
@@ -130,6 +130,9 @@
|
|
|
130
130
|
"./modal": {
|
|
131
131
|
"default": "./dist/components/modal/index.js"
|
|
132
132
|
},
|
|
133
|
+
"./multi-select": {
|
|
134
|
+
"default": "./dist/components/multi-select/index.js"
|
|
135
|
+
},
|
|
133
136
|
"./pagination": {
|
|
134
137
|
"default": "./dist/components/pagination/index.js"
|
|
135
138
|
},
|
|
@@ -24,6 +24,7 @@ export function Compacta({
|
|
|
24
24
|
children,
|
|
25
25
|
titleTag: Tag = 'h3',
|
|
26
26
|
addText = 'Add another',
|
|
27
|
+
initialCompactas,
|
|
27
28
|
...props
|
|
28
29
|
}: CompactaProps) {
|
|
29
30
|
const [initial, setInitial] = useState(true);
|
|
@@ -118,6 +119,26 @@ export function Compacta({
|
|
|
118
119
|
}
|
|
119
120
|
}, [items.length, action]);
|
|
120
121
|
|
|
122
|
+
useEffect(() => {
|
|
123
|
+
if (initialCompactas) {
|
|
124
|
+
const newItems = initialCompactas.map((item, index) => {
|
|
125
|
+
const itemId = item.id ?? `${id}-${generateID()}`;
|
|
126
|
+
return {
|
|
127
|
+
id: itemId,
|
|
128
|
+
open: index === initialCompactas.length - 1 ? true : false,
|
|
129
|
+
delay: false,
|
|
130
|
+
title: {
|
|
131
|
+
primary: item.title?.primary ?? '',
|
|
132
|
+
secondary: item.title?.secondary ?? '',
|
|
133
|
+
tertiary: item.title?.tertiary ?? '',
|
|
134
|
+
},
|
|
135
|
+
};
|
|
136
|
+
});
|
|
137
|
+
setItems(newItems);
|
|
138
|
+
}
|
|
139
|
+
// eslint-disable-next-line react-hooks/exhaustive-deps
|
|
140
|
+
}, []);
|
|
141
|
+
|
|
121
142
|
const styles = compactaStyles({});
|
|
122
143
|
|
|
123
144
|
return (
|
|
@@ -9,6 +9,16 @@ export type CompactaProps = {
|
|
|
9
9
|
* Component to repeat
|
|
10
10
|
*/
|
|
11
11
|
children: (...props: ContentProps[]) => ReactNode;
|
|
12
|
+
/**
|
|
13
|
+
* The initial compactas to render. Each compacta needs a unique id if you want to pre-fill values.
|
|
14
|
+
* Each object contained within the array represents a compacta.
|
|
15
|
+
*/
|
|
16
|
+
initialCompactas?: {
|
|
17
|
+
// Compacta id
|
|
18
|
+
id?: string;
|
|
19
|
+
// Titles to pre-fill, won't be done automatically
|
|
20
|
+
title?: { primary?: string; secondary?: string; tertiary?: string };
|
|
21
|
+
}[];
|
|
12
22
|
/**
|
|
13
23
|
* Tag for primary title
|
|
14
24
|
* @default h3
|
package/src/components/index.ts
CHANGED
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
'use client';
|
|
2
|
+
|
|
3
|
+
import React, { useContext, useRef } from 'react';
|
|
4
|
+
|
|
5
|
+
import { ButtonRef } from '../../../../components/button/button.types.js';
|
|
6
|
+
import { MultiSelectListBox } from '../../components/multi-select-list-box/multi-select-list-box.component.js';
|
|
7
|
+
import { MultiSelectContext } from '../../multi-select.component.js';
|
|
8
|
+
import { MultiSelectPopover } from '../multi-select-popover/multi-select-popover.component.js';
|
|
9
|
+
import { MultiSelectSearchbar } from '../multi-select-searchbar/multi-select-searchbar.component.js';
|
|
10
|
+
|
|
11
|
+
import { MultiSelectDropdownProps } from './multi-select-dropdown.types.js';
|
|
12
|
+
|
|
13
|
+
export function MultiSelectDropdown<T extends object = object>({
|
|
14
|
+
setFilterText,
|
|
15
|
+
...props
|
|
16
|
+
}: MultiSelectDropdownProps<T>) {
|
|
17
|
+
const { filterText, listBoxRef } = useContext(MultiSelectContext);
|
|
18
|
+
const closeBtnRef = useRef<ButtonRef>(null);
|
|
19
|
+
|
|
20
|
+
return (
|
|
21
|
+
<MultiSelectPopover>
|
|
22
|
+
<MultiSelectSearchbar filterText={filterText} setFilterText={setFilterText} closeBtnRef={closeBtnRef} />
|
|
23
|
+
<MultiSelectListBox {...props} aria-label="multiselect list" escapeKeyBehavior="none" listBoxRef={listBoxRef} />
|
|
24
|
+
</MultiSelectPopover>
|
|
25
|
+
);
|
|
26
|
+
}
|