@mittwald/flow-react-components 0.1.0-alpha.280 → 0.1.0-alpha.282
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/{Accordion-BGjpnvnP.js → Accordion-CZ8BnCBz.js} +3 -3
- package/dist/Accordion.js +1 -1
- package/dist/{Action-DQuMAmM9.js → Action-A7BoAz3C.js} +1 -1
- package/dist/Action.js +1 -1
- package/dist/{ActionGroup-BaKhW0E3.js → ActionGroup-BRhTTmkP.js} +1 -1
- package/dist/ActionGroup.js +1 -1
- package/dist/Alert.js +2 -2
- package/dist/AlertBadge.js +3 -3
- package/dist/{AlertIcon-q4NkuNX1.js → AlertIcon-BvaKmEPH.js} +4 -4
- package/dist/AlertIcon.js +1 -1
- package/dist/Avatar.js +1 -1
- package/dist/{Badge-pCsoX-qX.js → Badge-CccHtNiN.js} +4 -4
- package/dist/Badge.js +1 -1
- package/dist/Breadcrumb.js +2 -2
- package/dist/{Button-DYHIOEMk.js → Button-Da1fC2tj.js} +5 -5
- package/dist/Button.js +1 -1
- package/dist/{CalendarHeader-CevaNlcQ.js → CalendarHeader-B04CnM9J.js} +4 -4
- package/dist/{Checkbox-D27Dn7Zl.js → Checkbox-BpUGKgbo.js} +4 -4
- package/dist/Checkbox.js +1 -1
- package/dist/{CheckboxButton-D9z9q2VO.js → CheckboxButton-RMiT-hW-.js} +2 -2
- package/dist/CheckboxButton.js +1 -1
- package/dist/CheckboxGroup.js +3 -3
- package/dist/{Content-DTL7xUSl.js → Content-DkExwuU7.js} +1 -1
- package/dist/Content.js +1 -1
- package/dist/ContextMenu.js +3 -3
- package/dist/{ContextMenuTrigger-Vw5RLEk8.js → ContextMenuTrigger-DvbVYHFh.js} +3 -3
- package/dist/ContextualHelp.js +4 -4
- package/dist/CopyButton.js +5 -5
- package/dist/CounterBadge.js +5 -8
- package/dist/DatePicker.js +7 -7
- package/dist/DateRangePicker.js +7 -7
- package/dist/{FieldDescription-B2Q7J_JN.js → FieldDescription-CF0WL59R.js} +2 -2
- package/dist/FieldDescription.js +1 -1
- package/dist/{FieldError-oW3IOo-y.js → FieldError-DeuLuagS.js} +3 -3
- package/dist/FieldError.js +1 -1
- package/dist/{Header-SeTFM7fo.js → Header-DYgFcnQs.js} +1 -1
- package/dist/Header.js +1 -1
- package/dist/{Heading-BdmMWxrs.js → Heading-CB3ASpaU.js} +1 -1
- package/dist/Heading.js +1 -1
- package/dist/{Icon-C5gtbUkg.js → Icon-COqUQ8Af.js} +1 -1
- package/dist/Icon.js +1 -1
- package/dist/{IconCalendar-Clniakrh.js → IconCalendar-9aQBibiV.js} +1 -1
- package/dist/{IconCheck-HJJVpgyd.js → IconCheck-D-UNQ-2Z.js} +1 -1
- package/dist/{IconCheckboxEmpty-DWdnSGXE.js → IconCheckboxEmpty-LEvEhMea.js} +1 -1
- package/dist/{IconCheckboxIndeterminate-DZdUEsYf.js → IconCheckboxIndeterminate-BbILYVGl.js} +1 -1
- package/dist/{IconChevronDown-BwsR7pWe.js → IconChevronDown-Cs4gzBPk.js} +1 -1
- package/dist/{IconChevronRight-fBzX4SC3.js → IconChevronRight-bLHwOzgA.js} +1 -1
- package/dist/{IconChevronUp-7QSkB1uC.js → IconChevronUp-ZykxFQAx.js} +1 -1
- package/dist/{IconClose-CL_I5pL7.js → IconClose-DJWkLbQs.js} +1 -1
- package/dist/{IconContextMenu-DoHZ9Lnm.js → IconContextMenu-CzXLrZcd.js} +1 -1
- package/dist/{IconCopy-B-N56l4X.js → IconCopy-DjisJX3k.js} +1 -1
- package/dist/{IconDanger-zOfvXtF9.js → IconDanger-DAFJtHxf.js} +1 -1
- package/dist/{IconInfo-DVPgOLn1.js → IconInfo-XinzhLlf.js} +1 -1
- package/dist/{IconPending-tW7UAR0K.js → IconPending-DWfBE4V7.js} +1 -1
- package/dist/{IconPlus-MpPQTiu0.js → IconPlus-C-ZCBY15.js} +1 -1
- package/dist/{IconRadioOn-D6O5nAUk.js → IconRadioOn-BSlpvXXO.js} +1 -1
- package/dist/{IconSearch-CNdq-JdP.js → IconSearch-Bufq0n5e.js} +1 -1
- package/dist/{IconSucceeded-Ce7Utm-y.js → IconSucceeded-C2OB1x7I.js} +1 -1
- package/dist/{IconView-CelEa7lf.js → IconView-D30bALOR.js} +1 -1
- package/dist/{IconWarning-BJ2RmXqL.js → IconWarning-4wo_W_cB.js} +1 -1
- package/dist/Icons.js +20 -20
- package/dist/Image.js +1 -1
- package/dist/Initials.js +1 -1
- package/dist/{Label-CqOEc3tB.js → Label-DRwjXukM.js} +1 -1
- package/dist/Label.js +1 -1
- package/dist/LayoutCard.js +1 -1
- package/dist/{Link-DoJn5jbY.js → Link-BKu-Koyw.js} +1 -1
- package/dist/Link.js +1 -1
- package/dist/List.js +278 -269
- package/dist/{LoadingSpinner-DjDt7-D5.js → LoadingSpinner-pBGiPuv0.js} +2 -2
- package/dist/LoadingSpinner.js +1 -1
- package/dist/{MenuItem-BzSyWdbX.js → MenuItem-CWcJNHm3.js} +5 -5
- package/dist/MenuItem.js +1 -1
- package/dist/Modal.js +6 -6
- package/dist/Navigation.js +2 -2
- package/dist/Notification.js +5 -5
- package/dist/NumberField.js +7 -7
- package/dist/Popover.js +2 -2
- package/dist/{PopoverTrigger-BR7DBdLt.js → PopoverTrigger-FxIUjWed.js} +13 -16
- package/dist/RadioGroup.js +5 -5
- package/dist/{SearchField-DLprEGo_.js → SearchField-D_McGKsS.js} +6 -6
- package/dist/SearchField.js +1 -1
- package/dist/{Section-C_h0987n.js → Section-BXIIRoBN.js} +1 -1
- package/dist/Section.js +1 -1
- package/dist/Select.js +5 -5
- package/dist/Slider.js +4 -4
- package/dist/Switch.js +5 -5
- package/dist/Tabs.js +7 -7
- package/dist/{Text-caKNaa01.js → Text-BQ5aOXem.js} +1 -1
- package/dist/Text.js +1 -1
- package/dist/TextArea.js +2 -2
- package/dist/TextField.js +2 -2
- package/dist/{TextFieldBase-5khiJ4md.js → TextFieldBase-DPGaU6l6.js} +2 -2
- package/dist/TimeField.js +2 -2
- package/dist/{flowComponent-CcGqg9eo.js → flowComponent-uZXy7sF4.js} +5 -4
- package/dist/react-hook-form.js +2 -2
- package/dist/styles.css +1 -1
- package/dist/types/components/Action/Action.d.ts +2 -3
- package/dist/types/components/ContextMenu/components/ContextMenuTrigger/ContextMenuTrigger.d.ts +2 -3
- package/dist/types/components/CounterBadge/CounterBadge.d.ts +2 -2
- package/dist/types/components/List/components/ListSummary/ListSummary.d.ts +6 -0
- package/dist/types/components/List/components/ListSummary/index.d.ts +3 -0
- package/dist/types/components/List/index.d.ts +1 -0
- package/dist/types/components/List/stories/Default.stories.d.ts +1 -0
- package/dist/types/components/Popover/components/PopoverTrigger/PopoverTrigger.d.ts +2 -5
- package/dist/types/components/Slider/Slider.d.ts +2 -2
- package/dist/types/components/propTypes/index.d.ts +2 -0
- package/dist/types/lib/controller/overlay/context.d.ts +1 -0
- package/dist/types/lib/propsContext/propsContext.d.ts +2 -0
- package/dist/types/lib/slotContext/slotContext.d.ts +1 -0
- package/package.json +8 -8
|
@@ -1,3 +1,2 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
3
|
-
export declare const Action: FC<ActionProps>;
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
export declare const Action: React.ForwardRefExoticComponent<import('./types').ActionProps & React.RefAttributes<never>>;
|
package/dist/types/components/ContextMenu/components/ContextMenuTrigger/ContextMenuTrigger.d.ts
CHANGED
|
@@ -1,3 +1,2 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
3
|
-
export declare const ContextMenuTrigger: FC<OverlayTriggerProps>;
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
export declare const ContextMenuTrigger: React.ForwardRefExoticComponent<import('../../../OverlayTrigger').OverlayTriggerProps & React.RefAttributes<never>>;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { default as React } from 'react';
|
|
2
2
|
import { PropsWithElementType } from '../../lib/types/props';
|
|
3
3
|
import { FlowComponentProps } from '../../lib/componentFactory/flowComponent';
|
|
4
4
|
export interface CounterBadgeProps extends PropsWithElementType<"span">, FlowComponentProps {
|
|
5
5
|
count?: number;
|
|
6
6
|
}
|
|
7
|
-
export declare const CounterBadge:
|
|
7
|
+
export declare const CounterBadge: React.ForwardRefExoticComponent<CounterBadgeProps & React.RefAttributes<never>>;
|
|
8
8
|
export default CounterBadge;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { PropsWithChildren, default as React } from 'react';
|
|
2
|
+
import { FlowComponentProps } from '../../../../lib/componentFactory/flowComponent';
|
|
3
|
+
export interface ListSummaryProps extends FlowComponentProps, PropsWithChildren {
|
|
4
|
+
}
|
|
5
|
+
export declare const ListSummary: React.ForwardRefExoticComponent<ListSummaryProps & React.RefAttributes<never>>;
|
|
6
|
+
export default ListSummary;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
export type { DataLoaderOptions, AsyncDataLoader, AsyncResourceFactory, DataLoaderResult, } from './model/loading/types';
|
|
2
2
|
export type { RenderItemFn } from './model/item/types';
|
|
3
3
|
export { View as ListItemView } from './components/Items/components/Item/components/View';
|
|
4
|
+
export * from './components/ListSummary';
|
|
4
5
|
export * from './List';
|
|
5
6
|
export * from './setupComponents/ListFilter';
|
|
6
7
|
export * from './setupComponents/ListSorting';
|
|
@@ -1,5 +1,2 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
3
|
-
type Props = Omit<OverlayTriggerProps, "overlayType">;
|
|
4
|
-
export declare const PopoverTrigger: FC<Props>;
|
|
5
|
-
export {};
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
export declare const PopoverTrigger: React.ForwardRefExoticComponent<import('../../../OverlayTrigger').OverlayTriggerProps & React.RefAttributes<never>>;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { PropsWithChildren, default as React } from 'react';
|
|
2
2
|
import { FlowComponentProps } from '../../lib/componentFactory/flowComponent';
|
|
3
3
|
import * as Aria from "react-aria-components";
|
|
4
4
|
export interface SliderProps extends FlowComponentProps, PropsWithChildren<Aria.SliderProps>, Pick<Aria.SliderThumbProps, "name"> {
|
|
5
5
|
showInitialMarker?: boolean;
|
|
6
6
|
}
|
|
7
|
-
export declare const Slider:
|
|
7
|
+
export declare const Slider: React.ForwardRefExoticComponent<SliderProps & React.RefAttributes<never>>;
|
|
8
8
|
export default Slider;
|
|
@@ -44,6 +44,7 @@ import { DatePickerProps } from '../DatePicker';
|
|
|
44
44
|
import { DateRangePickerProps } from '../DateRangePicker';
|
|
45
45
|
import { TimeFieldProps } from '../TimeField';
|
|
46
46
|
import { AlertIconProps } from '../AlertIcon';
|
|
47
|
+
import { ListSummaryProps } from '../List/components/ListSummary/ListSummary';
|
|
47
48
|
import type * as Aria from "react-aria-components";
|
|
48
49
|
export * from './types';
|
|
49
50
|
export interface FlowComponentPropsTypes {
|
|
@@ -78,6 +79,7 @@ export interface FlowComponentPropsTypes {
|
|
|
78
79
|
LayoutCard: LayoutCardProps;
|
|
79
80
|
Link: LinkProps;
|
|
80
81
|
List: ListProps<never>;
|
|
82
|
+
ListSummary: ListSummaryProps;
|
|
81
83
|
MenuItem: MenuItemProps;
|
|
82
84
|
Modal: ModalProps;
|
|
83
85
|
ModalTrigger: OverlayTriggerProps;
|
|
@@ -35,6 +35,7 @@ export declare const overlayContext: import('react').Context<Partial<{
|
|
|
35
35
|
LayoutCard: OverlayController | undefined;
|
|
36
36
|
Link: OverlayController | undefined;
|
|
37
37
|
List: OverlayController | undefined;
|
|
38
|
+
ListSummary: OverlayController | undefined;
|
|
38
39
|
MenuItem: OverlayController | undefined;
|
|
39
40
|
Modal: OverlayController | undefined;
|
|
40
41
|
ModalTrigger: OverlayController | undefined;
|
|
@@ -31,6 +31,7 @@ export declare const propsContext: import('react').Context<Partial<{
|
|
|
31
31
|
LayoutCard: import('./types').ComponentPropsContext<"LayoutCard">;
|
|
32
32
|
Link: import('./types').ComponentPropsContext<"Link">;
|
|
33
33
|
List: import('./types').ComponentPropsContext<"List">;
|
|
34
|
+
ListSummary: import('./types').ComponentPropsContext<"ListSummary">;
|
|
34
35
|
MenuItem: import('./types').ComponentPropsContext<"MenuItem">;
|
|
35
36
|
Modal: import('./types').ComponentPropsContext<"Modal">;
|
|
36
37
|
ModalTrigger: import('./types').ComponentPropsContext<"ModalTrigger">;
|
|
@@ -86,6 +87,7 @@ export declare const PropsContextProvider: import('react').Provider<Partial<{
|
|
|
86
87
|
LayoutCard: import('./types').ComponentPropsContext<"LayoutCard">;
|
|
87
88
|
Link: import('./types').ComponentPropsContext<"Link">;
|
|
88
89
|
List: import('./types').ComponentPropsContext<"List">;
|
|
90
|
+
ListSummary: import('./types').ComponentPropsContext<"ListSummary">;
|
|
89
91
|
MenuItem: import('./types').ComponentPropsContext<"MenuItem">;
|
|
90
92
|
Modal: import('./types').ComponentPropsContext<"Modal">;
|
|
91
93
|
ModalTrigger: import('./types').ComponentPropsContext<"ModalTrigger">;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mittwald/flow-react-components",
|
|
3
|
-
"version": "0.1.0-alpha.
|
|
3
|
+
"version": "0.1.0-alpha.282",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "A React implementation of Flow, mittwald’s design system",
|
|
6
6
|
"homepage": "https://mittwald.github.io/flow",
|
|
@@ -313,7 +313,7 @@
|
|
|
313
313
|
"@chakra-ui/live-region": "^2.1.0",
|
|
314
314
|
"@internationalized/date": "^3.5.6",
|
|
315
315
|
"@internationalized/string-compiler": "^3.2.5",
|
|
316
|
-
"@mittwald/react-tunnel": "^0.1.0-alpha.
|
|
316
|
+
"@mittwald/react-tunnel": "^0.1.0-alpha.282",
|
|
317
317
|
"@mittwald/react-use-promise": "^2.5.0",
|
|
318
318
|
"@react-aria/utils": "^3.25.3",
|
|
319
319
|
"@react-types/shared": "^3.25.0",
|
|
@@ -323,7 +323,7 @@
|
|
|
323
323
|
"clsx": "^2.1.1",
|
|
324
324
|
"copy-to-clipboard": "^3.3.3",
|
|
325
325
|
"dot-prop": "^9.0.0",
|
|
326
|
-
"framer-motion": "^11.11.
|
|
326
|
+
"framer-motion": "^11.11.7",
|
|
327
327
|
"html-react-parser": "^5.1.18",
|
|
328
328
|
"invariant": "^2.2.4",
|
|
329
329
|
"luxon": "^3.5.0",
|
|
@@ -340,7 +340,7 @@
|
|
|
340
340
|
},
|
|
341
341
|
"devDependencies": {
|
|
342
342
|
"@faker-js/faker": "^9.0.3",
|
|
343
|
-
"@mittwald/flow-design-tokens": "^0.1.0-alpha.
|
|
343
|
+
"@mittwald/flow-design-tokens": "^0.1.0-alpha.282",
|
|
344
344
|
"@mittwald/react-use-promise": "^2.5.0",
|
|
345
345
|
"@nx/storybook": "^20.0.0",
|
|
346
346
|
"@storybook/addon-a11y": "^8.3.5",
|
|
@@ -373,7 +373,7 @@
|
|
|
373
373
|
"decamelize": "^6.0.0",
|
|
374
374
|
"fs-jetpack": "^5.1.0",
|
|
375
375
|
"happy-dom": "^15.7.4",
|
|
376
|
-
"next": "^14.2.
|
|
376
|
+
"next": "^14.2.15",
|
|
377
377
|
"nx": "^20.0.0",
|
|
378
378
|
"postcss": "^8.4.47",
|
|
379
379
|
"postcss-nested-import": "^1.3.0",
|
|
@@ -384,12 +384,12 @@
|
|
|
384
384
|
"react-dom": "^18.3.1",
|
|
385
385
|
"react-element-to-jsx-string": "^15.0.0",
|
|
386
386
|
"react-hook-form": "^7.53.0",
|
|
387
|
-
"rollup": "~4.
|
|
387
|
+
"rollup": "~4.24.0",
|
|
388
388
|
"sass": "^1.79.4",
|
|
389
389
|
"storybook": "^8.3.5",
|
|
390
390
|
"storybook-addon-rtl": "^1.0.1",
|
|
391
391
|
"tsx": "^4.19.1",
|
|
392
|
-
"typescript": "^5.6.
|
|
392
|
+
"typescript": "^5.6.3",
|
|
393
393
|
"typescript-plugin-css-modules": "^5.1.0",
|
|
394
394
|
"vite": "^5.4.8",
|
|
395
395
|
"vite-plugin-banner": "^0.8.0",
|
|
@@ -417,5 +417,5 @@
|
|
|
417
417
|
"optional": true
|
|
418
418
|
}
|
|
419
419
|
},
|
|
420
|
-
"gitHead": "
|
|
420
|
+
"gitHead": "4b4f6e2e28e28f442776d8d938babd6d9dbc612b"
|
|
421
421
|
}
|