@nadicodeai/ui 12.1.164 → 12.1.165

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.
@@ -2,7 +2,7 @@ import * as React from "react";
2
2
  /**
3
3
  * Alveare's entry scene, the hive, which Alveare's desktop and Alveare Server
4
4
  * both stand their entry screens on (apps/alveare/docs/design-doctrine.md,
5
- * "Screens"): the app's picture on black, Alveare's logo at the upper left,
5
+ * "Screens"): the app's picture on black, the app's mark at the upper left,
6
6
  * six Agent orbs on the corners of a hexagon around the words, and the work
7
7
  * flowing between them and the people in the picture as particles in the
8
8
  * sending orb's colour. The orbs are artwork, so they take ambient motion and
@@ -43,7 +43,7 @@ export type HiveSceneProps = Omit<React.ComponentProps<"div">, "children"> & {
43
43
  mode: HiveSceneMode;
44
44
  /** How the words stand: `panel` for a screen of cards read from the leading edge. */
45
45
  column?: HiveSceneColumn;
46
- /** Alveare's logo, its app icon without the construction guides, and its name. */
46
+ /** The app's mark, its icon's ribbon alone without the tile, and the app's name. */
47
47
  logo: {
48
48
  src: string;
49
49
  label: string;
@@ -65,7 +65,7 @@ export type HiveSceneProps = Omit<React.ComponentProps<"div">, "children"> & {
65
65
  children?: React.ReactNode;
66
66
  };
67
67
  /**
68
- * Alveare's entry scene: its picture, its logo and six Agent orbs around the words.
68
+ * Alveare's entry scene: its picture, its mark and six Agent orbs around the words.
69
69
  *
70
70
  * @family Other
71
71
  * @when Alveare's entry screens, on its desktop and on Alveare Server: joining, loading, a failure.
@@ -1 +1 @@
1
- {"version":3,"file":"hive-scene.d.ts","sourceRoot":"","sources":["../../src/components/hive-scene.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAK/B;;;;;;;;;;;;;;;;;;;;;GAqBG;AAEH,MAAM,MAAM,SAAS,GAAG;IAAE,CAAC,EAAE,MAAM,CAAC;IAAC,CAAC,EAAE,MAAM,CAAA;CAAE,CAAC;AAEjD,6DAA6D;A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}
@@ -159,7 +159,7 @@ function pick(items) {
159
159
  return items[Math.floor(Math.random() * items.length)];
160
160
  }
161
161
  /**
162
- * Alveare's entry scene: its picture, its logo and six Agent orbs around the words.
162
+ * Alveare's entry scene: its picture, its mark and six Agent orbs around the words.
163
163
  *
164
164
  * @family Other
165
165
  * @when Alveare's entry screens, on its desktop and on Alveare Server: joining, loading, a failure.
@@ -1756,7 +1756,7 @@ export const USAGE = [
1756
1756
  name: "HiveScene",
1757
1757
  module: "hive-scene",
1758
1758
  family: "Other",
1759
- summary: "Alveare's entry scene: its picture, its logo and six Agent orbs around the words.",
1759
+ summary: "Alveare's entry scene: its picture, its mark and six Agent orbs around the words.",
1760
1760
  when: "Alveare's entry screens, on its desktop and on Alveare Server: joining, loading, a failure.",
1761
1761
  instead: "Nadia's entry screens are `EntryScene`. A product page never stands on a scene.",
1762
1762
  behaviour: "`join` puts the words in the hexagon's middle, `loading` draws the orbs in with no words, `still` shows no Agent and no work. Only the orbs and the particles move; reduced motion stops both. Black in every theme. The scene sets the width its words are drawn at on itself as `--hive-words-width`, so the app's picture keeps clear of them, and draws no honeycomb near them.",
@@ -653,41 +653,36 @@
653
653
  }
654
654
 
655
655
  /*
656
- * Alveare's own logo at the upper left, where Nadia's and the Portal's entry
657
- * screens put the nadicode wordmark, at the wordmark's height and inset. The
658
- * icon's tile is 824 of its 1024 units; the image box is sized so the tile,
659
- * not the file's margin, takes the wordmark's height. An app with window
660
- * controls over the scene sets `--hive-chrome-clearance` to their height, which
661
- * the narrow inset clears.
656
+ * Alveare's own mark at the upper left, where Nadia's and the Portal's entry
657
+ * screens put the nadicode wordmark, at the wordmark's height and inset: the
658
+ * ribbon alone, since the icon's black tile would vanish into the black scene
659
+ * and leave the ribbon a third of the height. An app with window controls over
660
+ * the scene sets `--hive-chrome-clearance` to their height, which the narrow
661
+ * inset clears.
662
662
  */
663
663
  .nc-hive-logo {
664
- --hive-logo-tile: 24px;
664
+ --hive-logo-height: 24px;
665
665
  --hive-logo-inset: var(--nc-lg);
666
- --hive-logo-box: calc(var(--hive-logo-tile) * 1024 / 824);
667
- --hive-logo-margin: calc(var(--hive-logo-box) * 100 / 1024);
668
666
  position: absolute;
669
667
  z-index: 2;
670
- top: calc(
671
- max(var(--hive-logo-inset), var(--hive-chrome-clearance, 0px)) -
672
- var(--hive-logo-margin)
673
- );
674
- left: calc(var(--hive-logo-inset) - var(--hive-logo-margin));
675
- width: var(--hive-logo-box);
676
- height: var(--hive-logo-box);
668
+ top: max(var(--hive-logo-inset), var(--hive-chrome-clearance, 0px));
669
+ left: var(--hive-logo-inset);
670
+ width: auto;
671
+ height: var(--hive-logo-height);
677
672
  pointer-events: none;
678
673
  user-select: none;
679
674
  }
680
675
 
681
676
  @media (min-width: 640px) {
682
677
  .nc-hive-logo {
683
- --hive-logo-tile: 32px;
678
+ --hive-logo-height: 32px;
684
679
  }
685
680
  }
686
681
 
687
682
  @media (min-width: 768px) {
688
683
  .nc-hive-logo {
689
684
  --hive-logo-inset: var(--nc-2xl);
690
- top: calc(var(--hive-logo-inset) - var(--hive-logo-margin));
685
+ top: var(--hive-logo-inset);
691
686
  }
692
687
  }
693
688
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nadicodeai/ui",
3
- "version": "12.1.164",
3
+ "version": "12.1.165",
4
4
  "type": "module",
5
5
  "publishConfig": {
6
6
  "access": "public"
@@ -84,7 +84,7 @@
84
84
  "@base-ui/react": "^1.9.0",
85
85
  "@iconify-icons/logos": "^2.0.3",
86
86
  "@iconify/react": "^6.0.2",
87
- "@nadicodeai/design-system": "12.1.164",
87
+ "@nadicodeai/design-system": "12.1.165",
88
88
  "@tanstack/react-table": "^9.3.1",
89
89
  "@vgpu/wgsl": "0.6.0",
90
90
  "class-variance-authority": "^0.7.1",