oolib 2.21.1 → 2.21.2

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.
@@ -48,7 +48,7 @@ var DisplayIcon = function (_a) {
48
48
  };
49
49
  var ButtonStyledWrapper = function (_a) {
50
50
  var props = _a.props, variant = _a.variant;
51
- var id = props.id, link = props.link, children = props.children, value = props.value, submit = props.submit, icon = props.icon, iconAfter = props.iconAfter, onClick = props.onClick, onMouseDown = props.onMouseDown, active = props.active, 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, S = props.S, M = props.M, iconSize = props.iconSize, stopPropagation = props.stopPropagation;
51
+ var id = props.id, link = props.link, children = props.children, value = props.value, submit = props.submit, icon = props.icon, iconAfter = props.iconAfter, onClick = props.onClick, onMouseDown = props.onMouseDown, active = props.active, 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, S = props.S, M = props.M, iconSize = props.iconSize, iconColor = props.iconColor, stopPropagation = props.stopPropagation;
52
52
  /**
53
53
  * WHY WE ARE HAVING TO DO STOP PROPAGATION IN THIS TWISTED WAY:
54
54
  *
@@ -96,9 +96,9 @@ var ButtonStyledWrapper = function (_a) {
96
96
  stopPropagation && e.stopPropagation();
97
97
  debouncedMouseDown && debouncedMouseDown(e);
98
98
  }, composition: composition, width: width, color: color },
99
- icon && react_1.default.createElement(DisplayIcon, { icon: icon, size: calcIconSize() }),
99
+ icon && react_1.default.createElement(DisplayIcon, { icon: icon, color: iconColor, size: calcIconSize() }),
100
100
  displayText && react_1.default.createElement(Typo_1.SANS_3, { semibold: true }, displayText),
101
- iconAfter && react_1.default.createElement(DisplayIcon, { icon: iconAfter, size: calcIconSize() })));
101
+ iconAfter && react_1.default.createElement(DisplayIcon, { icon: iconAfter, color: iconColor, size: calcIconSize() })));
102
102
  };
103
103
  var Button = function (_a) {
104
104
  var props = _a.props, variant = _a.variant;
@@ -80,6 +80,7 @@ export namespace icons {
80
80
  export { File };
81
81
  export { FolderSimple };
82
82
  export { FolderSimpleStar };
83
+ export { LinkSimple };
83
84
  export { OkeGoogleIcon };
84
85
  export { LetterH };
85
86
  export { IndexIcon };
@@ -172,6 +173,7 @@ import { MicrophoneStage } from "phosphor-react";
172
173
  import { File } from "phosphor-react";
173
174
  import { FolderSimple } from "phosphor-react";
174
175
  import { FolderSimpleStar } from "phosphor-react";
176
+ import { LinkSimple } from "phosphor-react";
175
177
  import { OkeGoogleIcon } from "./custom";
176
178
  import { LetterH } from "./custom";
177
179
  import { IndexIcon } from "./custom";
@@ -85,6 +85,7 @@ exports.icons = {
85
85
  File: phosphor_react_1.File,
86
86
  FolderSimple: phosphor_react_1.FolderSimple,
87
87
  FolderSimpleStar: phosphor_react_1.FolderSimpleStar,
88
+ LinkSimple: phosphor_react_1.LinkSimple,
88
89
  OkeGoogleIcon: custom_1.OkeGoogleIcon,
89
90
  LetterH: custom_1.LetterH,
90
91
  IndexIcon: custom_1.IndexIcon,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "oolib",
3
- "version": "2.21.1",
3
+ "version": "2.21.2",
4
4
  "description": " OKE Component Library",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",