@postenbring/hedwig-react 0.0.36 → 0.0.38
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/card/card.d.mts +5 -3
- package/dist/card/card.d.ts +5 -3
- package/dist/card/card.js +54 -13
- package/dist/card/card.mjs +9 -5
- package/dist/card/index.d.mts +24 -6
- package/dist/card/index.d.ts +24 -6
- package/dist/card/index.js +61 -16
- package/dist/card/index.mjs +10 -6
- package/dist/{chunk-LWMZV362.mjs → chunk-4XHA3NGO.mjs} +51 -12
- package/dist/{chunk-VS4HRMMY.mjs → chunk-ZYLTRW56.mjs} +12 -6
- package/dist/index.d.mts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +61 -16
- package/dist/index.mjs +10 -6
- package/dist/select/select.d.mts +1 -1
- package/dist/select/select.d.ts +1 -1
- package/package.json +2 -2
package/dist/card/card.d.mts
CHANGED
|
@@ -11,9 +11,11 @@ interface CardImageMediaProps extends HTMLAttributes<HTMLDivElement> {
|
|
|
11
11
|
}
|
|
12
12
|
declare const CardMediaImg: OverridableComponent<CardImageMediaProps, HTMLImageElement>;
|
|
13
13
|
declare const CardBody: OverridableComponent<CardBaseProps, HTMLDivElement>;
|
|
14
|
-
declare const
|
|
15
|
-
declare const
|
|
14
|
+
declare const CardBodyHeader: OverridableComponent<CardBaseProps, HTMLDivElement>;
|
|
15
|
+
declare const CardBodyHeaderOverline: OverridableComponent<CardBaseProps, HTMLDivElement>;
|
|
16
|
+
declare const CardBodyHeaderTitle: OverridableComponent<CardBaseProps, HTMLDivElement>;
|
|
16
17
|
declare const CardBodyDescription: OverridableComponent<CardBaseProps, HTMLDivElement>;
|
|
17
18
|
declare const CardBodyAction: OverridableComponent<CardBaseProps, HTMLDivElement>;
|
|
19
|
+
declare const CardBodyActionArrow: OverridableComponent<HTMLAttributes<HTMLAnchorElement>, HTMLAnchorElement>;
|
|
18
20
|
|
|
19
|
-
export { Card, type CardBaseProps, CardBody, CardBodyAction, CardBodyDescription,
|
|
21
|
+
export { Card, type CardBaseProps, CardBody, CardBodyAction, CardBodyActionArrow, CardBodyDescription, CardBodyHeader, CardBodyHeaderOverline, CardBodyHeaderTitle, type CardImageMediaProps, CardMedia, CardMediaImg };
|
package/dist/card/card.d.ts
CHANGED
|
@@ -11,9 +11,11 @@ interface CardImageMediaProps extends HTMLAttributes<HTMLDivElement> {
|
|
|
11
11
|
}
|
|
12
12
|
declare const CardMediaImg: OverridableComponent<CardImageMediaProps, HTMLImageElement>;
|
|
13
13
|
declare const CardBody: OverridableComponent<CardBaseProps, HTMLDivElement>;
|
|
14
|
-
declare const
|
|
15
|
-
declare const
|
|
14
|
+
declare const CardBodyHeader: OverridableComponent<CardBaseProps, HTMLDivElement>;
|
|
15
|
+
declare const CardBodyHeaderOverline: OverridableComponent<CardBaseProps, HTMLDivElement>;
|
|
16
|
+
declare const CardBodyHeaderTitle: OverridableComponent<CardBaseProps, HTMLDivElement>;
|
|
16
17
|
declare const CardBodyDescription: OverridableComponent<CardBaseProps, HTMLDivElement>;
|
|
17
18
|
declare const CardBodyAction: OverridableComponent<CardBaseProps, HTMLDivElement>;
|
|
19
|
+
declare const CardBodyActionArrow: OverridableComponent<HTMLAttributes<HTMLAnchorElement>, HTMLAnchorElement>;
|
|
18
20
|
|
|
19
|
-
export { Card, type CardBaseProps, CardBody, CardBodyAction, CardBodyDescription,
|
|
21
|
+
export { Card, type CardBaseProps, CardBody, CardBodyAction, CardBodyActionArrow, CardBodyDescription, CardBodyHeader, CardBodyHeaderOverline, CardBodyHeaderTitle, type CardImageMediaProps, CardMedia, CardMediaImg };
|
package/dist/card/card.js
CHANGED
|
@@ -52,9 +52,11 @@ __export(card_exports, {
|
|
|
52
52
|
Card: () => Card,
|
|
53
53
|
CardBody: () => CardBody,
|
|
54
54
|
CardBodyAction: () => CardBodyAction,
|
|
55
|
+
CardBodyActionArrow: () => CardBodyActionArrow,
|
|
55
56
|
CardBodyDescription: () => CardBodyDescription,
|
|
56
|
-
|
|
57
|
-
|
|
57
|
+
CardBodyHeader: () => CardBodyHeader,
|
|
58
|
+
CardBodyHeaderOverline: () => CardBodyHeaderOverline,
|
|
59
|
+
CardBodyHeaderTitle: () => CardBodyHeaderTitle,
|
|
58
60
|
CardMedia: () => CardMedia,
|
|
59
61
|
CardMediaImg: () => CardMediaImg
|
|
60
62
|
});
|
|
@@ -64,7 +66,7 @@ var import_typed_classname = require("@postenbring/hedwig-css/typed-classname/in
|
|
|
64
66
|
var import_jsx_runtime = require("react/jsx-runtime");
|
|
65
67
|
var Card = (0, import_react.forwardRef)(
|
|
66
68
|
(_a, ref) => {
|
|
67
|
-
var _b = _a, { as: Component = "
|
|
69
|
+
var _b = _a, { as: Component = "section", className, children } = _b, rest = __objRest(_b, ["as", "className", "children"]);
|
|
68
70
|
return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(Component, __spreadProps(__spreadValues({}, rest), { className: (0, import_typed_classname.clsx)("hds-card", className), ref, children }));
|
|
69
71
|
}
|
|
70
72
|
);
|
|
@@ -96,20 +98,46 @@ var CardBody = (0, import_react.forwardRef)(
|
|
|
96
98
|
}
|
|
97
99
|
);
|
|
98
100
|
CardBody.displayName = "Card.Body";
|
|
99
|
-
var
|
|
101
|
+
var CardBodyHeader = (0, import_react.forwardRef)(
|
|
100
102
|
(_a, ref) => {
|
|
101
|
-
var _b = _a, { as: Component = "
|
|
102
|
-
return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
|
|
103
|
+
var _b = _a, { as: Component = "h3", className, children } = _b, rest = __objRest(_b, ["as", "className", "children"]);
|
|
104
|
+
return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
|
|
105
|
+
Component,
|
|
106
|
+
__spreadProps(__spreadValues({}, rest), {
|
|
107
|
+
className: (0, import_typed_classname.clsx)("hds-card__body-header", className),
|
|
108
|
+
ref,
|
|
109
|
+
children
|
|
110
|
+
})
|
|
111
|
+
);
|
|
103
112
|
}
|
|
104
113
|
);
|
|
105
|
-
|
|
106
|
-
var
|
|
114
|
+
CardBodyHeader.displayName = "Card.Body.Header";
|
|
115
|
+
var CardBodyHeaderOverline = (0, import_react.forwardRef)((_a, ref) => {
|
|
116
|
+
var _b = _a, { as: Component = "span", className, children } = _b, rest = __objRest(_b, ["as", "className", "children"]);
|
|
117
|
+
return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
|
|
118
|
+
Component,
|
|
119
|
+
__spreadProps(__spreadValues({}, rest), {
|
|
120
|
+
className: (0, import_typed_classname.clsx)("hds-card__body-header-overline", className),
|
|
121
|
+
ref,
|
|
122
|
+
children
|
|
123
|
+
})
|
|
124
|
+
);
|
|
125
|
+
});
|
|
126
|
+
CardBodyHeaderOverline.displayName = "Card.Body.Header.Overline";
|
|
127
|
+
var CardBodyHeaderTitle = (0, import_react.forwardRef)(
|
|
107
128
|
(_a, ref) => {
|
|
108
|
-
var _b = _a, { as: Component = "
|
|
109
|
-
return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
|
|
129
|
+
var _b = _a, { as: Component = "span", className, children } = _b, rest = __objRest(_b, ["as", "className", "children"]);
|
|
130
|
+
return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
|
|
131
|
+
Component,
|
|
132
|
+
__spreadProps(__spreadValues({}, rest), {
|
|
133
|
+
className: (0, import_typed_classname.clsx)("hds-card__body-header-title", className),
|
|
134
|
+
ref,
|
|
135
|
+
children
|
|
136
|
+
})
|
|
137
|
+
);
|
|
110
138
|
}
|
|
111
139
|
);
|
|
112
|
-
|
|
140
|
+
CardBodyHeaderTitle.displayName = "Card.Body.Header.Title";
|
|
113
141
|
var CardBodyDescription = (0, import_react.forwardRef)(
|
|
114
142
|
(_a, ref) => {
|
|
115
143
|
var _b = _a, { as: Component = "p", className, children } = _b, rest = __objRest(_b, ["as", "className", "children"]);
|
|
@@ -124,14 +152,27 @@ var CardBodyAction = (0, import_react.forwardRef)(
|
|
|
124
152
|
}
|
|
125
153
|
);
|
|
126
154
|
CardBodyAction.displayName = "Card.Body.Action";
|
|
155
|
+
var CardBodyActionArrow = (0, import_react.forwardRef)((_a, ref) => {
|
|
156
|
+
var _b = _a, { as: Component = "a", className } = _b, rest = __objRest(_b, ["as", "className"]);
|
|
157
|
+
return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
|
|
158
|
+
Component,
|
|
159
|
+
__spreadProps(__spreadValues({}, rest), {
|
|
160
|
+
className: (0, import_typed_classname.clsx)("hds-card__body-action-arrow", className),
|
|
161
|
+
ref
|
|
162
|
+
})
|
|
163
|
+
);
|
|
164
|
+
});
|
|
165
|
+
CardBodyActionArrow.displayName = "Card.Body.Action.Arrow";
|
|
127
166
|
// Annotate the CommonJS export names for ESM import in node:
|
|
128
167
|
0 && (module.exports = {
|
|
129
168
|
Card,
|
|
130
169
|
CardBody,
|
|
131
170
|
CardBodyAction,
|
|
171
|
+
CardBodyActionArrow,
|
|
132
172
|
CardBodyDescription,
|
|
133
|
-
|
|
134
|
-
|
|
173
|
+
CardBodyHeader,
|
|
174
|
+
CardBodyHeaderOverline,
|
|
175
|
+
CardBodyHeaderTitle,
|
|
135
176
|
CardMedia,
|
|
136
177
|
CardMediaImg
|
|
137
178
|
});
|
package/dist/card/card.mjs
CHANGED
|
@@ -2,20 +2,24 @@ import {
|
|
|
2
2
|
Card,
|
|
3
3
|
CardBody,
|
|
4
4
|
CardBodyAction,
|
|
5
|
+
CardBodyActionArrow,
|
|
5
6
|
CardBodyDescription,
|
|
6
|
-
|
|
7
|
-
|
|
7
|
+
CardBodyHeader,
|
|
8
|
+
CardBodyHeaderOverline,
|
|
9
|
+
CardBodyHeaderTitle,
|
|
8
10
|
CardMedia,
|
|
9
11
|
CardMediaImg
|
|
10
|
-
} from "../chunk-
|
|
12
|
+
} from "../chunk-4XHA3NGO.mjs";
|
|
11
13
|
import "../chunk-FUJQIYOF.mjs";
|
|
12
14
|
export {
|
|
13
15
|
Card,
|
|
14
16
|
CardBody,
|
|
15
17
|
CardBodyAction,
|
|
18
|
+
CardBodyActionArrow,
|
|
16
19
|
CardBodyDescription,
|
|
17
|
-
|
|
18
|
-
|
|
20
|
+
CardBodyHeader,
|
|
21
|
+
CardBodyHeaderOverline,
|
|
22
|
+
CardBodyHeaderTitle,
|
|
19
23
|
CardMedia,
|
|
20
24
|
CardMediaImg
|
|
21
25
|
};
|
package/dist/card/index.d.mts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as react from 'react';
|
|
2
|
-
import { CardBaseProps, CardMediaImg,
|
|
3
|
-
export { CardBody, CardImageMediaProps, CardMedia } from './card.mjs';
|
|
2
|
+
import { CardBaseProps, CardMediaImg, CardBodyHeaderOverline, CardBodyHeaderTitle, CardBodyDescription, CardBodyActionArrow } from './card.mjs';
|
|
3
|
+
export { CardBody, CardBodyAction, CardBodyHeader, CardImageMediaProps, CardMedia } from './card.mjs';
|
|
4
4
|
import '../utils-BfZsjuFH.mjs';
|
|
5
5
|
|
|
6
6
|
declare const CardMediaComponent: {
|
|
@@ -11,16 +11,34 @@ declare const CardMediaComponent: {
|
|
|
11
11
|
} & Pick<react.FC, "displayName"> & {
|
|
12
12
|
Img: typeof CardMediaImg;
|
|
13
13
|
};
|
|
14
|
+
declare const CardBodyHeaderComponent: {
|
|
15
|
+
(props: CardBaseProps & react.RefAttributes<HTMLDivElement>): react.ReactNode;
|
|
16
|
+
<As extends react.ElementType>(props: {
|
|
17
|
+
as?: As | undefined;
|
|
18
|
+
} & CardBaseProps & Omit<react.ComponentPropsWithRef<As>, keyof CardBaseProps>): react.ReactNode;
|
|
19
|
+
} & Pick<react.FC, "displayName"> & {
|
|
20
|
+
Overline: typeof CardBodyHeaderOverline;
|
|
21
|
+
Title: typeof CardBodyHeaderTitle;
|
|
22
|
+
};
|
|
23
|
+
declare const CardBodyActionComponent: {
|
|
24
|
+
(props: CardBaseProps & react.RefAttributes<HTMLDivElement>): react.ReactNode;
|
|
25
|
+
<As extends react.ElementType>(props: {
|
|
26
|
+
as?: As | undefined;
|
|
27
|
+
} & CardBaseProps & Omit<react.ComponentPropsWithRef<As>, keyof CardBaseProps>): react.ReactNode;
|
|
28
|
+
} & Pick<react.FC, "displayName"> & {
|
|
29
|
+
Arrow: typeof CardBodyActionArrow;
|
|
30
|
+
};
|
|
14
31
|
declare const CardBodyComponent: {
|
|
15
32
|
(props: CardBaseProps & react.RefAttributes<HTMLDivElement>): react.ReactNode;
|
|
16
33
|
<As extends react.ElementType>(props: {
|
|
17
34
|
as?: As | undefined;
|
|
18
35
|
} & CardBaseProps & Omit<react.ComponentPropsWithRef<As>, keyof CardBaseProps>): react.ReactNode;
|
|
19
36
|
} & Pick<react.FC, "displayName"> & {
|
|
20
|
-
|
|
21
|
-
|
|
37
|
+
Header: typeof CardBodyHeaderComponent;
|
|
38
|
+
Overline: typeof CardBodyHeaderOverline;
|
|
39
|
+
Title: typeof CardBodyHeaderTitle;
|
|
22
40
|
Description: typeof CardBodyDescription;
|
|
23
|
-
Action: typeof
|
|
41
|
+
Action: typeof CardBodyActionComponent;
|
|
24
42
|
};
|
|
25
43
|
declare const CardComponent: {
|
|
26
44
|
(props: CardBaseProps & react.RefAttributes<HTMLDivElement>): react.ReactNode;
|
|
@@ -32,4 +50,4 @@ declare const CardComponent: {
|
|
|
32
50
|
Body: typeof CardBodyComponent;
|
|
33
51
|
};
|
|
34
52
|
|
|
35
|
-
export { CardComponent as Card, CardBaseProps,
|
|
53
|
+
export { CardComponent as Card, CardBaseProps, CardBodyActionArrow, CardBodyDescription, CardBodyHeaderOverline, CardBodyHeaderTitle, CardMediaImg };
|
package/dist/card/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as react from 'react';
|
|
2
|
-
import { CardBaseProps, CardMediaImg,
|
|
3
|
-
export { CardBody, CardImageMediaProps, CardMedia } from './card.js';
|
|
2
|
+
import { CardBaseProps, CardMediaImg, CardBodyHeaderOverline, CardBodyHeaderTitle, CardBodyDescription, CardBodyActionArrow } from './card.js';
|
|
3
|
+
export { CardBody, CardBodyAction, CardBodyHeader, CardImageMediaProps, CardMedia } from './card.js';
|
|
4
4
|
import '../utils-BfZsjuFH.js';
|
|
5
5
|
|
|
6
6
|
declare const CardMediaComponent: {
|
|
@@ -11,16 +11,34 @@ declare const CardMediaComponent: {
|
|
|
11
11
|
} & Pick<react.FC, "displayName"> & {
|
|
12
12
|
Img: typeof CardMediaImg;
|
|
13
13
|
};
|
|
14
|
+
declare const CardBodyHeaderComponent: {
|
|
15
|
+
(props: CardBaseProps & react.RefAttributes<HTMLDivElement>): react.ReactNode;
|
|
16
|
+
<As extends react.ElementType>(props: {
|
|
17
|
+
as?: As | undefined;
|
|
18
|
+
} & CardBaseProps & Omit<react.ComponentPropsWithRef<As>, keyof CardBaseProps>): react.ReactNode;
|
|
19
|
+
} & Pick<react.FC, "displayName"> & {
|
|
20
|
+
Overline: typeof CardBodyHeaderOverline;
|
|
21
|
+
Title: typeof CardBodyHeaderTitle;
|
|
22
|
+
};
|
|
23
|
+
declare const CardBodyActionComponent: {
|
|
24
|
+
(props: CardBaseProps & react.RefAttributes<HTMLDivElement>): react.ReactNode;
|
|
25
|
+
<As extends react.ElementType>(props: {
|
|
26
|
+
as?: As | undefined;
|
|
27
|
+
} & CardBaseProps & Omit<react.ComponentPropsWithRef<As>, keyof CardBaseProps>): react.ReactNode;
|
|
28
|
+
} & Pick<react.FC, "displayName"> & {
|
|
29
|
+
Arrow: typeof CardBodyActionArrow;
|
|
30
|
+
};
|
|
14
31
|
declare const CardBodyComponent: {
|
|
15
32
|
(props: CardBaseProps & react.RefAttributes<HTMLDivElement>): react.ReactNode;
|
|
16
33
|
<As extends react.ElementType>(props: {
|
|
17
34
|
as?: As | undefined;
|
|
18
35
|
} & CardBaseProps & Omit<react.ComponentPropsWithRef<As>, keyof CardBaseProps>): react.ReactNode;
|
|
19
36
|
} & Pick<react.FC, "displayName"> & {
|
|
20
|
-
|
|
21
|
-
|
|
37
|
+
Header: typeof CardBodyHeaderComponent;
|
|
38
|
+
Overline: typeof CardBodyHeaderOverline;
|
|
39
|
+
Title: typeof CardBodyHeaderTitle;
|
|
22
40
|
Description: typeof CardBodyDescription;
|
|
23
|
-
Action: typeof
|
|
41
|
+
Action: typeof CardBodyActionComponent;
|
|
24
42
|
};
|
|
25
43
|
declare const CardComponent: {
|
|
26
44
|
(props: CardBaseProps & react.RefAttributes<HTMLDivElement>): react.ReactNode;
|
|
@@ -32,4 +50,4 @@ declare const CardComponent: {
|
|
|
32
50
|
Body: typeof CardBodyComponent;
|
|
33
51
|
};
|
|
34
52
|
|
|
35
|
-
export { CardComponent as Card, CardBaseProps,
|
|
53
|
+
export { CardComponent as Card, CardBaseProps, CardBodyActionArrow, CardBodyDescription, CardBodyHeaderOverline, CardBodyHeaderTitle, CardMediaImg };
|
package/dist/card/index.js
CHANGED
|
@@ -52,9 +52,11 @@ __export(card_exports, {
|
|
|
52
52
|
Card: () => CardComponent,
|
|
53
53
|
CardBody: () => CardBody,
|
|
54
54
|
CardBodyAction: () => CardBodyAction,
|
|
55
|
+
CardBodyActionArrow: () => CardBodyActionArrow,
|
|
55
56
|
CardBodyDescription: () => CardBodyDescription,
|
|
56
|
-
|
|
57
|
-
|
|
57
|
+
CardBodyHeader: () => CardBodyHeader,
|
|
58
|
+
CardBodyHeaderOverline: () => CardBodyHeaderOverline,
|
|
59
|
+
CardBodyHeaderTitle: () => CardBodyHeaderTitle,
|
|
58
60
|
CardMedia: () => CardMedia,
|
|
59
61
|
CardMediaImg: () => CardMediaImg
|
|
60
62
|
});
|
|
@@ -70,7 +72,7 @@ var import_typed_classname = require("@postenbring/hedwig-css/typed-classname/in
|
|
|
70
72
|
var import_jsx_runtime = require("react/jsx-runtime");
|
|
71
73
|
var Card = (0, import_react.forwardRef)(
|
|
72
74
|
(_a, ref) => {
|
|
73
|
-
var _b = _a, { as: Component = "
|
|
75
|
+
var _b = _a, { as: Component = "section", className, children } = _b, rest = __objRest(_b, ["as", "className", "children"]);
|
|
74
76
|
return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(Component, __spreadProps(__spreadValues({}, rest), { className: (0, import_typed_classname.clsx)("hds-card", className), ref, children }));
|
|
75
77
|
}
|
|
76
78
|
);
|
|
@@ -102,20 +104,46 @@ var CardBody = (0, import_react.forwardRef)(
|
|
|
102
104
|
}
|
|
103
105
|
);
|
|
104
106
|
CardBody.displayName = "Card.Body";
|
|
105
|
-
var
|
|
107
|
+
var CardBodyHeader = (0, import_react.forwardRef)(
|
|
106
108
|
(_a, ref) => {
|
|
107
|
-
var _b = _a, { as: Component = "
|
|
108
|
-
return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
|
|
109
|
+
var _b = _a, { as: Component = "h3", className, children } = _b, rest = __objRest(_b, ["as", "className", "children"]);
|
|
110
|
+
return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
|
|
111
|
+
Component,
|
|
112
|
+
__spreadProps(__spreadValues({}, rest), {
|
|
113
|
+
className: (0, import_typed_classname.clsx)("hds-card__body-header", className),
|
|
114
|
+
ref,
|
|
115
|
+
children
|
|
116
|
+
})
|
|
117
|
+
);
|
|
109
118
|
}
|
|
110
119
|
);
|
|
111
|
-
|
|
112
|
-
var
|
|
120
|
+
CardBodyHeader.displayName = "Card.Body.Header";
|
|
121
|
+
var CardBodyHeaderOverline = (0, import_react.forwardRef)((_a, ref) => {
|
|
122
|
+
var _b = _a, { as: Component = "span", className, children } = _b, rest = __objRest(_b, ["as", "className", "children"]);
|
|
123
|
+
return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
|
|
124
|
+
Component,
|
|
125
|
+
__spreadProps(__spreadValues({}, rest), {
|
|
126
|
+
className: (0, import_typed_classname.clsx)("hds-card__body-header-overline", className),
|
|
127
|
+
ref,
|
|
128
|
+
children
|
|
129
|
+
})
|
|
130
|
+
);
|
|
131
|
+
});
|
|
132
|
+
CardBodyHeaderOverline.displayName = "Card.Body.Header.Overline";
|
|
133
|
+
var CardBodyHeaderTitle = (0, import_react.forwardRef)(
|
|
113
134
|
(_a, ref) => {
|
|
114
|
-
var _b = _a, { as: Component = "
|
|
115
|
-
return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
|
|
135
|
+
var _b = _a, { as: Component = "span", className, children } = _b, rest = __objRest(_b, ["as", "className", "children"]);
|
|
136
|
+
return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
|
|
137
|
+
Component,
|
|
138
|
+
__spreadProps(__spreadValues({}, rest), {
|
|
139
|
+
className: (0, import_typed_classname.clsx)("hds-card__body-header-title", className),
|
|
140
|
+
ref,
|
|
141
|
+
children
|
|
142
|
+
})
|
|
143
|
+
);
|
|
116
144
|
}
|
|
117
145
|
);
|
|
118
|
-
|
|
146
|
+
CardBodyHeaderTitle.displayName = "Card.Body.Header.Title";
|
|
119
147
|
var CardBodyDescription = (0, import_react.forwardRef)(
|
|
120
148
|
(_a, ref) => {
|
|
121
149
|
var _b = _a, { as: Component = "p", className, children } = _b, rest = __objRest(_b, ["as", "className", "children"]);
|
|
@@ -130,15 +158,30 @@ var CardBodyAction = (0, import_react.forwardRef)(
|
|
|
130
158
|
}
|
|
131
159
|
);
|
|
132
160
|
CardBodyAction.displayName = "Card.Body.Action";
|
|
161
|
+
var CardBodyActionArrow = (0, import_react.forwardRef)((_a, ref) => {
|
|
162
|
+
var _b = _a, { as: Component = "a", className } = _b, rest = __objRest(_b, ["as", "className"]);
|
|
163
|
+
return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
|
|
164
|
+
Component,
|
|
165
|
+
__spreadProps(__spreadValues({}, rest), {
|
|
166
|
+
className: (0, import_typed_classname.clsx)("hds-card__body-action-arrow", className),
|
|
167
|
+
ref
|
|
168
|
+
})
|
|
169
|
+
);
|
|
170
|
+
});
|
|
171
|
+
CardBodyActionArrow.displayName = "Card.Body.Action.Arrow";
|
|
133
172
|
|
|
134
173
|
// src/card/index.tsx
|
|
135
174
|
var CardMediaComponent = CardMedia;
|
|
136
175
|
CardMediaComponent.Img = CardMediaImg;
|
|
176
|
+
var CardBodyHeaderComponent = CardBodyHeader;
|
|
177
|
+
CardBodyHeaderComponent.Overline = CardBodyHeaderOverline;
|
|
178
|
+
CardBodyHeaderComponent.Title = CardBodyHeaderTitle;
|
|
179
|
+
var CardBodyActionComponent = CardBodyAction;
|
|
180
|
+
CardBodyActionComponent.Arrow = CardBodyActionArrow;
|
|
137
181
|
var CardBodyComponent = CardBody;
|
|
138
|
-
CardBodyComponent.
|
|
139
|
-
CardBodyComponent.Title = CardBodyTitle;
|
|
182
|
+
CardBodyComponent.Header = CardBodyHeaderComponent;
|
|
140
183
|
CardBodyComponent.Description = CardBodyDescription;
|
|
141
|
-
CardBodyComponent.Action =
|
|
184
|
+
CardBodyComponent.Action = CardBodyActionComponent;
|
|
142
185
|
var CardComponent = Card;
|
|
143
186
|
CardComponent.Media = CardMediaComponent;
|
|
144
187
|
CardComponent.Body = CardBodyComponent;
|
|
@@ -147,9 +190,11 @@ CardComponent.Body = CardBodyComponent;
|
|
|
147
190
|
Card,
|
|
148
191
|
CardBody,
|
|
149
192
|
CardBodyAction,
|
|
193
|
+
CardBodyActionArrow,
|
|
150
194
|
CardBodyDescription,
|
|
151
|
-
|
|
152
|
-
|
|
195
|
+
CardBodyHeader,
|
|
196
|
+
CardBodyHeaderOverline,
|
|
197
|
+
CardBodyHeaderTitle,
|
|
153
198
|
CardMedia,
|
|
154
199
|
CardMediaImg
|
|
155
200
|
});
|
package/dist/card/index.mjs
CHANGED
|
@@ -1,23 +1,27 @@
|
|
|
1
1
|
import {
|
|
2
2
|
CardComponent
|
|
3
|
-
} from "../chunk-
|
|
3
|
+
} from "../chunk-ZYLTRW56.mjs";
|
|
4
4
|
import {
|
|
5
5
|
CardBody,
|
|
6
6
|
CardBodyAction,
|
|
7
|
+
CardBodyActionArrow,
|
|
7
8
|
CardBodyDescription,
|
|
8
|
-
|
|
9
|
-
|
|
9
|
+
CardBodyHeader,
|
|
10
|
+
CardBodyHeaderOverline,
|
|
11
|
+
CardBodyHeaderTitle,
|
|
10
12
|
CardMedia,
|
|
11
13
|
CardMediaImg
|
|
12
|
-
} from "../chunk-
|
|
14
|
+
} from "../chunk-4XHA3NGO.mjs";
|
|
13
15
|
import "../chunk-FUJQIYOF.mjs";
|
|
14
16
|
export {
|
|
15
17
|
CardComponent as Card,
|
|
16
18
|
CardBody,
|
|
17
19
|
CardBodyAction,
|
|
20
|
+
CardBodyActionArrow,
|
|
18
21
|
CardBodyDescription,
|
|
19
|
-
|
|
20
|
-
|
|
22
|
+
CardBodyHeader,
|
|
23
|
+
CardBodyHeaderOverline,
|
|
24
|
+
CardBodyHeaderTitle,
|
|
21
25
|
CardMedia,
|
|
22
26
|
CardMediaImg
|
|
23
27
|
};
|
|
@@ -10,7 +10,7 @@ import { clsx } from "@postenbring/hedwig-css/typed-classname/index.mjs";
|
|
|
10
10
|
import { jsx } from "react/jsx-runtime";
|
|
11
11
|
var Card = forwardRef(
|
|
12
12
|
(_a, ref) => {
|
|
13
|
-
var _b = _a, { as: Component = "
|
|
13
|
+
var _b = _a, { as: Component = "section", className, children } = _b, rest = __objRest(_b, ["as", "className", "children"]);
|
|
14
14
|
return /* @__PURE__ */ jsx(Component, __spreadProps(__spreadValues({}, rest), { className: clsx("hds-card", className), ref, children }));
|
|
15
15
|
}
|
|
16
16
|
);
|
|
@@ -42,20 +42,46 @@ var CardBody = forwardRef(
|
|
|
42
42
|
}
|
|
43
43
|
);
|
|
44
44
|
CardBody.displayName = "Card.Body";
|
|
45
|
-
var
|
|
45
|
+
var CardBodyHeader = forwardRef(
|
|
46
46
|
(_a, ref) => {
|
|
47
|
-
var _b = _a, { as: Component = "
|
|
48
|
-
return /* @__PURE__ */ jsx(
|
|
47
|
+
var _b = _a, { as: Component = "h3", className, children } = _b, rest = __objRest(_b, ["as", "className", "children"]);
|
|
48
|
+
return /* @__PURE__ */ jsx(
|
|
49
|
+
Component,
|
|
50
|
+
__spreadProps(__spreadValues({}, rest), {
|
|
51
|
+
className: clsx("hds-card__body-header", className),
|
|
52
|
+
ref,
|
|
53
|
+
children
|
|
54
|
+
})
|
|
55
|
+
);
|
|
49
56
|
}
|
|
50
57
|
);
|
|
51
|
-
|
|
52
|
-
var
|
|
58
|
+
CardBodyHeader.displayName = "Card.Body.Header";
|
|
59
|
+
var CardBodyHeaderOverline = forwardRef((_a, ref) => {
|
|
60
|
+
var _b = _a, { as: Component = "span", className, children } = _b, rest = __objRest(_b, ["as", "className", "children"]);
|
|
61
|
+
return /* @__PURE__ */ jsx(
|
|
62
|
+
Component,
|
|
63
|
+
__spreadProps(__spreadValues({}, rest), {
|
|
64
|
+
className: clsx("hds-card__body-header-overline", className),
|
|
65
|
+
ref,
|
|
66
|
+
children
|
|
67
|
+
})
|
|
68
|
+
);
|
|
69
|
+
});
|
|
70
|
+
CardBodyHeaderOverline.displayName = "Card.Body.Header.Overline";
|
|
71
|
+
var CardBodyHeaderTitle = forwardRef(
|
|
53
72
|
(_a, ref) => {
|
|
54
|
-
var _b = _a, { as: Component = "
|
|
55
|
-
return /* @__PURE__ */ jsx(
|
|
73
|
+
var _b = _a, { as: Component = "span", className, children } = _b, rest = __objRest(_b, ["as", "className", "children"]);
|
|
74
|
+
return /* @__PURE__ */ jsx(
|
|
75
|
+
Component,
|
|
76
|
+
__spreadProps(__spreadValues({}, rest), {
|
|
77
|
+
className: clsx("hds-card__body-header-title", className),
|
|
78
|
+
ref,
|
|
79
|
+
children
|
|
80
|
+
})
|
|
81
|
+
);
|
|
56
82
|
}
|
|
57
83
|
);
|
|
58
|
-
|
|
84
|
+
CardBodyHeaderTitle.displayName = "Card.Body.Header.Title";
|
|
59
85
|
var CardBodyDescription = forwardRef(
|
|
60
86
|
(_a, ref) => {
|
|
61
87
|
var _b = _a, { as: Component = "p", className, children } = _b, rest = __objRest(_b, ["as", "className", "children"]);
|
|
@@ -70,14 +96,27 @@ var CardBodyAction = forwardRef(
|
|
|
70
96
|
}
|
|
71
97
|
);
|
|
72
98
|
CardBodyAction.displayName = "Card.Body.Action";
|
|
99
|
+
var CardBodyActionArrow = forwardRef((_a, ref) => {
|
|
100
|
+
var _b = _a, { as: Component = "a", className } = _b, rest = __objRest(_b, ["as", "className"]);
|
|
101
|
+
return /* @__PURE__ */ jsx(
|
|
102
|
+
Component,
|
|
103
|
+
__spreadProps(__spreadValues({}, rest), {
|
|
104
|
+
className: clsx("hds-card__body-action-arrow", className),
|
|
105
|
+
ref
|
|
106
|
+
})
|
|
107
|
+
);
|
|
108
|
+
});
|
|
109
|
+
CardBodyActionArrow.displayName = "Card.Body.Action.Arrow";
|
|
73
110
|
|
|
74
111
|
export {
|
|
75
112
|
Card,
|
|
76
113
|
CardMedia,
|
|
77
114
|
CardMediaImg,
|
|
78
115
|
CardBody,
|
|
79
|
-
|
|
80
|
-
|
|
116
|
+
CardBodyHeader,
|
|
117
|
+
CardBodyHeaderOverline,
|
|
118
|
+
CardBodyHeaderTitle,
|
|
81
119
|
CardBodyDescription,
|
|
82
|
-
CardBodyAction
|
|
120
|
+
CardBodyAction,
|
|
121
|
+
CardBodyActionArrow
|
|
83
122
|
};
|
|
@@ -2,12 +2,14 @@ import {
|
|
|
2
2
|
Card,
|
|
3
3
|
CardBody,
|
|
4
4
|
CardBodyAction,
|
|
5
|
+
CardBodyActionArrow,
|
|
5
6
|
CardBodyDescription,
|
|
6
|
-
|
|
7
|
-
|
|
7
|
+
CardBodyHeader,
|
|
8
|
+
CardBodyHeaderOverline,
|
|
9
|
+
CardBodyHeaderTitle,
|
|
8
10
|
CardMedia,
|
|
9
11
|
CardMediaImg
|
|
10
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-4XHA3NGO.mjs";
|
|
11
13
|
|
|
12
14
|
// src/card/index.tsx
|
|
13
15
|
import "@postenbring/hedwig-css/dist/fonts.css";
|
|
@@ -16,11 +18,15 @@ import "@postenbring/hedwig-css/dist/body.css";
|
|
|
16
18
|
import "@postenbring/hedwig-css/dist/card.css";
|
|
17
19
|
var CardMediaComponent = CardMedia;
|
|
18
20
|
CardMediaComponent.Img = CardMediaImg;
|
|
21
|
+
var CardBodyHeaderComponent = CardBodyHeader;
|
|
22
|
+
CardBodyHeaderComponent.Overline = CardBodyHeaderOverline;
|
|
23
|
+
CardBodyHeaderComponent.Title = CardBodyHeaderTitle;
|
|
24
|
+
var CardBodyActionComponent = CardBodyAction;
|
|
25
|
+
CardBodyActionComponent.Arrow = CardBodyActionArrow;
|
|
19
26
|
var CardBodyComponent = CardBody;
|
|
20
|
-
CardBodyComponent.
|
|
21
|
-
CardBodyComponent.Title = CardBodyTitle;
|
|
27
|
+
CardBodyComponent.Header = CardBodyHeaderComponent;
|
|
22
28
|
CardBodyComponent.Description = CardBodyDescription;
|
|
23
|
-
CardBodyComponent.Action =
|
|
29
|
+
CardBodyComponent.Action = CardBodyActionComponent;
|
|
24
30
|
var CardComponent = Card;
|
|
25
31
|
CardComponent.Media = CardMediaComponent;
|
|
26
32
|
CardComponent.Body = CardBodyComponent;
|
package/dist/index.d.mts
CHANGED
|
@@ -21,7 +21,7 @@ export { Container } from './layout/container/container.mjs';
|
|
|
21
21
|
export { AccordionItem } from './accordion/accordion-item.mjs';
|
|
22
22
|
export { AccordionTrigger } from './accordion/accordion-trigger.mjs';
|
|
23
23
|
export { AccordionContent } from './accordion/accordion-content.mjs';
|
|
24
|
-
export { CardBaseProps, CardBody, CardBodyAction, CardBodyDescription,
|
|
24
|
+
export { CardBaseProps, CardBody, CardBodyAction, CardBodyActionArrow, CardBodyDescription, CardBodyHeader, CardBodyHeaderOverline, CardBodyHeaderTitle, CardImageMediaProps, CardMedia, CardMediaImg } from './card/card.mjs';
|
|
25
25
|
export { MessageDescription, MessageTitle } from './message/message.mjs';
|
|
26
26
|
export { ModalHeader } from './modal/modal.mjs';
|
|
27
27
|
import 'react';
|
package/dist/index.d.ts
CHANGED
|
@@ -21,7 +21,7 @@ export { Container } from './layout/container/container.js';
|
|
|
21
21
|
export { AccordionItem } from './accordion/accordion-item.js';
|
|
22
22
|
export { AccordionTrigger } from './accordion/accordion-trigger.js';
|
|
23
23
|
export { AccordionContent } from './accordion/accordion-content.js';
|
|
24
|
-
export { CardBaseProps, CardBody, CardBodyAction, CardBodyDescription,
|
|
24
|
+
export { CardBaseProps, CardBody, CardBodyAction, CardBodyActionArrow, CardBodyDescription, CardBodyHeader, CardBodyHeaderOverline, CardBodyHeaderTitle, CardImageMediaProps, CardMedia, CardMediaImg } from './card/card.js';
|
|
25
25
|
export { MessageDescription, MessageTitle } from './message/message.js';
|
|
26
26
|
export { ModalHeader } from './modal/modal.js';
|
|
27
27
|
import 'react';
|
package/dist/index.js
CHANGED
|
@@ -71,9 +71,11 @@ __export(src_exports, {
|
|
|
71
71
|
Card: () => CardComponent,
|
|
72
72
|
CardBody: () => CardBody,
|
|
73
73
|
CardBodyAction: () => CardBodyAction,
|
|
74
|
+
CardBodyActionArrow: () => CardBodyActionArrow,
|
|
74
75
|
CardBodyDescription: () => CardBodyDescription,
|
|
75
|
-
|
|
76
|
-
|
|
76
|
+
CardBodyHeader: () => CardBodyHeader,
|
|
77
|
+
CardBodyHeaderOverline: () => CardBodyHeaderOverline,
|
|
78
|
+
CardBodyHeaderTitle: () => CardBodyHeaderTitle,
|
|
77
79
|
CardMedia: () => CardMedia,
|
|
78
80
|
CardMediaImg: () => CardMediaImg,
|
|
79
81
|
Container: () => Container,
|
|
@@ -508,7 +510,7 @@ var import_typed_classname9 = require("@postenbring/hedwig-css/typed-classname/i
|
|
|
508
510
|
var import_jsx_runtime9 = require("react/jsx-runtime");
|
|
509
511
|
var Card = (0, import_react8.forwardRef)(
|
|
510
512
|
(_a, ref) => {
|
|
511
|
-
var _b = _a, { as: Component = "
|
|
513
|
+
var _b = _a, { as: Component = "section", className, children } = _b, rest = __objRest(_b, ["as", "className", "children"]);
|
|
512
514
|
return /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(Component, __spreadProps(__spreadValues({}, rest), { className: (0, import_typed_classname9.clsx)("hds-card", className), ref, children }));
|
|
513
515
|
}
|
|
514
516
|
);
|
|
@@ -540,20 +542,46 @@ var CardBody = (0, import_react8.forwardRef)(
|
|
|
540
542
|
}
|
|
541
543
|
);
|
|
542
544
|
CardBody.displayName = "Card.Body";
|
|
543
|
-
var
|
|
545
|
+
var CardBodyHeader = (0, import_react8.forwardRef)(
|
|
544
546
|
(_a, ref) => {
|
|
545
|
-
var _b = _a, { as: Component = "
|
|
546
|
-
return /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(
|
|
547
|
+
var _b = _a, { as: Component = "h3", className, children } = _b, rest = __objRest(_b, ["as", "className", "children"]);
|
|
548
|
+
return /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(
|
|
549
|
+
Component,
|
|
550
|
+
__spreadProps(__spreadValues({}, rest), {
|
|
551
|
+
className: (0, import_typed_classname9.clsx)("hds-card__body-header", className),
|
|
552
|
+
ref,
|
|
553
|
+
children
|
|
554
|
+
})
|
|
555
|
+
);
|
|
547
556
|
}
|
|
548
557
|
);
|
|
549
|
-
|
|
550
|
-
var
|
|
558
|
+
CardBodyHeader.displayName = "Card.Body.Header";
|
|
559
|
+
var CardBodyHeaderOverline = (0, import_react8.forwardRef)((_a, ref) => {
|
|
560
|
+
var _b = _a, { as: Component = "span", className, children } = _b, rest = __objRest(_b, ["as", "className", "children"]);
|
|
561
|
+
return /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(
|
|
562
|
+
Component,
|
|
563
|
+
__spreadProps(__spreadValues({}, rest), {
|
|
564
|
+
className: (0, import_typed_classname9.clsx)("hds-card__body-header-overline", className),
|
|
565
|
+
ref,
|
|
566
|
+
children
|
|
567
|
+
})
|
|
568
|
+
);
|
|
569
|
+
});
|
|
570
|
+
CardBodyHeaderOverline.displayName = "Card.Body.Header.Overline";
|
|
571
|
+
var CardBodyHeaderTitle = (0, import_react8.forwardRef)(
|
|
551
572
|
(_a, ref) => {
|
|
552
|
-
var _b = _a, { as: Component = "
|
|
553
|
-
return /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(
|
|
573
|
+
var _b = _a, { as: Component = "span", className, children } = _b, rest = __objRest(_b, ["as", "className", "children"]);
|
|
574
|
+
return /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(
|
|
575
|
+
Component,
|
|
576
|
+
__spreadProps(__spreadValues({}, rest), {
|
|
577
|
+
className: (0, import_typed_classname9.clsx)("hds-card__body-header-title", className),
|
|
578
|
+
ref,
|
|
579
|
+
children
|
|
580
|
+
})
|
|
581
|
+
);
|
|
554
582
|
}
|
|
555
583
|
);
|
|
556
|
-
|
|
584
|
+
CardBodyHeaderTitle.displayName = "Card.Body.Header.Title";
|
|
557
585
|
var CardBodyDescription = (0, import_react8.forwardRef)(
|
|
558
586
|
(_a, ref) => {
|
|
559
587
|
var _b = _a, { as: Component = "p", className, children } = _b, rest = __objRest(_b, ["as", "className", "children"]);
|
|
@@ -568,15 +596,30 @@ var CardBodyAction = (0, import_react8.forwardRef)(
|
|
|
568
596
|
}
|
|
569
597
|
);
|
|
570
598
|
CardBodyAction.displayName = "Card.Body.Action";
|
|
599
|
+
var CardBodyActionArrow = (0, import_react8.forwardRef)((_a, ref) => {
|
|
600
|
+
var _b = _a, { as: Component = "a", className } = _b, rest = __objRest(_b, ["as", "className"]);
|
|
601
|
+
return /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(
|
|
602
|
+
Component,
|
|
603
|
+
__spreadProps(__spreadValues({}, rest), {
|
|
604
|
+
className: (0, import_typed_classname9.clsx)("hds-card__body-action-arrow", className),
|
|
605
|
+
ref
|
|
606
|
+
})
|
|
607
|
+
);
|
|
608
|
+
});
|
|
609
|
+
CardBodyActionArrow.displayName = "Card.Body.Action.Arrow";
|
|
571
610
|
|
|
572
611
|
// src/card/index.tsx
|
|
573
612
|
var CardMediaComponent = CardMedia;
|
|
574
613
|
CardMediaComponent.Img = CardMediaImg;
|
|
614
|
+
var CardBodyHeaderComponent = CardBodyHeader;
|
|
615
|
+
CardBodyHeaderComponent.Overline = CardBodyHeaderOverline;
|
|
616
|
+
CardBodyHeaderComponent.Title = CardBodyHeaderTitle;
|
|
617
|
+
var CardBodyActionComponent = CardBodyAction;
|
|
618
|
+
CardBodyActionComponent.Arrow = CardBodyActionArrow;
|
|
575
619
|
var CardBodyComponent = CardBody;
|
|
576
|
-
CardBodyComponent.
|
|
577
|
-
CardBodyComponent.Title = CardBodyTitle;
|
|
620
|
+
CardBodyComponent.Header = CardBodyHeaderComponent;
|
|
578
621
|
CardBodyComponent.Description = CardBodyDescription;
|
|
579
|
-
CardBodyComponent.Action =
|
|
622
|
+
CardBodyComponent.Action = CardBodyActionComponent;
|
|
580
623
|
var CardComponent = Card;
|
|
581
624
|
CardComponent.Media = CardMediaComponent;
|
|
582
625
|
CardComponent.Body = CardBodyComponent;
|
|
@@ -1323,9 +1366,11 @@ Container.displayName = "Container";
|
|
|
1323
1366
|
Card,
|
|
1324
1367
|
CardBody,
|
|
1325
1368
|
CardBodyAction,
|
|
1369
|
+
CardBodyActionArrow,
|
|
1326
1370
|
CardBodyDescription,
|
|
1327
|
-
|
|
1328
|
-
|
|
1371
|
+
CardBodyHeader,
|
|
1372
|
+
CardBodyHeaderOverline,
|
|
1373
|
+
CardBodyHeaderTitle,
|
|
1329
1374
|
CardMedia,
|
|
1330
1375
|
CardMediaImg,
|
|
1331
1376
|
Container,
|
package/dist/index.mjs
CHANGED
|
@@ -79,16 +79,18 @@ import {
|
|
|
79
79
|
} from "./chunk-ENRMC5K7.mjs";
|
|
80
80
|
import {
|
|
81
81
|
CardComponent
|
|
82
|
-
} from "./chunk-
|
|
82
|
+
} from "./chunk-ZYLTRW56.mjs";
|
|
83
83
|
import {
|
|
84
84
|
CardBody,
|
|
85
85
|
CardBodyAction,
|
|
86
|
+
CardBodyActionArrow,
|
|
86
87
|
CardBodyDescription,
|
|
87
|
-
|
|
88
|
-
|
|
88
|
+
CardBodyHeader,
|
|
89
|
+
CardBodyHeaderOverline,
|
|
90
|
+
CardBodyHeaderTitle,
|
|
89
91
|
CardMedia,
|
|
90
92
|
CardMediaImg
|
|
91
|
-
} from "./chunk-
|
|
93
|
+
} from "./chunk-4XHA3NGO.mjs";
|
|
92
94
|
import {
|
|
93
95
|
AccordionComponent
|
|
94
96
|
} from "./chunk-RIID2NGR.mjs";
|
|
@@ -124,9 +126,11 @@ export {
|
|
|
124
126
|
CardComponent as Card,
|
|
125
127
|
CardBody,
|
|
126
128
|
CardBodyAction,
|
|
129
|
+
CardBodyActionArrow,
|
|
127
130
|
CardBodyDescription,
|
|
128
|
-
|
|
129
|
-
|
|
131
|
+
CardBodyHeader,
|
|
132
|
+
CardBodyHeaderOverline,
|
|
133
|
+
CardBodyHeaderTitle,
|
|
130
134
|
CardMedia,
|
|
131
135
|
CardMediaImg,
|
|
132
136
|
Container,
|
package/dist/select/select.d.mts
CHANGED
|
@@ -2,7 +2,7 @@ import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
|
2
2
|
|
|
3
3
|
interface SelectProps extends Omit<React.SelectHTMLAttributes<HTMLSelectElement>, "children"> {
|
|
4
4
|
label: string;
|
|
5
|
-
variant
|
|
5
|
+
variant?: "default" | "white";
|
|
6
6
|
errorMessage?: string;
|
|
7
7
|
children: React.ReactNode;
|
|
8
8
|
}
|
package/dist/select/select.d.ts
CHANGED
|
@@ -2,7 +2,7 @@ import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
|
2
2
|
|
|
3
3
|
interface SelectProps extends Omit<React.SelectHTMLAttributes<HTMLSelectElement>, "children"> {
|
|
4
4
|
label: string;
|
|
5
|
-
variant
|
|
5
|
+
variant?: "default" | "white";
|
|
6
6
|
errorMessage?: string;
|
|
7
7
|
children: React.ReactNode;
|
|
8
8
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@postenbring/hedwig-react",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.38",
|
|
4
4
|
"main": "./dist/index.js",
|
|
5
5
|
"module": "./dist/index.mjs",
|
|
6
6
|
"types": "./dist/index.d.ts",
|
|
@@ -19,7 +19,7 @@
|
|
|
19
19
|
"hedwig-tsconfig": "0.0.0"
|
|
20
20
|
},
|
|
21
21
|
"dependencies": {
|
|
22
|
-
"@postenbring/hedwig-css": "0.0.
|
|
22
|
+
"@postenbring/hedwig-css": "0.0.36"
|
|
23
23
|
},
|
|
24
24
|
"publishConfig": {
|
|
25
25
|
"access": "public"
|