@botiverse/raft-ui 0.10.1 → 0.10.2
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 +6 -0
- package/dist/index.mjs +9 -5
- package/dist/styles.css +3 -2
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,9 @@
|
|
|
1
|
+
## [0.10.2](https://github.com/botiverse/raft-design/compare/v0.10.1...v0.10.2) (2026-10-20)
|
|
2
|
+
|
|
3
|
+
### Fixed
|
|
4
|
+
|
|
5
|
+
- `PanelAction` and `PanelToggleAction` follow the same desktop condition as every other control (`(width >= 48rem) and (pointer: fine)`). On a touch tablet they were 32px while the rest stayed 44px; they now keep 44px with 22px icons there. Phone and desktop sizes are unchanged. ([#605](https://github.com/botiverse/raft-design/pull/605))
|
|
6
|
+
|
|
1
7
|
## [0.10.1](https://github.com/botiverse/raft-design/compare/v0.10.0...v0.10.1) (2026-10-20)
|
|
2
8
|
|
|
3
9
|
### Fixed
|
package/dist/index.mjs
CHANGED
|
@@ -194,9 +194,12 @@ const panelHeadEdges = [
|
|
|
194
194
|
/**
|
|
195
195
|
* A head's trailing actions. The last glyph ends on the head's edge: 20px on
|
|
196
196
|
* desktop (12px of padding, 1px here, the 32px button's 7px glyph inset); on
|
|
197
|
-
* a phone 14px in (44px buttons, 11px inset), mirroring a leading Back.
|
|
197
|
+
* a phone 14px in (44px buttons, 11px inset), mirroring a leading Back. The
|
|
198
|
+
* margin and gap follow the button's size, not the layout: a touch screen
|
|
199
|
+
* from 768px has the desktop head with 44px buttons, so -3px puts its last
|
|
200
|
+
* glyph on 20px too.
|
|
198
201
|
*/
|
|
199
|
-
const panelHeadActions = "flex shrink-0 items-center gap-0.5 mr-[-3px] md:mr-px md:gap-1";
|
|
202
|
+
const panelHeadActions = "flex shrink-0 items-center gap-0.5 mr-[-3px] md:pointer-fine:mr-px md:pointer-fine:gap-1";
|
|
200
203
|
/**
|
|
201
204
|
* `header` and `sectionHeader` share one bar, expressed through
|
|
202
205
|
* `compoundSlots`: a 56px row (the shell header height) with a seam under it.
|
|
@@ -13488,12 +13491,13 @@ const panelActionBase = tv({ base: [
|
|
|
13488
13491
|
"overflow-visible font-sans leading-none tabular-nums select-none outline-none",
|
|
13489
13492
|
"transition-all duration-100",
|
|
13490
13493
|
"[&>svg]:pointer-events-none [&>svg]:shrink-0",
|
|
13491
|
-
"h-
|
|
13492
|
-
"
|
|
13494
|
+
"h-control min-w-control rounded-control border-[1.5px] border-transparent bg-transparent py-0",
|
|
13495
|
+
"px-2 md:pointer-fine:px-[5px]",
|
|
13496
|
+
"after:absolute after:-inset-control-hit",
|
|
13493
13497
|
"text-foreground",
|
|
13494
13498
|
"hover:bg-fill-pressed active:bg-fill-pressed",
|
|
13495
13499
|
"focus-visible:shadow-focus",
|
|
13496
|
-
"[&>svg]:size-
|
|
13500
|
+
"[&>svg]:size-control-icon"
|
|
13497
13501
|
] });
|
|
13498
13502
|
const panelAction = tv({
|
|
13499
13503
|
extend: panelActionBase,
|
package/dist/styles.css
CHANGED
|
@@ -359,8 +359,9 @@
|
|
|
359
359
|
`after:-inset-y-control-hit`, which is 0 on a phone.
|
|
360
360
|
|
|
361
361
|
Consumers: `Input`, `InputGroup`, `SelectTrigger`,
|
|
362
|
-
`ComboboxControl`, `ComboboxChips`, `ComboboxSelect`,
|
|
363
|
-
`xl` (`h-control-cta`) and `icon-lg` (`size-control-icon`
|
|
362
|
+
`ComboboxControl`, `ComboboxChips`, `ComboboxSelect`, `PanelAction`, and
|
|
363
|
+
Button at `lg`, `xl` (`h-control-cta`) and `icon-lg` (`size-control-icon`
|
|
364
|
+
for its icon). */
|
|
364
365
|
--spacing-control: var(--control-height);
|
|
365
366
|
--spacing-control-cta: var(--control-height-cta);
|
|
366
367
|
--spacing-control-icon: var(--control-icon-size);
|