@algolia/satellite 1.0.0-beta.120 → 1.0.0-beta.124
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/cjs/AutoComplete/AutoComplete.d.ts +4 -0
- package/cjs/AutoComplete/AutoComplete.js +10 -5
- package/cjs/AutoComplete/types.d.ts +5 -0
- package/cjs/Button/styles.d.ts +1 -1
- package/cjs/Checkbox/Checkbox.js +1 -0
- package/cjs/DatePicker/DatePicker.tailwind.js +7 -2
- package/cjs/Dropdown/DropdownButton.d.ts +1 -1
- package/cjs/Pagination/DotPagination/DotPagination.d.ts +2 -1
- package/cjs/Pagination/DotPagination/DotPagination.js +4 -2
- package/cjs/Pagination/Pagination/Pagination.js +3 -0
- package/cjs/ProgressSpinner/ProgressSpinner.js +1 -1
- package/cjs/Tables/DataTable/DataTable.d.ts +41 -0
- package/cjs/Tables/DataTable/DataTable.js +281 -0
- package/cjs/Tables/DataTable/DataTable.tailwind.d.ts +5 -0
- package/cjs/Tables/DataTable/DataTable.tailwind.js +23 -0
- package/cjs/Tables/DataTable/components/Body.d.ts +14 -0
- package/cjs/Tables/DataTable/components/Body.js +125 -0
- package/cjs/Tables/DataTable/components/Footer.d.ts +8 -0
- package/cjs/Tables/DataTable/components/Footer.js +81 -0
- package/cjs/Tables/DataTable/components/Header.d.ts +10 -0
- package/cjs/Tables/DataTable/components/Header.js +44 -0
- package/cjs/Tables/DataTable/components/HeaderCell.d.ts +11 -0
- package/cjs/Tables/DataTable/components/HeaderCell.js +61 -0
- package/cjs/Tables/DataTable/components/Loader.d.ts +6 -0
- package/cjs/Tables/DataTable/components/Loader.js +63 -0
- package/cjs/Tables/DataTable/components/index.d.ts +5 -0
- package/cjs/Tables/DataTable/components/index.js +70 -0
- package/cjs/Tables/DataTable/index.d.ts +3 -0
- package/cjs/Tables/DataTable/index.js +46 -0
- package/cjs/Tables/DataTable/types.d.ts +49 -0
- package/cjs/Tables/DataTable/types.js +5 -0
- package/cjs/Tables/DataTable/utils.d.ts +4 -0
- package/cjs/Tables/DataTable/utils.js +32 -0
- package/cjs/{Table → Tables/Table}/Table.d.ts +1 -1
- package/cjs/{Table → Tables/Table}/Table.js +8 -6
- package/cjs/Tables/Table/Table.tailwind.d.ts +5 -0
- package/cjs/{Table → Tables/Table}/Table.tailwind.js +6 -20
- package/cjs/Tables/Table/components/Footer.d.ts +8 -0
- package/cjs/Tables/Table/components/Footer.js +35 -0
- package/cjs/Tables/Table/index.d.ts +2 -0
- package/cjs/{Table → Tables/Table}/index.js +7 -5
- package/cjs/Tables/index.d.ts +3 -0
- package/cjs/Tables/index.js +46 -0
- package/cjs/index.d.ts +1 -1
- package/cjs/index.js +4 -4
- package/cjs/styles/tailwind.config.js +1 -1
- package/cjs/utils/index.d.ts +1 -0
- package/cjs/utils/index.js +9 -1
- package/cjs/utils/toSentenceCase.d.ts +3 -0
- package/cjs/utils/toSentenceCase.js +21 -0
- package/esm/AutoComplete/AutoComplete.d.ts +4 -0
- package/esm/AutoComplete/AutoComplete.js +10 -5
- package/esm/AutoComplete/types.d.ts +5 -0
- package/esm/Button/styles.d.ts +1 -1
- package/esm/Checkbox/Checkbox.js +1 -0
- package/esm/DatePicker/DatePicker.tailwind.js +7 -2
- package/esm/Dropdown/DropdownButton.d.ts +1 -1
- package/esm/Pagination/DotPagination/DotPagination.d.ts +2 -1
- package/esm/Pagination/DotPagination/DotPagination.js +4 -2
- package/esm/Pagination/Pagination/Pagination.js +3 -0
- package/esm/ProgressSpinner/ProgressSpinner.js +1 -1
- package/esm/Tables/DataTable/DataTable.d.ts +41 -0
- package/esm/Tables/DataTable/DataTable.js +249 -0
- package/esm/Tables/DataTable/DataTable.tailwind.d.ts +5 -0
- package/esm/Tables/DataTable/DataTable.tailwind.js +21 -0
- package/esm/Tables/DataTable/components/Body.d.ts +14 -0
- package/esm/Tables/DataTable/components/Body.js +106 -0
- package/esm/Tables/DataTable/components/Footer.d.ts +8 -0
- package/esm/Tables/DataTable/components/Footer.js +60 -0
- package/esm/Tables/DataTable/components/Header.d.ts +10 -0
- package/esm/Tables/DataTable/components/Header.js +29 -0
- package/esm/Tables/DataTable/components/HeaderCell.d.ts +11 -0
- package/esm/Tables/DataTable/components/HeaderCell.js +42 -0
- package/esm/Tables/DataTable/components/Loader.d.ts +6 -0
- package/esm/Tables/DataTable/components/Loader.js +40 -0
- package/esm/Tables/DataTable/components/index.d.ts +5 -0
- package/esm/Tables/DataTable/components/index.js +5 -0
- package/esm/Tables/DataTable/index.d.ts +3 -0
- package/esm/Tables/DataTable/index.js +3 -0
- package/esm/Tables/DataTable/types.d.ts +49 -0
- package/esm/Tables/DataTable/types.js +1 -0
- package/esm/Tables/DataTable/utils.d.ts +4 -0
- package/esm/Tables/DataTable/utils.js +14 -0
- package/esm/{Table → Tables/Table}/Table.d.ts +1 -1
- package/esm/{Table → Tables/Table}/Table.js +7 -6
- package/esm/Tables/Table/Table.tailwind.d.ts +5 -0
- package/esm/{Table → Tables/Table}/Table.tailwind.js +6 -20
- package/esm/Tables/Table/components/Footer.d.ts +8 -0
- package/esm/Tables/Table/components/Footer.js +20 -0
- package/esm/Tables/Table/index.d.ts +2 -0
- package/esm/Tables/Table/index.js +2 -0
- package/esm/Tables/index.d.ts +3 -0
- package/esm/Tables/index.js +3 -0
- package/esm/index.d.ts +1 -1
- package/esm/index.js +1 -1
- package/esm/styles/tailwind.config.js +1 -1
- package/esm/utils/index.d.ts +1 -0
- package/esm/utils/index.js +2 -1
- package/esm/utils/toSentenceCase.d.ts +3 -0
- package/esm/utils/toSentenceCase.js +9 -0
- package/package.json +1 -1
- package/satellite.css +18 -18
- package/satellite.min.css +1 -1
- package/cjs/Table/Table.tailwind.d.ts +0 -5
- package/cjs/Table/index.d.ts +0 -3
- package/esm/Table/Table.tailwind.d.ts +0 -5
- package/esm/Table/index.d.ts +0 -3
- package/esm/Table/index.js +0 -3
@@ -0,0 +1,49 @@
|
|
1
|
+
/// <reference types="react" />
|
2
|
+
export declare type Status = "loading" | "error" | "success";
|
3
|
+
export declare type SelectMode = "single" | "multi" | "none";
|
4
|
+
export declare type SortingDirection = "asc" | "desc" | "none";
|
5
|
+
export declare type Sorting = [columnId: string, direction: SortingDirection];
|
6
|
+
export declare type GetItemId<Item> = string | ((item: Item, idx: number) => string);
|
7
|
+
export interface Row<Item> {
|
8
|
+
item: Item;
|
9
|
+
id: string;
|
10
|
+
hovered: boolean;
|
11
|
+
selected: boolean;
|
12
|
+
selectable: boolean;
|
13
|
+
}
|
14
|
+
export interface CellProps<Item> {
|
15
|
+
value: any;
|
16
|
+
row: Row<Item>;
|
17
|
+
column: AdvancedColumnDefinition<Item>;
|
18
|
+
}
|
19
|
+
export interface HeaderProps<Item> {
|
20
|
+
column: AdvancedColumnDefinition<Item>;
|
21
|
+
}
|
22
|
+
export interface AdvancedColumnDefinition<Item> {
|
23
|
+
/** The ID of the column - Should be unique */
|
24
|
+
id: string;
|
25
|
+
/** A string or a function which determines how to get the column data */
|
26
|
+
accessor: string | ((item: Item) => any);
|
27
|
+
sort?: boolean;
|
28
|
+
Header?: React.ComponentType<HeaderProps<Item>>;
|
29
|
+
Cell?: React.ComponentType<CellProps<Item>>;
|
30
|
+
className?: string;
|
31
|
+
}
|
32
|
+
export declare type ColumnDefinition<Item> = string | AdvancedColumnDefinition<Item>;
|
33
|
+
export interface IndeterminatePagination {
|
34
|
+
currentPage: number;
|
35
|
+
itemsPerPage: number;
|
36
|
+
isLastPage?: boolean;
|
37
|
+
}
|
38
|
+
export interface DeterminatePagination {
|
39
|
+
currentPage: number;
|
40
|
+
itemsPerPage: number;
|
41
|
+
totalItemsCount: number;
|
42
|
+
}
|
43
|
+
export declare type PaginationConfiguration = false | IndeterminatePagination | DeterminatePagination;
|
44
|
+
export interface DataConfiguration {
|
45
|
+
/** The current pagination configuration */
|
46
|
+
pagination: PaginationConfiguration;
|
47
|
+
/** The current sorting configuration */
|
48
|
+
sorting: Sorting[];
|
49
|
+
}
|
@@ -0,0 +1 @@
|
|
1
|
+
export {};
|
@@ -0,0 +1,4 @@
|
|
1
|
+
import type { Row, DeterminatePagination, IndeterminatePagination, PaginationConfiguration, AdvancedColumnDefinition } from "./types";
|
2
|
+
export declare const isDeterminatePagination: (pagination: PaginationConfiguration) => pagination is DeterminatePagination;
|
3
|
+
export declare const isIndeterminatePagination: (pagination: PaginationConfiguration) => pagination is IndeterminatePagination;
|
4
|
+
export declare const getCellValue: <Item extends {}>(column: AdvancedColumnDefinition<Item>, row: Row<Item>) => any;
|
@@ -0,0 +1,14 @@
|
|
1
|
+
import get from "lodash/get";
|
2
|
+
export var isDeterminatePagination = function isDeterminatePagination(pagination) {
|
3
|
+
return pagination !== false && "totalItemsCount" in pagination;
|
4
|
+
};
|
5
|
+
export var isIndeterminatePagination = function isIndeterminatePagination(pagination) {
|
6
|
+
return pagination !== false && !("totalItemsCount" in pagination) && "currentPage" in pagination && typeof pagination.currentPage === "number";
|
7
|
+
};
|
8
|
+
export var getCellValue = function getCellValue(column, row) {
|
9
|
+
if (typeof column.accessor === "string") {
|
10
|
+
return get(row.item, column.accessor);
|
11
|
+
}
|
12
|
+
|
13
|
+
return column.accessor(row.item);
|
14
|
+
};
|
@@ -6,7 +6,7 @@ export interface TableProps extends React.DetailedHTMLProps<React.TableHTMLAttri
|
|
6
6
|
highlight?: boolean;
|
7
7
|
}
|
8
8
|
/**
|
9
|
-
*
|
9
|
+
* Tables are used to structure content in a grid to make it easier to see relationships and to facilitate understanding.
|
10
10
|
*
|
11
11
|
* #### Do
|
12
12
|
*
|
@@ -2,15 +2,16 @@ import _extends from "@babel/runtime/helpers/extends";
|
|
2
2
|
import _taggedTemplateLiteral from "@babel/runtime/helpers/taggedTemplateLiteral";
|
3
3
|
import _objectWithoutProperties from "@babel/runtime/helpers/objectWithoutProperties";
|
4
4
|
|
5
|
-
var _templateObject, _templateObject2, _templateObject3
|
5
|
+
var _templateObject, _templateObject2, _templateObject3;
|
6
6
|
|
7
7
|
var _excluded = ["className", "footer", "smallFooter", "hasActions", "highlight"];
|
8
8
|
import React from "react";
|
9
9
|
import cx from "classnames";
|
10
|
-
import stl from "
|
10
|
+
import stl from "../../styles/helpers/satellitePrefixer";
|
11
|
+
import Footer from "./components/Footer";
|
11
12
|
|
12
13
|
/**
|
13
|
-
*
|
14
|
+
* Tables are used to structure content in a grid to make it easier to see relationships and to facilitate understanding.
|
14
15
|
*
|
15
16
|
* #### Do
|
16
17
|
*
|
@@ -39,13 +40,13 @@ export var Table = function Table(_ref) {
|
|
39
40
|
props = _objectWithoutProperties(_ref, _excluded);
|
40
41
|
|
41
42
|
return /*#__PURE__*/React.createElement("div", {
|
42
|
-
className: cx(stl(_templateObject || (_templateObject = _taggedTemplateLiteral(["
|
43
|
+
className: cx(stl(_templateObject || (_templateObject = _taggedTemplateLiteral(["rounded text-grey-900 bg-white display-body"]))), className)
|
43
44
|
}, /*#__PURE__*/React.createElement("div", {
|
44
45
|
className: stl(_templateObject2 || (_templateObject2 = _taggedTemplateLiteral(["overflow-x-auto"])))
|
45
46
|
}, /*#__PURE__*/React.createElement("table", _extends({}, props, {
|
46
47
|
className: stl(_templateObject3 || (_templateObject3 = _taggedTemplateLiteral(["table ", " ", ""])), hasActions && "table-with-actions", highlight && "table-with-highlight")
|
47
|
-
}))), footer && /*#__PURE__*/React.createElement(
|
48
|
-
|
48
|
+
}))), footer && /*#__PURE__*/React.createElement(Footer, {
|
49
|
+
size: smallFooter ? "small" : "default"
|
49
50
|
}, footer));
|
50
51
|
};
|
51
52
|
export default Table;
|
@@ -1,18 +1,12 @@
|
|
1
|
-
|
2
|
-
// @ts-check
|
3
|
-
var rgba = _rgba; // purgecss whitelist: th, td, tr
|
1
|
+
// purgecss whitelist: th, td, tr
|
4
2
|
|
5
3
|
/**
|
6
|
-
* @type {import('
|
4
|
+
* @type {import('../../tailwind-types').TailwindPlugin}
|
7
5
|
*/
|
8
|
-
|
9
6
|
var tablePlugin = function tablePlugin(_ref) {
|
10
7
|
var addComponents = _ref.addComponents,
|
11
8
|
theme = _ref.theme;
|
12
9
|
addComponents({
|
13
|
-
".table-wrapper": {
|
14
|
-
border: "1px solid ".concat(theme("colors.grey.200"))
|
15
|
-
},
|
16
10
|
".table": {
|
17
11
|
width: "100%",
|
18
12
|
borderCollapse: "collapse",
|
@@ -20,6 +14,9 @@ var tablePlugin = function tablePlugin(_ref) {
|
|
20
14
|
"th, td": {
|
21
15
|
padding: "14px 16px"
|
22
16
|
},
|
17
|
+
thead: {
|
18
|
+
backgroundColor: theme("colors.grey.50")
|
19
|
+
},
|
23
20
|
th: {
|
24
21
|
borderBottom: "1px solid ".concat(theme("colors.grey.200")),
|
25
22
|
fontWeight: "normal"
|
@@ -35,19 +32,8 @@ var tablePlugin = function tablePlugin(_ref) {
|
|
35
32
|
},
|
36
33
|
".table-with-highlight": {
|
37
34
|
"tr:hover td": {
|
38
|
-
backgroundColor:
|
35
|
+
backgroundColor: theme("colors.grey.50")
|
39
36
|
}
|
40
|
-
},
|
41
|
-
".table-footer": {
|
42
|
-
backgroundColor: theme("colors.grey.100"),
|
43
|
-
display: "flex",
|
44
|
-
alignItems: "center",
|
45
|
-
justifyContent: "center",
|
46
|
-
color: theme("colors.grey.600"),
|
47
|
-
padding: "12px 16px"
|
48
|
-
},
|
49
|
-
".table-footer-small": {
|
50
|
-
padding: "4px 16px"
|
51
37
|
}
|
52
38
|
});
|
53
39
|
};
|
@@ -0,0 +1,8 @@
|
|
1
|
+
import React from "react";
|
2
|
+
export declare type FooterSizes = "default" | "small";
|
3
|
+
export interface FooterProps {
|
4
|
+
size?: FooterSizes;
|
5
|
+
children?: React.ReactNode;
|
6
|
+
}
|
7
|
+
export declare const Footer: ({ size, children }: FooterProps) => JSX.Element;
|
8
|
+
export default Footer;
|
@@ -0,0 +1,20 @@
|
|
1
|
+
import _taggedTemplateLiteral from "@babel/runtime/helpers/taggedTemplateLiteral";
|
2
|
+
|
3
|
+
var _templateObject, _templateObject2, _templateObject3;
|
4
|
+
|
5
|
+
import React from "react";
|
6
|
+
import cx from "classnames";
|
7
|
+
import stl from "../../../styles/helpers/satellitePrefixer";
|
8
|
+
export var Footer = function Footer(_ref) {
|
9
|
+
var _ref$size = _ref.size,
|
10
|
+
size = _ref$size === void 0 ? "default" : _ref$size,
|
11
|
+
children = _ref.children;
|
12
|
+
var SIZE_CLASSNAMES = {
|
13
|
+
"default": stl(_templateObject || (_templateObject = _taggedTemplateLiteral(["py-3 px-4"]))),
|
14
|
+
small: stl(_templateObject2 || (_templateObject2 = _taggedTemplateLiteral(["py-1 px-4"])))
|
15
|
+
};
|
16
|
+
return /*#__PURE__*/React.createElement("div", {
|
17
|
+
className: cx(stl(_templateObject3 || (_templateObject3 = _taggedTemplateLiteral(["bg-grey-100 border-t border-grey-200 text-grey-600 flex items-center justify-center"]))), SIZE_CLASSNAMES[size])
|
18
|
+
}, children);
|
19
|
+
};
|
20
|
+
export default Footer;
|
package/esm/index.d.ts
CHANGED
package/esm/index.js
CHANGED
@@ -146,5 +146,5 @@ export default {
|
|
146
146
|
borderWidth: ["responsive", "first"],
|
147
147
|
visibility: ["responsive", "group-hover"]
|
148
148
|
},
|
149
|
-
plugins: [require("./base.tailwind"), typography.plugin, require("../FlexGrid/FlexGrid.tailwind"), require("../AutoComplete/AutoComplete.tailwind"), require("../Button/Button.tailwind"), require("../Card/Card.tailwind"), require("../Checkbox/Checkbox.tailwind"), require("../EmptyState/EmptyState.tailwind"), require("../Flag/Flag.tailwind"), require("../HelpUnderline/HelpUnderline.tailwind"), require("../Input/Input.tailwind"), require("../InstantSearch/InstantSearch.tailwind"), require("../Medallion/Medallion.tailwind"), require("../Modal/Modal.tailwind"), require("../ProgressBar/ProgressBar.tailwind"), require("../ProgressSpinner/ProgressSpinner.tailwind"), require("../RadioGroup/RadioButton.tailwind"), require("../RangeSlider/RangeSlider.tailwind"), require("../ScrollIndicator/ScrollIndicator.tailwind"), require("../Select/Select.tailwind"), require("../Sidebar/Sidebar.tailwind"), require("../Switch/Switch.tailwind"), require("../Tabs/Tabs.tailwind"), require("../Table/Table.tailwind"), require("../Tag/Tag.tailwind"), require("../TextArea/TextArea.tailwind"), require("../Toggle/Toggle.tailwind"), require("../Tooltip/Tooltip.tailwind"), require("../UserContent/UserContent.tailwind"), require("../DatePicker/DatePicker.tailwind")]
|
149
|
+
plugins: [require("./base.tailwind"), typography.plugin, require("../FlexGrid/FlexGrid.tailwind"), require("../AutoComplete/AutoComplete.tailwind"), require("../Button/Button.tailwind"), require("../Card/Card.tailwind"), require("../Checkbox/Checkbox.tailwind"), require("../EmptyState/EmptyState.tailwind"), require("../Flag/Flag.tailwind"), require("../HelpUnderline/HelpUnderline.tailwind"), require("../Input/Input.tailwind"), require("../InstantSearch/InstantSearch.tailwind"), require("../Medallion/Medallion.tailwind"), require("../Modal/Modal.tailwind"), require("../ProgressBar/ProgressBar.tailwind"), require("../ProgressSpinner/ProgressSpinner.tailwind"), require("../RadioGroup/RadioButton.tailwind"), require("../RangeSlider/RangeSlider.tailwind"), require("../ScrollIndicator/ScrollIndicator.tailwind"), require("../Select/Select.tailwind"), require("../Sidebar/Sidebar.tailwind"), require("../Switch/Switch.tailwind"), require("../Tabs/Tabs.tailwind"), require("../Tables/DataTable/DataTable.tailwind"), require("../Tables/Table/Table.tailwind"), require("../Tag/Tag.tailwind"), require("../TextArea/TextArea.tailwind"), require("../Toggle/Toggle.tailwind"), require("../Tooltip/Tooltip.tailwind"), require("../UserContent/UserContent.tailwind"), require("../DatePicker/DatePicker.tailwind")]
|
150
150
|
};
|
package/esm/utils/index.d.ts
CHANGED
@@ -4,4 +4,5 @@ export { range } from "./range";
|
|
4
4
|
export { uniqBy } from "./uniqBy";
|
5
5
|
export { uniqueId } from "./uniqueId";
|
6
6
|
export { isNil } from "./isNil";
|
7
|
+
export { toSentenceCase } from "./toSentenceCase";
|
7
8
|
export declare type Omit<T, K extends keyof T> = Pick<T, Exclude<keyof T, K>>;
|
package/esm/utils/index.js
CHANGED
@@ -3,4 +3,5 @@ export { pluralize } from "./pluralize";
|
|
3
3
|
export { range } from "./range";
|
4
4
|
export { uniqBy } from "./uniqBy";
|
5
5
|
export { uniqueId } from "./uniqueId";
|
6
|
-
export { isNil } from "./isNil";
|
6
|
+
export { isNil } from "./isNil";
|
7
|
+
export { toSentenceCase } from "./toSentenceCase";
|
@@ -0,0 +1,9 @@
|
|
1
|
+
import capitalize from "lodash/capitalize";
|
2
|
+
/** Converts PascalCase and camelCase to Sentence case */
|
3
|
+
|
4
|
+
export var toSentenceCase = function toSentenceCase(str) {
|
5
|
+
var firstChar = str.charAt(0);
|
6
|
+
var remainingChars = str.slice(1).replace(/\s/g, "").replace(/([A-Z]+)/g, "$1").replace(/([A-Z][a-z])/g, " $1").trim();
|
7
|
+
return capitalize("".concat(firstChar).concat(remainingChars));
|
8
|
+
};
|
9
|
+
export default toSentenceCase;
|
package/package.json
CHANGED
package/satellite.css
CHANGED
@@ -2602,8 +2602,12 @@ html, body {
|
|
2602
2602
|
outline: none;
|
2603
2603
|
}
|
2604
2604
|
|
2605
|
-
.stl-
|
2606
|
-
|
2605
|
+
.stl-datatable tr.stl-row-disabled td {
|
2606
|
+
cursor: not-allowed;
|
2607
|
+
}
|
2608
|
+
|
2609
|
+
.stl-datatable tr:not(.stl-row-disabled):hover td {
|
2610
|
+
background-color: #fcfcfd;
|
2607
2611
|
}
|
2608
2612
|
|
2609
2613
|
.stl-table {
|
@@ -2616,6 +2620,10 @@ html, body {
|
|
2616
2620
|
padding: 14px 16px;
|
2617
2621
|
}
|
2618
2622
|
|
2623
|
+
.stl-table thead {
|
2624
|
+
background-color: #fcfcfd;
|
2625
|
+
}
|
2626
|
+
|
2619
2627
|
.stl-table th {
|
2620
2628
|
border-bottom: 1px solid #d6d6e7;
|
2621
2629
|
font-weight: normal;
|
@@ -2630,20 +2638,7 @@ html, body {
|
|
2630
2638
|
}
|
2631
2639
|
|
2632
2640
|
.stl-table-with-highlight tr:hover td {
|
2633
|
-
background-color:
|
2634
|
-
}
|
2635
|
-
|
2636
|
-
.stl-table-footer {
|
2637
|
-
background-color: #f5f5fa;
|
2638
|
-
display: flex;
|
2639
|
-
align-items: center;
|
2640
|
-
justify-content: center;
|
2641
|
-
color: #5a5e9a;
|
2642
|
-
padding: 12px 16px;
|
2643
|
-
}
|
2644
|
-
|
2645
|
-
.stl-table-footer-small {
|
2646
|
-
padding: 4px 16px;
|
2641
|
+
background-color: #fcfcfd;
|
2647
2642
|
}
|
2648
2643
|
|
2649
2644
|
.stl-tag {
|
@@ -3104,6 +3099,10 @@ input:disabled ~ .stl-toggle {
|
|
3104
3099
|
text-align: center;
|
3105
3100
|
}
|
3106
3101
|
|
3102
|
+
.stl-date-picker .DayPicker-Months, .stl-date-range-picker .DayPicker-Months {
|
3103
|
+
align-items: start;
|
3104
|
+
}
|
3105
|
+
|
3107
3106
|
.stl-date-picker .DayPicker-Day, .stl-date-range-picker .DayPicker-Day {
|
3108
3107
|
border-radius: 3px;
|
3109
3108
|
}
|
@@ -3122,8 +3121,9 @@ input:disabled ~ .stl-toggle {
|
|
3122
3121
|
border-radius: 9999px;
|
3123
3122
|
width: 32px;
|
3124
3123
|
height: 32px;
|
3125
|
-
left:
|
3126
|
-
top:
|
3124
|
+
left: 50%;
|
3125
|
+
top: 50%;
|
3126
|
+
transform: translate(-50%, -50%);
|
3127
3127
|
z-index: -1;
|
3128
3128
|
}
|
3129
3129
|
|