@postenbring/hedwig-react 0.0.42 → 0.0.44

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 (46) hide show
  1. package/dist/card/card.js +17 -3
  2. package/dist/card/card.mjs +1 -1
  3. package/dist/card/index.js +17 -3
  4. package/dist/card/index.mjs +2 -2
  5. package/dist/{chunk-Y34HUVFV.mjs → chunk-6KVF3ELJ.mjs} +5 -2
  6. package/dist/{chunk-KOXEIUCU.mjs → chunk-E5575U2F.mjs} +1 -1
  7. package/dist/chunk-FDAXJJHU.mjs +53 -0
  8. package/dist/{chunk-2Y3E37N3.mjs → chunk-K3BGDNWO.mjs} +4 -3
  9. package/dist/{chunk-4XHA3NGO.mjs → chunk-LICHSDMT.mjs} +17 -3
  10. package/dist/{chunk-CP4CKVIA.mjs → chunk-T5W5SKZP.mjs} +5 -1
  11. package/dist/{chunk-SBHXDOBW.mjs → chunk-Y2KP4RF2.mjs} +4 -3
  12. package/dist/chunk-Y4KHO6LN.mjs +65 -0
  13. package/dist/index.js +30 -11
  14. package/dist/index.mjs +5 -5
  15. package/dist/input/index.js +5 -2
  16. package/dist/input/index.mjs +1 -1
  17. package/dist/input/input.js +5 -2
  18. package/dist/input/input.mjs +1 -1
  19. package/dist/navbar/index.d.mts +4 -2
  20. package/dist/navbar/index.d.ts +4 -2
  21. package/dist/navbar/index.js +29 -1
  22. package/dist/navbar/index.mjs +7 -3
  23. package/dist/navbar/navbar-expandable-menu.js +5 -1
  24. package/dist/navbar/navbar-expandable-menu.mjs +1 -1
  25. package/dist/navbar/navbar.d.mts +10 -1
  26. package/dist/navbar/navbar.d.ts +10 -1
  27. package/dist/navbar/navbar.js +28 -2
  28. package/dist/navbar/navbar.mjs +7 -3
  29. package/dist/select/index.js +4 -3
  30. package/dist/select/index.mjs +1 -1
  31. package/dist/select/select.js +4 -3
  32. package/dist/select/select.mjs +1 -1
  33. package/dist/textarea/index.js +4 -3
  34. package/dist/textarea/index.mjs +1 -1
  35. package/dist/textarea/textarea.js +4 -3
  36. package/dist/textarea/textarea.mjs +1 -1
  37. package/dist/typography/index.d.mts +69 -0
  38. package/dist/typography/index.d.ts +69 -0
  39. package/dist/typography/index.js +255 -0
  40. package/dist/typography/index.mjs +110 -0
  41. package/dist/typography/typography.d.mts +18 -0
  42. package/dist/typography/typography.d.ts +18 -0
  43. package/dist/typography/typography.js +112 -0
  44. package/dist/typography/typography.mjs +7 -0
  45. package/package.json +1 -1
  46. package/dist/chunk-FB5VUC62.mjs +0 -29
package/dist/card/card.js CHANGED
@@ -141,19 +141,33 @@ CardBodyHeaderTitle.displayName = "Card.Body.Header.Title";
141
141
  var CardBodyDescription = (0, import_react.forwardRef)(
142
142
  (_a, ref) => {
143
143
  var _b = _a, { as: Component = "p", className, children } = _b, rest = __objRest(_b, ["as", "className", "children"]);
144
- return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(Component, __spreadProps(__spreadValues({}, rest), { className: (0, import_typed_classname.clsx)(className), ref, children }));
144
+ return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
145
+ Component,
146
+ __spreadProps(__spreadValues({}, rest), {
147
+ className: (0, import_typed_classname.clsx)("hds-card__body-description", className),
148
+ ref,
149
+ children
150
+ })
151
+ );
145
152
  }
146
153
  );
147
154
  CardBodyDescription.displayName = "Card.Body.Description";
148
155
  var CardBodyAction = (0, import_react.forwardRef)(
149
156
  (_a, ref) => {
150
157
  var _b = _a, { as: Component = "div", className, children } = _b, rest = __objRest(_b, ["as", "className", "children"]);
151
- return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(Component, __spreadProps(__spreadValues({}, rest), { className, ref, children }));
158
+ return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
159
+ Component,
160
+ __spreadProps(__spreadValues({}, rest), {
161
+ className: (0, import_typed_classname.clsx)("hds-card__body-action", className),
162
+ ref,
163
+ children
164
+ })
165
+ );
152
166
  }
153
167
  );
154
168
  CardBodyAction.displayName = "Card.Body.Action";
155
169
  var CardBodyActionArrow = (0, import_react.forwardRef)((_a, ref) => {
156
- var _b = _a, { as: Component = "a", className } = _b, rest = __objRest(_b, ["as", "className"]);
170
+ var _b = _a, { as: Component = "span", className } = _b, rest = __objRest(_b, ["as", "className"]);
157
171
  return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
158
172
  Component,
159
173
  __spreadProps(__spreadValues({}, rest), {
@@ -9,7 +9,7 @@ import {
9
9
  CardBodyHeaderTitle,
10
10
  CardMedia,
11
11
  CardMediaImg
12
- } from "../chunk-4XHA3NGO.mjs";
12
+ } from "../chunk-LICHSDMT.mjs";
13
13
  import "../chunk-FUJQIYOF.mjs";
14
14
  export {
15
15
  Card,
@@ -138,19 +138,33 @@ CardBodyHeaderTitle.displayName = "Card.Body.Header.Title";
138
138
  var CardBodyDescription = (0, import_react.forwardRef)(
139
139
  (_a, ref) => {
140
140
  var _b = _a, { as: Component = "p", className, children } = _b, rest = __objRest(_b, ["as", "className", "children"]);
141
- return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(Component, __spreadProps(__spreadValues({}, rest), { className: (0, import_typed_classname.clsx)(className), ref, children }));
141
+ return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
142
+ Component,
143
+ __spreadProps(__spreadValues({}, rest), {
144
+ className: (0, import_typed_classname.clsx)("hds-card__body-description", className),
145
+ ref,
146
+ children
147
+ })
148
+ );
142
149
  }
143
150
  );
144
151
  CardBodyDescription.displayName = "Card.Body.Description";
145
152
  var CardBodyAction = (0, import_react.forwardRef)(
146
153
  (_a, ref) => {
147
154
  var _b = _a, { as: Component = "div", className, children } = _b, rest = __objRest(_b, ["as", "className", "children"]);
148
- return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(Component, __spreadProps(__spreadValues({}, rest), { className, ref, children }));
155
+ return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
156
+ Component,
157
+ __spreadProps(__spreadValues({}, rest), {
158
+ className: (0, import_typed_classname.clsx)("hds-card__body-action", className),
159
+ ref,
160
+ children
161
+ })
162
+ );
149
163
  }
150
164
  );
151
165
  CardBodyAction.displayName = "Card.Body.Action";
152
166
  var CardBodyActionArrow = (0, import_react.forwardRef)((_a, ref) => {
153
- var _b = _a, { as: Component = "a", className } = _b, rest = __objRest(_b, ["as", "className"]);
167
+ var _b = _a, { as: Component = "span", className } = _b, rest = __objRest(_b, ["as", "className"]);
154
168
  return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
155
169
  Component,
156
170
  __spreadProps(__spreadValues({}, rest), {
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  CardComponent
3
- } from "../chunk-KOXEIUCU.mjs";
4
- import "../chunk-4XHA3NGO.mjs";
3
+ } from "../chunk-E5575U2F.mjs";
4
+ import "../chunk-LICHSDMT.mjs";
5
5
  import "../chunk-FUJQIYOF.mjs";
6
6
  export {
7
7
  CardComponent as Card
@@ -13,6 +13,7 @@ import { clsx } from "@postenbring/hedwig-css/typed-classname/index.mjs";
13
13
  import { jsx } from "react/jsx-runtime";
14
14
  var Input = forwardRef(function Input2(_a, ref) {
15
15
  var _b = _a, {
16
+ className,
16
17
  variant,
17
18
  errorMessage,
18
19
  labelProps,
@@ -23,6 +24,7 @@ var Input = forwardRef(function Input2(_a, ref) {
23
24
  readOnly,
24
25
  _unstableAriaLiveOnErrorMessage
25
26
  } = _b, rest = __objRest(_b, [
27
+ "className",
26
28
  "variant",
27
29
  "errorMessage",
28
30
  "labelProps",
@@ -37,15 +39,16 @@ var Input = forwardRef(function Input2(_a, ref) {
37
39
  InputGroup,
38
40
  {
39
41
  _unstableAriaLiveOnErrorMessage,
40
- className: clsx("hds-input"),
42
+ className: clsx("hds-input", className),
41
43
  disabled,
42
44
  errorMessage,
43
45
  id,
44
46
  label,
45
47
  labelProps,
46
48
  readOnly,
49
+ style,
47
50
  variant,
48
- children: /* @__PURE__ */ jsx("input", __spreadProps(__spreadValues({}, rest), { disabled, readOnly, ref, style }))
51
+ children: /* @__PURE__ */ jsx("input", __spreadProps(__spreadValues({}, rest), { disabled, readOnly, ref }))
49
52
  }
50
53
  );
51
54
  });
@@ -9,7 +9,7 @@ import {
9
9
  CardBodyHeaderTitle,
10
10
  CardMedia,
11
11
  CardMediaImg
12
- } from "./chunk-4XHA3NGO.mjs";
12
+ } from "./chunk-LICHSDMT.mjs";
13
13
 
14
14
  // src/card/index.tsx
15
15
  import "@postenbring/hedwig-css/dist/fonts.css";
@@ -0,0 +1,53 @@
1
+ import {
2
+ __objRest,
3
+ __spreadProps,
4
+ __spreadValues
5
+ } from "./chunk-FUJQIYOF.mjs";
6
+
7
+ // src/navbar/navbar.tsx
8
+ import { forwardRef } from "react";
9
+ import { clsx } from "@postenbring/hedwig-css/typed-classname/index.mjs";
10
+ import { jsx, jsxs } from "react/jsx-runtime";
11
+ var Navbar = forwardRef(
12
+ (_a, ref) => {
13
+ var _b = _a, { children, className } = _b, rest = __objRest(_b, ["children", "className"]);
14
+ return /* @__PURE__ */ jsx("header", __spreadProps(__spreadValues({ className: clsx("hds-navbar", className), ref }, rest), { children }));
15
+ }
16
+ );
17
+ Navbar.displayName = "Navbar";
18
+ var NavbarLogo = forwardRef(
19
+ (_a, ref) => {
20
+ var _b = _a, { as: Component = "div", className } = _b, rest = __objRest(_b, ["as", "className"]);
21
+ return /* @__PURE__ */ jsx(Component, __spreadValues({ className: clsx("hds-navbar__logo", className), ref }, rest));
22
+ }
23
+ );
24
+ NavbarLogo.displayName = "Navbar.Logo";
25
+ var NavbarButton = forwardRef(
26
+ (_a, ref) => {
27
+ var _b = _a, { as: Component = "button", children, icon, className } = _b, rest = __objRest(_b, ["as", "children", "icon", "className"]);
28
+ return /* @__PURE__ */ jsxs(Component, __spreadProps(__spreadValues({ className: clsx("hds-navbar__button", className), ref }, rest), { children: [
29
+ children,
30
+ " ",
31
+ icon
32
+ ] }));
33
+ }
34
+ );
35
+ NavbarButton.displayName = "Navbar.Button";
36
+ var NavbarNavigation = forwardRef((_a, ref) => {
37
+ var _b = _a, { as: Component = "div", className } = _b, rest = __objRest(_b, ["as", "className"]);
38
+ return /* @__PURE__ */ jsx(
39
+ Component,
40
+ __spreadValues({
41
+ className: clsx("hds-navbar__navigation", className),
42
+ ref
43
+ }, rest)
44
+ );
45
+ });
46
+ NavbarNavigation.displayName = "Navbar.Navigation";
47
+
48
+ export {
49
+ Navbar,
50
+ NavbarLogo,
51
+ NavbarButton,
52
+ NavbarNavigation
53
+ };
@@ -12,18 +12,19 @@ import { forwardRef } from "react";
12
12
  import { clsx } from "@postenbring/hedwig-css/typed-classname/index.mjs";
13
13
  import { jsx } from "react/jsx-runtime";
14
14
  var Select = forwardRef(function Select2(_a, ref) {
15
- var _b = _a, { variant, errorMessage, labelProps, label, id, style, disabled, children } = _b, rest = __objRest(_b, ["variant", "errorMessage", "labelProps", "label", "id", "style", "disabled", "children"]);
15
+ var _b = _a, { className, variant, errorMessage, labelProps, label, id, style, disabled, children } = _b, rest = __objRest(_b, ["className", "variant", "errorMessage", "labelProps", "label", "id", "style", "disabled", "children"]);
16
16
  return /* @__PURE__ */ jsx(
17
17
  InputGroup,
18
18
  {
19
- className: clsx("hds-select"),
19
+ className: clsx("hds-select", className),
20
20
  disabled,
21
21
  errorMessage,
22
22
  id,
23
23
  label,
24
24
  labelProps,
25
+ style,
25
26
  variant,
26
- children: /* @__PURE__ */ jsx("select", __spreadProps(__spreadValues({}, rest), { disabled, ref, style, children }))
27
+ children: /* @__PURE__ */ jsx("select", __spreadProps(__spreadValues({}, rest), { disabled, ref, children }))
27
28
  }
28
29
  );
29
30
  });
@@ -85,19 +85,33 @@ CardBodyHeaderTitle.displayName = "Card.Body.Header.Title";
85
85
  var CardBodyDescription = forwardRef(
86
86
  (_a, ref) => {
87
87
  var _b = _a, { as: Component = "p", className, children } = _b, rest = __objRest(_b, ["as", "className", "children"]);
88
- return /* @__PURE__ */ jsx(Component, __spreadProps(__spreadValues({}, rest), { className: clsx(className), ref, children }));
88
+ return /* @__PURE__ */ jsx(
89
+ Component,
90
+ __spreadProps(__spreadValues({}, rest), {
91
+ className: clsx("hds-card__body-description", className),
92
+ ref,
93
+ children
94
+ })
95
+ );
89
96
  }
90
97
  );
91
98
  CardBodyDescription.displayName = "Card.Body.Description";
92
99
  var CardBodyAction = forwardRef(
93
100
  (_a, ref) => {
94
101
  var _b = _a, { as: Component = "div", className, children } = _b, rest = __objRest(_b, ["as", "className", "children"]);
95
- return /* @__PURE__ */ jsx(Component, __spreadProps(__spreadValues({}, rest), { className, ref, children }));
102
+ return /* @__PURE__ */ jsx(
103
+ Component,
104
+ __spreadProps(__spreadValues({}, rest), {
105
+ className: clsx("hds-card__body-action", className),
106
+ ref,
107
+ children
108
+ })
109
+ );
96
110
  }
97
111
  );
98
112
  CardBodyAction.displayName = "Card.Body.Action";
99
113
  var CardBodyActionArrow = forwardRef((_a, ref) => {
100
- var _b = _a, { as: Component = "a", className } = _b, rest = __objRest(_b, ["as", "className"]);
114
+ var _b = _a, { as: Component = "span", className } = _b, rest = __objRest(_b, ["as", "className"]);
101
115
  return /* @__PURE__ */ jsx(
102
116
  Component,
103
117
  __spreadProps(__spreadValues({}, rest), {
@@ -42,7 +42,11 @@ var NavbarExpandableMenuTrigger = forwardRef(
42
42
  return /* @__PURE__ */ jsx(
43
43
  "button",
44
44
  __spreadProps(__spreadValues({
45
- className: clsx("hds-navbar__expandable-menu-trigger", className),
45
+ className: clsx(
46
+ "hds-navbar__expandable-menu-trigger",
47
+ "hds-navbar__button",
48
+ className
49
+ ),
46
50
  onClick: toggleOpen,
47
51
  ref,
48
52
  title,
@@ -12,19 +12,20 @@ import { forwardRef } from "react";
12
12
  import { clsx } from "@postenbring/hedwig-css/typed-classname/index.mjs";
13
13
  import { jsx } from "react/jsx-runtime";
14
14
  var Textarea = forwardRef(function Textarea2(_a, ref) {
15
- var _b = _a, { variant, errorMessage, labelProps, label, id, style, disabled, readOnly } = _b, rest = __objRest(_b, ["variant", "errorMessage", "labelProps", "label", "id", "style", "disabled", "readOnly"]);
15
+ var _b = _a, { className, variant, errorMessage, labelProps, label, id, style, disabled, readOnly } = _b, rest = __objRest(_b, ["className", "variant", "errorMessage", "labelProps", "label", "id", "style", "disabled", "readOnly"]);
16
16
  return /* @__PURE__ */ jsx(
17
17
  InputGroup,
18
18
  {
19
- className: clsx("hds-textarea"),
19
+ className: clsx("hds-textarea", className),
20
20
  disabled,
21
21
  errorMessage,
22
22
  id,
23
23
  label,
24
24
  labelProps,
25
25
  readOnly,
26
+ style,
26
27
  variant,
27
- children: /* @__PURE__ */ jsx("textarea", __spreadProps(__spreadValues({}, rest), { disabled, readOnly, ref, style }))
28
+ children: /* @__PURE__ */ jsx("textarea", __spreadProps(__spreadValues({}, rest), { disabled, readOnly, ref }))
28
29
  }
29
30
  );
30
31
  });
@@ -0,0 +1,65 @@
1
+ import {
2
+ __objRest,
3
+ __spreadProps,
4
+ __spreadValues
5
+ } from "./chunk-FUJQIYOF.mjs";
6
+
7
+ // src/typography/typography.tsx
8
+ import { forwardRef } from "react";
9
+ import { clsx } from "@postenbring/hedwig-css/typed-classname/index.mjs";
10
+ import { jsx } from "react/jsx-runtime";
11
+ var defaultHTMLTag = {
12
+ "h1-display": "h1",
13
+ h1: "h1",
14
+ h2: "h2",
15
+ h3: "h3",
16
+ "h3-title": "h3",
17
+ body: "p",
18
+ "body-title": "p",
19
+ "body-small": "p",
20
+ "body-small-title": "p",
21
+ technical: "p",
22
+ "technical-title": "p",
23
+ caption: "p",
24
+ "caption-title": "p"
25
+ };
26
+ var Typography = forwardRef(
27
+ (_a, ref) => {
28
+ var _b = _a, {
29
+ as,
30
+ variant = "body",
31
+ size = "fluid",
32
+ _unstableSpacing: spacing,
33
+ children,
34
+ className
35
+ } = _b, rest = __objRest(_b, [
36
+ "as",
37
+ "variant",
38
+ "size",
39
+ "_unstableSpacing",
40
+ "children",
41
+ "className"
42
+ ]);
43
+ const Component = as != null ? as : defaultHTMLTag[variant];
44
+ const sizeModifier = size !== "fluid" && variant !== "caption" && variant !== "caption-title" && size;
45
+ return /* @__PURE__ */ jsx(
46
+ Component,
47
+ __spreadProps(__spreadValues({
48
+ className: clsx(
49
+ `hds-typography-${variant}`,
50
+ sizeModifier && `hds-typography--${sizeModifier}`,
51
+ spacing && "hds-typography--spacing",
52
+ className
53
+ ),
54
+ ref
55
+ }, rest), {
56
+ children
57
+ })
58
+ );
59
+ }
60
+ );
61
+ Typography.displayName = "Typography";
62
+
63
+ export {
64
+ Typography
65
+ };
package/dist/index.js CHANGED
@@ -545,19 +545,33 @@ CardBodyHeaderTitle.displayName = "Card.Body.Header.Title";
545
545
  var CardBodyDescription = (0, import_react8.forwardRef)(
546
546
  (_a, ref) => {
547
547
  var _b = _a, { as: Component = "p", className, children } = _b, rest = __objRest(_b, ["as", "className", "children"]);
548
- return /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(Component, __spreadProps(__spreadValues({}, rest), { className: (0, import_typed_classname9.clsx)(className), ref, children }));
548
+ return /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(
549
+ Component,
550
+ __spreadProps(__spreadValues({}, rest), {
551
+ className: (0, import_typed_classname9.clsx)("hds-card__body-description", className),
552
+ ref,
553
+ children
554
+ })
555
+ );
549
556
  }
550
557
  );
551
558
  CardBodyDescription.displayName = "Card.Body.Description";
552
559
  var CardBodyAction = (0, import_react8.forwardRef)(
553
560
  (_a, ref) => {
554
561
  var _b = _a, { as: Component = "div", className, children } = _b, rest = __objRest(_b, ["as", "className", "children"]);
555
- return /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(Component, __spreadProps(__spreadValues({}, rest), { className, ref, children }));
562
+ return /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(
563
+ Component,
564
+ __spreadProps(__spreadValues({}, rest), {
565
+ className: (0, import_typed_classname9.clsx)("hds-card__body-action", className),
566
+ ref,
567
+ children
568
+ })
569
+ );
556
570
  }
557
571
  );
558
572
  CardBodyAction.displayName = "Card.Body.Action";
559
573
  var CardBodyActionArrow = (0, import_react8.forwardRef)((_a, ref) => {
560
- var _b = _a, { as: Component = "a", className } = _b, rest = __objRest(_b, ["as", "className"]);
574
+ var _b = _a, { as: Component = "span", className } = _b, rest = __objRest(_b, ["as", "className"]);
561
575
  return /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(
562
576
  Component,
563
577
  __spreadProps(__spreadValues({}, rest), {
@@ -691,6 +705,7 @@ var InputGroup = (0, import_react9.forwardRef)(function InputGroup2(_a, ref) {
691
705
  var import_jsx_runtime11 = require("react/jsx-runtime");
692
706
  var Input = (0, import_react10.forwardRef)(function Input2(_a, ref) {
693
707
  var _b = _a, {
708
+ className,
694
709
  variant,
695
710
  errorMessage,
696
711
  labelProps,
@@ -701,6 +716,7 @@ var Input = (0, import_react10.forwardRef)(function Input2(_a, ref) {
701
716
  readOnly,
702
717
  _unstableAriaLiveOnErrorMessage
703
718
  } = _b, rest = __objRest(_b, [
719
+ "className",
704
720
  "variant",
705
721
  "errorMessage",
706
722
  "labelProps",
@@ -715,15 +731,16 @@ var Input = (0, import_react10.forwardRef)(function Input2(_a, ref) {
715
731
  InputGroup,
716
732
  {
717
733
  _unstableAriaLiveOnErrorMessage,
718
- className: (0, import_typed_classname11.clsx)("hds-input"),
734
+ className: (0, import_typed_classname11.clsx)("hds-input", className),
719
735
  disabled,
720
736
  errorMessage,
721
737
  id,
722
738
  label,
723
739
  labelProps,
724
740
  readOnly,
741
+ style,
725
742
  variant,
726
- children: /* @__PURE__ */ (0, import_jsx_runtime11.jsx)("input", __spreadProps(__spreadValues({}, rest), { disabled, readOnly, ref, style }))
743
+ children: /* @__PURE__ */ (0, import_jsx_runtime11.jsx)("input", __spreadProps(__spreadValues({}, rest), { disabled, readOnly, ref }))
727
744
  }
728
745
  );
729
746
  });
@@ -1016,18 +1033,19 @@ var import_react15 = require("react");
1016
1033
  var import_typed_classname17 = require("@postenbring/hedwig-css/typed-classname/index.mjs");
1017
1034
  var import_jsx_runtime18 = require("react/jsx-runtime");
1018
1035
  var Select = (0, import_react15.forwardRef)(function Select2(_a, ref) {
1019
- var _b = _a, { variant, errorMessage, labelProps, label, id, style, disabled, children } = _b, rest = __objRest(_b, ["variant", "errorMessage", "labelProps", "label", "id", "style", "disabled", "children"]);
1036
+ var _b = _a, { className, variant, errorMessage, labelProps, label, id, style, disabled, children } = _b, rest = __objRest(_b, ["className", "variant", "errorMessage", "labelProps", "label", "id", "style", "disabled", "children"]);
1020
1037
  return /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(
1021
1038
  InputGroup,
1022
1039
  {
1023
- className: (0, import_typed_classname17.clsx)("hds-select"),
1040
+ className: (0, import_typed_classname17.clsx)("hds-select", className),
1024
1041
  disabled,
1025
1042
  errorMessage,
1026
1043
  id,
1027
1044
  label,
1028
1045
  labelProps,
1046
+ style,
1029
1047
  variant,
1030
- children: /* @__PURE__ */ (0, import_jsx_runtime18.jsx)("select", __spreadProps(__spreadValues({}, rest), { disabled, ref, style, children }))
1048
+ children: /* @__PURE__ */ (0, import_jsx_runtime18.jsx)("select", __spreadProps(__spreadValues({}, rest), { disabled, ref, children }))
1031
1049
  }
1032
1050
  );
1033
1051
  });
@@ -1176,19 +1194,20 @@ var import_react20 = require("react");
1176
1194
  var import_typed_classname21 = require("@postenbring/hedwig-css/typed-classname/index.mjs");
1177
1195
  var import_jsx_runtime22 = require("react/jsx-runtime");
1178
1196
  var Textarea = (0, import_react20.forwardRef)(function Textarea2(_a, ref) {
1179
- var _b = _a, { variant, errorMessage, labelProps, label, id, style, disabled, readOnly } = _b, rest = __objRest(_b, ["variant", "errorMessage", "labelProps", "label", "id", "style", "disabled", "readOnly"]);
1197
+ var _b = _a, { className, variant, errorMessage, labelProps, label, id, style, disabled, readOnly } = _b, rest = __objRest(_b, ["className", "variant", "errorMessage", "labelProps", "label", "id", "style", "disabled", "readOnly"]);
1180
1198
  return /* @__PURE__ */ (0, import_jsx_runtime22.jsx)(
1181
1199
  InputGroup,
1182
1200
  {
1183
- className: (0, import_typed_classname21.clsx)("hds-textarea"),
1201
+ className: (0, import_typed_classname21.clsx)("hds-textarea", className),
1184
1202
  disabled,
1185
1203
  errorMessage,
1186
1204
  id,
1187
1205
  label,
1188
1206
  labelProps,
1189
1207
  readOnly,
1208
+ style,
1190
1209
  variant,
1191
- children: /* @__PURE__ */ (0, import_jsx_runtime22.jsx)("textarea", __spreadProps(__spreadValues({}, rest), { disabled, readOnly, ref, style }))
1210
+ children: /* @__PURE__ */ (0, import_jsx_runtime22.jsx)("textarea", __spreadProps(__spreadValues({}, rest), { disabled, readOnly, ref }))
1192
1211
  }
1193
1212
  );
1194
1213
  });
package/dist/index.mjs CHANGED
@@ -1,7 +1,7 @@
1
1
  import "./chunk-DOJ2ZKNV.mjs";
2
2
  import {
3
3
  Textarea
4
- } from "./chunk-SBHXDOBW.mjs";
4
+ } from "./chunk-Y2KP4RF2.mjs";
5
5
  import "./chunk-K2HIKZ7F.mjs";
6
6
  import {
7
7
  WarningBanner
@@ -9,7 +9,7 @@ import {
9
9
  import "./chunk-SX37JSDS.mjs";
10
10
  import {
11
11
  Select
12
- } from "./chunk-2Y3E37N3.mjs";
12
+ } from "./chunk-K3BGDNWO.mjs";
13
13
  import {
14
14
  TabsComponent
15
15
  } from "./chunk-WUMZCEIJ.mjs";
@@ -37,7 +37,7 @@ import "./chunk-FSBY3NKV.mjs";
37
37
  import "./chunk-PF6PZIZS.mjs";
38
38
  import {
39
39
  Input
40
- } from "./chunk-Y34HUVFV.mjs";
40
+ } from "./chunk-6KVF3ELJ.mjs";
41
41
  import "./chunk-45BJGKVZ.mjs";
42
42
  import "./chunk-QAYPCD5Z.mjs";
43
43
  import "./chunk-FJQCHTJZ.mjs";
@@ -66,8 +66,8 @@ import {
66
66
  } from "./chunk-ENRMC5K7.mjs";
67
67
  import {
68
68
  CardComponent
69
- } from "./chunk-KOXEIUCU.mjs";
70
- import "./chunk-4XHA3NGO.mjs";
69
+ } from "./chunk-E5575U2F.mjs";
70
+ import "./chunk-LICHSDMT.mjs";
71
71
  import {
72
72
  AccordionComponent
73
73
  } from "./chunk-KYCCTJI6.mjs";
@@ -158,6 +158,7 @@ var InputGroup = (0, import_react.forwardRef)(function InputGroup2(_a, ref) {
158
158
  var import_jsx_runtime2 = require("react/jsx-runtime");
159
159
  var Input = (0, import_react2.forwardRef)(function Input2(_a, ref) {
160
160
  var _b = _a, {
161
+ className,
161
162
  variant,
162
163
  errorMessage,
163
164
  labelProps,
@@ -168,6 +169,7 @@ var Input = (0, import_react2.forwardRef)(function Input2(_a, ref) {
168
169
  readOnly,
169
170
  _unstableAriaLiveOnErrorMessage
170
171
  } = _b, rest = __objRest(_b, [
172
+ "className",
171
173
  "variant",
172
174
  "errorMessage",
173
175
  "labelProps",
@@ -182,15 +184,16 @@ var Input = (0, import_react2.forwardRef)(function Input2(_a, ref) {
182
184
  InputGroup,
183
185
  {
184
186
  _unstableAriaLiveOnErrorMessage,
185
- className: (0, import_typed_classname2.clsx)("hds-input"),
187
+ className: (0, import_typed_classname2.clsx)("hds-input", className),
186
188
  disabled,
187
189
  errorMessage,
188
190
  id,
189
191
  label,
190
192
  labelProps,
191
193
  readOnly,
194
+ style,
192
195
  variant,
193
- children: /* @__PURE__ */ (0, import_jsx_runtime2.jsx)("input", __spreadProps(__spreadValues({}, rest), { disabled, readOnly, ref, style }))
196
+ children: /* @__PURE__ */ (0, import_jsx_runtime2.jsx)("input", __spreadProps(__spreadValues({}, rest), { disabled, readOnly, ref }))
194
197
  }
195
198
  );
196
199
  });
@@ -1,7 +1,7 @@
1
1
  import "../chunk-PF6PZIZS.mjs";
2
2
  import {
3
3
  Input
4
- } from "../chunk-Y34HUVFV.mjs";
4
+ } from "../chunk-6KVF3ELJ.mjs";
5
5
  import "../chunk-45BJGKVZ.mjs";
6
6
  import "../chunk-QAYPCD5Z.mjs";
7
7
  import "../chunk-FUJQIYOF.mjs";
@@ -151,6 +151,7 @@ var InputGroup = (0, import_react.forwardRef)(function InputGroup2(_a, ref) {
151
151
  var import_jsx_runtime2 = require("react/jsx-runtime");
152
152
  var Input = (0, import_react2.forwardRef)(function Input2(_a, ref) {
153
153
  var _b = _a, {
154
+ className,
154
155
  variant,
155
156
  errorMessage,
156
157
  labelProps,
@@ -161,6 +162,7 @@ var Input = (0, import_react2.forwardRef)(function Input2(_a, ref) {
161
162
  readOnly,
162
163
  _unstableAriaLiveOnErrorMessage
163
164
  } = _b, rest = __objRest(_b, [
165
+ "className",
164
166
  "variant",
165
167
  "errorMessage",
166
168
  "labelProps",
@@ -175,15 +177,16 @@ var Input = (0, import_react2.forwardRef)(function Input2(_a, ref) {
175
177
  InputGroup,
176
178
  {
177
179
  _unstableAriaLiveOnErrorMessage,
178
- className: (0, import_typed_classname2.clsx)("hds-input"),
180
+ className: (0, import_typed_classname2.clsx)("hds-input", className),
179
181
  disabled,
180
182
  errorMessage,
181
183
  id,
182
184
  label,
183
185
  labelProps,
184
186
  readOnly,
187
+ style,
185
188
  variant,
186
- children: /* @__PURE__ */ (0, import_jsx_runtime2.jsx)("input", __spreadProps(__spreadValues({}, rest), { disabled, readOnly, ref, style }))
189
+ children: /* @__PURE__ */ (0, import_jsx_runtime2.jsx)("input", __spreadProps(__spreadValues({}, rest), { disabled, readOnly, ref }))
187
190
  }
188
191
  );
189
192
  });
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  Input
3
- } from "../chunk-Y34HUVFV.mjs";
3
+ } from "../chunk-6KVF3ELJ.mjs";
4
4
  import "../chunk-45BJGKVZ.mjs";
5
5
  import "../chunk-QAYPCD5Z.mjs";
6
6
  import "../chunk-FUJQIYOF.mjs";
@@ -1,5 +1,5 @@
1
1
  import * as react from 'react';
2
- import { NavbarProps, NavbarLogo } from './navbar.mjs';
2
+ import { NavbarProps, NavbarLogo, NavbarButton, NavbarNavigation } from './navbar.mjs';
3
3
  import { NavbarExpandableMenu, NavbarExpandableMenuTrigger, NavbarExpandableMenuContent } from './navbar-expandable-menu.mjs';
4
4
  import '../utils-BfZsjuFH.mjs';
5
5
  import 'react/jsx-runtime';
@@ -11,6 +11,8 @@ declare const NavbarExpandableMenuComponent: typeof NavbarExpandableMenu & {
11
11
  declare const NavbarComponent: react.ForwardRefExoticComponent<NavbarProps & react.RefAttributes<HTMLElement>> & {
12
12
  Logo: typeof NavbarLogo;
13
13
  ExpandableMenu: typeof NavbarExpandableMenuComponent;
14
+ Button: typeof NavbarButton;
15
+ Navigation: typeof NavbarNavigation;
14
16
  };
15
17
 
16
- export { NavbarComponent as Navbar, NavbarLogo, NavbarProps };
18
+ export { NavbarComponent as Navbar, NavbarButton, NavbarLogo, NavbarNavigation, NavbarProps };
@@ -1,5 +1,5 @@
1
1
  import * as react from 'react';
2
- import { NavbarProps, NavbarLogo } from './navbar.js';
2
+ import { NavbarProps, NavbarLogo, NavbarButton, NavbarNavigation } from './navbar.js';
3
3
  import { NavbarExpandableMenu, NavbarExpandableMenuTrigger, NavbarExpandableMenuContent } from './navbar-expandable-menu.js';
4
4
  import '../utils-BfZsjuFH.js';
5
5
  import 'react/jsx-runtime';
@@ -11,6 +11,8 @@ declare const NavbarExpandableMenuComponent: typeof NavbarExpandableMenu & {
11
11
  declare const NavbarComponent: react.ForwardRefExoticComponent<NavbarProps & react.RefAttributes<HTMLElement>> & {
12
12
  Logo: typeof NavbarLogo;
13
13
  ExpandableMenu: typeof NavbarExpandableMenuComponent;
14
+ Button: typeof NavbarButton;
15
+ Navigation: typeof NavbarNavigation;
14
16
  };
15
17
 
16
- export { NavbarComponent as Navbar, NavbarLogo, NavbarProps };
18
+ export { NavbarComponent as Navbar, NavbarButton, NavbarLogo, NavbarNavigation, NavbarProps };