@nnc-digital/nnc-design-system 0.4.17 → 0.4.19
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/build/index.esm.js +25 -14
- package/build/index.esm.js.map +1 -1
- package/build/index.js +25 -14
- package/build/index.js.map +1 -1
- package/package.json +1 -1
package/build/index.esm.js
CHANGED
|
@@ -4427,41 +4427,41 @@ var BinCollection = function (_a) {
|
|
|
4427
4427
|
setNoResultsFound(false);
|
|
4428
4428
|
};
|
|
4429
4429
|
var formatTitle = function (apiTitle) {
|
|
4430
|
-
console.log(apiTitle);
|
|
4430
|
+
// console.log(apiTitle);
|
|
4431
4431
|
var mappings = [
|
|
4432
4432
|
{
|
|
4433
4433
|
keyword: 'Refuse',
|
|
4434
4434
|
replacement: 'General refuse bin',
|
|
4435
4435
|
allowedValues: [
|
|
4436
|
-
'Refuse bin
|
|
4437
|
-
'Refuse bin
|
|
4438
|
-
'Refuse Chamberlain', 'Refuse Palladin', 'Authorised bin (larger h/hold)
|
|
4439
|
-
'Authorised bin (larger h/hold)
|
|
4440
|
-
'Authorised bin (offensive)
|
|
4436
|
+
'Refuse bin 1100', 'Refuse bin 140', 'Refuse bin 180',
|
|
4437
|
+
'Refuse bin 240', 'Refuse bin 360', 'Refuse bin 660',
|
|
4438
|
+
'Refuse Chamberlain', 'Refuse Palladin', 'Authorised bin (larger h/hold) 120',
|
|
4439
|
+
'Authorised bin (larger h/hold) 140', 'Authorised bin (larger h/hold) 180',
|
|
4440
|
+
'Authorised bin (offensive) 140', 'Authorised bin (offensive) 180', 'Authorised bin (offensive) 240',
|
|
4441
4441
|
]
|
|
4442
4442
|
},
|
|
4443
4443
|
{
|
|
4444
4444
|
keyword: 'Recycling',
|
|
4445
4445
|
replacement: 'Recycling bin',
|
|
4446
4446
|
allowedValues: [
|
|
4447
|
-
'Recycling
|
|
4448
|
-
'Recycling
|
|
4447
|
+
'Recycling 1100', 'Recycling 140', 'Recycling 180',
|
|
4448
|
+
'Recycling 240', 'Recycling bin 1100'
|
|
4449
4449
|
]
|
|
4450
4450
|
},
|
|
4451
4451
|
{
|
|
4452
4452
|
keyword: 'Garden',
|
|
4453
4453
|
replacement: 'Garden bin',
|
|
4454
4454
|
allowedValues: [
|
|
4455
|
-
'Garden
|
|
4455
|
+
'Garden 140', 'Garden 180', 'Garden 240'
|
|
4456
4456
|
]
|
|
4457
4457
|
},
|
|
4458
4458
|
{
|
|
4459
4459
|
keyword: 'Food',
|
|
4460
4460
|
replacement: 'Food caddy',
|
|
4461
4461
|
allowedValues: [
|
|
4462
|
-
'Communal food bin (exterior)
|
|
4463
|
-
'Food Caddy (exterior)
|
|
4464
|
-
'Food Caddy (indoor)
|
|
4462
|
+
'Communal food bin (exterior) 180',
|
|
4463
|
+
'Food Caddy (exterior) 23',
|
|
4464
|
+
'Food Caddy (indoor) 5'
|
|
4465
4465
|
]
|
|
4466
4466
|
},
|
|
4467
4467
|
];
|
|
@@ -23184,6 +23184,17 @@ var WarningTextDisclaimer = function () {
|
|
|
23184
23184
|
"."));
|
|
23185
23185
|
};
|
|
23186
23186
|
|
|
23187
|
+
// Styling for the ul
|
|
23188
|
+
const AccessibleList = styled.ul`
|
|
23189
|
+
list-style-type: none;
|
|
23190
|
+
padding-left: 0;
|
|
23191
|
+
`;
|
|
23192
|
+
|
|
23193
|
+
// Styling for the li
|
|
23194
|
+
const AccessibleListItem = styled.li`
|
|
23195
|
+
margin-bottom: 10px;
|
|
23196
|
+
`;
|
|
23197
|
+
|
|
23187
23198
|
const AccessibleLinks = styled.a`
|
|
23188
23199
|
${props => props.theme.fontStyles}
|
|
23189
23200
|
|
|
@@ -23242,8 +23253,8 @@ const AccessibleLinks = styled.a`
|
|
|
23242
23253
|
|
|
23243
23254
|
var AccessibleLink = function (_a) {
|
|
23244
23255
|
var _b = _a.AccessibleLinksArray, AccessibleLinksArray = _b === void 0 ? null : _b;
|
|
23245
|
-
return (React.createElement(
|
|
23246
|
-
return React.createElement(
|
|
23256
|
+
return (React.createElement(AccessibleList, null, AccessibleLinksArray && AccessibleLinksArray.map(function (link, i) {
|
|
23257
|
+
return React.createElement(AccessibleListItem, { key: 'accessible-link-li-' + i },
|
|
23247
23258
|
React.createElement(AccessibleLinks, { key: 'accessible-link-' + i, href: link.url }, link.title));
|
|
23248
23259
|
})));
|
|
23249
23260
|
};
|