@moosend/mooskin 1.0.83 → 1.0.85-beta
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/lib/ActionsDropdown/styles.d.ts +3 -3
- package/lib/Box/styles.d.ts +7 -6
- package/lib/Button/model.d.ts +1 -0
- package/lib/Carousel/styles.d.ts +1 -1
- package/lib/Checkbox/Checkbox.d.ts +1 -1
- package/lib/Checkbox/styles.d.ts +1 -1
- package/lib/DatePicker/model.d.ts +10 -3
- package/lib/DateRange/model.d.ts +2 -0
- package/lib/DateRange/styles.d.ts +1 -1
- package/lib/DateTimePicker/model.d.ts +5 -3
- package/lib/Description/styles.d.ts +1 -1
- package/lib/Drawer/styles.d.ts +6 -6
- package/lib/Expandable/styles.d.ts +2 -2
- package/lib/Footer/styles.d.ts +5 -5
- package/lib/Image/styles.d.ts +1 -2
- package/lib/Input/model.d.ts +1 -0
- package/lib/Input/styles.d.ts +3 -3
- package/lib/Label/Label.d.ts +1 -1
- package/lib/Label/styles.d.ts +1 -1
- package/lib/List/styles.d.ts +5 -5
- package/lib/Loader/styles.d.ts +1 -0
- package/lib/Modal/styles.d.ts +7 -7
- package/lib/NumberLabel/model.d.ts +1 -1
- package/lib/Pagination/styles.d.ts +1 -1
- package/lib/Radio/Radio.d.ts +1 -1
- package/lib/Select/styles.d.ts +10 -10
- package/lib/Slider/Slider.d.ts +1 -1
- package/lib/Styled/GlobalStyles.d.ts +1 -2
- package/lib/Styled/MooskinContextProvider.d.ts +1 -1
- package/lib/Table/styles.d.ts +5 -5
- package/lib/Tags/styles.d.ts +1 -1
- package/lib/TextArea/styles.d.ts +1 -2
- package/lib/_utils/helper.d.ts +63 -41
- package/lib/components/ActionsDropdown/model.d.ts +1 -0
- package/lib/components/ActionsDropdown/styles.d.ts +3 -1
- package/lib/components/Alert/Alert.d.ts +1 -0
- package/lib/components/Alert/styles.d.ts +1 -0
- package/lib/components/Box/model.d.ts +3 -1
- package/lib/components/Box/styles.d.ts +7 -6
- package/lib/components/Button/model.d.ts +1 -0
- package/lib/components/Carousel/styles.d.ts +1 -1
- package/lib/components/Checkbox/Checkbox.d.ts +1 -1
- package/lib/components/Checkbox/styles.d.ts +1 -1
- package/lib/components/DatePicker/model.d.ts +10 -3
- package/lib/components/DateRange/model.d.ts +2 -0
- package/lib/components/DateRange/styles.d.ts +1 -1
- package/lib/components/DateTimePicker/model.d.ts +5 -3
- package/lib/components/Description/styles.d.ts +1 -1
- package/lib/components/Drawer/model.d.ts +1 -1
- package/lib/components/Drawer/styles.d.ts +6 -6
- package/lib/components/Expandable/styles.d.ts +2 -2
- package/lib/components/Footer/styles.d.ts +5 -5
- package/lib/components/Image/styles.d.ts +1 -2
- package/lib/components/Input/model.d.ts +3 -0
- package/lib/components/Input/styles.d.ts +3 -2
- package/lib/components/Label/Label.d.ts +1 -1
- package/lib/components/Label/styles.d.ts +1 -1
- package/lib/components/List/styles.d.ts +5 -5
- package/lib/components/Loader/styles.d.ts +1 -0
- package/lib/components/Modal/model.d.ts +1 -1
- package/lib/components/Modal/styles.d.ts +7 -7
- package/lib/components/NumberLabel/model.d.ts +1 -1
- package/lib/components/Pagination/styles.d.ts +1 -1
- package/lib/components/Radio/Radio.d.ts +1 -1
- package/lib/components/Select/Select.d.ts +1 -0
- package/lib/components/Select/model.d.ts +1 -0
- package/lib/components/Select/styles.d.ts +10 -8
- package/lib/components/Slider/Slider.d.ts +1 -1
- package/lib/components/Styled/GlobalStyles.d.ts +1 -2
- package/lib/components/Styled/MooskinContextProvider.d.ts +1 -1
- package/lib/components/Styled/model.d.ts +46 -0
- package/lib/components/Table/styles.d.ts +5 -5
- package/lib/components/Tags/styles.d.ts +1 -1
- package/lib/components/TextArea/styles.d.ts +1 -2
- package/lib/components/TextEditor/model.d.ts +1 -0
- package/lib/components/_utils/globals/screens.d.ts +18 -0
- package/lib/components/_utils/helper.d.ts +100 -0
- package/lib/components/index/index.d.ts +3 -2
- package/lib/index/index.d.ts +1 -1
- package/lib/index/index.js +88 -28
- package/lib/index/style.css +1 -1
- package/lib/stories/ActionsDropdown.stories.d.ts +4 -2
- package/lib/stories/Alert.stories.d.ts +4 -1
- package/lib/stories/Anchor.stories.d.ts +3 -1
- package/lib/stories/Box.stories.d.ts +3 -1
- package/lib/stories/Button.stories.d.ts +3 -1
- package/lib/stories/Carousel.stories.d.ts +3 -1
- package/lib/stories/Checkbox.stories.d.ts +3 -1
- package/lib/stories/DatePicker.stories.d.ts +3 -1
- package/lib/stories/DateRange.stories.d.ts +3 -1
- package/lib/stories/DateSelect.stories.d.ts +3 -1
- package/lib/stories/DateTimePicker.stories.d.ts +3 -1
- package/lib/stories/Drawer.stories.d.ts +3 -1
- package/lib/stories/Expandable.stories.d.ts +3 -1
- package/lib/stories/Footer.stories.d.ts +3 -1
- package/lib/stories/Grid.stories.d.ts +3 -1
- package/lib/stories/IconButton.stories.d.ts +3 -1
- package/lib/stories/Input.stories.d.ts +3 -1
- package/lib/stories/Layout.stories.d.ts +3 -1
- package/lib/stories/List.stories.d.ts +3 -1
- package/lib/stories/Loader.stories.d.ts +3 -1
- package/lib/stories/LoadingBar.stories.d.ts +3 -1
- package/lib/stories/Modal.stories.d.ts +3 -1
- package/lib/stories/NumberLabel.stories.d.ts +3 -1
- package/lib/stories/Pagination.stories.d.ts +3 -1
- package/lib/stories/Radio.stories.d.ts +3 -1
- package/lib/stories/Select.stories.d.ts +3 -1
- package/lib/stories/Selector.stories.d.ts +3 -1
- package/lib/stories/Sidemenu.stories.d.ts +3 -1
- package/lib/stories/Skeleton.stories.d.ts +3 -1
- package/lib/stories/Slider.stories.d.ts +3 -1
- package/lib/stories/Stack.stories.d.ts +3 -1
- package/lib/stories/StackedTags.stories.d.ts +3 -1
- package/lib/stories/Steps.stories.d.ts +3 -1
- package/lib/stories/Switch.stories.d.ts +3 -1
- package/lib/stories/Table.stories.d.ts +3 -1
- package/lib/stories/Tabs.stories.d.ts +3 -1
- package/lib/stories/Tags.stories.d.ts +3 -1
- package/lib/stories/TextEditor.stories.d.ts +3 -1
- package/lib/stories/Textarea.stories.d.ts +3 -1
- package/package.json +28 -19
- /package/lib/Label/{model.d.ts → Model.d.ts} +0 -0
- /package/lib/Slider/{Model.d.ts → model.d.ts} +0 -0
|
@@ -3,6 +3,7 @@ import { IMooskinContext, IStyledTheme, IThemeBackgroundColors, IThemeBorderColo
|
|
|
3
3
|
export declare type IntensityType = 'xs' | 'sm' | 'base' | 'md' | 'lg' | 'xl' | '2xl';
|
|
4
4
|
export declare type BoxShadowIntensityType = IntensityType | 'inner' | 'outline';
|
|
5
5
|
export declare type NestedThemeType = `${keyof IStyledTheme}.${keyof IThemeFontColors | keyof IThemeBorderColors | keyof IThemeBackgroundColors}`;
|
|
6
|
+
export declare type ScreenType = 'lg' | 'md' | 'sm' | 'xs';
|
|
6
7
|
export declare const boxComponentProps: string[];
|
|
7
8
|
export declare type IBoxComponentProps = IBaseBoxComponentProps & React.HTMLAttributes<HTMLElement>;
|
|
8
9
|
export declare type IBoxImageComponentProps = IBaseBoxComponentProps & React.ImgHTMLAttributes<HTMLImageElement>;
|
|
@@ -12,7 +13,8 @@ export declare type IInputBoxComponentProps = IBoxComponentProps & React.InputHT
|
|
|
12
13
|
export declare type IAnchorBoxComponentProps = IBoxComponentProps & React.AnchorHTMLAttributes<HTMLAnchorElement>;
|
|
13
14
|
export declare type ITextAreaBoxComponentProps = IBoxComponentProps & React.TextareaHTMLAttributes<HTMLTextAreaElement>;
|
|
14
15
|
export interface IBaseBoxComponentProps extends IMooskinContext {
|
|
15
|
-
|
|
16
|
+
noRender?: Array<ScreenType>;
|
|
17
|
+
setRef?: (ref: HTMLElement) => void;
|
|
16
18
|
boxAs?: any;
|
|
17
19
|
m?: React.CSSProperties['margin'] | Array<React.CSSProperties['margin']>;
|
|
18
20
|
mt?: React.CSSProperties['marginTop'] | Array<React.CSSProperties['marginTop']>;
|
|
@@ -1,7 +1,8 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
1
2
|
import { IStyledTheme } from '../Styled/model';
|
|
2
|
-
import { BoxShadowIntensityType,
|
|
3
|
-
export declare const getNumberOrStringValue: (value?:
|
|
4
|
-
export declare const getNestedValue: (value?:
|
|
5
|
-
export declare const getRoundness: (round?:
|
|
6
|
-
export declare const getBoxShadow: (boxShadow?: React.CSSProperties['boxShadow'] | BoxShadowIntensityType) => (string & {}) | undefined;
|
|
7
|
-
export declare const StyledBox: import("styled-components").StyledComponent<"div", any,
|
|
3
|
+
import { BoxShadowIntensityType, IntensityType, NestedThemeType } from './model';
|
|
4
|
+
export declare const getNumberOrStringValue: (value?: number | string) => string;
|
|
5
|
+
export declare const getNestedValue: (value?: number | string | NestedThemeType, palette?: IStyledTheme) => any;
|
|
6
|
+
export declare const getRoundness: (round?: IntensityType) => "border-radius: 0.125rem;" | "border-radius: 0.25rem;" | "border-radius: 0.375rem;" | "border-radius: 0.5rem;" | "border-radius: 0.625rem;" | "border-radius: 0.75rem;" | "border-radius: 1rem;" | undefined;
|
|
7
|
+
export declare const getBoxShadow: (boxShadow?: React.CSSProperties['boxShadow'] | BoxShadowIntensityType) => (string & {}) | "-moz-initial" | "inherit" | "initial" | "revert" | "revert-layer" | "unset" | "none" | "0 0 0 1px rgba(0, 0, 0, 0.05)" | "0 1px 2px 0 rgba(0, 0, 0, 0.05)" | "0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06)" | "0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06)" | "0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05)" | "0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04)" | "0 25px 50px -12px rgba(0, 0, 0, 0.25)" | "0 0 0 3px rgba(66, 153, 225, 0.6)" | "inset 0 2px 4px 0 rgba(0,0,0,0.06)" | undefined;
|
|
8
|
+
export declare const StyledBox: import("styled-components").StyledComponent<"div", any, import("./model").IBaseBoxComponentProps & import("react").HTMLAttributes<HTMLElement>, never>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import { IBoxComponentProps } from '../index';
|
|
3
3
|
export declare const StyledCarousel: import("styled-components").StyledComponent<any, any, object & import("../index").IBaseBoxComponentProps & import("react").HTMLAttributes<HTMLElement>, string | number | symbol>;
|
|
4
|
-
export declare const StyledDot: import("styled-components").StyledComponent<import("react").FC<IBoxComponentProps>, any,
|
|
4
|
+
export declare const StyledDot: import("styled-components").StyledComponent<import("react").FC<IBoxComponentProps>, any, import("../index").IBaseBoxComponentProps & import("react").HTMLAttributes<HTMLElement>, never>;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
import { IBoxComponentProps } from '../Box/model';
|
|
3
|
-
import type { ILabelComponentProps } from '../Label/
|
|
3
|
+
import type { ILabelComponentProps } from '../Label/Model';
|
|
4
4
|
import { ICheckboxComponentProps, ICheckboxIconComponentProps } from './model';
|
|
5
5
|
export declare const Checkbox: React.FC<ICheckboxComponentProps>;
|
|
6
6
|
export declare const CheckboxIcon: React.FC<ICheckboxIconComponentProps>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
import type { ILabelComponentProps } from '../Label/
|
|
2
|
+
import type { ILabelComponentProps } from '../Label/Model';
|
|
3
3
|
import { ICheckboxIconComponentProps } from './model';
|
|
4
4
|
export declare const StyledCheckbox: import("styled-components").StyledComponent<import("react").FC<import("../index").IBoxComponentProps>, any, {}, never>;
|
|
5
5
|
export declare const StyledCheckboxIcon: import("styled-components").StyledComponent<import("react").FC<import("../index").IBoxComponentProps>, any, ICheckboxIconComponentProps, never>;
|
|
@@ -1,11 +1,18 @@
|
|
|
1
|
-
import { DatePickerProps
|
|
1
|
+
import { DatePickerProps } from '@mui/x-date-pickers/DatePicker';
|
|
2
2
|
import { IInputComponentProps } from '../Input/model';
|
|
3
|
+
import { TextFieldProps } from '@mui/material/TextField';
|
|
4
|
+
import dayjs from 'dayjs';
|
|
3
5
|
export declare type PickerType = 'date' | 'date-keyboard';
|
|
4
6
|
export interface IDatePickerCommonProps {
|
|
7
|
+
value: dayjs.Dayjs | null;
|
|
5
8
|
inputComponentProps?: IInputComponentProps;
|
|
6
9
|
pickerType?: PickerType;
|
|
10
|
+
format?: string;
|
|
11
|
+
inputProps?: Partial<TextFieldProps>;
|
|
7
12
|
}
|
|
8
|
-
export interface IDatePickerComponentProps extends IDatePickerCommonProps, DatePickerProps {
|
|
13
|
+
export interface IDatePickerComponentProps<TInputDate = any, TDate = any> extends IDatePickerCommonProps, Omit<DatePickerProps<dayjs.Dayjs, dayjs.Dayjs>, 'onChange'> {
|
|
14
|
+
onChange?: (value: dayjs.Dayjs | null) => void;
|
|
9
15
|
}
|
|
10
|
-
export interface IDatePickerKeyboardComponentProps extends IDatePickerCommonProps,
|
|
16
|
+
export interface IDatePickerKeyboardComponentProps<TInputDate = any, TDate = any> extends IDatePickerCommonProps, Omit<DatePickerProps<dayjs.Dayjs, dayjs.Dayjs>, 'onChange'> {
|
|
17
|
+
onChange?: (value: dayjs.Dayjs | null) => void;
|
|
11
18
|
}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
1
2
|
import { DateRangePickerProps } from 'react-date-range';
|
|
2
3
|
import { IBoxComponentProps } from '../Box/model';
|
|
3
4
|
import { IInputComponentProps } from '../Input/model';
|
|
@@ -7,6 +8,7 @@ export interface IDateRangePickerComponentProps extends DateRangePickerProps {
|
|
|
7
8
|
wrapperProps?: IBoxComponentProps;
|
|
8
9
|
inputContainerPrpps?: IBoxComponentProps;
|
|
9
10
|
customComponent?: JSX.Element;
|
|
11
|
+
format?: string;
|
|
10
12
|
}
|
|
11
13
|
export interface IRangeSelection {
|
|
12
14
|
endDate: Date;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import { IBoxComponentProps } from '../Box/model';
|
|
3
|
-
export declare const StyledDateRange: import("styled-components").StyledComponent<import("react").FC<IBoxComponentProps>, any,
|
|
3
|
+
export declare const StyledDateRange: import("styled-components").StyledComponent<import("react").FC<IBoxComponentProps>, any, import("../Box/model").IBaseBoxComponentProps & import("react").HTMLAttributes<HTMLElement>, never>;
|
|
@@ -1,11 +1,13 @@
|
|
|
1
|
-
import { DateTimePickerProps
|
|
1
|
+
import { DateTimePickerProps } from '@mui/x-date-pickers/DateTimePicker';
|
|
2
2
|
import { IInputComponentProps } from '../Input/model';
|
|
3
3
|
export declare type PickerType = 'date-time' | 'date-time-keyboard';
|
|
4
4
|
export interface IDateTimePickerCommonProps {
|
|
5
5
|
inputComponentProps?: IInputComponentProps;
|
|
6
6
|
pickerType?: PickerType;
|
|
7
|
+
ampm?: boolean;
|
|
8
|
+
format?: string;
|
|
7
9
|
}
|
|
8
|
-
export interface IDateTimePickerComponentProps extends IDateTimePickerCommonProps, DateTimePickerProps {
|
|
10
|
+
export interface IDateTimePickerComponentProps<TInputDate = unknown, TDate = unknown> extends IDateTimePickerCommonProps, DateTimePickerProps<TInputDate, TDate> {
|
|
9
11
|
}
|
|
10
|
-
export interface IDateTimePickerKeyboardComponentProps extends IDateTimePickerCommonProps,
|
|
12
|
+
export interface IDateTimePickerKeyboardComponentProps<TInputDate = unknown, TDate = unknown> extends IDateTimePickerCommonProps, DateTimePickerProps<TInputDate, TDate> {
|
|
11
13
|
}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import { IBoxComponentProps } from '../Box/model';
|
|
3
|
-
export declare const StyledDescription: import("styled-components").StyledComponent<import("react").FC<IBoxComponentProps>, any,
|
|
3
|
+
export declare const StyledDescription: import("styled-components").StyledComponent<import("react").FC<IBoxComponentProps>, any, import("../Box/model").IBaseBoxComponentProps & import("react").HTMLAttributes<HTMLElement>, never>;
|
|
@@ -7,7 +7,7 @@ export interface IDrawerComponentProps extends IBoxComponentProps {
|
|
|
7
7
|
size?: IContentSize;
|
|
8
8
|
closeOnEsc?: boolean;
|
|
9
9
|
closeOnOverlayClick?: boolean;
|
|
10
|
-
onClose?: (e
|
|
10
|
+
onClose?: (e?: React.MouseEvent<HTMLElement>) => void;
|
|
11
11
|
onOpen?: () => void;
|
|
12
12
|
}
|
|
13
13
|
export interface IDrawerContentComponentProps extends IBoxComponentProps {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import { IBoxComponentProps } from '../Box/model';
|
|
3
|
-
import { IDrawerComponentProps, IDrawerContentComponentProps, IDrawerOverlayComponentProps } from './model';
|
|
4
|
-
export declare const getContentSize: (size?:
|
|
3
|
+
import { IContentSize, IDrawerComponentProps, IDrawerContentComponentProps, IDrawerOverlayComponentProps } from './model';
|
|
4
|
+
export declare const getContentSize: (size?: IContentSize) => "50%" | "100%" | "80%" | "20%" | "35%" | "65%" | undefined;
|
|
5
5
|
export declare const StyledDrawer: import("styled-components").StyledComponent<import("react").FC<IBoxComponentProps>, any, IDrawerComponentProps, never>;
|
|
6
6
|
export declare const StyledDrawerContent: import("styled-components").StyledComponent<import("react").FC<IBoxComponentProps>, any, IDrawerContentComponentProps, never>;
|
|
7
7
|
export declare const StyledDrawerContentRight: import("styled-components").StyledComponent<import("react").FC<IBoxComponentProps>, any, IDrawerContentComponentProps, never>;
|
|
@@ -16,10 +16,10 @@ export declare const StyledDrawerContentTopOut: import("styled-components").Styl
|
|
|
16
16
|
export declare const StyledDrawerContentBottom: import("styled-components").StyledComponent<import("react").FC<IBoxComponentProps>, any, IDrawerContentComponentProps, never>;
|
|
17
17
|
export declare const StyledDrawerContentBottomIn: import("styled-components").StyledComponent<import("react").FC<IBoxComponentProps>, any, IDrawerContentComponentProps, never>;
|
|
18
18
|
export declare const StyledDrawerContentBottomOut: import("styled-components").StyledComponent<import("react").FC<IBoxComponentProps>, any, IDrawerContentComponentProps, never>;
|
|
19
|
-
export declare const StyledDrawerHeader: import("styled-components").StyledComponent<import("react").FC<IBoxComponentProps>, any,
|
|
20
|
-
export declare const StyledDrawerBody: import("styled-components").StyledComponent<import("react").FC<IBoxComponentProps>, any,
|
|
21
|
-
export declare const StyledDrawerFooter: import("styled-components").StyledComponent<import("react").FC<IBoxComponentProps>, any,
|
|
22
|
-
export declare const StyledDrawerCloseButton: import("styled-components").StyledComponent<import("react").FC<IBoxComponentProps>, any,
|
|
19
|
+
export declare const StyledDrawerHeader: import("styled-components").StyledComponent<import("react").FC<IBoxComponentProps>, any, import("../Box/model").IBaseBoxComponentProps & import("react").HTMLAttributes<HTMLElement>, never>;
|
|
20
|
+
export declare const StyledDrawerBody: import("styled-components").StyledComponent<import("react").FC<IBoxComponentProps>, any, import("../Box/model").IBaseBoxComponentProps & import("react").HTMLAttributes<HTMLElement>, never>;
|
|
21
|
+
export declare const StyledDrawerFooter: import("styled-components").StyledComponent<import("react").FC<IBoxComponentProps>, any, import("../Box/model").IBaseBoxComponentProps & import("react").HTMLAttributes<HTMLElement>, never>;
|
|
22
|
+
export declare const StyledDrawerCloseButton: import("styled-components").StyledComponent<import("react").FC<IBoxComponentProps>, any, import("../Box/model").IBaseBoxComponentProps & import("react").HTMLAttributes<HTMLElement>, never>;
|
|
23
23
|
export declare const StyledDrawerOverlay: import("styled-components").StyledComponent<import("react").FC<IBoxComponentProps>, any, IDrawerOverlayComponentProps, never>;
|
|
24
24
|
export declare const StyledDrawerOverlayFadeIn: import("styled-components").StyledComponent<import("react").FC<IBoxComponentProps>, any, IDrawerOverlayComponentProps, never>;
|
|
25
25
|
export declare const StyledDrawerOverlayFadeOut: import("styled-components").StyledComponent<import("react").FC<IBoxComponentProps>, any, IDrawerOverlayComponentProps, never>;
|
|
@@ -3,7 +3,7 @@ import { IBoxComponentProps } from '../Box/model';
|
|
|
3
3
|
import { IExpandableCommonComponentProps, IExpandableComponentProps, IExpandableItemComponentProps } from './model';
|
|
4
4
|
export declare const StyledExpandable: import("styled-components").StyledComponent<import("react").FC<IBoxComponentProps>, any, IExpandableComponentProps, never>;
|
|
5
5
|
export declare const StyledExpandableItem: import("styled-components").StyledComponent<import("react").FC<IBoxComponentProps>, any, IExpandableItemComponentProps, never>;
|
|
6
|
-
export declare const StyledExpandableItemContainer: import("styled-components").StyledComponent<import("react").FC<IBoxComponentProps>, any,
|
|
6
|
+
export declare const StyledExpandableItemContainer: import("styled-components").StyledComponent<import("react").FC<IBoxComponentProps>, any, import("../Box/model").IBaseBoxComponentProps & import("react").HTMLAttributes<HTMLElement>, never>;
|
|
7
7
|
export declare const StyledExpandableItemButton: import("styled-components").StyledComponent<import("react").FC<IBoxComponentProps>, any, IExpandableCommonComponentProps, never>;
|
|
8
|
-
export declare const StyledExpandableItemText: import("styled-components").StyledComponent<import("react").FC<IBoxComponentProps>, any,
|
|
8
|
+
export declare const StyledExpandableItemText: import("styled-components").StyledComponent<import("react").FC<IBoxComponentProps>, any, import("../Box/model").IBaseBoxComponentProps & import("react").HTMLAttributes<HTMLElement>, never>;
|
|
9
9
|
export declare const StyledExpandableItemContent: import("styled-components").StyledComponent<import("react").FC<IBoxComponentProps>, any, IExpandableCommonComponentProps, never>;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import { IBoxComponentProps } from '../Box/model';
|
|
3
|
-
export declare const StyledFooter: import("styled-components").StyledComponent<import("react").FC<IBoxComponentProps>, any,
|
|
4
|
-
export declare const StyledFooterCommon: import("styled-components").StyledComponent<import("react").FC<IBoxComponentProps>, any,
|
|
5
|
-
export declare const StyledFooterHead: import("styled-components").StyledComponent<import("react").FC<IBoxComponentProps>, any,
|
|
6
|
-
export declare const StyledFooterBody: import("styled-components").StyledComponent<import("react").FC<IBoxComponentProps>, any,
|
|
7
|
-
export declare const StyledFooterEnd: import("styled-components").StyledComponent<import("react").FC<IBoxComponentProps>, any,
|
|
3
|
+
export declare const StyledFooter: import("styled-components").StyledComponent<import("react").FC<IBoxComponentProps>, any, import("../Box/model").IBaseBoxComponentProps & import("react").HTMLAttributes<HTMLElement>, never>;
|
|
4
|
+
export declare const StyledFooterCommon: import("styled-components").StyledComponent<import("react").FC<IBoxComponentProps>, any, import("../Box/model").IBaseBoxComponentProps & import("react").HTMLAttributes<HTMLElement>, never>;
|
|
5
|
+
export declare const StyledFooterHead: import("styled-components").StyledComponent<import("react").FC<IBoxComponentProps>, any, import("../Box/model").IBaseBoxComponentProps & import("react").HTMLAttributes<HTMLElement>, never>;
|
|
6
|
+
export declare const StyledFooterBody: import("styled-components").StyledComponent<import("react").FC<IBoxComponentProps>, any, import("../Box/model").IBaseBoxComponentProps & import("react").HTMLAttributes<HTMLElement>, never>;
|
|
7
|
+
export declare const StyledFooterEnd: import("styled-components").StyledComponent<import("react").FC<IBoxComponentProps>, any, import("../Box/model").IBaseBoxComponentProps & import("react").HTMLAttributes<HTMLElement>, never>;
|
|
@@ -1,3 +1,2 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
|
|
3
|
-
export declare const StyledImage: import("styled-components").StyledComponent<import("react").FC<import("../Box/model").IBoxComponentProps>, any, IBoxImageComponentProps, never>;
|
|
2
|
+
export declare const StyledImage: import("styled-components").StyledComponent<import("react").FC<import("../Box/model").IBoxComponentProps>, any, import("../Box/model").IBaseBoxComponentProps & import("react").ImgHTMLAttributes<HTMLImageElement>, never>;
|
|
@@ -13,11 +13,14 @@ export interface IInputComponentProps extends IInputBoxComponentProps {
|
|
|
13
13
|
minmax?: number[];
|
|
14
14
|
numberType?: 'integer' | 'float';
|
|
15
15
|
wrapped?: boolean;
|
|
16
|
+
inputProps?: IInputBoxComponentProps;
|
|
16
17
|
}
|
|
17
18
|
export interface IInputEmojiComponentProps extends IBoxComponentProps {
|
|
18
19
|
onChangeEmoji?: (value: string) => void;
|
|
19
20
|
}
|
|
20
21
|
export interface IInputListComponentProps extends IBoxComponentProps {
|
|
22
|
+
showList?: boolean;
|
|
23
|
+
setShowList?: (value: string) => void;
|
|
21
24
|
icon: string;
|
|
22
25
|
iconProps?: IBoxComponentProps;
|
|
23
26
|
wrapperProps?: IBoxComponentProps;
|
|
@@ -6,7 +6,8 @@ export declare const StyledInputContainer: import("styled-components").StyledCom
|
|
|
6
6
|
export declare const StyledInputBase: import("styled-components").StyledComponent<import("react").FC<IBoxComponentProps>, any, IInputComponentProps, never>;
|
|
7
7
|
export declare const StyledInputSolo: import("styled-components").StyledComponent<import("react").FC<IBoxComponentProps>, any, IInputComponentProps, never>;
|
|
8
8
|
export declare const StyledInputWrapped: import("styled-components").StyledComponent<import("react").FC<IBoxComponentProps>, any, IInputComponentProps, never>;
|
|
9
|
-
export declare const StyledInputOverlay: import("styled-components").StyledComponent<import("react").FC<IBoxComponentProps>, any,
|
|
10
|
-
export declare const StyledInputIcon: import("styled-components").StyledComponent<import("react").FC<IBoxComponentProps>, any,
|
|
9
|
+
export declare const StyledInputOverlay: import("styled-components").StyledComponent<import("react").FC<IBoxComponentProps>, any, import("../Box/model").IBaseBoxComponentProps & import("react").HTMLAttributes<HTMLElement>, never>;
|
|
10
|
+
export declare const StyledInputIcon: import("styled-components").StyledComponent<import("react").FC<IBoxComponentProps>, any, import("../Box/model").IBaseBoxComponentProps & import("react").HTMLAttributes<HTMLElement>, never>;
|
|
11
11
|
export declare const StyledInputOptionList: import("styled-components").StyledComponent<import("react").FC<IBoxComponentProps>, any, Partial<IInputListComponentProps>, never>;
|
|
12
12
|
export declare const StyledInputOptionListTitle: import("styled-components").StyledComponent<import("react").FC<ILabelComponentProps>, any, ILabelComponentProps, never>;
|
|
13
|
+
export declare const StyledInputListButtonClose: import("styled-components").StyledComponent<import("react").FC<IBoxComponentProps>, any, import("../Box/model").IBaseBoxComponentProps & import("react").HTMLAttributes<HTMLElement>, never>;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
import { ILabelComponentProps } from './
|
|
2
|
+
import { ILabelComponentProps } from './Model';
|
|
3
3
|
export declare const StyledLabel: import("styled-components").StyledComponent<import("react").FC<import("../index").IBoxComponentProps>, any, ILabelComponentProps, never>;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import { IBoxComponentProps } from '../Box/model';
|
|
3
|
-
export declare const StyledListItem: import("styled-components").StyledComponent<import("react").FC<IBoxComponentProps>, any,
|
|
4
|
-
export declare const StyledListItemCommon: import("styled-components").StyledComponent<import("react").FC<IBoxComponentProps>, any,
|
|
5
|
-
export declare const StyledListItemHead: import("styled-components").StyledComponent<import("react").FC<IBoxComponentProps>, any,
|
|
6
|
-
export declare const StyledListItemBody: import("styled-components").StyledComponent<import("react").FC<IBoxComponentProps>, any,
|
|
7
|
-
export declare const StyledListItemEnd: import("styled-components").StyledComponent<import("react").FC<IBoxComponentProps>, any,
|
|
3
|
+
export declare const StyledListItem: import("styled-components").StyledComponent<import("react").FC<IBoxComponentProps>, any, import("../Box/model").IBaseBoxComponentProps & import("react").HTMLAttributes<HTMLElement>, never>;
|
|
4
|
+
export declare const StyledListItemCommon: import("styled-components").StyledComponent<import("react").FC<IBoxComponentProps>, any, import("../Box/model").IBaseBoxComponentProps & import("react").HTMLAttributes<HTMLElement>, never>;
|
|
5
|
+
export declare const StyledListItemHead: import("styled-components").StyledComponent<import("react").FC<IBoxComponentProps>, any, import("../Box/model").IBaseBoxComponentProps & import("react").HTMLAttributes<HTMLElement>, never>;
|
|
6
|
+
export declare const StyledListItemBody: import("styled-components").StyledComponent<import("react").FC<IBoxComponentProps>, any, import("../Box/model").IBaseBoxComponentProps & import("react").HTMLAttributes<HTMLElement>, never>;
|
|
7
|
+
export declare const StyledListItemEnd: import("styled-components").StyledComponent<import("react").FC<IBoxComponentProps>, any, import("../Box/model").IBaseBoxComponentProps & import("react").HTMLAttributes<HTMLElement>, never>;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import { ILoaderComponentProps } from './model';
|
|
3
|
+
export declare const spin: import("styled-components").Keyframes;
|
|
3
4
|
export declare const StyledLoader: import("styled-components").StyledComponent<import("react").FC<import("../index").IBoxComponentProps>, any, ILoaderComponentProps, never>;
|
|
@@ -4,7 +4,7 @@ export interface IModalComponentProps extends IBoxComponentProps {
|
|
|
4
4
|
isOpen?: boolean;
|
|
5
5
|
closeOnEsc?: boolean;
|
|
6
6
|
closeOnOverlayClick?: boolean;
|
|
7
|
-
onClose?: (e
|
|
7
|
+
onClose?: (e?: React.MouseEvent<HTMLElement>) => void;
|
|
8
8
|
}
|
|
9
9
|
export interface IModalContentComponentProps extends IBoxComponentProps {
|
|
10
10
|
isOpen?: boolean;
|
|
@@ -5,10 +5,10 @@ export declare const StyledModal: import("styled-components").StyledComponent<im
|
|
|
5
5
|
export declare const StyledModalContent: import("styled-components").StyledComponent<import("react").FC<IBoxComponentProps>, any, IModalContentComponentProps, never>;
|
|
6
6
|
export declare const StyledModalContentFadeIn: import("styled-components").StyledComponent<import("react").FC<IBoxComponentProps>, any, IModalContentComponentProps, never>;
|
|
7
7
|
export declare const StyledModalContentFadeOut: import("styled-components").StyledComponent<import("react").FC<IBoxComponentProps>, any, IModalContentComponentProps, never>;
|
|
8
|
-
export declare const StyledModalHeader: import("styled-components").StyledComponent<import("react").FC<IBoxComponentProps>, any,
|
|
9
|
-
export declare const StyledModalBody: import("styled-components").StyledComponent<import("react").FC<IBoxComponentProps>, any,
|
|
10
|
-
export declare const StyledModalFooter: import("styled-components").StyledComponent<import("react").FC<IBoxComponentProps>, any,
|
|
11
|
-
export declare const StyledModalCloseButton: import("styled-components").StyledComponent<import("react").FC<IBoxComponentProps>, any,
|
|
12
|
-
export declare const StyledModalOverlay: import("styled-components").StyledComponent<import("react").FC<IBoxComponentProps>, any,
|
|
13
|
-
export declare const StyledModalOverlayFadeIn: import("styled-components").StyledComponent<import("react").FC<IBoxComponentProps>, any,
|
|
14
|
-
export declare const StyledModalOverlayFadeOut: import("styled-components").StyledComponent<import("react").FC<IBoxComponentProps>, any,
|
|
8
|
+
export declare const StyledModalHeader: import("styled-components").StyledComponent<import("react").FC<IBoxComponentProps>, any, import("../Box/model").IBaseBoxComponentProps & import("react").HTMLAttributes<HTMLElement>, never>;
|
|
9
|
+
export declare const StyledModalBody: import("styled-components").StyledComponent<import("react").FC<IBoxComponentProps>, any, import("../Box/model").IBaseBoxComponentProps & import("react").HTMLAttributes<HTMLElement>, never>;
|
|
10
|
+
export declare const StyledModalFooter: import("styled-components").StyledComponent<import("react").FC<IBoxComponentProps>, any, import("../Box/model").IBaseBoxComponentProps & import("react").HTMLAttributes<HTMLElement>, never>;
|
|
11
|
+
export declare const StyledModalCloseButton: import("styled-components").StyledComponent<import("react").FC<IBoxComponentProps>, any, import("../Box/model").IBaseBoxComponentProps & import("react").HTMLAttributes<HTMLElement>, never>;
|
|
12
|
+
export declare const StyledModalOverlay: import("styled-components").StyledComponent<import("react").FC<IBoxComponentProps>, any, import("../Box/model").IBaseBoxComponentProps & import("react").HTMLAttributes<HTMLElement>, never>;
|
|
13
|
+
export declare const StyledModalOverlayFadeIn: import("styled-components").StyledComponent<import("react").FC<IBoxComponentProps>, any, import("../Box/model").IBaseBoxComponentProps & import("react").HTMLAttributes<HTMLElement>, never>;
|
|
14
|
+
export declare const StyledModalOverlayFadeOut: import("styled-components").StyledComponent<import("react").FC<IBoxComponentProps>, any, import("../Box/model").IBaseBoxComponentProps & import("react").HTMLAttributes<HTMLElement>, never>;
|
|
@@ -3,4 +3,4 @@ import { IBoxComponentProps } from '../Box/model';
|
|
|
3
3
|
import { IPaginationButtonComponentProps, IPaginationComponentProps } from './model';
|
|
4
4
|
export declare const StyledPagination: import("styled-components").StyledComponent<import("react").FC<IBoxComponentProps>, any, IPaginationComponentProps, never>;
|
|
5
5
|
export declare const StyledPaginationButton: import("styled-components").StyledComponent<import("react").FC<IBoxComponentProps>, any, IPaginationButtonComponentProps, never>;
|
|
6
|
-
export declare const StyledPaginationShowAll: import("styled-components").StyledComponent<import("react").FC<IBoxComponentProps>, any,
|
|
6
|
+
export declare const StyledPaginationShowAll: import("styled-components").StyledComponent<import("react").FC<IBoxComponentProps>, any, import("../Box/model").IBaseBoxComponentProps & import("react").HTMLAttributes<HTMLElement>, never>;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
import { IBoxComponentProps } from '../Box/model';
|
|
3
|
-
import type { ILabelComponentProps } from '../Label/
|
|
3
|
+
import type { ILabelComponentProps } from '../Label/Model';
|
|
4
4
|
import { IRadioComponentProps, IRadioIconComponentProps } from './model';
|
|
5
5
|
export declare const Radio: React.FC<IRadioComponentProps>;
|
|
6
6
|
export declare const RadioIcon: React.FC<IRadioIconComponentProps>;
|
|
@@ -11,3 +11,4 @@ export declare const SelectLoader: React.FC<IBoxComponentProps>;
|
|
|
11
11
|
export declare const SelectIcon: React.FC<IBoxComponentProps>;
|
|
12
12
|
export declare const SelectOverlay: React.FC<IBoxComponentProps>;
|
|
13
13
|
export declare const SelectPagination: React.FC<ISelectPaginationComponentProps>;
|
|
14
|
+
export declare const SearchPlaceholderMobileView: React.FC<IBoxComponentProps>;
|
|
@@ -6,6 +6,7 @@ export interface ISelectComponentProps extends IBoxComponentProps {
|
|
|
6
6
|
dataLabel?: string;
|
|
7
7
|
selectedValue?: string | number | Array<string | number>;
|
|
8
8
|
disabled?: boolean;
|
|
9
|
+
hideMobileSearch?: boolean;
|
|
9
10
|
}
|
|
10
11
|
export interface ISelectOptionListProps extends IBoxComponentProps {
|
|
11
12
|
showList?: boolean;
|
|
@@ -1,15 +1,17 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
import { IBoxComponentProps
|
|
2
|
+
import { IBoxComponentProps } from '../Box/model';
|
|
3
3
|
import { ISelectComponentProps, ISelectOptionComponentProps, ISelectOptionListProps } from './model';
|
|
4
4
|
export declare const StyledSelect: import("styled-components").StyledComponent<import("react").FC<IBoxComponentProps>, any, ISelectComponentProps, never>;
|
|
5
|
-
export declare const StyledSelectFilter: import("styled-components").StyledComponent<import("react").FC<IBoxComponentProps>, any,
|
|
6
|
-
export declare const StyledSelectContainer: import("styled-components").StyledComponent<import("react").FC<IBoxComponentProps>, any,
|
|
7
|
-
export declare const StyledSelectPlaceholder: import("styled-components").StyledComponent<import("react").FC<IBoxComponentProps>, any,
|
|
5
|
+
export declare const StyledSelectFilter: import("styled-components").StyledComponent<import("react").FC<IBoxComponentProps>, any, import("../Box/model").IBaseBoxComponentProps & import("react").HTMLAttributes<HTMLElement> & import("react").InputHTMLAttributes<HTMLInputElement>, never>;
|
|
6
|
+
export declare const StyledSelectContainer: import("styled-components").StyledComponent<import("react").FC<IBoxComponentProps>, any, import("../Box/model").IBaseBoxComponentProps & import("react").HTMLAttributes<HTMLElement>, never>;
|
|
7
|
+
export declare const StyledSelectPlaceholder: import("styled-components").StyledComponent<import("react").FC<IBoxComponentProps>, any, import("../Box/model").IBaseBoxComponentProps & import("react").HTMLAttributes<HTMLElement>, never>;
|
|
8
|
+
export declare const StyledSearchPlaceholderMobileView: import("styled-components").StyledComponent<import("react").FC<IBoxComponentProps>, any, import("../Box/model").IBaseBoxComponentProps & import("react").HTMLAttributes<HTMLElement>, never>;
|
|
8
9
|
export declare const StyledSelectOptionList: import("styled-components").StyledComponent<import("react").FC<IBoxComponentProps>, any, ISelectOptionListProps, never>;
|
|
9
10
|
export declare const StyledSelectOptionListFadeIn: import("styled-components").StyledComponent<import("react").FC<IBoxComponentProps>, any, ISelectOptionListProps, never>;
|
|
10
11
|
export declare const StyledSelectOptionListFadeOut: import("styled-components").StyledComponent<import("react").FC<IBoxComponentProps>, any, ISelectOptionListProps, never>;
|
|
11
|
-
export declare const StyledSelectOverlay: import("styled-components").StyledComponent<import("react").FC<IBoxComponentProps>, any,
|
|
12
|
+
export declare const StyledSelectOverlay: import("styled-components").StyledComponent<import("react").FC<IBoxComponentProps>, any, import("../Box/model").IBaseBoxComponentProps & import("react").HTMLAttributes<HTMLElement>, never>;
|
|
12
13
|
export declare const StyledSelectOption: import("styled-components").StyledComponent<import("react").FC<IBoxComponentProps>, any, ISelectOptionComponentProps, never>;
|
|
13
|
-
export declare const StyledSelectIcon: import("styled-components").StyledComponent<import("react").FC<IBoxComponentProps>, any,
|
|
14
|
-
export declare const StyledSelectPagination: import("styled-components").StyledComponent<import("react").FC<IBoxComponentProps>, any,
|
|
15
|
-
export declare const StyledPaginationPage: import("styled-components").StyledComponent<import("react").FC<IBoxComponentProps>, any,
|
|
14
|
+
export declare const StyledSelectIcon: import("styled-components").StyledComponent<import("react").FC<IBoxComponentProps>, any, import("../Box/model").IBaseBoxComponentProps & import("react").HTMLAttributes<HTMLElement>, never>;
|
|
15
|
+
export declare const StyledSelectPagination: import("styled-components").StyledComponent<import("react").FC<IBoxComponentProps>, any, import("../Box/model").IBaseBoxComponentProps & import("react").HTMLAttributes<HTMLElement>, never>;
|
|
16
|
+
export declare const StyledPaginationPage: import("styled-components").StyledComponent<import("react").FC<IBoxComponentProps>, any, import("../Box/model").IBaseBoxComponentProps & import("react").HTMLAttributes<HTMLElement>, never>;
|
|
17
|
+
export declare const StyledSelectListButtonClose: import("styled-components").StyledComponent<import("react").FC<IBoxComponentProps>, any, import("../Box/model").IBaseBoxComponentProps & import("react").HTMLAttributes<HTMLElement>, never>;
|
|
@@ -1,2 +1 @@
|
|
|
1
|
-
export declare const GlobalStyle: import("styled-components").GlobalStyleComponent<
|
|
2
|
-
export default GlobalStyle;
|
|
1
|
+
export declare const GlobalStyle: import("styled-components").GlobalStyleComponent<any, import("styled-components").DefaultTheme>;
|
|
@@ -3,4 +3,4 @@ import { IMooskinContext } from './model';
|
|
|
3
3
|
export declare const useMooskinContext: () => IMooskinContext;
|
|
4
4
|
export declare const MooskinContext: React.Context<IMooskinContext>;
|
|
5
5
|
export declare const MooskinContextProvider: React.Provider<IMooskinContext>;
|
|
6
|
-
export declare const withMooskinContext: <P extends object>(Component: React.FC<P>) => (props: P) => JSX.Element;
|
|
6
|
+
export declare const withMooskinContext: <P extends object>(Component: React.FC<P>) => (props: P) => React.JSX.Element;
|
|
@@ -15,6 +15,7 @@ export interface IThemeFontColors {
|
|
|
15
15
|
background: string;
|
|
16
16
|
blue400: string;
|
|
17
17
|
teal400: string;
|
|
18
|
+
teal500: string;
|
|
18
19
|
pink400: string;
|
|
19
20
|
orange400: string;
|
|
20
21
|
red400: string;
|
|
@@ -42,6 +43,19 @@ export interface IThemeFontColors {
|
|
|
42
43
|
autosExpression: string;
|
|
43
44
|
client: string;
|
|
44
45
|
createNew: string;
|
|
46
|
+
menuDark: string;
|
|
47
|
+
menuLight: string;
|
|
48
|
+
editorRow: string;
|
|
49
|
+
editorElement: string;
|
|
50
|
+
editorRepeatable: string;
|
|
51
|
+
error: string;
|
|
52
|
+
warning: string;
|
|
53
|
+
success: string;
|
|
54
|
+
info: string;
|
|
55
|
+
successIcon: string;
|
|
56
|
+
errorIcon: string;
|
|
57
|
+
infoIcon: string;
|
|
58
|
+
warningIcon: string;
|
|
45
59
|
}
|
|
46
60
|
export interface IThemeBackgroundColors {
|
|
47
61
|
primary1: string;
|
|
@@ -60,6 +74,7 @@ export interface IThemeBackgroundColors {
|
|
|
60
74
|
background: string;
|
|
61
75
|
blue400: string;
|
|
62
76
|
teal400: string;
|
|
77
|
+
teal500: string;
|
|
63
78
|
pink400: string;
|
|
64
79
|
red400: string;
|
|
65
80
|
red600: string;
|
|
@@ -87,6 +102,19 @@ export interface IThemeBackgroundColors {
|
|
|
87
102
|
autosExpression: string;
|
|
88
103
|
client: string;
|
|
89
104
|
createNew: string;
|
|
105
|
+
menuDark: string;
|
|
106
|
+
menuLight: string;
|
|
107
|
+
editorRow: string;
|
|
108
|
+
editorElement: string;
|
|
109
|
+
editorRepeatable: string;
|
|
110
|
+
error: string;
|
|
111
|
+
warning: string;
|
|
112
|
+
success: string;
|
|
113
|
+
info: string;
|
|
114
|
+
successIcon: string;
|
|
115
|
+
errorIcon: string;
|
|
116
|
+
infoIcon: string;
|
|
117
|
+
warningIcon: string;
|
|
90
118
|
}
|
|
91
119
|
export interface IThemeBorderColors {
|
|
92
120
|
primary1: string;
|
|
@@ -105,6 +133,7 @@ export interface IThemeBorderColors {
|
|
|
105
133
|
background: string;
|
|
106
134
|
blue400: string;
|
|
107
135
|
teal400: string;
|
|
136
|
+
teal500: string;
|
|
108
137
|
pink400: string;
|
|
109
138
|
red400: string;
|
|
110
139
|
red600: string;
|
|
@@ -132,11 +161,28 @@ export interface IThemeBorderColors {
|
|
|
132
161
|
autosExpression: string;
|
|
133
162
|
client: string;
|
|
134
163
|
createNew: string;
|
|
164
|
+
menuDark: string;
|
|
165
|
+
menuLight: string;
|
|
166
|
+
editorRow: string;
|
|
167
|
+
editorElement: string;
|
|
168
|
+
editorRepeatable: string;
|
|
169
|
+
error: string;
|
|
170
|
+
warning: string;
|
|
171
|
+
success: string;
|
|
172
|
+
info: string;
|
|
173
|
+
successIcon: string;
|
|
174
|
+
errorIcon: string;
|
|
175
|
+
infoIcon: string;
|
|
176
|
+
warningIcon: string;
|
|
177
|
+
}
|
|
178
|
+
export interface IThemeStyles {
|
|
179
|
+
buttonBorderRadius: string | number;
|
|
135
180
|
}
|
|
136
181
|
export interface IStyledTheme {
|
|
137
182
|
fontColors: IThemeFontColors;
|
|
138
183
|
backgroundColors: IThemeBackgroundColors;
|
|
139
184
|
borderColors: IThemeBorderColors;
|
|
185
|
+
styles?: IThemeStyles;
|
|
140
186
|
}
|
|
141
187
|
export interface IMooskinContext {
|
|
142
188
|
palette?: IStyledTheme;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import { IBoxComponentProps } from '../Box/model';
|
|
3
|
-
export declare const StyledTable: import("styled-components").StyledComponent<import("react").FC<IBoxComponentProps>, any,
|
|
4
|
-
export declare const StyledTableHeader: import("styled-components").StyledComponent<import("react").FC<IBoxComponentProps>, any,
|
|
5
|
-
export declare const StyledTableHeaderItem: import("styled-components").StyledComponent<import("react").FC<IBoxComponentProps>, any,
|
|
6
|
-
export declare const StyledTableRow: import("styled-components").StyledComponent<import("react").FC<IBoxComponentProps>, any,
|
|
7
|
-
export declare const StyledTableRowItem: import("styled-components").StyledComponent<import("react").FC<IBoxComponentProps>, any,
|
|
3
|
+
export declare const StyledTable: import("styled-components").StyledComponent<import("react").FC<IBoxComponentProps>, any, import("../Box/model").IBaseBoxComponentProps & import("react").HTMLAttributes<HTMLElement>, never>;
|
|
4
|
+
export declare const StyledTableHeader: import("styled-components").StyledComponent<import("react").FC<IBoxComponentProps>, any, import("../Box/model").IBaseBoxComponentProps & import("react").HTMLAttributes<HTMLElement>, never>;
|
|
5
|
+
export declare const StyledTableHeaderItem: import("styled-components").StyledComponent<import("react").FC<IBoxComponentProps>, any, import("../Box/model").IBaseBoxComponentProps & import("react").HTMLAttributes<HTMLElement>, never>;
|
|
6
|
+
export declare const StyledTableRow: import("styled-components").StyledComponent<import("react").FC<IBoxComponentProps>, any, import("../Box/model").IBaseBoxComponentProps & import("react").HTMLAttributes<HTMLElement>, never>;
|
|
7
|
+
export declare const StyledTableRowItem: import("styled-components").StyledComponent<import("react").FC<IBoxComponentProps>, any, import("../Box/model").IBaseBoxComponentProps & import("react").HTMLAttributes<HTMLElement>, never>;
|
|
@@ -4,5 +4,5 @@ import { ITagComponentProps, ITagsComponentProps, ITagsInputComponentProps } fro
|
|
|
4
4
|
export declare const StyledTags: import("styled-components").StyledComponent<import("react").FC<IBoxComponentProps>, any, ITagsComponentProps, never>;
|
|
5
5
|
export declare const StyledTag: import("styled-components").StyledComponent<import("react").FC<IBoxComponentProps>, any, ITagComponentProps, never>;
|
|
6
6
|
export declare const StyledTagText: import("styled-components").StyledComponent<import("react").FC<IBoxComponentProps>, any, ITagComponentProps, never>;
|
|
7
|
-
export declare const StyledTagClose: import("styled-components").StyledComponent<import("react").FC<IBoxComponentProps>, any,
|
|
7
|
+
export declare const StyledTagClose: import("styled-components").StyledComponent<import("react").FC<IBoxComponentProps>, any, import("../Box/model").IBaseBoxComponentProps & import("react").HTMLAttributes<HTMLElement>, never>;
|
|
8
8
|
export declare const StyledTagInput: import("styled-components").StyledComponent<import("react").FC<IBoxComponentProps>, any, ITagsInputComponentProps, never>;
|
|
@@ -1,3 +1,2 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
|
|
3
|
-
export declare const StyledTextArea: import("styled-components").StyledComponent<import("react").FC<import("../Box/model").IBoxComponentProps>, any, ITextAreaBoxComponentProps, never>;
|
|
2
|
+
export declare const StyledTextArea: import("styled-components").StyledComponent<import("react").FC<import("../Box/model").IBoxComponentProps>, any, import("../Box/model").IBaseBoxComponentProps & import("react").HTMLAttributes<HTMLElement> & import("react").TextareaHTMLAttributes<HTMLTextAreaElement>, never>;
|
|
@@ -9,3 +9,21 @@ declare const _default: {
|
|
|
9
9
|
xSmall: string;
|
|
10
10
|
};
|
|
11
11
|
export default _default;
|
|
12
|
+
export declare const Screens: {
|
|
13
|
+
lg: {
|
|
14
|
+
min: number;
|
|
15
|
+
max: number;
|
|
16
|
+
};
|
|
17
|
+
md: {
|
|
18
|
+
min: number;
|
|
19
|
+
max: number;
|
|
20
|
+
};
|
|
21
|
+
sm: {
|
|
22
|
+
min: number;
|
|
23
|
+
max: number;
|
|
24
|
+
};
|
|
25
|
+
xs: {
|
|
26
|
+
min: number;
|
|
27
|
+
max: number;
|
|
28
|
+
};
|
|
29
|
+
};
|