Socket
Socket
Sign inDemoInstall

@microsoft/arbutus.accordion

Package Overview
Dependencies
47
Maintainers
1
Versions
18
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.0.10 to 1.0.0

7

lib/accordion-item/accordion-item.js

@@ -5,5 +5,4 @@ import { mergeClasses } from '@griffel/react';

import { AnimatePresence } from 'framer-motion';
import { nanoid } from 'nanoid';
import * as React from 'react';
import { useMemo, useState } from 'react';
import { useId, useState } from 'react';
import { useAccordionItemStyles } from './accordion-item.styles';

@@ -14,4 +13,4 @@ import { FadeMotion, SlideMotion } from './motion';

const handleExpandClick = () => setIsExpanded(!isExpanded);
const a11yLabelId = useMemo(() => nanoid(), []);
const a11yContentId = useMemo(() => nanoid(), []);
const a11yLabelId = useId();
const a11yContentId = useId();
// Styles

@@ -18,0 +17,0 @@ const classes = useAccordionItemStyles();

{
"name": "@microsoft/arbutus.accordion",
"version": "0.0.10",
"version": "1.0.0",
"description": "Accordion list component.",

@@ -20,17 +20,16 @@ "main": "lib/index.js",

"peerDependencies": {
"react": ">=16.8.0 <=18.2.0",
"react-dom": ">=16.8.0 <=18.2.0"
"react": "^18.2.0",
"react-dom": "^18.2.0"
},
"dependencies": {
"@microsoft/arbutus.icon": "0.1.1",
"@microsoft/arbutus.text": "0.1.3",
"@fluentui/react-theme": "^9.1.0",
"@griffel/react": "^1.5.2",
"framer-motion": "^10.2.3",
"nanoid": "^4.0.0"
"@microsoft/arbutus.icon": "1.0.0",
"@microsoft/arbutus.text": "1.0.0",
"@fluentui/react-theme": "^9.1.5",
"@griffel/react": "^1.5.5",
"framer-motion": "^10.3.1"
},
"devDependencies": {
"@microsoft/arbutus.ts": "0.0.2",
"typescript": "^4.9.4"
"typescript": "^4.9.5"
}
}

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc