New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@jamsr-ui/utils

Package Overview
Dependencies
Maintainers
1
Versions
75
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@jamsr-ui/utils - npm Package Compare versions

Comparing version 0.0.54 to 0.0.55

dist/chunk-FDEX6JPJ.mjs

3

dist/class-name.d.ts
import { ClassValue } from 'clsx';
declare const cn: (...inputs: ClassValue[]) => string;
declare function deepMergeProps<T extends object, U extends object>(obj1: T, obj2: U): U;
declare const mergeClassNames: <T extends Record<string, any>>(left?: T, right?: T) => T | undefined;
export { cn, mergeClassNames };
export { cn, deepMergeProps, mergeClassNames };
"use client"
"use strict";var d=Object.create;var a=Object.defineProperty;var u=Object.getOwnPropertyDescriptor;var m=Object.getOwnPropertyNames;var x=Object.getPrototypeOf,T=Object.prototype.hasOwnProperty;var w=(e,s)=>{for(var n in s)a(e,n,{get:s[n],enumerable:!0})},t=(e,s,n,r)=>{if(s&&typeof s=="object"||typeof s=="function")for(let o of m(s))!T.call(e,o)&&o!==n&&a(e,o,{get:()=>s[o],enumerable:!(r=u(s,o))||r.enumerable});return e};var y=(e,s,n)=>(n=e!=null?d(x(e)):{},t(s||!e||!e.__esModule?a(n,"default",{value:e,enumerable:!0}):n,e)),f=e=>t(a({},"__esModule",{value:!0}),e);var k={};w(k,{cn:()=>p,mergeClassNames:()=>C});module.exports=f(k);var c=y(require("clsx")),i=require("tailwind-merge"),l=(0,i.extendTailwindMerge)({extend:{classGroups:{gap:["gap-responsive"],"font-size":["text-size-inherit"],shadow:["shadow-card"]}}}),p=(...e)=>l((0,c.default)(e)),C=(e,s)=>{if(!e&&!s)return{};if(!e)return s;if(!s)return e;let n={};for(let r in e)s.hasOwnProperty(r)?n[r]=p(e[r],s[r]):n[r]=e[r];for(let r in s)e.hasOwnProperty(r)||(n[r]=s[r]);return n};0&&(module.exports={cn,mergeClassNames});
"use strict";var f=Object.create;var a=Object.defineProperty;var u=Object.getOwnPropertyDescriptor;var l=Object.getOwnPropertyNames;var d=Object.getPrototypeOf,x=Object.prototype.hasOwnProperty;var m=(r,s)=>{for(var n in s)a(r,n,{get:s[n],enumerable:!0})},i=(r,s,n,e)=>{if(s&&typeof s=="object"||typeof s=="function")for(let t of l(s))!x.call(r,t)&&t!==n&&a(r,t,{get:()=>s[t],enumerable:!(e=u(s,t))||e.enumerable});return r};var T=(r,s,n)=>(n=r!=null?f(d(r)):{},i(s||!r||!r.__esModule?a(n,"default",{value:r,enumerable:!0}):n,r)),w=r=>i(a({},"__esModule",{value:!0}),r);var O={};m(O,{cn:()=>o,deepMergeProps:()=>y,mergeClassNames:()=>A});module.exports=w(O);var c=T(require("clsx")),p=require("tailwind-merge"),P=(0,p.extendTailwindMerge)({extend:{classGroups:{gap:["gap-responsive"],"font-size":["text-size-inherit"],shadow:["shadow-card"]}}}),o=(...r)=>P((0,c.default)(r));function y(r,s){let n={...r};for(let e in s)if(s.hasOwnProperty(e))if(e==="className")n[e]=o(n[e],s[e]);else if(e==="classNames"&&typeof s[e]=="object"&&!Array.isArray(s[e])){n[e]={...n[e]};for(let t in s[e])s[e].hasOwnProperty(t)&&(n[e][t]=o(n[e][t],s[e][t]))}else typeof s[e]=="object"&&s[e]!==null&&!Array.isArray(s[e])&&typeof n[e]=="object"&&n[e]!==null?n[e]=y(n[e],s[e]):n[e]=s[e];return n}var A=(r,s)=>{if(!r&&!s)return{};if(!r)return s;if(!s)return r;let n={};for(let e in r)s.hasOwnProperty(e)?n[e]=o(r[e],s[e]):n[e]=r[e];for(let e in s)r.hasOwnProperty(e)||(n[e]=s[e]);return n};0&&(module.exports={cn,deepMergeProps,mergeClassNames});
export { ClassProp, VariantProps, tv } from 'tailwind-variants';
export { getRandomFromArray, includes } from './array.js';
export { dataAttr, getBoolean, isBoolean, isDecNum, isEmpty, isString, isTrue } from './assertion.js';
export { cn, mergeClassNames } from './class-name.js';
export { cn, deepMergeProps, mergeClassNames } from './class-name.js';
export { absoluteFullClasses, dataFocusVisibleClasses, focusVisibleClasses, groupDataFocusVisibleClasses, ringClasses, translateCenterClasses } from './classes.js';

@@ -6,0 +6,0 @@ export { colorVariants } from './color-variants.js';

"use client"
"use strict";var O=Object.create;var u=Object.defineProperty;var D=Object.getOwnPropertyDescriptor;var E=Object.getOwnPropertyNames;var S=Object.getPrototypeOf,N=Object.prototype.hasOwnProperty;var R=(e,t)=>{for(var o in t)u(e,o,{get:t[o],enumerable:!0})},m=(e,t,o,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let r of E(t))!N.call(e,r)&&r!==o&&u(e,r,{get:()=>t[r],enumerable:!(n=D(t,r))||n.enumerable});return e};var x=(e,t,o)=>(o=e!=null?O(S(e)):{},m(t||!e||!e.__esModule?u(o,"default",{value:e,enumerable:!0}):o,e)),k=e=>m(u({},"__esModule",{value:!0}),e);var ie={};R(ie,{TRANSITION_VARIANTS:()=>se,absoluteFullClasses:()=>W,cn:()=>f,colorVariants:()=>Y,createContext:()=>ee,dataAttr:()=>I,dataFocusVisibleClasses:()=>H,filterDOMProps:()=>w,focusVisibleClasses:()=>$,getBoolean:()=>z,getRandomFromArray:()=>A,groupDataFocusVisibleClasses:()=>G,includes:()=>K,isBoolean:()=>V,isDecNum:()=>j,isEmpty:()=>F,isString:()=>U,isTrue:()=>L,mapPropsVariants:()=>ae,mergeClassNames:()=>h,mergeProps:()=>re,ringClasses:()=>q,translateCenterClasses:()=>Q,tv:()=>P.tv,useDOMRef:()=>te});module.exports=k(ie);var P=require("tailwind-variants");function K(e,t){return e.includes(t)}var A=e=>Math.floor(Math.random()*e);var I=e=>e?"true":"false",U=e=>typeof e=="string",V=e=>typeof e=="boolean",L=e=>e===!0,F=e=>typeof e=="object"&&e!==null?Object.keys(e).length===0:Array.isArray(e)?e.length===0:typeof e=="number"&&e===0||!e,z=e=>e,j=e=>/^\d+(\.\d+)?$/.test(e.toString());var b=x(require("clsx")),y=require("tailwind-merge"),B=(0,y.extendTailwindMerge)({extend:{classGroups:{gap:["gap-responsive"],"font-size":["text-size-inherit"],shadow:["shadow-card"]}}}),f=(...e)=>B((0,b.default)(e)),h=(e,t)=>{if(!e&&!t)return{};if(!e)return t;if(!t)return e;let o={};for(let n in e)t.hasOwnProperty(n)?o[n]=f(e[n],t[n]):o[n]=e[n];for(let n in t)e.hasOwnProperty(n)||(o[n]=t[n]);return o};var $=["focus-visible:z-10","focus-visible:outline-primary","focus-visible:outline-2","focus-visible:outline-focus","focus-visible:outline-offset-2"],H=["outline-none","data-[focus-visible=true]:z-10","data-[focus-visible=true]:outline-2","data-[focus-visible=true]:outline-focus","data-[focus-visible=true]:outline-offset-2"],G=["outline-none","group-data-[focus-visible=true]:z-10","group-data-[focus-visible=true]:ring-2","group-data-[focus-visible=true]:ring-focus","group-data-[focus-visible=true]:ring-offset-2","group-data-[focus-visible=true]:ring-offset-background"],q=["outline-none","ring-2","ring-focus","ring-offset-2","ring-offset-background"],Q=["absolute","top-1/2","left-1/2","-translate-x-1/2","-translate-y-1/2"],W=["absolute","inset-0"];var Z={default:"bg-default text-default-foreground ui-hover:bg-default-300",primary:"bg-primary text-primary-foreground ui-hover:bg-primary-600",secondary:"bg-secondary text-secondary-foreground ui-hover:bg-secondary-600",success:"bg-success text-success-foreground ui-hover:bg-success-600",warning:"bg-warning text-warning-foreground ui-hover:bg-warning-600",danger:"bg-danger text-danger-foreground ui-hover:bg-danger-600"},_={default:"bg-transparent border-default text-foreground hover:bg-default-50",primary:"bg-transparent border-primary text-primary hover:bg-primary-50",secondary:"bg-transparent border-secondary text-secondary hover:bg-secondary-50",success:"bg-transparent border-success text-success hover:bg-success-50",warning:"bg-transparent border-warning text-warning hover:bg-warning-50",danger:"bg-transparent border-danger text-danger hover:bg-danger-50"},J={default:"text-foreground hover:text-foreground-600",primary:"text-primary hover:text-primary-600",secondary:"text-secondary hover:text-secondary-600",success:"text-success hover:text-success-600",warning:"text-warning hover:text-warning-600",danger:"text-danger hover:text-danger-600"},X={default:"bg-transparent text-foreground ui-hover:bg-default-100",primary:"bg-transparent text-primary ui-hover:bg-primary-50",secondary:"bg-transparent text-secondary ui-hover:bg-secondary-50",success:"bg-transparent text-success ui-hover:bg-success-50",warning:"bg-transparent text-warning ui-hover:bg-warning-50",danger:"bg-transparent text-danger ui-hover:bg-danger-50"},Y={solid:Z,outlined:_,text:J,light:X};var l=x(require("react"));function ee(e={}){let{strict:t=!0,errorMessage:o="useContext: `context` is undefined. Seems you forgot to wrap component within the Provider",name:n}=e,r=l.createContext(void 0);r.displayName=n;function a(){let i=l.useContext(r);if(!i&&t){let c=new Error(o);throw c.name="ContextError",Error.captureStackTrace?.(c,a),c}return i}return[r.Provider,a,r]}var d=require("react"),te=e=>{let t=(0,d.useRef)(null);return(0,d.useImperativeHandle)(e,()=>t.current),t};var T=new Set(["id","type","style","title","role","tabIndex","htmlFor","width","height","abbr","accept","acceptCharset","accessKey","action","allowFullScreen","allowTransparency","alt","async","autoComplete","autoFocus","autoPlay","cellPadding","cellSpacing","challenge","charset","checked","cite","class","className","cols","colSpan","command","content","contentEditable","contextMenu","controls","coords","crossOrigin","data","dateTime","default","defer","dir","disabled","download","draggable","dropzone","encType","enterKeyHint","for","form","formAction","formEncType","formMethod","formNoValidate","formTarget","frameBorder","headers","hidden","high","href","hrefLang","httpEquiv","icon","inputMode","isMap","itemId","itemProp","itemRef","itemScope","itemType","kind","label","lang","list","loop","manifest","max","maxLength","media","mediaGroup","method","min","minLength","multiple","name","noValidate","open","optimum","pattern","ping","placeholder","poster","preload","radioGroup","referrerPolicy","readOnly","rel","required","rows","rowSpan","sandbox","scope","scoped","scrolling","seamless","selected","shape","size","sizes","slot","sortable","span","spellCheck","src","srcDoc","srcSet","start","step","target","translate","typeMustMatch","useMap","value","wmode","wrap"]),v=new Set(["onCopy","onCut","onPaste","onLoad","onError","onWheel","onScroll","onCompositionEnd","onCompositionStart","onCompositionUpdate","onKeyDown","onKeyPress","onKeyUp","onFocus","onBlur","onChange","onInput","onSubmit","onClick","onContextMenu","onDoubleClick","onDrag","onDragEnd","onDragEnter","onDragExit","onDragLeave","onDragOver","onDragStart","onDrop","onMouseDown","onMouseEnter","onMouseLeave","onMouseMove","onMouseOut","onMouseOver","onMouseUp","onPointerDown","onPointerEnter","onPointerLeave","onPointerUp","onSelect","onTouchCancel","onTouchEnd","onTouchMove","onTouchStart","onAnimationStart","onAnimationEnd","onAnimationIteration","onTransitionEnd"]);var C=/^(data-.*)$/,oe=/^(aria-.*)$/,p=/^(on[A-Z].*)$/;function w(e,t={}){let{labelable:o=!0,enabled:n=!0,propNames:r,omitPropNames:a,omitEventNames:i,omitDataProps:c,omitEventProps:M}=t,g={};if(!n)return e;for(let s in e)a?.has(s)||i?.has(s)&&p.test(s)||p.test(s)&&!v.has(s)||c&&C.test(s)||M&&p.test(s)||(Object.prototype.hasOwnProperty.call(e,s)&&(T.has(s)||o&&oe.test(s)||r?.has(s)||C.test(s))||p.test(s))&&(g[s]=e[s]);return g}function ne(e,t,o){if(t==="className")e.className=[e.className,o].join(" ").trim();else if(t==="style")e.style={...e.style,...o};else if(typeof o=="function"){let n=e[t];e[t]=n?(...r)=>{n(...r),o(...r)}:o}else{if(o===void 0||typeof o!="object"&&o===e[t])return;if(!(t in e))e[t]=o;else throw new Error(`Didn\u2019t know how to merge prop '${t}'. Only 'className', 'style', and event handlers are supported`)}}function re(...e){return e.length===1?e[0]:e.reduce((t,o)=>{for(let n in o)ne(t,n,o[n]);return t},{})}var se={collapse:{enter:{opacity:1,height:"auto",transition:{type:"spring",duration:.6}},exit:{opacity:0,height:0,transition:{type:"spring",duration:.6}}}};var ae=(e,t,o=!0)=>{if(!t)return[e,{}];let n=t.reduce((r,a)=>a in e?{...r,[a]:e[a]}:r,{});return o?[Object.keys(e).filter(a=>!t.includes(a)).reduce((a,i)=>({...a,[i]:e[i]}),{}),n]:[e,n]};0&&(module.exports={TRANSITION_VARIANTS,absoluteFullClasses,cn,colorVariants,createContext,dataAttr,dataFocusVisibleClasses,filterDOMProps,focusVisibleClasses,getBoolean,getRandomFromArray,groupDataFocusVisibleClasses,includes,isBoolean,isDecNum,isEmpty,isString,isTrue,mapPropsVariants,mergeClassNames,mergeProps,ringClasses,translateCenterClasses,tv,useDOMRef});
"use strict";var D=Object.create;var l=Object.defineProperty;var E=Object.getOwnPropertyDescriptor;var S=Object.getOwnPropertyNames;var N=Object.getPrototypeOf,R=Object.prototype.hasOwnProperty;var k=(e,t)=>{for(var r in t)l(e,r,{get:t[r],enumerable:!0})},x=(e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let o of S(t))!R.call(e,o)&&o!==r&&l(e,o,{get:()=>t[o],enumerable:!(n=E(t,o))||n.enumerable});return e};var y=(e,t,r)=>(r=e!=null?D(N(e)):{},x(t||!e||!e.__esModule?l(r,"default",{value:e,enumerable:!0}):r,e)),A=e=>x(l({},"__esModule",{value:!0}),e);var ce={};k(ce,{TRANSITION_VARIANTS:()=>ae,absoluteFullClasses:()=>_,cn:()=>u,colorVariants:()=>ee,createContext:()=>te,dataAttr:()=>I,dataFocusVisibleClasses:()=>q,deepMergeProps:()=>g,filterDOMProps:()=>P,focusVisibleClasses:()=>G,getBoolean:()=>B,getRandomFromArray:()=>U,groupDataFocusVisibleClasses:()=>Q,includes:()=>K,isBoolean:()=>L,isDecNum:()=>$,isEmpty:()=>z,isString:()=>V,isTrue:()=>F,mapPropsVariants:()=>ie,mergeClassNames:()=>T,mergeProps:()=>se,ringClasses:()=>W,translateCenterClasses:()=>Z,tv:()=>M.tv,useDOMRef:()=>ne});module.exports=A(ce);var M=require("tailwind-variants");function K(e,t){return e.includes(t)}var U=e=>Math.floor(Math.random()*e);var I=e=>e?"true":"false",V=e=>typeof e=="string",L=e=>typeof e=="boolean",F=e=>e===!0,z=e=>typeof e=="object"&&e!==null?Object.keys(e).length===0:Array.isArray(e)?e.length===0:typeof e=="number"&&e===0||!e,B=e=>e,$=e=>/^\d+(\.\d+)?$/.test(e.toString());var b=y(require("clsx")),h=require("tailwind-merge"),H=(0,h.extendTailwindMerge)({extend:{classGroups:{gap:["gap-responsive"],"font-size":["text-size-inherit"],shadow:["shadow-card"]}}}),u=(...e)=>H((0,b.default)(e));function g(e,t){let r={...e};for(let n in t)if(t.hasOwnProperty(n))if(n==="className")r[n]=u(r[n],t[n]);else if(n==="classNames"&&typeof t[n]=="object"&&!Array.isArray(t[n])){r[n]={...r[n]};for(let o in t[n])t[n].hasOwnProperty(o)&&(r[n][o]=u(r[n][o],t[n][o]))}else typeof t[n]=="object"&&t[n]!==null&&!Array.isArray(t[n])&&typeof r[n]=="object"&&r[n]!==null?r[n]=g(r[n],t[n]):r[n]=t[n];return r}var T=(e,t)=>{if(!e&&!t)return{};if(!e)return t;if(!t)return e;let r={};for(let n in e)t.hasOwnProperty(n)?r[n]=u(e[n],t[n]):r[n]=e[n];for(let n in t)e.hasOwnProperty(n)||(r[n]=t[n]);return r};var G=["focus-visible:z-10","focus-visible:outline-primary","focus-visible:outline-2","focus-visible:outline-focus","focus-visible:outline-offset-2"],q=["outline-none","data-[focus-visible=true]:z-10","data-[focus-visible=true]:outline-2","data-[focus-visible=true]:outline-focus","data-[focus-visible=true]:outline-offset-2"],Q=["outline-none","group-data-[focus-visible=true]:z-10","group-data-[focus-visible=true]:ring-2","group-data-[focus-visible=true]:ring-focus","group-data-[focus-visible=true]:ring-offset-2","group-data-[focus-visible=true]:ring-offset-background"],W=["outline-none","ring-2","ring-focus","ring-offset-2","ring-offset-background"],Z=["absolute","top-1/2","left-1/2","-translate-x-1/2","-translate-y-1/2"],_=["absolute","inset-0"];var j={default:"bg-default text-default-foreground ui-hover:bg-default-300",primary:"bg-primary text-primary-foreground ui-hover:bg-primary-600",secondary:"bg-secondary text-secondary-foreground ui-hover:bg-secondary-600",success:"bg-success text-success-foreground ui-hover:bg-success-600",warning:"bg-warning text-warning-foreground ui-hover:bg-warning-600",danger:"bg-danger text-danger-foreground ui-hover:bg-danger-600"},J={default:"bg-transparent border-default text-foreground hover:bg-default-50",primary:"bg-transparent border-primary text-primary hover:bg-primary-50",secondary:"bg-transparent border-secondary text-secondary hover:bg-secondary-50",success:"bg-transparent border-success text-success hover:bg-success-50",warning:"bg-transparent border-warning text-warning hover:bg-warning-50",danger:"bg-transparent border-danger text-danger hover:bg-danger-50"},X={default:"text-foreground hover:text-foreground-600",primary:"text-primary hover:text-primary-600",secondary:"text-secondary hover:text-secondary-600",success:"text-success hover:text-success-600",warning:"text-warning hover:text-warning-600",danger:"text-danger hover:text-danger-600"},Y={default:"bg-transparent text-foreground ui-hover:bg-default-100",primary:"bg-transparent text-primary ui-hover:bg-primary-50",secondary:"bg-transparent text-secondary ui-hover:bg-secondary-50",success:"bg-transparent text-success ui-hover:bg-success-50",warning:"bg-transparent text-warning ui-hover:bg-warning-50",danger:"bg-transparent text-danger ui-hover:bg-danger-50"},ee={solid:j,outlined:J,text:X,light:Y};var d=y(require("react"));function te(e={}){let{strict:t=!0,errorMessage:r="useContext: `context` is undefined. Seems you forgot to wrap component within the Provider",name:n}=e,o=d.createContext(void 0);o.displayName=n;function a(){let i=d.useContext(o);if(!i&&t){let c=new Error(r);throw c.name="ContextError",Error.captureStackTrace?.(c,a),c}return i}return[o.Provider,a,o]}var p=require("react"),ne=e=>{let t=(0,p.useRef)(null);return(0,p.useImperativeHandle)(e,()=>t.current),t};var v=new Set(["id","type","style","title","role","tabIndex","htmlFor","width","height","abbr","accept","acceptCharset","accessKey","action","allowFullScreen","allowTransparency","alt","async","autoComplete","autoFocus","autoPlay","cellPadding","cellSpacing","challenge","charset","checked","cite","class","className","cols","colSpan","command","content","contentEditable","contextMenu","controls","coords","crossOrigin","data","dateTime","default","defer","dir","disabled","download","draggable","dropzone","encType","enterKeyHint","for","form","formAction","formEncType","formMethod","formNoValidate","formTarget","frameBorder","headers","hidden","high","href","hrefLang","httpEquiv","icon","inputMode","isMap","itemId","itemProp","itemRef","itemScope","itemType","kind","label","lang","list","loop","manifest","max","maxLength","media","mediaGroup","method","min","minLength","multiple","name","noValidate","open","optimum","pattern","ping","placeholder","poster","preload","radioGroup","referrerPolicy","readOnly","rel","required","rows","rowSpan","sandbox","scope","scoped","scrolling","seamless","selected","shape","size","sizes","slot","sortable","span","spellCheck","src","srcDoc","srcSet","start","step","target","translate","typeMustMatch","useMap","value","wmode","wrap"]),C=new Set(["onCopy","onCut","onPaste","onLoad","onError","onWheel","onScroll","onCompositionEnd","onCompositionStart","onCompositionUpdate","onKeyDown","onKeyPress","onKeyUp","onFocus","onBlur","onChange","onInput","onSubmit","onClick","onContextMenu","onDoubleClick","onDrag","onDragEnd","onDragEnter","onDragExit","onDragLeave","onDragOver","onDragStart","onDrop","onMouseDown","onMouseEnter","onMouseLeave","onMouseMove","onMouseOut","onMouseOver","onMouseUp","onPointerDown","onPointerEnter","onPointerLeave","onPointerUp","onSelect","onTouchCancel","onTouchEnd","onTouchMove","onTouchStart","onAnimationStart","onAnimationEnd","onAnimationIteration","onTransitionEnd"]);var w=/^(data-.*)$/,re=/^(aria-.*)$/,f=/^(on[A-Z].*)$/;function P(e,t={}){let{labelable:r=!0,enabled:n=!0,propNames:o,omitPropNames:a,omitEventNames:i,omitDataProps:c,omitEventProps:O}=t,m={};if(!n)return e;for(let s in e)a?.has(s)||i?.has(s)&&f.test(s)||f.test(s)&&!C.has(s)||c&&w.test(s)||O&&f.test(s)||(Object.prototype.hasOwnProperty.call(e,s)&&(v.has(s)||r&&re.test(s)||o?.has(s)||w.test(s))||f.test(s))&&(m[s]=e[s]);return m}function oe(e,t,r){if(t==="className")e.className=[e.className,r].join(" ").trim();else if(t==="style")e.style={...e.style,...r};else if(typeof r=="function"){let n=e[t];e[t]=n?(...o)=>{n(...o),r(...o)}:r}else{if(r===void 0||typeof r!="object"&&r===e[t])return;if(!(t in e))e[t]=r;else throw new Error(`Didn\u2019t know how to merge prop '${t}'. Only 'className', 'style', and event handlers are supported`)}}function se(...e){return e.length===1?e[0]:e.reduce((t,r)=>{for(let n in r)oe(t,n,r[n]);return t},{})}var ae={collapse:{enter:{opacity:1,height:"auto",transition:{type:"spring",duration:.6}},exit:{opacity:0,height:0,transition:{type:"spring",duration:.6}}}};var ie=(e,t,r=!0)=>{if(!t)return[e,{}];let n=t.reduce((o,a)=>a in e?{...o,[a]:e[a]}:o,{});return r?[Object.keys(e).filter(a=>!t.includes(a)).reduce((a,i)=>({...a,[i]:e[i]}),{}),n]:[e,n]};0&&(module.exports={TRANSITION_VARIANTS,absoluteFullClasses,cn,colorVariants,createContext,dataAttr,dataFocusVisibleClasses,deepMergeProps,filterDOMProps,focusVisibleClasses,getBoolean,getRandomFromArray,groupDataFocusVisibleClasses,includes,isBoolean,isDecNum,isEmpty,isString,isTrue,mapPropsVariants,mergeClassNames,mergeProps,ringClasses,translateCenterClasses,tv,useDOMRef});
{
"name": "@jamsr-ui/utils",
"version": "0.0.54",
"version": "0.0.55",
"description": "A react js ui library with tailwindcss",

@@ -5,0 +5,0 @@ "sideEffects": false,

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