@mittwald/flow-react-components 0.2.0-alpha.554 → 0.2.0-alpha.556
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/CHANGELOG.md +12 -0
- package/dist/assets/doc-properties.json +9630 -9632
- package/dist/css/all.css +1 -1
- package/dist/js/components/src/components/CartesianChart/CartesianChart.mjs +0 -1
- package/dist/js/components/src/components/CartesianChart/CartesianChart.mjs.map +1 -1
- package/dist/js/components/src/components/List/components/Header/components/ActiveFilters/ActiveFilters.mjs +98 -1
- package/dist/js/components/src/components/List/components/Header/components/ActiveFilters/ActiveFilters.mjs.map +1 -1
- package/dist/js/components/src/components/List/hooks/useAriaAnnounceSearchState.mjs +0 -1
- package/dist/js/components/src/components/List/hooks/useAriaAnnounceSearchState.mjs.map +1 -1
- package/dist/js/components/src/components/Modal/components/OffCanvasSuspenseFallback/OffCanvasSuspenseFallback.mjs +0 -1
- package/dist/js/components/src/components/Modal/components/OffCanvasSuspenseFallback/OffCanvasSuspenseFallback.mjs.map +1 -1
- package/dist/js/components/src/components/Overlay/Overlay.mjs +103 -2
- package/dist/js/components/src/components/Overlay/Overlay.mjs.map +1 -1
- package/dist/js/components/src/components/Overlay/components/OverlaySuspenseFallback.mjs +0 -1
- package/dist/js/components/src/components/Overlay/components/OverlaySuspenseFallback.mjs.map +1 -1
- package/dist/js/components/src/components/Popover/Popover.mjs +103 -2
- package/dist/js/components/src/components/Popover/Popover.mjs.map +1 -1
- package/dist/js/components/src/components/Tooltip/Tooltip.mjs +106 -2
- package/dist/js/components/src/components/Tooltip/Tooltip.mjs.map +1 -1
- package/dist/js/components/src/lib/hooks/useFieldError.mjs +0 -1
- package/dist/js/components/src/lib/hooks/useFieldError.mjs.map +1 -1
- package/dist/js/components/src/lib/propsContext/components/ClearPropsContext.mjs.map +1 -1
- package/dist/js/flr-universal.mjs +1 -2
- package/dist/js/flr-universal.mjs.map +1 -1
- package/dist/types/components/ClearPropsContext/index.d.ts +0 -1
- package/dist/types/components/ClearPropsContext/index.d.ts.map +1 -1
- package/dist/types/lib/propsContext/components/ClearPropsContext.d.ts +0 -1
- package/dist/types/lib/propsContext/components/ClearPropsContext.d.ts.map +1 -1
- package/package.json +4 -4
- package/dist/js/components/src/views/ClearPropsContextView.mjs +0 -15
- package/dist/js/components/src/views/ClearPropsContextView.mjs.map +0 -1
- package/dist/types/components/ClearPropsContext/view.d.ts +0 -8
- package/dist/types/components/ClearPropsContext/view.d.ts.map +0 -1
- package/dist/types/views/ClearPropsContextView.d.ts +0 -5
- package/dist/types/views/ClearPropsContextView.d.ts.map +0 -1
|
@@ -4,12 +4,116 @@ import { jsx, jsxs } from 'react/jsx-runtime';
|
|
|
4
4
|
import * as Aria from 'react-aria-components';
|
|
5
5
|
import styles from './Tooltip.module.scss.mjs';
|
|
6
6
|
import clsx from 'clsx';
|
|
7
|
-
import
|
|
7
|
+
import '../AccentBox/AccentBox.mjs';
|
|
8
|
+
import 'react';
|
|
9
|
+
import '../../lib/propsContext/propsContext.mjs';
|
|
10
|
+
import '../../lib/propsContext/components/PropsContextProvider.mjs';
|
|
11
|
+
import '../Button/Button.mjs';
|
|
12
|
+
import '@tabler/icons-react';
|
|
13
|
+
import '../Icon/Icon.mjs';
|
|
14
|
+
import '../../views/IconView.mjs';
|
|
15
|
+
import '@mittwald/react-tunnel';
|
|
16
|
+
import '../SuspenseTrigger/SuspenseTrigger.mjs';
|
|
17
|
+
import 'react-aria';
|
|
18
|
+
import '../Action/Action.mjs';
|
|
19
|
+
import '@react-aria/live-announcer';
|
|
20
|
+
import '../ActionGroup/ActionGroup.mjs';
|
|
21
|
+
import '../Alert/Alert.mjs';
|
|
22
|
+
import '../AlertBadge/AlertBadge.mjs';
|
|
23
|
+
import '../Align/Align.mjs';
|
|
24
|
+
import '../Autocomplete/Autocomplete.mjs';
|
|
25
|
+
import '../Avatar/Avatar.mjs';
|
|
26
|
+
import '../Badge/Badge.mjs';
|
|
27
|
+
import 'mobx';
|
|
28
|
+
import '../../lib/controller/overlay/context.mjs';
|
|
29
|
+
import 'remeda';
|
|
30
|
+
import '@react-aria/utils';
|
|
31
|
+
import 'dot-prop';
|
|
32
|
+
import 'recharts';
|
|
33
|
+
import '../Heading/Heading.mjs';
|
|
34
|
+
import '../Text/Text.mjs';
|
|
35
|
+
import '../Checkbox/Checkbox.mjs';
|
|
36
|
+
import '../CheckboxButton/CheckboxButton.mjs';
|
|
37
|
+
import '../CheckboxGroup/CheckboxGroup.mjs';
|
|
38
|
+
import { ClearPropsContext } from '../../lib/propsContext/components/ClearPropsContext.mjs';
|
|
39
|
+
import 'react-syntax-highlighter';
|
|
40
|
+
import '../CopyButton/CopyButton.mjs';
|
|
41
|
+
import '../ColumnLayout/ColumnLayout.mjs';
|
|
42
|
+
import '../ComboBox/ComboBox.mjs';
|
|
43
|
+
import '../../lib/propsContext/components/ComponentPropsContextProvider.mjs';
|
|
44
|
+
import '../Content/Content.mjs';
|
|
45
|
+
import '../ContextMenu/ContextMenu.mjs';
|
|
46
|
+
import '../MenuItem/MenuItem.mjs';
|
|
47
|
+
import '../ContextMenu/components/ContextMenuTrigger/ContextMenuTrigger.mjs';
|
|
48
|
+
import '../ContextMenu/components/ContextMenuSection/ContextMenuSection.mjs';
|
|
49
|
+
import '../ContextualHelp/ContextualHelp.mjs';
|
|
50
|
+
import '../ContextualHelp/components/ContextualHelpTrigger/ContextualHelpTrigger.mjs';
|
|
51
|
+
import '../CounterBadge/CounterBadge.mjs';
|
|
52
|
+
import '../CountryOptions/CountryOptions.mjs';
|
|
53
|
+
import '../DatePicker/DatePicker.mjs';
|
|
54
|
+
import '../DateRangePicker/DateRangePicker.mjs';
|
|
55
|
+
import '../FieldDescription/FieldDescription.mjs';
|
|
56
|
+
import '../FieldError/FieldError.mjs';
|
|
57
|
+
import '../FileCard/FileCard.mjs';
|
|
58
|
+
import '../FileCardList/FileCardList.mjs';
|
|
59
|
+
import '../FileDropZone/FileDropZone.mjs';
|
|
60
|
+
import '../FileField/FileField.mjs';
|
|
61
|
+
import '../Header/Header.mjs';
|
|
62
|
+
import '../Image/Image.mjs';
|
|
63
|
+
import '../Initials/Initials.mjs';
|
|
64
|
+
import '../Label/Label.mjs';
|
|
65
|
+
import '../LayoutCard/LayoutCard.mjs';
|
|
66
|
+
import '../OverlayTrigger/components/MenuTrigger/MenuTrigger.mjs';
|
|
67
|
+
import '../../views/DialogTriggerView.mjs';
|
|
68
|
+
import '../LightBox/LightBox.mjs';
|
|
69
|
+
import '../Link/Link.mjs';
|
|
70
|
+
import 'invariant';
|
|
71
|
+
import '../../views/ListItemViewContentView.mjs';
|
|
72
|
+
import '../../views/ButtonView.mjs';
|
|
73
|
+
import '../../views/ContextMenuTriggerView.mjs';
|
|
74
|
+
import '../List/components/ListSummary/ListSummary.mjs';
|
|
75
|
+
import '../List/listContext.mjs';
|
|
76
|
+
import '../List/List.mjs';
|
|
77
|
+
import 'react-markdown';
|
|
78
|
+
import 'remark-gfm';
|
|
79
|
+
import '../MarkdownEditor/MarkdownEditor.mjs';
|
|
80
|
+
import '../Message/Message.mjs';
|
|
81
|
+
import '../MessageThread/MessageThread.mjs';
|
|
82
|
+
import '../Modal/Modal.mjs';
|
|
83
|
+
import '../Navigation/Navigation.mjs';
|
|
84
|
+
import '../Navigation/components/NavigationGroup/NavigationGroup.mjs';
|
|
85
|
+
import '../NotificationProvider/NotificationProvider.mjs';
|
|
86
|
+
import 'luxon';
|
|
87
|
+
import '../NumberField/NumberField.mjs';
|
|
88
|
+
import '../Option/Option.mjs';
|
|
89
|
+
import '../../views/OverlayContentView.mjs';
|
|
90
|
+
import '../../views/LoadingSpinnerView.mjs';
|
|
91
|
+
import '../PasswordCreationField/PasswordCreationField.mjs';
|
|
92
|
+
import '../Popover/components/PopoverTrigger/PopoverTrigger.mjs';
|
|
93
|
+
import '../Popover/Popover.mjs';
|
|
94
|
+
import '../ProgressBar/ProgressBar.mjs';
|
|
95
|
+
import '../RadioGroup/RadioGroup.mjs';
|
|
96
|
+
import '../RadioGroup/components/Radio/Radio.mjs';
|
|
97
|
+
import '../RadioGroup/components/RadioButton/RadioButton.mjs';
|
|
98
|
+
import '../SearchField/SearchField.mjs';
|
|
99
|
+
import '../Section/Section.mjs';
|
|
100
|
+
import '../SegmentedControl/SegmentedControl.mjs';
|
|
101
|
+
import '../SegmentedControl/components/Segment/Segment.mjs';
|
|
102
|
+
import '../Select/Select.mjs';
|
|
103
|
+
import '../SettingsProvider/SettingsProvider.mjs';
|
|
104
|
+
import '../Slider/Slider.mjs';
|
|
105
|
+
import '../Switch/Switch.mjs';
|
|
106
|
+
import '../Tabs/Tabs.mjs';
|
|
107
|
+
import '../Tabs/components/Tab/context.mjs';
|
|
108
|
+
import '../TextArea/TextArea.mjs';
|
|
109
|
+
import '../TextField/TextField.mjs';
|
|
110
|
+
import '../TimeField/TimeField.mjs';
|
|
111
|
+
import '../TranslationProvider/TranslationProvider.mjs';
|
|
8
112
|
|
|
9
113
|
const Tooltip = (props) => {
|
|
10
114
|
const { children, className, ...rest } = props;
|
|
11
115
|
const rootClassName = clsx(styles.tooltip, className);
|
|
12
|
-
return /* @__PURE__ */ jsx(
|
|
116
|
+
return /* @__PURE__ */ jsx(ClearPropsContext, { children: /* @__PURE__ */ jsxs(Aria.Tooltip, { ...rest, className: rootClassName, children: [
|
|
13
117
|
/* @__PURE__ */ jsx(Aria.OverlayArrow, { className: styles.tip, children: /* @__PURE__ */ jsx("svg", { viewBox: "0 0 8 8", children: /* @__PURE__ */ jsx("path", { d: "M0 0 L4 4 L8 0" }) }) }),
|
|
14
118
|
children
|
|
15
119
|
] }) });
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Tooltip.mjs","sources":["../../../../../../src/components/Tooltip/Tooltip.tsx"],"sourcesContent":["import * as Aria from \"react-aria-components\";\nimport type { FC, PropsWithChildren } from \"react\";\nimport styles from \"./Tooltip.module.scss\";\nimport clsx from \"clsx\";\nimport
|
|
1
|
+
{"version":3,"file":"Tooltip.mjs","sources":["../../../../../../src/components/Tooltip/Tooltip.tsx"],"sourcesContent":["import * as Aria from \"react-aria-components\";\nimport type { FC, PropsWithChildren } from \"react\";\nimport styles from \"./Tooltip.module.scss\";\nimport clsx from \"clsx\";\nimport { ClearPropsContext } from \"@/index/default\";\n\nexport type TooltipProps = PropsWithChildren<\n Omit<Aria.TooltipProps, \"children\">\n>;\n\n/** @flr-generate all */\nexport const Tooltip: FC<TooltipProps> = (props) => {\n const { children, className, ...rest } = props;\n\n const rootClassName = clsx(styles.tooltip, className);\n\n return (\n <ClearPropsContext>\n <Aria.Tooltip {...rest} className={rootClassName}>\n <Aria.OverlayArrow className={styles.tip}>\n <svg viewBox=\"0 0 8 8\">\n <path d=\"M0 0 L4 4 L8 0\" />\n </svg>\n </Aria.OverlayArrow>\n {children}\n </Aria.Tooltip>\n </ClearPropsContext>\n );\n};\n\nexport default Tooltip;\n"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAWO,MAAM,OAAA,GAA4B,CAAC,KAAA,KAAU;AAClD,EAAA,MAAM,EAAE,QAAA,EAAU,SAAA,EAAW,GAAG,MAAK,GAAI,KAAA;AAEzC,EAAA,MAAM,aAAA,GAAgB,IAAA,CAAK,MAAA,CAAO,OAAA,EAAS,SAAS,CAAA;AAEpD,EAAA,uBACE,GAAA,CAAC,qBACC,QAAA,kBAAA,IAAA,CAAC,IAAA,CAAK,SAAL,EAAc,GAAG,IAAA,EAAM,SAAA,EAAW,aAAA,EACjC,QAAA,EAAA;AAAA,oBAAA,GAAA,CAAC,IAAA,CAAK,YAAA,EAAL,EAAkB,SAAA,EAAW,OAAO,GAAA,EACnC,QAAA,kBAAA,GAAA,CAAC,KAAA,EAAA,EAAI,OAAA,EAAQ,WACX,QAAA,kBAAA,GAAA,CAAC,MAAA,EAAA,EAAK,CAAA,EAAE,gBAAA,EAAiB,GAC3B,CAAA,EACF,CAAA;AAAA,IACC;AAAA,GAAA,EACH,CAAA,EACF,CAAA;AAEJ;;;;"}
|
|
@@ -86,7 +86,6 @@ import 'luxon';
|
|
|
86
86
|
import '../../components/NumberField/NumberField.mjs';
|
|
87
87
|
import '../../components/Option/Option.mjs';
|
|
88
88
|
import '../../views/OverlayContentView.mjs';
|
|
89
|
-
import '../../views/ClearPropsContextView.mjs';
|
|
90
89
|
import '../../views/LoadingSpinnerView.mjs';
|
|
91
90
|
import '../../components/PasswordCreationField/PasswordCreationField.mjs';
|
|
92
91
|
import '../../components/Popover/components/PopoverTrigger/PopoverTrigger.mjs';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useFieldError.mjs","sources":["../../../../../../src/lib/hooks/useFieldError.tsx"],"sourcesContent":["import React, { type FC, type PropsWithChildren, useId, useMemo } from \"react\";\nimport { type PropsContext, PropsContextProvider } from \"@/lib/propsContext\";\nimport formFieldStyles from \"@/components/FormField/FormField.module.scss\";\nimport { TunnelExit } from \"@mittwald/react-tunnel\";\nimport ClearPropsContext from \"@/lib/propsContext/components/ClearPropsContext\";\nimport { useProps } from \"@/index/default\";\n\nexport const useFieldError = (tunnelIdFromProps?: string) => {\n const id = useId();\n const currentTunnelId = useProps(\"FieldError\", {}).tunnelId;\n const tunnelId = tunnelIdFromProps ?? currentTunnelId ?? `${id}.fieldError`;\n\n const fieldErrorCapturePropsContext: PropsContext = {\n FieldError: {\n ___inherit: \"preserve\",\n tunnelId,\n className: formFieldStyles.fieldError,\n },\n };\n\n const FieldErrorCaptureContext: FC<PropsWithChildren> = useMemo(\n () => (props) => {\n return (\n <PropsContextProvider\n levelMode=\"keep\"\n props={fieldErrorCapturePropsContext}\n dependencies={[tunnelId]}\n >\n {props.children}\n </PropsContextProvider>\n );\n },\n [tunnelId],\n );\n\n const FieldErrorView = () => {\n if (currentTunnelId) {\n return null;\n }\n\n return (\n <TunnelExit id={tunnelId}>\n {(children) => {\n const childrenArray = React.Children.toArray(children);\n return <ClearPropsContext>{childrenArray[0]}</ClearPropsContext>;\n }}\n </TunnelExit>\n );\n };\n\n return {\n FieldErrorCaptureContext,\n FieldErrorView,\n } as const;\n};\n"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"useFieldError.mjs","sources":["../../../../../../src/lib/hooks/useFieldError.tsx"],"sourcesContent":["import React, { type FC, type PropsWithChildren, useId, useMemo } from \"react\";\nimport { type PropsContext, PropsContextProvider } from \"@/lib/propsContext\";\nimport formFieldStyles from \"@/components/FormField/FormField.module.scss\";\nimport { TunnelExit } from \"@mittwald/react-tunnel\";\nimport ClearPropsContext from \"@/lib/propsContext/components/ClearPropsContext\";\nimport { useProps } from \"@/index/default\";\n\nexport const useFieldError = (tunnelIdFromProps?: string) => {\n const id = useId();\n const currentTunnelId = useProps(\"FieldError\", {}).tunnelId;\n const tunnelId = tunnelIdFromProps ?? currentTunnelId ?? `${id}.fieldError`;\n\n const fieldErrorCapturePropsContext: PropsContext = {\n FieldError: {\n ___inherit: \"preserve\",\n tunnelId,\n className: formFieldStyles.fieldError,\n },\n };\n\n const FieldErrorCaptureContext: FC<PropsWithChildren> = useMemo(\n () => (props) => {\n return (\n <PropsContextProvider\n levelMode=\"keep\"\n props={fieldErrorCapturePropsContext}\n dependencies={[tunnelId]}\n >\n {props.children}\n </PropsContextProvider>\n );\n },\n [tunnelId],\n );\n\n const FieldErrorView = () => {\n if (currentTunnelId) {\n return null;\n }\n\n return (\n <TunnelExit id={tunnelId}>\n {(children) => {\n const childrenArray = React.Children.toArray(children);\n return <ClearPropsContext>{childrenArray[0]}</ClearPropsContext>;\n }}\n </TunnelExit>\n );\n };\n\n return {\n FieldErrorCaptureContext,\n FieldErrorView,\n } as const;\n};\n"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAOO,MAAM,aAAA,GAAgB,CAAC,iBAAA,KAA+B;AAC3D,EAAA,MAAM,KAAK,KAAA,EAAM;AACjB,EAAA,MAAM,eAAA,GAAkB,QAAA,CAAS,YAAA,EAAc,EAAE,CAAA,CAAE,QAAA;AACnD,EAAA,MAAM,QAAA,GAAgC,eAAA,IAAmB,CAAA,EAAG,EAAE,CAAA,WAAA,CAAA;AAE9D,EAAA,MAAM,6BAAA,GAA8C;AAAA,IAClD,UAAA,EAAY;AAAA,MACV,UAAA,EAAY,UAAA;AAAA,MACZ,QAAA;AAAA,MACA,WAAW,eAAA,CAAgB;AAAA;AAC7B,GACF;AAEA,EAAA,MAAM,wBAAA,GAAkD,OAAA;AAAA,IACtD,MAAM,CAAC,KAAA,KAAU;AACf,MAAA,uBACE,GAAA;AAAA,QAAC,oBAAA;AAAA,QAAA;AAAA,UACC,SAAA,EAAU,MAAA;AAAA,UACV,KAAA,EAAO,6BAAA;AAAA,UACP,YAAA,EAAc,CAAC,QAAQ,CAAA;AAAA,UAEtB,QAAA,EAAA,KAAA,CAAM;AAAA;AAAA,OACT;AAAA,IAEJ,CAAA;AAAA,IACA,CAAC,QAAQ;AAAA,GACX;AAEA,EAAA,MAAM,iBAAiB,MAAM;AAC3B,IAAA,IAAI,eAAA,EAAiB;AACnB,MAAA,OAAO,IAAA;AAAA,IACT;AAEA,IAAA,uBACE,GAAA,CAAC,UAAA,EAAA,EAAW,EAAA,EAAI,QAAA,EACb,WAAC,QAAA,KAAa;AACb,MAAA,MAAM,aAAA,GAAgB,KAAA,CAAM,QAAA,CAAS,OAAA,CAAQ,QAAQ,CAAA;AACrD,MAAA,uBAAO,GAAA,CAAC,iBAAA,EAAA,EAAmB,QAAA,EAAA,aAAA,CAAc,CAAC,CAAA,EAAE,CAAA;AAAA,IAC9C,CAAA,EACF,CAAA;AAAA,EAEJ,CAAA;AAEA,EAAA,OAAO;AAAA,IACL,wBAAA;AAAA,IACA;AAAA,GACF;AACF;;;;"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ClearPropsContext.mjs","sources":["../../../../../../../src/lib/propsContext/components/ClearPropsContext.tsx"],"sourcesContent":["import {\n PropsContextProvider,\n usePropsContext,\n} from \"@/lib/propsContext/propsContext\";\nimport { PropsContextLevelProvider } from \"@/lib/propsContext/inherit/PropsContextLevelProvider\";\nimport { useMemo, type FC, type PropsWithChildren } from \"react\";\nimport type { FlowComponentName } from \"@/components/propTypes\";\nimport type { PropsContext } from \"@/index/internal\";\n\nexport interface ClearPropsContextProps extends PropsWithChildren {\n keep?: FlowComponentName;\n}\n\
|
|
1
|
+
{"version":3,"file":"ClearPropsContext.mjs","sources":["../../../../../../../src/lib/propsContext/components/ClearPropsContext.tsx"],"sourcesContent":["import {\n PropsContextProvider,\n usePropsContext,\n} from \"@/lib/propsContext/propsContext\";\nimport { PropsContextLevelProvider } from \"@/lib/propsContext/inherit/PropsContextLevelProvider\";\nimport { useMemo, type FC, type PropsWithChildren } from \"react\";\nimport type { FlowComponentName } from \"@/components/propTypes\";\nimport type { PropsContext } from \"@/index/internal\";\n\nexport interface ClearPropsContextProps extends PropsWithChildren {\n keep?: FlowComponentName;\n}\n\nexport const ClearPropsContext: FC<ClearPropsContextProps> = (props) => {\n const { children, keep } = props;\n\n const parentPropsContext = usePropsContext();\n\n const withKeptComponentProps: PropsContext = useMemo(\n () => (keep ? parentPropsContext[keep] : undefined) ?? {},\n [keep, parentPropsContext],\n );\n\n return (\n <PropsContextLevelProvider mode=\"reset\">\n <PropsContextProvider value={withKeptComponentProps}>\n {children}\n </PropsContextProvider>\n </PropsContextLevelProvider>\n );\n};\n\nexport default ClearPropsContext;\n"],"names":[],"mappings":";;;;;AAaO,MAAM,iBAAA,GAAgD,CAAC,KAAA,KAAU;AACtE,EAAA,MAAM,EAAE,QAAA,EAAU,IAAA,EAAK,GAAI,KAAA;AAE3B,EAAA,MAAM,qBAAqB,eAAA,EAAgB;AAE3C,EAAA,MAAM,sBAAA,GAAuC,OAAA;AAAA,IAC3C,OAAO,IAAA,GAAO,kBAAA,CAAmB,IAAI,CAAA,GAAI,WAAc,EAAC;AAAA,IACxD,CAAC,MAAM,kBAAkB;AAAA,GAC3B;AAEA,EAAA,uBACE,GAAA,CAAC,6BAA0B,IAAA,EAAK,OAAA,EAC9B,8BAAC,oBAAA,EAAA,EAAqB,KAAA,EAAO,sBAAA,EAC1B,QAAA,EACH,CAAA,EACF,CAAA;AAEJ;;;;"}
|
|
@@ -201,11 +201,10 @@ export { OverlayController } from './components/src/lib/controller/overlay/Overl
|
|
|
201
201
|
export { useOverlayController } from './components/src/lib/controller/overlay/useOverlayController.mjs';
|
|
202
202
|
import './components/src/lib/controller/overlay/context.mjs';
|
|
203
203
|
import './components/src/views/OverlayContentView.mjs';
|
|
204
|
-
import './components/src/views/ClearPropsContextView.mjs';
|
|
205
|
-
import './components/src/views/LoadingSpinnerView.mjs';
|
|
206
204
|
export { useOnChange } from './components/src/lib/hooks/useOnChange.mjs';
|
|
207
205
|
export { useIsMounted } from './components/src/lib/hooks/useIsMounted.mjs';
|
|
208
206
|
export { useProps } from './components/src/lib/hooks/useProps.mjs';
|
|
207
|
+
import './components/src/views/LoadingSpinnerView.mjs';
|
|
209
208
|
import './components/src/components/OverlayTrigger/components/MenuTrigger/MenuTrigger.mjs';
|
|
210
209
|
import './components/src/components/PasswordCreationField/PasswordCreationField.mjs';
|
|
211
210
|
export { PopoverTrigger } from './components/src/components/Popover/components/PopoverTrigger/PopoverTrigger.mjs';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"flr-universal.mjs","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"flr-universal.mjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/ClearPropsContext/index.ts"],"names":[],"mappings":"AAAA,cAAc,qBAAqB,CAAC
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/ClearPropsContext/index.ts"],"names":[],"mappings":"AAAA,cAAc,qBAAqB,CAAC"}
|
|
@@ -3,7 +3,6 @@ import { FlowComponentName } from '../../../components/propTypes';
|
|
|
3
3
|
export interface ClearPropsContextProps extends PropsWithChildren {
|
|
4
4
|
keep?: FlowComponentName;
|
|
5
5
|
}
|
|
6
|
-
/** @flr-generate all */
|
|
7
6
|
export declare const ClearPropsContext: FC<ClearPropsContextProps>;
|
|
8
7
|
export default ClearPropsContext;
|
|
9
8
|
//# sourceMappingURL=ClearPropsContext.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ClearPropsContext.d.ts","sourceRoot":"","sources":["../../../../../src/lib/propsContext/components/ClearPropsContext.tsx"],"names":[],"mappings":"AAKA,OAAO,EAAW,KAAK,EAAE,EAAE,KAAK,iBAAiB,EAAE,MAAM,OAAO,CAAC;AACjE,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,wBAAwB,CAAC;AAGhE,MAAM,WAAW,sBAAuB,SAAQ,iBAAiB;IAC/D,IAAI,CAAC,EAAE,iBAAiB,CAAC;CAC1B;AAED,
|
|
1
|
+
{"version":3,"file":"ClearPropsContext.d.ts","sourceRoot":"","sources":["../../../../../src/lib/propsContext/components/ClearPropsContext.tsx"],"names":[],"mappings":"AAKA,OAAO,EAAW,KAAK,EAAE,EAAE,KAAK,iBAAiB,EAAE,MAAM,OAAO,CAAC;AACjE,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,wBAAwB,CAAC;AAGhE,MAAM,WAAW,sBAAuB,SAAQ,iBAAiB;IAC/D,IAAI,CAAC,EAAE,iBAAiB,CAAC;CAC1B;AAED,eAAO,MAAM,iBAAiB,EAAE,EAAE,CAAC,sBAAsB,CAiBxD,CAAC;AAEF,eAAe,iBAAiB,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mittwald/flow-react-components",
|
|
3
|
-
"version": "0.2.0-alpha.
|
|
3
|
+
"version": "0.2.0-alpha.556",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "A React implementation of Flow, mittwald’s design system",
|
|
6
6
|
"homepage": "https://mittwald.github.io/flow",
|
|
@@ -58,7 +58,7 @@
|
|
|
58
58
|
"dependencies": {
|
|
59
59
|
"@internationalized/string-compiler": "^3.2.6",
|
|
60
60
|
"@mittwald/password-tools-js": "3.0.0-alpha.18",
|
|
61
|
-
"@mittwald/react-tunnel": "0.2.0-alpha.
|
|
61
|
+
"@mittwald/react-tunnel": "0.2.0-alpha.556",
|
|
62
62
|
"@mittwald/react-use-promise": "^4.2.2",
|
|
63
63
|
"@react-aria/form": "^3.1.2",
|
|
64
64
|
"@react-aria/live-announcer": "^3.4.4",
|
|
@@ -102,7 +102,7 @@
|
|
|
102
102
|
"@faker-js/faker": "^10.1.0",
|
|
103
103
|
"@internationalized/date": "^3.10.0",
|
|
104
104
|
"@mittwald/flow-core": "",
|
|
105
|
-
"@mittwald/flow-design-tokens": "0.2.0-alpha.
|
|
105
|
+
"@mittwald/flow-design-tokens": "0.2.0-alpha.556",
|
|
106
106
|
"@mittwald/react-use-promise": "^4.2.2",
|
|
107
107
|
"@mittwald/remote-dom-react": "1.2.2-mittwald.10",
|
|
108
108
|
"@mittwald/typescript-config": "",
|
|
@@ -175,5 +175,5 @@
|
|
|
175
175
|
"optional": true
|
|
176
176
|
}
|
|
177
177
|
},
|
|
178
|
-
"gitHead": "
|
|
178
|
+
"gitHead": "8b635aa44b302105dea143076d3a08b535e135f3"
|
|
179
179
|
}
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
"use client"
|
|
2
|
-
/* */
|
|
3
|
-
import { jsx } from 'react/jsx-runtime';
|
|
4
|
-
import { memo, useContext } from 'react';
|
|
5
|
-
import { ClearPropsContext } from '../lib/propsContext/components/ClearPropsContext.mjs';
|
|
6
|
-
import { viewComponentContext } from '../lib/viewComponentContext/viewComponentContext.mjs';
|
|
7
|
-
|
|
8
|
-
const ClearPropsContextView = memo((props) => {
|
|
9
|
-
const View = useContext(viewComponentContext)["ClearPropsContext"] ?? ClearPropsContext;
|
|
10
|
-
return /* @__PURE__ */ jsx(View, { ...props });
|
|
11
|
-
});
|
|
12
|
-
ClearPropsContextView.displayName = "ClearPropsContextView";
|
|
13
|
-
|
|
14
|
-
export { ClearPropsContextView as default };
|
|
15
|
-
//# sourceMappingURL=ClearPropsContextView.mjs.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ClearPropsContextView.mjs","sources":["../../../../../src/views/ClearPropsContextView.tsx"],"sourcesContent":["/* prettier-ignore */\n/* This file is auto-generated with the remote-components-generator */\nimport React, { memo, type FC, useContext } from \"react\";\nimport {\n ClearPropsContext,\n type ClearPropsContextProps,\n} from \"@/components/ClearPropsContext/ClearPropsContext\";\nimport { viewComponentContext } from \"@/lib/viewComponentContext/viewComponentContext\";\n\nconst ClearPropsContextView: FC<ClearPropsContextProps> = memo((props) => {\n const View =\n useContext(viewComponentContext)[\"ClearPropsContext\"] ?? ClearPropsContext;\n return <View {...props} />;\n});\nClearPropsContextView.displayName = \"ClearPropsContextView\";\n\nexport default ClearPropsContextView;\n"],"names":[],"mappings":";;;;;AASA,MAAM,qBAAA,GAAoD,IAAA,CAAK,CAAC,KAAA,KAAU;AACxE,EAAA,MAAM,IAAA,GACJ,UAAA,CAAW,oBAAoB,CAAA,CAAE,mBAAmB,CAAA,IAAK,iBAAA;AAC3D,EAAA,uBAAO,GAAA,CAAC,IAAA,EAAA,EAAM,GAAG,KAAA,EAAO,CAAA;AAC1B,CAAC;AACD,qBAAA,CAAsB,WAAA,GAAc,uBAAA;;;;"}
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { ClearPropsContext } from './ClearPropsContext';
|
|
2
|
-
import { ViewComponent } from '../../lib/viewComponentContext';
|
|
3
|
-
declare global {
|
|
4
|
-
interface FlowViewComponents {
|
|
5
|
-
ClearPropsContext: ViewComponent<typeof ClearPropsContext>;
|
|
6
|
-
}
|
|
7
|
-
}
|
|
8
|
-
//# sourceMappingURL=view.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"view.d.ts","sourceRoot":"","sources":["../../../../src/components/ClearPropsContext/view.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AAC7D,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,4BAA4B,CAAC;AAEhE,OAAO,CAAC,MAAM,CAAC;IACb,UAAU,kBAAkB;QAC1B,iBAAiB,EAAE,aAAa,CAAC,OAAO,iBAAiB,CAAC,CAAC;KAC5D;CACF"}
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
import { FC } from 'react';
|
|
2
|
-
import { ClearPropsContextProps } from '../components/ClearPropsContext/ClearPropsContext';
|
|
3
|
-
declare const ClearPropsContextView: FC<ClearPropsContextProps>;
|
|
4
|
-
export default ClearPropsContextView;
|
|
5
|
-
//# sourceMappingURL=ClearPropsContextView.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ClearPropsContextView.d.ts","sourceRoot":"","sources":["../../../src/views/ClearPropsContextView.tsx"],"names":[],"mappings":"AAEA,OAAc,EAAQ,KAAK,EAAE,EAAc,MAAM,OAAO,CAAC;AACzD,OAAO,EAEL,KAAK,sBAAsB,EAC5B,MAAM,kDAAkD,CAAC;AAG1D,QAAA,MAAM,qBAAqB,EAAE,EAAE,CAAC,sBAAsB,CAIpD,CAAC;AAGH,eAAe,qBAAqB,CAAC"}
|