@roxyapi/ui 1.7.0 → 1.8.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 (181) hide show
  1. package/components-catalog.json +1 -1
  2. package/dist/cdn/components/almanac-day.js +2 -2
  3. package/dist/cdn/components/angel-number-card.js +3 -3
  4. package/dist/cdn/components/angel-number-lookup.js +2 -2
  5. package/dist/cdn/components/arudha-padas.js +1 -1
  6. package/dist/cdn/components/ashtakavarga-grid.js +2 -2
  7. package/dist/cdn/components/aspects-table.js +2 -2
  8. package/dist/cdn/components/astrocartography-map.js +3 -3
  9. package/dist/cdn/components/bazi-chart.js +2 -2
  10. package/dist/cdn/components/bhav-chalit-table.js +2 -2
  11. package/dist/cdn/components/bhava-bala-table.js +1 -1
  12. package/dist/cdn/components/biorhythm-chart.js +2 -2
  13. package/dist/cdn/components/bodygraph.js +3 -3
  14. package/dist/cdn/components/chara-karakas.js +1 -1
  15. package/dist/cdn/components/choghadiya-grid.js +1 -1
  16. package/dist/cdn/components/compatibility-card.js +1 -1
  17. package/dist/cdn/components/compound-number.js +1 -1
  18. package/dist/cdn/components/crystal-card.js +1 -1
  19. package/dist/cdn/components/crystal-grid.js +1 -1
  20. package/dist/cdn/components/dasha-timeline.js +2 -2
  21. package/dist/cdn/components/data.js +1 -1
  22. package/dist/cdn/components/divisional-chart.js +1 -1
  23. package/dist/cdn/components/dosha-card.js +1 -1
  24. package/dist/cdn/components/dosha-constitution.js +1 -1
  25. package/dist/cdn/components/dream-card.js +1 -1
  26. package/dist/cdn/components/dream-search.js +1 -1
  27. package/dist/cdn/components/endpoint-form.js +1 -1
  28. package/dist/cdn/components/ephemeris-table.js +1 -1
  29. package/dist/cdn/components/fixed-stars.js +1 -1
  30. package/dist/cdn/components/flying-star-chart.js +1 -1
  31. package/dist/cdn/components/forecast-digest.js +1 -1
  32. package/dist/cdn/components/forecast-timeline.js +2 -2
  33. package/dist/cdn/components/gematria.js +1 -1
  34. package/dist/cdn/components/gochara-table.js +1 -1
  35. package/dist/cdn/components/guna-milan.js +1 -1
  36. package/dist/cdn/components/hd-connection.js +1 -1
  37. package/dist/cdn/components/hd-penta.js +1 -1
  38. package/dist/cdn/components/hd-type-card.js +1 -1
  39. package/dist/cdn/components/hd-variables.js +1 -1
  40. package/dist/cdn/components/heliacal-table.js +2 -2
  41. package/dist/cdn/components/hexagram.js +1 -1
  42. package/dist/cdn/components/hora-table.js +1 -1
  43. package/dist/cdn/components/horoscope-card.js +2 -2
  44. package/dist/cdn/components/kp-chart.js +1 -1
  45. package/dist/cdn/components/kp-finance-card.js +2 -2
  46. package/dist/cdn/components/kp-planets-table.js +3 -3
  47. package/dist/cdn/components/kp-ruling-planets.js +1 -1
  48. package/dist/cdn/components/kua-card.js +1 -1
  49. package/dist/cdn/components/local-space-compass.js +1 -1
  50. package/dist/cdn/components/location-search.js +1 -1
  51. package/dist/cdn/components/luck-pillars.js +1 -1
  52. package/dist/cdn/components/mayan-day-sign.js +1 -1
  53. package/dist/cdn/components/moon-phase.js +1 -1
  54. package/dist/cdn/components/nakshatra-card.js +1 -1
  55. package/dist/cdn/components/natal-chart.js +17 -17
  56. package/dist/cdn/components/numerology-card.js +1 -1
  57. package/dist/cdn/components/panchang-table.js +1 -1
  58. package/dist/cdn/components/positions-table.js +1 -1
  59. package/dist/cdn/components/profection-card.js +2 -2
  60. package/dist/cdn/components/reference-card.js +1 -1
  61. package/dist/cdn/components/relocation-wheel.js +17 -17
  62. package/dist/cdn/components/report.js +1 -1
  63. package/dist/cdn/components/shadbala-table.js +1 -1
  64. package/dist/cdn/components/synastry-chart.js +1 -1
  65. package/dist/cdn/components/tarot-card.js +2 -2
  66. package/dist/cdn/components/tarot-catalog.js +2 -2
  67. package/dist/cdn/components/tarot-spread.js +1 -1
  68. package/dist/cdn/components/transit-wheel.js +1 -1
  69. package/dist/cdn/components/transits-table.js +1 -1
  70. package/dist/cdn/components/upagraha-table.js +1 -1
  71. package/dist/cdn/components/vastu-mandala.js +1 -1
  72. package/dist/cdn/components/vedic-aspects.js +1 -1
  73. package/dist/cdn/components/vedic-daily.js +1 -1
  74. package/dist/cdn/components/vedic-kundli.js +1 -1
  75. package/dist/cdn/components/vedic-planets-table.js +1 -1
  76. package/dist/cdn/components/western-planets-table.js +1 -1
  77. package/dist/cdn/components/yoga-list.js +2 -2
  78. package/dist/cdn/components/zodiac-card.js +1 -1
  79. package/dist/cdn/locales/de.js +1 -1
  80. package/dist/cdn/locales/es.js +1 -1
  81. package/dist/cdn/locales/fr.js +1 -1
  82. package/dist/cdn/locales/hi.js +1 -1
  83. package/dist/cdn/locales/pt.js +1 -1
  84. package/dist/cdn/locales/ru.js +1 -1
  85. package/dist/cdn/locales/tr.js +1 -1
  86. package/dist/cdn/roxy-ui.js +79 -79
  87. package/dist/components/almanac-day.js +1 -1
  88. package/dist/components/angel-number-card.js +1 -1
  89. package/dist/components/angel-number-lookup.js +1 -1
  90. package/dist/components/arudha-padas.js +1 -1
  91. package/dist/components/ashtakavarga-grid.js +1 -1
  92. package/dist/components/aspects-table.js +1 -1
  93. package/dist/components/astrocartography-map.js +1 -1
  94. package/dist/components/bazi-chart.js +1 -1
  95. package/dist/components/bhav-chalit-table.js +1 -1
  96. package/dist/components/bhava-bala-table.js +1 -1
  97. package/dist/components/biorhythm-chart.js +1 -1
  98. package/dist/components/bodygraph.js +1 -1
  99. package/dist/components/chara-karakas.js +1 -1
  100. package/dist/components/choghadiya-grid.js +1 -1
  101. package/dist/components/compatibility-card.js +1 -1
  102. package/dist/components/compound-number.js +1 -1
  103. package/dist/components/crystal-card.js +1 -1
  104. package/dist/components/crystal-grid.js +1 -1
  105. package/dist/components/dasha-timeline.js +1 -1
  106. package/dist/components/data.js +1 -1
  107. package/dist/components/divisional-chart.js +1 -1
  108. package/dist/components/dosha-card.js +1 -1
  109. package/dist/components/dosha-constitution.js +1 -1
  110. package/dist/components/dream-card.js +1 -1
  111. package/dist/components/dream-search.js +1 -1
  112. package/dist/components/endpoint-form.js +1 -1
  113. package/dist/components/ephemeris-table.js +1 -1
  114. package/dist/components/fixed-stars.js +1 -1
  115. package/dist/components/flying-star-chart.js +1 -1
  116. package/dist/components/forecast-digest.js +1 -1
  117. package/dist/components/forecast-timeline.js +1 -1
  118. package/dist/components/gematria.js +1 -1
  119. package/dist/components/gochara-table.js +1 -1
  120. package/dist/components/guna-milan.js +1 -1
  121. package/dist/components/hd-connection.js +1 -1
  122. package/dist/components/hd-penta.js +1 -1
  123. package/dist/components/hd-type-card.js +1 -1
  124. package/dist/components/hd-variables.js +1 -1
  125. package/dist/components/heliacal-table.js +1 -1
  126. package/dist/components/hexagram.js +1 -1
  127. package/dist/components/hora-table.js +1 -1
  128. package/dist/components/horoscope-card.js +1 -1
  129. package/dist/components/kp-chart.js +1 -1
  130. package/dist/components/kp-finance-card.js +1 -1
  131. package/dist/components/kp-planets-table.js +1 -1
  132. package/dist/components/kp-ruling-planets.js +1 -1
  133. package/dist/components/kua-card.js +1 -1
  134. package/dist/components/local-space-compass.js +1 -1
  135. package/dist/components/location-search.js +1 -1
  136. package/dist/components/luck-pillars.js +1 -1
  137. package/dist/components/mayan-day-sign.js +1 -1
  138. package/dist/components/moon-phase.js +1 -1
  139. package/dist/components/nakshatra-card.js +1 -1
  140. package/dist/components/natal-chart.d.ts +5 -0
  141. package/dist/components/natal-chart.js +14 -14
  142. package/dist/components/numerology-card.js +1 -1
  143. package/dist/components/panchang-table.js +1 -1
  144. package/dist/components/positions-table.js +1 -1
  145. package/dist/components/profection-card.js +1 -1
  146. package/dist/components/reference-card.js +1 -1
  147. package/dist/components/relocation-wheel.js +15 -15
  148. package/dist/components/report.js +1 -1
  149. package/dist/components/shadbala-table.js +1 -1
  150. package/dist/components/synastry-chart.js +1 -1
  151. package/dist/components/tarot-card.js +1 -1
  152. package/dist/components/tarot-catalog.js +1 -1
  153. package/dist/components/tarot-spread.js +1 -1
  154. package/dist/components/transit-wheel.js +1 -1
  155. package/dist/components/transits-table.js +1 -1
  156. package/dist/components/upagraha-table.js +1 -1
  157. package/dist/components/vastu-mandala.js +1 -1
  158. package/dist/components/vedic-aspects.js +1 -1
  159. package/dist/components/vedic-daily.js +1 -1
  160. package/dist/components/vedic-kundli.js +1 -1
  161. package/dist/components/vedic-planets-table.js +1 -1
  162. package/dist/components/western-planets-table.d.ts +1 -0
  163. package/dist/components/western-planets-table.js +1 -1
  164. package/dist/components/yoga-list.js +1 -1
  165. package/dist/components/zodiac-card.js +1 -1
  166. package/dist/forms.json +1 -1
  167. package/dist/i18n/chrome-strings.d.ts +1 -1
  168. package/dist/index.cjs +78 -78
  169. package/dist/index.js +83 -83
  170. package/dist/locales/de.js +1 -1
  171. package/dist/locales/es.js +1 -1
  172. package/dist/locales/fr.js +1 -1
  173. package/dist/locales/hi.js +1 -1
  174. package/dist/locales/pt.js +1 -1
  175. package/dist/locales/ru.js +1 -1
  176. package/dist/locales/tr.js +1 -1
  177. package/dist/schemas/post--astrology-aspect-patterns.json +1 -1
  178. package/dist/types/types.gen.d.ts +63 -12
  179. package/dist/utils/string.d.ts +2 -0
  180. package/dist/version.d.ts +1 -1
  181. package/package.json +1 -1
@@ -2,6 +2,31 @@ export type ClientOptions = {
2
2
  baseUrl: 'https://roxyapi.com/api/v2' | (string & {});
3
3
  };
4
4
  export type NatalChartResponse = {
5
+ /**
6
+ * Whole-chart natal interpretation. Present when lang is one the natal engine writes (English, German, Spanish, French, Hindi, Portuguese, Russian, Turkish); absent otherwise.
7
+ */
8
+ interpretation?: {
9
+ /**
10
+ * Whole-chart natal reading connecting the Sun, Moon, Ascendant, central signature and the tension that shapes their expression.
11
+ */
12
+ opening: string;
13
+ /**
14
+ * Relationships chapter connecting the seventh-house ruler and occupants with the Venus-Mars relationship.
15
+ */
16
+ love: string;
17
+ /**
18
+ * Career chapter connecting the tenth-house ruler and occupants with the Midheaven sign.
19
+ */
20
+ career: string;
21
+ /**
22
+ * Home chapter connecting the fourth-house ruler and occupants with the IC sign and private foundations.
23
+ */
24
+ home: string;
25
+ /**
26
+ * Closing synthesis returning to the central drives, their integration and the chart signature.
27
+ */
28
+ closing: string;
29
+ };
5
30
  /**
6
31
  * Birth details echoed back from the request. Confirms the input used for this chart calculation.
7
32
  */
@@ -76,15 +101,15 @@ export type NatalChartResponse = {
76
101
  */
77
102
  dignity?: 'domicile' | 'exaltation' | 'detriment' | 'fall' | 'peregrine';
78
103
  /**
79
- * Planet-in-sign-in-house interpretation. Narrative analysis of what this placement means in the natal chart.
104
+ * Reading of this body in its sign and house for this chart, in the requested language.
80
105
  */
81
106
  interpretation?: {
82
107
  /**
83
- * One-sentence interpretation of this planet in its sign and house placement.
108
+ * The placement in brief: what this body does in its sign and in its house, written for this chart.
84
109
  */
85
110
  summary: string;
86
111
  /**
87
- * Multi-sentence detailed interpretation with personality insights.
112
+ * The full reading of this placement: its sign and house, and where they apply its dignity, retrograde motion, the Moon phase at birth, a nearby angle and its tightest aspect.
88
113
  */
89
114
  detailed: string;
90
115
  /**
@@ -175,7 +200,7 @@ export type NatalChartResponse = {
175
200
  */
176
201
  aspectInterpretation: {
177
202
  /**
178
- * One-sentence read of THIS pair: which two bodies, how tight the aspect is, whether it is applying or separating, and how it is classified. Translated in place, so it arrives in the requested language.
203
+ * Short read of THIS pair of bodies as the aspect joins them in this chart. Type, orb, strength and motion stay in the fields beside it. Translated in place, so it arrives in the requested language.
179
204
  */
180
205
  summary: string;
181
206
  /**
@@ -189,7 +214,7 @@ export type NatalChartResponse = {
189
214
  */
190
215
  patterns?: Array<{
191
216
  /**
192
- * Pattern kind identifier. GRAND_TRINE (3 trines, harmonious flow), KITE (Grand Trine with a focal outlet planet), T_SQUARE (opposition with squared apex, growth engine), GRAND_CROSS (4 planets in 2 oppositions and 4 squares, peak tension), YOD (Finger of Fate, fated adjustment), MYSTIC_RECTANGLE (oppositions softened by trines and sextiles), STELLIUM (3+ planets clustered in a sign or 10-degree arc).
217
+ * Pattern kind identifier. GRAND_TRINE (3 trines, harmonious flow), KITE (Grand Trine with a focal outlet planet), T_SQUARE (opposition with squared apex, growth engine), GRAND_CROSS (4 planets in 2 oppositions and 4 squares, peak tension), YOD (a planet at the apex of two quincunxes, a call to adjust), MYSTIC_RECTANGLE (oppositions softened by trines and sextiles), STELLIUM (3+ planets clustered in a sign or 10-degree arc).
193
218
  */
194
219
  kind: 'GRAND_TRINE' | 'KITE' | 'T_SQUARE' | 'GRAND_CROSS' | 'YOD' | 'MYSTIC_RECTANGLE' | 'STELLIUM';
195
220
  /**
@@ -244,7 +269,7 @@ export type NatalChartResponse = {
244
269
  */
245
270
  summary: string;
246
271
  /**
247
- * Whether the chart is predominantly harmonious, challenging, or balanced.
272
+ * Which way this chart leans, read from the harmonious and challenging counts beside it against how many of each a typical chart holds: harmonious, challenging or balanced. Always English, whatever the lang parameter says; the summary states the same lean in the requested language.
248
273
  */
249
274
  dominant: string;
250
275
  /**
@@ -252,7 +277,7 @@ export type NatalChartResponse = {
252
277
  */
253
278
  harmonious: number;
254
279
  /**
255
- * Count of challenging aspects (square, opposition).
280
+ * Count of challenging aspects (square, opposition, quincunx).
256
281
  */
257
282
  challenging: number;
258
283
  /**
@@ -280,6 +305,19 @@ export type NatalChartResponse = {
280
305
  * Absolute ecliptic longitude of the Ascendant (0-360).
281
306
  */
282
307
  longitude: number;
308
+ /**
309
+ * Interpretation of the rising sign: how you meet the world and how others first meet you. Present when lang is one the natal engine writes (English, German, Spanish, French, Hindi, Portuguese, Russian, Turkish); absent otherwise.
310
+ */
311
+ interpretation?: {
312
+ /**
313
+ * One-sentence read of the rising sign: how you meet the world and how others first meet you.
314
+ */
315
+ summary: string;
316
+ /**
317
+ * A paragraph on the rising sign: how you meet the world and how others first meet you: the strengths it brings, the habit to watch and how it shows in daily life.
318
+ */
319
+ detailed: string;
320
+ };
283
321
  };
284
322
  /**
285
323
  * Midheaven (MC). The highest point of the ecliptic at birth, representing career direction and public image.
@@ -301,6 +339,19 @@ export type NatalChartResponse = {
301
339
  * Absolute ecliptic longitude of the Midheaven (0-360).
302
340
  */
303
341
  longitude: number;
342
+ /**
343
+ * Interpretation of the Midheaven sign: your public direction and the work you want to be known for. Present when lang is one the natal engine writes (English, German, Spanish, French, Hindi, Portuguese, Russian, Turkish); absent otherwise.
344
+ */
345
+ interpretation?: {
346
+ /**
347
+ * One-sentence read of the Midheaven sign: your public direction and the work you want to be known for.
348
+ */
349
+ summary: string;
350
+ /**
351
+ * A paragraph on the Midheaven sign: your public direction and the work you want to be known for: the strengths it brings, the habit to watch and how it shows in daily life.
352
+ */
353
+ detailed: string;
354
+ };
304
355
  };
305
356
  /**
306
357
  * Part of Fortune (Lot of Fortune). A point derived from the Ascendant and the two luminaries that marks an area of ease, vitality, and material wellbeing in the chart.
@@ -638,7 +689,7 @@ export type AspectsResponse = {
638
689
  */
639
690
  patterns?: Array<{
640
691
  /**
641
- * Pattern kind identifier. GRAND_TRINE (3 trines, harmonious flow), KITE (Grand Trine with a focal outlet planet), T_SQUARE (opposition with squared apex, growth engine), GRAND_CROSS (4 planets in 2 oppositions and 4 squares, peak tension), YOD (Finger of Fate, fated adjustment), MYSTIC_RECTANGLE (oppositions softened by trines and sextiles), STELLIUM (3+ planets clustered in a sign or 10-degree arc).
692
+ * Pattern kind identifier. GRAND_TRINE (3 trines, harmonious flow), KITE (Grand Trine with a focal outlet planet), T_SQUARE (opposition with squared apex, growth engine), GRAND_CROSS (4 planets in 2 oppositions and 4 squares, peak tension), YOD (a planet at the apex of two quincunxes, a call to adjust), MYSTIC_RECTANGLE (oppositions softened by trines and sextiles), STELLIUM (3+ planets clustered in a sign or 10-degree arc).
642
693
  */
643
694
  kind: 'GRAND_TRINE' | 'KITE' | 'T_SQUARE' | 'GRAND_CROSS' | 'YOD' | 'MYSTIC_RECTANGLE' | 'STELLIUM';
644
695
  /**
@@ -740,7 +791,7 @@ export type AspectPatternsResponse = {
740
791
  */
741
792
  patterns: Array<{
742
793
  /**
743
- * Pattern kind identifier. GRAND_TRINE (3 trines, harmonious flow), KITE (Grand Trine with a focal outlet planet), T_SQUARE (opposition with squared apex, growth engine), GRAND_CROSS (4 planets in 2 oppositions and 4 squares, peak tension), YOD (Finger of Fate, fated adjustment), MYSTIC_RECTANGLE (oppositions softened by trines and sextiles), STELLIUM (3+ planets clustered in a sign or 10-degree arc).
794
+ * Pattern kind identifier. GRAND_TRINE (3 trines, harmonious flow), KITE (Grand Trine with a focal outlet planet), T_SQUARE (opposition with squared apex, growth engine), GRAND_CROSS (4 planets in 2 oppositions and 4 squares, peak tension), YOD (a planet at the apex of two quincunxes, a call to adjust), MYSTIC_RECTANGLE (oppositions softened by trines and sextiles), STELLIUM (3+ planets clustered in a sign or 10-degree arc).
744
795
  */
745
796
  kind: 'GRAND_TRINE' | 'KITE' | 'T_SQUARE' | 'GRAND_CROSS' | 'YOD' | 'MYSTIC_RECTANGLE' | 'STELLIUM';
746
797
  /**
@@ -795,7 +846,7 @@ export type AspectPatternsResponse = {
795
846
  */
796
847
  options: {
797
848
  /**
798
- * Whether the tight orb budget was used. False uses the standard pattern-detection orbs (8 degrees for major aspects, 9 for square, 6 for sextile, 3 for quincunx).
849
+ * Whether the tight orb budget was used. False uses the chart aspect table orbs; true narrows them further.
799
850
  */
800
851
  strictOrbs: boolean;
801
852
  /**
@@ -1398,7 +1449,7 @@ export type RelocationPlanet = {
1398
1449
  */
1399
1450
  interpretation?: {
1400
1451
  /**
1401
- * One-sentence interpretation of this planet in its sign and relocated house.
1452
+ * The placement in brief: what this body does in its natal sign and in its relocated house.
1402
1453
  */
1403
1454
  summary: string;
1404
1455
  /**
@@ -12258,7 +12309,7 @@ export type DetectAspectPatternsData = {
12258
12309
  */
12259
12310
  lang?: 'en' | 'tr' | 'de' | 'es' | 'hi' | 'pt' | 'fr' | 'ru' | 'zh-Hans' | 'zh-Hant';
12260
12311
  /**
12261
- * Use tighter orbs, so only closely formed patterns are reported. Truthy values (true, 1, yes, on; case-insensitive) narrow trine to 5 degrees, square to 5, sextile to 4, quincunx to 2. Defaults to false, the standard pattern-detection orbs.
12312
+ * Use tighter orbs, so only closely formed patterns are reported. Truthy values (true, 1, yes, on; case-insensitive) narrow trine to 5 degrees, square to 5, sextile to 4, quincunx to 2. Every leg must occur in the chart aspect table. Defaults to false.
12262
12313
  */
12263
12314
  strictOrbs?: string;
12264
12315
  /**
@@ -29,5 +29,7 @@
29
29
  export declare function lookupKey(s: string): string;
30
30
  export declare function capitalize(s: string): string;
31
31
  export declare function humanize(s: string): string;
32
+ /** A written field as the paragraphs the API set in it, one per blank-line break, trimmed and never empty. */
33
+ export declare function splitParagraphs(text: string | undefined): string[];
32
34
  /** True for an http or https URL, the only value any component binds to an `href`, so a `javascript:` string renders as text, never a link. */
33
35
  export declare function isWebLink(value: unknown): value is string;
package/dist/version.d.ts CHANGED
@@ -1 +1 @@
1
- export declare const ROXY_UI_VERSION = "1.7.0";
1
+ export declare const ROXY_UI_VERSION = "1.8.0";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@roxyapi/ui",
3
- "version": "1.7.0",
3
+ "version": "1.8.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",