@utrecht/component-library-react 1.0.0-alpha.141 → 1.0.0-alpha.143

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.
@@ -0,0 +1,12 @@
1
+ /**
2
+ * @license EUPL-1.2
3
+ * Copyright (c) 2021 Robbert Broersma
4
+ */
5
+ import { AnchorHTMLAttributes } from 'react';
6
+ export interface LinkProps extends AnchorHTMLAttributes<HTMLAnchorElement> {
7
+ boxContent?: boolean;
8
+ external?: boolean;
9
+ }
10
+ export declare const LinkSocial: import("react").ForwardRefExoticComponent<LinkProps & {
11
+ children?: import("react").ReactNode;
12
+ } & import("react").RefAttributes<HTMLAnchorElement>>;
@@ -0,0 +1,13 @@
1
+ /**
2
+ * @license EUPL-1.2
3
+ * Copyright (c) 2021 Robbert Broersma
4
+ */
5
+ import { FC, ReactNode } from 'react';
6
+ export interface ListSocialProps {
7
+ children?: ReactNode;
8
+ }
9
+ export declare const ListSocial: FC<ListSocialProps>;
10
+ export interface ListSocialItemProps {
11
+ children?: ReactNode;
12
+ }
13
+ export declare const ListSocialItem: FC<ListSocialItemProps>;
package/dist/index.cjs.js CHANGED
@@ -501,6 +501,39 @@ var LinkButton = /*#__PURE__*/react.forwardRef(function (_a, ref) {
501
501
  });
502
502
  LinkButton.displayName = 'LinkButton';
503
503
 
504
+ var LinkSocial = /*#__PURE__*/react.forwardRef(function (_a, ref) {
505
+ var children = _a.children,
506
+ className = _a.className,
507
+ external = _a.external,
508
+ restProps = tslib.__rest(_a, ["children", "className", "external"]);
509
+
510
+ return jsxRuntime.jsx("a", Object.assign({}, restProps, {
511
+ ref: ref,
512
+ className: clsx__default["default"]('utrecht-link-social', className),
513
+ rel: external ? 'external noopener noreferrer' : undefined
514
+ }, {
515
+ children: children
516
+ }));
517
+ });
518
+ LinkSocial.displayName = 'LinkSocial';
519
+
520
+ var ListSocial = function ListSocial(_ref) {
521
+ var children = _ref.children;
522
+ return jsxRuntime.jsx("ul", Object.assign({
523
+ className: clsx__default["default"]('utrecht-list-social')
524
+ }, {
525
+ children: children
526
+ }));
527
+ };
528
+ var ListSocialItem = function ListSocialItem(_ref2) {
529
+ var children = _ref2.children;
530
+ return jsxRuntime.jsx("li", Object.assign({
531
+ className: clsx__default["default"]('utrecht-list-social__item')
532
+ }, {
533
+ children: children
534
+ }));
535
+ };
536
+
504
537
  var NumberValue = /*#__PURE__*/react.forwardRef(function (_a, ref) {
505
538
  var children = _a.children,
506
539
  className = _a.className,
@@ -967,6 +1000,9 @@ exports.HeadingGroup = HeadingGroup;
967
1000
  exports.Image = Image;
968
1001
  exports.Link = Link;
969
1002
  exports.LinkButton = LinkButton;
1003
+ exports.LinkSocial = LinkSocial;
1004
+ exports.ListSocial = ListSocial;
1005
+ exports.ListSocialItem = ListSocialItem;
970
1006
  exports.NumberValue = NumberValue;
971
1007
  exports.OrderedList = OrderedList;
972
1008
  exports.OrderedListItem = OrderedListItem;
@@ -1 +1 @@
1
- {"version":3,"file":"index.cjs.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
package/dist/index.d.ts CHANGED
@@ -26,6 +26,8 @@ export { HeadingGroup } from './HeadingGroup';
26
26
  export { Image } from './Image';
27
27
  export { Link } from './Link';
28
28
  export { LinkButton } from './LinkButton';
29
+ export * from './LinkSocial';
30
+ export * from './ListSocial';
29
31
  export { NumberValue } from './NumberValue';
30
32
  export { OrderedList } from './OrderedList';
31
33
  export { OrderedListItem } from './OrderedListItem';
package/dist/index.esm.js CHANGED
@@ -493,6 +493,39 @@ var LinkButton = /*#__PURE__*/forwardRef(function (_a, ref) {
493
493
  });
494
494
  LinkButton.displayName = 'LinkButton';
495
495
 
496
+ var LinkSocial = /*#__PURE__*/forwardRef(function (_a, ref) {
497
+ var children = _a.children,
498
+ className = _a.className,
499
+ external = _a.external,
500
+ restProps = __rest(_a, ["children", "className", "external"]);
501
+
502
+ return jsx("a", Object.assign({}, restProps, {
503
+ ref: ref,
504
+ className: clsx('utrecht-link-social', className),
505
+ rel: external ? 'external noopener noreferrer' : undefined
506
+ }, {
507
+ children: children
508
+ }));
509
+ });
510
+ LinkSocial.displayName = 'LinkSocial';
511
+
512
+ var ListSocial = function ListSocial(_ref) {
513
+ var children = _ref.children;
514
+ return jsx("ul", Object.assign({
515
+ className: clsx('utrecht-list-social')
516
+ }, {
517
+ children: children
518
+ }));
519
+ };
520
+ var ListSocialItem = function ListSocialItem(_ref2) {
521
+ var children = _ref2.children;
522
+ return jsx("li", Object.assign({
523
+ className: clsx('utrecht-list-social__item')
524
+ }, {
525
+ children: children
526
+ }));
527
+ };
528
+
496
529
  var NumberValue = /*#__PURE__*/forwardRef(function (_a, ref) {
497
530
  var children = _a.children,
498
531
  className = _a.className,
@@ -931,5 +964,5 @@ var UnorderedListItem = /*#__PURE__*/forwardRef(function (_a, ref) {
931
964
  });
932
965
  UnorderedListItem.displayName = 'UnorderedListItem';
933
966
 
934
- export { Article, Backdrop, Button, ButtonLink, Checkbox, CustomRadioButton, DataList, DataListActions, DataListItem, DataListKey, DataListValue, Document, Fieldset, FieldsetLegend, FormField, FormFieldDescription, FormLabel, HTMLContent, Heading1, Heading2, Heading3, Heading4, Heading5, Heading6, HeadingGroup, Image, Link, LinkButton, NumberValue, OrderedList, OrderedListItem, Page, PageContent, PageFooter, PageHeader, Paragraph, PreHeading, PrimaryActionButton, RadioButton, SecondaryActionButton, Select, SelectOption, Separator, SkipLink, SubtleButton, Surface, Table, TableBody, TableCaption, TableCell, TableFooter, TableHeader, TableHeaderCell, TableRow, Textarea, Textbox, URLValue, UnorderedList, UnorderedListItem };
967
+ export { Article, Backdrop, Button, ButtonLink, Checkbox, CustomRadioButton, DataList, DataListActions, DataListItem, DataListKey, DataListValue, Document, Fieldset, FieldsetLegend, FormField, FormFieldDescription, FormLabel, HTMLContent, Heading1, Heading2, Heading3, Heading4, Heading5, Heading6, HeadingGroup, Image, Link, LinkButton, LinkSocial, ListSocial, ListSocialItem, NumberValue, OrderedList, OrderedListItem, Page, PageContent, PageFooter, PageHeader, Paragraph, PreHeading, PrimaryActionButton, RadioButton, SecondaryActionButton, Select, SelectOption, Separator, SkipLink, SubtleButton, Surface, Table, TableBody, TableCaption, TableCell, TableFooter, TableHeader, TableHeaderCell, TableRow, Textarea, Textbox, URLValue, UnorderedList, UnorderedListItem };
935
968
  //# sourceMappingURL=index.esm.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.esm.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
package/package.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "1.0.0-alpha.141",
2
+ "version": "1.0.0-alpha.143",
3
3
  "author": "Community for NL Design System",
4
4
  "description": "React component library bundle for the Municipality of Utrecht based on the NL Design System architecture",
5
5
  "license": "EUPL-1.2",
@@ -69,5 +69,5 @@
69
69
  "react": "16 - 18",
70
70
  "react-dom": "16 - 18"
71
71
  },
72
- "gitHead": "f4b233616da6c7fcf43a46a9908f6b56141c3424"
72
+ "gitHead": "63c7da9802c04950a27a57f9985351e9352d28be"
73
73
  }