@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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mycause/ui",
3
- "version": "0.0.0-c2e102df-m",
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.5.0",
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,12 +0,0 @@
1
- /// <reference types="react" />
2
- declare const _default: {
3
- title: string;
4
- decorators: ((...args: any) => any)[];
5
- };
6
- export default _default;
7
- export declare const SwitchDefault: {
8
- (): JSX.Element;
9
- story: {
10
- name: string;
11
- };
12
- };
@@ -1 +0,0 @@
1
- export { default as CreditCardForm } from "./CreditCardForm";
@@ -1,6 +0,0 @@
1
- /// <reference types="react" />
2
- declare const Icons: {
3
- upload: (props?: {}) => JSX.Element;
4
- remove: (props?: {}) => JSX.Element;
5
- };
6
- export default Icons;
@@ -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;