@mycause/ui 0.18.11 → 0.18.12
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/CHANGELOG.md +6 -0
- package/dist/components/comment-section/comment-type.d.ts +10 -0
- package/dist/components/date-picker/date-picker.stories.d.ts +1 -0
- package/dist/components/date-picker/single-date-picker-custom-header.d.ts +4 -4
- package/dist/components/date-picker/single-date-picker.d.ts +2 -1
- package/dist/components/select/select-enhanced.d.ts +2 -1
- package/dist/components/text-field/text-field.d.ts +1 -0
- package/dist/index.css +2 -0
- package/dist/index.css.map +1 -0
- package/dist/index.esm.css +2 -0
- package/dist/index.esm.css.map +1 -0
- package/dist/index.esm.js +27 -4625
- package/dist/index.js +27 -4625
- package/package.json +8 -3
- package/styles/index.css +7 -6
- package/dist/components/credit-card-form/CreditCardForm.d.ts +0 -13
- package/dist/components/credit-card-form/Icons.d.ts +0 -7
- package/dist/components/credit-card-form/credit-card.stories.d.ts +0 -12
- package/dist/components/credit-card-form/index.d.ts +0 -1
- package/dist/components/credit-card-form/toast.stories.d.ts +0 -12
- package/dist/components/uploader/Icons.d.ts +0 -6
- package/dist/components/uploader/uploadAndCropper.d.ts +0 -13
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mycause/ui",
|
|
3
|
-
"version": "0.18.
|
|
3
|
+
"version": "0.18.12",
|
|
4
4
|
"author": "Marc Porciuncula <marc@mycause.com.au>",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"main": "dist/index.js",
|
|
@@ -104,10 +104,12 @@
|
|
|
104
104
|
"i18n-iso-countries": "^4.3.1",
|
|
105
105
|
"js-cookie": "^2.2.1",
|
|
106
106
|
"libphonenumber-js": "^1.7.29",
|
|
107
|
+
"moment": "2.29.1",
|
|
108
|
+
"moment-timezone": "^0.5.45",
|
|
107
109
|
"nanoid": "^2.1.6",
|
|
108
110
|
"ramda": "^0.26.1",
|
|
109
111
|
"react-cropper": "^1.3.0",
|
|
110
|
-
"react-dates": "^21.
|
|
112
|
+
"react-dates": "^21.8.0",
|
|
111
113
|
"react-dropzone-uploader": "^2.11.0",
|
|
112
114
|
"react-toastify": "8.1.0",
|
|
113
115
|
"styled-jsx": "^3.2.1",
|
|
@@ -122,5 +124,8 @@
|
|
|
122
124
|
"files": [
|
|
123
125
|
"dist",
|
|
124
126
|
"styles"
|
|
125
|
-
]
|
|
127
|
+
],
|
|
128
|
+
"resolutions": {
|
|
129
|
+
"moment": "2.29.1"
|
|
130
|
+
}
|
|
126
131
|
}
|
package/styles/index.css
CHANGED
|
@@ -1668,12 +1668,9 @@ svg.mdc-button__icon {
|
|
|
1668
1668
|
position: absolute;
|
|
1669
1669
|
left: 9px; }
|
|
1670
1670
|
|
|
1671
|
-
.CalendarMonthGrid__vertical
|
|
1672
|
-
margin: 0 auto; }
|
|
1673
|
-
|
|
1671
|
+
.CalendarMonthGrid__vertical,
|
|
1674
1672
|
.CalendarMonthGrid__vertical_scrollable {
|
|
1675
|
-
margin: 0 auto;
|
|
1676
|
-
overflow-y: scroll; }
|
|
1673
|
+
margin: 0 auto; }
|
|
1677
1674
|
|
|
1678
1675
|
.CalendarMonthGrid_month__horizontal {
|
|
1679
1676
|
display: inline-block;
|
|
@@ -1696,6 +1693,9 @@ svg.mdc-button__icon {
|
|
|
1696
1693
|
.DayPickerNavigation__horizontal {
|
|
1697
1694
|
height: 0; }
|
|
1698
1695
|
|
|
1696
|
+
.DayPickerNavigation__verticalScrollable_prevNav {
|
|
1697
|
+
z-index: 1; }
|
|
1698
|
+
|
|
1699
1699
|
.DayPickerNavigation__verticalDefault {
|
|
1700
1700
|
position: absolute;
|
|
1701
1701
|
width: 100%;
|
|
@@ -1778,7 +1778,8 @@ svg.mdc-button__icon {
|
|
|
1778
1778
|
.DayPickerNavigation_nextButton__verticalDefault {
|
|
1779
1779
|
border-left: 0; }
|
|
1780
1780
|
|
|
1781
|
-
.DayPickerNavigation_nextButton__verticalScrollableDefault
|
|
1781
|
+
.DayPickerNavigation_nextButton__verticalScrollableDefault,
|
|
1782
|
+
.DayPickerNavigation_prevButton__verticalScrollableDefault {
|
|
1782
1783
|
width: 100%; }
|
|
1783
1784
|
|
|
1784
1785
|
.DayPickerNavigation_svg__horizontal {
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
declare type FormValuesProps = {
|
|
3
|
-
number: string;
|
|
4
|
-
name: string;
|
|
5
|
-
expiry: string;
|
|
6
|
-
cvc: string;
|
|
7
|
-
};
|
|
8
|
-
declare type CreditCardFormProps = {
|
|
9
|
-
formValues: FormValuesProps;
|
|
10
|
-
setFormValues: (values: FormValuesProps) => void;
|
|
11
|
-
};
|
|
12
|
-
declare function CreditCardForm({ formValues, setFormValues }: CreditCardFormProps): JSX.Element;
|
|
13
|
-
export default CreditCardForm;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { default as CreditCardForm } from "./CreditCardForm";
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
export interface UploadAndCropperProps {
|
|
3
|
-
imageDefault: string;
|
|
4
|
-
width?: number;
|
|
5
|
-
border?: number;
|
|
6
|
-
borderRadius?: number;
|
|
7
|
-
color?: Array<number> | undefined;
|
|
8
|
-
handleOnRemove?: () => void;
|
|
9
|
-
imagePreview?: string;
|
|
10
|
-
setImagePreview?: (e: any) => void;
|
|
11
|
-
}
|
|
12
|
-
declare const UploadAndCropper: ({ width, border, borderRadius, color, handleOnRemove, imagePreview, setImagePreview, }: UploadAndCropperProps) => JSX.Element;
|
|
13
|
-
export default UploadAndCropper;
|