@camstack/addon-benchmark 1.2.217 → 1.2.218

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/_stub.js CHANGED
@@ -1,5 +1,5 @@
1
1
  import "./virtualExposes-erbhyesj.mjs";
2
- import "./virtual_mf-REMOTE_ENTRY_ID___mfe_internal__addon_benchmark_page__remoteEntry_js-DT2Sgn_S.mjs";
2
+ import "./virtual_mf-REMOTE_ENTRY_ID___mfe_internal__addon_benchmark_page__remoteEntry_js-BjsqC5vQ.mjs";
3
3
  import { _ as e, b as t, c as n, d as r, f as i, g as a, h as o, i as s, l as c, m as l, n as u, p as d, r as f, t as p, u as m, v as h } from "./_virtual_mf___mfe_internal__addon_benchmark_page__loadShare__react__loadShare__.js-BLRSn-wJ.mjs";
4
4
  import { _ as g, a as _, c as v, d as y, f as b, g as x, h as S, i as C, l as w, m as T, n as E, o as D, r as ee, s as te, t as ne, u as re, v as O } from "./responsive-DxkMMKFv.mjs";
5
5
  import { d as ie, l as ae, u as oe } from "./scene-monitor-copy-BFVfBwEG.mjs";
@@ -6536,37 +6536,39 @@ function xo() {
6536
6536
  if (!e) throw Error("Tabs compound components must be used within <Tabs>");
6537
6537
  return e;
6538
6538
  }
6539
- function So({ value: e, onValueChange: t, defaultValue: r = "", className: i, ...o }) {
6540
- let [s, c] = a(r), l = e ?? s, u = n((n) => {
6541
- t?.(n), e === void 0 && c(n);
6539
+ function So({ value: e, onValueChange: t, defaultValue: r = "", appearance: i = "underline", className: o, ...s }) {
6540
+ let [c, l] = a(r), u = e ?? c, d = n((n) => {
6541
+ t?.(n), e === void 0 && l(n);
6542
6542
  }, [e, t]);
6543
6543
  return /* @__PURE__ */ F(bo.Provider, {
6544
6544
  value: {
6545
- value: l,
6546
- setValue: u
6545
+ value: u,
6546
+ setValue: d,
6547
+ appearance: i
6547
6548
  },
6548
6549
  children: /* @__PURE__ */ F("div", {
6549
- className: i,
6550
- ...o
6550
+ className: o,
6551
+ ...s
6551
6552
  })
6552
6553
  });
6553
6554
  }
6554
6555
  function Co({ className: e, ...t }) {
6556
+ let { appearance: n } = xo();
6555
6557
  return /* @__PURE__ */ F("div", {
6556
6558
  role: "tablist",
6557
- className: U("flex flex-row overflow-x-auto overflow-y-hidden border-b border-border-subtle", e),
6559
+ className: U("flex flex-row overflow-x-auto overflow-y-hidden", n === "pills" ? "gap-1 border-b border-border-subtle py-1" : "border-b border-border-subtle", e),
6558
6560
  ...t
6559
6561
  });
6560
6562
  }
6561
6563
  function wo({ value: e, className: t, ...n }) {
6562
- let { value: r, setValue: i } = xo(), a = e === r;
6564
+ let { value: r, setValue: i, appearance: a } = xo(), o = e === r;
6563
6565
  return /* @__PURE__ */ F("button", {
6564
6566
  type: "button",
6565
6567
  role: "tab",
6566
- "aria-selected": a,
6568
+ "aria-selected": o,
6567
6569
  "aria-controls": `tabpanel-${e}`,
6568
- tabIndex: a ? 0 : -1,
6569
- className: U("h-7 shrink-0 whitespace-nowrap text-xs px-3 transition-colors", a ? "border-b-2 border-primary text-foreground font-medium" : "text-foreground-muted hover:text-foreground", t),
6570
+ tabIndex: o ? 0 : -1,
6571
+ className: U("h-7 shrink-0 whitespace-nowrap text-xs px-3 transition-colors", a === "pills" ? o ? "rounded-md bg-primary/10 font-medium text-primary" : "rounded-md text-foreground-muted hover:bg-surface-hover hover:text-foreground" : o ? "border-b-2 border-primary text-foreground font-medium" : "text-foreground-muted hover:text-foreground", t),
6570
6572
  onClick: () => i(e),
6571
6573
  ...n
6572
6574
  });
@@ -1,4 +1,4 @@
1
- import "./virtual_mf-REMOTE_ENTRY_ID___mfe_internal__addon_benchmark_page__remoteEntry_js-DT2Sgn_S.mjs";
1
+ import "./virtual_mf-REMOTE_ENTRY_ID___mfe_internal__addon_benchmark_page__remoteEntry_js-BjsqC5vQ.mjs";
2
2
  //#region \0virtual:mf-localSharedImportMap:__mfe_internal__addon_benchmark_page
3
3
  var e = {
4
4
  "@camstack/sdk": {
@@ -33,7 +33,7 @@ var e = {
33
33
  },
34
34
  "@camstack/ui-library": {
35
35
  name: "@camstack/ui-library",
36
- version: "1.2.271",
36
+ version: "1.2.272",
37
37
  scope: ["default"],
38
38
  loaded: !1,
39
39
  from: "addon_benchmark_page",
@@ -81,7 +81,7 @@ async function r() {
81
81
  }
82
82
  },
83
83
  "@camstack/ui-library": {
84
- version: "1.2.271",
84
+ version: "1.2.272",
85
85
  scope: "default",
86
86
  shareConfig: {
87
87
  singleton: !0,
@@ -1,2 +1,2 @@
1
- import { n as e, t } from "./virtual_mf-REMOTE_ENTRY_ID___mfe_internal__addon_benchmark_page__remoteEntry_js-DT2Sgn_S.mjs";
1
+ import { n as e, t } from "./virtual_mf-REMOTE_ENTRY_ID___mfe_internal__addon_benchmark_page__remoteEntry_js-BjsqC5vQ.mjs";
2
2
  export { t as get, e as init };
@@ -2753,7 +2753,7 @@ async function rr(e) {
2753
2753
  }
2754
2754
  }
2755
2755
  async function ir() {
2756
- return tr ||= rr(() => import("./_virtual_mf-localSharedImportMap___mfe_internal__addon_benchmark_page-DC1J2Goo.mjs")).catch((e) => {
2756
+ return tr ||= rr(() => import("./_virtual_mf-localSharedImportMap___mfe_internal__addon_benchmark_page-keOuukdj.mjs")).catch((e) => {
2757
2757
  throw tr = void 0, e;
2758
2758
  }), tr;
2759
2759
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@camstack/addon-benchmark",
3
- "version": "1.2.217",
3
+ "version": "1.2.218",
4
4
  "description": "Benchmark page: measure what one node can carry (the orchestrator's node benchmark), inspect one image or one sound",
5
5
  "keywords": [
6
6
  "camstack",