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
302
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 8.0.15 to 9.0.0

12

build/cjs/AccordionItem.js

@@ -30,6 +30,6 @@ "use strict";

module.exports = __toCommonJS(AccordionItem_exports);
var import_jkl_icons_react = require("@fremtind/jkl-icons-react");
var import_jkl_react_hooks = require("@fremtind/jkl-react-hooks");
var import_classnames = __toESM(require("classnames"));
var import_react = __toESM(require("react"));
var import_AccordionExpandArrow = require("./AccordionExpandArrow");
const AccordionItem = ({

@@ -76,3 +76,11 @@ children,

title,
/* @__PURE__ */ import_react.default.createElement(import_AccordionExpandArrow.AccordionExpandArrow, { expanded: isOpen })
/* @__PURE__ */ import_react.default.createElement(
import_jkl_icons_react.ArrowVerticalAnimated,
{
variant: "medium",
className: "jkl-accordion-item__arrow",
pointingDown: !isOpen,
bold: isOpen
}
)
),

@@ -79,0 +87,0 @@ /* @__PURE__ */ import_react.default.createElement(

@@ -0,5 +1,5 @@

import { ArrowVerticalAnimated } from "@fremtind/jkl-icons-react";
import { useAnimatedHeight, useId } from "@fremtind/jkl-react-hooks";
import cn from "classnames";
import React, { useState } from "react";
import { AccordionExpandArrow } from "./AccordionExpandArrow";
const AccordionItem = ({

@@ -46,3 +46,11 @@ children,

title,
/* @__PURE__ */ React.createElement(AccordionExpandArrow, { expanded: isOpen })
/* @__PURE__ */ React.createElement(
ArrowVerticalAnimated,
{
variant: "medium",
className: "jkl-accordion-item__arrow",
pointingDown: !isOpen,
bold: isOpen
}
)
),

@@ -49,0 +57,0 @@ /* @__PURE__ */ React.createElement(

13

package.json
{
"name": "@fremtind/jkl-accordion-react",
"version": "8.0.15",
"version": "9.0.0",
"publishConfig": {

@@ -40,9 +40,10 @@ "access": "public"

"dependencies": {
"@fremtind/jkl-accordion": "^9.0.7",
"@fremtind/jkl-core": "^11.4.0",
"@fremtind/jkl-react-hooks": "^10.2.9",
"@fremtind/jkl-accordion": "^10.0.0",
"@fremtind/jkl-core": "^12.0.0",
"@fremtind/jkl-icons-react": "^7.0.0",
"@fremtind/jkl-react-hooks": "^11.0.0",
"classnames": "^2.3.2"
},
"devDependencies": {
"@fremtind/jkl-list-react": "^8.0.12"
"@fremtind/jkl-list-react": "^9.0.0"
},

@@ -62,3 +63,3 @@ "peerDependencies": {

},
"gitHead": "ec5d85c9e404fbced0be21140faf4d7d295dbdea"
"gitHead": "f325f04cebd537eaa97ae7b27535c946b6f85ff6"
}

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