@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.js
CHANGED
|
@@ -3863,8 +3863,8 @@ function SearchablePicker({
|
|
|
3863
3863
|
}
|
|
3864
3864
|
) }),
|
|
3865
3865
|
loading ? /* @__PURE__ */ jsx(LoadingRows, {}) : /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
3866
|
-
/* @__PURE__ */ jsx(Combobox.Empty, { className: "
|
|
3867
|
-
/* @__PURE__ */ jsx(
|
|
3866
|
+
/* @__PURE__ */ jsx(Combobox.Empty, { className: "text-sm text-muted-foreground", children: /* @__PURE__ */ jsx("span", { className: "block px-3 py-3", children: emptyLabel }) }),
|
|
3867
|
+
options.length > 0 ? /* @__PURE__ */ jsx(
|
|
3868
3868
|
Combobox.List,
|
|
3869
3869
|
{
|
|
3870
3870
|
className: "max-h-60 overflow-y-auto p-1 outline-none",
|
|
@@ -3885,7 +3885,7 @@ function SearchablePicker({
|
|
|
3885
3885
|
item.id
|
|
3886
3886
|
)
|
|
3887
3887
|
}
|
|
3888
|
-
)
|
|
3888
|
+
) : null
|
|
3889
3889
|
] }),
|
|
3890
3890
|
renderFooter(!loading)
|
|
3891
3891
|
]
|
|
@@ -4156,8 +4156,8 @@ function PaginatedCombobox({
|
|
|
4156
4156
|
/* @__PURE__ */ jsx(Loader2Icon, { className: "size-4 animate-spin", "aria-hidden": true }),
|
|
4157
4157
|
labels.loading
|
|
4158
4158
|
] }) : /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
4159
|
-
/* @__PURE__ */ jsx(Combobox.Empty, { className: "
|
|
4160
|
-
/* @__PURE__ */ jsx(
|
|
4159
|
+
/* @__PURE__ */ jsx(Combobox.Empty, { className: "text-sm text-muted-foreground", children: /* @__PURE__ */ jsx("span", { className: "block px-3 py-2", children: labels.noResults }) }),
|
|
4160
|
+
listItems.length > 0 ? /* @__PURE__ */ jsx(
|
|
4161
4161
|
Combobox.List,
|
|
4162
4162
|
{
|
|
4163
4163
|
className: "max-h-60 overflow-y-auto p-1 outline-none",
|
|
@@ -4181,7 +4181,7 @@ function PaginatedCombobox({
|
|
|
4181
4181
|
item.value
|
|
4182
4182
|
)
|
|
4183
4183
|
}
|
|
4184
|
-
)
|
|
4184
|
+
) : null
|
|
4185
4185
|
] }),
|
|
4186
4186
|
nextCursor && onLoadMore ? /* @__PURE__ */ jsx("div", { className: "border-t p-1", children: /* @__PURE__ */ jsxs(
|
|
4187
4187
|
"button",
|