@mittwald/flow-react-components 1.5.57 → 1.5.58
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/assets/component-index.json +1 -1
- package/dist/assets/doc-properties.json +1 -1
- package/dist/js/packages/components/src/components/AccentBox/AccentBox.mjs +2 -1
- package/dist/js/packages/components/src/components/AccentBox/AccentBox.mjs.map +1 -1
- package/dist/js/packages/components/src/components/Accordion/Accordion.mjs.map +1 -1
- package/dist/js/packages/components/src/components/AlertText/AlertText.mjs +2 -1
- package/dist/js/packages/components/src/components/AlertText/AlertText.mjs.map +1 -1
- package/dist/js/packages/components/src/components/Chat/Chat.mjs +2 -1
- package/dist/js/packages/components/src/components/Chat/Chat.mjs.map +1 -1
- package/dist/js/packages/components/src/components/Combine/Combine.mjs +2 -1
- package/dist/js/packages/components/src/components/Combine/Combine.mjs.map +1 -1
- package/dist/js/packages/components/src/components/FileCard/FileCard.mjs +2 -1
- package/dist/js/packages/components/src/components/FileCard/FileCard.mjs.map +1 -1
- package/dist/js/packages/components/src/components/FileDropZone/FileDropZone.mjs +4 -4
- package/dist/js/packages/components/src/components/FileDropZone/FileDropZone.mjs.map +1 -1
- package/dist/js/packages/components/src/components/LightBox/components/LightBoxGallery/LightBoxGallery.mjs +6 -3
- package/dist/js/packages/components/src/components/LightBox/components/LightBoxGallery/LightBoxGallery.mjs.map +1 -1
- package/dist/js/packages/components/src/components/LightBox/components/LightBoxGalleryItem/LightBoxGalleryItem.mjs.map +1 -1
- package/dist/js/packages/components/src/components/Message/Message.mjs +2 -1
- package/dist/js/packages/components/src/components/Message/Message.mjs.map +1 -1
- package/dist/js/packages/components/src/components/MessageThread/MessageThread.mjs +2 -1
- package/dist/js/packages/components/src/components/MessageThread/MessageThread.mjs.map +1 -1
- package/dist/js/packages/components/src/components/Navigation/components/NavigationGroup/NavigationGroup.mjs +3 -1
- package/dist/js/packages/components/src/components/Navigation/components/NavigationGroup/NavigationGroup.mjs.map +1 -1
- package/dist/js/packages/components/src/components/Section/components/SectionHeader/SectionHeader.mjs.map +1 -1
- package/dist/js/packages/components/src/components/propTypes/index.mjs +0 -1
- package/dist/js/packages/components/src/components/propTypes/index.mjs.map +1 -1
- package/dist/types/components/AccentBox/AccentBox.d.ts +2 -2
- package/dist/types/components/Accordion/Accordion.d.ts +4 -3
- package/dist/types/components/AlertText/AlertText.d.ts +2 -2
- package/dist/types/components/Chat/Chat.d.ts +4 -3
- package/dist/types/components/FileDropZone/FileDropZone.d.ts +2 -2
- package/dist/types/components/LightBox/components/LightBoxGallery/LightBoxGallery.d.ts +3 -2
- package/dist/types/components/LightBox/components/LightBoxGalleryItem/LightBoxGalleryItem.d.ts +3 -2
- package/dist/types/components/List/components/ListItemView/ListItemView.d.ts +1 -9
- package/dist/types/components/List/typedList.d.ts +27 -35
- package/dist/types/components/Message/Message.d.ts +2 -2
- package/dist/types/components/MessageThread/MessageThread.d.ts +2 -2
- package/dist/types/components/Section/components/SectionHeader/SectionHeader.d.ts +6 -3
- package/dist/types/components/propTypes/index.d.ts +2 -4
- package/dist/types/lib/tokens/getCategoricalColorByIndex.d.ts +1 -1
- package/package.json +10 -10
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.mjs","names":[],"sources":["../../../../../../../src/components/propTypes/index.ts"],"sourcesContent":["import type { TextProps } from \"@/components/Text\";\nimport type { ButtonProps } from \"@/components/Button\";\nimport type { IconProps } from \"@/components/Icon\";\nimport type { LabelProps } from \"@/components/Label\";\nimport type { ContentProps } from \"@/components/Content\";\nimport type { LayoutCardProps } from \"@/components/LayoutCard\";\nimport type { LinkProps } from \"@/components/Link\";\nimport type { LightBoxProps } from \"@/components/LightBox\";\nimport type { FieldErrorProps } from \"@/components/FieldError\";\nimport type { FieldDescriptionProps } from \"@/components/FieldDescription\";\nimport type { AlertProps } from \"@/components/Alert\";\nimport type { HeadingProps } from \"@/components/Heading\";\nimport type { TabNavigationProps } from \"@/components/TabNavigation\";\nimport type { InitialsProps } from \"@/components/Initials\";\nimport type { LoadingSpinnerProps } from \"@/components/LoadingSpinner\";\nimport type { ImageProps } from \"@/components/Image\";\nimport type { CopyButtonProps } from \"@/components/CopyButton\";\nimport type { HeaderProps } from \"@/components/Header/\";\nimport type { SwitchProps } from \"@/components/Switch\";\nimport type { AlertBadgeProps } from \"@/components/AlertBadge\";\nimport type { ActionGroupProps } from \"@/components/ActionGroup\";\nimport type { AvatarProps } from \"@/components/Avatar\";\nimport type { ActionProps } from \"@/components/Action\";\nimport type {\n ContextMenuProps,\n ContextMenuTriggerProps,\n MenuItemProps,\n} from \"@/components/ContextMenu\";\nimport type { SelectProps } from \"@/components/Select\";\nimport type {\n RadioButtonProps,\n RadioGroupProps,\n RadioProps,\n} from \"@/components/RadioGroup\";\nimport type { TextFieldProps } from \"@/components/TextField\";\nimport type { NumberFieldProps } from \"@/components/NumberField\";\nimport type { TextAreaProps } from \"@/components/TextArea\";\nimport type { CheckboxGroupProps } from \"@/components/CheckboxGroup\";\nimport type { CheckboxProps } from \"@/components/Checkbox\";\nimport type { CheckboxButtonProps } from \"@/components/CheckboxButton\";\nimport type { TabsProps } from \"@/components/Tabs\";\nimport type { ModalProps, ModalTriggerProps } from \"@/components/Modal\";\nimport type { SectionProps } from \"@/components/Section\";\nimport type { SliderProps } from \"@/components/Slider\";\nimport type { CounterBadgeProps } from \"@/components/CounterBadge\";\nimport type { FlowComponentName } from \"@/components/propTypes/types\";\nimport type {\n ContextualHelpProps,\n ContextualHelpTriggerProps,\n} from \"@/components/ContextualHelp\";\nimport type { CoachMarkProps } from \"@/components/CoachMark\";\nimport type { PopoverProps, PopoverTriggerProps } from \"@/components/Popover\";\nimport type { ContextMenuSectionProps } from \"@/components/ContextMenu/components/ContextMenuSection\";\nimport type { ListItemViewContentProps, ListProps } from \"@/components/List\";\nimport type { PasswordCreationFieldProps } from \"@/components/PasswordCreationField\";\nimport type { SearchFieldProps } from \"@/components/SearchField\";\nimport type { BadgeProps } from \"@/components/Badge\";\nimport type { DatePickerProps } from \"@/components/DatePicker\";\nimport type * as Aria from \"react-aria-components\";\nimport type { DateRangePickerProps } from \"@/components/DateRangePicker\";\nimport type { TimeFieldProps } from \"@/components/TimeField\";\nimport type { AlertIconProps } from \"@/components/AlertIcon\";\nimport type { ListSummaryProps } from \"@/components/List/components/ListSummary/ListSummary\";\nimport type { SegmentedControlProps } from \"@/components/SegmentedControl\";\nimport type { SegmentProps } from \"@/components/SegmentedControl/components/Segment\";\nimport type { FileCardProps } from \"@/components/FileCard\";\nimport type { FileFieldProps } from \"@/components/FileField\";\nimport type { AlignProps } from \"@/components/Align\";\nimport type { CombineProps } from \"@/components/Combine\";\nimport type { CountryOptionsProps } from \"@/components/CountryOptions\";\nimport type { ComboBoxProps } from \"@/components/ComboBox\";\nimport type { OptionProps } from \"@/components/Option\";\nimport type { MessageProps } from \"@/components/Message\";\nimport type { MessageThreadProps } from \"@/components/MessageThread\";\nimport type { FileCardListProps } from \"@/components/FileCardList\";\nimport type { AccentBoxProps } from \"@/components/AccentBox\";\nimport type { ColumnLayoutProps } from \"@/components/ColumnLayout\";\nimport type {\n DialogTriggerProps,\n MenuTriggerProps,\n} from \"@/components/OverlayTrigger\";\nimport type { ProgressBarProps } from \"@/components/ProgressBar\";\nimport type { FileDropZoneProps } from \"@/components/FileDropZone\";\nimport type { NavigationProps } from \"@/components/Navigation\";\nimport type { NavigationGroupProps } from \"@/components/Navigation/components/NavigationGroup\";\nimport type { AutocompleteProps } from \"@/components/Autocomplete/Autocomplete\";\nimport type { OptionsProps } from \"@/components/Options/Options\";\nimport type { MarkdownEditorProps } from \"@/components/MarkdownEditor\";\nimport type { AlertTextProps } from \"@/components/AlertText\";\nimport type { IllustratedMessageProps } from \"@/components/IllustratedMessage\";\nimport type { RatingProps } from \"@/components/Rating\";\nimport type { RatingSegmentProps } from \"@/components/Rating/components/RatingSegment\";\nimport type { CodeEditorProps } from \"@/components/CodeEditor\";\nimport type { KbdProps } from \"@/components/Kbd/Kbd\";\nimport type { AccordionProps } from \"@/components/Accordion\";\nimport type { AccordionGroupProps } from \"@/components/AccordionGroup\";\nimport type { ChatProps } from \"@/components/Chat\";\nimport type { SectionHeaderProps } from \"@/components/Section/components/SectionHeader/SectionHeader\";\nimport type {\n LightBoxGalleryItemProps,\n LightBoxGalleryProps,\n} from \"@/components/LightBox\";\n\nexport * from \"./types\";\n\nexport interface FlowComponentPropsTypes {\n AccentBox: AccentBoxProps;\n Action: ActionProps;\n ActionGroup: ActionGroupProps;\n Accordion: AccordionProps;\n AccordionGroup: AccordionGroupProps;\n Alert: AlertProps;\n AlertBadge: AlertBadgeProps;\n AlertIcon: AlertIconProps;\n AlertText: AlertTextProps;\n Align: AlignProps;\n Combine: CombineProps;\n Avatar: AvatarProps;\n Autocomplete: AutocompleteProps;\n Badge: BadgeProps;\n Button: ButtonProps;\n CodeEditor: CodeEditorProps;\n Chat: ChatProps;\n Checkbox: CheckboxProps;\n CheckboxButton: CheckboxButtonProps;\n CheckboxGroup: CheckboxGroupProps;\n ColumnLayout: ColumnLayoutProps;\n ComboBox: ComboBoxProps;\n Content: ContentProps;\n ContextMenu: ContextMenuProps;\n ContextMenuSection: ContextMenuSectionProps;\n ContextMenuTrigger: ContextMenuTriggerProps;\n CoachMark: CoachMarkProps;\n ContextualHelp: ContextualHelpProps;\n ContextualHelpTrigger: ContextualHelpTriggerProps;\n CopyButton: CopyButtonProps;\n CounterBadge: CounterBadgeProps;\n CountryOptions: CountryOptionsProps;\n DatePicker: DatePickerProps<Aria.DateValue>;\n DateRangePicker: DateRangePickerProps<Aria.DateValue>;\n DialogTrigger: DialogTriggerProps;\n FieldDescription: FieldDescriptionProps;\n FieldError: FieldErrorProps;\n FileCard: FileCardProps;\n FileCardList: FileCardListProps;\n FileField: FileFieldProps;\n FileDropZone: FileDropZoneProps;\n Header: HeaderProps;\n Heading: HeadingProps;\n TabNavigation: TabNavigationProps;\n Icon: IconProps;\n IllustratedMessage: IllustratedMessageProps;\n Image: ImageProps;\n Initials: InitialsProps;\n Label: LabelProps;\n LayoutCard: LayoutCardProps;\n LightBox: LightBoxProps;\n LightBoxGallery: LightBoxGalleryProps;\n LightBoxGalleryItem: LightBoxGalleryItemProps;\n Link: LinkProps;\n List: ListProps<never>;\n ListItemView: ListItemViewContentProps;\n ListSummary: ListSummaryProps;\n LoadingSpinner: LoadingSpinnerProps;\n MarkdownEditor: MarkdownEditorProps;\n MenuItem: MenuItemProps;\n MenuTrigger: MenuTriggerProps;\n Message: MessageProps;\n MessageThread: MessageThreadProps;\n Modal: ModalProps;\n ModalTrigger: ModalTriggerProps;\n Navigation: NavigationProps;\n NavigationGroup: NavigationGroupProps;\n NumberField: NumberFieldProps;\n Option: OptionProps;\n Options: OptionsProps;\n Popover: PopoverProps;\n PopoverTrigger: PopoverTriggerProps;\n PasswordCreationField: PasswordCreationFieldProps;\n ProgressBar: ProgressBarProps;\n Radio: RadioProps;\n RadioButton: RadioButtonProps;\n RadioGroup: RadioGroupProps;\n Rating: RatingProps;\n RatingSegment: RatingSegmentProps;\n SearchField: SearchFieldProps;\n Section: SectionProps;\n Segment: SegmentProps;\n SegmentedControl: SegmentedControlProps;\n Select: SelectProps;\n Kbd: KbdProps;\n SectionHeader: SectionHeaderProps;\n Slider: SliderProps;\n Switch: SwitchProps;\n Tabs: TabsProps;\n TabTitle: TabsProps;\n Text: TextProps;\n TextArea: TextAreaProps;\n TextField: TextFieldProps;\n TimeField: TimeFieldProps;\n}\n\nconst propsContextSupportingComponentsMap: Record<\n keyof FlowComponentPropsTypes,\n true\n> = {\n AccentBox: true,\n Action: true,\n ActionGroup: true,\n Accordion: true,\n AccordionGroup: true,\n Avatar: true,\n Autocomplete: true,\n Alert: true,\n AlertBadge: true,\n AlertIcon: true,\n AlertText: true,\n Align: true,\n Combine: true,\n Badge: true,\n Button: true,\n CodeEditor: true,\n Chat: true,\n Checkbox: true,\n CheckboxButton: true,\n CheckboxGroup: true,\n ColumnLayout: true,\n ComboBox: true,\n Content: true,\n ContextMenu: true,\n ContextMenuSection: true,\n ContextMenuTrigger: true,\n CoachMark: true,\n ContextualHelp: true,\n ContextualHelpTrigger: true,\n CopyButton: true,\n CounterBadge: true,\n CountryOptions: true,\n DatePicker: true,\n DateRangePicker: true,\n DialogTrigger: true,\n FieldDescription: true,\n FieldError: true,\n FileCard: true,\n FileCardList: true,\n FileField: true,\n FileDropZone: true,\n Header: true,\n Heading: true,\n TabNavigation: true,\n Icon: true,\n IllustratedMessage: true,\n Image: true,\n Initials: true,\n Kbd: true,\n Label: true,\n LayoutCard: true,\n LightBox: true,\n LightBoxGallery: true,\n LightBoxGalleryItem: true,\n Link: true,\n List: true,\n ListItemView: true,\n ListSummary: true,\n LoadingSpinner: true,\n MarkdownEditor: true,\n MenuItem: true,\n MenuTrigger: true,\n Message: true,\n MessageThread: true,\n Modal: true,\n ModalTrigger: true,\n Navigation: true,\n NavigationGroup: true,\n NumberField: true,\n Radio: true,\n Option: true,\n Options: true,\n Popover: true,\n PopoverTrigger: true,\n PasswordCreationField: true,\n ProgressBar: true,\n RadioButton: true,\n RadioGroup: true,\n Rating: true,\n RatingSegment: true,\n SearchField: true,\n Section: true,\n SectionHeader: true,\n Segment: true,\n SegmentedControl: true,\n Select: true,\n Slider: true,\n Switch: true,\n Tabs: true,\n TabTitle: true,\n TestComponent: true,\n Text: true,\n TextArea: true,\n TextField: true,\n TimeField: true,\n};\n\nexport const propsContextSupportingComponents = Object.keys(\n propsContextSupportingComponentsMap,\n) as FlowComponentName[];\n"],"mappings":";AA+SA,IAAa,mCAAmC,OAAO,KACrD;CAlGA,WAAW;CACX,QAAQ;CACR,aAAa;CACb,WAAW;CACX,gBAAgB;CAChB,QAAQ;CACR,cAAc;CACd,OAAO;CACP,YAAY;CACZ,WAAW;CACX,WAAW;CACX,OAAO;CACP,SAAS;CACT,OAAO;CACP,QAAQ;CACR,YAAY;CACZ,MAAM;CACN,UAAU;CACV,gBAAgB;CAChB,eAAe;CACf,cAAc;CACd,UAAU;CACV,SAAS;CACT,aAAa;CACb,oBAAoB;CACpB,oBAAoB;CACpB,WAAW;CACX,gBAAgB;CAChB,uBAAuB;CACvB,YAAY;CACZ,cAAc;CACd,gBAAgB;CAChB,YAAY;CACZ,iBAAiB;CACjB,eAAe;CACf,kBAAkB;CAClB,YAAY;CACZ,UAAU;CACV,cAAc;CACd,WAAW;CACX,cAAc;CACd,QAAQ;CACR,SAAS;CACT,eAAe;CACf,MAAM;CACN,oBAAoB;CACpB,OAAO;CACP,UAAU;CACV,KAAK;CACL,OAAO;CACP,YAAY;CACZ,UAAU;CACV,iBAAiB;CACjB,qBAAqB;CACrB,MAAM;CACN,MAAM;CACN,cAAc;CACd,aAAa;CACb,gBAAgB;CAChB,gBAAgB;CAChB,UAAU;CACV,aAAa;CACb,SAAS;CACT,eAAe;CACf,OAAO;CACP,cAAc;CACd,YAAY;CACZ,iBAAiB;CACjB,aAAa;CACb,OAAO;CACP,QAAQ;CACR,SAAS;CACT,SAAS;CACT,gBAAgB;CAChB,uBAAuB;CACvB,aAAa;CACb,aAAa;CACb,YAAY;CACZ,QAAQ;CACR,eAAe;CACf,aAAa;CACb,SAAS;CACT,eAAe;CACf,SAAS;CACT,kBAAkB;CAClB,QAAQ;CACR,QAAQ;CACR,QAAQ;CACR,MAAM;CACN,UAAU;CACV,eAAe;CACf,MAAM;CACN,UAAU;CACV,WAAW;CACX,WAAW;AAIX,CACF"}
|
|
1
|
+
{"version":3,"file":"index.mjs","names":[],"sources":["../../../../../../../src/components/propTypes/index.ts"],"sourcesContent":["import type { TextProps } from \"@/components/Text\";\nimport type { ButtonProps } from \"@/components/Button\";\nimport type { IconProps } from \"@/components/Icon\";\nimport type { LabelProps } from \"@/components/Label\";\nimport type { ContentProps } from \"@/components/Content\";\nimport type { LayoutCardProps } from \"@/components/LayoutCard\";\nimport type { LinkProps } from \"@/components/Link\";\nimport type { LightBoxProps } from \"@/components/LightBox\";\nimport type { FieldErrorProps } from \"@/components/FieldError\";\nimport type { FieldDescriptionProps } from \"@/components/FieldDescription\";\nimport type { AlertProps } from \"@/components/Alert\";\nimport type { HeadingProps } from \"@/components/Heading\";\nimport type { TabNavigationProps } from \"@/components/TabNavigation\";\nimport type { InitialsProps } from \"@/components/Initials\";\nimport type { LoadingSpinnerProps } from \"@/components/LoadingSpinner\";\nimport type { ImageProps } from \"@/components/Image\";\nimport type { CopyButtonProps } from \"@/components/CopyButton\";\nimport type { HeaderProps } from \"@/components/Header/\";\nimport type { SwitchProps } from \"@/components/Switch\";\nimport type { AlertBadgeProps } from \"@/components/AlertBadge\";\nimport type { ActionGroupProps } from \"@/components/ActionGroup\";\nimport type { AvatarProps } from \"@/components/Avatar\";\nimport type { ActionProps } from \"@/components/Action\";\nimport type {\n ContextMenuProps,\n ContextMenuTriggerProps,\n MenuItemProps,\n} from \"@/components/ContextMenu\";\nimport type { SelectProps } from \"@/components/Select\";\nimport type {\n RadioButtonProps,\n RadioGroupProps,\n RadioProps,\n} from \"@/components/RadioGroup\";\nimport type { TextFieldProps } from \"@/components/TextField\";\nimport type { NumberFieldProps } from \"@/components/NumberField\";\nimport type { TextAreaProps } from \"@/components/TextArea\";\nimport type { CheckboxGroupProps } from \"@/components/CheckboxGroup\";\nimport type { CheckboxProps } from \"@/components/Checkbox\";\nimport type { CheckboxButtonProps } from \"@/components/CheckboxButton\";\nimport type { TabsProps } from \"@/components/Tabs\";\nimport type { ModalProps, ModalTriggerProps } from \"@/components/Modal\";\nimport type { SectionProps } from \"@/components/Section\";\nimport type { SliderProps } from \"@/components/Slider\";\nimport type { CounterBadgeProps } from \"@/components/CounterBadge\";\nimport type { FlowComponentName } from \"@/components/propTypes/types\";\nimport type {\n ContextualHelpProps,\n ContextualHelpTriggerProps,\n} from \"@/components/ContextualHelp\";\nimport type { CoachMarkProps } from \"@/components/CoachMark\";\nimport type { PopoverProps, PopoverTriggerProps } from \"@/components/Popover\";\nimport type { ContextMenuSectionProps } from \"@/components/ContextMenu/components/ContextMenuSection\";\nimport type { ListItemViewProps, ListProps } from \"@/components/List\";\nimport type { PasswordCreationFieldProps } from \"@/components/PasswordCreationField\";\nimport type { SearchFieldProps } from \"@/components/SearchField\";\nimport type { BadgeProps } from \"@/components/Badge\";\nimport type { DatePickerProps } from \"@/components/DatePicker\";\nimport type * as Aria from \"react-aria-components\";\nimport type { DateRangePickerProps } from \"@/components/DateRangePicker\";\nimport type { TimeFieldProps } from \"@/components/TimeField\";\nimport type { ListSummaryProps } from \"@/components/List/components/ListSummary/ListSummary\";\nimport type { SegmentedControlProps } from \"@/components/SegmentedControl\";\nimport type { SegmentProps } from \"@/components/SegmentedControl/components/Segment\";\nimport type { FileCardProps } from \"@/components/FileCard\";\nimport type { FileFieldProps } from \"@/components/FileField\";\nimport type { AlignProps } from \"@/components/Align\";\nimport type { CombineProps } from \"@/components/Combine\";\nimport type { CountryOptionsProps } from \"@/components/CountryOptions\";\nimport type { ComboBoxProps } from \"@/components/ComboBox\";\nimport type { OptionProps } from \"@/components/Option\";\nimport type { MessageProps } from \"@/components/Message\";\nimport type { MessageThreadProps } from \"@/components/MessageThread\";\nimport type { FileCardListProps } from \"@/components/FileCardList\";\nimport type { AccentBoxProps } from \"@/components/AccentBox\";\nimport type { ColumnLayoutProps } from \"@/components/ColumnLayout\";\nimport type {\n DialogTriggerProps,\n MenuTriggerProps,\n} from \"@/components/OverlayTrigger\";\nimport type { ProgressBarProps } from \"@/components/ProgressBar\";\nimport type { FileDropZoneProps } from \"@/components/FileDropZone\";\nimport type { NavigationProps } from \"@/components/Navigation\";\nimport type { NavigationGroupProps } from \"@/components/Navigation/components/NavigationGroup\";\nimport type { AutocompleteProps } from \"@/components/Autocomplete/Autocomplete\";\nimport type { OptionsProps } from \"@/components/Options/Options\";\nimport type { MarkdownEditorProps } from \"@/components/MarkdownEditor\";\nimport type { AlertTextProps } from \"@/components/AlertText\";\nimport type { IllustratedMessageProps } from \"@/components/IllustratedMessage\";\nimport type { RatingProps } from \"@/components/Rating\";\nimport type { RatingSegmentProps } from \"@/components/Rating/components/RatingSegment\";\nimport type { CodeEditorProps } from \"@/components/CodeEditor\";\nimport type { KbdProps } from \"@/components/Kbd/Kbd\";\nimport type { AccordionProps } from \"@/components/Accordion\";\nimport type { AccordionGroupProps } from \"@/components/AccordionGroup\";\nimport type { ChatProps } from \"@/components/Chat\";\nimport type { SectionHeaderProps } from \"@/components/Section/components/SectionHeader/SectionHeader\";\nimport type {\n LightBoxGalleryItemProps,\n LightBoxGalleryProps,\n} from \"@/components/LightBox\";\n\nexport * from \"./types\";\n\nexport interface FlowComponentPropsTypes {\n AccentBox: AccentBoxProps;\n Action: ActionProps;\n ActionGroup: ActionGroupProps;\n Accordion: AccordionProps;\n AccordionGroup: AccordionGroupProps;\n Alert: AlertProps;\n AlertBadge: AlertBadgeProps;\n AlertText: AlertTextProps;\n Align: AlignProps;\n Combine: CombineProps;\n Avatar: AvatarProps;\n Autocomplete: AutocompleteProps;\n Badge: BadgeProps;\n Button: ButtonProps;\n CodeEditor: CodeEditorProps;\n Chat: ChatProps;\n Checkbox: CheckboxProps;\n CheckboxButton: CheckboxButtonProps;\n CheckboxGroup: CheckboxGroupProps;\n ColumnLayout: ColumnLayoutProps;\n ComboBox: ComboBoxProps;\n Content: ContentProps;\n ContextMenu: ContextMenuProps;\n ContextMenuSection: ContextMenuSectionProps;\n ContextMenuTrigger: ContextMenuTriggerProps;\n CoachMark: CoachMarkProps;\n ContextualHelp: ContextualHelpProps;\n ContextualHelpTrigger: ContextualHelpTriggerProps;\n CopyButton: CopyButtonProps;\n CounterBadge: CounterBadgeProps;\n CountryOptions: CountryOptionsProps;\n DatePicker: DatePickerProps<Aria.DateValue>;\n DateRangePicker: DateRangePickerProps<Aria.DateValue>;\n DialogTrigger: DialogTriggerProps;\n FieldDescription: FieldDescriptionProps;\n FieldError: FieldErrorProps;\n FileCard: FileCardProps;\n FileCardList: FileCardListProps;\n FileField: FileFieldProps;\n FileDropZone: FileDropZoneProps;\n Header: HeaderProps;\n Heading: HeadingProps;\n TabNavigation: TabNavigationProps;\n Icon: IconProps;\n IllustratedMessage: IllustratedMessageProps;\n Image: ImageProps;\n Initials: InitialsProps;\n Label: LabelProps;\n LayoutCard: LayoutCardProps;\n LightBox: LightBoxProps;\n LightBoxGallery: LightBoxGalleryProps;\n LightBoxGalleryItem: LightBoxGalleryItemProps;\n Link: LinkProps;\n List: ListProps<never>;\n ListItemView: ListItemViewProps;\n ListSummary: ListSummaryProps;\n LoadingSpinner: LoadingSpinnerProps;\n MarkdownEditor: MarkdownEditorProps;\n MenuItem: MenuItemProps;\n MenuTrigger: MenuTriggerProps;\n Message: MessageProps;\n MessageThread: MessageThreadProps;\n Modal: ModalProps;\n ModalTrigger: ModalTriggerProps;\n Navigation: NavigationProps;\n NavigationGroup: NavigationGroupProps;\n NumberField: NumberFieldProps;\n Option: OptionProps;\n Options: OptionsProps;\n Popover: PopoverProps;\n PopoverTrigger: PopoverTriggerProps;\n PasswordCreationField: PasswordCreationFieldProps;\n ProgressBar: ProgressBarProps;\n Radio: RadioProps;\n RadioButton: RadioButtonProps;\n RadioGroup: RadioGroupProps;\n Rating: RatingProps;\n RatingSegment: RatingSegmentProps;\n SearchField: SearchFieldProps;\n Section: SectionProps;\n Segment: SegmentProps;\n SegmentedControl: SegmentedControlProps;\n Select: SelectProps;\n Kbd: KbdProps;\n SectionHeader: SectionHeaderProps;\n Slider: SliderProps;\n Switch: SwitchProps;\n Tabs: TabsProps;\n TabTitle: TabsProps;\n Text: TextProps;\n TextArea: TextAreaProps;\n TextField: TextFieldProps;\n TimeField: TimeFieldProps;\n}\n\nconst propsContextSupportingComponentsMap: Record<\n keyof FlowComponentPropsTypes,\n true\n> = {\n AccentBox: true,\n Action: true,\n ActionGroup: true,\n Accordion: true,\n AccordionGroup: true,\n Avatar: true,\n Autocomplete: true,\n Alert: true,\n AlertBadge: true,\n AlertText: true,\n Align: true,\n Combine: true,\n Badge: true,\n Button: true,\n CodeEditor: true,\n Chat: true,\n Checkbox: true,\n CheckboxButton: true,\n CheckboxGroup: true,\n ColumnLayout: true,\n ComboBox: true,\n Content: true,\n ContextMenu: true,\n ContextMenuSection: true,\n ContextMenuTrigger: true,\n CoachMark: true,\n ContextualHelp: true,\n ContextualHelpTrigger: true,\n CopyButton: true,\n CounterBadge: true,\n CountryOptions: true,\n DatePicker: true,\n DateRangePicker: true,\n DialogTrigger: true,\n FieldDescription: true,\n FieldError: true,\n FileCard: true,\n FileCardList: true,\n FileField: true,\n FileDropZone: true,\n Header: true,\n Heading: true,\n TabNavigation: true,\n Icon: true,\n IllustratedMessage: true,\n Image: true,\n Initials: true,\n Kbd: true,\n Label: true,\n LayoutCard: true,\n LightBox: true,\n LightBoxGallery: true,\n LightBoxGalleryItem: true,\n Link: true,\n List: true,\n ListItemView: true,\n ListSummary: true,\n LoadingSpinner: true,\n MarkdownEditor: true,\n MenuItem: true,\n MenuTrigger: true,\n Message: true,\n MessageThread: true,\n Modal: true,\n ModalTrigger: true,\n Navigation: true,\n NavigationGroup: true,\n NumberField: true,\n Radio: true,\n Option: true,\n Options: true,\n Popover: true,\n PopoverTrigger: true,\n PasswordCreationField: true,\n ProgressBar: true,\n RadioButton: true,\n RadioGroup: true,\n Rating: true,\n RatingSegment: true,\n SearchField: true,\n Section: true,\n SectionHeader: true,\n Segment: true,\n SegmentedControl: true,\n Select: true,\n Slider: true,\n Switch: true,\n Tabs: true,\n TabTitle: true,\n TestComponent: true,\n Text: true,\n TextArea: true,\n TextField: true,\n TimeField: true,\n};\n\nexport const propsContextSupportingComponents = Object.keys(\n propsContextSupportingComponentsMap,\n) as FlowComponentName[];\n"],"mappings":";AA4SA,IAAa,mCAAmC,OAAO,KACrD;CAjGA,WAAW;CACX,QAAQ;CACR,aAAa;CACb,WAAW;CACX,gBAAgB;CAChB,QAAQ;CACR,cAAc;CACd,OAAO;CACP,YAAY;CACZ,WAAW;CACX,OAAO;CACP,SAAS;CACT,OAAO;CACP,QAAQ;CACR,YAAY;CACZ,MAAM;CACN,UAAU;CACV,gBAAgB;CAChB,eAAe;CACf,cAAc;CACd,UAAU;CACV,SAAS;CACT,aAAa;CACb,oBAAoB;CACpB,oBAAoB;CACpB,WAAW;CACX,gBAAgB;CAChB,uBAAuB;CACvB,YAAY;CACZ,cAAc;CACd,gBAAgB;CAChB,YAAY;CACZ,iBAAiB;CACjB,eAAe;CACf,kBAAkB;CAClB,YAAY;CACZ,UAAU;CACV,cAAc;CACd,WAAW;CACX,cAAc;CACd,QAAQ;CACR,SAAS;CACT,eAAe;CACf,MAAM;CACN,oBAAoB;CACpB,OAAO;CACP,UAAU;CACV,KAAK;CACL,OAAO;CACP,YAAY;CACZ,UAAU;CACV,iBAAiB;CACjB,qBAAqB;CACrB,MAAM;CACN,MAAM;CACN,cAAc;CACd,aAAa;CACb,gBAAgB;CAChB,gBAAgB;CAChB,UAAU;CACV,aAAa;CACb,SAAS;CACT,eAAe;CACf,OAAO;CACP,cAAc;CACd,YAAY;CACZ,iBAAiB;CACjB,aAAa;CACb,OAAO;CACP,QAAQ;CACR,SAAS;CACT,SAAS;CACT,gBAAgB;CAChB,uBAAuB;CACvB,aAAa;CACb,aAAa;CACb,YAAY;CACZ,QAAQ;CACR,eAAe;CACf,aAAa;CACb,SAAS;CACT,eAAe;CACf,SAAS;CACT,kBAAkB;CAClB,QAAQ;CACR,QAAQ;CACR,QAAQ;CACR,MAAM;CACN,UAAU;CACV,eAAe;CACf,MAAM;CACN,UAAU;CACV,WAAW;CACX,WAAW;AAIX,CACF"}
|
|
@@ -4,7 +4,7 @@ import { FlowComponentProps } from '../../lib/componentFactory/flowComponent';
|
|
|
4
4
|
declare const accentBoxBackgroundColors: readonly ["neutral", "blue", "violet", "teal", "lilac", "green", "navy", "gradient"];
|
|
5
5
|
type AccentBoxBackgroundColor = (typeof accentBoxBackgroundColors)[number];
|
|
6
6
|
type AccentBoxWithCustomBackgroundColor = AccentBoxBackgroundColor | (string & {});
|
|
7
|
-
export interface AccentBoxProps extends PropsWithChildren, PropsWithElementType<"div" | "section" | "article">, PropsWithClassName, FlowComponentProps {
|
|
7
|
+
export interface AccentBoxProps extends PropsWithChildren, PropsWithElementType<"div" | "section" | "article">, PropsWithClassName, FlowComponentProps<HTMLElement> {
|
|
8
8
|
/** The background color of the accent box. @default "neutral" */
|
|
9
9
|
backgroundColor?: AccentBoxWithCustomBackgroundColor;
|
|
10
10
|
/** The content color of the accent box. @default "default" */
|
|
@@ -18,5 +18,5 @@ export interface AccentBoxProps extends PropsWithChildren, PropsWithElementType<
|
|
|
18
18
|
* @flr-generate all
|
|
19
19
|
* @flowStatus beta
|
|
20
20
|
*/
|
|
21
|
-
export declare const AccentBox: import('react').FunctionComponent<AccentBoxProps & import('react').RefAttributes<
|
|
21
|
+
export declare const AccentBox: import('react').FunctionComponent<AccentBoxProps & import('react').RefAttributes<HTMLElement>>;
|
|
22
22
|
export default AccentBox;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
|
-
import { ComponentProps,
|
|
2
|
-
|
|
1
|
+
import { ComponentProps, PropsWithChildren } from 'react';
|
|
2
|
+
import { FlowComponentProps } from '../../lib/componentFactory/flowComponent';
|
|
3
|
+
export interface AccordionProps extends PropsWithChildren<ComponentProps<"div">>, FlowComponentProps<HTMLDivElement> {
|
|
3
4
|
/**
|
|
4
5
|
* The key of the accordion inside an `AccordionGroup`, used by its
|
|
5
6
|
* `expandedKeys`. Also set as the DOM id.
|
|
@@ -18,5 +19,5 @@ export interface AccordionProps extends PropsWithChildren<ComponentProps<"div">>
|
|
|
18
19
|
* @flr-generate all
|
|
19
20
|
* @flowStatus beta
|
|
20
21
|
*/
|
|
21
|
-
export declare const Accordion:
|
|
22
|
+
export declare const Accordion: import('react').FunctionComponent<AccordionProps & import('react').RefAttributes<HTMLDivElement>>;
|
|
22
23
|
export default Accordion;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { PropsWithChildren } from 'react';
|
|
2
2
|
import { PropsWithClassName, PropsWithStatus } from '../../lib/types/props';
|
|
3
3
|
import { FlowComponentProps } from '../../lib/componentFactory/flowComponent';
|
|
4
|
-
export interface AlertTextProps extends PropsWithClassName, PropsWithChildren, FlowComponentProps
|
|
4
|
+
export interface AlertTextProps extends PropsWithClassName, PropsWithChildren, FlowComponentProps<HTMLSpanElement>, PropsWithStatus {
|
|
5
5
|
}
|
|
6
6
|
/** @flr-generate all */
|
|
7
|
-
export declare const AlertText: import('react').FunctionComponent<AlertTextProps & import('react').RefAttributes<
|
|
7
|
+
export declare const AlertText: import('react').FunctionComponent<AlertTextProps & import('react').RefAttributes<HTMLSpanElement>>;
|
|
8
8
|
export default AlertText;
|
|
@@ -1,9 +1,10 @@
|
|
|
1
|
-
import { CSSProperties,
|
|
1
|
+
import { CSSProperties, PropsWithChildren } from 'react';
|
|
2
2
|
import { PropsWithClassName } from '../../lib/types/props';
|
|
3
|
-
|
|
3
|
+
import { FlowComponentProps } from '../../lib/componentFactory/flowComponent';
|
|
4
|
+
export interface ChatProps extends PropsWithChildren, PropsWithClassName, FlowComponentProps {
|
|
4
5
|
/** The height of the chat. */
|
|
5
6
|
height?: CSSProperties["height"];
|
|
6
7
|
}
|
|
7
8
|
/** @flr-generate all */
|
|
8
|
-
export declare const Chat:
|
|
9
|
+
export declare const Chat: import('react').FunctionComponent<ChatProps & import('react').RefAttributes<HTMLDivElement>>;
|
|
9
10
|
export default Chat;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { PropsWithChildren } from 'react';
|
|
2
2
|
import { PropsWithClassName } from '../../lib/types/props';
|
|
3
3
|
import { FileInputOnChangeHandler } from '../FileField/components/FileInput';
|
|
4
4
|
import { FlowComponentProps } from '../../lib/componentFactory/flowComponent';
|
|
@@ -11,5 +11,5 @@ export interface FileDropZoneProps extends PropsWithClassName, FlowComponentProp
|
|
|
11
11
|
isReadOnly?: boolean;
|
|
12
12
|
}
|
|
13
13
|
/** @flr-generate all */
|
|
14
|
-
export declare const FileDropZone:
|
|
14
|
+
export declare const FileDropZone: import('react').FunctionComponent<FileDropZoneProps & import('react').RefAttributes<Aria.FocusableElement>>;
|
|
15
15
|
export default FileDropZone;
|
|
@@ -1,9 +1,10 @@
|
|
|
1
|
+
import { FlowComponentProps } from '../../../../lib/componentFactory/flowComponent';
|
|
1
2
|
import { default as React, ReactNode } from 'react';
|
|
2
3
|
import { PropsWithClassName } from '../../../../lib/types/props';
|
|
3
|
-
export interface LightBoxGalleryProps extends PropsWithClassName {
|
|
4
|
+
export interface LightBoxGalleryProps extends PropsWithClassName, FlowComponentProps {
|
|
4
5
|
children: ReactNode[];
|
|
5
6
|
defaultIndex?: number;
|
|
6
7
|
}
|
|
7
8
|
/** @flr-generate all */
|
|
8
|
-
export declare const LightBoxGallery: React.FunctionComponent<LightBoxGalleryProps & React.RefAttributes<
|
|
9
|
+
export declare const LightBoxGallery: React.FunctionComponent<LightBoxGalleryProps & React.RefAttributes<HTMLDivElement>>;
|
|
9
10
|
export default LightBoxGallery;
|
package/dist/types/components/LightBox/components/LightBoxGalleryItem/LightBoxGalleryItem.d.ts
CHANGED
|
@@ -1,7 +1,8 @@
|
|
|
1
|
+
import { FlowComponentProps } from '../../../../lib/componentFactory/flowComponent';
|
|
1
2
|
import { PropsWithChildren } from 'react';
|
|
2
|
-
export type LightBoxGalleryItemProps = PropsWithChildren
|
|
3
|
+
export type LightBoxGalleryItemProps = PropsWithChildren & Omit<FlowComponentProps, "ref">;
|
|
3
4
|
/** @flr-generate all */
|
|
4
5
|
export declare const LightBoxGalleryItem: import('react').FunctionComponent<{
|
|
5
6
|
children?: import('react').ReactNode | undefined;
|
|
6
|
-
} & import('react').RefAttributes<
|
|
7
|
+
} & Omit<FlowComponentProps<HTMLDivElement>, "ref"> & import('react').RefAttributes<unknown>>;
|
|
7
8
|
export default LightBoxGalleryItem;
|
|
@@ -3,13 +3,5 @@ import { ColumnLayoutProps } from '../../../ColumnLayout';
|
|
|
3
3
|
export type ListItemViewProps = PropsWithChildren & Pick<ColumnLayoutProps, "s" | "m" | "l">;
|
|
4
4
|
export declare const ListItemView: import('react').FunctionComponent<{
|
|
5
5
|
children?: import('react').ReactNode | undefined;
|
|
6
|
-
} & Pick<ColumnLayoutProps<"div" | "ul">, "s" | "m" | "l"> &
|
|
7
|
-
title?: import('react').ReactNode;
|
|
8
|
-
subTitle?: import('react').ReactNode;
|
|
9
|
-
avatar?: import('react').ReactNode;
|
|
10
|
-
button?: import('react').ReactNode;
|
|
11
|
-
bottom?: import('react').ReactNode;
|
|
12
|
-
checkbox?: import('react').ReactNode;
|
|
13
|
-
viewMode?: import('../../model/types').ListViewMode;
|
|
14
|
-
} & import('react').RefAttributes<undefined>>;
|
|
6
|
+
} & Pick<ColumnLayoutProps<"div" | "ul">, "s" | "m" | "l"> & import('react').RefAttributes<undefined>>;
|
|
15
7
|
export default ListItemView;
|
|
@@ -18,31 +18,25 @@ export declare const typedList: <T, TMeta = unknown>() => {
|
|
|
18
18
|
}>;
|
|
19
19
|
ItemView: import('react').FunctionComponent<{
|
|
20
20
|
children?: import('react').ReactNode | undefined;
|
|
21
|
-
} & Pick<import('../ColumnLayout').ColumnLayoutProps<"div" | "ul">, "s" | "m" | "l"> &
|
|
22
|
-
title?: import('react').ReactNode;
|
|
23
|
-
subTitle?: import('react').ReactNode;
|
|
24
|
-
avatar?: import('react').ReactNode;
|
|
25
|
-
button?: import('react').ReactNode;
|
|
26
|
-
bottom?: import('react').ReactNode;
|
|
27
|
-
checkbox?: import('react').ReactNode;
|
|
28
|
-
viewMode?: import('./model/types').ListViewMode;
|
|
29
|
-
} & import('react').RefAttributes<undefined>>;
|
|
21
|
+
} & Pick<import('../ColumnLayout').ColumnLayoutProps<"div" | "ul">, "s" | "m" | "l"> & import('react').RefAttributes<undefined>>;
|
|
30
22
|
TableHeader: (ignoredProps: import('./model/table/types').TableHeaderShape) => null;
|
|
31
23
|
TableColumn: (ignoredProps: import('../Table').TableColumnProps) => null;
|
|
32
24
|
TableBody: (ignoredProps: import('./model/table/types').TableBodyShape<T>) => null;
|
|
33
25
|
TableRow: (ignoredProps: {
|
|
34
|
-
|
|
26
|
+
children?: import('react').ReactNode;
|
|
27
|
+
isDisabled?: boolean | undefined;
|
|
35
28
|
className?: string | undefined;
|
|
36
|
-
id?: import('react-aria-components').Key | undefined;
|
|
37
|
-
lang?: string | undefined | undefined;
|
|
38
29
|
style?: import('react-aria-components').StyleOrFunction<import('react-aria-components').RowRenderProps> | undefined;
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
30
|
+
dir?: string | undefined | undefined;
|
|
31
|
+
lang?: string | undefined | undefined;
|
|
32
|
+
hidden?: boolean | undefined | undefined;
|
|
33
|
+
inert?: boolean | undefined | undefined;
|
|
34
|
+
translate?: "yes" | "no" | undefined | undefined;
|
|
35
|
+
suppressHydrationWarning?: boolean | undefined | undefined;
|
|
44
36
|
onClick?: ((e: import('react').MouseEvent<import('react-aria-components').FocusableElement>) => void) | undefined;
|
|
45
37
|
onClickCapture?: import('react').MouseEventHandler<HTMLTableRowElement> | undefined;
|
|
38
|
+
onAuxClick?: import('react').MouseEventHandler<HTMLTableRowElement> | undefined;
|
|
39
|
+
onAuxClickCapture?: import('react').MouseEventHandler<HTMLTableRowElement> | undefined;
|
|
46
40
|
onContextMenu?: import('react').MouseEventHandler<HTMLTableRowElement> | undefined;
|
|
47
41
|
onContextMenuCapture?: import('react').MouseEventHandler<HTMLTableRowElement> | undefined;
|
|
48
42
|
onDoubleClick?: import('react').MouseEventHandler<HTMLTableRowElement> | undefined;
|
|
@@ -103,12 +97,10 @@ export declare const typedList: <T, TMeta = unknown>() => {
|
|
|
103
97
|
onTransitionRunCapture?: import('react').TransitionEventHandler<HTMLTableRowElement> | undefined;
|
|
104
98
|
onTransitionStart?: import('react').TransitionEventHandler<HTMLTableRowElement> | undefined;
|
|
105
99
|
onTransitionStartCapture?: import('react').TransitionEventHandler<HTMLTableRowElement> | undefined;
|
|
106
|
-
|
|
107
|
-
dir?: string | undefined | undefined;
|
|
108
|
-
hidden?: boolean | undefined | undefined;
|
|
109
|
-
inert?: boolean | undefined | undefined;
|
|
110
|
-
translate?: "yes" | "no" | undefined | undefined;
|
|
100
|
+
id?: import('react-aria-components').Key | undefined;
|
|
111
101
|
rel?: string | undefined;
|
|
102
|
+
href?: import('@react-types/shared').Href | undefined;
|
|
103
|
+
target?: import('react').HTMLAttributeAnchorTarget | undefined;
|
|
112
104
|
onPress?: ((e: import('react-aria-components').PressEvent) => void) | undefined;
|
|
113
105
|
onPressStart?: ((e: import('react-aria-components').PressEvent) => void) | undefined;
|
|
114
106
|
onPressEnd?: ((e: import('react-aria-components').PressEvent) => void) | undefined;
|
|
@@ -133,19 +125,25 @@ export declare const typedList: <T, TMeta = unknown>() => {
|
|
|
133
125
|
children: import('.').RenderItemFn<T>;
|
|
134
126
|
}) => null;
|
|
135
127
|
Table: (ignoredProps: {
|
|
136
|
-
|
|
128
|
+
defaultSelectedKeys?: ("all" | Iterable<import('react-aria-components').Key>) | undefined;
|
|
129
|
+
selectedKeys?: ("all" | Iterable<import('react-aria-components').Key>) | undefined;
|
|
130
|
+
children?: import('react').ReactNode;
|
|
137
131
|
className?: string | undefined;
|
|
138
|
-
lang?: string | undefined | undefined;
|
|
139
132
|
slot?: string | null | undefined;
|
|
140
|
-
'aria-describedby'?: string | undefined;
|
|
141
|
-
'aria-details'?: string | undefined;
|
|
142
133
|
'aria-label'?: string | undefined;
|
|
143
134
|
'aria-labelledby'?: string | undefined;
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
135
|
+
'aria-describedby'?: string | undefined;
|
|
136
|
+
'aria-details'?: string | undefined;
|
|
137
|
+
dir?: string | undefined | undefined;
|
|
138
|
+
lang?: string | undefined | undefined;
|
|
139
|
+
hidden?: boolean | undefined | undefined;
|
|
140
|
+
inert?: boolean | undefined | undefined;
|
|
141
|
+
translate?: "yes" | "no" | undefined | undefined;
|
|
142
|
+
suppressHydrationWarning?: boolean | undefined | undefined;
|
|
147
143
|
onClick?: import('react').MouseEventHandler<HTMLTableElement> | undefined;
|
|
148
144
|
onClickCapture?: import('react').MouseEventHandler<HTMLTableElement> | undefined;
|
|
145
|
+
onAuxClick?: import('react').MouseEventHandler<HTMLTableElement> | undefined;
|
|
146
|
+
onAuxClickCapture?: import('react').MouseEventHandler<HTMLTableElement> | undefined;
|
|
149
147
|
onContextMenu?: import('react').MouseEventHandler<HTMLTableElement> | undefined;
|
|
150
148
|
onContextMenuCapture?: import('react').MouseEventHandler<HTMLTableElement> | undefined;
|
|
151
149
|
onDoubleClick?: import('react').MouseEventHandler<HTMLTableElement> | undefined;
|
|
@@ -206,12 +204,6 @@ export declare const typedList: <T, TMeta = unknown>() => {
|
|
|
206
204
|
onTransitionRunCapture?: import('react').TransitionEventHandler<HTMLTableElement> | undefined;
|
|
207
205
|
onTransitionStart?: import('react').TransitionEventHandler<HTMLTableElement> | undefined;
|
|
208
206
|
onTransitionStartCapture?: import('react').TransitionEventHandler<HTMLTableElement> | undefined;
|
|
209
|
-
defaultSelectedKeys?: ("all" | Iterable<import('react-aria-components').Key>) | undefined;
|
|
210
|
-
selectedKeys?: ("all" | Iterable<import('react-aria-components').Key>) | undefined;
|
|
211
|
-
dir?: string | undefined | undefined;
|
|
212
|
-
hidden?: boolean | undefined | undefined;
|
|
213
|
-
inert?: boolean | undefined | undefined;
|
|
214
|
-
translate?: "yes" | "no" | undefined | undefined;
|
|
215
207
|
disabledKeys?: Iterable<import('react-aria-components').Key> | undefined;
|
|
216
208
|
selectionMode?: import('react-aria-components').SelectionMode | undefined;
|
|
217
209
|
disallowEmptySelection?: boolean | undefined;
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { PropsWithChildren } from 'react';
|
|
2
2
|
import { PropsWithClassName, PropsWithElementType } from '../../lib/types/props';
|
|
3
3
|
import { FlowComponentProps } from '../../lib/componentFactory/flowComponent';
|
|
4
|
-
export interface MessageProps extends PropsWithChildren, PropsWithClassName, FlowComponentProps
|
|
4
|
+
export interface MessageProps extends PropsWithChildren, PropsWithClassName, FlowComponentProps<HTMLElement>, PropsWithElementType<"article" | "li"> {
|
|
5
5
|
/** Determines the color and orientation of the message. @default "responder" */
|
|
6
6
|
type?: "responder" | "sender";
|
|
7
7
|
/** A custom background color of the message as a CSS color value. */
|
|
8
8
|
color?: string;
|
|
9
9
|
}
|
|
10
10
|
/** @flr-generate all */
|
|
11
|
-
export declare const Message: import('react').FunctionComponent<MessageProps & import('react').RefAttributes<
|
|
11
|
+
export declare const Message: import('react').FunctionComponent<MessageProps & import('react').RefAttributes<HTMLElement>>;
|
|
12
12
|
export default Message;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { PropsWithChildren } from 'react';
|
|
2
2
|
import { PropsWithClassName } from '../../lib/types/props';
|
|
3
3
|
import { FlowComponentProps } from '../../lib/componentFactory/flowComponent';
|
|
4
|
-
export type MessageThreadProps = PropsWithChildren & PropsWithClassName & FlowComponentProps
|
|
4
|
+
export type MessageThreadProps = PropsWithChildren & PropsWithClassName & FlowComponentProps<HTMLUListElement>;
|
|
5
5
|
/** @flr-generate all */
|
|
6
6
|
export declare const MessageThread: import('react').FunctionComponent<{
|
|
7
7
|
children?: import('react').ReactNode | undefined;
|
|
8
|
-
} & PropsWithClassName & FlowComponentProps<
|
|
8
|
+
} & PropsWithClassName & FlowComponentProps<HTMLUListElement> & import('react').RefAttributes<HTMLUListElement>>;
|
|
9
9
|
export default MessageThread;
|
|
@@ -1,5 +1,8 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { PropsWithChildren } from 'react';
|
|
2
2
|
import { PropsWithClassName } from '../../../../lib/types/props';
|
|
3
|
-
|
|
4
|
-
export
|
|
3
|
+
import { FlowComponentProps } from '../../../../lib/componentFactory/flowComponent';
|
|
4
|
+
export type SectionHeaderProps = PropsWithChildren & PropsWithClassName & FlowComponentProps<HTMLElement>;
|
|
5
|
+
export declare const SectionHeader: import('react').FunctionComponent<{
|
|
6
|
+
children?: import('react').ReactNode | undefined;
|
|
7
|
+
} & PropsWithClassName & FlowComponentProps<HTMLElement> & import('react').RefAttributes<HTMLElement>>;
|
|
5
8
|
export default SectionHeader;
|
|
@@ -40,14 +40,13 @@ import { ContextualHelpProps, ContextualHelpTriggerProps } from '../ContextualHe
|
|
|
40
40
|
import { CoachMarkProps } from '../CoachMark';
|
|
41
41
|
import { PopoverProps, PopoverTriggerProps } from '../Popover';
|
|
42
42
|
import { ContextMenuSectionProps } from '../ContextMenu/components/ContextMenuSection';
|
|
43
|
-
import {
|
|
43
|
+
import { ListItemViewProps, ListProps } from '../List';
|
|
44
44
|
import { PasswordCreationFieldProps } from '../PasswordCreationField';
|
|
45
45
|
import { SearchFieldProps } from '../SearchField';
|
|
46
46
|
import { BadgeProps } from '../Badge';
|
|
47
47
|
import { DatePickerProps } from '../DatePicker';
|
|
48
48
|
import { DateRangePickerProps } from '../DateRangePicker';
|
|
49
49
|
import { TimeFieldProps } from '../TimeField';
|
|
50
|
-
import { AlertIconProps } from '../AlertIcon';
|
|
51
50
|
import { ListSummaryProps } from '../List/components/ListSummary/ListSummary';
|
|
52
51
|
import { SegmentedControlProps } from '../SegmentedControl';
|
|
53
52
|
import { SegmentProps } from '../SegmentedControl/components/Segment';
|
|
@@ -91,7 +90,6 @@ export interface FlowComponentPropsTypes {
|
|
|
91
90
|
AccordionGroup: AccordionGroupProps;
|
|
92
91
|
Alert: AlertProps;
|
|
93
92
|
AlertBadge: AlertBadgeProps;
|
|
94
|
-
AlertIcon: AlertIconProps;
|
|
95
93
|
AlertText: AlertTextProps;
|
|
96
94
|
Align: AlignProps;
|
|
97
95
|
Combine: CombineProps;
|
|
@@ -139,7 +137,7 @@ export interface FlowComponentPropsTypes {
|
|
|
139
137
|
LightBoxGalleryItem: LightBoxGalleryItemProps;
|
|
140
138
|
Link: LinkProps;
|
|
141
139
|
List: ListProps<never>;
|
|
142
|
-
ListItemView:
|
|
140
|
+
ListItemView: ListItemViewProps;
|
|
143
141
|
ListSummary: ListSummaryProps;
|
|
144
142
|
LoadingSpinner: LoadingSpinnerProps;
|
|
145
143
|
MarkdownEditor: MarkdownEditorProps;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const getCategoricalColorByIndex: (index: number) => "
|
|
1
|
+
export declare const getCategoricalColorByIndex: (index: number) => "green" | "violet" | "azure" | "lime" | "magenta" | "yellow" | "sea-green" | "palatinate-blue" | "tangerine" | "tropical-indigo" | "malachite" | "alloy-orange";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mittwald/flow-react-components",
|
|
3
|
-
"version": "1.5.
|
|
3
|
+
"version": "1.5.58",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "A React implementation of Flow, mittwald’s design system",
|
|
6
6
|
"homepage": "https://flow.mittwald.de",
|
|
@@ -84,9 +84,9 @@
|
|
|
84
84
|
"@internationalized/string-compiler": "^3.4.1",
|
|
85
85
|
"@lezer/common": "^1.5.2",
|
|
86
86
|
"@lezer/highlight": "^1.2.3",
|
|
87
|
-
"@mittwald/flow-icons": "^1.5.
|
|
87
|
+
"@mittwald/flow-icons": "^1.5.58",
|
|
88
88
|
"@mittwald/password-tools-js": "^3.0.0",
|
|
89
|
-
"@mittwald/react-tunnel": "^1.5.
|
|
89
|
+
"@mittwald/react-tunnel": "^1.5.58",
|
|
90
90
|
"@mittwald/react-use-promise": "^4.2.2",
|
|
91
91
|
"@react-aria/form": "^3.2.1",
|
|
92
92
|
"@react-aria/i18n": "^3.13.1",
|
|
@@ -139,13 +139,13 @@
|
|
|
139
139
|
"@internationalized/date": "^3.12.3",
|
|
140
140
|
"@lezer/generator": "^1.8.0",
|
|
141
141
|
"@lezer/lr": "^1.4.10",
|
|
142
|
-
"@mittwald/flow-components-base": "1.5.
|
|
143
|
-
"@mittwald/flow-core": "1.5.
|
|
144
|
-
"@mittwald/flow-design-tokens": "1.5.
|
|
145
|
-
"@mittwald/flow-icons-base": "1.5.
|
|
142
|
+
"@mittwald/flow-components-base": "1.5.58",
|
|
143
|
+
"@mittwald/flow-core": "1.5.58",
|
|
144
|
+
"@mittwald/flow-design-tokens": "1.5.58",
|
|
145
|
+
"@mittwald/flow-icons-base": "1.5.58",
|
|
146
146
|
"@mittwald/react-use-promise": "^4.2.2",
|
|
147
147
|
"@mittwald/remote-dom-react": "1.2.2-mittwald.10",
|
|
148
|
-
"@mittwald/typescript-config": "1.5.
|
|
148
|
+
"@mittwald/typescript-config": "1.5.58",
|
|
149
149
|
"@nx/storybook": "^22.7.6",
|
|
150
150
|
"@storybook/addon-a11y": "^10.5.10",
|
|
151
151
|
"@storybook/addon-actions": "^9.0.8",
|
|
@@ -199,7 +199,7 @@
|
|
|
199
199
|
},
|
|
200
200
|
"peerDependencies": {
|
|
201
201
|
"@internationalized/date": "^3.12.2",
|
|
202
|
-
"@mittwald/flow-icons-pro": "1.5.
|
|
202
|
+
"@mittwald/flow-icons-pro": "1.5.58",
|
|
203
203
|
"@mittwald/react-use-promise": "^4.2.2",
|
|
204
204
|
"next": "^16.2.3",
|
|
205
205
|
"react": "^19.2.0",
|
|
@@ -223,5 +223,5 @@
|
|
|
223
223
|
"browserslist": [
|
|
224
224
|
"baseline widely available"
|
|
225
225
|
],
|
|
226
|
-
"gitHead": "
|
|
226
|
+
"gitHead": "5e094a7e90badfe94ae20755fcb304c624bff84c"
|
|
227
227
|
}
|