@luminati-io/uikit 3.2.16 → 3.3.1
Sign up to get free protection for your applications and to get access to all the features.
@@ -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 = {
|
@@ -33133,14 +33133,14 @@ __webpack_require__.r(__webpack_exports__);
|
|
33133
33133
|
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);
|
33134
33134
|
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! prop-types */ "prop-types");
|
33135
33135
|
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_1__);
|
33136
|
-
/* harmony import */ var _visx_curve__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! @visx/curve */ "./node_modules/d3-shape/src/curve/cardinal.js");
|
33137
33136
|
/* harmony import */ var _util__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../util */ "./src/util/index.js");
|
33138
33137
|
/* harmony import */ var _chart_container__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./chart_container */ "./src/chart/chart_container.js");
|
33139
|
-
/* harmony import */ var
|
33140
|
-
/* harmony import */ var
|
33141
|
-
/* harmony import */ var
|
33142
|
-
/* harmony import */ var
|
33143
|
-
/* harmony import */ var
|
33138
|
+
/* harmony import */ var _get_curve__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./get_curve */ "./src/chart/get_curve.js");
|
33139
|
+
/* harmony import */ var _get_components__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./get_components */ "./src/chart/get_components.js");
|
33140
|
+
/* harmony import */ var _glyph__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./glyph */ "./src/chart/glyph.js");
|
33141
|
+
/* harmony import */ var _split_props__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./split_props */ "./src/chart/split_props.js");
|
33142
|
+
/* harmony import */ var _tooltip__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ./tooltip */ "./src/chart/tooltip.js");
|
33143
|
+
/* harmony import */ var _use_chart_theme__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ./use_chart_theme */ "./src/chart/use_chart_theme.js");
|
33144
33144
|
// LICENSE_CODE ZON
|
33145
33145
|
|
33146
33146
|
|
@@ -33196,22 +33196,25 @@ var AreaChart = function AreaChart(props) {
|
|
33196
33196
|
stacked = props.stacked,
|
33197
33197
|
showTooltip = props.showTooltip,
|
33198
33198
|
_props$tooltipContent = props.tooltipContent,
|
33199
|
-
tooltipContent = _props$tooltipContent === void 0 ?
|
33199
|
+
tooltipContent = _props$tooltipContent === void 0 ? _tooltip__WEBPACK_IMPORTED_MODULE_8__.DefaultTooltip : _props$tooltipContent,
|
33200
|
+
_props$curveType = props.curveType,
|
33201
|
+
curveType = _props$curveType === void 0 ? '' : _props$curveType,
|
33200
33202
|
onPointerMove = props.onPointerMove,
|
33201
33203
|
onPointerOut = props.onPointerOut,
|
33202
33204
|
onPointerUp = props.onPointerUp,
|
33203
33205
|
onPointerDown = props.onPointerDown,
|
33204
33206
|
pointerEventsDataKey = props.pointerEventsDataKey,
|
33205
33207
|
children = props.children;
|
33206
|
-
var _getAnimatedOrUnanima = (0,
|
33208
|
+
var _getAnimatedOrUnanima = (0,_get_components__WEBPACK_IMPORTED_MODULE_5__.getAnimatedOrUnanimatedComponents)(animated),
|
33207
33209
|
XYChart = _getAnimatedOrUnanima.XYChart,
|
33208
33210
|
Grid = _getAnimatedOrUnanima.Grid,
|
33209
33211
|
Axis = _getAnimatedOrUnanima.Axis,
|
33210
33212
|
AreaSeries = _getAnimatedOrUnanima.AreaSeries,
|
33211
33213
|
AreaStack = _getAnimatedOrUnanima.AreaStack,
|
33212
33214
|
Tooltip = _getAnimatedOrUnanima.Tooltip;
|
33213
|
-
var chartTheme = (0,
|
33215
|
+
var chartTheme = (0,_use_chart_theme__WEBPACK_IMPORTED_MODULE_9__.useChartTheme)(palette);
|
33214
33216
|
if (!data || !data.length) return null;
|
33217
|
+
var curve = (0,_get_curve__WEBPACK_IMPORTED_MODULE_4__.getCurve)(curveType);
|
33215
33218
|
return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(XYChart, {
|
33216
33219
|
theme: chartTheme,
|
33217
33220
|
xScale: config.x,
|
@@ -33232,7 +33235,7 @@ var AreaChart = function AreaChart(props) {
|
|
33232
33235
|
animationTrajectory: animationTrajectory,
|
33233
33236
|
numTicks: numTicks
|
33234
33237
|
}), !!stacked && /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(AreaStack, {
|
33235
|
-
curve:
|
33238
|
+
curve: curve
|
33236
33239
|
}, data.map(function (lineData) {
|
33237
33240
|
return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(AreaSeries, _extends({
|
33238
33241
|
key: lineData.name,
|
@@ -33244,7 +33247,7 @@ var AreaChart = function AreaChart(props) {
|
|
33244
33247
|
key: lineData.name,
|
33245
33248
|
dataKey: lineData.name,
|
33246
33249
|
data: lineData.datapoints,
|
33247
|
-
curve:
|
33250
|
+
curve: curve
|
33248
33251
|
}, lineData.accessors, lineData.areaProps));
|
33249
33252
|
}), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(Axis, {
|
33250
33253
|
key: "x-axis-".concat(animationTrajectory),
|
@@ -33271,7 +33274,7 @@ var AreaChart = function AreaChart(props) {
|
|
33271
33274
|
applyPositionStyle: true,
|
33272
33275
|
renderTooltip: function renderTooltip(params) {
|
33273
33276
|
return (0,_util__WEBPACK_IMPORTED_MODULE_2__.flexRender)(tooltipContent, _objectSpread({
|
33274
|
-
Glyph:
|
33277
|
+
Glyph: _glyph__WEBPACK_IMPORTED_MODULE_6__.Glyph,
|
33275
33278
|
data: data,
|
33276
33279
|
formatTick: xAxis.formatTick,
|
33277
33280
|
formatValue: formatValue,
|
@@ -33282,7 +33285,7 @@ var AreaChart = function AreaChart(props) {
|
|
33282
33285
|
};
|
33283
33286
|
AreaChart.displayName = 'AreaChart';
|
33284
33287
|
var Area = function Area(props) {
|
33285
|
-
var _splitProps = (0,
|
33288
|
+
var _splitProps = (0,_split_props__WEBPACK_IMPORTED_MODULE_7__.splitProps)(props, 'animated', 'showGridRows', 'showGridColumns', 'numTicks', 'xAxis', 'yAxis', 'formatValue', 'margin', 'stacked', 'showTooltip', 'tooltipContent', 'curveType', 'onPointerMove', 'onPointerOut', 'onPointerUp', 'onPointerDown', 'pointerEventsDataKey', 'children'),
|
33286
33289
|
_splitProps2 = _slicedToArray(_splitProps, 2),
|
33287
33290
|
chartProps = _splitProps2[0],
|
33288
33291
|
restProps = _splitProps2[1];
|
@@ -33335,6 +33338,7 @@ Area.propTypes = {
|
|
33335
33338
|
stacked: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().bool),
|
33336
33339
|
showTooltip: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().bool),
|
33337
33340
|
tooltipContent: prop_types__WEBPACK_IMPORTED_MODULE_1___default().oneOfType([(prop_types__WEBPACK_IMPORTED_MODULE_1___default().element), (prop_types__WEBPACK_IMPORTED_MODULE_1___default().func)]),
|
33341
|
+
curveType: prop_types__WEBPACK_IMPORTED_MODULE_1___default().oneOf(['basis', 'basisClosed', 'basisOpen', 'step', 'stepAfter', 'stepBefore', 'bundle', 'linear', 'linearClosed', 'cardinal', 'cardinalClosed', 'cardinalOpen', 'catmullRom', 'catmullRomClosed', 'catmullRomOpen', 'monotoneX', 'monotoneY', 'natural']),
|
33338
33342
|
onPointerMove: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().func),
|
33339
33343
|
onPointerOut: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().func),
|
33340
33344
|
onPointerUp: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().func),
|
@@ -34063,14 +34067,14 @@ var ErrorBoundary = /*#__PURE__*/function (_React$Component) {
|
|
34063
34067
|
align_items: "center",
|
34064
34068
|
justify_content: "center",
|
34065
34069
|
gap: _theme__WEBPACK_IMPORTED_MODULE_4__["default"].spacing['04']
|
34066
|
-
}, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(_icon__WEBPACK_IMPORTED_MODULE_1__
|
34070
|
+
}, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(_icon__WEBPACK_IMPORTED_MODULE_1__.Icon, {
|
34067
34071
|
name: "Warning",
|
34068
34072
|
color: "red_11",
|
34069
34073
|
size: "md"
|
34070
34074
|
}), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(_typography__WEBPACK_IMPORTED_MODULE_5__.Label, {
|
34071
34075
|
variant: "sm",
|
34072
34076
|
color: "gray_11"
|
34073
|
-
}, "Unable to load chart"), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(_link__WEBPACK_IMPORTED_MODULE_3__
|
34077
|
+
}, "Unable to load chart"), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(_link__WEBPACK_IMPORTED_MODULE_3__.Link, {
|
34074
34078
|
as: "button",
|
34075
34079
|
text: "Reload",
|
34076
34080
|
onClick: this.reload
|
@@ -34669,7 +34673,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
34669
34673
|
|
34670
34674
|
|
34671
34675
|
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__
|
34676
|
+
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
34677
|
name: "Loading",
|
34674
34678
|
color: "blue_11",
|
34675
34679
|
size: "md"
|
@@ -34713,7 +34717,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
34713
34717
|
|
34714
34718
|
|
34715
34719
|
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__
|
34720
|
+
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
34721
|
name: "Graph",
|
34718
34722
|
color: "gray_9",
|
34719
34723
|
size: "md"
|
@@ -35064,7 +35068,7 @@ var useChartTheme = function useChartTheme(palette) {
|
|
35064
35068
|
"use strict";
|
35065
35069
|
__webpack_require__.r(__webpack_exports__);
|
35066
35070
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
35067
|
-
/* harmony export */
|
35071
|
+
/* harmony export */ Code: () => (/* binding */ Code)
|
35068
35072
|
/* harmony export */ });
|
35069
35073
|
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ "react");
|
35070
35074
|
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);
|
@@ -35178,7 +35182,6 @@ var CodeWrapper = styled_components__WEBPACK_IMPORTED_MODULE_19___default().pre.
|
|
35178
35182
|
}
|
35179
35183
|
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
35184
|
});
|
35181
|
-
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (Code);
|
35182
35185
|
|
35183
35186
|
/***/ }),
|
35184
35187
|
|
@@ -35191,7 +35194,7 @@ var CodeWrapper = styled_components__WEBPACK_IMPORTED_MODULE_19___default().pre.
|
|
35191
35194
|
"use strict";
|
35192
35195
|
__webpack_require__.r(__webpack_exports__);
|
35193
35196
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
35194
|
-
/* harmony export */
|
35197
|
+
/* harmony export */ CodeBlock: () => (/* binding */ CodeBlock)
|
35195
35198
|
/* harmony export */ });
|
35196
35199
|
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ "react");
|
35197
35200
|
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);
|
@@ -35227,7 +35230,7 @@ var CodeBlock = function CodeBlock(props) {
|
|
35227
35230
|
"data-testid": "code_block"
|
35228
35231
|
}, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(CodeBlockHeader, {
|
35229
35232
|
$theme: themeProp
|
35230
|
-
}, header), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(_code_snippet__WEBPACK_IMPORTED_MODULE_5__
|
35233
|
+
}, header), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(_code_snippet__WEBPACK_IMPORTED_MODULE_5__.CodeSnippet, {
|
35231
35234
|
max_height: max_height,
|
35232
35235
|
lang: lang,
|
35233
35236
|
code: code,
|
@@ -35268,7 +35271,6 @@ var CodeBlockHeader = styled_components__WEBPACK_IMPORTED_MODULE_1___default()(_
|
|
35268
35271
|
}
|
35269
35272
|
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
35273
|
});
|
35271
|
-
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (CodeBlock);
|
35272
35274
|
|
35273
35275
|
/***/ }),
|
35274
35276
|
|
@@ -35281,7 +35283,7 @@ var CodeBlockHeader = styled_components__WEBPACK_IMPORTED_MODULE_1___default()(_
|
|
35281
35283
|
"use strict";
|
35282
35284
|
__webpack_require__.r(__webpack_exports__);
|
35283
35285
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
35284
|
-
/* harmony export */
|
35286
|
+
/* harmony export */ CodeSnippet: () => (/* binding */ CodeSnippet)
|
35285
35287
|
/* harmony export */ });
|
35286
35288
|
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ "react");
|
35287
35289
|
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);
|
@@ -35322,18 +35324,18 @@ var CodeSnippet = /*#__PURE__*/(0,react__WEBPACK_IMPORTED_MODULE_0__.forwardRef)
|
|
35322
35324
|
className: className,
|
35323
35325
|
max_height: max_height,
|
35324
35326
|
$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__
|
35327
|
+
}, !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
35328
|
ref: codeRef,
|
35327
35329
|
lang: lang,
|
35328
35330
|
text: code,
|
35329
35331
|
theme: themeProp,
|
35330
35332
|
lineNumbers: lineNumbers
|
35331
|
-
}), !!copyButton && /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(_copy_button__WEBPACK_IMPORTED_MODULE_6__
|
35333
|
+
}), !!copyButton && /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(_copy_button__WEBPACK_IMPORTED_MODULE_6__.CopyButton, {
|
35332
35334
|
code: code,
|
35333
35335
|
theme: themeProp,
|
35334
35336
|
codeRef: codeRef,
|
35335
35337
|
onCopy: onCopy
|
35336
|
-
})), !!loading && /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(_skeleton__WEBPACK_IMPORTED_MODULE_7__
|
35338
|
+
})), !!loading && /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(_skeleton__WEBPACK_IMPORTED_MODULE_7__.Skeleton, {
|
35337
35339
|
theme: themeProp
|
35338
35340
|
}));
|
35339
35341
|
});
|
@@ -35366,7 +35368,6 @@ var CodeBlockBody = styled_components__WEBPACK_IMPORTED_MODULE_1___default()(_la
|
|
35366
35368
|
}, function (props) {
|
35367
35369
|
return _theme__WEBPACK_IMPORTED_MODULE_3__["default"].color[props.$theme == 'white' ? 'gray_8' : 'gray_10'];
|
35368
35370
|
});
|
35369
|
-
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (CodeSnippet);
|
35370
35371
|
|
35371
35372
|
/***/ }),
|
35372
35373
|
|
@@ -35379,7 +35380,7 @@ var CodeBlockBody = styled_components__WEBPACK_IMPORTED_MODULE_1___default()(_la
|
|
35379
35380
|
"use strict";
|
35380
35381
|
__webpack_require__.r(__webpack_exports__);
|
35381
35382
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
35382
|
-
/* harmony export */
|
35383
|
+
/* harmony export */ CopyButton: () => (/* binding */ CopyButton)
|
35383
35384
|
/* harmony export */ });
|
35384
35385
|
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ "react");
|
35385
35386
|
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);
|
@@ -35510,7 +35511,6 @@ function selectElementText(element) {
|
|
35510
35511
|
// https://stackoverflow.com/a/20079910/7595472
|
35511
35512
|
window.getSelection().selectAllChildren(element);
|
35512
35513
|
}
|
35513
|
-
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (CopyButton);
|
35514
35514
|
|
35515
35515
|
/***/ }),
|
35516
35516
|
|
@@ -35523,9 +35523,9 @@ function selectElementText(element) {
|
|
35523
35523
|
"use strict";
|
35524
35524
|
__webpack_require__.r(__webpack_exports__);
|
35525
35525
|
/* 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__
|
35526
|
+
/* harmony export */ Code: () => (/* reexport safe */ _code__WEBPACK_IMPORTED_MODULE_0__.Code),
|
35527
|
+
/* harmony export */ CodeBlock: () => (/* reexport safe */ _code_block__WEBPACK_IMPORTED_MODULE_1__.CodeBlock),
|
35528
|
+
/* harmony export */ CodeSnippet: () => (/* reexport safe */ _code_snippet__WEBPACK_IMPORTED_MODULE_2__.CodeSnippet)
|
35529
35529
|
/* harmony export */ });
|
35530
35530
|
/* harmony import */ var _code__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./code */ "./src/code/code.js");
|
35531
35531
|
/* harmony import */ var _code_block__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./code_block */ "./src/code/code_block.js");
|
@@ -35538,7 +35538,6 @@ __webpack_require__.r(__webpack_exports__);
|
|
35538
35538
|
|
35539
35539
|
|
35540
35540
|
|
35541
|
-
|
35542
35541
|
/***/ }),
|
35543
35542
|
|
35544
35543
|
/***/ "./src/code/skeleton.js":
|
@@ -35550,7 +35549,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
35550
35549
|
"use strict";
|
35551
35550
|
__webpack_require__.r(__webpack_exports__);
|
35552
35551
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
35553
|
-
/* harmony export */
|
35552
|
+
/* harmony export */ Skeleton: () => (/* binding */ Skeleton)
|
35554
35553
|
/* harmony export */ });
|
35555
35554
|
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ "react");
|
35556
35555
|
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);
|
@@ -35598,7 +35597,7 @@ var Skeleton = function Skeleton(props) {
|
|
35598
35597
|
var StyledSkeleton = styled_components__WEBPACK_IMPORTED_MODULE_1___default().div.withConfig({
|
35599
35598
|
displayName: "StyledSkeleton",
|
35600
35599
|
componentId: "sc-1v7xkdy-0"
|
35601
|
-
})(["flex:1;display:flex;flex-wrap:wrap;column-gap:16px;row-gap:12px;
|
35600
|
+
})(["flex:1;display:flex;flex-wrap:wrap;column-gap:16px;row-gap:12px;"]);
|
35602
35601
|
var SkeletonBox = styled_components__WEBPACK_IMPORTED_MODULE_1___default().span.withConfig({
|
35603
35602
|
displayName: "SkeletonBox",
|
35604
35603
|
componentId: "sc-1v7xkdy-1"
|
@@ -35609,7 +35608,6 @@ var SkeletonBox = styled_components__WEBPACK_IMPORTED_MODULE_1___default().span.
|
|
35609
35608
|
}, function (props) {
|
35610
35609
|
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
35610
|
});
|
35612
|
-
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (Skeleton);
|
35613
35611
|
|
35614
35612
|
/***/ }),
|
35615
35613
|
|
@@ -35685,7 +35683,7 @@ var ComboButton = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().forw
|
|
35685
35683
|
disabled: disabled,
|
35686
35684
|
onClick: onClick,
|
35687
35685
|
"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__
|
35686
|
+
}, /*#__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
35687
|
variant: size == 'xs' ? 'sm' : 'lg',
|
35690
35688
|
no_wrap: true,
|
35691
35689
|
"data-label": true
|
@@ -35724,7 +35722,7 @@ var ArrowIcon = function ArrowIcon(props) {
|
|
35724
35722
|
onClick: popover.toggle
|
35725
35723
|
}, rest, {
|
35726
35724
|
"data-testid": "combo_button_menu_button"
|
35727
|
-
}), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(_icon__WEBPACK_IMPORTED_MODULE_4__
|
35725
|
+
}), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(_icon__WEBPACK_IMPORTED_MODULE_4__.Icon, {
|
35728
35726
|
name: "ChevronDown",
|
35729
35727
|
size: "xs"
|
35730
35728
|
}));
|
@@ -35832,54 +35830,56 @@ __webpack_require__.r(__webpack_exports__);
|
|
35832
35830
|
/* harmony export */ Badge: () => (/* reexport safe */ _badge__WEBPACK_IMPORTED_MODULE_0__["default"]),
|
35833
35831
|
/* harmony export */ Button: () => (/* reexport safe */ _button__WEBPACK_IMPORTED_MODULE_1__["default"]),
|
35834
35832
|
/* 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 */
|
35833
|
+
/* harmony export */ ClickableTag: () => (/* reexport safe */ _tag__WEBPACK_IMPORTED_MODULE_21__.ClickableTag),
|
35834
|
+
/* harmony export */ Code: () => (/* reexport safe */ _code__WEBPACK_IMPORTED_MODULE_15__.Code),
|
35835
|
+
/* harmony export */ CodeBlock: () => (/* reexport safe */ _code__WEBPACK_IMPORTED_MODULE_15__.CodeBlock),
|
35836
|
+
/* harmony export */ CodeSnippet: () => (/* reexport safe */ _code__WEBPACK_IMPORTED_MODULE_15__.CodeSnippet),
|
35839
35837
|
/* 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 */
|
35838
|
+
/* harmony export */ Icon: () => (/* reexport safe */ _icon__WEBPACK_IMPORTED_MODULE_17__.Icon),
|
35839
|
+
/* harmony export */ IconButton: () => (/* reexport safe */ _icon_button__WEBPACK_IMPORTED_MODULE_4__["default"]),
|
35840
|
+
/* harmony export */ InfoChip: () => (/* reexport safe */ _infochip__WEBPACK_IMPORTED_MODULE_5__["default"]),
|
35841
|
+
/* harmony export */ Input: () => (/* reexport module object */ _input__WEBPACK_IMPORTED_MODULE_6__),
|
35842
|
+
/* harmony export */ Layout: () => (/* reexport module object */ _layout__WEBPACK_IMPORTED_MODULE_7__),
|
35843
|
+
/* harmony export */ Link: () => (/* reexport safe */ _link__WEBPACK_IMPORTED_MODULE_18__.Link),
|
35844
|
+
/* harmony export */ Menu: () => (/* reexport safe */ _menu__WEBPACK_IMPORTED_MODULE_8__["default"]),
|
35845
|
+
/* harmony export */ Modal: () => (/* reexport module object */ _modal__WEBPACK_IMPORTED_MODULE_9__),
|
35848
35846
|
/* harmony export */ Progress: () => (/* reexport safe */ _progress__WEBPACK_IMPORTED_MODULE_19__.Progress),
|
35849
35847
|
/* 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 */
|
35848
|
+
/* harmony export */ RemovableTag: () => (/* reexport safe */ _tag__WEBPACK_IMPORTED_MODULE_21__.RemovableTag),
|
35849
|
+
/* harmony export */ Snackbar: () => (/* reexport safe */ _snackbar__WEBPACK_IMPORTED_MODULE_20__.Snackbar),
|
35850
|
+
/* harmony export */ Tab: () => (/* reexport safe */ _tab__WEBPACK_IMPORTED_MODULE_13__["default"]),
|
35851
|
+
/* harmony export */ Table: () => (/* reexport safe */ _table__WEBPACK_IMPORTED_MODULE_10__["default"]),
|
35852
|
+
/* harmony export */ TagGroup: () => (/* reexport safe */ _tag__WEBPACK_IMPORTED_MODULE_21__.TagGroup),
|
35853
|
+
/* harmony export */ Tooltip: () => (/* reexport safe */ _tooltip__WEBPACK_IMPORTED_MODULE_22__.Tooltip),
|
35854
|
+
/* harmony export */ Typography: () => (/* reexport module object */ _typography__WEBPACK_IMPORTED_MODULE_14__),
|
35855
|
+
/* harmony export */ theme: () => (/* reexport safe */ _theme__WEBPACK_IMPORTED_MODULE_11__["default"]),
|
35856
|
+
/* harmony export */ translation: () => (/* reexport safe */ _translation__WEBPACK_IMPORTED_MODULE_12__["default"]),
|
35857
|
+
/* harmony export */ withPopover: () => (/* reexport safe */ _hoc__WEBPACK_IMPORTED_MODULE_16__.withPopover),
|
35858
|
+
/* harmony export */ withTooltip: () => (/* reexport safe */ _tooltip__WEBPACK_IMPORTED_MODULE_22__.withTooltip)
|
35860
35859
|
/* harmony export */ });
|
35861
35860
|
/* harmony import */ var _badge__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./badge */ "./src/badge.js");
|
35862
35861
|
/* harmony import */ var _button__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./button */ "./src/button/index.js");
|
35863
35862
|
/* harmony import */ var _chart__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./chart */ "./src/chart/index.js");
|
35864
35863
|
/* 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
|
35864
|
+
/* harmony import */ var _icon_button__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./icon_button */ "./src/icon_button.js");
|
35865
|
+
/* harmony import */ var _infochip__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./infochip */ "./src/infochip.js");
|
35866
|
+
/* harmony import */ var _input__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./input */ "./src/input/index.js");
|
35867
|
+
/* harmony import */ var _layout__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./layout */ "./src/layout/index.js");
|
35868
|
+
/* harmony import */ var _menu__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ./menu */ "./src/menu/index.js");
|
35869
|
+
/* harmony import */ var _modal__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ./modal */ "./src/modal/index.js");
|
35870
|
+
/* harmony import */ var _table__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ./table */ "./src/table/index.js");
|
35871
|
+
/* harmony import */ var _theme__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ./theme */ "./src/theme.js");
|
35872
|
+
/* harmony import */ var _translation__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! ./translation */ "./src/translation.js");
|
35873
|
+
/* harmony import */ var _tab__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! ./tab */ "./src/tab/index.js");
|
35874
|
+
/* harmony import */ var _typography__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! ./typography */ "./src/typography/index.js");
|
35875
|
+
/* harmony import */ var _code__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! ./code */ "./src/code/index.js");
|
35876
|
+
/* harmony import */ var _hoc__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! ./hoc */ "./src/hoc/index.js");
|
35877
|
+
/* harmony import */ var _icon__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(/*! ./icon */ "./src/icon.js");
|
35878
|
+
/* harmony import */ var _link__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(/*! ./link */ "./src/link/index.js");
|
35880
35879
|
/* harmony import */ var _progress__WEBPACK_IMPORTED_MODULE_19__ = __webpack_require__(/*! ./progress */ "./src/progress/index.js");
|
35881
|
-
/* harmony import */ var
|
35882
|
-
/* harmony import */ var
|
35880
|
+
/* harmony import */ var _snackbar__WEBPACK_IMPORTED_MODULE_20__ = __webpack_require__(/*! ./snackbar */ "./src/snackbar/index.js");
|
35881
|
+
/* harmony import */ var _tag__WEBPACK_IMPORTED_MODULE_21__ = __webpack_require__(/*! ./tag */ "./src/tag/index.js");
|
35882
|
+
/* harmony import */ var _tooltip__WEBPACK_IMPORTED_MODULE_22__ = __webpack_require__(/*! ./tooltip */ "./src/tooltip.js");
|
35883
35883
|
// LICENSE_CODE ZON
|
35884
35884
|
|
35885
35885
|
|
@@ -35906,6 +35906,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
35906
35906
|
|
35907
35907
|
|
35908
35908
|
|
35909
|
+
|
35909
35910
|
|
35910
35911
|
|
35911
35912
|
/***/ }),
|
@@ -36419,7 +36420,7 @@ var useScroll = function useScroll(scrollTarget) {
|
|
36419
36420
|
"use strict";
|
36420
36421
|
__webpack_require__.r(__webpack_exports__);
|
36421
36422
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
36422
|
-
/* harmony export */
|
36423
|
+
/* harmony export */ Icon: () => (/* binding */ Icon)
|
36423
36424
|
/* harmony export */ });
|
36424
36425
|
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ "react");
|
36425
36426
|
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);
|
@@ -36482,7 +36483,6 @@ var StyledSvg = styled_components__WEBPACK_IMPORTED_MODULE_1___default().svg.wit
|
|
36482
36483
|
}, function (props) {
|
36483
36484
|
return props.$verticalAlign;
|
36484
36485
|
});
|
36485
|
-
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (Icon);
|
36486
36486
|
|
36487
36487
|
/***/ }),
|
36488
36488
|
|
@@ -36690,7 +36690,7 @@ var InfoChip = function InfoChip(props) {
|
|
36690
36690
|
var commonProps = (0,_util__WEBPACK_IMPORTED_MODULE_7__.getCommonProps)(props);
|
36691
36691
|
return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(InfoChipWrapper, _extends({
|
36692
36692
|
color: bgColor
|
36693
|
-
}, commonProps), icon && /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(_icon__WEBPACK_IMPORTED_MODULE_3__
|
36693
|
+
}, commonProps), icon && /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(_icon__WEBPACK_IMPORTED_MODULE_3__.Icon, {
|
36694
36694
|
size: "xxs",
|
36695
36695
|
color: color,
|
36696
36696
|
name: icon
|
@@ -37165,7 +37165,10 @@ var useStyles = function useStyles(_ref) {
|
|
37165
37165
|
size = _ref.size;
|
37166
37166
|
return (0,react__WEBPACK_IMPORTED_MODULE_0__.useMemo)(function () {
|
37167
37167
|
return (0,_util_with_user_styles__WEBPACK_IMPORTED_MODULE_4__.withUserStyles)(styles, {
|
37168
|
-
control: function control(baseStyles,
|
37168
|
+
control: function control(baseStyles, _ref2) {
|
37169
|
+
var isDisabled = _ref2.isDisabled,
|
37170
|
+
isFocused = _ref2.isFocused,
|
37171
|
+
selectProps = _ref2.selectProps;
|
37169
37172
|
var height = {
|
37170
37173
|
sm: 36,
|
37171
37174
|
md: 40,
|
@@ -37175,12 +37178,12 @@ var useStyles = function useStyles(_ref) {
|
|
37175
37178
|
var color = _theme__WEBPACK_IMPORTED_MODULE_1__["default"].color.gray_11_50;
|
37176
37179
|
var backgroundColor = _theme__WEBPACK_IMPORTED_MODULE_1__["default"].color.white;
|
37177
37180
|
var cursor = 'text';
|
37178
|
-
if (
|
37181
|
+
if (isDisabled) {
|
37179
37182
|
color = _theme__WEBPACK_IMPORTED_MODULE_1__["default"].color.gray_9;
|
37180
37183
|
borderColor = _theme__WEBPACK_IMPORTED_MODULE_1__["default"].color.gray_6;
|
37181
37184
|
backgroundColor = _theme__WEBPACK_IMPORTED_MODULE_1__["default"].color.gray_2;
|
37182
37185
|
cursor = 'default';
|
37183
|
-
} else if (
|
37186
|
+
} 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
37187
|
return _objectSpread(_objectSpread(_objectSpread({}, baseStyles), LabelSm), {}, {
|
37185
37188
|
minHeight: (0,_utils__WEBPACK_IMPORTED_MODULE_2__.toPixel)(height[size] || height.sm),
|
37186
37189
|
padding: "".concat(_shared__WEBPACK_IMPORTED_MODULE_3__.inputVerticalPadding, "px ").concat(_shared__WEBPACK_IMPORTED_MODULE_3__.inputHorizontalPadding, "px"),
|
@@ -37240,14 +37243,19 @@ var useStyles = function useStyles(_ref) {
|
|
37240
37243
|
textTransform: undefined
|
37241
37244
|
});
|
37242
37245
|
},
|
37243
|
-
option: function option(baseStyles,
|
37246
|
+
option: function option(baseStyles, _ref3) {
|
37247
|
+
var isFocused = _ref3.isFocused,
|
37248
|
+
isDisabled = _ref3.isDisabled;
|
37244
37249
|
return _objectSpread(_objectSpread(_objectSpread({}, baseStyles), LabelSm), {}, {
|
37245
37250
|
display: 'flex',
|
37246
37251
|
alignItems: 'center',
|
37247
37252
|
gap: '8px',
|
37248
37253
|
height: '40px',
|
37249
|
-
backgroundColor:
|
37250
|
-
color:
|
37254
|
+
backgroundColor: isFocused ? _theme__WEBPACK_IMPORTED_MODULE_1__["default"].color.gray_2 : undefined,
|
37255
|
+
color: isDisabled ? _theme__WEBPACK_IMPORTED_MODULE_1__["default"].color.gray_9 : _theme__WEBPACK_IMPORTED_MODULE_1__["default"].color.gray_11_50,
|
37256
|
+
'&:hover': {
|
37257
|
+
backgroundColor: _theme__WEBPACK_IMPORTED_MODULE_1__["default"].color.gray_2
|
37258
|
+
}
|
37251
37259
|
});
|
37252
37260
|
},
|
37253
37261
|
multiValue: function multiValue(baseStyles) {
|
@@ -39166,7 +39174,7 @@ var InputLabel = function InputLabel(props) {
|
|
39166
39174
|
id: id,
|
39167
39175
|
variant: variant,
|
39168
39176
|
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__
|
39177
|
+
}, 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
39178
|
className: (0,_util__WEBPACK_IMPORTED_MODULE_9__.classNames)(classNamePrefix, {
|
39171
39179
|
labelIcon: true
|
39172
39180
|
}),
|
@@ -39789,7 +39797,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
39789
39797
|
"use strict";
|
39790
39798
|
__webpack_require__.r(__webpack_exports__);
|
39791
39799
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
39792
|
-
/* harmony export */
|
39800
|
+
/* harmony export */ Link: () => (/* reexport safe */ _link__WEBPACK_IMPORTED_MODULE_0__.Link)
|
39793
39801
|
/* harmony export */ });
|
39794
39802
|
/* harmony import */ var _link__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./link */ "./src/link/link.js");
|
39795
39803
|
// LICENSE_CODE ZON
|
@@ -39797,7 +39805,52 @@ __webpack_require__.r(__webpack_exports__);
|
|
39797
39805
|
|
39798
39806
|
/*jslint react:true*/
|
39799
39807
|
|
39800
|
-
|
39808
|
+
|
39809
|
+
/***/ }),
|
39810
|
+
|
39811
|
+
/***/ "./src/link/inline_link.js":
|
39812
|
+
/*!*********************************!*\
|
39813
|
+
!*** ./src/link/inline_link.js ***!
|
39814
|
+
\*********************************/
|
39815
|
+
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
39816
|
+
|
39817
|
+
"use strict";
|
39818
|
+
__webpack_require__.r(__webpack_exports__);
|
39819
|
+
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
39820
|
+
/* harmony export */ InlineLink: () => (/* binding */ InlineLink)
|
39821
|
+
/* harmony export */ });
|
39822
|
+
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ "react");
|
39823
|
+
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);
|
39824
|
+
/* harmony import */ var styled_components__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! styled-components */ "styled-components");
|
39825
|
+
/* harmony import */ var styled_components__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(styled_components__WEBPACK_IMPORTED_MODULE_1__);
|
39826
|
+
/* harmony import */ var _util__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../util */ "./src/util/index.js");
|
39827
|
+
/* harmony import */ var _utils__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../utils */ "./src/utils.js");
|
39828
|
+
// LICENSE_CODE ZON
|
39829
|
+
|
39830
|
+
|
39831
|
+
/*jslint react:true*/
|
39832
|
+
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); }
|
39833
|
+
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); }
|
39834
|
+
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; }
|
39835
|
+
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; }
|
39836
|
+
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; }
|
39837
|
+
function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
|
39838
|
+
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); }
|
39839
|
+
|
39840
|
+
|
39841
|
+
|
39842
|
+
|
39843
|
+
var InlineLink = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().forwardRef(function (props, ref) {
|
39844
|
+
var linkProps = _objectSpread(_objectSpread({}, (0,_util__WEBPACK_IMPORTED_MODULE_2__.getCommonProps)(props)), (0,_utils__WEBPACK_IMPORTED_MODULE_3__.getLinkProps)(props));
|
39845
|
+
return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(StyledLink, _extends({
|
39846
|
+
ref: ref
|
39847
|
+
}, linkProps), props.children);
|
39848
|
+
});
|
39849
|
+
InlineLink.displayName = 'InlineLink';
|
39850
|
+
var StyledLink = styled_components__WEBPACK_IMPORTED_MODULE_1___default().a.withConfig({
|
39851
|
+
displayName: "StyledLink",
|
39852
|
+
componentId: "sc-2k0eac-0"
|
39853
|
+
})(["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
39854
|
|
39802
39855
|
/***/ }),
|
39803
39856
|
|
@@ -39810,6 +39863,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
39810
39863
|
"use strict";
|
39811
39864
|
__webpack_require__.r(__webpack_exports__);
|
39812
39865
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
39866
|
+
/* harmony export */ Link: () => (/* binding */ Link),
|
39813
39867
|
/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
|
39814
39868
|
/* harmony export */ });
|
39815
39869
|
/* harmony import */ var lodash_omit__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! lodash/omit */ "./node_modules/lodash/omit.js");
|
@@ -39824,6 +39878,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
39824
39878
|
/* harmony import */ var _theme__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../theme */ "./src/theme.js");
|
39825
39879
|
/* harmony import */ var _typography__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../typography */ "./src/typography/index.js");
|
39826
39880
|
/* harmony import */ var _utils__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../utils */ "./src/utils.js");
|
39881
|
+
/* harmony import */ var _inline_link__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ./inline_link */ "./src/link/inline_link.js");
|
39827
39882
|
// LICENSE_CODE ZON
|
39828
39883
|
|
39829
39884
|
|
@@ -39841,6 +39896,7 @@ function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) r
|
|
39841
39896
|
|
39842
39897
|
|
39843
39898
|
|
39899
|
+
|
39844
39900
|
var Link = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2___default().forwardRef(function (props, ref) {
|
39845
39901
|
var text = props.text,
|
39846
39902
|
variant = props.variant,
|
@@ -39848,7 +39904,7 @@ var Link = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2___default().forwardRef(
|
|
39848
39904
|
icon = props.icon,
|
39849
39905
|
rest = _objectWithoutProperties(props, _excluded);
|
39850
39906
|
if (variant == 'inline') {
|
39851
|
-
return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2___default().createElement(InlineLink, _extends({
|
39907
|
+
return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2___default().createElement(_inline_link__WEBPACK_IMPORTED_MODULE_8__.InlineLink, _extends({
|
39852
39908
|
ref: ref
|
39853
39909
|
}, rest, (0,_utils__WEBPACK_IMPORTED_MODULE_7__.getLinkProps)(props)), text);
|
39854
39910
|
}
|
@@ -39866,11 +39922,11 @@ var Link = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2___default().forwardRef(
|
|
39866
39922
|
$variant: variant,
|
39867
39923
|
$size: size,
|
39868
39924
|
$noIcon: !icon
|
39869
|
-
}), isLeft && /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2___default().createElement(_icon__WEBPACK_IMPORTED_MODULE_4__
|
39925
|
+
}), 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
39926
|
variant: labelVariant,
|
39871
39927
|
no_wrap: true,
|
39872
39928
|
"data-label": true
|
39873
|
-
}, text), isRight && /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2___default().createElement(_icon__WEBPACK_IMPORTED_MODULE_4__
|
39929
|
+
}, text), isRight && /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2___default().createElement(_icon__WEBPACK_IMPORTED_MODULE_4__.Icon, iconProps));
|
39874
39930
|
});
|
39875
39931
|
Link.displayName = 'Link';
|
39876
39932
|
Link.defaultProps = {
|
@@ -39887,14 +39943,9 @@ Link.propTypes = {
|
|
39887
39943
|
href: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().string),
|
39888
39944
|
newTab: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().bool)
|
39889
39945
|
};
|
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
39946
|
var StyledLink = styled_components__WEBPACK_IMPORTED_MODULE_3___default().a.withConfig({
|
39896
39947
|
displayName: "StyledLink",
|
39897
|
-
componentId: "sc-1ilmd36-
|
39948
|
+
componentId: "sc-1ilmd36-0"
|
39898
39949
|
})(["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
39950
|
return (0,_utils__WEBPACK_IMPORTED_MODULE_7__.toPixel)(props.$size == 'lg' ? 8 : 4);
|
39900
39951
|
}, function (props) {
|
@@ -40096,7 +40147,7 @@ var MenuItem = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2___default().forward
|
|
40096
40147
|
size: size,
|
40097
40148
|
role: "button",
|
40098
40149
|
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__
|
40150
|
+
}), /*#__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
40151
|
color: iconColor
|
40101
40152
|
})), /*#__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
40153
|
$size: size,
|
@@ -40201,7 +40252,7 @@ var SecondaryIcon = function SecondaryIcon(props) {
|
|
40201
40252
|
return null;
|
40202
40253
|
};
|
40203
40254
|
SecondaryIcon.displayName = 'SecondaryIcon';
|
40204
|
-
var RightIcon = styled_components__WEBPACK_IMPORTED_MODULE_3___default()(_icon__WEBPACK_IMPORTED_MODULE_5__
|
40255
|
+
var RightIcon = styled_components__WEBPACK_IMPORTED_MODULE_3___default()(_icon__WEBPACK_IMPORTED_MODULE_5__.Icon).attrs({
|
40205
40256
|
size: 'xs'
|
40206
40257
|
}).withConfig({
|
40207
40258
|
displayName: "RightIcon",
|
@@ -41029,6 +41080,244 @@ ProgressBar.propTypes = {
|
|
41029
41080
|
|
41030
41081
|
/***/ }),
|
41031
41082
|
|
41083
|
+
/***/ "./src/snackbar/index.js":
|
41084
|
+
/*!*******************************!*\
|
41085
|
+
!*** ./src/snackbar/index.js ***!
|
41086
|
+
\*******************************/
|
41087
|
+
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
41088
|
+
|
41089
|
+
"use strict";
|
41090
|
+
__webpack_require__.r(__webpack_exports__);
|
41091
|
+
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
41092
|
+
/* harmony export */ Snackbar: () => (/* reexport safe */ _snackbar__WEBPACK_IMPORTED_MODULE_0__.Snackbar)
|
41093
|
+
/* harmony export */ });
|
41094
|
+
/* harmony import */ var _snackbar__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./snackbar */ "./src/snackbar/snackbar.js");
|
41095
|
+
// LICENSE_CODE ZON
|
41096
|
+
|
41097
|
+
|
41098
|
+
/*jslint react:true*/
|
41099
|
+
|
41100
|
+
|
41101
|
+
/***/ }),
|
41102
|
+
|
41103
|
+
/***/ "./src/snackbar/snackbar.js":
|
41104
|
+
/*!**********************************!*\
|
41105
|
+
!*** ./src/snackbar/snackbar.js ***!
|
41106
|
+
\**********************************/
|
41107
|
+
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
41108
|
+
|
41109
|
+
"use strict";
|
41110
|
+
__webpack_require__.r(__webpack_exports__);
|
41111
|
+
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
41112
|
+
/* harmony export */ Snackbar: () => (/* binding */ Snackbar)
|
41113
|
+
/* harmony export */ });
|
41114
|
+
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! prop-types */ "prop-types");
|
41115
|
+
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_0__);
|
41116
|
+
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react */ "react");
|
41117
|
+
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_1__);
|
41118
|
+
/* harmony import */ var styled_components__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! styled-components */ "styled-components");
|
41119
|
+
/* harmony import */ var styled_components__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(styled_components__WEBPACK_IMPORTED_MODULE_2__);
|
41120
|
+
/* harmony import */ var _util__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../util */ "./src/util/index.js");
|
41121
|
+
/* harmony import */ var _theme__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../theme */ "./src/theme.js");
|
41122
|
+
/* harmony import */ var _snackbar_action__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./snackbar_action */ "./src/snackbar/snackbar_action.js");
|
41123
|
+
/* harmony import */ var _snackbar_content__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./snackbar_content */ "./src/snackbar/snackbar_content.js");
|
41124
|
+
/* harmony import */ var _snackbar_icon__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./snackbar_icon */ "./src/snackbar/snackbar_icon.js");
|
41125
|
+
// LICENSE_CODE ZON
|
41126
|
+
|
41127
|
+
|
41128
|
+
/*jslint react:true*/
|
41129
|
+
var _excluded = ["variant", "type", "showIcon", "header", "children", "action"];
|
41130
|
+
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); }
|
41131
|
+
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; }
|
41132
|
+
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; }
|
41133
|
+
|
41134
|
+
|
41135
|
+
|
41136
|
+
|
41137
|
+
|
41138
|
+
|
41139
|
+
|
41140
|
+
|
41141
|
+
var color = _theme__WEBPACK_IMPORTED_MODULE_4__["default"].color;
|
41142
|
+
var Snackbar = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().forwardRef(function (props, ref) {
|
41143
|
+
var variant = props.variant,
|
41144
|
+
type = props.type,
|
41145
|
+
showIcon = props.showIcon,
|
41146
|
+
header = props.header,
|
41147
|
+
children = props.children,
|
41148
|
+
action = props.action,
|
41149
|
+
rest = _objectWithoutProperties(props, _excluded);
|
41150
|
+
return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(Wrapper, _extends({
|
41151
|
+
ref: ref,
|
41152
|
+
$type: type
|
41153
|
+
}, (0,_util__WEBPACK_IMPORTED_MODULE_3__.getCommonProps)(rest)), !!showIcon && /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(_snackbar_icon__WEBPACK_IMPORTED_MODULE_7__.SnackbarIcon, {
|
41154
|
+
type: type
|
41155
|
+
}), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(Container, {
|
41156
|
+
$variant: variant
|
41157
|
+
}, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(_snackbar_content__WEBPACK_IMPORTED_MODULE_6__.SnackbarContent, {
|
41158
|
+
header: header
|
41159
|
+
}, children), !!action && /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(_snackbar_action__WEBPACK_IMPORTED_MODULE_5__.SnackbarAction, action)));
|
41160
|
+
});
|
41161
|
+
Snackbar.displayName = 'Snackbar';
|
41162
|
+
Snackbar.defaultProps = {
|
41163
|
+
variant: 'vertical',
|
41164
|
+
type: 'info'
|
41165
|
+
};
|
41166
|
+
Snackbar.propTypes = {
|
41167
|
+
variant: prop_types__WEBPACK_IMPORTED_MODULE_0___default().oneOf(['vertical', 'horizontal']),
|
41168
|
+
type: prop_types__WEBPACK_IMPORTED_MODULE_0___default().oneOf(['info', 'success', 'error', 'warning', 'generic']),
|
41169
|
+
header: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().node),
|
41170
|
+
showIcon: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().bool),
|
41171
|
+
action: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().object)
|
41172
|
+
};
|
41173
|
+
var Wrapper = styled_components__WEBPACK_IMPORTED_MODULE_2___default().div.withConfig({
|
41174
|
+
displayName: "Wrapper",
|
41175
|
+
componentId: "sc-6ku6mu-0"
|
41176
|
+
})(["display:flex;flex-direction:row;justify-content:center;align-items:flex-start;padding:16px;gap:16px;border-radius:4px;background-color:", ";"], function (props) {
|
41177
|
+
return {
|
41178
|
+
info: color.blue_3,
|
41179
|
+
success: color.green_3,
|
41180
|
+
error: color.red_3,
|
41181
|
+
warning: color.yellow_3,
|
41182
|
+
generic: color.gray_3
|
41183
|
+
}[props.$type] || color.blue_3;
|
41184
|
+
});
|
41185
|
+
var Container = styled_components__WEBPACK_IMPORTED_MODULE_2___default().div.withConfig({
|
41186
|
+
displayName: "Container",
|
41187
|
+
componentId: "sc-6ku6mu-1"
|
41188
|
+
})(["display:flex;flex-direction:", ";justify-content:center;align-items:flex-start;gap:16px;"], function (props) {
|
41189
|
+
return props.$variant == 'horizontal' ? 'row' : 'column';
|
41190
|
+
});
|
41191
|
+
|
41192
|
+
/***/ }),
|
41193
|
+
|
41194
|
+
/***/ "./src/snackbar/snackbar_action.js":
|
41195
|
+
/*!*****************************************!*\
|
41196
|
+
!*** ./src/snackbar/snackbar_action.js ***!
|
41197
|
+
\*****************************************/
|
41198
|
+
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
41199
|
+
|
41200
|
+
"use strict";
|
41201
|
+
__webpack_require__.r(__webpack_exports__);
|
41202
|
+
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
41203
|
+
/* harmony export */ SnackbarAction: () => (/* binding */ SnackbarAction)
|
41204
|
+
/* harmony export */ });
|
41205
|
+
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ "react");
|
41206
|
+
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);
|
41207
|
+
/* harmony import */ var _button__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../button */ "./src/button/index.js");
|
41208
|
+
/* harmony import */ var _link__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../link */ "./src/link/index.js");
|
41209
|
+
// LICENSE_CODE ZON
|
41210
|
+
|
41211
|
+
|
41212
|
+
/*jslint react:true*/
|
41213
|
+
var _excluded = ["isLink"];
|
41214
|
+
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); }
|
41215
|
+
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; }
|
41216
|
+
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; }
|
41217
|
+
|
41218
|
+
|
41219
|
+
|
41220
|
+
var SnackbarAction = function SnackbarAction(props) {
|
41221
|
+
var isLink = props.isLink,
|
41222
|
+
rest = _objectWithoutProperties(props, _excluded);
|
41223
|
+
if (isLink) return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(_link__WEBPACK_IMPORTED_MODULE_2__.Link, _extends({
|
41224
|
+
variant: "secondary"
|
41225
|
+
}, rest, {
|
41226
|
+
size: "md"
|
41227
|
+
}));
|
41228
|
+
return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(_button__WEBPACK_IMPORTED_MODULE_1__["default"], _extends({}, rest, {
|
41229
|
+
size: "sm"
|
41230
|
+
}));
|
41231
|
+
};
|
41232
|
+
|
41233
|
+
/***/ }),
|
41234
|
+
|
41235
|
+
/***/ "./src/snackbar/snackbar_content.js":
|
41236
|
+
/*!******************************************!*\
|
41237
|
+
!*** ./src/snackbar/snackbar_content.js ***!
|
41238
|
+
\******************************************/
|
41239
|
+
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
41240
|
+
|
41241
|
+
"use strict";
|
41242
|
+
__webpack_require__.r(__webpack_exports__);
|
41243
|
+
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
41244
|
+
/* harmony export */ SnackbarContent: () => (/* binding */ SnackbarContent)
|
41245
|
+
/* harmony export */ });
|
41246
|
+
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ "react");
|
41247
|
+
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);
|
41248
|
+
/* harmony import */ var styled_components__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! styled-components */ "styled-components");
|
41249
|
+
/* harmony import */ var styled_components__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(styled_components__WEBPACK_IMPORTED_MODULE_1__);
|
41250
|
+
/* harmony import */ var _typography__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../typography */ "./src/typography/index.js");
|
41251
|
+
// LICENSE_CODE ZON
|
41252
|
+
|
41253
|
+
|
41254
|
+
/*jslint react:true*/
|
41255
|
+
|
41256
|
+
|
41257
|
+
|
41258
|
+
var SnackbarContent = function SnackbarContent(props) {
|
41259
|
+
var header = props.header,
|
41260
|
+
children = props.children;
|
41261
|
+
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, {
|
41262
|
+
variant: "lg",
|
41263
|
+
color: "gray_11_50"
|
41264
|
+
}, header), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(_typography__WEBPACK_IMPORTED_MODULE_2__.Paragraph, {
|
41265
|
+
variant: "lg_snug",
|
41266
|
+
color: "gray_11_50"
|
41267
|
+
}, children));
|
41268
|
+
};
|
41269
|
+
var Container = styled_components__WEBPACK_IMPORTED_MODULE_1___default().div.withConfig({
|
41270
|
+
displayName: "Container",
|
41271
|
+
componentId: "sc-16h0vli-0"
|
41272
|
+
})(["display:flex;flex-direction:column;align-items:flex-start;gap:8px;"]);
|
41273
|
+
|
41274
|
+
/***/ }),
|
41275
|
+
|
41276
|
+
/***/ "./src/snackbar/snackbar_icon.js":
|
41277
|
+
/*!***************************************!*\
|
41278
|
+
!*** ./src/snackbar/snackbar_icon.js ***!
|
41279
|
+
\***************************************/
|
41280
|
+
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
41281
|
+
|
41282
|
+
"use strict";
|
41283
|
+
__webpack_require__.r(__webpack_exports__);
|
41284
|
+
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
41285
|
+
/* harmony export */ SnackbarIcon: () => (/* binding */ SnackbarIcon)
|
41286
|
+
/* harmony export */ });
|
41287
|
+
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ "react");
|
41288
|
+
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);
|
41289
|
+
/* harmony import */ var _icon__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../icon */ "./src/icon.js");
|
41290
|
+
// LICENSE_CODE ZON
|
41291
|
+
|
41292
|
+
|
41293
|
+
/*jslint react:true*/
|
41294
|
+
|
41295
|
+
|
41296
|
+
var SnackbarIcon = function SnackbarIcon(props) {
|
41297
|
+
var type = props.type;
|
41298
|
+
var name = {
|
41299
|
+
info: 'Info',
|
41300
|
+
success: 'CheckCircle',
|
41301
|
+
error: 'Warning',
|
41302
|
+
warning: 'Warning',
|
41303
|
+
generic: 'Info'
|
41304
|
+
}[type] || 'Info';
|
41305
|
+
var color = {
|
41306
|
+
info: 'blue_10',
|
41307
|
+
success: 'green_10',
|
41308
|
+
error: 'red_10',
|
41309
|
+
warning: 'yellow_10',
|
41310
|
+
generic: 'gray_10'
|
41311
|
+
}[type] || 'blue_10';
|
41312
|
+
return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(_icon__WEBPACK_IMPORTED_MODULE_1__.Icon, {
|
41313
|
+
name: name,
|
41314
|
+
color: color,
|
41315
|
+
size: "sm"
|
41316
|
+
});
|
41317
|
+
};
|
41318
|
+
|
41319
|
+
/***/ }),
|
41320
|
+
|
41032
41321
|
/***/ "./src/tab/group.js":
|
41033
41322
|
/*!**************************!*\
|
41034
41323
|
!*** ./src/tab/group.js ***!
|
@@ -41779,7 +42068,7 @@ var Search = function Search(props) {
|
|
41779
42068
|
padding: _theme__WEBPACK_IMPORTED_MODULE_7__["default"].spacing['03']
|
41780
42069
|
}
|
41781
42070
|
}, /*#__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__
|
42071
|
+
leftInnerContent: /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(_icon__WEBPACK_IMPORTED_MODULE_4__.Icon, {
|
41783
42072
|
size: "xs",
|
41784
42073
|
name: "Search",
|
41785
42074
|
color: "gray_9"
|
@@ -41861,7 +42150,7 @@ var CustomizeButtonItemAction = function CustomizeButtonItemAction(props) {
|
|
41861
42150
|
}, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(_tooltip__WEBPACK_IMPORTED_MODULE_8__.Tooltip, {
|
41862
42151
|
tooltip: props.tooltip,
|
41863
42152
|
tooltipPlacement: "top"
|
41864
|
-
}, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(_icon__WEBPACK_IMPORTED_MODULE_4__
|
42153
|
+
}, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(_icon__WEBPACK_IMPORTED_MODULE_4__.Icon, {
|
41865
42154
|
name: props.icon,
|
41866
42155
|
size: "xs",
|
41867
42156
|
color: "gray_9"
|
@@ -42497,7 +42786,7 @@ var PinColumn = function PinColumn(props) {
|
|
42497
42786
|
}, [isPinned, togglePinned, onClick]);
|
42498
42787
|
return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(FunctionWrapper, {
|
42499
42788
|
onClick: handleClick
|
42500
|
-
}, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(_icon__WEBPACK_IMPORTED_MODULE_3__
|
42789
|
+
}, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(_icon__WEBPACK_IMPORTED_MODULE_3__.Icon, {
|
42501
42790
|
name: isPinned ? 'Unpin' : 'Pin',
|
42502
42791
|
color: "gray_9",
|
42503
42792
|
size: "xs"
|
@@ -42514,7 +42803,7 @@ var HideColumn = function HideColumn(props) {
|
|
42514
42803
|
}
|
42515
42804
|
}, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement("input", _extends({
|
42516
42805
|
type: "checkbox"
|
42517
|
-
}, props)), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(_icon__WEBPACK_IMPORTED_MODULE_3__
|
42806
|
+
}, props)), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(_icon__WEBPACK_IMPORTED_MODULE_3__.Icon, {
|
42518
42807
|
name: "EyeOff",
|
42519
42808
|
color: "gray_9",
|
42520
42809
|
size: "xs"
|
@@ -42728,7 +43017,7 @@ var PaginationItemsWrapper = styled_components__WEBPACK_IMPORTED_MODULE_2___defa
|
|
42728
43017
|
componentId: "sc-1rdn0jh-2"
|
42729
43018
|
})(["display:flex;flex-direction:row;align-items:center;gap:8px;"]);
|
42730
43019
|
var PageLink = function PageLink(props) {
|
42731
|
-
return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(_link__WEBPACK_IMPORTED_MODULE_6__
|
43020
|
+
return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(_link__WEBPACK_IMPORTED_MODULE_6__.Link, {
|
42732
43021
|
as: "div",
|
42733
43022
|
variant: "secondary",
|
42734
43023
|
size: "sm",
|
@@ -43268,7 +43557,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
43268
43557
|
|
43269
43558
|
|
43270
43559
|
var SortIcon = function SortIcon(props) {
|
43271
|
-
return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(_icon__WEBPACK_IMPORTED_MODULE_1__
|
43560
|
+
return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(_icon__WEBPACK_IMPORTED_MODULE_1__.Icon, {
|
43272
43561
|
size: "xs",
|
43273
43562
|
name: props.reverse ? 'SortDesc' : 'SortAsc',
|
43274
43563
|
color: props.color || 'blue_10',
|
@@ -43889,7 +44178,7 @@ var TagBase = function TagBase(props) {
|
|
43889
44178
|
TagBase.propTypes = {
|
43890
44179
|
size: prop_types__WEBPACK_IMPORTED_MODULE_0___default().oneOf(['sm', 'md'])
|
43891
44180
|
};
|
43892
|
-
var BadgeIcon = styled_components__WEBPACK_IMPORTED_MODULE_2___default()(_icon__WEBPACK_IMPORTED_MODULE_4__
|
44181
|
+
var BadgeIcon = styled_components__WEBPACK_IMPORTED_MODULE_2___default()(_icon__WEBPACK_IMPORTED_MODULE_4__.Icon).withConfig({
|
43893
44182
|
displayName: "BadgeIcon",
|
43894
44183
|
componentId: "sc-1j3m7xm-0"
|
43895
44184
|
})(["min-width:14px;width:14px;min-height:14px;height:14px;color:", ";"], _theme__WEBPACK_IMPORTED_MODULE_6__["default"].color.gray_9);
|
@@ -45583,7 +45872,9 @@ var VirtualizedListRowRenderer = function VirtualizedListRowRenderer(_ref7) {
|
|
45583
45872
|
isSelected: thisProps.isSelected,
|
45584
45873
|
className: thisProps.className,
|
45585
45874
|
cx: thisProps.cx,
|
45875
|
+
getClassNames: thisProps.getClassNames,
|
45586
45876
|
getStyles: thisProps.getStyles,
|
45877
|
+
theme: thisProps.theme,
|
45587
45878
|
innerRef: thisProps.innerRef,
|
45588
45879
|
innerProps: thisProps.innerProps,
|
45589
45880
|
tag: "div"
|
@@ -45721,10 +46012,14 @@ var getIconProps = function getIconProps(comp, opt) {
|
|
45721
46012
|
var getLinkProps = function getLinkProps(opt) {
|
45722
46013
|
var as = opt.as,
|
45723
46014
|
href = opt.href,
|
46015
|
+
target = opt.target,
|
46016
|
+
rel = opt.rel,
|
45724
46017
|
newTab = opt.newTab;
|
45725
46018
|
var p = {
|
45726
46019
|
as: as,
|
45727
|
-
href: href
|
46020
|
+
href: href,
|
46021
|
+
target: target,
|
46022
|
+
rel: rel
|
45728
46023
|
};
|
45729
46024
|
if (newTab) p = _objectSpread(_objectSpread({}, p), {}, {
|
45730
46025
|
target: '_blank',
|
@@ -108358,6 +108653,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
108358
108653
|
/* harmony export */ Progress: () => (/* reexport safe */ _core__WEBPACK_IMPORTED_MODULE_0__.Progress),
|
108359
108654
|
/* harmony export */ ProgressBar: () => (/* reexport safe */ _core__WEBPACK_IMPORTED_MODULE_0__.ProgressBar),
|
108360
108655
|
/* harmony export */ RemovableTag: () => (/* reexport safe */ _core__WEBPACK_IMPORTED_MODULE_0__.RemovableTag),
|
108656
|
+
/* harmony export */ Snackbar: () => (/* reexport safe */ _core__WEBPACK_IMPORTED_MODULE_0__.Snackbar),
|
108361
108657
|
/* harmony export */ Tab: () => (/* reexport safe */ _core__WEBPACK_IMPORTED_MODULE_0__.Tab),
|
108362
108658
|
/* harmony export */ Table: () => (/* reexport safe */ _core__WEBPACK_IMPORTED_MODULE_0__.Table),
|
108363
108659
|
/* harmony export */ TagGroup: () => (/* reexport safe */ _core__WEBPACK_IMPORTED_MODULE_0__.TagGroup),
|