@biotic-ui/collapsible
Advanced tools
Comparing version 0.4.1 to 0.5.0
var $6ex1d$reactjsxruntime = require("react/jsx-runtime"); | ||
var $6ex1d$framermotion = require("framer-motion"); | ||
var $6ex1d$react = require("react"); | ||
var $6ex1d$emotioncss = require("@emotion/css"); | ||
@@ -72,23 +71,2 @@ function $parcel$export(e, n, v, s) { | ||
let $44ad0614922ac38a$export$8837f4fc672e936d = (0, $6ex1d$emotioncss.css)` | ||
list-style-type: none; | ||
padding: 0; | ||
margin: 0; | ||
`; | ||
let $44ad0614922ac38a$export$fb184b623420d9be = (0, $6ex1d$emotioncss.css)` | ||
background: none; | ||
border: none; | ||
flex-grow: 0; | ||
cursor: pointer; | ||
padding: calc(var(--size-2) / 2) var(--size-2); | ||
`; | ||
let $44ad0614922ac38a$export$a7db06668cad9adb = (0, $6ex1d$emotioncss.css)` | ||
padding: var(--size-2); | ||
`; | ||
let $44ad0614922ac38a$export$a5d588907f6ab62d = (0, $6ex1d$emotioncss.css)` | ||
padding: calc(var(--size-2) / 2); | ||
`; | ||
let $21634c8e4f99bbb4$var$defaultOptions = { | ||
@@ -146,3 +124,3 @@ open: [], | ||
className: [ | ||
$44ad0614922ac38a$export$8837f4fc672e936d, | ||
"biotic-accordion-list", | ||
className | ||
@@ -177,5 +155,5 @@ ].join(" "), | ||
let classes = [ | ||
$44ad0614922ac38a$export$fb184b623420d9be, | ||
"biotic-accordion-title", | ||
className, | ||
isOpen ? "is-open" : "", | ||
isOpen ? "biotic-accordion-title--open" : "" | ||
].join(" "); | ||
@@ -194,5 +172,5 @@ return /*#__PURE__*/ (0, $6ex1d$reactjsxruntime.jsx)((0, $6ex1d$framermotion.motion).button, { | ||
let classes = [ | ||
$44ad0614922ac38a$export$a7db06668cad9adb, | ||
open ? $44ad0614922ac38a$export$a5d588907f6ab62d : "", | ||
className ?? "", | ||
"biotic-accordion-content", | ||
open ? "biotic-accordion-content--open" : "", | ||
className ?? "" | ||
]; | ||
@@ -199,0 +177,0 @@ return /*#__PURE__*/ (0, $6ex1d$reactjsxruntime.jsx)((0, $142e369381921674$export$6eb0f7ddcda6131f), { |
import {jsx as $1F54I$jsx} from "react/jsx-runtime"; | ||
import {AnimatePresence as $1F54I$AnimatePresence, motion as $1F54I$motion, AnimateSharedLayout as $1F54I$AnimateSharedLayout} from "framer-motion"; | ||
import {useState as $1F54I$useState, createContext as $1F54I$createContext, Children as $1F54I$Children, useContext as $1F54I$useContext, cloneElement as $1F54I$cloneElement} from "react"; | ||
import {css as $1F54I$css} from "@emotion/css"; | ||
@@ -62,23 +61,2 @@ | ||
let $736ac96ac3fad2d1$export$8837f4fc672e936d = (0, $1F54I$css)` | ||
list-style-type: none; | ||
padding: 0; | ||
margin: 0; | ||
`; | ||
let $736ac96ac3fad2d1$export$fb184b623420d9be = (0, $1F54I$css)` | ||
background: none; | ||
border: none; | ||
flex-grow: 0; | ||
cursor: pointer; | ||
padding: calc(var(--size-2) / 2) var(--size-2); | ||
`; | ||
let $736ac96ac3fad2d1$export$a7db06668cad9adb = (0, $1F54I$css)` | ||
padding: var(--size-2); | ||
`; | ||
let $736ac96ac3fad2d1$export$a5d588907f6ab62d = (0, $1F54I$css)` | ||
padding: calc(var(--size-2) / 2); | ||
`; | ||
let $9600a9d5e36ef490$var$defaultOptions = { | ||
@@ -136,3 +114,3 @@ open: [], | ||
className: [ | ||
$736ac96ac3fad2d1$export$8837f4fc672e936d, | ||
"biotic-accordion-list", | ||
className | ||
@@ -167,5 +145,5 @@ ].join(" "), | ||
let classes = [ | ||
$736ac96ac3fad2d1$export$fb184b623420d9be, | ||
"biotic-accordion-title", | ||
className, | ||
isOpen ? "is-open" : "", | ||
isOpen ? "biotic-accordion-title--open" : "" | ||
].join(" "); | ||
@@ -184,5 +162,5 @@ return /*#__PURE__*/ (0, $1F54I$jsx)((0, $1F54I$motion).button, { | ||
let classes = [ | ||
$736ac96ac3fad2d1$export$a7db06668cad9adb, | ||
open ? $736ac96ac3fad2d1$export$a5d588907f6ab62d : "", | ||
className ?? "", | ||
"biotic-accordion-content", | ||
open ? "biotic-accordion-content--open" : "", | ||
className ?? "" | ||
]; | ||
@@ -189,0 +167,0 @@ return /*#__PURE__*/ (0, $1F54I$jsx)((0, $dc3b4269432ef05b$export$6eb0f7ddcda6131f), { |
{ | ||
"name": "@biotic-ui/collapsible", | ||
"version": "0.4.1", | ||
"version": "0.5.0", | ||
"description": "React Collapsible", | ||
@@ -29,9 +29,8 @@ "source": "src/main.ts", | ||
"homepage": "https://github.com/riezler-co/biotic#readme", | ||
"peerDependencies": { | ||
"@biotic-ui/std": "^0.4.1", | ||
"@emotion/css": "^11.10.5", | ||
"dependencies": { | ||
"@biotic-ui/std": "^0.5.0", | ||
"framer-motion": "^7.5.1", | ||
"react": "17 - 18.x" | ||
}, | ||
"gitHead": "aa286c278d255c6e014a6714da74e77c0ef15013", | ||
"gitHead": "f34dcb031e1abcb02d03c3ce56c5650a7ab80f62", | ||
"publishConfig": { | ||
@@ -38,0 +37,0 @@ "access": "public" |
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
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
51090
3
397
+ Added@biotic-ui/std@^0.5.0
+ Addedframer-motion@^7.5.1
+ Addedreact@17 - 18.x
+ Added@biotic-ui/std@0.5.3(transitive)
- Removed@babel/code-frame@7.26.2(transitive)
- Removed@babel/generator@7.26.2(transitive)
- Removed@babel/helper-module-imports@7.25.9(transitive)
- Removed@babel/helper-string-parser@7.25.9(transitive)
- Removed@babel/helper-validator-identifier@7.25.9(transitive)
- Removed@babel/parser@7.26.2(transitive)
- Removed@babel/runtime@7.26.0(transitive)
- Removed@babel/template@7.25.9(transitive)
- Removed@babel/traverse@7.25.9(transitive)
- Removed@babel/types@7.26.0(transitive)
- Removed@biotic-ui/std@0.4.1(transitive)
- Removed@emotion/babel-plugin@11.13.5(transitive)
- Removed@emotion/cache@11.13.5(transitive)
- Removed@emotion/css@11.13.5(transitive)
- Removed@emotion/hash@0.9.2(transitive)
- Removed@emotion/memoize@0.9.0(transitive)
- Removed@emotion/serialize@1.3.3(transitive)
- Removed@emotion/sheet@1.4.0(transitive)
- Removed@emotion/unitless@0.10.0(transitive)
- Removed@emotion/utils@1.4.2(transitive)
- Removed@emotion/weak-memoize@0.4.0(transitive)
- Removed@jridgewell/gen-mapping@0.3.5(transitive)
- Removed@jridgewell/resolve-uri@3.1.2(transitive)
- Removed@jridgewell/set-array@1.2.1(transitive)
- Removed@jridgewell/sourcemap-codec@1.5.0(transitive)
- Removed@jridgewell/trace-mapping@0.3.25(transitive)
- Removed@types/parse-json@4.0.2(transitive)
- Removedbabel-plugin-macros@3.1.0(transitive)
- Removedcallsites@3.1.0(transitive)
- Removedconvert-source-map@1.9.0(transitive)
- Removedcosmiconfig@7.1.0(transitive)
- Removedcsstype@3.1.3(transitive)
- Removeddebug@4.3.7(transitive)
- Removederror-ex@1.3.2(transitive)
- Removedescape-string-regexp@4.0.0(transitive)
- Removedfind-root@1.1.0(transitive)
- Removedfunction-bind@1.1.2(transitive)
- Removedglobals@11.12.0(transitive)
- Removedhasown@2.0.2(transitive)
- Removedimport-fresh@3.3.0(transitive)
- Removedis-arrayish@0.2.1(transitive)
- Removedis-core-module@2.15.1(transitive)
- Removedjsesc@3.0.2(transitive)
- Removedjson-parse-even-better-errors@2.3.1(transitive)
- Removedlines-and-columns@1.2.4(transitive)
- Removedms@2.1.3(transitive)
- Removedparent-module@1.0.1(transitive)
- Removedparse-json@5.2.0(transitive)
- Removedpath-parse@1.0.7(transitive)
- Removedpath-type@4.0.0(transitive)
- Removedpicocolors@1.1.1(transitive)
- Removedregenerator-runtime@0.14.1(transitive)
- Removedresolve@1.22.8(transitive)
- Removedresolve-from@4.0.0(transitive)
- Removedsource-map@0.5.7(transitive)
- Removedstylis@4.2.0(transitive)
- Removedsupports-preserve-symlinks-flag@1.0.0(transitive)
- Removedyaml@1.10.2(transitive)