oolib 2.2.2 → 2.2.3

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.
@@ -42,11 +42,11 @@ var DisplayIcon = function (_a) {
42
42
  };
43
43
  var ButtonStyledWrapper = function (_a) {
44
44
  var props = _a.props, variant = _a.variant;
45
- var id = props.id, link = props.link, children = props.children, value = props.value, submit = props.submit, icon = props.icon, onClick = props.onClick, active = props.active, S = props.S, disabled = props.disabled, invert = props.invert, theme = props.theme, width = props.width, onMouseEnter = props.onMouseEnter, onMouseLeave = props.onMouseLeave, color = props.color, style = props.style, className = props.className;
45
+ var id = props.id, link = props.link, children = props.children, value = props.value, submit = props.submit, icon = props.icon, onClick = props.onClick, onMouseDown = props.onMouseDown, active = props.active, S = props.S, disabled = props.disabled, invert = props.invert, theme = props.theme, width = props.width, onMouseEnter = props.onMouseEnter, onMouseLeave = props.onMouseLeave, color = props.color, style = props.style, className = props.className;
46
46
  var displayText = (link === null || link === void 0 ? void 0 : link.displayText) || children || value;
47
47
  var size = (S && "S") || 'M';
48
48
  var composition = icon && displayText ? 'icon+text' : !displayText && 'iconOnly';
49
- return (react_1.default.createElement(index_styled_1.ButtonStyled, { id: id, style: style, className: className, variant: variant, size: size, active: active, invert: invert, disabled: disabled, theme: theme, onMouseEnter: onMouseEnter, onMouseLeave: onMouseLeave, type: submit ? 'submit' : 'button', onClick: onClick, composition: composition, width: width, color: color },
49
+ return (react_1.default.createElement(index_styled_1.ButtonStyled, { id: id, style: style, className: className, variant: variant, size: size, active: active, invert: invert, disabled: disabled, theme: theme, onMouseEnter: onMouseEnter, onMouseLeave: onMouseLeave, type: submit ? 'submit' : 'button', onClick: onClick, onMouseDown: onMouseDown, composition: composition, width: width, color: color },
50
50
  icon && react_1.default.createElement(DisplayIcon, { icon: icon, size: S ? 15 : 20 }),
51
51
  displayText && react_1.default.createElement(Typo_1.SANS_3, { semibold: true }, displayText)));
52
52
  };
@@ -80,7 +80,7 @@ var UploadButton = function (props) {
80
80
  exports.UploadButton = UploadButton;
81
81
  var GoogleLogin = function (props) {
82
82
  var theme = props.theme, S = props.S, disabled = props.disabled, width = props.width, className = props.className, style = props.style, value = props.value, children = props.children;
83
- var displayText = value || children || "Sign up with Google";
83
+ var displayText = value || children || 'Sign up with Google';
84
84
  var size = (S && "S") || 'M';
85
85
  return (react_1.default.createElement(index_styled_1.ButtonStyled, { size: size, disabled: disabled, width: width, onClick: function () { return window.open('/api/OAuth/google', '_self'); }, variant: "googleAuth", theme: theme, style: style, className: className },
86
86
  react_1.default.createElement(DisplayIcon, { icon: 'OkeGoogleIcon', size: 24 }),
@@ -35,6 +35,8 @@ export namespace colors {
35
35
  export { primaryColor100 };
36
36
  export { primaryColor40 };
37
37
  export { primaryColorText };
38
+ export { cyan };
39
+ export { lightPink };
38
40
  }
39
41
  declare const none: "rgba(0,0,0,0)";
40
42
  declare const white: "#fff";
@@ -72,4 +74,6 @@ declare const primaryColor10: "#ebf6ff";
72
74
  declare const primaryColor100: "#33A4FF";
73
75
  declare const primaryColor40: "#addbff";
74
76
  declare const primaryColorText: "#0071CC";
77
+ declare const cyan: "#B5F2FA";
78
+ declare const lightPink: "#FFE5F2";
75
79
  export {};
@@ -17,6 +17,8 @@ var lightYellow = '#FFFAE6';
17
17
  var green = '#08A84B';
18
18
  var lightGreen = '#E6F6ED';
19
19
  var invertGreen = '#8AE5B0';
20
+ var cyan = '#B5F2FA';
21
+ var lightPink = '#FFE5F2';
20
22
  var blue = '#33A4FF';
21
23
  var lightBlue = '#EBF6FF';
22
24
  var black = '#000';
@@ -74,4 +76,6 @@ exports.colors = {
74
76
  primaryColor100: primaryColor100,
75
77
  primaryColor40: primaryColor40,
76
78
  primaryColorText: primaryColorText,
79
+ cyan: cyan,
80
+ lightPink: lightPink
77
81
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "oolib",
3
- "version": "2.2.2",
3
+ "version": "2.2.3",
4
4
  "description": " OKE Component Library",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",