@scaleflex/ui-tw 0.0.147 → 0.0.148

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@scaleflex/ui-tw",
3
- "version": "0.0.147",
3
+ "version": "0.0.148",
4
4
  "author": "scaleflex",
5
5
  "repository": "github:scaleflex/ui",
6
6
  "homepage": "https://github.com/scaleflex/ui/blob/master/README.md",
@@ -29,7 +29,7 @@
29
29
  "@radix-ui/react-switch": "^1.0.1",
30
30
  "@radix-ui/react-tabs": "^1.1.13",
31
31
  "@radix-ui/react-tooltip": "^1.2.6",
32
- "@scaleflex/icons-tw": "^0.0.147",
32
+ "@scaleflex/icons-tw": "^0.0.148",
33
33
  "@tanstack/react-table": "^8.21.3",
34
34
  "@types/lodash.merge": "^4.6.9",
35
35
  "class-variance-authority": "^0.7.1",
@@ -135,12 +135,12 @@ function SelectItem(_ref7) {
135
135
  props = _objectWithoutProperties(_ref7, _excluded4);
136
136
  return /*#__PURE__*/React.createElement(SelectPrimitive.Item, _extends({
137
137
  "data-slot": "select-item",
138
- className: cn('relative flex cursor-pointer items-center gap-2 outline-hidden select-none', 'focus:bg-accent focus:text-accent-foreground', '*:[span]:last:flex *:[span]:last:items-center *:[span]:last:gap-2', 'data-[state=checked]:text-accent-foreground', 'data-[disabled]:cursor-not-allowed', "[&_svg:not([class*='text-'])]:text-muted-foreground [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4", selectItemVariants({
138
+ className: cn('relative flex cursor-pointer items-center gap-2 outline-hidden select-none', 'data-[highlighted]:bg-secondary', '*:[span]:last:flex *:[span]:last:items-center *:[span]:last:gap-2', 'data-[state=checked]:text-accent-foreground data-[state=checked]:bg-accent', 'data-[disabled]:cursor-not-allowed', "[&_svg:not([class*='text-'])]:text-muted-foreground [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4", 'data-[state=checked]:[&_svg]:text-primary', selectItemVariants({
139
139
  size: size
140
140
  }), isGroup && getOptionInGroupPaddingLeft(size), className),
141
141
  disabled: disabled
142
142
  }, props), /*#__PURE__*/React.createElement("span", {
143
- className: "absolute right-2 flex size-3.5 items-center justify-center"
143
+ className: "absolute right-5 flex size-3.5 items-center justify-center"
144
144
  }, /*#__PURE__*/React.createElement(SelectPrimitive.ItemIndicator, null, /*#__PURE__*/React.createElement(CheckIcon, {
145
145
  className: cn('text-primary', size === FormSize.Lg ? 'size-5' : 'size-4.5')
146
146
  }))), /*#__PURE__*/React.createElement("div", {
@@ -148,7 +148,7 @@ function SelectItem(_ref7) {
148
148
  }, icon && /*#__PURE__*/React.createElement(SelectIcon, {
149
149
  size: size,
150
150
  icon: icon,
151
- className: cn('text-muted-foreground data-[state=checked]:text-primary', disabled && 'opacity-50')
151
+ className: cn('text-muted-foreground', disabled && 'opacity-50')
152
152
  }), /*#__PURE__*/React.createElement(SelectPrimitive.ItemText, null, /*#__PURE__*/React.createElement("span", {
153
153
  className: cn('line-clamp-2 overflow-hidden break-words text-ellipsis', disabled && 'opacity-50')
154
154
  }, children)), (tooltip || disabledTooltip) && /*#__PURE__*/React.createElement(LabelIcon, {