@postenbring/hedwig-react 0.0.44 → 0.0.46
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/accordion-content.d.mts +1 -1
- package/dist/accordion/accordion-content.d.ts +1 -1
- package/dist/accordion/accordion-content.mjs +2 -2
- package/dist/accordion/accordion-header.d.mts +1 -1
- package/dist/accordion/accordion-header.d.ts +1 -1
- package/dist/accordion/accordion-header.mjs +2 -2
- package/dist/accordion/accordion-item.d.mts +1 -1
- package/dist/accordion/accordion-item.d.ts +1 -1
- package/dist/accordion/accordion-item.mjs +2 -2
- package/dist/accordion/accordion.d.mts +1 -1
- package/dist/accordion/accordion.d.ts +1 -1
- package/dist/accordion/accordion.mjs +2 -2
- package/dist/accordion/index.d.mts +1 -1
- package/dist/accordion/index.d.ts +1 -1
- package/dist/accordion/index.mjs +6 -6
- package/dist/badge/badge.mjs +2 -2
- package/dist/badge/index.mjs +2 -2
- package/dist/box/box.d.mts +1 -1
- package/dist/box/box.d.ts +1 -1
- package/dist/box/box.mjs +2 -2
- package/dist/box/index.d.mts +1 -1
- package/dist/box/index.d.ts +1 -1
- package/dist/box/index.mjs +3 -3
- package/dist/breadcrumb/breadcrumb.mjs +2 -2
- package/dist/breadcrumb/index.mjs +2 -2
- package/dist/button/button.d.mts +1 -1
- package/dist/button/button.d.ts +1 -1
- package/dist/button/button.mjs +2 -2
- package/dist/button/index.d.mts +1 -1
- package/dist/button/index.d.ts +1 -1
- package/dist/button/index.mjs +2 -2
- package/dist/card/card.d.mts +1 -1
- package/dist/card/card.d.ts +1 -1
- package/dist/card/card.mjs +2 -2
- package/dist/card/index.d.mts +1 -1
- package/dist/card/index.d.ts +1 -1
- package/dist/card/index.mjs +3 -3
- package/dist/{chunk-WTMT5WCJ.mjs → chunk-3EENBGOV.mjs} +1 -1
- package/dist/chunk-3WUAXFB3.mjs +34 -0
- package/dist/{chunk-BHNQPMEB.mjs → chunk-3Y65IUK4.mjs} +2 -2
- package/dist/{chunk-Y2KP4RF2.mjs → chunk-4KBVX3Y7.mjs} +3 -3
- package/dist/{chunk-G3JPULGO.mjs → chunk-4LB35CUY.mjs} +1 -1
- package/dist/{chunk-Q3SWHAU3.mjs → chunk-4M3GIRQZ.mjs} +1 -1
- package/dist/{chunk-PF6PZIZS.mjs → chunk-4RAMNETH.mjs} +1 -1
- package/dist/{chunk-2QZF65FK.mjs → chunk-5FM3XK4V.mjs} +5 -1
- package/dist/{chunk-SDJXW6U7.mjs → chunk-5HF2PDRZ.mjs} +1 -1
- package/dist/{chunk-DOJ2ZKNV.mjs → chunk-5NWYVPBZ.mjs} +1 -1
- package/dist/chunk-67OMX7FP.mjs +5 -0
- package/dist/{chunk-GBDCEHR7.mjs → chunk-6FKQU7QT.mjs} +1 -1
- package/dist/{chunk-QAYPCD5Z.mjs → chunk-6KRJB36T.mjs} +22 -13
- package/dist/chunk-73MDVYU2.mjs +129 -0
- package/dist/{chunk-MER2HJBC.mjs → chunk-7P6MJKWC.mjs} +1 -1
- package/dist/{chunk-6XTXM4YQ.mjs → chunk-A6HNU42U.mjs} +1 -1
- package/dist/{chunk-3JNHAMRV.mjs → chunk-AUK3J77R.mjs} +1 -1
- package/dist/{chunk-LICHSDMT.mjs → chunk-B3SD7RZV.mjs} +1 -1
- package/dist/{chunk-RY53CJI7.mjs → chunk-BEXOLUXV.mjs} +1 -1
- package/dist/{chunk-ZLCNSHLT.mjs → chunk-C2VTAQEP.mjs} +1 -1
- package/dist/chunk-DOWBGRCN.mjs +29253 -0
- package/dist/chunk-FKR5F35B.mjs +70 -0
- package/dist/{chunk-5QMPUCNW.mjs → chunk-FPVGZ4VX.mjs} +1 -1
- package/dist/chunk-HIRUCFWO.mjs +25 -0
- package/dist/chunk-J5QNIAFL.mjs +72 -0
- package/dist/{chunk-KYCCTJI6.mjs → chunk-KBR5N6UB.mjs} +4 -4
- package/dist/{chunk-K3BGDNWO.mjs → chunk-MUGMWWNN.mjs} +3 -3
- package/dist/chunk-OKWNTFU5.mjs +5 -0
- package/dist/{chunk-SX37JSDS.mjs → chunk-OPW2JS5I.mjs} +1 -1
- package/dist/chunk-PPUNMHOX.mjs +0 -0
- package/dist/chunk-R7GQHCN4.mjs +30 -0
- package/dist/{chunk-6KVF3ELJ.mjs → chunk-RNALWA7A.mjs} +3 -3
- package/dist/{chunk-45BJGKVZ.mjs → chunk-S4F2KVFJ.mjs} +1 -1
- package/dist/{chunk-E5575U2F.mjs → chunk-S7FSULI3.mjs} +1 -1
- package/dist/{chunk-TES7CVGU.mjs → chunk-SNLXFZB6.mjs} +1 -1
- package/dist/{chunk-Y4KHO6LN.mjs → chunk-TEOA6K5L.mjs} +1 -1
- package/dist/{chunk-E2GAXTBX.mjs → chunk-UBQPNSMU.mjs} +1 -1
- package/dist/{chunk-FDAXJJHU.mjs → chunk-UGZSXQQQ.mjs} +1 -1
- package/dist/{chunk-GRO36EUL.mjs → chunk-UL2XL6BN.mjs} +1 -1
- package/dist/{chunk-GD4NFQGX.mjs → chunk-UOEKLXX4.mjs} +1 -1
- package/dist/{chunk-WUMZCEIJ.mjs → chunk-VO6ZLGZ7.mjs} +5 -5
- package/dist/{chunk-QC72RAQS.mjs → chunk-VT7SFAQF.mjs} +1 -1
- package/dist/{chunk-WYPGZY5Q.mjs → chunk-WKI6D7BR.mjs} +2 -2
- package/dist/{chunk-BRBGRJ2I.mjs → chunk-X5URKHFD.mjs} +2 -2
- package/dist/{chunk-ENRMC5K7.mjs → chunk-YBSM5D5N.mjs} +1 -1
- package/dist/form/error-message/error-message.d.mts +12 -0
- package/dist/form/error-message/error-message.d.ts +12 -0
- package/dist/form/error-message/error-message.js +66 -0
- package/dist/form/error-message/error-message.mjs +7 -0
- package/dist/form/error-message/index.d.mts +3 -0
- package/dist/form/error-message/index.d.ts +3 -0
- package/dist/form/error-message/index.js +72 -0
- package/dist/form/error-message/index.mjs +8 -0
- package/dist/form/fieldset/fieldset.d.mts +20 -0
- package/dist/form/fieldset/fieldset.d.ts +20 -0
- package/dist/{input-group/input-group.js → form/fieldset/fieldset.js} +65 -61
- package/dist/form/fieldset/fieldset.mjs +9 -0
- package/dist/form/fieldset/index.d.mts +2 -0
- package/dist/form/fieldset/index.d.ts +2 -0
- package/dist/form/fieldset/index.js +152 -0
- package/dist/form/fieldset/index.mjs +10 -0
- package/dist/form/index.d.mts +6 -0
- package/dist/form/index.d.ts +6 -0
- package/dist/form/index.js +375 -0
- package/dist/form/index.mjs +28 -0
- package/dist/{input/input.js → form/input/index.js} +70 -27
- package/dist/form/input/index.mjs +12 -0
- package/dist/{input/index.js → form/input/input.js} +60 -31
- package/dist/form/input/input.mjs +11 -0
- package/dist/form/input-group/index.d.mts +2 -0
- package/dist/form/input-group/index.d.ts +2 -0
- package/dist/{select/select.js → form/input-group/index.js} +60 -49
- package/dist/form/input-group/index.mjs +10 -0
- package/dist/{input-group → form/input-group}/input-group.d.mts +1 -7
- package/dist/{input-group → form/input-group}/input-group.d.ts +1 -7
- package/dist/{input-group/index.js → form/input-group/input-group.js} +51 -21
- package/dist/form/input-group/input-group.mjs +9 -0
- package/dist/form/select/index.js +216 -0
- package/dist/form/select/index.mjs +12 -0
- package/dist/{select/index.js → form/select/select.js} +60 -31
- package/dist/form/select/select.mjs +11 -0
- package/dist/{textarea/textarea.js → form/textarea/index.js} +70 -27
- package/dist/form/textarea/index.mjs +12 -0
- package/dist/{textarea/index.js → form/textarea/textarea.js} +60 -31
- package/dist/form/textarea/textarea.mjs +11 -0
- package/dist/index.d.mts +9 -7
- package/dist/index.d.ts +9 -7
- package/dist/index.js +434 -229
- package/dist/index.mjs +64 -46
- package/dist/layout/container/container.d.mts +1 -1
- package/dist/layout/container/container.d.ts +1 -1
- package/dist/layout/container/container.mjs +2 -2
- package/dist/layout/index.d.mts +1 -1
- package/dist/layout/index.d.ts +1 -1
- package/dist/layout/index.mjs +2 -2
- package/dist/link/index.d.mts +1 -1
- package/dist/link/index.d.ts +1 -1
- package/dist/link/index.mjs +2 -2
- package/dist/link/link.d.mts +1 -1
- package/dist/link/link.d.ts +1 -1
- package/dist/link/link.mjs +2 -2
- package/dist/list/description-list.d.mts +4 -4
- package/dist/list/description-list.d.ts +4 -4
- package/dist/list/description-list.mjs +2 -2
- package/dist/list/index.mjs +6 -6
- package/dist/list/link-list.mjs +3 -3
- package/dist/list/list.mjs +2 -2
- package/dist/message/index.d.mts +1 -1
- package/dist/message/index.d.ts +1 -1
- package/dist/message/index.mjs +4 -4
- package/dist/message/message.d.mts +1 -1
- package/dist/message/message.d.ts +1 -1
- package/dist/message/message.mjs +3 -3
- package/dist/modal/index.d.mts +6 -3
- package/dist/modal/index.d.ts +6 -3
- package/dist/modal/index.js +71 -3
- package/dist/modal/index.mjs +4 -4
- package/dist/modal/modal.d.mts +21 -3
- package/dist/modal/modal.d.ts +21 -3
- package/dist/modal/modal.js +77 -5
- package/dist/modal/modal.mjs +11 -5
- package/dist/navbar/icons.d.mts +6 -0
- package/dist/navbar/icons.d.ts +6 -0
- package/dist/navbar/icons.js +50 -0
- package/dist/navbar/icons.mjs +9 -0
- package/dist/navbar/index.d.mts +1 -1
- package/dist/navbar/index.d.ts +1 -1
- package/dist/navbar/index.js +29217 -15
- package/dist/navbar/index.mjs +4 -3
- package/dist/navbar/navbar-expandable-menu.d.mts +3 -2
- package/dist/navbar/navbar-expandable-menu.d.ts +3 -2
- package/dist/navbar/navbar-expandable-menu.js +29217 -15
- package/dist/navbar/navbar-expandable-menu.mjs +3 -2
- package/dist/navbar/navbar.d.mts +1 -1
- package/dist/navbar/navbar.d.ts +1 -1
- package/dist/navbar/navbar.mjs +2 -2
- package/dist/prose/prose.d.mts +2 -2
- package/dist/prose/prose.d.ts +2 -2
- package/dist/prose/prose.mjs +3 -29
- package/dist/tabs/index.d.mts +1 -1
- package/dist/tabs/index.d.ts +1 -1
- package/dist/tabs/index.mjs +5 -5
- package/dist/tabs/tabs-content.d.mts +1 -1
- package/dist/tabs/tabs-content.d.ts +1 -1
- package/dist/tabs/tabs-content.mjs +2 -2
- package/dist/tabs/tabs-list.d.mts +1 -1
- package/dist/tabs/tabs-list.d.ts +1 -1
- package/dist/tabs/tabs-list.mjs +2 -2
- package/dist/tabs/tabs.d.mts +1 -1
- package/dist/tabs/tabs.d.ts +1 -1
- package/dist/tabs/tabs.mjs +2 -2
- package/dist/typography/index.d.mts +1 -1
- package/dist/typography/index.d.ts +1 -1
- package/dist/typography/index.mjs +2 -2
- package/dist/typography/typography.d.mts +1 -1
- package/dist/typography/typography.d.ts +1 -1
- package/dist/typography/typography.mjs +2 -2
- package/dist/warning-banner/index.d.mts +1 -1
- package/dist/warning-banner/index.d.ts +1 -1
- package/dist/warning-banner/index.mjs +4 -4
- package/dist/warning-banner/warning-banner.d.mts +1 -1
- package/dist/warning-banner/warning-banner.d.ts +1 -1
- package/dist/warning-banner/warning-banner.mjs +4 -4
- package/package.json +5 -4
- package/dist/chunk-FUJQIYOF.mjs +0 -37
- package/dist/chunk-OB6UNSKV.mjs +0 -60
- package/dist/chunk-T5W5SKZP.mjs +0 -80
- package/dist/input/index.mjs +0 -10
- package/dist/input/input.mjs +0 -9
- package/dist/input-group/index.d.mts +0 -2
- package/dist/input-group/index.d.ts +0 -2
- package/dist/input-group/index.mjs +0 -8
- package/dist/input-group/input-group.mjs +0 -7
- package/dist/select/index.mjs +0 -10
- package/dist/select/select.mjs +0 -9
- package/dist/textarea/index.mjs +0 -10
- package/dist/textarea/textarea.mjs +0 -9
- /package/dist/{input → form/input}/index.d.mts +0 -0
- /package/dist/{input → form/input}/index.d.ts +0 -0
- /package/dist/{input → form/input}/input.d.mts +0 -0
- /package/dist/{input → form/input}/input.d.ts +0 -0
- /package/dist/{select → form/select}/index.d.mts +0 -0
- /package/dist/{select → form/select}/index.d.ts +0 -0
- /package/dist/{select → form/select}/select.d.mts +0 -0
- /package/dist/{select → form/select}/select.d.ts +0 -0
- /package/dist/{textarea → form/textarea}/index.d.mts +0 -0
- /package/dist/{textarea → form/textarea}/index.d.ts +0 -0
- /package/dist/{textarea → form/textarea}/textarea.d.mts +0 -0
- /package/dist/{textarea → form/textarea}/textarea.d.ts +0 -0
- /package/dist/{utils-BfZsjuFH.d.mts → utils-3jLhIyOS.d.mts} +0 -0
- /package/dist/{utils-BfZsjuFH.d.ts → utils-3jLhIyOS.d.ts} +0 -0
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
var __create = Object.create;
|
|
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 __getProtoOf = Object.getPrototypeOf;
|
|
9
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
10
|
+
var __propIsEnum = Object.prototype.propertyIsEnumerable;
|
|
11
|
+
var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
12
|
+
var __spreadValues = (a, b) => {
|
|
13
|
+
for (var prop in b || (b = {}))
|
|
14
|
+
if (__hasOwnProp.call(b, prop))
|
|
15
|
+
__defNormalProp(a, prop, b[prop]);
|
|
16
|
+
if (__getOwnPropSymbols)
|
|
17
|
+
for (var prop of __getOwnPropSymbols(b)) {
|
|
18
|
+
if (__propIsEnum.call(b, prop))
|
|
19
|
+
__defNormalProp(a, prop, b[prop]);
|
|
20
|
+
}
|
|
21
|
+
return a;
|
|
22
|
+
};
|
|
23
|
+
var __spreadProps = (a, b) => __defProps(a, __getOwnPropDescs(b));
|
|
24
|
+
var __require = /* @__PURE__ */ ((x) => typeof require !== "undefined" ? require : typeof Proxy !== "undefined" ? new Proxy(x, {
|
|
25
|
+
get: (a, b) => (typeof require !== "undefined" ? require : a)[b]
|
|
26
|
+
}) : x)(function(x) {
|
|
27
|
+
if (typeof require !== "undefined")
|
|
28
|
+
return require.apply(this, arguments);
|
|
29
|
+
throw Error('Dynamic require of "' + x + '" is not supported');
|
|
30
|
+
});
|
|
31
|
+
var __objRest = (source, exclude) => {
|
|
32
|
+
var target = {};
|
|
33
|
+
for (var prop in source)
|
|
34
|
+
if (__hasOwnProp.call(source, prop) && exclude.indexOf(prop) < 0)
|
|
35
|
+
target[prop] = source[prop];
|
|
36
|
+
if (source != null && __getOwnPropSymbols)
|
|
37
|
+
for (var prop of __getOwnPropSymbols(source)) {
|
|
38
|
+
if (exclude.indexOf(prop) < 0 && __propIsEnum.call(source, prop))
|
|
39
|
+
target[prop] = source[prop];
|
|
40
|
+
}
|
|
41
|
+
return target;
|
|
42
|
+
};
|
|
43
|
+
var __commonJS = (cb, mod) => function __require2() {
|
|
44
|
+
return mod || (0, cb[__getOwnPropNames(cb)[0]])((mod = { exports: {} }).exports, mod), mod.exports;
|
|
45
|
+
};
|
|
46
|
+
var __copyProps = (to, from, except, desc) => {
|
|
47
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
48
|
+
for (let key of __getOwnPropNames(from))
|
|
49
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
50
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
51
|
+
}
|
|
52
|
+
return to;
|
|
53
|
+
};
|
|
54
|
+
var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
|
|
55
|
+
// If the importer is in node compatibility mode or this is not an ESM
|
|
56
|
+
// file that has been converted to a CommonJS file using a Babel-
|
|
57
|
+
// compatible transform (i.e. "__esModule" has not been set), then set
|
|
58
|
+
// "default" to the CommonJS "module.exports" for node compatibility.
|
|
59
|
+
isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
|
|
60
|
+
mod
|
|
61
|
+
));
|
|
62
|
+
|
|
63
|
+
export {
|
|
64
|
+
__spreadValues,
|
|
65
|
+
__spreadProps,
|
|
66
|
+
__require,
|
|
67
|
+
__objRest,
|
|
68
|
+
__commonJS,
|
|
69
|
+
__toESM
|
|
70
|
+
};
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
// src/navbar/icons.tsx
|
|
2
|
+
import { jsx } from "react/jsx-runtime";
|
|
3
|
+
function CloseIcon() {
|
|
4
|
+
return /* @__PURE__ */ jsx("svg", { "aria-hidden": true, viewBox: "0 0 384 512", xmlns: "http://www.w3.org/2000/svg", children: /* @__PURE__ */ jsx(
|
|
5
|
+
"path",
|
|
6
|
+
{
|
|
7
|
+
d: "M345 137c9.4-9.4 9.4-24.6 0-33.9s-24.6-9.4-33.9 0l-119 119L73 103c-9.4-9.4-24.6-9.4-33.9 0s-9.4 24.6 0 33.9l119 119L39 375c-9.4 9.4-9.4 24.6 0 33.9s24.6 9.4 33.9 0l119-119L311 409c9.4 9.4 24.6 9.4 33.9 0s9.4-24.6 0-33.9l-119-119L345 137z",
|
|
8
|
+
fill: "currentColor"
|
|
9
|
+
}
|
|
10
|
+
) });
|
|
11
|
+
}
|
|
12
|
+
function MenuIcon() {
|
|
13
|
+
return /* @__PURE__ */ jsx("svg", { role: "img", viewBox: "0 0 448 512", xmlns: "http://www.w3.org/2000/svg", children: /* @__PURE__ */ jsx(
|
|
14
|
+
"path",
|
|
15
|
+
{
|
|
16
|
+
d: "M0 88C0 74.7 10.7 64 24 64H424c13.3 0 24 10.7 24 24s-10.7 24-24 24H24C10.7 112 0 101.3 0 88zM0 248c0-13.3 10.7-24 24-24H424c13.3 0 24 10.7 24 24s-10.7 24-24 24H24c-13.3 0-24-10.7-24-24zM448 408c0 13.3-10.7 24-24 24H24c-13.3 0-24-10.7-24-24s10.7-24 24-24H424c13.3 0 24 10.7 24 24z",
|
|
17
|
+
fill: "currentColor"
|
|
18
|
+
}
|
|
19
|
+
) });
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
export {
|
|
23
|
+
CloseIcon,
|
|
24
|
+
MenuIcon
|
|
25
|
+
};
|
|
@@ -0,0 +1,72 @@
|
|
|
1
|
+
import {
|
|
2
|
+
ErrorMessage
|
|
3
|
+
} from "./chunk-R7GQHCN4.mjs";
|
|
4
|
+
import {
|
|
5
|
+
__objRest,
|
|
6
|
+
__spreadProps,
|
|
7
|
+
__spreadValues
|
|
8
|
+
} from "./chunk-FKR5F35B.mjs";
|
|
9
|
+
|
|
10
|
+
// src/form/fieldset/fieldset.tsx
|
|
11
|
+
import { useId, forwardRef } from "react";
|
|
12
|
+
import { clsx } from "@postenbring/hedwig-css/typed-classname/index.mjs";
|
|
13
|
+
import { jsx, jsxs } from "react/jsx-runtime";
|
|
14
|
+
var Fieldset = forwardRef(function Fieldset2(_a, ref) {
|
|
15
|
+
var _b = _a, {
|
|
16
|
+
className,
|
|
17
|
+
style,
|
|
18
|
+
errorMessage,
|
|
19
|
+
legendProps: _c = {}
|
|
20
|
+
} = _b, _d = _c, { size: legendSize = "default", className: legendClassName } = _d, legendProps = __objRest(_d, ["size", "className"]), _e = _b, {
|
|
21
|
+
legend,
|
|
22
|
+
children,
|
|
23
|
+
_unstableAriaLiveOnErrorMessage = false
|
|
24
|
+
} = _e, rest = __objRest(_e, [
|
|
25
|
+
"className",
|
|
26
|
+
"style",
|
|
27
|
+
"errorMessage",
|
|
28
|
+
"legendProps",
|
|
29
|
+
"legend",
|
|
30
|
+
"children",
|
|
31
|
+
"_unstableAriaLiveOnErrorMessage"
|
|
32
|
+
]);
|
|
33
|
+
const errorMessageId = useId();
|
|
34
|
+
return /* @__PURE__ */ jsxs(
|
|
35
|
+
"fieldset",
|
|
36
|
+
__spreadProps(__spreadValues({
|
|
37
|
+
"aria-describedby": errorMessage ? errorMessageId : void 0,
|
|
38
|
+
"aria-invalid": errorMessage ? true : void 0,
|
|
39
|
+
className: clsx("hds-fieldset", className),
|
|
40
|
+
ref,
|
|
41
|
+
style
|
|
42
|
+
}, rest), {
|
|
43
|
+
children: [
|
|
44
|
+
/* @__PURE__ */ jsx(
|
|
45
|
+
"legend",
|
|
46
|
+
__spreadProps(__spreadValues({
|
|
47
|
+
className: clsx(
|
|
48
|
+
"hds-fieldset__legend",
|
|
49
|
+
{ [`hds-fieldset__legend--${legendSize}`]: legendSize },
|
|
50
|
+
legendClassName
|
|
51
|
+
)
|
|
52
|
+
}, legendProps), {
|
|
53
|
+
children: legend
|
|
54
|
+
})
|
|
55
|
+
),
|
|
56
|
+
/* @__PURE__ */ jsx("div", { className: clsx("hds-fieldset__input-wrapper"), children }),
|
|
57
|
+
/* @__PURE__ */ jsx(
|
|
58
|
+
ErrorMessage,
|
|
59
|
+
{
|
|
60
|
+
_unstableAriaLiveOnErrorMessage,
|
|
61
|
+
id: errorMessageId,
|
|
62
|
+
children: errorMessage
|
|
63
|
+
}
|
|
64
|
+
)
|
|
65
|
+
]
|
|
66
|
+
})
|
|
67
|
+
);
|
|
68
|
+
});
|
|
69
|
+
|
|
70
|
+
export {
|
|
71
|
+
Fieldset
|
|
72
|
+
};
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AccordionContent
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-4M3GIRQZ.mjs";
|
|
4
4
|
import {
|
|
5
5
|
AccordionHeader
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-A6HNU42U.mjs";
|
|
7
7
|
import {
|
|
8
8
|
AccordionItem
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-VT7SFAQF.mjs";
|
|
10
10
|
import {
|
|
11
11
|
Accordion
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-5HF2PDRZ.mjs";
|
|
13
13
|
|
|
14
14
|
// src/accordion/index.tsx
|
|
15
15
|
import "@postenbring/hedwig-css/dist/fonts.css";
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
InputGroup
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-6KRJB36T.mjs";
|
|
4
4
|
import {
|
|
5
5
|
__objRest,
|
|
6
6
|
__spreadProps,
|
|
7
7
|
__spreadValues
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-FKR5F35B.mjs";
|
|
9
9
|
|
|
10
|
-
// src/select/select.tsx
|
|
10
|
+
// src/form/select/select.tsx
|
|
11
11
|
import { forwardRef } from "react";
|
|
12
12
|
import { clsx } from "@postenbring/hedwig-css/typed-classname/index.mjs";
|
|
13
13
|
import { jsx } from "react/jsx-runtime";
|
|
File without changes
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import {
|
|
2
|
+
__spreadProps,
|
|
3
|
+
__spreadValues
|
|
4
|
+
} from "./chunk-FKR5F35B.mjs";
|
|
5
|
+
|
|
6
|
+
// src/form/error-message/error-message.tsx
|
|
7
|
+
import { clsx } from "@postenbring/hedwig-css/typed-classname/index.mjs";
|
|
8
|
+
import { jsx } from "react/jsx-runtime";
|
|
9
|
+
function ErrorMessage({
|
|
10
|
+
children,
|
|
11
|
+
id,
|
|
12
|
+
className,
|
|
13
|
+
_unstableAriaLiveOnErrorMessage
|
|
14
|
+
}) {
|
|
15
|
+
return /* @__PURE__ */ jsx(
|
|
16
|
+
"div",
|
|
17
|
+
__spreadProps(__spreadValues({}, _unstableAriaLiveOnErrorMessage && {
|
|
18
|
+
"aria-live": "polite",
|
|
19
|
+
"aria-relevant": "additions removals"
|
|
20
|
+
}), {
|
|
21
|
+
className: clsx("hds-error-message", className),
|
|
22
|
+
id,
|
|
23
|
+
children
|
|
24
|
+
})
|
|
25
|
+
);
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
export {
|
|
29
|
+
ErrorMessage
|
|
30
|
+
};
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
InputGroup
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-6KRJB36T.mjs";
|
|
4
4
|
import {
|
|
5
5
|
__objRest,
|
|
6
6
|
__spreadProps,
|
|
7
7
|
__spreadValues
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-FKR5F35B.mjs";
|
|
9
9
|
|
|
10
|
-
// src/input/input.tsx
|
|
10
|
+
// src/form/input/input.tsx
|
|
11
11
|
import { forwardRef } from "react";
|
|
12
12
|
import { clsx } from "@postenbring/hedwig-css/typed-classname/index.mjs";
|
|
13
13
|
import { jsx } from "react/jsx-runtime";
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import {
|
|
2
|
-
Tabs
|
|
3
|
-
} from "./chunk-ZLCNSHLT.mjs";
|
|
4
1
|
import {
|
|
5
2
|
TabsContent,
|
|
6
3
|
TabsContents
|
|
7
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-UL2XL6BN.mjs";
|
|
8
5
|
import {
|
|
9
6
|
Tab,
|
|
10
7
|
TabsList
|
|
11
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-4LB35CUY.mjs";
|
|
9
|
+
import {
|
|
10
|
+
Tabs
|
|
11
|
+
} from "./chunk-C2VTAQEP.mjs";
|
|
12
12
|
|
|
13
13
|
// src/tabs/index.tsx
|
|
14
14
|
import "@postenbring/hedwig-css/dist/fonts.css";
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Box
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-3EENBGOV.mjs";
|
|
4
4
|
import {
|
|
5
5
|
__objRest,
|
|
6
6
|
__spreadProps,
|
|
7
7
|
__spreadValues
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-FKR5F35B.mjs";
|
|
9
9
|
|
|
10
10
|
// src/message/message.tsx
|
|
11
11
|
import { forwardRef } from "react";
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
UnorderedList
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-BEXOLUXV.mjs";
|
|
4
4
|
import {
|
|
5
5
|
__spreadProps,
|
|
6
6
|
__spreadValues
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-FKR5F35B.mjs";
|
|
8
8
|
|
|
9
9
|
// src/list/link-list.tsx
|
|
10
10
|
import { jsx } from "react/jsx-runtime";
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
|
+
import { ReactNode } from 'react';
|
|
3
|
+
|
|
4
|
+
interface ErrorMessageProps {
|
|
5
|
+
children: ReactNode;
|
|
6
|
+
id: string;
|
|
7
|
+
className?: string;
|
|
8
|
+
_unstableAriaLiveOnErrorMessage?: boolean;
|
|
9
|
+
}
|
|
10
|
+
declare function ErrorMessage({ children, id, className, _unstableAriaLiveOnErrorMessage, }: ErrorMessageProps): react_jsx_runtime.JSX.Element;
|
|
11
|
+
|
|
12
|
+
export { ErrorMessage, type ErrorMessageProps };
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
|
+
import { ReactNode } from 'react';
|
|
3
|
+
|
|
4
|
+
interface ErrorMessageProps {
|
|
5
|
+
children: ReactNode;
|
|
6
|
+
id: string;
|
|
7
|
+
className?: string;
|
|
8
|
+
_unstableAriaLiveOnErrorMessage?: boolean;
|
|
9
|
+
}
|
|
10
|
+
declare function ErrorMessage({ children, id, className, _unstableAriaLiveOnErrorMessage, }: ErrorMessageProps): react_jsx_runtime.JSX.Element;
|
|
11
|
+
|
|
12
|
+
export { ErrorMessage, type ErrorMessageProps };
|
|
@@ -0,0 +1,66 @@
|
|
|
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 __export = (target, all) => {
|
|
24
|
+
for (var name in all)
|
|
25
|
+
__defProp(target, name, { get: all[name], enumerable: true });
|
|
26
|
+
};
|
|
27
|
+
var __copyProps = (to, from, except, desc) => {
|
|
28
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
29
|
+
for (let key of __getOwnPropNames(from))
|
|
30
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
31
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
32
|
+
}
|
|
33
|
+
return to;
|
|
34
|
+
};
|
|
35
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
36
|
+
|
|
37
|
+
// src/form/error-message/error-message.tsx
|
|
38
|
+
var error_message_exports = {};
|
|
39
|
+
__export(error_message_exports, {
|
|
40
|
+
ErrorMessage: () => ErrorMessage
|
|
41
|
+
});
|
|
42
|
+
module.exports = __toCommonJS(error_message_exports);
|
|
43
|
+
var import_typed_classname = require("@postenbring/hedwig-css/typed-classname/index.mjs");
|
|
44
|
+
var import_jsx_runtime = require("react/jsx-runtime");
|
|
45
|
+
function ErrorMessage({
|
|
46
|
+
children,
|
|
47
|
+
id,
|
|
48
|
+
className,
|
|
49
|
+
_unstableAriaLiveOnErrorMessage
|
|
50
|
+
}) {
|
|
51
|
+
return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
|
|
52
|
+
"div",
|
|
53
|
+
__spreadProps(__spreadValues({}, _unstableAriaLiveOnErrorMessage && {
|
|
54
|
+
"aria-live": "polite",
|
|
55
|
+
"aria-relevant": "additions removals"
|
|
56
|
+
}), {
|
|
57
|
+
className: (0, import_typed_classname.clsx)("hds-error-message", className),
|
|
58
|
+
id,
|
|
59
|
+
children
|
|
60
|
+
})
|
|
61
|
+
);
|
|
62
|
+
}
|
|
63
|
+
// Annotate the CommonJS export names for ESM import in node:
|
|
64
|
+
0 && (module.exports = {
|
|
65
|
+
ErrorMessage
|
|
66
|
+
});
|
|
@@ -0,0 +1,72 @@
|
|
|
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 __export = (target, all) => {
|
|
24
|
+
for (var name in all)
|
|
25
|
+
__defProp(target, name, { get: all[name], enumerable: true });
|
|
26
|
+
};
|
|
27
|
+
var __copyProps = (to, from, except, desc) => {
|
|
28
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
29
|
+
for (let key of __getOwnPropNames(from))
|
|
30
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
31
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
32
|
+
}
|
|
33
|
+
return to;
|
|
34
|
+
};
|
|
35
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
36
|
+
|
|
37
|
+
// src/form/error-message/index.tsx
|
|
38
|
+
var error_message_exports = {};
|
|
39
|
+
__export(error_message_exports, {
|
|
40
|
+
ErrorMessage: () => ErrorMessage
|
|
41
|
+
});
|
|
42
|
+
module.exports = __toCommonJS(error_message_exports);
|
|
43
|
+
var import_fonts = require("@postenbring/hedwig-css/dist/fonts.css");
|
|
44
|
+
var import_tokens = require("@postenbring/hedwig-css/dist/tokens.css");
|
|
45
|
+
var import_body = require("@postenbring/hedwig-css/dist/body.css");
|
|
46
|
+
var import_error_message = require("@postenbring/hedwig-css/dist/error-message.css");
|
|
47
|
+
|
|
48
|
+
// src/form/error-message/error-message.tsx
|
|
49
|
+
var import_typed_classname = require("@postenbring/hedwig-css/typed-classname/index.mjs");
|
|
50
|
+
var import_jsx_runtime = require("react/jsx-runtime");
|
|
51
|
+
function ErrorMessage({
|
|
52
|
+
children,
|
|
53
|
+
id,
|
|
54
|
+
className,
|
|
55
|
+
_unstableAriaLiveOnErrorMessage
|
|
56
|
+
}) {
|
|
57
|
+
return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
|
|
58
|
+
"div",
|
|
59
|
+
__spreadProps(__spreadValues({}, _unstableAriaLiveOnErrorMessage && {
|
|
60
|
+
"aria-live": "polite",
|
|
61
|
+
"aria-relevant": "additions removals"
|
|
62
|
+
}), {
|
|
63
|
+
className: (0, import_typed_classname.clsx)("hds-error-message", className),
|
|
64
|
+
id,
|
|
65
|
+
children
|
|
66
|
+
})
|
|
67
|
+
);
|
|
68
|
+
}
|
|
69
|
+
// Annotate the CommonJS export names for ESM import in node:
|
|
70
|
+
0 && (module.exports = {
|
|
71
|
+
ErrorMessage
|
|
72
|
+
});
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import * as react from 'react';
|
|
2
|
+
import { FieldsetHTMLAttributes, CSSProperties, ReactNode, HTMLAttributes } from 'react';
|
|
3
|
+
|
|
4
|
+
interface FieldsetProps extends FieldsetHTMLAttributes<HTMLFieldSetElement> {
|
|
5
|
+
className?: string;
|
|
6
|
+
style?: CSSProperties;
|
|
7
|
+
errorMessage?: ReactNode;
|
|
8
|
+
legendProps?: HTMLAttributes<HTMLElement> & {
|
|
9
|
+
size: "default" | "large";
|
|
10
|
+
};
|
|
11
|
+
legend: ReactNode;
|
|
12
|
+
children: ReactNode;
|
|
13
|
+
_unstableAriaLiveOnErrorMessage?: boolean;
|
|
14
|
+
}
|
|
15
|
+
/**
|
|
16
|
+
* 🚨 WORK IN PROGRESS 🚨
|
|
17
|
+
*/
|
|
18
|
+
declare const Fieldset: react.ForwardRefExoticComponent<FieldsetProps & react.RefAttributes<HTMLFieldSetElement>>;
|
|
19
|
+
|
|
20
|
+
export { Fieldset, type FieldsetProps };
|