@moosend/mooskin 1.0.0-alpha.117 → 1.0.0-alpha.118
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/Box/model.d.ts +2 -2
- package/lib/Box/styles.d.ts +1 -1
- package/lib/Description/model.d.ts +4 -0
- package/lib/Drawer/styles.d.ts +1 -1
- package/lib/Styled/model.d.ts +17 -0
- package/lib/assets/font-awesome/webfonts/fa-duotone-900.ttf +0 -0
- package/lib/assets/font-awesome/webfonts/fa-light-300.ttf +0 -0
- package/lib/assets/font-awesome/webfonts/fa-regular-400.ttf +0 -0
- package/lib/assets/font-awesome/webfonts/fa-solid-900.ttf +0 -0
- package/lib/assets/font-awesome/webfonts/fa-thin-100.ttf +0 -0
- package/lib/components/ActionsDropdown/ActionsDropdown.d.ts +1 -1
- package/lib/components/ActionsDropdown/model.d.ts +1 -0
- package/lib/components/ActionsDropdown/styles.d.ts +2 -0
- package/lib/components/Box/model.d.ts +5 -0
- package/lib/components/Box/resources.d.ts +9 -0
- package/lib/components/Button/Button.d.ts +1 -0
- package/lib/components/Button/model.d.ts +0 -1
- package/lib/components/Button/styles.d.ts +2 -2
- package/lib/components/Checkbox/model.d.ts +1 -0
- package/lib/components/Checkbox/styles.d.ts +2 -2
- package/lib/components/DateRange/styles.d.ts +3 -0
- package/lib/components/Drawer/styles.d.ts +1 -1
- package/lib/components/Pagination/model.d.ts +2 -0
- package/lib/components/Radio/model.d.ts +1 -0
- package/lib/components/Radio/styles.d.ts +2 -2
- package/lib/components/Select/Select.d.ts +2 -2
- package/lib/components/Select/model.d.ts +3 -1
- package/lib/components/Select/styles.d.ts +4 -2
- package/lib/components/Styled/model.d.ts +18 -0
- package/lib/components/Tags/Tags.d.ts +1 -0
- package/lib/components/index/index.d.ts +2 -2
- package/lib/index/index.js +6 -6
- package/lib/stories/Button.stories.d.ts +0 -1
- package/package.json +1 -1
- package/lib/Button/index.d.ts +0 -2
- package/lib/Button/index.js +0 -1
- package/lib/Button/style.css +0 -1
- package/lib/Carousel/index.d.ts +0 -2
- package/lib/Carousel/index.js +0 -12
- package/lib/Carousel/style.css +0 -326
- package/lib/CheckListItem/CheckListItem.d.ts +0 -24
- package/lib/CheckListItem/index.d.ts +0 -2
- package/lib/CheckListItem/index.js +0 -1
- package/lib/CheckListItem/style.css +0 -5
- package/lib/Checkbox/index.d.ts +0 -3
- package/lib/Checkbox/index.js +0 -1
- package/lib/Checkbox/style.css +0 -14
- package/lib/ClipboardButton/ClipboardButton.d.ts +0 -19
- package/lib/ClipboardButton/index.d.ts +0 -2
- package/lib/ClipboardButton/index.js +0 -1
- package/lib/ClipboardButton/style.css +0 -1
- package/lib/DatePicker/index.d.ts +0 -3
- package/lib/DatePicker/index.js +0 -12
- package/lib/DatePicker/style.css +0 -7
- package/lib/DateRange/index.d.ts +0 -2
- package/lib/DateRange/index.js +0 -12
- package/lib/DateRange/style.css +0 -19
- package/lib/Fieldset/Fieldset.d.ts +0 -16
- package/lib/Fieldset/index.d.ts +0 -2
- package/lib/Fieldset/index.js +0 -1
- package/lib/Fieldset/style.css +0 -2
- package/lib/File/FileUpload.d.ts +0 -43
- package/lib/File/index.d.ts +0 -2
- package/lib/File/index.js +0 -1
- package/lib/File/style.css +0 -1
- package/lib/Form/Form.d.ts +0 -36
- package/lib/Form/index.d.ts +0 -3
- package/lib/Form/index.js +0 -1
- package/lib/Form/style.css +0 -1
- package/lib/Grid/index.d.ts +0 -4
- package/lib/Grid/index.js +0 -1
- package/lib/Grid/style.css +0 -1
- package/lib/Headings/H1/H1.d.ts +0 -11
- package/lib/Headings/H2/H2.d.ts +0 -11
- package/lib/Headings/H3/H3.d.ts +0 -11
- package/lib/Headings/H4/H4.d.ts +0 -11
- package/lib/Headings/H5/H5.d.ts +0 -11
- package/lib/Headings/H6/H6.d.ts +0 -11
- package/lib/Headings/index.d.ts +0 -6
- package/lib/Headings/index.js +0 -1
- package/lib/Headings/props.d.ts +0 -7
- package/lib/Headings/style.css +0 -12
- package/lib/HorizontalRangeBar/HorizontalRangeBar.d.ts +0 -25
- package/lib/HorizontalRangeBar/index.d.ts +0 -2
- package/lib/HorizontalRangeBar/index.js +0 -1
- package/lib/HorizontalRangeBar/style.css +0 -1
- package/lib/Input/index.d.ts +0 -2
- package/lib/Input/index.js +0 -1
- package/lib/Input/style.css +0 -465
- package/lib/Label/index.d.ts +0 -2
- package/lib/Label/index.js +0 -1
- package/lib/Label/style.css +0 -2
- package/lib/List/index.d.ts +0 -3
- package/lib/List/index.js +0 -1
- package/lib/List/style.css +0 -2
- package/lib/Loader/index.d.ts +0 -2
- package/lib/Loader/index.js +0 -1
- package/lib/Loader/style.css +0 -1
- package/lib/LoadingBar/index.d.ts +0 -2
- package/lib/LoadingBar/index.js +0 -1
- package/lib/LoadingBar/style.css +0 -1
- package/lib/Modal/index.d.ts +0 -2
- package/lib/Modal/index.js +0 -1
- package/lib/Modal/style.css +0 -15
- package/lib/Pagination/index.d.ts +0 -2
- package/lib/Pagination/index.js +0 -1
- package/lib/Pagination/style.css +0 -1
- package/lib/Radio/index.d.ts +0 -3
- package/lib/Radio/index.js +0 -1
- package/lib/Radio/style.css +0 -13
- package/lib/RadioAccordion/RadioAccordion.d.ts +0 -49
- package/lib/RadioAccordion/index.d.ts +0 -3
- package/lib/RadioAccordion/index.js +0 -1
- package/lib/RadioAccordion/style.css +0 -1
- package/lib/Select/index.d.ts +0 -3
- package/lib/Select/index.js +0 -1
- package/lib/Select/style.css +0 -2
- package/lib/SideBar/SideBar.d.ts +0 -79
- package/lib/SideBar/index.d.ts +0 -3
- package/lib/SideBar/index.js +0 -1
- package/lib/SideBar/style.css +0 -3
- package/lib/Slider/index.d.ts +0 -3
- package/lib/Slider/index.js +0 -1
- package/lib/Slider/style.css +0 -2
- package/lib/SmallIconButton/SmallIconButton.d.ts +0 -23
- package/lib/SmallIconButton/index.d.ts +0 -2
- package/lib/SmallIconButton/index.js +0 -1
- package/lib/SmallIconButton/style.css +0 -2
- package/lib/StatsBox/StatsBox.d.ts +0 -16
- package/lib/StatsBox/index.d.ts +0 -2
- package/lib/StatsBox/index.js +0 -1
- package/lib/StatsBox/style.css +0 -2
- package/lib/Steps/index.d.ts +0 -3
- package/lib/Steps/index.js +0 -1
- package/lib/Steps/style.css +0 -1
- package/lib/Switch/index.d.ts +0 -2
- package/lib/Switch/index.js +0 -1
- package/lib/Switch/style.css +0 -1
- package/lib/TabbedContent/TabbedContent.d.ts +0 -72
- package/lib/TabbedContent/index.d.ts +0 -3
- package/lib/TabbedContent/index.js +0 -1
- package/lib/TabbedContent/style.css +0 -4
- package/lib/Table/index.d.ts +0 -3
- package/lib/Table/index.js +0 -1
- package/lib/Table/style.css +0 -6
- package/lib/Tags/index.d.ts +0 -2
- package/lib/Tags/index.js +0 -1
- package/lib/Tags/style.css +0 -3
- package/lib/TextArea/index.d.ts +0 -2
- package/lib/TextArea/index.js +0 -1
- package/lib/TextArea/style.css +0 -1
- package/lib/TextEditor/index.d.ts +0 -2
- package/lib/TextEditor/index.js +0 -28
- package/lib/TextEditor/style.css +0 -852
- package/lib/TopNotification/TopNotification.d.ts +0 -27
- package/lib/TopNotification/index.d.ts +0 -2
- package/lib/TopNotification/index.js +0 -1
- package/lib/TopNotification/style.css +0 -2
- package/lib/Topbar/Topbar.d.ts +0 -23
- package/lib/Topbar/index.d.ts +0 -2
- package/lib/Topbar/index.js +0 -1
- package/lib/Topbar/style.css +0 -1
- package/lib/_utils/index.js +0 -1
- package/lib/node_modules/@fortawesome/fontawesome-pro/webfonts/fa-brands-400.svg +0 -3717
- package/lib/node_modules/@fortawesome/fontawesome-pro/webfonts/fa-duotone-900.svg +0 -15326
- package/lib/node_modules/@fortawesome/fontawesome-pro/webfonts/fa-light-300.svg +0 -12420
- package/lib/node_modules/@fortawesome/fontawesome-pro/webfonts/fa-regular-400.svg +0 -11323
- package/lib/node_modules/@fortawesome/fontawesome-pro/webfonts/fa-solid-900.svg +0 -9653
package/lib/Box/model.d.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
import { IMooskinContext, IStyledTheme, IThemeBackgroundColors, IThemeBorderColors, IThemeFontColors } from '../Styled/model';
|
|
2
|
+
import { IMooskinContext, IStyledTheme, IThemeBackgroundColors, IThemeBorderColors, IThemeChartColors, IThemeFontColors } from '../Styled/model';
|
|
3
3
|
export declare type IntensityType = 'xs' | 'sm' | 'base' | 'md' | 'lg' | 'xl' | '2xl';
|
|
4
4
|
export declare type BoxShadowIntensityType = IntensityType | 'inner' | 'outline';
|
|
5
|
-
export declare type NestedThemeType = `${keyof IStyledTheme}.${keyof IThemeFontColors | keyof IThemeBorderColors | keyof IThemeBackgroundColors}`;
|
|
5
|
+
export declare type NestedThemeType = `${keyof IStyledTheme}.${keyof IThemeFontColors | keyof IThemeBorderColors | keyof IThemeBackgroundColors | keyof IThemeChartColors}`;
|
|
6
6
|
export declare const boxComponentProps: string[];
|
|
7
7
|
export declare type IBoxComponentProps = IBaseBoxComponentProps & React.HTMLAttributes<HTMLElement>;
|
|
8
8
|
export declare type IBoxImageComponentProps = IBaseBoxComponentProps & React.ImgHTMLAttributes<HTMLImageElement>;
|
package/lib/Box/styles.d.ts
CHANGED
|
@@ -2,6 +2,6 @@ import { IStyledTheme } from '../Styled/model';
|
|
|
2
2
|
import { BoxShadowIntensityType, IBoxComponentProps } from './model';
|
|
3
3
|
export declare const getNumberOrStringValue: (value?: string | number | undefined) => string;
|
|
4
4
|
export declare const getNestedValue: (value?: string | number | undefined, pallete?: IStyledTheme | undefined) => any;
|
|
5
|
-
export declare const getRoundness: (round?: "base" | "
|
|
5
|
+
export declare const getRoundness: (round?: "base" | "lg" | "md" | "sm" | "xs" | "xl" | "2xl" | undefined) => "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;
|
|
6
6
|
export declare const getBoxShadow: (boxShadow?: React.CSSProperties['boxShadow'] | BoxShadowIntensityType) => string | undefined;
|
|
7
7
|
export declare const StyledBox: import("styled-components").StyledComponent<"div", any, IBoxComponentProps, never>;
|
package/lib/Drawer/styles.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import { IBoxComponentProps } from '../Box/model';
|
|
3
3
|
import { IDrawerComponentProps, IDrawerContentComponentProps, IDrawerOverlayComponentProps } from './model';
|
|
4
|
-
export declare const getContentSize: (size?: "
|
|
4
|
+
export declare const getContentSize: (size?: "lg" | "md" | "sm" | "xs" | "xl" | "full" | undefined) => "80%" | "100%" | "20%" | "35%" | "50%" | "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>;
|
package/lib/Styled/model.d.ts
CHANGED
|
@@ -3,6 +3,7 @@ export interface IThemeFontColors {
|
|
|
3
3
|
primary2: string;
|
|
4
4
|
primary3: string;
|
|
5
5
|
primary4: string;
|
|
6
|
+
primary5: string;
|
|
6
7
|
secondary1: string;
|
|
7
8
|
secondary2: string;
|
|
8
9
|
secondary3: string;
|
|
@@ -15,6 +16,7 @@ export interface IThemeFontColors {
|
|
|
15
16
|
grayAlpha: string;
|
|
16
17
|
grayAlpha100: string;
|
|
17
18
|
grayAlpha400: string;
|
|
19
|
+
gray100: string;
|
|
18
20
|
gray1: string;
|
|
19
21
|
gray2: string;
|
|
20
22
|
medgray1: string;
|
|
@@ -33,6 +35,7 @@ export interface IThemeBackgroundColors {
|
|
|
33
35
|
primary2: string;
|
|
34
36
|
primary3: string;
|
|
35
37
|
primary4: string;
|
|
38
|
+
primary5: string;
|
|
36
39
|
secondary1: string;
|
|
37
40
|
secondary2: string;
|
|
38
41
|
secondary3: string;
|
|
@@ -43,6 +46,8 @@ export interface IThemeBackgroundColors {
|
|
|
43
46
|
altWhite: string;
|
|
44
47
|
background: string;
|
|
45
48
|
grayAlpha: string;
|
|
49
|
+
grayAlpha100: string;
|
|
50
|
+
grayAlpha400: string;
|
|
46
51
|
gray100: string;
|
|
47
52
|
gray1: string;
|
|
48
53
|
gray2: string;
|
|
@@ -62,6 +67,7 @@ export interface IThemeBorderColors {
|
|
|
62
67
|
primary2: string;
|
|
63
68
|
primary3: string;
|
|
64
69
|
primary4: string;
|
|
70
|
+
primary5: string;
|
|
65
71
|
secondary1: string;
|
|
66
72
|
secondary2: string;
|
|
67
73
|
secondary3: string;
|
|
@@ -73,6 +79,8 @@ export interface IThemeBorderColors {
|
|
|
73
79
|
background: string;
|
|
74
80
|
grayAlpha: string;
|
|
75
81
|
grayAlpha100: string;
|
|
82
|
+
grayAlpha400: string;
|
|
83
|
+
gray100: string;
|
|
76
84
|
gray1: string;
|
|
77
85
|
gray2: string;
|
|
78
86
|
medgray1: string;
|
|
@@ -86,10 +94,19 @@ export interface IThemeBorderColors {
|
|
|
86
94
|
checkboxUnselected: string;
|
|
87
95
|
dropdown: string;
|
|
88
96
|
}
|
|
97
|
+
export interface IThemeChartColors {
|
|
98
|
+
primaryblue: string;
|
|
99
|
+
primaryteal: string;
|
|
100
|
+
secondarygreen: string;
|
|
101
|
+
primaryred: string;
|
|
102
|
+
primaryyellow: string;
|
|
103
|
+
medgray1: string;
|
|
104
|
+
}
|
|
89
105
|
export interface IStyledTheme {
|
|
90
106
|
fontColors: IThemeFontColors;
|
|
91
107
|
backgroundColors: IThemeBackgroundColors;
|
|
92
108
|
borderColors: IThemeBorderColors;
|
|
109
|
+
chartColors: IThemeChartColors;
|
|
93
110
|
}
|
|
94
111
|
export interface IMooskinContext {
|
|
95
112
|
palette?: IStyledTheme;
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
import { IBoxComponentProps } from '../
|
|
2
|
+
import { IBoxComponentProps } from '../Box/model';
|
|
3
3
|
import { IActionsDropdownComponentProps, IActionsDropdownItemComponentProps } from './model';
|
|
4
4
|
export declare const ActionsDropdown: React.FC<IActionsDropdownComponentProps>;
|
|
5
5
|
export declare const ActionsDropdownItem: React.FC<IActionsDropdownItemComponentProps>;
|
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
import { IInputCallbackData } from '../_utils/types/commonTypes';
|
|
3
3
|
import { IBoxComponentProps } from '../Box/model';
|
|
4
4
|
export interface IActionsDropdownComponentProps extends IBoxComponentProps {
|
|
5
|
+
isOpen?: boolean;
|
|
5
6
|
onClickItem?: (e: React.MouseEvent<HTMLElement>, data: IInputCallbackData) => void;
|
|
6
7
|
}
|
|
7
8
|
export interface IActionsDropdownItemComponentProps extends IBoxComponentProps {
|
|
@@ -2,5 +2,7 @@
|
|
|
2
2
|
import { IBoxComponentProps } from '../index';
|
|
3
3
|
import { IActionsDropdownComponentProps, IActionsDropdownItemComponentProps } from './model';
|
|
4
4
|
export declare const StyledActionsDropdown: import("styled-components").StyledComponent<import("react").FC<IBoxComponentProps>, any, IActionsDropdownComponentProps, never>;
|
|
5
|
+
export declare const StyledActionsDropdownFadeIn: import("styled-components").StyledComponent<import("react").FC<IBoxComponentProps>, any, IActionsDropdownComponentProps, never>;
|
|
6
|
+
export declare const StyledActionsDropdownFadeOut: import("styled-components").StyledComponent<import("react").FC<IBoxComponentProps>, any, IActionsDropdownComponentProps, never>;
|
|
5
7
|
export declare const StyledActionsDropdownItem: import("styled-components").StyledComponent<import("react").FC<IBoxComponentProps>, any, IActionsDropdownItemComponentProps, never>;
|
|
6
8
|
export declare const StyledActionsDropdownArrow: import("styled-components").StyledComponent<import("react").FC<IBoxComponentProps>, any, IBoxComponentProps, never>;
|
|
@@ -109,5 +109,10 @@ export interface IBaseBoxComponentProps extends IMooskinContext {
|
|
|
109
109
|
_hover?: string;
|
|
110
110
|
all?: React.CSSProperties['all'] | Array<React.CSSProperties['all']>;
|
|
111
111
|
transition?: React.CSSProperties['transition'] | Array<React.CSSProperties['transition']>;
|
|
112
|
+
transform?: React.CSSProperties['transform'] | Array<React.CSSProperties['transform']>;
|
|
112
113
|
textOverflow?: React.CSSProperties['textOverflow'] | Array<React.CSSProperties['textOverflow']>;
|
|
114
|
+
outline?: React.CSSProperties['outline'] | Array<React.CSSProperties['outline']>;
|
|
115
|
+
outlineWidth?: React.CSSProperties['outlineWidth'] | Array<React.CSSProperties['outlineWidth']>;
|
|
116
|
+
outlineStyle?: React.CSSProperties['outlineStyle'] | Array<React.CSSProperties['outlineStyle']>;
|
|
117
|
+
outlineColor?: React.CSSProperties['outlineColor'] | NestedThemeType | Array<React.CSSProperties['outlineColor']>;
|
|
113
118
|
}
|
|
@@ -2,4 +2,5 @@ import * as React from 'react';
|
|
|
2
2
|
import { IBoxComponentProps } from '../Box/model';
|
|
3
3
|
import { IButtonComponentProps } from './model';
|
|
4
4
|
export declare const Button: React.FC<IButtonComponentProps>;
|
|
5
|
+
export declare const ButtonSecondary: React.FC<IButtonComponentProps>;
|
|
5
6
|
export declare const ButtonIcon: React.FC<IBoxComponentProps>;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import { IButtonComponentProps } from './model';
|
|
3
3
|
export declare const ButtonDefault: import("styled-components").StyledComponent<import("react").FC<import("../index").IBoxComponentProps>, any, IButtonComponentProps, never>;
|
|
4
|
-
export declare const
|
|
5
|
-
export declare const
|
|
4
|
+
export declare const StyledButton: import("styled-components").StyledComponent<import("react").FC<import("../index").IBoxComponentProps>, any, IButtonComponentProps, never>;
|
|
5
|
+
export declare const StyledButtonSecondary: import("styled-components").StyledComponent<import("react").FC<import("../index").IBoxComponentProps>, any, IButtonComponentProps, never>;
|
|
6
6
|
export declare const StyledButtonIcon: import("styled-components").StyledComponent<import("react").FC<import("../index").IBoxComponentProps>, any, {}, never>;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import { ILabelComponentProps } from '../Label/model';
|
|
3
|
-
import {
|
|
3
|
+
import { ICheckboxIconComponentProps } from './model';
|
|
4
4
|
export declare const StyledCheckbox: import("styled-components").StyledComponent<import("react").FC<import("../index").IBoxComponentProps>, any, {}, never>;
|
|
5
|
-
export declare const StyledCheckboxIcon: import("styled-components").StyledComponent<import("react").FC<import("../index").IBoxComponentProps>, any,
|
|
5
|
+
export declare const StyledCheckboxIcon: import("styled-components").StyledComponent<import("react").FC<import("../index").IBoxComponentProps>, any, ICheckboxIconComponentProps, never>;
|
|
6
6
|
export declare const StyledCheckboxLabel: import("styled-components").StyledComponent<import("react").FC<ILabelComponentProps>, any, ILabelComponentProps, never>;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import { IBoxComponentProps } from '../Box/model';
|
|
3
3
|
import { IDrawerComponentProps, IDrawerContentComponentProps, IDrawerOverlayComponentProps } from './model';
|
|
4
|
-
export declare const getContentSize: (size?: "xs" | "sm" | "md" | "lg" | "xl" | "full" | undefined) => "
|
|
4
|
+
export declare const getContentSize: (size?: "xs" | "sm" | "md" | "lg" | "xl" | "full" | undefined) => "100%" | "80%" | "20%" | "35%" | "50%" | "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>;
|
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import { IBoxComponentProps } from '../Box/model';
|
|
3
3
|
export interface IPaginationComponentProps extends IBoxComponentProps {
|
|
4
|
+
singleItem?: boolean;
|
|
5
|
+
hideShowAll?: boolean;
|
|
4
6
|
activePage: number;
|
|
5
7
|
onClickButton?: (e: React.MouseEvent<HTMLElement>, value: number) => void;
|
|
6
8
|
children?: React.ReactElement<IPaginationButtonComponentProps> | Array<React.ReactElement<IPaginationButtonComponentProps>>;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import { ILabelComponentProps } from '../Label/model';
|
|
3
|
-
import {
|
|
3
|
+
import { IRadioIconComponentProps } from './model';
|
|
4
4
|
export declare const StyledRadio: import("styled-components").StyledComponent<import("react").FC<import("../index").IBoxComponentProps>, any, {}, never>;
|
|
5
|
-
export declare const StyledRadioIcon: import("styled-components").StyledComponent<import("react").FC<import("../index").IBoxComponentProps>, any,
|
|
5
|
+
export declare const StyledRadioIcon: import("styled-components").StyledComponent<import("react").FC<import("../index").IBoxComponentProps>, any, IRadioIconComponentProps, never>;
|
|
6
6
|
export declare const StyledRadioLabel: import("styled-components").StyledComponent<import("react").FC<ILabelComponentProps>, any, ILabelComponentProps, never>;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
import { IBoxComponentProps, IInputBoxComponentProps } from '../Box/model';
|
|
3
|
-
import { ISelectComponentProps, ISelectOptionComponentProps, ISelectPaginationComponentProps } from './model';
|
|
3
|
+
import { ISelectComponentProps, ISelectOptionComponentProps, ISelectOptionListProps, ISelectPaginationComponentProps } from './model';
|
|
4
4
|
export declare const Select: React.FC<ISelectComponentProps>;
|
|
5
5
|
export declare const SelectContainer: React.FC<IBoxComponentProps>;
|
|
6
6
|
export declare const SelectPlaceholder: React.FC<IBoxComponentProps>;
|
|
7
|
-
export declare const SelectOptionList: React.FC<
|
|
7
|
+
export declare const SelectOptionList: React.FC<ISelectOptionListProps>;
|
|
8
8
|
export declare const SelectOption: React.FC<ISelectOptionComponentProps>;
|
|
9
9
|
export declare const SelectFilter: React.FC<IInputBoxComponentProps>;
|
|
10
10
|
export declare const SelectLoader: React.FC<IBoxComponentProps>;
|
|
@@ -5,9 +5,11 @@ export interface ISelectComponentProps extends IBoxComponentProps {
|
|
|
5
5
|
onChangeSelect?: (e: React.MouseEvent<HTMLElement>, data: IInputCallbackData) => void;
|
|
6
6
|
dataLabel?: string;
|
|
7
7
|
selectedValue?: string | number | Array<string | number>;
|
|
8
|
-
showList?: boolean;
|
|
9
8
|
disabled?: boolean;
|
|
10
9
|
}
|
|
10
|
+
export interface ISelectOptionListProps extends IBoxComponentProps {
|
|
11
|
+
showList?: boolean;
|
|
12
|
+
}
|
|
11
13
|
export interface ISelectFilterComponentProps extends IInputBoxComponentProps {
|
|
12
14
|
onChangeFilter?: (e: React.ChangeEvent<HTMLInputElement>) => void;
|
|
13
15
|
}
|
|
@@ -1,11 +1,13 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import { IBoxComponentProps, IInputBoxComponentProps } from '../Box/model';
|
|
3
|
-
import { ISelectComponentProps, ISelectOptionComponentProps } from './model';
|
|
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
5
|
export declare const StyledSelectFilter: import("styled-components").StyledComponent<import("react").FC<IBoxComponentProps>, any, IInputBoxComponentProps, never>;
|
|
6
6
|
export declare const StyledSelectContainer: import("styled-components").StyledComponent<import("react").FC<IBoxComponentProps>, any, IBoxComponentProps, never>;
|
|
7
7
|
export declare const StyledSelectPlaceholder: import("styled-components").StyledComponent<import("react").FC<IBoxComponentProps>, any, IBoxComponentProps, never>;
|
|
8
|
-
export declare const StyledSelectOptionList: import("styled-components").StyledComponent<import("react").FC<IBoxComponentProps>, any,
|
|
8
|
+
export declare const StyledSelectOptionList: import("styled-components").StyledComponent<import("react").FC<IBoxComponentProps>, any, ISelectOptionListProps, never>;
|
|
9
|
+
export declare const StyledSelectOptionListFadeIn: import("styled-components").StyledComponent<import("react").FC<IBoxComponentProps>, any, ISelectOptionListProps, never>;
|
|
10
|
+
export declare const StyledSelectOptionListFadeOut: import("styled-components").StyledComponent<import("react").FC<IBoxComponentProps>, any, ISelectOptionListProps, never>;
|
|
9
11
|
export declare const StyledSelectOverlay: import("styled-components").StyledComponent<import("react").FC<IBoxComponentProps>, any, IBoxComponentProps, never>;
|
|
10
12
|
export declare const StyledSelectOption: import("styled-components").StyledComponent<import("react").FC<IBoxComponentProps>, any, ISelectOptionComponentProps, never>;
|
|
11
13
|
export declare const StyledSelectIcon: import("styled-components").StyledComponent<import("react").FC<IBoxComponentProps>, any, IBoxComponentProps, never>;
|
|
@@ -10,15 +10,21 @@ export interface IThemeFontColors {
|
|
|
10
10
|
secondary5: string;
|
|
11
11
|
secondary6: string;
|
|
12
12
|
white: string;
|
|
13
|
+
altWhite: string;
|
|
13
14
|
background: string;
|
|
15
|
+
grayAlpha: string;
|
|
14
16
|
gray1: string;
|
|
15
17
|
gray2: string;
|
|
16
18
|
medgray1: string;
|
|
17
19
|
medgray2: string;
|
|
18
20
|
darkgray1: string;
|
|
19
21
|
darkgray2: string;
|
|
22
|
+
darkgray3: string;
|
|
20
23
|
text: string;
|
|
24
|
+
inverseText: string;
|
|
21
25
|
black: string;
|
|
26
|
+
checkboxUnselected: string;
|
|
27
|
+
dropdown: string;
|
|
22
28
|
}
|
|
23
29
|
export interface IThemeBackgroundColors {
|
|
24
30
|
primary1: string;
|
|
@@ -32,15 +38,21 @@ export interface IThemeBackgroundColors {
|
|
|
32
38
|
secondary5: string;
|
|
33
39
|
secondary6: string;
|
|
34
40
|
white: string;
|
|
41
|
+
altWhite: string;
|
|
35
42
|
background: string;
|
|
43
|
+
grayAlpha: string;
|
|
36
44
|
gray1: string;
|
|
37
45
|
gray2: string;
|
|
38
46
|
medgray1: string;
|
|
39
47
|
medgray2: string;
|
|
40
48
|
darkgray1: string;
|
|
41
49
|
darkgray2: string;
|
|
50
|
+
darkgray3: string;
|
|
42
51
|
text: string;
|
|
52
|
+
inverseText: string;
|
|
43
53
|
black: string;
|
|
54
|
+
checkboxUnselected: string;
|
|
55
|
+
dropdown: string;
|
|
44
56
|
}
|
|
45
57
|
export interface IThemeBorderColors {
|
|
46
58
|
primary1: string;
|
|
@@ -54,15 +66,21 @@ export interface IThemeBorderColors {
|
|
|
54
66
|
secondary5: string;
|
|
55
67
|
secondary6: string;
|
|
56
68
|
white: string;
|
|
69
|
+
altWhite: string;
|
|
57
70
|
background: string;
|
|
71
|
+
grayAlpha: string;
|
|
58
72
|
gray1: string;
|
|
59
73
|
gray2: string;
|
|
60
74
|
medgray1: string;
|
|
61
75
|
medgray2: string;
|
|
62
76
|
darkgray1: string;
|
|
63
77
|
darkgray2: string;
|
|
78
|
+
darkgray3: string;
|
|
64
79
|
text: string;
|
|
80
|
+
inverseText: string;
|
|
65
81
|
black: string;
|
|
82
|
+
checkboxUnselected: string;
|
|
83
|
+
dropdown: string;
|
|
66
84
|
}
|
|
67
85
|
export interface IStyledTheme {
|
|
68
86
|
fontColors: IThemeFontColors;
|
|
@@ -5,3 +5,4 @@ export declare const Tags: React.FC<ITagsComponentProps>;
|
|
|
5
5
|
export declare const Tag: React.FC<ITagComponentProps>;
|
|
6
6
|
export declare const TagInput: React.FC<ITagsInputComponentProps>;
|
|
7
7
|
export declare const TagClose: React.FC<IBoxComponentProps>;
|
|
8
|
+
export declare const TagText: React.FC<IBoxComponentProps>;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
export { MooskinContext, MooskinContextProvider, useMooskinContext, withMooskinContext } from '../Styled/MooskinContextProvider';
|
|
2
2
|
export { ActionsDropdown, ActionsDropdownArrow, ActionsDropdownItem } from '../ActionsDropdown/ActionsDropdown';
|
|
3
3
|
export { Alert, AlertCloseButton, AlertDescription, AlertIcon, AlertTitle } from '../Alert/Alert';
|
|
4
|
-
export { Button, ButtonIcon } from '../Button/Button';
|
|
4
|
+
export { Button, ButtonSecondary, ButtonIcon } from '../Button/Button';
|
|
5
5
|
export { Anchor } from '../Anchor/Anchor';
|
|
6
6
|
export { Skeleton, SkeletonCircle, SkeletonText } from '../Skeleton/Skeleton';
|
|
7
7
|
export { Drawer, DrawerBody, DrawerCloseButton, DrawerContent, DrawerFooter, DrawerHeader, DrawerOverlay } from '../Drawer/Drawer';
|
|
@@ -37,7 +37,7 @@ export { LoadingBar } from '../LoadingBar/LoadingBar';
|
|
|
37
37
|
export { TextArea } from '../TextArea/TextArea';
|
|
38
38
|
export { TextEditor } from '../TextEditor/TextEditor';
|
|
39
39
|
export { Tabs, TabContent, TabHeader, Tab } from '../Tabs/Tabs';
|
|
40
|
-
export { Tags, TagClose, TagInput, Tag } from '../Tags/Tags';
|
|
40
|
+
export { Tags, TagClose, TagInput, Tag, TagText } from '../Tags/Tags';
|
|
41
41
|
export { Table, TableHeader, TableHeaderItem, TableRow, TableRowItem } from '../Table/Table';
|
|
42
42
|
export { Footer, FooterBody, FooterEnd, FooterHead } from '../Footer/Footer';
|
|
43
43
|
export { Slider } from '../Slider/Slider';
|