@roxyapi/ui-react 1.1.1 → 1.1.3

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 (85) hide show
  1. package/AGENTS.md +5 -5
  2. package/README.md +3 -3
  3. package/dist/components/almanac-day.js +1 -1
  4. package/dist/components/angel-number-card.js +1 -1
  5. package/dist/components/angel-number-lookup.js +1 -1
  6. package/dist/components/arudha-padas.js +1 -1
  7. package/dist/components/ashtakavarga-grid.js +1 -1
  8. package/dist/components/aspects-table.js +1 -1
  9. package/dist/components/astrocartography-map.js +1 -1
  10. package/dist/components/bazi-chart.js +1 -1
  11. package/dist/components/bhav-chalit-table.js +1 -1
  12. package/dist/components/bhava-bala-table.js +1 -1
  13. package/dist/components/biorhythm-chart.js +1 -1
  14. package/dist/components/bodygraph.js +1 -1
  15. package/dist/components/chara-karakas.js +1 -1
  16. package/dist/components/choghadiya-grid.js +1 -1
  17. package/dist/components/compatibility-card.js +1 -1
  18. package/dist/components/compound-number.js +1 -1
  19. package/dist/components/crystal-card.js +1 -1
  20. package/dist/components/crystal-grid.js +1 -1
  21. package/dist/components/dasha-timeline.js +1 -1
  22. package/dist/components/data.js +1 -1
  23. package/dist/components/divisional-chart.js +1 -1
  24. package/dist/components/dosha-card.js +1 -1
  25. package/dist/components/dosha-constitution.js +1 -1
  26. package/dist/components/dream-card.js +1 -1
  27. package/dist/components/dream-search.js +1 -1
  28. package/dist/components/endpoint-form.js +1 -1
  29. package/dist/components/ephemeris-table.js +1 -1
  30. package/dist/components/fixed-stars.js +1 -1
  31. package/dist/components/flying-star-chart.js +1 -1
  32. package/dist/components/forecast-digest.js +1 -1
  33. package/dist/components/forecast-timeline.js +1 -1
  34. package/dist/components/gematria.js +1 -1
  35. package/dist/components/gochara-table.js +1 -1
  36. package/dist/components/guna-milan.js +1 -1
  37. package/dist/components/hd-connection.js +1 -1
  38. package/dist/components/hd-penta.js +1 -1
  39. package/dist/components/hd-type-card.js +1 -1
  40. package/dist/components/hd-variables.js +1 -1
  41. package/dist/components/heliacal-table.js +1 -1
  42. package/dist/components/hexagram.js +1 -1
  43. package/dist/components/hora-table.js +1 -1
  44. package/dist/components/horoscope-card.js +1 -1
  45. package/dist/components/kp-chart.js +1 -1
  46. package/dist/components/kp-finance-card.js +1 -1
  47. package/dist/components/kp-planets-table.js +1 -1
  48. package/dist/components/kp-ruling-planets.js +1 -1
  49. package/dist/components/kua-card.js +1 -1
  50. package/dist/components/local-space-compass.js +1 -1
  51. package/dist/components/location-search.js +1 -1
  52. package/dist/components/luck-pillars.js +1 -1
  53. package/dist/components/mayan-day-sign.js +1 -1
  54. package/dist/components/moon-phase.js +1 -1
  55. package/dist/components/nakshatra-card.js +1 -1
  56. package/dist/components/natal-chart.js +1 -1
  57. package/dist/components/numerology-card.js +1 -1
  58. package/dist/components/panchang-table.js +1 -1
  59. package/dist/components/positions-table.js +1 -1
  60. package/dist/components/profection-card.js +1 -1
  61. package/dist/components/reference-card.js +1 -1
  62. package/dist/components/relocation-wheel.js +1 -1
  63. package/dist/components/shadbala-table.js +1 -1
  64. package/dist/components/synastry-chart.js +1 -1
  65. package/dist/components/tarot-card.js +1 -1
  66. package/dist/components/tarot-catalog.js +1 -1
  67. package/dist/components/tarot-spread.js +1 -1
  68. package/dist/components/transit-wheel.js +1 -1
  69. package/dist/components/transits-table.js +1 -1
  70. package/dist/components/upagraha-table.js +1 -1
  71. package/dist/components/vastu-mandala.js +1 -1
  72. package/dist/components/vedic-aspects.js +1 -1
  73. package/dist/components/vedic-daily.js +1 -1
  74. package/dist/components/vedic-kundli.js +1 -1
  75. package/dist/components/vedic-planets-table.js +1 -1
  76. package/dist/components/western-planets-table.js +1 -1
  77. package/dist/components/yoga-list.js +1 -1
  78. package/dist/components/zodiac-card.js +1 -1
  79. package/dist/index.cjs +1 -1
  80. package/dist/index.js +1 -1
  81. package/dist/jsx.d.ts +2 -2
  82. package/dist/load-ui.d.ts +2 -2
  83. package/dist/load-ui.js +1 -1
  84. package/dist/types/types.gen.d.ts +48 -36
  85. package/package.json +1 -1
package/dist/jsx.d.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  /**
2
- * Raw-tag typings for the Roxy custom elements, so `<roxy-natal-chart heading="Chart">` type-checks in a React file with no wrapper component and no client JavaScript.
2
+ * Raw-tag typings for the Roxy custom elements, so `<roxy-natal-chart heading="Chart">` type-checks in a React file without importing a component and with no client JavaScript.
3
3
  *
4
4
  * @remarks
5
5
  * GENERATED. Import it once anywhere in your project and every Roxy tag is typed everywhere:
@@ -8,7 +8,7 @@
8
8
  * import '@roxyapi/ui-react/jsx';
9
9
  * ```
10
10
  *
11
- * The wrapper components remain the path for a page that passes a response: they set `data` as a property, which markup cannot carry. This file is for the other case, a tag rendered on the server and left alone.
11
+ * The React components remain the path for a page that passes a response: they set `data` as a property, which markup cannot carry. This file is for the other case, a tag rendered on the server and left alone.
12
12
  *
13
13
  * Attribute names are the elements' own: several are renamed at the element and the rest are lowercased, so they are read from the source rather than derived from the prop names.
14
14
  */
package/dist/load-ui.d.ts CHANGED
@@ -21,8 +21,8 @@
21
21
  * before any component mounts. The loader keeps a single shared promise, so the first
22
22
  * call wins and every component reuses it.
23
23
  */
24
- /** The @roxyapi/ui release this wrapper was generated against. The loader defaults to it, so the wrapper version in your lockfile is the runtime you actually get. */
25
- export declare const ROXY_UI_VERSION = "1.1.1";
24
+ /** The @roxyapi/ui release this package was generated against. The loader defaults to it, so the package version in your lockfile is the runtime you actually get. */
25
+ export declare const ROXY_UI_VERSION = "1.1.3";
26
26
  export declare function ensureScriptLoaded(version?: string, baseUrl?: string): Promise<void>;
27
27
  /** Every language a label catalogue ships for. English is absent on purpose: the catalogue key IS the English string, so an English page downloads nothing. */
28
28
  export declare const ROXY_UI_LOCALES: readonly ["de", "es", "fr", "hi", "pt", "ru", "tr", "zh-Hans", "zh-Hant"];
package/dist/load-ui.js CHANGED
@@ -1 +1 @@
1
- var p="1.1.1",l="roxyapi-ui-loader",f="https://cdn.jsdelivr.net/npm/@roxyapi/ui@latest/dist/cdn",L="https://cdn.jsdelivr.net/npm/@roxyapi/ui@",g="/dist/cdn",i=null;function E(r){return!r||r==="latest"?f:`${L}${r}${g}`}function y(r=p,s){return typeof document>"u"?Promise.resolve():i||(i=new Promise((d,n)=>{let o=`${s??E(r)}/roxy-ui.js`,e=document.getElementById(l);if(e){e.dataset.loaded==="true"?d():(e.addEventListener("load",()=>d()),e.addEventListener("error",()=>n(new Error("roxy-ui load failed"))));return}e=document.createElement("script"),e.id=l,e.src=o,e.async=!0,e.crossOrigin="anonymous",e.addEventListener("load",()=>{e.dataset.loaded="true",d()}),e.addEventListener("error",()=>n(new Error("roxy-ui load failed"))),document.head.appendChild(e)}),i)}var x=["de","es","fr","hi","pt","ru","tr","zh-Hans","zh-Hant"],m=new Map;function v(r,s=p,d){if(typeof document>"u")return Promise.resolve();let n=(r||"").toLowerCase().split("-")[0]??"";if(!x.includes(n))return Promise.resolve();let o=m.get(n);if(o)return o;let e=new Promise((a,u)=>{let c=`${l}-locale-${n}`,t=document.getElementById(c);if(t){t.dataset.loaded==="true"?a():(t.addEventListener("load",()=>a()),t.addEventListener("error",()=>u(new Error(`roxy-ui locale ${n} load failed`))));return}t=document.createElement("script"),t.id=c,t.src=`${d??E(s)}/locales/${n}.js`,t.async=!0,t.crossOrigin="anonymous",t.addEventListener("load",()=>{t.dataset.loaded="true",a()}),t.addEventListener("error",()=>u(new Error(`roxy-ui locale ${n} load failed`))),document.head.appendChild(t)});return m.set(n,e),e}var P=y;export{x as ROXY_UI_LOCALES,p as ROXY_UI_VERSION,P as default,v as ensureLocaleLoaded,y as ensureScriptLoaded};
1
+ var p="1.1.3",l="roxyapi-ui-loader",f="https://cdn.jsdelivr.net/npm/@roxyapi/ui@latest/dist/cdn",L="https://cdn.jsdelivr.net/npm/@roxyapi/ui@",g="/dist/cdn",i=null;function E(r){return!r||r==="latest"?f:`${L}${r}${g}`}function y(r=p,s){return typeof document>"u"?Promise.resolve():i||(i=new Promise((d,n)=>{let o=`${s??E(r)}/roxy-ui.js`,e=document.getElementById(l);if(e){e.dataset.loaded==="true"?d():(e.addEventListener("load",()=>d()),e.addEventListener("error",()=>n(new Error("roxy-ui load failed"))));return}e=document.createElement("script"),e.id=l,e.src=o,e.async=!0,e.crossOrigin="anonymous",e.addEventListener("load",()=>{e.dataset.loaded="true",d()}),e.addEventListener("error",()=>n(new Error("roxy-ui load failed"))),document.head.appendChild(e)}),i)}var x=["de","es","fr","hi","pt","ru","tr","zh-Hans","zh-Hant"],m=new Map;function v(r,s=p,d){if(typeof document>"u")return Promise.resolve();let n=(r||"").toLowerCase().split("-")[0]??"";if(!x.includes(n))return Promise.resolve();let o=m.get(n);if(o)return o;let e=new Promise((a,u)=>{let c=`${l}-locale-${n}`,t=document.getElementById(c);if(t){t.dataset.loaded==="true"?a():(t.addEventListener("load",()=>a()),t.addEventListener("error",()=>u(new Error(`roxy-ui locale ${n} load failed`))));return}t=document.createElement("script"),t.id=c,t.src=`${d??E(s)}/locales/${n}.js`,t.async=!0,t.crossOrigin="anonymous",t.addEventListener("load",()=>{t.dataset.loaded="true",a()}),t.addEventListener("error",()=>u(new Error(`roxy-ui locale ${n} load failed`))),document.head.appendChild(t)});return m.set(n,e),e}var P=y;export{x as ROXY_UI_LOCALES,p as ROXY_UI_VERSION,P as default,v as ensureLocaleLoaded,y as ensureScriptLoaded};
@@ -1645,7 +1645,7 @@ export type FixedStarsResponse = {
1645
1645
  interpretation: string;
1646
1646
  }>;
1647
1647
  /**
1648
- * Short overview of the fixed-star report for previews and report intros.
1648
+ * Short overview of the fixed-star report for previews and report intros: the number of conjunctions inside the orb and the tightest one found, or a plain statement that no star touches the chart. Localized to the requested language.
1649
1649
  */
1650
1650
  summary: string;
1651
1651
  };
@@ -1888,7 +1888,7 @@ export type LilithResponse = {
1888
1888
  timezone: number;
1889
1889
  };
1890
1890
  /**
1891
- * House system applied when placing each variant in a house.
1891
+ * House system actually applied when placing each variant in a house. Differs from the requested system only above the polar circle, where quadrant systems fall back to Whole Sign.
1892
1892
  */
1893
1893
  houseSystem: 'placidus' | 'whole-sign' | 'equal' | 'koch';
1894
1894
  /**
@@ -1971,7 +1971,7 @@ export type LilithRequest = {
1971
1971
  */
1972
1972
  nodeType?: 'mean' | 'true';
1973
1973
  /**
1974
- * House system used to place each Lilith variant in a house. Placidus (default), Whole Sign, Equal, or Koch.
1974
+ * House system used to place each Lilith variant in a house. Placidus (default), Whole Sign, Equal, or Koch. Above the polar circle, quadrant systems fall back to Whole Sign and the echoed houseSystem reports the system actually used.
1975
1975
  */
1976
1976
  houseSystem?: 'placidus' | 'whole-sign' | 'equal' | 'koch';
1977
1977
  };
@@ -2042,7 +2042,7 @@ export type ProgressionsResponse = {
2042
2042
  */
2043
2043
  degree: number;
2044
2044
  /**
2045
- * Whole-sign house (1 to 12) counted from the progressed Ascendant sign. The 1st house is the entire sign the progressed Ascendant falls in.
2045
+ * Natal house (1 to 12) the progressed body occupies, read against the natal cusps in the requested houseSystem, the same house number POST /natal-chart gives a body at this longitude. Natal houses are the standard frame for reading progressed planets, the progressed Moon through the houses above all.
2046
2046
  */
2047
2047
  house: number;
2048
2048
  /**
@@ -2134,6 +2134,10 @@ export type ProgressionsRequest = {
2134
2134
  * Date to progress the chart to, in YYYY-MM-DD format. Usually today or a forecast date. The day-for-a-year key turns the elapsed years since birth into the same number of ephemeris days after the birth moment.
2135
2135
  */
2136
2136
  targetDate: string;
2137
+ /**
2138
+ * House system of the natal chart that every progressed body is placed in. Pass the system the natal chart was drawn in so the house numbers match it. Placidus (default) is the most widely used in Western astrology. Whole Sign assigns one sign per house. Equal divides into 30 degree segments from the Ascendant. Koch emphasizes higher latitudes. Quadrant systems fall back to Whole Sign above the polar circle.
2139
+ */
2140
+ houseSystem?: 'placidus' | 'whole-sign' | 'equal' | 'koch';
2137
2141
  };
2138
2142
  export type SolarArcResponse = {
2139
2143
  /**
@@ -3162,7 +3166,7 @@ export type BirthChartResponse = {
3162
3166
  };
3163
3167
  };
3164
3168
  /**
3165
- * Forty-four classical yogas detected against this chart. Twelve conjunction and dignity yogas: Gajakesari (three-rule parashara definition), Sunapha, Anapha, Dhurdhura, Kemadruma, Chandra Mangala, Budha-Aditya, and the five Pancha Mahapurusha (Ruchaka, Bhadra, Hamsa, Malavya, Sasa). Plus all 32 Nabhasa distribution yogas across the Asraya, Dala, Akriti and Sankhya families, which read how the seven visible grahas are spread over the whole chart rather than any single conjunction, and which apply the four classical precedence norms so an outranked yoga is returned as absent with evidence naming the norm that silenced it. Each entry carries an `id` (matches `GET /yoga/{id}` for full glossary lookup), a `present` boolean, a `quality` (Positive, Negative, or Both = auspicious, inauspicious, or context-dependent), and classical-text `evidence` for the rule that triggered or failed. Filter on `present === true` for the active list.
3169
+ * Forty-eight classical yogas detected against this chart. Twelve conjunction and dignity yogas: Gajakesari (three-rule parashara definition), Sunapha, Anapha, Dhurdhura, Kemadruma, Chandra Mangala, Budha-Aditya, and the five Pancha Mahapurusha (Ruchaka, Bhadra, Hamsa, Malavya, Sasa). Plus all 32 Nabhasa distribution yogas across the Asraya, Dala, Akriti and Sankhya families, which read how the seven visible grahas are spread over the whole chart rather than any single conjunction, and which apply the four classical precedence norms so an outranked yoga is returned as absent with evidence naming the norm that silenced it. Plus the four wealth and poverty verdicts (Dhana, Daridra, Lakshmi, Dhana Malika), each reading as the first rule that matched. Each entry carries an `id` (matches `GET /yoga/{id}` for full glossary lookup), a `present` boolean, a `quality` (Positive, Negative, or Both = auspicious, inauspicious, or context-dependent), and classical-text `evidence` for the rule that triggered or failed. Filter on `present === true` for the active list.
3166
3170
  */
3167
3171
  yogas?: Array<{
3168
3172
  /**
@@ -4741,7 +4745,7 @@ export type KpPlanetsRequest = {
4741
4745
  */
4742
4746
  time: string;
4743
4747
  /**
4744
- * Birth location latitude in decimal degrees
4748
+ * Birth location latitude in decimal degrees. Accepted at any latitude, polar included: planet longitudes are geocentric and the star and sub lords are divisions of longitude, so no house cusp is involved.
4745
4749
  */
4746
4750
  latitude: number;
4747
4751
  /**
@@ -4841,7 +4845,7 @@ export type KpCuspsRequest = {
4841
4845
  */
4842
4846
  time: string;
4843
4847
  /**
4844
- * Birth location latitude in decimal degrees
4848
+ * Birth location latitude in decimal degrees. The latitude must lie below 66.56 degrees north or south, inside the polar circles: KP cusps are Placidus, which has no solution beyond them, so a polar latitude returns 400.
4845
4849
  */
4846
4850
  latitude: number;
4847
4851
  /**
@@ -5215,7 +5219,7 @@ export type KpChartRequest = {
5215
5219
  */
5216
5220
  time: string;
5217
5221
  /**
5218
- * Birth location latitude in decimal degrees
5222
+ * Birth location latitude in decimal degrees. The latitude must lie below 66.56 degrees north or south, inside the polar circles: KP cusps are Placidus, which has no solution beyond them, so a polar latitude returns 400.
5219
5223
  */
5220
5224
  latitude: number;
5221
5225
  /**
@@ -6068,7 +6072,7 @@ export type KpHoraryRequest = {
6068
6072
  */
6069
6073
  time: string;
6070
6074
  /**
6071
- * Latitude where the question is judged, decimal degrees. The house cusps are Placidus and therefore latitude dependent, so this is the place of judgment, not the querent birthplace.
6075
+ * Latitude where the question is judged, decimal degrees. The house cusps are Placidus and therefore latitude dependent, so this is the place of judgment, not the querent birthplace. The latitude must lie below 66.56 degrees north or south, inside the polar circles: KP cusps are Placidus, which has no solution beyond them, so a polar latitude returns 400.
6072
6076
  */
6073
6077
  latitude: number;
6074
6078
  /**
@@ -6441,7 +6445,7 @@ export type KpDailyFinanceRequest = {
6441
6445
  */
6442
6446
  birthTime: string;
6443
6447
  /**
6444
- * Birth latitude in decimal degrees. Sets the Placidus cusps; also the place the ruling planets and the Moon windows are read at.
6448
+ * Birth latitude in decimal degrees. Sets the Placidus cusps; also the place the ruling planets and the Moon windows are read at. The latitude must lie below 66.56 degrees north or south, inside the polar circles: KP cusps are Placidus, which has no solution beyond them, so a polar latitude returns 400.
6445
6449
  */
6446
6450
  latitude: number;
6447
6451
  /**
@@ -6449,7 +6453,7 @@ export type KpDailyFinanceRequest = {
6449
6453
  */
6450
6454
  longitude: number;
6451
6455
  /**
6452
- * Timezone as an IANA name (Asia/Kolkata) or decimal hours from UTC. Applies to the birth time, to the reading date and time, and to every local timestamp in the response. IANA names resolve to the offset in force on the date being read.
6456
+ * Timezone as an IANA name (Asia/Kolkata) or decimal hours from UTC. Applies to the birth time, to the reading date and time, and to every local timestamp in the response. An IANA name is resolved twice, each to the offset in force at its own moment: at the birth date and time for the natal chart, and on the date being read for the reading. A decimal is applied to both as sent.
6453
6457
  */
6454
6458
  timezone?: number | string;
6455
6459
  /**
@@ -7601,7 +7605,7 @@ export type HeliacalResponse = {
7601
7605
  */
7602
7606
  retrograde: boolean;
7603
7607
  /**
7604
- * Plain angular separation of the two ecliptic longitudes, in degrees. Returned beside timeDegrees so the two measures can be compared: this is what a combustion flag on a birth chart uses, and the gap between them is precisely what a location-aware heliacal calculation adds.
7608
+ * Plain angular separation of the two ecliptic longitudes, in degrees, read at the same instant as timeDegrees: the Sun crossing the horizon named in `horizon` on the requested day, sunset for west and sunrise for east, at the observer location. Returned beside timeDegrees so the two measures can be compared: this is the quantity a combustion flag on a birth chart uses, and the gap between them is precisely what a location-aware heliacal calculation adds. A birth chart reads it at the birth moment instead, so the two differ by however far the graha and the Sun moved in between, about half a degree per hour for the Moon.
7605
7609
  */
7606
7610
  longitudeSeparation: number;
7607
7611
  /**
@@ -18875,7 +18879,7 @@ export type GetCurrentDashaData = {
18875
18879
  */
18876
18880
  ayanamsaValue?: number;
18877
18881
  /**
18878
- * Set true to attach the KP significators of each period lord: its star lord, sub lord, occupied house, the houses it signifies at levels L1 to L4, and a strength grade. Off by default, so responses stay exactly as they are for clients that only need dates. Requires the birth latitude and longitude, since significators are read off a Placidus house chart, and uses the same ayanamsa frame selected above.
18882
+ * Set true to attach the KP significators of each period lord: its star lord, sub lord, occupied house, the houses it signifies at levels L1 to L4, and a strength grade. Off by default, so responses stay exactly as they are for clients that only need dates. Requires the birth latitude and longitude, since significators are read off a Placidus house chart, and uses the same ayanamsa frame selected above. The latitude must lie below 66.56 degrees north or south, inside the polar circles: KP cusps are Placidus, which has no solution beyond them, so a polar latitude returns 400.
18879
18883
  */
18880
18884
  significators?: boolean;
18881
18885
  /**
@@ -18883,7 +18887,7 @@ export type GetCurrentDashaData = {
18883
18887
  */
18884
18888
  nodeType?: 'mean' | 'true';
18885
18889
  /**
18886
- * 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.
18890
+ * 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, an IANA name resolved at this datetime rather than at the birth (a trailing Z is accepted but ignored); with timezone 0 it is UTC.
18887
18891
  */
18888
18892
  datetime?: string;
18889
18893
  };
@@ -19713,7 +19717,7 @@ export type GetMajorDashasData = {
19713
19717
  */
19714
19718
  ayanamsaValue?: number;
19715
19719
  /**
19716
- * Set true to attach the KP significators of each period lord: its star lord, sub lord, occupied house, the houses it signifies at levels L1 to L4, and a strength grade. Off by default, so responses stay exactly as they are for clients that only need dates. Requires the birth latitude and longitude, since significators are read off a Placidus house chart, and uses the same ayanamsa frame selected above.
19720
+ * Set true to attach the KP significators of each period lord: its star lord, sub lord, occupied house, the houses it signifies at levels L1 to L4, and a strength grade. Off by default, so responses stay exactly as they are for clients that only need dates. Requires the birth latitude and longitude, since significators are read off a Placidus house chart, and uses the same ayanamsa frame selected above. The latitude must lie below 66.56 degrees north or south, inside the polar circles: KP cusps are Placidus, which has no solution beyond them, so a polar latitude returns 400.
19717
19721
  */
19718
19722
  significators?: boolean;
19719
19723
  /**
@@ -20046,7 +20050,7 @@ export type GetSubDashasData = {
20046
20050
  */
20047
20051
  ayanamsaValue?: number;
20048
20052
  /**
20049
- * Set true to attach the KP significators of each period lord: its star lord, sub lord, occupied house, the houses it signifies at levels L1 to L4, and a strength grade. Off by default, so responses stay exactly as they are for clients that only need dates. Requires the birth latitude and longitude, since significators are read off a Placidus house chart, and uses the same ayanamsa frame selected above.
20053
+ * Set true to attach the KP significators of each period lord: its star lord, sub lord, occupied house, the houses it signifies at levels L1 to L4, and a strength grade. Off by default, so responses stay exactly as they are for clients that only need dates. Requires the birth latitude and longitude, since significators are read off a Placidus house chart, and uses the same ayanamsa frame selected above. The latitude must lie below 66.56 degrees north or south, inside the polar circles: KP cusps are Placidus, which has no solution beyond them, so a polar latitude returns 400.
20050
20054
  */
20051
20055
  significators?: boolean;
20052
20056
  /**
@@ -20447,7 +20451,7 @@ export type GetPratyantardashasData = {
20447
20451
  */
20448
20452
  ayanamsaValue?: number;
20449
20453
  /**
20450
- * Set true to attach the KP significators of each period lord: its star lord, sub lord, occupied house, the houses it signifies at levels L1 to L4, and a strength grade. Off by default, so responses stay exactly as they are for clients that only need dates. Requires the birth latitude and longitude, since significators are read off a Placidus house chart, and uses the same ayanamsa frame selected above.
20454
+ * Set true to attach the KP significators of each period lord: its star lord, sub lord, occupied house, the houses it signifies at levels L1 to L4, and a strength grade. Off by default, so responses stay exactly as they are for clients that only need dates. Requires the birth latitude and longitude, since significators are read off a Placidus house chart, and uses the same ayanamsa frame selected above. The latitude must lie below 66.56 degrees north or south, inside the polar circles: KP cusps are Placidus, which has no solution beyond them, so a polar latitude returns 400.
20451
20455
  */
20452
20456
  significators?: boolean;
20453
20457
  /**
@@ -20864,7 +20868,7 @@ export type GetSookshmaDashasData = {
20864
20868
  */
20865
20869
  ayanamsaValue?: number;
20866
20870
  /**
20867
- * Set true to attach the KP significators of each period lord: its star lord, sub lord, occupied house, the houses it signifies at levels L1 to L4, and a strength grade. Off by default, so responses stay exactly as they are for clients that only need dates. Requires the birth latitude and longitude, since significators are read off a Placidus house chart, and uses the same ayanamsa frame selected above.
20871
+ * Set true to attach the KP significators of each period lord: its star lord, sub lord, occupied house, the houses it signifies at levels L1 to L4, and a strength grade. Off by default, so responses stay exactly as they are for clients that only need dates. Requires the birth latitude and longitude, since significators are read off a Placidus house chart, and uses the same ayanamsa frame selected above. The latitude must lie below 66.56 degrees north or south, inside the polar circles: KP cusps are Placidus, which has no solution beyond them, so a polar latitude returns 400.
20868
20872
  */
20869
20873
  significators?: boolean;
20870
20874
  /**
@@ -21297,7 +21301,7 @@ export type GetPranaDashasData = {
21297
21301
  */
21298
21302
  ayanamsaValue?: number;
21299
21303
  /**
21300
- * Set true to attach the KP significators of each period lord: its star lord, sub lord, occupied house, the houses it signifies at levels L1 to L4, and a strength grade. Off by default, so responses stay exactly as they are for clients that only need dates. Requires the birth latitude and longitude, since significators are read off a Placidus house chart, and uses the same ayanamsa frame selected above.
21304
+ * Set true to attach the KP significators of each period lord: its star lord, sub lord, occupied house, the houses it signifies at levels L1 to L4, and a strength grade. Off by default, so responses stay exactly as they are for clients that only need dates. Requires the birth latitude and longitude, since significators are read off a Placidus house chart, and uses the same ayanamsa frame selected above. The latitude must lie below 66.56 degrees north or south, inside the polar circles: KP cusps are Placidus, which has no solution beyond them, so a polar latitude returns 400.
21301
21305
  */
21302
21306
  significators?: boolean;
21303
21307
  /**
@@ -21734,7 +21738,7 @@ export type GetVedicDailyReadingData = {
21734
21738
  */
21735
21739
  longitude: number;
21736
21740
  /**
21737
- * Timezone: IANA name (e.g. "Asia/Kolkata", "America/New_York") OR decimal hours from UTC (e.g. -5 for EST, 5.5 for IST). IANA strings are resolved to the DST-correct offset for the date being read. Interprets the birth time and the civil date below. Defaults to 5.5.
21741
+ * Timezone: IANA name (e.g. "Asia/Kolkata", "America/New_York") OR decimal hours from UTC (e.g. -5 for EST, 5.5 for IST). IANA strings are resolved twice, each to the DST-correct offset of its own moment: at the birth date and time for the birth chart, and on the date being read for the reading day. A decimal is applied to both as sent. Defaults to 5.5.
21738
21742
  */
21739
21743
  timezone?: number | string;
21740
21744
  /**
@@ -25303,7 +25307,7 @@ export type GenerateKpChartResponse = GenerateKpChartResponses[keyof GenerateKpC
25303
25307
  export type GetKpRulingPlanetsData = {
25304
25308
  body?: {
25305
25309
  /**
25306
- * Observer latitude in decimal degrees
25310
+ * Observer latitude in decimal degrees. Any latitude for the ruling planets alone; with birthDate and birthTime the significators read Placidus cusps, so the latitude must lie below 66.56 degrees north or south and a polar latitude returns 400.
25307
25311
  */
25308
25312
  latitude: number;
25309
25313
  /**
@@ -25311,7 +25315,7 @@ export type GetKpRulingPlanetsData = {
25311
25315
  */
25312
25316
  longitude: number;
25313
25317
  /**
25314
- * Timezone: IANA name (e.g. "America/New_York", "Europe/London") OR decimal hours from UTC. IANA resolved to the DST-correct offset based on birthDate or datetime. Defaults to 5.5.
25318
+ * Timezone: IANA name (e.g. "America/New_York", "Europe/London") OR decimal hours from UTC. An IANA name is resolved to the DST-correct offset of each moment separately: at datetime for the ruling planets, and at birthDate and birthTime for the significators. A decimal is applied to both as sent. Defaults to 5.5.
25315
25319
  */
25316
25320
  timezone?: number | string;
25317
25321
  /**
@@ -25488,7 +25492,7 @@ export type GetKpRulingIntervalData = {
25488
25492
  */
25489
25493
  intervalMinutes: number;
25490
25494
  /**
25491
- * Observer latitude in decimal degrees
25495
+ * Observer latitude in decimal degrees. The latitude must lie below 66.56 degrees north or south, inside the polar circles: KP cusps are Placidus, which has no solution beyond them, so a polar latitude returns 400.
25492
25496
  */
25493
25497
  latitude: number;
25494
25498
  /**
@@ -27049,7 +27053,7 @@ export type CalculateTransitData = {
27049
27053
  */
27050
27054
  longitude: number;
27051
27055
  /**
27052
- * Timezone: an IANA name (e.g. "America/New_York", "Europe/London", or `cities[0].timezone` from /location/search) or decimal hours from UTC (e.g. -5 for EST, 5.5 for IST). An IANA name is resolved to the offset in force at the given date and time. Defaults to 5.5 (IST).
27056
+ * Timezone: an IANA name (e.g. "America/New_York", "Europe/London", or `cities[0].timezone` from /location/search) or decimal hours from UTC (e.g. -5 for EST, 5.5 for IST). An IANA name is resolved to the offset in force at the given date and time. The birth moment and the transit moment are each resolved at their own date and time. Defaults to 5.5 (IST).
27053
27057
  */
27054
27058
  timezone?: number | string;
27055
27059
  /**
@@ -35787,7 +35791,7 @@ export type CalculateLuckPillarsResponses = {
35787
35791
  */
35788
35792
  startAge: number;
35789
35793
  /**
35790
- * Additional months past startAge, 0 to 11, from the remainder of the same count at one day to four months. Calculators that round the whole count to the nearest year will differ from this by up to six months.
35794
+ * Additional months past startAge, 0 to 11, from the remainder of the same count at one day to four months, rounded once to the nearest month. Calculators that round the whole count to the nearest year will differ from this by up to six months.
35791
35795
  */
35792
35796
  startAgeMonths: number;
35793
35797
  /**
@@ -35926,11 +35930,11 @@ export type CalculateLuckPillarsResponses = {
35926
35930
  */
35927
35931
  endAge: number;
35928
35932
  /**
35929
- * Gregorian year this period begins, the birth year plus startAge.
35933
+ * Gregorian year this period begins: the year of the date that falls startAge years and startAgeMonths months after the birth date, plus ten for each later period. A birth in November with a start of 4 years 7 months begins its first period in June of the birth year plus five.
35930
35934
  */
35931
35935
  startYear: number;
35932
35936
  /**
35933
- * Gregorian year this period ends.
35937
+ * Gregorian year this period ends and the next one begins, startYear plus ten.
35934
35938
  */
35935
35939
  endYear: number;
35936
35940
  }>;
@@ -35984,7 +35988,7 @@ export type CalculateLuckPillarsResponses = {
35984
35988
  keynote: string;
35985
35989
  };
35986
35990
  /**
35987
- * Which returned luck pillar this year falls inside, by its index. 0 means the year falls before the first luck pillar begins, in the stretch still governed by the natal chart alone.
35991
+ * Which returned luck pillar this year falls inside, by its index. The year a period begins in counts as inside it, though the handover falls in a month of that year. 0 means the year falls before the first luck pillar begins, in the stretch still governed by the natal chart alone.
35988
35992
  */
35989
35993
  luckPillarIndex: number;
35990
35994
  }>;
@@ -54042,9 +54046,13 @@ export type GenerateNumerologyChartData = {
54042
54046
  */
54043
54047
  day: number;
54044
54048
  /**
54045
- * Calendar year for the Personal Year, defaults to the current UTC year. It moves the Personal Year only: the nested personalMonth and maturityStatus.currentAge always read the current UTC date.
54049
+ * Calendar year for the Personal Year. When omitted it is the year of targetDate, or of the current UTC date when targetDate is omitted too. It moves the Personal Year only: the nested personalMonth and maturityStatus.currentAge read targetDate.
54046
54050
  */
54047
54051
  currentYear?: number;
54052
+ /**
54053
+ * Date to read the chart on, in YYYY-MM-DD format, in the years 100 to 2100, on or after the birth date. Send the local date of the user for an exact answer: it sets maturityStatus.currentAge and isActive, the Personal Month, and the Personal Year when currentYear is absent. Defaults to today (UTC).
54054
+ */
54055
+ targetDate?: string;
54048
54056
  };
54049
54057
  path?: never;
54050
54058
  query?: {
@@ -54679,11 +54687,11 @@ export type GenerateNumerologyChartResponses = {
54679
54687
  */
54680
54688
  advice: string;
54681
54689
  /**
54682
- * Personal Month forecast for the current UTC calendar month, applied to the Personal Year above. With a currentYear other than the current year, it pairs that Personal Year with the current month.
54690
+ * Personal Month forecast for the calendar month of targetDate (the current UTC month when omitted), applied to the Personal Year above. With a currentYear other than the year of targetDate, it pairs that Personal Year with this month.
54683
54691
  */
54684
54692
  personalMonth: {
54685
54693
  /**
54686
- * Personal Month number (1-9): the Personal Year above plus the current UTC calendar month, reduced to one digit.
54694
+ * Personal Month number (1-9): the Personal Year above plus the calendar month of targetDate (the current UTC month when omitted), reduced to one digit.
54687
54695
  */
54688
54696
  personalMonth: number;
54689
54697
  /**
@@ -54925,11 +54933,11 @@ export type GenerateNumerologyChartResponses = {
54925
54933
  */
54926
54934
  maturityStatus: {
54927
54935
  /**
54928
- * Whether the Maturity number is currently active (typically activates around age 35-40).
54936
+ * Whether the Maturity number is currently active: true from the 35th birthday, when currentAge reaches 35 (the number typically activates around age 35-40).
54929
54937
  */
54930
54938
  isActive: boolean;
54931
54939
  /**
54932
- * The current UTC calendar year minus the birth year. The birthday is not considered, so before the birthday it reads one more than the age in whole years, and currentYear does not move it.
54940
+ * Age in completed years on targetDate, or on the current UTC date when targetDate is omitted: the birth year subtracted, less one until the birthday has come round. A 29 February birthday comes round on 1 March in a common year. currentYear does not move it.
54933
54941
  */
54934
54942
  currentAge: number;
54935
54943
  /**
@@ -57382,6 +57390,10 @@ export type GenerateBirthProfileData = {
57382
57390
  * Set true when the moment falls after nightfall, which advances the Hebrew date by one day because the Hebrew day begins in the evening. It is a caller assertion rather than a computation, since sunset depends on a place and this conversion takes none.
57383
57391
  */
57384
57392
  afterSunset?: boolean;
57393
+ /**
57394
+ * Date to count the next Hebrew birthday from, in YYYY-MM-DD format. Send the local date of the user for an exact answer: on the birthday itself the answer is that day. Defaults to today (UTC).
57395
+ */
57396
+ targetDate?: string;
57385
57397
  };
57386
57398
  path?: never;
57387
57399
  query?: {
@@ -57570,15 +57582,15 @@ export type GenerateBirthProfileResponses = {
57570
57582
  afterSunset: boolean;
57571
57583
  };
57572
57584
  /**
57573
- * The next Hebrew birthday. Three Hebrew dates are missing from some years, and where the anniversary moves to is a matter of community practice rather than arithmetic, so the field is null with a note rather than a guess.
57585
+ * The next Hebrew birthday from targetDate (the current UTC date when omitted), the anniversary of hebrewDate. Three Hebrew dates are missing from some years, and where the anniversary moves to is a matter of community practice rather than arithmetic, so the field is null with a note rather than a guess.
57574
57586
  */
57575
57587
  hebrewBirthday: {
57576
57588
  /**
57577
- * The next Gregorian date the Hebrew birthday falls on, or null when that Hebrew date does not exist in the year it would fall in.
57589
+ * The Gregorian date of the next Hebrew birthday on or after targetDate, or the current UTC date when targetDate is omitted (that day when it is the birthday), or null when that Hebrew date does not exist in the year it falls in. It is the daytime civil date: the Hebrew day itself opens at nightfall the evening before.
57578
57590
  */
57579
57591
  date: string | null;
57580
57592
  /**
57581
- * The Hebrew year the anniversary was looked for in.
57593
+ * The Hebrew year of that next anniversary, always later than the birth year. Present on the null branch too, naming the year the date is missing from.
57582
57594
  */
57583
57595
  hebrewYear: number;
57584
57596
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@roxyapi/ui-react",
3
- "version": "1.1.1",
3
+ "version": "1.1.3",
4
4
  "description": "React components for the RoxyAPI catalog. Drop-in charts, tables, cards, forms for astrology, tarot, numerology, biorhythm, I Ching, and more. One key, beautiful in 30 minutes.",
5
5
  "type": "module",
6
6
  "main": "./dist/index.cjs",