@sequencing/design-system 1.0.19 → 1.0.21

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,11 +4,15 @@ interface Tab {
4
4
  label: ReactNode;
5
5
  tabId: number;
6
6
  chip?: ReactNode;
7
+ customClass?: string;
7
8
  }
8
9
  export interface TabMenuProps {
9
10
  /** Custom css class to customize the stylings */
10
11
  customClass?: string;
11
- /** Custom css class to apply to individual tabs */
12
+ /**
13
+ * Custom css class to apply to all individual tabs. For full control over individual tabs' classes, set the `customClass`
14
+ * property individually on the `tabs` array
15
+ */
12
16
  tabCustomClass?: string;
13
17
  /** This prop determines tab's 'value' for purposes of switching tabs */
14
18
  tabs: Tab[];
@@ -12,6 +12,14 @@ export interface DatePickerProps {
12
12
  * If null or any falsy value - field will be empty
13
13
  * */
14
14
  startDate?: string | number | Date | undefined;
15
+ /**
16
+ * Maximum and minimum date that can be selected. Use date object or unixtime with ms.
17
+ */
18
+ maxDate?: Date;
19
+ /**
20
+ * Minimum and minimum date that can be selected. Use date object or unixtime with ms.
21
+ */
22
+ minDate?: Date;
15
23
  }
16
24
  declare const DatePicker: (props: DatePickerProps) => React.JSX.Element;
17
25
  export default DatePicker;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sequencing/design-system",
3
- "version": "1.0.19",
3
+ "version": "1.0.21",
4
4
  "description": "Sequencing Design System",
5
5
  "scripts": {
6
6
  "test": "echo \"Error: no test specified\"",