@postenbring/hedwig-react 0.0.50 → 0.0.51
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/chunk-4RD7KCEO.mjs +64 -0
- package/dist/{chunk-JOKO7Y7O.mjs → chunk-BIPWW7NV.mjs} +8 -202
- package/dist/chunk-CFMCOWLY.mjs +91 -0
- package/dist/chunk-GP3JFLYZ.mjs +204 -0
- package/dist/chunk-VIFCPFRJ.mjs +29 -0
- package/dist/form/index.mjs +8 -8
- package/dist/index.d.mts +3 -0
- package/dist/index.d.ts +3 -0
- package/dist/index.js +29236 -11
- package/dist/index.mjs +37 -12
- package/dist/navbar/index.mjs +2 -1
- package/dist/navbar/navbar-expandable-menu.mjs +2 -1
- package/dist/show-more/auto-animate-height.d.mts +30 -0
- package/dist/show-more/auto-animate-height.d.ts +30 -0
- package/dist/show-more/auto-animate-height.js +29198 -0
- package/dist/show-more/auto-animate-height.mjs +8 -0
- package/dist/show-more/show-more.d.mts +38 -0
- package/dist/show-more/show-more.d.ts +38 -0
- package/dist/show-more/show-more.js +76 -0
- package/dist/show-more/show-more.mjs +7 -0
- package/dist/step-indicator/step-indicator.d.mts +42 -0
- package/dist/step-indicator/step-indicator.d.ts +42 -0
- package/dist/step-indicator/step-indicator.js +111 -0
- package/dist/step-indicator/step-indicator.mjs +7 -0
- package/package.json +2 -2
package/dist/index.mjs
CHANGED
|
@@ -1,3 +1,16 @@
|
|
|
1
|
+
import "./chunk-K2HIKZ7F.mjs";
|
|
2
|
+
import {
|
|
3
|
+
WarningBanner
|
|
4
|
+
} from "./chunk-3Y65IUK4.mjs";
|
|
5
|
+
import {
|
|
6
|
+
AutoAnimateHeight
|
|
7
|
+
} from "./chunk-CFMCOWLY.mjs";
|
|
8
|
+
import {
|
|
9
|
+
ShowMoreButton
|
|
10
|
+
} from "./chunk-VIFCPFRJ.mjs";
|
|
11
|
+
import {
|
|
12
|
+
StepIndicator
|
|
13
|
+
} from "./chunk-4RD7KCEO.mjs";
|
|
1
14
|
import {
|
|
2
15
|
StyledHtml
|
|
3
16
|
} from "./chunk-3WKOOAQL.mjs";
|
|
@@ -8,10 +21,6 @@ import "./chunk-UL2XL6BN.mjs";
|
|
|
8
21
|
import "./chunk-4LB35CUY.mjs";
|
|
9
22
|
import "./chunk-C2VTAQEP.mjs";
|
|
10
23
|
import "./chunk-4ZM45P62.mjs";
|
|
11
|
-
import "./chunk-K2HIKZ7F.mjs";
|
|
12
|
-
import {
|
|
13
|
-
WarningBanner
|
|
14
|
-
} from "./chunk-3Y65IUK4.mjs";
|
|
15
24
|
import {
|
|
16
25
|
MessageComponent
|
|
17
26
|
} from "./chunk-7P6MJKWC.mjs";
|
|
@@ -21,11 +30,8 @@ import {
|
|
|
21
30
|
} from "./chunk-5FM3XK4V.mjs";
|
|
22
31
|
import "./chunk-73MDVYU2.mjs";
|
|
23
32
|
import "./chunk-FSBY3NKV.mjs";
|
|
33
|
+
import "./chunk-BIPWW7NV.mjs";
|
|
24
34
|
import "./chunk-5OGUAHLN.mjs";
|
|
25
|
-
import "./chunk-ERFGFY3Q.mjs";
|
|
26
|
-
import {
|
|
27
|
-
Radiobutton
|
|
28
|
-
} from "./chunk-ZDZR5FVC.mjs";
|
|
29
35
|
import "./chunk-OPW2JS5I.mjs";
|
|
30
36
|
import {
|
|
31
37
|
Select
|
|
@@ -34,10 +40,6 @@ import "./chunk-5NWYVPBZ.mjs";
|
|
|
34
40
|
import {
|
|
35
41
|
Textarea
|
|
36
42
|
} from "./chunk-OSCKYUZ3.mjs";
|
|
37
|
-
import "./chunk-JTHBBJZW.mjs";
|
|
38
|
-
import {
|
|
39
|
-
Checkbox
|
|
40
|
-
} from "./chunk-SDR3TESK.mjs";
|
|
41
43
|
import "./chunk-OKWNTFU5.mjs";
|
|
42
44
|
import {
|
|
43
45
|
Fieldset
|
|
@@ -48,6 +50,14 @@ import {
|
|
|
48
50
|
} from "./chunk-OX5NTX6M.mjs";
|
|
49
51
|
import "./chunk-S4F2KVFJ.mjs";
|
|
50
52
|
import "./chunk-CCNB2ABL.mjs";
|
|
53
|
+
import "./chunk-ERFGFY3Q.mjs";
|
|
54
|
+
import {
|
|
55
|
+
Radiobutton
|
|
56
|
+
} from "./chunk-ZDZR5FVC.mjs";
|
|
57
|
+
import "./chunk-JTHBBJZW.mjs";
|
|
58
|
+
import {
|
|
59
|
+
Checkbox
|
|
60
|
+
} from "./chunk-SDR3TESK.mjs";
|
|
51
61
|
import "./chunk-67OMX7FP.mjs";
|
|
52
62
|
import "./chunk-RBOWRO3L.mjs";
|
|
53
63
|
import "./chunk-FJQCHTJZ.mjs";
|
|
@@ -108,8 +118,21 @@ import "@postenbring/hedwig-css/dist/fonts.css";
|
|
|
108
118
|
import "@postenbring/hedwig-css/dist/tokens.css";
|
|
109
119
|
import "@postenbring/hedwig-css/dist/body.css";
|
|
110
120
|
import "@postenbring/hedwig-css/dist/styled-html.css";
|
|
121
|
+
|
|
122
|
+
// src/show-more/index.ts
|
|
123
|
+
import "@postenbring/hedwig-css/dist/fonts.css";
|
|
124
|
+
import "@postenbring/hedwig-css/dist/tokens.css";
|
|
125
|
+
import "@postenbring/hedwig-css/dist/body.css";
|
|
126
|
+
import "@postenbring/hedwig-css/dist/show-more.css";
|
|
127
|
+
|
|
128
|
+
// src/step-indicator/index.ts
|
|
129
|
+
import "@postenbring/hedwig-css/dist/fonts.css";
|
|
130
|
+
import "@postenbring/hedwig-css/dist/tokens.css";
|
|
131
|
+
import "@postenbring/hedwig-css/dist/body.css";
|
|
132
|
+
import "@postenbring/hedwig-css/dist/step-indicator.css";
|
|
111
133
|
export {
|
|
112
134
|
AccordionComponent as Accordion,
|
|
135
|
+
AutoAnimateHeight,
|
|
113
136
|
Badge,
|
|
114
137
|
BoxComponent as Box,
|
|
115
138
|
Breadcrumbs,
|
|
@@ -129,6 +152,8 @@ export {
|
|
|
129
152
|
Radiobutton,
|
|
130
153
|
SecondaryButton,
|
|
131
154
|
Select,
|
|
155
|
+
ShowMoreButton,
|
|
156
|
+
StepIndicator,
|
|
132
157
|
StyledHtml,
|
|
133
158
|
TabsComponent as Tabs,
|
|
134
159
|
Textarea,
|
package/dist/navbar/index.mjs
CHANGED
|
@@ -2,7 +2,7 @@ import {
|
|
|
2
2
|
NavbarExpandableMenu,
|
|
3
3
|
NavbarExpandableMenuContent,
|
|
4
4
|
NavbarExpandableMenuTrigger
|
|
5
|
-
} from "../chunk-
|
|
5
|
+
} from "../chunk-GP3JFLYZ.mjs";
|
|
6
6
|
import "../chunk-HIRUCFWO.mjs";
|
|
7
7
|
import {
|
|
8
8
|
Navbar,
|
|
@@ -10,6 +10,7 @@ import {
|
|
|
10
10
|
NavbarLogo,
|
|
11
11
|
NavbarNavigation
|
|
12
12
|
} from "../chunk-UGZSXQQQ.mjs";
|
|
13
|
+
import "../chunk-BIPWW7NV.mjs";
|
|
13
14
|
import "../chunk-FKR5F35B.mjs";
|
|
14
15
|
|
|
15
16
|
// src/navbar/index.tsx
|
|
@@ -2,8 +2,9 @@ import {
|
|
|
2
2
|
NavbarExpandableMenu,
|
|
3
3
|
NavbarExpandableMenuContent,
|
|
4
4
|
NavbarExpandableMenuTrigger
|
|
5
|
-
} from "../chunk-
|
|
5
|
+
} from "../chunk-GP3JFLYZ.mjs";
|
|
6
6
|
import "../chunk-HIRUCFWO.mjs";
|
|
7
|
+
import "../chunk-BIPWW7NV.mjs";
|
|
7
8
|
import "../chunk-FKR5F35B.mjs";
|
|
8
9
|
export {
|
|
9
10
|
NavbarExpandableMenu,
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { O as OverridableComponent } from '../utils-3jLhIyOS.mjs';
|
|
2
|
+
import 'react';
|
|
3
|
+
|
|
4
|
+
interface AutoAnimateHeightProps {
|
|
5
|
+
/**
|
|
6
|
+
* Time of the animation, using the hedwig animation tokens
|
|
7
|
+
* quick: 0.1s
|
|
8
|
+
* normal: 0.3s
|
|
9
|
+
* slow: 0.7s
|
|
10
|
+
*
|
|
11
|
+
* default is "normal"
|
|
12
|
+
*/
|
|
13
|
+
animationDuration?: "quick" | "normal" | "slow";
|
|
14
|
+
/**
|
|
15
|
+
* Which hedwig easing function to use, default is "normal"
|
|
16
|
+
*/
|
|
17
|
+
animationEasing?: "in" | "out" | "normal";
|
|
18
|
+
children: React.ReactNode;
|
|
19
|
+
style?: React.CSSProperties;
|
|
20
|
+
}
|
|
21
|
+
/**
|
|
22
|
+
* Helper component to animate the height of the children when they change
|
|
23
|
+
* It's done by rendering two versions of the passed children,
|
|
24
|
+
* one hidden to measure the height and one visible to only changes after the height is measured.
|
|
25
|
+
*
|
|
26
|
+
* **IMPORTANT** Do not pass any components with effects (like data fetching), as they will trigger twice.
|
|
27
|
+
*/
|
|
28
|
+
declare const AutoAnimateHeight: OverridableComponent<AutoAnimateHeightProps, HTMLDivElement>;
|
|
29
|
+
|
|
30
|
+
export { AutoAnimateHeight };
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { O as OverridableComponent } from '../utils-3jLhIyOS.js';
|
|
2
|
+
import 'react';
|
|
3
|
+
|
|
4
|
+
interface AutoAnimateHeightProps {
|
|
5
|
+
/**
|
|
6
|
+
* Time of the animation, using the hedwig animation tokens
|
|
7
|
+
* quick: 0.1s
|
|
8
|
+
* normal: 0.3s
|
|
9
|
+
* slow: 0.7s
|
|
10
|
+
*
|
|
11
|
+
* default is "normal"
|
|
12
|
+
*/
|
|
13
|
+
animationDuration?: "quick" | "normal" | "slow";
|
|
14
|
+
/**
|
|
15
|
+
* Which hedwig easing function to use, default is "normal"
|
|
16
|
+
*/
|
|
17
|
+
animationEasing?: "in" | "out" | "normal";
|
|
18
|
+
children: React.ReactNode;
|
|
19
|
+
style?: React.CSSProperties;
|
|
20
|
+
}
|
|
21
|
+
/**
|
|
22
|
+
* Helper component to animate the height of the children when they change
|
|
23
|
+
* It's done by rendering two versions of the passed children,
|
|
24
|
+
* one hidden to measure the height and one visible to only changes after the height is measured.
|
|
25
|
+
*
|
|
26
|
+
* **IMPORTANT** Do not pass any components with effects (like data fetching), as they will trigger twice.
|
|
27
|
+
*/
|
|
28
|
+
declare const AutoAnimateHeight: OverridableComponent<AutoAnimateHeightProps, HTMLDivElement>;
|
|
29
|
+
|
|
30
|
+
export { AutoAnimateHeight };
|