@ncds/ui-admin 1.8.21-alpha.0 → 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 +52 -34
- package/dist/cjs/src/components/forms-and-input/input-base/__tests__/InputBase.test.js +228 -0
- package/dist/cjs/src/components/forms-and-input/password-input/PasswordInput.js +3 -2
- package/dist/cjs/src/components/forms-and-input/password-input/__tests__/PasswordInput.test.js +59 -0
- package/dist/cjs/src/components/index.js +22 -0
- package/dist/cjs/src/components/layout/ncua-scope/NcuaScope.js +79 -0
- package/dist/cjs/src/components/layout/ncua-scope/index.js +16 -0
- 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 +9 -0
- 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 +52 -34
- package/dist/esm/src/components/forms-and-input/input-base/__tests__/InputBase.test.js +228 -0
- package/dist/esm/src/components/forms-and-input/password-input/PasswordInput.js +3 -2
- package/dist/esm/src/components/forms-and-input/password-input/__tests__/PasswordInput.test.js +56 -0
- package/dist/esm/src/components/index.js +2 -0
- package/dist/esm/src/components/layout/ncua-scope/NcuaScope.js +73 -0
- package/dist/esm/src/components/layout/ncua-scope/index.js +1 -0
- 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 +3 -0
- 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 +43 -26
- package/dist/temp/src/components/forms-and-input/input-base/__tests__/InputBase.test.js +174 -0
- package/dist/temp/src/components/forms-and-input/password-input/PasswordInput.js +2 -1
- 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 +2 -0
- package/dist/temp/src/components/index.js +2 -0
- package/dist/temp/src/components/layout/ncua-scope/NcuaScope.d.ts +32 -0
- package/dist/temp/src/components/layout/ncua-scope/NcuaScope.js +51 -0
- package/dist/temp/src/components/layout/ncua-scope/index.d.ts +1 -0
- package/dist/temp/src/components/layout/ncua-scope/index.js +1 -0
- 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.d.ts +1 -0
- package/dist/temp/src/generated/scoped-css.js +3 -0
- 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 +2 -0
- package/dist/types/src/components/layout/ncua-scope/NcuaScope.d.ts +32 -0
- package/dist/types/src/components/layout/ncua-scope/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/types/src/generated/scoped-css.d.ts +1 -0
- package/dist/ui-admin/assets/styles/style.css +296 -56
- package/dist/ui-admin/assets/styles/style.scoped.css +8595 -0
- package/package.json +13 -6
|
@@ -67,9 +67,6 @@
|
|
|
67
67
|
--shadow-xs-focused-3px-primary-100: 0px 1px 2px 0px #1018280d, 0px 0px 0px 3px #ffeaee;
|
|
68
68
|
--shadow-xs-focused-3px-gray-100: 0px 1px 2px 0px #1018280d, 0px 0px 0px 3px #f2f4f7;
|
|
69
69
|
--shadow-xs-focused-3px-error-100: 0px 1px 2px 0px #1018280d, 0px 0px 0px 3px #fee4e2;
|
|
70
|
-
--shadow-xs-focused-4px-primary-100: 0px 1px 2px 0px #1018280d, 0px 0px 0px 4px #ffeaee;
|
|
71
|
-
--shadow-xs-focused-4px-gray-100: 0px 1px 2px 0px #1018280d, 0px 0px 0px 4px #f2f4f7;
|
|
72
|
-
--shadow-xs-focused-4px-error-100: 0px 1px 2px 0px #1018280d, 0px 0px 0px 4px #fee4e2;
|
|
73
70
|
--shadow-sm: 0px 1px 3px 0px #1018281a, 0px 1px 2px 0px #1018280f;
|
|
74
71
|
--shadow-sm-focused-4px-primary-100: 0px 1px 2px 0px #1018280d, 0px 0px 0px 4px #ffeaee;
|
|
75
72
|
--shadow-sm-focused-4px-gray-100: 0px 1px 3px 0px #1018281a, 0px 1px 2px 0px #1018280f, 0px 0px 0px 4px #f2f4f7;
|
|
@@ -194,20 +191,15 @@ body {
|
|
|
194
191
|
line-height: var(--line-heights-xs);
|
|
195
192
|
}
|
|
196
193
|
|
|
197
|
-
ol,
|
|
198
|
-
ul {
|
|
194
|
+
ol, ul {
|
|
199
195
|
list-style: none;
|
|
200
196
|
}
|
|
201
197
|
|
|
202
|
-
blockquote,
|
|
203
|
-
q {
|
|
198
|
+
blockquote, q {
|
|
204
199
|
quotes: none;
|
|
205
200
|
}
|
|
206
201
|
|
|
207
|
-
blockquote:before,
|
|
208
|
-
blockquote:after,
|
|
209
|
-
q:before,
|
|
210
|
-
q:after {
|
|
202
|
+
blockquote:before, blockquote:after, q:before, q:after {
|
|
211
203
|
content: "";
|
|
212
204
|
content: none;
|
|
213
205
|
}
|
|
@@ -221,10 +213,7 @@ fieldset {
|
|
|
221
213
|
border: 0;
|
|
222
214
|
}
|
|
223
215
|
|
|
224
|
-
input,
|
|
225
|
-
button,
|
|
226
|
-
select,
|
|
227
|
-
textarea {
|
|
216
|
+
input, button, select, textarea {
|
|
228
217
|
font: inherit;
|
|
229
218
|
color: inherit;
|
|
230
219
|
}
|
|
@@ -334,7 +323,7 @@ button {
|
|
|
334
323
|
background-color: var(--primary-red-450);
|
|
335
324
|
border: 1px solid var(--primary-red-500);
|
|
336
325
|
color: var(--base-white);
|
|
337
|
-
box-shadow: var(--shadow-
|
|
326
|
+
box-shadow: var(--shadow-sm-focused-4px-primary-100);
|
|
338
327
|
}
|
|
339
328
|
.ncua-btn--primary:disabled, .ncua-btn--primary.is-disable {
|
|
340
329
|
background-color: var(--primary-red-100);
|
|
@@ -380,7 +369,7 @@ button {
|
|
|
380
369
|
background-color: var(--base-white);
|
|
381
370
|
border: 1px solid var(--gray-200);
|
|
382
371
|
color: var(--gray-700);
|
|
383
|
-
box-shadow: var(--shadow-
|
|
372
|
+
box-shadow: var(--shadow-sm-focused-4px-gray-100);
|
|
384
373
|
}
|
|
385
374
|
.ncua-btn--secondary-gray:disabled, .ncua-btn--secondary-gray.is-disable {
|
|
386
375
|
background-color: var(--base-white);
|
|
@@ -966,7 +955,7 @@ button {
|
|
|
966
955
|
}
|
|
967
956
|
.ncua-checkbox-input.destructive :where(input):focus {
|
|
968
957
|
border-color: var(--primary-red-600);
|
|
969
|
-
box-shadow: var(--shadow-
|
|
958
|
+
box-shadow: var(--shadow-sm-focused-4px-error-100);
|
|
970
959
|
}
|
|
971
960
|
.ncua-checkbox-input:hover {
|
|
972
961
|
border-color: var(--gray-600);
|
|
@@ -1731,6 +1720,12 @@ button {
|
|
|
1731
1720
|
.ncua-input__password-icon {
|
|
1732
1721
|
color: var(--gray-300);
|
|
1733
1722
|
}
|
|
1723
|
+
.ncua-input__slot-icon {
|
|
1724
|
+
color: var(--gray-300);
|
|
1725
|
+
}
|
|
1726
|
+
.ncua-input.has-value .ncua-input__slot-icon, .ncua-input:focus-within .ncua-input__slot-icon {
|
|
1727
|
+
color: var(--gray-600);
|
|
1728
|
+
}
|
|
1734
1729
|
.ncua-input__left-icon {
|
|
1735
1730
|
margin-right: 8px;
|
|
1736
1731
|
}
|
|
@@ -1741,7 +1736,7 @@ button {
|
|
|
1741
1736
|
border-color: var(--primary-red-600);
|
|
1742
1737
|
}
|
|
1743
1738
|
.ncua-input.destructive:where(:focus-within) .ncua-input__field {
|
|
1744
|
-
box-shadow: var(--shadow-
|
|
1739
|
+
box-shadow: var(--shadow-sm-focused-4px-error-100);
|
|
1745
1740
|
}
|
|
1746
1741
|
.ncua-input.is-disabled .ncua-input__content > :not(button) {
|
|
1747
1742
|
background-color: var(--gray-50);
|
|
@@ -1758,6 +1753,12 @@ button {
|
|
|
1758
1753
|
.ncua-input.is-disabled .ncua-input__destructive-icon {
|
|
1759
1754
|
display: none;
|
|
1760
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
|
+
}
|
|
1761
1762
|
.ncua-input.is-disabled .ncua-input__button {
|
|
1762
1763
|
color: var(--gray-200);
|
|
1763
1764
|
}
|
|
@@ -1820,6 +1821,33 @@ button {
|
|
|
1820
1821
|
margin-left: -1px;
|
|
1821
1822
|
}
|
|
1822
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
|
+
|
|
1823
1851
|
.ncua-input__trailing-button .ncua-input__button {
|
|
1824
1852
|
display: flex;
|
|
1825
1853
|
align-items: center;
|
|
@@ -1898,7 +1926,7 @@ button {
|
|
|
1898
1926
|
border-color: var(--primary-red-600);
|
|
1899
1927
|
}
|
|
1900
1928
|
.ncua-input--textarea.destructive textarea:focus {
|
|
1901
|
-
box-shadow: var(--shadow-
|
|
1929
|
+
box-shadow: var(--shadow-sm-focused-4px-error-100);
|
|
1902
1930
|
}
|
|
1903
1931
|
|
|
1904
1932
|
.ncua-input--textarea--xs textarea {
|
|
@@ -2218,6 +2246,230 @@ button {
|
|
|
2218
2246
|
}
|
|
2219
2247
|
}
|
|
2220
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
|
+
|
|
2221
2473
|
/* ------------------------------------------------------------------
|
|
2222
2474
|
* Floating Notification Host
|
|
2223
2475
|
*
|
|
@@ -2624,11 +2876,11 @@ button {
|
|
|
2624
2876
|
align-items: center;
|
|
2625
2877
|
flex-direction: column;
|
|
2626
2878
|
width: 100%;
|
|
2627
|
-
padding: 16px 24px;
|
|
2879
|
+
padding: 12px 16px 12px 24px;
|
|
2628
2880
|
}
|
|
2629
2881
|
@media (max-width: 768px) {
|
|
2630
2882
|
.ncua-message-notification__container {
|
|
2631
|
-
padding: 16px;
|
|
2883
|
+
padding: 12px 8px 12px 16px;
|
|
2632
2884
|
}
|
|
2633
2885
|
}
|
|
2634
2886
|
.ncua-message-notification__content {
|
|
@@ -2662,20 +2914,21 @@ button {
|
|
|
2662
2914
|
min-width: 0;
|
|
2663
2915
|
}
|
|
2664
2916
|
.ncua-message-notification__title {
|
|
2665
|
-
font-size: var(--font-size-
|
|
2666
|
-
line-height: var(--line-heights-
|
|
2917
|
+
font-size: var(--font-size-sm);
|
|
2918
|
+
line-height: var(--line-heights-sm);
|
|
2667
2919
|
font-weight: var(--font-weights-commerce-sans-2);
|
|
2668
2920
|
}
|
|
2669
2921
|
.ncua-message-notification__supporting-text {
|
|
2670
|
-
font-size: var(--font-size-
|
|
2671
|
-
line-height: var(--line-heights-
|
|
2922
|
+
font-size: var(--font-size-xs);
|
|
2923
|
+
line-height: var(--line-heights-xs);
|
|
2672
2924
|
font-weight: var(--font-weights-commerce-sans-0);
|
|
2673
2925
|
}
|
|
2674
2926
|
.ncua-message-notification__actions-container {
|
|
2675
2927
|
display: flex;
|
|
2676
2928
|
align-items: center;
|
|
2677
|
-
gap:
|
|
2929
|
+
gap: 12px;
|
|
2678
2930
|
flex-shrink: 0;
|
|
2931
|
+
flex-wrap: wrap;
|
|
2679
2932
|
}
|
|
2680
2933
|
@media (max-width: 768px) {
|
|
2681
2934
|
.ncua-message-notification__actions-container {
|
|
@@ -2699,7 +2952,6 @@ button {
|
|
|
2699
2952
|
cursor: pointer;
|
|
2700
2953
|
font-size: var(--font-size-xs);
|
|
2701
2954
|
line-height: var(--line-heights-xs);
|
|
2702
|
-
font-weight: var(--font-weights-commerce-sans-0);
|
|
2703
2955
|
}
|
|
2704
2956
|
.ncua-message-notification__close-button {
|
|
2705
2957
|
display: flex;
|
|
@@ -2708,23 +2960,22 @@ button {
|
|
|
2708
2960
|
background: transparent;
|
|
2709
2961
|
border: none;
|
|
2710
2962
|
cursor: pointer;
|
|
2711
|
-
border-radius:
|
|
2963
|
+
border-radius: 6px;
|
|
2712
2964
|
padding: 8px;
|
|
2713
2965
|
flex-shrink: 0;
|
|
2714
2966
|
}
|
|
2715
2967
|
.ncua-message-notification--neutral {
|
|
2716
2968
|
color: var(--gray-600);
|
|
2717
2969
|
background-color: var(--gray-50);
|
|
2718
|
-
border-radius:
|
|
2970
|
+
border-radius: 12px;
|
|
2719
2971
|
border: 1px solid var(--gray-300);
|
|
2720
|
-
box-shadow: var(--shadow-
|
|
2972
|
+
box-shadow: var(--shadow-md);
|
|
2721
2973
|
}
|
|
2722
2974
|
.ncua-message-notification--neutral .ncua-message-notification__title {
|
|
2723
2975
|
color: var(--gray-600);
|
|
2724
2976
|
}
|
|
2725
2977
|
.ncua-message-notification--neutral .ncua-message-notification__supporting-text {
|
|
2726
2978
|
color: var(--gray-500);
|
|
2727
|
-
opacity: 0.8;
|
|
2728
2979
|
}
|
|
2729
2980
|
.ncua-message-notification--neutral .ncua-notification__action-button {
|
|
2730
2981
|
color: var(--gray-500);
|
|
@@ -2732,22 +2983,18 @@ button {
|
|
|
2732
2983
|
.ncua-message-notification--neutral .ncua-notification__action-button--text, .ncua-message-notification--neutral .ncua-notification__action-button--text-gray {
|
|
2733
2984
|
color: var(--gray-600);
|
|
2734
2985
|
}
|
|
2735
|
-
.ncua-message-notification--neutral .ncua-message-notification__hide-link {
|
|
2736
|
-
color: var(--gray-500);
|
|
2737
|
-
}
|
|
2738
2986
|
.ncua-message-notification--error {
|
|
2739
2987
|
color: var(--primary-red-600);
|
|
2740
2988
|
background-color: var(--primary-red-50);
|
|
2741
|
-
border-radius:
|
|
2989
|
+
border-radius: 12px;
|
|
2742
2990
|
border: 1px solid var(--primary-red-300);
|
|
2743
|
-
box-shadow: var(--shadow-
|
|
2991
|
+
box-shadow: var(--shadow-md);
|
|
2744
2992
|
}
|
|
2745
2993
|
.ncua-message-notification--error .ncua-message-notification__title {
|
|
2746
2994
|
color: var(--primary-red-600);
|
|
2747
2995
|
}
|
|
2748
2996
|
.ncua-message-notification--error .ncua-message-notification__supporting-text {
|
|
2749
2997
|
color: var(--gray-500);
|
|
2750
|
-
opacity: 0.8;
|
|
2751
2998
|
}
|
|
2752
2999
|
.ncua-message-notification--error .ncua-notification__action-button {
|
|
2753
3000
|
color: var(--primary-red-500);
|
|
@@ -2755,22 +3002,18 @@ button {
|
|
|
2755
3002
|
.ncua-message-notification--error .ncua-notification__action-button--text, .ncua-message-notification--error .ncua-notification__action-button--text-gray {
|
|
2756
3003
|
color: var(--primary-red-600);
|
|
2757
3004
|
}
|
|
2758
|
-
.ncua-message-notification--error .ncua-message-notification__hide-link {
|
|
2759
|
-
color: var(--gray-500);
|
|
2760
|
-
}
|
|
2761
3005
|
.ncua-message-notification--warning {
|
|
2762
3006
|
color: var(--orange-600);
|
|
2763
3007
|
background-color: var(--orange-50);
|
|
2764
|
-
border-radius:
|
|
3008
|
+
border-radius: 12px;
|
|
2765
3009
|
border: 1px solid var(--orange-300);
|
|
2766
|
-
box-shadow: var(--shadow-
|
|
3010
|
+
box-shadow: var(--shadow-md);
|
|
2767
3011
|
}
|
|
2768
3012
|
.ncua-message-notification--warning .ncua-message-notification__title {
|
|
2769
3013
|
color: var(--orange-600);
|
|
2770
3014
|
}
|
|
2771
3015
|
.ncua-message-notification--warning .ncua-message-notification__supporting-text {
|
|
2772
3016
|
color: var(--gray-500);
|
|
2773
|
-
opacity: 0.8;
|
|
2774
3017
|
}
|
|
2775
3018
|
.ncua-message-notification--warning .ncua-notification__action-button {
|
|
2776
3019
|
color: var(--orange-500);
|
|
@@ -2778,22 +3021,18 @@ button {
|
|
|
2778
3021
|
.ncua-message-notification--warning .ncua-notification__action-button--text, .ncua-message-notification--warning .ncua-notification__action-button--text-gray {
|
|
2779
3022
|
color: var(--orange-600);
|
|
2780
3023
|
}
|
|
2781
|
-
.ncua-message-notification--warning .ncua-message-notification__hide-link {
|
|
2782
|
-
color: var(--gray-500);
|
|
2783
|
-
}
|
|
2784
3024
|
.ncua-message-notification--success {
|
|
2785
3025
|
color: var(--green-600);
|
|
2786
3026
|
background-color: var(--green-50);
|
|
2787
|
-
border-radius:
|
|
3027
|
+
border-radius: 12px;
|
|
2788
3028
|
border: 1px solid var(--green-300);
|
|
2789
|
-
box-shadow: var(--shadow-
|
|
3029
|
+
box-shadow: var(--shadow-md);
|
|
2790
3030
|
}
|
|
2791
3031
|
.ncua-message-notification--success .ncua-message-notification__title {
|
|
2792
3032
|
color: var(--green-600);
|
|
2793
3033
|
}
|
|
2794
3034
|
.ncua-message-notification--success .ncua-message-notification__supporting-text {
|
|
2795
3035
|
color: var(--gray-500);
|
|
2796
|
-
opacity: 0.8;
|
|
2797
3036
|
}
|
|
2798
3037
|
.ncua-message-notification--success .ncua-notification__action-button {
|
|
2799
3038
|
color: var(--green-500);
|
|
@@ -2801,9 +3040,6 @@ button {
|
|
|
2801
3040
|
.ncua-message-notification--success .ncua-notification__action-button--text, .ncua-message-notification--success .ncua-notification__action-button--text-gray {
|
|
2802
3041
|
color: var(--green-600);
|
|
2803
3042
|
}
|
|
2804
|
-
.ncua-message-notification--success .ncua-message-notification__hide-link {
|
|
2805
|
-
color: var(--gray-500);
|
|
2806
|
-
}
|
|
2807
3043
|
.ncua-message-notification .ncua-notification__action-button {
|
|
2808
3044
|
background: transparent;
|
|
2809
3045
|
border: none;
|
|
@@ -2816,6 +3052,10 @@ button {
|
|
|
2816
3052
|
.ncua-message-notification .ncua-notification__action-button--text, .ncua-message-notification .ncua-notification__action-button--text-gray {
|
|
2817
3053
|
font-weight: var(--font-weights-commerce-sans-1);
|
|
2818
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
|
+
}
|
|
2819
3059
|
|
|
2820
3060
|
.ncua-callout-notification {
|
|
2821
3061
|
display: flex;
|
|
@@ -2923,7 +3163,7 @@ button {
|
|
|
2923
3163
|
}
|
|
2924
3164
|
.ncua-radio-input.destructive :where(input):focus {
|
|
2925
3165
|
border-color: var(--primary-red-600);
|
|
2926
|
-
box-shadow: var(--shadow-
|
|
3166
|
+
box-shadow: var(--shadow-sm-focused-4px-error-100);
|
|
2927
3167
|
}
|
|
2928
3168
|
|
|
2929
3169
|
.ncua-radio-field {
|
|
@@ -3425,7 +3665,7 @@ button {
|
|
|
3425
3665
|
border-color: var(--primary-red-600);
|
|
3426
3666
|
}
|
|
3427
3667
|
.ncua-select.destructive .ncua-select__content:focus-within {
|
|
3428
|
-
box-shadow: var(--shadow-
|
|
3668
|
+
box-shadow: var(--shadow-sm-focused-4px-error-100);
|
|
3429
3669
|
}
|
|
3430
3670
|
.ncua-select--xs .ncua-select__content {
|
|
3431
3671
|
height: var(--select-height-xs);
|
|
@@ -3747,7 +3987,7 @@ button {
|
|
|
3747
3987
|
border-color: var(--primary-red-600);
|
|
3748
3988
|
}
|
|
3749
3989
|
.ncua-selectbox.destructive .ncua-selectbox__content:focus {
|
|
3750
|
-
box-shadow: var(--shadow-
|
|
3990
|
+
box-shadow: var(--shadow-sm-focused-4px-error-100);
|
|
3751
3991
|
}
|
|
3752
3992
|
.ncua-selectbox--xs .ncua-selectbox__content {
|
|
3753
3993
|
height: var(--select-height-xs);
|