@digigov/ui 0.27.0 → 0.28.0

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 (175) hide show
  1. package/CHANGELOG.md +19 -1
  2. package/admin/Drawer/__stories__/Default.js +1 -1
  3. package/admin/Dropdown/__stories__/AlignRight.js +3 -3
  4. package/admin/Dropdown/__stories__/Default.js +3 -3
  5. package/admin/Dropdown/__stories__/PlacementTop.js +3 -3
  6. package/admin/Modal/Modal.stories.playwright.json +2 -2
  7. package/admin/Modal/__stories__/AlertDialog.js +2 -6
  8. package/admin/Modal/__stories__/AlertDialog.test.d.ts +1 -0
  9. package/admin/Modal/__stories__/AlertDialog.test.js +60 -0
  10. package/admin/Modal/__stories__/Default.js +1 -1
  11. package/app/Header/HeaderLogo.d.ts +2 -2
  12. package/app/Header/HeaderLogo.js +19 -19
  13. package/app/Header/HeaderSection.d.ts +2 -4
  14. package/app/Header/HeaderSection.js +20 -10
  15. package/app/Header/HeaderTitle.d.ts +2 -4
  16. package/app/Header/HeaderTitle.js +19 -19
  17. package/app/Header/index.d.ts +2 -4
  18. package/app/Header/index.js +21 -13
  19. package/app/PageTitle.js +1 -1
  20. package/core/Accordion/index.d.ts +1 -1
  21. package/core/Accordion/index.js +25 -8
  22. package/core/Blockquote/index.d.ts +2 -2
  23. package/core/Blockquote/index.js +19 -18
  24. package/core/Button/BackLink.d.ts +3 -0
  25. package/core/Button/BackLink.js +30 -0
  26. package/core/Button/ButtonLink.d.ts +3 -4
  27. package/core/Button/ButtonLink.js +20 -18
  28. package/core/Button/CallToAction.d.ts +2 -6
  29. package/core/Button/CallToAction.js +18 -29
  30. package/core/Button/ThemeToggleButton.d.ts +0 -2
  31. package/core/Button/ThemeToggleButton.js +16 -0
  32. package/core/Button/index.d.ts +3 -4
  33. package/core/Button/index.js +23 -27
  34. package/core/Divider/index.d.ts +3 -3
  35. package/core/Divider/index.js +4 -4
  36. package/core/Masthead/__stories__/Default.js +3 -1
  37. package/core/NotificationBanner/index.js +3 -11
  38. package/core/SectionBreak/index.d.ts +3 -0
  39. package/core/SectionBreak/index.js +30 -0
  40. package/core/index.d.ts +1 -0
  41. package/core/index.js +14 -0
  42. package/es/admin/Drawer/__stories__/Default.js +1 -1
  43. package/es/admin/Dropdown/__stories__/AlignRight.js +1 -1
  44. package/es/admin/Dropdown/__stories__/Default.js +1 -1
  45. package/es/admin/Dropdown/__stories__/PlacementTop.js +1 -1
  46. package/es/admin/Modal/Modal.stories.playwright.json +2 -2
  47. package/es/admin/Modal/__stories__/AlertDialog.js +2 -6
  48. package/es/admin/Modal/__stories__/AlertDialog.test.js +53 -0
  49. package/es/admin/Modal/__stories__/Default.js +1 -1
  50. package/es/app/Header/HeaderLogo.js +2 -16
  51. package/es/app/Header/HeaderSection.js +2 -6
  52. package/es/app/Header/HeaderTitle.js +2 -16
  53. package/es/app/Header/index.js +2 -6
  54. package/es/app/PageTitle.js +1 -1
  55. package/es/core/Accordion/index.js +1 -5
  56. package/es/core/Blockquote/index.js +2 -15
  57. package/es/core/Button/BackLink.js +3 -0
  58. package/es/core/Button/ButtonLink.js +3 -16
  59. package/es/core/Button/CallToAction.js +2 -26
  60. package/es/core/Button/ThemeToggleButton.js +18 -2
  61. package/es/core/Button/index.js +4 -22
  62. package/es/core/Divider/index.js +2 -2
  63. package/es/core/Masthead/__stories__/Default.js +3 -1
  64. package/es/core/NotificationBanner/index.js +2 -10
  65. package/es/core/SectionBreak/index.js +3 -0
  66. package/es/core/index.js +1 -0
  67. package/es/layouts/Basic/Aside/index.js +3 -0
  68. package/es/layouts/Basic/Container/index.js +3 -0
  69. package/es/registry.js +12 -0
  70. package/es/typography/Caption/index.js +1 -1
  71. package/es/typography/Heading/Heading.stories.js +6 -0
  72. package/es/typography/Heading/__stories__/Default.js +24 -0
  73. package/es/typography/Heading/index.js +3 -0
  74. package/es/typography/Heading/index.mdx +12 -0
  75. package/es/typography/HeadingCaption/HeadingCaption.stories.js +7 -0
  76. package/es/typography/HeadingCaption/__stories__/Default.js +35 -0
  77. package/es/typography/HeadingCaption/__stories__/NestedToTitle.js +15 -0
  78. package/es/typography/HeadingCaption/index.js +3 -0
  79. package/es/typography/HeadingCaption/index.mdx +16 -0
  80. package/es/typography/NormalText/index.js +1 -1
  81. package/es/typography/Paragraph/index.js +1 -0
  82. package/es/typography/Title/index.js +1 -1
  83. package/esm/admin/Drawer/__stories__/Default.js +1 -1
  84. package/esm/admin/Dropdown/__stories__/AlignRight.js +1 -1
  85. package/esm/admin/Dropdown/__stories__/Default.js +1 -1
  86. package/esm/admin/Dropdown/__stories__/PlacementTop.js +1 -1
  87. package/esm/admin/Modal/Modal.stories.playwright.json +2 -2
  88. package/esm/admin/Modal/__stories__/AlertDialog.js +2 -6
  89. package/esm/admin/Modal/__stories__/AlertDialog.test.js +53 -0
  90. package/esm/admin/Modal/__stories__/Default.js +1 -1
  91. package/esm/app/Header/HeaderLogo.js +2 -16
  92. package/esm/app/Header/HeaderSection.js +2 -6
  93. package/esm/app/Header/HeaderTitle.js +2 -16
  94. package/esm/app/Header/index.js +2 -6
  95. package/esm/app/PageTitle.js +1 -1
  96. package/esm/core/Accordion/index.js +1 -5
  97. package/esm/core/Blockquote/index.js +2 -15
  98. package/esm/core/Button/BackLink.js +3 -0
  99. package/esm/core/Button/ButtonLink.js +3 -16
  100. package/esm/core/Button/CallToAction.js +2 -26
  101. package/esm/core/Button/ThemeToggleButton.js +18 -2
  102. package/esm/core/Button/index.js +4 -22
  103. package/esm/core/Divider/index.js +2 -2
  104. package/esm/core/Masthead/__stories__/Default.js +3 -1
  105. package/esm/core/NotificationBanner/index.js +2 -10
  106. package/esm/core/SectionBreak/index.js +3 -0
  107. package/esm/core/index.js +1 -0
  108. package/esm/index.js +1 -1
  109. package/esm/layouts/Basic/Aside/index.js +3 -0
  110. package/esm/layouts/Basic/Container/index.js +3 -0
  111. package/esm/registry.js +12 -0
  112. package/esm/typography/Caption/index.js +1 -1
  113. package/esm/typography/Heading/Heading.stories.js +6 -0
  114. package/esm/typography/Heading/__stories__/Default.js +24 -0
  115. package/esm/typography/Heading/index.js +3 -0
  116. package/esm/typography/Heading/index.mdx +12 -0
  117. package/esm/typography/HeadingCaption/HeadingCaption.stories.js +7 -0
  118. package/esm/typography/HeadingCaption/__stories__/Default.js +35 -0
  119. package/esm/typography/HeadingCaption/__stories__/NestedToTitle.js +15 -0
  120. package/esm/typography/HeadingCaption/index.js +3 -0
  121. package/esm/typography/HeadingCaption/index.mdx +16 -0
  122. package/esm/typography/NormalText/index.js +1 -1
  123. package/esm/typography/Paragraph/index.js +1 -0
  124. package/esm/typography/Title/index.js +1 -1
  125. package/layouts/Basic/Aside/index.d.ts +3 -0
  126. package/layouts/Basic/Aside/index.js +30 -0
  127. package/layouts/Basic/Container/index.d.ts +3 -0
  128. package/layouts/Basic/Container/index.js +30 -0
  129. package/package.json +2 -2
  130. package/registry.d.ts +6 -0
  131. package/registry.js +18 -0
  132. package/typography/Caption/index.d.ts +1 -1
  133. package/typography/Caption/index.js +1 -1
  134. package/typography/Heading/Heading.stories.d.ts +7 -0
  135. package/typography/{Title/Title.stories.js → Heading/Heading.stories.js} +4 -4
  136. package/typography/{Caption → Heading}/__stories__/Default.d.ts +0 -0
  137. package/typography/Heading/__stories__/Default.js +37 -0
  138. package/typography/Heading/index.d.ts +3 -0
  139. package/typography/Heading/index.js +30 -0
  140. package/typography/Heading/index.mdx +12 -0
  141. package/typography/HeadingCaption/HeadingCaption.stories.d.ts +8 -0
  142. package/typography/{Caption/Caption.stories.js → HeadingCaption/HeadingCaption.stories.js} +5 -5
  143. package/typography/{Title → HeadingCaption}/__stories__/Default.d.ts +0 -0
  144. package/typography/HeadingCaption/__stories__/Default.js +49 -0
  145. package/typography/{Caption → HeadingCaption}/__stories__/NestedToTitle.d.ts +0 -0
  146. package/typography/{Caption → HeadingCaption}/__stories__/NestedToTitle.js +5 -5
  147. package/typography/HeadingCaption/index.d.ts +3 -0
  148. package/typography/HeadingCaption/index.js +30 -0
  149. package/typography/HeadingCaption/index.mdx +16 -0
  150. package/typography/NormalText/index.d.ts +2 -4
  151. package/typography/NormalText/index.js +19 -8
  152. package/typography/Paragraph/index.d.ts +2 -5
  153. package/typography/Paragraph/index.js +19 -2
  154. package/typography/Title/index.d.ts +1 -1
  155. package/typography/Title/index.js +1 -1
  156. package/es/typography/Caption/Caption.stories.js +0 -7
  157. package/es/typography/Caption/__stories__/Default.js +0 -35
  158. package/es/typography/Caption/__stories__/NestedToTitle.js +0 -15
  159. package/es/typography/Caption/index.mdx +0 -16
  160. package/es/typography/Title/Title.stories.js +0 -6
  161. package/es/typography/Title/__stories__/Default.js +0 -24
  162. package/es/typography/Title/index.mdx +0 -12
  163. package/esm/typography/Caption/Caption.stories.js +0 -7
  164. package/esm/typography/Caption/__stories__/Default.js +0 -35
  165. package/esm/typography/Caption/__stories__/NestedToTitle.js +0 -15
  166. package/esm/typography/Caption/index.mdx +0 -16
  167. package/esm/typography/Title/Title.stories.js +0 -6
  168. package/esm/typography/Title/__stories__/Default.js +0 -24
  169. package/esm/typography/Title/index.mdx +0 -12
  170. package/typography/Caption/Caption.stories.d.ts +0 -8
  171. package/typography/Caption/__stories__/Default.js +0 -49
  172. package/typography/Caption/index.mdx +0 -16
  173. package/typography/Title/Title.stories.d.ts +0 -7
  174. package/typography/Title/__stories__/Default.js +0 -37
  175. package/typography/Title/index.mdx +0 -12
@@ -6,7 +6,6 @@ import AccordionSectionSummaryHeading from '@digigov/react-core/AccordionSection
6
6
  import AccordionSectionSummary from '@digigov/react-core/AccordionSectionSummary';
7
7
  import AccordionControls from '@digigov/react-core/AccordionControls';
8
8
  import { UseTogglableSectionsReturn } from '@digigov/ui/hooks/useTogglableSections';
9
- export declare const AccordionSectionHeader: React.ForwardRefExoticComponent<Pick<import("@digigov/react-core/AccordionSectionHeader").AccordionSectionHeaderProps, "slot" | "style" | "title" | "as" | "className" | "color" | "id" | "lang" | "role" | "tabIndex" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "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-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "children" | "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" | "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" | "key" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "placeholder" | "spellCheck" | "translate" | "radioGroup" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "margin" | "marginTop" | "marginBottom" | "marginLeft" | "marginRight" | "padding" | "paddingTop" | "paddingBottom" | "paddingLeft" | "paddingRight" | "printHidden"> & React.RefAttributes<HTMLElement>>;
10
9
  export declare const AccordionItemDetails: React.ForwardRefExoticComponent<Pick<import("@digigov/react-core/AccordionSectionContent").AccordionSectionContentProps, "slot" | "style" | "title" | "as" | "className" | "color" | "id" | "lang" | "role" | "tabIndex" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "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-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "children" | "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" | "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" | "key" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "placeholder" | "spellCheck" | "translate" | "radioGroup" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "margin" | "marginTop" | "marginBottom" | "marginLeft" | "marginRight" | "padding" | "paddingTop" | "paddingBottom" | "paddingLeft" | "paddingRight" | "printHidden"> & React.RefAttributes<HTMLDivElement>>;
11
10
  export declare const AccordionItemSummary: ({ children, ...props }: {
12
11
  [x: string]: any;
@@ -19,5 +18,6 @@ export interface UseAccordionProps {
19
18
  export interface UseAccordionReturn extends UseTogglableSectionsReturn {
20
19
  }
21
20
  declare const useAccordion: (props: UseAccordionProps) => UseAccordionReturn;
21
+ export * from '@digigov/react-core/AccordionSectionHeader';
22
22
  export { Accordion, AccordionControls, AccordionSection, AccordionSectionContent, AccordionSectionSummary, AccordionSectionSummaryHeading, useAccordion, };
23
23
  export default Accordion;
@@ -5,6 +5,18 @@ var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefau
5
5
  Object.defineProperty(exports, "__esModule", {
6
6
  value: true
7
7
  });
8
+ var _exportNames = {
9
+ AccordionItemDetails: true,
10
+ AccordionItemSummary: true,
11
+ AccordionItem: true,
12
+ useAccordion: true,
13
+ Accordion: true,
14
+ AccordionSection: true,
15
+ AccordionSectionContent: true,
16
+ AccordionSectionSummaryHeading: true,
17
+ AccordionSectionSummary: true,
18
+ AccordionControls: true
19
+ };
8
20
  Object.defineProperty(exports, "Accordion", {
9
21
  enumerable: true,
10
22
  get: function get() {
@@ -30,7 +42,6 @@ Object.defineProperty(exports, "AccordionSectionContent", {
30
42
  return _AccordionSectionContent["default"];
31
43
  }
32
44
  });
33
- exports.AccordionSectionHeader = void 0;
34
45
  Object.defineProperty(exports, "AccordionSectionSummary", {
35
46
  enumerable: true,
36
47
  get: function get() {
@@ -57,8 +68,6 @@ var _AccordionSection = _interopRequireDefault(require("@digigov/react-core/Acco
57
68
 
58
69
  var _AccordionSectionContent = _interopRequireDefault(require("@digigov/react-core/AccordionSectionContent"));
59
70
 
60
- var _AccordionSectionHeader = _interopRequireDefault(require("@digigov/react-core/AccordionSectionHeader"));
61
-
62
71
  var _AccordionSectionSummaryHeading = _interopRequireDefault(require("@digigov/react-core/AccordionSectionSummaryHeading"));
63
72
 
64
73
  var _AccordionSectionSummary = _interopRequireDefault(require("@digigov/react-core/AccordionSectionSummary"));
@@ -69,13 +78,21 @@ var _withDeprecation = _interopRequireDefault(require("@digigov/ui/utils/withDep
69
78
 
70
79
  var _useTogglableSections2 = require("@digigov/ui/hooks/useTogglableSections");
71
80
 
81
+ var _AccordionSectionHeader = require("@digigov/react-core/AccordionSectionHeader");
82
+
83
+ Object.keys(_AccordionSectionHeader).forEach(function (key) {
84
+ if (key === "default" || key === "__esModule") return;
85
+ if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
86
+ if (key in exports && exports[key] === _AccordionSectionHeader[key]) return;
87
+ Object.defineProperty(exports, key, {
88
+ enumerable: true,
89
+ get: function get() {
90
+ return _AccordionSectionHeader[key];
91
+ }
92
+ });
93
+ });
72
94
  var _excluded = ["children"],
73
95
  _excluded2 = ["register", "setOpened", "opened", "registered"];
74
- var AccordionSectionHeader = (0, _withDeprecation["default"])(_AccordionSectionHeader["default"], {
75
- name: 'AccordionSectionHeader',
76
- error: true
77
- });
78
- exports.AccordionSectionHeader = AccordionSectionHeader;
79
96
  var AccordionItemDetails = (0, _withDeprecation["default"])(_AccordionSectionContent["default"], {
80
97
  name: 'AccordionItemDetails',
81
98
  rename: 'AccordionSectionContent'
@@ -1,3 +1,3 @@
1
- /// <reference types="react" />
2
- export declare const Blockquote: import("react").ForwardRefExoticComponent<Pick<import("@digigov/react-core/Blockquote").BlockquoteProps, "cite" | "slot" | "style" | "title" | "as" | "className" | "color" | "id" | "lang" | "role" | "tabIndex" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "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-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "children" | "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" | "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" | "key" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "placeholder" | "spellCheck" | "translate" | "radioGroup" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "margin" | "marginTop" | "marginBottom" | "marginLeft" | "marginRight" | "padding" | "paddingTop" | "paddingBottom" | "paddingLeft" | "paddingRight" | "printHidden"> & import("react").RefAttributes<HTMLElement>>;
1
+ import Blockquote from '@digigov/react-core/Blockquote';
2
+ export * from '@digigov/react-core/Blockquote';
3
3
  export default Blockquote;
@@ -1,29 +1,30 @@
1
1
  "use strict";
2
2
 
3
- var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
3
+ var _typeof = require("@babel/runtime/helpers/typeof");
4
4
 
5
5
  Object.defineProperty(exports, "__esModule", {
6
6
  value: true
7
7
  });
8
- exports["default"] = exports.Blockquote = void 0;
8
+ var _exportNames = {};
9
+ exports["default"] = void 0;
9
10
 
10
- var _Blockquote = _interopRequireDefault(require("@digigov/react-core/Blockquote"));
11
+ var _Blockquote = _interopRequireWildcard(require("@digigov/react-core/Blockquote"));
11
12
 
12
- var _withDeprecation = _interopRequireDefault(require("@digigov/ui/utils/withDeprecation"));
13
-
14
- var Blockquote = (0, _withDeprecation["default"])(_Blockquote["default"], {
15
- name: 'Blockquote',
16
- props: {
17
- variant: {
18
- values: {
19
- info: {
20
- warning: true
21
- }
22
- },
23
- error: true
13
+ Object.keys(_Blockquote).forEach(function (key) {
14
+ if (key === "default" || key === "__esModule") return;
15
+ if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
16
+ if (key in exports && exports[key] === _Blockquote[key]) return;
17
+ Object.defineProperty(exports, key, {
18
+ enumerable: true,
19
+ get: function get() {
20
+ return _Blockquote[key];
24
21
  }
25
- }
22
+ });
26
23
  });
27
- exports.Blockquote = Blockquote;
28
- var _default = Blockquote;
24
+
25
+ function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
26
+
27
+ function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || _typeof(obj) !== "object" && typeof obj !== "function") { return { "default": obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj["default"] = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
28
+
29
+ var _default = _Blockquote["default"];
29
30
  exports["default"] = _default;
@@ -0,0 +1,3 @@
1
+ import BackLink from '@digigov/react-core/BackLink';
2
+ export * from '@digigov/react-core/BackLink';
3
+ export default BackLink;
@@ -0,0 +1,30 @@
1
+ "use strict";
2
+
3
+ var _typeof = require("@babel/runtime/helpers/typeof");
4
+
5
+ Object.defineProperty(exports, "__esModule", {
6
+ value: true
7
+ });
8
+ var _exportNames = {};
9
+ exports["default"] = void 0;
10
+
11
+ var _BackLink = _interopRequireWildcard(require("@digigov/react-core/BackLink"));
12
+
13
+ Object.keys(_BackLink).forEach(function (key) {
14
+ if (key === "default" || key === "__esModule") return;
15
+ if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
16
+ if (key in exports && exports[key] === _BackLink[key]) return;
17
+ Object.defineProperty(exports, key, {
18
+ enumerable: true,
19
+ get: function get() {
20
+ return _BackLink[key];
21
+ }
22
+ });
23
+ });
24
+
25
+ function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
26
+
27
+ function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || _typeof(obj) !== "object" && typeof obj !== "function") { return { "default": obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj["default"] = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
28
+
29
+ var _default = _BackLink["default"];
30
+ exports["default"] = _default;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
- import { ButtonLinkProps as CoreButtonLinkProps } from '@digigov/react-core/ButtonLink';
3
- export declare type ButtonLinkProps = CoreButtonLinkProps;
4
- export declare const ButtonLink: import("react").ForwardRefExoticComponent<Pick<CoreButtonLinkProps, "slot" | "style" | "title" | "as" | "className" | "color" | "id" | "lang" | "media" | "target" | "type" | "role" | "tabIndex" | "href" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "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-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "children" | "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" | "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" | "key" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "placeholder" | "spellCheck" | "translate" | "radioGroup" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "download" | "hrefLang" | "ping" | "rel" | "referrerPolicy" | "margin" | "marginTop" | "marginBottom" | "marginLeft" | "marginRight" | "padding" | "paddingTop" | "paddingBottom" | "paddingLeft" | "paddingRight" | "printHidden"> & import("react").RefAttributes<HTMLAnchorElement>>;
1
+ import ButtonLink from '@digigov/react-core/ButtonLink';
2
+ export * from '@digigov/react-core/ButtonLink';
3
+ export default ButtonLink;
@@ -1,28 +1,30 @@
1
1
  "use strict";
2
2
 
3
- var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
3
+ var _typeof = require("@babel/runtime/helpers/typeof");
4
4
 
5
5
  Object.defineProperty(exports, "__esModule", {
6
6
  value: true
7
7
  });
8
- exports.ButtonLink = void 0;
8
+ var _exportNames = {};
9
+ exports["default"] = void 0;
9
10
 
10
- var _ButtonLink = _interopRequireDefault(require("@digigov/react-core/ButtonLink"));
11
+ var _ButtonLink = _interopRequireWildcard(require("@digigov/react-core/ButtonLink"));
11
12
 
12
- var _withDeprecation = _interopRequireDefault(require("@digigov/ui/utils/withDeprecation"));
13
-
14
- var ButtonLink = (0, _withDeprecation["default"])(_ButtonLink["default"], {
15
- name: 'ButtonLink',
16
- props: {
17
- variant: {
18
- error: true
19
- },
20
- size: {
21
- error: true
22
- },
23
- xsFullWidth: {
24
- error: true
13
+ Object.keys(_ButtonLink).forEach(function (key) {
14
+ if (key === "default" || key === "__esModule") return;
15
+ if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
16
+ if (key in exports && exports[key] === _ButtonLink[key]) return;
17
+ Object.defineProperty(exports, key, {
18
+ enumerable: true,
19
+ get: function get() {
20
+ return _ButtonLink[key];
25
21
  }
26
- }
22
+ });
27
23
  });
28
- exports.ButtonLink = ButtonLink;
24
+
25
+ function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
26
+
27
+ function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || _typeof(obj) !== "object" && typeof obj !== "function") { return { "default": obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj["default"] = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
28
+
29
+ var _default = _ButtonLink["default"];
30
+ exports["default"] = _default;
@@ -1,7 +1,3 @@
1
- import React from 'react';
2
- import { CallToActionProps as CoreCallToActionProps } from '@digigov/react-core/CallToAction';
3
- export interface CallToActionProps extends CoreCallToActionProps {
4
- label?: string;
5
- }
6
- export declare const CallToAction: React.FC<CallToActionProps>;
1
+ import CallToAction from '@digigov/react-core/CallToAction';
2
+ export * from '@digigov/react-core/CallToAction';
7
3
  export default CallToAction;
@@ -1,41 +1,30 @@
1
1
  "use strict";
2
2
 
3
- var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
3
+ var _typeof = require("@babel/runtime/helpers/typeof");
4
4
 
5
5
  Object.defineProperty(exports, "__esModule", {
6
6
  value: true
7
7
  });
8
- exports["default"] = exports.CallToAction = void 0;
8
+ var _exportNames = {};
9
+ exports["default"] = void 0;
9
10
 
10
- var _objectWithoutProperties2 = _interopRequireDefault(require("@babel/runtime/helpers/objectWithoutProperties"));
11
+ var _CallToAction = _interopRequireWildcard(require("@digigov/react-core/CallToAction"));
11
12
 
12
- var _react = _interopRequireDefault(require("react"));
13
+ Object.keys(_CallToAction).forEach(function (key) {
14
+ if (key === "default" || key === "__esModule") return;
15
+ if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
16
+ if (key in exports && exports[key] === _CallToAction[key]) return;
17
+ Object.defineProperty(exports, key, {
18
+ enumerable: true,
19
+ get: function get() {
20
+ return _CallToAction[key];
21
+ }
22
+ });
23
+ });
13
24
 
14
- var _CallToAction = _interopRequireDefault(require("@digigov/react-core/CallToAction"));
25
+ function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
15
26
 
16
- var _withDeprecation = _interopRequireDefault(require("@digigov/ui/utils/withDeprecation"));
27
+ function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || _typeof(obj) !== "object" && typeof obj !== "function") { return { "default": obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj["default"] = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
17
28
 
18
- var _excluded = ["label", "children"];
19
- var CallToAction = (0, _withDeprecation["default"])(function (_ref) {
20
- var _ref$label = _ref.label,
21
- label = _ref$label === void 0 ? 'Start here' : _ref$label,
22
- children = _ref.children,
23
- props = (0, _objectWithoutProperties2["default"])(_ref, _excluded);
24
- return /*#__PURE__*/_react["default"].createElement(_CallToAction["default"], props, children || label);
25
- }, {
26
- name: 'CallToAction',
27
- props: {
28
- variant: {
29
- error: true
30
- },
31
- size: {
32
- error: true
33
- },
34
- xsFullWidth: {
35
- error: true
36
- }
37
- }
38
- });
39
- exports.CallToAction = CallToAction;
40
- var _default = CallToAction;
29
+ var _default = _CallToAction["default"];
41
30
  exports["default"] = _default;
@@ -1,4 +1,2 @@
1
- import { ButtonProps as CoreButtonProps } from '@digigov/react-core/Button';
2
- export declare type ButtonProps = CoreButtonProps;
3
1
  export declare const ThemeToggleButton: () => JSX.Element;
4
2
  export default ThemeToggleButton;
@@ -41,6 +41,22 @@ var ThemeToggleButton = function ThemeToggleButton() {
41
41
  localStorage.setItem('theme', theme);
42
42
  document.documentElement.className = theme;
43
43
  }, [theme]);
44
+ (0, _react.useEffect)(function () {
45
+ var beforePrintListener = function beforePrintListener() {
46
+ document.documentElement.className = 'light';
47
+ };
48
+
49
+ var afterPrintListener = function afterPrintListener() {
50
+ document.documentElement.className = localStorage.getItem('theme') || theme;
51
+ };
52
+
53
+ window.addEventListener('beforeprint', beforePrintListener);
54
+ window.addEventListener('afterprint', afterPrintListener);
55
+ return function () {
56
+ window.removeEventListener('beforeprint', beforePrintListener);
57
+ window.removeEventListener('afterprint', afterPrintListener);
58
+ };
59
+ }, []);
44
60
  return /*#__PURE__*/_react["default"].createElement(_Button["default"], {
45
61
  onClick: toggleTheme,
46
62
  variant: "link",
@@ -1,8 +1,6 @@
1
1
  import React from 'react';
2
- import { ButtonProps as CoreButtonProps } from '@digigov/react-core/Button';
3
- export declare type ButtonProps = CoreButtonProps;
4
- export declare const Button: React.ForwardRefExoticComponent<Pick<CoreButtonProps, "form" | "slot" | "style" | "title" | "as" | "className" | "color" | "id" | "lang" | "name" | "type" | "role" | "tabIndex" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "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-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "children" | "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" | "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" | "key" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "placeholder" | "spellCheck" | "translate" | "radioGroup" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "autoFocus" | "disabled" | "formAction" | "formEncType" | "formMethod" | "formNoValidate" | "formTarget" | "value" | "margin" | "marginTop" | "marginBottom" | "marginLeft" | "marginRight" | "padding" | "paddingTop" | "paddingBottom" | "paddingLeft" | "paddingRight" | "printHidden" | "variant"> & React.RefAttributes<HTMLButtonElement>>;
5
- export default Button;
2
+ import Button, { ButtonProps } from '@digigov/react-core/Button';
3
+ export * from '@digigov/react-core/Button';
6
4
  export interface ContinueButtonProps extends ButtonProps {
7
5
  label?: string;
8
6
  ref?: React.Ref<HTMLButtonElement>;
@@ -14,3 +12,4 @@ export * from '@digigov/ui/core/Button/ButtonLink';
14
12
  export * from '@digigov/ui/core/Button/Icon';
15
13
  export * from '@digigov/ui/core/Button/ThemeToggleButton';
16
14
  export * from '@digigov/react-core/ButtonGroup';
15
+ export default Button;
@@ -2,22 +2,33 @@
2
2
 
3
3
  var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
4
4
 
5
+ var _typeof = require("@babel/runtime/helpers/typeof");
6
+
5
7
  Object.defineProperty(exports, "__esModule", {
6
8
  value: true
7
9
  });
8
10
  var _exportNames = {
9
- Button: true,
10
11
  ContinueButton: true
11
12
  };
12
- exports["default"] = exports.ContinueButton = exports.Button = void 0;
13
+ exports["default"] = exports.ContinueButton = void 0;
13
14
 
14
15
  var _objectWithoutProperties2 = _interopRequireDefault(require("@babel/runtime/helpers/objectWithoutProperties"));
15
16
 
16
17
  var _react = _interopRequireDefault(require("react"));
17
18
 
18
- var _Button = _interopRequireDefault(require("@digigov/react-core/Button"));
19
+ var _Button = _interopRequireWildcard(require("@digigov/react-core/Button"));
19
20
 
20
- var _withDeprecation = _interopRequireDefault(require("@digigov/ui/utils/withDeprecation"));
21
+ Object.keys(_Button).forEach(function (key) {
22
+ if (key === "default" || key === "__esModule") return;
23
+ if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
24
+ if (key in exports && exports[key] === _Button[key]) return;
25
+ Object.defineProperty(exports, key, {
26
+ enumerable: true,
27
+ get: function get() {
28
+ return _Button[key];
29
+ }
30
+ });
31
+ });
21
32
 
22
33
  var _BackButton = require("@digigov/ui/core/Button/BackButton");
23
34
 
@@ -103,34 +114,19 @@ Object.keys(_ButtonGroup).forEach(function (key) {
103
114
  });
104
115
  });
105
116
  var _excluded = ["label", "children"];
106
- var Button = (0, _withDeprecation["default"])(_Button["default"], {
107
- name: 'Button',
108
- props: {
109
- href: {
110
- error: 'To use a button with a link import ButtonLink instead'
111
- },
112
-
113
- /* variant: {
114
- error: true,
115
- }, */
116
- size: {
117
- error: true
118
- },
119
- xsFullWidth: {
120
- error: true
121
- }
122
- }
123
- });
124
- exports.Button = Button;
125
- var _default = Button;
126
- exports["default"] = _default;
117
+
118
+ function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
119
+
120
+ function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || _typeof(obj) !== "object" && typeof obj !== "function") { return { "default": obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj["default"] = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
127
121
 
128
122
  var ContinueButton = function ContinueButton(_ref) {
129
123
  var _ref$label = _ref.label,
130
124
  label = _ref$label === void 0 ? 'Continue' : _ref$label,
131
125
  children = _ref.children,
132
126
  props = (0, _objectWithoutProperties2["default"])(_ref, _excluded);
133
- return /*#__PURE__*/_react["default"].createElement(Button, props, label || children);
127
+ return /*#__PURE__*/_react["default"].createElement(_Button["default"], props, label || children);
134
128
  };
135
129
 
136
- exports.ContinueButton = ContinueButton;
130
+ exports.ContinueButton = ContinueButton;
131
+ var _default = _Button["default"];
132
+ exports["default"] = _default;
@@ -1,5 +1,5 @@
1
1
  /// <reference types="react" />
2
2
  import { SectionBreakProps as CoreSectionBreakProps } from '@digigov/react-core/SectionBreak';
3
- export declare type SectionBreakProps = CoreSectionBreakProps;
4
- export declare const SectionBreak: import("react").ForwardRefExoticComponent<Pick<CoreSectionBreakProps, "slot" | "style" | "title" | "as" | "className" | "color" | "id" | "lang" | "role" | "tabIndex" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "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-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "children" | "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" | "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" | "key" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "placeholder" | "spellCheck" | "translate" | "radioGroup" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "size" | "margin" | "marginTop" | "marginBottom" | "marginLeft" | "marginRight" | "padding" | "paddingTop" | "paddingBottom" | "paddingLeft" | "paddingRight" | "printHidden" | "visible"> & import("react").RefAttributes<HTMLHRElement>>;
5
- export default SectionBreak;
3
+ export declare type DividerProps = CoreSectionBreakProps;
4
+ export declare const Divider: import("react").ForwardRefExoticComponent<Pick<CoreSectionBreakProps, "slot" | "style" | "title" | "as" | "className" | "color" | "id" | "lang" | "role" | "tabIndex" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "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-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "children" | "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" | "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" | "key" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "placeholder" | "spellCheck" | "translate" | "radioGroup" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "size" | "margin" | "marginTop" | "marginBottom" | "marginLeft" | "marginRight" | "padding" | "paddingTop" | "paddingBottom" | "paddingLeft" | "paddingRight" | "printHidden" | "visible"> & import("react").RefAttributes<HTMLHRElement>>;
5
+ export default Divider;
@@ -5,16 +5,16 @@ var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefau
5
5
  Object.defineProperty(exports, "__esModule", {
6
6
  value: true
7
7
  });
8
- exports["default"] = exports.SectionBreak = void 0;
8
+ exports["default"] = exports.Divider = void 0;
9
9
 
10
10
  var _SectionBreak = _interopRequireDefault(require("@digigov/react-core/SectionBreak"));
11
11
 
12
12
  var _withDeprecation = _interopRequireDefault(require("@digigov/ui/utils/withDeprecation"));
13
13
 
14
- var SectionBreak = (0, _withDeprecation["default"])(_SectionBreak["default"], {
14
+ var Divider = (0, _withDeprecation["default"])(_SectionBreak["default"], {
15
15
  name: 'Divider',
16
16
  rename: 'SectionBreak'
17
17
  });
18
- exports.SectionBreak = SectionBreak;
19
- var _default = SectionBreak;
18
+ exports.Divider = Divider;
19
+ var _default = Divider;
20
20
  exports["default"] = _default;
@@ -21,7 +21,9 @@ function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "functio
21
21
 
22
22
  function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || _typeof(obj) !== "object" && typeof obj !== "function") { return { "default": obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj["default"] = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
23
23
 
24
- var _ref = /*#__PURE__*/_react["default"].createElement(_Masthead["default"], null, /*#__PURE__*/_react["default"].createElement(_reactCore.Container, null, /*#__PURE__*/_react["default"].createElement(_reactCore.Main, null, /*#__PURE__*/_react["default"].createElement(_reactCore.Heading, null, "\u03A3\u03C7\u03B5\u03B4\u03B9\u03AC\u03C3\u03C4\u03B5 \u03C4\u03B7\u03BD \u03C5\u03C0\u03B7\u03C1\u03B5\u03C3\u03AF\u03B1 \u03C3\u03B1\u03C2, \u03BC\u03B5 \u03C4\u03BF \u03C3\u03C4\u03C5\u03BB \u03C4\u03BF\u03C5 GOV.GR"), /*#__PURE__*/_react["default"].createElement(_Masthead.MastheadBody, null, "\u03A7\u03C1\u03B7\u03C3\u03B9\u03BC\u03BF\u03C0\u03BF\u03B9\u03B5\u03AF\u03C3\u03C4\u03B5 \u03B1\u03C5\u03C4\u03CC\u03BD \u03C4\u03BF\u03BD \u03BF\u03B4\u03B7\u03B3\u03CC \u03CE\u03C3\u03C4\u03B5 \u03BD\u03B1 \u03C6\u03C4\u03B9\u03AC\u03BE\u03B5\u03C4\u03B5 \u03BC\u03B9\u03B1 \u03C5\u03C0\u03B7\u03C1\u03B5\u03C3\u03AF\u03B1 \u03C3\u03C5\u03BD\u03B5\u03C0\u03AE \u03C3\u03C4\u03B1 \u03C0\u03C1\u03CC\u03C4\u03C5\u03C0\u03B1 \u03C4\u03BF\u03C5 GOV.GR. \u0391\u03C0\u03BF\u03BA\u03C4\u03AE\u03C3\u03C4\u03B5 \u03B3\u03BD\u03CE\u03C3\u03B7 \u03B1\u03C0\u03CC \u03C4\u03B7\u03BD \u03AD\u03C1\u03B5\u03C5\u03BD\u03B1 \u03BA\u03B1\u03B9 \u03C4\u03B7\u03BD \u03B5\u03BC\u03C0\u03B5\u03B9\u03C1\u03AF\u03B1 \u03AC\u03BB\u03BB\u03C9\u03BD \u03BF\u03BC\u03AC\u03B4\u03C9\u03BD \u03BA\u03B1\u03B9 \u03B1\u03C0\u03BF\u03C6\u03CD\u03B3\u03B5\u03C4\u03B5 \u03C4\u03B7\u03BD \u03B5\u03C0\u03B1\u03BD\u03AC\u03BB\u03B7\u03C8\u03B7 \u03B5\u03C1\u03B3\u03B1\u03C3\u03B9\u03CE\u03BD \u03C0\u03BF\u03C5 \u03AD\u03C7\u03BF\u03C5\u03BD \u03AE\u03B4\u03B7 \u03B3\u03AF\u03BD\u03B5\u03B9."), /*#__PURE__*/_react["default"].createElement(_CallToAction["default"], null, "\u039E\u03B5\u03BA\u03B9\u03BD\u03AE\u03C3\u03C4\u03B5 \u03B5\u03B4\u03CE"))));
24
+ var _ref = /*#__PURE__*/_react["default"].createElement(_Masthead["default"], null, /*#__PURE__*/_react["default"].createElement(_reactCore.Container, null, /*#__PURE__*/_react["default"].createElement(_reactCore.Main, null, /*#__PURE__*/_react["default"].createElement(_reactCore.Heading, null, "\u03A3\u03C7\u03B5\u03B4\u03B9\u03AC\u03C3\u03C4\u03B5 \u03C4\u03B7\u03BD \u03C5\u03C0\u03B7\u03C1\u03B5\u03C3\u03AF\u03B1 \u03C3\u03B1\u03C2, \u03BC\u03B5 \u03C4\u03BF \u03C3\u03C4\u03C5\u03BB \u03C4\u03BF\u03C5 GOV.GR"), /*#__PURE__*/_react["default"].createElement(_Masthead.MastheadBody, null, "\u03A7\u03C1\u03B7\u03C3\u03B9\u03BC\u03BF\u03C0\u03BF\u03B9\u03B5\u03AF\u03C3\u03C4\u03B5 \u03B1\u03C5\u03C4\u03CC\u03BD \u03C4\u03BF\u03BD \u03BF\u03B4\u03B7\u03B3\u03CC \u03CE\u03C3\u03C4\u03B5 \u03BD\u03B1 \u03C6\u03C4\u03B9\u03AC\u03BE\u03B5\u03C4\u03B5 \u03BC\u03B9\u03B1 \u03C5\u03C0\u03B7\u03C1\u03B5\u03C3\u03AF\u03B1 \u03C3\u03C5\u03BD\u03B5\u03C0\u03AE \u03C3\u03C4\u03B1 \u03C0\u03C1\u03CC\u03C4\u03C5\u03C0\u03B1 \u03C4\u03BF\u03C5 GOV.GR. \u0391\u03C0\u03BF\u03BA\u03C4\u03AE\u03C3\u03C4\u03B5 \u03B3\u03BD\u03CE\u03C3\u03B7 \u03B1\u03C0\u03CC \u03C4\u03B7\u03BD \u03AD\u03C1\u03B5\u03C5\u03BD\u03B1 \u03BA\u03B1\u03B9 \u03C4\u03B7\u03BD \u03B5\u03BC\u03C0\u03B5\u03B9\u03C1\u03AF\u03B1 \u03AC\u03BB\u03BB\u03C9\u03BD \u03BF\u03BC\u03AC\u03B4\u03C9\u03BD \u03BA\u03B1\u03B9 \u03B1\u03C0\u03BF\u03C6\u03CD\u03B3\u03B5\u03C4\u03B5 \u03C4\u03B7\u03BD \u03B5\u03C0\u03B1\u03BD\u03AC\u03BB\u03B7\u03C8\u03B7 \u03B5\u03C1\u03B3\u03B1\u03C3\u03B9\u03CE\u03BD \u03C0\u03BF\u03C5 \u03AD\u03C7\u03BF\u03C5\u03BD \u03AE\u03B4\u03B7 \u03B3\u03AF\u03BD\u03B5\u03B9."), /*#__PURE__*/_react["default"].createElement(_CallToAction["default"], {
25
+ href: "#"
26
+ }, "\u039E\u03B5\u03BA\u03B9\u03BD\u03AE\u03C3\u03C4\u03B5 \u03B5\u03B4\u03CE"))));
25
27
 
26
28
  var Default = function Default() {
27
29
  return _ref;