@mittwald/flow-react-components 0.1.0-alpha.250 → 0.1.0-alpha.251

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.
@@ -3,6 +3,7 @@ import { FlowComponentProps } from '../../lib/componentFactory/flowComponent';
3
3
  import { PropsWithClassName } from '../../lib/types/props';
4
4
  export interface ActionGroupProps extends PropsWithChildren, FlowComponentProps, PropsWithClassName {
5
5
  ignoreBreakpoint?: boolean;
6
+ spacing?: "s" | "m";
6
7
  }
7
8
  export declare const ActionGroup: React.ForwardRefExoticComponent<ActionGroupProps & React.RefAttributes<never>>;
8
9
  export default ActionGroup;
@@ -0,0 +1,2 @@
1
+ import { FC } from 'react';
2
+ export declare const ViewModeMenu: FC;
@@ -12,8 +12,6 @@ import { Dispatch, SetStateAction } from 'react';
12
12
  export declare class List<T> {
13
13
  readonly settingStorageKey?: string;
14
14
  readonly supportsSettingsStorage: boolean;
15
- private readonly filterSettingsStorageKey?;
16
- private readonly defaultSettings?;
17
15
  readonly filters: Filter<T, never, never>[];
18
16
  readonly itemView?: ItemView<T>;
19
17
  readonly table?: Table<T>;
@@ -28,10 +26,12 @@ export declare class List<T> {
28
26
  readonly componentProps: ListSupportedComponentProps;
29
27
  viewMode: ListViewMode;
30
28
  readonly setViewMode: Dispatch<SetStateAction<ListViewMode>>;
29
+ private readonly filterSettingsStorageKey?;
30
+ private readonly defaultSettings?;
31
31
  constructor(shape: ListShape<T>);
32
- static useNew<T>(shape: ListShape<T>): List<T>;
33
32
  get isFiltered(): boolean;
34
33
  get visibleSorting(): Sorting<T>[];
34
+ static useNew<T>(shape: ListShape<T>): List<T>;
35
35
  storeFilterDefaultSettings(): void;
36
36
  getStoredFilterDefaultSettings(): Record<string, unknown[]> | undefined;
37
37
  getSorting(id: string): Sorting<T>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mittwald/flow-react-components",
3
- "version": "0.1.0-alpha.250",
3
+ "version": "0.1.0-alpha.251",
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.5",
315
315
  "@internationalized/string-compiler": "^3.2.4",
316
- "@mittwald/react-tunnel": "^0.1.0-alpha.250",
316
+ "@mittwald/react-tunnel": "^0.1.0-alpha.251",
317
317
  "@mittwald/react-use-promise": "^2.5.0",
318
318
  "@react-aria/utils": "^3.25.2",
319
319
  "@react-types/shared": "^3.24.1",
@@ -340,7 +340,7 @@
340
340
  },
341
341
  "devDependencies": {
342
342
  "@faker-js/faker": "^9.0.1",
343
- "@mittwald/flow-design-tokens": "^0.1.0-alpha.250",
343
+ "@mittwald/flow-design-tokens": "^0.1.0-alpha.251",
344
344
  "@mittwald/react-use-promise": "^2.5.0",
345
345
  "@nx/storybook": "^19.7.4",
346
346
  "@storybook/addon-a11y": "^8.3.2",
@@ -418,5 +418,5 @@
418
418
  "optional": true
419
419
  }
420
420
  },
421
- "gitHead": "2c7b975dcaa403e7d12850726cd2bc2b33a32d3e"
421
+ "gitHead": "f85493947f06222c703bbecc11fcf0737300390f"
422
422
  }
@@ -1,10 +0,0 @@
1
- "use client"
2
- /* */
3
- import e from "react";
4
- import { IconDeviceFloppy as o, IconSettings as c } from "@tabler/icons-react";
5
- import { I as n } from "./Icon-cEgH3ZXQ.js";
6
- const l = (t) => /* @__PURE__ */ e.createElement(n, { ...t }, /* @__PURE__ */ e.createElement(o, null)), s = (t) => /* @__PURE__ */ e.createElement(n, { ...t }, /* @__PURE__ */ e.createElement(c, null));
7
- export {
8
- l as I,
9
- s as a
10
- };
@@ -1,2 +0,0 @@
1
- import { FC } from 'react';
2
- export declare const SettingsMenu: FC;