@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/cjs/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var index = require('./index-
|
|
3
|
+
var index = require('./index-356811e2.js');
|
|
4
4
|
var React = require('react');
|
|
5
5
|
var designTokens = require('@kaizen/design-tokens');
|
|
6
6
|
|
|
@@ -26,7 +26,7 @@ var React__namespace = /*#__PURE__*/_interopNamespaceDefault(React);
|
|
|
26
26
|
const ORIGIN_BASE_URL = "https://d1e7r7b0lb8p4d.cloudfront.net";
|
|
27
27
|
const assetUrl = (path) => [ORIGIN_BASE_URL, path].join("/");
|
|
28
28
|
|
|
29
|
-
var styles$
|
|
29
|
+
var styles$e = {"img":"Brand-module_img__uWvra"};
|
|
30
30
|
|
|
31
31
|
var Brand = function(_a) {
|
|
32
32
|
var variant = _a.variant, alt = _a.alt, _b = _a.reversed, reversed = _b === void 0 ? false : _b, classNameOverride = _a.classNameOverride, restProps = index.__rest(_a, ["variant", "alt", "reversed", "classNameOverride"]);
|
|
@@ -36,7 +36,7 @@ var Brand = function(_a) {
|
|
|
36
36
|
index.__assign({ className: classNameOverride }, restProps),
|
|
37
37
|
React.createElement("source", { srcSet: assetUrl("brand/".concat(variant, "-reversed.svg")), media: "(forced-colors: active) and (prefers-color-scheme: dark)" }),
|
|
38
38
|
React.createElement("source", { srcSet: assetUrl("brand/".concat(variant, "-default.svg")), media: "(forced-colors: active) and (prefers-color-scheme: light)" }),
|
|
39
|
-
React.createElement("img", { src: assetUrl("brand/".concat(variant).concat(brandTheme, ".svg")), alt, className: styles$
|
|
39
|
+
React.createElement("img", { src: assetUrl("brand/".concat(variant).concat(brandTheme, ".svg")), alt, className: styles$e.img })
|
|
40
40
|
);
|
|
41
41
|
};
|
|
42
42
|
Brand.displayName = "Brand";
|
|
@@ -3388,8 +3388,8 @@ var hideOthers = function (originalTarget, parentNode, markerName) {
|
|
|
3388
3388
|
};
|
|
3389
3389
|
|
|
3390
3390
|
var Style = styleSingleton();
|
|
3391
|
-
var styles$
|
|
3392
|
-
var InteractivityDisabler = function () { return React__namespace.createElement(Style, { styles: styles$
|
|
3391
|
+
var styles$d = "\n [" + focusHiddenMarker + "] {\n pointer-events: none !important;\n }\n";
|
|
3392
|
+
var InteractivityDisabler = function () { return React__namespace.createElement(Style, { styles: styles$d }); };
|
|
3393
3393
|
|
|
3394
3394
|
var extractRef = function (ref) {
|
|
3395
3395
|
return 'current' in ref ? ref.current : ref;
|
|
@@ -36475,7 +36475,7 @@ var hasArrayBuffer = typeof ArrayBuffer === 'function' && !!ArrayBuffer.isView;
|
|
|
36475
36475
|
// Note: We **don't** need `envHasBigInt64Array` in fde es6/index.js
|
|
36476
36476
|
|
|
36477
36477
|
function equal(a, b) {
|
|
36478
|
-
// START: fast-deep-equal es6/index.js 3.1.
|
|
36478
|
+
// START: fast-deep-equal es6/index.js 3.1.1
|
|
36479
36479
|
if (a === b) return true;
|
|
36480
36480
|
|
|
36481
36481
|
if (a && b && typeof a == 'object' && typeof b == 'object') {
|
|
@@ -36540,13 +36540,8 @@ function equal(a, b) {
|
|
|
36540
36540
|
}
|
|
36541
36541
|
|
|
36542
36542
|
if (a.constructor === RegExp) return a.source === b.source && a.flags === b.flags;
|
|
36543
|
-
|
|
36544
|
-
|
|
36545
|
-
// - https://github.com/FormidableLabs/react-fast-compare/issues/64
|
|
36546
|
-
// - https://github.com/epoberezkin/fast-deep-equal/issues/49
|
|
36547
|
-
if (a.valueOf !== Object.prototype.valueOf && typeof a.valueOf === 'function' && typeof b.valueOf === 'function') return a.valueOf() === b.valueOf();
|
|
36548
|
-
if (a.toString !== Object.prototype.toString && typeof a.toString === 'function' && typeof b.toString === 'function') return a.toString() === b.toString();
|
|
36549
|
-
// END: Modifications
|
|
36543
|
+
if (a.valueOf !== Object.prototype.valueOf) return a.valueOf() === b.valueOf();
|
|
36544
|
+
if (a.toString !== Object.prototype.toString) return a.toString() === b.toString();
|
|
36550
36545
|
|
|
36551
36546
|
keys = Object.keys(a);
|
|
36552
36547
|
length = keys.length;
|
|
@@ -36870,7 +36865,7 @@ var esm = /*#__PURE__*/Object.freeze({
|
|
|
36870
36865
|
usePopper: usePopper
|
|
36871
36866
|
});
|
|
36872
36867
|
|
|
36873
|
-
var styles$
|
|
36868
|
+
var styles$c = {"filterPopover":"FilterPopover-module_filterPopover__OgOEM"};
|
|
36874
36869
|
|
|
36875
36870
|
var FilterPopover = function(_a) {
|
|
36876
36871
|
var children = _a.children, referenceElement = _a.referenceElement, popperOptions = _a.popperOptions, classNameOverride = _a.classNameOverride, restProps = index.__rest(_a, ["children", "referenceElement", "popperOptions", "classNameOverride"]);
|
|
@@ -36883,7 +36878,7 @@ var FilterPopover = function(_a) {
|
|
|
36883
36878
|
}
|
|
36884
36879
|
}
|
|
36885
36880
|
], placement: "bottom-start", strategy: "fixed" }, popperOptions)), popperStyles = _c.styles, popperAttributes = _c.attributes;
|
|
36886
|
-
return React.createElement("div", index.__assign({ ref: setPopperElement, style: popperStyles === null || popperStyles === void 0 ? void 0 : popperStyles.popper }, popperAttributes === null || popperAttributes === void 0 ? void 0 : popperAttributes.popper, { className: index.classNames(styles$
|
|
36881
|
+
return React.createElement("div", index.__assign({ ref: setPopperElement, style: popperStyles === null || popperStyles === void 0 ? void 0 : popperStyles.popper }, popperAttributes === null || popperAttributes === void 0 ? void 0 : popperAttributes.popper, { className: index.classNames(styles$c.filterPopover, classNameOverride), role: "dialog", "aria-modal": "true" }, restProps), children);
|
|
36887
36882
|
};
|
|
36888
36883
|
FilterPopover.displayName = "FilterPopover";
|
|
36889
36884
|
|
|
@@ -36928,31 +36923,31 @@ var Filter = function(_a) {
|
|
|
36928
36923
|
};
|
|
36929
36924
|
Filter.displayName = "Filter";
|
|
36930
36925
|
|
|
36931
|
-
var styles$
|
|
36926
|
+
var styles$b = {"filterContents":"FilterContents-module_filterContents__uNUpd"};
|
|
36932
36927
|
|
|
36933
36928
|
var FilterContents = function(_a) {
|
|
36934
36929
|
var children = _a.children, classNameOverride = _a.classNameOverride, restProps = index.__rest(_a, ["children", "classNameOverride"]);
|
|
36935
|
-
return React.createElement("div", index.__assign({ className: index.classNames(styles$
|
|
36930
|
+
return React.createElement("div", index.__assign({ className: index.classNames(styles$b.filterContents, classNameOverride) }, restProps), children);
|
|
36936
36931
|
};
|
|
36937
36932
|
FilterContents.displayName = "FilterContents";
|
|
36938
36933
|
|
|
36939
|
-
var yellow
|
|
36940
|
-
var reset
|
|
36941
|
-
var warn
|
|
36942
|
-
console.warn("".concat(yellow
|
|
36934
|
+
var yellow = "\x1B[33m ";
|
|
36935
|
+
var reset = "\x1B[0m ";
|
|
36936
|
+
var warn = function(message) {
|
|
36937
|
+
console.warn("".concat(yellow, "\nKAIZEN WARNING:\n").concat(singleLine(message)).concat(reset, "\n"));
|
|
36943
36938
|
};
|
|
36944
|
-
var singleLine
|
|
36939
|
+
var singleLine = function(message) {
|
|
36945
36940
|
return message.replace(/^ +/gm, " ").replace(/\n|\r/gm, "").trim();
|
|
36946
36941
|
};
|
|
36947
36942
|
|
|
36948
|
-
var styles$
|
|
36943
|
+
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"};
|
|
36949
36944
|
|
|
36950
36945
|
var SVG = function(_a) {
|
|
36951
36946
|
var _b, _c;
|
|
36952
36947
|
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 = index.__rest(_a, ["inheritSize", "role", "title", "desc", "viewBox", "classNameOverride", "children"]);
|
|
36953
36948
|
var isMeaningfulImg = role === "img";
|
|
36954
36949
|
if (isMeaningfulImg && !title) {
|
|
36955
|
-
warn
|
|
36950
|
+
warn(`
|
|
36956
36951
|
Icon with role "img" missing a title attribute.
|
|
36957
36952
|
|
|
36958
36953
|
Assistive technologies that enable vision-impaired users to read web pages
|
|
@@ -36977,7 +36972,7 @@ var SVG = function(_a) {
|
|
|
36977
36972
|
return React.createElement(
|
|
36978
36973
|
"svg",
|
|
36979
36974
|
index.__assign({
|
|
36980
|
-
className: index.classNames(styles$
|
|
36975
|
+
className: index.classNames(styles$a.icon, classNameOverride, (_c = {}, _c[styles$a.inheritSize] = inheritSize, _c)),
|
|
36981
36976
|
viewBox,
|
|
36982
36977
|
// Work around IE11 making all SVGs focusable.
|
|
36983
36978
|
// See http://simplyaccessible.com/article/7-solutions-svgs/#acc-heading-4
|
|
@@ -37046,15 +37041,15 @@ var isRefObject = function(ref) {
|
|
|
37046
37041
|
return ref !== null && "current" in ref;
|
|
37047
37042
|
};
|
|
37048
37043
|
|
|
37049
|
-
var styles$
|
|
37044
|
+
var styles$9 = {"filterButtonBase":"FilterButtonBase-module_filterButtonBase__505sK"};
|
|
37050
37045
|
|
|
37051
37046
|
var FilterButtonBase = React.forwardRef(function(_a, ref) {
|
|
37052
37047
|
var children = _a.children, classNameOverride = _a.classNameOverride, restProps = index.__rest(_a, ["children", "classNameOverride"]);
|
|
37053
|
-
return React.createElement("button", index.__assign({ ref, className: index.classNames(styles$
|
|
37048
|
+
return React.createElement("button", index.__assign({ ref, className: index.classNames(styles$9.filterButtonBase, classNameOverride) }, restProps), children);
|
|
37054
37049
|
});
|
|
37055
37050
|
FilterButtonBase.displayName = "FilterButtonBase";
|
|
37056
37051
|
|
|
37057
|
-
var styles$
|
|
37052
|
+
var styles$8 = {"filterButton":"FilterButton-module_filterButton__Q2dMX","labelContainer":"FilterButton-module_labelContainer__5G-MD","hasSelectedValues":"FilterButton-module_hasSelectedValues__dyQkL","labelSeparator":"FilterButton-module_labelSeparator__xrkAx"};
|
|
37058
37053
|
|
|
37059
37054
|
var FilterButton = React.forwardRef(function(_a, ref) {
|
|
37060
37055
|
var label = _a.label, selectedValue = _a.selectedValue, _b = _a.isOpen, isOpen = _b === void 0 ? false : _b, classNameOverride = _a.classNameOverride, restProps = index.__rest(_a, ["label", "selectedValue", "isOpen", "classNameOverride"]);
|
|
@@ -37063,15 +37058,15 @@ var FilterButton = React.forwardRef(function(_a, ref) {
|
|
|
37063
37058
|
var selectedValuesLabel = selectedValue;
|
|
37064
37059
|
return React.createElement(
|
|
37065
37060
|
FilterButtonBase,
|
|
37066
|
-
index.__assign({ ref: triggerRef, classNameOverride: index.classNames(styles$
|
|
37067
|
-
React.createElement("span", { className: styles$
|
|
37061
|
+
index.__assign({ ref: triggerRef, classNameOverride: index.classNames(styles$8.filterButton, classNameOverride), "aria-haspopup": "true", "aria-expanded": isOpen }, restProps),
|
|
37062
|
+
React.createElement("span", { className: styles$8.labelContainer }, selectedValuesLabel ? React.createElement(
|
|
37068
37063
|
React.Fragment,
|
|
37069
37064
|
null,
|
|
37070
37065
|
React.createElement(
|
|
37071
37066
|
"span",
|
|
37072
|
-
{ className: styles$
|
|
37067
|
+
{ className: styles$8.hasSelectedValues },
|
|
37073
37068
|
React.createElement("span", null, label),
|
|
37074
|
-
React.createElement("span", { className: styles$
|
|
37069
|
+
React.createElement("span", { className: styles$8.labelSeparator }, ":")
|
|
37075
37070
|
),
|
|
37076
37071
|
React.createElement("span", null, selectedValuesLabel)
|
|
37077
37072
|
) : label),
|
|
@@ -37086,7 +37081,7 @@ var Tooltip$1 = {};
|
|
|
37086
37081
|
|
|
37087
37082
|
var Tooltip = {};
|
|
37088
37083
|
|
|
37089
|
-
var require$$3 = /*@__PURE__*/getAugmentedNamespace(esm);
|
|
37084
|
+
var require$$3$2 = /*@__PURE__*/getAugmentedNamespace(esm);
|
|
37090
37085
|
|
|
37091
37086
|
var AppearanceAnim = {};
|
|
37092
37087
|
|
|
@@ -37099,7 +37094,7 @@ var index_module = /*#__PURE__*/Object.freeze({
|
|
|
37099
37094
|
useThrottledCallback: f$1
|
|
37100
37095
|
});
|
|
37101
37096
|
|
|
37102
|
-
var require$$1$
|
|
37097
|
+
var require$$1$5 = /*@__PURE__*/getAugmentedNamespace(index_module);
|
|
37103
37098
|
|
|
37104
37099
|
(function(exports) {
|
|
37105
37100
|
var __assign = commonjsGlobal && commonjsGlobal.__assign || function() {
|
|
@@ -37161,7 +37156,7 @@ var require$$1$1 = /*@__PURE__*/getAugmentedNamespace(index_module);
|
|
|
37161
37156
|
exports.__esModule = true;
|
|
37162
37157
|
exports.useAnimation = exports.AnimationProvider = exports.AnimationContext = void 0;
|
|
37163
37158
|
var react_1 = __importStar(React);
|
|
37164
|
-
var use_debounce_1 = require$$1$
|
|
37159
|
+
var use_debounce_1 = require$$1$5;
|
|
37165
37160
|
var ANIM_DURATION_MS = 400;
|
|
37166
37161
|
exports.AnimationContext = react_1["default"].createContext({
|
|
37167
37162
|
isVisible: false,
|
|
@@ -37821,12 +37816,12 @@ var esmBrowser = /*#__PURE__*/Object.freeze({
|
|
|
37821
37816
|
version: version
|
|
37822
37817
|
});
|
|
37823
37818
|
|
|
37824
|
-
var require$$1 = /*@__PURE__*/getAugmentedNamespace(esmBrowser);
|
|
37819
|
+
var require$$1$4 = /*@__PURE__*/getAugmentedNamespace(esmBrowser);
|
|
37825
37820
|
|
|
37826
37821
|
useUuid$1.__esModule = true;
|
|
37827
37822
|
useUuid$1.useUuid = void 0;
|
|
37828
37823
|
var react_1 = React;
|
|
37829
|
-
var uuid_1 = require$$1;
|
|
37824
|
+
var uuid_1 = require$$1$4;
|
|
37830
37825
|
var useUuid = function() {
|
|
37831
37826
|
return (0, react_1.useMemo)(function() {
|
|
37832
37827
|
return (0, uuid_1.v4)();
|
|
@@ -37841,7 +37836,7 @@ var Tooltip_module$1 = /*#__PURE__*/Object.freeze({
|
|
|
37841
37836
|
default: Tooltip_module
|
|
37842
37837
|
});
|
|
37843
37838
|
|
|
37844
|
-
var require$$6 = /*@__PURE__*/getAugmentedNamespace(Tooltip_module$1);
|
|
37839
|
+
var require$$6$1 = /*@__PURE__*/getAugmentedNamespace(Tooltip_module$1);
|
|
37845
37840
|
|
|
37846
37841
|
(function(exports) {
|
|
37847
37842
|
var __assign = commonjsGlobal && commonjsGlobal.__assign || function() {
|
|
@@ -37896,10 +37891,10 @@ var require$$6 = /*@__PURE__*/getAugmentedNamespace(Tooltip_module$1);
|
|
|
37896
37891
|
var react_1 = __importStar(React);
|
|
37897
37892
|
var react_dom_1 = __importDefault(reactDomExports);
|
|
37898
37893
|
var classnames_1 = __importDefault(index.classnamesExports);
|
|
37899
|
-
var react_popper_1 = require$$3;
|
|
37894
|
+
var react_popper_1 = require$$3$2;
|
|
37900
37895
|
var AppearanceAnim_1 = AppearanceAnim;
|
|
37901
37896
|
var useUuid_1 = useUuid$1;
|
|
37902
|
-
var Tooltip_module_scss_1 = __importDefault(require$$6);
|
|
37897
|
+
var Tooltip_module_scss_1 = __importDefault(require$$6$1);
|
|
37903
37898
|
var positionToPlacement = /* @__PURE__ */ new Map([
|
|
37904
37899
|
["above", "top"],
|
|
37905
37900
|
["below", "bottom"],
|
|
@@ -38007,9 +38002,7 @@ var require$$6 = /*@__PURE__*/getAugmentedNamespace(Tooltip_module$1);
|
|
|
38007
38002
|
);
|
|
38008
38003
|
};
|
|
38009
38004
|
exports.Tooltip = Tooltip;
|
|
38010
|
-
exports.Tooltip.
|
|
38011
|
-
position: "above"
|
|
38012
|
-
};
|
|
38005
|
+
exports.Tooltip.displayName = "Tooltip";
|
|
38013
38006
|
})(Tooltip);
|
|
38014
38007
|
|
|
38015
38008
|
(function(exports) {
|
|
@@ -38028,10 +38021,13 @@ var require$$6 = /*@__PURE__*/getAugmentedNamespace(Tooltip_module$1);
|
|
|
38028
38021
|
k2 = k;
|
|
38029
38022
|
o[k2] = m[k];
|
|
38030
38023
|
});
|
|
38024
|
+
var __exportStar = commonjsGlobal && commonjsGlobal.__exportStar || function(m, exports2) {
|
|
38025
|
+
for (var p in m)
|
|
38026
|
+
if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports2, p))
|
|
38027
|
+
__createBinding(exports2, m, p);
|
|
38028
|
+
};
|
|
38031
38029
|
exports.__esModule = true;
|
|
38032
|
-
|
|
38033
|
-
var Tooltip_1 = Tooltip;
|
|
38034
|
-
__createBinding(exports, Tooltip_1, "Tooltip");
|
|
38030
|
+
__exportStar(Tooltip, exports);
|
|
38035
38031
|
})(Tooltip$1);
|
|
38036
38032
|
|
|
38037
38033
|
(function(exports) {
|
|
@@ -38085,7 +38081,7 @@ var ClearIcon = function(props) {
|
|
|
38085
38081
|
);
|
|
38086
38082
|
};
|
|
38087
38083
|
|
|
38088
|
-
var styles$
|
|
38084
|
+
var styles$7 = {"buttonGroup":"ButtonGroup-module_buttonGroup__bsy2X","child":"ButtonGroup-module_child__K6AP-","firstChild":"ButtonGroup-module_firstChild__uEn1j","lastChild":"ButtonGroup-module_lastChild__Vicsx"};
|
|
38089
38085
|
|
|
38090
38086
|
var isFilterButton = function(node) {
|
|
38091
38087
|
return React.isValidElement(node) && node.type === FilterButtonBase;
|
|
@@ -38093,11 +38089,11 @@ var isFilterButton = function(node) {
|
|
|
38093
38089
|
var ButtonGroup = function(_a) {
|
|
38094
38090
|
var children = _a.children, classNameOverride = _a.classNameOverride, restProps = index.__rest(_a, ["children", "classNameOverride"]);
|
|
38095
38091
|
var childCount = React.Children.count(children);
|
|
38096
|
-
var containerProps = index.__assign({ role: "group", className: index.classNames(styles$
|
|
38092
|
+
var containerProps = index.__assign({ role: "group", className: index.classNames(styles$7.buttonGroup, classNameOverride) }, restProps);
|
|
38097
38093
|
if (childCount === 1)
|
|
38098
38094
|
return React.createElement("div", index.__assign({}, containerProps), children);
|
|
38099
38095
|
return React.createElement("div", index.__assign({}, containerProps), React.Children.map(children, function(child, index$1) {
|
|
38100
|
-
var buttonClassNames = index.classNames(styles$
|
|
38096
|
+
var buttonClassNames = index.classNames(styles$7.child, index$1 === 0 && styles$7.firstChild, index$1 === childCount - 1 && styles$7.lastChild, child.props.classNameOverride);
|
|
38101
38097
|
if (child.type === tooltip.Tooltip) {
|
|
38102
38098
|
var button = child.props.children;
|
|
38103
38099
|
if (isFilterButton(button)) {
|
|
@@ -44625,46 +44621,46 @@ function $af383d3bef1cfdc9$export$c3f9f39876e4bc7(props) {
|
|
|
44625
44621
|
};
|
|
44626
44622
|
}
|
|
44627
44623
|
|
|
44628
|
-
var styles$
|
|
44624
|
+
var styles$6 = {"listBox":"ListBox-module_listBox__FQ9sQ","focus":"ListBox-module_focus__Tm-jn"};
|
|
44629
44625
|
|
|
44630
44626
|
var ListBox = function(_a) {
|
|
44631
44627
|
var children = _a.children, menuProps = _a.menuProps, classNameOverride = _a.classNameOverride, restProps = index.__rest(_a, ["children", "menuProps", "classNameOverride"]);
|
|
44632
44628
|
var state = useSelectContext().state;
|
|
44633
44629
|
var ref = React.useRef(null);
|
|
44634
44630
|
var listBoxProps = $c132121280ec012d$export$50eacbbf140a3141(index.__assign(index.__assign({}, menuProps), { disallowEmptySelection: true, autoFocus: "first" }), state, ref).listBoxProps;
|
|
44635
|
-
return React.createElement("ul", index.__assign({ ref, className: index.classNames(styles$
|
|
44631
|
+
return React.createElement("ul", index.__assign({ ref, className: index.classNames(styles$6.listBox, classNameOverride) }, listBoxProps, restProps), children);
|
|
44636
44632
|
};
|
|
44637
44633
|
ListBox.displayName = "ListBox";
|
|
44638
44634
|
|
|
44639
|
-
var styles$
|
|
44635
|
+
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"};
|
|
44640
44636
|
|
|
44641
|
-
var __defProp$
|
|
44637
|
+
var __defProp$1 = Object.defineProperty;
|
|
44642
44638
|
var __defProps = Object.defineProperties;
|
|
44643
44639
|
var __getOwnPropDescs = Object.getOwnPropertyDescriptors;
|
|
44644
|
-
var __getOwnPropSymbols$
|
|
44645
|
-
var __hasOwnProp$
|
|
44646
|
-
var __propIsEnum$
|
|
44647
|
-
var __defNormalProp$
|
|
44648
|
-
var __spreadValues$
|
|
44640
|
+
var __getOwnPropSymbols$1 = Object.getOwnPropertySymbols;
|
|
44641
|
+
var __hasOwnProp$1 = Object.prototype.hasOwnProperty;
|
|
44642
|
+
var __propIsEnum$1 = Object.prototype.propertyIsEnumerable;
|
|
44643
|
+
var __defNormalProp$1 = (obj, key, value) => key in obj ? __defProp$1(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
44644
|
+
var __spreadValues$1 = (a, b) => {
|
|
44649
44645
|
for (var prop in b || (b = {}))
|
|
44650
|
-
if (__hasOwnProp$
|
|
44651
|
-
__defNormalProp$
|
|
44652
|
-
if (__getOwnPropSymbols$
|
|
44653
|
-
for (var prop of __getOwnPropSymbols$
|
|
44654
|
-
if (__propIsEnum$
|
|
44655
|
-
__defNormalProp$
|
|
44646
|
+
if (__hasOwnProp$1.call(b, prop))
|
|
44647
|
+
__defNormalProp$1(a, prop, b[prop]);
|
|
44648
|
+
if (__getOwnPropSymbols$1)
|
|
44649
|
+
for (var prop of __getOwnPropSymbols$1(b)) {
|
|
44650
|
+
if (__propIsEnum$1.call(b, prop))
|
|
44651
|
+
__defNormalProp$1(a, prop, b[prop]);
|
|
44656
44652
|
}
|
|
44657
44653
|
return a;
|
|
44658
44654
|
};
|
|
44659
44655
|
var __spreadProps = (a, b) => __defProps(a, __getOwnPropDescs(b));
|
|
44660
|
-
var __objRest$
|
|
44656
|
+
var __objRest$1 = (source, exclude) => {
|
|
44661
44657
|
var target = {};
|
|
44662
44658
|
for (var prop in source)
|
|
44663
|
-
if (__hasOwnProp$
|
|
44659
|
+
if (__hasOwnProp$1.call(source, prop) && exclude.indexOf(prop) < 0)
|
|
44664
44660
|
target[prop] = source[prop];
|
|
44665
|
-
if (source != null && __getOwnPropSymbols$
|
|
44666
|
-
for (var prop of __getOwnPropSymbols$
|
|
44667
|
-
if (exclude.indexOf(prop) < 0 && __propIsEnum$
|
|
44661
|
+
if (source != null && __getOwnPropSymbols$1)
|
|
44662
|
+
for (var prop of __getOwnPropSymbols$1(source)) {
|
|
44663
|
+
if (exclude.indexOf(prop) < 0 && __propIsEnum$1.call(source, prop))
|
|
44668
44664
|
target[prop] = source[prop];
|
|
44669
44665
|
}
|
|
44670
44666
|
return target;
|
|
@@ -44677,7 +44673,7 @@ const Heading = (_a) => {
|
|
|
44677
44673
|
variant,
|
|
44678
44674
|
color = "dark",
|
|
44679
44675
|
classNameOverride
|
|
44680
|
-
} = _b, restProps = __objRest$
|
|
44676
|
+
} = _b, restProps = __objRest$1(_b, [
|
|
44681
44677
|
"children",
|
|
44682
44678
|
"tag",
|
|
44683
44679
|
"variant",
|
|
@@ -44686,13 +44682,13 @@ const Heading = (_a) => {
|
|
|
44686
44682
|
]);
|
|
44687
44683
|
const inferredTag = tag === void 0 ? translateHeadingLevelToTag(variant) : tag;
|
|
44688
44684
|
const className = index.classNames([
|
|
44689
|
-
styles$
|
|
44690
|
-
styles$
|
|
44685
|
+
styles$5.heading,
|
|
44686
|
+
styles$5[variant],
|
|
44691
44687
|
classNameOverride,
|
|
44692
|
-
styles$
|
|
44693
|
-
VARIANTS_24PX_OR_GREATER.includes(variant) ? styles$
|
|
44688
|
+
styles$5[color],
|
|
44689
|
+
VARIANTS_24PX_OR_GREATER.includes(variant) ? styles$5.large : styles$5.small
|
|
44694
44690
|
]);
|
|
44695
|
-
return React.createElement(inferredTag, __spreadProps(__spreadValues$
|
|
44691
|
+
return React.createElement(inferredTag, __spreadProps(__spreadValues$1({}, restProps), { className }), children);
|
|
44696
44692
|
};
|
|
44697
44693
|
Heading.displayName = "Heading";
|
|
44698
44694
|
const translateHeadingLevelToTag = (headingLevel) => {
|
|
@@ -44714,67 +44710,107 @@ const translateHeadingLevelToTag = (headingLevel) => {
|
|
|
44714
44710
|
}
|
|
44715
44711
|
};
|
|
44716
44712
|
|
|
44717
|
-
|
|
44718
|
-
const reset = "\x1B[0m ";
|
|
44719
|
-
const warn = (message) => {
|
|
44720
|
-
console.warn(
|
|
44721
|
-
`${yellow}
|
|
44722
|
-
CULTUREAMP UI WARNING:
|
|
44723
|
-
${singleLine(message)}${reset}
|
|
44724
|
-
`
|
|
44725
|
-
);
|
|
44726
|
-
};
|
|
44727
|
-
const singleLine = (message) => message.replace(/^ +/gm, " ").replace(/\n|\r/gm, "").trim();
|
|
44713
|
+
var componentLibrary = {};
|
|
44728
44714
|
|
|
44729
|
-
var
|
|
44715
|
+
var components = {};
|
|
44730
44716
|
|
|
44731
|
-
var
|
|
44732
|
-
|
|
44733
|
-
var
|
|
44734
|
-
|
|
44735
|
-
var
|
|
44736
|
-
|
|
44737
|
-
|
|
44738
|
-
|
|
44739
|
-
|
|
44740
|
-
|
|
44741
|
-
|
|
44742
|
-
|
|
44743
|
-
|
|
44744
|
-
|
|
44745
|
-
|
|
44746
|
-
|
|
44747
|
-
|
|
44748
|
-
|
|
44749
|
-
|
|
44750
|
-
|
|
44751
|
-
|
|
44752
|
-
|
|
44753
|
-
|
|
44754
|
-
|
|
44755
|
-
|
|
44756
|
-
|
|
44757
|
-
|
|
44758
|
-
|
|
44759
|
-
|
|
44760
|
-
|
|
44761
|
-
|
|
44762
|
-
|
|
44763
|
-
|
|
44764
|
-
|
|
44765
|
-
|
|
44766
|
-
|
|
44767
|
-
}
|
|
44768
|
-
|
|
44769
|
-
|
|
44770
|
-
"
|
|
44771
|
-
|
|
44772
|
-
|
|
44773
|
-
|
|
44774
|
-
|
|
44775
|
-
|
|
44776
|
-
|
|
44777
|
-
|
|
44717
|
+
var Dropdown$1 = {};
|
|
44718
|
+
|
|
44719
|
+
var Dropdown = {};
|
|
44720
|
+
|
|
44721
|
+
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";
|
|
44722
|
+
|
|
44723
|
+
var chevronDown_icon = /*#__PURE__*/Object.freeze({
|
|
44724
|
+
__proto__: null,
|
|
44725
|
+
default: img$2
|
|
44726
|
+
});
|
|
44727
|
+
|
|
44728
|
+
var require$$2$1 = /*@__PURE__*/getAugmentedNamespace(chevronDown_icon);
|
|
44729
|
+
|
|
44730
|
+
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";
|
|
44731
|
+
|
|
44732
|
+
var ellipsis_icon = /*#__PURE__*/Object.freeze({
|
|
44733
|
+
__proto__: null,
|
|
44734
|
+
default: img$1
|
|
44735
|
+
});
|
|
44736
|
+
|
|
44737
|
+
var require$$3$1 = /*@__PURE__*/getAugmentedNamespace(ellipsis_icon);
|
|
44738
|
+
|
|
44739
|
+
var Icon$1 = {};
|
|
44740
|
+
|
|
44741
|
+
var Icon = {};
|
|
44742
|
+
|
|
44743
|
+
var console$1 = {};
|
|
44744
|
+
|
|
44745
|
+
(function(exports) {
|
|
44746
|
+
exports.__esModule = true;
|
|
44747
|
+
exports.singleLine = exports.warn = exports.error = void 0;
|
|
44748
|
+
var red = "\x1B[31m ";
|
|
44749
|
+
var yellow = "\x1B[33m ";
|
|
44750
|
+
var reset = "\x1B[0m ";
|
|
44751
|
+
var error = function(message) {
|
|
44752
|
+
throw new Error("".concat(red, "\nCULTUREAMP UI ERROR:\n").concat((0, exports.singleLine)(message)).concat(reset, "\n"));
|
|
44753
|
+
};
|
|
44754
|
+
exports.error = error;
|
|
44755
|
+
var warn = function(message) {
|
|
44756
|
+
console.warn("".concat(yellow, "\nCULTUREAMP UI WARNING:\n").concat((0, exports.singleLine)(message)).concat(reset, "\n"));
|
|
44757
|
+
};
|
|
44758
|
+
exports.warn = warn;
|
|
44759
|
+
var singleLine = function(message) {
|
|
44760
|
+
return message.replace(/^ +/gm, " ").replace(/\n|\r/gm, "").trim();
|
|
44761
|
+
};
|
|
44762
|
+
exports.singleLine = singleLine;
|
|
44763
|
+
})(console$1);
|
|
44764
|
+
|
|
44765
|
+
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"};
|
|
44766
|
+
|
|
44767
|
+
var Icon_module$1 = /*#__PURE__*/Object.freeze({
|
|
44768
|
+
__proto__: null,
|
|
44769
|
+
default: Icon_module
|
|
44770
|
+
});
|
|
44771
|
+
|
|
44772
|
+
var require$$3 = /*@__PURE__*/getAugmentedNamespace(Icon_module$1);
|
|
44773
|
+
|
|
44774
|
+
(function(exports) {
|
|
44775
|
+
var __assign = commonjsGlobal && commonjsGlobal.__assign || function() {
|
|
44776
|
+
__assign = Object.assign || function(t) {
|
|
44777
|
+
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
44778
|
+
s = arguments[i];
|
|
44779
|
+
for (var p in s)
|
|
44780
|
+
if (Object.prototype.hasOwnProperty.call(s, p))
|
|
44781
|
+
t[p] = s[p];
|
|
44782
|
+
}
|
|
44783
|
+
return t;
|
|
44784
|
+
};
|
|
44785
|
+
return __assign.apply(this, arguments);
|
|
44786
|
+
};
|
|
44787
|
+
var __rest = commonjsGlobal && commonjsGlobal.__rest || function(s, e) {
|
|
44788
|
+
var t = {};
|
|
44789
|
+
for (var p in s)
|
|
44790
|
+
if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
|
|
44791
|
+
t[p] = s[p];
|
|
44792
|
+
if (s != null && typeof Object.getOwnPropertySymbols === "function")
|
|
44793
|
+
for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
|
|
44794
|
+
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
|
|
44795
|
+
t[p[i]] = s[p[i]];
|
|
44796
|
+
}
|
|
44797
|
+
return t;
|
|
44798
|
+
};
|
|
44799
|
+
var __importDefault = commonjsGlobal && commonjsGlobal.__importDefault || function(mod) {
|
|
44800
|
+
return mod && mod.__esModule ? mod : { "default": mod };
|
|
44801
|
+
};
|
|
44802
|
+
exports.__esModule = true;
|
|
44803
|
+
exports.Icon = void 0;
|
|
44804
|
+
var react_1 = __importDefault(React);
|
|
44805
|
+
var classnames_1 = __importDefault(index.classnamesExports);
|
|
44806
|
+
var console_1 = console$1;
|
|
44807
|
+
var Icon_module_scss_1 = __importDefault(require$$3);
|
|
44808
|
+
var Icon = function(_a) {
|
|
44809
|
+
var _b, _c;
|
|
44810
|
+
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"]);
|
|
44811
|
+
var isMeaningfulImg = role === "img";
|
|
44812
|
+
if (isMeaningfulImg && !title) {
|
|
44813
|
+
(0, console_1.warn)(`
|
|
44778
44814
|
Icon with role "img" missing a title attribute.
|
|
44779
44815
|
|
|
44780
44816
|
Assistive technologies that enable vision-impaired users to read web pages
|
|
@@ -44786,28 +44822,1077 @@ const Icon = (_a) => {
|
|
|
44786
44822
|
Either add the missing title prop, or set this icon's role to
|
|
44787
44823
|
"presentation" to indicate it is not meaningful.
|
|
44788
44824
|
`);
|
|
44789
|
-
|
|
44790
|
-
|
|
44791
|
-
|
|
44792
|
-
|
|
44793
|
-
|
|
44794
|
-
|
|
44825
|
+
}
|
|
44826
|
+
var renderTitle = function() {
|
|
44827
|
+
return isMeaningfulImg && !!title && react_1["default"].createElement("title", null, title);
|
|
44828
|
+
};
|
|
44829
|
+
var renderDesc = function() {
|
|
44830
|
+
return isMeaningfulImg && !!desc && react_1["default"].createElement("desc", null, desc);
|
|
44831
|
+
};
|
|
44832
|
+
var accessibilityProps = (_b = {
|
|
44833
|
+
role
|
|
44834
|
+
}, _b["aria-hidden"] = isMeaningfulImg ? void 0 : true, _b);
|
|
44835
|
+
return react_1["default"].createElement(
|
|
44836
|
+
"svg",
|
|
44837
|
+
__assign({
|
|
44838
|
+
className: (0, classnames_1["default"])(Icon_module_scss_1["default"].icon, classNameOverride, (_c = {}, _c[Icon_module_scss_1["default"].inheritSize] = inheritSize, _c)),
|
|
44839
|
+
viewBox: icon.viewBox,
|
|
44840
|
+
// Work around IE11 making all SVGs focusable.
|
|
44841
|
+
// See http://simplyaccessible.com/article/7-solutions-svgs/#acc-heading-4
|
|
44842
|
+
focusable: "false"
|
|
44843
|
+
}, accessibilityProps, props),
|
|
44844
|
+
renderTitle(),
|
|
44845
|
+
renderDesc(),
|
|
44846
|
+
react_1["default"].createElement("use", { xlinkHref: "#".concat(icon.id) })
|
|
44847
|
+
);
|
|
44795
44848
|
};
|
|
44796
|
-
|
|
44797
|
-
|
|
44798
|
-
|
|
44799
|
-
|
|
44800
|
-
|
|
44801
|
-
|
|
44802
|
-
|
|
44803
|
-
|
|
44804
|
-
|
|
44805
|
-
|
|
44806
|
-
|
|
44807
|
-
|
|
44849
|
+
exports.Icon = Icon;
|
|
44850
|
+
exports.Icon.displayName = "Icon";
|
|
44851
|
+
})(Icon);
|
|
44852
|
+
|
|
44853
|
+
(function(exports) {
|
|
44854
|
+
var __createBinding = commonjsGlobal && commonjsGlobal.__createBinding || (Object.create ? function(o, m, k, k2) {
|
|
44855
|
+
if (k2 === void 0)
|
|
44856
|
+
k2 = k;
|
|
44857
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
44858
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
44859
|
+
desc = { enumerable: true, get: function() {
|
|
44860
|
+
return m[k];
|
|
44861
|
+
} };
|
|
44862
|
+
}
|
|
44863
|
+
Object.defineProperty(o, k2, desc);
|
|
44864
|
+
} : function(o, m, k, k2) {
|
|
44865
|
+
if (k2 === void 0)
|
|
44866
|
+
k2 = k;
|
|
44867
|
+
o[k2] = m[k];
|
|
44868
|
+
});
|
|
44869
|
+
var __exportStar = commonjsGlobal && commonjsGlobal.__exportStar || function(m, exports2) {
|
|
44870
|
+
for (var p in m)
|
|
44871
|
+
if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports2, p))
|
|
44872
|
+
__createBinding(exports2, m, p);
|
|
44873
|
+
};
|
|
44874
|
+
exports.__esModule = true;
|
|
44875
|
+
__exportStar(Icon, exports);
|
|
44876
|
+
})(Icon$1);
|
|
44877
|
+
|
|
44878
|
+
var DropdownMenu = {};
|
|
44879
|
+
|
|
44880
|
+
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"};
|
|
44881
|
+
|
|
44882
|
+
var Dropdown_module$1 = /*#__PURE__*/Object.freeze({
|
|
44883
|
+
__proto__: null,
|
|
44884
|
+
default: Dropdown_module
|
|
44885
|
+
});
|
|
44886
|
+
|
|
44887
|
+
var require$$6 = /*@__PURE__*/getAugmentedNamespace(Dropdown_module$1);
|
|
44888
|
+
|
|
44889
|
+
(function(exports) {
|
|
44890
|
+
var __extends = commonjsGlobal && commonjsGlobal.__extends || function() {
|
|
44891
|
+
var extendStatics = function(d, b) {
|
|
44892
|
+
extendStatics = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(d2, b2) {
|
|
44893
|
+
d2.__proto__ = b2;
|
|
44894
|
+
} || function(d2, b2) {
|
|
44895
|
+
for (var p in b2)
|
|
44896
|
+
if (Object.prototype.hasOwnProperty.call(b2, p))
|
|
44897
|
+
d2[p] = b2[p];
|
|
44898
|
+
};
|
|
44899
|
+
return extendStatics(d, b);
|
|
44900
|
+
};
|
|
44901
|
+
return function(d, b) {
|
|
44902
|
+
if (typeof b !== "function" && b !== null)
|
|
44903
|
+
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
|
|
44904
|
+
extendStatics(d, b);
|
|
44905
|
+
function __() {
|
|
44906
|
+
this.constructor = d;
|
|
44907
|
+
}
|
|
44908
|
+
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
44909
|
+
};
|
|
44910
|
+
}();
|
|
44911
|
+
var __importDefault = commonjsGlobal && commonjsGlobal.__importDefault || function(mod) {
|
|
44912
|
+
return mod && mod.__esModule ? mod : { "default": mod };
|
|
44913
|
+
};
|
|
44914
|
+
exports.__esModule = true;
|
|
44915
|
+
var react_1 = __importDefault(React);
|
|
44916
|
+
var Dropdown_module_scss_1 = __importDefault(require$$6);
|
|
44917
|
+
var DropdownMenu = (
|
|
44918
|
+
/** @class */
|
|
44919
|
+
function(_super) {
|
|
44920
|
+
__extends(DropdownMenu2, _super);
|
|
44921
|
+
function DropdownMenu2() {
|
|
44922
|
+
var _this = _super !== null && _super.apply(this, arguments) || this;
|
|
44923
|
+
_this.menu = react_1["default"].createRef();
|
|
44924
|
+
_this.handleDocumentClick = function(e) {
|
|
44925
|
+
if (_this.menu && _this.menu.current && e.target instanceof Node && !_this.menu.current.contains(e.target)) {
|
|
44926
|
+
_this.props.hideDropdownMenu();
|
|
44927
|
+
}
|
|
44928
|
+
};
|
|
44929
|
+
_this.handleDocumentResize = function() {
|
|
44930
|
+
_this.props.hideDropdownMenu();
|
|
44931
|
+
};
|
|
44932
|
+
return _this;
|
|
44933
|
+
}
|
|
44934
|
+
DropdownMenu2.prototype.componentDidMount = function() {
|
|
44935
|
+
document.addEventListener("click", this.handleDocumentClick, false);
|
|
44936
|
+
window.addEventListener("resize", this.handleDocumentResize, false);
|
|
44937
|
+
this.positionMenu();
|
|
44938
|
+
};
|
|
44939
|
+
DropdownMenu2.prototype.componentWillUnmount = function() {
|
|
44940
|
+
document.removeEventListener("click", this.handleDocumentClick, false);
|
|
44941
|
+
window.removeEventListener("resize", this.handleDocumentResize, false);
|
|
44942
|
+
};
|
|
44943
|
+
DropdownMenu2.prototype.render = function() {
|
|
44944
|
+
var _a = this.props, hideDropdownMenu = _a.hideDropdownMenu, children = _a.children;
|
|
44945
|
+
return (
|
|
44946
|
+
// Disabling instead of addressing because this component is deprecated
|
|
44947
|
+
// eslint-disable-next-line jsx-a11y/click-events-have-key-events, jsx-a11y/no-static-element-interactions
|
|
44948
|
+
react_1["default"].createElement("div", { className: Dropdown_module_scss_1["default"].menuContainer, ref: this.menu, onClick: hideDropdownMenu }, children)
|
|
44949
|
+
);
|
|
44950
|
+
};
|
|
44951
|
+
DropdownMenu2.prototype.positionMenu = function() {
|
|
44952
|
+
var menu = this.menu;
|
|
44953
|
+
if (!this.props.position || !menu) {
|
|
44954
|
+
return;
|
|
44955
|
+
}
|
|
44956
|
+
if (menu.current) {
|
|
44957
|
+
var pos = this.props.position;
|
|
44958
|
+
var innerHeight_1 = window.innerHeight;
|
|
44959
|
+
var rect = menu.current.getBoundingClientRect();
|
|
44960
|
+
if (pos.bottom > innerHeight_1 - rect.height) {
|
|
44961
|
+
menu.current.style.bottom = "24px";
|
|
44962
|
+
menu.current.style.top = "auto";
|
|
44963
|
+
} else {
|
|
44964
|
+
menu.current.style.top = "24px";
|
|
44965
|
+
menu.current.style.bottom = "auto";
|
|
44966
|
+
}
|
|
44967
|
+
}
|
|
44968
|
+
};
|
|
44969
|
+
DropdownMenu2.displayName = "DropdownMenu";
|
|
44970
|
+
return DropdownMenu2;
|
|
44971
|
+
}(react_1["default"].Component)
|
|
44972
|
+
);
|
|
44973
|
+
exports["default"] = DropdownMenu;
|
|
44974
|
+
})(DropdownMenu);
|
|
44975
|
+
|
|
44976
|
+
(function(exports) {
|
|
44977
|
+
var __extends = commonjsGlobal && commonjsGlobal.__extends || function() {
|
|
44978
|
+
var extendStatics = function(d, b) {
|
|
44979
|
+
extendStatics = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(d2, b2) {
|
|
44980
|
+
d2.__proto__ = b2;
|
|
44981
|
+
} || function(d2, b2) {
|
|
44982
|
+
for (var p in b2)
|
|
44983
|
+
if (Object.prototype.hasOwnProperty.call(b2, p))
|
|
44984
|
+
d2[p] = b2[p];
|
|
44985
|
+
};
|
|
44986
|
+
return extendStatics(d, b);
|
|
44987
|
+
};
|
|
44988
|
+
return function(d, b) {
|
|
44989
|
+
if (typeof b !== "function" && b !== null)
|
|
44990
|
+
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
|
|
44991
|
+
extendStatics(d, b);
|
|
44992
|
+
function __() {
|
|
44993
|
+
this.constructor = d;
|
|
44994
|
+
}
|
|
44995
|
+
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
44996
|
+
};
|
|
44997
|
+
}();
|
|
44998
|
+
var __importDefault = commonjsGlobal && commonjsGlobal.__importDefault || function(mod) {
|
|
44999
|
+
return mod && mod.__esModule ? mod : { "default": mod };
|
|
45000
|
+
};
|
|
45001
|
+
exports.__esModule = true;
|
|
45002
|
+
var react_1 = __importDefault(React);
|
|
45003
|
+
var classnames_1 = __importDefault(index.classnamesExports);
|
|
45004
|
+
var chevron_down_icon_svg_1 = __importDefault(require$$2$1);
|
|
45005
|
+
var ellipsis_icon_svg_1 = __importDefault(require$$3$1);
|
|
45006
|
+
var Icon_1 = Icon$1;
|
|
45007
|
+
var DropdownMenu_1 = __importDefault(DropdownMenu);
|
|
45008
|
+
var Dropdown_module_scss_1 = __importDefault(require$$6);
|
|
45009
|
+
var Dropdown = (
|
|
45010
|
+
/** @class */
|
|
45011
|
+
function(_super) {
|
|
45012
|
+
__extends(Dropdown2, _super);
|
|
45013
|
+
function Dropdown2(props) {
|
|
45014
|
+
var _this = _super.call(this, props) || this;
|
|
45015
|
+
_this.dropdownButton = react_1["default"].createRef();
|
|
45016
|
+
_this.toggleDropdownMenu = function(e) {
|
|
45017
|
+
e.stopPropagation();
|
|
45018
|
+
var currentState = _this.state.isMenuVisible;
|
|
45019
|
+
_this.setState({
|
|
45020
|
+
isMenuVisible: !currentState
|
|
45021
|
+
});
|
|
45022
|
+
};
|
|
45023
|
+
_this.hideDropdownMenu = function() {
|
|
45024
|
+
_this.setState({
|
|
45025
|
+
isMenuVisible: false
|
|
45026
|
+
});
|
|
45027
|
+
};
|
|
45028
|
+
_this.renderIcon = function(icon) {
|
|
45029
|
+
if (!icon)
|
|
45030
|
+
return;
|
|
45031
|
+
return react_1["default"].createElement(
|
|
45032
|
+
"span",
|
|
45033
|
+
{ className: Dropdown_module_scss_1["default"].dropdownIcon },
|
|
45034
|
+
react_1["default"].createElement(Icon_1.Icon, { icon, role: "img", title: "Open menu" })
|
|
45035
|
+
);
|
|
45036
|
+
};
|
|
45037
|
+
_this.renderDownArrow = function() {
|
|
45038
|
+
var _a = _this.props, label = _a.label, controlAction = _a.controlAction;
|
|
45039
|
+
if (!label || !controlAction)
|
|
45040
|
+
return;
|
|
45041
|
+
return react_1["default"].createElement(
|
|
45042
|
+
"span",
|
|
45043
|
+
{ className: Dropdown_module_scss_1["default"].chevronIcon },
|
|
45044
|
+
react_1["default"].createElement(Icon_1.Icon, { icon: chevron_down_icon_svg_1["default"], role: "img", title: "Open menu" })
|
|
45045
|
+
);
|
|
45046
|
+
};
|
|
45047
|
+
_this.renderButtonContent = function() {
|
|
45048
|
+
var label = _this.props.label;
|
|
45049
|
+
var icon = _this.props.icon;
|
|
45050
|
+
if (!icon && !label) {
|
|
45051
|
+
icon = ellipsis_icon_svg_1["default"];
|
|
45052
|
+
}
|
|
45053
|
+
return react_1["default"].createElement(
|
|
45054
|
+
react_1["default"].Fragment,
|
|
45055
|
+
null,
|
|
45056
|
+
_this.renderIcon(icon),
|
|
45057
|
+
label && react_1["default"].createElement("span", { className: Dropdown_module_scss_1["default"].dropdownLabel }, label),
|
|
45058
|
+
_this.renderDownArrow()
|
|
45059
|
+
);
|
|
45060
|
+
};
|
|
45061
|
+
_this.renderReversedButtonContent = function() {
|
|
45062
|
+
var _a = _this.props, icon = _a.icon, label = _a.label;
|
|
45063
|
+
return react_1["default"].createElement(
|
|
45064
|
+
react_1["default"].Fragment,
|
|
45065
|
+
null,
|
|
45066
|
+
_this.renderDownArrow(),
|
|
45067
|
+
label && react_1["default"].createElement("span", { className: Dropdown_module_scss_1["default"].dropdownLabel }, label),
|
|
45068
|
+
_this.renderIcon(icon)
|
|
45069
|
+
);
|
|
45070
|
+
};
|
|
45071
|
+
_this.state = {
|
|
45072
|
+
isMenuVisible: Boolean(props.menuVisible)
|
|
45073
|
+
};
|
|
45074
|
+
return _this;
|
|
45075
|
+
}
|
|
45076
|
+
Dropdown2.prototype.getPosition = function() {
|
|
45077
|
+
return this.dropdownButton && this.dropdownButton.current ? this.dropdownButton.current.getBoundingClientRect() : null;
|
|
45078
|
+
};
|
|
45079
|
+
Dropdown2.prototype.renderDropdownMenu = function() {
|
|
45080
|
+
return react_1["default"].createElement(DropdownMenu_1["default"], { hideDropdownMenu: this.hideDropdownMenu, position: this.getPosition() }, this.props.children);
|
|
45081
|
+
};
|
|
45082
|
+
Dropdown2.prototype.render = function() {
|
|
45083
|
+
var _a;
|
|
45084
|
+
var _b = this.props, controlAction = _b.controlAction, automationId = _b.automationId, iconPosition = _b.iconPosition, reversedColor = _b.reversedColor;
|
|
45085
|
+
var reverseIcon = iconPosition === "end";
|
|
45086
|
+
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));
|
|
45087
|
+
return react_1["default"].createElement(
|
|
45088
|
+
"div",
|
|
45089
|
+
{ className: Dropdown_module_scss_1["default"].dropdown },
|
|
45090
|
+
react_1["default"].createElement(
|
|
45091
|
+
"button",
|
|
45092
|
+
{ className: btnClass, onClick: this.toggleDropdownMenu, onMouseDown: function(e) {
|
|
45093
|
+
return e.preventDefault();
|
|
45094
|
+
}, ref: this.dropdownButton, "data-automation-id": automationId },
|
|
45095
|
+
!reverseIcon && this.renderButtonContent(),
|
|
45096
|
+
reverseIcon && this.renderReversedButtonContent()
|
|
45097
|
+
),
|
|
45098
|
+
this.state.isMenuVisible && this.renderDropdownMenu()
|
|
45099
|
+
);
|
|
45100
|
+
};
|
|
45101
|
+
Dropdown2.displayName = "Dropdown";
|
|
45102
|
+
Dropdown2.defaultProps = {
|
|
45103
|
+
iconPosition: "start"
|
|
45104
|
+
};
|
|
45105
|
+
return Dropdown2;
|
|
45106
|
+
}(react_1["default"].Component)
|
|
44808
45107
|
);
|
|
45108
|
+
exports["default"] = Dropdown;
|
|
45109
|
+
})(Dropdown);
|
|
45110
|
+
|
|
45111
|
+
(function(exports) {
|
|
45112
|
+
var __createBinding = commonjsGlobal && commonjsGlobal.__createBinding || (Object.create ? function(o, m, k, k2) {
|
|
45113
|
+
if (k2 === void 0)
|
|
45114
|
+
k2 = k;
|
|
45115
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
45116
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
45117
|
+
desc = { enumerable: true, get: function() {
|
|
45118
|
+
return m[k];
|
|
45119
|
+
} };
|
|
45120
|
+
}
|
|
45121
|
+
Object.defineProperty(o, k2, desc);
|
|
45122
|
+
} : function(o, m, k, k2) {
|
|
45123
|
+
if (k2 === void 0)
|
|
45124
|
+
k2 = k;
|
|
45125
|
+
o[k2] = m[k];
|
|
45126
|
+
});
|
|
45127
|
+
exports.__esModule = true;
|
|
45128
|
+
exports.Dropdown = void 0;
|
|
45129
|
+
var Dropdown_1 = Dropdown;
|
|
45130
|
+
__createBinding(exports, Dropdown_1, "default", "Dropdown");
|
|
45131
|
+
})(Dropdown$1);
|
|
45132
|
+
|
|
45133
|
+
var Layout$1 = {};
|
|
45134
|
+
|
|
45135
|
+
var Layout = {};
|
|
45136
|
+
|
|
45137
|
+
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"};
|
|
45138
|
+
|
|
45139
|
+
var Layout_module$1 = /*#__PURE__*/Object.freeze({
|
|
45140
|
+
__proto__: null,
|
|
45141
|
+
default: Layout_module
|
|
45142
|
+
});
|
|
45143
|
+
|
|
45144
|
+
var require$$1$3 = /*@__PURE__*/getAugmentedNamespace(Layout_module$1);
|
|
45145
|
+
|
|
45146
|
+
(function(exports) {
|
|
45147
|
+
var __extends = commonjsGlobal && commonjsGlobal.__extends || function() {
|
|
45148
|
+
var extendStatics = function(d, b) {
|
|
45149
|
+
extendStatics = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(d2, b2) {
|
|
45150
|
+
d2.__proto__ = b2;
|
|
45151
|
+
} || function(d2, b2) {
|
|
45152
|
+
for (var p in b2)
|
|
45153
|
+
if (Object.prototype.hasOwnProperty.call(b2, p))
|
|
45154
|
+
d2[p] = b2[p];
|
|
45155
|
+
};
|
|
45156
|
+
return extendStatics(d, b);
|
|
45157
|
+
};
|
|
45158
|
+
return function(d, b) {
|
|
45159
|
+
if (typeof b !== "function" && b !== null)
|
|
45160
|
+
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
|
|
45161
|
+
extendStatics(d, b);
|
|
45162
|
+
function __() {
|
|
45163
|
+
this.constructor = d;
|
|
45164
|
+
}
|
|
45165
|
+
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
45166
|
+
};
|
|
45167
|
+
}();
|
|
45168
|
+
var __importDefault = commonjsGlobal && commonjsGlobal.__importDefault || function(mod) {
|
|
45169
|
+
return mod && mod.__esModule ? mod : { "default": mod };
|
|
45170
|
+
};
|
|
45171
|
+
exports.__esModule = true;
|
|
45172
|
+
var react_1 = __importDefault(React);
|
|
45173
|
+
var Layout_module_scss_1 = __importDefault(require$$1$3);
|
|
45174
|
+
var NavigationBar = function(_a) {
|
|
45175
|
+
var children = _a.children;
|
|
45176
|
+
return react_1["default"].createElement("div", { className: Layout_module_scss_1["default"].navigationBar }, children);
|
|
45177
|
+
};
|
|
45178
|
+
NavigationBar.displayName = "NavigationBar";
|
|
45179
|
+
var Sidebar = function(_a) {
|
|
45180
|
+
var children = _a.children;
|
|
45181
|
+
return react_1["default"].createElement(
|
|
45182
|
+
"div",
|
|
45183
|
+
{ className: Layout_module_scss_1["default"].sidebar },
|
|
45184
|
+
react_1["default"].createElement("div", { className: Layout_module_scss_1["default"].sidebarInner }, children)
|
|
45185
|
+
);
|
|
45186
|
+
};
|
|
45187
|
+
Sidebar.displayName = "Sidebar";
|
|
45188
|
+
var Header = function(_a) {
|
|
45189
|
+
var children = _a.children;
|
|
45190
|
+
return react_1["default"].createElement("aside", { className: Layout_module_scss_1["default"].header }, children);
|
|
45191
|
+
};
|
|
45192
|
+
Header.displayName = "Header";
|
|
45193
|
+
var Footer = function(_a) {
|
|
45194
|
+
var children = _a.children;
|
|
45195
|
+
return react_1["default"].createElement("footer", { className: Layout_module_scss_1["default"].footer }, children);
|
|
45196
|
+
};
|
|
45197
|
+
Footer.displayName = "Footer";
|
|
45198
|
+
var Toasts = function(_a) {
|
|
45199
|
+
var children = _a.children;
|
|
45200
|
+
return react_1["default"].createElement("div", { className: Layout_module_scss_1["default"].toasts, "aria-live": "assertive" }, children);
|
|
45201
|
+
};
|
|
45202
|
+
Toasts.displayName = "Toasts";
|
|
45203
|
+
var Announcers = function(_a) {
|
|
45204
|
+
var children = _a.children;
|
|
45205
|
+
return react_1["default"].createElement("div", { className: Layout_module_scss_1["default"].announcers, "aria-live": "assertive" }, children);
|
|
45206
|
+
};
|
|
45207
|
+
Announcers.displayName = "Announcers";
|
|
45208
|
+
var Layout = (
|
|
45209
|
+
/** @class */
|
|
45210
|
+
function(_super) {
|
|
45211
|
+
__extends(Layout2, _super);
|
|
45212
|
+
function Layout2() {
|
|
45213
|
+
return _super !== null && _super.apply(this, arguments) || this;
|
|
45214
|
+
}
|
|
45215
|
+
Layout2.prototype.render = function() {
|
|
45216
|
+
var content = react_1["default"].Children.toArray(this.props.children);
|
|
45217
|
+
var navbar = extractChildOfType(content, NavigationBar);
|
|
45218
|
+
var header = extractChildOfType(content, Header);
|
|
45219
|
+
var sidebar = extractChildOfType(content, Sidebar);
|
|
45220
|
+
var footer = extractChildOfType(content, Footer);
|
|
45221
|
+
var announcers = extractChildOfType(content, Announcers);
|
|
45222
|
+
var toasts = extractChildOfType(content, Toasts);
|
|
45223
|
+
return react_1["default"].createElement(
|
|
45224
|
+
"div",
|
|
45225
|
+
{ className: Layout_module_scss_1["default"].root },
|
|
45226
|
+
navbar,
|
|
45227
|
+
announcers,
|
|
45228
|
+
react_1["default"].createElement(
|
|
45229
|
+
"div",
|
|
45230
|
+
{ className: Layout_module_scss_1["default"].page },
|
|
45231
|
+
header,
|
|
45232
|
+
toasts,
|
|
45233
|
+
react_1["default"].createElement(
|
|
45234
|
+
"div",
|
|
45235
|
+
{ className: Layout_module_scss_1["default"].body },
|
|
45236
|
+
react_1["default"].createElement(
|
|
45237
|
+
"div",
|
|
45238
|
+
{ className: Layout_module_scss_1["default"].bodyInner },
|
|
45239
|
+
sidebar,
|
|
45240
|
+
react_1["default"].createElement("main", { className: Layout_module_scss_1["default"].content }, content)
|
|
45241
|
+
)
|
|
45242
|
+
),
|
|
45243
|
+
footer
|
|
45244
|
+
)
|
|
45245
|
+
);
|
|
45246
|
+
};
|
|
45247
|
+
Layout2.displayName = "Layout";
|
|
45248
|
+
Layout2.NavigationBar = NavigationBar;
|
|
45249
|
+
Layout2.Sidebar = Sidebar;
|
|
45250
|
+
Layout2.Header = Header;
|
|
45251
|
+
Layout2.Footer = Footer;
|
|
45252
|
+
Layout2.Toasts = Toasts;
|
|
45253
|
+
Layout2.Announcers = Announcers;
|
|
45254
|
+
return Layout2;
|
|
45255
|
+
}(react_1["default"].Component)
|
|
45256
|
+
);
|
|
45257
|
+
var extractChildOfType = function(children, type) {
|
|
45258
|
+
var match = children.find(function(child) {
|
|
45259
|
+
if (react_1["default"].isValidElement(child) && typeof child.type === "function") {
|
|
45260
|
+
return child.type.displayName === type.displayName;
|
|
45261
|
+
}
|
|
45262
|
+
return false;
|
|
45263
|
+
});
|
|
45264
|
+
if (match) {
|
|
45265
|
+
var index = children.indexOf(match);
|
|
45266
|
+
children.splice(index, 1);
|
|
45267
|
+
}
|
|
45268
|
+
return match;
|
|
45269
|
+
};
|
|
45270
|
+
exports["default"] = Layout;
|
|
45271
|
+
})(Layout);
|
|
45272
|
+
|
|
45273
|
+
(function(exports) {
|
|
45274
|
+
var __createBinding = commonjsGlobal && commonjsGlobal.__createBinding || (Object.create ? function(o, m, k, k2) {
|
|
45275
|
+
if (k2 === void 0)
|
|
45276
|
+
k2 = k;
|
|
45277
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
45278
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
45279
|
+
desc = { enumerable: true, get: function() {
|
|
45280
|
+
return m[k];
|
|
45281
|
+
} };
|
|
45282
|
+
}
|
|
45283
|
+
Object.defineProperty(o, k2, desc);
|
|
45284
|
+
} : function(o, m, k, k2) {
|
|
45285
|
+
if (k2 === void 0)
|
|
45286
|
+
k2 = k;
|
|
45287
|
+
o[k2] = m[k];
|
|
45288
|
+
});
|
|
45289
|
+
exports.__esModule = true;
|
|
45290
|
+
exports.Layout = void 0;
|
|
45291
|
+
var Layout_1 = Layout;
|
|
45292
|
+
__createBinding(exports, Layout_1, "default", "Layout");
|
|
45293
|
+
})(Layout$1);
|
|
45294
|
+
|
|
45295
|
+
var MenuList$1 = {};
|
|
45296
|
+
|
|
45297
|
+
var MenuList = {};
|
|
45298
|
+
|
|
45299
|
+
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"};
|
|
45300
|
+
|
|
45301
|
+
var Menu_module$1 = /*#__PURE__*/Object.freeze({
|
|
45302
|
+
__proto__: null,
|
|
45303
|
+
default: Menu_module
|
|
45304
|
+
});
|
|
45305
|
+
|
|
45306
|
+
var require$$1$2 = /*@__PURE__*/getAugmentedNamespace(Menu_module$1);
|
|
45307
|
+
|
|
45308
|
+
(function(exports) {
|
|
45309
|
+
var __importDefault = commonjsGlobal && commonjsGlobal.__importDefault || function(mod) {
|
|
45310
|
+
return mod && mod.__esModule ? mod : { "default": mod };
|
|
45311
|
+
};
|
|
45312
|
+
exports.__esModule = true;
|
|
45313
|
+
var react_1 = __importDefault(React);
|
|
45314
|
+
var Menu_module_scss_1 = __importDefault(require$$1$2);
|
|
45315
|
+
var MenuList = function(props) {
|
|
45316
|
+
return react_1["default"].createElement("div", { className: Menu_module_scss_1["default"].menuList }, props.children);
|
|
45317
|
+
};
|
|
45318
|
+
MenuList.displayName = "MenuList";
|
|
45319
|
+
exports["default"] = MenuList;
|
|
45320
|
+
})(MenuList);
|
|
45321
|
+
|
|
45322
|
+
var MenuHeader = {};
|
|
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);
|
|
45330
|
+
var Menu_module_scss_1 = __importDefault(require$$1$2);
|
|
45331
|
+
var MenuHeader = function(props) {
|
|
45332
|
+
return react_1["default"].createElement(
|
|
45333
|
+
"div",
|
|
45334
|
+
{ className: Menu_module_scss_1["default"].header },
|
|
45335
|
+
react_1["default"].createElement("span", { className: Menu_module_scss_1["default"].header__title }, props.title)
|
|
45336
|
+
);
|
|
45337
|
+
};
|
|
45338
|
+
MenuHeader.displayName = "MenuHeader";
|
|
45339
|
+
exports["default"] = MenuHeader;
|
|
45340
|
+
})(MenuHeader);
|
|
45341
|
+
|
|
45342
|
+
var MenuItem = {};
|
|
45343
|
+
|
|
45344
|
+
(function(exports) {
|
|
45345
|
+
var __importDefault = commonjsGlobal && commonjsGlobal.__importDefault || function(mod) {
|
|
45346
|
+
return mod && mod.__esModule ? mod : { "default": mod };
|
|
45347
|
+
};
|
|
45348
|
+
exports.__esModule = true;
|
|
45349
|
+
var react_1 = __importDefault(React);
|
|
45350
|
+
var classnames_1 = __importDefault(index.classnamesExports);
|
|
45351
|
+
var Icon_1 = Icon$1;
|
|
45352
|
+
var Menu_module_scss_1 = __importDefault(require$$1$2);
|
|
45353
|
+
var MenuItem = function(props) {
|
|
45354
|
+
var _a;
|
|
45355
|
+
var icon = props.icon, hoverIcon = props.hoverIcon, children = props.children, action = props.action, active = props.active, destructive = props.destructive, automationId = props.automationId;
|
|
45356
|
+
var isLink = typeof action === "string";
|
|
45357
|
+
var label = react_1["default"].createElement(
|
|
45358
|
+
"span",
|
|
45359
|
+
{ className: Menu_module_scss_1["default"].menuItem__Label },
|
|
45360
|
+
children,
|
|
45361
|
+
isLink && "\u2026"
|
|
45362
|
+
);
|
|
45363
|
+
var iconNode = icon && react_1["default"].createElement(
|
|
45364
|
+
"span",
|
|
45365
|
+
{ className: Menu_module_scss_1["default"].menuItem__Icon },
|
|
45366
|
+
react_1["default"].createElement(Icon_1.Icon, { icon, role: "presentation" })
|
|
45367
|
+
);
|
|
45368
|
+
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));
|
|
45369
|
+
if (typeof action === "string") {
|
|
45370
|
+
return react_1["default"].createElement(
|
|
45371
|
+
"a",
|
|
45372
|
+
{ href: action, className, "data-automation-id": automationId },
|
|
45373
|
+
label,
|
|
45374
|
+
iconNode
|
|
45375
|
+
);
|
|
45376
|
+
}
|
|
45377
|
+
return (
|
|
45378
|
+
// Disabling instead of addressing because this component is deprecated.
|
|
45379
|
+
// eslint-disable-next-line jsx-a11y/anchor-is-valid
|
|
45380
|
+
react_1["default"].createElement(
|
|
45381
|
+
"a",
|
|
45382
|
+
{ href: "#", onClick: action, className, "data-automation-id": automationId },
|
|
45383
|
+
label,
|
|
45384
|
+
iconNode
|
|
45385
|
+
)
|
|
45386
|
+
);
|
|
45387
|
+
};
|
|
45388
|
+
MenuItem.displayName = "MenuItem";
|
|
45389
|
+
exports["default"] = MenuItem;
|
|
45390
|
+
})(MenuItem);
|
|
45391
|
+
|
|
45392
|
+
var MenuSeparator = {};
|
|
45393
|
+
|
|
45394
|
+
(function(exports) {
|
|
45395
|
+
var __importDefault = commonjsGlobal && commonjsGlobal.__importDefault || function(mod) {
|
|
45396
|
+
return mod && mod.__esModule ? mod : { "default": mod };
|
|
45397
|
+
};
|
|
45398
|
+
exports.__esModule = true;
|
|
45399
|
+
var react_1 = __importDefault(React);
|
|
45400
|
+
var Menu_module_scss_1 = __importDefault(require$$1$2);
|
|
45401
|
+
var MenuSeparator = function() {
|
|
45402
|
+
return react_1["default"].createElement("hr", { className: Menu_module_scss_1["default"].separator });
|
|
45403
|
+
};
|
|
45404
|
+
MenuSeparator.displayName = "MenuSeparator";
|
|
45405
|
+
exports["default"] = MenuSeparator;
|
|
45406
|
+
})(MenuSeparator);
|
|
45407
|
+
|
|
45408
|
+
(function(exports) {
|
|
45409
|
+
var __createBinding = commonjsGlobal && commonjsGlobal.__createBinding || (Object.create ? function(o, m, k, k2) {
|
|
45410
|
+
if (k2 === void 0)
|
|
45411
|
+
k2 = k;
|
|
45412
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
45413
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
45414
|
+
desc = { enumerable: true, get: function() {
|
|
45415
|
+
return m[k];
|
|
45416
|
+
} };
|
|
45417
|
+
}
|
|
45418
|
+
Object.defineProperty(o, k2, desc);
|
|
45419
|
+
} : function(o, m, k, k2) {
|
|
45420
|
+
if (k2 === void 0)
|
|
45421
|
+
k2 = k;
|
|
45422
|
+
o[k2] = m[k];
|
|
45423
|
+
});
|
|
45424
|
+
exports.__esModule = true;
|
|
45425
|
+
exports.MenuSeparator = exports.MenuItem = exports.MenuHeader = exports.MenuList = void 0;
|
|
45426
|
+
var MenuList_1 = MenuList;
|
|
45427
|
+
__createBinding(exports, MenuList_1, "default", "MenuList");
|
|
45428
|
+
var MenuHeader_1 = MenuHeader;
|
|
45429
|
+
__createBinding(exports, MenuHeader_1, "default", "MenuHeader");
|
|
45430
|
+
var MenuItem_1 = MenuItem;
|
|
45431
|
+
__createBinding(exports, MenuItem_1, "default", "MenuItem");
|
|
45432
|
+
var MenuSeparator_1 = MenuSeparator;
|
|
45433
|
+
__createBinding(exports, MenuSeparator_1, "default", "MenuSeparator");
|
|
45434
|
+
})(MenuList$1);
|
|
45435
|
+
|
|
45436
|
+
var Text$1 = {};
|
|
45437
|
+
|
|
45438
|
+
var Text = {};
|
|
45439
|
+
|
|
45440
|
+
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"};
|
|
45441
|
+
|
|
45442
|
+
var Text_module$1 = /*#__PURE__*/Object.freeze({
|
|
45443
|
+
__proto__: null,
|
|
45444
|
+
default: Text_module
|
|
45445
|
+
});
|
|
45446
|
+
|
|
45447
|
+
var require$$2 = /*@__PURE__*/getAugmentedNamespace(Text_module$1);
|
|
45448
|
+
|
|
45449
|
+
(function(exports) {
|
|
45450
|
+
var __importDefault = commonjsGlobal && commonjsGlobal.__importDefault || function(mod) {
|
|
45451
|
+
return mod && mod.__esModule ? mod : { "default": mod };
|
|
45452
|
+
};
|
|
45453
|
+
exports.__esModule = true;
|
|
45454
|
+
var react_1 = __importDefault(React);
|
|
45455
|
+
var classnames_1 = __importDefault(index.classnamesExports);
|
|
45456
|
+
var Text_module_scss_1 = __importDefault(require$$2);
|
|
45457
|
+
var Text = function(_a) {
|
|
45458
|
+
var _b;
|
|
45459
|
+
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;
|
|
45460
|
+
return react_1["default"].createElement(tag, {
|
|
45461
|
+
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))
|
|
45462
|
+
}, children);
|
|
45463
|
+
};
|
|
45464
|
+
Text.displayName = "Text";
|
|
45465
|
+
exports["default"] = Text;
|
|
45466
|
+
})(Text);
|
|
45467
|
+
|
|
45468
|
+
(function(exports) {
|
|
45469
|
+
var __createBinding = commonjsGlobal && commonjsGlobal.__createBinding || (Object.create ? function(o, m, k, k2) {
|
|
45470
|
+
if (k2 === void 0)
|
|
45471
|
+
k2 = k;
|
|
45472
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
45473
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
45474
|
+
desc = { enumerable: true, get: function() {
|
|
45475
|
+
return m[k];
|
|
45476
|
+
} };
|
|
45477
|
+
}
|
|
45478
|
+
Object.defineProperty(o, k2, desc);
|
|
45479
|
+
} : function(o, m, k, k2) {
|
|
45480
|
+
if (k2 === void 0)
|
|
45481
|
+
k2 = k;
|
|
45482
|
+
o[k2] = m[k];
|
|
45483
|
+
});
|
|
45484
|
+
exports.__esModule = true;
|
|
45485
|
+
exports.Text = void 0;
|
|
45486
|
+
var Text_1 = Text;
|
|
45487
|
+
__createBinding(exports, Text_1, "default", "Text");
|
|
45488
|
+
})(Text$1);
|
|
45489
|
+
|
|
45490
|
+
var Spacing = {};
|
|
45491
|
+
|
|
45492
|
+
var padding = {};
|
|
45493
|
+
|
|
45494
|
+
var util = {};
|
|
45495
|
+
|
|
45496
|
+
util.__esModule = true;
|
|
45497
|
+
util.convertFractionToString = void 0;
|
|
45498
|
+
var convertFractionToString = function(fraction) {
|
|
45499
|
+
switch (fraction) {
|
|
45500
|
+
case 0:
|
|
45501
|
+
default:
|
|
45502
|
+
return "0";
|
|
45503
|
+
case 0.25:
|
|
45504
|
+
return "0-point-25";
|
|
45505
|
+
case 0.5:
|
|
45506
|
+
return "0-point-5";
|
|
45507
|
+
case 0.75:
|
|
45508
|
+
return "0-point-75";
|
|
45509
|
+
case 1:
|
|
45510
|
+
return "1";
|
|
45511
|
+
case 1.25:
|
|
45512
|
+
return "1-point-25";
|
|
45513
|
+
case 1.5:
|
|
45514
|
+
return "1-point-5";
|
|
45515
|
+
case 1.75:
|
|
45516
|
+
return "1-point-75";
|
|
45517
|
+
case 2:
|
|
45518
|
+
return "2";
|
|
45519
|
+
case 2.5:
|
|
45520
|
+
return "2-point-5";
|
|
45521
|
+
case 3:
|
|
45522
|
+
return "3";
|
|
45523
|
+
case 3.5:
|
|
45524
|
+
return "3-point-5";
|
|
45525
|
+
case 4:
|
|
45526
|
+
return "4";
|
|
45527
|
+
}
|
|
44809
45528
|
};
|
|
44810
|
-
|
|
45529
|
+
util.convertFractionToString = convertFractionToString;
|
|
45530
|
+
|
|
45531
|
+
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"};
|
|
45532
|
+
|
|
45533
|
+
var Padding_module$1 = /*#__PURE__*/Object.freeze({
|
|
45534
|
+
__proto__: null,
|
|
45535
|
+
default: Padding_module
|
|
45536
|
+
});
|
|
45537
|
+
|
|
45538
|
+
var require$$1$1 = /*@__PURE__*/getAugmentedNamespace(Padding_module$1);
|
|
45539
|
+
|
|
45540
|
+
(function(exports) {
|
|
45541
|
+
var __importDefault = commonjsGlobal && commonjsGlobal.__importDefault || function(mod) {
|
|
45542
|
+
return mod && mod.__esModule ? mod : { "default": mod };
|
|
45543
|
+
};
|
|
45544
|
+
exports.__esModule = true;
|
|
45545
|
+
exports.paddingClasses = exports.p = exports.py = exports.px = exports.pl = exports.pb = exports.pr = exports.pt = void 0;
|
|
45546
|
+
var util_1 = util;
|
|
45547
|
+
var Padding_module_scss_1 = __importDefault(require$$1$1);
|
|
45548
|
+
var pt = function(unit) {
|
|
45549
|
+
return [
|
|
45550
|
+
Padding_module_scss_1["default"]["pt-".concat((0, util_1.convertFractionToString)(unit))]
|
|
45551
|
+
];
|
|
45552
|
+
};
|
|
45553
|
+
exports.pt = pt;
|
|
45554
|
+
var pr = function(unit) {
|
|
45555
|
+
return [
|
|
45556
|
+
Padding_module_scss_1["default"]["pr-".concat((0, util_1.convertFractionToString)(unit))]
|
|
45557
|
+
];
|
|
45558
|
+
};
|
|
45559
|
+
exports.pr = pr;
|
|
45560
|
+
var pb = function(unit) {
|
|
45561
|
+
return [
|
|
45562
|
+
Padding_module_scss_1["default"]["pb-".concat((0, util_1.convertFractionToString)(unit))]
|
|
45563
|
+
];
|
|
45564
|
+
};
|
|
45565
|
+
exports.pb = pb;
|
|
45566
|
+
var pl = function(unit) {
|
|
45567
|
+
return [
|
|
45568
|
+
Padding_module_scss_1["default"]["pl-".concat((0, util_1.convertFractionToString)(unit))]
|
|
45569
|
+
];
|
|
45570
|
+
};
|
|
45571
|
+
exports.pl = pl;
|
|
45572
|
+
var px = function(unit) {
|
|
45573
|
+
return [
|
|
45574
|
+
Padding_module_scss_1["default"]["pl-".concat((0, util_1.convertFractionToString)(unit))],
|
|
45575
|
+
Padding_module_scss_1["default"]["pr-".concat((0, util_1.convertFractionToString)(unit))]
|
|
45576
|
+
];
|
|
45577
|
+
};
|
|
45578
|
+
exports.px = px;
|
|
45579
|
+
var py = function(unit) {
|
|
45580
|
+
return [
|
|
45581
|
+
Padding_module_scss_1["default"]["pt-".concat((0, util_1.convertFractionToString)(unit))],
|
|
45582
|
+
Padding_module_scss_1["default"]["pb-".concat((0, util_1.convertFractionToString)(unit))]
|
|
45583
|
+
];
|
|
45584
|
+
};
|
|
45585
|
+
exports.py = py;
|
|
45586
|
+
var p = function(unit) {
|
|
45587
|
+
var classes = [];
|
|
45588
|
+
if (typeof unit === "number") {
|
|
45589
|
+
classes.push(Padding_module_scss_1["default"]["p-".concat((0, util_1.convertFractionToString)(unit))]);
|
|
45590
|
+
} else {
|
|
45591
|
+
Object.keys(unit).forEach(function(key) {
|
|
45592
|
+
classes.push(Padding_module_scss_1["default"]["p-".concat((0, util_1.convertFractionToString)(unit[key]), "--").concat(key)]);
|
|
45593
|
+
});
|
|
45594
|
+
}
|
|
45595
|
+
return classes;
|
|
45596
|
+
};
|
|
45597
|
+
exports.p = p;
|
|
45598
|
+
var paddingClasses = function(_a) {
|
|
45599
|
+
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;
|
|
45600
|
+
var classes = [];
|
|
45601
|
+
if (padding2 !== void 0)
|
|
45602
|
+
classes.push.apply(classes, (0, exports.p)(padding2));
|
|
45603
|
+
if (paddingTop !== void 0)
|
|
45604
|
+
classes.push.apply(classes, (0, exports.pt)(paddingTop));
|
|
45605
|
+
if (paddingBottom !== void 0)
|
|
45606
|
+
classes.push.apply(classes, (0, exports.pb)(paddingBottom));
|
|
45607
|
+
if (paddingXAxis !== void 0)
|
|
45608
|
+
classes.push.apply(classes, (0, exports.px)(paddingXAxis));
|
|
45609
|
+
if (paddingYAxis !== void 0)
|
|
45610
|
+
classes.push.apply(classes, (0, exports.py)(paddingYAxis));
|
|
45611
|
+
if (rtl) {
|
|
45612
|
+
if (paddingRight !== void 0)
|
|
45613
|
+
classes.push.apply(classes, (0, exports.pl)(paddingRight));
|
|
45614
|
+
if (paddingLeft !== void 0)
|
|
45615
|
+
classes.push.apply(classes, (0, exports.pr)(paddingLeft));
|
|
45616
|
+
} else {
|
|
45617
|
+
if (paddingRight !== void 0)
|
|
45618
|
+
classes.push.apply(classes, (0, exports.pr)(paddingRight));
|
|
45619
|
+
if (paddingLeft !== void 0)
|
|
45620
|
+
classes.push.apply(classes, (0, exports.pl)(paddingLeft));
|
|
45621
|
+
}
|
|
45622
|
+
if (padding2 === void 0 && paddingTop === void 0 && paddingRight === void 0 && paddingBottom === void 0 && paddingLeft === void 0 && paddingXAxis === void 0 && paddingYAxis === void 0) {
|
|
45623
|
+
classes.push.apply(classes, (0, exports.p)(0));
|
|
45624
|
+
}
|
|
45625
|
+
return classes;
|
|
45626
|
+
};
|
|
45627
|
+
exports.paddingClasses = paddingClasses;
|
|
45628
|
+
})(padding);
|
|
45629
|
+
|
|
45630
|
+
var margin = {};
|
|
45631
|
+
|
|
45632
|
+
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"};
|
|
45633
|
+
|
|
45634
|
+
var Margin_module$1 = /*#__PURE__*/Object.freeze({
|
|
45635
|
+
__proto__: null,
|
|
45636
|
+
default: Margin_module
|
|
45637
|
+
});
|
|
45638
|
+
|
|
45639
|
+
var require$$1 = /*@__PURE__*/getAugmentedNamespace(Margin_module$1);
|
|
45640
|
+
|
|
45641
|
+
(function(exports) {
|
|
45642
|
+
var __importDefault = commonjsGlobal && commonjsGlobal.__importDefault || function(mod) {
|
|
45643
|
+
return mod && mod.__esModule ? mod : { "default": mod };
|
|
45644
|
+
};
|
|
45645
|
+
exports.__esModule = true;
|
|
45646
|
+
exports.marginClasses = exports.m = exports.my = exports.mx = exports.ml = exports.mb = exports.mr = exports.mt = void 0;
|
|
45647
|
+
var util_1 = util;
|
|
45648
|
+
var Margin_module_scss_1 = __importDefault(require$$1);
|
|
45649
|
+
var mt = function(unit) {
|
|
45650
|
+
return [
|
|
45651
|
+
Margin_module_scss_1["default"]["mt-".concat((0, util_1.convertFractionToString)(unit))]
|
|
45652
|
+
];
|
|
45653
|
+
};
|
|
45654
|
+
exports.mt = mt;
|
|
45655
|
+
var mr = function(unit) {
|
|
45656
|
+
return [
|
|
45657
|
+
Margin_module_scss_1["default"]["mr-".concat((0, util_1.convertFractionToString)(unit))]
|
|
45658
|
+
];
|
|
45659
|
+
};
|
|
45660
|
+
exports.mr = mr;
|
|
45661
|
+
var mb = function(unit) {
|
|
45662
|
+
return [
|
|
45663
|
+
Margin_module_scss_1["default"]["mb-".concat((0, util_1.convertFractionToString)(unit))]
|
|
45664
|
+
];
|
|
45665
|
+
};
|
|
45666
|
+
exports.mb = mb;
|
|
45667
|
+
var ml = function(unit) {
|
|
45668
|
+
return [
|
|
45669
|
+
Margin_module_scss_1["default"]["ml-".concat((0, util_1.convertFractionToString)(unit))]
|
|
45670
|
+
];
|
|
45671
|
+
};
|
|
45672
|
+
exports.ml = ml;
|
|
45673
|
+
var mx = function(unit) {
|
|
45674
|
+
return [
|
|
45675
|
+
Margin_module_scss_1["default"]["ml-".concat((0, util_1.convertFractionToString)(unit))],
|
|
45676
|
+
Margin_module_scss_1["default"]["mr-".concat((0, util_1.convertFractionToString)(unit))]
|
|
45677
|
+
];
|
|
45678
|
+
};
|
|
45679
|
+
exports.mx = mx;
|
|
45680
|
+
var my = function(unit) {
|
|
45681
|
+
return [
|
|
45682
|
+
Margin_module_scss_1["default"]["mt-".concat((0, util_1.convertFractionToString)(unit))],
|
|
45683
|
+
Margin_module_scss_1["default"]["mb-".concat((0, util_1.convertFractionToString)(unit))]
|
|
45684
|
+
];
|
|
45685
|
+
};
|
|
45686
|
+
exports.my = my;
|
|
45687
|
+
var m = function(unit) {
|
|
45688
|
+
var classes = [];
|
|
45689
|
+
if (typeof unit === "number") {
|
|
45690
|
+
classes.push(Margin_module_scss_1["default"]["m-".concat((0, util_1.convertFractionToString)(unit))]);
|
|
45691
|
+
} else {
|
|
45692
|
+
Object.keys(unit).forEach(function(key) {
|
|
45693
|
+
classes.push(Margin_module_scss_1["default"]["m-".concat((0, util_1.convertFractionToString)(unit[key]), "--").concat(key)]);
|
|
45694
|
+
});
|
|
45695
|
+
}
|
|
45696
|
+
return classes;
|
|
45697
|
+
};
|
|
45698
|
+
exports.m = m;
|
|
45699
|
+
var marginClasses = function(_a) {
|
|
45700
|
+
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;
|
|
45701
|
+
var classes = [];
|
|
45702
|
+
if (margin2 !== void 0)
|
|
45703
|
+
classes.push.apply(classes, (0, exports.m)(margin2));
|
|
45704
|
+
if (marginTop !== void 0)
|
|
45705
|
+
classes.push.apply(classes, (0, exports.mt)(marginTop));
|
|
45706
|
+
if (marginBottom !== void 0)
|
|
45707
|
+
classes.push.apply(classes, (0, exports.mb)(marginBottom));
|
|
45708
|
+
if (marginXAxis !== void 0)
|
|
45709
|
+
classes.push.apply(classes, (0, exports.mx)(marginXAxis));
|
|
45710
|
+
if (marginYAxis !== void 0)
|
|
45711
|
+
classes.push.apply(classes, (0, exports.my)(marginYAxis));
|
|
45712
|
+
if (rtl) {
|
|
45713
|
+
if (marginRight !== void 0)
|
|
45714
|
+
classes.push.apply(classes, (0, exports.ml)(marginRight));
|
|
45715
|
+
if (marginLeft !== void 0)
|
|
45716
|
+
classes.push.apply(classes, (0, exports.mr)(marginLeft));
|
|
45717
|
+
} else {
|
|
45718
|
+
if (marginRight !== void 0)
|
|
45719
|
+
classes.push.apply(classes, (0, exports.mr)(marginRight));
|
|
45720
|
+
if (marginLeft !== void 0)
|
|
45721
|
+
classes.push.apply(classes, (0, exports.ml)(marginLeft));
|
|
45722
|
+
}
|
|
45723
|
+
if (margin2 === void 0 && marginTop === void 0 && marginRight === void 0 && marginBottom === void 0 && marginLeft === void 0 && marginXAxis === void 0 && marginYAxis === void 0) {
|
|
45724
|
+
classes.push.apply(classes, (0, exports.m)(0));
|
|
45725
|
+
}
|
|
45726
|
+
return classes;
|
|
45727
|
+
};
|
|
45728
|
+
exports.marginClasses = marginClasses;
|
|
45729
|
+
})(margin);
|
|
45730
|
+
|
|
45731
|
+
var types = {};
|
|
45732
|
+
|
|
45733
|
+
types.__esModule = true;
|
|
45734
|
+
|
|
45735
|
+
(function(exports) {
|
|
45736
|
+
var __createBinding = commonjsGlobal && commonjsGlobal.__createBinding || (Object.create ? function(o, m, k, k2) {
|
|
45737
|
+
if (k2 === void 0)
|
|
45738
|
+
k2 = k;
|
|
45739
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
45740
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
45741
|
+
desc = { enumerable: true, get: function() {
|
|
45742
|
+
return m[k];
|
|
45743
|
+
} };
|
|
45744
|
+
}
|
|
45745
|
+
Object.defineProperty(o, k2, desc);
|
|
45746
|
+
} : function(o, m, k, k2) {
|
|
45747
|
+
if (k2 === void 0)
|
|
45748
|
+
k2 = k;
|
|
45749
|
+
o[k2] = m[k];
|
|
45750
|
+
});
|
|
45751
|
+
var __exportStar = commonjsGlobal && commonjsGlobal.__exportStar || function(m, exports2) {
|
|
45752
|
+
for (var p in m)
|
|
45753
|
+
if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports2, p))
|
|
45754
|
+
__createBinding(exports2, m, p);
|
|
45755
|
+
};
|
|
45756
|
+
exports.__esModule = true;
|
|
45757
|
+
__exportStar(padding, exports);
|
|
45758
|
+
__exportStar(margin, exports);
|
|
45759
|
+
__exportStar(types, exports);
|
|
45760
|
+
})(Spacing);
|
|
45761
|
+
|
|
45762
|
+
var Box$1 = {};
|
|
45763
|
+
|
|
45764
|
+
var Box = {};
|
|
45765
|
+
|
|
45766
|
+
(function(exports) {
|
|
45767
|
+
var __assign = commonjsGlobal && commonjsGlobal.__assign || function() {
|
|
45768
|
+
__assign = Object.assign || function(t) {
|
|
45769
|
+
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
45770
|
+
s = arguments[i];
|
|
45771
|
+
for (var p in s)
|
|
45772
|
+
if (Object.prototype.hasOwnProperty.call(s, p))
|
|
45773
|
+
t[p] = s[p];
|
|
45774
|
+
}
|
|
45775
|
+
return t;
|
|
45776
|
+
};
|
|
45777
|
+
return __assign.apply(this, arguments);
|
|
45778
|
+
};
|
|
45779
|
+
var __rest = commonjsGlobal && commonjsGlobal.__rest || function(s, e) {
|
|
45780
|
+
var t = {};
|
|
45781
|
+
for (var p in s)
|
|
45782
|
+
if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
|
|
45783
|
+
t[p] = s[p];
|
|
45784
|
+
if (s != null && typeof Object.getOwnPropertySymbols === "function")
|
|
45785
|
+
for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
|
|
45786
|
+
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
|
|
45787
|
+
t[p[i]] = s[p[i]];
|
|
45788
|
+
}
|
|
45789
|
+
return t;
|
|
45790
|
+
};
|
|
45791
|
+
var __spreadArray = commonjsGlobal && commonjsGlobal.__spreadArray || function(to, from, pack) {
|
|
45792
|
+
if (pack || arguments.length === 2)
|
|
45793
|
+
for (var i = 0, l = from.length, ar; i < l; i++) {
|
|
45794
|
+
if (ar || !(i in from)) {
|
|
45795
|
+
if (!ar)
|
|
45796
|
+
ar = Array.prototype.slice.call(from, 0, i);
|
|
45797
|
+
ar[i] = from[i];
|
|
45798
|
+
}
|
|
45799
|
+
}
|
|
45800
|
+
return to.concat(ar || Array.prototype.slice.call(from));
|
|
45801
|
+
};
|
|
45802
|
+
var __importDefault = commonjsGlobal && commonjsGlobal.__importDefault || function(mod) {
|
|
45803
|
+
return mod && mod.__esModule ? mod : { "default": mod };
|
|
45804
|
+
};
|
|
45805
|
+
exports.__esModule = true;
|
|
45806
|
+
exports.Box = void 0;
|
|
45807
|
+
var react_1 = __importDefault(React);
|
|
45808
|
+
var classnames_1 = __importDefault(index.classnamesExports);
|
|
45809
|
+
var Spacing_1 = Spacing;
|
|
45810
|
+
var Box = function(_a) {
|
|
45811
|
+
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"]);
|
|
45812
|
+
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);
|
|
45813
|
+
return react_1["default"].createElement("div", __assign({ className: (0, classnames_1["default"])(classes, classNameOverride) }, restProps), children);
|
|
45814
|
+
};
|
|
45815
|
+
exports.Box = Box;
|
|
45816
|
+
exports.Box.displayName = "Box";
|
|
45817
|
+
})(Box);
|
|
45818
|
+
|
|
45819
|
+
(function(exports) {
|
|
45820
|
+
var __createBinding = commonjsGlobal && commonjsGlobal.__createBinding || (Object.create ? function(o, m, k, k2) {
|
|
45821
|
+
if (k2 === void 0)
|
|
45822
|
+
k2 = k;
|
|
45823
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
45824
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
45825
|
+
desc = { enumerable: true, get: function() {
|
|
45826
|
+
return m[k];
|
|
45827
|
+
} };
|
|
45828
|
+
}
|
|
45829
|
+
Object.defineProperty(o, k2, desc);
|
|
45830
|
+
} : function(o, m, k, k2) {
|
|
45831
|
+
if (k2 === void 0)
|
|
45832
|
+
k2 = k;
|
|
45833
|
+
o[k2] = m[k];
|
|
45834
|
+
});
|
|
45835
|
+
exports.__esModule = true;
|
|
45836
|
+
exports.Box = void 0;
|
|
45837
|
+
var Box_1 = Box;
|
|
45838
|
+
__createBinding(exports, Box_1, "Box");
|
|
45839
|
+
})(Box$1);
|
|
45840
|
+
|
|
45841
|
+
(function(exports) {
|
|
45842
|
+
var __createBinding = commonjsGlobal && commonjsGlobal.__createBinding || (Object.create ? function(o, m, k, k2) {
|
|
45843
|
+
if (k2 === void 0)
|
|
45844
|
+
k2 = k;
|
|
45845
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
45846
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
45847
|
+
desc = { enumerable: true, get: function() {
|
|
45848
|
+
return m[k];
|
|
45849
|
+
} };
|
|
45850
|
+
}
|
|
45851
|
+
Object.defineProperty(o, k2, desc);
|
|
45852
|
+
} : function(o, m, k, k2) {
|
|
45853
|
+
if (k2 === void 0)
|
|
45854
|
+
k2 = k;
|
|
45855
|
+
o[k2] = m[k];
|
|
45856
|
+
});
|
|
45857
|
+
var __exportStar = commonjsGlobal && commonjsGlobal.__exportStar || function(m, exports2) {
|
|
45858
|
+
for (var p in m)
|
|
45859
|
+
if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports2, p))
|
|
45860
|
+
__createBinding(exports2, m, p);
|
|
45861
|
+
};
|
|
45862
|
+
exports.__esModule = true;
|
|
45863
|
+
__exportStar(Dropdown$1, exports);
|
|
45864
|
+
__exportStar(Layout$1, exports);
|
|
45865
|
+
__exportStar(Icon$1, exports);
|
|
45866
|
+
__exportStar(MenuList$1, exports);
|
|
45867
|
+
__exportStar(Text$1, exports);
|
|
45868
|
+
__exportStar(Spacing, exports);
|
|
45869
|
+
__exportStar(Box$1, exports);
|
|
45870
|
+
})(components);
|
|
45871
|
+
|
|
45872
|
+
(function(exports) {
|
|
45873
|
+
var __createBinding = commonjsGlobal && commonjsGlobal.__createBinding || (Object.create ? function(o, m, k, k2) {
|
|
45874
|
+
if (k2 === void 0)
|
|
45875
|
+
k2 = k;
|
|
45876
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
45877
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
45878
|
+
desc = { enumerable: true, get: function() {
|
|
45879
|
+
return m[k];
|
|
45880
|
+
} };
|
|
45881
|
+
}
|
|
45882
|
+
Object.defineProperty(o, k2, desc);
|
|
45883
|
+
} : function(o, m, k, k2) {
|
|
45884
|
+
if (k2 === void 0)
|
|
45885
|
+
k2 = k;
|
|
45886
|
+
o[k2] = m[k];
|
|
45887
|
+
});
|
|
45888
|
+
var __exportStar = commonjsGlobal && commonjsGlobal.__exportStar || function(m, exports2) {
|
|
45889
|
+
for (var p in m)
|
|
45890
|
+
if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports2, p))
|
|
45891
|
+
__createBinding(exports2, m, p);
|
|
45892
|
+
};
|
|
45893
|
+
exports.__esModule = true;
|
|
45894
|
+
__exportStar(components, exports);
|
|
45895
|
+
})(componentLibrary);
|
|
44811
45896
|
|
|
44812
45897
|
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";
|
|
44813
45898
|
var check = img;
|
|
@@ -44830,7 +45915,7 @@ var Option = function(_a) {
|
|
|
44830
45915
|
classNameOverride
|
|
44831
45916
|
]), "aria-label": item.textValue }),
|
|
44832
45917
|
item.rendered,
|
|
44833
|
-
React.createElement("span", { className: index.classNames([styles$4.icon, isSelected && styles$4.isSelected]) }, isSelected && React.createElement(Icon, { icon: check, role: "presentation" }))
|
|
45918
|
+
React.createElement("span", { className: index.classNames([styles$4.icon, isSelected && styles$4.isSelected]) }, isSelected && React.createElement(componentLibrary.Icon, { icon: check, role: "presentation" }))
|
|
44834
45919
|
);
|
|
44835
45920
|
};
|
|
44836
45921
|
Option.displayName = "Option";
|