@wildwinter/app-shell 0.50.0 → 0.51.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.
@@ -88,6 +88,14 @@ declare function fieldValueProblem(decl: ValueDeclLike, value: unknown): string;
88
88
  * purpose and any message under it. See the section comment above for the rules it carries.
89
89
  */
90
90
  declare function fieldRow(initial: FieldRowOptions): FieldRowHandle;
91
+ /**
92
+ * The focus keeping `fieldRows` does, for a host (or a structured row) that keeps row elements itself: call
93
+ * `settle` before it updates a row and `restore` once the row is back in the page.
94
+ */
95
+ declare const fieldRowFocus: {
96
+ settle: (row: HTMLElement) => void;
97
+ restore: (row: HTMLElement) => void;
98
+ };
91
99
  interface FieldRows {
92
100
  /**
93
101
  * The row for `key` (a node and a field, say `${nodeId}:${field}`): the same element as last time when
@@ -101,4 +109,4 @@ interface FieldRows {
101
109
  /** A cache of field rows for a host that redraws its whole view on every change. */
102
110
  declare function fieldRows(): FieldRows;
103
111
 
104
- export { type FieldDeclLike, type FieldRowHandle, type FieldRowOptions, type FieldRows, type FieldValue, type RungStripOptions, type ValueDeclLike, defaultLabel, fallbackText, fieldRow, fieldRows, fieldValueProblem, rungStrip, stageGateNote };
112
+ export { type FieldDeclLike, type FieldRowHandle, type FieldRowOptions, type FieldRows, type FieldValue, type RungStripOptions, type ValueDeclLike, defaultLabel, fallbackText, fieldRow, fieldRowFocus, fieldRows, fieldValueProblem, rungStrip, stageGateNote };
@@ -88,6 +88,14 @@ declare function fieldValueProblem(decl: ValueDeclLike, value: unknown): string;
88
88
  * purpose and any message under it. See the section comment above for the rules it carries.
89
89
  */
90
90
  declare function fieldRow(initial: FieldRowOptions): FieldRowHandle;
91
+ /**
92
+ * The focus keeping `fieldRows` does, for a host (or a structured row) that keeps row elements itself: call
93
+ * `settle` before it updates a row and `restore` once the row is back in the page.
94
+ */
95
+ declare const fieldRowFocus: {
96
+ settle: (row: HTMLElement) => void;
97
+ restore: (row: HTMLElement) => void;
98
+ };
91
99
  interface FieldRows {
92
100
  /**
93
101
  * The row for `key` (a node and a field, say `${nodeId}:${field}`): the same element as last time when
@@ -101,4 +109,4 @@ interface FieldRows {
101
109
  /** A cache of field rows for a host that redraws its whole view on every change. */
102
110
  declare function fieldRows(): FieldRows;
103
111
 
104
- export { type FieldDeclLike, type FieldRowHandle, type FieldRowOptions, type FieldRows, type FieldValue, type RungStripOptions, type ValueDeclLike, defaultLabel, fallbackText, fieldRow, fieldRows, fieldValueProblem, rungStrip, stageGateNote };
112
+ export { type FieldDeclLike, type FieldRowHandle, type FieldRowOptions, type FieldRows, type FieldValue, type RungStripOptions, type ValueDeclLike, defaultLabel, fallbackText, fieldRow, fieldRowFocus, fieldRows, fieldValueProblem, rungStrip, stageGateNote };
@@ -1,4 +1,4 @@
1
- export { defaultLabel, fallbackText, fieldRow, fieldRows, fieldValueProblem, rungStrip, stageGateNote } from './chunk-JOFRUWTP.js';
1
+ export { defaultLabel, fallbackText, fieldRow, fieldRowFocus, fieldRows, fieldValueProblem, rungStrip, stageGateNote } from './chunk-ELEDQRZ7.js';
2
2
  import './chunk-W4WC4FO5.js';
3
3
  //# sourceMappingURL=value-control.js.map
4
4
  //# sourceMappingURL=value-control.js.map