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

@fremtind/jkl-accordion-react

Package Overview
Dependencies
Maintainers
3
Versions
297
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@fremtind/jkl-accordion-react - npm Package Compare versions

Comparing version 11.0.1 to 11.1.0

1

build/Accordion.d.ts

@@ -6,3 +6,4 @@ import { Density, WithChildren } from "@fremtind/jkl-core";

density?: Density;
id?: string;
}
export declare const Accordion: FC<AccordionProps>;

@@ -8,3 +8,4 @@ import { WithChildren } from "@fremtind/jkl-core";

onClick?: (e: React.MouseEvent, isOpen: boolean) => void;
id?: string;
}
export declare const AccordionItem: FC<AccordionItemProps>;

3

build/cjs/Accordion.js

@@ -36,3 +36,3 @@ "use strict";

var import_react = __toESM(require("react"));
const Accordion = ({ className, density, ...rest }) => {
const Accordion = ({ className, density, id, ...rest }) => {
return /* @__PURE__ */ import_react.default.createElement(

@@ -45,2 +45,3 @@ "section",

"data-density": density,
id,
...rest

@@ -47,0 +48,0 @@ }

@@ -44,2 +44,3 @@ "use strict";

onClick,
id,
...rest

@@ -64,3 +65,4 @@ }) => {

className: (0, import_classnames.default)("jkl-accordion-item", className),
ref: detailsRef
ref: detailsRef,
id
},

@@ -67,0 +69,0 @@ /* @__PURE__ */ import_react.default.createElement(

import cn from "classnames";
import React from "react";
const Accordion = ({ className, density, ...rest }) => {
const Accordion = ({ className, density, id, ...rest }) => {
return /* @__PURE__ */ React.createElement(

@@ -11,2 +11,3 @@ "section",

"data-density": density,
id,
...rest

@@ -13,0 +14,0 @@ }

@@ -11,2 +11,3 @@ import { ArrowVerticalAnimated } from "@fremtind/jkl-icons-react";

onClick,
id,
...rest

@@ -31,3 +32,4 @@ }) => {

className: cn("jkl-accordion-item", className),
ref: detailsRef
ref: detailsRef,
id
},

@@ -34,0 +36,0 @@ /* @__PURE__ */ React.createElement(

{
"name": "@fremtind/jkl-accordion-react",
"version": "11.0.1",
"version": "11.1.0",
"publishConfig": {

@@ -62,3 +62,3 @@ "access": "public"

},
"gitHead": "5405759e07ba17a52b3938d7853546b4c5fbfbdf"
"gitHead": "77703ef06a1256b5e8fabae1b234ca3ea6a2358e"
}

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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