@mhamz.01/easyflow-whiteboard 2.136.0 → 2.138.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.
|
@@ -447,7 +447,7 @@ export default React.memo(function CanvasOverlayLayer({ tasks, documents, onTask
|
|
|
447
447
|
left: 0,
|
|
448
448
|
top: 0,
|
|
449
449
|
// 2. Use translate3d for GPU performance
|
|
450
|
-
transform: `translate3d(${
|
|
450
|
+
transform: `translate3d(${x}px, ${y}px, 0) scale(${canvasZoom})`,
|
|
451
451
|
transformOrigin: "top left",
|
|
452
452
|
// 3. THE FIX: Remove transition entirely during any viewport change
|
|
453
453
|
// Any 'ease' during zoom causes the "shaking" behavior.
|
|
@@ -55,7 +55,7 @@ const MemoizedOverlayWrapper = React.memo(function OverlayWrapper({ tasks, docum
|
|
|
55
55
|
setCanvasViewport({ x: vpX, y: vpY });
|
|
56
56
|
};
|
|
57
57
|
// Update on viewport change
|
|
58
|
-
canvas.on("
|
|
58
|
+
canvas.on("after:render", updateViewport);
|
|
59
59
|
updateViewport(); // Initial sync
|
|
60
60
|
return () => {
|
|
61
61
|
canvas.off("viewport:changed", updateViewport);
|
package/dist/styles.css
CHANGED
|
@@ -1,13 +1,12 @@
|
|
|
1
1
|
/*! tailwindcss v4.2.1 | MIT License | https://tailwindcss.com */
|
|
2
2
|
@layer properties;
|
|
3
|
-
@layer theme, base, components, utilities;
|
|
4
3
|
@layer theme {
|
|
5
4
|
:root, :host {
|
|
6
|
-
--font-sans: ui-sans-serif, system-ui, sans-serif,
|
|
7
|
-
|
|
8
|
-
--font-serif: ui-serif, Georgia, Cambria,
|
|
9
|
-
--font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas,
|
|
10
|
-
|
|
5
|
+
--font-sans: ui-sans-serif, system-ui, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol',
|
|
6
|
+
'Noto Color Emoji';
|
|
7
|
+
--font-serif: ui-serif, Georgia, Cambria, 'Times New Roman', Times, serif;
|
|
8
|
+
--font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, 'Liberation Mono', 'Courier New',
|
|
9
|
+
monospace;
|
|
11
10
|
--color-red-500: oklch(63.7% 0.237 25.331);
|
|
12
11
|
--color-orange-500: oklch(70.5% 0.213 47.604);
|
|
13
12
|
--color-emerald-500: oklch(69.6% 0.17 162.48);
|
|
@@ -63,156 +62,6 @@
|
|
|
63
62
|
--blur-2xl: 40px;
|
|
64
63
|
--default-transition-duration: 150ms;
|
|
65
64
|
--default-transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
|
|
66
|
-
--default-font-family: var(--font-sans);
|
|
67
|
-
--default-mono-font-family: var(--font-mono);
|
|
68
|
-
}
|
|
69
|
-
}
|
|
70
|
-
@layer base {
|
|
71
|
-
*, ::after, ::before, ::backdrop, ::file-selector-button {
|
|
72
|
-
box-sizing: border-box;
|
|
73
|
-
margin: 0;
|
|
74
|
-
padding: 0;
|
|
75
|
-
border: 0 solid;
|
|
76
|
-
}
|
|
77
|
-
html, :host {
|
|
78
|
-
line-height: 1.5;
|
|
79
|
-
-webkit-text-size-adjust: 100%;
|
|
80
|
-
tab-size: 4;
|
|
81
|
-
font-family: var(--default-font-family, ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji");
|
|
82
|
-
font-feature-settings: var(--default-font-feature-settings, normal);
|
|
83
|
-
font-variation-settings: var(--default-font-variation-settings, normal);
|
|
84
|
-
-webkit-tap-highlight-color: transparent;
|
|
85
|
-
}
|
|
86
|
-
hr {
|
|
87
|
-
height: 0;
|
|
88
|
-
color: inherit;
|
|
89
|
-
border-top-width: 1px;
|
|
90
|
-
}
|
|
91
|
-
abbr:where([title]) {
|
|
92
|
-
-webkit-text-decoration: underline dotted;
|
|
93
|
-
text-decoration: underline dotted;
|
|
94
|
-
}
|
|
95
|
-
h1, h2, h3, h4, h5, h6 {
|
|
96
|
-
font-size: inherit;
|
|
97
|
-
font-weight: inherit;
|
|
98
|
-
}
|
|
99
|
-
a {
|
|
100
|
-
color: inherit;
|
|
101
|
-
-webkit-text-decoration: inherit;
|
|
102
|
-
text-decoration: inherit;
|
|
103
|
-
}
|
|
104
|
-
b, strong {
|
|
105
|
-
font-weight: bolder;
|
|
106
|
-
}
|
|
107
|
-
code, kbd, samp, pre {
|
|
108
|
-
font-family: var(--default-mono-font-family, ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace);
|
|
109
|
-
font-feature-settings: var(--default-mono-font-feature-settings, normal);
|
|
110
|
-
font-variation-settings: var(--default-mono-font-variation-settings, normal);
|
|
111
|
-
font-size: 1em;
|
|
112
|
-
}
|
|
113
|
-
small {
|
|
114
|
-
font-size: 80%;
|
|
115
|
-
}
|
|
116
|
-
sub, sup {
|
|
117
|
-
font-size: 75%;
|
|
118
|
-
line-height: 0;
|
|
119
|
-
position: relative;
|
|
120
|
-
vertical-align: baseline;
|
|
121
|
-
}
|
|
122
|
-
sub {
|
|
123
|
-
bottom: -0.25em;
|
|
124
|
-
}
|
|
125
|
-
sup {
|
|
126
|
-
top: -0.5em;
|
|
127
|
-
}
|
|
128
|
-
table {
|
|
129
|
-
text-indent: 0;
|
|
130
|
-
border-color: inherit;
|
|
131
|
-
border-collapse: collapse;
|
|
132
|
-
}
|
|
133
|
-
:-moz-focusring {
|
|
134
|
-
outline: auto;
|
|
135
|
-
}
|
|
136
|
-
progress {
|
|
137
|
-
vertical-align: baseline;
|
|
138
|
-
}
|
|
139
|
-
summary {
|
|
140
|
-
display: list-item;
|
|
141
|
-
}
|
|
142
|
-
ol, ul, menu {
|
|
143
|
-
list-style: none;
|
|
144
|
-
}
|
|
145
|
-
img, svg, video, canvas, audio, iframe, embed, object {
|
|
146
|
-
display: block;
|
|
147
|
-
vertical-align: middle;
|
|
148
|
-
}
|
|
149
|
-
img, video {
|
|
150
|
-
max-width: 100%;
|
|
151
|
-
height: auto;
|
|
152
|
-
}
|
|
153
|
-
button, input, select, optgroup, textarea, ::file-selector-button {
|
|
154
|
-
font: inherit;
|
|
155
|
-
font-feature-settings: inherit;
|
|
156
|
-
font-variation-settings: inherit;
|
|
157
|
-
letter-spacing: inherit;
|
|
158
|
-
color: inherit;
|
|
159
|
-
border-radius: 0;
|
|
160
|
-
background-color: transparent;
|
|
161
|
-
opacity: 1;
|
|
162
|
-
}
|
|
163
|
-
:where(select:is([multiple], [size])) optgroup {
|
|
164
|
-
font-weight: bolder;
|
|
165
|
-
}
|
|
166
|
-
:where(select:is([multiple], [size])) optgroup option {
|
|
167
|
-
padding-inline-start: 20px;
|
|
168
|
-
}
|
|
169
|
-
::file-selector-button {
|
|
170
|
-
margin-inline-end: 4px;
|
|
171
|
-
}
|
|
172
|
-
::placeholder {
|
|
173
|
-
opacity: 1;
|
|
174
|
-
}
|
|
175
|
-
@supports (not (-webkit-appearance: -apple-pay-button)) or (contain-intrinsic-size: 1px) {
|
|
176
|
-
::placeholder {
|
|
177
|
-
color: currentcolor;
|
|
178
|
-
@supports (color: color-mix(in lab, red, red)) {
|
|
179
|
-
color: color-mix(in oklab, currentcolor 50%, transparent);
|
|
180
|
-
}
|
|
181
|
-
}
|
|
182
|
-
}
|
|
183
|
-
textarea {
|
|
184
|
-
resize: vertical;
|
|
185
|
-
}
|
|
186
|
-
::-webkit-search-decoration {
|
|
187
|
-
-webkit-appearance: none;
|
|
188
|
-
}
|
|
189
|
-
::-webkit-date-and-time-value {
|
|
190
|
-
min-height: 1lh;
|
|
191
|
-
text-align: inherit;
|
|
192
|
-
}
|
|
193
|
-
::-webkit-datetime-edit {
|
|
194
|
-
display: inline-flex;
|
|
195
|
-
}
|
|
196
|
-
::-webkit-datetime-edit-fields-wrapper {
|
|
197
|
-
padding: 0;
|
|
198
|
-
}
|
|
199
|
-
::-webkit-datetime-edit, ::-webkit-datetime-edit-year-field, ::-webkit-datetime-edit-month-field, ::-webkit-datetime-edit-day-field, ::-webkit-datetime-edit-hour-field, ::-webkit-datetime-edit-minute-field, ::-webkit-datetime-edit-second-field, ::-webkit-datetime-edit-millisecond-field, ::-webkit-datetime-edit-meridiem-field {
|
|
200
|
-
padding-block: 0;
|
|
201
|
-
}
|
|
202
|
-
::-webkit-calendar-picker-indicator {
|
|
203
|
-
line-height: 1;
|
|
204
|
-
}
|
|
205
|
-
:-moz-ui-invalid {
|
|
206
|
-
box-shadow: none;
|
|
207
|
-
}
|
|
208
|
-
button, input:where([type="button"], [type="reset"], [type="submit"]), ::file-selector-button {
|
|
209
|
-
appearance: button;
|
|
210
|
-
}
|
|
211
|
-
::-webkit-inner-spin-button, ::-webkit-outer-spin-button {
|
|
212
|
-
height: auto;
|
|
213
|
-
}
|
|
214
|
-
[hidden]:where(:not([hidden="until-found"])) {
|
|
215
|
-
display: none !important;
|
|
216
65
|
}
|
|
217
66
|
}
|
|
218
67
|
@layer utilities {
|