@linzjs/lui 15.1.5 → 15.1.8
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.
- package/CHANGELOG.md +21 -0
- package/dist/assets/icons/cancel_clear.svg +1 -0
- package/dist/assets/icons/file_attached_outline.svg +1 -1
- package/dist/assets/icons/launch_modal.svg +1 -0
- package/dist/assets/svg-content.tsx +13 -1
- package/dist/components/LuiBadge/LuiBadge.d.ts +1 -0
- package/dist/components/LuiHeaderGlobal/LuiHeaderGlobal.d.ts +3 -1
- package/dist/components/LuiHeaderGlobal/LuiHeaderGlobalPublic.d.ts +6 -0
- package/dist/components/LuiMenuTrigger/LuiMenuTrigger.d.ts +5 -0
- package/dist/index.js +71 -38
- package/dist/index.js.map +1 -1
- package/dist/lui.css +97 -14
- package/dist/lui.css.map +1 -1
- package/dist/lui.esm.js +71 -38
- package/dist/lui.esm.js.map +1 -1
- package/dist/scss/Components/LuiHeaderGlobal/LuiHeaderGlobal.scss +14 -3
- package/dist/scss/Components/LuiIcon/LuiIcons.scss +2 -2
- package/dist/scss/Components/LuiMenuTrigger/LuiMenuTrigger.scss +128 -0
- package/dist/scss/Elements/LuiButtons/LuiButton.scss +9 -0
- package/dist/scss/base.scss +3 -0
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,24 @@
|
|
|
1
|
+
## [15.1.8](https://github.com/linz/lui/compare/v15.1.7...v15.1.8) (2022-03-09)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Bug Fixes
|
|
5
|
+
|
|
6
|
+
* Adds bits of the global header without tests ([#612](https://github.com/linz/lui/issues/612)) ([4f3a944](https://github.com/linz/lui/commit/4f3a94434c0929ec746382f2fdb51a674256fe3d))
|
|
7
|
+
|
|
8
|
+
## [15.1.7](https://github.com/linz/lui/compare/v15.1.6...v15.1.7) (2022-03-08)
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
### Bug Fixes
|
|
12
|
+
|
|
13
|
+
* LuiIcon export 090322 ([#611](https://github.com/linz/lui/issues/611)) ([9078d93](https://github.com/linz/lui/commit/9078d93abf5ae7aa87b7c68f01afd22b205ce1b2))
|
|
14
|
+
|
|
15
|
+
## [15.1.6](https://github.com/linz/lui/compare/v15.1.5...v15.1.6) (2022-03-08)
|
|
16
|
+
|
|
17
|
+
|
|
18
|
+
### Bug Fixes
|
|
19
|
+
|
|
20
|
+
* Make consumer aware where log is coming from ([#606](https://github.com/linz/lui/issues/606)) ([c0a0baa](https://github.com/linz/lui/commit/c0a0baa75d2aec45e4072d1ebb0f9e4f80fceb47))
|
|
21
|
+
|
|
1
22
|
## [15.1.5](https://github.com/linz/lui/compare/v15.1.4...v15.1.5) (2022-03-04)
|
|
2
23
|
|
|
3
24
|
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<svg width="24" height="24" fill="none" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M12 2C6.47 2 2 6.47 2 12s4.47 10 10 10 10-4.47 10-10S17.53 2 12 2Zm4.3 14.3a.996.996 0 0 1-1.41 0L12 13.41 9.11 16.3a.996.996 0 1 1-1.41-1.41L10.59 12 7.7 9.11A.996.996 0 1 1 9.11 7.7L12 10.59l2.89-2.89a.996.996 0 1 1 1.41 1.41L13.41 12l2.89 2.89c.38.38.38 1.02 0 1.41Z" fill="#000"/></svg>
|
|
@@ -1 +1 @@
|
|
|
1
|
-
<svg width="24" height="24" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M14 2H6c-1.1 0-1.99.9-1.99 2L4 20c0 1.1.89 2 1.99 2H18c1.1 0 2-.9 2-2V8l-6-6ZM6 20V4h7v5h5v11H6Z" fill="#2A292C"/></svg>
|
|
1
|
+
<svg width="24" height="24" fill="none" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M14 2H6c-1.1 0-1.99.9-1.99 2L4 20c0 1.1.89 2 1.99 2H18c1.1 0 2-.9 2-2V8l-6-6ZM6 20V4h7v5h5v11H6Z" fill="#2A292C"/></svg>
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<svg width="24" height="24" fill="none" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path fill-rule="evenodd" clip-rule="evenodd" d="M12 2.313c-5.523 0-10 4.478-10 10 0 5.523 4.477 10 10 10s10-4.477 10-10c0-5.522-4.477-10-10-10Zm2.928 8.376L9.52 16.095a.696.696 0 0 1-.981-.013.696.696 0 0 1-.013-.98l5.407-5.408-4.788-.063a.713.713 0 0 1-.7-.7.67.67 0 0 1 .682-.683l6.465.085a.713.713 0 0 1 .7.701l.086 6.465a.67.67 0 0 1-.682.683.722.722 0 0 1-.706-.706l-.063-4.787Z" fill="#000"/></svg>
|
|
@@ -130,6 +130,12 @@ iconMap['ic_border_color'] = (
|
|
|
130
130
|
</svg>
|
|
131
131
|
);
|
|
132
132
|
|
|
133
|
+
iconMap['ic_cancel_clear'] = (
|
|
134
|
+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">
|
|
135
|
+
<path d="M12 2C6.47 2 2 6.47 2 12s4.47 10 10 10 10-4.47 10-10S17.53 2 12 2Zm4.3 14.3a.996.996 0 0 1-1.41 0L12 13.41 9.11 16.3a.996.996 0 1 1-1.41-1.41L10.59 12 7.7 9.11A.996.996 0 1 1 9.11 7.7L12 10.59l2.89-2.89a.996.996 0 1 1 1.41 1.41L13.41 12l2.89 2.89c.38.38.38 1.02 0 1.41Z" />
|
|
136
|
+
</svg>
|
|
137
|
+
);
|
|
138
|
+
|
|
133
139
|
iconMap['ic_change_password'] = (
|
|
134
140
|
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">
|
|
135
141
|
<path d="M12.65 10a5.998 5.998 0 0 0-6.88-3.88c-2.29.46-4.15 2.29-4.63 4.58A6.006 6.006 0 0 0 7 18a5.99 5.99 0 0 0 5.65-4H17v2c0 1.1.9 2 2 2s2-.9 2-2v-2c1.1 0 2-.9 2-2s-.9-2-2-2h-8.35ZM7 14c-1.1 0-2-.9-2-2s.9-2 2-2 2 .9 2 2-.9 2-2 2Z" />
|
|
@@ -253,7 +259,7 @@ iconMap['ic_feedback_lightbulb'] = (
|
|
|
253
259
|
);
|
|
254
260
|
|
|
255
261
|
iconMap['ic_file_attached_outline'] = (
|
|
256
|
-
<svg xmlns="http://www.w3.org/2000/svg">
|
|
262
|
+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">
|
|
257
263
|
<path d="M14 2H6c-1.1 0-1.99.9-1.99 2L4 20c0 1.1.89 2 1.99 2H18c1.1 0 2-.9 2-2V8l-6-6ZM6 20V4h7v5h5v11H6Z" />
|
|
258
264
|
</svg>
|
|
259
265
|
);
|
|
@@ -348,6 +354,12 @@ iconMap['ic_keyboard_arrow_up'] = (
|
|
|
348
354
|
</svg>
|
|
349
355
|
);
|
|
350
356
|
|
|
357
|
+
iconMap['ic_launch_modal'] = (
|
|
358
|
+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">
|
|
359
|
+
<path d="M12 2.313c-5.523 0-10 4.478-10 10 0 5.523 4.477 10 10 10s10-4.477 10-10c0-5.522-4.477-10-10-10Zm2.928 8.376L9.52 16.095a.696.696 0 0 1-.981-.013.696.696 0 0 1-.013-.98l5.407-5.408-4.788-.063a.713.713 0 0 1-.7-.7.67.67 0 0 1 .682-.683l6.465.085a.713.713 0 0 1 .7.701l.086 6.465a.67.67 0 0 1-.682.683.722.722 0 0 1-.706-.706l-.063-4.787Z" />
|
|
360
|
+
</svg>
|
|
361
|
+
);
|
|
362
|
+
|
|
351
363
|
iconMap['ic_launch_new window_open'] = (
|
|
352
364
|
<svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg">
|
|
353
365
|
<path d="M18 19H6c-.55 0-1-.45-1-1V6c0-.55.45-1 1-1h5c.55 0 1-.45 1-1s-.45-1-1-1H5a2 2 0 0 0-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2v-6c0-.55-.45-1-1-1s-1 .45-1 1v5c0 .55-.45 1-1 1ZM14 4c0 .55.45 1 1 1h2.59l-9.13 9.13a.996.996 0 1 0 1.41 1.41L19 6.41V9c0 .55.45 1 1 1s1-.45 1-1V3h-6c-.55 0-1 .45-1 1Z" />
|
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
export interface ILuiHeaderGlobal {
|
|
3
3
|
children?: React.ReactNode;
|
|
4
|
+
isPublic?: boolean;
|
|
5
|
+
mainTitle: string;
|
|
4
6
|
}
|
|
5
|
-
export declare const LuiHeaderGlobal: () => JSX.Element;
|
|
7
|
+
export declare const LuiHeaderGlobal: ({ isPublic, mainTitle }: ILuiHeaderGlobal) => JSX.Element;
|
package/dist/index.js
CHANGED
|
@@ -537,6 +537,8 @@ iconMap['ic_blocked'] = (React__default["default"].createElement("svg", { xmlns:
|
|
|
537
537
|
React__default["default"].createElement("path", { d: "M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2ZM4 12c0-4.42 3.58-8 8-8 1.85 0 3.55.63 4.9 1.69L5.69 16.9A7.902 7.902 0 0 1 4 12Zm8 8c-1.85 0-3.55-.63-4.9-1.69L18.31 7.1A7.902 7.902 0 0 1 20 12c0 4.42-3.58 8-8 8Z" })));
|
|
538
538
|
iconMap['ic_border_color'] = (React__default["default"].createElement("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24" },
|
|
539
539
|
React__default["default"].createElement("path", { d: "M0 20.016h24V24H0v-3.984zM20.719 4.031 18.75 6 15 2.25 16.969.281Q17.25 0 17.672 0t.703.281l2.344 2.344q.281.281.281.703t-.281.703zm-2.953 2.953L7.735 17.015h-3.75v-3.75L14.016 3.234z" })));
|
|
540
|
+
iconMap['ic_cancel_clear'] = (React__default["default"].createElement("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24" },
|
|
541
|
+
React__default["default"].createElement("path", { d: "M12 2C6.47 2 2 6.47 2 12s4.47 10 10 10 10-4.47 10-10S17.53 2 12 2Zm4.3 14.3a.996.996 0 0 1-1.41 0L12 13.41 9.11 16.3a.996.996 0 1 1-1.41-1.41L10.59 12 7.7 9.11A.996.996 0 1 1 9.11 7.7L12 10.59l2.89-2.89a.996.996 0 1 1 1.41 1.41L13.41 12l2.89 2.89c.38.38.38 1.02 0 1.41Z" })));
|
|
540
542
|
iconMap['ic_change_password'] = (React__default["default"].createElement("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24" },
|
|
541
543
|
React__default["default"].createElement("path", { d: "M12.65 10a5.998 5.998 0 0 0-6.88-3.88c-2.29.46-4.15 2.29-4.63 4.58A6.006 6.006 0 0 0 7 18a5.99 5.99 0 0 0 5.65-4H17v2c0 1.1.9 2 2 2s2-.9 2-2v-2c1.1 0 2-.9 2-2s-.9-2-2-2h-8.35ZM7 14c-1.1 0-2-.9-2-2s.9-2 2-2 2 .9 2 2-.9 2-2 2Z" })));
|
|
542
544
|
iconMap['ic_check'] = (React__default["default"].createElement("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24" },
|
|
@@ -579,7 +581,7 @@ iconMap['ic_expand_more'] = (React__default["default"].createElement("svg", { xm
|
|
|
579
581
|
React__default["default"].createElement("path", { d: "M16.594 8.297 18 9.703l-6 6-6-6 1.406-1.406L12 12.891z" })));
|
|
580
582
|
iconMap['ic_feedback_lightbulb'] = (React__default["default"].createElement("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24" },
|
|
581
583
|
React__default["default"].createElement("path", { d: "M12 22c1.1 0 2-.9 2-2h-4c0 1.1.9 2 2 2Zm-3-3h6c.55 0 1-.45 1-1s-.45-1-1-1H9c-.55 0-1 .45-1 1s.45 1 1 1Zm3-17C7.86 2 4.5 5.36 4.5 9.5c0 3.82 2.66 5.86 3.77 6.5h7.46c1.11-.64 3.77-2.68 3.77-6.5C19.5 5.36 16.14 2 12 2Z" })));
|
|
582
|
-
iconMap['ic_file_attached_outline'] = (React__default["default"].createElement("svg", { xmlns: "http://www.w3.org/2000/svg" },
|
|
584
|
+
iconMap['ic_file_attached_outline'] = (React__default["default"].createElement("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24" },
|
|
583
585
|
React__default["default"].createElement("path", { d: "M14 2H6c-1.1 0-1.99.9-1.99 2L4 20c0 1.1.89 2 1.99 2H18c1.1 0 2-.9 2-2V8l-6-6ZM6 20V4h7v5h5v11H6Z" })));
|
|
584
586
|
iconMap['ic_filter_list'] = (React__default["default"].createElement("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24" },
|
|
585
587
|
React__default["default"].createElement("path", { d: "M6 12.984v-1.969h12v1.969H6zM3 6h18v2.016H3V6zm6.984 12v-2.016h4.031V18H9.984z" })));
|
|
@@ -611,6 +613,8 @@ iconMap['ic_keyboard_arrow_right'] = (React__default["default"].createElement("s
|
|
|
611
613
|
React__default["default"].createElement("path", { d: "M8.297 16.594 12.891 12 8.297 7.406 9.703 6l6 6-6 6z" })));
|
|
612
614
|
iconMap['ic_keyboard_arrow_up'] = (React__default["default"].createElement("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24" },
|
|
613
615
|
React__default["default"].createElement("path", { d: "M7.406 15.703 6 14.297l6-6 6 6-1.406 1.406L12 11.109z" })));
|
|
616
|
+
iconMap['ic_launch_modal'] = (React__default["default"].createElement("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24" },
|
|
617
|
+
React__default["default"].createElement("path", { d: "M12 2.313c-5.523 0-10 4.478-10 10 0 5.523 4.477 10 10 10s10-4.477 10-10c0-5.522-4.477-10-10-10Zm2.928 8.376L9.52 16.095a.696.696 0 0 1-.981-.013.696.696 0 0 1-.013-.98l5.407-5.408-4.788-.063a.713.713 0 0 1-.7-.7.67.67 0 0 1 .682-.683l6.465.085a.713.713 0 0 1 .7.701l.086 6.465a.67.67 0 0 1-.682.683.722.722 0 0 1-.706-.706l-.063-4.787Z" })));
|
|
614
618
|
iconMap['ic_launch_new window_open'] = (React__default["default"].createElement("svg", { viewBox: "0 0 24 24", xmlns: "http://www.w3.org/2000/svg" },
|
|
615
619
|
React__default["default"].createElement("path", { d: "M18 19H6c-.55 0-1-.45-1-1V6c0-.55.45-1 1-1h5c.55 0 1-.45 1-1s-.45-1-1-1H5a2 2 0 0 0-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2v-6c0-.55-.45-1-1-1s-1 .45-1 1v5c0 .55-.45 1-1 1ZM14 4c0 .55.45 1 1 1h2.59l-9.13 9.13a.996.996 0 1 0 1.41 1.41L19 6.41V9c0 .55.45 1 1 1s1-.45 1-1V3h-6c-.55 0-1 .45-1 1Z" })));
|
|
616
620
|
iconMap['ic_layers'] = (React__default["default"].createElement("svg", { viewBox: "0 0 24 24", xmlns: "http://www.w3.org/2000/svg" },
|
|
@@ -770,7 +774,7 @@ var LuiIcon = function (_a) {
|
|
|
770
774
|
var name = _a.name, className = _a.className, _b = _a.size, size = _b === void 0 ? 'ns' : _b, title = _a.title, alt = _a.alt, _c = _a.status, status = _c === void 0 ? 'none' : _c, spanProps = _a.spanProps;
|
|
771
775
|
var iconSVG = ICONS[name];
|
|
772
776
|
if (!iconSVG) {
|
|
773
|
-
console.warn("No icon found for: " + iconSVG);
|
|
777
|
+
console.warn("<LuiIcon>: No icon found for: " + iconSVG);
|
|
774
778
|
return null;
|
|
775
779
|
}
|
|
776
780
|
return (React__namespace.createElement("span", __assign({ className: clsx('LuiIcon', className, size && ICON_SIZES[size], status && ICON_STATUS[status]), "data-icon": name, title: title, "aria-label": alt }, spanProps), iconSVG));
|
|
@@ -4851,13 +4855,13 @@ function na(a,b,c,d){if(null===b||"undefined"===typeof b||ma(a,b,c,d))return !0;
|
|
|
4851
4855
|
pa);D[b]=new B(b,1,!1,a,null,!1,!1);});"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(a){var b=a.replace(oa,pa);D[b]=new B(b,1,!1,a,"http://www.w3.org/1999/xlink",!1,!1);});["xml:base","xml:lang","xml:space"].forEach(function(a){var b=a.replace(oa,pa);D[b]=new B(b,1,!1,a,"http://www.w3.org/XML/1998/namespace",!1,!1);});["tabIndex","crossOrigin"].forEach(function(a){D[a]=new B(a,1,!1,a.toLowerCase(),null,!1,!1);});
|
|
4852
4856
|
D.xlinkHref=new B("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1);["src","href","action","formAction"].forEach(function(a){D[a]=new B(a,1,!1,a.toLowerCase(),null,!0,!0);});
|
|
4853
4857
|
function qa(a,b,c,d){var e=D.hasOwnProperty(b)?D[b]:null;var f=null!==e?0===e.type:d?!1:!(2<b.length)||"o"!==b[0]&&"O"!==b[0]||"n"!==b[1]&&"N"!==b[1]?!1:!0;f||(na(b,c,e,d)&&(c=null),d||null===e?la(b)&&(null===c?a.removeAttribute(b):a.setAttribute(b,""+c)):e.mustUseProperty?a[e.propertyName]=null===c?3===e.type?!1:"":c:(b=e.attributeName,d=e.attributeNamespace,null===c?a.removeAttribute(b):(e=e.type,c=3===e||4===e&&!0===c?"":""+c,d?a.setAttributeNS(d,b,c):a.setAttribute(b,c))));}
|
|
4854
|
-
var ra=aa.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,sa=60103,ta=60106,ua
|
|
4855
|
-
if("function"===typeof Symbol&&Symbol.for){var E=Symbol.for;sa=E("react.element");ta=E("react.portal");ua
|
|
4858
|
+
var ra=aa.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,sa=60103,ta=60106,ua=60107,wa=60108,xa=60114,ya=60109,za=60110,Aa=60112,Ba=60113,Ca=60120,Da=60115,Ea=60116,Fa=60121,Ga=60128,Ha=60129,Ia=60130,Ja=60131;
|
|
4859
|
+
if("function"===typeof Symbol&&Symbol.for){var E=Symbol.for;sa=E("react.element");ta=E("react.portal");ua=E("react.fragment");wa=E("react.strict_mode");xa=E("react.profiler");ya=E("react.provider");za=E("react.context");Aa=E("react.forward_ref");Ba=E("react.suspense");Ca=E("react.suspense_list");Da=E("react.memo");Ea=E("react.lazy");Fa=E("react.block");E("react.scope");Ga=E("react.opaque.id");Ha=E("react.debug_trace_mode");Ia=E("react.offscreen");Ja=E("react.legacy_hidden");}
|
|
4856
4860
|
var Ka="function"===typeof Symbol&&Symbol.iterator;function La(a){if(null===a||"object"!==typeof a)return null;a=Ka&&a[Ka]||a["@@iterator"];return "function"===typeof a?a:null}var Ma;function Na(a){if(void 0===Ma)try{throw Error();}catch(c){var b=c.stack.trim().match(/\n( *(at )?)/);Ma=b&&b[1]||"";}return "\n"+Ma+a}var Oa=!1;
|
|
4857
4861
|
function Pa(a,b){if(!a||Oa)return "";Oa=!0;var c=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{if(b)if(b=function(){throw Error();},Object.defineProperty(b.prototype,"props",{set:function(){throw Error();}}),"object"===typeof Reflect&&Reflect.construct){try{Reflect.construct(b,[]);}catch(k){var d=k;}Reflect.construct(a,[],b);}else {try{b.call();}catch(k){d=k;}a.call(b.prototype);}else {try{throw Error();}catch(k){d=k;}a();}}catch(k){if(k&&d&&"string"===typeof k.stack){for(var e=k.stack.split("\n"),
|
|
4858
4862
|
f=d.stack.split("\n"),g=e.length-1,h=f.length-1;1<=g&&0<=h&&e[g]!==f[h];)h--;for(;1<=g&&0<=h;g--,h--)if(e[g]!==f[h]){if(1!==g||1!==h){do if(g--,h--,0>h||e[g]!==f[h])return "\n"+e[g].replace(" at new "," at ");while(1<=g&&0<=h)}break}}}finally{Oa=!1,Error.prepareStackTrace=c;}return (a=a?a.displayName||a.name:"")?Na(a):""}
|
|
4859
4863
|
function Qa(a){switch(a.tag){case 5:return Na(a.type);case 16:return Na("Lazy");case 13:return Na("Suspense");case 19:return Na("SuspenseList");case 0:case 2:case 15:return a=Pa(a.type,!1),a;case 11:return a=Pa(a.type.render,!1),a;case 22:return a=Pa(a.type._render,!1),a;case 1:return a=Pa(a.type,!0),a;default:return ""}}
|
|
4860
|
-
function Ra(a){if(null==a)return null;if("function"===typeof a)return a.displayName||a.name||null;if("string"===typeof a)return a;switch(a){case ua
|
|
4864
|
+
function Ra(a){if(null==a)return null;if("function"===typeof a)return a.displayName||a.name||null;if("string"===typeof a)return a;switch(a){case ua:return "Fragment";case ta:return "Portal";case xa:return "Profiler";case wa:return "StrictMode";case Ba:return "Suspense";case Ca:return "SuspenseList"}if("object"===typeof a)switch(a.$$typeof){case za:return (a.displayName||"Context")+".Consumer";case ya:return (a._context.displayName||"Context")+".Provider";case Aa:var b=a.render;b=b.displayName||b.name||"";
|
|
4861
4865
|
return a.displayName||(""!==b?"ForwardRef("+b+")":"ForwardRef");case Da:return Ra(a.type);case Fa:return Ra(a._render);case Ea:b=a._payload;a=a._init;try{return Ra(a(b))}catch(c){}}return null}function Sa(a){switch(typeof a){case "boolean":case "number":case "object":case "string":case "undefined":return a;default:return ""}}function Ta(a){var b=a.type;return (a=a.nodeName)&&"input"===a.toLowerCase()&&("checkbox"===b||"radio"===b)}
|
|
4862
4866
|
function Ua(a){var b=Ta(a)?"checked":"value",c=Object.getOwnPropertyDescriptor(a.constructor.prototype,b),d=""+a[b];if(!a.hasOwnProperty(b)&&"undefined"!==typeof c&&"function"===typeof c.get&&"function"===typeof c.set){var e=c.get,f=c.set;Object.defineProperty(a,b,{configurable:!0,get:function(){return e.call(this)},set:function(a){d=""+a;f.call(this,a);}});Object.defineProperty(a,b,{enumerable:c.enumerable});return {getValue:function(){return d},setValue:function(a){d=""+a;},stopTracking:function(){a._valueTracker=
|
|
4863
4867
|
null;delete a[b];}}}}function Va(a){a._valueTracker||(a._valueTracker=Ua(a));}function Wa(a){if(!a)return !1;var b=a._valueTracker;if(!b)return !0;var c=b.getValue();var d="";a&&(d=Ta(a)?a.checked?"true":"false":a.value);a=d;return a!==c?(b.setValue(a),!0):!1}function Xa(a){a=a||("undefined"!==typeof document?document:void 0);if("undefined"===typeof a)return null;try{return a.activeElement||a.body}catch(b){return a.body}}
|
|
@@ -4971,12 +4975,12 @@ function Rg(a,b){if("textarea"!==a.type)throw Error(y$1(31,"[object Object]"===O
|
|
|
4971
4975
|
function Sg(a){function b(b,c){if(a){var d=b.lastEffect;null!==d?(d.nextEffect=c,b.lastEffect=c):b.firstEffect=b.lastEffect=c;c.nextEffect=null;c.flags=8;}}function c(c,d){if(!a)return null;for(;null!==d;)b(c,d),d=d.sibling;return null}function d(a,b){for(a=new Map;null!==b;)null!==b.key?a.set(b.key,b):a.set(b.index,b),b=b.sibling;return a}function e(a,b){a=Tg(a,b);a.index=0;a.sibling=null;return a}function f(b,c,d){b.index=d;if(!a)return c;d=b.alternate;if(null!==d)return d=d.index,d<c?(b.flags=2,
|
|
4972
4976
|
c):d;b.flags=2;return c}function g(b){a&&null===b.alternate&&(b.flags=2);return b}function h(a,b,c,d){if(null===b||6!==b.tag)return b=Ug(c,a.mode,d),b.return=a,b;b=e(b,c);b.return=a;return b}function k(a,b,c,d){if(null!==b&&b.elementType===c.type)return d=e(b,c.props),d.ref=Qg(a,b,c),d.return=a,d;d=Vg(c.type,c.key,c.props,null,a.mode,d);d.ref=Qg(a,b,c);d.return=a;return d}function l(a,b,c,d){if(null===b||4!==b.tag||b.stateNode.containerInfo!==c.containerInfo||b.stateNode.implementation!==c.implementation)return b=
|
|
4973
4977
|
Wg(c,a.mode,d),b.return=a,b;b=e(b,c.children||[]);b.return=a;return b}function n(a,b,c,d,f){if(null===b||7!==b.tag)return b=Xg(c,a.mode,d,f),b.return=a,b;b=e(b,c);b.return=a;return b}function A(a,b,c){if("string"===typeof b||"number"===typeof b)return b=Ug(""+b,a.mode,c),b.return=a,b;if("object"===typeof b&&null!==b){switch(b.$$typeof){case sa:return c=Vg(b.type,b.key,b.props,null,a.mode,c),c.ref=Qg(a,null,b),c.return=a,c;case ta:return b=Wg(b,a.mode,c),b.return=a,b}if(Pg(b)||La(b))return b=Xg(b,
|
|
4974
|
-
a.mode,c,null),b.return=a,b;Rg(a,b);}return null}function p(a,b,c,d){var e=null!==b?b.key:null;if("string"===typeof c||"number"===typeof c)return null!==e?null:h(a,b,""+c,d);if("object"===typeof c&&null!==c){switch(c.$$typeof){case sa:return c.key===e?c.type===ua
|
|
4975
|
-
null,h(b,a,""+d,e);if("object"===typeof d&&null!==d){switch(d.$$typeof){case sa:return a=a.get(null===d.key?c:d.key)||null,d.type===ua
|
|
4978
|
+
a.mode,c,null),b.return=a,b;Rg(a,b);}return null}function p(a,b,c,d){var e=null!==b?b.key:null;if("string"===typeof c||"number"===typeof c)return null!==e?null:h(a,b,""+c,d);if("object"===typeof c&&null!==c){switch(c.$$typeof){case sa:return c.key===e?c.type===ua?n(a,b,c.props.children,d,e):k(a,b,c,d):null;case ta:return c.key===e?l(a,b,c,d):null}if(Pg(c)||La(c))return null!==e?null:n(a,b,c,d,null);Rg(a,c);}return null}function C(a,b,c,d,e){if("string"===typeof d||"number"===typeof d)return a=a.get(c)||
|
|
4979
|
+
null,h(b,a,""+d,e);if("object"===typeof d&&null!==d){switch(d.$$typeof){case sa:return a=a.get(null===d.key?c:d.key)||null,d.type===ua?n(b,a,d.props.children,e,d.key):k(b,a,d,e);case ta:return a=a.get(null===d.key?c:d.key)||null,l(b,a,d,e)}if(Pg(d)||La(d))return a=a.get(c)||null,n(b,a,d,e,null);Rg(b,d);}return null}function x(e,g,h,k){for(var l=null,t=null,u=g,z=g=0,q=null;null!==u&&z<h.length;z++){u.index>z?(q=u,u=null):q=u.sibling;var n=p(e,u,h[z],k);if(null===n){null===u&&(u=q);break}a&&u&&null===
|
|
4976
4980
|
n.alternate&&b(e,u);g=f(n,g,z);null===t?l=n:t.sibling=n;t=n;u=q;}if(z===h.length)return c(e,u),l;if(null===u){for(;z<h.length;z++)u=A(e,h[z],k),null!==u&&(g=f(u,g,z),null===t?l=u:t.sibling=u,t=u);return l}for(u=d(e,u);z<h.length;z++)q=C(u,e,z,h[z],k),null!==q&&(a&&null!==q.alternate&&u.delete(null===q.key?z:q.key),g=f(q,g,z),null===t?l=q:t.sibling=q,t=q);a&&u.forEach(function(a){return b(e,a)});return l}function w(e,g,h,k){var l=La(h);if("function"!==typeof l)throw Error(y$1(150));h=l.call(h);if(null==
|
|
4977
4981
|
h)throw Error(y$1(151));for(var t=l=null,u=g,z=g=0,q=null,n=h.next();null!==u&&!n.done;z++,n=h.next()){u.index>z?(q=u,u=null):q=u.sibling;var w=p(e,u,n.value,k);if(null===w){null===u&&(u=q);break}a&&u&&null===w.alternate&&b(e,u);g=f(w,g,z);null===t?l=w:t.sibling=w;t=w;u=q;}if(n.done)return c(e,u),l;if(null===u){for(;!n.done;z++,n=h.next())n=A(e,n.value,k),null!==n&&(g=f(n,g,z),null===t?l=n:t.sibling=n,t=n);return l}for(u=d(e,u);!n.done;z++,n=h.next())n=C(u,e,z,n.value,k),null!==n&&(a&&null!==n.alternate&&
|
|
4978
|
-
u.delete(null===n.key?z:n.key),g=f(n,g,z),null===t?l=n:t.sibling=n,t=n);a&&u.forEach(function(a){return b(e,a)});return l}return function(a,d,f,h){var k="object"===typeof f&&null!==f&&f.type===ua
|
|
4979
|
-
d=e(k,f.props);d.ref=Qg(a,k,f);d.return=a;a=d;break a}}c(a,k);break}else b(a,k);k=k.sibling;}f.type===ua
|
|
4982
|
+
u.delete(null===n.key?z:n.key),g=f(n,g,z),null===t?l=n:t.sibling=n,t=n);a&&u.forEach(function(a){return b(e,a)});return l}return function(a,d,f,h){var k="object"===typeof f&&null!==f&&f.type===ua&&null===f.key;k&&(f=f.props.children);var l="object"===typeof f&&null!==f;if(l)switch(f.$$typeof){case sa:a:{l=f.key;for(k=d;null!==k;){if(k.key===l){switch(k.tag){case 7:if(f.type===ua){c(a,k.sibling);d=e(k,f.props.children);d.return=a;a=d;break a}break;default:if(k.elementType===f.type){c(a,k.sibling);
|
|
4983
|
+
d=e(k,f.props);d.ref=Qg(a,k,f);d.return=a;a=d;break a}}c(a,k);break}else b(a,k);k=k.sibling;}f.type===ua?(d=Xg(f.props.children,a.mode,h,f.key),d.return=a,a=d):(h=Vg(f.type,f.key,f.props,null,a.mode,h),h.ref=Qg(a,d,f),h.return=a,a=h);}return g(a);case ta:a:{for(k=f.key;null!==d;){if(d.key===k)if(4===d.tag&&d.stateNode.containerInfo===f.containerInfo&&d.stateNode.implementation===f.implementation){c(a,d.sibling);d=e(d,f.children||[]);d.return=a;a=d;break a}else {c(a,d);break}else b(a,d);d=d.sibling;}d=
|
|
4980
4984
|
Wg(f,a.mode,h);d.return=a;a=d;}return g(a)}if("string"===typeof f||"number"===typeof f)return f=""+f,null!==d&&6===d.tag?(c(a,d.sibling),d=e(d,f),d.return=a,a=d):(c(a,d),d=Ug(f,a.mode,h),d.return=a,a=d),g(a);if(Pg(f))return x(a,d,f,h);if(La(f))return w(a,d,f,h);l&&Rg(a,f);if("undefined"===typeof f&&!k)switch(a.tag){case 1:case 22:case 0:case 11:case 15:throw Error(y$1(152,Ra(a.type)||"Component"));}return c(a,d)}}var Yg=Sg(!0),Zg=Sg(!1),$g={},ah=Bf($g),bh=Bf($g),ch=Bf($g);
|
|
4981
4985
|
function dh(a){if(a===$g)throw Error(y$1(174));return a}function eh(a,b){I(ch,b);I(bh,a);I(ah,$g);a=b.nodeType;switch(a){case 9:case 11:b=(b=b.documentElement)?b.namespaceURI:mb(null,"");break;default:a=8===a?b.parentNode:b,b=a.namespaceURI||null,a=a.tagName,b=mb(b,a);}H(ah);I(ah,b);}function fh(){H(ah);H(bh);H(ch);}function gh(a){dh(ch.current);var b=dh(ah.current);var c=mb(b,a.type);b!==c&&(I(bh,a),I(ah,c));}function hh(a){bh.current===a&&(H(ah),H(bh));}var P=Bf(0);
|
|
4982
4986
|
function ih(a){for(var b=a;null!==b;){if(13===b.tag){var c=b.memoizedState;if(null!==c&&(c=c.dehydrated,null===c||"$?"===c.data||"$!"===c.data))return b}else if(19===b.tag&&void 0!==b.memoizedProps.revealOrder){if(0!==(b.flags&64))return b}else if(null!==b.child){b.child.return=b;b=b.child;continue}if(b===a)break;for(;null===b.sibling;){if(null===b.return||b.return===a)return null;b=b.return;}b.sibling.return=b.return;b=b.sibling;}return null}var jh=null,kh=null,lh=!1;
|
|
@@ -5106,7 +5110,7 @@ f.unstable_observedBits),d=d(e),b.flags|=1,fi(a,b,d,c),b.child;case 14:return e=
|
|
|
5106
5110
|
function hk(a){if("function"===typeof a)return ji(a)?1:0;if(void 0!==a&&null!==a){a=a.$$typeof;if(a===Aa)return 11;if(a===Da)return 14}return 2}
|
|
5107
5111
|
function Tg(a,b){var c=a.alternate;null===c?(c=nh(a.tag,b,a.key,a.mode),c.elementType=a.elementType,c.type=a.type,c.stateNode=a.stateNode,c.alternate=a,a.alternate=c):(c.pendingProps=b,c.type=a.type,c.flags=0,c.nextEffect=null,c.firstEffect=null,c.lastEffect=null);c.childLanes=a.childLanes;c.lanes=a.lanes;c.child=a.child;c.memoizedProps=a.memoizedProps;c.memoizedState=a.memoizedState;c.updateQueue=a.updateQueue;b=a.dependencies;c.dependencies=null===b?null:{lanes:b.lanes,firstContext:b.firstContext};
|
|
5108
5112
|
c.sibling=a.sibling;c.index=a.index;c.ref=a.ref;return c}
|
|
5109
|
-
function Vg(a,b,c,d,e,f){var g=2;d=a;if("function"===typeof a)ji(a)&&(g=1);else if("string"===typeof a)g=5;else a:switch(a){case ua
|
|
5113
|
+
function Vg(a,b,c,d,e,f){var g=2;d=a;if("function"===typeof a)ji(a)&&(g=1);else if("string"===typeof a)g=5;else a:switch(a){case ua:return Xg(c.children,e,f,b);case Ha:g=8;e|=16;break;case wa:g=8;e|=1;break;case xa:return a=nh(12,c,b,e|8),a.elementType=xa,a.type=xa,a.lanes=f,a;case Ba:return a=nh(13,c,b,e),a.type=Ba,a.elementType=Ba,a.lanes=f,a;case Ca:return a=nh(19,c,b,e),a.elementType=Ca,a.lanes=f,a;case Ia:return vi(c,e,f,b);case Ja:return a=nh(24,c,b,e),a.elementType=Ja,a.lanes=f,a;default:if("object"===
|
|
5110
5114
|
typeof a&&null!==a)switch(a.$$typeof){case ya:g=10;break a;case za:g=9;break a;case Aa:g=11;break a;case Da:g=14;break a;case Ea:g=16;d=null;break a;case Fa:g=22;break a}throw Error(y$1(130,null==a?a:typeof a,""));}b=nh(g,c,b,e);b.elementType=a;b.type=d;b.lanes=f;return b}function Xg(a,b,c,d){a=nh(7,a,d,b);a.lanes=c;return a}function vi(a,b,c,d){a=nh(23,a,d,b);a.elementType=Ia;a.lanes=c;return a}function Ug(a,b,c){a=nh(6,a,null,b);a.lanes=c;return a}
|
|
5111
5115
|
function Wg(a,b,c){b=nh(4,null!==a.children?a.children:[],a.key,b);b.lanes=c;b.stateNode={containerInfo:a.containerInfo,pendingChildren:null,implementation:a.implementation};return b}
|
|
5112
5116
|
function jk(a,b,c){this.tag=b;this.containerInfo=a;this.finishedWork=this.pingCache=this.current=this.pendingChildren=null;this.timeoutHandle=-1;this.pendingContext=this.context=null;this.hydrate=c;this.callbackNode=null;this.callbackPriority=0;this.eventTimes=Zc(0);this.expirationTimes=Zc(-1);this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0;this.entanglements=Zc(0);this.mutableSourceEagerHydrationData=null;}
|
|
@@ -58096,7 +58100,7 @@ var createPopper = /*#__PURE__*/popperGenerator({
|
|
|
58096
58100
|
}); // eslint-disable-next-line import/no-unused-modules
|
|
58097
58101
|
|
|
58098
58102
|
/**!
|
|
58099
|
-
* tippy.js v6.3.
|
|
58103
|
+
* tippy.js v6.3.7
|
|
58100
58104
|
* (c) 2017-2021 atomiks
|
|
58101
58105
|
* MIT License
|
|
58102
58106
|
*/
|
|
@@ -58109,6 +58113,9 @@ var TOUCH_OPTIONS = {
|
|
|
58109
58113
|
passive: true,
|
|
58110
58114
|
capture: true
|
|
58111
58115
|
};
|
|
58116
|
+
var TIPPY_DEFAULT_APPEND_TO = function TIPPY_DEFAULT_APPEND_TO() {
|
|
58117
|
+
return document.body;
|
|
58118
|
+
};
|
|
58112
58119
|
|
|
58113
58120
|
function hasOwnProperty(obj, key) {
|
|
58114
58121
|
return {}.hasOwnProperty.call(obj, key);
|
|
@@ -58234,7 +58241,7 @@ function getOwnerDocument(elementOrElements) {
|
|
|
58234
58241
|
element = _normalizeToArray[0]; // Elements created via a <template> have an ownerDocument with no reference to the body
|
|
58235
58242
|
|
|
58236
58243
|
|
|
58237
|
-
return
|
|
58244
|
+
return element != null && (_element$ownerDocumen = element.ownerDocument) != null && _element$ownerDocumen.body ? element.ownerDocument : document;
|
|
58238
58245
|
}
|
|
58239
58246
|
function isCursorOutsideInteractiveBorder(popperTreeData, event) {
|
|
58240
58247
|
var clientX = event.clientX,
|
|
@@ -58270,6 +58277,26 @@ function updateTransitionEndListener(box, action, listener) {
|
|
|
58270
58277
|
box[method](event, listener);
|
|
58271
58278
|
});
|
|
58272
58279
|
}
|
|
58280
|
+
/**
|
|
58281
|
+
* Compared to xxx.contains, this function works for dom structures with shadow
|
|
58282
|
+
* dom
|
|
58283
|
+
*/
|
|
58284
|
+
|
|
58285
|
+
function actualContains(parent, child) {
|
|
58286
|
+
var target = child;
|
|
58287
|
+
|
|
58288
|
+
while (target) {
|
|
58289
|
+
var _target$getRootNode;
|
|
58290
|
+
|
|
58291
|
+
if (parent.contains(target)) {
|
|
58292
|
+
return true;
|
|
58293
|
+
}
|
|
58294
|
+
|
|
58295
|
+
target = target.getRootNode == null ? void 0 : (_target$getRootNode = target.getRootNode()) == null ? void 0 : _target$getRootNode.host;
|
|
58296
|
+
}
|
|
58297
|
+
|
|
58298
|
+
return false;
|
|
58299
|
+
}
|
|
58273
58300
|
|
|
58274
58301
|
var currentInput = {
|
|
58275
58302
|
isTouch: false
|
|
@@ -58333,8 +58360,8 @@ function bindGlobalEventListeners() {
|
|
|
58333
58360
|
}
|
|
58334
58361
|
|
|
58335
58362
|
var isBrowser = typeof window !== 'undefined' && typeof document !== 'undefined';
|
|
58336
|
-
var
|
|
58337
|
-
|
|
58363
|
+
var isIE11 = isBrowser ? // @ts-ignore
|
|
58364
|
+
!!window.msCrypto : false;
|
|
58338
58365
|
|
|
58339
58366
|
function createMemoryLeakWarning(method) {
|
|
58340
58367
|
var txt = method === 'destroy' ? 'n already-' : ' ';
|
|
@@ -58409,9 +58436,7 @@ var renderProps = {
|
|
|
58409
58436
|
zIndex: 9999
|
|
58410
58437
|
};
|
|
58411
58438
|
var defaultProps = Object.assign({
|
|
58412
|
-
appendTo:
|
|
58413
|
-
return document.body;
|
|
58414
|
-
},
|
|
58439
|
+
appendTo: TIPPY_DEFAULT_APPEND_TO,
|
|
58415
58440
|
aria: {
|
|
58416
58441
|
content: 'auto',
|
|
58417
58442
|
expanded: 'auto'
|
|
@@ -58446,7 +58471,7 @@ var defaultProps = Object.assign({
|
|
|
58446
58471
|
touch: true,
|
|
58447
58472
|
trigger: 'mouseenter focus',
|
|
58448
58473
|
triggerTarget: null
|
|
58449
|
-
}, pluginProps,
|
|
58474
|
+
}, pluginProps, renderProps);
|
|
58450
58475
|
var defaultKeys = Object.keys(defaultProps);
|
|
58451
58476
|
var setDefaultProps = function setDefaultProps(partialProps) {
|
|
58452
58477
|
/* istanbul ignore else */
|
|
@@ -58466,12 +58491,14 @@ function getExtendedPassedProps(passedProps) {
|
|
|
58466
58491
|
defaultValue = plugin.defaultValue;
|
|
58467
58492
|
|
|
58468
58493
|
if (name) {
|
|
58469
|
-
|
|
58494
|
+
var _name;
|
|
58495
|
+
|
|
58496
|
+
acc[name] = passedProps[name] !== undefined ? passedProps[name] : (_name = defaultProps[name]) != null ? _name : defaultValue;
|
|
58470
58497
|
}
|
|
58471
58498
|
|
|
58472
58499
|
return acc;
|
|
58473
58500
|
}, {});
|
|
58474
|
-
return Object.assign({}, passedProps,
|
|
58501
|
+
return Object.assign({}, passedProps, pluginProps);
|
|
58475
58502
|
}
|
|
58476
58503
|
function getDataAttributeProps(reference, plugins) {
|
|
58477
58504
|
var propKeys = plugins ? Object.keys(getExtendedPassedProps(Object.assign({}, defaultProps, {
|
|
@@ -58502,7 +58529,7 @@ function evaluateProps(reference, props) {
|
|
|
58502
58529
|
var out = Object.assign({}, props, {
|
|
58503
58530
|
content: invokeWithArgsOrReturn(props.content, [reference])
|
|
58504
58531
|
}, props.ignoreAttributes ? {} : getDataAttributeProps(reference, props.plugins));
|
|
58505
|
-
out.aria = Object.assign({}, defaultProps.aria,
|
|
58532
|
+
out.aria = Object.assign({}, defaultProps.aria, out.aria);
|
|
58506
58533
|
out.aria = {
|
|
58507
58534
|
expanded: out.aria.expanded === 'auto' ? props.interactive : out.aria.expanded,
|
|
58508
58535
|
content: out.aria.content === 'auto' ? props.interactive ? null : 'describedby' : out.aria.content
|
|
@@ -58663,7 +58690,7 @@ var mouseMoveListeners = []; // Used by `hideAll()`
|
|
|
58663
58690
|
|
|
58664
58691
|
var mountedInstances = [];
|
|
58665
58692
|
function createTippy(reference, passedProps) {
|
|
58666
|
-
var props = evaluateProps(reference, Object.assign({}, defaultProps,
|
|
58693
|
+
var props = evaluateProps(reference, Object.assign({}, defaultProps, getExtendedPassedProps(removeUndefinedProps(passedProps)))); // ===========================================================================
|
|
58667
58694
|
// 🔒 Private members
|
|
58668
58695
|
// ===========================================================================
|
|
58669
58696
|
|
|
@@ -58763,10 +58790,9 @@ function createTippy(reference, passedProps) {
|
|
|
58763
58790
|
instance.clearDelayTimeouts();
|
|
58764
58791
|
}
|
|
58765
58792
|
});
|
|
58766
|
-
popper.addEventListener('mouseleave', function (
|
|
58793
|
+
popper.addEventListener('mouseleave', function () {
|
|
58767
58794
|
if (instance.props.interactive && instance.props.trigger.indexOf('mouseenter') >= 0) {
|
|
58768
58795
|
getDocument().addEventListener('mousemove', debouncedOnMouseMove);
|
|
58769
|
-
debouncedOnMouseMove(event);
|
|
58770
58796
|
}
|
|
58771
58797
|
});
|
|
58772
58798
|
return instance; // ===========================================================================
|
|
@@ -58786,7 +58812,7 @@ function createTippy(reference, passedProps) {
|
|
|
58786
58812
|
var _instance$props$rende;
|
|
58787
58813
|
|
|
58788
58814
|
// @ts-ignore
|
|
58789
|
-
return !!((_instance$props$rende = instance.props.render)
|
|
58815
|
+
return !!((_instance$props$rende = instance.props.render) != null && _instance$props$rende.$$tippy);
|
|
58790
58816
|
}
|
|
58791
58817
|
|
|
58792
58818
|
function getCurrentTarget() {
|
|
@@ -58813,8 +58839,12 @@ function createTippy(reference, passedProps) {
|
|
|
58813
58839
|
return getValueAtIndexOrReturn(instance.props.delay, isShow ? 0 : 1, defaultProps.delay);
|
|
58814
58840
|
}
|
|
58815
58841
|
|
|
58816
|
-
function handleStyles() {
|
|
58817
|
-
|
|
58842
|
+
function handleStyles(fromHide) {
|
|
58843
|
+
if (fromHide === void 0) {
|
|
58844
|
+
fromHide = false;
|
|
58845
|
+
}
|
|
58846
|
+
|
|
58847
|
+
popper.style.pointerEvents = instance.props.interactive && !fromHide ? '' : 'none';
|
|
58818
58848
|
popper.style.zIndex = "" + instance.props.zIndex;
|
|
58819
58849
|
}
|
|
58820
58850
|
|
|
@@ -58825,7 +58855,7 @@ function createTippy(reference, passedProps) {
|
|
|
58825
58855
|
|
|
58826
58856
|
pluginsHooks.forEach(function (pluginHooks) {
|
|
58827
58857
|
if (pluginHooks[hook]) {
|
|
58828
|
-
pluginHooks[hook].apply(
|
|
58858
|
+
pluginHooks[hook].apply(pluginHooks, args);
|
|
58829
58859
|
}
|
|
58830
58860
|
});
|
|
58831
58861
|
|
|
@@ -58891,15 +58921,18 @@ function createTippy(reference, passedProps) {
|
|
|
58891
58921
|
if (didTouchMove || event.type === 'mousedown') {
|
|
58892
58922
|
return;
|
|
58893
58923
|
}
|
|
58894
|
-
}
|
|
58924
|
+
}
|
|
58895
58925
|
|
|
58926
|
+
var actualTarget = event.composedPath && event.composedPath()[0] || event.target; // Clicked on interactive popper
|
|
58896
58927
|
|
|
58897
|
-
if (instance.props.interactive && popper
|
|
58928
|
+
if (instance.props.interactive && actualContains(popper, actualTarget)) {
|
|
58898
58929
|
return;
|
|
58899
58930
|
} // Clicked on the event listeners target
|
|
58900
58931
|
|
|
58901
58932
|
|
|
58902
|
-
if (
|
|
58933
|
+
if (normalizeToArray(instance.props.triggerTarget || reference).some(function (el) {
|
|
58934
|
+
return actualContains(el, actualTarget);
|
|
58935
|
+
})) {
|
|
58903
58936
|
if (currentInput.isTouch) {
|
|
58904
58937
|
return;
|
|
58905
58938
|
}
|
|
@@ -59027,7 +59060,7 @@ function createTippy(reference, passedProps) {
|
|
|
59027
59060
|
break;
|
|
59028
59061
|
|
|
59029
59062
|
case 'focus':
|
|
59030
|
-
on(
|
|
59063
|
+
on(isIE11 ? 'focusout' : 'blur', onBlurOrFocusOut);
|
|
59031
59064
|
break;
|
|
59032
59065
|
|
|
59033
59066
|
case 'focusin':
|
|
@@ -59253,7 +59286,7 @@ function createTippy(reference, passedProps) {
|
|
|
59253
59286
|
|
|
59254
59287
|
var node = getCurrentTarget();
|
|
59255
59288
|
|
|
59256
|
-
if (instance.props.interactive && appendTo ===
|
|
59289
|
+
if (instance.props.interactive && appendTo === TIPPY_DEFAULT_APPEND_TO || appendTo === 'parent') {
|
|
59257
59290
|
parentNode = node.parentNode;
|
|
59258
59291
|
} else {
|
|
59259
59292
|
parentNode = invokeWithArgsOrReturn(appendTo, [node]);
|
|
@@ -59265,6 +59298,7 @@ function createTippy(reference, passedProps) {
|
|
|
59265
59298
|
parentNode.appendChild(popper);
|
|
59266
59299
|
}
|
|
59267
59300
|
|
|
59301
|
+
instance.state.isMounted = true;
|
|
59268
59302
|
createPopperInstance();
|
|
59269
59303
|
/* istanbul ignore else */
|
|
59270
59304
|
|
|
@@ -59372,7 +59406,7 @@ function createTippy(reference, passedProps) {
|
|
|
59372
59406
|
invokeHook('onBeforeUpdate', [instance, partialProps]);
|
|
59373
59407
|
removeListeners();
|
|
59374
59408
|
var prevProps = instance.props;
|
|
59375
|
-
var nextProps = evaluateProps(reference, Object.assign({},
|
|
59409
|
+
var nextProps = evaluateProps(reference, Object.assign({}, prevProps, removeUndefinedProps(partialProps), {
|
|
59376
59410
|
ignoreAttributes: true
|
|
59377
59411
|
}));
|
|
59378
59412
|
instance.props = nextProps;
|
|
@@ -59501,7 +59535,6 @@ function createTippy(reference, passedProps) {
|
|
|
59501
59535
|
// popper has been positioned for the first time
|
|
59502
59536
|
|
|
59503
59537
|
(_instance$popperInsta2 = instance.popperInstance) == null ? void 0 : _instance$popperInsta2.forceUpdate();
|
|
59504
|
-
instance.state.isMounted = true;
|
|
59505
59538
|
invokeHook('onMount', [instance]);
|
|
59506
59539
|
|
|
59507
59540
|
if (instance.props.animation && getIsDefaultRenderFn()) {
|
|
@@ -59548,7 +59581,7 @@ function createTippy(reference, passedProps) {
|
|
|
59548
59581
|
|
|
59549
59582
|
cleanupInteractiveMouseListeners();
|
|
59550
59583
|
removeDocumentPress();
|
|
59551
|
-
handleStyles();
|
|
59584
|
+
handleStyles(true);
|
|
59552
59585
|
|
|
59553
59586
|
if (getIsDefaultRenderFn()) {
|
|
59554
59587
|
var _getDefaultTemplateCh4 = getDefaultTemplateChildren(),
|
|
@@ -59712,7 +59745,7 @@ tippy.setDefaultProps({
|
|
|
59712
59745
|
render: render
|
|
59713
59746
|
});
|
|
59714
59747
|
|
|
59715
|
-
var css_248z$1 = ".tippy-box[data-animation=fade][data-state=hidden]{opacity:0}[data-tippy-root]{max-width:calc(100vw - 10px)}.tippy-box{position:relative;background-color:#333;color:#fff;border-radius:4px;font-size:14px;line-height:1.4;outline:0;transition-property:transform,visibility,opacity}.tippy-box[data-placement^=top]>.tippy-arrow{bottom:0}.tippy-box[data-placement^=top]>.tippy-arrow:before{bottom:-7px;left:0;border-width:8px 8px 0;border-top-color:initial;transform-origin:center top}.tippy-box[data-placement^=bottom]>.tippy-arrow{top:0}.tippy-box[data-placement^=bottom]>.tippy-arrow:before{top:-7px;left:0;border-width:0 8px 8px;border-bottom-color:initial;transform-origin:center bottom}.tippy-box[data-placement^=left]>.tippy-arrow{right:0}.tippy-box[data-placement^=left]>.tippy-arrow:before{border-width:8px 0 8px 8px;border-left-color:initial;right:-7px;transform-origin:center left}.tippy-box[data-placement^=right]>.tippy-arrow{left:0}.tippy-box[data-placement^=right]>.tippy-arrow:before{left:-7px;border-width:8px 8px 8px 0;border-right-color:initial;transform-origin:center right}.tippy-box[data-inertia][data-state=visible]{transition-timing-function:cubic-bezier(.54,1.5,.38,1.11)}.tippy-arrow{width:16px;height:16px;color:#333}.tippy-arrow:before{content:\"\";position:absolute;border-color:transparent;border-style:solid}.tippy-content{position:relative;padding:5px 9px;z-index:1}";
|
|
59748
|
+
var css_248z$1 = ".tippy-box[data-animation=fade][data-state=hidden]{opacity:0}[data-tippy-root]{max-width:calc(100vw - 10px)}.tippy-box{position:relative;background-color:#333;color:#fff;border-radius:4px;font-size:14px;line-height:1.4;white-space:normal;outline:0;transition-property:transform,visibility,opacity}.tippy-box[data-placement^=top]>.tippy-arrow{bottom:0}.tippy-box[data-placement^=top]>.tippy-arrow:before{bottom:-7px;left:0;border-width:8px 8px 0;border-top-color:initial;transform-origin:center top}.tippy-box[data-placement^=bottom]>.tippy-arrow{top:0}.tippy-box[data-placement^=bottom]>.tippy-arrow:before{top:-7px;left:0;border-width:0 8px 8px;border-bottom-color:initial;transform-origin:center bottom}.tippy-box[data-placement^=left]>.tippy-arrow{right:0}.tippy-box[data-placement^=left]>.tippy-arrow:before{border-width:8px 0 8px 8px;border-left-color:initial;right:-7px;transform-origin:center left}.tippy-box[data-placement^=right]>.tippy-arrow{left:0}.tippy-box[data-placement^=right]>.tippy-arrow:before{left:-7px;border-width:8px 8px 8px 0;border-right-color:initial;transform-origin:center right}.tippy-box[data-inertia][data-state=visible]{transition-timing-function:cubic-bezier(.54,1.5,.38,1.11)}.tippy-arrow{width:16px;height:16px;color:#333}.tippy-arrow:before{content:\"\";position:absolute;border-color:transparent;border-style:solid}.tippy-content{position:relative;padding:5px 9px;z-index:1}";
|
|
59716
59749
|
styleInject(css_248z$1);
|
|
59717
59750
|
|
|
59718
59751
|
var css_248z = ".tippy-box{border:1px transparent}.tippy-box[data-placement^=top]>.tippy-arrow:after{border-top-color:inherit;border-width:8px 8px 0;bottom:-8px;left:0}.tippy-box[data-placement^=bottom]>.tippy-arrow:after{border-bottom-color:inherit;border-width:0 8px 8px;top:-8px;left:0}.tippy-box[data-placement^=left]>.tippy-arrow:after{border-left-color:inherit;border-width:8px 0 8px 8px;right:-8px;top:0}.tippy-box[data-placement^=right]>.tippy-arrow:after{border-width:8px 8px 8px 0;left:-8px;top:0;border-right-color:inherit}.tippy-box[data-placement^=top]>.tippy-svg-arrow>svg:first-child:not(:last-child){top:17px}.tippy-box[data-placement^=bottom]>.tippy-svg-arrow>svg:first-child:not(:last-child){bottom:17px}.tippy-box[data-placement^=left]>.tippy-svg-arrow>svg:first-child:not(:last-child){left:12px}.tippy-box[data-placement^=right]>.tippy-svg-arrow>svg:first-child:not(:last-child){right:12px}.tippy-arrow{border-color:inherit}.tippy-arrow:after{content:\"\";z-index:-1;position:absolute;border-color:transparent;border-style:solid}";
|
|
@@ -59772,7 +59805,7 @@ function useClickedOutsideElement(refElement, handleClickOutside) {
|
|
|
59772
59805
|
}, []);
|
|
59773
59806
|
}
|
|
59774
59807
|
|
|
59775
|
-
var LuiBadge = function (props) { return (React__default["default"].createElement("p", { className: clsx('LuiBadge', props.size === 'sm' && 'LuiBadge--sm', props.size === 'lg' && 'LuiBadge--lg', props.backgroundFill && 'LuiBadge--fill', props.variation === 'warning' && 'LuiBadge--warning') }, props.children)); };
|
|
59808
|
+
var LuiBadge = function (props) { return (React__default["default"].createElement("p", { className: clsx('LuiBadge', props.size === 'sm' && 'LuiBadge--sm', props.size === 'lg' && 'LuiBadge--lg', props.backgroundFill && 'LuiBadge--fill', props.variation === 'warning' && 'LuiBadge--warning'), "aria-roledescription": props.ariaRoleDescription }, props.children)); };
|
|
59776
59809
|
|
|
59777
59810
|
exports.FIRM_KEY = FIRM_KEY;
|
|
59778
59811
|
exports.FIRM_NAME_KEY = FIRM_NAME_KEY;
|