trotl-table 1.0.105 → 1.0.106
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/README.md +1 -0
- package/dist/Table.cjs.js +1 -1
- package/dist/Table.cjs.js.map +1 -1
- package/dist/Table.esm.js +1 -1
- package/dist/Table.esm.js.map +1 -1
- package/dist/index.css +1 -1
- package/dist/index.css.map +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -126,6 +126,7 @@ export default function Demo() {
|
|
|
126
126
|
- `"power"`: bold charcoal header with warm amber selection/focus states and ivory row banding.
|
|
127
127
|
- `"lady"`: refined plum header with rose selection/focus states and soft blush row banding.
|
|
128
128
|
- `"amazing"`: airy white audit-table styling with a pale slate header, uppercase muted labels, fine separators, and generous `60px` rows. The header and group headers are `42px` tall.
|
|
129
|
+
Automatically switches to a dark slate palette when an ancestor (such as `<html>`) has `data-theme="dark"`. Remove the attribute or set it to `"light"` to restore the light palette. Row sizes remain unchanged.
|
|
129
130
|
- Missing or unrecognized values retain the default appearance.
|
|
130
131
|
- `isGrouped`: enable grouped mode (true/false)
|
|
131
132
|
- `groupKey`: key to group rows by
|
package/dist/Table.cjs.js
CHANGED
|
@@ -11563,7 +11563,7 @@ function TableInner({
|
|
|
11563
11563
|
style: {
|
|
11564
11564
|
padding: 24,
|
|
11565
11565
|
textAlign: "center",
|
|
11566
|
-
color: "#666"
|
|
11566
|
+
color: "var(--table-muted, #666)"
|
|
11567
11567
|
}
|
|
11568
11568
|
}, translate("noData")) : /*#__PURE__*/React.createElement(AutoSizer, null, ({
|
|
11569
11569
|
height,
|