@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
|
@@ -1712,10 +1712,10 @@
|
|
|
1712
1712
|
.ncua-input__password-icon {
|
|
1713
1713
|
color: var(--gray-300);
|
|
1714
1714
|
}
|
|
1715
|
-
.ncua-
|
|
1715
|
+
.ncua-input__slot-icon {
|
|
1716
1716
|
color: var(--gray-300);
|
|
1717
1717
|
}
|
|
1718
|
-
.ncua-input.has-value .ncua-
|
|
1718
|
+
.ncua-input.has-value .ncua-input__slot-icon, .ncua-input:focus-within .ncua-input__slot-icon {
|
|
1719
1719
|
color: var(--gray-600);
|
|
1720
1720
|
}
|
|
1721
1721
|
.ncua-input__left-icon {
|
|
@@ -1745,6 +1745,12 @@
|
|
|
1745
1745
|
.ncua-input.is-disabled .ncua-input__destructive-icon {
|
|
1746
1746
|
display: none;
|
|
1747
1747
|
}
|
|
1748
|
+
.ncua-input.is-disabled .ncua-input__password-icon {
|
|
1749
|
+
display: none;
|
|
1750
|
+
}
|
|
1751
|
+
.ncua-input.is-disabled .ncua-input__slot-icon {
|
|
1752
|
+
color: var(--gray-300);
|
|
1753
|
+
}
|
|
1748
1754
|
.ncua-input.is-disabled .ncua-input__button {
|
|
1749
1755
|
color: var(--gray-200);
|
|
1750
1756
|
}
|
|
@@ -1807,6 +1813,33 @@
|
|
|
1807
1813
|
margin-left: -1px;
|
|
1808
1814
|
}
|
|
1809
1815
|
|
|
1816
|
+
.ncua-input__trailing-text-wrap .ncua-input__trailing-text {
|
|
1817
|
+
display: flex;
|
|
1818
|
+
align-items: center;
|
|
1819
|
+
background-color: var(--base-white);
|
|
1820
|
+
border: 1px solid var(--gray-200);
|
|
1821
|
+
padding: 4px 10px;
|
|
1822
|
+
}
|
|
1823
|
+
.ncua-input__trailing-text-wrap .ncua-input__trailing-text--xs {
|
|
1824
|
+
line-height: var(--line-heights-xs);
|
|
1825
|
+
padding: 4px 10px;
|
|
1826
|
+
}
|
|
1827
|
+
.ncua-input__trailing-text-wrap .ncua-input__trailing-text--sm {
|
|
1828
|
+
line-height: var(--line-heights-sm);
|
|
1829
|
+
padding: 6px 12px;
|
|
1830
|
+
}
|
|
1831
|
+
.ncua-input__trailing-text-wrap .ncua-input__trailing-text {
|
|
1832
|
+
border-radius: 0 6px 6px 0;
|
|
1833
|
+
border-left-width: 0;
|
|
1834
|
+
color: var(--gray-400);
|
|
1835
|
+
font-size: var(--font-size-sm);
|
|
1836
|
+
}
|
|
1837
|
+
.ncua-input__trailing-text-wrap .ncua-input__field:has(+ .ncua-input__trailing-text) {
|
|
1838
|
+
border-top-right-radius: 0;
|
|
1839
|
+
border-bottom-right-radius: 0;
|
|
1840
|
+
margin-right: -1px;
|
|
1841
|
+
}
|
|
1842
|
+
|
|
1810
1843
|
.ncua-input__trailing-button .ncua-input__button {
|
|
1811
1844
|
display: flex;
|
|
1812
1845
|
align-items: center;
|
|
@@ -2205,6 +2238,230 @@
|
|
|
2205
2238
|
}
|
|
2206
2239
|
}
|
|
2207
2240
|
|
|
2241
|
+
.ncua-modal:has(.ncua-postcode-search-modal) {
|
|
2242
|
+
padding-block-end: 0;
|
|
2243
|
+
height: 640px;
|
|
2244
|
+
}
|
|
2245
|
+
@media (max-width: 768px) {
|
|
2246
|
+
.ncua-modal:has(.ncua-postcode-search-modal) {
|
|
2247
|
+
height: 480px;
|
|
2248
|
+
}
|
|
2249
|
+
.ncua-modal:has(.ncua-postcode-search-modal) .ncua-postcode-search-modal__item .ncua-radio-input {
|
|
2250
|
+
display: none;
|
|
2251
|
+
}
|
|
2252
|
+
}
|
|
2253
|
+
|
|
2254
|
+
.ncua-modal__content:has(.ncua-postcode-search-modal) {
|
|
2255
|
+
display: flex;
|
|
2256
|
+
flex-direction: column;
|
|
2257
|
+
padding-block-end: 91px;
|
|
2258
|
+
padding-inline: 0;
|
|
2259
|
+
}
|
|
2260
|
+
|
|
2261
|
+
.ncua-postcode-search-modal {
|
|
2262
|
+
--padding-inline: 20px;
|
|
2263
|
+
display: flex;
|
|
2264
|
+
flex: 1;
|
|
2265
|
+
flex-direction: column;
|
|
2266
|
+
gap: var(--spacing-m);
|
|
2267
|
+
}
|
|
2268
|
+
|
|
2269
|
+
.ncua-postcode-search-modal__search-area {
|
|
2270
|
+
position: sticky;
|
|
2271
|
+
top: 0;
|
|
2272
|
+
z-index: 1;
|
|
2273
|
+
padding-inline: var(--padding-inline);
|
|
2274
|
+
display: flex;
|
|
2275
|
+
flex-direction: column;
|
|
2276
|
+
gap: var(--spacing-s);
|
|
2277
|
+
background-color: var(--base-white);
|
|
2278
|
+
padding-block-end: 12px;
|
|
2279
|
+
}
|
|
2280
|
+
.ncua-postcode-search-modal__search-area.is-fixed {
|
|
2281
|
+
border-block-end: 1px solid var(--gray-200);
|
|
2282
|
+
}
|
|
2283
|
+
|
|
2284
|
+
.ncua-postcode-search-modal__search {
|
|
2285
|
+
display: flex;
|
|
2286
|
+
align-items: flex-start;
|
|
2287
|
+
gap: var(--spacing-s);
|
|
2288
|
+
}
|
|
2289
|
+
|
|
2290
|
+
.ncua-postcode-search-modal__search-area .ncua-postcode-search-modal__result-title {
|
|
2291
|
+
margin: 0 0 2px;
|
|
2292
|
+
color: var(--gray-500);
|
|
2293
|
+
font-size: var(--font-size-xs);
|
|
2294
|
+
font-weight: var(--font-weights-commerce-sans-1);
|
|
2295
|
+
line-height: var(--line-heights-xs);
|
|
2296
|
+
}
|
|
2297
|
+
|
|
2298
|
+
.ncua-postcode-search-modal__result-desc {
|
|
2299
|
+
margin: 0;
|
|
2300
|
+
color: var(--gray-400);
|
|
2301
|
+
font-size: var(--font-size-xxs);
|
|
2302
|
+
font-weight: var(--font-weights-commerce-sans-0);
|
|
2303
|
+
line-height: var(--line-heights-xxs);
|
|
2304
|
+
}
|
|
2305
|
+
|
|
2306
|
+
.ncua-postcode-search-modal__search-input {
|
|
2307
|
+
flex: 1;
|
|
2308
|
+
min-width: 0;
|
|
2309
|
+
}
|
|
2310
|
+
|
|
2311
|
+
.ncua-postcode-search-modal__search-button {
|
|
2312
|
+
flex-shrink: 0;
|
|
2313
|
+
}
|
|
2314
|
+
|
|
2315
|
+
.ncua-postcode-search-modal__count {
|
|
2316
|
+
padding-inline: var(--padding-inline);
|
|
2317
|
+
color: var(--gray-700);
|
|
2318
|
+
font-size: var(--font-size-xs);
|
|
2319
|
+
font-weight: var(--font-weights-commerce-sans-2);
|
|
2320
|
+
line-height: var(--line-heights-xs);
|
|
2321
|
+
}
|
|
2322
|
+
.ncua-postcode-search-modal__count b {
|
|
2323
|
+
color: var(--primary-red-450);
|
|
2324
|
+
}
|
|
2325
|
+
|
|
2326
|
+
.ncua-postcode-search-modal__list {
|
|
2327
|
+
padding-inline: var(--padding-inline);
|
|
2328
|
+
margin-bottom: 0;
|
|
2329
|
+
}
|
|
2330
|
+
|
|
2331
|
+
.ncua-postcode-search-modal__item {
|
|
2332
|
+
padding: 12px 16px;
|
|
2333
|
+
background-color: var(--base-white);
|
|
2334
|
+
border: 1px solid var(--gray-200);
|
|
2335
|
+
border-radius: 8px;
|
|
2336
|
+
}
|
|
2337
|
+
.ncua-postcode-search-modal__item .ncua-radio-field {
|
|
2338
|
+
align-items: center;
|
|
2339
|
+
width: 100%;
|
|
2340
|
+
}
|
|
2341
|
+
.ncua-postcode-search-modal__item .ncua-radio-field__input + span {
|
|
2342
|
+
flex: 1;
|
|
2343
|
+
}
|
|
2344
|
+
.ncua-postcode-search-modal__item + .ncua-postcode-search-modal__item {
|
|
2345
|
+
margin-block-start: 8px;
|
|
2346
|
+
}
|
|
2347
|
+
.ncua-postcode-search-modal__item:hover {
|
|
2348
|
+
box-shadow: var(--shadow-xs);
|
|
2349
|
+
background-color: var(--gray-50);
|
|
2350
|
+
}
|
|
2351
|
+
.ncua-postcode-search-modal__item:has(:checked) {
|
|
2352
|
+
border-color: var(--gray-400);
|
|
2353
|
+
}
|
|
2354
|
+
|
|
2355
|
+
.ncua-postcode-search-modal__addr-line {
|
|
2356
|
+
display: flex;
|
|
2357
|
+
align-items: flex-start;
|
|
2358
|
+
gap: var(--spacing-s);
|
|
2359
|
+
font-size: var(--font-size-xs);
|
|
2360
|
+
}
|
|
2361
|
+
.ncua-postcode-search-modal__addr-line + .ncua-postcode-search-modal__addr-line {
|
|
2362
|
+
margin-block-start: 8px;
|
|
2363
|
+
}
|
|
2364
|
+
|
|
2365
|
+
.ncua-postcode-search-modal__badge {
|
|
2366
|
+
padding: 1px 4px;
|
|
2367
|
+
width: 41px;
|
|
2368
|
+
height: 18px;
|
|
2369
|
+
border-radius: 4px;
|
|
2370
|
+
color: var(--gray-600);
|
|
2371
|
+
font-size: var(--font-size-xxs);
|
|
2372
|
+
line-height: var(--line-heights-xxs);
|
|
2373
|
+
text-align: center;
|
|
2374
|
+
background-color: var(--gray-100);
|
|
2375
|
+
}
|
|
2376
|
+
|
|
2377
|
+
.ncua-postcode-search-modal__item-road {
|
|
2378
|
+
flex: 1;
|
|
2379
|
+
word-break: break-all;
|
|
2380
|
+
}
|
|
2381
|
+
|
|
2382
|
+
.ncua-postcode-search-modal__item-zip {
|
|
2383
|
+
flex-shrink: 0;
|
|
2384
|
+
color: var(--gray-500);
|
|
2385
|
+
}
|
|
2386
|
+
|
|
2387
|
+
.ncua-postcode-search-modal__item-jibun {
|
|
2388
|
+
flex: 1;
|
|
2389
|
+
word-break: break-all;
|
|
2390
|
+
}
|
|
2391
|
+
|
|
2392
|
+
.ncua-postcode-search-modal__tip {
|
|
2393
|
+
padding-inline: var(--padding-inline);
|
|
2394
|
+
color: var(--gray-500);
|
|
2395
|
+
font-size: var(--font-size-xxs);
|
|
2396
|
+
line-height: var(--line-heights-xxs);
|
|
2397
|
+
}
|
|
2398
|
+
|
|
2399
|
+
.ncua-postcode-search-modal__tip .ncua-postcode-search-modal__tip-label {
|
|
2400
|
+
display: flex;
|
|
2401
|
+
align-items: center;
|
|
2402
|
+
gap: var(--spacing-xs);
|
|
2403
|
+
margin-block-end: 12px;
|
|
2404
|
+
font-size: var(--font-size-xs);
|
|
2405
|
+
font-weight: var(--font-weights-commerce-sans-2);
|
|
2406
|
+
}
|
|
2407
|
+
|
|
2408
|
+
.ncua-postcode-search-modal__tip-icon {
|
|
2409
|
+
flex-shrink: 0;
|
|
2410
|
+
}
|
|
2411
|
+
|
|
2412
|
+
.ncua-postcode-search-modal__tip .ncua-postcode-search-modal__tip-title {
|
|
2413
|
+
margin: 0 0 4px;
|
|
2414
|
+
font-weight: var(--font-weights-commerce-sans-2);
|
|
2415
|
+
}
|
|
2416
|
+
|
|
2417
|
+
.ncua-postcode-search-modal__tip-list {
|
|
2418
|
+
display: flex;
|
|
2419
|
+
flex-direction: column;
|
|
2420
|
+
gap: var(--spacing-xs);
|
|
2421
|
+
margin: 0;
|
|
2422
|
+
list-style: disc;
|
|
2423
|
+
padding-left: 0;
|
|
2424
|
+
}
|
|
2425
|
+
|
|
2426
|
+
.ncua-postcode-search-modal__tip-item {
|
|
2427
|
+
position: relative;
|
|
2428
|
+
display: flex;
|
|
2429
|
+
flex-direction: column;
|
|
2430
|
+
padding-inline-start: 16px;
|
|
2431
|
+
}
|
|
2432
|
+
.ncua-postcode-search-modal__tip-item::before {
|
|
2433
|
+
content: "•";
|
|
2434
|
+
position: absolute;
|
|
2435
|
+
left: 0;
|
|
2436
|
+
}
|
|
2437
|
+
|
|
2438
|
+
.ncua-postcode-search-modal__tip-combination {
|
|
2439
|
+
color: var(--gray-700);
|
|
2440
|
+
}
|
|
2441
|
+
|
|
2442
|
+
.ncua-postcode-search-modal__tip-example {
|
|
2443
|
+
padding-left: var(--spacing-s);
|
|
2444
|
+
}
|
|
2445
|
+
|
|
2446
|
+
.ncua-postcode-search-modal__pagination {
|
|
2447
|
+
display: flex;
|
|
2448
|
+
justify-content: center;
|
|
2449
|
+
margin-top: auto;
|
|
2450
|
+
padding-top: var(--spacing-m);
|
|
2451
|
+
padding-inline: var(--padding-inline);
|
|
2452
|
+
}
|
|
2453
|
+
.ncua-postcode-search-modal__pagination .ncua-pagination--mo {
|
|
2454
|
+
flex: 1;
|
|
2455
|
+
}
|
|
2456
|
+
|
|
2457
|
+
.ncua-postcode-search-modal__empty {
|
|
2458
|
+
display: flex;
|
|
2459
|
+
flex: 1;
|
|
2460
|
+
align-items: center;
|
|
2461
|
+
justify-content: center;
|
|
2462
|
+
padding: var(--spacing-xxl) 0;
|
|
2463
|
+
}
|
|
2464
|
+
|
|
2208
2465
|
/* ------------------------------------------------------------------
|
|
2209
2466
|
* Floating Notification Host
|
|
2210
2467
|
*
|
|
@@ -2611,11 +2868,11 @@
|
|
|
2611
2868
|
align-items: center;
|
|
2612
2869
|
flex-direction: column;
|
|
2613
2870
|
width: 100%;
|
|
2614
|
-
padding: 16px 24px;
|
|
2871
|
+
padding: 12px 16px 12px 24px;
|
|
2615
2872
|
}
|
|
2616
2873
|
@media (max-width: 768px) {
|
|
2617
2874
|
.ncua-message-notification__container {
|
|
2618
|
-
padding: 16px;
|
|
2875
|
+
padding: 12px 8px 12px 16px;
|
|
2619
2876
|
}
|
|
2620
2877
|
}
|
|
2621
2878
|
.ncua-message-notification__content {
|
|
@@ -2649,20 +2906,21 @@
|
|
|
2649
2906
|
min-width: 0;
|
|
2650
2907
|
}
|
|
2651
2908
|
.ncua-message-notification__title {
|
|
2652
|
-
font-size: var(--font-size-
|
|
2653
|
-
line-height: var(--line-heights-
|
|
2909
|
+
font-size: var(--font-size-sm);
|
|
2910
|
+
line-height: var(--line-heights-sm);
|
|
2654
2911
|
font-weight: var(--font-weights-commerce-sans-2);
|
|
2655
2912
|
}
|
|
2656
2913
|
.ncua-message-notification__supporting-text {
|
|
2657
|
-
font-size: var(--font-size-
|
|
2658
|
-
line-height: var(--line-heights-
|
|
2914
|
+
font-size: var(--font-size-xs);
|
|
2915
|
+
line-height: var(--line-heights-xs);
|
|
2659
2916
|
font-weight: var(--font-weights-commerce-sans-0);
|
|
2660
2917
|
}
|
|
2661
2918
|
.ncua-message-notification__actions-container {
|
|
2662
2919
|
display: flex;
|
|
2663
2920
|
align-items: center;
|
|
2664
|
-
gap:
|
|
2921
|
+
gap: 12px;
|
|
2665
2922
|
flex-shrink: 0;
|
|
2923
|
+
flex-wrap: wrap;
|
|
2666
2924
|
}
|
|
2667
2925
|
@media (max-width: 768px) {
|
|
2668
2926
|
.ncua-message-notification__actions-container {
|
|
@@ -2686,7 +2944,6 @@
|
|
|
2686
2944
|
cursor: pointer;
|
|
2687
2945
|
font-size: var(--font-size-xs);
|
|
2688
2946
|
line-height: var(--line-heights-xs);
|
|
2689
|
-
font-weight: var(--font-weights-commerce-sans-0);
|
|
2690
2947
|
}
|
|
2691
2948
|
.ncua-message-notification__close-button {
|
|
2692
2949
|
display: flex;
|
|
@@ -2695,23 +2952,22 @@
|
|
|
2695
2952
|
background: transparent;
|
|
2696
2953
|
border: none;
|
|
2697
2954
|
cursor: pointer;
|
|
2698
|
-
border-radius:
|
|
2955
|
+
border-radius: 6px;
|
|
2699
2956
|
padding: 8px;
|
|
2700
2957
|
flex-shrink: 0;
|
|
2701
2958
|
}
|
|
2702
2959
|
.ncua-message-notification--neutral {
|
|
2703
2960
|
color: var(--gray-600);
|
|
2704
2961
|
background-color: var(--gray-50);
|
|
2705
|
-
border-radius:
|
|
2962
|
+
border-radius: 12px;
|
|
2706
2963
|
border: 1px solid var(--gray-300);
|
|
2707
|
-
box-shadow: var(--shadow-
|
|
2964
|
+
box-shadow: var(--shadow-md);
|
|
2708
2965
|
}
|
|
2709
2966
|
.ncua-message-notification--neutral .ncua-message-notification__title {
|
|
2710
2967
|
color: var(--gray-600);
|
|
2711
2968
|
}
|
|
2712
2969
|
.ncua-message-notification--neutral .ncua-message-notification__supporting-text {
|
|
2713
2970
|
color: var(--gray-500);
|
|
2714
|
-
opacity: 0.8;
|
|
2715
2971
|
}
|
|
2716
2972
|
.ncua-message-notification--neutral .ncua-notification__action-button {
|
|
2717
2973
|
color: var(--gray-500);
|
|
@@ -2719,22 +2975,18 @@
|
|
|
2719
2975
|
.ncua-message-notification--neutral .ncua-notification__action-button--text, .ncua-message-notification--neutral .ncua-notification__action-button--text-gray {
|
|
2720
2976
|
color: var(--gray-600);
|
|
2721
2977
|
}
|
|
2722
|
-
.ncua-message-notification--neutral .ncua-message-notification__hide-link {
|
|
2723
|
-
color: var(--gray-500);
|
|
2724
|
-
}
|
|
2725
2978
|
.ncua-message-notification--error {
|
|
2726
2979
|
color: var(--primary-red-600);
|
|
2727
2980
|
background-color: var(--primary-red-50);
|
|
2728
|
-
border-radius:
|
|
2981
|
+
border-radius: 12px;
|
|
2729
2982
|
border: 1px solid var(--primary-red-300);
|
|
2730
|
-
box-shadow: var(--shadow-
|
|
2983
|
+
box-shadow: var(--shadow-md);
|
|
2731
2984
|
}
|
|
2732
2985
|
.ncua-message-notification--error .ncua-message-notification__title {
|
|
2733
2986
|
color: var(--primary-red-600);
|
|
2734
2987
|
}
|
|
2735
2988
|
.ncua-message-notification--error .ncua-message-notification__supporting-text {
|
|
2736
2989
|
color: var(--gray-500);
|
|
2737
|
-
opacity: 0.8;
|
|
2738
2990
|
}
|
|
2739
2991
|
.ncua-message-notification--error .ncua-notification__action-button {
|
|
2740
2992
|
color: var(--primary-red-500);
|
|
@@ -2742,22 +2994,18 @@
|
|
|
2742
2994
|
.ncua-message-notification--error .ncua-notification__action-button--text, .ncua-message-notification--error .ncua-notification__action-button--text-gray {
|
|
2743
2995
|
color: var(--primary-red-600);
|
|
2744
2996
|
}
|
|
2745
|
-
.ncua-message-notification--error .ncua-message-notification__hide-link {
|
|
2746
|
-
color: var(--gray-500);
|
|
2747
|
-
}
|
|
2748
2997
|
.ncua-message-notification--warning {
|
|
2749
2998
|
color: var(--orange-600);
|
|
2750
2999
|
background-color: var(--orange-50);
|
|
2751
|
-
border-radius:
|
|
3000
|
+
border-radius: 12px;
|
|
2752
3001
|
border: 1px solid var(--orange-300);
|
|
2753
|
-
box-shadow: var(--shadow-
|
|
3002
|
+
box-shadow: var(--shadow-md);
|
|
2754
3003
|
}
|
|
2755
3004
|
.ncua-message-notification--warning .ncua-message-notification__title {
|
|
2756
3005
|
color: var(--orange-600);
|
|
2757
3006
|
}
|
|
2758
3007
|
.ncua-message-notification--warning .ncua-message-notification__supporting-text {
|
|
2759
3008
|
color: var(--gray-500);
|
|
2760
|
-
opacity: 0.8;
|
|
2761
3009
|
}
|
|
2762
3010
|
.ncua-message-notification--warning .ncua-notification__action-button {
|
|
2763
3011
|
color: var(--orange-500);
|
|
@@ -2765,22 +3013,18 @@
|
|
|
2765
3013
|
.ncua-message-notification--warning .ncua-notification__action-button--text, .ncua-message-notification--warning .ncua-notification__action-button--text-gray {
|
|
2766
3014
|
color: var(--orange-600);
|
|
2767
3015
|
}
|
|
2768
|
-
.ncua-message-notification--warning .ncua-message-notification__hide-link {
|
|
2769
|
-
color: var(--gray-500);
|
|
2770
|
-
}
|
|
2771
3016
|
.ncua-message-notification--success {
|
|
2772
3017
|
color: var(--green-600);
|
|
2773
3018
|
background-color: var(--green-50);
|
|
2774
|
-
border-radius:
|
|
3019
|
+
border-radius: 12px;
|
|
2775
3020
|
border: 1px solid var(--green-300);
|
|
2776
|
-
box-shadow: var(--shadow-
|
|
3021
|
+
box-shadow: var(--shadow-md);
|
|
2777
3022
|
}
|
|
2778
3023
|
.ncua-message-notification--success .ncua-message-notification__title {
|
|
2779
3024
|
color: var(--green-600);
|
|
2780
3025
|
}
|
|
2781
3026
|
.ncua-message-notification--success .ncua-message-notification__supporting-text {
|
|
2782
3027
|
color: var(--gray-500);
|
|
2783
|
-
opacity: 0.8;
|
|
2784
3028
|
}
|
|
2785
3029
|
.ncua-message-notification--success .ncua-notification__action-button {
|
|
2786
3030
|
color: var(--green-500);
|
|
@@ -2788,9 +3032,6 @@
|
|
|
2788
3032
|
.ncua-message-notification--success .ncua-notification__action-button--text, .ncua-message-notification--success .ncua-notification__action-button--text-gray {
|
|
2789
3033
|
color: var(--green-600);
|
|
2790
3034
|
}
|
|
2791
|
-
.ncua-message-notification--success .ncua-message-notification__hide-link {
|
|
2792
|
-
color: var(--gray-500);
|
|
2793
|
-
}
|
|
2794
3035
|
.ncua-message-notification .ncua-notification__action-button {
|
|
2795
3036
|
background: transparent;
|
|
2796
3037
|
border: none;
|
|
@@ -2803,6 +3044,10 @@
|
|
|
2803
3044
|
.ncua-message-notification .ncua-notification__action-button--text, .ncua-message-notification .ncua-notification__action-button--text-gray {
|
|
2804
3045
|
font-weight: var(--font-weights-commerce-sans-1);
|
|
2805
3046
|
}
|
|
3047
|
+
.ncua-message-notification .ncua-message-notification__hide-link.ncua-notification__action-button {
|
|
3048
|
+
color: var(--gray-500);
|
|
3049
|
+
font-weight: var(--font-weights-commerce-sans-1);
|
|
3050
|
+
}
|
|
2806
3051
|
|
|
2807
3052
|
.ncua-callout-notification {
|
|
2808
3053
|
display: flex;
|