@netu-si/netu-react-dsf-components 0.0.4 → 0.0.6

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.
@@ -8,6 +8,7 @@ import '../../resources/css/dsf.main.min.css';
8
8
  import { LinkProps } from 'react-router-dom';
9
9
  export interface DSFBackLinkProps extends LinkProps {
10
10
  onBackClick?: () => void;
11
+ label?: string;
11
12
  }
12
13
  /**
13
14
  * Use the back link component to help users go back to the previous page in a multi-page transaction.
@@ -6,6 +6,7 @@ export interface DSFFormGroupProps {
6
6
  error?: string;
7
7
  hint?: string;
8
8
  children?: React.ReactNode;
9
+ onChange?: React.ChangeEventHandler<HTMLInputElement>;
9
10
  }
10
11
  export interface IFormGroupContext {
11
12
  error?: string;
@@ -3,6 +3,7 @@ import '../../resources/css/dsf.main.min.css';
3
3
  export type NavMenuItem = {
4
4
  label: string;
5
5
  href: string;
6
+ onClick?: () => void;
6
7
  };
7
8
  export interface DSFHeaderProps {
8
9
  headerTitle: string;
@@ -11,6 +11,7 @@ export interface DSFSelectProps {
11
11
  };
12
12
  children: React.ReactNode;
13
13
  defaultValue?: string | number;
14
+ defaultLabel?: string;
14
15
  }
15
16
  declare const DSFSelect: FC<DSFSelectProps>;
16
17
  export default DSFSelect;
@@ -1,9 +1,11 @@
1
1
  import React, { FC } from 'react';
2
2
  import '../../resources/css/dsf.main.min.css';
3
3
  export interface DSFTableProps {
4
+ id?: string;
4
5
  columns: TableColumn[];
5
6
  rowData: (string | number | React.ReactNode)[][];
6
7
  hideNumberingColumn?: boolean;
8
+ inputProps?: React.SelectHTMLAttributes<HTMLTableElement>;
7
9
  }
8
10
  declare const DSFTable: FC<DSFTableProps>;
9
11
  interface TableColumn {
@@ -1,6 +1,7 @@
1
1
  import { FC } from 'react';
2
2
  import '../../resources/css/dsf.main.min.css';
3
3
  export interface DSFUserSignOutProps {
4
+ label?: string;
4
5
  fullName: string;
5
6
  onClick?: () => void;
6
7
  href: string;