@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.
- package/dist/_tsup-dts-rollup.d.mts +333 -178
- package/dist/_tsup-dts-rollup.d.ts +333 -178
- package/dist/accordion/index.d.mts +3 -3
- package/dist/accordion/index.d.ts +3 -3
- package/dist/accordion/index.js +8 -2
- package/dist/accordion/index.js.map +1 -1
- package/dist/accordion/index.mjs +14 -5
- package/dist/box/index.d.mts +1 -1
- package/dist/box/index.d.ts +1 -1
- package/dist/box/index.js +4 -2
- package/dist/box/index.js.map +1 -1
- package/dist/box/index.mjs +6 -3
- package/dist/card/index.d.mts +2 -2
- package/dist/card/index.d.ts +2 -2
- package/dist/card/index.js +12 -2
- package/dist/card/index.js.map +1 -1
- package/dist/card/index.mjs +14 -3
- package/dist/{chunk-POJTVNEO.mjs → chunk-2FXMUF6K.mjs} +2 -2
- package/dist/chunk-2FXMUF6K.mjs.map +1 -0
- package/dist/{chunk-DEVTAZKG.mjs → chunk-3KZOKDKP.mjs} +14 -3
- package/dist/chunk-3KZOKDKP.mjs.map +1 -0
- package/dist/{chunk-XFSZBILE.mjs → chunk-6NGF7FFY.mjs} +2 -2
- package/dist/{chunk-MUVJAMFN.mjs → chunk-B56JZJOS.mjs} +10 -8
- package/dist/chunk-B56JZJOS.mjs.map +1 -0
- package/dist/{chunk-RVJD2UZF.mjs → chunk-DFH4YKQA.mjs} +2 -2
- package/dist/chunk-DFH4YKQA.mjs.map +1 -0
- package/dist/{chunk-HXV2UMEV.mjs → chunk-DM4PJFLG.mjs} +2 -2
- package/dist/{chunk-HXV2UMEV.mjs.map → chunk-DM4PJFLG.mjs.map} +1 -1
- package/dist/{chunk-AR2NOI4U.mjs → chunk-EJ7ANN7M.mjs} +1 -1
- package/dist/{chunk-AR2NOI4U.mjs.map → chunk-EJ7ANN7M.mjs.map} +1 -1
- package/dist/chunk-F4STR6SD.mjs +18 -0
- package/dist/chunk-F4STR6SD.mjs.map +1 -0
- package/dist/{chunk-TE5M6GJB.mjs → chunk-FOZSX44S.mjs} +2 -2
- package/dist/{chunk-TE5M6GJB.mjs.map → chunk-FOZSX44S.mjs.map} +1 -1
- package/dist/chunk-G2SOAFGS.mjs +86 -0
- package/dist/chunk-G2SOAFGS.mjs.map +1 -0
- package/dist/{chunk-RLUXDZ6X.mjs → chunk-HMB4TY2F.mjs} +3 -3
- package/dist/{chunk-U2MRMUB2.mjs → chunk-K2HG7WRK.mjs} +2 -2
- package/dist/{chunk-U2MRMUB2.mjs.map → chunk-K2HG7WRK.mjs.map} +1 -1
- package/dist/{chunk-RK6BB3HH.mjs → chunk-KTRIVJM3.mjs} +2 -2
- package/dist/chunk-L4GQJETB.mjs +1 -0
- package/dist/chunk-NE6W2PCD.mjs +9 -0
- package/dist/chunk-NE6W2PCD.mjs.map +1 -0
- package/dist/{chunk-BZNDK3KJ.mjs → chunk-NMMFIRLZ.mjs} +1 -1
- package/dist/{chunk-BZNDK3KJ.mjs.map → chunk-NMMFIRLZ.mjs.map} +1 -1
- package/dist/{chunk-EHUVLDIZ.mjs → chunk-O32FZU7E.mjs} +11 -14
- package/dist/chunk-O32FZU7E.mjs.map +1 -0
- package/dist/{chunk-IAS3E2S3.mjs → chunk-PUESATBQ.mjs} +2 -2
- package/dist/chunk-QGZU7Z2W.mjs +51 -0
- package/dist/chunk-QGZU7Z2W.mjs.map +1 -0
- package/dist/{chunk-QSYU64U4.mjs → chunk-QYSLVQ4F.mjs} +2 -2
- package/dist/{chunk-QSYU64U4.mjs.map → chunk-QYSLVQ4F.mjs.map} +1 -1
- package/dist/{chunk-X7EKQZNU.mjs → chunk-RHCMBJOT.mjs} +2 -2
- package/dist/chunk-TDLSHJ4Z.mjs +1 -0
- package/dist/{chunk-SKI2APSK.mjs → chunk-TNU64NUN.mjs} +13 -7
- package/dist/chunk-TNU64NUN.mjs.map +1 -0
- package/dist/{chunk-JC6DBIFE.mjs → chunk-XE4UZBL2.mjs} +1 -1
- package/dist/{chunk-JC6DBIFE.mjs.map → chunk-XE4UZBL2.mjs.map} +1 -1
- package/dist/chunk-XFKD6EEJ.mjs +1 -0
- package/dist/chunk-XFKD6EEJ.mjs.map +1 -0
- package/dist/{chunk-LIQ3FB56.mjs → chunk-XYIY6FHW.mjs} +7 -7
- package/dist/{chunk-LIQ3FB56.mjs.map → chunk-XYIY6FHW.mjs.map} +1 -1
- package/dist/{chunk-6TI7ACBR.mjs → chunk-YC7MT6SO.mjs} +2 -2
- package/dist/{chunk-WCA2WPFS.mjs → chunk-ZL56N4UK.mjs} +14 -2
- package/dist/{chunk-WCA2WPFS.mjs.map → chunk-ZL56N4UK.mjs.map} +1 -1
- package/dist/{chunk-VFFIUNR6.mjs → chunk-ZRFDCZ62.mjs} +5 -5
- package/dist/chunk-ZRFDCZ62.mjs.map +1 -0
- package/dist/footer/footer.js +9 -12
- package/dist/footer/footer.js.map +1 -1
- package/dist/footer/footer.mjs +5 -5
- package/dist/footer/index.d.mts +3 -3
- package/dist/footer/index.d.ts +3 -3
- package/dist/footer/index.js +19 -14
- package/dist/footer/index.js.map +1 -1
- package/dist/footer/index.mjs +16 -7
- package/dist/form/checkbox/checkbox.js +1 -1
- package/dist/form/checkbox/checkbox.js.map +1 -1
- package/dist/form/checkbox/checkbox.mjs +2 -2
- package/dist/form/checkbox/index.js +1 -1
- package/dist/form/checkbox/index.js.map +1 -1
- package/dist/form/checkbox/index.mjs +2 -2
- package/dist/form/date-picker/date-picker.d.mts +2 -0
- package/dist/form/date-picker/date-picker.d.ts +2 -0
- package/dist/form/date-picker/date-picker.js +265 -0
- package/dist/form/date-picker/date-picker.js.map +1 -0
- package/dist/form/date-picker/date-picker.mjs +13 -0
- package/dist/form/date-picker/date-picker.mjs.map +1 -0
- package/dist/form/date-picker/index.d.mts +2 -0
- package/dist/form/date-picker/index.d.ts +2 -0
- package/dist/form/date-picker/index.js +267 -0
- package/dist/form/date-picker/index.js.map +1 -0
- package/dist/form/date-picker/index.mjs +14 -0
- package/dist/form/date-picker/index.mjs.map +1 -0
- package/dist/form/fieldset/fieldset.js +1 -1
- package/dist/form/fieldset/fieldset.js.map +1 -1
- package/dist/form/fieldset/fieldset.mjs +1 -1
- package/dist/form/fieldset/index.js +1 -1
- package/dist/form/fieldset/index.js.map +1 -1
- package/dist/form/fieldset/index.mjs +1 -1
- package/dist/form/index.d.mts +10 -8
- package/dist/form/index.d.ts +10 -8
- package/dist/form/index.js +240 -132
- package/dist/form/index.js.map +1 -1
- package/dist/form/index.mjs +20 -14
- package/dist/form/input/index.js +12 -6
- package/dist/form/input/index.js.map +1 -1
- package/dist/form/input/index.mjs +2 -2
- package/dist/form/input/input.js +12 -6
- package/dist/form/input/input.js.map +1 -1
- package/dist/form/input/input.mjs +2 -2
- package/dist/form/input-group/index.js +12 -6
- package/dist/form/input-group/index.js.map +1 -1
- package/dist/form/input-group/index.mjs +1 -1
- package/dist/form/input-group/input-group.js +12 -6
- package/dist/form/input-group/input-group.js.map +1 -1
- package/dist/form/input-group/input-group.mjs +1 -1
- package/dist/form/radiobutton/index.js +1 -1
- package/dist/form/radiobutton/index.js.map +1 -1
- package/dist/form/radiobutton/index.mjs +3 -3
- package/dist/form/radiobutton/radiobutton.js +1 -1
- package/dist/form/radiobutton/radiobutton.js.map +1 -1
- package/dist/form/radiobutton/radiobutton.mjs +3 -3
- package/dist/form/radiobutton/radiogroup.js +1 -1
- package/dist/form/radiobutton/radiogroup.js.map +1 -1
- package/dist/form/radiobutton/radiogroup.mjs +2 -2
- package/dist/form/select/index.js +12 -6
- package/dist/form/select/index.js.map +1 -1
- package/dist/form/select/index.mjs +2 -2
- package/dist/form/select/select.js +12 -6
- package/dist/form/select/select.js.map +1 -1
- package/dist/form/select/select.mjs +2 -2
- package/dist/form/textarea/index.js +12 -6
- package/dist/form/textarea/index.js.map +1 -1
- package/dist/form/textarea/index.mjs +2 -2
- package/dist/form/textarea/textarea.js +12 -6
- package/dist/form/textarea/textarea.js.map +1 -1
- package/dist/form/textarea/textarea.mjs +2 -2
- package/dist/index-no-css.d.mts +36 -28
- package/dist/index-no-css.d.ts +36 -28
- package/dist/index-no-css.js +614 -409
- package/dist/index-no-css.js.map +1 -1
- package/dist/index-no-css.mjs +130 -52
- package/dist/index.d.mts +36 -28
- package/dist/index.d.ts +36 -28
- package/dist/index.js +614 -409
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +130 -52
- package/dist/index.mjs.map +1 -1
- package/dist/layout/index.d.mts +5 -1
- package/dist/layout/index.d.ts +5 -1
- package/dist/layout/index.js +62 -2
- package/dist/layout/index.js.map +1 -1
- package/dist/layout/index.mjs +12 -2
- package/dist/layout/responsive.d.mts +2 -0
- package/dist/layout/responsive.d.ts +2 -0
- package/dist/layout/responsive.js +42 -0
- package/dist/layout/responsive.js.map +1 -0
- package/dist/layout/responsive.mjs +8 -0
- package/dist/layout/responsive.mjs.map +1 -0
- package/dist/layout/spacing.d.mts +3 -0
- package/dist/layout/spacing.d.ts +3 -0
- package/dist/layout/spacing.js +33 -0
- package/dist/layout/spacing.js.map +1 -0
- package/dist/layout/spacing.mjs +8 -0
- package/dist/layout/spacing.mjs.map +1 -0
- package/dist/layout/stack/index.d.mts +4 -0
- package/dist/layout/stack/index.d.ts +4 -0
- package/dist/layout/stack/index.js +117 -0
- package/dist/layout/stack/index.js.map +1 -0
- package/dist/layout/stack/index.mjs +14 -0
- package/dist/layout/stack/index.mjs.map +1 -0
- package/dist/layout/stack/stack.d.mts +4 -0
- package/dist/layout/stack/stack.d.ts +4 -0
- package/dist/layout/stack/stack.js +115 -0
- package/dist/layout/stack/stack.js.map +1 -0
- package/dist/layout/stack/stack.mjs +14 -0
- package/dist/layout/stack/stack.mjs.map +1 -0
- package/dist/message/index.d.mts +2 -0
- package/dist/message/index.d.ts +2 -0
- package/dist/message/index.js +6 -2
- package/dist/message/index.js.map +1 -1
- package/dist/message/index.mjs +8 -3
- package/dist/message/message.d.mts +2 -2
- package/dist/message/message.d.ts +2 -2
- package/dist/modal/index.d.mts +2 -2
- package/dist/modal/index.d.ts +2 -2
- package/dist/modal/index.js +8 -2
- package/dist/modal/index.js.map +1 -1
- package/dist/modal/index.mjs +11 -4
- package/dist/modal/modal.js.map +1 -1
- package/dist/modal/modal.mjs +2 -2
- package/dist/navbar/index.d.mts +3 -3
- package/dist/navbar/index.d.ts +3 -3
- package/dist/navbar/index.js +42 -11
- package/dist/navbar/index.js.map +1 -1
- package/dist/navbar/index.mjs +13 -3
- package/dist/navbar/navbar-expandable-menu.js +34 -11
- package/dist/navbar/navbar-expandable-menu.js.map +1 -1
- package/dist/navbar/navbar-expandable-menu.mjs +2 -1
- package/dist/tabs/index.d.mts +5 -5
- package/dist/tabs/index.d.ts +5 -5
- package/dist/tabs/index.js +26 -6
- package/dist/tabs/index.js.map +1 -1
- package/dist/tabs/index.mjs +15 -5
- package/dist/tabs/tabs-list.d.mts +2 -2
- package/dist/tabs/tabs-list.d.ts +2 -2
- package/dist/tabs/tabs-list.js +19 -7
- package/dist/tabs/tabs-list.js.map +1 -1
- package/dist/tabs/tabs-list.mjs +6 -6
- package/dist/utils.d.mts +1 -0
- package/dist/utils.d.ts +1 -0
- package/dist/utils.js +13 -0
- package/dist/utils.js.map +1 -1
- package/dist/utils.mjs +3 -1
- package/dist/warning-banner/index.js.map +1 -1
- package/dist/warning-banner/index.mjs +2 -2
- package/dist/warning-banner/warning-banner.js.map +1 -1
- package/dist/warning-banner/warning-banner.mjs +2 -2
- package/package.json +4 -4
- package/dist/chunk-DEVTAZKG.mjs.map +0 -1
- package/dist/chunk-EHUVLDIZ.mjs.map +0 -1
- package/dist/chunk-MUVJAMFN.mjs.map +0 -1
- package/dist/chunk-OIQUYB26.mjs +0 -1
- package/dist/chunk-POJTVNEO.mjs.map +0 -1
- package/dist/chunk-RVJD2UZF.mjs.map +0 -1
- package/dist/chunk-SKI2APSK.mjs.map +0 -1
- package/dist/chunk-T24JZIQO.mjs +0 -1
- package/dist/chunk-VFFIUNR6.mjs.map +0 -1
- /package/dist/{chunk-XFSZBILE.mjs.map → chunk-6NGF7FFY.mjs.map} +0 -0
- /package/dist/{chunk-RLUXDZ6X.mjs.map → chunk-HMB4TY2F.mjs.map} +0 -0
- /package/dist/{chunk-RK6BB3HH.mjs.map → chunk-KTRIVJM3.mjs.map} +0 -0
- /package/dist/{chunk-OIQUYB26.mjs.map → chunk-L4GQJETB.mjs.map} +0 -0
- /package/dist/{chunk-IAS3E2S3.mjs.map → chunk-PUESATBQ.mjs.map} +0 -0
- /package/dist/{chunk-X7EKQZNU.mjs.map → chunk-RHCMBJOT.mjs.map} +0 -0
- /package/dist/{chunk-T24JZIQO.mjs.map → chunk-TDLSHJ4Z.mjs.map} +0 -0
- /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-
|
|
5
|
-
import
|
|
6
|
-
|
|
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
|
-
|
|
29
|
-
} from "./chunk-
|
|
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-
|
|
46
|
+
} from "./chunk-FOZSX44S.mjs";
|
|
33
47
|
import {
|
|
34
48
|
useNavbarExpendableMenuContext
|
|
35
|
-
} from "./chunk-
|
|
49
|
+
} from "./chunk-3KZOKDKP.mjs";
|
|
36
50
|
import "./chunk-MGUYIOP2.mjs";
|
|
37
|
-
import
|
|
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-
|
|
42
|
-
import "./chunk-ME66RUR6.mjs";
|
|
73
|
+
} from "./chunk-EJ7ANN7M.mjs";
|
|
43
74
|
import {
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
75
|
+
MessageDescription,
|
|
76
|
+
MessageTitle
|
|
77
|
+
} from "./chunk-ME66RUR6.mjs";
|
|
47
78
|
import {
|
|
48
79
|
CardComponent
|
|
49
|
-
} from "./chunk-
|
|
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-
|
|
57
|
-
import
|
|
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-
|
|
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-
|
|
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-
|
|
125
|
+
} from "./chunk-HMB4TY2F.mjs";
|
|
74
126
|
import {
|
|
75
127
|
RadioGroup,
|
|
76
128
|
useRadioGroupContext
|
|
77
|
-
} from "./chunk-
|
|
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-
|
|
133
|
+
} from "./chunk-RHCMBJOT.mjs";
|
|
86
134
|
import "./chunk-LMF3QGSF.mjs";
|
|
87
135
|
import {
|
|
88
136
|
Fieldset,
|
|
89
137
|
useFieldsetContext
|
|
90
|
-
} from "./chunk-
|
|
91
|
-
import "./chunk-
|
|
138
|
+
} from "./chunk-DM4PJFLG.mjs";
|
|
139
|
+
import "./chunk-TDLSHJ4Z.mjs";
|
|
92
140
|
import {
|
|
93
|
-
|
|
94
|
-
} from "./chunk-
|
|
141
|
+
DatePicker
|
|
142
|
+
} from "./chunk-G2SOAFGS.mjs";
|
|
95
143
|
import "./chunk-Y5SUMFYJ.mjs";
|
|
96
|
-
import "./chunk-
|
|
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
|
-
|
|
104
|
-
} from "./chunk-
|
|
105
|
-
import "./chunk-XLLYMQLW.mjs";
|
|
150
|
+
AccordionComponent
|
|
151
|
+
} from "./chunk-XYIY6FHW.mjs";
|
|
106
152
|
import {
|
|
107
|
-
|
|
108
|
-
} from "./chunk-
|
|
153
|
+
AccordionContent
|
|
154
|
+
} from "./chunk-GUB3UCXO.mjs";
|
|
109
155
|
import {
|
|
110
|
-
|
|
111
|
-
} from "./chunk-
|
|
112
|
-
import
|
|
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-
|
|
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-
|
|
134
|
-
import
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
import "./chunk-
|
|
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,
|
package/dist/index.mjs.map
CHANGED
|
@@ -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":"
|
|
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":[]}
|
package/dist/layout/index.d.mts
CHANGED
|
@@ -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';
|
package/dist/layout/index.d.ts
CHANGED
|
@@ -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';
|
package/dist/layout/index.js
CHANGED
|
@@ -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
|
package/dist/layout/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../src/layout/index.tsx","../../src/layout/container/container.tsx"],"sourcesContent":["export
|
|
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"]}
|
package/dist/layout/index.mjs
CHANGED
|
@@ -1,9 +1,19 @@
|
|
|
1
|
-
import "../chunk-
|
|
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,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 @@
|
|
|
1
|
+
{"version":3,"sources":[],"sourcesContent":[],"mappings":"","names":[]}
|
|
@@ -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 @@
|
|
|
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';
|