rc-picker
Advanced tools
Comparing version 0.0.1-alpha.5 to 0.0.1-alpha.6
@@ -94,3 +94,3 @@ "use strict"; | ||
}, | ||
className: classnames_1.default(datePrefixCls, (_classnames_1$default = {}, _defineProperty(_classnames_1$default, "".concat(datePrefixCls, "-disabled"), disabled), _defineProperty(_classnames_1$default, "".concat(datePrefixCls, "-in-view"), dateUtil_1.isSameMonth(generateConfig, currentDate, viewDate)), _defineProperty(_classnames_1$default, "".concat(datePrefixCls, "-in-range"), dateUtil_1.isInRange(generateConfig, rangedValue && rangedValue[0], rangedValue && rangedValue[1], currentDate)), _defineProperty(_classnames_1$default, "".concat(datePrefixCls, "-today"), dateUtil_1.isSameDate(generateConfig, today, currentDate)), _defineProperty(_classnames_1$default, "".concat(datePrefixCls, "-selected"), dateUtil_1.isSameDate(generateConfig, value, currentDate)), _classnames_1$default)) | ||
className: classnames_1.default(datePrefixCls, (_classnames_1$default = {}, _defineProperty(_classnames_1$default, "".concat(datePrefixCls, "-disabled"), disabled), _defineProperty(_classnames_1$default, "".concat(datePrefixCls, "-in-view"), dateUtil_1.isSameMonth(generateConfig, currentDate, viewDate)), _defineProperty(_classnames_1$default, "".concat(datePrefixCls, "-in-range"), dateUtil_1.isInRange(generateConfig, rangedValue && rangedValue[0], rangedValue && rangedValue[1], currentDate)), _defineProperty(_classnames_1$default, "".concat(datePrefixCls, "-range-start"), dateUtil_1.isSameDate(generateConfig, rangedValue && rangedValue[0], currentDate)), _defineProperty(_classnames_1$default, "".concat(datePrefixCls, "-range-end"), dateUtil_1.isSameDate(generateConfig, rangedValue && rangedValue[1], currentDate)), _defineProperty(_classnames_1$default, "".concat(datePrefixCls, "-today"), dateUtil_1.isSameDate(generateConfig, today, currentDate)), _defineProperty(_classnames_1$default, "".concat(datePrefixCls, "-selected"), dateUtil_1.isSameDate(generateConfig, value, currentDate)), _classnames_1$default)) | ||
}, dateRender ? dateRender(currentDate, today) : React.createElement("div", { | ||
@@ -97,0 +97,0 @@ className: "".concat(datePrefixCls, "-inner") |
@@ -12,3 +12,3 @@ import * as React from 'react'; | ||
ranges?: Record<string, Exclude<RangeValue<DateType>, null> | (() => Exclude<RangeValue<DateType>, null>)>; | ||
separator?: string; | ||
separator?: React.ReactNode; | ||
allowEmpty?: [boolean, boolean]; | ||
@@ -15,0 +15,0 @@ selectable?: [boolean, boolean]; |
@@ -94,3 +94,3 @@ "use strict"; | ||
}, | ||
className: classnames_1.default(datePrefixCls, (_classnames_1$default = {}, _defineProperty(_classnames_1$default, "".concat(datePrefixCls, "-disabled"), disabled), _defineProperty(_classnames_1$default, "".concat(datePrefixCls, "-in-view"), dateUtil_1.isSameMonth(generateConfig, currentDate, viewDate)), _defineProperty(_classnames_1$default, "".concat(datePrefixCls, "-in-range"), dateUtil_1.isInRange(generateConfig, rangedValue && rangedValue[0], rangedValue && rangedValue[1], currentDate)), _defineProperty(_classnames_1$default, "".concat(datePrefixCls, "-today"), dateUtil_1.isSameDate(generateConfig, today, currentDate)), _defineProperty(_classnames_1$default, "".concat(datePrefixCls, "-selected"), dateUtil_1.isSameDate(generateConfig, value, currentDate)), _classnames_1$default)) | ||
className: classnames_1.default(datePrefixCls, (_classnames_1$default = {}, _defineProperty(_classnames_1$default, "".concat(datePrefixCls, "-disabled"), disabled), _defineProperty(_classnames_1$default, "".concat(datePrefixCls, "-in-view"), dateUtil_1.isSameMonth(generateConfig, currentDate, viewDate)), _defineProperty(_classnames_1$default, "".concat(datePrefixCls, "-in-range"), dateUtil_1.isInRange(generateConfig, rangedValue && rangedValue[0], rangedValue && rangedValue[1], currentDate)), _defineProperty(_classnames_1$default, "".concat(datePrefixCls, "-range-start"), dateUtil_1.isSameDate(generateConfig, rangedValue && rangedValue[0], currentDate)), _defineProperty(_classnames_1$default, "".concat(datePrefixCls, "-range-end"), dateUtil_1.isSameDate(generateConfig, rangedValue && rangedValue[1], currentDate)), _defineProperty(_classnames_1$default, "".concat(datePrefixCls, "-today"), dateUtil_1.isSameDate(generateConfig, today, currentDate)), _defineProperty(_classnames_1$default, "".concat(datePrefixCls, "-selected"), dateUtil_1.isSameDate(generateConfig, value, currentDate)), _classnames_1$default)) | ||
}, dateRender ? dateRender(currentDate, today) : React.createElement("div", { | ||
@@ -97,0 +97,0 @@ className: "".concat(datePrefixCls, "-inner") |
@@ -12,3 +12,3 @@ import * as React from 'react'; | ||
ranges?: Record<string, Exclude<RangeValue<DateType>, null> | (() => Exclude<RangeValue<DateType>, null>)>; | ||
separator?: string; | ||
separator?: React.ReactNode; | ||
allowEmpty?: [boolean, boolean]; | ||
@@ -15,0 +15,0 @@ selectable?: [boolean, boolean]; |
{ | ||
"name": "rc-picker", | ||
"version": "0.0.1-alpha.5", | ||
"version": "0.0.1-alpha.6", | ||
"description": "React date & time picker", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
415411
10592