@luminati-io/uikit 1.7.26-beta.1 → 1.7.26
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/uikit.umd.js +19 -14
- package/dist/uikit.umd.js.map +1 -1
- package/dist/uikit.umd.min.js +1 -1
- package/package.json +1 -1
package/dist/uikit.umd.js
CHANGED
|
@@ -22928,8 +22928,8 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
22928
22928
|
/* harmony import */ var styled_components__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! styled-components */ "styled-components");
|
|
22929
22929
|
/* harmony import */ var styled_components__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(styled_components__WEBPACK_IMPORTED_MODULE_1__);
|
|
22930
22930
|
/* harmony import */ var _theme__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../theme */ "./src/theme.js");
|
|
22931
|
-
/* harmony import */ var
|
|
22932
|
-
/* harmony import */ var
|
|
22931
|
+
/* harmony import */ var _table_row__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./table_row */ "./src/table/table_row.js");
|
|
22932
|
+
/* harmony import */ var _util__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./util */ "./src/table/util.js");
|
|
22933
22933
|
// LICENSE_CODE ZON
|
|
22934
22934
|
|
|
22935
22935
|
|
|
@@ -22976,7 +22976,7 @@ var Cell = function Cell(props) {
|
|
|
22976
22976
|
}
|
|
22977
22977
|
} : undefined);
|
|
22978
22978
|
return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(StyledCell, _extends({
|
|
22979
|
-
className: (0,
|
|
22979
|
+
className: (0,_util__WEBPACK_IMPORTED_MODULE_4__.classNames)(classNamePrefix, {
|
|
22980
22980
|
cell: true
|
|
22981
22981
|
}, className)
|
|
22982
22982
|
}, cellProps), props.render('Cell', {
|
|
@@ -22990,9 +22990,9 @@ Cell.displayName = 'Cell';
|
|
|
22990
22990
|
var StyledCell = styled_components__WEBPACK_IMPORTED_MODULE_1___default().div.withConfig({
|
|
22991
22991
|
displayName: "StyledCell",
|
|
22992
22992
|
componentId: "sc-b034il-0"
|
|
22993
|
-
})(["padding:5px 15px;overflow-x:clip;", " background-color:", ";border:1px solid ", ";", ":hover &{background-color:", ";border-left-color:", ";border-right-color:", ";}", " ", " &[data-pinned-last]{
|
|
22993
|
+
})(["padding:5px 15px;overflow-x:clip;", " background-color:", ";border:1px solid ", ";", ":hover &{background-color:", ";border-left-color:", ";border-right-color:", ";}", " ", " &[data-pinned-last]{", "}", ""], function (props) {
|
|
22994
22994
|
return props.type == 'number' ? 'text-align: right;' : null;
|
|
22995
|
-
}, _theme__WEBPACK_IMPORTED_MODULE_2__["default"].color.white, _theme__WEBPACK_IMPORTED_MODULE_2__["default"].color.white,
|
|
22995
|
+
}, _theme__WEBPACK_IMPORTED_MODULE_2__["default"].color.white, _theme__WEBPACK_IMPORTED_MODULE_2__["default"].color.white, _table_row__WEBPACK_IMPORTED_MODULE_3__["default"], _theme__WEBPACK_IMPORTED_MODULE_2__["default"].color.gray_2, _theme__WEBPACK_IMPORTED_MODULE_2__["default"].color.gray_2, _theme__WEBPACK_IMPORTED_MODULE_2__["default"].color.gray_2, function (props) {
|
|
22996
22996
|
if (props.border == 'top') return "border-top-color: ".concat(_theme__WEBPACK_IMPORTED_MODULE_2__["default"].color.gray_3, ";");
|
|
22997
22997
|
if (props.border == 'bottom') return "border-bottom-color: ".concat(_theme__WEBPACK_IMPORTED_MODULE_2__["default"].color.gray_3, ";");
|
|
22998
22998
|
}, function (props) {
|
|
@@ -23002,10 +23002,15 @@ var StyledCell = styled_components__WEBPACK_IMPORTED_MODULE_1___default().div.wi
|
|
|
23002
23002
|
if (props.rowDensity == 'white_spaced') {
|
|
23003
23003
|
return (0,styled_components__WEBPACK_IMPORTED_MODULE_1__.css)(["padding-top:25px;padding-bottom:25px;"]);
|
|
23004
23004
|
}
|
|
23005
|
+
}, function (props) {
|
|
23006
|
+
if (props.canEdit && props.isEditing) {
|
|
23007
|
+
return (0,styled_components__WEBPACK_IMPORTED_MODULE_1__.css)(["box-shadow:2px 0px 4px -2px rgba(24,39,75,0.12),4px 0px 4px -2px rgba(24,39,75,0.08),inset 0px 0px 0px 3px rgba(0,106,220,0.4);"]);
|
|
23008
|
+
}
|
|
23009
|
+
return (0,styled_components__WEBPACK_IMPORTED_MODULE_1__.css)(["box-shadow:2px 0px 4px -2px rgba(24,39,75,0.12),4px 0px 4px -2px rgba(24,39,75,0.08);"]);
|
|
23005
23010
|
}, function (props) {
|
|
23006
23011
|
if (props.canEdit) {
|
|
23007
23012
|
if (props.isEditing) {
|
|
23008
|
-
return (0,styled_components__WEBPACK_IMPORTED_MODULE_1__.css)(["border:1px solid ", " !important;box-shadow:0px 0px 0px
|
|
23013
|
+
return (0,styled_components__WEBPACK_IMPORTED_MODULE_1__.css)(["border:1px solid ", " !important;box-shadow:inset 0px 0px 0px 3px rgba(0,106,220,0.4);z-index:1;"], _theme__WEBPACK_IMPORTED_MODULE_2__["default"].color.blue_11);
|
|
23009
23014
|
}
|
|
23010
23015
|
return (0,styled_components__WEBPACK_IMPORTED_MODULE_1__.css)(["&:hover{border-color:", " !important;}"], _theme__WEBPACK_IMPORTED_MODULE_2__["default"].color.gray_9);
|
|
23011
23016
|
}
|
|
@@ -24169,7 +24174,7 @@ var PaginationControls = function PaginationControls(props) {
|
|
|
24169
24174
|
var opts = (0,react__WEBPACK_IMPORTED_MODULE_1__.useMemo)(function () {
|
|
24170
24175
|
return pageSizes.map(function (o) {
|
|
24171
24176
|
return {
|
|
24172
|
-
label: o,
|
|
24177
|
+
label: String(o),
|
|
24173
24178
|
value: o
|
|
24174
24179
|
};
|
|
24175
24180
|
});
|
|
@@ -24960,8 +24965,8 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
24960
24965
|
/* harmony import */ var _footer__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./footer */ "./src/table/footer.js");
|
|
24961
24966
|
/* harmony import */ var _header__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ./header */ "./src/table/header.js");
|
|
24962
24967
|
/* harmony import */ var _render_row__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ./render_row */ "./src/table/render_row.js");
|
|
24963
|
-
/* harmony import */ var
|
|
24964
|
-
/* harmony import */ var
|
|
24968
|
+
/* harmony import */ var _sticky_header__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ./sticky_header */ "./src/table/sticky_header.js");
|
|
24969
|
+
/* harmony import */ var _util__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ./util */ "./src/table/util.js");
|
|
24965
24970
|
// LICENSE_CODE ZON
|
|
24966
24971
|
|
|
24967
24972
|
|
|
@@ -25052,13 +25057,13 @@ var Table = function Table(props) {
|
|
|
25052
25057
|
}();
|
|
25053
25058
|
return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2___default().createElement(TableWrapper, {
|
|
25054
25059
|
ref: wrapperRef,
|
|
25055
|
-
className: (0,
|
|
25060
|
+
className: (0,_util__WEBPACK_IMPORTED_MODULE_11__.classNames)(classNamePrefix, {
|
|
25056
25061
|
container: true
|
|
25057
25062
|
}, className)
|
|
25058
25063
|
}, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2___default().createElement(StyledTable, _extends({
|
|
25059
25064
|
ref: tableRef
|
|
25060
25065
|
}, getTableProps(), {
|
|
25061
|
-
className: (0,
|
|
25066
|
+
className: (0,_util__WEBPACK_IMPORTED_MODULE_11__.classNames)(classNamePrefix, {
|
|
25062
25067
|
table: true
|
|
25063
25068
|
})
|
|
25064
25069
|
}), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2___default().createElement(_header__WEBPACK_IMPORTED_MODULE_8__["default"], {
|
|
@@ -25066,7 +25071,7 @@ var Table = function Table(props) {
|
|
|
25066
25071
|
}), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2___default().createElement("div", _extends({
|
|
25067
25072
|
"data-rowgroup-type": "body"
|
|
25068
25073
|
}, getTableBodyProps(), {
|
|
25069
|
-
className: (0,
|
|
25074
|
+
className: (0,_util__WEBPACK_IMPORTED_MODULE_11__.classNames)(classNamePrefix, {
|
|
25070
25075
|
tableBody: true
|
|
25071
25076
|
})
|
|
25072
25077
|
}), pinnedRows.map(function (row) {
|
|
@@ -25082,7 +25087,7 @@ var Table = function Table(props) {
|
|
|
25082
25087
|
}), body), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2___default().createElement(_footer__WEBPACK_IMPORTED_MODULE_7__["default"], {
|
|
25083
25088
|
rowDensity: rowDensity,
|
|
25084
25089
|
classNamePrefix: classNamePrefix
|
|
25085
|
-
}), showSticky && /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2___default().createElement(
|
|
25090
|
+
}), showSticky && /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2___default().createElement(_sticky_header__WEBPACK_IMPORTED_MODULE_10__["default"], {
|
|
25086
25091
|
top: offsetTop,
|
|
25087
25092
|
width: width,
|
|
25088
25093
|
left: left,
|
|
@@ -25105,7 +25110,7 @@ Table.propTypes = {
|
|
|
25105
25110
|
var TableWrapper = styled_components__WEBPACK_IMPORTED_MODULE_3___default().div.withConfig({
|
|
25106
25111
|
displayName: "TableWrapper",
|
|
25107
25112
|
componentId: "sc-ebeoik-0"
|
|
25108
|
-
})(["width:100%;border:1px solid ", ";border-radius:4px;scrollbar-color:", " ", ";scrollbar-width:thin;&::-webkit-scrollbar{width:4px;height:4px;}&::-webkit-scrollbar-track{background-color:", ";}&::-webkit-scrollbar-thumb{background-color:", ";border-radius:2px;}"], _theme__WEBPACK_IMPORTED_MODULE_5__["default"].color.gray_3, _theme__WEBPACK_IMPORTED_MODULE_5__["default"].color.white, _theme__WEBPACK_IMPORTED_MODULE_5__["default"].color.gray_6, _theme__WEBPACK_IMPORTED_MODULE_5__["default"].color.white, _theme__WEBPACK_IMPORTED_MODULE_5__["default"].color.gray_6);
|
|
25113
|
+
})(["width:100%;border:1px solid ", ";border-radius:4px;overflow-x:auto;scrollbar-color:", " ", ";scrollbar-width:thin;&::-webkit-scrollbar{width:4px;height:4px;}&::-webkit-scrollbar-track{background-color:", ";}&::-webkit-scrollbar-thumb{background-color:", ";border-radius:2px;}"], _theme__WEBPACK_IMPORTED_MODULE_5__["default"].color.gray_3, _theme__WEBPACK_IMPORTED_MODULE_5__["default"].color.white, _theme__WEBPACK_IMPORTED_MODULE_5__["default"].color.gray_6, _theme__WEBPACK_IMPORTED_MODULE_5__["default"].color.white, _theme__WEBPACK_IMPORTED_MODULE_5__["default"].color.gray_6);
|
|
25109
25114
|
TableWrapper.displayName = 'TableWrapper';
|
|
25110
25115
|
var StyledTable = styled_components__WEBPACK_IMPORTED_MODULE_3___default().div.withConfig({
|
|
25111
25116
|
displayName: "StyledTable",
|