@postenbring/hedwig-react 0.0.65 → 0.0.67

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 (236) hide show
  1. package/dist/_tsup-dts-rollup.d.mts +333 -178
  2. package/dist/_tsup-dts-rollup.d.ts +333 -178
  3. package/dist/accordion/index.d.mts +3 -3
  4. package/dist/accordion/index.d.ts +3 -3
  5. package/dist/accordion/index.js +8 -2
  6. package/dist/accordion/index.js.map +1 -1
  7. package/dist/accordion/index.mjs +14 -5
  8. package/dist/box/index.d.mts +1 -1
  9. package/dist/box/index.d.ts +1 -1
  10. package/dist/box/index.js +4 -2
  11. package/dist/box/index.js.map +1 -1
  12. package/dist/box/index.mjs +6 -3
  13. package/dist/card/index.d.mts +2 -2
  14. package/dist/card/index.d.ts +2 -2
  15. package/dist/card/index.js +12 -2
  16. package/dist/card/index.js.map +1 -1
  17. package/dist/card/index.mjs +14 -3
  18. package/dist/{chunk-POJTVNEO.mjs → chunk-2FXMUF6K.mjs} +2 -2
  19. package/dist/chunk-2FXMUF6K.mjs.map +1 -0
  20. package/dist/{chunk-DEVTAZKG.mjs → chunk-3KZOKDKP.mjs} +14 -3
  21. package/dist/chunk-3KZOKDKP.mjs.map +1 -0
  22. package/dist/{chunk-XFSZBILE.mjs → chunk-6NGF7FFY.mjs} +2 -2
  23. package/dist/{chunk-MUVJAMFN.mjs → chunk-B56JZJOS.mjs} +10 -8
  24. package/dist/chunk-B56JZJOS.mjs.map +1 -0
  25. package/dist/{chunk-RVJD2UZF.mjs → chunk-DFH4YKQA.mjs} +2 -2
  26. package/dist/chunk-DFH4YKQA.mjs.map +1 -0
  27. package/dist/{chunk-HXV2UMEV.mjs → chunk-DM4PJFLG.mjs} +2 -2
  28. package/dist/{chunk-HXV2UMEV.mjs.map → chunk-DM4PJFLG.mjs.map} +1 -1
  29. package/dist/{chunk-AR2NOI4U.mjs → chunk-EJ7ANN7M.mjs} +1 -1
  30. package/dist/{chunk-AR2NOI4U.mjs.map → chunk-EJ7ANN7M.mjs.map} +1 -1
  31. package/dist/chunk-F4STR6SD.mjs +18 -0
  32. package/dist/chunk-F4STR6SD.mjs.map +1 -0
  33. package/dist/{chunk-TE5M6GJB.mjs → chunk-FOZSX44S.mjs} +2 -2
  34. package/dist/{chunk-TE5M6GJB.mjs.map → chunk-FOZSX44S.mjs.map} +1 -1
  35. package/dist/chunk-G2SOAFGS.mjs +86 -0
  36. package/dist/chunk-G2SOAFGS.mjs.map +1 -0
  37. package/dist/{chunk-RLUXDZ6X.mjs → chunk-HMB4TY2F.mjs} +3 -3
  38. package/dist/{chunk-U2MRMUB2.mjs → chunk-K2HG7WRK.mjs} +2 -2
  39. package/dist/{chunk-U2MRMUB2.mjs.map → chunk-K2HG7WRK.mjs.map} +1 -1
  40. package/dist/{chunk-RK6BB3HH.mjs → chunk-KTRIVJM3.mjs} +2 -2
  41. package/dist/chunk-L4GQJETB.mjs +1 -0
  42. package/dist/chunk-NE6W2PCD.mjs +9 -0
  43. package/dist/chunk-NE6W2PCD.mjs.map +1 -0
  44. package/dist/{chunk-BZNDK3KJ.mjs → chunk-NMMFIRLZ.mjs} +1 -1
  45. package/dist/{chunk-BZNDK3KJ.mjs.map → chunk-NMMFIRLZ.mjs.map} +1 -1
  46. package/dist/{chunk-EHUVLDIZ.mjs → chunk-O32FZU7E.mjs} +11 -14
  47. package/dist/chunk-O32FZU7E.mjs.map +1 -0
  48. package/dist/{chunk-IAS3E2S3.mjs → chunk-PUESATBQ.mjs} +2 -2
  49. package/dist/chunk-QGZU7Z2W.mjs +51 -0
  50. package/dist/chunk-QGZU7Z2W.mjs.map +1 -0
  51. package/dist/{chunk-QSYU64U4.mjs → chunk-QYSLVQ4F.mjs} +2 -2
  52. package/dist/{chunk-QSYU64U4.mjs.map → chunk-QYSLVQ4F.mjs.map} +1 -1
  53. package/dist/{chunk-X7EKQZNU.mjs → chunk-RHCMBJOT.mjs} +2 -2
  54. package/dist/chunk-TDLSHJ4Z.mjs +1 -0
  55. package/dist/{chunk-SKI2APSK.mjs → chunk-TNU64NUN.mjs} +13 -7
  56. package/dist/chunk-TNU64NUN.mjs.map +1 -0
  57. package/dist/{chunk-JC6DBIFE.mjs → chunk-XE4UZBL2.mjs} +1 -1
  58. package/dist/{chunk-JC6DBIFE.mjs.map → chunk-XE4UZBL2.mjs.map} +1 -1
  59. package/dist/chunk-XFKD6EEJ.mjs +1 -0
  60. package/dist/chunk-XFKD6EEJ.mjs.map +1 -0
  61. package/dist/{chunk-LIQ3FB56.mjs → chunk-XYIY6FHW.mjs} +7 -7
  62. package/dist/{chunk-LIQ3FB56.mjs.map → chunk-XYIY6FHW.mjs.map} +1 -1
  63. package/dist/{chunk-6TI7ACBR.mjs → chunk-YC7MT6SO.mjs} +2 -2
  64. package/dist/{chunk-WCA2WPFS.mjs → chunk-ZL56N4UK.mjs} +14 -2
  65. package/dist/{chunk-WCA2WPFS.mjs.map → chunk-ZL56N4UK.mjs.map} +1 -1
  66. package/dist/{chunk-VFFIUNR6.mjs → chunk-ZRFDCZ62.mjs} +5 -5
  67. package/dist/chunk-ZRFDCZ62.mjs.map +1 -0
  68. package/dist/footer/footer.js +9 -12
  69. package/dist/footer/footer.js.map +1 -1
  70. package/dist/footer/footer.mjs +5 -5
  71. package/dist/footer/index.d.mts +3 -3
  72. package/dist/footer/index.d.ts +3 -3
  73. package/dist/footer/index.js +19 -14
  74. package/dist/footer/index.js.map +1 -1
  75. package/dist/footer/index.mjs +16 -7
  76. package/dist/form/checkbox/checkbox.js +1 -1
  77. package/dist/form/checkbox/checkbox.js.map +1 -1
  78. package/dist/form/checkbox/checkbox.mjs +2 -2
  79. package/dist/form/checkbox/index.js +1 -1
  80. package/dist/form/checkbox/index.js.map +1 -1
  81. package/dist/form/checkbox/index.mjs +2 -2
  82. package/dist/form/date-picker/date-picker.d.mts +2 -0
  83. package/dist/form/date-picker/date-picker.d.ts +2 -0
  84. package/dist/form/date-picker/date-picker.js +265 -0
  85. package/dist/form/date-picker/date-picker.js.map +1 -0
  86. package/dist/form/date-picker/date-picker.mjs +13 -0
  87. package/dist/form/date-picker/date-picker.mjs.map +1 -0
  88. package/dist/form/date-picker/index.d.mts +2 -0
  89. package/dist/form/date-picker/index.d.ts +2 -0
  90. package/dist/form/date-picker/index.js +267 -0
  91. package/dist/form/date-picker/index.js.map +1 -0
  92. package/dist/form/date-picker/index.mjs +14 -0
  93. package/dist/form/date-picker/index.mjs.map +1 -0
  94. package/dist/form/fieldset/fieldset.js +1 -1
  95. package/dist/form/fieldset/fieldset.js.map +1 -1
  96. package/dist/form/fieldset/fieldset.mjs +1 -1
  97. package/dist/form/fieldset/index.js +1 -1
  98. package/dist/form/fieldset/index.js.map +1 -1
  99. package/dist/form/fieldset/index.mjs +1 -1
  100. package/dist/form/index.d.mts +10 -8
  101. package/dist/form/index.d.ts +10 -8
  102. package/dist/form/index.js +240 -132
  103. package/dist/form/index.js.map +1 -1
  104. package/dist/form/index.mjs +20 -14
  105. package/dist/form/input/index.js +12 -6
  106. package/dist/form/input/index.js.map +1 -1
  107. package/dist/form/input/index.mjs +2 -2
  108. package/dist/form/input/input.js +12 -6
  109. package/dist/form/input/input.js.map +1 -1
  110. package/dist/form/input/input.mjs +2 -2
  111. package/dist/form/input-group/index.js +12 -6
  112. package/dist/form/input-group/index.js.map +1 -1
  113. package/dist/form/input-group/index.mjs +1 -1
  114. package/dist/form/input-group/input-group.js +12 -6
  115. package/dist/form/input-group/input-group.js.map +1 -1
  116. package/dist/form/input-group/input-group.mjs +1 -1
  117. package/dist/form/radiobutton/index.js +1 -1
  118. package/dist/form/radiobutton/index.js.map +1 -1
  119. package/dist/form/radiobutton/index.mjs +3 -3
  120. package/dist/form/radiobutton/radiobutton.js +1 -1
  121. package/dist/form/radiobutton/radiobutton.js.map +1 -1
  122. package/dist/form/radiobutton/radiobutton.mjs +3 -3
  123. package/dist/form/radiobutton/radiogroup.js +1 -1
  124. package/dist/form/radiobutton/radiogroup.js.map +1 -1
  125. package/dist/form/radiobutton/radiogroup.mjs +2 -2
  126. package/dist/form/select/index.js +12 -6
  127. package/dist/form/select/index.js.map +1 -1
  128. package/dist/form/select/index.mjs +2 -2
  129. package/dist/form/select/select.js +12 -6
  130. package/dist/form/select/select.js.map +1 -1
  131. package/dist/form/select/select.mjs +2 -2
  132. package/dist/form/textarea/index.js +12 -6
  133. package/dist/form/textarea/index.js.map +1 -1
  134. package/dist/form/textarea/index.mjs +2 -2
  135. package/dist/form/textarea/textarea.js +12 -6
  136. package/dist/form/textarea/textarea.js.map +1 -1
  137. package/dist/form/textarea/textarea.mjs +2 -2
  138. package/dist/index-no-css.d.mts +36 -28
  139. package/dist/index-no-css.d.ts +36 -28
  140. package/dist/index-no-css.js +614 -409
  141. package/dist/index-no-css.js.map +1 -1
  142. package/dist/index-no-css.mjs +130 -52
  143. package/dist/index.d.mts +36 -28
  144. package/dist/index.d.ts +36 -28
  145. package/dist/index.js +614 -409
  146. package/dist/index.js.map +1 -1
  147. package/dist/index.mjs +130 -52
  148. package/dist/index.mjs.map +1 -1
  149. package/dist/layout/index.d.mts +5 -1
  150. package/dist/layout/index.d.ts +5 -1
  151. package/dist/layout/index.js +62 -2
  152. package/dist/layout/index.js.map +1 -1
  153. package/dist/layout/index.mjs +12 -2
  154. package/dist/layout/responsive.d.mts +2 -0
  155. package/dist/layout/responsive.d.ts +2 -0
  156. package/dist/layout/responsive.js +42 -0
  157. package/dist/layout/responsive.js.map +1 -0
  158. package/dist/layout/responsive.mjs +8 -0
  159. package/dist/layout/responsive.mjs.map +1 -0
  160. package/dist/layout/spacing.d.mts +3 -0
  161. package/dist/layout/spacing.d.ts +3 -0
  162. package/dist/layout/spacing.js +33 -0
  163. package/dist/layout/spacing.js.map +1 -0
  164. package/dist/layout/spacing.mjs +8 -0
  165. package/dist/layout/spacing.mjs.map +1 -0
  166. package/dist/layout/stack/index.d.mts +4 -0
  167. package/dist/layout/stack/index.d.ts +4 -0
  168. package/dist/layout/stack/index.js +117 -0
  169. package/dist/layout/stack/index.js.map +1 -0
  170. package/dist/layout/stack/index.mjs +14 -0
  171. package/dist/layout/stack/index.mjs.map +1 -0
  172. package/dist/layout/stack/stack.d.mts +4 -0
  173. package/dist/layout/stack/stack.d.ts +4 -0
  174. package/dist/layout/stack/stack.js +115 -0
  175. package/dist/layout/stack/stack.js.map +1 -0
  176. package/dist/layout/stack/stack.mjs +14 -0
  177. package/dist/layout/stack/stack.mjs.map +1 -0
  178. package/dist/message/index.d.mts +2 -0
  179. package/dist/message/index.d.ts +2 -0
  180. package/dist/message/index.js +6 -2
  181. package/dist/message/index.js.map +1 -1
  182. package/dist/message/index.mjs +8 -3
  183. package/dist/message/message.d.mts +2 -2
  184. package/dist/message/message.d.ts +2 -2
  185. package/dist/modal/index.d.mts +2 -2
  186. package/dist/modal/index.d.ts +2 -2
  187. package/dist/modal/index.js +8 -2
  188. package/dist/modal/index.js.map +1 -1
  189. package/dist/modal/index.mjs +11 -4
  190. package/dist/modal/modal.js.map +1 -1
  191. package/dist/modal/modal.mjs +2 -2
  192. package/dist/navbar/index.d.mts +3 -3
  193. package/dist/navbar/index.d.ts +3 -3
  194. package/dist/navbar/index.js +42 -11
  195. package/dist/navbar/index.js.map +1 -1
  196. package/dist/navbar/index.mjs +13 -3
  197. package/dist/navbar/navbar-expandable-menu.js +34 -11
  198. package/dist/navbar/navbar-expandable-menu.js.map +1 -1
  199. package/dist/navbar/navbar-expandable-menu.mjs +2 -1
  200. package/dist/tabs/index.d.mts +5 -5
  201. package/dist/tabs/index.d.ts +5 -5
  202. package/dist/tabs/index.js +26 -6
  203. package/dist/tabs/index.js.map +1 -1
  204. package/dist/tabs/index.mjs +15 -5
  205. package/dist/tabs/tabs-list.d.mts +2 -2
  206. package/dist/tabs/tabs-list.d.ts +2 -2
  207. package/dist/tabs/tabs-list.js +19 -7
  208. package/dist/tabs/tabs-list.js.map +1 -1
  209. package/dist/tabs/tabs-list.mjs +6 -6
  210. package/dist/utils.d.mts +1 -0
  211. package/dist/utils.d.ts +1 -0
  212. package/dist/utils.js +13 -0
  213. package/dist/utils.js.map +1 -1
  214. package/dist/utils.mjs +3 -1
  215. package/dist/warning-banner/index.js.map +1 -1
  216. package/dist/warning-banner/index.mjs +2 -2
  217. package/dist/warning-banner/warning-banner.js.map +1 -1
  218. package/dist/warning-banner/warning-banner.mjs +2 -2
  219. package/package.json +4 -4
  220. package/dist/chunk-DEVTAZKG.mjs.map +0 -1
  221. package/dist/chunk-EHUVLDIZ.mjs.map +0 -1
  222. package/dist/chunk-MUVJAMFN.mjs.map +0 -1
  223. package/dist/chunk-OIQUYB26.mjs +0 -1
  224. package/dist/chunk-POJTVNEO.mjs.map +0 -1
  225. package/dist/chunk-RVJD2UZF.mjs.map +0 -1
  226. package/dist/chunk-SKI2APSK.mjs.map +0 -1
  227. package/dist/chunk-T24JZIQO.mjs +0 -1
  228. package/dist/chunk-VFFIUNR6.mjs.map +0 -1
  229. /package/dist/{chunk-XFSZBILE.mjs.map → chunk-6NGF7FFY.mjs.map} +0 -0
  230. /package/dist/{chunk-RLUXDZ6X.mjs.map → chunk-HMB4TY2F.mjs.map} +0 -0
  231. /package/dist/{chunk-RK6BB3HH.mjs.map → chunk-KTRIVJM3.mjs.map} +0 -0
  232. /package/dist/{chunk-OIQUYB26.mjs.map → chunk-L4GQJETB.mjs.map} +0 -0
  233. /package/dist/{chunk-IAS3E2S3.mjs.map → chunk-PUESATBQ.mjs.map} +0 -0
  234. /package/dist/{chunk-X7EKQZNU.mjs.map → chunk-RHCMBJOT.mjs.map} +0 -0
  235. /package/dist/{chunk-T24JZIQO.mjs.map → chunk-TDLSHJ4Z.mjs.map} +0 -0
  236. /package/dist/{chunk-6TI7ACBR.mjs.map → chunk-YC7MT6SO.mjs.map} +0 -0
package/dist/index.mjs CHANGED
@@ -1,9 +1,19 @@
1
1
  import "./chunk-YWNVB7TY.mjs";
2
+ import "./chunk-3D2MWIEX.mjs";
3
+ import {
4
+ WarningBanner
5
+ } from "./chunk-PUESATBQ.mjs";
2
6
  import {
3
7
  TabsComponent
4
- } from "./chunk-VFFIUNR6.mjs";
5
- import "./chunk-UWTGHSWT.mjs";
6
- import "./chunk-MUVJAMFN.mjs";
8
+ } from "./chunk-ZRFDCZ62.mjs";
9
+ import {
10
+ TabsContent,
11
+ TabsContents
12
+ } from "./chunk-UWTGHSWT.mjs";
13
+ import {
14
+ TabsList,
15
+ TabsTab
16
+ } from "./chunk-B56JZJOS.mjs";
7
17
  import "./chunk-XVFQWVHO.mjs";
8
18
  import {
9
19
  TextBody,
@@ -23,38 +33,71 @@ import {
23
33
  import {
24
34
  Text
25
35
  } from "./chunk-57SSGJ4X.mjs";
26
- import "./chunk-3D2MWIEX.mjs";
27
36
  import {
28
- WarningBanner
29
- } from "./chunk-IAS3E2S3.mjs";
37
+ ModalComponent
38
+ } from "./chunk-QYSLVQ4F.mjs";
39
+ import {
40
+ ModalContent,
41
+ ModalFooter,
42
+ ModalHeader
43
+ } from "./chunk-2FXMUF6K.mjs";
30
44
  import {
31
45
  NavbarComponent
32
- } from "./chunk-TE5M6GJB.mjs";
46
+ } from "./chunk-FOZSX44S.mjs";
33
47
  import {
34
48
  useNavbarExpendableMenuContext
35
- } from "./chunk-DEVTAZKG.mjs";
49
+ } from "./chunk-3KZOKDKP.mjs";
36
50
  import "./chunk-MGUYIOP2.mjs";
37
- import "./chunk-625SVQEP.mjs";
51
+ import {
52
+ NavbarButton,
53
+ NavbarLogo,
54
+ NavbarLogoAndServiceText,
55
+ NavbarNavigation
56
+ } from "./chunk-625SVQEP.mjs";
57
+ import "./chunk-L4GQJETB.mjs";
58
+ import {
59
+ Container
60
+ } from "./chunk-I6GDRDYD.mjs";
61
+ import {
62
+ HStack,
63
+ Stack,
64
+ VStack
65
+ } from "./chunk-QGZU7Z2W.mjs";
66
+ import "./chunk-XLLYMQLW.mjs";
67
+ import {
68
+ Link
69
+ } from "./chunk-5QL53TR2.mjs";
38
70
  import "./chunk-6QV3OV66.mjs";
39
71
  import {
40
72
  MessageComponent
41
- } from "./chunk-AR2NOI4U.mjs";
42
- import "./chunk-ME66RUR6.mjs";
73
+ } from "./chunk-EJ7ANN7M.mjs";
43
74
  import {
44
- ModalComponent
45
- } from "./chunk-QSYU64U4.mjs";
46
- import "./chunk-POJTVNEO.mjs";
75
+ MessageDescription,
76
+ MessageTitle
77
+ } from "./chunk-ME66RUR6.mjs";
47
78
  import {
48
79
  CardComponent
49
- } from "./chunk-JC6DBIFE.mjs";
80
+ } from "./chunk-XE4UZBL2.mjs";
81
+ import {
82
+ CardBody,
83
+ CardBodyHeader,
84
+ CardBodyHeaderOverline,
85
+ CardMedia,
86
+ CardMediaImg
87
+ } from "./chunk-X5JERDDU.mjs";
50
88
  import "./chunk-2YL2MVWN.mjs";
51
89
  import {
52
90
  DescriptionList
53
91
  } from "./chunk-XMB45ILT.mjs";
54
92
  import {
55
93
  FooterComponent
56
- } from "./chunk-U2MRMUB2.mjs";
57
- import "./chunk-EHUVLDIZ.mjs";
94
+ } from "./chunk-K2HG7WRK.mjs";
95
+ import {
96
+ FooterButtonLink,
97
+ FooterLinkSection,
98
+ FooterLinkSections,
99
+ FooterLogo
100
+ } from "./chunk-O32FZU7E.mjs";
58
101
  import {
59
102
  LinkList
60
103
  } from "./chunk-GJDRW6PA.mjs";
@@ -62,65 +105,70 @@ import {
62
105
  OrderedList,
63
106
  UnorderedList
64
107
  } from "./chunk-PMLDK3VC.mjs";
65
- import "./chunk-T24JZIQO.mjs";
108
+ import "./chunk-HT2EIJAD.mjs";
109
+ import "./chunk-XFKD6EEJ.mjs";
110
+ import "./chunk-BYEJZSG5.mjs";
111
+ import {
112
+ Select
113
+ } from "./chunk-DFH4YKQA.mjs";
66
114
  import "./chunk-AGZHQDCQ.mjs";
67
115
  import {
68
116
  Textarea
69
- } from "./chunk-RK6BB3HH.mjs";
117
+ } from "./chunk-KTRIVJM3.mjs";
118
+ import "./chunk-7LPYJC6S.mjs";
119
+ import {
120
+ Input
121
+ } from "./chunk-YC7MT6SO.mjs";
70
122
  import "./chunk-2KX7VFN2.mjs";
71
123
  import {
72
124
  Radiobutton
73
- } from "./chunk-RLUXDZ6X.mjs";
125
+ } from "./chunk-HMB4TY2F.mjs";
74
126
  import {
75
127
  RadioGroup,
76
128
  useRadioGroupContext
77
- } from "./chunk-XFSZBILE.mjs";
78
- import "./chunk-BYEJZSG5.mjs";
79
- import {
80
- Select
81
- } from "./chunk-RVJD2UZF.mjs";
129
+ } from "./chunk-6NGF7FFY.mjs";
82
130
  import "./chunk-YJOOSTJC.mjs";
83
131
  import {
84
132
  Checkbox
85
- } from "./chunk-X7EKQZNU.mjs";
133
+ } from "./chunk-RHCMBJOT.mjs";
86
134
  import "./chunk-LMF3QGSF.mjs";
87
135
  import {
88
136
  Fieldset,
89
137
  useFieldsetContext
90
- } from "./chunk-HXV2UMEV.mjs";
91
- import "./chunk-7LPYJC6S.mjs";
138
+ } from "./chunk-DM4PJFLG.mjs";
139
+ import "./chunk-TDLSHJ4Z.mjs";
92
140
  import {
93
- Input
94
- } from "./chunk-6TI7ACBR.mjs";
141
+ DatePicker
142
+ } from "./chunk-G2SOAFGS.mjs";
95
143
  import "./chunk-Y5SUMFYJ.mjs";
96
- import "./chunk-SKI2APSK.mjs";
144
+ import "./chunk-TNU64NUN.mjs";
97
145
  import "./chunk-NSLSA7F7.mjs";
98
146
  import {
99
147
  ErrorMessage
100
148
  } from "./chunk-IL7576PP.mjs";
101
- import "./chunk-OIQUYB26.mjs";
102
149
  import {
103
- Container
104
- } from "./chunk-I6GDRDYD.mjs";
105
- import "./chunk-XLLYMQLW.mjs";
150
+ AccordionComponent
151
+ } from "./chunk-XYIY6FHW.mjs";
106
152
  import {
107
- Link
108
- } from "./chunk-5QL53TR2.mjs";
153
+ AccordionContent
154
+ } from "./chunk-GUB3UCXO.mjs";
109
155
  import {
110
- AccordionComponent
111
- } from "./chunk-LIQ3FB56.mjs";
112
- import "./chunk-62F4I3MQ.mjs";
156
+ AccordionHeader
157
+ } from "./chunk-YXHXRUFX.mjs";
158
+ import {
159
+ AccordionItem
160
+ } from "./chunk-62F4I3MQ.mjs";
113
161
  import "./chunk-VRIY65P5.mjs";
114
162
  import "./chunk-ZOCMUEOX.mjs";
115
163
  import {
116
164
  Breadcrumbs
117
165
  } from "./chunk-YKDKFWP2.mjs";
118
- import "./chunk-HT2EIJAD.mjs";
119
166
  import {
120
167
  PrimaryButton,
121
168
  SecondaryButton
122
169
  } from "./chunk-OUHO4LGN.mjs";
123
- import "./chunk-X5JERDDU.mjs";
170
+ import "./chunk-KQITCS3U.mjs";
171
+ import "./chunk-DZNH5JHY.mjs";
124
172
  import "./chunk-K6PP3ACJ.mjs";
125
173
  import {
126
174
  Badge,
@@ -130,16 +178,21 @@ import {
130
178
  } from "./chunk-W3D4VR4Y.mjs";
131
179
  import {
132
180
  BoxComponent
133
- } from "./chunk-BZNDK3KJ.mjs";
134
- import "./chunk-EGXM575K.mjs";
135
- import "./chunk-GUB3UCXO.mjs";
136
- import "./chunk-YXHXRUFX.mjs";
137
- import "./chunk-WCA2WPFS.mjs";
181
+ } from "./chunk-NMMFIRLZ.mjs";
182
+ import {
183
+ BoxCloseButton
184
+ } from "./chunk-EGXM575K.mjs";
185
+ import "./chunk-ZL56N4UK.mjs";
138
186
  import "./chunk-V3PAFMK5.mjs";
187
+ import "./chunk-F4STR6SD.mjs";
188
+ import "./chunk-NE6W2PCD.mjs";
139
189
  import "./chunk-MSFHJVHD.mjs";
140
190
  import {
141
191
  ShowMoreButton
142
192
  } from "./chunk-ZDPU3N54.mjs";
193
+ import {
194
+ AutoAnimateHeight
195
+ } from "./chunk-AKYK3XFN.mjs";
143
196
  import "./chunk-JTZPQHKD.mjs";
144
197
  import {
145
198
  Skeleton
@@ -152,35 +205,54 @@ import "./chunk-JKCVB5TR.mjs";
152
205
  import {
153
206
  StyledHtml
154
207
  } from "./chunk-S5RB7KLJ.mjs";
155
- import "./chunk-KQITCS3U.mjs";
156
- import "./chunk-DZNH5JHY.mjs";
157
- import {
158
- AutoAnimateHeight
159
- } from "./chunk-AKYK3XFN.mjs";
160
208
  import "./chunk-R4SQKVDQ.mjs";
161
209
 
162
210
  // src/index.tsx
163
211
  import "@postenbring/hedwig-css/dist/index.css";
164
212
  export {
165
213
  AccordionComponent as Accordion,
214
+ AccordionContent,
215
+ AccordionHeader,
216
+ AccordionItem,
166
217
  AutoAnimateHeight,
167
218
  Badge,
168
219
  BoxComponent as Box,
220
+ BoxCloseButton,
169
221
  Breadcrumbs,
170
222
  CardComponent as Card,
223
+ CardBody,
224
+ CardBodyHeader,
225
+ CardBodyHeaderOverline,
226
+ CardMedia,
227
+ CardMediaImg,
171
228
  Checkbox,
172
229
  Container,
173
230
  DarkBadge,
231
+ DatePicker,
174
232
  DescriptionList,
175
233
  ErrorMessage,
176
234
  Fieldset,
177
235
  FooterComponent as Footer,
236
+ FooterButtonLink,
237
+ FooterLinkSection,
238
+ FooterLinkSections,
239
+ FooterLogo,
240
+ HStack,
178
241
  Input,
179
242
  Link,
180
243
  LinkList,
181
244
  MessageComponent as Message,
245
+ MessageDescription,
246
+ MessageTitle,
182
247
  ModalComponent as Modal,
248
+ ModalContent,
249
+ ModalFooter,
250
+ ModalHeader,
183
251
  NavbarComponent as Navbar,
252
+ NavbarButton,
253
+ NavbarLogo,
254
+ NavbarLogoAndServiceText,
255
+ NavbarNavigation,
184
256
  OrderedList,
185
257
  PrimaryButton,
186
258
  RadioGroup,
@@ -189,9 +261,14 @@ export {
189
261
  Select,
190
262
  ShowMoreButton,
191
263
  Skeleton,
264
+ Stack,
192
265
  StepIndicator,
193
266
  StyledHtml,
194
267
  TabsComponent as Tabs,
268
+ TabsContent,
269
+ TabsContents,
270
+ TabsList,
271
+ TabsTab,
195
272
  Text,
196
273
  TextBody,
197
274
  TextBodySmall,
@@ -208,6 +285,7 @@ export {
208
285
  TextTechnicalTitle,
209
286
  Textarea,
210
287
  UnorderedList,
288
+ VStack,
211
289
  WarningBadge,
212
290
  WarningBanner,
213
291
  WhiteBadge,
@@ -1 +1 @@
1
- {"version":3,"sources":["../src/index.tsx"],"sourcesContent":["/**\n * Import the hedwig css file, so the consumers don't have to. Plug and play.\n *\n * NOTE: Importing the full path, not just the package name.\n * For some reason vite did not include the css during development when this file only imported the package name.\n *\n * Consumers using the `@postenbring/hedwig-css` package directly should only need to import the package without a path.\n */\nimport \"@postenbring/hedwig-css/dist/index.css\";\n\nexport * from \"./index-no-css\";\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAQA,OAAO;","names":[]}
1
+ {"version":3,"sources":["../src/index.tsx"],"sourcesContent":["/**\n * Import the hedwig css file, so the consumers don't have to. Plug and play.\n *\n * NOTE: Importing the full path, not just the package name.\n * For some reason vite did not include the css during development when this file only imported the package name.\n *\n * Consumers using the `@postenbring/hedwig-css` package directly should only need to import the package without a path.\n */\nimport \"@postenbring/hedwig-css/dist/index.css\";\n\nexport * from \"./index-no-css\";\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAQA,OAAO;","names":[]}
@@ -1,2 +1,6 @@
1
- export { Container_alias_2 as Container } from '../_tsup-dts-rollup';
2
1
  export { ContainerProps_alias_2 as ContainerProps } from '../_tsup-dts-rollup';
2
+ export { Container_alias_2 as Container } from '../_tsup-dts-rollup';
3
+ export { StackProps_alias_2 as StackProps } from '../_tsup-dts-rollup';
4
+ export { Stack_alias_2 as Stack } from '../_tsup-dts-rollup';
5
+ export { HStack_alias_2 as HStack } from '../_tsup-dts-rollup';
6
+ export { VStack_alias_2 as VStack } from '../_tsup-dts-rollup';
@@ -1,2 +1,6 @@
1
- export { Container_alias_2 as Container } from '../_tsup-dts-rollup';
2
1
  export { ContainerProps_alias_2 as ContainerProps } from '../_tsup-dts-rollup';
2
+ export { Container_alias_2 as Container } from '../_tsup-dts-rollup';
3
+ export { StackProps_alias_2 as StackProps } from '../_tsup-dts-rollup';
4
+ export { Stack_alias_2 as Stack } from '../_tsup-dts-rollup';
5
+ export { HStack_alias_2 as HStack } from '../_tsup-dts-rollup';
6
+ export { VStack_alias_2 as VStack } from '../_tsup-dts-rollup';
@@ -49,7 +49,10 @@ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: tru
49
49
  // src/layout/index.tsx
50
50
  var layout_exports = {};
51
51
  __export(layout_exports, {
52
- Container: () => Container
52
+ Container: () => Container,
53
+ HStack: () => HStack,
54
+ Stack: () => Stack,
55
+ VStack: () => VStack
53
56
  });
54
57
  module.exports = __toCommonJS(layout_exports);
55
58
 
@@ -75,8 +78,65 @@ var Container = (0, import_react.forwardRef)(
75
78
  }
76
79
  );
77
80
  Container.displayName = "Container";
81
+
82
+ // src/layout/stack/stack.tsx
83
+ var React = require("react");
84
+ var import_typed_classname2 = require("@postenbring/hedwig-css/typed-classname");
85
+ var import_react2 = require("react");
86
+ var import_react_slot = require("@radix-ui/react-slot");
87
+
88
+ // src/layout/spacing.ts
89
+ function getSpacingVariable(size) {
90
+ return `var(--hds-spacing-${size})`;
91
+ }
92
+
93
+ // src/layout/responsive.ts
94
+ function getResponsiveProps(variable, inputValues, valueTransformer = (value) => String(value)) {
95
+ if (!inputValues)
96
+ return {};
97
+ if (typeof inputValues !== "object") {
98
+ return { [`${variable}-initial`]: valueTransformer(inputValues) };
99
+ }
100
+ const result = {};
101
+ for (const [key, value] of Object.entries(inputValues)) {
102
+ result[`${variable}-${key}`] = valueTransformer(value);
103
+ }
104
+ return result;
105
+ }
106
+
107
+ // src/layout/stack/stack.tsx
108
+ var import_jsx_runtime2 = require("react/jsx-runtime");
109
+ var Stack = (0, import_react2.forwardRef)(
110
+ (_a, ref) => {
111
+ var _b = _a, { children, asChild, className, style: _style, gap, direction, wrap, align, justify } = _b, rest = __objRest(_b, ["children", "asChild", "className", "style", "gap", "direction", "wrap", "align", "justify"]);
112
+ const Component = asChild ? import_react_slot.Slot : "div";
113
+ const style = __spreadValues(__spreadValues(__spreadValues(__spreadValues(__spreadValues(__spreadValues({}, _style), getResponsiveProps("--hds-stack-gap", gap, getSpacingVariable)), getResponsiveProps("--hds-stack-direction", direction)), getResponsiveProps("--hds-stack-wrap", wrap, (value) => value ? "wrap" : "nowrap")), getResponsiveProps("--hds-stack-align", align)), getResponsiveProps("--hds-stack-justify", justify));
114
+ return /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(
115
+ Component,
116
+ __spreadProps(__spreadValues({
117
+ style,
118
+ className: (0, import_typed_classname2.clsx)("hds-stack", className),
119
+ ref
120
+ }, rest), {
121
+ children
122
+ })
123
+ );
124
+ }
125
+ );
126
+ Stack.displayName = "Stack";
127
+ var HStack = (0, import_react2.forwardRef)((props, ref) => {
128
+ return /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(Stack, __spreadProps(__spreadValues({ ref }, props), { direction: "row" }));
129
+ });
130
+ HStack.displayName = "HStack";
131
+ var VStack = (0, import_react2.forwardRef)((props, ref) => {
132
+ return /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(Stack, __spreadProps(__spreadValues({ ref }, props), { direction: "column" }));
133
+ });
134
+ VStack.displayName = "VStack";
78
135
  // Annotate the CommonJS export names for ESM import in node:
79
136
  0 && (module.exports = {
80
- Container
137
+ Container,
138
+ HStack,
139
+ Stack,
140
+ VStack
81
141
  });
82
142
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"sources":["../../src/layout/index.tsx","../../src/layout/container/container.tsx"],"sourcesContent":["export { Container } from \"./container/container\";\n\nexport type * from \"./container/container\";\n","import { clsx } from \"@postenbring/hedwig-css/typed-classname\";\nimport type { HTMLAttributes, ReactNode } from \"react\";\nimport { forwardRef } from \"react\";\nimport type { OverridableComponent } from \"../../utils\";\n\nexport interface ContainerProps extends HTMLAttributes<HTMLDivElement> {\n variant?: \"default\" | \"slim\";\n children: ReactNode;\n}\n\n/**\n * Container is a layout component that is used to wrap content.\n * It ensures a max-width and minimum spacing on the sides.\n */\nexport const Container: OverridableComponent<ContainerProps, HTMLDivElement> = forwardRef(\n ({ as: Component = \"div\", className, children, variant, ...rest }, ref) => {\n return (\n <Component\n {...rest}\n className={clsx(\n \"hds-container\",\n { \"hds-container--slim\": variant === \"slim\" },\n className as undefined,\n )}\n ref={ref}\n >\n {children}\n </Component>\n );\n },\n);\nContainer.displayName = \"Container\";\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;;;ACAA,6BAAqB;AAErB,mBAA2B;AAerB;AAHC,IAAM,gBAAkE;AAAA,EAC7E,CAAC,IAAkE,QAAQ;AAA1E,iBAAE,MAAI,YAAY,OAAO,WAAW,UAAU,QAfjD,IAeG,IAA0D,iBAA1D,IAA0D,CAAxD,MAAuB,aAAW,YAAU;AAC7C,WACE;AAAA,MAAC;AAAA,uCACK,OADL;AAAA,QAEC,eAAW;AAAA,UACT;AAAA,UACA,EAAE,uBAAuB,YAAY,OAAO;AAAA,UAC5C;AAAA,QACF;AAAA,QACA;AAAA,QAEC;AAAA;AAAA,IACH;AAAA,EAEJ;AACF;AACA,UAAU,cAAc;","names":[]}
1
+ {"version":3,"sources":["../../src/layout/index.tsx","../../src/layout/container/container.tsx","../../src/layout/stack/stack.tsx","../../src/layout/spacing.ts","../../src/layout/responsive.ts"],"sourcesContent":["export * from \"./container/container\";\nexport * from \"./stack/stack\";\n","import { clsx } from \"@postenbring/hedwig-css/typed-classname\";\nimport type { HTMLAttributes, ReactNode } from \"react\";\nimport { forwardRef } from \"react\";\nimport type { OverridableComponent } from \"../../utils\";\n\nexport interface ContainerProps extends HTMLAttributes<HTMLDivElement> {\n variant?: \"default\" | \"slim\";\n children: ReactNode;\n}\n\n/**\n * Container is a layout component that is used to wrap content.\n * It ensures a max-width and minimum spacing on the sides.\n */\nexport const Container: OverridableComponent<ContainerProps, HTMLDivElement> = forwardRef(\n ({ as: Component = \"div\", className, children, variant, ...rest }, ref) => {\n return (\n <Component\n {...rest}\n className={clsx(\n \"hds-container\",\n { \"hds-container--slim\": variant === \"slim\" },\n className as undefined,\n )}\n ref={ref}\n >\n {children}\n </Component>\n );\n },\n);\nContainer.displayName = \"Container\";\n","import * as React from \"react\";\nimport { clsx } from \"@postenbring/hedwig-css/typed-classname\";\nimport { forwardRef } from \"react\";\nimport { Slot } from \"@radix-ui/react-slot\";\nimport { getSpacingVariable, type ResponsiveSpacingSizes, type SpacingSizes } from \"../spacing\";\nimport { getResponsiveProps, type ResponsiveProp } from \"../responsive\";\n\ntype CSSPropertiesWithVar = React.CSSProperties & {\n \"--hds-stack-gap\"?: string;\n \"--hds-stack-direction\"?: string;\n \"--hds-stack-wrap\"?: string;\n \"--hds-stack-align\"?: string;\n \"--hds-stack-justify\"?: string;\n};\n\nexport interface StackProps extends React.HTMLAttributes<HTMLDivElement> {\n children: React.ReactNode;\n\n gap?: ResponsiveProp<SpacingSizes> | ResponsiveSpacingSizes;\n direction?: ResponsiveProp<React.CSSProperties[\"flexDirection\"]>;\n wrap?: ResponsiveProp<boolean>;\n align?: ResponsiveProp<React.CSSProperties[\"alignItems\"]>;\n justify?: ResponsiveProp<React.CSSProperties[\"justifyContent\"]>;\n\n /**\n * Change the default rendered element for the one passed as a child, merging their props and behavior.\n */\n asChild?: boolean;\n}\n\n/**\n * 🚨 WORK IN PROGRESS 🚨\n *\n * TODO\n * - [ ] Add more examples\n * - [ ] Document usage\n * - [ ] Document props\n */\nexport const Stack = forwardRef<HTMLDivElement, StackProps>(\n (\n { children, asChild, className, style: _style, gap, direction, wrap, align, justify, ...rest },\n ref,\n ) => {\n const Component = asChild ? Slot : \"div\";\n const style: CSSPropertiesWithVar = {\n ..._style,\n ...getResponsiveProps(\"--hds-stack-gap\", gap, getSpacingVariable),\n ...getResponsiveProps(\"--hds-stack-direction\", direction),\n ...getResponsiveProps(\"--hds-stack-wrap\", wrap, (value) => (value ? \"wrap\" : \"nowrap\")),\n ...getResponsiveProps(\"--hds-stack-align\", align),\n ...getResponsiveProps(\"--hds-stack-justify\", justify),\n };\n return (\n <Component\n style={style}\n className={clsx(\"hds-stack\", className as undefined)}\n ref={ref}\n {...rest}\n >\n {children}\n </Component>\n );\n },\n);\nStack.displayName = \"Stack\";\n\n/**\n * 🚨 WORK IN PROGRESS 🚨\n *\n * TODO\n * - [ ] Add more examples\n * - [ ] Document usage\n * - [ ] Document props\n */\nexport const HStack = forwardRef<HTMLDivElement, Omit<StackProps, \"direction\">>((props, ref) => {\n return <Stack ref={ref} {...props} direction=\"row\" />;\n});\nHStack.displayName = \"HStack\";\n\n/**\n * 🚨 WORK IN PROGRESS 🚨\n *\n * TODO\n * - [ ] Add more examples\n * - [ ] Document usage\n * - [ ] Document props\n */\nexport const VStack = forwardRef<HTMLDivElement, Omit<StackProps, \"direction\">>((props, ref) => {\n return <Stack ref={ref} {...props} direction=\"column\" />;\n});\nVStack.displayName = \"VStack\";\n","// TODO: Get from tokens package\n// For now it's fine, since it's still in this monorepo\nconst spacingSizes = {\n \"4\": \"4\",\n \"8\": \"8\",\n \"12\": \"12\",\n \"16\": \"16\",\n \"20\": \"20\",\n \"24\": \"24\",\n \"32\": \"32\",\n \"40\": \"40\",\n \"48\": \"48\",\n \"64\": \"64\",\n \"80\": \"80\",\n \"120\": \"120\",\n} as const;\nexport type SpacingSizes = keyof typeof spacingSizes;\n\nconst responsiveSpacingSizes = {\n \"4-8\": \"4-8\",\n \"8-12\": \"8-12\",\n \"12-16\": \"12-16\",\n \"16-20\": \"16-20\",\n \"20-24\": \"20-24\",\n \"24-32\": \"24-32\",\n \"32-40\": \"32-40\",\n \"40-48\": \"40-48\",\n \"48-64\": \"48-64\",\n \"64-80\": \"64-80\",\n \"80-120\": \"80-120\",\n \"120-160\": \"120-160\",\n} as const;\nexport type ResponsiveSpacingSizes = keyof typeof responsiveSpacingSizes;\n\nexport function getSpacingVariable(size: SpacingSizes | ResponsiveSpacingSizes) {\n return `var(--hds-spacing-${size})`;\n}\n","type Breakpoints = \"initial\" | \"small\" | \"medium\" | \"large\" | \"xlarge\";\n\ntype ResponsiveValues<T> = {\n [Breakpoint in Breakpoints]?: T;\n};\n\nexport type ResponsiveProp<T> = T | ResponsiveValues<T>;\n\nexport function getResponsiveProps<T>(\n variable: `--hds-${string}`,\n inputValues?: ResponsiveProp<T>,\n valueTransformer: (value: T) => string = (value) => String(value),\n) {\n if (!inputValues) return {};\n\n if (typeof inputValues !== \"object\") {\n return { [`${variable}-initial`]: valueTransformer(inputValues) };\n }\n\n const result: Record<string, string> = {};\n for (const [key, value] of Object.entries(inputValues as ResponsiveValues<T>)) {\n result[`${variable}-${key}`] = valueTransformer(value);\n }\n\n return result;\n}\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;;ACAA,6BAAqB;AAErB,mBAA2B;AAerB;AAHC,IAAM,gBAAkE;AAAA,EAC7E,CAAC,IAAkE,QAAQ;AAA1E,iBAAE,MAAI,YAAY,OAAO,WAAW,UAAU,QAfjD,IAeG,IAA0D,iBAA1D,IAA0D,CAAxD,MAAuB,aAAW,YAAU;AAC7C,WACE;AAAA,MAAC;AAAA,uCACK,OADL;AAAA,QAEC,eAAW;AAAA,UACT;AAAA,UACA,EAAE,uBAAuB,YAAY,OAAO;AAAA,UAC5C;AAAA,QACF;AAAA,QACA;AAAA,QAEC;AAAA;AAAA,IACH;AAAA,EAEJ;AACF;AACA,UAAU,cAAc;;;AC/BxB,YAAuB;AACvB,IAAAA,0BAAqB;AACrB,IAAAC,gBAA2B;AAC3B,wBAAqB;;;AC+Bd,SAAS,mBAAmB,MAA6C;AAC9E,SAAO,qBAAqB,IAAI;AAClC;;;AC5BO,SAAS,mBACd,UACA,aACA,mBAAyC,CAAC,UAAU,OAAO,KAAK,GAChE;AACA,MAAI,CAAC;AAAa,WAAO,CAAC;AAE1B,MAAI,OAAO,gBAAgB,UAAU;AACnC,WAAO,EAAE,CAAC,GAAG,QAAQ,UAAU,GAAG,iBAAiB,WAAW,EAAE;AAAA,EAClE;AAEA,QAAM,SAAiC,CAAC;AACxC,aAAW,CAAC,KAAK,KAAK,KAAK,OAAO,QAAQ,WAAkC,GAAG;AAC7E,WAAO,GAAG,QAAQ,IAAI,GAAG,EAAE,IAAI,iBAAiB,KAAK;AAAA,EACvD;AAEA,SAAO;AACT;;;AF4BM,IAAAC,sBAAA;AAfC,IAAM,YAAQ;AAAA,EACnB,CACE,IACA,QACG;AAFH,iBAAE,YAAU,SAAS,WAAW,OAAO,QAAQ,KAAK,WAAW,MAAM,OAAO,QAxChF,IAwCI,IAAwF,iBAAxF,IAAwF,CAAtF,YAAU,WAAS,aAAW,SAAe,OAAK,aAAW,QAAM,SAAO;AAG5E,UAAM,YAAY,UAAU,yBAAO;AACnC,UAAM,QAA8B,8FAC/B,SACA,mBAAmB,mBAAmB,KAAK,kBAAkB,IAC7D,mBAAmB,yBAAyB,SAAS,IACrD,mBAAmB,oBAAoB,MAAM,CAAC,UAAW,QAAQ,SAAS,QAAS,IACnF,mBAAmB,qBAAqB,KAAK,IAC7C,mBAAmB,uBAAuB,OAAO;AAEtD,WACE;AAAA,MAAC;AAAA;AAAA,QACC;AAAA,QACA,eAAW,8BAAK,aAAa,SAAsB;AAAA,QACnD;AAAA,SACI,OAJL;AAAA,QAME;AAAA;AAAA,IACH;AAAA,EAEJ;AACF;AACA,MAAM,cAAc;AAUb,IAAM,aAAS,0BAA0D,CAAC,OAAO,QAAQ;AAC9F,SAAO,6CAAC,sCAAM,OAAc,QAApB,EAA2B,WAAU,QAAM;AACrD,CAAC;AACD,OAAO,cAAc;AAUd,IAAM,aAAS,0BAA0D,CAAC,OAAO,QAAQ;AAC9F,SAAO,6CAAC,sCAAM,OAAc,QAApB,EAA2B,WAAU,WAAS;AACxD,CAAC;AACD,OAAO,cAAc;","names":["import_typed_classname","import_react","import_jsx_runtime"]}
@@ -1,9 +1,19 @@
1
- import "../chunk-OIQUYB26.mjs";
1
+ import "../chunk-L4GQJETB.mjs";
2
2
  import {
3
3
  Container
4
4
  } from "../chunk-I6GDRDYD.mjs";
5
+ import {
6
+ HStack,
7
+ Stack,
8
+ VStack
9
+ } from "../chunk-QGZU7Z2W.mjs";
10
+ import "../chunk-F4STR6SD.mjs";
11
+ import "../chunk-NE6W2PCD.mjs";
5
12
  import "../chunk-R4SQKVDQ.mjs";
6
13
  export {
7
- Container
14
+ Container,
15
+ HStack,
16
+ Stack,
17
+ VStack
8
18
  };
9
19
  //# sourceMappingURL=index.mjs.map
@@ -0,0 +1,2 @@
1
+ export { getResponsiveProps } from '../_tsup-dts-rollup';
2
+ export { ResponsiveProp } from '../_tsup-dts-rollup';
@@ -0,0 +1,2 @@
1
+ export { getResponsiveProps } from '../_tsup-dts-rollup';
2
+ export { ResponsiveProp } from '../_tsup-dts-rollup';
@@ -0,0 +1,42 @@
1
+ "use strict";
2
+ var __defProp = Object.defineProperty;
3
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
+ var __getOwnPropNames = Object.getOwnPropertyNames;
5
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
6
+ var __export = (target, all) => {
7
+ for (var name in all)
8
+ __defProp(target, name, { get: all[name], enumerable: true });
9
+ };
10
+ var __copyProps = (to, from, except, desc) => {
11
+ if (from && typeof from === "object" || typeof from === "function") {
12
+ for (let key of __getOwnPropNames(from))
13
+ if (!__hasOwnProp.call(to, key) && key !== except)
14
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
15
+ }
16
+ return to;
17
+ };
18
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
19
+
20
+ // src/layout/responsive.ts
21
+ var responsive_exports = {};
22
+ __export(responsive_exports, {
23
+ getResponsiveProps: () => getResponsiveProps
24
+ });
25
+ module.exports = __toCommonJS(responsive_exports);
26
+ function getResponsiveProps(variable, inputValues, valueTransformer = (value) => String(value)) {
27
+ if (!inputValues)
28
+ return {};
29
+ if (typeof inputValues !== "object") {
30
+ return { [`${variable}-initial`]: valueTransformer(inputValues) };
31
+ }
32
+ const result = {};
33
+ for (const [key, value] of Object.entries(inputValues)) {
34
+ result[`${variable}-${key}`] = valueTransformer(value);
35
+ }
36
+ return result;
37
+ }
38
+ // Annotate the CommonJS export names for ESM import in node:
39
+ 0 && (module.exports = {
40
+ getResponsiveProps
41
+ });
42
+ //# sourceMappingURL=responsive.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../src/layout/responsive.ts"],"sourcesContent":["type Breakpoints = \"initial\" | \"small\" | \"medium\" | \"large\" | \"xlarge\";\n\ntype ResponsiveValues<T> = {\n [Breakpoint in Breakpoints]?: T;\n};\n\nexport type ResponsiveProp<T> = T | ResponsiveValues<T>;\n\nexport function getResponsiveProps<T>(\n variable: `--hds-${string}`,\n inputValues?: ResponsiveProp<T>,\n valueTransformer: (value: T) => string = (value) => String(value),\n) {\n if (!inputValues) return {};\n\n if (typeof inputValues !== \"object\") {\n return { [`${variable}-initial`]: valueTransformer(inputValues) };\n }\n\n const result: Record<string, string> = {};\n for (const [key, value] of Object.entries(inputValues as ResponsiveValues<T>)) {\n result[`${variable}-${key}`] = valueTransformer(value);\n }\n\n return result;\n}\n"],"mappings":";;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAQO,SAAS,mBACd,UACA,aACA,mBAAyC,CAAC,UAAU,OAAO,KAAK,GAChE;AACA,MAAI,CAAC;AAAa,WAAO,CAAC;AAE1B,MAAI,OAAO,gBAAgB,UAAU;AACnC,WAAO,EAAE,CAAC,GAAG,QAAQ,UAAU,GAAG,iBAAiB,WAAW,EAAE;AAAA,EAClE;AAEA,QAAM,SAAiC,CAAC;AACxC,aAAW,CAAC,KAAK,KAAK,KAAK,OAAO,QAAQ,WAAkC,GAAG;AAC7E,WAAO,GAAG,QAAQ,IAAI,GAAG,EAAE,IAAI,iBAAiB,KAAK;AAAA,EACvD;AAEA,SAAO;AACT;","names":[]}
@@ -0,0 +1,8 @@
1
+ import {
2
+ getResponsiveProps
3
+ } from "../chunk-F4STR6SD.mjs";
4
+ import "../chunk-R4SQKVDQ.mjs";
5
+ export {
6
+ getResponsiveProps
7
+ };
8
+ //# sourceMappingURL=responsive.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":[],"sourcesContent":[],"mappings":"","names":[]}
@@ -0,0 +1,3 @@
1
+ export { getSpacingVariable } from '../_tsup-dts-rollup';
2
+ export { SpacingSizes } from '../_tsup-dts-rollup';
3
+ export { ResponsiveSpacingSizes } from '../_tsup-dts-rollup';
@@ -0,0 +1,3 @@
1
+ export { getSpacingVariable } from '../_tsup-dts-rollup';
2
+ export { SpacingSizes } from '../_tsup-dts-rollup';
3
+ export { ResponsiveSpacingSizes } from '../_tsup-dts-rollup';
@@ -0,0 +1,33 @@
1
+ "use strict";
2
+ var __defProp = Object.defineProperty;
3
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
+ var __getOwnPropNames = Object.getOwnPropertyNames;
5
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
6
+ var __export = (target, all) => {
7
+ for (var name in all)
8
+ __defProp(target, name, { get: all[name], enumerable: true });
9
+ };
10
+ var __copyProps = (to, from, except, desc) => {
11
+ if (from && typeof from === "object" || typeof from === "function") {
12
+ for (let key of __getOwnPropNames(from))
13
+ if (!__hasOwnProp.call(to, key) && key !== except)
14
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
15
+ }
16
+ return to;
17
+ };
18
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
19
+
20
+ // src/layout/spacing.ts
21
+ var spacing_exports = {};
22
+ __export(spacing_exports, {
23
+ getSpacingVariable: () => getSpacingVariable
24
+ });
25
+ module.exports = __toCommonJS(spacing_exports);
26
+ function getSpacingVariable(size) {
27
+ return `var(--hds-spacing-${size})`;
28
+ }
29
+ // Annotate the CommonJS export names for ESM import in node:
30
+ 0 && (module.exports = {
31
+ getSpacingVariable
32
+ });
33
+ //# sourceMappingURL=spacing.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../src/layout/spacing.ts"],"sourcesContent":["// TODO: Get from tokens package\n// For now it's fine, since it's still in this monorepo\nconst spacingSizes = {\n \"4\": \"4\",\n \"8\": \"8\",\n \"12\": \"12\",\n \"16\": \"16\",\n \"20\": \"20\",\n \"24\": \"24\",\n \"32\": \"32\",\n \"40\": \"40\",\n \"48\": \"48\",\n \"64\": \"64\",\n \"80\": \"80\",\n \"120\": \"120\",\n} as const;\nexport type SpacingSizes = keyof typeof spacingSizes;\n\nconst responsiveSpacingSizes = {\n \"4-8\": \"4-8\",\n \"8-12\": \"8-12\",\n \"12-16\": \"12-16\",\n \"16-20\": \"16-20\",\n \"20-24\": \"20-24\",\n \"24-32\": \"24-32\",\n \"32-40\": \"32-40\",\n \"40-48\": \"40-48\",\n \"48-64\": \"48-64\",\n \"64-80\": \"64-80\",\n \"80-120\": \"80-120\",\n \"120-160\": \"120-160\",\n} as const;\nexport type ResponsiveSpacingSizes = keyof typeof responsiveSpacingSizes;\n\nexport function getSpacingVariable(size: SpacingSizes | ResponsiveSpacingSizes) {\n return `var(--hds-spacing-${size})`;\n}\n"],"mappings":";;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAkCO,SAAS,mBAAmB,MAA6C;AAC9E,SAAO,qBAAqB,IAAI;AAClC;","names":[]}
@@ -0,0 +1,8 @@
1
+ import {
2
+ getSpacingVariable
3
+ } from "../chunk-NE6W2PCD.mjs";
4
+ import "../chunk-R4SQKVDQ.mjs";
5
+ export {
6
+ getSpacingVariable
7
+ };
8
+ //# sourceMappingURL=spacing.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":[],"sourcesContent":[],"mappings":"","names":[]}
@@ -0,0 +1,4 @@
1
+ export { Stack_alias_3 as Stack } from '../../_tsup-dts-rollup';
2
+ export { HStack_alias_3 as HStack } from '../../_tsup-dts-rollup';
3
+ export { VStack_alias_3 as VStack } from '../../_tsup-dts-rollup';
4
+ export { StackProps_alias_3 as StackProps } from '../../_tsup-dts-rollup';
@@ -0,0 +1,4 @@
1
+ export { Stack_alias_3 as Stack } from '../../_tsup-dts-rollup';
2
+ export { HStack_alias_3 as HStack } from '../../_tsup-dts-rollup';
3
+ export { VStack_alias_3 as VStack } from '../../_tsup-dts-rollup';
4
+ export { StackProps_alias_3 as StackProps } from '../../_tsup-dts-rollup';