@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.esm.js
CHANGED
|
@@ -1868,7 +1868,6 @@ var Button = memo(forwardRef(function (props, ref) {
|
|
|
1868
1868
|
return jsxRuntimeExports.jsx("button", __assign({}, props, { ref: ref, type: 'button', className: className, style: style }));
|
|
1869
1869
|
}));
|
|
1870
1870
|
var ButtonWrapper = memo(forwardRef(function (props, ref) {
|
|
1871
|
-
useWhyDidYouUpdate('Day', props);
|
|
1872
1871
|
var classNamesArr = [props.classNames.button_reset, props.classNames.button];
|
|
1873
1872
|
if (props.className) {
|
|
1874
1873
|
classNamesArr.push(props.className);
|
|
@@ -2802,7 +2801,6 @@ var RowWrapper = memo(function (props) {
|
|
|
2802
2801
|
if (showWeekNumber) {
|
|
2803
2802
|
weekNumberCell = (jsxRuntimeExports.jsx("td", __assign({ className: classNames.cell, style: styles.cell }, { children: jsxRuntimeExports.jsx(WeeknumberComponent, { number: weekNumber, dates: dates }) })));
|
|
2804
2803
|
}
|
|
2805
|
-
useWhyDidYouUpdate('ROW', props);
|
|
2806
2804
|
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 }) }), getUnixTime(date))); })] })));
|
|
2807
2805
|
});
|
|
2808
2806
|
|