@luminati-io/uikit 3.2.16 → 3.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -32904,7 +32904,7 @@ var Badge = function Badge(props) {
|
|
|
32904
32904
|
$shape: shape,
|
|
32905
32905
|
$color: bgColor,
|
|
32906
32906
|
flex_direction: iconPlacement == 'right' ? 'row-reverse' : 'row'
|
|
32907
|
-
}, icon && /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(_icon__WEBPACK_IMPORTED_MODULE_3__
|
|
32907
|
+
}, icon && /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(_icon__WEBPACK_IMPORTED_MODULE_3__.Icon, {
|
|
32908
32908
|
name: icon,
|
|
32909
32909
|
size: "xxs",
|
|
32910
32910
|
color: color
|
|
@@ -33003,11 +33003,11 @@ var Button = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2___default().forwardRe
|
|
|
33003
33003
|
$iconPlacement: isLeft || loading ? 'left' : isRight ? 'right' : ''
|
|
33004
33004
|
}), loading && /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2___default().createElement(_loading_icon__WEBPACK_IMPORTED_MODULE_7__["default"], {
|
|
33005
33005
|
size: iconProps.size
|
|
33006
|
-
}), isLeft && !loading && /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2___default().createElement(_icon__WEBPACK_IMPORTED_MODULE_4__
|
|
33006
|
+
}), isLeft && !loading && /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2___default().createElement(_icon__WEBPACK_IMPORTED_MODULE_4__.Icon, iconProps), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2___default().createElement(_typography__WEBPACK_IMPORTED_MODULE_5__.Label, {
|
|
33007
33007
|
variant: size == 'xs' ? 'sm' : 'lg',
|
|
33008
33008
|
no_wrap: true,
|
|
33009
33009
|
"data-label": true
|
|
33010
|
-
}, loading ? loadingText : text), isRight && !loading && /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2___default().createElement(_icon__WEBPACK_IMPORTED_MODULE_4__
|
|
33010
|
+
}, loading ? loadingText : text), isRight && !loading && /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2___default().createElement(_icon__WEBPACK_IMPORTED_MODULE_4__.Icon, iconProps));
|
|
33011
33011
|
});
|
|
33012
33012
|
Button.displayName = 'Button';
|
|
33013
33013
|
Button.defaultProps = {
|
|
@@ -34063,14 +34063,14 @@ var ErrorBoundary = /*#__PURE__*/function (_React$Component) {
|
|
|
34063
34063
|
align_items: "center",
|
|
34064
34064
|
justify_content: "center",
|
|
34065
34065
|
gap: _theme__WEBPACK_IMPORTED_MODULE_4__["default"].spacing['04']
|
|
34066
|
-
}, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(_icon__WEBPACK_IMPORTED_MODULE_1__
|
|
34066
|
+
}, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(_icon__WEBPACK_IMPORTED_MODULE_1__.Icon, {
|
|
34067
34067
|
name: "Warning",
|
|
34068
34068
|
color: "red_11",
|
|
34069
34069
|
size: "md"
|
|
34070
34070
|
}), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(_typography__WEBPACK_IMPORTED_MODULE_5__.Label, {
|
|
34071
34071
|
variant: "sm",
|
|
34072
34072
|
color: "gray_11"
|
|
34073
|
-
}, "Unable to load chart"), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(_link__WEBPACK_IMPORTED_MODULE_3__
|
|
34073
|
+
}, "Unable to load chart"), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(_link__WEBPACK_IMPORTED_MODULE_3__.Link, {
|
|
34074
34074
|
as: "button",
|
|
34075
34075
|
text: "Reload",
|
|
34076
34076
|
onClick: this.reload
|
|
@@ -34669,7 +34669,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
34669
34669
|
|
|
34670
34670
|
|
|
34671
34671
|
var Loading = function Loading() {
|
|
34672
|
-
return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(LoadingWrapper, null, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(_icon__WEBPACK_IMPORTED_MODULE_2__
|
|
34672
|
+
return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(LoadingWrapper, null, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(_icon__WEBPACK_IMPORTED_MODULE_2__.Icon, {
|
|
34673
34673
|
name: "Loading",
|
|
34674
34674
|
color: "blue_11",
|
|
34675
34675
|
size: "md"
|
|
@@ -34713,7 +34713,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
34713
34713
|
|
|
34714
34714
|
|
|
34715
34715
|
var NoData = function NoData() {
|
|
34716
|
-
return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(NoDataWrapper, null, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(_icon__WEBPACK_IMPORTED_MODULE_2__
|
|
34716
|
+
return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(NoDataWrapper, null, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(_icon__WEBPACK_IMPORTED_MODULE_2__.Icon, {
|
|
34717
34717
|
name: "Graph",
|
|
34718
34718
|
color: "gray_9",
|
|
34719
34719
|
size: "md"
|
|
@@ -35064,7 +35064,7 @@ var useChartTheme = function useChartTheme(palette) {
|
|
|
35064
35064
|
"use strict";
|
|
35065
35065
|
__webpack_require__.r(__webpack_exports__);
|
|
35066
35066
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
35067
|
-
/* harmony export */
|
|
35067
|
+
/* harmony export */ Code: () => (/* binding */ Code)
|
|
35068
35068
|
/* harmony export */ });
|
|
35069
35069
|
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ "react");
|
|
35070
35070
|
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);
|
|
@@ -35178,7 +35178,6 @@ var CodeWrapper = styled_components__WEBPACK_IMPORTED_MODULE_19___default().pre.
|
|
|
35178
35178
|
}
|
|
35179
35179
|
return (0,styled_components__WEBPACK_IMPORTED_MODULE_19__.css)(["code.content{color:", ";}.token.comment,.token.prolog,.token.doctype,.token.cdata{color:slategray;}.token.punctuation{color:#999;}.token.namespace{opacity:.7;}.token.property,.token.tag,.token.boolean,.token.constant,.token.symbol,.token.deleted{color:#f8c555;}.token.selector,.token.attr-name,.token.string,.token.char,.token.builtin,.token.inserted{color:#7ec699;}.token.operator,.token.entity,.token.url,.language-css .token.string,.style .token.string{color:#67cdcc;}.token.atrule,.token.attr-value,.token.keyword{color:#cc99cd;}.token.function,.token.number,.token.class-name{color:#f08d49;}.token.regex,.token.important,.token.variable{color:#e90;}.token.important,.token.bold{font-weight:bold;}.token.italic{font-style:italic;}.token.entity{cursor:help;}"], _theme__WEBPACK_IMPORTED_MODULE_20__["default"].color.gray_8);
|
|
35180
35180
|
});
|
|
35181
|
-
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (Code);
|
|
35182
35181
|
|
|
35183
35182
|
/***/ }),
|
|
35184
35183
|
|
|
@@ -35191,7 +35190,7 @@ var CodeWrapper = styled_components__WEBPACK_IMPORTED_MODULE_19___default().pre.
|
|
|
35191
35190
|
"use strict";
|
|
35192
35191
|
__webpack_require__.r(__webpack_exports__);
|
|
35193
35192
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
35194
|
-
/* harmony export */
|
|
35193
|
+
/* harmony export */ CodeBlock: () => (/* binding */ CodeBlock)
|
|
35195
35194
|
/* harmony export */ });
|
|
35196
35195
|
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ "react");
|
|
35197
35196
|
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);
|
|
@@ -35227,7 +35226,7 @@ var CodeBlock = function CodeBlock(props) {
|
|
|
35227
35226
|
"data-testid": "code_block"
|
|
35228
35227
|
}, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(CodeBlockHeader, {
|
|
35229
35228
|
$theme: themeProp
|
|
35230
|
-
}, header), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(_code_snippet__WEBPACK_IMPORTED_MODULE_5__
|
|
35229
|
+
}, header), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(_code_snippet__WEBPACK_IMPORTED_MODULE_5__.CodeSnippet, {
|
|
35231
35230
|
max_height: max_height,
|
|
35232
35231
|
lang: lang,
|
|
35233
35232
|
code: code,
|
|
@@ -35268,7 +35267,6 @@ var CodeBlockHeader = styled_components__WEBPACK_IMPORTED_MODULE_1___default()(_
|
|
|
35268
35267
|
}
|
|
35269
35268
|
return (0,styled_components__WEBPACK_IMPORTED_MODULE_1__.css)(["background-color:", ";color:", ";"], _theme__WEBPACK_IMPORTED_MODULE_3__["default"].color.gray_11_50, _theme__WEBPACK_IMPORTED_MODULE_3__["default"].color.gray_9);
|
|
35270
35269
|
});
|
|
35271
|
-
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (CodeBlock);
|
|
35272
35270
|
|
|
35273
35271
|
/***/ }),
|
|
35274
35272
|
|
|
@@ -35281,7 +35279,7 @@ var CodeBlockHeader = styled_components__WEBPACK_IMPORTED_MODULE_1___default()(_
|
|
|
35281
35279
|
"use strict";
|
|
35282
35280
|
__webpack_require__.r(__webpack_exports__);
|
|
35283
35281
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
35284
|
-
/* harmony export */
|
|
35282
|
+
/* harmony export */ CodeSnippet: () => (/* binding */ CodeSnippet)
|
|
35285
35283
|
/* harmony export */ });
|
|
35286
35284
|
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ "react");
|
|
35287
35285
|
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);
|
|
@@ -35322,18 +35320,18 @@ var CodeSnippet = /*#__PURE__*/(0,react__WEBPACK_IMPORTED_MODULE_0__.forwardRef)
|
|
|
35322
35320
|
className: className,
|
|
35323
35321
|
max_height: max_height,
|
|
35324
35322
|
$theme: themeProp
|
|
35325
|
-
}, !loading && /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement((react__WEBPACK_IMPORTED_MODULE_0___default().Fragment), null, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(_code__WEBPACK_IMPORTED_MODULE_5__
|
|
35323
|
+
}, !loading && /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement((react__WEBPACK_IMPORTED_MODULE_0___default().Fragment), null, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(_code__WEBPACK_IMPORTED_MODULE_5__.Code, {
|
|
35326
35324
|
ref: codeRef,
|
|
35327
35325
|
lang: lang,
|
|
35328
35326
|
text: code,
|
|
35329
35327
|
theme: themeProp,
|
|
35330
35328
|
lineNumbers: lineNumbers
|
|
35331
|
-
}), !!copyButton && /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(_copy_button__WEBPACK_IMPORTED_MODULE_6__
|
|
35329
|
+
}), !!copyButton && /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(_copy_button__WEBPACK_IMPORTED_MODULE_6__.CopyButton, {
|
|
35332
35330
|
code: code,
|
|
35333
35331
|
theme: themeProp,
|
|
35334
35332
|
codeRef: codeRef,
|
|
35335
35333
|
onCopy: onCopy
|
|
35336
|
-
})), !!loading && /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(_skeleton__WEBPACK_IMPORTED_MODULE_7__
|
|
35334
|
+
})), !!loading && /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(_skeleton__WEBPACK_IMPORTED_MODULE_7__.Skeleton, {
|
|
35337
35335
|
theme: themeProp
|
|
35338
35336
|
}));
|
|
35339
35337
|
});
|
|
@@ -35366,7 +35364,6 @@ var CodeBlockBody = styled_components__WEBPACK_IMPORTED_MODULE_1___default()(_la
|
|
|
35366
35364
|
}, function (props) {
|
|
35367
35365
|
return _theme__WEBPACK_IMPORTED_MODULE_3__["default"].color[props.$theme == 'white' ? 'gray_8' : 'gray_10'];
|
|
35368
35366
|
});
|
|
35369
|
-
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (CodeSnippet);
|
|
35370
35367
|
|
|
35371
35368
|
/***/ }),
|
|
35372
35369
|
|
|
@@ -35379,7 +35376,7 @@ var CodeBlockBody = styled_components__WEBPACK_IMPORTED_MODULE_1___default()(_la
|
|
|
35379
35376
|
"use strict";
|
|
35380
35377
|
__webpack_require__.r(__webpack_exports__);
|
|
35381
35378
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
35382
|
-
/* harmony export */
|
|
35379
|
+
/* harmony export */ CopyButton: () => (/* binding */ CopyButton)
|
|
35383
35380
|
/* harmony export */ });
|
|
35384
35381
|
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ "react");
|
|
35385
35382
|
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);
|
|
@@ -35510,7 +35507,6 @@ function selectElementText(element) {
|
|
|
35510
35507
|
// https://stackoverflow.com/a/20079910/7595472
|
|
35511
35508
|
window.getSelection().selectAllChildren(element);
|
|
35512
35509
|
}
|
|
35513
|
-
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (CopyButton);
|
|
35514
35510
|
|
|
35515
35511
|
/***/ }),
|
|
35516
35512
|
|
|
@@ -35523,9 +35519,9 @@ function selectElementText(element) {
|
|
|
35523
35519
|
"use strict";
|
|
35524
35520
|
__webpack_require__.r(__webpack_exports__);
|
|
35525
35521
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
35526
|
-
/* harmony export */ Code: () => (/* reexport safe */ _code__WEBPACK_IMPORTED_MODULE_0__
|
|
35527
|
-
/* harmony export */ CodeBlock: () => (/* reexport safe */ _code_block__WEBPACK_IMPORTED_MODULE_1__
|
|
35528
|
-
/* harmony export */ CodeSnippet: () => (/* reexport safe */ _code_snippet__WEBPACK_IMPORTED_MODULE_2__
|
|
35522
|
+
/* harmony export */ Code: () => (/* reexport safe */ _code__WEBPACK_IMPORTED_MODULE_0__.Code),
|
|
35523
|
+
/* harmony export */ CodeBlock: () => (/* reexport safe */ _code_block__WEBPACK_IMPORTED_MODULE_1__.CodeBlock),
|
|
35524
|
+
/* harmony export */ CodeSnippet: () => (/* reexport safe */ _code_snippet__WEBPACK_IMPORTED_MODULE_2__.CodeSnippet)
|
|
35529
35525
|
/* harmony export */ });
|
|
35530
35526
|
/* harmony import */ var _code__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./code */ "./src/code/code.js");
|
|
35531
35527
|
/* harmony import */ var _code_block__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./code_block */ "./src/code/code_block.js");
|
|
@@ -35538,7 +35534,6 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
35538
35534
|
|
|
35539
35535
|
|
|
35540
35536
|
|
|
35541
|
-
|
|
35542
35537
|
/***/ }),
|
|
35543
35538
|
|
|
35544
35539
|
/***/ "./src/code/skeleton.js":
|
|
@@ -35550,7 +35545,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
35550
35545
|
"use strict";
|
|
35551
35546
|
__webpack_require__.r(__webpack_exports__);
|
|
35552
35547
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
35553
|
-
/* harmony export */
|
|
35548
|
+
/* harmony export */ Skeleton: () => (/* binding */ Skeleton)
|
|
35554
35549
|
/* harmony export */ });
|
|
35555
35550
|
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ "react");
|
|
35556
35551
|
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);
|
|
@@ -35598,7 +35593,7 @@ var Skeleton = function Skeleton(props) {
|
|
|
35598
35593
|
var StyledSkeleton = styled_components__WEBPACK_IMPORTED_MODULE_1___default().div.withConfig({
|
|
35599
35594
|
displayName: "StyledSkeleton",
|
|
35600
35595
|
componentId: "sc-1v7xkdy-0"
|
|
35601
|
-
})(["flex:1;display:flex;flex-wrap:wrap;column-gap:16px;row-gap:12px;
|
|
35596
|
+
})(["flex:1;display:flex;flex-wrap:wrap;column-gap:16px;row-gap:12px;"]);
|
|
35602
35597
|
var SkeletonBox = styled_components__WEBPACK_IMPORTED_MODULE_1___default().span.withConfig({
|
|
35603
35598
|
displayName: "SkeletonBox",
|
|
35604
35599
|
componentId: "sc-1v7xkdy-1"
|
|
@@ -35609,7 +35604,6 @@ var SkeletonBox = styled_components__WEBPACK_IMPORTED_MODULE_1___default().span.
|
|
|
35609
35604
|
}, function (props) {
|
|
35610
35605
|
return props.$theme == 'white' ? 'linear-gradient(90deg, #B4B9BD 3.16%, #B5BCC6 50.83%, #889096 99.97%,' + ' #B4B9BD 99.97%)' : 'linear-gradient(90deg, #333335 3.16%, #525252 57.39%, #333335 99.97%)';
|
|
35611
35606
|
});
|
|
35612
|
-
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (Skeleton);
|
|
35613
35607
|
|
|
35614
35608
|
/***/ }),
|
|
35615
35609
|
|
|
@@ -35685,7 +35679,7 @@ var ComboButton = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().forw
|
|
|
35685
35679
|
disabled: disabled,
|
|
35686
35680
|
onClick: onClick,
|
|
35687
35681
|
"data-testid": "combo_button_main"
|
|
35688
|
-
}, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(ComboButtonContent, null, isLeft && /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(_icon__WEBPACK_IMPORTED_MODULE_4__
|
|
35682
|
+
}, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(ComboButtonContent, null, isLeft && /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(_icon__WEBPACK_IMPORTED_MODULE_4__.Icon, iconProps), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(_typography__WEBPACK_IMPORTED_MODULE_6__.Label, {
|
|
35689
35683
|
variant: size == 'xs' ? 'sm' : 'lg',
|
|
35690
35684
|
no_wrap: true,
|
|
35691
35685
|
"data-label": true
|
|
@@ -35724,7 +35718,7 @@ var ArrowIcon = function ArrowIcon(props) {
|
|
|
35724
35718
|
onClick: popover.toggle
|
|
35725
35719
|
}, rest, {
|
|
35726
35720
|
"data-testid": "combo_button_menu_button"
|
|
35727
|
-
}), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(_icon__WEBPACK_IMPORTED_MODULE_4__
|
|
35721
|
+
}), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(_icon__WEBPACK_IMPORTED_MODULE_4__.Icon, {
|
|
35728
35722
|
name: "ChevronDown",
|
|
35729
35723
|
size: "xs"
|
|
35730
35724
|
}));
|
|
@@ -35832,54 +35826,56 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
35832
35826
|
/* harmony export */ Badge: () => (/* reexport safe */ _badge__WEBPACK_IMPORTED_MODULE_0__["default"]),
|
|
35833
35827
|
/* harmony export */ Button: () => (/* reexport safe */ _button__WEBPACK_IMPORTED_MODULE_1__["default"]),
|
|
35834
35828
|
/* harmony export */ Chart: () => (/* reexport safe */ _chart__WEBPACK_IMPORTED_MODULE_2__["default"]),
|
|
35835
|
-
/* harmony export */ ClickableTag: () => (/* reexport safe */
|
|
35836
|
-
/* harmony export */ Code: () => (/* reexport safe */
|
|
35837
|
-
/* harmony export */ CodeBlock: () => (/* reexport safe */
|
|
35838
|
-
/* harmony export */ CodeSnippet: () => (/* reexport safe */
|
|
35829
|
+
/* harmony export */ ClickableTag: () => (/* reexport safe */ _tag__WEBPACK_IMPORTED_MODULE_21__.ClickableTag),
|
|
35830
|
+
/* harmony export */ Code: () => (/* reexport safe */ _code__WEBPACK_IMPORTED_MODULE_15__.Code),
|
|
35831
|
+
/* harmony export */ CodeBlock: () => (/* reexport safe */ _code__WEBPACK_IMPORTED_MODULE_15__.CodeBlock),
|
|
35832
|
+
/* harmony export */ CodeSnippet: () => (/* reexport safe */ _code__WEBPACK_IMPORTED_MODULE_15__.CodeSnippet),
|
|
35839
35833
|
/* harmony export */ ComboButton: () => (/* reexport safe */ _combo_button__WEBPACK_IMPORTED_MODULE_3__["default"]),
|
|
35840
|
-
/* harmony export */ Icon: () => (/* reexport safe */
|
|
35841
|
-
/* harmony export */ IconButton: () => (/* reexport safe */
|
|
35842
|
-
/* harmony export */ InfoChip: () => (/* reexport safe */
|
|
35843
|
-
/* harmony export */ Input: () => (/* reexport module object */
|
|
35844
|
-
/* harmony export */ Layout: () => (/* reexport module object */
|
|
35845
|
-
/* harmony export */ Link: () => (/* reexport safe */
|
|
35846
|
-
/* harmony export */ Menu: () => (/* reexport safe */
|
|
35847
|
-
/* harmony export */ Modal: () => (/* reexport module object */
|
|
35834
|
+
/* harmony export */ Icon: () => (/* reexport safe */ _icon__WEBPACK_IMPORTED_MODULE_17__.Icon),
|
|
35835
|
+
/* harmony export */ IconButton: () => (/* reexport safe */ _icon_button__WEBPACK_IMPORTED_MODULE_4__["default"]),
|
|
35836
|
+
/* harmony export */ InfoChip: () => (/* reexport safe */ _infochip__WEBPACK_IMPORTED_MODULE_5__["default"]),
|
|
35837
|
+
/* harmony export */ Input: () => (/* reexport module object */ _input__WEBPACK_IMPORTED_MODULE_6__),
|
|
35838
|
+
/* harmony export */ Layout: () => (/* reexport module object */ _layout__WEBPACK_IMPORTED_MODULE_7__),
|
|
35839
|
+
/* harmony export */ Link: () => (/* reexport safe */ _link__WEBPACK_IMPORTED_MODULE_18__.Link),
|
|
35840
|
+
/* harmony export */ Menu: () => (/* reexport safe */ _menu__WEBPACK_IMPORTED_MODULE_8__["default"]),
|
|
35841
|
+
/* harmony export */ Modal: () => (/* reexport module object */ _modal__WEBPACK_IMPORTED_MODULE_9__),
|
|
35848
35842
|
/* harmony export */ Progress: () => (/* reexport safe */ _progress__WEBPACK_IMPORTED_MODULE_19__.Progress),
|
|
35849
35843
|
/* harmony export */ ProgressBar: () => (/* reexport safe */ _progress__WEBPACK_IMPORTED_MODULE_19__.ProgressBar),
|
|
35850
|
-
/* harmony export */ RemovableTag: () => (/* reexport safe */
|
|
35851
|
-
/* harmony export */
|
|
35852
|
-
/* harmony export */
|
|
35853
|
-
/* harmony export */
|
|
35854
|
-
/* harmony export */
|
|
35855
|
-
/* harmony export */
|
|
35856
|
-
/* harmony export */
|
|
35857
|
-
/* harmony export */
|
|
35858
|
-
/* harmony export */
|
|
35859
|
-
/* harmony export */
|
|
35844
|
+
/* harmony export */ RemovableTag: () => (/* reexport safe */ _tag__WEBPACK_IMPORTED_MODULE_21__.RemovableTag),
|
|
35845
|
+
/* harmony export */ Snackbar: () => (/* reexport safe */ _snackbar__WEBPACK_IMPORTED_MODULE_20__.Snackbar),
|
|
35846
|
+
/* harmony export */ Tab: () => (/* reexport safe */ _tab__WEBPACK_IMPORTED_MODULE_13__["default"]),
|
|
35847
|
+
/* harmony export */ Table: () => (/* reexport safe */ _table__WEBPACK_IMPORTED_MODULE_10__["default"]),
|
|
35848
|
+
/* harmony export */ TagGroup: () => (/* reexport safe */ _tag__WEBPACK_IMPORTED_MODULE_21__.TagGroup),
|
|
35849
|
+
/* harmony export */ Tooltip: () => (/* reexport safe */ _tooltip__WEBPACK_IMPORTED_MODULE_22__.Tooltip),
|
|
35850
|
+
/* harmony export */ Typography: () => (/* reexport module object */ _typography__WEBPACK_IMPORTED_MODULE_14__),
|
|
35851
|
+
/* harmony export */ theme: () => (/* reexport safe */ _theme__WEBPACK_IMPORTED_MODULE_11__["default"]),
|
|
35852
|
+
/* harmony export */ translation: () => (/* reexport safe */ _translation__WEBPACK_IMPORTED_MODULE_12__["default"]),
|
|
35853
|
+
/* harmony export */ withPopover: () => (/* reexport safe */ _hoc__WEBPACK_IMPORTED_MODULE_16__.withPopover),
|
|
35854
|
+
/* harmony export */ withTooltip: () => (/* reexport safe */ _tooltip__WEBPACK_IMPORTED_MODULE_22__.withTooltip)
|
|
35860
35855
|
/* harmony export */ });
|
|
35861
35856
|
/* harmony import */ var _badge__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./badge */ "./src/badge.js");
|
|
35862
35857
|
/* harmony import */ var _button__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./button */ "./src/button/index.js");
|
|
35863
35858
|
/* harmony import */ var _chart__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./chart */ "./src/chart/index.js");
|
|
35864
35859
|
/* harmony import */ var _combo_button__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./combo_button */ "./src/combo_button/index.js");
|
|
35865
|
-
/* harmony import */ var
|
|
35866
|
-
/* harmony import */ var
|
|
35867
|
-
/* harmony import */ var
|
|
35868
|
-
/* harmony import */ var
|
|
35869
|
-
/* harmony import */ var
|
|
35870
|
-
/* harmony import */ var
|
|
35871
|
-
/* harmony import */ var
|
|
35872
|
-
/* harmony import */ var
|
|
35873
|
-
/* harmony import */ var
|
|
35874
|
-
/* harmony import */ var
|
|
35875
|
-
/* harmony import */ var
|
|
35876
|
-
/* harmony import */ var
|
|
35877
|
-
/* harmony import */ var
|
|
35878
|
-
/* harmony import */ var
|
|
35879
|
-
/* harmony import */ var
|
|
35860
|
+
/* harmony import */ var _icon_button__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./icon_button */ "./src/icon_button.js");
|
|
35861
|
+
/* harmony import */ var _infochip__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./infochip */ "./src/infochip.js");
|
|
35862
|
+
/* harmony import */ var _input__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./input */ "./src/input/index.js");
|
|
35863
|
+
/* harmony import */ var _layout__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./layout */ "./src/layout/index.js");
|
|
35864
|
+
/* harmony import */ var _menu__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ./menu */ "./src/menu/index.js");
|
|
35865
|
+
/* harmony import */ var _modal__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ./modal */ "./src/modal/index.js");
|
|
35866
|
+
/* harmony import */ var _table__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ./table */ "./src/table/index.js");
|
|
35867
|
+
/* harmony import */ var _theme__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ./theme */ "./src/theme.js");
|
|
35868
|
+
/* harmony import */ var _translation__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! ./translation */ "./src/translation.js");
|
|
35869
|
+
/* harmony import */ var _tab__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! ./tab */ "./src/tab/index.js");
|
|
35870
|
+
/* harmony import */ var _typography__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! ./typography */ "./src/typography/index.js");
|
|
35871
|
+
/* harmony import */ var _code__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! ./code */ "./src/code/index.js");
|
|
35872
|
+
/* harmony import */ var _hoc__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! ./hoc */ "./src/hoc/index.js");
|
|
35873
|
+
/* harmony import */ var _icon__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(/*! ./icon */ "./src/icon.js");
|
|
35874
|
+
/* harmony import */ var _link__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(/*! ./link */ "./src/link/index.js");
|
|
35880
35875
|
/* harmony import */ var _progress__WEBPACK_IMPORTED_MODULE_19__ = __webpack_require__(/*! ./progress */ "./src/progress/index.js");
|
|
35881
|
-
/* harmony import */ var
|
|
35882
|
-
/* harmony import */ var
|
|
35876
|
+
/* harmony import */ var _snackbar__WEBPACK_IMPORTED_MODULE_20__ = __webpack_require__(/*! ./snackbar */ "./src/snackbar/index.js");
|
|
35877
|
+
/* harmony import */ var _tag__WEBPACK_IMPORTED_MODULE_21__ = __webpack_require__(/*! ./tag */ "./src/tag/index.js");
|
|
35878
|
+
/* harmony import */ var _tooltip__WEBPACK_IMPORTED_MODULE_22__ = __webpack_require__(/*! ./tooltip */ "./src/tooltip.js");
|
|
35883
35879
|
// LICENSE_CODE ZON
|
|
35884
35880
|
|
|
35885
35881
|
|
|
@@ -35906,6 +35902,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
35906
35902
|
|
|
35907
35903
|
|
|
35908
35904
|
|
|
35905
|
+
|
|
35909
35906
|
|
|
35910
35907
|
|
|
35911
35908
|
/***/ }),
|
|
@@ -36419,7 +36416,7 @@ var useScroll = function useScroll(scrollTarget) {
|
|
|
36419
36416
|
"use strict";
|
|
36420
36417
|
__webpack_require__.r(__webpack_exports__);
|
|
36421
36418
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
36422
|
-
/* harmony export */
|
|
36419
|
+
/* harmony export */ Icon: () => (/* binding */ Icon)
|
|
36423
36420
|
/* harmony export */ });
|
|
36424
36421
|
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ "react");
|
|
36425
36422
|
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);
|
|
@@ -36482,7 +36479,6 @@ var StyledSvg = styled_components__WEBPACK_IMPORTED_MODULE_1___default().svg.wit
|
|
|
36482
36479
|
}, function (props) {
|
|
36483
36480
|
return props.$verticalAlign;
|
|
36484
36481
|
});
|
|
36485
|
-
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (Icon);
|
|
36486
36482
|
|
|
36487
36483
|
/***/ }),
|
|
36488
36484
|
|
|
@@ -36690,7 +36686,7 @@ var InfoChip = function InfoChip(props) {
|
|
|
36690
36686
|
var commonProps = (0,_util__WEBPACK_IMPORTED_MODULE_7__.getCommonProps)(props);
|
|
36691
36687
|
return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(InfoChipWrapper, _extends({
|
|
36692
36688
|
color: bgColor
|
|
36693
|
-
}, commonProps), icon && /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(_icon__WEBPACK_IMPORTED_MODULE_3__
|
|
36689
|
+
}, commonProps), icon && /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(_icon__WEBPACK_IMPORTED_MODULE_3__.Icon, {
|
|
36694
36690
|
size: "xxs",
|
|
36695
36691
|
color: color,
|
|
36696
36692
|
name: icon
|
|
@@ -37165,7 +37161,10 @@ var useStyles = function useStyles(_ref) {
|
|
|
37165
37161
|
size = _ref.size;
|
|
37166
37162
|
return (0,react__WEBPACK_IMPORTED_MODULE_0__.useMemo)(function () {
|
|
37167
37163
|
return (0,_util_with_user_styles__WEBPACK_IMPORTED_MODULE_4__.withUserStyles)(styles, {
|
|
37168
|
-
control: function control(baseStyles,
|
|
37164
|
+
control: function control(baseStyles, _ref2) {
|
|
37165
|
+
var isDisabled = _ref2.isDisabled,
|
|
37166
|
+
isFocused = _ref2.isFocused,
|
|
37167
|
+
selectProps = _ref2.selectProps;
|
|
37169
37168
|
var height = {
|
|
37170
37169
|
sm: 36,
|
|
37171
37170
|
md: 40,
|
|
@@ -37175,12 +37174,12 @@ var useStyles = function useStyles(_ref) {
|
|
|
37175
37174
|
var color = _theme__WEBPACK_IMPORTED_MODULE_1__["default"].color.gray_11_50;
|
|
37176
37175
|
var backgroundColor = _theme__WEBPACK_IMPORTED_MODULE_1__["default"].color.white;
|
|
37177
37176
|
var cursor = 'text';
|
|
37178
|
-
if (
|
|
37177
|
+
if (isDisabled) {
|
|
37179
37178
|
color = _theme__WEBPACK_IMPORTED_MODULE_1__["default"].color.gray_9;
|
|
37180
37179
|
borderColor = _theme__WEBPACK_IMPORTED_MODULE_1__["default"].color.gray_6;
|
|
37181
37180
|
backgroundColor = _theme__WEBPACK_IMPORTED_MODULE_1__["default"].color.gray_2;
|
|
37182
37181
|
cursor = 'default';
|
|
37183
|
-
} else if (
|
|
37182
|
+
} else if (selectProps['aria-invalid']) borderColor = _theme__WEBPACK_IMPORTED_MODULE_1__["default"].color.red_11;else if (isFocused) borderColor = _theme__WEBPACK_IMPORTED_MODULE_1__["default"].color.blue_11;
|
|
37184
37183
|
return _objectSpread(_objectSpread(_objectSpread({}, baseStyles), LabelSm), {}, {
|
|
37185
37184
|
minHeight: (0,_utils__WEBPACK_IMPORTED_MODULE_2__.toPixel)(height[size] || height.sm),
|
|
37186
37185
|
padding: "".concat(_shared__WEBPACK_IMPORTED_MODULE_3__.inputVerticalPadding, "px ").concat(_shared__WEBPACK_IMPORTED_MODULE_3__.inputHorizontalPadding, "px"),
|
|
@@ -37240,14 +37239,19 @@ var useStyles = function useStyles(_ref) {
|
|
|
37240
37239
|
textTransform: undefined
|
|
37241
37240
|
});
|
|
37242
37241
|
},
|
|
37243
|
-
option: function option(baseStyles,
|
|
37242
|
+
option: function option(baseStyles, _ref3) {
|
|
37243
|
+
var isFocused = _ref3.isFocused,
|
|
37244
|
+
isDisabled = _ref3.isDisabled;
|
|
37244
37245
|
return _objectSpread(_objectSpread(_objectSpread({}, baseStyles), LabelSm), {}, {
|
|
37245
37246
|
display: 'flex',
|
|
37246
37247
|
alignItems: 'center',
|
|
37247
37248
|
gap: '8px',
|
|
37248
37249
|
height: '40px',
|
|
37249
|
-
backgroundColor:
|
|
37250
|
-
color:
|
|
37250
|
+
backgroundColor: isFocused ? _theme__WEBPACK_IMPORTED_MODULE_1__["default"].color.gray_2 : undefined,
|
|
37251
|
+
color: isDisabled ? _theme__WEBPACK_IMPORTED_MODULE_1__["default"].color.gray_9 : _theme__WEBPACK_IMPORTED_MODULE_1__["default"].color.gray_11_50,
|
|
37252
|
+
'&:hover': {
|
|
37253
|
+
backgroundColor: _theme__WEBPACK_IMPORTED_MODULE_1__["default"].color.gray_2
|
|
37254
|
+
}
|
|
37251
37255
|
});
|
|
37252
37256
|
},
|
|
37253
37257
|
multiValue: function multiValue(baseStyles) {
|
|
@@ -39166,7 +39170,7 @@ var InputLabel = function InputLabel(props) {
|
|
|
39166
39170
|
id: id,
|
|
39167
39171
|
variant: variant,
|
|
39168
39172
|
color: "gray-11-50"
|
|
39169
|
-
}, t(label), required && /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(RequiredAsterisk, null)), labelIcon && /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(_icon__WEBPACK_IMPORTED_MODULE_4__
|
|
39173
|
+
}, t(label), required && /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(RequiredAsterisk, null)), labelIcon && /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(_icon__WEBPACK_IMPORTED_MODULE_4__.Icon, {
|
|
39170
39174
|
className: (0,_util__WEBPACK_IMPORTED_MODULE_9__.classNames)(classNamePrefix, {
|
|
39171
39175
|
labelIcon: true
|
|
39172
39176
|
}),
|
|
@@ -39789,7 +39793,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
39789
39793
|
"use strict";
|
|
39790
39794
|
__webpack_require__.r(__webpack_exports__);
|
|
39791
39795
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
39792
|
-
/* harmony export */
|
|
39796
|
+
/* harmony export */ Link: () => (/* reexport safe */ _link__WEBPACK_IMPORTED_MODULE_0__.Link)
|
|
39793
39797
|
/* harmony export */ });
|
|
39794
39798
|
/* harmony import */ var _link__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./link */ "./src/link/link.js");
|
|
39795
39799
|
// LICENSE_CODE ZON
|
|
@@ -39797,7 +39801,52 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
39797
39801
|
|
|
39798
39802
|
/*jslint react:true*/
|
|
39799
39803
|
|
|
39800
|
-
|
|
39804
|
+
|
|
39805
|
+
/***/ }),
|
|
39806
|
+
|
|
39807
|
+
/***/ "./src/link/inline_link.js":
|
|
39808
|
+
/*!*********************************!*\
|
|
39809
|
+
!*** ./src/link/inline_link.js ***!
|
|
39810
|
+
\*********************************/
|
|
39811
|
+
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
39812
|
+
|
|
39813
|
+
"use strict";
|
|
39814
|
+
__webpack_require__.r(__webpack_exports__);
|
|
39815
|
+
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
39816
|
+
/* harmony export */ InlineLink: () => (/* binding */ InlineLink)
|
|
39817
|
+
/* harmony export */ });
|
|
39818
|
+
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ "react");
|
|
39819
|
+
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);
|
|
39820
|
+
/* harmony import */ var styled_components__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! styled-components */ "styled-components");
|
|
39821
|
+
/* harmony import */ var styled_components__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(styled_components__WEBPACK_IMPORTED_MODULE_1__);
|
|
39822
|
+
/* harmony import */ var _util__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../util */ "./src/util/index.js");
|
|
39823
|
+
/* harmony import */ var _utils__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../utils */ "./src/utils.js");
|
|
39824
|
+
// LICENSE_CODE ZON
|
|
39825
|
+
|
|
39826
|
+
|
|
39827
|
+
/*jslint react:true*/
|
|
39828
|
+
function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
|
|
39829
|
+
function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
|
|
39830
|
+
function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
|
|
39831
|
+
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
39832
|
+
function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
39833
|
+
function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
|
|
39834
|
+
function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
|
|
39835
|
+
|
|
39836
|
+
|
|
39837
|
+
|
|
39838
|
+
|
|
39839
|
+
var InlineLink = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().forwardRef(function (props, ref) {
|
|
39840
|
+
var linkProps = _objectSpread(_objectSpread({}, (0,_util__WEBPACK_IMPORTED_MODULE_2__.getCommonProps)(props)), (0,_utils__WEBPACK_IMPORTED_MODULE_3__.getLinkProps)(props));
|
|
39841
|
+
return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(StyledLink, _extends({
|
|
39842
|
+
ref: ref
|
|
39843
|
+
}, linkProps), props.children);
|
|
39844
|
+
});
|
|
39845
|
+
InlineLink.displayName = 'InlineLink';
|
|
39846
|
+
var StyledLink = styled_components__WEBPACK_IMPORTED_MODULE_1___default().a.withConfig({
|
|
39847
|
+
displayName: "StyledLink",
|
|
39848
|
+
componentId: "sc-2k0eac-0"
|
|
39849
|
+
})(["justify-content:center;text-decoration:underline;background:0 none;border:0 none;padding:0;cursor:pointer;&:disabled{cursor:not-allowed;}&:hover,:visited,:focus{text-decoration:underline;}"]);
|
|
39801
39850
|
|
|
39802
39851
|
/***/ }),
|
|
39803
39852
|
|
|
@@ -39810,6 +39859,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
39810
39859
|
"use strict";
|
|
39811
39860
|
__webpack_require__.r(__webpack_exports__);
|
|
39812
39861
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
39862
|
+
/* harmony export */ Link: () => (/* binding */ Link),
|
|
39813
39863
|
/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
|
|
39814
39864
|
/* harmony export */ });
|
|
39815
39865
|
/* harmony import */ var lodash_omit__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! lodash/omit */ "./node_modules/lodash/omit.js");
|
|
@@ -39824,6 +39874,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
39824
39874
|
/* harmony import */ var _theme__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../theme */ "./src/theme.js");
|
|
39825
39875
|
/* harmony import */ var _typography__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../typography */ "./src/typography/index.js");
|
|
39826
39876
|
/* harmony import */ var _utils__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../utils */ "./src/utils.js");
|
|
39877
|
+
/* harmony import */ var _inline_link__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ./inline_link */ "./src/link/inline_link.js");
|
|
39827
39878
|
// LICENSE_CODE ZON
|
|
39828
39879
|
|
|
39829
39880
|
|
|
@@ -39841,6 +39892,7 @@ function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) r
|
|
|
39841
39892
|
|
|
39842
39893
|
|
|
39843
39894
|
|
|
39895
|
+
|
|
39844
39896
|
var Link = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2___default().forwardRef(function (props, ref) {
|
|
39845
39897
|
var text = props.text,
|
|
39846
39898
|
variant = props.variant,
|
|
@@ -39848,7 +39900,7 @@ var Link = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2___default().forwardRef(
|
|
|
39848
39900
|
icon = props.icon,
|
|
39849
39901
|
rest = _objectWithoutProperties(props, _excluded);
|
|
39850
39902
|
if (variant == 'inline') {
|
|
39851
|
-
return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2___default().createElement(InlineLink, _extends({
|
|
39903
|
+
return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2___default().createElement(_inline_link__WEBPACK_IMPORTED_MODULE_8__.InlineLink, _extends({
|
|
39852
39904
|
ref: ref
|
|
39853
39905
|
}, rest, (0,_utils__WEBPACK_IMPORTED_MODULE_7__.getLinkProps)(props)), text);
|
|
39854
39906
|
}
|
|
@@ -39866,11 +39918,11 @@ var Link = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2___default().forwardRef(
|
|
|
39866
39918
|
$variant: variant,
|
|
39867
39919
|
$size: size,
|
|
39868
39920
|
$noIcon: !icon
|
|
39869
|
-
}), isLeft && /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2___default().createElement(_icon__WEBPACK_IMPORTED_MODULE_4__
|
|
39921
|
+
}), isLeft && /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2___default().createElement(_icon__WEBPACK_IMPORTED_MODULE_4__.Icon, iconProps), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2___default().createElement(_typography__WEBPACK_IMPORTED_MODULE_6__.Label, {
|
|
39870
39922
|
variant: labelVariant,
|
|
39871
39923
|
no_wrap: true,
|
|
39872
39924
|
"data-label": true
|
|
39873
|
-
}, text), isRight && /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2___default().createElement(_icon__WEBPACK_IMPORTED_MODULE_4__
|
|
39925
|
+
}, text), isRight && /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2___default().createElement(_icon__WEBPACK_IMPORTED_MODULE_4__.Icon, iconProps));
|
|
39874
39926
|
});
|
|
39875
39927
|
Link.displayName = 'Link';
|
|
39876
39928
|
Link.defaultProps = {
|
|
@@ -39887,14 +39939,9 @@ Link.propTypes = {
|
|
|
39887
39939
|
href: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().string),
|
|
39888
39940
|
newTab: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().bool)
|
|
39889
39941
|
};
|
|
39890
|
-
var InlineLink = styled_components__WEBPACK_IMPORTED_MODULE_3___default().a.withConfig({
|
|
39891
|
-
displayName: "InlineLink",
|
|
39892
|
-
componentId: "sc-1ilmd36-0"
|
|
39893
|
-
})(["justify-content:center;text-decoration:underline;background:0 none;border:0 none;padding:0;cursor:pointer;&:disabled{cursor:not-allowed;}&:hover,:visited,:focus{text-decoration:underline;}"]);
|
|
39894
|
-
InlineLink.displayName = 'InlineLink';
|
|
39895
39942
|
var StyledLink = styled_components__WEBPACK_IMPORTED_MODULE_3___default().a.withConfig({
|
|
39896
39943
|
displayName: "StyledLink",
|
|
39897
|
-
componentId: "sc-1ilmd36-
|
|
39944
|
+
componentId: "sc-1ilmd36-0"
|
|
39898
39945
|
})(["display:inline-flex;align-items:center;justify-content:center;text-decoration:none;background:0 none;border:0 none;padding:0;gap:", ";[data-label]{color:", ";text-decoration:", ";}[data-icon]{color:", ";}cursor:pointer;&:disabled{cursor:not-allowed;}&:hover:not(:disabled){[data-label]{color:", ";text-decoration:", ";}[data-icon]{color:", ";}}&:hover,:visited,:focus{text-decoration:none;}"], function (props) {
|
|
39899
39946
|
return (0,_utils__WEBPACK_IMPORTED_MODULE_7__.toPixel)(props.$size == 'lg' ? 8 : 4);
|
|
39900
39947
|
}, function (props) {
|
|
@@ -40096,7 +40143,7 @@ var MenuItem = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2___default().forward
|
|
|
40096
40143
|
size: size,
|
|
40097
40144
|
role: "button",
|
|
40098
40145
|
subItems: subItems
|
|
40099
|
-
}), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2___default().createElement(MenuItemLeft, null, isLeft && /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2___default().createElement(_icon__WEBPACK_IMPORTED_MODULE_5__
|
|
40146
|
+
}), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2___default().createElement(MenuItemLeft, null, isLeft && /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2___default().createElement(_icon__WEBPACK_IMPORTED_MODULE_5__.Icon, _extends({}, iconProps, {
|
|
40100
40147
|
color: iconColor
|
|
40101
40148
|
})), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2___default().createElement(MenuItemRight, null, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2___default().createElement(MenuItemText, null, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2___default().createElement(PrimaryText, {
|
|
40102
40149
|
$size: size,
|
|
@@ -40201,7 +40248,7 @@ var SecondaryIcon = function SecondaryIcon(props) {
|
|
|
40201
40248
|
return null;
|
|
40202
40249
|
};
|
|
40203
40250
|
SecondaryIcon.displayName = 'SecondaryIcon';
|
|
40204
|
-
var RightIcon = styled_components__WEBPACK_IMPORTED_MODULE_3___default()(_icon__WEBPACK_IMPORTED_MODULE_5__
|
|
40251
|
+
var RightIcon = styled_components__WEBPACK_IMPORTED_MODULE_3___default()(_icon__WEBPACK_IMPORTED_MODULE_5__.Icon).attrs({
|
|
40205
40252
|
size: 'xs'
|
|
40206
40253
|
}).withConfig({
|
|
40207
40254
|
displayName: "RightIcon",
|
|
@@ -41029,6 +41076,244 @@ ProgressBar.propTypes = {
|
|
|
41029
41076
|
|
|
41030
41077
|
/***/ }),
|
|
41031
41078
|
|
|
41079
|
+
/***/ "./src/snackbar/index.js":
|
|
41080
|
+
/*!*******************************!*\
|
|
41081
|
+
!*** ./src/snackbar/index.js ***!
|
|
41082
|
+
\*******************************/
|
|
41083
|
+
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
41084
|
+
|
|
41085
|
+
"use strict";
|
|
41086
|
+
__webpack_require__.r(__webpack_exports__);
|
|
41087
|
+
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
41088
|
+
/* harmony export */ Snackbar: () => (/* reexport safe */ _snackbar__WEBPACK_IMPORTED_MODULE_0__.Snackbar)
|
|
41089
|
+
/* harmony export */ });
|
|
41090
|
+
/* harmony import */ var _snackbar__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./snackbar */ "./src/snackbar/snackbar.js");
|
|
41091
|
+
// LICENSE_CODE ZON
|
|
41092
|
+
|
|
41093
|
+
|
|
41094
|
+
/*jslint react:true*/
|
|
41095
|
+
|
|
41096
|
+
|
|
41097
|
+
/***/ }),
|
|
41098
|
+
|
|
41099
|
+
/***/ "./src/snackbar/snackbar.js":
|
|
41100
|
+
/*!**********************************!*\
|
|
41101
|
+
!*** ./src/snackbar/snackbar.js ***!
|
|
41102
|
+
\**********************************/
|
|
41103
|
+
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
41104
|
+
|
|
41105
|
+
"use strict";
|
|
41106
|
+
__webpack_require__.r(__webpack_exports__);
|
|
41107
|
+
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
41108
|
+
/* harmony export */ Snackbar: () => (/* binding */ Snackbar)
|
|
41109
|
+
/* harmony export */ });
|
|
41110
|
+
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! prop-types */ "prop-types");
|
|
41111
|
+
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_0__);
|
|
41112
|
+
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react */ "react");
|
|
41113
|
+
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_1__);
|
|
41114
|
+
/* harmony import */ var styled_components__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! styled-components */ "styled-components");
|
|
41115
|
+
/* harmony import */ var styled_components__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(styled_components__WEBPACK_IMPORTED_MODULE_2__);
|
|
41116
|
+
/* harmony import */ var _util__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../util */ "./src/util/index.js");
|
|
41117
|
+
/* harmony import */ var _theme__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../theme */ "./src/theme.js");
|
|
41118
|
+
/* harmony import */ var _snackbar_action__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./snackbar_action */ "./src/snackbar/snackbar_action.js");
|
|
41119
|
+
/* harmony import */ var _snackbar_content__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./snackbar_content */ "./src/snackbar/snackbar_content.js");
|
|
41120
|
+
/* harmony import */ var _snackbar_icon__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./snackbar_icon */ "./src/snackbar/snackbar_icon.js");
|
|
41121
|
+
// LICENSE_CODE ZON
|
|
41122
|
+
|
|
41123
|
+
|
|
41124
|
+
/*jslint react:true*/
|
|
41125
|
+
var _excluded = ["variant", "type", "showIcon", "header", "children", "action"];
|
|
41126
|
+
function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
|
|
41127
|
+
function _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
|
|
41128
|
+
function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
|
|
41129
|
+
|
|
41130
|
+
|
|
41131
|
+
|
|
41132
|
+
|
|
41133
|
+
|
|
41134
|
+
|
|
41135
|
+
|
|
41136
|
+
|
|
41137
|
+
var color = _theme__WEBPACK_IMPORTED_MODULE_4__["default"].color;
|
|
41138
|
+
var Snackbar = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().forwardRef(function (props, ref) {
|
|
41139
|
+
var variant = props.variant,
|
|
41140
|
+
type = props.type,
|
|
41141
|
+
showIcon = props.showIcon,
|
|
41142
|
+
header = props.header,
|
|
41143
|
+
children = props.children,
|
|
41144
|
+
action = props.action,
|
|
41145
|
+
rest = _objectWithoutProperties(props, _excluded);
|
|
41146
|
+
return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(Wrapper, _extends({
|
|
41147
|
+
ref: ref,
|
|
41148
|
+
$type: type
|
|
41149
|
+
}, (0,_util__WEBPACK_IMPORTED_MODULE_3__.getCommonProps)(rest)), !!showIcon && /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(_snackbar_icon__WEBPACK_IMPORTED_MODULE_7__.SnackbarIcon, {
|
|
41150
|
+
type: type
|
|
41151
|
+
}), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(Container, {
|
|
41152
|
+
$variant: variant
|
|
41153
|
+
}, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(_snackbar_content__WEBPACK_IMPORTED_MODULE_6__.SnackbarContent, {
|
|
41154
|
+
header: header
|
|
41155
|
+
}, children), !!action && /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(_snackbar_action__WEBPACK_IMPORTED_MODULE_5__.SnackbarAction, action)));
|
|
41156
|
+
});
|
|
41157
|
+
Snackbar.displayName = 'Snackbar';
|
|
41158
|
+
Snackbar.defaultProps = {
|
|
41159
|
+
variant: 'vertical',
|
|
41160
|
+
type: 'info'
|
|
41161
|
+
};
|
|
41162
|
+
Snackbar.propTypes = {
|
|
41163
|
+
variant: prop_types__WEBPACK_IMPORTED_MODULE_0___default().oneOf(['vertical', 'horizontal']),
|
|
41164
|
+
type: prop_types__WEBPACK_IMPORTED_MODULE_0___default().oneOf(['info', 'success', 'error', 'warning', 'generic']),
|
|
41165
|
+
header: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().node),
|
|
41166
|
+
showIcon: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().bool),
|
|
41167
|
+
action: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().object)
|
|
41168
|
+
};
|
|
41169
|
+
var Wrapper = styled_components__WEBPACK_IMPORTED_MODULE_2___default().div.withConfig({
|
|
41170
|
+
displayName: "Wrapper",
|
|
41171
|
+
componentId: "sc-6ku6mu-0"
|
|
41172
|
+
})(["display:flex;flex-direction:row;justify-content:center;align-items:flex-start;padding:16px;gap:16px;border-radius:4px;background-color:", ";"], function (props) {
|
|
41173
|
+
return {
|
|
41174
|
+
info: color.blue_3,
|
|
41175
|
+
success: color.green_3,
|
|
41176
|
+
error: color.red_3,
|
|
41177
|
+
warning: color.yellow_3,
|
|
41178
|
+
generic: color.gray_3
|
|
41179
|
+
}[props.$type] || color.blue_3;
|
|
41180
|
+
});
|
|
41181
|
+
var Container = styled_components__WEBPACK_IMPORTED_MODULE_2___default().div.withConfig({
|
|
41182
|
+
displayName: "Container",
|
|
41183
|
+
componentId: "sc-6ku6mu-1"
|
|
41184
|
+
})(["display:flex;flex-direction:", ";justify-content:center;align-items:flex-start;gap:16px;"], function (props) {
|
|
41185
|
+
return props.$variant == 'horizontal' ? 'row' : 'column';
|
|
41186
|
+
});
|
|
41187
|
+
|
|
41188
|
+
/***/ }),
|
|
41189
|
+
|
|
41190
|
+
/***/ "./src/snackbar/snackbar_action.js":
|
|
41191
|
+
/*!*****************************************!*\
|
|
41192
|
+
!*** ./src/snackbar/snackbar_action.js ***!
|
|
41193
|
+
\*****************************************/
|
|
41194
|
+
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
41195
|
+
|
|
41196
|
+
"use strict";
|
|
41197
|
+
__webpack_require__.r(__webpack_exports__);
|
|
41198
|
+
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
41199
|
+
/* harmony export */ SnackbarAction: () => (/* binding */ SnackbarAction)
|
|
41200
|
+
/* harmony export */ });
|
|
41201
|
+
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ "react");
|
|
41202
|
+
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);
|
|
41203
|
+
/* harmony import */ var _button__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../button */ "./src/button/index.js");
|
|
41204
|
+
/* harmony import */ var _link__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../link */ "./src/link/index.js");
|
|
41205
|
+
// LICENSE_CODE ZON
|
|
41206
|
+
|
|
41207
|
+
|
|
41208
|
+
/*jslint react:true*/
|
|
41209
|
+
var _excluded = ["isLink"];
|
|
41210
|
+
function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
|
|
41211
|
+
function _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
|
|
41212
|
+
function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
|
|
41213
|
+
|
|
41214
|
+
|
|
41215
|
+
|
|
41216
|
+
var SnackbarAction = function SnackbarAction(props) {
|
|
41217
|
+
var isLink = props.isLink,
|
|
41218
|
+
rest = _objectWithoutProperties(props, _excluded);
|
|
41219
|
+
if (isLink) return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(_link__WEBPACK_IMPORTED_MODULE_2__.Link, _extends({
|
|
41220
|
+
variant: "secondary"
|
|
41221
|
+
}, rest, {
|
|
41222
|
+
size: "md"
|
|
41223
|
+
}));
|
|
41224
|
+
return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(_button__WEBPACK_IMPORTED_MODULE_1__["default"], _extends({}, rest, {
|
|
41225
|
+
size: "sm"
|
|
41226
|
+
}));
|
|
41227
|
+
};
|
|
41228
|
+
|
|
41229
|
+
/***/ }),
|
|
41230
|
+
|
|
41231
|
+
/***/ "./src/snackbar/snackbar_content.js":
|
|
41232
|
+
/*!******************************************!*\
|
|
41233
|
+
!*** ./src/snackbar/snackbar_content.js ***!
|
|
41234
|
+
\******************************************/
|
|
41235
|
+
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
41236
|
+
|
|
41237
|
+
"use strict";
|
|
41238
|
+
__webpack_require__.r(__webpack_exports__);
|
|
41239
|
+
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
41240
|
+
/* harmony export */ SnackbarContent: () => (/* binding */ SnackbarContent)
|
|
41241
|
+
/* harmony export */ });
|
|
41242
|
+
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ "react");
|
|
41243
|
+
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);
|
|
41244
|
+
/* harmony import */ var styled_components__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! styled-components */ "styled-components");
|
|
41245
|
+
/* harmony import */ var styled_components__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(styled_components__WEBPACK_IMPORTED_MODULE_1__);
|
|
41246
|
+
/* harmony import */ var _typography__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../typography */ "./src/typography/index.js");
|
|
41247
|
+
// LICENSE_CODE ZON
|
|
41248
|
+
|
|
41249
|
+
|
|
41250
|
+
/*jslint react:true*/
|
|
41251
|
+
|
|
41252
|
+
|
|
41253
|
+
|
|
41254
|
+
var SnackbarContent = function SnackbarContent(props) {
|
|
41255
|
+
var header = props.header,
|
|
41256
|
+
children = props.children;
|
|
41257
|
+
return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(Container, null, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(_typography__WEBPACK_IMPORTED_MODULE_2__.Label, {
|
|
41258
|
+
variant: "lg",
|
|
41259
|
+
color: "gray_11_50"
|
|
41260
|
+
}, header), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(_typography__WEBPACK_IMPORTED_MODULE_2__.Paragraph, {
|
|
41261
|
+
variant: "lg_snug",
|
|
41262
|
+
color: "gray_11_50"
|
|
41263
|
+
}, children));
|
|
41264
|
+
};
|
|
41265
|
+
var Container = styled_components__WEBPACK_IMPORTED_MODULE_1___default().div.withConfig({
|
|
41266
|
+
displayName: "Container",
|
|
41267
|
+
componentId: "sc-16h0vli-0"
|
|
41268
|
+
})(["display:flex;flex-direction:column;align-items:flex-start;gap:8px;"]);
|
|
41269
|
+
|
|
41270
|
+
/***/ }),
|
|
41271
|
+
|
|
41272
|
+
/***/ "./src/snackbar/snackbar_icon.js":
|
|
41273
|
+
/*!***************************************!*\
|
|
41274
|
+
!*** ./src/snackbar/snackbar_icon.js ***!
|
|
41275
|
+
\***************************************/
|
|
41276
|
+
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
41277
|
+
|
|
41278
|
+
"use strict";
|
|
41279
|
+
__webpack_require__.r(__webpack_exports__);
|
|
41280
|
+
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
41281
|
+
/* harmony export */ SnackbarIcon: () => (/* binding */ SnackbarIcon)
|
|
41282
|
+
/* harmony export */ });
|
|
41283
|
+
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ "react");
|
|
41284
|
+
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);
|
|
41285
|
+
/* harmony import */ var _icon__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../icon */ "./src/icon.js");
|
|
41286
|
+
// LICENSE_CODE ZON
|
|
41287
|
+
|
|
41288
|
+
|
|
41289
|
+
/*jslint react:true*/
|
|
41290
|
+
|
|
41291
|
+
|
|
41292
|
+
var SnackbarIcon = function SnackbarIcon(props) {
|
|
41293
|
+
var type = props.type;
|
|
41294
|
+
var name = {
|
|
41295
|
+
info: 'Info',
|
|
41296
|
+
success: 'CheckCircle',
|
|
41297
|
+
error: 'Warning',
|
|
41298
|
+
warning: 'Warning',
|
|
41299
|
+
generic: 'Info'
|
|
41300
|
+
}[type] || 'Info';
|
|
41301
|
+
var color = {
|
|
41302
|
+
info: 'blue_10',
|
|
41303
|
+
success: 'green_10',
|
|
41304
|
+
error: 'red_10',
|
|
41305
|
+
warning: 'yellow_10',
|
|
41306
|
+
generic: 'gray_10'
|
|
41307
|
+
}[type] || 'blue_10';
|
|
41308
|
+
return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(_icon__WEBPACK_IMPORTED_MODULE_1__.Icon, {
|
|
41309
|
+
name: name,
|
|
41310
|
+
color: color,
|
|
41311
|
+
size: "sm"
|
|
41312
|
+
});
|
|
41313
|
+
};
|
|
41314
|
+
|
|
41315
|
+
/***/ }),
|
|
41316
|
+
|
|
41032
41317
|
/***/ "./src/tab/group.js":
|
|
41033
41318
|
/*!**************************!*\
|
|
41034
41319
|
!*** ./src/tab/group.js ***!
|
|
@@ -41779,7 +42064,7 @@ var Search = function Search(props) {
|
|
|
41779
42064
|
padding: _theme__WEBPACK_IMPORTED_MODULE_7__["default"].spacing['03']
|
|
41780
42065
|
}
|
|
41781
42066
|
}, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(_input__WEBPACK_IMPORTED_MODULE_6__.Textbox, {
|
|
41782
|
-
leftInnerContent: /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(_icon__WEBPACK_IMPORTED_MODULE_4__
|
|
42067
|
+
leftInnerContent: /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(_icon__WEBPACK_IMPORTED_MODULE_4__.Icon, {
|
|
41783
42068
|
size: "xs",
|
|
41784
42069
|
name: "Search",
|
|
41785
42070
|
color: "gray_9"
|
|
@@ -41861,7 +42146,7 @@ var CustomizeButtonItemAction = function CustomizeButtonItemAction(props) {
|
|
|
41861
42146
|
}, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(_tooltip__WEBPACK_IMPORTED_MODULE_8__.Tooltip, {
|
|
41862
42147
|
tooltip: props.tooltip,
|
|
41863
42148
|
tooltipPlacement: "top"
|
|
41864
|
-
}, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(_icon__WEBPACK_IMPORTED_MODULE_4__
|
|
42149
|
+
}, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(_icon__WEBPACK_IMPORTED_MODULE_4__.Icon, {
|
|
41865
42150
|
name: props.icon,
|
|
41866
42151
|
size: "xs",
|
|
41867
42152
|
color: "gray_9"
|
|
@@ -42497,7 +42782,7 @@ var PinColumn = function PinColumn(props) {
|
|
|
42497
42782
|
}, [isPinned, togglePinned, onClick]);
|
|
42498
42783
|
return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(FunctionWrapper, {
|
|
42499
42784
|
onClick: handleClick
|
|
42500
|
-
}, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(_icon__WEBPACK_IMPORTED_MODULE_3__
|
|
42785
|
+
}, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(_icon__WEBPACK_IMPORTED_MODULE_3__.Icon, {
|
|
42501
42786
|
name: isPinned ? 'Unpin' : 'Pin',
|
|
42502
42787
|
color: "gray_9",
|
|
42503
42788
|
size: "xs"
|
|
@@ -42514,7 +42799,7 @@ var HideColumn = function HideColumn(props) {
|
|
|
42514
42799
|
}
|
|
42515
42800
|
}, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement("input", _extends({
|
|
42516
42801
|
type: "checkbox"
|
|
42517
|
-
}, props)), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(_icon__WEBPACK_IMPORTED_MODULE_3__
|
|
42802
|
+
}, props)), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(_icon__WEBPACK_IMPORTED_MODULE_3__.Icon, {
|
|
42518
42803
|
name: "EyeOff",
|
|
42519
42804
|
color: "gray_9",
|
|
42520
42805
|
size: "xs"
|
|
@@ -42728,7 +43013,7 @@ var PaginationItemsWrapper = styled_components__WEBPACK_IMPORTED_MODULE_2___defa
|
|
|
42728
43013
|
componentId: "sc-1rdn0jh-2"
|
|
42729
43014
|
})(["display:flex;flex-direction:row;align-items:center;gap:8px;"]);
|
|
42730
43015
|
var PageLink = function PageLink(props) {
|
|
42731
|
-
return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(_link__WEBPACK_IMPORTED_MODULE_6__
|
|
43016
|
+
return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(_link__WEBPACK_IMPORTED_MODULE_6__.Link, {
|
|
42732
43017
|
as: "div",
|
|
42733
43018
|
variant: "secondary",
|
|
42734
43019
|
size: "sm",
|
|
@@ -43268,7 +43553,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
43268
43553
|
|
|
43269
43554
|
|
|
43270
43555
|
var SortIcon = function SortIcon(props) {
|
|
43271
|
-
return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(_icon__WEBPACK_IMPORTED_MODULE_1__
|
|
43556
|
+
return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(_icon__WEBPACK_IMPORTED_MODULE_1__.Icon, {
|
|
43272
43557
|
size: "xs",
|
|
43273
43558
|
name: props.reverse ? 'SortDesc' : 'SortAsc',
|
|
43274
43559
|
color: props.color || 'blue_10',
|
|
@@ -43889,7 +44174,7 @@ var TagBase = function TagBase(props) {
|
|
|
43889
44174
|
TagBase.propTypes = {
|
|
43890
44175
|
size: prop_types__WEBPACK_IMPORTED_MODULE_0___default().oneOf(['sm', 'md'])
|
|
43891
44176
|
};
|
|
43892
|
-
var BadgeIcon = styled_components__WEBPACK_IMPORTED_MODULE_2___default()(_icon__WEBPACK_IMPORTED_MODULE_4__
|
|
44177
|
+
var BadgeIcon = styled_components__WEBPACK_IMPORTED_MODULE_2___default()(_icon__WEBPACK_IMPORTED_MODULE_4__.Icon).withConfig({
|
|
43893
44178
|
displayName: "BadgeIcon",
|
|
43894
44179
|
componentId: "sc-1j3m7xm-0"
|
|
43895
44180
|
})(["min-width:14px;width:14px;min-height:14px;height:14px;color:", ";"], _theme__WEBPACK_IMPORTED_MODULE_6__["default"].color.gray_9);
|
|
@@ -45583,7 +45868,9 @@ var VirtualizedListRowRenderer = function VirtualizedListRowRenderer(_ref7) {
|
|
|
45583
45868
|
isSelected: thisProps.isSelected,
|
|
45584
45869
|
className: thisProps.className,
|
|
45585
45870
|
cx: thisProps.cx,
|
|
45871
|
+
getClassNames: thisProps.getClassNames,
|
|
45586
45872
|
getStyles: thisProps.getStyles,
|
|
45873
|
+
theme: thisProps.theme,
|
|
45587
45874
|
innerRef: thisProps.innerRef,
|
|
45588
45875
|
innerProps: thisProps.innerProps,
|
|
45589
45876
|
tag: "div"
|
|
@@ -108358,6 +108645,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
108358
108645
|
/* harmony export */ Progress: () => (/* reexport safe */ _core__WEBPACK_IMPORTED_MODULE_0__.Progress),
|
|
108359
108646
|
/* harmony export */ ProgressBar: () => (/* reexport safe */ _core__WEBPACK_IMPORTED_MODULE_0__.ProgressBar),
|
|
108360
108647
|
/* harmony export */ RemovableTag: () => (/* reexport safe */ _core__WEBPACK_IMPORTED_MODULE_0__.RemovableTag),
|
|
108648
|
+
/* harmony export */ Snackbar: () => (/* reexport safe */ _core__WEBPACK_IMPORTED_MODULE_0__.Snackbar),
|
|
108361
108649
|
/* harmony export */ Tab: () => (/* reexport safe */ _core__WEBPACK_IMPORTED_MODULE_0__.Tab),
|
|
108362
108650
|
/* harmony export */ Table: () => (/* reexport safe */ _core__WEBPACK_IMPORTED_MODULE_0__.Table),
|
|
108363
108651
|
/* harmony export */ TagGroup: () => (/* reexport safe */ _core__WEBPACK_IMPORTED_MODULE_0__.TagGroup),
|