@moosend/mooskin 1.0.0-alpha.98 → 1.0.2

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.
Files changed (46) hide show
  1. package/README-legacy.md +212 -0
  2. package/lib/Box/model.d.ts +4 -0
  3. package/lib/Box/styles.d.ts +1 -1
  4. package/lib/Button/Button.d.ts +2 -0
  5. package/lib/Button/model.d.ts +0 -1
  6. package/lib/Button/styles.d.ts +3 -2
  7. package/lib/DateRange/styles.d.ts +3 -0
  8. package/lib/Description/model.d.ts +4 -0
  9. package/lib/Drawer/styles.d.ts +1 -1
  10. package/lib/Styled/model.d.ts +51 -0
  11. package/lib/assets/font-awesome/webfonts/fa-duotone-900.ttf +0 -0
  12. package/lib/assets/font-awesome/webfonts/fa-light-300.ttf +0 -0
  13. package/lib/assets/font-awesome/webfonts/fa-regular-400.ttf +0 -0
  14. package/lib/assets/font-awesome/webfonts/fa-solid-900.ttf +0 -0
  15. package/lib/assets/font-awesome/webfonts/fa-thin-100.ttf +0 -0
  16. package/lib/components/ActionsDropdown/ActionsDropdown.d.ts +1 -1
  17. package/lib/components/ActionsDropdown/model.d.ts +1 -0
  18. package/lib/components/ActionsDropdown/styles.d.ts +2 -0
  19. package/lib/components/Box/model.d.ts +5 -0
  20. package/lib/components/Box/resources.d.ts +9 -0
  21. package/lib/components/Box/styles.d.ts +1 -1
  22. package/lib/components/Button/Button.d.ts +2 -0
  23. package/lib/components/Button/model.d.ts +0 -1
  24. package/lib/components/Button/styles.d.ts +3 -2
  25. package/lib/components/Checkbox/model.d.ts +1 -0
  26. package/lib/components/Checkbox/styles.d.ts +2 -2
  27. package/lib/components/DateRange/styles.d.ts +3 -0
  28. package/lib/components/Drawer/styles.d.ts +1 -1
  29. package/lib/components/Pagination/model.d.ts +2 -0
  30. package/lib/components/Radio/model.d.ts +1 -0
  31. package/lib/components/Radio/styles.d.ts +2 -2
  32. package/lib/components/Select/Select.d.ts +2 -2
  33. package/lib/components/Select/model.d.ts +3 -1
  34. package/lib/components/Select/styles.d.ts +4 -2
  35. package/lib/components/Styled/model.d.ts +30 -0
  36. package/lib/components/Tags/Tags.d.ts +1 -0
  37. package/lib/components/index/index.d.ts +2 -2
  38. package/lib/index/index.d.ts +1 -1
  39. package/lib/index/index.js +6 -6
  40. package/lib/stories/Button.stories.d.ts +0 -1
  41. package/package.json +1 -1
  42. package/lib/node_modules/@fortawesome/fontawesome-pro/webfonts/fa-brands-400.svg +0 -3717
  43. package/lib/node_modules/@fortawesome/fontawesome-pro/webfonts/fa-duotone-900.svg +0 -15326
  44. package/lib/node_modules/@fortawesome/fontawesome-pro/webfonts/fa-light-300.svg +0 -12420
  45. package/lib/node_modules/@fortawesome/fontawesome-pro/webfonts/fa-regular-400.svg +0 -11323
  46. package/lib/node_modules/@fortawesome/fontawesome-pro/webfonts/fa-solid-900.svg +0 -9653
@@ -0,0 +1,212 @@
1
+ <p align="center">
2
+ <img src="https://cdn.stat-track.com/20170803-2017-0803-2017-080320170803/ca5ad9249d284435955b75e1a22aa15cmooskinLogo.png" width="100" />
3
+ <div align="center">
4
+ <img src="https://travis-ci.org/moosend/mooskin-ui.svg?branch=master">
5
+ </div>
6
+ <h3 align="center">MooSkin</h3>
7
+ <p align="center">
8
+ A collection of React components with pre-defined styles for Moosend UI, at the moment very much a work in progress and a lot of things are subject to change.
9
+ </p>
10
+ ___
11
+
12
+ ### Demo
13
+
14
+ **[Component Playground...](https://mooskin.herokuapp.com/)**
15
+
16
+ ### Prerequisites
17
+
18
+ Since it is a React Component Library, we recommend that you get to know [React](https://facebook.github.io/react/) before using MooSkin. [Webpack](https://webpack.github.io/) is recommended as well, but any build tool that can handle importing css will work too.
19
+
20
+
21
+ ### Installation
22
+
23
+ MooSkin-UI is available as an npm package.
24
+
25
+ ```
26
+ npm install @moosend/mooskin --save
27
+ ```
28
+
29
+ ### Usage
30
+
31
+ Apart from [React](https://facebook.github.io/react/) itself, you need to be able to import the CSS file for the library by using a loader or some plugin for your build tool of choice(css-loader if you re using webpack, which is recommended).
32
+
33
+ ```
34
+ import '@moosend/mooskin/lib/index/style.css'
35
+ ```
36
+ and then you can simply import the desired component and start using it
37
+ ```
38
+ import {Input} from '@moosend/mooskin';
39
+ ```
40
+ Modular usage is also possible for both css and js(components) files, if you just want to use a few components, you should not have to import the whole CSS file, but instead have just what you need.
41
+
42
+ ```
43
+ import '@moosend/mooskin/lib/Button/style.css';
44
+ import Button from '@moosend/mooskin/lib/Button';
45
+ // import {Button} from '@moosend/mooskin'; //this works as well
46
+ ```
47
+
48
+ ### Example
49
+ ```
50
+ import '@moosend/mooskin/lib/index/style.css'
51
+
52
+ import React, {Component} from 'react';
53
+ import ReactDOM from 'react-dom';
54
+
55
+ import {Button} from '@moosend/mooskin';
56
+
57
+ class App extends Component (
58
+ render(){
59
+ return (
60
+ <div>
61
+ <Button>Click me!</Button>
62
+ </div>
63
+ );
64
+ }
65
+ );
66
+
67
+ ReactDOM.render(
68
+ <App />,
69
+ document.getElementById('app')
70
+ );
71
+ ```
72
+
73
+ Please refer to each component's documentation page to see how they should be imported.
74
+
75
+
76
+ ### Usage with Typescript
77
+
78
+ Mooskin itself is written in Typescript, so it has type definitions out of the box, no need to install any. Just import stuff as usual. Static types should greatly help with potential bugs and autocompletion. Here is an example below.
79
+
80
+ ```
81
+ import '@moosend/mooskin/lib/index/style.css'
82
+
83
+ import * as React from 'react';
84
+ import * as ReactDOM from 'react-dom';
85
+
86
+ import {Button} from '@moosend/mooskin';
87
+
88
+ interface IProps {
89
+ //some prop types
90
+ }
91
+
92
+ interface IState {
93
+ //some state types
94
+ }
95
+
96
+ class App extends React.Component<IProps, IState> (
97
+ render(){
98
+ return (
99
+ <div>
100
+ <Button>Click me!</Button>
101
+ <Button value="asdads">Click me!</Button> //compiler error because attribute 'value' does not exist in Button component
102
+ </div>
103
+ );
104
+ }
105
+ );
106
+
107
+ ReactDOM.render(
108
+ <App />,
109
+ document.getElementById('app')
110
+ );
111
+ ```
112
+
113
+ If the compiler complains about the css file import, you can add a type declaration for the css import in a declaration file(.d.ts) .You can place this file in the root folder, newer versions of Typescript will pick it up automatically, otherwise you would need a `///<reference path="..."/>` statement at the top of your index file.
114
+
115
+ ```
116
+ declare module '*.css' {
117
+ const content: any;
118
+ export default content;
119
+ }
120
+
121
+ ```
122
+
123
+ ### Other Examples
124
+
125
+ As you may have noticed, for easy use, the components are named similar to normal HTML components but with a capital first letter.
126
+
127
+ Lets say we want to use the Select Component. First we have to import it
128
+
129
+ ```
130
+ import {Select, Option} from '@moosend/mooskin';
131
+ ```
132
+
133
+ And then you can simply start using it by typing
134
+
135
+ ```
136
+ <Select dataLabel="countries" onChange={callback}>
137
+ <Option whatever>England</Option> //<Select.Option whatever>England</Option> //this works too
138
+ <Option whatever>Germany</Option>
139
+ </Select>
140
+ ```
141
+
142
+ The components are built to support attributes like normal HTML elements. For example, an Input component with a placeholder:
143
+
144
+ ```
145
+ import {Input} from '@moosend/mooskin'
146
+
147
+ <Input placeholder="Your Name" />
148
+ ```
149
+
150
+ ## List of Components
151
+
152
+ * [Button](https://github.com/moosend/mooskin-ui/tree/master/components/Button)
153
+ * [Carousel](https://github.com/moosend/mooskin-ui/tree/master/components/Carousel)
154
+ * [CheckBox](https://github.com/moosend/mooskin-ui/tree/master/components/Checkbox)
155
+ * [CheckListItem](https://github.com/moosend/mooskin-ui/tree/master/components/CheckListItem)
156
+ * [ClipboardButton](https://github.com/moosend/mooskin-ui/tree/master/components/ClipboardButton)
157
+ * [DatePicker](https://github.com/moosend/mooskin-ui/tree/master/components/DatePicker)
158
+ * [Fieldset](https://github.com/moosend/mooskin-ui/tree/master/components/Fieldset)
159
+ * [File](https://github.com/moosend/mooskin-ui/tree/master/components/File)
160
+ * [Form](https://github.com/moosend/mooskin-ui/tree/master/components/Form)
161
+ * [Grid](https://github.com/moosend/mooskin-ui/tree/master/components/Grid)
162
+ * [Headings](https://github.com/moosend/mooskin-ui/tree/master/components/Headings)
163
+ * [HorizontalRangeBar](https://github.com/moosend/mooskin-ui/tree/master/components/HorizontalRangeBar)
164
+ * [Input](https://github.com/moosend/mooskin-ui/tree/master/components/Input)
165
+ * [Label](https://github.com/moosend/mooskin-ui/tree/master/components/Label)
166
+ * [List](https://github.com/moosend/mooskin-ui/tree/master/components/List)
167
+ * [Loader](https://github.com/moosend/mooskin-ui/tree/master/components/Loader)
168
+ * [LoadingBar](https://github.com/moosend/mooskin-ui/tree/master/components/LoadingBar)
169
+ * [Modal](https://github.com/moosend/mooskin-ui/tree/master/components/Modal)
170
+ * [Pagination](https://github.com/moosend/mooskin-ui/tree/master/components/Pagination)
171
+ * [Radio](https://github.com/moosend/mooskin-ui/tree/master/components/Radio)
172
+ * [RadioAccordion](https://github.com/moosend/mooskin-ui/tree/master/components/RadioAccordion)
173
+ * [Select](https://github.com/moosend/mooskin-ui/tree/master/components/Select)
174
+ * [Sidebar](https://github.com/moosend/mooskin-ui/tree/master/components/Sidebar)
175
+ * [Slider](https://github.com/moosend/mooskin-ui/tree/master/components/Slider)
176
+ * [SmallIconButton](https://github.com/moosend/mooskin-ui/tree/master/components/SmallIconButton)
177
+ * [StatsBox](https://github.com/moosend/mooskin-ui/tree/master/components/StatsBox)
178
+ * [Steps](https://github.com/moosend/mooskin-ui/tree/master/components/Steps)
179
+ * [Switch](https://github.com/moosend/mooskin-ui/tree/master/components/Switch)
180
+ * [TabbedContent](https://github.com/moosend/mooskin-ui/tree/master/components/TabbedContent)
181
+ * [Table](https://github.com/moosend/mooskin-ui/tree/master/components/Table)
182
+ * [Tags](https://github.com/moosend/mooskin-ui/tree/master/components/Tags)
183
+ * [TextArea](https://github.com/moosend/mooskin-ui/tree/master/components/TextArea)
184
+ * [TextEditor](https://github.com/moosend/mooskin-ui/tree/master/components/TextEditor)
185
+ * [Topbar](https://github.com/moosend/mooskin-ui/tree/master/components/Topbar)
186
+ * [TopNotification](https://github.com/moosend/mooskin-ui/tree/master/components/TopNotification)
187
+
188
+ ## Playground (development)
189
+
190
+ Clone the [Mooskin](https://github.com/moosend/mooskin-ui) repository first. Then install dependencies with
191
+
192
+ ```
193
+ npm install
194
+ ```
195
+ or
196
+
197
+ ```
198
+ yarn install
199
+ ```
200
+
201
+ After installation run `start-development.bat` on the Mooskin root folder, wait for build to complete then go to `http://localhost:8080/`. Have fun playing with the components.
202
+
203
+ If you want to add a new component that is in development to the playground, create an example component in `/playground/examples/` which returns a component in development. Add the example to `/playground/App.tsx` and you're good to go.
204
+
205
+ ### Contribute
206
+
207
+ MooSkin-UI came to life because of the love for [React](https://facebook.github.io/react/), and if you share the same love, we'd greatly appreciate any [contribution](https://github.com/moosend/mooskin-ui/blob/master/CONTRIBUTING.md) you make.
208
+
209
+
210
+ ### License
211
+
212
+ This project is licensed under the terms of the [MIT License](https://github.com/moosend/mooskin-ui/blob/master/LICENSE)
@@ -111,4 +111,8 @@ export interface IBaseBoxComponentProps extends IMooskinContext {
111
111
  transition?: React.CSSProperties['transition'] | Array<React.CSSProperties['transition']>;
112
112
  transform?: React.CSSProperties['transform'] | Array<React.CSSProperties['transform']>;
113
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']>;
114
118
  }
@@ -1,7 +1,7 @@
1
1
  import { IStyledTheme } from '../Styled/model';
2
2
  import { BoxShadowIntensityType, IBoxComponentProps } from './model';
3
3
  export declare const getNumberOrStringValue: (value?: string | number | undefined) => string;
4
- export declare const getNestedValue: (value?: string | number | undefined, pallete?: IStyledTheme | undefined) => any;
4
+ export declare const getNestedValue: (value?: string | number | undefined, palette?: IStyledTheme | undefined) => any;
5
5
  export declare const getRoundness: (round?: "base" | "xs" | "sm" | "md" | "lg" | "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>;
@@ -2,4 +2,6 @@ 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 ButtonTwo: React.FC<IButtonComponentProps>;
6
+ export declare const ButtonThree: React.FC<IButtonComponentProps>;
5
7
  export declare const ButtonIcon: React.FC<IBoxComponentProps>;
@@ -1,6 +1,5 @@
1
1
  import { IButtonBoxComponentProps } from '../Box/model';
2
2
  export interface IButtonComponentProps extends IButtonBoxComponentProps {
3
- inverseStyle?: boolean;
4
3
  href?: string;
5
4
  buttonSize?: 'lg' | 'md' | 'sm';
6
5
  }
@@ -1,6 +1,7 @@
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 StyledButtonNormal: import("styled-components").StyledComponent<import("react").FC<import("../index").IBoxComponentProps>, any, IButtonComponentProps, never>;
5
- export declare const StyledButtonInverse: import("styled-components").StyledComponent<import("react").FC<import("../index").IBoxComponentProps>, any, IButtonComponentProps, never>;
4
+ export declare const StyledButton: import("styled-components").StyledComponent<import("react").FC<import("../index").IBoxComponentProps>, any, IButtonComponentProps, never>;
5
+ export declare const StyledButtonTwo: import("styled-components").StyledComponent<import("react").FC<import("../index").IBoxComponentProps>, any, IButtonComponentProps, never>;
6
+ export declare const StyledButtonThree: import("styled-components").StyledComponent<import("react").FC<import("../index").IBoxComponentProps>, any, IButtonComponentProps, never>;
6
7
  export declare const StyledButtonIcon: import("styled-components").StyledComponent<import("react").FC<import("../index").IBoxComponentProps>, any, {}, never>;
@@ -0,0 +1,3 @@
1
+ /// <reference types="react" />
2
+ import { IBoxComponentProps } from '../Box/model';
3
+ export declare const StyledDateRange: import("styled-components").StyledComponent<import("react").FC<IBoxComponentProps>, any, IBoxComponentProps, never>;
@@ -0,0 +1,4 @@
1
+ import { IBoxComponentProps } from '../Box/model';
2
+ export interface IDescriptionComponentProps extends IBoxComponentProps {
3
+ children: string;
4
+ }
@@ -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) => "80%" | "100%" | "20%" | "35%" | "50%" | "65%" | undefined;
4
+ export declare const getContentSize: (size?: "xs" | "sm" | "md" | "lg" | "xl" | "full" | undefined) => "20%" | "35%" | "50%" | "65%" | "80%" | "100%" | 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>;
@@ -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;
@@ -10,7 +11,16 @@ export interface IThemeFontColors {
10
11
  secondary5: string;
11
12
  secondary6: string;
12
13
  white: string;
14
+ altWhite: string;
13
15
  background: string;
16
+ blue400: string;
17
+ teal400: string;
18
+ pink400: string;
19
+ orange400: string;
20
+ grayAlpha: string;
21
+ grayAlpha100: string;
22
+ grayAlpha400: string;
23
+ gray100: string;
14
24
  gray1: string;
15
25
  gray2: string;
16
26
  medgray1: string;
@@ -19,14 +29,22 @@ export interface IThemeFontColors {
19
29
  darkgray2: string;
20
30
  darkgray3: string;
21
31
  text: string;
32
+ inverseText: string;
22
33
  black: string;
23
34
  checkboxUnselected: string;
35
+ dropdown: string;
36
+ accountNavigation: string;
37
+ submenu: string;
38
+ autosExpression: string;
39
+ client: string;
40
+ createNew: string;
24
41
  }
25
42
  export interface IThemeBackgroundColors {
26
43
  primary1: string;
27
44
  primary2: string;
28
45
  primary3: string;
29
46
  primary4: string;
47
+ primary5: string;
30
48
  secondary1: string;
31
49
  secondary2: string;
32
50
  secondary3: string;
@@ -34,7 +52,16 @@ export interface IThemeBackgroundColors {
34
52
  secondary5: string;
35
53
  secondary6: string;
36
54
  white: string;
55
+ altWhite: string;
37
56
  background: string;
57
+ blue400: string;
58
+ teal400: string;
59
+ pink400: string;
60
+ orange400: string;
61
+ grayAlpha: string;
62
+ grayAlpha100: string;
63
+ grayAlpha400: string;
64
+ gray100: string;
38
65
  gray1: string;
39
66
  gray2: string;
40
67
  medgray1: string;
@@ -43,14 +70,22 @@ export interface IThemeBackgroundColors {
43
70
  darkgray2: string;
44
71
  darkgray3: string;
45
72
  text: string;
73
+ inverseText: string;
46
74
  black: string;
47
75
  checkboxUnselected: string;
76
+ dropdown: string;
77
+ accountNavigation: string;
78
+ submenu: string;
79
+ autosExpression: string;
80
+ client: string;
81
+ createNew: string;
48
82
  }
49
83
  export interface IThemeBorderColors {
50
84
  primary1: string;
51
85
  primary2: string;
52
86
  primary3: string;
53
87
  primary4: string;
88
+ primary5: string;
54
89
  secondary1: string;
55
90
  secondary2: string;
56
91
  secondary3: string;
@@ -58,7 +93,16 @@ export interface IThemeBorderColors {
58
93
  secondary5: string;
59
94
  secondary6: string;
60
95
  white: string;
96
+ altWhite: string;
61
97
  background: string;
98
+ blue400: string;
99
+ teal400: string;
100
+ pink400: string;
101
+ orange400: string;
102
+ grayAlpha: string;
103
+ grayAlpha100: string;
104
+ grayAlpha400: string;
105
+ gray100: string;
62
106
  gray1: string;
63
107
  gray2: string;
64
108
  medgray1: string;
@@ -67,8 +111,15 @@ export interface IThemeBorderColors {
67
111
  darkgray2: string;
68
112
  darkgray3: string;
69
113
  text: string;
114
+ inverseText: string;
70
115
  black: string;
71
116
  checkboxUnselected: string;
117
+ dropdown: string;
118
+ accountNavigation: string;
119
+ submenu: string;
120
+ autosExpression: string;
121
+ client: string;
122
+ createNew: string;
72
123
  }
73
124
  export interface IStyledTheme {
74
125
  fontColors: IThemeFontColors;
@@ -1,5 +1,5 @@
1
1
  import * as React from 'react';
2
- import { IBoxComponentProps } from '../index';
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
  }
@@ -0,0 +1,9 @@
1
+ interface ISupportedStyleProps {
2
+ [key: string]: {
3
+ property: string;
4
+ processedValue?: boolean;
5
+ usePallete?: boolean;
6
+ };
7
+ }
8
+ export declare const SupportedStyleProps: ISupportedStyleProps;
9
+ export {};
@@ -1,7 +1,7 @@
1
1
  import { IStyledTheme } from '../Styled/model';
2
2
  import { BoxShadowIntensityType, IBoxComponentProps } from './model';
3
3
  export declare const getNumberOrStringValue: (value?: string | number | undefined) => string;
4
- export declare const getNestedValue: (value?: string | number | undefined, pallete?: IStyledTheme | undefined) => any;
4
+ export declare const getNestedValue: (value?: string | number | undefined, palette?: IStyledTheme | undefined) => any;
5
5
  export declare const getRoundness: (round?: "base" | "xs" | "sm" | "md" | "lg" | "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>;
@@ -2,4 +2,6 @@ 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 ButtonTwo: React.FC<IButtonComponentProps>;
6
+ export declare const ButtonThree: React.FC<IButtonComponentProps>;
5
7
  export declare const ButtonIcon: React.FC<IBoxComponentProps>;
@@ -1,6 +1,5 @@
1
1
  import { IButtonBoxComponentProps } from '../Box/model';
2
2
  export interface IButtonComponentProps extends IButtonBoxComponentProps {
3
- inverseStyle?: boolean;
4
3
  href?: string;
5
4
  buttonSize?: 'lg' | 'md' | 'sm';
6
5
  }
@@ -1,6 +1,7 @@
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 StyledButtonNormal: import("styled-components").StyledComponent<import("react").FC<import("../index").IBoxComponentProps>, any, IButtonComponentProps, never>;
5
- export declare const StyledButtonInverse: import("styled-components").StyledComponent<import("react").FC<import("../index").IBoxComponentProps>, any, IButtonComponentProps, never>;
4
+ export declare const StyledButton: import("styled-components").StyledComponent<import("react").FC<import("../index").IBoxComponentProps>, any, IButtonComponentProps, never>;
5
+ export declare const StyledButtonTwo: import("styled-components").StyledComponent<import("react").FC<import("../index").IBoxComponentProps>, any, IButtonComponentProps, never>;
6
+ export declare const StyledButtonThree: import("styled-components").StyledComponent<import("react").FC<import("../index").IBoxComponentProps>, any, IButtonComponentProps, never>;
6
7
  export declare const StyledButtonIcon: import("styled-components").StyledComponent<import("react").FC<import("../index").IBoxComponentProps>, any, {}, never>;
@@ -9,4 +9,5 @@ export interface ICheckboxComponentProps extends IBoxComponentProps {
9
9
  }
10
10
  export interface ICheckboxIconComponentProps extends IBoxComponentProps {
11
11
  disabled?: boolean;
12
+ checked?: boolean;
12
13
  }
@@ -1,6 +1,6 @@
1
1
  /// <reference types="react" />
2
2
  import { ILabelComponentProps } from '../Label/model';
3
- import { ICheckboxComponentProps } from './model';
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, Partial<ICheckboxComponentProps>, never>;
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>;
@@ -0,0 +1,3 @@
1
+ /// <reference types="react" />
2
+ import { IBoxComponentProps } from '../Box/model';
3
+ export declare const StyledDateRange: import("styled-components").StyledComponent<import("react").FC<IBoxComponentProps>, any, IBoxComponentProps, 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) => "20%" | "35%" | "50%" | "65%" | "80%" | "100%" | undefined;
4
+ export declare const getContentSize: (size?: "xs" | "sm" | "md" | "lg" | "xl" | "full" | undefined) => "100%" | "20%" | "35%" | "50%" | "65%" | "80%" | 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>>;
@@ -10,4 +10,5 @@ export interface IRadioComponentProps extends IBoxComponentProps {
10
10
  }
11
11
  export interface IRadioIconComponentProps extends IBoxComponentProps {
12
12
  disabled?: boolean;
13
+ selected?: boolean;
13
14
  }
@@ -1,6 +1,6 @@
1
1
  /// <reference types="react" />
2
2
  import { ILabelComponentProps } from '../Label/model';
3
- import { IRadioComponentProps } from './model';
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, Partial<IRadioComponentProps>, never>;
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<IBoxComponentProps>;
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, IBoxComponentProps, never>;
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>;