@botiverse/raft-ui 0.52.2 → 0.52.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/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,15 @@
|
|
|
1
|
+
## [0.52.4](https://github.com/botiverse/raft-design/compare/v0.52.3...v0.52.4) (2026-10-30)
|
|
2
|
+
|
|
3
|
+
### Fixed
|
|
4
|
+
|
|
5
|
+
- **0.52.3 carried unrelated class rewrites by accident; they are undone:** 33 components had their classes rewritten into canonical Tailwind forms along with the disabled Select fix (for example the task chip's `text-[12px] leading-4` became `text-[12px]/4`). Those files are back to 0.52.2 exactly; only the disabled Select fix from 0.52.3 remains. Skip 0.52.3 and upgrade to 0.52.4. ([#897](https://github.com/botiverse/raft-design/pull/897))
|
|
6
|
+
|
|
7
|
+
## [0.52.3](https://github.com/botiverse/raft-design/compare/v0.52.2...v0.52.3) (2026-10-30)
|
|
8
|
+
|
|
9
|
+
### Fixed
|
|
10
|
+
|
|
11
|
+
- **A disabled Select greys its placeholder and chevron:** they now take `foreground-disabled` like the rest of a disabled field, whether the Select, its trigger, a Field or a native `<fieldset>` disables it, and also when the trigger is a PickerTriggerButton. Before, they kept the darker hint ink. ([#895](https://github.com/botiverse/raft-design/pull/895))
|
|
12
|
+
|
|
1
13
|
## [0.52.2](https://github.com/botiverse/raft-design/compare/v0.52.1...v0.52.2) (2026-10-29)
|
|
2
14
|
|
|
3
15
|
### Fixed
|
|
@@ -21,6 +21,7 @@ const pickerTriggerButton = tv({ base: [
|
|
|
21
21
|
"disabled:bg-fill-muted disabled:text-foreground-disabled disabled:opacity-100 disabled:inset-ring-0",
|
|
22
22
|
"[&_svg:not([class*='size-'])]:size-3.5 [&_svg:not([class*='stroke-'])]:stroke-2",
|
|
23
23
|
"**:data-picker-trigger-indicator:text-foreground-hint **:data-picker-trigger-indicator:opacity-100",
|
|
24
|
+
"disabled:**:data-picker-trigger-indicator:text-foreground-disabled data-disabled:**:data-picker-trigger-indicator:text-foreground-disabled",
|
|
24
25
|
"[&_[data-picker-trigger-indicator]>svg]:size-3.5 [&_[data-picker-trigger-indicator]>svg]:stroke-2 [&_[data-picker-trigger-indicator]>svg_*]:stroke-2"
|
|
25
26
|
] });
|
|
26
27
|
function PickerTriggerButton({ className, render, nativeButton, ...props }) {
|
|
@@ -22,6 +22,8 @@ const select = tv({
|
|
|
22
22
|
"hover:bg-none",
|
|
23
23
|
"text-subhead font-semibold text-foreground",
|
|
24
24
|
"data-placeholder:font-medium data-placeholder:text-foreground-hint",
|
|
25
|
+
"data-disabled:data-placeholder:text-foreground-disabled disabled:data-placeholder:text-foreground-disabled",
|
|
26
|
+
"data-disabled:**:data-[slot='select-icon']:text-foreground-disabled disabled:**:data-[slot='select-icon']:text-foreground-disabled",
|
|
25
27
|
"data-invalid:border-danger-strong data-invalid:hover:border-danger-strong",
|
|
26
28
|
"data-invalid:focus-visible:border-danger-strong data-invalid:focus-visible:ring-0",
|
|
27
29
|
"[&_[data-slot='select-trigger-content']_svg:not([class*='size-'])]:size-4",
|