@nulogy/components 14.4.1 → 14.5.0
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 +171 -123
- package/dist/main.module.js +176 -128
- package/dist/src/Card/Card.story.d.ts +6 -1
- package/dist/src/Table/BaseTable.d.ts +3 -2
- package/dist/src/Table/StatefulTable.d.ts +1 -0
- package/dist/src/Table/Table.types.d.ts +1 -0
- package/dist/src/Table/TableBody.d.ts +3 -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$d 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$c() { _extends$c = 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$c.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$c({}, 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$c({}, 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$c({}, 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$b() {
|
|
11024
|
+
_extends$b = 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$a() {
|
|
|
11032
11032
|
}
|
|
11033
11033
|
return target;
|
|
11034
11034
|
};
|
|
11035
|
-
return _extends$
|
|
11035
|
+
return _extends$b.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$b({}, 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$b({}, 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$a() {
|
|
14670
|
+
return _extends$a = 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$a.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$9() {
|
|
14807
|
+
return _extends$9 = 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$9.apply(null, arguments);
|
|
14814
14814
|
}
|
|
14815
14815
|
|
|
14816
|
-
function _extends$
|
|
14817
|
-
return _extends$
|
|
14816
|
+
function _extends$8() {
|
|
14817
|
+
return _extends$8 = 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$8.apply(null, arguments);
|
|
14824
14824
|
}
|
|
14825
14825
|
|
|
14826
|
-
function _extends$
|
|
14827
|
-
return _extends$
|
|
14826
|
+
function _extends$7() {
|
|
14827
|
+
return _extends$7 = 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$7.apply(null, arguments);
|
|
14834
14834
|
}
|
|
14835
14835
|
|
|
14836
14836
|
/* -------------------------------------------------------------------------------------------------
|
|
@@ -14850,11 +14850,11 @@ function _extends$6() {
|
|
|
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$7({}, 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$7({}, 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$8({}, 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$9({}, 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$6() {
|
|
15278
|
+
return _extends$6 = 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$6.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$5() {
|
|
17691
|
+
return _extends$5 = 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$5.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$5({}, 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$6({}, 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$6({
|
|
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$6({}, arrowProps, {
|
|
17971
17971
|
ref: forwardedRef,
|
|
17972
17972
|
style: {
|
|
17973
17973
|
...arrowProps.style,
|
|
@@ -18033,6 +18033,24 @@ 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
|
+
|
|
18036
18054
|
function $fe963b355347cc68$export$3e6543de14f8614f(initialState, machine) {
|
|
18037
18055
|
return useReducer((state, event)=>{
|
|
18038
18056
|
const nextState = machine[state][event];
|
|
@@ -18379,9 +18397,9 @@ const $a093c7e1ec25a057$export$8c610744efcf8a1d = /*#__PURE__*/ forwardRef((prop
|
|
|
18379
18397
|
}, [
|
|
18380
18398
|
handlePointerUp
|
|
18381
18399
|
]);
|
|
18382
|
-
return /*#__PURE__*/ createElement($cf1ac5d9fe0e8206$export$b688253958b8dfe7, _extends$
|
|
18400
|
+
return /*#__PURE__*/ createElement($cf1ac5d9fe0e8206$export$b688253958b8dfe7, _extends$a({
|
|
18383
18401
|
asChild: true
|
|
18384
|
-
}, popperScope), /*#__PURE__*/ createElement($8927f6f2acc4f386$export$250ffa63cdc0d034.button, _extends$
|
|
18402
|
+
}, popperScope), /*#__PURE__*/ createElement($8927f6f2acc4f386$export$250ffa63cdc0d034.button, _extends$a({
|
|
18385
18403
|
// We purposefully avoid adding `type=button` here because tooltip triggers are also
|
|
18386
18404
|
// commonly anchors and the anchor `type` attribute signifies MIME type.
|
|
18387
18405
|
"aria-describedby": context.open ? context.contentId : undefined,
|
|
@@ -18418,6 +18436,19 @@ const $a093c7e1ec25a057$export$8c610744efcf8a1d = /*#__PURE__*/ forwardRef((prop
|
|
|
18418
18436
|
const [$a093c7e1ec25a057$var$PortalProvider, $a093c7e1ec25a057$var$usePortalContext] = $a093c7e1ec25a057$var$createTooltipContext($a093c7e1ec25a057$var$PORTAL_NAME, {
|
|
18419
18437
|
forceMount: undefined
|
|
18420
18438
|
});
|
|
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
|
+
};
|
|
18421
18452
|
/* -------------------------------------------------------------------------------------------------
|
|
18422
18453
|
* TooltipContent
|
|
18423
18454
|
* -----------------------------------------------------------------------------------------------*/ const $a093c7e1ec25a057$var$CONTENT_NAME = 'TooltipContent';
|
|
@@ -18427,11 +18458,11 @@ const $a093c7e1ec25a057$export$e9003e2be37ec060 = /*#__PURE__*/ forwardRef((prop
|
|
|
18427
18458
|
const context = $a093c7e1ec25a057$var$useTooltipContext($a093c7e1ec25a057$var$CONTENT_NAME, props.__scopeTooltip);
|
|
18428
18459
|
return /*#__PURE__*/ createElement($921a889cee6df7e8$export$99c2b779aa4e8b8b, {
|
|
18429
18460
|
present: forceMount || context.open
|
|
18430
|
-
}, context.disableHoverableContent ? /*#__PURE__*/ createElement($a093c7e1ec25a057$var$TooltipContentImpl, _extends$
|
|
18461
|
+
}, context.disableHoverableContent ? /*#__PURE__*/ createElement($a093c7e1ec25a057$var$TooltipContentImpl, _extends$a({
|
|
18431
18462
|
side: side
|
|
18432
18463
|
}, contentProps, {
|
|
18433
18464
|
ref: forwardedRef
|
|
18434
|
-
})) : /*#__PURE__*/ createElement($a093c7e1ec25a057$var$TooltipContentHoverable, _extends$
|
|
18465
|
+
})) : /*#__PURE__*/ createElement($a093c7e1ec25a057$var$TooltipContentHoverable, _extends$a({
|
|
18435
18466
|
side: side
|
|
18436
18467
|
}, contentProps, {
|
|
18437
18468
|
ref: forwardedRef
|
|
@@ -18522,7 +18553,7 @@ const $a093c7e1ec25a057$var$TooltipContentHoverable = /*#__PURE__*/ forwardRef((
|
|
|
18522
18553
|
onClose,
|
|
18523
18554
|
handleRemoveGraceArea
|
|
18524
18555
|
]);
|
|
18525
|
-
return /*#__PURE__*/ createElement($a093c7e1ec25a057$var$TooltipContentImpl, _extends$
|
|
18556
|
+
return /*#__PURE__*/ createElement($a093c7e1ec25a057$var$TooltipContentImpl, _extends$a({}, props, {
|
|
18526
18557
|
ref: composedRefs
|
|
18527
18558
|
}));
|
|
18528
18559
|
});
|
|
@@ -18567,7 +18598,7 @@ const $a093c7e1ec25a057$var$TooltipContentImpl = /*#__PURE__*/ forwardRef((props
|
|
|
18567
18598
|
onFocusOutside: (event)=>event.preventDefault()
|
|
18568
18599
|
,
|
|
18569
18600
|
onDismiss: onClose
|
|
18570
|
-
}, /*#__PURE__*/ createElement($cf1ac5d9fe0e8206$export$7c6e2c02157bb7d2, _extends$
|
|
18601
|
+
}, /*#__PURE__*/ createElement($cf1ac5d9fe0e8206$export$7c6e2c02157bb7d2, _extends$a({
|
|
18571
18602
|
"data-state": context.stateAttribute
|
|
18572
18603
|
}, popperScope, contentProps, {
|
|
18573
18604
|
ref: forwardedRef,
|
|
@@ -18595,7 +18626,7 @@ const $a093c7e1ec25a057$export$c27ee0ad710f7559 = /*#__PURE__*/ forwardRef((prop
|
|
|
18595
18626
|
const popperScope = $a093c7e1ec25a057$var$usePopperScope(__scopeTooltip);
|
|
18596
18627
|
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
|
|
18597
18628
|
// prevent issues in positioning the arrow due to the duplicate
|
|
18598
|
-
return visuallyHiddenContentContext.isInside ? null : /*#__PURE__*/ createElement($cf1ac5d9fe0e8206$export$21b07c8f274aebd5, _extends$
|
|
18629
|
+
return visuallyHiddenContentContext.isInside ? null : /*#__PURE__*/ createElement($cf1ac5d9fe0e8206$export$21b07c8f274aebd5, _extends$a({}, popperScope, arrowProps, {
|
|
18599
18630
|
ref: forwardedRef
|
|
18600
18631
|
}));
|
|
18601
18632
|
});
|
|
@@ -18738,6 +18769,7 @@ function $a093c7e1ec25a057$var$getHullPresorted(points) {
|
|
|
18738
18769
|
const $a093c7e1ec25a057$export$2881499e37b75b9a = $a093c7e1ec25a057$export$f78649fb9ca566b8;
|
|
18739
18770
|
const $a093c7e1ec25a057$export$be92b6f5f03c0fe9 = $a093c7e1ec25a057$export$28c660c63b792dea;
|
|
18740
18771
|
const $a093c7e1ec25a057$export$41fb9f06171c75f4 = $a093c7e1ec25a057$export$8c610744efcf8a1d;
|
|
18772
|
+
const $a093c7e1ec25a057$export$602eac185826482c = $a093c7e1ec25a057$export$7b36b8f925ab7497;
|
|
18741
18773
|
const $a093c7e1ec25a057$export$7c6e2c02157bb7d2 = $a093c7e1ec25a057$export$e9003e2be37ec060;
|
|
18742
18774
|
const $a093c7e1ec25a057$export$21b07c8f274aebd5 = $a093c7e1ec25a057$export$c27ee0ad710f7559;
|
|
18743
18775
|
|
|
@@ -18753,9 +18785,9 @@ function Tooltip$2(_ref) {
|
|
|
18753
18785
|
|
|
18754
18786
|
return /*#__PURE__*/React__default.createElement($a093c7e1ec25a057$export$2881499e37b75b9a, null, /*#__PURE__*/React__default.createElement($a093c7e1ec25a057$export$be92b6f5f03c0fe9, null, /*#__PURE__*/React__default.createElement($a093c7e1ec25a057$export$41fb9f06171c75f4, {
|
|
18755
18787
|
asChild: true
|
|
18756
|
-
}, children), /*#__PURE__*/React__default.createElement(TooltipContent$1, {
|
|
18788
|
+
}, children), /*#__PURE__*/React__default.createElement($a093c7e1ec25a057$export$602eac185826482c, null, /*#__PURE__*/React__default.createElement(TooltipContent$1, {
|
|
18757
18789
|
sideOffset: 4
|
|
18758
|
-
}, content)));
|
|
18790
|
+
}, content))));
|
|
18759
18791
|
}
|
|
18760
18792
|
var slideUpAndFade$1 = keyframes$3(["from{opacity:0;transform:translateY(2px);}to{opacity:1;transform:translateY(0);}"]);
|
|
18761
18793
|
var slideRightAndFade$1 = keyframes$3(["from{opacity:0;transform:translateX(-2px);}to{opacity:1;transform:translateX(0);}"]);
|
|
@@ -18764,33 +18796,33 @@ var slideLeftAndFade$1 = keyframes$3(["from{opacity:0;transform:translateX(2px);
|
|
|
18764
18796
|
var TooltipContent$1 = styled($a093c7e1ec25a057$export$7c6e2c02157bb7d2).withConfig({
|
|
18765
18797
|
displayName: "Tooltip__TooltipContent",
|
|
18766
18798
|
componentId: "sc-1f1p4mx-0"
|
|
18767
|
-
})(["font-family:", ";
|
|
18799
|
+
})(["font-family:", ";white-space:nowrap;font-size:", ";line-height:", ";color:", ";background-color:", ";border-radius:", ";margin-top:", ";padding:", ";z-index:", ";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) {
|
|
18768
18800
|
var theme = _ref2.theme;
|
|
18769
18801
|
return theme.fonts.base;
|
|
18770
18802
|
}, function (_ref3) {
|
|
18771
18803
|
var theme = _ref3.theme;
|
|
18772
|
-
return theme.
|
|
18804
|
+
return theme.fontSizes.smaller;
|
|
18773
18805
|
}, function (_ref4) {
|
|
18774
18806
|
var theme = _ref4.theme;
|
|
18775
|
-
return theme.
|
|
18807
|
+
return theme.lineHeights.smallerText;
|
|
18776
18808
|
}, function (_ref5) {
|
|
18777
18809
|
var theme = _ref5.theme;
|
|
18778
|
-
return theme.
|
|
18810
|
+
return theme.colors.whiteGrey;
|
|
18779
18811
|
}, function (_ref6) {
|
|
18780
18812
|
var theme = _ref6.theme;
|
|
18781
|
-
return theme.colors.
|
|
18813
|
+
return curriedTransparentize(0.05, theme.colors.blackBlue);
|
|
18782
18814
|
}, function (_ref7) {
|
|
18783
18815
|
var theme = _ref7.theme;
|
|
18784
|
-
return
|
|
18816
|
+
return theme.radii.medium;
|
|
18785
18817
|
}, function (_ref8) {
|
|
18786
18818
|
var theme = _ref8.theme;
|
|
18787
|
-
return theme.
|
|
18819
|
+
return theme.space.half;
|
|
18788
18820
|
}, function (_ref9) {
|
|
18789
18821
|
var theme = _ref9.theme;
|
|
18790
|
-
return theme.space.
|
|
18822
|
+
return theme.space.x0_25 + " " + theme.space.x0_75;
|
|
18791
18823
|
}, function (_ref10) {
|
|
18792
18824
|
var theme = _ref10.theme;
|
|
18793
|
-
return theme.
|
|
18825
|
+
return theme.zIndices.aboveOverlay;
|
|
18794
18826
|
}, slideUpAndFade$1, slideRightAndFade$1, slideDownAndFade$1, slideLeftAndFade$1);
|
|
18795
18827
|
|
|
18796
18828
|
function AppTag(_ref) {
|
|
@@ -21975,7 +22007,7 @@ var Menu$2 = function Menu(props) {
|
|
|
21975
22007
|
var children = props.children,
|
|
21976
22008
|
innerRef = props.innerRef,
|
|
21977
22009
|
innerProps = props.innerProps;
|
|
21978
|
-
return jsx("div", _extends$
|
|
22010
|
+
return jsx("div", _extends$b({}, getStyleProps(props, 'menu', {
|
|
21979
22011
|
menu: true
|
|
21980
22012
|
}), {
|
|
21981
22013
|
ref: innerRef
|
|
@@ -22006,7 +22038,7 @@ var MenuList$1 = function MenuList(props) {
|
|
|
22006
22038
|
innerProps = props.innerProps,
|
|
22007
22039
|
innerRef = props.innerRef,
|
|
22008
22040
|
isMulti = props.isMulti;
|
|
22009
|
-
return jsx("div", _extends$
|
|
22041
|
+
return jsx("div", _extends$b({}, getStyleProps(props, 'menuList', {
|
|
22010
22042
|
'menu-list': true,
|
|
22011
22043
|
'menu-list--is-multi': isMulti
|
|
22012
22044
|
}), {
|
|
@@ -22036,7 +22068,7 @@ var NoOptionsMessage = function NoOptionsMessage(_ref6) {
|
|
|
22036
22068
|
children = _ref6$children === void 0 ? 'No options' : _ref6$children,
|
|
22037
22069
|
innerProps = _ref6.innerProps,
|
|
22038
22070
|
restProps = _objectWithoutProperties(_ref6, _excluded$3$1);
|
|
22039
|
-
return jsx("div", _extends$
|
|
22071
|
+
return jsx("div", _extends$b({}, getStyleProps(_objectSpread2(_objectSpread2({}, restProps), {}, {
|
|
22040
22072
|
children: children,
|
|
22041
22073
|
innerProps: innerProps
|
|
22042
22074
|
}), 'noOptionsMessage', {
|
|
@@ -22049,7 +22081,7 @@ var LoadingMessage = function LoadingMessage(_ref7) {
|
|
|
22049
22081
|
children = _ref7$children === void 0 ? 'Loading...' : _ref7$children,
|
|
22050
22082
|
innerProps = _ref7.innerProps,
|
|
22051
22083
|
restProps = _objectWithoutProperties(_ref7, _excluded2$1);
|
|
22052
|
-
return jsx("div", _extends$
|
|
22084
|
+
return jsx("div", _extends$b({}, getStyleProps(_objectSpread2(_objectSpread2({}, restProps), {}, {
|
|
22053
22085
|
children: children,
|
|
22054
22086
|
innerProps: innerProps
|
|
22055
22087
|
}), 'loadingMessage', {
|
|
@@ -22134,7 +22166,7 @@ var MenuPortal = function MenuPortal(props) {
|
|
|
22134
22166
|
if (!appendTo && menuPosition !== 'fixed' || !computedPosition) return null;
|
|
22135
22167
|
|
|
22136
22168
|
// same wrapper element whether fixed or portalled
|
|
22137
|
-
var menuWrapper = jsx("div", _extends$
|
|
22169
|
+
var menuWrapper = jsx("div", _extends$b({
|
|
22138
22170
|
ref: setMenuPortalElement
|
|
22139
22171
|
}, getStyleProps(_objectSpread2(_objectSpread2({}, props), {}, {
|
|
22140
22172
|
offset: computedPosition.offset,
|
|
@@ -22168,7 +22200,7 @@ var SelectContainer$2 = function SelectContainer(props) {
|
|
|
22168
22200
|
innerProps = props.innerProps,
|
|
22169
22201
|
isDisabled = props.isDisabled,
|
|
22170
22202
|
isRtl = props.isRtl;
|
|
22171
|
-
return jsx("div", _extends$
|
|
22203
|
+
return jsx("div", _extends$b({}, getStyleProps(props, 'container', {
|
|
22172
22204
|
'--is-disabled': isDisabled,
|
|
22173
22205
|
'--is-rtl': isRtl
|
|
22174
22206
|
}), innerProps), children);
|
|
@@ -22200,7 +22232,7 @@ var ValueContainer = function ValueContainer(props) {
|
|
|
22200
22232
|
innerProps = props.innerProps,
|
|
22201
22233
|
isMulti = props.isMulti,
|
|
22202
22234
|
hasValue = props.hasValue;
|
|
22203
|
-
return jsx("div", _extends$
|
|
22235
|
+
return jsx("div", _extends$b({}, getStyleProps(props, 'valueContainer', {
|
|
22204
22236
|
'value-container': true,
|
|
22205
22237
|
'value-container--is-multi': isMulti,
|
|
22206
22238
|
'value-container--has-value': hasValue
|
|
@@ -22222,7 +22254,7 @@ var indicatorsContainerCSS = function indicatorsContainerCSS() {
|
|
|
22222
22254
|
var IndicatorsContainer = function IndicatorsContainer(props) {
|
|
22223
22255
|
var children = props.children,
|
|
22224
22256
|
innerProps = props.innerProps;
|
|
22225
|
-
return jsx("div", _extends$
|
|
22257
|
+
return jsx("div", _extends$b({}, getStyleProps(props, 'indicatorsContainer', {
|
|
22226
22258
|
indicators: true
|
|
22227
22259
|
}), innerProps), children);
|
|
22228
22260
|
};
|
|
@@ -22247,7 +22279,7 @@ var _ref2$2 = process.env.NODE_ENV === "production" ? {
|
|
|
22247
22279
|
var Svg = function Svg(_ref) {
|
|
22248
22280
|
var size = _ref.size,
|
|
22249
22281
|
props = _objectWithoutProperties(_ref, _excluded$2$1);
|
|
22250
|
-
return jsx("svg", _extends$
|
|
22282
|
+
return jsx("svg", _extends$b({
|
|
22251
22283
|
height: size,
|
|
22252
22284
|
width: size,
|
|
22253
22285
|
viewBox: "0 0 20 20",
|
|
@@ -22257,14 +22289,14 @@ var Svg = function Svg(_ref) {
|
|
|
22257
22289
|
}, props));
|
|
22258
22290
|
};
|
|
22259
22291
|
var CrossIcon = function CrossIcon(props) {
|
|
22260
|
-
return jsx(Svg, _extends$
|
|
22292
|
+
return jsx(Svg, _extends$b({
|
|
22261
22293
|
size: 20
|
|
22262
22294
|
}, props), jsx("path", {
|
|
22263
22295
|
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"
|
|
22264
22296
|
}));
|
|
22265
22297
|
};
|
|
22266
22298
|
var DownChevron = function DownChevron(props) {
|
|
22267
|
-
return jsx(Svg, _extends$
|
|
22299
|
+
return jsx(Svg, _extends$b({
|
|
22268
22300
|
size: 20
|
|
22269
22301
|
}, props), jsx("path", {
|
|
22270
22302
|
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"
|
|
@@ -22296,7 +22328,7 @@ var dropdownIndicatorCSS = baseCSS;
|
|
|
22296
22328
|
var DropdownIndicator = function DropdownIndicator(props) {
|
|
22297
22329
|
var children = props.children,
|
|
22298
22330
|
innerProps = props.innerProps;
|
|
22299
|
-
return jsx("div", _extends$
|
|
22331
|
+
return jsx("div", _extends$b({}, getStyleProps(props, 'dropdownIndicator', {
|
|
22300
22332
|
indicator: true,
|
|
22301
22333
|
'dropdown-indicator': true
|
|
22302
22334
|
}), innerProps), children || jsx(DownChevron, null));
|
|
@@ -22305,7 +22337,7 @@ var clearIndicatorCSS = baseCSS;
|
|
|
22305
22337
|
var ClearIndicator = function ClearIndicator(props) {
|
|
22306
22338
|
var children = props.children,
|
|
22307
22339
|
innerProps = props.innerProps;
|
|
22308
|
-
return jsx("div", _extends$
|
|
22340
|
+
return jsx("div", _extends$b({}, getStyleProps(props, 'clearIndicator', {
|
|
22309
22341
|
indicator: true,
|
|
22310
22342
|
'clear-indicator': true
|
|
22311
22343
|
}), innerProps), children || jsx(CrossIcon, null));
|
|
@@ -22332,7 +22364,7 @@ var indicatorSeparatorCSS = function indicatorSeparatorCSS(_ref4, unstyled) {
|
|
|
22332
22364
|
};
|
|
22333
22365
|
var IndicatorSeparator = function IndicatorSeparator(props) {
|
|
22334
22366
|
var innerProps = props.innerProps;
|
|
22335
|
-
return jsx("span", _extends$
|
|
22367
|
+
return jsx("span", _extends$b({}, innerProps, getStyleProps(props, 'indicatorSeparator', {
|
|
22336
22368
|
'indicator-separator': true
|
|
22337
22369
|
})));
|
|
22338
22370
|
};
|
|
@@ -22385,7 +22417,7 @@ var LoadingIndicator = function LoadingIndicator(_ref7) {
|
|
|
22385
22417
|
_ref7$size = _ref7.size,
|
|
22386
22418
|
size = _ref7$size === void 0 ? 4 : _ref7$size,
|
|
22387
22419
|
restProps = _objectWithoutProperties(_ref7, _excluded2$2);
|
|
22388
|
-
return jsx("div", _extends$
|
|
22420
|
+
return jsx("div", _extends$b({}, getStyleProps(_objectSpread2(_objectSpread2({}, restProps), {}, {
|
|
22389
22421
|
innerProps: innerProps,
|
|
22390
22422
|
isRtl: isRtl,
|
|
22391
22423
|
size: size
|
|
@@ -22441,7 +22473,7 @@ var Control = function Control(props) {
|
|
|
22441
22473
|
innerRef = props.innerRef,
|
|
22442
22474
|
innerProps = props.innerProps,
|
|
22443
22475
|
menuIsOpen = props.menuIsOpen;
|
|
22444
|
-
return jsx("div", _extends$
|
|
22476
|
+
return jsx("div", _extends$b({
|
|
22445
22477
|
ref: innerRef
|
|
22446
22478
|
}, getStyleProps(props, 'control', {
|
|
22447
22479
|
control: true,
|
|
@@ -22473,9 +22505,9 @@ var Group = function Group(props) {
|
|
|
22473
22505
|
label = props.label,
|
|
22474
22506
|
theme = props.theme,
|
|
22475
22507
|
selectProps = props.selectProps;
|
|
22476
|
-
return jsx("div", _extends$
|
|
22508
|
+
return jsx("div", _extends$b({}, getStyleProps(props, 'group', {
|
|
22477
22509
|
group: true
|
|
22478
|
-
}), innerProps), jsx(Heading, _extends$
|
|
22510
|
+
}), innerProps), jsx(Heading, _extends$b({}, headingProps, {
|
|
22479
22511
|
selectProps: selectProps,
|
|
22480
22512
|
theme: theme,
|
|
22481
22513
|
getStyles: getStyles,
|
|
@@ -22505,7 +22537,7 @@ var GroupHeading = function GroupHeading(props) {
|
|
|
22505
22537
|
var _cleanCommonProps = cleanCommonProps(props);
|
|
22506
22538
|
_cleanCommonProps.data;
|
|
22507
22539
|
var innerProps = _objectWithoutProperties(_cleanCommonProps, _excluded$1$1);
|
|
22508
|
-
return jsx("div", _extends$
|
|
22540
|
+
return jsx("div", _extends$b({}, getStyleProps(props, 'groupHeading', {
|
|
22509
22541
|
'group-heading': true
|
|
22510
22542
|
}), innerProps));
|
|
22511
22543
|
};
|
|
@@ -22568,11 +22600,11 @@ var Input$1 = function Input(props) {
|
|
|
22568
22600
|
isHidden = _cleanCommonProps.isHidden,
|
|
22569
22601
|
inputClassName = _cleanCommonProps.inputClassName,
|
|
22570
22602
|
innerProps = _objectWithoutProperties(_cleanCommonProps, _excluded$6);
|
|
22571
|
-
return jsx("div", _extends$
|
|
22603
|
+
return jsx("div", _extends$b({}, getStyleProps(props, 'input', {
|
|
22572
22604
|
'input-container': true
|
|
22573
22605
|
}), {
|
|
22574
22606
|
"data-value": value || ''
|
|
22575
|
-
}), jsx("input", _extends$
|
|
22607
|
+
}), jsx("input", _extends$b({
|
|
22576
22608
|
className: cx({
|
|
22577
22609
|
input: true
|
|
22578
22610
|
}, inputClassName),
|
|
@@ -22645,7 +22677,7 @@ var MultiValueLabel = MultiValueGeneric;
|
|
|
22645
22677
|
function MultiValueRemove(_ref5) {
|
|
22646
22678
|
var children = _ref5.children,
|
|
22647
22679
|
innerProps = _ref5.innerProps;
|
|
22648
|
-
return jsx("div", _extends$
|
|
22680
|
+
return jsx("div", _extends$b({
|
|
22649
22681
|
role: "button"
|
|
22650
22682
|
}, innerProps), children || jsx(CrossIcon, {
|
|
22651
22683
|
size: 14
|
|
@@ -22719,7 +22751,7 @@ var Option = function Option(props) {
|
|
|
22719
22751
|
isSelected = props.isSelected,
|
|
22720
22752
|
innerRef = props.innerRef,
|
|
22721
22753
|
innerProps = props.innerProps;
|
|
22722
|
-
return jsx("div", _extends$
|
|
22754
|
+
return jsx("div", _extends$b({}, getStyleProps(props, 'option', {
|
|
22723
22755
|
option: true,
|
|
22724
22756
|
'option--is-disabled': isDisabled,
|
|
22725
22757
|
'option--is-focused': isFocused,
|
|
@@ -22747,7 +22779,7 @@ var placeholderCSS = function placeholderCSS(_ref, unstyled) {
|
|
|
22747
22779
|
var Placeholder = function Placeholder(props) {
|
|
22748
22780
|
var children = props.children,
|
|
22749
22781
|
innerProps = props.innerProps;
|
|
22750
|
-
return jsx("div", _extends$
|
|
22782
|
+
return jsx("div", _extends$b({}, getStyleProps(props, 'placeholder', {
|
|
22751
22783
|
placeholder: true
|
|
22752
22784
|
}), innerProps), children);
|
|
22753
22785
|
};
|
|
@@ -22775,7 +22807,7 @@ var SingleValue = function SingleValue(props) {
|
|
|
22775
22807
|
var children = props.children,
|
|
22776
22808
|
isDisabled = props.isDisabled,
|
|
22777
22809
|
innerProps = props.innerProps;
|
|
22778
|
-
return jsx("div", _extends$
|
|
22810
|
+
return jsx("div", _extends$b({}, getStyleProps(props, 'singleValue', {
|
|
22779
22811
|
'single-value': true,
|
|
22780
22812
|
'single-value--is-disabled': isDisabled
|
|
22781
22813
|
}), innerProps), children);
|
|
@@ -22876,7 +22908,7 @@ var _ref$1 = process.env.NODE_ENV === "production" ? {
|
|
|
22876
22908
|
toString: _EMOTION_STRINGIFIED_CSS_ERROR__$2
|
|
22877
22909
|
};
|
|
22878
22910
|
var A11yText = function A11yText(props) {
|
|
22879
|
-
return jsx("span", _extends$
|
|
22911
|
+
return jsx("span", _extends$b({
|
|
22880
22912
|
css: _ref$1
|
|
22881
22913
|
}, props));
|
|
22882
22914
|
};
|
|
@@ -23393,7 +23425,7 @@ function DummyInput(_ref) {
|
|
|
23393
23425
|
props = _objectWithoutProperties(_ref, _excluded$5);
|
|
23394
23426
|
// Remove animation props not meant for HTML elements
|
|
23395
23427
|
var filteredProps = removeProps(props, 'onExited', 'in', 'enter', 'exit', 'appear');
|
|
23396
|
-
return jsx("input", _extends$
|
|
23428
|
+
return jsx("input", _extends$b({
|
|
23397
23429
|
ref: innerRef
|
|
23398
23430
|
}, filteredProps, {
|
|
23399
23431
|
css: /*#__PURE__*/css$2({
|
|
@@ -24969,7 +25001,7 @@ var Select = /*#__PURE__*/function (_Component) {
|
|
|
24969
25001
|
});
|
|
24970
25002
|
if (!isSearchable) {
|
|
24971
25003
|
// use a dummy input to maintain focus/blur functionality
|
|
24972
|
-
return /*#__PURE__*/React.createElement(DummyInput, _extends$
|
|
25004
|
+
return /*#__PURE__*/React.createElement(DummyInput, _extends$b({
|
|
24973
25005
|
id: id,
|
|
24974
25006
|
innerRef: this.getInputRef,
|
|
24975
25007
|
onBlur: this.onInputBlur,
|
|
@@ -24982,7 +25014,7 @@ var Select = /*#__PURE__*/function (_Component) {
|
|
|
24982
25014
|
value: ""
|
|
24983
25015
|
}, ariaAttributes));
|
|
24984
25016
|
}
|
|
24985
|
-
return /*#__PURE__*/React.createElement(Input, _extends$
|
|
25017
|
+
return /*#__PURE__*/React.createElement(Input, _extends$b({}, commonProps, {
|
|
24986
25018
|
autoCapitalize: "none",
|
|
24987
25019
|
autoComplete: "off",
|
|
24988
25020
|
autoCorrect: "off",
|
|
@@ -25023,7 +25055,7 @@ var Select = /*#__PURE__*/function (_Component) {
|
|
|
25023
25055
|
focusedValue = _this$state5.focusedValue,
|
|
25024
25056
|
isFocused = _this$state5.isFocused;
|
|
25025
25057
|
if (!this.hasValue() || !controlShouldRenderValue) {
|
|
25026
|
-
return inputValue ? null : /*#__PURE__*/React.createElement(Placeholder, _extends$
|
|
25058
|
+
return inputValue ? null : /*#__PURE__*/React.createElement(Placeholder, _extends$b({}, commonProps, {
|
|
25027
25059
|
key: "placeholder",
|
|
25028
25060
|
isDisabled: isDisabled,
|
|
25029
25061
|
isFocused: isFocused,
|
|
@@ -25036,7 +25068,7 @@ var Select = /*#__PURE__*/function (_Component) {
|
|
|
25036
25068
|
return selectValue.map(function (opt, index) {
|
|
25037
25069
|
var isOptionFocused = opt === focusedValue;
|
|
25038
25070
|
var key = "".concat(_this3.getOptionLabel(opt), "-").concat(_this3.getOptionValue(opt));
|
|
25039
|
-
return /*#__PURE__*/React.createElement(MultiValue, _extends$
|
|
25071
|
+
return /*#__PURE__*/React.createElement(MultiValue, _extends$b({}, commonProps, {
|
|
25040
25072
|
components: {
|
|
25041
25073
|
Container: MultiValueContainer,
|
|
25042
25074
|
Label: MultiValueLabel,
|
|
@@ -25065,7 +25097,7 @@ var Select = /*#__PURE__*/function (_Component) {
|
|
|
25065
25097
|
return null;
|
|
25066
25098
|
}
|
|
25067
25099
|
var singleValue = selectValue[0];
|
|
25068
|
-
return /*#__PURE__*/React.createElement(SingleValue, _extends$
|
|
25100
|
+
return /*#__PURE__*/React.createElement(SingleValue, _extends$b({}, commonProps, {
|
|
25069
25101
|
data: singleValue,
|
|
25070
25102
|
isDisabled: isDisabled
|
|
25071
25103
|
}), this.formatOptionLabel(singleValue, 'value'));
|
|
@@ -25088,7 +25120,7 @@ var Select = /*#__PURE__*/function (_Component) {
|
|
|
25088
25120
|
onTouchEnd: this.onClearIndicatorTouchEnd,
|
|
25089
25121
|
'aria-hidden': 'true'
|
|
25090
25122
|
};
|
|
25091
|
-
return /*#__PURE__*/React.createElement(ClearIndicator, _extends$
|
|
25123
|
+
return /*#__PURE__*/React.createElement(ClearIndicator, _extends$b({}, commonProps, {
|
|
25092
25124
|
innerProps: innerProps,
|
|
25093
25125
|
isFocused: isFocused
|
|
25094
25126
|
}));
|
|
@@ -25107,7 +25139,7 @@ var Select = /*#__PURE__*/function (_Component) {
|
|
|
25107
25139
|
var innerProps = {
|
|
25108
25140
|
'aria-hidden': 'true'
|
|
25109
25141
|
};
|
|
25110
|
-
return /*#__PURE__*/React.createElement(LoadingIndicator, _extends$
|
|
25142
|
+
return /*#__PURE__*/React.createElement(LoadingIndicator, _extends$b({}, commonProps, {
|
|
25111
25143
|
innerProps: innerProps,
|
|
25112
25144
|
isDisabled: isDisabled,
|
|
25113
25145
|
isFocused: isFocused
|
|
@@ -25125,7 +25157,7 @@ var Select = /*#__PURE__*/function (_Component) {
|
|
|
25125
25157
|
var commonProps = this.commonProps;
|
|
25126
25158
|
var isDisabled = this.props.isDisabled;
|
|
25127
25159
|
var isFocused = this.state.isFocused;
|
|
25128
|
-
return /*#__PURE__*/React.createElement(IndicatorSeparator, _extends$
|
|
25160
|
+
return /*#__PURE__*/React.createElement(IndicatorSeparator, _extends$b({}, commonProps, {
|
|
25129
25161
|
isDisabled: isDisabled,
|
|
25130
25162
|
isFocused: isFocused
|
|
25131
25163
|
}));
|
|
@@ -25144,7 +25176,7 @@ var Select = /*#__PURE__*/function (_Component) {
|
|
|
25144
25176
|
onTouchEnd: this.onDropdownIndicatorTouchEnd,
|
|
25145
25177
|
'aria-hidden': 'true'
|
|
25146
25178
|
};
|
|
25147
|
-
return /*#__PURE__*/React.createElement(DropdownIndicator, _extends$
|
|
25179
|
+
return /*#__PURE__*/React.createElement(DropdownIndicator, _extends$b({}, commonProps, {
|
|
25148
25180
|
innerProps: innerProps,
|
|
25149
25181
|
isDisabled: isDisabled,
|
|
25150
25182
|
isFocused: isFocused
|
|
@@ -25209,7 +25241,7 @@ var Select = /*#__PURE__*/function (_Component) {
|
|
|
25209
25241
|
'aria-selected': _this4.isAppleDevice ? undefined : isSelected // is not supported on Apple devices
|
|
25210
25242
|
};
|
|
25211
25243
|
|
|
25212
|
-
return /*#__PURE__*/React.createElement(Option, _extends$
|
|
25244
|
+
return /*#__PURE__*/React.createElement(Option, _extends$b({}, commonProps, {
|
|
25213
25245
|
innerProps: innerProps,
|
|
25214
25246
|
data: data,
|
|
25215
25247
|
isDisabled: isDisabled,
|
|
@@ -25231,7 +25263,7 @@ var Select = /*#__PURE__*/function (_Component) {
|
|
|
25231
25263
|
groupIndex = item.index;
|
|
25232
25264
|
var groupId = "".concat(_this4.getElementId('group'), "-").concat(groupIndex);
|
|
25233
25265
|
var headingId = "".concat(groupId, "-heading");
|
|
25234
|
-
return /*#__PURE__*/React.createElement(Group, _extends$
|
|
25266
|
+
return /*#__PURE__*/React.createElement(Group, _extends$b({}, commonProps, {
|
|
25235
25267
|
key: groupId,
|
|
25236
25268
|
data: _data,
|
|
25237
25269
|
options: options,
|
|
@@ -25268,12 +25300,12 @@ var Select = /*#__PURE__*/function (_Component) {
|
|
|
25268
25300
|
menuPosition: menuPosition,
|
|
25269
25301
|
menuShouldScrollIntoView: menuShouldScrollIntoView
|
|
25270
25302
|
};
|
|
25271
|
-
var menuElement = /*#__PURE__*/React.createElement(MenuPlacer, _extends$
|
|
25303
|
+
var menuElement = /*#__PURE__*/React.createElement(MenuPlacer, _extends$b({}, commonProps, menuPlacementProps), function (_ref4) {
|
|
25272
25304
|
var ref = _ref4.ref,
|
|
25273
25305
|
_ref4$placerProps = _ref4.placerProps,
|
|
25274
25306
|
placement = _ref4$placerProps.placement,
|
|
25275
25307
|
maxHeight = _ref4$placerProps.maxHeight;
|
|
25276
|
-
return /*#__PURE__*/React.createElement(Menu, _extends$
|
|
25308
|
+
return /*#__PURE__*/React.createElement(Menu, _extends$b({}, commonProps, menuPlacementProps, {
|
|
25277
25309
|
innerRef: ref,
|
|
25278
25310
|
innerProps: {
|
|
25279
25311
|
onMouseDown: _this4.onMenuMouseDown,
|
|
@@ -25287,7 +25319,7 @@ var Select = /*#__PURE__*/function (_Component) {
|
|
|
25287
25319
|
onBottomArrive: onMenuScrollToBottom,
|
|
25288
25320
|
lockEnabled: menuShouldBlockScroll
|
|
25289
25321
|
}, function (scrollTargetRef) {
|
|
25290
|
-
return /*#__PURE__*/React.createElement(MenuList, _extends$
|
|
25322
|
+
return /*#__PURE__*/React.createElement(MenuList, _extends$b({}, commonProps, {
|
|
25291
25323
|
innerRef: function innerRef(instance) {
|
|
25292
25324
|
_this4.getMenuListRef(instance);
|
|
25293
25325
|
scrollTargetRef(instance);
|
|
@@ -25307,7 +25339,7 @@ var Select = /*#__PURE__*/function (_Component) {
|
|
|
25307
25339
|
// positioning behaviour is almost identical for portalled and fixed,
|
|
25308
25340
|
// so we use the same component. the actual portalling logic is forked
|
|
25309
25341
|
// within the component based on `menuPosition`
|
|
25310
|
-
return menuPortalTarget || menuPosition === 'fixed' ? /*#__PURE__*/React.createElement(MenuPortal, _extends$
|
|
25342
|
+
return menuPortalTarget || menuPosition === 'fixed' ? /*#__PURE__*/React.createElement(MenuPortal, _extends$b({}, commonProps, {
|
|
25311
25343
|
appendTo: menuPortalTarget,
|
|
25312
25344
|
controlElement: this.controlRef,
|
|
25313
25345
|
menuPlacement: menuPlacement,
|
|
@@ -25377,7 +25409,7 @@ var Select = /*#__PURE__*/function (_Component) {
|
|
|
25377
25409
|
isFocused = _this$state6.isFocused,
|
|
25378
25410
|
selectValue = _this$state6.selectValue;
|
|
25379
25411
|
var focusableOptions = this.getFocusableOptions();
|
|
25380
|
-
return /*#__PURE__*/React.createElement(LiveRegion$1, _extends$
|
|
25412
|
+
return /*#__PURE__*/React.createElement(LiveRegion$1, _extends$b({}, commonProps, {
|
|
25381
25413
|
id: this.getElementId('live-region'),
|
|
25382
25414
|
ariaSelection: ariaSelection,
|
|
25383
25415
|
focusedOption: focusedOption,
|
|
@@ -25403,7 +25435,7 @@ var Select = /*#__PURE__*/function (_Component) {
|
|
|
25403
25435
|
menuIsOpen = _this$props14.menuIsOpen;
|
|
25404
25436
|
var isFocused = this.state.isFocused;
|
|
25405
25437
|
var commonProps = this.commonProps = this.getCommonProps();
|
|
25406
|
-
return /*#__PURE__*/React.createElement(SelectContainer, _extends$
|
|
25438
|
+
return /*#__PURE__*/React.createElement(SelectContainer, _extends$b({}, commonProps, {
|
|
25407
25439
|
className: className,
|
|
25408
25440
|
innerProps: {
|
|
25409
25441
|
id: id,
|
|
@@ -25411,7 +25443,7 @@ var Select = /*#__PURE__*/function (_Component) {
|
|
|
25411
25443
|
},
|
|
25412
25444
|
isDisabled: isDisabled,
|
|
25413
25445
|
isFocused: isFocused
|
|
25414
|
-
}), this.renderLiveRegion(), /*#__PURE__*/React.createElement(Control, _extends$
|
|
25446
|
+
}), this.renderLiveRegion(), /*#__PURE__*/React.createElement(Control, _extends$b({}, commonProps, {
|
|
25415
25447
|
innerRef: this.getControlRef,
|
|
25416
25448
|
innerProps: {
|
|
25417
25449
|
onMouseDown: this.onControlMouseDown,
|
|
@@ -25420,9 +25452,9 @@ var Select = /*#__PURE__*/function (_Component) {
|
|
|
25420
25452
|
isDisabled: isDisabled,
|
|
25421
25453
|
isFocused: isFocused,
|
|
25422
25454
|
menuIsOpen: menuIsOpen
|
|
25423
|
-
}), /*#__PURE__*/React.createElement(ValueContainer, _extends$
|
|
25455
|
+
}), /*#__PURE__*/React.createElement(ValueContainer, _extends$b({}, commonProps, {
|
|
25424
25456
|
isDisabled: isDisabled
|
|
25425
|
-
}), this.renderPlaceholderOrValue(), this.renderInput()), /*#__PURE__*/React.createElement(IndicatorsContainer, _extends$
|
|
25457
|
+
}), this.renderPlaceholderOrValue(), this.renderInput()), /*#__PURE__*/React.createElement(IndicatorsContainer, _extends$b({}, commonProps, {
|
|
25426
25458
|
isDisabled: isDisabled
|
|
25427
25459
|
}), this.renderClearIndicator(), this.renderLoadingIndicator(), this.renderIndicatorSeparator(), this.renderDropdownIndicator())), this.renderMenu(), this.renderFormField());
|
|
25428
25460
|
}
|
|
@@ -25693,7 +25725,7 @@ function useAsync(_ref) {
|
|
|
25693
25725
|
var AsyncSelect$1 = /*#__PURE__*/forwardRef(function (props, ref) {
|
|
25694
25726
|
var stateManagedProps = useAsync(props);
|
|
25695
25727
|
var selectProps = useStateManager(stateManagedProps);
|
|
25696
|
-
return /*#__PURE__*/React.createElement(Select, _extends$
|
|
25728
|
+
return /*#__PURE__*/React.createElement(Select, _extends$b({
|
|
25697
25729
|
ref: ref
|
|
25698
25730
|
}, selectProps));
|
|
25699
25731
|
});
|
|
@@ -28742,8 +28774,8 @@ function (_React$Component) {
|
|
|
28742
28774
|
placement: _this.props.placement,
|
|
28743
28775
|
eventsEnabled: _this.props.eventsEnabled,
|
|
28744
28776
|
positionFixed: _this.props.positionFixed,
|
|
28745
|
-
modifiers: _extends$
|
|
28746
|
-
arrow: _extends$
|
|
28777
|
+
modifiers: _extends$d({}, _this.props.modifiers, {
|
|
28778
|
+
arrow: _extends$d({}, _this.props.modifiers && _this.props.modifiers.arrow, {
|
|
28747
28779
|
enabled: !!_this.arrowNode,
|
|
28748
28780
|
element: _this.arrowNode
|
|
28749
28781
|
}),
|
|
@@ -28756,7 +28788,7 @@ function (_React$Component) {
|
|
|
28756
28788
|
});
|
|
28757
28789
|
|
|
28758
28790
|
_defineProperty$3(_assertThisInitialized$3(_assertThisInitialized$3(_this)), "getPopperStyle", function () {
|
|
28759
|
-
return !_this.popperNode || !_this.state.data ? initialStyle : _extends$
|
|
28791
|
+
return !_this.popperNode || !_this.state.data ? initialStyle : _extends$d({
|
|
28760
28792
|
position: _this.state.data.offsets.popper.position
|
|
28761
28793
|
}, _this.state.data.styles);
|
|
28762
28794
|
});
|
|
@@ -28864,7 +28896,7 @@ function Popper$2(_ref) {
|
|
|
28864
28896
|
props = _objectWithoutPropertiesLoose$4(_ref, ["referenceElement"]);
|
|
28865
28897
|
|
|
28866
28898
|
return React.createElement(ManagerReferenceNodeContext$1.Consumer, null, function (referenceNode) {
|
|
28867
|
-
return React.createElement(InnerPopper, _extends$
|
|
28899
|
+
return React.createElement(InnerPopper, _extends$d({
|
|
28868
28900
|
referenceElement: referenceElement !== undefined ? referenceElement : referenceNode
|
|
28869
28901
|
}, props));
|
|
28870
28902
|
});
|
|
@@ -28910,7 +28942,7 @@ function (_React$Component) {
|
|
|
28910
28942
|
|
|
28911
28943
|
function Reference$1(props) {
|
|
28912
28944
|
return React.createElement(ManagerReferenceNodeSetterContext$1.Consumer, null, function (setReferenceNode) {
|
|
28913
|
-
return React.createElement(InnerReference, _extends$
|
|
28945
|
+
return React.createElement(InnerReference, _extends$d({
|
|
28914
28946
|
setReferenceNode: setReferenceNode
|
|
28915
28947
|
}, props));
|
|
28916
28948
|
});
|
|
@@ -29723,7 +29755,7 @@ var pick = function pick(o) {
|
|
|
29723
29755
|
|
|
29724
29756
|
var StateManagedSelect = /*#__PURE__*/forwardRef(function (props, ref) {
|
|
29725
29757
|
var baseSelectProps = useStateManager(props);
|
|
29726
|
-
return /*#__PURE__*/React.createElement(Select, _extends$
|
|
29758
|
+
return /*#__PURE__*/React.createElement(Select, _extends$b({
|
|
29727
29759
|
ref: ref
|
|
29728
29760
|
}, baseSelectProps));
|
|
29729
29761
|
});
|
|
@@ -30659,7 +30691,7 @@ var FocusLock$1 = /*#__PURE__*/React.forwardRef(function FocusLockUI(props, pare
|
|
|
30659
30691
|
}
|
|
30660
30692
|
}, []);
|
|
30661
30693
|
}
|
|
30662
|
-
var lockProps = _extends$
|
|
30694
|
+
var lockProps = _extends$b((_extends2 = {}, _extends2[FOCUS_DISABLED] = disabled && 'disabled', _extends2[FOCUS_GROUP] = group, _extends2), containerProps);
|
|
30663
30695
|
var hasLeadingGuards = noFocusGuards !== true;
|
|
30664
30696
|
var hasTailingGuards = hasLeadingGuards && noFocusGuards !== 'tail';
|
|
30665
30697
|
var mergedRef = useMergeRefs([parentRef, setObserveNode]);
|
|
@@ -30698,7 +30730,7 @@ var FocusLock$1 = /*#__PURE__*/React.forwardRef(function FocusLockUI(props, pare
|
|
|
30698
30730
|
returnFocus: returnFocus,
|
|
30699
30731
|
focusOptions: focusOptions,
|
|
30700
30732
|
noFocusGuards: noFocusGuards
|
|
30701
|
-
}), /*#__PURE__*/React.createElement(Container, _extends$
|
|
30733
|
+
}), /*#__PURE__*/React.createElement(Container, _extends$b({
|
|
30702
30734
|
ref: mergedRef
|
|
30703
30735
|
}, lockProps, {
|
|
30704
30736
|
className: className,
|
|
@@ -32028,7 +32060,7 @@ mediumEffect.assignMedium(function (cb) {
|
|
|
32028
32060
|
var FocusTrap = withSideEffect(reducePropsToState, handleStateChangeOnClient)(FocusWatcher);
|
|
32029
32061
|
|
|
32030
32062
|
var FocusLockCombination = /*#__PURE__*/React.forwardRef(function FocusLockUICombination(props, ref) {
|
|
32031
|
-
return /*#__PURE__*/React.createElement(FocusLockUI, _extends$
|
|
32063
|
+
return /*#__PURE__*/React.createElement(FocusLockUI, _extends$b({
|
|
32032
32064
|
sideCar: FocusTrap,
|
|
32033
32065
|
ref: ref
|
|
32034
32066
|
}, props));
|
|
@@ -34832,7 +34864,7 @@ var BaseNavBarSearch = function BaseNavBarSearch(_ref) {
|
|
|
34832
34864
|
var _useTranslation = useTranslation(),
|
|
34833
34865
|
t = _useTranslation.t;
|
|
34834
34866
|
|
|
34835
|
-
return /*#__PURE__*/React__default.createElement("form", _extends$
|
|
34867
|
+
return /*#__PURE__*/React__default.createElement("form", _extends$d({}, props, {
|
|
34836
34868
|
onSubmit: handleOnSubmit
|
|
34837
34869
|
}), /*#__PURE__*/React__default.createElement(Flex, {
|
|
34838
34870
|
role: "search"
|
|
@@ -61341,7 +61373,7 @@ function createListComponent(_ref) {
|
|
|
61341
61373
|
className: className,
|
|
61342
61374
|
onScroll: onScroll,
|
|
61343
61375
|
ref: this._outerRefSetter,
|
|
61344
|
-
style: _extends$
|
|
61376
|
+
style: _extends$b({
|
|
61345
61377
|
position: 'relative',
|
|
61346
61378
|
height: height,
|
|
61347
61379
|
width: width,
|
|
@@ -62296,15 +62328,21 @@ var StyledTr = styled.tr.withConfig({
|
|
|
62296
62328
|
componentId: "sc-b5sejq-1"
|
|
62297
62329
|
})(function (_ref2) {
|
|
62298
62330
|
var rowHovers = _ref2.rowHovers,
|
|
62331
|
+
rowBorder = _ref2.rowBorder,
|
|
62299
62332
|
theme = _ref2.theme;
|
|
62300
|
-
return {
|
|
62333
|
+
return Object.assign({
|
|
62301
62334
|
"&:hover": {
|
|
62302
62335
|
backgroundColor: rowHovers ? theme.colors.whiteGrey : null
|
|
62303
62336
|
}
|
|
62304
|
-
}
|
|
62337
|
+
}, rowBorder && {
|
|
62338
|
+
borderBottomWidth: 1,
|
|
62339
|
+
borderBottomStyle: "solid",
|
|
62340
|
+
borderBottomColor: theme.colors.lightGrey,
|
|
62341
|
+
borderCollapse: "collapse"
|
|
62342
|
+
});
|
|
62305
62343
|
});
|
|
62306
62344
|
|
|
62307
|
-
var renderRows$1 = function renderRows(rows, columns, keyField, noRowsContent, rowHovers, compact, onRowMouseLeave, onRowMouseEnter) {
|
|
62345
|
+
var renderRows$1 = function renderRows(rows, columns, keyField, noRowsContent, rowHovers, compact, onRowMouseLeave, onRowMouseEnter, rowBorder) {
|
|
62308
62346
|
return rows.length > 0 ? rows.map(function (row) {
|
|
62309
62347
|
return /*#__PURE__*/React__default.createElement(TableBodyRow, {
|
|
62310
62348
|
row: row,
|
|
@@ -62325,7 +62363,8 @@ var renderRows$1 = function renderRows(rows, columns, keyField, noRowsContent, r
|
|
|
62325
62363
|
row: row,
|
|
62326
62364
|
e: e
|
|
62327
62365
|
});
|
|
62328
|
-
}
|
|
62366
|
+
},
|
|
62367
|
+
rowBorder: rowBorder
|
|
62329
62368
|
});
|
|
62330
62369
|
}) : /*#__PURE__*/React__default.createElement(TableMessageContainer, {
|
|
62331
62370
|
colSpan: columns.length
|
|
@@ -62339,7 +62378,8 @@ var TableBodyRow = function TableBodyRow(_ref3) {
|
|
|
62339
62378
|
compact = _ref3.compact,
|
|
62340
62379
|
rowClassName = _ref3.rowClassName,
|
|
62341
62380
|
onMouseLeave = _ref3.onMouseLeave,
|
|
62342
|
-
onMouseEnter = _ref3.onMouseEnter
|
|
62381
|
+
onMouseEnter = _ref3.onMouseEnter,
|
|
62382
|
+
rowBorder = _ref3.rowBorder;
|
|
62343
62383
|
|
|
62344
62384
|
var renderAllCells = function renderAllCells() {
|
|
62345
62385
|
return columns.map(function (column, index) {
|
|
@@ -62360,7 +62400,8 @@ var TableBodyRow = function TableBodyRow(_ref3) {
|
|
|
62360
62400
|
"data-testid": "table-row",
|
|
62361
62401
|
className: rowClassName,
|
|
62362
62402
|
onMouseLeave: onMouseLeave,
|
|
62363
|
-
onMouseEnter: onMouseEnter
|
|
62403
|
+
onMouseEnter: onMouseEnter,
|
|
62404
|
+
rowBorder: rowBorder
|
|
62364
62405
|
}, row.heading ? /*#__PURE__*/React__default.createElement(TableCell, {
|
|
62365
62406
|
row: row,
|
|
62366
62407
|
colSpan: columns.length,
|
|
@@ -62405,10 +62446,11 @@ var TableBody = function TableBody(_ref6) {
|
|
|
62405
62446
|
rowHovers = _ref6.rowHovers,
|
|
62406
62447
|
compact = _ref6.compact,
|
|
62407
62448
|
onRowMouseLeave = _ref6.onRowMouseLeave,
|
|
62408
|
-
onRowMouseEnter = _ref6.onRowMouseEnter
|
|
62449
|
+
onRowMouseEnter = _ref6.onRowMouseEnter,
|
|
62450
|
+
rowBorder = _ref6.rowBorder;
|
|
62409
62451
|
return /*#__PURE__*/React__default.createElement("tbody", {
|
|
62410
62452
|
"data-testid": "table-body"
|
|
62411
|
-
}, !loading ? renderRows$1(rows, columns, keyField, noRowsContent, rowHovers, compact, onRowMouseLeave, onRowMouseEnter) : /*#__PURE__*/React__default.createElement(LoadingContent, {
|
|
62453
|
+
}, !loading ? renderRows$1(rows, columns, keyField, noRowsContent, rowHovers, compact, onRowMouseLeave, onRowMouseEnter, rowBorder) : /*#__PURE__*/React__default.createElement(LoadingContent, {
|
|
62412
62454
|
colSpan: columns.length
|
|
62413
62455
|
}));
|
|
62414
62456
|
};
|
|
@@ -62513,7 +62555,9 @@ function BaseTable(_a) {
|
|
|
62513
62555
|
rows = _a.rows,
|
|
62514
62556
|
id = _a.id,
|
|
62515
62557
|
className = _a.className,
|
|
62516
|
-
|
|
62558
|
+
_a$rowBorder = _a.rowBorder,
|
|
62559
|
+
rowBorder = _a$rowBorder === void 0 ? false : _a$rowBorder,
|
|
62560
|
+
props = __rest$3(_a, ["noRowsContent", "keyField", "loading", "footerRows", "rowHovers", "compact", "stickyHeader", "onRowMouseEnter", "onRowMouseLeave", "columns", "rows", "id", "className", "rowBorder"]);
|
|
62517
62561
|
|
|
62518
62562
|
return /*#__PURE__*/React__default.createElement(StyledTable, Object.assign({
|
|
62519
62563
|
id: id,
|
|
@@ -62531,7 +62575,8 @@ function BaseTable(_a) {
|
|
|
62531
62575
|
rowHovers: rowHovers,
|
|
62532
62576
|
compact: compact,
|
|
62533
62577
|
onRowMouseLeave: onRowMouseLeave,
|
|
62534
|
-
onRowMouseEnter: onRowMouseEnter
|
|
62578
|
+
onRowMouseEnter: onRowMouseEnter,
|
|
62579
|
+
rowBorder: rowBorder
|
|
62535
62580
|
}), footerRows && /*#__PURE__*/React__default.createElement(TableFoot, {
|
|
62536
62581
|
columns: columns,
|
|
62537
62582
|
rows: footerRows,
|
|
@@ -65264,7 +65309,7 @@ var slideLeftAndFade = keyframes$3(["from{opacity:0;transform:translateX(2px);}t
|
|
|
65264
65309
|
var StyledContent = styled($a093c7e1ec25a057$export$7c6e2c02157bb7d2).withConfig({
|
|
65265
65310
|
displayName: "TooltipComponents__StyledContent",
|
|
65266
65311
|
componentId: "sc-1fm7xjh-0"
|
|
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) {
|
|
65312
|
+
})(["font-family:", ";font-size:", ";line-height:", ";border-radius:", ";padding:", ";color:", ";background-color:", ";border:1px solid ", ";box-shadow:", ";z-index:", ";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) {
|
|
65268
65313
|
var theme = _ref.theme;
|
|
65269
65314
|
return theme.fonts.base;
|
|
65270
65315
|
}, function (_ref2) {
|
|
@@ -65291,12 +65336,15 @@ var StyledContent = styled($a093c7e1ec25a057$export$7c6e2c02157bb7d2).withConfig
|
|
|
65291
65336
|
}, function (_ref9) {
|
|
65292
65337
|
var theme = _ref9.theme;
|
|
65293
65338
|
return theme.shadows.medium;
|
|
65339
|
+
}, function (_ref10) {
|
|
65340
|
+
var theme = _ref10.theme;
|
|
65341
|
+
return theme.zIndices.aboveOverlay;
|
|
65294
65342
|
}, slideDownAndFade, slideLeftAndFade, slideUpAndFade, slideRightAndFade, maxWidth);
|
|
65295
65343
|
var StyledArrow = styled($a093c7e1ec25a057$export$21b07c8f274aebd5).withConfig({
|
|
65296
65344
|
displayName: "TooltipComponents__StyledArrow",
|
|
65297
65345
|
componentId: "sc-1fm7xjh-1"
|
|
65298
|
-
})(function (
|
|
65299
|
-
var theme =
|
|
65346
|
+
})(function (_ref11) {
|
|
65347
|
+
var theme = _ref11.theme;
|
|
65300
65348
|
return {
|
|
65301
65349
|
fill: theme.colors.white,
|
|
65302
65350
|
filter: "drop-shadow(0px 1px 0px " + theme.colors.grey + ")"
|
|
@@ -65346,11 +65394,11 @@ function MaybeTooltip(_ref) {
|
|
|
65346
65394
|
supportMobileTap: supportMobileTap
|
|
65347
65395
|
}, /*#__PURE__*/React__default.createElement(TooltipTrigger, {
|
|
65348
65396
|
asChild: true
|
|
65349
|
-
}, children), /*#__PURE__*/React__default.createElement(TooltipContent, {
|
|
65397
|
+
}, children), /*#__PURE__*/React__default.createElement($a093c7e1ec25a057$export$602eac185826482c, null, /*#__PURE__*/React__default.createElement(TooltipContent, {
|
|
65350
65398
|
side: placement,
|
|
65351
65399
|
className: className,
|
|
65352
65400
|
maxWidth: maxWidth
|
|
65353
|
-
}, tooltip)));
|
|
65401
|
+
}, tooltip))));
|
|
65354
65402
|
}
|
|
65355
65403
|
|
|
65356
65404
|
var TruncatedTextFillWidth = function TruncatedTextFillWidth(_a) {
|