@festo-ui/react 7.2.0-dev.436 → 7.2.0-dev.441
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.
- package/index.js +61 -61
- package/lib/components/accordion/Accordion.js +1 -1
- package/lib/components/accordion/accordion-item/AccordionItem.js +3 -3
- package/lib/components/accordion/accordion-item/accordion-item-body/AccordionItemBody.js +2 -2
- package/lib/components/accordion/accordion-item/accordion-item-header/AccordionItemHeader.js +1 -1
- package/lib/components/bottom-sheet/BottomSheet.stories.js +1 -1
- package/lib/components/buttons/button/Button.js +1 -1
- package/lib/components/buttons/button/Button.stories.js +1 -1
- package/lib/components/card/CardNotification.js +1 -1
- package/lib/components/chips/chip/Chip.js +1 -1
- package/lib/components/link-button/LinkButton.js +1 -1
- package/lib/components/mobile-flyout/MobileFlyout.js +4 -4
- package/lib/components/mobile-flyout/mobile-flyout-item/MobileFlyoutItem.js +3 -4
- package/lib/components/mobile-flyout/mobile-flyout-page/MobileFlyoutPage.js +1 -1
- package/lib/components/modals/AlertModal.js +2 -2
- package/lib/components/modals/ConfirmModal.js +2 -2
- package/lib/components/modals/Modal.js +1 -1
- package/lib/components/modals/ModalBase.js +2 -2
- package/lib/components/modals/Prompt.js +3 -3
- package/lib/components/modals/image-gallery/ImageGallery.js +8 -8
- package/lib/components/modals/image-gallery/ImageGallery.stories.helper.js +10 -19
- package/lib/components/modals/image-gallery/ImageGallerySwiper.js +1 -1
- package/lib/components/modals/image-gallery/ImageGalleryThumbsSwiper.js +1 -1
- package/lib/components/modals/image-gallery/image-gallery-item/ImageGalleryItem.js +1 -1
- package/lib/components/modals/image-gallery/internal/BaseGallery.js +4 -4
- package/lib/components/popovers/legend/Legend.js +1 -1
- package/lib/components/popovers/popover/Popover.js +2 -2
- package/lib/components/popovers/popover-menu/PopoverMenu.js +3 -2
- package/lib/components/search-input/SearchInput.js +3 -3
- package/lib/components/search-input/useSearchInput.js +1 -1
- package/lib/components/snackbar/SnackbarProvider.js +2 -2
- package/lib/components/snackbar/useSnackbar.js +1 -1
- package/lib/components/tab/Tabs.js +3 -5
- package/lib/forms/checkbox/Checkbox.js +1 -1
- package/lib/forms/color-indicator/ColorIndicator.js +1 -1
- package/lib/forms/color-picker/ColorPicker.js +4 -4
- package/lib/forms/date-picker/DatePicker.js +1 -1
- package/lib/forms/date-range-picker/DateRangePicker.js +2 -2
- package/lib/forms/radio/RadioButton.js +2 -2
- package/lib/forms/radio/RadioGroup.js +3 -3
- package/lib/forms/segment/Segment.js +1 -1
- package/lib/forms/segment/segment-control/SegmentControl.js +1 -1
- package/lib/forms/select/Select.js +4 -4
- package/lib/forms/slider/Slider.js +1 -1
- package/lib/forms/switch/Switch.js +2 -2
- package/lib/forms/text-area/TextArea.js +1 -1
- package/lib/forms/text-editor/TextEditor.js +8 -8
- package/lib/forms/text-input/TextInput.js +1 -1
- package/lib/forms/time-picker/TimePicker.js +3 -3
- package/lib/forms/time-picker/time-picker-dropdown/TimePickerDropdown.js +6 -6
- package/lib/helper/useForkRef.js +1 -3
- package/node/index.js +60 -60
- package/node/lib/components/accordion/Accordion.js +1 -1
- package/node/lib/components/accordion/accordion-item/AccordionItem.js +3 -3
- package/node/lib/components/accordion/accordion-item/accordion-item-body/AccordionItemBody.js +2 -2
- package/node/lib/components/accordion/accordion-item/accordion-item-header/AccordionItemHeader.js +1 -1
- package/node/lib/components/bottom-sheet/BottomSheet.stories.js +1 -1
- package/node/lib/components/buttons/button/Button.js +1 -1
- package/node/lib/components/buttons/button/Button.stories.js +1 -1
- package/node/lib/components/card/CardNotification.js +1 -1
- package/node/lib/components/chips/chip/Chip.js +1 -1
- package/node/lib/components/link-button/LinkButton.js +1 -1
- package/node/lib/components/mobile-flyout/MobileFlyout.js +4 -4
- package/node/lib/components/mobile-flyout/mobile-flyout-item/MobileFlyoutItem.js +3 -3
- package/node/lib/components/mobile-flyout/mobile-flyout-page/MobileFlyoutPage.js +1 -1
- package/node/lib/components/modals/AlertModal.js +2 -2
- package/node/lib/components/modals/ConfirmModal.js +2 -2
- package/node/lib/components/modals/Modal.js +1 -1
- package/node/lib/components/modals/ModalBase.js +2 -2
- package/node/lib/components/modals/Prompt.js +3 -3
- package/node/lib/components/modals/image-gallery/ImageGallery.js +9 -9
- package/node/lib/components/modals/image-gallery/ImageGallery.stories.helper.js +20 -20
- package/node/lib/components/modals/image-gallery/ImageGallerySwiper.js +1 -1
- package/node/lib/components/modals/image-gallery/ImageGalleryThumbsSwiper.js +1 -1
- package/node/lib/components/modals/image-gallery/image-gallery-item/ImageGalleryItem.js +1 -1
- package/node/lib/components/modals/image-gallery/internal/BaseGallery.js +4 -4
- package/node/lib/components/popovers/legend/Legend.js +1 -1
- package/node/lib/components/popovers/popover/Popover.js +2 -2
- package/node/lib/components/popovers/popover-menu/PopoverMenu.js +3 -2
- package/node/lib/components/search-input/SearchInput.js +3 -3
- package/node/lib/components/search-input/useSearchInput.js +1 -1
- package/node/lib/components/snackbar/SnackbarProvider.js +2 -2
- package/node/lib/components/snackbar/useSnackbar.js +1 -1
- package/node/lib/components/tab/Tabs.js +3 -3
- package/node/lib/forms/checkbox/Checkbox.js +1 -1
- package/node/lib/forms/color-indicator/ColorIndicator.js +1 -1
- package/node/lib/forms/color-picker/ColorPicker.js +4 -4
- package/node/lib/forms/date-picker/DatePicker.js +1 -1
- package/node/lib/forms/date-range-picker/DateRangePicker.js +2 -2
- package/node/lib/forms/radio/RadioButton.js +2 -2
- package/node/lib/forms/radio/RadioGroup.js +3 -3
- package/node/lib/forms/segment/Segment.js +1 -1
- package/node/lib/forms/segment/segment-control/SegmentControl.js +1 -1
- package/node/lib/forms/select/Select.js +4 -4
- package/node/lib/forms/slider/Slider.js +1 -1
- package/node/lib/forms/switch/Switch.js +2 -2
- package/node/lib/forms/text-area/TextArea.js +1 -1
- package/node/lib/forms/text-editor/TextEditor.js +10 -8
- package/node/lib/forms/text-input/TextInput.js +1 -1
- package/node/lib/forms/time-picker/TimePicker.js +3 -3
- package/node/lib/forms/time-picker/time-picker-dropdown/TimePickerDropdown.js +6 -6
- package/node/lib/helper/useForkRef.js +1 -1
- package/package.json +2 -1
package/index.js
CHANGED
|
@@ -1,61 +1,61 @@
|
|
|
1
|
-
export { default as Accordion } from
|
|
2
|
-
export { default as AccordionHeader } from
|
|
3
|
-
export { default as AccordionItemBody } from
|
|
4
|
-
export { default as AccordionItemHeader } from
|
|
5
|
-
export { default as AccordionItem } from
|
|
6
|
-
export { default as Breadcrumb } from
|
|
7
|
-
export { default as Button } from
|
|
8
|
-
export { default as Card } from
|
|
9
|
-
export { default as CardBody } from
|
|
10
|
-
export { default as CardHeader } from
|
|
11
|
-
export { default as CardNotification } from
|
|
12
|
-
export { default as ChipContainer } from
|
|
13
|
-
export { ChipType, default as Chip } from
|
|
14
|
-
export { default as LinkButton } from
|
|
15
|
-
export { default as LoadingIndicator } from
|
|
16
|
-
export { default as MobileFlyout } from
|
|
17
|
-
export { default as MobileFlyoutItem } from
|
|
18
|
-
export { default as MobileFlyoutPage } from
|
|
19
|
-
export { default as AlertModal } from
|
|
20
|
-
export { default as ConfirmModal } from
|
|
21
|
-
export { default as ImageGallery } from
|
|
22
|
-
export { default as ImageGalleryContent } from
|
|
23
|
-
export { default as ImageGallerySwiper } from
|
|
24
|
-
export { default as ImageGalleryThumbsSwiper } from
|
|
25
|
-
export { default as ImageGalleryItem } from
|
|
26
|
-
export { default as Prompt } from
|
|
27
|
-
export { default as Pagination } from
|
|
28
|
-
export { default as PopoverMenu } from
|
|
29
|
-
export { default as Popover } from
|
|
30
|
-
export { default as Tooltip } from
|
|
31
|
-
export { default as Progress } from
|
|
32
|
-
export { default as SearchInput } from
|
|
33
|
-
export { default as SearchSuggestion } from
|
|
34
|
-
export { default as Snackbar } from
|
|
35
|
-
export { default as SnackbarProvider } from
|
|
36
|
-
export { default as useSnackbar } from
|
|
37
|
-
export { default as StepHorizontal } from
|
|
38
|
-
export { default as StepperHorizontal } from
|
|
39
|
-
export { default as StepVertical } from
|
|
40
|
-
export { default as StepperVertical } from
|
|
41
|
-
export { default as TabPane } from
|
|
42
|
-
export { default as Tabs } from
|
|
43
|
-
export { default as TableHeaderCell } from
|
|
44
|
-
export { default as Checkbox } from
|
|
45
|
-
export { default as ColorIndicator } from
|
|
46
|
-
export { default as ColorPicker } from
|
|
47
|
-
export { default as DatePicker } from
|
|
48
|
-
export { default as DateRangePicker } from
|
|
49
|
-
export { default as RadioButton } from
|
|
50
|
-
export { default as Radio } from
|
|
51
|
-
export { default as RadioGroup } from
|
|
52
|
-
export { default as Segment } from
|
|
53
|
-
export { default as SegmentControl } from
|
|
54
|
-
export { default as Select } from
|
|
55
|
-
export { default as SelectOption } from
|
|
56
|
-
export { default as Slider } from
|
|
57
|
-
export { default as Switch } from
|
|
58
|
-
export { default as TextArea } from
|
|
59
|
-
export { default as TextEditor } from
|
|
60
|
-
export { default as TextInput } from
|
|
61
|
-
export { default as TimePicker } from
|
|
1
|
+
export { default as Accordion } from "./lib/components/accordion/Accordion.js";
|
|
2
|
+
export { default as AccordionHeader } from "./lib/components/accordion/accordion-header/AccordionHeader.js";
|
|
3
|
+
export { default as AccordionItemBody } from "./lib/components/accordion/accordion-item/accordion-item-body/AccordionItemBody.js";
|
|
4
|
+
export { default as AccordionItemHeader } from "./lib/components/accordion/accordion-item/accordion-item-header/AccordionItemHeader.js";
|
|
5
|
+
export { default as AccordionItem } from "./lib/components/accordion/accordion-item/AccordionItem.js";
|
|
6
|
+
export { default as Breadcrumb } from "./lib/components/breadcrumb/Breadcrumb.js";
|
|
7
|
+
export { default as Button } from "./lib/components/buttons/button/Button.js";
|
|
8
|
+
export { default as Card } from "./lib/components/card/Card.js";
|
|
9
|
+
export { default as CardBody } from "./lib/components/card/CardBody.js";
|
|
10
|
+
export { default as CardHeader } from "./lib/components/card/CardHeader.js";
|
|
11
|
+
export { default as CardNotification } from "./lib/components/card/CardNotification.js";
|
|
12
|
+
export { default as ChipContainer } from "./lib/components/chips/chip-container/ChipContainer.js";
|
|
13
|
+
export { ChipType, default as Chip } from "./lib/components/chips/chip/Chip.js";
|
|
14
|
+
export { default as LinkButton } from "./lib/components/link-button/LinkButton.js";
|
|
15
|
+
export { default as LoadingIndicator } from "./lib/components/loading-indicator/LoadingIndicator.js";
|
|
16
|
+
export { default as MobileFlyout } from "./lib/components/mobile-flyout/MobileFlyout.js";
|
|
17
|
+
export { default as MobileFlyoutItem } from "./lib/components/mobile-flyout/mobile-flyout-item/MobileFlyoutItem.js";
|
|
18
|
+
export { default as MobileFlyoutPage } from "./lib/components/mobile-flyout/mobile-flyout-page/MobileFlyoutPage.js";
|
|
19
|
+
export { default as AlertModal } from "./lib/components/modals/AlertModal.js";
|
|
20
|
+
export { default as ConfirmModal } from "./lib/components/modals/ConfirmModal.js";
|
|
21
|
+
export { default as ImageGallery } from "./lib/components/modals/image-gallery/ImageGallery.js";
|
|
22
|
+
export { default as ImageGalleryContent } from "./lib/components/modals/image-gallery/ImageGalleryContent.js";
|
|
23
|
+
export { default as ImageGallerySwiper } from "./lib/components/modals/image-gallery/ImageGallerySwiper.js";
|
|
24
|
+
export { default as ImageGalleryThumbsSwiper } from "./lib/components/modals/image-gallery/ImageGalleryThumbsSwiper.js";
|
|
25
|
+
export { default as ImageGalleryItem } from "./lib/components/modals/image-gallery/image-gallery-item/ImageGalleryItem.js";
|
|
26
|
+
export { default as Prompt } from "./lib/components/modals/Prompt.js";
|
|
27
|
+
export { default as Pagination } from "./lib/components/pagination/Pagination.js";
|
|
28
|
+
export { default as PopoverMenu } from "./lib/components/popovers/popover-menu/PopoverMenu.js";
|
|
29
|
+
export { default as Popover } from "./lib/components/popovers/popover/Popover.js";
|
|
30
|
+
export { default as Tooltip } from "./lib/components/popovers/tooltip/Tooltip.js";
|
|
31
|
+
export { default as Progress } from "./lib/components/progress/Progress.js";
|
|
32
|
+
export { default as SearchInput } from "./lib/components/search-input/SearchInput.js";
|
|
33
|
+
export { default as SearchSuggestion } from "./lib/components/search-input/SearchSuggestion.js";
|
|
34
|
+
export { default as Snackbar } from "./lib/components/snackbar/Snackbar.js";
|
|
35
|
+
export { default as SnackbarProvider } from "./lib/components/snackbar/SnackbarProvider.js";
|
|
36
|
+
export { default as useSnackbar } from "./lib/components/snackbar/useSnackbar.js";
|
|
37
|
+
export { default as StepHorizontal } from "./lib/components/stepper-horizontal/step-horizontal/StepHorizontal.js";
|
|
38
|
+
export { default as StepperHorizontal } from "./lib/components/stepper-horizontal/StepperHorizontal.js";
|
|
39
|
+
export { default as StepVertical } from "./lib/components/stepper-vertical/step-vertical/StepVertical.js";
|
|
40
|
+
export { default as StepperVertical } from "./lib/components/stepper-vertical/StepperVertical.js";
|
|
41
|
+
export { default as TabPane } from "./lib/components/tab/tab-pane/TabPane.js";
|
|
42
|
+
export { default as Tabs } from "./lib/components/tab/Tabs.js";
|
|
43
|
+
export { default as TableHeaderCell } from "./lib/components/table-header-cell/TableHeaderCell.js";
|
|
44
|
+
export { default as Checkbox } from "./lib/forms/checkbox/Checkbox.js";
|
|
45
|
+
export { default as ColorIndicator } from "./lib/forms/color-indicator/ColorIndicator.js";
|
|
46
|
+
export { default as ColorPicker } from "./lib/forms/color-picker/ColorPicker.js";
|
|
47
|
+
export { default as DatePicker } from "./lib/forms/date-picker/DatePicker.js";
|
|
48
|
+
export { default as DateRangePicker } from "./lib/forms/date-range-picker/DateRangePicker.js";
|
|
49
|
+
export { default as RadioButton } from "./lib/forms/radio/RadioButton.js";
|
|
50
|
+
export { default as Radio } from "./lib/forms/radio/RadioButton.js";
|
|
51
|
+
export { default as RadioGroup } from "./lib/forms/radio/RadioGroup.js";
|
|
52
|
+
export { default as Segment } from "./lib/forms/segment/Segment.js";
|
|
53
|
+
export { default as SegmentControl } from "./lib/forms/segment/segment-control/SegmentControl.js";
|
|
54
|
+
export { default as Select } from "./lib/forms/select/Select.js";
|
|
55
|
+
export { default as SelectOption } from "./lib/forms/select/select-option/SelectOption.js";
|
|
56
|
+
export { default as Slider } from "./lib/forms/slider/Slider.js";
|
|
57
|
+
export { default as Switch } from "./lib/forms/switch/Switch.js";
|
|
58
|
+
export { default as TextArea } from "./lib/forms/text-area/TextArea.js";
|
|
59
|
+
export { default as TextEditor } from "./lib/forms/text-editor/TextEditor.js";
|
|
60
|
+
export { default as TextInput } from "./lib/forms/text-input/TextInput.js";
|
|
61
|
+
export { default as TimePicker } from "./lib/forms/time-picker/TimePicker.js";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import cn from 'classnames';
|
|
2
2
|
import { forwardRef, useMemo, useRef, useState } from 'react';
|
|
3
|
-
import AccordionContext from
|
|
3
|
+
import AccordionContext from "./AccordionContext.js";
|
|
4
4
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
5
5
|
let nextId = 0;
|
|
6
6
|
const Accordion = /*#__PURE__*/forwardRef((_ref, ref) => {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import cn from 'classnames';
|
|
2
2
|
import { useCallback, useContext, useMemo, useRef, forwardRef } from 'react';
|
|
3
|
-
import useControlled from
|
|
4
|
-
import AccordionContext from
|
|
5
|
-
import AccordionItemContext from
|
|
3
|
+
import useControlled from "../../../helper/useControlled.js";
|
|
4
|
+
import AccordionContext from "../AccordionContext.js";
|
|
5
|
+
import AccordionItemContext from "./AccordionItemContext.js";
|
|
6
6
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
7
7
|
import { jsxs as _jsxs } from "react/jsx-runtime";
|
|
8
8
|
let nextId = 0;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import cn from 'classnames';
|
|
2
2
|
import { forwardRef, useContext, useRef } from 'react';
|
|
3
3
|
import { Transition } from 'react-transition-group';
|
|
4
|
-
import useForkRef from
|
|
5
|
-
import AccordionItemContext from
|
|
4
|
+
import useForkRef from "../../../../helper/useForkRef.js";
|
|
5
|
+
import AccordionItemContext from "../AccordionItemContext.js";
|
|
6
6
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
7
7
|
import { jsxs as _jsxs } from "react/jsx-runtime";
|
|
8
8
|
const AccordionItemBody = /*#__PURE__*/forwardRef((_ref, ref) => {
|
package/lib/components/accordion/accordion-item/accordion-item-header/AccordionItemHeader.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import cn from 'classnames';
|
|
2
2
|
import { forwardRef, useContext } from 'react';
|
|
3
|
-
import AccordionItemContext from
|
|
3
|
+
import AccordionItemContext from "../AccordionItemContext.js";
|
|
4
4
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
5
5
|
const AccordionItemHeader = /*#__PURE__*/forwardRef((_ref, ref) => {
|
|
6
6
|
let {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { useState } from 'react';
|
|
2
|
-
import BottomSheet from
|
|
2
|
+
import BottomSheet from "./BottomSheet.js";
|
|
3
3
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
4
4
|
import { Fragment as _Fragment } from "react/jsx-runtime";
|
|
5
5
|
import { jsxs as _jsxs } from "react/jsx-runtime";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import classNames from 'classnames';
|
|
2
2
|
import { forwardRef } from 'react';
|
|
3
|
-
import IconWrapper from
|
|
3
|
+
import IconWrapper from "../../icon-wrapper/IconWrapper.js";
|
|
4
4
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
5
5
|
import { jsxs as _jsxs } from "react/jsx-runtime";
|
|
6
6
|
const Button = /*#__PURE__*/forwardRef((_ref, ref) => {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import classNames from 'classnames';
|
|
2
|
-
import IconWarning from
|
|
2
|
+
import IconWarning from "../icons/warning.js";
|
|
3
3
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
4
4
|
import { jsxs as _jsxs } from "react/jsx-runtime";
|
|
5
5
|
function CardNotification(_ref) {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import classNames from 'classnames';
|
|
2
|
-
import IconWrapper from
|
|
2
|
+
import IconWrapper from "../../icon-wrapper/IconWrapper.js";
|
|
3
3
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
4
4
|
import { jsxs as _jsxs } from "react/jsx-runtime";
|
|
5
5
|
export let ChipType;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import classNames from 'classnames';
|
|
2
2
|
import { forwardRef } from 'react';
|
|
3
|
-
import IconWrapper from
|
|
3
|
+
import IconWrapper from "../icon-wrapper/IconWrapper.js";
|
|
4
4
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
5
5
|
import { jsxs as _jsxs } from "react/jsx-runtime";
|
|
6
6
|
const LinkButton = /*#__PURE__*/forwardRef((_ref, ref) => {
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { forwardRef, useCallback, useMemo, useRef } from 'react';
|
|
2
2
|
import cn from 'classnames';
|
|
3
|
-
import useForkRef from
|
|
4
|
-
import useOnClickOutside from
|
|
5
|
-
import useControlled from
|
|
6
|
-
import MobileFlyoutContext from
|
|
3
|
+
import useForkRef from "../../helper/useForkRef.js";
|
|
4
|
+
import useOnClickOutside from "../../helper/useOnClickOutside.js";
|
|
5
|
+
import useControlled from "../../helper/useControlled.js";
|
|
6
|
+
import MobileFlyoutContext from "./MobileFlyoutContext.js";
|
|
7
7
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
8
8
|
import { jsxs as _jsxs } from "react/jsx-runtime";
|
|
9
9
|
const defaultVisibleValue = ['root'];
|
|
@@ -1,9 +1,8 @@
|
|
|
1
1
|
import cn from 'classnames';
|
|
2
2
|
import { forwardRef, useContext } from 'react';
|
|
3
|
-
import MobileFlyoutContext from
|
|
4
|
-
import IconRight2 from
|
|
5
|
-
import IconWrapper from
|
|
6
|
-
|
|
3
|
+
import MobileFlyoutContext from "../MobileFlyoutContext.js";
|
|
4
|
+
import IconRight2 from "../../icons/right-2.js";
|
|
5
|
+
import IconWrapper from "../../icon-wrapper/IconWrapper.js";
|
|
7
6
|
/*
|
|
8
7
|
* Augment `forwardRef` only for this module so that storybook can infer controls
|
|
9
8
|
* (despite component being wrapped in forwardRef)
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import cn from 'classnames';
|
|
2
2
|
import { forwardRef, useContext } from 'react';
|
|
3
|
-
import MobileFlyoutContext from
|
|
3
|
+
import MobileFlyoutContext from "../MobileFlyoutContext.js";
|
|
4
4
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
5
5
|
import { jsxs as _jsxs } from "react/jsx-runtime";
|
|
6
6
|
export const MobileFlyoutPage = /*#__PURE__*/forwardRef((_ref, ref) => {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import cn from 'classnames';
|
|
2
|
-
import Modal from
|
|
3
|
-
import ModalFooter from
|
|
2
|
+
import Modal from "./Modal.js";
|
|
3
|
+
import ModalFooter from "./ModalFooter.js";
|
|
4
4
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
5
5
|
import { Fragment as _Fragment } from "react/jsx-runtime";
|
|
6
6
|
import { jsxs as _jsxs } from "react/jsx-runtime";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import cn from 'classnames';
|
|
2
|
-
import Modal from
|
|
3
|
-
import ModalFooter from
|
|
2
|
+
import Modal from "./Modal.js";
|
|
3
|
+
import ModalFooter from "./ModalFooter.js";
|
|
4
4
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
5
5
|
import { Fragment as _Fragment } from "react/jsx-runtime";
|
|
6
6
|
import { jsxs as _jsxs } from "react/jsx-runtime";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React, { forwardRef } from 'react';
|
|
2
|
-
import ModalBase from
|
|
2
|
+
import ModalBase from "./ModalBase.js";
|
|
3
3
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
4
4
|
import { jsxs as _jsxs } from "react/jsx-runtime";
|
|
5
5
|
const Modal = /*#__PURE__*/forwardRef((_ref, ref) => {
|
|
@@ -3,8 +3,8 @@ import { forwardRef, useEffect, useRef } from 'react';
|
|
|
3
3
|
import ReactDOM from 'react-dom';
|
|
4
4
|
import { CSSTransition } from 'react-transition-group';
|
|
5
5
|
import { RemoveScroll } from 'react-remove-scroll';
|
|
6
|
-
import useForkRef from
|
|
7
|
-
import useOnClickOutside from
|
|
6
|
+
import useForkRef from "../../helper/useForkRef.js";
|
|
7
|
+
import useOnClickOutside from "../../helper/useOnClickOutside.js";
|
|
8
8
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
9
9
|
import { Fragment as _Fragment } from "react/jsx-runtime";
|
|
10
10
|
import { jsxs as _jsxs } from "react/jsx-runtime";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import React, { useEffect, useState } from 'react';
|
|
2
|
-
import { TextInput } from
|
|
3
|
-
import Modal from
|
|
4
|
-
import ModalFooter from
|
|
2
|
+
import { TextInput } from "../../forms/text-input/TextInput.js";
|
|
3
|
+
import Modal from "./Modal.js";
|
|
4
|
+
import ModalFooter from "./ModalFooter.js";
|
|
5
5
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
6
6
|
import { Fragment as _Fragment } from "react/jsx-runtime";
|
|
7
7
|
import { jsxs as _jsxs } from "react/jsx-runtime";
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { forwardRef, useState } from 'react';
|
|
2
|
-
import ModalBase from
|
|
3
|
-
import BaseGallery from
|
|
4
|
-
import ImageGalleryContent from
|
|
5
|
-
import ImageGalleryPagination from
|
|
6
|
-
import getClasses from
|
|
7
|
-
import ImageGalleryContainer from
|
|
8
|
-
import CloseButton from
|
|
9
|
-
import ScaleButton from
|
|
2
|
+
import ModalBase from "../ModalBase.js";
|
|
3
|
+
import BaseGallery from "./internal/BaseGallery.js";
|
|
4
|
+
import ImageGalleryContent from "./ImageGalleryContent.js";
|
|
5
|
+
import ImageGalleryPagination from "./internal/ImageGalleryPagination.js";
|
|
6
|
+
import getClasses from "./ImageGallery.helper.js";
|
|
7
|
+
import ImageGalleryContainer from "./internal/ImageGalleryContainer.js";
|
|
8
|
+
import CloseButton from "./internal/CloseButton.js";
|
|
9
|
+
import ScaleButton from "./internal/ScaleButton.js";
|
|
10
10
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
11
11
|
import { jsxs as _jsxs } from "react/jsx-runtime";
|
|
12
12
|
import { Fragment as _Fragment } from "react/jsx-runtime";
|
|
@@ -1,24 +1,15 @@
|
|
|
1
1
|
/* eslint-disable import/no-relative-packages */
|
|
2
2
|
// @ts-ignore
|
|
3
|
-
import Asset1 from
|
|
4
|
-
// @ts-ignore
|
|
5
|
-
import
|
|
6
|
-
// @ts-ignore
|
|
7
|
-
import
|
|
8
|
-
// @ts-ignore
|
|
9
|
-
import
|
|
10
|
-
// @ts-ignore
|
|
11
|
-
import
|
|
12
|
-
|
|
13
|
-
import Asset6 from '../../../../../../web-essentials/stories/assets/gallery-06.webp';
|
|
14
|
-
// @ts-ignore
|
|
15
|
-
import Asset7 from '../../../../../../web-essentials/stories/assets/gallery-07.webp';
|
|
16
|
-
// @ts-ignore
|
|
17
|
-
import Asset8 from '../../../../../../web-essentials/stories/assets/gallery-08.webp';
|
|
18
|
-
// @ts-ignore
|
|
19
|
-
import Asset9 from '../../../../../../web-essentials/stories/assets/gallery-09.webp';
|
|
20
|
-
// @ts-ignore
|
|
21
|
-
import AssetTen from '../../../../../../web-essentials/stories/assets/gallery-10.webp';
|
|
3
|
+
import Asset1 from "../../../../../../web-essentials/stories/assets/gallery-01.webp.js"; // @ts-ignore
|
|
4
|
+
import Asset2 from "../../../../../../web-essentials/stories/assets/gallery-02.webp.js"; // @ts-ignore
|
|
5
|
+
import Asset3 from "../../../../../../web-essentials/stories/assets/gallery-03.webp.js"; // @ts-ignore
|
|
6
|
+
import Asset4 from "../../../../../../web-essentials/stories/assets/gallery-04.webp.js"; // @ts-ignore
|
|
7
|
+
import Asset5 from "../../../../../../web-essentials/stories/assets/gallery-05.webp.js"; // @ts-ignore
|
|
8
|
+
import Asset6 from "../../../../../../web-essentials/stories/assets/gallery-06.webp.js"; // @ts-ignore
|
|
9
|
+
import Asset7 from "../../../../../../web-essentials/stories/assets/gallery-07.webp.js"; // @ts-ignore
|
|
10
|
+
import Asset8 from "../../../../../../web-essentials/stories/assets/gallery-08.webp.js"; // @ts-ignore
|
|
11
|
+
import Asset9 from "../../../../../../web-essentials/stories/assets/gallery-09.webp.js"; // @ts-ignore
|
|
12
|
+
import AssetTen from "../../../../../../web-essentials/stories/assets/gallery-10.webp.js";
|
|
22
13
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
23
14
|
import { jsxs as _jsxs } from "react/jsx-runtime";
|
|
24
15
|
import { Fragment as _Fragment } from "react/jsx-runtime";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Swiper } from 'swiper/react';
|
|
2
2
|
import { Navigation, Thumbs } from 'swiper';
|
|
3
3
|
import { useContext } from 'react';
|
|
4
|
-
import ImageGalleryContext from
|
|
4
|
+
import ImageGalleryContext from "./ImageGalleryContext.js";
|
|
5
5
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
6
6
|
export default function ImageGallerySwiper(_ref) {
|
|
7
7
|
let {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { useContext } from 'react';
|
|
2
2
|
import { Thumbs } from 'swiper';
|
|
3
3
|
import { Swiper } from 'swiper/react';
|
|
4
|
-
import ImageGalleryContext, { SwiperContext } from
|
|
4
|
+
import ImageGalleryContext, { SwiperContext } from "./ImageGalleryContext.js";
|
|
5
5
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
6
6
|
export default function ImageGalleryThumbsSwiper(_ref) {
|
|
7
7
|
let {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import cn from 'classnames';
|
|
2
2
|
import { SwiperSlide } from 'swiper/react';
|
|
3
3
|
import { useContext } from 'react';
|
|
4
|
-
import { SwiperContext } from
|
|
4
|
+
import { SwiperContext } from "../ImageGalleryContext.js";
|
|
5
5
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
6
6
|
export default function ImageGalleryItem(_ref) {
|
|
7
7
|
let {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { useMemo, useState } from 'react';
|
|
2
|
-
import ImageGalleryContext from
|
|
3
|
-
import ImageGalleryItem from
|
|
4
|
-
import ImageGalleryThumbsSwiper from
|
|
5
|
-
import ImageGallerySwiper from
|
|
2
|
+
import ImageGalleryContext from "../ImageGalleryContext.js";
|
|
3
|
+
import ImageGalleryItem from "../image-gallery-item/ImageGalleryItem.js";
|
|
4
|
+
import ImageGalleryThumbsSwiper from "../ImageGalleryThumbsSwiper.js";
|
|
5
|
+
import ImageGallerySwiper from "../ImageGallerySwiper.js";
|
|
6
6
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
7
7
|
import { Fragment as _Fragment } from "react/jsx-runtime";
|
|
8
8
|
import { jsxs as _jsxs } from "react/jsx-runtime";
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import React, { useEffect, useRef, useState } from 'react';
|
|
2
2
|
import { usePopper } from 'react-popper';
|
|
3
3
|
import classNames from 'classnames';
|
|
4
|
-
import useOnClickOutside from
|
|
5
|
-
import useForkRef from
|
|
4
|
+
import useOnClickOutside from "../../../helper/useOnClickOutside.js";
|
|
5
|
+
import useForkRef from "../../../helper/useForkRef.js";
|
|
6
6
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
7
7
|
import { jsxs as _jsxs } from "react/jsx-runtime";
|
|
8
8
|
import { Fragment as _Fragment } from "react/jsx-runtime";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { useState } from 'react';
|
|
2
2
|
import classNames from 'classnames';
|
|
3
|
-
import Popover from
|
|
4
|
-
import IconWrapper from
|
|
3
|
+
import Popover from "../popover/Popover.js";
|
|
4
|
+
import IconWrapper from "../../icon-wrapper/IconWrapper.js";
|
|
5
5
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
6
6
|
import { jsxs as _jsxs } from "react/jsx-runtime";
|
|
7
7
|
function PopoverMenu(_ref) {
|
|
@@ -47,6 +47,7 @@ function PopoverMenu(_ref) {
|
|
|
47
47
|
onStatusChange: setShowPopper,
|
|
48
48
|
...props,
|
|
49
49
|
children: /*#__PURE__*/_jsx("button", {
|
|
50
|
+
"data-testid": "fwe-popover-menu-button",
|
|
50
51
|
type: "button",
|
|
51
52
|
className: "menu-button",
|
|
52
53
|
children: children
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { useRef } from 'react';
|
|
2
|
-
import useSearchInput from
|
|
3
|
-
import useOnClickOutside from
|
|
4
|
-
import ClearButton from
|
|
2
|
+
import useSearchInput from "./useSearchInput.js";
|
|
3
|
+
import useOnClickOutside from "../../helper/useOnClickOutside.js";
|
|
4
|
+
import ClearButton from "./ClearButton.js";
|
|
5
5
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
6
6
|
import { jsxs as _jsxs } from "react/jsx-runtime";
|
|
7
7
|
function SearchInput(_ref) {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { useState } from 'react';
|
|
2
|
-
import useControlled from
|
|
2
|
+
import useControlled from "../../helper/useControlled.js";
|
|
3
3
|
export default function useSearchInput(inputRef, cappedSuggestions, value) {
|
|
4
4
|
let defaultValue = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : '';
|
|
5
5
|
let onChange = arguments.length > 4 ? arguments[4] : undefined;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { useCallback, useMemo, useState } from 'react';
|
|
2
2
|
import classNames from 'classnames';
|
|
3
|
-
import Snackbar from
|
|
4
|
-
import SnackbarContext from
|
|
3
|
+
import Snackbar from "./Snackbar.js";
|
|
4
|
+
import SnackbarContext from "./SnackbarContext.js";
|
|
5
5
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
6
6
|
import { jsxs as _jsxs } from "react/jsx-runtime";
|
|
7
7
|
function SnackbarProvider(props) {
|
|
@@ -1,10 +1,8 @@
|
|
|
1
1
|
import classNames from 'classnames';
|
|
2
2
|
import React, { forwardRef, isValidElement, useEffect, useRef, useState } from 'react';
|
|
3
|
-
import useForkRef from
|
|
4
|
-
import useTabScroll from
|
|
5
|
-
import IconWrapper from
|
|
6
|
-
|
|
7
|
-
// legacy: recommended for desktop only applications
|
|
3
|
+
import useForkRef from "../../helper/useForkRef.js";
|
|
4
|
+
import useTabScroll from "./useTabScroll.js";
|
|
5
|
+
import IconWrapper from "../icon-wrapper/IconWrapper.js"; // legacy: recommended for desktop only applications
|
|
8
6
|
// responsive: desktop, tablet, mobile with scrollable tabs
|
|
9
7
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
10
8
|
import { jsxs as _jsxs } from "react/jsx-runtime";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import classNames from 'classnames';
|
|
2
2
|
import React from 'react';
|
|
3
|
-
import useControlled from
|
|
3
|
+
import useControlled from "../../helper/useControlled.js";
|
|
4
4
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
5
5
|
import { jsxs as _jsxs } from "react/jsx-runtime";
|
|
6
6
|
function Checkbox(_ref) {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React, { useState } from 'react';
|
|
2
2
|
import classNames from 'classnames';
|
|
3
|
-
import Popover from
|
|
3
|
+
import Popover from "../../components/popovers/popover/Popover.js";
|
|
4
4
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
5
5
|
import { jsxs as _jsxs } from "react/jsx-runtime";
|
|
6
6
|
import { Fragment as _Fragment } from "react/jsx-runtime";
|
|
@@ -3,10 +3,10 @@
|
|
|
3
3
|
import React, { useCallback, useEffect, useState } from 'react';
|
|
4
4
|
import Draggable from 'react-draggable';
|
|
5
5
|
import classNames from 'classnames';
|
|
6
|
-
import ColorHelper from
|
|
7
|
-
import useId from
|
|
8
|
-
import IconCheckSmall from
|
|
9
|
-
import IconCollapse from
|
|
6
|
+
import ColorHelper from "./ColorHelper.js";
|
|
7
|
+
import useId from "../../helper/useId.js";
|
|
8
|
+
import IconCheckSmall from "../../components/icons/check-small.js";
|
|
9
|
+
import IconCollapse from "../../components/icons/collapse.js";
|
|
10
10
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
11
11
|
import { jsxs as _jsxs } from "react/jsx-runtime";
|
|
12
12
|
import { Fragment as _Fragment } from "react/jsx-runtime";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { useEffect, useRef, useState } from 'react';
|
|
2
2
|
import classNames from 'classnames';
|
|
3
3
|
import flatpickr from 'flatpickr';
|
|
4
|
-
import useId from
|
|
4
|
+
import useId from "../../helper/useId.js";
|
|
5
5
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
6
6
|
import { jsxs as _jsxs } from "react/jsx-runtime";
|
|
7
7
|
function DatePicker(_ref) {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import classNames from 'classnames';
|
|
2
2
|
import flatpickr from 'flatpickr';
|
|
3
|
-
import rangePlugin from 'flatpickr/dist/plugins/rangePlugin';
|
|
3
|
+
import rangePlugin from 'flatpickr/dist/plugins/rangePlugin.js';
|
|
4
4
|
import { useEffect, useRef, useState } from 'react';
|
|
5
|
-
import useId from
|
|
5
|
+
import useId from "../../helper/useId.js";
|
|
6
6
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
7
7
|
import { jsxs as _jsxs } from "react/jsx-runtime";
|
|
8
8
|
function DateRangePicker(_ref) {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { useContext } from 'react';
|
|
2
2
|
import classNames from 'classnames';
|
|
3
|
-
import RadioGroupContext from
|
|
4
|
-
import useId from
|
|
3
|
+
import RadioGroupContext from "./RadioGroupContext.js";
|
|
4
|
+
import useId from "../../helper/useId.js";
|
|
5
5
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
6
6
|
import { jsxs as _jsxs } from "react/jsx-runtime";
|
|
7
7
|
function Radio(props) {
|