kaabalah 6.6.1 → 6.6.3

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/README.md CHANGED
@@ -31,7 +31,7 @@ All modules are tree-shakable and can be imported independently:
31
31
  | Tarot | `kaabalah/tarot` | 78-card deck with profiles, archetypes, correspondences, multi-deck images, spread engine |
32
32
  | Ifa | `kaabalah/ifa` | Odu divination |
33
33
  | Semantic | `kaabalah/semantic` | Theme profiles, kaabalistic overlay correspondences, symbol metadata |
34
- | Visual | `kaabalah/visual` | Tree of Life SVG generation and layout data |
34
+ | Visual | `kaabalah/visual` | Tree of Life and astrology wheel SVG generation plus layout/render-model data |
35
35
 
36
36
  ## Quick Example
37
37
 
@@ -40,7 +40,7 @@ import { createTree, id, KaabalahTypes } from 'kaabalah/core';
40
40
  import { getBirthChart } from 'kaabalah/astrology';
41
41
  import { calculateKaabalisticLifePath } from 'kaabalah/numerology';
42
42
  import { getTarotCorrespondenceProfile } from 'kaabalah/tarot';
43
- import { generateTreeSvg } from 'kaabalah/visual';
43
+ import { generateAstroWheelSvg, generateTreeSvg } from 'kaabalah/visual';
44
44
 
45
45
  const tree = createTree({ system: 'kaabalah', parts: ['westernAstrology', 'tarot'] });
46
46
  const correspondences = tree.getCorrespondences(id(KaabalahTypes.SPHERE, 'Tiphareth'), { depth: 2 });
@@ -53,6 +53,7 @@ const chart = await getBirthChart({
53
53
  const lifePath = calculateKaabalisticLifePath(new Date('1990-06-15'));
54
54
  const magician = getTarotCorrespondenceProfile({ tarotCardName: 'The Magician' });
55
55
  const svg = generateTreeSvg({ background: 'transparent', palette: 'monochrome' });
56
+ const wheelSvg = generateAstroWheelSvg(chart, { background: 'transparent' });
56
57
  ```
57
58
 
58
59
  ## CLI
@@ -62,10 +63,11 @@ npx kaabalah help # list all commands
62
63
  npx kaabalah help --json # full schema introspection
63
64
  npx kaabalah numerology 1990-01-15 --json --compact
64
65
  npx kaabalah astrology 1990-01-15 14:30 --lat=40.71 --lon=-74 --json
66
+ npx kaabalah astrology:wheel 1990-01-15 14:30 --lat=40.71 --lon=-74 --json --compact --fields=svg
65
67
  npx kaabalah tree:node "tarotArkAnnu:The Magician" --depth=2 --json
66
68
  ```
67
69
 
68
- 27 commands covering all modules. See the [CLI Reference](https://docs.kaabalah.com/getting-started/cli/) for the full list.
70
+ 28 commands covering all modules. See the [CLI Reference](https://docs.kaabalah.com/getting-started/cli/) for the full list.
69
71
 
70
72
  ## Support
71
73
 
@@ -1573,7 +1573,7 @@ function resolvePalette(palette = "default", background = "transparent") {
1573
1573
  };
1574
1574
  }
1575
1575
  function defaultGlyphHalo(background) {
1576
- return background === "transparent" ? "#0a1628" : background;
1576
+ return background === "transparent" ? "#fff" : background;
1577
1577
  }
1578
1578
  function clonePalette(palette) {
1579
1579
  return {
@@ -2731,5 +2731,5 @@ function escapeAttr2(value) {
2731
2731
  }
2732
2732
 
2733
2733
  export { ANGLE_GLYPHS, ANGLE_GLYPH_PRIMITIVES, ASPECT_GLYPHS, ASPECT_GLYPH_PRIMITIVES, ASTRO_GLYPHS, ASTRO_WHEEL_DEFAULT_ASPECT_SPECS, ASTRO_WHEEL_DEFAULT_VIEWBOX, ASTRO_WHEEL_POINT_GLYPHS, ASTRO_WHEEL_ZODIAC_SIGNS, PLANET_GLYPHS, PLANET_GLYPH_PRIMITIVES, TREE_PATH_IDS, TREE_SPHERE_IDS, TREE_SPHERE_NAMES, TREE_SVG_DEFAULT_VIEWBOX, ZODIAC_GLYPHS, ZODIAC_GLYPH_PRIMITIVES, generateAstroGlyphSvg, generateAstroWheelSvg, generateGlyphSvg, generateTreeSvg, getAstroGlyph, getAstroWheelRenderModel, getTreeLayout, getTreeRenderModel, listAstroGlyphs };
2734
- //# sourceMappingURL=chunk-2FRLTA5B.mjs.map
2735
- //# sourceMappingURL=chunk-2FRLTA5B.mjs.map
2734
+ //# sourceMappingURL=chunk-N4I74YCP.mjs.map
2735
+ //# sourceMappingURL=chunk-N4I74YCP.mjs.map