@luminati-io/uikit 3.1.9 → 3.1.10
Sign up to get free protection for your applications and to get access to all the features.
@@ -23917,7 +23917,7 @@ Checkbox.displayName = 'Checkbox';
|
|
23917
23917
|
Checkbox.propTypes = {
|
23918
23918
|
checked: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().bool),
|
23919
23919
|
onChange: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().func),
|
23920
|
-
label:
|
23920
|
+
label: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().node),
|
23921
23921
|
disabled: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().bool),
|
23922
23922
|
indeterminate: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().bool),
|
23923
23923
|
verticalAlign: prop_types__WEBPACK_IMPORTED_MODULE_0___default().oneOf(['top', 'middle', 'bottom'])
|
@@ -24341,7 +24341,9 @@ var Day = function Day(props) {
|
|
24341
24341
|
role: "gridcell"
|
24342
24342
|
});
|
24343
24343
|
if (!dayRender.isButton) return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement("div", dayRender.divProps);
|
24344
|
-
return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(DayWrapper,
|
24344
|
+
return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(DayWrapper, {
|
24345
|
+
$mod: dayRender.activeModifiers
|
24346
|
+
}, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(react_day_picker__WEBPACK_IMPORTED_MODULE_2__.Button, _extends({
|
24345
24347
|
name: "day",
|
24346
24348
|
ref: buttonRef
|
24347
24349
|
}, dayRender.buttonProps)));
|
@@ -24350,16 +24352,21 @@ Day.displayName = 'Day';
|
|
24350
24352
|
var DayWrapper = styled_components__WEBPACK_IMPORTED_MODULE_3___default().div.withConfig({
|
24351
24353
|
displayName: "DayWrapper",
|
24352
24354
|
componentId: "sc-1gurvxq-2"
|
24353
|
-
})(["padding:0;background-color:", ";border-top-left-radius:", ";border-bottom-left-radius:", ";border-top-right-radius:", ";border-bottom-right-radius:", ";.rdp-day{display:flex;flex-direction:column;justify-content:center;align-items:center;width:32px;height:32px;box-sizing:border-box;border-radius:", ";border:1px solid ", ";background-color:", ";cursor:pointer;font-family:", ";font-style:normal;font-weight:", ";font-size:", ";line-height:", ";color:", ";&:hover:not(:disabled){border:1px solid ", ";}&:disabled{color:", ";cursor:not-allowed;}}.rdp-day_today{color:", ";font-weight:", ";}.rdp-day_selected{background-color:", ";border:1px solid ", ";color:", ";}.rdp-day_range_middle{background-color:", ";border:1px solid ", ";color:", ";&.rdp-day_today{color:", ";}}"], function (
|
24354
|
-
|
24355
|
-
|
24356
|
-
|
24357
|
-
|
24358
|
-
return
|
24359
|
-
}, function (
|
24360
|
-
|
24361
|
-
|
24362
|
-
|
24355
|
+
})(["padding:0;background-color:", ";border-top-left-radius:", ";border-bottom-left-radius:", ";border-top-right-radius:", ";border-bottom-right-radius:", ";.rdp-day{display:flex;flex-direction:column;justify-content:center;align-items:center;width:32px;height:32px;box-sizing:border-box;border-radius:", ";border:1px solid ", ";background-color:", ";cursor:pointer;font-family:", ";font-style:normal;font-weight:", ";font-size:", ";line-height:", ";color:", ";&:hover:not(:disabled){border:1px solid ", ";}&:disabled{color:", ";cursor:not-allowed;}}.rdp-day_today{color:", ";font-weight:", ";}.rdp-day_selected{background-color:", ";border:1px solid ", ";color:", ";}.rdp-day_range_middle{background-color:", ";border:1px solid ", ";color:", ";&.rdp-day_today{color:", ";}}"], function (_ref2) {
|
24356
|
+
var $mod = _ref2.$mod;
|
24357
|
+
return $mod.selected ? _theme__WEBPACK_IMPORTED_MODULE_5__["default"].color.blue_3 : _theme__WEBPACK_IMPORTED_MODULE_5__["default"].color.white;
|
24358
|
+
}, function (_ref3) {
|
24359
|
+
var $mod = _ref3.$mod;
|
24360
|
+
return $mod.range_middle || $mod.range_end && !$mod.range_start ? '0' : borderRadius;
|
24361
|
+
}, function (_ref4) {
|
24362
|
+
var $mod = _ref4.$mod;
|
24363
|
+
return $mod.range_middle || $mod.range_end && !$mod.range_start ? '0' : borderRadius;
|
24364
|
+
}, function (_ref5) {
|
24365
|
+
var $mod = _ref5.$mod;
|
24366
|
+
return $mod.range_middle || $mod.range_start && !$mod.range_end ? '0' : borderRadius;
|
24367
|
+
}, function (_ref6) {
|
24368
|
+
var $mod = _ref6.$mod;
|
24369
|
+
return $mod.range_middle || $mod.range_start && !$mod.range_end ? '0' : borderRadius;
|
24363
24370
|
}, borderRadius, _theme__WEBPACK_IMPORTED_MODULE_5__["default"].color.white, _theme__WEBPACK_IMPORTED_MODULE_5__["default"].color.white, _theme__WEBPACK_IMPORTED_MODULE_5__["default"].font_family.sans, _theme__WEBPACK_IMPORTED_MODULE_5__["default"].font_weight.regular, _theme__WEBPACK_IMPORTED_MODULE_5__["default"].font_size.xs, _theme__WEBPACK_IMPORTED_MODULE_5__["default"].line_height.none, _theme__WEBPACK_IMPORTED_MODULE_5__["default"].color.gray_11_50, _theme__WEBPACK_IMPORTED_MODULE_5__["default"].color.blue_10, _theme__WEBPACK_IMPORTED_MODULE_5__["default"].color.gray_7, _theme__WEBPACK_IMPORTED_MODULE_5__["default"].color.blue_11, _theme__WEBPACK_IMPORTED_MODULE_5__["default"].font_weight.semibold, _theme__WEBPACK_IMPORTED_MODULE_5__["default"].color.blue_10, _theme__WEBPACK_IMPORTED_MODULE_5__["default"].color.blue_10, _theme__WEBPACK_IMPORTED_MODULE_5__["default"].color.white, _theme__WEBPACK_IMPORTED_MODULE_5__["default"].color.blue_3, _theme__WEBPACK_IMPORTED_MODULE_5__["default"].color.blue_3, _theme__WEBPACK_IMPORTED_MODULE_5__["default"].color.gray_11_50, _theme__WEBPACK_IMPORTED_MODULE_5__["default"].color.blue_11);
|
24364
24371
|
var getDateText = function getDateText(props) {
|
24365
24372
|
var value = props.value,
|
@@ -24554,7 +24561,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
24554
24561
|
|
24555
24562
|
|
24556
24563
|
/*jslint react:true*/
|
24557
|
-
var _excluded = ["label", "labelIcon", "required", "value", "defaultValue", "placeholder", "options", "onChange", "onFocus", "onBlur", "multiselect", "creatable", "clearable", "disabled", "invalid", "helperText", "classNamePrefix", "onChangeCapture", "menuPortalTarget", "filterOption", "formatOptionLabel", "menuPlacement", "hideSelectedOptions", "onInputChange", "getOptionValue", "getOptionLabel", "isOptionDisabled", "isOptionSelected", "async", "isLoading", "loadOptions", "onCreateOption", "formatCreateLabel", "isValidNewOption", "getNewOptionData"];
|
24564
|
+
var _excluded = ["label", "labelIcon", "required", "value", "defaultValue", "placeholder", "options", "onChange", "onFocus", "onBlur", "multiselect", "creatable", "clearable", "disabled", "invalid", "helperText", "classNamePrefix", "onChangeCapture", "menuPortalTarget", "filterOption", "formatOptionLabel", "menuPlacement", "hideSelectedOptions", "onInputChange", "getOptionValue", "getOptionLabel", "isOptionDisabled", "isOptionSelected", "async", "isLoading", "loadOptions", "defaultOptions", "cacheOptions", "onCreateOption", "formatCreateLabel", "isValidNewOption", "getNewOptionData"];
|
24558
24565
|
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); }
|
24559
24566
|
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; }
|
24560
24567
|
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; }
|
@@ -24603,6 +24610,8 @@ var Dropdown = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().forward
|
|
24603
24610
|
async = props.async,
|
24604
24611
|
isLoading = props.isLoading,
|
24605
24612
|
loadOptions = props.loadOptions,
|
24613
|
+
defaultOptions = props.defaultOptions,
|
24614
|
+
cacheOptions = props.cacheOptions,
|
24606
24615
|
onCreateOption = props.onCreateOption,
|
24607
24616
|
formatCreateLabel = props.formatCreateLabel,
|
24608
24617
|
isValidNewOption = props.isValidNewOption,
|
@@ -24665,6 +24674,8 @@ var Dropdown = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().forward
|
|
24665
24674
|
isOptionSelected: isOptionSelected,
|
24666
24675
|
isLoading: isLoading,
|
24667
24676
|
loadOptions: loadOptions,
|
24677
|
+
defaultOptions: defaultOptions,
|
24678
|
+
cacheOptions: cacheOptions,
|
24668
24679
|
onCreateOption: onCreateOption,
|
24669
24680
|
formatCreateLabel: formatCreateLabel,
|
24670
24681
|
isValidNewOption: isValidNewOption,
|
@@ -24690,7 +24701,7 @@ Dropdown.propTypes = {
|
|
24690
24701
|
labelIcon: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().string),
|
24691
24702
|
helperText: prop_types__WEBPACK_IMPORTED_MODULE_0___default().oneOfType([(prop_types__WEBPACK_IMPORTED_MODULE_0___default().string), (prop_types__WEBPACK_IMPORTED_MODULE_0___default().func)]),
|
24692
24703
|
size: prop_types__WEBPACK_IMPORTED_MODULE_0___default().oneOf(['sm', 'md', 'lg']),
|
24693
|
-
options: prop_types__WEBPACK_IMPORTED_MODULE_0___default().arrayOf((prop_types__WEBPACK_IMPORTED_MODULE_0___default().any))
|
24704
|
+
options: prop_types__WEBPACK_IMPORTED_MODULE_0___default().arrayOf((prop_types__WEBPACK_IMPORTED_MODULE_0___default().any)),
|
24694
24705
|
multiselect: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().bool),
|
24695
24706
|
clearable: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().bool),
|
24696
24707
|
creatable: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().bool),
|
@@ -24707,6 +24718,8 @@ Dropdown.propTypes = {
|
|
24707
24718
|
async: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().bool),
|
24708
24719
|
isLoading: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().bool),
|
24709
24720
|
loadOptions: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().func),
|
24721
|
+
defaultOptions: prop_types__WEBPACK_IMPORTED_MODULE_0___default().oneOfType([(prop_types__WEBPACK_IMPORTED_MODULE_0___default().bool), prop_types__WEBPACK_IMPORTED_MODULE_0___default().arrayOf((prop_types__WEBPACK_IMPORTED_MODULE_0___default().any))]),
|
24722
|
+
cacheOptions: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().any),
|
24710
24723
|
components: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().object),
|
24711
24724
|
styles: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().object),
|
24712
24725
|
onCreateOption: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().func),
|
@@ -24879,7 +24892,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
24879
24892
|
/* harmony export */ });
|
24880
24893
|
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ "react");
|
24881
24894
|
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);
|
24882
|
-
/* harmony import */ var
|
24895
|
+
/* harmony import */ var _menu_menu_item_group__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../menu/menu_item_group */ "./src/menu/menu_item_group.js");
|
24883
24896
|
// LICENSE_CODE ZON
|
24884
24897
|
|
24885
24898
|
|
@@ -24895,7 +24908,7 @@ var Group = function Group(props) {
|
|
24895
24908
|
innerProps = props.innerProps,
|
24896
24909
|
children = props.children,
|
24897
24910
|
isFirstItem = props.isFirstItem;
|
24898
|
-
return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(
|
24911
|
+
return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(_menu_menu_item_group__WEBPACK_IMPORTED_MODULE_1__.MenuItemGroup, _extends({
|
24899
24912
|
ref: innerRef,
|
24900
24913
|
isFirstItem: isFirstItem,
|
24901
24914
|
className: cx({
|
@@ -24941,7 +24954,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
24941
24954
|
/* harmony export */ });
|
24942
24955
|
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ "react");
|
24943
24956
|
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);
|
24944
|
-
/* harmony import */ var
|
24957
|
+
/* harmony import */ var _menu_shared__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../menu/shared */ "./src/menu/shared.js");
|
24945
24958
|
// LICENSE_CODE ZON
|
24946
24959
|
|
24947
24960
|
|
@@ -24956,7 +24969,7 @@ var MenuList = function MenuList(props) {
|
|
24956
24969
|
innerRef = props.innerRef,
|
24957
24970
|
innerProps = props.innerProps,
|
24958
24971
|
children = props.children;
|
24959
|
-
return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(
|
24972
|
+
return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(_menu_shared__WEBPACK_IMPORTED_MODULE_1__.MenuContainer, _extends({
|
24960
24973
|
ref: innerRef,
|
24961
24974
|
$noShadow: true,
|
24962
24975
|
role: "menu",
|
@@ -25002,12 +25015,6 @@ function _extends() { _extends = Object.assign ? Object.assign.bind() : function
|
|
25002
25015
|
|
25003
25016
|
|
25004
25017
|
|
25005
|
-
var StyledItem = styled_components__WEBPACK_IMPORTED_MODULE_2___default()(_menu__WEBPACK_IMPORTED_MODULE_3__["default"].Item).withConfig({
|
25006
|
-
displayName: "StyledItem",
|
25007
|
-
componentId: "sc-10s9fdi-0"
|
25008
|
-
})(["", ""], function (props) {
|
25009
|
-
return props.selected ? "background-color: ".concat(_theme__WEBPACK_IMPORTED_MODULE_4__["default"].color.blue_3, ";") : undefined;
|
25010
|
-
});
|
25011
25018
|
var Option = function Option(props) {
|
25012
25019
|
var data = props.data,
|
25013
25020
|
className = props.className,
|
@@ -25033,9 +25040,17 @@ var Option = function Option(props) {
|
|
25033
25040
|
tooltip: data.tooltip,
|
25034
25041
|
disabled: isDisabled,
|
25035
25042
|
selected: isSelected,
|
25043
|
+
$focused: isFocused,
|
25036
25044
|
tag: tag
|
25037
25045
|
}));
|
25038
25046
|
};
|
25047
|
+
var StyledItem = styled_components__WEBPACK_IMPORTED_MODULE_2___default()(_menu__WEBPACK_IMPORTED_MODULE_3__["default"].Item).withConfig({
|
25048
|
+
displayName: "StyledItem",
|
25049
|
+
componentId: "sc-10s9fdi-0"
|
25050
|
+
})(["background-color:", ";"], function (props) {
|
25051
|
+
if (props.selected) return _theme__WEBPACK_IMPORTED_MODULE_4__["default"].color.blue_3;
|
25052
|
+
if (props.$focused) return _theme__WEBPACK_IMPORTED_MODULE_4__["default"].color.gray_2;
|
25053
|
+
});
|
25039
25054
|
|
25040
25055
|
/***/ }),
|
25041
25056
|
|
@@ -26910,25 +26925,17 @@ StyledLink.displayName = 'StyledLink';
|
|
26910
26925
|
"use strict";
|
26911
26926
|
__webpack_require__.r(__webpack_exports__);
|
26912
26927
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
26913
|
-
/* harmony export */ MenuContainer: () => (/* reexport safe */ _shared__WEBPACK_IMPORTED_MODULE_3__.MenuContainer),
|
26914
|
-
/* harmony export */ MenuItemContainer: () => (/* reexport safe */ _shared__WEBPACK_IMPORTED_MODULE_3__.MenuItemContainer),
|
26915
|
-
/* harmony export */ MenuItemGroup: () => (/* reexport safe */ _menu_item_group__WEBPACK_IMPORTED_MODULE_2__["default"]),
|
26916
26928
|
/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
|
26917
26929
|
/* harmony export */ });
|
26918
26930
|
/* harmony import */ var _menu__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./menu */ "./src/menu/menu.js");
|
26919
26931
|
/* harmony import */ var _menu_item__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./menu_item */ "./src/menu/menu_item.js");
|
26920
|
-
/* harmony import */ var _menu_item_group__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./menu_item_group */ "./src/menu/menu_item_group.js");
|
26921
|
-
/* harmony import */ var _shared__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./shared */ "./src/menu/shared.js");
|
26922
26932
|
// LICENSE_CODE ZON
|
26923
26933
|
|
26924
26934
|
|
26925
26935
|
/*jslint react:true*/
|
26926
26936
|
|
26927
26937
|
|
26928
|
-
|
26929
|
-
|
26930
26938
|
_menu__WEBPACK_IMPORTED_MODULE_0__["default"].Item = _menu_item__WEBPACK_IMPORTED_MODULE_1__["default"];
|
26931
|
-
|
26932
26939
|
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (_menu__WEBPACK_IMPORTED_MODULE_0__["default"]);
|
26933
26940
|
|
26934
26941
|
/***/ }),
|
@@ -27071,7 +27078,7 @@ var MenuItem = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2___default().forward
|
|
27071
27078
|
});
|
27072
27079
|
var isSubMenu = subMenu || subItems;
|
27073
27080
|
if (type == 'group') {
|
27074
|
-
return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2___default().createElement(_menu_item_group__WEBPACK_IMPORTED_MODULE_12__
|
27081
|
+
return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2___default().createElement(_menu_item_group__WEBPACK_IMPORTED_MODULE_12__.MenuItemGroup, _extends({
|
27075
27082
|
ref: ref,
|
27076
27083
|
text: text,
|
27077
27084
|
isFirstItem: isFirstItem
|
@@ -27291,7 +27298,7 @@ var StyledHr = styled_components__WEBPACK_IMPORTED_MODULE_1___default().hr.withC
|
|
27291
27298
|
"use strict";
|
27292
27299
|
__webpack_require__.r(__webpack_exports__);
|
27293
27300
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
27294
|
-
/* harmony export */
|
27301
|
+
/* harmony export */ MenuItemGroup: () => (/* binding */ MenuItemGroup)
|
27295
27302
|
/* harmony export */ });
|
27296
27303
|
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ "react");
|
27297
27304
|
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);
|
@@ -27335,7 +27342,6 @@ var GroupTitle = styled_components__WEBPACK_IMPORTED_MODULE_1___default()(_typog
|
|
27335
27342
|
displayName: "GroupTitle",
|
27336
27343
|
componentId: "sc-q9wnng-0"
|
27337
27344
|
})(["display:flex;align-items:center;justify-content:flex-start;padding:8px 12px 0;width:100%;height:28px;box-sizing:border-box;"]);
|
27338
|
-
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (MenuItemGroup);
|
27339
27345
|
|
27340
27346
|
/***/ }),
|
27341
27347
|
|