oolib 2.27.3 → 2.27.4
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.
|
@@ -1 +1,17 @@
|
|
|
1
|
-
export function OKELink(
|
|
1
|
+
export function OKELink({ to: _to, link, onClick, icon, iconAfter, text, children, invertUnderline, color, invert, disabled, className, style, avatar, iconSize, }: {
|
|
2
|
+
to: any;
|
|
3
|
+
link: any;
|
|
4
|
+
onClick: any;
|
|
5
|
+
icon: any;
|
|
6
|
+
iconAfter: any;
|
|
7
|
+
text: any;
|
|
8
|
+
children: any;
|
|
9
|
+
invertUnderline: any;
|
|
10
|
+
color: any;
|
|
11
|
+
invert: any;
|
|
12
|
+
disabled: any;
|
|
13
|
+
className: any;
|
|
14
|
+
style: any;
|
|
15
|
+
avatar: any;
|
|
16
|
+
iconSize: any;
|
|
17
|
+
}): any;
|
|
@@ -45,11 +45,11 @@ var styled_components_1 = require("styled-components");
|
|
|
45
45
|
var themes_1 = require("../../themes");
|
|
46
46
|
var injectHttps_1 = require("../../utils/injectHttps");
|
|
47
47
|
var comps_1 = require("../../utils/comps");
|
|
48
|
-
var OKELink = function (
|
|
49
|
-
var _to =
|
|
50
|
-
onClick =
|
|
48
|
+
var OKELink = function (_a) {
|
|
49
|
+
var _to = _a.to, link = _a.link, //link is deprecated. use to instead
|
|
50
|
+
onClick = _a.onClick, icon = _a.icon, iconAfter = _a.iconAfter, text = _a.text, children = _a.children, invertUnderline = _a.invertUnderline, color = _a.color, invert = _a.invert, disabled = _a.disabled, className = _a.className, style = _a.style, avatar = _a.avatar, // imageData // [ {...} ] OR {...}
|
|
51
51
|
//imageSize ??
|
|
52
|
-
iconSize =
|
|
52
|
+
iconSize = _a.iconSize;
|
|
53
53
|
var to = link || _to;
|
|
54
54
|
var theme = (0, styled_components_1.useTheme)();
|
|
55
55
|
var localize = (0, utilsOolib_1.useLocale)();
|
package/dist/icons/index.d.ts
CHANGED
|
@@ -11,6 +11,7 @@ export namespace icons {
|
|
|
11
11
|
export { DownloadSimple };
|
|
12
12
|
export { ArrowLineUpRight };
|
|
13
13
|
export { User };
|
|
14
|
+
export { UserCirclePlus };
|
|
14
15
|
export { MapPinLine };
|
|
15
16
|
export { WarningCircle };
|
|
16
17
|
export { Paperclip };
|
|
@@ -108,6 +109,7 @@ import { XSquare } from "phosphor-react";
|
|
|
108
109
|
import { DownloadSimple } from "phosphor-react";
|
|
109
110
|
import { ArrowLineUpRight } from "phosphor-react";
|
|
110
111
|
import { User } from "phosphor-react";
|
|
112
|
+
import { UserCirclePlus } from "phosphor-react";
|
|
111
113
|
import { MapPinLine } from "phosphor-react";
|
|
112
114
|
import { WarningCircle } from "phosphor-react";
|
|
113
115
|
import { Paperclip } from "phosphor-react";
|
package/dist/icons/index.js
CHANGED
|
@@ -16,6 +16,7 @@ exports.icons = {
|
|
|
16
16
|
DownloadSimple: phosphor_react_1.DownloadSimple,
|
|
17
17
|
ArrowLineUpRight: phosphor_react_1.ArrowLineUpRight,
|
|
18
18
|
User: phosphor_react_1.User,
|
|
19
|
+
UserCirclePlus: phosphor_react_1.UserCirclePlus,
|
|
19
20
|
MapPinLine: phosphor_react_1.MapPinLine,
|
|
20
21
|
WarningCircle: phosphor_react_1.WarningCircle,
|
|
21
22
|
Paperclip: phosphor_react_1.Paperclip,
|
package/dist/index.d.ts
CHANGED
|
@@ -27,5 +27,5 @@ export { SkeletonLoader } from "./components/LoadersAndProgress/SkeletonLoader";
|
|
|
27
27
|
export { ModalConfirm } from "./components/Modals/derivedComps/ModalConfirm";
|
|
28
28
|
export { ModalLarge } from "./components/Modals/ModalLarge";
|
|
29
29
|
export { ModalSmall } from "./components/Modals/ModalSmall";
|
|
30
|
-
export {
|
|
30
|
+
export { HintsProvider } from "./components/Hints/contextApi";
|
|
31
31
|
export { LoaderCircle, ProgressBar, LoaderCircle as Loader } from "./components/LoadersAndProgress";
|
package/dist/index.js
CHANGED
|
@@ -14,7 +14,7 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
14
14
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
15
|
};
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
-
exports.
|
|
17
|
+
exports.HintsProvider = exports.ModalSmall = exports.ModalLarge = exports.ModalConfirm = exports.SkeletonLoader = exports.Divider = exports.PercentCompletedPie = exports.ActionMenu = exports.Tooltip = exports.OKELink = exports.UserRoleBadge = exports.Section = exports.Loader = exports.ProgressBar = exports.LoaderCircle = exports.icons = exports.colors = exports.GlobalStyles = void 0;
|
|
18
18
|
//css and styling related ( styled-components )
|
|
19
19
|
var globalStyles_1 = require("./globalStyles");
|
|
20
20
|
Object.defineProperty(exports, "GlobalStyles", { enumerable: true, get: function () { return globalStyles_1.GlobalStyles; } });
|
|
@@ -67,7 +67,7 @@ var ModalSmall_1 = require("./components/Modals/ModalSmall");
|
|
|
67
67
|
Object.defineProperty(exports, "ModalSmall", { enumerable: true, get: function () { return ModalSmall_1.ModalSmall; } });
|
|
68
68
|
// context
|
|
69
69
|
var contextApi_1 = require("./components/Hints/contextApi");
|
|
70
|
-
Object.defineProperty(exports, "
|
|
70
|
+
Object.defineProperty(exports, "HintsProvider", { enumerable: true, get: function () { return contextApi_1.HintsProvider; } });
|
|
71
71
|
// export this
|
|
72
72
|
//utility functions
|
|
73
73
|
__exportStar(require("./utils/_EXPORTS"), exports);
|