@machinemetrics/mm-react-components 1.4.0 → 1.4.1

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.
@@ -66,8 +66,8 @@ return rt.jsx(Ql,{children:/* @__PURE__ */rt.jsxs(ec,{"data-slot":"select-conten
66
66
  return rt.jsx(rc,{"data-slot":"select-label",className:Ge("text-muted-foreground px-2 py-1.5 text-xs",e),...t})}function hc({className:e,...t}){/* @__PURE__ */
67
67
  return rt.jsx(cc,{"data-slot":"select-separator",className:Ge("bg-border pointer-events-none -mx-1 my-1 h-px",e),...t})}function gc({className:e,...t}){/* @__PURE__ */
68
68
  return rt.jsx(sc,{"data-slot":"select-scroll-up-button",className:Ge("flex cursor-default items-center justify-center py-1",e),...t,children:/* @__PURE__ */rt.jsx(Vt,{className:"size-4"})})}function vc({className:e,...t}){/* @__PURE__ */
69
- return rt.jsx(lc,{"data-slot":"select-scroll-down-button",className:Ge("flex cursor-default items-center justify-center py-1",e),...t,children:/* @__PURE__ */rt.jsx(zt,{className:"size-4"})})}const bc=e.forwardRef(function({className:e,size:t="default",children:n,...r},o){/* @__PURE__ */
70
- return rt.jsxs(Xl,{ref:o,"data-slot":"select-trigger","data-size":t,className:Ge("flex w-fit items-center justify-between gap-2 rounded-md border bg-transparent px-3 py-2 text-sm whitespace-nowrap shadow-xs transition-colors outline-none disabled:opacity-50 data-[size=default]:h-9 data-[size=sm]:h-8",e),...r,children:[n,
69
+ return rt.jsx(lc,{"data-slot":"select-scroll-down-button",className:Ge("flex cursor-default items-center justify-center py-1",e),...t,children:/* @__PURE__ */rt.jsx(zt,{className:"size-4"})})}const bc=e.forwardRef(function({className:e,size:t="default",variant:n="default",children:r,...o},a){/* @__PURE__ */
70
+ return rt.jsxs(Xl,{ref:a,"data-slot":"select-trigger","data-size":t,"data-variant":n,className:Ge("flex w-fit items-center justify-between gap-2 rounded-md border bg-transparent px-3 py-2 text-sm whitespace-nowrap shadow-xs transition-colors outline-none disabled:opacity-50 data-[size=default]:h-9 data-[size=sm]:h-8","ghost"===n&&"border-transparent shadow-none",e),...o,children:[r,
71
71
  /* @__PURE__ */rt.jsx(Jl,{asChild:!0,children:/* @__PURE__ */rt.jsx(zt,{className:"size-4 opacity-50"})})]})}),yc=e.forwardRef(function({className:e,children:t,...n},r){/* @__PURE__ */
72
72
  return rt.jsxs(oc,{ref:r,"data-slot":"select-item",className:Ge("relative flex w-full cursor-default items-center gap-2 rounded-sm py-1.5 pr-8 pl-2 text-sm outline-hidden select-none data-[disabled]:pointer-events-none data-[disabled]:opacity-50",e),...n,children:[
73
73
  /* @__PURE__ */rt.jsx("span",{className:"absolute right-2 flex size-3.5 items-center justify-center",children:/* @__PURE__ */rt.jsx(ic,{children:/* @__PURE__ */rt.jsx(At,{className:"size-4"})})}),