@cleartrip/ct-design-ct-react-day-picker 1.2.0-SNAPSHOT-ctreactcalendar.0 → 1.2.0
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.esm.js +0 -2
- package/dist/index.esm.js.map +1 -1
- package/dist/index.js +0 -2
- package/dist/index.js.map +1 -1
- package/dist/index.min.js +1 -1
- package/dist/index.min.js.map +1 -1
- package/package.json +2 -6
package/dist/index.js
CHANGED
|
@@ -1870,7 +1870,6 @@ var Button = require$$0.memo(require$$0.forwardRef(function (props, ref) {
|
|
|
1870
1870
|
return jsxRuntimeExports.jsx("button", __assign({}, props, { ref: ref, type: 'button', className: className, style: style }));
|
|
1871
1871
|
}));
|
|
1872
1872
|
var ButtonWrapper = require$$0.memo(require$$0.forwardRef(function (props, ref) {
|
|
1873
|
-
useWhyDidYouUpdate('Day', props);
|
|
1874
1873
|
var classNamesArr = [props.classNames.button_reset, props.classNames.button];
|
|
1875
1874
|
if (props.className) {
|
|
1876
1875
|
classNamesArr.push(props.className);
|
|
@@ -2804,7 +2803,6 @@ var RowWrapper = require$$0.memo(function (props) {
|
|
|
2804
2803
|
if (showWeekNumber) {
|
|
2805
2804
|
weekNumberCell = (jsxRuntimeExports.jsx("td", __assign({ className: classNames.cell, style: styles.cell }, { children: jsxRuntimeExports.jsx(WeeknumberComponent, { number: weekNumber, dates: dates }) })));
|
|
2806
2805
|
}
|
|
2807
|
-
useWhyDidYouUpdate('ROW', props);
|
|
2808
2806
|
return (jsxRuntimeExports.jsxs("tr", __assign({ className: classNames.row, style: styles.row }, { children: [weekNumberCell, dates.map(function (date) { return (jsxRuntimeExports.jsx("td", __assign({ className: classNames.cell, style: styles.cell, role: 'presentation' }, { children: jsxRuntimeExports.jsx(DayComponent, { displayMonth: displayMonth, date: date }) }), dateFns.getUnixTime(date))); })] })));
|
|
2809
2807
|
});
|
|
2810
2808
|
|