@hazem3500/komo 0.9.30 → 0.9.31
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/README.md +8 -3
- package/dist/chunk-FFJ7Z4MJ.js +1 -0
- package/dist/frame-portals.d.ts +1 -0
- package/dist/index.js +1 -1
- package/dist/node.mjs +1 -1
- package/dist/react.js +1 -1
- package/dist/review-layout.d.ts +1 -1
- package/dist/server.js +1 -1
- package/dist/setup.js +1 -1
- package/dist/types.d.ts +8 -4
- package/package.json +1 -1
- package/server/setup-client.txt +43 -43
- package/src/types.ts +8 -5
- package/dist/chunk-YSTPKET2.js +0 -1
package/dist/setup.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a as o,c as n}from"./chunk-
|
|
1
|
+
import{a as o,c as n}from"./chunk-FFJ7Z4MJ.js";import"./chunk-ILX63XAJ.js";import"./chunk-DH22G2S5.js";import"./chunk-53M6AOAX.js";import"./chunk-WGISPOJV.js";import"./chunk-PLSWBSSX.js";function r(r){return(s={})=>n(o({...r,...s}))}export{r as defineKomo};
|
package/dist/types.d.ts
CHANGED
|
@@ -107,7 +107,7 @@ export interface CommentsOptions {
|
|
|
107
107
|
/**
|
|
108
108
|
* Sidebar presentation when the review opens. "edge" (default) is a floating,
|
|
109
109
|
* draggable sidebar that parks off and peeks from the viewport edge while
|
|
110
|
-
* closed. "background"
|
|
110
|
+
* closed. "background" reflows the site beside the sidebar in an unscaled
|
|
111
111
|
* review sheet. Users can switch Floating and Frame from the Account panel;
|
|
112
112
|
* that choice is remembered per project. Compact viewports always use a bottom
|
|
113
113
|
* Drawer, retaining the desktop preference when the viewport grows.
|
|
@@ -133,13 +133,17 @@ export interface CommentsOptions {
|
|
|
133
133
|
*/
|
|
134
134
|
pickRoots?: () => Element[];
|
|
135
135
|
/**
|
|
136
|
-
* Frame
|
|
137
|
-
*
|
|
138
|
-
*
|
|
136
|
+
* Frame reflows the page at its available width without adding a scale,
|
|
137
|
+
* preserving native CSS-pixel interactions. Fixed body-level portals are
|
|
138
|
+
* kept inside the frame without moving their DOM.
|
|
139
|
+
* `scale: true` opts into shrinking the original viewport instead. Hosts
|
|
140
|
+
* deriving local values from client coordinates must handle that scale;
|
|
141
|
+
* arbitrary canvas, drag, and grid handlers cannot be corrected generically.
|
|
139
142
|
* `include` overrides the default per body child; true maps the whole child
|
|
140
143
|
* through the frame, and false leaves its subtree alone.
|
|
141
144
|
*/
|
|
142
145
|
frame?: {
|
|
146
|
+
scale?: boolean;
|
|
143
147
|
include?(element: HTMLElement): boolean;
|
|
144
148
|
};
|
|
145
149
|
/**
|