@kaizen/components 1.8.3 → 1.8.5
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/cjs/future.js +2 -2
- package/dist/cjs/future.js.map +1 -1
- package/dist/cjs/{index-80c270e5.js → index-10ead07d.js} +47 -10
- package/dist/cjs/{index-80c270e5.js.map → index-10ead07d.js.map} +1 -1
- package/dist/cjs/index.js +418 -395
- package/dist/cjs/index.js.map +1 -1
- package/dist/esm/future.js +2 -2
- package/dist/esm/future.js.map +1 -1
- package/dist/esm/{index-5498ce7a.js → index-ba1bd11d.js} +43 -10
- package/dist/esm/{index-5498ce7a.js.map → index-ba1bd11d.js.map} +1 -1
- package/dist/esm/index.js +384 -361
- package/dist/esm/index.js.map +1 -1
- package/dist/styles.css +1 -1
- package/package.json +27 -27
package/dist/cjs/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var index = require('./index-
|
|
3
|
+
var index = require('./index-10ead07d.js');
|
|
4
4
|
var React = require('react');
|
|
5
5
|
var designTokens = require('@kaizen/design-tokens');
|
|
6
6
|
|
|
@@ -222,12 +222,12 @@ var RemoveScroll = React__namespace.forwardRef(function (props, parentRef) {
|
|
|
222
222
|
onWheelCapture: nothing,
|
|
223
223
|
onTouchMoveCapture: nothing,
|
|
224
224
|
}), callbacks = _a[0], setCallbacks = _a[1];
|
|
225
|
-
var forwardProps = props.forwardProps, children = props.children, className = props.className, removeScrollBar = props.removeScrollBar, enabled = props.enabled, shards = props.shards, sideCar = props.sideCar, noIsolation = props.noIsolation, inert = props.inert, allowPinchZoom = props.allowPinchZoom, _b = props.as, Container = _b === void 0 ? 'div' : _b, rest = index.__rest(props, ["forwardProps", "children", "className", "removeScrollBar", "enabled", "shards", "sideCar", "noIsolation", "inert", "allowPinchZoom", "as"]);
|
|
225
|
+
var forwardProps = props.forwardProps, children = props.children, className = props.className, removeScrollBar = props.removeScrollBar, enabled = props.enabled, shards = props.shards, sideCar = props.sideCar, noIsolation = props.noIsolation, inert = props.inert, allowPinchZoom = props.allowPinchZoom, _b = props.as, Container = _b === void 0 ? 'div' : _b, gapMode = props.gapMode, rest = index.__rest(props, ["forwardProps", "children", "className", "removeScrollBar", "enabled", "shards", "sideCar", "noIsolation", "inert", "allowPinchZoom", "as", "gapMode"]);
|
|
226
226
|
var SideCar = sideCar;
|
|
227
227
|
var containerRef = useMergeRefs([ref, parentRef]);
|
|
228
228
|
var containerProps = index.__assign(index.__assign({}, rest), callbacks);
|
|
229
229
|
return (React__namespace.createElement(React__namespace.Fragment, null,
|
|
230
|
-
enabled && (React__namespace.createElement(SideCar, { sideCar: effectCar$1, removeScrollBar: removeScrollBar, shards: shards, noIsolation: noIsolation, inert: inert, setCallbacks: setCallbacks, allowPinchZoom: !!allowPinchZoom, lockRef: ref })),
|
|
230
|
+
enabled && (React__namespace.createElement(SideCar, { sideCar: effectCar$1, removeScrollBar: removeScrollBar, shards: shards, noIsolation: noIsolation, inert: inert, setCallbacks: setCallbacks, allowPinchZoom: !!allowPinchZoom, lockRef: ref, gapMode: gapMode })),
|
|
231
231
|
forwardProps ? (React__namespace.cloneElement(React__namespace.Children.only(children), index.__assign(index.__assign({}, containerProps), { ref: containerRef }))) : (React__namespace.createElement(Container, index.__assign({}, containerProps, { className: className, ref: containerRef }), children))));
|
|
232
232
|
});
|
|
233
233
|
RemoveScroll.defaultProps = {
|
|
@@ -255,47 +255,9 @@ function _extends() {
|
|
|
255
255
|
return _extends.apply(this, arguments);
|
|
256
256
|
}
|
|
257
257
|
|
|
258
|
-
var
|
|
258
|
+
var propTypes = {exports: {}};
|
|
259
259
|
|
|
260
|
-
|
|
261
|
-
if (n.__esModule) return n;
|
|
262
|
-
var f = n.default;
|
|
263
|
-
if (typeof f == "function") {
|
|
264
|
-
var a = function a () {
|
|
265
|
-
if (this instanceof a) {
|
|
266
|
-
var args = [null];
|
|
267
|
-
args.push.apply(args, arguments);
|
|
268
|
-
var Ctor = Function.bind.apply(f, args);
|
|
269
|
-
return new Ctor();
|
|
270
|
-
}
|
|
271
|
-
return f.apply(this, arguments);
|
|
272
|
-
};
|
|
273
|
-
a.prototype = f.prototype;
|
|
274
|
-
} else a = {};
|
|
275
|
-
Object.defineProperty(a, '__esModule', {value: true});
|
|
276
|
-
Object.keys(n).forEach(function (k) {
|
|
277
|
-
var d = Object.getOwnPropertyDescriptor(n, k);
|
|
278
|
-
Object.defineProperty(a, k, d.get ? d : {
|
|
279
|
-
enumerable: true,
|
|
280
|
-
get: function () {
|
|
281
|
-
return n[k];
|
|
282
|
-
}
|
|
283
|
-
});
|
|
284
|
-
});
|
|
285
|
-
return a;
|
|
286
|
-
}
|
|
287
|
-
|
|
288
|
-
var propTypesExports = {};
|
|
289
|
-
var propTypes = {
|
|
290
|
-
get exports(){ return propTypesExports; },
|
|
291
|
-
set exports(v){ propTypesExports = v; },
|
|
292
|
-
};
|
|
293
|
-
|
|
294
|
-
var reactIsExports = {};
|
|
295
|
-
var reactIs = {
|
|
296
|
-
get exports(){ return reactIsExports; },
|
|
297
|
-
set exports(v){ reactIsExports = v; },
|
|
298
|
-
};
|
|
260
|
+
var reactIs = {exports: {}};
|
|
299
261
|
|
|
300
262
|
var reactIs_production_min = {};
|
|
301
263
|
|
|
@@ -514,17 +476,15 @@ function requireReactIs_development () {
|
|
|
514
476
|
var hasRequiredReactIs;
|
|
515
477
|
|
|
516
478
|
function requireReactIs () {
|
|
517
|
-
if (hasRequiredReactIs) return
|
|
479
|
+
if (hasRequiredReactIs) return reactIs.exports;
|
|
518
480
|
hasRequiredReactIs = 1;
|
|
519
|
-
(function (module) {
|
|
520
481
|
|
|
521
|
-
|
|
522
|
-
|
|
523
|
-
|
|
524
|
-
|
|
525
|
-
|
|
526
|
-
|
|
527
|
-
return reactIsExports;
|
|
482
|
+
if (process.env.NODE_ENV === 'production') {
|
|
483
|
+
reactIs.exports = requireReactIs_production_min();
|
|
484
|
+
} else {
|
|
485
|
+
reactIs.exports = requireReactIs_development();
|
|
486
|
+
}
|
|
487
|
+
return reactIs.exports;
|
|
528
488
|
}
|
|
529
489
|
|
|
530
490
|
/*
|
|
@@ -1475,6 +1435,9 @@ if (process.env.NODE_ENV !== 'production') {
|
|
|
1475
1435
|
propTypes.exports = requireFactoryWithThrowingShims()();
|
|
1476
1436
|
}
|
|
1477
1437
|
|
|
1438
|
+
var propTypesExports = propTypes.exports;
|
|
1439
|
+
var PropTypes = /*@__PURE__*/index.getDefaultExportFromCjs(propTypesExports);
|
|
1440
|
+
|
|
1478
1441
|
/**
|
|
1479
1442
|
* defines a focus group
|
|
1480
1443
|
*/
|
|
@@ -1509,7 +1472,7 @@ var hiddenGuard = {
|
|
|
1509
1472
|
};
|
|
1510
1473
|
|
|
1511
1474
|
process.env.NODE_ENV !== "production" ? {
|
|
1512
|
-
children:
|
|
1475
|
+
children: PropTypes.node
|
|
1513
1476
|
} : {};
|
|
1514
1477
|
|
|
1515
1478
|
var mediumFocus = createMedium({}, function (_ref) {
|
|
@@ -1744,20 +1707,20 @@ function deferAction(action) {
|
|
|
1744
1707
|
}
|
|
1745
1708
|
|
|
1746
1709
|
process.env.NODE_ENV !== "production" ? {
|
|
1747
|
-
children:
|
|
1748
|
-
disabled:
|
|
1749
|
-
className:
|
|
1710
|
+
children: PropTypes.node.isRequired,
|
|
1711
|
+
disabled: PropTypes.bool,
|
|
1712
|
+
className: PropTypes.string
|
|
1750
1713
|
} : {};
|
|
1751
1714
|
|
|
1752
1715
|
process.env.NODE_ENV !== "production" ? {
|
|
1753
|
-
children:
|
|
1754
|
-
disabled:
|
|
1755
|
-
className:
|
|
1716
|
+
children: PropTypes.node.isRequired,
|
|
1717
|
+
disabled: PropTypes.bool,
|
|
1718
|
+
className: PropTypes.string
|
|
1756
1719
|
} : {};
|
|
1757
1720
|
|
|
1758
1721
|
process.env.NODE_ENV !== "production" ? {
|
|
1759
|
-
children:
|
|
1760
|
-
className:
|
|
1722
|
+
children: PropTypes.node.isRequired,
|
|
1723
|
+
className: PropTypes.string
|
|
1761
1724
|
} : {};
|
|
1762
1725
|
|
|
1763
1726
|
var effectCar = createSidecarMedium();
|
|
@@ -2742,7 +2705,7 @@ var FocusWatcher = function FocusWatcher() {
|
|
|
2742
2705
|
};
|
|
2743
2706
|
|
|
2744
2707
|
process.env.NODE_ENV !== "production" ? {
|
|
2745
|
-
children:
|
|
2708
|
+
children: PropTypes.node.isRequired
|
|
2746
2709
|
} : {};
|
|
2747
2710
|
|
|
2748
2711
|
var onWindowBlur = function onWindowBlur() {
|
|
@@ -3014,6 +2977,7 @@ var elementCanBeScrolled = function (node, overflow) {
|
|
|
3014
2977
|
var elementCouldBeVScrolled = function (node) { return elementCanBeScrolled(node, 'overflowY'); };
|
|
3015
2978
|
var elementCouldBeHScrolled = function (node) { return elementCanBeScrolled(node, 'overflowX'); };
|
|
3016
2979
|
var locationCouldBeScrolled = function (axis, node) {
|
|
2980
|
+
var ownerDocument = node.ownerDocument;
|
|
3017
2981
|
var current = node;
|
|
3018
2982
|
do {
|
|
3019
2983
|
// Skip over shadow root
|
|
@@ -3028,7 +2992,7 @@ var locationCouldBeScrolled = function (axis, node) {
|
|
|
3028
2992
|
}
|
|
3029
2993
|
}
|
|
3030
2994
|
current = current.parentNode;
|
|
3031
|
-
} while (current && current !==
|
|
2995
|
+
} while (current && current !== ownerDocument.body);
|
|
3032
2996
|
return false;
|
|
3033
2997
|
};
|
|
3034
2998
|
var getVScrollVariables = function (_a) {
|
|
@@ -3112,7 +3076,7 @@ function RemoveScrollSideCar(props) {
|
|
|
3112
3076
|
var touchStartRef = React__namespace.useRef([0, 0]);
|
|
3113
3077
|
var activeAxis = React__namespace.useRef();
|
|
3114
3078
|
var id = React__namespace.useState(idCounter++)[0];
|
|
3115
|
-
var Style = React__namespace.useState(
|
|
3079
|
+
var Style = React__namespace.useState(styleSingleton)[0];
|
|
3116
3080
|
var lastProps = React__namespace.useRef(props);
|
|
3117
3081
|
React__namespace.useEffect(function () {
|
|
3118
3082
|
lastProps.current = props;
|
|
@@ -3234,7 +3198,7 @@ function RemoveScrollSideCar(props) {
|
|
|
3234
3198
|
var removeScrollBar = props.removeScrollBar, inert = props.inert;
|
|
3235
3199
|
return (React__namespace.createElement(React__namespace.Fragment, null,
|
|
3236
3200
|
inert ? React__namespace.createElement(Style, { styles: generateStyle(id) }) : null,
|
|
3237
|
-
removeScrollBar ? React__namespace.createElement(RemoveScrollBar, { gapMode:
|
|
3201
|
+
removeScrollBar ? React__namespace.createElement(RemoveScrollBar, { gapMode: props.gapMode }) : null));
|
|
3238
3202
|
}
|
|
3239
3203
|
|
|
3240
3204
|
exportSidecar(effectCar$1, RemoveScrollSideCar);
|
|
@@ -3562,19 +3526,11 @@ var fromEntries = function fromEntries(entries) {
|
|
|
3562
3526
|
|
|
3563
3527
|
var useIsomorphicLayoutEffect = typeof window !== 'undefined' && window.document && window.document.createElement ? React__namespace.useLayoutEffect : React__namespace.useEffect;
|
|
3564
3528
|
|
|
3565
|
-
var
|
|
3566
|
-
var reactDom = {
|
|
3567
|
-
get exports(){ return reactDomExports; },
|
|
3568
|
-
set exports(v){ reactDomExports = v; },
|
|
3569
|
-
};
|
|
3529
|
+
var reactDom = {exports: {}};
|
|
3570
3530
|
|
|
3571
3531
|
var reactDom_production_min = {};
|
|
3572
3532
|
|
|
3573
|
-
var
|
|
3574
|
-
var scheduler = {
|
|
3575
|
-
get exports(){ return schedulerExports; },
|
|
3576
|
-
set exports(v){ schedulerExports = v; },
|
|
3577
|
-
};
|
|
3533
|
+
var scheduler = {exports: {}};
|
|
3578
3534
|
|
|
3579
3535
|
var scheduler_production_min = {};
|
|
3580
3536
|
|
|
@@ -3603,8 +3559,8 @@ function f(a,b){var c=a.length;a.push(b);a:for(;0<c;){var d=c-1>>>1,e=a[d];if(0<
|
|
|
3603
3559
|
exports.unstable_forceFrameRate=function(a){0>a||125<a?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):P=0<a?Math.floor(1E3/a):5;};exports.unstable_getCurrentPriorityLevel=function(){return y};exports.unstable_getFirstCallbackNode=function(){return h(r)};exports.unstable_next=function(a){switch(y){case 1:case 2:case 3:var b=3;break;default:b=y;}var c=y;y=b;try{return a()}finally{y=c;}};exports.unstable_pauseExecution=function(){};
|
|
3604
3560
|
exports.unstable_requestPaint=function(){};exports.unstable_runWithPriority=function(a,b){switch(a){case 1:case 2:case 3:case 4:case 5:break;default:a=3;}var c=y;y=a;try{return b()}finally{y=c;}};
|
|
3605
3561
|
exports.unstable_scheduleCallback=function(a,b,c){var d=exports.unstable_now();"object"===typeof c&&null!==c?(c=c.delay,c="number"===typeof c&&0<c?d+c:d):c=d;switch(a){case 1:var e=-1;break;case 2:e=250;break;case 5:e=1073741823;break;case 4:e=1E4;break;default:e=5E3;}e=c+e;a={id:u++,callback:b,priorityLevel:a,startTime:c,expirationTime:e,sortIndex:-1};c>d?(a.sortIndex=c,f(t,a),null===h(r)&&a===h(t)&&(B?(E(L),L=-1):B=!0,K(H,c-d))):(a.sortIndex=e,f(r,a),A||z||(A=!0,I(J)));return a};
|
|
3606
|
-
exports.unstable_shouldYield=M;exports.unstable_wrapCallback=function(a){var b=y;return function(){var c=y;y=b;try{return a.apply(this,arguments)}finally{y=c;}}};
|
|
3607
|
-
} (scheduler_production_min));
|
|
3562
|
+
exports.unstable_shouldYield=M;exports.unstable_wrapCallback=function(a){var b=y;return function(){var c=y;y=b;try{return a.apply(this,arguments)}finally{y=c;}}};
|
|
3563
|
+
} (scheduler_production_min));
|
|
3608
3564
|
return scheduler_production_min;
|
|
3609
3565
|
}
|
|
3610
3566
|
|
|
@@ -4234,25 +4190,23 @@ function requireScheduler_development () {
|
|
|
4234
4190
|
}
|
|
4235
4191
|
|
|
4236
4192
|
})();
|
|
4237
|
-
}
|
|
4238
|
-
} (scheduler_development));
|
|
4193
|
+
}
|
|
4194
|
+
} (scheduler_development));
|
|
4239
4195
|
return scheduler_development;
|
|
4240
4196
|
}
|
|
4241
4197
|
|
|
4242
4198
|
var hasRequiredScheduler;
|
|
4243
4199
|
|
|
4244
4200
|
function requireScheduler () {
|
|
4245
|
-
if (hasRequiredScheduler) return
|
|
4201
|
+
if (hasRequiredScheduler) return scheduler.exports;
|
|
4246
4202
|
hasRequiredScheduler = 1;
|
|
4247
|
-
(function (module) {
|
|
4248
4203
|
|
|
4249
|
-
|
|
4250
|
-
|
|
4251
|
-
|
|
4252
|
-
|
|
4253
|
-
|
|
4254
|
-
|
|
4255
|
-
return schedulerExports;
|
|
4204
|
+
if (process.env.NODE_ENV === 'production') {
|
|
4205
|
+
scheduler.exports = requireScheduler_production_min();
|
|
4206
|
+
} else {
|
|
4207
|
+
scheduler.exports = requireScheduler_development();
|
|
4208
|
+
}
|
|
4209
|
+
return scheduler.exports;
|
|
4256
4210
|
}
|
|
4257
4211
|
|
|
4258
4212
|
/**
|
|
@@ -34434,45 +34388,44 @@ function requireReactDom_development () {
|
|
|
34434
34388
|
return reactDom_development;
|
|
34435
34389
|
}
|
|
34436
34390
|
|
|
34437
|
-
|
|
34391
|
+
function checkDCE() {
|
|
34392
|
+
/* global __REACT_DEVTOOLS_GLOBAL_HOOK__ */
|
|
34393
|
+
if (
|
|
34394
|
+
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ === 'undefined' ||
|
|
34395
|
+
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE !== 'function'
|
|
34396
|
+
) {
|
|
34397
|
+
return;
|
|
34398
|
+
}
|
|
34399
|
+
if (process.env.NODE_ENV !== 'production') {
|
|
34400
|
+
// This branch is unreachable because this function is only called
|
|
34401
|
+
// in production, but the condition is true only in development.
|
|
34402
|
+
// Therefore if the branch is still here, dead code elimination wasn't
|
|
34403
|
+
// properly applied.
|
|
34404
|
+
// Don't change the message. React DevTools relies on it. Also make sure
|
|
34405
|
+
// this message doesn't occur elsewhere in this function, or it will cause
|
|
34406
|
+
// a false positive.
|
|
34407
|
+
throw new Error('^_^');
|
|
34408
|
+
}
|
|
34409
|
+
try {
|
|
34410
|
+
// Verify that the code above has been dead code eliminated (DCE'd).
|
|
34411
|
+
__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(checkDCE);
|
|
34412
|
+
} catch (err) {
|
|
34413
|
+
// DevTools shouldn't crash React, no matter what.
|
|
34414
|
+
// We should still report in case we break this code.
|
|
34415
|
+
console.error(err);
|
|
34416
|
+
}
|
|
34417
|
+
}
|
|
34438
34418
|
|
|
34439
|
-
|
|
34440
|
-
|
|
34441
|
-
|
|
34442
|
-
|
|
34443
|
-
|
|
34444
|
-
|
|
34445
|
-
|
|
34446
|
-
|
|
34447
|
-
if (process.env.NODE_ENV !== 'production') {
|
|
34448
|
-
// This branch is unreachable because this function is only called
|
|
34449
|
-
// in production, but the condition is true only in development.
|
|
34450
|
-
// Therefore if the branch is still here, dead code elimination wasn't
|
|
34451
|
-
// properly applied.
|
|
34452
|
-
// Don't change the message. React DevTools relies on it. Also make sure
|
|
34453
|
-
// this message doesn't occur elsewhere in this function, or it will cause
|
|
34454
|
-
// a false positive.
|
|
34455
|
-
throw new Error('^_^');
|
|
34456
|
-
}
|
|
34457
|
-
try {
|
|
34458
|
-
// Verify that the code above has been dead code eliminated (DCE'd).
|
|
34459
|
-
__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(checkDCE);
|
|
34460
|
-
} catch (err) {
|
|
34461
|
-
// DevTools shouldn't crash React, no matter what.
|
|
34462
|
-
// We should still report in case we break this code.
|
|
34463
|
-
console.error(err);
|
|
34464
|
-
}
|
|
34465
|
-
}
|
|
34419
|
+
if (process.env.NODE_ENV === 'production') {
|
|
34420
|
+
// DCE check should happen before ReactDOM bundle executes so that
|
|
34421
|
+
// DevTools can report bad minification during injection.
|
|
34422
|
+
checkDCE();
|
|
34423
|
+
reactDom.exports = requireReactDom_production_min();
|
|
34424
|
+
} else {
|
|
34425
|
+
reactDom.exports = requireReactDom_development();
|
|
34426
|
+
}
|
|
34466
34427
|
|
|
34467
|
-
|
|
34468
|
-
// DCE check should happen before ReactDOM bundle executes so that
|
|
34469
|
-
// DevTools can report bad minification during injection.
|
|
34470
|
-
checkDCE();
|
|
34471
|
-
module.exports = requireReactDom_production_min();
|
|
34472
|
-
} else {
|
|
34473
|
-
module.exports = requireReactDom_development();
|
|
34474
|
-
}
|
|
34475
|
-
} (reactDom));
|
|
34428
|
+
var reactDomExports = reactDom.exports;
|
|
34476
34429
|
|
|
34477
34430
|
var top = 'top';
|
|
34478
34431
|
var bottom = 'bottom';
|
|
@@ -36582,6 +36535,8 @@ var reactFastCompare = function isEqual(a, b) {
|
|
|
36582
36535
|
}
|
|
36583
36536
|
};
|
|
36584
36537
|
|
|
36538
|
+
var isEqual = /*@__PURE__*/index.getDefaultExportFromCjs(reactFastCompare);
|
|
36539
|
+
|
|
36585
36540
|
var EMPTY_MODIFIERS$1 = [];
|
|
36586
36541
|
var usePopper = function usePopper(referenceElement, popperElement, options) {
|
|
36587
36542
|
if (options === void 0) {
|
|
@@ -36645,7 +36600,7 @@ var usePopper = function usePopper(referenceElement, popperElement, options) {
|
|
|
36645
36600
|
}])
|
|
36646
36601
|
};
|
|
36647
36602
|
|
|
36648
|
-
if (
|
|
36603
|
+
if (isEqual(prevOptions.current, newOptions)) {
|
|
36649
36604
|
return prevOptions.current || newOptions;
|
|
36650
36605
|
} else {
|
|
36651
36606
|
prevOptions.current = newOptions;
|
|
@@ -36813,6 +36768,8 @@ if (__DEV__) {
|
|
|
36813
36768
|
|
|
36814
36769
|
var warning_1 = warning;
|
|
36815
36770
|
|
|
36771
|
+
var warning$1 = /*@__PURE__*/index.getDefaultExportFromCjs(warning_1);
|
|
36772
|
+
|
|
36816
36773
|
function Reference(_ref) {
|
|
36817
36774
|
var children = _ref.children,
|
|
36818
36775
|
innerRef = _ref.innerRef;
|
|
@@ -36829,7 +36786,7 @@ function Reference(_ref) {
|
|
|
36829
36786
|
};
|
|
36830
36787
|
}, []);
|
|
36831
36788
|
React__namespace.useEffect(function () {
|
|
36832
|
-
|
|
36789
|
+
warning$1(Boolean(setReferenceNode), '`Reference` should not be used outside of a `Manager` component.');
|
|
36833
36790
|
}, [setReferenceNode]);
|
|
36834
36791
|
return unwrapArray(children)({
|
|
36835
36792
|
ref: refHandler
|
|
@@ -36860,7 +36817,7 @@ var FilterPopover = function(_a) {
|
|
|
36860
36817
|
}
|
|
36861
36818
|
}
|
|
36862
36819
|
], placement: "bottom-start", strategy: "fixed" }, popperOptions)), popperStyles = _c.styles, popperAttributes = _c.attributes;
|
|
36863
|
-
return React.createElement("div", index.__assign({ ref: setPopperElement, style: popperStyles === null || popperStyles === void 0 ? void 0 : popperStyles.popper }, popperAttributes === null || popperAttributes === void 0 ? void 0 : popperAttributes.popper, { className: index.
|
|
36820
|
+
return React.createElement("div", index.__assign({ ref: setPopperElement, style: popperStyles === null || popperStyles === void 0 ? void 0 : popperStyles.popper }, popperAttributes === null || popperAttributes === void 0 ? void 0 : popperAttributes.popper, { className: index.classnames(styles$a.filterPopover, classNameOverride), role: "dialog", "aria-modal": "true" }, restProps), children);
|
|
36864
36821
|
};
|
|
36865
36822
|
FilterPopover.displayName = "FilterPopover";
|
|
36866
36823
|
|
|
@@ -36909,7 +36866,7 @@ var styles$9 = {"filterContents":"FilterContents-module_filterContents__uNUpd"};
|
|
|
36909
36866
|
|
|
36910
36867
|
var FilterContents = function(_a) {
|
|
36911
36868
|
var children = _a.children, classNameOverride = _a.classNameOverride, restProps = index.__rest(_a, ["children", "classNameOverride"]);
|
|
36912
|
-
return React.createElement("div", index.__assign({ className: index.
|
|
36869
|
+
return React.createElement("div", index.__assign({ className: index.classnames(styles$9.filterContents, classNameOverride) }, restProps), children);
|
|
36913
36870
|
};
|
|
36914
36871
|
FilterContents.displayName = "FilterContents";
|
|
36915
36872
|
|
|
@@ -36925,8 +36882,8 @@ var singleLine = function(message) {
|
|
|
36925
36882
|
var styles$8 = {"icon":"SVG-module_icon__FE6iP","inheritSize":"SVG-module_inheritSize__wiKMe","interactiveIconWrapper":"SVG-module_interactiveIconWrapper__ACcob","disabled":"SVG-module_disabled__WB5BU","hover":"SVG-module_hover__QivVO","active":"SVG-module_active__R9jic","reversedInteractiveIconWrapper":"SVG-module_reversedInteractiveIconWrapper__hTsnf SVG-module_interactiveIconWrapper__ACcob"};
|
|
36926
36883
|
|
|
36927
36884
|
var SVG = function(_a) {
|
|
36928
|
-
var _b
|
|
36929
|
-
var
|
|
36885
|
+
var _b;
|
|
36886
|
+
var _c = _a.inheritSize, inheritSize = _c === void 0 ? false : _c, _d = _a.role, role = _d === void 0 ? "img" : _d, _e = _a.title, title = _e === void 0 ? "" : _e, _f = _a.desc, desc = _f === void 0 ? "" : _f, _g = _a.viewBox, viewBox = _g === void 0 ? "0 0 20 20" : _g, classNameOverride = _a.classNameOverride, children = _a.children, props = index.__rest(_a, ["inheritSize", "role", "title", "desc", "viewBox", "classNameOverride", "children"]);
|
|
36930
36887
|
var isMeaningfulImg = role === "img";
|
|
36931
36888
|
if (isMeaningfulImg && !title) {
|
|
36932
36889
|
warn(`
|
|
@@ -36954,7 +36911,7 @@ var SVG = function(_a) {
|
|
|
36954
36911
|
return React.createElement(
|
|
36955
36912
|
"svg",
|
|
36956
36913
|
index.__assign({
|
|
36957
|
-
className: index.
|
|
36914
|
+
className: index.classnames(styles$8.icon, classNameOverride, inheritSize && styles$8.inheritSize),
|
|
36958
36915
|
viewBox,
|
|
36959
36916
|
// Work around IE11 making all SVGs focusable.
|
|
36960
36917
|
// See http://simplyaccessible.com/article/7-solutions-svgs/#acc-heading-4
|
|
@@ -37027,7 +36984,7 @@ var styles$7 = {"filterButtonBase":"FilterButtonBase-module_filterButtonBase__50
|
|
|
37027
36984
|
|
|
37028
36985
|
var FilterButtonBase = React.forwardRef(function(_a, ref) {
|
|
37029
36986
|
var children = _a.children, classNameOverride = _a.classNameOverride, restProps = index.__rest(_a, ["children", "classNameOverride"]);
|
|
37030
|
-
return React.createElement("button", index.__assign({ ref, type: "button", className: index.
|
|
36987
|
+
return React.createElement("button", index.__assign({ ref, type: "button", className: index.classnames(styles$7.filterButtonBase, classNameOverride) }, restProps), children);
|
|
37031
36988
|
});
|
|
37032
36989
|
FilterButtonBase.displayName = "FilterButtonBase";
|
|
37033
36990
|
|
|
@@ -37040,7 +36997,7 @@ var FilterButton = React.forwardRef(function(_a, ref) {
|
|
|
37040
36997
|
var selectedValuesLabel = selectedValue;
|
|
37041
36998
|
return React.createElement(
|
|
37042
36999
|
FilterButtonBase,
|
|
37043
|
-
index.__assign({ ref: triggerRef, classNameOverride: index.
|
|
37000
|
+
index.__assign({ ref: triggerRef, classNameOverride: index.classnames(styles$6.filterButton, classNameOverride), "aria-haspopup": "true", "aria-expanded": isOpen }, restProps),
|
|
37044
37001
|
React.createElement("span", { className: styles$6.labelContainer }, selectedValuesLabel ? React.createElement(
|
|
37045
37002
|
React.Fragment,
|
|
37046
37003
|
null,
|
|
@@ -37063,7 +37020,7 @@ var Tooltip$1 = {};
|
|
|
37063
37020
|
|
|
37064
37021
|
var Tooltip = {};
|
|
37065
37022
|
|
|
37066
|
-
var require$$3$2 = /*@__PURE__*/getAugmentedNamespace(esm);
|
|
37023
|
+
var require$$3$2 = /*@__PURE__*/index.getAugmentedNamespace(esm);
|
|
37067
37024
|
|
|
37068
37025
|
var AppearanceAnim = {};
|
|
37069
37026
|
|
|
@@ -37076,10 +37033,10 @@ var index_module = /*#__PURE__*/Object.freeze({
|
|
|
37076
37033
|
useThrottledCallback: f$1
|
|
37077
37034
|
});
|
|
37078
37035
|
|
|
37079
|
-
var require$$1$5 = /*@__PURE__*/getAugmentedNamespace(index_module);
|
|
37036
|
+
var require$$1$5 = /*@__PURE__*/index.getAugmentedNamespace(index_module);
|
|
37080
37037
|
|
|
37081
37038
|
(function(exports) {
|
|
37082
|
-
var __assign = commonjsGlobal && commonjsGlobal.__assign || function() {
|
|
37039
|
+
var __assign = index.commonjsGlobal && index.commonjsGlobal.__assign || function() {
|
|
37083
37040
|
__assign = Object.assign || function(t) {
|
|
37084
37041
|
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
37085
37042
|
s = arguments[i];
|
|
@@ -37091,7 +37048,7 @@ var require$$1$5 = /*@__PURE__*/getAugmentedNamespace(index_module);
|
|
|
37091
37048
|
};
|
|
37092
37049
|
return __assign.apply(this, arguments);
|
|
37093
37050
|
};
|
|
37094
|
-
var __createBinding = commonjsGlobal && commonjsGlobal.__createBinding || (Object.create ? function(o, m, k, k2) {
|
|
37051
|
+
var __createBinding = index.commonjsGlobal && index.commonjsGlobal.__createBinding || (Object.create ? function(o, m, k, k2) {
|
|
37095
37052
|
if (k2 === void 0)
|
|
37096
37053
|
k2 = k;
|
|
37097
37054
|
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
@@ -37106,12 +37063,12 @@ var require$$1$5 = /*@__PURE__*/getAugmentedNamespace(index_module);
|
|
|
37106
37063
|
k2 = k;
|
|
37107
37064
|
o[k2] = m[k];
|
|
37108
37065
|
});
|
|
37109
|
-
var __setModuleDefault = commonjsGlobal && commonjsGlobal.__setModuleDefault || (Object.create ? function(o, v) {
|
|
37066
|
+
var __setModuleDefault = index.commonjsGlobal && index.commonjsGlobal.__setModuleDefault || (Object.create ? function(o, v) {
|
|
37110
37067
|
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
37111
37068
|
} : function(o, v) {
|
|
37112
37069
|
o["default"] = v;
|
|
37113
37070
|
});
|
|
37114
|
-
var __importStar = commonjsGlobal && commonjsGlobal.__importStar || function(mod) {
|
|
37071
|
+
var __importStar = index.commonjsGlobal && index.commonjsGlobal.__importStar || function(mod) {
|
|
37115
37072
|
if (mod && mod.__esModule)
|
|
37116
37073
|
return mod;
|
|
37117
37074
|
var result = {};
|
|
@@ -37123,7 +37080,7 @@ var require$$1$5 = /*@__PURE__*/getAugmentedNamespace(index_module);
|
|
|
37123
37080
|
__setModuleDefault(result, mod);
|
|
37124
37081
|
return result;
|
|
37125
37082
|
};
|
|
37126
|
-
var __rest = commonjsGlobal && commonjsGlobal.__rest || function(s, e) {
|
|
37083
|
+
var __rest = index.commonjsGlobal && index.commonjsGlobal.__rest || function(s, e) {
|
|
37127
37084
|
var t = {};
|
|
37128
37085
|
for (var p in s)
|
|
37129
37086
|
if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
|
|
@@ -37798,14 +37755,14 @@ var esmBrowser = /*#__PURE__*/Object.freeze({
|
|
|
37798
37755
|
version: version
|
|
37799
37756
|
});
|
|
37800
37757
|
|
|
37801
|
-
var require$$1$4 = /*@__PURE__*/getAugmentedNamespace(esmBrowser);
|
|
37758
|
+
var require$$1$4 = /*@__PURE__*/index.getAugmentedNamespace(esmBrowser);
|
|
37802
37759
|
|
|
37803
37760
|
useUuid$1.__esModule = true;
|
|
37804
37761
|
useUuid$1.useUuid = void 0;
|
|
37805
|
-
var react_1 = React;
|
|
37762
|
+
var react_1$1 = React;
|
|
37806
37763
|
var uuid_1 = require$$1$4;
|
|
37807
37764
|
var useUuid = function() {
|
|
37808
|
-
return (0, react_1.useMemo)(function() {
|
|
37765
|
+
return (0, react_1$1.useMemo)(function() {
|
|
37809
37766
|
return (0, uuid_1.v4)();
|
|
37810
37767
|
}, []);
|
|
37811
37768
|
};
|
|
@@ -37818,10 +37775,10 @@ var Tooltip_module$1 = /*#__PURE__*/Object.freeze({
|
|
|
37818
37775
|
default: Tooltip_module
|
|
37819
37776
|
});
|
|
37820
37777
|
|
|
37821
|
-
var require$$6$1 = /*@__PURE__*/getAugmentedNamespace(Tooltip_module$1);
|
|
37778
|
+
var require$$6$1 = /*@__PURE__*/index.getAugmentedNamespace(Tooltip_module$1);
|
|
37822
37779
|
|
|
37823
37780
|
(function(exports) {
|
|
37824
|
-
var __assign = commonjsGlobal && commonjsGlobal.__assign || function() {
|
|
37781
|
+
var __assign = index.commonjsGlobal && index.commonjsGlobal.__assign || function() {
|
|
37825
37782
|
__assign = Object.assign || function(t) {
|
|
37826
37783
|
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
37827
37784
|
s = arguments[i];
|
|
@@ -37833,7 +37790,7 @@ var require$$6$1 = /*@__PURE__*/getAugmentedNamespace(Tooltip_module$1);
|
|
|
37833
37790
|
};
|
|
37834
37791
|
return __assign.apply(this, arguments);
|
|
37835
37792
|
};
|
|
37836
|
-
var __createBinding = commonjsGlobal && commonjsGlobal.__createBinding || (Object.create ? function(o, m, k, k2) {
|
|
37793
|
+
var __createBinding = index.commonjsGlobal && index.commonjsGlobal.__createBinding || (Object.create ? function(o, m, k, k2) {
|
|
37837
37794
|
if (k2 === void 0)
|
|
37838
37795
|
k2 = k;
|
|
37839
37796
|
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
@@ -37848,12 +37805,12 @@ var require$$6$1 = /*@__PURE__*/getAugmentedNamespace(Tooltip_module$1);
|
|
|
37848
37805
|
k2 = k;
|
|
37849
37806
|
o[k2] = m[k];
|
|
37850
37807
|
});
|
|
37851
|
-
var __setModuleDefault = commonjsGlobal && commonjsGlobal.__setModuleDefault || (Object.create ? function(o, v) {
|
|
37808
|
+
var __setModuleDefault = index.commonjsGlobal && index.commonjsGlobal.__setModuleDefault || (Object.create ? function(o, v) {
|
|
37852
37809
|
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
37853
37810
|
} : function(o, v) {
|
|
37854
37811
|
o["default"] = v;
|
|
37855
37812
|
});
|
|
37856
|
-
var __importStar = commonjsGlobal && commonjsGlobal.__importStar || function(mod) {
|
|
37813
|
+
var __importStar = index.commonjsGlobal && index.commonjsGlobal.__importStar || function(mod) {
|
|
37857
37814
|
if (mod && mod.__esModule)
|
|
37858
37815
|
return mod;
|
|
37859
37816
|
var result = {};
|
|
@@ -37865,7 +37822,7 @@ var require$$6$1 = /*@__PURE__*/getAugmentedNamespace(Tooltip_module$1);
|
|
|
37865
37822
|
__setModuleDefault(result, mod);
|
|
37866
37823
|
return result;
|
|
37867
37824
|
};
|
|
37868
|
-
var __importDefault = commonjsGlobal && commonjsGlobal.__importDefault || function(mod) {
|
|
37825
|
+
var __importDefault = index.commonjsGlobal && index.commonjsGlobal.__importDefault || function(mod) {
|
|
37869
37826
|
return mod && mod.__esModule ? mod : { "default": mod };
|
|
37870
37827
|
};
|
|
37871
37828
|
exports.__esModule = true;
|
|
@@ -37886,11 +37843,10 @@ var require$$6$1 = /*@__PURE__*/getAugmentedNamespace(Tooltip_module$1);
|
|
|
37886
37843
|
var arrowHeight = 7;
|
|
37887
37844
|
var arrowWidth = 14;
|
|
37888
37845
|
var TooltipContent = function(_a) {
|
|
37889
|
-
var _b,
|
|
37890
|
-
var
|
|
37891
|
-
var
|
|
37892
|
-
var
|
|
37893
|
-
var _g = (0, react_popper_1.usePopper)(referenceElement, popperElement, {
|
|
37846
|
+
var position = _a.position, text = _a.text, referenceElement = _a.referenceElement, tooltipId = _a.tooltipId, _b = _a.mood, mood = _b === void 0 ? "default" : _b;
|
|
37847
|
+
var _c = (0, react_1.useState)(null), popperElement = _c[0], setPopperElement = _c[1];
|
|
37848
|
+
var _d = (0, react_1.useState)(null), arrowElement = _d[0], setArrowElement = _d[1];
|
|
37849
|
+
var _e = (0, react_popper_1.usePopper)(referenceElement, popperElement, {
|
|
37894
37850
|
modifiers: [
|
|
37895
37851
|
{
|
|
37896
37852
|
name: "arrow",
|
|
@@ -37928,15 +37884,15 @@ var require$$6$1 = /*@__PURE__*/getAugmentedNamespace(Tooltip_module$1);
|
|
|
37928
37884
|
}
|
|
37929
37885
|
],
|
|
37930
37886
|
placement: position ? positionToPlacement.get(position) : void 0
|
|
37931
|
-
}), popperStyles =
|
|
37932
|
-
var
|
|
37887
|
+
}), popperStyles = _e.styles, attributes = _e.attributes;
|
|
37888
|
+
var _f = (0, AppearanceAnim_1.useAnimation)(), isVisible = _f.isVisible, isAnimIn = _f.isAnimIn, isAnimOut = _f.isAnimOut;
|
|
37933
37889
|
return isVisible || isAnimOut || isAnimIn ? react_1["default"].createElement(
|
|
37934
37890
|
"div",
|
|
37935
|
-
__assign({ ref: setPopperElement, className:
|
|
37891
|
+
__assign({ ref: setPopperElement, className: Tooltip_module_scss_1["default"].tooltip, style: popperStyles.popper }, attributes.popper, { role: "tooltip", id: tooltipId }),
|
|
37936
37892
|
react_1["default"].createElement("div", { className: (0, classnames_1["default"])(Tooltip_module_scss_1["default"].tooltipContent, Tooltip_module_scss_1["default"][mood]) }, text),
|
|
37937
37893
|
react_1["default"].createElement(
|
|
37938
37894
|
"div",
|
|
37939
|
-
{ ref: setArrowElement, className:
|
|
37895
|
+
{ ref: setArrowElement, className: Tooltip_module_scss_1["default"].arrow, style: popperStyles.arrow },
|
|
37940
37896
|
react_1["default"].createElement(
|
|
37941
37897
|
"div",
|
|
37942
37898
|
{ className: Tooltip_module_scss_1["default"].arrowInner },
|
|
@@ -37947,13 +37903,11 @@ var require$$6$1 = /*@__PURE__*/getAugmentedNamespace(Tooltip_module$1);
|
|
|
37947
37903
|
) : null;
|
|
37948
37904
|
};
|
|
37949
37905
|
var Tooltip = function(_a) {
|
|
37950
|
-
var _b;
|
|
37951
|
-
var
|
|
37952
|
-
var _g = (0, react_1.useState)(
|
|
37953
|
-
var _h = (0, react_1.useState)(
|
|
37954
|
-
var _j = (0, react_1.useState)(null), referenceElement = _j[0], setReferenceElement = _j[1];
|
|
37906
|
+
var children = _a.children, text = _a.text, inline = _a.inline, _b = _a.display, display = _b === void 0 ? "block" : _b, _c = _a.position, position = _c === void 0 ? "above" : _c, classNameOverride = _a.classNameOverride, portalSelector = _a.portalSelector, animationDuration = _a.animationDuration, _d = _a.isInitiallyVisible, isInitiallyVisible = _d === void 0 ? false : _d, _e = _a.mood, mood = _e === void 0 ? "default" : _e;
|
|
37907
|
+
var _f = (0, react_1.useState)(isInitiallyVisible), isHover = _f[0], setIsHover = _f[1];
|
|
37908
|
+
var _g = (0, react_1.useState)(false), isFocus = _g[0], setIsFocus = _g[1];
|
|
37909
|
+
var _h = (0, react_1.useState)(null), referenceElement = _h[0], setReferenceElement = _h[1];
|
|
37955
37910
|
var tooltipId = (0, useUuid_1.useUuid)();
|
|
37956
|
-
var displayToUse = inline != null ? inline ? "inline" : "block" : display;
|
|
37957
37911
|
var tooltip = react_1["default"].createElement(TooltipContent, { text, position, referenceElement, tooltipId, mood });
|
|
37958
37912
|
var portalSelectorElementRef = (0, react_1.useRef)(null);
|
|
37959
37913
|
(0, react_1.useEffect)(function() {
|
|
@@ -37964,13 +37918,30 @@ var require$$6$1 = /*@__PURE__*/getAugmentedNamespace(Tooltip_module$1);
|
|
|
37964
37918
|
console.warn("The portal could not be created using the selector: " + portalSelector);
|
|
37965
37919
|
}
|
|
37966
37920
|
}, [portalSelectorElementRef, portalSelector]);
|
|
37921
|
+
var displayToUse = inline != null ? inline ? "inline" : "block" : display;
|
|
37922
|
+
var getDisplayClassName = function() {
|
|
37923
|
+
switch (displayToUse) {
|
|
37924
|
+
case "inline":
|
|
37925
|
+
return Tooltip_module_scss_1["default"].displayInline;
|
|
37926
|
+
case "block":
|
|
37927
|
+
return Tooltip_module_scss_1["default"].displayBlock;
|
|
37928
|
+
case "inline-block":
|
|
37929
|
+
return Tooltip_module_scss_1["default"].displayInlineBlock;
|
|
37930
|
+
case "flex":
|
|
37931
|
+
return Tooltip_module_scss_1["default"].displayFlex;
|
|
37932
|
+
case "inline-flex":
|
|
37933
|
+
return Tooltip_module_scss_1["default"].displayInlineFlex;
|
|
37934
|
+
default:
|
|
37935
|
+
return void 0;
|
|
37936
|
+
}
|
|
37937
|
+
};
|
|
37967
37938
|
return react_1["default"].createElement(
|
|
37968
37939
|
AppearanceAnim_1.AnimationProvider,
|
|
37969
37940
|
{ isVisible: isHover || isFocus, animationDuration },
|
|
37970
37941
|
react_1["default"].createElement(
|
|
37971
37942
|
react_1["default"].Fragment,
|
|
37972
37943
|
null,
|
|
37973
|
-
react_1["default"].createElement("div", { ref: setReferenceElement, className: (0, classnames_1["default"])(classNameOverride, (
|
|
37944
|
+
react_1["default"].createElement("div", { ref: setReferenceElement, className: (0, classnames_1["default"])(classNameOverride, getDisplayClassName()), onMouseEnter: function() {
|
|
37974
37945
|
return setIsHover(true);
|
|
37975
37946
|
}, onMouseLeave: function() {
|
|
37976
37947
|
return setIsHover(false);
|
|
@@ -37988,7 +37959,7 @@ var require$$6$1 = /*@__PURE__*/getAugmentedNamespace(Tooltip_module$1);
|
|
|
37988
37959
|
})(Tooltip);
|
|
37989
37960
|
|
|
37990
37961
|
(function(exports) {
|
|
37991
|
-
var __createBinding = commonjsGlobal && commonjsGlobal.__createBinding || (Object.create ? function(o, m, k, k2) {
|
|
37962
|
+
var __createBinding = index.commonjsGlobal && index.commonjsGlobal.__createBinding || (Object.create ? function(o, m, k, k2) {
|
|
37992
37963
|
if (k2 === void 0)
|
|
37993
37964
|
k2 = k;
|
|
37994
37965
|
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
@@ -38003,7 +37974,7 @@ var require$$6$1 = /*@__PURE__*/getAugmentedNamespace(Tooltip_module$1);
|
|
|
38003
37974
|
k2 = k;
|
|
38004
37975
|
o[k2] = m[k];
|
|
38005
37976
|
});
|
|
38006
|
-
var __exportStar = commonjsGlobal && commonjsGlobal.__exportStar || function(m, exports2) {
|
|
37977
|
+
var __exportStar = index.commonjsGlobal && index.commonjsGlobal.__exportStar || function(m, exports2) {
|
|
38007
37978
|
for (var p in m)
|
|
38008
37979
|
if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports2, p))
|
|
38009
37980
|
__createBinding(exports2, m, p);
|
|
@@ -38013,7 +37984,7 @@ var require$$6$1 = /*@__PURE__*/getAugmentedNamespace(Tooltip_module$1);
|
|
|
38013
37984
|
})(Tooltip$1);
|
|
38014
37985
|
|
|
38015
37986
|
(function(exports) {
|
|
38016
|
-
var __createBinding = commonjsGlobal && commonjsGlobal.__createBinding || (Object.create ? function(o, m, k, k2) {
|
|
37987
|
+
var __createBinding = index.commonjsGlobal && index.commonjsGlobal.__createBinding || (Object.create ? function(o, m, k, k2) {
|
|
38017
37988
|
if (k2 === void 0)
|
|
38018
37989
|
k2 = k;
|
|
38019
37990
|
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
@@ -38028,7 +37999,7 @@ var require$$6$1 = /*@__PURE__*/getAugmentedNamespace(Tooltip_module$1);
|
|
|
38028
37999
|
k2 = k;
|
|
38029
38000
|
o[k2] = m[k];
|
|
38030
38001
|
});
|
|
38031
|
-
var __exportStar = commonjsGlobal && commonjsGlobal.__exportStar || function(m, exports2) {
|
|
38002
|
+
var __exportStar = index.commonjsGlobal && index.commonjsGlobal.__exportStar || function(m, exports2) {
|
|
38032
38003
|
for (var p in m)
|
|
38033
38004
|
if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports2, p))
|
|
38034
38005
|
__createBinding(exports2, m, p);
|
|
@@ -38071,11 +38042,11 @@ var isFilterButton = function(node) {
|
|
|
38071
38042
|
var ButtonGroup = function(_a) {
|
|
38072
38043
|
var children = _a.children, classNameOverride = _a.classNameOverride, restProps = index.__rest(_a, ["children", "classNameOverride"]);
|
|
38073
38044
|
var childCount = React.Children.count(children);
|
|
38074
|
-
var containerProps = index.__assign({ role: "group", className: index.
|
|
38045
|
+
var containerProps = index.__assign({ role: "group", className: index.classnames(styles$5.buttonGroup, classNameOverride) }, restProps);
|
|
38075
38046
|
if (childCount === 1)
|
|
38076
38047
|
return React.createElement("div", index.__assign({}, containerProps), children);
|
|
38077
38048
|
return React.createElement("div", index.__assign({}, containerProps), React.Children.map(children, function(child, index$1) {
|
|
38078
|
-
var buttonClassNames = index.
|
|
38049
|
+
var buttonClassNames = index.classnames(styles$5.child, index$1 === 0 && styles$5.firstChild, index$1 === childCount - 1 && styles$5.lastChild, child.props.classNameOverride);
|
|
38079
38050
|
if (child.type === tooltip.Tooltip) {
|
|
38080
38051
|
var button = child.props.children;
|
|
38081
38052
|
if (isFilterButton(button)) {
|
|
@@ -38214,15 +38185,16 @@ function $458b0a5536c1a7cf$export$40bfa8c7b0832715(value, defaultValue, onChange
|
|
|
38214
38185
|
// being on the page at once, the prefix is set to a random number. SSRProvider
|
|
38215
38186
|
// will reset this to zero for consistency between server and client, so in the
|
|
38216
38187
|
// SSR case multiple copies of React Aria is not supported.
|
|
38217
|
-
const $704cf1d3b684cc5c$var$defaultContext
|
|
38188
|
+
const $704cf1d3b684cc5c$var$defaultContext = {
|
|
38218
38189
|
prefix: String(Math.round(Math.random() * 10000000000)),
|
|
38219
|
-
current: 0
|
|
38190
|
+
current: 0,
|
|
38191
|
+
isSSR: false
|
|
38220
38192
|
};
|
|
38221
|
-
const $704cf1d3b684cc5c$var$SSRContext
|
|
38193
|
+
const $704cf1d3b684cc5c$var$SSRContext = /*#__PURE__*/ (React).createContext($704cf1d3b684cc5c$var$defaultContext);
|
|
38222
38194
|
let $704cf1d3b684cc5c$var$canUseDOM = Boolean(typeof window !== "undefined" && window.document && window.document.createElement);
|
|
38223
38195
|
let $704cf1d3b684cc5c$var$componentIds = new WeakMap();
|
|
38224
38196
|
function $704cf1d3b684cc5c$var$useCounter(isDisabled = false) {
|
|
38225
|
-
let ctx = (React.useContext)($704cf1d3b684cc5c$var$SSRContext
|
|
38197
|
+
let ctx = (React.useContext)($704cf1d3b684cc5c$var$SSRContext);
|
|
38226
38198
|
let ref = (React.useRef)(null);
|
|
38227
38199
|
if (ref.current === null && !isDisabled) {
|
|
38228
38200
|
var _React___SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED, _React___SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED_ReactCurrentOwner;
|
|
@@ -38257,13 +38229,17 @@ function $704cf1d3b684cc5c$var$useCounter(isDisabled = false) {
|
|
|
38257
38229
|
return ref.current;
|
|
38258
38230
|
}
|
|
38259
38231
|
function $704cf1d3b684cc5c$export$619500959fc48b26(defaultId) {
|
|
38260
|
-
let ctx = (React.useContext)($704cf1d3b684cc5c$var$SSRContext
|
|
38232
|
+
let ctx = (React.useContext)($704cf1d3b684cc5c$var$SSRContext);
|
|
38261
38233
|
// If we are rendering in a non-DOM environment, and there's no SSRProvider,
|
|
38262
38234
|
// provide a warning to hint to the developer to add one.
|
|
38263
|
-
if (ctx === $704cf1d3b684cc5c$var$defaultContext
|
|
38235
|
+
if (ctx === $704cf1d3b684cc5c$var$defaultContext && !$704cf1d3b684cc5c$var$canUseDOM) console.warn("When server rendering, you must wrap your application in an <SSRProvider> to ensure consistent ids are generated between the client and server.");
|
|
38264
38236
|
let counter = $704cf1d3b684cc5c$var$useCounter(!!defaultId);
|
|
38265
38237
|
return defaultId || `react-aria${ctx.prefix}-${counter}`;
|
|
38266
38238
|
}
|
|
38239
|
+
function $704cf1d3b684cc5c$export$535bd6ca7f90a273() {
|
|
38240
|
+
let cur = (React.useContext)($704cf1d3b684cc5c$var$SSRContext);
|
|
38241
|
+
return cur.isSSR;
|
|
38242
|
+
}
|
|
38267
38243
|
|
|
38268
38244
|
function r(e){var t,f,n="";if("string"==typeof e||"number"==typeof e)n+=e;else if("object"==typeof e)if(Array.isArray(e))for(t=0;t<e.length;t++)e[t]&&(f=r(e[t]))&&(n&&(n+=" "),n+=f);else for(t in e)e[t]&&(n&&(n+=" "),n+=t);return n}function clsx(){for(var e,t,f=0,n="";f<arguments.length;)(e=arguments[f++])&&(t=r(e))&&(n&&(n+=" "),n+=t);return n}
|
|
38269
38245
|
|
|
@@ -39752,7 +39728,9 @@ function $a1ea59d68270f0dd$export$f8168d8dd8fd66e6(props) {
|
|
|
39752
39728
|
]);
|
|
39753
39729
|
const onSyntheticFocus = ($8a9cb279dc87e130$export$715c682d09d639cc)(onBlur);
|
|
39754
39730
|
const onFocus = (React.useCallback)((e)=>{
|
|
39755
|
-
|
|
39731
|
+
// Double check that document.activeElement actually matches e.target in case a previously chained
|
|
39732
|
+
// focus handler already moved focus somewhere else.
|
|
39733
|
+
if (e.target === e.currentTarget && document.activeElement === e.target) {
|
|
39756
39734
|
if (onFocusProp) onFocusProp(e);
|
|
39757
39735
|
if (onFocusChange) onFocusChange(true);
|
|
39758
39736
|
onSyntheticFocus(e);
|
|
@@ -39787,6 +39765,7 @@ function $a1ea59d68270f0dd$export$f8168d8dd8fd66e6(props) {
|
|
|
39787
39765
|
// See https://github.com/facebook/react/tree/cc7c1aece46a6b69b41958d731e0fd27c94bfc6c/packages/react-interactions
|
|
39788
39766
|
|
|
39789
39767
|
|
|
39768
|
+
|
|
39790
39769
|
let $507fabe10e71c6fb$var$currentModality = null;
|
|
39791
39770
|
let $507fabe10e71c6fb$var$changeHandlers = new Set();
|
|
39792
39771
|
let $507fabe10e71c6fb$var$hasSetupGlobalListeners = false;
|
|
@@ -39903,7 +39882,7 @@ function $507fabe10e71c6fb$export$98e20ec92f614cfe() {
|
|
|
39903
39882
|
$507fabe10e71c6fb$var$changeHandlers.delete(handler);
|
|
39904
39883
|
};
|
|
39905
39884
|
}, []);
|
|
39906
|
-
return modality;
|
|
39885
|
+
return ($704cf1d3b684cc5c$export$535bd6ca7f90a273)() ? null : modality;
|
|
39907
39886
|
}
|
|
39908
39887
|
/**
|
|
39909
39888
|
* If this is attached to text input component, return if the event is a focus event (Tab/Escape keys pressed) so that
|
|
@@ -39964,7 +39943,9 @@ function $9ab94262bd0047c7$export$420e68273165f4ec(props) {
|
|
|
39964
39943
|
]);
|
|
39965
39944
|
let onSyntheticFocus = ($8a9cb279dc87e130$export$715c682d09d639cc)(onBlur);
|
|
39966
39945
|
let onFocus = (React.useCallback)((e)=>{
|
|
39967
|
-
|
|
39946
|
+
// Double check that document.activeElement actually matches e.target in case a previously chained
|
|
39947
|
+
// focus handler already moved focus somewhere else.
|
|
39948
|
+
if (!state.current.isFocusWithin && document.activeElement === e.target) {
|
|
39968
39949
|
if (onFocusWithin) onFocusWithin(e);
|
|
39969
39950
|
if (onFocusWithinChange) onFocusWithinChange(true);
|
|
39970
39951
|
state.current.isFocusWithin = true;
|
|
@@ -41151,55 +41132,6 @@ function $701a24aa0da5b062$export$ea18c227d4417cc3(props, ref) {
|
|
|
41151
41132
|
};
|
|
41152
41133
|
}
|
|
41153
41134
|
|
|
41154
|
-
/*
|
|
41155
|
-
* Copyright 2020 Adobe. All rights reserved.
|
|
41156
|
-
* This file is licensed to you under the Apache License, Version 2.0 (the "License");
|
|
41157
|
-
* you may not use this file except in compliance with the License. You may obtain a copy
|
|
41158
|
-
* of the License at http://www.apache.org/licenses/LICENSE-2.0
|
|
41159
|
-
*
|
|
41160
|
-
* Unless required by applicable law or agreed to in writing, software distributed under
|
|
41161
|
-
* the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS
|
|
41162
|
-
* OF ANY KIND, either express or implied. See the License for the specific language
|
|
41163
|
-
* governing permissions and limitations under the License.
|
|
41164
|
-
*/ /*
|
|
41165
|
-
* Copyright 2020 Adobe. All rights reserved.
|
|
41166
|
-
* This file is licensed to you under the Apache License, Version 2.0 (the "License");
|
|
41167
|
-
* you may not use this file except in compliance with the License. You may obtain a copy
|
|
41168
|
-
* of the License at http://www.apache.org/licenses/LICENSE-2.0
|
|
41169
|
-
*
|
|
41170
|
-
* Unless required by applicable law or agreed to in writing, software distributed under
|
|
41171
|
-
* the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS
|
|
41172
|
-
* OF ANY KIND, either express or implied. See the License for the specific language
|
|
41173
|
-
* governing permissions and limitations under the License.
|
|
41174
|
-
*/ // We must avoid a circular dependency with @react-aria/utils, and this useLayoutEffect is
|
|
41175
|
-
// guarded by a check that it only runs on the client side.
|
|
41176
|
-
// eslint-disable-next-line rulesdir/useLayoutEffectRule
|
|
41177
|
-
|
|
41178
|
-
// Default context value to use in case there is no SSRProvider. This is fine for
|
|
41179
|
-
// client-only apps. In order to support multiple copies of React Aria potentially
|
|
41180
|
-
// being on the page at once, the prefix is set to a random number. SSRProvider
|
|
41181
|
-
// will reset this to zero for consistency between server and client, so in the
|
|
41182
|
-
// SSR case multiple copies of React Aria is not supported.
|
|
41183
|
-
const $704cf1d3b684cc5c$var$defaultContext = {
|
|
41184
|
-
prefix: String(Math.round(Math.random() * 10000000000)),
|
|
41185
|
-
current: 0
|
|
41186
|
-
};
|
|
41187
|
-
const $704cf1d3b684cc5c$var$SSRContext = /*#__PURE__*/ (React).createContext($704cf1d3b684cc5c$var$defaultContext);
|
|
41188
|
-
function $704cf1d3b684cc5c$export$535bd6ca7f90a273() {
|
|
41189
|
-
let cur = (React.useContext)($704cf1d3b684cc5c$var$SSRContext);
|
|
41190
|
-
let isInSSRContext = cur !== $704cf1d3b684cc5c$var$defaultContext;
|
|
41191
|
-
let [isSSR, setIsSSR] = (React.useState)(isInSSRContext);
|
|
41192
|
-
// If on the client, and the component was initially server rendered,
|
|
41193
|
-
// then schedule a layout effect to update the component after hydration.
|
|
41194
|
-
if (typeof window !== "undefined" && isInSSRContext) // This if statement technically breaks the rules of hooks, but is safe
|
|
41195
|
-
// because the condition never changes after mounting.
|
|
41196
|
-
// eslint-disable-next-line react-hooks/rules-of-hooks
|
|
41197
|
-
(React.useLayoutEffect)(()=>{
|
|
41198
|
-
setIsSSR(false);
|
|
41199
|
-
}, []);
|
|
41200
|
-
return isSSR;
|
|
41201
|
-
}
|
|
41202
|
-
|
|
41203
41135
|
/*
|
|
41204
41136
|
* Copyright 2022 Adobe. All rights reserved.
|
|
41205
41137
|
* This file is licensed to you under the Apache License, Version 2.0 (the "License");
|
|
@@ -41779,10 +41711,12 @@ function $ae20dd8cbca75726$export$d6daf82dcd84e87c(options) {
|
|
|
41779
41711
|
// Restore the scroll position to what it was before.
|
|
41780
41712
|
scrollRef.current.scrollTop = scrollPos.current.top;
|
|
41781
41713
|
scrollRef.current.scrollLeft = scrollPos.current.left;
|
|
41714
|
+
}
|
|
41715
|
+
if (!isVirtualized && manager.focusedKey != null) {
|
|
41782
41716
|
// Refocus and scroll the focused item into view if it exists within the scrollable region.
|
|
41783
41717
|
let element = scrollRef.current.querySelector(`[data-key="${manager.focusedKey}"]`);
|
|
41784
41718
|
if (element) {
|
|
41785
|
-
// This prevents a flash of focus on the first/last element in the collection
|
|
41719
|
+
// This prevents a flash of focus on the first/last element in the collection, or the collection itself.
|
|
41786
41720
|
($7215afc6de606d6b$export$de79e2c695e052f3)(element);
|
|
41787
41721
|
($2f04cbc44ee30ce0$export$53a0910f038337bd)(scrollRef.current, element);
|
|
41788
41722
|
}
|
|
@@ -41893,9 +41827,9 @@ function $880e95eb8b93ba9a$export$ecf600387e221c37(options) {
|
|
|
41893
41827
|
// Focus the associated DOM node when this item becomes the focusedKey
|
|
41894
41828
|
(React.useEffect)(()=>{
|
|
41895
41829
|
let isFocused = key === manager.focusedKey;
|
|
41896
|
-
if (isFocused && manager.isFocused && !shouldUseVirtualFocus
|
|
41830
|
+
if (isFocused && manager.isFocused && !shouldUseVirtualFocus) {
|
|
41897
41831
|
if (focus) focus();
|
|
41898
|
-
else ($6a99195332edec8b$export$80f3e147d781571c)(ref.current);
|
|
41832
|
+
else if (document.activeElement !== ref.current) ($6a99195332edec8b$export$80f3e147d781571c)(ref.current);
|
|
41899
41833
|
}
|
|
41900
41834
|
// eslint-disable-next-line react-hooks/exhaustive-deps
|
|
41901
41835
|
}, [
|
|
@@ -42019,6 +41953,7 @@ function $880e95eb8b93ba9a$export$ecf600387e221c37(options) {
|
|
|
42019
41953
|
}),
|
|
42020
41954
|
isPressed: isPressed,
|
|
42021
41955
|
isSelected: manager.isSelected(key),
|
|
41956
|
+
isFocused: manager.isFocused && manager.focusedKey === key,
|
|
42022
41957
|
isDisabled: isDisabled,
|
|
42023
41958
|
allowsSelection: allowsSelection,
|
|
42024
41959
|
hasAction: hasAction
|
|
@@ -42063,6 +41998,7 @@ function $880e95eb8b93ba9a$var$isSelectionKey() {
|
|
|
42063
41998
|
if (item.type === "item" && !this.disabledKeys.has(key)) return key;
|
|
42064
41999
|
key = this.collection.getKeyAfter(key);
|
|
42065
42000
|
}
|
|
42001
|
+
return null;
|
|
42066
42002
|
}
|
|
42067
42003
|
getKeyAbove(key) {
|
|
42068
42004
|
key = this.collection.getKeyBefore(key);
|
|
@@ -42071,6 +42007,7 @@ function $880e95eb8b93ba9a$var$isSelectionKey() {
|
|
|
42071
42007
|
if (item.type === "item" && !this.disabledKeys.has(key)) return key;
|
|
42072
42008
|
key = this.collection.getKeyBefore(key);
|
|
42073
42009
|
}
|
|
42010
|
+
return null;
|
|
42074
42011
|
}
|
|
42075
42012
|
getFirstKey() {
|
|
42076
42013
|
let key = this.collection.getFirstKey();
|
|
@@ -42079,6 +42016,7 @@ function $880e95eb8b93ba9a$var$isSelectionKey() {
|
|
|
42079
42016
|
if (item.type === "item" && !this.disabledKeys.has(key)) return key;
|
|
42080
42017
|
key = this.collection.getKeyAfter(key);
|
|
42081
42018
|
}
|
|
42019
|
+
return null;
|
|
42082
42020
|
}
|
|
42083
42021
|
getLastKey() {
|
|
42084
42022
|
let key = this.collection.getLastKey();
|
|
@@ -42087,6 +42025,7 @@ function $880e95eb8b93ba9a$var$isSelectionKey() {
|
|
|
42087
42025
|
if (item.type === "item" && !this.disabledKeys.has(key)) return key;
|
|
42088
42026
|
key = this.collection.getKeyBefore(key);
|
|
42089
42027
|
}
|
|
42028
|
+
return null;
|
|
42090
42029
|
}
|
|
42091
42030
|
getItem(key) {
|
|
42092
42031
|
return this.ref.current.querySelector(`[data-key="${key}"]`);
|
|
@@ -42098,7 +42037,7 @@ function $880e95eb8b93ba9a$var$isSelectionKey() {
|
|
|
42098
42037
|
let pageY = Math.max(0, item.offsetTop + item.offsetHeight - menu.offsetHeight);
|
|
42099
42038
|
while(item && item.offsetTop > pageY){
|
|
42100
42039
|
key = this.getKeyAbove(key);
|
|
42101
|
-
item = this.getItem(key);
|
|
42040
|
+
item = key == null ? null : this.getItem(key);
|
|
42102
42041
|
}
|
|
42103
42042
|
return key;
|
|
42104
42043
|
}
|
|
@@ -42109,7 +42048,7 @@ function $880e95eb8b93ba9a$var$isSelectionKey() {
|
|
|
42109
42048
|
let pageY = Math.min(menu.scrollHeight, item.offsetTop - item.offsetHeight + menu.offsetHeight);
|
|
42110
42049
|
while(item && item.offsetTop < pageY){
|
|
42111
42050
|
key = this.getKeyBelow(key);
|
|
42112
|
-
item = this.getItem(key);
|
|
42051
|
+
item = key == null ? null : this.getItem(key);
|
|
42113
42052
|
}
|
|
42114
42053
|
return key;
|
|
42115
42054
|
}
|
|
@@ -42288,12 +42227,12 @@ const $5c3e21d68f1c4674$var$styles = {
|
|
|
42288
42227
|
border: 0,
|
|
42289
42228
|
clip: "rect(0 0 0 0)",
|
|
42290
42229
|
clipPath: "inset(50%)",
|
|
42291
|
-
height:
|
|
42292
|
-
margin: "
|
|
42230
|
+
height: "1px",
|
|
42231
|
+
margin: "-1px",
|
|
42293
42232
|
overflow: "hidden",
|
|
42294
42233
|
padding: 0,
|
|
42295
42234
|
position: "absolute",
|
|
42296
|
-
width:
|
|
42235
|
+
width: "1px",
|
|
42297
42236
|
whiteSpace: "nowrap"
|
|
42298
42237
|
};
|
|
42299
42238
|
function $5c3e21d68f1c4674$export$a966af930f325cab(props = {}) {
|
|
@@ -42478,6 +42417,18 @@ function $628037886ba31236$export$f9d5c8beee7d008d(props, state, ref) {
|
|
|
42478
42417
|
}
|
|
42479
42418
|
};
|
|
42480
42419
|
}
|
|
42420
|
+
// HTML input types that do not cause the software keyboard to appear.
|
|
42421
|
+
new Set([
|
|
42422
|
+
"checkbox",
|
|
42423
|
+
"radio",
|
|
42424
|
+
"range",
|
|
42425
|
+
"color",
|
|
42426
|
+
"file",
|
|
42427
|
+
"image",
|
|
42428
|
+
"button",
|
|
42429
|
+
"submit",
|
|
42430
|
+
"reset"
|
|
42431
|
+
]);
|
|
42481
42432
|
|
|
42482
42433
|
|
|
42483
42434
|
/*
|
|
@@ -42751,6 +42702,21 @@ function $86ea4cb521eb2e37$export$2317d149ed6f78c4(props) {
|
|
|
42751
42702
|
}));
|
|
42752
42703
|
}
|
|
42753
42704
|
|
|
42705
|
+
|
|
42706
|
+
/*
|
|
42707
|
+
* Copyright 2020 Adobe. All rights reserved.
|
|
42708
|
+
* This file is licensed to you under the Apache License, Version 2.0 (the "License");
|
|
42709
|
+
* you may not use this file except in compliance with the License. You may obtain a copy
|
|
42710
|
+
* of the License at http://www.apache.org/licenses/LICENSE-2.0
|
|
42711
|
+
*
|
|
42712
|
+
* Unless required by applicable law or agreed to in writing, software distributed under
|
|
42713
|
+
* the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS
|
|
42714
|
+
* OF ANY KIND, either express or implied. See the License for the specific language
|
|
42715
|
+
* governing permissions and limitations under the License.
|
|
42716
|
+
*/ // Keeps a ref count of all hidden elements. Added to when hiding an element, and
|
|
42717
|
+
// subtracted from when showing it again. When it reaches zero, aria-hidden is removed.
|
|
42718
|
+
new WeakMap();
|
|
42719
|
+
|
|
42754
42720
|
/*
|
|
42755
42721
|
* Copyright 2020 Adobe. All rights reserved.
|
|
42756
42722
|
* This file is licensed to you under the Apache License, Version 2.0 (the "License");
|
|
@@ -43060,6 +43026,7 @@ function $7613b1592d41b092$export$6cd28814d92fa9c9(props, factory, context, inva
|
|
|
43060
43026
|
let builder = (React.useMemo)(()=>new ($eb2240fc39a57fa5$export$bf788dd355e3a401)(), []);
|
|
43061
43027
|
let prev = (React.useRef)(null);
|
|
43062
43028
|
return (React.useMemo)(()=>{
|
|
43029
|
+
if (props.collection) return props.collection;
|
|
43063
43030
|
let nodes = builder.build(props, context);
|
|
43064
43031
|
prev.current = factory(nodes, prev.current);
|
|
43065
43032
|
return prev.current;
|
|
@@ -43069,6 +43036,7 @@ function $7613b1592d41b092$export$6cd28814d92fa9c9(props, factory, context, inva
|
|
|
43069
43036
|
builder,
|
|
43070
43037
|
props.children,
|
|
43071
43038
|
props.items,
|
|
43039
|
+
props.collection,
|
|
43072
43040
|
context,
|
|
43073
43041
|
...invalidators
|
|
43074
43042
|
]);
|
|
@@ -43085,13 +43053,69 @@ function $7613b1592d41b092$export$6cd28814d92fa9c9(props, factory, context, inva
|
|
|
43085
43053
|
* the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS
|
|
43086
43054
|
* OF ANY KIND, either express or implied. See the License for the specific language
|
|
43087
43055
|
* governing permissions and limitations under the License.
|
|
43088
|
-
*/
|
|
43056
|
+
*/ /*
|
|
43057
|
+
* Copyright 2020 Adobe. All rights reserved.
|
|
43058
|
+
* This file is licensed to you under the Apache License, Version 2.0 (the "License");
|
|
43059
|
+
* you may not use this file except in compliance with the License. You may obtain a copy
|
|
43060
|
+
* of the License at http://www.apache.org/licenses/LICENSE-2.0
|
|
43061
|
+
*
|
|
43062
|
+
* Unless required by applicable law or agreed to in writing, software distributed under
|
|
43063
|
+
* the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS
|
|
43064
|
+
* OF ANY KIND, either express or implied. See the License for the specific language
|
|
43065
|
+
* governing permissions and limitations under the License.
|
|
43066
|
+
*/ function $c5a24bc478652b5f$export$1005530eda016c13(node, collection) {
|
|
43067
|
+
// New API: call collection.getChildren with the node key.
|
|
43068
|
+
if (typeof collection.getChildren === "function") return collection.getChildren(node.key);
|
|
43069
|
+
// Old API: access childNodes directly.
|
|
43070
|
+
return node.childNodes;
|
|
43071
|
+
}
|
|
43072
|
+
function $c5a24bc478652b5f$export$fbdeaa6a76694f71(iterable) {
|
|
43073
|
+
return $c5a24bc478652b5f$export$5f3398f8733f90e2(iterable, 0);
|
|
43074
|
+
}
|
|
43075
|
+
function $c5a24bc478652b5f$export$5f3398f8733f90e2(iterable, index) {
|
|
43076
|
+
if (index < 0) return undefined;
|
|
43077
|
+
let i = 0;
|
|
43078
|
+
for (let item of iterable){
|
|
43079
|
+
if (i === index) return item;
|
|
43080
|
+
i++;
|
|
43081
|
+
}
|
|
43082
|
+
}
|
|
43083
|
+
function $c5a24bc478652b5f$export$8c434b3a7a4dad6(collection, a, b) {
|
|
43084
|
+
// If the two nodes have the same parent, compare their indices.
|
|
43085
|
+
if (a.parentKey === b.parentKey) return a.index - b.index;
|
|
43086
|
+
// Otherwise, collect all of the ancestors from each node, and find the first one that doesn't match starting from the root.
|
|
43087
|
+
let aAncestors = $c5a24bc478652b5f$var$getAncestors(collection, a);
|
|
43088
|
+
let bAncestors = $c5a24bc478652b5f$var$getAncestors(collection, b);
|
|
43089
|
+
let firstNonMatchingAncestor = aAncestors.slice(0, bAncestors.length).findIndex((a, i)=>a !== bAncestors[i]);
|
|
43090
|
+
if (firstNonMatchingAncestor !== -1) {
|
|
43091
|
+
// Compare the indices of two children within the common ancestor.
|
|
43092
|
+
a = aAncestors[firstNonMatchingAncestor];
|
|
43093
|
+
b = bAncestors[firstNonMatchingAncestor];
|
|
43094
|
+
return a.index - b.index;
|
|
43095
|
+
}
|
|
43096
|
+
// 🤷
|
|
43097
|
+
return -1;
|
|
43098
|
+
}
|
|
43099
|
+
function $c5a24bc478652b5f$var$getAncestors(collection, node) {
|
|
43100
|
+
let parents = [];
|
|
43101
|
+
while((node === null || node === void 0 ? void 0 : node.parentKey) != null){
|
|
43102
|
+
node = collection.getItem(node.parentKey);
|
|
43103
|
+
parents.unshift(node);
|
|
43104
|
+
}
|
|
43105
|
+
return parents;
|
|
43106
|
+
}
|
|
43107
|
+
|
|
43108
|
+
|
|
43109
|
+
const $453cc9f0df89c0a5$var$cache = new WeakMap();
|
|
43089
43110
|
function $453cc9f0df89c0a5$export$77d5aafae4e095b2(collection) {
|
|
43090
43111
|
let count = $453cc9f0df89c0a5$var$cache.get(collection);
|
|
43091
43112
|
if (count != null) return count;
|
|
43092
43113
|
count = 0;
|
|
43093
|
-
|
|
43094
|
-
|
|
43114
|
+
let countItems = (items)=>{
|
|
43115
|
+
for (let item of items)if (item.type === "section") countItems(($c5a24bc478652b5f$export$1005530eda016c13)(item, collection));
|
|
43116
|
+
else count++;
|
|
43117
|
+
};
|
|
43118
|
+
countItems(collection);
|
|
43095
43119
|
$453cc9f0df89c0a5$var$cache.set(collection, count);
|
|
43096
43120
|
return count;
|
|
43097
43121
|
}
|
|
@@ -43433,12 +43457,27 @@ function $168583247155ddda$export$dc9c12ed27dd1b49(props, state, ref) {
|
|
|
43433
43457
|
};
|
|
43434
43458
|
}
|
|
43435
43459
|
|
|
43460
|
+
|
|
43436
43461
|
/*
|
|
43437
43462
|
* Copyright 2020 Adobe. All rights reserved.
|
|
43438
43463
|
* This file is licensed to you under the Apache License, Version 2.0 (the "License");
|
|
43439
43464
|
* you may not use this file except in compliance with the License. You may obtain a copy
|
|
43440
43465
|
* of the License at http://www.apache.org/licenses/LICENSE-2.0
|
|
43441
|
-
*
|
|
43466
|
+
*
|
|
43467
|
+
* Unless required by applicable law or agreed to in writing, software distributed under
|
|
43468
|
+
* the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS
|
|
43469
|
+
* OF ANY KIND, either express or implied. See the License for the specific language
|
|
43470
|
+
* governing permissions and limitations under the License.
|
|
43471
|
+
*/
|
|
43472
|
+
|
|
43473
|
+
new WeakMap();
|
|
43474
|
+
|
|
43475
|
+
/*
|
|
43476
|
+
* Copyright 2020 Adobe. All rights reserved.
|
|
43477
|
+
* This file is licensed to you under the Apache License, Version 2.0 (the "License");
|
|
43478
|
+
* you may not use this file except in compliance with the License. You may obtain a copy
|
|
43479
|
+
* of the License at http://www.apache.org/licenses/LICENSE-2.0
|
|
43480
|
+
*
|
|
43442
43481
|
* Unless required by applicable law or agreed to in writing, software distributed under
|
|
43443
43482
|
* the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS
|
|
43444
43483
|
* OF ANY KIND, either express or implied. See the License for the specific language
|
|
@@ -43874,6 +43913,7 @@ function $7af3f5b51489e0b5$var$convertSelection(selection, defaultValue) {
|
|
|
43874
43913
|
* OF ANY KIND, either express or implied. See the License for the specific language
|
|
43875
43914
|
* governing permissions and limitations under the License.
|
|
43876
43915
|
*/
|
|
43916
|
+
|
|
43877
43917
|
class $d496c0a20b6e58ec$export$6c8a5aaad13c9852 {
|
|
43878
43918
|
/**
|
|
43879
43919
|
* The type of selection that is allowed in the collection.
|
|
@@ -43956,7 +43996,7 @@ class $d496c0a20b6e58ec$export$6c8a5aaad13c9852 {
|
|
|
43956
43996
|
let first = null;
|
|
43957
43997
|
for (let key of this.state.selectedKeys){
|
|
43958
43998
|
let item = this.collection.getItem(key);
|
|
43959
|
-
if (!first ||
|
|
43999
|
+
if (!first || item && ($c5a24bc478652b5f$export$8c434b3a7a4dad6)(this.collection, item, first) < 0) first = item;
|
|
43960
44000
|
}
|
|
43961
44001
|
return first === null || first === void 0 ? void 0 : first.key;
|
|
43962
44002
|
}
|
|
@@ -43964,7 +44004,7 @@ class $d496c0a20b6e58ec$export$6c8a5aaad13c9852 {
|
|
|
43964
44004
|
let last = null;
|
|
43965
44005
|
for (let key of this.state.selectedKeys){
|
|
43966
44006
|
let item = this.collection.getItem(key);
|
|
43967
|
-
if (!last ||
|
|
44007
|
+
if (!last || item && ($c5a24bc478652b5f$export$8c434b3a7a4dad6)(this.collection, item, last) > 0) last = item;
|
|
43968
44008
|
}
|
|
43969
44009
|
return last === null || last === void 0 ? void 0 : last.key;
|
|
43970
44010
|
}
|
|
@@ -44001,7 +44041,7 @@ class $d496c0a20b6e58ec$export$6c8a5aaad13c9852 {
|
|
|
44001
44041
|
let fromItem = this.collection.getItem(from);
|
|
44002
44042
|
let toItem = this.collection.getItem(to);
|
|
44003
44043
|
if (fromItem && toItem) {
|
|
44004
|
-
if (
|
|
44044
|
+
if (($c5a24bc478652b5f$export$8c434b3a7a4dad6)(this.collection, fromItem, toItem) <= 0) return this.getKeyRangeInternal(from, to);
|
|
44005
44045
|
return this.getKeyRangeInternal(to, from);
|
|
44006
44046
|
}
|
|
44007
44047
|
return [];
|
|
@@ -44081,9 +44121,7 @@ class $d496c0a20b6e58ec$export$6c8a5aaad13c9852 {
|
|
|
44081
44121
|
let item = this.collection.getItem(key);
|
|
44082
44122
|
if (item.type === "item") keys.push(key);
|
|
44083
44123
|
// Add child keys. If cell selection is allowed, then include item children too.
|
|
44084
|
-
if (item.hasChildNodes && (this.allowsCellSelection || item.type !== "item")) addKeys(
|
|
44085
|
-
...item.childNodes
|
|
44086
|
-
][0].key);
|
|
44124
|
+
if (item.hasChildNodes && (this.allowsCellSelection || item.type !== "item")) addKeys(($c5a24bc478652b5f$export$fbdeaa6a76694f71)(($c5a24bc478652b5f$export$1005530eda016c13)(item, this.collection)).key);
|
|
44087
44125
|
}
|
|
44088
44126
|
key = this.collection.getKeyAfter(key);
|
|
44089
44127
|
}
|
|
@@ -44215,6 +44253,10 @@ class $a02d57049d202695$export$d085fb9e920b5ca7 {
|
|
|
44215
44253
|
];
|
|
44216
44254
|
return this.getItem(keys[idx]);
|
|
44217
44255
|
}
|
|
44256
|
+
getChildren(key) {
|
|
44257
|
+
let node = this.keyMap.get(key);
|
|
44258
|
+
return (node === null || node === void 0 ? void 0 : node.childNodes) || [];
|
|
44259
|
+
}
|
|
44218
44260
|
constructor(nodes){
|
|
44219
44261
|
(_defineProperty)(this, "keyMap", new Map());
|
|
44220
44262
|
this.iterable = nodes;
|
|
@@ -44535,20 +44577,19 @@ function $293f70390ea03370$export$497855f14858aa34(props, state, ref) {
|
|
|
44535
44577
|
let isDisabled = (_props_isDisabled = props.isDisabled) !== null && _props_isDisabled !== void 0 ? _props_isDisabled : state.disabledKeys.has(key);
|
|
44536
44578
|
var _props_isSelected;
|
|
44537
44579
|
let isSelected = (_props_isSelected = props.isSelected) !== null && _props_isSelected !== void 0 ? _props_isSelected : state.selectionManager.isSelected(key);
|
|
44538
|
-
let isFocused = state.selectionManager.focusedKey === key;
|
|
44539
44580
|
var _props_shouldSelectOnPressUp;
|
|
44540
|
-
let shouldSelectOnPressUp = (_props_shouldSelectOnPressUp = props.shouldSelectOnPressUp) !== null && _props_shouldSelectOnPressUp !== void 0 ? _props_shouldSelectOnPressUp : data.shouldSelectOnPressUp;
|
|
44581
|
+
let shouldSelectOnPressUp = (_props_shouldSelectOnPressUp = props.shouldSelectOnPressUp) !== null && _props_shouldSelectOnPressUp !== void 0 ? _props_shouldSelectOnPressUp : data === null || data === void 0 ? void 0 : data.shouldSelectOnPressUp;
|
|
44541
44582
|
var _props_shouldFocusOnHover;
|
|
44542
|
-
let shouldFocusOnHover = (_props_shouldFocusOnHover = props.shouldFocusOnHover) !== null && _props_shouldFocusOnHover !== void 0 ? _props_shouldFocusOnHover : data.shouldFocusOnHover;
|
|
44583
|
+
let shouldFocusOnHover = (_props_shouldFocusOnHover = props.shouldFocusOnHover) !== null && _props_shouldFocusOnHover !== void 0 ? _props_shouldFocusOnHover : data === null || data === void 0 ? void 0 : data.shouldFocusOnHover;
|
|
44543
44584
|
var _props_shouldUseVirtualFocus;
|
|
44544
|
-
let shouldUseVirtualFocus = (_props_shouldUseVirtualFocus = props.shouldUseVirtualFocus) !== null && _props_shouldUseVirtualFocus !== void 0 ? _props_shouldUseVirtualFocus : data.shouldUseVirtualFocus;
|
|
44585
|
+
let shouldUseVirtualFocus = (_props_shouldUseVirtualFocus = props.shouldUseVirtualFocus) !== null && _props_shouldUseVirtualFocus !== void 0 ? _props_shouldUseVirtualFocus : data === null || data === void 0 ? void 0 : data.shouldUseVirtualFocus;
|
|
44545
44586
|
var _props_isVirtualized;
|
|
44546
|
-
let isVirtualized = (_props_isVirtualized = props.isVirtualized) !== null && _props_isVirtualized !== void 0 ? _props_isVirtualized : data.isVirtualized;
|
|
44587
|
+
let isVirtualized = (_props_isVirtualized = props.isVirtualized) !== null && _props_isVirtualized !== void 0 ? _props_isVirtualized : data === null || data === void 0 ? void 0 : data.isVirtualized;
|
|
44547
44588
|
let labelId = ($bdb11010cef70236$export$b4cc09c592e8fdb8)();
|
|
44548
44589
|
let descriptionId = ($bdb11010cef70236$export$b4cc09c592e8fdb8)();
|
|
44549
44590
|
let optionProps = {
|
|
44550
44591
|
role: "option",
|
|
44551
|
-
"aria-disabled": isDisabled,
|
|
44592
|
+
"aria-disabled": isDisabled || undefined,
|
|
44552
44593
|
"aria-selected": state.selectionManager.selectionMode !== "none" ? isSelected : undefined
|
|
44553
44594
|
};
|
|
44554
44595
|
// Safari with VoiceOver on macOS misreads options with aria-labelledby or aria-label as simply "text".
|
|
@@ -44560,10 +44601,12 @@ function $293f70390ea03370$export$497855f14858aa34(props, state, ref) {
|
|
|
44560
44601
|
optionProps["aria-describedby"] = descriptionId;
|
|
44561
44602
|
}
|
|
44562
44603
|
if (isVirtualized) {
|
|
44563
|
-
|
|
44604
|
+
var _state_collection_getItem;
|
|
44605
|
+
let index = Number((_state_collection_getItem = state.collection.getItem(key)) === null || _state_collection_getItem === void 0 ? void 0 : _state_collection_getItem.index);
|
|
44606
|
+
optionProps["aria-posinset"] = Number.isNaN(index) ? undefined : index + 1;
|
|
44564
44607
|
optionProps["aria-setsize"] = ($453cc9f0df89c0a5$export$77d5aafae4e095b2)(state.collection);
|
|
44565
44608
|
}
|
|
44566
|
-
let { itemProps: itemProps , isPressed: isPressed , hasAction: hasAction , allowsSelection: allowsSelection } = ($880e95eb8b93ba9a$export$ecf600387e221c37)({
|
|
44609
|
+
let { itemProps: itemProps , isPressed: isPressed , isFocused: isFocused , hasAction: hasAction , allowsSelection: allowsSelection } = ($880e95eb8b93ba9a$export$ecf600387e221c37)({
|
|
44567
44610
|
selectionManager: state.selectionManager,
|
|
44568
44611
|
key: key,
|
|
44569
44612
|
ref: ref,
|
|
@@ -44572,7 +44615,10 @@ function $293f70390ea03370$export$497855f14858aa34(props, state, ref) {
|
|
|
44572
44615
|
isVirtualized: isVirtualized,
|
|
44573
44616
|
shouldUseVirtualFocus: shouldUseVirtualFocus,
|
|
44574
44617
|
isDisabled: isDisabled,
|
|
44575
|
-
onAction: data
|
|
44618
|
+
onAction: (data === null || data === void 0 ? void 0 : data.onAction) ? ()=>{
|
|
44619
|
+
var _data_onAction;
|
|
44620
|
+
return data === null || data === void 0 ? void 0 : (_data_onAction = data.onAction) === null || _data_onAction === void 0 ? void 0 : _data_onAction.call(data, key);
|
|
44621
|
+
} : undefined
|
|
44576
44622
|
});
|
|
44577
44623
|
let { hoverProps: hoverProps } = ($6179b936705e76d3$export$ae780daf29e6d456)({
|
|
44578
44624
|
isDisabled: isDisabled || !shouldFocusOnHover,
|
|
@@ -44596,6 +44642,7 @@ function $293f70390ea03370$export$497855f14858aa34(props, state, ref) {
|
|
|
44596
44642
|
id: descriptionId
|
|
44597
44643
|
},
|
|
44598
44644
|
isFocused: isFocused,
|
|
44645
|
+
isFocusVisible: isFocused && ($507fabe10e71c6fb$export$b9b3dfddab17db27)(),
|
|
44599
44646
|
isSelected: isSelected,
|
|
44600
44647
|
isDisabled: isDisabled,
|
|
44601
44648
|
isPressed: isPressed,
|
|
@@ -44645,7 +44692,7 @@ var ListBox = function(_a) {
|
|
|
44645
44692
|
var state = useSelectContext().state;
|
|
44646
44693
|
var ref = React.useRef(null);
|
|
44647
44694
|
var listBoxProps = $c132121280ec012d$export$50eacbbf140a3141(index.__assign(index.__assign({}, menuProps), { disallowEmptySelection: true, autoFocus: "first" }), state, ref).listBoxProps;
|
|
44648
|
-
return React.createElement("ul", index.__assign({ ref, className: index.
|
|
44695
|
+
return React.createElement("ul", index.__assign({ ref, className: index.classnames(styles$4.listBox, classNameOverride) }, listBoxProps, restProps), children);
|
|
44649
44696
|
};
|
|
44650
44697
|
ListBox.displayName = "ListBox";
|
|
44651
44698
|
|
|
@@ -44662,10 +44709,10 @@ var Heading_module$1 = /*#__PURE__*/Object.freeze({
|
|
|
44662
44709
|
default: Heading_module
|
|
44663
44710
|
});
|
|
44664
44711
|
|
|
44665
|
-
var require$$2$4 = /*@__PURE__*/getAugmentedNamespace(Heading_module$1);
|
|
44712
|
+
var require$$2$4 = /*@__PURE__*/index.getAugmentedNamespace(Heading_module$1);
|
|
44666
44713
|
|
|
44667
44714
|
(function(exports) {
|
|
44668
|
-
var __assign = commonjsGlobal && commonjsGlobal.__assign || function() {
|
|
44715
|
+
var __assign = index.commonjsGlobal && index.commonjsGlobal.__assign || function() {
|
|
44669
44716
|
__assign = Object.assign || function(t) {
|
|
44670
44717
|
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
44671
44718
|
s = arguments[i];
|
|
@@ -44677,7 +44724,7 @@ var require$$2$4 = /*@__PURE__*/getAugmentedNamespace(Heading_module$1);
|
|
|
44677
44724
|
};
|
|
44678
44725
|
return __assign.apply(this, arguments);
|
|
44679
44726
|
};
|
|
44680
|
-
var __rest = commonjsGlobal && commonjsGlobal.__rest || function(s, e) {
|
|
44727
|
+
var __rest = index.commonjsGlobal && index.commonjsGlobal.__rest || function(s, e) {
|
|
44681
44728
|
var t = {};
|
|
44682
44729
|
for (var p in s)
|
|
44683
44730
|
if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
|
|
@@ -44689,7 +44736,7 @@ var require$$2$4 = /*@__PURE__*/getAugmentedNamespace(Heading_module$1);
|
|
|
44689
44736
|
}
|
|
44690
44737
|
return t;
|
|
44691
44738
|
};
|
|
44692
|
-
var __importDefault = commonjsGlobal && commonjsGlobal.__importDefault || function(mod) {
|
|
44739
|
+
var __importDefault = index.commonjsGlobal && index.commonjsGlobal.__importDefault || function(mod) {
|
|
44693
44740
|
return mod && mod.__esModule ? mod : { "default": mod };
|
|
44694
44741
|
};
|
|
44695
44742
|
exports.__esModule = true;
|
|
@@ -44701,13 +44748,7 @@ var require$$2$4 = /*@__PURE__*/getAugmentedNamespace(Heading_module$1);
|
|
|
44701
44748
|
var Heading = function(_a) {
|
|
44702
44749
|
var children = _a.children, tag = _a.tag, variant = _a.variant, _b = _a.color, color = _b === void 0 ? "dark" : _b, classNameOverride = _a.classNameOverride, restProps = __rest(_a, ["children", "tag", "variant", "color", "classNameOverride"]);
|
|
44703
44750
|
var inferredTag = tag === void 0 ? translateHeadingLevelToTag(variant) : tag;
|
|
44704
|
-
var className = (0, classnames_1["default"])([
|
|
44705
|
-
Heading_module_scss_1["default"].heading,
|
|
44706
|
-
Heading_module_scss_1["default"][variant],
|
|
44707
|
-
classNameOverride,
|
|
44708
|
-
Heading_module_scss_1["default"][color],
|
|
44709
|
-
VARIANTS_24PX_OR_GREATER.includes(variant) ? Heading_module_scss_1["default"].large : Heading_module_scss_1["default"].small
|
|
44710
|
-
]);
|
|
44751
|
+
var className = (0, classnames_1["default"])(Heading_module_scss_1["default"].heading, Heading_module_scss_1["default"][variant], classNameOverride, Heading_module_scss_1["default"][color], VARIANTS_24PX_OR_GREATER.includes(variant) ? Heading_module_scss_1["default"].large : Heading_module_scss_1["default"].small);
|
|
44711
44752
|
return (0, react_1.createElement)(inferredTag, __assign(__assign({}, restProps), { className }), children);
|
|
44712
44753
|
};
|
|
44713
44754
|
exports.Heading = Heading;
|
|
@@ -44733,7 +44774,7 @@ var require$$2$4 = /*@__PURE__*/getAugmentedNamespace(Heading_module$1);
|
|
|
44733
44774
|
})(Heading);
|
|
44734
44775
|
|
|
44735
44776
|
(function(exports) {
|
|
44736
|
-
var __createBinding = commonjsGlobal && commonjsGlobal.__createBinding || (Object.create ? function(o, m, k, k2) {
|
|
44777
|
+
var __createBinding = index.commonjsGlobal && index.commonjsGlobal.__createBinding || (Object.create ? function(o, m, k, k2) {
|
|
44737
44778
|
if (k2 === void 0)
|
|
44738
44779
|
k2 = k;
|
|
44739
44780
|
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
@@ -44748,7 +44789,7 @@ var require$$2$4 = /*@__PURE__*/getAugmentedNamespace(Heading_module$1);
|
|
|
44748
44789
|
k2 = k;
|
|
44749
44790
|
o[k2] = m[k];
|
|
44750
44791
|
});
|
|
44751
|
-
var __exportStar = commonjsGlobal && commonjsGlobal.__exportStar || function(m, exports2) {
|
|
44792
|
+
var __exportStar = index.commonjsGlobal && index.commonjsGlobal.__exportStar || function(m, exports2) {
|
|
44752
44793
|
for (var p in m)
|
|
44753
44794
|
if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports2, p))
|
|
44754
44795
|
__createBinding(exports2, m, p);
|
|
@@ -44757,9 +44798,9 @@ var require$$2$4 = /*@__PURE__*/getAugmentedNamespace(Heading_module$1);
|
|
|
44757
44798
|
__exportStar(Heading, exports);
|
|
44758
44799
|
})(Heading$1);
|
|
44759
44800
|
|
|
44760
|
-
var Paragraph$
|
|
44801
|
+
var Paragraph$2 = {};
|
|
44761
44802
|
|
|
44762
|
-
var Paragraph = {};
|
|
44803
|
+
var Paragraph$1 = {};
|
|
44763
44804
|
|
|
44764
44805
|
var Paragraph_module = {"paragraph":"Paragraph-module_paragraph__4W6qH","intro-lede":"Paragraph-module_intro-lede__uFhW-","body":"Paragraph-module_body__0R0qn","small":"Paragraph-module_small__GQQjR","extra-small":"Paragraph-module_extra-small__Nx9pp","dark":"Paragraph-module_dark__x5bRT","dark-reduced-opacity":"Paragraph-module_dark-reduced-opacity__6jIPJ","white":"Paragraph-module_white__geIrR","white-reduced-opacity":"Paragraph-module_white-reduced-opacity__2Q7c7","positive":"Paragraph-module_positive__mC-GU","negative":"Paragraph-module_negative__KoAoh"};
|
|
44765
44806
|
|
|
@@ -44768,57 +44809,49 @@ var Paragraph_module$1 = /*#__PURE__*/Object.freeze({
|
|
|
44768
44809
|
default: Paragraph_module
|
|
44769
44810
|
});
|
|
44770
44811
|
|
|
44771
|
-
var require$$2$3 = /*@__PURE__*/getAugmentedNamespace(Paragraph_module$1);
|
|
44812
|
+
var require$$2$3 = /*@__PURE__*/index.getAugmentedNamespace(Paragraph_module$1);
|
|
44772
44813
|
|
|
44773
|
-
|
|
44774
|
-
|
|
44775
|
-
|
|
44776
|
-
|
|
44777
|
-
|
|
44778
|
-
|
|
44779
|
-
|
|
44780
|
-
|
|
44781
|
-
}
|
|
44782
|
-
return t;
|
|
44783
|
-
};
|
|
44784
|
-
return __assign.apply(this, arguments);
|
|
44785
|
-
};
|
|
44786
|
-
var __rest = commonjsGlobal && commonjsGlobal.__rest || function(s, e) {
|
|
44787
|
-
var t = {};
|
|
44788
|
-
for (var p in s)
|
|
44789
|
-
if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
|
|
44790
|
-
t[p] = s[p];
|
|
44791
|
-
if (s != null && typeof Object.getOwnPropertySymbols === "function")
|
|
44792
|
-
for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
|
|
44793
|
-
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
|
|
44794
|
-
t[p[i]] = s[p[i]];
|
|
44795
|
-
}
|
|
44814
|
+
var __assign = index.commonjsGlobal && index.commonjsGlobal.__assign || function() {
|
|
44815
|
+
__assign = Object.assign || function(t) {
|
|
44816
|
+
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
44817
|
+
s = arguments[i];
|
|
44818
|
+
for (var p in s)
|
|
44819
|
+
if (Object.prototype.hasOwnProperty.call(s, p))
|
|
44820
|
+
t[p] = s[p];
|
|
44821
|
+
}
|
|
44796
44822
|
return t;
|
|
44797
44823
|
};
|
|
44798
|
-
|
|
44799
|
-
|
|
44800
|
-
|
|
44801
|
-
|
|
44802
|
-
|
|
44803
|
-
|
|
44804
|
-
|
|
44805
|
-
|
|
44806
|
-
|
|
44807
|
-
|
|
44808
|
-
|
|
44809
|
-
|
|
44810
|
-
|
|
44811
|
-
|
|
44812
|
-
|
|
44813
|
-
|
|
44814
|
-
|
|
44815
|
-
|
|
44816
|
-
|
|
44817
|
-
|
|
44818
|
-
|
|
44824
|
+
return __assign.apply(this, arguments);
|
|
44825
|
+
};
|
|
44826
|
+
var __rest = index.commonjsGlobal && index.commonjsGlobal.__rest || function(s, e) {
|
|
44827
|
+
var t = {};
|
|
44828
|
+
for (var p in s)
|
|
44829
|
+
if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
|
|
44830
|
+
t[p] = s[p];
|
|
44831
|
+
if (s != null && typeof Object.getOwnPropertySymbols === "function")
|
|
44832
|
+
for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
|
|
44833
|
+
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
|
|
44834
|
+
t[p[i]] = s[p[i]];
|
|
44835
|
+
}
|
|
44836
|
+
return t;
|
|
44837
|
+
};
|
|
44838
|
+
var __importDefault = index.commonjsGlobal && index.commonjsGlobal.__importDefault || function(mod) {
|
|
44839
|
+
return mod && mod.__esModule ? mod : { "default": mod };
|
|
44840
|
+
};
|
|
44841
|
+
Paragraph$1.__esModule = true;
|
|
44842
|
+
Paragraph$1.Paragraph = void 0;
|
|
44843
|
+
var react_1 = React;
|
|
44844
|
+
var classnames_1 = __importDefault(index.classnamesExports);
|
|
44845
|
+
var Paragraph_module_scss_1 = __importDefault(require$$2$3);
|
|
44846
|
+
var Paragraph = function(_a) {
|
|
44847
|
+
var children = _a.children, tag = _a.tag, variant = _a.variant, _b = _a.color, color = _b === void 0 ? "dark" : _b, classNameOverride = _a.classNameOverride, restProps = __rest(_a, ["children", "tag", "variant", "color", "classNameOverride"]);
|
|
44848
|
+
var className = (0, classnames_1["default"])(Paragraph_module_scss_1["default"].paragraph, Paragraph_module_scss_1["default"][variant], Paragraph_module_scss_1["default"][color], classNameOverride);
|
|
44849
|
+
return (0, react_1.createElement)(tag === void 0 ? "p" : tag, __assign(__assign({}, restProps), { className }), children);
|
|
44850
|
+
};
|
|
44851
|
+
Paragraph$1.Paragraph = Paragraph;
|
|
44819
44852
|
|
|
44820
44853
|
(function(exports) {
|
|
44821
|
-
var __createBinding = commonjsGlobal && commonjsGlobal.__createBinding || (Object.create ? function(o, m, k, k2) {
|
|
44854
|
+
var __createBinding = index.commonjsGlobal && index.commonjsGlobal.__createBinding || (Object.create ? function(o, m, k, k2) {
|
|
44822
44855
|
if (k2 === void 0)
|
|
44823
44856
|
k2 = k;
|
|
44824
44857
|
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
@@ -44833,17 +44866,17 @@ var require$$2$3 = /*@__PURE__*/getAugmentedNamespace(Paragraph_module$1);
|
|
|
44833
44866
|
k2 = k;
|
|
44834
44867
|
o[k2] = m[k];
|
|
44835
44868
|
});
|
|
44836
|
-
var __exportStar = commonjsGlobal && commonjsGlobal.__exportStar || function(m, exports2) {
|
|
44869
|
+
var __exportStar = index.commonjsGlobal && index.commonjsGlobal.__exportStar || function(m, exports2) {
|
|
44837
44870
|
for (var p in m)
|
|
44838
44871
|
if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports2, p))
|
|
44839
44872
|
__createBinding(exports2, m, p);
|
|
44840
44873
|
};
|
|
44841
44874
|
exports.__esModule = true;
|
|
44842
|
-
__exportStar(Paragraph, exports);
|
|
44843
|
-
})(Paragraph$
|
|
44875
|
+
__exportStar(Paragraph$1, exports);
|
|
44876
|
+
})(Paragraph$2);
|
|
44844
44877
|
|
|
44845
44878
|
(function(exports) {
|
|
44846
|
-
var __createBinding = commonjsGlobal && commonjsGlobal.__createBinding || (Object.create ? function(o, m, k, k2) {
|
|
44879
|
+
var __createBinding = index.commonjsGlobal && index.commonjsGlobal.__createBinding || (Object.create ? function(o, m, k, k2) {
|
|
44847
44880
|
if (k2 === void 0)
|
|
44848
44881
|
k2 = k;
|
|
44849
44882
|
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
@@ -44858,14 +44891,14 @@ var require$$2$3 = /*@__PURE__*/getAugmentedNamespace(Paragraph_module$1);
|
|
|
44858
44891
|
k2 = k;
|
|
44859
44892
|
o[k2] = m[k];
|
|
44860
44893
|
});
|
|
44861
|
-
var __exportStar = commonjsGlobal && commonjsGlobal.__exportStar || function(m, exports2) {
|
|
44894
|
+
var __exportStar = index.commonjsGlobal && index.commonjsGlobal.__exportStar || function(m, exports2) {
|
|
44862
44895
|
for (var p in m)
|
|
44863
44896
|
if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports2, p))
|
|
44864
44897
|
__createBinding(exports2, m, p);
|
|
44865
44898
|
};
|
|
44866
44899
|
exports.__esModule = true;
|
|
44867
44900
|
__exportStar(Heading$1, exports);
|
|
44868
|
-
__exportStar(Paragraph$
|
|
44901
|
+
__exportStar(Paragraph$2, exports);
|
|
44869
44902
|
})(typography);
|
|
44870
44903
|
|
|
44871
44904
|
var componentLibrary = {};
|
|
@@ -44883,7 +44916,7 @@ var chevronDown_icon = /*#__PURE__*/Object.freeze({
|
|
|
44883
44916
|
default: img$2
|
|
44884
44917
|
});
|
|
44885
44918
|
|
|
44886
|
-
var require$$2$2 = /*@__PURE__*/getAugmentedNamespace(chevronDown_icon);
|
|
44919
|
+
var require$$2$2 = /*@__PURE__*/index.getAugmentedNamespace(chevronDown_icon);
|
|
44887
44920
|
|
|
44888
44921
|
var img$1 = "data:image/svg+xml,%3c%3fxml version='1.0' encoding='UTF-8'%3f%3e%3csvg width='20px' height='20px' viewBox='0 0 20 20' version='1.1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink'%3e %3c!-- Generator: Sketch 46.2 (44496) - http://www.bohemiancoding.com/sketch --%3e %3ctitle%3emeatballs%3c/title%3e %3cdesc%3eCreated with Sketch.%3c/desc%3e %3cdefs%3e %3cpath d='M4%2c8 C2.9%2c8 2%2c8.9 2%2c10 C2%2c11.1 2.9%2c12 4%2c12 C5.1%2c12 6%2c11.1 6%2c10 C6%2c8.9 5.1%2c8 4%2c8 L4%2c8 Z M16%2c8 C14.9%2c8 14%2c8.9 14%2c10 C14%2c11.1 14.9%2c12 16%2c12 C17.1%2c12 18%2c11.1 18%2c10 C18%2c8.9 17.1%2c8 16%2c8 L16%2c8 Z M10%2c8 C8.9%2c8 8%2c8.9 8%2c10 C8%2c11.1 8.9%2c12 10%2c12 C11.1%2c12 12%2c11.1 12%2c10 C12%2c8.9 11.1%2c8 10%2c8 L10%2c8 Z' id='path-1'%3e%3c/path%3e %3c/defs%3e %3cg id='Symbols' stroke='none' stroke-width='1' fill='none' fill-rule='evenodd'%3e %3cg id='meatballs'%3e %3cmask id='mask-2' fill='white'%3e %3cuse xlink:href='%23path-1'%3e%3c/use%3e %3c/mask%3e %3cuse id='Icons/Actions/metballs' fill='black' xlink:href='%23path-1'%3e%3c/use%3e %3c/g%3e %3c/g%3e%3c/svg%3e";
|
|
44889
44922
|
|
|
@@ -44892,7 +44925,7 @@ var ellipsis_icon = /*#__PURE__*/Object.freeze({
|
|
|
44892
44925
|
default: img$1
|
|
44893
44926
|
});
|
|
44894
44927
|
|
|
44895
|
-
var require$$3$1 = /*@__PURE__*/getAugmentedNamespace(ellipsis_icon);
|
|
44928
|
+
var require$$3$1 = /*@__PURE__*/index.getAugmentedNamespace(ellipsis_icon);
|
|
44896
44929
|
|
|
44897
44930
|
var Icon$1 = {};
|
|
44898
44931
|
|
|
@@ -44927,10 +44960,10 @@ var Icon_module$1 = /*#__PURE__*/Object.freeze({
|
|
|
44927
44960
|
default: Icon_module
|
|
44928
44961
|
});
|
|
44929
44962
|
|
|
44930
|
-
var require$$3 = /*@__PURE__*/getAugmentedNamespace(Icon_module$1);
|
|
44963
|
+
var require$$3 = /*@__PURE__*/index.getAugmentedNamespace(Icon_module$1);
|
|
44931
44964
|
|
|
44932
44965
|
(function(exports) {
|
|
44933
|
-
var __assign = commonjsGlobal && commonjsGlobal.__assign || function() {
|
|
44966
|
+
var __assign = index.commonjsGlobal && index.commonjsGlobal.__assign || function() {
|
|
44934
44967
|
__assign = Object.assign || function(t) {
|
|
44935
44968
|
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
44936
44969
|
s = arguments[i];
|
|
@@ -44942,7 +44975,7 @@ var require$$3 = /*@__PURE__*/getAugmentedNamespace(Icon_module$1);
|
|
|
44942
44975
|
};
|
|
44943
44976
|
return __assign.apply(this, arguments);
|
|
44944
44977
|
};
|
|
44945
|
-
var __rest = commonjsGlobal && commonjsGlobal.__rest || function(s, e) {
|
|
44978
|
+
var __rest = index.commonjsGlobal && index.commonjsGlobal.__rest || function(s, e) {
|
|
44946
44979
|
var t = {};
|
|
44947
44980
|
for (var p in s)
|
|
44948
44981
|
if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
|
|
@@ -44954,7 +44987,7 @@ var require$$3 = /*@__PURE__*/getAugmentedNamespace(Icon_module$1);
|
|
|
44954
44987
|
}
|
|
44955
44988
|
return t;
|
|
44956
44989
|
};
|
|
44957
|
-
var __importDefault = commonjsGlobal && commonjsGlobal.__importDefault || function(mod) {
|
|
44990
|
+
var __importDefault = index.commonjsGlobal && index.commonjsGlobal.__importDefault || function(mod) {
|
|
44958
44991
|
return mod && mod.__esModule ? mod : { "default": mod };
|
|
44959
44992
|
};
|
|
44960
44993
|
exports.__esModule = true;
|
|
@@ -44964,8 +44997,8 @@ var require$$3 = /*@__PURE__*/getAugmentedNamespace(Icon_module$1);
|
|
|
44964
44997
|
var console_1 = console$1;
|
|
44965
44998
|
var Icon_module_scss_1 = __importDefault(require$$3);
|
|
44966
44999
|
var Icon = function(_a) {
|
|
44967
|
-
var _b
|
|
44968
|
-
var icon = _a.icon,
|
|
45000
|
+
var _b;
|
|
45001
|
+
var icon = _a.icon, _c = _a.inheritSize, inheritSize = _c === void 0 ? false : _c, _d = _a.role, role = _d === void 0 ? "img" : _d, _e = _a.title, title = _e === void 0 ? "" : _e, _f = _a.desc, desc = _f === void 0 ? "" : _f, classNameOverride = _a.classNameOverride, props = __rest(_a, ["icon", "inheritSize", "role", "title", "desc", "classNameOverride"]);
|
|
44969
45002
|
var isMeaningfulImg = role === "img";
|
|
44970
45003
|
if (isMeaningfulImg && !title) {
|
|
44971
45004
|
(0, console_1.warn)(`
|
|
@@ -44987,7 +45020,7 @@ var require$$3 = /*@__PURE__*/getAugmentedNamespace(Icon_module$1);
|
|
|
44987
45020
|
return react_1["default"].createElement(
|
|
44988
45021
|
"svg",
|
|
44989
45022
|
__assign({
|
|
44990
|
-
className: (0, classnames_1["default"])(Icon_module_scss_1["default"].icon, classNameOverride,
|
|
45023
|
+
className: (0, classnames_1["default"])(Icon_module_scss_1["default"].icon, classNameOverride, inheritSize && Icon_module_scss_1["default"].inheritSize),
|
|
44991
45024
|
viewBox: icon.viewBox,
|
|
44992
45025
|
// Work around IE11 making all SVGs focusable.
|
|
44993
45026
|
// See http://simplyaccessible.com/article/7-solutions-svgs/#acc-heading-4
|
|
@@ -45002,7 +45035,7 @@ var require$$3 = /*@__PURE__*/getAugmentedNamespace(Icon_module$1);
|
|
|
45002
45035
|
})(Icon);
|
|
45003
45036
|
|
|
45004
45037
|
(function(exports) {
|
|
45005
|
-
var __createBinding = commonjsGlobal && commonjsGlobal.__createBinding || (Object.create ? function(o, m, k, k2) {
|
|
45038
|
+
var __createBinding = index.commonjsGlobal && index.commonjsGlobal.__createBinding || (Object.create ? function(o, m, k, k2) {
|
|
45006
45039
|
if (k2 === void 0)
|
|
45007
45040
|
k2 = k;
|
|
45008
45041
|
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
@@ -45017,7 +45050,7 @@ var require$$3 = /*@__PURE__*/getAugmentedNamespace(Icon_module$1);
|
|
|
45017
45050
|
k2 = k;
|
|
45018
45051
|
o[k2] = m[k];
|
|
45019
45052
|
});
|
|
45020
|
-
var __exportStar = commonjsGlobal && commonjsGlobal.__exportStar || function(m, exports2) {
|
|
45053
|
+
var __exportStar = index.commonjsGlobal && index.commonjsGlobal.__exportStar || function(m, exports2) {
|
|
45021
45054
|
for (var p in m)
|
|
45022
45055
|
if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports2, p))
|
|
45023
45056
|
__createBinding(exports2, m, p);
|
|
@@ -45035,10 +45068,10 @@ var Dropdown_module$1 = /*#__PURE__*/Object.freeze({
|
|
|
45035
45068
|
default: Dropdown_module
|
|
45036
45069
|
});
|
|
45037
45070
|
|
|
45038
|
-
var require$$6 = /*@__PURE__*/getAugmentedNamespace(Dropdown_module$1);
|
|
45071
|
+
var require$$6 = /*@__PURE__*/index.getAugmentedNamespace(Dropdown_module$1);
|
|
45039
45072
|
|
|
45040
45073
|
(function(exports) {
|
|
45041
|
-
var __extends = commonjsGlobal && commonjsGlobal.__extends || function() {
|
|
45074
|
+
var __extends = index.commonjsGlobal && index.commonjsGlobal.__extends || function() {
|
|
45042
45075
|
var extendStatics = function(d, b) {
|
|
45043
45076
|
extendStatics = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(d2, b2) {
|
|
45044
45077
|
d2.__proto__ = b2;
|
|
@@ -45059,7 +45092,7 @@ var require$$6 = /*@__PURE__*/getAugmentedNamespace(Dropdown_module$1);
|
|
|
45059
45092
|
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
45060
45093
|
};
|
|
45061
45094
|
}();
|
|
45062
|
-
var __importDefault = commonjsGlobal && commonjsGlobal.__importDefault || function(mod) {
|
|
45095
|
+
var __importDefault = index.commonjsGlobal && index.commonjsGlobal.__importDefault || function(mod) {
|
|
45063
45096
|
return mod && mod.__esModule ? mod : { "default": mod };
|
|
45064
45097
|
};
|
|
45065
45098
|
exports.__esModule = true;
|
|
@@ -45125,7 +45158,7 @@ var require$$6 = /*@__PURE__*/getAugmentedNamespace(Dropdown_module$1);
|
|
|
45125
45158
|
})(DropdownMenu);
|
|
45126
45159
|
|
|
45127
45160
|
(function(exports) {
|
|
45128
|
-
var __extends = commonjsGlobal && commonjsGlobal.__extends || function() {
|
|
45161
|
+
var __extends = index.commonjsGlobal && index.commonjsGlobal.__extends || function() {
|
|
45129
45162
|
var extendStatics = function(d, b) {
|
|
45130
45163
|
extendStatics = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(d2, b2) {
|
|
45131
45164
|
d2.__proto__ = b2;
|
|
@@ -45146,7 +45179,7 @@ var require$$6 = /*@__PURE__*/getAugmentedNamespace(Dropdown_module$1);
|
|
|
45146
45179
|
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
45147
45180
|
};
|
|
45148
45181
|
}();
|
|
45149
|
-
var __importDefault = commonjsGlobal && commonjsGlobal.__importDefault || function(mod) {
|
|
45182
|
+
var __importDefault = index.commonjsGlobal && index.commonjsGlobal.__importDefault || function(mod) {
|
|
45150
45183
|
return mod && mod.__esModule ? mod : { "default": mod };
|
|
45151
45184
|
};
|
|
45152
45185
|
exports.__esModule = true;
|
|
@@ -45231,10 +45264,9 @@ var require$$6 = /*@__PURE__*/getAugmentedNamespace(Dropdown_module$1);
|
|
|
45231
45264
|
return react_1["default"].createElement(DropdownMenu_1["default"], { hideDropdownMenu: this.hideDropdownMenu, position: this.getPosition() }, this.props.children);
|
|
45232
45265
|
};
|
|
45233
45266
|
Dropdown2.prototype.render = function() {
|
|
45234
|
-
var _a;
|
|
45235
|
-
var _b = this.props, controlAction = _b.controlAction, automationId = _b.automationId, iconPosition = _b.iconPosition, reversedColor = _b.reversedColor;
|
|
45267
|
+
var _a = this.props, controlAction = _a.controlAction, automationId = _a.automationId, iconPosition = _a.iconPosition, reversedColor = _a.reversedColor;
|
|
45236
45268
|
var reverseIcon = iconPosition === "end";
|
|
45237
|
-
var btnClass = (0, classnames_1["default"])(Dropdown_module_scss_1["default"].dropdownButton,
|
|
45269
|
+
var btnClass = (0, classnames_1["default"])(Dropdown_module_scss_1["default"].dropdownButton, controlAction && Dropdown_module_scss_1["default"].dropdownControlAction, this.state.isMenuVisible && Dropdown_module_scss_1["default"].isOpen, reversedColor && Dropdown_module_scss_1["default"].reversedColor);
|
|
45238
45270
|
return react_1["default"].createElement(
|
|
45239
45271
|
"div",
|
|
45240
45272
|
{ className: Dropdown_module_scss_1["default"].dropdown },
|
|
@@ -45260,7 +45292,7 @@ var require$$6 = /*@__PURE__*/getAugmentedNamespace(Dropdown_module$1);
|
|
|
45260
45292
|
})(Dropdown);
|
|
45261
45293
|
|
|
45262
45294
|
(function(exports) {
|
|
45263
|
-
var __createBinding = commonjsGlobal && commonjsGlobal.__createBinding || (Object.create ? function(o, m, k, k2) {
|
|
45295
|
+
var __createBinding = index.commonjsGlobal && index.commonjsGlobal.__createBinding || (Object.create ? function(o, m, k, k2) {
|
|
45264
45296
|
if (k2 === void 0)
|
|
45265
45297
|
k2 = k;
|
|
45266
45298
|
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
@@ -45292,10 +45324,10 @@ var Layout_module$1 = /*#__PURE__*/Object.freeze({
|
|
|
45292
45324
|
default: Layout_module
|
|
45293
45325
|
});
|
|
45294
45326
|
|
|
45295
|
-
var require$$1$3 = /*@__PURE__*/getAugmentedNamespace(Layout_module$1);
|
|
45327
|
+
var require$$1$3 = /*@__PURE__*/index.getAugmentedNamespace(Layout_module$1);
|
|
45296
45328
|
|
|
45297
45329
|
(function(exports) {
|
|
45298
|
-
var __extends = commonjsGlobal && commonjsGlobal.__extends || function() {
|
|
45330
|
+
var __extends = index.commonjsGlobal && index.commonjsGlobal.__extends || function() {
|
|
45299
45331
|
var extendStatics = function(d, b) {
|
|
45300
45332
|
extendStatics = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(d2, b2) {
|
|
45301
45333
|
d2.__proto__ = b2;
|
|
@@ -45316,7 +45348,7 @@ var require$$1$3 = /*@__PURE__*/getAugmentedNamespace(Layout_module$1);
|
|
|
45316
45348
|
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
45317
45349
|
};
|
|
45318
45350
|
}();
|
|
45319
|
-
var __importDefault = commonjsGlobal && commonjsGlobal.__importDefault || function(mod) {
|
|
45351
|
+
var __importDefault = index.commonjsGlobal && index.commonjsGlobal.__importDefault || function(mod) {
|
|
45320
45352
|
return mod && mod.__esModule ? mod : { "default": mod };
|
|
45321
45353
|
};
|
|
45322
45354
|
exports.__esModule = true;
|
|
@@ -45422,7 +45454,7 @@ var require$$1$3 = /*@__PURE__*/getAugmentedNamespace(Layout_module$1);
|
|
|
45422
45454
|
})(Layout);
|
|
45423
45455
|
|
|
45424
45456
|
(function(exports) {
|
|
45425
|
-
var __createBinding = commonjsGlobal && commonjsGlobal.__createBinding || (Object.create ? function(o, m, k, k2) {
|
|
45457
|
+
var __createBinding = index.commonjsGlobal && index.commonjsGlobal.__createBinding || (Object.create ? function(o, m, k, k2) {
|
|
45426
45458
|
if (k2 === void 0)
|
|
45427
45459
|
k2 = k;
|
|
45428
45460
|
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
@@ -45454,10 +45486,10 @@ var Menu_module$1 = /*#__PURE__*/Object.freeze({
|
|
|
45454
45486
|
default: Menu_module
|
|
45455
45487
|
});
|
|
45456
45488
|
|
|
45457
|
-
var require$$1$2 = /*@__PURE__*/getAugmentedNamespace(Menu_module$1);
|
|
45489
|
+
var require$$1$2 = /*@__PURE__*/index.getAugmentedNamespace(Menu_module$1);
|
|
45458
45490
|
|
|
45459
45491
|
(function(exports) {
|
|
45460
|
-
var __importDefault = commonjsGlobal && commonjsGlobal.__importDefault || function(mod) {
|
|
45492
|
+
var __importDefault = index.commonjsGlobal && index.commonjsGlobal.__importDefault || function(mod) {
|
|
45461
45493
|
return mod && mod.__esModule ? mod : { "default": mod };
|
|
45462
45494
|
};
|
|
45463
45495
|
exports.__esModule = true;
|
|
@@ -45473,7 +45505,7 @@ var require$$1$2 = /*@__PURE__*/getAugmentedNamespace(Menu_module$1);
|
|
|
45473
45505
|
var MenuHeader = {};
|
|
45474
45506
|
|
|
45475
45507
|
(function(exports) {
|
|
45476
|
-
var __importDefault = commonjsGlobal && commonjsGlobal.__importDefault || function(mod) {
|
|
45508
|
+
var __importDefault = index.commonjsGlobal && index.commonjsGlobal.__importDefault || function(mod) {
|
|
45477
45509
|
return mod && mod.__esModule ? mod : { "default": mod };
|
|
45478
45510
|
};
|
|
45479
45511
|
exports.__esModule = true;
|
|
@@ -45493,7 +45525,7 @@ var MenuHeader = {};
|
|
|
45493
45525
|
var MenuItem = {};
|
|
45494
45526
|
|
|
45495
45527
|
(function(exports) {
|
|
45496
|
-
var __importDefault = commonjsGlobal && commonjsGlobal.__importDefault || function(mod) {
|
|
45528
|
+
var __importDefault = index.commonjsGlobal && index.commonjsGlobal.__importDefault || function(mod) {
|
|
45497
45529
|
return mod && mod.__esModule ? mod : { "default": mod };
|
|
45498
45530
|
};
|
|
45499
45531
|
exports.__esModule = true;
|
|
@@ -45502,7 +45534,6 @@ var MenuItem = {};
|
|
|
45502
45534
|
var Icon_1 = Icon$1;
|
|
45503
45535
|
var Menu_module_scss_1 = __importDefault(require$$1$2);
|
|
45504
45536
|
var MenuItem = function(props) {
|
|
45505
|
-
var _a;
|
|
45506
45537
|
var icon = props.icon, hoverIcon = props.hoverIcon, children = props.children, action = props.action, active = props.active, destructive = props.destructive, automationId = props.automationId;
|
|
45507
45538
|
var isLink = typeof action === "string";
|
|
45508
45539
|
var label = react_1["default"].createElement(
|
|
@@ -45516,7 +45547,7 @@ var MenuItem = {};
|
|
|
45516
45547
|
{ className: Menu_module_scss_1["default"].menuItem__Icon },
|
|
45517
45548
|
react_1["default"].createElement(Icon_1.Icon, { icon, role: "presentation" })
|
|
45518
45549
|
);
|
|
45519
|
-
var className = (0, classnames_1["default"])(
|
|
45550
|
+
var className = (0, classnames_1["default"])(Menu_module_scss_1["default"].menuItem, icon && hoverIcon && Menu_module_scss_1["default"].hoverIcon, active && Menu_module_scss_1["default"]["menuItem--active"], destructive && Menu_module_scss_1["default"]["menuItem--destructive"]);
|
|
45520
45551
|
if (typeof action === "string") {
|
|
45521
45552
|
return react_1["default"].createElement(
|
|
45522
45553
|
"a",
|
|
@@ -45543,7 +45574,7 @@ var MenuItem = {};
|
|
|
45543
45574
|
var MenuSeparator = {};
|
|
45544
45575
|
|
|
45545
45576
|
(function(exports) {
|
|
45546
|
-
var __importDefault = commonjsGlobal && commonjsGlobal.__importDefault || function(mod) {
|
|
45577
|
+
var __importDefault = index.commonjsGlobal && index.commonjsGlobal.__importDefault || function(mod) {
|
|
45547
45578
|
return mod && mod.__esModule ? mod : { "default": mod };
|
|
45548
45579
|
};
|
|
45549
45580
|
exports.__esModule = true;
|
|
@@ -45557,7 +45588,7 @@ var MenuSeparator = {};
|
|
|
45557
45588
|
})(MenuSeparator);
|
|
45558
45589
|
|
|
45559
45590
|
(function(exports) {
|
|
45560
|
-
var __createBinding = commonjsGlobal && commonjsGlobal.__createBinding || (Object.create ? function(o, m, k, k2) {
|
|
45591
|
+
var __createBinding = index.commonjsGlobal && index.commonjsGlobal.__createBinding || (Object.create ? function(o, m, k, k2) {
|
|
45561
45592
|
if (k2 === void 0)
|
|
45562
45593
|
k2 = k;
|
|
45563
45594
|
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
@@ -45595,10 +45626,10 @@ var Text_module$1 = /*#__PURE__*/Object.freeze({
|
|
|
45595
45626
|
default: Text_module
|
|
45596
45627
|
});
|
|
45597
45628
|
|
|
45598
|
-
var require$$2$1 = /*@__PURE__*/getAugmentedNamespace(Text_module$1);
|
|
45629
|
+
var require$$2$1 = /*@__PURE__*/index.getAugmentedNamespace(Text_module$1);
|
|
45599
45630
|
|
|
45600
45631
|
(function(exports) {
|
|
45601
|
-
var __importDefault = commonjsGlobal && commonjsGlobal.__importDefault || function(mod) {
|
|
45632
|
+
var __importDefault = index.commonjsGlobal && index.commonjsGlobal.__importDefault || function(mod) {
|
|
45602
45633
|
return mod && mod.__esModule ? mod : { "default": mod };
|
|
45603
45634
|
};
|
|
45604
45635
|
exports.__esModule = true;
|
|
@@ -45606,10 +45637,9 @@ var require$$2$1 = /*@__PURE__*/getAugmentedNamespace(Text_module$1);
|
|
|
45606
45637
|
var classnames_1 = __importDefault(index.classnamesExports);
|
|
45607
45638
|
var Text_module_scss_1 = __importDefault(require$$2$1);
|
|
45608
45639
|
var Text = function(_a) {
|
|
45609
|
-
var _b;
|
|
45610
|
-
var tag = _a.tag, children = _a.children, _c = _a.inheritBaseline, inheritBaseline = _c === void 0 ? false : _c, _d = _a.inline, inline = _d === void 0 ? false : _d, _e = _a.style, style = _e === void 0 ? "default-style" : _e;
|
|
45640
|
+
var tag = _a.tag, children = _a.children, _b = _a.inheritBaseline, inheritBaseline = _b === void 0 ? false : _b, _c = _a.inline, inline = _c === void 0 ? false : _c, _d = _a.style, style = _d === void 0 ? "default-style" : _d;
|
|
45611
45641
|
return react_1["default"].createElement(tag, {
|
|
45612
|
-
className: (0, classnames_1["default"])(Text_module_scss_1["default"][style],
|
|
45642
|
+
className: (0, classnames_1["default"])(Text_module_scss_1["default"][style], inheritBaseline && Text_module_scss_1["default"].inheritBaseline, inline && Text_module_scss_1["default"].inline)
|
|
45613
45643
|
}, children);
|
|
45614
45644
|
};
|
|
45615
45645
|
Text.displayName = "Text";
|
|
@@ -45617,7 +45647,7 @@ var require$$2$1 = /*@__PURE__*/getAugmentedNamespace(Text_module$1);
|
|
|
45617
45647
|
})(Text);
|
|
45618
45648
|
|
|
45619
45649
|
(function(exports) {
|
|
45620
|
-
var __createBinding = commonjsGlobal && commonjsGlobal.__createBinding || (Object.create ? function(o, m, k, k2) {
|
|
45650
|
+
var __createBinding = index.commonjsGlobal && index.commonjsGlobal.__createBinding || (Object.create ? function(o, m, k, k2) {
|
|
45621
45651
|
if (k2 === void 0)
|
|
45622
45652
|
k2 = k;
|
|
45623
45653
|
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
@@ -45686,10 +45716,10 @@ var Padding_module$1 = /*#__PURE__*/Object.freeze({
|
|
|
45686
45716
|
default: Padding_module
|
|
45687
45717
|
});
|
|
45688
45718
|
|
|
45689
|
-
var require$$1$1 = /*@__PURE__*/getAugmentedNamespace(Padding_module$1);
|
|
45719
|
+
var require$$1$1 = /*@__PURE__*/index.getAugmentedNamespace(Padding_module$1);
|
|
45690
45720
|
|
|
45691
45721
|
(function(exports) {
|
|
45692
|
-
var __importDefault = commonjsGlobal && commonjsGlobal.__importDefault || function(mod) {
|
|
45722
|
+
var __importDefault = index.commonjsGlobal && index.commonjsGlobal.__importDefault || function(mod) {
|
|
45693
45723
|
return mod && mod.__esModule ? mod : { "default": mod };
|
|
45694
45724
|
};
|
|
45695
45725
|
exports.__esModule = true;
|
|
@@ -45787,10 +45817,10 @@ var Margin_module$1 = /*#__PURE__*/Object.freeze({
|
|
|
45787
45817
|
default: Margin_module
|
|
45788
45818
|
});
|
|
45789
45819
|
|
|
45790
|
-
var require$$1 = /*@__PURE__*/getAugmentedNamespace(Margin_module$1);
|
|
45820
|
+
var require$$1 = /*@__PURE__*/index.getAugmentedNamespace(Margin_module$1);
|
|
45791
45821
|
|
|
45792
45822
|
(function(exports) {
|
|
45793
|
-
var __importDefault = commonjsGlobal && commonjsGlobal.__importDefault || function(mod) {
|
|
45823
|
+
var __importDefault = index.commonjsGlobal && index.commonjsGlobal.__importDefault || function(mod) {
|
|
45794
45824
|
return mod && mod.__esModule ? mod : { "default": mod };
|
|
45795
45825
|
};
|
|
45796
45826
|
exports.__esModule = true;
|
|
@@ -45884,7 +45914,7 @@ var types = {};
|
|
|
45884
45914
|
types.__esModule = true;
|
|
45885
45915
|
|
|
45886
45916
|
(function(exports) {
|
|
45887
|
-
var __createBinding = commonjsGlobal && commonjsGlobal.__createBinding || (Object.create ? function(o, m, k, k2) {
|
|
45917
|
+
var __createBinding = index.commonjsGlobal && index.commonjsGlobal.__createBinding || (Object.create ? function(o, m, k, k2) {
|
|
45888
45918
|
if (k2 === void 0)
|
|
45889
45919
|
k2 = k;
|
|
45890
45920
|
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
@@ -45899,7 +45929,7 @@ types.__esModule = true;
|
|
|
45899
45929
|
k2 = k;
|
|
45900
45930
|
o[k2] = m[k];
|
|
45901
45931
|
});
|
|
45902
|
-
var __exportStar = commonjsGlobal && commonjsGlobal.__exportStar || function(m, exports2) {
|
|
45932
|
+
var __exportStar = index.commonjsGlobal && index.commonjsGlobal.__exportStar || function(m, exports2) {
|
|
45903
45933
|
for (var p in m)
|
|
45904
45934
|
if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports2, p))
|
|
45905
45935
|
__createBinding(exports2, m, p);
|
|
@@ -45915,7 +45945,7 @@ var Box$1 = {};
|
|
|
45915
45945
|
var Box = {};
|
|
45916
45946
|
|
|
45917
45947
|
(function(exports) {
|
|
45918
|
-
var __assign = commonjsGlobal && commonjsGlobal.__assign || function() {
|
|
45948
|
+
var __assign = index.commonjsGlobal && index.commonjsGlobal.__assign || function() {
|
|
45919
45949
|
__assign = Object.assign || function(t) {
|
|
45920
45950
|
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
45921
45951
|
s = arguments[i];
|
|
@@ -45927,7 +45957,7 @@ var Box = {};
|
|
|
45927
45957
|
};
|
|
45928
45958
|
return __assign.apply(this, arguments);
|
|
45929
45959
|
};
|
|
45930
|
-
var __rest = commonjsGlobal && commonjsGlobal.__rest || function(s, e) {
|
|
45960
|
+
var __rest = index.commonjsGlobal && index.commonjsGlobal.__rest || function(s, e) {
|
|
45931
45961
|
var t = {};
|
|
45932
45962
|
for (var p in s)
|
|
45933
45963
|
if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
|
|
@@ -45939,7 +45969,7 @@ var Box = {};
|
|
|
45939
45969
|
}
|
|
45940
45970
|
return t;
|
|
45941
45971
|
};
|
|
45942
|
-
var __spreadArray = commonjsGlobal && commonjsGlobal.__spreadArray || function(to, from, pack) {
|
|
45972
|
+
var __spreadArray = index.commonjsGlobal && index.commonjsGlobal.__spreadArray || function(to, from, pack) {
|
|
45943
45973
|
if (pack || arguments.length === 2)
|
|
45944
45974
|
for (var i = 0, l = from.length, ar; i < l; i++) {
|
|
45945
45975
|
if (ar || !(i in from)) {
|
|
@@ -45950,7 +45980,7 @@ var Box = {};
|
|
|
45950
45980
|
}
|
|
45951
45981
|
return to.concat(ar || Array.prototype.slice.call(from));
|
|
45952
45982
|
};
|
|
45953
|
-
var __importDefault = commonjsGlobal && commonjsGlobal.__importDefault || function(mod) {
|
|
45983
|
+
var __importDefault = index.commonjsGlobal && index.commonjsGlobal.__importDefault || function(mod) {
|
|
45954
45984
|
return mod && mod.__esModule ? mod : { "default": mod };
|
|
45955
45985
|
};
|
|
45956
45986
|
exports.__esModule = true;
|
|
@@ -45968,7 +45998,7 @@ var Box = {};
|
|
|
45968
45998
|
})(Box);
|
|
45969
45999
|
|
|
45970
46000
|
(function(exports) {
|
|
45971
|
-
var __createBinding = commonjsGlobal && commonjsGlobal.__createBinding || (Object.create ? function(o, m, k, k2) {
|
|
46001
|
+
var __createBinding = index.commonjsGlobal && index.commonjsGlobal.__createBinding || (Object.create ? function(o, m, k, k2) {
|
|
45972
46002
|
if (k2 === void 0)
|
|
45973
46003
|
k2 = k;
|
|
45974
46004
|
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
@@ -45990,7 +46020,7 @@ var Box = {};
|
|
|
45990
46020
|
})(Box$1);
|
|
45991
46021
|
|
|
45992
46022
|
(function(exports) {
|
|
45993
|
-
var __createBinding = commonjsGlobal && commonjsGlobal.__createBinding || (Object.create ? function(o, m, k, k2) {
|
|
46023
|
+
var __createBinding = index.commonjsGlobal && index.commonjsGlobal.__createBinding || (Object.create ? function(o, m, k, k2) {
|
|
45994
46024
|
if (k2 === void 0)
|
|
45995
46025
|
k2 = k;
|
|
45996
46026
|
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
@@ -46005,7 +46035,7 @@ var Box = {};
|
|
|
46005
46035
|
k2 = k;
|
|
46006
46036
|
o[k2] = m[k];
|
|
46007
46037
|
});
|
|
46008
|
-
var __exportStar = commonjsGlobal && commonjsGlobal.__exportStar || function(m, exports2) {
|
|
46038
|
+
var __exportStar = index.commonjsGlobal && index.commonjsGlobal.__exportStar || function(m, exports2) {
|
|
46009
46039
|
for (var p in m)
|
|
46010
46040
|
if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports2, p))
|
|
46011
46041
|
__createBinding(exports2, m, p);
|
|
@@ -46021,7 +46051,7 @@ var Box = {};
|
|
|
46021
46051
|
})(components);
|
|
46022
46052
|
|
|
46023
46053
|
(function(exports) {
|
|
46024
|
-
var __createBinding = commonjsGlobal && commonjsGlobal.__createBinding || (Object.create ? function(o, m, k, k2) {
|
|
46054
|
+
var __createBinding = index.commonjsGlobal && index.commonjsGlobal.__createBinding || (Object.create ? function(o, m, k, k2) {
|
|
46025
46055
|
if (k2 === void 0)
|
|
46026
46056
|
k2 = k;
|
|
46027
46057
|
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
@@ -46036,7 +46066,7 @@ var Box = {};
|
|
|
46036
46066
|
k2 = k;
|
|
46037
46067
|
o[k2] = m[k];
|
|
46038
46068
|
});
|
|
46039
|
-
var __exportStar = commonjsGlobal && commonjsGlobal.__exportStar || function(m, exports2) {
|
|
46069
|
+
var __exportStar = index.commonjsGlobal && index.commonjsGlobal.__exportStar || function(m, exports2) {
|
|
46040
46070
|
for (var p in m)
|
|
46041
46071
|
if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports2, p))
|
|
46042
46072
|
__createBinding(exports2, m, p);
|
|
@@ -46058,15 +46088,9 @@ var Option = function(_a) {
|
|
|
46058
46088
|
var _c = $f7dceffc5ad7768b$export$4e328f61c538687f(), isFocusVisible = _c.isFocusVisible, focusProps = _c.focusProps;
|
|
46059
46089
|
return React.createElement(
|
|
46060
46090
|
"li",
|
|
46061
|
-
index.__assign({}, $3ef42575df84b30b$export$9d1611c77c2fe928(optionProps, focusProps, props), { ref, className: index.
|
|
46062
|
-
styles$3.option,
|
|
46063
|
-
isSelected && styles$3.isSelected,
|
|
46064
|
-
isFocusVisible && styles$3.isFocusVisible,
|
|
46065
|
-
isDisabled && styles$3.disabled,
|
|
46066
|
-
classNameOverride
|
|
46067
|
-
]), "aria-label": item.textValue }),
|
|
46091
|
+
index.__assign({}, $3ef42575df84b30b$export$9d1611c77c2fe928(optionProps, focusProps, props), { ref, className: index.classnames(styles$3.option, isSelected && styles$3.isSelected, isFocusVisible && styles$3.isFocusVisible, isDisabled && styles$3.disabled, classNameOverride), "aria-label": item.textValue }),
|
|
46068
46092
|
item.rendered,
|
|
46069
|
-
React.createElement("span", { className: index.
|
|
46093
|
+
React.createElement("span", { className: index.classnames(styles$3.icon, isSelected && styles$3.isSelected) }, isSelected && React.createElement(componentLibrary.Icon, { icon: check, role: "presentation" }))
|
|
46070
46094
|
);
|
|
46071
46095
|
};
|
|
46072
46096
|
Option.displayName = "Option";
|
|
@@ -46138,10 +46162,10 @@ var Divider_module$1 = /*#__PURE__*/Object.freeze({
|
|
|
46138
46162
|
default: Divider_module
|
|
46139
46163
|
});
|
|
46140
46164
|
|
|
46141
|
-
var require$$2 = /*@__PURE__*/getAugmentedNamespace(Divider_module$1);
|
|
46165
|
+
var require$$2 = /*@__PURE__*/index.getAugmentedNamespace(Divider_module$1);
|
|
46142
46166
|
|
|
46143
46167
|
(function(exports) {
|
|
46144
|
-
var __assign = commonjsGlobal && commonjsGlobal.__assign || function() {
|
|
46168
|
+
var __assign = index.commonjsGlobal && index.commonjsGlobal.__assign || function() {
|
|
46145
46169
|
__assign = Object.assign || function(t) {
|
|
46146
46170
|
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
46147
46171
|
s = arguments[i];
|
|
@@ -46153,7 +46177,7 @@ var require$$2 = /*@__PURE__*/getAugmentedNamespace(Divider_module$1);
|
|
|
46153
46177
|
};
|
|
46154
46178
|
return __assign.apply(this, arguments);
|
|
46155
46179
|
};
|
|
46156
|
-
var __rest = commonjsGlobal && commonjsGlobal.__rest || function(s, e) {
|
|
46180
|
+
var __rest = index.commonjsGlobal && index.commonjsGlobal.__rest || function(s, e) {
|
|
46157
46181
|
var t = {};
|
|
46158
46182
|
for (var p in s)
|
|
46159
46183
|
if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
|
|
@@ -46165,7 +46189,7 @@ var require$$2 = /*@__PURE__*/getAugmentedNamespace(Divider_module$1);
|
|
|
46165
46189
|
}
|
|
46166
46190
|
return t;
|
|
46167
46191
|
};
|
|
46168
|
-
var __importDefault = commonjsGlobal && commonjsGlobal.__importDefault || function(mod) {
|
|
46192
|
+
var __importDefault = index.commonjsGlobal && index.commonjsGlobal.__importDefault || function(mod) {
|
|
46169
46193
|
return mod && mod.__esModule ? mod : { "default": mod };
|
|
46170
46194
|
};
|
|
46171
46195
|
exports.__esModule = true;
|
|
@@ -46174,16 +46198,15 @@ var require$$2 = /*@__PURE__*/getAugmentedNamespace(Divider_module$1);
|
|
|
46174
46198
|
var classnames_1 = __importDefault(index.classnamesExports);
|
|
46175
46199
|
var Divider_module_scss_1 = __importDefault(require$$2);
|
|
46176
46200
|
var Divider = function(_a) {
|
|
46177
|
-
var _b;
|
|
46178
|
-
|
|
46179
|
-
return react_1["default"].createElement("hr", __assign({ "aria-hidden": "true", className: (0, classnames_1["default"])(Divider_module_scss_1["default"].wrapper, classNameOverride, (_b = {}, _b[Divider_module_scss_1["default"].reversed] = isReversed, _b[Divider_module_scss_1["default"].content] = variant === "content", _b[Divider_module_scss_1["default"].canvas] = variant === "canvas", _b[Divider_module_scss_1["default"].menuSeparator] = variant === "menuSeparator", _b)) }, props));
|
|
46201
|
+
var variant = _a.variant, _b = _a.isReversed, isReversed = _b === void 0 ? false : _b, classNameOverride = _a.classNameOverride, props = __rest(_a, ["variant", "isReversed", "classNameOverride"]);
|
|
46202
|
+
return react_1["default"].createElement("hr", __assign({ "aria-hidden": "true", className: (0, classnames_1["default"])(Divider_module_scss_1["default"].wrapper, classNameOverride, isReversed && Divider_module_scss_1["default"].reversed, Divider_module_scss_1["default"][variant]) }, props));
|
|
46180
46203
|
};
|
|
46181
46204
|
exports.Divider = Divider;
|
|
46182
46205
|
exports.Divider.displayName = "Divider";
|
|
46183
46206
|
})(Divider);
|
|
46184
46207
|
|
|
46185
46208
|
(function(exports) {
|
|
46186
|
-
var __createBinding = commonjsGlobal && commonjsGlobal.__createBinding || (Object.create ? function(o, m, k, k2) {
|
|
46209
|
+
var __createBinding = index.commonjsGlobal && index.commonjsGlobal.__createBinding || (Object.create ? function(o, m, k, k2) {
|
|
46187
46210
|
if (k2 === void 0)
|
|
46188
46211
|
k2 = k;
|
|
46189
46212
|
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
@@ -46198,7 +46221,7 @@ var require$$2 = /*@__PURE__*/getAugmentedNamespace(Divider_module$1);
|
|
|
46198
46221
|
k2 = k;
|
|
46199
46222
|
o[k2] = m[k];
|
|
46200
46223
|
});
|
|
46201
|
-
var __exportStar = commonjsGlobal && commonjsGlobal.__exportStar || function(m, exports2) {
|
|
46224
|
+
var __exportStar = index.commonjsGlobal && index.commonjsGlobal.__exportStar || function(m, exports2) {
|
|
46202
46225
|
for (var p in m)
|
|
46203
46226
|
if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports2, p))
|
|
46204
46227
|
__createBinding(exports2, m, p);
|