techsbcn-storybook 0.7.6 → 0.8.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.
@@ -10,9 +10,9 @@ interface ChangePasswordFormProps {
10
10
  };
11
11
  valuesText: {
12
12
  buttonText: string;
13
- textPassword: string;
13
+ labelPassword: string;
14
14
  placeholderPassword?: string;
15
- textSamePassword: string;
15
+ labelSamePassword: string;
16
16
  placeholderSamePassword?: string;
17
17
  };
18
18
  }
@@ -10,9 +10,9 @@ interface LoginFormProps {
10
10
  };
11
11
  valuesText: {
12
12
  buttonText: string;
13
- textLogin: string;
13
+ labelLogin: string;
14
14
  placeholderLogin?: string;
15
- textPassword: string;
15
+ labelPassword: string;
16
16
  placeholderPassword?: string;
17
17
  };
18
18
  }
@@ -9,7 +9,7 @@ interface resetPasswordFormProps {
9
9
  };
10
10
  valuesText: {
11
11
  buttonText: string;
12
- text: string;
12
+ label: string;
13
13
  placeholder?: string;
14
14
  };
15
15
  }
@@ -776,7 +776,7 @@ var UserInfo = function UserInfo(props) {
776
776
  }, React__default.createElement(material.Box, {
777
777
  display: "flex",
778
778
  alignItems: "center"
779
- }, props.photoURL ? React__default.createElement(material.Avatar, {
779
+ }, props.photoURL && props.photoURL !== undefined ? React__default.createElement(material.Avatar, {
780
780
  className: "avatar-user",
781
781
  src: props.photoURL
782
782
  }) : React__default.createElement(material.Avatar, {
@@ -893,7 +893,7 @@ var DrawerSidebar = function DrawerSidebar(props) {
893
893
  }, props.footerComponents))));
894
894
  };
895
895
 
896
- var css_248z$9 = ".app-bar {\n background-color: white !important;\n border-bottom: 1px solid rgba(0, 0, 0, 0.12);\n color: black !important;\n}\n.app-bar .header-logo {\n max-height: 64px;\n height: 100%;\n min-height: 56px;\n width: 100%;\n}\n.app-bar img {\n max-height: 64px;\n height: 100%;\n min-height: 56px;\n width: 100%;\n}";
896
+ var css_248z$9 = ".app-bar {\n background-color: white !important;\n border-bottom: 1px solid rgba(0, 0, 0, 0.12);\n color: black !important;\n}\n.app-bar .header-logo {\n max-height: 59px;\n height: 100%;\n min-height: 56px;\n width: 100%;\n}\n.app-bar img {\n max-height: 59px;\n height: 100%;\n min-height: 56px;\n width: 100%;\n}";
897
897
  styleInject(css_248z$9);
898
898
 
899
899
  var AppHeader = function AppHeader(props) {
@@ -1964,7 +1964,7 @@ var LoginForm = function LoginForm(props) {
1964
1964
  name = _ref$field.name,
1965
1965
  ref = _ref$field.ref;
1966
1966
  return React__default.createElement(TextFieldComponent, {
1967
- label: props.valuesText.textLogin,
1967
+ label: props.valuesText.labelLogin,
1968
1968
  placeholder: props.valuesText.placeholderLogin,
1969
1969
  autoComplete: "login",
1970
1970
  error: !!errors.login,
@@ -1989,7 +1989,7 @@ var LoginForm = function LoginForm(props) {
1989
1989
  name = _ref2$field.name,
1990
1990
  ref = _ref2$field.ref;
1991
1991
  return React__default.createElement(TextFieldComponent, {
1992
- label: props.valuesText.textPassword,
1992
+ label: props.valuesText.labelPassword,
1993
1993
  placeholder: props.valuesText.placeholderPassword,
1994
1994
  type: showPassword ? 'text' : 'password',
1995
1995
  error: !!errors.password,
@@ -2066,7 +2066,7 @@ var ChangePasswordForm = function ChangePasswordForm(props) {
2066
2066
  name = _ref$field.name,
2067
2067
  ref = _ref$field.ref;
2068
2068
  return React__default.createElement(TextFieldComponent, {
2069
- label: props.valuesText.textPassword,
2069
+ label: props.valuesText.labelPassword,
2070
2070
  type: showPassword ? 'text' : 'password',
2071
2071
  error: !!errors.password,
2072
2072
  placeholder: props.valuesText.placeholderPassword,
@@ -2097,7 +2097,7 @@ var ChangePasswordForm = function ChangePasswordForm(props) {
2097
2097
  name = _ref2$field.name,
2098
2098
  ref = _ref2$field.ref;
2099
2099
  return React__default.createElement(TextFieldComponent, {
2100
- label: props.valuesText.textSamePassword,
2100
+ label: props.valuesText.labelSamePassword,
2101
2101
  placeholder: props.valuesText.placeholderSamePassword,
2102
2102
  type: showPassword ? 'text' : 'password',
2103
2103
  error: !!errors.passwordConfirmation,
@@ -2157,7 +2157,7 @@ var ResetPasswordForm = function ResetPasswordForm(props) {
2157
2157
  name = _ref$field.name,
2158
2158
  ref = _ref$field.ref;
2159
2159
  return React__default.createElement(TextFieldComponent, {
2160
- label: props.valuesText.text,
2160
+ label: props.valuesText.label,
2161
2161
  placeholder: props.valuesText.placeholder,
2162
2162
  autoComplete: "email",
2163
2163
  error: !!errors.email,