@octabits-io/nuxt-ui-kit 0.10.0 → 0.11.0

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@octabits-io/nuxt-ui-kit",
3
- "version": "0.10.0",
3
+ "version": "0.11.0",
4
4
  "description": "Frontend kit for Nuxt/Vue admin SPAs: OIDC session harness (oidc-client-ts), Eden Treaty client factory, auth/org store cores, and a route-guard builder — factory-style seams the app wires into its own plugins, stores, and middleware",
5
5
  "license": "MIT",
6
6
  "type": "module",
@@ -32,9 +32,14 @@ const props = withDefaults(defineProps<{
32
32
  utilityItems?: PageActionsItem[]
33
33
  /** Header width (px) below which 'auto'/utility items collapse into the menu. */
34
34
  collapseBelow?: number
35
+ /** Render the built-in Help trigger (when a help registry with actions is
36
+ * provided). Disable in nested/panel headers where the page-level header
37
+ * already owns Help. */
38
+ help?: boolean
35
39
  }>(), {
36
40
  utilityItems: () => [],
37
41
  collapseBelow: PAGE_ACTIONS_COLLAPSE_BELOW,
42
+ help: true,
38
43
  });
39
44
 
40
45
  const { t } = useI18n();
@@ -48,7 +53,7 @@ const collapsed = computed(() => {
48
53
  return width != null && width < props.collapseBelow;
49
54
  });
50
55
 
51
- const showHelp = computed(() => Boolean(helpPanel?.hasActions.value));
56
+ const showHelp = computed(() => props.help && Boolean(helpPanel?.hasActions.value));
52
57
 
53
58
  const inlineItems = computed(() => props.items.filter(item =>
54
59
  (item.visibility ?? 'auto') === 'always'