@festo-ui/react 8.1.0-dev.563 → 8.1.0-dev.565

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 (247) hide show
  1. package/508.bundle.js +1 -0
  2. package/index.css +1 -1
  3. package/lib/components/accordion/AccordionContext.d.ts +0 -1
  4. package/lib/components/accordion/accordion-header/AccordionHeader.d.ts +1 -2
  5. package/lib/components/accordion/accordion-item/AccordionItem.js +1 -2
  6. package/lib/components/accordion/accordion-item/AccordionItemContext.d.ts +0 -1
  7. package/lib/components/accordion/accordion-item/accordion-item-body/AccordionItemBody.d.ts +1 -2
  8. package/lib/components/accordion/accordion-item/accordion-item-body/AccordionItemBody.js +1 -2
  9. package/lib/components/accordion/accordion-item/accordion-item-header/AccordionItemHeader.d.ts +1 -2
  10. package/lib/components/bottom-sheet/BottomSheet.d.ts +1 -2
  11. package/lib/components/bottom-sheet/BottomSheet.js +1 -3
  12. package/lib/components/bottom-sheet/BottomSheet.stories.js +1 -3
  13. package/lib/components/breadcrumb/Breadcrumb.d.ts +1 -1
  14. package/lib/components/breadcrumb/Breadcrumb.js +2 -3
  15. package/lib/components/buttons/button/Button.js +1 -2
  16. package/lib/components/buttons/button/Button.stories.js +1 -2
  17. package/lib/components/card/Card.d.ts +0 -1
  18. package/lib/components/card/CardBody.d.ts +1 -2
  19. package/lib/components/card/CardBody.js +1 -2
  20. package/lib/components/card/CardHeader.d.ts +1 -2
  21. package/lib/components/card/CardHeader.js +1 -3
  22. package/lib/components/card/CardNotification.d.ts +1 -2
  23. package/lib/components/card/CardNotification.js +1 -2
  24. package/lib/components/chips/chip/Chip.d.ts +1 -2
  25. package/lib/components/chips/chip/Chip.js +4 -5
  26. package/lib/components/chips/chip-container/ChipContainer.d.ts +1 -2
  27. package/lib/components/icon-wrapper/IconWrapper.d.ts +1 -2
  28. package/lib/components/icons/check-small.js +1 -2
  29. package/lib/components/icons/close-small.js +1 -2
  30. package/lib/components/icons/collapse.js +1 -2
  31. package/lib/components/icons/expand.js +1 -2
  32. package/lib/components/icons/right-2.js +1 -2
  33. package/lib/components/icons/warning.js +1 -2
  34. package/lib/components/link-button/LinkButton.js +1 -2
  35. package/lib/components/loading-indicator/LoadingIndicator.js +1 -2
  36. package/lib/components/mobile-flyout/MobileFlyout.d.ts +1 -1
  37. package/lib/components/mobile-flyout/MobileFlyout.js +2 -3
  38. package/lib/components/mobile-flyout/MobileFlyoutContext.d.ts +0 -1
  39. package/lib/components/mobile-flyout/mobile-flyout-item/MobileFlyoutItem.d.ts +1 -2
  40. package/lib/components/mobile-flyout/mobile-flyout-item/MobileFlyoutItem.js +1 -2
  41. package/lib/components/mobile-flyout/mobile-flyout-page/MobileFlyoutPage.d.ts +1 -1
  42. package/lib/components/mobile-flyout/mobile-flyout-page/MobileFlyoutPage.js +2 -3
  43. package/lib/components/modals/AlertModal.d.ts +1 -2
  44. package/lib/components/modals/AlertModal.js +1 -3
  45. package/lib/components/modals/ConfirmModal.d.ts +1 -2
  46. package/lib/components/modals/ConfirmModal.js +1 -3
  47. package/lib/components/modals/CustomModal.d.ts +1 -1
  48. package/lib/components/modals/CustomModal.js +1 -2
  49. package/lib/components/modals/Modal.d.ts +1 -1
  50. package/lib/components/modals/Modal.js +1 -2
  51. package/lib/components/modals/ModalBase.d.ts +1 -1
  52. package/lib/components/modals/ModalBase.js +5 -7
  53. package/lib/components/modals/ModalFooter.d.ts +0 -1
  54. package/lib/components/modals/Prompt.js +2 -4
  55. package/lib/components/modals/image-gallery/ImageGallery.d.ts +1 -1
  56. package/lib/components/modals/image-gallery/ImageGallery.js +2 -4
  57. package/lib/components/modals/image-gallery/ImageGallery.stories.helper.js +11 -13
  58. package/lib/components/modals/image-gallery/ImageGalleryContent.d.ts +1 -2
  59. package/lib/components/modals/image-gallery/ImageGalleryContent.js +1 -3
  60. package/lib/components/modals/image-gallery/ImageGalleryContext.d.ts +0 -1
  61. package/lib/components/modals/image-gallery/ImageGallerySwiper.d.ts +1 -2
  62. package/lib/components/modals/image-gallery/ImageGalleryThumbsSwiper.d.ts +1 -2
  63. package/lib/components/modals/image-gallery/image-gallery-item/ImageGalleryItem.d.ts +1 -2
  64. package/lib/components/modals/image-gallery/internal/BaseGallery.d.ts +1 -1
  65. package/lib/components/modals/image-gallery/internal/BaseGallery.js +1 -3
  66. package/lib/components/modals/image-gallery/internal/CloseButton.d.ts +1 -2
  67. package/lib/components/modals/image-gallery/internal/ImageGalleryContainer.d.ts +1 -2
  68. package/lib/components/modals/image-gallery/internal/ImageGalleryContainer.js +1 -2
  69. package/lib/components/modals/image-gallery/internal/ImageGalleryPagination.d.ts +1 -2
  70. package/lib/components/modals/image-gallery/internal/ImageGalleryPagination.js +1 -3
  71. package/lib/components/modals/image-gallery/internal/ScaleButton.d.ts +1 -2
  72. package/lib/components/pagination/Pagination.d.ts +1 -2
  73. package/lib/components/pagination/Pagination.js +4 -6
  74. package/lib/components/popovers/legend/Legend.d.ts +1 -2
  75. package/lib/components/popovers/legend/Legend.js +1 -2
  76. package/lib/components/popovers/popover/Popover.d.ts +1 -1
  77. package/lib/components/popovers/popover/Popover.js +1 -3
  78. package/lib/components/popovers/popover-menu/PopoverMenu.d.ts +1 -2
  79. package/lib/components/popovers/popover-menu/PopoverMenu.js +1 -2
  80. package/lib/components/popovers/tooltip/Tooltip.d.ts +1 -2
  81. package/lib/components/popovers/tooltip/Tooltip.js +1 -2
  82. package/lib/components/progress/Progress.d.ts +1 -2
  83. package/lib/components/scroll-area/ScrollArea.d.ts +1 -2
  84. package/lib/components/search-input/ClearButton.d.ts +1 -1
  85. package/lib/components/search-input/SearchInput.d.ts +1 -2
  86. package/lib/components/search-input/SearchInput.js +3 -2
  87. package/lib/components/snackbar/Snackbar.d.ts +1 -2
  88. package/lib/components/snackbar/Snackbar.js +1 -2
  89. package/lib/components/snackbar/SnackbarProvider.d.ts +1 -2
  90. package/lib/components/snackbar/SnackbarProvider.js +1 -2
  91. package/lib/components/snackbar/useSnackbar.js +1 -1
  92. package/lib/components/stepper-horizontal/StepperHorizontal.d.ts +1 -1
  93. package/lib/components/stepper-horizontal/StepperHorizontal.js +2 -4
  94. package/lib/components/stepper-vertical/StepperVertical.d.ts +1 -1
  95. package/lib/components/stepper-vertical/StepperVertical.js +2 -2
  96. package/lib/components/stepper-vertical/step-vertical/StepVertical.js +1 -2
  97. package/lib/components/tab/Tabs.d.ts +1 -1
  98. package/lib/components/tab/Tabs.js +4 -6
  99. package/lib/components/tab/interfaces.d.ts +0 -1
  100. package/lib/components/tab/tab-pane/TabPane.d.ts +1 -2
  101. package/lib/components/tab/useTabScroll.js +1 -0
  102. package/lib/components/table-header-cell/TableHeaderCell.d.ts +0 -1
  103. package/lib/forms/checkbox/Checkbox.d.ts +1 -1
  104. package/lib/forms/checkbox/Checkbox.js +1 -2
  105. package/lib/forms/color-indicator/ColorIndicator.d.ts +1 -2
  106. package/lib/forms/color-indicator/ColorIndicator.js +1 -4
  107. package/lib/forms/color-picker/ColorHelper.js +0 -2
  108. package/lib/forms/color-picker/ColorPicker.d.ts +1 -2
  109. package/lib/forms/color-picker/ColorPicker.js +19 -9
  110. package/lib/forms/date-picker/DatePicker.d.ts +1 -2
  111. package/lib/forms/date-picker/DatePicker.js +1 -2
  112. package/lib/forms/date-range-picker/DateRangePicker.d.ts +1 -2
  113. package/lib/forms/date-range-picker/DateRangePicker.js +1 -2
  114. package/lib/forms/radio/RadioButton.d.ts +1 -2
  115. package/lib/forms/radio/RadioButton.js +1 -2
  116. package/lib/forms/radio/RadioGroupContext.d.ts +0 -1
  117. package/lib/forms/segment/Segment.d.ts +1 -1
  118. package/lib/forms/segment/Segment.js +1 -2
  119. package/lib/forms/segment/segment-control/SegmentControl.d.ts +1 -1
  120. package/lib/forms/segment/segment-control/SegmentControl.js +1 -3
  121. package/lib/forms/select/Select.d.ts +1 -1
  122. package/lib/forms/select/Select.js +2 -3
  123. package/lib/forms/select/internal/HiddenInput.d.ts +1 -2
  124. package/lib/forms/select/internal/ListItem.d.ts +1 -1
  125. package/lib/forms/select/internal/SelectButton.d.ts +0 -1
  126. package/lib/forms/select/internal/SelectButtonContent.d.ts +1 -2
  127. package/lib/forms/select/internal/SelectButtonContent.js +1 -3
  128. package/lib/forms/select/internal/SelectCheckbox.d.ts +1 -2
  129. package/lib/forms/select/internal/SelectCheckbox.js +1 -2
  130. package/lib/forms/select/internal/SelectLabel.d.ts +1 -2
  131. package/lib/forms/select/internal/SelectOptionsContainer.d.ts +1 -1
  132. package/lib/forms/select/internal/SelectOptionsContainer.js +2 -4
  133. package/lib/forms/select/internal/SelectScrollContainer.d.ts +1 -2
  134. package/lib/forms/select/internal/SelectScrollContainer.js +1 -2
  135. package/lib/forms/select/internal/utils.js +2 -2
  136. package/lib/forms/select/select-option/SelectOption.d.ts +1 -1
  137. package/lib/forms/slider/Slider.d.ts +1 -1
  138. package/lib/forms/slider/Slider.js +1 -2
  139. package/lib/forms/switch/Switch.d.ts +1 -2
  140. package/lib/forms/switch/Switch.js +1 -2
  141. package/lib/forms/text-area/TextArea.d.ts +1 -1
  142. package/lib/forms/text-area/TextArea.js +1 -2
  143. package/lib/forms/text-editor/TextEditor.d.ts +1 -2
  144. package/lib/forms/text-editor/TextEditor.js +1 -3
  145. package/lib/forms/text-editor/TextEditorButton.d.ts +1 -2
  146. package/lib/forms/text-editor/TextEditorButton.js +1 -3
  147. package/lib/forms/text-input/TextInput.d.ts +1 -1
  148. package/lib/forms/text-input/TextInput.js +2 -3
  149. package/lib/forms/time-picker/TimePicker.d.ts +1 -1
  150. package/lib/forms/time-picker/TimePicker.js +3 -5
  151. package/lib/forms/time-picker/time-picker-dropdown/TimePickerDropdown.js +1 -2
  152. package/lib/forms/time-picker/time-picker-dropdown/TimePickerInput.d.ts +0 -1
  153. package/lib/helper/setRef.d.ts +0 -1
  154. package/lib/helper/types.d.ts +0 -1
  155. package/node/index.js +2 -2
  156. package/node/lib/components/accordion/Accordion.js +1 -1
  157. package/node/lib/components/accordion/accordion-header/AccordionHeader.js +1 -1
  158. package/node/lib/components/accordion/accordion-item/AccordionItem.js +1 -1
  159. package/node/lib/components/accordion/accordion-item/accordion-item-body/AccordionItemBody.js +1 -1
  160. package/node/lib/components/accordion/accordion-item/accordion-item-header/AccordionItemHeader.js +1 -1
  161. package/node/lib/components/bottom-sheet/BottomSheet.js +1 -1
  162. package/node/lib/components/bottom-sheet/BottomSheet.stories.js +1 -1
  163. package/node/lib/components/breadcrumb/Breadcrumb.js +2 -2
  164. package/node/lib/components/buttons/button/Button.js +1 -1
  165. package/node/lib/components/buttons/button/Button.stories.js +1 -1
  166. package/node/lib/components/card/Card.js +1 -1
  167. package/node/lib/components/card/CardBody.js +1 -1
  168. package/node/lib/components/card/CardHeader.js +1 -1
  169. package/node/lib/components/card/CardHeader.stories.helper.js +1 -1
  170. package/node/lib/components/card/CardNotification.js +1 -1
  171. package/node/lib/components/chips/chip/Chip.js +4 -4
  172. package/node/lib/components/chips/chip-container/ChipContainer.js +1 -1
  173. package/node/lib/components/link-button/LinkButton.js +1 -1
  174. package/node/lib/components/loading-indicator/LoadingIndicator.js +1 -1
  175. package/node/lib/components/mobile-flyout/MobileFlyout.js +3 -3
  176. package/node/lib/components/mobile-flyout/mobile-flyout-item/MobileFlyoutItem.js +1 -1
  177. package/node/lib/components/mobile-flyout/mobile-flyout-page/MobileFlyoutPage.js +3 -3
  178. package/node/lib/components/modals/AlertModal.js +1 -1
  179. package/node/lib/components/modals/ConfirmModal.js +1 -1
  180. package/node/lib/components/modals/CustomModal.js +1 -1
  181. package/node/lib/components/modals/Modal.js +2 -2
  182. package/node/lib/components/modals/ModalBase.js +5 -5
  183. package/node/lib/components/modals/ModalFooter.js +1 -1
  184. package/node/lib/components/modals/Prompt.js +4 -4
  185. package/node/lib/components/modals/image-gallery/ImageGallery.helper.js +1 -1
  186. package/node/lib/components/modals/image-gallery/ImageGallery.js +3 -3
  187. package/node/lib/components/modals/image-gallery/ImageGallery.stories.helper.js +11 -11
  188. package/node/lib/components/modals/image-gallery/ImageGallerySwiper.js +1 -1
  189. package/node/lib/components/modals/image-gallery/ImageGalleryThumbsSwiper.js +1 -1
  190. package/node/lib/components/modals/image-gallery/image-gallery-item/ImageGalleryItem.js +1 -1
  191. package/node/lib/components/modals/image-gallery/internal/BaseGallery.js +1 -1
  192. package/node/lib/components/modals/image-gallery/internal/CloseButton.js +1 -1
  193. package/node/lib/components/pagination/Pagination.js +5 -5
  194. package/node/lib/components/popovers/legend/Legend.js +1 -1
  195. package/node/lib/components/popovers/popover/Popover.js +2 -2
  196. package/node/lib/components/popovers/popover-menu/PopoverMenu.js +1 -1
  197. package/node/lib/components/popovers/tooltip/Tooltip.js +1 -1
  198. package/node/lib/components/progress/Progress.js +1 -1
  199. package/node/lib/components/scroll-area/ScrollArea.js +1 -1
  200. package/node/lib/components/search-input/SearchInput.js +3 -1
  201. package/node/lib/components/search-input/useSearchInput.js +1 -1
  202. package/node/lib/components/snackbar/Snackbar.js +1 -1
  203. package/node/lib/components/snackbar/SnackbarContext.js +1 -1
  204. package/node/lib/components/snackbar/SnackbarProvider.js +1 -1
  205. package/node/lib/components/snackbar/useSnackbar.js +1 -1
  206. package/node/lib/components/stepper-horizontal/StepperHorizontal.js +4 -4
  207. package/node/lib/components/stepper-horizontal/step-horizontal/StepHorizontal.js +1 -1
  208. package/node/lib/components/stepper-vertical/StepperVertical.js +5 -5
  209. package/node/lib/components/stepper-vertical/step-vertical/StepVertical.js +1 -1
  210. package/node/lib/components/tab/Tabs.js +7 -6
  211. package/node/lib/components/tab/tab-pane/TabPane.js +1 -1
  212. package/node/lib/components/tab/useTabScroll.js +1 -0
  213. package/node/lib/components/table-header-cell/TableHeaderCell.js +1 -1
  214. package/node/lib/forms/checkbox/Checkbox.js +1 -1
  215. package/node/lib/forms/color-indicator/ColorIndicator.js +2 -3
  216. package/node/lib/forms/color-picker/ColorHelper.js +0 -2
  217. package/node/lib/forms/color-picker/ColorPicker.js +19 -7
  218. package/node/lib/forms/date-picker/DatePicker.js +1 -1
  219. package/node/lib/forms/date-range-picker/DateRangePicker.js +1 -1
  220. package/node/lib/forms/radio/RadioButton.js +1 -1
  221. package/node/lib/forms/radio/RadioGroup.js +1 -1
  222. package/node/lib/forms/segment/Segment.js +1 -1
  223. package/node/lib/forms/segment/segment-control/SegmentControl.js +2 -2
  224. package/node/lib/forms/select/Select.js +2 -2
  225. package/node/lib/forms/select/internal/ListItem.js +2 -2
  226. package/node/lib/forms/select/internal/SelectButton.js +1 -1
  227. package/node/lib/forms/select/internal/SelectButtonContent.js +1 -1
  228. package/node/lib/forms/select/internal/SelectCheckbox.js +1 -1
  229. package/node/lib/forms/select/internal/SelectLabel.js +1 -1
  230. package/node/lib/forms/select/internal/SelectOptionsContainer.js +2 -2
  231. package/node/lib/forms/select/internal/SelectScrollContainer.js +1 -1
  232. package/node/lib/forms/select/internal/SelectWrapper.js +1 -1
  233. package/node/lib/forms/select/internal/index.js +1 -1
  234. package/node/lib/forms/select/internal/utils.js +3 -3
  235. package/node/lib/forms/select/select-option/SelectOption.js +1 -1
  236. package/node/lib/forms/slider/Slider.js +2 -2
  237. package/node/lib/forms/switch/Switch.js +1 -1
  238. package/node/lib/forms/text-area/TextArea.js +2 -2
  239. package/node/lib/forms/text-editor/TextEditor.js +2 -2
  240. package/node/lib/forms/text-editor/TextEditorButton.js +1 -1
  241. package/node/lib/forms/text-input/TextInput.js +4 -4
  242. package/node/lib/forms/time-picker/TimePicker.js +5 -5
  243. package/node/lib/forms/time-picker/time-picker-dropdown/TimePickerDropdown.js +2 -2
  244. package/node/lib/helper/useForkRef.js +1 -1
  245. package/node/lib/helper/useId.js +1 -1
  246. package/package.json +2 -2
  247. package/61.bundle.js +0 -1
@@ -4,5 +4,5 @@ interface MobileFlyoutPageProps extends ComponentPropsWithoutRef<'div'> {
4
4
  name?: string;
5
5
  root?: boolean;
6
6
  }
7
- export declare const MobileFlyoutPage: (props: MobileFlyoutPageProps & import("react").RefAttributes<HTMLDivElement>) => import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | null;
7
+ declare const MobileFlyoutPage: (props: MobileFlyoutPageProps & import("react").RefAttributes<HTMLDivElement>) => import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | null;
8
8
  export default MobileFlyoutPage;
@@ -1,9 +1,8 @@
1
1
  import cn from 'classnames';
2
2
  import { forwardRef, useContext } from 'react';
3
3
  import MobileFlyoutContext from "../MobileFlyoutContext.js";
4
- import { jsx as _jsx } from "react/jsx-runtime";
5
- import { jsxs as _jsxs } from "react/jsx-runtime";
6
- export const MobileFlyoutPage = /*#__PURE__*/forwardRef((_ref, ref) => {
4
+ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
5
+ const MobileFlyoutPage = /*#__PURE__*/forwardRef((_ref, ref) => {
7
6
  let {
8
7
  back,
9
8
  children,
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { ModalProps } from './Modal';
3
2
  interface AlertModalProps extends Omit<ModalProps, 'head' | 'children'> {
4
3
  title: string;
@@ -10,5 +9,5 @@ interface AlertModalProps extends Omit<ModalProps, 'head' | 'children'> {
10
9
  onCancel?: () => void;
11
10
  onOk?: () => void;
12
11
  }
13
- declare function AlertModal({ title, subtitle, alertType, strong, cancel, ok, onCancel, onOk, className, body, ...props }: AlertModalProps): JSX.Element;
12
+ declare function AlertModal({ title, subtitle, alertType, strong, cancel, ok, onCancel, onOk, className, body, ...props }: AlertModalProps): import("react/jsx-runtime").JSX.Element;
14
13
  export default AlertModal;
@@ -1,9 +1,7 @@
1
1
  import cn from 'classnames';
2
2
  import Modal from "./Modal.js";
3
3
  import ModalFooter from "./ModalFooter.js";
4
- import { jsx as _jsx } from "react/jsx-runtime";
5
- import { Fragment as _Fragment } from "react/jsx-runtime";
6
- import { jsxs as _jsxs } from "react/jsx-runtime";
4
+ import { jsx as _jsx, Fragment as _Fragment, jsxs as _jsxs } from "react/jsx-runtime";
7
5
  function AlertModal(_ref) {
8
6
  let {
9
7
  title,
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { ModalProps } from './Modal';
3
2
  interface ConfirmModalProps extends Omit<ModalProps, 'head' | 'children'> {
4
3
  title: string;
@@ -9,5 +8,5 @@ interface ConfirmModalProps extends Omit<ModalProps, 'head' | 'children'> {
9
8
  onOk?: () => void;
10
9
  large?: boolean;
11
10
  }
12
- declare function ConfirmModal({ title, subtitle, cancel, ok, onCancel, onOk, large, body, className, ...props }: ConfirmModalProps): JSX.Element;
11
+ declare function ConfirmModal({ title, subtitle, cancel, ok, onCancel, onOk, large, body, className, ...props }: ConfirmModalProps): import("react/jsx-runtime").JSX.Element;
13
12
  export default ConfirmModal;
@@ -1,9 +1,7 @@
1
1
  import cn from 'classnames';
2
2
  import Modal from "./Modal.js";
3
3
  import ModalFooter from "./ModalFooter.js";
4
- import { jsx as _jsx } from "react/jsx-runtime";
5
- import { Fragment as _Fragment } from "react/jsx-runtime";
6
- import { jsxs as _jsxs } from "react/jsx-runtime";
4
+ import { jsx as _jsx, Fragment as _Fragment, jsxs as _jsxs } from "react/jsx-runtime";
7
5
  function ConfirmModal(_ref) {
8
6
  let {
9
7
  title,
@@ -1,9 +1,9 @@
1
- /// <reference types="react" />
2
1
  import { ModalBaseProps } from './ModalBase';
3
2
  interface CustomModalProps extends ModalBaseProps {
4
3
  large?: boolean;
5
4
  title?: string;
6
5
  subtitle?: string;
6
+ onCloseDone?: () => void;
7
7
  }
8
8
  declare const CustomModal: (props: CustomModalProps & import("react").RefAttributes<HTMLDivElement>) => import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | null;
9
9
  export default CustomModal;
@@ -1,8 +1,7 @@
1
1
  import cn from 'classnames';
2
2
  import { forwardRef } from 'react';
3
3
  import ModalBase from "./ModalBase.js";
4
- import { jsx as _jsx } from "react/jsx-runtime";
5
- import { jsxs as _jsxs } from "react/jsx-runtime";
4
+ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
6
5
  const CustomModal = /*#__PURE__*/forwardRef((_ref, ref) => {
7
6
  let {
8
7
  large,
@@ -1,7 +1,7 @@
1
1
  import './Modal.scss';
2
2
  import React from 'react';
3
3
  import { ModalBaseProps } from './ModalBase';
4
- export interface ModalProps extends ModalBaseProps {
4
+ export interface ModalProps extends Omit<ModalBaseProps, 'onCloseDone'> {
5
5
  head?: React.ReactNode;
6
6
  body: React.ReactNode;
7
7
  }
@@ -1,7 +1,6 @@
1
1
  import React, { forwardRef } from 'react';
2
2
  import ModalBase from "./ModalBase.js";
3
- import { jsx as _jsx } from "react/jsx-runtime";
4
- import { jsxs as _jsxs } from "react/jsx-runtime";
3
+ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
5
4
  const Modal = /*#__PURE__*/forwardRef((_ref, ref) => {
6
5
  let {
7
6
  head,
@@ -1,10 +1,10 @@
1
- /// <reference types="react" />
2
1
  import './Modal.scss';
3
2
  import { ClassNamePropsWithChildren } from '../../helper/types';
4
3
  export interface ModalBaseProps extends ClassNamePropsWithChildren {
5
4
  isOpen: boolean;
6
5
  isLoading?: boolean;
7
6
  onClose?: () => void;
7
+ onCloseDone?: () => void;
8
8
  }
9
9
  declare const ModalBase: (props: ModalBaseProps & import("react").RefAttributes<HTMLDivElement>) => import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | null;
10
10
  export default ModalBase;
@@ -8,14 +8,13 @@ import { CSSTransition } from 'react-transition-group';
8
8
  import { RemoveScroll } from 'react-remove-scroll';
9
9
  import useForkRef from "../../helper/useForkRef.js";
10
10
  import LoadingIndicator from "../loading-indicator/LoadingIndicator.js";
11
- import { jsx as _jsx } from "react/jsx-runtime";
12
- import { Fragment as _Fragment } from "react/jsx-runtime";
13
- import { jsxs as _jsxs } from "react/jsx-runtime";
11
+ import { jsx as _jsx, Fragment as _Fragment, jsxs as _jsxs } from "react/jsx-runtime";
14
12
  const ModalBase = /*#__PURE__*/forwardRef((_ref, ref) => {
15
13
  let {
16
14
  isOpen,
17
15
  isLoading,
18
16
  onClose,
17
+ onCloseDone,
19
18
  className,
20
19
  children
21
20
  } = _ref;
@@ -33,7 +32,7 @@ const ModalBase = /*#__PURE__*/forwardRef((_ref, ref) => {
33
32
  return () => container.removeEventListener('keydown', handleKeyDown);
34
33
  }, [onClose, isOpen, container]);
35
34
  return /*#__PURE__*/_jsx(_Fragment, {
36
- children: /*#__PURE__*/ReactDOM.createPortal( /*#__PURE__*/_jsxs(_Fragment, {
35
+ children: /*#__PURE__*/ReactDOM.createPortal(/*#__PURE__*/_jsxs(_Fragment, {
37
36
  children: [/*#__PURE__*/_jsx(CSSTransition, {
38
37
  classNames: "fr-modal-backdrop",
39
38
  in: isOpen,
@@ -51,6 +50,7 @@ const ModalBase = /*#__PURE__*/forwardRef((_ref, ref) => {
51
50
  }), /*#__PURE__*/_jsx(CSSTransition, {
52
51
  classNames: "fr-modal",
53
52
  in: isOpen && !isLoading,
53
+ onExited: onCloseDone,
54
54
  timeout: {
55
55
  exit: 300,
56
56
  enter: 100
@@ -65,9 +65,7 @@ const ModalBase = /*#__PURE__*/forwardRef((_ref, ref) => {
65
65
  if (e.target === e.currentTarget) {
66
66
  onClose?.();
67
67
  }
68
- }
69
- //
70
- ,
68
+ },
71
69
  className: "fr-modal-overlay-wrapper",
72
70
  children: /*#__PURE__*/_jsx(RemoveScroll, {
73
71
  ref: allRefs,
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { ClassNamePropsWithChildren } from '../../helper/types';
3
2
  declare const ModalFooter: (props: ClassNamePropsWithChildren & import("react").RefAttributes<HTMLDivElement>) => import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | null;
4
3
  export default ModalFooter;
@@ -1,10 +1,8 @@
1
1
  import React, { useEffect, useState } from 'react';
2
- import { TextInput } from "../../forms/text-input/TextInput.js";
2
+ import TextInput from "../../forms/text-input/TextInput.js";
3
3
  import Modal from "./Modal.js";
4
4
  import ModalFooter from "./ModalFooter.js";
5
- import { jsx as _jsx } from "react/jsx-runtime";
6
- import { Fragment as _Fragment } from "react/jsx-runtime";
7
- import { jsxs as _jsxs } from "react/jsx-runtime";
5
+ import { jsx as _jsx, Fragment as _Fragment, jsxs as _jsxs } from "react/jsx-runtime";
8
6
  export default function Prompt(_ref) {
9
7
  let {
10
8
  title,
@@ -15,5 +15,5 @@ export interface ImageGalleryProps extends ComponentPropsWithoutRef<'div'>, Moda
15
15
  onSlideChanged?: (index: number) => void;
16
16
  onScaleChange?: (value: boolean) => void;
17
17
  }
18
- export declare const ImageGallery: (props: ImageGalleryProps & import("react").RefAttributes<HTMLImageElement>) => import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | null;
18
+ declare const ImageGallery: (props: ImageGalleryProps & import("react").RefAttributes<HTMLImageElement>) => import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | null;
19
19
  export default ImageGallery;
@@ -7,9 +7,7 @@ import getClasses from "./ImageGallery.helper.js";
7
7
  import ImageGalleryContainer from "./internal/ImageGalleryContainer.js";
8
8
  import CloseButton from "./internal/CloseButton.js";
9
9
  import ScaleButton from "./internal/ScaleButton.js";
10
- import { jsx as _jsx } from "react/jsx-runtime";
11
- import { jsxs as _jsxs } from "react/jsx-runtime";
12
- import { Fragment as _Fragment } from "react/jsx-runtime";
10
+ import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-runtime";
13
11
  function getLength(pagination, images) {
14
12
  let length = 0;
15
13
  if (typeof pagination === 'number') {
@@ -19,7 +17,7 @@ function getLength(pagination, images) {
19
17
  }
20
18
  return length;
21
19
  }
22
- export const ImageGallery = /*#__PURE__*/forwardRef((_ref, ref) => {
20
+ const ImageGallery = /*#__PURE__*/forwardRef((_ref, ref) => {
23
21
  let {
24
22
  isOpen,
25
23
  startIndex,
@@ -10,13 +10,11 @@ import Asset7 from "../../../../../../web-essentials/stories/assets/gallery-07.w
10
10
  import Asset8 from "../../../../../../web-essentials/stories/assets/gallery-08.webp.js"; // @ts-ignore
11
11
  import Asset9 from "../../../../../../web-essentials/stories/assets/gallery-09.webp.js"; // @ts-ignore
12
12
  import AssetTen from "../../../../../../web-essentials/stories/assets/gallery-10.webp.js";
13
- import { jsx as _jsx } from "react/jsx-runtime";
14
- import { jsxs as _jsxs } from "react/jsx-runtime";
15
- import { Fragment as _Fragment } from "react/jsx-runtime";
13
+ import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-runtime";
16
14
  const images = [{
17
15
  src: Asset1,
18
16
  alt: 'Asset1',
19
- content: {
17
+ imageContent: {
20
18
  title: 'Asset 1',
21
19
  body: 'Asset 1 description'
22
20
  }
@@ -24,7 +22,7 @@ const images = [{
24
22
  src: Asset2,
25
23
  alt: 'Asset2',
26
24
  containMode: true,
27
- content: {
25
+ imageContent: {
28
26
  title: 'Asset 2',
29
27
  body: /*#__PURE__*/_jsxs(_Fragment, {
30
28
  children: [/*#__PURE__*/_jsx("p", {
@@ -42,56 +40,56 @@ const images = [{
42
40
  src: Asset3,
43
41
  alt: 'Asset3',
44
42
  containMode: true,
45
- content: {
43
+ imageContent: {
46
44
  title: 'Asset 3',
47
45
  body: 'Asset 3 description'
48
46
  }
49
47
  }, {
50
48
  src: Asset4,
51
49
  alt: 'Asset4',
52
- content: {
50
+ imageContent: {
53
51
  title: 'Asset 4',
54
52
  body: 'Asset 4 description'
55
53
  }
56
54
  }, {
57
55
  src: Asset5,
58
56
  alt: 'Asset5',
59
- content: {
57
+ imageContent: {
60
58
  title: 'Asset 5',
61
59
  body: 'Asset 5 description'
62
60
  }
63
61
  }, {
64
62
  src: Asset6,
65
63
  alt: 'Asset6',
66
- content: {
64
+ imageContent: {
67
65
  title: 'Asset 6',
68
66
  body: 'Asset 6 description'
69
67
  }
70
68
  }, {
71
69
  src: Asset7,
72
70
  alt: 'Asset7',
73
- content: {
71
+ imageContent: {
74
72
  title: 'Asset 7',
75
73
  body: 'Asset 7 description'
76
74
  }
77
75
  }, {
78
76
  src: Asset8,
79
77
  alt: 'Asset8',
80
- content: {
78
+ imageContent: {
81
79
  title: 'Asset 8',
82
80
  body: 'Asset 8 description'
83
81
  }
84
82
  }, {
85
83
  src: Asset9,
86
84
  alt: 'Asset9',
87
- content: {
85
+ imageContent: {
88
86
  title: 'Asset 9',
89
87
  body: 'Asset 9 description'
90
88
  }
91
89
  }, {
92
90
  src: AssetTen,
93
91
  alt: 'Asset10',
94
- content: {
92
+ imageContent: {
95
93
  title: 'Asset 10',
96
94
  body: 'Asset 1ß description'
97
95
  }
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  export interface ImageDescriptiveContent {
3
2
  title: string;
4
3
  body: React.ReactNode;
@@ -6,5 +5,5 @@ export interface ImageDescriptiveContent {
6
5
  interface ImageGalleryContentProps {
7
6
  imageContent?: ImageDescriptiveContent;
8
7
  }
9
- export default function ImageGalleryContent({ imageContent }: ImageGalleryContentProps): JSX.Element;
8
+ export default function ImageGalleryContent({ imageContent }: ImageGalleryContentProps): import("react/jsx-runtime").JSX.Element;
10
9
  export {};
@@ -1,6 +1,4 @@
1
- import { jsx as _jsx } from "react/jsx-runtime";
2
- import { jsxs as _jsxs } from "react/jsx-runtime";
3
- import { Fragment as _Fragment } from "react/jsx-runtime";
1
+ import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-runtime";
4
2
  export default function ImageGalleryContent(_ref) {
5
3
  let {
6
4
  imageContent
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { Swiper as SwiperClass } from 'swiper';
3
2
  interface ContextProps {
4
3
  thumbsSwiper: SwiperClass | null;
@@ -1,8 +1,7 @@
1
- /// <reference types="react" />
2
1
  interface ImageGallerySwiperProps {
3
2
  children: React.ReactNode;
4
3
  }
5
- declare function ImageGallerySwiper({ children }: ImageGallerySwiperProps): JSX.Element;
4
+ declare function ImageGallerySwiper({ children }: ImageGallerySwiperProps): import("react/jsx-runtime").JSX.Element;
6
5
  declare namespace ImageGallerySwiper {
7
6
  var displayName: string;
8
7
  }
@@ -1,6 +1,5 @@
1
- /// <reference types="react" />
2
1
  interface ImageGalleryThumbsSwiperProps {
3
2
  children: React.ReactNode;
4
3
  }
5
- export default function ImageGalleryThumbsSwiper({ children }: ImageGalleryThumbsSwiperProps): JSX.Element;
4
+ export default function ImageGalleryThumbsSwiper({ children }: ImageGalleryThumbsSwiperProps): import("react/jsx-runtime").JSX.Element;
6
5
  export {};
@@ -1,11 +1,10 @@
1
- /// <reference types="react" />
2
1
  import { SwiperSlideProps } from 'swiper/react';
3
2
  import './ImageGalleryItem.scss';
4
3
  interface ImageGalleryItemProps extends SwiperSlideProps {
5
4
  children: React.ReactNode;
6
5
  containMode?: boolean;
7
6
  }
8
- declare function ImageGalleryItem({ children, containMode, className, ...props }: ImageGalleryItemProps): JSX.Element;
7
+ declare function ImageGalleryItem({ children, containMode, className, ...props }: ImageGalleryItemProps): import("react/jsx-runtime").JSX.Element;
9
8
  declare namespace ImageGalleryItem {
10
9
  var displayName: string;
11
10
  }
@@ -13,5 +13,5 @@ interface BaseGalleryProps extends ClassNamePropsWithChildren {
13
13
  onSlideChanged?: (value: number) => void;
14
14
  startIndex?: number;
15
15
  }
16
- export default function BaseGallery({ images, thumbnailImages, onSlideChanged, startIndex, children, }: BaseGalleryProps): JSX.Element;
16
+ export default function BaseGallery({ images, thumbnailImages, onSlideChanged, startIndex, children, }: BaseGalleryProps): import("react/jsx-runtime").JSX.Element;
17
17
  export {};
@@ -3,9 +3,7 @@ import ImageGalleryContext from "../ImageGalleryContext.js";
3
3
  import ImageGalleryItem from "../image-gallery-item/ImageGalleryItem.js";
4
4
  import ImageGalleryThumbsSwiper from "../ImageGalleryThumbsSwiper.js";
5
5
  import ImageGallerySwiper from "../ImageGallerySwiper.js";
6
- import { jsx as _jsx } from "react/jsx-runtime";
7
- import { Fragment as _Fragment } from "react/jsx-runtime";
8
- import { jsxs as _jsxs } from "react/jsx-runtime";
6
+ import { jsx as _jsx, Fragment as _Fragment, jsxs as _jsxs } from "react/jsx-runtime";
9
7
  export default function BaseGallery(_ref) {
10
8
  let {
11
9
  images,
@@ -1,7 +1,6 @@
1
- /// <reference types="react" />
2
1
  interface CloseButtonProps {
3
2
  onClose?: () => void;
4
3
  showScaleButton?: boolean;
5
4
  }
6
- export default function CloseButton({ onClose, showScaleButton }: CloseButtonProps): JSX.Element;
5
+ export default function CloseButton({ onClose, showScaleButton }: CloseButtonProps): import("react/jsx-runtime").JSX.Element;
7
6
  export {};
@@ -1,7 +1,6 @@
1
- /// <reference types="react" />
2
1
  interface ImageGalleryContainerProps {
3
2
  children: React.ReactNode;
4
3
  descriptiveContent?: boolean;
5
4
  }
6
- export default function ImageGalleryContainer({ children, descriptiveContent, }: ImageGalleryContainerProps): JSX.Element;
5
+ export default function ImageGalleryContainer({ children, descriptiveContent, }: ImageGalleryContainerProps): import("react/jsx-runtime").JSX.Element;
7
6
  export {};
@@ -1,5 +1,4 @@
1
- import { jsx as _jsx } from "react/jsx-runtime";
2
- import { Fragment as _Fragment } from "react/jsx-runtime";
1
+ import { jsx as _jsx, Fragment as _Fragment } from "react/jsx-runtime";
3
2
  export default function ImageGalleryContainer(_ref) {
4
3
  let {
5
4
  children,
@@ -1,7 +1,6 @@
1
- /// <reference types="react" />
2
1
  interface ImageGalleryPaginationProps {
3
2
  currentIndex: number;
4
3
  length?: number;
5
4
  }
6
- export default function ImageGalleryPagination({ currentIndex, length, }: ImageGalleryPaginationProps): JSX.Element;
5
+ export default function ImageGalleryPagination({ currentIndex, length, }: ImageGalleryPaginationProps): import("react/jsx-runtime").JSX.Element;
7
6
  export {};
@@ -1,6 +1,4 @@
1
- import { jsx as _jsx } from "react/jsx-runtime";
2
- import { jsxs as _jsxs } from "react/jsx-runtime";
3
- import { Fragment as _Fragment } from "react/jsx-runtime";
1
+ import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-runtime";
4
2
  export default function ImageGalleryPagination(_ref) {
5
3
  let {
6
4
  currentIndex,
@@ -1,6 +1,5 @@
1
- /// <reference types="react" />
2
1
  interface ScaleButtonProps {
3
2
  onScaleChange?: (value: boolean) => void;
4
3
  }
5
- export default function ScaleButton({ onScaleChange }: ScaleButtonProps): JSX.Element;
4
+ export default function ScaleButton({ onScaleChange }: ScaleButtonProps): import("react/jsx-runtime").JSX.Element;
6
5
  export {};
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { ClassNameProps } from '../../helper/types';
3
2
  import './Pagination.scss';
4
3
  export declare enum PaginationType {
@@ -13,5 +12,5 @@ export interface PaginationProps extends ClassNameProps {
13
12
  defaultPageCurrent?: number;
14
13
  pageMax: number;
15
14
  }
16
- declare function Pagination(props: PaginationProps): JSX.Element;
15
+ declare function Pagination(props: PaginationProps): import("react/jsx-runtime").JSX.Element;
17
16
  export default Pagination;
@@ -1,14 +1,12 @@
1
1
  import React, { useEffect, useState } from 'react';
2
2
  import classNames from 'classnames';
3
- import { jsx as _jsx } from "react/jsx-runtime";
4
- import { Fragment as _Fragment } from "react/jsx-runtime";
5
- import { jsxs as _jsxs } from "react/jsx-runtime";
6
- export let PaginationType;
7
- (function (PaginationType) {
3
+ import { jsx as _jsx, Fragment as _Fragment, jsxs as _jsxs } from "react/jsx-runtime";
4
+ export let PaginationType = /*#__PURE__*/function (PaginationType) {
8
5
  PaginationType["Simple"] = "SIMPLE";
9
6
  PaginationType["Numeric"] = "NUMERIC";
10
7
  PaginationType["Dots"] = "DOTS";
11
- })(PaginationType || (PaginationType = {}));
8
+ return PaginationType;
9
+ }({});
12
10
  function Pagination(props) {
13
11
  const {
14
12
  pageMax,
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { PopoverProps } from '../popover/Popover';
3
2
  import './Legend.scss';
4
3
  interface Item {
@@ -8,5 +7,5 @@ interface Item {
8
7
  export interface LegendProps extends Omit<PopoverProps, 'popoverContent'> {
9
8
  items: Item[];
10
9
  }
11
- declare function Legend({ items, ...props }: LegendProps): JSX.Element;
10
+ declare function Legend({ items, ...props }: LegendProps): import("react/jsx-runtime").JSX.Element;
12
11
  export default Legend;
@@ -1,6 +1,5 @@
1
1
  import Popover from "../popover/Popover.js";
2
- import { jsx as _jsx } from "react/jsx-runtime";
3
- import { jsxs as _jsxs } from "react/jsx-runtime";
2
+ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
4
3
  function Legend(_ref) {
5
4
  let {
6
5
  items,
@@ -14,5 +14,5 @@ export interface PopoverProps extends ClassNamePropsWithChildren {
14
14
  stopPropagation?: boolean;
15
15
  arrow?: boolean;
16
16
  }
17
- declare function Popover({ popoverContent, children, position, fallbackPositions, open, onStatusChange, wrapper, className, flip, containerClassName, stopPropagation, arrow, }: PopoverProps): JSX.Element;
17
+ declare function Popover({ popoverContent, children, position, fallbackPositions, open, onStatusChange, wrapper, className, flip, containerClassName, stopPropagation, arrow, }: PopoverProps): import("react/jsx-runtime").JSX.Element;
18
18
  export default Popover;
@@ -3,9 +3,7 @@ import { usePopper } from 'react-popper';
3
3
  import classNames from 'classnames';
4
4
  import useOnClickOutside from "../../../helper/useOnClickOutside.js";
5
5
  import useForkRef from "../../../helper/useForkRef.js";
6
- import { jsx as _jsx } from "react/jsx-runtime";
7
- import { jsxs as _jsxs } from "react/jsx-runtime";
8
- import { Fragment as _Fragment } from "react/jsx-runtime";
6
+ import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-runtime";
9
7
  function Popover(_ref) {
10
8
  let {
11
9
  popoverContent,
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { PopoverProps } from '../popover/Popover';
3
2
  import './PopoverMenu.scss';
4
3
  interface PopoverMenuItem {
@@ -10,5 +9,5 @@ interface PopoverMenuItem {
10
9
  export interface PopoverMenuProps extends Omit<PopoverProps, 'popoverContent' | 'open' | 'onStatusChange'> {
11
10
  menu: PopoverMenuItem[];
12
11
  }
13
- declare function PopoverMenu({ children, menu, className, ...props }: PopoverMenuProps): JSX.Element;
12
+ declare function PopoverMenu({ children, menu, className, ...props }: PopoverMenuProps): import("react/jsx-runtime").JSX.Element;
14
13
  export default PopoverMenu;
@@ -2,8 +2,7 @@ import { useState } from 'react';
2
2
  import classNames from 'classnames';
3
3
  import Popover from "../popover/Popover.js";
4
4
  import IconWrapper from "../../icon-wrapper/IconWrapper.js";
5
- import { jsx as _jsx } from "react/jsx-runtime";
6
- import { jsxs as _jsxs } from "react/jsx-runtime";
5
+ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
7
6
  function PopoverMenu(_ref) {
8
7
  let {
9
8
  children,
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import type { Placement } from "@popperjs/core";
3
2
  import type { ClassNamePropsWithChildren } from "../../../helper/types";
4
3
  import "./Tooltip.scss";
@@ -6,5 +5,5 @@ export interface PopoverMenuProps extends ClassNamePropsWithChildren {
6
5
  title: string | JSX.Element;
7
6
  position?: Placement;
8
7
  }
9
- declare function Tooltip({ children, className, title, position, }: Readonly<PopoverMenuProps>): JSX.Element;
8
+ declare function Tooltip({ children, className, title, position, }: Readonly<PopoverMenuProps>): import("react/jsx-runtime").JSX.Element;
10
9
  export default Tooltip;
@@ -1,8 +1,7 @@
1
1
  import { useRef, useState } from "react";
2
2
  import { usePopper } from "react-popper";
3
3
  import classNames from "classnames";
4
- import { jsx as _jsx } from "react/jsx-runtime";
5
- import { jsxs as _jsxs } from "react/jsx-runtime";
4
+ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
6
5
  function Tooltip(_ref) {
7
6
  let {
8
7
  children,
@@ -1,9 +1,8 @@
1
- /// <reference types="react" />
2
1
  import { ClassNameProps } from '../../helper/types';
3
2
  interface ProgressProps extends ClassNameProps {
4
3
  progress: number;
5
4
  background?: 'white' | 'black' | 'background';
6
5
  error?: boolean;
7
6
  }
8
- declare function Progress({ background, error, progress, className }: ProgressProps): JSX.Element;
7
+ declare function Progress({ background, error, progress, className }: ProgressProps): import("react/jsx-runtime").JSX.Element;
9
8
  export default Progress;
@@ -1,6 +1,5 @@
1
- /// <reference types="react" />
2
1
  interface ScrollAreaProps extends React.ComponentPropsWithoutRef<'div'> {
3
2
  scrollbarMinSize?: number;
4
3
  }
5
- export default function ScrollArea({ children, scrollbarMinSize, ...props }: ScrollAreaProps): JSX.Element;
4
+ export default function ScrollArea({ children, scrollbarMinSize, ...props }: ScrollAreaProps): import("react/jsx-runtime").JSX.Element;
6
5
  export {};
@@ -1,2 +1,2 @@
1
1
  import { ComponentPropsWithoutRef } from 'react';
2
- export default function ClearButton(props: ComponentPropsWithoutRef<'div'>): JSX.Element;
2
+ export default function ClearButton(props: ComponentPropsWithoutRef<'div'>): import("react/jsx-runtime").JSX.Element;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './SearchInput.scss';
3
2
  import SearchSuggestion from './SearchSuggestion';
4
3
  interface SearchInputProps {
@@ -11,5 +10,5 @@ interface SearchInputProps {
11
10
  onKeyboardNavigate?: (value: string) => void;
12
11
  onSearch?: (value: string) => void;
13
12
  }
14
- declare function SearchInput({ defaultValue, disabled, label, value, suggestions, onChange, onSearch, onKeyboardNavigate, }: SearchInputProps): JSX.Element;
13
+ declare function SearchInput({ defaultValue, disabled, label, value, suggestions, onChange, onSearch, onKeyboardNavigate, }: SearchInputProps): import("react/jsx-runtime").JSX.Element;
15
14
  export default SearchInput;