@postenbring/hedwig-react 0.0.63 → 0.0.64
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/_tsup-dts-rollup.d.mts +57 -0
- package/dist/_tsup-dts-rollup.d.ts +57 -0
- package/dist/{chunk-JMDXW2ML.mjs → chunk-625SVQEP.mjs} +33 -3
- package/dist/chunk-625SVQEP.mjs.map +1 -0
- package/dist/{chunk-Q6REETZD.mjs → chunk-AKYK3XFN.mjs} +2 -1
- package/dist/{chunk-Q6REETZD.mjs.map → chunk-AKYK3XFN.mjs.map} +1 -1
- package/dist/{chunk-OYJQ5MAS.mjs → chunk-BYDSISQZ.mjs} +26 -3
- package/dist/chunk-BYDSISQZ.mjs.map +1 -0
- package/dist/{chunk-VKRPPQ6F.mjs → chunk-H3VGHTDC.mjs} +4 -2
- package/dist/chunk-H3VGHTDC.mjs.map +1 -0
- package/dist/index-no-css.d.mts +1 -0
- package/dist/index-no-css.d.ts +1 -0
- package/dist/index-no-css.js +58 -4
- package/dist/index-no-css.js.map +1 -1
- package/dist/index-no-css.mjs +4 -4
- package/dist/index.d.mts +1 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.js +58 -4
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +4 -4
- package/dist/navbar/index.d.mts +1 -0
- package/dist/navbar/index.d.ts +1 -0
- package/dist/navbar/index.js +32 -2
- package/dist/navbar/index.js.map +1 -1
- package/dist/navbar/index.mjs +2 -2
- package/dist/navbar/navbar.d.mts +1 -0
- package/dist/navbar/navbar.d.ts +1 -0
- package/dist/navbar/navbar.js +33 -2
- package/dist/navbar/navbar.js.map +1 -1
- package/dist/navbar/navbar.mjs +3 -1
- package/dist/show-more/index.js +1 -0
- package/dist/show-more/index.js.map +1 -1
- package/dist/show-more/index.mjs +1 -1
- package/dist/skeleton/index.js +25 -2
- package/dist/skeleton/index.js.map +1 -1
- package/dist/skeleton/index.mjs +1 -1
- package/dist/skeleton/skeleton.js +25 -2
- package/dist/skeleton/skeleton.js.map +1 -1
- package/dist/skeleton/skeleton.mjs +1 -1
- package/dist/utilities/auto-animate-height.js +1 -0
- package/dist/utilities/auto-animate-height.js.map +1 -1
- package/dist/utilities/auto-animate-height.mjs +1 -1
- package/dist/utilities/index.js +1 -0
- package/dist/utilities/index.js.map +1 -1
- package/dist/utilities/index.mjs +1 -1
- package/package.json +5 -4
- package/dist/chunk-JMDXW2ML.mjs.map +0 -1
- package/dist/chunk-OYJQ5MAS.mjs.map +0 -1
- package/dist/chunk-VKRPPQ6F.mjs.map +0 -1
package/dist/index-no-css.mjs
CHANGED
|
@@ -37,9 +37,9 @@ import {
|
|
|
37
37
|
import "./chunk-POJTVNEO.mjs";
|
|
38
38
|
import {
|
|
39
39
|
NavbarComponent
|
|
40
|
-
} from "./chunk-
|
|
40
|
+
} from "./chunk-H3VGHTDC.mjs";
|
|
41
41
|
import "./chunk-2E6XPNPX.mjs";
|
|
42
|
-
import "./chunk-
|
|
42
|
+
import "./chunk-625SVQEP.mjs";
|
|
43
43
|
import "./chunk-MGUYIOP2.mjs";
|
|
44
44
|
import {
|
|
45
45
|
CardComponent
|
|
@@ -135,7 +135,7 @@ import {
|
|
|
135
135
|
import "./chunk-JTZPQHKD.mjs";
|
|
136
136
|
import {
|
|
137
137
|
Skeleton
|
|
138
|
-
} from "./chunk-
|
|
138
|
+
} from "./chunk-BYDSISQZ.mjs";
|
|
139
139
|
import "./chunk-TJH5QJMS.mjs";
|
|
140
140
|
import {
|
|
141
141
|
StepIndicator
|
|
@@ -148,7 +148,7 @@ import "./chunk-33JD5XDW.mjs";
|
|
|
148
148
|
import "./chunk-DZNH5JHY.mjs";
|
|
149
149
|
import {
|
|
150
150
|
AutoAnimateHeight
|
|
151
|
-
} from "./chunk-
|
|
151
|
+
} from "./chunk-AKYK3XFN.mjs";
|
|
152
152
|
import "./chunk-R4SQKVDQ.mjs";
|
|
153
153
|
export {
|
|
154
154
|
AccordionComponent as Accordion,
|
package/dist/index.d.mts
CHANGED
|
@@ -72,6 +72,7 @@ export { ModalFooter_alias_1 as ModalFooter } from './_tsup-dts-rollup';
|
|
|
72
72
|
export { Navbar_alias_1 as Navbar } from './_tsup-dts-rollup';
|
|
73
73
|
export { NavbarProps_alias_1 as NavbarProps } from './_tsup-dts-rollup';
|
|
74
74
|
export { NavbarLogo_alias_1 as NavbarLogo } from './_tsup-dts-rollup';
|
|
75
|
+
export { NavbarLogoAndServiceText_alias_1 as NavbarLogoAndServiceText } from './_tsup-dts-rollup';
|
|
75
76
|
export { NavbarButton_alias_1 as NavbarButton } from './_tsup-dts-rollup';
|
|
76
77
|
export { NavbarNavigation_alias_1 as NavbarNavigation } from './_tsup-dts-rollup';
|
|
77
78
|
export { AutoAnimateHeight_alias_1 as AutoAnimateHeight } from './_tsup-dts-rollup';
|
package/dist/index.d.ts
CHANGED
|
@@ -72,6 +72,7 @@ export { ModalFooter_alias_1 as ModalFooter } from './_tsup-dts-rollup';
|
|
|
72
72
|
export { Navbar_alias_1 as Navbar } from './_tsup-dts-rollup';
|
|
73
73
|
export { NavbarProps_alias_1 as NavbarProps } from './_tsup-dts-rollup';
|
|
74
74
|
export { NavbarLogo_alias_1 as NavbarLogo } from './_tsup-dts-rollup';
|
|
75
|
+
export { NavbarLogoAndServiceText_alias_1 as NavbarLogoAndServiceText } from './_tsup-dts-rollup';
|
|
75
76
|
export { NavbarButton_alias_1 as NavbarButton } from './_tsup-dts-rollup';
|
|
76
77
|
export { NavbarNavigation_alias_1 as NavbarNavigation } from './_tsup-dts-rollup';
|
|
77
78
|
export { AutoAnimateHeight_alias_1 as AutoAnimateHeight } from './_tsup-dts-rollup';
|
package/dist/index.js
CHANGED
|
@@ -1257,11 +1257,20 @@ ModalComponent.Footer = ModalFooter;
|
|
|
1257
1257
|
// src/navbar/navbar.tsx
|
|
1258
1258
|
var import_react22 = require("react");
|
|
1259
1259
|
var import_typed_classname25 = require("@postenbring/hedwig-css/typed-classname");
|
|
1260
|
+
var import_react_slot = require("@radix-ui/react-slot");
|
|
1260
1261
|
var import_jsx_runtime26 = require("react/jsx-runtime");
|
|
1261
1262
|
var Navbar = (0, import_react22.forwardRef)(
|
|
1262
1263
|
(_a, ref) => {
|
|
1263
|
-
var _b = _a, { children, className } = _b, rest = __objRest(_b, ["children", "className"]);
|
|
1264
|
-
return /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(
|
|
1264
|
+
var _b = _a, { children, className, variant } = _b, rest = __objRest(_b, ["children", "className", "variant"]);
|
|
1265
|
+
return /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(
|
|
1266
|
+
"header",
|
|
1267
|
+
__spreadProps(__spreadValues({
|
|
1268
|
+
className: (0, import_typed_classname25.clsx)("hds-navbar", variant && `hds-navbar--${variant}`, className),
|
|
1269
|
+
ref
|
|
1270
|
+
}, rest), {
|
|
1271
|
+
children
|
|
1272
|
+
})
|
|
1273
|
+
);
|
|
1265
1274
|
}
|
|
1266
1275
|
);
|
|
1267
1276
|
Navbar.displayName = "Navbar";
|
|
@@ -1272,6 +1281,26 @@ var NavbarLogo = (0, import_react22.forwardRef)(
|
|
|
1272
1281
|
}
|
|
1273
1282
|
);
|
|
1274
1283
|
NavbarLogo.displayName = "Navbar.Logo";
|
|
1284
|
+
var NavbarLogoAndServiceText = (0, import_react22.forwardRef)(
|
|
1285
|
+
(_a, ref) => {
|
|
1286
|
+
var _b = _a, { children, asChild, variant, className } = _b, rest = __objRest(_b, ["children", "asChild", "variant", "className"]);
|
|
1287
|
+
const Component = asChild ? import_react_slot.Slot : "div";
|
|
1288
|
+
return /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(
|
|
1289
|
+
Component,
|
|
1290
|
+
__spreadProps(__spreadValues({
|
|
1291
|
+
ref,
|
|
1292
|
+
className: (0, import_typed_classname25.clsx)(
|
|
1293
|
+
"hds-navbar__logo-and-service-text",
|
|
1294
|
+
`hds-navbar__logo-and-service-text--${variant}`,
|
|
1295
|
+
className
|
|
1296
|
+
)
|
|
1297
|
+
}, rest), {
|
|
1298
|
+
children
|
|
1299
|
+
})
|
|
1300
|
+
);
|
|
1301
|
+
}
|
|
1302
|
+
);
|
|
1303
|
+
NavbarLogoAndServiceText.displayName = "Navbar.NavbarLogoAndText";
|
|
1275
1304
|
var NavbarButton = (0, import_react22.forwardRef)(
|
|
1276
1305
|
(_a, ref) => {
|
|
1277
1306
|
var _b = _a, { as: Component = "button", children, icon, className } = _b, rest = __objRest(_b, ["as", "children", "icon", "className"]);
|
|
@@ -1489,6 +1518,7 @@ NavbarExpandableMenuComponent.Trigger = NavbarExpandableMenuTrigger;
|
|
|
1489
1518
|
NavbarExpandableMenuComponent.Content = NavbarExpandableMenuContent;
|
|
1490
1519
|
var NavbarComponent = Navbar;
|
|
1491
1520
|
NavbarComponent.Logo = NavbarLogo;
|
|
1521
|
+
NavbarComponent.LogoAndServiceText = NavbarLogoAndServiceText;
|
|
1492
1522
|
NavbarComponent.ExpandableMenu = NavbarExpandableMenuComponent;
|
|
1493
1523
|
NavbarComponent.Button = NavbarButton;
|
|
1494
1524
|
NavbarComponent.Navigation = NavbarNavigation;
|
|
@@ -1549,6 +1579,7 @@ var AutoAnimateHeight = (0, import_react24.forwardRef)(
|
|
|
1549
1579
|
__spreadProps(__spreadValues({
|
|
1550
1580
|
ref,
|
|
1551
1581
|
style: __spreadValues({
|
|
1582
|
+
position: "relative",
|
|
1552
1583
|
overflow: "hidden",
|
|
1553
1584
|
height,
|
|
1554
1585
|
transitionProperty: "height",
|
|
@@ -1613,11 +1644,34 @@ var import_react26 = require("react");
|
|
|
1613
1644
|
var import_jsx_runtime31 = require("react/jsx-runtime");
|
|
1614
1645
|
var Skeleton = (0, import_react26.forwardRef)(
|
|
1615
1646
|
(_a, ref) => {
|
|
1616
|
-
var _b = _a, {
|
|
1647
|
+
var _b = _a, {
|
|
1648
|
+
as: Component = "div",
|
|
1649
|
+
children,
|
|
1650
|
+
animation,
|
|
1651
|
+
variant = "text",
|
|
1652
|
+
width,
|
|
1653
|
+
height,
|
|
1654
|
+
className,
|
|
1655
|
+
style
|
|
1656
|
+
} = _b, rest = __objRest(_b, [
|
|
1657
|
+
"as",
|
|
1658
|
+
"children",
|
|
1659
|
+
"animation",
|
|
1660
|
+
"variant",
|
|
1661
|
+
"width",
|
|
1662
|
+
"height",
|
|
1663
|
+
"className",
|
|
1664
|
+
"style"
|
|
1665
|
+
]);
|
|
1617
1666
|
return /* @__PURE__ */ (0, import_jsx_runtime31.jsx)(
|
|
1618
1667
|
Component,
|
|
1619
1668
|
__spreadProps(__spreadValues({
|
|
1620
|
-
className: (0, import_typed_classname28.clsx)(
|
|
1669
|
+
className: (0, import_typed_classname28.clsx)(
|
|
1670
|
+
"hds-skeleton",
|
|
1671
|
+
`hds-skeleton--${variant}`,
|
|
1672
|
+
!animation && `hds-skeleton--no-animation`,
|
|
1673
|
+
className
|
|
1674
|
+
),
|
|
1621
1675
|
style: __spreadProps(__spreadValues({}, style), { width, height }),
|
|
1622
1676
|
ref,
|
|
1623
1677
|
"aria-hidden": true
|