@mycause/ui 0.18.0 → 0.18.1

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 CHANGED
@@ -1,8 +1,14 @@
1
+ ## 0.18.1
2
+
3
+ ###### Wed, 23 Aug 2023
4
+
5
+ - Create modal show image
6
+
1
7
  ## 0.18.0
2
8
 
3
9
  ###### Wed, 23 Aug 2023
4
10
 
5
- - Nav
11
+ - Nav
6
12
  - Add props for login button under "I'm A Charity" menu
7
13
 
8
14
  ## 0.17.8
@@ -1,11 +1,13 @@
1
1
  /// <reference types="react" />
2
2
  interface InputDefaltProps {
3
- lable?: string;
3
+ label?: string;
4
4
  required?: boolean;
5
5
  placeholder?: string;
6
- onChange: (value: string) => void;
7
- value: string;
6
+ onChange?: (value: string) => void;
7
+ value?: string | Array<string> | number;
8
8
  error?: string | null | boolean;
9
+ disable?: boolean;
10
+ name?: string;
9
11
  }
10
- declare const Input: ({ lable, required, placeholder, value, onChange, error, }: InputDefaltProps) => JSX.Element;
12
+ declare const Input: ({ label, required, placeholder, value, onChange, error, disable, name, }: InputDefaltProps) => JSX.Element;
11
13
  export default Input;
@@ -16,3 +16,9 @@ export declare const InputV2: {
16
16
  name: string;
17
17
  };
18
18
  };
19
+ export declare const InputV3: {
20
+ (): JSX.Element;
21
+ story: {
22
+ name: string;
23
+ };
24
+ };
@@ -13,6 +13,7 @@ declare type PhoneInputProps = {
13
13
  defaultCountry?: CountryCode;
14
14
  placeholder?: string;
15
15
  color?: string;
16
+ name?: string;
16
17
  };
17
- declare function PhoneInput({ values, onChange, defaultCountry, label, required, placeholder, error, }: PhoneInputProps): JSX.Element;
18
+ declare function PhoneInput({ values, onChange, defaultCountry, label, required, placeholder, error, name, }: PhoneInputProps): JSX.Element;
18
19
  export default PhoneInput;
@@ -11,6 +11,7 @@ export interface PartnerMonthlyTableProps {
11
11
  data: Array<object>;
12
12
  title?: string;
13
13
  tooltip?: string;
14
+ customBottomRow?: React.ReactNode;
14
15
  }
15
- declare const PartnerMonthlyTable: ({ columns, data, title, tooltip, }: PartnerMonthlyTableProps) => JSX.Element;
16
+ declare const PartnerMonthlyTable: ({ columns, data, title, tooltip, customBottomRow, }: PartnerMonthlyTableProps) => JSX.Element;
16
17
  export default PartnerMonthlyTable;
package/dist/index.esm.js CHANGED
@@ -8039,7 +8039,8 @@ function PhoneInput(_ref5) {
8039
8039
  label = _ref5.label,
8040
8040
  required = _ref5.required,
8041
8041
  placeholder = _ref5.placeholder,
8042
- error = _ref5.error;
8042
+ error = _ref5.error,
8043
+ name = _ref5.name;
8043
8044
 
8044
8045
  var _useState = useState(false),
8045
8046
  _useState2 = _slicedToArray(_useState, 2),
@@ -8137,7 +8138,8 @@ function PhoneInput(_ref5) {
8137
8138
  },
8138
8139
  onBlur: function onBlur() {
8139
8140
  return setIsFocus(false);
8140
- }
8141
+ },
8142
+ name: name
8141
8143
  })))), error && React.createElement("p", {
8142
8144
  className: cls$1.mesError
8143
8145
  }, error));
@@ -8155,7 +8157,8 @@ PhoneInput.propTypes = {
8155
8157
  required: _pt.bool,
8156
8158
  defaultCountry: _pt.any,
8157
8159
  placeholder: _pt.string,
8158
- color: _pt.string
8160
+ color: _pt.string,
8161
+ name: _pt.string
8159
8162
  };
8160
8163
 
8161
8164
  function parseNationalPhoneNumber(phoneNumber, countryCallingCode, defaultCountry) {
@@ -11979,24 +11982,18 @@ PartnerMonthlyStats.propTypes = {
11979
11982
  title: _pt.string.isRequired
11980
11983
  };
11981
11984
 
11982
- var css$i = ".partner-monthly-table-module_wrapper__e92hP {\n width: 100%;\n margin: 20px; }\n .partner-monthly-table-module_wrapper__e92hP .partner-monthly-table-module_title__2Sfuk {\n font-size: 24px;\n font-weight: bold;\n line-height: 1.4;\n margin-bottom: 5px;\n font-family: \"Montserrat\", \"Roboto\", sans-serif; }\n .partner-monthly-table-module_wrapper__e92hP .partner-monthly-table-module_table_wrap__j98xk {\n box-shadow: rgba(100, 100, 111, 0.2) 0px 0px 29px;\n border-radius: 10px;\n padding: 20px; }\n .partner-monthly-table-module_wrapper__e92hP .partner-monthly-table-module_table_wrap__j98xk .partner-monthly-table-module_title_wrap__3zZFW {\n display: flex;\n align-items: end; }\n .partner-monthly-table-module_wrapper__e92hP .partner-monthly-table-module_table_wrap__j98xk .partner-monthly-table-module_title_wrap__3zZFW .partner-monthly-table-module_tooltip__2P0Ji {\n position: relative;\n display: inline-block; }\n .partner-monthly-table-module_wrapper__e92hP .partner-monthly-table-module_table_wrap__j98xk .partner-monthly-table-module_title_wrap__3zZFW .partner-monthly-table-module_tooltip__2P0Ji img {\n margin-bottom: 7px;\n margin-left: 5px; }\n .partner-monthly-table-module_wrapper__e92hP .partner-monthly-table-module_table_wrap__j98xk .partner-monthly-table-module_title_wrap__3zZFW .partner-monthly-table-module_tooltip__2P0Ji img svg {\n background-color: #000; }\n .partner-monthly-table-module_wrapper__e92hP .partner-monthly-table-module_table_wrap__j98xk .partner-monthly-table-module_title_wrap__3zZFW .partner-monthly-table-module_tooltip__2P0Ji .partner-monthly-table-module_tooltiptext__1Q9pA {\n visibility: hidden;\n width: 320px;\n background-color: black;\n color: #fff;\n text-align: center;\n border-radius: 6px;\n padding: 8px 13px;\n position: absolute;\n z-index: 1;\n top: 105%;\n right: 50%;\n margin-right: -162px;\n border: 1px solid #fba026;\n opacity: 0;\n transition: opacity 0.5s;\n line-height: 1.2; }\n .partner-monthly-table-module_wrapper__e92hP .partner-monthly-table-module_table_wrap__j98xk .partner-monthly-table-module_title_wrap__3zZFW .partner-monthly-table-module_tooltip__2P0Ji .partner-monthly-table-module_tooltiptext__1Q9pA::after {\n content: \"\";\n position: absolute;\n bottom: 100%;\n left: 50%;\n margin-left: -5px;\n border-width: 5px;\n border-style: solid;\n border-color: transparent transparent #fba026 transparent; }\n .partner-monthly-table-module_wrapper__e92hP .partner-monthly-table-module_table_wrap__j98xk .partner-monthly-table-module_title_wrap__3zZFW .partner-monthly-table-module_tooltip__2P0Ji:hover .partner-monthly-table-module_tooltiptext__1Q9pA {\n visibility: visible;\n opacity: 1; }\n .partner-monthly-table-module_wrapper__e92hP .partner-monthly-table-module_table_wrap__j98xk table {\n border-collapse: collapse;\n margin-bottom: 50px; }\n .partner-monthly-table-module_wrapper__e92hP .partner-monthly-table-module_table_wrap__j98xk th,\n .partner-monthly-table-module_wrapper__e92hP .partner-monthly-table-module_table_wrap__j98xk td {\n border-bottom: 1px solid #d5d5d5;\n padding: 20px 5px; }\n .partner-monthly-table-module_wrapper__e92hP td {\n text-align: center; }\n";
11985
+ var css$i = ".partner-monthly-table-module_wrapper__e92hP {\n width: 100%;\n margin: 20px; }\n .partner-monthly-table-module_wrapper__e92hP .partner-monthly-table-module_title__2Sfuk {\n font-size: 24px;\n font-weight: bold;\n line-height: 1.4;\n margin-bottom: 5px;\n font-family: \"Montserrat\", \"Roboto\", sans-serif; }\n .partner-monthly-table-module_wrapper__e92hP .partner-monthly-table-module_table_wrap__j98xk {\n box-shadow: rgba(100, 100, 111, 0.2) 0px 0px 29px;\n border-radius: 10px;\n padding: 20px; }\n .partner-monthly-table-module_wrapper__e92hP .partner-monthly-table-module_table_wrap__j98xk .partner-monthly-table-module_title_wrap__3zZFW {\n display: flex;\n align-items: end; }\n .partner-monthly-table-module_wrapper__e92hP .partner-monthly-table-module_table_wrap__j98xk .partner-monthly-table-module_title_wrap__3zZFW .partner-monthly-table-module_tooltip__2P0Ji {\n position: relative;\n display: inline-block; }\n .partner-monthly-table-module_wrapper__e92hP .partner-monthly-table-module_table_wrap__j98xk .partner-monthly-table-module_title_wrap__3zZFW .partner-monthly-table-module_tooltip__2P0Ji img {\n margin-bottom: 7px;\n margin-left: 5px; }\n .partner-monthly-table-module_wrapper__e92hP .partner-monthly-table-module_table_wrap__j98xk .partner-monthly-table-module_title_wrap__3zZFW .partner-monthly-table-module_tooltip__2P0Ji img svg {\n background-color: #000; }\n .partner-monthly-table-module_wrapper__e92hP .partner-monthly-table-module_table_wrap__j98xk .partner-monthly-table-module_title_wrap__3zZFW .partner-monthly-table-module_tooltip__2P0Ji .partner-monthly-table-module_tooltiptext__1Q9pA {\n visibility: hidden;\n width: 320px;\n background-color: black;\n color: #fff;\n text-align: center;\n border-radius: 6px;\n padding: 8px 13px;\n position: absolute;\n z-index: 1;\n top: 105%;\n right: 50%;\n margin-right: -162px;\n border: 1px solid #fba026;\n opacity: 0;\n transition: opacity 0.5s;\n line-height: 1.2; }\n .partner-monthly-table-module_wrapper__e92hP .partner-monthly-table-module_table_wrap__j98xk .partner-monthly-table-module_title_wrap__3zZFW .partner-monthly-table-module_tooltip__2P0Ji .partner-monthly-table-module_tooltiptext__1Q9pA::after {\n content: \"\";\n position: absolute;\n bottom: 100%;\n left: 50%;\n margin-left: -5px;\n border-width: 5px;\n border-style: solid;\n border-color: transparent transparent #fba026 transparent; }\n .partner-monthly-table-module_wrapper__e92hP .partner-monthly-table-module_table_wrap__j98xk .partner-monthly-table-module_title_wrap__3zZFW .partner-monthly-table-module_tooltip__2P0Ji:hover .partner-monthly-table-module_tooltiptext__1Q9pA {\n visibility: visible;\n opacity: 1; }\n .partner-monthly-table-module_wrapper__e92hP .partner-monthly-table-module_table_wrap__j98xk th,\n .partner-monthly-table-module_wrapper__e92hP .partner-monthly-table-module_table_wrap__j98xk td {\n border-bottom: 1px solid #d5d5d5;\n padding: 20px 5px; }\n .partner-monthly-table-module_wrapper__e92hP td {\n text-align: center; }\n";
11983
11986
  var cls$i = {"wrapper":"partner-monthly-table-module_wrapper__e92hP","title":"partner-monthly-table-module_title__2Sfuk","table_wrap":"partner-monthly-table-module_table_wrap__j98xk","title_wrap":"partner-monthly-table-module_title_wrap__3zZFW","tooltip":"partner-monthly-table-module_tooltip__2P0Ji","tooltiptext":"partner-monthly-table-module_tooltiptext__1Q9pA"};
11984
11987
  styleInject(css$i);
11985
11988
 
11986
11989
  const img$8 = "data:image/svg+xml,%3c%3fxml version='1.0' encoding='utf-8'%3f%3e%3c!-- Uploaded to: SVG Repo%2c www.svgrepo.com%2c Generator: SVG Repo Mixer Tools --%3e%3csvg width='800px' height='800px' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3e%3cpath fill-rule='evenodd' clip-rule='evenodd' d='M1 12C1 5.92487 5.92487 1 12 1C18.0751 1 23 5.92487 23 12C23 18.0751 18.0751 23 12 23C5.92487 23 1 18.0751 1 12ZM10.3027 13.3942C10.2316 13.7147 10.5038 14 10.8479 14H13.0406C13.2979 14 13.5151 13.8351 13.6064 13.6061C13.697 13.3789 14.0117 12.9674 14.254 12.7518C14.4827 12.5112 14.7213 12.2848 14.9563 12.0618C15.8824 11.183 16.754 10.356 16.754 8.91047C16.754 6.40301 14.582 5 12.2707 5C10.5038 5 8.06416 5.80604 7.58396 8.50363C7.48716 9.04737 7.94773 9.5 8.50002 9.5H9.91229C10.4388 9.5 10.8312 9.07642 11.0121 8.582C11.1863 8.10604 11.5379 7.7551 12.2707 7.7551C13.6066 7.7551 13.6064 9.22371 12.8346 10.1843C12.5434 10.5467 12.2023 10.8677 11.8648 11.1853C11.1798 11.8298 10.5098 12.4602 10.3027 13.3942ZM13.9999 17C13.9999 18.1046 13.1045 19 11.9999 19C10.8954 19 9.99994 18.1046 9.99994 17C9.99994 15.8954 10.8954 15 11.9999 15C13.1045 15 13.9999 15.8954 13.9999 17Z' fill='%23efefef'/%3e%3c/svg%3e";
11987
11990
 
11988
- var scope$4 = {
11989
- styles: React.createElement(_JSXStyle, {
11990
- id: "3002567813"
11991
- }, ".main-list-meta.jsx-3002567813{margin-left:10px;}\n/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbInBhcnRuZXItbW9udGhseS10YWJsZS50c3giXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBY3lCLEFBR3NCLGlCQUNuQiIsImZpbGUiOiJwYXJ0bmVyLW1vbnRobHktdGFibGUudHN4Iiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IF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B0ZXh0fT57dG9vbHRpcH08L3NwYW4+XG4gICAgICAgICAgICA8L2Rpdj5cbiAgICAgICAgICA8L2Rpdj5cbiAgICAgICAgKX1cblxuICAgICAgICA8dGFibGUgc3R5bGU9e3sgd2lkdGg6IFwiMTAwJVwiIH19PlxuICAgICAgICAgIDx0aGVhZD57cmVuZGVySGVhZGVyKCl9PC90aGVhZD5cbiAgICAgICAgICA8dGJvZHk+e2RhdGEubWFwKChpdGVtLCBpbmRleCkgPT4gcmVuZGVyUm93KGl0ZW0sIGluZGV4KSl9PC90Ym9keT5cbiAgICAgICAgPC90YWJsZT5cbiAgICAgIDwvZGl2PlxuICAgIDwvZGl2PlxuICApO1xufTtcblxuZXhwb3J0IGRlZmF1bHQgUGFydG5lck1vbnRobHlUYWJsZTtcbiJdfQ== */\n/*@ sourceURL=partner-monthly-table.tsx */"),
11992
- className: "jsx-3002567813"
11993
- };
11994
-
11995
11991
  var PartnerMonthlyTable = function PartnerMonthlyTable(_ref) {
11996
11992
  var columns = _ref.columns,
11997
11993
  data = _ref.data,
11998
11994
  title = _ref.title,
11999
- tooltip = _ref.tooltip;
11995
+ tooltip = _ref.tooltip,
11996
+ customBottomRow = _ref.customBottomRow;
12000
11997
 
12001
11998
  var renderHeader = function renderHeader() {
12002
11999
  return React.createElement("tr", null, columns.map(function (column, index) {
@@ -12023,35 +12020,47 @@ var PartnerMonthlyTable = function PartnerMonthlyTable(_ref) {
12023
12020
  };
12024
12021
 
12025
12022
  return React.createElement("div", {
12026
- className: cls$i.wrapper
12023
+ className: _JSXStyle.dynamic([["4149185661", [customBottomRow ? "0px" : "50px"]]]) + " " + (cls$i.wrapper )
12027
12024
  }, React.createElement("div", {
12028
- className: cls$i.table_wrap
12025
+ className: _JSXStyle.dynamic([["4149185661", [customBottomRow ? "0px" : "50px"]]]) + " " + (cls$i.table_wrap )
12029
12026
  }, title && React.createElement("div", {
12030
- className: cls$i.title_wrap
12027
+ className: _JSXStyle.dynamic([["4149185661", [customBottomRow ? "0px" : "50px"]]]) + " " + (cls$i.title_wrap )
12031
12028
  }, React.createElement("p", {
12032
- className: cls$i.title
12029
+ className: _JSXStyle.dynamic([["4149185661", [customBottomRow ? "0px" : "50px"]]]) + " " + (cls$i.title )
12033
12030
  }, title), React.createElement("div", {
12034
- className: cls$i.tooltip
12031
+ className: _JSXStyle.dynamic([["4149185661", [customBottomRow ? "0px" : "50px"]]]) + " " + (cls$i.tooltip )
12035
12032
  }, React.createElement("img", {
12036
12033
  src: img$8,
12037
12034
  width: 22,
12038
- height: 22
12035
+ height: 22,
12036
+ className: _JSXStyle.dynamic([["4149185661", [customBottomRow ? "0px" : "50px"]]])
12039
12037
  }), React.createElement("span", {
12040
- className: cls$i.tooltiptext
12038
+ className: _JSXStyle.dynamic([["4149185661", [customBottomRow ? "0px" : "50px"]]]) + " " + (cls$i.tooltiptext )
12041
12039
  }, tooltip))), React.createElement("table", {
12042
12040
  style: {
12043
12041
  width: "100%"
12044
- }
12045
- }, React.createElement("thead", null, renderHeader()), React.createElement("tbody", null, data.map(function (item, index) {
12042
+ },
12043
+ className: _JSXStyle.dynamic([["4149185661", [customBottomRow ? "0px" : "50px"]]])
12044
+ }, React.createElement("thead", {
12045
+ className: _JSXStyle.dynamic([["4149185661", [customBottomRow ? "0px" : "50px"]]])
12046
+ }, renderHeader()), React.createElement("tbody", {
12047
+ className: _JSXStyle.dynamic([["4149185661", [customBottomRow ? "0px" : "50px"]]])
12048
+ }, data.map(function (item, index) {
12046
12049
  return renderRow(item, index);
12047
- })))));
12050
+ }))), customBottomRow && React.createElement("div", {
12051
+ className: _JSXStyle.dynamic([["4149185661", [customBottomRow ? "0px" : "50px"]]])
12052
+ }, customBottomRow)), React.createElement(_JSXStyle, {
12053
+ id: "4149185661",
12054
+ dynamic: [customBottomRow ? "0px" : "50px"]
12055
+ }, "table.__jsx-style-dynamic-selector{border-collapse:collapse;margin-bottom:".concat(customBottomRow ? "0px" : "50px", ";}\n/*# sourceMappingURL=data:application/json;charset=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XG4gICAgICAgICAgICA8ZGl2IGNsYXNzTmFtZT17Y2xzLnRvb2x0aXB9PlxuICAgICAgICAgICAgICA8aW1nIHNyYz17UXVlc3Rpb25JY29ufSB3aWR0aD17MjJ9IGhlaWdodD17MjJ9IC8+XG4gICAgICAgICAgICAgIDxzcGFuIGNsYXNzTmFtZT17Y2xzLnRvb2x0aXB0ZXh0fT57dG9vbHRpcH08L3NwYW4+XG4gICAgICAgICAgICA8L2Rpdj5cbiAgICAgICAgICA8L2Rpdj5cbiAgICAgICAgKX1cblxuICAgICAgICA8dGFibGUgc3R5bGU9e3sgd2lkdGg6IFwiMTAwJVwiIH19PlxuICAgICAgICAgIDx0aGVhZD57cmVuZGVySGVhZGVyKCl9PC90aGVhZD5cbiAgICAgICAgICA8dGJvZHk+e2RhdGEubWFwKChpdGVtLCBpbmRleCkgPT4gcmVuZGVyUm93KGl0ZW0sIGluZGV4KSl9PC90Ym9keT5cbiAgICAgICAgPC90YWJsZT5cbiAgICAgICAge2N1c3RvbUJvdHRvbVJvdyAmJiA8ZGl2PntjdXN0b21Cb3R0b21Sb3d9PC9kaXY+fVxuICAgICAgPC9kaXY+XG4gICAgICA8c3R5bGUganN4PntgXG4gICAgICAgIHRhYmxlIHtcbiAgICAgICAgICBib3JkZXItY29sbGFwc2U6IGNvbGxhcHNlO1xuICAgICAgICAgIG1hcmdpbi1ib3R0b206ICR7Y3VzdG9tQm90dG9tUm93ID8gXCIwcHhcIiA6IFwiNTBweFwifTtcbiAgICAgICAgfVxuICAgICAgYH08L3N0eWxlPlxuICAgIDwvZGl2PlxuICApO1xufTtcblxuZXhwb3J0IGRlZmF1bHQgUGFydG5lck1vbnRobHlUYWJsZTtcbiJdfQ== */\n/*@ sourceURL=partner-monthly-table.tsx */")));
12048
12056
  };
12049
12057
 
12050
12058
  PartnerMonthlyTable.propTypes = {
12051
12059
  columns: _pt.any.isRequired,
12052
12060
  data: _pt.any.isRequired,
12053
12061
  title: _pt.string,
12054
- tooltip: _pt.string
12062
+ tooltip: _pt.string,
12063
+ customBottomRow: _pt.node
12055
12064
  };
12056
12065
 
12057
12066
  var css$j = ".partner-chart-stats-module_wrapper__1nf17 {\n border-radius: 8px;\n background: #FFF;\n box-shadow: 0px 1px 8px 0px rgba(110, 110, 110, 0.25);\n max-width: 250px;\n display: flex;\n padding: 16px 24px;\n flex-direction: column;\n align-items: center;\n grid-gap: 8px;\n grid-gap: 8px;\n gap: 8px; }\n .partner-chart-stats-module_wrapper__1nf17 .partner-chart-stats-module_amount_raised__3YgU4 {\n min-height: 80px;\n display: flex;\n align-items: center;\n flex-direction: column;\n justify-content: center;\n font-family: \"Montserrat\", \"Roboto\", sans-serif; }\n .partner-chart-stats-module_wrapper__1nf17 .partner-chart-stats-module_amount_raised__3YgU4 .partner-chart-stats-module_numeric__2ehBR {\n color: #ACACAC;\n font-weight: bold;\n font-size: 24px;\n line-height: 32px; }\n .partner-chart-stats-module_wrapper__1nf17 .partner-chart-stats-module_amount_raised__3YgU4 .partner-chart-stats-module_title__3VP2i {\n margin-top: 10px;\n font-weight: 400;\n font-size: 14px;\n color: #ACACAC;\n text-align: center; }\n";
@@ -35109,39 +35118,46 @@ var cls$v = {"container":"input-module_container__3R_rx","lable":"input-module_l
35109
35118
  styleInject(css$v);
35110
35119
 
35111
35120
  var Input = function Input(_ref) {
35112
- var lable = _ref.lable,
35121
+ var label = _ref.label,
35113
35122
  _ref$required = _ref.required,
35114
35123
  required = _ref$required === void 0 ? false : _ref$required,
35115
35124
  placeholder = _ref.placeholder,
35116
35125
  value = _ref.value,
35117
- _onChange = _ref.onChange,
35118
- error = _ref.error;
35126
+ onChange = _ref.onChange,
35127
+ error = _ref.error,
35128
+ _ref$disable = _ref.disable,
35129
+ disable = _ref$disable === void 0 ? false : _ref$disable,
35130
+ name = _ref.name;
35119
35131
  return React.createElement("div", {
35120
35132
  className: cls$v.container
35121
35133
  }, React.createElement("p", {
35122
35134
  className: cls$v.lable
35123
- }, lable, " ", required && React.createElement("span", {
35135
+ }, label, " ", required && React.createElement("span", {
35124
35136
  className: cls$v.required
35125
35137
  }, "*")), React.createElement("input", {
35126
35138
  className: error && cls$v.error,
35127
35139
  type: "text",
35128
35140
  placeholder: placeholder,
35129
35141
  value: value,
35130
- onChange: function onChange(e) {
35131
- return _onChange(e.currentTarget.value);
35132
- }
35142
+ disabled: disable,
35143
+ name: name,
35144
+ onChange: onChange ? function (e) {
35145
+ return onChange(e.currentTarget.value);
35146
+ } : function () {}
35133
35147
  }), error && React.createElement("p", {
35134
35148
  className: cls$v.mesError
35135
35149
  }, error));
35136
35150
  };
35137
35151
 
35138
35152
  Input.propTypes = {
35139
- lable: _pt.string,
35153
+ label: _pt.string,
35140
35154
  required: _pt.bool,
35141
35155
  placeholder: _pt.string,
35142
- onChange: _pt.func.isRequired,
35143
- value: _pt.string.isRequired,
35144
- error: _pt.oneOfType([_pt.string, _pt.oneOf([null]), _pt.bool])
35156
+ onChange: _pt.func,
35157
+ value: _pt.oneOfType([_pt.string, _pt.any, _pt.number]),
35158
+ error: _pt.oneOfType([_pt.string, _pt.oneOf([null]), _pt.bool]),
35159
+ disable: _pt.bool,
35160
+ name: _pt.string
35145
35161
  };
35146
35162
 
35147
35163
  var css$w = ".my-account-frp-closed-module_wrapper__1I9n9 {\n border-radius: 16px;\n background: lightgray 50% / cover no-repeat;\n box-shadow: 1px 1px 8px 0px rgba(110, 110, 110, 0.1), 8px 8px 24px 0px rgba(139, 162, 179, 0.25);\n display: flex;\n font-family: Montserrat;\n position: relative;\n cursor: pointer; }\n .my-account-frp-closed-module_wrapper__1I9n9:hover .my-account-frp-closed-module_coverImage__UyIdc,\n .my-account-frp-closed-module_wrapper__1I9n9:hover .my-account-frp-closed-module_imgOverlay__2KJdC {\n background: rgba(34, 39, 37, 0.2); }\n .my-account-frp-closed-module_wrapper__1I9n9 .my-account-frp-closed-module_completeIcon__qvdph {\n position: absolute;\n top: 0;\n right: 0;\n z-index: 1; }\n .my-account-frp-closed-module_wrapper__1I9n9 .my-account-frp-closed-module_coverImage__UyIdc {\n width: calc(100% - 200px);\n border-radius: 16px 0 0 16px;\n position: relative;\n cursor: pointer;\n opacity: 0.6;\n overflow: hidden; }\n .my-account-frp-closed-module_wrapper__1I9n9 .my-account-frp-closed-module_coverImage__UyIdc .my-account-frp-closed-module_imgOverlay__2KJdC {\n position: absolute;\n top: 0;\n left: 0;\n width: 100%;\n height: 100%;\n border-radius: 16px 0 0 16px;\n transition: 0.2s all; }\n .my-account-frp-closed-module_wrapper__1I9n9 .my-account-frp-closed-module_coverImage__UyIdc .my-account-frp-closed-module_boxImage__3lh3x {\n width: 100%;\n display: flex;\n justify-content: center;\n overflow: hidden;\n border-radius: 16px 0 0 16px; }\n .my-account-frp-closed-module_wrapper__1I9n9 .my-account-frp-closed-module_coverImage__UyIdc .my-account-frp-closed-module_boxImage__3lh3x .my-account-frp-closed-module_noImg__1Ktbc {\n background: url(\"./background.png\") no-repeat;\n background-size: cover;\n width: 100%;\n height: 460px; }\n .my-account-frp-closed-module_wrapper__1I9n9 .my-account-frp-closed-module_coverImage__UyIdc .my-account-frp-closed-module_coverTitle__3OQ7R {\n position: absolute;\n bottom: 0;\n display: flex;\n align-items: center;\n width: 100%;\n border-radius: 0px 0px 0px 16px;\n min-height: 80px;\n opacity: 0.95;\n background: linear-gradient(90deg, #2d8a75 0%, #42ccae 97.5%);\n background: linear-gradient(90deg, #2d8a75 0%, #42ccae 97.5%);\n background: var(--Green-Linear, linear-gradient(90deg, #2d8a75 0%, #42ccae 97.5%)); }\n .my-account-frp-closed-module_wrapper__1I9n9 .my-account-frp-closed-module_coverImage__UyIdc .my-account-frp-closed-module_coverTitle__3OQ7R .my-account-frp-closed-module_title__3M0pI {\n font-size: 20px;\n line-height: 26px;\n font-weight: 700;\n color: #fff;\n padding: 11px 32px;\n margin: 0; }\n .my-account-frp-closed-module_wrapper__1I9n9 .my-account-frp-closed-module_coverInfomation__wrS7L {\n width: 200px;\n padding: 50px 30px;\n text-align: center;\n display: flex;\n flex-direction: column;\n align-items: center;\n justify-content: center;\n background-color: #EBEBEB;\n border-radius: 0 16px 16px 0; }\n .my-account-frp-closed-module_wrapper__1I9n9 .my-account-frp-closed-module_coverInfomation__wrS7L p {\n margin: 0; }\n .my-account-frp-closed-module_wrapper__1I9n9 .my-account-frp-closed-module_coverInfomation__wrS7L .my-account-frp-closed-module_item__1S1Q4 {\n margin-bottom: 16px; }\n .my-account-frp-closed-module_wrapper__1I9n9 .my-account-frp-closed-module_coverInfomation__wrS7L .my-account-frp-closed-module_item__1S1Q4 .my-account-frp-closed-module_number__2Uyn9 {\n font-size: 16px;\n font-weight: 700;\n margin-bottom: 5px; }\n .my-account-frp-closed-module_wrapper__1I9n9 .my-account-frp-closed-module_coverInfomation__wrS7L .my-account-frp-closed-module_item__1S1Q4 .my-account-frp-closed-module_text__E7Tjr {\n font-size: 14px; }\n .my-account-frp-closed-module_wrapper__1I9n9 .my-account-frp-closed-module_coverInfomation__wrS7L .my-account-frp-closed-module_item__1S1Q4 .my-account-frp-closed-module_closeDateText__1ZsA5 {\n margin-left: -10px;\n margin-right: -10px;\n font-size: 14px; }\n .my-account-frp-closed-module_wrapper__1I9n9 .my-account-frp-closed-module_coverInfomation__wrS7L .my-account-frp-closed-module_item__1S1Q4 .my-account-frp-closed-module_closeDateText__1ZsA5 .my-account-frp-closed-module_number__2Uyn9 {\n font-size: 14px; }\n .my-account-frp-closed-module_wrapper__1I9n9 .my-account-frp-closed-module_coverInfomation__wrS7L .my-account-frp-closed-module_manageBtn__3pzfu {\n border-radius: 20px;\n border: 1px solid #2D8A75;\n padding: 8px 16px;\n font-size: 14px;\n font-weight: 700;\n color: #2D8A75;\n display: flex;\n align-items: center;\n cursor: pointer; }\n .my-account-frp-closed-module_wrapper__1I9n9 .my-account-frp-closed-module_coverInfomation__wrS7L .my-account-frp-closed-module_manageBtn__3pzfu svg {\n margin-left: 8px; }\n .my-account-frp-closed-module_wrapper__1I9n9 .my-account-frp-closed-module_coverInfomation__wrS7L .my-account-frp-closed-module_manageBtn__3pzfu:hover {\n background: #65a797;\n color: #fff; }\n .my-account-frp-closed-module_wrapper__1I9n9 .my-account-frp-closed-module_coverInfomation__wrS7L .my-account-frp-closed-module_progress__2tfwn {\n margin: 0 0 16px 0; }\n .my-account-frp-closed-module_wrapper__1I9n9 .my-account-frp-closed-module_coverInfomation__wrS7L .my-account-frp-closed-module_coverRight__3b5oY {\n display: flex;\n flex-direction: column;\n align-items: center; }\n\n@media all and (max-width: 768px) {\n .my-account-frp-closed-module_wrapper__1I9n9 {\n flex-direction: column; }\n .my-account-frp-closed-module_wrapper__1I9n9 .my-account-frp-closed-module_coverImage__UyIdc {\n width: 100%;\n border-radius: 16px 16px 0 0; }\n .my-account-frp-closed-module_wrapper__1I9n9 .my-account-frp-closed-module_coverImage__UyIdc .my-account-frp-closed-module_boxImage__3lh3x {\n border-radius: 16px 16px 0 0; }\n .my-account-frp-closed-module_wrapper__1I9n9 .my-account-frp-closed-module_coverImage__UyIdc .my-account-frp-closed-module_imgOverlay__2KJdC {\n border-radius: 16px 16px 0 0; }\n .my-account-frp-closed-module_wrapper__1I9n9 .my-account-frp-closed-module_coverImage__UyIdc .my-account-frp-closed-module_coverTitle__3OQ7R {\n border-radius: 0;\n min-height: 0;\n min-height: initial; }\n .my-account-frp-closed-module_wrapper__1I9n9 .my-account-frp-closed-module_coverImage__UyIdc .my-account-frp-closed-module_coverTitle__3OQ7R .my-account-frp-closed-module_title__3M0pI {\n font-size: 18px; }\n .my-account-frp-closed-module_wrapper__1I9n9 .my-account-frp-closed-module_coverInfomation__wrS7L {\n flex-direction: row;\n width: 100%;\n justify-content: space-around;\n padding: 32px 0;\n border-radius: 0 0 16px 16px; }\n .my-account-frp-closed-module_wrapper__1I9n9 .my-account-frp-closed-module_coverInfomation__wrS7L .my-account-frp-closed-module_coverItem__2i2wT {\n display: flex;\n flex-direction: column;\n grid-gap: 18px;\n grid-gap: 18px;\n gap: 18px; }\n .my-account-frp-closed-module_wrapper__1I9n9 .my-account-frp-closed-module_coverInfomation__wrS7L .my-account-frp-closed-module_coverItem__2i2wT .my-account-frp-closed-module_item__1S1Q4 {\n margin-bottom: 0; }\n .my-account-frp-closed-module_wrapper__1I9n9 .my-account-frp-closed-module_coverInfomation__wrS7L .my-account-frp-closed-module_progress__2tfwn {\n margin: 0 0 20px 0; } }\n\n@media all and (max-width: 480px) {\n .my-account-frp-closed-module_wrapper__1I9n9 .my-account-frp-closed-module_coverImage__UyIdc .my-account-frp-closed-module_coverTitle__3OQ7R .my-account-frp-closed-module_title__3M0pI {\n font-size: 16px;\n padding: 10px 15px;\n line-height: 20px; } }\n\n@media all and (max-width: 400px) {\n .my-account-frp-closed-module_wrapper__1I9n9 .my-account-frp-closed-module_coverImage__UyIdc .my-account-frp-closed-module_coverTitle__3OQ7R .my-account-frp-closed-module_title__3M0pI {\n font-size: 13px;\n line-height: 16px; } }\n";
package/dist/index.js CHANGED
@@ -8053,7 +8053,8 @@ function PhoneInput(_ref5) {
8053
8053
  label = _ref5.label,
8054
8054
  required = _ref5.required,
8055
8055
  placeholder = _ref5.placeholder,
8056
- error = _ref5.error;
8056
+ error = _ref5.error,
8057
+ name = _ref5.name;
8057
8058
 
8058
8059
  var _useState = React.useState(false),
8059
8060
  _useState2 = _slicedToArray(_useState, 2),
@@ -8151,7 +8152,8 @@ function PhoneInput(_ref5) {
8151
8152
  },
8152
8153
  onBlur: function onBlur() {
8153
8154
  return setIsFocus(false);
8154
- }
8155
+ },
8156
+ name: name
8155
8157
  })))), error && React__default.createElement("p", {
8156
8158
  className: cls$1.mesError
8157
8159
  }, error));
@@ -8169,7 +8171,8 @@ PhoneInput.propTypes = {
8169
8171
  required: _pt.bool,
8170
8172
  defaultCountry: _pt.any,
8171
8173
  placeholder: _pt.string,
8172
- color: _pt.string
8174
+ color: _pt.string,
8175
+ name: _pt.string
8173
8176
  };
8174
8177
 
8175
8178
  function parseNationalPhoneNumber(phoneNumber, countryCallingCode, defaultCountry) {
@@ -11993,24 +11996,18 @@ PartnerMonthlyStats.propTypes = {
11993
11996
  title: _pt.string.isRequired
11994
11997
  };
11995
11998
 
11996
- var css$i = ".partner-monthly-table-module_wrapper__e92hP {\n width: 100%;\n margin: 20px; }\n .partner-monthly-table-module_wrapper__e92hP .partner-monthly-table-module_title__2Sfuk {\n font-size: 24px;\n font-weight: bold;\n line-height: 1.4;\n margin-bottom: 5px;\n font-family: \"Montserrat\", \"Roboto\", sans-serif; }\n .partner-monthly-table-module_wrapper__e92hP .partner-monthly-table-module_table_wrap__j98xk {\n box-shadow: rgba(100, 100, 111, 0.2) 0px 0px 29px;\n border-radius: 10px;\n padding: 20px; }\n .partner-monthly-table-module_wrapper__e92hP .partner-monthly-table-module_table_wrap__j98xk .partner-monthly-table-module_title_wrap__3zZFW {\n display: flex;\n align-items: end; }\n .partner-monthly-table-module_wrapper__e92hP .partner-monthly-table-module_table_wrap__j98xk .partner-monthly-table-module_title_wrap__3zZFW .partner-monthly-table-module_tooltip__2P0Ji {\n position: relative;\n display: inline-block; }\n .partner-monthly-table-module_wrapper__e92hP .partner-monthly-table-module_table_wrap__j98xk .partner-monthly-table-module_title_wrap__3zZFW .partner-monthly-table-module_tooltip__2P0Ji img {\n margin-bottom: 7px;\n margin-left: 5px; }\n .partner-monthly-table-module_wrapper__e92hP .partner-monthly-table-module_table_wrap__j98xk .partner-monthly-table-module_title_wrap__3zZFW .partner-monthly-table-module_tooltip__2P0Ji img svg {\n background-color: #000; }\n .partner-monthly-table-module_wrapper__e92hP .partner-monthly-table-module_table_wrap__j98xk .partner-monthly-table-module_title_wrap__3zZFW .partner-monthly-table-module_tooltip__2P0Ji .partner-monthly-table-module_tooltiptext__1Q9pA {\n visibility: hidden;\n width: 320px;\n background-color: black;\n color: #fff;\n text-align: center;\n border-radius: 6px;\n padding: 8px 13px;\n position: absolute;\n z-index: 1;\n top: 105%;\n right: 50%;\n margin-right: -162px;\n border: 1px solid #fba026;\n opacity: 0;\n transition: opacity 0.5s;\n line-height: 1.2; }\n .partner-monthly-table-module_wrapper__e92hP .partner-monthly-table-module_table_wrap__j98xk .partner-monthly-table-module_title_wrap__3zZFW .partner-monthly-table-module_tooltip__2P0Ji .partner-monthly-table-module_tooltiptext__1Q9pA::after {\n content: \"\";\n position: absolute;\n bottom: 100%;\n left: 50%;\n margin-left: -5px;\n border-width: 5px;\n border-style: solid;\n border-color: transparent transparent #fba026 transparent; }\n .partner-monthly-table-module_wrapper__e92hP .partner-monthly-table-module_table_wrap__j98xk .partner-monthly-table-module_title_wrap__3zZFW .partner-monthly-table-module_tooltip__2P0Ji:hover .partner-monthly-table-module_tooltiptext__1Q9pA {\n visibility: visible;\n opacity: 1; }\n .partner-monthly-table-module_wrapper__e92hP .partner-monthly-table-module_table_wrap__j98xk table {\n border-collapse: collapse;\n margin-bottom: 50px; }\n .partner-monthly-table-module_wrapper__e92hP .partner-monthly-table-module_table_wrap__j98xk th,\n .partner-monthly-table-module_wrapper__e92hP .partner-monthly-table-module_table_wrap__j98xk td {\n border-bottom: 1px solid #d5d5d5;\n padding: 20px 5px; }\n .partner-monthly-table-module_wrapper__e92hP td {\n text-align: center; }\n";
11999
+ var css$i = ".partner-monthly-table-module_wrapper__e92hP {\n width: 100%;\n margin: 20px; }\n .partner-monthly-table-module_wrapper__e92hP .partner-monthly-table-module_title__2Sfuk {\n font-size: 24px;\n font-weight: bold;\n line-height: 1.4;\n margin-bottom: 5px;\n font-family: \"Montserrat\", \"Roboto\", sans-serif; }\n .partner-monthly-table-module_wrapper__e92hP .partner-monthly-table-module_table_wrap__j98xk {\n box-shadow: rgba(100, 100, 111, 0.2) 0px 0px 29px;\n border-radius: 10px;\n padding: 20px; }\n .partner-monthly-table-module_wrapper__e92hP .partner-monthly-table-module_table_wrap__j98xk .partner-monthly-table-module_title_wrap__3zZFW {\n display: flex;\n align-items: end; }\n .partner-monthly-table-module_wrapper__e92hP .partner-monthly-table-module_table_wrap__j98xk .partner-monthly-table-module_title_wrap__3zZFW .partner-monthly-table-module_tooltip__2P0Ji {\n position: relative;\n display: inline-block; }\n .partner-monthly-table-module_wrapper__e92hP .partner-monthly-table-module_table_wrap__j98xk .partner-monthly-table-module_title_wrap__3zZFW .partner-monthly-table-module_tooltip__2P0Ji img {\n margin-bottom: 7px;\n margin-left: 5px; }\n .partner-monthly-table-module_wrapper__e92hP .partner-monthly-table-module_table_wrap__j98xk .partner-monthly-table-module_title_wrap__3zZFW .partner-monthly-table-module_tooltip__2P0Ji img svg {\n background-color: #000; }\n .partner-monthly-table-module_wrapper__e92hP .partner-monthly-table-module_table_wrap__j98xk .partner-monthly-table-module_title_wrap__3zZFW .partner-monthly-table-module_tooltip__2P0Ji .partner-monthly-table-module_tooltiptext__1Q9pA {\n visibility: hidden;\n width: 320px;\n background-color: black;\n color: #fff;\n text-align: center;\n border-radius: 6px;\n padding: 8px 13px;\n position: absolute;\n z-index: 1;\n top: 105%;\n right: 50%;\n margin-right: -162px;\n border: 1px solid #fba026;\n opacity: 0;\n transition: opacity 0.5s;\n line-height: 1.2; }\n .partner-monthly-table-module_wrapper__e92hP .partner-monthly-table-module_table_wrap__j98xk .partner-monthly-table-module_title_wrap__3zZFW .partner-monthly-table-module_tooltip__2P0Ji .partner-monthly-table-module_tooltiptext__1Q9pA::after {\n content: \"\";\n position: absolute;\n bottom: 100%;\n left: 50%;\n margin-left: -5px;\n border-width: 5px;\n border-style: solid;\n border-color: transparent transparent #fba026 transparent; }\n .partner-monthly-table-module_wrapper__e92hP .partner-monthly-table-module_table_wrap__j98xk .partner-monthly-table-module_title_wrap__3zZFW .partner-monthly-table-module_tooltip__2P0Ji:hover .partner-monthly-table-module_tooltiptext__1Q9pA {\n visibility: visible;\n opacity: 1; }\n .partner-monthly-table-module_wrapper__e92hP .partner-monthly-table-module_table_wrap__j98xk th,\n .partner-monthly-table-module_wrapper__e92hP .partner-monthly-table-module_table_wrap__j98xk td {\n border-bottom: 1px solid #d5d5d5;\n padding: 20px 5px; }\n .partner-monthly-table-module_wrapper__e92hP td {\n text-align: center; }\n";
11997
12000
  var cls$i = {"wrapper":"partner-monthly-table-module_wrapper__e92hP","title":"partner-monthly-table-module_title__2Sfuk","table_wrap":"partner-monthly-table-module_table_wrap__j98xk","title_wrap":"partner-monthly-table-module_title_wrap__3zZFW","tooltip":"partner-monthly-table-module_tooltip__2P0Ji","tooltiptext":"partner-monthly-table-module_tooltiptext__1Q9pA"};
11998
12001
  styleInject(css$i);
11999
12002
 
12000
12003
  const img$8 = "data:image/svg+xml,%3c%3fxml version='1.0' encoding='utf-8'%3f%3e%3c!-- Uploaded to: SVG Repo%2c www.svgrepo.com%2c Generator: SVG Repo Mixer Tools --%3e%3csvg width='800px' height='800px' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3e%3cpath fill-rule='evenodd' clip-rule='evenodd' d='M1 12C1 5.92487 5.92487 1 12 1C18.0751 1 23 5.92487 23 12C23 18.0751 18.0751 23 12 23C5.92487 23 1 18.0751 1 12ZM10.3027 13.3942C10.2316 13.7147 10.5038 14 10.8479 14H13.0406C13.2979 14 13.5151 13.8351 13.6064 13.6061C13.697 13.3789 14.0117 12.9674 14.254 12.7518C14.4827 12.5112 14.7213 12.2848 14.9563 12.0618C15.8824 11.183 16.754 10.356 16.754 8.91047C16.754 6.40301 14.582 5 12.2707 5C10.5038 5 8.06416 5.80604 7.58396 8.50363C7.48716 9.04737 7.94773 9.5 8.50002 9.5H9.91229C10.4388 9.5 10.8312 9.07642 11.0121 8.582C11.1863 8.10604 11.5379 7.7551 12.2707 7.7551C13.6066 7.7551 13.6064 9.22371 12.8346 10.1843C12.5434 10.5467 12.2023 10.8677 11.8648 11.1853C11.1798 11.8298 10.5098 12.4602 10.3027 13.3942ZM13.9999 17C13.9999 18.1046 13.1045 19 11.9999 19C10.8954 19 9.99994 18.1046 9.99994 17C9.99994 15.8954 10.8954 15 11.9999 15C13.1045 15 13.9999 15.8954 13.9999 17Z' fill='%23efefef'/%3e%3c/svg%3e";
12001
12004
 
12002
- var scope$4 = {
12003
- styles: React__default.createElement(_JSXStyle, {
12004
- id: "3002567813"
12005
- }, ".main-list-meta.jsx-3002567813{margin-left:10px;}\n/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbInBhcnRuZXItbW9udGhseS10YWJsZS50c3giXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBY3lCLEFBR3NCLGlCQUNuQiIsImZpbGUiOiJwYXJ0bmVyLW1vbnRobHktdGFibGUudHN4Iiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IFJlYWN0IGZyb20gXCJyZWFjdFwiO1xuaW1wb3J0IGNsYXNzbmFtZXMgZnJvbSBcImNsYXNzbmFtZXNcIjtcbmltcG9ydCBjbHMgZnJvbSBcIi4vcGFydG5lci1tb250aGx5LXRhYmxlLm1vZHVsZS5zY3NzXCI7XG5pbXBvcnQgY3NzIGZyb20gXCJzdHlsZWQtanN4L2Nzc1wiO1xuaW1wb3J0IFF1ZXN0aW9uSWNvbiBmcm9tIFwiLi9xdWVzdGlvbi1jaXJjbGUuc3ZnXCI7XG5cbmV4cG9ydCB0eXBlIENvbHVtblRhYmxlUHJvcHMgPSB7XG4gIGtleTogc3RyaW5nO1xuICBsYWJlbDogc3RyaW5nO1xuICBhbGlnbjogXCJjZW50ZXJcIiB8IFwibGVmdFwiIHwgXCJyaWdodFwiO1xuICByb3dQcmVmaXhJY29uPzogc3RyaW5nO1xuICByZW5kZXJDZWxsOiAoaXRlbTogYW55KSA9PiBSZWFjdC5SZWFjdE5vZGU7XG59O1xuXG5jb25zdCBzY29wZSA9IGNzcy5yZXNvbHZlYFxuICAubWFpbi1saXN0LW1ldGEge1xuICAgIG1hcmdpbi1sZWZ0OiAxMHB4O1xuICB9XG5gO1xuXG5leHBvcnQgaW50ZXJmYWNlIFBhcnRuZXJNb250aGx5VGFibGVQcm9wcyB7XG4gIGNvbHVtbnM6IEFycmF5PENvbHVtblRhYmxlUHJvcHM+O1xuICBkYXRhOiBBcnJheTxvYmplY3Q+O1xuICB0aXRsZT86IHN0cmluZztcbiAgdG9vbHRpcD86IHN0cmluZztcbn1cblxuY29uc3QgUGFydG5lck1vbnRobHlUYWJsZSA9ICh7XG4gIGNvbHVtbnMsXG4gIGRhdGEsXG4gIHRpdGxlLFxuICB0b29sdGlwLFxufTogUGFydG5lck1vbnRobHlUYWJsZVByb3BzKSA9PiB7XG4gIGNvbnN0IHJlbmRlckhlYWRlciA9ICgpID0+IHtcbiAgICByZXR1cm4gKFxuICAgICAgPHRyPlxuICAgICAgICB7Y29sdW1ucy5tYXAoKGNvbHVtbiwgaW5kZXgpID0+IChcbiAgICAgICAgICA8dGgga2V5PXtpbmRleH0gc3R5bGU9e3sgdGV4dEFsaWduOiBjb2x1bW4uYWxpZ24gfX0+XG4gICAgICAgICAgICB7Y29sdW1uLmxhYmVsfVxuICAgICAgICAgIDwvdGg+XG4gICAgICAgICkpfVxuICAgICAgPC90cj5cbiAgICApO1xuICB9O1xuXG4gIGNvbnN0IHJlbmRlclJvdyA9IChpdGVtOiBhbnksIHJvd0luZGV4OiBudW1iZXIpID0+IHtcbiAgICByZXR1cm4gKFxuICAgICAgPHRyIGtleT17cm93SW5kZXh9PlxuICAgICAgICB7Y29sdW1ucy5tYXAoKGNvbHVtbiwgY29sSW5kZXgpID0+IChcbiAgICAgICAgICA8dGQga2V5PXtjb2xJbmRleH0gc3R5bGU9e3sgdGV4dEFsaWduOiBjb2x1bW4uYWxpZ24gfX0+XG4gICAgICAgICAgICB7Y29sdW1uLnJlbmRlckNlbGwoaXRlbSl9XG4gICAgICAgICAgPC90ZD5cbiAgICAgICAgKSl9XG4gICAgICA8L3RyPlxuICAgICk7XG4gIH07XG5cbiAgcmV0dXJuIChcbiAgICA8ZGl2IGNsYXNzTmFtZT17Y2xzLndyYXBwZXJ9PlxuICAgICAgPGRpdiBjbGFzc05hbWU9e2Nscy50YWJsZV93cmFwfT5cbiAgICAgICAge3RpdGxlICYmIChcbiAgICAgICAgICA8ZGl2IGNsYXNzTmFtZT17Y2xzLnRpdGxlX3dyYXB9PlxuICAgICAgICAgICAgPHAgY2xhc3NOYW1lPXtjbHMudGl0bGV9Pnt0aXRsZX08L3A+XG4gICAgICAgICAgICA8ZGl2IGNsYXNzTmFtZT17Y2xzLnRvb2x0aXB9PlxuICAgICAgICAgICAgICA8aW1nIHNyYz17UXVlc3Rpb25JY29ufSB3aWR0aD17MjJ9IGhlaWdodD17MjJ9IC8+XG4gICAgICAgICAgICAgIDxzcGFuIGNsYXNzTmFtZT17Y2xzLnRvb2x0aXB0ZXh0fT57dG9vbHRpcH08L3NwYW4+XG4gICAgICAgICAgICA8L2Rpdj5cbiAgICAgICAgICA8L2Rpdj5cbiAgICAgICAgKX1cblxuICAgICAgICA8dGFibGUgc3R5bGU9e3sgd2lkdGg6IFwiMTAwJVwiIH19PlxuICAgICAgICAgIDx0aGVhZD57cmVuZGVySGVhZGVyKCl9PC90aGVhZD5cbiAgICAgICAgICA8dGJvZHk+e2RhdGEubWFwKChpdGVtLCBpbmRleCkgPT4gcmVuZGVyUm93KGl0ZW0sIGluZGV4KSl9PC90Ym9keT5cbiAgICAgICAgPC90YWJsZT5cbiAgICAgIDwvZGl2PlxuICAgIDwvZGl2PlxuICApO1xufTtcblxuZXhwb3J0IGRlZmF1bHQgUGFydG5lck1vbnRobHlUYWJsZTtcbiJdfQ== */\n/*@ sourceURL=partner-monthly-table.tsx */"),
12006
- className: "jsx-3002567813"
12007
- };
12008
-
12009
12005
  var PartnerMonthlyTable = function PartnerMonthlyTable(_ref) {
12010
12006
  var columns = _ref.columns,
12011
12007
  data = _ref.data,
12012
12008
  title = _ref.title,
12013
- tooltip = _ref.tooltip;
12009
+ tooltip = _ref.tooltip,
12010
+ customBottomRow = _ref.customBottomRow;
12014
12011
 
12015
12012
  var renderHeader = function renderHeader() {
12016
12013
  return React__default.createElement("tr", null, columns.map(function (column, index) {
@@ -12037,35 +12034,47 @@ var PartnerMonthlyTable = function PartnerMonthlyTable(_ref) {
12037
12034
  };
12038
12035
 
12039
12036
  return React__default.createElement("div", {
12040
- className: cls$i.wrapper
12037
+ className: _JSXStyle.dynamic([["4149185661", [customBottomRow ? "0px" : "50px"]]]) + " " + (cls$i.wrapper )
12041
12038
  }, React__default.createElement("div", {
12042
- className: cls$i.table_wrap
12039
+ className: _JSXStyle.dynamic([["4149185661", [customBottomRow ? "0px" : "50px"]]]) + " " + (cls$i.table_wrap )
12043
12040
  }, title && React__default.createElement("div", {
12044
- className: cls$i.title_wrap
12041
+ className: _JSXStyle.dynamic([["4149185661", [customBottomRow ? "0px" : "50px"]]]) + " " + (cls$i.title_wrap )
12045
12042
  }, React__default.createElement("p", {
12046
- className: cls$i.title
12043
+ className: _JSXStyle.dynamic([["4149185661", [customBottomRow ? "0px" : "50px"]]]) + " " + (cls$i.title )
12047
12044
  }, title), React__default.createElement("div", {
12048
- className: cls$i.tooltip
12045
+ className: _JSXStyle.dynamic([["4149185661", [customBottomRow ? "0px" : "50px"]]]) + " " + (cls$i.tooltip )
12049
12046
  }, React__default.createElement("img", {
12050
12047
  src: img$8,
12051
12048
  width: 22,
12052
- height: 22
12049
+ height: 22,
12050
+ className: _JSXStyle.dynamic([["4149185661", [customBottomRow ? "0px" : "50px"]]])
12053
12051
  }), React__default.createElement("span", {
12054
- className: cls$i.tooltiptext
12052
+ className: _JSXStyle.dynamic([["4149185661", [customBottomRow ? "0px" : "50px"]]]) + " " + (cls$i.tooltiptext )
12055
12053
  }, tooltip))), React__default.createElement("table", {
12056
12054
  style: {
12057
12055
  width: "100%"
12058
- }
12059
- }, React__default.createElement("thead", null, renderHeader()), React__default.createElement("tbody", null, data.map(function (item, index) {
12056
+ },
12057
+ className: _JSXStyle.dynamic([["4149185661", [customBottomRow ? "0px" : "50px"]]])
12058
+ }, React__default.createElement("thead", {
12059
+ className: _JSXStyle.dynamic([["4149185661", [customBottomRow ? "0px" : "50px"]]])
12060
+ }, renderHeader()), React__default.createElement("tbody", {
12061
+ className: _JSXStyle.dynamic([["4149185661", [customBottomRow ? "0px" : "50px"]]])
12062
+ }, data.map(function (item, index) {
12060
12063
  return renderRow(item, index);
12061
- })))));
12064
+ }))), customBottomRow && React__default.createElement("div", {
12065
+ className: _JSXStyle.dynamic([["4149185661", [customBottomRow ? "0px" : "50px"]]])
12066
+ }, customBottomRow)), React__default.createElement(_JSXStyle, {
12067
+ id: "4149185661",
12068
+ dynamic: [customBottomRow ? "0px" : "50px"]
12069
+ }, "table.__jsx-style-dynamic-selector{border-collapse:collapse;margin-bottom:".concat(customBottomRow ? "0px" : "50px", ";}\n/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbInBhcnRuZXItbW9udGhseS10YWJsZS50c3giXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBd0VrQixBQUdvQyx5QkFDa0IsMkNBQzdDIiwiZmlsZSI6InBhcnRuZXItbW9udGhseS10YWJsZS50c3giLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgUmVhY3QgZnJvbSBcInJlYWN0XCI7XG5pbXBvcnQgY2xhc3NuYW1lcyBmcm9tIFwiY2xhc3NuYW1lc1wiO1xuaW1wb3J0IGNscyBmcm9tIFwiLi9wYXJ0bmVyLW1vbnRobHktdGFibGUubW9kdWxlLnNjc3NcIjtcbmltcG9ydCBjc3MgZnJvbSBcInN0eWxlZC1qc3gvY3NzXCI7XG5pbXBvcnQgUXVlc3Rpb25JY29uIGZyb20gXCIuL3F1ZXN0aW9uLWNpcmNsZS5zdmdcIjtcblxuZXhwb3J0IHR5cGUgQ29sdW1uVGFibGVQcm9wcyA9IHtcbiAga2V5OiBzdHJpbmc7XG4gIGxhYmVsOiBzdHJpbmc7XG4gIGFsaWduOiBcImNlbnRlclwiIHwgXCJsZWZ0XCIgfCBcInJpZ2h0XCI7XG4gIHJvd1ByZWZpeEljb24/OiBzdHJpbmc7XG4gIHJlbmRlckNlbGw6IChpdGVtOi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AgIG1hcmdpbi1ib3R0b206ICR7Y3VzdG9tQm90dG9tUm93ID8gXCIwcHhcIiA6IFwiNTBweFwifTtcbiAgICAgICAgfVxuICAgICAgYH08L3N0eWxlPlxuICAgIDwvZGl2PlxuICApO1xufTtcblxuZXhwb3J0IGRlZmF1bHQgUGFydG5lck1vbnRobHlUYWJsZTtcbiJdfQ== */\n/*@ sourceURL=partner-monthly-table.tsx */")));
12062
12070
  };
12063
12071
 
12064
12072
  PartnerMonthlyTable.propTypes = {
12065
12073
  columns: _pt.any.isRequired,
12066
12074
  data: _pt.any.isRequired,
12067
12075
  title: _pt.string,
12068
- tooltip: _pt.string
12076
+ tooltip: _pt.string,
12077
+ customBottomRow: _pt.node
12069
12078
  };
12070
12079
 
12071
12080
  var css$j = ".partner-chart-stats-module_wrapper__1nf17 {\n border-radius: 8px;\n background: #FFF;\n box-shadow: 0px 1px 8px 0px rgba(110, 110, 110, 0.25);\n max-width: 250px;\n display: flex;\n padding: 16px 24px;\n flex-direction: column;\n align-items: center;\n grid-gap: 8px;\n grid-gap: 8px;\n gap: 8px; }\n .partner-chart-stats-module_wrapper__1nf17 .partner-chart-stats-module_amount_raised__3YgU4 {\n min-height: 80px;\n display: flex;\n align-items: center;\n flex-direction: column;\n justify-content: center;\n font-family: \"Montserrat\", \"Roboto\", sans-serif; }\n .partner-chart-stats-module_wrapper__1nf17 .partner-chart-stats-module_amount_raised__3YgU4 .partner-chart-stats-module_numeric__2ehBR {\n color: #ACACAC;\n font-weight: bold;\n font-size: 24px;\n line-height: 32px; }\n .partner-chart-stats-module_wrapper__1nf17 .partner-chart-stats-module_amount_raised__3YgU4 .partner-chart-stats-module_title__3VP2i {\n margin-top: 10px;\n font-weight: 400;\n font-size: 14px;\n color: #ACACAC;\n text-align: center; }\n";
@@ -35123,39 +35132,46 @@ var cls$v = {"container":"input-module_container__3R_rx","lable":"input-module_l
35123
35132
  styleInject(css$v);
35124
35133
 
35125
35134
  var Input = function Input(_ref) {
35126
- var lable = _ref.lable,
35135
+ var label = _ref.label,
35127
35136
  _ref$required = _ref.required,
35128
35137
  required = _ref$required === void 0 ? false : _ref$required,
35129
35138
  placeholder = _ref.placeholder,
35130
35139
  value = _ref.value,
35131
- _onChange = _ref.onChange,
35132
- error = _ref.error;
35140
+ onChange = _ref.onChange,
35141
+ error = _ref.error,
35142
+ _ref$disable = _ref.disable,
35143
+ disable = _ref$disable === void 0 ? false : _ref$disable,
35144
+ name = _ref.name;
35133
35145
  return React__default.createElement("div", {
35134
35146
  className: cls$v.container
35135
35147
  }, React__default.createElement("p", {
35136
35148
  className: cls$v.lable
35137
- }, lable, " ", required && React__default.createElement("span", {
35149
+ }, label, " ", required && React__default.createElement("span", {
35138
35150
  className: cls$v.required
35139
35151
  }, "*")), React__default.createElement("input", {
35140
35152
  className: error && cls$v.error,
35141
35153
  type: "text",
35142
35154
  placeholder: placeholder,
35143
35155
  value: value,
35144
- onChange: function onChange(e) {
35145
- return _onChange(e.currentTarget.value);
35146
- }
35156
+ disabled: disable,
35157
+ name: name,
35158
+ onChange: onChange ? function (e) {
35159
+ return onChange(e.currentTarget.value);
35160
+ } : function () {}
35147
35161
  }), error && React__default.createElement("p", {
35148
35162
  className: cls$v.mesError
35149
35163
  }, error));
35150
35164
  };
35151
35165
 
35152
35166
  Input.propTypes = {
35153
- lable: _pt.string,
35167
+ label: _pt.string,
35154
35168
  required: _pt.bool,
35155
35169
  placeholder: _pt.string,
35156
- onChange: _pt.func.isRequired,
35157
- value: _pt.string.isRequired,
35158
- error: _pt.oneOfType([_pt.string, _pt.oneOf([null]), _pt.bool])
35170
+ onChange: _pt.func,
35171
+ value: _pt.oneOfType([_pt.string, _pt.any, _pt.number]),
35172
+ error: _pt.oneOfType([_pt.string, _pt.oneOf([null]), _pt.bool]),
35173
+ disable: _pt.bool,
35174
+ name: _pt.string
35159
35175
  };
35160
35176
 
35161
35177
  var css$w = ".my-account-frp-closed-module_wrapper__1I9n9 {\n border-radius: 16px;\n background: lightgray 50% / cover no-repeat;\n box-shadow: 1px 1px 8px 0px rgba(110, 110, 110, 0.1), 8px 8px 24px 0px rgba(139, 162, 179, 0.25);\n display: flex;\n font-family: Montserrat;\n position: relative;\n cursor: pointer; }\n .my-account-frp-closed-module_wrapper__1I9n9:hover .my-account-frp-closed-module_coverImage__UyIdc,\n .my-account-frp-closed-module_wrapper__1I9n9:hover .my-account-frp-closed-module_imgOverlay__2KJdC {\n background: rgba(34, 39, 37, 0.2); }\n .my-account-frp-closed-module_wrapper__1I9n9 .my-account-frp-closed-module_completeIcon__qvdph {\n position: absolute;\n top: 0;\n right: 0;\n z-index: 1; }\n .my-account-frp-closed-module_wrapper__1I9n9 .my-account-frp-closed-module_coverImage__UyIdc {\n width: calc(100% - 200px);\n border-radius: 16px 0 0 16px;\n position: relative;\n cursor: pointer;\n opacity: 0.6;\n overflow: hidden; }\n .my-account-frp-closed-module_wrapper__1I9n9 .my-account-frp-closed-module_coverImage__UyIdc .my-account-frp-closed-module_imgOverlay__2KJdC {\n position: absolute;\n top: 0;\n left: 0;\n width: 100%;\n height: 100%;\n border-radius: 16px 0 0 16px;\n transition: 0.2s all; }\n .my-account-frp-closed-module_wrapper__1I9n9 .my-account-frp-closed-module_coverImage__UyIdc .my-account-frp-closed-module_boxImage__3lh3x {\n width: 100%;\n display: flex;\n justify-content: center;\n overflow: hidden;\n border-radius: 16px 0 0 16px; }\n .my-account-frp-closed-module_wrapper__1I9n9 .my-account-frp-closed-module_coverImage__UyIdc .my-account-frp-closed-module_boxImage__3lh3x .my-account-frp-closed-module_noImg__1Ktbc {\n background: url(\"./background.png\") no-repeat;\n background-size: cover;\n width: 100%;\n height: 460px; }\n .my-account-frp-closed-module_wrapper__1I9n9 .my-account-frp-closed-module_coverImage__UyIdc .my-account-frp-closed-module_coverTitle__3OQ7R {\n position: absolute;\n bottom: 0;\n display: flex;\n align-items: center;\n width: 100%;\n border-radius: 0px 0px 0px 16px;\n min-height: 80px;\n opacity: 0.95;\n background: linear-gradient(90deg, #2d8a75 0%, #42ccae 97.5%);\n background: linear-gradient(90deg, #2d8a75 0%, #42ccae 97.5%);\n background: var(--Green-Linear, linear-gradient(90deg, #2d8a75 0%, #42ccae 97.5%)); }\n .my-account-frp-closed-module_wrapper__1I9n9 .my-account-frp-closed-module_coverImage__UyIdc .my-account-frp-closed-module_coverTitle__3OQ7R .my-account-frp-closed-module_title__3M0pI {\n font-size: 20px;\n line-height: 26px;\n font-weight: 700;\n color: #fff;\n padding: 11px 32px;\n margin: 0; }\n .my-account-frp-closed-module_wrapper__1I9n9 .my-account-frp-closed-module_coverInfomation__wrS7L {\n width: 200px;\n padding: 50px 30px;\n text-align: center;\n display: flex;\n flex-direction: column;\n align-items: center;\n justify-content: center;\n background-color: #EBEBEB;\n border-radius: 0 16px 16px 0; }\n .my-account-frp-closed-module_wrapper__1I9n9 .my-account-frp-closed-module_coverInfomation__wrS7L p {\n margin: 0; }\n .my-account-frp-closed-module_wrapper__1I9n9 .my-account-frp-closed-module_coverInfomation__wrS7L .my-account-frp-closed-module_item__1S1Q4 {\n margin-bottom: 16px; }\n .my-account-frp-closed-module_wrapper__1I9n9 .my-account-frp-closed-module_coverInfomation__wrS7L .my-account-frp-closed-module_item__1S1Q4 .my-account-frp-closed-module_number__2Uyn9 {\n font-size: 16px;\n font-weight: 700;\n margin-bottom: 5px; }\n .my-account-frp-closed-module_wrapper__1I9n9 .my-account-frp-closed-module_coverInfomation__wrS7L .my-account-frp-closed-module_item__1S1Q4 .my-account-frp-closed-module_text__E7Tjr {\n font-size: 14px; }\n .my-account-frp-closed-module_wrapper__1I9n9 .my-account-frp-closed-module_coverInfomation__wrS7L .my-account-frp-closed-module_item__1S1Q4 .my-account-frp-closed-module_closeDateText__1ZsA5 {\n margin-left: -10px;\n margin-right: -10px;\n font-size: 14px; }\n .my-account-frp-closed-module_wrapper__1I9n9 .my-account-frp-closed-module_coverInfomation__wrS7L .my-account-frp-closed-module_item__1S1Q4 .my-account-frp-closed-module_closeDateText__1ZsA5 .my-account-frp-closed-module_number__2Uyn9 {\n font-size: 14px; }\n .my-account-frp-closed-module_wrapper__1I9n9 .my-account-frp-closed-module_coverInfomation__wrS7L .my-account-frp-closed-module_manageBtn__3pzfu {\n border-radius: 20px;\n border: 1px solid #2D8A75;\n padding: 8px 16px;\n font-size: 14px;\n font-weight: 700;\n color: #2D8A75;\n display: flex;\n align-items: center;\n cursor: pointer; }\n .my-account-frp-closed-module_wrapper__1I9n9 .my-account-frp-closed-module_coverInfomation__wrS7L .my-account-frp-closed-module_manageBtn__3pzfu svg {\n margin-left: 8px; }\n .my-account-frp-closed-module_wrapper__1I9n9 .my-account-frp-closed-module_coverInfomation__wrS7L .my-account-frp-closed-module_manageBtn__3pzfu:hover {\n background: #65a797;\n color: #fff; }\n .my-account-frp-closed-module_wrapper__1I9n9 .my-account-frp-closed-module_coverInfomation__wrS7L .my-account-frp-closed-module_progress__2tfwn {\n margin: 0 0 16px 0; }\n .my-account-frp-closed-module_wrapper__1I9n9 .my-account-frp-closed-module_coverInfomation__wrS7L .my-account-frp-closed-module_coverRight__3b5oY {\n display: flex;\n flex-direction: column;\n align-items: center; }\n\n@media all and (max-width: 768px) {\n .my-account-frp-closed-module_wrapper__1I9n9 {\n flex-direction: column; }\n .my-account-frp-closed-module_wrapper__1I9n9 .my-account-frp-closed-module_coverImage__UyIdc {\n width: 100%;\n border-radius: 16px 16px 0 0; }\n .my-account-frp-closed-module_wrapper__1I9n9 .my-account-frp-closed-module_coverImage__UyIdc .my-account-frp-closed-module_boxImage__3lh3x {\n border-radius: 16px 16px 0 0; }\n .my-account-frp-closed-module_wrapper__1I9n9 .my-account-frp-closed-module_coverImage__UyIdc .my-account-frp-closed-module_imgOverlay__2KJdC {\n border-radius: 16px 16px 0 0; }\n .my-account-frp-closed-module_wrapper__1I9n9 .my-account-frp-closed-module_coverImage__UyIdc .my-account-frp-closed-module_coverTitle__3OQ7R {\n border-radius: 0;\n min-height: 0;\n min-height: initial; }\n .my-account-frp-closed-module_wrapper__1I9n9 .my-account-frp-closed-module_coverImage__UyIdc .my-account-frp-closed-module_coverTitle__3OQ7R .my-account-frp-closed-module_title__3M0pI {\n font-size: 18px; }\n .my-account-frp-closed-module_wrapper__1I9n9 .my-account-frp-closed-module_coverInfomation__wrS7L {\n flex-direction: row;\n width: 100%;\n justify-content: space-around;\n padding: 32px 0;\n border-radius: 0 0 16px 16px; }\n .my-account-frp-closed-module_wrapper__1I9n9 .my-account-frp-closed-module_coverInfomation__wrS7L .my-account-frp-closed-module_coverItem__2i2wT {\n display: flex;\n flex-direction: column;\n grid-gap: 18px;\n grid-gap: 18px;\n gap: 18px; }\n .my-account-frp-closed-module_wrapper__1I9n9 .my-account-frp-closed-module_coverInfomation__wrS7L .my-account-frp-closed-module_coverItem__2i2wT .my-account-frp-closed-module_item__1S1Q4 {\n margin-bottom: 0; }\n .my-account-frp-closed-module_wrapper__1I9n9 .my-account-frp-closed-module_coverInfomation__wrS7L .my-account-frp-closed-module_progress__2tfwn {\n margin: 0 0 20px 0; } }\n\n@media all and (max-width: 480px) {\n .my-account-frp-closed-module_wrapper__1I9n9 .my-account-frp-closed-module_coverImage__UyIdc .my-account-frp-closed-module_coverTitle__3OQ7R .my-account-frp-closed-module_title__3M0pI {\n font-size: 16px;\n padding: 10px 15px;\n line-height: 20px; } }\n\n@media all and (max-width: 400px) {\n .my-account-frp-closed-module_wrapper__1I9n9 .my-account-frp-closed-module_coverImage__UyIdc .my-account-frp-closed-module_coverTitle__3OQ7R .my-account-frp-closed-module_title__3M0pI {\n font-size: 13px;\n line-height: 16px; } }\n";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mycause/ui",
3
- "version": "0.18.0",
3
+ "version": "0.18.1",
4
4
  "author": "Marc Porciuncula <marc@mycause.com.au>",
5
5
  "license": "MIT",
6
6
  "main": "dist/index.js",