@mycause/ui 0.0.0-c772d30e → 0.0.0-c78d28e3

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 (36) hide show
  1. package/CHANGELOG.md +39 -0
  2. package/dist/components/credit-card-form/CreditCardForm.d.ts +13 -0
  3. package/dist/components/credit-card-form/Icons.d.ts +7 -0
  4. package/dist/components/credit-card-form/credit-card.stories.d.ts +12 -0
  5. package/dist/components/credit-card-form/index.d.ts +1 -0
  6. package/dist/components/credit-card-form/toast.stories.d.ts +12 -0
  7. package/dist/components/date-picker/date-picker.stories.d.ts +1 -0
  8. package/dist/components/date-picker/single-date-picker-custom-header.d.ts +4 -4
  9. package/dist/components/date-picker/single-date-picker.d.ts +2 -1
  10. package/dist/components/index.d.ts +1 -0
  11. package/dist/components/input-social/Icons.d.ts +5 -0
  12. package/dist/components/input-social/InputSocial.d.ts +12 -0
  13. package/dist/components/input-social/index.d.ts +1 -0
  14. package/dist/components/input-social/input-social.stories.d.ts +12 -0
  15. package/dist/components/my-account-sidebar/my-account-sidebar.d.ts +3 -2
  16. package/dist/components/my-account-start-fundraise-card/my-account-start-fundraise-card.stories.d.ts +6 -0
  17. package/dist/components/phone-number-input/phone-number-input-v1.d.ts +2 -1
  18. package/dist/components/phone-number-input/phone-number-input.stories.d.ts +6 -0
  19. package/dist/components/select/select-enhanced.d.ts +2 -1
  20. package/dist/components/select/select-v2.d.ts +2 -1
  21. package/dist/components/select/select.stories.d.ts +2 -2
  22. package/dist/components/switch/index.d.ts +1 -0
  23. package/dist/components/switch/switch-v2.d.ts +8 -0
  24. package/dist/components/switch/switch.stories.d.ts +6 -0
  25. package/dist/components/table/partner-monthly-table.d.ts +4 -2
  26. package/dist/components/text-field/text-field-search.d.ts +2 -1
  27. package/dist/components/text-field/text-field.d.ts +1 -0
  28. package/dist/components/transaction-card/transaction-card.d.ts +10 -8
  29. package/dist/components/transaction-card/transaction-card.stories.d.ts +7 -1
  30. package/dist/components/uploader/Icons.d.ts +6 -0
  31. package/dist/components/uploader/uploadAndCropper.d.ts +13 -0
  32. package/dist/index.esm.js +605 -5084
  33. package/dist/index.js +606 -5083
  34. package/package.json +8 -3
  35. package/styles/index.css +7 -6
  36. package/dist/components/select/SelectV2.d.ts +0 -24
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mycause/ui",
3
- "version": "0.0.0-c772d30e",
3
+ "version": "0.0.0-c78d28e3",
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.5.0",
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,24 +0,0 @@
1
- import React from "react";
2
- export declare type SelectOption = {
3
- value: string;
4
- label?: string;
5
- disabled?: boolean;
6
- };
7
- export interface SelectProps {
8
- label?: string;
9
- value: string;
10
- onChange: (e: React.FormEvent) => void;
11
- externalLabel?: boolean;
12
- large?: boolean;
13
- options: Array<SelectOption>;
14
- leadingIcon?: React.ReactElement;
15
- helperText?: string | null;
16
- isHelperTextPersistent?: boolean;
17
- noArrow?: boolean;
18
- color?: string;
19
- asteriskColor?: string;
20
- itemHoverColor?: string;
21
- error?: boolean | string;
22
- }
23
- declare const SelectV2: ({ options, value, onChange, color, itemHoverColor, noArrow, }: SelectProps) => JSX.Element;
24
- export default SelectV2;