@publicplan/kern-react-kit 1.3.0 → 1.3.2

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.cjs CHANGED
@@ -131,9 +131,9 @@ function _objectSpread2(e) {
131
131
 
132
132
  //#endregion
133
133
  //#region src/components/Accordion/Content.tsx
134
- const _excluded$95 = ["children", "className"];
134
+ const _excluded$94 = ["children", "className"];
135
135
  const AccordionContent = (_ref) => {
136
- let { children, className } = _ref, rest = _objectWithoutProperties(_ref, _excluded$95);
136
+ let { children, className } = _ref, rest = _objectWithoutProperties(_ref, _excluded$94);
137
137
  return /* @__PURE__ */ (0, react_jsx_runtime.jsx)("section", _objectSpread2(_objectSpread2({}, rest), {}, {
138
138
  className: cn("kern-accordion__body", className),
139
139
  children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)("p", {
@@ -146,7 +146,7 @@ AccordionContent.displayName = "Accordion.Content";
146
146
 
147
147
  //#endregion
148
148
  //#region src/components/Accordion/Root.tsx
149
- const _excluded$94 = [
149
+ const _excluded$93 = [
150
150
  "className",
151
151
  "children",
152
152
  "isOpened",
@@ -154,7 +154,7 @@ const _excluded$94 = [
154
154
  "totalItems"
155
155
  ];
156
156
  const AccordionRoot = (_ref) => {
157
- let { className, children, isOpened, position = 0, totalItems = 0 } = _ref, rest = _objectWithoutProperties(_ref, _excluded$94);
157
+ let { className, children, isOpened, position = 0, totalItems = 0 } = _ref, rest = _objectWithoutProperties(_ref, _excluded$93);
158
158
  return /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("details", _objectSpread2(_objectSpread2(_objectSpread2({}, rest), {}, { className: cn("kern-accordion", className) }, isOpened ? { open: true } : {}), {}, { children: [position > 0 && totalItems > 0 && /* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", {
159
159
  className: "kern-sr-only",
160
160
  children: `Item ${position} of ${totalItems}`
@@ -164,7 +164,7 @@ AccordionRoot.displayName = "Accordion.Root";
164
164
 
165
165
  //#endregion
166
166
  //#region src/components/Title/Title.tsx
167
- const _excluded$93 = [
167
+ const _excluded$92 = [
168
168
  "variant",
169
169
  "textWrapper",
170
170
  "title",
@@ -172,7 +172,7 @@ const _excluded$93 = [
172
172
  "className"
173
173
  ];
174
174
  const Title = (_ref) => {
175
- let { variant = "default", textWrapper = "h2", title, children, className } = _ref, rest = _objectWithoutProperties(_ref, _excluded$93);
175
+ let { variant = "default", textWrapper = "h2", title, children, className } = _ref, rest = _objectWithoutProperties(_ref, _excluded$92);
176
176
  const Wrapper = textWrapper;
177
177
  const titleClass = cn("kern-title", `kern-title--${variant}`, className);
178
178
  return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(Wrapper, _objectSpread2(_objectSpread2({}, rest), {}, {
@@ -183,14 +183,14 @@ const Title = (_ref) => {
183
183
 
184
184
  //#endregion
185
185
  //#region src/components/Accordion/Group.tsx
186
- const _excluded$92 = [
186
+ const _excluded$91 = [
187
187
  "aria-label",
188
188
  "className",
189
189
  "title",
190
190
  "children"
191
191
  ];
192
192
  const AccordionGroup = (_ref) => {
193
- let { "aria-label": ariaLabel, className, title, children } = _ref, rest = _objectWithoutProperties(_ref, _excluded$92);
193
+ let { "aria-label": ariaLabel, className, title, children } = _ref, rest = _objectWithoutProperties(_ref, _excluded$91);
194
194
  const totalItems = react.default.Children.count(children);
195
195
  const isAccordionItem = (child) => {
196
196
  if (!react.default.isValidElement(child)) return false;
@@ -210,9 +210,9 @@ AccordionGroup.displayName = "Accordion.Group";
210
210
 
211
211
  //#endregion
212
212
  //#region src/components/Accordion/Summary.tsx
213
- const _excluded$91 = ["title", "className"];
213
+ const _excluded$90 = ["title", "className"];
214
214
  const AccordionSummary = (_ref) => {
215
- let { title, className } = _ref, rest = _objectWithoutProperties(_ref, _excluded$91);
215
+ let { title, className } = _ref, rest = _objectWithoutProperties(_ref, _excluded$90);
216
216
  return /* @__PURE__ */ (0, react_jsx_runtime.jsx)("summary", _objectSpread2(_objectSpread2({}, rest), {}, {
217
217
  className: cn("kern-accordion__header", className),
218
218
  children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(Title, _objectSpread2({}, title))
@@ -231,9 +231,9 @@ var Accordion_exports = /* @__PURE__ */ __export({
231
231
 
232
232
  //#endregion
233
233
  //#region src/components/Alert/Body.tsx
234
- const _excluded$90 = ["children", "className"];
234
+ const _excluded$89 = ["children", "className"];
235
235
  const AlertBody = (_ref) => {
236
- let { children, className } = _ref, rest = _objectWithoutProperties(_ref, _excluded$90);
236
+ let { children, className } = _ref, rest = _objectWithoutProperties(_ref, _excluded$89);
237
237
  return /* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", _objectSpread2(_objectSpread2({}, rest), {}, {
238
238
  className: cn("kern-alert__body", className),
239
239
  children
@@ -243,7 +243,7 @@ AlertBody.displayName = "Alert.Body";
243
243
 
244
244
  //#endregion
245
245
  //#region src/components/Icon/Icon.tsx
246
- const _excluded$89 = [
246
+ const _excluded$88 = [
247
247
  "name",
248
248
  "aria-hidden",
249
249
  "size",
@@ -251,7 +251,7 @@ const _excluded$89 = [
251
251
  "className"
252
252
  ];
253
253
  const Icon = (_ref) => {
254
- let { name = "home", "aria-hidden": ariaHidden = true, size = "default", role, className } = _ref, rest = _objectWithoutProperties(_ref, _excluded$89);
254
+ let { name = "home", "aria-hidden": ariaHidden = true, size = "default", role, className } = _ref, rest = _objectWithoutProperties(_ref, _excluded$88);
255
255
  return /* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", _objectSpread2(_objectSpread2({}, rest), {}, {
256
256
  className: cn("kern-icon", `kern-icon--${name}`, `kern-icon--${size}`, className),
257
257
  "aria-hidden": ariaHidden,
@@ -268,14 +268,14 @@ function useAlertVariant() {
268
268
 
269
269
  //#endregion
270
270
  //#region src/components/Alert/Header.tsx
271
- const _excluded$88 = [
271
+ const _excluded$87 = [
272
272
  "hasIcon",
273
273
  "icon",
274
274
  "title",
275
275
  "className"
276
276
  ];
277
277
  const AlertHeader = (_ref) => {
278
- let { hasIcon = true, icon, title, className } = _ref, rest = _objectWithoutProperties(_ref, _excluded$88);
278
+ let { hasIcon = true, icon, title, className } = _ref, rest = _objectWithoutProperties(_ref, _excluded$87);
279
279
  const variant = useAlertVariant();
280
280
  return /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", _objectSpread2(_objectSpread2({}, rest), {}, {
281
281
  className: cn("kern-alert__header", className),
@@ -289,7 +289,7 @@ AlertHeader.displayName = "Alert.Header";
289
289
 
290
290
  //#endregion
291
291
  //#region src/components/Link/Link.tsx
292
- const _excluded$87 = [
292
+ const _excluded$86 = [
293
293
  "variant",
294
294
  "icon",
295
295
  "iconLeft",
@@ -304,7 +304,7 @@ const getIcon$1 = (iconProps) => iconProps ? /* @__PURE__ */ (0, react_jsx_runti
304
304
  size: iconProps.size
305
305
  }) : null;
306
306
  const Link = (_ref) => {
307
- let { variant = "default", icon, iconLeft, title, target = "_self", children, isStretched, className } = _ref, props = _objectWithoutProperties(_ref, _excluded$87);
307
+ let { variant = "default", icon, iconLeft, title, target = "_self", children, isStretched, className } = _ref, props = _objectWithoutProperties(_ref, _excluded$86);
308
308
  const linkText = title !== null && title !== void 0 ? title : children;
309
309
  const linkClass = cn(isStretched ? "kern-link--stretched" : "kern-link", variant === "small" && "kern-link--small", className);
310
310
  return /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("a", _objectSpread2(_objectSpread2({}, props), {}, {
@@ -328,13 +328,13 @@ AlertLink.displayName = "Alert.Link";
328
328
 
329
329
  //#endregion
330
330
  //#region src/components/Alert/Root.tsx
331
- const _excluded$86 = [
331
+ const _excluded$85 = [
332
332
  "children",
333
333
  "variant",
334
334
  "className"
335
335
  ];
336
336
  const AlertRoot = (_ref) => {
337
- let { children = null, variant, className } = _ref, rest = _objectWithoutProperties(_ref, _excluded$86);
337
+ let { children = null, variant, className } = _ref, rest = _objectWithoutProperties(_ref, _excluded$85);
338
338
  return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(AlertVariantContext.Provider, {
339
339
  value: variant,
340
340
  children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", _objectSpread2(_objectSpread2({}, rest), {}, {
@@ -357,9 +357,9 @@ var Alert_exports = /* @__PURE__ */ __export({
357
357
 
358
358
  //#endregion
359
359
  //#region src/components/Card/Body.tsx
360
- const _excluded$85 = ["className", "children"];
360
+ const _excluded$84 = ["className", "children"];
361
361
  const CardBody = (_ref) => {
362
- let { className, children } = _ref, rest = _objectWithoutProperties(_ref, _excluded$85);
362
+ let { className, children } = _ref, rest = _objectWithoutProperties(_ref, _excluded$84);
363
363
  return /* @__PURE__ */ (0, react_jsx_runtime.jsx)("section", _objectSpread2(_objectSpread2({ className: cn("kern-card__body", className) }, rest), {}, { children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)("p", {
364
364
  className: "kern-body",
365
365
  children
@@ -369,9 +369,9 @@ CardBody.displayName = "Card.Body";
369
369
 
370
370
  //#endregion
371
371
  //#region src/components/Card/Container.tsx
372
- const _excluded$84 = ["className", "children"];
372
+ const _excluded$83 = ["className", "children"];
373
373
  const CardContainer = (_ref) => {
374
- let { className, children } = _ref, rest = _objectWithoutProperties(_ref, _excluded$84);
374
+ let { className, children } = _ref, rest = _objectWithoutProperties(_ref, _excluded$83);
375
375
  return /* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", _objectSpread2(_objectSpread2({}, rest), {}, {
376
376
  className: cn("kern-card__container", className),
377
377
  children
@@ -381,9 +381,9 @@ CardContainer.displayName = "Card.Container";
381
381
 
382
382
  //#endregion
383
383
  //#region src/components/Card/Footer.tsx
384
- const _excluded$83 = ["className", "children"];
384
+ const _excluded$82 = ["className", "children"];
385
385
  const CardFooter = (_ref) => {
386
- let { className, children } = _ref, rest = _objectWithoutProperties(_ref, _excluded$83);
386
+ let { className, children } = _ref, rest = _objectWithoutProperties(_ref, _excluded$82);
387
387
  return /* @__PURE__ */ (0, react_jsx_runtime.jsx)("footer", _objectSpread2(_objectSpread2({}, rest), {}, {
388
388
  className: cn("kern-card__footer", className),
389
389
  children
@@ -393,10 +393,10 @@ CardFooter.displayName = "Card.Footer";
393
393
 
394
394
  //#endregion
395
395
  //#region src/components/Card/Header.tsx
396
- const _excluded$82 = ["className", "children"];
396
+ const _excluded$81 = ["className", "children"];
397
397
  const CardHeader = (_ref) => {
398
- let { className, children } = _ref, rest = _objectWithoutProperties(_ref, _excluded$82);
399
- return /* @__PURE__ */ (0, react_jsx_runtime.jsx)("header", _objectSpread2(_objectSpread2({}, rest), {}, {
398
+ let { className, children } = _ref, rest = _objectWithoutProperties(_ref, _excluded$81);
399
+ return /* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", _objectSpread2(_objectSpread2({}, rest), {}, {
400
400
  className: cn("kern-card__header", className),
401
401
  children
402
402
  }));
@@ -405,7 +405,7 @@ CardHeader.displayName = "Card.Header";
405
405
 
406
406
  //#endregion
407
407
  //#region src/components/Card/Media.tsx
408
- const _excluded$81 = [
408
+ const _excluded$80 = [
409
409
  "src",
410
410
  "alt",
411
411
  "width",
@@ -413,7 +413,7 @@ const _excluded$81 = [
413
413
  "className"
414
414
  ];
415
415
  const CardMedia = (_ref) => {
416
- let { src, alt, width, height, className } = _ref, rest = _objectWithoutProperties(_ref, _excluded$81);
416
+ let { src, alt, width, height, className } = _ref, rest = _objectWithoutProperties(_ref, _excluded$80);
417
417
  return /* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", _objectSpread2(_objectSpread2({}, rest), {}, {
418
418
  className: cn("kern-card__media", className),
419
419
  children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)("img", {
@@ -428,9 +428,9 @@ CardMedia.displayName = "Card.Media";
428
428
 
429
429
  //#endregion
430
430
  //#region src/components/Card/Preline.tsx
431
- const _excluded$80 = ["className", "children"];
431
+ const _excluded$79 = ["className", "children"];
432
432
  const CardPreline = (_ref) => {
433
- let { className, children } = _ref, rest = _objectWithoutProperties(_ref, _excluded$80);
433
+ let { className, children } = _ref, rest = _objectWithoutProperties(_ref, _excluded$79);
434
434
  return /* @__PURE__ */ (0, react_jsx_runtime.jsx)("p", _objectSpread2(_objectSpread2({}, rest), {}, {
435
435
  className: cn("kern-preline", className),
436
436
  children
@@ -440,7 +440,7 @@ CardPreline.displayName = "Card.Preline";
440
440
 
441
441
  //#endregion
442
442
  //#region src/components/Card/Root.tsx
443
- const _excluded$79 = [
443
+ const _excluded$78 = [
444
444
  "className",
445
445
  "style",
446
446
  "children",
@@ -449,7 +449,7 @@ const _excluded$79 = [
449
449
  "isCardHug"
450
450
  ];
451
451
  const CardRoot = (_ref) => {
452
- let { className, style, children, active = false, size = "medium", isCardHug = false } = _ref, rest = _objectWithoutProperties(_ref, _excluded$79);
452
+ let { className, style, children, active = false, size = "medium", isCardHug = false } = _ref, rest = _objectWithoutProperties(_ref, _excluded$78);
453
453
  return /* @__PURE__ */ (0, react_jsx_runtime.jsx)("article", _objectSpread2(_objectSpread2({}, rest), {}, {
454
454
  className: cn("kern-card", active && "kern-card--active", size && `kern-card--${size}`, isCardHug && ` kern-card--hug`, className),
455
455
  style,
@@ -460,9 +460,9 @@ CardRoot.displayName = "Card.Root";
460
460
 
461
461
  //#endregion
462
462
  //#region src/components/Card/Subline.tsx
463
- const _excluded$78 = ["className", "children"];
463
+ const _excluded$77 = ["className", "children"];
464
464
  const CardSubline = (_ref) => {
465
- let { className, children } = _ref, rest = _objectWithoutProperties(_ref, _excluded$78);
465
+ let { className, children } = _ref, rest = _objectWithoutProperties(_ref, _excluded$77);
466
466
  return /* @__PURE__ */ (0, react_jsx_runtime.jsx)("h3", _objectSpread2(_objectSpread2({}, rest), {}, {
467
467
  className: cn("kern-subline", className),
468
468
  children
@@ -472,13 +472,13 @@ CardSubline.displayName = "Card.Subline";
472
472
 
473
473
  //#endregion
474
474
  //#region src/components/Card/Title.tsx
475
- const _excluded$77 = [
475
+ const _excluded$76 = [
476
476
  "className",
477
477
  "children",
478
478
  "textWrapper"
479
479
  ];
480
480
  const CardTitle = (_ref) => {
481
- let { className, children, textWrapper = "h2" } = _ref, rest = _objectWithoutProperties(_ref, _excluded$77);
481
+ let { className, children, textWrapper = "h2" } = _ref, rest = _objectWithoutProperties(_ref, _excluded$76);
482
482
  return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(textWrapper, _objectSpread2(_objectSpread2({}, rest), {}, {
483
483
  className: cn("kern-title", className),
484
484
  children
@@ -502,13 +502,13 @@ var Card_exports = /* @__PURE__ */ __export({
502
502
 
503
503
  //#endregion
504
504
  //#region src/components/DescriptionList/Heading.tsx
505
- const _excluded$76 = [
505
+ const _excluded$75 = [
506
506
  "title",
507
507
  "children",
508
508
  "className"
509
509
  ];
510
510
  const DescriptionListHeading = (_ref) => {
511
- let { title, children, className } = _ref, rest = _objectWithoutProperties(_ref, _excluded$76);
511
+ let { title, children, className } = _ref, rest = _objectWithoutProperties(_ref, _excluded$75);
512
512
  return /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", _objectSpread2(_objectSpread2({}, rest), {}, {
513
513
  className: cn("kern-description-list__heading", className),
514
514
  children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)(Title, _objectSpread2({}, title)), children]
@@ -518,9 +518,9 @@ DescriptionListHeading.displayName = "DescriptionList.Heading";
518
518
 
519
519
  //#endregion
520
520
  //#region src/components/DescriptionList/Item.tsx
521
- const _excluded$75 = ["children", "className"];
521
+ const _excluded$74 = ["children", "className"];
522
522
  const DescriptionListItem = (_ref) => {
523
- let { children, className } = _ref, rest = _objectWithoutProperties(_ref, _excluded$75);
523
+ let { children, className } = _ref, rest = _objectWithoutProperties(_ref, _excluded$74);
524
524
  return /* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", _objectSpread2(_objectSpread2({}, rest), {}, {
525
525
  className: cn(`kern-description-list-item`, className),
526
526
  children
@@ -530,9 +530,9 @@ DescriptionListItem.displayName = "DescriptionList.Item";
530
530
 
531
531
  //#endregion
532
532
  //#region src/components/DescriptionList/Key.tsx
533
- const _excluded$74 = ["children", "className"];
533
+ const _excluded$73 = ["children", "className"];
534
534
  const DescriptionListKey = (_ref) => {
535
- let { children, className } = _ref, rest = _objectWithoutProperties(_ref, _excluded$74);
535
+ let { children, className } = _ref, rest = _objectWithoutProperties(_ref, _excluded$73);
536
536
  return /* @__PURE__ */ (0, react_jsx_runtime.jsx)("dt", _objectSpread2(_objectSpread2({}, rest), {}, {
537
537
  className: cn("kern-description-list-item__key", className),
538
538
  children
@@ -542,13 +542,13 @@ DescriptionListKey.displayName = "DescriptionList.Key";
542
542
 
543
543
  //#endregion
544
544
  //#region src/components/DescriptionList/Root.tsx
545
- const _excluded$73 = [
545
+ const _excluded$72 = [
546
546
  "variant",
547
547
  "children",
548
548
  "className"
549
549
  ];
550
550
  const DescriptionListRoot = (_ref) => {
551
- let { variant = "row", children, className } = _ref, rest = _objectWithoutProperties(_ref, _excluded$73);
551
+ let { variant = "row", children, className } = _ref, rest = _objectWithoutProperties(_ref, _excluded$72);
552
552
  return /* @__PURE__ */ (0, react_jsx_runtime.jsx)("dl", _objectSpread2(_objectSpread2({}, rest), {}, {
553
553
  className: cn("kern-description-list", variant === "column" && "kern-description-list--col", className),
554
554
  children
@@ -558,9 +558,9 @@ DescriptionListRoot.displayName = "DescriptionList.Root";
558
558
 
559
559
  //#endregion
560
560
  //#region src/components/DescriptionList/Value.tsx
561
- const _excluded$72 = ["children", "className"];
561
+ const _excluded$71 = ["children", "className"];
562
562
  const DescriptionListValue = (_ref) => {
563
- let { children, className } = _ref, rest = _objectWithoutProperties(_ref, _excluded$72);
563
+ let { children, className } = _ref, rest = _objectWithoutProperties(_ref, _excluded$71);
564
564
  return /* @__PURE__ */ (0, react_jsx_runtime.jsx)("dd", _objectSpread2(_objectSpread2({}, rest), {}, {
565
565
  className: cn("kern-description-list-item__value", className),
566
566
  children
@@ -580,7 +580,7 @@ var DescriptionList_exports = /* @__PURE__ */ __export({
580
580
 
581
581
  //#endregion
582
582
  //#region src/components/Button/Button.tsx
583
- const _excluded$71 = [
583
+ const _excluded$70 = [
584
584
  "variant",
585
585
  "isBlock",
586
586
  "icon",
@@ -602,7 +602,7 @@ const IconOnlyLabel = ({ labelText }) => {
602
602
  });
603
603
  };
604
604
  const Button = (_ref) => {
605
- let { variant = "primary", isBlock, icon, iconOnly, iconLeft, text, children, className } = _ref, rest = _objectWithoutProperties(_ref, _excluded$71);
605
+ let { variant = "primary", isBlock, icon, iconOnly, iconLeft, text, children, className } = _ref, rest = _objectWithoutProperties(_ref, _excluded$70);
606
606
  const classes = cn("kern-btn", isBlock && "kern-btn--block", `kern-btn--${variant}`, className);
607
607
  const iconElement = getIcon(icon);
608
608
  if (iconOnly) return /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("button", _objectSpread2(_objectSpread2({}, rest), {}, {
@@ -634,9 +634,9 @@ const useDialogContext = () => {
634
634
 
635
635
  //#endregion
636
636
  //#region src/components/Dialog/Button.tsx
637
- const _excluded$70 = ["onClick", "title"];
637
+ const _excluded$69 = ["onClick", "title"];
638
638
  const DialogButton = (_ref) => {
639
- let { onClick, title } = _ref, props = _objectWithoutProperties(_ref, _excluded$70);
639
+ let { onClick, title } = _ref, props = _objectWithoutProperties(_ref, _excluded$69);
640
640
  const { closeDialog } = useDialogContext();
641
641
  return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(Button, _objectSpread2(_objectSpread2({}, props), {}, {
642
642
  text: title,
@@ -650,9 +650,9 @@ DialogButton.displayName = "Dialog.Button";
650
650
 
651
651
  //#endregion
652
652
  //#region src/components/Dialog/Content.tsx
653
- const _excluded$69 = ["className", "children"];
653
+ const _excluded$68 = ["className", "children"];
654
654
  const DialogContent = (_ref) => {
655
- let { className, children } = _ref, rest = _objectWithoutProperties(_ref, _excluded$69);
655
+ let { className, children } = _ref, rest = _objectWithoutProperties(_ref, _excluded$68);
656
656
  return /* @__PURE__ */ (0, react_jsx_runtime.jsx)("section", _objectSpread2(_objectSpread2({ className: cn("kern-dialog__body", className) }, rest), {}, { children: typeof children === "string" ? /* @__PURE__ */ (0, react_jsx_runtime.jsx)("p", {
657
657
  className: "kern-body",
658
658
  children
@@ -662,9 +662,9 @@ DialogContent.displayName = "Dialog.Content";
662
662
 
663
663
  //#endregion
664
664
  //#region src/components/Dialog/Footer.tsx
665
- const _excluded$68 = ["className", "children"];
665
+ const _excluded$67 = ["className", "children"];
666
666
  const DialogFooter = (_ref) => {
667
- let { className, children } = _ref, rest = _objectWithoutProperties(_ref, _excluded$68);
667
+ let { className, children } = _ref, rest = _objectWithoutProperties(_ref, _excluded$67);
668
668
  return /* @__PURE__ */ (0, react_jsx_runtime.jsx)("footer", _objectSpread2(_objectSpread2({}, rest), {}, {
669
669
  className: cn("kern-dialog__footer", className),
670
670
  children
@@ -674,17 +674,17 @@ DialogFooter.displayName = "Dialog.Footer";
674
674
 
675
675
  //#endregion
676
676
  //#region src/components/Dialog/Header.tsx
677
- const _excluded$67 = [
677
+ const _excluded$66 = [
678
678
  "dialogTitle",
679
679
  "hasCloseButton",
680
680
  "aria-label",
681
681
  "className"
682
682
  ];
683
683
  const DialogHeader = (_ref) => {
684
- let { dialogTitle, hasCloseButton = true, "aria-label": ariaLabel = "Schließen", className } = _ref, rest = _objectWithoutProperties(_ref, _excluded$67);
684
+ let { dialogTitle, hasCloseButton = true, "aria-label": ariaLabel = "Schließen", className } = _ref, rest = _objectWithoutProperties(_ref, _excluded$66);
685
685
  const { closeDialog, id } = useDialogContext();
686
686
  const headerClass = cn("kern-dialog__header", className);
687
- return /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("header", _objectSpread2(_objectSpread2({}, rest), {}, {
687
+ return /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", _objectSpread2(_objectSpread2({}, rest), {}, {
688
688
  className: headerClass,
689
689
  children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)("h2", {
690
690
  id,
@@ -709,9 +709,9 @@ DialogHeader.displayName = "Dialog.Header";
709
709
 
710
710
  //#endregion
711
711
  //#region src/components/Dialog/Modal.tsx
712
- const _excluded$66 = ["className", "children"];
712
+ const _excluded$65 = ["className", "children"];
713
713
  const DialogModal = (_ref) => {
714
- let { className, children } = _ref, rest = _objectWithoutProperties(_ref, _excluded$66);
714
+ let { className, children } = _ref, rest = _objectWithoutProperties(_ref, _excluded$65);
715
715
  const { dialogRef, closeDialog, isOpen, disableOverlayClose, id } = useDialogContext();
716
716
  const handleOverlayClick = (e) => {
717
717
  if (disableOverlayClose && e.target === dialogRef.current) e.preventDefault();
@@ -764,13 +764,13 @@ DialogModal.displayName = "Dialog.Modal";
764
764
 
765
765
  //#endregion
766
766
  //#region src/components/Dialog/Root.tsx
767
- const _excluded$65 = [
767
+ const _excluded$64 = [
768
768
  "disableOverlayClose",
769
769
  "children",
770
770
  "id"
771
771
  ];
772
772
  const DialogRoot = (_ref) => {
773
- let { disableOverlayClose = false, children, id } = _ref, rest = _objectWithoutProperties(_ref, _excluded$65);
773
+ let { disableOverlayClose = false, children, id } = _ref, rest = _objectWithoutProperties(_ref, _excluded$64);
774
774
  const [isOpen, setIsOpen] = (0, react.useState)(false);
775
775
  const dialogRef = (0, react.useRef)(null);
776
776
  const openDialog = () => {
@@ -857,13 +857,13 @@ FieldsetContent.displayName = "Fieldset.Content";
857
857
 
858
858
  //#endregion
859
859
  //#region src/components/Fieldset/Error.tsx
860
- const _excluded$64 = [
860
+ const _excluded$63 = [
861
861
  "children",
862
862
  "className",
863
863
  "id"
864
864
  ];
865
865
  const FieldsetError = (_ref) => {
866
- let { children, className, id } = _ref, rest = _objectWithoutProperties(_ref, _excluded$64);
866
+ let { children, className, id } = _ref, rest = _objectWithoutProperties(_ref, _excluded$63);
867
867
  const errorId = id || `error-${Math.random().toString(36).substr(2, 9)}`;
868
868
  return /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("p", _objectSpread2(_objectSpread2({}, rest), {}, {
869
869
  className: cn(`kern-error`, className),
@@ -882,13 +882,13 @@ FieldsetError.displayName = "Fieldset.Error";
882
882
 
883
883
  //#endregion
884
884
  //#region src/components/Fieldset/Hint.tsx
885
- const _excluded$63 = [
885
+ const _excluded$62 = [
886
886
  "children",
887
887
  "className",
888
888
  "id"
889
889
  ];
890
890
  const FieldsetHint = (_ref) => {
891
- let { children, className, id } = _ref, rest = _objectWithoutProperties(_ref, _excluded$63);
891
+ let { children, className, id } = _ref, rest = _objectWithoutProperties(_ref, _excluded$62);
892
892
  const hintId = id || `hint-${Math.random().toString(36).substr(2, 9)}`;
893
893
  return /* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", _objectSpread2(_objectSpread2({}, rest), {}, {
894
894
  className: cn(`kern-hint`, className),
@@ -900,9 +900,9 @@ FieldsetHint.displayName = "Fieldset.Hint";
900
900
 
901
901
  //#endregion
902
902
  //#region src/components/Fieldset/Legend.tsx
903
- const _excluded$62 = ["children", "hasOptionalLabel"];
903
+ const _excluded$61 = ["children", "hasOptionalLabel"];
904
904
  const FieldsetLegend = (_ref) => {
905
- let { children, hasOptionalLabel } = _ref, rest = _objectWithoutProperties(_ref, _excluded$62);
905
+ let { children, hasOptionalLabel } = _ref, rest = _objectWithoutProperties(_ref, _excluded$61);
906
906
  return /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("legend", _objectSpread2(_objectSpread2({}, rest), {}, {
907
907
  className: cn(`kern-label`, rest.className),
908
908
  children: [children, hasOptionalLabel && /* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", {
@@ -915,9 +915,9 @@ FieldsetLegend.displayName = "Fieldset.Legend";
915
915
 
916
916
  //#endregion
917
917
  //#region src/components/Input/Primitives/Checkbox/CheckboxInput.tsx
918
- const _excluded$61 = ["erroneous", "required"];
918
+ const _excluded$60 = ["erroneous", "required"];
919
919
  const CheckboxInput$1 = (0, react.forwardRef)((_ref, ref) => {
920
- let { erroneous = false, required } = _ref, rest = _objectWithoutProperties(_ref, _excluded$61);
920
+ let { erroneous = false, required } = _ref, rest = _objectWithoutProperties(_ref, _excluded$60);
921
921
  return /* @__PURE__ */ (0, react_jsx_runtime.jsx)("input", _objectSpread2(_objectSpread2({}, rest), {}, {
922
922
  ref,
923
923
  type: "checkbox",
@@ -928,13 +928,13 @@ const CheckboxInput$1 = (0, react.forwardRef)((_ref, ref) => {
928
928
 
929
929
  //#endregion
930
930
  //#region src/components/Input/Primitives/Email/EmailInput.tsx
931
- const _excluded$60 = [
931
+ const _excluded$59 = [
932
932
  "erroneous",
933
933
  "autoComplete",
934
934
  "required"
935
935
  ];
936
936
  const EmailInput$1 = (0, react.forwardRef)((_ref, ref) => {
937
- let { erroneous = false, autoComplete = "email", required } = _ref, rest = _objectWithoutProperties(_ref, _excluded$60);
937
+ let { erroneous = false, autoComplete = "email", required } = _ref, rest = _objectWithoutProperties(_ref, _excluded$59);
938
938
  return /* @__PURE__ */ (0, react_jsx_runtime.jsx)("input", _objectSpread2(_objectSpread2({}, rest), {}, {
939
939
  ref,
940
940
  required,
@@ -946,9 +946,9 @@ const EmailInput$1 = (0, react.forwardRef)((_ref, ref) => {
946
946
 
947
947
  //#endregion
948
948
  //#region src/components/Input/Primitives/Error.tsx
949
- const _excluded$59 = ["className", "message"];
949
+ const _excluded$58 = ["className", "message"];
950
950
  const InputError = (_ref) => {
951
- let { className, message } = _ref, props = _objectWithoutProperties(_ref, _excluded$59);
951
+ let { className, message } = _ref, props = _objectWithoutProperties(_ref, _excluded$58);
952
952
  return /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("p", _objectSpread2(_objectSpread2({
953
953
  className: cn("kern-error", className),
954
954
  role: "alert"
@@ -960,14 +960,14 @@ const InputError = (_ref) => {
960
960
 
961
961
  //#endregion
962
962
  //#region src/components/Input/Primitives/File/FileInput.tsx
963
- const _excluded$58 = [
963
+ const _excluded$57 = [
964
964
  "supportedFormats",
965
965
  "erroneous",
966
966
  "required"
967
967
  ];
968
968
  const FileInput$1 = (0, react.forwardRef)((_ref, ref) => {
969
969
  var _rest$accept;
970
- let { supportedFormats = [], erroneous = false, required } = _ref, rest = _objectWithoutProperties(_ref, _excluded$58);
970
+ let { supportedFormats = [], erroneous = false, required } = _ref, rest = _objectWithoutProperties(_ref, _excluded$57);
971
971
  return /* @__PURE__ */ (0, react_jsx_runtime.jsx)("input", _objectSpread2(_objectSpread2({}, rest), {}, {
972
972
  ref,
973
973
  type: "file",
@@ -979,15 +979,15 @@ const FileInput$1 = (0, react.forwardRef)((_ref, ref) => {
979
979
 
980
980
  //#endregion
981
981
  //#region src/components/Input/Primitives/Hint.tsx
982
- const _excluded$57 = ["className", "children"];
982
+ const _excluded$56 = ["className", "children"];
983
983
  const Hint = (_ref) => {
984
- let { className, children } = _ref, props = _objectWithoutProperties(_ref, _excluded$57);
984
+ let { className, children } = _ref, props = _objectWithoutProperties(_ref, _excluded$56);
985
985
  return /* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", _objectSpread2(_objectSpread2({ className: cn("kern-hint", className) }, props), {}, { children }));
986
986
  };
987
987
 
988
988
  //#endregion
989
989
  //#region src/components/Label/Label.tsx
990
- const _excluded$56 = [
990
+ const _excluded$55 = [
991
991
  "variant",
992
992
  "textWrapper",
993
993
  "className",
@@ -995,7 +995,7 @@ const _excluded$56 = [
995
995
  "text"
996
996
  ];
997
997
  const Label = (_ref) => {
998
- let { variant = "default", textWrapper = "label", className, children, text } = _ref, rest = _objectWithoutProperties(_ref, _excluded$56);
998
+ let { variant = "default", textWrapper = "label", className, children, text } = _ref, rest = _objectWithoutProperties(_ref, _excluded$55);
999
999
  const Wrapper = textWrapper;
1000
1000
  const labelClass = cn("kern-label", variant ? `kern-label--${variant}` : "", className, className);
1001
1001
  return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(Wrapper, _objectSpread2(_objectSpread2({ className: labelClass }, rest), {}, { children: text || children }));
@@ -1003,9 +1003,9 @@ const Label = (_ref) => {
1003
1003
 
1004
1004
  //#endregion
1005
1005
  //#region src/components/Input/Primitives/Label.tsx
1006
- const _excluded$55 = ["children", "isOptional"];
1006
+ const _excluded$54 = ["children", "isOptional"];
1007
1007
  const Label$1 = (_ref) => {
1008
- let { children, isOptional } = _ref, props = _objectWithoutProperties(_ref, _excluded$55);
1008
+ let { children, isOptional } = _ref, props = _objectWithoutProperties(_ref, _excluded$54);
1009
1009
  return /* @__PURE__ */ (0, react_jsx_runtime.jsxs)(Label, _objectSpread2(_objectSpread2({ textWrapper: "label" }, props), {}, { children: [children, isOptional && /* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", {
1010
1010
  className: "kern-label__optional",
1011
1011
  children: "– Optional"
@@ -1014,13 +1014,13 @@ const Label$1 = (_ref) => {
1014
1014
 
1015
1015
  //#endregion
1016
1016
  //#region src/components/Input/Primitives/Password/PasswordInput.tsx
1017
- const _excluded$54 = [
1017
+ const _excluded$53 = [
1018
1018
  "erroneous",
1019
1019
  "required",
1020
1020
  "autoComplete"
1021
1021
  ];
1022
1022
  const PasswordInput$1 = (0, react.forwardRef)((_ref, ref) => {
1023
- let { erroneous = false, required, autoComplete = "password" } = _ref, rest = _objectWithoutProperties(_ref, _excluded$54);
1023
+ let { erroneous = false, required, autoComplete = "password" } = _ref, rest = _objectWithoutProperties(_ref, _excluded$53);
1024
1024
  return /* @__PURE__ */ (0, react_jsx_runtime.jsx)("input", _objectSpread2(_objectSpread2({}, rest), {}, {
1025
1025
  ref,
1026
1026
  type: "password",
@@ -1032,13 +1032,13 @@ const PasswordInput$1 = (0, react.forwardRef)((_ref, ref) => {
1032
1032
 
1033
1033
  //#endregion
1034
1034
  //#region src/components/Input/Primitives/Radio/RadioInput.tsx
1035
- const _excluded$53 = [
1035
+ const _excluded$52 = [
1036
1036
  "erroneous",
1037
1037
  "required",
1038
1038
  "autoComplete"
1039
1039
  ];
1040
1040
  const RadioInput$1 = (0, react.forwardRef)((_ref, ref) => {
1041
- let { erroneous = false, required, autoComplete } = _ref, rest = _objectWithoutProperties(_ref, _excluded$53);
1041
+ let { erroneous = false, required, autoComplete } = _ref, rest = _objectWithoutProperties(_ref, _excluded$52);
1042
1042
  return /* @__PURE__ */ (0, react_jsx_runtime.jsx)("input", _objectSpread2(_objectSpread2({}, rest), {}, {
1043
1043
  ref,
1044
1044
  type: "radio",
@@ -1050,22 +1050,22 @@ const RadioInput$1 = (0, react.forwardRef)((_ref, ref) => {
1050
1050
 
1051
1051
  //#endregion
1052
1052
  //#region src/components/Input/Primitives/Root.tsx
1053
- const _excluded$52 = ["className", "erroneous"];
1053
+ const _excluded$51 = ["className", "erroneous"];
1054
1054
  const Root = (_ref) => {
1055
- let { className, erroneous } = _ref, props = _objectWithoutProperties(_ref, _excluded$52);
1055
+ let { className, erroneous } = _ref, props = _objectWithoutProperties(_ref, _excluded$51);
1056
1056
  return /* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", _objectSpread2({ className: cn("kern-form-input", erroneous && "kern-form-input--error", className) }, props));
1057
1057
  };
1058
1058
 
1059
1059
  //#endregion
1060
1060
  //#region src/components/Input/Primitives/Select/SelectInput.tsx
1061
- const _excluded$51 = [
1061
+ const _excluded$50 = [
1062
1062
  "erroneous",
1063
1063
  "required",
1064
1064
  "autoComplete",
1065
1065
  "options"
1066
1066
  ];
1067
1067
  const SelectInput$1 = (0, react.forwardRef)((_ref, ref) => {
1068
- let { erroneous = false, required, autoComplete = "", options = [] } = _ref, rest = _objectWithoutProperties(_ref, _excluded$51);
1068
+ let { erroneous = false, required, autoComplete = "", options = [] } = _ref, rest = _objectWithoutProperties(_ref, _excluded$50);
1069
1069
  return /* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
1070
1070
  className: "kern-form-input__select-wrapper",
1071
1071
  children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)("select", _objectSpread2(_objectSpread2({}, rest), {}, {
@@ -1083,9 +1083,9 @@ const SelectInput$1 = (0, react.forwardRef)((_ref, ref) => {
1083
1083
 
1084
1084
  //#endregion
1085
1085
  //#region src/components/Input/Primitives/Tel/TelInput.tsx
1086
- const _excluded$50 = ["erroneous", "required"];
1086
+ const _excluded$49 = ["erroneous", "required"];
1087
1087
  const TelInput$1 = (0, react.forwardRef)((_ref, ref) => {
1088
- let { erroneous = false, required } = _ref, rest = _objectWithoutProperties(_ref, _excluded$50);
1088
+ let { erroneous = false, required } = _ref, rest = _objectWithoutProperties(_ref, _excluded$49);
1089
1089
  return /* @__PURE__ */ (0, react_jsx_runtime.jsx)("input", _objectSpread2(_objectSpread2({}, rest), {}, {
1090
1090
  ref,
1091
1091
  required,
@@ -1098,13 +1098,13 @@ const TelInput$1 = (0, react.forwardRef)((_ref, ref) => {
1098
1098
 
1099
1099
  //#endregion
1100
1100
  //#region src/components/Input/Primitives/Text/TextInput.tsx
1101
- const _excluded$49 = [
1101
+ const _excluded$48 = [
1102
1102
  "erroneous",
1103
1103
  "required",
1104
1104
  "autoComplete"
1105
1105
  ];
1106
1106
  const TextInput$1 = (0, react.forwardRef)((_ref, ref) => {
1107
- let { erroneous = false, required, autoComplete } = _ref, rest = _objectWithoutProperties(_ref, _excluded$49);
1107
+ let { erroneous = false, required, autoComplete } = _ref, rest = _objectWithoutProperties(_ref, _excluded$48);
1108
1108
  return /* @__PURE__ */ (0, react_jsx_runtime.jsx)("input", _objectSpread2(_objectSpread2({}, rest), {}, {
1109
1109
  ref,
1110
1110
  type: "text",
@@ -1116,13 +1116,13 @@ const TextInput$1 = (0, react.forwardRef)((_ref, ref) => {
1116
1116
 
1117
1117
  //#endregion
1118
1118
  //#region src/components/Input/Primitives/Textarea/TextareaInput.tsx
1119
- const _excluded$48 = [
1119
+ const _excluded$47 = [
1120
1120
  "erroneous",
1121
1121
  "required",
1122
1122
  "autoComplete"
1123
1123
  ];
1124
1124
  const TextareaInput$1 = (0, react.forwardRef)((_ref, ref) => {
1125
- let { erroneous = false, required, autoComplete } = _ref, rest = _objectWithoutProperties(_ref, _excluded$48);
1125
+ let { erroneous = false, required, autoComplete } = _ref, rest = _objectWithoutProperties(_ref, _excluded$47);
1126
1126
  return /* @__PURE__ */ (0, react_jsx_runtime.jsx)("textarea", _objectSpread2(_objectSpread2({}, rest), {}, {
1127
1127
  ref,
1128
1128
  required,
@@ -1133,13 +1133,13 @@ const TextareaInput$1 = (0, react.forwardRef)((_ref, ref) => {
1133
1133
 
1134
1134
  //#endregion
1135
1135
  //#region src/components/Input/Primitives/Url/UrlInput.tsx
1136
- const _excluded$47 = [
1136
+ const _excluded$46 = [
1137
1137
  "erroneous",
1138
1138
  "required",
1139
1139
  "autoComplete"
1140
1140
  ];
1141
1141
  const UrlInput$1 = (0, react.forwardRef)((_ref, ref) => {
1142
- let { erroneous = false, required, autoComplete = "url" } = _ref, rest = _objectWithoutProperties(_ref, _excluded$47);
1142
+ let { erroneous = false, required, autoComplete = "url" } = _ref, rest = _objectWithoutProperties(_ref, _excluded$46);
1143
1143
  return /* @__PURE__ */ (0, react_jsx_runtime.jsx)("input", _objectSpread2(_objectSpread2({}, rest), {}, {
1144
1144
  required,
1145
1145
  autoComplete,
@@ -1171,7 +1171,7 @@ var Primitives_exports = /* @__PURE__ */ __export({
1171
1171
 
1172
1172
  //#endregion
1173
1173
  //#region src/components/Input/Checkbox/index.tsx
1174
- const _excluded$46 = [
1174
+ const _excluded$45 = [
1175
1175
  "id",
1176
1176
  "error",
1177
1177
  "disabled",
@@ -1181,7 +1181,7 @@ const _excluded$46 = [
1181
1181
  "style"
1182
1182
  ];
1183
1183
  const CheckboxInput = (_ref) => {
1184
- let { id, error = false, disabled = false, hasOptionalLabel = false, label, className, style } = _ref, rest = _objectWithoutProperties(_ref, _excluded$46);
1184
+ let { id, error = false, disabled = false, hasOptionalLabel = false, label, className, style } = _ref, rest = _objectWithoutProperties(_ref, _excluded$45);
1185
1185
  const isErrorString = typeof error === "string";
1186
1186
  const errorId = `${id}-error`;
1187
1187
  const describedBy = rest["aria-describedby"] ? [rest["aria-describedby"]] : [];
@@ -1247,7 +1247,7 @@ var Fieldset_exports = /* @__PURE__ */ __export({
1247
1247
 
1248
1248
  //#endregion
1249
1249
  //#region src/components/Grid/Column.tsx
1250
- const _excluded$45 = [
1250
+ const _excluded$44 = [
1251
1251
  "children",
1252
1252
  "breakpoint",
1253
1253
  "width",
@@ -1257,7 +1257,7 @@ const _excluded$45 = [
1257
1257
  "className"
1258
1258
  ];
1259
1259
  const GridColumn = (_ref) => {
1260
- let { children, breakpoint, width, isOffset, offsetWidth, alignItem, className } = _ref, rest = _objectWithoutProperties(_ref, _excluded$45);
1260
+ let { children, breakpoint, width, isOffset, offsetWidth, alignItem, className } = _ref, rest = _objectWithoutProperties(_ref, _excluded$44);
1261
1261
  const classes = cn(...[
1262
1262
  isOffset && offsetWidth && breakpoint && width ? `kern-col-${width + offsetWidth} kern-col-${breakpoint}-${width} kern-col-${breakpoint}-offset-${offsetWidth}` : breakpoint && width ? `kern-col-${breakpoint}-${width}` : width ? `kern-col-${width}` : "kern-col",
1263
1263
  alignItem ? `kern-align-self-${alignItem}` : "",
@@ -1272,13 +1272,13 @@ GridColumn.displayName = "Grid.Column";
1272
1272
 
1273
1273
  //#endregion
1274
1274
  //#region src/components/Grid/Root.tsx
1275
- const _excluded$44 = [
1275
+ const _excluded$43 = [
1276
1276
  "type",
1277
1277
  "className",
1278
1278
  "children"
1279
1279
  ];
1280
1280
  const GridRoot = (_ref) => {
1281
- let { type, className, children } = _ref, rest = _objectWithoutProperties(_ref, _excluded$44);
1281
+ let { type, className, children } = _ref, rest = _objectWithoutProperties(_ref, _excluded$43);
1282
1282
  return /* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", _objectSpread2(_objectSpread2({}, rest), {}, {
1283
1283
  className: cn(type ? `kern-container-${type}` : "kern-container", className),
1284
1284
  children
@@ -1288,14 +1288,14 @@ GridRoot.displayName = "Grid.Root";
1288
1288
 
1289
1289
  //#endregion
1290
1290
  //#region src/components/Grid/Row.tsx
1291
- const _excluded$43 = [
1291
+ const _excluded$42 = [
1292
1292
  "children",
1293
1293
  "alignItems",
1294
1294
  "horizontalAlignment",
1295
1295
  "className"
1296
1296
  ];
1297
1297
  const GridRow = (_ref) => {
1298
- let { children, alignItems, horizontalAlignment, className } = _ref, rest = _objectWithoutProperties(_ref, _excluded$43);
1298
+ let { children, alignItems, horizontalAlignment, className } = _ref, rest = _objectWithoutProperties(_ref, _excluded$42);
1299
1299
  const rowClasses = cn("kern-row", alignItems && `kern-align-items-${alignItems}`, horizontalAlignment && `kern-justify-content-${horizontalAlignment}`, className);
1300
1300
  return /* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", _objectSpread2(_objectSpread2({}, rest), {}, {
1301
1301
  className: rowClasses,
@@ -1314,14 +1314,14 @@ var Grid_exports = /* @__PURE__ */ __export({
1314
1314
 
1315
1315
  //#endregion
1316
1316
  //#region src/components/Lists/Root.tsx
1317
- const _excluded$42 = [
1317
+ const _excluded$41 = [
1318
1318
  "children",
1319
1319
  "className",
1320
1320
  "size",
1321
1321
  "type"
1322
1322
  ];
1323
1323
  const ListsRoot = (_ref) => {
1324
- let { children, className, size = "default", type = "bullet" } = _ref, rest = _objectWithoutProperties(_ref, _excluded$42);
1324
+ let { children, className, size = "default", type = "bullet" } = _ref, rest = _objectWithoutProperties(_ref, _excluded$41);
1325
1325
  const Component = type === "number" ? "ol" : "ul";
1326
1326
  const listClasses = cn("kern-list", size !== "default" && `kern-list--${size}`, type && `kern-list--${type}`, className);
1327
1327
  return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(Component, _objectSpread2(_objectSpread2({}, rest), {}, {
@@ -1342,13 +1342,13 @@ ListsItem.displayName = "Lists.Item";
1342
1342
 
1343
1343
  //#endregion
1344
1344
  //#region src/components/Lists/Bullet.tsx
1345
- const _excluded$41 = [
1345
+ const _excluded$40 = [
1346
1346
  "title",
1347
1347
  "items",
1348
1348
  "className"
1349
1349
  ];
1350
1350
  const ListsBullet = (_ref) => {
1351
- let { title, items, className } = _ref, rest = _objectWithoutProperties(_ref, _excluded$41);
1351
+ let { title, items, className } = _ref, rest = _objectWithoutProperties(_ref, _excluded$40);
1352
1352
  return /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", _objectSpread2(_objectSpread2({}, rest), {}, {
1353
1353
  className: cn(className),
1354
1354
  children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
@@ -1364,14 +1364,14 @@ ListsBullet.displayName = "Lists.Bullet";
1364
1364
 
1365
1365
  //#endregion
1366
1366
  //#region src/components/Lists/Number.tsx
1367
- const _excluded$40 = [
1367
+ const _excluded$39 = [
1368
1368
  "children",
1369
1369
  "className",
1370
1370
  "size",
1371
1371
  "type"
1372
1372
  ];
1373
1373
  const ListsNumber = (_ref) => {
1374
- let { children, className, size = "default", type } = _ref, rest = _objectWithoutProperties(_ref, _excluded$40);
1374
+ let { children, className, size = "default", type } = _ref, rest = _objectWithoutProperties(_ref, _excluded$39);
1375
1375
  return /* @__PURE__ */ (0, react_jsx_runtime.jsx)("ol", _objectSpread2(_objectSpread2({}, rest), {}, {
1376
1376
  className: cn("kern-list", size && `kern-list--${size}`, type && `kern-list--${type}`, className),
1377
1377
  children
@@ -1390,7 +1390,7 @@ var Lists_exports = /* @__PURE__ */ __export({
1390
1390
 
1391
1391
  //#endregion
1392
1392
  //#region src/components/Progress/Root.tsx
1393
- const _excluded$39 = [
1393
+ const _excluded$38 = [
1394
1394
  "value",
1395
1395
  "max",
1396
1396
  "className",
@@ -1404,7 +1404,7 @@ const useProgressContext = () => {
1404
1404
  return context;
1405
1405
  };
1406
1406
  const ProgressRoot = (_ref) => {
1407
- let { value = 0, max = 100, className, children, progressId: propProgressId } = _ref, rest = _objectWithoutProperties(_ref, _excluded$39);
1407
+ let { value = 0, max = 100, className, children, progressId: propProgressId } = _ref, rest = _objectWithoutProperties(_ref, _excluded$38);
1408
1408
  const percentage = Math.round(value / max * 100);
1409
1409
  const progressId = react.default.useMemo(() => propProgressId || `progress-${Math.random().toString(36).slice(2, 11)}`, [propProgressId]);
1410
1410
  const contextValue = {
@@ -1425,39 +1425,19 @@ ProgressRoot.displayName = "Progress.Root";
1425
1425
 
1426
1426
  //#endregion
1427
1427
  //#region src/components/Progress/Bar.tsx
1428
- const _excluded$38 = ["className", "aria-label"];
1428
+ const _excluded$37 = ["className"];
1429
1429
  const ProgressBar = (_ref) => {
1430
- let { className, "aria-label": ariaLabel } = _ref, rest = _objectWithoutProperties(_ref, _excluded$38);
1430
+ let { className } = _ref, rest = _objectWithoutProperties(_ref, _excluded$37);
1431
1431
  const { value, max, progressId } = useProgressContext();
1432
1432
  return /* @__PURE__ */ (0, react_jsx_runtime.jsx)("progress", _objectSpread2(_objectSpread2({}, rest), {}, {
1433
1433
  id: progressId,
1434
+ className,
1434
1435
  value,
1435
- "aria-label": ariaLabel || `Progress: ${value.toString()}%`,
1436
- max,
1437
- className
1436
+ max
1438
1437
  }));
1439
1438
  };
1440
1439
  ProgressBar.displayName = "Progress.Bar";
1441
1440
 
1442
- //#endregion
1443
- //#region src/components/Progress/Cancel.tsx
1444
- const _excluded$37 = ["children", "onCancel"];
1445
- const ProgressCancel = (_ref) => {
1446
- let { children = "Abbrechen", onCancel } = _ref, rest = _objectWithoutProperties(_ref, _excluded$37);
1447
- return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(Button, _objectSpread2(_objectSpread2({}, rest), {}, {
1448
- variant: "tertiary",
1449
- text: typeof children === "string" ? children : void 0,
1450
- icon: {
1451
- name: "close",
1452
- size: "small"
1453
- },
1454
- iconLeft: true,
1455
- onClick: onCancel,
1456
- children: typeof children !== "string" ? children : void 0
1457
- }));
1458
- };
1459
- ProgressCancel.displayName = "Progress.Cancel";
1460
-
1461
1441
  //#endregion
1462
1442
  //#region src/components/Progress/Header.tsx
1463
1443
  const ProgressHeader = ({ className, style, children }) => {
@@ -1488,27 +1468,12 @@ const ProgressLabel = (_ref) => {
1488
1468
  };
1489
1469
  ProgressLabel.displayName = "Progress.Label";
1490
1470
 
1491
- //#endregion
1492
- //#region src/components/Progress/Percentage.tsx
1493
- const ProgressPercentage = ({ className, style, formatter }) => {
1494
- const { percentage } = useProgressContext();
1495
- const displayText = formatter ? formatter(percentage) : `${percentage}%`;
1496
- return /* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", {
1497
- className: cn("kern-body--small", className),
1498
- style: _objectSpread2({ color: "var(--kern-color-layout-text-muted, #404565)" }, style),
1499
- children: displayText
1500
- });
1501
- };
1502
- ProgressPercentage.displayName = "Progress.Percentage";
1503
-
1504
1471
  //#endregion
1505
1472
  //#region src/components/Progress/index.ts
1506
1473
  var Progress_exports = /* @__PURE__ */ __export({
1507
1474
  Bar: () => ProgressBar,
1508
- Cancel: () => ProgressCancel,
1509
1475
  Header: () => ProgressHeader,
1510
1476
  Label: () => ProgressLabel,
1511
- Percentage: () => ProgressPercentage,
1512
1477
  Root: () => ProgressRoot
1513
1478
  });
1514
1479