@postenbring/hedwig-react 0.0.6 → 0.0.7

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.
Files changed (77) hide show
  1. package/dist/accordion/accordion-item-content.js +3 -4
  2. package/dist/accordion/accordion-item-content.mjs +1 -1
  3. package/dist/accordion/accordion-item-trigger.js +2 -3
  4. package/dist/accordion/accordion-item-trigger.mjs +1 -1
  5. package/dist/accordion/accordion-item.js +3 -4
  6. package/dist/accordion/accordion-item.mjs +1 -1
  7. package/dist/accordion/accordion.js +1 -2
  8. package/dist/accordion/accordion.mjs +1 -1
  9. package/dist/accordion/index.js +9 -13
  10. package/dist/accordion/index.mjs +4 -4
  11. package/dist/badge/badge.js +10 -4
  12. package/dist/badge/badge.mjs +1 -1
  13. package/dist/badge/index.js +10 -4
  14. package/dist/badge/index.mjs +1 -1
  15. package/dist/box/box.d.mts +2 -2
  16. package/dist/box/box.d.ts +2 -2
  17. package/dist/box/box.js +8 -9
  18. package/dist/box/box.mjs +1 -1
  19. package/dist/box/index.js +8 -9
  20. package/dist/box/index.mjs +1 -1
  21. package/dist/button/button.d.mts +14 -14
  22. package/dist/button/button.d.ts +14 -14
  23. package/dist/button/button.js +59 -38
  24. package/dist/button/button.mjs +3 -1
  25. package/dist/button/index.d.mts +2 -2
  26. package/dist/button/index.d.ts +2 -2
  27. package/dist/button/index.js +59 -38
  28. package/dist/button/index.mjs +3 -1
  29. package/dist/{chunk-X3OAJSS2.mjs → chunk-53AQCCBR.mjs} +9 -7
  30. package/dist/{chunk-B3PZUFG2.mjs → chunk-6XSKLHN6.mjs} +15 -6
  31. package/dist/{chunk-NMSLCM2K.mjs → chunk-DQ2OO6EW.mjs} +1 -1
  32. package/dist/chunk-ENRMC5K7.mjs +75 -0
  33. package/dist/{chunk-IWV4FFE3.mjs → chunk-GMGUONH5.mjs} +2 -3
  34. package/dist/{chunk-7F7QB4D5.mjs → chunk-IECCJVMN.mjs} +3 -4
  35. package/dist/{chunk-LNYNZ4EG.mjs → chunk-J7U4Z726.mjs} +3 -4
  36. package/dist/{chunk-KBVDBI2L.mjs → chunk-L7DYK6OS.mjs} +3 -4
  37. package/dist/{chunk-O3NMR6GE.mjs → chunk-MNSMCSAR.mjs} +11 -5
  38. package/dist/{chunk-EX4U7YZF.mjs → chunk-RXUPE4MM.mjs} +8 -9
  39. package/dist/{chunk-IWDN3WGQ.mjs → chunk-STKOYB5H.mjs} +13 -7
  40. package/dist/chunk-X4D24ZRP.mjs +63 -0
  41. package/dist/chunk-XFA34LPW.mjs +21 -0
  42. package/dist/index.d.mts +5 -4
  43. package/dist/index.d.ts +5 -4
  44. package/dist/index.js +186 -111
  45. package/dist/index.mjs +22 -15
  46. package/dist/input/input.d.mts +1 -1
  47. package/dist/input/input.d.ts +1 -1
  48. package/dist/input/input.js +13 -7
  49. package/dist/input/input.mjs +13 -7
  50. package/dist/link/index.js +9 -7
  51. package/dist/link/index.mjs +1 -1
  52. package/dist/link/link.d.mts +1 -1
  53. package/dist/link/link.d.ts +1 -1
  54. package/dist/link/link.js +9 -7
  55. package/dist/link/link.mjs +1 -1
  56. package/dist/list/description-list.d.mts +1 -1
  57. package/dist/list/description-list.d.ts +1 -1
  58. package/dist/list/description-list.js +14 -5
  59. package/dist/list/description-list.mjs +1 -1
  60. package/dist/list/index.js +26 -11
  61. package/dist/list/index.mjs +3 -3
  62. package/dist/list/link-list.js +12 -6
  63. package/dist/list/link-list.mjs +2 -2
  64. package/dist/list/list.js +12 -6
  65. package/dist/list/list.mjs +1 -1
  66. package/dist/message/index.d.mts +14 -2
  67. package/dist/message/index.d.ts +14 -2
  68. package/dist/message/index.js +49 -14
  69. package/dist/message/index.mjs +10 -5
  70. package/dist/message/message.d.mts +3 -1
  71. package/dist/message/message.d.ts +3 -1
  72. package/dist/message/message.js +42 -14
  73. package/dist/message/message.mjs +8 -4
  74. package/package.json +2 -3
  75. package/dist/chunk-4XWB4ZSR.mjs +0 -6
  76. package/dist/chunk-EKFYWUBE.mjs +0 -36
  77. package/dist/chunk-GSPFHK2Z.mjs +0 -55
@@ -8,6 +8,6 @@ interface InputProps extends Omit<React.InputHTMLAttributes<HTMLInputElement>, "
8
8
  labelProps?: React.LabelHTMLAttributes<HTMLLabelElement>;
9
9
  label: React.ReactNode;
10
10
  }
11
- declare function Input({ variant, errorMessage, labelProps, label, id, ...rest }: InputProps): react_jsx_runtime.JSX.Element;
11
+ declare function Input({ variant, errorMessage, labelProps, label, id, className, ...rest }: InputProps): react_jsx_runtime.JSX.Element;
12
12
 
13
13
  export { Input, type InputProps };
@@ -8,6 +8,6 @@ interface InputProps extends Omit<React.InputHTMLAttributes<HTMLInputElement>, "
8
8
  labelProps?: React.LabelHTMLAttributes<HTMLLabelElement>;
9
9
  label: React.ReactNode;
10
10
  }
11
- declare function Input({ variant, errorMessage, labelProps, label, id, ...rest }: InputProps): react_jsx_runtime.JSX.Element;
11
+ declare function Input({ variant, errorMessage, labelProps, label, id, className, ...rest }: InputProps): react_jsx_runtime.JSX.Element;
12
12
 
13
13
  export { Input, type InputProps };
@@ -63,7 +63,7 @@ __export(input_exports, {
63
63
  });
64
64
  module.exports = __toCommonJS(input_exports);
65
65
  var React = __toESM(require("react"));
66
- var import_clsx = require("clsx");
66
+ var import_typed_classname = require("@postenbring/hedwig-css/typed-classname/index.mjs");
67
67
  var import_jsx_runtime = require("react/jsx-runtime");
68
68
  function Input(_a) {
69
69
  var _b = _a, {
@@ -71,23 +71,29 @@ function Input(_a) {
71
71
  errorMessage,
72
72
  labelProps,
73
73
  label,
74
- id
74
+ id,
75
+ className
75
76
  } = _b, rest = __objRest(_b, [
76
77
  "variant",
77
78
  "errorMessage",
78
79
  "labelProps",
79
80
  "label",
80
- "id"
81
+ "id",
82
+ "className"
81
83
  ]);
82
84
  const errorMessageId = React.useId();
83
85
  const inputId = React.useId();
84
86
  return /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(
85
87
  "div",
86
88
  {
87
- className: (0, import_clsx.clsx)("hds-input", {
88
- [`hds-input--${variant}`]: variant,
89
- "hds-input--error": errorMessage
90
- }),
89
+ className: (0, import_typed_classname.clsx)(
90
+ "hds-input",
91
+ {
92
+ [`hds-input--${variant}`]: variant,
93
+ "hds-input--error": errorMessage
94
+ },
95
+ className
96
+ ),
91
97
  children: [
92
98
  /* @__PURE__ */ (0, import_jsx_runtime.jsx)("label", __spreadProps(__spreadValues({ className: "hds-input__label" }, labelProps), { htmlFor: id || inputId, children: label })),
93
99
  !!errorMessage && /* @__PURE__ */ (0, import_jsx_runtime.jsx)("span", { className: "hds-input__error-message", id: errorMessageId, children: errorMessage }),
@@ -6,7 +6,7 @@ import {
6
6
 
7
7
  // src/input/input.tsx
8
8
  import * as React from "react";
9
- import { clsx } from "clsx";
9
+ import { clsx } from "@postenbring/hedwig-css/typed-classname/index.mjs";
10
10
  import { jsx, jsxs } from "react/jsx-runtime";
11
11
  function Input(_a) {
12
12
  var _b = _a, {
@@ -14,23 +14,29 @@ function Input(_a) {
14
14
  errorMessage,
15
15
  labelProps,
16
16
  label,
17
- id
17
+ id,
18
+ className
18
19
  } = _b, rest = __objRest(_b, [
19
20
  "variant",
20
21
  "errorMessage",
21
22
  "labelProps",
22
23
  "label",
23
- "id"
24
+ "id",
25
+ "className"
24
26
  ]);
25
27
  const errorMessageId = React.useId();
26
28
  const inputId = React.useId();
27
29
  return /* @__PURE__ */ jsxs(
28
30
  "div",
29
31
  {
30
- className: clsx("hds-input", {
31
- [`hds-input--${variant}`]: variant,
32
- "hds-input--error": errorMessage
33
- }),
32
+ className: clsx(
33
+ "hds-input",
34
+ {
35
+ [`hds-input--${variant}`]: variant,
36
+ "hds-input--error": errorMessage
37
+ },
38
+ className
39
+ ),
34
40
  children: [
35
41
  /* @__PURE__ */ jsx("label", __spreadProps(__spreadValues({ className: "hds-input__label" }, labelProps), { htmlFor: id || inputId, children: label })),
36
42
  !!errorMessage && /* @__PURE__ */ jsx("span", { className: "hds-input__error-message", id: errorMessageId, children: errorMessage }),
@@ -58,7 +58,6 @@ var import_base = require("@postenbring/hedwig-css/dist/base.css");
58
58
  var import_link = require("@postenbring/hedwig-css/dist/link.css");
59
59
 
60
60
  // src/link/link.tsx
61
- var import_clsx = require("clsx");
62
61
  var import_typed_classname = require("@postenbring/hedwig-css/typed-classname/index.mjs");
63
62
  var import_jsx_runtime = require("react/jsx-runtime");
64
63
  function Link(_a) {
@@ -66,20 +65,23 @@ function Link(_a) {
66
65
  children,
67
66
  variant = "underline",
68
67
  size = "medium",
69
- anchorRef
68
+ anchorRef,
69
+ className
70
70
  } = _b, rest = __objRest(_b, [
71
71
  "children",
72
72
  "variant",
73
73
  "size",
74
- "anchorRef"
74
+ "anchorRef",
75
+ "className"
75
76
  ]);
76
77
  return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
77
78
  "a",
78
79
  __spreadProps(__spreadValues({
79
- className: (0, import_clsx.clsx)(
80
- (0, import_typed_classname.t)("hds-link"),
81
- variant !== "underline" && (0, import_typed_classname.t)(`hds-link--${variant}`),
82
- size !== "medium" && (0, import_typed_classname.t)(`hds-link--${size}`)
80
+ className: (0, import_typed_classname.clsx)(
81
+ "hds-link",
82
+ variant !== "underline" && `hds-link--${variant}`,
83
+ size !== "medium" && `hds-link--${size}`,
84
+ className
83
85
  ),
84
86
  ref: anchorRef
85
87
  }, rest), {
@@ -1,7 +1,7 @@
1
1
  import "../chunk-AYGPUYPZ.mjs";
2
2
  import {
3
3
  Link
4
- } from "../chunk-X3OAJSS2.mjs";
4
+ } from "../chunk-53AQCCBR.mjs";
5
5
  import "../chunk-FUJQIYOF.mjs";
6
6
  export {
7
7
  Link
@@ -18,7 +18,7 @@ interface LinkProps extends React.AnchorHTMLAttributes<HTMLAnchorElement> {
18
18
  *
19
19
  * - [ ] Handle button styling
20
20
  */
21
- declare function Link({ children, variant, size, anchorRef, ...rest }: LinkProps): react_jsx_runtime.JSX.Element;
21
+ declare function Link({ children, variant, size, anchorRef, className, ...rest }: LinkProps): react_jsx_runtime.JSX.Element;
22
22
  declare namespace Link {
23
23
  var displayName: string;
24
24
  }
@@ -18,7 +18,7 @@ interface LinkProps extends React.AnchorHTMLAttributes<HTMLAnchorElement> {
18
18
  *
19
19
  * - [ ] Handle button styling
20
20
  */
21
- declare function Link({ children, variant, size, anchorRef, ...rest }: LinkProps): react_jsx_runtime.JSX.Element;
21
+ declare function Link({ children, variant, size, anchorRef, className, ...rest }: LinkProps): react_jsx_runtime.JSX.Element;
22
22
  declare namespace Link {
23
23
  var displayName: string;
24
24
  }
package/dist/link/link.js CHANGED
@@ -52,7 +52,6 @@ __export(link_exports, {
52
52
  Link: () => Link
53
53
  });
54
54
  module.exports = __toCommonJS(link_exports);
55
- var import_clsx = require("clsx");
56
55
  var import_typed_classname = require("@postenbring/hedwig-css/typed-classname/index.mjs");
57
56
  var import_jsx_runtime = require("react/jsx-runtime");
58
57
  function Link(_a) {
@@ -60,20 +59,23 @@ function Link(_a) {
60
59
  children,
61
60
  variant = "underline",
62
61
  size = "medium",
63
- anchorRef
62
+ anchorRef,
63
+ className
64
64
  } = _b, rest = __objRest(_b, [
65
65
  "children",
66
66
  "variant",
67
67
  "size",
68
- "anchorRef"
68
+ "anchorRef",
69
+ "className"
69
70
  ]);
70
71
  return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
71
72
  "a",
72
73
  __spreadProps(__spreadValues({
73
- className: (0, import_clsx.clsx)(
74
- (0, import_typed_classname.t)("hds-link"),
75
- variant !== "underline" && (0, import_typed_classname.t)(`hds-link--${variant}`),
76
- size !== "medium" && (0, import_typed_classname.t)(`hds-link--${size}`)
74
+ className: (0, import_typed_classname.clsx)(
75
+ "hds-link",
76
+ variant !== "underline" && `hds-link--${variant}`,
77
+ size !== "medium" && `hds-link--${size}`,
78
+ className
77
79
  ),
78
80
  ref: anchorRef
79
81
  }, rest), {
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  Link
3
- } from "../chunk-X3OAJSS2.mjs";
3
+ } from "../chunk-53AQCCBR.mjs";
4
4
  import "../chunk-FUJQIYOF.mjs";
5
5
  export {
6
6
  Link
@@ -24,7 +24,7 @@ declare function DescriptionTerm({ children, ...rest }: DescriptionTermProps): r
24
24
  declare namespace DescriptionTerm {
25
25
  var displayName: string;
26
26
  }
27
- declare function DescriptionList({ variant, ...rest }: DescriptionListProps): react_jsx_runtime.JSX.Element;
27
+ declare function DescriptionList({ variant, className, ...rest }: DescriptionListProps): react_jsx_runtime.JSX.Element;
28
28
  declare namespace DescriptionList {
29
29
  var displayName: string;
30
30
  }
@@ -24,7 +24,7 @@ declare function DescriptionTerm({ children, ...rest }: DescriptionTermProps): r
24
24
  declare namespace DescriptionTerm {
25
25
  var displayName: string;
26
26
  }
27
- declare function DescriptionList({ variant, ...rest }: DescriptionListProps): react_jsx_runtime.JSX.Element;
27
+ declare function DescriptionList({ variant, className, ...rest }: DescriptionListProps): react_jsx_runtime.JSX.Element;
28
28
  declare namespace DescriptionList {
29
29
  var displayName: string;
30
30
  }
@@ -55,7 +55,6 @@ __export(description_list_exports, {
55
55
  default: () => description_list_default
56
56
  });
57
57
  module.exports = __toCommonJS(description_list_exports);
58
- var import_clsx = require("clsx");
59
58
  var import_typed_classname = require("@postenbring/hedwig-css/typed-classname/index.mjs");
60
59
  var import_jsx_runtime = require("react/jsx-runtime");
61
60
  function DescriptionDetails(_a) {
@@ -67,13 +66,23 @@ function DescriptionTerm(_a) {
67
66
  return /* @__PURE__ */ (0, import_jsx_runtime.jsx)("dt", __spreadProps(__spreadValues({}, rest), { children }));
68
67
  }
69
68
  function DescriptionList(_a) {
70
- var _b = _a, { variant = "vertical" } = _b, rest = __objRest(_b, ["variant"]);
69
+ var _b = _a, {
70
+ variant = "vertical",
71
+ className
72
+ } = _b, rest = __objRest(_b, [
73
+ "variant",
74
+ "className"
75
+ ]);
71
76
  return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
72
77
  "dl",
73
78
  __spreadValues({
74
- className: (0, import_clsx.clsx)((0, import_typed_classname.t)("hds-description-list"), {
75
- [(0, import_typed_classname.t)("hds-description-list--horizontal")]: variant === "horizontal"
76
- })
79
+ className: (0, import_typed_classname.clsx)(
80
+ "hds-description-list",
81
+ {
82
+ "hds-description-list--horizontal": variant === "horizontal"
83
+ },
84
+ className
85
+ )
77
86
  }, rest)
78
87
  );
79
88
  }
@@ -3,7 +3,7 @@ import {
3
3
  DescriptionList,
4
4
  DescriptionTerm,
5
5
  description_list_default
6
- } from "../chunk-B3PZUFG2.mjs";
6
+ } from "../chunk-6XSKLHN6.mjs";
7
7
  import "../chunk-FUJQIYOF.mjs";
8
8
  export {
9
9
  DescriptionDetails,
@@ -64,7 +64,6 @@ var import_description_list = require("@postenbring/hedwig-css/dist/description-
64
64
  var import_list2 = require("@postenbring/hedwig-css/dist/list.css");
65
65
 
66
66
  // src/list/description-list.tsx
67
- var import_clsx = require("clsx");
68
67
  var import_typed_classname = require("@postenbring/hedwig-css/typed-classname/index.mjs");
69
68
  var import_jsx_runtime = require("react/jsx-runtime");
70
69
  function DescriptionDetails(_a) {
@@ -76,13 +75,23 @@ function DescriptionTerm(_a) {
76
75
  return /* @__PURE__ */ (0, import_jsx_runtime.jsx)("dt", __spreadProps(__spreadValues({}, rest), { children }));
77
76
  }
78
77
  function DescriptionList(_a) {
79
- var _b = _a, { variant = "vertical" } = _b, rest = __objRest(_b, ["variant"]);
78
+ var _b = _a, {
79
+ variant = "vertical",
80
+ className
81
+ } = _b, rest = __objRest(_b, [
82
+ "variant",
83
+ "className"
84
+ ]);
80
85
  return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
81
86
  "dl",
82
87
  __spreadValues({
83
- className: (0, import_clsx.clsx)((0, import_typed_classname.t)("hds-description-list"), {
84
- [(0, import_typed_classname.t)("hds-description-list--horizontal")]: variant === "horizontal"
85
- })
88
+ className: (0, import_typed_classname.clsx)(
89
+ "hds-description-list",
90
+ {
91
+ "hds-description-list--horizontal": variant === "horizontal"
92
+ },
93
+ className
94
+ )
86
95
  }, rest)
87
96
  );
88
97
  }
@@ -91,7 +100,6 @@ DescriptionTerm.displayName = "DescriptionTerm";
91
100
  DescriptionDetails.displayName = "DescriptionDetails";
92
101
 
93
102
  // src/list/list.tsx
94
- var import_clsx2 = require("clsx");
95
103
  var import_typed_classname2 = require("@postenbring/hedwig-css/typed-classname/index.mjs");
96
104
  var import_jsx_runtime2 = require("react/jsx-runtime");
97
105
  function BaseList(_a) {
@@ -99,19 +107,26 @@ function BaseList(_a) {
99
107
  as: ListTag = "ul",
100
108
  children,
101
109
  listStyle = "inherit",
102
- size = "medium"
110
+ size = "medium",
111
+ className
103
112
  } = _b, rest = __objRest(_b, [
104
113
  "as",
105
114
  "children",
106
115
  "listStyle",
107
- "size"
116
+ "size",
117
+ "className"
108
118
  ]);
109
119
  return /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(
110
120
  ListTag,
111
121
  __spreadProps(__spreadValues({
112
- className: (0, import_clsx2.clsx)((0, import_typed_classname2.t)("hds-list"), (0, import_typed_classname2.t)(`hds-list--${size}`), {
113
- [(0, import_typed_classname2.t)(`hds-list--style-hidden`)]: listStyle === "no-bullets"
114
- })
122
+ className: (0, import_typed_classname2.clsx)(
123
+ "hds-list",
124
+ `hds-list--${size}`,
125
+ {
126
+ "hds-list--style-hidden": listStyle === "no-bullets"
127
+ },
128
+ className
129
+ )
115
130
  }, rest), {
116
131
  children
117
132
  })
@@ -1,16 +1,16 @@
1
1
  import "../chunk-IOOSUX5O.mjs";
2
2
  import {
3
3
  LinkList
4
- } from "../chunk-NMSLCM2K.mjs";
4
+ } from "../chunk-DQ2OO6EW.mjs";
5
5
  import {
6
6
  OrderedList,
7
7
  UnorderedList
8
- } from "../chunk-IWDN3WGQ.mjs";
8
+ } from "../chunk-STKOYB5H.mjs";
9
9
  import {
10
10
  DescriptionDetails,
11
11
  DescriptionList,
12
12
  DescriptionTerm
13
- } from "../chunk-B3PZUFG2.mjs";
13
+ } from "../chunk-6XSKLHN6.mjs";
14
14
  import "../chunk-FUJQIYOF.mjs";
15
15
  export {
16
16
  DescriptionDetails,
@@ -54,7 +54,6 @@ __export(link_list_exports, {
54
54
  module.exports = __toCommonJS(link_list_exports);
55
55
 
56
56
  // src/list/list.tsx
57
- var import_clsx = require("clsx");
58
57
  var import_typed_classname = require("@postenbring/hedwig-css/typed-classname/index.mjs");
59
58
  var import_jsx_runtime = require("react/jsx-runtime");
60
59
  function BaseList(_a) {
@@ -62,19 +61,26 @@ function BaseList(_a) {
62
61
  as: ListTag = "ul",
63
62
  children,
64
63
  listStyle = "inherit",
65
- size = "medium"
64
+ size = "medium",
65
+ className
66
66
  } = _b, rest = __objRest(_b, [
67
67
  "as",
68
68
  "children",
69
69
  "listStyle",
70
- "size"
70
+ "size",
71
+ "className"
71
72
  ]);
72
73
  return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
73
74
  ListTag,
74
75
  __spreadProps(__spreadValues({
75
- className: (0, import_clsx.clsx)((0, import_typed_classname.t)("hds-list"), (0, import_typed_classname.t)(`hds-list--${size}`), {
76
- [(0, import_typed_classname.t)(`hds-list--style-hidden`)]: listStyle === "no-bullets"
77
- })
76
+ className: (0, import_typed_classname.clsx)(
77
+ "hds-list",
78
+ `hds-list--${size}`,
79
+ {
80
+ "hds-list--style-hidden": listStyle === "no-bullets"
81
+ },
82
+ className
83
+ )
78
84
  }, rest), {
79
85
  children
80
86
  })
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  LinkList
3
- } from "../chunk-NMSLCM2K.mjs";
4
- import "../chunk-IWDN3WGQ.mjs";
3
+ } from "../chunk-DQ2OO6EW.mjs";
4
+ import "../chunk-STKOYB5H.mjs";
5
5
  import "../chunk-FUJQIYOF.mjs";
6
6
  export {
7
7
  LinkList
package/dist/list/list.js CHANGED
@@ -53,7 +53,6 @@ __export(list_exports, {
53
53
  UnorderedList: () => UnorderedList
54
54
  });
55
55
  module.exports = __toCommonJS(list_exports);
56
- var import_clsx = require("clsx");
57
56
  var import_typed_classname = require("@postenbring/hedwig-css/typed-classname/index.mjs");
58
57
  var import_jsx_runtime = require("react/jsx-runtime");
59
58
  function BaseList(_a) {
@@ -61,19 +60,26 @@ function BaseList(_a) {
61
60
  as: ListTag = "ul",
62
61
  children,
63
62
  listStyle = "inherit",
64
- size = "medium"
63
+ size = "medium",
64
+ className
65
65
  } = _b, rest = __objRest(_b, [
66
66
  "as",
67
67
  "children",
68
68
  "listStyle",
69
- "size"
69
+ "size",
70
+ "className"
70
71
  ]);
71
72
  return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
72
73
  ListTag,
73
74
  __spreadProps(__spreadValues({
74
- className: (0, import_clsx.clsx)((0, import_typed_classname.t)("hds-list"), (0, import_typed_classname.t)(`hds-list--${size}`), {
75
- [(0, import_typed_classname.t)(`hds-list--style-hidden`)]: listStyle === "no-bullets"
76
- })
75
+ className: (0, import_typed_classname.clsx)(
76
+ "hds-list",
77
+ `hds-list--${size}`,
78
+ {
79
+ "hds-list--style-hidden": listStyle === "no-bullets"
80
+ },
81
+ className
82
+ )
77
83
  }, rest), {
78
84
  children
79
85
  })
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  OrderedList,
3
3
  UnorderedList
4
- } from "../chunk-IWDN3WGQ.mjs";
4
+ } from "../chunk-STKOYB5H.mjs";
5
5
  import "../chunk-FUJQIYOF.mjs";
6
6
  export {
7
7
  OrderedList,
@@ -1,4 +1,16 @@
1
- export { Message, MessageProps } from './message.mjs';
2
- import 'react';
1
+ import * as React from 'react';
2
+ import { MessageProps, MessageTitle, MessageDescription } from './message.mjs';
3
3
  import '../utils-BfZsjuFH.mjs';
4
4
  import '../box/box.mjs';
5
+
6
+ declare const MessageComponent: {
7
+ (props: MessageProps & React.RefAttributes<HTMLDivElement>): React.ReactNode;
8
+ <As extends React.ElementType>(props: {
9
+ as?: As | undefined;
10
+ } & MessageProps & Omit<React.ComponentPropsWithRef<As>, "slot" | "style" | "title" | "icon" | "children" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "autoFocus" | "className" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "id" | "lang" | "nonce" | "placeholder" | "spellCheck" | "tabIndex" | "translate" | "radioGroup" | "role" | "about" | "content" | "datatype" | "inlist" | "prefix" | "property" | "rel" | "resource" | "rev" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "color" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-braillelabel" | "aria-brailleroledescription" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colindextext" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-description" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowindextext" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onResize" | "onResizeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "variant" | "onClose" | "closeable" | "closed" | "closeButtonProps" | "iconClassName">): React.ReactNode;
11
+ } & Pick<React.FC, "displayName"> & {
12
+ Title: typeof MessageTitle;
13
+ Description: typeof MessageDescription;
14
+ };
15
+
16
+ export { MessageComponent as Message, MessageDescription, MessageTitle };
@@ -1,4 +1,16 @@
1
- export { Message, MessageProps } from './message.js';
2
- import 'react';
1
+ import * as React from 'react';
2
+ import { MessageProps, MessageTitle, MessageDescription } from './message.js';
3
3
  import '../utils-BfZsjuFH.js';
4
4
  import '../box/box.js';
5
+
6
+ declare const MessageComponent: {
7
+ (props: MessageProps & React.RefAttributes<HTMLDivElement>): React.ReactNode;
8
+ <As extends React.ElementType>(props: {
9
+ as?: As | undefined;
10
+ } & MessageProps & Omit<React.ComponentPropsWithRef<As>, "slot" | "style" | "title" | "icon" | "children" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "autoFocus" | "className" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "id" | "lang" | "nonce" | "placeholder" | "spellCheck" | "tabIndex" | "translate" | "radioGroup" | "role" | "about" | "content" | "datatype" | "inlist" | "prefix" | "property" | "rel" | "resource" | "rev" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "color" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-braillelabel" | "aria-brailleroledescription" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colindextext" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-description" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowindextext" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onResize" | "onResizeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "variant" | "onClose" | "closeable" | "closed" | "closeButtonProps" | "iconClassName">): React.ReactNode;
11
+ } & Pick<React.FC, "displayName"> & {
12
+ Title: typeof MessageTitle;
13
+ Description: typeof MessageDescription;
14
+ };
15
+
16
+ export { MessageComponent as Message, MessageDescription, MessageTitle };