@roxyapi/ui 0.40.1 → 0.41.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 (82) hide show
  1. package/components-catalog.json +149 -149
  2. package/dist/cdn/components/choghadiya-grid.js +1 -1
  3. package/dist/cdn/components/choghadiya-grid.js.map +2 -2
  4. package/dist/cdn/components/endpoint-form.js +1 -1
  5. package/dist/cdn/components/endpoint-form.js.map +1 -1
  6. package/dist/cdn/components/hora-table.js +1 -1
  7. package/dist/cdn/components/hora-table.js.map +2 -2
  8. package/dist/cdn/components/vedic-daily.js +4 -4
  9. package/dist/cdn/components/vedic-daily.js.map +3 -3
  10. package/dist/cdn/locales/de.js +1 -1
  11. package/dist/cdn/locales/de.js.map +2 -2
  12. package/dist/cdn/locales/es.js +1 -1
  13. package/dist/cdn/locales/es.js.map +2 -2
  14. package/dist/cdn/locales/fr.js +1 -1
  15. package/dist/cdn/locales/fr.js.map +2 -2
  16. package/dist/cdn/locales/hi.js +1 -1
  17. package/dist/cdn/locales/hi.js.map +2 -2
  18. package/dist/cdn/locales/pt.js +1 -1
  19. package/dist/cdn/locales/pt.js.map +2 -2
  20. package/dist/cdn/locales/ru.js +1 -1
  21. package/dist/cdn/locales/ru.js.map +2 -2
  22. package/dist/cdn/locales/tr.js +1 -1
  23. package/dist/cdn/locales/tr.js.map +2 -2
  24. package/dist/cdn/roxy-ui.js +38 -38
  25. package/dist/cdn/roxy-ui.js.map +3 -3
  26. package/dist/components/choghadiya-grid.js +1 -1
  27. package/dist/components/choghadiya-grid.js.map +2 -2
  28. package/dist/components/endpoint-form.js +1 -1
  29. package/dist/components/endpoint-form.js.map +1 -1
  30. package/dist/components/hora-table.js +1 -1
  31. package/dist/components/hora-table.js.map +2 -2
  32. package/dist/components/vedic-daily.d.ts +7 -0
  33. package/dist/components/vedic-daily.d.ts.map +1 -1
  34. package/dist/components/vedic-daily.js +1 -1
  35. package/dist/components/vedic-daily.js.map +3 -3
  36. package/dist/i18n/chrome-strings.d.ts +1 -1
  37. package/dist/i18n/chrome-strings.d.ts.map +1 -1
  38. package/dist/index.cjs +37 -37
  39. package/dist/index.cjs.map +3 -3
  40. package/dist/index.js +38 -38
  41. package/dist/index.js.map +3 -3
  42. package/dist/locales/de.d.ts.map +1 -1
  43. package/dist/locales/de.js +1 -1
  44. package/dist/locales/de.js.map +2 -2
  45. package/dist/locales/es.d.ts.map +1 -1
  46. package/dist/locales/es.js +1 -1
  47. package/dist/locales/es.js.map +2 -2
  48. package/dist/locales/fr.d.ts.map +1 -1
  49. package/dist/locales/fr.js +1 -1
  50. package/dist/locales/fr.js.map +2 -2
  51. package/dist/locales/hi.d.ts.map +1 -1
  52. package/dist/locales/hi.js +1 -1
  53. package/dist/locales/hi.js.map +2 -2
  54. package/dist/locales/pt.d.ts.map +1 -1
  55. package/dist/locales/pt.js +1 -1
  56. package/dist/locales/pt.js.map +2 -2
  57. package/dist/locales/ru.d.ts.map +1 -1
  58. package/dist/locales/ru.js +1 -1
  59. package/dist/locales/ru.js.map +2 -2
  60. package/dist/locales/tr.d.ts.map +1 -1
  61. package/dist/locales/tr.js +1 -1
  62. package/dist/locales/tr.js.map +2 -2
  63. package/dist/schemas/post--vedic-astrology-dasha-current.json +1 -1
  64. package/dist/styles/themes/practitioner.css +5 -5
  65. package/dist/types/types.gen.d.ts +44 -10
  66. package/dist/types/types.gen.d.ts.map +1 -1
  67. package/dist/version.d.ts +1 -1
  68. package/package.json +1 -1
  69. package/src/components/choghadiya-grid.ts +1 -1
  70. package/src/components/hora-table.ts +1 -1
  71. package/src/components/vedic-daily.ts +65 -0
  72. package/src/i18n/chrome-strings.ts +18 -1
  73. package/src/locales/de.ts +6 -1
  74. package/src/locales/es.ts +7 -1
  75. package/src/locales/fr.ts +6 -1
  76. package/src/locales/hi.ts +7 -1
  77. package/src/locales/pt.ts +7 -1
  78. package/src/locales/ru.ts +6 -1
  79. package/src/locales/tr.ts +8 -1
  80. package/src/styles/themes/practitioner.css +5 -5
  81. package/src/types/types.gen.ts +44 -10
  82. package/src/version.ts +1 -1
package/dist/version.d.ts CHANGED
@@ -1,2 +1,2 @@
1
- export declare const ROXY_UI_VERSION = "0.40.1";
1
+ export declare const ROXY_UI_VERSION = "0.41.0";
2
2
  //# sourceMappingURL=version.d.ts.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@roxyapi/ui",
3
- "version": "0.40.1",
3
+ "version": "0.41.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",
@@ -183,7 +183,7 @@ export class RoxyChoghadiyaGrid extends RoxyDataElement<GetChoghadiyaResponse> {
183
183
 
184
184
  <div class="cho-grid" part="table">
185
185
  <section class="period-col" aria-label=${this.t('Day muhurta periods')}>
186
- <h3 class="period-heading">${this.t('Day')}</h3>
186
+ <h3 class="period-heading">${this.t('Daytime')}</h3>
187
187
  <div role="list" aria-label=${this.t('Daytime choghadiya')}>
188
188
  ${
189
189
  dayChoghadiya && dayChoghadiya.length > 0
@@ -115,7 +115,7 @@ export class RoxyHoraTable extends RoxyDataElement<GetHoraResponse> {
115
115
  ${d.date ? html`<p class="subtitle">${formatDate(this.effectiveLang(), d.date)}</p>` : nothing}
116
116
  </div>
117
117
  <div class="cols" part="table">
118
- ${this.renderColumn(this.t('Day'), day)}
118
+ ${this.renderColumn(this.t('Daytime'), day)}
119
119
  ${this.renderColumn(this.t('Night'), night)}
120
120
  </div>
121
121
  </div>`;
@@ -13,6 +13,8 @@ type Graha = Daily['grahas'][number];
13
13
  type Limb = Daily['panchanga']['tithi'];
14
14
  type Finance = NonNullable<Daily['areas']['finance']>;
15
15
  type FinanceLink = NonNullable<Finance['drivers']>[number];
16
+ type Composite = NonNullable<Finance['composite']>;
17
+ type CompositeLayer = Composite['layers'][number];
16
18
 
17
19
  /**
18
20
  * The six graha states in the order a reader scans them, each beside the English source its label is looked up by.
@@ -41,6 +43,18 @@ const BAND_LABEL: Record<NonNullable<Daily['verdict']>, ChromeString> = {
41
43
  weak: 'Weak',
42
44
  };
43
45
 
46
+ /**
47
+ * The three terms the finance mean is taken over, each beside the English source its label is looked up by.
48
+ *
49
+ * @remarks
50
+ * Keyed by the response enum, so a fourth term added upstream fails to compile here rather than rendering its raw wire value. The order on screen is the order the response publishes, never this record.
51
+ */
52
+ const LAYER_LABEL: Record<CompositeLayer['layer'], ChromeString> = {
53
+ day: 'Day',
54
+ finance: 'Finance',
55
+ natal: 'Natal',
56
+ };
57
+
44
58
  /** The three dasha levels the ladder can carry. */
45
59
  const LEVEL_LABEL: Record<Daily['dasha'][number]['level'], ChromeString> = {
46
60
  mahadasha: 'Mahadasha',
@@ -300,6 +314,30 @@ export class RoxyVedicDaily extends RoxyDataElement<Daily> {
300
314
  font-size: var(--roxy-text-xs, 0.75rem);
301
315
  line-height: var(--roxy-leading-normal, 1.5);
302
316
  }
317
+ .composite {
318
+ display: grid;
319
+ gap: var(--roxy-space-sm, 0.5rem);
320
+ }
321
+ /* Words and numbers on a wrapping row. The terms of the mean are drawn as
322
+ * text for the same reason the day score is: a filled bar or a ring reads
323
+ * a rare-high scale as a bad day. */
324
+ .layers {
325
+ list-style: none;
326
+ margin: 0;
327
+ padding: 0;
328
+ display: grid;
329
+ gap: 0.2rem;
330
+ font-size: var(--roxy-text-sm, 0.875rem);
331
+ }
332
+ .layers li {
333
+ display: flex;
334
+ flex-wrap: wrap;
335
+ align-items: baseline;
336
+ gap: 0.2rem var(--roxy-space-sm, 0.5rem);
337
+ }
338
+ .layers .band {
339
+ color: var(--roxy-secondary, #475569);
340
+ }
303
341
  `,
304
342
  ];
305
343
 
@@ -564,9 +602,36 @@ export class RoxyVedicDaily extends RoxyDataElement<Daily> {
564
602
  : nothing
565
603
  }
566
604
  </div>
605
+ ${this.renderComposite(f.composite)}
567
606
  </section>`;
568
607
  }
569
608
 
609
+ /**
610
+ * The mean of the day, this area and the natal chart, with each term printed under it.
611
+ *
612
+ * @remarks
613
+ * The band leads and the terms follow, the same order the card reads the day in, so the answer is a word and the numbers are the evidence for it. Nothing is drawn when the object is absent: the running lords reaching none of the six houses, and a latitude where the cusps this area is read from have no solution, are both questions that do not apply rather than a score of zero.
614
+ */
615
+ private renderComposite(c: Composite | null | undefined) {
616
+ if (!c) return nothing;
617
+ return html`<div class="composite">
618
+ <h3>${this.t('Combined score')}</h3>
619
+ <div class="verdict-row">
620
+ <span class="verdict ${c.band}">${this.t(BAND_LABEL[c.band])}</span>
621
+ <span class="evidence">${c.score}</span>
622
+ </div>
623
+ <ul class="layers">
624
+ ${c.layers.map(
625
+ (l) => html`<li>
626
+ <span>${this.t(LAYER_LABEL[l.layer])}</span>
627
+ <span class="evidence">${l.score}</span>
628
+ <span class="band">${this.t(BAND_LABEL[l.band])}</span>
629
+ </li>`,
630
+ )}
631
+ </ul>
632
+ </div>`;
633
+ }
634
+
570
635
  /** The dasha ladder running under the day. */
571
636
  private renderDasha(d: Daily) {
572
637
  const rows = d.dasha ?? [];
@@ -329,9 +329,20 @@ export const CHROME_STRINGS = [
329
329
  // The sidereal frame caption, shared by every Vedic card that carries a frame.
330
330
  'Sidereal frame: {{frame}}',
331
331
  'Sidereal frame: {{frame}}, {{degrees}}° subtracted',
332
- 'Day',
332
+
333
+ // The two halves a Vedic day is split into for muhurta. Both the choghadiya
334
+ // grid and the hora table run one column from sunrise to sunset and one from
335
+ // sunset to sunrise, so this pair names the DAYLIGHT hours against the dark
336
+ // ones.
337
+ 'Daytime',
333
338
  'Night',
334
339
 
340
+ // The calendar day, which is a different sense and a different word in any
341
+ // language that spends two: the numerology lucky weekday, the zodiac card
342
+ // daily relation, the day layer of the Vedic daily composite, and the day
343
+ // pillar that sits beside `Year`, `Month` and `Hour` below.
344
+ 'Day',
345
+
335
346
  // Hora table and the Vedic rashi chart.
336
347
  'Hora',
337
348
  'Hora periods',
@@ -872,6 +883,11 @@ export const CHROME_STRINGS = [
872
883
  // the Moon opens and closes inside one day, and the finance connections. The
873
884
  // state and band words are looked up through records keyed by the response
874
885
  // enums, so a value added upstream fails to compile rather than printing raw.
886
+ // `Combined score` heads the mean of the day, the area and the natal chart. It
887
+ // says combined rather than composite because a composite chart is a different
888
+ // technique, and no catalogue may translate it with the word for a SUM, since
889
+ // the value is a mean of the three terms printed under it. Those three terms
890
+ // take the `Day`, `Finance` and `Natal` entries already catalogued above.
875
891
  'Vedic daily',
876
892
  'Vedic daily reading',
877
893
  '{{supportive}} of {{evaluated}} grahas support this day',
@@ -900,6 +916,7 @@ export const CHROME_STRINGS = [
900
916
  'Cautions',
901
917
  '{{positive}} positive against {{negative}} negative',
902
918
  'level {{level}} {{grade}}',
919
+ 'Combined score',
903
920
  'Dasha',
904
921
  ', governs {{sections}}',
905
922
 
package/src/locales/de.ts CHANGED
@@ -326,8 +326,12 @@ export const de: Record<ChromeString, string> = {
326
326
  'Sidereal frame: {{frame}}': 'Siderischer Rahmen: {{frame}}',
327
327
  'Sidereal frame: {{frame}}, {{degrees}}° subtracted':
328
328
  'Siderischer Rahmen: {{frame}}, {{degrees}}° abgezogen',
329
- Day: 'Tag',
329
+
330
+ // German spends one noun on both senses, so the two keys carry the same
331
+ // word on purpose: the daylight half against the night, and the calendar day.
332
+ Daytime: 'Tag',
330
333
  Night: 'Nacht',
334
+ Day: 'Tag',
331
335
  Planet: 'Planet',
332
336
  Hardness: 'Härte',
333
337
  Vibration: 'Schwingung',
@@ -802,6 +806,7 @@ export const de: Record<ChromeString, string> = {
802
806
  '{{positive}} positive against {{negative}} negative':
803
807
  '{{positive}} positive gegen {{negative}} negative',
804
808
  'level {{level}} {{grade}}': 'Stufe {{level}} {{grade}}',
809
+ 'Combined score': 'Gesamtwertung',
805
810
  Dasha: 'Dasha',
806
811
  ', governs {{sections}}': ', bestimmt {{sections}}',
807
812
  'Energy {{value}}/10': 'Energie {{value}}/10',
package/src/locales/es.ts CHANGED
@@ -339,8 +339,13 @@ export const es: Record<ChromeString, string> = {
339
339
  'Sidereal frame: {{frame}}': 'Marco sideral: {{frame}}',
340
340
  'Sidereal frame: {{frame}}, {{degrees}}° subtracted':
341
341
  'Marco sideral: {{frame}}, {{degrees}}° restados',
342
- Day: 'Día',
342
+
343
+ // Spanish spends one noun on both senses, so the two keys carry the same
344
+ // word on purpose. The adjective pair is the near miss: it would not agree with
345
+ // the noun beside it.
346
+ Daytime: 'Día',
343
347
  Night: 'Noche',
348
+ Day: 'Día',
344
349
  Planet: 'Planeta',
345
350
  Hardness: 'Dureza',
346
351
  Vibration: 'Vibración',
@@ -814,6 +819,7 @@ export const es: Record<ChromeString, string> = {
814
819
  '{{positive}} positive against {{negative}} negative':
815
820
  '{{positive}} positivas frente a {{negative}} negativas',
816
821
  'level {{level}} {{grade}}': 'nivel {{level}} {{grade}}',
822
+ 'Combined score': 'Puntuación combinada',
817
823
  Dasha: 'Dasha',
818
824
  ', governs {{sections}}': ', determina {{sections}}',
819
825
  'Energy {{value}}/10': 'Energía {{value}}/10',
package/src/locales/fr.ts CHANGED
@@ -331,8 +331,12 @@ export const fr: Record<ChromeString, string> = {
331
331
  'Sidereal frame: {{frame}}': 'Cadre sidéral : {{frame}}',
332
332
  'Sidereal frame: {{frame}}, {{degrees}}° subtracted':
333
333
  'Cadre sidéral : {{frame}}, {{degrees}}° soustraits',
334
- Day: 'Jour',
334
+
335
+ // French spends one noun on both senses, so the two keys carry the same word
336
+ // on purpose, which is also the pair a planetary-hours table prints.
337
+ Daytime: 'Jour',
335
338
  Night: 'Nuit',
339
+ Day: 'Jour',
336
340
  Planet: 'Planète',
337
341
  Hardness: 'Dureté',
338
342
  Vibration: 'Vibration',
@@ -807,6 +811,7 @@ export const fr: Record<ChromeString, string> = {
807
811
  '{{positive}} positive against {{negative}} negative':
808
812
  '{{positive}} positives contre {{negative}} négatives',
809
813
  'level {{level}} {{grade}}': 'niveau {{level}} {{grade}}',
814
+ 'Combined score': 'Score combiné',
810
815
  Dasha: 'Dasha',
811
816
  ', governs {{sections}}': ', détermine {{sections}}',
812
817
  'Energy {{value}}/10': 'Énergie {{value}}/10',
package/src/locales/hi.ts CHANGED
@@ -340,8 +340,13 @@ export const hi: Record<ChromeString, string> = {
340
340
  'Sidereal frame: {{frame}}': 'निरयण पद्धति: {{frame}}',
341
341
  'Sidereal frame: {{frame}}, {{degrees}}° subtracted':
342
342
  'निरयण पद्धति: {{frame}}, {{degrees}}° घटाया गया',
343
- Day: 'दिन',
343
+
344
+ // Hindi spends one noun on both senses, so the two keys carry the same word on
345
+ // purpose: the panchang heads the daylight muhurtas with it and measures the
346
+ // whole day from sunrise with it.
347
+ Daytime: 'दिन',
344
348
  Night: 'रात',
349
+ Day: 'दिन',
345
350
  Planet: 'ग्रह',
346
351
  Hardness: 'कठोरता',
347
352
  Vibration: 'कंपन',
@@ -812,6 +817,7 @@ export const hi: Record<ChromeString, string> = {
812
817
  '{{positive}} positive against {{negative}} negative':
813
818
  '{{positive}} अनुकूल बनाम {{negative}} प्रतिकूल',
814
819
  'level {{level}} {{grade}}': 'स्तर {{level}} {{grade}}',
820
+ 'Combined score': 'समग्र अंक',
815
821
  Dasha: 'दशा',
816
822
  ', governs {{sections}}': ', निर्धारित करता है {{sections}}',
817
823
  'Energy {{value}}/10': 'ऊर्जा {{value}}/10',
package/src/locales/pt.ts CHANGED
@@ -318,8 +318,13 @@ export const pt: Record<ChromeString, string> = {
318
318
  'Sidereal frame: {{frame}}': 'Referencial sideral: {{frame}}',
319
319
  'Sidereal frame: {{frame}}, {{degrees}}° subtracted':
320
320
  'Referencial sideral: {{frame}}, {{degrees}}° subtraídos',
321
- Day: 'Dia',
321
+
322
+ // Portuguese spends one noun on both senses, so the two keys carry the same
323
+ // word on purpose. The adjective pair is the near miss: it names the hours
324
+ // rather than the half of the day they fill.
325
+ Daytime: 'Dia',
322
326
  Night: 'Noite',
327
+ Day: 'Dia',
323
328
  Planet: 'Planeta',
324
329
  Hardness: 'Dureza',
325
330
  Vibration: 'Vibração',
@@ -794,6 +799,7 @@ export const pt: Record<ChromeString, string> = {
794
799
  '{{positive}} positive against {{negative}} negative':
795
800
  '{{positive}} positivas contra {{negative}} negativas',
796
801
  'level {{level}} {{grade}}': 'nível {{level}} {{grade}}',
802
+ 'Combined score': 'Pontuação combinada',
797
803
  Dasha: 'Dasha',
798
804
  ', governs {{sections}}': ', determina {{sections}}',
799
805
  'Energy {{value}}/10': 'Energia {{value}}/10',
package/src/locales/ru.ts CHANGED
@@ -320,8 +320,12 @@ export const ru: Record<ChromeString, string> = {
320
320
  'Sidereal frame: {{frame}}': 'Сидерическая система: {{frame}}',
321
321
  'Sidereal frame: {{frame}}, {{degrees}}° subtracted':
322
322
  'Сидерическая система: {{frame}}, вычтено {{degrees}}°',
323
- Day: 'День',
323
+
324
+ // Russian spends one noun on both senses, so the two keys carry the same word
325
+ // on purpose. `Сутки` is the 24-hour unit and is the wrong half at both sites.
326
+ Daytime: 'День',
324
327
  Night: 'Ночь',
328
+ Day: 'День',
325
329
  Planet: 'Планета',
326
330
  Hardness: 'Твёрдость',
327
331
  Vibration: 'Вибрация',
@@ -793,6 +797,7 @@ export const ru: Record<ChromeString, string> = {
793
797
  '{{positive}} positive against {{negative}} negative':
794
798
  '{{positive}} положительных против {{negative}} отрицательных',
795
799
  'level {{level}} {{grade}}': 'уровень {{level}} {{grade}}',
800
+ 'Combined score': 'Сводный балл',
796
801
  Dasha: 'Даша',
797
802
  ', governs {{sections}}': ', определяет {{sections}}',
798
803
  'Energy {{value}}/10': 'Энергия {{value}}/10',
package/src/locales/tr.ts CHANGED
@@ -327,8 +327,14 @@ export const tr: Record<ChromeString, string> = {
327
327
  'Sidereal frame: {{frame}}': 'Sideral çerçeve: {{frame}}',
328
328
  'Sidereal frame: {{frame}}, {{degrees}}° subtracted':
329
329
  'Sideral çerçeve: {{frame}}, {{degrees}}° çıkarıldı',
330
- Day: 'Gündüz',
330
+
331
+ // The one catalogue here that splits the two senses. `Gündüz` is the daylight
332
+ // half against the night and nothing else; the calendar day is `Gün`, which is
333
+ // the word `Gün Efendisi` and the `Yıl` / `Ay` / `Saat` pillar row below already
334
+ // spend on it.
335
+ Daytime: 'Gündüz',
331
336
  Night: 'Gece',
337
+ Day: 'Gün',
332
338
  Planet: 'Gezegen',
333
339
  Hardness: 'Sertlik',
334
340
  Vibration: 'Titreşim',
@@ -800,6 +806,7 @@ export const tr: Record<ChromeString, string> = {
800
806
  '{{positive}} positive against {{negative}} negative':
801
807
  '{{negative}} olumsuza karşı {{positive}} olumlu',
802
808
  'level {{level}} {{grade}}': 'seviye {{level}} {{grade}}',
809
+ 'Combined score': 'Genel puan',
803
810
  Dasha: 'Dasha',
804
811
  ', governs {{sections}}': ', {{sections}} bölümlerini belirler',
805
812
  'Energy {{value}}/10': 'Enerji {{value}}/10',
@@ -27,7 +27,7 @@
27
27
  font-style: normal;
28
28
  font-weight: 400 600;
29
29
  font-display: swap;
30
- src: url("https://cdn.jsdelivr.net/npm/@roxyapi/ui@0.40.1/dist/styles/fonts/fraunces/fraunces-latin.woff2")
30
+ src: url("https://cdn.jsdelivr.net/npm/@roxyapi/ui@0.41.0/dist/styles/fonts/fraunces/fraunces-latin.woff2")
31
31
  format("woff2");
32
32
  unicode-range:
33
33
  U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
@@ -38,7 +38,7 @@
38
38
  font-style: normal;
39
39
  font-weight: 400 600;
40
40
  font-display: swap;
41
- src: url("https://cdn.jsdelivr.net/npm/@roxyapi/ui@0.40.1/dist/styles/fonts/fraunces/fraunces-latin-ext.woff2")
41
+ src: url("https://cdn.jsdelivr.net/npm/@roxyapi/ui@0.41.0/dist/styles/fonts/fraunces/fraunces-latin-ext.woff2")
42
42
  format("woff2");
43
43
  unicode-range:
44
44
  U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
@@ -49,7 +49,7 @@
49
49
  font-style: normal;
50
50
  font-weight: 400 600;
51
51
  font-display: swap;
52
- src: url("https://cdn.jsdelivr.net/npm/@roxyapi/ui@0.40.1/dist/styles/fonts/jost/jost-latin.woff2")
52
+ src: url("https://cdn.jsdelivr.net/npm/@roxyapi/ui@0.41.0/dist/styles/fonts/jost/jost-latin.woff2")
53
53
  format("woff2");
54
54
  unicode-range:
55
55
  U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
@@ -60,7 +60,7 @@
60
60
  font-style: normal;
61
61
  font-weight: 400 600;
62
62
  font-display: swap;
63
- src: url("https://cdn.jsdelivr.net/npm/@roxyapi/ui@0.40.1/dist/styles/fonts/jost/jost-latin-ext.woff2")
63
+ src: url("https://cdn.jsdelivr.net/npm/@roxyapi/ui@0.41.0/dist/styles/fonts/jost/jost-latin-ext.woff2")
64
64
  format("woff2");
65
65
  unicode-range:
66
66
  U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
@@ -71,7 +71,7 @@
71
71
  font-style: normal;
72
72
  font-weight: 400 600;
73
73
  font-display: swap;
74
- src: url("https://cdn.jsdelivr.net/npm/@roxyapi/ui@0.40.1/dist/styles/fonts/jost/jost-cyrillic.woff2")
74
+ src: url("https://cdn.jsdelivr.net/npm/@roxyapi/ui@0.41.0/dist/styles/fonts/jost/jost-cyrillic.woff2")
75
75
  format("woff2");
76
76
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
77
77
  }
@@ -14250,32 +14250,32 @@ export type GetMonthlyHoroscopeResponses = {
14250
14250
  through?: string;
14251
14251
  }>;
14252
14252
  /**
14253
- * Week-by-week breakdown with sign-specific focus areas based on transit house positions.
14253
+ * The month read one calendar week at a time, off the same ranked events as column and events[]: the life area each week turns on, and the one thing that area asks for. Two weeks may land in the same area, because two events of a month often do; the sentence beside it is always different. Use it for the week strip of a monthly page.
14254
14254
  */
14255
14255
  weekByWeek: Array<{
14256
14256
  /**
14257
- * Week number within the month (1-4).
14257
+ * Position of the week inside the month, 1 first. The rows are calendar weeks, Monday to Sunday, clipped to the month at each end, so a month carries four, five or six of them. Row N is therefore the same week the weekly forecast covers, which is what lets a monthly page link straight into it.
14258
14258
  */
14259
14259
  week: number;
14260
14260
  /**
14261
- * Primary focus area for this week, derived from planetary house activations for this sign.
14261
+ * The life area the week turns on, in the requested language: the theme of the whole-sign house holding the strongest event the reading names inside that week, or of the strongest standing placement where the week holds no dated event. Same values as the life areas of the yearly key periods.
14262
14262
  */
14263
14263
  focus: string;
14264
14264
  /**
14265
- * Specific guidance for this week.
14265
+ * What that house asks for, as one sentence in the requested language. No two weeks of one month repeat a sentence.
14266
14266
  */
14267
14267
  advice: string;
14268
14268
  }>;
14269
14269
  /**
14270
- * Key astrological dates this month with actual New Moon, Full Moon, and retrograde dates calculated from ephemeris data.
14270
+ * The dates to circle this month, earliest first: every lunation and eclipse of the month, plus the headline movements the reading is built on, which are the sign changes of the slower planets and every station with the direction it turns. Each is placed in the whole-sign house it reaches for this sign. Every row is an instant the ephemeris gives, checkable against NASA JPL Horizons or the US Naval Observatory, and every row that is not a lunation or an eclipse is also a row of events[], so the list cannot contradict the reading beside it.
14271
14271
  */
14272
14272
  keyDates: Array<{
14273
14273
  /**
14274
- * Date of the astrological event (YYYY-MM-DD).
14274
+ * UTC date of the event (YYYY-MM-DD). The exact instant, to the second, is on the matching row of events[].
14275
14275
  */
14276
14276
  date: string;
14277
14277
  /**
14278
- * Astrological event active on this date (lunar phases, retrogrades, sign ingresses).
14278
+ * The event as one sentence in the requested language, placed in the whole-sign house it reaches for this sign.
14279
14279
  */
14280
14280
  event: string;
14281
14281
  }>;
@@ -17275,6 +17275,10 @@ export type GetCurrentDashaData = {
17275
17275
  * Lunar node type for Rahu and Ketu, used ONLY when "significators" is true. Dasha dates themselves come from the Moon and never move with this field. "mean" uses the smooth mean node (traditional default). "true" uses the osculating node, which swings up to 1.5 degrees either side of mean over a 173-day cycle and can therefore change which house or star a node falls in. Defaults to "mean".
17276
17276
  */
17277
17277
  nodeType?: 'mean' | 'true';
17278
+ /**
17279
+ * ISO 8601 datetime (YYYY-MM-DDTHH:MM:SS) to read the running periods at, for a reading prepared for a future day, a backtest, or a chart cast for a past moment. Defaults to the current instant. Interpreted as local time in the request timezone (a trailing Z is accepted but ignored); with timezone 0 it is UTC.
17280
+ */
17281
+ datetime?: string;
17278
17282
  };
17279
17283
  path?: never;
17280
17284
  query?: {
@@ -20588,7 +20592,7 @@ export type GetVedicDailyReadingResponses = {
20588
20592
  */
20589
20593
  areas: {
20590
20594
  /**
20591
- * The finance area: the positive house group 2, 5, 11 netted against the negative group 6, 8, 12, read off the lords of the running dasha, bhukti and antara, because that is the KP rule for when a matter fructifies, plus the natal basis the day is read against. ALWAYS AN OBJECT. Above latitude 66.56 the six netted members are null, because the Placidus cusps behind the significators have no solution there, while natal is still populated because it is a property of the birth chart and needs no cusps; the reading also still carries its gochara, panchanga and dasha and names the omission in degraded. The two house groups are Krishnamurti Paddhati practice, but the NET is a KP practitioner convention rather than a classical operation: the KP sources that carry these groups use them as a promise test and an avoidance test, never as arithmetic. The groups also vary by author, and TWO houses are live disagreements rather than one. The 6th: some KP authors place it on the POSITIVE side as service income and salary, the exact opposite of the assignment used here. The 5th: it is named as a speculative GAIN house in the same KP sources that elsewhere call it a negation house, reading it as the 12th from the 6th and therefore loss of earning capacity, and both readings appear in one publication. The 1st is treated as a negation house by some authors on the same logic, as the 12th from the 2nd, and is not on either side here. This is a six house net and it is NOT the focus=finance lens, which re-reads all twelve bhavas in money vocabulary and moves no number. The two are orthogonal and both ship.
20595
+ * The finance area: the positive house group 2, 5, 11 netted against the negative group 6, 8, 12, read off the lords of the running dasha, bhukti and antara, because that is the KP rule for when a matter fructifies, plus the natal basis the day is read against. ALWAYS AN OBJECT. Above latitude 66.56 the seven netted members are null, because the Placidus cusps behind the significators have no solution there, while natal is still populated because it is a property of the birth chart and needs no cusps; the reading also still carries its gochara, panchanga and dasha and names the omission in degraded. The two house groups are Krishnamurti Paddhati practice, but the NET is a KP practitioner convention rather than a classical operation: the KP sources that carry these groups use them as a promise test and an avoidance test, never as arithmetic. The groups also vary by author, and TWO houses are live disagreements rather than one. The 6th: some KP authors place it on the POSITIVE side as service income and salary, the exact opposite of the assignment used here. The 5th: it is named as a speculative GAIN house in the same KP sources that elsewhere call it a negation house, reading it as the 12th from the 6th and therefore loss of earning capacity, and both readings appear in one publication. The 1st is treated as a negation house by some authors on the same logic, as the 12th from the 2nd, and is not on either side here. This is a six house net and it is NOT the focus=finance lens, which re-reads all twelve bhavas in money vocabulary and moves no number. The two are orthogonal and both ship.
20592
20596
  */
20593
20597
  finance: {
20594
20598
  /**
@@ -20658,7 +20662,37 @@ export type GetVedicDailyReadingResponses = {
20658
20662
  dashaLevels: Array<'mahadasha' | 'antardasha' | 'pratyantardasha'>;
20659
20663
  }> | null;
20660
20664
  /**
20661
- * The natal basis of this area: whether the chart is wealthy AT ALL, as the four classical wealth and poverty verdicts dhana, daridra, lakshmi, dhanamalika, each with the evidence that decided it. A PROPERTY OF THE BIRTH CHART AND NOT OF THE DAY, so it is the same block on every date this native is ever read for, which is exactly why it is CONTEXT rather than a term: it deliberately does not enter score, verdict, tally or evaluated, above or here. Folding a constant into a per-day number would shift every day by the identical amount, carrying no information into the only comparison those numbers support, and it would break the published closed form that makes the top-level score reproducible by hand from grahas alone. Read it as the standing question the day is being read against. The verdicts are the same ones POST /yoga/detect and POST /birth-chart return for this chart, computed in the Lahiri natal frame rather than in the KP-Newcomb frame the significators above use. PRESENT AT EVERY LATITUDE, including above the polar circle: these verdicts need only whole-sign houses from the Lagna, so nothing about them depends on the cusps the KP members above lose there.
20665
+ * The equal-weight mean of the three day-level layer scores printed beside it, recomputable as round((day + finance + natal) / 3). WHICH LAYER IS WHICH: "day" is the top-level score of this reading, "finance" is areas.finance.score above, and "natal" is the share of the natal wealth yoga rows that speak for the native, positive yogas present plus negative yogas absent over the rows evaluated, so it is 0, 25, 50, 75 or 100. Equal weights are a RoxyAPI convention: no classical authority weights the natal chart, the running dasha and the transiting sky against each other, so the three are averaged as they are and printed beside the result, and the band uses the same ladder as verdict. The composite measures how much of this reading backs the native on this day and never the outcome of any matter: read it as support, not as a prediction. NULL IN TWO CASES, and neither is a low score. Null when the running lords reach none of the six houses, because an absence of connection is not a verdict and must not be averaged as one. Null above latitude 66.56, where the Placidus cusps the KP significators are read from have no solution: the question does not apply there rather than the answer being no, so never render it as zero or as a weak verdict. The natal block beside it is unaffected and still ships, and degraded names areas.finance.score.
20666
+ */
20667
+ composite: {
20668
+ /**
20669
+ * The mean itself, 0 to 100, rounded. Every term is printed in the layers below, so the division can be redone rather than trusted.
20670
+ */
20671
+ score: number;
20672
+ /**
20673
+ * The band the composite falls in, on the same ladder the top-level verdict uses: "very-strong" at 75 and above, "strong" at 50 and above, "moderate" at 25 and above, "weak" below 25.
20674
+ */
20675
+ band: 'very-strong' | 'strong' | 'moderate' | 'weak';
20676
+ /**
20677
+ * The three terms of the mean, always in the order day, finance, natal. Published so a caller who wants different weights can apply them to these same three numbers instead of asking for a second reading.
20678
+ */
20679
+ layers: Array<{
20680
+ /**
20681
+ * Which term this row carries: "day" the top-level score of this reading, "finance" the KP net score in this area, "natal" the natal wealth count. Canonical English machine value, so it stays safe to switch on in code.
20682
+ */
20683
+ layer: 'day' | 'finance' | 'natal';
20684
+ /**
20685
+ * The term that went into the mean, 0 to 100. Each one is either printed elsewhere in this response or counted off a block that is, so no number enters the average unseen.
20686
+ */
20687
+ score: number;
20688
+ /**
20689
+ * Where that one term lands on its own, on the same ladder as the composite band above: "very-strong" at 75 and above, "strong" at 50 and above, "moderate" at 25 and above, "weak" below 25.
20690
+ */
20691
+ band: 'very-strong' | 'strong' | 'moderate' | 'weak';
20692
+ }>;
20693
+ } | null;
20694
+ /**
20695
+ * The natal basis of this area: whether the chart is wealthy AT ALL, as the four classical wealth and poverty verdicts dhana, daridra, lakshmi, dhanamalika, each with the evidence that decided it. A PROPERTY OF THE BIRTH CHART AND NOT OF THE DAY, so it is the same block on every date this native is ever read for, which is exactly why it is CONTEXT rather than a term: it deliberately does not enter score, verdict, tally or evaluated, above or here, and the one number it does enter is the composite beside it, where it is printed as its own layer rather than folded in. Folding a constant into a per-day number would shift every day by the identical amount, carrying no information into the only comparison those numbers support, and it would break the published closed form that makes the top-level score reproducible by hand from grahas alone. Read it as the standing question the day is being read against. The verdicts are the same ones POST /yoga/detect and POST /birth-chart return for this chart, computed in the Lahiri natal frame rather than in the KP-Newcomb frame the significators above use. PRESENT AT EVERY LATITUDE, including above the polar circle: these verdicts need only whole-sign houses from the Lagna, so nothing about them depends on the cusps the KP members above lose there.
20662
20696
  */
20663
20697
  natal: Array<{
20664
20698
  /**
@@ -20714,7 +20748,7 @@ export type GetVedicDailyReadingResponses = {
20714
20748
  */
20715
20749
  degraded: Array<{
20716
20750
  /**
20717
- * Which part of the reading this location or date could not supply. "areas.finance.score" names the KP net by the member it is read through: the finance area itself always ships and its natal block is always populated, and it is the six netted members that are null.
20751
+ * Which part of the reading this location or date could not supply. "areas.finance.score" names the KP net by the member it is read through: the finance area itself always ships and its natal block is always populated, and it is the seven netted members that are null.
20718
20752
  */
20719
20753
  component: 'dayStart' | 'dayEnd' | 'areas.finance.score';
20720
20754
  /**
package/src/version.ts CHANGED
@@ -1,2 +1,2 @@
1
1
  // Generated by scripts/sync-version.ts. Do not edit.
2
- export const ROXY_UI_VERSION = '0.40.1';
2
+ export const ROXY_UI_VERSION = '0.41.0';