@ethlete/query-devtools 1.0.0-next.1 → 1.0.0-next.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ethlete/query-devtools",
3
- "version": "1.0.0-next.1",
3
+ "version": "1.0.0-next.2",
4
4
  "license": "MIT",
5
5
  "sideEffects": false,
6
6
  "peerDependencies": {
@@ -785,6 +785,7 @@ type PersistedState = {
785
785
  listHeight?: number | null;
786
786
  drawerHeight?: number | null;
787
787
  dock?: DevtoolsDock;
788
+ reservesSpace?: boolean;
788
789
  floatRect?: FloatRect;
789
790
  floatParked?: boolean;
790
791
  activeTab?: DevtoolsTab;
@@ -992,6 +993,11 @@ declare class QueryDevtoolsComponent implements OnInit {
992
993
  readonly label: "Pop out";
993
994
  readonly hint: "Move the panel into a window of its own - the same live panel, on your other screen";
994
995
  }>;
996
+ /**
997
+ * Whether a docked panel takes its size out of the page instead of covering it - so the last rows of a
998
+ * long page can still be scrolled to. Only docks can: a float sits wherever it was dragged.
999
+ */
1000
+ protected reservesSpace: WritableSignal<boolean>;
995
1001
  /** Where the floating panel sits and how big it is. Kept while docked, so a return to float restores it. */
996
1002
  private floatRect;
997
1003
  /** The rect a resize gesture started from, or `null` outside one. */
@@ -1029,6 +1035,13 @@ declare class QueryDevtoolsComponent implements OnInit {
1029
1035
  /** The floating panel's offset from the viewport's top-left, or `null` while it is docked. */
1030
1036
  protected panelInsetBlock: _angular_core.Signal<number | null>;
1031
1037
  protected panelInsetInline: _angular_core.Signal<number | null>;
1038
+ /**
1039
+ * The panel's rendered size, not its dragged one - the stylesheet clamps a dock (`min-block-size`,
1040
+ * `max-block-size: 90vh`) and it is the clamped size the page has to give up.
1041
+ */
1042
+ private panelSize;
1043
+ /** Which padding a docked panel asks of the page and how much, or `null` when it asks for none. */
1044
+ private pageReservation;
1032
1045
  /** Which section of the query detail is showing. Shared by the Queries tab and both drawers. */
1033
1046
  detailTab: WritableSignal<DetailTab>;
1034
1047
  selectedClientName: WritableSignal<string | null>;
@@ -1830,7 +1843,7 @@ declare class QueryDevtoolsComponent implements OnInit {
1830
1843
  declare const QUERY_DEVTOOLS_IMPORTS: readonly [typeof QueryDevtoolsComponent];
1831
1844
 
1832
1845
  /** The version of `@ethlete/query-devtools` this build was cut from. */
1833
- declare const QUERY_DEVTOOLS_VERSION = "1.0.0-next.1";
1846
+ declare const QUERY_DEVTOOLS_VERSION = "1.0.0-next.2";
1834
1847
 
1835
1848
  export { QUERY_DEVTOOLS_IMPORTS, QUERY_DEVTOOLS_VERSION, QueryDevtoolsAboutComponent, QueryDevtoolsComponent, QueryDevtoolsJsonComponent, QueryDevtoolsJsonStylesComponent, QueryDevtoolsSettingsComponent, QueryDevtoolsTimelineStylesComponent, clampFloatToPeek, kindOf, resizedFloatRect, settledFloatRect };
1836
1849
  export type { JsonKind };