@jotforminc/dnd-builder 3.5.1 → 3.5.4
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/CHANGELOG.md +16 -0
- package/lib/cjs/components/Builder/PageActions.js +6 -1
- package/lib/cjs/components/Builder/PageActions.js.map +1 -1
- package/lib/cjs/components/DraggableItem/DraggableItem.js +1 -0
- package/lib/cjs/components/DraggableItem/DraggableItem.js.map +1 -1
- package/lib/cjs/components/DraggableItem/DraggableItemActions.js +10 -3
- package/lib/cjs/components/DraggableItem/DraggableItemActions.js.map +1 -1
- package/lib/cjs/components/ItemPositioner.js +3 -0
- package/lib/cjs/components/ItemPositioner.js.map +1 -1
- package/lib/cjs/components/Preview/StaticItem.js +1 -0
- package/lib/cjs/components/Preview/StaticItem.js.map +1 -1
- package/lib/cjs/components/Preview/StaticScene.js +1 -0
- package/lib/cjs/components/Preview/StaticScene.js.map +1 -1
- package/lib/cjs/contexts/PropContext.js +1 -0
- package/lib/cjs/contexts/PropContext.js.map +1 -1
- package/lib/cjs/styles/_jfReportsFloatings.scss +6 -0
- package/lib/cjs/styles/_jfReportsReportItem.scss +54 -10
- package/lib/esm/components/Builder/PageActions.js +7 -2
- package/lib/esm/components/Builder/PageActions.js.map +1 -1
- package/lib/esm/components/DraggableItem/DraggableItem.js +1 -0
- package/lib/esm/components/DraggableItem/DraggableItem.js.map +1 -1
- package/lib/esm/components/DraggableItem/DraggableItemActions.js +10 -3
- package/lib/esm/components/DraggableItem/DraggableItemActions.js.map +1 -1
- package/lib/esm/components/ItemPositioner.js +3 -0
- package/lib/esm/components/ItemPositioner.js.map +1 -1
- package/lib/esm/components/Preview/StaticItem.js +1 -0
- package/lib/esm/components/Preview/StaticItem.js.map +1 -1
- package/lib/esm/components/Preview/StaticScene.js +1 -0
- package/lib/esm/components/Preview/StaticScene.js.map +1 -1
- package/lib/esm/contexts/PropContext.js +1 -0
- package/lib/esm/contexts/PropContext.js.map +1 -1
- package/lib/esm/styles/_jfReportsFloatings.scss +6 -0
- package/lib/esm/styles/_jfReportsReportItem.scss +54 -10
- package/package.json +1 -1
|
@@ -75,20 +75,25 @@
|
|
|
75
75
|
position: absolute;
|
|
76
76
|
display: block;
|
|
77
77
|
background-color: #FFFFFF;
|
|
78
|
-
border:
|
|
78
|
+
border: 2.5px solid #0099FF;
|
|
79
79
|
transition: .3s ease-in-out;
|
|
80
80
|
}
|
|
81
81
|
|
|
82
82
|
&:not(.forLine):after {
|
|
83
|
-
|
|
83
|
+
top: 2px;
|
|
84
|
+
left: 1.5px;
|
|
84
85
|
width: 3px;
|
|
85
86
|
height: 3px;
|
|
87
|
+
min-width: 3px;
|
|
88
|
+
min-height: 3px;
|
|
89
|
+
max-height: 3px;
|
|
90
|
+
max-width: 3px;
|
|
86
91
|
border-radius: 3px;
|
|
87
92
|
}
|
|
88
93
|
|
|
89
94
|
&.forLine {
|
|
90
95
|
&:after {
|
|
91
|
-
border-radius:
|
|
96
|
+
border-radius: 4px;
|
|
92
97
|
}
|
|
93
98
|
&:not(.isVertical) {
|
|
94
99
|
&:after {
|
|
@@ -97,16 +102,24 @@
|
|
|
97
102
|
left: calc(50% - 6px);
|
|
98
103
|
width: 8px;
|
|
99
104
|
height: 4px;
|
|
105
|
+
max-width: 8px;
|
|
106
|
+
min-width: 8px;
|
|
107
|
+
min-height: 4px;
|
|
108
|
+
max-height: 4px;
|
|
100
109
|
}
|
|
101
110
|
}
|
|
102
111
|
|
|
103
112
|
&.isVertical {
|
|
104
113
|
&:after {
|
|
105
114
|
top: calc(50% - 6px);
|
|
106
|
-
left: -
|
|
107
|
-
right:
|
|
115
|
+
left: -1px;
|
|
116
|
+
right: 1px;
|
|
108
117
|
height: 8px;
|
|
109
118
|
width: 4px;
|
|
119
|
+
min-width: 4px;
|
|
120
|
+
max-width: 4px;
|
|
121
|
+
min-height: 8px;
|
|
122
|
+
max-height: 8px;
|
|
110
123
|
}
|
|
111
124
|
}
|
|
112
125
|
}
|
|
@@ -151,6 +164,7 @@
|
|
|
151
164
|
.reportItemResizer {
|
|
152
165
|
border: 3px solid #0099FF;
|
|
153
166
|
border-radius: 3px;
|
|
167
|
+
transition: all .3s;
|
|
154
168
|
|
|
155
169
|
&.hideVerticalHandle {
|
|
156
170
|
.forLine.isVertical:after {
|
|
@@ -163,6 +177,14 @@
|
|
|
163
177
|
opacity: 0;
|
|
164
178
|
}
|
|
165
179
|
}
|
|
180
|
+
|
|
181
|
+
&-wrapper {
|
|
182
|
+
&:hover {
|
|
183
|
+
.reportItemResizer {
|
|
184
|
+
border: 3px solid #0099FF;
|
|
185
|
+
}
|
|
186
|
+
}
|
|
187
|
+
}
|
|
166
188
|
}
|
|
167
189
|
}
|
|
168
190
|
|
|
@@ -218,23 +240,34 @@
|
|
|
218
240
|
.jfReport {
|
|
219
241
|
.report-item-toolbar {
|
|
220
242
|
position: absolute;
|
|
221
|
-
top: 50%;
|
|
222
|
-
transform: translateY(-50%);
|
|
223
|
-
right: -24px;
|
|
224
243
|
background-color: #FFFFFF;
|
|
225
244
|
padding: 4px;
|
|
226
245
|
border-radius: 3px;
|
|
227
246
|
display: flex;
|
|
228
|
-
flex-direction: column;
|
|
229
247
|
align-items: center;
|
|
230
248
|
justify-content: center;
|
|
231
249
|
text-align: center;
|
|
232
250
|
pointer-events: all;
|
|
233
251
|
z-index: 2;
|
|
234
|
-
animation: .2s fadeRight forwards;
|
|
235
252
|
gap: 4px;
|
|
236
253
|
box-shadow: 0 4px 8px 0 rgba(84, 95, 111, 0.15), 0 0 2px 0 rgba(37, 45, 91, 0.1);
|
|
237
254
|
|
|
255
|
+
&.right-align {
|
|
256
|
+
flex-direction: column;
|
|
257
|
+
top: 50%;
|
|
258
|
+
transform: translateY(-50%);
|
|
259
|
+
right: -24px;
|
|
260
|
+
animation: .2s fadeRight forwards;
|
|
261
|
+
}
|
|
262
|
+
|
|
263
|
+
&.top-align {
|
|
264
|
+
flex-direction: row;
|
|
265
|
+
top: calc(100% + 8px);
|
|
266
|
+
transform: translateX(50%);
|
|
267
|
+
right: 50% !important;
|
|
268
|
+
animation: .2s fadeTop forwards;
|
|
269
|
+
}
|
|
270
|
+
|
|
238
271
|
&-item {
|
|
239
272
|
max-width: 24px;
|
|
240
273
|
max-height: 24px;
|
|
@@ -307,4 +340,15 @@
|
|
|
307
340
|
opacity: 1;
|
|
308
341
|
}
|
|
309
342
|
}
|
|
343
|
+
|
|
344
|
+
@keyframes fadeTop {
|
|
345
|
+
0% {
|
|
346
|
+
top: -24px;
|
|
347
|
+
opacity: 0;
|
|
348
|
+
}
|
|
349
|
+
100% {
|
|
350
|
+
top: -38px;
|
|
351
|
+
opacity: 1;
|
|
352
|
+
}
|
|
353
|
+
}
|
|
310
354
|
}
|