@nulogy/components 14.4.0 → 14.4.1
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/dist/main.js +124 -161
- package/dist/main.module.js +129 -166
- package/dist/src/AppTag/stories/AppTag.usecases.story.d.ts +4 -0
- package/dist/src/Icon/Icon.d.ts +1 -1
- package/dist/src/TruncatedText/TruncatedText.d.ts +1 -1
- package/dist/src/TruncatedText/TruncatedText.story.d.ts +4 -0
- package/dist/src/TruncatedText/components/MaybeTooltip.d.ts +1 -1
- package/dist/src/TruncatedText/components/TooltipComponents.d.ts +4 -1
- package/dist/src/TruncatedText/types.d.ts +1 -1
- package/package.json +1 -1
package/dist/main.module.js
CHANGED
|
@@ -3,7 +3,7 @@ import React__default, { createContext, useContext, useLayoutEffect, useEffect,
|
|
|
3
3
|
import styled, { useTheme, keyframes as keyframes$3, createGlobalStyle, ThemeContext as ThemeContext$1, StyleSheetManager, ThemeProvider } from 'styled-components';
|
|
4
4
|
import assign$1 from 'object-assign';
|
|
5
5
|
import icons from '@nulogy/icons';
|
|
6
|
-
import _extends$
|
|
6
|
+
import _extends$c from '@babel/runtime/helpers/extends';
|
|
7
7
|
import _assertThisInitialized$3 from '@babel/runtime/helpers/assertThisInitialized';
|
|
8
8
|
import _inheritsLoose$3 from '@babel/runtime/helpers/inheritsLoose';
|
|
9
9
|
import isEqual$3 from 'react-fast-compare';
|
|
@@ -9272,7 +9272,7 @@ var shadow = system({
|
|
|
9272
9272
|
}
|
|
9273
9273
|
});
|
|
9274
9274
|
|
|
9275
|
-
function _extends$
|
|
9275
|
+
function _extends$b() { _extends$b = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$b.apply(this, arguments); }
|
|
9276
9276
|
|
|
9277
9277
|
// based on https://github.com/developit/dlv
|
|
9278
9278
|
var get$1 = function get(obj, key, def, p, undef) {
|
|
@@ -9403,7 +9403,7 @@ var positiveOrNegative = function positiveOrNegative(scale, value) {
|
|
|
9403
9403
|
var transforms = ['margin', 'marginTop', 'marginRight', 'marginBottom', 'marginLeft', 'marginX', 'marginY', 'top', 'bottom', 'left', 'right'].reduce(function (acc, curr) {
|
|
9404
9404
|
var _extends2;
|
|
9405
9405
|
|
|
9406
|
-
return _extends$
|
|
9406
|
+
return _extends$b({}, acc, (_extends2 = {}, _extends2[curr] = positiveOrNegative, _extends2));
|
|
9407
9407
|
}, {});
|
|
9408
9408
|
var responsive = function responsive(styles) {
|
|
9409
9409
|
return function (theme) {
|
|
@@ -9445,7 +9445,7 @@ var css$3 = function css(args) {
|
|
|
9445
9445
|
props = {};
|
|
9446
9446
|
}
|
|
9447
9447
|
|
|
9448
|
-
var theme = _extends$
|
|
9448
|
+
var theme = _extends$b({}, defaultTheme$1, {}, props.theme || props);
|
|
9449
9449
|
|
|
9450
9450
|
var result = {};
|
|
9451
9451
|
var obj = typeof args === 'function' ? args(theme) : args;
|
|
@@ -9457,7 +9457,7 @@ var css$3 = function css(args) {
|
|
|
9457
9457
|
|
|
9458
9458
|
if (key === 'variant') {
|
|
9459
9459
|
var variant = css(get$1(theme, val))(theme);
|
|
9460
|
-
result = _extends$
|
|
9460
|
+
result = _extends$b({}, result, {}, variant);
|
|
9461
9461
|
continue;
|
|
9462
9462
|
}
|
|
9463
9463
|
|
|
@@ -11020,8 +11020,8 @@ var Button = /*#__PURE__*/React__default.forwardRef(function (_a, ref) {
|
|
|
11020
11020
|
}));
|
|
11021
11021
|
});
|
|
11022
11022
|
|
|
11023
|
-
function _extends$
|
|
11024
|
-
_extends$
|
|
11023
|
+
function _extends$a() {
|
|
11024
|
+
_extends$a = Object.assign ? Object.assign.bind() : function (target) {
|
|
11025
11025
|
for (var i = 1; i < arguments.length; i++) {
|
|
11026
11026
|
var source = arguments[i];
|
|
11027
11027
|
for (var key in source) {
|
|
@@ -11032,7 +11032,7 @@ function _extends$b() {
|
|
|
11032
11032
|
}
|
|
11033
11033
|
return target;
|
|
11034
11034
|
};
|
|
11035
|
-
return _extends$
|
|
11035
|
+
return _extends$a.apply(this, arguments);
|
|
11036
11036
|
}
|
|
11037
11037
|
|
|
11038
11038
|
function _assertThisInitialized$2(self) {
|
|
@@ -11962,7 +11962,7 @@ function guard(lowerBoundary, upperBoundary, value) {
|
|
|
11962
11962
|
function darken(amount, color) {
|
|
11963
11963
|
if (color === 'transparent') return color;
|
|
11964
11964
|
var hslColor = parseToHsl(color);
|
|
11965
|
-
return toColorString(_extends$
|
|
11965
|
+
return toColorString(_extends$a({}, hslColor, {
|
|
11966
11966
|
lightness: guard(0, 1, hslColor.lightness - parseFloat(amount))
|
|
11967
11967
|
}));
|
|
11968
11968
|
} // prettier-ignore
|
|
@@ -12007,7 +12007,7 @@ function transparentize(amount, color) {
|
|
|
12007
12007
|
var parsedColor = parseToRgb(color);
|
|
12008
12008
|
var alpha = typeof parsedColor.alpha === 'number' ? parsedColor.alpha : 1;
|
|
12009
12009
|
|
|
12010
|
-
var colorWithAlpha = _extends$
|
|
12010
|
+
var colorWithAlpha = _extends$a({}, parsedColor, {
|
|
12011
12011
|
alpha: guard(0, 1, (alpha * 100 - parseFloat(amount) * 100) / 100)
|
|
12012
12012
|
});
|
|
12013
12013
|
|
|
@@ -14666,14 +14666,14 @@ function NulogyLogo$1(_a) {
|
|
|
14666
14666
|
}));
|
|
14667
14667
|
}
|
|
14668
14668
|
|
|
14669
|
-
function _extends$
|
|
14670
|
-
return _extends$
|
|
14669
|
+
function _extends$9() {
|
|
14670
|
+
return _extends$9 = Object.assign ? Object.assign.bind() : function (n) {
|
|
14671
14671
|
for (var e = 1; e < arguments.length; e++) {
|
|
14672
14672
|
var t = arguments[e];
|
|
14673
14673
|
for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]);
|
|
14674
14674
|
}
|
|
14675
14675
|
return n;
|
|
14676
|
-
}, _extends$
|
|
14676
|
+
}, _extends$9.apply(null, arguments);
|
|
14677
14677
|
}
|
|
14678
14678
|
|
|
14679
14679
|
function $e42e1063c40fb3ef$export$b9ecd428b558ff10(originalEventHandler, ourEventHandler, { checkForDefaultPrevented: checkForDefaultPrevented = true } = {}) {
|
|
@@ -14803,34 +14803,34 @@ function $e42e1063c40fb3ef$export$b9ecd428b558ff10(originalEventHandler, ourEven
|
|
|
14803
14803
|
return createScope1;
|
|
14804
14804
|
}
|
|
14805
14805
|
|
|
14806
|
-
function _extends$
|
|
14807
|
-
return _extends$
|
|
14806
|
+
function _extends$8() {
|
|
14807
|
+
return _extends$8 = Object.assign ? Object.assign.bind() : function (n) {
|
|
14808
14808
|
for (var e = 1; e < arguments.length; e++) {
|
|
14809
14809
|
var t = arguments[e];
|
|
14810
14810
|
for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]);
|
|
14811
14811
|
}
|
|
14812
14812
|
return n;
|
|
14813
|
-
}, _extends$
|
|
14813
|
+
}, _extends$8.apply(null, arguments);
|
|
14814
14814
|
}
|
|
14815
14815
|
|
|
14816
|
-
function _extends$
|
|
14817
|
-
return _extends$
|
|
14816
|
+
function _extends$7() {
|
|
14817
|
+
return _extends$7 = Object.assign ? Object.assign.bind() : function (n) {
|
|
14818
14818
|
for (var e = 1; e < arguments.length; e++) {
|
|
14819
14819
|
var t = arguments[e];
|
|
14820
14820
|
for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]);
|
|
14821
14821
|
}
|
|
14822
14822
|
return n;
|
|
14823
|
-
}, _extends$
|
|
14823
|
+
}, _extends$7.apply(null, arguments);
|
|
14824
14824
|
}
|
|
14825
14825
|
|
|
14826
|
-
function _extends$
|
|
14827
|
-
return _extends$
|
|
14826
|
+
function _extends$6() {
|
|
14827
|
+
return _extends$6 = Object.assign ? Object.assign.bind() : function (n) {
|
|
14828
14828
|
for (var e = 1; e < arguments.length; e++) {
|
|
14829
14829
|
var t = arguments[e];
|
|
14830
14830
|
for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]);
|
|
14831
14831
|
}
|
|
14832
14832
|
return n;
|
|
14833
|
-
}, _extends$
|
|
14833
|
+
}, _extends$6.apply(null, arguments);
|
|
14834
14834
|
}
|
|
14835
14835
|
|
|
14836
14836
|
/* -------------------------------------------------------------------------------------------------
|
|
@@ -14850,11 +14850,11 @@ function _extends$7() {
|
|
|
14850
14850
|
return /*#__PURE__*/ isValidElement(newElement) ? newElement.props.children : null;
|
|
14851
14851
|
} else return child;
|
|
14852
14852
|
});
|
|
14853
|
-
return /*#__PURE__*/ createElement($5e63c961fc1ce211$var$SlotClone, _extends$
|
|
14853
|
+
return /*#__PURE__*/ createElement($5e63c961fc1ce211$var$SlotClone, _extends$6({}, slotProps, {
|
|
14854
14854
|
ref: forwardedRef
|
|
14855
14855
|
}), /*#__PURE__*/ isValidElement(newElement) ? /*#__PURE__*/ cloneElement(newElement, undefined, newChildren) : null);
|
|
14856
14856
|
}
|
|
14857
|
-
return /*#__PURE__*/ createElement($5e63c961fc1ce211$var$SlotClone, _extends$
|
|
14857
|
+
return /*#__PURE__*/ createElement($5e63c961fc1ce211$var$SlotClone, _extends$6({}, slotProps, {
|
|
14858
14858
|
ref: forwardedRef
|
|
14859
14859
|
}), children);
|
|
14860
14860
|
});
|
|
@@ -14938,7 +14938,7 @@ const $8927f6f2acc4f386$var$NODES = [
|
|
|
14938
14938
|
useEffect(()=>{
|
|
14939
14939
|
window[Symbol.for('radix-ui')] = true;
|
|
14940
14940
|
}, []);
|
|
14941
|
-
return /*#__PURE__*/ createElement(Comp, _extends$
|
|
14941
|
+
return /*#__PURE__*/ createElement(Comp, _extends$7({}, primitiveProps, {
|
|
14942
14942
|
ref: forwardedRef
|
|
14943
14943
|
}));
|
|
14944
14944
|
});
|
|
@@ -15122,7 +15122,7 @@ const $5cb92bef7577960e$export$177fb62ff3ec1f22 = /*#__PURE__*/ forwardRef((prop
|
|
|
15122
15122
|
return ()=>document.removeEventListener($5cb92bef7577960e$var$CONTEXT_UPDATE, handleUpdate)
|
|
15123
15123
|
;
|
|
15124
15124
|
}, []);
|
|
15125
|
-
return /*#__PURE__*/ createElement($8927f6f2acc4f386$export$250ffa63cdc0d034.div, _extends$
|
|
15125
|
+
return /*#__PURE__*/ createElement($8927f6f2acc4f386$export$250ffa63cdc0d034.div, _extends$8({}, layerProps, {
|
|
15126
15126
|
ref: composedRefs,
|
|
15127
15127
|
style: {
|
|
15128
15128
|
pointerEvents: isBodyPointerEventsDisabled ? isPointerEventsEnabled ? 'auto' : 'none' : undefined,
|
|
@@ -15274,14 +15274,14 @@ function $1746a345f3d73bb7$export$f680877a34711e37(deterministicId) {
|
|
|
15274
15274
|
return deterministicId || (id ? `radix-${id}` : '');
|
|
15275
15275
|
}
|
|
15276
15276
|
|
|
15277
|
-
function _extends$
|
|
15278
|
-
return _extends$
|
|
15277
|
+
function _extends$5() {
|
|
15278
|
+
return _extends$5 = Object.assign ? Object.assign.bind() : function (n) {
|
|
15279
15279
|
for (var e = 1; e < arguments.length; e++) {
|
|
15280
15280
|
var t = arguments[e];
|
|
15281
15281
|
for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]);
|
|
15282
15282
|
}
|
|
15283
15283
|
return n;
|
|
15284
|
-
}, _extends$
|
|
15284
|
+
}, _extends$5.apply(null, arguments);
|
|
15285
15285
|
}
|
|
15286
15286
|
|
|
15287
15287
|
/**
|
|
@@ -17687,19 +17687,19 @@ const arrow$3 = (options, deps) => ({
|
|
|
17687
17687
|
options: [options, deps]
|
|
17688
17688
|
});
|
|
17689
17689
|
|
|
17690
|
-
function _extends$
|
|
17691
|
-
return _extends$
|
|
17690
|
+
function _extends$4() {
|
|
17691
|
+
return _extends$4 = Object.assign ? Object.assign.bind() : function (n) {
|
|
17692
17692
|
for (var e = 1; e < arguments.length; e++) {
|
|
17693
17693
|
var t = arguments[e];
|
|
17694
17694
|
for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]);
|
|
17695
17695
|
}
|
|
17696
17696
|
return n;
|
|
17697
|
-
}, _extends$
|
|
17697
|
+
}, _extends$4.apply(null, arguments);
|
|
17698
17698
|
}
|
|
17699
17699
|
|
|
17700
17700
|
const $7e8f5cd07187803e$export$21b07c8f274aebd5 = /*#__PURE__*/ forwardRef((props, forwardedRef)=>{
|
|
17701
17701
|
const { children: children , width: width = 10 , height: height = 5 , ...arrowProps } = props;
|
|
17702
|
-
return /*#__PURE__*/ createElement($8927f6f2acc4f386$export$250ffa63cdc0d034.svg, _extends$
|
|
17702
|
+
return /*#__PURE__*/ createElement($8927f6f2acc4f386$export$250ffa63cdc0d034.svg, _extends$4({}, arrowProps, {
|
|
17703
17703
|
ref: forwardedRef,
|
|
17704
17704
|
width: width,
|
|
17705
17705
|
height: height,
|
|
@@ -17786,7 +17786,7 @@ const $cf1ac5d9fe0e8206$export$ecd4e1ccab6ed6d = /*#__PURE__*/ forwardRef((props
|
|
|
17786
17786
|
// `anchorRef` with their virtual ref in this case.
|
|
17787
17787
|
context.onAnchorChange((virtualRef === null || virtualRef === void 0 ? void 0 : virtualRef.current) || ref.current);
|
|
17788
17788
|
});
|
|
17789
|
-
return virtualRef ? null : /*#__PURE__*/ createElement($8927f6f2acc4f386$export$250ffa63cdc0d034.div, _extends$
|
|
17789
|
+
return virtualRef ? null : /*#__PURE__*/ createElement($8927f6f2acc4f386$export$250ffa63cdc0d034.div, _extends$5({}, anchorProps, {
|
|
17790
17790
|
ref: composedRefs
|
|
17791
17791
|
}));
|
|
17792
17792
|
});
|
|
@@ -17915,7 +17915,7 @@ const $cf1ac5d9fe0e8206$export$bc4ae5855d3c4fc = /*#__PURE__*/ forwardRef((props
|
|
|
17915
17915
|
arrowX: arrowX,
|
|
17916
17916
|
arrowY: arrowY,
|
|
17917
17917
|
shouldHideArrow: cannotCenterArrow
|
|
17918
|
-
}, /*#__PURE__*/ createElement($8927f6f2acc4f386$export$250ffa63cdc0d034.div, _extends$
|
|
17918
|
+
}, /*#__PURE__*/ createElement($8927f6f2acc4f386$export$250ffa63cdc0d034.div, _extends$5({
|
|
17919
17919
|
"data-side": placedSide,
|
|
17920
17920
|
"data-align": placedAlign
|
|
17921
17921
|
}, contentProps, {
|
|
@@ -17967,7 +17967,7 @@ const $cf1ac5d9fe0e8206$export$79d62cd4e10a3fd0 = /*#__PURE__*/ forwardRef(funct
|
|
|
17967
17967
|
}[contentContext.placedSide],
|
|
17968
17968
|
visibility: contentContext.shouldHideArrow ? 'hidden' : undefined
|
|
17969
17969
|
}
|
|
17970
|
-
}, /*#__PURE__*/ createElement($7e8f5cd07187803e$export$be92b6f5f03c0fe9, _extends$
|
|
17970
|
+
}, /*#__PURE__*/ createElement($7e8f5cd07187803e$export$be92b6f5f03c0fe9, _extends$5({}, arrowProps, {
|
|
17971
17971
|
ref: forwardedRef,
|
|
17972
17972
|
style: {
|
|
17973
17973
|
...arrowProps.style,
|
|
@@ -18033,24 +18033,6 @@ const $cf1ac5d9fe0e8206$export$b688253958b8dfe7 = $cf1ac5d9fe0e8206$export$ecd4e
|
|
|
18033
18033
|
const $cf1ac5d9fe0e8206$export$7c6e2c02157bb7d2 = $cf1ac5d9fe0e8206$export$bc4ae5855d3c4fc;
|
|
18034
18034
|
const $cf1ac5d9fe0e8206$export$21b07c8f274aebd5 = $cf1ac5d9fe0e8206$export$79d62cd4e10a3fd0;
|
|
18035
18035
|
|
|
18036
|
-
function _extends$4() {
|
|
18037
|
-
return _extends$4 = Object.assign ? Object.assign.bind() : function (n) {
|
|
18038
|
-
for (var e = 1; e < arguments.length; e++) {
|
|
18039
|
-
var t = arguments[e];
|
|
18040
|
-
for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]);
|
|
18041
|
-
}
|
|
18042
|
-
return n;
|
|
18043
|
-
}, _extends$4.apply(null, arguments);
|
|
18044
|
-
}
|
|
18045
|
-
|
|
18046
|
-
const $f1701beae083dbae$export$602eac185826482c = /*#__PURE__*/ forwardRef((props, forwardedRef)=>{
|
|
18047
|
-
var _globalThis$document;
|
|
18048
|
-
const { container: container = globalThis === null || globalThis === void 0 ? void 0 : (_globalThis$document = globalThis.document) === null || _globalThis$document === void 0 ? void 0 : _globalThis$document.body , ...portalProps } = props;
|
|
18049
|
-
return container ? /*#__PURE__*/ ReactDOM__default.createPortal(/*#__PURE__*/ createElement($8927f6f2acc4f386$export$250ffa63cdc0d034.div, _extends$4({}, portalProps, {
|
|
18050
|
-
ref: forwardedRef
|
|
18051
|
-
})), container) : null;
|
|
18052
|
-
});
|
|
18053
|
-
|
|
18054
18036
|
function $fe963b355347cc68$export$3e6543de14f8614f(initialState, machine) {
|
|
18055
18037
|
return useReducer((state, event)=>{
|
|
18056
18038
|
const nextState = machine[state][event];
|
|
@@ -18397,9 +18379,9 @@ const $a093c7e1ec25a057$export$8c610744efcf8a1d = /*#__PURE__*/ forwardRef((prop
|
|
|
18397
18379
|
}, [
|
|
18398
18380
|
handlePointerUp
|
|
18399
18381
|
]);
|
|
18400
|
-
return /*#__PURE__*/ createElement($cf1ac5d9fe0e8206$export$b688253958b8dfe7, _extends$
|
|
18382
|
+
return /*#__PURE__*/ createElement($cf1ac5d9fe0e8206$export$b688253958b8dfe7, _extends$9({
|
|
18401
18383
|
asChild: true
|
|
18402
|
-
}, popperScope), /*#__PURE__*/ createElement($8927f6f2acc4f386$export$250ffa63cdc0d034.button, _extends$
|
|
18384
|
+
}, popperScope), /*#__PURE__*/ createElement($8927f6f2acc4f386$export$250ffa63cdc0d034.button, _extends$9({
|
|
18403
18385
|
// We purposefully avoid adding `type=button` here because tooltip triggers are also
|
|
18404
18386
|
// commonly anchors and the anchor `type` attribute signifies MIME type.
|
|
18405
18387
|
"aria-describedby": context.open ? context.contentId : undefined,
|
|
@@ -18436,19 +18418,6 @@ const $a093c7e1ec25a057$export$8c610744efcf8a1d = /*#__PURE__*/ forwardRef((prop
|
|
|
18436
18418
|
const [$a093c7e1ec25a057$var$PortalProvider, $a093c7e1ec25a057$var$usePortalContext] = $a093c7e1ec25a057$var$createTooltipContext($a093c7e1ec25a057$var$PORTAL_NAME, {
|
|
18437
18419
|
forceMount: undefined
|
|
18438
18420
|
});
|
|
18439
|
-
const $a093c7e1ec25a057$export$7b36b8f925ab7497 = (props)=>{
|
|
18440
|
-
const { __scopeTooltip: __scopeTooltip , forceMount: forceMount , children: children , container: container } = props;
|
|
18441
|
-
const context = $a093c7e1ec25a057$var$useTooltipContext($a093c7e1ec25a057$var$PORTAL_NAME, __scopeTooltip);
|
|
18442
|
-
return /*#__PURE__*/ createElement($a093c7e1ec25a057$var$PortalProvider, {
|
|
18443
|
-
scope: __scopeTooltip,
|
|
18444
|
-
forceMount: forceMount
|
|
18445
|
-
}, /*#__PURE__*/ createElement($921a889cee6df7e8$export$99c2b779aa4e8b8b, {
|
|
18446
|
-
present: forceMount || context.open
|
|
18447
|
-
}, /*#__PURE__*/ createElement($f1701beae083dbae$export$602eac185826482c, {
|
|
18448
|
-
asChild: true,
|
|
18449
|
-
container: container
|
|
18450
|
-
}, children)));
|
|
18451
|
-
};
|
|
18452
18421
|
/* -------------------------------------------------------------------------------------------------
|
|
18453
18422
|
* TooltipContent
|
|
18454
18423
|
* -----------------------------------------------------------------------------------------------*/ const $a093c7e1ec25a057$var$CONTENT_NAME = 'TooltipContent';
|
|
@@ -18458,11 +18427,11 @@ const $a093c7e1ec25a057$export$e9003e2be37ec060 = /*#__PURE__*/ forwardRef((prop
|
|
|
18458
18427
|
const context = $a093c7e1ec25a057$var$useTooltipContext($a093c7e1ec25a057$var$CONTENT_NAME, props.__scopeTooltip);
|
|
18459
18428
|
return /*#__PURE__*/ createElement($921a889cee6df7e8$export$99c2b779aa4e8b8b, {
|
|
18460
18429
|
present: forceMount || context.open
|
|
18461
|
-
}, context.disableHoverableContent ? /*#__PURE__*/ createElement($a093c7e1ec25a057$var$TooltipContentImpl, _extends$
|
|
18430
|
+
}, context.disableHoverableContent ? /*#__PURE__*/ createElement($a093c7e1ec25a057$var$TooltipContentImpl, _extends$9({
|
|
18462
18431
|
side: side
|
|
18463
18432
|
}, contentProps, {
|
|
18464
18433
|
ref: forwardedRef
|
|
18465
|
-
})) : /*#__PURE__*/ createElement($a093c7e1ec25a057$var$TooltipContentHoverable, _extends$
|
|
18434
|
+
})) : /*#__PURE__*/ createElement($a093c7e1ec25a057$var$TooltipContentHoverable, _extends$9({
|
|
18466
18435
|
side: side
|
|
18467
18436
|
}, contentProps, {
|
|
18468
18437
|
ref: forwardedRef
|
|
@@ -18553,7 +18522,7 @@ const $a093c7e1ec25a057$var$TooltipContentHoverable = /*#__PURE__*/ forwardRef((
|
|
|
18553
18522
|
onClose,
|
|
18554
18523
|
handleRemoveGraceArea
|
|
18555
18524
|
]);
|
|
18556
|
-
return /*#__PURE__*/ createElement($a093c7e1ec25a057$var$TooltipContentImpl, _extends$
|
|
18525
|
+
return /*#__PURE__*/ createElement($a093c7e1ec25a057$var$TooltipContentImpl, _extends$9({}, props, {
|
|
18557
18526
|
ref: composedRefs
|
|
18558
18527
|
}));
|
|
18559
18528
|
});
|
|
@@ -18598,7 +18567,7 @@ const $a093c7e1ec25a057$var$TooltipContentImpl = /*#__PURE__*/ forwardRef((props
|
|
|
18598
18567
|
onFocusOutside: (event)=>event.preventDefault()
|
|
18599
18568
|
,
|
|
18600
18569
|
onDismiss: onClose
|
|
18601
|
-
}, /*#__PURE__*/ createElement($cf1ac5d9fe0e8206$export$7c6e2c02157bb7d2, _extends$
|
|
18570
|
+
}, /*#__PURE__*/ createElement($cf1ac5d9fe0e8206$export$7c6e2c02157bb7d2, _extends$9({
|
|
18602
18571
|
"data-state": context.stateAttribute
|
|
18603
18572
|
}, popperScope, contentProps, {
|
|
18604
18573
|
ref: forwardedRef,
|
|
@@ -18626,7 +18595,7 @@ const $a093c7e1ec25a057$export$c27ee0ad710f7559 = /*#__PURE__*/ forwardRef((prop
|
|
|
18626
18595
|
const popperScope = $a093c7e1ec25a057$var$usePopperScope(__scopeTooltip);
|
|
18627
18596
|
const visuallyHiddenContentContext = $a093c7e1ec25a057$var$useVisuallyHiddenContentContext($a093c7e1ec25a057$var$ARROW_NAME, __scopeTooltip); // if the arrow is inside the `VisuallyHidden`, we don't want to render it all to
|
|
18628
18597
|
// prevent issues in positioning the arrow due to the duplicate
|
|
18629
|
-
return visuallyHiddenContentContext.isInside ? null : /*#__PURE__*/ createElement($cf1ac5d9fe0e8206$export$21b07c8f274aebd5, _extends$
|
|
18598
|
+
return visuallyHiddenContentContext.isInside ? null : /*#__PURE__*/ createElement($cf1ac5d9fe0e8206$export$21b07c8f274aebd5, _extends$9({}, popperScope, arrowProps, {
|
|
18630
18599
|
ref: forwardedRef
|
|
18631
18600
|
}));
|
|
18632
18601
|
});
|
|
@@ -18769,7 +18738,6 @@ function $a093c7e1ec25a057$var$getHullPresorted(points) {
|
|
|
18769
18738
|
const $a093c7e1ec25a057$export$2881499e37b75b9a = $a093c7e1ec25a057$export$f78649fb9ca566b8;
|
|
18770
18739
|
const $a093c7e1ec25a057$export$be92b6f5f03c0fe9 = $a093c7e1ec25a057$export$28c660c63b792dea;
|
|
18771
18740
|
const $a093c7e1ec25a057$export$41fb9f06171c75f4 = $a093c7e1ec25a057$export$8c610744efcf8a1d;
|
|
18772
|
-
const $a093c7e1ec25a057$export$602eac185826482c = $a093c7e1ec25a057$export$7b36b8f925ab7497;
|
|
18773
18741
|
const $a093c7e1ec25a057$export$7c6e2c02157bb7d2 = $a093c7e1ec25a057$export$e9003e2be37ec060;
|
|
18774
18742
|
const $a093c7e1ec25a057$export$21b07c8f274aebd5 = $a093c7e1ec25a057$export$c27ee0ad710f7559;
|
|
18775
18743
|
|
|
@@ -18780,14 +18748,14 @@ function Tooltip$2(_ref) {
|
|
|
18780
18748
|
hideTooltip = _ref$hideTooltip === void 0 ? false : _ref$hideTooltip;
|
|
18781
18749
|
|
|
18782
18750
|
if (hideTooltip) {
|
|
18783
|
-
return /*#__PURE__*/React__default.createElement(Fragment, null, children);
|
|
18751
|
+
return /*#__PURE__*/React__default.createElement(React__default.Fragment, null, children);
|
|
18784
18752
|
}
|
|
18785
18753
|
|
|
18786
|
-
return /*#__PURE__*/React__default.createElement(
|
|
18754
|
+
return /*#__PURE__*/React__default.createElement($a093c7e1ec25a057$export$2881499e37b75b9a, null, /*#__PURE__*/React__default.createElement($a093c7e1ec25a057$export$be92b6f5f03c0fe9, null, /*#__PURE__*/React__default.createElement($a093c7e1ec25a057$export$41fb9f06171c75f4, {
|
|
18787
18755
|
asChild: true
|
|
18788
|
-
}, children), /*#__PURE__*/React__default.createElement(
|
|
18756
|
+
}, children), /*#__PURE__*/React__default.createElement(TooltipContent$1, {
|
|
18789
18757
|
sideOffset: 4
|
|
18790
|
-
}, content)))
|
|
18758
|
+
}, content)));
|
|
18791
18759
|
}
|
|
18792
18760
|
var slideUpAndFade$1 = keyframes$3(["from{opacity:0;transform:translateY(2px);}to{opacity:1;transform:translateY(0);}"]);
|
|
18793
18761
|
var slideRightAndFade$1 = keyframes$3(["from{opacity:0;transform:translateX(-2px);}to{opacity:1;transform:translateX(0);}"]);
|
|
@@ -18796,29 +18764,32 @@ var slideLeftAndFade$1 = keyframes$3(["from{opacity:0;transform:translateX(2px);
|
|
|
18796
18764
|
var TooltipContent$1 = styled($a093c7e1ec25a057$export$7c6e2c02157bb7d2).withConfig({
|
|
18797
18765
|
displayName: "Tooltip__TooltipContent",
|
|
18798
18766
|
componentId: "sc-1f1p4mx-0"
|
|
18799
|
-
})(["font-family:", ";white-space:nowrap;font-size:", ";line-height:", ";color:", ";background-color:", ";border-radius:", ";margin-top:", ";padding:", ";pointer-events:none;
|
|
18767
|
+
})(["font-family:", ";font-weight:", ";white-space:nowrap;font-size:", ";line-height:", ";color:", ";background-color:", ";border-radius:", ";margin-top:", ";padding:", ";pointer-events:none;animation-duration:400ms;animation-timing-function:cubic-bezier(0.16,1,0.3,1);will-change:transform,opacity;&[data-state=\"delayed-open\"][data-side=\"top\"]{animation-name:", ";}&[data-state=\"delayed-open\"][data-side=\"right\"]{animation-name:", ";}&[data-state=\"delayed-open\"][data-side=\"bottom\"]{animation-name:", ";}&[data-state=\"delayed-open\"][data-side=\"left\"]{animation-name:", ";}"], function (_ref2) {
|
|
18800
18768
|
var theme = _ref2.theme;
|
|
18801
18769
|
return theme.fonts.base;
|
|
18802
18770
|
}, function (_ref3) {
|
|
18803
18771
|
var theme = _ref3.theme;
|
|
18804
|
-
return theme.
|
|
18772
|
+
return theme.fontWeights.medium;
|
|
18805
18773
|
}, function (_ref4) {
|
|
18806
18774
|
var theme = _ref4.theme;
|
|
18807
|
-
return theme.
|
|
18775
|
+
return theme.fontSizes.smaller;
|
|
18808
18776
|
}, function (_ref5) {
|
|
18809
18777
|
var theme = _ref5.theme;
|
|
18810
|
-
return theme.
|
|
18778
|
+
return theme.lineHeights.smallerText;
|
|
18811
18779
|
}, function (_ref6) {
|
|
18812
18780
|
var theme = _ref6.theme;
|
|
18813
|
-
return
|
|
18781
|
+
return theme.colors.whiteGrey;
|
|
18814
18782
|
}, function (_ref7) {
|
|
18815
18783
|
var theme = _ref7.theme;
|
|
18816
|
-
return theme.
|
|
18784
|
+
return curriedTransparentize(0.05, theme.colors.blackBlue);
|
|
18817
18785
|
}, function (_ref8) {
|
|
18818
18786
|
var theme = _ref8.theme;
|
|
18819
|
-
return theme.
|
|
18787
|
+
return theme.radii.medium;
|
|
18820
18788
|
}, function (_ref9) {
|
|
18821
18789
|
var theme = _ref9.theme;
|
|
18790
|
+
return theme.space.half;
|
|
18791
|
+
}, function (_ref10) {
|
|
18792
|
+
var theme = _ref10.theme;
|
|
18822
18793
|
return theme.space.x0_25 + " " + theme.space.x0_75;
|
|
18823
18794
|
}, slideUpAndFade$1, slideRightAndFade$1, slideDownAndFade$1, slideLeftAndFade$1);
|
|
18824
18795
|
|
|
@@ -22004,7 +21975,7 @@ var Menu$2 = function Menu(props) {
|
|
|
22004
21975
|
var children = props.children,
|
|
22005
21976
|
innerRef = props.innerRef,
|
|
22006
21977
|
innerProps = props.innerProps;
|
|
22007
|
-
return jsx("div", _extends$
|
|
21978
|
+
return jsx("div", _extends$a({}, getStyleProps(props, 'menu', {
|
|
22008
21979
|
menu: true
|
|
22009
21980
|
}), {
|
|
22010
21981
|
ref: innerRef
|
|
@@ -22035,7 +22006,7 @@ var MenuList$1 = function MenuList(props) {
|
|
|
22035
22006
|
innerProps = props.innerProps,
|
|
22036
22007
|
innerRef = props.innerRef,
|
|
22037
22008
|
isMulti = props.isMulti;
|
|
22038
|
-
return jsx("div", _extends$
|
|
22009
|
+
return jsx("div", _extends$a({}, getStyleProps(props, 'menuList', {
|
|
22039
22010
|
'menu-list': true,
|
|
22040
22011
|
'menu-list--is-multi': isMulti
|
|
22041
22012
|
}), {
|
|
@@ -22065,7 +22036,7 @@ var NoOptionsMessage = function NoOptionsMessage(_ref6) {
|
|
|
22065
22036
|
children = _ref6$children === void 0 ? 'No options' : _ref6$children,
|
|
22066
22037
|
innerProps = _ref6.innerProps,
|
|
22067
22038
|
restProps = _objectWithoutProperties(_ref6, _excluded$3$1);
|
|
22068
|
-
return jsx("div", _extends$
|
|
22039
|
+
return jsx("div", _extends$a({}, getStyleProps(_objectSpread2(_objectSpread2({}, restProps), {}, {
|
|
22069
22040
|
children: children,
|
|
22070
22041
|
innerProps: innerProps
|
|
22071
22042
|
}), 'noOptionsMessage', {
|
|
@@ -22078,7 +22049,7 @@ var LoadingMessage = function LoadingMessage(_ref7) {
|
|
|
22078
22049
|
children = _ref7$children === void 0 ? 'Loading...' : _ref7$children,
|
|
22079
22050
|
innerProps = _ref7.innerProps,
|
|
22080
22051
|
restProps = _objectWithoutProperties(_ref7, _excluded2$1);
|
|
22081
|
-
return jsx("div", _extends$
|
|
22052
|
+
return jsx("div", _extends$a({}, getStyleProps(_objectSpread2(_objectSpread2({}, restProps), {}, {
|
|
22082
22053
|
children: children,
|
|
22083
22054
|
innerProps: innerProps
|
|
22084
22055
|
}), 'loadingMessage', {
|
|
@@ -22163,7 +22134,7 @@ var MenuPortal = function MenuPortal(props) {
|
|
|
22163
22134
|
if (!appendTo && menuPosition !== 'fixed' || !computedPosition) return null;
|
|
22164
22135
|
|
|
22165
22136
|
// same wrapper element whether fixed or portalled
|
|
22166
|
-
var menuWrapper = jsx("div", _extends$
|
|
22137
|
+
var menuWrapper = jsx("div", _extends$a({
|
|
22167
22138
|
ref: setMenuPortalElement
|
|
22168
22139
|
}, getStyleProps(_objectSpread2(_objectSpread2({}, props), {}, {
|
|
22169
22140
|
offset: computedPosition.offset,
|
|
@@ -22197,7 +22168,7 @@ var SelectContainer$2 = function SelectContainer(props) {
|
|
|
22197
22168
|
innerProps = props.innerProps,
|
|
22198
22169
|
isDisabled = props.isDisabled,
|
|
22199
22170
|
isRtl = props.isRtl;
|
|
22200
|
-
return jsx("div", _extends$
|
|
22171
|
+
return jsx("div", _extends$a({}, getStyleProps(props, 'container', {
|
|
22201
22172
|
'--is-disabled': isDisabled,
|
|
22202
22173
|
'--is-rtl': isRtl
|
|
22203
22174
|
}), innerProps), children);
|
|
@@ -22229,7 +22200,7 @@ var ValueContainer = function ValueContainer(props) {
|
|
|
22229
22200
|
innerProps = props.innerProps,
|
|
22230
22201
|
isMulti = props.isMulti,
|
|
22231
22202
|
hasValue = props.hasValue;
|
|
22232
|
-
return jsx("div", _extends$
|
|
22203
|
+
return jsx("div", _extends$a({}, getStyleProps(props, 'valueContainer', {
|
|
22233
22204
|
'value-container': true,
|
|
22234
22205
|
'value-container--is-multi': isMulti,
|
|
22235
22206
|
'value-container--has-value': hasValue
|
|
@@ -22251,7 +22222,7 @@ var indicatorsContainerCSS = function indicatorsContainerCSS() {
|
|
|
22251
22222
|
var IndicatorsContainer = function IndicatorsContainer(props) {
|
|
22252
22223
|
var children = props.children,
|
|
22253
22224
|
innerProps = props.innerProps;
|
|
22254
|
-
return jsx("div", _extends$
|
|
22225
|
+
return jsx("div", _extends$a({}, getStyleProps(props, 'indicatorsContainer', {
|
|
22255
22226
|
indicators: true
|
|
22256
22227
|
}), innerProps), children);
|
|
22257
22228
|
};
|
|
@@ -22276,7 +22247,7 @@ var _ref2$2 = process.env.NODE_ENV === "production" ? {
|
|
|
22276
22247
|
var Svg = function Svg(_ref) {
|
|
22277
22248
|
var size = _ref.size,
|
|
22278
22249
|
props = _objectWithoutProperties(_ref, _excluded$2$1);
|
|
22279
|
-
return jsx("svg", _extends$
|
|
22250
|
+
return jsx("svg", _extends$a({
|
|
22280
22251
|
height: size,
|
|
22281
22252
|
width: size,
|
|
22282
22253
|
viewBox: "0 0 20 20",
|
|
@@ -22286,14 +22257,14 @@ var Svg = function Svg(_ref) {
|
|
|
22286
22257
|
}, props));
|
|
22287
22258
|
};
|
|
22288
22259
|
var CrossIcon = function CrossIcon(props) {
|
|
22289
|
-
return jsx(Svg, _extends$
|
|
22260
|
+
return jsx(Svg, _extends$a({
|
|
22290
22261
|
size: 20
|
|
22291
22262
|
}, props), jsx("path", {
|
|
22292
22263
|
d: "M14.348 14.849c-0.469 0.469-1.229 0.469-1.697 0l-2.651-3.030-2.651 3.029c-0.469 0.469-1.229 0.469-1.697 0-0.469-0.469-0.469-1.229 0-1.697l2.758-3.15-2.759-3.152c-0.469-0.469-0.469-1.228 0-1.697s1.228-0.469 1.697 0l2.652 3.031 2.651-3.031c0.469-0.469 1.228-0.469 1.697 0s0.469 1.229 0 1.697l-2.758 3.152 2.758 3.15c0.469 0.469 0.469 1.229 0 1.698z"
|
|
22293
22264
|
}));
|
|
22294
22265
|
};
|
|
22295
22266
|
var DownChevron = function DownChevron(props) {
|
|
22296
|
-
return jsx(Svg, _extends$
|
|
22267
|
+
return jsx(Svg, _extends$a({
|
|
22297
22268
|
size: 20
|
|
22298
22269
|
}, props), jsx("path", {
|
|
22299
22270
|
d: "M4.516 7.548c0.436-0.446 1.043-0.481 1.576 0l3.908 3.747 3.908-3.747c0.533-0.481 1.141-0.446 1.574 0 0.436 0.445 0.408 1.197 0 1.615-0.406 0.418-4.695 4.502-4.695 4.502-0.217 0.223-0.502 0.335-0.787 0.335s-0.57-0.112-0.789-0.335c0 0-4.287-4.084-4.695-4.502s-0.436-1.17 0-1.615z"
|
|
@@ -22325,7 +22296,7 @@ var dropdownIndicatorCSS = baseCSS;
|
|
|
22325
22296
|
var DropdownIndicator = function DropdownIndicator(props) {
|
|
22326
22297
|
var children = props.children,
|
|
22327
22298
|
innerProps = props.innerProps;
|
|
22328
|
-
return jsx("div", _extends$
|
|
22299
|
+
return jsx("div", _extends$a({}, getStyleProps(props, 'dropdownIndicator', {
|
|
22329
22300
|
indicator: true,
|
|
22330
22301
|
'dropdown-indicator': true
|
|
22331
22302
|
}), innerProps), children || jsx(DownChevron, null));
|
|
@@ -22334,7 +22305,7 @@ var clearIndicatorCSS = baseCSS;
|
|
|
22334
22305
|
var ClearIndicator = function ClearIndicator(props) {
|
|
22335
22306
|
var children = props.children,
|
|
22336
22307
|
innerProps = props.innerProps;
|
|
22337
|
-
return jsx("div", _extends$
|
|
22308
|
+
return jsx("div", _extends$a({}, getStyleProps(props, 'clearIndicator', {
|
|
22338
22309
|
indicator: true,
|
|
22339
22310
|
'clear-indicator': true
|
|
22340
22311
|
}), innerProps), children || jsx(CrossIcon, null));
|
|
@@ -22361,7 +22332,7 @@ var indicatorSeparatorCSS = function indicatorSeparatorCSS(_ref4, unstyled) {
|
|
|
22361
22332
|
};
|
|
22362
22333
|
var IndicatorSeparator = function IndicatorSeparator(props) {
|
|
22363
22334
|
var innerProps = props.innerProps;
|
|
22364
|
-
return jsx("span", _extends$
|
|
22335
|
+
return jsx("span", _extends$a({}, innerProps, getStyleProps(props, 'indicatorSeparator', {
|
|
22365
22336
|
'indicator-separator': true
|
|
22366
22337
|
})));
|
|
22367
22338
|
};
|
|
@@ -22414,7 +22385,7 @@ var LoadingIndicator = function LoadingIndicator(_ref7) {
|
|
|
22414
22385
|
_ref7$size = _ref7.size,
|
|
22415
22386
|
size = _ref7$size === void 0 ? 4 : _ref7$size,
|
|
22416
22387
|
restProps = _objectWithoutProperties(_ref7, _excluded2$2);
|
|
22417
|
-
return jsx("div", _extends$
|
|
22388
|
+
return jsx("div", _extends$a({}, getStyleProps(_objectSpread2(_objectSpread2({}, restProps), {}, {
|
|
22418
22389
|
innerProps: innerProps,
|
|
22419
22390
|
isRtl: isRtl,
|
|
22420
22391
|
size: size
|
|
@@ -22470,7 +22441,7 @@ var Control = function Control(props) {
|
|
|
22470
22441
|
innerRef = props.innerRef,
|
|
22471
22442
|
innerProps = props.innerProps,
|
|
22472
22443
|
menuIsOpen = props.menuIsOpen;
|
|
22473
|
-
return jsx("div", _extends$
|
|
22444
|
+
return jsx("div", _extends$a({
|
|
22474
22445
|
ref: innerRef
|
|
22475
22446
|
}, getStyleProps(props, 'control', {
|
|
22476
22447
|
control: true,
|
|
@@ -22502,9 +22473,9 @@ var Group = function Group(props) {
|
|
|
22502
22473
|
label = props.label,
|
|
22503
22474
|
theme = props.theme,
|
|
22504
22475
|
selectProps = props.selectProps;
|
|
22505
|
-
return jsx("div", _extends$
|
|
22476
|
+
return jsx("div", _extends$a({}, getStyleProps(props, 'group', {
|
|
22506
22477
|
group: true
|
|
22507
|
-
}), innerProps), jsx(Heading, _extends$
|
|
22478
|
+
}), innerProps), jsx(Heading, _extends$a({}, headingProps, {
|
|
22508
22479
|
selectProps: selectProps,
|
|
22509
22480
|
theme: theme,
|
|
22510
22481
|
getStyles: getStyles,
|
|
@@ -22534,7 +22505,7 @@ var GroupHeading = function GroupHeading(props) {
|
|
|
22534
22505
|
var _cleanCommonProps = cleanCommonProps(props);
|
|
22535
22506
|
_cleanCommonProps.data;
|
|
22536
22507
|
var innerProps = _objectWithoutProperties(_cleanCommonProps, _excluded$1$1);
|
|
22537
|
-
return jsx("div", _extends$
|
|
22508
|
+
return jsx("div", _extends$a({}, getStyleProps(props, 'groupHeading', {
|
|
22538
22509
|
'group-heading': true
|
|
22539
22510
|
}), innerProps));
|
|
22540
22511
|
};
|
|
@@ -22597,11 +22568,11 @@ var Input$1 = function Input(props) {
|
|
|
22597
22568
|
isHidden = _cleanCommonProps.isHidden,
|
|
22598
22569
|
inputClassName = _cleanCommonProps.inputClassName,
|
|
22599
22570
|
innerProps = _objectWithoutProperties(_cleanCommonProps, _excluded$6);
|
|
22600
|
-
return jsx("div", _extends$
|
|
22571
|
+
return jsx("div", _extends$a({}, getStyleProps(props, 'input', {
|
|
22601
22572
|
'input-container': true
|
|
22602
22573
|
}), {
|
|
22603
22574
|
"data-value": value || ''
|
|
22604
|
-
}), jsx("input", _extends$
|
|
22575
|
+
}), jsx("input", _extends$a({
|
|
22605
22576
|
className: cx({
|
|
22606
22577
|
input: true
|
|
22607
22578
|
}, inputClassName),
|
|
@@ -22674,7 +22645,7 @@ var MultiValueLabel = MultiValueGeneric;
|
|
|
22674
22645
|
function MultiValueRemove(_ref5) {
|
|
22675
22646
|
var children = _ref5.children,
|
|
22676
22647
|
innerProps = _ref5.innerProps;
|
|
22677
|
-
return jsx("div", _extends$
|
|
22648
|
+
return jsx("div", _extends$a({
|
|
22678
22649
|
role: "button"
|
|
22679
22650
|
}, innerProps), children || jsx(CrossIcon, {
|
|
22680
22651
|
size: 14
|
|
@@ -22748,7 +22719,7 @@ var Option = function Option(props) {
|
|
|
22748
22719
|
isSelected = props.isSelected,
|
|
22749
22720
|
innerRef = props.innerRef,
|
|
22750
22721
|
innerProps = props.innerProps;
|
|
22751
|
-
return jsx("div", _extends$
|
|
22722
|
+
return jsx("div", _extends$a({}, getStyleProps(props, 'option', {
|
|
22752
22723
|
option: true,
|
|
22753
22724
|
'option--is-disabled': isDisabled,
|
|
22754
22725
|
'option--is-focused': isFocused,
|
|
@@ -22776,7 +22747,7 @@ var placeholderCSS = function placeholderCSS(_ref, unstyled) {
|
|
|
22776
22747
|
var Placeholder = function Placeholder(props) {
|
|
22777
22748
|
var children = props.children,
|
|
22778
22749
|
innerProps = props.innerProps;
|
|
22779
|
-
return jsx("div", _extends$
|
|
22750
|
+
return jsx("div", _extends$a({}, getStyleProps(props, 'placeholder', {
|
|
22780
22751
|
placeholder: true
|
|
22781
22752
|
}), innerProps), children);
|
|
22782
22753
|
};
|
|
@@ -22804,7 +22775,7 @@ var SingleValue = function SingleValue(props) {
|
|
|
22804
22775
|
var children = props.children,
|
|
22805
22776
|
isDisabled = props.isDisabled,
|
|
22806
22777
|
innerProps = props.innerProps;
|
|
22807
|
-
return jsx("div", _extends$
|
|
22778
|
+
return jsx("div", _extends$a({}, getStyleProps(props, 'singleValue', {
|
|
22808
22779
|
'single-value': true,
|
|
22809
22780
|
'single-value--is-disabled': isDisabled
|
|
22810
22781
|
}), innerProps), children);
|
|
@@ -22905,7 +22876,7 @@ var _ref$1 = process.env.NODE_ENV === "production" ? {
|
|
|
22905
22876
|
toString: _EMOTION_STRINGIFIED_CSS_ERROR__$2
|
|
22906
22877
|
};
|
|
22907
22878
|
var A11yText = function A11yText(props) {
|
|
22908
|
-
return jsx("span", _extends$
|
|
22879
|
+
return jsx("span", _extends$a({
|
|
22909
22880
|
css: _ref$1
|
|
22910
22881
|
}, props));
|
|
22911
22882
|
};
|
|
@@ -23422,7 +23393,7 @@ function DummyInput(_ref) {
|
|
|
23422
23393
|
props = _objectWithoutProperties(_ref, _excluded$5);
|
|
23423
23394
|
// Remove animation props not meant for HTML elements
|
|
23424
23395
|
var filteredProps = removeProps(props, 'onExited', 'in', 'enter', 'exit', 'appear');
|
|
23425
|
-
return jsx("input", _extends$
|
|
23396
|
+
return jsx("input", _extends$a({
|
|
23426
23397
|
ref: innerRef
|
|
23427
23398
|
}, filteredProps, {
|
|
23428
23399
|
css: /*#__PURE__*/css$2({
|
|
@@ -24998,7 +24969,7 @@ var Select = /*#__PURE__*/function (_Component) {
|
|
|
24998
24969
|
});
|
|
24999
24970
|
if (!isSearchable) {
|
|
25000
24971
|
// use a dummy input to maintain focus/blur functionality
|
|
25001
|
-
return /*#__PURE__*/React.createElement(DummyInput, _extends$
|
|
24972
|
+
return /*#__PURE__*/React.createElement(DummyInput, _extends$a({
|
|
25002
24973
|
id: id,
|
|
25003
24974
|
innerRef: this.getInputRef,
|
|
25004
24975
|
onBlur: this.onInputBlur,
|
|
@@ -25011,7 +24982,7 @@ var Select = /*#__PURE__*/function (_Component) {
|
|
|
25011
24982
|
value: ""
|
|
25012
24983
|
}, ariaAttributes));
|
|
25013
24984
|
}
|
|
25014
|
-
return /*#__PURE__*/React.createElement(Input, _extends$
|
|
24985
|
+
return /*#__PURE__*/React.createElement(Input, _extends$a({}, commonProps, {
|
|
25015
24986
|
autoCapitalize: "none",
|
|
25016
24987
|
autoComplete: "off",
|
|
25017
24988
|
autoCorrect: "off",
|
|
@@ -25052,7 +25023,7 @@ var Select = /*#__PURE__*/function (_Component) {
|
|
|
25052
25023
|
focusedValue = _this$state5.focusedValue,
|
|
25053
25024
|
isFocused = _this$state5.isFocused;
|
|
25054
25025
|
if (!this.hasValue() || !controlShouldRenderValue) {
|
|
25055
|
-
return inputValue ? null : /*#__PURE__*/React.createElement(Placeholder, _extends$
|
|
25026
|
+
return inputValue ? null : /*#__PURE__*/React.createElement(Placeholder, _extends$a({}, commonProps, {
|
|
25056
25027
|
key: "placeholder",
|
|
25057
25028
|
isDisabled: isDisabled,
|
|
25058
25029
|
isFocused: isFocused,
|
|
@@ -25065,7 +25036,7 @@ var Select = /*#__PURE__*/function (_Component) {
|
|
|
25065
25036
|
return selectValue.map(function (opt, index) {
|
|
25066
25037
|
var isOptionFocused = opt === focusedValue;
|
|
25067
25038
|
var key = "".concat(_this3.getOptionLabel(opt), "-").concat(_this3.getOptionValue(opt));
|
|
25068
|
-
return /*#__PURE__*/React.createElement(MultiValue, _extends$
|
|
25039
|
+
return /*#__PURE__*/React.createElement(MultiValue, _extends$a({}, commonProps, {
|
|
25069
25040
|
components: {
|
|
25070
25041
|
Container: MultiValueContainer,
|
|
25071
25042
|
Label: MultiValueLabel,
|
|
@@ -25094,7 +25065,7 @@ var Select = /*#__PURE__*/function (_Component) {
|
|
|
25094
25065
|
return null;
|
|
25095
25066
|
}
|
|
25096
25067
|
var singleValue = selectValue[0];
|
|
25097
|
-
return /*#__PURE__*/React.createElement(SingleValue, _extends$
|
|
25068
|
+
return /*#__PURE__*/React.createElement(SingleValue, _extends$a({}, commonProps, {
|
|
25098
25069
|
data: singleValue,
|
|
25099
25070
|
isDisabled: isDisabled
|
|
25100
25071
|
}), this.formatOptionLabel(singleValue, 'value'));
|
|
@@ -25117,7 +25088,7 @@ var Select = /*#__PURE__*/function (_Component) {
|
|
|
25117
25088
|
onTouchEnd: this.onClearIndicatorTouchEnd,
|
|
25118
25089
|
'aria-hidden': 'true'
|
|
25119
25090
|
};
|
|
25120
|
-
return /*#__PURE__*/React.createElement(ClearIndicator, _extends$
|
|
25091
|
+
return /*#__PURE__*/React.createElement(ClearIndicator, _extends$a({}, commonProps, {
|
|
25121
25092
|
innerProps: innerProps,
|
|
25122
25093
|
isFocused: isFocused
|
|
25123
25094
|
}));
|
|
@@ -25136,7 +25107,7 @@ var Select = /*#__PURE__*/function (_Component) {
|
|
|
25136
25107
|
var innerProps = {
|
|
25137
25108
|
'aria-hidden': 'true'
|
|
25138
25109
|
};
|
|
25139
|
-
return /*#__PURE__*/React.createElement(LoadingIndicator, _extends$
|
|
25110
|
+
return /*#__PURE__*/React.createElement(LoadingIndicator, _extends$a({}, commonProps, {
|
|
25140
25111
|
innerProps: innerProps,
|
|
25141
25112
|
isDisabled: isDisabled,
|
|
25142
25113
|
isFocused: isFocused
|
|
@@ -25154,7 +25125,7 @@ var Select = /*#__PURE__*/function (_Component) {
|
|
|
25154
25125
|
var commonProps = this.commonProps;
|
|
25155
25126
|
var isDisabled = this.props.isDisabled;
|
|
25156
25127
|
var isFocused = this.state.isFocused;
|
|
25157
|
-
return /*#__PURE__*/React.createElement(IndicatorSeparator, _extends$
|
|
25128
|
+
return /*#__PURE__*/React.createElement(IndicatorSeparator, _extends$a({}, commonProps, {
|
|
25158
25129
|
isDisabled: isDisabled,
|
|
25159
25130
|
isFocused: isFocused
|
|
25160
25131
|
}));
|
|
@@ -25173,7 +25144,7 @@ var Select = /*#__PURE__*/function (_Component) {
|
|
|
25173
25144
|
onTouchEnd: this.onDropdownIndicatorTouchEnd,
|
|
25174
25145
|
'aria-hidden': 'true'
|
|
25175
25146
|
};
|
|
25176
|
-
return /*#__PURE__*/React.createElement(DropdownIndicator, _extends$
|
|
25147
|
+
return /*#__PURE__*/React.createElement(DropdownIndicator, _extends$a({}, commonProps, {
|
|
25177
25148
|
innerProps: innerProps,
|
|
25178
25149
|
isDisabled: isDisabled,
|
|
25179
25150
|
isFocused: isFocused
|
|
@@ -25238,7 +25209,7 @@ var Select = /*#__PURE__*/function (_Component) {
|
|
|
25238
25209
|
'aria-selected': _this4.isAppleDevice ? undefined : isSelected // is not supported on Apple devices
|
|
25239
25210
|
};
|
|
25240
25211
|
|
|
25241
|
-
return /*#__PURE__*/React.createElement(Option, _extends$
|
|
25212
|
+
return /*#__PURE__*/React.createElement(Option, _extends$a({}, commonProps, {
|
|
25242
25213
|
innerProps: innerProps,
|
|
25243
25214
|
data: data,
|
|
25244
25215
|
isDisabled: isDisabled,
|
|
@@ -25260,7 +25231,7 @@ var Select = /*#__PURE__*/function (_Component) {
|
|
|
25260
25231
|
groupIndex = item.index;
|
|
25261
25232
|
var groupId = "".concat(_this4.getElementId('group'), "-").concat(groupIndex);
|
|
25262
25233
|
var headingId = "".concat(groupId, "-heading");
|
|
25263
|
-
return /*#__PURE__*/React.createElement(Group, _extends$
|
|
25234
|
+
return /*#__PURE__*/React.createElement(Group, _extends$a({}, commonProps, {
|
|
25264
25235
|
key: groupId,
|
|
25265
25236
|
data: _data,
|
|
25266
25237
|
options: options,
|
|
@@ -25297,12 +25268,12 @@ var Select = /*#__PURE__*/function (_Component) {
|
|
|
25297
25268
|
menuPosition: menuPosition,
|
|
25298
25269
|
menuShouldScrollIntoView: menuShouldScrollIntoView
|
|
25299
25270
|
};
|
|
25300
|
-
var menuElement = /*#__PURE__*/React.createElement(MenuPlacer, _extends$
|
|
25271
|
+
var menuElement = /*#__PURE__*/React.createElement(MenuPlacer, _extends$a({}, commonProps, menuPlacementProps), function (_ref4) {
|
|
25301
25272
|
var ref = _ref4.ref,
|
|
25302
25273
|
_ref4$placerProps = _ref4.placerProps,
|
|
25303
25274
|
placement = _ref4$placerProps.placement,
|
|
25304
25275
|
maxHeight = _ref4$placerProps.maxHeight;
|
|
25305
|
-
return /*#__PURE__*/React.createElement(Menu, _extends$
|
|
25276
|
+
return /*#__PURE__*/React.createElement(Menu, _extends$a({}, commonProps, menuPlacementProps, {
|
|
25306
25277
|
innerRef: ref,
|
|
25307
25278
|
innerProps: {
|
|
25308
25279
|
onMouseDown: _this4.onMenuMouseDown,
|
|
@@ -25316,7 +25287,7 @@ var Select = /*#__PURE__*/function (_Component) {
|
|
|
25316
25287
|
onBottomArrive: onMenuScrollToBottom,
|
|
25317
25288
|
lockEnabled: menuShouldBlockScroll
|
|
25318
25289
|
}, function (scrollTargetRef) {
|
|
25319
|
-
return /*#__PURE__*/React.createElement(MenuList, _extends$
|
|
25290
|
+
return /*#__PURE__*/React.createElement(MenuList, _extends$a({}, commonProps, {
|
|
25320
25291
|
innerRef: function innerRef(instance) {
|
|
25321
25292
|
_this4.getMenuListRef(instance);
|
|
25322
25293
|
scrollTargetRef(instance);
|
|
@@ -25336,7 +25307,7 @@ var Select = /*#__PURE__*/function (_Component) {
|
|
|
25336
25307
|
// positioning behaviour is almost identical for portalled and fixed,
|
|
25337
25308
|
// so we use the same component. the actual portalling logic is forked
|
|
25338
25309
|
// within the component based on `menuPosition`
|
|
25339
|
-
return menuPortalTarget || menuPosition === 'fixed' ? /*#__PURE__*/React.createElement(MenuPortal, _extends$
|
|
25310
|
+
return menuPortalTarget || menuPosition === 'fixed' ? /*#__PURE__*/React.createElement(MenuPortal, _extends$a({}, commonProps, {
|
|
25340
25311
|
appendTo: menuPortalTarget,
|
|
25341
25312
|
controlElement: this.controlRef,
|
|
25342
25313
|
menuPlacement: menuPlacement,
|
|
@@ -25406,7 +25377,7 @@ var Select = /*#__PURE__*/function (_Component) {
|
|
|
25406
25377
|
isFocused = _this$state6.isFocused,
|
|
25407
25378
|
selectValue = _this$state6.selectValue;
|
|
25408
25379
|
var focusableOptions = this.getFocusableOptions();
|
|
25409
|
-
return /*#__PURE__*/React.createElement(LiveRegion$1, _extends$
|
|
25380
|
+
return /*#__PURE__*/React.createElement(LiveRegion$1, _extends$a({}, commonProps, {
|
|
25410
25381
|
id: this.getElementId('live-region'),
|
|
25411
25382
|
ariaSelection: ariaSelection,
|
|
25412
25383
|
focusedOption: focusedOption,
|
|
@@ -25432,7 +25403,7 @@ var Select = /*#__PURE__*/function (_Component) {
|
|
|
25432
25403
|
menuIsOpen = _this$props14.menuIsOpen;
|
|
25433
25404
|
var isFocused = this.state.isFocused;
|
|
25434
25405
|
var commonProps = this.commonProps = this.getCommonProps();
|
|
25435
|
-
return /*#__PURE__*/React.createElement(SelectContainer, _extends$
|
|
25406
|
+
return /*#__PURE__*/React.createElement(SelectContainer, _extends$a({}, commonProps, {
|
|
25436
25407
|
className: className,
|
|
25437
25408
|
innerProps: {
|
|
25438
25409
|
id: id,
|
|
@@ -25440,7 +25411,7 @@ var Select = /*#__PURE__*/function (_Component) {
|
|
|
25440
25411
|
},
|
|
25441
25412
|
isDisabled: isDisabled,
|
|
25442
25413
|
isFocused: isFocused
|
|
25443
|
-
}), this.renderLiveRegion(), /*#__PURE__*/React.createElement(Control, _extends$
|
|
25414
|
+
}), this.renderLiveRegion(), /*#__PURE__*/React.createElement(Control, _extends$a({}, commonProps, {
|
|
25444
25415
|
innerRef: this.getControlRef,
|
|
25445
25416
|
innerProps: {
|
|
25446
25417
|
onMouseDown: this.onControlMouseDown,
|
|
@@ -25449,9 +25420,9 @@ var Select = /*#__PURE__*/function (_Component) {
|
|
|
25449
25420
|
isDisabled: isDisabled,
|
|
25450
25421
|
isFocused: isFocused,
|
|
25451
25422
|
menuIsOpen: menuIsOpen
|
|
25452
|
-
}), /*#__PURE__*/React.createElement(ValueContainer, _extends$
|
|
25423
|
+
}), /*#__PURE__*/React.createElement(ValueContainer, _extends$a({}, commonProps, {
|
|
25453
25424
|
isDisabled: isDisabled
|
|
25454
|
-
}), this.renderPlaceholderOrValue(), this.renderInput()), /*#__PURE__*/React.createElement(IndicatorsContainer, _extends$
|
|
25425
|
+
}), this.renderPlaceholderOrValue(), this.renderInput()), /*#__PURE__*/React.createElement(IndicatorsContainer, _extends$a({}, commonProps, {
|
|
25455
25426
|
isDisabled: isDisabled
|
|
25456
25427
|
}), this.renderClearIndicator(), this.renderLoadingIndicator(), this.renderIndicatorSeparator(), this.renderDropdownIndicator())), this.renderMenu(), this.renderFormField());
|
|
25457
25428
|
}
|
|
@@ -25722,7 +25693,7 @@ function useAsync(_ref) {
|
|
|
25722
25693
|
var AsyncSelect$1 = /*#__PURE__*/forwardRef(function (props, ref) {
|
|
25723
25694
|
var stateManagedProps = useAsync(props);
|
|
25724
25695
|
var selectProps = useStateManager(stateManagedProps);
|
|
25725
|
-
return /*#__PURE__*/React.createElement(Select, _extends$
|
|
25696
|
+
return /*#__PURE__*/React.createElement(Select, _extends$a({
|
|
25726
25697
|
ref: ref
|
|
25727
25698
|
}, selectProps));
|
|
25728
25699
|
});
|
|
@@ -28771,8 +28742,8 @@ function (_React$Component) {
|
|
|
28771
28742
|
placement: _this.props.placement,
|
|
28772
28743
|
eventsEnabled: _this.props.eventsEnabled,
|
|
28773
28744
|
positionFixed: _this.props.positionFixed,
|
|
28774
|
-
modifiers: _extends$
|
|
28775
|
-
arrow: _extends$
|
|
28745
|
+
modifiers: _extends$c({}, _this.props.modifiers, {
|
|
28746
|
+
arrow: _extends$c({}, _this.props.modifiers && _this.props.modifiers.arrow, {
|
|
28776
28747
|
enabled: !!_this.arrowNode,
|
|
28777
28748
|
element: _this.arrowNode
|
|
28778
28749
|
}),
|
|
@@ -28785,7 +28756,7 @@ function (_React$Component) {
|
|
|
28785
28756
|
});
|
|
28786
28757
|
|
|
28787
28758
|
_defineProperty$3(_assertThisInitialized$3(_assertThisInitialized$3(_this)), "getPopperStyle", function () {
|
|
28788
|
-
return !_this.popperNode || !_this.state.data ? initialStyle : _extends$
|
|
28759
|
+
return !_this.popperNode || !_this.state.data ? initialStyle : _extends$c({
|
|
28789
28760
|
position: _this.state.data.offsets.popper.position
|
|
28790
28761
|
}, _this.state.data.styles);
|
|
28791
28762
|
});
|
|
@@ -28893,7 +28864,7 @@ function Popper$2(_ref) {
|
|
|
28893
28864
|
props = _objectWithoutPropertiesLoose$4(_ref, ["referenceElement"]);
|
|
28894
28865
|
|
|
28895
28866
|
return React.createElement(ManagerReferenceNodeContext$1.Consumer, null, function (referenceNode) {
|
|
28896
|
-
return React.createElement(InnerPopper, _extends$
|
|
28867
|
+
return React.createElement(InnerPopper, _extends$c({
|
|
28897
28868
|
referenceElement: referenceElement !== undefined ? referenceElement : referenceNode
|
|
28898
28869
|
}, props));
|
|
28899
28870
|
});
|
|
@@ -28939,7 +28910,7 @@ function (_React$Component) {
|
|
|
28939
28910
|
|
|
28940
28911
|
function Reference$1(props) {
|
|
28941
28912
|
return React.createElement(ManagerReferenceNodeSetterContext$1.Consumer, null, function (setReferenceNode) {
|
|
28942
|
-
return React.createElement(InnerReference, _extends$
|
|
28913
|
+
return React.createElement(InnerReference, _extends$c({
|
|
28943
28914
|
setReferenceNode: setReferenceNode
|
|
28944
28915
|
}, props));
|
|
28945
28916
|
});
|
|
@@ -29752,7 +29723,7 @@ var pick = function pick(o) {
|
|
|
29752
29723
|
|
|
29753
29724
|
var StateManagedSelect = /*#__PURE__*/forwardRef(function (props, ref) {
|
|
29754
29725
|
var baseSelectProps = useStateManager(props);
|
|
29755
|
-
return /*#__PURE__*/React.createElement(Select, _extends$
|
|
29726
|
+
return /*#__PURE__*/React.createElement(Select, _extends$a({
|
|
29756
29727
|
ref: ref
|
|
29757
29728
|
}, baseSelectProps));
|
|
29758
29729
|
});
|
|
@@ -30688,7 +30659,7 @@ var FocusLock$1 = /*#__PURE__*/React.forwardRef(function FocusLockUI(props, pare
|
|
|
30688
30659
|
}
|
|
30689
30660
|
}, []);
|
|
30690
30661
|
}
|
|
30691
|
-
var lockProps = _extends$
|
|
30662
|
+
var lockProps = _extends$a((_extends2 = {}, _extends2[FOCUS_DISABLED] = disabled && 'disabled', _extends2[FOCUS_GROUP] = group, _extends2), containerProps);
|
|
30692
30663
|
var hasLeadingGuards = noFocusGuards !== true;
|
|
30693
30664
|
var hasTailingGuards = hasLeadingGuards && noFocusGuards !== 'tail';
|
|
30694
30665
|
var mergedRef = useMergeRefs([parentRef, setObserveNode]);
|
|
@@ -30727,7 +30698,7 @@ var FocusLock$1 = /*#__PURE__*/React.forwardRef(function FocusLockUI(props, pare
|
|
|
30727
30698
|
returnFocus: returnFocus,
|
|
30728
30699
|
focusOptions: focusOptions,
|
|
30729
30700
|
noFocusGuards: noFocusGuards
|
|
30730
|
-
}), /*#__PURE__*/React.createElement(Container, _extends$
|
|
30701
|
+
}), /*#__PURE__*/React.createElement(Container, _extends$a({
|
|
30731
30702
|
ref: mergedRef
|
|
30732
30703
|
}, lockProps, {
|
|
30733
30704
|
className: className,
|
|
@@ -32057,7 +32028,7 @@ mediumEffect.assignMedium(function (cb) {
|
|
|
32057
32028
|
var FocusTrap = withSideEffect(reducePropsToState, handleStateChangeOnClient)(FocusWatcher);
|
|
32058
32029
|
|
|
32059
32030
|
var FocusLockCombination = /*#__PURE__*/React.forwardRef(function FocusLockUICombination(props, ref) {
|
|
32060
|
-
return /*#__PURE__*/React.createElement(FocusLockUI, _extends$
|
|
32031
|
+
return /*#__PURE__*/React.createElement(FocusLockUI, _extends$a({
|
|
32061
32032
|
sideCar: FocusTrap,
|
|
32062
32033
|
ref: ref
|
|
32063
32034
|
}, props));
|
|
@@ -34861,7 +34832,7 @@ var BaseNavBarSearch = function BaseNavBarSearch(_ref) {
|
|
|
34861
34832
|
var _useTranslation = useTranslation(),
|
|
34862
34833
|
t = _useTranslation.t;
|
|
34863
34834
|
|
|
34864
|
-
return /*#__PURE__*/React__default.createElement("form", _extends$
|
|
34835
|
+
return /*#__PURE__*/React__default.createElement("form", _extends$c({}, props, {
|
|
34865
34836
|
onSubmit: handleOnSubmit
|
|
34866
34837
|
}), /*#__PURE__*/React__default.createElement(Flex, {
|
|
34867
34838
|
role: "search"
|
|
@@ -61370,7 +61341,7 @@ function createListComponent(_ref) {
|
|
|
61370
61341
|
className: className,
|
|
61371
61342
|
onScroll: onScroll,
|
|
61372
61343
|
ref: this._outerRefSetter,
|
|
61373
|
-
style: _extends$
|
|
61344
|
+
style: _extends$a({
|
|
61374
61345
|
position: 'relative',
|
|
61375
61346
|
height: height,
|
|
61376
61347
|
width: width,
|
|
@@ -65235,7 +65206,7 @@ var TooltipTriggerContext = /*#__PURE__*/React.createContext({
|
|
|
65235
65206
|
});
|
|
65236
65207
|
var TooltipProvider = $a093c7e1ec25a057$export$2881499e37b75b9a;
|
|
65237
65208
|
|
|
65238
|
-
|
|
65209
|
+
function Tooltip(_a) {
|
|
65239
65210
|
var _b, _c;
|
|
65240
65211
|
|
|
65241
65212
|
var children = _a.children,
|
|
@@ -65257,7 +65228,7 @@ var Tooltip = function Tooltip(_a) {
|
|
|
65257
65228
|
supportMobileTap: (_c = props.supportMobileTap) !== null && _c !== void 0 ? _c : false
|
|
65258
65229
|
}
|
|
65259
65230
|
}, children));
|
|
65260
|
-
}
|
|
65231
|
+
}
|
|
65261
65232
|
|
|
65262
65233
|
Tooltip.displayName = $a093c7e1ec25a057$export$be92b6f5f03c0fe9.displayName;
|
|
65263
65234
|
var TooltipTrigger = /*#__PURE__*/React.forwardRef(function (_a, ref) {
|
|
@@ -65293,7 +65264,7 @@ var slideLeftAndFade = keyframes$3(["from{opacity:0;transform:translateX(2px);}t
|
|
|
65293
65264
|
var StyledContent = styled($a093c7e1ec25a057$export$7c6e2c02157bb7d2).withConfig({
|
|
65294
65265
|
displayName: "TooltipComponents__StyledContent",
|
|
65295
65266
|
componentId: "sc-1fm7xjh-0"
|
|
65296
|
-
})(["font-family:", ";font-size:", ";line-height:", ";border-radius:", ";padding:", ";color:", ";background-color:", ";border:1px solid ", ";box-shadow:", ";
|
|
65267
|
+
})(["font-family:", ";font-size:", ";line-height:", ";border-radius:", ";padding:", ";color:", ";background-color:", ";border:1px solid ", ";box-shadow:", ";animation-duration:400ms;animation-timing-function:cubic-bezier(0.16,1,0.3,1);will-change:transform,opacity;&[data-state=\"delayed-open\"][data-side=\"top\"]{animation-name:", ";}&[data-state=\"delayed-open\"][data-side=\"right\"]{animation-name:", ";}&[data-state=\"delayed-open\"][data-side=\"bottom\"]{animation-name:", ";}&[data-state=\"delayed-open\"][data-side=\"left\"]{animation-name:", ";}", ""], function (_ref) {
|
|
65297
65268
|
var theme = _ref.theme;
|
|
65298
65269
|
return theme.fonts.base;
|
|
65299
65270
|
}, function (_ref2) {
|
|
@@ -65320,15 +65291,12 @@ var StyledContent = styled($a093c7e1ec25a057$export$7c6e2c02157bb7d2).withConfig
|
|
|
65320
65291
|
}, function (_ref9) {
|
|
65321
65292
|
var theme = _ref9.theme;
|
|
65322
65293
|
return theme.shadows.medium;
|
|
65323
|
-
}, function (_ref10) {
|
|
65324
|
-
var theme = _ref10.theme;
|
|
65325
|
-
return theme.zIndices.content;
|
|
65326
65294
|
}, slideDownAndFade, slideLeftAndFade, slideUpAndFade, slideRightAndFade, maxWidth);
|
|
65327
65295
|
var StyledArrow = styled($a093c7e1ec25a057$export$21b07c8f274aebd5).withConfig({
|
|
65328
65296
|
displayName: "TooltipComponents__StyledArrow",
|
|
65329
65297
|
componentId: "sc-1fm7xjh-1"
|
|
65330
|
-
})(function (
|
|
65331
|
-
var theme =
|
|
65298
|
+
})(function (_ref10) {
|
|
65299
|
+
var theme = _ref10.theme;
|
|
65332
65300
|
return {
|
|
65333
65301
|
fill: theme.colors.white,
|
|
65334
65302
|
filter: "drop-shadow(0px 1px 0px " + theme.colors.grey + ")"
|
|
@@ -65351,7 +65319,7 @@ var TooltipContent = /*#__PURE__*/React.forwardRef(function (_a, ref) {
|
|
|
65351
65319
|
});
|
|
65352
65320
|
TooltipContent.displayName = $a093c7e1ec25a057$export$7c6e2c02157bb7d2.displayName;
|
|
65353
65321
|
|
|
65354
|
-
|
|
65322
|
+
function MaybeTooltip(_ref) {
|
|
65355
65323
|
var tooltip = _ref.tooltip,
|
|
65356
65324
|
children = _ref.children,
|
|
65357
65325
|
_ref$placement = _ref.placement,
|
|
@@ -65378,12 +65346,12 @@ var MaybeTooltip = function MaybeTooltip(_ref) {
|
|
|
65378
65346
|
supportMobileTap: supportMobileTap
|
|
65379
65347
|
}, /*#__PURE__*/React__default.createElement(TooltipTrigger, {
|
|
65380
65348
|
asChild: true
|
|
65381
|
-
}, children), /*#__PURE__*/React__default.createElement(
|
|
65349
|
+
}, children), /*#__PURE__*/React__default.createElement(TooltipContent, {
|
|
65382
65350
|
side: placement,
|
|
65383
65351
|
className: className,
|
|
65384
65352
|
maxWidth: maxWidth
|
|
65385
|
-
}, tooltip)))
|
|
65386
|
-
}
|
|
65353
|
+
}, tooltip)));
|
|
65354
|
+
}
|
|
65387
65355
|
|
|
65388
65356
|
var TruncatedTextFillWidth = function TruncatedTextFillWidth(_a) {
|
|
65389
65357
|
var element = _a.element,
|
|
@@ -65464,21 +65432,16 @@ var TruncatedText = function TruncatedText(_a) {
|
|
|
65464
65432
|
_a$dataTestid = _a["data-testid"],
|
|
65465
65433
|
dataTestId = _a$dataTestid === void 0 ? "truncated-text" : _a$dataTestid,
|
|
65466
65434
|
children = _a.children,
|
|
65467
|
-
|
|
65435
|
+
rest = __rest$3(_a, ["indicator", "element", "maxCharacters", "fullWidth", "showTooltip", "data-testid", "children"]);
|
|
65468
65436
|
|
|
65469
|
-
|
|
65470
|
-
indicator: indicator,
|
|
65471
|
-
element: element,
|
|
65472
|
-
maxCharacters: maxCharacters,
|
|
65473
|
-
showTooltip: showTooltip,
|
|
65474
|
-
"data-testid": dataTestId
|
|
65475
|
-
}, props), children) : /*#__PURE__*/React__default.createElement(TruncatedTextMaxCharacters, Object.assign({
|
|
65437
|
+
var props = Object.assign({
|
|
65476
65438
|
indicator: indicator,
|
|
65477
65439
|
element: element,
|
|
65478
65440
|
maxCharacters: maxCharacters,
|
|
65479
65441
|
showTooltip: showTooltip,
|
|
65480
65442
|
"data-testid": dataTestId
|
|
65481
|
-
},
|
|
65443
|
+
}, rest);
|
|
65444
|
+
return fullWidth ? /*#__PURE__*/React__default.createElement(TruncatedTextFillWidth, Object.assign({}, props), children) : /*#__PURE__*/React__default.createElement(TruncatedTextMaxCharacters, Object.assign({}, props), children);
|
|
65482
65445
|
};
|
|
65483
65446
|
|
|
65484
65447
|
var VerticalDivider = styled.div.withConfig({
|