@examplary/ui 1.82.0 → 1.82.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.
|
@@ -20,7 +20,7 @@ const SelectContent = React.forwardRef(({ className, children, position = "poppe
|
|
|
20
20
|
SelectContent.displayName = SelectPrimitive.Content.displayName;
|
|
21
21
|
const SelectLabel = React.forwardRef(({ className, ...props }, ref) => (_jsx(SelectPrimitive.Label, { ref: ref, className: cn("border-2 border-transparent py-1.5 pl-8 pr-2 text-sm font-medium text-mtext/80", className), ...props })));
|
|
22
22
|
SelectLabel.displayName = SelectPrimitive.Label.displayName;
|
|
23
|
-
const SelectItem = React.forwardRef(({ className, children, ...props }, ref) => (_jsxs(SelectPrimitive.Item, { ref: ref, className: cn("relative flex w-full text-mtext cursor-default select-none items-center rounded-lg py-1.5 pl-8 pr-2 text-sm font-base outline-none data-[disabled]:pointer-events-none data-[disabled]:opacity-50 focus:bg-accent", className), ...props, children: [_jsx("span", { className: "absolute left-2 flex h-3.5 w-3.5 items-center justify-center", children: _jsx(SelectPrimitive.ItemIndicator, { children: _jsx(CheckIcon, { className: "h-4 w-4" }) }) }), _jsx(SelectPrimitive.ItemText, { children: children })] })));
|
|
23
|
+
const SelectItem = React.forwardRef(({ className, children, ...props }, ref) => (_jsxs(SelectPrimitive.Item, { ref: ref, className: cn("relative flex w-full text-mtext cursor-default select-none items-center rounded-lg py-1.5 pl-8 pr-2 text-sm font-base outline-none data-[disabled]:pointer-events-none data-[disabled]:opacity-50 focus:bg-accent", className), ...props, children: [_jsx("span", { className: "absolute left-2 flex h-3.5 w-3.5 items-center justify-center", children: _jsx(SelectPrimitive.ItemIndicator, { children: _jsx(CheckIcon, { className: "h-4 w-4" }) }) }), _jsx(SelectPrimitive.ItemText, { children: _jsx("span", { translate: "no", children: children }) })] })));
|
|
24
24
|
SelectItem.displayName = SelectPrimitive.Item.displayName;
|
|
25
25
|
const SelectSeparator = React.forwardRef(({ className, ...props }, ref) => (_jsx(SelectPrimitive.Separator, { ref: ref, className: cn("-mx-1 my-1 h-px bg-border", className), ...props })));
|
|
26
26
|
SelectSeparator.displayName = SelectPrimitive.Separator.displayName;
|