@radix-ui/react-accordion
Advanced tools
Comparing version 0.1.1-rc.16 to 0.1.1-rc.17
@@ -5,2 +5,3 @@ import React from "react"; | ||
import * as CollapsiblePrimitive from "@radix-ui/react-collapsible"; | ||
export const createAccordionScope: import("@radix-ui/react-context").CreateScope; | ||
export interface AccordionSingleProps extends AccordionImplSingleProps { | ||
@@ -7,0 +8,0 @@ type: 'single'; |
@@ -1,2 +0,2 @@ | ||
var e,r,t=require("@radix-ui/react-id").useId,o=(e={},r=require("@radix-ui/react-collapsible"),Object.keys(r).forEach((function(t){"default"!==t&&"__esModule"!==t&&Object.defineProperty(e,t,{enumerable:!0,get:function(){return r[t]}})})),e),n=require("@radix-ui/react-primitive").Primitive,a=require("@radix-ui/react-use-controllable-state").useControllableState,c=require("@radix-ui/primitive").composeEventHandlers,i=require("@radix-ui/react-compose-refs").useComposedRefs,l=require("@radix-ui/react-context").createContext,d=u(require("react")),s=u(require("@babel/runtime/helpers/extends"));function u(e){return e&&e.__esModule?e.default:e}const f=["Home","End","ArrowDown","ArrowUp"],p=/*#__PURE__*/d.forwardRef(((e,r)=>{const{type:t,...o}=e;if("single"===t){const e=o;/*#__PURE__*/return d.createElement(x,s({},e,{ref:r}))}if("multiple"===t){const e=o;/*#__PURE__*/return d.createElement(v,s({},e,{ref:r}))}throw new Error("Missing prop `type` expected on `Accordion`")}));exports.Accordion=p;const[m,g]=l("Accordion"),b=/*#__PURE__*/d.createContext(!1),x=/*#__PURE__*/d.forwardRef(((e,r)=>{const{value:t,defaultValue:o,onValueChange:n=(()=>{}),collapsible:c=!1,...i}=e,[l,u]=a({prop:t,defaultProp:o,onChange:n});/*#__PURE__*/return d.createElement(m,{value:l?[l]:[],onItemOpen:u,onItemClose:d.useCallback((()=>c&&u("")),[c,u])},/*#__PURE__*/d.createElement(b.Provider,{value:c},/*#__PURE__*/d.createElement(C,s({},i,{ref:r}))))})),v=/*#__PURE__*/d.forwardRef(((e,r)=>{const{value:t,defaultValue:o,onValueChange:n=(()=>{}),...c}=e,[i=[],l]=a({prop:t,defaultProp:o,onChange:n}),u=d.useCallback((e=>l(((r=[])=>[...r,e]))),[l]),f=d.useCallback((e=>l(((r=[])=>r.filter((r=>r!==e))))),[l]);/*#__PURE__*/return d.createElement(m,{value:i,onItemOpen:u,onItemClose:f},/*#__PURE__*/d.createElement(b.Provider,{value:!0},/*#__PURE__*/d.createElement(C,s({},c,{ref:r}))))})),[w,E]=l("Accordion"),C=/*#__PURE__*/d.forwardRef(((e,r)=>{const{disabled:t,...o}=e,a=d.useRef(new Set),l=d.useRef(null),u=i(l,r),p=c(e.onKeyDown,(e=>{var r;const t=e.target;if(!(f.includes(e.key)&&(o=t,o instanceof HTMLButtonElement)))return;var o;const n=[...a.current].filter((e=>!(null!=e&&e.disabled))),c=n.length,i=n.indexOf(t);if(-1===i)return;e.preventDefault();let l=i;switch(e.key){case"Home":l=0;break;case"End":l=c-1;break;case"ArrowDown":l=i+1;break;case"ArrowUp":l=i-1,l<0&&(l=c-1)}null===(r=n[l%c])||void 0===r||r.focus()}));/*#__PURE__*/return d.createElement(w,{triggerNodesRef:a,disabled:t},/*#__PURE__*/d.createElement(n.div,s({},o,{ref:u,onKeyDown:t?void 0:p})))})),[A,h]=l("AccordionItem"),R=/*#__PURE__*/d.forwardRef(((e,r)=>{const{value:n,...a}=e,c=E("AccordionItem"),i=g("AccordionItem"),l=t(),u=n&&i.value.includes(n)||!1,f=c.disabled||e.disabled;/*#__PURE__*/return d.createElement(A,{open:u,disabled:f,triggerId:l},/*#__PURE__*/d.createElement(o.Root,s({"data-state":u?"open":"closed"},a,{ref:r,disabled:f,open:u,onOpenChange:e=>{e?i.onItemOpen(n):i.onItemClose(n)}})))}));exports.AccordionItem=R;const I=/*#__PURE__*/d.forwardRef(((e,r)=>{const t=h("AccordionHeader");/*#__PURE__*/return d.createElement(n.h3,s({"data-state":(o=t.open,o?"open":"closed"),"data-disabled":t.disabled?"":void 0},e,{ref:r}));var o}));exports.AccordionHeader=I;const y=/*#__PURE__*/d.forwardRef(((e,r)=>{const{triggerNodesRef:t}=E("AccordionTrigger"),n=h("AccordionTrigger"),a=d.useContext(b),c=d.useRef(null),l=i(c,r);return d.useEffect((()=>{const e=t.current,r=c.current;if(r)return e.add(r),()=>{e.delete(r)}}),[t]),/*#__PURE__*/d.createElement(o.Trigger,s({"aria-disabled":n.open&&!a||void 0,id:n.triggerId},e,{ref:l}))}));exports.AccordionTrigger=y;const k=/*#__PURE__*/d.forwardRef(((e,r)=>{const t=h("AccordionContent");/*#__PURE__*/return d.createElement(o.Content,s({role:"region","aria-labelledby":t.triggerId},e,{style:{"--radix-accordion-content-height":"var(--radix-collapsible-content-height)","--radix-accordion-content-width":"var(--radix-collapsible-content-width)",...e.style},ref:r}))}));exports.AccordionContent=k;const q=p;exports.Root=q;const H=R;exports.Item=H;const O=I;exports.Header=O;const P=y;exports.Trigger=P;const T=k;exports.Content=T; | ||
var e,r,o=require("@radix-ui/react-id").useId,t=require("@radix-ui/react-collapsible"),n=(e={},r=t,Object.keys(r).forEach((function(o){"default"!==o&&"__esModule"!==o&&Object.defineProperty(e,o,{enumerable:!0,get:function(){return r[o]}})})),e),c=t.createCollapsibleScope,a=require("@radix-ui/react-primitive").Primitive,i=require("@radix-ui/react-use-controllable-state").useControllableState,l=require("@radix-ui/primitive").composeEventHandlers,s=require("@radix-ui/react-compose-refs").useComposedRefs,d=require("@radix-ui/react-context").createContextScope,u=f(require("react")),p=f(require("@babel/runtime/helpers/extends"));function f(e){return e&&e.__esModule?e.default:e}const m=["Home","End","ArrowDown","ArrowUp"],[g,b]=d("Accordion",[c]);exports.createAccordionScope=b;const A=c(),x=/*#__PURE__*/u.forwardRef(((e,r)=>{const{type:o,...t}=e;if("single"===o){const e=t;/*#__PURE__*/return u.createElement(C,p({},e,{ref:r}))}if("multiple"===o){const e=t;/*#__PURE__*/return u.createElement(h,p({},e,{ref:r}))}throw new Error("Missing prop `type` expected on `Accordion`")}));exports.Accordion=x;const[v,w]=g("Accordion"),[E,_]=g("Accordion",{collapsible:!1}),C=/*#__PURE__*/u.forwardRef(((e,r)=>{const{value:o,defaultValue:t,onValueChange:n=(()=>{}),collapsible:c=!1,...a}=e,[l,s]=i({prop:o,defaultProp:t,onChange:n});/*#__PURE__*/return u.createElement(v,{scope:e.__scopeAccordion,value:l?[l]:[],onItemOpen:s,onItemClose:u.useCallback((()=>c&&s("")),[c,s])},/*#__PURE__*/u.createElement(E,{scope:e.__scopeAccordion,collapsible:c},/*#__PURE__*/u.createElement(y,p({},a,{ref:r}))))})),h=/*#__PURE__*/u.forwardRef(((e,r)=>{const{value:o,defaultValue:t,onValueChange:n=(()=>{}),...c}=e,[a=[],l]=i({prop:o,defaultProp:t,onChange:n}),s=u.useCallback((e=>l(((r=[])=>[...r,e]))),[l]),d=u.useCallback((e=>l(((r=[])=>r.filter((r=>r!==e))))),[l]);/*#__PURE__*/return u.createElement(v,{scope:e.__scopeAccordion,value:a,onItemOpen:s,onItemClose:d},/*#__PURE__*/u.createElement(E,{scope:e.__scopeAccordion,collapsible:!0},/*#__PURE__*/u.createElement(y,p({},c,{ref:r}))))})),[R,I]=g("Accordion"),y=/*#__PURE__*/u.forwardRef(((e,r)=>{const{__scopeAccordion:o,disabled:t,...n}=e,c=u.useRef(new Set),i=u.useRef(null),d=s(i,r),f=l(e.onKeyDown,(e=>{var r;const o=e.target;if(!(m.includes(e.key)&&(t=o,t instanceof HTMLButtonElement)))return;var t;const n=[...c.current].filter((e=>!(null!=e&&e.disabled))),a=n.length,i=n.indexOf(o);if(-1===i)return;e.preventDefault();let l=i;switch(e.key){case"Home":l=0;break;case"End":l=a-1;break;case"ArrowDown":l=i+1;break;case"ArrowUp":l=i-1,l<0&&(l=a-1)}null===(r=n[l%a])||void 0===r||r.focus()}));/*#__PURE__*/return u.createElement(R,{scope:o,triggerNodesRef:c,disabled:t},/*#__PURE__*/u.createElement(a.div,p({},n,{ref:d,onKeyDown:t?void 0:f})))})),[k,q]=g("AccordionItem"),H=/*#__PURE__*/u.forwardRef(((e,r)=>{const{__scopeAccordion:t,value:c,...a}=e,i=I("AccordionItem",t),l=w("AccordionItem",t),s=A(t),d=o(),f=c&&l.value.includes(c)||!1,m=i.disabled||e.disabled;/*#__PURE__*/return u.createElement(k,{scope:t,open:f,disabled:m,triggerId:d},/*#__PURE__*/u.createElement(n.Root,p({"data-state":f?"open":"closed"},s,a,{ref:r,disabled:m,open:f,onOpenChange:e=>{e?l.onItemOpen(c):l.onItemClose(c)}})))}));exports.AccordionItem=H;const O=/*#__PURE__*/u.forwardRef(((e,r)=>{const{__scopeAccordion:o,...t}=e,n=q("AccordionHeader",o);/*#__PURE__*/return u.createElement(a.h3,p({"data-state":(c=n.open,c?"open":"closed"),"data-disabled":n.disabled?"":void 0},t,{ref:r}));var c}));exports.AccordionHeader=O;const T=/*#__PURE__*/u.forwardRef(((e,r)=>{const{__scopeAccordion:o,...t}=e,{triggerNodesRef:c}=I("AccordionTrigger",o),a=q("AccordionTrigger",o),i=_("AccordionTrigger",o),l=A(o),d=u.useRef(null),f=s(d,r);return u.useEffect((()=>{const e=c.current,r=d.current;if(r)return e.add(r),()=>{e.delete(r)}}),[c]),/*#__PURE__*/u.createElement(n.Trigger,p({"aria-disabled":a.open&&!i.collapsible||void 0,id:a.triggerId},l,t,{ref:f}))}));exports.AccordionTrigger=T;const D=/*#__PURE__*/u.forwardRef(((e,r)=>{const{__scopeAccordion:o,...t}=e,c=q("AccordionContent",o),a=A(o);/*#__PURE__*/return u.createElement(n.Content,p({role:"region","aria-labelledby":c.triggerId},a,t,{ref:r,style:{"--radix-accordion-content-height":"var(--radix-collapsible-content-height)","--radix-accordion-content-width":"var(--radix-collapsible-content-width)",...e.style}}))}));exports.AccordionContent=D;const S=x;exports.Root=S;const M=H;exports.Item=M;const P=O;exports.Header=P;const V=T;exports.Trigger=V;const j=D;exports.Content=j; | ||
//# sourceMappingURL=index.js.map |
@@ -1,2 +0,2 @@ | ||
import{useId as e}from"@radix-ui/react-id";import*as r from"@radix-ui/react-collapsible";import{Primitive as t}from"@radix-ui/react-primitive";import{useControllableState as o}from"@radix-ui/react-use-controllable-state";import{composeEventHandlers as n}from"@radix-ui/primitive";import{useComposedRefs as a}from"@radix-ui/react-compose-refs";import{createContext as c}from"@radix-ui/react-context";import i from"react";import d from"@babel/runtime/helpers/esm/extends";const l=["Home","End","ArrowDown","ArrowUp"];export const Accordion=/*#__PURE__*/i.forwardRef(((e,r)=>{const{type:t,...o}=e;if("single"===t){const e=o;/*#__PURE__*/return i.createElement(m,d({},e,{ref:r}))}if("multiple"===t){const e=o;/*#__PURE__*/return i.createElement(p,d({},e,{ref:r}))}throw new Error("Missing prop `type` expected on `Accordion`")}));/*#__PURE__*/const[s,u]=c("Accordion"),f=/*#__PURE__*/i.createContext(!1),m=/*#__PURE__*/i.forwardRef(((e,r)=>{const{value:t,defaultValue:n,onValueChange:a=(()=>{}),collapsible:c=!1,...l}=e,[u,m]=o({prop:t,defaultProp:n,onChange:a});/*#__PURE__*/return i.createElement(s,{value:u?[u]:[],onItemOpen:m,onItemClose:i.useCallback((()=>c&&m("")),[c,m])},/*#__PURE__*/i.createElement(f.Provider,{value:c},/*#__PURE__*/i.createElement(b,d({},l,{ref:r}))))})),p=/*#__PURE__*/i.forwardRef(((e,r)=>{const{value:t,defaultValue:n,onValueChange:a=(()=>{}),...c}=e,[l=[],u]=o({prop:t,defaultProp:n,onChange:a}),m=i.useCallback((e=>u(((r=[])=>[...r,e]))),[u]),p=i.useCallback((e=>u(((r=[])=>r.filter((r=>r!==e))))),[u]);/*#__PURE__*/return i.createElement(s,{value:l,onItemOpen:m,onItemClose:p},/*#__PURE__*/i.createElement(f.Provider,{value:!0},/*#__PURE__*/i.createElement(b,d({},c,{ref:r}))))})),[g,x]=c("Accordion"),b=/*#__PURE__*/i.forwardRef(((e,r)=>{const{disabled:o,...c}=e,s=i.useRef(new Set),u=i.useRef(null),f=a(u,r),m=n(e.onKeyDown,(e=>{var r;const t=e.target;if(!(l.includes(e.key)&&(o=t,o instanceof HTMLButtonElement)))return;var o;const n=[...s.current].filter((e=>!(null!=e&&e.disabled))),a=n.length,c=n.indexOf(t);if(-1===c)return;e.preventDefault();let i=c;switch(e.key){case"Home":i=0;break;case"End":i=a-1;break;case"ArrowDown":i=c+1;break;case"ArrowUp":i=c-1,i<0&&(i=a-1)}null===(r=n[i%a])||void 0===r||r.focus()}));/*#__PURE__*/return i.createElement(g,{triggerNodesRef:s,disabled:o},/*#__PURE__*/i.createElement(t.div,d({},c,{ref:f,onKeyDown:o?void 0:m})))})),[A,v]=c("AccordionItem");export const AccordionItem=/*#__PURE__*/i.forwardRef(((t,o)=>{const{value:n,...a}=t,c=x("AccordionItem"),l=u("AccordionItem"),s=e(),f=n&&l.value.includes(n)||!1,m=c.disabled||t.disabled;/*#__PURE__*/return i.createElement(A,{open:f,disabled:m,triggerId:s},/*#__PURE__*/i.createElement(r.Root,d({"data-state":f?"open":"closed"},a,{ref:o,disabled:m,open:f,onOpenChange:e=>{e?l.onItemOpen(n):l.onItemClose(n)}})))}));/*#__PURE__*/export const AccordionHeader=/*#__PURE__*/i.forwardRef(((e,r)=>{const o=v("AccordionHeader");/*#__PURE__*/return i.createElement(t.h3,d({"data-state":(n=o.open,n?"open":"closed"),"data-disabled":o.disabled?"":void 0},e,{ref:r}));var n}));/*#__PURE__*/export const AccordionTrigger=/*#__PURE__*/i.forwardRef(((e,t)=>{const{triggerNodesRef:o}=x("AccordionTrigger"),n=v("AccordionTrigger"),c=i.useContext(f),l=i.useRef(null),s=a(l,t);return i.useEffect((()=>{const e=o.current,r=l.current;if(r)return e.add(r),()=>{e.delete(r)}}),[o]),/*#__PURE__*/i.createElement(r.Trigger,d({"aria-disabled":n.open&&!c||void 0,id:n.triggerId},e,{ref:s}))}));/*#__PURE__*/export const AccordionContent=/*#__PURE__*/i.forwardRef(((e,t)=>{const o=v("AccordionContent");/*#__PURE__*/return i.createElement(r.Content,d({role:"region","aria-labelledby":o.triggerId},e,{style:{"--radix-accordion-content-height":"var(--radix-collapsible-content-height)","--radix-accordion-content-width":"var(--radix-collapsible-content-width)",...e.style},ref:t}))}));/*#__PURE__*/export const Root=Accordion;export const Item=AccordionItem;export const Header=AccordionHeader;export const Trigger=AccordionTrigger;export const Content=AccordionContent; | ||
import{useId as e}from"@radix-ui/react-id";import*as o from"@radix-ui/react-collapsible";import{createCollapsibleScope as r}from"@radix-ui/react-collapsible";import{Primitive as t}from"@radix-ui/react-primitive";import{useControllableState as c}from"@radix-ui/react-use-controllable-state";import{composeEventHandlers as n}from"@radix-ui/primitive";import{useComposedRefs as i}from"@radix-ui/react-compose-refs";import{createContextScope as a}from"@radix-ui/react-context";import d from"react";import l from"@babel/runtime/helpers/esm/extends";const s=["Home","End","ArrowDown","ArrowUp"],[p,f]=a("Accordion",[r]);export{f as createAccordionScope};const m=r();export const Accordion=/*#__PURE__*/d.forwardRef(((e,o)=>{const{type:r,...t}=e;if("single"===r){const e=t;/*#__PURE__*/return d.createElement(x,l({},e,{ref:o}))}if("multiple"===r){const e=t;/*#__PURE__*/return d.createElement(w,l({},e,{ref:o}))}throw new Error("Missing prop `type` expected on `Accordion`")}));/*#__PURE__*/const[u,g]=p("Accordion"),[A,b]=p("Accordion",{collapsible:!1}),x=/*#__PURE__*/d.forwardRef(((e,o)=>{const{value:r,defaultValue:t,onValueChange:n=(()=>{}),collapsible:i=!1,...a}=e,[s,p]=c({prop:r,defaultProp:t,onChange:n});/*#__PURE__*/return d.createElement(u,{scope:e.__scopeAccordion,value:s?[s]:[],onItemOpen:p,onItemClose:d.useCallback((()=>i&&p("")),[i,p])},/*#__PURE__*/d.createElement(A,{scope:e.__scopeAccordion,collapsible:i},/*#__PURE__*/d.createElement(_,l({},a,{ref:o}))))})),w=/*#__PURE__*/d.forwardRef(((e,o)=>{const{value:r,defaultValue:t,onValueChange:n=(()=>{}),...i}=e,[a=[],s]=c({prop:r,defaultProp:t,onChange:n}),p=d.useCallback((e=>s(((o=[])=>[...o,e]))),[s]),f=d.useCallback((e=>s(((o=[])=>o.filter((o=>o!==e))))),[s]);/*#__PURE__*/return d.createElement(u,{scope:e.__scopeAccordion,value:a,onItemOpen:p,onItemClose:f},/*#__PURE__*/d.createElement(A,{scope:e.__scopeAccordion,collapsible:!0},/*#__PURE__*/d.createElement(_,l({},i,{ref:o}))))})),[E,v]=p("Accordion"),_=/*#__PURE__*/d.forwardRef(((e,o)=>{const{__scopeAccordion:r,disabled:c,...a}=e,p=d.useRef(new Set),f=d.useRef(null),m=i(f,o),u=n(e.onKeyDown,(e=>{var o;const r=e.target;if(!(s.includes(e.key)&&(t=r,t instanceof HTMLButtonElement)))return;var t;const c=[...p.current].filter((e=>!(null!=e&&e.disabled))),n=c.length,i=c.indexOf(r);if(-1===i)return;e.preventDefault();let a=i;switch(e.key){case"Home":a=0;break;case"End":a=n-1;break;case"ArrowDown":a=i+1;break;case"ArrowUp":a=i-1,a<0&&(a=n-1)}null===(o=c[a%n])||void 0===o||o.focus()}));/*#__PURE__*/return d.createElement(E,{scope:r,triggerNodesRef:p,disabled:c},/*#__PURE__*/d.createElement(t.div,l({},a,{ref:m,onKeyDown:c?void 0:u})))})),[h,C]=p("AccordionItem");export const AccordionItem=/*#__PURE__*/d.forwardRef(((r,t)=>{const{__scopeAccordion:c,value:n,...i}=r,a=v("AccordionItem",c),s=g("AccordionItem",c),p=m(c),f=e(),u=n&&s.value.includes(n)||!1,A=a.disabled||r.disabled;/*#__PURE__*/return d.createElement(h,{scope:c,open:u,disabled:A,triggerId:f},/*#__PURE__*/d.createElement(o.Root,l({"data-state":u?"open":"closed"},p,i,{ref:t,disabled:A,open:u,onOpenChange:e=>{e?s.onItemOpen(n):s.onItemClose(n)}})))}));/*#__PURE__*/export const AccordionHeader=/*#__PURE__*/d.forwardRef(((e,o)=>{const{__scopeAccordion:r,...c}=e,n=C("AccordionHeader",r);/*#__PURE__*/return d.createElement(t.h3,l({"data-state":(i=n.open,i?"open":"closed"),"data-disabled":n.disabled?"":void 0},c,{ref:o}));var i}));/*#__PURE__*/export const AccordionTrigger=/*#__PURE__*/d.forwardRef(((e,r)=>{const{__scopeAccordion:t,...c}=e,{triggerNodesRef:n}=v("AccordionTrigger",t),a=C("AccordionTrigger",t),s=b("AccordionTrigger",t),p=m(t),f=d.useRef(null),u=i(f,r);return d.useEffect((()=>{const e=n.current,o=f.current;if(o)return e.add(o),()=>{e.delete(o)}}),[n]),/*#__PURE__*/d.createElement(o.Trigger,l({"aria-disabled":a.open&&!s.collapsible||void 0,id:a.triggerId},p,c,{ref:u}))}));/*#__PURE__*/export const AccordionContent=/*#__PURE__*/d.forwardRef(((e,r)=>{const{__scopeAccordion:t,...c}=e,n=C("AccordionContent",t),i=m(t);/*#__PURE__*/return d.createElement(o.Content,l({role:"region","aria-labelledby":n.triggerId},i,c,{ref:r,style:{"--radix-accordion-content-height":"var(--radix-collapsible-content-height)","--radix-accordion-content-width":"var(--radix-collapsible-content-width)",...e.style}}))}));/*#__PURE__*/export const Root=Accordion;export const Item=AccordionItem;export const Header=AccordionHeader;export const Trigger=AccordionTrigger;export const Content=AccordionContent; | ||
//# sourceMappingURL=index.module.js.map |
{ | ||
"name": "@radix-ui/react-accordion", | ||
"version": "0.1.1-rc.16", | ||
"version": "0.1.1-rc.17", | ||
"license": "MIT", | ||
@@ -21,7 +21,7 @@ "source": "src/index.ts", | ||
"@radix-ui/primitive": "0.1.0", | ||
"@radix-ui/react-collapsible": "0.1.1-rc.16", | ||
"@radix-ui/react-collapsible": "0.1.1-rc.17", | ||
"@radix-ui/react-compose-refs": "0.1.0", | ||
"@radix-ui/react-context": "0.1.0", | ||
"@radix-ui/react-id": "0.1.0", | ||
"@radix-ui/react-primitive": "0.1.1-rc.16", | ||
"@radix-ui/react-context": "0.1.1-rc.1", | ||
"@radix-ui/react-id": "0.1.1-rc.1", | ||
"@radix-ui/react-primitive": "0.1.1-rc.17", | ||
"@radix-ui/react-use-controllable-state": "0.1.0" | ||
@@ -28,0 +28,0 @@ }, |
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
Minified code
QualityThis package contains minified code. This may be harmless in some cases where minified code is included in packaged libraries, however packages on npm should not minify code.
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
Minified code
QualityThis package contains minified code. This may be harmless in some cases where minified code is included in packaged libraries, however packages on npm should not minify code.
Found 1 instance in 1 package
65700
140
+ Added@radix-ui/react-collapsible@0.1.1-rc.17(transitive)
+ Added@radix-ui/react-context@0.1.1-rc.1(transitive)
+ Added@radix-ui/react-id@0.1.1-rc.1(transitive)
+ Added@radix-ui/react-presence@0.1.1-rc.14(transitive)
+ Added@radix-ui/react-primitive@0.1.1-rc.17(transitive)
+ Added@radix-ui/react-slot@0.1.1-rc.13(transitive)
- Removed@radix-ui/react-collapsible@0.1.1-rc.16(transitive)
- Removed@radix-ui/react-context@0.1.0(transitive)
- Removed@radix-ui/react-id@0.1.0(transitive)
- Removed@radix-ui/react-presence@0.1.1-rc.13(transitive)
- Removed@radix-ui/react-primitive@0.1.1-rc.16(transitive)
- Removed@radix-ui/react-slot@0.1.1-rc.12(transitive)