@pie-lib/mask-markup 4.1.2-next.20261019183544 → 4.1.2-next.20261020062838
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.
|
@@ -7,8 +7,8 @@ declare function DragDropBlank({ id, disabled, duplicates, choice, correct, onCh
|
|
|
7
7
|
choice: any;
|
|
8
8
|
correct: any;
|
|
9
9
|
onChange: any;
|
|
10
|
-
emptyResponseAreaWidth
|
|
11
|
-
emptyResponseAreaHeight
|
|
10
|
+
emptyResponseAreaWidth?: number | undefined;
|
|
11
|
+
emptyResponseAreaHeight?: number | undefined;
|
|
12
12
|
instanceId: any;
|
|
13
13
|
language: any;
|
|
14
14
|
selectedItem: any;
|
|
@@ -16,10 +16,6 @@ declare function DragDropBlank({ id, disabled, duplicates, choice, correct, onCh
|
|
|
16
16
|
onPlacementClick: any;
|
|
17
17
|
}): React.JSX.Element;
|
|
18
18
|
declare namespace DragDropBlank {
|
|
19
|
-
var defaultProps: {
|
|
20
|
-
emptyResponseAreaWidth: number;
|
|
21
|
-
emptyResponseAreaHeight: number;
|
|
22
|
-
};
|
|
23
19
|
var propTypes: {
|
|
24
20
|
id: PropTypes.Requireable<NonNullable<string | number | null | undefined>>;
|
|
25
21
|
disabled: PropTypes.Requireable<boolean>;
|
package/dist/components/blank.js
CHANGED
|
@@ -76,7 +76,7 @@ var y = o("span")(({ dragged: e, over: t, selected: n, showsPointerCursor: r })
|
|
|
76
76
|
transform: "translateY(-50%)"
|
|
77
77
|
}
|
|
78
78
|
}));
|
|
79
|
-
function C({ disabled: a, choice: o, isOver: c, isDragging: f, dragItem: p, correct: m, emptyResponseAreaWidth: h, emptyResponseAreaHeight: g }) {
|
|
79
|
+
function C({ disabled: a, choice: o, isOver: c, isDragging: f, dragItem: p, correct: m, emptyResponseAreaWidth: h = 0, emptyResponseAreaHeight: g = 0 }) {
|
|
80
80
|
let _ = r(null), v = r(null), y = r(null), b = r(!1), [C, w] = i({
|
|
81
81
|
height: 0,
|
|
82
82
|
width: 0
|
|
@@ -176,10 +176,7 @@ function C({ disabled: a, choice: o, isOver: c, isDragging: f, dragItem: p, corr
|
|
|
176
176
|
style: M
|
|
177
177
|
});
|
|
178
178
|
}
|
|
179
|
-
C.
|
|
180
|
-
emptyResponseAreaWidth: 0,
|
|
181
|
-
emptyResponseAreaHeight: 0
|
|
182
|
-
}, C.propTypes = {
|
|
179
|
+
C.propTypes = {
|
|
183
180
|
id: a.oneOfType([a.string, a.number]),
|
|
184
181
|
disabled: a.bool,
|
|
185
182
|
duplicates: a.bool,
|
|
@@ -192,7 +189,7 @@ C.defaultProps = {
|
|
|
192
189
|
emptyResponseAreaHeight: a.oneOfType([a.string, a.number]),
|
|
193
190
|
instanceId: a.string
|
|
194
191
|
};
|
|
195
|
-
function w({ id: e, disabled: t, duplicates: n, choice: r, correct: a, onChange: o, emptyResponseAreaWidth: s, emptyResponseAreaHeight: c, instanceId: l, language: d, selectedItem: m, onSelectClick: h, onPlacementClick: g }) {
|
|
192
|
+
function w({ id: e, disabled: t, duplicates: n, choice: r, correct: a, onChange: o, emptyResponseAreaWidth: s = 0, emptyResponseAreaHeight: c = 0, instanceId: l, language: d, selectedItem: m, onSelectClick: h, onPlacementClick: g }) {
|
|
196
193
|
let [_, x] = i(!1), S = {
|
|
197
194
|
id: e,
|
|
198
195
|
choice: r,
|
|
@@ -252,10 +249,7 @@ function w({ id: e, disabled: t, duplicates: n, choice: r, correct: a, onChange:
|
|
|
252
249
|
})
|
|
253
250
|
});
|
|
254
251
|
}
|
|
255
|
-
w.
|
|
256
|
-
emptyResponseAreaWidth: 0,
|
|
257
|
-
emptyResponseAreaHeight: 0
|
|
258
|
-
}, w.propTypes = {
|
|
252
|
+
w.propTypes = {
|
|
259
253
|
id: a.oneOfType([a.string, a.number]),
|
|
260
254
|
disabled: a.bool,
|
|
261
255
|
duplicates: a.bool,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pie-lib/mask-markup",
|
|
3
|
-
"version": "4.1.2-next.
|
|
3
|
+
"version": "4.1.2-next.20261020062838",
|
|
4
4
|
"description": "",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -13,9 +13,9 @@
|
|
|
13
13
|
"@mui/icons-material": "^7.3.4",
|
|
14
14
|
"@mui/material": "^7.3.4",
|
|
15
15
|
"@pie-element/shared-utils": "0.1.6-next.20261019151920",
|
|
16
|
-
"@pie-lib/drag": "5.0.7-next.
|
|
17
|
-
"@pie-lib/editable-html-tip-tap": "3.1.2-next.
|
|
18
|
-
"@pie-lib/render-ui": "8.0.7-next.
|
|
16
|
+
"@pie-lib/drag": "5.0.7-next.20261019223635",
|
|
17
|
+
"@pie-lib/editable-html-tip-tap": "3.1.2-next.20261020062838",
|
|
18
|
+
"@pie-lib/render-ui": "8.0.7-next.20261019223635",
|
|
19
19
|
"@pie-lib/translator": "5.0.2-next.20261019155156",
|
|
20
20
|
"debug": "^4.1.1",
|
|
21
21
|
"prop-types": "^15.7.2",
|