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.modern.js
CHANGED
@@ -1344,6 +1344,7 @@ var TextField = function TextField(props) {
|
|
1344
1344
|
var id = props.id,
|
1345
1345
|
_props$type = props.type,
|
1346
1346
|
type = _props$type === void 0 ? 'text' : _props$type,
|
1347
|
+
className = props.className,
|
1347
1348
|
label = props.label,
|
1348
1349
|
_props$labelPosition = props.labelPosition,
|
1349
1350
|
labelPosition = _props$labelPosition === void 0 ? 'top' : _props$labelPosition,
|
@@ -1387,7 +1388,7 @@ var TextField = function TextField(props) {
|
|
1387
1388
|
var labelTxt = /*#__PURE__*/React.createElement(Text, null, label);
|
1388
1389
|
var placeholderTxt = site.translate ? site.translate(placeholder) : placeholder;
|
1389
1390
|
return /*#__PURE__*/React.createElement("div", {
|
1390
|
-
className: style + " " + id,
|
1391
|
+
className: style + " " + id + " " + className,
|
1391
1392
|
onClick: onClick
|
1392
1393
|
}, /*#__PURE__*/React.createElement("input", {
|
1393
1394
|
id: id,
|
@@ -5823,6 +5824,7 @@ var Planner2 = function Planner2(_ref) {
|
|
5823
5824
|
cellWidth = _ref$cellWidth === void 0 ? 10 : _ref$cellWidth,
|
5824
5825
|
_ref$rowHeaderWidth = _ref.rowHeaderWidth,
|
5825
5826
|
rowHeaderWidth = _ref$rowHeaderWidth === void 0 ? 10 : _ref$rowHeaderWidth,
|
5827
|
+
rowHeaderTitle = _ref.rowHeaderTitle,
|
5826
5828
|
EventRenderer = _ref.EventRenderer,
|
5827
5829
|
onSelectCell = _ref.onSelectCell,
|
5828
5830
|
_ref$hideEmptyRows = _ref.hideEmptyRows,
|
@@ -5895,7 +5897,7 @@ var Planner2 = function Planner2(_ref) {
|
|
5895
5897
|
style: {
|
5896
5898
|
width: rowHeaderWidth + "rem"
|
5897
5899
|
}
|
5898
|
-
}), uniqueMonths.map(function (month, index) {
|
5900
|
+
}, rowHeaderTitle), uniqueMonths.map(function (month, index) {
|
5899
5901
|
return /*#__PURE__*/React.createElement("div", {
|
5900
5902
|
className: "month-cell",
|
5901
5903
|
key: month + "-" + index,
|