@burdenoff/fe-libs 2026.805.3 → 2026.805.5
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/chrome/LanguageSwitcher.d.ts.map +1 -1
- package/dist/chrome/LanguageSwitcher.js +2 -2
- package/dist/chrome/ProductSwitcher.js +1 -1
- package/dist/chrome/globalSearch/CategoryTabs.d.ts.map +1 -1
- package/dist/chrome/globalSearch/CategoryTabs.js +19 -17
- package/dist/chrome/globalSearch/SearchModeBar.d.ts.map +1 -1
- package/dist/chrome/globalSearch/SearchModeBar.js +2 -2
- package/package.json +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"LanguageSwitcher.d.ts","sourceRoot":"","sources":["../../src/chrome/LanguageSwitcher.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC;AAGhC,MAAM,WAAW,QAAQ;IACvB,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,MAAM,CAAC;IACb,UAAU,EAAE,MAAM,CAAC;IACnB,IAAI,CAAC,EAAE,MAAM,CAAC;CACf;AAED,MAAM,WAAW,qBAAqB;IACpC,SAAS,EAAE,QAAQ,EAAE,CAAC;IACtB,eAAe,EAAE,MAAM,CAAC;IACxB,gBAAgB,CAAC,EAAE,CAAC,QAAQ,EAAE,QAAQ,KAAK,IAAI,CAAC;IAChD,4CAA4C;IAC5C,OAAO,CAAC,EAAE,OAAO,CAAC;CACnB;AAED;;;;;;GAMG;AACH,eAAO,MAAM,gBAAgB,EAAE,EAAE,CAAC,qBAAqB,
|
|
1
|
+
{"version":3,"file":"LanguageSwitcher.d.ts","sourceRoot":"","sources":["../../src/chrome/LanguageSwitcher.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC;AAGhC,MAAM,WAAW,QAAQ;IACvB,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,MAAM,CAAC;IACb,UAAU,EAAE,MAAM,CAAC;IACnB,IAAI,CAAC,EAAE,MAAM,CAAC;CACf;AAED,MAAM,WAAW,qBAAqB;IACpC,SAAS,EAAE,QAAQ,EAAE,CAAC;IACtB,eAAe,EAAE,MAAM,CAAC;IACxB,gBAAgB,CAAC,EAAE,CAAC,QAAQ,EAAE,QAAQ,KAAK,IAAI,CAAC;IAChD,4CAA4C;IAC5C,OAAO,CAAC,EAAE,OAAO,CAAC;CACnB;AAED;;;;;;GAMG;AACH,eAAO,MAAM,gBAAgB,EAAE,EAAE,CAAC,qBAAqB,CA4ItD,CAAC"}
|
|
@@ -69,10 +69,10 @@ var s = ({ languages: s, currentLanguage: c, onLanguageChange: l, compact: u = !
|
|
|
69
69
|
className: "flex-1 text-left min-w-0",
|
|
70
70
|
children: [/* @__PURE__ */ a("p", {
|
|
71
71
|
className: "font-medium truncate",
|
|
72
|
-
children: e.
|
|
72
|
+
children: e.nativeName
|
|
73
73
|
}), /* @__PURE__ */ a("p", {
|
|
74
74
|
className: "text-xs text-text-secondary truncate",
|
|
75
|
-
children: e.
|
|
75
|
+
children: e.name
|
|
76
76
|
})]
|
|
77
77
|
}),
|
|
78
78
|
e.code === c && /* @__PURE__ */ a("svg", {
|
|
@@ -168,7 +168,7 @@ var p = ({ products: e, currentProductId: l, onProductChange: p, compact: m = !1
|
|
|
168
168
|
}),
|
|
169
169
|
e.comingSoon ? /* @__PURE__ */ o("span", {
|
|
170
170
|
className: "shrink-0 whitespace-nowrap rounded-full border border-border-subtle bg-bg-sunken px-1.5 py-0.5 text-[10px] font-medium uppercase tracking-wide text-text-secondary",
|
|
171
|
-
children: "Soon"
|
|
171
|
+
children: h("productSwitcher.soon", "Soon")
|
|
172
172
|
}) : e.id === l && /* @__PURE__ */ o("svg", {
|
|
173
173
|
className: "size-5 text-action-primary-bg",
|
|
174
174
|
fill: "currentColor",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CategoryTabs.d.ts","sourceRoot":"","sources":["../../../src/chrome/globalSearch/CategoryTabs.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAEvC,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,oBAAoB,CAAC;
|
|
1
|
+
{"version":3,"file":"CategoryTabs.d.ts","sourceRoot":"","sources":["../../../src/chrome/globalSearch/CategoryTabs.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAEvC,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,oBAAoB,CAAC;AAGzD,MAAM,WAAW,iBAAiB;IAChC,QAAQ,CAAC,UAAU,EAAE,SAAS,cAAc,EAAE,CAAC;IAC/C,QAAQ,CAAC,gBAAgB,EAAE,MAAM,GAAG,SAAS,CAAC;IAC9C,QAAQ,CAAC,QAAQ,EAAE,CAAC,QAAQ,EAAE,MAAM,GAAG,SAAS,KAAK,IAAI,CAAC;CAC3D;AAED,wBAAgB,YAAY,CAAC,EAC3B,UAAU,EACV,gBAAgB,EAChB,QAAQ,GACT,EAAE,iBAAiB,GAAG,SAAS,CAuC/B"}
|
|
@@ -1,28 +1,30 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { useShellLabel as e } from "../../shared/providers/shell/useShellLabel.js";
|
|
2
|
+
import { cn as t } from "../../utils/cn.js";
|
|
2
3
|
import "../../utils/index.js";
|
|
3
|
-
import { jsx as
|
|
4
|
+
import { jsx as n, jsxs as r } from "react/jsx-runtime";
|
|
4
5
|
//#region src/chrome/globalSearch/CategoryTabs.tsx
|
|
5
|
-
function
|
|
6
|
-
|
|
6
|
+
function i({ categories: i, selectedCategory: a, onSelect: o }) {
|
|
7
|
+
let s = e();
|
|
8
|
+
return i.length === 0 ? null : /* @__PURE__ */ r("div", {
|
|
7
9
|
className: "flex items-center gap-1 p-2 border-b border-border-subtle overflow-x-auto scrollbar-hide scroll-smooth snap-x snap-mandatory",
|
|
8
|
-
children: [/* @__PURE__ */
|
|
10
|
+
children: [/* @__PURE__ */ n("button", {
|
|
9
11
|
type: "button",
|
|
10
|
-
onClick: () =>
|
|
11
|
-
className:
|
|
12
|
-
children: "All"
|
|
13
|
-
}),
|
|
14
|
-
let
|
|
15
|
-
return /* @__PURE__ */
|
|
12
|
+
onClick: () => o(void 0),
|
|
13
|
+
className: t("px-3 py-1.5 text-xs font-medium rounded-button transition-colors whitespace-nowrap flex-shrink-0 snap-start", a === void 0 ? "bg-action-primary-bg text-action-primary-text" : "bg-bg-sunken text-text-secondary hover:text-text-primary"),
|
|
14
|
+
children: s("search.category.all", "All")
|
|
15
|
+
}), i.map((e) => {
|
|
16
|
+
let i = e.icon;
|
|
17
|
+
return /* @__PURE__ */ r("button", {
|
|
16
18
|
type: "button",
|
|
17
|
-
onClick: () =>
|
|
18
|
-
className:
|
|
19
|
-
children: [/* @__PURE__ */
|
|
19
|
+
onClick: () => o(e.name),
|
|
20
|
+
className: t("px-3 py-1.5 text-xs font-medium rounded-button transition-colors whitespace-nowrap flex-shrink-0 flex items-center gap-1.5 snap-start", a === e.name ? "bg-action-primary-bg text-action-primary-text" : "bg-bg-sunken text-text-secondary hover:text-text-primary"),
|
|
21
|
+
children: [/* @__PURE__ */ n(i, { className: "size-3.5" }), /* @__PURE__ */ n("span", {
|
|
20
22
|
className: "hidden xs:inline",
|
|
21
|
-
children:
|
|
23
|
+
children: e.label
|
|
22
24
|
})]
|
|
23
|
-
},
|
|
25
|
+
}, e.name);
|
|
24
26
|
})]
|
|
25
27
|
});
|
|
26
28
|
}
|
|
27
29
|
//#endregion
|
|
28
|
-
export {
|
|
30
|
+
export { i as CategoryTabs };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SearchModeBar.d.ts","sourceRoot":"","sources":["../../../src/chrome/globalSearch/SearchModeBar.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAGvC,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,0CAA0C,CAAC;AAG3E,MAAM,WAAW,kBAAkB;IACjC,QAAQ,CAAC,UAAU,EAAE,UAAU,CAAC;IAChC,QAAQ,CAAC,kBAAkB,EAAE,CAAC,IAAI,EAAE,UAAU,KAAK,IAAI,CAAC;IACxD,QAAQ,CAAC,YAAY,EAAE,OAAO,CAAC;IAC/B,QAAQ,CAAC,gBAAgB,EAAE,MAAM,IAAI,CAAC;CACvC;AAED,wBAAgB,aAAa,CAAC,EAC5B,UAAU,EACV,kBAAkB,EAClB,YAAY,EACZ,gBAAgB,GACjB,EAAE,kBAAkB,GAAG,SAAS,
|
|
1
|
+
{"version":3,"file":"SearchModeBar.d.ts","sourceRoot":"","sources":["../../../src/chrome/globalSearch/SearchModeBar.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAGvC,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,0CAA0C,CAAC;AAG3E,MAAM,WAAW,kBAAkB;IACjC,QAAQ,CAAC,UAAU,EAAE,UAAU,CAAC;IAChC,QAAQ,CAAC,kBAAkB,EAAE,CAAC,IAAI,EAAE,UAAU,KAAK,IAAI,CAAC;IACxD,QAAQ,CAAC,YAAY,EAAE,OAAO,CAAC;IAC/B,QAAQ,CAAC,gBAAgB,EAAE,MAAM,IAAI,CAAC;CACvC;AAED,wBAAgB,aAAa,CAAC,EAC5B,UAAU,EACV,kBAAkB,EAClB,YAAY,EACZ,gBAAgB,GACjB,EAAE,kBAAkB,GAAG,SAAS,CAmDhC"}
|
|
@@ -18,7 +18,7 @@ function s({ searchMode: s, onSearchModeChange: c, showAdvanced: l, onToggleAdva
|
|
|
18
18
|
type: "button",
|
|
19
19
|
onClick: () => c(e),
|
|
20
20
|
className: t("px-2 py-1 text-[10px] font-medium rounded-button transition-colors", s === e ? "bg-action-primary-bg text-action-primary-text" : "bg-bg-sunken text-text-secondary hover:text-text-primary"),
|
|
21
|
-
title: e === "PARTIAL" ? "Autocomplete — matches prefixes and substrings" : e === "FULLTEXT" ? "Full-text — BM25 word matching with stemming" : "Exact — all search terms must appear",
|
|
21
|
+
title: e === "PARTIAL" ? d("search.mode.partialHint", "Autocomplete — matches prefixes and substrings") : e === "FULLTEXT" ? d("search.mode.fulltextHint", "Full-text — BM25 word matching with stemming") : d("search.mode.exactHint", "Exact — all search terms must appear"),
|
|
22
22
|
children: e === "PARTIAL" ? d("search.mode.partial", "Partial") : e === "FULLTEXT" ? d("search.mode.fulltext", "Fulltext") : d("search.mode.exact", "Exact")
|
|
23
23
|
}, e))
|
|
24
24
|
}), /* @__PURE__ */ o("button", {
|
|
@@ -28,7 +28,7 @@ function s({ searchMode: s, onSearchModeChange: c, showAdvanced: l, onToggleAdva
|
|
|
28
28
|
"aria-expanded": l,
|
|
29
29
|
children: [
|
|
30
30
|
/* @__PURE__ */ a(i, { className: "size-3" }),
|
|
31
|
-
"Filters",
|
|
31
|
+
d("search.filters", "Filters"),
|
|
32
32
|
a(l ? r : n, { className: "size-3" })
|
|
33
33
|
]
|
|
34
34
|
})]
|