@nnc-digital/nnc-design-system 0.4.17 → 0.4.18
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 +13 -2
- package/build/index.esm.js.map +1 -1
- package/build/index.js +13 -2
- package/build/index.js.map +1 -1
- package/package.json +1 -1
package/build/index.esm.js
CHANGED
|
@@ -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
|
};
|