@homebound/beam 2.337.0 → 2.338.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.
package/dist/Css.d.ts
CHANGED
|
@@ -1092,6 +1092,10 @@ declare class CssBuilder<T extends Properties> {
|
|
|
1092
1092
|
flexWrap(value: Properties["flexWrap"]): CssBuilder<T & {
|
|
1093
1093
|
flexWrap: import("csstype").Property.FlexWrap | undefined;
|
|
1094
1094
|
}>;
|
|
1095
|
+
/** Sets `order: value`. */
|
|
1096
|
+
order(value: Properties["order"]): CssBuilder<T & {
|
|
1097
|
+
order: import("csstype").Property.Order | undefined;
|
|
1098
|
+
}>;
|
|
1095
1099
|
/** Sets `float: "left"`. */
|
|
1096
1100
|
get fl(): CssBuilder<T & {
|
|
1097
1101
|
float: import("csstype").Property.Float | undefined;
|
|
@@ -1566,6 +1570,30 @@ declare class CssBuilder<T extends Properties> {
|
|
|
1566
1570
|
objectFit(value: Properties["objectFit"]): CssBuilder<T & {
|
|
1567
1571
|
objectFit: import("csstype").Property.ObjectFit | undefined;
|
|
1568
1572
|
}>;
|
|
1573
|
+
/** Sets `opacity: "0"`. */
|
|
1574
|
+
get o0(): CssBuilder<T & {
|
|
1575
|
+
opacity: import("csstype").Property.Opacity | undefined;
|
|
1576
|
+
}>;
|
|
1577
|
+
/** Sets `opacity: "0.25"`. */
|
|
1578
|
+
get o25(): CssBuilder<T & {
|
|
1579
|
+
opacity: import("csstype").Property.Opacity | undefined;
|
|
1580
|
+
}>;
|
|
1581
|
+
/** Sets `opacity: "0.5"`. */
|
|
1582
|
+
get o50(): CssBuilder<T & {
|
|
1583
|
+
opacity: import("csstype").Property.Opacity | undefined;
|
|
1584
|
+
}>;
|
|
1585
|
+
/** Sets `opacity: "0.75"`. */
|
|
1586
|
+
get o75(): CssBuilder<T & {
|
|
1587
|
+
opacity: import("csstype").Property.Opacity | undefined;
|
|
1588
|
+
}>;
|
|
1589
|
+
/** Sets `opacity: "1"`. */
|
|
1590
|
+
get o100(): CssBuilder<T & {
|
|
1591
|
+
opacity: import("csstype").Property.Opacity | undefined;
|
|
1592
|
+
}>;
|
|
1593
|
+
/** Sets `opacity: value`. */
|
|
1594
|
+
o(value: Properties["opacity"]): CssBuilder<T & {
|
|
1595
|
+
opacity: import("csstype").Property.Opacity | undefined;
|
|
1596
|
+
}>;
|
|
1569
1597
|
/** Sets `outline: "1px solid"`. */
|
|
1570
1598
|
get outline1(): CssBuilder<T & {
|
|
1571
1599
|
outline: import("csstype").Property.Outline<string | 0> | undefined;
|
package/dist/Css.js
CHANGED
|
@@ -1088,6 +1088,10 @@ class CssBuilder {
|
|
|
1088
1088
|
flexWrap(value) {
|
|
1089
1089
|
return this.add("flexWrap", value);
|
|
1090
1090
|
}
|
|
1091
|
+
/** Sets `order: value`. */
|
|
1092
|
+
order(value) {
|
|
1093
|
+
return this.add("order", value);
|
|
1094
|
+
}
|
|
1091
1095
|
// float
|
|
1092
1096
|
/** Sets `float: "left"`. */
|
|
1093
1097
|
get fl() {
|
|
@@ -1518,6 +1522,31 @@ class CssBuilder {
|
|
|
1518
1522
|
objectFit(value) {
|
|
1519
1523
|
return this.add("objectFit", value);
|
|
1520
1524
|
}
|
|
1525
|
+
// opacity
|
|
1526
|
+
/** Sets `opacity: "0"`. */
|
|
1527
|
+
get o0() {
|
|
1528
|
+
return this.add("opacity", "0");
|
|
1529
|
+
}
|
|
1530
|
+
/** Sets `opacity: "0.25"`. */
|
|
1531
|
+
get o25() {
|
|
1532
|
+
return this.add("opacity", "0.25");
|
|
1533
|
+
}
|
|
1534
|
+
/** Sets `opacity: "0.5"`. */
|
|
1535
|
+
get o50() {
|
|
1536
|
+
return this.add("opacity", "0.5");
|
|
1537
|
+
}
|
|
1538
|
+
/** Sets `opacity: "0.75"`. */
|
|
1539
|
+
get o75() {
|
|
1540
|
+
return this.add("opacity", "0.75");
|
|
1541
|
+
}
|
|
1542
|
+
/** Sets `opacity: "1"`. */
|
|
1543
|
+
get o100() {
|
|
1544
|
+
return this.add("opacity", "1");
|
|
1545
|
+
}
|
|
1546
|
+
/** Sets `opacity: value`. */
|
|
1547
|
+
o(value) {
|
|
1548
|
+
return this.add("opacity", value);
|
|
1549
|
+
}
|
|
1521
1550
|
// outline
|
|
1522
1551
|
/** Sets `outline: "1px solid"`. */
|
|
1523
1552
|
get outline1() {
|
|
@@ -201,7 +201,11 @@ function TreeSelectFieldBase(props) {
|
|
|
201
201
|
}
|
|
202
202
|
if (isOpen) {
|
|
203
203
|
// reset the input field to allow the user to start typing to filter
|
|
204
|
-
setFieldState((prevState) => ({
|
|
204
|
+
setFieldState((prevState) => ({
|
|
205
|
+
...prevState,
|
|
206
|
+
inputValue: "",
|
|
207
|
+
filteredOptions: initialOptions.flatMap((o) => levelOptions(o, 0)),
|
|
208
|
+
}));
|
|
205
209
|
}
|
|
206
210
|
}
|
|
207
211
|
// This is _always_ going to appear new. Maybe `useMemo`?
|