@popmenu/common-ui 0.99.0 → 0.100.0

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.
@@ -31,6 +31,10 @@ export declare type ReducerEvent = {
31
31
  type: 'click-google-continue';
32
32
  } | {
33
33
  type: 'click-sign-up';
34
+ } | {
35
+ type: 'click-email-sign-up';
36
+ } | {
37
+ type: 'click-phone-sign-up';
34
38
  } | {
35
39
  type: 'click-get-code';
36
40
  context: {
package/build/index.es.js CHANGED
@@ -1164,7 +1164,7 @@ var FollowerAuthenticationForm = function () {
1164
1164
  required: signUpPhoneValue ? false : true,
1165
1165
  type: 'email',
1166
1166
  } }),
1167
- React__default.createElement(TextField$1, { disabled: loading, select: true, onChange: checkFieldValidity, label: messages.signUpLocationInputLabel, error: showLocationErrorText, helperText: showLocationErrorText && messages.signUpLocationErrorText, key: "location-input", id: "location-input", inputProps: { required: true }, name: "location" }, locationOptions.map(function (locationOption) { return (React__default.createElement(MenuItem, { key: locationOption.value, value: locationOption.value }, locationOption.label)); })),
1167
+ React__default.createElement(TextField$1, { disabled: loading, select: true, onChange: checkFieldValidity, label: messages.signUpLocationInputLabel, error: showLocationErrorText, helperText: showLocationErrorText && messages.signUpLocationErrorText, key: "location-input", id: "location-input", inputProps: { required: true }, name: "location" }, locationOptions.map(function (locationOption) { return (React__default.createElement(MenuItem, { "data-cy": 'option', key: locationOption.value, value: locationOption.value }, locationOption.label)); })),
1168
1168
  React__default.createElement(Typography$1, { style: { alignSelf: 'start' } }, messages.signUpBirthdaySectionLabel),
1169
1169
  React__default.createElement(TextField$1, { disabled: loading, label: messages.signUpMonthInputLabel, key: "birthday-month-input", id: "birthday-month-input", name: "birthdayMonth" }),
1170
1170
  React__default.createElement(TextField$1, { disabled: loading, label: messages.signUpDayInputLabel, key: "birthday-date-input", id: "birthday-date-input", name: "birthdayDate" }),
@@ -1267,7 +1267,7 @@ var FollowerAuthenticationAltActions = function () {
1267
1267
  } }, messages.phoneFoundCtaButtonLabel)));
1268
1268
  case 'welcome':
1269
1269
  return (React__default.createElement(Button$1, { onClick: function () {
1270
- dispatch({ type: 'click-sign-up' });
1270
+ dispatch({ type: 'click-done' });
1271
1271
  } }, messages.done));
1272
1272
  default:
1273
1273
  return null;
package/build/index.js CHANGED
@@ -1231,7 +1231,7 @@ var FollowerAuthenticationForm = function () {
1231
1231
  required: signUpPhoneValue ? false : true,
1232
1232
  type: 'email',
1233
1233
  } }),
1234
- React__default['default'].createElement(core.TextField, { disabled: loading, select: true, onChange: checkFieldValidity, label: messages.signUpLocationInputLabel, error: showLocationErrorText, helperText: showLocationErrorText && messages.signUpLocationErrorText, key: "location-input", id: "location-input", inputProps: { required: true }, name: "location" }, locationOptions.map(function (locationOption) { return (React__default['default'].createElement(core.MenuItem, { key: locationOption.value, value: locationOption.value }, locationOption.label)); })),
1234
+ React__default['default'].createElement(core.TextField, { disabled: loading, select: true, onChange: checkFieldValidity, label: messages.signUpLocationInputLabel, error: showLocationErrorText, helperText: showLocationErrorText && messages.signUpLocationErrorText, key: "location-input", id: "location-input", inputProps: { required: true }, name: "location" }, locationOptions.map(function (locationOption) { return (React__default['default'].createElement(core.MenuItem, { "data-cy": 'option', key: locationOption.value, value: locationOption.value }, locationOption.label)); })),
1235
1235
  React__default['default'].createElement(core.Typography, { style: { alignSelf: 'start' } }, messages.signUpBirthdaySectionLabel),
1236
1236
  React__default['default'].createElement(core.TextField, { disabled: loading, label: messages.signUpMonthInputLabel, key: "birthday-month-input", id: "birthday-month-input", name: "birthdayMonth" }),
1237
1237
  React__default['default'].createElement(core.TextField, { disabled: loading, label: messages.signUpDayInputLabel, key: "birthday-date-input", id: "birthday-date-input", name: "birthdayDate" }),
@@ -1334,7 +1334,7 @@ var FollowerAuthenticationAltActions = function () {
1334
1334
  } }, messages.phoneFoundCtaButtonLabel)));
1335
1335
  case 'welcome':
1336
1336
  return (React__default['default'].createElement(core.Button, { onClick: function () {
1337
- dispatch({ type: 'click-sign-up' });
1337
+ dispatch({ type: 'click-done' });
1338
1338
  } }, messages.done));
1339
1339
  default:
1340
1340
  return null;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@popmenu/common-ui",
3
- "version": "0.99.0",
3
+ "version": "0.100.0",
4
4
  "license": "MIT",
5
5
  "author": "Popmenu Design System Team",
6
6
  "description": "React components for all Popmenu apps on the web.",
@@ -30,5 +30,5 @@
30
30
  "@types/classnames": "^2.3.1"
31
31
  },
32
32
  "sideEffects": false,
33
- "gitHead": "fb99bf3867d72a45fec6a0d85bd9072ac4d95858"
33
+ "gitHead": "5b88e8e25a742b67f45fa6de5e843a4d2dbf838d"
34
34
  }