@nubisco/ui 1.38.5 → 1.39.1

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.
Files changed (37) hide show
  1. package/dist/components/BottomPanel.vue.d.ts.map +1 -1
  2. package/dist/components/Button.vue.d.ts +1 -1
  3. package/dist/components/Button.vue.d.ts.map +1 -1
  4. package/dist/components/Icon.vue.d.ts.map +1 -1
  5. package/dist/components/MenuItem.vue.d.ts +1 -1
  6. package/dist/components/Shell.vue.d.ts +1 -0
  7. package/dist/components/Shell.vue.d.ts.map +1 -1
  8. package/dist/components/ShellPanel.vue.d.ts.map +1 -1
  9. package/dist/components/SidebarBrand.vue.d.ts +18 -0
  10. package/dist/components/SidebarBrand.vue.d.ts.map +1 -0
  11. package/dist/components/SidebarLink.vue.d.ts.map +1 -1
  12. package/dist/components/SidebarMenu.vue.d.ts +17 -0
  13. package/dist/components/SidebarMenu.vue.d.ts.map +1 -0
  14. package/dist/components/SidebarMenuGroup.vue.d.ts +20 -0
  15. package/dist/components/SidebarMenuGroup.vue.d.ts.map +1 -0
  16. package/dist/components/SidebarMenuItem.vue.d.ts +30 -0
  17. package/dist/components/SidebarMenuItem.vue.d.ts.map +1 -0
  18. package/dist/components/SidebarVariantScope.vue.d.ts +17 -0
  19. package/dist/components/SidebarVariantScope.vue.d.ts.map +1 -0
  20. package/dist/components/Submenu.vue.d.ts +1 -1
  21. package/dist/components/TreeNode.vue.d.ts +1 -1
  22. package/dist/components/index.d.ts.map +1 -1
  23. package/dist/components/labs/Spreadsheet.vue.d.ts +57 -0
  24. package/dist/components/labs/Spreadsheet.vue.d.ts.map +1 -0
  25. package/dist/composables/iconRegistry.d.ts +46 -0
  26. package/dist/composables/iconRegistry.d.ts.map +1 -0
  27. package/dist/composables/useRouterLink.composable.d.ts +15 -0
  28. package/dist/composables/useRouterLink.composable.d.ts.map +1 -0
  29. package/dist/index.cjs +10 -7
  30. package/dist/index.cjs.map +1 -1
  31. package/dist/index.mjs +7060 -6187
  32. package/dist/index.mjs.map +1 -1
  33. package/dist/main.d.ts +13 -1
  34. package/dist/main.d.ts.map +1 -1
  35. package/dist/ui.css +1 -1
  36. package/package.json +1 -1
  37. package/src/styles/_theme.scss +57 -0
@@ -346,6 +346,63 @@
346
346
  --nb-c-warning: #{colors.get-color('phoenix-flames', 500)};
347
347
  --nb-c-danger: #{colors.get-color('chicken-comb', 500)};
348
348
  --nb-c-component-plain: #{colors.get-color('nouveau-gray', 500)};
349
+
350
+ // Shell — emitted at :root so consumer apps can override on :root
351
+ // without fighting Shell.vue's scoped-style specificity.
352
+ // Dark chrome derived from the brand: a near-black tint of --nb-c-primary so
353
+ // rebranding the primary colour re-tints the sidebar too (semantic, not a
354
+ // raw palette tint).
355
+ --nb-shell-sidebar-bg: color-mix(
356
+ in srgb,
357
+ var(--nb-c-primary) 20%,
358
+ var(--nb-c-black)
359
+ );
360
+ --nb-shell-sidebar-width: calc(var(--nb-base-unit) * 7); // 56px
361
+ --nb-shell-sidebar-link-color: color-mix(
362
+ in srgb,
363
+ var(--nb-c-white) 55%,
364
+ transparent
365
+ );
366
+ --nb-shell-sidebar-link-hover-bg: color-mix(
367
+ in srgb,
368
+ var(--nb-c-white) 8%,
369
+ transparent
370
+ );
371
+ --nb-shell-sidebar-link-hover-color: color-mix(
372
+ in srgb,
373
+ var(--nb-c-white) 90%,
374
+ transparent
375
+ );
376
+ --nb-shell-sidebar-link-active-bg: color-mix(
377
+ in srgb,
378
+ var(--nb-c-primary) 25%,
379
+ transparent
380
+ );
381
+ // Light tint of --nb-c-primary: keeps the accent on-brand and rebrandable
382
+ // while staying legible (~6:1) on the dark rail, where --nb-c-primary itself
383
+ // is too dark (~2.5:1).
384
+ --nb-shell-sidebar-link-active-color: color-mix(
385
+ in srgb,
386
+ var(--nb-c-primary) 60%,
387
+ var(--nb-c-white)
388
+ );
389
+ --nb-shell-topbar-height: calc(var(--nb-base-unit) * 6.25); // 50px
390
+ --nb-shell-inspector-width: calc(var(--nb-base-unit) * 70); // 560px
391
+ --nb-shell-inspector-expanded-width: 50vw;
392
+ --nb-shell-inspector-border: 1px solid var(--nb-c-border);
393
+ --nb-shell-inspector-bg: var(--nb-c-surface);
394
+
395
+ // Panels — emitted at :root so consumer apps can override on :root without
396
+ // fighting the components' scoped-style specificity.
397
+ --nb-shell-panel-header-height: calc(var(--nb-base-unit) * 3.5); // 28px
398
+ --nb-shell-panel-gap: 1px; // hairline separator, not a spacing step
399
+ --nb-bottom-panel-header-height: calc(var(--nb-base-unit) * 3.5); // 28px
400
+ --nb-bottom-panel-bg: var(--nb-c-layer-0, var(--nb-c-bg));
401
+ --nb-bottom-panel-border: var(--nb-c-border);
402
+
403
+ // Menu — base item height. The .nb-menu--xs/sm/md/lg size variants override
404
+ // this on top (state-scoped, kept in MenuItem.vue).
405
+ --nb-menu-item-h: calc(var(--nb-base-unit) * 5); // 40px
349
406
  }
350
407
  }
351
408