@yenio-pld/blocks 1.2.0-rc.21 → 1.2.0-rc.22
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/dist/index.cjs +6 -6
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +6 -6
- package/dist/index.js.map +1 -1
- package/dist/ui/button.d.ts +2 -2
- package/package.json +1 -1
- package/src/theme.css +48 -0
package/dist/index.cjs
CHANGED
|
@@ -3884,8 +3884,8 @@ function SearchablePicker({
|
|
|
3884
3884
|
}
|
|
3885
3885
|
) }),
|
|
3886
3886
|
loading ? /* @__PURE__ */ jsxRuntime.jsx(LoadingRows, {}) : /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
|
|
3887
|
-
/* @__PURE__ */ jsxRuntime.jsx(combobox_js.Combobox.Empty, { className: "
|
|
3888
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
3887
|
+
/* @__PURE__ */ jsxRuntime.jsx(combobox_js.Combobox.Empty, { className: "text-sm text-muted-foreground", children: /* @__PURE__ */ jsxRuntime.jsx("span", { className: "block px-3 py-3", children: emptyLabel }) }),
|
|
3888
|
+
options.length > 0 ? /* @__PURE__ */ jsxRuntime.jsx(
|
|
3889
3889
|
combobox_js.Combobox.List,
|
|
3890
3890
|
{
|
|
3891
3891
|
className: "max-h-60 overflow-y-auto p-1 outline-none",
|
|
@@ -3906,7 +3906,7 @@ function SearchablePicker({
|
|
|
3906
3906
|
item.id
|
|
3907
3907
|
)
|
|
3908
3908
|
}
|
|
3909
|
-
)
|
|
3909
|
+
) : null
|
|
3910
3910
|
] }),
|
|
3911
3911
|
renderFooter(!loading)
|
|
3912
3912
|
]
|
|
@@ -4177,8 +4177,8 @@ function PaginatedCombobox({
|
|
|
4177
4177
|
/* @__PURE__ */ jsxRuntime.jsx(lucideReact.Loader2Icon, { className: "size-4 animate-spin", "aria-hidden": true }),
|
|
4178
4178
|
labels.loading
|
|
4179
4179
|
] }) : /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
|
|
4180
|
-
/* @__PURE__ */ jsxRuntime.jsx(combobox_js.Combobox.Empty, { className: "
|
|
4181
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
4180
|
+
/* @__PURE__ */ jsxRuntime.jsx(combobox_js.Combobox.Empty, { className: "text-sm text-muted-foreground", children: /* @__PURE__ */ jsxRuntime.jsx("span", { className: "block px-3 py-2", children: labels.noResults }) }),
|
|
4181
|
+
listItems.length > 0 ? /* @__PURE__ */ jsxRuntime.jsx(
|
|
4182
4182
|
combobox_js.Combobox.List,
|
|
4183
4183
|
{
|
|
4184
4184
|
className: "max-h-60 overflow-y-auto p-1 outline-none",
|
|
@@ -4202,7 +4202,7 @@ function PaginatedCombobox({
|
|
|
4202
4202
|
item.value
|
|
4203
4203
|
)
|
|
4204
4204
|
}
|
|
4205
|
-
)
|
|
4205
|
+
) : null
|
|
4206
4206
|
] }),
|
|
4207
4207
|
nextCursor && onLoadMore ? /* @__PURE__ */ jsxRuntime.jsx("div", { className: "border-t p-1", children: /* @__PURE__ */ jsxRuntime.jsxs(
|
|
4208
4208
|
"button",
|