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

rc-collapse

Package Overview
Dependencies
Maintainers
6
Versions
83
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

rc-collapse - npm Package Compare versions

Comparing version 3.7.0 to 3.7.1

5

es/hooks/useItems.d.ts
import React from 'react';
import type { CollapsePanelProps, CollapseProps, ItemType } from '../interface';
declare type Props = Pick<
CollapsePanelProps,
'prefixCls' | 'onItemClick' | 'openMotion' | 'expandIcon'
> &
type Props = Pick<CollapsePanelProps, 'prefixCls' | 'onItemClick' | 'openMotion' | 'expandIcon'> &
Pick<CollapseProps, 'accordion' | 'collapsible' | 'destroyInactivePanel'> & {

@@ -8,0 +5,0 @@ activeKey: React.Key[];

2

es/interface.d.ts
import type { CSSMotionProps } from 'rc-motion';
import type * as React from 'react';
export declare type CollapsibleType = 'header' | 'icon' | 'disabled';
export type CollapsibleType = 'header' | 'icon' | 'disabled';
export interface ItemType

@@ -5,0 +5,0 @@ extends Omit<

@@ -86,5 +86,5 @@ import _defineProperty from '@babel/runtime/helpers/esm/defineProperty';

var headerClassName = classNames(
headerClass,
((_classNames2 = {}),
_defineProperty(_classNames2, ''.concat(prefixCls, '-header'), true),
_defineProperty(_classNames2, 'headerClass', headerClass),
_defineProperty(

@@ -91,0 +91,0 @@ _classNames2,

import React from 'react';
import type { CollapsePanelProps, CollapseProps, ItemType } from '../interface';
declare type Props = Pick<
CollapsePanelProps,
'prefixCls' | 'onItemClick' | 'openMotion' | 'expandIcon'
> &
type Props = Pick<CollapsePanelProps, 'prefixCls' | 'onItemClick' | 'openMotion' | 'expandIcon'> &
Pick<CollapseProps, 'accordion' | 'collapsible' | 'destroyInactivePanel'> & {

@@ -8,0 +5,0 @@ activeKey: React.Key[];

import type { CSSMotionProps } from 'rc-motion';
import type * as React from 'react';
export declare type CollapsibleType = 'header' | 'icon' | 'disabled';
export type CollapsibleType = 'header' | 'icon' | 'disabled';
export interface ItemType

@@ -5,0 +5,0 @@ extends Omit<

@@ -99,5 +99,5 @@ 'use strict';

var headerClassName = (0, _classnames.default)(
headerClass,
((_classNames2 = {}),
(0, _defineProperty2.default)(_classNames2, ''.concat(prefixCls, '-header'), true),
(0, _defineProperty2.default)(_classNames2, 'headerClass', headerClass),
(0, _defineProperty2.default)(

@@ -104,0 +104,0 @@ _classNames2,

{
"name": "rc-collapse",
"version": "3.7.0",
"version": "3.7.1",
"description": "rc-collapse ui component for react",

@@ -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