bitys-react-components 0.1.10 → 0.1.11
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.
|
@@ -5,8 +5,9 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
5
5
|
});
|
|
6
6
|
exports["default"] = void 0;
|
|
7
7
|
exports.injectDataGridViewStyles = injectDataGridViewStyles;
|
|
8
|
-
// Conteúdo do CSS em string para injeção no DOM (evita import de .css no build Babel)
|
|
9
|
-
|
|
8
|
+
// Conteúdo do CSS em string para injeção no DOM (evita import de .css no build Babel).
|
|
9
|
+
// Todas as regras são escopadas em .as-react-table para não afetar o restante do projeto.
|
|
10
|
+
var styleContent = "\n.as-react-table th.sortable {\n color: #2196F3;\n cursor: pointer;\n background-repeat: no-repeat;\n background-position: 95% 50%;\n background-size: 16px;\n}\n.as-react-table .input-group-text:empty {\n display: none;\n}\n.as-react-table .asrt-page-length {\n display: inline-block;\n}\n.as-react-table .asrt-page-length .input-group-addon {\n display: inline-block;\n width: auto;\n margin: 0;\n padding: 0;\n background: #fff;\n border: none;\n}\n.as-react-table .asrt-pagination {\n margin: 0;\n}\n.as-react-table .asrt-td-loading {\n background-color: #fff;\n}\n.as-react-table .asrt-loading-textwrap {\n padding: 5px 0px;\n}\n";
|
|
10
11
|
var STYLE_ID = 'bitys-datagridview-styles';
|
|
11
12
|
function injectDataGridViewStyles() {
|
|
12
13
|
if (typeof document === 'undefined') return;
|