@mycause/ui 0.0.0-c2e102df-m → 0.0.0-c2ed105e
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 +13 -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/index.d.ts +2 -3
- package/dist/components/modal/modal.stories.d.ts +2 -2
- package/dist/components/select/select-enhanced.d.ts +2 -1
- package/dist/components/text-field/text-field.d.ts +1 -0
- package/dist/components/transaction-card/transaction-card.d.ts +2 -1
- package/dist/components/transaction-card/transaction-card.stories.d.ts +1 -1
- package/dist/components/uploader/index.d.ts +0 -1
- 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 +570 -5577
- package/dist/index.js +569 -5578
- package/package.json +8 -7
- package/styles/index.css +7 -6
- package/dist/components/credit-card-form/CreditCardForm.d.ts +0 -13
- 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/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.0.0-
|
|
3
|
+
"version": "0.0.0-c2ed105e",
|
|
4
4
|
"author": "Marc Porciuncula <marc@mycause.com.au>",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"main": "dist/index.js",
|
|
@@ -97,8 +97,6 @@
|
|
|
97
97
|
"@material/theme": "^3.1.0",
|
|
98
98
|
"@material/typography": "^3.1.0",
|
|
99
99
|
"@types/nanoid": "^2.1.0",
|
|
100
|
-
"@types/payment": "^2.1.7",
|
|
101
|
-
"@types/react-avatar-editor": "^13.0.2",
|
|
102
100
|
"@types/react-cropper": "^0.10.7",
|
|
103
101
|
"@types/react-dates": "^17.1.5",
|
|
104
102
|
"classnames": "^2.2.6",
|
|
@@ -106,12 +104,12 @@
|
|
|
106
104
|
"i18n-iso-countries": "^4.3.1",
|
|
107
105
|
"js-cookie": "^2.2.1",
|
|
108
106
|
"libphonenumber-js": "^1.7.29",
|
|
107
|
+
"moment": "2.29.1",
|
|
108
|
+
"moment-timezone": "^0.5.45",
|
|
109
109
|
"nanoid": "^2.1.6",
|
|
110
|
-
"payment": "^2.4.6",
|
|
111
110
|
"ramda": "^0.26.1",
|
|
112
|
-
"react-avatar-editor": "^13.0.2",
|
|
113
111
|
"react-cropper": "^1.3.0",
|
|
114
|
-
"react-dates": "^21.
|
|
112
|
+
"react-dates": "^21.8.0",
|
|
115
113
|
"react-dropzone-uploader": "^2.11.0",
|
|
116
114
|
"react-toastify": "8.1.0",
|
|
117
115
|
"styled-jsx": "^3.2.1",
|
|
@@ -126,5 +124,8 @@
|
|
|
126
124
|
"files": [
|
|
127
125
|
"dist",
|
|
128
126
|
"styles"
|
|
129
|
-
]
|
|
127
|
+
],
|
|
128
|
+
"resolutions": {
|
|
129
|
+
"moment": "2.29.1"
|
|
130
|
+
}
|
|
130
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;
|