@apexcura/ui-components 0.0.16-Beta1018 → 0.0.16-Beta1019

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.
@@ -1,3 +1,11 @@
1
1
  import React from 'react';
2
2
  import { ElementType } from '../Types/types';
3
- export declare const DateRangeSegments: (props: ElementType) => React.JSX.Element;
3
+ interface DateRangeSegmentType {
4
+ values?: string[];
5
+ segmentedValue?: string;
6
+ }
7
+ interface DateRangeSegmentsProps extends ElementType {
8
+ value?: DateRangeSegmentType | null;
9
+ }
10
+ export declare const DateRangeSegments: (props: DateRangeSegmentsProps) => React.JSX.Element;
11
+ export {};
@@ -9,6 +9,10 @@ type PaginationType = {
9
9
  page?: number;
10
10
  pageSize?: number;
11
11
  };
12
+ type DateRangeSegmentType = {
13
+ values?: string[];
14
+ segmentedValue?: string;
15
+ };
12
16
  interface ScheduleType {
13
17
  from: string | null;
14
18
  to: string | null;
@@ -97,7 +101,7 @@ export type ElementType = {
97
101
  errorClassName?: string;
98
102
  expandIconStyles?: boolean;
99
103
  isIconOnly?: boolean;
100
- value?: string | number | boolean | null | object | undefined | string[] | UploadFile[] | PaginationType | dropDownValueProps | radioValueProps | WeekSchedule | autoCompleteProps;
104
+ value?: string | number | boolean | null | object | undefined | string[] | UploadFile[] | PaginationType | DateRangeSegmentType | dropDownValueProps | radioValueProps | WeekSchedule | autoCompleteProps;
101
105
  status?: string | undefined;
102
106
  styles?: React.CSSProperties;
103
107
  variant?: 'outlined' | 'borderless' | 'filled';