@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.
@@ -3,6 +3,14 @@ import * as SelectPrimitive from '@radix-ui/react-select';
3
3
  export { Select, SelectContent, SelectGroup, SelectLabel, SelectScrollUpButton, SelectScrollDownButton, SelectSeparator, SelectValue, } from '@/components/shadcn/select';
4
4
  declare const SelectTrigger: React.ForwardRefExoticComponent<Omit<SelectPrimitive.SelectTriggerProps & React.RefAttributes<HTMLButtonElement> & {
5
5
  size?: "sm" | "default";
6
+ } & {
7
+ /**
8
+ * `ghost` renders a transparent, borderless trigger for inline/row contexts
9
+ * (e.g. table row controls) where the filled input chrome is too heavy.
10
+ * Hover/focus affordances still apply — colors come from `carbide.css` per
11
+ * `data-variant`, matching the Badge/Button pattern.
12
+ */
13
+ variant?: "default" | "ghost";
6
14
  }, "ref"> & React.RefAttributes<HTMLButtonElement>>;
7
15
  declare const SelectItem: React.ForwardRefExoticComponent<Omit<SelectPrimitive.SelectItemProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
8
16
  export { SelectTrigger, SelectItem };
@@ -1 +1 @@
1
- {"version":3,"file":"select.d.ts","sourceRoot":"","sources":["../../../src/components/ui/select.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,KAAK,eAAe,MAAM,wBAAwB,CAAC;AAM1D,OAAO,EACL,MAAM,EACN,aAAa,EACb,WAAW,EACX,WAAW,EACX,oBAAoB,EACpB,sBAAsB,EACtB,eAAe,EACf,WAAW,GACZ,MAAM,4BAA4B,CAAC;AASpC,QAAA,MAAM,aAAa;;mDAwBjB,CAAC;AAGH,QAAA,MAAM,UAAU,2JAsBd,CAAC;AAEH,OAAO,EAAE,aAAa,EAAE,UAAU,EAAE,CAAC"}
1
+ {"version":3,"file":"select.d.ts","sourceRoot":"","sources":["../../../src/components/ui/select.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,KAAK,eAAe,MAAM,wBAAwB,CAAC;AAM1D,OAAO,EACL,MAAM,EACN,aAAa,EACb,WAAW,EACX,WAAW,EACX,oBAAoB,EACpB,sBAAsB,EACtB,eAAe,EACf,WAAW,GACZ,MAAM,4BAA4B,CAAC;AASpC,QAAA,MAAM,aAAa;;;IAGf;;;;;OAKG;cACO,SAAS,GAAG,OAAO;mDA0B/B,CAAC;AAGH,QAAA,MAAM,UAAU,2JAsBd,CAAC;AAEH,OAAO,EAAE,aAAa,EAAE,UAAU,EAAE,CAAC"}