@roxyapi/ui 0.40.0 → 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 (98) 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/horoscope-card.js +3 -3
  9. package/dist/cdn/components/horoscope-card.js.map +3 -3
  10. package/dist/cdn/components/vedic-daily.js +4 -4
  11. package/dist/cdn/components/vedic-daily.js.map +3 -3
  12. package/dist/cdn/locales/de.js +1 -1
  13. package/dist/cdn/locales/de.js.map +2 -2
  14. package/dist/cdn/locales/es.js +1 -1
  15. package/dist/cdn/locales/es.js.map +2 -2
  16. package/dist/cdn/locales/fr.js +1 -1
  17. package/dist/cdn/locales/fr.js.map +2 -2
  18. package/dist/cdn/locales/hi.js +1 -1
  19. package/dist/cdn/locales/hi.js.map +2 -2
  20. package/dist/cdn/locales/pt.js +1 -1
  21. package/dist/cdn/locales/pt.js.map +2 -2
  22. package/dist/cdn/locales/ru.js +1 -1
  23. package/dist/cdn/locales/ru.js.map +2 -2
  24. package/dist/cdn/locales/tr.js +1 -1
  25. package/dist/cdn/locales/tr.js.map +2 -2
  26. package/dist/cdn/roxy-ui.js +40 -40
  27. package/dist/cdn/roxy-ui.js.map +3 -3
  28. package/dist/components/choghadiya-grid.js +1 -1
  29. package/dist/components/choghadiya-grid.js.map +2 -2
  30. package/dist/components/endpoint-form.js +1 -1
  31. package/dist/components/endpoint-form.js.map +1 -1
  32. package/dist/components/hora-table.js +1 -1
  33. package/dist/components/hora-table.js.map +2 -2
  34. package/dist/components/horoscope-card.d.ts +10 -0
  35. package/dist/components/horoscope-card.d.ts.map +1 -1
  36. package/dist/components/horoscope-card.js +1 -1
  37. package/dist/components/horoscope-card.js.map +3 -3
  38. package/dist/components/vedic-daily.d.ts +7 -0
  39. package/dist/components/vedic-daily.d.ts.map +1 -1
  40. package/dist/components/vedic-daily.js +1 -1
  41. package/dist/components/vedic-daily.js.map +3 -3
  42. package/dist/i18n/chrome-strings.d.ts +1 -1
  43. package/dist/i18n/chrome-strings.d.ts.map +1 -1
  44. package/dist/index.cjs +38 -38
  45. package/dist/index.cjs.map +3 -3
  46. package/dist/index.js +41 -41
  47. package/dist/index.js.map +3 -3
  48. package/dist/locales/de.d.ts.map +1 -1
  49. package/dist/locales/de.js +1 -1
  50. package/dist/locales/de.js.map +2 -2
  51. package/dist/locales/es.d.ts.map +1 -1
  52. package/dist/locales/es.js +1 -1
  53. package/dist/locales/es.js.map +2 -2
  54. package/dist/locales/fr.d.ts.map +1 -1
  55. package/dist/locales/fr.js +1 -1
  56. package/dist/locales/fr.js.map +2 -2
  57. package/dist/locales/hi.d.ts.map +1 -1
  58. package/dist/locales/hi.js +1 -1
  59. package/dist/locales/hi.js.map +2 -2
  60. package/dist/locales/pt.d.ts.map +1 -1
  61. package/dist/locales/pt.js +1 -1
  62. package/dist/locales/pt.js.map +2 -2
  63. package/dist/locales/ru.d.ts.map +1 -1
  64. package/dist/locales/ru.js +1 -1
  65. package/dist/locales/ru.js.map +2 -2
  66. package/dist/locales/tr.d.ts.map +1 -1
  67. package/dist/locales/tr.js +1 -1
  68. package/dist/locales/tr.js.map +2 -2
  69. package/dist/schemas/post--vedic-astrology-dasha-current.json +1 -1
  70. package/dist/schemas/post--vedic-astrology-kp-rasi-changes.json +1 -1
  71. package/dist/schemas/post--vedic-astrology-kp-sublord-changes.json +1 -1
  72. package/dist/styles/themes/practitioner.css +5 -5
  73. package/dist/types/types.gen.d.ts +100 -170
  74. package/dist/types/types.gen.d.ts.map +1 -1
  75. package/dist/version.d.ts +1 -1
  76. package/package.json +1 -1
  77. package/src/components/choghadiya-grid.ts +1 -1
  78. package/src/components/hora-table.ts +1 -1
  79. package/src/components/horoscope-card.ts +79 -61
  80. package/src/components/vedic-daily.ts +65 -0
  81. package/src/i18n/chrome-strings.ts +18 -1
  82. package/src/locales/de.ts +6 -1
  83. package/src/locales/es.ts +7 -1
  84. package/src/locales/field-labels/de.ts +2 -0
  85. package/src/locales/field-labels/es.ts +2 -0
  86. package/src/locales/field-labels/fr.ts +2 -0
  87. package/src/locales/field-labels/hi.ts +2 -0
  88. package/src/locales/field-labels/pt.ts +2 -0
  89. package/src/locales/field-labels/ru.ts +2 -0
  90. package/src/locales/field-labels/tr.ts +2 -0
  91. package/src/locales/fr.ts +6 -1
  92. package/src/locales/hi.ts +7 -1
  93. package/src/locales/pt.ts +7 -1
  94. package/src/locales/ru.ts +6 -1
  95. package/src/locales/tr.ts +8 -1
  96. package/src/styles/themes/practitioner.css +5 -5
  97. package/src/types/types.gen.ts +100 -170
  98. 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.0";
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.0",
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>`;
@@ -60,6 +60,24 @@ const EVENT_TYPE_LABEL: Record<SkyEventType, ChromeString> = {
60
60
  'solar-season': 'Solar season',
61
61
  };
62
62
 
63
+ /**
64
+ * The five topic fields that follow the standfirst, in the order the endpoint documents them.
65
+ *
66
+ * @remarks
67
+ * Typed against the daily response so a field renamed upstream fails to compile here, and typed
68
+ * {@link ChromeString} so the compiler is what proves each heading is catalogued. `overview` is
69
+ * deliberately absent: it is the standfirst the other five run under, not a sixth peer.
70
+ */
71
+ const SECTION_FIELDS = [
72
+ ['love', 'Love'],
73
+ ['career', 'Career'],
74
+ ['health', 'Health'],
75
+ ['finance', 'Finance'],
76
+ ['advice', 'Advice'],
77
+ ] as const satisfies ReadonlyArray<
78
+ readonly [keyof GetDailyHoroscopeResponse, ChromeString]
79
+ >;
80
+
63
81
  /** The four life areas `bestPeriods` names a month for, in the order the sections above use. */
64
82
  const BEST_AREAS = [
65
83
  ['love', 'Love'],
@@ -164,20 +182,46 @@ export class RoxyHoroscopeCard extends RoxyDataElement<HoroscopeData> {
164
182
  var(--roxy-motion-easing, cubic-bezier(0.4, 0, 0.2, 1));
165
183
  }
166
184
 
185
+ /* Every written field reads start to finish rather than being scanned, so
186
+ * all three shapes take the same wider leading and the same paragraph
187
+ * break; only the size differs. */
188
+ .column p,
189
+ .overview p,
190
+ .section p {
191
+ margin: 0;
192
+ line-height: 1.7;
193
+ color: var(--roxy-fg, #0a0a0a);
194
+ }
195
+
196
+ /* The standfirst over the topic sections: one size up from them and
197
+ * spanning the whole card, the way a magazine runs a standfirst across
198
+ * the columns it introduces. */
167
199
  .overview {
200
+ display: grid;
201
+ gap: var(--roxy-space-sm, 0.5rem);
202
+ }
203
+ .overview p {
168
204
  font-size: var(--roxy-text-base, 1rem);
169
- color: var(--roxy-fg, #0a0a0a);
170
- margin: 0;
171
205
  }
172
206
 
207
+ /* Each topic field is a column of prose rather than a phrase, so the
208
+ * track floor is the narrowest one that still holds a readable line at
209
+ * this size: a 250 word section takes about 24 lines in the track this
210
+ * floor produces. The min() keeps the layout on a single column once
211
+ * the card itself is narrower than the floor. */
173
212
  .sections {
174
213
  display: grid;
175
- grid-template-columns: repeat(auto-fit, minmax(12rem, 1fr));
176
- gap: var(--roxy-space-md, 1rem);
214
+ grid-template-columns: repeat(auto-fit, minmax(min(100%, 26rem), 1fr));
215
+ gap: var(--roxy-space-lg, 1.5rem) var(--roxy-space-md, 1rem);
177
216
  }
178
217
 
218
+ .section {
219
+ display: grid;
220
+ align-content: start;
221
+ gap: var(--roxy-space-sm, 0.5rem);
222
+ }
179
223
  .section h3 {
180
- margin: 0 0 var(--roxy-space-xs, 0.25rem) 0;
224
+ margin: 0;
181
225
  font-size: var(--roxy-text-xs, 0.75rem);
182
226
  color: var(--roxy-muted, #71717a);
183
227
  font-weight: var(--roxy-weight-bold, 600);
@@ -185,9 +229,7 @@ export class RoxyHoroscopeCard extends RoxyDataElement<HoroscopeData> {
185
229
  letter-spacing: 0.06em;
186
230
  }
187
231
  .section p {
188
- margin: 0;
189
232
  font-size: var(--roxy-text-sm, 0.875rem);
190
- color: var(--roxy-fg, #0a0a0a);
191
233
  }
192
234
 
193
235
  .lucky {
@@ -346,18 +388,13 @@ export class RoxyHoroscopeCard extends RoxyDataElement<HoroscopeData> {
346
388
  color: var(--roxy-fg, #0a0a0a);
347
389
  }
348
390
 
349
- /* The column: the same reading as the topic sections, run as one piece.
350
- * Wider leading than the sections, because it is read start to finish
351
- * rather than scanned. */
391
+ /* The column: the same reading as the topic sections, run as one piece. */
352
392
  .column {
353
393
  display: grid;
354
394
  gap: var(--roxy-space-md, 1rem);
355
395
  }
356
396
  .column p {
357
- margin: 0;
358
397
  font-size: var(--roxy-text-base, 1rem);
359
- line-height: 1.7;
360
- color: var(--roxy-fg, #0a0a0a);
361
398
  }
362
399
 
363
400
  /* One row shape for the events trail and the four yearly lists, so a
@@ -605,65 +642,46 @@ export class RoxyHoroscopeCard extends RoxyDataElement<HoroscopeData> {
605
642
  if (asColumn) {
606
643
  return d.column ? this.renderColumn(d.column) : nothing;
607
644
  }
645
+ const overview = this.paragraphs(d.overview);
608
646
  return html`${
609
- d.overview
610
- ? html`<p class="overview" part="section overview">${d.overview}</p>`
647
+ overview.length
648
+ ? html`<div class="overview" part="section overview">${overview}</div>`
611
649
  : nothing
612
650
  }
613
651
  <div class="sections" part="section outlook">
614
- ${
615
- d.love
616
- ? html`<div class="section">
617
- <h3>${this.t('Love')}</h3>
618
- <p>${d.love}</p>
619
- </div>`
620
- : nothing
621
- }
622
- ${
623
- d.career
624
- ? html`<div class="section">
625
- <h3>${this.t('Career')}</h3>
626
- <p>${d.career}</p>
627
- </div>`
628
- : nothing
629
- }
630
- ${
631
- d.health
632
- ? html`<div class="section">
633
- <h3>${this.t('Health')}</h3>
634
- <p>${d.health}</p>
635
- </div>`
636
- : nothing
637
- }
638
- ${
639
- d.finance
640
- ? html`<div class="section">
641
- <h3>${this.t('Finance')}</h3>
642
- <p>${d.finance}</p>
643
- </div>`
644
- : nothing
645
- }
646
- ${
647
- d.advice
648
- ? html`<div class="section">
649
- <h3>${this.t('Advice')}</h3>
650
- <p>${d.advice}</p>
651
- </div>`
652
- : nothing
653
- }
652
+ ${SECTION_FIELDS.map(([key, label]) => {
653
+ const paragraphs = this.paragraphs(d[key]);
654
+ if (!paragraphs.length) return nothing;
655
+ return html`<div class="section">
656
+ <h3>${this.t(label)}</h3>
657
+ ${paragraphs}
658
+ </div>`;
659
+ })}
654
660
  </div>`;
655
661
  }
656
662
 
657
663
  /** The column as the API set it: one paragraph per blank-line break, never one wall of text. */
658
664
  private renderColumn(column: string) {
659
- const paragraphs = column
665
+ const paragraphs = this.paragraphs(column);
666
+ if (paragraphs.length === 0) return nothing;
667
+ return html`<div class="column" part="section column">${paragraphs}</div>`;
668
+ }
669
+
670
+ /**
671
+ * A written field as the paragraphs the API set in it.
672
+ *
673
+ * @remarks
674
+ * Every long field separates its paragraphs with a blank line, and a blank line inside a text
675
+ * node collapses to a single space, so a field rendered as one node loses every break the
676
+ * editor made. The column and each topic section are the same reading split two ways, so both
677
+ * go through here rather than the column alone.
678
+ */
679
+ private paragraphs(text: string | undefined) {
680
+ return (text ?? '')
660
681
  .split(/\n\s*\n/)
661
682
  .map((p) => p.trim())
662
- .filter(Boolean);
663
- if (paragraphs.length === 0) return nothing;
664
- return html`<div class="column" part="section column">
665
- ${paragraphs.map((p) => html`<p>${p}</p>`)}
666
- </div>`;
683
+ .filter(Boolean)
684
+ .map((p) => html`<p>${p}</p>`);
667
685
  }
668
686
 
669
687
  /**
@@ -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',
@@ -247,7 +247,9 @@ registerFieldLabels('de', {
247
247
  'planet.Jupiter': 'Jupiter',
248
248
  'planet.Mars': 'Mars',
249
249
  'planet.Mercury': 'Merkur',
250
+ 'planet.Moon': 'Mond',
250
251
  'planet.Saturn': 'Saturn',
252
+ 'planet.Sun': 'Sonne',
251
253
  'planet.Venus': 'Venus',
252
254
  'scheme.eight': 'Acht Karakas',
253
255
  'scheme.seven': 'Sieben Karakas',
@@ -246,7 +246,9 @@ registerFieldLabels('es', {
246
246
  'planet.Jupiter': 'Júpiter',
247
247
  'planet.Mars': 'Marte',
248
248
  'planet.Mercury': 'Mercurio',
249
+ 'planet.Moon': 'Luna',
249
250
  'planet.Saturn': 'Saturno',
251
+ 'planet.Sun': 'Sol',
250
252
  'planet.Venus': 'Venus',
251
253
  'scheme.eight': 'Ocho karakas',
252
254
  'scheme.seven': 'Siete karakas',
@@ -246,7 +246,9 @@ registerFieldLabels('fr', {
246
246
  'planet.Jupiter': 'Jupiter',
247
247
  'planet.Mars': 'Mars',
248
248
  'planet.Mercury': 'Mercure',
249
+ 'planet.Moon': 'Lune',
249
250
  'planet.Saturn': 'Saturne',
251
+ 'planet.Sun': 'Soleil',
250
252
  'planet.Venus': 'Vénus',
251
253
  'scheme.eight': 'Huit karakas',
252
254
  'scheme.seven': 'Sept karakas',
@@ -246,7 +246,9 @@ registerFieldLabels('hi', {
246
246
  'planet.Jupiter': 'बृहस्पति',
247
247
  'planet.Mars': 'मंगल',
248
248
  'planet.Mercury': 'बुध',
249
+ 'planet.Moon': 'चंद्रमा',
249
250
  'planet.Saturn': 'शनि',
251
+ 'planet.Sun': 'सूर्य',
250
252
  'planet.Venus': 'शुक्र',
251
253
  'scheme.eight': 'आठ कारक',
252
254
  'scheme.seven': 'सात कारक',
@@ -246,7 +246,9 @@ registerFieldLabels('pt', {
246
246
  'planet.Jupiter': 'Júpiter',
247
247
  'planet.Mars': 'Marte',
248
248
  'planet.Mercury': 'Mercúrio',
249
+ 'planet.Moon': 'Lua',
249
250
  'planet.Saturn': 'Saturno',
251
+ 'planet.Sun': 'Sol',
250
252
  'planet.Venus': 'Vênus',
251
253
  'scheme.eight': 'Oito karakas',
252
254
  'scheme.seven': 'Sete karakas',
@@ -247,7 +247,9 @@ registerFieldLabels('ru', {
247
247
  'planet.Jupiter': 'Юпитер',
248
248
  'planet.Mars': 'Марс',
249
249
  'planet.Mercury': 'Меркурий',
250
+ 'planet.Moon': 'Луна',
250
251
  'planet.Saturn': 'Сатурн',
252
+ 'planet.Sun': 'Солнце',
251
253
  'planet.Venus': 'Венера',
252
254
  'scheme.eight': 'Восемь карак',
253
255
  'scheme.seven': 'Семь карак',
@@ -247,7 +247,9 @@ registerFieldLabels('tr', {
247
247
  'planet.Jupiter': 'Jüpiter',
248
248
  'planet.Mars': 'Mars',
249
249
  'planet.Mercury': 'Merkür',
250
+ 'planet.Moon': 'Ay',
250
251
  'planet.Saturn': 'Satürn',
252
+ 'planet.Sun': 'Güneş',
251
253
  'planet.Venus': 'Venüs',
252
254
  'scheme.eight': 'Eight karakas',
253
255
  'scheme.seven': 'Seven karakas',
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.0/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.0/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.0/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.0/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.0/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
  }