@mittwald/flow-remote-react-components 0.2.0-alpha.27 → 0.2.0-alpha.29
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/dist/js/RemoteRoot.mjs +17 -0
- package/dist/js/RemoteRoot.mjs.map +1 -0
- package/dist/js/auto-generated/Accordion.mjs +197 -0
- package/dist/js/auto-generated/Accordion.mjs.map +1 -0
- package/dist/js/auto-generated/ActionGroup.mjs +20 -0
- package/dist/js/auto-generated/ActionGroup.mjs.map +1 -0
- package/dist/js/auto-generated/Alert.mjs +197 -0
- package/dist/js/auto-generated/Alert.mjs.map +1 -0
- package/dist/js/auto-generated/AlertBadge.mjs +20 -0
- package/dist/js/auto-generated/AlertBadge.mjs.map +1 -0
- package/dist/js/auto-generated/AlertIcon.mjs +197 -0
- package/dist/js/auto-generated/AlertIcon.mjs.map +1 -0
- package/dist/js/auto-generated/Align.mjs +20 -0
- package/dist/js/auto-generated/Align.mjs.map +1 -0
- package/dist/js/auto-generated/Avatar.mjs +20 -0
- package/dist/js/auto-generated/Avatar.mjs.map +1 -0
- package/dist/js/auto-generated/Badge.mjs +23 -0
- package/dist/js/auto-generated/Badge.mjs.map +1 -0
- package/dist/js/auto-generated/Breadcrumb.mjs +22 -0
- package/dist/js/auto-generated/Breadcrumb.mjs.map +1 -0
- package/dist/js/auto-generated/Button.mjs +34 -0
- package/dist/js/auto-generated/Button.mjs.map +1 -0
- package/dist/js/auto-generated/Checkbox.mjs +30 -0
- package/dist/js/auto-generated/Checkbox.mjs.map +1 -0
- package/dist/js/auto-generated/CheckboxButton.mjs +30 -0
- package/dist/js/auto-generated/CheckboxButton.mjs.map +1 -0
- package/dist/js/auto-generated/CheckboxGroup.mjs +25 -0
- package/dist/js/auto-generated/CheckboxGroup.mjs.map +1 -0
- package/dist/js/auto-generated/CodeBlock.mjs +20 -0
- package/dist/js/auto-generated/CodeBlock.mjs.map +1 -0
- package/dist/js/auto-generated/ColumnLayout.mjs +197 -0
- package/dist/js/auto-generated/ColumnLayout.mjs.map +1 -0
- package/dist/js/auto-generated/Content.mjs +197 -0
- package/dist/js/auto-generated/Content.mjs.map +1 -0
- package/dist/js/auto-generated/ContextMenuContent.mjs +25 -0
- package/dist/js/auto-generated/ContextMenuContent.mjs.map +1 -0
- package/dist/js/auto-generated/ContextMenuSection.mjs +20 -0
- package/dist/js/auto-generated/ContextMenuSection.mjs.map +1 -0
- package/dist/js/auto-generated/ContextualHelp.mjs +22 -0
- package/dist/js/auto-generated/ContextualHelp.mjs.map +1 -0
- package/dist/js/auto-generated/ContextualHelpTrigger.mjs +20 -0
- package/dist/js/auto-generated/ContextualHelpTrigger.mjs.map +1 -0
- package/dist/js/auto-generated/CopyButton.mjs +33 -0
- package/dist/js/auto-generated/CopyButton.mjs.map +1 -0
- package/dist/js/auto-generated/CounterBadge.mjs +197 -0
- package/dist/js/auto-generated/CounterBadge.mjs.map +1 -0
- package/dist/js/auto-generated/CountryOptions.mjs +27 -0
- package/dist/js/auto-generated/CountryOptions.mjs.map +1 -0
- package/dist/js/auto-generated/DatePicker.mjs +28 -0
- package/dist/js/auto-generated/DatePicker.mjs.map +1 -0
- package/dist/js/auto-generated/DateRangePicker.mjs +28 -0
- package/dist/js/auto-generated/DateRangePicker.mjs.map +1 -0
- package/dist/js/auto-generated/DialogTrigger.mjs +22 -0
- package/dist/js/auto-generated/DialogTrigger.mjs.map +1 -0
- package/dist/js/auto-generated/Div.mjs +20 -0
- package/dist/js/auto-generated/Div.mjs.map +1 -0
- package/dist/js/auto-generated/FieldDescription.mjs +197 -0
- package/dist/js/auto-generated/FieldDescription.mjs.map +1 -0
- package/dist/js/auto-generated/FieldError.mjs +20 -0
- package/dist/js/auto-generated/FieldError.mjs.map +1 -0
- package/dist/js/auto-generated/FileCard.mjs +199 -0
- package/dist/js/auto-generated/FileCard.mjs.map +1 -0
- package/dist/js/auto-generated/FileCardList.mjs +197 -0
- package/dist/js/auto-generated/FileCardList.mjs.map +1 -0
- package/dist/js/auto-generated/FileField.mjs +22 -0
- package/dist/js/auto-generated/FileField.mjs.map +1 -0
- package/dist/js/auto-generated/Fragment.mjs +20 -0
- package/dist/js/auto-generated/Fragment.mjs.map +1 -0
- package/dist/js/auto-generated/Header.mjs +197 -0
- package/dist/js/auto-generated/Header.mjs.map +1 -0
- package/dist/js/auto-generated/HeaderNavigation.mjs +197 -0
- package/dist/js/auto-generated/HeaderNavigation.mjs.map +1 -0
- package/dist/js/auto-generated/Heading.mjs +197 -0
- package/dist/js/auto-generated/Heading.mjs.map +1 -0
- package/dist/js/auto-generated/Icon.mjs +197 -0
- package/dist/js/auto-generated/Icon.mjs.map +1 -0
- package/dist/js/auto-generated/IllustratedMessage.mjs +197 -0
- package/dist/js/auto-generated/IllustratedMessage.mjs.map +1 -0
- package/dist/js/auto-generated/Image.mjs +197 -0
- package/dist/js/auto-generated/Image.mjs.map +1 -0
- package/dist/js/auto-generated/Initials.mjs +20 -0
- package/dist/js/auto-generated/Initials.mjs.map +1 -0
- package/dist/js/auto-generated/InlineCode.mjs +197 -0
- package/dist/js/auto-generated/InlineCode.mjs.map +1 -0
- package/dist/js/auto-generated/ItemsGridList.mjs +24 -0
- package/dist/js/auto-generated/ItemsGridList.mjs.map +1 -0
- package/dist/js/auto-generated/ItemsGridListItem.mjs +25 -0
- package/dist/js/auto-generated/ItemsGridListItem.mjs.map +1 -0
- package/dist/js/auto-generated/Label.mjs +197 -0
- package/dist/js/auto-generated/Label.mjs.map +1 -0
- package/dist/js/auto-generated/LabeledValue.mjs +20 -0
- package/dist/js/auto-generated/LabeledValue.mjs.map +1 -0
- package/dist/js/auto-generated/LayoutCard.mjs +197 -0
- package/dist/js/auto-generated/LayoutCard.mjs.map +1 -0
- package/dist/js/auto-generated/LightBox.mjs +20 -0
- package/dist/js/auto-generated/LightBox.mjs.map +1 -0
- package/dist/js/auto-generated/LightBoxTrigger.mjs +20 -0
- package/dist/js/auto-generated/LightBoxTrigger.mjs.map +1 -0
- package/dist/js/auto-generated/Link.mjs +34 -0
- package/dist/js/auto-generated/Link.mjs.map +1 -0
- package/dist/js/auto-generated/ListEmptyView.mjs +20 -0
- package/dist/js/auto-generated/ListEmptyView.mjs.map +1 -0
- package/dist/js/auto-generated/ListItemViewContent.mjs +20 -0
- package/dist/js/auto-generated/ListItemViewContent.mjs.map +1 -0
- package/dist/js/auto-generated/ListSummary.mjs +20 -0
- package/dist/js/auto-generated/ListSummary.mjs.map +1 -0
- package/dist/js/auto-generated/LoadingSpinner.mjs +197 -0
- package/dist/js/auto-generated/LoadingSpinner.mjs.map +1 -0
- package/dist/js/auto-generated/Markdown.mjs +20 -0
- package/dist/js/auto-generated/Markdown.mjs.map +1 -0
- package/dist/js/auto-generated/MenuItem.mjs +25 -0
- package/dist/js/auto-generated/MenuItem.mjs.map +1 -0
- package/dist/js/auto-generated/MenuTrigger.mjs +22 -0
- package/dist/js/auto-generated/MenuTrigger.mjs.map +1 -0
- package/dist/js/auto-generated/Message.mjs +20 -0
- package/dist/js/auto-generated/Message.mjs.map +1 -0
- package/dist/js/auto-generated/Navigation.mjs +197 -0
- package/dist/js/auto-generated/Navigation.mjs.map +1 -0
- package/dist/js/auto-generated/NavigationGroup.mjs +197 -0
- package/dist/js/auto-generated/NavigationGroup.mjs.map +1 -0
- package/dist/js/auto-generated/Notification.mjs +198 -0
- package/dist/js/auto-generated/Notification.mjs.map +1 -0
- package/dist/js/auto-generated/NotificationProvider.mjs +197 -0
- package/dist/js/auto-generated/NotificationProvider.mjs.map +1 -0
- package/dist/js/auto-generated/NumberField.mjs +36 -0
- package/dist/js/auto-generated/NumberField.mjs.map +1 -0
- package/dist/js/auto-generated/Option.mjs +25 -0
- package/dist/js/auto-generated/Option.mjs.map +1 -0
- package/dist/js/auto-generated/OverlayContent.mjs +22 -0
- package/dist/js/auto-generated/OverlayContent.mjs.map +1 -0
- package/dist/js/auto-generated/PopoverContent.mjs +22 -0
- package/dist/js/auto-generated/PopoverContent.mjs.map +1 -0
- package/dist/js/auto-generated/ProgressBar.mjs +20 -0
- package/dist/js/auto-generated/ProgressBar.mjs.map +1 -0
- package/dist/js/auto-generated/Radio.mjs +29 -0
- package/dist/js/auto-generated/Radio.mjs.map +1 -0
- package/dist/js/auto-generated/RadioButton.mjs +29 -0
- package/dist/js/auto-generated/RadioButton.mjs.map +1 -0
- package/dist/js/auto-generated/RadioGroup.mjs +25 -0
- package/dist/js/auto-generated/RadioGroup.mjs.map +1 -0
- package/dist/js/auto-generated/SearchField.mjs +38 -0
- package/dist/js/auto-generated/SearchField.mjs.map +1 -0
- package/dist/js/auto-generated/Section.mjs +197 -0
- package/dist/js/auto-generated/Section.mjs.map +1 -0
- package/dist/js/auto-generated/Segment.mjs +29 -0
- package/dist/js/auto-generated/Segment.mjs.map +1 -0
- package/dist/js/auto-generated/SegmentedControl.mjs +25 -0
- package/dist/js/auto-generated/SegmentedControl.mjs.map +1 -0
- package/dist/js/auto-generated/Select.mjs +29 -0
- package/dist/js/auto-generated/Select.mjs.map +1 -0
- package/dist/js/auto-generated/Separator.mjs +20 -0
- package/dist/js/auto-generated/Separator.mjs.map +1 -0
- package/dist/js/auto-generated/Skeleton.mjs +197 -0
- package/dist/js/auto-generated/Skeleton.mjs.map +1 -0
- package/dist/js/auto-generated/SkeletonText.mjs +197 -0
- package/dist/js/auto-generated/SkeletonText.mjs.map +1 -0
- package/dist/js/auto-generated/Slider.mjs +23 -0
- package/dist/js/auto-generated/Slider.mjs.map +1 -0
- package/dist/js/auto-generated/Switch.mjs +30 -0
- package/dist/js/auto-generated/Switch.mjs.map +1 -0
- package/dist/js/auto-generated/Tab.mjs +20 -0
- package/dist/js/auto-generated/Tab.mjs.map +1 -0
- package/dist/js/auto-generated/TabTitle.mjs +24 -0
- package/dist/js/auto-generated/TabTitle.mjs.map +1 -0
- package/dist/js/auto-generated/Table.mjs +25 -0
- package/dist/js/auto-generated/Table.mjs.map +1 -0
- package/dist/js/auto-generated/TableBody.mjs +20 -0
- package/dist/js/auto-generated/TableBody.mjs.map +1 -0
- package/dist/js/auto-generated/TableCell.mjs +20 -0
- package/dist/js/auto-generated/TableCell.mjs.map +1 -0
- package/dist/js/auto-generated/TableColumn.mjs +20 -0
- package/dist/js/auto-generated/TableColumn.mjs.map +1 -0
- package/dist/js/auto-generated/TableFooterRow.mjs +25 -0
- package/dist/js/auto-generated/TableFooterRow.mjs.map +1 -0
- package/dist/js/auto-generated/TableHeader.mjs +24 -0
- package/dist/js/auto-generated/TableHeader.mjs.map +1 -0
- package/dist/js/auto-generated/TableRow.mjs +25 -0
- package/dist/js/auto-generated/TableRow.mjs.map +1 -0
- package/dist/js/auto-generated/Tabs.mjs +22 -0
- package/dist/js/auto-generated/Tabs.mjs.map +1 -0
- package/dist/js/auto-generated/Text.mjs +197 -0
- package/dist/js/auto-generated/Text.mjs.map +1 -0
- package/dist/js/auto-generated/TextArea.mjs +36 -0
- package/dist/js/auto-generated/TextArea.mjs.map +1 -0
- package/dist/js/auto-generated/TextField.mjs +36 -0
- package/dist/js/auto-generated/TextField.mjs.map +1 -0
- package/dist/js/auto-generated/TimeField.mjs +27 -0
- package/dist/js/auto-generated/TimeField.mjs.map +1 -0
- package/dist/js/auto-generated/Tooltip.mjs +22 -0
- package/dist/js/auto-generated/Tooltip.mjs.map +1 -0
- package/dist/js/auto-generated/TooltipTrigger.mjs +22 -0
- package/dist/js/auto-generated/TooltipTrigger.mjs.map +1 -0
- package/dist/js/auto-generated/index.mjs +193 -0
- package/dist/js/auto-generated/index.mjs.map +1 -0
- package/dist/js/components/Form.mjs +21 -0
- package/dist/js/components/Form.mjs.map +1 -0
- package/dist/js/components/Preview.mjs +22 -0
- package/dist/js/components/Preview.mjs.map +1 -0
- package/dist/js/components/RemoteRootClient.mjs +42 -0
- package/dist/js/components/RemoteRootClient.mjs.map +1 -0
- package/dist/js/components/createFlowRemoteComponent.mjs +25 -0
- package/dist/js/components/createFlowRemoteComponent.mjs.map +1 -0
- package/dist/js/hooks/useIsMounted.mjs +14 -0
- package/dist/js/hooks/useIsMounted.mjs.map +1 -0
- package/dist/js/index.mjs +196 -0
- package/dist/js/index.mjs.map +1 -0
- package/dist/js/integrations/react-hook-form/Form/Form.mjs +15 -0
- package/dist/js/integrations/react-hook-form/Form/Form.mjs.map +1 -0
- package/dist/js/react-hook-form.mjs +11 -0
- package/dist/js/react-hook-form.mjs.map +1 -0
- package/dist/types/components/FlowRemoteUniversal.d.ts +2 -0
- package/dist/types/components/FlowRemoteUniversal.d.ts.map +1 -0
- package/dist/types/components/Form.d.ts +1 -1
- package/dist/types/components/Form.d.ts.map +1 -1
- package/dist/types/components/createFlowRemoteComponent.d.ts.map +1 -0
- package/dist/types/components/index.d.ts +1 -10
- package/dist/types/components/index.d.ts.map +1 -1
- package/dist/types/integrations/react-hook-form/Form/Form.d.ts +1 -1
- package/dist/types/integrations/react-hook-form/Form/Form.d.ts.map +1 -1
- package/dist/types/integrations/react-hook-form/index.d.ts +1 -1
- package/dist/types/integrations/react-hook-form/index.d.ts.map +1 -1
- package/package.json +17 -28
- package/dist/Form-BUs7JQQh.js +0 -17
- package/dist/Icons.js +0 -3
- package/dist/RemoteRoot.js +0 -18
- package/dist/RemoteRootClient-gF082tDB.js +0 -140
- package/dist/TooltipTrigger-By3lrawI.js +0 -6139
- package/dist/controller.js +0 -3
- package/dist/hooks.js +0 -3
- package/dist/index.js +0 -119
- package/dist/react-hook-form.js +0 -14
- package/dist/types/Icons.d.ts +0 -2
- package/dist/types/Icons.d.ts.map +0 -1
- package/dist/types/components/List.d.ts +0 -2
- package/dist/types/components/List.d.ts.map +0 -1
- package/dist/types/controller.d.ts +0 -2
- package/dist/types/controller.d.ts.map +0 -1
- package/dist/types/hooks.d.ts +0 -2
- package/dist/types/hooks.d.ts.map +0 -1
- package/dist/types/integrations/index.d.ts +0 -2
- package/dist/types/integrations/index.d.ts.map +0 -1
- package/dist/types/lib/createFlowRemoteComponent.d.ts.map +0 -1
- /package/dist/types/{lib → components}/createFlowRemoteComponent.d.ts +0 -0
|
@@ -0,0 +1,193 @@
|
|
|
1
|
+
import { Accordion } from "./Accordion.mjs";
|
|
2
|
+
import { ActionGroup } from "./ActionGroup.mjs";
|
|
3
|
+
import { Alert } from "./Alert.mjs";
|
|
4
|
+
import { AlertBadge } from "./AlertBadge.mjs";
|
|
5
|
+
import { AlertIcon } from "./AlertIcon.mjs";
|
|
6
|
+
import { Align } from "./Align.mjs";
|
|
7
|
+
import { Avatar } from "./Avatar.mjs";
|
|
8
|
+
import { Badge } from "./Badge.mjs";
|
|
9
|
+
import { Breadcrumb } from "./Breadcrumb.mjs";
|
|
10
|
+
import { Button } from "./Button.mjs";
|
|
11
|
+
import { Checkbox } from "./Checkbox.mjs";
|
|
12
|
+
import { CheckboxButton } from "./CheckboxButton.mjs";
|
|
13
|
+
import { CheckboxGroup } from "./CheckboxGroup.mjs";
|
|
14
|
+
import { CodeBlock } from "./CodeBlock.mjs";
|
|
15
|
+
import { ColumnLayout } from "./ColumnLayout.mjs";
|
|
16
|
+
import { Content } from "./Content.mjs";
|
|
17
|
+
import { ContextMenuContent } from "./ContextMenuContent.mjs";
|
|
18
|
+
import { ContextMenuSection } from "./ContextMenuSection.mjs";
|
|
19
|
+
import { ContextualHelp } from "./ContextualHelp.mjs";
|
|
20
|
+
import { ContextualHelpTrigger } from "./ContextualHelpTrigger.mjs";
|
|
21
|
+
import { CopyButton } from "./CopyButton.mjs";
|
|
22
|
+
import { CounterBadge } from "./CounterBadge.mjs";
|
|
23
|
+
import { CountryOptions } from "./CountryOptions.mjs";
|
|
24
|
+
import { DatePicker } from "./DatePicker.mjs";
|
|
25
|
+
import { DateRangePicker } from "./DateRangePicker.mjs";
|
|
26
|
+
import { DialogTrigger } from "./DialogTrigger.mjs";
|
|
27
|
+
import { Div } from "./Div.mjs";
|
|
28
|
+
import { FieldDescription } from "./FieldDescription.mjs";
|
|
29
|
+
import { FieldError } from "./FieldError.mjs";
|
|
30
|
+
import { FileCard } from "./FileCard.mjs";
|
|
31
|
+
import { FileCardList } from "./FileCardList.mjs";
|
|
32
|
+
import { FileField } from "./FileField.mjs";
|
|
33
|
+
import { Fragment } from "./Fragment.mjs";
|
|
34
|
+
import { Header } from "./Header.mjs";
|
|
35
|
+
import { HeaderNavigation } from "./HeaderNavigation.mjs";
|
|
36
|
+
import { Heading } from "./Heading.mjs";
|
|
37
|
+
import { Icon } from "./Icon.mjs";
|
|
38
|
+
import { IllustratedMessage } from "./IllustratedMessage.mjs";
|
|
39
|
+
import { Image } from "./Image.mjs";
|
|
40
|
+
import { Initials } from "./Initials.mjs";
|
|
41
|
+
import { InlineCode } from "./InlineCode.mjs";
|
|
42
|
+
import { ItemsGridList } from "./ItemsGridList.mjs";
|
|
43
|
+
import { ItemsGridListItem } from "./ItemsGridListItem.mjs";
|
|
44
|
+
import { Label } from "./Label.mjs";
|
|
45
|
+
import { LabeledValue } from "./LabeledValue.mjs";
|
|
46
|
+
import { LayoutCard } from "./LayoutCard.mjs";
|
|
47
|
+
import { LightBox } from "./LightBox.mjs";
|
|
48
|
+
import { LightBoxTrigger } from "./LightBoxTrigger.mjs";
|
|
49
|
+
import { Link } from "./Link.mjs";
|
|
50
|
+
import { ListEmptyView } from "./ListEmptyView.mjs";
|
|
51
|
+
import { ListItemViewContent } from "./ListItemViewContent.mjs";
|
|
52
|
+
import { ListSummary } from "./ListSummary.mjs";
|
|
53
|
+
import { LoadingSpinner } from "./LoadingSpinner.mjs";
|
|
54
|
+
import { Markdown } from "./Markdown.mjs";
|
|
55
|
+
import { MenuItem } from "./MenuItem.mjs";
|
|
56
|
+
import { MenuTrigger } from "./MenuTrigger.mjs";
|
|
57
|
+
import { Message } from "./Message.mjs";
|
|
58
|
+
import { Navigation } from "./Navigation.mjs";
|
|
59
|
+
import { NavigationGroup } from "./NavigationGroup.mjs";
|
|
60
|
+
import { Notification } from "./Notification.mjs";
|
|
61
|
+
import { NotificationProvider } from "./NotificationProvider.mjs";
|
|
62
|
+
import { NumberField } from "./NumberField.mjs";
|
|
63
|
+
import { Option } from "./Option.mjs";
|
|
64
|
+
import { OverlayContent } from "./OverlayContent.mjs";
|
|
65
|
+
import { PopoverContent } from "./PopoverContent.mjs";
|
|
66
|
+
import { ProgressBar } from "./ProgressBar.mjs";
|
|
67
|
+
import { Radio } from "./Radio.mjs";
|
|
68
|
+
import { RadioButton } from "./RadioButton.mjs";
|
|
69
|
+
import { RadioGroup } from "./RadioGroup.mjs";
|
|
70
|
+
import { SearchField } from "./SearchField.mjs";
|
|
71
|
+
import { Section } from "./Section.mjs";
|
|
72
|
+
import { Segment } from "./Segment.mjs";
|
|
73
|
+
import { SegmentedControl } from "./SegmentedControl.mjs";
|
|
74
|
+
import { Select } from "./Select.mjs";
|
|
75
|
+
import { Separator } from "./Separator.mjs";
|
|
76
|
+
import { Skeleton } from "./Skeleton.mjs";
|
|
77
|
+
import { SkeletonText } from "./SkeletonText.mjs";
|
|
78
|
+
import { Slider } from "./Slider.mjs";
|
|
79
|
+
import { Switch } from "./Switch.mjs";
|
|
80
|
+
import { Tab } from "./Tab.mjs";
|
|
81
|
+
import { TabTitle } from "./TabTitle.mjs";
|
|
82
|
+
import { Table } from "./Table.mjs";
|
|
83
|
+
import { TableBody } from "./TableBody.mjs";
|
|
84
|
+
import { TableCell } from "./TableCell.mjs";
|
|
85
|
+
import { TableColumn } from "./TableColumn.mjs";
|
|
86
|
+
import { TableFooterRow } from "./TableFooterRow.mjs";
|
|
87
|
+
import { TableHeader } from "./TableHeader.mjs";
|
|
88
|
+
import { TableRow } from "./TableRow.mjs";
|
|
89
|
+
import { Tabs } from "./Tabs.mjs";
|
|
90
|
+
import { Text } from "./Text.mjs";
|
|
91
|
+
import { TextArea } from "./TextArea.mjs";
|
|
92
|
+
import { TextField } from "./TextField.mjs";
|
|
93
|
+
import { TimeField } from "./TimeField.mjs";
|
|
94
|
+
import { Tooltip } from "./Tooltip.mjs";
|
|
95
|
+
import { TooltipTrigger } from "./TooltipTrigger.mjs";
|
|
96
|
+
export {
|
|
97
|
+
Accordion,
|
|
98
|
+
ActionGroup,
|
|
99
|
+
Alert,
|
|
100
|
+
AlertBadge,
|
|
101
|
+
AlertIcon,
|
|
102
|
+
Align,
|
|
103
|
+
Avatar,
|
|
104
|
+
Badge,
|
|
105
|
+
Breadcrumb,
|
|
106
|
+
Button,
|
|
107
|
+
Checkbox,
|
|
108
|
+
CheckboxButton,
|
|
109
|
+
CheckboxGroup,
|
|
110
|
+
CodeBlock,
|
|
111
|
+
ColumnLayout,
|
|
112
|
+
Content,
|
|
113
|
+
ContextMenuContent,
|
|
114
|
+
ContextMenuSection,
|
|
115
|
+
ContextualHelp,
|
|
116
|
+
ContextualHelpTrigger,
|
|
117
|
+
CopyButton,
|
|
118
|
+
CounterBadge,
|
|
119
|
+
CountryOptions,
|
|
120
|
+
DatePicker,
|
|
121
|
+
DateRangePicker,
|
|
122
|
+
DialogTrigger,
|
|
123
|
+
Div,
|
|
124
|
+
FieldDescription,
|
|
125
|
+
FieldError,
|
|
126
|
+
FileCard,
|
|
127
|
+
FileCardList,
|
|
128
|
+
FileField,
|
|
129
|
+
Fragment,
|
|
130
|
+
Header,
|
|
131
|
+
HeaderNavigation,
|
|
132
|
+
Heading,
|
|
133
|
+
Icon,
|
|
134
|
+
IllustratedMessage,
|
|
135
|
+
Image,
|
|
136
|
+
Initials,
|
|
137
|
+
InlineCode,
|
|
138
|
+
ItemsGridList,
|
|
139
|
+
ItemsGridListItem,
|
|
140
|
+
Label,
|
|
141
|
+
LabeledValue,
|
|
142
|
+
LayoutCard,
|
|
143
|
+
LightBox,
|
|
144
|
+
LightBoxTrigger,
|
|
145
|
+
Link,
|
|
146
|
+
ListEmptyView,
|
|
147
|
+
ListItemViewContent,
|
|
148
|
+
ListSummary,
|
|
149
|
+
LoadingSpinner,
|
|
150
|
+
Markdown,
|
|
151
|
+
MenuItem,
|
|
152
|
+
MenuTrigger,
|
|
153
|
+
Message,
|
|
154
|
+
Navigation,
|
|
155
|
+
NavigationGroup,
|
|
156
|
+
Notification,
|
|
157
|
+
NotificationProvider,
|
|
158
|
+
NumberField,
|
|
159
|
+
Option,
|
|
160
|
+
OverlayContent,
|
|
161
|
+
PopoverContent,
|
|
162
|
+
ProgressBar,
|
|
163
|
+
Radio,
|
|
164
|
+
RadioButton,
|
|
165
|
+
RadioGroup,
|
|
166
|
+
SearchField,
|
|
167
|
+
Section,
|
|
168
|
+
Segment,
|
|
169
|
+
SegmentedControl,
|
|
170
|
+
Select,
|
|
171
|
+
Separator,
|
|
172
|
+
Skeleton,
|
|
173
|
+
SkeletonText,
|
|
174
|
+
Slider,
|
|
175
|
+
Switch,
|
|
176
|
+
Tab,
|
|
177
|
+
TabTitle,
|
|
178
|
+
Table,
|
|
179
|
+
TableBody,
|
|
180
|
+
TableCell,
|
|
181
|
+
TableColumn,
|
|
182
|
+
TableFooterRow,
|
|
183
|
+
TableHeader,
|
|
184
|
+
TableRow,
|
|
185
|
+
Tabs,
|
|
186
|
+
Text,
|
|
187
|
+
TextArea,
|
|
188
|
+
TextField,
|
|
189
|
+
TimeField,
|
|
190
|
+
Tooltip,
|
|
191
|
+
TooltipTrigger
|
|
192
|
+
};
|
|
193
|
+
//# sourceMappingURL=index.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.mjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
"use client"
|
|
2
|
+
/* */
|
|
3
|
+
"use client";
|
|
4
|
+
import { jsx } from "react/jsx-runtime";
|
|
5
|
+
import { createRemoteComponent } from "@remote-dom/react";
|
|
6
|
+
import { RemoteFormElement } from "@mittwald/flow-remote-elements";
|
|
7
|
+
import { startTransition } from "react";
|
|
8
|
+
const BaseForm = createRemoteComponent("flr-form", RemoteFormElement, {
|
|
9
|
+
eventProps: {
|
|
10
|
+
onSubmit: { event: "submit" }
|
|
11
|
+
}
|
|
12
|
+
});
|
|
13
|
+
const Form = (props) => {
|
|
14
|
+
const { action, ...rest } = props;
|
|
15
|
+
const actionWithContext = action && typeof action === "function" ? (formData) => startTransition(() => action(formData)) : action;
|
|
16
|
+
return /* @__PURE__ */ jsx(BaseForm, { ...rest, action: actionWithContext });
|
|
17
|
+
};
|
|
18
|
+
export {
|
|
19
|
+
Form
|
|
20
|
+
};
|
|
21
|
+
//# sourceMappingURL=Form.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Form.mjs","sources":["../../../src/components/Form.tsx"],"sourcesContent":["\"use client\";\nimport { createRemoteComponent } from \"@remote-dom/react\";\nimport { RemoteFormElement } from \"@mittwald/flow-remote-elements\";\nexport { type RemoteFormElement } from \"@mittwald/flow-remote-elements\";\nimport type { ComponentProps, FC } from \"react\";\nimport React from \"react\";\nimport { startTransition } from \"react\";\n\nconst BaseForm = createRemoteComponent(\"flr-form\", RemoteFormElement, {\n eventProps: {\n onSubmit: { event: \"submit\" } as never,\n },\n});\n\nexport const Form: FC<ComponentProps<typeof BaseForm>> = (props) => {\n const { action, ...rest } = props;\n\n const actionWithContext =\n action && typeof action === \"function\"\n ? (formData: FormData) => startTransition(() => action(formData))\n : action;\n\n return <BaseForm {...rest} action={actionWithContext} />;\n};\n"],"names":[],"mappings":";;;;;AAQA,MAAM,WAAW,sBAAsB,YAAY,mBAAmB;AAAA,EACpE,YAAY;AAAA,IACV,UAAU,EAAE,OAAO,SAAS;AAAA,EAAA;AAEhC,CAAC;AAEY,MAAA,OAA4C,CAAC,UAAU;AAClE,QAAM,EAAE,QAAQ,GAAG,KAAA,IAAS;AAE5B,QAAM,oBACJ,UAAU,OAAO,WAAW,aACxB,CAAC,aAAuB,gBAAgB,MAAM,OAAO,QAAQ,CAAC,IAC9D;AAEN,SAAQ,oBAAA,UAAA,EAAU,GAAG,MAAM,QAAQ,mBAAmB;AACxD;"}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
"use client"
|
|
2
|
+
/* */
|
|
3
|
+
import { jsx } from "react/jsx-runtime";
|
|
4
|
+
import React from "react";
|
|
5
|
+
const Fallback = () => null;
|
|
6
|
+
const RemoteRenderer = React.lazy(async () => {
|
|
7
|
+
try {
|
|
8
|
+
return await import("@mittwald/flow-remote-react-renderer/RemoteRenderer");
|
|
9
|
+
} catch {
|
|
10
|
+
return { default: Fallback };
|
|
11
|
+
}
|
|
12
|
+
});
|
|
13
|
+
const Preview = () => {
|
|
14
|
+
const previewUrl = new URL(document.location.href);
|
|
15
|
+
previewUrl.searchParams.set("preview", "");
|
|
16
|
+
return /* @__PURE__ */ jsx(RemoteRenderer, { src: previewUrl.toString() });
|
|
17
|
+
};
|
|
18
|
+
export {
|
|
19
|
+
Preview,
|
|
20
|
+
Preview as default
|
|
21
|
+
};
|
|
22
|
+
//# sourceMappingURL=Preview.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Preview.mjs","sources":["../../../src/components/Preview.tsx"],"sourcesContent":["import React, { type FC } from \"react\";\n\nconst Fallback: FC = () => null;\n\nconst RemoteRenderer = React.lazy(async () => {\n try {\n return await import(\"@mittwald/flow-remote-react-renderer/RemoteRenderer\");\n } catch {\n return { default: Fallback };\n }\n});\n\nexport const Preview: FC = () => {\n const previewUrl = new URL(document.location.href);\n previewUrl.searchParams.set(\"preview\", \"\");\n return <RemoteRenderer src={previewUrl.toString()} />;\n};\n\nexport default Preview;\n"],"names":[],"mappings":";;AAEA,MAAM,WAAe,MAAM;AAE3B,MAAM,iBAAiB,MAAM,KAAK,YAAY;AACxC,MAAA;AACK,WAAA,MAAM,OAAO,qDAAqD;AAAA,EAAA,QACnE;AACC,WAAA,EAAE,SAAS,SAAS;AAAA,EAAA;AAE/B,CAAC;AAEM,MAAM,UAAc,MAAM;AAC/B,QAAM,aAAa,IAAI,IAAI,SAAS,SAAS,IAAI;AACtC,aAAA,aAAa,IAAI,WAAW,EAAE;AACzC,SAAQ,oBAAA,gBAAA,EAAe,KAAK,WAAW,YAAY;AACrD;"}
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
"use client"
|
|
2
|
+
/* */
|
|
3
|
+
"use client";
|
|
4
|
+
import { jsx } from "react/jsx-runtime";
|
|
5
|
+
import "react";
|
|
6
|
+
import { connectHostIframeRef } from "@mittwald/flow-remote-core";
|
|
7
|
+
import { ViewComponentContextProvider } from "@mittwald/flow-react-components/internal";
|
|
8
|
+
import * as index from "../auto-generated/index.mjs";
|
|
9
|
+
import { Preview } from "./Preview.mjs";
|
|
10
|
+
const RemoteRootClient = (props) => {
|
|
11
|
+
const { children, showPreview = false } = props;
|
|
12
|
+
const params = new URLSearchParams(document.location.search);
|
|
13
|
+
const isInPreviewFrame = params.has("preview");
|
|
14
|
+
const root = /* @__PURE__ */ jsx(
|
|
15
|
+
"div",
|
|
16
|
+
{
|
|
17
|
+
ref: connectHostIframeRef,
|
|
18
|
+
style: {
|
|
19
|
+
height: 0,
|
|
20
|
+
width: 0,
|
|
21
|
+
left: -9999,
|
|
22
|
+
position: "absolute"
|
|
23
|
+
},
|
|
24
|
+
children: /* @__PURE__ */ jsx(
|
|
25
|
+
ViewComponentContextProvider,
|
|
26
|
+
{
|
|
27
|
+
components: index,
|
|
28
|
+
children
|
|
29
|
+
}
|
|
30
|
+
)
|
|
31
|
+
}
|
|
32
|
+
);
|
|
33
|
+
if (isInPreviewFrame || !showPreview) {
|
|
34
|
+
return root;
|
|
35
|
+
}
|
|
36
|
+
return /* @__PURE__ */ jsx(Preview, {});
|
|
37
|
+
};
|
|
38
|
+
export {
|
|
39
|
+
RemoteRootClient,
|
|
40
|
+
RemoteRootClient as default
|
|
41
|
+
};
|
|
42
|
+
//# sourceMappingURL=RemoteRootClient.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"RemoteRootClient.mjs","sources":["../../../src/components/RemoteRootClient.tsx"],"sourcesContent":["\"use client\";\nimport type { FC, PropsWithChildren } from \"react\";\nimport React from \"react\";\nimport { connectHostIframeRef } from \"@mittwald/flow-remote-core\";\nimport { ViewComponentContextProvider } from \"@mittwald/flow-react-components/internal\";\nimport * as viewComponents from \"@/auto-generated\";\nimport Preview from \"@/components/Preview\";\n\nexport interface RootClientProps extends PropsWithChildren {\n showPreview?: boolean;\n}\n\nexport const RemoteRootClient: FC<RootClientProps> = (props) => {\n const { children, showPreview = false } = props;\n\n const params = new URLSearchParams(document.location.search);\n const isInPreviewFrame = params.has(\"preview\");\n\n const root = (\n <div\n ref={connectHostIframeRef}\n style={{\n height: 0,\n width: 0,\n left: -9999,\n position: \"absolute\",\n }}\n >\n <ViewComponentContextProvider\n components={viewComponents as FlowViewComponents}\n >\n {children}\n </ViewComponentContextProvider>\n </div>\n );\n\n if (isInPreviewFrame || !showPreview) {\n return root;\n }\n\n return <Preview />;\n};\n\nexport default RemoteRootClient;\n"],"names":["viewComponents"],"mappings":";;;;;;;AAYa,MAAA,mBAAwC,CAAC,UAAU;AAC9D,QAAM,EAAE,UAAU,cAAc,MAAU,IAAA;AAE1C,QAAM,SAAS,IAAI,gBAAgB,SAAS,SAAS,MAAM;AACrD,QAAA,mBAAmB,OAAO,IAAI,SAAS;AAE7C,QAAM,OACJ;AAAA,IAAC;AAAA,IAAA;AAAA,MACC,KAAK;AAAA,MACL,OAAO;AAAA,QACL,QAAQ;AAAA,QACR,OAAO;AAAA,QACP,MAAM;AAAA,QACN,UAAU;AAAA,MACZ;AAAA,MAEA,UAAA;AAAA,QAAC;AAAA,QAAA;AAAA,UACC,YAAYA;AAAAA,UAEX;AAAA,QAAA;AAAA,MAAA;AAAA,IACH;AAAA,EACF;AAGE,MAAA,oBAAoB,CAAC,aAAa;AAC7B,WAAA;AAAA,EAAA;AAGT,6BAAQ,SAAQ,EAAA;AAClB;"}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
"use client"
|
|
2
|
+
/* */
|
|
3
|
+
import { createElement } from "react";
|
|
4
|
+
import { createRemoteComponent } from "@remote-dom/react";
|
|
5
|
+
import { isFlowComponentName, flowComponent } from "@mittwald/flow-react-components/internal";
|
|
6
|
+
function createFlowRemoteComponent(tag, flowComponentTag, Element = customElements.get(tag), {
|
|
7
|
+
slotProps = true,
|
|
8
|
+
eventProps = {}
|
|
9
|
+
} = {}) {
|
|
10
|
+
const element = createRemoteComponent(tag, Element, {
|
|
11
|
+
slotProps,
|
|
12
|
+
eventProps
|
|
13
|
+
});
|
|
14
|
+
if (isFlowComponentName(flowComponentTag)) {
|
|
15
|
+
return flowComponent(flowComponentTag, (p) => {
|
|
16
|
+
return createElement(element, p);
|
|
17
|
+
});
|
|
18
|
+
}
|
|
19
|
+
return element;
|
|
20
|
+
}
|
|
21
|
+
export {
|
|
22
|
+
createFlowRemoteComponent,
|
|
23
|
+
createFlowRemoteComponent as default
|
|
24
|
+
};
|
|
25
|
+
//# sourceMappingURL=createFlowRemoteComponent.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"createFlowRemoteComponent.mjs","sources":["../../../src/components/createFlowRemoteComponent.ts"],"sourcesContent":["import { createElement } from \"react\";\nimport type {\n RemoteElement,\n RemoteElementConstructor,\n} from \"@mittwald/flow-remote-core\";\nimport type {\n RemoteComponentOptions,\n RemoteComponentTypeFromElementConstructor,\n} from \"@remote-dom/react\";\nimport { createRemoteComponent } from \"@remote-dom/react\";\nimport { isFlowComponentName } from \"@mittwald/flow-react-components/internal\";\nimport { flowComponent } from \"@mittwald/flow-react-components/internal\";\n\n// eslint-disable-next-line @typescript-eslint/no-explicit-any\ntype AnyRecord = Record<string, any>;\n\nexport function createFlowRemoteComponent<\n Tag extends keyof HTMLElementTagNameMap,\n ElementConstructor extends RemoteElementConstructor<\n AnyRecord,\n AnyRecord,\n AnyRecord,\n AnyRecord\n > = HTMLElementTagNameMap[Tag] extends RemoteElement<\n infer Properties,\n infer Methods,\n infer Slots,\n infer EventListeners\n >\n ? RemoteElementConstructor<Properties, Methods, Slots, EventListeners>\n : never,\n Props extends AnyRecord = AnyRecord,\n>(\n tag: Tag,\n flowComponentTag: string,\n Element: ElementConstructor | undefined = customElements.get(tag) as never,\n {\n slotProps = true,\n eventProps = {} as never,\n }: RemoteComponentOptions<ElementConstructor, Props> = {},\n): RemoteComponentTypeFromElementConstructor<ElementConstructor> {\n const element = createRemoteComponent(tag, Element, {\n slotProps,\n eventProps,\n });\n\n if (isFlowComponentName(flowComponentTag)) {\n return flowComponent(flowComponentTag, (p) => {\n return createElement(element, p as never);\n });\n }\n\n return element;\n}\n\nexport default createFlowRemoteComponent;\n"],"names":[],"mappings":";;;AAgBO,SAAS,0BAiBd,KACA,kBACA,UAA0C,eAAe,IAAI,GAAG,GAChE;AAAA,EACE,YAAY;AAAA,EACZ,aAAa,CAAA;AACf,IAAuD,IACQ;AACzD,QAAA,UAAU,sBAAsB,KAAK,SAAS;AAAA,IAClD;AAAA,IACA;AAAA,EAAA,CACD;AAEG,MAAA,oBAAoB,gBAAgB,GAAG;AAClC,WAAA,cAAc,kBAAkB,CAAC,MAAM;AACrC,aAAA,cAAc,SAAS,CAAU;AAAA,IAAA,CACzC;AAAA,EAAA;AAGI,SAAA;AACT;"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
"use client"
|
|
2
|
+
/* */
|
|
3
|
+
import { useState, useEffect } from "react";
|
|
4
|
+
const useIsMounted = () => {
|
|
5
|
+
const [isMounted, setIsMounted] = useState(false);
|
|
6
|
+
useEffect(() => {
|
|
7
|
+
setIsMounted(true);
|
|
8
|
+
}, []);
|
|
9
|
+
return isMounted;
|
|
10
|
+
};
|
|
11
|
+
export {
|
|
12
|
+
useIsMounted
|
|
13
|
+
};
|
|
14
|
+
//# sourceMappingURL=useIsMounted.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useIsMounted.mjs","sources":["../../../src/hooks/useIsMounted.ts"],"sourcesContent":["import { useEffect, useState } from \"react\";\n\nexport const useIsMounted = () => {\n const [isMounted, setIsMounted] = useState(false);\n useEffect(() => {\n setIsMounted(true);\n }, []);\n return isMounted;\n};\n"],"names":[],"mappings":";AAEO,MAAM,eAAe,MAAM;AAChC,QAAM,CAAC,WAAW,YAAY,IAAI,SAAS,KAAK;AAChD,YAAU,MAAM;AACd,iBAAa,IAAI;AAAA,EACnB,GAAG,EAAE;AACE,SAAA;AACT;"}
|
|
@@ -0,0 +1,196 @@
|
|
|
1
|
+
import { Accordion } from "./auto-generated/Accordion.mjs";
|
|
2
|
+
import { ActionGroup } from "./auto-generated/ActionGroup.mjs";
|
|
3
|
+
import { Alert } from "./auto-generated/Alert.mjs";
|
|
4
|
+
import { AlertBadge } from "./auto-generated/AlertBadge.mjs";
|
|
5
|
+
import { AlertIcon } from "./auto-generated/AlertIcon.mjs";
|
|
6
|
+
import { Align } from "./auto-generated/Align.mjs";
|
|
7
|
+
import { Avatar } from "./auto-generated/Avatar.mjs";
|
|
8
|
+
import { Badge } from "./auto-generated/Badge.mjs";
|
|
9
|
+
import { Breadcrumb } from "./auto-generated/Breadcrumb.mjs";
|
|
10
|
+
import { Button } from "./auto-generated/Button.mjs";
|
|
11
|
+
import { Checkbox } from "./auto-generated/Checkbox.mjs";
|
|
12
|
+
import { CheckboxButton } from "./auto-generated/CheckboxButton.mjs";
|
|
13
|
+
import { CheckboxGroup } from "./auto-generated/CheckboxGroup.mjs";
|
|
14
|
+
import { CodeBlock } from "./auto-generated/CodeBlock.mjs";
|
|
15
|
+
import { ColumnLayout } from "./auto-generated/ColumnLayout.mjs";
|
|
16
|
+
import { Content } from "./auto-generated/Content.mjs";
|
|
17
|
+
import { ContextMenuContent } from "./auto-generated/ContextMenuContent.mjs";
|
|
18
|
+
import { ContextMenuSection } from "./auto-generated/ContextMenuSection.mjs";
|
|
19
|
+
import { ContextualHelp } from "./auto-generated/ContextualHelp.mjs";
|
|
20
|
+
import { ContextualHelpTrigger } from "./auto-generated/ContextualHelpTrigger.mjs";
|
|
21
|
+
import { CopyButton } from "./auto-generated/CopyButton.mjs";
|
|
22
|
+
import { CounterBadge } from "./auto-generated/CounterBadge.mjs";
|
|
23
|
+
import { CountryOptions } from "./auto-generated/CountryOptions.mjs";
|
|
24
|
+
import { DatePicker } from "./auto-generated/DatePicker.mjs";
|
|
25
|
+
import { DateRangePicker } from "./auto-generated/DateRangePicker.mjs";
|
|
26
|
+
import { DialogTrigger } from "./auto-generated/DialogTrigger.mjs";
|
|
27
|
+
import { Div } from "./auto-generated/Div.mjs";
|
|
28
|
+
import { FieldDescription } from "./auto-generated/FieldDescription.mjs";
|
|
29
|
+
import { FieldError } from "./auto-generated/FieldError.mjs";
|
|
30
|
+
import { FileCard } from "./auto-generated/FileCard.mjs";
|
|
31
|
+
import { FileCardList } from "./auto-generated/FileCardList.mjs";
|
|
32
|
+
import { FileField } from "./auto-generated/FileField.mjs";
|
|
33
|
+
import { Fragment } from "./auto-generated/Fragment.mjs";
|
|
34
|
+
import { Header } from "./auto-generated/Header.mjs";
|
|
35
|
+
import { HeaderNavigation } from "./auto-generated/HeaderNavigation.mjs";
|
|
36
|
+
import { Heading } from "./auto-generated/Heading.mjs";
|
|
37
|
+
import { Icon } from "./auto-generated/Icon.mjs";
|
|
38
|
+
import { IllustratedMessage } from "./auto-generated/IllustratedMessage.mjs";
|
|
39
|
+
import { Image } from "./auto-generated/Image.mjs";
|
|
40
|
+
import { Initials } from "./auto-generated/Initials.mjs";
|
|
41
|
+
import { InlineCode } from "./auto-generated/InlineCode.mjs";
|
|
42
|
+
import { ItemsGridList } from "./auto-generated/ItemsGridList.mjs";
|
|
43
|
+
import { ItemsGridListItem } from "./auto-generated/ItemsGridListItem.mjs";
|
|
44
|
+
import { Label } from "./auto-generated/Label.mjs";
|
|
45
|
+
import { LabeledValue } from "./auto-generated/LabeledValue.mjs";
|
|
46
|
+
import { LayoutCard } from "./auto-generated/LayoutCard.mjs";
|
|
47
|
+
import { LightBox } from "./auto-generated/LightBox.mjs";
|
|
48
|
+
import { LightBoxTrigger } from "./auto-generated/LightBoxTrigger.mjs";
|
|
49
|
+
import { Link } from "./auto-generated/Link.mjs";
|
|
50
|
+
import { ListEmptyView } from "./auto-generated/ListEmptyView.mjs";
|
|
51
|
+
import { ListItemViewContent } from "./auto-generated/ListItemViewContent.mjs";
|
|
52
|
+
import { ListSummary } from "./auto-generated/ListSummary.mjs";
|
|
53
|
+
import { LoadingSpinner } from "./auto-generated/LoadingSpinner.mjs";
|
|
54
|
+
import { Markdown } from "./auto-generated/Markdown.mjs";
|
|
55
|
+
import { MenuItem } from "./auto-generated/MenuItem.mjs";
|
|
56
|
+
import { MenuTrigger } from "./auto-generated/MenuTrigger.mjs";
|
|
57
|
+
import { Message } from "./auto-generated/Message.mjs";
|
|
58
|
+
import { Navigation } from "./auto-generated/Navigation.mjs";
|
|
59
|
+
import { NavigationGroup } from "./auto-generated/NavigationGroup.mjs";
|
|
60
|
+
import { Notification } from "./auto-generated/Notification.mjs";
|
|
61
|
+
import { NotificationProvider } from "./auto-generated/NotificationProvider.mjs";
|
|
62
|
+
import { NumberField } from "./auto-generated/NumberField.mjs";
|
|
63
|
+
import { Option } from "./auto-generated/Option.mjs";
|
|
64
|
+
import { OverlayContent } from "./auto-generated/OverlayContent.mjs";
|
|
65
|
+
import { PopoverContent } from "./auto-generated/PopoverContent.mjs";
|
|
66
|
+
import { ProgressBar } from "./auto-generated/ProgressBar.mjs";
|
|
67
|
+
import { Radio } from "./auto-generated/Radio.mjs";
|
|
68
|
+
import { RadioButton } from "./auto-generated/RadioButton.mjs";
|
|
69
|
+
import { RadioGroup } from "./auto-generated/RadioGroup.mjs";
|
|
70
|
+
import { SearchField } from "./auto-generated/SearchField.mjs";
|
|
71
|
+
import { Section } from "./auto-generated/Section.mjs";
|
|
72
|
+
import { Segment } from "./auto-generated/Segment.mjs";
|
|
73
|
+
import { SegmentedControl } from "./auto-generated/SegmentedControl.mjs";
|
|
74
|
+
import { Select } from "./auto-generated/Select.mjs";
|
|
75
|
+
import { Separator } from "./auto-generated/Separator.mjs";
|
|
76
|
+
import { Skeleton } from "./auto-generated/Skeleton.mjs";
|
|
77
|
+
import { SkeletonText } from "./auto-generated/SkeletonText.mjs";
|
|
78
|
+
import { Slider } from "./auto-generated/Slider.mjs";
|
|
79
|
+
import { Switch } from "./auto-generated/Switch.mjs";
|
|
80
|
+
import { Tab } from "./auto-generated/Tab.mjs";
|
|
81
|
+
import { TabTitle } from "./auto-generated/TabTitle.mjs";
|
|
82
|
+
import { Table } from "./auto-generated/Table.mjs";
|
|
83
|
+
import { TableBody } from "./auto-generated/TableBody.mjs";
|
|
84
|
+
import { TableCell } from "./auto-generated/TableCell.mjs";
|
|
85
|
+
import { TableColumn } from "./auto-generated/TableColumn.mjs";
|
|
86
|
+
import { TableFooterRow } from "./auto-generated/TableFooterRow.mjs";
|
|
87
|
+
import { TableHeader } from "./auto-generated/TableHeader.mjs";
|
|
88
|
+
import { TableRow } from "./auto-generated/TableRow.mjs";
|
|
89
|
+
import { Tabs } from "./auto-generated/Tabs.mjs";
|
|
90
|
+
import { Text } from "./auto-generated/Text.mjs";
|
|
91
|
+
import { TextArea } from "./auto-generated/TextArea.mjs";
|
|
92
|
+
import { TextField } from "./auto-generated/TextField.mjs";
|
|
93
|
+
import { TimeField } from "./auto-generated/TimeField.mjs";
|
|
94
|
+
import { Tooltip } from "./auto-generated/Tooltip.mjs";
|
|
95
|
+
import { TooltipTrigger } from "./auto-generated/TooltipTrigger.mjs";
|
|
96
|
+
import { Form } from "./components/Form.mjs";
|
|
97
|
+
export * from "@mittwald/flow-react-components/flr-universal";
|
|
98
|
+
export {
|
|
99
|
+
Accordion,
|
|
100
|
+
ActionGroup,
|
|
101
|
+
Alert,
|
|
102
|
+
AlertBadge,
|
|
103
|
+
AlertIcon,
|
|
104
|
+
Align,
|
|
105
|
+
Avatar,
|
|
106
|
+
Badge,
|
|
107
|
+
Breadcrumb,
|
|
108
|
+
Button,
|
|
109
|
+
Checkbox,
|
|
110
|
+
CheckboxButton,
|
|
111
|
+
CheckboxGroup,
|
|
112
|
+
CodeBlock,
|
|
113
|
+
ColumnLayout,
|
|
114
|
+
Content,
|
|
115
|
+
ContextMenuContent,
|
|
116
|
+
ContextMenuSection,
|
|
117
|
+
ContextualHelp,
|
|
118
|
+
ContextualHelpTrigger,
|
|
119
|
+
CopyButton,
|
|
120
|
+
CounterBadge,
|
|
121
|
+
CountryOptions,
|
|
122
|
+
DatePicker,
|
|
123
|
+
DateRangePicker,
|
|
124
|
+
DialogTrigger,
|
|
125
|
+
Div,
|
|
126
|
+
FieldDescription,
|
|
127
|
+
FieldError,
|
|
128
|
+
FileCard,
|
|
129
|
+
FileCardList,
|
|
130
|
+
FileField,
|
|
131
|
+
Form,
|
|
132
|
+
Fragment,
|
|
133
|
+
Header,
|
|
134
|
+
HeaderNavigation,
|
|
135
|
+
Heading,
|
|
136
|
+
Icon,
|
|
137
|
+
IllustratedMessage,
|
|
138
|
+
Image,
|
|
139
|
+
Initials,
|
|
140
|
+
InlineCode,
|
|
141
|
+
ItemsGridList,
|
|
142
|
+
ItemsGridListItem,
|
|
143
|
+
Label,
|
|
144
|
+
LabeledValue,
|
|
145
|
+
LayoutCard,
|
|
146
|
+
LightBox,
|
|
147
|
+
LightBoxTrigger,
|
|
148
|
+
Link,
|
|
149
|
+
ListEmptyView,
|
|
150
|
+
ListItemViewContent,
|
|
151
|
+
ListSummary,
|
|
152
|
+
LoadingSpinner,
|
|
153
|
+
Markdown,
|
|
154
|
+
MenuItem,
|
|
155
|
+
MenuTrigger,
|
|
156
|
+
Message,
|
|
157
|
+
Navigation,
|
|
158
|
+
NavigationGroup,
|
|
159
|
+
Notification,
|
|
160
|
+
NotificationProvider,
|
|
161
|
+
NumberField,
|
|
162
|
+
Option,
|
|
163
|
+
OverlayContent,
|
|
164
|
+
PopoverContent,
|
|
165
|
+
ProgressBar,
|
|
166
|
+
Radio,
|
|
167
|
+
RadioButton,
|
|
168
|
+
RadioGroup,
|
|
169
|
+
SearchField,
|
|
170
|
+
Section,
|
|
171
|
+
Segment,
|
|
172
|
+
SegmentedControl,
|
|
173
|
+
Select,
|
|
174
|
+
Separator,
|
|
175
|
+
Skeleton,
|
|
176
|
+
SkeletonText,
|
|
177
|
+
Slider,
|
|
178
|
+
Switch,
|
|
179
|
+
Tab,
|
|
180
|
+
TabTitle,
|
|
181
|
+
Table,
|
|
182
|
+
TableBody,
|
|
183
|
+
TableCell,
|
|
184
|
+
TableColumn,
|
|
185
|
+
TableFooterRow,
|
|
186
|
+
TableHeader,
|
|
187
|
+
TableRow,
|
|
188
|
+
Tabs,
|
|
189
|
+
Text,
|
|
190
|
+
TextArea,
|
|
191
|
+
TextField,
|
|
192
|
+
TimeField,
|
|
193
|
+
Tooltip,
|
|
194
|
+
TooltipTrigger
|
|
195
|
+
};
|
|
196
|
+
//# sourceMappingURL=index.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.mjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use client"
|
|
2
|
+
/* */
|
|
3
|
+
import { jsx } from "react/jsx-runtime";
|
|
4
|
+
import "react";
|
|
5
|
+
import { Form as Form$1 } from "@mittwald/flow-react-components/react-hook-form";
|
|
6
|
+
import { Form as Form$2 } from "../../../components/Form.mjs";
|
|
7
|
+
const Form = (props) => {
|
|
8
|
+
const { ...rest } = props;
|
|
9
|
+
return /* @__PURE__ */ jsx(Form$1, { formComponent: Form$2, ...rest });
|
|
10
|
+
};
|
|
11
|
+
export {
|
|
12
|
+
Form,
|
|
13
|
+
Form as default
|
|
14
|
+
};
|
|
15
|
+
//# sourceMappingURL=Form.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Form.mjs","sources":["../../../../../src/integrations/react-hook-form/Form/Form.tsx"],"sourcesContent":["import React from \"react\";\nimport { Form as RhfForm } from \"@mittwald/flow-react-components/react-hook-form\";\nimport type { FormProps } from \"@mittwald/flow-react-components/react-hook-form\";\nimport type { FieldValues } from \"react-hook-form\";\nimport { Form as RemoteForm } from \"@/components/Form\";\n\nexport const Form = <F extends FieldValues>(props: FormProps<F>) => {\n const { ...rest } = props;\n\n return <RhfForm formComponent={RemoteForm} {...rest} />;\n};\n\nexport default Form;\n"],"names":["RhfForm","RemoteForm"],"mappings":";;;;AAMa,MAAA,OAAO,CAAwB,UAAwB;AAC5D,QAAA,EAAE,GAAG,KAAA,IAAS;AAEpB,SAAQ,oBAAAA,QAAA,EAAQ,eAAeC,QAAa,GAAG,MAAM;AACvD;"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
"use client"
|
|
2
|
+
/* */
|
|
3
|
+
import { Form } from "./integrations/react-hook-form/Form/Form.mjs";
|
|
4
|
+
import { Field, typedField, useFormContext } from "@mittwald/flow-react-components/react-hook-form";
|
|
5
|
+
export {
|
|
6
|
+
Field,
|
|
7
|
+
Form,
|
|
8
|
+
typedField,
|
|
9
|
+
useFormContext
|
|
10
|
+
};
|
|
11
|
+
//# sourceMappingURL=react-hook-form.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"react-hook-form.mjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"FlowRemoteUniversal.d.ts","sourceRoot":"","sources":["../../../src/components/FlowRemoteUniversal.ts"],"names":[],"mappings":"AAAA,cAAc,+CAA+C,CAAC"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { RemoteFormElement } from '@mittwald/flow-remote-elements';
|
|
2
2
|
import { ComponentProps, FC } from 'react';
|
|
3
|
+
export { type RemoteFormElement } from '@mittwald/flow-remote-elements';
|
|
3
4
|
declare const BaseForm: import('@remote-dom/react').RemoteComponentTypeFromElementConstructor<typeof RemoteFormElement>;
|
|
4
5
|
export declare const Form: FC<ComponentProps<typeof BaseForm>>;
|
|
5
|
-
export {};
|
|
6
6
|
//# sourceMappingURL=Form.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Form.d.ts","sourceRoot":"","sources":["../../../src/components/Form.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"Form.d.ts","sourceRoot":"","sources":["../../../src/components/Form.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,iBAAiB,EAAE,MAAM,gCAAgC,CAAC;AACnE,OAAO,EAAE,KAAK,iBAAiB,EAAE,MAAM,gCAAgC,CAAC;AACxE,OAAO,KAAK,EAAE,cAAc,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC;AAIhD,QAAA,MAAM,QAAQ,iGAIZ,CAAC;AAEH,eAAO,MAAM,IAAI,EAAE,EAAE,CAAC,cAAc,CAAC,OAAO,QAAQ,CAAC,CASpD,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"createFlowRemoteComponent.d.ts","sourceRoot":"","sources":["../../../src/components/createFlowRemoteComponent.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EACV,aAAa,EACb,wBAAwB,EACzB,MAAM,4BAA4B,CAAC;AACpC,OAAO,KAAK,EACV,sBAAsB,EACtB,yCAAyC,EAC1C,MAAM,mBAAmB,CAAC;AAM3B,KAAK,SAAS,GAAG,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC;AAErC,wBAAgB,yBAAyB,CACvC,GAAG,SAAS,MAAM,qBAAqB,EACvC,kBAAkB,SAAS,wBAAwB,CACjD,SAAS,EACT,SAAS,EACT,SAAS,EACT,SAAS,CACV,GAAG,qBAAqB,CAAC,GAAG,CAAC,SAAS,aAAa,CAClD,MAAM,UAAU,EAChB,MAAM,OAAO,EACb,MAAM,KAAK,EACX,MAAM,cAAc,CACrB,GACG,wBAAwB,CAAC,UAAU,EAAE,OAAO,EAAE,KAAK,EAAE,cAAc,CAAC,GACpE,KAAK,EACT,KAAK,SAAS,SAAS,GAAG,SAAS,EAEnC,GAAG,EAAE,GAAG,EACR,gBAAgB,EAAE,MAAM,EACxB,OAAO,GAAE,kBAAkB,GAAG,SAA4C,EAC1E,EACE,SAAgB,EAChB,UAAwB,GACzB,GAAE,sBAAsB,CAAC,kBAAkB,EAAE,KAAK,CAAM,GACxD,yCAAyC,CAAC,kBAAkB,CAAC,CAa/D;AAED,eAAe,yBAAyB,CAAC"}
|
|
@@ -1,12 +1,3 @@
|
|
|
1
|
-
export * from './List';
|
|
2
1
|
export * from './Form';
|
|
3
|
-
|
|
4
|
-
* Using named re-exports here (and not "export * from ..."), because of Next.JS
|
|
5
|
-
* issue: It's currently unsupported to use "export *" in a client boundary
|
|
6
|
-
*/
|
|
7
|
-
export { Wrap } from '@mittwald/flow-react-components/Wrap';
|
|
8
|
-
export { Popover, PopoverTrigger, } from '@mittwald/flow-react-components/Popover';
|
|
9
|
-
export { Modal, type ModalProps, ModalTrigger, type ModalTriggerProps, } from '@mittwald/flow-react-components/Modal';
|
|
10
|
-
export { ContextMenu, type ContextMenuProps, ContextMenuTrigger, type ContextMenuTriggerProps, } from '@mittwald/flow-react-components/ContextMenu';
|
|
11
|
-
export { Action, type ActionFn, type ActionProps, } from '@mittwald/flow-react-components/Action';
|
|
2
|
+
export * from './FlowRemoteUniversal';
|
|
12
3
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/index.ts"],"names":[],"mappings":"AAAA,cAAc,QAAQ,CAAC;AACvB,cAAc,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/index.ts"],"names":[],"mappings":"AAAA,cAAc,QAAQ,CAAC;AACvB,cAAc,uBAAuB,CAAC"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { FormProps } from '@mittwald/flow-react-components/react-hook-form
|
|
1
|
+
import { FormProps } from '@mittwald/flow-react-components/react-hook-form';
|
|
2
2
|
import { FieldValues } from 'react-hook-form';
|
|
3
3
|
export declare const Form: <F extends FieldValues>(props: FormProps<F>) => import("react/jsx-runtime").JSX.Element;
|
|
4
4
|
export default Form;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Form.d.ts","sourceRoot":"","sources":["../../../../../src/integrations/react-hook-form/Form/Form.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"Form.d.ts","sourceRoot":"","sources":["../../../../../src/integrations/react-hook-form/Form/Form.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,iDAAiD,CAAC;AACjF,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,iBAAiB,CAAC;AAGnD,eAAO,MAAM,IAAI,GAAI,CAAC,SAAS,WAAW,SAAS,SAAS,CAAC,CAAC,CAAC,4CAI9D,CAAC;AAEF,eAAe,IAAI,CAAC"}
|