@firecms/ui 3.0.0-canary.6 → 3.0.0-canary.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.es.js +1 -1
- package/dist/index.es.js.map +1 -1
- package/dist/index.umd.js +1 -1
- package/dist/index.umd.js.map +1 -1
- package/package.json +2 -2
- package/src/components/Tabs.tsx +1 -1
package/dist/index.umd.js
CHANGED
@@ -953,7 +953,7 @@
|
|
953
953
|
opacity: 1;
|
954
954
|
transform: translateX(0);
|
955
955
|
}
|
956
|
-
}`;function gen({value:n,onValueChange:r,className:t,children:i}){return o.jsx(tn.Root,{value:n,onValueChange:r,children:o.jsx(tn.List,{className:_("flex text-sm font-medium text-center text-slate-800 dark:text-slate-200",t),children:i})})}function hen({value:n,className:r,children:t,disabled:i}){return o.jsx(tn.Trigger,{value:n,disabled:i,className:_(P,"border-b-2 border-transparent","data-[state=active]:border-secondary",i?"text-slate-400 dark:text-slate-500":_("text-slate-700 dark:text-slate-300","data-[state=active]:text-slate-900 data-[state=active]:dark:text-slate-100","hover:text-slate-800 dark:hover:text-slate-200"),r),children:o.jsx("div",{className:_("uppercase inline-block p-2 px-4 m-2 rounded","hover:bg-slate-100 dark:hover:bg-slate-800"),children:t})})}const Ken=({children:n,className:r,style:t})=>o.jsx("table",{className:_("w-full text-left text-gray-800 dark:text-slate-200 rounded-md overflow-x-auto",r),style:t,children:n}),ben=({children:n,className:r})=>o.jsx("tbody",{className:_("bg-white text-sm dark:bg-gray-800 divide-y divide-slate-200 dark:divide-gray-700",r),children:n}),ken=({children:n,className:r})=>o.jsx("thead",{children:o.jsx("tr",{className:_(Q,"text-sm font-medium text-gray-700 dark:text-slate-300","bg-slate-50 border-b dark:bg-gray-900",r),children:n})}),wen=({children:n,className:r,onClick:t,style:i})=>o.jsx("tr",{onClick:t,style:i,className:_("divide-slate-100 dark:divide-gray-800","bg-white dark:bg-gray-950",t?"hover:bg-slate-100 dark:hover:bg-gray-800 cursor-pointer":"",r),children:n}),ven=({children:n,header:r=!1,scope:t="",align:i,className:l,style:a,colspan:u})=>{const I=y.useRef(null),d=r||pen(I.current)==="TableHeader"?"th":"td";return o.jsx(d,{scope:t,colSpan:u,ref:I,style:a,className:_("px-4 py-3 text-clip ",i==="center"?"text-center":i==="right"?"text-right":"text-left",l),children:n})};function pen(n){if(n){const r=Object.keys(n).find(a=>a.startsWith("__reactFiber$")||a.startsWith("__reactInternalInstance$")),t=n[r],i=a=>{let u=a.return;for(;typeof u.type=="string";)u=u.return;return u};let l=i(t);return l=i(l),l?.elementType?.name}}function Sen({trigger:n,children:r,open:t,onOpenChange:i,side:l,sideOffset:a=5,align:u,alignOffset:I,arrowPadding:d,sticky:f,hideWhenDetached:h,avoidCollisions:K,enabled:s=!0,modal:k=!1,className:w}){return J("Popover",Cen),s?o.jsxs(X.Root,{open:t,onOpenChange:i,modal:k,children:[o.jsx(X.Trigger,{asChild:!0,children:n}),o.jsx(X.Portal,{children:o.jsxs(X.Content,{className:_(j,"PopoverContent shadow z-40",w),side:l,sideOffset:a,align:u,alignOffset:I,arrowPadding:d,sticky:f,hideWhenDetached:h,avoidCollisions:K,children:[r,o.jsx(X.Arrow,{className:"fill-white dark:fill-slate-950"})]})})]}):o.jsx(o.Fragment,{children:n})}const Cen=`
|
956
|
+
}`;function gen({value:n,onValueChange:r,className:t,children:i}){return o.jsx(tn.Root,{value:n,onValueChange:r,children:o.jsx(tn.List,{className:_("flex text-sm font-medium text-center text-slate-800 dark:text-slate-200 max-w-full overflow-auto no-scrollbar",t),children:i})})}function hen({value:n,className:r,children:t,disabled:i}){return o.jsx(tn.Trigger,{value:n,disabled:i,className:_(P,"border-b-2 border-transparent","data-[state=active]:border-secondary",i?"text-slate-400 dark:text-slate-500":_("text-slate-700 dark:text-slate-300","data-[state=active]:text-slate-900 data-[state=active]:dark:text-slate-100","hover:text-slate-800 dark:hover:text-slate-200"),r),children:o.jsx("div",{className:_("uppercase inline-block p-2 px-4 m-2 rounded","hover:bg-slate-100 dark:hover:bg-slate-800"),children:t})})}const Ken=({children:n,className:r,style:t})=>o.jsx("table",{className:_("w-full text-left text-gray-800 dark:text-slate-200 rounded-md overflow-x-auto",r),style:t,children:n}),ben=({children:n,className:r})=>o.jsx("tbody",{className:_("bg-white text-sm dark:bg-gray-800 divide-y divide-slate-200 dark:divide-gray-700",r),children:n}),ken=({children:n,className:r})=>o.jsx("thead",{children:o.jsx("tr",{className:_(Q,"text-sm font-medium text-gray-700 dark:text-slate-300","bg-slate-50 border-b dark:bg-gray-900",r),children:n})}),wen=({children:n,className:r,onClick:t,style:i})=>o.jsx("tr",{onClick:t,style:i,className:_("divide-slate-100 dark:divide-gray-800","bg-white dark:bg-gray-950",t?"hover:bg-slate-100 dark:hover:bg-gray-800 cursor-pointer":"",r),children:n}),ven=({children:n,header:r=!1,scope:t="",align:i,className:l,style:a,colspan:u})=>{const I=y.useRef(null),d=r||pen(I.current)==="TableHeader"?"th":"td";return o.jsx(d,{scope:t,colSpan:u,ref:I,style:a,className:_("px-4 py-3 text-clip ",i==="center"?"text-center":i==="right"?"text-right":"text-left",l),children:n})};function pen(n){if(n){const r=Object.keys(n).find(a=>a.startsWith("__reactFiber$")||a.startsWith("__reactInternalInstance$")),t=n[r],i=a=>{let u=a.return;for(;typeof u.type=="string";)u=u.return;return u};let l=i(t);return l=i(l),l?.elementType?.name}}function Sen({trigger:n,children:r,open:t,onOpenChange:i,side:l,sideOffset:a=5,align:u,alignOffset:I,arrowPadding:d,sticky:f,hideWhenDetached:h,avoidCollisions:K,enabled:s=!0,modal:k=!1,className:w}){return J("Popover",Cen),s?o.jsxs(X.Root,{open:t,onOpenChange:i,modal:k,children:[o.jsx(X.Trigger,{asChild:!0,children:n}),o.jsx(X.Portal,{children:o.jsxs(X.Content,{className:_(j,"PopoverContent shadow z-40",w),side:l,sideOffset:a,align:u,alignOffset:I,arrowPadding:d,sticky:f,hideWhenDetached:h,avoidCollisions:K,children:[r,o.jsx(X.Arrow,{className:"fill-white dark:fill-slate-950"})]})})]}):o.jsx(o.Fragment,{children:n})}const Cen=`
|
957
957
|
|
958
958
|
.PopoverContent {
|
959
959
|
animation-duration: 400ms;
|