@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
@@ -2,8 +2,7 @@ import { useRef } from 'react';
2
2
  import useSearchInput from "./useSearchInput.js";
3
3
  import useOnClickOutside from "../../helper/useOnClickOutside.js";
4
4
  import ClearButton from "./ClearButton.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 SearchInput(_ref) {
8
7
  let {
9
8
  defaultValue,
@@ -39,6 +38,7 @@ function SearchInput(_ref) {
39
38
  placeholder: label,
40
39
  onFocus: handleFocus,
41
40
  type: "search",
41
+ "aria-label": "Search",
42
42
  onInput: handleInput,
43
43
  onKeyDown: handleKeyDown,
44
44
  value: innerValue
@@ -55,6 +55,7 @@ function SearchInput(_ref) {
55
55
  _jsx("div", {
56
56
  role: "option",
57
57
  tabIndex: -1,
58
+ "aria-label": suggestion.value,
58
59
  "aria-selected": selectedSuggestionIndex === i,
59
60
  onClick: () => handleSuggestionClick(suggestion),
60
61
  className: `fwe-search-suggestion ${selectedSuggestionIndex === i ? 'fwe-selected' : ''}`,
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { ClassNameProps } from '../../helper/types';
3
2
  import './Snackbar.scss';
4
3
  export interface SnackbarConfig extends ClassNameProps {
@@ -19,5 +18,5 @@ export interface SnackbarProps {
19
18
  onClose?: () => void;
20
19
  first?: boolean;
21
20
  }
22
- declare function Snackbar(props: SnackbarProps): JSX.Element;
21
+ declare function Snackbar(props: SnackbarProps): import("react/jsx-runtime").JSX.Element;
23
22
  export default Snackbar;
@@ -1,8 +1,7 @@
1
1
  import { useEffect, useRef, useState } from 'react';
2
2
  import classNames from 'classnames';
3
3
  import { CSSTransition } from 'react-transition-group';
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 Snackbar(props) {
7
6
  const {
8
7
  data,
@@ -1,8 +1,7 @@
1
- /// <reference types="react" />
2
1
  import { ClassNamePropsWithChildren } from '../../helper/types';
3
2
  import { SnackbarConfig } from './Snackbar';
4
3
  interface SnackbarProviderProps extends ClassNamePropsWithChildren {
5
4
  config?: SnackbarConfig;
6
5
  }
7
- declare function SnackbarProvider(props: SnackbarProviderProps): JSX.Element;
6
+ declare function SnackbarProvider(props: SnackbarProviderProps): import("react/jsx-runtime").JSX.Element;
8
7
  export default SnackbarProvider;
@@ -2,8 +2,7 @@ import { useCallback, useMemo, useState } from 'react';
2
2
  import classNames from 'classnames';
3
3
  import Snackbar from "./Snackbar.js";
4
4
  import SnackbarContext from "./SnackbarContext.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 SnackbarProvider(props) {
8
7
  const {
9
8
  config = {
@@ -1,3 +1,3 @@
1
1
  import { useContext } from 'react';
2
2
  import SnackbarContext from "./SnackbarContext.js";
3
- export default (() => useContext(SnackbarContext));
3
+ export default () => useContext(SnackbarContext);
@@ -3,5 +3,5 @@ interface StepperHorizontalProps extends Omit<ComponentPropsWithoutRef<'div'>, '
3
3
  stepIndex?: number;
4
4
  onChange?: (stepIndex: number) => void;
5
5
  }
6
- export declare const StepperHorizontal: (props: StepperHorizontalProps & React.RefAttributes<HTMLDivElement>) => React.ReactElement<any, string | React.JSXElementConstructor<any>> | null;
6
+ declare const StepperHorizontal: (props: StepperHorizontalProps & React.RefAttributes<HTMLDivElement>) => React.ReactElement<any, string | React.JSXElementConstructor<any>> | null;
7
7
  export default StepperHorizontal;
@@ -1,9 +1,7 @@
1
1
  import cn from 'classnames';
2
2
  import React, { forwardRef } from 'react';
3
- import { jsx as _jsx } from "react/jsx-runtime";
4
- import { jsxs as _jsxs } from "react/jsx-runtime";
5
- import { Fragment as _Fragment } from "react/jsx-runtime";
6
- export const StepperHorizontal = /*#__PURE__*/forwardRef((_ref, ref) => {
3
+ import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-runtime";
4
+ const StepperHorizontal = /*#__PURE__*/forwardRef((_ref, ref) => {
7
5
  let {
8
6
  children,
9
7
  className,
@@ -3,5 +3,5 @@ interface StepperVerticalProps extends Omit<ComponentPropsWithoutRef<'div'>, 'on
3
3
  stepIndex?: number;
4
4
  onChange?: (stepIndex: number) => void;
5
5
  }
6
- export declare const StepperVertical: (props: StepperVerticalProps & React.RefAttributes<HTMLDivElement>) => React.ReactElement<any, string | React.JSXElementConstructor<any>> | null;
6
+ declare const StepperVertical: (props: StepperVerticalProps & React.RefAttributes<HTMLDivElement>) => React.ReactElement<any, string | React.JSXElementConstructor<any>> | null;
7
7
  export default StepperVertical;
@@ -1,7 +1,7 @@
1
1
  import cn from 'classnames';
2
2
  import React, { forwardRef } from 'react';
3
3
  import { jsx as _jsx } from "react/jsx-runtime";
4
- export const StepperVertical = /*#__PURE__*/forwardRef((_ref, ref) => {
4
+ const StepperVertical = /*#__PURE__*/forwardRef((_ref, ref) => {
5
5
  let {
6
6
  children,
7
7
  className,
@@ -15,7 +15,7 @@ export const StepperVertical = /*#__PURE__*/forwardRef((_ref, ref) => {
15
15
  }
16
16
  }
17
17
  const stepComponents = React.Children.map(children, (child, i) => {
18
- if ( /*#__PURE__*/React.isValidElement(child)) {
18
+ if (/*#__PURE__*/React.isValidElement(child)) {
19
19
  return /*#__PURE__*/React.cloneElement(child, {
20
20
  ...child.props,
21
21
  isActive: i === stepIndex,
@@ -1,7 +1,6 @@
1
1
  import cn from 'classnames';
2
2
  import { forwardRef, useEffect, useRef } from 'react';
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 StepVertical = /*#__PURE__*/forwardRef((_ref, ref) => {
6
5
  let {
7
6
  children,
@@ -19,5 +19,5 @@ interface TabsProps extends Omit<ComponentPropsWithoutRef<'div'>, 'onChange'> {
19
19
  current: string;
20
20
  }) => void;
21
21
  }
22
- export declare const Tabs: (props: TabsProps & React.RefAttributes<HTMLDivElement>) => React.ReactElement<any, string | React.JSXElementConstructor<any>> | null;
22
+ declare const Tabs: (props: TabsProps & React.RefAttributes<HTMLDivElement>) => React.ReactElement<any, string | React.JSXElementConstructor<any>> | null;
23
23
  export default Tabs;
@@ -4,11 +4,9 @@ import useForkRef from "../../helper/useForkRef.js";
4
4
  import useTabScroll from "./useTabScroll.js";
5
5
  import IconWrapper from "../icon-wrapper/IconWrapper.js"; // legacy: recommended for desktop only applications
6
6
  // responsive: desktop, tablet, mobile with scrollable tabs
7
- import { jsx as _jsx } from "react/jsx-runtime";
8
- import { jsxs as _jsxs } from "react/jsx-runtime";
9
- import { Fragment as _Fragment } from "react/jsx-runtime";
7
+ import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-runtime";
10
8
  let nextId = 0;
11
- export const Tabs = /*#__PURE__*/forwardRef((_ref, ref) => {
9
+ const Tabs = /*#__PURE__*/forwardRef((_ref, ref) => {
12
10
  let {
13
11
  config,
14
12
  children,
@@ -27,7 +25,7 @@ export const Tabs = /*#__PURE__*/forwardRef((_ref, ref) => {
27
25
  const observer = useRef(null);
28
26
  let activeId = '';
29
27
  React.Children.forEach(children, (element, i) => {
30
- if ( /*#__PURE__*/React.isValidElement(element)) {
28
+ if (/*#__PURE__*/React.isValidElement(element)) {
31
29
  if (activeId === '') {
32
30
  activeId = `${componentId.current}-tab-panel-${i}`;
33
31
  } else if (element.props.active) {
@@ -37,7 +35,7 @@ export const Tabs = /*#__PURE__*/forwardRef((_ref, ref) => {
37
35
  });
38
36
  const [currentId, setId] = useState(activeId);
39
37
  const innerChildren = React.Children.map(children, (element, i) => {
40
- if ( /*#__PURE__*/isValidElement(element)) {
38
+ if (/*#__PURE__*/isValidElement(element)) {
41
39
  const newId = `${componentId.current}-tab-panel-${i}`;
42
40
  return /*#__PURE__*/React.cloneElement(element, {
43
41
  isVisible: newId === currentId,
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  export type Tab = {
3
2
  icon?: React.ReactNode;
4
3
  active?: boolean;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { ClassNamePropsWithChildren } from '../../../helper/types';
3
2
  import { Tab } from '../interfaces';
4
3
  import './TabPane.scss';
@@ -7,5 +6,5 @@ export interface TabPaneProps extends ClassNamePropsWithChildren, Tab {
7
6
  isVisible?: boolean;
8
7
  tabId?: string;
9
8
  }
10
- declare function TabPane({ isVisible, children, className, tabId, id }: TabPaneProps): JSX.Element;
9
+ declare function TabPane({ isVisible, children, className, tabId, id }: TabPaneProps): import("react/jsx-runtime").JSX.Element;
11
10
  export default TabPane;
@@ -2,6 +2,7 @@ import { useState } from 'react';
2
2
 
3
3
  // provides details about the left and right edges of the tab element and the tab content element
4
4
  // these values are used to determine the visual position of the tab with respect of its parent container
5
+
5
6
  const useTabScroll = (tabLength, componentId, refs) => {
6
7
  const {
7
8
  elRef,
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  export interface TableHeaderCellProps extends React.ThHTMLAttributes<HTMLTableCellElement> {
3
2
  active?: boolean;
4
3
  ascending: boolean;
@@ -13,5 +13,5 @@ export interface CheckboxProps extends Omit<React.InputHTMLAttributes<HTMLInputE
13
13
  disabled?: boolean;
14
14
  indeterminate?: boolean;
15
15
  }
16
- declare function Checkbox({ id, checked: checkedProp, defaultChecked, onChange, name, large, valid, labelPosition, required, disabled, indeterminate, children, className, ...props }: CheckboxProps): JSX.Element;
16
+ declare function Checkbox({ id, checked: checkedProp, defaultChecked, onChange, name, large, valid, labelPosition, required, disabled, indeterminate, children, className, ...props }: CheckboxProps): import("react/jsx-runtime").JSX.Element;
17
17
  export default Checkbox;
@@ -1,8 +1,7 @@
1
1
  import classNames from 'classnames';
2
2
  import React from 'react';
3
3
  import useControlled from "../../helper/useControlled.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
  function Checkbox(_ref) {
7
6
  let {
8
7
  id,
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { ClassNamePropsWithChildren } from '../../helper/types';
3
2
  import './ColorIndicator.scss';
4
3
  interface ColorIndicatorProps extends ClassNamePropsWithChildren {
@@ -8,5 +7,5 @@ interface ColorIndicatorProps extends ClassNamePropsWithChildren {
8
7
  showPopOver?: boolean;
9
8
  disabled?: boolean;
10
9
  }
11
- declare function ColorIndicator({ text, label, color, className, showPopOver, children, disabled, }: ColorIndicatorProps): JSX.Element;
10
+ declare function ColorIndicator({ text, label, color, className, showPopOver, children, disabled, }: ColorIndicatorProps): import("react/jsx-runtime").JSX.Element;
12
11
  export default ColorIndicator;
@@ -1,9 +1,7 @@
1
1
  import React, { useState } from 'react';
2
2
  import classNames from 'classnames';
3
3
  import Popover from "../../components/popovers/popover/Popover.js";
4
- import { jsx as _jsx } from "react/jsx-runtime";
5
- import { jsxs as _jsxs } from "react/jsx-runtime";
6
- import { Fragment as _Fragment } from "react/jsx-runtime";
4
+ import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-runtime";
7
5
  function ColorIndicator(_ref) {
8
6
  let {
9
7
  text,
@@ -20,7 +18,6 @@ function ColorIndicator(_ref) {
20
18
  if (!color || color.toUpperCase() === '#FFFFFF' || color.toUpperCase() === '#F0F2F3') {
21
19
  return '#b6bec6'; // = $control-border
22
20
  }
23
-
24
21
  return color;
25
22
  }
26
23
  const colorBox = /*#__PURE__*/_jsx("div", {
@@ -30,7 +30,6 @@ export default class ColorHelper {
30
30
  default:
31
31
  // no other option
32
32
  }
33
-
34
33
  h /= 6;
35
34
  }
36
35
  return {
@@ -88,7 +87,6 @@ export default class ColorHelper {
88
87
  default:
89
88
  // no other option
90
89
  }
91
-
92
90
  return {
93
91
  r: this.limitToByte(r * 255),
94
92
  g: this.limitToByte(g * 255),
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './ColorPicker.scss';
3
2
  import { ClassNameProps } from '../../helper/types';
4
3
  export declare const PREDEFINED_COLORS: string[];
@@ -11,5 +10,5 @@ interface ColorPickerProps extends ClassNameProps {
11
10
  onChange?: (color?: string | null) => void;
12
11
  onAlphaChange?: (alpha?: number) => void;
13
12
  }
14
- declare function ColorPicker({ palette, useAlpha, alpha, paletteOnly, color, onChange, onAlphaChange, className, }: ColorPickerProps): JSX.Element;
13
+ declare function ColorPicker({ palette, useAlpha, alpha, paletteOnly, color, onChange, onAlphaChange, className, }: ColorPickerProps): import("react/jsx-runtime").JSX.Element;
15
14
  export default ColorPicker;
@@ -1,15 +1,13 @@
1
1
  /* eslint-disable jsx-a11y/no-static-element-interactions */
2
2
  /* eslint-disable jsx-a11y/click-events-have-key-events */
3
- import React, { useCallback, useEffect, useState } from 'react';
3
+ import React, { useRef, useCallback, useEffect, useState } from 'react';
4
4
  import Draggable from 'react-draggable';
5
5
  import classNames from 'classnames';
6
6
  import ColorHelper from "./ColorHelper.js";
7
7
  import useId from "../../helper/useId.js";
8
8
  import IconCheckSmall from "../../components/icons/check-small.js";
9
9
  import IconCollapse from "../../components/icons/collapse.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
  export const PREDEFINED_COLORS = ['#0091dc', '#333333', '#ffffff', '#f0f2f3', '#e2e5e8', '#d3d8dd', '#b6bec6', '#80ca3d', '#ffd600', '#ff9600', '#d50000'];
14
12
  function ColorPicker(_ref) {
15
13
  let {
@@ -45,6 +43,9 @@ function ColorPicker(_ref) {
45
43
  const blueId = useId();
46
44
  const hexId = useId();
47
45
  const alphaId = useId();
46
+ const gradientKnobRef = useRef(null);
47
+ const hueKnobRef = useRef(null);
48
+ const alphaKnobRef = useRef(null);
48
49
  function limitAlpha() {
49
50
  if (innerAlpha > 100) {
50
51
  return 100;
@@ -164,7 +165,6 @@ function ColorPicker(_ref) {
164
165
  default:
165
166
  // no other value possible
166
167
  }
167
-
168
168
  if (typeof currentInput !== 'number' || typeof currentInput === 'number' && currentInput > 255 && currentInput < 0) {
169
169
  const rgb = ColorHelper.hexToRgb(innerColor || '#FFFFFF');
170
170
  if (rgb) {
@@ -188,7 +188,6 @@ function ColorPicker(_ref) {
188
188
  default:
189
189
  // no other value possible
190
190
  }
191
-
192
191
  if (numberValue <= 255 && numberValue >= 0) {
193
192
  const rgb = ColorHelper.hexToRgb(innerColor || '#FFFFFF');
194
193
  if (rgb) {
@@ -249,8 +248,10 @@ function ColorPicker(_ref) {
249
248
  },
250
249
  onDrag: (e, data) => onGradientDrag(e, data),
251
250
  bounds: "parent",
251
+ nodeRef: gradientKnobRef,
252
252
  children: /*#__PURE__*/_jsx("div", {
253
- className: "fwe-knob"
253
+ className: "fwe-knob",
254
+ ref: gradientKnobRef
254
255
  })
255
256
  })]
256
257
  }), /*#__PURE__*/_jsxs("div", {
@@ -272,11 +273,13 @@ function ColorPicker(_ref) {
272
273
  },
273
274
  onDrag: (e, data) => onHueDrag(e, data),
274
275
  bounds: "parent",
276
+ nodeRef: hueKnobRef,
275
277
  children: /*#__PURE__*/_jsx("div", {
276
278
  className: "fwe-knob",
277
279
  style: {
278
280
  background: `hsl(${hsv.h * 360}, 100%, 50%)`
279
- }
281
+ },
282
+ ref: hueKnobRef
280
283
  })
281
284
  })]
282
285
  }), useAlpha && /*#__PURE__*/_jsxs("div", {
@@ -355,8 +358,10 @@ function ColorPicker(_ref) {
355
358
  },
356
359
  onDrag: (e, data) => onAlphaDrag(e, data),
357
360
  bounds: "parent",
361
+ nodeRef: alphaKnobRef,
358
362
  children: /*#__PURE__*/_jsx("div", {
359
- className: "fwe-knob"
363
+ className: "fwe-knob",
364
+ ref: alphaKnobRef
360
365
  })
361
366
  })]
362
367
  })]
@@ -392,6 +397,7 @@ function ColorPicker(_ref) {
392
397
  }), /*#__PURE__*/_jsxs("div", {
393
398
  className: "fwe-d-flex",
394
399
  children: [inputType === 'HEX' && /*#__PURE__*/_jsx("label", {
400
+ "aria-label": "Hexadecimal Color",
395
401
  className: "fwe-input-text fwe-hex-input",
396
402
  htmlFor: hexId,
397
403
  children: /*#__PURE__*/_jsx("input", {
@@ -403,6 +409,7 @@ function ColorPicker(_ref) {
403
409
  })
404
410
  }), inputType === 'RGB' && /*#__PURE__*/_jsxs(_Fragment, {
405
411
  children: [/*#__PURE__*/_jsx("label", {
412
+ "aria-label": "RGB Color Red",
406
413
  className: "fwe-input-text fwe-red-input",
407
414
  htmlFor: redId,
408
415
  children: /*#__PURE__*/_jsx("input", {
@@ -413,6 +420,7 @@ function ColorPicker(_ref) {
413
420
  id: redId
414
421
  })
415
422
  }), /*#__PURE__*/_jsx("label", {
423
+ "aria-label": "RGB Color Green",
416
424
  className: "fwe-input-text fwe-green-input",
417
425
  htmlFor: greenId,
418
426
  children: /*#__PURE__*/_jsx("input", {
@@ -423,6 +431,7 @@ function ColorPicker(_ref) {
423
431
  id: greenId
424
432
  })
425
433
  }), /*#__PURE__*/_jsx("label", {
434
+ "aria-label": "RGB Color Blue",
426
435
  className: "fwe-input-text fwe-blue-input",
427
436
  htmlFor: blueId,
428
437
  children: /*#__PURE__*/_jsx("input", {
@@ -434,6 +443,7 @@ function ColorPicker(_ref) {
434
443
  })
435
444
  })]
436
445
  }), useAlpha && /*#__PURE__*/_jsx("label", {
446
+ "aria-label": "Alpha Channel",
437
447
  className: "fwe-input-text fwe-alpha-input fwe-ml-auto",
438
448
  htmlFor: alphaId,
439
449
  children: /*#__PURE__*/_jsxs("span", {
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { ClassNamePropsWithChildren } from '../../helper/types';
3
2
  import './DatePicker.scss';
4
3
  export interface DatePickerOptions {
@@ -18,5 +17,5 @@ export interface DatePickerProps extends ClassNamePropsWithChildren {
18
17
  onChange?: (date: Date) => void;
19
18
  id?: string;
20
19
  }
21
- declare function DatePicker({ children, className, disabled, required, error, hint, value, defaultValue, formatDate, options, onChange, id: idProps, }: DatePickerProps): JSX.Element;
20
+ declare function DatePicker({ children, className, disabled, required, error, hint, value, defaultValue, formatDate, options, onChange, id: idProps, }: DatePickerProps): import("react/jsx-runtime").JSX.Element;
22
21
  export default DatePicker;
@@ -2,8 +2,7 @@ import { useEffect, useRef, useState } from 'react';
2
2
  import classNames from 'classnames';
3
3
  import flatpickr from 'flatpickr';
4
4
  import useId from "../../helper/useId.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 DatePicker(_ref) {
8
7
  let {
9
8
  children,
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { ClassNamePropsWithChildren } from '../../helper/types';
3
2
  import './DateRangePicker.scss';
4
3
  export interface DatePickerOptions {
@@ -16,5 +15,5 @@ export interface DateRangePickerProps extends ClassNamePropsWithChildren {
16
15
  options?: DatePickerOptions;
17
16
  onChange?: (dates: Date[]) => void;
18
17
  }
19
- declare function DateRangePicker({ children, className, disabled, error, formatDate, hint, onChange, options, required, defaultValue, }: DateRangePickerProps): JSX.Element;
18
+ declare function DateRangePicker({ children, className, disabled, error, formatDate, hint, onChange, options, required, defaultValue, }: DateRangePickerProps): import("react/jsx-runtime").JSX.Element;
20
19
  export default DateRangePicker;
@@ -3,8 +3,7 @@ import flatpickr from 'flatpickr';
3
3
  import rangePlugin from 'flatpickr/dist/plugins/rangePlugin.js';
4
4
  import { useEffect, useRef, useState } from 'react';
5
5
  import useId from "../../helper/useId.js";
6
- import { jsx as _jsx } from "react/jsx-runtime";
7
- import { jsxs as _jsxs } from "react/jsx-runtime";
6
+ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
8
7
  function DateRangePicker(_ref) {
9
8
  let {
10
9
  children,
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { ClassNamePropsWithChildren } from '../../helper/types';
3
2
  export interface RadioProps extends ClassNamePropsWithChildren {
4
3
  id?: string;
@@ -12,5 +11,5 @@ export interface RadioProps extends ClassNamePropsWithChildren {
12
11
  disabled?: boolean;
13
12
  required?: boolean;
14
13
  }
15
- declare function Radio(props: RadioProps): JSX.Element;
14
+ declare function Radio(props: RadioProps): import("react/jsx-runtime").JSX.Element;
16
15
  export default Radio;
@@ -2,8 +2,7 @@ import { useContext } from 'react';
2
2
  import classNames from 'classnames';
3
3
  import RadioGroupContext from "./RadioGroupContext.js";
4
4
  import useId from "../../helper/useId.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 Radio(props) {
8
7
  const {
9
8
  id: idProps,
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  interface ContextProps {
3
2
  name: string;
4
3
  value: string;
@@ -10,5 +10,5 @@ interface SegmentProps extends ClassNamePropsWithChildren {
10
10
  onChange?: (event: React.ChangeEvent<HTMLInputElement>, value: any) => void;
11
11
  value?: any;
12
12
  }
13
- declare function Segment(props: SegmentProps): JSX.Element;
13
+ declare function Segment(props: SegmentProps): import("react/jsx-runtime").JSX.Element;
14
14
  export default Segment;
@@ -1,8 +1,7 @@
1
1
  import classNames from 'classnames';
2
2
  import React from 'react';
3
3
  import useControlled from "../../helper/useControlled.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 defaultConfig = {
7
6
  outline: true,
8
7
  iconOnly: true
@@ -11,5 +11,5 @@ export interface SegmentControlProps extends ClassNameProps {
11
11
  id?: string;
12
12
  iconOnly?: boolean;
13
13
  }
14
- declare function SegmentControl(props: SegmentControlProps): JSX.Element;
14
+ declare function SegmentControl(props: SegmentControlProps): import("react/jsx-runtime").JSX.Element;
15
15
  export default SegmentControl;
@@ -1,9 +1,7 @@
1
1
  import React, { useRef } from 'react';
2
2
  import classNames from 'classnames';
3
3
  import IconWrapper from "../../../components/icon-wrapper/IconWrapper.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 SegmentControl(props) {
8
6
  const {
9
7
  label,
@@ -19,7 +19,7 @@ export interface SelectProps<T> extends Omit<ComponentPropsWithoutRef<'div'>, 'o
19
19
  onOpenChange?: (value: boolean) => void;
20
20
  renderLabelContent?: (label?: string | string[]) => JSX.Element;
21
21
  }
22
- declare function SelectComponent<T>({ defaultValue, open, defaultOpen, value: controlled, label, options, onChange, required, config, disabled, name, id, children, hint, error, onOpenChange, renderLabelContent, ...props }: SelectProps<T>, ref: Ref<HTMLDivElement>): JSX.Element;
22
+ declare function SelectComponent<T>({ defaultValue, open, defaultOpen, value: controlled, label, options, onChange, required, config, disabled, name, id, children, hint, error, onOpenChange, renderLabelContent, ...props }: SelectProps<T>, ref: Ref<HTMLDivElement>): import("react/jsx-runtime").JSX.Element;
23
23
  declare const Select: <T>(props: SelectProps<T> & {
24
24
  ref?: Ref<HTMLDivElement> | undefined;
25
25
  }) => ReturnType<typeof SelectComponent>;
@@ -4,8 +4,7 @@ import useControlled from "../../helper/useControlled.js";
4
4
  import { Wrapper, HiddenInput, SelectButton, OptionsContainer, SelectLabel } from "./internal/index.js";
5
5
  import useForkRef from "../../helper/useForkRef.js";
6
6
  import getChildren from "./internal/utils.js";
7
- import { jsx as _jsx } from "react/jsx-runtime";
8
- import { jsxs as _jsxs } from "react/jsx-runtime";
7
+ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
9
8
  function SelectComponent(_ref, ref) {
10
9
  let {
11
10
  defaultValue = '',
@@ -93,7 +92,7 @@ function SelectComponent(_ref, ref) {
93
92
  }), error && /*#__PURE__*/_jsx("div", {
94
93
  className: "fwe-select-invalid",
95
94
  children: error
96
- }), focused && /*#__PURE__*/ReactDOM.createPortal( /*#__PURE__*/_jsx(OptionsContainer, {
95
+ }), focused && /*#__PURE__*/ReactDOM.createPortal(/*#__PURE__*/_jsx(OptionsContainer, {
97
96
  multiple: multiple,
98
97
  ref: innerRef,
99
98
  config: config,
@@ -1,9 +1,8 @@
1
- /// <reference types="react" />
2
1
  import { SelectOptionType } from '../select-option/SelectOption';
3
2
  interface HiddenInputProps<T> {
4
3
  value: any;
5
4
  onChange: (value: SelectOptionType<T>) => void;
6
5
  options: SelectOptionType<T>[];
7
6
  }
8
- export default function HiddenInput<T>({ value, onChange, options }: HiddenInputProps<T>): JSX.Element;
7
+ export default function HiddenInput<T>({ value, onChange, options }: HiddenInputProps<T>): import("react/jsx-runtime").JSX.Element;
9
8
  export {};
@@ -11,7 +11,7 @@ export interface ListItemProps<T> extends React.ComponentPropsWithoutRef<'li'> {
11
11
  selectedLabel?: string | string[];
12
12
  withCheckbox?: boolean;
13
13
  }
14
- declare function ListItemComponent<T>({ children, className, empty, options, onClose, onOptionChange, index, selectedLabel, item, withCheckbox, onFocusChange, ...restProps }: ListItemProps<T>, ref: Ref<RefObject<HTMLLIElement>[]>): JSX.Element;
14
+ declare function ListItemComponent<T>({ children, className, empty, options, onClose, onOptionChange, index, selectedLabel, item, withCheckbox, onFocusChange, ...restProps }: ListItemProps<T>, ref: Ref<RefObject<HTMLLIElement>[]>): import("react/jsx-runtime").JSX.Element;
15
15
  declare const ListItem: <T>(props: ListItemProps<T> & {
16
16
  ref?: React.Ref<React.RefObject<HTMLLIElement>[]> | undefined;
17
17
  }) => ReturnType<typeof ListItemComponent>;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  interface SelectButtonProps {
3
2
  onToggle: () => void;
4
3
  focused?: boolean;
@@ -1,8 +1,7 @@
1
- /// <reference types="react" />
2
1
  interface SelectButtonContentProps {
3
2
  label?: string | string[];
4
3
  renderLabelContent?: (label?: string | string[]) => JSX.Element;
5
4
  onClick: (label: string) => void;
6
5
  }
7
- export default function SelectButtonContent({ label, renderLabelContent, onClick, }: SelectButtonContentProps): JSX.Element;
6
+ export default function SelectButtonContent({ label, renderLabelContent, onClick, }: SelectButtonContentProps): import("react/jsx-runtime").JSX.Element;
8
7
  export {};
@@ -1,9 +1,7 @@
1
1
  /* eslint-disable jsx-a11y/no-static-element-interactions */
2
2
  /* eslint-disable jsx-a11y/click-events-have-key-events */
3
3
  import IconCloseSmall from "../../../components/icons/close-small.js";
4
- import { jsx as _jsx } from "react/jsx-runtime";
5
- import { jsxs as _jsxs } from "react/jsx-runtime";
6
- import { Fragment as _Fragment } from "react/jsx-runtime";
4
+ import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-runtime";
7
5
  export default function SelectButtonContent(_ref) {
8
6
  let {
9
7
  label,
@@ -1,5 +1,4 @@
1
- /// <reference types="react" />
2
1
  import { CheckboxProps } from '../../checkbox/Checkbox';
3
2
  export default function SelectCheckbox({ children, withCheckbox, ...props }: CheckboxProps & {
4
3
  withCheckbox?: boolean;
5
- }): JSX.Element;
4
+ }): import("react/jsx-runtime").JSX.Element;
@@ -1,6 +1,5 @@
1
1
  import Checkbox from "../../checkbox/Checkbox.js";
2
- import { jsx as _jsx } from "react/jsx-runtime";
3
- import { Fragment as _Fragment } from "react/jsx-runtime";
2
+ import { jsx as _jsx, Fragment as _Fragment } from "react/jsx-runtime";
4
3
  export default function SelectCheckbox(_ref) {
5
4
  let {
6
5
  children,