@utrecht/component-library-react 8.0.4 → 9.0.1

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/index.mjs CHANGED
@@ -5,11 +5,12 @@ import { forwardRef, useId, useRef, useState, createElement, isValidElement, use
5
5
  import { jsx, jsxs, Fragment } from 'react/jsx-runtime';
6
6
  import { Button } from '@utrecht/button-react';
7
7
  export { Button, PrimaryActionButton, SecondaryActionButton, SubtleButton } from '@utrecht/button-react';
8
- import clsx$1, { clsx as clsx$2 } from 'clsx';
8
+ import clsx, { clsx as clsx$1 } from 'clsx';
9
9
  import { Link } from '@utrecht/link-react';
10
10
  export { Link } from '@utrecht/link-react';
11
11
  export { Checkbox } from '@utrecht/checkbox-react';
12
12
  export { Combobox, ComboboxPopover } from '@utrecht/combobox-react';
13
+ export { DataBadge } from '@utrecht/data-badge-react';
13
14
  export { Fieldset, FieldsetLegend } from '@utrecht/fieldset-react';
14
15
  import { FormField } from '@utrecht/form-field-react';
15
16
  export { FormField } from '@utrecht/form-field-react';
@@ -36,7 +37,7 @@ var HTMLHeading = /*#__PURE__*/forwardRef(function (_ref, ref) {
36
37
  restProps = _objectWithoutProperties(_ref, _excluded$1i);
37
38
  var HeadingX = level === 1 ? 'h1' : level === 2 ? 'h2' : level === 3 ? 'h3' : level === 4 ? 'h4' : level === 5 ? 'h5' : level === 6 ? 'h6' : 'p';
38
39
  return jsx(HeadingX, _objectSpread$1j(_objectSpread$1j({
39
- className: clsx$1(className)
40
+ className: clsx(className)
40
41
  }, restProps), {}, {
41
42
  ref: ref
42
43
  }));
@@ -55,7 +56,7 @@ var Heading = /*#__PURE__*/forwardRef(function (_ref, ref) {
55
56
  var HeadingX = level === 2 ? 'h2' : level === 3 ? 'h3' : level === 4 ? 'h4' : level === 5 ? 'h5' : level === 6 ? 'h6' : 'h1';
56
57
  var headingClassName = appearance && appearances.indexOf(appearance) !== -1 ? appearance : appearances[level - 1] || 'utrecht-heading-1';
57
58
  return jsx(HeadingX, _objectSpread$1i(_objectSpread$1i({
58
- className: clsx$1(headingClassName, className)
59
+ className: clsx(headingClassName, className)
59
60
  }, restProps), {}, {
60
61
  ref: ref
61
62
  }));
@@ -143,7 +144,7 @@ var AccordionSection = /*#__PURE__*/forwardRef(function (_ref, ref) {
143
144
  appearance = _ref.appearance,
144
145
  props = _objectWithoutProperties(_ref, _excluded$1g);
145
146
  var panelAttributes = {
146
- className: clsx$1('utrecht-accordion__panel', {
147
+ className: clsx('utrecht-accordion__panel', {
147
148
  'utrecht-accordion__panel--expanded': expanded
148
149
  }),
149
150
  // Use the `hidden` attribute so the toggle works even without CSS
@@ -166,15 +167,15 @@ var AccordionSection = /*#__PURE__*/forwardRef(function (_ref, ref) {
166
167
  // with the button that controls the region.
167
168
  // - we only want expanded sections to show up as landmarks
168
169
  return jsxs("div", _objectSpread$1h(_objectSpread$1h({
169
- className: clsx$1('utrecht-accordion__section', className),
170
+ className: clsx('utrecht-accordion__section', className),
170
171
  id: id,
171
172
  ref: ref
172
173
  }, props), {}, {
173
174
  children: [jsx(HTMLHeading, {
174
175
  level: headingLevel,
175
- className: clsx$1('utrecht-accordion__header'),
176
+ className: clsx('utrecht-accordion__header'),
176
177
  children: jsxs(Button, {
177
- className: clsx$1('utrecht-accordion__button', _defineProperty({}, 'utrecht-accordion__button--utrecht', appearance === 'utrecht')),
178
+ className: clsx('utrecht-accordion__button', _defineProperty({}, 'utrecht-accordion__button--utrecht', appearance === 'utrecht')),
178
179
  appearance: "subtle-button",
179
180
  "aria-expanded": expanded === true,
180
181
  "aria-controls": panelId,
@@ -223,7 +224,7 @@ var Accordion = /*#__PURE__*/forwardRef(function (_ref2, ref) {
223
224
  level: headingLevel,
224
225
  children: heading
225
226
  }), jsx("div", _objectSpread$1h(_objectSpread$1h({
226
- className: clsx$1('utrecht-accordion'),
227
+ className: clsx('utrecht-accordion'),
227
228
  role: group ? 'group' : undefined,
228
229
  "aria-labelledby": group ? headingId : undefined
229
230
  }, props), {}, {
@@ -371,7 +372,7 @@ var Alert = /*#__PURE__*/forwardRef(function (_ref, ref) {
371
372
  restProps = _objectWithoutProperties(_ref, _excluded$1f);
372
373
  return jsxs("div", _objectSpread$1g(_objectSpread$1g({}, restProps), {}, {
373
374
  ref: ref,
374
- className: clsx$1('utrecht-alert', {
375
+ className: clsx('utrecht-alert', {
375
376
  'utrecht-alert--error': type === 'error',
376
377
  'utrecht-alert--info': type === 'info',
377
378
  'utrecht-alert--ok': type === 'ok',
@@ -403,7 +404,7 @@ var AlertDialog = /*#__PURE__*/forwardRef(function (_ref, ref) {
403
404
  restProps = _objectWithoutProperties(_ref, _excluded$1e);
404
405
  return jsxs("dialog", _objectSpread$1f(_objectSpread$1f({}, restProps), {}, {
405
406
  ref: ref,
406
- className: clsx$1('utrecht-alert-dialog', {
407
+ className: clsx('utrecht-alert-dialog', {
407
408
  'utrecht-alert-dialog--error': type === 'error',
408
409
  'utrecht-alert-dialog--info': type === 'info',
409
410
  'utrecht-alert-dialog--warning': type === 'warning',
@@ -429,7 +430,7 @@ var Article = /*#__PURE__*/forwardRef(function (_ref, ref) {
429
430
  restProps = _objectWithoutProperties(_ref, _excluded$1d);
430
431
  return jsx("article", _objectSpread$1e(_objectSpread$1e({}, restProps), {}, {
431
432
  ref: ref,
432
- className: clsx$1('utrecht-article', className),
433
+ className: clsx('utrecht-article', className),
433
434
  children: children
434
435
  }));
435
436
  });
@@ -444,7 +445,7 @@ var Backdrop = /*#__PURE__*/forwardRef(function (_ref, ref) {
444
445
  restProps = _objectWithoutProperties(_ref, _excluded$1c);
445
446
  return jsx("div", _objectSpread$1d(_objectSpread$1d({}, restProps), {}, {
446
447
  ref: ref,
447
- className: clsx$1('utrecht-backdrop', className),
448
+ className: clsx('utrecht-backdrop', className),
448
449
  children: children
449
450
  }));
450
451
  });
@@ -460,7 +461,7 @@ var BadgeCounter = /*#__PURE__*/forwardRef(function (_ref, ref) {
460
461
  restProps = _objectWithoutProperties(_ref, _excluded$1b);
461
462
  var props = _objectSpread$1c({
462
463
  children: children,
463
- className: clsx$1('utrecht-badge-counter', className)
464
+ className: clsx('utrecht-badge-counter', className)
464
465
  }, restProps);
465
466
  return typeof value !== 'undefined' ? jsx("data", _objectSpread$1c(_objectSpread$1c({}, props), {}, {
466
467
  value: value,
@@ -480,7 +481,7 @@ var BadgeList = /*#__PURE__*/forwardRef(function (_ref, ref) {
480
481
  restProps = _objectWithoutProperties(_ref, _excluded$1a);
481
482
  return jsx("div", _objectSpread$1b(_objectSpread$1b({}, restProps), {}, {
482
483
  ref: ref,
483
- className: clsx$1('utrecht-badge-list', className),
484
+ className: clsx('utrecht-badge-list', className),
484
485
  children: children
485
486
  }));
486
487
  });
@@ -509,10 +510,10 @@ var Blockquote = /*#__PURE__*/forwardRef(function (_ref, ref) {
509
510
  lang: lang
510
511
  };
511
512
  return aside && (figure || captionElement) ? jsx("aside", _objectSpread$1a(_objectSpread$1a({
512
- className: clsx$1('utrecht-blockquote', className)
513
+ className: clsx('utrecht-blockquote', className)
513
514
  }, restProps), {}, {
514
515
  children: jsxs("figure", {
515
- className: clsx$1('utrecht-blockquote__figure'),
516
+ className: clsx('utrecht-blockquote__figure'),
516
517
  children: [jsx("blockquote", _objectSpread$1a(_objectSpread$1a({
517
518
  className: "utrecht-blockquote__quote"
518
519
  }, blockquoteAttrs), {}, {
@@ -521,7 +522,7 @@ var Blockquote = /*#__PURE__*/forwardRef(function (_ref, ref) {
521
522
  })), captionElement]
522
523
  })
523
524
  })) : aside ? jsx("aside", _objectSpread$1a(_objectSpread$1a({
524
- className: clsx$1('utrecht-blockquote', className)
525
+ className: clsx('utrecht-blockquote', className)
525
526
  }, restProps), {}, {
526
527
  children: jsx("blockquote", _objectSpread$1a(_objectSpread$1a({
527
528
  className: "utrecht-blockquote__quote"
@@ -530,7 +531,7 @@ var Blockquote = /*#__PURE__*/forwardRef(function (_ref, ref) {
530
531
  children: quote
531
532
  }))
532
533
  })) : figure || captionElement ? jsxs("figure", _objectSpread$1a(_objectSpread$1a({
533
- className: clsx$1('utrecht-blockquote', className)
534
+ className: clsx('utrecht-blockquote', className)
534
535
  }, restProps), {}, {
535
536
  children: [jsx("blockquote", _objectSpread$1a(_objectSpread$1a({
536
537
  className: "utrecht-blockquote__quote"
@@ -539,7 +540,7 @@ var Blockquote = /*#__PURE__*/forwardRef(function (_ref, ref) {
539
540
  children: quote
540
541
  })), captionElement]
541
542
  })) : jsx("blockquote", _objectSpread$1a(_objectSpread$1a(_objectSpread$1a({
542
- className: clsx$1('utrecht-blockquote', 'utrecht-blockquote--html-blockquote', className)
543
+ className: clsx('utrecht-blockquote', 'utrecht-blockquote--html-blockquote', className)
543
544
  }, blockquoteAttrs), restProps), {}, {
544
545
  ref: ref,
545
546
  children: quote
@@ -578,7 +579,7 @@ var BreadcrumbNav = /*#__PURE__*/forwardRef(function (_ref2, ref) {
578
579
  var headingId = label ? useId() : undefined;
579
580
  return jsxs("nav", _objectSpread$19(_objectSpread$19({}, restProps), {}, {
580
581
  ref: ref,
581
- className: clsx$1('utrecht-breadcrumb-nav', 'utrecht-breadcrumb-nav--html-ol', {
582
+ className: clsx('utrecht-breadcrumb-nav', 'utrecht-breadcrumb-nav--html-ol', {
582
583
  'utrecht-breadcrumb-nav--arrows': appearance === 'arrows'
583
584
  }, className),
584
585
  "aria-labelledby": headingId,
@@ -603,7 +604,7 @@ var BreadcrumbNavItem = /*#__PURE__*/forwardRef(function (_ref3, ref) {
603
604
  children = _ref3.children,
604
605
  restProps = _objectWithoutProperties(_ref3, _excluded2$6);
605
606
  return jsx("li", _objectSpread$19(_objectSpread$19(_objectSpread$19({
606
- className: clsx$1('utrecht-breadcrumb-nav__item', className)
607
+ className: clsx('utrecht-breadcrumb-nav__item', className)
607
608
  }, useMicrodataItem({
608
609
  type: 'https://schema.org/ListItem',
609
610
  prop: 'itemListElement'
@@ -624,7 +625,7 @@ var BreadcrumbNavSeparator = /*#__PURE__*/forwardRef(function (_ref4, ref) {
624
625
  style: {
625
626
  display: 'var(--_utrecht-breadcrumb-nav-separator-display, block)'
626
627
  },
627
- className: clsx$1('utrecht-breadcrumb-nav__separator', 'utrecht-breadcrumb-nav__separator--html-li', className),
628
+ className: clsx('utrecht-breadcrumb-nav__separator', 'utrecht-breadcrumb-nav__separator--html-li', className),
628
629
  ref: ref
629
630
  }, restProps), {}, {
630
631
  children: children
@@ -647,7 +648,7 @@ var BreadcrumbNavLink = /*#__PURE__*/forwardRef(function (_ref5, ref) {
647
648
  var LinkComponent = Link$1 || DefaultLinkComponent;
648
649
  return jsx(BreadcrumbNavItem, {
649
650
  children: jsxs(LinkComponent, _objectSpread$19(_objectSpread$19(_objectSpread$19({
650
- className: clsx$1('utrecht-breadcrumb-nav__link', className, {
651
+ className: clsx('utrecht-breadcrumb-nav__link', className, {
651
652
  'utrecht-breadcrumb-nav__link--current': current,
652
653
  'utrecht-breadcrumb-nav__link--disabled': disabled
653
654
  }),
@@ -687,7 +688,7 @@ var ButtonGroup = /*#__PURE__*/forwardRef(function (_ref, ref) {
687
688
  role: hasManyElements(children) ? 'group' : undefined
688
689
  }, restProps), {}, {
689
690
  ref: ref,
690
- className: clsx$1('utrecht-button-group', {
691
+ className: clsx('utrecht-button-group', {
691
692
  'utrecht-button-group--column': direction === 'column',
692
693
  'utrecht-button-group--row': direction === 'row'
693
694
  }, className),
@@ -731,7 +732,7 @@ var ButtonLink = /*#__PURE__*/forwardRef(function (_ref, ref) {
731
732
  href: placeholder ? undefined : href,
732
733
  ref: ref,
733
734
  role: role || (placeholder ? 'link' : undefined),
734
- className: clsx$1('utrecht-button-link', 'utrecht-button-link--html-a', {
735
+ className: clsx('utrecht-button-link', 'utrecht-button-link--html-a', {
735
736
  'utrecht-button-link--external': external,
736
737
  'utrecht-button-link--primary-action': appearance === 'primary-action-button',
737
738
  'utrecht-button-link--secondary-action': appearance === 'secondary-action-button',
@@ -755,7 +756,7 @@ var Code = /*#__PURE__*/forwardRef(function (_ref, ref) {
755
756
  restProps = _objectWithoutProperties(_ref, _excluded$15);
756
757
  return jsx("code", _objectSpread$16(_objectSpread$16({
757
758
  ref: ref,
758
- className: clsx$1('utrecht-code', className)
759
+ className: clsx('utrecht-code', className)
759
760
  }, restProps), {}, {
760
761
  children: children
761
762
  }));
@@ -771,7 +772,7 @@ var CodeBlock = /*#__PURE__*/forwardRef(function (_ref, ref) {
771
772
  restProps = _objectWithoutProperties(_ref, _excluded$14);
772
773
  return jsx("pre", _objectSpread$15(_objectSpread$15({
773
774
  ref: ref,
774
- className: clsx$1('utrecht-code-block', className)
775
+ className: clsx('utrecht-code-block', className)
775
776
  }, restProps), {}, {
776
777
  children: jsx("code", {
777
778
  className: "utrecht-code-block__content",
@@ -792,7 +793,7 @@ var ColorSample = /*#__PURE__*/forwardRef(function (_ref, ref) {
792
793
  restProps = _objectWithoutProperties(_ref, _excluded$13);
793
794
  return jsx("data", _objectSpread$14(_objectSpread$14({
794
795
  ref: ref,
795
- className: clsx$1('utrecht-color-sample', className),
796
+ className: clsx('utrecht-color-sample', className),
796
797
  style: _objectSpread$14(_objectSpread$14({}, style), {}, {
797
798
  color: color
798
799
  }),
@@ -812,7 +813,7 @@ var ColumnLayout = /*#__PURE__*/forwardRef(function (_ref, ref) {
812
813
  rule = _ref.rule,
813
814
  restProps = _objectWithoutProperties(_ref, _excluded$12);
814
815
  return jsx("div", _objectSpread$13(_objectSpread$13({
815
- className: clsx$1('utrecht-column-layout', {
816
+ className: clsx('utrecht-column-layout', {
816
817
  'utrecht-column-layout--rule': rule
817
818
  }, className),
818
819
  ref: ref
@@ -867,25 +868,13 @@ var CurrencyData = /*#__PURE__*/forwardRef(function (_ref, ref) {
867
868
  return jsx("data", _objectSpread$12(_objectSpread$12({}, restProps), {}, {
868
869
  ref: ref,
869
870
  value: "".concat(currency, " ").concat(amount),
870
- className: clsx$1('utrecht-currency-data', number < 0 && 'utrecht-currency-data--negative', number > 0 && 'utrecht-currency-data--positive', className),
871
+ className: clsx('utrecht-currency-data', number < 0 && 'utrecht-currency-data--negative', number > 0 && 'utrecht-currency-data--positive', className),
871
872
  "aria-label": labelFormatted,
872
873
  children: children || visuallyFormatted
873
874
  }));
874
875
  });
875
876
  CurrencyData.displayName = 'CurrencyData';
876
877
 
877
- function r(e){var t,f,n="";if("string"==typeof e||"number"==typeof e)n+=e;else if("object"==typeof e)if(Array.isArray(e)){var o=e.length;for(t=0;t<o;t++)e[t]&&(f=r(e[t]))&&(n&&(n+=" "),n+=f);}else for(f in e)e[f]&&(n&&(n+=" "),n+=f);return n}function clsx(){for(var e,t,f=0,n="",o=arguments.length;f<o;f++)(e=arguments[f])&&(t=r(e))&&(n&&(n+=" "),n+=t);return n}
878
-
879
- const DataBadge = forwardRef(({ children, className, dateTime, value, ...restProps }, ref) => {
880
- const props = {
881
- children,
882
- className: clsx('utrecht-data-badge', className),
883
- ...restProps,
884
- };
885
- return typeof dateTime !== 'undefined' ? (jsx("time", { ...props, dateTime: dateTime, ref: ref })) : typeof value !== 'undefined' ? (jsx("data", { ...props, value: value, ref: ref })) : (jsx("span", { ...props, ref: ref }));
886
- });
887
- DataBadge.displayName = 'DataBadge';
888
-
889
878
  var _excluded$10 = ["children", "className"];
890
879
  function ownKeys$11(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
891
880
  function _objectSpread$11(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$11(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$11(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
@@ -895,7 +884,7 @@ var Document = /*#__PURE__*/forwardRef(function (_ref, ref) {
895
884
  restProps = _objectWithoutProperties(_ref, _excluded$10);
896
885
  return jsx("div", _objectSpread$11(_objectSpread$11({}, restProps), {}, {
897
886
  ref: ref,
898
- className: clsx$1('utrecht-document', className),
887
+ className: clsx('utrecht-document', className),
899
888
  children: children
900
889
  }));
901
890
  });
@@ -913,7 +902,7 @@ var DataList = /*#__PURE__*/forwardRef(function (_ref, ref) {
913
902
  className = _ref.className,
914
903
  restProps = _objectWithoutProperties(_ref, _excluded$$);
915
904
  return jsx("dl", _objectSpread$10(_objectSpread$10({}, restProps), {}, {
916
- className: clsx$1('utrecht-data-list', 'utrecht-data-list--html-dl', appearance === 'rows' && 'utrecht-data-list--rows', className),
905
+ className: clsx('utrecht-data-list', 'utrecht-data-list--html-dl', appearance === 'rows' && 'utrecht-data-list--rows', className),
917
906
  ref: ref,
918
907
  children: children
919
908
  }));
@@ -924,7 +913,7 @@ var DataListItem = /*#__PURE__*/forwardRef(function (_ref2, ref) {
924
913
  className = _ref2.className,
925
914
  restProps = _objectWithoutProperties(_ref2, _excluded2$5);
926
915
  return jsx("div", _objectSpread$10(_objectSpread$10({}, restProps), {}, {
927
- className: clsx$1('utrecht-data-list__item', className),
916
+ className: clsx('utrecht-data-list__item', className),
928
917
  ref: ref,
929
918
  children: children
930
919
  }));
@@ -935,7 +924,7 @@ var DataListKey = /*#__PURE__*/forwardRef(function (_ref3, ref) {
935
924
  className = _ref3.className,
936
925
  restProps = _objectWithoutProperties(_ref3, _excluded3$2);
937
926
  return jsx("dt", _objectSpread$10(_objectSpread$10({}, restProps), {}, {
938
- className: clsx$1('utrecht-data-list__item-key', className),
927
+ className: clsx('utrecht-data-list__item-key', className),
939
928
  ref: ref,
940
929
  children: children
941
930
  }));
@@ -950,7 +939,7 @@ var DataListValue = /*#__PURE__*/forwardRef(function (_ref4, ref) {
950
939
  notranslate = _ref4.notranslate;
951
940
  var empty = value === '' || value === null;
952
941
  return jsx("dd", {
953
- className: clsx$1('utrecht-data-list__item-value', 'utrecht-data-list__item-value--html-dd', className, multiline && 'utrecht-data-list__item-value--multiline'),
942
+ className: clsx('utrecht-data-list__item-value', 'utrecht-data-list__item-value--html-dd', className, multiline && 'utrecht-data-list__item-value--multiline'),
954
943
  translate: typeof notranslate === 'boolean' ? notranslate ? 'no' : 'yes' : undefined,
955
944
  ref: ref,
956
945
  children: empty ? jsx("span", {
@@ -965,7 +954,7 @@ var DataListActions = /*#__PURE__*/forwardRef(function (_ref5, ref) {
965
954
  className = _ref5.className,
966
955
  restProps = _objectWithoutProperties(_ref5, _excluded4$1);
967
956
  return jsx("dd", _objectSpread$10(_objectSpread$10({}, restProps), {}, {
968
- className: clsx$1('utrecht-data-list__actions', 'utrecht-data-list__actions--html-dd', className),
957
+ className: clsx('utrecht-data-list__actions', 'utrecht-data-list__actions--html-dd', className),
969
958
  ref: ref,
970
959
  children: children
971
960
  }));
@@ -995,7 +984,7 @@ var Drawer = /*#__PURE__*/forwardRef(function (_ref, ref) {
995
984
  });
996
985
  return jsx("dialog", _objectSpread$$(_objectSpread$$({}, restProps), {}, {
997
986
  ref: dialogRef,
998
- className: clsx$1('utrecht-drawer', {
987
+ className: clsx('utrecht-drawer', {
999
988
  'utrecht-drawer--block-end': align === 'block-end',
1000
989
  'utrecht-drawer--block-start': align === 'block-start',
1001
990
  'utrecht-drawer--inline-end': align === 'inline-end',
@@ -1015,7 +1004,7 @@ var Emphasis = /*#__PURE__*/forwardRef(function (_ref, ref) {
1015
1004
  restProps = _objectWithoutProperties(_ref, _excluded$Z);
1016
1005
  return jsx("em", _objectSpread$_(_objectSpread$_({
1017
1006
  ref: ref,
1018
- className: clsx$1('utrecht-emphasis', 'utrecht-emphasis--stressed', className)
1007
+ className: clsx('utrecht-emphasis', 'utrecht-emphasis--stressed', className)
1019
1008
  }, restProps), {}, {
1020
1009
  children: children
1021
1010
  }));
@@ -1031,7 +1020,7 @@ var Figure = /*#__PURE__*/forwardRef(function (_ref, ref) {
1031
1020
  restProps = _objectWithoutProperties(_ref, _excluded$Y);
1032
1021
  return jsx("figure", _objectSpread$Z(_objectSpread$Z({}, restProps), {}, {
1033
1022
  ref: ref,
1034
- className: clsx$1('utrecht-figure', className),
1023
+ className: clsx('utrecht-figure', className),
1035
1024
  children: children
1036
1025
  }));
1037
1026
  });
@@ -1046,7 +1035,7 @@ var FigureCaption = /*#__PURE__*/forwardRef(function (_ref, ref) {
1046
1035
  restProps = _objectWithoutProperties(_ref, _excluded$X);
1047
1036
  return jsx("figcaption", _objectSpread$Y(_objectSpread$Y({}, restProps), {}, {
1048
1037
  ref: ref,
1049
- className: clsx$1('utrecht-figure__caption', className),
1038
+ className: clsx('utrecht-figure__caption', className),
1050
1039
  children: children
1051
1040
  }));
1052
1041
  });
@@ -1066,7 +1055,7 @@ var Textarea = /*#__PURE__*/forwardRef(function (_ref, ref) {
1066
1055
  restProps = _objectWithoutProperties(_ref, _excluded$W);
1067
1056
  return jsx("textarea", _objectSpread$X(_objectSpread$X({}, restProps), {}, {
1068
1057
  ref: ref,
1069
- className: clsx$1('utrecht-textarea', 'utrecht-textarea--html-textarea', disabled && 'utrecht-textarea--disabled', invalid && 'utrecht-textarea--invalid', readOnly && 'utrecht-textarea--readonly', (required || inputRequired) && 'utrecht-textarea--required', className),
1058
+ className: clsx('utrecht-textarea', 'utrecht-textarea--html-textarea', disabled && 'utrecht-textarea--disabled', invalid && 'utrecht-textarea--invalid', readOnly && 'utrecht-textarea--readonly', (required || inputRequired) && 'utrecht-textarea--required', className),
1070
1059
  dir: dir !== null && dir !== void 0 ? dir : 'auto',
1071
1060
  disabled: disabled,
1072
1061
  readOnly: readOnly,
@@ -1132,7 +1121,7 @@ var FormFieldTextarea = /*#__PURE__*/forwardRef(function (_ref, ref) {
1132
1121
  }), jsx("div", {
1133
1122
  className: "utrecht-form-field__input",
1134
1123
  children: jsx(Textarea, {
1135
- "aria-describedby": clsx$1(_defineProperty(_defineProperty(_defineProperty({}, descriptionId, description), errorMessageId, invalid), statusId, status)) || undefined,
1124
+ "aria-describedby": clsx(_defineProperty(_defineProperty(_defineProperty({}, descriptionId, description), errorMessageId, invalid), statusId, status)) || undefined,
1136
1125
  autoComplete: autoComplete,
1137
1126
  cols: cols,
1138
1127
  defaultValue: defaultValue,
@@ -1229,7 +1218,7 @@ var FormFieldTextbox = /*#__PURE__*/forwardRef(function (_ref, ref) {
1229
1218
  name: name,
1230
1219
  type: type || 'text',
1231
1220
  autoComplete: autoComplete,
1232
- "aria-describedby": clsx$1(_defineProperty(_defineProperty(_defineProperty({}, descriptionId, description), errorMessageId, invalid), statusId, status)) || undefined,
1221
+ "aria-describedby": clsx(_defineProperty(_defineProperty(_defineProperty({}, descriptionId, description), errorMessageId, invalid), statusId, status)) || undefined,
1233
1222
  invalid: invalid,
1234
1223
  dir: inputDir || 'auto',
1235
1224
  disabled: disabled,
@@ -1276,7 +1265,7 @@ var FormToggle = /*#__PURE__*/forwardRef(function (_ref, ref) {
1276
1265
  className = _ref.className,
1277
1266
  restProps = _objectWithoutProperties(_ref, _excluded$T);
1278
1267
  return jsxs("div", {
1279
- className: clsx$1('utrecht-form-toggle', 'utrecht-form-toggle--html-checkbox', {
1268
+ className: clsx('utrecht-form-toggle', 'utrecht-form-toggle--html-checkbox', {
1280
1269
  'utrecht-form-toggle--disabled': disabled,
1281
1270
  'utrecht-form-toggle--invalid': invalid,
1282
1271
  'utrecht-form-toggle--required': required
@@ -1295,7 +1284,7 @@ var FormToggle = /*#__PURE__*/forwardRef(function (_ref, ref) {
1295
1284
  tabIndex: tabIndex
1296
1285
  }, restProps)), jsx("label", {
1297
1286
  htmlFor: id,
1298
- className: clsx$1('utrecht-form-toggle__track', 'utrecht-form-toggle__track--html-label'),
1287
+ className: clsx('utrecht-form-toggle__track', 'utrecht-form-toggle__track--html-label'),
1299
1288
  children: jsx("div", {
1300
1289
  className: "utrecht-form-toggle__thumb"
1301
1290
  })
@@ -1313,7 +1302,7 @@ var HTMLContent = /*#__PURE__*/forwardRef(function (_ref, ref) {
1313
1302
  restProps = _objectWithoutProperties(_ref, _excluded$S);
1314
1303
  return jsx("div", _objectSpread$T(_objectSpread$T({}, restProps), {}, {
1315
1304
  ref: ref,
1316
- className: clsx$1('utrecht-html', className),
1305
+ className: clsx('utrecht-html', className),
1317
1306
  children: children
1318
1307
  }));
1319
1308
  });
@@ -1328,7 +1317,7 @@ var Heading1 = /*#__PURE__*/forwardRef(function (_ref, ref) {
1328
1317
  restProps = _objectWithoutProperties(_ref, _excluded$R);
1329
1318
  return jsx("h1", _objectSpread$S(_objectSpread$S({}, restProps), {}, {
1330
1319
  ref: ref,
1331
- className: clsx$1('utrecht-heading-1', className),
1320
+ className: clsx('utrecht-heading-1', className),
1332
1321
  children: children
1333
1322
  }));
1334
1323
  });
@@ -1343,7 +1332,7 @@ var Heading2 = /*#__PURE__*/forwardRef(function (_ref, ref) {
1343
1332
  restProps = _objectWithoutProperties(_ref, _excluded$Q);
1344
1333
  return jsx("h2", _objectSpread$R(_objectSpread$R({}, restProps), {}, {
1345
1334
  ref: ref,
1346
- className: clsx$1('utrecht-heading-2', className),
1335
+ className: clsx('utrecht-heading-2', className),
1347
1336
  children: children
1348
1337
  }));
1349
1338
  });
@@ -1358,7 +1347,7 @@ var Heading3 = /*#__PURE__*/forwardRef(function (_ref, ref) {
1358
1347
  restProps = _objectWithoutProperties(_ref, _excluded$P);
1359
1348
  return jsx("h3", _objectSpread$Q(_objectSpread$Q({}, restProps), {}, {
1360
1349
  ref: ref,
1361
- className: clsx$1('utrecht-heading-3', className),
1350
+ className: clsx('utrecht-heading-3', className),
1362
1351
  children: children
1363
1352
  }));
1364
1353
  });
@@ -1373,7 +1362,7 @@ var Heading4 = /*#__PURE__*/forwardRef(function (_ref, ref) {
1373
1362
  restProps = _objectWithoutProperties(_ref, _excluded$O);
1374
1363
  return jsx("h4", _objectSpread$P(_objectSpread$P({}, restProps), {}, {
1375
1364
  ref: ref,
1376
- className: clsx$1('utrecht-heading-4', className),
1365
+ className: clsx('utrecht-heading-4', className),
1377
1366
  children: children
1378
1367
  }));
1379
1368
  });
@@ -1388,7 +1377,7 @@ var Heading5 = /*#__PURE__*/forwardRef(function (_ref, ref) {
1388
1377
  restProps = _objectWithoutProperties(_ref, _excluded$N);
1389
1378
  return jsx("h5", _objectSpread$O(_objectSpread$O({}, restProps), {}, {
1390
1379
  ref: ref,
1391
- className: clsx$1('utrecht-heading-5', className),
1380
+ className: clsx('utrecht-heading-5', className),
1392
1381
  children: children
1393
1382
  }));
1394
1383
  });
@@ -1403,7 +1392,7 @@ var Heading6 = /*#__PURE__*/forwardRef(function (_ref, ref) {
1403
1392
  restProps = _objectWithoutProperties(_ref, _excluded$M);
1404
1393
  return jsx("h6", _objectSpread$N(_objectSpread$N({}, restProps), {}, {
1405
1394
  ref: ref,
1406
- className: clsx$1('utrecht-heading-6', className),
1395
+ className: clsx('utrecht-heading-6', className),
1407
1396
  children: children
1408
1397
  }));
1409
1398
  });
@@ -1418,7 +1407,7 @@ var HeadingGroup = /*#__PURE__*/forwardRef(function (_ref, ref) {
1418
1407
  restProps = _objectWithoutProperties(_ref, _excluded$L);
1419
1408
  return jsx("hgroup", _objectSpread$M(_objectSpread$M({}, restProps), {}, {
1420
1409
  ref: ref,
1421
- className: clsx$1('utrecht-heading-group', className),
1410
+ className: clsx('utrecht-heading-group', className),
1422
1411
  children: children
1423
1412
  }));
1424
1413
  });
@@ -1449,7 +1438,7 @@ var IBANData = /*#__PURE__*/forwardRef(function (_ref, ref) {
1449
1438
  return jsx("data", _objectSpread$L(_objectSpread$L({}, restProps), {}, {
1450
1439
  ref: ref,
1451
1440
  value: normalized,
1452
- className: clsx$1('utrecht-iban-data', className),
1441
+ className: clsx('utrecht-iban-data', className),
1453
1442
  translate: "no",
1454
1443
  children: children || formatted
1455
1444
  }));
@@ -1467,7 +1456,7 @@ var Icon = /*#__PURE__*/forwardRef(function (_ref, ref) {
1467
1456
  restProps = _objectWithoutProperties(_ref, _excluded$J);
1468
1457
  return jsx("span", _objectSpread$K(_objectSpread$K({
1469
1458
  ref: ref,
1470
- className: clsx$1('utrecht-icon', className),
1459
+ className: clsx('utrecht-icon', className),
1471
1460
  role: role,
1472
1461
  "aria-hidden": role === 'presentation' ? 'true' : undefined
1473
1462
  }, restProps), {}, {
@@ -1494,7 +1483,7 @@ var IndexCharNav = /*#__PURE__*/forwardRef(function (_ref, ref) {
1494
1483
  disabled = _ref2.disabled;
1495
1484
  var current = currentChar === _char;
1496
1485
  return /*#__PURE__*/createElement(Button, _objectSpread$J(_objectSpread$J({}, restProps), {}, {
1497
- className: clsx$1({
1486
+ className: clsx({
1498
1487
  'utrecht-index-char-nav__link--current': current
1499
1488
  }),
1500
1489
  ref: ref,
@@ -1516,7 +1505,7 @@ var IndexCharNav = /*#__PURE__*/forwardRef(function (_ref, ref) {
1516
1505
  disabled = _ref3.disabled,
1517
1506
  href = _ref3.href;
1518
1507
  var current = currentChar === _char2;
1519
- var customLinkComponentStyle = clsx$1('utrecht-button-link', 'utrecht-button-link--html-a', 'utrecht-index-char-nav__link', {
1508
+ var customLinkComponentStyle = clsx('utrecht-button-link', 'utrecht-button-link--html-a', 'utrecht-index-char-nav__link', {
1520
1509
  'utrecht-index-char-nav__link--current': current,
1521
1510
  'utrecht-button-link--primary-action': current,
1522
1511
  'utrecht-button-link--secondary-action': !current,
@@ -1527,7 +1516,7 @@ var IndexCharNav = /*#__PURE__*/forwardRef(function (_ref, ref) {
1527
1516
  ref: ref,
1528
1517
  appearance: Link ? undefined : current ? 'primary-action-button' : 'secondary-action-button',
1529
1518
  href: href,
1530
- className: clsx$1(Link && customLinkComponentStyle, 'utrecht-index-char-nav__link', {
1519
+ className: clsx(Link && customLinkComponentStyle, 'utrecht-index-char-nav__link', {
1531
1520
  'utrecht-index-char-nav__link--disabled': disabled,
1532
1521
  'utrecht-index-char-nav__link--current': current
1533
1522
  }),
@@ -1562,7 +1551,7 @@ var Image = /*#__PURE__*/forwardRef(function (_ref, ref) {
1562
1551
  restProps = _objectWithoutProperties(_ref, _excluded$H);
1563
1552
  return jsx("img", _objectSpread$I(_objectSpread$I({}, restProps), {}, {
1564
1553
  ref: ref,
1565
- className: clsx$1('utrecht-img', {
1554
+ className: clsx('utrecht-img', {
1566
1555
  'utrecht-img--photo': photo
1567
1556
  }, className)
1568
1557
  }));
@@ -1583,7 +1572,7 @@ var LinkButton = /*#__PURE__*/forwardRef(function (_ref, ref) {
1583
1572
  return jsx("button", _objectSpread$H(_objectSpread$H({
1584
1573
  ref: ref,
1585
1574
  "aria-pressed": typeof pressed === 'boolean' ? pressed : undefined,
1586
- className: clsx$1('utrecht-link-button', 'utrecht-link-button--html-button', {
1575
+ className: clsx('utrecht-link-button', 'utrecht-link-button--html-button', {
1587
1576
  'utrecht-link-button--disabled': disabled,
1588
1577
  'utrecht-link-button--inline': inline,
1589
1578
  'utrecht-link-button--pressed': pressed
@@ -1606,7 +1595,7 @@ var LinkSocial = /*#__PURE__*/forwardRef(function (_ref, ref) {
1606
1595
  restProps = _objectWithoutProperties(_ref, _excluded$F);
1607
1596
  return jsx("a", _objectSpread$G(_objectSpread$G({}, restProps), {}, {
1608
1597
  ref: ref,
1609
- className: clsx$1('utrecht-link-social', className),
1598
+ className: clsx('utrecht-link-social', className),
1610
1599
  rel: external !== false ? 'external noopener noreferrer' : undefined,
1611
1600
  children: children
1612
1601
  }));
@@ -1623,7 +1612,7 @@ var LinkListLink = /*#__PURE__*/forwardRef(function (_ref, ref) {
1623
1612
  children = _ref.children,
1624
1613
  restProps = _objectWithoutProperties(_ref, _excluded$E);
1625
1614
  return jsx("li", {
1626
- className: clsx$1('utrecht-link-list__item', className),
1615
+ className: clsx('utrecht-link-list__item', className),
1627
1616
  children: jsxs(Link, _objectSpread$F(_objectSpread$F({
1628
1617
  className: "utrecht-link-list__link"
1629
1618
  }, restProps), {}, {
@@ -1645,7 +1634,7 @@ var LinkList = /*#__PURE__*/forwardRef(function (_ref2, ref) {
1645
1634
  return jsxs("ul", _objectSpread$F(_objectSpread$F({
1646
1635
  role: "list",
1647
1636
  ref: ref,
1648
- className: clsx$1('utrecht-link-list', 'utrecht-link-list--html-ul', className)
1637
+ className: clsx('utrecht-link-list', 'utrecht-link-list--html-ul', className)
1649
1638
  }, restProps), {}, {
1650
1639
  children: [children, Array.isArray(links) && links.map(function (linkProps, index) {
1651
1640
  return jsx(LinkListLink, _objectSpread$F({
@@ -1659,14 +1648,14 @@ LinkList.displayName = 'LinkList';
1659
1648
  var ListSocial = function ListSocial(_ref) {
1660
1649
  var children = _ref.children;
1661
1650
  return jsx("ul", {
1662
- className: clsx$1('utrecht-list-social'),
1651
+ className: clsx('utrecht-list-social'),
1663
1652
  children: children
1664
1653
  });
1665
1654
  };
1666
1655
  var ListSocialItem = function ListSocialItem(_ref2) {
1667
1656
  var children = _ref2.children;
1668
1657
  return jsx("li", {
1669
- className: clsx$1('utrecht-list-social__item'),
1658
+ className: clsx('utrecht-list-social__item'),
1670
1659
  children: children
1671
1660
  });
1672
1661
  };
@@ -1681,7 +1670,7 @@ var Logo = /*#__PURE__*/forwardRef(function (_ref, ref) {
1681
1670
  restProps = _objectWithoutProperties(_ref, _excluded$D);
1682
1671
  return jsxs("figure", _objectSpread$E(_objectSpread$E({
1683
1672
  ref: ref,
1684
- className: clsx$1('utrecht-logo', className)
1673
+ className: clsx('utrecht-logo', className)
1685
1674
  }, restProps), {}, {
1686
1675
  children: [children, caption && jsx("figcaption", {
1687
1676
  className: "utrecht-logo__caption",
@@ -1798,7 +1787,7 @@ var Mark = /*#__PURE__*/forwardRef(function (_ref, ref) {
1798
1787
  restProps = _objectWithoutProperties(_ref, _excluded$C);
1799
1788
  return jsx("mark", _objectSpread$C(_objectSpread$C({
1800
1789
  ref: ref,
1801
- className: clsx$1('utrecht-mark', className)
1790
+ className: clsx('utrecht-mark', className)
1802
1791
  }, restProps), {}, {
1803
1792
  children: children
1804
1793
  }));
@@ -1814,7 +1803,7 @@ var MultilineData = /*#__PURE__*/forwardRef(function (_ref, ref) {
1814
1803
  restProps = _objectWithoutProperties(_ref, _excluded$B);
1815
1804
  return jsx("pre", _objectSpread$B(_objectSpread$B({
1816
1805
  ref: ref,
1817
- className: clsx$1('utrecht-multiline-data', 'utrecht-multiline-data--html-pre', className)
1806
+ className: clsx('utrecht-multiline-data', 'utrecht-multiline-data--html-pre', className)
1818
1807
  }, restProps), {}, {
1819
1808
  children: children
1820
1809
  }));
@@ -1827,7 +1816,7 @@ var NavBar = function NavBar(_ref) {
1827
1816
  return jsx("div", {
1828
1817
  className: "utrecht-nav-bar",
1829
1818
  children: jsx("div", {
1830
- className: clsx$1('utrecht-nav-bar__content', {
1819
+ className: clsx('utrecht-nav-bar__content', {
1831
1820
  'utrecht-nav-bar__content--center': appearance === 'center'
1832
1821
  }),
1833
1822
  children: children
@@ -1848,7 +1837,7 @@ var NavList = /*#__PURE__*/forwardRef(function (_ref, ref) {
1848
1837
  restProps = _objectWithoutProperties(_ref, _excluded$A);
1849
1838
  return jsx("ul", _objectSpread$A(_objectSpread$A({
1850
1839
  role: "list",
1851
- className: clsx$1('utrecht-nav-list', {
1840
+ className: clsx('utrecht-nav-list', {
1852
1841
  'utrecht-nav-list--center': appearance === 'center'
1853
1842
  }, className),
1854
1843
  ref: ref
@@ -1863,7 +1852,7 @@ var NavListLink = function NavListLink(_ref2) {
1863
1852
  className = _ref2.className,
1864
1853
  restProps = _objectWithoutProperties(_ref2, _excluded2$3);
1865
1854
  return jsx("li", {
1866
- className: clsx$1('utrecht-nav-list__item', {
1855
+ className: clsx('utrecht-nav-list__item', {
1867
1856
  'utrecht-nav-list__item--center': center
1868
1857
  }, className),
1869
1858
  children: jsx(Link, _objectSpread$A(_objectSpread$A({
@@ -1880,7 +1869,7 @@ var NavListLinkButton = function NavListLinkButton(_ref3) {
1880
1869
  className = _ref3.className,
1881
1870
  restProps = _objectWithoutProperties(_ref3, _excluded3$1);
1882
1871
  return jsx("li", {
1883
- className: clsx$1('utrecht-nav-list__item', {
1872
+ className: clsx('utrecht-nav-list__item', {
1884
1873
  'utrecht-nav-list__item--center': center
1885
1874
  }, className),
1886
1875
  children: jsx(LinkButton, _objectSpread$A(_objectSpread$A({
@@ -1902,7 +1891,7 @@ var NumberBadge = /*#__PURE__*/forwardRef(function (_ref, ref) {
1902
1891
  restProps = _objectWithoutProperties(_ref, _excluded$z);
1903
1892
  var props = _objectSpread$z({
1904
1893
  children: children,
1905
- className: clsx$1('utrecht-number-badge', className)
1894
+ className: clsx('utrecht-number-badge', className)
1906
1895
  }, restProps);
1907
1896
  return typeof value !== 'undefined' ? jsx("data", _objectSpread$z(_objectSpread$z({}, props), {}, {
1908
1897
  value: value,
@@ -1925,7 +1914,7 @@ var NumberData = /*#__PURE__*/forwardRef(function (_ref, ref) {
1925
1914
  value: typeof value === 'string' || typeof value === 'number' ? String(value) : undefined
1926
1915
  }, restProps), {}, {
1927
1916
  ref: ref,
1928
- className: clsx$1('utrecht-number-data', className),
1917
+ className: clsx('utrecht-number-data', className),
1929
1918
  children: children
1930
1919
  }));
1931
1920
  });
@@ -1940,7 +1929,7 @@ var OrderedList = /*#__PURE__*/forwardRef(function (_ref, ref) {
1940
1929
  restProps = _objectWithoutProperties(_ref, _excluded$x);
1941
1930
  return jsx("ol", _objectSpread$x(_objectSpread$x({}, restProps), {}, {
1942
1931
  ref: ref,
1943
- className: clsx$1('utrecht-ordered-list', className),
1932
+ className: clsx('utrecht-ordered-list', className),
1944
1933
  children: children
1945
1934
  }));
1946
1935
  });
@@ -1955,7 +1944,7 @@ var OrderedListItem = /*#__PURE__*/forwardRef(function (_ref, ref) {
1955
1944
  restProps = _objectWithoutProperties(_ref, _excluded$w);
1956
1945
  return jsx("li", _objectSpread$w(_objectSpread$w({}, restProps), {}, {
1957
1946
  ref: ref,
1958
- className: clsx$1('utrecht-ordered-list__item', className),
1947
+ className: clsx('utrecht-ordered-list__item', className),
1959
1948
  children: children
1960
1949
  }));
1961
1950
  });
@@ -1970,7 +1959,7 @@ var Page = /*#__PURE__*/forwardRef(function (_ref, ref) {
1970
1959
  restProps = _objectWithoutProperties(_ref, _excluded$v);
1971
1960
  return jsx("div", _objectSpread$v(_objectSpread$v({}, restProps), {}, {
1972
1961
  ref: ref,
1973
- className: clsx$1('utrecht-page', className),
1962
+ className: clsx('utrecht-page', className),
1974
1963
  children: children
1975
1964
  }));
1976
1965
  });
@@ -1986,7 +1975,7 @@ var PageContent = /*#__PURE__*/forwardRef(function (_ref, ref) {
1986
1975
  restProps = _objectWithoutProperties(_ref, _excluded$u);
1987
1976
  return jsx("div", _objectSpread$u(_objectSpread$u({}, restProps), {}, {
1988
1977
  ref: ref,
1989
- className: clsx$1('utrecht-page-content', className),
1978
+ className: clsx('utrecht-page-content', className),
1990
1979
  children: children
1991
1980
  }));
1992
1981
  });
@@ -1997,7 +1986,7 @@ var PageContentMain = /*#__PURE__*/forwardRef(function (_ref2, ref) {
1997
1986
  restProps = _objectWithoutProperties(_ref2, _excluded2$2);
1998
1987
  return jsx("main", _objectSpread$u(_objectSpread$u({}, restProps), {}, {
1999
1988
  ref: ref,
2000
- className: clsx$1('utrecht-page-content__main', className),
1989
+ className: clsx('utrecht-page-content__main', className),
2001
1990
  children: children
2002
1991
  }));
2003
1992
  });
@@ -2012,7 +2001,7 @@ var PageFooter = /*#__PURE__*/forwardRef(function (_ref, ref) {
2012
2001
  restProps = _objectWithoutProperties(_ref, _excluded$t);
2013
2002
  return jsx("footer", _objectSpread$t(_objectSpread$t({}, restProps), {}, {
2014
2003
  ref: ref,
2015
- className: clsx$1('utrecht-page-footer', className),
2004
+ className: clsx('utrecht-page-footer', className),
2016
2005
  children: children
2017
2006
  }));
2018
2007
  });
@@ -2027,7 +2016,7 @@ var PageHeader = /*#__PURE__*/forwardRef(function (_ref, ref) {
2027
2016
  restProps = _objectWithoutProperties(_ref, _excluded$s);
2028
2017
  return jsx("header", _objectSpread$s(_objectSpread$s({}, restProps), {}, {
2029
2018
  ref: ref,
2030
- className: clsx$1('utrecht-page-header', className),
2019
+ className: clsx('utrecht-page-header', className),
2031
2020
  children: children
2032
2021
  }));
2033
2022
  });
@@ -2043,11 +2032,14 @@ var Paragraph = /*#__PURE__*/forwardRef(function (_ref, ref) {
2043
2032
  small = _ref.small,
2044
2033
  appearance = _ref.appearance,
2045
2034
  restProps = _objectWithoutProperties(_ref, _excluded$r);
2046
- var isLead = appearance === 'lead' || lead && appearance !== 'small';
2047
- var isSmall = appearance === 'small' || small && appearance !== 'lead';
2035
+ var isLead = appearance === 'lead' || !!lead;
2036
+ var isSmall = appearance === 'small' || !!small;
2037
+ // Ignore combinations of `lead` and `small`
2038
+ isLead = isLead !== isSmall ? isLead : false;
2039
+ isSmall = isSmall !== isLead ? isSmall : false;
2048
2040
  return jsx("p", _objectSpread$r(_objectSpread$r({}, restProps), {}, {
2049
2041
  ref: ref,
2050
- className: clsx$1('utrecht-paragraph', isLead && 'utrecht-paragraph--lead', isSmall && 'utrecht-paragraph--small', className),
2042
+ className: clsx('utrecht-paragraph', isLead && "utrecht-paragraph--lead", isSmall && "utrecht-paragraph--small", className),
2051
2043
  children: isLead ? jsx("b", {
2052
2044
  className: "utrecht-paragraph__b",
2053
2045
  children: children
@@ -2068,7 +2060,7 @@ var DataPlaceholder = /*#__PURE__*/forwardRef(function (_ref, ref) {
2068
2060
  restProps = _objectWithoutProperties(_ref, _excluded$q);
2069
2061
  return jsx("span", _objectSpread$q({
2070
2062
  ref: ref,
2071
- className: clsx$1('utrecht-data-placeholder', {
2063
+ className: clsx('utrecht-data-placeholder', {
2072
2064
  'utrecht-data-placeholder--loading': loading
2073
2065
  }, className)
2074
2066
  }, restProps));
@@ -2084,7 +2076,7 @@ var PreHeading = /*#__PURE__*/forwardRef(function (_ref, ref) {
2084
2076
  restProps = _objectWithoutProperties(_ref, _excluded$p);
2085
2077
  return jsx("p", _objectSpread$p(_objectSpread$p({}, restProps), {}, {
2086
2078
  ref: ref,
2087
- className: clsx$1('utrecht-pre-heading', className),
2079
+ className: clsx('utrecht-pre-heading', className),
2088
2080
  children: children
2089
2081
  }));
2090
2082
  });
@@ -2104,7 +2096,7 @@ var PreserveData = /*#__PURE__*/forwardRef(function (_ref, ref) {
2104
2096
  translate: "no",
2105
2097
  children: children
2106
2098
  }),
2107
- className: clsx$1('utrecht-preserve-data', className)
2099
+ className: clsx('utrecht-preserve-data', className)
2108
2100
  }, restProps);
2109
2101
  return typeof dateTime !== 'undefined' ? jsx("time", _objectSpread$o(_objectSpread$o({}, props), {}, {
2110
2102
  dateTime: dateTime,
@@ -2130,7 +2122,7 @@ var RichText = /*#__PURE__*/forwardRef(function (_ref, ref) {
2130
2122
  restProps = _objectWithoutProperties(_ref, _excluded$n);
2131
2123
  return jsx("div", _objectSpread$n(_objectSpread$n({}, restProps), {}, {
2132
2124
  ref: ref,
2133
- className: clsx$1('utrecht-rich-text', className),
2125
+ className: clsx('utrecht-rich-text', className),
2134
2126
  children: children
2135
2127
  }));
2136
2128
  });
@@ -2182,7 +2174,7 @@ var Select = /*#__PURE__*/forwardRef(function (_ref, ref) {
2182
2174
  "aria-invalid": invalid || undefined,
2183
2175
  required: noscript ? required : false,
2184
2176
  "aria-required": noscript ? undefined : required || undefined,
2185
- className: clsx$1('utrecht-select', 'utrecht-select--html-select', busy && 'utrecht-select--busy', invalid && 'utrecht-select--invalid', required && 'utrecht-select--required', className),
2177
+ className: clsx('utrecht-select', 'utrecht-select--html-select', busy && 'utrecht-select--busy', invalid && 'utrecht-select--invalid', required && 'utrecht-select--required', className),
2186
2178
  ref: ref
2187
2179
  }, restProps), {}, {
2188
2180
  children: children
@@ -2200,7 +2192,7 @@ var SelectOption = /*#__PURE__*/forwardRef(function (_ref2, ref) {
2200
2192
  ref: ref,
2201
2193
  disabled: disabled,
2202
2194
  value: value,
2203
- className: clsx$1('utrecht-select__option', disabled && 'utrecht-select__option--disabled', invalid && 'utrecht-select__option--invalid', className),
2195
+ className: clsx('utrecht-select__option', disabled && 'utrecht-select__option--disabled', invalid && 'utrecht-select__option--invalid', className),
2204
2196
  children: children
2205
2197
  }));
2206
2198
  });
@@ -2216,7 +2208,7 @@ var Separator = /*#__PURE__*/forwardRef(function (_ref, ref) {
2216
2208
  var restProps = _objectWithoutProperties(_ref, _excluded$k);
2217
2209
  return jsx("hr", _objectSpread$k(_objectSpread$k({}, restProps), {}, {
2218
2210
  ref: ref,
2219
- className: clsx$1('utrecht-separator', className)
2211
+ className: clsx('utrecht-separator', className)
2220
2212
  }));
2221
2213
  });
2222
2214
  Separator.displayName = 'Separator';
@@ -2232,7 +2224,7 @@ var SkipLink = /*#__PURE__*/forwardRef(function (_ref, ref) {
2232
2224
  children: jsx("a", _objectSpread$j(_objectSpread$j({
2233
2225
  ref: ref
2234
2226
  }, restProps), {}, {
2235
- className: clsx$1('utrecht-skip-link', 'utrecht-skip-link--visible-on-focus', className),
2227
+ className: clsx('utrecht-skip-link', 'utrecht-skip-link--visible-on-focus', className),
2236
2228
  children: children
2237
2229
  }))
2238
2230
  });
@@ -2250,7 +2242,7 @@ var SpotlightSection = /*#__PURE__*/forwardRef(function (_ref, ref) {
2250
2242
  restProps = _objectWithoutProperties(_ref, _excluded$i);
2251
2243
  var props = _objectSpread$i(_objectSpread$i({}, restProps), {}, {
2252
2244
  ref: ref,
2253
- className: clsx$1('utrecht-spotlight-section', _defineProperty({}, "utrecht-spotlight-section--".concat(type), type), className)
2245
+ className: clsx('utrecht-spotlight-section', _defineProperty({}, "utrecht-spotlight-section--".concat(type), type), className)
2254
2246
  });
2255
2247
  return aside ? jsx("aside", _objectSpread$i(_objectSpread$i({}, props), {}, {
2256
2248
  children: children
@@ -2268,7 +2260,7 @@ var StatusBadge = /*#__PURE__*/forwardRef(function (_ref, ref) {
2268
2260
  status = _ref.status,
2269
2261
  restProps = _objectWithoutProperties(_ref, _excluded$h);
2270
2262
  return jsx("span", _objectSpread$h(_objectSpread$h({
2271
- className: clsx$1('utrecht-badge-status', "utrecht-badge-status--".concat(status ? status : 'neutral'), className)
2263
+ className: clsx('utrecht-badge-status', "utrecht-badge-status--".concat(status ? status : 'neutral'), className)
2272
2264
  }, restProps), {}, {
2273
2265
  ref: ref
2274
2266
  }));
@@ -2284,7 +2276,7 @@ var Strong = /*#__PURE__*/forwardRef(function (_ref, ref) {
2284
2276
  restProps = _objectWithoutProperties(_ref, _excluded$g);
2285
2277
  return jsx("strong", _objectSpread$g(_objectSpread$g({
2286
2278
  ref: ref,
2287
- className: clsx$1('utrecht-emphasis', 'utrecht-emphasis--strong', className)
2279
+ className: clsx('utrecht-emphasis', 'utrecht-emphasis--strong', className)
2288
2280
  }, restProps), {}, {
2289
2281
  children: children
2290
2282
  }));
@@ -2301,7 +2293,7 @@ var Subscript = /*#__PURE__*/forwardRef(function (_ref, ref) {
2301
2293
  restProps = _objectWithoutProperties(_ref, _excluded$f);
2302
2294
  return jsx("sub", _objectSpread$f(_objectSpread$f({
2303
2295
  ref: ref,
2304
- className: clsx$1('utrecht-subscript', {
2296
+ className: clsx('utrecht-subscript', {
2305
2297
  'utrecht-subscript--open-type': openType
2306
2298
  }, className)
2307
2299
  }, restProps), {}, {
@@ -2320,7 +2312,7 @@ var Superscript = /*#__PURE__*/forwardRef(function (_ref, ref) {
2320
2312
  restProps = _objectWithoutProperties(_ref, _excluded$e);
2321
2313
  return jsx("sup", _objectSpread$e(_objectSpread$e({
2322
2314
  ref: ref,
2323
- className: clsx$1('utrecht-superscript', {
2315
+ className: clsx('utrecht-superscript', {
2324
2316
  'utrecht-superscript--open-type': openType
2325
2317
  }, className)
2326
2318
  }, restProps), {}, {
@@ -2338,7 +2330,7 @@ var Surface = /*#__PURE__*/forwardRef(function (_ref, ref) {
2338
2330
  restProps = _objectWithoutProperties(_ref, _excluded$d);
2339
2331
  return jsx("div", _objectSpread$d(_objectSpread$d({}, restProps), {}, {
2340
2332
  ref: ref,
2341
- className: clsx$1('utrecht-surface', className),
2333
+ className: clsx('utrecht-surface', className),
2342
2334
  children: children
2343
2335
  }));
2344
2336
  });
@@ -2354,7 +2346,7 @@ var TableContainer = /*#__PURE__*/forwardRef(function (_ref, ref) {
2354
2346
  restProps = _objectWithoutProperties(_ref, _excluded$c);
2355
2347
  return jsx("div", _objectSpread$c(_objectSpread$c({
2356
2348
  ref: ref,
2357
- className: clsx$1('utrecht-table-container', {
2349
+ className: clsx('utrecht-table-container', {
2358
2350
  'utrecht-table-container--overflow-inline': overflowInline
2359
2351
  }, className)
2360
2352
  }, restProps), {}, {
@@ -2375,7 +2367,7 @@ var Table = /*#__PURE__*/forwardRef(function (_ref, ref) {
2375
2367
  "aria-busy": busy
2376
2368
  }, restProps), {}, {
2377
2369
  ref: ref,
2378
- className: clsx$1('utrecht-table', {
2370
+ className: clsx('utrecht-table', {
2379
2371
  'utrecht-table--busy': busy
2380
2372
  }, className),
2381
2373
  children: children
@@ -2392,7 +2384,7 @@ var TableBody = /*#__PURE__*/forwardRef(function (_ref, ref) {
2392
2384
  restProps = _objectWithoutProperties(_ref, _excluded$a);
2393
2385
  return jsx("tbody", _objectSpread$a(_objectSpread$a({}, restProps), {}, {
2394
2386
  ref: ref,
2395
- className: clsx$1('utrecht-table__body', className),
2387
+ className: clsx('utrecht-table__body', className),
2396
2388
  children: children
2397
2389
  }));
2398
2390
  });
@@ -2407,7 +2399,7 @@ var TableCaption = /*#__PURE__*/forwardRef(function (_ref, ref) {
2407
2399
  restProps = _objectWithoutProperties(_ref, _excluded$9);
2408
2400
  return jsx("caption", _objectSpread$9(_objectSpread$9({}, restProps), {}, {
2409
2401
  ref: ref,
2410
- className: clsx$1('utrecht-table__caption', className),
2402
+ className: clsx('utrecht-table__caption', className),
2411
2403
  children: children
2412
2404
  }));
2413
2405
  });
@@ -2426,7 +2418,7 @@ var TableCell = /*#__PURE__*/forwardRef(function (_ref, ref) {
2426
2418
  "aria-selected": selected ? true : undefined
2427
2419
  }, restProps), {}, {
2428
2420
  ref: ref,
2429
- className: clsx$1('utrecht-table__cell', {
2421
+ className: clsx('utrecht-table__cell', {
2430
2422
  'utrecht-table__cell--selected': selected,
2431
2423
  'utrecht-table__cell--numeric-column': numericColumn
2432
2424
  }, className),
@@ -2445,7 +2437,7 @@ var TableFooter = /*#__PURE__*/forwardRef(function (_ref, ref) {
2445
2437
  restProps = _objectWithoutProperties(_ref, _excluded$7);
2446
2438
  return jsx("tfoot", _objectSpread$7(_objectSpread$7({}, restProps), {}, {
2447
2439
  ref: ref,
2448
- className: clsx$1('utrecht-table__footer', {
2440
+ className: clsx('utrecht-table__footer', {
2449
2441
  'utrecht-table__footer--sticky': sticky
2450
2442
  }, className),
2451
2443
  children: children
@@ -2463,7 +2455,7 @@ var TableHeader = /*#__PURE__*/forwardRef(function (_ref, ref) {
2463
2455
  restProps = _objectWithoutProperties(_ref, _excluded$6);
2464
2456
  return jsx("thead", _objectSpread$6(_objectSpread$6({}, restProps), {}, {
2465
2457
  ref: ref,
2466
- className: clsx$1('utrecht-table__header', {
2458
+ className: clsx('utrecht-table__header', {
2467
2459
  'utrecht-table__header--sticky': sticky
2468
2460
  }, className),
2469
2461
  children: children
@@ -2487,7 +2479,7 @@ var TableHeaderCell = /*#__PURE__*/forwardRef(function (_ref, ref) {
2487
2479
  scope: scope
2488
2480
  }, restProps), {}, {
2489
2481
  ref: ref,
2490
- className: clsx$1('utrecht-table__header-cell', {
2482
+ className: clsx('utrecht-table__header-cell', {
2491
2483
  'utrecht-table__header-cell--numeric-column': numericColumn,
2492
2484
  'utrecht-table__header-cell--selected': selected,
2493
2485
  'utrecht-table__header-cell--sticky-inline': sticky && scope === 'row',
@@ -2509,7 +2501,7 @@ var TableOfContents = function TableOfContents(_ref) {
2509
2501
  className = _ref.className,
2510
2502
  restProps = _objectWithoutProperties(_ref, _excluded$4);
2511
2503
  return jsx("section", _objectSpread$4(_objectSpread$4({
2512
- className: clsx$2('utrecht-table-of-contents', className)
2504
+ className: clsx$1('utrecht-table-of-contents', className)
2513
2505
  }, restProps), {}, {
2514
2506
  children: children
2515
2507
  }));
@@ -2519,7 +2511,7 @@ var TableOfContentsList = function TableOfContentsList(_ref2) {
2519
2511
  className = _ref2.className,
2520
2512
  restProps = _objectWithoutProperties(_ref2, _excluded2);
2521
2513
  return jsx("ul", _objectSpread$4(_objectSpread$4({
2522
- className: clsx$2('utrecht-table-of-contents__list', className)
2514
+ className: clsx$1('utrecht-table-of-contents__list', className)
2523
2515
  }, restProps), {}, {
2524
2516
  children: children
2525
2517
  }));
@@ -2529,7 +2521,7 @@ var TableOfContentsListItem = function TableOfContentsListItem(_ref3) {
2529
2521
  className = _ref3.className,
2530
2522
  restProps = _objectWithoutProperties(_ref3, _excluded3);
2531
2523
  return jsx("li", _objectSpread$4(_objectSpread$4({
2532
- className: clsx$2('utrecht-table-of-contents__list-item', className)
2524
+ className: clsx$1('utrecht-table-of-contents__list-item', className)
2533
2525
  }, restProps), {}, {
2534
2526
  children: jsx("span", {
2535
2527
  className: "utrecht-table-of-contents__list-item-body",
@@ -2543,7 +2535,7 @@ var TableOfContentsLink = function TableOfContentsLink(_ref4) {
2543
2535
  label = _ref4.label,
2544
2536
  restProps = _objectWithoutProperties(_ref4, _excluded4);
2545
2537
  return jsxs(Link, _objectSpread$4(_objectSpread$4({
2546
- className: clsx$2('utrecht-table-of-contents__link', className)
2538
+ className: clsx$1('utrecht-table-of-contents__link', className)
2547
2539
  }, restProps), {}, {
2548
2540
  children: [label && jsx("span", {
2549
2541
  className: "utrecht-table-of-contents__list-item-label",
@@ -2567,7 +2559,7 @@ var TableRow = /*#__PURE__*/forwardRef(function (_ref, ref) {
2567
2559
  "aria-selected": selected ? true : undefined
2568
2560
  }, restProps), {}, {
2569
2561
  ref: ref,
2570
- className: clsx$1('utrecht-table__row', {
2562
+ className: clsx('utrecht-table__row', {
2571
2563
  'utrecht-table__row--selected': selected
2572
2564
  }, className),
2573
2565
  children: children
@@ -2586,7 +2578,7 @@ var URLData = /*#__PURE__*/forwardRef(function (_ref, ref) {
2586
2578
  translate: "no"
2587
2579
  }, restProps), {}, {
2588
2580
  ref: ref,
2589
- className: clsx$1('utrecht-url-data', className),
2581
+ className: clsx('utrecht-url-data', className),
2590
2582
  children: children
2591
2583
  }));
2592
2584
  });
@@ -2603,7 +2595,7 @@ var UnorderedList = /*#__PURE__*/forwardRef(function (_ref, ref) {
2603
2595
  role: "list"
2604
2596
  }, restProps), {}, {
2605
2597
  ref: ref,
2606
- className: clsx$1('utrecht-unordered-list', className),
2598
+ className: clsx('utrecht-unordered-list', className),
2607
2599
  children: children
2608
2600
  }));
2609
2601
  });
@@ -2618,11 +2610,11 @@ var UnorderedListItem = /*#__PURE__*/forwardRef(function (_ref, ref) {
2618
2610
  restProps = _objectWithoutProperties(_ref, _excluded);
2619
2611
  return jsx("li", _objectSpread(_objectSpread({}, restProps), {}, {
2620
2612
  ref: ref,
2621
- className: clsx$1('utrecht-unordered-list__item', className),
2613
+ className: clsx('utrecht-unordered-list__item', className),
2622
2614
  children: children
2623
2615
  }));
2624
2616
  });
2625
2617
  UnorderedListItem.displayName = 'UnorderedListItem';
2626
2618
 
2627
- export { Accordion, AccordionProvider, AccordionSection, Alert, AlertDialog, Article, Backdrop, BadgeCounter, BadgeList, Blockquote, BreadcrumbNav, BreadcrumbNavLink, BreadcrumbNavSeparator, ButtonGroup, ButtonLink, Code, CodeBlock, ColorSample, ColumnLayout, CurrencyData, DataBadge, DataList, DataListActions, DataListItem, DataListKey, DataListValue, DataPlaceholder, Document, Drawer, Emphasis, Figure, FigureCaption, FormFieldTextarea, FormFieldTextbox, FormToggle, HTMLContent, Heading, Heading1, Heading2, Heading3, Heading4, Heading5, Heading6, HeadingGroup, IBANData, Icon, Image, IndexCharNav, LinkButton, LinkList, LinkListLink, LinkSocial, ListSocial, ListSocialItem, Logo, LogoImage, Mark, MultilineData, NavBar, NavList, NavListLink, NavListLinkButton, NumberBadge, NumberData, OrderedList, OrderedListItem, Page, PageContent, PageFooter, PageHeader, Paragraph, PreHeading, PreserveData, RichText, ScrollLink, Select, SelectOption, Separator, SkipLink, SpotlightSection, StatusBadge, Strong, Subscript, Superscript, Surface, Table, TableBody, TableCaption, TableCell, TableContainer, TableFooter, TableHeader, TableHeaderCell, TableOfContents, TableOfContentsLink, TableOfContentsList, TableOfContentsListItem, TableRow, Textarea, URLData, UnorderedList, UnorderedListItem };
2619
+ export { Accordion, AccordionProvider, AccordionSection, Alert, AlertDialog, Article, Backdrop, BadgeCounter, BadgeList, Blockquote, BreadcrumbNav, BreadcrumbNavLink, BreadcrumbNavSeparator, ButtonGroup, ButtonLink, Code, CodeBlock, ColorSample, ColumnLayout, CurrencyData, DataList, DataListActions, DataListItem, DataListKey, DataListValue, DataPlaceholder, Document, Drawer, Emphasis, Figure, FigureCaption, FormFieldTextarea, FormFieldTextbox, FormToggle, HTMLContent, Heading, Heading1, Heading2, Heading3, Heading4, Heading5, Heading6, HeadingGroup, IBANData, Icon, Image, IndexCharNav, LinkButton, LinkList, LinkListLink, LinkSocial, ListSocial, ListSocialItem, Logo, LogoImage, Mark, MultilineData, NavBar, NavList, NavListLink, NavListLinkButton, NumberBadge, NumberData, OrderedList, OrderedListItem, Page, PageContent, PageFooter, PageHeader, Paragraph, PreHeading, PreserveData, RichText, ScrollLink, Select, SelectOption, Separator, SkipLink, SpotlightSection, StatusBadge, Strong, Subscript, Superscript, Surface, Table, TableBody, TableCaption, TableCell, TableContainer, TableFooter, TableHeader, TableHeaderCell, TableOfContents, TableOfContentsLink, TableOfContentsList, TableOfContentsListItem, TableRow, Textarea, URLData, UnorderedList, UnorderedListItem };
2628
2620
  //# sourceMappingURL=index.mjs.map