@ncds/ui-admin 1.8.21-alpha.1 → 1.8.21-alpha.10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/assets/scripts/notification/FullWidthNotification.js +17 -6
- package/dist/cjs/assets/scripts/notification/MessageNotification.js +10 -48
- package/dist/cjs/assets/scripts/notification/const/classNames.js +3 -0
- package/dist/cjs/assets/scripts/notification/const/index.js +1 -1
- package/dist/cjs/assets/scripts/notification/const/sizes.js +4 -2
- package/dist/cjs/assets/scripts/notification/messageTemplate.js +106 -0
- package/dist/cjs/assets/scripts/notification/utils.js +40 -4
- package/dist/cjs/constant/notification.js +21 -0
- package/dist/cjs/src/components/forms-and-input/input-base/InputBase.js +30 -18
- package/dist/cjs/src/components/forms-and-input/input-base/__tests__/InputBase.test.js +116 -0
- package/dist/cjs/src/components/forms-and-input/password-input/PasswordInput.js +3 -3
- package/dist/cjs/src/components/forms-and-input/password-input/__tests__/PasswordInput.test.js +59 -0
- package/dist/cjs/src/components/index.js +11 -0
- package/dist/cjs/src/components/layout/ncua-scope/NcuaScope.js +8 -2
- package/dist/cjs/src/components/navigation/pagination/Pagination.js +3 -1
- package/dist/cjs/src/components/navigation/pagination/__tests__/Pagination.test.js +74 -0
- package/dist/cjs/src/components/overlays/notification/FullWidthNotification.js +3 -1
- package/dist/cjs/src/components/overlays/notification/MessageNotification.js +14 -54
- package/dist/cjs/src/components/overlays/notification/MessageNotificationParts.js +92 -0
- package/dist/cjs/src/components/overlays/notification/__tests__/MessageNotification.test.js +246 -0
- package/dist/cjs/src/components/overlays/notification/__tests__/hidePermanentlyLabel.test.js +209 -0
- package/dist/cjs/src/components/overlays/postcode-search-modal/PostcodeSearchModal.js +259 -0
- package/dist/cjs/src/components/overlays/postcode-search-modal/PostcodeSearchModalTip.js +70 -0
- package/dist/cjs/src/components/overlays/postcode-search-modal/__tests__/PostcodeSearchModal.test.js +623 -0
- package/dist/cjs/src/components/overlays/postcode-search-modal/index.js +16 -0
- package/dist/cjs/src/generated/scoped-css.js +1 -1
- package/dist/esm/assets/scripts/notification/FullWidthNotification.js +17 -6
- package/dist/esm/assets/scripts/notification/MessageNotification.js +12 -50
- package/dist/esm/assets/scripts/notification/const/classNames.js +3 -0
- package/dist/esm/assets/scripts/notification/const/index.js +3 -2
- package/dist/esm/assets/scripts/notification/const/sizes.js +4 -2
- package/dist/esm/assets/scripts/notification/messageTemplate.js +100 -0
- package/dist/esm/assets/scripts/notification/utils.js +39 -4
- package/dist/esm/constant/notification.js +15 -0
- package/dist/esm/src/components/forms-and-input/input-base/InputBase.js +30 -18
- package/dist/esm/src/components/forms-and-input/input-base/__tests__/InputBase.test.js +116 -0
- package/dist/esm/src/components/forms-and-input/password-input/PasswordInput.js +3 -3
- package/dist/esm/src/components/forms-and-input/password-input/__tests__/PasswordInput.test.js +56 -0
- package/dist/esm/src/components/index.js +1 -0
- package/dist/esm/src/components/layout/ncua-scope/NcuaScope.js +8 -2
- package/dist/esm/src/components/navigation/pagination/Pagination.js +3 -1
- package/dist/esm/src/components/navigation/pagination/__tests__/Pagination.test.js +74 -0
- package/dist/esm/src/components/overlays/notification/FullWidthNotification.js +3 -1
- package/dist/esm/src/components/overlays/notification/MessageNotification.js +15 -55
- package/dist/esm/src/components/overlays/notification/MessageNotificationParts.js +85 -0
- package/dist/esm/src/components/overlays/notification/__tests__/MessageNotification.test.js +243 -0
- package/dist/esm/src/components/overlays/notification/__tests__/hidePermanentlyLabel.test.js +206 -0
- package/dist/esm/src/components/overlays/postcode-search-modal/PostcodeSearchModal.js +252 -0
- package/dist/esm/src/components/overlays/postcode-search-modal/PostcodeSearchModalTip.js +63 -0
- package/dist/esm/src/components/overlays/postcode-search-modal/__tests__/PostcodeSearchModal.test.js +620 -0
- package/dist/esm/src/components/overlays/postcode-search-modal/index.js +1 -0
- package/dist/esm/src/generated/scoped-css.js +1 -1
- package/dist/temp/assets/scripts/notification/FullWidthNotification.d.ts +6 -0
- package/dist/temp/assets/scripts/notification/FullWidthNotification.js +14 -5
- package/dist/temp/assets/scripts/notification/MessageNotification.d.ts +0 -3
- package/dist/temp/assets/scripts/notification/MessageNotification.js +9 -44
- package/dist/temp/assets/scripts/notification/const/classNames.d.ts +1 -0
- package/dist/temp/assets/scripts/notification/const/classNames.js +3 -0
- package/dist/temp/assets/scripts/notification/const/index.d.ts +3 -3
- package/dist/temp/assets/scripts/notification/const/index.js +3 -2
- package/dist/temp/assets/scripts/notification/const/sizes.d.ts +2 -2
- package/dist/temp/assets/scripts/notification/const/sizes.js +4 -2
- package/dist/temp/assets/scripts/notification/const/types.d.ts +30 -2
- package/dist/temp/assets/scripts/notification/messageTemplate.d.ts +15 -0
- package/dist/temp/assets/scripts/notification/messageTemplate.js +79 -0
- package/dist/temp/assets/scripts/notification/utils.d.ts +19 -2
- package/dist/temp/assets/scripts/notification/utils.js +39 -5
- package/dist/temp/constant/notification.d.ts +15 -0
- package/dist/temp/constant/notification.js +15 -0
- package/dist/temp/src/components/forms-and-input/input-base/InputBase.d.ts +1 -1
- package/dist/temp/src/components/forms-and-input/input-base/InputBase.js +26 -14
- package/dist/temp/src/components/forms-and-input/input-base/__tests__/InputBase.test.js +79 -0
- package/dist/temp/src/components/forms-and-input/password-input/PasswordInput.js +2 -2
- package/dist/temp/src/components/forms-and-input/password-input/__tests__/PasswordInput.test.d.ts +1 -0
- package/dist/temp/src/components/forms-and-input/password-input/__tests__/PasswordInput.test.js +48 -0
- package/dist/temp/src/components/index.d.ts +1 -0
- package/dist/temp/src/components/index.js +1 -0
- package/dist/temp/src/components/layout/ncua-scope/NcuaScope.js +5 -1
- package/dist/temp/src/components/navigation/pagination/Pagination.js +3 -1
- package/dist/temp/src/components/navigation/pagination/__tests__/Pagination.test.js +74 -0
- package/dist/temp/src/components/overlays/notification/FullWidthNotification.d.ts +6 -0
- package/dist/temp/src/components/overlays/notification/FullWidthNotification.js +3 -2
- package/dist/temp/src/components/overlays/notification/MessageNotification.d.ts +6 -0
- package/dist/temp/src/components/overlays/notification/MessageNotification.js +4 -13
- package/dist/temp/src/components/overlays/notification/MessageNotificationParts.d.ts +28 -0
- package/dist/temp/src/components/overlays/notification/MessageNotificationParts.js +28 -0
- package/dist/temp/src/components/overlays/notification/Notification.d.ts +11 -2
- package/dist/temp/src/components/overlays/notification/__tests__/MessageNotification.test.d.ts +1 -0
- package/dist/temp/src/components/overlays/notification/__tests__/MessageNotification.test.js +190 -0
- package/dist/temp/src/components/overlays/notification/__tests__/hidePermanentlyLabel.test.d.ts +1 -0
- package/dist/temp/src/components/overlays/notification/__tests__/hidePermanentlyLabel.test.js +160 -0
- package/dist/temp/src/components/overlays/postcode-search-modal/PostcodeSearchModal.d.ts +45 -0
- package/dist/temp/src/components/overlays/postcode-search-modal/PostcodeSearchModal.js +125 -0
- package/dist/temp/src/components/overlays/postcode-search-modal/PostcodeSearchModalTip.d.ts +16 -0
- package/dist/temp/src/components/overlays/postcode-search-modal/PostcodeSearchModalTip.js +24 -0
- package/dist/temp/src/components/overlays/postcode-search-modal/__tests__/PostcodeSearchModal.test.d.ts +1 -0
- package/dist/temp/src/components/overlays/postcode-search-modal/__tests__/PostcodeSearchModal.test.js +503 -0
- package/dist/temp/src/components/overlays/postcode-search-modal/index.d.ts +1 -0
- package/dist/temp/src/components/overlays/postcode-search-modal/index.js +1 -0
- package/dist/temp/src/generated/scoped-css.js +1 -1
- package/dist/types/assets/scripts/notification/FullWidthNotification.d.ts +6 -0
- package/dist/types/assets/scripts/notification/MessageNotification.d.ts +0 -3
- package/dist/types/assets/scripts/notification/const/classNames.d.ts +1 -0
- package/dist/types/assets/scripts/notification/const/index.d.ts +3 -3
- package/dist/types/assets/scripts/notification/const/sizes.d.ts +2 -2
- package/dist/types/assets/scripts/notification/const/types.d.ts +30 -2
- package/dist/types/assets/scripts/notification/messageTemplate.d.ts +15 -0
- package/dist/types/assets/scripts/notification/utils.d.ts +19 -2
- package/dist/types/constant/notification.d.ts +15 -0
- package/dist/types/src/components/forms-and-input/input-base/InputBase.d.ts +1 -1
- package/dist/types/src/components/forms-and-input/password-input/__tests__/PasswordInput.test.d.ts +1 -0
- package/dist/types/src/components/index.d.ts +1 -0
- package/dist/types/src/components/overlays/notification/FullWidthNotification.d.ts +6 -0
- package/dist/types/src/components/overlays/notification/MessageNotification.d.ts +6 -0
- package/dist/types/src/components/overlays/notification/MessageNotificationParts.d.ts +28 -0
- package/dist/types/src/components/overlays/notification/Notification.d.ts +11 -2
- package/dist/types/src/components/overlays/notification/__tests__/MessageNotification.test.d.ts +1 -0
- package/dist/types/src/components/overlays/notification/__tests__/hidePermanentlyLabel.test.d.ts +1 -0
- package/dist/types/src/components/overlays/postcode-search-modal/PostcodeSearchModal.d.ts +45 -0
- package/dist/types/src/components/overlays/postcode-search-modal/PostcodeSearchModalTip.d.ts +16 -0
- package/dist/types/src/components/overlays/postcode-search-modal/__tests__/PostcodeSearchModal.test.d.ts +1 -0
- package/dist/types/src/components/overlays/postcode-search-modal/index.d.ts +1 -0
- package/dist/ui-admin/assets/styles/style.css +280 -35
- package/dist/ui-admin/assets/styles/style.scoped.css +280 -35
- package/package.json +1 -1
|
@@ -1720,10 +1720,10 @@ button {
|
|
|
1720
1720
|
.ncua-input__password-icon {
|
|
1721
1721
|
color: var(--gray-300);
|
|
1722
1722
|
}
|
|
1723
|
-
.ncua-
|
|
1723
|
+
.ncua-input__slot-icon {
|
|
1724
1724
|
color: var(--gray-300);
|
|
1725
1725
|
}
|
|
1726
|
-
.ncua-input.has-value .ncua-
|
|
1726
|
+
.ncua-input.has-value .ncua-input__slot-icon, .ncua-input:focus-within .ncua-input__slot-icon {
|
|
1727
1727
|
color: var(--gray-600);
|
|
1728
1728
|
}
|
|
1729
1729
|
.ncua-input__left-icon {
|
|
@@ -1753,6 +1753,12 @@ button {
|
|
|
1753
1753
|
.ncua-input.is-disabled .ncua-input__destructive-icon {
|
|
1754
1754
|
display: none;
|
|
1755
1755
|
}
|
|
1756
|
+
.ncua-input.is-disabled .ncua-input__password-icon {
|
|
1757
|
+
display: none;
|
|
1758
|
+
}
|
|
1759
|
+
.ncua-input.is-disabled .ncua-input__slot-icon {
|
|
1760
|
+
color: var(--gray-300);
|
|
1761
|
+
}
|
|
1756
1762
|
.ncua-input.is-disabled .ncua-input__button {
|
|
1757
1763
|
color: var(--gray-200);
|
|
1758
1764
|
}
|
|
@@ -1815,6 +1821,33 @@ button {
|
|
|
1815
1821
|
margin-left: -1px;
|
|
1816
1822
|
}
|
|
1817
1823
|
|
|
1824
|
+
.ncua-input__trailing-text-wrap .ncua-input__trailing-text {
|
|
1825
|
+
display: flex;
|
|
1826
|
+
align-items: center;
|
|
1827
|
+
background-color: var(--base-white);
|
|
1828
|
+
border: 1px solid var(--gray-200);
|
|
1829
|
+
padding: 4px 10px;
|
|
1830
|
+
}
|
|
1831
|
+
.ncua-input__trailing-text-wrap .ncua-input__trailing-text--xs {
|
|
1832
|
+
line-height: var(--line-heights-xs);
|
|
1833
|
+
padding: 4px 10px;
|
|
1834
|
+
}
|
|
1835
|
+
.ncua-input__trailing-text-wrap .ncua-input__trailing-text--sm {
|
|
1836
|
+
line-height: var(--line-heights-sm);
|
|
1837
|
+
padding: 6px 12px;
|
|
1838
|
+
}
|
|
1839
|
+
.ncua-input__trailing-text-wrap .ncua-input__trailing-text {
|
|
1840
|
+
border-radius: 0 6px 6px 0;
|
|
1841
|
+
border-left-width: 0;
|
|
1842
|
+
color: var(--gray-400);
|
|
1843
|
+
font-size: var(--font-size-sm);
|
|
1844
|
+
}
|
|
1845
|
+
.ncua-input__trailing-text-wrap .ncua-input__field:has(+ .ncua-input__trailing-text) {
|
|
1846
|
+
border-top-right-radius: 0;
|
|
1847
|
+
border-bottom-right-radius: 0;
|
|
1848
|
+
margin-right: -1px;
|
|
1849
|
+
}
|
|
1850
|
+
|
|
1818
1851
|
.ncua-input__trailing-button .ncua-input__button {
|
|
1819
1852
|
display: flex;
|
|
1820
1853
|
align-items: center;
|
|
@@ -2213,6 +2246,230 @@ button {
|
|
|
2213
2246
|
}
|
|
2214
2247
|
}
|
|
2215
2248
|
|
|
2249
|
+
.ncua-modal:has(.ncua-postcode-search-modal) {
|
|
2250
|
+
padding-block-end: 0;
|
|
2251
|
+
height: 640px;
|
|
2252
|
+
}
|
|
2253
|
+
@media (max-width: 768px) {
|
|
2254
|
+
.ncua-modal:has(.ncua-postcode-search-modal) {
|
|
2255
|
+
height: 480px;
|
|
2256
|
+
}
|
|
2257
|
+
.ncua-modal:has(.ncua-postcode-search-modal) .ncua-postcode-search-modal__item .ncua-radio-input {
|
|
2258
|
+
display: none;
|
|
2259
|
+
}
|
|
2260
|
+
}
|
|
2261
|
+
|
|
2262
|
+
.ncua-modal__content:has(.ncua-postcode-search-modal) {
|
|
2263
|
+
display: flex;
|
|
2264
|
+
flex-direction: column;
|
|
2265
|
+
padding-block-end: 91px;
|
|
2266
|
+
padding-inline: 0;
|
|
2267
|
+
}
|
|
2268
|
+
|
|
2269
|
+
.ncua-postcode-search-modal {
|
|
2270
|
+
--padding-inline: 20px;
|
|
2271
|
+
display: flex;
|
|
2272
|
+
flex: 1;
|
|
2273
|
+
flex-direction: column;
|
|
2274
|
+
gap: var(--spacing-m);
|
|
2275
|
+
}
|
|
2276
|
+
|
|
2277
|
+
.ncua-postcode-search-modal__search-area {
|
|
2278
|
+
position: sticky;
|
|
2279
|
+
top: 0;
|
|
2280
|
+
z-index: 1;
|
|
2281
|
+
padding-inline: var(--padding-inline);
|
|
2282
|
+
display: flex;
|
|
2283
|
+
flex-direction: column;
|
|
2284
|
+
gap: var(--spacing-s);
|
|
2285
|
+
background-color: var(--base-white);
|
|
2286
|
+
padding-block-end: 12px;
|
|
2287
|
+
}
|
|
2288
|
+
.ncua-postcode-search-modal__search-area.is-fixed {
|
|
2289
|
+
border-block-end: 1px solid var(--gray-200);
|
|
2290
|
+
}
|
|
2291
|
+
|
|
2292
|
+
.ncua-postcode-search-modal__search {
|
|
2293
|
+
display: flex;
|
|
2294
|
+
align-items: flex-start;
|
|
2295
|
+
gap: var(--spacing-s);
|
|
2296
|
+
}
|
|
2297
|
+
|
|
2298
|
+
.ncua-postcode-search-modal__search-area .ncua-postcode-search-modal__result-title {
|
|
2299
|
+
margin: 0 0 2px;
|
|
2300
|
+
color: var(--gray-500);
|
|
2301
|
+
font-size: var(--font-size-xs);
|
|
2302
|
+
font-weight: var(--font-weights-commerce-sans-1);
|
|
2303
|
+
line-height: var(--line-heights-xs);
|
|
2304
|
+
}
|
|
2305
|
+
|
|
2306
|
+
.ncua-postcode-search-modal__result-desc {
|
|
2307
|
+
margin: 0;
|
|
2308
|
+
color: var(--gray-400);
|
|
2309
|
+
font-size: var(--font-size-xxs);
|
|
2310
|
+
font-weight: var(--font-weights-commerce-sans-0);
|
|
2311
|
+
line-height: var(--line-heights-xxs);
|
|
2312
|
+
}
|
|
2313
|
+
|
|
2314
|
+
.ncua-postcode-search-modal__search-input {
|
|
2315
|
+
flex: 1;
|
|
2316
|
+
min-width: 0;
|
|
2317
|
+
}
|
|
2318
|
+
|
|
2319
|
+
.ncua-postcode-search-modal__search-button {
|
|
2320
|
+
flex-shrink: 0;
|
|
2321
|
+
}
|
|
2322
|
+
|
|
2323
|
+
.ncua-postcode-search-modal__count {
|
|
2324
|
+
padding-inline: var(--padding-inline);
|
|
2325
|
+
color: var(--gray-700);
|
|
2326
|
+
font-size: var(--font-size-xs);
|
|
2327
|
+
font-weight: var(--font-weights-commerce-sans-2);
|
|
2328
|
+
line-height: var(--line-heights-xs);
|
|
2329
|
+
}
|
|
2330
|
+
.ncua-postcode-search-modal__count b {
|
|
2331
|
+
color: var(--primary-red-450);
|
|
2332
|
+
}
|
|
2333
|
+
|
|
2334
|
+
.ncua-postcode-search-modal__list {
|
|
2335
|
+
padding-inline: var(--padding-inline);
|
|
2336
|
+
margin-bottom: 0;
|
|
2337
|
+
}
|
|
2338
|
+
|
|
2339
|
+
.ncua-postcode-search-modal__item {
|
|
2340
|
+
padding: 12px 16px;
|
|
2341
|
+
background-color: var(--base-white);
|
|
2342
|
+
border: 1px solid var(--gray-200);
|
|
2343
|
+
border-radius: 8px;
|
|
2344
|
+
}
|
|
2345
|
+
.ncua-postcode-search-modal__item .ncua-radio-field {
|
|
2346
|
+
align-items: center;
|
|
2347
|
+
width: 100%;
|
|
2348
|
+
}
|
|
2349
|
+
.ncua-postcode-search-modal__item .ncua-radio-field__input + span {
|
|
2350
|
+
flex: 1;
|
|
2351
|
+
}
|
|
2352
|
+
.ncua-postcode-search-modal__item + .ncua-postcode-search-modal__item {
|
|
2353
|
+
margin-block-start: 8px;
|
|
2354
|
+
}
|
|
2355
|
+
.ncua-postcode-search-modal__item:hover {
|
|
2356
|
+
box-shadow: var(--shadow-xs);
|
|
2357
|
+
background-color: var(--gray-50);
|
|
2358
|
+
}
|
|
2359
|
+
.ncua-postcode-search-modal__item:has(:checked) {
|
|
2360
|
+
border-color: var(--gray-400);
|
|
2361
|
+
}
|
|
2362
|
+
|
|
2363
|
+
.ncua-postcode-search-modal__addr-line {
|
|
2364
|
+
display: flex;
|
|
2365
|
+
align-items: flex-start;
|
|
2366
|
+
gap: var(--spacing-s);
|
|
2367
|
+
font-size: var(--font-size-xs);
|
|
2368
|
+
}
|
|
2369
|
+
.ncua-postcode-search-modal__addr-line + .ncua-postcode-search-modal__addr-line {
|
|
2370
|
+
margin-block-start: 8px;
|
|
2371
|
+
}
|
|
2372
|
+
|
|
2373
|
+
.ncua-postcode-search-modal__badge {
|
|
2374
|
+
padding: 1px 4px;
|
|
2375
|
+
width: 41px;
|
|
2376
|
+
height: 18px;
|
|
2377
|
+
border-radius: 4px;
|
|
2378
|
+
color: var(--gray-600);
|
|
2379
|
+
font-size: var(--font-size-xxs);
|
|
2380
|
+
line-height: var(--line-heights-xxs);
|
|
2381
|
+
text-align: center;
|
|
2382
|
+
background-color: var(--gray-100);
|
|
2383
|
+
}
|
|
2384
|
+
|
|
2385
|
+
.ncua-postcode-search-modal__item-road {
|
|
2386
|
+
flex: 1;
|
|
2387
|
+
word-break: break-all;
|
|
2388
|
+
}
|
|
2389
|
+
|
|
2390
|
+
.ncua-postcode-search-modal__item-zip {
|
|
2391
|
+
flex-shrink: 0;
|
|
2392
|
+
color: var(--gray-500);
|
|
2393
|
+
}
|
|
2394
|
+
|
|
2395
|
+
.ncua-postcode-search-modal__item-jibun {
|
|
2396
|
+
flex: 1;
|
|
2397
|
+
word-break: break-all;
|
|
2398
|
+
}
|
|
2399
|
+
|
|
2400
|
+
.ncua-postcode-search-modal__tip {
|
|
2401
|
+
padding-inline: var(--padding-inline);
|
|
2402
|
+
color: var(--gray-500);
|
|
2403
|
+
font-size: var(--font-size-xxs);
|
|
2404
|
+
line-height: var(--line-heights-xxs);
|
|
2405
|
+
}
|
|
2406
|
+
|
|
2407
|
+
.ncua-postcode-search-modal__tip .ncua-postcode-search-modal__tip-label {
|
|
2408
|
+
display: flex;
|
|
2409
|
+
align-items: center;
|
|
2410
|
+
gap: var(--spacing-xs);
|
|
2411
|
+
margin-block-end: 12px;
|
|
2412
|
+
font-size: var(--font-size-xs);
|
|
2413
|
+
font-weight: var(--font-weights-commerce-sans-2);
|
|
2414
|
+
}
|
|
2415
|
+
|
|
2416
|
+
.ncua-postcode-search-modal__tip-icon {
|
|
2417
|
+
flex-shrink: 0;
|
|
2418
|
+
}
|
|
2419
|
+
|
|
2420
|
+
.ncua-postcode-search-modal__tip .ncua-postcode-search-modal__tip-title {
|
|
2421
|
+
margin: 0 0 4px;
|
|
2422
|
+
font-weight: var(--font-weights-commerce-sans-2);
|
|
2423
|
+
}
|
|
2424
|
+
|
|
2425
|
+
.ncua-postcode-search-modal__tip-list {
|
|
2426
|
+
display: flex;
|
|
2427
|
+
flex-direction: column;
|
|
2428
|
+
gap: var(--spacing-xs);
|
|
2429
|
+
margin: 0;
|
|
2430
|
+
list-style: disc;
|
|
2431
|
+
padding-left: 0;
|
|
2432
|
+
}
|
|
2433
|
+
|
|
2434
|
+
.ncua-postcode-search-modal__tip-item {
|
|
2435
|
+
position: relative;
|
|
2436
|
+
display: flex;
|
|
2437
|
+
flex-direction: column;
|
|
2438
|
+
padding-inline-start: 16px;
|
|
2439
|
+
}
|
|
2440
|
+
.ncua-postcode-search-modal__tip-item::before {
|
|
2441
|
+
content: "•";
|
|
2442
|
+
position: absolute;
|
|
2443
|
+
left: 0;
|
|
2444
|
+
}
|
|
2445
|
+
|
|
2446
|
+
.ncua-postcode-search-modal__tip-combination {
|
|
2447
|
+
color: var(--gray-700);
|
|
2448
|
+
}
|
|
2449
|
+
|
|
2450
|
+
.ncua-postcode-search-modal__tip-example {
|
|
2451
|
+
padding-left: var(--spacing-s);
|
|
2452
|
+
}
|
|
2453
|
+
|
|
2454
|
+
.ncua-postcode-search-modal__pagination {
|
|
2455
|
+
display: flex;
|
|
2456
|
+
justify-content: center;
|
|
2457
|
+
margin-top: auto;
|
|
2458
|
+
padding-top: var(--spacing-m);
|
|
2459
|
+
padding-inline: var(--padding-inline);
|
|
2460
|
+
}
|
|
2461
|
+
.ncua-postcode-search-modal__pagination .ncua-pagination--mo {
|
|
2462
|
+
flex: 1;
|
|
2463
|
+
}
|
|
2464
|
+
|
|
2465
|
+
.ncua-postcode-search-modal__empty {
|
|
2466
|
+
display: flex;
|
|
2467
|
+
flex: 1;
|
|
2468
|
+
align-items: center;
|
|
2469
|
+
justify-content: center;
|
|
2470
|
+
padding: var(--spacing-xxl) 0;
|
|
2471
|
+
}
|
|
2472
|
+
|
|
2216
2473
|
/* ------------------------------------------------------------------
|
|
2217
2474
|
* Floating Notification Host
|
|
2218
2475
|
*
|
|
@@ -2619,11 +2876,11 @@ button {
|
|
|
2619
2876
|
align-items: center;
|
|
2620
2877
|
flex-direction: column;
|
|
2621
2878
|
width: 100%;
|
|
2622
|
-
padding: 16px 24px;
|
|
2879
|
+
padding: 12px 16px 12px 24px;
|
|
2623
2880
|
}
|
|
2624
2881
|
@media (max-width: 768px) {
|
|
2625
2882
|
.ncua-message-notification__container {
|
|
2626
|
-
padding: 16px;
|
|
2883
|
+
padding: 12px 8px 12px 16px;
|
|
2627
2884
|
}
|
|
2628
2885
|
}
|
|
2629
2886
|
.ncua-message-notification__content {
|
|
@@ -2657,20 +2914,21 @@ button {
|
|
|
2657
2914
|
min-width: 0;
|
|
2658
2915
|
}
|
|
2659
2916
|
.ncua-message-notification__title {
|
|
2660
|
-
font-size: var(--font-size-
|
|
2661
|
-
line-height: var(--line-heights-
|
|
2917
|
+
font-size: var(--font-size-sm);
|
|
2918
|
+
line-height: var(--line-heights-sm);
|
|
2662
2919
|
font-weight: var(--font-weights-commerce-sans-2);
|
|
2663
2920
|
}
|
|
2664
2921
|
.ncua-message-notification__supporting-text {
|
|
2665
|
-
font-size: var(--font-size-
|
|
2666
|
-
line-height: var(--line-heights-
|
|
2922
|
+
font-size: var(--font-size-xs);
|
|
2923
|
+
line-height: var(--line-heights-xs);
|
|
2667
2924
|
font-weight: var(--font-weights-commerce-sans-0);
|
|
2668
2925
|
}
|
|
2669
2926
|
.ncua-message-notification__actions-container {
|
|
2670
2927
|
display: flex;
|
|
2671
2928
|
align-items: center;
|
|
2672
|
-
gap:
|
|
2929
|
+
gap: 12px;
|
|
2673
2930
|
flex-shrink: 0;
|
|
2931
|
+
flex-wrap: wrap;
|
|
2674
2932
|
}
|
|
2675
2933
|
@media (max-width: 768px) {
|
|
2676
2934
|
.ncua-message-notification__actions-container {
|
|
@@ -2694,7 +2952,6 @@ button {
|
|
|
2694
2952
|
cursor: pointer;
|
|
2695
2953
|
font-size: var(--font-size-xs);
|
|
2696
2954
|
line-height: var(--line-heights-xs);
|
|
2697
|
-
font-weight: var(--font-weights-commerce-sans-0);
|
|
2698
2955
|
}
|
|
2699
2956
|
.ncua-message-notification__close-button {
|
|
2700
2957
|
display: flex;
|
|
@@ -2703,23 +2960,22 @@ button {
|
|
|
2703
2960
|
background: transparent;
|
|
2704
2961
|
border: none;
|
|
2705
2962
|
cursor: pointer;
|
|
2706
|
-
border-radius:
|
|
2963
|
+
border-radius: 6px;
|
|
2707
2964
|
padding: 8px;
|
|
2708
2965
|
flex-shrink: 0;
|
|
2709
2966
|
}
|
|
2710
2967
|
.ncua-message-notification--neutral {
|
|
2711
2968
|
color: var(--gray-600);
|
|
2712
2969
|
background-color: var(--gray-50);
|
|
2713
|
-
border-radius:
|
|
2970
|
+
border-radius: 12px;
|
|
2714
2971
|
border: 1px solid var(--gray-300);
|
|
2715
|
-
box-shadow: var(--shadow-
|
|
2972
|
+
box-shadow: var(--shadow-md);
|
|
2716
2973
|
}
|
|
2717
2974
|
.ncua-message-notification--neutral .ncua-message-notification__title {
|
|
2718
2975
|
color: var(--gray-600);
|
|
2719
2976
|
}
|
|
2720
2977
|
.ncua-message-notification--neutral .ncua-message-notification__supporting-text {
|
|
2721
2978
|
color: var(--gray-500);
|
|
2722
|
-
opacity: 0.8;
|
|
2723
2979
|
}
|
|
2724
2980
|
.ncua-message-notification--neutral .ncua-notification__action-button {
|
|
2725
2981
|
color: var(--gray-500);
|
|
@@ -2727,22 +2983,18 @@ button {
|
|
|
2727
2983
|
.ncua-message-notification--neutral .ncua-notification__action-button--text, .ncua-message-notification--neutral .ncua-notification__action-button--text-gray {
|
|
2728
2984
|
color: var(--gray-600);
|
|
2729
2985
|
}
|
|
2730
|
-
.ncua-message-notification--neutral .ncua-message-notification__hide-link {
|
|
2731
|
-
color: var(--gray-500);
|
|
2732
|
-
}
|
|
2733
2986
|
.ncua-message-notification--error {
|
|
2734
2987
|
color: var(--primary-red-600);
|
|
2735
2988
|
background-color: var(--primary-red-50);
|
|
2736
|
-
border-radius:
|
|
2989
|
+
border-radius: 12px;
|
|
2737
2990
|
border: 1px solid var(--primary-red-300);
|
|
2738
|
-
box-shadow: var(--shadow-
|
|
2991
|
+
box-shadow: var(--shadow-md);
|
|
2739
2992
|
}
|
|
2740
2993
|
.ncua-message-notification--error .ncua-message-notification__title {
|
|
2741
2994
|
color: var(--primary-red-600);
|
|
2742
2995
|
}
|
|
2743
2996
|
.ncua-message-notification--error .ncua-message-notification__supporting-text {
|
|
2744
2997
|
color: var(--gray-500);
|
|
2745
|
-
opacity: 0.8;
|
|
2746
2998
|
}
|
|
2747
2999
|
.ncua-message-notification--error .ncua-notification__action-button {
|
|
2748
3000
|
color: var(--primary-red-500);
|
|
@@ -2750,22 +3002,18 @@ button {
|
|
|
2750
3002
|
.ncua-message-notification--error .ncua-notification__action-button--text, .ncua-message-notification--error .ncua-notification__action-button--text-gray {
|
|
2751
3003
|
color: var(--primary-red-600);
|
|
2752
3004
|
}
|
|
2753
|
-
.ncua-message-notification--error .ncua-message-notification__hide-link {
|
|
2754
|
-
color: var(--gray-500);
|
|
2755
|
-
}
|
|
2756
3005
|
.ncua-message-notification--warning {
|
|
2757
3006
|
color: var(--orange-600);
|
|
2758
3007
|
background-color: var(--orange-50);
|
|
2759
|
-
border-radius:
|
|
3008
|
+
border-radius: 12px;
|
|
2760
3009
|
border: 1px solid var(--orange-300);
|
|
2761
|
-
box-shadow: var(--shadow-
|
|
3010
|
+
box-shadow: var(--shadow-md);
|
|
2762
3011
|
}
|
|
2763
3012
|
.ncua-message-notification--warning .ncua-message-notification__title {
|
|
2764
3013
|
color: var(--orange-600);
|
|
2765
3014
|
}
|
|
2766
3015
|
.ncua-message-notification--warning .ncua-message-notification__supporting-text {
|
|
2767
3016
|
color: var(--gray-500);
|
|
2768
|
-
opacity: 0.8;
|
|
2769
3017
|
}
|
|
2770
3018
|
.ncua-message-notification--warning .ncua-notification__action-button {
|
|
2771
3019
|
color: var(--orange-500);
|
|
@@ -2773,22 +3021,18 @@ button {
|
|
|
2773
3021
|
.ncua-message-notification--warning .ncua-notification__action-button--text, .ncua-message-notification--warning .ncua-notification__action-button--text-gray {
|
|
2774
3022
|
color: var(--orange-600);
|
|
2775
3023
|
}
|
|
2776
|
-
.ncua-message-notification--warning .ncua-message-notification__hide-link {
|
|
2777
|
-
color: var(--gray-500);
|
|
2778
|
-
}
|
|
2779
3024
|
.ncua-message-notification--success {
|
|
2780
3025
|
color: var(--green-600);
|
|
2781
3026
|
background-color: var(--green-50);
|
|
2782
|
-
border-radius:
|
|
3027
|
+
border-radius: 12px;
|
|
2783
3028
|
border: 1px solid var(--green-300);
|
|
2784
|
-
box-shadow: var(--shadow-
|
|
3029
|
+
box-shadow: var(--shadow-md);
|
|
2785
3030
|
}
|
|
2786
3031
|
.ncua-message-notification--success .ncua-message-notification__title {
|
|
2787
3032
|
color: var(--green-600);
|
|
2788
3033
|
}
|
|
2789
3034
|
.ncua-message-notification--success .ncua-message-notification__supporting-text {
|
|
2790
3035
|
color: var(--gray-500);
|
|
2791
|
-
opacity: 0.8;
|
|
2792
3036
|
}
|
|
2793
3037
|
.ncua-message-notification--success .ncua-notification__action-button {
|
|
2794
3038
|
color: var(--green-500);
|
|
@@ -2796,9 +3040,6 @@ button {
|
|
|
2796
3040
|
.ncua-message-notification--success .ncua-notification__action-button--text, .ncua-message-notification--success .ncua-notification__action-button--text-gray {
|
|
2797
3041
|
color: var(--green-600);
|
|
2798
3042
|
}
|
|
2799
|
-
.ncua-message-notification--success .ncua-message-notification__hide-link {
|
|
2800
|
-
color: var(--gray-500);
|
|
2801
|
-
}
|
|
2802
3043
|
.ncua-message-notification .ncua-notification__action-button {
|
|
2803
3044
|
background: transparent;
|
|
2804
3045
|
border: none;
|
|
@@ -2811,6 +3052,10 @@ button {
|
|
|
2811
3052
|
.ncua-message-notification .ncua-notification__action-button--text, .ncua-message-notification .ncua-notification__action-button--text-gray {
|
|
2812
3053
|
font-weight: var(--font-weights-commerce-sans-1);
|
|
2813
3054
|
}
|
|
3055
|
+
.ncua-message-notification .ncua-message-notification__hide-link.ncua-notification__action-button {
|
|
3056
|
+
color: var(--gray-500);
|
|
3057
|
+
font-weight: var(--font-weights-commerce-sans-1);
|
|
3058
|
+
}
|
|
2814
3059
|
|
|
2815
3060
|
.ncua-callout-notification {
|
|
2816
3061
|
display: flex;
|