@scaleflex/ui-tw 0.0.129 → 0.0.131
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.
|
@@ -177,7 +177,8 @@ export function ComboboxUsers(_ref) {
|
|
|
177
177
|
}
|
|
178
178
|
}, /*#__PURE__*/React.createElement(AutoScrollToSelected, null), /*#__PURE__*/React.createElement(CommandInput, {
|
|
179
179
|
size: size,
|
|
180
|
-
placeholder: searchPlaceholder
|
|
180
|
+
placeholder: searchPlaceholder,
|
|
181
|
+
className: "border-0 border-none"
|
|
181
182
|
}), /*#__PURE__*/React.createElement(CommandList, null, /*#__PURE__*/React.createElement(CommandEmpty, null, "No results found."), options === null || options === void 0 ? void 0 : options.map(function (option, groupIndex) {
|
|
182
183
|
if (isUserOptionGroup(option)) {
|
|
183
184
|
return /*#__PURE__*/React.createElement(CommandGroup, {
|
|
@@ -214,7 +214,8 @@ export function ComboboxContent(_ref4) {
|
|
|
214
214
|
className: cn('p-0', className)
|
|
215
215
|
}, popoverContentProps), /*#__PURE__*/React.createElement(Command, null, /*#__PURE__*/React.createElement(CommandInput, {
|
|
216
216
|
size: size,
|
|
217
|
-
placeholder: searchPlaceholder
|
|
217
|
+
placeholder: searchPlaceholder,
|
|
218
|
+
className: "border-0 border-none"
|
|
218
219
|
}), /*#__PURE__*/React.createElement(CommandList, null, /*#__PURE__*/React.createElement(CommandEmpty, null, "No results found."), options === null || options === void 0 ? void 0 : options.map(function (option, groupIndex) {
|
|
219
220
|
var _option$optionLabel;
|
|
220
221
|
if (isOptionGroup(option)) {
|
|
@@ -306,7 +307,8 @@ export function ComboboxCheckboxContent(_ref6) {
|
|
|
306
307
|
className: cn('p-0', className)
|
|
307
308
|
}, popoverContentProps), /*#__PURE__*/React.createElement(Command, null, /*#__PURE__*/React.createElement(CommandInput, {
|
|
308
309
|
size: size,
|
|
309
|
-
placeholder: searchPlaceholder
|
|
310
|
+
placeholder: searchPlaceholder,
|
|
311
|
+
className: "border-0 border-none"
|
|
310
312
|
}), /*#__PURE__*/React.createElement(CommandList, null, /*#__PURE__*/React.createElement(CommandEmpty, null, "No results found."), options === null || options === void 0 ? void 0 : options.map(function (option, groupIndex) {
|
|
311
313
|
var _option$optionLabel2;
|
|
312
314
|
if (isOptionGroup(option)) {
|
|
@@ -70,7 +70,7 @@ function CopyableText(_ref) {
|
|
|
70
70
|
}();
|
|
71
71
|
return /*#__PURE__*/React.createElement("div", _extends({
|
|
72
72
|
"data-slot": "copyable-text",
|
|
73
|
-
className: cn('group inline-flex items-center
|
|
73
|
+
className: cn('group inline-flex items-center', className)
|
|
74
74
|
}, props), /*#__PURE__*/React.createElement("span", null, value), /*#__PURE__*/React.createElement(WithTooltip, {
|
|
75
75
|
content: tooltipText,
|
|
76
76
|
variant: tooltipVariant,
|
|
@@ -78,7 +78,7 @@ function CopyableText(_ref) {
|
|
|
78
78
|
}, /*#__PURE__*/React.createElement("button", {
|
|
79
79
|
type: "button",
|
|
80
80
|
onClick: handleCopy,
|
|
81
|
-
className: "text-muted-foreground hover:text-foreground cursor-pointer opacity-0 transition-opacity group-hover:opacity-100"
|
|
81
|
+
className: "text-muted-foreground hover:text-foreground cursor-pointer pl-0.5 opacity-0 transition-opacity group-hover:opacity-100"
|
|
82
82
|
}, /*#__PURE__*/React.createElement(Copy, {
|
|
83
83
|
className: "size-3.5"
|
|
84
84
|
}))));
|
|
@@ -190,7 +190,8 @@ export function InputTags(_ref) {
|
|
|
190
190
|
size: size,
|
|
191
191
|
value: search,
|
|
192
192
|
onValueChange: setSearch,
|
|
193
|
-
placeholder: "Search or create a tag"
|
|
193
|
+
placeholder: "Search or create a tag",
|
|
194
|
+
className: "border-0 border-none"
|
|
194
195
|
}), /*#__PURE__*/React.createElement(CommandList, null, filteredSuggested.length > 0 && /*#__PURE__*/React.createElement(CommandGroup, {
|
|
195
196
|
size: size,
|
|
196
197
|
heading: "Suggested"
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@scaleflex/ui-tw",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.131",
|
|
4
4
|
"author": "scaleflex",
|
|
5
5
|
"repository": "github:scaleflex/ui",
|
|
6
6
|
"homepage": "https://github.com/scaleflex/ui/blob/master/README.md",
|
|
@@ -28,7 +28,7 @@
|
|
|
28
28
|
"@radix-ui/react-switch": "^1.0.1",
|
|
29
29
|
"@radix-ui/react-tabs": "^1.1.13",
|
|
30
30
|
"@radix-ui/react-tooltip": "^1.2.6",
|
|
31
|
-
"@scaleflex/icons-tw": "^0.0.
|
|
31
|
+
"@scaleflex/icons-tw": "^0.0.131",
|
|
32
32
|
"@tanstack/react-table": "^8.21.3",
|
|
33
33
|
"@types/lodash.merge": "^4.6.9",
|
|
34
34
|
"class-variance-authority": "^0.7.1",
|