UNPKG

@stanfordspezi/spezi-web-design-system

Version:

Stanford Biodesign Digital Health Spezi Web Design System

69 lines (68 loc) 2.04 kB
import { jsxs as e, jsx as c, Fragment as r } from "react/jsx-runtime"; import { c as p } from "./index-2NvaPZWc.mjs"; import { c as t } from "./createLucideIcon-C8GTh_Qx.mjs"; /** * @license lucide-react v0.488.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. */ const h = [ ["path", { d: "M11 12H3", key: "51ecnj" }], ["path", { d: "M16 6H3", key: "1wxfjs" }], ["path", { d: "M16 18H3", key: "12xzn7" }], ["path", { d: "m19 10-4 4", key: "1tz659" }], ["path", { d: "m15 10 4 4", key: "1n7nei" }] ], m = t("list-x", h); /** * @license lucide-react v0.488.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. */ const f = [ ["path", { d: "m13.5 8.5-5 5", key: "1cs55j" }], ["path", { d: "m8.5 8.5 5 5", key: "a8mexj" }], ["circle", { cx: "11", cy: "11", r: "8", key: "4ej97u" }], ["path", { d: "m21 21-4.3-4.3", key: "1qie3q" }] ], x = t("search-x", f), j = ({ entityName: o, textFilter: a, hasFilters: n, className: d, children: l, actions: s, ...i }) => /* @__PURE__ */ e( "div", { role: "status", "aria-live": "polite", className: p("text-muted-foreground flex gap-3", d), ...i, children: [ a ? /* @__PURE__ */ c(x, {}) : /* @__PURE__ */ c(m, {}), /* @__PURE__ */ e("span", { className: "flex flex-col gap-3", children: [ l ?? /* @__PURE__ */ e("span", { children: [ "No ", o ?? "results", " found", a ? /* @__PURE__ */ e(r, { children: [ " for ", /* @__PURE__ */ e("i", { children: [ '"', a, '"' ] }), " search" ] }) : n ? /* @__PURE__ */ c(r, { children: " for your selected filters" }) : null, "." ] }), s && /* @__PURE__ */ c("div", { className: "flex gap-2", children: s }) ] }) ] } ); export { j as E };