@mittwald/flow-react-components 0.1.0-alpha.384 → 0.1.0-alpha.386

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.
@@ -4,6 +4,7 @@ type SupportedSearchFieldProps = Pick<SearchFieldProps, "className" | "autoFocus
4
4
  interface SearchFieldRenderProps extends SupportedSearchFieldProps {
5
5
  onChange: (value: SearchValue) => unknown;
6
6
  value: SearchValue;
7
+ autoSubmit?: boolean;
7
8
  }
8
9
  export type SearchFieldRenderComponent = ComponentType<SearchFieldRenderProps>;
9
10
  export type SearchValue = string | undefined;
@@ -2,6 +2,7 @@ import { SearchFieldRenderComponent, SearchShape } from '../model/search/types';
2
2
  import { ComponentType } from 'react';
3
3
  type Props<T> = Omit<SearchShape<T>, "render" | "textFieldProps"> & {
4
4
  children?: SearchFieldRenderComponent;
5
+ autoSubmit?: boolean;
5
6
  } & SearchShape<T>["textFieldProps"];
6
7
  export declare function ListSearch<T = never>(ignoredProps: Props<T>): null;
7
8
  export declare const TypedListSearch: <T>() => ComponentType<Props<T>>;
@@ -8,6 +8,7 @@ export declare const typedList: <T>() => {
8
8
  }) => import('react').ReactNode;
9
9
  Search: ComponentType<Omit<import('./model/search/types').SearchShape<T>, "render" | "textFieldProps"> & {
10
10
  children?: import('./model/search/types').SearchFieldRenderComponent;
11
+ autoSubmit?: boolean;
11
12
  } & {
12
13
  className?: string | ((values: import('react-aria-components').SearchFieldRenderProps & {
13
14
  defaultClassName: string | undefined;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mittwald/flow-react-components",
3
- "version": "0.1.0-alpha.384",
3
+ "version": "0.1.0-alpha.386",
4
4
  "type": "module",
5
5
  "description": "A React implementation of Flow, mittwald’s design system",
6
6
  "homepage": "https://mittwald.github.io/flow",
@@ -425,7 +425,7 @@
425
425
  "@chakra-ui/live-region": "^2.1.0",
426
426
  "@internationalized/date": "^3.6.0",
427
427
  "@internationalized/string-compiler": "^3.2.6",
428
- "@mittwald/react-tunnel": "^0.1.0-alpha.384",
428
+ "@mittwald/react-tunnel": "^0.1.0-alpha.386",
429
429
  "@mittwald/react-use-promise": "^2.6.0",
430
430
  "@react-aria/form": "^3.0.11",
431
431
  "@react-aria/utils": "^3.26.0",
@@ -456,7 +456,7 @@
456
456
  },
457
457
  "devDependencies": {
458
458
  "@faker-js/faker": "^9.2.0",
459
- "@mittwald/flow-design-tokens": "^0.1.0-alpha.384",
459
+ "@mittwald/flow-design-tokens": "^0.1.0-alpha.386",
460
460
  "@mittwald/react-use-promise": "^2.6.0",
461
461
  "@nx/storybook": "^20.1.3",
462
462
  "@storybook/addon-a11y": "^8.4.5",
@@ -551,5 +551,5 @@
551
551
  }
552
552
  }
553
553
  },
554
- "gitHead": "a31207c574904597efe4b61d0199847f660f4a7b"
554
+ "gitHead": "e8946b32b3d3df919b62b2a50bf4bae41e1d752c"
555
555
  }