@roxyapi/ui 1.1.3 → 1.3.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.
Files changed (531) hide show
  1. package/AGENTS.md +39 -1
  2. package/README.md +82 -1
  3. package/THEMING.md +34 -13
  4. package/components-catalog.json +1 -11247
  5. package/dist/cdn/components/almanac-day.js +3 -4
  6. package/dist/cdn/components/angel-number-card.js +3 -4
  7. package/dist/cdn/components/angel-number-lookup.js +3 -4
  8. package/dist/cdn/components/arudha-padas.js +3 -4
  9. package/dist/cdn/components/ashtakavarga-grid.js +3 -4
  10. package/dist/cdn/components/aspects-table.js +3 -4
  11. package/dist/cdn/components/astrocartography-map.js +9 -10
  12. package/dist/cdn/components/bazi-chart.js +3 -4
  13. package/dist/cdn/components/bhav-chalit-table.js +3 -4
  14. package/dist/cdn/components/bhava-bala-table.js +3 -4
  15. package/dist/cdn/components/biorhythm-chart.js +3 -4
  16. package/dist/cdn/components/bodygraph.js +14 -13
  17. package/dist/cdn/components/chara-karakas.js +3 -4
  18. package/dist/cdn/components/choghadiya-grid.js +3 -4
  19. package/dist/cdn/components/compatibility-card.js +3 -4
  20. package/dist/cdn/components/compound-number.js +3 -4
  21. package/dist/cdn/components/crystal-card.js +3 -4
  22. package/dist/cdn/components/crystal-grid.js +3 -4
  23. package/dist/cdn/components/dasha-timeline.js +3 -4
  24. package/dist/cdn/components/data.js +3 -4
  25. package/dist/cdn/components/divisional-chart.js +50 -49
  26. package/dist/cdn/components/dosha-card.js +3 -4
  27. package/dist/cdn/components/dosha-constitution.js +3 -4
  28. package/dist/cdn/components/dream-card.js +3 -4
  29. package/dist/cdn/components/dream-search.js +3 -4
  30. package/dist/cdn/components/endpoint-form.js +3 -4
  31. package/dist/cdn/components/ephemeris-table.js +3 -4
  32. package/dist/cdn/components/fixed-stars.js +3 -4
  33. package/dist/cdn/components/flying-star-chart.js +3 -4
  34. package/dist/cdn/components/forecast-digest.js +3 -4
  35. package/dist/cdn/components/forecast-timeline.js +3 -4
  36. package/dist/cdn/components/gematria.js +3 -4
  37. package/dist/cdn/components/gochara-table.js +3 -4
  38. package/dist/cdn/components/guna-milan.js +3 -4
  39. package/dist/cdn/components/hd-connection.js +13 -12
  40. package/dist/cdn/components/hd-penta.js +18 -19
  41. package/dist/cdn/components/hd-type-card.js +3 -4
  42. package/dist/cdn/components/hd-variables.js +3 -4
  43. package/dist/cdn/components/heliacal-table.js +3 -4
  44. package/dist/cdn/components/hexagram.js +3 -4
  45. package/dist/cdn/components/hora-table.js +3 -4
  46. package/dist/cdn/components/horoscope-card.js +3 -4
  47. package/dist/cdn/components/kp-chart.js +3 -4
  48. package/dist/cdn/components/kp-finance-card.js +3 -4
  49. package/dist/cdn/components/kp-planets-table.js +3 -4
  50. package/dist/cdn/components/kp-ruling-planets.js +3 -4
  51. package/dist/cdn/components/kua-card.js +3 -4
  52. package/dist/cdn/components/local-space-compass.js +6 -7
  53. package/dist/cdn/components/location-search.js +3 -4
  54. package/dist/cdn/components/luck-pillars.js +3 -4
  55. package/dist/cdn/components/mayan-day-sign.js +3 -4
  56. package/dist/cdn/components/moon-phase.js +3 -4
  57. package/dist/cdn/components/nakshatra-card.js +3 -4
  58. package/dist/cdn/components/natal-chart.js +24 -14
  59. package/dist/cdn/components/numerology-card.js +3 -4
  60. package/dist/cdn/components/panchang-table.js +3 -4
  61. package/dist/cdn/components/positions-table.js +3 -4
  62. package/dist/cdn/components/profection-card.js +3 -4
  63. package/dist/cdn/components/reference-card.js +3 -4
  64. package/dist/cdn/components/relocation-wheel.js +24 -14
  65. package/dist/cdn/components/report.js +50 -0
  66. package/dist/cdn/components/shadbala-table.js +3 -4
  67. package/dist/cdn/components/synastry-chart.js +21 -12
  68. package/dist/cdn/components/tarot-card.js +3 -4
  69. package/dist/cdn/components/tarot-catalog.js +3 -4
  70. package/dist/cdn/components/tarot-spread.js +3 -4
  71. package/dist/cdn/components/transit-wheel.js +10 -11
  72. package/dist/cdn/components/transits-table.js +3 -4
  73. package/dist/cdn/components/upagraha-table.js +3 -4
  74. package/dist/cdn/components/vastu-mandala.js +9 -10
  75. package/dist/cdn/components/vedic-aspects.js +3 -4
  76. package/dist/cdn/components/vedic-daily.js +3 -4
  77. package/dist/cdn/components/vedic-kundli.js +49 -48
  78. package/dist/cdn/components/vedic-planets-table.js +3 -4
  79. package/dist/cdn/components/western-planets-table.js +3 -4
  80. package/dist/cdn/components/yoga-list.js +3 -4
  81. package/dist/cdn/components/zodiac-card.js +3 -4
  82. package/dist/cdn/locales/de.js +1 -1
  83. package/dist/cdn/locales/es.js +1 -1
  84. package/dist/cdn/locales/fr.js +1 -1
  85. package/dist/cdn/locales/hi.js +1 -1
  86. package/dist/cdn/locales/pt.js +1 -1
  87. package/dist/cdn/locales/ru.js +1 -1
  88. package/dist/cdn/locales/tr.js +1 -1
  89. package/dist/cdn/roxy-ui.js +113 -96
  90. package/dist/cdn/widgets.js +1 -1
  91. package/dist/charts.cjs +111 -0
  92. package/dist/charts.d.ts +8 -0
  93. package/dist/charts.js +111 -0
  94. package/dist/components/almanac-day.js +1 -1
  95. package/dist/components/angel-number-card.js +1 -1
  96. package/dist/components/angel-number-lookup.js +1 -1
  97. package/dist/components/arudha-padas.js +1 -1
  98. package/dist/components/ashtakavarga-grid.js +1 -1
  99. package/dist/components/aspects-table.js +1 -1
  100. package/dist/components/astrocartography-map.js +5 -5
  101. package/dist/components/bazi-chart.js +1 -1
  102. package/dist/components/bhav-chalit-table.js +1 -1
  103. package/dist/components/bhava-bala-table.js +1 -1
  104. package/dist/components/biorhythm-chart.js +1 -1
  105. package/dist/components/bodygraph.d.ts +0 -4
  106. package/dist/components/bodygraph.js +10 -10
  107. package/dist/components/chara-karakas.js +1 -1
  108. package/dist/components/choghadiya-grid.js +1 -1
  109. package/dist/components/compatibility-card.js +1 -1
  110. package/dist/components/compound-number.js +1 -1
  111. package/dist/components/crystal-card.js +1 -1
  112. package/dist/components/crystal-grid.js +1 -1
  113. package/dist/components/dasha-timeline.js +1 -1
  114. package/dist/components/data.js +1 -1
  115. package/dist/components/divisional-chart.js +60 -60
  116. package/dist/components/dosha-card.js +1 -1
  117. package/dist/components/dosha-constitution.js +1 -1
  118. package/dist/components/dream-card.js +1 -1
  119. package/dist/components/dream-search.js +1 -1
  120. package/dist/components/endpoint-form.d.ts +3 -1
  121. package/dist/components/endpoint-form.js +1 -1
  122. package/dist/components/ephemeris-table.js +1 -1
  123. package/dist/components/fixed-stars.js +1 -1
  124. package/dist/components/flying-star-chart.js +1 -1
  125. package/dist/components/forecast-digest.js +1 -1
  126. package/dist/components/forecast-timeline.js +1 -1
  127. package/dist/components/gematria.js +1 -1
  128. package/dist/components/gochara-table.js +1 -1
  129. package/dist/components/guna-milan.js +1 -1
  130. package/dist/components/hd-connection.js +10 -10
  131. package/dist/components/hd-penta.js +16 -16
  132. package/dist/components/hd-type-card.js +1 -1
  133. package/dist/components/hd-variables.js +1 -1
  134. package/dist/components/heliacal-table.js +1 -1
  135. package/dist/components/hexagram.js +1 -1
  136. package/dist/components/hora-table.js +1 -1
  137. package/dist/components/horoscope-card.js +1 -1
  138. package/dist/components/kp-chart.js +1 -1
  139. package/dist/components/kp-finance-card.js +1 -1
  140. package/dist/components/kp-planets-table.js +1 -1
  141. package/dist/components/kp-ruling-planets.js +1 -1
  142. package/dist/components/kua-card.js +1 -1
  143. package/dist/components/local-space-compass.js +5 -5
  144. package/dist/components/location-search.d.ts +1 -0
  145. package/dist/components/location-search.js +1 -1
  146. package/dist/components/luck-pillars.js +1 -1
  147. package/dist/components/mayan-day-sign.js +1 -1
  148. package/dist/components/moon-phase.js +1 -1
  149. package/dist/components/nakshatra-card.js +1 -1
  150. package/dist/components/natal-chart.d.ts +3 -82
  151. package/dist/components/natal-chart.js +20 -11
  152. package/dist/components/numerology-card.js +1 -1
  153. package/dist/components/panchang-table.js +1 -1
  154. package/dist/components/positions-table.js +1 -1
  155. package/dist/components/profection-card.js +1 -1
  156. package/dist/components/reference-card.js +1 -1
  157. package/dist/components/relocation-wheel.js +20 -11
  158. package/dist/components/report.d.ts +61 -0
  159. package/dist/components/report.js +1 -0
  160. package/dist/components/shadbala-table.js +1 -1
  161. package/dist/components/synastry-chart.d.ts +2 -34
  162. package/dist/components/synastry-chart.js +17 -9
  163. package/dist/components/tarot-card.js +1 -1
  164. package/dist/components/tarot-catalog.js +1 -1
  165. package/dist/components/tarot-spread.js +1 -1
  166. package/dist/components/transit-wheel.js +7 -7
  167. package/dist/components/transits-table.js +1 -1
  168. package/dist/components/upagraha-table.js +1 -1
  169. package/dist/components/vastu-mandala.js +9 -9
  170. package/dist/components/vedic-aspects.js +1 -1
  171. package/dist/components/vedic-daily.js +1 -1
  172. package/dist/components/vedic-kundli.js +54 -54
  173. package/dist/components/vedic-planets-table.js +1 -1
  174. package/dist/components/western-planets-table.js +1 -1
  175. package/dist/components/yoga-list.js +1 -1
  176. package/dist/components/zodiac-card.js +1 -1
  177. package/dist/forms/labels/de.json +1 -1
  178. package/dist/forms/labels/en.json +1 -1
  179. package/dist/forms/labels/es.json +1 -1
  180. package/dist/forms/labels/fr.json +1 -1
  181. package/dist/forms/labels/hi.json +1 -1
  182. package/dist/forms/labels/pt.json +1 -1
  183. package/dist/forms/labels/ru.json +1 -1
  184. package/dist/forms/labels/tr.json +1 -1
  185. package/dist/forms.json +1 -1
  186. package/dist/generated/endpoint-defaults.d.ts +1 -0
  187. package/dist/generated/field-labels-en.d.ts +1 -1
  188. package/dist/i18n/chrome-strings.d.ts +1 -1
  189. package/dist/i18n/lang.d.ts +3 -1
  190. package/dist/i18n/localized-element.d.ts +4 -0
  191. package/dist/i18n/registry.d.ts +7 -0
  192. package/dist/index.cjs +111 -94
  193. package/dist/index.d.ts +1 -0
  194. package/dist/index.js +111 -94
  195. package/dist/locales/de.js +1 -1
  196. package/dist/locales/es.js +1 -1
  197. package/dist/locales/field-labels/de.d.ts +1 -1
  198. package/dist/locales/field-labels/es.d.ts +1 -1
  199. package/dist/locales/field-labels/fr.d.ts +1 -1
  200. package/dist/locales/field-labels/hi.d.ts +1 -1
  201. package/dist/locales/field-labels/pt.d.ts +1 -1
  202. package/dist/locales/field-labels/ru.d.ts +1 -1
  203. package/dist/locales/field-labels/tr.d.ts +1 -1
  204. package/dist/locales/fr.js +1 -1
  205. package/dist/locales/hi.js +1 -1
  206. package/dist/locales/pt.js +1 -1
  207. package/dist/locales/ru.js +1 -1
  208. package/dist/locales/tr.js +1 -1
  209. package/dist/manifest.d.ts +3 -5
  210. package/dist/manifest.json +1 -89
  211. package/dist/schemas/get--angel-numbers-lookup.json +1 -1
  212. package/dist/schemas/get--angel-numbers-numbers-number.json +1 -1
  213. package/dist/schemas/get--angel-numbers-numbers.json +1 -1
  214. package/dist/schemas/get--astrology-horoscope-sign-daily.json +1 -1
  215. package/dist/schemas/get--astrology-horoscope-sign-monthly.json +1 -1
  216. package/dist/schemas/get--astrology-horoscope-sign-weekly.json +1 -1
  217. package/dist/schemas/get--astrology-horoscope-sign-yearly.json +1 -1
  218. package/dist/schemas/get--astrology-moon-phase-calendar-year-month.json +1 -1
  219. package/dist/schemas/get--astrology-moon-phase-current.json +1 -1
  220. package/dist/schemas/get--astrology-moon-phase-upcoming.json +1 -1
  221. package/dist/schemas/get--astrology-planet-meanings-id.json +1 -1
  222. package/dist/schemas/get--astrology-planet-meanings.json +1 -1
  223. package/dist/schemas/get--astrology-signs-id.json +1 -1
  224. package/dist/schemas/get--astrology-signs.json +1 -1
  225. package/dist/schemas/get--ayurveda-daily.json +1 -1
  226. package/dist/schemas/get--ayurveda-doshas-id.json +1 -1
  227. package/dist/schemas/get--ayurveda-doshas.json +1 -1
  228. package/dist/schemas/get--ayurveda-qualities.json +1 -1
  229. package/dist/schemas/get--ayurveda-tastes.json +1 -1
  230. package/dist/schemas/get--chinese-astrology-calendar-day-date.json +1 -1
  231. package/dist/schemas/get--chinese-astrology-calendar-monthly.json +1 -1
  232. package/dist/schemas/get--chinese-astrology-calendar-solar-terms-year.json +1 -1
  233. package/dist/schemas/get--chinese-astrology-elements.json +1 -1
  234. package/dist/schemas/get--chinese-astrology-zodiac-animals-id.json +1 -1
  235. package/dist/schemas/get--chinese-astrology-zodiac-animals.json +1 -1
  236. package/dist/schemas/get--chinese-astrology-zodiac-compatibility-sign1-sign2.json +1 -1
  237. package/dist/schemas/get--chinese-astrology-zodiac-id-daily.json +1 -1
  238. package/dist/schemas/get--crystals-birthstone-month.json +1 -1
  239. package/dist/schemas/get--crystals-chakra-chakra.json +1 -1
  240. package/dist/schemas/get--crystals-colors.json +1 -1
  241. package/dist/schemas/get--crystals-element-element.json +1 -1
  242. package/dist/schemas/get--crystals-id.json +1 -1
  243. package/dist/schemas/get--crystals-pairings-id.json +1 -1
  244. package/dist/schemas/get--crystals-planets.json +1 -1
  245. package/dist/schemas/get--crystals-random.json +1 -1
  246. package/dist/schemas/get--crystals-search.json +1 -1
  247. package/dist/schemas/get--crystals-zodiac-sign.json +1 -1
  248. package/dist/schemas/get--crystals.json +1 -1
  249. package/dist/schemas/get--dreams-symbols-id.json +1 -1
  250. package/dist/schemas/get--dreams-symbols-letters.json +1 -1
  251. package/dist/schemas/get--dreams-symbols-random.json +1 -1
  252. package/dist/schemas/get--dreams-symbols.json +1 -1
  253. package/dist/schemas/get--feng-shui-afflictions-year.json +1 -1
  254. package/dist/schemas/get--feng-shui-bagua-id.json +1 -1
  255. package/dist/schemas/get--feng-shui-bagua.json +1 -1
  256. package/dist/schemas/get--feng-shui-flying-stars-annual-year.json +1 -1
  257. package/dist/schemas/get--feng-shui-flying-stars-monthly.json +1 -1
  258. package/dist/schemas/get--feng-shui-flying-stars-stars.json +1 -1
  259. package/dist/schemas/get--feng-shui-kua-number.json +1 -1
  260. package/dist/schemas/get--feng-shui-periods.json +1 -1
  261. package/dist/schemas/get--human-design-centers-id.json +1 -1
  262. package/dist/schemas/get--human-design-gates-number.json +1 -1
  263. package/dist/schemas/get--iching-cast.json +1 -1
  264. package/dist/schemas/get--iching-hexagrams-lookup.json +1 -1
  265. package/dist/schemas/get--iching-hexagrams-number.json +1 -1
  266. package/dist/schemas/get--iching-hexagrams-random.json +1 -1
  267. package/dist/schemas/get--iching-hexagrams.json +1 -1
  268. package/dist/schemas/get--iching-trigrams-id.json +1 -1
  269. package/dist/schemas/get--iching-trigrams.json +1 -1
  270. package/dist/schemas/get--kabbalah-ciphers.json +1 -1
  271. package/dist/schemas/get--kabbalah-daily.json +1 -1
  272. package/dist/schemas/get--kabbalah-letters-id.json +1 -1
  273. package/dist/schemas/get--kabbalah-letters.json +1 -1
  274. package/dist/schemas/get--kabbalah-names-number.json +1 -1
  275. package/dist/schemas/get--kabbalah-names.json +1 -1
  276. package/dist/schemas/get--kabbalah-sephirot-id.json +1 -1
  277. package/dist/schemas/get--kabbalah-tree.json +1 -1
  278. package/dist/schemas/get--languages-field-labels.json +1 -1
  279. package/dist/schemas/get--languages.json +1 -1
  280. package/dist/schemas/get--location-countries-iso2.json +1 -1
  281. package/dist/schemas/get--location-countries.json +1 -1
  282. package/dist/schemas/get--location-search.json +1 -1
  283. package/dist/schemas/get--mesoamerican-astrology-aztec-daily.json +1 -1
  284. package/dist/schemas/get--mesoamerican-astrology-aztec-day-signs-id.json +1 -1
  285. package/dist/schemas/get--mesoamerican-astrology-aztec-day-signs.json +1 -1
  286. package/dist/schemas/get--mesoamerican-astrology-aztec-trecenas-number.json +1 -1
  287. package/dist/schemas/get--mesoamerican-astrology-aztec-trecenas.json +1 -1
  288. package/dist/schemas/get--mesoamerican-astrology-mayan-calendar-monthly.json +1 -1
  289. package/dist/schemas/get--mesoamerican-astrology-mayan-daily.json +1 -1
  290. package/dist/schemas/get--mesoamerican-astrology-mayan-day-signs-id.json +1 -1
  291. package/dist/schemas/get--mesoamerican-astrology-mayan-day-signs.json +1 -1
  292. package/dist/schemas/get--mesoamerican-astrology-mayan-haab-months-id.json +1 -1
  293. package/dist/schemas/get--mesoamerican-astrology-mayan-haab-months.json +1 -1
  294. package/dist/schemas/get--mesoamerican-astrology-mayan-trecenas-number.json +1 -1
  295. package/dist/schemas/get--mesoamerican-astrology-mayan-trecenas.json +1 -1
  296. package/dist/schemas/get--numerology-compound-number-number.json +1 -1
  297. package/dist/schemas/get--numerology-meanings-number.json +1 -1
  298. package/dist/schemas/get--tarot-cards-id.json +1 -1
  299. package/dist/schemas/get--tarot-cards.json +1 -1
  300. package/dist/schemas/get--usage.json +1 -1
  301. package/dist/schemas/get--vastu-devatas-id.json +1 -1
  302. package/dist/schemas/get--vastu-devatas.json +1 -1
  303. package/dist/schemas/get--vastu-directions-id.json +1 -1
  304. package/dist/schemas/get--vastu-directions.json +1 -1
  305. package/dist/schemas/get--vedic-astrology-avasthas-id.json +1 -1
  306. package/dist/schemas/get--vedic-astrology-avasthas.json +1 -1
  307. package/dist/schemas/get--vedic-astrology-kp-ayanamsa.json +1 -1
  308. package/dist/schemas/get--vedic-astrology-nakshatras-id.json +1 -1
  309. package/dist/schemas/get--vedic-astrology-nakshatras.json +1 -1
  310. package/dist/schemas/get--vedic-astrology-rashis-id.json +1 -1
  311. package/dist/schemas/get--vedic-astrology-rashis.json +1 -1
  312. package/dist/schemas/get--vedic-astrology-yoga-id.json +1 -1
  313. package/dist/schemas/get--vedic-astrology-yoga.json +1 -1
  314. package/dist/schemas/post--angel-numbers-daily.json +1 -1
  315. package/dist/schemas/post--astrology-arabic-lots.json +1 -1
  316. package/dist/schemas/post--astrology-aspect-patterns.json +1 -1
  317. package/dist/schemas/post--astrology-aspects-monthly.json +1 -1
  318. package/dist/schemas/post--astrology-aspects.json +1 -1
  319. package/dist/schemas/post--astrology-asteroids.json +1 -1
  320. package/dist/schemas/post--astrology-astrocartography.json +1 -1
  321. package/dist/schemas/post--astrology-compatibility-score.json +1 -1
  322. package/dist/schemas/post--astrology-composite-chart.json +1 -1
  323. package/dist/schemas/post--astrology-ecliptic-crossings.json +1 -1
  324. package/dist/schemas/post--astrology-fixed-stars.json +1 -1
  325. package/dist/schemas/post--astrology-houses.json +1 -1
  326. package/dist/schemas/post--astrology-lilith.json +1 -1
  327. package/dist/schemas/post--astrology-local-space.json +1 -1
  328. package/dist/schemas/post--astrology-lunar-return.json +1 -1
  329. package/dist/schemas/post--astrology-natal-chart.json +1 -1
  330. package/dist/schemas/post--astrology-parallels-monthly.json +1 -1
  331. package/dist/schemas/post--astrology-planetary-returns.json +1 -1
  332. package/dist/schemas/post--astrology-planets-monthly.json +1 -1
  333. package/dist/schemas/post--astrology-planets.json +1 -1
  334. package/dist/schemas/post--astrology-profections.json +1 -1
  335. package/dist/schemas/post--astrology-progressions.json +1 -1
  336. package/dist/schemas/post--astrology-relocation-chart.json +1 -1
  337. package/dist/schemas/post--astrology-solar-arc.json +1 -1
  338. package/dist/schemas/post--astrology-solar-return.json +1 -1
  339. package/dist/schemas/post--astrology-synastry.json +1 -1
  340. package/dist/schemas/post--astrology-transit-aspects.json +1 -1
  341. package/dist/schemas/post--astrology-transits-monthly.json +1 -1
  342. package/dist/schemas/post--astrology-transits.json +1 -1
  343. package/dist/schemas/post--ayurveda-constitution.json +1 -1
  344. package/dist/schemas/post--ayurveda-dinacharya.json +1 -1
  345. package/dist/schemas/post--ayurveda-ritucharya.json +1 -1
  346. package/dist/schemas/post--biorhythm-compatibility.json +1 -1
  347. package/dist/schemas/post--biorhythm-critical-days.json +1 -1
  348. package/dist/schemas/post--biorhythm-daily.json +1 -1
  349. package/dist/schemas/post--biorhythm-forecast.json +1 -1
  350. package/dist/schemas/post--biorhythm-phases.json +1 -1
  351. package/dist/schemas/post--biorhythm-reading.json +1 -1
  352. package/dist/schemas/post--chinese-astrology-bazi-annual-forecast.json +1 -1
  353. package/dist/schemas/post--chinese-astrology-bazi-chart.json +1 -1
  354. package/dist/schemas/post--chinese-astrology-bazi-compatibility.json +1 -1
  355. package/dist/schemas/post--chinese-astrology-bazi-day-master.json +1 -1
  356. package/dist/schemas/post--chinese-astrology-bazi-luck-pillars.json +1 -1
  357. package/dist/schemas/post--chinese-astrology-calendar-auspicious-days.json +1 -1
  358. package/dist/schemas/post--chinese-astrology-calendar-lunar-date.json +1 -1
  359. package/dist/schemas/post--chinese-astrology-zodiac-sign.json +1 -1
  360. package/dist/schemas/post--crystals-daily.json +1 -1
  361. package/dist/schemas/post--dreams-daily.json +1 -1
  362. package/dist/schemas/post--feng-shui-eight-mansions.json +1 -1
  363. package/dist/schemas/post--feng-shui-flying-stars-natal.json +1 -1
  364. package/dist/schemas/post--feng-shui-kua.json +1 -1
  365. package/dist/schemas/post--forecast-digest.json +1 -1
  366. package/dist/schemas/post--forecast-significant-dates.json +1 -1
  367. package/dist/schemas/post--forecast-solar-return.json +1 -1
  368. package/dist/schemas/post--forecast-timeline.json +1 -1
  369. package/dist/schemas/post--forecast-transits.json +1 -1
  370. package/dist/schemas/post--human-design-bodygraph.json +1 -1
  371. package/dist/schemas/post--human-design-centers.json +1 -1
  372. package/dist/schemas/post--human-design-channels.json +1 -1
  373. package/dist/schemas/post--human-design-connection.json +1 -1
  374. package/dist/schemas/post--human-design-gates.json +1 -1
  375. package/dist/schemas/post--human-design-penta.json +1 -1
  376. package/dist/schemas/post--human-design-profile.json +1 -1
  377. package/dist/schemas/post--human-design-transit.json +1 -1
  378. package/dist/schemas/post--human-design-type.json +1 -1
  379. package/dist/schemas/post--human-design-variables.json +1 -1
  380. package/dist/schemas/post--iching-daily-cast.json +1 -1
  381. package/dist/schemas/post--iching-daily.json +1 -1
  382. package/dist/schemas/post--kabbalah-birth-profile.json +1 -1
  383. package/dist/schemas/post--kabbalah-compatibility.json +1 -1
  384. package/dist/schemas/post--kabbalah-gematria.json +1 -1
  385. package/dist/schemas/post--kabbalah-name-profile.json +1 -1
  386. package/dist/schemas/post--mesoamerican-astrology-aztec-tonalpohualli.json +1 -1
  387. package/dist/schemas/post--mesoamerican-astrology-mayan-chart.json +1 -1
  388. package/dist/schemas/post--mesoamerican-astrology-mayan-compatibility.json +1 -1
  389. package/dist/schemas/post--mesoamerican-astrology-mayan-long-count-convert.json +1 -1
  390. package/dist/schemas/post--mesoamerican-astrology-mayan-tzolkin.json +1 -1
  391. package/dist/schemas/post--numerology-birth-day.json +1 -1
  392. package/dist/schemas/post--numerology-bridge.json +1 -1
  393. package/dist/schemas/post--numerology-business-name.json +1 -1
  394. package/dist/schemas/post--numerology-chaldean.json +1 -1
  395. package/dist/schemas/post--numerology-chart.json +1 -1
  396. package/dist/schemas/post--numerology-compatibility.json +1 -1
  397. package/dist/schemas/post--numerology-daily.json +1 -1
  398. package/dist/schemas/post--numerology-dual.json +1 -1
  399. package/dist/schemas/post--numerology-expression.json +1 -1
  400. package/dist/schemas/post--numerology-karmic-debt.json +1 -1
  401. package/dist/schemas/post--numerology-karmic-lessons.json +1 -1
  402. package/dist/schemas/post--numerology-life-path.json +1 -1
  403. package/dist/schemas/post--numerology-maturity.json +1 -1
  404. package/dist/schemas/post--numerology-personal-day.json +1 -1
  405. package/dist/schemas/post--numerology-personal-month.json +1 -1
  406. package/dist/schemas/post--numerology-personal-year.json +1 -1
  407. package/dist/schemas/post--numerology-personality.json +1 -1
  408. package/dist/schemas/post--numerology-soul-urge.json +1 -1
  409. package/dist/schemas/post--reports-bazi.json +1 -0
  410. package/dist/schemas/post--reports-human-design.json +1 -0
  411. package/dist/schemas/post--reports-kundli.json +1 -0
  412. package/dist/schemas/post--reports-matchmaking.json +1 -0
  413. package/dist/schemas/post--reports-natal.json +1 -0
  414. package/dist/schemas/post--reports-numerology.json +1 -0
  415. package/dist/schemas/post--reports-synastry.json +1 -0
  416. package/dist/schemas/post--reports-tarot.json +1 -0
  417. package/dist/schemas/post--reports-yearly-forecast.json +1 -0
  418. package/dist/schemas/post--tarot-daily.json +1 -1
  419. package/dist/schemas/post--tarot-draw.json +1 -1
  420. package/dist/schemas/post--tarot-spreads-career.json +1 -1
  421. package/dist/schemas/post--tarot-spreads-celtic-cross.json +1 -1
  422. package/dist/schemas/post--tarot-spreads-custom.json +1 -1
  423. package/dist/schemas/post--tarot-spreads-love.json +1 -1
  424. package/dist/schemas/post--tarot-spreads-three-card.json +1 -1
  425. package/dist/schemas/post--tarot-yes-no.json +1 -1
  426. package/dist/schemas/post--vastu-ayadi.json +1 -1
  427. package/dist/schemas/post--vastu-entrance.json +1 -1
  428. package/dist/schemas/post--vastu-mandala.json +1 -1
  429. package/dist/schemas/post--vastu-plot.json +1 -1
  430. package/dist/schemas/post--vastu-rooms.json +1 -1
  431. package/dist/schemas/post--vastu-timing-griha-pravesh.json +1 -1
  432. package/dist/schemas/post--vedic-astrology-arudha.json +1 -1
  433. package/dist/schemas/post--vedic-astrology-ashtakavarga.json +1 -1
  434. package/dist/schemas/post--vedic-astrology-aspects-lunar.json +1 -1
  435. package/dist/schemas/post--vedic-astrology-aspects-monthly.json +1 -1
  436. package/dist/schemas/post--vedic-astrology-aspects.json +1 -1
  437. package/dist/schemas/post--vedic-astrology-bhav-chalit.json +1 -1
  438. package/dist/schemas/post--vedic-astrology-bhava-bala.json +1 -1
  439. package/dist/schemas/post--vedic-astrology-birth-chart.json +1 -1
  440. package/dist/schemas/post--vedic-astrology-chara-karakas.json +1 -1
  441. package/dist/schemas/post--vedic-astrology-compatibility-dashakoot.json +1 -1
  442. package/dist/schemas/post--vedic-astrology-compatibility-papasamyam.json +1 -1
  443. package/dist/schemas/post--vedic-astrology-compatibility.json +1 -1
  444. package/dist/schemas/post--vedic-astrology-daily.json +1 -1
  445. package/dist/schemas/post--vedic-astrology-dasha-current.json +1 -1
  446. package/dist/schemas/post--vedic-astrology-dasha-major.json +1 -1
  447. package/dist/schemas/post--vedic-astrology-dasha-sub-mahadasha-antardasha-pratyantardasha-sookshma.json +1 -1
  448. package/dist/schemas/post--vedic-astrology-dasha-sub-mahadasha-antardasha-pratyantardasha.json +1 -1
  449. package/dist/schemas/post--vedic-astrology-dasha-sub-mahadasha-antardasha.json +1 -1
  450. package/dist/schemas/post--vedic-astrology-dasha-sub-mahadasha.json +1 -1
  451. package/dist/schemas/post--vedic-astrology-divisional-chart.json +1 -1
  452. package/dist/schemas/post--vedic-astrology-dosha-kalsarpa.json +1 -1
  453. package/dist/schemas/post--vedic-astrology-dosha-manglik.json +1 -1
  454. package/dist/schemas/post--vedic-astrology-dosha-sadhesati.json +1 -1
  455. package/dist/schemas/post--vedic-astrology-ecliptic-crossings.json +1 -1
  456. package/dist/schemas/post--vedic-astrology-heliacal.json +1 -1
  457. package/dist/schemas/post--vedic-astrology-kp-chart.json +1 -1
  458. package/dist/schemas/post--vedic-astrology-kp-cusps.json +1 -1
  459. package/dist/schemas/post--vedic-astrology-kp-daily-finance.json +1 -1
  460. package/dist/schemas/post--vedic-astrology-kp-horary.json +1 -1
  461. package/dist/schemas/post--vedic-astrology-kp-planets-interval.json +1 -1
  462. package/dist/schemas/post--vedic-astrology-kp-planets.json +1 -1
  463. package/dist/schemas/post--vedic-astrology-kp-rasi-changes.json +1 -1
  464. package/dist/schemas/post--vedic-astrology-kp-ruling-planets-interval.json +1 -1
  465. package/dist/schemas/post--vedic-astrology-kp-ruling-planets.json +1 -1
  466. package/dist/schemas/post--vedic-astrology-kp-sublord-changes.json +1 -1
  467. package/dist/schemas/post--vedic-astrology-navamsa.json +1 -1
  468. package/dist/schemas/post--vedic-astrology-panchang-basic.json +1 -1
  469. package/dist/schemas/post--vedic-astrology-panchang-choghadiya.json +1 -1
  470. package/dist/schemas/post--vedic-astrology-panchang-detailed.json +1 -1
  471. package/dist/schemas/post--vedic-astrology-panchang-hora.json +1 -1
  472. package/dist/schemas/post--vedic-astrology-parallels-monthly.json +1 -1
  473. package/dist/schemas/post--vedic-astrology-parallels.json +1 -1
  474. package/dist/schemas/post--vedic-astrology-planetary-positions-monthly.json +1 -1
  475. package/dist/schemas/post--vedic-astrology-planetary-positions.json +1 -1
  476. package/dist/schemas/post--vedic-astrology-shadbala.json +1 -1
  477. package/dist/schemas/post--vedic-astrology-transit-monthly.json +1 -1
  478. package/dist/schemas/post--vedic-astrology-transit.json +1 -1
  479. package/dist/schemas/post--vedic-astrology-upagraha.json +1 -1
  480. package/dist/schemas/post--vedic-astrology-yoga-detect.json +1 -1
  481. package/dist/styles/charts/bodygraph.css +1 -0
  482. package/dist/styles/charts/kundli.css +1 -0
  483. package/dist/styles/charts/natal-wheel.css +1 -0
  484. package/dist/styles/charts/synastry-wheel.css +1 -0
  485. package/dist/styles/fonts/fraunces-jost.css +1 -0
  486. package/dist/styles/fonts/geist/OFL.txt +93 -0
  487. package/dist/styles/fonts/geist/geist-cyrillic.woff2 +0 -0
  488. package/dist/styles/fonts/geist/geist-latin-ext.woff2 +0 -0
  489. package/dist/styles/fonts/geist/geist-latin.woff2 +0 -0
  490. package/dist/styles/fonts/geist.css +1 -0
  491. package/dist/styles/fonts/jost.css +1 -0
  492. package/dist/styles/fonts.d.ts +23 -0
  493. package/dist/styles/palette-names.d.ts +3 -0
  494. package/dist/styles/palettes.d.ts +6 -19
  495. package/dist/styles/themes/celeste.css +1 -1
  496. package/dist/styles/themes/eucalyptus.css +1 -1
  497. package/dist/styles/themes/kiln.css +1 -1
  498. package/dist/styles/themes/moonlit.css +1 -1
  499. package/dist/styles/themes/practitioner.css +1 -1
  500. package/dist/styles/tokens-css.d.ts +1 -1
  501. package/dist/styles/tokens.css +1 -1
  502. package/dist/tool-component.cjs +1 -1
  503. package/dist/tool-component.js +1 -1
  504. package/dist/types/index.d.ts +1 -1
  505. package/dist/types/types.gen.d.ts +17614 -15166
  506. package/dist/utils/angel-sections.d.ts +1 -1
  507. package/dist/utils/aspect-line.d.ts +1 -10
  508. package/dist/utils/aspect-styles.d.ts +4 -0
  509. package/dist/utils/base-element.d.ts +15 -2
  510. package/dist/utils/bodygraph-render.d.ts +18 -2
  511. package/dist/utils/bodygraph-styles.d.ts +1 -6
  512. package/dist/utils/brand.d.ts +25 -0
  513. package/dist/utils/chart-styles.d.ts +9 -0
  514. package/dist/utils/chart-viewport.d.ts +1 -1
  515. package/dist/utils/degree.d.ts +7 -0
  516. package/dist/utils/dist-base.d.ts +2 -0
  517. package/dist/utils/fetch-controller.d.ts +9 -2
  518. package/dist/utils/field-schema.d.ts +10 -4
  519. package/dist/utils/frame.d.ts +1 -1
  520. package/dist/utils/hd-reading.d.ts +1 -14
  521. package/dist/utils/interp-accordion.d.ts +1 -1
  522. package/dist/utils/kundli-chrome.d.ts +22 -0
  523. package/dist/utils/kundli-render.d.ts +17 -28
  524. package/dist/utils/natal-wheel.d.ts +32 -0
  525. package/dist/utils/object-url.d.ts +17 -0
  526. package/dist/utils/reference-table.d.ts +7 -0
  527. package/dist/utils/stacked-table.d.ts +1 -1
  528. package/dist/utils/svg-string.d.ts +20 -0
  529. package/dist/utils/synastry-wheel.d.ts +15 -0
  530. package/dist/version.d.ts +1 -1
  531. package/package.json +10 -2
@@ -3,7 +3,7 @@
3
3
  *
4
4
  * @remarks The life-area keys (`spiritual`, `love`, `career`, `money`, `twinFlame`) mirror the `meaning` object in the angel-numbers OpenAPI response; `biblical` and `shadow` are top-level siblings present only on a known meaning, not on the digit-root fallback. Any absent field is skipped, so the one builder serves a full known meaning and the leaner digit-root reading alike.
5
5
  */
6
- import type { Translate } from './hd-reading.js';
6
+ import type { Translate } from '../i18n/registry.js';
7
7
  export interface MeaningSection {
8
8
  label: string;
9
9
  body: string;
@@ -1,13 +1,4 @@
1
- /**
2
- * The aspect lines every wheel draws across its centre: the colour of each aspect family, the per-line weight that makes a tight contact read as tighter than a wide one, and the five majors a wheel draws by default.
3
- *
4
- * @remarks
5
- * Families follow the practitioner convention: blue for trine and sextile, red for square and opposition, green for quincunx and semi-sextile; the conjunction takes the accent and the other minors stay muted. Each family class sets `--_aspect` (stroke and swatch) and `--_aspect-ink` (text on the card), so a line, a legend swatch and a grid glyph read one map. Colour and strength weighting sit on SEPARATE properties: SVG multiplies `opacity` by `stroke-opacity`, so a minor stays muted for being minor AND scales with how exact it is.
6
- */
7
- /** The colour of each aspect family on the class {@link aspectClass} returns: text carrying it takes the family ink, plus the legend swatch. Include wherever an aspect is named. */
8
- export declare const aspectFamilyStyles: import("lit").CSSResult;
9
- /** The line every wheel draws across its centre, then the families; the order lets a family lift the minor weight. Include in a wheel's `static styles`. */
10
- export declare const aspectLineStyles: import("lit").CSSResult[];
1
+ /** Which aspects a wheel draws, the class that keys each one to its family colour, and the per-line weight that makes a tight contact read tighter than a wide one. */
11
2
  /** True for a conjunction, sextile, square, trine or opposition, whatever separator the endpoint writes. */
12
3
  export declare function isMajorAspect(a: {
13
4
  type?: string;
@@ -0,0 +1,4 @@
1
+ /** The colour of each aspect family on the class `aspectClass` returns (blue for trine and sextile, red for square and opposition, green for quincunx and semi-sextile, the accent for the conjunction, the other minors muted): text carrying it takes the family ink, plus the legend swatch. */
2
+ export declare const aspectFamilyStyles: import("lit").CSSResult;
3
+ /** The line every wheel draws across its centre, then the families; the order lets a family lift the minor weight. Include in a wheel's `static styles`. */
4
+ export declare const aspectLineStyles: import("lit").CSSResult[];
@@ -105,6 +105,12 @@ export declare abstract class RoxyDataElement<T = unknown> extends RoxyLocalized
105
105
  * ```
106
106
  */
107
107
  hideSections: string;
108
+ /** A brand colour as `#rgb` or `#rrggbb`, painted as `--roxy-primary`; any other value is ignored. */
109
+ brandColor?: string;
110
+ /** A brand accent as `#rgb` or `#rrggbb`, painted as `--roxy-accent` with its ink and focus ring re-derived; any other value is ignored. */
111
+ brandAccent?: string;
112
+ /** A published font pair (`fonts[]` in `components-catalog.json`) for body text and headings, its stylesheet loaded from beside the CDN script that served this element (an npm build imports `styles/fonts/{key}.css`); any other value is ignored. */
113
+ font?: string;
108
114
  /** Override the self-fetch form's submit-button label. Empty derives one from the endpoint. */
109
115
  submitLabel?: string;
110
116
  /** The host page's own words for a failed self-fetch the API did not word (a dropped connection, a body with no message); a failure the API explains reads as the API worded it. */
@@ -162,7 +168,7 @@ export declare abstract class RoxyDataElement<T = unknown> extends RoxyLocalized
162
168
  */
163
169
  private drawn;
164
170
  /**
165
- * The one rule set that acts on {@link RoxyDataElement.hideSections}, generated from the names rather than from a list of components.
171
+ * The one rule set that acts on {@link RoxyDataElement.hideSections}, generated from the names rather than from a list of components, led by the host declarations the brand attributes ask for.
166
172
  *
167
173
  * @remarks
168
174
  * `[part~="name"]` is the selector because `part` is a space-separated list: the natal chart's aspect grid carries `section aspects table aspect-grid`, so a `~=` match reaches it by any one of its names while `=` would reach it by none. It is emitted INSIDE the shadow root, which is the only place a rule can see a `part` attribute on the element that declares it.
@@ -173,7 +179,14 @@ export declare abstract class RoxyDataElement<T = unknown> extends RoxyLocalized
173
179
  *
174
180
  * **`!important` is load-bearing and is not a shortcut around specificity.** Lit puts static `styles` in `adoptedStyleSheets`, and the scoping spec applies those AFTER any `<style>` element inside the same shadow root, so an in-tree rule loses to the component's own stylesheet at equal specificity no matter how it is written. Measured: `patterns` is a bare `section` with no declared display and hid correctly without it, while `legend` carries `display:flex` from the static sheet and stayed visible. The WordPress site-wide rule needs no `!important` for the opposite reason, that an outer-tree `::part()` rule already outranks anything inside.
175
181
  */
176
- private hiddenSectionsStyle;
182
+ private hostStyle;
183
+ /** Request properties this element fills from its own attributes, merged over the form values on submit; an undefined value leaves the property out. */
184
+ protected ownRequest(): Record<string, unknown>;
185
+ /** The HTTP status and API code of the last failed self-fetch, empty when nothing answered. */
186
+ protected get failure(): {
187
+ status?: number;
188
+ code?: string;
189
+ };
177
190
  /** The state machine every render goes through, split out so {@link render} can pair it with the per-instance rules above. */
178
191
  private renderState;
179
192
  /** Render the populated response. The single method every component implements. */
@@ -1,4 +1,6 @@
1
- import type { TemplateResult } from 'lit';
1
+ import type { Translate } from '../i18n/registry.js';
2
+ import type { GenerateBodygraphResponse } from '../types/index.js';
3
+ import { type ChartOptions, type SvgMarkup } from './svg-string.js';
2
4
  /**
3
5
  * Fixed geometry and renderer for the Human Design bodygraph: nine centers, 36 channels, all 64 gates, over a front-facing silhouette. Only which centers are defined and which gates are activated changes per chart.
4
6
  *
@@ -80,5 +82,19 @@ export declare const BODYGRAPH_VIEWBOX = "0 0 432 612";
80
82
  * under gates, so the body is the backdrop, the wiring runs behind the shapes,
81
83
  * and every gate circle sits on top of whatever it lands on.
82
84
  */
83
- export declare function renderBodygraphSvg(input: BodygraphRenderInput): TemplateResult;
85
+ export declare function renderBodygraphSvg(input: BodygraphRenderInput): SvgMarkup;
86
+ /**
87
+ * The chart side as a word a reader sees.
88
+ *
89
+ * @remarks
90
+ * Personality is the conscious side calculated at birth, design the unconscious side 88 degrees of solar arc before it, and the wire carries them as the machine enum `personality` and `design` with no localized partner. The component is what turns an enum into a word, so this is chrome and comes from the catalogue: the same two words label the bodygraph activation tabs, name the side inside a chart tooltip, and sit under a Variables arrow. An unrecognized value is passed through rather than guessed at.
91
+ */
92
+ export declare function sideWord(side: string | undefined, t: Translate): string;
93
+ type GateActivation = GenerateBodygraphResponse['gates'][number];
94
+ /** Monochrome planet glyph for an activation, or its body name when the chart has no glyph for it. The lookup is keyed on the canonical English name; the fallback TEXT is the reader's. */
95
+ export declare function gateGlyph(g: GateActivation): string;
96
+ /** The names a chart reads for its centres, the same words the reading under it prints. */
97
+ export declare function bodygraphCenterNames(centers: GenerateBodygraphResponse['centers']): Map<BodygraphCenterId, string>;
98
+ /** The bodygraph for a `/human-design/bodygraph` response as one `<svg>` string, Design on the left half of a split gate and Personality on the right, painted by class so a page themes it through the `--roxy-*` custom properties and `--src-left` and `--src-right`. */
99
+ export declare function bodygraphSvg(data: GenerateBodygraphResponse, options?: ChartOptions): string;
84
100
  export {};
@@ -1,7 +1,2 @@
1
- /**
2
- * The stylesheet for anything `renderBodygraphSvg` draws, so a second chart on the same geometry cannot fork the first one's appearance.
3
- *
4
- * @remarks
5
- * The renderer marks each gate and channel half `src-left` or `src-right` and names neither, so a card supplies the meaning by declaring those two colours on its own root and nothing else, plus `--src-ink` when the number knocked out of a source disc needs an ink other than the card surface. Each source must clear 4.5:1 against that ink and 3:1 against the card surface, in both themes. A card still owns its layout and its legend copy.
6
- */
1
+ /** The size of a bodygraph inside a card and the shape of its legend row; the paint is `bodygraphPaint`, and a card that renames the two sources sets `--src-left`, `--src-right` and `--src-ink`, each clearing 4.5:1 against the ink and 3:1 against the card surface in both themes. */
7
2
  export declare const bodygraphChartStyles: import("lit").CSSResult;
@@ -0,0 +1,25 @@
1
+ import { type FontKey } from '../styles/fonts.js';
2
+ import { type PaletteName } from '../styles/palette-names.js';
3
+ /** The accent ink in light mode, as `tokens.css` and every preset derive it. */
4
+ export declare const LIGHT_ACCENT_INK = "color-mix(in oklab, var(--roxy-accent) 70%, black)";
5
+ /** The accent ink in dark mode, as `tokens.css` and every preset derive it. */
6
+ export declare const DARK_ACCENT_INK = "var(--roxy-accent)";
7
+ /** The focus ring, as `tokens.css` derives it from the accent. */
8
+ export declare const ACCENT_RING = "color-mix(in srgb, var(--roxy-accent) 40%, transparent)";
9
+ /** A brand hex as six lowercase digits, `#rgb` spelled out, or undefined for anything the brand attributes ignore. */
10
+ export declare function brandHex(value: string | undefined): string | undefined;
11
+ /** True for a key of a published font pair. */
12
+ export declare function isFontKey(value: string | undefined): value is FontKey;
13
+ /** True for a key of a published theme preset. */
14
+ export declare function isThemeKey(value: string | undefined): value is PaletteName;
15
+ /** The host declarations a brand colour and a brand accent ask for, each re-deriving what the tokens derive from it; a value that is not `#rgb` or `#rrggbb` adds nothing. */
16
+ export declare function brandDeclarations(brand: {
17
+ brandColor?: string;
18
+ brandAccent?: string;
19
+ }): string;
20
+ /** The font pair an element declares: its own valid `font`, else the key a theme preset (or a page) names in `--roxy-font`, on the element or inherited (read with the element's own written pair off), unless the page set a font stack of its own, else none, which keeps the page font. An element drawn inside another one declares nothing of its own unless asked, because it inherits the pair from the element that draws it. */
21
+ export declare function resolveFontKey(host: Element, explicit?: string): FontKey | undefined;
22
+ /** The host declarations for a pair: the key, so a nested element resolves the same pair, and both stacks. */
23
+ export declare function fontDeclarations(key: FontKey): string;
24
+ /** Link a font pair's stylesheet into the document once, from `dist` (the release that served this code); a system pair, no `dist` and a missing document add nothing. */
25
+ export declare function injectRoxyFont(key: FontKey, dist?: string | undefined): void;
@@ -0,0 +1,9 @@
1
+ /** The paint of each chart the `./charts` subpath draws, every selector scoped by a zero-specificity `:where()` to the class on the chart root, so one sheet colours the drawing in a component and a bare `<svg>` in any document, published as `dist/styles/charts/{name}.css`. */
2
+ /** The natal wheel, on `.natal-wheel`. */
3
+ export declare const natalWheelPaint: import("lit").CSSResult;
4
+ /** The synastry dual wheel, on `.synastry-wheel`; the card carries the class too, so its legend dots read the person colours. */
5
+ export declare const synastryWheelPaint: import("lit").CSSResult;
6
+ /** The kundli in every regional style, on `.kundli`. */
7
+ export declare const kundliPaint: import("lit").CSSResult;
8
+ /** The bodygraph, on `.bodygraph`; Design defaults to the danger colour and Personality to the body ink, open centres and unlit gates mask to the page colour, and a card may set `--src-left`, `--src-right` and `--src-ink`. The card carries the class too, so its legend swatches read the centre colours. */
9
+ export declare const bodygraphPaint: import("lit").CSSResult;
@@ -1,5 +1,5 @@
1
1
  import { type ReactiveController, type ReactiveControllerHost } from 'lit';
2
- import type { Translate } from './hd-reading.js';
2
+ import type { Translate } from '../i18n/registry.js';
3
3
  type ChartHost = ReactiveControllerHost & {
4
4
  renderRoot: ParentNode;
5
5
  };
@@ -123,6 +123,13 @@ export declare function rayClearance(angleDeg: number, a: MarkSize, b: MarkSize,
123
123
  * chosen to make impossible short of three marks inside one label width.
124
124
  */
125
125
  export declare function staggerRows<T>(placed: readonly FannedPoint<T>[], boxAt: (point: FannedPoint<T>, row: number) => LabelBox): number[];
126
+ /** Widths of a wheel degree label in em of its font size, an envelope over every face the library ships: a `dd°mm'` label, a whole `dd°` label, the retrograde mark after either, and the height of the digit ink. */
127
+ export declare const LABEL_EM: {
128
+ readonly minute: 3.4;
129
+ readonly whole: 1.85;
130
+ readonly retrograde: 1.25;
131
+ readonly ink: 0.9;
132
+ };
126
133
  /**
127
134
  * Degrees of arc a mark of `width` user units occupies at `radius`, which is the
128
135
  * separation {@link fanOut} needs to keep two of them from touching. One
@@ -0,0 +1,2 @@
1
+ /** The `dist` folder of this release on the host that served `src` (a shipped CDN script or ES module), version-pinned on jsDelivr; undefined for anything else, such as an app bundle or a file path, so no caller ever reaches a host the page did not choose. */
2
+ export declare function servedDist(version: string, src?: string): string | undefined;
@@ -60,11 +60,13 @@ export interface ApiRoute {
60
60
  * Hand-written rather than `type: Object`, which resolves malformed JSON to `null` in silence: a page whose context never left has nothing to look at, and the route it was meant for reports only that the value it expected is not there. One warning covers both refusals (unparseable, or parsed to something that is not an object) because both leave the request without a context, which is the fact worth reading.
61
61
  */
62
62
  export declare const submitContextConverter: ComplexAttributeConverter<Record<string, unknown> | undefined>;
63
- /** A request the API answered with a failure: its own message, plus the fields it named when it rejected the request, and whether the message is a sentence it wrote rather than the status line. */
63
+ /** A request the API answered with a failure: its own message, plus the fields it named when it rejected the request, whether the message is a sentence it wrote rather than the status line, and the HTTP status and machine code it answered with. */
64
64
  export declare class ApiError extends Error {
65
65
  readonly issues: ApiIssue[] | null;
66
66
  readonly worded: boolean;
67
- constructor(message: string, issues?: ApiIssue[] | null, worded?: boolean);
67
+ readonly status?: number | undefined;
68
+ readonly code?: string | undefined;
69
+ constructor(message: string, issues?: ApiIssue[] | null, worded?: boolean, status?: number | undefined, code?: string | undefined);
68
70
  }
69
71
  /** The key refusal that applies to a route, or undefined when it may send; a proxy route holds its own key, so none applies there. */
70
72
  export declare function routeRefusal(route: ApiRoute): KeyRefusal | undefined;
@@ -98,6 +100,11 @@ export declare class FetchController<T = unknown> implements ReactiveController,
98
100
  submitContext?: Record<string, unknown>;
99
101
  /** False when the last failure carried no sentence of its own: a dropped connection, or a body with no `error`. */
100
102
  worded: boolean;
103
+ /** The HTTP status and API code of the last failure, empty when nothing answered (a refused key, a dropped connection). */
104
+ failure: {
105
+ status?: number;
106
+ code?: string;
107
+ };
101
108
  constructor(host: FetchHost<T>);
102
109
  hostDisconnected(): void;
103
110
  /**
@@ -1,5 +1,5 @@
1
1
  /**
2
- * Pure, framework-free schema layer shared by the self-fetch form. It turns one OpenAPI operation into a digested list of {@link FieldDef}s whose {@link InputKind} decides which input widget renders, with zero Lit or DOM dependency so the build-time slice generator ({@link ../../../scripts/build-schemas.ts}) and the taxonomy-coverage test consume the exact same classification the browser does.
2
+ * Pure, framework-free schema layer shared by the self-fetch form. It turns one OpenAPI operation into a digested list of {@link FieldDef}s whose {@link InputKind} decides which input widget renders, with zero Lit or DOM dependency so the build-time slice generator and the taxonomy-coverage test consume the exact same classification the browser does.
3
3
  *
4
4
  * @remarks
5
5
  * The registry is by SHAPE, never by name: {@link classifyInput} inspects `enum` / `type` / `format` only, so a new API parameter gets a working widget with no code change, and the taxonomy gate fails loudly (via a `null` return) the day a genuinely new shape appears. Name-driven render intent (hidden values, city searches and the Advanced fold) is resolved here too, so browser and server renderers consume the same decisions.
@@ -49,6 +49,8 @@ export interface OperationSchema {
49
49
  required?: boolean;
50
50
  schema?: OpenApiSchema;
51
51
  }>;
52
+ /** The cost the spec declares for one call, when above one. */
53
+ 'x-request-cost'?: number;
52
54
  }
53
55
  /** The minimal OpenAPI document surface the form introspects. */
54
56
  export interface OpenApiDoc {
@@ -114,7 +116,7 @@ export interface FieldCondition {
114
116
  * A GET collection on the API that lists the choices for one request field.
115
117
  *
116
118
  * @remarks
117
- * Two kinds reach a form, both resolved at build time into `generated/option-sources.ts`: a filter whose values the API serves as a list of their own (the letters the dream dictionary holds, the colours the crystal list filters on), and a free-string path identifier (`/dreams/symbols/{id}`), whose choices are the collection one segment up. The spec stays UI-agnostic either way: the first is a hint declared in `scripts/bindings.config.ts`, the second is derived from the paths.
119
+ * Two kinds reach a form, both resolved at build time into `generated/option-sources.ts`: a filter whose values the API serves as a list of their own (the letters the dream dictionary holds, the colours the crystal list filters on), and a free-string path identifier (`/dreams/symbols/{id}`), whose choices are the collection one segment up. The spec stays UI-agnostic either way: the first is a hint declared in the bindings config, the second is derived from the paths.
118
120
  */
119
121
  export interface OptionSource {
120
122
  /** Path of the collection, leading slash. */
@@ -164,6 +166,8 @@ export interface FormModel {
164
166
  fields: FieldDef[];
165
167
  /** True when the operation carries a `lang` query parameter, so the form knows to route an effective language to the query string on submit. */
166
168
  hasLang: boolean;
169
+ /** The languages the operation's `lang` parameter lists, so the form leaves `lang` off a request in a language the operation would answer with a 400; absent when the spec lists none. */
170
+ langs?: readonly string[];
167
171
  /** Resolved render intent. Optional only for older slices; normalize with withRenderIntent. */
168
172
  groups?: FormGroup[];
169
173
  /** Whether a GET can open on its result without visitor input. */
@@ -206,6 +210,8 @@ export declare function repeatFields(fields: readonly FieldDef[], key: string, i
206
210
  export declare function optionKind(values: readonly string[]): 'tiles' | 'select';
207
211
  /** True for choices that read as an index (letters, two-character codes) rather than words. */
208
212
  export declare function isIndex(values: readonly string[]): boolean;
213
+ /** The properties a document operation (one the spec costs above a single call) takes from its host rather than its visitor: the output format, the white-label branding and whether the written reading prints. */
214
+ export declare const DOCUMENT_ENVELOPE: readonly ['format', 'branding', 'readings'];
209
215
  /** The latitude+longitude+timezone trio the form suppresses in favour of a city search. Centralised so the render path and tests agree. */
210
216
  export declare const LOCATION_TRIO: readonly ['latitude', 'longitude', 'timezone'];
211
217
  /**
@@ -275,8 +281,8 @@ export declare function opensOnLoad(model: FormModel, method: string): boolean;
275
281
  * @param fields - The form fields, when known: a request that pages (`limit`, `offset`) lists a collection, which a visitor searches whatever domain the path names.
276
282
  */
277
283
  export declare function deriveSubmitLabel(endpoint: string, fields?: readonly FieldDef[]): string;
278
- /** Where the schema slices live: beside a shipped CDN script (`dist/cdn/roxy-ui.js` or `dist/cdn/components/{slug}.js`) served from any host but jsDelivr, else the version-pinned jsDelivr copy. */
279
- export declare function sliceBase(version: string, scriptSrc?: string): string;
284
+ /** Where the schema slices live: the `schemas` folder beside the shipped script or module `src` that loaded this code, or undefined (an app bundle, a file path), where the form reads the spec from the API it already calls. */
285
+ export declare function sliceBase(version: string, src?: string): string | undefined;
280
286
  /** Deterministic slice filename for one operation, shared by the generator and the runtime loader so both address the same artifact. */
281
287
  export declare function sliceFileName(method: string, endpoint: string): string;
282
288
  /**
@@ -1,6 +1,6 @@
1
1
  import type { TemplateResult } from 'lit';
2
2
  import { nothing } from 'lit';
3
- import type { Translate } from './hd-reading.js';
3
+ import type { Translate } from '../i18n/registry.js';
4
4
  /**
5
5
  * The sidereal frame a Vedic response was computed in.
6
6
  *
@@ -7,16 +7,10 @@
7
7
  * The disclosure accordion itself is NOT here. It lives in `utils/interp-accordion.ts`, because the same accordion serves any endpoint that returns a labelled reading (`roxy-hexagram` uses it for the changing lines), and both HD components draw it through `RoxyDataElement.renderInterpretation` so `hide-readings` is honoured. Import `interpAccordionStyles` alongside `hdReadingStyles`.
8
8
  */
9
9
  import { nothing } from 'lit';
10
+ import type { Translate } from '../i18n/registry.js';
10
11
  import type { InterpSection } from './interp-accordion.js';
11
12
  /** One row of the reading accordion. Alias of the shared {@link InterpSection} so HD call sites keep reading naturally. */
12
13
  export type ReadingSection = InterpSection;
13
- /**
14
- * A component's own {@link RoxyDataElement.t}, threaded in so a shared render helper can name its rows.
15
- *
16
- * @remarks
17
- * These helpers are plain functions with no host, so they cannot resolve a page language on their own, and a label they hardcode is one English word inside otherwise translated chrome. Taking the translator as an argument keeps each English source literal in the file that renders it, which is what `tests/i18n.test.ts` scans (it walks `utils/` as well as `components/`), so a string added here still cannot ship without a catalogue entry. That scanner reads comments too, so do not write a sample call in one.
18
- */
19
- export type Translate = (source: string, vars?: Record<string, string | number>) => string;
20
14
  /** A labelled value. A fact with no value is dropped, so a narrower response renders fewer facts rather than empty ones. */
21
15
  export interface Fact {
22
16
  label: string;
@@ -31,13 +25,6 @@ export interface ProfileKeynotes {
31
25
  }
32
26
  /** The fact list, the lead paragraph and the keynotes; the facts and the theme chips read the shared recipes. */
33
27
  export declare const hdReadingStyles: import("lit").CSSResult[];
34
- /**
35
- * The chart side as a word a reader sees.
36
- *
37
- * @remarks
38
- * Personality is the conscious side calculated at birth, design the unconscious side 88 degrees of solar arc before it, and the wire carries them as the machine enum `personality` and `design` with no localized partner. The component is what turns an enum into a word, so this is chrome and comes from the catalogue: the same two words label the bodygraph activation tabs, name the side inside a chart tooltip, and sit under a Variables arrow. An unrecognized value is passed through rather than guessed at.
39
- */
40
- export declare function sideWord(side: string | undefined, t: Translate): string;
41
28
  /** The labelled values. Values the response does not carry are dropped rather than rendered empty. */
42
29
  export declare function renderHdFacts(facts: Fact[]): typeof nothing | import("lit").TemplateResult<1>;
43
30
  /**
@@ -9,7 +9,7 @@
9
9
  * **Call it through `RoxyDataElement.renderInterpretation`, never directly.** That method is where `hide-readings` is honoured, so a direct call renders prose a host asked to be left out. The section it emits carries `part="section readings"` and each row `part="reading"`, which is what makes the readings of EVERY component addressable under one name from outside the shadow root.
10
10
  */
11
11
  import { nothing } from 'lit';
12
- import type { Translate } from './hd-reading.js';
12
+ import type { Translate } from '../i18n/registry.js';
13
13
  /** One row: the label, the short value shown as the aside, and the interpretation body. `extra` renders under the body for a section that carries more than prose. */
14
14
  export interface InterpSection {
15
15
  label: string;
@@ -0,0 +1,22 @@
1
+ import type { TemplateResult } from 'lit';
2
+ import type { Translate } from '../i18n/registry.js';
3
+ import { type ChartStyle, type KundliViewModel, type toKundliViewModel } from './kundli-render.js';
4
+ /**
5
+ * Every caption that belongs under a kundli: why the layout changed when no ascendant arrived, and the key to the state marks the cells carry.
6
+ *
7
+ * @remarks
8
+ * One entry point rather than two, because both callers need the identical set and a caller that rendered only one of them would explain the marks on a chart whose layout had silently changed, or the reverse. Uses the shared frame-caption class, so a component already showing the sidereal frame needs no extra styles.
9
+ */
10
+ export declare function renderKundliCaptions(vm: KundliViewModel, t: Translate): TemplateResult[];
11
+ /**
12
+ * Render a WAI-ARIA-compliant tablist that lets the end user switch between
13
+ * South / North / East kundli styles at runtime. The hosting component owns
14
+ * the `chartStyle` state; this helper renders the buttons and wires the
15
+ * arrow-key navigation plus click handler.
16
+ *
17
+ * @param active - The currently selected style.
18
+ * @param setStyle - Callback the host component uses to update its state.
19
+ */
20
+ export declare function renderKundliStyleTablist(active: ChartStyle, setStyle: (next: ChartStyle) => void, t: Translate): TemplateResult;
21
+ /** Divisional placements stay distinct from the natal position and nakshatra returned beside them. */
22
+ export declare function renderVargaReferenceTable(meta: Parameters<typeof toKundliViewModel>[0], division: number, locale: string | undefined, t: Translate): TemplateResult;
@@ -1,5 +1,4 @@
1
- import type { TemplateResult } from 'lit';
2
- import type { Translate } from './hd-reading.js';
1
+ import { type ChartOptions } from './svg-string.js';
3
2
  /**
4
3
  * A graha placed inside a kundli cell. Render-only view model fed from a
5
4
  * `meta` map on the API response. Carries enough detail to draw a compact
@@ -58,6 +57,10 @@ export interface KundliViewModel {
58
57
  * Exposed so consumers can type their own `chart-style` attribute reflection.
59
58
  */
60
59
  export type ChartStyle = 'south' | 'north' | 'east';
60
+ /** Superscript state marks on a graha label. A cell is small, so each state that changes how a graha is READ gets one character and the tooltip carries the words. */
61
+ export declare const RETRO_MARK = "\u02B3";
62
+ export declare const COMBUST_MARK = "\u1D9C";
63
+ export declare const WAR_MARK = "\u02B7";
61
64
  /**
62
65
  * Bucket a graha-keyed `meta` map (D1 birth chart or D2..D60 divisional
63
66
  * chart) into the unified {@link KundliViewModel} the renderer consumes. The
@@ -86,30 +89,16 @@ export declare function toKundliViewModel(meta: Record<string, {
86
89
  states?: GrahaStates;
87
90
  natalReference?: boolean;
88
91
  }): KundliViewModel;
89
- /** True when the chart carries an ascendant the house-fixed north layout can be anchored to. The one place that question is answered, so the renderer and the caller showing {@link renderMissingLagnaNote} can never disagree about it. */
92
+ /** True when the chart carries an ascendant the house-fixed north layout can be anchored to. The one place that question is answered, so the drawing and the caption that explains a missing ascendant can never disagree about it. */
90
93
  export declare function hasLagna(vm: KundliViewModel): boolean;
91
- /**
92
- * Every caption that belongs under a kundli: why the layout changed when no ascendant arrived, and the key to the state marks the cells carry.
93
- *
94
- * @remarks
95
- * One entry point rather than two, because both callers need the identical set and a caller that rendered only one of them would explain the marks on a chart whose layout had silently changed, or the reverse. Uses the shared frame-caption class, so a component already showing the sidereal frame needs no extra styles.
96
- */
97
- export declare function renderKundliCaptions(vm: KundliViewModel, t: Translate): TemplateResult[];
98
- /**
99
- * Render the kundli body for the requested style. Returns the SVG inner
100
- * content; the caller wraps it in an `<svg>` element with the canonical
101
- * viewBox `0 0 400 400` and applies its own theming CSS.
102
- */
103
- export declare function renderKundliSvg(vm: KundliViewModel, style: ChartStyle, t: Translate): TemplateResult;
104
- /**
105
- * Render a WAI-ARIA-compliant tablist that lets the end user switch between
106
- * South / North / East kundli styles at runtime. The hosting component owns
107
- * the `chartStyle` state; this helper renders the buttons and wires the
108
- * arrow-key navigation plus click handler.
109
- *
110
- * @param active - The currently selected style.
111
- * @param setStyle - Callback the host component uses to update its state.
112
- */
113
- export declare function renderKundliStyleTablist(active: ChartStyle, setStyle: (next: ChartStyle) => void, t: Translate): TemplateResult;
114
- /** Divisional placements stay distinct from the natal position and nakshatra returned beside them. */
115
- export declare function renderVargaReferenceTable(meta: Parameters<typeof toKundliViewModel>[0], division: number, locale: string | undefined, t: Translate): TemplateResult;
94
+ /** What a kundli drawing takes beside its view model. */
95
+ export interface KundliOptions extends ChartOptions {
96
+ /** The regional layout; north when absent. */
97
+ style?: ChartStyle;
98
+ /** The accessible name; the birth chart wording when absent. */
99
+ label?: string;
100
+ /** The title a pointer shows; the birth chart title when absent. */
101
+ title?: string;
102
+ }
103
+ /** A kundli as one `<svg>` string from the view model {@link toKundliViewModel} builds out of a response `meta` map, painted by class so a page themes it through the `--roxy-*` custom properties. */
104
+ export declare function kundliSvg(vm: KundliViewModel, options?: KundliOptions): string;
@@ -0,0 +1,32 @@
1
+ import type { NatalChartResponse } from '../types/index.js';
2
+ import { type ChartOptions } from './svg-string.js';
3
+ /** The in-wheel type sizes at a wide host, in user units, as the stylesheet declares them: what the fan spaces the marks by when no measured size is given. */
4
+ export declare const NATAL_TYPE_SIZES: {
5
+ readonly glyph: 14;
6
+ readonly degree: 7;
7
+ };
8
+ /**
9
+ * The chart shape the wheel actually renders.
10
+ *
11
+ * @remarks
12
+ * `RelocationChartResponse` carries the same planets, houses, angles and birth details as `NatalChartResponse` (`RelocationPlanet` is field-for-field identical to the natal planet item), and differs only by having no `aspects`, `aspectsInterpretation`, `patterns`, `partOfFortune` or `summary`. The wheel already renders without them, so those five are simply optional here.
13
+ *
14
+ * Typing that contract is what lets the relocation wheel compose the natal chart honestly: it hands over a response the type actually describes, rather than a double cast asserting fields the payload may not carry.
15
+ */
16
+ type ChartExtras = 'aspects' | 'aspectsInterpretation' | 'patterns' | 'partOfFortune' | 'summary';
17
+ export type WheelChart = Omit<NatalChartResponse, ChartExtras> & Partial<Pick<NatalChartResponse, ChartExtras>>;
18
+ /** The in-wheel type size in play, in user units, for the glyphs and the degree labels. */
19
+ export interface WheelTypeSize {
20
+ glyph: number;
21
+ degree: number;
22
+ }
23
+ /** What a natal wheel drawing takes beside the response. */
24
+ export interface NatalWheelOptions extends ChartOptions {
25
+ /** The type sizes the marks are spaced by, the wide-host sizes when absent; a phone breakpoint passes the larger sizes its stylesheet applies. */
26
+ typeSize?: WheelTypeSize;
27
+ }
28
+ /** True when the response carried all twelve house cusps, so every house on the wheel is a longitude the API sent rather than a 30 degree sector the wheel constructed. */
29
+ export declare function hasCusps(data: WheelChart): boolean;
30
+ /** The natal wheel for a `/astrology/natal-chart` or `/astrology/relocation-chart` response as one `<svg>` string, painted by class so a page themes it through the `--roxy-*` custom properties. */
31
+ export declare function natalWheelSvg(data: WheelChart, options?: NatalWheelOptions): string;
32
+ export {};
@@ -0,0 +1,17 @@
1
+ import type { ReactiveController, ReactiveControllerHost } from 'lit';
2
+ /** Decode a base64 string into a Blob of the given media type. */
3
+ export declare function base64Blob(base64: string, type: string): Blob;
4
+ /** One object URL for the latest base64 source, revoked when the source changes and when the host disconnects; a host that reconnects renders a fresh one. */
5
+ export declare class ObjectUrlController implements ReactiveController {
6
+ private readonly host;
7
+ private readonly type;
8
+ private source?;
9
+ private url?;
10
+ private revokedOnDisconnect;
11
+ constructor(host: ReactiveControllerHost, type: string);
12
+ /** The object URL of this base64 source, created once per source. */
13
+ urlFor(base64: string): string;
14
+ hostConnected(): void;
15
+ hostDisconnected(): void;
16
+ private revoke;
17
+ }
@@ -0,0 +1,7 @@
1
+ /**
2
+ * The full-bleed reference grid of a Vedic card: a scroll box holding a table whose first column names the row, whose short cells are comparable and whose last column is prose.
3
+ *
4
+ * @remarks
5
+ * Opt in with `class="stacked"` on the table, `data-inline` plus a translated `data-label` on every short cell and `class="name"` on the first; the prose cell is `class="meaning"` and a row that leads takes `class="lead-row"`. Wide, the short cells wrap so the prose keeps its measure; below 30rem each row becomes its name, one flowing line of labelled cells and the prose at the full card width.
6
+ */
7
+ export declare const referenceTableStyles: import("lit").CSSResult[];
@@ -17,6 +17,6 @@
17
17
  *
18
18
  * Opt in with `class="stacked"` on the table plus a `data-label` per cell, and import this beside the
19
19
  * component's own styles. Everything above the breakpoint is untouched, so a card that has room keeps
20
- * its table.
20
+ * its table. A `data-inline` cell flows beside its siblings, so a row of short values costs one line rather than one each.
21
21
  */
22
22
  export declare const stackedTableStyles: import("lit").CSSResult;
@@ -0,0 +1,20 @@
1
+ import { type Translate } from '../i18n/registry.js';
2
+ /** The namespace a standalone SVG document declares on its root, so a string saved as `image/svg+xml` parses. */
3
+ export declare const SVG_XMLNS = "http://www.w3.org/2000/svg";
4
+ /** Markup already written by {@link svg}, passed through a later interpolation as is. */
5
+ export declare class SvgMarkup {
6
+ readonly markup: string;
7
+ constructor(markup: string);
8
+ }
9
+ /** A value an {@link svg} interpolation accepts: an empty value writes nothing, like an absent part of a template. */
10
+ type SvgValue = SvgMarkup | string | number | null | undefined | readonly SvgValue[];
11
+ /** SVG markup as a plain string, written like a chart template: text is escaped, nested markup and lists pass through, and a value right after `=` becomes a quoted attribute, so one drawing serves a component, a worker and a server. */
12
+ export declare function svg(strings: TemplateStringsArray, ...values: SvgValue[]): SvgMarkup;
13
+ /** The options every chart drawing takes. */
14
+ export interface ChartOptions {
15
+ /** The language the chart writes its own words in; the response values are drawn as the response carries them. A catalogue loaded from `@roxyapi/ui/locales/{lang}` is what translates them, and English needs none. */
16
+ lang?: string;
17
+ }
18
+ /** The chrome translator for a chart drawn outside an element. */
19
+ export declare function chartTranslator(lang: string | undefined): Translate;
20
+ export {};
@@ -0,0 +1,15 @@
1
+ import type { CalculateSynastryResponse } from '../types/index.js';
2
+ import type { WheelTypeSize } from './natal-wheel.js';
3
+ import { type ChartOptions } from './svg-string.js';
4
+ /** The in-wheel type sizes at a wide host, in user units, as the stylesheet declares them: what the fan spaces the marks by when no measured size is given. */
5
+ export declare const SYNASTRY_TYPE_SIZES: {
6
+ readonly glyph: 18;
7
+ readonly degree: 10;
8
+ };
9
+ /** What a synastry wheel drawing takes beside the response. */
10
+ export interface SynastryWheelOptions extends ChartOptions {
11
+ /** The type sizes the marks are spaced by, the wide-host sizes when absent; a phone breakpoint passes the larger sizes its stylesheet applies. */
12
+ typeSize?: WheelTypeSize;
13
+ }
14
+ /** The dual wheel for a `/astrology/synastry` response as one `<svg>` string, person 1 inside the zodiac and person 2 outside it, painted by class so a page themes it through the `--roxy-*` custom properties. */
15
+ export declare function synastryWheelSvg(data: CalculateSynastryResponse, options?: SynastryWheelOptions): string;
package/dist/version.d.ts CHANGED
@@ -1 +1 @@
1
- export declare const ROXY_UI_VERSION = "1.1.3";
1
+ export declare const ROXY_UI_VERSION = "1.3.0";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@roxyapi/ui",
3
- "version": "1.1.3",
3
+ "version": "1.3.0",
4
4
  "description": "Web components for the RoxyAPI catalog. Drop-in charts, tables, cards, forms for astrology, tarot, numerology, biorhythm, I Ching, crystals, dreams, angel numbers, and more. One key, beautiful in 30 minutes.",
5
5
  "type": "module",
6
6
  "main": "./dist/index.cjs",
@@ -19,6 +19,11 @@
19
19
  "import": "./dist/tool-component.js",
20
20
  "require": "./dist/tool-component.cjs"
21
21
  },
22
+ "./charts": {
23
+ "types": "./dist/charts.d.ts",
24
+ "import": "./dist/charts.js",
25
+ "require": "./dist/charts.cjs"
26
+ },
22
27
  "./components/*": {
23
28
  "types": "./dist/components/*.d.ts",
24
29
  "import": "./dist/components/*.js"
@@ -30,7 +35,10 @@
30
35
  "./types": {
31
36
  "types": "./dist/types/index.d.ts"
32
37
  },
33
- "./styles/tokens.css": "./dist/styles/tokens.css"
38
+ "./styles/tokens.css": "./dist/styles/tokens.css",
39
+ "./styles/themes/*.css": "./dist/styles/themes/*.css",
40
+ "./styles/charts/*.css": "./dist/styles/charts/*.css",
41
+ "./styles/fonts/*.css": "./dist/styles/fonts/*.css"
34
42
  },
35
43
  "files": [
36
44
  "dist",