kwant-ui 3.38.1-dev.8 → 3.38.1-dev.9

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.
@@ -7,10 +7,4 @@ export declare const CalendarSidebar: ({ options, selectedOption, onOptionClick,
7
7
  selectedOption: string;
8
8
  onOptionClick?: (value: () => DateObject[], option?: Pick<SidebarOptionProps, 'title' | 'selected' | 'value'>) => void;
9
9
  }) => import("react/jsx-runtime").JSX.Element;
10
- export declare const CalendarTimeBar: ({ label, timeHour, timeMinute, clockType, }: {
11
- label?: string;
12
- timeHour?: string;
13
- timeMinute?: string;
14
- clockType?: ICalendar.ClockType | string;
15
- }) => import("react/jsx-runtime").JSX.Element;
16
10
  export declare const renderDatepickerNavigationButton: (direction: ICalendar.DatpickerNavigationDirection, handleClick: (event: React.MouseEvent<HTMLButtonElement>) => void) => import("react/jsx-runtime").JSX.Element;
@@ -1,39 +1,8 @@
1
- /// <reference types="react" />
2
1
  export declare const CalendarWrapper: import("styled-components").StyledComponent<"div", any, {}, never>;
3
2
  export declare const CalendarSidebarStyled: import("styled-components").StyledComponent<"div", any, {}, never>;
4
3
  export declare const CalendarSidebarOptions: import("styled-components").StyledComponent<"button", any, {
5
4
  selected?: boolean;
6
5
  }, never>;
7
- export declare const CalendarTimebar: import("styled-components").StyledComponent<"div", any, {}, never>;
8
- export declare const StyledInput: import("styled-components").StyledComponent<import("react").ForwardRefExoticComponent<import("react").InputHTMLAttributes<HTMLInputElement> & {
9
- onClick?: (event: import("react").MouseEvent<HTMLInputElement, MouseEvent>) => void;
10
- onChange?: (event: import("react").ChangeEvent<HTMLInputElement>) => void;
11
- disabled?: boolean;
12
- value?: string | number;
13
- name?: string;
14
- type?: string;
15
- required?: boolean;
16
- readOnly?: boolean;
17
- label?: string;
18
- errorMessage?: string;
19
- error?: boolean;
20
- id?: string;
21
- helperText?: string;
22
- onBlur?: (e: import("react").FocusEvent<HTMLInputElement, Element>) => void;
23
- onFocus?: (e: import("react").FocusEvent<HTMLInputElement, Element>) => void;
24
- rightSection?: import("react").ReactNode;
25
- leftSection?: import("react").ReactNode;
26
- width?: number;
27
- variant?: import("../Input/types").InputComponent.InputVariant;
28
- tooltipContent?: string;
29
- tooltipPosition?: import("../Tooltip/types").TooltipComponent.Position;
30
- } & import("react").RefAttributes<HTMLInputElement>>, any, {}, never>;
31
- export declare const Colon: import("styled-components").StyledComponent<"div", any, {}, never>;
32
- export declare const InputGroup: import("styled-components").StyledComponent<"div", any, {}, never>;
33
- export declare const SelectorStyled: import("styled-components").StyledComponent<({ content, activeKey, onClick, height }: import("../Selector/types").SelectorComponent.Props) => import("react/jsx-runtime").JSX.Element, any, {}, never>;
34
- export declare const TimeBarContainer: import("styled-components").StyledComponent<"div", any, {}, never>;
35
- export declare const TopLabel: import("styled-components").StyledComponent<"label", any, import("../Label/types").LabelComponent.Label, never>;
36
- export declare const TimeBarStyled: import("styled-components").StyledComponent<"div", any, {}, never>;
37
6
  declare const DatepickerNavigationButton: import("styled-components").StyledComponent<"button", any, {}, never>;
38
7
  declare const IconWrapper: import("styled-components").StyledComponent<"div", any, {}, never>;
39
8
  export { DatepickerNavigationButton, IconWrapper };
@@ -6,12 +6,8 @@ export declare namespace ICalendar {
6
6
  type Props = CalendarProps & {
7
7
  range?: boolean;
8
8
  numberOfMonths?: number;
9
- timeHour?: number;
10
- timeMinute?: number;
11
9
  calenderRef?: any;
12
- labels?: string;
13
10
  showSidebar?: boolean;
14
- showTime?: boolean;
15
11
  sidebarOptions?: Omit<SidebarOptionProps, 'onClick'>[];
16
12
  projectDuration?: ProjectDuration;
17
13
  disableFutureDatesOnCustomRange?: boolean;
@@ -19,11 +15,6 @@ export declare namespace ICalendar {
19
15
  rangeDomain?: RangeDomain;
20
16
  onChange?: (date: DateObject | DateObject[], selectedOption?: string) => void;
21
17
  };
22
- type ClockType = 'am' | 'pm';
23
- type CalendarTimeBarProps = {
24
- times: string[];
25
- onTimeChange: (index: number, value: string) => void;
26
- };
27
18
  enum DatpickerNavigationDirectionEnum {
28
19
  right = "right",
29
20
  left = "left"
@@ -5,10 +5,6 @@ export declare const isRangeWithNumberOfMonths: (range: boolean, numberOfMonths:
5
5
  declare const regexInputValidate: (event: ICalendar.InputChangeEvent, onChange: (event: ICalendar.InputChangeEvent) => void) => void;
6
6
  declare const weeks: string[];
7
7
  declare const fullMonthsText: any;
8
- export declare const selectorContent: {
9
- [key: string]: string;
10
- clockType: ICalendar.ClockType;
11
- }[];
12
8
  export declare const getDateObjectForCalendarConstants: (date: string | Date, amount: number, unit: dayjs.ManipulateType, end: 'startOf' | 'endOf') => DateObject;
13
9
  export declare const CALENDAR_CONSTANTS: {
14
10
  TODAY: DateObject[];
@@ -22,9 +18,6 @@ export declare const CALENDAR_CONSTANTS: {
22
18
  THIS_MONTH: DateObject[];
23
19
  PAST_MONTH: DateObject[];
24
20
  CUSTOM_RANGE: DateObject[];
25
- NOW: DateObject[];
26
- LAST_HOUR: DateObject[];
27
- YESTERDAY: DateObject[];
28
21
  };
29
22
  export declare const getSidebarOptions: (projectDuration?: ICalendar.ProjectDuration) => {
30
23
  title: string;
@@ -6,8 +6,12 @@ export declare const OptionsContainer: import("styled-components").StyledCompone
6
6
  separator?: boolean;
7
7
  showScrollbar?: boolean;
8
8
  }, never>;
9
- export declare const Option: import("styled-components").StyledComponent<"div", any, {}, never>;
10
- export declare const CustomOption: import("styled-components").StyledComponent<"div", any, {}, never>;
9
+ export declare const Option: import("styled-components").StyledComponent<"div", any, {
10
+ isSelected?: boolean;
11
+ }, never>;
12
+ export declare const CustomOption: import("styled-components").StyledComponent<"div", any, {
13
+ isSelected?: boolean;
14
+ }, never>;
11
15
  export declare const EmptyResultContainer: import("styled-components").StyledComponent<"div", any, {}, never>;
12
16
  export declare const AddOptionContainer: import("styled-components").StyledComponent<"div", any, {}, never>;
13
17
  export declare const CustomImageOption: import("styled-components").StyledComponent<"div", any, {
@@ -6,7 +6,6 @@ type HorizontalStepperType = {
6
6
  steps?: any;
7
7
  activeStep?: any;
8
8
  setActiveStep?: any;
9
- navigateOnStepClick?: boolean;
10
9
  };
11
- declare const HorizontalStepper: ({ activeStep, setActiveStep, navigateOnStepClick, ...props }: HorizontalStepperType) => import("react/jsx-runtime").JSX.Element;
10
+ declare const HorizontalStepper: ({ activeStep, setActiveStep, ...props }: HorizontalStepperType) => import("react/jsx-runtime").JSX.Element;
12
11
  export { HorizontalStepper };
@@ -1,6 +1,6 @@
1
1
  /// <reference types="react" />
2
2
  export type TGTypes = {
3
- type: 'primary' | 'secondary' | 'success' | 'error' | 'warning' | 'orange' | 'grey' | 'insight';
3
+ type: 'primary' | 'secondary' | 'success' | 'error' | 'warning' | 'orange' | 'grey';
4
4
  size?: 'small' | 'default';
5
5
  avatar?: any;
6
6
  icon?: any;