@gridkitjs/theme-tailwind 0.12.0 → 0.13.0

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.
Files changed (3) hide show
  1. package/README.md +13 -13
  2. package/package.json +1 -1
  3. package/src/styles.css +345 -297
package/README.md CHANGED
@@ -18,7 +18,7 @@ Import it after Tailwind, in the stylesheet where you import `tailwindcss`:
18
18
  ```
19
19
 
20
20
  That is all — `@gridkitjs/react` renders semantic class names
21
- (`gridkit-data-grid`, `header-cell`, `grid-row`), and this stylesheet targets
21
+ (`gridkit-data-grid`, `gridkit-header-cell`, `gridkit-grid-row`), and this stylesheet targets
22
22
  them directly. Nothing needs to scan the component source.
23
23
 
24
24
  ## Dark mode
@@ -95,18 +95,18 @@ highlight under the pointer.
95
95
 
96
96
  The grid marks its own state, so a consumer's CSS can reach it too:
97
97
 
98
- | Class | On |
99
- | ------------------------------------------------------------- | --------------------------------------------------------------------------------------------- |
100
- | `is-selected` | A selected `grid-row`, `header-cell` or `grid-cell` |
101
- | `is-resizing` / `is-dragging` | The column being resized or dragged |
102
- | `is-drop-before` / `is-drop-after` | Where a dragged column would land |
103
- | `is-reorderable` / `is-wrapped` | A header that drags; a cell that wraps |
104
- | `selectable-rows` / `selectable-columns` / `selectable-cells` | On the grid, per `selectable` |
105
- | `no-hover-rows` / `no-hover-columns` / `no-hover-cells` | On the grid, per `hoverable` |
106
- | `is-sorted-asc` / `is-sorted-desc` | A header's `header-sort-toggle` while its column sorts |
107
- | `is-grouped` | A header's `header-group-toggle` while its column is grouped |
108
- | `is-expanded` | A group row's `group-toggle` while the group is open |
109
- | `is-drag-target` / `is-drag-blocked` | The group-by bar while a drag can drop on it; while a header already grouped is dragged at it |
98
+ | Class | On |
99
+ | ------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- |
100
+ | `is-selected` | A selected `gridkit-grid-row`, `gridkit-header-cell` or `gridkit-grid-cell` |
101
+ | `is-resizing` / `is-dragging` | The column being resized or dragged |
102
+ | `is-drop-before` / `is-drop-after` | Where a dragged column would land |
103
+ | `is-reorderable` / `is-wrapped` | A header that drags; a cell that wraps |
104
+ | `gridkit-selectable-rows` / `gridkit-selectable-columns` / `gridkit-selectable-cells` | On the grid, per `selectable` |
105
+ | `gridkit-no-hover-rows` / `gridkit-no-hover-columns` / `gridkit-no-hover-cells` | On the grid, per `hoverable` |
106
+ | `is-sorted-asc` / `is-sorted-desc` | A header's `gridkit-header-sort-toggle` while its column sorts |
107
+ | `is-grouped` | A header's `gridkit-header-group-toggle` while its column is grouped |
108
+ | `is-expanded` | A group row's `gridkit-group-toggle` while the group is open |
109
+ | `is-drag-target` / `is-drag-blocked` | The group-by bar while a drag can drop on it; while a header already grouped is dragged at it |
110
110
 
111
111
  The `selectable-*` classes enable and the `no-hover-*` classes disable, because
112
112
  selection is off by default and hover is on — each follows its own default.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gridkitjs/theme-tailwind",
3
- "version": "0.12.0",
3
+ "version": "0.13.0",
4
4
  "description": "Tailwind v4 theme for GridKit — palette tokens, dark mode and grid styles.",
5
5
  "license": "MIT",
6
6
  "author": "Blagoja Blazhevski",