ywana-core8 0.0.963 → 0.0.965
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 +4 -2
- package/dist/index.cjs.map +1 -1
- package/dist/index.modern.js +4 -2
- package/dist/index.modern.js.map +1 -1
- package/dist/index.umd.js +4 -2
- package/dist/index.umd.js.map +1 -1
- package/package.json +1 -1
- package/src/html/textfield.js +2 -2
- package/src/incubator/planner.js +2 -1
package/dist/index.cjs
CHANGED
@@ -1353,6 +1353,7 @@ var TextField = function TextField(props) {
|
|
1353
1353
|
var id = props.id,
|
1354
1354
|
_props$type = props.type,
|
1355
1355
|
type = _props$type === void 0 ? 'text' : _props$type,
|
1356
|
+
className = props.className,
|
1356
1357
|
label = props.label,
|
1357
1358
|
_props$labelPosition = props.labelPosition,
|
1358
1359
|
labelPosition = _props$labelPosition === void 0 ? 'top' : _props$labelPosition,
|
@@ -1396,7 +1397,7 @@ var TextField = function TextField(props) {
|
|
1396
1397
|
var labelTxt = /*#__PURE__*/React__default["default"].createElement(Text, null, label);
|
1397
1398
|
var placeholderTxt = site.translate ? site.translate(placeholder) : placeholder;
|
1398
1399
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
1399
|
-
className: style + " " + id,
|
1400
|
+
className: style + " " + id + " " + className,
|
1400
1401
|
onClick: onClick
|
1401
1402
|
}, /*#__PURE__*/React__default["default"].createElement("input", {
|
1402
1403
|
id: id,
|
@@ -5832,6 +5833,7 @@ var Planner2 = function Planner2(_ref) {
|
|
5832
5833
|
cellWidth = _ref$cellWidth === void 0 ? 10 : _ref$cellWidth,
|
5833
5834
|
_ref$rowHeaderWidth = _ref.rowHeaderWidth,
|
5834
5835
|
rowHeaderWidth = _ref$rowHeaderWidth === void 0 ? 10 : _ref$rowHeaderWidth,
|
5836
|
+
rowHeaderTitle = _ref.rowHeaderTitle,
|
5835
5837
|
EventRenderer = _ref.EventRenderer,
|
5836
5838
|
onSelectCell = _ref.onSelectCell,
|
5837
5839
|
_ref$hideEmptyRows = _ref.hideEmptyRows,
|
@@ -5904,7 +5906,7 @@ var Planner2 = function Planner2(_ref) {
|
|
5904
5906
|
style: {
|
5905
5907
|
width: rowHeaderWidth + "rem"
|
5906
5908
|
}
|
5907
|
-
}), uniqueMonths.map(function (month, index) {
|
5909
|
+
}, rowHeaderTitle), uniqueMonths.map(function (month, index) {
|
5908
5910
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
5909
5911
|
className: "month-cell",
|
5910
5912
|
key: month + "-" + index,
|