@postenbring/hedwig-react 0.0.0-FPfHEZ66-tabs-component-20231214140156

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 (154) hide show
  1. package/dist/accordion/accordion-item-content.d.mts +9 -0
  2. package/dist/accordion/accordion-item-content.d.ts +9 -0
  3. package/dist/accordion/accordion-item-content.js +97 -0
  4. package/dist/accordion/accordion-item-content.mjs +8 -0
  5. package/dist/accordion/accordion-item-trigger.d.mts +9 -0
  6. package/dist/accordion/accordion-item-trigger.d.ts +9 -0
  7. package/dist/accordion/accordion-item-trigger.js +121 -0
  8. package/dist/accordion/accordion-item-trigger.mjs +8 -0
  9. package/dist/accordion/accordion-item.d.mts +15 -0
  10. package/dist/accordion/accordion-item.d.ts +15 -0
  11. package/dist/accordion/accordion-item.js +115 -0
  12. package/dist/accordion/accordion-item.mjs +8 -0
  13. package/dist/accordion/accordion.d.mts +28 -0
  14. package/dist/accordion/accordion.d.ts +28 -0
  15. package/dist/accordion/accordion.js +92 -0
  16. package/dist/accordion/accordion.mjs +8 -0
  17. package/dist/accordion/index.d.mts +6 -0
  18. package/dist/accordion/index.d.ts +6 -0
  19. package/dist/accordion/index.js +227 -0
  20. package/dist/accordion/index.mjs +21 -0
  21. package/dist/badge/badge.d.mts +28 -0
  22. package/dist/badge/badge.d.ts +28 -0
  23. package/dist/badge/badge.js +109 -0
  24. package/dist/badge/badge.mjs +13 -0
  25. package/dist/badge/index.d.mts +3 -0
  26. package/dist/badge/index.d.ts +3 -0
  27. package/dist/badge/index.js +115 -0
  28. package/dist/badge/index.mjs +14 -0
  29. package/dist/box/box.d.mts +36 -0
  30. package/dist/box/box.d.ts +36 -0
  31. package/dist/box/box.js +130 -0
  32. package/dist/box/box.mjs +9 -0
  33. package/dist/box/index.d.mts +3 -0
  34. package/dist/box/index.d.ts +3 -0
  35. package/dist/box/index.js +136 -0
  36. package/dist/box/index.mjs +10 -0
  37. package/dist/breadcrumb/breadcrumb.d.mts +43 -0
  38. package/dist/breadcrumb/breadcrumb.d.ts +43 -0
  39. package/dist/breadcrumb/breadcrumb.js +52 -0
  40. package/dist/breadcrumb/breadcrumb.mjs +7 -0
  41. package/dist/breadcrumb/index.d.mts +3 -0
  42. package/dist/breadcrumb/index.d.ts +3 -0
  43. package/dist/breadcrumb/index.js +58 -0
  44. package/dist/breadcrumb/index.mjs +8 -0
  45. package/dist/button/button.d.mts +37 -0
  46. package/dist/button/button.d.ts +37 -0
  47. package/dist/button/button.js +124 -0
  48. package/dist/button/button.mjs +11 -0
  49. package/dist/button/index.d.mts +3 -0
  50. package/dist/button/index.d.ts +3 -0
  51. package/dist/button/index.js +130 -0
  52. package/dist/button/index.mjs +12 -0
  53. package/dist/chunk-2QSL2PSS.mjs +63 -0
  54. package/dist/chunk-2V6SWZ5G.mjs +16 -0
  55. package/dist/chunk-3VUAKZB2.mjs +48 -0
  56. package/dist/chunk-5OAMKZDX.mjs +6 -0
  57. package/dist/chunk-6XSKLHN6.mjs +49 -0
  58. package/dist/chunk-74UG2OYZ.mjs +111 -0
  59. package/dist/chunk-7SCOBRDZ.mjs +5 -0
  60. package/dist/chunk-AJBQ2EJU.mjs +5 -0
  61. package/dist/chunk-BRBGRJ2I.mjs +18 -0
  62. package/dist/chunk-ENRMC5K7.mjs +75 -0
  63. package/dist/chunk-FSBY3NKV.mjs +47 -0
  64. package/dist/chunk-FUJQIYOF.mjs +37 -0
  65. package/dist/chunk-GMGUONH5.mjs +34 -0
  66. package/dist/chunk-HMESGVY5.mjs +21 -0
  67. package/dist/chunk-IEY4EQ4E.mjs +5 -0
  68. package/dist/chunk-J7U4Z726.mjs +39 -0
  69. package/dist/chunk-L7DYK6OS.mjs +58 -0
  70. package/dist/chunk-LNPO2XQW.mjs +5 -0
  71. package/dist/chunk-LZSDIT5D.mjs +5 -0
  72. package/dist/chunk-MNSMCSAR.mjs +59 -0
  73. package/dist/chunk-Q2HYT3Z7.mjs +16 -0
  74. package/dist/chunk-QV33ZHNO.mjs +60 -0
  75. package/dist/chunk-RXUPE4MM.mjs +82 -0
  76. package/dist/chunk-RY53CJI7.mjs +53 -0
  77. package/dist/chunk-TES7CVGU.mjs +34 -0
  78. package/dist/chunk-TFY7NZMU.mjs +5 -0
  79. package/dist/chunk-VX6MSLLO.mjs +5 -0
  80. package/dist/chunk-X4D24ZRP.mjs +63 -0
  81. package/dist/chunk-XJ44O3HY.mjs +58 -0
  82. package/dist/chunk-YFBW5ZRC.mjs +18 -0
  83. package/dist/chunk-YRAMCYSB.mjs +5 -0
  84. package/dist/dropdown/dropdown.d.mts +15 -0
  85. package/dist/dropdown/dropdown.d.ts +15 -0
  86. package/dist/dropdown/dropdown.js +95 -0
  87. package/dist/dropdown/dropdown.mjs +7 -0
  88. package/dist/dropdown/index.d.mts +3 -0
  89. package/dist/dropdown/index.d.ts +3 -0
  90. package/dist/dropdown/index.js +101 -0
  91. package/dist/dropdown/index.mjs +8 -0
  92. package/dist/index.d.mts +21 -0
  93. package/dist/index.d.ts +21 -0
  94. package/dist/index.js +944 -0
  95. package/dist/index.mjs +114 -0
  96. package/dist/input/index.d.mts +3 -0
  97. package/dist/input/index.d.ts +3 -0
  98. package/dist/input/index.js +121 -0
  99. package/dist/input/index.mjs +13 -0
  100. package/dist/input/input.d.mts +13 -0
  101. package/dist/input/input.d.ts +13 -0
  102. package/dist/input/input.js +115 -0
  103. package/dist/input/input.mjs +7 -0
  104. package/dist/link/index.d.mts +3 -0
  105. package/dist/link/index.d.ts +3 -0
  106. package/dist/link/index.js +87 -0
  107. package/dist/link/index.mjs +8 -0
  108. package/dist/link/link.d.mts +18 -0
  109. package/dist/link/link.d.ts +18 -0
  110. package/dist/link/link.js +81 -0
  111. package/dist/link/link.mjs +7 -0
  112. package/dist/list/description-list.d.mts +32 -0
  113. package/dist/list/description-list.d.ts +32 -0
  114. package/dist/list/description-list.js +98 -0
  115. package/dist/list/description-list.mjs +13 -0
  116. package/dist/list/index.d.mts +5 -0
  117. package/dist/list/index.d.ts +5 -0
  118. package/dist/list/index.js +159 -0
  119. package/dist/list/index.mjs +22 -0
  120. package/dist/list/link-list.d.mts +13 -0
  121. package/dist/list/link-list.d.ts +13 -0
  122. package/dist/list/link-list.js +108 -0
  123. package/dist/list/link-list.mjs +8 -0
  124. package/dist/list/list.d.mts +25 -0
  125. package/dist/list/list.d.ts +25 -0
  126. package/dist/list/list.js +101 -0
  127. package/dist/list/list.mjs +9 -0
  128. package/dist/message/index.d.mts +16 -0
  129. package/dist/message/index.d.ts +16 -0
  130. package/dist/message/index.js +197 -0
  131. package/dist/message/index.mjs +14 -0
  132. package/dist/message/message.d.mts +18 -0
  133. package/dist/message/message.d.ts +18 -0
  134. package/dist/message/message.js +183 -0
  135. package/dist/message/message.mjs +12 -0
  136. package/dist/modal/index.d.mts +9 -0
  137. package/dist/modal/index.d.ts +9 -0
  138. package/dist/modal/index.js +218 -0
  139. package/dist/modal/index.mjs +13 -0
  140. package/dist/modal/modal.d.mts +13 -0
  141. package/dist/modal/modal.d.ts +13 -0
  142. package/dist/modal/modal.js +206 -0
  143. package/dist/modal/modal.mjs +11 -0
  144. package/dist/tabs/index.d.mts +4 -0
  145. package/dist/tabs/index.d.ts +4 -0
  146. package/dist/tabs/index.js +202 -0
  147. package/dist/tabs/index.mjs +17 -0
  148. package/dist/tabs/tabs.d.mts +49 -0
  149. package/dist/tabs/tabs.d.ts +49 -0
  150. package/dist/tabs/tabs.js +196 -0
  151. package/dist/tabs/tabs.mjs +16 -0
  152. package/dist/utils-BfZsjuFH.d.mts +17 -0
  153. package/dist/utils-BfZsjuFH.d.ts +17 -0
  154. package/package.json +34 -0
@@ -0,0 +1,16 @@
1
+ import * as React from 'react';
2
+ import { MessageProps, MessageTitle, MessageDescription } from './message.mjs';
3
+ import '../utils-BfZsjuFH.mjs';
4
+ import '../box/box.mjs';
5
+
6
+ declare const MessageComponent: {
7
+ (props: MessageProps & React.RefAttributes<HTMLDivElement>): React.ReactNode;
8
+ <As extends React.ElementType>(props: {
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" | "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
+ } & Pick<React.FC, "displayName"> & {
12
+ Title: typeof MessageTitle;
13
+ Description: typeof MessageDescription;
14
+ };
15
+
16
+ export { MessageComponent as Message, MessageDescription, MessageTitle };
@@ -0,0 +1,16 @@
1
+ import * as React from 'react';
2
+ import { MessageProps, MessageTitle, MessageDescription } from './message.js';
3
+ import '../utils-BfZsjuFH.js';
4
+ import '../box/box.js';
5
+
6
+ declare const MessageComponent: {
7
+ (props: MessageProps & React.RefAttributes<HTMLDivElement>): React.ReactNode;
8
+ <As extends React.ElementType>(props: {
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" | "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
+ } & Pick<React.FC, "displayName"> & {
12
+ Title: typeof MessageTitle;
13
+ Description: typeof MessageDescription;
14
+ };
15
+
16
+ export { MessageComponent as Message, MessageDescription, MessageTitle };
@@ -0,0 +1,197 @@
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/message/index.tsx
50
+ var message_exports = {};
51
+ __export(message_exports, {
52
+ Message: () => MessageComponent,
53
+ MessageDescription: () => MessageDescription,
54
+ MessageTitle: () => MessageTitle
55
+ });
56
+ module.exports = __toCommonJS(message_exports);
57
+ var import_fonts = require("@postenbring/hedwig-css/dist/fonts.css");
58
+ var import_tokens = require("@postenbring/hedwig-css/dist/tokens.css");
59
+ var import_body = require("@postenbring/hedwig-css/dist/body.css");
60
+ var import_box2 = require("@postenbring/hedwig-css/dist/box.css");
61
+ var import_message = require("@postenbring/hedwig-css/dist/message.css");
62
+
63
+ // src/message/message.tsx
64
+ var import_react2 = require("react");
65
+ var import_typed_classname2 = require("@postenbring/hedwig-css/typed-classname/index.mjs");
66
+
67
+ // src/box/box.tsx
68
+ var import_react = require("react");
69
+ var import_typed_classname = require("@postenbring/hedwig-css/typed-classname/index.mjs");
70
+ var import_jsx_runtime = require("react/jsx-runtime");
71
+ var Box = (0, import_react.forwardRef)(
72
+ (_a, ref) => {
73
+ var _b = _a, {
74
+ as: Component = "div",
75
+ variant = "light-grey",
76
+ closeable = false,
77
+ onClose: onCloseProp,
78
+ closed: closedProp,
79
+ closeButtonProps,
80
+ children,
81
+ className
82
+ } = _b, rest = __objRest(_b, [
83
+ "as",
84
+ "variant",
85
+ "closeable",
86
+ "onClose",
87
+ "closed",
88
+ "closeButtonProps",
89
+ "children",
90
+ "className"
91
+ ]);
92
+ const [closedState, setClosedState] = (0, import_react.useState)(false);
93
+ const onClose = (0, import_react.useCallback)(() => {
94
+ if (onCloseProp) {
95
+ const result = onCloseProp();
96
+ if (result === true) {
97
+ setClosedState(true);
98
+ }
99
+ } else {
100
+ setClosedState(true);
101
+ }
102
+ }, []);
103
+ const closed = closedProp != null ? closedProp : closedState;
104
+ return /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(
105
+ Component,
106
+ __spreadProps(__spreadValues({
107
+ className: (0, import_typed_classname.clsx)(
108
+ "hds-box",
109
+ `hds-box--${variant}`,
110
+ { "hds-box--closed": closed },
111
+ className
112
+ ),
113
+ ref
114
+ }, rest), {
115
+ children: [
116
+ closeable ? /* @__PURE__ */ (0, import_jsx_runtime.jsx)(BoxCloseButton, __spreadValues({ onClick: onClose }, closeButtonProps)) : null,
117
+ children
118
+ ]
119
+ })
120
+ );
121
+ }
122
+ );
123
+ Box.displayName = "Box";
124
+ var BoxCloseButton = (0, import_react.forwardRef)(
125
+ (_a, ref) => {
126
+ var _b = _a, { className } = _b, rest = __objRest(_b, ["className"]);
127
+ return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
128
+ "button",
129
+ __spreadValues({
130
+ className: (0, import_typed_classname.clsx)("hds-box__close-button", className),
131
+ ref,
132
+ type: "button"
133
+ }, rest)
134
+ );
135
+ }
136
+ );
137
+ BoxCloseButton.displayName = "BoxCloseButton";
138
+
139
+ // src/message/message.tsx
140
+ var import_jsx_runtime2 = require("react/jsx-runtime");
141
+ var Message = (0, import_react2.forwardRef)(
142
+ (_a, ref) => {
143
+ var _b = _a, { children, className, variant = "success", icon, iconClassName } = _b, rest = __objRest(_b, ["children", "className", "variant", "icon", "iconClassName"]);
144
+ return /* @__PURE__ */ (0, import_jsx_runtime2.jsxs)(
145
+ Box,
146
+ __spreadProps(__spreadValues({
147
+ className: (0, import_typed_classname2.clsx)(`hds-message`, `hds-message--${variant}`, className),
148
+ ref
149
+ }, rest), {
150
+ children: [
151
+ variant === "neutral" && /* @__PURE__ */ (0, import_jsx_runtime2.jsx)("div", { className: (0, import_typed_classname2.clsx)("hds-message--neutral__icon", iconClassName), children: icon }),
152
+ children
153
+ ]
154
+ })
155
+ );
156
+ }
157
+ );
158
+ Message.displayName = "Message";
159
+ var MessageTitle = (0, import_react2.forwardRef)(
160
+ (_a, ref) => {
161
+ var _b = _a, { as: Component = "p", className } = _b, rest = __objRest(_b, ["as", "className"]);
162
+ return /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(
163
+ Component,
164
+ __spreadValues({
165
+ className: (0, import_typed_classname2.clsx)("hds-message__title", className),
166
+ ref
167
+ }, rest)
168
+ );
169
+ }
170
+ );
171
+ MessageTitle.displayName = "MessageTitle";
172
+ var MessageDescription = (0, import_react2.forwardRef)(
173
+ (_a, ref) => {
174
+ var _b = _a, { as: Component = "p", className } = _b, rest = __objRest(_b, ["as", "className"]);
175
+ return /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(
176
+ Component,
177
+ __spreadValues({
178
+ className: (0, import_typed_classname2.clsx)("hds-message__description", className),
179
+ ref
180
+ }, rest)
181
+ );
182
+ }
183
+ );
184
+ MessageDescription.displayName = "MessageDescription";
185
+
186
+ // src/message/index.tsx
187
+ var MessageComponent = Message;
188
+ MessageComponent.Title = MessageTitle;
189
+ MessageComponent.Description = MessageDescription;
190
+ MessageComponent.Title.displayName = "Message";
191
+ MessageComponent.Description.displayName = "Message";
192
+ // Annotate the CommonJS export names for ESM import in node:
193
+ 0 && (module.exports = {
194
+ Message,
195
+ MessageDescription,
196
+ MessageTitle
197
+ });
@@ -0,0 +1,14 @@
1
+ import {
2
+ MessageComponent
3
+ } from "../chunk-HMESGVY5.mjs";
4
+ import {
5
+ MessageDescription,
6
+ MessageTitle
7
+ } from "../chunk-X4D24ZRP.mjs";
8
+ import "../chunk-RXUPE4MM.mjs";
9
+ import "../chunk-FUJQIYOF.mjs";
10
+ export {
11
+ MessageComponent as Message,
12
+ MessageDescription,
13
+ MessageTitle
14
+ };
@@ -0,0 +1,18 @@
1
+ import React__default from 'react';
2
+ import { O as OverridableComponent } from '../utils-BfZsjuFH.mjs';
3
+ import { BoxProps } from '../box/box.mjs';
4
+
5
+ type MessageProps = ({
6
+ variant?: "success" | "attention" | "warning";
7
+ icon?: never;
8
+ iconClassName?: never;
9
+ } | {
10
+ variant: "neutral";
11
+ icon?: React__default.ReactNode;
12
+ iconClassName?: string;
13
+ }) & Omit<BoxProps, "variant">;
14
+ declare const Message: OverridableComponent<MessageProps, HTMLDivElement>;
15
+ declare const MessageTitle: OverridableComponent<object, HTMLParagraphElement>;
16
+ declare const MessageDescription: OverridableComponent<object, HTMLParagraphElement>;
17
+
18
+ export { Message, MessageDescription, type MessageProps, MessageTitle };
@@ -0,0 +1,18 @@
1
+ import React__default from 'react';
2
+ import { O as OverridableComponent } from '../utils-BfZsjuFH.js';
3
+ import { BoxProps } from '../box/box.js';
4
+
5
+ type MessageProps = ({
6
+ variant?: "success" | "attention" | "warning";
7
+ icon?: never;
8
+ iconClassName?: never;
9
+ } | {
10
+ variant: "neutral";
11
+ icon?: React__default.ReactNode;
12
+ iconClassName?: string;
13
+ }) & Omit<BoxProps, "variant">;
14
+ declare const Message: OverridableComponent<MessageProps, HTMLDivElement>;
15
+ declare const MessageTitle: OverridableComponent<object, HTMLParagraphElement>;
16
+ declare const MessageDescription: OverridableComponent<object, HTMLParagraphElement>;
17
+
18
+ export { Message, MessageDescription, type MessageProps, MessageTitle };
@@ -0,0 +1,183 @@
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/message/message.tsx
50
+ var message_exports = {};
51
+ __export(message_exports, {
52
+ Message: () => Message,
53
+ MessageDescription: () => MessageDescription,
54
+ MessageTitle: () => MessageTitle
55
+ });
56
+ module.exports = __toCommonJS(message_exports);
57
+ var import_react2 = require("react");
58
+ var import_typed_classname2 = require("@postenbring/hedwig-css/typed-classname/index.mjs");
59
+
60
+ // src/box/box.tsx
61
+ var import_react = require("react");
62
+ var import_typed_classname = require("@postenbring/hedwig-css/typed-classname/index.mjs");
63
+ var import_jsx_runtime = require("react/jsx-runtime");
64
+ var Box = (0, import_react.forwardRef)(
65
+ (_a, ref) => {
66
+ var _b = _a, {
67
+ as: Component = "div",
68
+ variant = "light-grey",
69
+ closeable = false,
70
+ onClose: onCloseProp,
71
+ closed: closedProp,
72
+ closeButtonProps,
73
+ children,
74
+ className
75
+ } = _b, rest = __objRest(_b, [
76
+ "as",
77
+ "variant",
78
+ "closeable",
79
+ "onClose",
80
+ "closed",
81
+ "closeButtonProps",
82
+ "children",
83
+ "className"
84
+ ]);
85
+ const [closedState, setClosedState] = (0, import_react.useState)(false);
86
+ const onClose = (0, import_react.useCallback)(() => {
87
+ if (onCloseProp) {
88
+ const result = onCloseProp();
89
+ if (result === true) {
90
+ setClosedState(true);
91
+ }
92
+ } else {
93
+ setClosedState(true);
94
+ }
95
+ }, []);
96
+ const closed = closedProp != null ? closedProp : closedState;
97
+ return /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(
98
+ Component,
99
+ __spreadProps(__spreadValues({
100
+ className: (0, import_typed_classname.clsx)(
101
+ "hds-box",
102
+ `hds-box--${variant}`,
103
+ { "hds-box--closed": closed },
104
+ className
105
+ ),
106
+ ref
107
+ }, rest), {
108
+ children: [
109
+ closeable ? /* @__PURE__ */ (0, import_jsx_runtime.jsx)(BoxCloseButton, __spreadValues({ onClick: onClose }, closeButtonProps)) : null,
110
+ children
111
+ ]
112
+ })
113
+ );
114
+ }
115
+ );
116
+ Box.displayName = "Box";
117
+ var BoxCloseButton = (0, import_react.forwardRef)(
118
+ (_a, ref) => {
119
+ var _b = _a, { className } = _b, rest = __objRest(_b, ["className"]);
120
+ return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
121
+ "button",
122
+ __spreadValues({
123
+ className: (0, import_typed_classname.clsx)("hds-box__close-button", className),
124
+ ref,
125
+ type: "button"
126
+ }, rest)
127
+ );
128
+ }
129
+ );
130
+ BoxCloseButton.displayName = "BoxCloseButton";
131
+
132
+ // src/message/message.tsx
133
+ var import_jsx_runtime2 = require("react/jsx-runtime");
134
+ var Message = (0, import_react2.forwardRef)(
135
+ (_a, ref) => {
136
+ var _b = _a, { children, className, variant = "success", icon, iconClassName } = _b, rest = __objRest(_b, ["children", "className", "variant", "icon", "iconClassName"]);
137
+ return /* @__PURE__ */ (0, import_jsx_runtime2.jsxs)(
138
+ Box,
139
+ __spreadProps(__spreadValues({
140
+ className: (0, import_typed_classname2.clsx)(`hds-message`, `hds-message--${variant}`, className),
141
+ ref
142
+ }, rest), {
143
+ children: [
144
+ variant === "neutral" && /* @__PURE__ */ (0, import_jsx_runtime2.jsx)("div", { className: (0, import_typed_classname2.clsx)("hds-message--neutral__icon", iconClassName), children: icon }),
145
+ children
146
+ ]
147
+ })
148
+ );
149
+ }
150
+ );
151
+ Message.displayName = "Message";
152
+ var MessageTitle = (0, import_react2.forwardRef)(
153
+ (_a, ref) => {
154
+ var _b = _a, { as: Component = "p", className } = _b, rest = __objRest(_b, ["as", "className"]);
155
+ return /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(
156
+ Component,
157
+ __spreadValues({
158
+ className: (0, import_typed_classname2.clsx)("hds-message__title", className),
159
+ ref
160
+ }, rest)
161
+ );
162
+ }
163
+ );
164
+ MessageTitle.displayName = "MessageTitle";
165
+ var MessageDescription = (0, import_react2.forwardRef)(
166
+ (_a, ref) => {
167
+ var _b = _a, { as: Component = "p", className } = _b, rest = __objRest(_b, ["as", "className"]);
168
+ return /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(
169
+ Component,
170
+ __spreadValues({
171
+ className: (0, import_typed_classname2.clsx)("hds-message__description", className),
172
+ ref
173
+ }, rest)
174
+ );
175
+ }
176
+ );
177
+ MessageDescription.displayName = "MessageDescription";
178
+ // Annotate the CommonJS export names for ESM import in node:
179
+ 0 && (module.exports = {
180
+ Message,
181
+ MessageDescription,
182
+ MessageTitle
183
+ });
@@ -0,0 +1,12 @@
1
+ import {
2
+ Message,
3
+ MessageDescription,
4
+ MessageTitle
5
+ } from "../chunk-X4D24ZRP.mjs";
6
+ import "../chunk-RXUPE4MM.mjs";
7
+ import "../chunk-FUJQIYOF.mjs";
8
+ export {
9
+ Message,
10
+ MessageDescription,
11
+ MessageTitle
12
+ };
@@ -0,0 +1,9 @@
1
+ import * as React from 'react';
2
+ import { ModalProps, ModalHeader } from './modal.mjs';
3
+ import '../utils-BfZsjuFH.mjs';
4
+
5
+ declare const ModalComponent: React.ForwardRefExoticComponent<ModalProps & React.RefAttributes<HTMLDialogElement>> & {
6
+ Header: typeof ModalHeader;
7
+ };
8
+
9
+ export { ModalComponent as Modal, ModalHeader };
@@ -0,0 +1,9 @@
1
+ import * as React from 'react';
2
+ import { ModalProps, ModalHeader } from './modal.js';
3
+ import '../utils-BfZsjuFH.js';
4
+
5
+ declare const ModalComponent: React.ForwardRefExoticComponent<ModalProps & React.RefAttributes<HTMLDialogElement>> & {
6
+ Header: typeof ModalHeader;
7
+ };
8
+
9
+ export { ModalComponent as Modal, ModalHeader };