@kaizen/components 1.7.10 → 1.7.12
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +16 -0
- package/dist/cjs/dts/ButtonGroup/ButtonGroup.d.ts +1 -1
- package/dist/cjs/dts/FilterButton/FilterButton/FilterButton.d.ts +1 -1
- package/dist/cjs/dts/FilterButton/FilterButtonRemovable/FilterButtonRemovable.d.ts +1 -1
- package/dist/cjs/future.js +1 -1
- package/dist/cjs/{index-05670f16.js → index-356811e2.js} +1 -1
- package/dist/cjs/{index-05670f16.js.map → index-356811e2.js.map} +1 -1
- package/dist/cjs/index.css +2 -2
- package/dist/cjs/index.js +1239 -154
- package/dist/cjs/index.js.map +1 -1
- package/dist/esm/dts/ButtonGroup/ButtonGroup.d.ts +1 -1
- package/dist/esm/dts/FilterButton/FilterButton/FilterButton.d.ts +1 -1
- package/dist/esm/dts/FilterButton/FilterButtonRemovable/FilterButtonRemovable.d.ts +1 -1
- package/dist/esm/future.js +1 -1
- package/dist/esm/{index-8eb84ea0.js → index-7a8faf0f.js} +1 -1
- package/dist/esm/{index-8eb84ea0.js.map → index-7a8faf0f.js.map} +1 -1
- package/dist/esm/index.css +2 -2
- package/dist/esm/index.js +1239 -154
- package/dist/esm/index.js.map +1 -1
- package/dist/styles.css +1 -1
- package/package.json +5 -5
- /package/dist/cjs/dts/FilterButton/{_sub-components → _subcomponents}/FilterButtonBase/FilterButtonBase.d.ts +0 -0
- /package/dist/cjs/dts/FilterButton/{_sub-components → _subcomponents}/FilterButtonBase/index.d.ts +0 -0
- /package/dist/esm/dts/FilterButton/{_sub-components → _subcomponents}/FilterButtonBase/FilterButtonBase.d.ts +0 -0
- /package/dist/esm/dts/FilterButton/{_sub-components → _subcomponents}/FilterButtonBase/index.d.ts +0 -0
package/dist/esm/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { _ as __rest, a as __assign, b as __spreadArray, c as __spreadArrays, d as classNames, e as classnamesExports } from './index-
|
|
1
|
+
import { _ as __rest, a as __assign, b as __spreadArray, c as __spreadArrays, d as classNames, e as classnamesExports } from './index-7a8faf0f.js';
|
|
2
2
|
import * as React from 'react';
|
|
3
3
|
import React__default, { useState, useEffect, PureComponent, useRef, forwardRef, useMemo, useCallback, useContext, useLayoutEffect, createElement, createContext } from 'react';
|
|
4
4
|
import { makeCssVariableDefinitionsMap } from '@kaizen/design-tokens';
|
|
@@ -6,7 +6,7 @@ import { makeCssVariableDefinitionsMap } from '@kaizen/design-tokens';
|
|
|
6
6
|
const ORIGIN_BASE_URL = "https://d1e7r7b0lb8p4d.cloudfront.net";
|
|
7
7
|
const assetUrl = (path) => [ORIGIN_BASE_URL, path].join("/");
|
|
8
8
|
|
|
9
|
-
var styles$
|
|
9
|
+
var styles$e = {"img":"Brand-module_img__uWvra"};
|
|
10
10
|
|
|
11
11
|
var Brand = function(_a) {
|
|
12
12
|
var variant = _a.variant, alt = _a.alt, _b = _a.reversed, reversed = _b === void 0 ? false : _b, classNameOverride = _a.classNameOverride, restProps = __rest(_a, ["variant", "alt", "reversed", "classNameOverride"]);
|
|
@@ -16,7 +16,7 @@ var Brand = function(_a) {
|
|
|
16
16
|
__assign({ className: classNameOverride }, restProps),
|
|
17
17
|
React__default.createElement("source", { srcSet: assetUrl("brand/".concat(variant, "-reversed.svg")), media: "(forced-colors: active) and (prefers-color-scheme: dark)" }),
|
|
18
18
|
React__default.createElement("source", { srcSet: assetUrl("brand/".concat(variant, "-default.svg")), media: "(forced-colors: active) and (prefers-color-scheme: light)" }),
|
|
19
|
-
React__default.createElement("img", { src: assetUrl("brand/".concat(variant).concat(brandTheme, ".svg")), alt, className: styles$
|
|
19
|
+
React__default.createElement("img", { src: assetUrl("brand/".concat(variant).concat(brandTheme, ".svg")), alt, className: styles$e.img })
|
|
20
20
|
);
|
|
21
21
|
};
|
|
22
22
|
Brand.displayName = "Brand";
|
|
@@ -3368,8 +3368,8 @@ var hideOthers = function (originalTarget, parentNode, markerName) {
|
|
|
3368
3368
|
};
|
|
3369
3369
|
|
|
3370
3370
|
var Style = styleSingleton();
|
|
3371
|
-
var styles$
|
|
3372
|
-
var InteractivityDisabler = function () { return React.createElement(Style, { styles: styles$
|
|
3371
|
+
var styles$d = "\n [" + focusHiddenMarker + "] {\n pointer-events: none !important;\n }\n";
|
|
3372
|
+
var InteractivityDisabler = function () { return React.createElement(Style, { styles: styles$d }); };
|
|
3373
3373
|
|
|
3374
3374
|
var extractRef = function (ref) {
|
|
3375
3375
|
return 'current' in ref ? ref.current : ref;
|
|
@@ -36455,7 +36455,7 @@ var hasArrayBuffer = typeof ArrayBuffer === 'function' && !!ArrayBuffer.isView;
|
|
|
36455
36455
|
// Note: We **don't** need `envHasBigInt64Array` in fde es6/index.js
|
|
36456
36456
|
|
|
36457
36457
|
function equal(a, b) {
|
|
36458
|
-
// START: fast-deep-equal es6/index.js 3.1.
|
|
36458
|
+
// START: fast-deep-equal es6/index.js 3.1.1
|
|
36459
36459
|
if (a === b) return true;
|
|
36460
36460
|
|
|
36461
36461
|
if (a && b && typeof a == 'object' && typeof b == 'object') {
|
|
@@ -36520,13 +36520,8 @@ function equal(a, b) {
|
|
|
36520
36520
|
}
|
|
36521
36521
|
|
|
36522
36522
|
if (a.constructor === RegExp) return a.source === b.source && a.flags === b.flags;
|
|
36523
|
-
|
|
36524
|
-
|
|
36525
|
-
// - https://github.com/FormidableLabs/react-fast-compare/issues/64
|
|
36526
|
-
// - https://github.com/epoberezkin/fast-deep-equal/issues/49
|
|
36527
|
-
if (a.valueOf !== Object.prototype.valueOf && typeof a.valueOf === 'function' && typeof b.valueOf === 'function') return a.valueOf() === b.valueOf();
|
|
36528
|
-
if (a.toString !== Object.prototype.toString && typeof a.toString === 'function' && typeof b.toString === 'function') return a.toString() === b.toString();
|
|
36529
|
-
// END: Modifications
|
|
36523
|
+
if (a.valueOf !== Object.prototype.valueOf) return a.valueOf() === b.valueOf();
|
|
36524
|
+
if (a.toString !== Object.prototype.toString) return a.toString() === b.toString();
|
|
36530
36525
|
|
|
36531
36526
|
keys = Object.keys(a);
|
|
36532
36527
|
length = keys.length;
|
|
@@ -36850,7 +36845,7 @@ var esm = /*#__PURE__*/Object.freeze({
|
|
|
36850
36845
|
usePopper: usePopper
|
|
36851
36846
|
});
|
|
36852
36847
|
|
|
36853
|
-
var styles$
|
|
36848
|
+
var styles$c = {"filterPopover":"FilterPopover-module_filterPopover__OgOEM"};
|
|
36854
36849
|
|
|
36855
36850
|
var FilterPopover = function(_a) {
|
|
36856
36851
|
var children = _a.children, referenceElement = _a.referenceElement, popperOptions = _a.popperOptions, classNameOverride = _a.classNameOverride, restProps = __rest(_a, ["children", "referenceElement", "popperOptions", "classNameOverride"]);
|
|
@@ -36863,7 +36858,7 @@ var FilterPopover = function(_a) {
|
|
|
36863
36858
|
}
|
|
36864
36859
|
}
|
|
36865
36860
|
], placement: "bottom-start", strategy: "fixed" }, popperOptions)), popperStyles = _c.styles, popperAttributes = _c.attributes;
|
|
36866
|
-
return React__default.createElement("div", __assign({ ref: setPopperElement, style: popperStyles === null || popperStyles === void 0 ? void 0 : popperStyles.popper }, popperAttributes === null || popperAttributes === void 0 ? void 0 : popperAttributes.popper, { className: classNames(styles$
|
|
36861
|
+
return React__default.createElement("div", __assign({ ref: setPopperElement, style: popperStyles === null || popperStyles === void 0 ? void 0 : popperStyles.popper }, popperAttributes === null || popperAttributes === void 0 ? void 0 : popperAttributes.popper, { className: classNames(styles$c.filterPopover, classNameOverride), role: "dialog", "aria-modal": "true" }, restProps), children);
|
|
36867
36862
|
};
|
|
36868
36863
|
FilterPopover.displayName = "FilterPopover";
|
|
36869
36864
|
|
|
@@ -36908,31 +36903,31 @@ var Filter = function(_a) {
|
|
|
36908
36903
|
};
|
|
36909
36904
|
Filter.displayName = "Filter";
|
|
36910
36905
|
|
|
36911
|
-
var styles$
|
|
36906
|
+
var styles$b = {"filterContents":"FilterContents-module_filterContents__uNUpd"};
|
|
36912
36907
|
|
|
36913
36908
|
var FilterContents = function(_a) {
|
|
36914
36909
|
var children = _a.children, classNameOverride = _a.classNameOverride, restProps = __rest(_a, ["children", "classNameOverride"]);
|
|
36915
|
-
return React__default.createElement("div", __assign({ className: classNames(styles$
|
|
36910
|
+
return React__default.createElement("div", __assign({ className: classNames(styles$b.filterContents, classNameOverride) }, restProps), children);
|
|
36916
36911
|
};
|
|
36917
36912
|
FilterContents.displayName = "FilterContents";
|
|
36918
36913
|
|
|
36919
|
-
var yellow
|
|
36920
|
-
var reset
|
|
36921
|
-
var warn
|
|
36922
|
-
console.warn("".concat(yellow
|
|
36914
|
+
var yellow = "\x1B[33m ";
|
|
36915
|
+
var reset = "\x1B[0m ";
|
|
36916
|
+
var warn = function(message) {
|
|
36917
|
+
console.warn("".concat(yellow, "\nKAIZEN WARNING:\n").concat(singleLine(message)).concat(reset, "\n"));
|
|
36923
36918
|
};
|
|
36924
|
-
var singleLine
|
|
36919
|
+
var singleLine = function(message) {
|
|
36925
36920
|
return message.replace(/^ +/gm, " ").replace(/\n|\r/gm, "").trim();
|
|
36926
36921
|
};
|
|
36927
36922
|
|
|
36928
|
-
var styles$
|
|
36923
|
+
var styles$a = {"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"};
|
|
36929
36924
|
|
|
36930
36925
|
var SVG = function(_a) {
|
|
36931
36926
|
var _b, _c;
|
|
36932
36927
|
var _d = _a.inheritSize, inheritSize = _d === void 0 ? false : _d, _e = _a.role, role = _e === void 0 ? "img" : _e, _f = _a.title, title = _f === void 0 ? "" : _f, _g = _a.desc, desc = _g === void 0 ? "" : _g, _h = _a.viewBox, viewBox = _h === void 0 ? "0 0 20 20" : _h, classNameOverride = _a.classNameOverride, children = _a.children, props = __rest(_a, ["inheritSize", "role", "title", "desc", "viewBox", "classNameOverride", "children"]);
|
|
36933
36928
|
var isMeaningfulImg = role === "img";
|
|
36934
36929
|
if (isMeaningfulImg && !title) {
|
|
36935
|
-
warn
|
|
36930
|
+
warn(`
|
|
36936
36931
|
Icon with role "img" missing a title attribute.
|
|
36937
36932
|
|
|
36938
36933
|
Assistive technologies that enable vision-impaired users to read web pages
|
|
@@ -36957,7 +36952,7 @@ var SVG = function(_a) {
|
|
|
36957
36952
|
return React__default.createElement(
|
|
36958
36953
|
"svg",
|
|
36959
36954
|
__assign({
|
|
36960
|
-
className: classNames(styles$
|
|
36955
|
+
className: classNames(styles$a.icon, classNameOverride, (_c = {}, _c[styles$a.inheritSize] = inheritSize, _c)),
|
|
36961
36956
|
viewBox,
|
|
36962
36957
|
// Work around IE11 making all SVGs focusable.
|
|
36963
36958
|
// See http://simplyaccessible.com/article/7-solutions-svgs/#acc-heading-4
|
|
@@ -37026,15 +37021,15 @@ var isRefObject = function(ref) {
|
|
|
37026
37021
|
return ref !== null && "current" in ref;
|
|
37027
37022
|
};
|
|
37028
37023
|
|
|
37029
|
-
var styles$
|
|
37024
|
+
var styles$9 = {"filterButtonBase":"FilterButtonBase-module_filterButtonBase__505sK"};
|
|
37030
37025
|
|
|
37031
37026
|
var FilterButtonBase = forwardRef(function(_a, ref) {
|
|
37032
37027
|
var children = _a.children, classNameOverride = _a.classNameOverride, restProps = __rest(_a, ["children", "classNameOverride"]);
|
|
37033
|
-
return React__default.createElement("button", __assign({ ref, className: classNames(styles$
|
|
37028
|
+
return React__default.createElement("button", __assign({ ref, className: classNames(styles$9.filterButtonBase, classNameOverride) }, restProps), children);
|
|
37034
37029
|
});
|
|
37035
37030
|
FilterButtonBase.displayName = "FilterButtonBase";
|
|
37036
37031
|
|
|
37037
|
-
var styles$
|
|
37032
|
+
var styles$8 = {"filterButton":"FilterButton-module_filterButton__Q2dMX","labelContainer":"FilterButton-module_labelContainer__5G-MD","hasSelectedValues":"FilterButton-module_hasSelectedValues__dyQkL","labelSeparator":"FilterButton-module_labelSeparator__xrkAx"};
|
|
37038
37033
|
|
|
37039
37034
|
var FilterButton = forwardRef(function(_a, ref) {
|
|
37040
37035
|
var label = _a.label, selectedValue = _a.selectedValue, _b = _a.isOpen, isOpen = _b === void 0 ? false : _b, classNameOverride = _a.classNameOverride, restProps = __rest(_a, ["label", "selectedValue", "isOpen", "classNameOverride"]);
|
|
@@ -37043,15 +37038,15 @@ var FilterButton = forwardRef(function(_a, ref) {
|
|
|
37043
37038
|
var selectedValuesLabel = selectedValue;
|
|
37044
37039
|
return React__default.createElement(
|
|
37045
37040
|
FilterButtonBase,
|
|
37046
|
-
__assign({ ref: triggerRef, classNameOverride: classNames(styles$
|
|
37047
|
-
React__default.createElement("span", { className: styles$
|
|
37041
|
+
__assign({ ref: triggerRef, classNameOverride: classNames(styles$8.filterButton, classNameOverride), "aria-haspopup": "true", "aria-expanded": isOpen }, restProps),
|
|
37042
|
+
React__default.createElement("span", { className: styles$8.labelContainer }, selectedValuesLabel ? React__default.createElement(
|
|
37048
37043
|
React__default.Fragment,
|
|
37049
37044
|
null,
|
|
37050
37045
|
React__default.createElement(
|
|
37051
37046
|
"span",
|
|
37052
|
-
{ className: styles$
|
|
37047
|
+
{ className: styles$8.hasSelectedValues },
|
|
37053
37048
|
React__default.createElement("span", null, label),
|
|
37054
|
-
React__default.createElement("span", { className: styles$
|
|
37049
|
+
React__default.createElement("span", { className: styles$8.labelSeparator }, ":")
|
|
37055
37050
|
),
|
|
37056
37051
|
React__default.createElement("span", null, selectedValuesLabel)
|
|
37057
37052
|
) : label),
|
|
@@ -37066,7 +37061,7 @@ var Tooltip$1 = {};
|
|
|
37066
37061
|
|
|
37067
37062
|
var Tooltip = {};
|
|
37068
37063
|
|
|
37069
|
-
var require$$3 = /*@__PURE__*/getAugmentedNamespace(esm);
|
|
37064
|
+
var require$$3$2 = /*@__PURE__*/getAugmentedNamespace(esm);
|
|
37070
37065
|
|
|
37071
37066
|
var AppearanceAnim = {};
|
|
37072
37067
|
|
|
@@ -37079,7 +37074,7 @@ var index_module = /*#__PURE__*/Object.freeze({
|
|
|
37079
37074
|
useThrottledCallback: f$1
|
|
37080
37075
|
});
|
|
37081
37076
|
|
|
37082
|
-
var require$$1$
|
|
37077
|
+
var require$$1$5 = /*@__PURE__*/getAugmentedNamespace(index_module);
|
|
37083
37078
|
|
|
37084
37079
|
(function(exports) {
|
|
37085
37080
|
var __assign = commonjsGlobal && commonjsGlobal.__assign || function() {
|
|
@@ -37141,7 +37136,7 @@ var require$$1$1 = /*@__PURE__*/getAugmentedNamespace(index_module);
|
|
|
37141
37136
|
exports.__esModule = true;
|
|
37142
37137
|
exports.useAnimation = exports.AnimationProvider = exports.AnimationContext = void 0;
|
|
37143
37138
|
var react_1 = __importStar(React__default);
|
|
37144
|
-
var use_debounce_1 = require$$1$
|
|
37139
|
+
var use_debounce_1 = require$$1$5;
|
|
37145
37140
|
var ANIM_DURATION_MS = 400;
|
|
37146
37141
|
exports.AnimationContext = react_1["default"].createContext({
|
|
37147
37142
|
isVisible: false,
|
|
@@ -37801,12 +37796,12 @@ var esmBrowser = /*#__PURE__*/Object.freeze({
|
|
|
37801
37796
|
version: version
|
|
37802
37797
|
});
|
|
37803
37798
|
|
|
37804
|
-
var require$$1 = /*@__PURE__*/getAugmentedNamespace(esmBrowser);
|
|
37799
|
+
var require$$1$4 = /*@__PURE__*/getAugmentedNamespace(esmBrowser);
|
|
37805
37800
|
|
|
37806
37801
|
useUuid$1.__esModule = true;
|
|
37807
37802
|
useUuid$1.useUuid = void 0;
|
|
37808
37803
|
var react_1 = React__default;
|
|
37809
|
-
var uuid_1 = require$$1;
|
|
37804
|
+
var uuid_1 = require$$1$4;
|
|
37810
37805
|
var useUuid = function() {
|
|
37811
37806
|
return (0, react_1.useMemo)(function() {
|
|
37812
37807
|
return (0, uuid_1.v4)();
|
|
@@ -37821,7 +37816,7 @@ var Tooltip_module$1 = /*#__PURE__*/Object.freeze({
|
|
|
37821
37816
|
default: Tooltip_module
|
|
37822
37817
|
});
|
|
37823
37818
|
|
|
37824
|
-
var require$$6 = /*@__PURE__*/getAugmentedNamespace(Tooltip_module$1);
|
|
37819
|
+
var require$$6$1 = /*@__PURE__*/getAugmentedNamespace(Tooltip_module$1);
|
|
37825
37820
|
|
|
37826
37821
|
(function(exports) {
|
|
37827
37822
|
var __assign = commonjsGlobal && commonjsGlobal.__assign || function() {
|
|
@@ -37876,10 +37871,10 @@ var require$$6 = /*@__PURE__*/getAugmentedNamespace(Tooltip_module$1);
|
|
|
37876
37871
|
var react_1 = __importStar(React__default);
|
|
37877
37872
|
var react_dom_1 = __importDefault(reactDomExports);
|
|
37878
37873
|
var classnames_1 = __importDefault(classnamesExports);
|
|
37879
|
-
var react_popper_1 = require$$3;
|
|
37874
|
+
var react_popper_1 = require$$3$2;
|
|
37880
37875
|
var AppearanceAnim_1 = AppearanceAnim;
|
|
37881
37876
|
var useUuid_1 = useUuid$1;
|
|
37882
|
-
var Tooltip_module_scss_1 = __importDefault(require$$6);
|
|
37877
|
+
var Tooltip_module_scss_1 = __importDefault(require$$6$1);
|
|
37883
37878
|
var positionToPlacement = /* @__PURE__ */ new Map([
|
|
37884
37879
|
["above", "top"],
|
|
37885
37880
|
["below", "bottom"],
|
|
@@ -37987,9 +37982,7 @@ var require$$6 = /*@__PURE__*/getAugmentedNamespace(Tooltip_module$1);
|
|
|
37987
37982
|
);
|
|
37988
37983
|
};
|
|
37989
37984
|
exports.Tooltip = Tooltip;
|
|
37990
|
-
exports.Tooltip.
|
|
37991
|
-
position: "above"
|
|
37992
|
-
};
|
|
37985
|
+
exports.Tooltip.displayName = "Tooltip";
|
|
37993
37986
|
})(Tooltip);
|
|
37994
37987
|
|
|
37995
37988
|
(function(exports) {
|
|
@@ -38008,10 +38001,13 @@ var require$$6 = /*@__PURE__*/getAugmentedNamespace(Tooltip_module$1);
|
|
|
38008
38001
|
k2 = k;
|
|
38009
38002
|
o[k2] = m[k];
|
|
38010
38003
|
});
|
|
38004
|
+
var __exportStar = commonjsGlobal && commonjsGlobal.__exportStar || function(m, exports2) {
|
|
38005
|
+
for (var p in m)
|
|
38006
|
+
if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports2, p))
|
|
38007
|
+
__createBinding(exports2, m, p);
|
|
38008
|
+
};
|
|
38011
38009
|
exports.__esModule = true;
|
|
38012
|
-
|
|
38013
|
-
var Tooltip_1 = Tooltip;
|
|
38014
|
-
__createBinding(exports, Tooltip_1, "Tooltip");
|
|
38010
|
+
__exportStar(Tooltip, exports);
|
|
38015
38011
|
})(Tooltip$1);
|
|
38016
38012
|
|
|
38017
38013
|
(function(exports) {
|
|
@@ -38065,7 +38061,7 @@ var ClearIcon = function(props) {
|
|
|
38065
38061
|
);
|
|
38066
38062
|
};
|
|
38067
38063
|
|
|
38068
|
-
var styles$
|
|
38064
|
+
var styles$7 = {"buttonGroup":"ButtonGroup-module_buttonGroup__bsy2X","child":"ButtonGroup-module_child__K6AP-","firstChild":"ButtonGroup-module_firstChild__uEn1j","lastChild":"ButtonGroup-module_lastChild__Vicsx"};
|
|
38069
38065
|
|
|
38070
38066
|
var isFilterButton = function(node) {
|
|
38071
38067
|
return React__default.isValidElement(node) && node.type === FilterButtonBase;
|
|
@@ -38073,11 +38069,11 @@ var isFilterButton = function(node) {
|
|
|
38073
38069
|
var ButtonGroup = function(_a) {
|
|
38074
38070
|
var children = _a.children, classNameOverride = _a.classNameOverride, restProps = __rest(_a, ["children", "classNameOverride"]);
|
|
38075
38071
|
var childCount = React__default.Children.count(children);
|
|
38076
|
-
var containerProps = __assign({ role: "group", className: classNames(styles$
|
|
38072
|
+
var containerProps = __assign({ role: "group", className: classNames(styles$7.buttonGroup, classNameOverride) }, restProps);
|
|
38077
38073
|
if (childCount === 1)
|
|
38078
38074
|
return React__default.createElement("div", __assign({}, containerProps), children);
|
|
38079
38075
|
return React__default.createElement("div", __assign({}, containerProps), React__default.Children.map(children, function(child, index) {
|
|
38080
|
-
var buttonClassNames = classNames(styles$
|
|
38076
|
+
var buttonClassNames = classNames(styles$7.child, index === 0 && styles$7.firstChild, index === childCount - 1 && styles$7.lastChild, child.props.classNameOverride);
|
|
38081
38077
|
if (child.type === tooltip.Tooltip) {
|
|
38082
38078
|
var button = child.props.children;
|
|
38083
38079
|
if (isFilterButton(button)) {
|
|
@@ -44605,46 +44601,46 @@ function $af383d3bef1cfdc9$export$c3f9f39876e4bc7(props) {
|
|
|
44605
44601
|
};
|
|
44606
44602
|
}
|
|
44607
44603
|
|
|
44608
|
-
var styles$
|
|
44604
|
+
var styles$6 = {"listBox":"ListBox-module_listBox__FQ9sQ","focus":"ListBox-module_focus__Tm-jn"};
|
|
44609
44605
|
|
|
44610
44606
|
var ListBox = function(_a) {
|
|
44611
44607
|
var children = _a.children, menuProps = _a.menuProps, classNameOverride = _a.classNameOverride, restProps = __rest(_a, ["children", "menuProps", "classNameOverride"]);
|
|
44612
44608
|
var state = useSelectContext().state;
|
|
44613
44609
|
var ref = React__default.useRef(null);
|
|
44614
44610
|
var listBoxProps = $c132121280ec012d$export$50eacbbf140a3141(__assign(__assign({}, menuProps), { disallowEmptySelection: true, autoFocus: "first" }), state, ref).listBoxProps;
|
|
44615
|
-
return React__default.createElement("ul", __assign({ ref, className: classNames(styles$
|
|
44611
|
+
return React__default.createElement("ul", __assign({ ref, className: classNames(styles$6.listBox, classNameOverride) }, listBoxProps, restProps), children);
|
|
44616
44612
|
};
|
|
44617
44613
|
ListBox.displayName = "ListBox";
|
|
44618
44614
|
|
|
44619
|
-
var styles$
|
|
44615
|
+
var styles$5 = {"heading":"Heading-module_heading__Fe11y","display-0":"Heading-module_display-0__As5Ny","heading-1":"Heading-module_heading-1__fMzkm","heading-2":"Heading-module_heading-2__bgkcr","heading-3":"Heading-module_heading-3__ZRUkC","heading-4":"Heading-module_heading-4__XbONZ","heading-5":"Heading-module_heading-5__fj2Gb","heading-6":"Heading-module_heading-6__Cmand","dark":"Heading-module_dark__9m1Av","dark-reduced-opacity":"Heading-module_dark-reduced-opacity__APHzM","white":"Heading-module_white__6Flbw","white-reduced-opacity":"Heading-module_white-reduced-opacity__-3jNg","positive":"Heading-module_positive__uTfoL","small":"Heading-module_small__I8UMW","large":"Heading-module_large__wKrUS","negative":"Heading-module_negative__hcnMm"};
|
|
44620
44616
|
|
|
44621
|
-
var __defProp$
|
|
44617
|
+
var __defProp$1 = Object.defineProperty;
|
|
44622
44618
|
var __defProps = Object.defineProperties;
|
|
44623
44619
|
var __getOwnPropDescs = Object.getOwnPropertyDescriptors;
|
|
44624
|
-
var __getOwnPropSymbols$
|
|
44625
|
-
var __hasOwnProp$
|
|
44626
|
-
var __propIsEnum$
|
|
44627
|
-
var __defNormalProp$
|
|
44628
|
-
var __spreadValues$
|
|
44620
|
+
var __getOwnPropSymbols$1 = Object.getOwnPropertySymbols;
|
|
44621
|
+
var __hasOwnProp$1 = Object.prototype.hasOwnProperty;
|
|
44622
|
+
var __propIsEnum$1 = Object.prototype.propertyIsEnumerable;
|
|
44623
|
+
var __defNormalProp$1 = (obj, key, value) => key in obj ? __defProp$1(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
44624
|
+
var __spreadValues$1 = (a, b) => {
|
|
44629
44625
|
for (var prop in b || (b = {}))
|
|
44630
|
-
if (__hasOwnProp$
|
|
44631
|
-
__defNormalProp$
|
|
44632
|
-
if (__getOwnPropSymbols$
|
|
44633
|
-
for (var prop of __getOwnPropSymbols$
|
|
44634
|
-
if (__propIsEnum$
|
|
44635
|
-
__defNormalProp$
|
|
44626
|
+
if (__hasOwnProp$1.call(b, prop))
|
|
44627
|
+
__defNormalProp$1(a, prop, b[prop]);
|
|
44628
|
+
if (__getOwnPropSymbols$1)
|
|
44629
|
+
for (var prop of __getOwnPropSymbols$1(b)) {
|
|
44630
|
+
if (__propIsEnum$1.call(b, prop))
|
|
44631
|
+
__defNormalProp$1(a, prop, b[prop]);
|
|
44636
44632
|
}
|
|
44637
44633
|
return a;
|
|
44638
44634
|
};
|
|
44639
44635
|
var __spreadProps = (a, b) => __defProps(a, __getOwnPropDescs(b));
|
|
44640
|
-
var __objRest$
|
|
44636
|
+
var __objRest$1 = (source, exclude) => {
|
|
44641
44637
|
var target = {};
|
|
44642
44638
|
for (var prop in source)
|
|
44643
|
-
if (__hasOwnProp$
|
|
44639
|
+
if (__hasOwnProp$1.call(source, prop) && exclude.indexOf(prop) < 0)
|
|
44644
44640
|
target[prop] = source[prop];
|
|
44645
|
-
if (source != null && __getOwnPropSymbols$
|
|
44646
|
-
for (var prop of __getOwnPropSymbols$
|
|
44647
|
-
if (exclude.indexOf(prop) < 0 && __propIsEnum$
|
|
44641
|
+
if (source != null && __getOwnPropSymbols$1)
|
|
44642
|
+
for (var prop of __getOwnPropSymbols$1(source)) {
|
|
44643
|
+
if (exclude.indexOf(prop) < 0 && __propIsEnum$1.call(source, prop))
|
|
44648
44644
|
target[prop] = source[prop];
|
|
44649
44645
|
}
|
|
44650
44646
|
return target;
|
|
@@ -44657,7 +44653,7 @@ const Heading = (_a) => {
|
|
|
44657
44653
|
variant,
|
|
44658
44654
|
color = "dark",
|
|
44659
44655
|
classNameOverride
|
|
44660
|
-
} = _b, restProps = __objRest$
|
|
44656
|
+
} = _b, restProps = __objRest$1(_b, [
|
|
44661
44657
|
"children",
|
|
44662
44658
|
"tag",
|
|
44663
44659
|
"variant",
|
|
@@ -44666,13 +44662,13 @@ const Heading = (_a) => {
|
|
|
44666
44662
|
]);
|
|
44667
44663
|
const inferredTag = tag === void 0 ? translateHeadingLevelToTag(variant) : tag;
|
|
44668
44664
|
const className = classNames([
|
|
44669
|
-
styles$
|
|
44670
|
-
styles$
|
|
44665
|
+
styles$5.heading,
|
|
44666
|
+
styles$5[variant],
|
|
44671
44667
|
classNameOverride,
|
|
44672
|
-
styles$
|
|
44673
|
-
VARIANTS_24PX_OR_GREATER.includes(variant) ? styles$
|
|
44668
|
+
styles$5[color],
|
|
44669
|
+
VARIANTS_24PX_OR_GREATER.includes(variant) ? styles$5.large : styles$5.small
|
|
44674
44670
|
]);
|
|
44675
|
-
return createElement(inferredTag, __spreadProps(__spreadValues$
|
|
44671
|
+
return createElement(inferredTag, __spreadProps(__spreadValues$1({}, restProps), { className }), children);
|
|
44676
44672
|
};
|
|
44677
44673
|
Heading.displayName = "Heading";
|
|
44678
44674
|
const translateHeadingLevelToTag = (headingLevel) => {
|
|
@@ -44694,67 +44690,107 @@ const translateHeadingLevelToTag = (headingLevel) => {
|
|
|
44694
44690
|
}
|
|
44695
44691
|
};
|
|
44696
44692
|
|
|
44697
|
-
|
|
44698
|
-
const reset = "\x1B[0m ";
|
|
44699
|
-
const warn = (message) => {
|
|
44700
|
-
console.warn(
|
|
44701
|
-
`${yellow}
|
|
44702
|
-
CULTUREAMP UI WARNING:
|
|
44703
|
-
${singleLine(message)}${reset}
|
|
44704
|
-
`
|
|
44705
|
-
);
|
|
44706
|
-
};
|
|
44707
|
-
const singleLine = (message) => message.replace(/^ +/gm, " ").replace(/\n|\r/gm, "").trim();
|
|
44693
|
+
var componentLibrary = {};
|
|
44708
44694
|
|
|
44709
|
-
var
|
|
44695
|
+
var components = {};
|
|
44710
44696
|
|
|
44711
|
-
var
|
|
44712
|
-
|
|
44713
|
-
var
|
|
44714
|
-
|
|
44715
|
-
var
|
|
44716
|
-
|
|
44717
|
-
|
|
44718
|
-
|
|
44719
|
-
|
|
44720
|
-
|
|
44721
|
-
|
|
44722
|
-
|
|
44723
|
-
|
|
44724
|
-
|
|
44725
|
-
|
|
44726
|
-
|
|
44727
|
-
|
|
44728
|
-
|
|
44729
|
-
|
|
44730
|
-
|
|
44731
|
-
|
|
44732
|
-
|
|
44733
|
-
|
|
44734
|
-
|
|
44735
|
-
|
|
44736
|
-
|
|
44737
|
-
|
|
44738
|
-
|
|
44739
|
-
|
|
44740
|
-
|
|
44741
|
-
|
|
44742
|
-
|
|
44743
|
-
|
|
44744
|
-
|
|
44745
|
-
|
|
44746
|
-
|
|
44747
|
-
}
|
|
44748
|
-
|
|
44749
|
-
|
|
44750
|
-
"
|
|
44751
|
-
|
|
44752
|
-
|
|
44753
|
-
|
|
44754
|
-
|
|
44755
|
-
|
|
44756
|
-
|
|
44757
|
-
|
|
44697
|
+
var Dropdown$1 = {};
|
|
44698
|
+
|
|
44699
|
+
var Dropdown = {};
|
|
44700
|
+
|
|
44701
|
+
var img$2 = "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 44.1 (41455) - http://www.bohemiancoding.com/sketch --%3e %3ctitle%3eIcons/Directional/chevron-down%3c/title%3e %3cdesc%3eCreated with Sketch.%3c/desc%3e %3cdefs%3e %3cpolygon id='path-1' points='6.17916667 6.84500003 10 10.746733 13.8208333 6.84500003 15 8.04913353 10 13.155 5 8.04913353'%3e%3c/polygon%3e %3c/defs%3e %3cg id='Symbols' stroke='none' stroke-width='1' fill='none' fill-rule='evenodd'%3e %3cg id='Icons/Directional/chevron-down'%3e %3cmask id='mask-2' fill='white'%3e %3cuse xlink:href='%23path-1'%3e%3c/use%3e %3c/mask%3e %3cuse fill='black' xlink:href='%23path-1'%3e%3c/use%3e %3c/g%3e %3c/g%3e%3c/svg%3e";
|
|
44702
|
+
|
|
44703
|
+
var chevronDown_icon = /*#__PURE__*/Object.freeze({
|
|
44704
|
+
__proto__: null,
|
|
44705
|
+
default: img$2
|
|
44706
|
+
});
|
|
44707
|
+
|
|
44708
|
+
var require$$2$1 = /*@__PURE__*/getAugmentedNamespace(chevronDown_icon);
|
|
44709
|
+
|
|
44710
|
+
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";
|
|
44711
|
+
|
|
44712
|
+
var ellipsis_icon = /*#__PURE__*/Object.freeze({
|
|
44713
|
+
__proto__: null,
|
|
44714
|
+
default: img$1
|
|
44715
|
+
});
|
|
44716
|
+
|
|
44717
|
+
var require$$3$1 = /*@__PURE__*/getAugmentedNamespace(ellipsis_icon);
|
|
44718
|
+
|
|
44719
|
+
var Icon$1 = {};
|
|
44720
|
+
|
|
44721
|
+
var Icon = {};
|
|
44722
|
+
|
|
44723
|
+
var console$1 = {};
|
|
44724
|
+
|
|
44725
|
+
(function(exports) {
|
|
44726
|
+
exports.__esModule = true;
|
|
44727
|
+
exports.singleLine = exports.warn = exports.error = void 0;
|
|
44728
|
+
var red = "\x1B[31m ";
|
|
44729
|
+
var yellow = "\x1B[33m ";
|
|
44730
|
+
var reset = "\x1B[0m ";
|
|
44731
|
+
var error = function(message) {
|
|
44732
|
+
throw new Error("".concat(red, "\nCULTUREAMP UI ERROR:\n").concat((0, exports.singleLine)(message)).concat(reset, "\n"));
|
|
44733
|
+
};
|
|
44734
|
+
exports.error = error;
|
|
44735
|
+
var warn = function(message) {
|
|
44736
|
+
console.warn("".concat(yellow, "\nCULTUREAMP UI WARNING:\n").concat((0, exports.singleLine)(message)).concat(reset, "\n"));
|
|
44737
|
+
};
|
|
44738
|
+
exports.warn = warn;
|
|
44739
|
+
var singleLine = function(message) {
|
|
44740
|
+
return message.replace(/^ +/gm, " ").replace(/\n|\r/gm, "").trim();
|
|
44741
|
+
};
|
|
44742
|
+
exports.singleLine = singleLine;
|
|
44743
|
+
})(console$1);
|
|
44744
|
+
|
|
44745
|
+
var Icon_module = {"icon":"Icon-module_icon__1r20x","inheritSize":"Icon-module_inheritSize__xtkKA","interactiveIconWrapper":"Icon-module_interactiveIconWrapper__ieTrE","disabled":"Icon-module_disabled__bqMQV","hover":"Icon-module_hover__EdRCd","active":"Icon-module_active__d47mz","reversedInteractiveIconWrapper":"Icon-module_reversedInteractiveIconWrapper__sZ6CO Icon-module_interactiveIconWrapper__ieTrE"};
|
|
44746
|
+
|
|
44747
|
+
var Icon_module$1 = /*#__PURE__*/Object.freeze({
|
|
44748
|
+
__proto__: null,
|
|
44749
|
+
default: Icon_module
|
|
44750
|
+
});
|
|
44751
|
+
|
|
44752
|
+
var require$$3 = /*@__PURE__*/getAugmentedNamespace(Icon_module$1);
|
|
44753
|
+
|
|
44754
|
+
(function(exports) {
|
|
44755
|
+
var __assign = commonjsGlobal && commonjsGlobal.__assign || function() {
|
|
44756
|
+
__assign = Object.assign || function(t) {
|
|
44757
|
+
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
44758
|
+
s = arguments[i];
|
|
44759
|
+
for (var p in s)
|
|
44760
|
+
if (Object.prototype.hasOwnProperty.call(s, p))
|
|
44761
|
+
t[p] = s[p];
|
|
44762
|
+
}
|
|
44763
|
+
return t;
|
|
44764
|
+
};
|
|
44765
|
+
return __assign.apply(this, arguments);
|
|
44766
|
+
};
|
|
44767
|
+
var __rest = commonjsGlobal && commonjsGlobal.__rest || function(s, e) {
|
|
44768
|
+
var t = {};
|
|
44769
|
+
for (var p in s)
|
|
44770
|
+
if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
|
|
44771
|
+
t[p] = s[p];
|
|
44772
|
+
if (s != null && typeof Object.getOwnPropertySymbols === "function")
|
|
44773
|
+
for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
|
|
44774
|
+
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
|
|
44775
|
+
t[p[i]] = s[p[i]];
|
|
44776
|
+
}
|
|
44777
|
+
return t;
|
|
44778
|
+
};
|
|
44779
|
+
var __importDefault = commonjsGlobal && commonjsGlobal.__importDefault || function(mod) {
|
|
44780
|
+
return mod && mod.__esModule ? mod : { "default": mod };
|
|
44781
|
+
};
|
|
44782
|
+
exports.__esModule = true;
|
|
44783
|
+
exports.Icon = void 0;
|
|
44784
|
+
var react_1 = __importDefault(React__default);
|
|
44785
|
+
var classnames_1 = __importDefault(classnamesExports);
|
|
44786
|
+
var console_1 = console$1;
|
|
44787
|
+
var Icon_module_scss_1 = __importDefault(require$$3);
|
|
44788
|
+
var Icon = function(_a) {
|
|
44789
|
+
var _b, _c;
|
|
44790
|
+
var icon = _a.icon, _d = _a.inheritSize, inheritSize = _d === void 0 ? false : _d, _e = _a.role, role = _e === void 0 ? "img" : _e, _f = _a.title, title = _f === void 0 ? "" : _f, _g = _a.desc, desc = _g === void 0 ? "" : _g, classNameOverride = _a.classNameOverride, props = __rest(_a, ["icon", "inheritSize", "role", "title", "desc", "classNameOverride"]);
|
|
44791
|
+
var isMeaningfulImg = role === "img";
|
|
44792
|
+
if (isMeaningfulImg && !title) {
|
|
44793
|
+
(0, console_1.warn)(`
|
|
44758
44794
|
Icon with role "img" missing a title attribute.
|
|
44759
44795
|
|
|
44760
44796
|
Assistive technologies that enable vision-impaired users to read web pages
|
|
@@ -44766,28 +44802,1077 @@ const Icon = (_a) => {
|
|
|
44766
44802
|
Either add the missing title prop, or set this icon's role to
|
|
44767
44803
|
"presentation" to indicate it is not meaningful.
|
|
44768
44804
|
`);
|
|
44769
|
-
|
|
44770
|
-
|
|
44771
|
-
|
|
44772
|
-
|
|
44773
|
-
|
|
44774
|
-
|
|
44805
|
+
}
|
|
44806
|
+
var renderTitle = function() {
|
|
44807
|
+
return isMeaningfulImg && !!title && react_1["default"].createElement("title", null, title);
|
|
44808
|
+
};
|
|
44809
|
+
var renderDesc = function() {
|
|
44810
|
+
return isMeaningfulImg && !!desc && react_1["default"].createElement("desc", null, desc);
|
|
44811
|
+
};
|
|
44812
|
+
var accessibilityProps = (_b = {
|
|
44813
|
+
role
|
|
44814
|
+
}, _b["aria-hidden"] = isMeaningfulImg ? void 0 : true, _b);
|
|
44815
|
+
return react_1["default"].createElement(
|
|
44816
|
+
"svg",
|
|
44817
|
+
__assign({
|
|
44818
|
+
className: (0, classnames_1["default"])(Icon_module_scss_1["default"].icon, classNameOverride, (_c = {}, _c[Icon_module_scss_1["default"].inheritSize] = inheritSize, _c)),
|
|
44819
|
+
viewBox: icon.viewBox,
|
|
44820
|
+
// Work around IE11 making all SVGs focusable.
|
|
44821
|
+
// See http://simplyaccessible.com/article/7-solutions-svgs/#acc-heading-4
|
|
44822
|
+
focusable: "false"
|
|
44823
|
+
}, accessibilityProps, props),
|
|
44824
|
+
renderTitle(),
|
|
44825
|
+
renderDesc(),
|
|
44826
|
+
react_1["default"].createElement("use", { xlinkHref: "#".concat(icon.id) })
|
|
44827
|
+
);
|
|
44775
44828
|
};
|
|
44776
|
-
|
|
44777
|
-
|
|
44778
|
-
|
|
44779
|
-
|
|
44780
|
-
|
|
44781
|
-
|
|
44782
|
-
|
|
44783
|
-
|
|
44784
|
-
|
|
44785
|
-
|
|
44786
|
-
|
|
44787
|
-
|
|
44829
|
+
exports.Icon = Icon;
|
|
44830
|
+
exports.Icon.displayName = "Icon";
|
|
44831
|
+
})(Icon);
|
|
44832
|
+
|
|
44833
|
+
(function(exports) {
|
|
44834
|
+
var __createBinding = commonjsGlobal && commonjsGlobal.__createBinding || (Object.create ? function(o, m, k, k2) {
|
|
44835
|
+
if (k2 === void 0)
|
|
44836
|
+
k2 = k;
|
|
44837
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
44838
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
44839
|
+
desc = { enumerable: true, get: function() {
|
|
44840
|
+
return m[k];
|
|
44841
|
+
} };
|
|
44842
|
+
}
|
|
44843
|
+
Object.defineProperty(o, k2, desc);
|
|
44844
|
+
} : function(o, m, k, k2) {
|
|
44845
|
+
if (k2 === void 0)
|
|
44846
|
+
k2 = k;
|
|
44847
|
+
o[k2] = m[k];
|
|
44848
|
+
});
|
|
44849
|
+
var __exportStar = commonjsGlobal && commonjsGlobal.__exportStar || function(m, exports2) {
|
|
44850
|
+
for (var p in m)
|
|
44851
|
+
if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports2, p))
|
|
44852
|
+
__createBinding(exports2, m, p);
|
|
44853
|
+
};
|
|
44854
|
+
exports.__esModule = true;
|
|
44855
|
+
__exportStar(Icon, exports);
|
|
44856
|
+
})(Icon$1);
|
|
44857
|
+
|
|
44858
|
+
var DropdownMenu = {};
|
|
44859
|
+
|
|
44860
|
+
var Dropdown_module = {"dropdown":"Dropdown-module_dropdown__09sgL","buttonReset":"Dropdown-module_buttonReset__O69sc","dropdownButton":"Dropdown-module_dropdownButton__FiRVW Dropdown-module_buttonReset__O69sc","dropdownControlAction":"Dropdown-module_dropdownControlAction__iWJog","dropdownIcon":"Dropdown-module_dropdownIcon__tZfDQ","dropdownLabel":"Dropdown-module_dropdownLabel__bpY-X","dropdownHoverArea":"Dropdown-module_dropdownHoverArea__M-Y-K","isOpen":"Dropdown-module_isOpen__Kf4XR","chevronIcon":"Dropdown-module_chevronIcon__Ieh4i","menuContainer":"Dropdown-module_menuContainer__xl9MT","reversedColor":"Dropdown-module_reversedColor__rGeiB"};
|
|
44861
|
+
|
|
44862
|
+
var Dropdown_module$1 = /*#__PURE__*/Object.freeze({
|
|
44863
|
+
__proto__: null,
|
|
44864
|
+
default: Dropdown_module
|
|
44865
|
+
});
|
|
44866
|
+
|
|
44867
|
+
var require$$6 = /*@__PURE__*/getAugmentedNamespace(Dropdown_module$1);
|
|
44868
|
+
|
|
44869
|
+
(function(exports) {
|
|
44870
|
+
var __extends = commonjsGlobal && commonjsGlobal.__extends || function() {
|
|
44871
|
+
var extendStatics = function(d, b) {
|
|
44872
|
+
extendStatics = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(d2, b2) {
|
|
44873
|
+
d2.__proto__ = b2;
|
|
44874
|
+
} || function(d2, b2) {
|
|
44875
|
+
for (var p in b2)
|
|
44876
|
+
if (Object.prototype.hasOwnProperty.call(b2, p))
|
|
44877
|
+
d2[p] = b2[p];
|
|
44878
|
+
};
|
|
44879
|
+
return extendStatics(d, b);
|
|
44880
|
+
};
|
|
44881
|
+
return function(d, b) {
|
|
44882
|
+
if (typeof b !== "function" && b !== null)
|
|
44883
|
+
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
|
|
44884
|
+
extendStatics(d, b);
|
|
44885
|
+
function __() {
|
|
44886
|
+
this.constructor = d;
|
|
44887
|
+
}
|
|
44888
|
+
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
44889
|
+
};
|
|
44890
|
+
}();
|
|
44891
|
+
var __importDefault = commonjsGlobal && commonjsGlobal.__importDefault || function(mod) {
|
|
44892
|
+
return mod && mod.__esModule ? mod : { "default": mod };
|
|
44893
|
+
};
|
|
44894
|
+
exports.__esModule = true;
|
|
44895
|
+
var react_1 = __importDefault(React__default);
|
|
44896
|
+
var Dropdown_module_scss_1 = __importDefault(require$$6);
|
|
44897
|
+
var DropdownMenu = (
|
|
44898
|
+
/** @class */
|
|
44899
|
+
function(_super) {
|
|
44900
|
+
__extends(DropdownMenu2, _super);
|
|
44901
|
+
function DropdownMenu2() {
|
|
44902
|
+
var _this = _super !== null && _super.apply(this, arguments) || this;
|
|
44903
|
+
_this.menu = react_1["default"].createRef();
|
|
44904
|
+
_this.handleDocumentClick = function(e) {
|
|
44905
|
+
if (_this.menu && _this.menu.current && e.target instanceof Node && !_this.menu.current.contains(e.target)) {
|
|
44906
|
+
_this.props.hideDropdownMenu();
|
|
44907
|
+
}
|
|
44908
|
+
};
|
|
44909
|
+
_this.handleDocumentResize = function() {
|
|
44910
|
+
_this.props.hideDropdownMenu();
|
|
44911
|
+
};
|
|
44912
|
+
return _this;
|
|
44913
|
+
}
|
|
44914
|
+
DropdownMenu2.prototype.componentDidMount = function() {
|
|
44915
|
+
document.addEventListener("click", this.handleDocumentClick, false);
|
|
44916
|
+
window.addEventListener("resize", this.handleDocumentResize, false);
|
|
44917
|
+
this.positionMenu();
|
|
44918
|
+
};
|
|
44919
|
+
DropdownMenu2.prototype.componentWillUnmount = function() {
|
|
44920
|
+
document.removeEventListener("click", this.handleDocumentClick, false);
|
|
44921
|
+
window.removeEventListener("resize", this.handleDocumentResize, false);
|
|
44922
|
+
};
|
|
44923
|
+
DropdownMenu2.prototype.render = function() {
|
|
44924
|
+
var _a = this.props, hideDropdownMenu = _a.hideDropdownMenu, children = _a.children;
|
|
44925
|
+
return (
|
|
44926
|
+
// Disabling instead of addressing because this component is deprecated
|
|
44927
|
+
// eslint-disable-next-line jsx-a11y/click-events-have-key-events, jsx-a11y/no-static-element-interactions
|
|
44928
|
+
react_1["default"].createElement("div", { className: Dropdown_module_scss_1["default"].menuContainer, ref: this.menu, onClick: hideDropdownMenu }, children)
|
|
44929
|
+
);
|
|
44930
|
+
};
|
|
44931
|
+
DropdownMenu2.prototype.positionMenu = function() {
|
|
44932
|
+
var menu = this.menu;
|
|
44933
|
+
if (!this.props.position || !menu) {
|
|
44934
|
+
return;
|
|
44935
|
+
}
|
|
44936
|
+
if (menu.current) {
|
|
44937
|
+
var pos = this.props.position;
|
|
44938
|
+
var innerHeight_1 = window.innerHeight;
|
|
44939
|
+
var rect = menu.current.getBoundingClientRect();
|
|
44940
|
+
if (pos.bottom > innerHeight_1 - rect.height) {
|
|
44941
|
+
menu.current.style.bottom = "24px";
|
|
44942
|
+
menu.current.style.top = "auto";
|
|
44943
|
+
} else {
|
|
44944
|
+
menu.current.style.top = "24px";
|
|
44945
|
+
menu.current.style.bottom = "auto";
|
|
44946
|
+
}
|
|
44947
|
+
}
|
|
44948
|
+
};
|
|
44949
|
+
DropdownMenu2.displayName = "DropdownMenu";
|
|
44950
|
+
return DropdownMenu2;
|
|
44951
|
+
}(react_1["default"].Component)
|
|
44952
|
+
);
|
|
44953
|
+
exports["default"] = DropdownMenu;
|
|
44954
|
+
})(DropdownMenu);
|
|
44955
|
+
|
|
44956
|
+
(function(exports) {
|
|
44957
|
+
var __extends = commonjsGlobal && commonjsGlobal.__extends || function() {
|
|
44958
|
+
var extendStatics = function(d, b) {
|
|
44959
|
+
extendStatics = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(d2, b2) {
|
|
44960
|
+
d2.__proto__ = b2;
|
|
44961
|
+
} || function(d2, b2) {
|
|
44962
|
+
for (var p in b2)
|
|
44963
|
+
if (Object.prototype.hasOwnProperty.call(b2, p))
|
|
44964
|
+
d2[p] = b2[p];
|
|
44965
|
+
};
|
|
44966
|
+
return extendStatics(d, b);
|
|
44967
|
+
};
|
|
44968
|
+
return function(d, b) {
|
|
44969
|
+
if (typeof b !== "function" && b !== null)
|
|
44970
|
+
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
|
|
44971
|
+
extendStatics(d, b);
|
|
44972
|
+
function __() {
|
|
44973
|
+
this.constructor = d;
|
|
44974
|
+
}
|
|
44975
|
+
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
44976
|
+
};
|
|
44977
|
+
}();
|
|
44978
|
+
var __importDefault = commonjsGlobal && commonjsGlobal.__importDefault || function(mod) {
|
|
44979
|
+
return mod && mod.__esModule ? mod : { "default": mod };
|
|
44980
|
+
};
|
|
44981
|
+
exports.__esModule = true;
|
|
44982
|
+
var react_1 = __importDefault(React__default);
|
|
44983
|
+
var classnames_1 = __importDefault(classnamesExports);
|
|
44984
|
+
var chevron_down_icon_svg_1 = __importDefault(require$$2$1);
|
|
44985
|
+
var ellipsis_icon_svg_1 = __importDefault(require$$3$1);
|
|
44986
|
+
var Icon_1 = Icon$1;
|
|
44987
|
+
var DropdownMenu_1 = __importDefault(DropdownMenu);
|
|
44988
|
+
var Dropdown_module_scss_1 = __importDefault(require$$6);
|
|
44989
|
+
var Dropdown = (
|
|
44990
|
+
/** @class */
|
|
44991
|
+
function(_super) {
|
|
44992
|
+
__extends(Dropdown2, _super);
|
|
44993
|
+
function Dropdown2(props) {
|
|
44994
|
+
var _this = _super.call(this, props) || this;
|
|
44995
|
+
_this.dropdownButton = react_1["default"].createRef();
|
|
44996
|
+
_this.toggleDropdownMenu = function(e) {
|
|
44997
|
+
e.stopPropagation();
|
|
44998
|
+
var currentState = _this.state.isMenuVisible;
|
|
44999
|
+
_this.setState({
|
|
45000
|
+
isMenuVisible: !currentState
|
|
45001
|
+
});
|
|
45002
|
+
};
|
|
45003
|
+
_this.hideDropdownMenu = function() {
|
|
45004
|
+
_this.setState({
|
|
45005
|
+
isMenuVisible: false
|
|
45006
|
+
});
|
|
45007
|
+
};
|
|
45008
|
+
_this.renderIcon = function(icon) {
|
|
45009
|
+
if (!icon)
|
|
45010
|
+
return;
|
|
45011
|
+
return react_1["default"].createElement(
|
|
45012
|
+
"span",
|
|
45013
|
+
{ className: Dropdown_module_scss_1["default"].dropdownIcon },
|
|
45014
|
+
react_1["default"].createElement(Icon_1.Icon, { icon, role: "img", title: "Open menu" })
|
|
45015
|
+
);
|
|
45016
|
+
};
|
|
45017
|
+
_this.renderDownArrow = function() {
|
|
45018
|
+
var _a = _this.props, label = _a.label, controlAction = _a.controlAction;
|
|
45019
|
+
if (!label || !controlAction)
|
|
45020
|
+
return;
|
|
45021
|
+
return react_1["default"].createElement(
|
|
45022
|
+
"span",
|
|
45023
|
+
{ className: Dropdown_module_scss_1["default"].chevronIcon },
|
|
45024
|
+
react_1["default"].createElement(Icon_1.Icon, { icon: chevron_down_icon_svg_1["default"], role: "img", title: "Open menu" })
|
|
45025
|
+
);
|
|
45026
|
+
};
|
|
45027
|
+
_this.renderButtonContent = function() {
|
|
45028
|
+
var label = _this.props.label;
|
|
45029
|
+
var icon = _this.props.icon;
|
|
45030
|
+
if (!icon && !label) {
|
|
45031
|
+
icon = ellipsis_icon_svg_1["default"];
|
|
45032
|
+
}
|
|
45033
|
+
return react_1["default"].createElement(
|
|
45034
|
+
react_1["default"].Fragment,
|
|
45035
|
+
null,
|
|
45036
|
+
_this.renderIcon(icon),
|
|
45037
|
+
label && react_1["default"].createElement("span", { className: Dropdown_module_scss_1["default"].dropdownLabel }, label),
|
|
45038
|
+
_this.renderDownArrow()
|
|
45039
|
+
);
|
|
45040
|
+
};
|
|
45041
|
+
_this.renderReversedButtonContent = function() {
|
|
45042
|
+
var _a = _this.props, icon = _a.icon, label = _a.label;
|
|
45043
|
+
return react_1["default"].createElement(
|
|
45044
|
+
react_1["default"].Fragment,
|
|
45045
|
+
null,
|
|
45046
|
+
_this.renderDownArrow(),
|
|
45047
|
+
label && react_1["default"].createElement("span", { className: Dropdown_module_scss_1["default"].dropdownLabel }, label),
|
|
45048
|
+
_this.renderIcon(icon)
|
|
45049
|
+
);
|
|
45050
|
+
};
|
|
45051
|
+
_this.state = {
|
|
45052
|
+
isMenuVisible: Boolean(props.menuVisible)
|
|
45053
|
+
};
|
|
45054
|
+
return _this;
|
|
45055
|
+
}
|
|
45056
|
+
Dropdown2.prototype.getPosition = function() {
|
|
45057
|
+
return this.dropdownButton && this.dropdownButton.current ? this.dropdownButton.current.getBoundingClientRect() : null;
|
|
45058
|
+
};
|
|
45059
|
+
Dropdown2.prototype.renderDropdownMenu = function() {
|
|
45060
|
+
return react_1["default"].createElement(DropdownMenu_1["default"], { hideDropdownMenu: this.hideDropdownMenu, position: this.getPosition() }, this.props.children);
|
|
45061
|
+
};
|
|
45062
|
+
Dropdown2.prototype.render = function() {
|
|
45063
|
+
var _a;
|
|
45064
|
+
var _b = this.props, controlAction = _b.controlAction, automationId = _b.automationId, iconPosition = _b.iconPosition, reversedColor = _b.reversedColor;
|
|
45065
|
+
var reverseIcon = iconPosition === "end";
|
|
45066
|
+
var btnClass = (0, classnames_1["default"])(Dropdown_module_scss_1["default"].dropdownButton, (_a = {}, _a[Dropdown_module_scss_1["default"].dropdownControlAction] = controlAction, _a[Dropdown_module_scss_1["default"].isOpen] = this.state.isMenuVisible, _a[Dropdown_module_scss_1["default"].reversedColor] = reversedColor, _a));
|
|
45067
|
+
return react_1["default"].createElement(
|
|
45068
|
+
"div",
|
|
45069
|
+
{ className: Dropdown_module_scss_1["default"].dropdown },
|
|
45070
|
+
react_1["default"].createElement(
|
|
45071
|
+
"button",
|
|
45072
|
+
{ className: btnClass, onClick: this.toggleDropdownMenu, onMouseDown: function(e) {
|
|
45073
|
+
return e.preventDefault();
|
|
45074
|
+
}, ref: this.dropdownButton, "data-automation-id": automationId },
|
|
45075
|
+
!reverseIcon && this.renderButtonContent(),
|
|
45076
|
+
reverseIcon && this.renderReversedButtonContent()
|
|
45077
|
+
),
|
|
45078
|
+
this.state.isMenuVisible && this.renderDropdownMenu()
|
|
45079
|
+
);
|
|
45080
|
+
};
|
|
45081
|
+
Dropdown2.displayName = "Dropdown";
|
|
45082
|
+
Dropdown2.defaultProps = {
|
|
45083
|
+
iconPosition: "start"
|
|
45084
|
+
};
|
|
45085
|
+
return Dropdown2;
|
|
45086
|
+
}(react_1["default"].Component)
|
|
44788
45087
|
);
|
|
45088
|
+
exports["default"] = Dropdown;
|
|
45089
|
+
})(Dropdown);
|
|
45090
|
+
|
|
45091
|
+
(function(exports) {
|
|
45092
|
+
var __createBinding = commonjsGlobal && commonjsGlobal.__createBinding || (Object.create ? function(o, m, k, k2) {
|
|
45093
|
+
if (k2 === void 0)
|
|
45094
|
+
k2 = k;
|
|
45095
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
45096
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
45097
|
+
desc = { enumerable: true, get: function() {
|
|
45098
|
+
return m[k];
|
|
45099
|
+
} };
|
|
45100
|
+
}
|
|
45101
|
+
Object.defineProperty(o, k2, desc);
|
|
45102
|
+
} : function(o, m, k, k2) {
|
|
45103
|
+
if (k2 === void 0)
|
|
45104
|
+
k2 = k;
|
|
45105
|
+
o[k2] = m[k];
|
|
45106
|
+
});
|
|
45107
|
+
exports.__esModule = true;
|
|
45108
|
+
exports.Dropdown = void 0;
|
|
45109
|
+
var Dropdown_1 = Dropdown;
|
|
45110
|
+
__createBinding(exports, Dropdown_1, "default", "Dropdown");
|
|
45111
|
+
})(Dropdown$1);
|
|
45112
|
+
|
|
45113
|
+
var Layout$1 = {};
|
|
45114
|
+
|
|
45115
|
+
var Layout = {};
|
|
45116
|
+
|
|
45117
|
+
var Layout_module = {"root":"Layout-module_root__SgXZT","navigationBar":"Layout-module_navigationBar__1xbfp","page":"Layout-module_page__ZSTUO","header":"Layout-module_header__X1E96","footer":"Layout-module_footer__wFknz","body":"Layout-module_body__r1d-M","bodyInner":"Layout-module_bodyInner__e5WA6","sidebar":"Layout-module_sidebar__FSH-B","content":"Layout-module_content__6gaoR","toasts":"Layout-module_toasts__ZDy2G","announcers":"Layout-module_announcers__fAmmq"};
|
|
45118
|
+
|
|
45119
|
+
var Layout_module$1 = /*#__PURE__*/Object.freeze({
|
|
45120
|
+
__proto__: null,
|
|
45121
|
+
default: Layout_module
|
|
45122
|
+
});
|
|
45123
|
+
|
|
45124
|
+
var require$$1$3 = /*@__PURE__*/getAugmentedNamespace(Layout_module$1);
|
|
45125
|
+
|
|
45126
|
+
(function(exports) {
|
|
45127
|
+
var __extends = commonjsGlobal && commonjsGlobal.__extends || function() {
|
|
45128
|
+
var extendStatics = function(d, b) {
|
|
45129
|
+
extendStatics = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(d2, b2) {
|
|
45130
|
+
d2.__proto__ = b2;
|
|
45131
|
+
} || function(d2, b2) {
|
|
45132
|
+
for (var p in b2)
|
|
45133
|
+
if (Object.prototype.hasOwnProperty.call(b2, p))
|
|
45134
|
+
d2[p] = b2[p];
|
|
45135
|
+
};
|
|
45136
|
+
return extendStatics(d, b);
|
|
45137
|
+
};
|
|
45138
|
+
return function(d, b) {
|
|
45139
|
+
if (typeof b !== "function" && b !== null)
|
|
45140
|
+
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
|
|
45141
|
+
extendStatics(d, b);
|
|
45142
|
+
function __() {
|
|
45143
|
+
this.constructor = d;
|
|
45144
|
+
}
|
|
45145
|
+
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
45146
|
+
};
|
|
45147
|
+
}();
|
|
45148
|
+
var __importDefault = commonjsGlobal && commonjsGlobal.__importDefault || function(mod) {
|
|
45149
|
+
return mod && mod.__esModule ? mod : { "default": mod };
|
|
45150
|
+
};
|
|
45151
|
+
exports.__esModule = true;
|
|
45152
|
+
var react_1 = __importDefault(React__default);
|
|
45153
|
+
var Layout_module_scss_1 = __importDefault(require$$1$3);
|
|
45154
|
+
var NavigationBar = function(_a) {
|
|
45155
|
+
var children = _a.children;
|
|
45156
|
+
return react_1["default"].createElement("div", { className: Layout_module_scss_1["default"].navigationBar }, children);
|
|
45157
|
+
};
|
|
45158
|
+
NavigationBar.displayName = "NavigationBar";
|
|
45159
|
+
var Sidebar = function(_a) {
|
|
45160
|
+
var children = _a.children;
|
|
45161
|
+
return react_1["default"].createElement(
|
|
45162
|
+
"div",
|
|
45163
|
+
{ className: Layout_module_scss_1["default"].sidebar },
|
|
45164
|
+
react_1["default"].createElement("div", { className: Layout_module_scss_1["default"].sidebarInner }, children)
|
|
45165
|
+
);
|
|
45166
|
+
};
|
|
45167
|
+
Sidebar.displayName = "Sidebar";
|
|
45168
|
+
var Header = function(_a) {
|
|
45169
|
+
var children = _a.children;
|
|
45170
|
+
return react_1["default"].createElement("aside", { className: Layout_module_scss_1["default"].header }, children);
|
|
45171
|
+
};
|
|
45172
|
+
Header.displayName = "Header";
|
|
45173
|
+
var Footer = function(_a) {
|
|
45174
|
+
var children = _a.children;
|
|
45175
|
+
return react_1["default"].createElement("footer", { className: Layout_module_scss_1["default"].footer }, children);
|
|
45176
|
+
};
|
|
45177
|
+
Footer.displayName = "Footer";
|
|
45178
|
+
var Toasts = function(_a) {
|
|
45179
|
+
var children = _a.children;
|
|
45180
|
+
return react_1["default"].createElement("div", { className: Layout_module_scss_1["default"].toasts, "aria-live": "assertive" }, children);
|
|
45181
|
+
};
|
|
45182
|
+
Toasts.displayName = "Toasts";
|
|
45183
|
+
var Announcers = function(_a) {
|
|
45184
|
+
var children = _a.children;
|
|
45185
|
+
return react_1["default"].createElement("div", { className: Layout_module_scss_1["default"].announcers, "aria-live": "assertive" }, children);
|
|
45186
|
+
};
|
|
45187
|
+
Announcers.displayName = "Announcers";
|
|
45188
|
+
var Layout = (
|
|
45189
|
+
/** @class */
|
|
45190
|
+
function(_super) {
|
|
45191
|
+
__extends(Layout2, _super);
|
|
45192
|
+
function Layout2() {
|
|
45193
|
+
return _super !== null && _super.apply(this, arguments) || this;
|
|
45194
|
+
}
|
|
45195
|
+
Layout2.prototype.render = function() {
|
|
45196
|
+
var content = react_1["default"].Children.toArray(this.props.children);
|
|
45197
|
+
var navbar = extractChildOfType(content, NavigationBar);
|
|
45198
|
+
var header = extractChildOfType(content, Header);
|
|
45199
|
+
var sidebar = extractChildOfType(content, Sidebar);
|
|
45200
|
+
var footer = extractChildOfType(content, Footer);
|
|
45201
|
+
var announcers = extractChildOfType(content, Announcers);
|
|
45202
|
+
var toasts = extractChildOfType(content, Toasts);
|
|
45203
|
+
return react_1["default"].createElement(
|
|
45204
|
+
"div",
|
|
45205
|
+
{ className: Layout_module_scss_1["default"].root },
|
|
45206
|
+
navbar,
|
|
45207
|
+
announcers,
|
|
45208
|
+
react_1["default"].createElement(
|
|
45209
|
+
"div",
|
|
45210
|
+
{ className: Layout_module_scss_1["default"].page },
|
|
45211
|
+
header,
|
|
45212
|
+
toasts,
|
|
45213
|
+
react_1["default"].createElement(
|
|
45214
|
+
"div",
|
|
45215
|
+
{ className: Layout_module_scss_1["default"].body },
|
|
45216
|
+
react_1["default"].createElement(
|
|
45217
|
+
"div",
|
|
45218
|
+
{ className: Layout_module_scss_1["default"].bodyInner },
|
|
45219
|
+
sidebar,
|
|
45220
|
+
react_1["default"].createElement("main", { className: Layout_module_scss_1["default"].content }, content)
|
|
45221
|
+
)
|
|
45222
|
+
),
|
|
45223
|
+
footer
|
|
45224
|
+
)
|
|
45225
|
+
);
|
|
45226
|
+
};
|
|
45227
|
+
Layout2.displayName = "Layout";
|
|
45228
|
+
Layout2.NavigationBar = NavigationBar;
|
|
45229
|
+
Layout2.Sidebar = Sidebar;
|
|
45230
|
+
Layout2.Header = Header;
|
|
45231
|
+
Layout2.Footer = Footer;
|
|
45232
|
+
Layout2.Toasts = Toasts;
|
|
45233
|
+
Layout2.Announcers = Announcers;
|
|
45234
|
+
return Layout2;
|
|
45235
|
+
}(react_1["default"].Component)
|
|
45236
|
+
);
|
|
45237
|
+
var extractChildOfType = function(children, type) {
|
|
45238
|
+
var match = children.find(function(child) {
|
|
45239
|
+
if (react_1["default"].isValidElement(child) && typeof child.type === "function") {
|
|
45240
|
+
return child.type.displayName === type.displayName;
|
|
45241
|
+
}
|
|
45242
|
+
return false;
|
|
45243
|
+
});
|
|
45244
|
+
if (match) {
|
|
45245
|
+
var index = children.indexOf(match);
|
|
45246
|
+
children.splice(index, 1);
|
|
45247
|
+
}
|
|
45248
|
+
return match;
|
|
45249
|
+
};
|
|
45250
|
+
exports["default"] = Layout;
|
|
45251
|
+
})(Layout);
|
|
45252
|
+
|
|
45253
|
+
(function(exports) {
|
|
45254
|
+
var __createBinding = commonjsGlobal && commonjsGlobal.__createBinding || (Object.create ? function(o, m, k, k2) {
|
|
45255
|
+
if (k2 === void 0)
|
|
45256
|
+
k2 = k;
|
|
45257
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
45258
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
45259
|
+
desc = { enumerable: true, get: function() {
|
|
45260
|
+
return m[k];
|
|
45261
|
+
} };
|
|
45262
|
+
}
|
|
45263
|
+
Object.defineProperty(o, k2, desc);
|
|
45264
|
+
} : function(o, m, k, k2) {
|
|
45265
|
+
if (k2 === void 0)
|
|
45266
|
+
k2 = k;
|
|
45267
|
+
o[k2] = m[k];
|
|
45268
|
+
});
|
|
45269
|
+
exports.__esModule = true;
|
|
45270
|
+
exports.Layout = void 0;
|
|
45271
|
+
var Layout_1 = Layout;
|
|
45272
|
+
__createBinding(exports, Layout_1, "default", "Layout");
|
|
45273
|
+
})(Layout$1);
|
|
45274
|
+
|
|
45275
|
+
var MenuList$1 = {};
|
|
45276
|
+
|
|
45277
|
+
var MenuList = {};
|
|
45278
|
+
|
|
45279
|
+
var Menu_module = {"menuList":"Menu-module_menuList__behqY","header":"Menu-module_header__MMpNm","header__title":"Menu-module_header__title__4QK0E","menuItem":"Menu-module_menuItem__0rlZg Icon-module_interactiveIconWrapper__ieTrE","menuItem--active":"Menu-module_menuItem--active__xr3IS Icon-module_active__d47mz","menuItem__Icon":"Menu-module_menuItem__Icon__SEvH-","menuItem--destructive":"Menu-module_menuItem--destructive__bg0qx","menuItem__Label":"Menu-module_menuItem__Label__KPrkg","hoverIcon":"Menu-module_hoverIcon__WCsbC","separator":"Menu-module_separator__RCRVm"};
|
|
45280
|
+
|
|
45281
|
+
var Menu_module$1 = /*#__PURE__*/Object.freeze({
|
|
45282
|
+
__proto__: null,
|
|
45283
|
+
default: Menu_module
|
|
45284
|
+
});
|
|
45285
|
+
|
|
45286
|
+
var require$$1$2 = /*@__PURE__*/getAugmentedNamespace(Menu_module$1);
|
|
45287
|
+
|
|
45288
|
+
(function(exports) {
|
|
45289
|
+
var __importDefault = commonjsGlobal && commonjsGlobal.__importDefault || function(mod) {
|
|
45290
|
+
return mod && mod.__esModule ? mod : { "default": mod };
|
|
45291
|
+
};
|
|
45292
|
+
exports.__esModule = true;
|
|
45293
|
+
var react_1 = __importDefault(React__default);
|
|
45294
|
+
var Menu_module_scss_1 = __importDefault(require$$1$2);
|
|
45295
|
+
var MenuList = function(props) {
|
|
45296
|
+
return react_1["default"].createElement("div", { className: Menu_module_scss_1["default"].menuList }, props.children);
|
|
45297
|
+
};
|
|
45298
|
+
MenuList.displayName = "MenuList";
|
|
45299
|
+
exports["default"] = MenuList;
|
|
45300
|
+
})(MenuList);
|
|
45301
|
+
|
|
45302
|
+
var MenuHeader = {};
|
|
45303
|
+
|
|
45304
|
+
(function(exports) {
|
|
45305
|
+
var __importDefault = commonjsGlobal && commonjsGlobal.__importDefault || function(mod) {
|
|
45306
|
+
return mod && mod.__esModule ? mod : { "default": mod };
|
|
45307
|
+
};
|
|
45308
|
+
exports.__esModule = true;
|
|
45309
|
+
var react_1 = __importDefault(React__default);
|
|
45310
|
+
var Menu_module_scss_1 = __importDefault(require$$1$2);
|
|
45311
|
+
var MenuHeader = function(props) {
|
|
45312
|
+
return react_1["default"].createElement(
|
|
45313
|
+
"div",
|
|
45314
|
+
{ className: Menu_module_scss_1["default"].header },
|
|
45315
|
+
react_1["default"].createElement("span", { className: Menu_module_scss_1["default"].header__title }, props.title)
|
|
45316
|
+
);
|
|
45317
|
+
};
|
|
45318
|
+
MenuHeader.displayName = "MenuHeader";
|
|
45319
|
+
exports["default"] = MenuHeader;
|
|
45320
|
+
})(MenuHeader);
|
|
45321
|
+
|
|
45322
|
+
var MenuItem = {};
|
|
45323
|
+
|
|
45324
|
+
(function(exports) {
|
|
45325
|
+
var __importDefault = commonjsGlobal && commonjsGlobal.__importDefault || function(mod) {
|
|
45326
|
+
return mod && mod.__esModule ? mod : { "default": mod };
|
|
45327
|
+
};
|
|
45328
|
+
exports.__esModule = true;
|
|
45329
|
+
var react_1 = __importDefault(React__default);
|
|
45330
|
+
var classnames_1 = __importDefault(classnamesExports);
|
|
45331
|
+
var Icon_1 = Icon$1;
|
|
45332
|
+
var Menu_module_scss_1 = __importDefault(require$$1$2);
|
|
45333
|
+
var MenuItem = function(props) {
|
|
45334
|
+
var _a;
|
|
45335
|
+
var icon = props.icon, hoverIcon = props.hoverIcon, children = props.children, action = props.action, active = props.active, destructive = props.destructive, automationId = props.automationId;
|
|
45336
|
+
var isLink = typeof action === "string";
|
|
45337
|
+
var label = react_1["default"].createElement(
|
|
45338
|
+
"span",
|
|
45339
|
+
{ className: Menu_module_scss_1["default"].menuItem__Label },
|
|
45340
|
+
children,
|
|
45341
|
+
isLink && "\u2026"
|
|
45342
|
+
);
|
|
45343
|
+
var iconNode = icon && react_1["default"].createElement(
|
|
45344
|
+
"span",
|
|
45345
|
+
{ className: Menu_module_scss_1["default"].menuItem__Icon },
|
|
45346
|
+
react_1["default"].createElement(Icon_1.Icon, { icon, role: "presentation" })
|
|
45347
|
+
);
|
|
45348
|
+
var className = (0, classnames_1["default"])((_a = {}, _a[Menu_module_scss_1["default"].menuItem] = true, _a[Menu_module_scss_1["default"].hoverIcon] = icon && hoverIcon, _a[Menu_module_scss_1["default"]["menuItem--active"]] = active, _a[Menu_module_scss_1["default"]["menuItem--destructive"]] = destructive, _a));
|
|
45349
|
+
if (typeof action === "string") {
|
|
45350
|
+
return react_1["default"].createElement(
|
|
45351
|
+
"a",
|
|
45352
|
+
{ href: action, className, "data-automation-id": automationId },
|
|
45353
|
+
label,
|
|
45354
|
+
iconNode
|
|
45355
|
+
);
|
|
45356
|
+
}
|
|
45357
|
+
return (
|
|
45358
|
+
// Disabling instead of addressing because this component is deprecated.
|
|
45359
|
+
// eslint-disable-next-line jsx-a11y/anchor-is-valid
|
|
45360
|
+
react_1["default"].createElement(
|
|
45361
|
+
"a",
|
|
45362
|
+
{ href: "#", onClick: action, className, "data-automation-id": automationId },
|
|
45363
|
+
label,
|
|
45364
|
+
iconNode
|
|
45365
|
+
)
|
|
45366
|
+
);
|
|
45367
|
+
};
|
|
45368
|
+
MenuItem.displayName = "MenuItem";
|
|
45369
|
+
exports["default"] = MenuItem;
|
|
45370
|
+
})(MenuItem);
|
|
45371
|
+
|
|
45372
|
+
var MenuSeparator = {};
|
|
45373
|
+
|
|
45374
|
+
(function(exports) {
|
|
45375
|
+
var __importDefault = commonjsGlobal && commonjsGlobal.__importDefault || function(mod) {
|
|
45376
|
+
return mod && mod.__esModule ? mod : { "default": mod };
|
|
45377
|
+
};
|
|
45378
|
+
exports.__esModule = true;
|
|
45379
|
+
var react_1 = __importDefault(React__default);
|
|
45380
|
+
var Menu_module_scss_1 = __importDefault(require$$1$2);
|
|
45381
|
+
var MenuSeparator = function() {
|
|
45382
|
+
return react_1["default"].createElement("hr", { className: Menu_module_scss_1["default"].separator });
|
|
45383
|
+
};
|
|
45384
|
+
MenuSeparator.displayName = "MenuSeparator";
|
|
45385
|
+
exports["default"] = MenuSeparator;
|
|
45386
|
+
})(MenuSeparator);
|
|
45387
|
+
|
|
45388
|
+
(function(exports) {
|
|
45389
|
+
var __createBinding = commonjsGlobal && commonjsGlobal.__createBinding || (Object.create ? function(o, m, k, k2) {
|
|
45390
|
+
if (k2 === void 0)
|
|
45391
|
+
k2 = k;
|
|
45392
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
45393
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
45394
|
+
desc = { enumerable: true, get: function() {
|
|
45395
|
+
return m[k];
|
|
45396
|
+
} };
|
|
45397
|
+
}
|
|
45398
|
+
Object.defineProperty(o, k2, desc);
|
|
45399
|
+
} : function(o, m, k, k2) {
|
|
45400
|
+
if (k2 === void 0)
|
|
45401
|
+
k2 = k;
|
|
45402
|
+
o[k2] = m[k];
|
|
45403
|
+
});
|
|
45404
|
+
exports.__esModule = true;
|
|
45405
|
+
exports.MenuSeparator = exports.MenuItem = exports.MenuHeader = exports.MenuList = void 0;
|
|
45406
|
+
var MenuList_1 = MenuList;
|
|
45407
|
+
__createBinding(exports, MenuList_1, "default", "MenuList");
|
|
45408
|
+
var MenuHeader_1 = MenuHeader;
|
|
45409
|
+
__createBinding(exports, MenuHeader_1, "default", "MenuHeader");
|
|
45410
|
+
var MenuItem_1 = MenuItem;
|
|
45411
|
+
__createBinding(exports, MenuItem_1, "default", "MenuItem");
|
|
45412
|
+
var MenuSeparator_1 = MenuSeparator;
|
|
45413
|
+
__createBinding(exports, MenuSeparator_1, "default", "MenuSeparator");
|
|
45414
|
+
})(MenuList$1);
|
|
45415
|
+
|
|
45416
|
+
var Text$1 = {};
|
|
45417
|
+
|
|
45418
|
+
var Text = {};
|
|
45419
|
+
|
|
45420
|
+
var Text_module = {"page-title":"Text-module_page-title__LPGyH","default-style":"Text-module_default-style__wxvqC","title":"Text-module_title__zDZi1","display":"Text-module_display__4XAjg","heading":"Text-module_heading__bdw3r","lede":"Text-module_lede__rvztp","paragraph":"Text-module_paragraph__65c7w","body":"Text-module_body__5HknB","body-bold":"Text-module_body-bold__M2YFx","small":"Text-module_small__VBWdb","small-bold":"Text-module_small-bold__IFUAu","notification":"Text-module_notification__jl725","label":"Text-module_label__gUBTw","control-action":"Text-module_control-action__BErPr","button":"Text-module_button__nPbRH","inheritBaseline":"Text-module_inheritBaseline__D0Lfs","inline":"Text-module_inline__KlYw2","defaultStyle":"Text-module_defaultStyle__Tka8v Text-module_default-style__wxvqC","pageTitle":"Text-module_pageTitle__-NMTK Text-module_page-title__LPGyH","bodyBold":"Text-module_bodyBold__CCDF7 Text-module_body-bold__M2YFx","smallBold":"Text-module_smallBold__TdPug Text-module_small-bold__IFUAu","controlAction":"Text-module_controlAction__WB-Pz Text-module_control-action__BErPr","zen-display-0":"Text-module_zen-display-0__s1w7g","zen-heading-1":"Text-module_zen-heading-1__YX01A","zen-heading-2":"Text-module_zen-heading-2__JVOtq","zen-heading-3":"Text-module_zen-heading-3__JOT3q","zen-data-large":"Text-module_zen-data-large__EgwWh","zen-data-large-units":"Text-module_zen-data-large-units__lZjpK","zen-data-medium":"Text-module_zen-data-medium__wKodD","zen-data-medium-units":"Text-module_zen-data-medium-units__zh-e8","zen-data-small":"Text-module_zen-data-small__LtxHR","zen-data-small-units":"Text-module_zen-data-small-units__0RtFJ"};
|
|
45421
|
+
|
|
45422
|
+
var Text_module$1 = /*#__PURE__*/Object.freeze({
|
|
45423
|
+
__proto__: null,
|
|
45424
|
+
default: Text_module
|
|
45425
|
+
});
|
|
45426
|
+
|
|
45427
|
+
var require$$2 = /*@__PURE__*/getAugmentedNamespace(Text_module$1);
|
|
45428
|
+
|
|
45429
|
+
(function(exports) {
|
|
45430
|
+
var __importDefault = commonjsGlobal && commonjsGlobal.__importDefault || function(mod) {
|
|
45431
|
+
return mod && mod.__esModule ? mod : { "default": mod };
|
|
45432
|
+
};
|
|
45433
|
+
exports.__esModule = true;
|
|
45434
|
+
var react_1 = __importDefault(React__default);
|
|
45435
|
+
var classnames_1 = __importDefault(classnamesExports);
|
|
45436
|
+
var Text_module_scss_1 = __importDefault(require$$2);
|
|
45437
|
+
var Text = function(_a) {
|
|
45438
|
+
var _b;
|
|
45439
|
+
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;
|
|
45440
|
+
return react_1["default"].createElement(tag, {
|
|
45441
|
+
className: (0, classnames_1["default"])(Text_module_scss_1["default"][style], (_b = {}, _b[Text_module_scss_1["default"].inheritBaseline] = inheritBaseline, _b[Text_module_scss_1["default"].inline] = inline, _b))
|
|
45442
|
+
}, children);
|
|
45443
|
+
};
|
|
45444
|
+
Text.displayName = "Text";
|
|
45445
|
+
exports["default"] = Text;
|
|
45446
|
+
})(Text);
|
|
45447
|
+
|
|
45448
|
+
(function(exports) {
|
|
45449
|
+
var __createBinding = commonjsGlobal && commonjsGlobal.__createBinding || (Object.create ? function(o, m, k, k2) {
|
|
45450
|
+
if (k2 === void 0)
|
|
45451
|
+
k2 = k;
|
|
45452
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
45453
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
45454
|
+
desc = { enumerable: true, get: function() {
|
|
45455
|
+
return m[k];
|
|
45456
|
+
} };
|
|
45457
|
+
}
|
|
45458
|
+
Object.defineProperty(o, k2, desc);
|
|
45459
|
+
} : function(o, m, k, k2) {
|
|
45460
|
+
if (k2 === void 0)
|
|
45461
|
+
k2 = k;
|
|
45462
|
+
o[k2] = m[k];
|
|
45463
|
+
});
|
|
45464
|
+
exports.__esModule = true;
|
|
45465
|
+
exports.Text = void 0;
|
|
45466
|
+
var Text_1 = Text;
|
|
45467
|
+
__createBinding(exports, Text_1, "default", "Text");
|
|
45468
|
+
})(Text$1);
|
|
45469
|
+
|
|
45470
|
+
var Spacing = {};
|
|
45471
|
+
|
|
45472
|
+
var padding = {};
|
|
45473
|
+
|
|
45474
|
+
var util = {};
|
|
45475
|
+
|
|
45476
|
+
util.__esModule = true;
|
|
45477
|
+
util.convertFractionToString = void 0;
|
|
45478
|
+
var convertFractionToString = function(fraction) {
|
|
45479
|
+
switch (fraction) {
|
|
45480
|
+
case 0:
|
|
45481
|
+
default:
|
|
45482
|
+
return "0";
|
|
45483
|
+
case 0.25:
|
|
45484
|
+
return "0-point-25";
|
|
45485
|
+
case 0.5:
|
|
45486
|
+
return "0-point-5";
|
|
45487
|
+
case 0.75:
|
|
45488
|
+
return "0-point-75";
|
|
45489
|
+
case 1:
|
|
45490
|
+
return "1";
|
|
45491
|
+
case 1.25:
|
|
45492
|
+
return "1-point-25";
|
|
45493
|
+
case 1.5:
|
|
45494
|
+
return "1-point-5";
|
|
45495
|
+
case 1.75:
|
|
45496
|
+
return "1-point-75";
|
|
45497
|
+
case 2:
|
|
45498
|
+
return "2";
|
|
45499
|
+
case 2.5:
|
|
45500
|
+
return "2-point-5";
|
|
45501
|
+
case 3:
|
|
45502
|
+
return "3";
|
|
45503
|
+
case 3.5:
|
|
45504
|
+
return "3-point-5";
|
|
45505
|
+
case 4:
|
|
45506
|
+
return "4";
|
|
45507
|
+
}
|
|
44789
45508
|
};
|
|
44790
|
-
|
|
45509
|
+
util.convertFractionToString = convertFractionToString;
|
|
45510
|
+
|
|
45511
|
+
var Padding_module = {"p-0":"Padding-module_p-0__MEDlm","pt-0":"Padding-module_pt-0__2lPMY","pr-0":"Padding-module_pr-0__tgwOG","pb-0":"Padding-module_pb-0__h-og-","pl-0":"Padding-module_pl-0__KQQIN","p-0-point-25":"Padding-module_p-0-point-25__WR6Pl","pt-0-point-25":"Padding-module_pt-0-point-25__OHxwL","pr-0-point-25":"Padding-module_pr-0-point-25__dw3lt","pb-0-point-25":"Padding-module_pb-0-point-25__R-G37","pl-0-point-25":"Padding-module_pl-0-point-25__4H6f8","p-0-point-5":"Padding-module_p-0-point-5__5z-Tg","pt-0-point-5":"Padding-module_pt-0-point-5__BILAZ","pr-0-point-5":"Padding-module_pr-0-point-5__Qdc6L","pb-0-point-5":"Padding-module_pb-0-point-5__FJOcg","pl-0-point-5":"Padding-module_pl-0-point-5__gctiZ","p-0-point-75":"Padding-module_p-0-point-75__SCNgd","pt-0-point-75":"Padding-module_pt-0-point-75__Cve0I","pr-0-point-75":"Padding-module_pr-0-point-75__11l9x","pb-0-point-75":"Padding-module_pb-0-point-75__WfgDh","pl-0-point-75":"Padding-module_pl-0-point-75__YKbVF","p-1":"Padding-module_p-1__jIDUT","pt-1":"Padding-module_pt-1__r358b","pr-1":"Padding-module_pr-1__fdsMH","pb-1":"Padding-module_pb-1__gkHqH","pl-1":"Padding-module_pl-1__1fvrt","p-1-point-25":"Padding-module_p-1-point-25__9q2Tk","pt-1-point-25":"Padding-module_pt-1-point-25__uYpt3","pr-1-point-25":"Padding-module_pr-1-point-25__8xYeA","pb-1-point-25":"Padding-module_pb-1-point-25__JwIfB","pl-1-point-25":"Padding-module_pl-1-point-25__-w5XU","p-1-point-5":"Padding-module_p-1-point-5__LICS6","pt-1-point-5":"Padding-module_pt-1-point-5__p9H7t","pr-1-point-5":"Padding-module_pr-1-point-5__agJTp","pb-1-point-5":"Padding-module_pb-1-point-5__Ig7SW","pl-1-point-5":"Padding-module_pl-1-point-5__iBcnI","p-1-point-75":"Padding-module_p-1-point-75__lctpg","pt-1-point-75":"Padding-module_pt-1-point-75__MVIUz","pr-1-point-75":"Padding-module_pr-1-point-75__A-Ur-","pb-1-point-75":"Padding-module_pb-1-point-75__TctUk","pl-1-point-75":"Padding-module_pl-1-point-75__ahplz","p-2":"Padding-module_p-2__iEsEq","pt-2":"Padding-module_pt-2__-uaDE","pr-2":"Padding-module_pr-2__py781","pb-2":"Padding-module_pb-2__75eso","pl-2":"Padding-module_pl-2__4L8zZ","p-2-point-5":"Padding-module_p-2-point-5__fFM5N","pt-2-point-5":"Padding-module_pt-2-point-5__aDZvm","pr-2-point-5":"Padding-module_pr-2-point-5__H-fJW","pb-2-point-5":"Padding-module_pb-2-point-5__0oSvZ","pl-2-point-5":"Padding-module_pl-2-point-5__BGKgq","p-3":"Padding-module_p-3__LltVV","pt-3":"Padding-module_pt-3__Ew6IB","pr-3":"Padding-module_pr-3__ehVq5","pb-3":"Padding-module_pb-3__u8K7J","pl-3":"Padding-module_pl-3__GLx74","p-3-point-5":"Padding-module_p-3-point-5__PyzuE","pt-3-point-5":"Padding-module_pt-3-point-5__qKa2E","pr-3-point-5":"Padding-module_pr-3-point-5__xJlsH","pb-3-point-5":"Padding-module_pb-3-point-5__H4D4H","pl-3-point-5":"Padding-module_pl-3-point-5__krW-a","p-4":"Padding-module_p-4__boMST","pt-4":"Padding-module_pt-4__lHX5n","pr-4":"Padding-module_pr-4__sl2rR","pb-4":"Padding-module_pb-4__ffDeO","pl-4":"Padding-module_pl-4__mRkKo"};
|
|
45512
|
+
|
|
45513
|
+
var Padding_module$1 = /*#__PURE__*/Object.freeze({
|
|
45514
|
+
__proto__: null,
|
|
45515
|
+
default: Padding_module
|
|
45516
|
+
});
|
|
45517
|
+
|
|
45518
|
+
var require$$1$1 = /*@__PURE__*/getAugmentedNamespace(Padding_module$1);
|
|
45519
|
+
|
|
45520
|
+
(function(exports) {
|
|
45521
|
+
var __importDefault = commonjsGlobal && commonjsGlobal.__importDefault || function(mod) {
|
|
45522
|
+
return mod && mod.__esModule ? mod : { "default": mod };
|
|
45523
|
+
};
|
|
45524
|
+
exports.__esModule = true;
|
|
45525
|
+
exports.paddingClasses = exports.p = exports.py = exports.px = exports.pl = exports.pb = exports.pr = exports.pt = void 0;
|
|
45526
|
+
var util_1 = util;
|
|
45527
|
+
var Padding_module_scss_1 = __importDefault(require$$1$1);
|
|
45528
|
+
var pt = function(unit) {
|
|
45529
|
+
return [
|
|
45530
|
+
Padding_module_scss_1["default"]["pt-".concat((0, util_1.convertFractionToString)(unit))]
|
|
45531
|
+
];
|
|
45532
|
+
};
|
|
45533
|
+
exports.pt = pt;
|
|
45534
|
+
var pr = function(unit) {
|
|
45535
|
+
return [
|
|
45536
|
+
Padding_module_scss_1["default"]["pr-".concat((0, util_1.convertFractionToString)(unit))]
|
|
45537
|
+
];
|
|
45538
|
+
};
|
|
45539
|
+
exports.pr = pr;
|
|
45540
|
+
var pb = function(unit) {
|
|
45541
|
+
return [
|
|
45542
|
+
Padding_module_scss_1["default"]["pb-".concat((0, util_1.convertFractionToString)(unit))]
|
|
45543
|
+
];
|
|
45544
|
+
};
|
|
45545
|
+
exports.pb = pb;
|
|
45546
|
+
var pl = function(unit) {
|
|
45547
|
+
return [
|
|
45548
|
+
Padding_module_scss_1["default"]["pl-".concat((0, util_1.convertFractionToString)(unit))]
|
|
45549
|
+
];
|
|
45550
|
+
};
|
|
45551
|
+
exports.pl = pl;
|
|
45552
|
+
var px = function(unit) {
|
|
45553
|
+
return [
|
|
45554
|
+
Padding_module_scss_1["default"]["pl-".concat((0, util_1.convertFractionToString)(unit))],
|
|
45555
|
+
Padding_module_scss_1["default"]["pr-".concat((0, util_1.convertFractionToString)(unit))]
|
|
45556
|
+
];
|
|
45557
|
+
};
|
|
45558
|
+
exports.px = px;
|
|
45559
|
+
var py = function(unit) {
|
|
45560
|
+
return [
|
|
45561
|
+
Padding_module_scss_1["default"]["pt-".concat((0, util_1.convertFractionToString)(unit))],
|
|
45562
|
+
Padding_module_scss_1["default"]["pb-".concat((0, util_1.convertFractionToString)(unit))]
|
|
45563
|
+
];
|
|
45564
|
+
};
|
|
45565
|
+
exports.py = py;
|
|
45566
|
+
var p = function(unit) {
|
|
45567
|
+
var classes = [];
|
|
45568
|
+
if (typeof unit === "number") {
|
|
45569
|
+
classes.push(Padding_module_scss_1["default"]["p-".concat((0, util_1.convertFractionToString)(unit))]);
|
|
45570
|
+
} else {
|
|
45571
|
+
Object.keys(unit).forEach(function(key) {
|
|
45572
|
+
classes.push(Padding_module_scss_1["default"]["p-".concat((0, util_1.convertFractionToString)(unit[key]), "--").concat(key)]);
|
|
45573
|
+
});
|
|
45574
|
+
}
|
|
45575
|
+
return classes;
|
|
45576
|
+
};
|
|
45577
|
+
exports.p = p;
|
|
45578
|
+
var paddingClasses = function(_a) {
|
|
45579
|
+
var padding2 = _a.p, paddingTop = _a.pt, paddingRight = _a.pr, paddingBottom = _a.pb, paddingLeft = _a.pl, paddingXAxis = _a.px, paddingYAxis = _a.py, _b = _a.rtl, rtl = _b === void 0 ? false : _b;
|
|
45580
|
+
var classes = [];
|
|
45581
|
+
if (padding2 !== void 0)
|
|
45582
|
+
classes.push.apply(classes, (0, exports.p)(padding2));
|
|
45583
|
+
if (paddingTop !== void 0)
|
|
45584
|
+
classes.push.apply(classes, (0, exports.pt)(paddingTop));
|
|
45585
|
+
if (paddingBottom !== void 0)
|
|
45586
|
+
classes.push.apply(classes, (0, exports.pb)(paddingBottom));
|
|
45587
|
+
if (paddingXAxis !== void 0)
|
|
45588
|
+
classes.push.apply(classes, (0, exports.px)(paddingXAxis));
|
|
45589
|
+
if (paddingYAxis !== void 0)
|
|
45590
|
+
classes.push.apply(classes, (0, exports.py)(paddingYAxis));
|
|
45591
|
+
if (rtl) {
|
|
45592
|
+
if (paddingRight !== void 0)
|
|
45593
|
+
classes.push.apply(classes, (0, exports.pl)(paddingRight));
|
|
45594
|
+
if (paddingLeft !== void 0)
|
|
45595
|
+
classes.push.apply(classes, (0, exports.pr)(paddingLeft));
|
|
45596
|
+
} else {
|
|
45597
|
+
if (paddingRight !== void 0)
|
|
45598
|
+
classes.push.apply(classes, (0, exports.pr)(paddingRight));
|
|
45599
|
+
if (paddingLeft !== void 0)
|
|
45600
|
+
classes.push.apply(classes, (0, exports.pl)(paddingLeft));
|
|
45601
|
+
}
|
|
45602
|
+
if (padding2 === void 0 && paddingTop === void 0 && paddingRight === void 0 && paddingBottom === void 0 && paddingLeft === void 0 && paddingXAxis === void 0 && paddingYAxis === void 0) {
|
|
45603
|
+
classes.push.apply(classes, (0, exports.p)(0));
|
|
45604
|
+
}
|
|
45605
|
+
return classes;
|
|
45606
|
+
};
|
|
45607
|
+
exports.paddingClasses = paddingClasses;
|
|
45608
|
+
})(padding);
|
|
45609
|
+
|
|
45610
|
+
var margin = {};
|
|
45611
|
+
|
|
45612
|
+
var Margin_module = {"m-0":"Margin-module_m-0__hSA96","mt-0":"Margin-module_mt-0__7WGbv","mr-0":"Margin-module_mr-0__CX8k-","mb-0":"Margin-module_mb-0__LjHy2","ml-0":"Margin-module_ml-0__Ffq2J","m-0-point-25":"Margin-module_m-0-point-25__RrkvF","mt-0-point-25":"Margin-module_mt-0-point-25__lOnmq","mr-0-point-25":"Margin-module_mr-0-point-25__JYjnr","mb-0-point-25":"Margin-module_mb-0-point-25__aSIWe","ml-0-point-25":"Margin-module_ml-0-point-25__UIx-6","m-0-point-5":"Margin-module_m-0-point-5__o1ClI","mt-0-point-5":"Margin-module_mt-0-point-5__Hlw6J","mr-0-point-5":"Margin-module_mr-0-point-5__lTVga","mb-0-point-5":"Margin-module_mb-0-point-5__09Kv0","ml-0-point-5":"Margin-module_ml-0-point-5__IyBy5","m-0-point-75":"Margin-module_m-0-point-75__IttHs","mt-0-point-75":"Margin-module_mt-0-point-75__8aL1j","mr-0-point-75":"Margin-module_mr-0-point-75__1iTsr","mb-0-point-75":"Margin-module_mb-0-point-75__bcGVL","ml-0-point-75":"Margin-module_ml-0-point-75__UoIM3","m-1":"Margin-module_m-1__WoH7S","mt-1":"Margin-module_mt-1__rmDMg","mr-1":"Margin-module_mr-1__bFRhS","mb-1":"Margin-module_mb-1__6Siyc","ml-1":"Margin-module_ml-1__j3WF6","m-1-point-25":"Margin-module_m-1-point-25__aslNk","mt-1-point-25":"Margin-module_mt-1-point-25__l-Kna","mr-1-point-25":"Margin-module_mr-1-point-25__yKHfB","mb-1-point-25":"Margin-module_mb-1-point-25__k7Wnb","ml-1-point-25":"Margin-module_ml-1-point-25__tKCHD","m-1-point-5":"Margin-module_m-1-point-5__e5RRa","mt-1-point-5":"Margin-module_mt-1-point-5__0oleV","mr-1-point-5":"Margin-module_mr-1-point-5__UV2Ds","mb-1-point-5":"Margin-module_mb-1-point-5__DgIcA","ml-1-point-5":"Margin-module_ml-1-point-5__-a31T","m-1-point-75":"Margin-module_m-1-point-75__IxxDx","mt-1-point-75":"Margin-module_mt-1-point-75__zBEJc","mr-1-point-75":"Margin-module_mr-1-point-75__7oQH3","mb-1-point-75":"Margin-module_mb-1-point-75__CyezZ","ml-1-point-75":"Margin-module_ml-1-point-75__8AcEE","m-2":"Margin-module_m-2__xDAX5","mt-2":"Margin-module_mt-2__BaPgk","mr-2":"Margin-module_mr-2__-8KSg","mb-2":"Margin-module_mb-2__lqKMm","ml-2":"Margin-module_ml-2__y6zUv","m-2-point-5":"Margin-module_m-2-point-5__nPaB6","mt-2-point-5":"Margin-module_mt-2-point-5__NtVq0","mr-2-point-5":"Margin-module_mr-2-point-5__u5ycP","mb-2-point-5":"Margin-module_mb-2-point-5__KoWcH","ml-2-point-5":"Margin-module_ml-2-point-5__rKkfV","m-3":"Margin-module_m-3__3Xx0F","mt-3":"Margin-module_mt-3__M2Jx3","mr-3":"Margin-module_mr-3__Ydznr","mb-3":"Margin-module_mb-3__-jI8t","ml-3":"Margin-module_ml-3__GKa-l","m-3-point-5":"Margin-module_m-3-point-5__3ZDkz","mt-3-point-5":"Margin-module_mt-3-point-5__VBSF-","mr-3-point-5":"Margin-module_mr-3-point-5__wf0U2","mb-3-point-5":"Margin-module_mb-3-point-5__OMror","ml-3-point-5":"Margin-module_ml-3-point-5__ootW1","m-4":"Margin-module_m-4__dZ985","mt-4":"Margin-module_mt-4__BUm9K","mr-4":"Margin-module_mr-4__mKUUj","mb-4":"Margin-module_mb-4__dO-YX","ml-4":"Margin-module_ml-4__EE62n"};
|
|
45613
|
+
|
|
45614
|
+
var Margin_module$1 = /*#__PURE__*/Object.freeze({
|
|
45615
|
+
__proto__: null,
|
|
45616
|
+
default: Margin_module
|
|
45617
|
+
});
|
|
45618
|
+
|
|
45619
|
+
var require$$1 = /*@__PURE__*/getAugmentedNamespace(Margin_module$1);
|
|
45620
|
+
|
|
45621
|
+
(function(exports) {
|
|
45622
|
+
var __importDefault = commonjsGlobal && commonjsGlobal.__importDefault || function(mod) {
|
|
45623
|
+
return mod && mod.__esModule ? mod : { "default": mod };
|
|
45624
|
+
};
|
|
45625
|
+
exports.__esModule = true;
|
|
45626
|
+
exports.marginClasses = exports.m = exports.my = exports.mx = exports.ml = exports.mb = exports.mr = exports.mt = void 0;
|
|
45627
|
+
var util_1 = util;
|
|
45628
|
+
var Margin_module_scss_1 = __importDefault(require$$1);
|
|
45629
|
+
var mt = function(unit) {
|
|
45630
|
+
return [
|
|
45631
|
+
Margin_module_scss_1["default"]["mt-".concat((0, util_1.convertFractionToString)(unit))]
|
|
45632
|
+
];
|
|
45633
|
+
};
|
|
45634
|
+
exports.mt = mt;
|
|
45635
|
+
var mr = function(unit) {
|
|
45636
|
+
return [
|
|
45637
|
+
Margin_module_scss_1["default"]["mr-".concat((0, util_1.convertFractionToString)(unit))]
|
|
45638
|
+
];
|
|
45639
|
+
};
|
|
45640
|
+
exports.mr = mr;
|
|
45641
|
+
var mb = function(unit) {
|
|
45642
|
+
return [
|
|
45643
|
+
Margin_module_scss_1["default"]["mb-".concat((0, util_1.convertFractionToString)(unit))]
|
|
45644
|
+
];
|
|
45645
|
+
};
|
|
45646
|
+
exports.mb = mb;
|
|
45647
|
+
var ml = function(unit) {
|
|
45648
|
+
return [
|
|
45649
|
+
Margin_module_scss_1["default"]["ml-".concat((0, util_1.convertFractionToString)(unit))]
|
|
45650
|
+
];
|
|
45651
|
+
};
|
|
45652
|
+
exports.ml = ml;
|
|
45653
|
+
var mx = function(unit) {
|
|
45654
|
+
return [
|
|
45655
|
+
Margin_module_scss_1["default"]["ml-".concat((0, util_1.convertFractionToString)(unit))],
|
|
45656
|
+
Margin_module_scss_1["default"]["mr-".concat((0, util_1.convertFractionToString)(unit))]
|
|
45657
|
+
];
|
|
45658
|
+
};
|
|
45659
|
+
exports.mx = mx;
|
|
45660
|
+
var my = function(unit) {
|
|
45661
|
+
return [
|
|
45662
|
+
Margin_module_scss_1["default"]["mt-".concat((0, util_1.convertFractionToString)(unit))],
|
|
45663
|
+
Margin_module_scss_1["default"]["mb-".concat((0, util_1.convertFractionToString)(unit))]
|
|
45664
|
+
];
|
|
45665
|
+
};
|
|
45666
|
+
exports.my = my;
|
|
45667
|
+
var m = function(unit) {
|
|
45668
|
+
var classes = [];
|
|
45669
|
+
if (typeof unit === "number") {
|
|
45670
|
+
classes.push(Margin_module_scss_1["default"]["m-".concat((0, util_1.convertFractionToString)(unit))]);
|
|
45671
|
+
} else {
|
|
45672
|
+
Object.keys(unit).forEach(function(key) {
|
|
45673
|
+
classes.push(Margin_module_scss_1["default"]["m-".concat((0, util_1.convertFractionToString)(unit[key]), "--").concat(key)]);
|
|
45674
|
+
});
|
|
45675
|
+
}
|
|
45676
|
+
return classes;
|
|
45677
|
+
};
|
|
45678
|
+
exports.m = m;
|
|
45679
|
+
var marginClasses = function(_a) {
|
|
45680
|
+
var margin2 = _a.m, marginTop = _a.mt, marginRight = _a.mr, marginBottom = _a.mb, marginLeft = _a.ml, marginXAxis = _a.mx, marginYAxis = _a.my, _b = _a.rtl, rtl = _b === void 0 ? false : _b;
|
|
45681
|
+
var classes = [];
|
|
45682
|
+
if (margin2 !== void 0)
|
|
45683
|
+
classes.push.apply(classes, (0, exports.m)(margin2));
|
|
45684
|
+
if (marginTop !== void 0)
|
|
45685
|
+
classes.push.apply(classes, (0, exports.mt)(marginTop));
|
|
45686
|
+
if (marginBottom !== void 0)
|
|
45687
|
+
classes.push.apply(classes, (0, exports.mb)(marginBottom));
|
|
45688
|
+
if (marginXAxis !== void 0)
|
|
45689
|
+
classes.push.apply(classes, (0, exports.mx)(marginXAxis));
|
|
45690
|
+
if (marginYAxis !== void 0)
|
|
45691
|
+
classes.push.apply(classes, (0, exports.my)(marginYAxis));
|
|
45692
|
+
if (rtl) {
|
|
45693
|
+
if (marginRight !== void 0)
|
|
45694
|
+
classes.push.apply(classes, (0, exports.ml)(marginRight));
|
|
45695
|
+
if (marginLeft !== void 0)
|
|
45696
|
+
classes.push.apply(classes, (0, exports.mr)(marginLeft));
|
|
45697
|
+
} else {
|
|
45698
|
+
if (marginRight !== void 0)
|
|
45699
|
+
classes.push.apply(classes, (0, exports.mr)(marginRight));
|
|
45700
|
+
if (marginLeft !== void 0)
|
|
45701
|
+
classes.push.apply(classes, (0, exports.ml)(marginLeft));
|
|
45702
|
+
}
|
|
45703
|
+
if (margin2 === void 0 && marginTop === void 0 && marginRight === void 0 && marginBottom === void 0 && marginLeft === void 0 && marginXAxis === void 0 && marginYAxis === void 0) {
|
|
45704
|
+
classes.push.apply(classes, (0, exports.m)(0));
|
|
45705
|
+
}
|
|
45706
|
+
return classes;
|
|
45707
|
+
};
|
|
45708
|
+
exports.marginClasses = marginClasses;
|
|
45709
|
+
})(margin);
|
|
45710
|
+
|
|
45711
|
+
var types = {};
|
|
45712
|
+
|
|
45713
|
+
types.__esModule = true;
|
|
45714
|
+
|
|
45715
|
+
(function(exports) {
|
|
45716
|
+
var __createBinding = commonjsGlobal && commonjsGlobal.__createBinding || (Object.create ? function(o, m, k, k2) {
|
|
45717
|
+
if (k2 === void 0)
|
|
45718
|
+
k2 = k;
|
|
45719
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
45720
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
45721
|
+
desc = { enumerable: true, get: function() {
|
|
45722
|
+
return m[k];
|
|
45723
|
+
} };
|
|
45724
|
+
}
|
|
45725
|
+
Object.defineProperty(o, k2, desc);
|
|
45726
|
+
} : function(o, m, k, k2) {
|
|
45727
|
+
if (k2 === void 0)
|
|
45728
|
+
k2 = k;
|
|
45729
|
+
o[k2] = m[k];
|
|
45730
|
+
});
|
|
45731
|
+
var __exportStar = commonjsGlobal && commonjsGlobal.__exportStar || function(m, exports2) {
|
|
45732
|
+
for (var p in m)
|
|
45733
|
+
if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports2, p))
|
|
45734
|
+
__createBinding(exports2, m, p);
|
|
45735
|
+
};
|
|
45736
|
+
exports.__esModule = true;
|
|
45737
|
+
__exportStar(padding, exports);
|
|
45738
|
+
__exportStar(margin, exports);
|
|
45739
|
+
__exportStar(types, exports);
|
|
45740
|
+
})(Spacing);
|
|
45741
|
+
|
|
45742
|
+
var Box$1 = {};
|
|
45743
|
+
|
|
45744
|
+
var Box = {};
|
|
45745
|
+
|
|
45746
|
+
(function(exports) {
|
|
45747
|
+
var __assign = commonjsGlobal && commonjsGlobal.__assign || function() {
|
|
45748
|
+
__assign = Object.assign || function(t) {
|
|
45749
|
+
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
45750
|
+
s = arguments[i];
|
|
45751
|
+
for (var p in s)
|
|
45752
|
+
if (Object.prototype.hasOwnProperty.call(s, p))
|
|
45753
|
+
t[p] = s[p];
|
|
45754
|
+
}
|
|
45755
|
+
return t;
|
|
45756
|
+
};
|
|
45757
|
+
return __assign.apply(this, arguments);
|
|
45758
|
+
};
|
|
45759
|
+
var __rest = commonjsGlobal && commonjsGlobal.__rest || function(s, e) {
|
|
45760
|
+
var t = {};
|
|
45761
|
+
for (var p in s)
|
|
45762
|
+
if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
|
|
45763
|
+
t[p] = s[p];
|
|
45764
|
+
if (s != null && typeof Object.getOwnPropertySymbols === "function")
|
|
45765
|
+
for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
|
|
45766
|
+
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
|
|
45767
|
+
t[p[i]] = s[p[i]];
|
|
45768
|
+
}
|
|
45769
|
+
return t;
|
|
45770
|
+
};
|
|
45771
|
+
var __spreadArray = commonjsGlobal && commonjsGlobal.__spreadArray || function(to, from, pack) {
|
|
45772
|
+
if (pack || arguments.length === 2)
|
|
45773
|
+
for (var i = 0, l = from.length, ar; i < l; i++) {
|
|
45774
|
+
if (ar || !(i in from)) {
|
|
45775
|
+
if (!ar)
|
|
45776
|
+
ar = Array.prototype.slice.call(from, 0, i);
|
|
45777
|
+
ar[i] = from[i];
|
|
45778
|
+
}
|
|
45779
|
+
}
|
|
45780
|
+
return to.concat(ar || Array.prototype.slice.call(from));
|
|
45781
|
+
};
|
|
45782
|
+
var __importDefault = commonjsGlobal && commonjsGlobal.__importDefault || function(mod) {
|
|
45783
|
+
return mod && mod.__esModule ? mod : { "default": mod };
|
|
45784
|
+
};
|
|
45785
|
+
exports.__esModule = true;
|
|
45786
|
+
exports.Box = void 0;
|
|
45787
|
+
var react_1 = __importDefault(React__default);
|
|
45788
|
+
var classnames_1 = __importDefault(classnamesExports);
|
|
45789
|
+
var Spacing_1 = Spacing;
|
|
45790
|
+
var Box = function(_a) {
|
|
45791
|
+
var children = _a.children, _b = _a.rtl, rtl = _b === void 0 ? false : _b, m = _a.m, mt = _a.mt, mr = _a.mr, mb = _a.mb, ml = _a.ml, mx = _a.mx, my = _a.my, p = _a.p, pt = _a.pt, pr = _a.pr, pb = _a.pb, pl = _a.pl, px = _a.px, py = _a.py, classNameOverride = _a.classNameOverride, restProps = __rest(_a, ["children", "rtl", "m", "mt", "mr", "mb", "ml", "mx", "my", "p", "pt", "pr", "pb", "pl", "px", "py", "classNameOverride"]);
|
|
45792
|
+
var classes = __spreadArray(__spreadArray([], (0, Spacing_1.paddingClasses)({ p, pt, pr, pb, pl, px, py, rtl }), true), (0, Spacing_1.marginClasses)({ m, mt, mr, mb, ml, mx, my, rtl }), true);
|
|
45793
|
+
return react_1["default"].createElement("div", __assign({ className: (0, classnames_1["default"])(classes, classNameOverride) }, restProps), children);
|
|
45794
|
+
};
|
|
45795
|
+
exports.Box = Box;
|
|
45796
|
+
exports.Box.displayName = "Box";
|
|
45797
|
+
})(Box);
|
|
45798
|
+
|
|
45799
|
+
(function(exports) {
|
|
45800
|
+
var __createBinding = commonjsGlobal && commonjsGlobal.__createBinding || (Object.create ? function(o, m, k, k2) {
|
|
45801
|
+
if (k2 === void 0)
|
|
45802
|
+
k2 = k;
|
|
45803
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
45804
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
45805
|
+
desc = { enumerable: true, get: function() {
|
|
45806
|
+
return m[k];
|
|
45807
|
+
} };
|
|
45808
|
+
}
|
|
45809
|
+
Object.defineProperty(o, k2, desc);
|
|
45810
|
+
} : function(o, m, k, k2) {
|
|
45811
|
+
if (k2 === void 0)
|
|
45812
|
+
k2 = k;
|
|
45813
|
+
o[k2] = m[k];
|
|
45814
|
+
});
|
|
45815
|
+
exports.__esModule = true;
|
|
45816
|
+
exports.Box = void 0;
|
|
45817
|
+
var Box_1 = Box;
|
|
45818
|
+
__createBinding(exports, Box_1, "Box");
|
|
45819
|
+
})(Box$1);
|
|
45820
|
+
|
|
45821
|
+
(function(exports) {
|
|
45822
|
+
var __createBinding = commonjsGlobal && commonjsGlobal.__createBinding || (Object.create ? function(o, m, k, k2) {
|
|
45823
|
+
if (k2 === void 0)
|
|
45824
|
+
k2 = k;
|
|
45825
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
45826
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
45827
|
+
desc = { enumerable: true, get: function() {
|
|
45828
|
+
return m[k];
|
|
45829
|
+
} };
|
|
45830
|
+
}
|
|
45831
|
+
Object.defineProperty(o, k2, desc);
|
|
45832
|
+
} : function(o, m, k, k2) {
|
|
45833
|
+
if (k2 === void 0)
|
|
45834
|
+
k2 = k;
|
|
45835
|
+
o[k2] = m[k];
|
|
45836
|
+
});
|
|
45837
|
+
var __exportStar = commonjsGlobal && commonjsGlobal.__exportStar || function(m, exports2) {
|
|
45838
|
+
for (var p in m)
|
|
45839
|
+
if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports2, p))
|
|
45840
|
+
__createBinding(exports2, m, p);
|
|
45841
|
+
};
|
|
45842
|
+
exports.__esModule = true;
|
|
45843
|
+
__exportStar(Dropdown$1, exports);
|
|
45844
|
+
__exportStar(Layout$1, exports);
|
|
45845
|
+
__exportStar(Icon$1, exports);
|
|
45846
|
+
__exportStar(MenuList$1, exports);
|
|
45847
|
+
__exportStar(Text$1, exports);
|
|
45848
|
+
__exportStar(Spacing, exports);
|
|
45849
|
+
__exportStar(Box$1, exports);
|
|
45850
|
+
})(components);
|
|
45851
|
+
|
|
45852
|
+
(function(exports) {
|
|
45853
|
+
var __createBinding = commonjsGlobal && commonjsGlobal.__createBinding || (Object.create ? function(o, m, k, k2) {
|
|
45854
|
+
if (k2 === void 0)
|
|
45855
|
+
k2 = k;
|
|
45856
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
45857
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
45858
|
+
desc = { enumerable: true, get: function() {
|
|
45859
|
+
return m[k];
|
|
45860
|
+
} };
|
|
45861
|
+
}
|
|
45862
|
+
Object.defineProperty(o, k2, desc);
|
|
45863
|
+
} : function(o, m, k, k2) {
|
|
45864
|
+
if (k2 === void 0)
|
|
45865
|
+
k2 = k;
|
|
45866
|
+
o[k2] = m[k];
|
|
45867
|
+
});
|
|
45868
|
+
var __exportStar = commonjsGlobal && commonjsGlobal.__exportStar || function(m, exports2) {
|
|
45869
|
+
for (var p in m)
|
|
45870
|
+
if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports2, p))
|
|
45871
|
+
__createBinding(exports2, m, p);
|
|
45872
|
+
};
|
|
45873
|
+
exports.__esModule = true;
|
|
45874
|
+
__exportStar(components, exports);
|
|
45875
|
+
})(componentLibrary);
|
|
44791
45876
|
|
|
44792
45877
|
var img = "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 44.1 (41455) - http://www.bohemiancoding.com/sketch --%3e %3ctitle%3eIcons/Informational/check%3c/title%3e %3cdesc%3eCreated with Sketch.%3c/desc%3e %3cdefs%3e %3cpolygon id='path-1' points='8.33333333 14.3416667 4.16666667 10.175 5.34166667 9 8.33333333 11.9833333 14.6583333 5.65833333 15.8333333 6.84166667'%3e%3c/polygon%3e %3c/defs%3e %3cg id='Symbols' stroke='none' stroke-width='1' fill='none' fill-rule='evenodd'%3e %3cg id='Icons/Informational/check'%3e %3cmask id='mask-2' fill='white'%3e %3cuse xlink:href='%23path-1'%3e%3c/use%3e %3c/mask%3e %3cuse fill='black' xlink:href='%23path-1'%3e%3c/use%3e %3c/g%3e %3c/g%3e%3c/svg%3e";
|
|
44793
45878
|
var check = img;
|
|
@@ -44810,7 +45895,7 @@ var Option = function(_a) {
|
|
|
44810
45895
|
classNameOverride
|
|
44811
45896
|
]), "aria-label": item.textValue }),
|
|
44812
45897
|
item.rendered,
|
|
44813
|
-
React__default.createElement("span", { className: classNames([styles$4.icon, isSelected && styles$4.isSelected]) }, isSelected && React__default.createElement(Icon, { icon: check, role: "presentation" }))
|
|
45898
|
+
React__default.createElement("span", { className: classNames([styles$4.icon, isSelected && styles$4.isSelected]) }, isSelected && React__default.createElement(componentLibrary.Icon, { icon: check, role: "presentation" }))
|
|
44814
45899
|
);
|
|
44815
45900
|
};
|
|
44816
45901
|
Option.displayName = "Option";
|