@vitrosoftware/common-ui-ts 1.1.195 → 1.1.197
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/css/std/controls/placeholder/placeholder.css +36 -0
- package/dist/index.css +36 -0
- package/dist/index.js +10 -1
- package/dist/index.js.map +1 -1
- package/dist/src/controls/Placeholder/Placeholder.d.ts +6 -0
- package/dist/src/index.d.ts +2 -0
- package/package.json +1 -1
- package/src/controls/BimViewer/js/bim-viewer.js +2 -2
- package/src/controls/DxfViewer/js/dxf-viewer.js +25 -16
- package/src/controls/PdfViewer/js/pdf-viewer.js +1 -1
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
.vitro-placeholder {
|
|
2
|
+
width: 100%;
|
|
3
|
+
height: 100%;
|
|
4
|
+
padding: 24px;
|
|
5
|
+
}
|
|
6
|
+
|
|
7
|
+
.vitro-placeholder > div {
|
|
8
|
+
width: 100%;
|
|
9
|
+
height: 100%;
|
|
10
|
+
border-radius: 8px;
|
|
11
|
+
background-color: #F7F9FC;
|
|
12
|
+
justify-content: center;
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
.vitro-placeholder span {
|
|
16
|
+
text-align: center;
|
|
17
|
+
max-width: 598px;
|
|
18
|
+
color: #8E98A3;
|
|
19
|
+
font-family: 'InterMedium';
|
|
20
|
+
font-size: 20px;
|
|
21
|
+
line-height: 150%;
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
@media (max-width: 800px) {
|
|
25
|
+
.vitro-placeholder {
|
|
26
|
+
padding: 12px;
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
.vitro-placeholder > div {
|
|
30
|
+
padding: 0 20px;
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
.vitro-placeholder span {
|
|
34
|
+
font-size: 14px;
|
|
35
|
+
}
|
|
36
|
+
}
|
package/dist/index.css
CHANGED
|
@@ -9088,4 +9088,40 @@ li:first-child ._command-menu-item_vitro-item_2pVhk23:hover {
|
|
|
9088
9088
|
background-size: 100%;
|
|
9089
9089
|
background-position: center;
|
|
9090
9090
|
background-image: url('@vitrosoftware/common-ui-ts/css/std/controls/delete-button/img/delete-red.svg');
|
|
9091
|
+
}
|
|
9092
|
+
._placeholder_vitro-placeholder_4NH7HcF {
|
|
9093
|
+
width: 100%;
|
|
9094
|
+
height: 100%;
|
|
9095
|
+
padding: 24px;
|
|
9096
|
+
}
|
|
9097
|
+
|
|
9098
|
+
._placeholder_vitro-placeholder_4NH7HcF > div {
|
|
9099
|
+
width: 100%;
|
|
9100
|
+
height: 100%;
|
|
9101
|
+
border-radius: 8px;
|
|
9102
|
+
background-color: #F7F9FC;
|
|
9103
|
+
justify-content: center;
|
|
9104
|
+
}
|
|
9105
|
+
|
|
9106
|
+
._placeholder_vitro-placeholder_4NH7HcF span {
|
|
9107
|
+
text-align: center;
|
|
9108
|
+
max-width: 598px;
|
|
9109
|
+
color: #8E98A3;
|
|
9110
|
+
font-family: 'InterMedium';
|
|
9111
|
+
font-size: 20px;
|
|
9112
|
+
line-height: 150%;
|
|
9113
|
+
}
|
|
9114
|
+
|
|
9115
|
+
@media (max-width: 800px) {
|
|
9116
|
+
._placeholder_vitro-placeholder_4NH7HcF {
|
|
9117
|
+
padding: 12px;
|
|
9118
|
+
}
|
|
9119
|
+
|
|
9120
|
+
._placeholder_vitro-placeholder_4NH7HcF > div {
|
|
9121
|
+
padding: 0 20px;
|
|
9122
|
+
}
|
|
9123
|
+
|
|
9124
|
+
._placeholder_vitro-placeholder_4NH7HcF span {
|
|
9125
|
+
font-size: 14px;
|
|
9126
|
+
}
|
|
9091
9127
|
}
|
package/dist/index.js
CHANGED
|
@@ -63128,7 +63128,7 @@ var Viewer = function Viewer(props) {
|
|
|
63128
63128
|
};
|
|
63129
63129
|
|
|
63130
63130
|
var name = "@vitrosoftware/common-ui-ts";
|
|
63131
|
-
var version$1 = "1.1.
|
|
63131
|
+
var version$1 = "1.1.197";
|
|
63132
63132
|
var description = "vitro software common ui ts";
|
|
63133
63133
|
var author = "";
|
|
63134
63134
|
var license = "MIT";
|
|
@@ -85444,6 +85444,14 @@ var DeleteButton = function DeleteButton(props) {
|
|
|
85444
85444
|
}), props.text && React__default.createElement("div", null, props.text));
|
|
85445
85445
|
};
|
|
85446
85446
|
|
|
85447
|
+
var styles$1$ = {"vitro-placeholder":"_placeholder_vitro-placeholder_4NH7HcF"};
|
|
85448
|
+
|
|
85449
|
+
var Placeholder = function Placeholder(props) {
|
|
85450
|
+
return React__default.createElement(FlexBox, {
|
|
85451
|
+
className: styles$1$['vitro-placeholder'] + (props.className ? CTRL.SPACE + props.className : CTRL.EMPTY)
|
|
85452
|
+
}, React__default.createElement(FlexBox, null, React__default.createElement("span", null, props.text)));
|
|
85453
|
+
};
|
|
85454
|
+
|
|
85447
85455
|
exports.ACTION_HANDLER = ActionHandlerConstants;
|
|
85448
85456
|
exports.ALERT = AlertConstants;
|
|
85449
85457
|
exports.ActionHandler = ActionHandler;
|
|
@@ -85528,6 +85536,7 @@ exports.PageLayout = PageLayout;
|
|
|
85528
85536
|
exports.PasswordInput = PasswordInput;
|
|
85529
85537
|
exports.PdfViewer = PdfViewer;
|
|
85530
85538
|
exports.PinButton = PinButton;
|
|
85539
|
+
exports.Placeholder = Placeholder;
|
|
85531
85540
|
exports.ProductTitle = ProductTitle;
|
|
85532
85541
|
exports.Progress = Progress;
|
|
85533
85542
|
exports.ProgressBar = ProgressBar;
|