@camstack/addon-model-studio 1.1.241 → 1.1.242

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-CWSi4E_g.mjs";
2
- import "./virtual_mf-REMOTE_ENTRY_ID___mfe_internal__addon_model_studio_page__remoteEntry_js-CDiC1cBI.mjs";
2
+ import "./virtual_mf-REMOTE_ENTRY_ID___mfe_internal__addon_model_studio_page__remoteEntry_js-hd8Mcqu1.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_model_studio_page__loadShare__react__loadShare__.js-CHL8loOl.mjs";
4
4
  import { _ as g, a as _, b as v, c as y, d as b, f as x, g as S, i as C, l as w, m as T, o as E, p as D, r as O, s as k, t as ee, u as A, v as te, y as j } from "./responsive-DI5osE9O.mjs";
5
5
  import { d as ne, l as re, u as M } from "./scene-monitor-copy-SE_x3tUF.mjs";
@@ -6887,37 +6887,39 @@ function Ps() {
6887
6887
  if (!e) throw Error("Tabs compound components must be used within <Tabs>");
6888
6888
  return e;
6889
6889
  }
6890
- function Fs({ value: e, onValueChange: t, defaultValue: r = "", className: i, ...o }) {
6891
- let [s, c] = a(r), l = e ?? s, u = n((n) => {
6892
- t?.(n), e === void 0 && c(n);
6890
+ function Fs({ value: e, onValueChange: t, defaultValue: r = "", appearance: i = "underline", className: o, ...s }) {
6891
+ let [c, l] = a(r), u = e ?? c, d = n((n) => {
6892
+ t?.(n), e === void 0 && l(n);
6893
6893
  }, [e, t]);
6894
6894
  return /* @__PURE__ */ z(Ns.Provider, {
6895
6895
  value: {
6896
- value: l,
6897
- setValue: u
6896
+ value: u,
6897
+ setValue: d,
6898
+ appearance: i
6898
6899
  },
6899
6900
  children: /* @__PURE__ */ z("div", {
6900
- className: i,
6901
- ...o
6901
+ className: o,
6902
+ ...s
6902
6903
  })
6903
6904
  });
6904
6905
  }
6905
6906
  function Is({ className: e, ...t }) {
6907
+ let { appearance: n } = Ps();
6906
6908
  return /* @__PURE__ */ z("div", {
6907
6909
  role: "tablist",
6908
- className: G("flex flex-row overflow-x-auto overflow-y-hidden border-b border-border-subtle", e),
6910
+ className: G("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),
6909
6911
  ...t
6910
6912
  });
6911
6913
  }
6912
6914
  function Ls({ value: e, className: t, ...n }) {
6913
- let { value: r, setValue: i } = Ps(), a = e === r;
6915
+ let { value: r, setValue: i, appearance: a } = Ps(), o = e === r;
6914
6916
  return /* @__PURE__ */ z("button", {
6915
6917
  type: "button",
6916
6918
  role: "tab",
6917
- "aria-selected": a,
6919
+ "aria-selected": o,
6918
6920
  "aria-controls": `tabpanel-${e}`,
6919
- tabIndex: a ? 0 : -1,
6920
- className: G("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),
6921
+ tabIndex: o ? 0 : -1,
6922
+ className: G("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),
6921
6923
  onClick: () => i(e),
6922
6924
  ...n
6923
6925
  });
@@ -1,4 +1,4 @@
1
- import "./virtual_mf-REMOTE_ENTRY_ID___mfe_internal__addon_model_studio_page__remoteEntry_js-CDiC1cBI.mjs";
1
+ import "./virtual_mf-REMOTE_ENTRY_ID___mfe_internal__addon_model_studio_page__remoteEntry_js-hd8Mcqu1.mjs";
2
2
  //#region \0virtual:mf-localSharedImportMap:__mfe_internal__addon_model_studio_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_model_studio_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_model_studio_page__remoteEntry_js-CDiC1cBI.mjs";
1
+ import { n as e, t } from "./virtual_mf-REMOTE_ENTRY_ID___mfe_internal__addon_model_studio_page__remoteEntry_js-hd8Mcqu1.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_model_studio_page-_r2CR4tX.mjs")).catch((e) => {
2756
+ return tr ||= rr(() => import("./_virtual_mf-localSharedImportMap___mfe_internal__addon_model_studio_page-IOUd1yR1.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-model-studio",
3
- "version": "1.1.241",
3
+ "version": "1.1.242",
4
4
  "description": "Custom detection model registry, conversion & distribution for CamStack",
5
5
  "keywords": [
6
6
  "camstack",