kwant-ui 3.31.0 → 3.32.0-alpha.0

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.
@@ -49,6 +49,7 @@ export declare namespace IAreaChart {
49
49
  areaProps?: AreaProps;
50
50
  areaYAxisRightProps?: AreaProps;
51
51
  customTooltipLabelFormatter?: (label: any) => string;
52
+ dateFormat?: string;
52
53
  };
53
54
  type Area = {
54
55
  dataKey: string;
@@ -11,6 +11,7 @@ export declare const TickX: (props: {
11
11
  x?: number;
12
12
  y?: number;
13
13
  payload?: any;
14
+ dateFormat: string;
14
15
  rotate?: number;
15
16
  }) => import("react/jsx-runtime").JSX.Element;
16
17
  export declare const tooltipLabelFormatter: (label: string) => string;
@@ -38,6 +38,7 @@ export declare namespace ILineChart {
38
38
  lineProps?: AreaProps;
39
39
  lineYAxisRightProps?: AreaProps;
40
40
  customTooltipLabelFormatter?: (label: any) => string;
41
+ dateFormat?: string;
41
42
  };
42
43
  type Line = {
43
44
  dataKey: string;
@@ -10,6 +10,7 @@ export declare const TickX: (props: {
10
10
  x?: number;
11
11
  y?: number;
12
12
  payload?: any;
13
+ dateFormat: string;
13
14
  }) => import("react/jsx-runtime").JSX.Element;
14
15
  export declare const tooltipLabelFormatter: (label: string) => string;
15
16
  export declare const TooltipItemRow: ({ color, name, value, }: {
@@ -39,6 +39,7 @@ export declare namespace IStackedBarChart {
39
39
  areaYAxisRightProps?: AreaProps;
40
40
  customTooltipLabelFormatter?: (label: any) => string;
41
41
  customYAxisTickFormatter?: (value: any) => string;
42
+ dateFormat?: string;
42
43
  };
43
44
  type StackedBar = {
44
45
  dataKey: string;
@@ -10,6 +10,7 @@ export declare const TickX: (props: {
10
10
  x?: number;
11
11
  y?: number;
12
12
  payload?: any;
13
+ dateFormat: string;
13
14
  }) => import("react/jsx-runtime").JSX.Element;
14
15
  export declare const TooltipItemRow: ({ color, name, value, }: {
15
16
  color?: string;
@@ -24,6 +24,7 @@ export declare namespace IWeekwiseBarChart {
24
24
  };
25
25
  customYAxisTickFormatter?: (value: any) => string;
26
26
  customXAxisTickFormatter?: (value: any) => string;
27
+ dateFormat?: string;
27
28
  };
28
29
  type CustomLegendType = Omit<Payload, keyof Payload> & {
29
30
  value: string;
@@ -5,6 +5,7 @@ export declare const TickX: (props: {
5
5
  x?: number;
6
6
  y?: number;
7
7
  payload?: any;
8
+ dateFormat: string;
8
9
  rotate?: number;
9
10
  }) => import("react/jsx-runtime").JSX.Element;
10
11
  export declare const renderCustomizedLabel: (props: LabelListContentProps) => import("react/jsx-runtime").JSX.Element;
@@ -37,6 +37,7 @@ export declare namespace IWorkerTimeChart {
37
37
  yAxisRightProps?: YAxisProps;
38
38
  showHourBars?: boolean;
39
39
  showTimeScatters?: boolean;
40
+ dateFormat?: string;
40
41
  };
41
42
  type DataObj = {
42
43
  date: string;
@@ -4,6 +4,13 @@ import { Props as LabelListContentProps } from 'recharts/types/component/Label';
4
4
  export declare const getX: (x: number, width: number) => number;
5
5
  export declare const Divider: import("styled-components").StyledComponent<"div", any, {}, never>;
6
6
  export declare const getHourConditionally: (hour: number) => string;
7
+ export declare const TickX: (props: {
8
+ x?: number;
9
+ y?: number;
10
+ payload?: any;
11
+ dateFormat: string;
12
+ rotate?: number;
13
+ }) => import("react/jsx-runtime").JSX.Element;
7
14
  export declare const renderCustomizedLabel: (props: LabelListContentProps) => import("react/jsx-runtime").JSX.Element;
8
15
  export declare const WorkerTimeChartTooltip: (props: TooltipProps<ValueType, NameType> & {
9
16
  showHourRows?: boolean;
@@ -1,5 +1,6 @@
1
1
  /// <reference types="react" />
2
2
  import { CalendarProps, DatePickerProps } from 'react-multi-date-picker';
3
+ import { InputComponent } from '../Input/types';
3
4
  export declare namespace IDatepicker {
4
5
  type Props = CalendarProps & DatePickerProps & {
5
6
  range?: boolean;
@@ -9,6 +10,7 @@ export declare namespace IDatepicker {
9
10
  required?: boolean;
10
11
  errorMessage?: string;
11
12
  calendarRef?: any;
13
+ inputProps?: InputComponent.Props;
12
14
  };
13
15
  enum DatpickerNavigationDirectionEnum {
14
16
  right = "right",
@@ -20,5 +20,7 @@ declare const Input: import("react").ForwardRefExoticComponent<import("react").I
20
20
  leftSection?: import("react").ReactNode;
21
21
  width?: number;
22
22
  variant?: InputComponent.InputVariant;
23
+ tooltipContent?: string;
24
+ tooltipPosition?: import("../Tooltip/types").TooltipComponent.Position;
23
25
  } & import("react").RefAttributes<HTMLInputElement>>;
24
26
  export { Input };
@@ -1,5 +1,6 @@
1
1
  import { InputHTMLAttributes } from 'react';
2
2
  import { Color } from '../../themes/types';
3
+ import { TooltipComponent } from '../Tooltip/types';
3
4
  export declare namespace InputComponent {
4
5
  type InputVariant = 'mini' | 'normal';
5
6
  type Props = InputHTMLAttributes<HTMLInputElement> & {
@@ -22,6 +23,8 @@ export declare namespace InputComponent {
22
23
  leftSection?: React.ReactNode;
23
24
  width?: number;
24
25
  variant?: InputVariant;
26
+ tooltipContent?: string;
27
+ tooltipPosition?: TooltipComponent.Position;
25
28
  };
26
29
  type Astrik = {
27
30
  disabled: boolean;
@@ -1,3 +1,4 @@
1
1
  import { LabelComponent } from './types';
2
2
  declare const Label: import("styled-components").StyledComponent<"label", any, LabelComponent.Label, never>;
3
- export { Label };
3
+ declare const InputInfoIconContainer: import("styled-components").StyledComponent<"div", any, {}, never>;
4
+ export { Label, InputInfoIconContainer };
@@ -1,3 +1,3 @@
1
1
  import { MSTypes } from './types';
2
- declare const MultiSelect: ({ width, options, activeOptions, setActiveOptions, placeholder, label, variant, dropdownSelectProps, avatarProps, }: MSTypes) => import("react/jsx-runtime").JSX.Element;
2
+ declare const MultiSelect: ({ width, options, activeOptions, setActiveOptions, placeholder, label, variant, dropdownSelectProps, avatarProps, tooltipContent, tooltipPosition, }: MSTypes) => import("react/jsx-runtime").JSX.Element;
3
3
  export { MultiSelect };
@@ -1,6 +1,7 @@
1
1
  import { Dispatch } from 'react';
2
2
  import { IDropdownSelect } from '../DropdownSelect/DropdownSelect.types';
3
3
  import { AvatarDeclarations } from '../Avatar/Avatar.types';
4
+ import { TooltipComponent } from '../Tooltip/types';
4
5
  export type MSTypes = {
5
6
  width?: number;
6
7
  options?: IDropdownSelect.Option[];
@@ -11,6 +12,8 @@ export type MSTypes = {
11
12
  variant?: 'normal' | 'checkbox';
12
13
  dropdownSelectProps?: Omit<IDropdownSelect.Props, 'avatarProps'>;
13
14
  avatarProps?: AvatarDeclarations.Props;
15
+ tooltipContent?: string;
16
+ tooltipPosition?: TooltipComponent.Position;
14
17
  };
15
18
  export type MSStyleTypes = {
16
19
  width?: any;