@orangecheck/design 0.30.1 → 0.31.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/dist/tokens.d.mts CHANGED
@@ -90,7 +90,7 @@ declare function normalizeHue(c: OcSceneRGB, isDark: boolean): OcSceneRGB;
90
90
  declare function readOcSceneTokens(host: HTMLElement): OcSceneTokens | null;
91
91
  declare function subscribeOcTheme(cb: () => void): () => void;
92
92
 
93
- type OcGlyphSlug = 'orangecheck' | 'attest' | 'docs' | 'me' | 'vault' | 'fleet' | 'chat' | 'cosign' | 'lock' | 'vote' | 'stamp' | 'agent' | 'pledge' | 'analytics' | 'btc' | 'globe';
93
+ type OcGlyphSlug = 'orangecheck' | 'attest' | 'docs' | 'me' | 'vault' | 'chat' | 'cosign' | 'lock' | 'vote' | 'stamp' | 'agent' | 'pledge' | 'analytics' | 'btc' | 'globe';
94
94
  declare const OC_GLYPH_CANVAS = 1024;
95
95
  declare const OC_GLYPHS: Record<OcGlyphSlug, string>;
96
96
 
package/dist/tokens.d.ts CHANGED
@@ -90,7 +90,7 @@ declare function normalizeHue(c: OcSceneRGB, isDark: boolean): OcSceneRGB;
90
90
  declare function readOcSceneTokens(host: HTMLElement): OcSceneTokens | null;
91
91
  declare function subscribeOcTheme(cb: () => void): () => void;
92
92
 
93
- type OcGlyphSlug = 'orangecheck' | 'attest' | 'docs' | 'me' | 'vault' | 'fleet' | 'chat' | 'cosign' | 'lock' | 'vote' | 'stamp' | 'agent' | 'pledge' | 'analytics' | 'btc' | 'globe';
93
+ type OcGlyphSlug = 'orangecheck' | 'attest' | 'docs' | 'me' | 'vault' | 'chat' | 'cosign' | 'lock' | 'vote' | 'stamp' | 'agent' | 'pledge' | 'analytics' | 'btc' | 'globe';
94
94
  declare const OC_GLYPH_CANVAS = 1024;
95
95
  declare const OC_GLYPHS: Record<OcGlyphSlug, string>;
96
96
 
package/dist/tokens.js CHANGED
@@ -944,7 +944,6 @@ var OC_GLYPHS = {
944
944
  docs: `<g transform="scale(42.666667 42.666667)"><rect x="3" y="3" width="18" height="18" fill="none"/><rect x="6" y="6" width="12" height="12" fill="none" stroke="__INK__" stroke-width="1.5"/><rect x="8" y="9" width="8" height="1.25" fill="__INK__"/><rect x="8" y="11.5" width="8" height="1.25" fill="__INK__"/><rect x="8" y="14" width="5" height="1.25" fill="__INK__"/></g>`,
945
945
  me: `<g transform="scale(42.666667 42.666667)"><rect x="3" y="3" width="18" height="18" fill="none"/><rect x="6" y="6" width="12" height="12" fill="none" stroke="__INK__" stroke-width="1.5"/><circle cx="12" cy="11" r="2" fill="__INK__"/><path d="M8 16.5 C 8 14.5, 9.5 13.5, 12 13.5 C 14.5 13.5, 16 14.5, 16 16.5" fill="none" stroke="__INK__" stroke-width="1.5" stroke-linecap="square"/></g>`,
946
946
  vault: `<g transform="scale(42.666667 42.666667)"><path d="M8 9 L8 6.5 Q8 3.5 12 3.5 Q16 3.5 16 6.5 L16 9" fill="none" stroke="__INK__" stroke-width="2" stroke-linecap="square"/><rect x="4" y="9" width="16" height="12" fill="none" stroke="__INK__" stroke-width="0.75"/><circle cx="12" cy="14.5" r="2.75" fill="none" stroke="__INK__" stroke-width="1.5"/><rect x="11.4" y="14.5" width="1.2" height="3.25" fill="__INK__"/><rect x="5.5" y="19" width="2.25" height="1.5" fill="__INK__"/><rect x="16.25" y="19" width="2.25" height="1.5" fill="__INK__"/></g>`,
947
- fleet: `<g transform="scale(42.666667 42.666667)"><rect x="3" y="3" width="18" height="18" fill="none"/><rect x="6" y="6" width="12" height="12" fill="none" stroke="__INK__" stroke-width="1.5"/><path d="M8.5 9.5 L11 12 L8.5 14.5" fill="none" stroke="__INK__" stroke-width="1.6" stroke-linejoin="miter" stroke-linecap="square"/><rect x="12" y="14" width="4" height="1.4" fill="__INK__"/></g>`,
948
947
  chat: `<g transform="scale(42.666667 42.666667)"><path d="M5 4 H19 A2 2 0 0 1 21 6 V13 A2 2 0 0 1 19 15 H11 L7 19 V15 H5 A2 2 0 0 1 3 13 V6 A2 2 0 0 1 5 4 Z" fill="none" stroke="__INK__" stroke-width="1.6" stroke-linejoin="round"/><circle cx="8" cy="9.5" r="1.15" fill="__INK__"/><circle cx="12" cy="9.5" r="1.15" fill="__INK__"/><circle cx="16" cy="9.5" r="1.15" fill="__INK__"/></g>`,
949
948
  cosign: `<g transform="scale(42.666667 42.666667)"><rect x="3" y="3" width="18" height="18" fill="none"/><rect x="6" y="6" width="12" height="12" fill="none" stroke="__INK__" stroke-width="1.5"/><circle cx="9.2" cy="10.4" r="1.65" fill="__INK__"/><circle cx="14.8" cy="10.4" r="1.65" fill="__INK__"/><path d="M6.5 16.6 C 6.5 14.9, 7.6 14.1, 9.2 14.1 C 10.8 14.1, 11.9 14.9, 11.9 16.6" fill="none" stroke="__INK__" stroke-width="1.5" stroke-linecap="square"/><path d="M12.1 16.6 C 12.1 14.9, 13.2 14.1, 14.8 14.1 C 16.4 14.1, 17.5 14.9, 17.5 16.6" fill="none" stroke="__INK__" stroke-width="1.5" stroke-linecap="square"/></g>`,
950
949
  lock: `<g transform="scale(42.666667 42.666667)"><path d="M7 11V7.5a5 5 0 0 1 10 0V11" fill="none" stroke="__INK__" stroke-width="2" stroke-linecap="square"/><rect x="4" y="11" width="16" height="10" fill="none" stroke="__INK__" stroke-width="0.75"/><rect x="11" y="14" width="2" height="4" fill="__INK__"/><rect x="10.25" y="14" width="3.5" height="1.5" fill="__INK__"/></g>`,
@@ -976,7 +975,7 @@ function layerStyle(i, relief) {
976
975
  }
977
976
  return { transform: `translateZ(${(-Math.pow(t, 1.4) * relief).toFixed(1)}px)`, color };
978
977
  }
979
- var TILE = /* @__PURE__ */ new Set(["stamp", "pledge", "cosign", "me", "fleet", "docs"]);
978
+ var TILE = /* @__PURE__ */ new Set(["stamp", "pledge", "cosign", "me", "docs"]);
980
979
  var FOCUS = {
981
980
  stamp: "translate(512 512) scale(1.5) translate(-512 -512)",
982
981
  // anchor-cross
@@ -986,8 +985,6 @@ var FOCUS = {
986
985
  // two figures
987
986
  me: "translate(512 512) scale(1.45) translate(-512 -544)",
988
987
  // bust, recentered down
989
- fleet: "translate(512 512) scale(1.5) translate(-512 -512)",
990
- // play + bar
991
988
  docs: "translate(512 512) scale(1.4) translate(-512 -512)",
992
989
  // text lines
993
990
  vote: "translate(512 512) scale(0.92) translate(-512 -542)",
@@ -1018,7 +1015,6 @@ var SEED = {
1018
1015
  cosign: [1, -3],
1019
1016
  vault: [4, 1],
1020
1017
  me: [-3, 2],
1021
- fleet: [7, -2],
1022
1018
  docs: [0, 0],
1023
1019
  analytics: [-5, 1],
1024
1020
  btc: [4, 3],