@postenbring/hedwig-react 0.0.14 → 0.0.16
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/accordion/index.js +1 -1
- package/dist/accordion/index.mjs +1 -1
- package/dist/badge/index.js +1 -1
- package/dist/badge/index.mjs +1 -1
- package/dist/box/index.js +1 -1
- package/dist/box/index.mjs +1 -1
- package/dist/breadcrumb/index.js +1 -1
- package/dist/breadcrumb/index.mjs +1 -1
- package/dist/button/index.js +1 -1
- package/dist/button/index.mjs +1 -1
- package/dist/chunk-3VUAKZB2.mjs +48 -0
- package/dist/{chunk-ROSXRHEW.mjs → chunk-5CZXT7I6.mjs} +1 -1
- package/dist/{chunk-QOVAYDPH.mjs → chunk-5OAMKZDX.mjs} +1 -1
- package/dist/{chunk-5NDZ66M6.mjs → chunk-7SCOBRDZ.mjs} +1 -1
- package/dist/{chunk-BJANCH4F.mjs → chunk-AJBQ2EJU.mjs} +1 -1
- package/dist/{chunk-6AW5BEDP.mjs → chunk-HMESGVY5.mjs} +1 -1
- package/dist/{chunk-R55SMUE7.mjs → chunk-IEY4EQ4E.mjs} +1 -1
- package/dist/{chunk-Z36ETKOZ.mjs → chunk-LNPO2XQW.mjs} +1 -1
- package/dist/chunk-LZSDIT5D.mjs +5 -0
- package/dist/{chunk-N3EFZW7T.mjs → chunk-VX6MSLLO.mjs} +1 -1
- package/dist/{chunk-EMX6J4XG.mjs → chunk-YRAMCYSB.mjs} +1 -1
- package/dist/dropdown/dropdown.d.mts +15 -0
- package/dist/dropdown/dropdown.d.ts +15 -0
- package/dist/dropdown/dropdown.js +95 -0
- package/dist/dropdown/dropdown.mjs +7 -0
- package/dist/dropdown/index.d.mts +3 -0
- package/dist/dropdown/index.d.ts +3 -0
- package/dist/dropdown/index.js +101 -0
- package/dist/dropdown/index.mjs +8 -0
- package/dist/index.d.mts +1 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.js +68 -21
- package/dist/index.mjs +20 -15
- package/dist/input/index.js +1 -1
- package/dist/input/index.mjs +1 -1
- package/dist/link/index.js +1 -1
- package/dist/link/index.mjs +1 -1
- package/dist/list/index.js +1 -1
- package/dist/list/index.mjs +1 -1
- package/dist/message/index.d.mts +1 -1
- package/dist/message/index.d.ts +1 -1
- package/dist/message/index.js +1 -1
- package/dist/message/index.mjs +1 -1
- package/dist/modal/index.js +1 -1
- package/dist/modal/index.mjs +1 -1
- package/package.json +4 -4
package/dist/accordion/index.js
CHANGED
|
@@ -57,7 +57,7 @@ __export(accordion_exports, {
|
|
|
57
57
|
module.exports = __toCommonJS(accordion_exports);
|
|
58
58
|
var import_fonts = require("@postenbring/hedwig-css/dist/fonts.css");
|
|
59
59
|
var import_tokens = require("@postenbring/hedwig-css/dist/tokens.css");
|
|
60
|
-
var
|
|
60
|
+
var import_body = require("@postenbring/hedwig-css/dist/body.css");
|
|
61
61
|
var import_accordion = require("@postenbring/hedwig-css/dist/accordion.css");
|
|
62
62
|
|
|
63
63
|
// src/accordion/accordion.tsx
|
package/dist/accordion/index.mjs
CHANGED
package/dist/badge/index.js
CHANGED
|
@@ -57,7 +57,7 @@ __export(badge_exports, {
|
|
|
57
57
|
module.exports = __toCommonJS(badge_exports);
|
|
58
58
|
var import_fonts = require("@postenbring/hedwig-css/dist/fonts.css");
|
|
59
59
|
var import_tokens = require("@postenbring/hedwig-css/dist/tokens.css");
|
|
60
|
-
var
|
|
60
|
+
var import_body = require("@postenbring/hedwig-css/dist/body.css");
|
|
61
61
|
var import_badge = require("@postenbring/hedwig-css/dist/badge.css");
|
|
62
62
|
|
|
63
63
|
// src/badge/badge.tsx
|
package/dist/badge/index.mjs
CHANGED
package/dist/box/index.js
CHANGED
|
@@ -55,7 +55,7 @@ __export(box_exports, {
|
|
|
55
55
|
module.exports = __toCommonJS(box_exports);
|
|
56
56
|
var import_fonts = require("@postenbring/hedwig-css/dist/fonts.css");
|
|
57
57
|
var import_tokens = require("@postenbring/hedwig-css/dist/tokens.css");
|
|
58
|
-
var
|
|
58
|
+
var import_body = require("@postenbring/hedwig-css/dist/body.css");
|
|
59
59
|
var import_box = require("@postenbring/hedwig-css/dist/box.css");
|
|
60
60
|
|
|
61
61
|
// src/box/box.tsx
|
package/dist/box/index.mjs
CHANGED
package/dist/breadcrumb/index.js
CHANGED
|
@@ -42,7 +42,7 @@ __export(breadcrumb_exports, {
|
|
|
42
42
|
module.exports = __toCommonJS(breadcrumb_exports);
|
|
43
43
|
var import_fonts = require("@postenbring/hedwig-css/dist/fonts.css");
|
|
44
44
|
var import_tokens = require("@postenbring/hedwig-css/dist/tokens.css");
|
|
45
|
-
var
|
|
45
|
+
var import_body = require("@postenbring/hedwig-css/dist/body.css");
|
|
46
46
|
var import_breadcrumb = require("@postenbring/hedwig-css/dist/breadcrumb.css");
|
|
47
47
|
|
|
48
48
|
// src/breadcrumb/breadcrumb.tsx
|
package/dist/button/index.js
CHANGED
|
@@ -56,7 +56,7 @@ __export(button_exports, {
|
|
|
56
56
|
module.exports = __toCommonJS(button_exports);
|
|
57
57
|
var import_fonts = require("@postenbring/hedwig-css/dist/fonts.css");
|
|
58
58
|
var import_tokens = require("@postenbring/hedwig-css/dist/tokens.css");
|
|
59
|
-
var
|
|
59
|
+
var import_body = require("@postenbring/hedwig-css/dist/body.css");
|
|
60
60
|
var import_button = require("@postenbring/hedwig-css/dist/button.css");
|
|
61
61
|
|
|
62
62
|
// src/button/button.tsx
|
package/dist/button/index.mjs
CHANGED
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
import {
|
|
2
|
+
__objRest,
|
|
3
|
+
__spreadProps,
|
|
4
|
+
__spreadValues
|
|
5
|
+
} from "./chunk-FUJQIYOF.mjs";
|
|
6
|
+
|
|
7
|
+
// src/dropdown/dropdown.tsx
|
|
8
|
+
import { clsx } from "@postenbring/hedwig-css/typed-classname/index.mjs";
|
|
9
|
+
import { jsx, jsxs } from "react/jsx-runtime";
|
|
10
|
+
function Dropdown(_a) {
|
|
11
|
+
var _b = _a, {
|
|
12
|
+
label,
|
|
13
|
+
variant,
|
|
14
|
+
errorMessage,
|
|
15
|
+
className,
|
|
16
|
+
children
|
|
17
|
+
} = _b, rest = __objRest(_b, [
|
|
18
|
+
"label",
|
|
19
|
+
"variant",
|
|
20
|
+
"errorMessage",
|
|
21
|
+
"className",
|
|
22
|
+
"children"
|
|
23
|
+
]);
|
|
24
|
+
return /* @__PURE__ */ jsxs("label", { className: clsx("hds-dropdown__label", { "hds-dropdown--error": errorMessage }), children: [
|
|
25
|
+
label,
|
|
26
|
+
/* @__PURE__ */ jsx(
|
|
27
|
+
"select",
|
|
28
|
+
__spreadProps(__spreadValues({
|
|
29
|
+
className: clsx(
|
|
30
|
+
"hds-dropdown",
|
|
31
|
+
{
|
|
32
|
+
[`hds-dropdown--${variant}`]: variant,
|
|
33
|
+
"hds-dropdown--error": errorMessage
|
|
34
|
+
},
|
|
35
|
+
className
|
|
36
|
+
)
|
|
37
|
+
}, rest), {
|
|
38
|
+
children
|
|
39
|
+
})
|
|
40
|
+
),
|
|
41
|
+
errorMessage ? /* @__PURE__ */ jsx("div", { className: "hds-dropdown-message", children: errorMessage }) : null
|
|
42
|
+
] });
|
|
43
|
+
}
|
|
44
|
+
Dropdown.displayName = "Dropdown";
|
|
45
|
+
|
|
46
|
+
export {
|
|
47
|
+
Dropdown
|
|
48
|
+
};
|
|
@@ -6,7 +6,7 @@ import {
|
|
|
6
6
|
// src/modal/index.tsx
|
|
7
7
|
import "@postenbring/hedwig-css/dist/fonts.css";
|
|
8
8
|
import "@postenbring/hedwig-css/dist/tokens.css";
|
|
9
|
-
import "@postenbring/hedwig-css/dist/
|
|
9
|
+
import "@postenbring/hedwig-css/dist/body.css";
|
|
10
10
|
import "@postenbring/hedwig-css/dist/box.css";
|
|
11
11
|
import "@postenbring/hedwig-css/dist/modal.css";
|
|
12
12
|
var ModalComponent = Modal;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
// src/list/index.tsx
|
|
2
2
|
import "@postenbring/hedwig-css/dist/fonts.css";
|
|
3
3
|
import "@postenbring/hedwig-css/dist/tokens.css";
|
|
4
|
-
import "@postenbring/hedwig-css/dist/
|
|
4
|
+
import "@postenbring/hedwig-css/dist/body.css";
|
|
5
5
|
import "@postenbring/hedwig-css/dist/description-list.css";
|
|
6
6
|
import "@postenbring/hedwig-css/dist/list.css";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
// src/link/index.tsx
|
|
2
2
|
import "@postenbring/hedwig-css/dist/fonts.css";
|
|
3
3
|
import "@postenbring/hedwig-css/dist/tokens.css";
|
|
4
|
-
import "@postenbring/hedwig-css/dist/
|
|
4
|
+
import "@postenbring/hedwig-css/dist/body.css";
|
|
5
5
|
import "@postenbring/hedwig-css/dist/link.css";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
// src/box/index.tsx
|
|
2
2
|
import "@postenbring/hedwig-css/dist/fonts.css";
|
|
3
3
|
import "@postenbring/hedwig-css/dist/tokens.css";
|
|
4
|
-
import "@postenbring/hedwig-css/dist/
|
|
4
|
+
import "@postenbring/hedwig-css/dist/body.css";
|
|
5
5
|
import "@postenbring/hedwig-css/dist/box.css";
|
|
@@ -7,7 +7,7 @@ import {
|
|
|
7
7
|
// src/message/index.tsx
|
|
8
8
|
import "@postenbring/hedwig-css/dist/fonts.css";
|
|
9
9
|
import "@postenbring/hedwig-css/dist/tokens.css";
|
|
10
|
-
import "@postenbring/hedwig-css/dist/
|
|
10
|
+
import "@postenbring/hedwig-css/dist/body.css";
|
|
11
11
|
import "@postenbring/hedwig-css/dist/box.css";
|
|
12
12
|
import "@postenbring/hedwig-css/dist/message.css";
|
|
13
13
|
var MessageComponent = Message;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
// src/badge/index.tsx
|
|
2
2
|
import "@postenbring/hedwig-css/dist/fonts.css";
|
|
3
3
|
import "@postenbring/hedwig-css/dist/tokens.css";
|
|
4
|
-
import "@postenbring/hedwig-css/dist/
|
|
4
|
+
import "@postenbring/hedwig-css/dist/body.css";
|
|
5
5
|
import "@postenbring/hedwig-css/dist/badge.css";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
// src/accordion/index.tsx
|
|
2
2
|
import "@postenbring/hedwig-css/dist/fonts.css";
|
|
3
3
|
import "@postenbring/hedwig-css/dist/tokens.css";
|
|
4
|
-
import "@postenbring/hedwig-css/dist/
|
|
4
|
+
import "@postenbring/hedwig-css/dist/body.css";
|
|
5
5
|
import "@postenbring/hedwig-css/dist/accordion.css";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
// src/button/index.tsx
|
|
2
2
|
import "@postenbring/hedwig-css/dist/fonts.css";
|
|
3
3
|
import "@postenbring/hedwig-css/dist/tokens.css";
|
|
4
|
-
import "@postenbring/hedwig-css/dist/
|
|
4
|
+
import "@postenbring/hedwig-css/dist/body.css";
|
|
5
5
|
import "@postenbring/hedwig-css/dist/button.css";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
// src/breadcrumb/index.tsx
|
|
2
2
|
import "@postenbring/hedwig-css/dist/fonts.css";
|
|
3
3
|
import "@postenbring/hedwig-css/dist/tokens.css";
|
|
4
|
-
import "@postenbring/hedwig-css/dist/
|
|
4
|
+
import "@postenbring/hedwig-css/dist/body.css";
|
|
5
5
|
import "@postenbring/hedwig-css/dist/breadcrumb.css";
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
|
+
import * as React from 'react';
|
|
3
|
+
|
|
4
|
+
interface DropdownProps extends Omit<React.SelectHTMLAttributes<HTMLSelectElement>, "children"> {
|
|
5
|
+
label: string;
|
|
6
|
+
variant: "default" | "white" | "lined";
|
|
7
|
+
errorMessage?: string;
|
|
8
|
+
children: React.ReactNode;
|
|
9
|
+
}
|
|
10
|
+
declare function Dropdown({ label, variant, errorMessage, className, children, ...rest }: DropdownProps): react_jsx_runtime.JSX.Element;
|
|
11
|
+
declare namespace Dropdown {
|
|
12
|
+
var displayName: string;
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
export { Dropdown, type DropdownProps };
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
|
+
import * as React from 'react';
|
|
3
|
+
|
|
4
|
+
interface DropdownProps extends Omit<React.SelectHTMLAttributes<HTMLSelectElement>, "children"> {
|
|
5
|
+
label: string;
|
|
6
|
+
variant: "default" | "white" | "lined";
|
|
7
|
+
errorMessage?: string;
|
|
8
|
+
children: React.ReactNode;
|
|
9
|
+
}
|
|
10
|
+
declare function Dropdown({ label, variant, errorMessage, className, children, ...rest }: DropdownProps): react_jsx_runtime.JSX.Element;
|
|
11
|
+
declare namespace Dropdown {
|
|
12
|
+
var displayName: string;
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
export { Dropdown, type DropdownProps };
|
|
@@ -0,0 +1,95 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __defProp = Object.defineProperty;
|
|
3
|
+
var __defProps = Object.defineProperties;
|
|
4
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
5
|
+
var __getOwnPropDescs = Object.getOwnPropertyDescriptors;
|
|
6
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
7
|
+
var __getOwnPropSymbols = Object.getOwnPropertySymbols;
|
|
8
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
9
|
+
var __propIsEnum = Object.prototype.propertyIsEnumerable;
|
|
10
|
+
var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
11
|
+
var __spreadValues = (a, b) => {
|
|
12
|
+
for (var prop in b || (b = {}))
|
|
13
|
+
if (__hasOwnProp.call(b, prop))
|
|
14
|
+
__defNormalProp(a, prop, b[prop]);
|
|
15
|
+
if (__getOwnPropSymbols)
|
|
16
|
+
for (var prop of __getOwnPropSymbols(b)) {
|
|
17
|
+
if (__propIsEnum.call(b, prop))
|
|
18
|
+
__defNormalProp(a, prop, b[prop]);
|
|
19
|
+
}
|
|
20
|
+
return a;
|
|
21
|
+
};
|
|
22
|
+
var __spreadProps = (a, b) => __defProps(a, __getOwnPropDescs(b));
|
|
23
|
+
var __objRest = (source, exclude) => {
|
|
24
|
+
var target = {};
|
|
25
|
+
for (var prop in source)
|
|
26
|
+
if (__hasOwnProp.call(source, prop) && exclude.indexOf(prop) < 0)
|
|
27
|
+
target[prop] = source[prop];
|
|
28
|
+
if (source != null && __getOwnPropSymbols)
|
|
29
|
+
for (var prop of __getOwnPropSymbols(source)) {
|
|
30
|
+
if (exclude.indexOf(prop) < 0 && __propIsEnum.call(source, prop))
|
|
31
|
+
target[prop] = source[prop];
|
|
32
|
+
}
|
|
33
|
+
return target;
|
|
34
|
+
};
|
|
35
|
+
var __export = (target, all) => {
|
|
36
|
+
for (var name in all)
|
|
37
|
+
__defProp(target, name, { get: all[name], enumerable: true });
|
|
38
|
+
};
|
|
39
|
+
var __copyProps = (to, from, except, desc) => {
|
|
40
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
41
|
+
for (let key of __getOwnPropNames(from))
|
|
42
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
43
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
44
|
+
}
|
|
45
|
+
return to;
|
|
46
|
+
};
|
|
47
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
48
|
+
|
|
49
|
+
// src/dropdown/dropdown.tsx
|
|
50
|
+
var dropdown_exports = {};
|
|
51
|
+
__export(dropdown_exports, {
|
|
52
|
+
Dropdown: () => Dropdown
|
|
53
|
+
});
|
|
54
|
+
module.exports = __toCommonJS(dropdown_exports);
|
|
55
|
+
var import_typed_classname = require("@postenbring/hedwig-css/typed-classname/index.mjs");
|
|
56
|
+
var import_jsx_runtime = require("react/jsx-runtime");
|
|
57
|
+
function Dropdown(_a) {
|
|
58
|
+
var _b = _a, {
|
|
59
|
+
label,
|
|
60
|
+
variant,
|
|
61
|
+
errorMessage,
|
|
62
|
+
className,
|
|
63
|
+
children
|
|
64
|
+
} = _b, rest = __objRest(_b, [
|
|
65
|
+
"label",
|
|
66
|
+
"variant",
|
|
67
|
+
"errorMessage",
|
|
68
|
+
"className",
|
|
69
|
+
"children"
|
|
70
|
+
]);
|
|
71
|
+
return /* @__PURE__ */ (0, import_jsx_runtime.jsxs)("label", { className: (0, import_typed_classname.clsx)("hds-dropdown__label", { "hds-dropdown--error": errorMessage }), children: [
|
|
72
|
+
label,
|
|
73
|
+
/* @__PURE__ */ (0, import_jsx_runtime.jsx)(
|
|
74
|
+
"select",
|
|
75
|
+
__spreadProps(__spreadValues({
|
|
76
|
+
className: (0, import_typed_classname.clsx)(
|
|
77
|
+
"hds-dropdown",
|
|
78
|
+
{
|
|
79
|
+
[`hds-dropdown--${variant}`]: variant,
|
|
80
|
+
"hds-dropdown--error": errorMessage
|
|
81
|
+
},
|
|
82
|
+
className
|
|
83
|
+
)
|
|
84
|
+
}, rest), {
|
|
85
|
+
children
|
|
86
|
+
})
|
|
87
|
+
),
|
|
88
|
+
errorMessage ? /* @__PURE__ */ (0, import_jsx_runtime.jsx)("div", { className: "hds-dropdown-message", children: errorMessage }) : null
|
|
89
|
+
] });
|
|
90
|
+
}
|
|
91
|
+
Dropdown.displayName = "Dropdown";
|
|
92
|
+
// Annotate the CommonJS export names for ESM import in node:
|
|
93
|
+
0 && (module.exports = {
|
|
94
|
+
Dropdown
|
|
95
|
+
});
|
|
@@ -0,0 +1,101 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __defProp = Object.defineProperty;
|
|
3
|
+
var __defProps = Object.defineProperties;
|
|
4
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
5
|
+
var __getOwnPropDescs = Object.getOwnPropertyDescriptors;
|
|
6
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
7
|
+
var __getOwnPropSymbols = Object.getOwnPropertySymbols;
|
|
8
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
9
|
+
var __propIsEnum = Object.prototype.propertyIsEnumerable;
|
|
10
|
+
var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
11
|
+
var __spreadValues = (a, b) => {
|
|
12
|
+
for (var prop in b || (b = {}))
|
|
13
|
+
if (__hasOwnProp.call(b, prop))
|
|
14
|
+
__defNormalProp(a, prop, b[prop]);
|
|
15
|
+
if (__getOwnPropSymbols)
|
|
16
|
+
for (var prop of __getOwnPropSymbols(b)) {
|
|
17
|
+
if (__propIsEnum.call(b, prop))
|
|
18
|
+
__defNormalProp(a, prop, b[prop]);
|
|
19
|
+
}
|
|
20
|
+
return a;
|
|
21
|
+
};
|
|
22
|
+
var __spreadProps = (a, b) => __defProps(a, __getOwnPropDescs(b));
|
|
23
|
+
var __objRest = (source, exclude) => {
|
|
24
|
+
var target = {};
|
|
25
|
+
for (var prop in source)
|
|
26
|
+
if (__hasOwnProp.call(source, prop) && exclude.indexOf(prop) < 0)
|
|
27
|
+
target[prop] = source[prop];
|
|
28
|
+
if (source != null && __getOwnPropSymbols)
|
|
29
|
+
for (var prop of __getOwnPropSymbols(source)) {
|
|
30
|
+
if (exclude.indexOf(prop) < 0 && __propIsEnum.call(source, prop))
|
|
31
|
+
target[prop] = source[prop];
|
|
32
|
+
}
|
|
33
|
+
return target;
|
|
34
|
+
};
|
|
35
|
+
var __export = (target, all) => {
|
|
36
|
+
for (var name in all)
|
|
37
|
+
__defProp(target, name, { get: all[name], enumerable: true });
|
|
38
|
+
};
|
|
39
|
+
var __copyProps = (to, from, except, desc) => {
|
|
40
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
41
|
+
for (let key of __getOwnPropNames(from))
|
|
42
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
43
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
44
|
+
}
|
|
45
|
+
return to;
|
|
46
|
+
};
|
|
47
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
48
|
+
|
|
49
|
+
// src/dropdown/index.tsx
|
|
50
|
+
var dropdown_exports = {};
|
|
51
|
+
__export(dropdown_exports, {
|
|
52
|
+
Dropdown: () => Dropdown
|
|
53
|
+
});
|
|
54
|
+
module.exports = __toCommonJS(dropdown_exports);
|
|
55
|
+
var import_fonts = require("@postenbring/hedwig-css/dist/fonts.css");
|
|
56
|
+
var import_tokens = require("@postenbring/hedwig-css/dist/tokens.css");
|
|
57
|
+
var import_body = require("@postenbring/hedwig-css/dist/body.css");
|
|
58
|
+
var import_dropdown = require("@postenbring/hedwig-css/dist/dropdown.css");
|
|
59
|
+
|
|
60
|
+
// src/dropdown/dropdown.tsx
|
|
61
|
+
var import_typed_classname = require("@postenbring/hedwig-css/typed-classname/index.mjs");
|
|
62
|
+
var import_jsx_runtime = require("react/jsx-runtime");
|
|
63
|
+
function Dropdown(_a) {
|
|
64
|
+
var _b = _a, {
|
|
65
|
+
label,
|
|
66
|
+
variant,
|
|
67
|
+
errorMessage,
|
|
68
|
+
className,
|
|
69
|
+
children
|
|
70
|
+
} = _b, rest = __objRest(_b, [
|
|
71
|
+
"label",
|
|
72
|
+
"variant",
|
|
73
|
+
"errorMessage",
|
|
74
|
+
"className",
|
|
75
|
+
"children"
|
|
76
|
+
]);
|
|
77
|
+
return /* @__PURE__ */ (0, import_jsx_runtime.jsxs)("label", { className: (0, import_typed_classname.clsx)("hds-dropdown__label", { "hds-dropdown--error": errorMessage }), children: [
|
|
78
|
+
label,
|
|
79
|
+
/* @__PURE__ */ (0, import_jsx_runtime.jsx)(
|
|
80
|
+
"select",
|
|
81
|
+
__spreadProps(__spreadValues({
|
|
82
|
+
className: (0, import_typed_classname.clsx)(
|
|
83
|
+
"hds-dropdown",
|
|
84
|
+
{
|
|
85
|
+
[`hds-dropdown--${variant}`]: variant,
|
|
86
|
+
"hds-dropdown--error": errorMessage
|
|
87
|
+
},
|
|
88
|
+
className
|
|
89
|
+
)
|
|
90
|
+
}, rest), {
|
|
91
|
+
children
|
|
92
|
+
})
|
|
93
|
+
),
|
|
94
|
+
errorMessage ? /* @__PURE__ */ (0, import_jsx_runtime.jsx)("div", { className: "hds-dropdown-message", children: errorMessage }) : null
|
|
95
|
+
] });
|
|
96
|
+
}
|
|
97
|
+
Dropdown.displayName = "Dropdown";
|
|
98
|
+
// Annotate the CommonJS export names for ESM import in node:
|
|
99
|
+
0 && (module.exports = {
|
|
100
|
+
Dropdown
|
|
101
|
+
});
|
package/dist/index.d.mts
CHANGED
|
@@ -10,6 +10,7 @@ export { Accordion, AccordionProps } from './accordion/accordion.mjs';
|
|
|
10
10
|
export { AccordionItem, AccordionItemChildrenType, AccordionItemProps } from './accordion/accordion-item.mjs';
|
|
11
11
|
export { AccordionTrigger, AccordionTriggerProps } from './accordion/accordion-item-trigger.mjs';
|
|
12
12
|
export { AccordionContent, AccordionContentProps } from './accordion/accordion-item-content.mjs';
|
|
13
|
+
export { Dropdown, DropdownProps } from './dropdown/dropdown.mjs';
|
|
13
14
|
export { Modal } from './modal/index.mjs';
|
|
14
15
|
export { Breadcrumbs, BreadcrumbsProps } from './breadcrumb/breadcrumb.mjs';
|
|
15
16
|
export { MessageDescription, MessageTitle } from './message/message.mjs';
|
package/dist/index.d.ts
CHANGED
|
@@ -10,6 +10,7 @@ export { Accordion, AccordionProps } from './accordion/accordion.js';
|
|
|
10
10
|
export { AccordionItem, AccordionItemChildrenType, AccordionItemProps } from './accordion/accordion-item.js';
|
|
11
11
|
export { AccordionTrigger, AccordionTriggerProps } from './accordion/accordion-item-trigger.js';
|
|
12
12
|
export { AccordionContent, AccordionContentProps } from './accordion/accordion-item-content.js';
|
|
13
|
+
export { Dropdown, DropdownProps } from './dropdown/dropdown.js';
|
|
13
14
|
export { Modal } from './modal/index.js';
|
|
14
15
|
export { Breadcrumbs, BreadcrumbsProps } from './breadcrumb/breadcrumb.js';
|
|
15
16
|
export { MessageDescription, MessageTitle } from './message/message.js';
|
package/dist/index.js
CHANGED
|
@@ -72,6 +72,7 @@ __export(src_exports, {
|
|
|
72
72
|
DescriptionDetails: () => DescriptionDetails,
|
|
73
73
|
DescriptionList: () => DescriptionList,
|
|
74
74
|
DescriptionTerm: () => DescriptionTerm,
|
|
75
|
+
Dropdown: () => Dropdown,
|
|
75
76
|
Link: () => Link,
|
|
76
77
|
LinkList: () => LinkList,
|
|
77
78
|
Message: () => MessageComponent,
|
|
@@ -91,7 +92,7 @@ module.exports = __toCommonJS(src_exports);
|
|
|
91
92
|
// src/button/index.tsx
|
|
92
93
|
var import_fonts = require("@postenbring/hedwig-css/dist/fonts.css");
|
|
93
94
|
var import_tokens = require("@postenbring/hedwig-css/dist/tokens.css");
|
|
94
|
-
var
|
|
95
|
+
var import_body = require("@postenbring/hedwig-css/dist/body.css");
|
|
95
96
|
var import_button = require("@postenbring/hedwig-css/dist/button.css");
|
|
96
97
|
|
|
97
98
|
// src/button/button.tsx
|
|
@@ -161,7 +162,7 @@ SecondaryButton.displayName = "SecondaryButton";
|
|
|
161
162
|
// src/link/index.tsx
|
|
162
163
|
var import_fonts2 = require("@postenbring/hedwig-css/dist/fonts.css");
|
|
163
164
|
var import_tokens2 = require("@postenbring/hedwig-css/dist/tokens.css");
|
|
164
|
-
var
|
|
165
|
+
var import_body2 = require("@postenbring/hedwig-css/dist/body.css");
|
|
165
166
|
var import_link = require("@postenbring/hedwig-css/dist/link.css");
|
|
166
167
|
|
|
167
168
|
// src/link/link.tsx
|
|
@@ -192,7 +193,7 @@ Link.displayName = "Link";
|
|
|
192
193
|
// src/badge/index.tsx
|
|
193
194
|
var import_fonts3 = require("@postenbring/hedwig-css/dist/fonts.css");
|
|
194
195
|
var import_tokens3 = require("@postenbring/hedwig-css/dist/tokens.css");
|
|
195
|
-
var
|
|
196
|
+
var import_body3 = require("@postenbring/hedwig-css/dist/body.css");
|
|
196
197
|
var import_badge = require("@postenbring/hedwig-css/dist/badge.css");
|
|
197
198
|
|
|
198
199
|
// src/badge/badge.tsx
|
|
@@ -245,7 +246,7 @@ WarningBadge.displayName = "WarningBadge";
|
|
|
245
246
|
// src/list/index.tsx
|
|
246
247
|
var import_fonts4 = require("@postenbring/hedwig-css/dist/fonts.css");
|
|
247
248
|
var import_tokens4 = require("@postenbring/hedwig-css/dist/tokens.css");
|
|
248
|
-
var
|
|
249
|
+
var import_body4 = require("@postenbring/hedwig-css/dist/body.css");
|
|
249
250
|
var import_description_list = require("@postenbring/hedwig-css/dist/description-list.css");
|
|
250
251
|
var import_list2 = require("@postenbring/hedwig-css/dist/list.css");
|
|
251
252
|
|
|
@@ -338,7 +339,7 @@ LinkList.displayName = "LinkList";
|
|
|
338
339
|
// src/box/index.tsx
|
|
339
340
|
var import_fonts5 = require("@postenbring/hedwig-css/dist/fonts.css");
|
|
340
341
|
var import_tokens5 = require("@postenbring/hedwig-css/dist/tokens.css");
|
|
341
|
-
var
|
|
342
|
+
var import_body5 = require("@postenbring/hedwig-css/dist/body.css");
|
|
342
343
|
var import_box = require("@postenbring/hedwig-css/dist/box.css");
|
|
343
344
|
|
|
344
345
|
// src/box/box.tsx
|
|
@@ -416,7 +417,7 @@ BoxCloseButton.displayName = "BoxCloseButton";
|
|
|
416
417
|
// src/message/index.tsx
|
|
417
418
|
var import_fonts6 = require("@postenbring/hedwig-css/dist/fonts.css");
|
|
418
419
|
var import_tokens6 = require("@postenbring/hedwig-css/dist/tokens.css");
|
|
419
|
-
var
|
|
420
|
+
var import_body6 = require("@postenbring/hedwig-css/dist/body.css");
|
|
420
421
|
var import_box3 = require("@postenbring/hedwig-css/dist/box.css");
|
|
421
422
|
var import_message = require("@postenbring/hedwig-css/dist/message.css");
|
|
422
423
|
|
|
@@ -479,7 +480,7 @@ MessageComponent.Description.displayName = "Message";
|
|
|
479
480
|
// src/accordion/index.tsx
|
|
480
481
|
var import_fonts7 = require("@postenbring/hedwig-css/dist/fonts.css");
|
|
481
482
|
var import_tokens7 = require("@postenbring/hedwig-css/dist/tokens.css");
|
|
482
|
-
var
|
|
483
|
+
var import_body7 = require("@postenbring/hedwig-css/dist/body.css");
|
|
483
484
|
var import_accordion = require("@postenbring/hedwig-css/dist/accordion.css");
|
|
484
485
|
|
|
485
486
|
// src/accordion/accordion.tsx
|
|
@@ -641,16 +642,61 @@ var AccordionContent = (0, import_react9.forwardRef)((_a, ref) => {
|
|
|
641
642
|
});
|
|
642
643
|
AccordionContent.displayName = "AccordionContent";
|
|
643
644
|
|
|
644
|
-
// src/
|
|
645
|
+
// src/dropdown/index.tsx
|
|
645
646
|
var import_fonts8 = require("@postenbring/hedwig-css/dist/fonts.css");
|
|
646
647
|
var import_tokens8 = require("@postenbring/hedwig-css/dist/tokens.css");
|
|
647
|
-
var
|
|
648
|
+
var import_body8 = require("@postenbring/hedwig-css/dist/body.css");
|
|
649
|
+
var import_dropdown = require("@postenbring/hedwig-css/dist/dropdown.css");
|
|
650
|
+
|
|
651
|
+
// src/dropdown/dropdown.tsx
|
|
652
|
+
var import_typed_classname12 = require("@postenbring/hedwig-css/typed-classname/index.mjs");
|
|
653
|
+
var import_jsx_runtime13 = require("react/jsx-runtime");
|
|
654
|
+
function Dropdown(_a) {
|
|
655
|
+
var _b = _a, {
|
|
656
|
+
label,
|
|
657
|
+
variant,
|
|
658
|
+
errorMessage,
|
|
659
|
+
className,
|
|
660
|
+
children
|
|
661
|
+
} = _b, rest = __objRest(_b, [
|
|
662
|
+
"label",
|
|
663
|
+
"variant",
|
|
664
|
+
"errorMessage",
|
|
665
|
+
"className",
|
|
666
|
+
"children"
|
|
667
|
+
]);
|
|
668
|
+
return /* @__PURE__ */ (0, import_jsx_runtime13.jsxs)("label", { className: (0, import_typed_classname12.clsx)("hds-dropdown__label", { "hds-dropdown--error": errorMessage }), children: [
|
|
669
|
+
label,
|
|
670
|
+
/* @__PURE__ */ (0, import_jsx_runtime13.jsx)(
|
|
671
|
+
"select",
|
|
672
|
+
__spreadProps(__spreadValues({
|
|
673
|
+
className: (0, import_typed_classname12.clsx)(
|
|
674
|
+
"hds-dropdown",
|
|
675
|
+
{
|
|
676
|
+
[`hds-dropdown--${variant}`]: variant,
|
|
677
|
+
"hds-dropdown--error": errorMessage
|
|
678
|
+
},
|
|
679
|
+
className
|
|
680
|
+
)
|
|
681
|
+
}, rest), {
|
|
682
|
+
children
|
|
683
|
+
})
|
|
684
|
+
),
|
|
685
|
+
errorMessage ? /* @__PURE__ */ (0, import_jsx_runtime13.jsx)("div", { className: "hds-dropdown-message", children: errorMessage }) : null
|
|
686
|
+
] });
|
|
687
|
+
}
|
|
688
|
+
Dropdown.displayName = "Dropdown";
|
|
689
|
+
|
|
690
|
+
// src/modal/index.tsx
|
|
691
|
+
var import_fonts9 = require("@postenbring/hedwig-css/dist/fonts.css");
|
|
692
|
+
var import_tokens9 = require("@postenbring/hedwig-css/dist/tokens.css");
|
|
693
|
+
var import_body9 = require("@postenbring/hedwig-css/dist/body.css");
|
|
648
694
|
var import_box5 = require("@postenbring/hedwig-css/dist/box.css");
|
|
649
695
|
var import_modal = require("@postenbring/hedwig-css/dist/modal.css");
|
|
650
696
|
|
|
651
697
|
// src/modal/modal.tsx
|
|
652
698
|
var import_react10 = require("react");
|
|
653
|
-
var
|
|
699
|
+
var import_typed_classname13 = require("@postenbring/hedwig-css/typed-classname/index.mjs");
|
|
654
700
|
|
|
655
701
|
// src/utils.ts
|
|
656
702
|
var React2 = __toESM(require("react"));
|
|
@@ -672,7 +718,7 @@ function useMergeRefs(refs) {
|
|
|
672
718
|
}
|
|
673
719
|
|
|
674
720
|
// src/modal/modal.tsx
|
|
675
|
-
var
|
|
721
|
+
var import_jsx_runtime14 = require("react/jsx-runtime");
|
|
676
722
|
var Modal = (0, import_react10.forwardRef)(
|
|
677
723
|
(_a, ref) => {
|
|
678
724
|
var _b = _a, { children, className } = _b, rest = __objRest(_b, ["children", "className"]);
|
|
@@ -683,11 +729,11 @@ var Modal = (0, import_react10.forwardRef)(
|
|
|
683
729
|
(_a2 = modalRef.current) == null ? void 0 : _a2.close();
|
|
684
730
|
return false;
|
|
685
731
|
}
|
|
686
|
-
return /* @__PURE__ */ (0,
|
|
732
|
+
return /* @__PURE__ */ (0, import_jsx_runtime14.jsx)(
|
|
687
733
|
Box,
|
|
688
734
|
__spreadProps(__spreadValues({
|
|
689
735
|
as: "dialog",
|
|
690
|
-
className: (0,
|
|
736
|
+
className: (0, import_typed_classname13.clsx)("hds-modal", className),
|
|
691
737
|
closeable: true,
|
|
692
738
|
onClose,
|
|
693
739
|
ref: mergedRef,
|
|
@@ -702,10 +748,10 @@ Modal.displayName = "Modal";
|
|
|
702
748
|
var ModalHeader = (0, import_react10.forwardRef)(
|
|
703
749
|
(_a, ref) => {
|
|
704
750
|
var _b = _a, { as: Component = "h1", className } = _b, rest = __objRest(_b, ["as", "className"]);
|
|
705
|
-
return /* @__PURE__ */ (0,
|
|
751
|
+
return /* @__PURE__ */ (0, import_jsx_runtime14.jsx)(
|
|
706
752
|
Component,
|
|
707
753
|
__spreadValues({
|
|
708
|
-
className: (0,
|
|
754
|
+
className: (0, import_typed_classname13.clsx)("hds-modal__header", className),
|
|
709
755
|
ref
|
|
710
756
|
}, rest)
|
|
711
757
|
);
|
|
@@ -719,16 +765,16 @@ ModalComponent.Header = ModalHeader;
|
|
|
719
765
|
ModalComponent.Header.displayName = "Modal";
|
|
720
766
|
|
|
721
767
|
// src/breadcrumb/index.tsx
|
|
722
|
-
var
|
|
723
|
-
var
|
|
724
|
-
var
|
|
768
|
+
var import_fonts10 = require("@postenbring/hedwig-css/dist/fonts.css");
|
|
769
|
+
var import_tokens10 = require("@postenbring/hedwig-css/dist/tokens.css");
|
|
770
|
+
var import_body10 = require("@postenbring/hedwig-css/dist/body.css");
|
|
725
771
|
var import_breadcrumb = require("@postenbring/hedwig-css/dist/breadcrumb.css");
|
|
726
772
|
|
|
727
773
|
// src/breadcrumb/breadcrumb.tsx
|
|
728
|
-
var
|
|
729
|
-
var
|
|
774
|
+
var import_typed_classname14 = require("@postenbring/hedwig-css/typed-classname/index.mjs");
|
|
775
|
+
var import_jsx_runtime15 = require("react/jsx-runtime");
|
|
730
776
|
function Breadcrumbs({ navProps, olProps, children }) {
|
|
731
|
-
return /* @__PURE__ */ (0,
|
|
777
|
+
return /* @__PURE__ */ (0, import_jsx_runtime15.jsx)("nav", __spreadProps(__spreadValues({}, navProps), { children: /* @__PURE__ */ (0, import_jsx_runtime15.jsx)("ol", __spreadProps(__spreadValues({}, olProps), { className: (0, import_typed_classname14.clsx)("hds-breadcrumbs", olProps == null ? void 0 : olProps.className), children })) }));
|
|
732
778
|
}
|
|
733
779
|
Breadcrumbs.displayName = "Breadcrumbs";
|
|
734
780
|
// Annotate the CommonJS export names for ESM import in node:
|
|
@@ -746,6 +792,7 @@ Breadcrumbs.displayName = "Breadcrumbs";
|
|
|
746
792
|
DescriptionDetails,
|
|
747
793
|
DescriptionList,
|
|
748
794
|
DescriptionTerm,
|
|
795
|
+
Dropdown,
|
|
749
796
|
Link,
|
|
750
797
|
LinkList,
|
|
751
798
|
Message,
|
package/dist/index.mjs
CHANGED
|
@@ -1,14 +1,21 @@
|
|
|
1
|
+
import {
|
|
2
|
+
MessageComponent
|
|
3
|
+
} from "./chunk-HMESGVY5.mjs";
|
|
4
|
+
import {
|
|
5
|
+
MessageDescription,
|
|
6
|
+
MessageTitle
|
|
7
|
+
} from "./chunk-X4D24ZRP.mjs";
|
|
1
8
|
import {
|
|
2
9
|
ModalComponent
|
|
3
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-5CZXT7I6.mjs";
|
|
4
11
|
import {
|
|
5
12
|
ModalHeader
|
|
6
13
|
} from "./chunk-FFQBRM3W.mjs";
|
|
7
|
-
import "./chunk-
|
|
14
|
+
import "./chunk-7SCOBRDZ.mjs";
|
|
8
15
|
import {
|
|
9
16
|
Link
|
|
10
17
|
} from "./chunk-TES7CVGU.mjs";
|
|
11
|
-
import "./chunk-
|
|
18
|
+
import "./chunk-5OAMKZDX.mjs";
|
|
12
19
|
import {
|
|
13
20
|
DescriptionDetails,
|
|
14
21
|
DescriptionList,
|
|
@@ -21,29 +28,26 @@ import {
|
|
|
21
28
|
OrderedList,
|
|
22
29
|
UnorderedList
|
|
23
30
|
} from "./chunk-RY53CJI7.mjs";
|
|
24
|
-
import
|
|
25
|
-
MessageComponent
|
|
26
|
-
} from "./chunk-6AW5BEDP.mjs";
|
|
27
|
-
import {
|
|
28
|
-
MessageDescription,
|
|
29
|
-
MessageTitle
|
|
30
|
-
} from "./chunk-X4D24ZRP.mjs";
|
|
31
|
-
import "./chunk-BJANCH4F.mjs";
|
|
31
|
+
import "./chunk-AJBQ2EJU.mjs";
|
|
32
32
|
import {
|
|
33
33
|
Box,
|
|
34
34
|
BoxCloseButton
|
|
35
35
|
} from "./chunk-RXUPE4MM.mjs";
|
|
36
|
-
import "./chunk-
|
|
36
|
+
import "./chunk-YRAMCYSB.mjs";
|
|
37
37
|
import {
|
|
38
38
|
Breadcrumbs
|
|
39
39
|
} from "./chunk-Q2HYT3Z7.mjs";
|
|
40
|
-
import "./chunk-
|
|
40
|
+
import "./chunk-VX6MSLLO.mjs";
|
|
41
41
|
import {
|
|
42
42
|
BaseButton,
|
|
43
43
|
PrimaryButton,
|
|
44
44
|
SecondaryButton
|
|
45
45
|
} from "./chunk-ENRMC5K7.mjs";
|
|
46
|
-
import "./chunk-
|
|
46
|
+
import "./chunk-LZSDIT5D.mjs";
|
|
47
|
+
import {
|
|
48
|
+
Dropdown
|
|
49
|
+
} from "./chunk-3VUAKZB2.mjs";
|
|
50
|
+
import "./chunk-LNPO2XQW.mjs";
|
|
47
51
|
import {
|
|
48
52
|
AccordionContent
|
|
49
53
|
} from "./chunk-J7U4Z726.mjs";
|
|
@@ -57,7 +61,7 @@ import {
|
|
|
57
61
|
Accordion
|
|
58
62
|
} from "./chunk-GMGUONH5.mjs";
|
|
59
63
|
import "./chunk-2V6SWZ5G.mjs";
|
|
60
|
-
import "./chunk-
|
|
64
|
+
import "./chunk-IEY4EQ4E.mjs";
|
|
61
65
|
import {
|
|
62
66
|
Badge,
|
|
63
67
|
DarkBadge,
|
|
@@ -79,6 +83,7 @@ export {
|
|
|
79
83
|
DescriptionDetails,
|
|
80
84
|
DescriptionList,
|
|
81
85
|
DescriptionTerm,
|
|
86
|
+
Dropdown,
|
|
82
87
|
Link,
|
|
83
88
|
LinkList,
|
|
84
89
|
MessageComponent as Message,
|
package/dist/input/index.js
CHANGED
|
@@ -64,7 +64,7 @@ __export(input_exports, {
|
|
|
64
64
|
module.exports = __toCommonJS(input_exports);
|
|
65
65
|
var import_fonts = require("@postenbring/hedwig-css/dist/fonts.css");
|
|
66
66
|
var import_tokens = require("@postenbring/hedwig-css/dist/tokens.css");
|
|
67
|
-
var
|
|
67
|
+
var import_body = require("@postenbring/hedwig-css/dist/body.css");
|
|
68
68
|
var import_input = require("@postenbring/hedwig-css/dist/input.css");
|
|
69
69
|
|
|
70
70
|
// src/input/input.tsx
|
package/dist/input/index.mjs
CHANGED
|
@@ -6,7 +6,7 @@ import "../chunk-FUJQIYOF.mjs";
|
|
|
6
6
|
// src/input/index.tsx
|
|
7
7
|
import "@postenbring/hedwig-css/dist/fonts.css";
|
|
8
8
|
import "@postenbring/hedwig-css/dist/tokens.css";
|
|
9
|
-
import "@postenbring/hedwig-css/dist/
|
|
9
|
+
import "@postenbring/hedwig-css/dist/body.css";
|
|
10
10
|
import "@postenbring/hedwig-css/dist/input.css";
|
|
11
11
|
export {
|
|
12
12
|
Input
|
package/dist/link/index.js
CHANGED
|
@@ -54,7 +54,7 @@ __export(link_exports, {
|
|
|
54
54
|
module.exports = __toCommonJS(link_exports);
|
|
55
55
|
var import_fonts = require("@postenbring/hedwig-css/dist/fonts.css");
|
|
56
56
|
var import_tokens = require("@postenbring/hedwig-css/dist/tokens.css");
|
|
57
|
-
var
|
|
57
|
+
var import_body = require("@postenbring/hedwig-css/dist/body.css");
|
|
58
58
|
var import_link = require("@postenbring/hedwig-css/dist/link.css");
|
|
59
59
|
|
|
60
60
|
// src/link/link.tsx
|
package/dist/link/index.mjs
CHANGED
package/dist/list/index.js
CHANGED
|
@@ -59,7 +59,7 @@ __export(list_exports, {
|
|
|
59
59
|
module.exports = __toCommonJS(list_exports);
|
|
60
60
|
var import_fonts = require("@postenbring/hedwig-css/dist/fonts.css");
|
|
61
61
|
var import_tokens = require("@postenbring/hedwig-css/dist/tokens.css");
|
|
62
|
-
var
|
|
62
|
+
var import_body = require("@postenbring/hedwig-css/dist/body.css");
|
|
63
63
|
var import_description_list = require("@postenbring/hedwig-css/dist/description-list.css");
|
|
64
64
|
var import_list2 = require("@postenbring/hedwig-css/dist/list.css");
|
|
65
65
|
|
package/dist/list/index.mjs
CHANGED
package/dist/message/index.d.mts
CHANGED
|
@@ -7,7 +7,7 @@ declare const MessageComponent: {
|
|
|
7
7
|
(props: MessageProps & React.RefAttributes<HTMLDivElement>): React.ReactNode;
|
|
8
8
|
<As extends React.ElementType>(props: {
|
|
9
9
|
as?: As | undefined;
|
|
10
|
-
} & MessageProps & Omit<React.ComponentPropsWithRef<As>, "slot" | "style" | "title" | "icon" | "children" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "autoFocus" | "className" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "id" | "lang" | "nonce" | "
|
|
10
|
+
} & MessageProps & Omit<React.ComponentPropsWithRef<As>, "slot" | "style" | "title" | "icon" | "children" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "autoFocus" | "className" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "id" | "lang" | "nonce" | "spellCheck" | "tabIndex" | "translate" | "radioGroup" | "role" | "about" | "content" | "datatype" | "inlist" | "prefix" | "property" | "rel" | "resource" | "rev" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "color" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-braillelabel" | "aria-brailleroledescription" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colindextext" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-description" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowindextext" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onResize" | "onResizeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "variant" | "onClose" | "closeable" | "closed" | "closeButtonProps" | "iconClassName">): React.ReactNode;
|
|
11
11
|
} & Pick<React.FC, "displayName"> & {
|
|
12
12
|
Title: typeof MessageTitle;
|
|
13
13
|
Description: typeof MessageDescription;
|
package/dist/message/index.d.ts
CHANGED
|
@@ -7,7 +7,7 @@ declare const MessageComponent: {
|
|
|
7
7
|
(props: MessageProps & React.RefAttributes<HTMLDivElement>): React.ReactNode;
|
|
8
8
|
<As extends React.ElementType>(props: {
|
|
9
9
|
as?: As | undefined;
|
|
10
|
-
} & MessageProps & Omit<React.ComponentPropsWithRef<As>, "slot" | "style" | "title" | "icon" | "children" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "autoFocus" | "className" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "id" | "lang" | "nonce" | "
|
|
10
|
+
} & MessageProps & Omit<React.ComponentPropsWithRef<As>, "slot" | "style" | "title" | "icon" | "children" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "autoFocus" | "className" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "id" | "lang" | "nonce" | "spellCheck" | "tabIndex" | "translate" | "radioGroup" | "role" | "about" | "content" | "datatype" | "inlist" | "prefix" | "property" | "rel" | "resource" | "rev" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "color" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-braillelabel" | "aria-brailleroledescription" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colindextext" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-description" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowindextext" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onResize" | "onResizeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "variant" | "onClose" | "closeable" | "closed" | "closeButtonProps" | "iconClassName">): React.ReactNode;
|
|
11
11
|
} & Pick<React.FC, "displayName"> & {
|
|
12
12
|
Title: typeof MessageTitle;
|
|
13
13
|
Description: typeof MessageDescription;
|
package/dist/message/index.js
CHANGED
|
@@ -56,7 +56,7 @@ __export(message_exports, {
|
|
|
56
56
|
module.exports = __toCommonJS(message_exports);
|
|
57
57
|
var import_fonts = require("@postenbring/hedwig-css/dist/fonts.css");
|
|
58
58
|
var import_tokens = require("@postenbring/hedwig-css/dist/tokens.css");
|
|
59
|
-
var
|
|
59
|
+
var import_body = require("@postenbring/hedwig-css/dist/body.css");
|
|
60
60
|
var import_box2 = require("@postenbring/hedwig-css/dist/box.css");
|
|
61
61
|
var import_message = require("@postenbring/hedwig-css/dist/message.css");
|
|
62
62
|
|
package/dist/message/index.mjs
CHANGED
package/dist/modal/index.js
CHANGED
|
@@ -65,7 +65,7 @@ __export(modal_exports, {
|
|
|
65
65
|
module.exports = __toCommonJS(modal_exports);
|
|
66
66
|
var import_fonts = require("@postenbring/hedwig-css/dist/fonts.css");
|
|
67
67
|
var import_tokens = require("@postenbring/hedwig-css/dist/tokens.css");
|
|
68
|
-
var
|
|
68
|
+
var import_body = require("@postenbring/hedwig-css/dist/body.css");
|
|
69
69
|
var import_box2 = require("@postenbring/hedwig-css/dist/box.css");
|
|
70
70
|
var import_modal = require("@postenbring/hedwig-css/dist/modal.css");
|
|
71
71
|
|
package/dist/modal/index.mjs
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@postenbring/hedwig-react",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.16",
|
|
4
4
|
"main": "./dist/index.js",
|
|
5
5
|
"module": "./dist/index.mjs",
|
|
6
6
|
"types": "./dist/index.d.ts",
|
|
@@ -10,16 +10,16 @@
|
|
|
10
10
|
"dist/**"
|
|
11
11
|
],
|
|
12
12
|
"devDependencies": {
|
|
13
|
-
"@types/react": "^18.2.
|
|
13
|
+
"@types/react": "^18.2.43",
|
|
14
14
|
"@types/react-dom": "^18.2.15",
|
|
15
15
|
"react": "^18.2.0",
|
|
16
16
|
"tsup": "^8.0.1",
|
|
17
|
-
"typescript": "^5.
|
|
17
|
+
"typescript": "^5.3.3",
|
|
18
18
|
"eslint-config-custom": "0.0.1",
|
|
19
19
|
"hedwig-tsconfig": "0.0.0"
|
|
20
20
|
},
|
|
21
21
|
"dependencies": {
|
|
22
|
-
"@postenbring/hedwig-css": "0.0.
|
|
22
|
+
"@postenbring/hedwig-css": "0.0.15"
|
|
23
23
|
},
|
|
24
24
|
"publishConfig": {
|
|
25
25
|
"access": "public"
|