@mittwald/flow-react-components 1.6.6 → 1.6.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (38) hide show
  1. package/dist/assets/component-index.json +1 -1
  2. package/dist/assets/doc-properties.json +1 -1
  3. package/dist/js/packages/components/src/components/AvatarStack/AvatarStack.mjs +5 -3
  4. package/dist/js/packages/components/src/components/AvatarStack/AvatarStack.mjs.map +1 -1
  5. package/dist/js/packages/components/src/components/Breadcrumb/Breadcrumb.mjs +5 -3
  6. package/dist/js/packages/components/src/components/Breadcrumb/Breadcrumb.mjs.map +1 -1
  7. package/dist/js/packages/components/src/components/DonutChart/DonutChart.mjs +5 -3
  8. package/dist/js/packages/components/src/components/DonutChart/DonutChart.mjs.map +1 -1
  9. package/dist/js/packages/components/src/components/Flex/Flex.mjs.map +1 -1
  10. package/dist/js/packages/components/src/components/HeaderNavigation/HeaderNavigation.mjs +5 -3
  11. package/dist/js/packages/components/src/components/HeaderNavigation/HeaderNavigation.mjs.map +1 -1
  12. package/dist/js/packages/components/src/components/ImageCropper/ImageCropper.mjs +5 -3
  13. package/dist/js/packages/components/src/components/ImageCropper/ImageCropper.mjs.map +1 -1
  14. package/dist/js/packages/components/src/components/Markdown/Markdown.mjs +3 -2
  15. package/dist/js/packages/components/src/components/Markdown/Markdown.mjs.map +1 -1
  16. package/dist/js/packages/components/src/components/SkeletonText/SkeletonText.mjs +6 -4
  17. package/dist/js/packages/components/src/components/SkeletonText/SkeletonText.mjs.map +1 -1
  18. package/dist/js/packages/components/src/components/Table/Table.mjs +5 -3
  19. package/dist/js/packages/components/src/components/Table/Table.mjs.map +1 -1
  20. package/dist/js/packages/components/src/components/Table/components/TableBody/TableBody.mjs.map +1 -1
  21. package/dist/js/packages/components/src/components/Table/components/TableCell/TableCell.mjs.map +1 -1
  22. package/dist/js/packages/components/src/components/Table/components/TableColumn/TableColumn.mjs.map +1 -1
  23. package/dist/js/packages/components/src/components/Table/components/TableFooterRow/TableFooterRow.mjs.map +1 -1
  24. package/dist/js/packages/components/src/components/Table/components/TableHeader/TableHeader.mjs.map +1 -1
  25. package/dist/js/packages/components/src/components/Table/components/TableRow/TableRow.mjs.map +1 -1
  26. package/dist/js/packages/components/src/components/propTypes/index.mjs +8 -0
  27. package/dist/js/packages/components/src/components/propTypes/index.mjs.map +1 -1
  28. package/dist/types/components/AvatarStack/AvatarStack.d.ts +4 -3
  29. package/dist/types/components/Breadcrumb/Breadcrumb.d.ts +4 -3
  30. package/dist/types/components/DonutChart/DonutChart.d.ts +4 -3
  31. package/dist/types/components/HeaderNavigation/HeaderNavigation.d.ts +4 -3
  32. package/dist/types/components/ImageCropper/ImageCropper.d.ts +5 -3
  33. package/dist/types/components/List/typedList.d.ts +17 -13
  34. package/dist/types/components/Markdown/Markdown.d.ts +3 -5
  35. package/dist/types/components/SkeletonText/SkeletonText.d.ts +4 -3
  36. package/dist/types/components/Table/Table.d.ts +18 -3
  37. package/dist/types/components/propTypes/index.d.ts +16 -0
  38. package/package.json +10 -10
@@ -6,6 +6,7 @@ var propsContextSupportingComponents = Object.keys({
6
6
  Accordion: true,
7
7
  AccordionGroup: true,
8
8
  Avatar: true,
9
+ AvatarStack: true,
9
10
  Autocomplete: true,
10
11
  Alert: true,
11
12
  AlertBadge: true,
@@ -15,6 +16,7 @@ var propsContextSupportingComponents = Object.keys({
15
16
  Combine: true,
16
17
  Badge: true,
17
18
  BigNumber: true,
19
+ Breadcrumb: true,
18
20
  Button: true,
19
21
  CodeBlock: true,
20
22
  CodeEditor: true,
@@ -37,6 +39,7 @@ var propsContextSupportingComponents = Object.keys({
37
39
  DatePicker: true,
38
40
  DateRangePicker: true,
39
41
  DialogTrigger: true,
42
+ DonutChart: true,
40
43
  FieldDescription: true,
41
44
  FieldError: true,
42
45
  FileCard: true,
@@ -45,10 +48,12 @@ var propsContextSupportingComponents = Object.keys({
45
48
  FileDropZone: true,
46
49
  Header: true,
47
50
  Heading: true,
51
+ HeaderNavigation: true,
48
52
  TabNavigation: true,
49
53
  Icon: true,
50
54
  IllustratedMessage: true,
51
55
  Image: true,
56
+ ImageCropper: true,
52
57
  Initials: true,
53
58
  InlineCode: true,
54
59
  Kbd: true,
@@ -62,6 +67,7 @@ var propsContextSupportingComponents = Object.keys({
62
67
  ListItemView: true,
63
68
  ListSummary: true,
64
69
  LoadingSpinner: true,
70
+ Markdown: true,
65
71
  MarkdownEditor: true,
66
72
  MenuItem: true,
67
73
  MenuTrigger: true,
@@ -91,8 +97,10 @@ var propsContextSupportingComponents = Object.keys({
91
97
  Segment: true,
92
98
  SegmentedControl: true,
93
99
  Select: true,
100
+ SkeletonText: true,
94
101
  Slider: true,
95
102
  Switch: true,
103
+ Table: true,
96
104
  Tabs: true,
97
105
  TabTitle: true,
98
106
  TestComponent: true,
@@ -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 { CodeBlockProps } from \"@/components/CodeBlock\";\nimport type { HeaderProps } from \"@/components/Header/\";\nimport type { SwitchProps } from \"@/components/Switch\";\nimport type { AlertBadgeProps } from \"@/components/AlertBadge\";\nimport type { AlertIconProps } from \"@/components/AlertIcon\";\nimport type { ActionGroupProps } from \"@/components/ActionGroup\";\nimport type { AvatarProps } from \"@/components/Avatar\";\nimport type { InlineCodeProps } from \"@/components/InlineCode\";\nimport type { BigNumberProps } from \"@/components/BigNumber\";\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 { SeparatorProps } from \"@/components/Separator\";\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 {\n MessageSeparatorProps,\n MessageThreadProps,\n} 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 BigNumber: BigNumberProps;\n Button: ButtonProps;\n CodeBlock: CodeBlockProps;\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 InlineCode: InlineCodeProps;\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 MessageSeparator: MessageSeparatorProps;\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 Separator: SeparatorProps;\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 BigNumber: true,\n Button: true,\n CodeBlock: 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 InlineCode: 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 MessageSeparator: 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 Separator: 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":";AAgUA,IAAa,mCAAmC,OAAO,KACrD;CAvGA,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,WAAW;CACX,QAAQ;CACR,WAAW;CACX,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,YAAY;CACZ,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,kBAAkB;CAClB,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,WAAW;CACX,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 { HeaderNavigationProps } from \"@/components/HeaderNavigation\";\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 { CodeBlockProps } from \"@/components/CodeBlock\";\nimport type { HeaderProps } from \"@/components/Header/\";\nimport type { SwitchProps } from \"@/components/Switch\";\nimport type { AlertBadgeProps } from \"@/components/AlertBadge\";\nimport type { AlertIconProps } from \"@/components/AlertIcon\";\nimport type { ActionGroupProps } from \"@/components/ActionGroup\";\nimport type { AvatarProps } from \"@/components/Avatar\";\nimport type { AvatarStackProps } from \"@/components/AvatarStack\";\nimport type { InlineCodeProps } from \"@/components/InlineCode\";\nimport type { BreadcrumbProps } from \"@/components/Breadcrumb\";\nimport type { BigNumberProps } from \"@/components/BigNumber\";\nimport type { DonutChartProps } from \"@/components/DonutChart\";\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 { TableProps } from \"@/components/Table\";\nimport type { TabsProps } from \"@/components/Tabs\";\nimport type { ModalProps, ModalTriggerProps } from \"@/components/Modal\";\nimport type { SectionProps } from \"@/components/Section\";\nimport type { SeparatorProps } from \"@/components/Separator\";\nimport type { SkeletonTextProps } from \"@/components/SkeletonText\";\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 {\n MessageSeparatorProps,\n MessageThreadProps,\n} 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 { MarkdownProps } from \"@/components/Markdown\";\nimport type { MarkdownEditorProps } from \"@/components/MarkdownEditor\";\nimport type { AlertTextProps } from \"@/components/AlertText\";\nimport type { IllustratedMessageProps } from \"@/components/IllustratedMessage\";\nimport type { ImageCropperProps } from \"@/components/ImageCropper\";\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 AvatarStack: AvatarStackProps;\n Autocomplete: AutocompleteProps;\n Badge: BadgeProps;\n BigNumber: BigNumberProps;\n Breadcrumb: BreadcrumbProps;\n Button: ButtonProps;\n CodeBlock: CodeBlockProps;\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 DonutChart: DonutChartProps;\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 HeaderNavigation: HeaderNavigationProps;\n TabNavigation: TabNavigationProps;\n Icon: IconProps;\n IllustratedMessage: IllustratedMessageProps;\n Image: ImageProps;\n ImageCropper: ImageCropperProps;\n Initials: InitialsProps;\n InlineCode: InlineCodeProps;\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 Markdown: MarkdownProps;\n MarkdownEditor: MarkdownEditorProps;\n MenuItem: MenuItemProps;\n MenuTrigger: MenuTriggerProps;\n Message: MessageProps;\n MessageSeparator: MessageSeparatorProps;\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 Separator: SeparatorProps;\n Segment: SegmentProps;\n SegmentedControl: SegmentedControlProps;\n Select: SelectProps;\n Kbd: KbdProps;\n SectionHeader: SectionHeaderProps;\n SkeletonText: SkeletonTextProps;\n Slider: SliderProps;\n Switch: SwitchProps;\n Table: TableProps;\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 AvatarStack: 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 BigNumber: true,\n Breadcrumb: true,\n Button: true,\n CodeBlock: 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 DonutChart: 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 HeaderNavigation: true,\n TabNavigation: true,\n Icon: true,\n IllustratedMessage: true,\n Image: true,\n ImageCropper: true,\n Initials: true,\n InlineCode: 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 Markdown: true,\n MarkdownEditor: true,\n MenuItem: true,\n MenuTrigger: true,\n Message: true,\n MessageSeparator: 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 Separator: true,\n Segment: true,\n SegmentedControl: true,\n Select: true,\n SkeletonText: true,\n Slider: true,\n Switch: true,\n Table: 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":";AAwVA,IAAa,mCAAmC,OAAO,KACrD;CA/GA,WAAW;CACX,QAAQ;CACR,aAAa;CACb,WAAW;CACX,gBAAgB;CAChB,QAAQ;CACR,aAAa;CACb,cAAc;CACd,OAAO;CACP,YAAY;CACZ,WAAW;CACX,WAAW;CACX,OAAO;CACP,SAAS;CACT,OAAO;CACP,WAAW;CACX,YAAY;CACZ,QAAQ;CACR,WAAW;CACX,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,YAAY;CACZ,kBAAkB;CAClB,YAAY;CACZ,UAAU;CACV,cAAc;CACd,WAAW;CACX,cAAc;CACd,QAAQ;CACR,SAAS;CACT,kBAAkB;CAClB,eAAe;CACf,MAAM;CACN,oBAAoB;CACpB,OAAO;CACP,cAAc;CACd,UAAU;CACV,YAAY;CACZ,KAAK;CACL,OAAO;CACP,YAAY;CACZ,UAAU;CACV,iBAAiB;CACjB,qBAAqB;CACrB,MAAM;CACN,MAAM;CACN,cAAc;CACd,aAAa;CACb,gBAAgB;CAChB,UAAU;CACV,gBAAgB;CAChB,UAAU;CACV,aAAa;CACb,SAAS;CACT,kBAAkB;CAClB,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,WAAW;CACX,SAAS;CACT,kBAAkB;CAClB,QAAQ;CACR,cAAc;CACd,QAAQ;CACR,QAAQ;CACR,OAAO;CACP,MAAM;CACN,UAAU;CACV,eAAe;CACf,MAAM;CACN,UAAU;CACV,WAAW;CACX,WAAW;AAIX,CACF"}
@@ -1,6 +1,7 @@
1
- import { FC, PropsWithChildren } from 'react';
1
+ import { PropsWithChildren } from 'react';
2
2
  import { PropsWithClassName } from '../../lib/types/props';
3
- export interface AvatarStackProps extends PropsWithClassName, PropsWithChildren {
3
+ import { FlowComponentProps } from '../../lib/componentFactory/flowComponent';
4
+ export interface AvatarStackProps extends PropsWithClassName, PropsWithChildren, FlowComponentProps {
4
5
  /**
5
6
  * The total count of items, as avatars should only be displayed for the first
6
7
  * view
@@ -12,5 +13,5 @@ export interface AvatarStackProps extends PropsWithClassName, PropsWithChildren
12
13
  size?: "xs" | "s" | "m" | "l";
13
14
  }
14
15
  /** @flr-generate all */
15
- export declare const AvatarStack: FC<AvatarStackProps>;
16
+ export declare const AvatarStack: import('react').FunctionComponent<AvatarStackProps & import('react').RefAttributes<HTMLDivElement>>;
16
17
  export default AvatarStack;
@@ -1,13 +1,14 @@
1
- import { FC, PropsWithChildren } from 'react';
1
+ import { PropsWithChildren } from 'react';
2
2
  import { BreadcrumbItemProps } from './components/BreadcrumbItem';
3
3
  import { AlphaColor } from '../../lib/types/props';
4
+ import { FlowComponentProps } from '../../lib/componentFactory/flowComponent';
4
5
  import * as Aria from "react-aria-components";
5
- export interface BreadcrumbProps extends Omit<Aria.BreadcrumbsProps<BreadcrumbItemProps>, "children">, PropsWithChildren {
6
+ export interface BreadcrumbProps extends Omit<Aria.BreadcrumbsProps<BreadcrumbItemProps>, "children">, PropsWithChildren, FlowComponentProps<HTMLOListElement> {
6
7
  /** The color of the breadcrumb. @default "default" */
7
8
  color?: "default" | AlphaColor;
8
9
  /** The size of the element. @default "m" */
9
10
  size?: "s" | "m";
10
11
  }
11
12
  /** @flr-generate all */
12
- export declare const Breadcrumb: FC<BreadcrumbProps>;
13
+ export declare const Breadcrumb: import('react').FunctionComponent<BreadcrumbProps & import('react').RefAttributes<HTMLOListElement>>;
13
14
  export default Breadcrumb;
@@ -1,6 +1,7 @@
1
- import { FC, PropsWithChildren } from 'react';
1
+ import { PropsWithChildren } from 'react';
2
2
  import { CategoricalWithCustomColor } from '../../lib/tokens/CategoricalColors';
3
3
  import { Status } from '../../lib/types/props';
4
+ import { FlowComponentProps } from '../../lib/componentFactory/flowComponent';
4
5
  import * as Aria from "react-aria-components";
5
6
  export interface DonutChartSegment {
6
7
  value: number;
@@ -8,7 +9,7 @@ export interface DonutChartSegment {
8
9
  color?: CategoricalWithCustomColor;
9
10
  valueText?: string;
10
11
  }
11
- export interface DonutChartProps extends Omit<Aria.ProgressBarProps, "children" | "valueLabel">, PropsWithChildren {
12
+ export interface DonutChartProps extends Omit<Aria.ProgressBarProps, "children" | "valueLabel">, PropsWithChildren, FlowComponentProps {
12
13
  /** The status the donut chart is colored by. */
13
14
  status?: Exclude<Status, "unavailable">;
14
15
  /** The size variant of the donut chart. @default "m" */
@@ -21,5 +22,5 @@ export interface DonutChartProps extends Omit<Aria.ProgressBarProps, "children"
21
22
  legendPosition?: "top" | "left" | "bottom" | "right";
22
23
  }
23
24
  /** @flr-generate all */
24
- export declare const DonutChart: FC<DonutChartProps>;
25
+ export declare const DonutChart: import('react').FunctionComponent<DonutChartProps & import('react').RefAttributes<HTMLDivElement>>;
25
26
  export default DonutChart;
@@ -1,9 +1,10 @@
1
- import { ComponentProps, FC, PropsWithChildren } from 'react';
1
+ import { ComponentProps, PropsWithChildren } from 'react';
2
2
  import { AlphaColor, PropsWithClassName } from '../../lib/types/props';
3
- export interface HeaderNavigationProps extends PropsWithChildren<ComponentProps<"nav">>, PropsWithClassName {
3
+ import { FlowComponentProps } from '../../lib/componentFactory/flowComponent';
4
+ export interface HeaderNavigationProps extends PropsWithChildren<ComponentProps<"nav">>, PropsWithClassName, FlowComponentProps<HTMLElement> {
4
5
  /** The color of the header navigation. @default "default" */
5
6
  color?: "default" | AlphaColor;
6
7
  }
7
8
  /** @flr-generate all */
8
- export declare const HeaderNavigation: FC<HeaderNavigationProps>;
9
+ export declare const HeaderNavigation: import('react').FunctionComponent<HeaderNavigationProps & import('react').RefAttributes<HTMLElement>>;
9
10
  export default HeaderNavigation;
@@ -1,6 +1,7 @@
1
- import { CSSProperties, FC, ReactNode } from 'react';
1
+ import { CSSProperties, ReactNode } from 'react';
2
2
  import { CropperProps } from 'react-easy-crop';
3
3
  import { PropsWithClassName } from '../../lib/types/props';
4
+ import { FlowComponentProps } from '../../lib/componentFactory/flowComponent';
4
5
  /** Why an {@link ImageCropper} cannot work with the given image. */
5
6
  export interface ImageCropperError {
6
7
  /**
@@ -12,7 +13,7 @@ export interface ImageCropperError {
12
13
  /** Technical message, meant for logging — not for display. */
13
14
  message: string;
14
15
  }
15
- export interface ImageCropperProps extends PropsWithClassName, Partial<Pick<CropperProps, "cropShape">> {
16
+ export interface ImageCropperProps extends PropsWithClassName, FlowComponentProps, Partial<Pick<CropperProps, "cropShape">> {
16
17
  /** The image file to crop. */
17
18
  image?: File | string;
18
19
  /** Callback on crop complete. */
@@ -33,10 +34,11 @@ export interface ImageCropperProps extends PropsWithClassName, Partial<Pick<Crop
33
34
  height?: CSSProperties["height"];
34
35
  /** The aspect ratio of the crop shape. */
35
36
  aspectRatio?: number;
37
+ children?: never;
36
38
  }
37
39
  /**
38
40
  * @flr-generate all
39
41
  * @flowStatus new
40
42
  */
41
- export declare const ImageCropper: FC<ImageCropperProps>;
43
+ export declare const ImageCropper: import('react').FunctionComponent<ImageCropperProps & import('react').RefAttributes<HTMLDivElement>>;
42
44
  export default ImageCropper;
@@ -101,6 +101,8 @@ export declare const typedList: <T, TMeta = unknown>() => {
101
101
  inert?: boolean | undefined | undefined;
102
102
  translate?: "yes" | "no" | undefined | undefined;
103
103
  rel?: string | undefined;
104
+ disabledBehavior?: import('react-stately').DisabledBehavior | undefined;
105
+ dependencies?: ReadonlyArray<any> | undefined;
104
106
  onPress?: ((e: import('react-aria-components').PressEvent) => void) | undefined;
105
107
  onPressStart?: ((e: import('react-aria-components').PressEvent) => void) | undefined;
106
108
  onPressEnd?: ((e: import('react-aria-components').PressEvent) => void) | undefined;
@@ -116,9 +118,7 @@ export declare const typedList: <T, TMeta = unknown>() => {
116
118
  ping?: string | undefined;
117
119
  referrerPolicy?: import('react').HTMLAttributeReferrerPolicy | undefined;
118
120
  routerOptions?: import('@react-types/shared').RouterOptions | undefined;
119
- dependencies?: ReadonlyArray<any> | undefined;
120
121
  columns?: Iterable<never> | undefined;
121
- disabledBehavior?: import('react-stately').DisabledBehavior | undefined;
122
122
  hasChildItems?: boolean | undefined;
123
123
  renderDependencies?: import('react').DependencyList | undefined;
124
124
  }) => null;
@@ -199,6 +199,10 @@ export declare const typedList: <T, TMeta = unknown>() => {
199
199
  onTransitionRunCapture?: import('react').TransitionEventHandler<HTMLTableElement> | undefined;
200
200
  onTransitionStart?: import('react').TransitionEventHandler<HTMLTableElement> | undefined;
201
201
  onTransitionStartCapture?: import('react').TransitionEventHandler<HTMLTableElement> | undefined;
202
+ wrapWith?: (import('react').ReactElement | null) | undefined;
203
+ tunnel?: import('../../index/internal').TunnelTarget | undefined;
204
+ ref?: import('react').Ref<HTMLDivElement> | undefined;
205
+ key?: import('react').Key | null | undefined;
202
206
  defaultSelectedKeys?: ("all" | Iterable<import('react-aria-components').Key>) | undefined;
203
207
  selectedKeys?: ("all" | Iterable<import('react-aria-components').Key>) | undefined;
204
208
  dir?: string | undefined | undefined;
@@ -206,25 +210,25 @@ export declare const typedList: <T, TMeta = unknown>() => {
206
210
  inert?: boolean | undefined | undefined;
207
211
  translate?: "yes" | "no" | undefined | undefined;
208
212
  disabledKeys?: Iterable<import('react-aria-components').Key> | undefined;
213
+ escapeKeyBehavior?: "clearSelection" | "none" | undefined;
214
+ shouldSelectOnPressUp?: boolean | undefined;
215
+ treeColumn?: import('react-aria-components').Key | undefined;
216
+ keyboardNavigationBehavior?: "arrow" | "tab" | undefined;
209
217
  selectionMode?: import('react-aria-components').SelectionMode | undefined;
210
218
  disallowEmptySelection?: boolean | undefined;
211
219
  onSelectionChange?: ((keys: import('react-aria-components').Selection) => void) | undefined;
212
- minWidth?: number | string | undefined;
213
- selectionBehavior?: import('react-stately').SelectionBehavior | undefined;
214
- shouldSelectOnPressUp?: boolean | undefined;
215
- escapeKeyBehavior?: "clearSelection" | "none" | undefined;
216
- dragAndDropHooks?: import('react-aria-components').DragAndDropHooks | undefined;
217
- layout?: "auto" | "fixed" | undefined;
220
+ sortDescriptor?: import('react-aria-components').SortDescriptor | undefined;
221
+ onSortChange?: ((descriptor: import('react-aria-components').SortDescriptor) => any) | undefined;
218
222
  expandedKeys?: Iterable<import('react-aria-components').Key> | undefined;
219
223
  defaultExpandedKeys?: Iterable<import('react-aria-components').Key> | undefined;
220
224
  onExpandedChange?: ((keys: Set<import('react-aria-components').Key>) => any) | undefined;
225
+ selectionBehavior?: import('react-stately').SelectionBehavior | undefined;
221
226
  disabledBehavior?: import('react-stately').DisabledBehavior | undefined;
222
- verticalAlign?: "top" | "middle" | undefined;
223
- keyboardNavigationBehavior?: "arrow" | "tab" | undefined;
224
- treeColumn?: import('react-aria-components').Key | undefined;
225
- sortDescriptor?: import('react-aria-components').SortDescriptor | undefined;
226
- onSortChange?: ((descriptor: import('react-aria-components').SortDescriptor) => any) | undefined;
227
227
  onRowAction?: ((key: import('react-aria-components').Key) => void) | undefined;
228
+ dragAndDropHooks?: import('react-aria-components').DragAndDropHooks | undefined;
229
+ minWidth?: number | string | undefined;
230
+ layout?: "auto" | "fixed" | undefined;
231
+ verticalAlign?: "top" | "middle" | undefined;
228
232
  }) => null;
229
233
  StaticData: ComponentType<{
230
234
  data: readonly T[];
@@ -1,7 +1,7 @@
1
- import { FC, Ref } from 'react';
2
1
  import { Components, Options } from 'react-markdown';
3
2
  import { AlphaColor, PropsWithClassName } from '../../lib/types/props';
4
- export interface MarkdownProps extends PropsWithClassName, Omit<Options, "components"> {
3
+ import { FlowComponentProps } from '../../lib/componentFactory/flowComponent';
4
+ export interface MarkdownProps extends PropsWithClassName, Omit<Options, "components">, FlowComponentProps {
5
5
  /** The color schema of the markdown component. @default "default" */
6
6
  color?: "default" | AlphaColor;
7
7
  /** Shifts all heading levels by the given offset. @default 0 */
@@ -10,12 +10,10 @@ export interface MarkdownProps extends PropsWithClassName, Omit<Options, "compon
10
10
  disableImages?: boolean;
11
11
  /** Allows overriding markdown element renderers from outside. */
12
12
  components?: Components;
13
- /** A ref to the elements root. */
14
- ref?: Ref<HTMLDivElement>;
15
13
  }
16
14
  /**
17
15
  * @flr-generate all
18
16
  * @flr-ignore-props components
19
17
  */
20
- export declare const Markdown: FC<MarkdownProps>;
18
+ export declare const Markdown: import('react').FunctionComponent<MarkdownProps & import('react').RefAttributes<HTMLDivElement>>;
21
19
  export default Markdown;
@@ -1,8 +1,9 @@
1
- import { ComponentProps, CSSProperties, FC } from 'react';
2
- export interface SkeletonTextProps extends ComponentProps<"span"> {
1
+ import { ComponentProps, CSSProperties } from 'react';
2
+ import { FlowComponentProps } from '../../lib/componentFactory/flowComponent';
3
+ export interface SkeletonTextProps extends ComponentProps<"span">, FlowComponentProps<HTMLSpanElement> {
3
4
  /** The width of the skeleton text. */
4
5
  width?: CSSProperties["width"];
5
6
  }
6
7
  /** @flr-generate all */
7
- export declare const SkeletonText: FC<SkeletonTextProps>;
8
+ export declare const SkeletonText: import('react').FunctionComponent<SkeletonTextProps & import('react').RefAttributes<HTMLSpanElement>>;
8
9
  export default SkeletonText;
@@ -1,4 +1,4 @@
1
- import { FC } from 'react';
1
+ import { FlowComponentProps } from '../../lib/componentFactory/flowComponent';
2
2
  import * as Aria from "react-aria-components";
3
3
  export type TableProps = Omit<Aria.TableProps, "render" | "className" | "style"> & {
4
4
  /** The vertical alignment of the table cells content. */
@@ -15,7 +15,22 @@ export type TableProps = Omit<Aria.TableProps, "render" | "className" | "style">
15
15
  minWidth?: number | string;
16
16
  /** The elements class name. */
17
17
  className?: string;
18
- };
18
+ } & FlowComponentProps;
19
19
  /** @flr-generate all */
20
- export declare const Table: FC<TableProps>;
20
+ export declare const Table: import('react').FunctionComponent<Omit<Aria.TableProps, "className" | "style" | "render"> & {
21
+ /** The vertical alignment of the table cells content. */
22
+ verticalAlign?: "top" | "middle";
23
+ /**
24
+ * The column-sizing algorithm of the table. Use "fixed" together with column
25
+ * widths to enforce exact widths. @default "auto"
26
+ */
27
+ layout?: "auto" | "fixed";
28
+ /**
29
+ * The minimum width of the table. Below this width the table scrolls
30
+ * horizontally instead of shrinking its columns.
31
+ */
32
+ minWidth?: number | string;
33
+ /** The elements class name. */
34
+ className?: string;
35
+ } & FlowComponentProps<HTMLDivElement> & import('react').RefAttributes<HTMLDivElement>>;
21
36
  export default Table;
@@ -10,6 +10,7 @@ import { FieldErrorProps } from '../FieldError';
10
10
  import { FieldDescriptionProps } from '../FieldDescription';
11
11
  import { AlertProps } from '../Alert';
12
12
  import { HeadingProps } from '../Heading';
13
+ import { HeaderNavigationProps } from '../HeaderNavigation';
13
14
  import { TabNavigationProps } from '../TabNavigation';
14
15
  import { InitialsProps } from '../Initials';
15
16
  import { LoadingSpinnerProps } from '../LoadingSpinner';
@@ -22,8 +23,11 @@ import { AlertBadgeProps } from '../AlertBadge';
22
23
  import { AlertIconProps } from '../AlertIcon';
23
24
  import { ActionGroupProps } from '../ActionGroup';
24
25
  import { AvatarProps } from '../Avatar';
26
+ import { AvatarStackProps } from '../AvatarStack';
25
27
  import { InlineCodeProps } from '../InlineCode';
28
+ import { BreadcrumbProps } from '../Breadcrumb';
26
29
  import { BigNumberProps } from '../BigNumber';
30
+ import { DonutChartProps } from '../DonutChart';
27
31
  import { ActionProps } from '../Action';
28
32
  import { ContextMenuProps, ContextMenuTriggerProps, MenuItemProps } from '../ContextMenu';
29
33
  import { SelectProps } from '../Select';
@@ -34,10 +38,12 @@ import { TextAreaProps } from '../TextArea';
34
38
  import { CheckboxGroupProps } from '../CheckboxGroup';
35
39
  import { CheckboxProps } from '../Checkbox';
36
40
  import { CheckboxButtonProps } from '../CheckboxButton';
41
+ import { TableProps } from '../Table';
37
42
  import { TabsProps } from '../Tabs';
38
43
  import { ModalProps, ModalTriggerProps } from '../Modal';
39
44
  import { SectionProps } from '../Section';
40
45
  import { SeparatorProps } from '../Separator';
46
+ import { SkeletonTextProps } from '../SkeletonText';
41
47
  import { SliderProps } from '../Slider';
42
48
  import { CounterBadgeProps } from '../CounterBadge';
43
49
  import { FlowComponentName } from './types';
@@ -74,9 +80,11 @@ import { NavigationProps } from '../Navigation';
74
80
  import { NavigationGroupProps } from '../Navigation/components/NavigationGroup';
75
81
  import { AutocompleteProps } from '../Autocomplete/Autocomplete';
76
82
  import { OptionsProps } from '../Options/Options';
83
+ import { MarkdownProps } from '../Markdown';
77
84
  import { MarkdownEditorProps } from '../MarkdownEditor';
78
85
  import { AlertTextProps } from '../AlertText';
79
86
  import { IllustratedMessageProps } from '../IllustratedMessage';
87
+ import { ImageCropperProps } from '../ImageCropper';
80
88
  import { RatingProps } from '../Rating';
81
89
  import { RatingSegmentProps } from '../Rating/components/RatingSegment';
82
90
  import { CodeEditorProps } from '../CodeEditor';
@@ -100,9 +108,11 @@ export interface FlowComponentPropsTypes {
100
108
  Align: AlignProps;
101
109
  Combine: CombineProps;
102
110
  Avatar: AvatarProps;
111
+ AvatarStack: AvatarStackProps;
103
112
  Autocomplete: AutocompleteProps;
104
113
  Badge: BadgeProps;
105
114
  BigNumber: BigNumberProps;
115
+ Breadcrumb: BreadcrumbProps;
106
116
  Button: ButtonProps;
107
117
  CodeBlock: CodeBlockProps;
108
118
  CodeEditor: CodeEditorProps;
@@ -125,6 +135,7 @@ export interface FlowComponentPropsTypes {
125
135
  DatePicker: DatePickerProps<Aria.DateValue>;
126
136
  DateRangePicker: DateRangePickerProps<Aria.DateValue>;
127
137
  DialogTrigger: DialogTriggerProps;
138
+ DonutChart: DonutChartProps;
128
139
  FieldDescription: FieldDescriptionProps;
129
140
  FieldError: FieldErrorProps;
130
141
  FileCard: FileCardProps;
@@ -133,10 +144,12 @@ export interface FlowComponentPropsTypes {
133
144
  FileDropZone: FileDropZoneProps;
134
145
  Header: HeaderProps;
135
146
  Heading: HeadingProps;
147
+ HeaderNavigation: HeaderNavigationProps;
136
148
  TabNavigation: TabNavigationProps;
137
149
  Icon: IconProps;
138
150
  IllustratedMessage: IllustratedMessageProps;
139
151
  Image: ImageProps;
152
+ ImageCropper: ImageCropperProps;
140
153
  Initials: InitialsProps;
141
154
  InlineCode: InlineCodeProps;
142
155
  Label: LabelProps;
@@ -149,6 +162,7 @@ export interface FlowComponentPropsTypes {
149
162
  ListItemView: ListItemViewProps;
150
163
  ListSummary: ListSummaryProps;
151
164
  LoadingSpinner: LoadingSpinnerProps;
165
+ Markdown: MarkdownProps;
152
166
  MarkdownEditor: MarkdownEditorProps;
153
167
  MenuItem: MenuItemProps;
154
168
  MenuTrigger: MenuTriggerProps;
@@ -179,8 +193,10 @@ export interface FlowComponentPropsTypes {
179
193
  Select: SelectProps;
180
194
  Kbd: KbdProps;
181
195
  SectionHeader: SectionHeaderProps;
196
+ SkeletonText: SkeletonTextProps;
182
197
  Slider: SliderProps;
183
198
  Switch: SwitchProps;
199
+ Table: TableProps;
184
200
  Tabs: TabsProps;
185
201
  TabTitle: TabsProps;
186
202
  Text: TextProps;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mittwald/flow-react-components",
3
- "version": "1.6.6",
3
+ "version": "1.6.7",
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.6.6",
87
+ "@mittwald/flow-icons": "^1.6.7",
88
88
  "@mittwald/password-tools-js": "^3.0.0",
89
- "@mittwald/react-tunnel": "^1.6.6",
89
+ "@mittwald/react-tunnel": "^1.6.7",
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.6.6",
143
- "@mittwald/flow-core": "1.6.6",
144
- "@mittwald/flow-design-tokens": "1.6.6",
145
- "@mittwald/flow-icons-base": "1.6.6",
142
+ "@mittwald/flow-components-base": "1.6.7",
143
+ "@mittwald/flow-core": "1.6.7",
144
+ "@mittwald/flow-design-tokens": "1.6.7",
145
+ "@mittwald/flow-icons-base": "1.6.7",
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.6.6",
148
+ "@mittwald/typescript-config": "1.6.7",
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.6.6",
202
+ "@mittwald/flow-icons-pro": "1.6.7",
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": "8769b99493b8092d74a19587ee660d96e9f7cdfa"
226
+ "gitHead": "fdd7859c261605461308d9055c8d1ec75f52df5e"
227
227
  }