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

rc-picker

Package Overview
Dependencies
Maintainers
6
Versions
317
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 4.7.1 to 4.7.2

2

es/PickerInput/Selector/hooks/useClearIcon.d.ts

@@ -8,2 +8,2 @@ import type { ReactNode } from 'react';

clearIcon?: ReactNode;
}, clearIcon?: ReactNode): string | number | true | Iterable<ReactNode> | React.JSX.Element;
}, clearIcon?: ReactNode): string | number | true | React.JSX.Element | Iterable<ReactNode>;

@@ -8,3 +8,4 @@ import _extends from "@babel/runtime/helpers/esm/extends";

var _excluded = ["id", "prefix", "clearIcon", "suffixIcon", "separator", "activeIndex", "activeHelp", "allHelp", "focused", "onFocus", "onBlur", "onKeyDown", "locale", "generateConfig", "placeholder", "className", "style", "onClick", "onClear", "value", "onChange", "onSubmit", "onInputChange", "format", "maskFormat", "preserveInvalidOnBlur", "onInvalid", "disabled", "invalid", "inputReadOnly", "direction", "onOpenChange", "onActiveOffset", "placement", "onMouseDown", "required", "aria-required", "autoFocus", "tabIndex"],
_excluded2 = ["index"];
_excluded2 = ["index"],
_excluded3 = ["insetInlineStart", "insetInlineEnd"];
import classNames from 'classnames';

@@ -145,4 +146,7 @@ import ResizeObserver from 'rc-resize-observer';

var activeOffset = placementRight ? parentWidth - offsetWidth - offsetLeft : offsetLeft;
setActiveBarStyle(function (ori) {
return _objectSpread(_objectSpread({}, ori), {}, _defineProperty({
setActiveBarStyle(function (_ref2) {
var insetInlineStart = _ref2.insetInlineStart,
insetInlineEnd = _ref2.insetInlineEnd,
rest = _objectWithoutProperties(_ref2, _excluded3);
return _objectSpread(_objectSpread({}, rest), {}, _defineProperty({
width: offsetWidth

@@ -149,0 +153,0 @@ }, offsetUnit, activeOffset));

@@ -5,2 +5,2 @@ import type { ReactNode } from "react";

clearIcon?: ReactNode;
}, clearIcon?: ReactNode): string | number | true | Iterable<ReactNode> | React.JSX.Element;
}, clearIcon?: ReactNode): string | number | true | React.JSX.Element | Iterable<ReactNode>;

@@ -8,2 +8,2 @@ import type { ReactNode } from 'react';

clearIcon?: ReactNode;
}, clearIcon?: ReactNode): string | number | true | Iterable<ReactNode> | React.JSX.Element;
}, clearIcon?: ReactNode): string | number | true | React.JSX.Element | Iterable<ReactNode>;

@@ -26,3 +26,4 @@ "use strict";

var _excluded = ["id", "prefix", "clearIcon", "suffixIcon", "separator", "activeIndex", "activeHelp", "allHelp", "focused", "onFocus", "onBlur", "onKeyDown", "locale", "generateConfig", "placeholder", "className", "style", "onClick", "onClear", "value", "onChange", "onSubmit", "onInputChange", "format", "maskFormat", "preserveInvalidOnBlur", "onInvalid", "disabled", "invalid", "inputReadOnly", "direction", "onOpenChange", "onActiveOffset", "placement", "onMouseDown", "required", "aria-required", "autoFocus", "tabIndex"],
_excluded2 = ["index"];
_excluded2 = ["index"],
_excluded3 = ["insetInlineStart", "insetInlineEnd"];
function RangeSelector(props, ref) {

@@ -153,4 +154,7 @@ var id = props.id,

var activeOffset = placementRight ? parentWidth - offsetWidth - offsetLeft : offsetLeft;
setActiveBarStyle(function (ori) {
return (0, _objectSpread3.default)((0, _objectSpread3.default)({}, ori), {}, (0, _defineProperty2.default)({
setActiveBarStyle(function (_ref2) {
var insetInlineStart = _ref2.insetInlineStart,
insetInlineEnd = _ref2.insetInlineEnd,
rest = (0, _objectWithoutProperties2.default)(_ref2, _excluded3);
return (0, _objectSpread3.default)((0, _objectSpread3.default)({}, rest), {}, (0, _defineProperty2.default)({
width: offsetWidth

@@ -157,0 +161,0 @@ }, offsetUnit, activeOffset));

@@ -5,2 +5,2 @@ import type { ReactNode } from "react";

clearIcon?: ReactNode;
}, clearIcon?: ReactNode): string | number | true | Iterable<ReactNode> | React.JSX.Element;
}, clearIcon?: ReactNode): string | number | true | React.JSX.Element | Iterable<ReactNode>;
{
"name": "rc-picker",
"version": "4.7.1",
"version": "4.7.2",
"description": "React date & time picker",

@@ -32,3 +32,3 @@ "keywords": [

"gh-pages": "npm run build && father doc deploy",
"prepublishOnly": "npm run compile",
"prepublishOnly": "npm run compile && np --yolo --no-publish",
"lint": "eslint src/ --ext .ts,.tsx,.jsx,.js,.md",

@@ -35,0 +35,0 @@ "lint:tsc": "tsc -p tsconfig.json --noEmit",

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