@westpac/ui 0.27.0 → 0.28.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 +8 -0
- package/assets/icons/filled/arrow-back-circle-filled.svg +1 -0
- package/assets/icons/filled/arrow-down-circle-filled.svg +1 -0
- package/assets/icons/filled/arrow-forward-circle-filled.svg +1 -0
- package/assets/icons/filled/arrow-up-circle-filled.svg +1 -0
- package/assets/icons/outlined/arrow-back-circle-outlined.svg +1 -0
- package/assets/icons/outlined/arrow-down-circle-outlined.svg +1 -0
- package/assets/icons/outlined/arrow-forward-circle-outlined.svg +1 -0
- package/assets/icons/outlined/arrow-up-circle-outlined.svg +1 -0
- package/dist/component-type.json +1 -1
- package/dist/components/alert/alert.styles.js +1 -1
- package/dist/components/autocomplete/autocomplete.component.js +2 -13
- package/dist/components/badge/badge.styles.d.ts +2 -2
- package/dist/components/badge/badge.styles.js +2 -2
- package/dist/components/button/button.styles.js +4 -4
- package/dist/components/button-group/components/button-group-button/button-group-button.component.js +6 -2
- package/dist/components/button-group/components/button-group-button/button-group-button.styles.d.ts +24 -0
- package/dist/components/button-group/components/button-group-button/button-group-button.styles.js +9 -1
- package/dist/components/error-message/error-message.styles.js +1 -1
- package/dist/components/filter/components/filter-buttons/filter-buttons.styles.js +1 -1
- package/dist/components/header/header.component.js +1 -1
- package/dist/components/header/header.styles.js +1 -1
- package/dist/components/icon/components/arrow-back-circle-icon.d.ts +2 -0
- package/dist/components/icon/components/arrow-back-circle-icon.js +35 -0
- package/dist/components/icon/components/arrow-down-circle-icon.d.ts +2 -0
- package/dist/components/icon/components/arrow-down-circle-icon.js +35 -0
- package/dist/components/icon/components/arrow-forward-circle-icon.d.ts +2 -0
- package/dist/components/icon/components/arrow-forward-circle-icon.js +35 -0
- package/dist/components/icon/components/arrow-up-circle-icon.d.ts +2 -0
- package/dist/components/icon/components/arrow-up-circle-icon.js +35 -0
- package/dist/components/icon/index.d.ts +4 -0
- package/dist/components/icon/index.js +4 -0
- package/dist/components/progress-indicator/progress-indicator.component.d.ts +1 -1
- package/dist/components/progress-indicator/progress-indicator.component.js +69 -9
- package/dist/components/progress-indicator/progress-indicator.styles.d.ts +257 -2
- package/dist/components/progress-indicator/progress-indicator.styles.js +87 -1
- package/dist/components/progress-indicator/progress-indicator.types.d.ts +16 -1
- package/dist/components/symbol/components/logos/bt-logo.d.ts +2 -0
- package/dist/components/symbol/components/logos/bt-logo.js +35 -0
- package/dist/components/symbol/components/logos/bt-multibrand-large-logo.d.ts +2 -0
- package/dist/components/symbol/components/logos/bt-multibrand-large-logo.js +41 -0
- package/dist/components/symbol/components/logos/bt-multibrand-small-logo.d.ts +2 -0
- package/dist/components/symbol/components/logos/bt-multibrand-small-logo.js +50 -0
- package/dist/components/symbol/components/logos/bt-panorama-logo.d.ts +2 -0
- package/dist/components/symbol/components/logos/bt-panorama-logo.js +69 -0
- package/dist/components/symbol/components/logos/bt-panorama-multibrand-large-logo.d.ts +2 -0
- package/dist/components/symbol/components/logos/bt-panorama-multibrand-large-logo.js +76 -0
- package/dist/components/symbol/components/logos/bt-panorama-multibrand-small-logo.d.ts +2 -0
- package/dist/components/symbol/components/logos/bt-panorama-multibrand-small-logo.js +76 -0
- package/dist/components/symbol/components/logos/bt-panorama-reversed-logo.d.ts +2 -0
- package/dist/components/symbol/components/logos/bt-panorama-reversed-logo.js +69 -0
- package/dist/components/symbol/components/logos/bt-reversed-logo.d.ts +2 -0
- package/dist/components/symbol/components/logos/bt-reversed-logo.js +35 -0
- package/dist/components/symbol/index.d.ts +8 -0
- package/dist/components/symbol/index.js +8 -0
- package/dist/css/westpac-ui.css +59 -17
- package/dist/css/westpac-ui.min.css +59 -17
- package/dist/tailwind/themes/btpl.d.ts +2 -0
- package/dist/tailwind/themes/btpl.js +30 -0
- package/package.json +3 -3
- package/src/components/alert/alert.styles.ts +1 -1
- package/src/components/autocomplete/autocomplete.component.tsx +2 -12
- package/src/components/badge/badge.styles.ts +2 -2
- package/src/components/button/button.styles.ts +4 -4
- package/src/components/button-group/components/button-group-button/button-group-button.component.tsx +3 -2
- package/src/components/button-group/components/button-group-button/button-group-button.styles.ts +9 -1
- package/src/components/error-message/error-message.styles.ts +1 -1
- package/src/components/filter/components/filter-buttons/filter-buttons.styles.ts +1 -1
- package/src/components/header/header.component.tsx +1 -1
- package/src/components/header/header.styles.ts +1 -1
- package/src/components/icon/components/arrow-back-circle-icon.tsx +37 -0
- package/src/components/icon/components/arrow-down-circle-icon.tsx +37 -0
- package/src/components/icon/components/arrow-forward-circle-icon.tsx +37 -0
- package/src/components/icon/components/arrow-up-circle-icon.tsx +37 -0
- package/src/components/icon/index.ts +4 -0
- package/src/components/progress-indicator/progress-indicator.component.tsx +53 -7
- package/src/components/progress-indicator/progress-indicator.styles.ts +37 -1
- package/src/components/progress-indicator/progress-indicator.types.ts +17 -1
- package/src/components/symbol/components/logos/bt-logo.tsx +35 -0
- package/src/components/symbol/components/logos/bt-multibrand-large-logo.tsx +42 -0
- package/src/components/symbol/components/logos/bt-multibrand-small-logo.tsx +49 -0
- package/src/components/symbol/components/logos/bt-panorama-logo.tsx +76 -0
- package/src/components/symbol/components/logos/bt-panorama-multibrand-large-logo.tsx +80 -0
- package/src/components/symbol/components/logos/bt-panorama-multibrand-small-logo.tsx +80 -0
- package/src/components/symbol/components/logos/bt-panorama-reversed-logo.tsx +76 -0
- package/src/components/symbol/components/logos/bt-reversed-logo.tsx +35 -0
- package/src/components/symbol/index.ts +8 -0
- package/src/tailwind/themes/btpl.ts +32 -0
package/dist/css/westpac-ui.css
CHANGED
|
@@ -3050,6 +3050,8 @@ video {
|
|
|
3050
3050
|
border-width: 0;
|
|
3051
3051
|
}.pointer-events-none {
|
|
3052
3052
|
pointer-events: none;
|
|
3053
|
+
}.pointer-events-auto {
|
|
3054
|
+
pointer-events: auto;
|
|
3053
3055
|
}.visible {
|
|
3054
3056
|
visibility: visible;
|
|
3055
3057
|
}.static {
|
|
@@ -3186,6 +3188,8 @@ video {
|
|
|
3186
3188
|
margin: 0rem;
|
|
3187
3189
|
}.m-1 {
|
|
3188
3190
|
margin: 0.375rem;
|
|
3191
|
+
}.m-auto {
|
|
3192
|
+
margin: auto;
|
|
3189
3193
|
}.-mx-1 {
|
|
3190
3194
|
margin-left: -0.375rem;
|
|
3191
3195
|
margin-right: -0.375rem;
|
|
@@ -3282,6 +3286,8 @@ video {
|
|
|
3282
3286
|
margin-top: 0.1875rem;
|
|
3283
3287
|
}.mt-1 {
|
|
3284
3288
|
margin-top: 0.375rem;
|
|
3289
|
+
}.mt-1\.5 {
|
|
3290
|
+
margin-top: 0.5625rem;
|
|
3285
3291
|
}.mt-2 {
|
|
3286
3292
|
margin-top: 0.75rem;
|
|
3287
3293
|
}.mt-2\.5 {
|
|
@@ -3370,6 +3376,8 @@ video {
|
|
|
3370
3376
|
height: 2.875rem;
|
|
3371
3377
|
}.h-\[200px\] {
|
|
3372
3378
|
height: 200px;
|
|
3379
|
+
}.h-\[22px\] {
|
|
3380
|
+
height: 22px;
|
|
3373
3381
|
}.h-\[24px\] {
|
|
3374
3382
|
height: 24px;
|
|
3375
3383
|
}.h-\[26px\] {
|
|
@@ -3388,6 +3396,8 @@ video {
|
|
|
3388
3396
|
height: 41px;
|
|
3389
3397
|
}.h-\[42px\] {
|
|
3390
3398
|
height: 42px;
|
|
3399
|
+
}.h-\[43px\] {
|
|
3400
|
+
height: 43px;
|
|
3391
3401
|
}.h-\[44px\] {
|
|
3392
3402
|
height: 44px;
|
|
3393
3403
|
}.h-\[48px\] {
|
|
@@ -3469,6 +3479,8 @@ video {
|
|
|
3469
3479
|
width: 1.81ex;
|
|
3470
3480
|
}.w-\[10\.86ex\] {
|
|
3471
3481
|
width: 10.86ex;
|
|
3482
|
+
}.w-\[105px\] {
|
|
3483
|
+
width: 105px;
|
|
3472
3484
|
}.w-\[10rem\] {
|
|
3473
3485
|
width: 10rem;
|
|
3474
3486
|
}.w-\[116px\] {
|
|
@@ -3767,6 +3779,8 @@ video {
|
|
|
3767
3779
|
text-overflow: ellipsis;
|
|
3768
3780
|
}.whitespace-nowrap {
|
|
3769
3781
|
white-space: nowrap;
|
|
3782
|
+
}.whitespace-pre {
|
|
3783
|
+
white-space: pre;
|
|
3770
3784
|
}.whitespace-pre-wrap {
|
|
3771
3785
|
white-space: pre-wrap;
|
|
3772
3786
|
}.rounded {
|
|
@@ -6570,8 +6584,6 @@ video {
|
|
|
6570
6584
|
}
|
|
6571
6585
|
}@media not all and (min-width: 992px) {.max-md\:mb-7 {
|
|
6572
6586
|
margin-bottom: 2.625rem;
|
|
6573
|
-
}.max-md\:mr-1 {
|
|
6574
|
-
margin-right: 0.375rem;
|
|
6575
6587
|
}.max-md\:mt-0 {
|
|
6576
6588
|
margin-top: 0rem;
|
|
6577
6589
|
}.max-md\:mt-0\.5 {
|
|
@@ -6658,6 +6670,8 @@ video {
|
|
|
6658
6670
|
}
|
|
6659
6671
|
}@media (min-width: 576px) {.xsl\:pointer-events-none {
|
|
6660
6672
|
pointer-events: none;
|
|
6673
|
+
}.xsl\:pointer-events-auto {
|
|
6674
|
+
pointer-events: auto;
|
|
6661
6675
|
}.xsl\:fixed {
|
|
6662
6676
|
position: fixed;
|
|
6663
6677
|
}.xsl\:absolute {
|
|
@@ -6808,6 +6822,8 @@ video {
|
|
|
6808
6822
|
display: inline-flex;
|
|
6809
6823
|
}.xsl\:h-1 {
|
|
6810
6824
|
height: 0.375rem;
|
|
6825
|
+
}.xsl\:h-15 {
|
|
6826
|
+
height: 5.625rem;
|
|
6811
6827
|
}.xsl\:h-2 {
|
|
6812
6828
|
height: 0.75rem;
|
|
6813
6829
|
}.xsl\:h-3 {
|
|
@@ -6854,6 +6870,8 @@ video {
|
|
|
6854
6870
|
width: 4.5rem;
|
|
6855
6871
|
}.xsl\:w-14 {
|
|
6856
6872
|
width: 5.25rem;
|
|
6873
|
+
}.xsl\:w-15 {
|
|
6874
|
+
width: 5.625rem;
|
|
6857
6875
|
}.xsl\:w-2 {
|
|
6858
6876
|
width: 0.75rem;
|
|
6859
6877
|
}.xsl\:w-3 {
|
|
@@ -6904,6 +6922,9 @@ video {
|
|
|
6904
6922
|
width: 9.05ex;
|
|
6905
6923
|
}.xsl\:w-auto {
|
|
6906
6924
|
width: auto;
|
|
6925
|
+
}.xsl\:w-fit {
|
|
6926
|
+
width: -moz-fit-content;
|
|
6927
|
+
width: fit-content;
|
|
6907
6928
|
}.xsl\:w-full {
|
|
6908
6929
|
width: 100%;
|
|
6909
6930
|
}.xsl\:min-w-\[11\.875rem\] {
|
|
@@ -7207,9 +7228,6 @@ video {
|
|
|
7207
7228
|
}.xsl\:py-3 {
|
|
7208
7229
|
padding-top: 1.125rem;
|
|
7209
7230
|
padding-bottom: 1.125rem;
|
|
7210
|
-
}.xsl\:py-\[0\.25rem\] {
|
|
7211
|
-
padding-top: 0.25rem;
|
|
7212
|
-
padding-bottom: 0.25rem;
|
|
7213
7231
|
}.xsl\:py-\[0\.3125rem\] {
|
|
7214
7232
|
padding-top: 0.3125rem;
|
|
7215
7233
|
padding-bottom: 0.3125rem;
|
|
@@ -7745,6 +7763,8 @@ video {
|
|
|
7745
7763
|
}
|
|
7746
7764
|
}.sm\:pointer-events-none {
|
|
7747
7765
|
pointer-events: none;
|
|
7766
|
+
}.sm\:pointer-events-auto {
|
|
7767
|
+
pointer-events: auto;
|
|
7748
7768
|
}.sm\:fixed {
|
|
7749
7769
|
position: fixed;
|
|
7750
7770
|
}.sm\:absolute {
|
|
@@ -7909,6 +7929,8 @@ video {
|
|
|
7909
7929
|
height: 0.375rem;
|
|
7910
7930
|
}.sm\:h-11 {
|
|
7911
7931
|
height: 4.125rem;
|
|
7932
|
+
}.sm\:h-15 {
|
|
7933
|
+
height: 5.625rem;
|
|
7912
7934
|
}.sm\:h-2 {
|
|
7913
7935
|
height: 0.75rem;
|
|
7914
7936
|
}.sm\:h-3 {
|
|
@@ -7957,6 +7979,8 @@ video {
|
|
|
7957
7979
|
width: 4.5rem;
|
|
7958
7980
|
}.sm\:w-14 {
|
|
7959
7981
|
width: 5.25rem;
|
|
7982
|
+
}.sm\:w-15 {
|
|
7983
|
+
width: 5.625rem;
|
|
7960
7984
|
}.sm\:w-2 {
|
|
7961
7985
|
width: 0.75rem;
|
|
7962
7986
|
}.sm\:w-3 {
|
|
@@ -8007,6 +8031,9 @@ video {
|
|
|
8007
8031
|
width: 9.05ex;
|
|
8008
8032
|
}.sm\:w-auto {
|
|
8009
8033
|
width: auto;
|
|
8034
|
+
}.sm\:w-fit {
|
|
8035
|
+
width: -moz-fit-content;
|
|
8036
|
+
width: fit-content;
|
|
8010
8037
|
}.sm\:w-full {
|
|
8011
8038
|
width: 100%;
|
|
8012
8039
|
}.sm\:min-w-\[11\.875rem\] {
|
|
@@ -8320,9 +8347,6 @@ video {
|
|
|
8320
8347
|
}.sm\:py-3 {
|
|
8321
8348
|
padding-top: 1.125rem;
|
|
8322
8349
|
padding-bottom: 1.125rem;
|
|
8323
|
-
}.sm\:py-\[0\.25rem\] {
|
|
8324
|
-
padding-top: 0.25rem;
|
|
8325
|
-
padding-bottom: 0.25rem;
|
|
8326
8350
|
}.sm\:py-\[0\.3125rem\] {
|
|
8327
8351
|
padding-top: 0.3125rem;
|
|
8328
8352
|
padding-bottom: 0.3125rem;
|
|
@@ -8918,6 +8942,8 @@ video {
|
|
|
8918
8942
|
}
|
|
8919
8943
|
}.md\:pointer-events-none {
|
|
8920
8944
|
pointer-events: none;
|
|
8945
|
+
}.md\:pointer-events-auto {
|
|
8946
|
+
pointer-events: auto;
|
|
8921
8947
|
}.md\:fixed {
|
|
8922
8948
|
position: fixed;
|
|
8923
8949
|
}.md\:absolute {
|
|
@@ -9084,6 +9110,8 @@ video {
|
|
|
9084
9110
|
display: none;
|
|
9085
9111
|
}.md\:h-1 {
|
|
9086
9112
|
height: 0.375rem;
|
|
9113
|
+
}.md\:h-15 {
|
|
9114
|
+
height: 5.625rem;
|
|
9087
9115
|
}.md\:h-2 {
|
|
9088
9116
|
height: 0.75rem;
|
|
9089
9117
|
}.md\:h-3 {
|
|
@@ -9130,6 +9158,8 @@ video {
|
|
|
9130
9158
|
width: 4.5rem;
|
|
9131
9159
|
}.md\:w-14 {
|
|
9132
9160
|
width: 5.25rem;
|
|
9161
|
+
}.md\:w-15 {
|
|
9162
|
+
width: 5.625rem;
|
|
9133
9163
|
}.md\:w-2 {
|
|
9134
9164
|
width: 0.75rem;
|
|
9135
9165
|
}.md\:w-3 {
|
|
@@ -9180,6 +9210,9 @@ video {
|
|
|
9180
9210
|
width: 9.05ex;
|
|
9181
9211
|
}.md\:w-auto {
|
|
9182
9212
|
width: auto;
|
|
9213
|
+
}.md\:w-fit {
|
|
9214
|
+
width: -moz-fit-content;
|
|
9215
|
+
width: fit-content;
|
|
9183
9216
|
}.md\:w-full {
|
|
9184
9217
|
width: 100%;
|
|
9185
9218
|
}.md\:min-w-\[11\.875rem\] {
|
|
@@ -9510,9 +9543,6 @@ video {
|
|
|
9510
9543
|
}.md\:py-3 {
|
|
9511
9544
|
padding-top: 1.125rem;
|
|
9512
9545
|
padding-bottom: 1.125rem;
|
|
9513
|
-
}.md\:py-\[0\.25rem\] {
|
|
9514
|
-
padding-top: 0.25rem;
|
|
9515
|
-
padding-bottom: 0.25rem;
|
|
9516
9546
|
}.md\:py-\[0\.3125rem\] {
|
|
9517
9547
|
padding-top: 0.3125rem;
|
|
9518
9548
|
padding-bottom: 0.3125rem;
|
|
@@ -10101,6 +10131,8 @@ video {
|
|
|
10101
10131
|
}
|
|
10102
10132
|
}.lg\:pointer-events-none {
|
|
10103
10133
|
pointer-events: none;
|
|
10134
|
+
}.lg\:pointer-events-auto {
|
|
10135
|
+
pointer-events: auto;
|
|
10104
10136
|
}.lg\:fixed {
|
|
10105
10137
|
position: fixed;
|
|
10106
10138
|
}.lg\:absolute {
|
|
@@ -10251,6 +10283,8 @@ video {
|
|
|
10251
10283
|
display: inline-flex;
|
|
10252
10284
|
}.lg\:h-1 {
|
|
10253
10285
|
height: 0.375rem;
|
|
10286
|
+
}.lg\:h-15 {
|
|
10287
|
+
height: 5.625rem;
|
|
10254
10288
|
}.lg\:h-2 {
|
|
10255
10289
|
height: 0.75rem;
|
|
10256
10290
|
}.lg\:h-3 {
|
|
@@ -10297,6 +10331,8 @@ video {
|
|
|
10297
10331
|
width: 4.5rem;
|
|
10298
10332
|
}.lg\:w-14 {
|
|
10299
10333
|
width: 5.25rem;
|
|
10334
|
+
}.lg\:w-15 {
|
|
10335
|
+
width: 5.625rem;
|
|
10300
10336
|
}.lg\:w-2 {
|
|
10301
10337
|
width: 0.75rem;
|
|
10302
10338
|
}.lg\:w-3 {
|
|
@@ -10347,6 +10383,9 @@ video {
|
|
|
10347
10383
|
width: 9.05ex;
|
|
10348
10384
|
}.lg\:w-auto {
|
|
10349
10385
|
width: auto;
|
|
10386
|
+
}.lg\:w-fit {
|
|
10387
|
+
width: -moz-fit-content;
|
|
10388
|
+
width: fit-content;
|
|
10350
10389
|
}.lg\:w-full {
|
|
10351
10390
|
width: 100%;
|
|
10352
10391
|
}.lg\:min-w-\[11\.875rem\] {
|
|
@@ -10663,9 +10702,6 @@ video {
|
|
|
10663
10702
|
}.lg\:py-3 {
|
|
10664
10703
|
padding-top: 1.125rem;
|
|
10665
10704
|
padding-bottom: 1.125rem;
|
|
10666
|
-
}.lg\:py-\[0\.25rem\] {
|
|
10667
|
-
padding-top: 0.25rem;
|
|
10668
|
-
padding-bottom: 0.25rem;
|
|
10669
10705
|
}.lg\:py-\[0\.3125rem\] {
|
|
10670
10706
|
padding-top: 0.3125rem;
|
|
10671
10707
|
padding-bottom: 0.3125rem;
|
|
@@ -11227,6 +11263,8 @@ video {
|
|
|
11227
11263
|
}
|
|
11228
11264
|
}.xl\:pointer-events-none {
|
|
11229
11265
|
pointer-events: none;
|
|
11266
|
+
}.xl\:pointer-events-auto {
|
|
11267
|
+
pointer-events: auto;
|
|
11230
11268
|
}.xl\:fixed {
|
|
11231
11269
|
position: fixed;
|
|
11232
11270
|
}.xl\:absolute {
|
|
@@ -11372,6 +11410,8 @@ video {
|
|
|
11372
11410
|
display: inline-flex;
|
|
11373
11411
|
}.xl\:h-1 {
|
|
11374
11412
|
height: 0.375rem;
|
|
11413
|
+
}.xl\:h-15 {
|
|
11414
|
+
height: 5.625rem;
|
|
11375
11415
|
}.xl\:h-2 {
|
|
11376
11416
|
height: 0.75rem;
|
|
11377
11417
|
}.xl\:h-3 {
|
|
@@ -11418,6 +11458,8 @@ video {
|
|
|
11418
11458
|
width: 4.5rem;
|
|
11419
11459
|
}.xl\:w-14 {
|
|
11420
11460
|
width: 5.25rem;
|
|
11461
|
+
}.xl\:w-15 {
|
|
11462
|
+
width: 5.625rem;
|
|
11421
11463
|
}.xl\:w-2 {
|
|
11422
11464
|
width: 0.75rem;
|
|
11423
11465
|
}.xl\:w-3 {
|
|
@@ -11468,6 +11510,9 @@ video {
|
|
|
11468
11510
|
width: 9.05ex;
|
|
11469
11511
|
}.xl\:w-auto {
|
|
11470
11512
|
width: auto;
|
|
11513
|
+
}.xl\:w-fit {
|
|
11514
|
+
width: -moz-fit-content;
|
|
11515
|
+
width: fit-content;
|
|
11471
11516
|
}.xl\:w-full {
|
|
11472
11517
|
width: 100%;
|
|
11473
11518
|
}.xl\:min-w-\[11\.875rem\] {
|
|
@@ -11766,9 +11811,6 @@ video {
|
|
|
11766
11811
|
}.xl\:py-3 {
|
|
11767
11812
|
padding-top: 1.125rem;
|
|
11768
11813
|
padding-bottom: 1.125rem;
|
|
11769
|
-
}.xl\:py-\[0\.25rem\] {
|
|
11770
|
-
padding-top: 0.25rem;
|
|
11771
|
-
padding-bottom: 0.25rem;
|
|
11772
11814
|
}.xl\:py-\[0\.3125rem\] {
|
|
11773
11815
|
padding-top: 0.3125rem;
|
|
11774
11816
|
padding-bottom: 0.3125rem;
|
|
@@ -3050,6 +3050,8 @@ video {
|
|
|
3050
3050
|
border-width: 0;
|
|
3051
3051
|
}.pointer-events-none {
|
|
3052
3052
|
pointer-events: none;
|
|
3053
|
+
}.pointer-events-auto {
|
|
3054
|
+
pointer-events: auto;
|
|
3053
3055
|
}.visible {
|
|
3054
3056
|
visibility: visible;
|
|
3055
3057
|
}.static {
|
|
@@ -3186,6 +3188,8 @@ video {
|
|
|
3186
3188
|
margin: 0rem;
|
|
3187
3189
|
}.m-1 {
|
|
3188
3190
|
margin: 0.375rem;
|
|
3191
|
+
}.m-auto {
|
|
3192
|
+
margin: auto;
|
|
3189
3193
|
}.-mx-1 {
|
|
3190
3194
|
margin-left: -0.375rem;
|
|
3191
3195
|
margin-right: -0.375rem;
|
|
@@ -3282,6 +3286,8 @@ video {
|
|
|
3282
3286
|
margin-top: 0.1875rem;
|
|
3283
3287
|
}.mt-1 {
|
|
3284
3288
|
margin-top: 0.375rem;
|
|
3289
|
+
}.mt-1\.5 {
|
|
3290
|
+
margin-top: 0.5625rem;
|
|
3285
3291
|
}.mt-2 {
|
|
3286
3292
|
margin-top: 0.75rem;
|
|
3287
3293
|
}.mt-2\.5 {
|
|
@@ -3370,6 +3376,8 @@ video {
|
|
|
3370
3376
|
height: 2.875rem;
|
|
3371
3377
|
}.h-\[200px\] {
|
|
3372
3378
|
height: 200px;
|
|
3379
|
+
}.h-\[22px\] {
|
|
3380
|
+
height: 22px;
|
|
3373
3381
|
}.h-\[24px\] {
|
|
3374
3382
|
height: 24px;
|
|
3375
3383
|
}.h-\[26px\] {
|
|
@@ -3388,6 +3396,8 @@ video {
|
|
|
3388
3396
|
height: 41px;
|
|
3389
3397
|
}.h-\[42px\] {
|
|
3390
3398
|
height: 42px;
|
|
3399
|
+
}.h-\[43px\] {
|
|
3400
|
+
height: 43px;
|
|
3391
3401
|
}.h-\[44px\] {
|
|
3392
3402
|
height: 44px;
|
|
3393
3403
|
}.h-\[48px\] {
|
|
@@ -3469,6 +3479,8 @@ video {
|
|
|
3469
3479
|
width: 1.81ex;
|
|
3470
3480
|
}.w-\[10\.86ex\] {
|
|
3471
3481
|
width: 10.86ex;
|
|
3482
|
+
}.w-\[105px\] {
|
|
3483
|
+
width: 105px;
|
|
3472
3484
|
}.w-\[10rem\] {
|
|
3473
3485
|
width: 10rem;
|
|
3474
3486
|
}.w-\[116px\] {
|
|
@@ -3767,6 +3779,8 @@ video {
|
|
|
3767
3779
|
text-overflow: ellipsis;
|
|
3768
3780
|
}.whitespace-nowrap {
|
|
3769
3781
|
white-space: nowrap;
|
|
3782
|
+
}.whitespace-pre {
|
|
3783
|
+
white-space: pre;
|
|
3770
3784
|
}.whitespace-pre-wrap {
|
|
3771
3785
|
white-space: pre-wrap;
|
|
3772
3786
|
}.rounded {
|
|
@@ -6570,8 +6584,6 @@ video {
|
|
|
6570
6584
|
}
|
|
6571
6585
|
}@media not all and (min-width: 992px) {.max-md\:mb-7 {
|
|
6572
6586
|
margin-bottom: 2.625rem;
|
|
6573
|
-
}.max-md\:mr-1 {
|
|
6574
|
-
margin-right: 0.375rem;
|
|
6575
6587
|
}.max-md\:mt-0 {
|
|
6576
6588
|
margin-top: 0rem;
|
|
6577
6589
|
}.max-md\:mt-0\.5 {
|
|
@@ -6658,6 +6670,8 @@ video {
|
|
|
6658
6670
|
}
|
|
6659
6671
|
}@media (min-width: 576px) {.xsl\:pointer-events-none {
|
|
6660
6672
|
pointer-events: none;
|
|
6673
|
+
}.xsl\:pointer-events-auto {
|
|
6674
|
+
pointer-events: auto;
|
|
6661
6675
|
}.xsl\:fixed {
|
|
6662
6676
|
position: fixed;
|
|
6663
6677
|
}.xsl\:absolute {
|
|
@@ -6808,6 +6822,8 @@ video {
|
|
|
6808
6822
|
display: inline-flex;
|
|
6809
6823
|
}.xsl\:h-1 {
|
|
6810
6824
|
height: 0.375rem;
|
|
6825
|
+
}.xsl\:h-15 {
|
|
6826
|
+
height: 5.625rem;
|
|
6811
6827
|
}.xsl\:h-2 {
|
|
6812
6828
|
height: 0.75rem;
|
|
6813
6829
|
}.xsl\:h-3 {
|
|
@@ -6854,6 +6870,8 @@ video {
|
|
|
6854
6870
|
width: 4.5rem;
|
|
6855
6871
|
}.xsl\:w-14 {
|
|
6856
6872
|
width: 5.25rem;
|
|
6873
|
+
}.xsl\:w-15 {
|
|
6874
|
+
width: 5.625rem;
|
|
6857
6875
|
}.xsl\:w-2 {
|
|
6858
6876
|
width: 0.75rem;
|
|
6859
6877
|
}.xsl\:w-3 {
|
|
@@ -6904,6 +6922,9 @@ video {
|
|
|
6904
6922
|
width: 9.05ex;
|
|
6905
6923
|
}.xsl\:w-auto {
|
|
6906
6924
|
width: auto;
|
|
6925
|
+
}.xsl\:w-fit {
|
|
6926
|
+
width: -moz-fit-content;
|
|
6927
|
+
width: fit-content;
|
|
6907
6928
|
}.xsl\:w-full {
|
|
6908
6929
|
width: 100%;
|
|
6909
6930
|
}.xsl\:min-w-\[11\.875rem\] {
|
|
@@ -7207,9 +7228,6 @@ video {
|
|
|
7207
7228
|
}.xsl\:py-3 {
|
|
7208
7229
|
padding-top: 1.125rem;
|
|
7209
7230
|
padding-bottom: 1.125rem;
|
|
7210
|
-
}.xsl\:py-\[0\.25rem\] {
|
|
7211
|
-
padding-top: 0.25rem;
|
|
7212
|
-
padding-bottom: 0.25rem;
|
|
7213
7231
|
}.xsl\:py-\[0\.3125rem\] {
|
|
7214
7232
|
padding-top: 0.3125rem;
|
|
7215
7233
|
padding-bottom: 0.3125rem;
|
|
@@ -7745,6 +7763,8 @@ video {
|
|
|
7745
7763
|
}
|
|
7746
7764
|
}.sm\:pointer-events-none {
|
|
7747
7765
|
pointer-events: none;
|
|
7766
|
+
}.sm\:pointer-events-auto {
|
|
7767
|
+
pointer-events: auto;
|
|
7748
7768
|
}.sm\:fixed {
|
|
7749
7769
|
position: fixed;
|
|
7750
7770
|
}.sm\:absolute {
|
|
@@ -7909,6 +7929,8 @@ video {
|
|
|
7909
7929
|
height: 0.375rem;
|
|
7910
7930
|
}.sm\:h-11 {
|
|
7911
7931
|
height: 4.125rem;
|
|
7932
|
+
}.sm\:h-15 {
|
|
7933
|
+
height: 5.625rem;
|
|
7912
7934
|
}.sm\:h-2 {
|
|
7913
7935
|
height: 0.75rem;
|
|
7914
7936
|
}.sm\:h-3 {
|
|
@@ -7957,6 +7979,8 @@ video {
|
|
|
7957
7979
|
width: 4.5rem;
|
|
7958
7980
|
}.sm\:w-14 {
|
|
7959
7981
|
width: 5.25rem;
|
|
7982
|
+
}.sm\:w-15 {
|
|
7983
|
+
width: 5.625rem;
|
|
7960
7984
|
}.sm\:w-2 {
|
|
7961
7985
|
width: 0.75rem;
|
|
7962
7986
|
}.sm\:w-3 {
|
|
@@ -8007,6 +8031,9 @@ video {
|
|
|
8007
8031
|
width: 9.05ex;
|
|
8008
8032
|
}.sm\:w-auto {
|
|
8009
8033
|
width: auto;
|
|
8034
|
+
}.sm\:w-fit {
|
|
8035
|
+
width: -moz-fit-content;
|
|
8036
|
+
width: fit-content;
|
|
8010
8037
|
}.sm\:w-full {
|
|
8011
8038
|
width: 100%;
|
|
8012
8039
|
}.sm\:min-w-\[11\.875rem\] {
|
|
@@ -8320,9 +8347,6 @@ video {
|
|
|
8320
8347
|
}.sm\:py-3 {
|
|
8321
8348
|
padding-top: 1.125rem;
|
|
8322
8349
|
padding-bottom: 1.125rem;
|
|
8323
|
-
}.sm\:py-\[0\.25rem\] {
|
|
8324
|
-
padding-top: 0.25rem;
|
|
8325
|
-
padding-bottom: 0.25rem;
|
|
8326
8350
|
}.sm\:py-\[0\.3125rem\] {
|
|
8327
8351
|
padding-top: 0.3125rem;
|
|
8328
8352
|
padding-bottom: 0.3125rem;
|
|
@@ -8918,6 +8942,8 @@ video {
|
|
|
8918
8942
|
}
|
|
8919
8943
|
}.md\:pointer-events-none {
|
|
8920
8944
|
pointer-events: none;
|
|
8945
|
+
}.md\:pointer-events-auto {
|
|
8946
|
+
pointer-events: auto;
|
|
8921
8947
|
}.md\:fixed {
|
|
8922
8948
|
position: fixed;
|
|
8923
8949
|
}.md\:absolute {
|
|
@@ -9084,6 +9110,8 @@ video {
|
|
|
9084
9110
|
display: none;
|
|
9085
9111
|
}.md\:h-1 {
|
|
9086
9112
|
height: 0.375rem;
|
|
9113
|
+
}.md\:h-15 {
|
|
9114
|
+
height: 5.625rem;
|
|
9087
9115
|
}.md\:h-2 {
|
|
9088
9116
|
height: 0.75rem;
|
|
9089
9117
|
}.md\:h-3 {
|
|
@@ -9130,6 +9158,8 @@ video {
|
|
|
9130
9158
|
width: 4.5rem;
|
|
9131
9159
|
}.md\:w-14 {
|
|
9132
9160
|
width: 5.25rem;
|
|
9161
|
+
}.md\:w-15 {
|
|
9162
|
+
width: 5.625rem;
|
|
9133
9163
|
}.md\:w-2 {
|
|
9134
9164
|
width: 0.75rem;
|
|
9135
9165
|
}.md\:w-3 {
|
|
@@ -9180,6 +9210,9 @@ video {
|
|
|
9180
9210
|
width: 9.05ex;
|
|
9181
9211
|
}.md\:w-auto {
|
|
9182
9212
|
width: auto;
|
|
9213
|
+
}.md\:w-fit {
|
|
9214
|
+
width: -moz-fit-content;
|
|
9215
|
+
width: fit-content;
|
|
9183
9216
|
}.md\:w-full {
|
|
9184
9217
|
width: 100%;
|
|
9185
9218
|
}.md\:min-w-\[11\.875rem\] {
|
|
@@ -9510,9 +9543,6 @@ video {
|
|
|
9510
9543
|
}.md\:py-3 {
|
|
9511
9544
|
padding-top: 1.125rem;
|
|
9512
9545
|
padding-bottom: 1.125rem;
|
|
9513
|
-
}.md\:py-\[0\.25rem\] {
|
|
9514
|
-
padding-top: 0.25rem;
|
|
9515
|
-
padding-bottom: 0.25rem;
|
|
9516
9546
|
}.md\:py-\[0\.3125rem\] {
|
|
9517
9547
|
padding-top: 0.3125rem;
|
|
9518
9548
|
padding-bottom: 0.3125rem;
|
|
@@ -10101,6 +10131,8 @@ video {
|
|
|
10101
10131
|
}
|
|
10102
10132
|
}.lg\:pointer-events-none {
|
|
10103
10133
|
pointer-events: none;
|
|
10134
|
+
}.lg\:pointer-events-auto {
|
|
10135
|
+
pointer-events: auto;
|
|
10104
10136
|
}.lg\:fixed {
|
|
10105
10137
|
position: fixed;
|
|
10106
10138
|
}.lg\:absolute {
|
|
@@ -10251,6 +10283,8 @@ video {
|
|
|
10251
10283
|
display: inline-flex;
|
|
10252
10284
|
}.lg\:h-1 {
|
|
10253
10285
|
height: 0.375rem;
|
|
10286
|
+
}.lg\:h-15 {
|
|
10287
|
+
height: 5.625rem;
|
|
10254
10288
|
}.lg\:h-2 {
|
|
10255
10289
|
height: 0.75rem;
|
|
10256
10290
|
}.lg\:h-3 {
|
|
@@ -10297,6 +10331,8 @@ video {
|
|
|
10297
10331
|
width: 4.5rem;
|
|
10298
10332
|
}.lg\:w-14 {
|
|
10299
10333
|
width: 5.25rem;
|
|
10334
|
+
}.lg\:w-15 {
|
|
10335
|
+
width: 5.625rem;
|
|
10300
10336
|
}.lg\:w-2 {
|
|
10301
10337
|
width: 0.75rem;
|
|
10302
10338
|
}.lg\:w-3 {
|
|
@@ -10347,6 +10383,9 @@ video {
|
|
|
10347
10383
|
width: 9.05ex;
|
|
10348
10384
|
}.lg\:w-auto {
|
|
10349
10385
|
width: auto;
|
|
10386
|
+
}.lg\:w-fit {
|
|
10387
|
+
width: -moz-fit-content;
|
|
10388
|
+
width: fit-content;
|
|
10350
10389
|
}.lg\:w-full {
|
|
10351
10390
|
width: 100%;
|
|
10352
10391
|
}.lg\:min-w-\[11\.875rem\] {
|
|
@@ -10663,9 +10702,6 @@ video {
|
|
|
10663
10702
|
}.lg\:py-3 {
|
|
10664
10703
|
padding-top: 1.125rem;
|
|
10665
10704
|
padding-bottom: 1.125rem;
|
|
10666
|
-
}.lg\:py-\[0\.25rem\] {
|
|
10667
|
-
padding-top: 0.25rem;
|
|
10668
|
-
padding-bottom: 0.25rem;
|
|
10669
10705
|
}.lg\:py-\[0\.3125rem\] {
|
|
10670
10706
|
padding-top: 0.3125rem;
|
|
10671
10707
|
padding-bottom: 0.3125rem;
|
|
@@ -11227,6 +11263,8 @@ video {
|
|
|
11227
11263
|
}
|
|
11228
11264
|
}.xl\:pointer-events-none {
|
|
11229
11265
|
pointer-events: none;
|
|
11266
|
+
}.xl\:pointer-events-auto {
|
|
11267
|
+
pointer-events: auto;
|
|
11230
11268
|
}.xl\:fixed {
|
|
11231
11269
|
position: fixed;
|
|
11232
11270
|
}.xl\:absolute {
|
|
@@ -11372,6 +11410,8 @@ video {
|
|
|
11372
11410
|
display: inline-flex;
|
|
11373
11411
|
}.xl\:h-1 {
|
|
11374
11412
|
height: 0.375rem;
|
|
11413
|
+
}.xl\:h-15 {
|
|
11414
|
+
height: 5.625rem;
|
|
11375
11415
|
}.xl\:h-2 {
|
|
11376
11416
|
height: 0.75rem;
|
|
11377
11417
|
}.xl\:h-3 {
|
|
@@ -11418,6 +11458,8 @@ video {
|
|
|
11418
11458
|
width: 4.5rem;
|
|
11419
11459
|
}.xl\:w-14 {
|
|
11420
11460
|
width: 5.25rem;
|
|
11461
|
+
}.xl\:w-15 {
|
|
11462
|
+
width: 5.625rem;
|
|
11421
11463
|
}.xl\:w-2 {
|
|
11422
11464
|
width: 0.75rem;
|
|
11423
11465
|
}.xl\:w-3 {
|
|
@@ -11468,6 +11510,9 @@ video {
|
|
|
11468
11510
|
width: 9.05ex;
|
|
11469
11511
|
}.xl\:w-auto {
|
|
11470
11512
|
width: auto;
|
|
11513
|
+
}.xl\:w-fit {
|
|
11514
|
+
width: -moz-fit-content;
|
|
11515
|
+
width: fit-content;
|
|
11471
11516
|
}.xl\:w-full {
|
|
11472
11517
|
width: 100%;
|
|
11473
11518
|
}.xl\:min-w-\[11\.875rem\] {
|
|
@@ -11766,9 +11811,6 @@ video {
|
|
|
11766
11811
|
}.xl\:py-3 {
|
|
11767
11812
|
padding-top: 1.125rem;
|
|
11768
11813
|
padding-bottom: 1.125rem;
|
|
11769
|
-
}.xl\:py-\[0\.25rem\] {
|
|
11770
|
-
padding-top: 0.25rem;
|
|
11771
|
-
padding-bottom: 0.25rem;
|
|
11772
11814
|
}.xl\:py-\[0\.3125rem\] {
|
|
11773
11815
|
padding-top: 0.3125rem;
|
|
11774
11816
|
padding-bottom: 0.3125rem;
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { generateColorTints } from '../utils/generate-color-tints.js';
|
|
2
|
+
export const theme = {
|
|
3
|
+
code: 'BTPL',
|
|
4
|
+
colors: {
|
|
5
|
+
...generateColorTints({
|
|
6
|
+
background: '#F5F5F5',
|
|
7
|
+
border: '#D9D9D9',
|
|
8
|
+
heading: '#171717',
|
|
9
|
+
hero: '#00345A',
|
|
10
|
+
light: '#F9F9F9',
|
|
11
|
+
link: '#006DBC',
|
|
12
|
+
muted: '#666666',
|
|
13
|
+
neutral: '#2A2E42',
|
|
14
|
+
pop: '#672993',
|
|
15
|
+
primary: '#006DBC',
|
|
16
|
+
text: '#171717',
|
|
17
|
+
borderDark: '#949494',
|
|
18
|
+
focus: '#B470D7'
|
|
19
|
+
}),
|
|
20
|
+
pictogram: {
|
|
21
|
+
dark: '#00345A',
|
|
22
|
+
duo: {
|
|
23
|
+
highlight: '#006DBC',
|
|
24
|
+
outline: '#00345A'
|
|
25
|
+
}
|
|
26
|
+
}
|
|
27
|
+
},
|
|
28
|
+
brandFont: '',
|
|
29
|
+
name: 'BT Panorama'
|
|
30
|
+
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@westpac/ui",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.28.0",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"sideEffects": false,
|
|
6
6
|
"type": "module",
|
|
@@ -258,8 +258,8 @@
|
|
|
258
258
|
"vite": "^5.2.12",
|
|
259
259
|
"vitest": "^0.30.1",
|
|
260
260
|
"@westpac/test-config": "~0.0.0",
|
|
261
|
-
"@westpac/
|
|
262
|
-
"@westpac/
|
|
261
|
+
"@westpac/ts-config": "~0.0.0",
|
|
262
|
+
"@westpac/eslint-config": "~0.4.0"
|
|
263
263
|
},
|
|
264
264
|
"dependencies": {
|
|
265
265
|
"@duetds/date-picker": "~1.4.0",
|
|
@@ -6,7 +6,7 @@ export const styles = tv(
|
|
|
6
6
|
base: 'typography-body-10 relative mb-4 xsl:flex',
|
|
7
7
|
icon: 'float-left flex-none',
|
|
8
8
|
body: 'relative flex-1 overflow-hidden xsl:top-[0.125rem] [&_a]:underline',
|
|
9
|
-
heading: 'typography-body-9 mb-
|
|
9
|
+
heading: 'typography-body-9 mb-1 font-bold',
|
|
10
10
|
close: 'absolute right-0.5 top-0.5 p-1 hover:opacity-80',
|
|
11
11
|
},
|
|
12
12
|
variants: {
|
|
@@ -101,16 +101,6 @@ export function Autocomplete<T extends object>({
|
|
|
101
101
|
searchProps.value.length,
|
|
102
102
|
]);
|
|
103
103
|
|
|
104
|
-
const iconSize = useMemo(() => {
|
|
105
|
-
switch (size) {
|
|
106
|
-
case 'small':
|
|
107
|
-
case 'medium':
|
|
108
|
-
return 'small';
|
|
109
|
-
default:
|
|
110
|
-
return 'medium';
|
|
111
|
-
}
|
|
112
|
-
}, [size]);
|
|
113
|
-
|
|
114
104
|
return (
|
|
115
105
|
<div className={styles.base({ className })}>
|
|
116
106
|
{props.label && <Label {...labelProps}>{props.label}</Label>}
|
|
@@ -120,9 +110,9 @@ export function Autocomplete<T extends object>({
|
|
|
120
110
|
<div ref={outerRef} className={styles.outerWrapper()}>
|
|
121
111
|
<div className={styles.iconWrapper()}>
|
|
122
112
|
{loadingState ? (
|
|
123
|
-
<ProgressIndicator size=
|
|
113
|
+
<ProgressIndicator size="small" color="muted" />
|
|
124
114
|
) : (
|
|
125
|
-
<SearchIcon aria-hidden size=
|
|
115
|
+
<SearchIcon aria-hidden size="small" color="muted" />
|
|
126
116
|
)}
|
|
127
117
|
</div>
|
|
128
118
|
<input
|
|
@@ -2,7 +2,7 @@ import { tv } from 'tailwind-variants';
|
|
|
2
2
|
|
|
3
3
|
export const styles = tv(
|
|
4
4
|
{
|
|
5
|
-
base: 'inline-block whitespace-nowrap border text-center',
|
|
5
|
+
base: 'inline-block w-fit whitespace-nowrap border text-center',
|
|
6
6
|
variants: {
|
|
7
7
|
color: {
|
|
8
8
|
danger: 'border-danger bg-danger text-white',
|
|
@@ -24,7 +24,7 @@ export const styles = tv(
|
|
|
24
24
|
'warning-inverted': 'border-none bg-white text-warning',
|
|
25
25
|
},
|
|
26
26
|
type: {
|
|
27
|
-
pill: 'typography-body-10 h-4 rounded-xl px-[0.4375rem]
|
|
27
|
+
pill: 'typography-body-10 flex h-4 w-fit items-center rounded-xl px-[0.4375rem] font-medium leading-none',
|
|
28
28
|
default: 'h-[1.25rem] rounded-sm px-1 text-[0.75rem] leading-[1.125rem]',
|
|
29
29
|
},
|
|
30
30
|
soft: {
|