@mittwald/flow-react-components 0.1.0-alpha.90 → 0.1.0-alpha.92

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 { FC, PropsWithChildren } from 'react';
3
3
 
4
4
  import * as Aria from "react-aria-components";
5
5
  export interface BreadcrumbProps extends Omit<Aria.BreadcrumbsProps<BreadcrumbItemProps>, "children">, PropsWithChildren {
6
+ inverse?: boolean;
6
7
  }
7
8
  export declare const Breadcrumb: FC<BreadcrumbProps>;
8
9
  export default Breadcrumb;
@@ -5,3 +5,4 @@ declare const meta: Meta<typeof Breadcrumb>;
5
5
  export default meta;
6
6
  type Story = StoryObj<typeof Breadcrumb>;
7
7
  export declare const Default: Story;
8
+ export declare const Inverse: Story;
@@ -1,10 +1,10 @@
1
+ import { PropsWithClassName } from '../../lib/types/props';
1
2
  import { FC, PropsWithChildren } from 'react';
2
3
 
3
- export interface ColumnLayoutProps extends PropsWithChildren {
4
+ export interface ColumnLayoutProps extends PropsWithChildren, PropsWithClassName {
4
5
  s?: number[];
5
6
  m?: number[];
6
7
  l?: number[];
7
- className?: string;
8
8
  }
9
9
  export declare const ColumnLayout: FC<ColumnLayoutProps>;
10
10
  export default ColumnLayout;
@@ -1,7 +1,7 @@
1
+ import { PropsWithClassName } from '../../lib/types/props';
1
2
  import { ComponentProps, FC, PropsWithChildren } from 'react';
2
3
 
3
- export interface HeaderNavigationProps extends PropsWithChildren<ComponentProps<"nav">> {
4
- className?: string;
4
+ export interface HeaderNavigationProps extends PropsWithChildren<ComponentProps<"nav">>, PropsWithClassName {
5
5
  inverse?: boolean;
6
6
  }
7
7
  export declare const HeaderNavigation: FC<HeaderNavigationProps>;
@@ -1,8 +1,8 @@
1
+ import { PropsWithClassName } from '../../lib/types/props';
1
2
  import { FlowComponentProps } from '../../lib/componentFactory/flowComponent';
2
3
  import { PropsWithChildren, default as React } from 'react';
3
4
 
4
- export interface InitialsProps extends PropsWithChildren, FlowComponentProps {
5
- className?: string;
5
+ export interface InitialsProps extends PropsWithChildren, PropsWithClassName, FlowComponentProps {
6
6
  }
7
7
  export declare const Initials: React.ForwardRefExoticComponent<InitialsProps & React.RefAttributes<never>>;
8
8
  export default Initials;
@@ -1,7 +1,7 @@
1
+ import { PropsWithClassName } from '../../lib/types/props';
1
2
  import { FC, PropsWithChildren } from 'react';
2
3
 
3
- export interface LabeledValueProps extends PropsWithChildren {
4
- className?: string;
4
+ export interface LabeledValueProps extends PropsWithChildren, PropsWithClassName {
5
5
  }
6
6
  export declare const LabeledValue: FC<LabeledValueProps>;
7
7
  export default LabeledValue;
@@ -1,7 +1,7 @@
1
+ import { PropsWithClassName } from '../../../../../lib/types/props';
1
2
  import { FC } from 'react';
2
3
 
3
- interface Props {
4
- className?: string;
4
+ interface Props extends PropsWithClassName {
5
5
  }
6
6
  export declare const Header: FC<Props>;
7
7
  export default Header;
@@ -1,7 +1,7 @@
1
+ import { PropsWithClassName } from '../../../../../lib/types/props';
1
2
  import { FC } from 'react';
2
3
 
3
- interface Props {
4
- className?: string;
4
+ interface Props extends PropsWithClassName {
5
5
  }
6
6
  export declare const ItemList: FC<Props>;
7
7
  export default ItemList;
@@ -1,7 +1,7 @@
1
+ import { PropsWithClassName } from '../../../../../lib/types/props';
1
2
  import { FC, PropsWithChildren } from 'react';
2
3
 
3
- interface Props extends PropsWithChildren {
4
- className?: string;
4
+ interface Props extends PropsWithChildren, PropsWithClassName {
5
5
  }
6
6
  export declare const OptionsButton: FC<Props>;
7
7
  export default OptionsButton;
@@ -1,7 +1,7 @@
1
+ import { PropsWithClassName } from '../../lib/types/props';
1
2
  import { ComponentProps, FC, PropsWithChildren } from 'react';
2
3
 
3
- export interface NavigationProps extends PropsWithChildren<ComponentProps<"nav">> {
4
- className?: string;
4
+ export interface NavigationProps extends PropsWithChildren<ComponentProps<"nav">>, PropsWithClassName {
5
5
  }
6
6
  export declare const Navigation: FC<NavigationProps>;
7
7
  export default Navigation;
@@ -1,11 +1,11 @@
1
+ import { PropsWithClassName } from '../../lib/types/props';
1
2
  import { FlowComponentProps } from '../../lib/componentFactory/flowComponent';
2
3
  import { PropsWithChildren, default as React } from 'react';
3
4
 
4
5
  import * as Aria from "react-aria-components";
5
6
  export interface SelectProps extends PropsWithChildren<Omit<Aria.SelectProps<{
6
7
  example: string;
7
- }>, "children" | "className">>, FlowComponentProps {
8
- className?: string;
8
+ }>, "children" | "className">>, FlowComponentProps, PropsWithClassName {
9
9
  onChange?: (value: string) => void;
10
10
  }
11
11
  export declare const Select: React.ForwardRefExoticComponent<SelectProps & React.RefAttributes<never>>;
@@ -1,9 +1,8 @@
1
1
  import { FlowComponentProps } from '../../lib/componentFactory/flowComponent';
2
- import { PropsWithStatus } from '../../lib/types/props';
2
+ import { PropsWithClassName, PropsWithStatus } from '../../lib/types/props';
3
3
  import { PropsWithChildren, default as React } from 'react';
4
4
 
5
- export interface StatusBadgeProps extends PropsWithChildren, PropsWithStatus, FlowComponentProps {
6
- className?: string;
5
+ export interface StatusBadgeProps extends PropsWithChildren, PropsWithStatus, FlowComponentProps, PropsWithClassName {
7
6
  }
8
7
  export declare const StatusBadge: React.ForwardRefExoticComponent<StatusBadgeProps & React.RefAttributes<never>>;
9
8
  export default StatusBadge;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mittwald/flow-react-components",
3
- "version": "0.1.0-alpha.90",
3
+ "version": "0.1.0-alpha.92",
4
4
  "type": "module",
5
5
  "description": "A React implementation of Flow, mittwald’s design system",
6
6
  "homepage": "https://mittwald.github.io/flow",
@@ -243,7 +243,7 @@
243
243
  },
244
244
  "dependencies": {
245
245
  "@chakra-ui/live-region": "^2.1.0",
246
- "@mittwald/react-tunnel": "^0.1.0-alpha.90",
246
+ "@mittwald/react-tunnel": "^0.1.0-alpha.92",
247
247
  "@mittwald/react-use-promise": "^2.3.13",
248
248
  "@react-aria/utils": "^3.23.2",
249
249
  "@react-types/shared": "^3.22.1",
@@ -267,7 +267,7 @@
267
267
  },
268
268
  "devDependencies": {
269
269
  "@faker-js/faker": "^8.4.1",
270
- "@mittwald/flow-design-tokens": "^0.1.0-alpha.90",
270
+ "@mittwald/flow-design-tokens": "^0.1.0-alpha.92",
271
271
  "@mittwald/react-use-promise": "^2.3.13",
272
272
  "@nx/storybook": "^18.3.4",
273
273
  "@storybook/addon-a11y": "^8.0.9",
@@ -342,5 +342,5 @@
342
342
  "optional": true
343
343
  }
344
344
  },
345
- "gitHead": "39e4066ae09adff2dcce14f2acfb66874f86f67d"
345
+ "gitHead": "9e759e3ceb0ce668a7277e872a32eeead68b9bf0"
346
346
  }