ywana-core8 0.0.882 → 0.0.884
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/dist/index.cjs +5 -2
- package/dist/index.cjs.map +1 -1
- package/dist/index.modern.js +5 -2
- package/dist/index.modern.js.map +1 -1
- package/dist/index.umd.js +5 -2
- package/dist/index.umd.js.map +1 -1
- package/package.json +1 -1
- package/src/domain/ContentEditor.js +3 -1
- package/src/html/tab.js +4 -2
- package/src/html/tree.js +2 -0
package/dist/index.modern.js
CHANGED
@@ -1045,13 +1045,16 @@ var Tab = function Tab(props) {
|
|
1045
1045
|
if (onSelect) onSelect(id);
|
1046
1046
|
}
|
1047
1047
|
var style = selected ? "selected" : "";
|
1048
|
+
var labelTxt = label ? /*#__PURE__*/React.createElement(Text, {
|
1049
|
+
format: TEXTFORMATS.STRING
|
1050
|
+
}, label) : null;
|
1048
1051
|
return /*#__PURE__*/React.createElement("div", {
|
1049
1052
|
className: "tab " + style,
|
1050
1053
|
onClick: select
|
1051
1054
|
}, icon ? /*#__PURE__*/React.createElement(Icon, {
|
1052
1055
|
icon: icon,
|
1053
1056
|
size: "small"
|
1054
|
-
}) : null,
|
1057
|
+
}) : null, labelTxt, actions ? actions : null);
|
1055
1058
|
};
|
1056
1059
|
|
1057
1060
|
/**
|
@@ -5766,7 +5769,7 @@ var MultiSelectionEditor = function MultiSelectionEditor(_ref10) {
|
|
5766
5769
|
}
|
5767
5770
|
return /*#__PURE__*/React.createElement("div", {
|
5768
5771
|
className: "multiselection-editor"
|
5769
|
-
}, /*#__PURE__*/React.createElement("label", null, label), buildOptions().map(function (option) {
|
5772
|
+
}, /*#__PURE__*/React.createElement("label", null, /*#__PURE__*/React.createElement(Text, null, label)), buildOptions().map(function (option) {
|
5770
5773
|
var checked = value.includes(option.value);
|
5771
5774
|
switch (format) {
|
5772
5775
|
case FORMATS$1.CHECKBOX:
|