@roxyapi/ui-react 0.53.3 → 1.1.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 (339) hide show
  1. package/AGENTS.md +29 -34
  2. package/README.md +40 -71
  3. package/dist/components/almanac-day.d.ts +0 -1
  4. package/dist/components/almanac-day.js +1 -2
  5. package/dist/components/angel-number-card.d.ts +0 -1
  6. package/dist/components/angel-number-card.js +1 -2
  7. package/dist/components/angel-number-lookup.d.ts +0 -1
  8. package/dist/components/angel-number-lookup.js +1 -2
  9. package/dist/components/arudha-padas.d.ts +0 -1
  10. package/dist/components/arudha-padas.js +1 -2
  11. package/dist/components/ashtakavarga-grid.d.ts +0 -1
  12. package/dist/components/ashtakavarga-grid.js +1 -2
  13. package/dist/components/aspects-table.d.ts +0 -1
  14. package/dist/components/aspects-table.js +1 -2
  15. package/dist/components/astrocartography-map.d.ts +0 -1
  16. package/dist/components/astrocartography-map.js +1 -2
  17. package/dist/components/bazi-chart.d.ts +0 -1
  18. package/dist/components/bazi-chart.js +1 -2
  19. package/dist/components/bhav-chalit-table.d.ts +0 -1
  20. package/dist/components/bhav-chalit-table.js +1 -2
  21. package/dist/components/bhava-bala-table.d.ts +0 -1
  22. package/dist/components/bhava-bala-table.js +1 -2
  23. package/dist/components/biorhythm-chart.d.ts +0 -1
  24. package/dist/components/biorhythm-chart.js +1 -2
  25. package/dist/components/bodygraph.d.ts +0 -1
  26. package/dist/components/bodygraph.js +1 -2
  27. package/dist/components/chara-karakas.d.ts +0 -1
  28. package/dist/components/chara-karakas.js +1 -2
  29. package/dist/components/choghadiya-grid.d.ts +0 -1
  30. package/dist/components/choghadiya-grid.js +1 -2
  31. package/dist/components/compatibility-card.d.ts +0 -1
  32. package/dist/components/compatibility-card.js +1 -2
  33. package/dist/components/compound-number.d.ts +0 -1
  34. package/dist/components/compound-number.js +1 -2
  35. package/dist/components/crystal-card.d.ts +0 -1
  36. package/dist/components/crystal-card.js +1 -2
  37. package/dist/components/crystal-grid.d.ts +0 -1
  38. package/dist/components/crystal-grid.js +1 -2
  39. package/dist/components/dasha-timeline.d.ts +0 -1
  40. package/dist/components/dasha-timeline.js +1 -2
  41. package/dist/components/data.d.ts +0 -1
  42. package/dist/components/data.js +1 -2
  43. package/dist/components/divisional-chart.d.ts +0 -1
  44. package/dist/components/divisional-chart.js +1 -2
  45. package/dist/components/dosha-card.d.ts +0 -1
  46. package/dist/components/dosha-card.js +1 -2
  47. package/dist/components/dosha-constitution.d.ts +0 -1
  48. package/dist/components/dosha-constitution.js +1 -2
  49. package/dist/components/dream-card.d.ts +0 -1
  50. package/dist/components/dream-card.js +1 -2
  51. package/dist/components/dream-search.d.ts +0 -1
  52. package/dist/components/dream-search.js +1 -2
  53. package/dist/components/endpoint-form.d.ts +0 -1
  54. package/dist/components/endpoint-form.js +1 -2
  55. package/dist/components/ephemeris-table.d.ts +0 -1
  56. package/dist/components/ephemeris-table.js +1 -2
  57. package/dist/components/fixed-stars.d.ts +0 -1
  58. package/dist/components/fixed-stars.js +1 -2
  59. package/dist/components/flying-star-chart.d.ts +0 -1
  60. package/dist/components/flying-star-chart.js +1 -2
  61. package/dist/components/forecast-digest.d.ts +0 -1
  62. package/dist/components/forecast-digest.js +1 -2
  63. package/dist/components/forecast-timeline.d.ts +0 -1
  64. package/dist/components/forecast-timeline.js +1 -2
  65. package/dist/components/gematria.d.ts +0 -1
  66. package/dist/components/gematria.js +1 -2
  67. package/dist/components/gochara-table.d.ts +0 -1
  68. package/dist/components/gochara-table.js +1 -2
  69. package/dist/components/guna-milan.d.ts +0 -1
  70. package/dist/components/guna-milan.js +1 -2
  71. package/dist/components/hd-connection.d.ts +0 -1
  72. package/dist/components/hd-connection.js +1 -2
  73. package/dist/components/hd-penta.d.ts +0 -1
  74. package/dist/components/hd-penta.js +1 -2
  75. package/dist/components/hd-type-card.d.ts +0 -1
  76. package/dist/components/hd-type-card.js +1 -2
  77. package/dist/components/hd-variables.d.ts +0 -1
  78. package/dist/components/hd-variables.js +1 -2
  79. package/dist/components/heliacal-table.d.ts +0 -1
  80. package/dist/components/heliacal-table.js +1 -2
  81. package/dist/components/hexagram.d.ts +0 -1
  82. package/dist/components/hexagram.js +1 -2
  83. package/dist/components/hora-table.d.ts +0 -1
  84. package/dist/components/hora-table.js +1 -2
  85. package/dist/components/horoscope-card.d.ts +0 -1
  86. package/dist/components/horoscope-card.js +1 -2
  87. package/dist/components/kp-chart.d.ts +0 -1
  88. package/dist/components/kp-chart.js +1 -2
  89. package/dist/components/kp-finance-card.d.ts +0 -1
  90. package/dist/components/kp-finance-card.js +1 -2
  91. package/dist/components/kp-planets-table.d.ts +0 -1
  92. package/dist/components/kp-planets-table.js +1 -2
  93. package/dist/components/kp-ruling-planets.d.ts +0 -1
  94. package/dist/components/kp-ruling-planets.js +1 -2
  95. package/dist/components/kua-card.d.ts +0 -1
  96. package/dist/components/kua-card.js +1 -2
  97. package/dist/components/local-space-compass.d.ts +0 -1
  98. package/dist/components/local-space-compass.js +1 -2
  99. package/dist/components/location-search.d.ts +0 -1
  100. package/dist/components/location-search.js +1 -2
  101. package/dist/components/luck-pillars.d.ts +0 -1
  102. package/dist/components/luck-pillars.js +1 -2
  103. package/dist/components/mayan-day-sign.d.ts +0 -1
  104. package/dist/components/mayan-day-sign.js +1 -2
  105. package/dist/components/moon-phase.d.ts +0 -1
  106. package/dist/components/moon-phase.js +1 -2
  107. package/dist/components/nakshatra-card.d.ts +0 -1
  108. package/dist/components/nakshatra-card.js +1 -2
  109. package/dist/components/natal-chart.d.ts +0 -1
  110. package/dist/components/natal-chart.js +1 -2
  111. package/dist/components/numerology-card.d.ts +0 -1
  112. package/dist/components/numerology-card.js +1 -2
  113. package/dist/components/panchang-table.d.ts +0 -1
  114. package/dist/components/panchang-table.js +1 -2
  115. package/dist/components/positions-table.d.ts +0 -1
  116. package/dist/components/positions-table.js +1 -2
  117. package/dist/components/profection-card.d.ts +0 -1
  118. package/dist/components/profection-card.js +1 -2
  119. package/dist/components/reference-card.d.ts +0 -1
  120. package/dist/components/reference-card.js +1 -2
  121. package/dist/components/relocation-wheel.d.ts +0 -1
  122. package/dist/components/relocation-wheel.js +1 -2
  123. package/dist/components/shadbala-table.d.ts +0 -1
  124. package/dist/components/shadbala-table.js +1 -2
  125. package/dist/components/synastry-chart.d.ts +0 -1
  126. package/dist/components/synastry-chart.js +1 -2
  127. package/dist/components/tarot-card.d.ts +0 -1
  128. package/dist/components/tarot-card.js +1 -2
  129. package/dist/components/tarot-catalog.d.ts +0 -1
  130. package/dist/components/tarot-catalog.js +1 -2
  131. package/dist/components/tarot-spread.d.ts +0 -1
  132. package/dist/components/tarot-spread.js +1 -2
  133. package/dist/components/transit-wheel.d.ts +0 -1
  134. package/dist/components/transit-wheel.js +1 -2
  135. package/dist/components/transits-table.d.ts +0 -1
  136. package/dist/components/transits-table.js +1 -2
  137. package/dist/components/upagraha-table.d.ts +0 -1
  138. package/dist/components/upagraha-table.js +1 -2
  139. package/dist/components/vastu-mandala.d.ts +0 -1
  140. package/dist/components/vastu-mandala.js +1 -2
  141. package/dist/components/vedic-aspects.d.ts +0 -1
  142. package/dist/components/vedic-aspects.js +1 -2
  143. package/dist/components/vedic-daily.d.ts +0 -1
  144. package/dist/components/vedic-daily.js +1 -2
  145. package/dist/components/vedic-kundli.d.ts +0 -1
  146. package/dist/components/vedic-kundli.js +1 -2
  147. package/dist/components/vedic-planets-table.d.ts +0 -1
  148. package/dist/components/vedic-planets-table.js +1 -2
  149. package/dist/components/western-planets-table.d.ts +0 -1
  150. package/dist/components/western-planets-table.js +1 -2
  151. package/dist/components/yoga-list.d.ts +0 -1
  152. package/dist/components/yoga-list.js +1 -2
  153. package/dist/components/zodiac-card.d.ts +0 -1
  154. package/dist/components/zodiac-card.js +1 -2
  155. package/dist/generated/tool-components.d.ts +0 -1
  156. package/dist/index.cjs +1 -2
  157. package/dist/index.d.ts +0 -1
  158. package/dist/index.js +1 -2
  159. package/dist/jsx.cjs +0 -1
  160. package/dist/jsx.d.ts +0 -1
  161. package/dist/jsx.js +0 -1
  162. package/dist/load-ui.d.ts +1 -2
  163. package/dist/load-ui.js +1 -2
  164. package/dist/tool-component.cjs +0 -1
  165. package/dist/tool-component.d.ts +0 -1
  166. package/dist/tool-component.js +0 -1
  167. package/dist/types/index.d.ts +1 -2
  168. package/dist/types/types.gen.d.ts +0 -1
  169. package/dist/utils/compact.d.ts +0 -1
  170. package/dist/utils/tool-component.d.ts +0 -1
  171. package/package.json +1 -1
  172. package/dist/components/almanac-day.d.ts.map +0 -1
  173. package/dist/components/almanac-day.js.map +0 -7
  174. package/dist/components/angel-number-card.d.ts.map +0 -1
  175. package/dist/components/angel-number-card.js.map +0 -7
  176. package/dist/components/angel-number-lookup.d.ts.map +0 -1
  177. package/dist/components/angel-number-lookup.js.map +0 -7
  178. package/dist/components/arudha-padas.d.ts.map +0 -1
  179. package/dist/components/arudha-padas.js.map +0 -7
  180. package/dist/components/ashtakavarga-grid.d.ts.map +0 -1
  181. package/dist/components/ashtakavarga-grid.js.map +0 -7
  182. package/dist/components/aspects-table.d.ts.map +0 -1
  183. package/dist/components/aspects-table.js.map +0 -7
  184. package/dist/components/astrocartography-map.d.ts.map +0 -1
  185. package/dist/components/astrocartography-map.js.map +0 -7
  186. package/dist/components/bazi-chart.d.ts.map +0 -1
  187. package/dist/components/bazi-chart.js.map +0 -7
  188. package/dist/components/bhav-chalit-table.d.ts.map +0 -1
  189. package/dist/components/bhav-chalit-table.js.map +0 -7
  190. package/dist/components/bhava-bala-table.d.ts.map +0 -1
  191. package/dist/components/bhava-bala-table.js.map +0 -7
  192. package/dist/components/biorhythm-chart.d.ts.map +0 -1
  193. package/dist/components/biorhythm-chart.js.map +0 -7
  194. package/dist/components/bodygraph.d.ts.map +0 -1
  195. package/dist/components/bodygraph.js.map +0 -7
  196. package/dist/components/chara-karakas.d.ts.map +0 -1
  197. package/dist/components/chara-karakas.js.map +0 -7
  198. package/dist/components/choghadiya-grid.d.ts.map +0 -1
  199. package/dist/components/choghadiya-grid.js.map +0 -7
  200. package/dist/components/compatibility-card.d.ts.map +0 -1
  201. package/dist/components/compatibility-card.js.map +0 -7
  202. package/dist/components/compound-number.d.ts.map +0 -1
  203. package/dist/components/compound-number.js.map +0 -7
  204. package/dist/components/crystal-card.d.ts.map +0 -1
  205. package/dist/components/crystal-card.js.map +0 -7
  206. package/dist/components/crystal-grid.d.ts.map +0 -1
  207. package/dist/components/crystal-grid.js.map +0 -7
  208. package/dist/components/dasha-timeline.d.ts.map +0 -1
  209. package/dist/components/dasha-timeline.js.map +0 -7
  210. package/dist/components/data.d.ts.map +0 -1
  211. package/dist/components/data.js.map +0 -7
  212. package/dist/components/divisional-chart.d.ts.map +0 -1
  213. package/dist/components/divisional-chart.js.map +0 -7
  214. package/dist/components/dosha-card.d.ts.map +0 -1
  215. package/dist/components/dosha-card.js.map +0 -7
  216. package/dist/components/dosha-constitution.d.ts.map +0 -1
  217. package/dist/components/dosha-constitution.js.map +0 -7
  218. package/dist/components/dream-card.d.ts.map +0 -1
  219. package/dist/components/dream-card.js.map +0 -7
  220. package/dist/components/dream-search.d.ts.map +0 -1
  221. package/dist/components/dream-search.js.map +0 -7
  222. package/dist/components/endpoint-form.d.ts.map +0 -1
  223. package/dist/components/endpoint-form.js.map +0 -7
  224. package/dist/components/ephemeris-table.d.ts.map +0 -1
  225. package/dist/components/ephemeris-table.js.map +0 -7
  226. package/dist/components/fixed-stars.d.ts.map +0 -1
  227. package/dist/components/fixed-stars.js.map +0 -7
  228. package/dist/components/flying-star-chart.d.ts.map +0 -1
  229. package/dist/components/flying-star-chart.js.map +0 -7
  230. package/dist/components/forecast-digest.d.ts.map +0 -1
  231. package/dist/components/forecast-digest.js.map +0 -7
  232. package/dist/components/forecast-timeline.d.ts.map +0 -1
  233. package/dist/components/forecast-timeline.js.map +0 -7
  234. package/dist/components/gematria.d.ts.map +0 -1
  235. package/dist/components/gematria.js.map +0 -7
  236. package/dist/components/gochara-table.d.ts.map +0 -1
  237. package/dist/components/gochara-table.js.map +0 -7
  238. package/dist/components/guna-milan.d.ts.map +0 -1
  239. package/dist/components/guna-milan.js.map +0 -7
  240. package/dist/components/hd-connection.d.ts.map +0 -1
  241. package/dist/components/hd-connection.js.map +0 -7
  242. package/dist/components/hd-penta.d.ts.map +0 -1
  243. package/dist/components/hd-penta.js.map +0 -7
  244. package/dist/components/hd-type-card.d.ts.map +0 -1
  245. package/dist/components/hd-type-card.js.map +0 -7
  246. package/dist/components/hd-variables.d.ts.map +0 -1
  247. package/dist/components/hd-variables.js.map +0 -7
  248. package/dist/components/heliacal-table.d.ts.map +0 -1
  249. package/dist/components/heliacal-table.js.map +0 -7
  250. package/dist/components/hexagram.d.ts.map +0 -1
  251. package/dist/components/hexagram.js.map +0 -7
  252. package/dist/components/hora-table.d.ts.map +0 -1
  253. package/dist/components/hora-table.js.map +0 -7
  254. package/dist/components/horoscope-card.d.ts.map +0 -1
  255. package/dist/components/horoscope-card.js.map +0 -7
  256. package/dist/components/kp-chart.d.ts.map +0 -1
  257. package/dist/components/kp-chart.js.map +0 -7
  258. package/dist/components/kp-finance-card.d.ts.map +0 -1
  259. package/dist/components/kp-finance-card.js.map +0 -7
  260. package/dist/components/kp-planets-table.d.ts.map +0 -1
  261. package/dist/components/kp-planets-table.js.map +0 -7
  262. package/dist/components/kp-ruling-planets.d.ts.map +0 -1
  263. package/dist/components/kp-ruling-planets.js.map +0 -7
  264. package/dist/components/kua-card.d.ts.map +0 -1
  265. package/dist/components/kua-card.js.map +0 -7
  266. package/dist/components/local-space-compass.d.ts.map +0 -1
  267. package/dist/components/local-space-compass.js.map +0 -7
  268. package/dist/components/location-search.d.ts.map +0 -1
  269. package/dist/components/location-search.js.map +0 -7
  270. package/dist/components/luck-pillars.d.ts.map +0 -1
  271. package/dist/components/luck-pillars.js.map +0 -7
  272. package/dist/components/mayan-day-sign.d.ts.map +0 -1
  273. package/dist/components/mayan-day-sign.js.map +0 -7
  274. package/dist/components/moon-phase.d.ts.map +0 -1
  275. package/dist/components/moon-phase.js.map +0 -7
  276. package/dist/components/nakshatra-card.d.ts.map +0 -1
  277. package/dist/components/nakshatra-card.js.map +0 -7
  278. package/dist/components/natal-chart.d.ts.map +0 -1
  279. package/dist/components/natal-chart.js.map +0 -7
  280. package/dist/components/numerology-card.d.ts.map +0 -1
  281. package/dist/components/numerology-card.js.map +0 -7
  282. package/dist/components/panchang-table.d.ts.map +0 -1
  283. package/dist/components/panchang-table.js.map +0 -7
  284. package/dist/components/positions-table.d.ts.map +0 -1
  285. package/dist/components/positions-table.js.map +0 -7
  286. package/dist/components/profection-card.d.ts.map +0 -1
  287. package/dist/components/profection-card.js.map +0 -7
  288. package/dist/components/reference-card.d.ts.map +0 -1
  289. package/dist/components/reference-card.js.map +0 -7
  290. package/dist/components/relocation-wheel.d.ts.map +0 -1
  291. package/dist/components/relocation-wheel.js.map +0 -7
  292. package/dist/components/shadbala-table.d.ts.map +0 -1
  293. package/dist/components/shadbala-table.js.map +0 -7
  294. package/dist/components/synastry-chart.d.ts.map +0 -1
  295. package/dist/components/synastry-chart.js.map +0 -7
  296. package/dist/components/tarot-card.d.ts.map +0 -1
  297. package/dist/components/tarot-card.js.map +0 -7
  298. package/dist/components/tarot-catalog.d.ts.map +0 -1
  299. package/dist/components/tarot-catalog.js.map +0 -7
  300. package/dist/components/tarot-spread.d.ts.map +0 -1
  301. package/dist/components/tarot-spread.js.map +0 -7
  302. package/dist/components/transit-wheel.d.ts.map +0 -1
  303. package/dist/components/transit-wheel.js.map +0 -7
  304. package/dist/components/transits-table.d.ts.map +0 -1
  305. package/dist/components/transits-table.js.map +0 -7
  306. package/dist/components/upagraha-table.d.ts.map +0 -1
  307. package/dist/components/upagraha-table.js.map +0 -7
  308. package/dist/components/vastu-mandala.d.ts.map +0 -1
  309. package/dist/components/vastu-mandala.js.map +0 -7
  310. package/dist/components/vedic-aspects.d.ts.map +0 -1
  311. package/dist/components/vedic-aspects.js.map +0 -7
  312. package/dist/components/vedic-daily.d.ts.map +0 -1
  313. package/dist/components/vedic-daily.js.map +0 -7
  314. package/dist/components/vedic-kundli.d.ts.map +0 -1
  315. package/dist/components/vedic-kundli.js.map +0 -7
  316. package/dist/components/vedic-planets-table.d.ts.map +0 -1
  317. package/dist/components/vedic-planets-table.js.map +0 -7
  318. package/dist/components/western-planets-table.d.ts.map +0 -1
  319. package/dist/components/western-planets-table.js.map +0 -7
  320. package/dist/components/yoga-list.d.ts.map +0 -1
  321. package/dist/components/yoga-list.js.map +0 -7
  322. package/dist/components/zodiac-card.d.ts.map +0 -1
  323. package/dist/components/zodiac-card.js.map +0 -7
  324. package/dist/generated/tool-components.d.ts.map +0 -1
  325. package/dist/index.cjs.map +0 -7
  326. package/dist/index.d.ts.map +0 -1
  327. package/dist/index.js.map +0 -7
  328. package/dist/jsx.cjs.map +0 -7
  329. package/dist/jsx.d.ts.map +0 -1
  330. package/dist/jsx.js.map +0 -7
  331. package/dist/load-ui.d.ts.map +0 -1
  332. package/dist/load-ui.js.map +0 -7
  333. package/dist/tool-component.cjs.map +0 -7
  334. package/dist/tool-component.d.ts.map +0 -1
  335. package/dist/tool-component.js.map +0 -7
  336. package/dist/types/index.d.ts.map +0 -1
  337. package/dist/types/types.gen.d.ts.map +0 -1
  338. package/dist/utils/compact.d.ts.map +0 -1
  339. package/dist/utils/tool-component.d.ts.map +0 -1
package/AGENTS.md CHANGED
@@ -4,11 +4,11 @@ This file teaches AI coding agents (Claude Code, Cursor, Copilot, Codex, Gemini
4
4
 
5
5
  This file ships inside `@roxyapi/ui`, `@roxyapi/ui-react`, and `@roxyapi/ui-vue` on npm. After install, read it at `node_modules/@roxyapi/ui/AGENTS.md`.
6
6
 
7
- Live preview: <https://roxyapi.github.io/ui/>. Source of truth for component types: the combined OpenAPI spec at `https://roxyapi.com/api/v2/openapi.json`, regenerated into `packages/ui/src/types/types.gen.ts`. Per-product specs live at `https://roxyapi.com/api/v2/{slug}/openapi.json`.
7
+ Live preview: <https://roxyapi.com/ui>. Source of truth for component types: the combined OpenAPI spec at `https://roxyapi.com/api/v2/openapi.json`, regenerated into the response types every package exports. Per-product specs live at `https://roxyapi.com/api/v2/{slug}/openapi.json`.
8
8
 
9
9
  ## Identity
10
10
 
11
- Roxy UI is the official web component library for the RoxyAPI catalog. Components and helpers cover Western astrology, Vedic astrology, forecast, Human Design, Chinese astrology, feng shui, numerology, tarot, biorhythm, I Ching, crystals, dreams, angel numbers, with the location helper for geocoding. New endpoints regenerate component types automatically.
11
+ Roxy UI is the official web component library for the RoxyAPI catalog. Components and helpers cover Western astrology, Vedic astrology, forecast, Human Design, Chinese astrology, feng shui, Mesoamerican astrology, Vastu, numerology, Kabbalah, tarot, biorhythm, Ayurveda, I Ching, crystals, dreams, angel numbers, with the location helper for geocoding. New endpoints regenerate component types automatically.
12
12
 
13
13
  ## Decision tree for picking a component
14
14
 
@@ -169,7 +169,7 @@ element.data = data;
169
169
 
170
170
  Every chart endpoint (Western, Vedic, KP, synastry, transits, dasha, dosha, panchang) needs `latitude`, `longitude`, and `timezone`. Never ask the user to type coordinates. Call `/location/search` first, then feed the result into the chart endpoint.
171
171
 
172
- Two endpoints take TWO locations, and they name them differently. `POST /astrology/synastry`, `/astrology/composite-chart`, `/vedic-astrology/compatibility` and `/human-design/connection` nest a full location per person (`person1` / `person2`, or `personA` / `personB`). `POST /astrology/relocation-chart` instead takes `birthLatitude`, `birthLongitude`, `relocationLatitude`, `relocationLongitude` at the top level with a single `timezone`, which is the BIRTH timezone: relocating does not move the birth moment. `<roxy-endpoint-form>` renders a separate city search for each location automatically, so self-fetch mode needs no extra work.
172
+ Some endpoints take TWO locations, and they name them in two different ways. `POST /astrology/synastry`, `/astrology/composite-chart`, `/vedic-astrology/compatibility` and `/human-design/connection` nest a full location per person (`person1` / `person2`, or `personA` / `personB`). `POST /astrology/relocation-chart` instead takes `birthLatitude`, `birthLongitude`, `relocationLatitude`, `relocationLongitude` at the top level with a single `timezone`, which is the BIRTH timezone: relocating does not move the birth moment. `<roxy-endpoint-form>` renders a separate city search for each location automatically, so self-fetch mode needs no extra work.
173
173
 
174
174
  ```ts
175
175
  // Right
@@ -182,7 +182,7 @@ const { data: chart } = await roxy.astrology.generateNatalChart({
182
182
 
183
183
  ### 3. Timezone format inconsistency
184
184
 
185
- Every chart endpoint accepts `timezone` as either a decimal-hour offset (`5.5` for IST, `-5` for EST) or an IANA name (`'Asia/Kolkata'`, `'America/New_York'`). The decimal form is what `/location/search` returns; the IANA form is correct over DST boundaries. Pick one and stay consistent in a single integration. Mixing them does not break the API but makes the bug surface area larger.
185
+ Every chart endpoint accepts `timezone` as either a decimal-hour offset (`5.5` for IST, `-5` for EST) or an IANA name (`'Asia/Kolkata'`, `'America/New_York'`). `/location/search` returns both, `timezone` as the IANA name and `utcOffset` as the decimal hours; the IANA form is correct over DST boundaries. Pick one and stay consistent in a single integration. Mixing them does not break the API but makes the bug surface area larger.
186
186
 
187
187
  ### 4. Secret key in the browser
188
188
 
@@ -195,16 +195,21 @@ const roxy = createRoxy(process.env.ROXY_API_KEY!);
195
195
 
196
196
  For direct client-side calls, use a **publishable key** (`pk_live_*` / `pk_test_*`) instead. Publishable keys are browser-safe: mint one at `roxyapi.com/account`, register the origins you embed on, and the API gateway returns 403 for any other origin. See the client-side pattern below.
197
197
 
198
- ### 5. Missing `'use client'` in Next.js App Router
198
+ ### 5. Next.js App Router: render from a Server Component
199
199
 
200
- The React components in `@roxyapi/ui-react` mount Custom Elements, which need the DOM. In the App Router, files that import them must declare `'use client'` at the top. Server Components can fetch with the SDK; the client component renders.
200
+ Every component in `@roxyapi/ui-react` ships as a client boundary, so a Server Component imports it and passes `data` directly, with no `'use client'` file of its own. The server fetches with the SDK, the markup is server rendered, and the element hydrates in the browser. Add `'use client'` only to a file that holds state or passes an event handler.
201
201
 
202
202
  ```tsx
203
- // app/chart-view.tsx
204
- 'use client';
203
+ // app/page.tsx (Server Component)
204
+ import { createRoxy } from '@roxyapi/sdk';
205
205
  import { RoxyNatalChart } from '@roxyapi/ui-react';
206
206
 
207
- export default function ChartView({ data }) {
207
+ const roxy = createRoxy(process.env.ROXY_API_KEY!);
208
+
209
+ export default async function Page() {
210
+ const { data } = await roxy.astrology.generateNatalChart({
211
+ body: { date: '1990-01-15', time: '14:30:00', latitude: 40.71, longitude: -74.01, timezone: -5 },
212
+ });
208
213
  return <RoxyNatalChart data={data} />;
209
214
  }
210
215
  ```
@@ -239,7 +244,7 @@ Several components select a view, mode, or chart layout in addition to `data`. T
239
244
  <RoxyPanchangTable data={panchang} detail="detailed" />
240
245
  ```
241
246
 
242
- The full set: `RoxyNatalChart` `houseSystem`, `RoxyHoroscopeCard` `period` and `layout`, `RoxyMoonPhase` `mode`, `RoxyZodiacCard` `mode`, `RoxyKuaCard` `mode`, `RoxyAlmanacDay` `mode`, `RoxyFlyingStarChart` `mode`, `RoxyCompatibilityCard` `mode`, `RoxyVedicKundli` and `RoxyDivisionalChart` `chartStyle`, `RoxyPanchangTable` `detail`, `RoxyDashaTimeline` `period`, `RoxyDoshaCard` `type`, `RoxyNumerologyCard` `type`, `RoxyTarotSpread` `spread`, `RoxyBiorhythmChart` `mode`, `RoxyHexagram` `mode`. Outside React and Vue, set the same value as a kebab-case attribute or a JS property on the element (for example `chart-style="south"` or `el.chartStyle = 'south'`).
247
+ The full set: `RoxyHoroscopeCard` `period` and `layout`, `RoxyMoonPhase` `mode`, `RoxyZodiacCard` `mode`, `RoxyKuaCard` `mode`, `RoxyMayanDaySign` `mode`, `RoxyVastuMandala` `mode`, `RoxyAlmanacDay` `mode`, `RoxyFlyingStarChart` `mode`, `RoxyCompatibilityCard` `mode`, `RoxyVedicKundli` `chartStyle` and `chartReference`, `RoxyDivisionalChart` `chartStyle`, `RoxyPanchangTable` `detail`, `RoxyDashaTimeline` `period`, `RoxyDoshaCard` `type`, `RoxyNumerologyCard` `type`, `RoxyTarotSpread` `spread`, `RoxyBiorhythmChart` `mode`. `RoxyNatalChart` reads its house system and `RoxyHexagram` its variant from the response itself, so neither takes such a prop. Outside React and Vue, set the same value as a kebab-case attribute or a JS property on the element (for example `chart-style="south"` or `el.chartStyle = 'south'`).
243
248
 
244
249
  ### 6c. Vue and Nuxt
245
250
 
@@ -256,7 +261,7 @@ import { RoxyVedicKundli, RoxyLocationSearch } from '@roxyapi/ui-vue';
256
261
  </template>
257
262
  ```
258
263
 
259
- In Nuxt, render these in a client context (`<ClientOnly>` or a `.client.vue` component): they mount Custom Elements and need the DOM, the same constraint as `'use client'` in the Next.js App Router.
264
+ In Nuxt, render them in any page or component, server rendered or not: the markup renders on the server and the element hydrates in the browser, with no `<ClientOnly>` wrapper.
260
265
 
261
266
  ### 7. Local response interface drift
262
267
 
@@ -322,21 +327,21 @@ ensureScriptLoaded(ROXY_UI_VERSION, '/assets/roxy-ui'); // your origin
322
327
 
323
328
  The loader keeps a single shared promise, so the first call wins and every component reuses it.
324
329
 
325
- ### 12. Theming: set the accent, not the shades
330
+ ### 12. Theming: set a base, not the shades
326
331
 
327
- Set `--roxy-accent` and you are done. The text-safe accent (`--roxy-accent-ink`) and the focus ring (`--roxy-ring`) are DERIVED from it, so one declaration rebrands every chart, table and card.
332
+ **Components take every colour, size, radius, space and font from `--roxy-*` tokens, so restyle through the tokens and never by overriding the internals of a component.** A handful of tokens are bases and the rest derive from them, so one declaration restyles the library.
328
333
 
329
334
  ```css
330
335
  :root { --roxy-accent: #8b5cf6; }
331
336
  ```
332
337
 
333
- If you theme dark differently, set it in your dark block too, exactly as you would for any design-token system:
338
+ The text-safe accent (`--roxy-accent-ink`) and the focus ring (`--roxy-ring`) derive from `--roxy-accent`. If you theme dark differently, set it in your dark block too, exactly as you would for any design-token system:
334
339
 
335
340
  ```css
336
341
  [data-theme='dark'] { --roxy-accent: #a78bfa; }
337
342
  ```
338
343
 
339
- If the page is not white or near black, also set `--roxy-surface`, the card a component paints, to the surface you place it on (and `--roxy-secondary`, the label ink, if your palette is warm): `--roxy-bg` alone leaves the card at its default sheet. Do not hardcode `--roxy-accent-ink`: you will pin it to one hue and it will stop tracking your brand. Dark mode already works with no wiring, via `prefers-color-scheme`, a `.dark` class, or `[data-theme='dark']` on any ancestor.
344
+ If the page is not white or near black, set `--roxy-bg` and `--roxy-fg` to your page colour and ink: the card, the label ink, the muted text and every hairline derive from those two. `--roxy-font-sans` is unset by default, so components inherit your page font until you set it; `--roxy-radius` sets every corner. Do not hardcode `--roxy-accent-ink`: you will pin it to one hue and it will stop tracking your brand. To size a drawn chart, set `--roxy-chart-max-width` on it or on `:root`. Dark mode already works with no wiring, via `prefers-color-scheme`, a `.dark` class, or `[data-theme='dark']` on any ancestor. Every token, the presets and the drawing hooks are in `THEMING.md`.
340
345
 
341
346
  ## Integration patterns
342
347
 
@@ -396,7 +401,7 @@ export function BirthChartView() {
396
401
  }
397
402
  ```
398
403
 
399
- For a static chart with no picker, fetch in a Server Component and pass `data` to a client component (Pattern 6).
404
+ For a static chart with no picker, fetch in a Server Component and render the component there (Pattern 6).
400
405
 
401
406
  ### Pattern 3: schema-driven form
402
407
 
@@ -454,7 +459,7 @@ In React, the same props are typed: `<RoxyNatalChart publishableKey={process.env
454
459
 
455
460
  **One tag, no element wiring.** For the simplest embed, load `dist/cdn/widgets.js` and drop a `<div data-roxy-widget="{slug}" data-publishable-key="pk_live_...">`. The script mounts the matching component from a generated slug map: with every path parameter supplied as a `data-*` attribute (`data-sign`, `data-id`) it fetches on mount, otherwise it renders the same input form. A second `data-*` attribute picks a variant (`data-period`, `data-mode`, `data-type`, `data-spread`). To keep every key on your own server instead, drop the publishable key and give the tag `data-submit-url`: the widget renders the form and routes every request there, the city search included, and `data-location-url` sends the city search somewhere else. `data-submit-context` rides along with each proxied request.
456
461
 
457
- **Theme every widget in one link.** Add `<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@roxyapi/ui@latest/dist/styles/themes/practitioner.css">` for a warm rosewater serif look, or set the `--roxy-font-display` token alone to swap result headings to a display face (it defaults to the body font, so nothing changes until you set it). See [THEMING.md](packages/ui/THEMING.md).
462
+ **Theme every widget in one link.** Add `<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@roxyapi/ui@latest/dist/styles/themes/practitioner.css">` for the Rosewater preset, a warm serif look (or `eucalyptus.css`, `kiln.css`, `moonlit.css`, or `celeste.css` for the roxyapi.com look, from the same folder; `components-catalog.json` lists every preset under `themes`), or set the `--roxy-font-display` token alone to swap result headings to a display face (it defaults to the body font, so nothing changes until you set it). See [THEMING.md](packages/ui/THEMING.md).
458
463
 
459
464
  ### Pattern 5: MCP tool-call response
460
465
 
@@ -504,12 +509,12 @@ No field renames. No glue code. Use the decision tree above to pick the componen
504
509
 
505
510
  ### Pattern 6: Next.js RSC streaming
506
511
 
507
- Server fetches with the secret key, client renders with the React component. The API key never crosses the network.
512
+ Server fetches with the secret key and renders the React component in the same Server Component. The API key never crosses the network.
508
513
 
509
514
  ```tsx
510
515
  // app/page.tsx (Server Component)
511
516
  import { createRoxy } from '@roxyapi/sdk';
512
- import BirthChartView from './birth-chart-view';
517
+ import { RoxyVedicKundli } from '@roxyapi/ui-react';
513
518
 
514
519
  const roxy = createRoxy(process.env.ROXY_API_KEY!);
515
520
 
@@ -517,16 +522,6 @@ export default async function Page() {
517
522
  const { data } = await roxy.vedicAstrology.generateBirthChart({
518
523
  body: { date: '1990-01-15', time: '14:30:00', latitude: 19.07, longitude: 72.88, timezone: 5.5 },
519
524
  });
520
- return <BirthChartView data={data} />;
521
- }
522
- ```
523
-
524
- ```tsx
525
- // app/birth-chart-view.tsx (Client Component)
526
- 'use client';
527
- import { RoxyVedicKundli } from '@roxyapi/ui-react';
528
-
529
- export default function BirthChartView({ data }: { data: unknown }) {
530
525
  return <RoxyVedicKundli data={data} />;
531
526
  }
532
527
  ```
@@ -609,7 +604,7 @@ Ask for the response language AND load the matching catalogue, and the whole car
609
604
 
610
605
  ## Theming and dark mode
611
606
 
612
- Components react to three signals in priority order. No events to dispatch. No JS bridge to write. The CDN bundle (`dist/cdn/roxy-ui.js`) auto-loads the design tokens, so a single script tag yields full theming and dark mode with nothing else to add. The npm and React paths inherit the same tokens through the components; only set up `tokens.css` yourself if you import per component without the full bundle.
607
+ Components react to three signals in priority order. No events to dispatch. No JS bridge to write. Every component loads the design tokens when it connects, so a single script tag or a single import yields full theming and dark mode with nothing else to add.
613
608
 
614
609
  | Signal | Where | Effect |
615
610
  |---|---|---|
@@ -688,7 +683,7 @@ That table is the shared vocabulary, not the whole list. **`components-catalog.j
688
683
  ## Rules every agent must follow
689
684
 
690
685
  - Always call `/location/search` first before any chart endpoint that takes latitude, longitude, or timezone. Use `<roxy-location-search>` for the input UI.
691
- - Pass the response object directly. Components are stateless; they do not fetch internally except for `<roxy-location-search>`, `<roxy-endpoint-form>`, and the widgets auto-mount script.
686
+ - Pass the response object directly. Components are stateless; they fetch only in self-fetch mode (a `publishable-key` or a `submit-url`, Pattern 4), plus `<roxy-location-search>`, `<roxy-endpoint-form>`, and the widgets auto-mount script.
692
687
  - Use the typed SDK from `@roxyapi/sdk` so prop shapes match the spec automatically.
693
688
  - Theming is CSS custom properties on `:root` or per element. Switch light and dark via `data-theme` on any ancestor (see the table above). Do not write Tailwind classes inside the components; the shadow DOM ignores them.
694
689
  - Honor reduced motion. The library already respects `prefers-reduced-motion: reduce` and the `--roxy-motion-duration` variable.
@@ -697,7 +692,7 @@ That table is the shared vocabulary, not the whole list. **`components-catalog.j
697
692
 
698
693
  ## Domain ordering
699
694
 
700
- When listing domains in user-visible copy, use the canonical order: Western astrology, Vedic astrology, forecast, human design, Chinese astrology, feng shui, numerology, tarot, biorhythm, I Ching, crystals, dreams, angel numbers. Sort by this list and skip any domain the catalog does not carry a component for. Location is utility, not a selling domain. The `domain` field in `components-catalog.json` carries the same names, so sort by this list rather than by whatever order you discovered components in.
695
+ When listing domains in user-visible copy, use the canonical order: Western astrology, Vedic astrology, forecast, human design, Chinese astrology, feng shui, Mesoamerican astrology, Vastu, numerology, Kabbalah, tarot, biorhythm, Ayurveda, I Ching, crystals, dreams, angel numbers. Sort by this list and skip any domain the catalog does not carry a component for. Location is utility, not a selling domain. The `domain` field in `components-catalog.json` carries short forms of these names (`Western`, `Vedic`, `Feng Shui`), so sort by this list rather than by whatever order you discovered components in.
701
696
 
702
697
  ## What not to ship
703
698
 
@@ -712,8 +707,8 @@ When listing domains in user-visible copy, use the canonical order: Western astr
712
707
 
713
708
  ## Where to look next
714
709
 
715
- - **Machine-readable catalog, and the one to reach for first**: <https://cdn.jsdelivr.net/npm/@roxyapi/ui@latest/components-catalog.json>. Every component with its `tag`, `pascal` name, `domain`, what it renders, the `endpoints` it consumes, its `parts`, and copy-paste `snippets`. Fetch and query it instead of scraping the tables in this file.
710
+ - **Machine-readable catalog, and the one to reach for first**: <https://cdn.jsdelivr.net/npm/@roxyapi/ui@latest/components-catalog.json>. Every component with its `tag`, `pascal` name, `domain`, what it renders, the `endpoints` it consumes, its markup `attributes`, its `parts`, and copy-paste `snippets`, plus the theme presets under `themes`. Fetch and query it instead of scraping the tables in this file.
716
711
  - Token reference: `THEMING.md`, beside this file in the package
717
712
  - Endpoint reference: <https://roxyapi.com/api-reference>
718
713
  - Integration guide: <https://roxyapi.com/docs/ui>
719
- - Live preview of every component: <https://roxyapi.github.io/ui/>
714
+ - Live preview of every component: <https://roxyapi.com/ui>
package/README.md CHANGED
@@ -7,19 +7,19 @@
7
7
  # @roxyapi/ui-react
8
8
 
9
9
  [![npm](https://img.shields.io/npm/v/@roxyapi/ui-react)](https://www.npmjs.com/package/@roxyapi/ui-react)
10
- [![Live preview](https://img.shields.io/badge/live%20preview-roxyapi.github.io%2Fui-7c3aed?logo=github)](https://roxyapi.github.io/ui/)
10
+ [![Live demo](https://img.shields.io/badge/live%20demo-roxyapi.com-7c3aed)](https://roxyapi.com/ui)
11
11
  [![Docs](https://img.shields.io/badge/docs-roxyapi.com-blue)](https://roxyapi.com/ui)
12
12
  [![API Reference](https://img.shields.io/badge/api%20reference-roxyapi.com-blue)](https://roxyapi.com/api-reference)
13
13
  [![Pricing](https://img.shields.io/badge/pricing-roxyapi.com-blue)](https://roxyapi.com/pricing)
14
14
  [![License](https://img.shields.io/npm/l/@roxyapi/ui)](LICENSE)
15
15
 
16
- > Live demo: **<https://roxyapi.github.io/ui/>**. Every component rendered against real API responses, light + dark, with the React/shadcn install command per card.
16
+ > Live demo: **<https://roxyapi.com/ui>**. Every component rendered against real API responses, light + dark, with the React/shadcn install command per card.
17
17
 
18
18
  UI component library for the RoxyAPI catalog. Drop astrology, tarot, numerology, and every other RoxyAPI domain into any framework with one script tag or one npm install. Stateless components, typed responses, theme-agnostic. Beautiful defaults out of the box; the look is yours after that.
19
19
 
20
20
  ## Theme-agnostic, every component
21
21
 
22
- Light, dark, your brand. Set `--roxy-accent` on `:root` and every component follows: the text-safe accent and the focus ring are derived from it, so one line rebrands the whole library. If you theme dark differently, set it in your dark block too, exactly as you would for any design-token system. No class overrides, no rebuild, no Tailwind required. Customize live at <https://roxyapi.github.io/ui/> using the **Customize** dialog (every token, colour picker, copy-paste snippet).
22
+ Light, dark, your brand. A handful of base tokens style the whole library and everything else derives from them, so one line restyles every component: `--roxy-accent` moves every accent mark, accent text and focus ring, `--roxy-font-sans` every heading and label, `--roxy-radius` every corner. The default look adapts to your page: it inherits your font, keeps the ink neutral and the borders hairline, and spends one restrained accent. No class overrides, no rebuild, no Tailwind required. Customize live at <https://roxyapi.com/ui> with the **Theme** menu and the **Customize colors** dialog (a picker per colour token, a copy-paste snippet).
23
23
 
24
24
  <table>
25
25
  <tr>
@@ -54,44 +54,36 @@ Light, dark, your brand. Set `--roxy-accent` on `:root` and every component foll
54
54
 
55
55
  ```css
56
56
  :root {
57
- /* Surface. --roxy-surface is the card a component paints, so match it to the
58
- surface you place the component on; --roxy-bg is the field behind an input. */
59
- --roxy-surface: #ffffff;
57
+ /* Page and ink. The card, the secondary ink, the muted text and every hairline derive from these two. */
60
58
  --roxy-bg: #ffffff;
61
59
  --roxy-fg: #0a0a0a;
62
- --roxy-secondary: #475569;
63
- --roxy-muted: #71717a;
64
- --roxy-border: #e4e4e7;
65
60
 
66
- /* Brand. Set the accent; the text-safe shade (--roxy-accent-ink) and the focus
67
- ring (--roxy-ring) are derived from it, so one line rebrands everything. */
68
- --roxy-accent: #f59e0b;
61
+ /* Brand. The text-safe shade (--roxy-accent-ink) and the focus ring (--roxy-ring) derive from it. */
62
+ --roxy-accent: #4a6297;
69
63
 
70
- /* Status (each has a -fg variant for WCAG-AA text contrast) */
64
+ /* Status. Each derives its own -fg ink for text on a tint of it. */
71
65
  --roxy-success: #16a34a;
72
66
  --roxy-warning: #ea580c;
73
67
  --roxy-danger: #dc2626;
74
68
  --roxy-info: #0284c7;
75
69
 
76
- /* Shape + motion */
77
- --roxy-radius-md: 8px;
78
- --roxy-shadow-md: 0 4px 6px -1px rgba(0,0,0,0.08), 0 2px 4px -2px rgba(0,0,0,0.06);
70
+ /* Type, space, shape, motion. Leave the font unset to keep your page font. */
71
+ --roxy-font-sans: 'Inter', system-ui;
72
+ --roxy-text-base: 1rem;
73
+ --roxy-space-unit: 0.25rem;
74
+ --roxy-radius: 6px;
79
75
  --roxy-motion-duration: 200ms; /* 0ms when prefers-reduced-motion */
80
76
  }
81
77
 
82
78
  [data-theme="dark"] {
83
- --roxy-surface: #18181b;
84
79
  --roxy-bg: #0a0a0a;
85
80
  --roxy-fg: #fafafa;
86
- --roxy-secondary: #94a3b8;
87
- --roxy-muted: #a1a1aa;
88
- --roxy-border: #27272a;
89
81
  /* Only if you want a different accent in dark. Omit it to keep the default. */
90
- --roxy-accent: #fbbf24;
82
+ --roxy-accent: #92aade;
91
83
  }
92
84
  ```
93
85
 
94
- Pick a tone, set the vars, every chart and card follows. Full token reference at [THEMING.md](https://github.com/RoxyAPI/ui/blob/main/packages/ui/THEMING.md). Live tweaker on the [demo site](https://roxyapi.github.io/ui/). See the [FAQ](#faq) for switching between light and dark at runtime.
86
+ Pick a tone, set the bases, every chart and card follows. Named presets ship as one stylesheet each (Rosewater, Eucalyptus, Kiln, Moonlit, and Celeste, the roxyapi.com look). Full token reference, the presets and the drawing hooks at [THEMING.md](https://github.com/RoxyAPI/ui/blob/main/packages/ui/THEMING.md). See the [FAQ](#faq) for switching between light and dark at runtime.
95
87
 
96
88
  ## Gallery
97
89
 
@@ -290,7 +282,7 @@ Every chart, table, and card adapts to light and dark automatically. Hover any i
290
282
  </tr>
291
283
  </table>
292
284
 
293
- Tables, cards, forms, and helper components in the [live demo](https://roxyapi.github.io/ui/).
285
+ Tables, cards, forms, and helper components in the [live demo](https://roxyapi.com/ui).
294
286
 
295
287
  ## Why developers use Roxy UI
296
288
 
@@ -320,7 +312,7 @@ Then expand into natal charts, kundli, dasha, tarot, and every other domain. The
320
312
 
321
313
  > **Pass `data`, not the envelope.** The SDK returns `{ data, error, request, response }`. Pass `data`, or the component renders `[object Object]`. This is the most common integration bug.
322
314
 
323
- The key stays on your server. Vanilla HTML or a server-rendered page fetches the same way, then [inlines the JSON into the component](#server-rendered-no-javascript-wiring): no build step, no key in the browser. Try every component in the [live demo](https://roxyapi.github.io/ui/), each with Preview, Code, and shadcn tabs and a live color customizer.
315
+ The key stays on your server. Vanilla HTML or a server-rendered page fetches the same way, then [inlines the JSON into the component](#server-rendered-no-javascript-wiring): no build step, no key in the browser. Try every component in the [live demo](https://roxyapi.com/ui), each with Preview, Code, and shadcn tabs and a live color customizer.
324
316
 
325
317
  ## Install
326
318
 
@@ -331,8 +323,6 @@ npm install @roxyapi/ui-react
331
323
  One package. No peer install, no stylesheet to link, no Tailwind, no config change. Every response type is exported from the package, so nothing else is needed to be fully typed.
332
324
 
333
325
  ```tsx
334
- 'use client';
335
-
336
326
  import { RoxyNatalChart, type NatalChartResponse } from '@roxyapi/ui-react';
337
327
 
338
328
  export function Chart({ data }: { data: NatalChartResponse }) {
@@ -368,7 +358,7 @@ document.querySelector('roxy-vedic-kundli')!.data = kundli;
368
358
 
369
359
  Always call `/location/search` first. Every chart endpoint expects latitude, longitude, and timezone.
370
360
 
371
- > **Timezone format.** RoxyAPI accepts both forms: a decimal-hour offset (`5.5` for IST, `-5` for EST) or an IANA name (`'Asia/Kolkata'`, `'America/New_York'`). Pick one and stay consistent. The decimal form is shorter and what `/location/search` returns; examples on this page use it. The IANA form is correct over DST boundaries when historical accuracy matters.
361
+ > **Timezone format.** RoxyAPI accepts both forms: a decimal-hour offset (`5.5` for IST, `-5` for EST) or an IANA name (`'Asia/Kolkata'`, `'America/New_York'`). Pick one and stay consistent. `/location/search` returns both, `timezone` as the IANA name and `utcOffset` as the decimal hours; the decimal form is shorter and the examples on this page use it. The IANA form is correct over DST boundaries when historical accuracy matters.
372
362
 
373
363
  ## Render an AI tool result
374
364
 
@@ -392,7 +382,7 @@ In React, `pascal` is the export name, so a namespace import renders it directly
392
382
 
393
383
  ```tsx
394
384
  import * as RoxyUI from '@roxyapi/ui-react';
395
- import { componentForTool } from '@roxyapi/ui-react';
385
+ import { componentForTool } from '@roxyapi/ui-react/tool-component';
396
386
 
397
387
  export function ToolWidget({ toolName, output }: { toolName: string; output: string }) {
398
388
  const found = componentForTool(toolName);
@@ -464,7 +454,7 @@ This is how the WordPress plugin renders: PHP fetches the response server-side,
464
454
  import '@roxyapi/ui-react/jsx';
465
455
 
466
456
  export default function Page() {
467
- return <roxy-tarot-spread heading="Your reading" hide-readings />;
457
+ return <roxy-tarot-spread spread="three-card" hide-readings />;
468
458
  }
469
459
  ```
470
460
 
@@ -826,7 +816,7 @@ Two ways to feed a component, and the key rule for each:
826
816
 
827
817
  Set `ROXY_API_KEY` to your secret key in your server env for the server-side SDK examples on this page. For self-fetch embedding with no backend, use a publishable key (see the fully client-side pattern in [`AGENTS.md`](AGENTS.md)).
828
818
 
829
- The self-fetch form renders spec-driven inputs (a zodiac tile picker, a boolean toggle, native date and time, a city search wherever the request takes coordinates or a timezone, and one card per record for a request that takes several, with `Add` and `Remove` inside the bounds the API declares), collapses optional fields under one Advanced disclosure, reads a `lang` attribute for localized responses, and prints what the API rejects under the input it rejected, marked and summarised by label. When the page routes RoxyAPI traffic through your own server instead, `submit-url` alone names the route that answers every request the component makes, the city search included, so no key of any kind reaches the browser; add `location-url` only to send the city search somewhere else. `submit-context` takes a JSON object of your own and hands it to that route as `context` beside the request, which is where a page attaches its own verification data to a submission. For the simplest embed, load `dist/cdn/widgets.js` and drop one `<div data-roxy-widget="{slug}" data-publishable-key="pk_live_...">`: with the required attributes present it fetches on mount, otherwise it renders the form. That tag takes `data-submit-url`, `data-location-url` and `data-submit-context` too, so a one-tag embed can route every request through your server and carry no key at all. A single `<link>` to the [practitioner theme preset](https://cdn.jsdelivr.net/npm/@roxyapi/ui@latest/dist/styles/themes/practitioner.css) restyles every widget on the page. A list that shows one entry per tile (the dream search, the crystal grid) opens the picked entry in place under its tiles when it holds the key, and every pick also emits `roxy-symbol-select` for a page that pairs its own card. Any element that carries a key exposes `load({ path, method, query })`, which fetches one request into it and renders the result as assigned data.
819
+ The self-fetch form renders spec-driven inputs (a zodiac tile picker, a boolean toggle, native date and time, a city search wherever the request takes coordinates or a timezone, and one card per record for a request that takes several, with `Add` and `Remove` inside the bounds the API declares), collapses optional fields under one Advanced disclosure, reads a `lang` attribute for localized responses, and prints what the API rejects under the input it rejected, marked and summarised by label. When the page routes RoxyAPI traffic through your own server instead, `submit-url` alone names the route that answers every request the component makes, the city search included, so no key of any kind reaches the browser; add `location-url` only to send the city search somewhere else. `submit-context` takes a JSON object of your own and hands it to that route as `context` beside the request, which is where a page attaches its own verification data to a submission. For the simplest embed, load `dist/cdn/widgets.js` and drop one `<div data-roxy-widget="{slug}" data-publishable-key="pk_live_...">`: with the required attributes present it fetches on mount, otherwise it renders the form. That tag takes `data-submit-url`, `data-location-url` and `data-submit-context` too, so a one-tag embed can route every request through your server and carry no key at all. A single `<link>` to a theme preset (Rosewater, Eucalyptus, Kiln, Moonlit or Celeste, from the [Distribution](#distribution) table) restyles every widget on the page. A list that shows one entry per tile (the dream search, the crystal grid) opens the picked entry in place under its tiles when it holds the key, and every pick also emits `roxy-symbol-select` for a page that pairs its own card. Any element that carries a key exposes `load({ path, method, query })`, which fetches one request into it and renders the result as assigned data.
830
820
 
831
821
  ## Distribution
832
822
 
@@ -838,9 +828,9 @@ The self-fetch form renders spec-driven inputs (a zodiac tile picker, a boolean
838
828
  | jsDelivr CDN (full bundle) | `cdn.jsdelivr.net/npm/@roxyapi/ui@latest/dist/cdn/roxy-ui.js` |
839
829
  | jsDelivr CDN (per component) | `cdn.jsdelivr.net/npm/@roxyapi/ui@latest/dist/cdn/components/{name}.js` |
840
830
  | Widgets auto-mount (one tag, browser keys) | `cdn.jsdelivr.net/npm/@roxyapi/ui@latest/dist/cdn/widgets.js` |
841
- | Practitioner theme preset (one link, warm rosewater) | `cdn.jsdelivr.net/npm/@roxyapi/ui@latest/dist/styles/themes/practitioner.css` |
831
+ | Theme presets (one link each, by key: `practitioner` for Rosewater, `eucalyptus`, `kiln`, `moonlit`, `celeste`) | `cdn.jsdelivr.net/npm/@roxyapi/ui@latest/dist/styles/themes/{key}.css` |
842
832
  | shadcn registry | `npx shadcn@latest add https://cdn.jsdelivr.net/gh/RoxyAPI/ui@latest/registry/{name}.json` |
843
- | Components catalog (JSON: every component, domain, and endpoint) | `cdn.jsdelivr.net/npm/@roxyapi/ui@latest/components-catalog.json` |
833
+ | Components catalog (JSON: every component, its domain, endpoints, attributes and parts, and the theme presets) | `cdn.jsdelivr.net/npm/@roxyapi/ui@latest/components-catalog.json` |
844
834
 
845
835
  ### Serve from your own domain
846
836
 
@@ -947,12 +937,12 @@ Every file a page loads ships in the package `dist` folder, and each [GitHub rel
947
937
 
948
938
  ## Theming
949
939
 
950
- Every component reads from `--roxy-*` CSS custom properties. Override globally on `:root` or per element. Light + dark defaults, container queries for responsive layouts at 320px and up. The CDN bundle auto-loads these tokens, and your own declarations always win over the defaults: they are declared at zero specificity and inside the `roxy` cascade layer, so one plain line beats them in both modes, with no `!important` and no extra selector weight, and it works from inside a layer of your own. See [THEMING.md](https://github.com/RoxyAPI/ui/blob/main/packages/ui/THEMING.md) for the full token reference and for the one rule a page that scopes its theme to a wrapper has to know.
940
+ Every component takes every colour, size, radius, space and font from `--roxy-*` CSS custom properties, and most of them derive from a handful of bases, so restyle through the tokens and never by overriding the internals of a component. Override globally on `:root` or per element. Light + dark defaults, container queries for responsive layouts at 320px and up. Every component loads the default tokens when it connects, from npm and the CDN alike, and your own declarations always win over the defaults: they are declared at zero specificity and inside the `roxy` cascade layer, so one plain line beats them in both modes, with no `!important` and no extra selector weight, and it works from inside a layer of your own. See [THEMING.md](https://github.com/RoxyAPI/ui/blob/main/packages/ui/THEMING.md) for the full token reference and for the one rule a page that scopes its theme to a wrapper has to know.
951
941
 
952
942
  ```css
953
943
  :root {
954
944
  --roxy-accent: #6d28d9;
955
- --roxy-radius-md: 12px;
945
+ --roxy-radius: 12px;
956
946
  }
957
947
 
958
948
  roxy-natal-chart {
@@ -1090,18 +1080,9 @@ Chinese is keyed by script rather than by language, so a page declaring `zh-Hant
1090
1080
  - Remote MCP servers per domain at `roxyapi.com/mcp/{domain}`. No local setup. JSON tool-call responses feed straight into the matching component.
1091
1081
  - Use cases agents handle in one prompt: birth chart from city + DOB, daily tarot embed, Vedic kundli matching, numerology life-path card, biorhythm dashboard, daily horoscope by sign, panchang for the day, I Ching three-coin cast.
1092
1082
 
1093
- ## Build anything, fast
1083
+ ## See every component
1094
1084
 
1095
- ```bash
1096
- git clone https://github.com/RoxyAPI/ui.git
1097
- cd ui
1098
- bun install
1099
- bun run build
1100
- bun run preview
1101
- # http://localhost:3001
1102
- ```
1103
-
1104
- Local preview serves `apps/docs/` on port 3001. Same directory and same paths the live demo at <https://roxyapi.github.io/ui/> serves. See [examples](examples/) for vanilla HTML, React, Vue, and WordPress.
1085
+ Every component renders on sample data, light and dark, in every shipped language, at <https://roxyapi.com/ui>. See [examples](examples/) for vanilla HTML, React, Vue, and WordPress.
1105
1086
 
1106
1087
  ## Stack and integrations
1107
1088
 
@@ -1141,28 +1122,26 @@ Persist the choice in `localStorage` from your own code; the components do not o
1141
1122
  <details>
1142
1123
  <summary><strong>How big is each component? What is the bundle cost?</strong></summary>
1143
1124
 
1144
- Every component bundle is under 32 KB gzipped and the full bundle (every component, helpers, base styles, and the inlined design tokens) is under 180 KB gzipped. Both ceilings are enforced in CI on every build, measured on the compressed bytes a browser actually downloads, so a release cannot quietly grow past them. A route that renders one chart pays for one component, not the whole catalog. Pin a concrete version in production for byte-stable cache hits.
1125
+ Every component bundle is at most 32.3 KB gzipped and the full bundle (every component, helpers, base styles, and the inlined design tokens) is under 180 KB gzipped. Both ceilings are enforced in CI on every build, measured on the compressed bytes a browser actually downloads, so a release cannot quietly grow past them. A route that renders one chart pays for one component, not the whole catalog. Pin a concrete version in production for byte-stable cache hits.
1145
1126
  </details>
1146
1127
 
1147
1128
  <details>
1148
1129
  <summary><strong>How tall does each component render on mobile?</strong></summary>
1149
1130
 
1150
- Charts stay square: every wheel and grid component honours `aspect-ratio: 1 / 1` capped at `max-width: 560px`, so at a 390px phone width the chart itself is around 390px tall.
1151
-
1152
- What can grow vertically is the data card around it. `<roxy-natal-chart>` stacks the wheel above the aspect-grid tab, the dignity table, and the planet-reading accordion; the host article on the demo page measures roughly 2100px tall at 390px width because the accordion is fully expanded server-side. Production embeds usually drop the accordion or wrap the chart in a sized container, and the wheel alone fits the fold. Same applies to the synastry chart and the dasha timeline.
1131
+ A drawn chart (a wheel, a kundli, a bodygraph, a compass) keeps its proportions and caps itself at a width that suits it, so on a phone it takes the width of the card. Set `--roxy-chart-max-width` on one element or on `:root` to size it yourself. A grid or table figure spans the card at every width.
1153
1132
 
1154
- Rule of thumb: chart-only components (`<roxy-vedic-kundli>`, `<roxy-divisional-chart>`, `<roxy-ashtakavarga-grid>`, `<roxy-tarot-card>`) stay within their aspect ratio. Components that bundle a wheel plus interpretation copy (`<roxy-natal-chart>`, `<roxy-synastry-chart>`, `<roxy-dasha-timeline>`) grow tall to fit their content. Pick the level of detail by component choice.
1133
+ What grows vertically is the reading around the chart. `<roxy-natal-chart>` stacks the wheel above the aspect grid, the dignity table and the planet readings, and the same holds for the synastry chart and the dasha timeline. Keep the chart and drop the prose with `hide-readings`, or drop any single block with `hide-sections`; see [Chart without the written report](#chart-without-the-written-report).
1155
1134
  </details>
1156
1135
 
1157
1136
  <details>
1158
1137
  <summary><strong>Does this work with Next.js App Router, Remix, Nuxt, SvelteKit, and Astro?</strong></summary>
1159
1138
 
1160
- Yes. The components are standard custom elements; any framework that touches the DOM can mount them. For SSR/RSC frameworks, fetch on the server, pass the response to a client island. Next.js App Router pattern:
1139
+ Yes. The components are standard custom elements; any framework that touches the DOM can mount them. Each React component ships as a client boundary, so a Next.js Server Component fetches and renders it in one file:
1161
1140
 
1162
1141
  ```tsx
1163
1142
  // app/page.tsx (Server Component)
1164
1143
  import { createRoxy } from '@roxyapi/sdk';
1165
- import ChartView from './chart-view';
1144
+ import { RoxyNatalChart } from '@roxyapi/ui-react';
1166
1145
 
1167
1146
  const roxy = createRoxy(process.env.ROXY_API_KEY!);
1168
1147
 
@@ -1170,21 +1149,11 @@ export default async function Page() {
1170
1149
  const { data } = await roxy.astrology.generateNatalChart({
1171
1150
  body: { date: '1990-01-15', time: '14:30:00', latitude: 19.07, longitude: 72.88, timezone: 5.5 },
1172
1151
  });
1173
- return <ChartView data={data} />;
1174
- }
1175
- ```
1176
-
1177
- ```tsx
1178
- // app/chart-view.tsx (Client Component)
1179
- 'use client';
1180
- import { RoxyNatalChart } from '@roxyapi/ui-react';
1181
-
1182
- export default function ChartView({ data }: { data: unknown }) {
1183
1152
  return <RoxyNatalChart data={data} />;
1184
1153
  }
1185
1154
  ```
1186
1155
 
1187
- The server component fetches, the client component renders. The API key never crosses the network. Same shape works in Remix loaders, Nuxt server routes, SvelteKit `+page.server.ts`, and Astro server endpoints.
1156
+ The markup is server rendered and hydrates in the browser. The API key never crosses the network. Nuxt pages render `@roxyapi/ui-vue` the same way, server rendered with no `<ClientOnly>`, and the same fetch shape works in Remix loaders, SvelteKit `+page.server.ts`, and Astro server endpoints.
1188
1157
  </details>
1189
1158
 
1190
1159
  <details>
@@ -1264,17 +1233,17 @@ For CSP, allow `script-src https://cdn.jsdelivr.net` if loading the bundle from
1264
1233
  <details>
1265
1234
  <summary><strong>How does versioning work?</strong></summary>
1266
1235
 
1267
- Semver. Pre-1.0, minor bumps may include breaking changes (we will note them in the changelog). Patch bumps are always backwards-compatible. Pin a concrete version in production code:
1236
+ Semver. Patch and minor releases are backwards compatible: tags, attributes, events, `data` shapes and part names keep working. A major release names every breaking change in its release notes. Pin a concrete version in production code:
1268
1237
 
1269
1238
  ```bash
1270
- npm install @roxyapi/ui@0.15.x
1239
+ npm install @roxyapi/ui@1
1271
1240
  ```
1272
1241
 
1273
1242
  ```html
1274
- <script src="https://cdn.jsdelivr.net/npm/@roxyapi/ui@0.15.0/dist/cdn/roxy-ui.js"></script>
1243
+ <script src="https://cdn.jsdelivr.net/npm/@roxyapi/ui@1.1.1/dist/cdn/roxy-ui.js"></script>
1275
1244
  ```
1276
1245
 
1277
- The `@latest` URL on this page is for paste-friendly marketing; production code should pin.
1246
+ The `@latest` URL on this page is for paste-friendly examples; production code should pin.
1278
1247
  </details>
1279
1248
 
1280
1249
  <details>
@@ -1284,9 +1253,9 @@ Mock `@roxyapi/sdk` at the network boundary so unit tests do not hit the live AP
1284
1253
  </details>
1285
1254
 
1286
1255
  <details>
1287
- <summary><strong>What if I want to fork or own a component?</strong></summary>
1256
+ <summary><strong>Can I own the component file in my repo?</strong></summary>
1288
1257
 
1289
- Use the shadcn registry. The registry drops the React component source and a CSS theme bridge into your repo. Edit anything; the source is yours from that point.
1258
+ Use the shadcn registry. It drops a small typed React file per component into your repo, re-exporting the component from `@roxyapi/ui-react` so it stays in step with the package, plus a CSS theme bridge that maps your shadcn tokens onto `--roxy-*`. Rename it, wrap it, add your own props; restyle the drawing through the tokens and `::part()`.
1290
1259
 
1291
1260
  ```bash
1292
1261
  npx shadcn@latest add https://cdn.jsdelivr.net/gh/RoxyAPI/ui@latest/registry/natal-chart.json
@@ -1319,9 +1288,9 @@ Tool-call JSON has the same shape as the SDK response. Pass it straight into the
1319
1288
  </details>
1320
1289
 
1321
1290
  <details>
1322
- <summary><strong>License and contribution?</strong></summary>
1291
+ <summary><strong>What is the license?</strong></summary>
1323
1292
 
1324
- MIT. Source on [GitHub](https://github.com/RoxyAPI/ui). Open an issue or pull request for bugs and ideas. The component manifest is data-driven, so most additions are spec changes upstream rather than UI repo edits.
1293
+ MIT licensed and free to use, in commercial products too. Report bugs and ideas as [GitHub issues](https://github.com/RoxyAPI/ui/issues).
1325
1294
  </details>
1326
1295
 
1327
1296
  ## License
@@ -41,4 +41,3 @@ export interface RoxyAlmanacDayProps extends ElementAttrs {
41
41
  }
42
42
  export declare const RoxyAlmanacDay: React.ForwardRefExoticComponent<RoxyAlmanacDayProps & React.RefAttributes<HTMLElement | null>>;
43
43
  export {};
44
- //# sourceMappingURL=almanac-day.d.ts.map
@@ -1,2 +1 @@
1
- import*as n from"react";var I="0.53.3",v="roxyapi-ui-loader",_="https://cdn.jsdelivr.net/npm/@roxyapi/ui@latest/dist/cdn",$="https://cdn.jsdelivr.net/npm/@roxyapi/ui@",C="/dist/cdn",d=null;function O(a){return!a||a==="latest"?_:`${$}${a}${C}`}function P(a=I,i){return typeof document>"u"?Promise.resolve():d||(d=new Promise((o,c)=>{let u=`${i??O(a)}/roxy-ui.js`,r=document.getElementById(v);if(r){r.dataset.loaded==="true"?o():(r.addEventListener("load",()=>o()),r.addEventListener("error",()=>c(new Error("roxy-ui load failed"))));return}r=document.createElement("script"),r.id=v,r.src=u,r.async=!0,r.crossOrigin="anonymous",r.addEventListener("load",()=>{r.dataset.loaded="true",o()}),r.addEventListener("error",()=>c(new Error("roxy-ui load failed"))),document.head.appendChild(r)}),d)}var G=n.forwardRef(function({data:i,className:o,style:c,mode:u,endpoint:r,method:l,publishableKey:f,baseUrl:m,submitUrl:E,submitContext:p,locationUrl:R,specUrl:g,lang:y,submitLabel:w,remember:L,errorMessage:x,attribution:k,hideReadings:h,hideSections:S,...T},D){let t=n.useRef(null);n.useImperativeHandle(D,()=>t.current,[]);let[s,M]=n.useState(!1),[b,H]=n.useState(null);return n.useEffect(()=>{let e=!0;return P().then(()=>{e&&M(!0)}).catch(A=>{e&&H(A instanceof Error?A:new Error(String(A)))}),()=>{e=!1}},[]),n.useEffect(()=>{let e=t.current;e&&i!==void 0&&(e.data=i)},[i,s]),n.useEffect(()=>{let e=t.current;e&&u!==void 0&&(e.mode=u)},[u,s]),n.useEffect(()=>{let e=t.current;e&&r!==void 0&&(e.endpoint=r)},[r,s]),n.useEffect(()=>{let e=t.current;e&&l!==void 0&&(e.method=l)},[l,s]),n.useEffect(()=>{let e=t.current;e&&f!==void 0&&(e.publishableKey=f)},[f,s]),n.useEffect(()=>{let e=t.current;e&&m!==void 0&&(e.baseUrl=m)},[m,s]),n.useEffect(()=>{let e=t.current;e&&E!==void 0&&(e.submitUrl=E)},[E,s]),n.useEffect(()=>{let e=t.current;e&&p!==void 0&&(e.submitContext=p)},[p,s]),n.useEffect(()=>{let e=t.current;e&&R!==void 0&&(e.locationUrl=R)},[R,s]),n.useEffect(()=>{let e=t.current;e&&g!==void 0&&(e.specUrl=g)},[g,s]),n.useEffect(()=>{let e=t.current;e&&y!==void 0&&(e.lang=y)},[y,s]),n.useEffect(()=>{let e=t.current;e&&w!==void 0&&(e.submitLabel=w)},[w,s]),n.useEffect(()=>{let e=t.current;e&&L!==void 0&&(e.remember=L)},[L,s]),n.useEffect(()=>{let e=t.current;e&&x!==void 0&&(e.errorMessage=x)},[x,s]),n.useEffect(()=>{let e=t.current;e&&k!==void 0&&(e.attribution=k)},[k,s]),n.useEffect(()=>{let e=t.current;e&&h!==void 0&&(e.hideReadings=h)},[h,s]),n.useEffect(()=>{let e=t.current;e&&S!==void 0&&(e.hideSections=S)},[S,s]),b?n.createElement("div",{role:"alert",className:o,style:c},`Roxy UI script load failed: ${b.message}`):n.createElement("roxy-almanac-day",{ref:t,className:o,style:c,...T})});export{G as RoxyAlmanacDay};
2
- //# sourceMappingURL=almanac-day.js.map
1
+ "use client";import*as n from"react";var I="1.1.1",v="roxyapi-ui-loader",_="https://cdn.jsdelivr.net/npm/@roxyapi/ui@latest/dist/cdn",$="https://cdn.jsdelivr.net/npm/@roxyapi/ui@",C="/dist/cdn",d=null;function O(a){return!a||a==="latest"?_:`${$}${a}${C}`}function P(a=I,i){return typeof document>"u"?Promise.resolve():d||(d=new Promise((o,u)=>{let c=`${i??O(a)}/roxy-ui.js`,r=document.getElementById(v);if(r){r.dataset.loaded==="true"?o():(r.addEventListener("load",()=>o()),r.addEventListener("error",()=>u(new Error("roxy-ui load failed"))));return}r=document.createElement("script"),r.id=v,r.src=c,r.async=!0,r.crossOrigin="anonymous",r.addEventListener("load",()=>{r.dataset.loaded="true",o()}),r.addEventListener("error",()=>u(new Error("roxy-ui load failed"))),document.head.appendChild(r)}),d)}var G=n.forwardRef(function({data:i,className:o,style:u,mode:c,endpoint:r,method:l,publishableKey:f,baseUrl:m,submitUrl:p,submitContext:E,locationUrl:R,specUrl:g,lang:y,submitLabel:w,remember:L,errorMessage:x,attribution:k,hideReadings:h,hideSections:S,...T},D){let t=n.useRef(null);n.useImperativeHandle(D,()=>t.current,[]);let[s,H]=n.useState(!1),[b,M]=n.useState(null);return n.useEffect(()=>{let e=!0;return P().then(()=>{e&&H(!0)}).catch(A=>{e&&M(A instanceof Error?A:new Error(String(A)))}),()=>{e=!1}},[]),n.useEffect(()=>{let e=t.current;e&&i!==void 0&&(e.data=i)},[i,s]),n.useEffect(()=>{let e=t.current;e&&c!==void 0&&(e.mode=c)},[c,s]),n.useEffect(()=>{let e=t.current;e&&r!==void 0&&(e.endpoint=r)},[r,s]),n.useEffect(()=>{let e=t.current;e&&l!==void 0&&(e.method=l)},[l,s]),n.useEffect(()=>{let e=t.current;e&&f!==void 0&&(e.publishableKey=f)},[f,s]),n.useEffect(()=>{let e=t.current;e&&m!==void 0&&(e.baseUrl=m)},[m,s]),n.useEffect(()=>{let e=t.current;e&&p!==void 0&&(e.submitUrl=p)},[p,s]),n.useEffect(()=>{let e=t.current;e&&E!==void 0&&(e.submitContext=E)},[E,s]),n.useEffect(()=>{let e=t.current;e&&R!==void 0&&(e.locationUrl=R)},[R,s]),n.useEffect(()=>{let e=t.current;e&&g!==void 0&&(e.specUrl=g)},[g,s]),n.useEffect(()=>{let e=t.current;e&&y!==void 0&&(e.lang=y)},[y,s]),n.useEffect(()=>{let e=t.current;e&&w!==void 0&&(e.submitLabel=w)},[w,s]),n.useEffect(()=>{let e=t.current;e&&L!==void 0&&(e.remember=L)},[L,s]),n.useEffect(()=>{let e=t.current;e&&x!==void 0&&(e.errorMessage=x)},[x,s]),n.useEffect(()=>{let e=t.current;e&&k!==void 0&&(e.attribution=k)},[k,s]),n.useEffect(()=>{let e=t.current;e&&h!==void 0&&(e.hideReadings=h)},[h,s]),n.useEffect(()=>{let e=t.current;e&&S!==void 0&&(e.hideSections=S)},[S,s]),b?n.createElement("div",{role:"alert",className:o,style:u},`Roxy UI script load failed: ${b.message}`):n.createElement("roxy-almanac-day",{ref:t,className:o,style:u,suppressHydrationWarning:!0,...T})});export{G as RoxyAlmanacDay};
@@ -39,4 +39,3 @@ export interface RoxyAngelNumberCardProps extends ElementAttrs {
39
39
  }
40
40
  export declare const RoxyAngelNumberCard: React.ForwardRefExoticComponent<RoxyAngelNumberCardProps & React.RefAttributes<HTMLElement | null>>;
41
41
  export {};
42
- //# sourceMappingURL=angel-number-card.d.ts.map
@@ -1,2 +1 @@
1
- import*as n from"react";var I="0.53.3",v="roxyapi-ui-loader",_="https://cdn.jsdelivr.net/npm/@roxyapi/ui@latest/dist/cdn",$="https://cdn.jsdelivr.net/npm/@roxyapi/ui@",M="/dist/cdn",c=null;function N(o){return!o||o==="latest"?_:`${$}${o}${M}`}function P(o=I,a){return typeof document>"u"?Promise.resolve():c||(c=new Promise((i,u)=>{let d=`${a??N(o)}/roxy-ui.js`,r=document.getElementById(v);if(r){r.dataset.loaded==="true"?i():(r.addEventListener("load",()=>i()),r.addEventListener("error",()=>u(new Error("roxy-ui load failed"))));return}r=document.createElement("script"),r.id=v,r.src=d,r.async=!0,r.crossOrigin="anonymous",r.addEventListener("load",()=>{r.dataset.loaded="true",i()}),r.addEventListener("error",()=>u(new Error("roxy-ui load failed"))),document.head.appendChild(r)}),c)}var B=n.forwardRef(function({data:a,className:i,style:u,endpoint:d,method:r,publishableKey:l,baseUrl:f,submitUrl:m,submitContext:E,locationUrl:g,specUrl:p,lang:R,submitLabel:w,remember:y,errorMessage:L,attribution:x,hideReadings:b,hideSections:k,...T},A){let t=n.useRef(null);n.useImperativeHandle(A,()=>t.current,[]);let[s,C]=n.useState(!1),[h,H]=n.useState(null);return n.useEffect(()=>{let e=!0;return P().then(()=>{e&&C(!0)}).catch(S=>{e&&H(S instanceof Error?S:new Error(String(S)))}),()=>{e=!1}},[]),n.useEffect(()=>{let e=t.current;e&&a!==void 0&&(e.data=a)},[a,s]),n.useEffect(()=>{let e=t.current;e&&d!==void 0&&(e.endpoint=d)},[d,s]),n.useEffect(()=>{let e=t.current;e&&r!==void 0&&(e.method=r)},[r,s]),n.useEffect(()=>{let e=t.current;e&&l!==void 0&&(e.publishableKey=l)},[l,s]),n.useEffect(()=>{let e=t.current;e&&f!==void 0&&(e.baseUrl=f)},[f,s]),n.useEffect(()=>{let e=t.current;e&&m!==void 0&&(e.submitUrl=m)},[m,s]),n.useEffect(()=>{let e=t.current;e&&E!==void 0&&(e.submitContext=E)},[E,s]),n.useEffect(()=>{let e=t.current;e&&g!==void 0&&(e.locationUrl=g)},[g,s]),n.useEffect(()=>{let e=t.current;e&&p!==void 0&&(e.specUrl=p)},[p,s]),n.useEffect(()=>{let e=t.current;e&&R!==void 0&&(e.lang=R)},[R,s]),n.useEffect(()=>{let e=t.current;e&&w!==void 0&&(e.submitLabel=w)},[w,s]),n.useEffect(()=>{let e=t.current;e&&y!==void 0&&(e.remember=y)},[y,s]),n.useEffect(()=>{let e=t.current;e&&L!==void 0&&(e.errorMessage=L)},[L,s]),n.useEffect(()=>{let e=t.current;e&&x!==void 0&&(e.attribution=x)},[x,s]),n.useEffect(()=>{let e=t.current;e&&b!==void 0&&(e.hideReadings=b)},[b,s]),n.useEffect(()=>{let e=t.current;e&&k!==void 0&&(e.hideSections=k)},[k,s]),h?n.createElement("div",{role:"alert",className:i,style:u},`Roxy UI script load failed: ${h.message}`):n.createElement("roxy-angel-number-card",{ref:t,className:i,style:u,...T})});export{B as RoxyAngelNumberCard};
2
- //# sourceMappingURL=angel-number-card.js.map
1
+ "use client";import*as n from"react";var I="1.1.1",v="roxyapi-ui-loader",_="https://cdn.jsdelivr.net/npm/@roxyapi/ui@latest/dist/cdn",$="https://cdn.jsdelivr.net/npm/@roxyapi/ui@",M="/dist/cdn",c=null;function N(o){return!o||o==="latest"?_:`${$}${o}${M}`}function P(o=I,a){return typeof document>"u"?Promise.resolve():c||(c=new Promise((i,u)=>{let d=`${a??N(o)}/roxy-ui.js`,r=document.getElementById(v);if(r){r.dataset.loaded==="true"?i():(r.addEventListener("load",()=>i()),r.addEventListener("error",()=>u(new Error("roxy-ui load failed"))));return}r=document.createElement("script"),r.id=v,r.src=d,r.async=!0,r.crossOrigin="anonymous",r.addEventListener("load",()=>{r.dataset.loaded="true",i()}),r.addEventListener("error",()=>u(new Error("roxy-ui load failed"))),document.head.appendChild(r)}),c)}var B=n.forwardRef(function({data:a,className:i,style:u,endpoint:d,method:r,publishableKey:l,baseUrl:f,submitUrl:m,submitContext:E,locationUrl:g,specUrl:p,lang:R,submitLabel:w,remember:y,errorMessage:L,attribution:x,hideReadings:b,hideSections:k,...T},A){let t=n.useRef(null);n.useImperativeHandle(A,()=>t.current,[]);let[s,C]=n.useState(!1),[h,H]=n.useState(null);return n.useEffect(()=>{let e=!0;return P().then(()=>{e&&C(!0)}).catch(S=>{e&&H(S instanceof Error?S:new Error(String(S)))}),()=>{e=!1}},[]),n.useEffect(()=>{let e=t.current;e&&a!==void 0&&(e.data=a)},[a,s]),n.useEffect(()=>{let e=t.current;e&&d!==void 0&&(e.endpoint=d)},[d,s]),n.useEffect(()=>{let e=t.current;e&&r!==void 0&&(e.method=r)},[r,s]),n.useEffect(()=>{let e=t.current;e&&l!==void 0&&(e.publishableKey=l)},[l,s]),n.useEffect(()=>{let e=t.current;e&&f!==void 0&&(e.baseUrl=f)},[f,s]),n.useEffect(()=>{let e=t.current;e&&m!==void 0&&(e.submitUrl=m)},[m,s]),n.useEffect(()=>{let e=t.current;e&&E!==void 0&&(e.submitContext=E)},[E,s]),n.useEffect(()=>{let e=t.current;e&&g!==void 0&&(e.locationUrl=g)},[g,s]),n.useEffect(()=>{let e=t.current;e&&p!==void 0&&(e.specUrl=p)},[p,s]),n.useEffect(()=>{let e=t.current;e&&R!==void 0&&(e.lang=R)},[R,s]),n.useEffect(()=>{let e=t.current;e&&w!==void 0&&(e.submitLabel=w)},[w,s]),n.useEffect(()=>{let e=t.current;e&&y!==void 0&&(e.remember=y)},[y,s]),n.useEffect(()=>{let e=t.current;e&&L!==void 0&&(e.errorMessage=L)},[L,s]),n.useEffect(()=>{let e=t.current;e&&x!==void 0&&(e.attribution=x)},[x,s]),n.useEffect(()=>{let e=t.current;e&&b!==void 0&&(e.hideReadings=b)},[b,s]),n.useEffect(()=>{let e=t.current;e&&k!==void 0&&(e.hideSections=k)},[k,s]),h?n.createElement("div",{role:"alert",className:i,style:u},`Roxy UI script load failed: ${h.message}`):n.createElement("roxy-angel-number-card",{ref:t,className:i,style:u,suppressHydrationWarning:!0,...T})});export{B as RoxyAngelNumberCard};
@@ -39,4 +39,3 @@ export interface RoxyAngelNumberLookupProps extends ElementAttrs {
39
39
  }
40
40
  export declare const RoxyAngelNumberLookup: React.ForwardRefExoticComponent<RoxyAngelNumberLookupProps & React.RefAttributes<HTMLElement | null>>;
41
41
  export {};
42
- //# sourceMappingURL=angel-number-lookup.d.ts.map
@@ -1,2 +1 @@
1
- import*as n from"react";var _="0.53.3",v="roxyapi-ui-loader",$="https://cdn.jsdelivr.net/npm/@roxyapi/ui@latest/dist/cdn",C="https://cdn.jsdelivr.net/npm/@roxyapi/ui@",M="/dist/cdn",c=null;function N(o){return!o||o==="latest"?$:`${C}${o}${M}`}function P(o=_,a){return typeof document>"u"?Promise.resolve():c||(c=new Promise((i,u)=>{let d=`${a??N(o)}/roxy-ui.js`,r=document.getElementById(v);if(r){r.dataset.loaded==="true"?i():(r.addEventListener("load",()=>i()),r.addEventListener("error",()=>u(new Error("roxy-ui load failed"))));return}r=document.createElement("script"),r.id=v,r.src=d,r.async=!0,r.crossOrigin="anonymous",r.addEventListener("load",()=>{r.dataset.loaded="true",i()}),r.addEventListener("error",()=>u(new Error("roxy-ui load failed"))),document.head.appendChild(r)}),c)}var B=n.forwardRef(function({data:a,className:i,style:u,endpoint:d,method:r,publishableKey:l,baseUrl:f,submitUrl:m,submitContext:E,locationUrl:g,specUrl:p,lang:R,submitLabel:L,remember:w,errorMessage:y,attribution:x,hideReadings:k,hideSections:b,...T},A){let t=n.useRef(null);n.useImperativeHandle(A,()=>t.current,[]);let[s,H]=n.useState(!1),[h,I]=n.useState(null);return n.useEffect(()=>{let e=!0;return P().then(()=>{e&&H(!0)}).catch(S=>{e&&I(S instanceof Error?S:new Error(String(S)))}),()=>{e=!1}},[]),n.useEffect(()=>{let e=t.current;e&&a!==void 0&&(e.data=a)},[a,s]),n.useEffect(()=>{let e=t.current;e&&d!==void 0&&(e.endpoint=d)},[d,s]),n.useEffect(()=>{let e=t.current;e&&r!==void 0&&(e.method=r)},[r,s]),n.useEffect(()=>{let e=t.current;e&&l!==void 0&&(e.publishableKey=l)},[l,s]),n.useEffect(()=>{let e=t.current;e&&f!==void 0&&(e.baseUrl=f)},[f,s]),n.useEffect(()=>{let e=t.current;e&&m!==void 0&&(e.submitUrl=m)},[m,s]),n.useEffect(()=>{let e=t.current;e&&E!==void 0&&(e.submitContext=E)},[E,s]),n.useEffect(()=>{let e=t.current;e&&g!==void 0&&(e.locationUrl=g)},[g,s]),n.useEffect(()=>{let e=t.current;e&&p!==void 0&&(e.specUrl=p)},[p,s]),n.useEffect(()=>{let e=t.current;e&&R!==void 0&&(e.lang=R)},[R,s]),n.useEffect(()=>{let e=t.current;e&&L!==void 0&&(e.submitLabel=L)},[L,s]),n.useEffect(()=>{let e=t.current;e&&w!==void 0&&(e.remember=w)},[w,s]),n.useEffect(()=>{let e=t.current;e&&y!==void 0&&(e.errorMessage=y)},[y,s]),n.useEffect(()=>{let e=t.current;e&&x!==void 0&&(e.attribution=x)},[x,s]),n.useEffect(()=>{let e=t.current;e&&k!==void 0&&(e.hideReadings=k)},[k,s]),n.useEffect(()=>{let e=t.current;e&&b!==void 0&&(e.hideSections=b)},[b,s]),h?n.createElement("div",{role:"alert",className:i,style:u},`Roxy UI script load failed: ${h.message}`):n.createElement("roxy-angel-number-lookup",{ref:t,className:i,style:u,...T})});export{B as RoxyAngelNumberLookup};
2
- //# sourceMappingURL=angel-number-lookup.js.map
1
+ "use client";import*as n from"react";var _="1.1.1",v="roxyapi-ui-loader",$="https://cdn.jsdelivr.net/npm/@roxyapi/ui@latest/dist/cdn",C="https://cdn.jsdelivr.net/npm/@roxyapi/ui@",M="/dist/cdn",c=null;function N(o){return!o||o==="latest"?$:`${C}${o}${M}`}function P(o=_,a){return typeof document>"u"?Promise.resolve():c||(c=new Promise((i,u)=>{let d=`${a??N(o)}/roxy-ui.js`,r=document.getElementById(v);if(r){r.dataset.loaded==="true"?i():(r.addEventListener("load",()=>i()),r.addEventListener("error",()=>u(new Error("roxy-ui load failed"))));return}r=document.createElement("script"),r.id=v,r.src=d,r.async=!0,r.crossOrigin="anonymous",r.addEventListener("load",()=>{r.dataset.loaded="true",i()}),r.addEventListener("error",()=>u(new Error("roxy-ui load failed"))),document.head.appendChild(r)}),c)}var B=n.forwardRef(function({data:a,className:i,style:u,endpoint:d,method:r,publishableKey:l,baseUrl:f,submitUrl:m,submitContext:E,locationUrl:g,specUrl:p,lang:R,submitLabel:L,remember:w,errorMessage:y,attribution:x,hideReadings:k,hideSections:b,...T},A){let t=n.useRef(null);n.useImperativeHandle(A,()=>t.current,[]);let[s,H]=n.useState(!1),[h,I]=n.useState(null);return n.useEffect(()=>{let e=!0;return P().then(()=>{e&&H(!0)}).catch(S=>{e&&I(S instanceof Error?S:new Error(String(S)))}),()=>{e=!1}},[]),n.useEffect(()=>{let e=t.current;e&&a!==void 0&&(e.data=a)},[a,s]),n.useEffect(()=>{let e=t.current;e&&d!==void 0&&(e.endpoint=d)},[d,s]),n.useEffect(()=>{let e=t.current;e&&r!==void 0&&(e.method=r)},[r,s]),n.useEffect(()=>{let e=t.current;e&&l!==void 0&&(e.publishableKey=l)},[l,s]),n.useEffect(()=>{let e=t.current;e&&f!==void 0&&(e.baseUrl=f)},[f,s]),n.useEffect(()=>{let e=t.current;e&&m!==void 0&&(e.submitUrl=m)},[m,s]),n.useEffect(()=>{let e=t.current;e&&E!==void 0&&(e.submitContext=E)},[E,s]),n.useEffect(()=>{let e=t.current;e&&g!==void 0&&(e.locationUrl=g)},[g,s]),n.useEffect(()=>{let e=t.current;e&&p!==void 0&&(e.specUrl=p)},[p,s]),n.useEffect(()=>{let e=t.current;e&&R!==void 0&&(e.lang=R)},[R,s]),n.useEffect(()=>{let e=t.current;e&&L!==void 0&&(e.submitLabel=L)},[L,s]),n.useEffect(()=>{let e=t.current;e&&w!==void 0&&(e.remember=w)},[w,s]),n.useEffect(()=>{let e=t.current;e&&y!==void 0&&(e.errorMessage=y)},[y,s]),n.useEffect(()=>{let e=t.current;e&&x!==void 0&&(e.attribution=x)},[x,s]),n.useEffect(()=>{let e=t.current;e&&k!==void 0&&(e.hideReadings=k)},[k,s]),n.useEffect(()=>{let e=t.current;e&&b!==void 0&&(e.hideSections=b)},[b,s]),h?n.createElement("div",{role:"alert",className:i,style:u},`Roxy UI script load failed: ${h.message}`):n.createElement("roxy-angel-number-lookup",{ref:t,className:i,style:u,suppressHydrationWarning:!0,...T})});export{B as RoxyAngelNumberLookup};
@@ -39,4 +39,3 @@ export interface RoxyArudhaPadasProps extends ElementAttrs {
39
39
  }
40
40
  export declare const RoxyArudhaPadas: React.ForwardRefExoticComponent<RoxyArudhaPadasProps & React.RefAttributes<HTMLElement | null>>;
41
41
  export {};
42
- //# sourceMappingURL=arudha-padas.d.ts.map