Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

rc-picker

Package Overview
Dependencies
Maintainers
1
Versions
313
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

rc-picker - npm Package Compare versions

Comparing version 0.0.1-alpha.5 to 0.0.1-alpha.6

2

es/panels/DatePanel/DateBody.js

@@ -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": [

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc