schummar-table 1.0.0-beta.2 → 1.0.0-beta.4

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 CHANGED
@@ -204,7 +204,8 @@ always wins. `classes.row/cell` and `styles.row/cell` also take a function of th
204
204
  class names or constant styles there: function styles run for every cell render.
205
205
 
206
206
  Components, icons, texts and colors are replaced through a theme, per table or for all tables via
207
- `TableSettingsProvider`. MUI themes ship as separate entry points:
207
+ `TableSettingsProvider`. MUI and Mantine themes ship as separate entry points
208
+ (`schummar-table/mui5Theme`, `schummar-table/mantineTheme`):
208
209
 
209
210
  ```tsx
210
211
  import { Mui5TableThemeProvider } from 'schummar-table/mui5Theme';
@@ -214,6 +215,14 @@ import { Mui5TableThemeProvider } from 'schummar-table/mui5Theme';
214
215
  </Mui5TableThemeProvider>;
215
216
  ```
216
217
 
218
+ `MantineTableThemeProvider` goes inside `MantineProvider` and takes its colors from Mantine's CSS
219
+ variables, so it follows the color scheme without re-rendering. Its date picker is the one from
220
+ `@mantine/dates`; import `@mantine/dates/styles.css` next to `@mantine/core/styles.css`.
221
+
222
+ The date picker is a theme component too (`components.DatePicker`). It receives the props with
223
+ `DatePickerProvider` defaults applied and min/max clamping done; `DatePickerQuickOptions` renders
224
+ the quick option buttons for a custom one.
225
+
217
226
  ## Upgrading from 0.x
218
227
 
219
228
  1.0 changes the filter API, the `virtual` options and a few others. The package ships an agent