@festo-ui/react 8.2.0-dev.582 → 8.2.0-dev.584

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 (246) hide show
  1. package/index.css +1 -1
  2. package/index.d.ts +63 -63
  3. package/lib/components/accordion/Accordion.d.ts +3 -3
  4. package/lib/components/accordion/Accordion.js +6 -6
  5. package/lib/components/accordion/AccordionContext.js +1 -1
  6. package/lib/components/accordion/accordion-header/AccordionHeader.d.ts +1 -1
  7. package/lib/components/accordion/accordion-header/AccordionHeader.js +3 -3
  8. package/lib/components/accordion/accordion-item/AccordionItem.d.ts +3 -3
  9. package/lib/components/accordion/accordion-item/AccordionItem.js +6 -6
  10. package/lib/components/accordion/accordion-item/AccordionItemContext.js +1 -1
  11. package/lib/components/accordion/accordion-item/accordion-item-body/AccordionItemBody.d.ts +1 -1
  12. package/lib/components/accordion/accordion-item/accordion-item-body/AccordionItemBody.js +7 -7
  13. package/lib/components/accordion/accordion-item/accordion-item-header/AccordionItemHeader.d.ts +1 -1
  14. package/lib/components/accordion/accordion-item/accordion-item-header/AccordionItemHeader.js +5 -5
  15. package/lib/components/bottom-sheet/BottomSheet.d.ts +1 -1
  16. package/lib/components/bottom-sheet/BottomSheet.js +11 -11
  17. package/lib/components/bottom-sheet/BottomSheet.stories.d.ts +2 -2
  18. package/lib/components/bottom-sheet/BottomSheet.stories.js +3 -3
  19. package/lib/components/breadcrumb/Breadcrumb.d.ts +2 -2
  20. package/lib/components/breadcrumb/Breadcrumb.js +4 -4
  21. package/lib/components/buttons/button/Button.d.ts +2 -2
  22. package/lib/components/buttons/button/Button.js +10 -10
  23. package/lib/components/buttons/button/Button.stories.d.ts +2 -2
  24. package/lib/components/buttons/button/Button.stories.js +10 -10
  25. package/lib/components/card/Card.d.ts +1 -1
  26. package/lib/components/card/Card.js +2 -2
  27. package/lib/components/card/CardBody.d.ts +1 -1
  28. package/lib/components/card/CardBody.js +2 -2
  29. package/lib/components/card/CardHeader.d.ts +1 -1
  30. package/lib/components/card/CardHeader.js +3 -3
  31. package/lib/components/card/CardHeader.stories.helper.d.ts +1 -1
  32. package/lib/components/card/CardHeader.stories.helper.js +2 -2
  33. package/lib/components/card/CardNotification.d.ts +1 -1
  34. package/lib/components/chips/chip/Chip.d.ts +1 -1
  35. package/lib/components/chips/chip/Chip.js +8 -8
  36. package/lib/components/chips/chip-container/ChipContainer.d.ts +1 -1
  37. package/lib/components/chips/chip-container/ChipContainer.js +3 -3
  38. package/lib/components/icon-wrapper/IconWrapper.js +2 -2
  39. package/lib/components/link-button/LinkButton.d.ts +2 -2
  40. package/lib/components/link-button/LinkButton.js +5 -5
  41. package/lib/components/loading-indicator/LoadingIndicator.d.ts +4 -4
  42. package/lib/components/loading-indicator/LoadingIndicator.js +8 -8
  43. package/lib/components/mobile-flyout/MobileFlyout.d.ts +2 -2
  44. package/lib/components/mobile-flyout/MobileFlyout.js +7 -7
  45. package/lib/components/mobile-flyout/MobileFlyoutContext.js +1 -1
  46. package/lib/components/mobile-flyout/mobile-flyout-page/MobileFlyoutPage.d.ts +2 -2
  47. package/lib/components/mobile-flyout/mobile-flyout-page/MobileFlyoutPage.js +5 -5
  48. package/lib/components/modals/AlertModal.d.ts +3 -3
  49. package/lib/components/modals/AlertModal.js +10 -10
  50. package/lib/components/modals/ConfirmModal.d.ts +2 -2
  51. package/lib/components/modals/ConfirmModal.js +3 -3
  52. package/lib/components/modals/CustomModal.d.ts +1 -1
  53. package/lib/components/modals/CustomModal.js +3 -3
  54. package/lib/components/modals/Modal.d.ts +4 -4
  55. package/lib/components/modals/Modal.js +1 -1
  56. package/lib/components/modals/ModalBase.d.ts +2 -2
  57. package/lib/components/modals/ModalBase.js +9 -9
  58. package/lib/components/modals/ModalFooter.d.ts +1 -1
  59. package/lib/components/modals/ModalFooter.js +4 -4
  60. package/lib/components/modals/Prompt.d.ts +3 -3
  61. package/lib/components/modals/Prompt.js +1 -1
  62. package/lib/components/modals/image-gallery/ImageGallery.d.ts +5 -5
  63. package/lib/components/modals/image-gallery/ImageGallery.helper.d.ts +1 -1
  64. package/lib/components/modals/image-gallery/ImageGallery.helper.js +2 -2
  65. package/lib/components/modals/image-gallery/ImageGallery.js +3 -3
  66. package/lib/components/modals/image-gallery/ImageGallery.stories.helper.d.ts +1 -1
  67. package/lib/components/modals/image-gallery/ImageGallery.stories.helper.js +29 -29
  68. package/lib/components/modals/image-gallery/ImageGalleryContext.d.ts +1 -1
  69. package/lib/components/modals/image-gallery/ImageGalleryContext.js +1 -1
  70. package/lib/components/modals/image-gallery/ImageGallerySwiper.js +6 -6
  71. package/lib/components/modals/image-gallery/ImageGalleryThumbsSwiper.js +3 -3
  72. package/lib/components/modals/image-gallery/image-gallery-item/ImageGalleryItem.d.ts +2 -2
  73. package/lib/components/modals/image-gallery/image-gallery-item/ImageGalleryItem.js +8 -8
  74. package/lib/components/modals/image-gallery/internal/BaseGallery.d.ts +4 -4
  75. package/lib/components/modals/image-gallery/internal/BaseGallery.js +1 -1
  76. package/lib/components/modals/image-gallery/internal/CloseButton.js +4 -4
  77. package/lib/components/modals/image-gallery/internal/ScaleButton.js +1 -1
  78. package/lib/components/pagination/Pagination.d.ts +2 -2
  79. package/lib/components/pagination/Pagination.js +14 -14
  80. package/lib/components/popovers/legend/Legend.d.ts +3 -3
  81. package/lib/components/popovers/popover/Popover.d.ts +4 -4
  82. package/lib/components/popovers/popover/Popover.js +11 -11
  83. package/lib/components/popovers/popover-menu/PopoverMenu.d.ts +3 -3
  84. package/lib/components/popovers/popover-menu/PopoverMenu.js +3 -3
  85. package/lib/components/popovers/tooltip/Tooltip.d.ts +1 -1
  86. package/lib/components/progress/Progress.d.ts +2 -2
  87. package/lib/components/progress/Progress.js +7 -7
  88. package/lib/components/scroll-area/ScrollArea.d.ts +1 -1
  89. package/lib/components/scroll-area/ScrollArea.js +1 -1
  90. package/lib/components/search-input/ClearButton.d.ts +2 -2
  91. package/lib/components/search-input/SearchInput.d.ts +2 -2
  92. package/lib/components/search-input/SearchInput.js +2 -2
  93. package/lib/components/search-input/useSearchInput.d.ts +2 -2
  94. package/lib/components/search-input/useSearchInput.js +7 -7
  95. package/lib/components/snackbar/Snackbar.d.ts +4 -4
  96. package/lib/components/snackbar/Snackbar.js +11 -11
  97. package/lib/components/snackbar/SnackbarContext.d.ts +2 -2
  98. package/lib/components/snackbar/SnackbarContext.js +1 -1
  99. package/lib/components/snackbar/SnackbarProvider.d.ts +2 -2
  100. package/lib/components/snackbar/SnackbarProvider.js +3 -3
  101. package/lib/components/snackbar/useSnackbar.d.ts +1 -1
  102. package/lib/components/snackbar/useSnackbar.js +1 -1
  103. package/lib/components/stepper-horizontal/StepperHorizontal.d.ts +2 -2
  104. package/lib/components/stepper-horizontal/StepperHorizontal.js +7 -7
  105. package/lib/components/stepper-horizontal/step-horizontal/StepHorizontal.d.ts +3 -3
  106. package/lib/components/stepper-horizontal/step-horizontal/StepHorizontal.js +3 -3
  107. package/lib/components/stepper-vertical/StepperVertical.d.ts +2 -2
  108. package/lib/components/stepper-vertical/StepperVertical.js +3 -3
  109. package/lib/components/stepper-vertical/step-vertical/StepVertical.d.ts +3 -3
  110. package/lib/components/stepper-vertical/step-vertical/StepVertical.js +9 -9
  111. package/lib/components/tab/Tabs.d.ts +5 -5
  112. package/lib/components/tab/Tabs.js +24 -24
  113. package/lib/components/tab/tab-pane/TabPane.d.ts +3 -3
  114. package/lib/components/tab/tab-pane/TabPane.js +3 -3
  115. package/lib/components/tab/useTabScroll.d.ts +1 -1
  116. package/lib/components/tab/useTabScroll.js +11 -11
  117. package/lib/components/table-header-cell/TableHeaderCell.js +6 -6
  118. package/lib/forms/checkbox/Checkbox.d.ts +4 -4
  119. package/lib/forms/checkbox/Checkbox.js +11 -11
  120. package/lib/forms/color-indicator/ColorIndicator.d.ts +2 -2
  121. package/lib/forms/color-indicator/ColorIndicator.js +6 -6
  122. package/lib/forms/color-picker/ColorHelper.d.ts +4 -4
  123. package/lib/forms/radio/RadioButton.d.ts +2 -2
  124. package/lib/forms/radio/RadioButton.js +8 -8
  125. package/lib/forms/radio/RadioGroup.d.ts +3 -3
  126. package/lib/forms/radio/RadioGroup.js +3 -3
  127. package/lib/forms/radio/RadioGroupContext.d.ts +1 -1
  128. package/lib/forms/radio/RadioGroupContext.js +1 -1
  129. package/lib/forms/segment/Segment.d.ts +2 -2
  130. package/lib/forms/segment/Segment.js +7 -7
  131. package/lib/forms/segment/segment-control/SegmentControl.d.ts +2 -2
  132. package/lib/forms/segment/segment-control/SegmentControl.js +8 -8
  133. package/lib/forms/select/Select.d.ts +5 -5
  134. package/lib/forms/select/Select.js +3 -3
  135. package/lib/forms/select/internal/HiddenInput.d.ts +1 -1
  136. package/lib/forms/select/internal/ListItem.d.ts +3 -3
  137. package/lib/forms/select/internal/ListItem.js +11 -11
  138. package/lib/forms/select/internal/SelectButton.js +9 -9
  139. package/lib/forms/select/internal/SelectCheckbox.d.ts +1 -1
  140. package/lib/forms/select/internal/SelectLabel.js +4 -4
  141. package/lib/forms/select/internal/SelectScrollContainer.d.ts +1 -1
  142. package/lib/forms/select/internal/SelectWrapper.d.ts +2 -2
  143. package/lib/forms/select/internal/SelectWrapper.js +4 -4
  144. package/lib/forms/select/internal/index.d.ts +6 -6
  145. package/lib/forms/select/internal/utils.d.ts +2 -2
  146. package/lib/forms/select/internal/utils.js +3 -3
  147. package/lib/forms/select/select-option/SelectOption.d.ts +2 -2
  148. package/lib/forms/select/select-option/SelectOption.js +1 -1
  149. package/lib/forms/select/utils.d.ts +1 -1
  150. package/lib/forms/slider/Slider.d.ts +3 -3
  151. package/lib/forms/slider/Slider.js +9 -9
  152. package/lib/forms/switch/Switch.d.ts +2 -2
  153. package/lib/forms/switch/Switch.js +4 -4
  154. package/lib/forms/text-area/TextArea.d.ts +3 -3
  155. package/lib/forms/text-area/TextArea.js +12 -12
  156. package/lib/forms/text-editor/TextEditor.d.ts +1 -1
  157. package/lib/forms/text-editor/TextEditor.js +42 -38
  158. package/lib/forms/text-editor/TextEditorButton.d.ts +3 -2
  159. package/lib/forms/text-editor/TextEditorButton.js +13 -13
  160. package/lib/forms/text-input/TextInput.d.ts +1 -1
  161. package/lib/forms/text-input/TextInput.js +6 -6
  162. package/lib/forms/time-picker/time-picker-dropdown/TimePickerInput.d.ts +1 -1
  163. package/lib/forms/time-picker/time-picker-dropdown/TimePickerInput.js +2 -2
  164. package/lib/helper/index.js +2 -2
  165. package/lib/helper/setRef.js +1 -1
  166. package/lib/helper/types.d.ts +2 -2
  167. package/lib/helper/useControlled.d.ts +1 -1
  168. package/lib/helper/useControlled.js +2 -2
  169. package/lib/helper/useForkRef.d.ts +1 -1
  170. package/lib/helper/useForkRef.js +1 -1
  171. package/lib/helper/useId.js +2 -2
  172. package/lib/helper/useOnClickOutside.d.ts +1 -1
  173. package/lib/helper/useOnClickOutside.js +5 -5
  174. package/node/lib/components/accordion/Accordion.js +4 -4
  175. package/node/lib/components/accordion/accordion-header/AccordionHeader.js +1 -1
  176. package/node/lib/components/accordion/accordion-item/AccordionItem.js +4 -4
  177. package/node/lib/components/accordion/accordion-item/accordion-item-body/AccordionItemBody.js +4 -4
  178. package/node/lib/components/accordion/accordion-item/accordion-item-header/AccordionItemHeader.js +3 -3
  179. package/node/lib/components/bottom-sheet/BottomSheet.js +9 -9
  180. package/node/lib/components/bottom-sheet/BottomSheet.stories.js +2 -2
  181. package/node/lib/components/breadcrumb/Breadcrumb.js +2 -2
  182. package/node/lib/components/buttons/button/Button.js +8 -8
  183. package/node/lib/components/buttons/button/Button.stories.js +9 -9
  184. package/node/lib/components/card/Card.js +1 -1
  185. package/node/lib/components/card/CardBody.js +1 -1
  186. package/node/lib/components/card/CardHeader.js +2 -2
  187. package/node/lib/components/card/CardHeader.stories.helper.js +2 -2
  188. package/node/lib/components/chips/chip/Chip.js +7 -7
  189. package/node/lib/components/chips/chip-container/ChipContainer.js +2 -2
  190. package/node/lib/components/icon-wrapper/IconWrapper.js +2 -2
  191. package/node/lib/components/link-button/LinkButton.js +3 -3
  192. package/node/lib/components/loading-indicator/LoadingIndicator.js +6 -6
  193. package/node/lib/components/mobile-flyout/MobileFlyout.js +5 -5
  194. package/node/lib/components/mobile-flyout/mobile-flyout-page/MobileFlyoutPage.js +3 -3
  195. package/node/lib/components/modals/AlertModal.js +9 -9
  196. package/node/lib/components/modals/ConfirmModal.js +2 -2
  197. package/node/lib/components/modals/CustomModal.js +1 -1
  198. package/node/lib/components/modals/ModalBase.js +4 -4
  199. package/node/lib/components/modals/ModalFooter.js +2 -2
  200. package/node/lib/components/modals/image-gallery/ImageGallery.helper.js +1 -1
  201. package/node/lib/components/modals/image-gallery/ImageGallery.js +2 -2
  202. package/node/lib/components/modals/image-gallery/ImageGallery.stories.helper.js +29 -29
  203. package/node/lib/components/modals/image-gallery/ImageGallerySwiper.js +3 -3
  204. package/node/lib/components/modals/image-gallery/image-gallery-item/ImageGalleryItem.js +5 -5
  205. package/node/lib/components/modals/image-gallery/internal/CloseButton.js +3 -3
  206. package/node/lib/components/pagination/Pagination.js +12 -12
  207. package/node/lib/components/popovers/popover/Popover.js +8 -8
  208. package/node/lib/components/popovers/popover-menu/PopoverMenu.js +1 -1
  209. package/node/lib/components/progress/Progress.js +6 -6
  210. package/node/lib/components/search-input/SearchInput.js +1 -1
  211. package/node/lib/components/search-input/useSearchInput.js +6 -6
  212. package/node/lib/components/snackbar/Snackbar.js +8 -8
  213. package/node/lib/components/snackbar/SnackbarProvider.js +1 -1
  214. package/node/lib/components/stepper-horizontal/StepperHorizontal.js +5 -5
  215. package/node/lib/components/stepper-horizontal/step-horizontal/StepHorizontal.js +1 -1
  216. package/node/lib/components/stepper-vertical/StepperVertical.js +1 -1
  217. package/node/lib/components/stepper-vertical/step-vertical/StepVertical.js +7 -7
  218. package/node/lib/components/tab/Tabs.js +22 -22
  219. package/node/lib/components/tab/tab-pane/TabPane.js +2 -2
  220. package/node/lib/components/tab/useTabScroll.js +10 -10
  221. package/node/lib/components/table-header-cell/TableHeaderCell.js +4 -4
  222. package/node/lib/forms/checkbox/Checkbox.js +9 -9
  223. package/node/lib/forms/color-indicator/ColorIndicator.js +4 -4
  224. package/node/lib/forms/radio/RadioButton.js +6 -6
  225. package/node/lib/forms/radio/RadioGroup.js +1 -1
  226. package/node/lib/forms/segment/Segment.js +5 -5
  227. package/node/lib/forms/segment/segment-control/SegmentControl.js +6 -6
  228. package/node/lib/forms/select/Select.js +1 -1
  229. package/node/lib/forms/select/internal/ListItem.js +9 -9
  230. package/node/lib/forms/select/internal/SelectButton.js +7 -7
  231. package/node/lib/forms/select/internal/SelectLabel.js +3 -3
  232. package/node/lib/forms/select/internal/SelectWrapper.js +2 -2
  233. package/node/lib/forms/select/internal/utils.js +1 -1
  234. package/node/lib/forms/slider/Slider.js +7 -7
  235. package/node/lib/forms/switch/Switch.js +3 -3
  236. package/node/lib/forms/text-area/TextArea.js +10 -10
  237. package/node/lib/forms/text-editor/TextEditor.js +39 -35
  238. package/node/lib/forms/text-editor/TextEditorButton.js +11 -11
  239. package/node/lib/forms/text-input/TextInput.js +4 -4
  240. package/node/lib/forms/time-picker/time-picker-dropdown/TimePickerInput.js +1 -1
  241. package/node/lib/helper/index.js +2 -2
  242. package/node/lib/helper/setRef.js +1 -1
  243. package/node/lib/helper/useControlled.js +1 -1
  244. package/node/lib/helper/useId.js +1 -1
  245. package/node/lib/helper/useOnClickOutside.js +4 -4
  246. package/package.json +1 -1
@@ -39,17 +39,17 @@ function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e
39
39
 
40
40
  const images = [{
41
41
  src: _gallery01Webp.default,
42
- alt: 'Asset1',
42
+ alt: "Asset1",
43
43
  imageContent: {
44
- title: 'Asset 1',
45
- body: 'Asset 1 description'
44
+ title: "Asset 1",
45
+ body: "Asset 1 description"
46
46
  }
47
47
  }, {
48
48
  src: _gallery02Webp.default,
49
- alt: 'Asset2',
49
+ alt: "Asset2",
50
50
  containMode: true,
51
51
  imageContent: {
52
- title: 'Asset 2',
52
+ title: "Asset 2",
53
53
  body: /*#__PURE__*/(0, _jsxRuntime.jsxs)(_jsxRuntime.Fragment, {
54
54
  children: [/*#__PURE__*/(0, _jsxRuntime.jsx)("p", {
55
55
  children: "Asset 2 description with some html inside."
@@ -64,60 +64,60 @@ const images = [{
64
64
  }
65
65
  }, {
66
66
  src: _gallery03Webp.default,
67
- alt: 'Asset3',
67
+ alt: "Asset3",
68
68
  containMode: true,
69
69
  imageContent: {
70
- title: 'Asset 3',
71
- body: 'Asset 3 description'
70
+ title: "Asset 3",
71
+ body: "Asset 3 description"
72
72
  }
73
73
  }, {
74
74
  src: _gallery04Webp.default,
75
- alt: 'Asset4',
75
+ alt: "Asset4",
76
76
  imageContent: {
77
- title: 'Asset 4',
78
- body: 'Asset 4 description'
77
+ title: "Asset 4",
78
+ body: "Asset 4 description"
79
79
  }
80
80
  }, {
81
81
  src: _gallery05Webp.default,
82
- alt: 'Asset5',
82
+ alt: "Asset5",
83
83
  imageContent: {
84
- title: 'Asset 5',
85
- body: 'Asset 5 description'
84
+ title: "Asset 5",
85
+ body: "Asset 5 description"
86
86
  }
87
87
  }, {
88
88
  src: _gallery06Webp.default,
89
- alt: 'Asset6',
89
+ alt: "Asset6",
90
90
  imageContent: {
91
- title: 'Asset 6',
92
- body: 'Asset 6 description'
91
+ title: "Asset 6",
92
+ body: "Asset 6 description"
93
93
  }
94
94
  }, {
95
95
  src: _gallery07Webp.default,
96
- alt: 'Asset7',
96
+ alt: "Asset7",
97
97
  imageContent: {
98
- title: 'Asset 7',
99
- body: 'Asset 7 description'
98
+ title: "Asset 7",
99
+ body: "Asset 7 description"
100
100
  }
101
101
  }, {
102
102
  src: _gallery08Webp.default,
103
- alt: 'Asset8',
103
+ alt: "Asset8",
104
104
  imageContent: {
105
- title: 'Asset 8',
106
- body: 'Asset 8 description'
105
+ title: "Asset 8",
106
+ body: "Asset 8 description"
107
107
  }
108
108
  }, {
109
109
  src: _gallery09Webp.default,
110
- alt: 'Asset9',
110
+ alt: "Asset9",
111
111
  imageContent: {
112
- title: 'Asset 9',
113
- body: 'Asset 9 description'
112
+ title: "Asset 9",
113
+ body: "Asset 9 description"
114
114
  }
115
115
  }, {
116
116
  src: _gallery10Webp.default,
117
- alt: 'Asset10',
117
+ alt: "Asset10",
118
118
  imageContent: {
119
- title: 'Asset 10',
120
- body: 'Asset 1ß description'
119
+ title: "Asset 10",
120
+ body: "Asset 1ß description"
121
121
  }
122
122
  }];
123
123
  var _default = exports.default = images;
@@ -26,8 +26,8 @@ function ImageGallerySwiper(_ref) {
26
26
  },
27
27
  modules: [_swiper.Thumbs, _swiper.Navigation],
28
28
  navigation: {
29
- nextEl: '.fwe-navigate-btn-up',
30
- prevEl: '.fwe-navigate-btn-down'
29
+ nextEl: ".fwe-navigate-btn-up",
30
+ prevEl: ".fwe-navigate-btn-down"
31
31
  },
32
32
  zoom: true,
33
33
  className: "gallery-swiper fwe-image-gallery",
@@ -36,4 +36,4 @@ function ImageGallerySwiper(_ref) {
36
36
  children: children
37
37
  });
38
38
  }
39
- ImageGallerySwiper.displayName = 'Swiper';
39
+ ImageGallerySwiper.displayName = "Swiper";
@@ -18,18 +18,18 @@ function ImageGalleryItem(_ref) {
18
18
  ...props
19
19
  } = _ref;
20
20
  const swiperType = (0, _react2.useContext)(_ImageGalleryContext.SwiperContext);
21
- const isThumbsSwiper = swiperType === 'thumbs';
21
+ const isThumbsSwiper = swiperType === "thumbs";
22
22
  return /*#__PURE__*/(0, _jsxRuntime.jsx)(_react.SwiperSlide, {
23
23
  ...props,
24
24
  className: (0, _classnames.default)(className, {
25
- 'fr-image-gallery-item--contain': containMode && isThumbsSwiper
25
+ "fr-image-gallery-item--contain": containMode && isThumbsSwiper
26
26
  }),
27
27
  children: isThumbsSwiper ? children : /*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
28
- className: (0, _classnames.default)('swiper-zoom-container', {
29
- 'fr-image-gallery-item--contain': containMode
28
+ className: (0, _classnames.default)("swiper-zoom-container", {
29
+ "fr-image-gallery-item--contain": containMode
30
30
  }),
31
31
  children: children
32
32
  })
33
33
  });
34
34
  }
35
- ImageGalleryItem.displayName = 'SwiperSlide';
35
+ ImageGalleryItem.displayName = "SwiperSlide";
@@ -15,9 +15,9 @@ function CloseButton(_ref) {
15
15
  return /*#__PURE__*/(0, _jsxRuntime.jsx)("button", {
16
16
  type: "button",
17
17
  "aria-label": "close",
18
- className: (0, _classnames.default)('fwe-image-gallery-close-btn', {
19
- 'fwe-ml-auto': !showScaleButton,
20
- 'fwe-ml-3': showScaleButton
18
+ className: (0, _classnames.default)("fwe-image-gallery-close-btn", {
19
+ "fwe-ml-auto": !showScaleButton,
20
+ "fwe-ml-3": showScaleButton
21
21
  }),
22
22
  onClick: onClose
23
23
  });
@@ -58,18 +58,18 @@ function Pagination(props) {
58
58
  handleChange(newPageCurrent);
59
59
  }
60
60
  function handleKeyPress(event, index) {
61
- if (event.key === 'Enter' || event.key === ' ') {
61
+ if (event.key === "Enter" || event.key === " ") {
62
62
  onDotClick(index);
63
63
  }
64
64
  }
65
65
  return /*#__PURE__*/(0, _jsxRuntime.jsxs)(_jsxRuntime.Fragment, {
66
66
  children: [type !== PaginationType.Dots && /*#__PURE__*/(0, _jsxRuntime.jsxs)("div", {
67
- className: (0, _classnames.default)('fwe-pagination fwe-p-m', {
68
- 'fwe-d-none': pageMax < 2
67
+ className: (0, _classnames.default)("fwe-pagination fwe-p-m", {
68
+ "fwe-d-none": pageMax < 2
69
69
  }, className),
70
70
  children: [/*#__PURE__*/(0, _jsxRuntime.jsx)("button", {
71
- className: (0, _classnames.default)('fwe-navigate-btn-down', {
72
- 'fwe-disabled': innerPageCurrent <= 1
71
+ className: (0, _classnames.default)("fwe-navigate-btn-down", {
72
+ "fwe-disabled": innerPageCurrent <= 1
73
73
  }),
74
74
  onClick: onBtnDown,
75
75
  type: "button",
@@ -83,25 +83,25 @@ function Pagination(props) {
83
83
  children: pageMax
84
84
  })]
85
85
  }), /*#__PURE__*/(0, _jsxRuntime.jsx)("button", {
86
- className: (0, _classnames.default)('fwe-navigate-btn-up', {
87
- 'fwe-disabled': innerPageCurrent >= pageMax,
88
- 'fwe-ml-4': type === PaginationType.Simple
86
+ className: (0, _classnames.default)("fwe-navigate-btn-up", {
87
+ "fwe-disabled": innerPageCurrent >= pageMax,
88
+ "fwe-ml-4": type === PaginationType.Simple
89
89
  }),
90
90
  onClick: onBtnUp,
91
91
  type: "button",
92
92
  "aria-label": "navigate-btn-up"
93
93
  })]
94
94
  }), type === PaginationType.Dots && /*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
95
- className: (0, _classnames.default)('fwe-p-m', {
96
- 'fwe-d-none': pageMax < 2
95
+ className: (0, _classnames.default)("fwe-p-m", {
96
+ "fwe-d-none": pageMax < 2
97
97
  }, className),
98
98
  children: /*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
99
99
  className: "fwe-pagination",
100
100
  children: dotArray.map(index => /*#__PURE__*/(0, _jsxRuntime.jsx)("span", {
101
101
  tabIndex: 0,
102
102
  role: "button",
103
- className: (0, _classnames.default)('fwe-page-dot', {
104
- 'fwe-selected': index + 1 === innerPageCurrent
103
+ className: (0, _classnames.default)("fwe-page-dot", {
104
+ "fwe-selected": index + 1 === innerPageCurrent
105
105
  }),
106
106
  onClick: () => onDotClick(index),
107
107
  "aria-label": "page-dot",
@@ -44,19 +44,19 @@ function Popover(_ref) {
44
44
  } = (0, _reactPopper.usePopper)(referenceElement.current, popperElement, {
45
45
  placement: position,
46
46
  modifiers: [{
47
- name: 'arrow',
47
+ name: "arrow",
48
48
  options: {
49
49
  element: arrowElement
50
50
  }
51
51
  }, {
52
- name: 'offset',
52
+ name: "offset",
53
53
  options: {
54
54
  offset: [0, 24]
55
55
  }
56
56
  }, {
57
- name: 'flip',
57
+ name: "flip",
58
58
  options: {
59
- fallbackPlacements: flip ? fallbackPositions : [position || 'auto']
59
+ fallbackPlacements: flip ? fallbackPositions : [position || "auto"]
60
60
  }
61
61
  }]
62
62
  });
@@ -75,15 +75,15 @@ function Popover(_ref) {
75
75
  }
76
76
  (0, _useOnClickOutside.default)(popperElRef, closePopover, referenceElement);
77
77
  function handleKeyDown(event) {
78
- if (event.key === 'Enter') {
78
+ if (event.key === "Enter") {
79
79
  handleChange(undefined, true);
80
80
  }
81
- if (event.key === 'Escape') {
81
+ if (event.key === "Escape") {
82
82
  handleChange(undefined, false);
83
83
  }
84
84
  }
85
85
  function handleKeyUp(event) {
86
- if (event.key === ' ') {
86
+ if (event.key === " ") {
87
87
  handleChange(undefined, true);
88
88
  }
89
89
  }
@@ -99,7 +99,7 @@ function Popover(_ref) {
99
99
  });
100
100
  return /*#__PURE__*/(0, _jsxRuntime.jsxs)(_jsxRuntime.Fragment, {
101
101
  children: [wrapper ? wrapper(childrenWrapper) : childrenWrapper, showPopper && /*#__PURE__*/(0, _jsxRuntime.jsxs)("div", {
102
- className: (0, _classnames.default)('fwe-popover-container', containerClassName),
102
+ className: (0, _classnames.default)("fwe-popover-container", containerClassName),
103
103
  ref: combinedRef,
104
104
  style: styles.popper,
105
105
  ...attributes.popper,
@@ -45,7 +45,7 @@ function PopoverMenu(_ref) {
45
45
  }, item.icon + item.text))
46
46
  });
47
47
  return /*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
48
- className: (0, _classnames.default)('fwe-popover-menu', className),
48
+ className: (0, _classnames.default)("fwe-popover-menu", className),
49
49
  children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_Popover.default, {
50
50
  popoverContent: content,
51
51
  position: "right",
@@ -9,20 +9,20 @@ var _jsxRuntime = require("react/jsx-runtime");
9
9
  function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
10
10
  function Progress(_ref) {
11
11
  let {
12
- background = 'white',
12
+ background = "white",
13
13
  error = false,
14
14
  progress,
15
15
  className
16
16
  } = _ref;
17
- const classes = (0, _classnames.default)('fwe-progress-bar', {
18
- 'fwe-bg-red': error
17
+ const classes = (0, _classnames.default)("fwe-progress-bar", {
18
+ "fwe-bg-red": error
19
19
  }, {
20
- 'fwe-progress-bar-black': background === 'black'
20
+ "fwe-progress-bar-black": background === "black"
21
21
  }, {
22
- 'fwe-progress-bar-background': background === 'background'
22
+ "fwe-progress-bar-background": background === "background"
23
23
  });
24
24
  return /*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
25
- className: (0, _classnames.default)('fwe-progress', className),
25
+ className: (0, _classnames.default)("fwe-progress", className),
26
26
  children: /*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
27
27
  className: classes,
28
28
  role: "progressbar",
@@ -65,7 +65,7 @@ function SearchInput(_ref) {
65
65
  "aria-label": suggestion.value,
66
66
  "aria-selected": selectedSuggestionIndex === i,
67
67
  onClick: () => handleSuggestionClick(suggestion),
68
- className: `fwe-search-suggestion ${selectedSuggestionIndex === i ? 'fwe-selected' : ''}`,
68
+ className: `fwe-search-suggestion ${selectedSuggestionIndex === i ? "fwe-selected" : ""}`,
69
69
  children: /*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
70
70
  // eslint-disable-next-line react/no-danger
71
71
  dangerouslySetInnerHTML: {
@@ -8,7 +8,7 @@ var _react = require("react");
8
8
  var _useControlled = _interopRequireDefault(require("../../helper/useControlled.js"));
9
9
  function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
10
10
  function useSearchInput(inputRef, cappedSuggestions, value) {
11
- let defaultValue = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : '';
11
+ let defaultValue = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : "";
12
12
  let onChange = arguments.length > 4 ? arguments[4] : undefined;
13
13
  let onSearch = arguments.length > 5 ? arguments[5] : undefined;
14
14
  let onKeyboardNavigate = arguments.length > 6 ? arguments[6] : undefined;
@@ -41,7 +41,7 @@ function useSearchInput(inputRef, cappedSuggestions, value) {
41
41
  }
42
42
  function handleClearQuery() {
43
43
  reset();
44
- updateValue('');
44
+ updateValue("");
45
45
  }
46
46
  function handleArrowKey(newSuggestionIndex) {
47
47
  if (!cappedSuggestions || !cappedSuggestions.length) {
@@ -60,16 +60,16 @@ function useSearchInput(inputRef, cappedSuggestions, value) {
60
60
  }
61
61
  function handleKeyDown(event) {
62
62
  switch (event.key) {
63
- case 'Enter':
63
+ case "Enter":
64
64
  handleSearch();
65
65
  break;
66
- case 'Escape':
66
+ case "Escape":
67
67
  handleClearQuery();
68
68
  break;
69
- case 'ArrowUp':
69
+ case "ArrowUp":
70
70
  handleUpArrowKey();
71
71
  break;
72
- case 'ArrowDown':
72
+ case "ArrowDown":
73
73
  handleDownArrowKey();
74
74
  break;
75
75
  default:
@@ -34,7 +34,7 @@ function Snackbar(props) {
34
34
  function handleClose() {
35
35
  setShow(false);
36
36
  }
37
- const classes = first ? 'fr-snackbar-wrapper--first' : 'fr-snackbar-wrapper';
37
+ const classes = first ? "fr-snackbar-wrapper--first" : "fr-snackbar-wrapper";
38
38
  return /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactTransitionGroup.CSSTransition, {
39
39
  nodeRef: nodeRef,
40
40
  onExited: () => onClose ? onClose() : undefined,
@@ -50,13 +50,13 @@ function Snackbar(props) {
50
50
  className: classes,
51
51
  children: /*#__PURE__*/(0, _jsxRuntime.jsxs)("div", {
52
52
  className: (0, _classnames.default)({
53
- 'fwe-snackbar': true,
54
- 'fwe-snackbar-b': data?.variant === 'b',
55
- 'fwe-snackbar-c': data?.variant === 'c',
56
- 'fwe-snackbar-info': data?.type === 'info',
57
- 'fwe-snackbar-warning': data?.type === 'warning',
58
- 'fwe-snackbar-error': data?.type === 'error',
59
- 'fwe-snackbar-shadow': data?.darkBackground
53
+ "fwe-snackbar": true,
54
+ "fwe-snackbar-b": data?.variant === "b",
55
+ "fwe-snackbar-c": data?.variant === "c",
56
+ "fwe-snackbar-info": data?.type === "info",
57
+ "fwe-snackbar-warning": data?.type === "warning",
58
+ "fwe-snackbar-error": data?.type === "error",
59
+ "fwe-snackbar-shadow": data?.darkBackground
60
60
  }, data?.className),
61
61
  children: [/*#__PURE__*/(0, _jsxRuntime.jsx)("span", {
62
62
  children: data?.text
@@ -51,7 +51,7 @@ function SnackbarProvider(props) {
51
51
  return /*#__PURE__*/(0, _jsxRuntime.jsxs)(_SnackbarContext.default.Provider, {
52
52
  value: contextValue,
53
53
  children: [children, /*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
54
- className: (0, _classnames.default)('fwe-snackbar-container', className),
54
+ className: (0, _classnames.default)("fwe-snackbar-container", className),
55
55
  children: snacks.map(snack => /*#__PURE__*/(0, _jsxRuntime.jsx)(_Snackbar.default, {
56
56
  data: snack.data,
57
57
  onAction: () => snack.onAction ? snack.onAction() : undefined,
@@ -28,12 +28,12 @@ const StepperHorizontal = /*#__PURE__*/(0, _react.forwardRef)((_ref, ref) => {
28
28
  }
29
29
  }
30
30
  const handleKeyDown = i => event => {
31
- if (event.key === 'Enter') {
31
+ if (event.key === "Enter") {
32
32
  handleStepClick(i);
33
33
  }
34
34
  };
35
35
  const handleKeyUp = i => event => {
36
- if (event.key === ' ') {
36
+ if (event.key === " ") {
37
37
  handleStepClick(i);
38
38
  }
39
39
  };
@@ -46,9 +46,9 @@ const StepperHorizontal = /*#__PURE__*/(0, _react.forwardRef)((_ref, ref) => {
46
46
  ref: ref,
47
47
  onKeyDown: handleKeyDown(i),
48
48
  onKeyUp: handleKeyUp(i),
49
- className: (0, _classnames.default)('fwe-step-container', {
50
- 'fwe-step-done': stepIndex > i,
51
- 'fwe-step-active': i === stepIndex
49
+ className: (0, _classnames.default)("fwe-step-container", {
50
+ "fwe-step-done": stepIndex > i,
51
+ "fwe-step-active": i === stepIndex
52
52
  }),
53
53
  onClick: () => handleStepClick(i),
54
54
  ...props,
@@ -17,7 +17,7 @@ const StepHorizontal = /*#__PURE__*/(0, _react.forwardRef)((_ref, ref) => {
17
17
  } = _ref;
18
18
  return /*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
19
19
  ref: ref,
20
- className: (0, _classnames.default)('overflow-hidden', {
20
+ className: (0, _classnames.default)("overflow-hidden", {
21
21
  hidden: !isActive
22
22
  }),
23
23
  ...props,
@@ -38,7 +38,7 @@ const StepperVertical = /*#__PURE__*/(0, _react.forwardRef)((_ref, ref) => {
38
38
  });
39
39
  return /*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
40
40
  ref: ref,
41
- className: (0, _classnames.default)('fwe-stepper-vertical', className),
41
+ className: (0, _classnames.default)("fwe-stepper-vertical", className),
42
42
  ...props,
43
43
  children: stepComponents
44
44
  });
@@ -28,7 +28,7 @@ const StepVertical = /*#__PURE__*/(0, _react.forwardRef)((_ref, ref) => {
28
28
  const itemHeight = contentRef.current?.offsetHeight;
29
29
  containerRef.current.style.height = `${itemHeight}px`;
30
30
  } else {
31
- containerRef.current.style.height = '20px';
31
+ containerRef.current.style.height = "20px";
32
32
  }
33
33
  }
34
34
  }, [isActive]);
@@ -38,21 +38,21 @@ const StepVertical = /*#__PURE__*/(0, _react.forwardRef)((_ref, ref) => {
38
38
  }
39
39
  }
40
40
  const handleKeyDown = event => {
41
- if (event.key === 'Enter') {
41
+ if (event.key === "Enter") {
42
42
  handleClick();
43
43
  }
44
44
  };
45
45
  const handleKeyUp = event => {
46
- if (event.key === ' ') {
46
+ if (event.key === " ") {
47
47
  handleClick();
48
48
  }
49
49
  };
50
50
  return /*#__PURE__*/(0, _jsxRuntime.jsxs)("div", {
51
51
  ref: ref,
52
- className: (0, _classnames.default)('fwe-step-container', {
53
- 'fwe-last-element': isLastElement,
54
- 'fwe-step-active': isActive,
55
- 'fwe-step-done': isDone
52
+ className: (0, _classnames.default)("fwe-step-container", {
53
+ "fwe-last-element": isLastElement,
54
+ "fwe-step-active": isActive,
55
+ "fwe-step-done": isDone
56
56
  }),
57
57
  ...props,
58
58
  children: [/*#__PURE__*/(0, _jsxRuntime.jsxs)("div", {
@@ -23,7 +23,7 @@ const Tabs = /*#__PURE__*/(0, _react.forwardRef)((_ref, ref) => {
23
23
  children,
24
24
  className,
25
25
  onChange,
26
- viewType = 'responsive',
26
+ viewType = "responsive",
27
27
  showDivider = false,
28
28
  ...props
29
29
  } = _ref;
@@ -34,10 +34,10 @@ const Tabs = /*#__PURE__*/(0, _react.forwardRef)((_ref, ref) => {
34
34
  const scrollContent = (0, _react.useRef)(null);
35
35
  const scrollArea = (0, _react.useRef)(null);
36
36
  const observer = (0, _react.useRef)(null);
37
- let activeId = '';
37
+ let activeId = "";
38
38
  _react.default.Children.forEach(children, (element, i) => {
39
39
  if (/*#__PURE__*/_react.default.isValidElement(element)) {
40
- if (activeId === '') {
40
+ if (activeId === "") {
41
41
  activeId = `${componentId.current}-tab-panel-${i}`;
42
42
  } else if (element.props.active) {
43
43
  activeId = `${componentId.current}-tab-panel-${i}`;
@@ -112,16 +112,16 @@ const Tabs = /*#__PURE__*/(0, _react.forwardRef)((_ref, ref) => {
112
112
  /*#__PURE__*/
113
113
  // eslint-disable-next-line react/jsx-no-useless-fragment
114
114
  (0, _jsxRuntime.jsx)(_jsxRuntime.Fragment, {
115
- children: viewType === 'legacy' ? /*#__PURE__*/(0, _jsxRuntime.jsxs)("div", {
116
- className: (0, _classnames.default)('fwe-legacy-tabs', className),
115
+ children: viewType === "legacy" ? /*#__PURE__*/(0, _jsxRuntime.jsxs)("div", {
116
+ className: (0, _classnames.default)("fwe-legacy-tabs", className),
117
117
  children: [/*#__PURE__*/(0, _jsxRuntime.jsx)("ul", {
118
118
  role: "tablist",
119
- className: (0, _classnames.default)('fwe-legacy-tab-bar', {
120
- 'fwe-legacy-tab-bar-full-width': config?.tabBar?.fullWidth
119
+ className: (0, _classnames.default)("fwe-legacy-tab-bar", {
120
+ "fwe-legacy-tab-bar-full-width": config?.tabBar?.fullWidth
121
121
  }, {
122
- 'fwe-legacy-tab-items-equal-width': config?.tabItems?.appearance === 'equal'
122
+ "fwe-legacy-tab-items-equal-width": config?.tabItems?.appearance === "equal"
123
123
  }, {
124
- 'fwe-legacy-tab-items-fill': config?.tabItems?.appearance === 'fill'
124
+ "fwe-legacy-tab-items-fill": config?.tabItems?.appearance === "fill"
125
125
  }),
126
126
  children: innerChildren && innerChildren.map((child, i) => {
127
127
  const {
@@ -135,8 +135,8 @@ const Tabs = /*#__PURE__*/(0, _react.forwardRef)((_ref, ref) => {
135
135
  /*#__PURE__*/
136
136
  // eslint-disable-next-line jsx-a11y/click-events-have-key-events, jsx-a11y/no-noninteractive-element-interactions
137
137
  (0, _jsxRuntime.jsx)("li", {
138
- className: (0, _classnames.default)('fwe-legacy-tab-item', {
139
- 'fwe-active': active
138
+ className: (0, _classnames.default)("fwe-legacy-tab-item", {
139
+ "fwe-active": active
140
140
  }),
141
141
  onClick: () => showTabPane(id),
142
142
  children: icon ?
@@ -144,8 +144,8 @@ const Tabs = /*#__PURE__*/(0, _react.forwardRef)((_ref, ref) => {
144
144
  // eslint-disable-next-line jsx-a11y/anchor-is-valid
145
145
  (0, _jsxRuntime.jsxs)("a", {
146
146
  id: tabId,
147
- className: (0, _classnames.default)('fwe-legacy-tab-link', {
148
- 'fwe-can-swap-icon': innerChildren.length === 2 && i === 1
147
+ className: (0, _classnames.default)("fwe-legacy-tab-link", {
148
+ "fwe-can-swap-icon": innerChildren.length === 2 && i === 1
149
149
  }),
150
150
  role: "tab",
151
151
  "aria-controls": id,
@@ -179,15 +179,15 @@ const Tabs = /*#__PURE__*/(0, _react.forwardRef)((_ref, ref) => {
179
179
  ref: combinedRef,
180
180
  ...props,
181
181
  children: [/*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
182
- className: (0, _classnames.default)('fr-tab-scroller', classes),
182
+ className: (0, _classnames.default)("fr-tab-scroller", classes),
183
183
  children: /*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
184
- className: (0, _classnames.default)('fr-tab-scroller-scroll-area fr-tab-scroller-scroll-area--scroll', {
185
- 'fr-tab-scroller-scroll-area--compact': useCompactDensity
184
+ className: (0, _classnames.default)("fr-tab-scroller-scroll-area fr-tab-scroller-scroll-area--scroll", {
185
+ "fr-tab-scroller-scroll-area--compact": useCompactDensity
186
186
  }),
187
187
  ref: scrollArea,
188
188
  children: /*#__PURE__*/(0, _jsxRuntime.jsxs)("div", {
189
- className: (0, _classnames.default)('fr-tab-scroller-scroll-content', {
190
- 'fr-tab-scroller-scroll-content--with-divider': showDivider
189
+ className: (0, _classnames.default)("fr-tab-scroller-scroll-content", {
190
+ "fr-tab-scroller-scroll-content--with-divider": showDivider
191
191
  }),
192
192
  ref: scrollContent,
193
193
  style: style,
@@ -201,8 +201,8 @@ const Tabs = /*#__PURE__*/(0, _react.forwardRef)((_ref, ref) => {
201
201
  return /*#__PURE__*/(0, _jsxRuntime.jsxs)("button", {
202
202
  type: "button",
203
203
  role: "tab",
204
- className: (0, _classnames.default)('fr-tab', {
205
- 'fr-tab--active': active
204
+ className: (0, _classnames.default)("fr-tab", {
205
+ "fr-tab--active": active
206
206
  }),
207
207
  id: tabId,
208
208
  "aria-controls": id,
@@ -216,8 +216,8 @@ const Tabs = /*#__PURE__*/(0, _react.forwardRef)((_ref, ref) => {
216
216
  children: name
217
217
  })
218
218
  }), /*#__PURE__*/(0, _jsxRuntime.jsx)("span", {
219
- className: (0, _classnames.default)('fr-tab-indicator', {
220
- 'fr-tab-indicator--active': active
219
+ className: (0, _classnames.default)("fr-tab-indicator", {
220
+ "fr-tab-indicator--active": active
221
221
  }),
222
222
  children: /*#__PURE__*/(0, _jsxRuntime.jsx)("span", {
223
223
  className: "fr-tab-indicator-content fr-tab-indicator-content--underline"
@@ -16,9 +16,9 @@ function TabPane(_ref) {
16
16
  id
17
17
  } = _ref;
18
18
  const tabPaneClasses = (0, _classnames.default)({
19
- 'fr-show': isVisible
19
+ "fr-show": isVisible
20
20
  }, {
21
- 'fr-hide': !isVisible
21
+ "fr-hide": !isVisible
22
22
  }, className);
23
23
  return /*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
24
24
  id: id,