@pelcro/react-pelcro-js 4.0.0-alpha.30 → 4.0.0-alpha.32

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/dist/index.cjs.js CHANGED
@@ -3870,7 +3870,7 @@ var labels$U = {
3870
3870
  canceled: "Canceled"
3871
3871
  },
3872
3872
  manageMembers: "Manage Members",
3873
- shipments: "Shipments remaining",
3873
+ shipments: "Shipments Remaining",
3874
3874
  logout: "Logout",
3875
3875
  dashboard: "Dashboard",
3876
3876
  unsubscribe: "Cancel",
@@ -3880,6 +3880,7 @@ var labels$U = {
3880
3880
  unsuspend: "Unsuspend",
3881
3881
  support: "Support",
3882
3882
  account: "Account",
3883
+ mySettings: "My Settings",
3883
3884
  accountSettings: "Account Settings",
3884
3885
  purchases: "Purchases",
3885
3886
  subscriptions: "Subscriptions",
@@ -3898,10 +3899,10 @@ var labels$U = {
3898
3899
  pastDue: "Past due",
3899
3900
  updatePaymentSource: "Update",
3900
3901
  profile: "Profile",
3901
- updateProfile: "Edit profile",
3902
- changePassword: "Change password",
3903
- editNewsletters: "Edit newsletters",
3904
- myQRCode: "My QR code",
3902
+ updateProfile: "Edit Profile",
3903
+ changePassword: "Change Password",
3904
+ editNewsletters: "Edit Newsletters",
3905
+ myQRCode: "QR Code",
3905
3906
  shipping: "Shipping",
3906
3907
  billing: "Billing",
3907
3908
  Newsletters: "Newsletters",
@@ -3910,9 +3911,9 @@ var labels$U = {
3910
3911
  redeemGift: "Redeem gift",
3911
3912
  address: "Address",
3912
3913
  addresses: "Addresses",
3913
- myProfile: "My profile",
3914
+ myProfile: "My Profile",
3914
3915
  basicData: "Basic Data",
3915
- paymentSource: "Payment cards",
3916
+ paymentSource: "Payment Cards",
3916
3917
  addCard: "Add Card",
3917
3918
  actions: "Actions",
3918
3919
  expiresOn: "Ends",
@@ -4824,6 +4825,7 @@ var labels$z = {
4824
4825
  unsuspend: "Annuler la suspension",
4825
4826
  support: "Soutien",
4826
4827
  account: "Compte",
4828
+ mySettings: "Mes paramètres",
4827
4829
  accountSettings: "Paramètres du compte",
4828
4830
  purchases: "Achats",
4829
4831
  subscriptions: "Abonnements",
@@ -5714,6 +5716,7 @@ var labels$k = {
5714
5716
  unsuspend: "일시 중단 해제",
5715
5717
  support: "지원",
5716
5718
  account: "계정",
5719
+ mySettings: "내 설정",
5717
5720
  accountSettings: "계정 설정",
5718
5721
  purchases: "구매",
5719
5722
  subscriptions: "유료 멤버십",
@@ -6648,6 +6651,7 @@ var labels$5 = {
6648
6651
  unsuspend: "Reanudar",
6649
6652
  support: "Soporte",
6650
6653
  account: "Cuenta",
6654
+ mySettings: "Mi configuración",
6651
6655
  purchases: "Compras",
6652
6656
  subscriptions: "Suscripciones",
6653
6657
  donations: "Donaciones",
@@ -12666,7 +12670,7 @@ const LoginRequestLoginToken = ({
12666
12670
  return /*#__PURE__*/React__default['default'].createElement("button", {
12667
12671
  type: "button",
12668
12672
  onClick: () => onClick === null || onClick === void 0 ? void 0 : onClick(),
12669
- className: `plc-flex plc-items-center plc-justify-center plc-h-12 plc-px-5 plc-text-gray-700 plc-rounded-md pelcro-google-login plc-shadow-md_dark plc-flex-1 plc-bg-white hover:plc-bg-transparent ${className}`
12673
+ className: `plc-flex plc-items-center plc-justify-center plc-h-12 plc-px-1 plc-text-gray-700 plc-rounded-md pelcro-google-login plc-shadow-md_dark plc-flex-1 plc-bg-white hover:plc-bg-transparent plc-text-sm ${className}`
12670
12674
  }, /*#__PURE__*/React__default['default'].createElement(SvgEmailVerify, {
12671
12675
  className: `plc-w-6 plc-h-auto pelcro-paswordless-login-icon" ${iconClassName}`
12672
12676
  }), /*#__PURE__*/React__default['default'].createElement("p", {
@@ -13097,7 +13101,7 @@ const FacebookLoginButton = ({
13097
13101
  render: renderProps => /*#__PURE__*/React__default['default'].createElement("button", {
13098
13102
  type: "button",
13099
13103
  onClick: renderProps.onClick,
13100
- className: `plc-flex plc-items-center plc-justify-center plc-h-12 plc-px-5 plc-text-gray-700 plc-rounded-md pelcro-google-login plc-shadow-md_dark shadow plc-flex-1 plc-bg-white hover:plc-bg-transparent ${className}`
13104
+ className: `plc-flex plc-items-center plc-justify-center plc-h-12 plc-px-1 plc-text-gray-700 plc-rounded-md pelcro-google-login plc-shadow-md_dark plc-flex-1 plc-bg-white hover:plc-bg-transparent plc-text-sm ${className}`
13101
13105
  }, /*#__PURE__*/React__default['default'].createElement(SvgFacebookLogo, {
13102
13106
  className: `plc-w-3 plc-h-auto pelcro-facebook-login-icon ${iconClassName}`
13103
13107
  }), /*#__PURE__*/React__default['default'].createElement("p", {
@@ -13275,7 +13279,7 @@ const GoogleLoginButton = ({
13275
13279
  render: renderProps => /*#__PURE__*/React__default['default'].createElement("button", {
13276
13280
  type: "button",
13277
13281
  onClick: renderProps.onClick,
13278
- className: `plc-flex plc-items-center plc-justify-center plc-h-12 plc-px-5 plc-text-gray-700 plc-rounded-md pelcro-google-login plc-shadow-md_dark plc-flex-1 plc-bg-white hover:plc-bg-transparent ${className}`
13282
+ className: `plc-flex plc-items-center plc-justify-center plc-h-12 plc-px-1 plc-text-gray-700 plc-rounded-md pelcro-google-login plc-shadow-md_dark plc-flex-1 plc-bg-white hover:plc-bg-transparent plc-text-sm ${className}`
13279
13283
  }, /*#__PURE__*/React__default['default'].createElement(SvgGoogleLogo, {
13280
13284
  className: `plc-w-6 plc-h-auto pelcro-google-login-icon" ${iconClassName}`
13281
13285
  }), /*#__PURE__*/React__default['default'].createElement("p", {
@@ -13414,9 +13418,9 @@ const Auth0LoginButton = ({
13414
13418
  return /*#__PURE__*/React__default['default'].createElement("button", {
13415
13419
  type: "button",
13416
13420
  onClick: handleClick,
13417
- className: `plc-flex plc-items-center plc-justify-center plc-h-12 plc-px-5 plc-text-gray-700 plc-rounded-md pelcro-google-login plc-shadow-md_dark plc-bg-white hover:plc-bg-transparent ${className}`
13421
+ className: `plc-flex plc-items-center plc-justify-center plc-h-12 plc-px-1 plc-text-gray-700 plc-rounded-md pelcro-google-login plc-shadow-md_dark plc-bg-white hover:plc-bg-transparent plc-text-sm ${className}`
13418
13422
  }, /*#__PURE__*/React__default['default'].createElement(SvgAuth0Logo, {
13419
- className: `plc-w-6 plc-h-auto pelcro-auth0-login-icon" ${iconClassName}`
13423
+ className: `plc-w-5 plc-h-auto pelcro-auth0-login-icon" ${iconClassName}`
13420
13424
  }), /*#__PURE__*/React__default['default'].createElement("p", {
13421
13425
  className: `pelcro-auth0-login-label plc-ml-2 ${labelClassName}`
13422
13426
  }, label));
@@ -13450,7 +13454,7 @@ function LoginView(props) {
13450
13454
  }, /*#__PURE__*/React__default['default'].createElement(GoogleLoginButton, {
13451
13455
  className: "plc-block sm:plc-flex plc-w-full sm:plc-w-auto plc-mb-4 sm:plc-mb-0"
13452
13456
  }), /*#__PURE__*/React__default['default'].createElement(VerticalSeparator, {
13453
- className: "plc-hidden sm:plc-inline-grid plc-mx-4 plc-h-8"
13457
+ className: "plc-hidden sm:plc-inline-grid plc-mx-2 plc-h-8"
13454
13458
  }), /*#__PURE__*/React__default['default'].createElement(FacebookLoginButton, {
13455
13459
  className: "plc-block sm:plc-flex plc-w-full sm:plc-w-auto"
13456
13460
  })), /*#__PURE__*/React__default['default'].createElement("div", {
@@ -13458,10 +13462,10 @@ function LoginView(props) {
13458
13462
  }, /*#__PURE__*/React__default['default'].createElement(Auth0LoginButton, {
13459
13463
  className: `plc-block sm:plc-flex plc-w-full sm:plc-w-auto plc-mb-4 sm:plc-mb-0 ${passwordlessEnabled ? "plc-flex-1" : "plc-w-1/2"}`
13460
13464
  }), passwordlessEnabled && /*#__PURE__*/React__default['default'].createElement(React__default['default'].Fragment, null, /*#__PURE__*/React__default['default'].createElement(VerticalSeparator, {
13461
- className: "plc-hidden sm:plc-inline-grid plc-mx-4 plc-h-8"
13465
+ className: "plc-hidden sm:plc-inline-grid plc-mx-2 plc-h-8"
13462
13466
  }), /*#__PURE__*/React__default['default'].createElement(LoginRequestLoginToken, {
13463
13467
  onClick: props.onPasswordlessRequest,
13464
- className: "plc-block sm:plc-flex plc-w-full sm:plc-w-auto"
13468
+ className: "paswordlessButton plc-block sm:plc-flex plc-w-full sm:plc-w-auto"
13465
13469
  })))), /*#__PURE__*/React__default['default'].createElement("div", {
13466
13470
  className: "plc-flex plc-items-center plc-justify-between plc-mt-5"
13467
13471
  }, /*#__PURE__*/React__default['default'].createElement("hr", {
@@ -13704,7 +13708,7 @@ function LoginModal({
13704
13708
  onSuccess: onSuccess,
13705
13709
  onPasswordlessRequest: onPasswordlessRequest
13706
13710
  }))), /*#__PURE__*/React__default['default'].createElement(ModalFooter, null, /*#__PURE__*/React__default['default'].createElement("p", {
13707
- className: "plc-mb-9"
13711
+ className: "plc-mb-4"
13708
13712
  }, /*#__PURE__*/React__default['default'].createElement("span", {
13709
13713
  className: "plc-font-medium"
13710
13714
  }, t("messages.dontHaveAccount") + " "), /*#__PURE__*/React__default['default'].createElement(Link, {
@@ -13936,7 +13940,7 @@ function RegisterView(props) {
13936
13940
  }, /*#__PURE__*/React__default['default'].createElement(GoogleLoginButton, {
13937
13941
  className: "plc-block sm:plc-flex plc-w-full sm:plc-w-auto plc-mb-4 sm:plc-mb-0"
13938
13942
  }), /*#__PURE__*/React__default['default'].createElement(VerticalSeparator, {
13939
- className: "plc-hidden sm:plc-inline-grid plc-mx-4 plc-h-8"
13943
+ className: "plc-hidden sm:plc-inline-grid plc-mx-2 plc-h-8"
13940
13944
  }), /*#__PURE__*/React__default['default'].createElement(FacebookLoginButton, {
13941
13945
  className: "plc-block sm:plc-flex plc-w-full sm:plc-w-auto"
13942
13946
  })), /*#__PURE__*/React__default['default'].createElement("div", {
@@ -14140,7 +14144,7 @@ function RegisterModal(props) {
14140
14144
  }, title), /*#__PURE__*/React__default['default'].createElement("p", null, subtitle))), /*#__PURE__*/React__default['default'].createElement(ModalBody, null, /*#__PURE__*/React__default['default'].createElement(RegisterView, Object.assign({}, props, {
14141
14145
  onSuccess: onSuccess
14142
14146
  }))), /*#__PURE__*/React__default['default'].createElement(ModalFooter, null, /*#__PURE__*/React__default['default'].createElement("p", {
14143
- className: "plc-mb-9"
14147
+ className: "plc-mb-4"
14144
14148
  }, /*#__PURE__*/React__default['default'].createElement("span", {
14145
14149
  className: "plc-font-medium"
14146
14150
  }, t("messages.alreadyHaveAccount") + " "), /*#__PURE__*/React__default['default'].createElement(Link, {
@@ -18908,7 +18912,7 @@ function Carousel({
18908
18912
  prevArrow: /*#__PURE__*/React__default['default'].createElement(PrevArrow, null),
18909
18913
  initialSlide: 0,
18910
18914
  customPaging: i => /*#__PURE__*/React__default['default'].createElement("span", {
18911
- className: "plc-w-3 plc-h-3 plc-rounded-full plc-transition-all plc-bg-primary plc-inline-flex plc-cursor-pointer hover:plc-opacity-30"
18915
+ className: "plc-w-3 plc-h-3 plc-rounded-full plc-transition-all plc-bg-gray-400 plc-inline-flex plc-cursor-pointer hover:plc-opacity-30"
18912
18916
  }),
18913
18917
  responsive: [{
18914
18918
  breakpoint: 1280,
@@ -19121,7 +19125,7 @@ class SelectModal extends React.Component {
19121
19125
  }, /*#__PURE__*/React__default['default'].createElement("div", {
19122
19126
  className: "plc-mt-3 plc-mb-6"
19123
19127
  }, product.plans && /*#__PURE__*/React__default['default'].createElement(React__default['default'].Fragment, null, /*#__PURE__*/React__default['default'].createElement("p", {
19124
- className: "plc-mb-2"
19128
+ className: "plc-mb-2 plc-text-sm plc-text-gray-400"
19125
19129
  }, this.locale("labels.startingAt")), this.countStartPrice(product.plans))), isPlanMode || /*#__PURE__*/React__default['default'].createElement(Button, Object.assign({
19126
19130
  onClick: productButtonCallback,
19127
19131
  "data-key": product.id,
@@ -19236,7 +19240,7 @@ class SelectModal extends React.Component {
19236
19240
  }, /*#__PURE__*/React__default['default'].createElement("h4", {
19237
19241
  className: "pelcro-select-plan-title plc-font-medium plc-text-xl plc-break-all"
19238
19242
  }, plan.nickname), /*#__PURE__*/React__default['default'].createElement("p", {
19239
- className: "plc-text-sm plc-mt-1 pelcro-select-plan-description"
19243
+ className: "plc-text-sm plc-mt-1 pelcro-select-plan-description plc-text-gray-400"
19240
19244
  }, plan.description)), /*#__PURE__*/React__default['default'].createElement("div", {
19241
19245
  className: "plc-mt-auto plc-px-4 plc-mb-4"
19242
19246
  }, /*#__PURE__*/React__default['default'].createElement("div", {
@@ -27611,7 +27615,9 @@ const AddressCreateModal = ({
27611
27615
  onClose: onClose
27612
27616
  }, /*#__PURE__*/React__default['default'].createElement(ModalHeader, null, /*#__PURE__*/React__default['default'].createElement("div", {
27613
27617
  className: "plc-text-center plc-text-gray-900 pelcro-title-wrapper plc-flex-1 plc-flex plc-flex-col plc-justify-center"
27614
- }, /*#__PURE__*/React__default['default'].createElement("h4", null, giftRecipient ? t("titleGifting") : t("title")))), /*#__PURE__*/React__default['default'].createElement(ModalBody, null, /*#__PURE__*/React__default['default'].createElement(AddressCreateView, Object.assign({}, otherProps, {
27618
+ }, /*#__PURE__*/React__default['default'].createElement("h4", {
27619
+ className: "plc-text-2xl plc-font-semibold"
27620
+ }, giftRecipient ? t("titleGifting") : t("title")))), /*#__PURE__*/React__default['default'].createElement(ModalBody, null, /*#__PURE__*/React__default['default'].createElement(AddressCreateView, Object.assign({}, otherProps, {
27615
27621
  onSuccess: onSuccess,
27616
27622
  onGiftRedemptionSuccess: onGiftRedemptionSuccess,
27617
27623
  onMembershipAdressUpdateSuccess: onMembershipAdressUpdateSuccess
@@ -35159,7 +35165,7 @@ const ProfileMenu = props => {
35159
35165
  return /*#__PURE__*/React__default['default'].createElement(Card, {
35160
35166
  id: "pelcro-dashboard-profile-menu",
35161
35167
  className: "plc-max-w-100% md:plc-max-w-80% plc-m-auto",
35162
- title: t("labels.basicData")
35168
+ title: t("labels.profile")
35163
35169
  }, /*#__PURE__*/React__default['default'].createElement(UserUpdateView, {
35164
35170
  onPictureClick: onPictureClick
35165
35171
  }));
@@ -35774,12 +35780,12 @@ class Dashboard extends React.Component {
35774
35780
  className: "plc-pl-4 plc-mb-2 sm:plc-pl-8"
35775
35781
  }, /*#__PURE__*/React__default['default'].createElement("p", {
35776
35782
  className: "plc-font-bold plc-tracking-widest plc-text-gray-500"
35777
- }, this.locale("labels.profile"))), /*#__PURE__*/React__default['default'].createElement(DashboardLink, {
35783
+ }, this.locale("labels.mySettings"))), /*#__PURE__*/React__default['default'].createElement(DashboardLink, {
35778
35784
  name: SUB_MENUS.PROFILE,
35779
35785
  icon: /*#__PURE__*/React__default['default'].createElement(SvgUser, {
35780
35786
  className: "plc-w-6 plc-h-6 plc-mr-2"
35781
35787
  }),
35782
- title: this.locale("labels.basicData"),
35788
+ title: this.locale("labels.profile"),
35783
35789
  setActiveDashboardLink: this.setActiveDashboardLink,
35784
35790
  activeDashboardLink: this.state.activeDashboardLink
35785
35791
  }), /*#__PURE__*/React__default['default'].createElement(DashboardLink, {
@@ -35795,7 +35801,7 @@ class Dashboard extends React.Component {
35795
35801
  icon: /*#__PURE__*/React__default['default'].createElement(SvgKey, {
35796
35802
  className: "plc-w-6 plc-h-6 plc-mr-2"
35797
35803
  }),
35798
- title: "Change password",
35804
+ title: this.locale("labels.changePassword"),
35799
35805
  setActiveDashboardLink: this.setActiveDashboardLink,
35800
35806
  activeDashboardLink: this.state.activeDashboardLink
35801
35807
  }), /*#__PURE__*/React__default['default'].createElement(DashboardLink, {
package/dist/index.esm.js CHANGED
@@ -3840,7 +3840,7 @@ var labels$U = {
3840
3840
  canceled: "Canceled"
3841
3841
  },
3842
3842
  manageMembers: "Manage Members",
3843
- shipments: "Shipments remaining",
3843
+ shipments: "Shipments Remaining",
3844
3844
  logout: "Logout",
3845
3845
  dashboard: "Dashboard",
3846
3846
  unsubscribe: "Cancel",
@@ -3850,6 +3850,7 @@ var labels$U = {
3850
3850
  unsuspend: "Unsuspend",
3851
3851
  support: "Support",
3852
3852
  account: "Account",
3853
+ mySettings: "My Settings",
3853
3854
  accountSettings: "Account Settings",
3854
3855
  purchases: "Purchases",
3855
3856
  subscriptions: "Subscriptions",
@@ -3868,10 +3869,10 @@ var labels$U = {
3868
3869
  pastDue: "Past due",
3869
3870
  updatePaymentSource: "Update",
3870
3871
  profile: "Profile",
3871
- updateProfile: "Edit profile",
3872
- changePassword: "Change password",
3873
- editNewsletters: "Edit newsletters",
3874
- myQRCode: "My QR code",
3872
+ updateProfile: "Edit Profile",
3873
+ changePassword: "Change Password",
3874
+ editNewsletters: "Edit Newsletters",
3875
+ myQRCode: "QR Code",
3875
3876
  shipping: "Shipping",
3876
3877
  billing: "Billing",
3877
3878
  Newsletters: "Newsletters",
@@ -3880,9 +3881,9 @@ var labels$U = {
3880
3881
  redeemGift: "Redeem gift",
3881
3882
  address: "Address",
3882
3883
  addresses: "Addresses",
3883
- myProfile: "My profile",
3884
+ myProfile: "My Profile",
3884
3885
  basicData: "Basic Data",
3885
- paymentSource: "Payment cards",
3886
+ paymentSource: "Payment Cards",
3886
3887
  addCard: "Add Card",
3887
3888
  actions: "Actions",
3888
3889
  expiresOn: "Ends",
@@ -4794,6 +4795,7 @@ var labels$z = {
4794
4795
  unsuspend: "Annuler la suspension",
4795
4796
  support: "Soutien",
4796
4797
  account: "Compte",
4798
+ mySettings: "Mes paramètres",
4797
4799
  accountSettings: "Paramètres du compte",
4798
4800
  purchases: "Achats",
4799
4801
  subscriptions: "Abonnements",
@@ -5684,6 +5686,7 @@ var labels$k = {
5684
5686
  unsuspend: "일시 중단 해제",
5685
5687
  support: "지원",
5686
5688
  account: "계정",
5689
+ mySettings: "내 설정",
5687
5690
  accountSettings: "계정 설정",
5688
5691
  purchases: "구매",
5689
5692
  subscriptions: "유료 멤버십",
@@ -6618,6 +6621,7 @@ var labels$5 = {
6618
6621
  unsuspend: "Reanudar",
6619
6622
  support: "Soporte",
6620
6623
  account: "Cuenta",
6624
+ mySettings: "Mi configuración",
6621
6625
  purchases: "Compras",
6622
6626
  subscriptions: "Suscripciones",
6623
6627
  donations: "Donaciones",
@@ -12636,7 +12640,7 @@ const LoginRequestLoginToken = ({
12636
12640
  return /*#__PURE__*/React__default.createElement("button", {
12637
12641
  type: "button",
12638
12642
  onClick: () => onClick === null || onClick === void 0 ? void 0 : onClick(),
12639
- className: `plc-flex plc-items-center plc-justify-center plc-h-12 plc-px-5 plc-text-gray-700 plc-rounded-md pelcro-google-login plc-shadow-md_dark plc-flex-1 plc-bg-white hover:plc-bg-transparent ${className}`
12643
+ className: `plc-flex plc-items-center plc-justify-center plc-h-12 plc-px-1 plc-text-gray-700 plc-rounded-md pelcro-google-login plc-shadow-md_dark plc-flex-1 plc-bg-white hover:plc-bg-transparent plc-text-sm ${className}`
12640
12644
  }, /*#__PURE__*/React__default.createElement(SvgEmailVerify, {
12641
12645
  className: `plc-w-6 plc-h-auto pelcro-paswordless-login-icon" ${iconClassName}`
12642
12646
  }), /*#__PURE__*/React__default.createElement("p", {
@@ -13067,7 +13071,7 @@ const FacebookLoginButton = ({
13067
13071
  render: renderProps => /*#__PURE__*/React__default.createElement("button", {
13068
13072
  type: "button",
13069
13073
  onClick: renderProps.onClick,
13070
- className: `plc-flex plc-items-center plc-justify-center plc-h-12 plc-px-5 plc-text-gray-700 plc-rounded-md pelcro-google-login plc-shadow-md_dark shadow plc-flex-1 plc-bg-white hover:plc-bg-transparent ${className}`
13074
+ className: `plc-flex plc-items-center plc-justify-center plc-h-12 plc-px-1 plc-text-gray-700 plc-rounded-md pelcro-google-login plc-shadow-md_dark plc-flex-1 plc-bg-white hover:plc-bg-transparent plc-text-sm ${className}`
13071
13075
  }, /*#__PURE__*/React__default.createElement(SvgFacebookLogo, {
13072
13076
  className: `plc-w-3 plc-h-auto pelcro-facebook-login-icon ${iconClassName}`
13073
13077
  }), /*#__PURE__*/React__default.createElement("p", {
@@ -13245,7 +13249,7 @@ const GoogleLoginButton = ({
13245
13249
  render: renderProps => /*#__PURE__*/React__default.createElement("button", {
13246
13250
  type: "button",
13247
13251
  onClick: renderProps.onClick,
13248
- className: `plc-flex plc-items-center plc-justify-center plc-h-12 plc-px-5 plc-text-gray-700 plc-rounded-md pelcro-google-login plc-shadow-md_dark plc-flex-1 plc-bg-white hover:plc-bg-transparent ${className}`
13252
+ className: `plc-flex plc-items-center plc-justify-center plc-h-12 plc-px-1 plc-text-gray-700 plc-rounded-md pelcro-google-login plc-shadow-md_dark plc-flex-1 plc-bg-white hover:plc-bg-transparent plc-text-sm ${className}`
13249
13253
  }, /*#__PURE__*/React__default.createElement(SvgGoogleLogo, {
13250
13254
  className: `plc-w-6 plc-h-auto pelcro-google-login-icon" ${iconClassName}`
13251
13255
  }), /*#__PURE__*/React__default.createElement("p", {
@@ -13384,9 +13388,9 @@ const Auth0LoginButton = ({
13384
13388
  return /*#__PURE__*/React__default.createElement("button", {
13385
13389
  type: "button",
13386
13390
  onClick: handleClick,
13387
- className: `plc-flex plc-items-center plc-justify-center plc-h-12 plc-px-5 plc-text-gray-700 plc-rounded-md pelcro-google-login plc-shadow-md_dark plc-bg-white hover:plc-bg-transparent ${className}`
13391
+ className: `plc-flex plc-items-center plc-justify-center plc-h-12 plc-px-1 plc-text-gray-700 plc-rounded-md pelcro-google-login plc-shadow-md_dark plc-bg-white hover:plc-bg-transparent plc-text-sm ${className}`
13388
13392
  }, /*#__PURE__*/React__default.createElement(SvgAuth0Logo, {
13389
- className: `plc-w-6 plc-h-auto pelcro-auth0-login-icon" ${iconClassName}`
13393
+ className: `plc-w-5 plc-h-auto pelcro-auth0-login-icon" ${iconClassName}`
13390
13394
  }), /*#__PURE__*/React__default.createElement("p", {
13391
13395
  className: `pelcro-auth0-login-label plc-ml-2 ${labelClassName}`
13392
13396
  }, label));
@@ -13420,7 +13424,7 @@ function LoginView(props) {
13420
13424
  }, /*#__PURE__*/React__default.createElement(GoogleLoginButton, {
13421
13425
  className: "plc-block sm:plc-flex plc-w-full sm:plc-w-auto plc-mb-4 sm:plc-mb-0"
13422
13426
  }), /*#__PURE__*/React__default.createElement(VerticalSeparator, {
13423
- className: "plc-hidden sm:plc-inline-grid plc-mx-4 plc-h-8"
13427
+ className: "plc-hidden sm:plc-inline-grid plc-mx-2 plc-h-8"
13424
13428
  }), /*#__PURE__*/React__default.createElement(FacebookLoginButton, {
13425
13429
  className: "plc-block sm:plc-flex plc-w-full sm:plc-w-auto"
13426
13430
  })), /*#__PURE__*/React__default.createElement("div", {
@@ -13428,10 +13432,10 @@ function LoginView(props) {
13428
13432
  }, /*#__PURE__*/React__default.createElement(Auth0LoginButton, {
13429
13433
  className: `plc-block sm:plc-flex plc-w-full sm:plc-w-auto plc-mb-4 sm:plc-mb-0 ${passwordlessEnabled ? "plc-flex-1" : "plc-w-1/2"}`
13430
13434
  }), passwordlessEnabled && /*#__PURE__*/React__default.createElement(React__default.Fragment, null, /*#__PURE__*/React__default.createElement(VerticalSeparator, {
13431
- className: "plc-hidden sm:plc-inline-grid plc-mx-4 plc-h-8"
13435
+ className: "plc-hidden sm:plc-inline-grid plc-mx-2 plc-h-8"
13432
13436
  }), /*#__PURE__*/React__default.createElement(LoginRequestLoginToken, {
13433
13437
  onClick: props.onPasswordlessRequest,
13434
- className: "plc-block sm:plc-flex plc-w-full sm:plc-w-auto"
13438
+ className: "paswordlessButton plc-block sm:plc-flex plc-w-full sm:plc-w-auto"
13435
13439
  })))), /*#__PURE__*/React__default.createElement("div", {
13436
13440
  className: "plc-flex plc-items-center plc-justify-between plc-mt-5"
13437
13441
  }, /*#__PURE__*/React__default.createElement("hr", {
@@ -13674,7 +13678,7 @@ function LoginModal({
13674
13678
  onSuccess: onSuccess,
13675
13679
  onPasswordlessRequest: onPasswordlessRequest
13676
13680
  }))), /*#__PURE__*/React__default.createElement(ModalFooter, null, /*#__PURE__*/React__default.createElement("p", {
13677
- className: "plc-mb-9"
13681
+ className: "plc-mb-4"
13678
13682
  }, /*#__PURE__*/React__default.createElement("span", {
13679
13683
  className: "plc-font-medium"
13680
13684
  }, t("messages.dontHaveAccount") + " "), /*#__PURE__*/React__default.createElement(Link, {
@@ -13906,7 +13910,7 @@ function RegisterView(props) {
13906
13910
  }, /*#__PURE__*/React__default.createElement(GoogleLoginButton, {
13907
13911
  className: "plc-block sm:plc-flex plc-w-full sm:plc-w-auto plc-mb-4 sm:plc-mb-0"
13908
13912
  }), /*#__PURE__*/React__default.createElement(VerticalSeparator, {
13909
- className: "plc-hidden sm:plc-inline-grid plc-mx-4 plc-h-8"
13913
+ className: "plc-hidden sm:plc-inline-grid plc-mx-2 plc-h-8"
13910
13914
  }), /*#__PURE__*/React__default.createElement(FacebookLoginButton, {
13911
13915
  className: "plc-block sm:plc-flex plc-w-full sm:plc-w-auto"
13912
13916
  })), /*#__PURE__*/React__default.createElement("div", {
@@ -14110,7 +14114,7 @@ function RegisterModal(props) {
14110
14114
  }, title), /*#__PURE__*/React__default.createElement("p", null, subtitle))), /*#__PURE__*/React__default.createElement(ModalBody, null, /*#__PURE__*/React__default.createElement(RegisterView, Object.assign({}, props, {
14111
14115
  onSuccess: onSuccess
14112
14116
  }))), /*#__PURE__*/React__default.createElement(ModalFooter, null, /*#__PURE__*/React__default.createElement("p", {
14113
- className: "plc-mb-9"
14117
+ className: "plc-mb-4"
14114
14118
  }, /*#__PURE__*/React__default.createElement("span", {
14115
14119
  className: "plc-font-medium"
14116
14120
  }, t("messages.alreadyHaveAccount") + " "), /*#__PURE__*/React__default.createElement(Link, {
@@ -18878,7 +18882,7 @@ function Carousel({
18878
18882
  prevArrow: /*#__PURE__*/React__default.createElement(PrevArrow, null),
18879
18883
  initialSlide: 0,
18880
18884
  customPaging: i => /*#__PURE__*/React__default.createElement("span", {
18881
- className: "plc-w-3 plc-h-3 plc-rounded-full plc-transition-all plc-bg-primary plc-inline-flex plc-cursor-pointer hover:plc-opacity-30"
18885
+ className: "plc-w-3 plc-h-3 plc-rounded-full plc-transition-all plc-bg-gray-400 plc-inline-flex plc-cursor-pointer hover:plc-opacity-30"
18882
18886
  }),
18883
18887
  responsive: [{
18884
18888
  breakpoint: 1280,
@@ -19091,7 +19095,7 @@ class SelectModal extends Component {
19091
19095
  }, /*#__PURE__*/React__default.createElement("div", {
19092
19096
  className: "plc-mt-3 plc-mb-6"
19093
19097
  }, product.plans && /*#__PURE__*/React__default.createElement(React__default.Fragment, null, /*#__PURE__*/React__default.createElement("p", {
19094
- className: "plc-mb-2"
19098
+ className: "plc-mb-2 plc-text-sm plc-text-gray-400"
19095
19099
  }, this.locale("labels.startingAt")), this.countStartPrice(product.plans))), isPlanMode || /*#__PURE__*/React__default.createElement(Button, Object.assign({
19096
19100
  onClick: productButtonCallback,
19097
19101
  "data-key": product.id,
@@ -19206,7 +19210,7 @@ class SelectModal extends Component {
19206
19210
  }, /*#__PURE__*/React__default.createElement("h4", {
19207
19211
  className: "pelcro-select-plan-title plc-font-medium plc-text-xl plc-break-all"
19208
19212
  }, plan.nickname), /*#__PURE__*/React__default.createElement("p", {
19209
- className: "plc-text-sm plc-mt-1 pelcro-select-plan-description"
19213
+ className: "plc-text-sm plc-mt-1 pelcro-select-plan-description plc-text-gray-400"
19210
19214
  }, plan.description)), /*#__PURE__*/React__default.createElement("div", {
19211
19215
  className: "plc-mt-auto plc-px-4 plc-mb-4"
19212
19216
  }, /*#__PURE__*/React__default.createElement("div", {
@@ -27581,7 +27585,9 @@ const AddressCreateModal = ({
27581
27585
  onClose: onClose
27582
27586
  }, /*#__PURE__*/React__default.createElement(ModalHeader, null, /*#__PURE__*/React__default.createElement("div", {
27583
27587
  className: "plc-text-center plc-text-gray-900 pelcro-title-wrapper plc-flex-1 plc-flex plc-flex-col plc-justify-center"
27584
- }, /*#__PURE__*/React__default.createElement("h4", null, giftRecipient ? t("titleGifting") : t("title")))), /*#__PURE__*/React__default.createElement(ModalBody, null, /*#__PURE__*/React__default.createElement(AddressCreateView, Object.assign({}, otherProps, {
27588
+ }, /*#__PURE__*/React__default.createElement("h4", {
27589
+ className: "plc-text-2xl plc-font-semibold"
27590
+ }, giftRecipient ? t("titleGifting") : t("title")))), /*#__PURE__*/React__default.createElement(ModalBody, null, /*#__PURE__*/React__default.createElement(AddressCreateView, Object.assign({}, otherProps, {
27585
27591
  onSuccess: onSuccess,
27586
27592
  onGiftRedemptionSuccess: onGiftRedemptionSuccess,
27587
27593
  onMembershipAdressUpdateSuccess: onMembershipAdressUpdateSuccess
@@ -35129,7 +35135,7 @@ const ProfileMenu = props => {
35129
35135
  return /*#__PURE__*/React__default.createElement(Card, {
35130
35136
  id: "pelcro-dashboard-profile-menu",
35131
35137
  className: "plc-max-w-100% md:plc-max-w-80% plc-m-auto",
35132
- title: t("labels.basicData")
35138
+ title: t("labels.profile")
35133
35139
  }, /*#__PURE__*/React__default.createElement(UserUpdateView, {
35134
35140
  onPictureClick: onPictureClick
35135
35141
  }));
@@ -35744,12 +35750,12 @@ class Dashboard extends Component {
35744
35750
  className: "plc-pl-4 plc-mb-2 sm:plc-pl-8"
35745
35751
  }, /*#__PURE__*/React__default.createElement("p", {
35746
35752
  className: "plc-font-bold plc-tracking-widest plc-text-gray-500"
35747
- }, this.locale("labels.profile"))), /*#__PURE__*/React__default.createElement(DashboardLink, {
35753
+ }, this.locale("labels.mySettings"))), /*#__PURE__*/React__default.createElement(DashboardLink, {
35748
35754
  name: SUB_MENUS.PROFILE,
35749
35755
  icon: /*#__PURE__*/React__default.createElement(SvgUser, {
35750
35756
  className: "plc-w-6 plc-h-6 plc-mr-2"
35751
35757
  }),
35752
- title: this.locale("labels.basicData"),
35758
+ title: this.locale("labels.profile"),
35753
35759
  setActiveDashboardLink: this.setActiveDashboardLink,
35754
35760
  activeDashboardLink: this.state.activeDashboardLink
35755
35761
  }), /*#__PURE__*/React__default.createElement(DashboardLink, {
@@ -35765,7 +35771,7 @@ class Dashboard extends Component {
35765
35771
  icon: /*#__PURE__*/React__default.createElement(SvgKey, {
35766
35772
  className: "plc-w-6 plc-h-6 plc-mr-2"
35767
35773
  }),
35768
- title: "Change password",
35774
+ title: this.locale("labels.changePassword"),
35769
35775
  setActiveDashboardLink: this.setActiveDashboardLink,
35770
35776
  activeDashboardLink: this.state.activeDashboardLink
35771
35777
  }), /*#__PURE__*/React__default.createElement(DashboardLink, {
package/dist/pelcro.css CHANGED
@@ -743,7 +743,7 @@ Add the correct display in Chrome and Safari.
743
743
  position: absolute;
744
744
  top: 0px;
745
745
  display: flex;
746
- max-width: 36rem;
746
+ max-width: 32rem;
747
747
  flex-direction: column;
748
748
  align-items: center;
749
749
  overflow: hidden;
@@ -1719,6 +1719,10 @@ Add the correct display in Chrome and Safari.
1719
1719
  height: auto;
1720
1720
  }
1721
1721
 
1722
+ .pelcro-root .paswordlessButton:nth-child(2) {
1723
+ max-width: 50%;
1724
+ }
1725
+
1722
1726
  .pelcro-user-profile-picture:hover {
1723
1727
  filter: brightness(0.8);
1724
1728
  }
@@ -2077,9 +2081,9 @@ in order to scope selectors under pelcro-root
2077
2081
  margin-right: 0.25rem;
2078
2082
  }
2079
2083
 
2080
- .pelcro-root .plc-mx-4 {
2081
- margin-left: 1rem;
2082
- margin-right: 1rem;
2084
+ .pelcro-root .plc-mx-2 {
2085
+ margin-left: 0.5rem;
2086
+ margin-right: 0.5rem;
2083
2087
  }
2084
2088
 
2085
2089
  .pelcro-root .plc-mx-auto {
@@ -2923,6 +2927,11 @@ in order to scope selectors under pelcro-root
2923
2927
  background-color: rgba(209, 213, 219, var(--tw-bg-opacity));
2924
2928
  }
2925
2929
 
2930
+ .pelcro-root .plc-bg-gray-400 {
2931
+ --tw-bg-opacity: 1;
2932
+ background-color: rgba(156, 163, 175, var(--tw-bg-opacity));
2933
+ }
2934
+
2926
2935
  .pelcro-root .plc-bg-gray-500 {
2927
2936
  --tw-bg-opacity: 1;
2928
2937
  background-color: rgba(107, 114, 128, var(--tw-bg-opacity));
@@ -3085,11 +3094,6 @@ in order to scope selectors under pelcro-root
3085
3094
  padding-right: 1rem;
3086
3095
  }
3087
3096
 
3088
- .pelcro-root .plc-px-5 {
3089
- padding-left: 1.25rem;
3090
- padding-right: 1.25rem;
3091
- }
3092
-
3093
3097
  .pelcro-root .plc-px-6 {
3094
3098
  padding-left: 1.5rem;
3095
3099
  padding-right: 1.5rem;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@pelcro/react-pelcro-js",
3
3
  "description": "Pelcro's React UI Elements",
4
- "version": "4.0.0-alpha.30",
4
+ "version": "4.0.0-alpha.32",
5
5
  "license": "MIT",
6
6
  "private": false,
7
7
  "main": "dist/index.cjs.js",