Skip to content

Commit 4afd730

Browse files
Version Packages (#1339)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
1 parent 7a4b677 commit 4afd730

6 files changed

Lines changed: 18 additions & 24 deletions

.changeset/strict-board-cross-swaps.md

Lines changed: 0 additions & 5 deletions
This file was deleted.

.changeset/tables-grow-branches.md

Lines changed: 0 additions & 5 deletions
This file was deleted.

.changeset/tasty-relative-alpha.md

Lines changed: 0 additions & 5 deletions
This file was deleted.

.changeset/textarea-autosize-off-screen-measure.md

Lines changed: 0 additions & 8 deletions
This file was deleted.

CHANGELOG.md

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,22 @@
11
# @cube-dev/ui-kit
22

3+
## 0.165.0
4+
5+
### Minor Changes
6+
7+
- [#1338](https://github.com/cube-js/cube-ui-kit/pull/1338) [`4ffa6e03`](https://github.com/cube-js/cube-ui-kit/commit/4ffa6e03dc359d4226b2df4002f38a5811d42fdc) Thanks [@tenphi](https://github.com/tenphi)! - Add accessible nested tree rows, expansion state, hierarchy-aware operations, cascading ItemTable selection, grouped DataTable headers for pivoted results, and intrinsic table sizing with `isAutoHeight`.
8+
9+
### Patch Changes
10+
11+
- [#1343](https://github.com/cube-js/cube-ui-kit/pull/1343) [`947bd472`](https://github.com/cube-js/cube-ui-kit/commit/947bd472dc7de93265282eedd950c58c8c4ed386) Thanks [@tenphi](https://github.com/tenphi)! - Make Board's `collisionMode="swap"` source-aware: cross-board drops now insert only at an empty anchor, downscale without moving destination widgets, and cancel invalid transfers.
12+
13+
- [#1341](https://github.com/cube-js/cube-ui-kit/pull/1341) [`7a4b6778`](https://github.com/cube-js/cube-ui-kit/commit/7a4b6778bbc859f04394d7732362413a5436e6c5) Thanks [@tenphi](https://github.com/tenphi)! - Update Tasty to 3.1.0. Colour-token opacity is now applied with CSS relative colour syntax instead of the token's channel components, so every `#token.N` value — `#surface-text.04`, `#purple.10` and the rest — emits `oklch(from var(--surface-text-color) l c h / .04)`. The colours are unchanged, `#current.N` still composes with the alpha it inherits, and the `--*-color-rgb` companion variables are untouched, so raw CSS that reads them directly (`rgb(var(--primary-color-rgb) / .2)` in `GlobalStyles`) keeps working. Tasty also now treats `light-dark()` and `contrast-color()` as colours, alongside `color-mix()` and `color()`.
14+
15+
- [#1337](https://github.com/cube-js/cube-ui-kit/pull/1337) [`4594454b`](https://github.com/cube-js/cube-ui-kit/commit/4594454b8df49978de6a33f489e2871dfbdd5303) Thanks [@tenphi](https://github.com/tenphi)! - `TextArea` / `CommandTextArea`: `autoSize` no longer disturbs the page while typing, and a single line is one row again.
16+
17+
- **The height is now measured off-screen instead of on the live textarea.** Measuring used to set `height: auto` on the real element, force a layout, then restore it — twice per keystroke. Any ancestor sharing the column re-laid out mid-keystroke, so in a chat layout the transcript's scroll viewport grew by the collapsed rows and its scroll offset moved; the browser's scroll anchoring undid that imperfectly, which reads as the whole conversation bouncing a pixel in the rhythm of typing. A textarea already grown past its `rows` minimum — the everyday state of a chat prompt — lost 40px of scroll offset per keystroke with anchoring out of the way.
18+
- **Row counting is fixed.** `height: auto` sizes a textarea from its `rows` attribute and the font's own metrics, and that height was being divided by CSS `line-height` to get a row count. Where the line height is tighter than the font's natural line box, one line of text counted as two rows, so an `autoSize` textarea with `rows={1}` rendered a row taller than its content. Row counting now rounds a measured content height that carries no such floor, which also stops a fractional line height (a zoomed page, a percentage preset) from adding a phantom row.
19+
320
## 0.164.0
421

522
### Minor Changes

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@cube-dev/ui-kit",
3-
"version": "0.164.0",
3+
"version": "0.165.0",
44
"type": "module",
55
"description": "UIKit for Cube Projects",
66
"repository": {

0 commit comments

Comments
 (0)