@postenbring/hedwig-react 0.0.44 → 0.0.46

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 (228) hide show
  1. package/dist/accordion/accordion-content.d.mts +1 -1
  2. package/dist/accordion/accordion-content.d.ts +1 -1
  3. package/dist/accordion/accordion-content.mjs +2 -2
  4. package/dist/accordion/accordion-header.d.mts +1 -1
  5. package/dist/accordion/accordion-header.d.ts +1 -1
  6. package/dist/accordion/accordion-header.mjs +2 -2
  7. package/dist/accordion/accordion-item.d.mts +1 -1
  8. package/dist/accordion/accordion-item.d.ts +1 -1
  9. package/dist/accordion/accordion-item.mjs +2 -2
  10. package/dist/accordion/accordion.d.mts +1 -1
  11. package/dist/accordion/accordion.d.ts +1 -1
  12. package/dist/accordion/accordion.mjs +2 -2
  13. package/dist/accordion/index.d.mts +1 -1
  14. package/dist/accordion/index.d.ts +1 -1
  15. package/dist/accordion/index.mjs +6 -6
  16. package/dist/badge/badge.mjs +2 -2
  17. package/dist/badge/index.mjs +2 -2
  18. package/dist/box/box.d.mts +1 -1
  19. package/dist/box/box.d.ts +1 -1
  20. package/dist/box/box.mjs +2 -2
  21. package/dist/box/index.d.mts +1 -1
  22. package/dist/box/index.d.ts +1 -1
  23. package/dist/box/index.mjs +3 -3
  24. package/dist/breadcrumb/breadcrumb.mjs +2 -2
  25. package/dist/breadcrumb/index.mjs +2 -2
  26. package/dist/button/button.d.mts +1 -1
  27. package/dist/button/button.d.ts +1 -1
  28. package/dist/button/button.mjs +2 -2
  29. package/dist/button/index.d.mts +1 -1
  30. package/dist/button/index.d.ts +1 -1
  31. package/dist/button/index.mjs +2 -2
  32. package/dist/card/card.d.mts +1 -1
  33. package/dist/card/card.d.ts +1 -1
  34. package/dist/card/card.mjs +2 -2
  35. package/dist/card/index.d.mts +1 -1
  36. package/dist/card/index.d.ts +1 -1
  37. package/dist/card/index.mjs +3 -3
  38. package/dist/{chunk-WTMT5WCJ.mjs → chunk-3EENBGOV.mjs} +1 -1
  39. package/dist/chunk-3WUAXFB3.mjs +34 -0
  40. package/dist/{chunk-BHNQPMEB.mjs → chunk-3Y65IUK4.mjs} +2 -2
  41. package/dist/{chunk-Y2KP4RF2.mjs → chunk-4KBVX3Y7.mjs} +3 -3
  42. package/dist/{chunk-G3JPULGO.mjs → chunk-4LB35CUY.mjs} +1 -1
  43. package/dist/{chunk-Q3SWHAU3.mjs → chunk-4M3GIRQZ.mjs} +1 -1
  44. package/dist/{chunk-PF6PZIZS.mjs → chunk-4RAMNETH.mjs} +1 -1
  45. package/dist/{chunk-2QZF65FK.mjs → chunk-5FM3XK4V.mjs} +5 -1
  46. package/dist/{chunk-SDJXW6U7.mjs → chunk-5HF2PDRZ.mjs} +1 -1
  47. package/dist/{chunk-DOJ2ZKNV.mjs → chunk-5NWYVPBZ.mjs} +1 -1
  48. package/dist/chunk-67OMX7FP.mjs +5 -0
  49. package/dist/{chunk-GBDCEHR7.mjs → chunk-6FKQU7QT.mjs} +1 -1
  50. package/dist/{chunk-QAYPCD5Z.mjs → chunk-6KRJB36T.mjs} +22 -13
  51. package/dist/chunk-73MDVYU2.mjs +129 -0
  52. package/dist/{chunk-MER2HJBC.mjs → chunk-7P6MJKWC.mjs} +1 -1
  53. package/dist/{chunk-6XTXM4YQ.mjs → chunk-A6HNU42U.mjs} +1 -1
  54. package/dist/{chunk-3JNHAMRV.mjs → chunk-AUK3J77R.mjs} +1 -1
  55. package/dist/{chunk-LICHSDMT.mjs → chunk-B3SD7RZV.mjs} +1 -1
  56. package/dist/{chunk-RY53CJI7.mjs → chunk-BEXOLUXV.mjs} +1 -1
  57. package/dist/{chunk-ZLCNSHLT.mjs → chunk-C2VTAQEP.mjs} +1 -1
  58. package/dist/chunk-DOWBGRCN.mjs +29253 -0
  59. package/dist/chunk-FKR5F35B.mjs +70 -0
  60. package/dist/{chunk-5QMPUCNW.mjs → chunk-FPVGZ4VX.mjs} +1 -1
  61. package/dist/chunk-HIRUCFWO.mjs +25 -0
  62. package/dist/chunk-J5QNIAFL.mjs +72 -0
  63. package/dist/{chunk-KYCCTJI6.mjs → chunk-KBR5N6UB.mjs} +4 -4
  64. package/dist/{chunk-K3BGDNWO.mjs → chunk-MUGMWWNN.mjs} +3 -3
  65. package/dist/chunk-OKWNTFU5.mjs +5 -0
  66. package/dist/{chunk-SX37JSDS.mjs → chunk-OPW2JS5I.mjs} +1 -1
  67. package/dist/chunk-PPUNMHOX.mjs +0 -0
  68. package/dist/chunk-R7GQHCN4.mjs +30 -0
  69. package/dist/{chunk-6KVF3ELJ.mjs → chunk-RNALWA7A.mjs} +3 -3
  70. package/dist/{chunk-45BJGKVZ.mjs → chunk-S4F2KVFJ.mjs} +1 -1
  71. package/dist/{chunk-E5575U2F.mjs → chunk-S7FSULI3.mjs} +1 -1
  72. package/dist/{chunk-TES7CVGU.mjs → chunk-SNLXFZB6.mjs} +1 -1
  73. package/dist/{chunk-Y4KHO6LN.mjs → chunk-TEOA6K5L.mjs} +1 -1
  74. package/dist/{chunk-E2GAXTBX.mjs → chunk-UBQPNSMU.mjs} +1 -1
  75. package/dist/{chunk-FDAXJJHU.mjs → chunk-UGZSXQQQ.mjs} +1 -1
  76. package/dist/{chunk-GRO36EUL.mjs → chunk-UL2XL6BN.mjs} +1 -1
  77. package/dist/{chunk-GD4NFQGX.mjs → chunk-UOEKLXX4.mjs} +1 -1
  78. package/dist/{chunk-WUMZCEIJ.mjs → chunk-VO6ZLGZ7.mjs} +5 -5
  79. package/dist/{chunk-QC72RAQS.mjs → chunk-VT7SFAQF.mjs} +1 -1
  80. package/dist/{chunk-WYPGZY5Q.mjs → chunk-WKI6D7BR.mjs} +2 -2
  81. package/dist/{chunk-BRBGRJ2I.mjs → chunk-X5URKHFD.mjs} +2 -2
  82. package/dist/{chunk-ENRMC5K7.mjs → chunk-YBSM5D5N.mjs} +1 -1
  83. package/dist/form/error-message/error-message.d.mts +12 -0
  84. package/dist/form/error-message/error-message.d.ts +12 -0
  85. package/dist/form/error-message/error-message.js +66 -0
  86. package/dist/form/error-message/error-message.mjs +7 -0
  87. package/dist/form/error-message/index.d.mts +3 -0
  88. package/dist/form/error-message/index.d.ts +3 -0
  89. package/dist/form/error-message/index.js +72 -0
  90. package/dist/form/error-message/index.mjs +8 -0
  91. package/dist/form/fieldset/fieldset.d.mts +20 -0
  92. package/dist/form/fieldset/fieldset.d.ts +20 -0
  93. package/dist/{input-group/input-group.js → form/fieldset/fieldset.js} +65 -61
  94. package/dist/form/fieldset/fieldset.mjs +9 -0
  95. package/dist/form/fieldset/index.d.mts +2 -0
  96. package/dist/form/fieldset/index.d.ts +2 -0
  97. package/dist/form/fieldset/index.js +152 -0
  98. package/dist/form/fieldset/index.mjs +10 -0
  99. package/dist/form/index.d.mts +6 -0
  100. package/dist/form/index.d.ts +6 -0
  101. package/dist/form/index.js +375 -0
  102. package/dist/form/index.mjs +28 -0
  103. package/dist/{input/input.js → form/input/index.js} +70 -27
  104. package/dist/form/input/index.mjs +12 -0
  105. package/dist/{input/index.js → form/input/input.js} +60 -31
  106. package/dist/form/input/input.mjs +11 -0
  107. package/dist/form/input-group/index.d.mts +2 -0
  108. package/dist/form/input-group/index.d.ts +2 -0
  109. package/dist/{select/select.js → form/input-group/index.js} +60 -49
  110. package/dist/form/input-group/index.mjs +10 -0
  111. package/dist/{input-group → form/input-group}/input-group.d.mts +1 -7
  112. package/dist/{input-group → form/input-group}/input-group.d.ts +1 -7
  113. package/dist/{input-group/index.js → form/input-group/input-group.js} +51 -21
  114. package/dist/form/input-group/input-group.mjs +9 -0
  115. package/dist/form/select/index.js +216 -0
  116. package/dist/form/select/index.mjs +12 -0
  117. package/dist/{select/index.js → form/select/select.js} +60 -31
  118. package/dist/form/select/select.mjs +11 -0
  119. package/dist/{textarea/textarea.js → form/textarea/index.js} +70 -27
  120. package/dist/form/textarea/index.mjs +12 -0
  121. package/dist/{textarea/index.js → form/textarea/textarea.js} +60 -31
  122. package/dist/form/textarea/textarea.mjs +11 -0
  123. package/dist/index.d.mts +9 -7
  124. package/dist/index.d.ts +9 -7
  125. package/dist/index.js +434 -229
  126. package/dist/index.mjs +64 -46
  127. package/dist/layout/container/container.d.mts +1 -1
  128. package/dist/layout/container/container.d.ts +1 -1
  129. package/dist/layout/container/container.mjs +2 -2
  130. package/dist/layout/index.d.mts +1 -1
  131. package/dist/layout/index.d.ts +1 -1
  132. package/dist/layout/index.mjs +2 -2
  133. package/dist/link/index.d.mts +1 -1
  134. package/dist/link/index.d.ts +1 -1
  135. package/dist/link/index.mjs +2 -2
  136. package/dist/link/link.d.mts +1 -1
  137. package/dist/link/link.d.ts +1 -1
  138. package/dist/link/link.mjs +2 -2
  139. package/dist/list/description-list.d.mts +4 -4
  140. package/dist/list/description-list.d.ts +4 -4
  141. package/dist/list/description-list.mjs +2 -2
  142. package/dist/list/index.mjs +6 -6
  143. package/dist/list/link-list.mjs +3 -3
  144. package/dist/list/list.mjs +2 -2
  145. package/dist/message/index.d.mts +1 -1
  146. package/dist/message/index.d.ts +1 -1
  147. package/dist/message/index.mjs +4 -4
  148. package/dist/message/message.d.mts +1 -1
  149. package/dist/message/message.d.ts +1 -1
  150. package/dist/message/message.mjs +3 -3
  151. package/dist/modal/index.d.mts +6 -3
  152. package/dist/modal/index.d.ts +6 -3
  153. package/dist/modal/index.js +71 -3
  154. package/dist/modal/index.mjs +4 -4
  155. package/dist/modal/modal.d.mts +21 -3
  156. package/dist/modal/modal.d.ts +21 -3
  157. package/dist/modal/modal.js +77 -5
  158. package/dist/modal/modal.mjs +11 -5
  159. package/dist/navbar/icons.d.mts +6 -0
  160. package/dist/navbar/icons.d.ts +6 -0
  161. package/dist/navbar/icons.js +50 -0
  162. package/dist/navbar/icons.mjs +9 -0
  163. package/dist/navbar/index.d.mts +1 -1
  164. package/dist/navbar/index.d.ts +1 -1
  165. package/dist/navbar/index.js +29217 -15
  166. package/dist/navbar/index.mjs +4 -3
  167. package/dist/navbar/navbar-expandable-menu.d.mts +3 -2
  168. package/dist/navbar/navbar-expandable-menu.d.ts +3 -2
  169. package/dist/navbar/navbar-expandable-menu.js +29217 -15
  170. package/dist/navbar/navbar-expandable-menu.mjs +3 -2
  171. package/dist/navbar/navbar.d.mts +1 -1
  172. package/dist/navbar/navbar.d.ts +1 -1
  173. package/dist/navbar/navbar.mjs +2 -2
  174. package/dist/prose/prose.d.mts +2 -2
  175. package/dist/prose/prose.d.ts +2 -2
  176. package/dist/prose/prose.mjs +3 -29
  177. package/dist/tabs/index.d.mts +1 -1
  178. package/dist/tabs/index.d.ts +1 -1
  179. package/dist/tabs/index.mjs +5 -5
  180. package/dist/tabs/tabs-content.d.mts +1 -1
  181. package/dist/tabs/tabs-content.d.ts +1 -1
  182. package/dist/tabs/tabs-content.mjs +2 -2
  183. package/dist/tabs/tabs-list.d.mts +1 -1
  184. package/dist/tabs/tabs-list.d.ts +1 -1
  185. package/dist/tabs/tabs-list.mjs +2 -2
  186. package/dist/tabs/tabs.d.mts +1 -1
  187. package/dist/tabs/tabs.d.ts +1 -1
  188. package/dist/tabs/tabs.mjs +2 -2
  189. package/dist/typography/index.d.mts +1 -1
  190. package/dist/typography/index.d.ts +1 -1
  191. package/dist/typography/index.mjs +2 -2
  192. package/dist/typography/typography.d.mts +1 -1
  193. package/dist/typography/typography.d.ts +1 -1
  194. package/dist/typography/typography.mjs +2 -2
  195. package/dist/warning-banner/index.d.mts +1 -1
  196. package/dist/warning-banner/index.d.ts +1 -1
  197. package/dist/warning-banner/index.mjs +4 -4
  198. package/dist/warning-banner/warning-banner.d.mts +1 -1
  199. package/dist/warning-banner/warning-banner.d.ts +1 -1
  200. package/dist/warning-banner/warning-banner.mjs +4 -4
  201. package/package.json +5 -4
  202. package/dist/chunk-FUJQIYOF.mjs +0 -37
  203. package/dist/chunk-OB6UNSKV.mjs +0 -60
  204. package/dist/chunk-T5W5SKZP.mjs +0 -80
  205. package/dist/input/index.mjs +0 -10
  206. package/dist/input/input.mjs +0 -9
  207. package/dist/input-group/index.d.mts +0 -2
  208. package/dist/input-group/index.d.ts +0 -2
  209. package/dist/input-group/index.mjs +0 -8
  210. package/dist/input-group/input-group.mjs +0 -7
  211. package/dist/select/index.mjs +0 -10
  212. package/dist/select/select.mjs +0 -9
  213. package/dist/textarea/index.mjs +0 -10
  214. package/dist/textarea/textarea.mjs +0 -9
  215. /package/dist/{input → form/input}/index.d.mts +0 -0
  216. /package/dist/{input → form/input}/index.d.ts +0 -0
  217. /package/dist/{input → form/input}/input.d.mts +0 -0
  218. /package/dist/{input → form/input}/input.d.ts +0 -0
  219. /package/dist/{select → form/select}/index.d.mts +0 -0
  220. /package/dist/{select → form/select}/index.d.ts +0 -0
  221. /package/dist/{select → form/select}/select.d.mts +0 -0
  222. /package/dist/{select → form/select}/select.d.ts +0 -0
  223. /package/dist/{textarea → form/textarea}/index.d.mts +0 -0
  224. /package/dist/{textarea → form/textarea}/index.d.ts +0 -0
  225. /package/dist/{textarea → form/textarea}/textarea.d.mts +0 -0
  226. /package/dist/{textarea → form/textarea}/textarea.d.ts +0 -0
  227. /package/dist/{utils-BfZsjuFH.d.mts → utils-3jLhIyOS.d.mts} +0 -0
  228. /package/dist/{utils-BfZsjuFH.d.ts → utils-3jLhIyOS.d.ts} +0 -0
@@ -0,0 +1,70 @@
1
+ var __create = Object.create;
2
+ var __defProp = Object.defineProperty;
3
+ var __defProps = Object.defineProperties;
4
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
5
+ var __getOwnPropDescs = Object.getOwnPropertyDescriptors;
6
+ var __getOwnPropNames = Object.getOwnPropertyNames;
7
+ var __getOwnPropSymbols = Object.getOwnPropertySymbols;
8
+ var __getProtoOf = Object.getPrototypeOf;
9
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
10
+ var __propIsEnum = Object.prototype.propertyIsEnumerable;
11
+ var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
12
+ var __spreadValues = (a, b) => {
13
+ for (var prop in b || (b = {}))
14
+ if (__hasOwnProp.call(b, prop))
15
+ __defNormalProp(a, prop, b[prop]);
16
+ if (__getOwnPropSymbols)
17
+ for (var prop of __getOwnPropSymbols(b)) {
18
+ if (__propIsEnum.call(b, prop))
19
+ __defNormalProp(a, prop, b[prop]);
20
+ }
21
+ return a;
22
+ };
23
+ var __spreadProps = (a, b) => __defProps(a, __getOwnPropDescs(b));
24
+ var __require = /* @__PURE__ */ ((x) => typeof require !== "undefined" ? require : typeof Proxy !== "undefined" ? new Proxy(x, {
25
+ get: (a, b) => (typeof require !== "undefined" ? require : a)[b]
26
+ }) : x)(function(x) {
27
+ if (typeof require !== "undefined")
28
+ return require.apply(this, arguments);
29
+ throw Error('Dynamic require of "' + x + '" is not supported');
30
+ });
31
+ var __objRest = (source, exclude) => {
32
+ var target = {};
33
+ for (var prop in source)
34
+ if (__hasOwnProp.call(source, prop) && exclude.indexOf(prop) < 0)
35
+ target[prop] = source[prop];
36
+ if (source != null && __getOwnPropSymbols)
37
+ for (var prop of __getOwnPropSymbols(source)) {
38
+ if (exclude.indexOf(prop) < 0 && __propIsEnum.call(source, prop))
39
+ target[prop] = source[prop];
40
+ }
41
+ return target;
42
+ };
43
+ var __commonJS = (cb, mod) => function __require2() {
44
+ return mod || (0, cb[__getOwnPropNames(cb)[0]])((mod = { exports: {} }).exports, mod), mod.exports;
45
+ };
46
+ var __copyProps = (to, from, except, desc) => {
47
+ if (from && typeof from === "object" || typeof from === "function") {
48
+ for (let key of __getOwnPropNames(from))
49
+ if (!__hasOwnProp.call(to, key) && key !== except)
50
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
51
+ }
52
+ return to;
53
+ };
54
+ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
55
+ // If the importer is in node compatibility mode or this is not an ESM
56
+ // file that has been converted to a CommonJS file using a Babel-
57
+ // compatible transform (i.e. "__esModule" has not been set), then set
58
+ // "default" to the CommonJS "module.exports" for node compatibility.
59
+ isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
60
+ mod
61
+ ));
62
+
63
+ export {
64
+ __spreadValues,
65
+ __spreadProps,
66
+ __require,
67
+ __objRest,
68
+ __commonJS,
69
+ __toESM
70
+ };
@@ -2,7 +2,7 @@ import {
2
2
  __objRest,
3
3
  __spreadProps,
4
4
  __spreadValues
5
- } from "./chunk-FUJQIYOF.mjs";
5
+ } from "./chunk-FKR5F35B.mjs";
6
6
 
7
7
  // src/breadcrumb/breadcrumb.tsx
8
8
  import { clsx } from "@postenbring/hedwig-css/typed-classname/index.mjs";
@@ -0,0 +1,25 @@
1
+ // src/navbar/icons.tsx
2
+ import { jsx } from "react/jsx-runtime";
3
+ function CloseIcon() {
4
+ return /* @__PURE__ */ jsx("svg", { "aria-hidden": true, viewBox: "0 0 384 512", xmlns: "http://www.w3.org/2000/svg", children: /* @__PURE__ */ jsx(
5
+ "path",
6
+ {
7
+ d: "M345 137c9.4-9.4 9.4-24.6 0-33.9s-24.6-9.4-33.9 0l-119 119L73 103c-9.4-9.4-24.6-9.4-33.9 0s-9.4 24.6 0 33.9l119 119L39 375c-9.4 9.4-9.4 24.6 0 33.9s24.6 9.4 33.9 0l119-119L311 409c9.4 9.4 24.6 9.4 33.9 0s9.4-24.6 0-33.9l-119-119L345 137z",
8
+ fill: "currentColor"
9
+ }
10
+ ) });
11
+ }
12
+ function MenuIcon() {
13
+ return /* @__PURE__ */ jsx("svg", { role: "img", viewBox: "0 0 448 512", xmlns: "http://www.w3.org/2000/svg", children: /* @__PURE__ */ jsx(
14
+ "path",
15
+ {
16
+ d: "M0 88C0 74.7 10.7 64 24 64H424c13.3 0 24 10.7 24 24s-10.7 24-24 24H24C10.7 112 0 101.3 0 88zM0 248c0-13.3 10.7-24 24-24H424c13.3 0 24 10.7 24 24s-10.7 24-24 24H24c-13.3 0-24-10.7-24-24zM448 408c0 13.3-10.7 24-24 24H24c-13.3 0-24-10.7-24-24s10.7-24 24-24H424c13.3 0 24 10.7 24 24z",
17
+ fill: "currentColor"
18
+ }
19
+ ) });
20
+ }
21
+
22
+ export {
23
+ CloseIcon,
24
+ MenuIcon
25
+ };
@@ -0,0 +1,72 @@
1
+ import {
2
+ ErrorMessage
3
+ } from "./chunk-R7GQHCN4.mjs";
4
+ import {
5
+ __objRest,
6
+ __spreadProps,
7
+ __spreadValues
8
+ } from "./chunk-FKR5F35B.mjs";
9
+
10
+ // src/form/fieldset/fieldset.tsx
11
+ import { useId, forwardRef } from "react";
12
+ import { clsx } from "@postenbring/hedwig-css/typed-classname/index.mjs";
13
+ import { jsx, jsxs } from "react/jsx-runtime";
14
+ var Fieldset = forwardRef(function Fieldset2(_a, ref) {
15
+ var _b = _a, {
16
+ className,
17
+ style,
18
+ errorMessage,
19
+ legendProps: _c = {}
20
+ } = _b, _d = _c, { size: legendSize = "default", className: legendClassName } = _d, legendProps = __objRest(_d, ["size", "className"]), _e = _b, {
21
+ legend,
22
+ children,
23
+ _unstableAriaLiveOnErrorMessage = false
24
+ } = _e, rest = __objRest(_e, [
25
+ "className",
26
+ "style",
27
+ "errorMessage",
28
+ "legendProps",
29
+ "legend",
30
+ "children",
31
+ "_unstableAriaLiveOnErrorMessage"
32
+ ]);
33
+ const errorMessageId = useId();
34
+ return /* @__PURE__ */ jsxs(
35
+ "fieldset",
36
+ __spreadProps(__spreadValues({
37
+ "aria-describedby": errorMessage ? errorMessageId : void 0,
38
+ "aria-invalid": errorMessage ? true : void 0,
39
+ className: clsx("hds-fieldset", className),
40
+ ref,
41
+ style
42
+ }, rest), {
43
+ children: [
44
+ /* @__PURE__ */ jsx(
45
+ "legend",
46
+ __spreadProps(__spreadValues({
47
+ className: clsx(
48
+ "hds-fieldset__legend",
49
+ { [`hds-fieldset__legend--${legendSize}`]: legendSize },
50
+ legendClassName
51
+ )
52
+ }, legendProps), {
53
+ children: legend
54
+ })
55
+ ),
56
+ /* @__PURE__ */ jsx("div", { className: clsx("hds-fieldset__input-wrapper"), children }),
57
+ /* @__PURE__ */ jsx(
58
+ ErrorMessage,
59
+ {
60
+ _unstableAriaLiveOnErrorMessage,
61
+ id: errorMessageId,
62
+ children: errorMessage
63
+ }
64
+ )
65
+ ]
66
+ })
67
+ );
68
+ });
69
+
70
+ export {
71
+ Fieldset
72
+ };
@@ -1,15 +1,15 @@
1
1
  import {
2
2
  AccordionContent
3
- } from "./chunk-Q3SWHAU3.mjs";
3
+ } from "./chunk-4M3GIRQZ.mjs";
4
4
  import {
5
5
  AccordionHeader
6
- } from "./chunk-6XTXM4YQ.mjs";
6
+ } from "./chunk-A6HNU42U.mjs";
7
7
  import {
8
8
  AccordionItem
9
- } from "./chunk-QC72RAQS.mjs";
9
+ } from "./chunk-VT7SFAQF.mjs";
10
10
  import {
11
11
  Accordion
12
- } from "./chunk-SDJXW6U7.mjs";
12
+ } from "./chunk-5HF2PDRZ.mjs";
13
13
 
14
14
  // src/accordion/index.tsx
15
15
  import "@postenbring/hedwig-css/dist/fonts.css";
@@ -1,13 +1,13 @@
1
1
  import {
2
2
  InputGroup
3
- } from "./chunk-QAYPCD5Z.mjs";
3
+ } from "./chunk-6KRJB36T.mjs";
4
4
  import {
5
5
  __objRest,
6
6
  __spreadProps,
7
7
  __spreadValues
8
- } from "./chunk-FUJQIYOF.mjs";
8
+ } from "./chunk-FKR5F35B.mjs";
9
9
 
10
- // src/select/select.tsx
10
+ // src/form/select/select.tsx
11
11
  import { forwardRef } from "react";
12
12
  import { clsx } from "@postenbring/hedwig-css/typed-classname/index.mjs";
13
13
  import { jsx } from "react/jsx-runtime";
@@ -0,0 +1,5 @@
1
+ // src/form/fieldset/index.tsx
2
+ import "@postenbring/hedwig-css/dist/fonts.css";
3
+ import "@postenbring/hedwig-css/dist/tokens.css";
4
+ import "@postenbring/hedwig-css/dist/body.css";
5
+ import "@postenbring/hedwig-css/dist/fieldset.css";
@@ -1,4 +1,4 @@
1
- // src/select/index.tsx
1
+ // src/form/select/index.tsx
2
2
  import "@postenbring/hedwig-css/dist/fonts.css";
3
3
  import "@postenbring/hedwig-css/dist/tokens.css";
4
4
  import "@postenbring/hedwig-css/dist/body.css";
File without changes
@@ -0,0 +1,30 @@
1
+ import {
2
+ __spreadProps,
3
+ __spreadValues
4
+ } from "./chunk-FKR5F35B.mjs";
5
+
6
+ // src/form/error-message/error-message.tsx
7
+ import { clsx } from "@postenbring/hedwig-css/typed-classname/index.mjs";
8
+ import { jsx } from "react/jsx-runtime";
9
+ function ErrorMessage({
10
+ children,
11
+ id,
12
+ className,
13
+ _unstableAriaLiveOnErrorMessage
14
+ }) {
15
+ return /* @__PURE__ */ jsx(
16
+ "div",
17
+ __spreadProps(__spreadValues({}, _unstableAriaLiveOnErrorMessage && {
18
+ "aria-live": "polite",
19
+ "aria-relevant": "additions removals"
20
+ }), {
21
+ className: clsx("hds-error-message", className),
22
+ id,
23
+ children
24
+ })
25
+ );
26
+ }
27
+
28
+ export {
29
+ ErrorMessage
30
+ };
@@ -1,13 +1,13 @@
1
1
  import {
2
2
  InputGroup
3
- } from "./chunk-QAYPCD5Z.mjs";
3
+ } from "./chunk-6KRJB36T.mjs";
4
4
  import {
5
5
  __objRest,
6
6
  __spreadProps,
7
7
  __spreadValues
8
- } from "./chunk-FUJQIYOF.mjs";
8
+ } from "./chunk-FKR5F35B.mjs";
9
9
 
10
- // src/input/input.tsx
10
+ // src/form/input/input.tsx
11
11
  import { forwardRef } from "react";
12
12
  import { clsx } from "@postenbring/hedwig-css/typed-classname/index.mjs";
13
13
  import { jsx } from "react/jsx-runtime";
@@ -1,4 +1,4 @@
1
- // src/input-group/index.tsx
1
+ // src/form/input-group/index.tsx
2
2
  import "@postenbring/hedwig-css/dist/fonts.css";
3
3
  import "@postenbring/hedwig-css/dist/tokens.css";
4
4
  import "@postenbring/hedwig-css/dist/body.css";
@@ -9,7 +9,7 @@ import {
9
9
  CardBodyHeaderTitle,
10
10
  CardMedia,
11
11
  CardMediaImg
12
- } from "./chunk-LICHSDMT.mjs";
12
+ } from "./chunk-B3SD7RZV.mjs";
13
13
 
14
14
  // src/card/index.tsx
15
15
  import "@postenbring/hedwig-css/dist/fonts.css";
@@ -2,7 +2,7 @@ import {
2
2
  __objRest,
3
3
  __spreadProps,
4
4
  __spreadValues
5
- } from "./chunk-FUJQIYOF.mjs";
5
+ } from "./chunk-FKR5F35B.mjs";
6
6
 
7
7
  // src/link/link.tsx
8
8
  import { clsx } from "@postenbring/hedwig-css/typed-classname/index.mjs";
@@ -2,7 +2,7 @@ import {
2
2
  __objRest,
3
3
  __spreadProps,
4
4
  __spreadValues
5
- } from "./chunk-FUJQIYOF.mjs";
5
+ } from "./chunk-FKR5F35B.mjs";
6
6
 
7
7
  // src/typography/typography.tsx
8
8
  import { forwardRef } from "react";
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  Box,
3
3
  BoxCloseButton
4
- } from "./chunk-WTMT5WCJ.mjs";
4
+ } from "./chunk-3EENBGOV.mjs";
5
5
 
6
6
  // src/box/index.tsx
7
7
  import "@postenbring/hedwig-css/dist/fonts.css";
@@ -2,7 +2,7 @@ import {
2
2
  __objRest,
3
3
  __spreadProps,
4
4
  __spreadValues
5
- } from "./chunk-FUJQIYOF.mjs";
5
+ } from "./chunk-FKR5F35B.mjs";
6
6
 
7
7
  // src/navbar/navbar.tsx
8
8
  import { forwardRef } from "react";
@@ -5,7 +5,7 @@ import {
5
5
  __objRest,
6
6
  __spreadProps,
7
7
  __spreadValues
8
- } from "./chunk-FUJQIYOF.mjs";
8
+ } from "./chunk-FKR5F35B.mjs";
9
9
 
10
10
  // src/tabs/tabs-content.tsx
11
11
  import { forwardRef, useContext } from "react";
@@ -2,7 +2,7 @@ import {
2
2
  __objRest,
3
3
  __spreadProps,
4
4
  __spreadValues
5
- } from "./chunk-FUJQIYOF.mjs";
5
+ } from "./chunk-FKR5F35B.mjs";
6
6
 
7
7
  // src/layout/container/container.tsx
8
8
  import { clsx } from "@postenbring/hedwig-css/typed-classname/index.mjs";
@@ -1,14 +1,14 @@
1
- import {
2
- Tabs
3
- } from "./chunk-ZLCNSHLT.mjs";
4
1
  import {
5
2
  TabsContent,
6
3
  TabsContents
7
- } from "./chunk-GRO36EUL.mjs";
4
+ } from "./chunk-UL2XL6BN.mjs";
8
5
  import {
9
6
  Tab,
10
7
  TabsList
11
- } from "./chunk-G3JPULGO.mjs";
8
+ } from "./chunk-4LB35CUY.mjs";
9
+ import {
10
+ Tabs
11
+ } from "./chunk-C2VTAQEP.mjs";
12
12
 
13
13
  // src/tabs/index.tsx
14
14
  import "@postenbring/hedwig-css/dist/fonts.css";
@@ -5,7 +5,7 @@ import {
5
5
  __objRest,
6
6
  __spreadProps,
7
7
  __spreadValues
8
- } from "./chunk-FUJQIYOF.mjs";
8
+ } from "./chunk-FKR5F35B.mjs";
9
9
 
10
10
  // src/accordion/accordion-item.tsx
11
11
  import { forwardRef, useState } from "react";
@@ -1,11 +1,11 @@
1
1
  import {
2
2
  Box
3
- } from "./chunk-WTMT5WCJ.mjs";
3
+ } from "./chunk-3EENBGOV.mjs";
4
4
  import {
5
5
  __objRest,
6
6
  __spreadProps,
7
7
  __spreadValues
8
- } from "./chunk-FUJQIYOF.mjs";
8
+ } from "./chunk-FKR5F35B.mjs";
9
9
 
10
10
  // src/message/message.tsx
11
11
  import { forwardRef } from "react";
@@ -1,10 +1,10 @@
1
1
  import {
2
2
  UnorderedList
3
- } from "./chunk-RY53CJI7.mjs";
3
+ } from "./chunk-BEXOLUXV.mjs";
4
4
  import {
5
5
  __spreadProps,
6
6
  __spreadValues
7
- } from "./chunk-FUJQIYOF.mjs";
7
+ } from "./chunk-FKR5F35B.mjs";
8
8
 
9
9
  // src/list/link-list.tsx
10
10
  import { jsx } from "react/jsx-runtime";
@@ -2,7 +2,7 @@ import {
2
2
  __objRest,
3
3
  __spreadProps,
4
4
  __spreadValues
5
- } from "./chunk-FUJQIYOF.mjs";
5
+ } from "./chunk-FKR5F35B.mjs";
6
6
 
7
7
  // src/button/button.tsx
8
8
  import { forwardRef } from "react";
@@ -0,0 +1,12 @@
1
+ import * as react_jsx_runtime from 'react/jsx-runtime';
2
+ import { ReactNode } from 'react';
3
+
4
+ interface ErrorMessageProps {
5
+ children: ReactNode;
6
+ id: string;
7
+ className?: string;
8
+ _unstableAriaLiveOnErrorMessage?: boolean;
9
+ }
10
+ declare function ErrorMessage({ children, id, className, _unstableAriaLiveOnErrorMessage, }: ErrorMessageProps): react_jsx_runtime.JSX.Element;
11
+
12
+ export { ErrorMessage, type ErrorMessageProps };
@@ -0,0 +1,12 @@
1
+ import * as react_jsx_runtime from 'react/jsx-runtime';
2
+ import { ReactNode } from 'react';
3
+
4
+ interface ErrorMessageProps {
5
+ children: ReactNode;
6
+ id: string;
7
+ className?: string;
8
+ _unstableAriaLiveOnErrorMessage?: boolean;
9
+ }
10
+ declare function ErrorMessage({ children, id, className, _unstableAriaLiveOnErrorMessage, }: ErrorMessageProps): react_jsx_runtime.JSX.Element;
11
+
12
+ export { ErrorMessage, type ErrorMessageProps };
@@ -0,0 +1,66 @@
1
+ "use strict";
2
+ var __defProp = Object.defineProperty;
3
+ var __defProps = Object.defineProperties;
4
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
5
+ var __getOwnPropDescs = Object.getOwnPropertyDescriptors;
6
+ var __getOwnPropNames = Object.getOwnPropertyNames;
7
+ var __getOwnPropSymbols = Object.getOwnPropertySymbols;
8
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
9
+ var __propIsEnum = Object.prototype.propertyIsEnumerable;
10
+ var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
11
+ var __spreadValues = (a, b) => {
12
+ for (var prop in b || (b = {}))
13
+ if (__hasOwnProp.call(b, prop))
14
+ __defNormalProp(a, prop, b[prop]);
15
+ if (__getOwnPropSymbols)
16
+ for (var prop of __getOwnPropSymbols(b)) {
17
+ if (__propIsEnum.call(b, prop))
18
+ __defNormalProp(a, prop, b[prop]);
19
+ }
20
+ return a;
21
+ };
22
+ var __spreadProps = (a, b) => __defProps(a, __getOwnPropDescs(b));
23
+ var __export = (target, all) => {
24
+ for (var name in all)
25
+ __defProp(target, name, { get: all[name], enumerable: true });
26
+ };
27
+ var __copyProps = (to, from, except, desc) => {
28
+ if (from && typeof from === "object" || typeof from === "function") {
29
+ for (let key of __getOwnPropNames(from))
30
+ if (!__hasOwnProp.call(to, key) && key !== except)
31
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
32
+ }
33
+ return to;
34
+ };
35
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
36
+
37
+ // src/form/error-message/error-message.tsx
38
+ var error_message_exports = {};
39
+ __export(error_message_exports, {
40
+ ErrorMessage: () => ErrorMessage
41
+ });
42
+ module.exports = __toCommonJS(error_message_exports);
43
+ var import_typed_classname = require("@postenbring/hedwig-css/typed-classname/index.mjs");
44
+ var import_jsx_runtime = require("react/jsx-runtime");
45
+ function ErrorMessage({
46
+ children,
47
+ id,
48
+ className,
49
+ _unstableAriaLiveOnErrorMessage
50
+ }) {
51
+ return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
52
+ "div",
53
+ __spreadProps(__spreadValues({}, _unstableAriaLiveOnErrorMessage && {
54
+ "aria-live": "polite",
55
+ "aria-relevant": "additions removals"
56
+ }), {
57
+ className: (0, import_typed_classname.clsx)("hds-error-message", className),
58
+ id,
59
+ children
60
+ })
61
+ );
62
+ }
63
+ // Annotate the CommonJS export names for ESM import in node:
64
+ 0 && (module.exports = {
65
+ ErrorMessage
66
+ });
@@ -0,0 +1,7 @@
1
+ import {
2
+ ErrorMessage
3
+ } from "../../chunk-R7GQHCN4.mjs";
4
+ import "../../chunk-FKR5F35B.mjs";
5
+ export {
6
+ ErrorMessage
7
+ };
@@ -0,0 +1,3 @@
1
+ export { ErrorMessage, ErrorMessageProps } from './error-message.mjs';
2
+ import 'react/jsx-runtime';
3
+ import 'react';
@@ -0,0 +1,3 @@
1
+ export { ErrorMessage, ErrorMessageProps } from './error-message.js';
2
+ import 'react/jsx-runtime';
3
+ import 'react';
@@ -0,0 +1,72 @@
1
+ "use strict";
2
+ var __defProp = Object.defineProperty;
3
+ var __defProps = Object.defineProperties;
4
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
5
+ var __getOwnPropDescs = Object.getOwnPropertyDescriptors;
6
+ var __getOwnPropNames = Object.getOwnPropertyNames;
7
+ var __getOwnPropSymbols = Object.getOwnPropertySymbols;
8
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
9
+ var __propIsEnum = Object.prototype.propertyIsEnumerable;
10
+ var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
11
+ var __spreadValues = (a, b) => {
12
+ for (var prop in b || (b = {}))
13
+ if (__hasOwnProp.call(b, prop))
14
+ __defNormalProp(a, prop, b[prop]);
15
+ if (__getOwnPropSymbols)
16
+ for (var prop of __getOwnPropSymbols(b)) {
17
+ if (__propIsEnum.call(b, prop))
18
+ __defNormalProp(a, prop, b[prop]);
19
+ }
20
+ return a;
21
+ };
22
+ var __spreadProps = (a, b) => __defProps(a, __getOwnPropDescs(b));
23
+ var __export = (target, all) => {
24
+ for (var name in all)
25
+ __defProp(target, name, { get: all[name], enumerable: true });
26
+ };
27
+ var __copyProps = (to, from, except, desc) => {
28
+ if (from && typeof from === "object" || typeof from === "function") {
29
+ for (let key of __getOwnPropNames(from))
30
+ if (!__hasOwnProp.call(to, key) && key !== except)
31
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
32
+ }
33
+ return to;
34
+ };
35
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
36
+
37
+ // src/form/error-message/index.tsx
38
+ var error_message_exports = {};
39
+ __export(error_message_exports, {
40
+ ErrorMessage: () => ErrorMessage
41
+ });
42
+ module.exports = __toCommonJS(error_message_exports);
43
+ var import_fonts = require("@postenbring/hedwig-css/dist/fonts.css");
44
+ var import_tokens = require("@postenbring/hedwig-css/dist/tokens.css");
45
+ var import_body = require("@postenbring/hedwig-css/dist/body.css");
46
+ var import_error_message = require("@postenbring/hedwig-css/dist/error-message.css");
47
+
48
+ // src/form/error-message/error-message.tsx
49
+ var import_typed_classname = require("@postenbring/hedwig-css/typed-classname/index.mjs");
50
+ var import_jsx_runtime = require("react/jsx-runtime");
51
+ function ErrorMessage({
52
+ children,
53
+ id,
54
+ className,
55
+ _unstableAriaLiveOnErrorMessage
56
+ }) {
57
+ return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
58
+ "div",
59
+ __spreadProps(__spreadValues({}, _unstableAriaLiveOnErrorMessage && {
60
+ "aria-live": "polite",
61
+ "aria-relevant": "additions removals"
62
+ }), {
63
+ className: (0, import_typed_classname.clsx)("hds-error-message", className),
64
+ id,
65
+ children
66
+ })
67
+ );
68
+ }
69
+ // Annotate the CommonJS export names for ESM import in node:
70
+ 0 && (module.exports = {
71
+ ErrorMessage
72
+ });
@@ -0,0 +1,8 @@
1
+ import "../../chunk-67OMX7FP.mjs";
2
+ import {
3
+ ErrorMessage
4
+ } from "../../chunk-R7GQHCN4.mjs";
5
+ import "../../chunk-FKR5F35B.mjs";
6
+ export {
7
+ ErrorMessage
8
+ };
@@ -0,0 +1,20 @@
1
+ import * as react from 'react';
2
+ import { FieldsetHTMLAttributes, CSSProperties, ReactNode, HTMLAttributes } from 'react';
3
+
4
+ interface FieldsetProps extends FieldsetHTMLAttributes<HTMLFieldSetElement> {
5
+ className?: string;
6
+ style?: CSSProperties;
7
+ errorMessage?: ReactNode;
8
+ legendProps?: HTMLAttributes<HTMLElement> & {
9
+ size: "default" | "large";
10
+ };
11
+ legend: ReactNode;
12
+ children: ReactNode;
13
+ _unstableAriaLiveOnErrorMessage?: boolean;
14
+ }
15
+ /**
16
+ * 🚨 WORK IN PROGRESS 🚨
17
+ */
18
+ declare const Fieldset: react.ForwardRefExoticComponent<FieldsetProps & react.RefAttributes<HTMLFieldSetElement>>;
19
+
20
+ export { Fieldset, type FieldsetProps };