@scaleflex/ui-tw 0.0.92 → 0.0.93
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.
|
@@ -69,13 +69,13 @@ function DropdownMenuCheckboxItem(_ref7) {
|
|
|
69
69
|
props = _objectWithoutProperties(_ref7, _excluded3);
|
|
70
70
|
return /*#__PURE__*/React.createElement(DropdownMenuPrimitive.CheckboxItem, _extends({
|
|
71
71
|
"data-slot": "dropdown-menu-checkbox-item",
|
|
72
|
-
className: cn('relative flex cursor-default items-center gap-2 rounded-sm py-1.5 pr-2 pl-
|
|
72
|
+
className: cn('relative flex cursor-default items-center gap-2 rounded-sm py-1.5 pr-2 pl-2 text-sm outline-hidden select-none', 'data-[disabled]:pointer-events-none data-[disabled]:opacity-50', 'focus:bg-accent focus:text-accent-foreground', "[&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4", className),
|
|
73
73
|
checked: checked
|
|
74
|
-
}, props), /*#__PURE__*/React.createElement("span", {
|
|
75
|
-
className: "pointer-events-none absolute
|
|
74
|
+
}, props), children, /*#__PURE__*/React.createElement("span", {
|
|
75
|
+
className: "pointer-events-none absolute right-2 flex size-3.5 items-center justify-center"
|
|
76
76
|
}, /*#__PURE__*/React.createElement(DropdownMenuPrimitive.ItemIndicator, null, /*#__PURE__*/React.createElement(CheckIcon, {
|
|
77
77
|
className: "size-4"
|
|
78
|
-
})))
|
|
78
|
+
}))));
|
|
79
79
|
}
|
|
80
80
|
function DropdownMenuRadioGroup(_ref8) {
|
|
81
81
|
var props = _extends({}, (_objectDestructuringEmpty(_ref8), _ref8));
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@scaleflex/ui-tw",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.93",
|
|
4
4
|
"author": "scaleflex",
|
|
5
5
|
"repository": "github:scaleflex/ui",
|
|
6
6
|
"homepage": "https://github.com/scaleflex/ui/blob/master/README.md",
|
|
@@ -23,7 +23,7 @@
|
|
|
23
23
|
"@radix-ui/react-slot": "^1.1.2",
|
|
24
24
|
"@radix-ui/react-switch": "^1.0.1",
|
|
25
25
|
"@radix-ui/react-tooltip": "^1.2.6",
|
|
26
|
-
"@scaleflex/icons-tw": "^0.0.
|
|
26
|
+
"@scaleflex/icons-tw": "^0.0.93",
|
|
27
27
|
"@tanstack/react-table": "^8.21.3",
|
|
28
28
|
"@types/lodash.merge": "^4.6.9",
|
|
29
29
|
"class-variance-authority": "^0.7.1",
|