@edvisor/product-language 0.11.112 → 0.11.113
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.
- package/index.cjs +1 -1
- package/index.d.ts +2 -2
- package/index.js +1 -1
- package/lib/components/alert-banner/alert-banner.d.ts +18 -18
- package/lib/components/alert-banner/alert-level-flags.d.ts +18 -18
- package/lib/components/alert-banner/index.d.ts +1 -1
- package/lib/components/autocomplete-input/autocomplete-input.d.ts +39 -39
- package/lib/components/autocomplete-input/index.d.ts +1 -1
- package/lib/components/badge/badge-type-flags.d.ts +18 -18
- package/lib/components/badge/badge.d.ts +7 -7
- package/lib/components/badge/index.d.ts +1 -1
- package/lib/components/card/atoms/card-frame.d.ts +7 -7
- package/lib/components/card/atoms/index.d.ts +1 -1
- package/lib/components/card/card.d.ts +14 -14
- package/lib/components/card/components/card-alert-banner-slot.d.ts +5 -6
- package/lib/components/card/components/card-controls-slot.d.ts +4 -5
- package/lib/components/card/components/card-section-slot.d.ts +11 -11
- package/lib/components/card/components/index.d.ts +3 -3
- package/lib/components/card/index.d.ts +3 -3
- package/lib/components/card/molecules/index.d.ts +1 -1
- package/lib/components/card/molecules/left-right-card.d.ts +16 -16
- package/lib/components/checkbox/checkbox.d.ts +11 -11
- package/lib/components/checkbox/helpers.d.ts +12 -12
- package/lib/components/checkbox/index.d.ts +1 -1
- package/lib/components/date-picker/components/custom-calendar.d.ts +6 -6
- package/lib/components/date-picker/components/index.d.ts +1 -1
- package/lib/components/date-picker/date-picker-utc.d.ts +9 -9
- package/lib/components/date-picker/date-picker.d.ts +19 -19
- package/lib/components/date-picker/helpers/date-picker-factory.d.ts +38 -38
- package/lib/components/date-picker/index.d.ts +2 -2
- package/lib/components/divider/divider-type-flags.d.ts +9 -9
- package/lib/components/divider/divider.d.ts +7 -7
- package/lib/components/divider/index.d.ts +1 -1
- package/lib/components/flag/flag-size-flags.d.ts +22 -22
- package/lib/components/flag/flag.d.ts +4 -4
- package/lib/components/flag/helpers/flag-sprite-sheet.d.ts +5 -5
- package/lib/components/flag/helpers/index.d.ts +1 -1
- package/lib/components/flag/index.d.ts +1 -1
- package/lib/components/flag/types.d.ts +5 -5
- package/lib/components/icon/icon-list.d.ts +149 -150
- package/lib/components/icon/icon.d.ts +149 -149
- package/lib/components/icon/index.d.ts +1 -1
- package/lib/components/index.d.ts +39 -39
- package/lib/components/inline-error/index.d.ts +1 -1
- package/lib/components/inline-error/inline-error.d.ts +7 -7
- package/lib/components/input-field/components/index.d.ts +2 -2
- package/lib/components/input-field/components/labeled-input.d.ts +11 -11
- package/lib/components/input-field/components/stepper.d.ts +7 -7
- package/lib/components/input-field/index.d.ts +4 -4
- package/lib/components/input-field/input-currency.d.ts +23 -22
- package/lib/components/input-field/input-currency.helpers.d.ts +32 -0
- package/lib/components/input-field/input-field.d.ts +27 -27
- package/lib/components/input-field/input-number.d.ts +19 -19
- package/lib/components/input-field/input-text.d.ts +14 -14
- package/lib/components/layout/flex.d.ts +16 -16
- package/lib/components/layout/grid-layout.d.ts +11 -11
- package/lib/components/layout/index.d.ts +3 -3
- package/lib/components/layout/left-right-layout.d.ts +33 -34
- package/lib/components/link/index.d.ts +1 -1
- package/lib/components/link/link.d.ts +14 -14
- package/lib/components/markdown/index.d.ts +1 -1
- package/lib/components/markdown/markdown.d.ts +7 -7
- package/lib/components/menu/index.d.ts +1 -1
- package/lib/components/menu/menu.d.ts +18 -18
- package/lib/components/modal/index.d.ts +3 -3
- package/lib/components/modal/modal-base.d.ts +32 -32
- package/lib/components/modal/modal-destructive.d.ts +16 -16
- package/lib/components/modal/modal.d.ts +16 -16
- package/lib/components/molecules/avatar/avatar-size-flags.d.ts +11 -12
- package/lib/components/molecules/avatar/avatar.d.ts +12 -12
- package/lib/components/molecules/avatar/index.d.ts +1 -1
- package/lib/components/molecules/button/button-flags.d.ts +44 -44
- package/lib/components/molecules/button/button.d.ts +12 -12
- package/lib/components/molecules/button/index.d.ts +1 -1
- package/lib/components/molecules/index.d.ts +4 -4
- package/lib/components/molecules/input-checkbox/index.d.ts +1 -1
- package/lib/components/molecules/input-checkbox/input-checkbox.d.ts +8 -8
- package/lib/components/molecules/simple-menu/SimpleMenu.d.ts +14 -15
- package/lib/components/molecules/simple-menu/index.d.ts +1 -1
- package/lib/components/organisms/choice-list/choice-list.d.ts +9 -9
- package/lib/components/organisms/choice-list/index.d.ts +1 -1
- package/lib/components/organisms/index.d.ts +2 -2
- package/lib/components/organisms/multi-choice-list/index.d.ts +1 -1
- package/lib/components/organisms/multi-choice-list/multi-choice-list.d.ts +11 -11
- package/lib/components/page-header/index.d.ts +1 -1
- package/lib/components/page-header/page-header.d.ts +25 -26
- package/lib/components/pagination/index.d.ts +1 -1
- package/lib/components/pagination/pagination.d.ts +10 -10
- package/lib/components/progress-bar/index.d.ts +1 -1
- package/lib/components/progress-bar/progress-bar-size-flags.d.ts +10 -10
- package/lib/components/progress-bar/progress-bar.d.ts +8 -8
- package/lib/components/radio-button/index.d.ts +1 -1
- package/lib/components/radio-button/radio-button.d.ts +11 -11
- package/lib/components/range-slider/components/bar-chart.d.ts +8 -8
- package/lib/components/range-slider/components/handle.d.ts +12 -12
- package/lib/components/range-slider/components/rail.d.ts +9 -9
- package/lib/components/range-slider/components/slider-component.d.ts +12 -12
- package/lib/components/range-slider/components/slider-inputs.d.ts +15 -16
- package/lib/components/range-slider/components/tick.d.ts +10 -10
- package/lib/components/range-slider/components/track.d.ts +11 -11
- package/lib/components/range-slider/index.d.ts +2 -2
- package/lib/components/range-slider/range-slider.d.ts +16 -16
- package/lib/components/range-slider/slider.d.ts +12 -12
- package/lib/components/range-slider/types.d.ts +11 -11
- package/lib/components/react-select/index.d.ts +1 -1
- package/lib/components/react-select/react-select.d.ts +14 -15
- package/lib/components/select/components/helpers.d.ts +17 -17
- package/lib/components/select/components/menu-container.d.ts +3 -3
- package/lib/components/select/components/menu-list-expanded.d.ts +6 -6
- package/lib/components/select/components/menu-list.d.ts +3 -3
- package/lib/components/select/components/menu-row.d.ts +11 -11
- package/lib/components/select/components/menu.d.ts +2 -3
- package/lib/components/select/components/option.d.ts +2 -3
- package/lib/components/select/components/optionMultiLevel.d.ts +2 -3
- package/lib/components/select/components/optionMultilevelExpanded.d.ts +5 -5
- package/lib/components/select/components/select-label.d.ts +1 -1
- package/lib/components/select/components/value-component-multi.d.ts +4 -4
- package/lib/components/select/components/value-component-single.d.ts +5 -4
- package/lib/components/select/components/value.d.ts +5 -4
- package/lib/components/select/index.d.ts +4 -4
- package/lib/components/select/select.d.ts +7 -10
- package/lib/components/select/types.d.ts +300 -300
- package/lib/components/select/utils.d.ts +16 -16
- package/lib/components/select-with-groups/index.d.ts +2 -2
- package/lib/components/select-with-groups/select-with-groups.d.ts +35 -35
- package/lib/components/spinner/index.d.ts +1 -1
- package/lib/components/spinner/spinner-size-flags.d.ts +10 -10
- package/lib/components/spinner/spinner.d.ts +9 -9
- package/lib/components/stepper/index.d.ts +1 -1
- package/lib/components/stepper/stepper.d.ts +9 -9
- package/lib/components/switch/index.d.ts +1 -1
- package/lib/components/switch/switch.d.ts +13 -13
- package/lib/components/table/hooks/index.d.ts +4 -4
- package/lib/components/table/hooks/useFilteredRows.d.ts +5 -5
- package/lib/components/table/hooks/usePaginatedRows.d.ts +12 -12
- package/lib/components/table/hooks/useSortedRows.d.ts +6 -6
- package/lib/components/table/hooks/useTable.d.ts +47 -47
- package/lib/components/table/index.d.ts +2 -2
- package/lib/components/table/table.d.ts +28 -28
- package/lib/components/tabs/components/index.d.ts +1 -1
- package/lib/components/tabs/components/tab.d.ts +10 -10
- package/lib/components/tabs/index.d.ts +1 -1
- package/lib/components/tabs/tabs.d.ts +18 -18
- package/lib/components/tag/components/close-button.d.ts +8 -8
- package/lib/components/tag/components/index.d.ts +2 -2
- package/lib/components/tag/components/tag-label.d.ts +8 -8
- package/lib/components/tag/index.d.ts +1 -1
- package/lib/components/tag/tag.d.ts +10 -10
- package/lib/components/text-area/index.d.ts +1 -1
- package/lib/components/text-area/text-area.d.ts +11 -11
- package/lib/components/text-toggle/index.d.ts +1 -1
- package/lib/components/text-toggle/text-toggle.d.ts +10 -10
- package/lib/components/thumbnail/index.d.ts +1 -1
- package/lib/components/thumbnail/thumbnail-size-flags.d.ts +10 -10
- package/lib/components/thumbnail/thumbnail.d.ts +10 -10
- package/lib/components/toast/index.d.ts +1 -1
- package/lib/components/toast/toast.d.ts +17 -17
- package/lib/components/tooltip/index.d.ts +1 -1
- package/lib/components/tooltip/tooltip.d.ts +30 -30
- package/lib/components/tree-view/components/tree-node.d.ts +3 -3
- package/lib/components/tree-view/helper.d.ts +12 -12
- package/lib/components/tree-view/index.d.ts +2 -2
- package/lib/components/tree-view/tree-view.d.ts +3 -3
- package/lib/components/tree-view/types.d.ts +63 -63
- package/lib/components/typography/index.d.ts +1 -1
- package/lib/components/typography/typography.d.ts +27 -27
- package/lib/foundations/color-system/base-palette/base-palette.d.ts +76 -76
- package/lib/foundations/color-system/base-palette/index.d.ts +1 -1
- package/lib/foundations/color-system/color-guidelines/color-guidelines.d.ts +133 -133
- package/lib/foundations/color-system/color-guidelines/index.d.ts +1 -1
- package/lib/foundations/color-system/components/color-sample.d.ts +17 -17
- package/lib/foundations/color-system/components/index.d.ts +1 -1
- package/lib/foundations/color-system/index.d.ts +2 -2
- package/lib/foundations/index.d.ts +4 -4
- package/lib/foundations/shadows/components.d.ts +8 -8
- package/lib/foundations/shadows/index.d.ts +1 -1
- package/lib/foundations/shadows/shadows.d.ts +8 -8
- package/lib/foundations/spacing/index.d.ts +1 -1
- package/lib/foundations/spacing/spacing-guidelines.d.ts +37 -37
- package/lib/foundations/spacing/spacing.d.ts +19 -19
- package/lib/foundations/typography/constants.d.ts +39 -39
- package/lib/foundations/typography/fonts.d.ts +1 -1
- package/lib/foundations/typography/index.d.ts +2 -2
- package/lib/foundations/typography/text-aspect-flags.d.ts +30 -30
- package/lib/foundations/typography/typography.d.ts +24 -24
- package/lib/helpers/generic-types.d.ts +21 -21
- package/lib/helpers/index.d.ts +10 -10
- package/lib/helpers/isReactElementOfType.d.ts +6 -8
- package/lib/helpers/nothing.d.ts +9 -10
- package/lib/helpers/numbers.d.ts +51 -51
- package/lib/helpers/safe-navigation.d.ts +26 -26
- package/lib/helpers/slots.d.ts +17 -17
- package/lib/helpers/strings.d.ts +1 -1
- package/lib/helpers/useClickOutside.d.ts +2 -2
- package/lib/helpers/useInputElementState.d.ts +30 -30
- package/lib/helpers/useIsMobile.d.ts +1 -1
- package/lib/helpers/useKeyDown.d.ts +1 -1
- package/package.json +5 -5
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { InputHTMLAttributes } from 'react';
|
|
2
|
-
import { FC } from '@helpers';
|
|
3
|
-
export
|
|
4
|
-
label: string;
|
|
5
|
-
error?: boolean;
|
|
6
|
-
onChange?: (change: boolean) => void;
|
|
7
|
-
};
|
|
8
|
-
export declare const InputCheckbox: FC<IInputCheckboxProps>;
|
|
1
|
+
import { InputHTMLAttributes } from 'react';
|
|
2
|
+
import { FC } from '@helpers';
|
|
3
|
+
export type IInputCheckboxProps = InputHTMLAttributes<HTMLInputElement> & {
|
|
4
|
+
label: string;
|
|
5
|
+
error?: boolean;
|
|
6
|
+
onChange?: (change: boolean) => void;
|
|
7
|
+
};
|
|
8
|
+
export declare const InputCheckbox: FC<IInputCheckboxProps>;
|
|
@@ -1,15 +1,14 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
export declare
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
};
|
|
1
|
+
export declare const SimpleMenu: import("styled-components").StyledComponent<import("@helpers").FC<import("components/card").ICardProps, {
|
|
2
|
+
Section: typeof import("../../card/components").CardSectionSlot;
|
|
3
|
+
Controls: typeof import("../../card/components").CardControlsSlot;
|
|
4
|
+
HeadingAction: typeof import("../../card/components").CardHeadingActionSlot;
|
|
5
|
+
AlertBanner: typeof import("../../card/components").CardAlertBannerSlot;
|
|
6
|
+
}>, any, {}, never>;
|
|
7
|
+
export declare const SimpleMenuItem: import("styled-components").StyledComponent<"li", any, {}, never>;
|
|
8
|
+
export declare function useSimpleMenuState(): {
|
|
9
|
+
isOpen: boolean;
|
|
10
|
+
toggle: () => void;
|
|
11
|
+
open: () => void;
|
|
12
|
+
close: () => void;
|
|
13
|
+
clickOutsideRef: import("react").RefObject<HTMLDivElement>;
|
|
14
|
+
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export * from './SimpleMenu';
|
|
1
|
+
export * from './SimpleMenu';
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { FC } from '@helpers';
|
|
2
|
-
import { IRadioOption } from 'components/select/types';
|
|
3
|
-
export interface IOptionGroup {
|
|
4
|
-
selected: unknown;
|
|
5
|
-
options: IRadioOption[];
|
|
6
|
-
onChange: (value: string) => void;
|
|
7
|
-
name?: string;
|
|
8
|
-
}
|
|
9
|
-
export declare const ChoiceList: FC<IOptionGroup>;
|
|
1
|
+
import { FC } from '@helpers';
|
|
2
|
+
import { IRadioOption } from 'components/select/types';
|
|
3
|
+
export interface IOptionGroup {
|
|
4
|
+
selected: unknown;
|
|
5
|
+
options: IRadioOption[];
|
|
6
|
+
onChange: (value: string) => void;
|
|
7
|
+
name?: string;
|
|
8
|
+
}
|
|
9
|
+
export declare const ChoiceList: FC<IOptionGroup>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export * from './choice-list';
|
|
1
|
+
export * from './choice-list';
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export * from './multi-choice-list';
|
|
2
|
-
export * from './choice-list';
|
|
1
|
+
export * from './multi-choice-list';
|
|
2
|
+
export * from './choice-list';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export * from './multi-choice-list';
|
|
1
|
+
export * from './multi-choice-list';
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { FC } from '@helpers';
|
|
2
|
-
import { IInputCheckboxProps } from 'components/molecules/input-checkbox';
|
|
3
|
-
interface IOption extends IInputCheckboxProps {
|
|
4
|
-
helpfulMessage?: string;
|
|
5
|
-
}
|
|
6
|
-
interface IMultiChoiceList {
|
|
7
|
-
options: IOption[];
|
|
8
|
-
className?: string;
|
|
9
|
-
}
|
|
10
|
-
export declare const MultiChoiceList: FC<IMultiChoiceList>;
|
|
11
|
-
export {};
|
|
1
|
+
import { FC } from '@helpers';
|
|
2
|
+
import { IInputCheckboxProps } from 'components/molecules/input-checkbox';
|
|
3
|
+
interface IOption extends IInputCheckboxProps {
|
|
4
|
+
helpfulMessage?: string;
|
|
5
|
+
}
|
|
6
|
+
interface IMultiChoiceList {
|
|
7
|
+
options: IOption[];
|
|
8
|
+
className?: string;
|
|
9
|
+
}
|
|
10
|
+
export declare const MultiChoiceList: FC<IMultiChoiceList>;
|
|
11
|
+
export {};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export * from './page-header';
|
|
1
|
+
export * from './page-header';
|
|
@@ -1,26 +1,25 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
export
|
|
26
|
-
export {};
|
|
1
|
+
import { FC, PropsWithChildren, Slot } from '@helpers';
|
|
2
|
+
export interface IPageHeaderProps extends PropsWithChildren {
|
|
3
|
+
title: string;
|
|
4
|
+
thumbnailUrl?: string;
|
|
5
|
+
subtitle?: string;
|
|
6
|
+
className?: string;
|
|
7
|
+
}
|
|
8
|
+
interface INavigationProps {
|
|
9
|
+
onClick: () => void;
|
|
10
|
+
label: string;
|
|
11
|
+
}
|
|
12
|
+
declare class Navigation extends Slot<INavigationProps> {
|
|
13
|
+
render(): import("react/jsx-runtime").JSX.Element;
|
|
14
|
+
}
|
|
15
|
+
declare class Controls extends Slot {
|
|
16
|
+
}
|
|
17
|
+
declare class Metadata extends Slot {
|
|
18
|
+
}
|
|
19
|
+
type SubComponents = {
|
|
20
|
+
Navigation: typeof Navigation;
|
|
21
|
+
Controls: typeof Controls;
|
|
22
|
+
Metadata: typeof Metadata;
|
|
23
|
+
};
|
|
24
|
+
export declare const PageHeader: FC<IPageHeaderProps, SubComponents>;
|
|
25
|
+
export {};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export * from './pagination';
|
|
1
|
+
export * from './pagination';
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { InputHTMLAttributes } from 'react';
|
|
2
|
-
interface IPaginationProps {
|
|
3
|
-
page: number;
|
|
4
|
-
total: number;
|
|
5
|
-
buttonsOnly?: boolean;
|
|
6
|
-
onChange: (page: number) => void;
|
|
7
|
-
}
|
|
8
|
-
|
|
9
|
-
export declare const Pagination: (props: IProps) => JSX.Element;
|
|
10
|
-
export {};
|
|
1
|
+
import { InputHTMLAttributes } from 'react';
|
|
2
|
+
interface IPaginationProps {
|
|
3
|
+
page: number;
|
|
4
|
+
total: number;
|
|
5
|
+
buttonsOnly?: boolean;
|
|
6
|
+
onChange: (page: number) => void;
|
|
7
|
+
}
|
|
8
|
+
type IProps = IPaginationProps & Omit<InputHTMLAttributes<HTMLInputElement>, 'onChange'>;
|
|
9
|
+
export declare const Pagination: (props: IProps) => import("react/jsx-runtime").JSX.Element;
|
|
10
|
+
export {};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export * from './progress-bar';
|
|
1
|
+
export * from './progress-bar';
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { MappedEnum, RequireOnlyOne } from '@helpers';
|
|
2
|
-
declare const enum ProgressBarSize {
|
|
3
|
-
small = 1,
|
|
4
|
-
medium = 2,
|
|
5
|
-
large = 4
|
|
6
|
-
}
|
|
7
|
-
|
|
8
|
-
export
|
|
9
|
-
export declare function getValuesBySize(props: IProgressBarSizeProps): string;
|
|
10
|
-
export {};
|
|
1
|
+
import { MappedEnum, RequireOnlyOne } from '@helpers';
|
|
2
|
+
declare const enum ProgressBarSize {
|
|
3
|
+
small = 1,
|
|
4
|
+
medium = 2,
|
|
5
|
+
large = 4
|
|
6
|
+
}
|
|
7
|
+
type ProgressBarSizes<T> = MappedEnum<typeof ProgressBarSize, T>;
|
|
8
|
+
export type IProgressBarSizeProps = Partial<RequireOnlyOne<ProgressBarSizes<boolean>>>;
|
|
9
|
+
export declare function getValuesBySize(props: IProgressBarSizeProps): string;
|
|
10
|
+
export {};
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { InputHTMLAttributes } from 'react';
|
|
2
|
-
import { FC } from '@helpers';
|
|
3
|
-
import { IProgressBarSizeProps } from './progress-bar-size-flags';
|
|
4
|
-
export interface IProgressBarProps {
|
|
5
|
-
progress: number;
|
|
6
|
-
}
|
|
7
|
-
export
|
|
8
|
-
export declare const ProgressBar: FC<IProgressBar>;
|
|
1
|
+
import { InputHTMLAttributes } from 'react';
|
|
2
|
+
import { FC } from '@helpers';
|
|
3
|
+
import { IProgressBarSizeProps } from './progress-bar-size-flags';
|
|
4
|
+
export interface IProgressBarProps {
|
|
5
|
+
progress: number;
|
|
6
|
+
}
|
|
7
|
+
export type IProgressBar = IProgressBarProps & IProgressBarSizeProps & InputHTMLAttributes<HTMLInputElement>;
|
|
8
|
+
export declare const ProgressBar: FC<IProgressBar>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export * from './radio-button';
|
|
1
|
+
export * from './radio-button';
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { InputHTMLAttributes } from 'react';
|
|
2
|
-
import { FC } from '@helpers';
|
|
3
|
-
import { ReactNode } from 'react';
|
|
4
|
-
export declare const Radio: import("styled-components").StyledComponent<"input", any, {}, never>;
|
|
5
|
-
export interface InputElementProps extends InputHTMLAttributes<HTMLInputElement> {
|
|
6
|
-
label: string | ReactNode;
|
|
7
|
-
id: string;
|
|
8
|
-
key?: string;
|
|
9
|
-
disabled?: boolean;
|
|
10
|
-
}
|
|
11
|
-
export declare const RadioButton: FC<InputElementProps>;
|
|
1
|
+
import { InputHTMLAttributes } from 'react';
|
|
2
|
+
import { FC } from '@helpers';
|
|
3
|
+
import { ReactNode } from 'react';
|
|
4
|
+
export declare const Radio: import("styled-components").StyledComponent<"input", any, {}, never>;
|
|
5
|
+
export interface InputElementProps extends InputHTMLAttributes<HTMLInputElement> {
|
|
6
|
+
label: string | ReactNode;
|
|
7
|
+
id: string;
|
|
8
|
+
key?: string;
|
|
9
|
+
disabled?: boolean;
|
|
10
|
+
}
|
|
11
|
+
export declare const RadioButton: FC<InputElementProps>;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { FC } from '@helpers';
|
|
2
|
-
interface IProps {
|
|
3
|
-
data: number[];
|
|
4
|
-
highlight: number[];
|
|
5
|
-
domain: number[];
|
|
6
|
-
}
|
|
7
|
-
export declare const BarChartComponent: FC<IProps>;
|
|
8
|
-
export {};
|
|
1
|
+
import { FC } from '@helpers';
|
|
2
|
+
interface IProps {
|
|
3
|
+
data: number[];
|
|
4
|
+
highlight: number[];
|
|
5
|
+
domain: number[];
|
|
6
|
+
}
|
|
7
|
+
export declare const BarChartComponent: FC<IProps>;
|
|
8
|
+
export {};
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { CSSProperties } from 'react';
|
|
2
|
-
import { FC } from '@helpers';
|
|
3
|
-
import { GetHandleProps, SliderItem } from 'react-compound-slider';
|
|
4
|
-
interface IHandleComponent {
|
|
5
|
-
domain: number[];
|
|
6
|
-
handle: SliderItem;
|
|
7
|
-
classes?: CSSProperties;
|
|
8
|
-
thumbHeight: number;
|
|
9
|
-
getHandleProps: GetHandleProps;
|
|
10
|
-
}
|
|
11
|
-
export declare const HandleComponent: FC<IHandleComponent>;
|
|
12
|
-
export {};
|
|
1
|
+
import { CSSProperties } from 'react';
|
|
2
|
+
import { FC } from '@helpers';
|
|
3
|
+
import { GetHandleProps, SliderItem } from 'react-compound-slider';
|
|
4
|
+
interface IHandleComponent {
|
|
5
|
+
domain: number[];
|
|
6
|
+
handle: SliderItem;
|
|
7
|
+
classes?: CSSProperties;
|
|
8
|
+
thumbHeight: number;
|
|
9
|
+
getHandleProps: GetHandleProps;
|
|
10
|
+
}
|
|
11
|
+
export declare const HandleComponent: FC<IHandleComponent>;
|
|
12
|
+
export {};
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { FC } from '@helpers';
|
|
2
|
-
import { GetRailProps } from 'react-compound-slider';
|
|
3
|
-
interface IRailComponent {
|
|
4
|
-
getRailProps: GetRailProps;
|
|
5
|
-
trackHeight: number;
|
|
6
|
-
thumbHeight: number;
|
|
7
|
-
}
|
|
8
|
-
export declare const RailComponent: FC<IRailComponent>;
|
|
9
|
-
export {};
|
|
1
|
+
import { FC } from '@helpers';
|
|
2
|
+
import { GetRailProps } from 'react-compound-slider';
|
|
3
|
+
interface IRailComponent {
|
|
4
|
+
getRailProps: GetRailProps;
|
|
5
|
+
trackHeight: number;
|
|
6
|
+
thumbHeight: number;
|
|
7
|
+
}
|
|
8
|
+
export declare const RailComponent: FC<IRailComponent>;
|
|
9
|
+
export {};
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { FC } from '@helpers';
|
|
2
|
-
import { SliderType } from '../types';
|
|
3
|
-
interface IProps {
|
|
4
|
-
mode: 1 | 2 | 3;
|
|
5
|
-
domain: number[];
|
|
6
|
-
values: ReadonlyArray<number>;
|
|
7
|
-
type: SliderType;
|
|
8
|
-
onChange: (values: ReadonlyArray<number>) => void;
|
|
9
|
-
onUpdate?: (values: ReadonlyArray<number>) => void;
|
|
10
|
-
}
|
|
11
|
-
export declare const SliderComponent: FC<IProps>;
|
|
12
|
-
export {};
|
|
1
|
+
import { FC } from '@helpers';
|
|
2
|
+
import { SliderType } from '../types';
|
|
3
|
+
interface IProps {
|
|
4
|
+
mode: 1 | 2 | 3;
|
|
5
|
+
domain: number[];
|
|
6
|
+
values: ReadonlyArray<number>;
|
|
7
|
+
type: SliderType;
|
|
8
|
+
onChange: (values: ReadonlyArray<number>) => void;
|
|
9
|
+
onUpdate?: (values: ReadonlyArray<number>) => void;
|
|
10
|
+
}
|
|
11
|
+
export declare const SliderComponent: FC<IProps>;
|
|
12
|
+
export {};
|
|
@@ -1,16 +1,15 @@
|
|
|
1
|
-
|
|
2
|
-
import {
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
export
|
|
16
|
-
export {};
|
|
1
|
+
import { FC } from '@helpers';
|
|
2
|
+
import { SliderType } from '../types';
|
|
3
|
+
interface ISliderInputs {
|
|
4
|
+
onChange: (range: number[]) => void;
|
|
5
|
+
onKeyUp: (e: React.KeyboardEvent<HTMLInputElement>) => void;
|
|
6
|
+
range: ReadonlyArray<number>;
|
|
7
|
+
minValue: number;
|
|
8
|
+
maxValue: number;
|
|
9
|
+
maxLabel?: string;
|
|
10
|
+
minLabel?: string;
|
|
11
|
+
type: SliderType;
|
|
12
|
+
prefix?: string;
|
|
13
|
+
}
|
|
14
|
+
export declare const SliderInputs: FC<ISliderInputs>;
|
|
15
|
+
export {};
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { FC } from '@helpers';
|
|
2
|
-
import { ReactNode } from 'react';
|
|
3
|
-
import { SliderItem } from 'react-compound-slider';
|
|
4
|
-
interface ITickComponent {
|
|
5
|
-
tick: SliderItem;
|
|
6
|
-
count: number;
|
|
7
|
-
format?: (value: number) => ReactNode;
|
|
8
|
-
}
|
|
9
|
-
export declare const TickComponent: FC<ITickComponent>;
|
|
10
|
-
export {};
|
|
1
|
+
import { FC } from '@helpers';
|
|
2
|
+
import { ReactNode } from 'react';
|
|
3
|
+
import { SliderItem } from 'react-compound-slider';
|
|
4
|
+
interface ITickComponent {
|
|
5
|
+
tick: SliderItem;
|
|
6
|
+
count: number;
|
|
7
|
+
format?: (value: number) => ReactNode;
|
|
8
|
+
}
|
|
9
|
+
export declare const TickComponent: FC<ITickComponent>;
|
|
10
|
+
export {};
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { FC } from '@helpers';
|
|
2
|
-
import { GetTrackProps, SliderItem } from 'react-compound-slider';
|
|
3
|
-
interface ITrackComponent {
|
|
4
|
-
source: SliderItem;
|
|
5
|
-
target: SliderItem;
|
|
6
|
-
trackHeight: number;
|
|
7
|
-
thumbHeight: number;
|
|
8
|
-
getTrackProps: GetTrackProps;
|
|
9
|
-
}
|
|
10
|
-
export declare const TrackComponent: FC<ITrackComponent>;
|
|
11
|
-
export {};
|
|
1
|
+
import { FC } from '@helpers';
|
|
2
|
+
import { GetTrackProps, SliderItem } from 'react-compound-slider';
|
|
3
|
+
interface ITrackComponent {
|
|
4
|
+
source: SliderItem;
|
|
5
|
+
target: SliderItem;
|
|
6
|
+
trackHeight: number;
|
|
7
|
+
thumbHeight: number;
|
|
8
|
+
getTrackProps: GetTrackProps;
|
|
9
|
+
}
|
|
10
|
+
export declare const TrackComponent: FC<ITrackComponent>;
|
|
11
|
+
export {};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export * from './range-slider';
|
|
2
|
-
export * from './slider';
|
|
1
|
+
export * from './range-slider';
|
|
2
|
+
export * from './slider';
|
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
import { FC } from '@helpers';
|
|
2
|
-
interface IRangeSlider {
|
|
3
|
-
data?: number[];
|
|
4
|
-
editable?: boolean;
|
|
5
|
-
prefix?: string;
|
|
6
|
-
min?: number;
|
|
7
|
-
max?: number;
|
|
8
|
-
graphHeight?: number;
|
|
9
|
-
maxLabel?: string;
|
|
10
|
-
minLabel?: string;
|
|
11
|
-
values: number[];
|
|
12
|
-
onChange?: (value: number[]) => void;
|
|
13
|
-
onKeyUp?: (value: number) => void;
|
|
14
|
-
}
|
|
15
|
-
export declare const RangeSlider: FC<IRangeSlider>;
|
|
16
|
-
export {};
|
|
1
|
+
import { FC } from '@helpers';
|
|
2
|
+
interface IRangeSlider {
|
|
3
|
+
data?: number[];
|
|
4
|
+
editable?: boolean;
|
|
5
|
+
prefix?: string;
|
|
6
|
+
min?: number;
|
|
7
|
+
max?: number;
|
|
8
|
+
graphHeight?: number;
|
|
9
|
+
maxLabel?: string;
|
|
10
|
+
minLabel?: string;
|
|
11
|
+
values: number[];
|
|
12
|
+
onChange?: (value: number[]) => void;
|
|
13
|
+
onKeyUp?: (value: number) => void;
|
|
14
|
+
}
|
|
15
|
+
export declare const RangeSlider: FC<IRangeSlider>;
|
|
16
|
+
export {};
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { FC } from '@helpers';
|
|
2
|
-
interface ISlider {
|
|
3
|
-
min?: number;
|
|
4
|
-
max: number;
|
|
5
|
-
value: number;
|
|
6
|
-
prefix?: string;
|
|
7
|
-
editable?: boolean;
|
|
8
|
-
onChange?: (value: number) => void;
|
|
9
|
-
onKeyUp?: (value: number) => void;
|
|
10
|
-
}
|
|
11
|
-
export declare const Slider: FC<ISlider>;
|
|
12
|
-
export {};
|
|
1
|
+
import { FC } from '@helpers';
|
|
2
|
+
interface ISlider {
|
|
3
|
+
min?: number;
|
|
4
|
+
max: number;
|
|
5
|
+
value: number;
|
|
6
|
+
prefix?: string;
|
|
7
|
+
editable?: boolean;
|
|
8
|
+
onChange?: (value: number) => void;
|
|
9
|
+
onKeyUp?: (value: number) => void;
|
|
10
|
+
}
|
|
11
|
+
export declare const Slider: FC<ISlider>;
|
|
12
|
+
export {};
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
export declare enum SliderType {
|
|
2
|
-
SLIDER = 0,
|
|
3
|
-
RANGE_SLIDER = 1
|
|
4
|
-
}
|
|
5
|
-
export declare enum ValueType {
|
|
6
|
-
MIN = 0,
|
|
7
|
-
MAX = 1
|
|
8
|
-
}
|
|
9
|
-
export declare const FieldContainer: import("styled-components").StyledComponent<"div", any, {
|
|
10
|
-
margin: string;
|
|
11
|
-
}, never>;
|
|
1
|
+
export declare enum SliderType {
|
|
2
|
+
SLIDER = 0,
|
|
3
|
+
RANGE_SLIDER = 1
|
|
4
|
+
}
|
|
5
|
+
export declare enum ValueType {
|
|
6
|
+
MIN = 0,
|
|
7
|
+
MAX = 1
|
|
8
|
+
}
|
|
9
|
+
export declare const FieldContainer: import("styled-components").StyledComponent<"div", any, {
|
|
10
|
+
margin: string;
|
|
11
|
+
}, never>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export * from './react-select';
|
|
1
|
+
export * from './react-select';
|
|
@@ -1,15 +1,14 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
}
|
|
7
|
-
export
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
export declare const ReactSelect: <Option = unknown, IsMulti extends boolean = boolean>(props: IReactSelectProps<Option, IsMulti>) => JSX.Element;
|
|
1
|
+
import { Props as ReactSelectProps } from 'react-select-v5';
|
|
2
|
+
export interface IReactSelectOption {
|
|
3
|
+
label: string;
|
|
4
|
+
value: string | number;
|
|
5
|
+
}
|
|
6
|
+
export type { Props as ReactSelectProps, StylesConfig, GroupBase, OptionProps, SingleValueProps, MultiValueProps, ControlProps, MenuProps, OptionsOrGroups, OnChangeValue, ActionMeta, InputActionMeta, MenuPlacement, MenuPosition, } from 'react-select-v5';
|
|
7
|
+
export interface IReactSelectProps<Option = unknown, IsMulti extends boolean = boolean> extends Omit<ReactSelectProps<Option, IsMulti>, never> {
|
|
8
|
+
showMagnifyingGlass?: boolean;
|
|
9
|
+
label?: string;
|
|
10
|
+
required?: boolean;
|
|
11
|
+
invalid?: boolean;
|
|
12
|
+
hideValueOnMenuOpen?: boolean;
|
|
13
|
+
}
|
|
14
|
+
export declare const ReactSelect: <Option = unknown, IsMulti extends boolean = boolean>(props: IReactSelectProps<Option, IsMulti>) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
import { IMenuComponentProps, IOptionComponentProps } from '../types';
|
|
2
|
-
interface IOptionItemProps {
|
|
3
|
-
active?: IOptionComponentProps['active'];
|
|
4
|
-
selected?: IOptionComponentProps['selected'];
|
|
5
|
-
height?: IOptionComponentProps['height'];
|
|
6
|
-
}
|
|
7
|
-
export declare const OptionItem: import("styled-components").StyledComponent<"div", any, {
|
|
8
|
-
column?: boolean
|
|
9
|
-
center?: boolean
|
|
10
|
-
} & IOptionItemProps, never>;
|
|
11
|
-
export declare const EmptyOptionItem: import("styled-components").StyledComponent<"div", any, {
|
|
12
|
-
column?: boolean
|
|
13
|
-
center?: boolean
|
|
14
|
-
} & IOptionItemProps & {
|
|
15
|
-
props: IMenuComponentProps;
|
|
16
|
-
}, never>;
|
|
17
|
-
export {};
|
|
1
|
+
import { IMenuComponentProps, IOptionComponentProps } from '../types';
|
|
2
|
+
interface IOptionItemProps {
|
|
3
|
+
active?: IOptionComponentProps['active'];
|
|
4
|
+
selected?: IOptionComponentProps['selected'];
|
|
5
|
+
height?: IOptionComponentProps['height'];
|
|
6
|
+
}
|
|
7
|
+
export declare const OptionItem: import("styled-components").StyledComponent<"div", any, {
|
|
8
|
+
column?: boolean;
|
|
9
|
+
center?: boolean;
|
|
10
|
+
} & IOptionItemProps, never>;
|
|
11
|
+
export declare const EmptyOptionItem: import("styled-components").StyledComponent<"div", any, {
|
|
12
|
+
column?: boolean;
|
|
13
|
+
center?: boolean;
|
|
14
|
+
} & IOptionItemProps & {
|
|
15
|
+
props: IMenuComponentProps;
|
|
16
|
+
}, never>;
|
|
17
|
+
export {};
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { FC } from '@helpers';
|
|
2
|
-
import { IMenuContainerProps } from '../types';
|
|
3
|
-
export declare const MenuContainer: FC<IMenuContainerProps>;
|
|
1
|
+
import { FC } from '@helpers';
|
|
2
|
+
import { IMenuContainerProps } from '../types';
|
|
3
|
+
export declare const MenuContainer: FC<IMenuContainerProps>;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { IMenuComponentProps } from '../types';
|
|
2
|
-
import { FC } from '@helpers';
|
|
3
|
-
export declare const MenuListFrame: import("styled-components").StyledComponent<"div", any, {
|
|
4
|
-
height?: number
|
|
5
|
-
}, never>;
|
|
6
|
-
export declare const MenuListExpanded: FC<IMenuComponentProps>;
|
|
1
|
+
import { IMenuComponentProps } from '../types';
|
|
2
|
+
import { FC } from '@helpers';
|
|
3
|
+
export declare const MenuListFrame: import("styled-components").StyledComponent<"div", any, {
|
|
4
|
+
height?: number;
|
|
5
|
+
}, never>;
|
|
6
|
+
export declare const MenuListExpanded: FC<IMenuComponentProps>;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { FC } from '@helpers';
|
|
2
|
-
import { IMenuComponentProps } from '../types';
|
|
3
|
-
export declare const MenuList: FC<IMenuComponentProps>;
|
|
1
|
+
import { FC } from '@helpers';
|
|
2
|
+
import { IMenuComponentProps } from '../types';
|
|
3
|
+
export declare const MenuList: FC<IMenuComponentProps>;
|