From aec73a19785a20afe999d2f374cf6a6465bce8f2 Mon Sep 17 00:00:00 2001 From: Marco Falkenberg Date: Thu, 9 Jan 2025 10:57:18 +0100 Subject: [PATCH] ignore some props --- demos/remote-dom/package.json | 2 - .../dev/remote-components-generator/config.ts | 11 +- .../generation/generateRemoteElementFile.ts | 2 - .../generation/prepareTypeScriptOutput.ts | 1 - .../components/Tabs/components/Tab/Tab.tsx | 4 +- .../examples/default.tsx | 6 +- .../examples/typed-field.tsx | 6 +- .../form-react-hook-form/examples/default.tsx | 6 +- .../overlays/modal/examples/form.tsx | 6 +- .../auto-generated/RemoteAccordionElement.ts | 4 - .../src/auto-generated/RemoteActionElement.ts | 2 - .../RemoteActionGroupElement.ts | 3 - .../auto-generated/RemoteActivityElement.ts | 1 - .../auto-generated/RemoteAlertBadgeElement.ts | 3 - .../src/auto-generated/RemoteAlertElement.ts | 5 - .../auto-generated/RemoteAlertIconElement.ts | 5 - .../src/auto-generated/RemoteAlignElement.ts | 6 +- .../src/auto-generated/RemoteAvatarElement.ts | 3 - .../src/auto-generated/RemoteBadgeElement.ts | 3 - .../auto-generated/RemoteBreadcrumbElement.ts | 3 - .../src/auto-generated/RemoteButtonElement.ts | 4 - .../RemoteCheckboxButtonElement.ts | 4 - .../auto-generated/RemoteCheckboxElement.ts | 4 - .../RemoteCheckboxGroupElement.ts | 4 - .../auto-generated/RemoteCodeBlockElement.ts | 2 - .../RemoteColumnLayoutElement.ts | 4 - .../auto-generated/RemoteContentElement.ts | 5 - .../RemoteContextMenuElement.ts | 4 - .../RemoteContextMenuSectionElement.ts | 2 - .../RemoteContextMenuTriggerElement.ts | 2 - .../RemoteContextualHelpElement.ts | 3 - .../RemoteContextualHelpTriggerElement.ts | 2 - .../auto-generated/RemoteCopyButtonElement.ts | 4 - .../RemoteCounterBadgeElement.ts | 5 - .../RemoteCountryOptionsElement.ts | 4 - .../auto-generated/RemoteDatePickerElement.ts | 3 - .../RemoteDateRangePickerElement.ts | 3 - .../RemoteFieldDescriptionElement.ts | 5 - .../auto-generated/RemoteFieldErrorElement.ts | 4 - .../auto-generated/RemoteFileCardElement.ts | 4 - .../RemoteFileCardListElement.ts | 4 - .../auto-generated/RemoteFileFieldElement.ts | 2 - .../auto-generated/RemoteFragmentElement.ts | 1 - .../src/auto-generated/RemoteHeaderElement.ts | 5 - .../RemoteHeaderNavigationElement.ts | 4 - .../auto-generated/RemoteHeadingElement.ts | 5 - .../src/auto-generated/RemoteIconElement.ts | 5 - .../RemoteIllustratedMessageElement.ts | 4 - .../src/auto-generated/RemoteImageElement.ts | 5 - .../auto-generated/RemoteInitialsElement.ts | 6 +- .../auto-generated/RemoteInlineCodeElement.ts | 4 - .../src/auto-generated/RemoteLabelElement.ts | 5 - .../RemoteLabeledValueElement.ts | 5 +- .../auto-generated/RemoteLayoutCardElement.ts | 5 - .../auto-generated/RemoteLightBoxElement.ts | 3 - .../RemoteLightBoxTriggerElement.ts | 2 - .../src/auto-generated/RemoteLinkElement.ts | 4 - .../RemoteListActiveFilterItemViewElement.ts | 1 - .../RemoteListActiveFilterListViewElement.ts | 1 - .../src/auto-generated/RemoteListElement.ts | 1 - ...moteListFilterPickerMenuItemViewElement.ts | 1 - .../RemoteListFilterPickerViewElement.ts | 1 - .../RemoteListFooterViewElement.ts | 1 - .../RemoteListHeaderViewElement.ts | 1 - .../RemoteListItemContainerViewElement.ts | 1 - .../RemoteListItemViewElement.ts | 5 +- .../RemoteListItemsViewElement.ts | 1 - .../RemoteListListViewElement.ts | 1 - ...emoteListLoadNextBatchButtonViewElement.ts | 1 - .../RemoteListPaginationInfosViewElement.ts | 1 - .../RemoteListSearchFieldViewElement.ts | 2 - ...oteListSortingPickerMenuItemViewElement.ts | 1 - .../RemoteListSortingPickerViewElement.ts | 1 - .../RemoteListViewModeMenuViewElement.ts | 1 - .../RemoteLoadingSpinnerElement.ts | 5 - .../auto-generated/RemoteMarkdownElement.ts | 2 - .../auto-generated/RemoteMenuItemElement.ts | 4 - .../auto-generated/RemoteMessageElement.ts | 2 - .../src/auto-generated/RemoteModalElement.ts | 3 - .../RemoteModalTriggerElement.ts | 2 - .../auto-generated/RemoteNavigationElement.ts | 4 - .../RemoteNavigationGroupElement.ts | 4 - .../RemoteNotificationElement.ts | 4 - .../RemoteNotificationProviderElement.ts | 4 - .../RemoteNumberFieldElement.ts | 4 - .../src/auto-generated/RemoteOptionElement.ts | 4 - .../auto-generated/RemotePopoverElement.ts | 3 - .../RemotePopoverTriggerElement.ts | 2 - .../RemoteProgressBarElement.ts | 3 - .../RemoteRadioButtonElement.ts | 4 - .../src/auto-generated/RemoteRadioElement.ts | 4 - .../auto-generated/RemoteRadioGroupElement.ts | 4 - ...oteReactHookFormFieldContentViewElement.ts | 1 - .../RemoteSearchFieldElement.ts | 4 - .../auto-generated/RemoteSectionElement.ts | 5 - .../auto-generated/RemoteSegmentElement.ts | 4 - .../RemoteSegmentedControlElement.ts | 4 - .../src/auto-generated/RemoteSelectElement.ts | 4 - .../auto-generated/RemoteSeparatorElement.ts | 3 - .../auto-generated/RemoteSkeletonElement.ts | 4 - .../RemoteSkeletonTextElement.ts | 4 - .../src/auto-generated/RemoteSliderElement.ts | 4 - .../src/auto-generated/RemoteTabElement.ts | 3 - .../auto-generated/RemoteTabTitleElement.ts | 3 - .../auto-generated/RemoteTableBodyElement.ts | 3 - .../auto-generated/RemoteTableCellElement.ts | 2 - .../RemoteTableColumnElement.ts | 3 - .../src/auto-generated/RemoteTableElement.ts | 3 - .../RemoteTableFooterRowElement.ts | 3 - .../RemoteTableHeaderElement.ts | 3 - .../auto-generated/RemoteTableRowElement.ts | 3 - .../src/auto-generated/RemoteTabsElement.ts | 4 - .../auto-generated/RemoteTextAreaElement.ts | 4 - .../src/auto-generated/RemoteTextElement.ts | 5 - .../auto-generated/RemoteTextFieldElement.ts | 4 - .../auto-generated/RemoteTimeFieldElement.ts | 3 - .../auto-generated/RemoteTooltipElement.ts | 3 - .../RemoteTooltipTriggerElement.ts | 1 - .../src/auto-generated/index.ts | 65 ++++---- ....timestamp-1736405863788-2e68575c8c6ce.mjs | 45 ------ .../src/auto-generated/Accordion.ts | 1 - .../src/auto-generated/Action.ts | 1 - .../src/auto-generated/ActionGroup.ts | 1 - .../src/auto-generated/Activity.ts | 4 + .../src/auto-generated/Alert.ts | 1 - .../src/auto-generated/AlertBadge.ts | 1 - .../src/auto-generated/AlertIcon.ts | 1 - .../src/auto-generated/Align.ts | 1 - .../src/auto-generated/Avatar.ts | 1 - .../src/auto-generated/Badge.ts | 1 - .../src/auto-generated/Breadcrumb.ts | 1 - .../src/auto-generated/Button.ts | 1 - .../src/auto-generated/Checkbox.ts | 1 - .../src/auto-generated/CheckboxButton.ts | 1 - .../src/auto-generated/CheckboxGroup.ts | 1 - .../src/auto-generated/CodeBlock.ts | 1 - .../src/auto-generated/ColumnLayout.ts | 1 - .../src/auto-generated/Content.ts | 1 - .../src/auto-generated/ContextMenu.ts | 1 - .../src/auto-generated/ContextMenuSection.ts | 1 - .../src/auto-generated/ContextMenuTrigger.ts | 1 - .../src/auto-generated/ContextualHelp.ts | 1 - .../auto-generated/ContextualHelpTrigger.ts | 1 - .../src/auto-generated/CopyButton.ts | 1 - .../src/auto-generated/CounterBadge.ts | 1 - .../src/auto-generated/CountryOptions.ts | 1 - .../src/auto-generated/DatePicker.ts | 1 - .../src/auto-generated/DateRangePicker.ts | 1 - .../src/auto-generated/FieldDescription.ts | 1 - .../src/auto-generated/FieldError.ts | 1 - .../src/auto-generated/FileCard.ts | 1 - .../src/auto-generated/FileCardList.ts | 1 - .../src/auto-generated/FileField.ts | 1 - .../src/auto-generated/Fragment.ts | 1 - .../src/auto-generated/Header.ts | 1 - .../src/auto-generated/HeaderNavigation.ts | 1 - .../src/auto-generated/Heading.ts | 1 - .../src/auto-generated/Icon.ts | 1 - .../src/auto-generated/IllustratedMessage.ts | 1 - .../src/auto-generated/Image.ts | 1 - .../src/auto-generated/Initials.ts | 1 - .../src/auto-generated/InlineCode.ts | 1 - .../src/auto-generated/Label.ts | 1 - .../src/auto-generated/LabeledValue.ts | 1 - .../src/auto-generated/LayoutCard.ts | 1 - .../src/auto-generated/LightBox.ts | 1 - .../src/auto-generated/LightBoxTrigger.ts | 1 - .../src/auto-generated/Link.ts | 1 - .../src/auto-generated/List.ts | 1 - .../ListActiveFilterItemView.ts | 1 - .../ListActiveFilterListView.ts | 1 - .../ListFilterPickerMenuItemView.ts | 1 - .../auto-generated/ListFilterPickerView.ts | 1 - .../src/auto-generated/ListFooterView.ts | 1 - .../src/auto-generated/ListHeaderView.ts | 1 - .../auto-generated/ListItemContainerView.ts | 1 - .../src/auto-generated/ListItemView.ts | 1 - .../src/auto-generated/ListItemsView.ts | 1 - .../src/auto-generated/ListListView.ts | 1 - .../ListLoadNextBatchButtonView.ts | 1 - .../auto-generated/ListPaginationInfosView.ts | 1 - .../src/auto-generated/ListSearchFieldView.ts | 1 - .../ListSortingPickerMenuItemView.ts | 1 - .../auto-generated/ListSortingPickerView.ts | 1 - .../auto-generated/ListViewModeMenuView.ts | 1 - .../src/auto-generated/LoadingSpinner.ts | 1 - .../src/auto-generated/Markdown.ts | 1 - .../src/auto-generated/MenuItem.ts | 1 - .../src/auto-generated/Message.ts | 1 - .../src/auto-generated/Modal.ts | 1 - .../src/auto-generated/ModalTrigger.ts | 1 - .../src/auto-generated/Navigation.ts | 1 - .../src/auto-generated/NavigationGroup.ts | 1 - .../src/auto-generated/Notification.ts | 1 - .../auto-generated/NotificationProvider.ts | 1 - .../src/auto-generated/NumberField.ts | 1 - .../src/auto-generated/Option.ts | 1 - .../src/auto-generated/Popover.ts | 1 - .../src/auto-generated/PopoverTrigger.ts | 1 - .../src/auto-generated/ProgressBar.ts | 1 - .../src/auto-generated/Radio.ts | 1 - .../src/auto-generated/RadioButton.ts | 1 - .../src/auto-generated/RadioGroup.ts | 1 - .../ReactHookFormFieldContentView.ts | 1 - .../src/auto-generated/SearchField.ts | 1 - .../src/auto-generated/Section.ts | 4 + .../src/auto-generated/Segment.ts | 1 - .../src/auto-generated/SegmentedControl.ts | 1 - .../src/auto-generated/Select.ts | 1 - .../src/auto-generated/Separator.ts | 1 - .../src/auto-generated/Skeleton.ts | 1 - .../src/auto-generated/SkeletonText.ts | 1 - .../src/auto-generated/Slider.ts | 1 - .../src/auto-generated/Tab.ts | 1 - .../src/auto-generated/TabTitle.ts | 1 - .../src/auto-generated/Table.ts | 1 - .../src/auto-generated/TableBody.ts | 1 - .../src/auto-generated/TableCell.ts | 1 - .../src/auto-generated/TableColumn.ts | 1 - .../src/auto-generated/TableFooterRow.ts | 1 - .../src/auto-generated/TableHeader.ts | 1 - .../src/auto-generated/TableRow.ts | 1 - .../src/auto-generated/Tabs.ts | 1 - .../src/auto-generated/Text.ts | 1 - .../src/auto-generated/TextArea.ts | 1 - .../src/auto-generated/TextField.ts | 1 - .../src/auto-generated/TimeField.ts | 1 - .../src/auto-generated/Tooltip.ts | 1 - .../src/auto-generated/TooltipTrigger.ts | 1 - .../src/auto-generated/index.ts | 65 ++++---- .../src/lib/createFlowRemoteComponent.ts | 17 ++- ....timestamp-1736406917596-9c729cb045efb.mjs | 46 ------ ...s.timestamp-1736407289033-a832da03e70f.mjs | 46 ------ .../src/auto-generated/index.ts | 143 +++++++++--------- 234 files changed, 177 insertions(+), 759 deletions(-) delete mode 100644 packages/remote-elements/vite.build.config.ts.timestamp-1736405863788-2e68575c8c6ce.mjs delete mode 100644 packages/remote-react-components/vite.build.config.ts.timestamp-1736406917596-9c729cb045efb.mjs delete mode 100644 packages/remote-react-components/vite.build.config.ts.timestamp-1736407289033-a832da03e70f.mjs diff --git a/demos/remote-dom/package.json b/demos/remote-dom/package.json index 3f4b06b20..3f011140d 100644 --- a/demos/remote-dom/package.json +++ b/demos/remote-dom/package.json @@ -3,8 +3,6 @@ "private": true, "type": "module", "scripts": { - "build": "run next build", - "build:deps:watch": "nx watch -d -p \"@mittwald/flow-demo-remote-dom\" -- nx run-many -t build -p \\$NX_PROJECT_NAME --exclude=\"@mittwald/flow-demo-remote-dom\"", "dev": "run nx run-many --outputStyle=stream --projects=@mittwald/flow-demo-remote-dom --targets=start,build:deps:watch", "start": "run next dev", "test:compile": "run tsc --noEmit" diff --git a/packages/components/dev/remote-components-generator/config.ts b/packages/components/dev/remote-components-generator/config.ts index d40c36bbd..18915d1f0 100644 --- a/packages/components/dev/remote-components-generator/config.ts +++ b/packages/components/dev/remote-components-generator/config.ts @@ -1,3 +1,12 @@ export const config = { - ignoreProps: ["tunnelId", "ref", "key", "children"], + ignoreProps: [ + "tunnelId", + "ref", + "key", + "children", + "className", + "style", + "dangerouslySetInnerHTML", + "wrapWith", + ], } as const; diff --git a/packages/components/dev/remote-components-generator/generation/generateRemoteElementFile.ts b/packages/components/dev/remote-components-generator/generation/generateRemoteElementFile.ts index 7ba5ac6ad..e39584359 100644 --- a/packages/components/dev/remote-components-generator/generation/generateRemoteElementFile.ts +++ b/packages/components/dev/remote-components-generator/generation/generateRemoteElementFile.ts @@ -3,7 +3,6 @@ import { componentModulePathOf } from "../lib/componentModulePathOf"; import { isEvent, isProp, isSlot } from "../lib/propClassifiers"; import { remoteElementTagNameOf } from "../lib/remoteElementTagNameOf"; import { remoteComponentNameOf } from "../lib/remoteComponentNameOf"; -import { remoteComponentBaseNameOf } from "../lib/remoteComponentBaseNameOf"; export function generateRemoteElementFile(c: ComponentDoc) { const componentProps = c.props; @@ -39,7 +38,6 @@ export function generateRemoteElementFile(c: ComponentDoc) { import type { ${t.propsType} as ${t.propsAliasType} } from "@mittwald/flow-react-components/${t.exportPath}"; export type { ${t.propsType} as ${t.propsAliasType} } from "@mittwald/flow-react-components/${t.exportPath}"; - export class ${t.element} extends FlowRemoteElement<${t.propsAliasType}> { static get remoteProperties() { return { diff --git a/packages/components/dev/remote-components-generator/generation/prepareTypeScriptOutput.ts b/packages/components/dev/remote-components-generator/generation/prepareTypeScriptOutput.ts index ffb6806fc..c586da606 100644 --- a/packages/components/dev/remote-components-generator/generation/prepareTypeScriptOutput.ts +++ b/packages/components/dev/remote-components-generator/generation/prepareTypeScriptOutput.ts @@ -1,7 +1,6 @@ import { format } from "../lib/format"; const header = `\ -/* eslint-disable */ /* prettier-ignore */ /* This file is auto-generated with the remote-components-generator */ `; diff --git a/packages/components/src/components/Tabs/components/Tab/Tab.tsx b/packages/components/src/components/Tabs/components/Tab/Tab.tsx index 70776453f..d5fff2ba7 100644 --- a/packages/components/src/components/Tabs/components/Tab/Tab.tsx +++ b/packages/components/src/components/Tabs/components/Tab/Tab.tsx @@ -1,4 +1,4 @@ -import type { FC, PropsWithChildren } from "react"; +import type { FC, PropsWithChildren, ReactNode } from "react"; import React, { useId } from "react"; import type { TabPanelRenderProps } from "react-aria-components"; import * as Aria from "react-aria-components"; @@ -23,7 +23,7 @@ export const Tab: FC = (props) => { const generatedId = useId(); const id = idFromProps ?? generatedId; - const TabPanelRenderer: FC = (props) => { + const TabPanelRenderer = (props: TabPanelRenderProps): Awaited => { const isSelected = props.state.selectedKey === id; const propsContext: PropsContext = { diff --git a/packages/docs/src/content/03-components/form-controls/field-react-hook-form/examples/default.tsx b/packages/docs/src/content/03-components/form-controls/field-react-hook-form/examples/default.tsx index 074aa829a..a604458c4 100644 --- a/packages/docs/src/content/03-components/form-controls/field-react-hook-form/examples/default.tsx +++ b/packages/docs/src/content/03-components/form-controls/field-react-hook-form/examples/default.tsx @@ -1,8 +1,6 @@ import { useForm } from "react-hook-form"; -import { - Field, - Form, -} from "@mittwald/flow-react-components/react-hook-form"; +import { Form } from "@mittwald/flow-react-components/react-hook-form/Form"; +import { Field } from "@mittwald/flow-react-components/react-hook-form/Field"; import { TextField } from "@mittwald/flow-react-components/TextField"; import { Label } from "@mittwald/flow-react-components/Label"; import { FieldDescription } from "@mittwald/flow-react-components/FieldDescription"; diff --git a/packages/docs/src/content/03-components/form-controls/field-react-hook-form/examples/typed-field.tsx b/packages/docs/src/content/03-components/form-controls/field-react-hook-form/examples/typed-field.tsx index 0c65480bf..abee7a39a 100644 --- a/packages/docs/src/content/03-components/form-controls/field-react-hook-form/examples/typed-field.tsx +++ b/packages/docs/src/content/03-components/form-controls/field-react-hook-form/examples/typed-field.tsx @@ -1,8 +1,6 @@ import { useForm } from "react-hook-form"; -import { - Form, - typedField, -} from "@mittwald/flow-react-components/react-hook-form"; +import { Form } from "@mittwald/flow-react-components/react-hook-form/Form"; +import { typedField } from "@mittwald/flow-react-components/react-hook-form/Field"; import { TextField } from "@mittwald/flow-react-components/TextField"; import { Label } from "@mittwald/flow-react-components/Label"; diff --git a/packages/docs/src/content/03-components/form-controls/form-react-hook-form/examples/default.tsx b/packages/docs/src/content/03-components/form-controls/form-react-hook-form/examples/default.tsx index 68c0114a5..cbf8a2a6c 100644 --- a/packages/docs/src/content/03-components/form-controls/form-react-hook-form/examples/default.tsx +++ b/packages/docs/src/content/03-components/form-controls/form-react-hook-form/examples/default.tsx @@ -1,8 +1,6 @@ import { useForm } from "react-hook-form"; -import { - Field, - Form, -} from "@mittwald/flow-react-components/react-hook-form"; +import { Field } from "@mittwald/flow-react-components/react-hook-form/Field"; +import { Form } from "@mittwald/flow-react-components/react-hook-form/Form"; import { TextField } from "@mittwald/flow-react-components/TextField"; import { Label } from "@mittwald/flow-react-components/Label"; import { ActionGroup } from "@mittwald/flow-react-components/ActionGroup"; diff --git a/packages/docs/src/content/03-components/overlays/modal/examples/form.tsx b/packages/docs/src/content/03-components/overlays/modal/examples/form.tsx index c0dcd22b0..c8151d5ee 100644 --- a/packages/docs/src/content/03-components/overlays/modal/examples/form.tsx +++ b/packages/docs/src/content/03-components/overlays/modal/examples/form.tsx @@ -7,10 +7,8 @@ import Heading from "@mittwald/flow-react-components/Heading"; import Action from "@mittwald/flow-react-components/Action"; import { useOverlayController } from "@mittwald/flow-react-components/controller"; import { useForm } from "react-hook-form"; -import { - Form, - typedField, -} from "@mittwald/flow-react-components/react-hook-form"; +import { Form } from "@mittwald/flow-react-components/react-hook-form/Form"; +import { typedField } from "@mittwald/flow-react-components/react-hook-form/Field"; import { TextField } from "@mittwald/flow-react-components/TextField"; export default () => { diff --git a/packages/remote-elements/src/auto-generated/RemoteAccordionElement.ts b/packages/remote-elements/src/auto-generated/RemoteAccordionElement.ts index d8c090286..58b41596a 100644 --- a/packages/remote-elements/src/auto-generated/RemoteAccordionElement.ts +++ b/packages/remote-elements/src/auto-generated/RemoteAccordionElement.ts @@ -1,4 +1,3 @@ -/* eslint-disable */ /* prettier-ignore */ /* This file is auto-generated with the remote-components-generator */ import { FlowRemoteElement } from "@/lib/FlowRemoteElement"; @@ -17,7 +16,6 @@ export class RemoteAccordionElement extends FlowRemoteElement { static get remoteProperties() { - return { - className: {}, - wrapWith: {}, - }; + return {}; } static get remoteEvents() { diff --git a/packages/remote-elements/src/auto-generated/RemoteAvatarElement.ts b/packages/remote-elements/src/auto-generated/RemoteAvatarElement.ts index 394250185..42691a4b2 100644 --- a/packages/remote-elements/src/auto-generated/RemoteAvatarElement.ts +++ b/packages/remote-elements/src/auto-generated/RemoteAvatarElement.ts @@ -1,4 +1,3 @@ -/* eslint-disable */ /* prettier-ignore */ /* This file is auto-generated with the remote-components-generator */ import { FlowRemoteElement } from "@/lib/FlowRemoteElement"; @@ -10,8 +9,6 @@ export class RemoteAvatarElement extends FlowRemoteElement { static get remoteProperties() { return { - wrapWith: {}, selectionMode: {}, }; } diff --git a/packages/remote-elements/src/auto-generated/RemoteContextMenuTriggerElement.ts b/packages/remote-elements/src/auto-generated/RemoteContextMenuTriggerElement.ts index 3a1d4d528..a9c954b36 100644 --- a/packages/remote-elements/src/auto-generated/RemoteContextMenuTriggerElement.ts +++ b/packages/remote-elements/src/auto-generated/RemoteContextMenuTriggerElement.ts @@ -1,4 +1,3 @@ -/* eslint-disable */ /* prettier-ignore */ /* This file is auto-generated with the remote-components-generator */ import { FlowRemoteElement } from "@/lib/FlowRemoteElement"; @@ -10,7 +9,6 @@ export class RemoteContextMenuTriggerElement extends FlowRemoteElement { static get remoteProperties() { return { - className: {}, - style: {}, id: {}, - wrapWith: {}, }; } diff --git a/packages/remote-elements/src/auto-generated/RemoteFileCardElement.ts b/packages/remote-elements/src/auto-generated/RemoteFileCardElement.ts index db6430a57..148997d7d 100644 --- a/packages/remote-elements/src/auto-generated/RemoteFileCardElement.ts +++ b/packages/remote-elements/src/auto-generated/RemoteFileCardElement.ts @@ -1,4 +1,3 @@ -/* eslint-disable */ /* prettier-ignore */ /* This file is auto-generated with the remote-components-generator */ import { FlowRemoteElement } from "@/lib/FlowRemoteElement"; @@ -12,7 +11,6 @@ export class RemoteFileCardElement extends FlowRemoteElement { static get remoteProperties() { return { - wrapWith: {}, name: {}, accept: {}, multiple: {}, diff --git a/packages/remote-elements/src/auto-generated/RemoteFragmentElement.ts b/packages/remote-elements/src/auto-generated/RemoteFragmentElement.ts index 79688a078..86dbf2ddd 100644 --- a/packages/remote-elements/src/auto-generated/RemoteFragmentElement.ts +++ b/packages/remote-elements/src/auto-generated/RemoteFragmentElement.ts @@ -1,4 +1,3 @@ -/* eslint-disable */ /* prettier-ignore */ /* This file is auto-generated with the remote-components-generator */ import { FlowRemoteElement } from "@/lib/FlowRemoteElement"; diff --git a/packages/remote-elements/src/auto-generated/RemoteHeaderElement.ts b/packages/remote-elements/src/auto-generated/RemoteHeaderElement.ts index c6875cdbc..6103e651b 100644 --- a/packages/remote-elements/src/auto-generated/RemoteHeaderElement.ts +++ b/packages/remote-elements/src/auto-generated/RemoteHeaderElement.ts @@ -1,4 +1,3 @@ -/* eslint-disable */ /* prettier-ignore */ /* This file is auto-generated with the remote-components-generator */ import { FlowRemoteElement } from "@/lib/FlowRemoteElement"; @@ -16,7 +15,6 @@ export class RemoteHeaderElement extends FlowRemoteElement "aria-labelledby": {}, "aria-describedby": {}, "aria-details": {}, - className: {}, - style: {}, end: {}, id: {}, width: {}, @@ -79,7 +76,6 @@ export class RemoteIconElement extends FlowRemoteElement "aria-valuemin": {}, "aria-valuenow": {}, "aria-valuetext": {}, - dangerouslySetInnerHTML: {}, height: {}, max: {}, media: {}, @@ -322,7 +318,6 @@ export class RemoteIconElement extends FlowRemoteElement yChannelSelector: {}, z: {}, zoomAndPan: {}, - wrapWith: {}, }; } diff --git a/packages/remote-elements/src/auto-generated/RemoteIllustratedMessageElement.ts b/packages/remote-elements/src/auto-generated/RemoteIllustratedMessageElement.ts index 6da7042f0..230706bd4 100644 --- a/packages/remote-elements/src/auto-generated/RemoteIllustratedMessageElement.ts +++ b/packages/remote-elements/src/auto-generated/RemoteIllustratedMessageElement.ts @@ -1,4 +1,3 @@ -/* eslint-disable */ /* prettier-ignore */ /* This file is auto-generated with the remote-components-generator */ import { FlowRemoteElement } from "@/lib/FlowRemoteElement"; @@ -16,7 +15,6 @@ export class RemoteIllustratedMessageElement extends FlowRemoteElement { static get remoteProperties() { - return { - className: {}, - wrapWith: {}, - }; + return {}; } static get remoteEvents() { diff --git a/packages/remote-elements/src/auto-generated/RemoteInlineCodeElement.ts b/packages/remote-elements/src/auto-generated/RemoteInlineCodeElement.ts index c2c765406..60e6e2469 100644 --- a/packages/remote-elements/src/auto-generated/RemoteInlineCodeElement.ts +++ b/packages/remote-elements/src/auto-generated/RemoteInlineCodeElement.ts @@ -1,4 +1,3 @@ -/* eslint-disable */ /* prettier-ignore */ /* This file is auto-generated with the remote-components-generator */ import { FlowRemoteElement } from "@/lib/FlowRemoteElement"; @@ -16,7 +15,6 @@ export class RemoteInlineCodeElement extends FlowRemoteElement { static get remoteProperties() { - return { - className: {}, - }; + return {}; } static get remoteEvents() { diff --git a/packages/remote-elements/src/auto-generated/RemoteLayoutCardElement.ts b/packages/remote-elements/src/auto-generated/RemoteLayoutCardElement.ts index abd1556de..006895a08 100644 --- a/packages/remote-elements/src/auto-generated/RemoteLayoutCardElement.ts +++ b/packages/remote-elements/src/auto-generated/RemoteLayoutCardElement.ts @@ -1,4 +1,3 @@ -/* eslint-disable */ /* prettier-ignore */ /* This file is auto-generated with the remote-components-generator */ import { FlowRemoteElement } from "@/lib/FlowRemoteElement"; @@ -15,7 +14,6 @@ export class RemoteLayoutCardElement extends FlowRemoteElement "aria-labelledby": {}, "aria-describedby": {}, "aria-details": {}, - style: {}, isDisabled: {}, autoFocus: {}, rel: {}, @@ -28,8 +26,6 @@ export class RemoteLinkElement extends FlowRemoteElement ping: {}, referrerPolicy: {}, routerOptions: {}, - wrapWith: {}, - className: {}, }; } diff --git a/packages/remote-elements/src/auto-generated/RemoteListActiveFilterItemViewElement.ts b/packages/remote-elements/src/auto-generated/RemoteListActiveFilterItemViewElement.ts index 557a2d9c1..75977aeb2 100644 --- a/packages/remote-elements/src/auto-generated/RemoteListActiveFilterItemViewElement.ts +++ b/packages/remote-elements/src/auto-generated/RemoteListActiveFilterItemViewElement.ts @@ -1,4 +1,3 @@ -/* eslint-disable */ /* prettier-ignore */ /* This file is auto-generated with the remote-components-generator */ import { FlowRemoteElement } from "@/lib/FlowRemoteElement"; diff --git a/packages/remote-elements/src/auto-generated/RemoteListActiveFilterListViewElement.ts b/packages/remote-elements/src/auto-generated/RemoteListActiveFilterListViewElement.ts index 82f512124..bae7c62d8 100644 --- a/packages/remote-elements/src/auto-generated/RemoteListActiveFilterListViewElement.ts +++ b/packages/remote-elements/src/auto-generated/RemoteListActiveFilterListViewElement.ts @@ -1,4 +1,3 @@ -/* eslint-disable */ /* prettier-ignore */ /* This file is auto-generated with the remote-components-generator */ import { FlowRemoteElement } from "@/lib/FlowRemoteElement"; diff --git a/packages/remote-elements/src/auto-generated/RemoteListElement.ts b/packages/remote-elements/src/auto-generated/RemoteListElement.ts index 2abd177c9..29ace9bc2 100644 --- a/packages/remote-elements/src/auto-generated/RemoteListElement.ts +++ b/packages/remote-elements/src/auto-generated/RemoteListElement.ts @@ -1,4 +1,3 @@ -/* eslint-disable */ /* prettier-ignore */ /* This file is auto-generated with the remote-components-generator */ import { FlowRemoteElement } from "@/lib/FlowRemoteElement"; diff --git a/packages/remote-elements/src/auto-generated/RemoteListFilterPickerMenuItemViewElement.ts b/packages/remote-elements/src/auto-generated/RemoteListFilterPickerMenuItemViewElement.ts index 37a61d105..c7be8ab85 100644 --- a/packages/remote-elements/src/auto-generated/RemoteListFilterPickerMenuItemViewElement.ts +++ b/packages/remote-elements/src/auto-generated/RemoteListFilterPickerMenuItemViewElement.ts @@ -1,4 +1,3 @@ -/* eslint-disable */ /* prettier-ignore */ /* This file is auto-generated with the remote-components-generator */ import { FlowRemoteElement } from "@/lib/FlowRemoteElement"; diff --git a/packages/remote-elements/src/auto-generated/RemoteListFilterPickerViewElement.ts b/packages/remote-elements/src/auto-generated/RemoteListFilterPickerViewElement.ts index b7dc54b91..c5a8eb6fa 100644 --- a/packages/remote-elements/src/auto-generated/RemoteListFilterPickerViewElement.ts +++ b/packages/remote-elements/src/auto-generated/RemoteListFilterPickerViewElement.ts @@ -1,4 +1,3 @@ -/* eslint-disable */ /* prettier-ignore */ /* This file is auto-generated with the remote-components-generator */ import { FlowRemoteElement } from "@/lib/FlowRemoteElement"; diff --git a/packages/remote-elements/src/auto-generated/RemoteListFooterViewElement.ts b/packages/remote-elements/src/auto-generated/RemoteListFooterViewElement.ts index bc182b4b6..a08035765 100644 --- a/packages/remote-elements/src/auto-generated/RemoteListFooterViewElement.ts +++ b/packages/remote-elements/src/auto-generated/RemoteListFooterViewElement.ts @@ -1,4 +1,3 @@ -/* eslint-disable */ /* prettier-ignore */ /* This file is auto-generated with the remote-components-generator */ import { FlowRemoteElement } from "@/lib/FlowRemoteElement"; diff --git a/packages/remote-elements/src/auto-generated/RemoteListHeaderViewElement.ts b/packages/remote-elements/src/auto-generated/RemoteListHeaderViewElement.ts index e369396ed..e47d3db9d 100644 --- a/packages/remote-elements/src/auto-generated/RemoteListHeaderViewElement.ts +++ b/packages/remote-elements/src/auto-generated/RemoteListHeaderViewElement.ts @@ -1,4 +1,3 @@ -/* eslint-disable */ /* prettier-ignore */ /* This file is auto-generated with the remote-components-generator */ import { FlowRemoteElement } from "@/lib/FlowRemoteElement"; diff --git a/packages/remote-elements/src/auto-generated/RemoteListItemContainerViewElement.ts b/packages/remote-elements/src/auto-generated/RemoteListItemContainerViewElement.ts index 3c9cfb614..e3d5891d0 100644 --- a/packages/remote-elements/src/auto-generated/RemoteListItemContainerViewElement.ts +++ b/packages/remote-elements/src/auto-generated/RemoteListItemContainerViewElement.ts @@ -1,4 +1,3 @@ -/* eslint-disable */ /* prettier-ignore */ /* This file is auto-generated with the remote-components-generator */ import { FlowRemoteElement } from "@/lib/FlowRemoteElement"; diff --git a/packages/remote-elements/src/auto-generated/RemoteListItemViewElement.ts b/packages/remote-elements/src/auto-generated/RemoteListItemViewElement.ts index f4b233c35..d117c59d4 100644 --- a/packages/remote-elements/src/auto-generated/RemoteListItemViewElement.ts +++ b/packages/remote-elements/src/auto-generated/RemoteListItemViewElement.ts @@ -1,4 +1,3 @@ -/* eslint-disable */ /* prettier-ignore */ /* This file is auto-generated with the remote-components-generator */ import { FlowRemoteElement } from "@/lib/FlowRemoteElement"; @@ -7,9 +6,7 @@ export type { ListItemViewProps as RemoteListItemViewElementProps } from "@mittw export class RemoteListItemViewElement extends FlowRemoteElement { static get remoteProperties() { - return { - className: {}, - }; + return {}; } static get remoteEvents() { diff --git a/packages/remote-elements/src/auto-generated/RemoteListItemsViewElement.ts b/packages/remote-elements/src/auto-generated/RemoteListItemsViewElement.ts index 6cc5e7145..cc79c8476 100644 --- a/packages/remote-elements/src/auto-generated/RemoteListItemsViewElement.ts +++ b/packages/remote-elements/src/auto-generated/RemoteListItemsViewElement.ts @@ -1,4 +1,3 @@ -/* eslint-disable */ /* prettier-ignore */ /* This file is auto-generated with the remote-components-generator */ import { FlowRemoteElement } from "@/lib/FlowRemoteElement"; diff --git a/packages/remote-elements/src/auto-generated/RemoteListListViewElement.ts b/packages/remote-elements/src/auto-generated/RemoteListListViewElement.ts index 0ae507126..0130c274a 100644 --- a/packages/remote-elements/src/auto-generated/RemoteListListViewElement.ts +++ b/packages/remote-elements/src/auto-generated/RemoteListListViewElement.ts @@ -1,4 +1,3 @@ -/* eslint-disable */ /* prettier-ignore */ /* This file is auto-generated with the remote-components-generator */ import { FlowRemoteElement } from "@/lib/FlowRemoteElement"; diff --git a/packages/remote-elements/src/auto-generated/RemoteListLoadNextBatchButtonViewElement.ts b/packages/remote-elements/src/auto-generated/RemoteListLoadNextBatchButtonViewElement.ts index 4804dbdcf..48c422d2a 100644 --- a/packages/remote-elements/src/auto-generated/RemoteListLoadNextBatchButtonViewElement.ts +++ b/packages/remote-elements/src/auto-generated/RemoteListLoadNextBatchButtonViewElement.ts @@ -1,4 +1,3 @@ -/* eslint-disable */ /* prettier-ignore */ /* This file is auto-generated with the remote-components-generator */ import { FlowRemoteElement } from "@/lib/FlowRemoteElement"; diff --git a/packages/remote-elements/src/auto-generated/RemoteListPaginationInfosViewElement.ts b/packages/remote-elements/src/auto-generated/RemoteListPaginationInfosViewElement.ts index 9ea15408a..5c15dfa4a 100644 --- a/packages/remote-elements/src/auto-generated/RemoteListPaginationInfosViewElement.ts +++ b/packages/remote-elements/src/auto-generated/RemoteListPaginationInfosViewElement.ts @@ -1,4 +1,3 @@ -/* eslint-disable */ /* prettier-ignore */ /* This file is auto-generated with the remote-components-generator */ import { FlowRemoteElement } from "@/lib/FlowRemoteElement"; diff --git a/packages/remote-elements/src/auto-generated/RemoteListSearchFieldViewElement.ts b/packages/remote-elements/src/auto-generated/RemoteListSearchFieldViewElement.ts index a9f9b2baa..ea197fc2f 100644 --- a/packages/remote-elements/src/auto-generated/RemoteListSearchFieldViewElement.ts +++ b/packages/remote-elements/src/auto-generated/RemoteListSearchFieldViewElement.ts @@ -1,4 +1,3 @@ -/* eslint-disable */ /* prettier-ignore */ /* This file is auto-generated with the remote-components-generator */ import { FlowRemoteElement } from "@/lib/FlowRemoteElement"; @@ -10,7 +9,6 @@ export class RemoteListSearchFieldViewElement extends FlowRemoteElement { "aria-labelledby": {}, "aria-describedby": {}, "aria-details": {}, - className: {}, - style: {}, id: {}, shouldForceMount: {}, }; diff --git a/packages/remote-elements/src/auto-generated/RemoteTabTitleElement.ts b/packages/remote-elements/src/auto-generated/RemoteTabTitleElement.ts index 34061bc1c..5a6bb7305 100644 --- a/packages/remote-elements/src/auto-generated/RemoteTabTitleElement.ts +++ b/packages/remote-elements/src/auto-generated/RemoteTabTitleElement.ts @@ -1,4 +1,3 @@ -/* eslint-disable */ /* prettier-ignore */ /* This file is auto-generated with the remote-components-generator */ import { FlowRemoteElement } from "@/lib/FlowRemoteElement"; @@ -12,8 +11,6 @@ export class RemoteTabTitleElement extends FlowRemoteElement "aria-labelledby": {}, "aria-describedby": {}, "aria-details": {}, - className: {}, - style: {}, isDisabled: {}, id: {}, slot: {}, @@ -22,7 +19,6 @@ export class RemoteTabsElement extends FlowRemoteElement selectedKey: {}, defaultSelectedKey: {}, keyboardActivation: {}, - wrapWith: {}, }; } diff --git a/packages/remote-elements/src/auto-generated/RemoteTextAreaElement.ts b/packages/remote-elements/src/auto-generated/RemoteTextAreaElement.ts index 7369be485..1b3d15b49 100644 --- a/packages/remote-elements/src/auto-generated/RemoteTextAreaElement.ts +++ b/packages/remote-elements/src/auto-generated/RemoteTextAreaElement.ts @@ -1,4 +1,3 @@ -/* eslint-disable */ /* prettier-ignore */ /* This file is auto-generated with the remote-components-generator */ import { FlowRemoteElement } from "@/lib/FlowRemoteElement"; @@ -13,8 +12,6 @@ export class RemoteTextAreaElement extends FlowRemoteElement "aria-labelledby": {}, "aria-describedby": {}, "aria-details": {}, - className: {}, - style: {}, autoFocus: {}, defaultValue: {}, id: {}, @@ -115,9 +112,7 @@ export class RemoteTextElement extends FlowRemoteElement "aria-valuemin": {}, "aria-valuenow": {}, "aria-valuetext": {}, - dangerouslySetInnerHTML: {}, elementType: {}, - wrapWith: {}, }; } diff --git a/packages/remote-elements/src/auto-generated/RemoteTextFieldElement.ts b/packages/remote-elements/src/auto-generated/RemoteTextFieldElement.ts index 45e70737d..5cd3b232b 100644 --- a/packages/remote-elements/src/auto-generated/RemoteTextFieldElement.ts +++ b/packages/remote-elements/src/auto-generated/RemoteTextFieldElement.ts @@ -1,4 +1,3 @@ -/* eslint-disable */ /* prettier-ignore */ /* This file is auto-generated with the remote-components-generator */ import { FlowRemoteElement } from "@/lib/FlowRemoteElement"; @@ -12,7 +11,6 @@ export class RemoteTextFieldElement extends FlowRemoteElement; + export function createFlowRemoteComponent< Tag extends keyof HTMLElementTagNameMap, ElementConstructor extends RemoteElementConstructor< - any, - any, - any, - any + AnyRecord, + AnyRecord, + AnyRecord, + AnyRecord > = HTMLElementTagNameMap[Tag] extends RemoteElement< infer Properties, infer Methods, @@ -28,14 +31,14 @@ export function createFlowRemoteComponent< > ? RemoteElementConstructor : never, - Props extends Record = {}, + Props extends AnyRecord = AnyRecord, >( tag: Tag, flowComponentTag: string, - Element: ElementConstructor | undefined = customElements.get(tag) as any, + Element: ElementConstructor | undefined = customElements.get(tag) as never, { slotProps = true, - eventProps = {} as any, + eventProps = {} as never, }: RemoteComponentOptions = {}, ): RemoteComponentTypeFromElementConstructor { const element = createRemoteComponent(tag, Element, { diff --git a/packages/remote-react-components/vite.build.config.ts.timestamp-1736406917596-9c729cb045efb.mjs b/packages/remote-react-components/vite.build.config.ts.timestamp-1736406917596-9c729cb045efb.mjs deleted file mode 100644 index 38472ff41..000000000 --- a/packages/remote-react-components/vite.build.config.ts.timestamp-1736406917596-9c729cb045efb.mjs +++ /dev/null @@ -1,46 +0,0 @@ -// vite.build.config.ts -import { defineConfig as defineConfig2, mergeConfig } from "file:///Users/marcofalkenberg/dev/flow-next/.yarn/__virtual__/vite-virtual-1c5278e3ce/0/cache/vite-npm-5.4.11-9da365ef2b-d536bb7af5.zip/node_modules/vite/dist/node/index.js"; -import dts from "file:///Users/marcofalkenberg/dev/flow-next/.yarn/__virtual__/vite-plugin-dts-virtual-d892d393f1/0/cache/vite-plugin-dts-npm-4.4.0-1b0f5d446b-ebab812e2b.zip/node_modules/vite-plugin-dts/dist/index.mjs"; - -// vite.config.ts -import path from "path"; -import { defineConfig } from "file:///Users/marcofalkenberg/dev/flow-next/.yarn/__virtual__/vite-virtual-1c5278e3ce/0/cache/vite-npm-5.4.11-9da365ef2b-d536bb7af5.zip/node_modules/vite/dist/node/index.js"; -var __vite_injected_original_dirname = "/Users/marcofalkenberg/dev/flow-next/packages/remote-react-components"; -var vite_config_default = defineConfig({ - resolve: { - alias: [ - { - find: /@\//, - replacement: path.resolve(__vite_injected_original_dirname) + "/src/" - } - ] - } -}); - -// vite.build.config.ts -import { externalizeDeps } from "file:///Users/marcofalkenberg/dev/flow-next/.yarn/__virtual__/vite-plugin-externalize-deps-virtual-d8384806c1/0/cache/vite-plugin-externalize-deps-npm-0.8.0-e8f6177f06-0ed0d2a85f.zip/node_modules/vite-plugin-externalize-deps/dist/index.js"; -var vite_build_config_default = defineConfig2( - // @todo: fix this type cast - mergeConfig(vite_config_default, { - plugins: [ - externalizeDeps(), - dts({ - include: ["src"], - outDir: "dist/types" - }) - ], - build: { - lib: { - entry: { - index: "./src/index.ts", - "react-hook-form": "./src/integrations/react-hook-form/index.ts" - }, - formats: ["es"] - } - } - }) -); -export { - vite_build_config_default as default -}; -//# sourceMappingURL=data:application/json;base64,ewogICJ2ZXJzaW9uIjogMywKICAic291cmNlcyI6IFsidml0ZS5idWlsZC5jb25maWcudHMiLCAidml0ZS5jb25maWcudHMiXSwKICAic291cmNlc0NvbnRlbnQiOiBbImNvbnN0IF9fdml0ZV9pbmplY3RlZF9vcmlnaW5hbF9kaXJuYW1lID0gXCIvVXNlcnMvbWFyY29mYWxrZW5iZXJnL2Rldi9mbG93LW5leHQvcGFja2FnZXMvcmVtb3RlLXJlYWN0LWNvbXBvbmVudHNcIjtjb25zdCBfX3ZpdGVfaW5qZWN0ZWRfb3JpZ2luYWxfZmlsZW5hbWUgPSBcIi9Vc2Vycy9tYXJjb2ZhbGtlbmJlcmcvZGV2L2Zsb3ctbmV4dC9wYWNrYWdlcy9yZW1vdGUtcmVhY3QtY29tcG9uZW50cy92aXRlLmJ1aWxkLmNvbmZpZy50c1wiO2NvbnN0IF9fdml0ZV9pbmplY3RlZF9vcmlnaW5hbF9pbX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UsTUFBTTtBQUFBLFFBQ04sYUFBYSxLQUFLLFFBQVEsZ0NBQVMsSUFBSTtBQUFBLE1BQ3pDO0FBQUEsSUFDRjtBQUFBLEVBQ0Y7QUFDRixDQUFDOzs7QURURCxTQUFTLHVCQUF1QjtBQUVoQyxJQUFPLDRCQUFRQztBQUFBO0FBQUEsRUFFYixZQUFZLHFCQUFZO0FBQUEsSUFDdEIsU0FBUztBQUFBLE1BQ1AsZ0JBQWdCO0FBQUEsTUFDaEIsSUFBSTtBQUFBLFFBQ0YsU0FBUyxDQUFDLEtBQUs7QUFBQSxRQUNmLFFBQVE7QUFBQSxNQUNWLENBQUM7QUFBQSxJQUNIO0FBQUEsSUFDQSxPQUFPO0FBQUEsTUFDTCxLQUFLO0FBQUEsUUFDSCxPQUFPO0FBQUEsVUFDTCxPQUFPO0FBQUEsVUFDUCxtQkFBbUI7QUFBQSxRQUNyQjtBQUFBLFFBQ0EsU0FBUyxDQUFDLElBQUk7QUFBQSxNQUNoQjtBQUFBLElBQ0Y7QUFBQSxFQUNGLENBQUM7QUFDSDsiLAogICJuYW1lcyI6IFsiZGVmaW5lQ29uZmlnIiwgImRlZmluZUNvbmZpZyJdCn0K diff --git a/packages/remote-react-components/vite.build.config.ts.timestamp-1736407289033-a832da03e70f.mjs b/packages/remote-react-components/vite.build.config.ts.timestamp-1736407289033-a832da03e70f.mjs deleted file mode 100644 index 38472ff41..000000000 --- a/packages/remote-react-components/vite.build.config.ts.timestamp-1736407289033-a832da03e70f.mjs +++ /dev/null @@ -1,46 +0,0 @@ -// vite.build.config.ts -import { defineConfig as defineConfig2, mergeConfig } from "file:///Users/marcofalkenberg/dev/flow-next/.yarn/__virtual__/vite-virtual-1c5278e3ce/0/cache/vite-npm-5.4.11-9da365ef2b-d536bb7af5.zip/node_modules/vite/dist/node/index.js"; -import dts from "file:///Users/marcofalkenberg/dev/flow-next/.yarn/__virtual__/vite-plugin-dts-virtual-d892d393f1/0/cache/vite-plugin-dts-npm-4.4.0-1b0f5d446b-ebab812e2b.zip/node_modules/vite-plugin-dts/dist/index.mjs"; - -// vite.config.ts -import path from "path"; -import { defineConfig } from "file:///Users/marcofalkenberg/dev/flow-next/.yarn/__virtual__/vite-virtual-1c5278e3ce/0/cache/vite-npm-5.4.11-9da365ef2b-d536bb7af5.zip/node_modules/vite/dist/node/index.js"; -var __vite_injected_original_dirname = "/Users/marcofalkenberg/dev/flow-next/packages/remote-react-components"; -var vite_config_default = defineConfig({ - resolve: { - alias: [ - { - find: /@\//, - replacement: path.resolve(__vite_injected_original_dirname) + "/src/" - } - ] - } -}); - -// vite.build.config.ts -import { externalizeDeps } from "file:///Users/marcofalkenberg/dev/flow-next/.yarn/__virtual__/vite-plugin-externalize-deps-virtual-d8384806c1/0/cache/vite-plugin-externalize-deps-npm-0.8.0-e8f6177f06-0ed0d2a85f.zip/node_modules/vite-plugin-externalize-deps/dist/index.js"; -var vite_build_config_default = defineConfig2( - // @todo: fix this type cast - mergeConfig(vite_config_default, { - plugins: [ - externalizeDeps(), - dts({ - include: ["src"], - outDir: "dist/types" - }) - ], - build: { - lib: { - entry: { - index: "./src/index.ts", - "react-hook-form": "./src/integrations/react-hook-form/index.ts" - }, - formats: ["es"] - } - } - }) -); -export { - vite_build_config_default as default -}; -//# sourceMappingURL=data:application/json;base64,ewogICJ2ZXJzaW9uIjogMywKICAic291cmNlcyI6IFsidml0ZS5idWlsZC5jb25maWcudHMiLCAidml0ZS5jb25maWcudHMiXSwKICAic291cmNlc0NvbnRlbnQiOiBbImNvbnN0IF9fdml0ZV9pbmplY3RlZF9vcmlnaW5hbF9kaXJuYW1lID0gXCIvVXNlcnMvbWFyY29mYWxrZW5iZXJnL2Rldi9mbG93LW5leHQvcGFja2FnZXMvcmVtb3RlLXJlYWN0LWNvbXBvbmVudHNcIjtjb25zdCBfX3ZpdGVfaW5qZWN0ZWRfb3JpZ2luYWxfZmlsZW5hbWUgPSBcIi9Vc2Vycy9tYXJjb2ZhbGtlbmJlcmcvZGV2L2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LG9CQUFvQjtBQUQ3QixJQUFNLG1DQUFtQztBQUd6QyxJQUFPLHNCQUFRLGFBQWE7QUFBQSxFQUMxQixTQUFTO0FBQUEsSUFDUCxPQUFPO0FBQUEsTUFDTDtBQUFBLFFBQ0UsTUFBTTtBQUFBLFFBQ04sYUFBYSxLQUFLLFFBQVEsZ0NBQVMsSUFBSTtBQUFBLE1BQ3pDO0FBQUEsSUFDRjtBQUFBLEVBQ0Y7QUFDRixDQUFDOzs7QURURCxTQUFTLHVCQUF1QjtBQUVoQyxJQUFPLDRCQUFRQztBQUFBO0FBQUEsRUFFYixZQUFZLHFCQUFZO0FBQUEsSUFDdEIsU0FBUztBQUFBLE1BQ1AsZ0JBQWdCO0FBQUEsTUFDaEIsSUFBSTtBQUFBLFFBQ0YsU0FBUyxDQUFDLEtBQUs7QUFBQSxRQUNmLFFBQVE7QUFBQSxNQUNWLENBQUM7QUFBQSxJQUNIO0FBQUEsSUFDQSxPQUFPO0FBQUEsTUFDTCxLQUFLO0FBQUEsUUFDSCxPQUFPO0FBQUEsVUFDTCxPQUFPO0FBQUEsVUFDUCxtQkFBbUI7QUFBQSxRQUNyQjtBQUFBLFFBQ0EsU0FBUyxDQUFDLElBQUk7QUFBQSxNQUNoQjtBQUFBLElBQ0Y7QUFBQSxFQUNGLENBQUM7QUFDSDsiLAogICJuYW1lcyI6IFsiZGVmaW5lQ29uZmlnIiwgImRlZmluZUNvbmZpZyJdCn0K diff --git a/packages/remote-react-renderer/src/auto-generated/index.ts b/packages/remote-react-renderer/src/auto-generated/index.ts index c4c6b2161..08cbcfb37 100644 --- a/packages/remote-react-renderer/src/auto-generated/index.ts +++ b/packages/remote-react-renderer/src/auto-generated/index.ts @@ -1,101 +1,100 @@ -/* eslint-disable */ /* prettier-ignore */ /* This file is auto-generated with the remote-components-generator */ import { createFlowRemoteComponentRenderer } from "@/lib/createFlowRemoteComponentRenderer"; import { Tooltip as Tooltip } from "@mittwald/flow-react-components/Tooltip"; import { TimeField as TimeField } from "@mittwald/flow-react-components/TimeField"; +import { TextField as TextField } from "@mittwald/flow-react-components/TextField"; import { TextArea as TextArea } from "@mittwald/flow-react-components/TextArea"; -import { Table as Table } from "@mittwald/flow-react-components/Table"; +import { Text as Text } from "@mittwald/flow-react-components/Text"; import { Tabs as Tabs } from "@mittwald/flow-react-components/Tabs"; +import { Table as Table } from "@mittwald/flow-react-components/Table"; import { Slider as Slider } from "@mittwald/flow-react-components/Slider"; import { SkeletonText as SkeletonText } from "@mittwald/flow-react-components/SkeletonText"; import { Skeleton as Skeleton } from "@mittwald/flow-react-components/Skeleton"; import { Separator as Separator } from "@mittwald/flow-react-components/Separator"; import { Select as Select } from "@mittwald/flow-react-components/Select"; -import { TextField as TextField } from "@mittwald/flow-react-components/TextField"; import { SegmentedControl as SegmentedControl } from "@mittwald/flow-react-components/SegmentedControl"; import { Section as Section } from "@mittwald/flow-react-components/Section"; import { SearchField as SearchField } from "@mittwald/flow-react-components/SearchField"; +import { RadioGroup as RadioGroup } from "@mittwald/flow-react-components/RadioGroup"; import { ProgressBar as ProgressBar } from "@mittwald/flow-react-components/ProgressBar"; import { Popover as Popover } from "@mittwald/flow-react-components/Popover"; import { NumberField as NumberField } from "@mittwald/flow-react-components/NumberField"; -import { Notification as Notification } from "@mittwald/flow-react-components/Notification"; -import { RadioGroup as RadioGroup } from "@mittwald/flow-react-components/RadioGroup"; -import { Modal as Modal } from "@mittwald/flow-react-components/Modal"; import { Navigation as Navigation } from "@mittwald/flow-react-components/Navigation"; +import { Modal as Modal } from "@mittwald/flow-react-components/Modal"; import { Message as Message } from "@mittwald/flow-react-components/Message"; import { MenuItem as MenuItem } from "@mittwald/flow-react-components/MenuItem"; import { Markdown as Markdown } from "@mittwald/flow-react-components/Markdown"; +import { LoadingSpinner as LoadingSpinner } from "@mittwald/flow-react-components/LoadingSpinner"; import { List as List } from "@mittwald/flow-react-components/List"; -import { NotificationProvider as NotificationProvider } from "@mittwald/flow-react-components/NotificationProvider"; import { Link as Link } from "@mittwald/flow-react-components/Link"; -import { LoadingSpinner as LoadingSpinner } from "@mittwald/flow-react-components/LoadingSpinner"; -import { LayoutCard as LayoutCard } from "@mittwald/flow-react-components/LayoutCard"; import { LightBox as LightBox } from "@mittwald/flow-react-components/LightBox"; +import { LayoutCard as LayoutCard } from "@mittwald/flow-react-components/LayoutCard"; +import { LabeledValue as LabeledValue } from "@mittwald/flow-react-components/LabeledValue"; import { Label as Label } from "@mittwald/flow-react-components/Label"; import { InlineCode as InlineCode } from "@mittwald/flow-react-components/InlineCode"; -import { LabeledValue as LabeledValue } from "@mittwald/flow-react-components/LabeledValue"; import { Initials as Initials } from "@mittwald/flow-react-components/Initials"; import { Image as Image } from "@mittwald/flow-react-components/Image"; -import { Heading as Heading } from "@mittwald/flow-react-components/Heading"; +import { IllustratedMessage as IllustratedMessage } from "@mittwald/flow-react-components/IllustratedMessage"; import { Icon as Icon } from "@mittwald/flow-react-components/Icon"; -import { Header as Header } from "@mittwald/flow-react-components/Header"; +import { Heading as Heading } from "@mittwald/flow-react-components/Heading"; import { HeaderNavigation as HeaderNavigation } from "@mittwald/flow-react-components/HeaderNavigation"; +import { Header as Header } from "@mittwald/flow-react-components/Header"; import { Fragment as Fragment } from "@mittwald/flow-react-components/Fragment"; -import { IllustratedMessage as IllustratedMessage } from "@mittwald/flow-react-components/IllustratedMessage"; import { FileField as FileField } from "@mittwald/flow-react-components/FileField"; -import { FileCard as FileCard } from "@mittwald/flow-react-components/FileCard"; import { FileCardList as FileCardList } from "@mittwald/flow-react-components/FileCardList"; +import { FileCard as FileCard } from "@mittwald/flow-react-components/FileCard"; +import { FieldError as FieldError } from "@mittwald/flow-react-components/FieldError"; import { FieldDescription as FieldDescription } from "@mittwald/flow-react-components/FieldDescription"; import { DateRangePicker as DateRangePicker } from "@mittwald/flow-react-components/DateRangePicker"; -import { CounterBadge as CounterBadge } from "@mittwald/flow-react-components/CounterBadge"; import { DatePicker as DatePicker } from "@mittwald/flow-react-components/DatePicker"; +import { CounterBadge as CounterBadge } from "@mittwald/flow-react-components/CounterBadge"; import { CopyButton as CopyButton } from "@mittwald/flow-react-components/CopyButton"; +import { ContextualHelp as ContextualHelp } from "@mittwald/flow-react-components/ContextualHelp"; import { ContextMenu as ContextMenu } from "@mittwald/flow-react-components/ContextMenu"; import { Content as Content } from "@mittwald/flow-react-components/Content"; -import { ContextualHelp as ContextualHelp } from "@mittwald/flow-react-components/ContextualHelp"; import { ColumnLayout as ColumnLayout } from "@mittwald/flow-react-components/ColumnLayout"; -import { CheckboxGroup as CheckboxGroup } from "@mittwald/flow-react-components/CheckboxGroup"; import { CodeBlock as CodeBlock } from "@mittwald/flow-react-components/CodeBlock"; +import { CheckboxGroup as CheckboxGroup } from "@mittwald/flow-react-components/CheckboxGroup"; import { CheckboxButton as CheckboxButton } from "@mittwald/flow-react-components/CheckboxButton"; -import { FieldError as FieldError } from "@mittwald/flow-react-components/FieldError"; import { Checkbox as Checkbox } from "@mittwald/flow-react-components/Checkbox"; import { Button as Button } from "@mittwald/flow-react-components/Button"; import { Breadcrumb as Breadcrumb } from "@mittwald/flow-react-components/Breadcrumb"; -import { Align as Align } from "@mittwald/flow-react-components/Align"; import { Badge as Badge } from "@mittwald/flow-react-components/Badge"; +import { Avatar as Avatar } from "@mittwald/flow-react-components/Avatar"; +import { Align as Align } from "@mittwald/flow-react-components/Align"; import { AlertIcon as AlertIcon } from "@mittwald/flow-react-components/AlertIcon"; -import { Alert as Alert } from "@mittwald/flow-react-components/Alert"; import { AlertBadge as AlertBadge } from "@mittwald/flow-react-components/AlertBadge"; +import { Alert as Alert } from "@mittwald/flow-react-components/Alert"; import { Activity as Activity } from "@mittwald/flow-react-components/Activity"; +import { ActionGroup as ActionGroup } from "@mittwald/flow-react-components/ActionGroup"; import { Action as Action } from "@mittwald/flow-react-components/Action"; import { Accordion as Accordion } from "@mittwald/flow-react-components/Accordion"; -import { Avatar as Avatar } from "@mittwald/flow-react-components/Avatar"; -import { ActionGroup as ActionGroup } from "@mittwald/flow-react-components/ActionGroup"; -import { Text as Text } from "@mittwald/flow-react-components/Text"; +import { Notification as Notification } from "@mittwald/flow-react-components/Notification"; +import { NotificationProvider as NotificationProvider } from "@mittwald/flow-react-components/NotificationProvider"; import { TooltipTrigger as TooltipTrigger } from "@mittwald/flow-react-components/Tooltip"; +import { TabTitle as TabTitle } from "@mittwald/flow-react-components/Tabs"; +import { Tab as Tab } from "@mittwald/flow-react-components/Tabs"; import { TableRow as TableRow } from "@mittwald/flow-react-components/Table"; import { TableHeader as TableHeader } from "@mittwald/flow-react-components/Table"; import { TableFooterRow as TableFooterRow } from "@mittwald/flow-react-components/Table"; import { TableColumn as TableColumn } from "@mittwald/flow-react-components/Table"; import { TableCell as TableCell } from "@mittwald/flow-react-components/Table"; import { TableBody as TableBody } from "@mittwald/flow-react-components/Table"; -import { TabTitle as TabTitle } from "@mittwald/flow-react-components/Tabs"; -import { Tab as Tab } from "@mittwald/flow-react-components/Tabs"; import { Option as Option } from "@mittwald/flow-react-components/Select"; import { CountryOptions as CountryOptions } from "@mittwald/flow-react-components/Select"; import { Segment as Segment } from "@mittwald/flow-react-components/SegmentedControl"; -import { PopoverTrigger as PopoverTrigger } from "@mittwald/flow-react-components/Popover"; import { RadioButton as RadioButton } from "@mittwald/flow-react-components/RadioGroup"; -import { Radio as Radio } from "@mittwald/flow-react-components/RadioGroup"; -import { ModalTrigger as ModalTrigger } from "@mittwald/flow-react-components/Modal"; +import { PopoverTrigger as PopoverTrigger } from "@mittwald/flow-react-components/Popover"; import { NavigationGroup as NavigationGroup } from "@mittwald/flow-react-components/Navigation"; -import { List as ListListView } from "@mittwald/flow-react-components/List/views"; +import { ModalTrigger as ModalTrigger } from "@mittwald/flow-react-components/Modal"; +import { Radio as Radio } from "@mittwald/flow-react-components/RadioGroup"; import { Items as ListItemsView } from "@mittwald/flow-react-components/List/views"; import { ItemContainer as ListItemContainerView } from "@mittwald/flow-react-components/List/views"; import { ViewModeMenu as ListViewModeMenuView } from "@mittwald/flow-react-components/List/views"; import { SearchField as ListSearchFieldView } from "@mittwald/flow-react-components/List/views"; import { Header as ListHeaderView } from "@mittwald/flow-react-components/List/views"; +import { List as ListListView } from "@mittwald/flow-react-components/List/views"; import { PaginationInfos as ListPaginationInfosView } from "@mittwald/flow-react-components/List/views"; import { LoadNextBatchButton as ListLoadNextBatchButtonView } from "@mittwald/flow-react-components/List/views"; import { Footer as ListFooterView } from "@mittwald/flow-react-components/List/views"; @@ -103,107 +102,106 @@ import { LightBoxTrigger as LightBoxTrigger } from "@mittwald/flow-react-compone import { ContextMenuTrigger as ContextMenuTrigger } from "@mittwald/flow-react-components/ContextMenu"; import { ContextMenuSection as ContextMenuSection } from "@mittwald/flow-react-components/ContextMenu"; import { ContextualHelpTrigger as ContextualHelpTrigger } from "@mittwald/flow-react-components/ContextualHelp"; -import { SortingPickerMenuItem as ListSortingPickerMenuItemView } from "@mittwald/flow-react-components/List/views"; -import { SortingPicker as ListSortingPickerView } from "@mittwald/flow-react-components/List/views"; -import { ActiveFilterList as ListActiveFilterListView } from "@mittwald/flow-react-components/List/views"; -import { ActiveFilterItem as ListActiveFilterItemView } from "@mittwald/flow-react-components/List/views"; import { FilterPickerMenuItem as ListFilterPickerMenuItemView } from "@mittwald/flow-react-components/List/views"; import { FilterPicker as ListFilterPickerView } from "@mittwald/flow-react-components/List/views"; +import { ActiveFilterList as ListActiveFilterListView } from "@mittwald/flow-react-components/List/views"; +import { ActiveFilterItem as ListActiveFilterItemView } from "@mittwald/flow-react-components/List/views"; +import { SortingPickerMenuItem as ListSortingPickerMenuItemView } from "@mittwald/flow-react-components/List/views"; +import { SortingPicker as ListSortingPickerView } from "@mittwald/flow-react-components/List/views"; import { Content as ReactHookFormFieldContentView } from "@mittwald/flow-react-components/react-hook-form/Field/views"; import { ListItemView as ListItemView } from "@mittwald/flow-react-components/List"; export const flowComponents = { "flr-tooltip": createFlowRemoteComponentRenderer(Tooltip), "flr-time-field": createFlowRemoteComponentRenderer(TimeField), + "flr-text-field": createFlowRemoteComponentRenderer(TextField), "flr-text-area": createFlowRemoteComponentRenderer(TextArea), - "flr-table": createFlowRemoteComponentRenderer(Table), + "flr-text": createFlowRemoteComponentRenderer(Text), "flr-tabs": createFlowRemoteComponentRenderer(Tabs), + "flr-table": createFlowRemoteComponentRenderer(Table), "flr-slider": createFlowRemoteComponentRenderer(Slider), "flr-skeleton-text": createFlowRemoteComponentRenderer(SkeletonText), "flr-skeleton": createFlowRemoteComponentRenderer(Skeleton), "flr-separator": createFlowRemoteComponentRenderer(Separator), "flr-select": createFlowRemoteComponentRenderer(Select), - "flr-text-field": createFlowRemoteComponentRenderer(TextField), "flr-segmented-control": createFlowRemoteComponentRenderer(SegmentedControl), "flr-section": createFlowRemoteComponentRenderer(Section), "flr-search-field": createFlowRemoteComponentRenderer(SearchField), + "flr-radio-group": createFlowRemoteComponentRenderer(RadioGroup), "flr-progress-bar": createFlowRemoteComponentRenderer(ProgressBar), "flr-popover": createFlowRemoteComponentRenderer(Popover), "flr-number-field": createFlowRemoteComponentRenderer(NumberField), - "flr-notification": createFlowRemoteComponentRenderer(Notification), - "flr-radio-group": createFlowRemoteComponentRenderer(RadioGroup), - "flr-modal": createFlowRemoteComponentRenderer(Modal), "flr-navigation": createFlowRemoteComponentRenderer(Navigation), + "flr-modal": createFlowRemoteComponentRenderer(Modal), "flr-message": createFlowRemoteComponentRenderer(Message), "flr-menu-item": createFlowRemoteComponentRenderer(MenuItem), "flr-markdown": createFlowRemoteComponentRenderer(Markdown), + "flr-loading-spinner": createFlowRemoteComponentRenderer(LoadingSpinner), "flr-list": createFlowRemoteComponentRenderer(List), - "flr-notification-provider": - createFlowRemoteComponentRenderer(NotificationProvider), "flr-link": createFlowRemoteComponentRenderer(Link), - "flr-loading-spinner": createFlowRemoteComponentRenderer(LoadingSpinner), - "flr-layout-card": createFlowRemoteComponentRenderer(LayoutCard), "flr-light-box": createFlowRemoteComponentRenderer(LightBox), + "flr-layout-card": createFlowRemoteComponentRenderer(LayoutCard), + "flr-labeled-value": createFlowRemoteComponentRenderer(LabeledValue), "flr-label": createFlowRemoteComponentRenderer(Label), "flr-inline-code": createFlowRemoteComponentRenderer(InlineCode), - "flr-labeled-value": createFlowRemoteComponentRenderer(LabeledValue), "flr-initials": createFlowRemoteComponentRenderer(Initials), "flr-image": createFlowRemoteComponentRenderer(Image), - "flr-heading": createFlowRemoteComponentRenderer(Heading), + "flr-illustrated-message": + createFlowRemoteComponentRenderer(IllustratedMessage), "flr-icon": createFlowRemoteComponentRenderer(Icon), - "flr-header": createFlowRemoteComponentRenderer(Header), + "flr-heading": createFlowRemoteComponentRenderer(Heading), "flr-header-navigation": createFlowRemoteComponentRenderer(HeaderNavigation), + "flr-header": createFlowRemoteComponentRenderer(Header), "flr-fragment": createFlowRemoteComponentRenderer(Fragment), - "flr-illustrated-message": - createFlowRemoteComponentRenderer(IllustratedMessage), "flr-file-field": createFlowRemoteComponentRenderer(FileField), - "flr-file-card": createFlowRemoteComponentRenderer(FileCard), "flr-file-card-list": createFlowRemoteComponentRenderer(FileCardList), + "flr-file-card": createFlowRemoteComponentRenderer(FileCard), + "flr-field-error": createFlowRemoteComponentRenderer(FieldError), "flr-field-description": createFlowRemoteComponentRenderer(FieldDescription), "flr-date-range-picker": createFlowRemoteComponentRenderer(DateRangePicker), - "flr-counter-badge": createFlowRemoteComponentRenderer(CounterBadge), "flr-date-picker": createFlowRemoteComponentRenderer(DatePicker), + "flr-counter-badge": createFlowRemoteComponentRenderer(CounterBadge), "flr-copy-button": createFlowRemoteComponentRenderer(CopyButton), + "flr-contextual-help": createFlowRemoteComponentRenderer(ContextualHelp), "flr-context-menu": createFlowRemoteComponentRenderer(ContextMenu), "flr-content": createFlowRemoteComponentRenderer(Content), - "flr-contextual-help": createFlowRemoteComponentRenderer(ContextualHelp), "flr-column-layout": createFlowRemoteComponentRenderer(ColumnLayout), - "flr-checkbox-group": createFlowRemoteComponentRenderer(CheckboxGroup), "flr-code-block": createFlowRemoteComponentRenderer(CodeBlock), + "flr-checkbox-group": createFlowRemoteComponentRenderer(CheckboxGroup), "flr-checkbox-button": createFlowRemoteComponentRenderer(CheckboxButton), - "flr-field-error": createFlowRemoteComponentRenderer(FieldError), "flr-checkbox": createFlowRemoteComponentRenderer(Checkbox), "flr-button": createFlowRemoteComponentRenderer(Button), "flr-breadcrumb": createFlowRemoteComponentRenderer(Breadcrumb), - "flr-align": createFlowRemoteComponentRenderer(Align), "flr-badge": createFlowRemoteComponentRenderer(Badge), + "flr-avatar": createFlowRemoteComponentRenderer(Avatar), + "flr-align": createFlowRemoteComponentRenderer(Align), "flr-alert-icon": createFlowRemoteComponentRenderer(AlertIcon), - "flr-alert": createFlowRemoteComponentRenderer(Alert), "flr-alert-badge": createFlowRemoteComponentRenderer(AlertBadge), + "flr-alert": createFlowRemoteComponentRenderer(Alert), "flr-activity": createFlowRemoteComponentRenderer(Activity), + "flr-action-group": createFlowRemoteComponentRenderer(ActionGroup), "flr-action": createFlowRemoteComponentRenderer(Action), "flr-accordion": createFlowRemoteComponentRenderer(Accordion), - "flr-avatar": createFlowRemoteComponentRenderer(Avatar), - "flr-action-group": createFlowRemoteComponentRenderer(ActionGroup), - "flr-text": createFlowRemoteComponentRenderer(Text), + "flr-notification": createFlowRemoteComponentRenderer(Notification), + "flr-notification-provider": + createFlowRemoteComponentRenderer(NotificationProvider), "flr-tooltip-trigger": createFlowRemoteComponentRenderer(TooltipTrigger), + "flr-tab-title": createFlowRemoteComponentRenderer(TabTitle), + "flr-tab": createFlowRemoteComponentRenderer(Tab), "flr-table-row": createFlowRemoteComponentRenderer(TableRow), "flr-table-header": createFlowRemoteComponentRenderer(TableHeader), "flr-table-footer-row": createFlowRemoteComponentRenderer(TableFooterRow), "flr-table-column": createFlowRemoteComponentRenderer(TableColumn), "flr-table-cell": createFlowRemoteComponentRenderer(TableCell), "flr-table-body": createFlowRemoteComponentRenderer(TableBody), - "flr-tab-title": createFlowRemoteComponentRenderer(TabTitle), - "flr-tab": createFlowRemoteComponentRenderer(Tab), "flr-option": createFlowRemoteComponentRenderer(Option), "flr-country-options": createFlowRemoteComponentRenderer(CountryOptions), "flr-segment": createFlowRemoteComponentRenderer(Segment), - "flr-popover-trigger": createFlowRemoteComponentRenderer(PopoverTrigger), "flr-radio-button": createFlowRemoteComponentRenderer(RadioButton), - "flr-radio": createFlowRemoteComponentRenderer(Radio), - "flr-modal-trigger": createFlowRemoteComponentRenderer(ModalTrigger), + "flr-popover-trigger": createFlowRemoteComponentRenderer(PopoverTrigger), "flr-navigation-group": createFlowRemoteComponentRenderer(NavigationGroup), - "flr-list-list-view": createFlowRemoteComponentRenderer(ListListView), + "flr-modal-trigger": createFlowRemoteComponentRenderer(ModalTrigger), + "flr-radio": createFlowRemoteComponentRenderer(Radio), "flr-list-items-view": createFlowRemoteComponentRenderer(ListItemsView), "flr-list-item-container-view": createFlowRemoteComponentRenderer( ListItemContainerView, @@ -213,6 +211,7 @@ export const flowComponents = { "flr-list-search-field-view": createFlowRemoteComponentRenderer(ListSearchFieldView), "flr-list-header-view": createFlowRemoteComponentRenderer(ListHeaderView), + "flr-list-list-view": createFlowRemoteComponentRenderer(ListListView), "flr-list-pagination-infos-view": createFlowRemoteComponentRenderer( ListPaginationInfosView, ), @@ -228,23 +227,23 @@ export const flowComponents = { "flr-contextual-help-trigger": createFlowRemoteComponentRenderer( ContextualHelpTrigger, ), - "flr-list-sorting-picker-menu-item-view": createFlowRemoteComponentRenderer( - ListSortingPickerMenuItemView, - ), - "flr-list-sorting-picker-view": createFlowRemoteComponentRenderer( - ListSortingPickerView, + "flr-list-filter-picker-menu-item-view": createFlowRemoteComponentRenderer( + ListFilterPickerMenuItemView, ), + "flr-list-filter-picker-view": + createFlowRemoteComponentRenderer(ListFilterPickerView), "flr-list-active-filter-list-view": createFlowRemoteComponentRenderer( ListActiveFilterListView, ), "flr-list-active-filter-item-view": createFlowRemoteComponentRenderer( ListActiveFilterItemView, ), - "flr-list-filter-picker-menu-item-view": createFlowRemoteComponentRenderer( - ListFilterPickerMenuItemView, + "flr-list-sorting-picker-menu-item-view": createFlowRemoteComponentRenderer( + ListSortingPickerMenuItemView, + ), + "flr-list-sorting-picker-view": createFlowRemoteComponentRenderer( + ListSortingPickerView, ), - "flr-list-filter-picker-view": - createFlowRemoteComponentRenderer(ListFilterPickerView), "flr-react-hook-form-field-content-view": createFlowRemoteComponentRenderer( ReactHookFormFieldContentView, ),