onekijs-ui 0.21.0 → 0.21.2

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.
Files changed (62) hide show
  1. package/dist/components/datetime/components/CalendarComponent.d.ts +4 -0
  2. package/dist/components/datetime/components/DatePickerComponent.d.ts +4 -0
  3. package/dist/components/datetime/components/DateRangePickerComponent.d.ts +4 -0
  4. package/dist/components/datetime/components/DateTimePickerComponent.d.ts +4 -0
  5. package/dist/components/datetime/components/DateTimeRangePickerComponent.d.ts +4 -0
  6. package/dist/components/datetime/components/PickerComponent.d.ts +4 -0
  7. package/dist/components/datetime/components/QuickTimeRangeComponent.d.ts +4 -0
  8. package/dist/components/datetime/components/TimeComponent.d.ts +4 -0
  9. package/dist/components/datetime/components/TimePickerComponent.d.ts +4 -0
  10. package/dist/components/datetime/components/TimeRangeComponent.d.ts +4 -0
  11. package/dist/components/datetime/components/TimeRangePickerComponent.d.ts +4 -0
  12. package/dist/components/datetime/components/TimeSelectorComponent.d.ts +4 -0
  13. package/dist/components/datetime/components/TimeSelectorPartComponent.d.ts +4 -0
  14. package/dist/components/datetime/hooks/useDatePickerContext.d.ts +4 -0
  15. package/dist/components/datetime/hooks/useDateRangeAdapter.d.ts +7 -0
  16. package/dist/components/datetime/hooks/useQuickRanges.d.ts +4 -0
  17. package/dist/components/datetime/hooks/useTimestampRangeAdapter.d.ts +7 -0
  18. package/dist/components/datetime/index.d.ts +7 -0
  19. package/dist/components/datetime/style.d.ts +2 -0
  20. package/dist/components/datetime/typings.d.ts +150 -0
  21. package/dist/components/datetime/util.d.ts +7 -0
  22. package/dist/components/icon/CalendarIcon.d.ts +4 -0
  23. package/dist/components/icon/util.d.ts +3 -3
  24. package/dist/components/input/typings.d.ts +1 -0
  25. package/dist/components/select/SelectService.d.ts +3 -3
  26. package/dist/index.d.ts +21 -1
  27. package/dist/index.js +1390 -41
  28. package/dist/index.js.map +1 -1
  29. package/dist/index.module.js +1363 -42
  30. package/dist/index.module.js.map +1 -1
  31. package/dist/styles/border.d.ts +1 -1
  32. package/dist/styles/size.d.ts +6 -6
  33. package/dist/styles/typography.d.ts +2 -2
  34. package/dist/utils/date.d.ts +6 -0
  35. package/package.json +3 -3
  36. package/src/components/accordion/components/AccordionPanelTitle.tsx +1 -1
  37. package/src/components/datetime/components/CalendarComponent.tsx +382 -0
  38. package/src/components/datetime/components/DatePickerComponent.tsx +27 -0
  39. package/src/components/datetime/components/DateRangePickerComponent.tsx +40 -0
  40. package/src/components/datetime/components/DateTimePickerComponent.tsx +27 -0
  41. package/src/components/datetime/components/DateTimeRangePickerComponent.tsx +40 -0
  42. package/src/components/datetime/components/PickerComponent.tsx +431 -0
  43. package/src/components/datetime/components/QuickTimeRangeComponent.tsx +29 -0
  44. package/src/components/datetime/components/TimeComponent.tsx +24 -0
  45. package/src/components/datetime/components/TimePickerComponent.tsx +15 -0
  46. package/src/components/datetime/components/TimeRangeComponent.tsx +31 -0
  47. package/src/components/datetime/components/TimeRangePickerComponent.tsx +15 -0
  48. package/src/components/datetime/components/TimeSelectorComponent.tsx +80 -0
  49. package/src/components/datetime/components/TimeSelectorPartComponent.tsx +85 -0
  50. package/src/components/datetime/hooks/useDatePickerContext.ts +8 -0
  51. package/src/components/datetime/hooks/useDateRangeAdapter.ts +25 -0
  52. package/src/components/datetime/hooks/useQuickRanges.ts +58 -0
  53. package/src/components/datetime/hooks/useTimestampRangeAdapter.ts +43 -0
  54. package/src/components/datetime/index.tsx +32 -0
  55. package/src/components/datetime/style.ts +259 -0
  56. package/src/components/datetime/typings.ts +178 -0
  57. package/src/components/datetime/util.ts +64 -0
  58. package/src/components/icon/CalendarIcon.tsx +54 -0
  59. package/src/components/input/components/InputComponent.tsx +4 -0
  60. package/src/components/input/typings.ts +4 -0
  61. package/src/index.ts +55 -5
  62. package/src/utils/date.ts +36 -0
@@ -0,0 +1,4 @@
1
+ import { FC } from 'react';
2
+ import { CalendarComponentProps } from '../typings';
3
+ declare const CalendarComponent: FC<CalendarComponentProps>;
4
+ export default CalendarComponent;
@@ -0,0 +1,4 @@
1
+ import React from 'react';
2
+ import { DatePickerProps } from '../typings';
3
+ declare const DatePickerComponent: React.FC<DatePickerProps>;
4
+ export default DatePickerComponent;
@@ -0,0 +1,4 @@
1
+ import React from 'react';
2
+ import { DateRangePickerProps } from '../typings';
3
+ declare const DateRangePickerComponent: React.FC<DateRangePickerProps>;
4
+ export default DateRangePickerComponent;
@@ -0,0 +1,4 @@
1
+ import React from 'react';
2
+ import { DateTimePickerProps } from '../typings';
3
+ declare const DateTimePickerComponent: React.FC<DateTimePickerProps>;
4
+ export default DateTimePickerComponent;
@@ -0,0 +1,4 @@
1
+ import React from 'react';
2
+ import { DateTimeRangePickerProps } from '../typings';
3
+ declare const DateTimeRangePickerComponent: React.FC<DateTimeRangePickerProps>;
4
+ export default DateTimeRangePickerComponent;
@@ -0,0 +1,4 @@
1
+ import { FC } from 'react';
2
+ import { PickerComponentProps } from '../typings';
3
+ declare const PickerComponent: FC<PickerComponentProps>;
4
+ export default PickerComponent;
@@ -0,0 +1,4 @@
1
+ import React from 'react';
2
+ import { QuickTimeRangeComponentProps } from '../typings';
3
+ declare const QuickTimeRangeComponent: React.FC<QuickTimeRangeComponentProps>;
4
+ export default QuickTimeRangeComponent;
@@ -0,0 +1,4 @@
1
+ import React from 'react';
2
+ import { TimeComponentProps } from '../typings';
3
+ declare const TimeComponent: React.FC<TimeComponentProps>;
4
+ export default TimeComponent;
@@ -0,0 +1,4 @@
1
+ import React from 'react';
2
+ import { TimePickerProps } from '../typings';
3
+ declare const TimePickerComponent: React.FC<TimePickerProps>;
4
+ export default TimePickerComponent;
@@ -0,0 +1,4 @@
1
+ import React from 'react';
2
+ import { TimeRangeComponentProps } from '../typings';
3
+ declare const TimeRangeComponent: React.FC<TimeRangeComponentProps>;
4
+ export default TimeRangeComponent;
@@ -0,0 +1,4 @@
1
+ import React from 'react';
2
+ import { TimePickerProps } from '../typings';
3
+ declare const TimeRangePickerComponent: React.FC<TimePickerProps>;
4
+ export default TimeRangePickerComponent;
@@ -0,0 +1,4 @@
1
+ import React from 'react';
2
+ import { TimeSelectorComponentProps } from '../typings';
3
+ declare const TimeSelectorComponent: React.FC<TimeSelectorComponentProps>;
4
+ export default TimeSelectorComponent;
@@ -0,0 +1,4 @@
1
+ import React from 'react';
2
+ import { TimeSelectorPartComponentProps } from '../typings';
3
+ declare const TimeSelectorPartComponent: React.FC<TimeSelectorPartComponentProps>;
4
+ export default TimeSelectorPartComponent;
@@ -0,0 +1,4 @@
1
+ import React from 'react';
2
+ import { DatePickerContext } from '../typings';
3
+ export declare const DefaultDatePickerContext: React.Context<DatePickerContext>;
4
+ export declare const useDatePickerContext: () => DatePickerContext;
@@ -0,0 +1,7 @@
1
+ import { DateRangeAdapter } from '../typings';
2
+ declare const useDateRangeAdapter: () => DateRangeAdapter<{
3
+ from: Date | null;
4
+ to: Date | null;
5
+ label?: string | null | undefined;
6
+ }>;
7
+ export default useDateRangeAdapter;
@@ -0,0 +1,4 @@
1
+ import { AnonymousObject } from 'onekijs-framework';
2
+ import { DateStringRange, QuickRange } from '../typings';
3
+ declare const useQuickRanges: (ranges: QuickRange | QuickRange[]) => AnonymousObject<DateStringRange>;
4
+ export default useQuickRanges;
@@ -0,0 +1,7 @@
1
+ import { DateRangeAdapter } from '../typings';
2
+ declare const useTimestampRangeAdapter: (format?: 'seconds' | 'milliseconds') => DateRangeAdapter<{
3
+ from: number | null;
4
+ to: number | null;
5
+ label?: string | null | undefined;
6
+ }>;
7
+ export default useTimestampRangeAdapter;
@@ -0,0 +1,7 @@
1
+ /// <reference types="react" />
2
+ export declare const DatePicker: import("styled-components").StyledComponent<import("react").FC<import("./typings").DatePickerProps>, import("styled-components").DefaultTheme, {}, never>;
3
+ export declare const DateRangePicker: import("styled-components").StyledComponent<import("react").FC<import("./typings").DateRangePickerProps>, import("styled-components").DefaultTheme, {}, never>;
4
+ export declare const DateTimePicker: import("styled-components").StyledComponent<import("react").FC<import("./typings").DateTimePickerProps>, import("styled-components").DefaultTheme, {}, never>;
5
+ export declare const DateTimeRangePicker: import("styled-components").StyledComponent<import("react").FC<import("./typings").DateTimeRangePickerProps>, import("styled-components").DefaultTheme, {}, never>;
6
+ export declare const TimePicker: import("styled-components").StyledComponent<import("react").FC<import("./typings").TimePickerProps>, import("styled-components").DefaultTheme, {}, never>;
7
+ export declare const TimeRangePicker: import("styled-components").StyledComponent<import("react").FC<import("./typings").TimePickerProps>, import("styled-components").DefaultTheme, {}, never>;
@@ -0,0 +1,2 @@
1
+ import { ComponentStyle, StylableProps } from '../../styles/typings';
2
+ export declare const datePickerStyle: ComponentStyle<StylableProps>;
@@ -0,0 +1,150 @@
1
+ /// <reference types="react" />
2
+ import { AnonymousObject } from 'onekijs-framework';
3
+ import { StylableProps } from '../../styles/typings';
4
+ import { DropdownWidthModifier } from '../dropdown/typings';
5
+ import { Placement } from '@popperjs/core';
6
+ export type BasePickerProps = StylableProps & {
7
+ animationMs?: number;
8
+ attachDropdownToBody?: boolean;
9
+ autoFocus?: boolean;
10
+ combo?: boolean;
11
+ disabled?: boolean;
12
+ dropdownWidthModifier?: DropdownWidthModifier;
13
+ nullable?: boolean;
14
+ onBlur?: () => void;
15
+ onFocus?: () => void;
16
+ openOnFocus?: boolean;
17
+ placeholder?: string;
18
+ placement?: Placement;
19
+ };
20
+ export type CalendarComponentProps = StylableProps & {
21
+ from: DatePickerDate;
22
+ maxDate?: Date;
23
+ minDate?: Date;
24
+ nextSelectEdge: 'from' | 'to';
25
+ onChange: (formDate: string | undefined, toDate?: string) => void;
26
+ type: DatePickerType;
27
+ to: DatePickerDate;
28
+ };
29
+ export type CalendarDay = {
30
+ active?: boolean;
31
+ current?: boolean;
32
+ startRange?: boolean;
33
+ endRange?: boolean;
34
+ inRange?: boolean;
35
+ day: number;
36
+ month: number;
37
+ year: number;
38
+ };
39
+ export type DateAdapter<T extends any = any> = {
40
+ fromDate: (date: string) => T;
41
+ toDate: (value: T) => string;
42
+ };
43
+ export type DatePickerContext = {
44
+ open: boolean;
45
+ setOpen: (open: boolean) => void;
46
+ triggerRef: React.Dispatch<React.SetStateAction<HTMLElement | null>>;
47
+ nullable?: boolean;
48
+ onChange: (value: string | null) => void;
49
+ };
50
+ export type DatePickerDate = {
51
+ date?: string;
52
+ time?: string;
53
+ year?: string;
54
+ month?: string;
55
+ day?: string;
56
+ hour?: string;
57
+ minute?: string;
58
+ second?: string;
59
+ };
60
+ export type DatePickerProps<T extends any = any> = BasePickerProps & {
61
+ adapter?: DateAdapter<T>;
62
+ onChange?: (value: T | null) => void;
63
+ value?: T | null;
64
+ };
65
+ export type DatePickerType = {
66
+ date: boolean;
67
+ range: boolean;
68
+ time: boolean;
69
+ };
70
+ export type DateQuickRange = {
71
+ label: string;
72
+ from: Date | (() => Date);
73
+ to: Date | (() => Date);
74
+ };
75
+ export type DateRange = {
76
+ from: Date | null;
77
+ to: Date | null;
78
+ label?: string | null;
79
+ };
80
+ export type DateStringRange = {
81
+ from: string | null;
82
+ to: string | null;
83
+ label?: string | null;
84
+ };
85
+ export type TimestampRange = {
86
+ from: number | null;
87
+ to: number | null;
88
+ label?: string | null;
89
+ };
90
+ export type DateRangeAdapter<T extends any = any> = {
91
+ fromDateRange: (range: DateStringRange) => T;
92
+ toDateRange: (value: T) => DateStringRange;
93
+ };
94
+ export type DateRangePickerProps<T extends any = any> = BasePickerProps & {
95
+ adapter?: DateRangeAdapter<T>;
96
+ closeOnQuickSelect?: boolean;
97
+ onChange?: (value: T | null) => void;
98
+ quickRanges?: AnonymousObject<DateStringRange>;
99
+ value?: T | null;
100
+ };
101
+ export type DateTimePickerProps<T extends any = any> = DatePickerProps<T> & DisplayTime;
102
+ export type DateTimeRangePickerProps<T extends any = any> = DateRangePickerProps<T> & DisplayTime;
103
+ export type DefaultQuickRange = 'Last hour' | 'Last day' | 'Last week' | 'Last month' | 'Last year' | 'all';
104
+ export type DisplayTime = {
105
+ displayHours?: boolean;
106
+ displayMinutes?: boolean;
107
+ displaySeconds?: boolean;
108
+ };
109
+ export type PickerComponentProps = BasePickerProps & DisplayTime & {
110
+ closeOnQuickSelect?: boolean;
111
+ type: DatePickerType;
112
+ quickRanges?: AnonymousObject<DateStringRange>;
113
+ value?: string | null;
114
+ onChange?: (value: string | null, label?: string | null) => void;
115
+ label?: string | null;
116
+ };
117
+ export type QuickRange = DefaultQuickRange | DateQuickRange;
118
+ export type QuickTimeRangeComponentProps = {
119
+ currentQuickRangeLabel?: string | null;
120
+ quickRanges: AnonymousObject<DateStringRange>;
121
+ onChange: (quickRangeLabel: string) => void;
122
+ };
123
+ export type TimeComponentProps = StylableProps & Required<DisplayTime> & {
124
+ from: DatePickerDate;
125
+ to: DatePickerDate;
126
+ type: DatePickerType;
127
+ onChange: (value: string, edge: 'from' | 'to') => void;
128
+ };
129
+ export type TimePickerProps = BasePickerProps & DisplayTime & {
130
+ onChange?: (value: string | null) => void;
131
+ value?: string | null;
132
+ };
133
+ export type TimeRangeComponentProps = Required<DisplayTime> & {
134
+ edge: 'from' | 'to';
135
+ value: DatePickerDate;
136
+ type: DatePickerType;
137
+ onChange: (value: string, edge: 'from' | 'to') => void;
138
+ };
139
+ export type TimeSelectorComponentProps = Required<DisplayTime> & {
140
+ edge: 'from' | 'to';
141
+ value: DatePickerDate;
142
+ onChange: (value: string, edge: 'from' | 'to') => void;
143
+ size?: 'small' | 'large';
144
+ };
145
+ export type TimeSelectorPartComponentProps = {
146
+ type: 'hour' | 'minute' | 'second';
147
+ value: string | number;
148
+ onChange: (value: string) => void;
149
+ size?: 'small' | 'large';
150
+ };
@@ -0,0 +1,7 @@
1
+ import { AnonymousObject } from 'onekijs-framework';
2
+ import { DateQuickRange, DateStringRange, DefaultQuickRange } from './typings';
3
+ export declare const dateToString: (d: Date | string | (() => Date)) => string;
4
+ export declare const toDateRange: (value: string | null, label?: string | null) => DateStringRange | null;
5
+ export declare const qr: (quickRange: DefaultQuickRange) => DateQuickRange;
6
+ export declare const defaultQuickRanges: () => AnonymousObject<DateQuickRange>;
7
+ export declare const findQuickRangeLabel: (quickRanges: AnonymousObject<DateStringRange> | undefined, dateRange: DateStringRange | string | null | undefined) => string | undefined;
@@ -0,0 +1,4 @@
1
+ import React from 'react';
2
+ import { IconProps } from './typings';
3
+ declare const _default: import("styled-components").StyledComponent<React.FC<IconProps>, import("styled-components").DefaultTheme, {}, never>;
4
+ export default _default;
@@ -80,7 +80,7 @@ export declare const getIconDivProps: (props: IconProps) => {
80
80
  results?: number | undefined;
81
81
  security?: string | undefined;
82
82
  unselectable?: "on" | "off" | undefined;
83
- inputMode?: "search" | "url" | "text" | "none" | "email" | "tel" | "numeric" | "decimal" | undefined;
83
+ inputMode?: "search" | "text" | "email" | "tel" | "url" | "none" | "numeric" | "decimal" | undefined;
84
84
  is?: string | undefined;
85
85
  'aria-activedescendant'?: string | undefined;
86
86
  'aria-atomic'?: (boolean | "true" | "false") | undefined;
@@ -94,7 +94,7 @@ export declare const getIconDivProps: (props: IconProps) => {
94
94
  'aria-colindextext'?: string | undefined;
95
95
  'aria-colspan'?: number | undefined;
96
96
  'aria-controls'?: string | undefined;
97
- 'aria-current'?: boolean | "step" | "time" | "date" | "true" | "false" | "page" | "location" | undefined;
97
+ 'aria-current'?: boolean | "time" | "step" | "date" | "true" | "false" | "page" | "location" | undefined;
98
98
  'aria-describedby'?: string | undefined;
99
99
  'aria-description'?: string | undefined;
100
100
  'aria-details'?: string | undefined;
@@ -104,7 +104,7 @@ export declare const getIconDivProps: (props: IconProps) => {
104
104
  'aria-expanded'?: (boolean | "true" | "false") | undefined;
105
105
  'aria-flowto'?: string | undefined;
106
106
  'aria-grabbed'?: (boolean | "true" | "false") | undefined;
107
- 'aria-haspopup'?: boolean | "dialog" | "menu" | "listbox" | "grid" | "true" | "false" | "tree" | undefined;
107
+ 'aria-haspopup'?: boolean | "dialog" | "menu" | "true" | "false" | "grid" | "listbox" | "tree" | undefined;
108
108
  'aria-hidden'?: (boolean | "true" | "false") | undefined;
109
109
  'aria-invalid'?: boolean | "true" | "false" | "grammar" | "spelling" | undefined;
110
110
  'aria-keyshortcuts'?: string | undefined;
@@ -7,6 +7,7 @@ export type InputProps = Omit<React.InputHTMLAttributes<HTMLInputElement>, 'size
7
7
  * A component rendered in front of the input component (actually inside the border of the input component)
8
8
  */
9
9
  PrefixComponent?: React.FC<InputProps>;
10
+ selectOnFocus?: boolean;
10
11
  /**
11
12
  * A component rendered in after the input component (actually inside the border of the input component)
12
13
  */
@@ -5,16 +5,16 @@ declare class SelectService<T = any, I extends SelectItem<T> = SelectItem<T>, S
5
5
  protected lastCheckQuery: Query | undefined;
6
6
  get defaultValue(): T | T[] | null | undefined;
7
7
  get defaultValueLoading(): boolean | undefined;
8
- check(): Generator<void | import("redux-saga/effects").AllEffect<import("redux-saga/effects").CallEffect<Generator<I[] | Generator<void | import("redux-saga/effects").CancelEffect | import("redux-saga/effects").ForkEffect<Generator<void | import("redux-saga/effects").CallEffect<true>, void, unknown>> | CollectionFetcherResult<T> | Promise<CollectionFetcherResult<T> | undefined>, CollectionFetcherResult<T>, (import("redux-saga").Task<any> | null) & CollectionFetcherResult<T> & (CollectionFetcherResult<T> | undefined)>, I | undefined, I[] & CollectionFetcherResult<T>>>> | import("redux-saga/effects").AllEffect<Generator<I[] | Generator<void | import("redux-saga/effects").CancelEffect | import("redux-saga/effects").ForkEffect<Generator<void | import("redux-saga/effects").CallEffect<true>, void, unknown>> | CollectionFetcherResult<T> | Promise<CollectionFetcherResult<T> | undefined>, CollectionFetcherResult<T>, (import("redux-saga").Task<any> | null) & CollectionFetcherResult<T> & (CollectionFetcherResult<T> | undefined)>, I | undefined, I[] & CollectionFetcherResult<T>>> | import("redux-saga/effects").CallEffect<void>, void, (I | undefined)[]>;
8
+ check(): Generator<void | import("redux-saga/effects").AllEffect<import("redux-saga/effects").CallEffect<Generator<I[] | Generator<void | CollectionFetcherResult<T> | import("redux-saga/effects").CancelEffect | import("redux-saga/effects").ForkEffect<Generator<void | import("redux-saga/effects").CallEffect<true>, void, unknown>> | Promise<CollectionFetcherResult<T> | undefined>, CollectionFetcherResult<T>, (import("redux-saga").Task<any> | null) & CollectionFetcherResult<T> & (CollectionFetcherResult<T> | undefined)>, I | undefined, I[] & CollectionFetcherResult<T>>>> | import("redux-saga/effects").AllEffect<Generator<I[] | Generator<void | CollectionFetcherResult<T> | import("redux-saga/effects").CancelEffect | import("redux-saga/effects").ForkEffect<Generator<void | import("redux-saga/effects").CallEffect<true>, void, unknown>> | Promise<CollectionFetcherResult<T> | undefined>, CollectionFetcherResult<T>, (import("redux-saga").Task<any> | null) & CollectionFetcherResult<T> & (CollectionFetcherResult<T> | undefined)>, I | undefined, I[] & CollectionFetcherResult<T>>> | import("redux-saga/effects").CallEffect<void>, void, (I | undefined)[]>;
9
9
  get status(): CollectionStatus;
10
10
  setData(data: T[], query?: Query): void;
11
- setDefaultValue(value: T | T[] | null | undefined): Generator<void | Generator<void | import("redux-saga/effects").AllEffect<import("redux-saga/effects").CallEffect<Generator<I[] | Generator<void | import("redux-saga/effects").CancelEffect | import("redux-saga/effects").ForkEffect<Generator<void | import("redux-saga/effects").CallEffect<true>, void, unknown>> | CollectionFetcherResult<T> | Promise<CollectionFetcherResult<T> | undefined>, CollectionFetcherResult<T>, (import("redux-saga").Task<any> | null) & CollectionFetcherResult<T> & (CollectionFetcherResult<T> | undefined)>, I | undefined, I[] & CollectionFetcherResult<T>>>> | import("redux-saga/effects").AllEffect<Generator<I[] | Generator<void | import("redux-saga/effects").CancelEffect | import("redux-saga/effects").ForkEffect<Generator<void | import("redux-saga/effects").CallEffect<true>, void, unknown>> | CollectionFetcherResult<T> | Promise<CollectionFetcherResult<T> | undefined>, CollectionFetcherResult<T>, (import("redux-saga").Task<any> | null) & CollectionFetcherResult<T> & (CollectionFetcherResult<T> | undefined)>, I | undefined, I[] & CollectionFetcherResult<T>>> | import("redux-saga/effects").CallEffect<void>, void, (I | undefined)[]>, void, unknown>;
11
+ setDefaultValue(value: T | T[] | null | undefined): Generator<void | Generator<void | import("redux-saga/effects").AllEffect<import("redux-saga/effects").CallEffect<Generator<I[] | Generator<void | CollectionFetcherResult<T> | import("redux-saga/effects").CancelEffect | import("redux-saga/effects").ForkEffect<Generator<void | import("redux-saga/effects").CallEffect<true>, void, unknown>> | Promise<CollectionFetcherResult<T> | undefined>, CollectionFetcherResult<T>, (import("redux-saga").Task<any> | null) & CollectionFetcherResult<T> & (CollectionFetcherResult<T> | undefined)>, I | undefined, I[] & CollectionFetcherResult<T>>>> | import("redux-saga/effects").AllEffect<Generator<I[] | Generator<void | CollectionFetcherResult<T> | import("redux-saga/effects").CancelEffect | import("redux-saga/effects").ForkEffect<Generator<void | import("redux-saga/effects").CallEffect<true>, void, unknown>> | Promise<CollectionFetcherResult<T> | undefined>, CollectionFetcherResult<T>, (import("redux-saga").Task<any> | null) & CollectionFetcherResult<T> & (CollectionFetcherResult<T> | undefined)>, I | undefined, I[] & CollectionFetcherResult<T>>> | import("redux-saga/effects").CallEffect<void>, void, (I | undefined)[]>, void, unknown>;
12
12
  setDefaultValueLoading(loading: boolean): void;
13
13
  setItemWidth(_item: I, value: number): void;
14
14
  setValue(value: null | T | T[]): void;
15
15
  setUrl(url: string, query?: Query): void;
16
16
  _buildItem(data: T | null | undefined, adaptee: unknown, context?: AnonymousObject): I;
17
- _filterItem(item: I | undefined, query: Query, valid: boolean): Generator<I[] | Generator<void | import("redux-saga/effects").CancelEffect | import("redux-saga/effects").ForkEffect<Generator<void | import("redux-saga/effects").CallEffect<true>, void, unknown>> | CollectionFetcherResult<T> | Promise<CollectionFetcherResult<T> | undefined>, CollectionFetcherResult<T>, (import("redux-saga").Task<any> | null) & CollectionFetcherResult<T> & (CollectionFetcherResult<T> | undefined)>, I | undefined, I[] & CollectionFetcherResult<T>>;
17
+ _filterItem(item: I | undefined, query: Query, valid: boolean): Generator<I[] | Generator<void | CollectionFetcherResult<T> | import("redux-saga/effects").CancelEffect | import("redux-saga/effects").ForkEffect<Generator<void | import("redux-saga/effects").CallEffect<true>, void, unknown>> | Promise<CollectionFetcherResult<T> | undefined>, CollectionFetcherResult<T>, (import("redux-saga").Task<any> | null) & CollectionFetcherResult<T> & (CollectionFetcherResult<T> | undefined)>, I | undefined, I[] & CollectionFetcherResult<T>>;
18
18
  _compareItem(a: I | undefined, b: I | undefined): boolean;
19
19
  _doSearch(search: Primitive | undefined): boolean;
20
20
  _setDefaultValue(value: T | T[] | null | undefined): void;
package/dist/index.d.ts CHANGED
@@ -164,7 +164,7 @@ export { default as alertStyle } from './components/alert/style';
164
164
  export { AlertProps } from './components/alert/typings';
165
165
  export { default as FormCardDisplayer } from './components/card/FormCardDisplayer';
166
166
  export { filterListStyle, tableStyle } from './components/table/style';
167
- export { ArrayTableProps, Cell, CheckboxColumn, CheckboxColumnOptions, ControllerTableProps, EnumColumnOptions, FormCellDisplayerProps, FormTableContext, FormTableItemDisplayerProps, FormTableProps, TableValueDisplayerProps, InputColumn, InputColumnOptions, LinkColumnOptions, SelectCell, SelectColumn, SelectColumnOptions, TableBodyCellProps, TableBodyProps, TableBodyRowProps, TableCellDisplayerProps, TableColumn, TableColumnComputedWidth, TableColumnOptions, TableColumnSpec, TableColumnWidth, TableColumnsState, TableConfig, TableController, TableExpandedProps, TableFilterOperator, TableFilterOperatorProps, TableFooterCellProps, TableFooterProps, TableHeaderCellProps, TableHeaderProps, TableItem, TableItemAdaptee, TableItemAdapter, TableItems, TableNotFoundProps, TableProps, TableRowHandler, TableSortProps, TableState, TextareaColumn, TextareaColumnOptions, UseTableController, UseTableOptions, TableCellSerializer, TableSerializerFormat } from './components/table/typings';
167
+ export { ArrayTableProps, Cell, CheckboxColumn, CheckboxColumnOptions, ControllerTableProps, EnumColumnOptions, FormCellDisplayerProps, FormTableContext, FormTableItemDisplayerProps, FormTableProps, TableValueDisplayerProps, InputColumn, InputColumnOptions, LinkColumnOptions, SelectCell, SelectColumn, SelectColumnOptions, TableBodyCellProps, TableBodyProps, TableBodyRowProps, TableCellDisplayerProps, TableColumn, TableColumnComputedWidth, TableColumnOptions, TableColumnSpec, TableColumnWidth, TableColumnsState, TableConfig, TableController, TableExpandedProps, TableFilterOperator, TableFilterOperatorProps, TableFooterCellProps, TableFooterProps, TableHeaderCellProps, TableHeaderProps, TableItem, TableItemAdaptee, TableItemAdapter, TableItems, TableNotFoundProps, TableProps, TableRowHandler, TableSortProps, TableState, TextareaColumn, TextareaColumnOptions, UseTableController, UseTableOptions, TableCellSerializer, TableSerializerFormat, } from './components/table/typings';
168
168
  export { default as Tag } from './components/tag';
169
169
  export { default as TagComponent } from './components/tag/components/TagComponent';
170
170
  export { tagStyle } from './components/tag/style';
@@ -218,6 +218,26 @@ export { default as WizardModalComponent } from './components/wizard/components/
218
218
  export { default as WizardSummaryComponent } from './components/wizard/components/WizardSummaryComponent';
219
219
  export { wizardModalStyle, wizardStyle, wizardSummaryStyle } from './components/wizard/style';
220
220
  export { ControlledWizardProps, FormStepProps, StepProps, StepState, StepTitleProps, UseWizardController, WizardModalProps, WizardProps, WizardState, } from './components/wizard/typings';
221
+ export { sliderStyle } from './components/slider/style';
222
+ export { default as Slider } from './components/slider';
223
+ export { default as SliderComponent } from './components/slider/components/SliderComponent';
224
+ export { SliderProps } from './components/slider/typings';
225
+ export { datePickerStyle } from './components/datetime/style';
226
+ export { DatePicker, DateRangePicker, DateTimePicker, DateTimeRangePicker, TimePicker, TimeRangePicker, } from './components/datetime';
227
+ export { default as PickerComponent } from './components/datetime/components/PickerComponent';
228
+ export { default as CalendarComponent } from './components/datetime/components/CalendarComponent';
229
+ export { default as DatePickerComponent } from './components/datetime/components/DatePickerComponent';
230
+ export { default as DateRangePickerComponent } from './components/datetime/components/DateRangePickerComponent';
231
+ export { default as DateTimePickerComponent } from './components/datetime/components/DateTimePickerComponent';
232
+ export { default as DateTimeRangePickerComponent } from './components/datetime/components/DateTimeRangePickerComponent';
233
+ export { default as TimePickerComponent } from './components/datetime/components/TimePickerComponent';
234
+ export { default as TimeRangePickerComponent } from './components/datetime/components/TimeRangePickerComponent';
235
+ export { DefaultDatePickerContext, useDatePickerContext } from './components/datetime/hooks/useDatePickerContext';
236
+ export { default as useQuickRanges } from './components/datetime/hooks/useQuickRanges';
237
+ export { default as useDateRangeAdapter } from './components/datetime/hooks/useDateRangeAdapter';
238
+ export { default as useTimestampRangeAdapter } from './components/datetime/hooks/useTimestampRangeAdapter';
239
+ export { DatePickerProps, DateStringRange, DateRangePickerProps, TimeRangeComponentProps, TimeSelectorComponentProps, CalendarComponentProps, PickerComponentProps, CalendarDay, DatePickerContext, DatePickerDate, DatePickerType, TimeComponentProps, TimeSelectorPartComponentProps, BasePickerProps, DateQuickRange, DateTimePickerProps, DateTimeRangePickerProps, DisplayTime, QuickTimeRangeComponentProps, DefaultQuickRange, TimePickerProps, DateAdapter, DateRangeAdapter, DateRange, TimestampRange, } from './components/datetime/typings';
240
+ export { defaultQuickRanges, qr, toDateRange, dateToString, findQuickRangeLabel } from './components/datetime/util';
221
241
  export * from './styles/alignment';
222
242
  export * from './styles/animation';
223
243
  export * from './styles/background';