@camstack/addon-training 0.1.19 → 0.1.20

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-0m8NqEDE.mjs";
2
- import { a as e, i as t, o as n, r } from "./virtual_mf-REMOTE_ENTRY_ID___mfe_internal__addon_training_page__remoteEntry_js-XuupllaQ.mjs";
2
+ import { a as e, i as t, o as n, r } from "./virtual_mf-REMOTE_ENTRY_ID___mfe_internal__addon_training_page__remoteEntry_js-CacDWi0w.mjs";
3
3
  import { S as i, _ as a, b as o, c as s, d as c, f as l, g as u, h as d, i as f, l as p, m, n as h, p as g, r as _, t as v, u as y, v as b, x, y as S } from "./_virtual_mf___mfe_internal__addon_training_page__loadShare__react__loadShare__.js-DeDbF7NI.mjs";
4
4
  import { _ as C, a as w, b as T, c as E, d as D, f as O, g as k, h as A, i as j, l as M, m as N, n as P, o as F, p as I, r as ee, s as te, t as ne, u as re, v as ie, y as L } from "./responsive-emJo3EdF.mjs";
5
5
  import { c as ae, d as oe, l as se, s as ce, u as le } from "./scene-monitor-copy-CcQxbRXa.mjs";
@@ -16222,37 +16222,39 @@ function bg() {
16222
16222
  if (!e) throw Error("Tabs compound components must be used within <Tabs>");
16223
16223
  return e;
16224
16224
  }
16225
- function xg({ value: e, onValueChange: t, defaultValue: n = "", className: r, ...i }) {
16226
- let [o, c] = a(n), l = e ?? o, u = s((n) => {
16227
- t?.(n), e === void 0 && c(n);
16225
+ function xg({ value: e, onValueChange: t, defaultValue: n = "", appearance: r = "underline", className: i, ...o }) {
16226
+ let [c, l] = a(n), u = e ?? c, d = s((n) => {
16227
+ t?.(n), e === void 0 && l(n);
16228
16228
  }, [e, t]);
16229
16229
  return /* @__PURE__ */ V(yg.Provider, {
16230
16230
  value: {
16231
- value: l,
16232
- setValue: u
16231
+ value: u,
16232
+ setValue: d,
16233
+ appearance: r
16233
16234
  },
16234
16235
  children: /* @__PURE__ */ V("div", {
16235
- className: r,
16236
- ...i
16236
+ className: i,
16237
+ ...o
16237
16238
  })
16238
16239
  });
16239
16240
  }
16240
16241
  function Sg({ className: e, ...t }) {
16242
+ let { appearance: n } = bg();
16241
16243
  return /* @__PURE__ */ V("div", {
16242
16244
  role: "tablist",
16243
- className: J("flex flex-row overflow-x-auto overflow-y-hidden border-b border-border-subtle", e),
16245
+ className: J("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),
16244
16246
  ...t
16245
16247
  });
16246
16248
  }
16247
16249
  function Cg({ value: e, className: t, ...n }) {
16248
- let { value: r, setValue: i } = bg(), a = e === r;
16250
+ let { value: r, setValue: i, appearance: a } = bg(), o = e === r;
16249
16251
  return /* @__PURE__ */ V("button", {
16250
16252
  type: "button",
16251
16253
  role: "tab",
16252
- "aria-selected": a,
16254
+ "aria-selected": o,
16253
16255
  "aria-controls": `tabpanel-${e}`,
16254
- tabIndex: a ? 0 : -1,
16255
- className: J("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),
16256
+ tabIndex: o ? 0 : -1,
16257
+ className: J("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),
16256
16258
  onClick: () => i(e),
16257
16259
  ...n
16258
16260
  });
@@ -1,4 +1,4 @@
1
- import "./virtual_mf-REMOTE_ENTRY_ID___mfe_internal__addon_training_page__remoteEntry_js-XuupllaQ.mjs";
1
+ import "./virtual_mf-REMOTE_ENTRY_ID___mfe_internal__addon_training_page__remoteEntry_js-CacDWi0w.mjs";
2
2
  //#region \0virtual:mf-localSharedImportMap:__mfe_internal__addon_training_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_training_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_training_page__remoteEntry_js-XuupllaQ.mjs";
1
+ import { n as e, t } from "./virtual_mf-REMOTE_ENTRY_ID___mfe_internal__addon_training_page__remoteEntry_js-CacDWi0w.mjs";
2
2
  export { t as get, e as init };
@@ -2762,7 +2762,7 @@ async function or(e) {
2762
2762
  }
2763
2763
  }
2764
2764
  async function sr() {
2765
- return ir ||= or(() => import("./_virtual_mf-localSharedImportMap___mfe_internal__addon_training_page-QfUzn2K_.mjs")).catch((e) => {
2765
+ return ir ||= or(() => import("./_virtual_mf-localSharedImportMap___mfe_internal__addon_training_page-BlFM0TmL.mjs")).catch((e) => {
2766
2766
  throw ir = void 0, e;
2767
2767
  }), ir;
2768
2768
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@camstack/addon-training",
3
- "version": "0.1.19",
3
+ "version": "0.1.20",
4
4
  "description": "Cloud training for CamStack: fine-tune the root detector on your own frames, on your own GPU-cloud account",
5
5
  "keywords": [
6
6
  "camstack",