@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.js
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('react'), require('styled-components'), require('object-assign'), require('@nulogy/icons'), require('@babel/runtime/helpers/extends'), require('@babel/runtime/helpers/assertThisInitialized'), require('@babel/runtime/helpers/inheritsLoose'), require('react-fast-compare'), require('warning'), require('@babel/runtime/helpers/slicedToArray'), require('@babel/runtime/helpers/defineProperty'), require('@babel/runtime/helpers/typeof'), require('@babel/runtime/helpers/classCallCheck'), require('@babel/runtime/helpers/createClass'), require('react-dom'), require('stylis'), require('hoist-non-react-statics'), require('@babel/runtime/helpers/objectSpread2'), require('@babel/runtime/helpers/inherits'), require('@babel/runtime/helpers/createSuper'), require('@babel/runtime/helpers/toConsumableArray'), require('@babel/runtime/helpers/objectWithoutProperties'), require('@babel/runtime/helpers/taggedTemplateLiteral'), require('prop-types'), require('@babel/runtime/helpers/objectWithoutPropertiesLoose'), require('deep-equal'), require('@hypnosphi/create-react-context'), require('react-resize-detector'), require('classnames'), require('exenv'), require('react-hot-toast')) :
|
|
3
3
|
typeof define === 'function' && define.amd ? define(['exports', 'react', 'styled-components', 'object-assign', '@nulogy/icons', '@babel/runtime/helpers/extends', '@babel/runtime/helpers/assertThisInitialized', '@babel/runtime/helpers/inheritsLoose', 'react-fast-compare', 'warning', '@babel/runtime/helpers/slicedToArray', '@babel/runtime/helpers/defineProperty', '@babel/runtime/helpers/typeof', '@babel/runtime/helpers/classCallCheck', '@babel/runtime/helpers/createClass', 'react-dom', 'stylis', 'hoist-non-react-statics', '@babel/runtime/helpers/objectSpread2', '@babel/runtime/helpers/inherits', '@babel/runtime/helpers/createSuper', '@babel/runtime/helpers/toConsumableArray', '@babel/runtime/helpers/objectWithoutProperties', '@babel/runtime/helpers/taggedTemplateLiteral', 'prop-types', '@babel/runtime/helpers/objectWithoutPropertiesLoose', 'deep-equal', '@hypnosphi/create-react-context', 'react-resize-detector', 'classnames', 'exenv', 'react-hot-toast'], factory) :
|
|
4
4
|
(global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory(global.NDSComponents = {}, global.React, global.styled, global.assign, global.icons, global["extends"], global.assertThisInitialized, global.inheritsLoose, global.isEqual, global.warning, global.slicedToArray, global.defineProperty, global["typeof"], global.classCallCheck, global.createClass, global.reactDom, global.stylis, null, null, null, null, null, global.objectWithoutProperties, null, global.PropTypes, global.objectWithoutPropertiesLoose, global.deepEqual, global.createContext, global.ReactResizeDetector, global.t, global.exenv, global.reactHotToast));
|
|
5
|
-
})(this, (function (exports, React, styled, assign$1, icons, _extends$
|
|
5
|
+
})(this, (function (exports, React, styled, assign$1, icons, _extends$c, _assertThisInitialized$3, _inheritsLoose$3, isEqual$3, warning$2, _slicedToArray$1, _defineProperty$3, _typeof$3, _classCallCheck$2, _createClass$2, ReactDOM, stylis, hoistNonReactStatics$1, objectSpread2, inherits, createSuper, toConsumableArray, _objectWithoutProperties$1, taggedTemplateLiteral, PropTypes, _objectWithoutPropertiesLoose$4, deepEqual$1, createContext, ReactResizeDetector, classnames$1, exenv, reactHotToast) { 'use strict';
|
|
6
6
|
|
|
7
7
|
function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
|
|
8
8
|
|
|
@@ -29,7 +29,7 @@
|
|
|
29
29
|
var styled__default = /*#__PURE__*/_interopDefaultLegacy(styled);
|
|
30
30
|
var assign__default = /*#__PURE__*/_interopDefaultLegacy(assign$1);
|
|
31
31
|
var icons__default = /*#__PURE__*/_interopDefaultLegacy(icons);
|
|
32
|
-
var _extends__default = /*#__PURE__*/_interopDefaultLegacy(_extends$
|
|
32
|
+
var _extends__default = /*#__PURE__*/_interopDefaultLegacy(_extends$c);
|
|
33
33
|
var _assertThisInitialized__default = /*#__PURE__*/_interopDefaultLegacy(_assertThisInitialized$3);
|
|
34
34
|
var _inheritsLoose__default = /*#__PURE__*/_interopDefaultLegacy(_inheritsLoose$3);
|
|
35
35
|
var isEqual__default = /*#__PURE__*/_interopDefaultLegacy(isEqual$3);
|
|
@@ -9289,7 +9289,7 @@
|
|
|
9289
9289
|
}
|
|
9290
9290
|
});
|
|
9291
9291
|
|
|
9292
|
-
function _extends$
|
|
9292
|
+
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); }
|
|
9293
9293
|
|
|
9294
9294
|
// based on https://github.com/developit/dlv
|
|
9295
9295
|
var get$1 = function get(obj, key, def, p, undef) {
|
|
@@ -9420,7 +9420,7 @@
|
|
|
9420
9420
|
var transforms = ['margin', 'marginTop', 'marginRight', 'marginBottom', 'marginLeft', 'marginX', 'marginY', 'top', 'bottom', 'left', 'right'].reduce(function (acc, curr) {
|
|
9421
9421
|
var _extends2;
|
|
9422
9422
|
|
|
9423
|
-
return _extends$
|
|
9423
|
+
return _extends$b({}, acc, (_extends2 = {}, _extends2[curr] = positiveOrNegative, _extends2));
|
|
9424
9424
|
}, {});
|
|
9425
9425
|
var responsive = function responsive(styles) {
|
|
9426
9426
|
return function (theme) {
|
|
@@ -9462,7 +9462,7 @@
|
|
|
9462
9462
|
props = {};
|
|
9463
9463
|
}
|
|
9464
9464
|
|
|
9465
|
-
var theme = _extends$
|
|
9465
|
+
var theme = _extends$b({}, defaultTheme$1, {}, props.theme || props);
|
|
9466
9466
|
|
|
9467
9467
|
var result = {};
|
|
9468
9468
|
var obj = typeof args === 'function' ? args(theme) : args;
|
|
@@ -9474,7 +9474,7 @@
|
|
|
9474
9474
|
|
|
9475
9475
|
if (key === 'variant') {
|
|
9476
9476
|
var variant = css(get$1(theme, val))(theme);
|
|
9477
|
-
result = _extends$
|
|
9477
|
+
result = _extends$b({}, result, {}, variant);
|
|
9478
9478
|
continue;
|
|
9479
9479
|
}
|
|
9480
9480
|
|
|
@@ -11037,8 +11037,8 @@
|
|
|
11037
11037
|
}));
|
|
11038
11038
|
});
|
|
11039
11039
|
|
|
11040
|
-
function _extends$
|
|
11041
|
-
_extends$
|
|
11040
|
+
function _extends$a() {
|
|
11041
|
+
_extends$a = Object.assign ? Object.assign.bind() : function (target) {
|
|
11042
11042
|
for (var i = 1; i < arguments.length; i++) {
|
|
11043
11043
|
var source = arguments[i];
|
|
11044
11044
|
for (var key in source) {
|
|
@@ -11049,7 +11049,7 @@
|
|
|
11049
11049
|
}
|
|
11050
11050
|
return target;
|
|
11051
11051
|
};
|
|
11052
|
-
return _extends$
|
|
11052
|
+
return _extends$a.apply(this, arguments);
|
|
11053
11053
|
}
|
|
11054
11054
|
|
|
11055
11055
|
function _assertThisInitialized$2(self) {
|
|
@@ -11979,7 +11979,7 @@
|
|
|
11979
11979
|
function darken(amount, color) {
|
|
11980
11980
|
if (color === 'transparent') return color;
|
|
11981
11981
|
var hslColor = parseToHsl(color);
|
|
11982
|
-
return toColorString(_extends$
|
|
11982
|
+
return toColorString(_extends$a({}, hslColor, {
|
|
11983
11983
|
lightness: guard(0, 1, hslColor.lightness - parseFloat(amount))
|
|
11984
11984
|
}));
|
|
11985
11985
|
} // prettier-ignore
|
|
@@ -12024,7 +12024,7 @@
|
|
|
12024
12024
|
var parsedColor = parseToRgb(color);
|
|
12025
12025
|
var alpha = typeof parsedColor.alpha === 'number' ? parsedColor.alpha : 1;
|
|
12026
12026
|
|
|
12027
|
-
var colorWithAlpha = _extends$
|
|
12027
|
+
var colorWithAlpha = _extends$a({}, parsedColor, {
|
|
12028
12028
|
alpha: guard(0, 1, (alpha * 100 - parseFloat(amount) * 100) / 100)
|
|
12029
12029
|
});
|
|
12030
12030
|
|
|
@@ -14683,14 +14683,14 @@
|
|
|
14683
14683
|
}));
|
|
14684
14684
|
}
|
|
14685
14685
|
|
|
14686
|
-
function _extends$
|
|
14687
|
-
return _extends$
|
|
14686
|
+
function _extends$9() {
|
|
14687
|
+
return _extends$9 = Object.assign ? Object.assign.bind() : function (n) {
|
|
14688
14688
|
for (var e = 1; e < arguments.length; e++) {
|
|
14689
14689
|
var t = arguments[e];
|
|
14690
14690
|
for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]);
|
|
14691
14691
|
}
|
|
14692
14692
|
return n;
|
|
14693
|
-
}, _extends$
|
|
14693
|
+
}, _extends$9.apply(null, arguments);
|
|
14694
14694
|
}
|
|
14695
14695
|
|
|
14696
14696
|
function $e42e1063c40fb3ef$export$b9ecd428b558ff10(originalEventHandler, ourEventHandler, { checkForDefaultPrevented: checkForDefaultPrevented = true } = {}) {
|
|
@@ -14820,34 +14820,34 @@
|
|
|
14820
14820
|
return createScope1;
|
|
14821
14821
|
}
|
|
14822
14822
|
|
|
14823
|
-
function _extends$
|
|
14824
|
-
return _extends$
|
|
14823
|
+
function _extends$8() {
|
|
14824
|
+
return _extends$8 = Object.assign ? Object.assign.bind() : function (n) {
|
|
14825
14825
|
for (var e = 1; e < arguments.length; e++) {
|
|
14826
14826
|
var t = arguments[e];
|
|
14827
14827
|
for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]);
|
|
14828
14828
|
}
|
|
14829
14829
|
return n;
|
|
14830
|
-
}, _extends$
|
|
14830
|
+
}, _extends$8.apply(null, arguments);
|
|
14831
14831
|
}
|
|
14832
14832
|
|
|
14833
|
-
function _extends$
|
|
14834
|
-
return _extends$
|
|
14833
|
+
function _extends$7() {
|
|
14834
|
+
return _extends$7 = Object.assign ? Object.assign.bind() : function (n) {
|
|
14835
14835
|
for (var e = 1; e < arguments.length; e++) {
|
|
14836
14836
|
var t = arguments[e];
|
|
14837
14837
|
for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]);
|
|
14838
14838
|
}
|
|
14839
14839
|
return n;
|
|
14840
|
-
}, _extends$
|
|
14840
|
+
}, _extends$7.apply(null, arguments);
|
|
14841
14841
|
}
|
|
14842
14842
|
|
|
14843
|
-
function _extends$
|
|
14844
|
-
return _extends$
|
|
14843
|
+
function _extends$6() {
|
|
14844
|
+
return _extends$6 = Object.assign ? Object.assign.bind() : function (n) {
|
|
14845
14845
|
for (var e = 1; e < arguments.length; e++) {
|
|
14846
14846
|
var t = arguments[e];
|
|
14847
14847
|
for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]);
|
|
14848
14848
|
}
|
|
14849
14849
|
return n;
|
|
14850
|
-
}, _extends$
|
|
14850
|
+
}, _extends$6.apply(null, arguments);
|
|
14851
14851
|
}
|
|
14852
14852
|
|
|
14853
14853
|
/* -------------------------------------------------------------------------------------------------
|
|
@@ -14867,11 +14867,11 @@
|
|
|
14867
14867
|
return /*#__PURE__*/ React.isValidElement(newElement) ? newElement.props.children : null;
|
|
14868
14868
|
} else return child;
|
|
14869
14869
|
});
|
|
14870
|
-
return /*#__PURE__*/ React.createElement($5e63c961fc1ce211$var$SlotClone, _extends$
|
|
14870
|
+
return /*#__PURE__*/ React.createElement($5e63c961fc1ce211$var$SlotClone, _extends$6({}, slotProps, {
|
|
14871
14871
|
ref: forwardedRef
|
|
14872
14872
|
}), /*#__PURE__*/ React.isValidElement(newElement) ? /*#__PURE__*/ React.cloneElement(newElement, undefined, newChildren) : null);
|
|
14873
14873
|
}
|
|
14874
|
-
return /*#__PURE__*/ React.createElement($5e63c961fc1ce211$var$SlotClone, _extends$
|
|
14874
|
+
return /*#__PURE__*/ React.createElement($5e63c961fc1ce211$var$SlotClone, _extends$6({}, slotProps, {
|
|
14875
14875
|
ref: forwardedRef
|
|
14876
14876
|
}), children);
|
|
14877
14877
|
});
|
|
@@ -14955,7 +14955,7 @@
|
|
|
14955
14955
|
React.useEffect(()=>{
|
|
14956
14956
|
window[Symbol.for('radix-ui')] = true;
|
|
14957
14957
|
}, []);
|
|
14958
|
-
return /*#__PURE__*/ React.createElement(Comp, _extends$
|
|
14958
|
+
return /*#__PURE__*/ React.createElement(Comp, _extends$7({}, primitiveProps, {
|
|
14959
14959
|
ref: forwardedRef
|
|
14960
14960
|
}));
|
|
14961
14961
|
});
|
|
@@ -15139,7 +15139,7 @@
|
|
|
15139
15139
|
return ()=>document.removeEventListener($5cb92bef7577960e$var$CONTEXT_UPDATE, handleUpdate)
|
|
15140
15140
|
;
|
|
15141
15141
|
}, []);
|
|
15142
|
-
return /*#__PURE__*/ React.createElement($8927f6f2acc4f386$export$250ffa63cdc0d034.div, _extends$
|
|
15142
|
+
return /*#__PURE__*/ React.createElement($8927f6f2acc4f386$export$250ffa63cdc0d034.div, _extends$8({}, layerProps, {
|
|
15143
15143
|
ref: composedRefs,
|
|
15144
15144
|
style: {
|
|
15145
15145
|
pointerEvents: isBodyPointerEventsDisabled ? isPointerEventsEnabled ? 'auto' : 'none' : undefined,
|
|
@@ -15291,14 +15291,14 @@
|
|
|
15291
15291
|
return deterministicId || (id ? `radix-${id}` : '');
|
|
15292
15292
|
}
|
|
15293
15293
|
|
|
15294
|
-
function _extends$
|
|
15295
|
-
return _extends$
|
|
15294
|
+
function _extends$5() {
|
|
15295
|
+
return _extends$5 = Object.assign ? Object.assign.bind() : function (n) {
|
|
15296
15296
|
for (var e = 1; e < arguments.length; e++) {
|
|
15297
15297
|
var t = arguments[e];
|
|
15298
15298
|
for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]);
|
|
15299
15299
|
}
|
|
15300
15300
|
return n;
|
|
15301
|
-
}, _extends$
|
|
15301
|
+
}, _extends$5.apply(null, arguments);
|
|
15302
15302
|
}
|
|
15303
15303
|
|
|
15304
15304
|
/**
|
|
@@ -17704,19 +17704,19 @@
|
|
|
17704
17704
|
options: [options, deps]
|
|
17705
17705
|
});
|
|
17706
17706
|
|
|
17707
|
-
function _extends$
|
|
17708
|
-
return _extends$
|
|
17707
|
+
function _extends$4() {
|
|
17708
|
+
return _extends$4 = Object.assign ? Object.assign.bind() : function (n) {
|
|
17709
17709
|
for (var e = 1; e < arguments.length; e++) {
|
|
17710
17710
|
var t = arguments[e];
|
|
17711
17711
|
for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]);
|
|
17712
17712
|
}
|
|
17713
17713
|
return n;
|
|
17714
|
-
}, _extends$
|
|
17714
|
+
}, _extends$4.apply(null, arguments);
|
|
17715
17715
|
}
|
|
17716
17716
|
|
|
17717
17717
|
const $7e8f5cd07187803e$export$21b07c8f274aebd5 = /*#__PURE__*/ React.forwardRef((props, forwardedRef)=>{
|
|
17718
17718
|
const { children: children , width: width = 10 , height: height = 5 , ...arrowProps } = props;
|
|
17719
|
-
return /*#__PURE__*/ React.createElement($8927f6f2acc4f386$export$250ffa63cdc0d034.svg, _extends$
|
|
17719
|
+
return /*#__PURE__*/ React.createElement($8927f6f2acc4f386$export$250ffa63cdc0d034.svg, _extends$4({}, arrowProps, {
|
|
17720
17720
|
ref: forwardedRef,
|
|
17721
17721
|
width: width,
|
|
17722
17722
|
height: height,
|
|
@@ -17803,7 +17803,7 @@
|
|
|
17803
17803
|
// `anchorRef` with their virtual ref in this case.
|
|
17804
17804
|
context.onAnchorChange((virtualRef === null || virtualRef === void 0 ? void 0 : virtualRef.current) || ref.current);
|
|
17805
17805
|
});
|
|
17806
|
-
return virtualRef ? null : /*#__PURE__*/ React.createElement($8927f6f2acc4f386$export$250ffa63cdc0d034.div, _extends$
|
|
17806
|
+
return virtualRef ? null : /*#__PURE__*/ React.createElement($8927f6f2acc4f386$export$250ffa63cdc0d034.div, _extends$5({}, anchorProps, {
|
|
17807
17807
|
ref: composedRefs
|
|
17808
17808
|
}));
|
|
17809
17809
|
});
|
|
@@ -17932,7 +17932,7 @@
|
|
|
17932
17932
|
arrowX: arrowX,
|
|
17933
17933
|
arrowY: arrowY,
|
|
17934
17934
|
shouldHideArrow: cannotCenterArrow
|
|
17935
|
-
}, /*#__PURE__*/ React.createElement($8927f6f2acc4f386$export$250ffa63cdc0d034.div, _extends$
|
|
17935
|
+
}, /*#__PURE__*/ React.createElement($8927f6f2acc4f386$export$250ffa63cdc0d034.div, _extends$5({
|
|
17936
17936
|
"data-side": placedSide,
|
|
17937
17937
|
"data-align": placedAlign
|
|
17938
17938
|
}, contentProps, {
|
|
@@ -17984,7 +17984,7 @@
|
|
|
17984
17984
|
}[contentContext.placedSide],
|
|
17985
17985
|
visibility: contentContext.shouldHideArrow ? 'hidden' : undefined
|
|
17986
17986
|
}
|
|
17987
|
-
}, /*#__PURE__*/ React.createElement($7e8f5cd07187803e$export$be92b6f5f03c0fe9, _extends$
|
|
17987
|
+
}, /*#__PURE__*/ React.createElement($7e8f5cd07187803e$export$be92b6f5f03c0fe9, _extends$5({}, arrowProps, {
|
|
17988
17988
|
ref: forwardedRef,
|
|
17989
17989
|
style: {
|
|
17990
17990
|
...arrowProps.style,
|
|
@@ -18050,24 +18050,6 @@
|
|
|
18050
18050
|
const $cf1ac5d9fe0e8206$export$7c6e2c02157bb7d2 = $cf1ac5d9fe0e8206$export$bc4ae5855d3c4fc;
|
|
18051
18051
|
const $cf1ac5d9fe0e8206$export$21b07c8f274aebd5 = $cf1ac5d9fe0e8206$export$79d62cd4e10a3fd0;
|
|
18052
18052
|
|
|
18053
|
-
function _extends$4() {
|
|
18054
|
-
return _extends$4 = Object.assign ? Object.assign.bind() : function (n) {
|
|
18055
|
-
for (var e = 1; e < arguments.length; e++) {
|
|
18056
|
-
var t = arguments[e];
|
|
18057
|
-
for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]);
|
|
18058
|
-
}
|
|
18059
|
-
return n;
|
|
18060
|
-
}, _extends$4.apply(null, arguments);
|
|
18061
|
-
}
|
|
18062
|
-
|
|
18063
|
-
const $f1701beae083dbae$export$602eac185826482c = /*#__PURE__*/ React.forwardRef((props, forwardedRef)=>{
|
|
18064
|
-
var _globalThis$document;
|
|
18065
|
-
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;
|
|
18066
|
-
return container ? /*#__PURE__*/ ReactDOM__default["default"].createPortal(/*#__PURE__*/ React.createElement($8927f6f2acc4f386$export$250ffa63cdc0d034.div, _extends$4({}, portalProps, {
|
|
18067
|
-
ref: forwardedRef
|
|
18068
|
-
})), container) : null;
|
|
18069
|
-
});
|
|
18070
|
-
|
|
18071
18053
|
function $fe963b355347cc68$export$3e6543de14f8614f(initialState, machine) {
|
|
18072
18054
|
return React.useReducer((state, event)=>{
|
|
18073
18055
|
const nextState = machine[state][event];
|
|
@@ -18414,9 +18396,9 @@
|
|
|
18414
18396
|
}, [
|
|
18415
18397
|
handlePointerUp
|
|
18416
18398
|
]);
|
|
18417
|
-
return /*#__PURE__*/ React.createElement($cf1ac5d9fe0e8206$export$b688253958b8dfe7, _extends$
|
|
18399
|
+
return /*#__PURE__*/ React.createElement($cf1ac5d9fe0e8206$export$b688253958b8dfe7, _extends$9({
|
|
18418
18400
|
asChild: true
|
|
18419
|
-
}, popperScope), /*#__PURE__*/ React.createElement($8927f6f2acc4f386$export$250ffa63cdc0d034.button, _extends$
|
|
18401
|
+
}, popperScope), /*#__PURE__*/ React.createElement($8927f6f2acc4f386$export$250ffa63cdc0d034.button, _extends$9({
|
|
18420
18402
|
// We purposefully avoid adding `type=button` here because tooltip triggers are also
|
|
18421
18403
|
// commonly anchors and the anchor `type` attribute signifies MIME type.
|
|
18422
18404
|
"aria-describedby": context.open ? context.contentId : undefined,
|
|
@@ -18453,19 +18435,6 @@
|
|
|
18453
18435
|
const [$a093c7e1ec25a057$var$PortalProvider, $a093c7e1ec25a057$var$usePortalContext] = $a093c7e1ec25a057$var$createTooltipContext($a093c7e1ec25a057$var$PORTAL_NAME, {
|
|
18454
18436
|
forceMount: undefined
|
|
18455
18437
|
});
|
|
18456
|
-
const $a093c7e1ec25a057$export$7b36b8f925ab7497 = (props)=>{
|
|
18457
|
-
const { __scopeTooltip: __scopeTooltip , forceMount: forceMount , children: children , container: container } = props;
|
|
18458
|
-
const context = $a093c7e1ec25a057$var$useTooltipContext($a093c7e1ec25a057$var$PORTAL_NAME, __scopeTooltip);
|
|
18459
|
-
return /*#__PURE__*/ React.createElement($a093c7e1ec25a057$var$PortalProvider, {
|
|
18460
|
-
scope: __scopeTooltip,
|
|
18461
|
-
forceMount: forceMount
|
|
18462
|
-
}, /*#__PURE__*/ React.createElement($921a889cee6df7e8$export$99c2b779aa4e8b8b, {
|
|
18463
|
-
present: forceMount || context.open
|
|
18464
|
-
}, /*#__PURE__*/ React.createElement($f1701beae083dbae$export$602eac185826482c, {
|
|
18465
|
-
asChild: true,
|
|
18466
|
-
container: container
|
|
18467
|
-
}, children)));
|
|
18468
|
-
};
|
|
18469
18438
|
/* -------------------------------------------------------------------------------------------------
|
|
18470
18439
|
* TooltipContent
|
|
18471
18440
|
* -----------------------------------------------------------------------------------------------*/ const $a093c7e1ec25a057$var$CONTENT_NAME = 'TooltipContent';
|
|
@@ -18475,11 +18444,11 @@
|
|
|
18475
18444
|
const context = $a093c7e1ec25a057$var$useTooltipContext($a093c7e1ec25a057$var$CONTENT_NAME, props.__scopeTooltip);
|
|
18476
18445
|
return /*#__PURE__*/ React.createElement($921a889cee6df7e8$export$99c2b779aa4e8b8b, {
|
|
18477
18446
|
present: forceMount || context.open
|
|
18478
|
-
}, context.disableHoverableContent ? /*#__PURE__*/ React.createElement($a093c7e1ec25a057$var$TooltipContentImpl, _extends$
|
|
18447
|
+
}, context.disableHoverableContent ? /*#__PURE__*/ React.createElement($a093c7e1ec25a057$var$TooltipContentImpl, _extends$9({
|
|
18479
18448
|
side: side
|
|
18480
18449
|
}, contentProps, {
|
|
18481
18450
|
ref: forwardedRef
|
|
18482
|
-
})) : /*#__PURE__*/ React.createElement($a093c7e1ec25a057$var$TooltipContentHoverable, _extends$
|
|
18451
|
+
})) : /*#__PURE__*/ React.createElement($a093c7e1ec25a057$var$TooltipContentHoverable, _extends$9({
|
|
18483
18452
|
side: side
|
|
18484
18453
|
}, contentProps, {
|
|
18485
18454
|
ref: forwardedRef
|
|
@@ -18570,7 +18539,7 @@
|
|
|
18570
18539
|
onClose,
|
|
18571
18540
|
handleRemoveGraceArea
|
|
18572
18541
|
]);
|
|
18573
|
-
return /*#__PURE__*/ React.createElement($a093c7e1ec25a057$var$TooltipContentImpl, _extends$
|
|
18542
|
+
return /*#__PURE__*/ React.createElement($a093c7e1ec25a057$var$TooltipContentImpl, _extends$9({}, props, {
|
|
18574
18543
|
ref: composedRefs
|
|
18575
18544
|
}));
|
|
18576
18545
|
});
|
|
@@ -18615,7 +18584,7 @@
|
|
|
18615
18584
|
onFocusOutside: (event)=>event.preventDefault()
|
|
18616
18585
|
,
|
|
18617
18586
|
onDismiss: onClose
|
|
18618
|
-
}, /*#__PURE__*/ React.createElement($cf1ac5d9fe0e8206$export$7c6e2c02157bb7d2, _extends$
|
|
18587
|
+
}, /*#__PURE__*/ React.createElement($cf1ac5d9fe0e8206$export$7c6e2c02157bb7d2, _extends$9({
|
|
18619
18588
|
"data-state": context.stateAttribute
|
|
18620
18589
|
}, popperScope, contentProps, {
|
|
18621
18590
|
ref: forwardedRef,
|
|
@@ -18643,7 +18612,7 @@
|
|
|
18643
18612
|
const popperScope = $a093c7e1ec25a057$var$usePopperScope(__scopeTooltip);
|
|
18644
18613
|
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
|
|
18645
18614
|
// prevent issues in positioning the arrow due to the duplicate
|
|
18646
|
-
return visuallyHiddenContentContext.isInside ? null : /*#__PURE__*/ React.createElement($cf1ac5d9fe0e8206$export$21b07c8f274aebd5, _extends$
|
|
18615
|
+
return visuallyHiddenContentContext.isInside ? null : /*#__PURE__*/ React.createElement($cf1ac5d9fe0e8206$export$21b07c8f274aebd5, _extends$9({}, popperScope, arrowProps, {
|
|
18647
18616
|
ref: forwardedRef
|
|
18648
18617
|
}));
|
|
18649
18618
|
});
|
|
@@ -18786,7 +18755,6 @@
|
|
|
18786
18755
|
const $a093c7e1ec25a057$export$2881499e37b75b9a = $a093c7e1ec25a057$export$f78649fb9ca566b8;
|
|
18787
18756
|
const $a093c7e1ec25a057$export$be92b6f5f03c0fe9 = $a093c7e1ec25a057$export$28c660c63b792dea;
|
|
18788
18757
|
const $a093c7e1ec25a057$export$41fb9f06171c75f4 = $a093c7e1ec25a057$export$8c610744efcf8a1d;
|
|
18789
|
-
const $a093c7e1ec25a057$export$602eac185826482c = $a093c7e1ec25a057$export$7b36b8f925ab7497;
|
|
18790
18758
|
const $a093c7e1ec25a057$export$7c6e2c02157bb7d2 = $a093c7e1ec25a057$export$e9003e2be37ec060;
|
|
18791
18759
|
const $a093c7e1ec25a057$export$21b07c8f274aebd5 = $a093c7e1ec25a057$export$c27ee0ad710f7559;
|
|
18792
18760
|
|
|
@@ -18797,14 +18765,14 @@
|
|
|
18797
18765
|
hideTooltip = _ref$hideTooltip === void 0 ? false : _ref$hideTooltip;
|
|
18798
18766
|
|
|
18799
18767
|
if (hideTooltip) {
|
|
18800
|
-
return /*#__PURE__*/React__default["default"].createElement(
|
|
18768
|
+
return /*#__PURE__*/React__default["default"].createElement(React__default["default"].Fragment, null, children);
|
|
18801
18769
|
}
|
|
18802
18770
|
|
|
18803
|
-
return /*#__PURE__*/React__default["default"].createElement(
|
|
18771
|
+
return /*#__PURE__*/React__default["default"].createElement($a093c7e1ec25a057$export$2881499e37b75b9a, null, /*#__PURE__*/React__default["default"].createElement($a093c7e1ec25a057$export$be92b6f5f03c0fe9, null, /*#__PURE__*/React__default["default"].createElement($a093c7e1ec25a057$export$41fb9f06171c75f4, {
|
|
18804
18772
|
asChild: true
|
|
18805
|
-
}, children), /*#__PURE__*/React__default["default"].createElement(
|
|
18773
|
+
}, children), /*#__PURE__*/React__default["default"].createElement(TooltipContent$1, {
|
|
18806
18774
|
sideOffset: 4
|
|
18807
|
-
}, content)))
|
|
18775
|
+
}, content)));
|
|
18808
18776
|
}
|
|
18809
18777
|
var slideUpAndFade$1 = styled.keyframes(["from{opacity:0;transform:translateY(2px);}to{opacity:1;transform:translateY(0);}"]);
|
|
18810
18778
|
var slideRightAndFade$1 = styled.keyframes(["from{opacity:0;transform:translateX(-2px);}to{opacity:1;transform:translateX(0);}"]);
|
|
@@ -18813,29 +18781,32 @@
|
|
|
18813
18781
|
var TooltipContent$1 = styled__default["default"]($a093c7e1ec25a057$export$7c6e2c02157bb7d2).withConfig({
|
|
18814
18782
|
displayName: "Tooltip__TooltipContent",
|
|
18815
18783
|
componentId: "sc-1f1p4mx-0"
|
|
18816
|
-
})(["font-family:", ";white-space:nowrap;font-size:", ";line-height:", ";color:", ";background-color:", ";border-radius:", ";margin-top:", ";padding:", ";pointer-events:none;
|
|
18784
|
+
})(["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) {
|
|
18817
18785
|
var theme = _ref2.theme;
|
|
18818
18786
|
return theme.fonts.base;
|
|
18819
18787
|
}, function (_ref3) {
|
|
18820
18788
|
var theme = _ref3.theme;
|
|
18821
|
-
return theme.
|
|
18789
|
+
return theme.fontWeights.medium;
|
|
18822
18790
|
}, function (_ref4) {
|
|
18823
18791
|
var theme = _ref4.theme;
|
|
18824
|
-
return theme.
|
|
18792
|
+
return theme.fontSizes.smaller;
|
|
18825
18793
|
}, function (_ref5) {
|
|
18826
18794
|
var theme = _ref5.theme;
|
|
18827
|
-
return theme.
|
|
18795
|
+
return theme.lineHeights.smallerText;
|
|
18828
18796
|
}, function (_ref6) {
|
|
18829
18797
|
var theme = _ref6.theme;
|
|
18830
|
-
return
|
|
18798
|
+
return theme.colors.whiteGrey;
|
|
18831
18799
|
}, function (_ref7) {
|
|
18832
18800
|
var theme = _ref7.theme;
|
|
18833
|
-
return theme.
|
|
18801
|
+
return curriedTransparentize(0.05, theme.colors.blackBlue);
|
|
18834
18802
|
}, function (_ref8) {
|
|
18835
18803
|
var theme = _ref8.theme;
|
|
18836
|
-
return theme.
|
|
18804
|
+
return theme.radii.medium;
|
|
18837
18805
|
}, function (_ref9) {
|
|
18838
18806
|
var theme = _ref9.theme;
|
|
18807
|
+
return theme.space.half;
|
|
18808
|
+
}, function (_ref10) {
|
|
18809
|
+
var theme = _ref10.theme;
|
|
18839
18810
|
return theme.space.x0_25 + " " + theme.space.x0_75;
|
|
18840
18811
|
}, slideUpAndFade$1, slideRightAndFade$1, slideDownAndFade$1, slideLeftAndFade$1);
|
|
18841
18812
|
|
|
@@ -22021,7 +21992,7 @@
|
|
|
22021
21992
|
var children = props.children,
|
|
22022
21993
|
innerRef = props.innerRef,
|
|
22023
21994
|
innerProps = props.innerProps;
|
|
22024
|
-
return jsx("div", _extends$
|
|
21995
|
+
return jsx("div", _extends$a({}, getStyleProps(props, 'menu', {
|
|
22025
21996
|
menu: true
|
|
22026
21997
|
}), {
|
|
22027
21998
|
ref: innerRef
|
|
@@ -22052,7 +22023,7 @@
|
|
|
22052
22023
|
innerProps = props.innerProps,
|
|
22053
22024
|
innerRef = props.innerRef,
|
|
22054
22025
|
isMulti = props.isMulti;
|
|
22055
|
-
return jsx("div", _extends$
|
|
22026
|
+
return jsx("div", _extends$a({}, getStyleProps(props, 'menuList', {
|
|
22056
22027
|
'menu-list': true,
|
|
22057
22028
|
'menu-list--is-multi': isMulti
|
|
22058
22029
|
}), {
|
|
@@ -22082,7 +22053,7 @@
|
|
|
22082
22053
|
children = _ref6$children === void 0 ? 'No options' : _ref6$children,
|
|
22083
22054
|
innerProps = _ref6.innerProps,
|
|
22084
22055
|
restProps = _objectWithoutProperties(_ref6, _excluded$3$1);
|
|
22085
|
-
return jsx("div", _extends$
|
|
22056
|
+
return jsx("div", _extends$a({}, getStyleProps(_objectSpread2(_objectSpread2({}, restProps), {}, {
|
|
22086
22057
|
children: children,
|
|
22087
22058
|
innerProps: innerProps
|
|
22088
22059
|
}), 'noOptionsMessage', {
|
|
@@ -22095,7 +22066,7 @@
|
|
|
22095
22066
|
children = _ref7$children === void 0 ? 'Loading...' : _ref7$children,
|
|
22096
22067
|
innerProps = _ref7.innerProps,
|
|
22097
22068
|
restProps = _objectWithoutProperties(_ref7, _excluded2$1);
|
|
22098
|
-
return jsx("div", _extends$
|
|
22069
|
+
return jsx("div", _extends$a({}, getStyleProps(_objectSpread2(_objectSpread2({}, restProps), {}, {
|
|
22099
22070
|
children: children,
|
|
22100
22071
|
innerProps: innerProps
|
|
22101
22072
|
}), 'loadingMessage', {
|
|
@@ -22180,7 +22151,7 @@
|
|
|
22180
22151
|
if (!appendTo && menuPosition !== 'fixed' || !computedPosition) return null;
|
|
22181
22152
|
|
|
22182
22153
|
// same wrapper element whether fixed or portalled
|
|
22183
|
-
var menuWrapper = jsx("div", _extends$
|
|
22154
|
+
var menuWrapper = jsx("div", _extends$a({
|
|
22184
22155
|
ref: setMenuPortalElement
|
|
22185
22156
|
}, getStyleProps(_objectSpread2(_objectSpread2({}, props), {}, {
|
|
22186
22157
|
offset: computedPosition.offset,
|
|
@@ -22214,7 +22185,7 @@
|
|
|
22214
22185
|
innerProps = props.innerProps,
|
|
22215
22186
|
isDisabled = props.isDisabled,
|
|
22216
22187
|
isRtl = props.isRtl;
|
|
22217
|
-
return jsx("div", _extends$
|
|
22188
|
+
return jsx("div", _extends$a({}, getStyleProps(props, 'container', {
|
|
22218
22189
|
'--is-disabled': isDisabled,
|
|
22219
22190
|
'--is-rtl': isRtl
|
|
22220
22191
|
}), innerProps), children);
|
|
@@ -22246,7 +22217,7 @@
|
|
|
22246
22217
|
innerProps = props.innerProps,
|
|
22247
22218
|
isMulti = props.isMulti,
|
|
22248
22219
|
hasValue = props.hasValue;
|
|
22249
|
-
return jsx("div", _extends$
|
|
22220
|
+
return jsx("div", _extends$a({}, getStyleProps(props, 'valueContainer', {
|
|
22250
22221
|
'value-container': true,
|
|
22251
22222
|
'value-container--is-multi': isMulti,
|
|
22252
22223
|
'value-container--has-value': hasValue
|
|
@@ -22268,7 +22239,7 @@
|
|
|
22268
22239
|
var IndicatorsContainer = function IndicatorsContainer(props) {
|
|
22269
22240
|
var children = props.children,
|
|
22270
22241
|
innerProps = props.innerProps;
|
|
22271
|
-
return jsx("div", _extends$
|
|
22242
|
+
return jsx("div", _extends$a({}, getStyleProps(props, 'indicatorsContainer', {
|
|
22272
22243
|
indicators: true
|
|
22273
22244
|
}), innerProps), children);
|
|
22274
22245
|
};
|
|
@@ -22293,7 +22264,7 @@
|
|
|
22293
22264
|
var Svg = function Svg(_ref) {
|
|
22294
22265
|
var size = _ref.size,
|
|
22295
22266
|
props = _objectWithoutProperties(_ref, _excluded$2$1);
|
|
22296
|
-
return jsx("svg", _extends$
|
|
22267
|
+
return jsx("svg", _extends$a({
|
|
22297
22268
|
height: size,
|
|
22298
22269
|
width: size,
|
|
22299
22270
|
viewBox: "0 0 20 20",
|
|
@@ -22303,14 +22274,14 @@
|
|
|
22303
22274
|
}, props));
|
|
22304
22275
|
};
|
|
22305
22276
|
var CrossIcon = function CrossIcon(props) {
|
|
22306
|
-
return jsx(Svg, _extends$
|
|
22277
|
+
return jsx(Svg, _extends$a({
|
|
22307
22278
|
size: 20
|
|
22308
22279
|
}, props), jsx("path", {
|
|
22309
22280
|
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"
|
|
22310
22281
|
}));
|
|
22311
22282
|
};
|
|
22312
22283
|
var DownChevron = function DownChevron(props) {
|
|
22313
|
-
return jsx(Svg, _extends$
|
|
22284
|
+
return jsx(Svg, _extends$a({
|
|
22314
22285
|
size: 20
|
|
22315
22286
|
}, props), jsx("path", {
|
|
22316
22287
|
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"
|
|
@@ -22342,7 +22313,7 @@
|
|
|
22342
22313
|
var DropdownIndicator = function DropdownIndicator(props) {
|
|
22343
22314
|
var children = props.children,
|
|
22344
22315
|
innerProps = props.innerProps;
|
|
22345
|
-
return jsx("div", _extends$
|
|
22316
|
+
return jsx("div", _extends$a({}, getStyleProps(props, 'dropdownIndicator', {
|
|
22346
22317
|
indicator: true,
|
|
22347
22318
|
'dropdown-indicator': true
|
|
22348
22319
|
}), innerProps), children || jsx(DownChevron, null));
|
|
@@ -22351,7 +22322,7 @@
|
|
|
22351
22322
|
var ClearIndicator = function ClearIndicator(props) {
|
|
22352
22323
|
var children = props.children,
|
|
22353
22324
|
innerProps = props.innerProps;
|
|
22354
|
-
return jsx("div", _extends$
|
|
22325
|
+
return jsx("div", _extends$a({}, getStyleProps(props, 'clearIndicator', {
|
|
22355
22326
|
indicator: true,
|
|
22356
22327
|
'clear-indicator': true
|
|
22357
22328
|
}), innerProps), children || jsx(CrossIcon, null));
|
|
@@ -22378,7 +22349,7 @@
|
|
|
22378
22349
|
};
|
|
22379
22350
|
var IndicatorSeparator = function IndicatorSeparator(props) {
|
|
22380
22351
|
var innerProps = props.innerProps;
|
|
22381
|
-
return jsx("span", _extends$
|
|
22352
|
+
return jsx("span", _extends$a({}, innerProps, getStyleProps(props, 'indicatorSeparator', {
|
|
22382
22353
|
'indicator-separator': true
|
|
22383
22354
|
})));
|
|
22384
22355
|
};
|
|
@@ -22431,7 +22402,7 @@
|
|
|
22431
22402
|
_ref7$size = _ref7.size,
|
|
22432
22403
|
size = _ref7$size === void 0 ? 4 : _ref7$size,
|
|
22433
22404
|
restProps = _objectWithoutProperties(_ref7, _excluded2$2);
|
|
22434
|
-
return jsx("div", _extends$
|
|
22405
|
+
return jsx("div", _extends$a({}, getStyleProps(_objectSpread2(_objectSpread2({}, restProps), {}, {
|
|
22435
22406
|
innerProps: innerProps,
|
|
22436
22407
|
isRtl: isRtl,
|
|
22437
22408
|
size: size
|
|
@@ -22487,7 +22458,7 @@
|
|
|
22487
22458
|
innerRef = props.innerRef,
|
|
22488
22459
|
innerProps = props.innerProps,
|
|
22489
22460
|
menuIsOpen = props.menuIsOpen;
|
|
22490
|
-
return jsx("div", _extends$
|
|
22461
|
+
return jsx("div", _extends$a({
|
|
22491
22462
|
ref: innerRef
|
|
22492
22463
|
}, getStyleProps(props, 'control', {
|
|
22493
22464
|
control: true,
|
|
@@ -22519,9 +22490,9 @@
|
|
|
22519
22490
|
label = props.label,
|
|
22520
22491
|
theme = props.theme,
|
|
22521
22492
|
selectProps = props.selectProps;
|
|
22522
|
-
return jsx("div", _extends$
|
|
22493
|
+
return jsx("div", _extends$a({}, getStyleProps(props, 'group', {
|
|
22523
22494
|
group: true
|
|
22524
|
-
}), innerProps), jsx(Heading, _extends$
|
|
22495
|
+
}), innerProps), jsx(Heading, _extends$a({}, headingProps, {
|
|
22525
22496
|
selectProps: selectProps,
|
|
22526
22497
|
theme: theme,
|
|
22527
22498
|
getStyles: getStyles,
|
|
@@ -22551,7 +22522,7 @@
|
|
|
22551
22522
|
var _cleanCommonProps = cleanCommonProps(props);
|
|
22552
22523
|
_cleanCommonProps.data;
|
|
22553
22524
|
var innerProps = _objectWithoutProperties(_cleanCommonProps, _excluded$1$1);
|
|
22554
|
-
return jsx("div", _extends$
|
|
22525
|
+
return jsx("div", _extends$a({}, getStyleProps(props, 'groupHeading', {
|
|
22555
22526
|
'group-heading': true
|
|
22556
22527
|
}), innerProps));
|
|
22557
22528
|
};
|
|
@@ -22614,11 +22585,11 @@
|
|
|
22614
22585
|
isHidden = _cleanCommonProps.isHidden,
|
|
22615
22586
|
inputClassName = _cleanCommonProps.inputClassName,
|
|
22616
22587
|
innerProps = _objectWithoutProperties(_cleanCommonProps, _excluded$6);
|
|
22617
|
-
return jsx("div", _extends$
|
|
22588
|
+
return jsx("div", _extends$a({}, getStyleProps(props, 'input', {
|
|
22618
22589
|
'input-container': true
|
|
22619
22590
|
}), {
|
|
22620
22591
|
"data-value": value || ''
|
|
22621
|
-
}), jsx("input", _extends$
|
|
22592
|
+
}), jsx("input", _extends$a({
|
|
22622
22593
|
className: cx({
|
|
22623
22594
|
input: true
|
|
22624
22595
|
}, inputClassName),
|
|
@@ -22691,7 +22662,7 @@
|
|
|
22691
22662
|
function MultiValueRemove(_ref5) {
|
|
22692
22663
|
var children = _ref5.children,
|
|
22693
22664
|
innerProps = _ref5.innerProps;
|
|
22694
|
-
return jsx("div", _extends$
|
|
22665
|
+
return jsx("div", _extends$a({
|
|
22695
22666
|
role: "button"
|
|
22696
22667
|
}, innerProps), children || jsx(CrossIcon, {
|
|
22697
22668
|
size: 14
|
|
@@ -22765,7 +22736,7 @@
|
|
|
22765
22736
|
isSelected = props.isSelected,
|
|
22766
22737
|
innerRef = props.innerRef,
|
|
22767
22738
|
innerProps = props.innerProps;
|
|
22768
|
-
return jsx("div", _extends$
|
|
22739
|
+
return jsx("div", _extends$a({}, getStyleProps(props, 'option', {
|
|
22769
22740
|
option: true,
|
|
22770
22741
|
'option--is-disabled': isDisabled,
|
|
22771
22742
|
'option--is-focused': isFocused,
|
|
@@ -22793,7 +22764,7 @@
|
|
|
22793
22764
|
var Placeholder = function Placeholder(props) {
|
|
22794
22765
|
var children = props.children,
|
|
22795
22766
|
innerProps = props.innerProps;
|
|
22796
|
-
return jsx("div", _extends$
|
|
22767
|
+
return jsx("div", _extends$a({}, getStyleProps(props, 'placeholder', {
|
|
22797
22768
|
placeholder: true
|
|
22798
22769
|
}), innerProps), children);
|
|
22799
22770
|
};
|
|
@@ -22821,7 +22792,7 @@
|
|
|
22821
22792
|
var children = props.children,
|
|
22822
22793
|
isDisabled = props.isDisabled,
|
|
22823
22794
|
innerProps = props.innerProps;
|
|
22824
|
-
return jsx("div", _extends$
|
|
22795
|
+
return jsx("div", _extends$a({}, getStyleProps(props, 'singleValue', {
|
|
22825
22796
|
'single-value': true,
|
|
22826
22797
|
'single-value--is-disabled': isDisabled
|
|
22827
22798
|
}), innerProps), children);
|
|
@@ -22922,7 +22893,7 @@
|
|
|
22922
22893
|
toString: _EMOTION_STRINGIFIED_CSS_ERROR__$2
|
|
22923
22894
|
};
|
|
22924
22895
|
var A11yText = function A11yText(props) {
|
|
22925
|
-
return jsx("span", _extends$
|
|
22896
|
+
return jsx("span", _extends$a({
|
|
22926
22897
|
css: _ref$1
|
|
22927
22898
|
}, props));
|
|
22928
22899
|
};
|
|
@@ -23439,7 +23410,7 @@
|
|
|
23439
23410
|
props = _objectWithoutProperties(_ref, _excluded$5);
|
|
23440
23411
|
// Remove animation props not meant for HTML elements
|
|
23441
23412
|
var filteredProps = removeProps(props, 'onExited', 'in', 'enter', 'exit', 'appear');
|
|
23442
|
-
return jsx("input", _extends$
|
|
23413
|
+
return jsx("input", _extends$a({
|
|
23443
23414
|
ref: innerRef
|
|
23444
23415
|
}, filteredProps, {
|
|
23445
23416
|
css: /*#__PURE__*/css$2({
|
|
@@ -25015,7 +24986,7 @@
|
|
|
25015
24986
|
});
|
|
25016
24987
|
if (!isSearchable) {
|
|
25017
24988
|
// use a dummy input to maintain focus/blur functionality
|
|
25018
|
-
return /*#__PURE__*/React__namespace.createElement(DummyInput, _extends$
|
|
24989
|
+
return /*#__PURE__*/React__namespace.createElement(DummyInput, _extends$a({
|
|
25019
24990
|
id: id,
|
|
25020
24991
|
innerRef: this.getInputRef,
|
|
25021
24992
|
onBlur: this.onInputBlur,
|
|
@@ -25028,7 +24999,7 @@
|
|
|
25028
24999
|
value: ""
|
|
25029
25000
|
}, ariaAttributes));
|
|
25030
25001
|
}
|
|
25031
|
-
return /*#__PURE__*/React__namespace.createElement(Input, _extends$
|
|
25002
|
+
return /*#__PURE__*/React__namespace.createElement(Input, _extends$a({}, commonProps, {
|
|
25032
25003
|
autoCapitalize: "none",
|
|
25033
25004
|
autoComplete: "off",
|
|
25034
25005
|
autoCorrect: "off",
|
|
@@ -25069,7 +25040,7 @@
|
|
|
25069
25040
|
focusedValue = _this$state5.focusedValue,
|
|
25070
25041
|
isFocused = _this$state5.isFocused;
|
|
25071
25042
|
if (!this.hasValue() || !controlShouldRenderValue) {
|
|
25072
|
-
return inputValue ? null : /*#__PURE__*/React__namespace.createElement(Placeholder, _extends$
|
|
25043
|
+
return inputValue ? null : /*#__PURE__*/React__namespace.createElement(Placeholder, _extends$a({}, commonProps, {
|
|
25073
25044
|
key: "placeholder",
|
|
25074
25045
|
isDisabled: isDisabled,
|
|
25075
25046
|
isFocused: isFocused,
|
|
@@ -25082,7 +25053,7 @@
|
|
|
25082
25053
|
return selectValue.map(function (opt, index) {
|
|
25083
25054
|
var isOptionFocused = opt === focusedValue;
|
|
25084
25055
|
var key = "".concat(_this3.getOptionLabel(opt), "-").concat(_this3.getOptionValue(opt));
|
|
25085
|
-
return /*#__PURE__*/React__namespace.createElement(MultiValue, _extends$
|
|
25056
|
+
return /*#__PURE__*/React__namespace.createElement(MultiValue, _extends$a({}, commonProps, {
|
|
25086
25057
|
components: {
|
|
25087
25058
|
Container: MultiValueContainer,
|
|
25088
25059
|
Label: MultiValueLabel,
|
|
@@ -25111,7 +25082,7 @@
|
|
|
25111
25082
|
return null;
|
|
25112
25083
|
}
|
|
25113
25084
|
var singleValue = selectValue[0];
|
|
25114
|
-
return /*#__PURE__*/React__namespace.createElement(SingleValue, _extends$
|
|
25085
|
+
return /*#__PURE__*/React__namespace.createElement(SingleValue, _extends$a({}, commonProps, {
|
|
25115
25086
|
data: singleValue,
|
|
25116
25087
|
isDisabled: isDisabled
|
|
25117
25088
|
}), this.formatOptionLabel(singleValue, 'value'));
|
|
@@ -25134,7 +25105,7 @@
|
|
|
25134
25105
|
onTouchEnd: this.onClearIndicatorTouchEnd,
|
|
25135
25106
|
'aria-hidden': 'true'
|
|
25136
25107
|
};
|
|
25137
|
-
return /*#__PURE__*/React__namespace.createElement(ClearIndicator, _extends$
|
|
25108
|
+
return /*#__PURE__*/React__namespace.createElement(ClearIndicator, _extends$a({}, commonProps, {
|
|
25138
25109
|
innerProps: innerProps,
|
|
25139
25110
|
isFocused: isFocused
|
|
25140
25111
|
}));
|
|
@@ -25153,7 +25124,7 @@
|
|
|
25153
25124
|
var innerProps = {
|
|
25154
25125
|
'aria-hidden': 'true'
|
|
25155
25126
|
};
|
|
25156
|
-
return /*#__PURE__*/React__namespace.createElement(LoadingIndicator, _extends$
|
|
25127
|
+
return /*#__PURE__*/React__namespace.createElement(LoadingIndicator, _extends$a({}, commonProps, {
|
|
25157
25128
|
innerProps: innerProps,
|
|
25158
25129
|
isDisabled: isDisabled,
|
|
25159
25130
|
isFocused: isFocused
|
|
@@ -25171,7 +25142,7 @@
|
|
|
25171
25142
|
var commonProps = this.commonProps;
|
|
25172
25143
|
var isDisabled = this.props.isDisabled;
|
|
25173
25144
|
var isFocused = this.state.isFocused;
|
|
25174
|
-
return /*#__PURE__*/React__namespace.createElement(IndicatorSeparator, _extends$
|
|
25145
|
+
return /*#__PURE__*/React__namespace.createElement(IndicatorSeparator, _extends$a({}, commonProps, {
|
|
25175
25146
|
isDisabled: isDisabled,
|
|
25176
25147
|
isFocused: isFocused
|
|
25177
25148
|
}));
|
|
@@ -25190,7 +25161,7 @@
|
|
|
25190
25161
|
onTouchEnd: this.onDropdownIndicatorTouchEnd,
|
|
25191
25162
|
'aria-hidden': 'true'
|
|
25192
25163
|
};
|
|
25193
|
-
return /*#__PURE__*/React__namespace.createElement(DropdownIndicator, _extends$
|
|
25164
|
+
return /*#__PURE__*/React__namespace.createElement(DropdownIndicator, _extends$a({}, commonProps, {
|
|
25194
25165
|
innerProps: innerProps,
|
|
25195
25166
|
isDisabled: isDisabled,
|
|
25196
25167
|
isFocused: isFocused
|
|
@@ -25255,7 +25226,7 @@
|
|
|
25255
25226
|
'aria-selected': _this4.isAppleDevice ? undefined : isSelected // is not supported on Apple devices
|
|
25256
25227
|
};
|
|
25257
25228
|
|
|
25258
|
-
return /*#__PURE__*/React__namespace.createElement(Option, _extends$
|
|
25229
|
+
return /*#__PURE__*/React__namespace.createElement(Option, _extends$a({}, commonProps, {
|
|
25259
25230
|
innerProps: innerProps,
|
|
25260
25231
|
data: data,
|
|
25261
25232
|
isDisabled: isDisabled,
|
|
@@ -25277,7 +25248,7 @@
|
|
|
25277
25248
|
groupIndex = item.index;
|
|
25278
25249
|
var groupId = "".concat(_this4.getElementId('group'), "-").concat(groupIndex);
|
|
25279
25250
|
var headingId = "".concat(groupId, "-heading");
|
|
25280
|
-
return /*#__PURE__*/React__namespace.createElement(Group, _extends$
|
|
25251
|
+
return /*#__PURE__*/React__namespace.createElement(Group, _extends$a({}, commonProps, {
|
|
25281
25252
|
key: groupId,
|
|
25282
25253
|
data: _data,
|
|
25283
25254
|
options: options,
|
|
@@ -25314,12 +25285,12 @@
|
|
|
25314
25285
|
menuPosition: menuPosition,
|
|
25315
25286
|
menuShouldScrollIntoView: menuShouldScrollIntoView
|
|
25316
25287
|
};
|
|
25317
|
-
var menuElement = /*#__PURE__*/React__namespace.createElement(MenuPlacer, _extends$
|
|
25288
|
+
var menuElement = /*#__PURE__*/React__namespace.createElement(MenuPlacer, _extends$a({}, commonProps, menuPlacementProps), function (_ref4) {
|
|
25318
25289
|
var ref = _ref4.ref,
|
|
25319
25290
|
_ref4$placerProps = _ref4.placerProps,
|
|
25320
25291
|
placement = _ref4$placerProps.placement,
|
|
25321
25292
|
maxHeight = _ref4$placerProps.maxHeight;
|
|
25322
|
-
return /*#__PURE__*/React__namespace.createElement(Menu, _extends$
|
|
25293
|
+
return /*#__PURE__*/React__namespace.createElement(Menu, _extends$a({}, commonProps, menuPlacementProps, {
|
|
25323
25294
|
innerRef: ref,
|
|
25324
25295
|
innerProps: {
|
|
25325
25296
|
onMouseDown: _this4.onMenuMouseDown,
|
|
@@ -25333,7 +25304,7 @@
|
|
|
25333
25304
|
onBottomArrive: onMenuScrollToBottom,
|
|
25334
25305
|
lockEnabled: menuShouldBlockScroll
|
|
25335
25306
|
}, function (scrollTargetRef) {
|
|
25336
|
-
return /*#__PURE__*/React__namespace.createElement(MenuList, _extends$
|
|
25307
|
+
return /*#__PURE__*/React__namespace.createElement(MenuList, _extends$a({}, commonProps, {
|
|
25337
25308
|
innerRef: function innerRef(instance) {
|
|
25338
25309
|
_this4.getMenuListRef(instance);
|
|
25339
25310
|
scrollTargetRef(instance);
|
|
@@ -25353,7 +25324,7 @@
|
|
|
25353
25324
|
// positioning behaviour is almost identical for portalled and fixed,
|
|
25354
25325
|
// so we use the same component. the actual portalling logic is forked
|
|
25355
25326
|
// within the component based on `menuPosition`
|
|
25356
|
-
return menuPortalTarget || menuPosition === 'fixed' ? /*#__PURE__*/React__namespace.createElement(MenuPortal, _extends$
|
|
25327
|
+
return menuPortalTarget || menuPosition === 'fixed' ? /*#__PURE__*/React__namespace.createElement(MenuPortal, _extends$a({}, commonProps, {
|
|
25357
25328
|
appendTo: menuPortalTarget,
|
|
25358
25329
|
controlElement: this.controlRef,
|
|
25359
25330
|
menuPlacement: menuPlacement,
|
|
@@ -25423,7 +25394,7 @@
|
|
|
25423
25394
|
isFocused = _this$state6.isFocused,
|
|
25424
25395
|
selectValue = _this$state6.selectValue;
|
|
25425
25396
|
var focusableOptions = this.getFocusableOptions();
|
|
25426
|
-
return /*#__PURE__*/React__namespace.createElement(LiveRegion$1, _extends$
|
|
25397
|
+
return /*#__PURE__*/React__namespace.createElement(LiveRegion$1, _extends$a({}, commonProps, {
|
|
25427
25398
|
id: this.getElementId('live-region'),
|
|
25428
25399
|
ariaSelection: ariaSelection,
|
|
25429
25400
|
focusedOption: focusedOption,
|
|
@@ -25449,7 +25420,7 @@
|
|
|
25449
25420
|
menuIsOpen = _this$props14.menuIsOpen;
|
|
25450
25421
|
var isFocused = this.state.isFocused;
|
|
25451
25422
|
var commonProps = this.commonProps = this.getCommonProps();
|
|
25452
|
-
return /*#__PURE__*/React__namespace.createElement(SelectContainer, _extends$
|
|
25423
|
+
return /*#__PURE__*/React__namespace.createElement(SelectContainer, _extends$a({}, commonProps, {
|
|
25453
25424
|
className: className,
|
|
25454
25425
|
innerProps: {
|
|
25455
25426
|
id: id,
|
|
@@ -25457,7 +25428,7 @@
|
|
|
25457
25428
|
},
|
|
25458
25429
|
isDisabled: isDisabled,
|
|
25459
25430
|
isFocused: isFocused
|
|
25460
|
-
}), this.renderLiveRegion(), /*#__PURE__*/React__namespace.createElement(Control, _extends$
|
|
25431
|
+
}), this.renderLiveRegion(), /*#__PURE__*/React__namespace.createElement(Control, _extends$a({}, commonProps, {
|
|
25461
25432
|
innerRef: this.getControlRef,
|
|
25462
25433
|
innerProps: {
|
|
25463
25434
|
onMouseDown: this.onControlMouseDown,
|
|
@@ -25466,9 +25437,9 @@
|
|
|
25466
25437
|
isDisabled: isDisabled,
|
|
25467
25438
|
isFocused: isFocused,
|
|
25468
25439
|
menuIsOpen: menuIsOpen
|
|
25469
|
-
}), /*#__PURE__*/React__namespace.createElement(ValueContainer, _extends$
|
|
25440
|
+
}), /*#__PURE__*/React__namespace.createElement(ValueContainer, _extends$a({}, commonProps, {
|
|
25470
25441
|
isDisabled: isDisabled
|
|
25471
|
-
}), this.renderPlaceholderOrValue(), this.renderInput()), /*#__PURE__*/React__namespace.createElement(IndicatorsContainer, _extends$
|
|
25442
|
+
}), this.renderPlaceholderOrValue(), this.renderInput()), /*#__PURE__*/React__namespace.createElement(IndicatorsContainer, _extends$a({}, commonProps, {
|
|
25472
25443
|
isDisabled: isDisabled
|
|
25473
25444
|
}), this.renderClearIndicator(), this.renderLoadingIndicator(), this.renderIndicatorSeparator(), this.renderDropdownIndicator())), this.renderMenu(), this.renderFormField());
|
|
25474
25445
|
}
|
|
@@ -25739,7 +25710,7 @@
|
|
|
25739
25710
|
var AsyncSelect$1 = /*#__PURE__*/React.forwardRef(function (props, ref) {
|
|
25740
25711
|
var stateManagedProps = useAsync(props);
|
|
25741
25712
|
var selectProps = useStateManager(stateManagedProps);
|
|
25742
|
-
return /*#__PURE__*/React__namespace.createElement(Select, _extends$
|
|
25713
|
+
return /*#__PURE__*/React__namespace.createElement(Select, _extends$a({
|
|
25743
25714
|
ref: ref
|
|
25744
25715
|
}, selectProps));
|
|
25745
25716
|
});
|
|
@@ -29769,7 +29740,7 @@
|
|
|
29769
29740
|
|
|
29770
29741
|
var StateManagedSelect = /*#__PURE__*/React.forwardRef(function (props, ref) {
|
|
29771
29742
|
var baseSelectProps = useStateManager(props);
|
|
29772
|
-
return /*#__PURE__*/React__namespace.createElement(Select, _extends$
|
|
29743
|
+
return /*#__PURE__*/React__namespace.createElement(Select, _extends$a({
|
|
29773
29744
|
ref: ref
|
|
29774
29745
|
}, baseSelectProps));
|
|
29775
29746
|
});
|
|
@@ -30705,7 +30676,7 @@
|
|
|
30705
30676
|
}
|
|
30706
30677
|
}, []);
|
|
30707
30678
|
}
|
|
30708
|
-
var lockProps = _extends$
|
|
30679
|
+
var lockProps = _extends$a((_extends2 = {}, _extends2[FOCUS_DISABLED] = disabled && 'disabled', _extends2[FOCUS_GROUP] = group, _extends2), containerProps);
|
|
30709
30680
|
var hasLeadingGuards = noFocusGuards !== true;
|
|
30710
30681
|
var hasTailingGuards = hasLeadingGuards && noFocusGuards !== 'tail';
|
|
30711
30682
|
var mergedRef = useMergeRefs([parentRef, setObserveNode]);
|
|
@@ -30744,7 +30715,7 @@
|
|
|
30744
30715
|
returnFocus: returnFocus,
|
|
30745
30716
|
focusOptions: focusOptions,
|
|
30746
30717
|
noFocusGuards: noFocusGuards
|
|
30747
|
-
}), /*#__PURE__*/React__namespace.createElement(Container, _extends$
|
|
30718
|
+
}), /*#__PURE__*/React__namespace.createElement(Container, _extends$a({
|
|
30748
30719
|
ref: mergedRef
|
|
30749
30720
|
}, lockProps, {
|
|
30750
30721
|
className: className,
|
|
@@ -32074,7 +32045,7 @@
|
|
|
32074
32045
|
var FocusTrap = withSideEffect(reducePropsToState, handleStateChangeOnClient)(FocusWatcher);
|
|
32075
32046
|
|
|
32076
32047
|
var FocusLockCombination = /*#__PURE__*/React__namespace.forwardRef(function FocusLockUICombination(props, ref) {
|
|
32077
|
-
return /*#__PURE__*/React__namespace.createElement(FocusLockUI, _extends$
|
|
32048
|
+
return /*#__PURE__*/React__namespace.createElement(FocusLockUI, _extends$a({
|
|
32078
32049
|
sideCar: FocusTrap,
|
|
32079
32050
|
ref: ref
|
|
32080
32051
|
}, props));
|
|
@@ -61387,7 +61358,7 @@
|
|
|
61387
61358
|
className: className,
|
|
61388
61359
|
onScroll: onScroll,
|
|
61389
61360
|
ref: this._outerRefSetter,
|
|
61390
|
-
style: _extends$
|
|
61361
|
+
style: _extends$a({
|
|
61391
61362
|
position: 'relative',
|
|
61392
61363
|
height: height,
|
|
61393
61364
|
width: width,
|
|
@@ -65252,7 +65223,7 @@
|
|
|
65252
65223
|
});
|
|
65253
65224
|
var TooltipProvider = $a093c7e1ec25a057$export$2881499e37b75b9a;
|
|
65254
65225
|
|
|
65255
|
-
|
|
65226
|
+
function Tooltip(_a) {
|
|
65256
65227
|
var _b, _c;
|
|
65257
65228
|
|
|
65258
65229
|
var children = _a.children,
|
|
@@ -65274,7 +65245,7 @@
|
|
|
65274
65245
|
supportMobileTap: (_c = props.supportMobileTap) !== null && _c !== void 0 ? _c : false
|
|
65275
65246
|
}
|
|
65276
65247
|
}, children));
|
|
65277
|
-
}
|
|
65248
|
+
}
|
|
65278
65249
|
|
|
65279
65250
|
Tooltip.displayName = $a093c7e1ec25a057$export$be92b6f5f03c0fe9.displayName;
|
|
65280
65251
|
var TooltipTrigger = /*#__PURE__*/React__namespace.forwardRef(function (_a, ref) {
|
|
@@ -65310,7 +65281,7 @@
|
|
|
65310
65281
|
var StyledContent = styled__default["default"]($a093c7e1ec25a057$export$7c6e2c02157bb7d2).withConfig({
|
|
65311
65282
|
displayName: "TooltipComponents__StyledContent",
|
|
65312
65283
|
componentId: "sc-1fm7xjh-0"
|
|
65313
|
-
})(["font-family:", ";font-size:", ";line-height:", ";border-radius:", ";padding:", ";color:", ";background-color:", ";border:1px solid ", ";box-shadow:", ";
|
|
65284
|
+
})(["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) {
|
|
65314
65285
|
var theme = _ref.theme;
|
|
65315
65286
|
return theme.fonts.base;
|
|
65316
65287
|
}, function (_ref2) {
|
|
@@ -65337,15 +65308,12 @@
|
|
|
65337
65308
|
}, function (_ref9) {
|
|
65338
65309
|
var theme = _ref9.theme;
|
|
65339
65310
|
return theme.shadows.medium;
|
|
65340
|
-
}, function (_ref10) {
|
|
65341
|
-
var theme = _ref10.theme;
|
|
65342
|
-
return theme.zIndices.content;
|
|
65343
65311
|
}, slideDownAndFade, slideLeftAndFade, slideUpAndFade, slideRightAndFade, maxWidth);
|
|
65344
65312
|
var StyledArrow = styled__default["default"]($a093c7e1ec25a057$export$21b07c8f274aebd5).withConfig({
|
|
65345
65313
|
displayName: "TooltipComponents__StyledArrow",
|
|
65346
65314
|
componentId: "sc-1fm7xjh-1"
|
|
65347
|
-
})(function (
|
|
65348
|
-
var theme =
|
|
65315
|
+
})(function (_ref10) {
|
|
65316
|
+
var theme = _ref10.theme;
|
|
65349
65317
|
return {
|
|
65350
65318
|
fill: theme.colors.white,
|
|
65351
65319
|
filter: "drop-shadow(0px 1px 0px " + theme.colors.grey + ")"
|
|
@@ -65368,7 +65336,7 @@
|
|
|
65368
65336
|
});
|
|
65369
65337
|
TooltipContent.displayName = $a093c7e1ec25a057$export$7c6e2c02157bb7d2.displayName;
|
|
65370
65338
|
|
|
65371
|
-
|
|
65339
|
+
function MaybeTooltip(_ref) {
|
|
65372
65340
|
var tooltip = _ref.tooltip,
|
|
65373
65341
|
children = _ref.children,
|
|
65374
65342
|
_ref$placement = _ref.placement,
|
|
@@ -65395,12 +65363,12 @@
|
|
|
65395
65363
|
supportMobileTap: supportMobileTap
|
|
65396
65364
|
}, /*#__PURE__*/React__default["default"].createElement(TooltipTrigger, {
|
|
65397
65365
|
asChild: true
|
|
65398
|
-
}, children), /*#__PURE__*/React__default["default"].createElement(
|
|
65366
|
+
}, children), /*#__PURE__*/React__default["default"].createElement(TooltipContent, {
|
|
65399
65367
|
side: placement,
|
|
65400
65368
|
className: className,
|
|
65401
65369
|
maxWidth: maxWidth
|
|
65402
|
-
}, tooltip)))
|
|
65403
|
-
}
|
|
65370
|
+
}, tooltip)));
|
|
65371
|
+
}
|
|
65404
65372
|
|
|
65405
65373
|
var TruncatedTextFillWidth = function TruncatedTextFillWidth(_a) {
|
|
65406
65374
|
var element = _a.element,
|
|
@@ -65481,21 +65449,16 @@
|
|
|
65481
65449
|
_a$dataTestid = _a["data-testid"],
|
|
65482
65450
|
dataTestId = _a$dataTestid === void 0 ? "truncated-text" : _a$dataTestid,
|
|
65483
65451
|
children = _a.children,
|
|
65484
|
-
|
|
65452
|
+
rest = __rest$3(_a, ["indicator", "element", "maxCharacters", "fullWidth", "showTooltip", "data-testid", "children"]);
|
|
65485
65453
|
|
|
65486
|
-
|
|
65487
|
-
indicator: indicator,
|
|
65488
|
-
element: element,
|
|
65489
|
-
maxCharacters: maxCharacters,
|
|
65490
|
-
showTooltip: showTooltip,
|
|
65491
|
-
"data-testid": dataTestId
|
|
65492
|
-
}, props), children) : /*#__PURE__*/React__default["default"].createElement(TruncatedTextMaxCharacters, Object.assign({
|
|
65454
|
+
var props = Object.assign({
|
|
65493
65455
|
indicator: indicator,
|
|
65494
65456
|
element: element,
|
|
65495
65457
|
maxCharacters: maxCharacters,
|
|
65496
65458
|
showTooltip: showTooltip,
|
|
65497
65459
|
"data-testid": dataTestId
|
|
65498
|
-
},
|
|
65460
|
+
}, rest);
|
|
65461
|
+
return fullWidth ? /*#__PURE__*/React__default["default"].createElement(TruncatedTextFillWidth, Object.assign({}, props), children) : /*#__PURE__*/React__default["default"].createElement(TruncatedTextMaxCharacters, Object.assign({}, props), children);
|
|
65499
65462
|
};
|
|
65500
65463
|
|
|
65501
65464
|
var VerticalDivider = styled__default["default"].div.withConfig({
|