@homebound/beam 3.108.1 → 3.108.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/dist/Css.json +25 -1
- package/dist/index.cjs +1316 -1299
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +112 -31
- package/dist/index.d.ts +112 -31
- package/dist/index.js +1433 -1416
- package/dist/index.js.map +1 -1
- package/dist/truss.css +42 -38
- package/package.json +2 -2
package/dist/index.d.cts
CHANGED
|
@@ -159,6 +159,42 @@ type Opts<T> = {
|
|
|
159
159
|
declare class CssBuilder<T extends Properties, S extends StyleKind = "buildtime"> {
|
|
160
160
|
private opts;
|
|
161
161
|
constructor(opts: Opts<T>);
|
|
162
|
+
/** Sets `animation: value`. */
|
|
163
|
+
animation(value: Properties["animation"]): CssBuilder<T & {
|
|
164
|
+
animation: csstype.Property.Animation<string> | undefined;
|
|
165
|
+
}, S>;
|
|
166
|
+
/** Sets `animationDelay: value`. */
|
|
167
|
+
animationDelay(value: Properties["animationDelay"]): CssBuilder<T & {
|
|
168
|
+
animationDelay: csstype.Property.AnimationDelay<string> | undefined;
|
|
169
|
+
}, S>;
|
|
170
|
+
/** Sets `animationDirection: value`. */
|
|
171
|
+
animationDirection(value: Properties["animationDirection"]): CssBuilder<T & {
|
|
172
|
+
animationDirection: csstype.Property.AnimationDirection | undefined;
|
|
173
|
+
}, S>;
|
|
174
|
+
/** Sets `animationDuration: value`. */
|
|
175
|
+
animationDuration(value: Properties["animationDuration"]): CssBuilder<T & {
|
|
176
|
+
animationDuration: csstype.Property.AnimationDuration<string> | undefined;
|
|
177
|
+
}, S>;
|
|
178
|
+
/** Sets `animationFillMode: value`. */
|
|
179
|
+
animationFillMode(value: Properties["animationFillMode"]): CssBuilder<T & {
|
|
180
|
+
animationFillMode: csstype.Property.AnimationFillMode | undefined;
|
|
181
|
+
}, S>;
|
|
182
|
+
/** Sets `animationIterationCount: value`. */
|
|
183
|
+
animationIterationCount(value: Properties["animationIterationCount"]): CssBuilder<T & {
|
|
184
|
+
animationIterationCount: csstype.Property.AnimationIterationCount | undefined;
|
|
185
|
+
}, S>;
|
|
186
|
+
/** Sets `animationName: value`. */
|
|
187
|
+
animationName(value: Properties["animationName"]): CssBuilder<T & {
|
|
188
|
+
animationName: csstype.Property.AnimationName | undefined;
|
|
189
|
+
}, S>;
|
|
190
|
+
/** Sets `animationPlayState: value`. */
|
|
191
|
+
animationPlayState(value: Properties["animationPlayState"]): CssBuilder<T & {
|
|
192
|
+
animationPlayState: csstype.Property.AnimationPlayState | undefined;
|
|
193
|
+
}, S>;
|
|
194
|
+
/** Sets `animationTimingFunction: value`. */
|
|
195
|
+
animationTimingFunction(value: Properties["animationTimingFunction"]): CssBuilder<T & {
|
|
196
|
+
animationTimingFunction: csstype.Property.AnimationTimingFunction | undefined;
|
|
197
|
+
}, S>;
|
|
162
198
|
/** Sets `borderStyle: "solid"; borderWidth: "1px"`. */
|
|
163
199
|
get ba(): CssBuilder<T & {
|
|
164
200
|
borderStyle: csstype.Property.BorderStyle | undefined;
|
|
@@ -3695,6 +3731,74 @@ declare class CssBuilder<T extends Properties, S extends StyleKind = "buildtime"
|
|
|
3695
3731
|
tt(value: Properties["textTransform"]): CssBuilder<T & {
|
|
3696
3732
|
textTransform: csstype.Property.TextTransform | undefined;
|
|
3697
3733
|
}, S>;
|
|
3734
|
+
/** Sets `backfaceVisibility: value`. */
|
|
3735
|
+
backfaceVisibility(value: Properties["backfaceVisibility"]): CssBuilder<T & {
|
|
3736
|
+
backfaceVisibility: csstype.Property.BackfaceVisibility | undefined;
|
|
3737
|
+
}, S>;
|
|
3738
|
+
/** Sets `perspective: value`. */
|
|
3739
|
+
perspective(value: Properties["perspective"]): CssBuilder<T & {
|
|
3740
|
+
perspective: csstype.Property.Perspective<string | 0> | undefined;
|
|
3741
|
+
}, S>;
|
|
3742
|
+
/** Sets `perspectiveOrigin: value`. */
|
|
3743
|
+
perspectiveOrigin(value: Properties["perspectiveOrigin"]): CssBuilder<T & {
|
|
3744
|
+
perspectiveOrigin: csstype.Property.PerspectiveOrigin<string | 0> | undefined;
|
|
3745
|
+
}, S>;
|
|
3746
|
+
/** Sets `rotate: value`. */
|
|
3747
|
+
rotate(value: Properties["rotate"]): CssBuilder<T & {
|
|
3748
|
+
rotate: csstype.Property.Rotate | undefined;
|
|
3749
|
+
}, S>;
|
|
3750
|
+
/** Sets `scale: value`. */
|
|
3751
|
+
scale(value: Properties["scale"]): CssBuilder<T & {
|
|
3752
|
+
scale: csstype.Property.Scale | undefined;
|
|
3753
|
+
}, S>;
|
|
3754
|
+
/** Sets `transform: value`. */
|
|
3755
|
+
transform(value: Properties["transform"]): CssBuilder<T & {
|
|
3756
|
+
transform: csstype.Property.Transform | undefined;
|
|
3757
|
+
}, S>;
|
|
3758
|
+
/** Sets `transformBox: value`. */
|
|
3759
|
+
transformBox(value: Properties["transformBox"]): CssBuilder<T & {
|
|
3760
|
+
transformBox: csstype.Property.TransformBox | undefined;
|
|
3761
|
+
}, S>;
|
|
3762
|
+
/** Sets `transformOrigin: value`. */
|
|
3763
|
+
transformOrigin(value: Properties["transformOrigin"]): CssBuilder<T & {
|
|
3764
|
+
transformOrigin: csstype.Property.TransformOrigin<string | 0> | undefined;
|
|
3765
|
+
}, S>;
|
|
3766
|
+
/** Sets `transformStyle: value`. */
|
|
3767
|
+
transformStyle(value: Properties["transformStyle"]): CssBuilder<T & {
|
|
3768
|
+
transformStyle: csstype.Property.TransformStyle | undefined;
|
|
3769
|
+
}, S>;
|
|
3770
|
+
/** Sets `translate: value`. */
|
|
3771
|
+
translate(value: Properties["translate"]): CssBuilder<T & {
|
|
3772
|
+
translate: csstype.Property.Translate<string | 0> | undefined;
|
|
3773
|
+
}, S>;
|
|
3774
|
+
/** Sets `transition: "background-color 200ms cubic-bezier(0.4, 0, 0.2, 1), border-color 200ms cubic-bezier(0.4, 0, 0.2, 1), box-shadow 200ms cubic-bezier(0.4, 0, 0.2, 1), left 200ms cubic-bezier(0.4, 0, 0.2, 1), right 200ms cubic-bezier(0.4, 0, 0.2, 1), margin 200ms cubic-bezier(0.4, 0, 0.2, 1), width 200ms cubic-bezier(0.4, 0, 0.2, 1), opacity 200ms cubic-bezier(0.4, 0, 0.2, 1)"`. */
|
|
3775
|
+
get transition(): CssBuilder<T & {
|
|
3776
|
+
transition: csstype.Property.Transition<string> | undefined;
|
|
3777
|
+
}, S>;
|
|
3778
|
+
/** Sets `transition: "width 200ms cubic-bezier(0.4, 0, 0.2, 1)"`. */
|
|
3779
|
+
get transitionWidth(): CssBuilder<T & {
|
|
3780
|
+
transition: csstype.Property.Transition<string> | undefined;
|
|
3781
|
+
}, S>;
|
|
3782
|
+
/** Sets `transition: "opacity 200ms cubic-bezier(0.4, 0, 0.2, 1)"`. */
|
|
3783
|
+
get transitionOpacity(): CssBuilder<T & {
|
|
3784
|
+
transition: csstype.Property.Transition<string> | undefined;
|
|
3785
|
+
}, S>;
|
|
3786
|
+
/** Sets `transition: "transform 200ms cubic-bezier(0.4, 0, 0.2, 1)"`. */
|
|
3787
|
+
get transitionTransform(): CssBuilder<T & {
|
|
3788
|
+
transition: csstype.Property.Transition<string> | undefined;
|
|
3789
|
+
}, S>;
|
|
3790
|
+
/** Sets `transition: "height 200ms cubic-bezier(0.4, 0, 0.2, 1)"`. */
|
|
3791
|
+
get transitionHeight(): CssBuilder<T & {
|
|
3792
|
+
transition: csstype.Property.Transition<string> | undefined;
|
|
3793
|
+
}, S>;
|
|
3794
|
+
/** Sets `transition: "top 200ms cubic-bezier(0.4, 0, 0.2, 1)"`. */
|
|
3795
|
+
get transitionTop(): CssBuilder<T & {
|
|
3796
|
+
transition: csstype.Property.Transition<string> | undefined;
|
|
3797
|
+
}, S>;
|
|
3798
|
+
/** Sets `transition: "all 200ms cubic-bezier(0.4, 0, 0.2, 1)"`. */
|
|
3799
|
+
get transitionAll(): CssBuilder<T & {
|
|
3800
|
+
transition: csstype.Property.Transition<string> | undefined;
|
|
3801
|
+
}, S>;
|
|
3698
3802
|
/** Sets `fontWeight: 400; fontSize: "10px"; lineHeight: "14px"`. */
|
|
3699
3803
|
get xs2(): CssBuilder<T & {
|
|
3700
3804
|
fontWeight: csstype.Property.FontWeight | undefined;
|
|
@@ -4171,34 +4275,6 @@ declare class CssBuilder<T extends Properties, S extends StyleKind = "buildtime"
|
|
|
4171
4275
|
} & {
|
|
4172
4276
|
position: csstype.Property.Position | undefined;
|
|
4173
4277
|
}, S>;
|
|
4174
|
-
/** Sets `transition: "background-color 200ms cubic-bezier(0.4, 0, 0.2, 1), border-color 200ms cubic-bezier(0.4, 0, 0.2, 1), box-shadow 200ms cubic-bezier(0.4, 0, 0.2, 1), left 200ms cubic-bezier(0.4, 0, 0.2, 1), right 200ms cubic-bezier(0.4, 0, 0.2, 1), margin 200ms cubic-bezier(0.4, 0, 0.2, 1), width 200ms cubic-bezier(0.4, 0, 0.2, 1), opacity 200ms cubic-bezier(0.4, 0, 0.2, 1)"`. */
|
|
4175
|
-
get transition(): CssBuilder<T & {
|
|
4176
|
-
transition: csstype.Property.Transition<string> | undefined;
|
|
4177
|
-
}, S>;
|
|
4178
|
-
/** Sets `transition: "width 200ms cubic-bezier(0.4, 0, 0.2, 1)"`. */
|
|
4179
|
-
get transitionWidth(): CssBuilder<T & {
|
|
4180
|
-
transition: csstype.Property.Transition<string> | undefined;
|
|
4181
|
-
}, S>;
|
|
4182
|
-
/** Sets `transition: "opacity 200ms cubic-bezier(0.4, 0, 0.2, 1)"`. */
|
|
4183
|
-
get transitionOpacity(): CssBuilder<T & {
|
|
4184
|
-
transition: csstype.Property.Transition<string> | undefined;
|
|
4185
|
-
}, S>;
|
|
4186
|
-
/** Sets `transition: "transform 200ms cubic-bezier(0.4, 0, 0.2, 1)"`. */
|
|
4187
|
-
get transitionTransform(): CssBuilder<T & {
|
|
4188
|
-
transition: csstype.Property.Transition<string> | undefined;
|
|
4189
|
-
}, S>;
|
|
4190
|
-
/** Sets `transition: "height 200ms cubic-bezier(0.4, 0, 0.2, 1)"`. */
|
|
4191
|
-
get transitionHeight(): CssBuilder<T & {
|
|
4192
|
-
transition: csstype.Property.Transition<string> | undefined;
|
|
4193
|
-
}, S>;
|
|
4194
|
-
/** Sets `transition: "top 200ms cubic-bezier(0.4, 0, 0.2, 1)"`. */
|
|
4195
|
-
get transitionTop(): CssBuilder<T & {
|
|
4196
|
-
transition: csstype.Property.Transition<string> | undefined;
|
|
4197
|
-
}, S>;
|
|
4198
|
-
/** Sets `transition: "all 200ms cubic-bezier(0.4, 0, 0.2, 1)"`. */
|
|
4199
|
-
get transitionAll(): CssBuilder<T & {
|
|
4200
|
-
transition: csstype.Property.Transition<string> | undefined;
|
|
4201
|
-
}, S>;
|
|
4202
4278
|
/** Sets `fontWeight: 600; fontSize: "14px"; lineHeight: "20px"; outline: 0; borderRadius: "8px"; display: "inline-flex"; alignItems: "center"; whiteSpace: "nowrap"; transition: "background-color 200ms cubic-bezier(0.4, 0, 0.2, 1), border-color 200ms cubic-bezier(0.4, 0, 0.2, 1), box-shadow 200ms cubic-bezier(0.4, 0, 0.2, 1), left 200ms cubic-bezier(0.4, 0, 0.2, 1), right 200ms cubic-bezier(0.4, 0, 0.2, 1), margin 200ms cubic-bezier(0.4, 0, 0.2, 1), width 200ms cubic-bezier(0.4, 0, 0.2, 1), opacity 200ms cubic-bezier(0.4, 0, 0.2, 1)"`. */
|
|
4203
4279
|
get buttonBase(): CssBuilder<T & {
|
|
4204
4280
|
fontWeight: csstype.Property.FontWeight | undefined;
|
|
@@ -5274,6 +5350,7 @@ declare class RowState<R extends Kinded> {
|
|
|
5274
5350
|
*/
|
|
5275
5351
|
pinned: boolean;
|
|
5276
5352
|
private _aiMode;
|
|
5353
|
+
private _companion;
|
|
5277
5354
|
/** Whether we are dragged over. */
|
|
5278
5355
|
isDraggedOver: DraggedOver;
|
|
5279
5356
|
/**
|
|
@@ -5303,6 +5380,11 @@ declare class RowState<R extends Kinded> {
|
|
|
5303
5380
|
set row(row: GridDataRow<R>);
|
|
5304
5381
|
/** True when `row.aiMode` is true or its function returns true. */
|
|
5305
5382
|
get aiMode(): boolean;
|
|
5383
|
+
/** Resolved companion for this row; `undefined` when hidden or unset. */
|
|
5384
|
+
get companion(): {
|
|
5385
|
+
position: CompanionPosition;
|
|
5386
|
+
content: CompanionContent;
|
|
5387
|
+
} | undefined;
|
|
5306
5388
|
/**
|
|
5307
5389
|
* Whether we match a client-side filter; true if no filter is in place.
|
|
5308
5390
|
*
|
|
@@ -5470,10 +5552,9 @@ type GridDataRow<R extends Kinded> = {
|
|
|
5470
5552
|
/** Paints the row with `Tokens.AiFieldBg`. Use `() => boolean` to read MobX without rebuilding `rows`. */
|
|
5471
5553
|
aiMode?: MaybeFn<boolean>;
|
|
5472
5554
|
/**
|
|
5473
|
-
* Full-width content
|
|
5474
|
-
* Plain content / render fn defaults to `"trailing"`; use `{ position, content }` for `"leading"`.
|
|
5555
|
+
* Full-width content with this row. Use `() => …` to read MobX without rebuilding `rows`; return `undefined` to hide.
|
|
5475
5556
|
*/
|
|
5476
|
-
companion?: GridRowCompanion
|
|
5557
|
+
companion?: MaybeFn<GridRowCompanion | null | undefined>;
|
|
5477
5558
|
} & IfAny<R, AnyObject, DiscriminateUnion<R, "kind", R["kind"]>>;
|
|
5478
5559
|
|
|
5479
5560
|
/**
|
package/dist/index.d.ts
CHANGED
|
@@ -159,6 +159,42 @@ type Opts<T> = {
|
|
|
159
159
|
declare class CssBuilder<T extends Properties, S extends StyleKind = "buildtime"> {
|
|
160
160
|
private opts;
|
|
161
161
|
constructor(opts: Opts<T>);
|
|
162
|
+
/** Sets `animation: value`. */
|
|
163
|
+
animation(value: Properties["animation"]): CssBuilder<T & {
|
|
164
|
+
animation: csstype.Property.Animation<string> | undefined;
|
|
165
|
+
}, S>;
|
|
166
|
+
/** Sets `animationDelay: value`. */
|
|
167
|
+
animationDelay(value: Properties["animationDelay"]): CssBuilder<T & {
|
|
168
|
+
animationDelay: csstype.Property.AnimationDelay<string> | undefined;
|
|
169
|
+
}, S>;
|
|
170
|
+
/** Sets `animationDirection: value`. */
|
|
171
|
+
animationDirection(value: Properties["animationDirection"]): CssBuilder<T & {
|
|
172
|
+
animationDirection: csstype.Property.AnimationDirection | undefined;
|
|
173
|
+
}, S>;
|
|
174
|
+
/** Sets `animationDuration: value`. */
|
|
175
|
+
animationDuration(value: Properties["animationDuration"]): CssBuilder<T & {
|
|
176
|
+
animationDuration: csstype.Property.AnimationDuration<string> | undefined;
|
|
177
|
+
}, S>;
|
|
178
|
+
/** Sets `animationFillMode: value`. */
|
|
179
|
+
animationFillMode(value: Properties["animationFillMode"]): CssBuilder<T & {
|
|
180
|
+
animationFillMode: csstype.Property.AnimationFillMode | undefined;
|
|
181
|
+
}, S>;
|
|
182
|
+
/** Sets `animationIterationCount: value`. */
|
|
183
|
+
animationIterationCount(value: Properties["animationIterationCount"]): CssBuilder<T & {
|
|
184
|
+
animationIterationCount: csstype.Property.AnimationIterationCount | undefined;
|
|
185
|
+
}, S>;
|
|
186
|
+
/** Sets `animationName: value`. */
|
|
187
|
+
animationName(value: Properties["animationName"]): CssBuilder<T & {
|
|
188
|
+
animationName: csstype.Property.AnimationName | undefined;
|
|
189
|
+
}, S>;
|
|
190
|
+
/** Sets `animationPlayState: value`. */
|
|
191
|
+
animationPlayState(value: Properties["animationPlayState"]): CssBuilder<T & {
|
|
192
|
+
animationPlayState: csstype.Property.AnimationPlayState | undefined;
|
|
193
|
+
}, S>;
|
|
194
|
+
/** Sets `animationTimingFunction: value`. */
|
|
195
|
+
animationTimingFunction(value: Properties["animationTimingFunction"]): CssBuilder<T & {
|
|
196
|
+
animationTimingFunction: csstype.Property.AnimationTimingFunction | undefined;
|
|
197
|
+
}, S>;
|
|
162
198
|
/** Sets `borderStyle: "solid"; borderWidth: "1px"`. */
|
|
163
199
|
get ba(): CssBuilder<T & {
|
|
164
200
|
borderStyle: csstype.Property.BorderStyle | undefined;
|
|
@@ -3695,6 +3731,74 @@ declare class CssBuilder<T extends Properties, S extends StyleKind = "buildtime"
|
|
|
3695
3731
|
tt(value: Properties["textTransform"]): CssBuilder<T & {
|
|
3696
3732
|
textTransform: csstype.Property.TextTransform | undefined;
|
|
3697
3733
|
}, S>;
|
|
3734
|
+
/** Sets `backfaceVisibility: value`. */
|
|
3735
|
+
backfaceVisibility(value: Properties["backfaceVisibility"]): CssBuilder<T & {
|
|
3736
|
+
backfaceVisibility: csstype.Property.BackfaceVisibility | undefined;
|
|
3737
|
+
}, S>;
|
|
3738
|
+
/** Sets `perspective: value`. */
|
|
3739
|
+
perspective(value: Properties["perspective"]): CssBuilder<T & {
|
|
3740
|
+
perspective: csstype.Property.Perspective<string | 0> | undefined;
|
|
3741
|
+
}, S>;
|
|
3742
|
+
/** Sets `perspectiveOrigin: value`. */
|
|
3743
|
+
perspectiveOrigin(value: Properties["perspectiveOrigin"]): CssBuilder<T & {
|
|
3744
|
+
perspectiveOrigin: csstype.Property.PerspectiveOrigin<string | 0> | undefined;
|
|
3745
|
+
}, S>;
|
|
3746
|
+
/** Sets `rotate: value`. */
|
|
3747
|
+
rotate(value: Properties["rotate"]): CssBuilder<T & {
|
|
3748
|
+
rotate: csstype.Property.Rotate | undefined;
|
|
3749
|
+
}, S>;
|
|
3750
|
+
/** Sets `scale: value`. */
|
|
3751
|
+
scale(value: Properties["scale"]): CssBuilder<T & {
|
|
3752
|
+
scale: csstype.Property.Scale | undefined;
|
|
3753
|
+
}, S>;
|
|
3754
|
+
/** Sets `transform: value`. */
|
|
3755
|
+
transform(value: Properties["transform"]): CssBuilder<T & {
|
|
3756
|
+
transform: csstype.Property.Transform | undefined;
|
|
3757
|
+
}, S>;
|
|
3758
|
+
/** Sets `transformBox: value`. */
|
|
3759
|
+
transformBox(value: Properties["transformBox"]): CssBuilder<T & {
|
|
3760
|
+
transformBox: csstype.Property.TransformBox | undefined;
|
|
3761
|
+
}, S>;
|
|
3762
|
+
/** Sets `transformOrigin: value`. */
|
|
3763
|
+
transformOrigin(value: Properties["transformOrigin"]): CssBuilder<T & {
|
|
3764
|
+
transformOrigin: csstype.Property.TransformOrigin<string | 0> | undefined;
|
|
3765
|
+
}, S>;
|
|
3766
|
+
/** Sets `transformStyle: value`. */
|
|
3767
|
+
transformStyle(value: Properties["transformStyle"]): CssBuilder<T & {
|
|
3768
|
+
transformStyle: csstype.Property.TransformStyle | undefined;
|
|
3769
|
+
}, S>;
|
|
3770
|
+
/** Sets `translate: value`. */
|
|
3771
|
+
translate(value: Properties["translate"]): CssBuilder<T & {
|
|
3772
|
+
translate: csstype.Property.Translate<string | 0> | undefined;
|
|
3773
|
+
}, S>;
|
|
3774
|
+
/** Sets `transition: "background-color 200ms cubic-bezier(0.4, 0, 0.2, 1), border-color 200ms cubic-bezier(0.4, 0, 0.2, 1), box-shadow 200ms cubic-bezier(0.4, 0, 0.2, 1), left 200ms cubic-bezier(0.4, 0, 0.2, 1), right 200ms cubic-bezier(0.4, 0, 0.2, 1), margin 200ms cubic-bezier(0.4, 0, 0.2, 1), width 200ms cubic-bezier(0.4, 0, 0.2, 1), opacity 200ms cubic-bezier(0.4, 0, 0.2, 1)"`. */
|
|
3775
|
+
get transition(): CssBuilder<T & {
|
|
3776
|
+
transition: csstype.Property.Transition<string> | undefined;
|
|
3777
|
+
}, S>;
|
|
3778
|
+
/** Sets `transition: "width 200ms cubic-bezier(0.4, 0, 0.2, 1)"`. */
|
|
3779
|
+
get transitionWidth(): CssBuilder<T & {
|
|
3780
|
+
transition: csstype.Property.Transition<string> | undefined;
|
|
3781
|
+
}, S>;
|
|
3782
|
+
/** Sets `transition: "opacity 200ms cubic-bezier(0.4, 0, 0.2, 1)"`. */
|
|
3783
|
+
get transitionOpacity(): CssBuilder<T & {
|
|
3784
|
+
transition: csstype.Property.Transition<string> | undefined;
|
|
3785
|
+
}, S>;
|
|
3786
|
+
/** Sets `transition: "transform 200ms cubic-bezier(0.4, 0, 0.2, 1)"`. */
|
|
3787
|
+
get transitionTransform(): CssBuilder<T & {
|
|
3788
|
+
transition: csstype.Property.Transition<string> | undefined;
|
|
3789
|
+
}, S>;
|
|
3790
|
+
/** Sets `transition: "height 200ms cubic-bezier(0.4, 0, 0.2, 1)"`. */
|
|
3791
|
+
get transitionHeight(): CssBuilder<T & {
|
|
3792
|
+
transition: csstype.Property.Transition<string> | undefined;
|
|
3793
|
+
}, S>;
|
|
3794
|
+
/** Sets `transition: "top 200ms cubic-bezier(0.4, 0, 0.2, 1)"`. */
|
|
3795
|
+
get transitionTop(): CssBuilder<T & {
|
|
3796
|
+
transition: csstype.Property.Transition<string> | undefined;
|
|
3797
|
+
}, S>;
|
|
3798
|
+
/** Sets `transition: "all 200ms cubic-bezier(0.4, 0, 0.2, 1)"`. */
|
|
3799
|
+
get transitionAll(): CssBuilder<T & {
|
|
3800
|
+
transition: csstype.Property.Transition<string> | undefined;
|
|
3801
|
+
}, S>;
|
|
3698
3802
|
/** Sets `fontWeight: 400; fontSize: "10px"; lineHeight: "14px"`. */
|
|
3699
3803
|
get xs2(): CssBuilder<T & {
|
|
3700
3804
|
fontWeight: csstype.Property.FontWeight | undefined;
|
|
@@ -4171,34 +4275,6 @@ declare class CssBuilder<T extends Properties, S extends StyleKind = "buildtime"
|
|
|
4171
4275
|
} & {
|
|
4172
4276
|
position: csstype.Property.Position | undefined;
|
|
4173
4277
|
}, S>;
|
|
4174
|
-
/** Sets `transition: "background-color 200ms cubic-bezier(0.4, 0, 0.2, 1), border-color 200ms cubic-bezier(0.4, 0, 0.2, 1), box-shadow 200ms cubic-bezier(0.4, 0, 0.2, 1), left 200ms cubic-bezier(0.4, 0, 0.2, 1), right 200ms cubic-bezier(0.4, 0, 0.2, 1), margin 200ms cubic-bezier(0.4, 0, 0.2, 1), width 200ms cubic-bezier(0.4, 0, 0.2, 1), opacity 200ms cubic-bezier(0.4, 0, 0.2, 1)"`. */
|
|
4175
|
-
get transition(): CssBuilder<T & {
|
|
4176
|
-
transition: csstype.Property.Transition<string> | undefined;
|
|
4177
|
-
}, S>;
|
|
4178
|
-
/** Sets `transition: "width 200ms cubic-bezier(0.4, 0, 0.2, 1)"`. */
|
|
4179
|
-
get transitionWidth(): CssBuilder<T & {
|
|
4180
|
-
transition: csstype.Property.Transition<string> | undefined;
|
|
4181
|
-
}, S>;
|
|
4182
|
-
/** Sets `transition: "opacity 200ms cubic-bezier(0.4, 0, 0.2, 1)"`. */
|
|
4183
|
-
get transitionOpacity(): CssBuilder<T & {
|
|
4184
|
-
transition: csstype.Property.Transition<string> | undefined;
|
|
4185
|
-
}, S>;
|
|
4186
|
-
/** Sets `transition: "transform 200ms cubic-bezier(0.4, 0, 0.2, 1)"`. */
|
|
4187
|
-
get transitionTransform(): CssBuilder<T & {
|
|
4188
|
-
transition: csstype.Property.Transition<string> | undefined;
|
|
4189
|
-
}, S>;
|
|
4190
|
-
/** Sets `transition: "height 200ms cubic-bezier(0.4, 0, 0.2, 1)"`. */
|
|
4191
|
-
get transitionHeight(): CssBuilder<T & {
|
|
4192
|
-
transition: csstype.Property.Transition<string> | undefined;
|
|
4193
|
-
}, S>;
|
|
4194
|
-
/** Sets `transition: "top 200ms cubic-bezier(0.4, 0, 0.2, 1)"`. */
|
|
4195
|
-
get transitionTop(): CssBuilder<T & {
|
|
4196
|
-
transition: csstype.Property.Transition<string> | undefined;
|
|
4197
|
-
}, S>;
|
|
4198
|
-
/** Sets `transition: "all 200ms cubic-bezier(0.4, 0, 0.2, 1)"`. */
|
|
4199
|
-
get transitionAll(): CssBuilder<T & {
|
|
4200
|
-
transition: csstype.Property.Transition<string> | undefined;
|
|
4201
|
-
}, S>;
|
|
4202
4278
|
/** Sets `fontWeight: 600; fontSize: "14px"; lineHeight: "20px"; outline: 0; borderRadius: "8px"; display: "inline-flex"; alignItems: "center"; whiteSpace: "nowrap"; transition: "background-color 200ms cubic-bezier(0.4, 0, 0.2, 1), border-color 200ms cubic-bezier(0.4, 0, 0.2, 1), box-shadow 200ms cubic-bezier(0.4, 0, 0.2, 1), left 200ms cubic-bezier(0.4, 0, 0.2, 1), right 200ms cubic-bezier(0.4, 0, 0.2, 1), margin 200ms cubic-bezier(0.4, 0, 0.2, 1), width 200ms cubic-bezier(0.4, 0, 0.2, 1), opacity 200ms cubic-bezier(0.4, 0, 0.2, 1)"`. */
|
|
4203
4279
|
get buttonBase(): CssBuilder<T & {
|
|
4204
4280
|
fontWeight: csstype.Property.FontWeight | undefined;
|
|
@@ -5274,6 +5350,7 @@ declare class RowState<R extends Kinded> {
|
|
|
5274
5350
|
*/
|
|
5275
5351
|
pinned: boolean;
|
|
5276
5352
|
private _aiMode;
|
|
5353
|
+
private _companion;
|
|
5277
5354
|
/** Whether we are dragged over. */
|
|
5278
5355
|
isDraggedOver: DraggedOver;
|
|
5279
5356
|
/**
|
|
@@ -5303,6 +5380,11 @@ declare class RowState<R extends Kinded> {
|
|
|
5303
5380
|
set row(row: GridDataRow<R>);
|
|
5304
5381
|
/** True when `row.aiMode` is true or its function returns true. */
|
|
5305
5382
|
get aiMode(): boolean;
|
|
5383
|
+
/** Resolved companion for this row; `undefined` when hidden or unset. */
|
|
5384
|
+
get companion(): {
|
|
5385
|
+
position: CompanionPosition;
|
|
5386
|
+
content: CompanionContent;
|
|
5387
|
+
} | undefined;
|
|
5306
5388
|
/**
|
|
5307
5389
|
* Whether we match a client-side filter; true if no filter is in place.
|
|
5308
5390
|
*
|
|
@@ -5470,10 +5552,9 @@ type GridDataRow<R extends Kinded> = {
|
|
|
5470
5552
|
/** Paints the row with `Tokens.AiFieldBg`. Use `() => boolean` to read MobX without rebuilding `rows`. */
|
|
5471
5553
|
aiMode?: MaybeFn<boolean>;
|
|
5472
5554
|
/**
|
|
5473
|
-
* Full-width content
|
|
5474
|
-
* Plain content / render fn defaults to `"trailing"`; use `{ position, content }` for `"leading"`.
|
|
5555
|
+
* Full-width content with this row. Use `() => …` to read MobX without rebuilding `rows`; return `undefined` to hide.
|
|
5475
5556
|
*/
|
|
5476
|
-
companion?: GridRowCompanion
|
|
5557
|
+
companion?: MaybeFn<GridRowCompanion | null | undefined>;
|
|
5477
5558
|
} & IfAny<R, AnyObject, DiscriminateUnion<R, "kind", R["kind"]>>;
|
|
5478
5559
|
|
|
5479
5560
|
/**
|