@moosend/mooskin 1.0.13 → 1.0.14
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/DateRange/model.d.ts +0 -1
- package/lib/components/ActionsDropdown/ActionsDropdown.d.ts +6 -0
- package/lib/components/ActionsDropdown/model.d.ts +11 -0
- package/lib/components/ActionsDropdown/styles.d.ts +8 -0
- package/lib/components/Alert/Alert.d.ts +7 -0
- package/lib/components/Alert/model.d.ts +5 -0
- package/lib/components/Alert/styles.d.ts +7 -0
- package/lib/components/Anchor/Anchor.d.ts +3 -0
- package/lib/components/Anchor/model.d.ts +4 -0
- package/lib/components/Anchor/styles.d.ts +3 -0
- package/lib/components/Box/Box.d.ts +3 -0
- package/lib/components/Box/model.d.ts +118 -0
- package/lib/components/Box/resources.d.ts +9 -0
- package/lib/components/Box/styles.d.ts +7 -0
- package/lib/components/Button/Button.d.ts +7 -0
- package/lib/components/Button/model.d.ts +5 -0
- package/lib/components/Button/styles.d.ts +7 -0
- package/lib/components/Carousel/Carousel.d.ts +7 -0
- package/lib/components/Carousel/model.d.ts +33 -0
- package/lib/components/Carousel/styles.d.ts +4 -0
- package/lib/components/Checkbox/Checkbox.d.ts +8 -0
- package/lib/components/Checkbox/model.d.ts +13 -0
- package/lib/components/Checkbox/styles.d.ts +6 -0
- package/lib/components/DatePicker/DatePicker.d.ts +3 -0
- package/lib/components/DatePicker/model.d.ts +11 -0
- package/lib/components/DateRange/DateRange.d.ts +5 -0
- package/lib/components/DateRange/model.d.ts +15 -0
- package/lib/components/DateRange/styles.d.ts +3 -0
- package/lib/components/DateSelect/DateSelect.d.ts +3 -0
- package/lib/components/DateSelect/model.d.ts +7 -0
- package/lib/components/DateTimePicker/DateTimePicker.d.ts +3 -0
- package/lib/components/DateTimePicker/model.d.ts +11 -0
- package/lib/components/Description/Description.d.ts +3 -0
- package/lib/components/Description/styles.d.ts +3 -0
- package/lib/components/Drawer/Drawer.d.ts +10 -0
- package/lib/components/Drawer/model.d.ts +21 -0
- package/lib/components/Drawer/styles.d.ts +25 -0
- package/lib/components/Expandable/Expandable.d.ts +9 -0
- package/lib/components/Expandable/model.d.ts +13 -0
- package/lib/components/Expandable/styles.d.ts +9 -0
- package/lib/components/Footer/Footer.d.ts +6 -0
- package/lib/components/Footer/styles.d.ts +7 -0
- package/lib/components/Grid/Grid.d.ts +5 -0
- package/lib/components/Grid/model.d.ts +18 -0
- package/lib/components/Grid/styles.d.ts +5 -0
- package/lib/components/IconButton/IconButton.d.ts +3 -0
- package/lib/components/IconButton/model.d.ts +4 -0
- package/lib/components/IconButton/styles.d.ts +3 -0
- package/lib/components/Image/Image.d.ts +3 -0
- package/lib/components/Image/styles.d.ts +3 -0
- package/lib/components/Input/Input.d.ts +12 -0
- package/lib/components/Input/model.d.ts +27 -0
- package/lib/components/Input/styles.d.ts +12 -0
- package/lib/components/Label/Label.d.ts +3 -0
- package/lib/components/Label/model.d.ts +5 -0
- package/lib/components/Label/styles.d.ts +3 -0
- package/lib/components/Layout/Layout.d.ts +3 -0
- package/lib/components/Layout/model.d.ts +5 -0
- package/lib/components/Layout/styles.d.ts +3 -0
- package/lib/components/List/List.d.ts +8 -0
- package/lib/components/List/styles.d.ts +7 -0
- package/lib/components/Loader/Loader.d.ts +3 -0
- package/lib/components/Loader/model.d.ts +5 -0
- package/lib/components/Loader/styles.d.ts +3 -0
- package/lib/components/LoadingBar/LoadingBar.d.ts +3 -0
- package/lib/components/LoadingBar/model.d.ts +7 -0
- package/lib/components/LoadingBar/styles.d.ts +3 -0
- package/lib/components/Modal/Modal.d.ts +10 -0
- package/lib/components/Modal/model.d.ts +15 -0
- package/lib/components/Modal/styles.d.ts +14 -0
- package/lib/components/NumberLabel/NumberLabel.d.ts +3 -0
- package/lib/components/NumberLabel/model.d.ts +7 -0
- package/lib/components/Pagination/Pagination.d.ts +4 -0
- package/lib/components/Pagination/model.d.ts +12 -0
- package/lib/components/Pagination/styles.d.ts +6 -0
- package/lib/components/Radio/Radio.d.ts +8 -0
- package/lib/components/Radio/model.d.ts +14 -0
- package/lib/components/Radio/styles.d.ts +6 -0
- package/lib/components/Select/Select.d.ts +13 -0
- package/lib/components/Select/model.d.ts +24 -0
- package/lib/components/Select/styles.d.ts +15 -0
- package/lib/components/Selector/Selector.d.ts +4 -0
- package/lib/components/Selector/model.d.ts +10 -0
- package/lib/components/Selector/styles.d.ts +4 -0
- package/lib/components/Sidemenu/Sidemenu.d.ts +4 -0
- package/lib/components/Sidemenu/model.d.ts +10 -0
- package/lib/components/Sidemenu/styles.d.ts +4 -0
- package/lib/components/Skeleton/Skeleton.d.ts +5 -0
- package/lib/components/Skeleton/model.d.ts +14 -0
- package/lib/components/Skeleton/styles.d.ts +6 -0
- package/lib/components/Slider/Model.d.ts +7 -0
- package/lib/components/Slider/Slider.d.ts +3 -0
- package/lib/components/Slider/styles.d.ts +3 -0
- package/lib/components/Stack/Stack.d.ts +5 -0
- package/lib/components/Stack/model.d.ts +6 -0
- package/lib/components/Stack/styles.d.ts +3 -0
- package/lib/components/Steps/Steps.d.ts +6 -0
- package/lib/components/Steps/model.d.ts +16 -0
- package/lib/components/Steps/styles.d.ts +7 -0
- package/lib/components/Styled/GlobalStyles.d.ts +2 -0
- package/lib/components/Styled/MooskinContextProvider.d.ts +6 -0
- package/lib/components/Styled/model.d.ts +143 -0
- package/lib/components/Switch/Switch.d.ts +4 -0
- package/lib/components/Switch/model.d.ts +16 -0
- package/lib/components/Switch/styles.d.ts +7 -0
- package/lib/components/Table/Table.d.ts +7 -0
- package/lib/components/Table/styles.d.ts +7 -0
- package/lib/components/Tabs/Tabs.d.ts +6 -0
- package/lib/components/Tabs/model.d.ts +13 -0
- package/lib/components/Tabs/styles.d.ts +6 -0
- package/lib/components/Tags/Tags.d.ts +8 -0
- package/lib/components/Tags/model.d.ts +18 -0
- package/lib/components/Tags/styles.d.ts +8 -0
- package/lib/components/Text/Text.d.ts +3 -0
- package/lib/components/Text/model.d.ts +4 -0
- package/lib/components/Text/styles.d.ts +3 -0
- package/lib/components/TextArea/TextArea.d.ts +3 -0
- package/lib/components/TextArea/model.d.ts +4 -0
- package/lib/components/TextArea/styles.d.ts +3 -0
- package/lib/components/TextEditor/TextEditor.d.ts +3 -0
- package/lib/components/TextEditor/model.d.ts +14 -0
- package/lib/components/_utils/adapter.d.ts +1 -0
- package/lib/components/_utils/globals/screens.d.ts +11 -0
- package/lib/components/_utils/globals/variables.d.ts +3 -0
- package/lib/components/_utils/helper.d.ts +3 -0
- package/lib/components/_utils/index.d.ts +3 -0
- package/lib/components/_utils/test-setup.d.ts +0 -0
- package/lib/components/_utils/types/commonTypes.d.ts +4 -0
- package/lib/components/index/index.d.ts +85 -0
- package/lib/index/index.js +10 -9
- package/lib/index/style.css +19 -54
- package/lib/stories/ActionsDropdown.stories.d.ts +5 -0
- package/lib/stories/Alert.stories.d.ts +4 -0
- package/lib/stories/Anchor.stories.d.ts +4 -0
- package/lib/stories/Box.stories.d.ts +3 -0
- package/lib/stories/Button.stories.d.ts +6 -0
- package/lib/stories/Carousel.stories.d.ts +3 -0
- package/lib/stories/Checkbox.stories.d.ts +7 -0
- package/lib/stories/DatePicker.stories.d.ts +3 -0
- package/lib/stories/DateRange.stories.d.ts +3 -0
- package/lib/stories/DateSelect.stories.d.ts +8 -0
- package/lib/stories/DateTimePicker.stories.d.ts +3 -0
- package/lib/stories/Drawer.stories.d.ts +5 -0
- package/lib/stories/Expandable.stories.d.ts +3 -0
- package/lib/stories/Footer.stories.d.ts +3 -0
- package/lib/stories/Grid.stories.d.ts +3 -0
- package/lib/stories/IconButton.stories.d.ts +4 -0
- package/lib/stories/Input.stories.d.ts +5 -0
- package/lib/stories/Layout.stories.d.ts +3 -0
- package/lib/stories/List.stories.d.ts +4 -0
- package/lib/stories/Loader.stories.d.ts +3 -0
- package/lib/stories/LoadingBar.stories.d.ts +3 -0
- package/lib/stories/Modal.stories.d.ts +3 -0
- package/lib/stories/NumberLabel.stories.d.ts +9 -0
- package/lib/stories/Pagination.stories.d.ts +3 -0
- package/lib/stories/Radio.stories.d.ts +7 -0
- package/lib/stories/Select.stories.d.ts +6 -0
- package/lib/stories/Selector.stories.d.ts +3 -0
- package/lib/stories/Sidemenu.stories.d.ts +3 -0
- package/lib/stories/Skeleton.stories.d.ts +5 -0
- package/lib/stories/Slider.stories.d.ts +3 -0
- package/lib/stories/Stack.stories.d.ts +8 -0
- package/lib/stories/StackedTags.stories.d.ts +3 -0
- package/lib/stories/Steps.stories.d.ts +3 -0
- package/lib/stories/Switch.stories.d.ts +5 -0
- package/lib/stories/Table.stories.d.ts +3 -0
- package/lib/stories/Tabs.stories.d.ts +3 -0
- package/lib/stories/Tags.stories.d.ts +5 -0
- package/lib/stories/TextEditor.stories.d.ts +7 -0
- package/lib/stories/Textarea.stories.d.ts +4 -0
- package/package.json +2 -5
package/lib/index/style.css
CHANGED
|
@@ -788,11 +788,8 @@
|
|
|
788
788
|
.rdrCalendarWrapper {
|
|
789
789
|
box-sizing: border-box;
|
|
790
790
|
background: #ffffff;
|
|
791
|
-
display: -webkit-inline-box;
|
|
792
791
|
display: inline-flex;
|
|
793
|
-
-
|
|
794
|
-
-webkit-box-direction: normal;
|
|
795
|
-
flex-direction: column;
|
|
792
|
+
flex-direction: column;
|
|
796
793
|
-webkit-user-select: none;
|
|
797
794
|
-moz-user-select: none;
|
|
798
795
|
-ms-user-select: none;
|
|
@@ -800,15 +797,12 @@
|
|
|
800
797
|
}
|
|
801
798
|
|
|
802
799
|
.rdrDateDisplay{
|
|
803
|
-
display: -webkit-box;
|
|
804
800
|
display: flex;
|
|
805
|
-
-
|
|
806
|
-
justify-content: space-between;
|
|
801
|
+
justify-content: space-between;
|
|
807
802
|
}
|
|
808
803
|
|
|
809
804
|
.rdrDateDisplayItem{
|
|
810
|
-
|
|
811
|
-
flex: 1 1;
|
|
805
|
+
flex: 1 1;
|
|
812
806
|
width: 0;
|
|
813
807
|
text-align: center;
|
|
814
808
|
color: inherit;
|
|
@@ -830,21 +824,15 @@
|
|
|
830
824
|
|
|
831
825
|
.rdrMonthAndYearWrapper {
|
|
832
826
|
box-sizing: inherit;
|
|
833
|
-
display: -webkit-box;
|
|
834
827
|
display: flex;
|
|
835
|
-
-
|
|
836
|
-
justify-content: space-between;
|
|
828
|
+
justify-content: space-between;
|
|
837
829
|
}
|
|
838
830
|
|
|
839
831
|
.rdrMonthAndYearPickers{
|
|
840
|
-
|
|
841
|
-
flex: 1 1 auto;
|
|
842
|
-
display: -webkit-box;
|
|
832
|
+
flex: 1 1 auto;
|
|
843
833
|
display: flex;
|
|
844
|
-
-
|
|
845
|
-
|
|
846
|
-
-webkit-box-align: center;
|
|
847
|
-
align-items: center;
|
|
834
|
+
justify-content: center;
|
|
835
|
+
align-items: center;
|
|
848
836
|
}
|
|
849
837
|
|
|
850
838
|
.rdrMonthPicker{}
|
|
@@ -862,22 +850,16 @@
|
|
|
862
850
|
.rdrNextButton {}
|
|
863
851
|
|
|
864
852
|
.rdrMonths{
|
|
865
|
-
display: -webkit-box;
|
|
866
853
|
display: flex;
|
|
867
854
|
}
|
|
868
855
|
|
|
869
856
|
.rdrMonthsVertical{
|
|
870
|
-
-
|
|
871
|
-
-webkit-box-direction: normal;
|
|
872
|
-
flex-direction: column;
|
|
857
|
+
flex-direction: column;
|
|
873
858
|
}
|
|
874
859
|
|
|
875
860
|
.rdrMonthsHorizontal > div > div > div{
|
|
876
|
-
display: -webkit-box;
|
|
877
861
|
display: flex;
|
|
878
|
-
-
|
|
879
|
-
-webkit-box-direction: normal;
|
|
880
|
-
flex-direction: row;
|
|
862
|
+
flex-direction: row;
|
|
881
863
|
}
|
|
882
864
|
|
|
883
865
|
.rdrMonth{
|
|
@@ -885,7 +867,6 @@
|
|
|
885
867
|
}
|
|
886
868
|
|
|
887
869
|
.rdrWeekDays{
|
|
888
|
-
display: -webkit-box;
|
|
889
870
|
display: flex;
|
|
890
871
|
}
|
|
891
872
|
|
|
@@ -896,7 +877,6 @@
|
|
|
896
877
|
}
|
|
897
878
|
|
|
898
879
|
.rdrDays{
|
|
899
|
-
display: -webkit-box;
|
|
900
880
|
display: flex;
|
|
901
881
|
flex-wrap: wrap;
|
|
902
882
|
}
|
|
@@ -975,7 +955,6 @@
|
|
|
975
955
|
.rdrDayActive{}
|
|
976
956
|
|
|
977
957
|
.rdrDateRangePickerWrapper{
|
|
978
|
-
display: -webkit-inline-box;
|
|
979
958
|
display: inline-flex;
|
|
980
959
|
-webkit-user-select: none;
|
|
981
960
|
-moz-user-select: none;
|
|
@@ -986,11 +965,8 @@
|
|
|
986
965
|
.rdrDefinedRangesWrapper{}
|
|
987
966
|
|
|
988
967
|
.rdrStaticRanges{
|
|
989
|
-
display: -webkit-box;
|
|
990
968
|
display: flex;
|
|
991
|
-
-
|
|
992
|
-
-webkit-box-direction: normal;
|
|
993
|
-
flex-direction: column;
|
|
969
|
+
flex-direction: column;
|
|
994
970
|
}
|
|
995
971
|
|
|
996
972
|
.rdrStaticRange{
|
|
@@ -1002,7 +978,6 @@
|
|
|
1002
978
|
.rdrInputRanges{}
|
|
1003
979
|
|
|
1004
980
|
.rdrInputRange{
|
|
1005
|
-
display: -webkit-box;
|
|
1006
981
|
display: flex;
|
|
1007
982
|
}
|
|
1008
983
|
|
|
@@ -1047,8 +1022,7 @@
|
|
|
1047
1022
|
}
|
|
1048
1023
|
|
|
1049
1024
|
.rdrMonthAndYearWrapper {
|
|
1050
|
-
-
|
|
1051
|
-
align-items: center;
|
|
1025
|
+
align-items: center;
|
|
1052
1026
|
height: 60px;
|
|
1053
1027
|
padding-top: 10px;
|
|
1054
1028
|
}
|
|
@@ -1104,23 +1078,20 @@
|
|
|
1104
1078
|
text-align: center;
|
|
1105
1079
|
border-style: solid;
|
|
1106
1080
|
margin: auto;
|
|
1107
|
-
|
|
1108
|
-
transform: translate(-3px, 0px);
|
|
1081
|
+
transform: translate(-3px, 0px);
|
|
1109
1082
|
}
|
|
1110
1083
|
|
|
1111
1084
|
.rdrPprevButton i {
|
|
1112
1085
|
border-width: 4px 6px 4px 4px;
|
|
1113
1086
|
border-color: transparent rgb(52, 73, 94) transparent transparent;
|
|
1114
|
-
|
|
1115
|
-
transform: translate(-3px, 0px);
|
|
1087
|
+
transform: translate(-3px, 0px);
|
|
1116
1088
|
}
|
|
1117
1089
|
|
|
1118
1090
|
.rdrNextButton i {
|
|
1119
1091
|
margin: 0 0 0 7px;
|
|
1120
1092
|
border-width: 4px 4px 4px 6px;
|
|
1121
1093
|
border-color: transparent transparent transparent rgb(52, 73, 94);
|
|
1122
|
-
|
|
1123
|
-
transform: translate(3px, 0px);
|
|
1094
|
+
transform: translate(3px, 0px);
|
|
1124
1095
|
}
|
|
1125
1096
|
|
|
1126
1097
|
.rdrWeekDays {
|
|
@@ -1173,12 +1144,9 @@
|
|
|
1173
1144
|
bottom: 0;
|
|
1174
1145
|
top: 5px;
|
|
1175
1146
|
bottom: 5px;
|
|
1176
|
-
display: -webkit-box;
|
|
1177
1147
|
display: flex;
|
|
1178
|
-
-
|
|
1179
|
-
|
|
1180
|
-
-webkit-box-pack: center;
|
|
1181
|
-
justify-content: center;
|
|
1148
|
+
align-items: center;
|
|
1149
|
+
justify-content: center;
|
|
1182
1150
|
}
|
|
1183
1151
|
|
|
1184
1152
|
.rdrDayToday .rdrDayNumber span{
|
|
@@ -1190,8 +1158,7 @@
|
|
|
1190
1158
|
position: absolute;
|
|
1191
1159
|
bottom: 4px;
|
|
1192
1160
|
left: 50%;
|
|
1193
|
-
|
|
1194
|
-
transform: translate(-50%, 0);
|
|
1161
|
+
transform: translate(-50%, 0);
|
|
1195
1162
|
width: 18px;
|
|
1196
1163
|
height: 2px;
|
|
1197
1164
|
border-radius: 2px;
|
|
@@ -1339,8 +1306,7 @@
|
|
|
1339
1306
|
}
|
|
1340
1307
|
|
|
1341
1308
|
.rdrInputRange{
|
|
1342
|
-
-
|
|
1343
|
-
align-items: center;
|
|
1309
|
+
align-items: center;
|
|
1344
1310
|
padding: 5px 20px;
|
|
1345
1311
|
}
|
|
1346
1312
|
|
|
@@ -1394,8 +1360,7 @@
|
|
|
1394
1360
|
}
|
|
1395
1361
|
|
|
1396
1362
|
.rdrDayDisabled .rdrInRange, .rdrDayDisabled .rdrStartEdge, .rdrDayDisabled .rdrEndEdge, .rdrDayDisabled .rdrSelected, .rdrDayDisabled .rdrDayStartPreview, .rdrDayDisabled .rdrDayInPreview, .rdrDayDisabled .rdrDayEndPreview{
|
|
1397
|
-
|
|
1398
|
-
filter: grayscale(100%) opacity(60%);
|
|
1363
|
+
filter: grayscale(100%) opacity(60%);
|
|
1399
1364
|
}
|
|
1400
1365
|
|
|
1401
1366
|
.rdrMonthName{
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
declare const _default: any;
|
|
2
|
+
export default _default;
|
|
3
|
+
export declare const TwelveHour: any;
|
|
4
|
+
export declare const TwentyFourHour: any;
|
|
5
|
+
export declare const Minute: any;
|
|
6
|
+
export declare const DayOfMonth: any;
|
|
7
|
+
export declare const Week: any;
|
|
8
|
+
export declare const Ordinal: any;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
declare const _default: any;
|
|
2
|
+
export default _default;
|
|
3
|
+
export declare const Normal: any;
|
|
4
|
+
export declare const WithAbbreviate: any;
|
|
5
|
+
export declare const WithAbbreviateAccuracyLow: any;
|
|
6
|
+
export declare const WithAbbreviateAccuracyHigh: any;
|
|
7
|
+
export declare const WithRoundAccuracyLow: any;
|
|
8
|
+
export declare const WithRoundAccuracyHigh: any;
|
|
9
|
+
export declare const WithAbbreviateDefaultRound: any;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
declare const _default: any;
|
|
2
|
+
export default _default;
|
|
3
|
+
export declare const Horizontal: any;
|
|
4
|
+
export declare const HorizontalWithDivider: any;
|
|
5
|
+
export declare const HorizontalReverse: any;
|
|
6
|
+
export declare const Vertical: any;
|
|
7
|
+
export declare const VerticalWithDivider: any;
|
|
8
|
+
export declare const VerticalReverse: any;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@moosend/mooskin",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.14",
|
|
4
4
|
"description": "A collection of React components for Moosend UI",
|
|
5
5
|
"main": "lib/index/index.js",
|
|
6
6
|
"types": "lib/index/index.d.ts",
|
|
@@ -43,11 +43,8 @@
|
|
|
43
43
|
"@material-ui/core": "^4.11.2",
|
|
44
44
|
"@material-ui/pickers": "^3.2.10",
|
|
45
45
|
"@tinymce/tinymce-react": "^3.10.1",
|
|
46
|
-
"@types/react-transition-group": "^4.4.2",
|
|
47
46
|
"date-fns": "^2.16.1",
|
|
48
|
-
"draft-js": "0.10.4",
|
|
49
47
|
"emoji-mart": "^3.0.0",
|
|
50
|
-
"html-to-draftjs": "^1.3.0",
|
|
51
48
|
"react": "^16.0.3",
|
|
52
49
|
"react-date-range": "^1.1.3",
|
|
53
50
|
"react-dom": "^16.0.3",
|
|
@@ -69,7 +66,6 @@
|
|
|
69
66
|
"@storybook/addon-essentials": "^6.0.27",
|
|
70
67
|
"@storybook/addon-links": "^6.0.27",
|
|
71
68
|
"@storybook/react": "^6.0.27",
|
|
72
|
-
"@types/draft-js": "0.10.29",
|
|
73
69
|
"@types/enzyme": "^3.1.8",
|
|
74
70
|
"@types/enzyme-adapter-react-16": "^1.0.0",
|
|
75
71
|
"@types/jest": "^24.0.11",
|
|
@@ -77,6 +73,7 @@
|
|
|
77
73
|
"@types/react-date-range": "^1.1.3",
|
|
78
74
|
"@types/react-dom": "^16.8.3",
|
|
79
75
|
"@types/react-slick": "^0.23.4",
|
|
76
|
+
"@types/react-transition-group": "^4.4.4",
|
|
80
77
|
"@types/styled-components": "^5.1.4",
|
|
81
78
|
"@types/tinymce": "^4.6.0",
|
|
82
79
|
"babel-loader": "8.0.5",
|