@postenbring/hedwig-react 0.0.38 → 0.0.39

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.
Files changed (86) hide show
  1. package/dist/accordion/accordion-content.js +1 -1
  2. package/dist/accordion/accordion-content.mjs +1 -1
  3. package/dist/accordion/accordion-item.js +1 -1
  4. package/dist/accordion/accordion-item.mjs +1 -1
  5. package/dist/accordion/accordion-trigger.js +1 -1
  6. package/dist/accordion/accordion-trigger.mjs +1 -1
  7. package/dist/accordion/index.d.mts +4 -1
  8. package/dist/accordion/index.d.ts +4 -1
  9. package/dist/accordion/index.js +5 -14
  10. package/dist/accordion/index.mjs +5 -14
  11. package/dist/box/box.js +1 -1
  12. package/dist/box/box.mjs +1 -1
  13. package/dist/box/index.d.mts +14 -2
  14. package/dist/box/index.d.ts +14 -2
  15. package/dist/box/index.js +7 -5
  16. package/dist/box/index.mjs +4 -6
  17. package/dist/button/index.js +0 -2
  18. package/dist/button/index.mjs +0 -2
  19. package/dist/card/index.js +2 -20
  20. package/dist/card/index.mjs +3 -22
  21. package/dist/{chunk-TUJCKNKR.mjs → chunk-2QZF65FK.mjs} +1 -2
  22. package/dist/{chunk-6XSKLHN6.mjs → chunk-3JNHAMRV.mjs} +1 -16
  23. package/dist/{chunk-GXKTHQ37.mjs → chunk-4WI2BHHB.mjs} +1 -1
  24. package/dist/{chunk-VLMLWQKD.mjs → chunk-BHNQPMEB.mjs} +3 -3
  25. package/dist/chunk-BSX4IA3X.mjs +26 -0
  26. package/dist/{chunk-AJBQ2EJU.mjs → chunk-E2GAXTBX.mjs} +11 -0
  27. package/dist/{chunk-YPD2CH5T.mjs → chunk-G3JPULGO.mjs} +4 -4
  28. package/dist/{chunk-4RBJ5GJR.mjs → chunk-GRO36EUL.mjs} +7 -7
  29. package/dist/{chunk-RIID2NGR.mjs → chunk-GSYDQFIT.mjs} +3 -6
  30. package/dist/{chunk-C2SDDGHL.mjs → chunk-JKZ3OR7W.mjs} +1 -1
  31. package/dist/{chunk-5MNVIJJ2.mjs → chunk-MER2HJBC.mjs} +1 -3
  32. package/dist/{chunk-SQULBVH7.mjs → chunk-OB6UNSKV.mjs} +2 -2
  33. package/dist/{chunk-SWZLMDKJ.mjs → chunk-WTMT5WCJ.mjs} +1 -1
  34. package/dist/{chunk-QZIJ2OXE.mjs → chunk-WYPGZY5Q.mjs} +3 -3
  35. package/dist/{chunk-L7DYK6OS.mjs → chunk-XAIX3HTW.mjs} +1 -1
  36. package/dist/index.d.mts +15 -13
  37. package/dist/index.d.ts +15 -13
  38. package/dist/index.js +31 -82
  39. package/dist/index.mjs +23 -77
  40. package/dist/layout/index.d.mts +1 -1
  41. package/dist/layout/index.d.ts +1 -1
  42. package/dist/list/description-list.d.mts +30 -14
  43. package/dist/list/description-list.d.ts +30 -14
  44. package/dist/list/description-list.js +2 -21
  45. package/dist/list/description-list.mjs +3 -9
  46. package/dist/list/index.d.mts +1 -1
  47. package/dist/list/index.d.ts +1 -1
  48. package/dist/list/index.js +0 -14
  49. package/dist/list/index.mjs +2 -6
  50. package/dist/message/index.d.mts +1 -1
  51. package/dist/message/index.d.ts +1 -1
  52. package/dist/message/index.js +5 -11
  53. package/dist/message/index.mjs +4 -9
  54. package/dist/message/message.js +3 -3
  55. package/dist/message/message.mjs +2 -2
  56. package/dist/modal/index.d.mts +1 -1
  57. package/dist/modal/index.d.ts +1 -1
  58. package/dist/modal/index.js +4 -7
  59. package/dist/modal/index.mjs +4 -7
  60. package/dist/modal/modal.js +2 -2
  61. package/dist/modal/modal.mjs +2 -2
  62. package/dist/navbar/index.d.mts +1 -1
  63. package/dist/navbar/index.d.ts +1 -1
  64. package/dist/prose/prose.d.mts +38 -0
  65. package/dist/prose/prose.d.ts +38 -0
  66. package/dist/prose/prose.js +81 -0
  67. package/dist/prose/prose.mjs +33 -0
  68. package/dist/tabs/index.d.mts +20 -4
  69. package/dist/tabs/index.d.ts +20 -4
  70. package/dist/tabs/index.js +16 -17
  71. package/dist/tabs/index.mjs +6 -16
  72. package/dist/tabs/tabs-content.d.mts +6 -6
  73. package/dist/tabs/tabs-content.d.ts +6 -6
  74. package/dist/tabs/tabs-content.js +9 -9
  75. package/dist/tabs/tabs-content.mjs +5 -5
  76. package/dist/tabs/tabs-list.d.mts +3 -3
  77. package/dist/tabs/tabs-list.d.ts +3 -3
  78. package/dist/tabs/tabs-list.js +5 -5
  79. package/dist/tabs/tabs-list.mjs +3 -3
  80. package/dist/warning-banner/index.js +6 -2
  81. package/dist/warning-banner/index.mjs +3 -3
  82. package/dist/warning-banner/warning-banner.js +6 -2
  83. package/dist/warning-banner/warning-banner.mjs +3 -3
  84. package/package.json +2 -2
  85. package/dist/chunk-BKXVC23Y.mjs +0 -5
  86. /package/dist/{chunk-ZYLTRW56.mjs → chunk-KOXEIUCU.mjs} +0 -0
@@ -1,6 +1,22 @@
1
- export { Tabs, TabsProps } from './tabs.mjs';
2
- export { Tab, TabList, TabListProps, TabProps } from './tabs-list.mjs';
3
- export { TabContent, TabContentProps, TabContents, TabContentsProps } from './tabs-content.mjs';
4
- import 'react';
1
+ import * as react from 'react';
2
+ import { TabsProps } from './tabs.mjs';
3
+ import { TabsList, Tab } from './tabs-list.mjs';
4
+ export { TabListProps, TabProps } from './tabs-list.mjs';
5
+ import { TabsContents, TabsContent } from './tabs-content.mjs';
6
+ export { TabContentsProps, TabsContentProps } from './tabs-content.mjs';
5
7
  import '../utils-BfZsjuFH.mjs';
6
8
  import 'react/jsx-runtime';
9
+
10
+ declare const TabsComponent: {
11
+ (props: TabsProps & react.RefAttributes<HTMLDivElement>): react.ReactNode;
12
+ <As extends react.ElementType>(props: {
13
+ as?: As | undefined;
14
+ } & TabsProps & Omit<react.ComponentPropsWithRef<As>, keyof TabsProps>): react.ReactNode;
15
+ } & Pick<react.FC, "displayName"> & {
16
+ List: typeof TabsList;
17
+ Tab: typeof Tab;
18
+ Contents: typeof TabsContents;
19
+ Content: typeof TabsContent;
20
+ };
21
+
22
+ export { Tab, TabsComponent as Tabs, TabsContent, TabsContents, TabsList, TabsProps };
@@ -1,6 +1,22 @@
1
- export { Tabs, TabsProps } from './tabs.js';
2
- export { Tab, TabList, TabListProps, TabProps } from './tabs-list.js';
3
- export { TabContent, TabContentProps, TabContents, TabContentsProps } from './tabs-content.js';
4
- import 'react';
1
+ import * as react from 'react';
2
+ import { TabsProps } from './tabs.js';
3
+ import { TabsList, Tab } from './tabs-list.js';
4
+ export { TabListProps, TabProps } from './tabs-list.js';
5
+ import { TabsContents, TabsContent } from './tabs-content.js';
6
+ export { TabContentsProps, TabsContentProps } from './tabs-content.js';
5
7
  import '../utils-BfZsjuFH.js';
6
8
  import 'react/jsx-runtime';
9
+
10
+ declare const TabsComponent: {
11
+ (props: TabsProps & react.RefAttributes<HTMLDivElement>): react.ReactNode;
12
+ <As extends react.ElementType>(props: {
13
+ as?: As | undefined;
14
+ } & TabsProps & Omit<react.ComponentPropsWithRef<As>, keyof TabsProps>): react.ReactNode;
15
+ } & Pick<react.FC, "displayName"> & {
16
+ List: typeof TabsList;
17
+ Tab: typeof Tab;
18
+ Contents: typeof TabsContents;
19
+ Content: typeof TabsContent;
20
+ };
21
+
22
+ export { Tab, TabsComponent as Tabs, TabsContent, TabsContents, TabsList, TabsProps };
@@ -59,11 +59,7 @@ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: tru
59
59
  // src/tabs/index.tsx
60
60
  var tabs_exports = {};
61
61
  __export(tabs_exports, {
62
- Tab: () => Tab,
63
- TabContent: () => TabContent,
64
- TabContents: () => TabContents,
65
- TabList: () => TabList,
66
- Tabs: () => Tabs
62
+ Tabs: () => TabsComponent
67
63
  });
68
64
  module.exports = __toCommonJS(tabs_exports);
69
65
  var import_fonts = require("@postenbring/hedwig-css/dist/fonts.css");
@@ -135,7 +131,7 @@ function useResize(ref) {
135
131
 
136
132
  // src/tabs/tabs-list.tsx
137
133
  var import_jsx_runtime2 = require("react/jsx-runtime");
138
- function TabList(_a) {
134
+ function TabsList(_a) {
139
135
  var _b = _a, { children, direction = "horizontal", className } = _b, rest = __objRest(_b, ["children", "direction", "className"]);
140
136
  const tabsListRef = (0, import_react4.useRef)(null);
141
137
  const { width: tabsWidth } = useResize(tabsListRef);
@@ -161,7 +157,7 @@ function TabList(_a) {
161
157
  })
162
158
  );
163
159
  }
164
- TabList.displayName = "TabList";
160
+ TabsList.displayName = "Tabs.List";
165
161
  var Tab = (0, import_react4.forwardRef)(
166
162
  (_a, ref) => {
167
163
  var _b = _a, { as: Component = "button", children, tabId, className, onClick } = _b, rest = __objRest(_b, ["as", "children", "tabId", "className", "onClick"]);
@@ -192,23 +188,23 @@ var Tab = (0, import_react4.forwardRef)(
192
188
  );
193
189
  }
194
190
  );
195
- Tab.displayName = "Tab";
191
+ Tab.displayName = "Tabs.Tab";
196
192
 
197
193
  // src/tabs/tabs-content.tsx
198
194
  var import_react5 = require("react");
199
195
  var import_typed_classname3 = require("@postenbring/hedwig-css/typed-classname/index.mjs");
200
196
  var import_jsx_runtime3 = require("react/jsx-runtime");
201
- function TabContents(_a) {
197
+ function TabsContents(_a) {
202
198
  var _b = _a, { children } = _b, rest = __objRest(_b, ["children"]);
203
199
  return /* @__PURE__ */ (0, import_jsx_runtime3.jsx)("div", __spreadProps(__spreadValues({ className: (0, import_typed_classname3.clsx)("hds-tabs--contents") }, rest), { children }));
204
200
  }
205
- TabContents.displayName = "TabContents";
206
- var TabContent = (0, import_react5.forwardRef)(
201
+ TabsContents.displayName = "Tabs.Contents";
202
+ var TabsContent = (0, import_react5.forwardRef)(
207
203
  (_a, ref) => {
208
204
  var _b = _a, { as: Component = "div", forTabId, children } = _b, rest = __objRest(_b, ["as", "forTabId", "children"]);
209
205
  const context = (0, import_react5.useContext)(TabsContext);
210
206
  if (!context.mounted) {
211
- throw new Error("Context required. Did you use <TabContent/> outside of <Tabs/>?");
207
+ throw new Error("Context required. Did you use <Tabs.Content /> outside of <Tabs/>?");
212
208
  }
213
209
  if (context.activeTabId === forTabId) {
214
210
  return /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(Component, __spreadProps(__spreadValues({}, rest), { ref, children }));
@@ -216,12 +212,15 @@ var TabContent = (0, import_react5.forwardRef)(
216
212
  return null;
217
213
  }
218
214
  );
219
- TabContent.displayName = "TabContent";
215
+ TabsContent.displayName = "Tabs.Content";
216
+
217
+ // src/tabs/index.tsx
218
+ var TabsComponent = Tabs;
219
+ TabsComponent.List = TabsList;
220
+ TabsComponent.Tab = Tab;
221
+ TabsComponent.Contents = TabsContents;
222
+ TabsComponent.Content = TabsContent;
220
223
  // Annotate the CommonJS export names for ESM import in node:
221
224
  0 && (module.exports = {
222
- Tab,
223
- TabContent,
224
- TabContents,
225
- TabList,
226
225
  Tabs
227
226
  });
@@ -1,22 +1,12 @@
1
- import "../chunk-BKXVC23Y.mjs";
2
1
  import {
3
- TabContent,
4
- TabContents
5
- } from "../chunk-4RBJ5GJR.mjs";
6
- import {
7
- Tab,
8
- TabList
9
- } from "../chunk-YPD2CH5T.mjs";
10
- import {
11
- Tabs
12
- } from "../chunk-ZLCNSHLT.mjs";
2
+ TabsComponent
3
+ } from "../chunk-BSX4IA3X.mjs";
4
+ import "../chunk-GRO36EUL.mjs";
5
+ import "../chunk-G3JPULGO.mjs";
6
+ import "../chunk-ZLCNSHLT.mjs";
13
7
  import "../chunk-4ZM45P62.mjs";
14
8
  import "../chunk-FSBY3NKV.mjs";
15
9
  import "../chunk-FUJQIYOF.mjs";
16
10
  export {
17
- Tab,
18
- TabContent,
19
- TabContents,
20
- TabList,
21
- Tabs
11
+ TabsComponent as Tabs
22
12
  };
@@ -3,19 +3,19 @@ import { HTMLAttributes, ReactElement } from 'react';
3
3
  import { O as OverridableComponent } from '../utils-BfZsjuFH.mjs';
4
4
 
5
5
  interface TabContentsProps extends HTMLAttributes<HTMLDivElement> {
6
- children: ReactElement<TabContentProps> | ReactElement<TabContentProps>[];
6
+ children: ReactElement<TabsContentProps> | ReactElement<TabsContentProps>[];
7
7
  }
8
- declare function TabContents({ children, ...rest }: TabContentsProps): react_jsx_runtime.JSX.Element;
9
- declare namespace TabContents {
8
+ declare function TabsContents({ children, ...rest }: TabContentsProps): react_jsx_runtime.JSX.Element;
9
+ declare namespace TabsContents {
10
10
  var displayName: string;
11
11
  }
12
- interface TabContentProps extends HTMLAttributes<HTMLElement> {
12
+ interface TabsContentProps extends HTMLAttributes<HTMLElement> {
13
13
  children: ReactElement<HTMLElement> | ReactElement<HTMLElement>[] | string;
14
14
  /**
15
15
  * Content for the referenced tabId
16
16
  */
17
17
  forTabId: string;
18
18
  }
19
- declare const TabContent: OverridableComponent<TabContentProps, HTMLElement>;
19
+ declare const TabsContent: OverridableComponent<TabsContentProps, HTMLElement>;
20
20
 
21
- export { TabContent, type TabContentProps, TabContents, type TabContentsProps };
21
+ export { type TabContentsProps, TabsContent, type TabsContentProps, TabsContents };
@@ -3,19 +3,19 @@ import { HTMLAttributes, ReactElement } from 'react';
3
3
  import { O as OverridableComponent } from '../utils-BfZsjuFH.js';
4
4
 
5
5
  interface TabContentsProps extends HTMLAttributes<HTMLDivElement> {
6
- children: ReactElement<TabContentProps> | ReactElement<TabContentProps>[];
6
+ children: ReactElement<TabsContentProps> | ReactElement<TabsContentProps>[];
7
7
  }
8
- declare function TabContents({ children, ...rest }: TabContentsProps): react_jsx_runtime.JSX.Element;
9
- declare namespace TabContents {
8
+ declare function TabsContents({ children, ...rest }: TabContentsProps): react_jsx_runtime.JSX.Element;
9
+ declare namespace TabsContents {
10
10
  var displayName: string;
11
11
  }
12
- interface TabContentProps extends HTMLAttributes<HTMLElement> {
12
+ interface TabsContentProps extends HTMLAttributes<HTMLElement> {
13
13
  children: ReactElement<HTMLElement> | ReactElement<HTMLElement>[] | string;
14
14
  /**
15
15
  * Content for the referenced tabId
16
16
  */
17
17
  forTabId: string;
18
18
  }
19
- declare const TabContent: OverridableComponent<TabContentProps, HTMLElement>;
19
+ declare const TabsContent: OverridableComponent<TabsContentProps, HTMLElement>;
20
20
 
21
- export { TabContent, type TabContentProps, TabContents, type TabContentsProps };
21
+ export { type TabContentsProps, TabsContent, type TabsContentProps, TabsContents };
@@ -49,8 +49,8 @@ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: tru
49
49
  // src/tabs/tabs-content.tsx
50
50
  var tabs_content_exports = {};
51
51
  __export(tabs_content_exports, {
52
- TabContent: () => TabContent,
53
- TabContents: () => TabContents
52
+ TabsContent: () => TabsContent,
53
+ TabsContents: () => TabsContents
54
54
  });
55
55
  module.exports = __toCommonJS(tabs_content_exports);
56
56
  var import_react2 = require("react");
@@ -68,17 +68,17 @@ var TabsContext = (0, import_react.createContext)({
68
68
 
69
69
  // src/tabs/tabs-content.tsx
70
70
  var import_jsx_runtime = require("react/jsx-runtime");
71
- function TabContents(_a) {
71
+ function TabsContents(_a) {
72
72
  var _b = _a, { children } = _b, rest = __objRest(_b, ["children"]);
73
73
  return /* @__PURE__ */ (0, import_jsx_runtime.jsx)("div", __spreadProps(__spreadValues({ className: (0, import_typed_classname.clsx)("hds-tabs--contents") }, rest), { children }));
74
74
  }
75
- TabContents.displayName = "TabContents";
76
- var TabContent = (0, import_react2.forwardRef)(
75
+ TabsContents.displayName = "Tabs.Contents";
76
+ var TabsContent = (0, import_react2.forwardRef)(
77
77
  (_a, ref) => {
78
78
  var _b = _a, { as: Component = "div", forTabId, children } = _b, rest = __objRest(_b, ["as", "forTabId", "children"]);
79
79
  const context = (0, import_react2.useContext)(TabsContext);
80
80
  if (!context.mounted) {
81
- throw new Error("Context required. Did you use <TabContent/> outside of <Tabs/>?");
81
+ throw new Error("Context required. Did you use <Tabs.Content /> outside of <Tabs/>?");
82
82
  }
83
83
  if (context.activeTabId === forTabId) {
84
84
  return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(Component, __spreadProps(__spreadValues({}, rest), { ref, children }));
@@ -86,9 +86,9 @@ var TabContent = (0, import_react2.forwardRef)(
86
86
  return null;
87
87
  }
88
88
  );
89
- TabContent.displayName = "TabContent";
89
+ TabsContent.displayName = "Tabs.Content";
90
90
  // Annotate the CommonJS export names for ESM import in node:
91
91
  0 && (module.exports = {
92
- TabContent,
93
- TabContents
92
+ TabsContent,
93
+ TabsContents
94
94
  });
@@ -1,10 +1,10 @@
1
1
  import {
2
- TabContent,
3
- TabContents
4
- } from "../chunk-4RBJ5GJR.mjs";
2
+ TabsContent,
3
+ TabsContents
4
+ } from "../chunk-GRO36EUL.mjs";
5
5
  import "../chunk-4ZM45P62.mjs";
6
6
  import "../chunk-FUJQIYOF.mjs";
7
7
  export {
8
- TabContent,
9
- TabContents
8
+ TabsContent,
9
+ TabsContents
10
10
  };
@@ -10,8 +10,8 @@ interface TabListProps extends HTMLAttributes<HTMLDivElement> {
10
10
  */
11
11
  direction?: "vertical" | "horizontal";
12
12
  }
13
- declare function TabList({ children, direction, className, ...rest }: TabListProps): react_jsx_runtime.JSX.Element;
14
- declare namespace TabList {
13
+ declare function TabsList({ children, direction, className, ...rest }: TabListProps): react_jsx_runtime.JSX.Element;
14
+ declare namespace TabsList {
15
15
  var displayName: string;
16
16
  }
17
17
  interface TabProps extends HTMLAttributes<HTMLButtonElement> {
@@ -23,4 +23,4 @@ interface TabProps extends HTMLAttributes<HTMLButtonElement> {
23
23
  }
24
24
  declare const Tab: OverridableComponent<TabProps, HTMLButtonElement>;
25
25
 
26
- export { Tab, TabList, type TabListProps, type TabProps };
26
+ export { Tab, type TabListProps, type TabProps, TabsList };
@@ -10,8 +10,8 @@ interface TabListProps extends HTMLAttributes<HTMLDivElement> {
10
10
  */
11
11
  direction?: "vertical" | "horizontal";
12
12
  }
13
- declare function TabList({ children, direction, className, ...rest }: TabListProps): react_jsx_runtime.JSX.Element;
14
- declare namespace TabList {
13
+ declare function TabsList({ children, direction, className, ...rest }: TabListProps): react_jsx_runtime.JSX.Element;
14
+ declare namespace TabsList {
15
15
  var displayName: string;
16
16
  }
17
17
  interface TabProps extends HTMLAttributes<HTMLButtonElement> {
@@ -23,4 +23,4 @@ interface TabProps extends HTMLAttributes<HTMLButtonElement> {
23
23
  }
24
24
  declare const Tab: OverridableComponent<TabProps, HTMLButtonElement>;
25
25
 
26
- export { Tab, TabList, type TabListProps, type TabProps };
26
+ export { Tab, type TabListProps, type TabProps, TabsList };
@@ -60,7 +60,7 @@ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: tru
60
60
  var tabs_list_exports = {};
61
61
  __export(tabs_list_exports, {
62
62
  Tab: () => Tab,
63
- TabList: () => TabList
63
+ TabsList: () => TabsList
64
64
  });
65
65
  module.exports = __toCommonJS(tabs_list_exports);
66
66
  var import_react3 = require("react");
@@ -105,7 +105,7 @@ var TabsContext = (0, import_react2.createContext)({
105
105
 
106
106
  // src/tabs/tabs-list.tsx
107
107
  var import_jsx_runtime = require("react/jsx-runtime");
108
- function TabList(_a) {
108
+ function TabsList(_a) {
109
109
  var _b = _a, { children, direction = "horizontal", className } = _b, rest = __objRest(_b, ["children", "direction", "className"]);
110
110
  const tabsListRef = (0, import_react3.useRef)(null);
111
111
  const { width: tabsWidth } = useResize(tabsListRef);
@@ -131,7 +131,7 @@ function TabList(_a) {
131
131
  })
132
132
  );
133
133
  }
134
- TabList.displayName = "TabList";
134
+ TabsList.displayName = "Tabs.List";
135
135
  var Tab = (0, import_react3.forwardRef)(
136
136
  (_a, ref) => {
137
137
  var _b = _a, { as: Component = "button", children, tabId, className, onClick } = _b, rest = __objRest(_b, ["as", "children", "tabId", "className", "onClick"]);
@@ -162,9 +162,9 @@ var Tab = (0, import_react3.forwardRef)(
162
162
  );
163
163
  }
164
164
  );
165
- Tab.displayName = "Tab";
165
+ Tab.displayName = "Tabs.Tab";
166
166
  // Annotate the CommonJS export names for ESM import in node:
167
167
  0 && (module.exports = {
168
168
  Tab,
169
- TabList
169
+ TabsList
170
170
  });
@@ -1,11 +1,11 @@
1
1
  import {
2
2
  Tab,
3
- TabList
4
- } from "../chunk-YPD2CH5T.mjs";
3
+ TabsList
4
+ } from "../chunk-G3JPULGO.mjs";
5
5
  import "../chunk-4ZM45P62.mjs";
6
6
  import "../chunk-FSBY3NKV.mjs";
7
7
  import "../chunk-FUJQIYOF.mjs";
8
8
  export {
9
9
  Tab,
10
- TabList
10
+ TabsList
11
11
  };
@@ -137,7 +137,11 @@ var BoxCloseButton = (0, import_react.forwardRef)(
137
137
  );
138
138
  }
139
139
  );
140
- BoxCloseButton.displayName = "BoxCloseButton";
140
+ BoxCloseButton.displayName = "Box.CloseButton";
141
+
142
+ // src/box/index.tsx
143
+ var BoxComponent = Box;
144
+ BoxComponent.CloseButton = BoxCloseButton;
141
145
 
142
146
  // src/warning-banner/warning-banner.tsx
143
147
  var import_jsx_runtime2 = require("react/jsx-runtime");
@@ -145,7 +149,7 @@ var WarningBanner = (0, import_react2.forwardRef)(
145
149
  (_a, ref) => {
146
150
  var _b = _a, { title, description, className } = _b, rest = __objRest(_b, ["title", "description", "className"]);
147
151
  const expandable = !!description;
148
- return /* @__PURE__ */ (0, import_jsx_runtime2.jsxs)(Box, __spreadProps(__spreadValues({}, rest), { className: (0, import_typed_classname2.clsx)("hds-warning-banner", className), ref, children: [
152
+ return /* @__PURE__ */ (0, import_jsx_runtime2.jsxs)(BoxComponent, __spreadProps(__spreadValues({}, rest), { className: (0, import_typed_classname2.clsx)("hds-warning-banner", className), ref, children: [
149
153
  /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(WarningBannerTitle, { variant: expandable ? "expandable" : "default", children: title }),
150
154
  expandable ? /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(WarningBannerDescription, { children: description }) : null
151
155
  ] }));
@@ -1,9 +1,9 @@
1
1
  import "../chunk-K2HIKZ7F.mjs";
2
2
  import {
3
3
  WarningBanner
4
- } from "../chunk-VLMLWQKD.mjs";
5
- import "../chunk-AJBQ2EJU.mjs";
6
- import "../chunk-SWZLMDKJ.mjs";
4
+ } from "../chunk-BHNQPMEB.mjs";
5
+ import "../chunk-E2GAXTBX.mjs";
6
+ import "../chunk-WTMT5WCJ.mjs";
7
7
  import "../chunk-FUJQIYOF.mjs";
8
8
  export {
9
9
  WarningBanner
@@ -131,7 +131,11 @@ var BoxCloseButton = (0, import_react.forwardRef)(
131
131
  );
132
132
  }
133
133
  );
134
- BoxCloseButton.displayName = "BoxCloseButton";
134
+ BoxCloseButton.displayName = "Box.CloseButton";
135
+
136
+ // src/box/index.tsx
137
+ var BoxComponent = Box;
138
+ BoxComponent.CloseButton = BoxCloseButton;
135
139
 
136
140
  // src/warning-banner/warning-banner.tsx
137
141
  var import_jsx_runtime2 = require("react/jsx-runtime");
@@ -139,7 +143,7 @@ var WarningBanner = (0, import_react2.forwardRef)(
139
143
  (_a, ref) => {
140
144
  var _b = _a, { title, description, className } = _b, rest = __objRest(_b, ["title", "description", "className"]);
141
145
  const expandable = !!description;
142
- return /* @__PURE__ */ (0, import_jsx_runtime2.jsxs)(Box, __spreadProps(__spreadValues({}, rest), { className: (0, import_typed_classname2.clsx)("hds-warning-banner", className), ref, children: [
146
+ return /* @__PURE__ */ (0, import_jsx_runtime2.jsxs)(BoxComponent, __spreadProps(__spreadValues({}, rest), { className: (0, import_typed_classname2.clsx)("hds-warning-banner", className), ref, children: [
143
147
  /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(WarningBannerTitle, { variant: expandable ? "expandable" : "default", children: title }),
144
148
  expandable ? /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(WarningBannerDescription, { children: description }) : null
145
149
  ] }));
@@ -1,8 +1,8 @@
1
1
  import {
2
2
  WarningBanner
3
- } from "../chunk-VLMLWQKD.mjs";
4
- import "../chunk-AJBQ2EJU.mjs";
5
- import "../chunk-SWZLMDKJ.mjs";
3
+ } from "../chunk-BHNQPMEB.mjs";
4
+ import "../chunk-E2GAXTBX.mjs";
5
+ import "../chunk-WTMT5WCJ.mjs";
6
6
  import "../chunk-FUJQIYOF.mjs";
7
7
  export {
8
8
  WarningBanner
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@postenbring/hedwig-react",
3
- "version": "0.0.38",
3
+ "version": "0.0.39",
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.36"
22
+ "@postenbring/hedwig-css": "0.0.37"
23
23
  },
24
24
  "publishConfig": {
25
25
  "access": "public"
@@ -1,5 +0,0 @@
1
- // src/tabs/index.tsx
2
- import "@postenbring/hedwig-css/dist/fonts.css";
3
- import "@postenbring/hedwig-css/dist/tokens.css";
4
- import "@postenbring/hedwig-css/dist/body.css";
5
- import "@postenbring/hedwig-css/dist/tabs.css";
File without changes