@true-engineering/true-react-common-ui-kit 4.0.0-alpha32 → 4.0.0-alpha33

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,4 +1,5 @@
1
1
  export * from './FiltersPane';
2
2
  export type { IFiltersPaneStyles } from './FiltersPane.styles';
3
3
  export * from './types';
4
+ export { PERIODS, PERIODS_GETTERS } from './constants';
4
5
  export * from './components';
@@ -27,7 +27,7 @@ export type IPeriodGetter = () => IDatePeriod;
27
27
  export type IFilterWithDatesValue = IDatePeriod;
28
28
  export type MultiSelectOptionType<Value> = Value | undefined extends IFilterMultiSelectValues<infer Option> | undefined ? Option : unknown;
29
29
  export interface IConfigItemBasicBase<Value> {
30
- name: string;
30
+ name: ReactNode;
31
31
  isInline?: boolean;
32
32
  isClearable?: boolean;
33
33
  requiredFilledFilters?: string[];
@@ -37,6 +37,7 @@ export interface IConfigItemBasicBase<Value> {
37
37
  }
38
38
  export type IIntervalConfigItem<Value> = IConfigItemBasicBase<Value> & {
39
39
  type: 'interval';
40
+ name: string;
40
41
  } & Omit<IFilterIntervalProps, 'value' | 'onChange' | 'labelName'>;
41
42
  export interface IBooleanConfigItem<Value> extends IConfigItemBasicBase<Value> {
42
43
  type: 'boolean';
@@ -32738,6 +32738,8 @@ export {
32738
32738
  NewMoreMenu,
32739
32739
  Notification,
32740
32740
  NumberInput,
32741
+ PERIODS,
32742
+ PERIODS_GETTERS,
32741
32743
  PhoneInput,
32742
32744
  RadioButton,
32743
32745
  SLIDE_UP_ANIMATION_DURATION,