@roxyapi/ui 1.1.1 → 1.1.2

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 (195) hide show
  1. package/AGENTS.md +5 -5
  2. package/README.md +3 -3
  3. package/THEMING.md +3 -3
  4. package/components-catalog.json +258 -158
  5. package/dist/cdn/components/almanac-day.js +3 -205
  6. package/dist/cdn/components/angel-number-card.js +3 -205
  7. package/dist/cdn/components/angel-number-lookup.js +3 -205
  8. package/dist/cdn/components/arudha-padas.js +3 -205
  9. package/dist/cdn/components/ashtakavarga-grid.js +3 -205
  10. package/dist/cdn/components/aspects-table.js +3 -205
  11. package/dist/cdn/components/astrocartography-map.js +3 -205
  12. package/dist/cdn/components/bazi-chart.js +3 -205
  13. package/dist/cdn/components/bhav-chalit-table.js +2 -204
  14. package/dist/cdn/components/bhava-bala-table.js +3 -205
  15. package/dist/cdn/components/biorhythm-chart.js +3 -205
  16. package/dist/cdn/components/bodygraph.js +7 -209
  17. package/dist/cdn/components/chara-karakas.js +3 -205
  18. package/dist/cdn/components/choghadiya-grid.js +3 -205
  19. package/dist/cdn/components/compatibility-card.js +2 -204
  20. package/dist/cdn/components/compound-number.js +3 -205
  21. package/dist/cdn/components/crystal-card.js +3 -205
  22. package/dist/cdn/components/crystal-grid.js +3 -205
  23. package/dist/cdn/components/dasha-timeline.js +3 -205
  24. package/dist/cdn/components/data.js +3 -205
  25. package/dist/cdn/components/divisional-chart.js +13 -215
  26. package/dist/cdn/components/dosha-card.js +3 -205
  27. package/dist/cdn/components/dosha-constitution.js +3 -205
  28. package/dist/cdn/components/dream-card.js +3 -205
  29. package/dist/cdn/components/dream-search.js +3 -205
  30. package/dist/cdn/components/endpoint-form.js +3 -205
  31. package/dist/cdn/components/ephemeris-table.js +2 -204
  32. package/dist/cdn/components/fixed-stars.js +2 -204
  33. package/dist/cdn/components/flying-star-chart.js +2 -204
  34. package/dist/cdn/components/forecast-digest.js +3 -205
  35. package/dist/cdn/components/forecast-timeline.js +3 -205
  36. package/dist/cdn/components/gematria.js +3 -205
  37. package/dist/cdn/components/gochara-table.js +3 -205
  38. package/dist/cdn/components/guna-milan.js +3 -205
  39. package/dist/cdn/components/hd-connection.js +5 -207
  40. package/dist/cdn/components/hd-penta.js +5 -207
  41. package/dist/cdn/components/hd-type-card.js +3 -205
  42. package/dist/cdn/components/hd-variables.js +3 -205
  43. package/dist/cdn/components/heliacal-table.js +3 -205
  44. package/dist/cdn/components/hexagram.js +3 -205
  45. package/dist/cdn/components/hora-table.js +3 -205
  46. package/dist/cdn/components/horoscope-card.js +3 -205
  47. package/dist/cdn/components/kp-chart.js +3 -205
  48. package/dist/cdn/components/kp-finance-card.js +3 -205
  49. package/dist/cdn/components/kp-planets-table.js +3 -205
  50. package/dist/cdn/components/kp-ruling-planets.js +3 -205
  51. package/dist/cdn/components/kua-card.js +3 -205
  52. package/dist/cdn/components/local-space-compass.js +8 -210
  53. package/dist/cdn/components/location-search.js +3 -205
  54. package/dist/cdn/components/luck-pillars.js +3 -205
  55. package/dist/cdn/components/mayan-day-sign.js +3 -205
  56. package/dist/cdn/components/moon-phase.js +3 -205
  57. package/dist/cdn/components/nakshatra-card.js +3 -205
  58. package/dist/cdn/components/natal-chart.js +6 -208
  59. package/dist/cdn/components/numerology-card.js +3 -205
  60. package/dist/cdn/components/panchang-table.js +3 -205
  61. package/dist/cdn/components/positions-table.js +3 -205
  62. package/dist/cdn/components/profection-card.js +3 -205
  63. package/dist/cdn/components/reference-card.js +3 -205
  64. package/dist/cdn/components/relocation-wheel.js +6 -208
  65. package/dist/cdn/components/shadbala-table.js +3 -205
  66. package/dist/cdn/components/synastry-chart.js +7 -209
  67. package/dist/cdn/components/tarot-card.js +3 -205
  68. package/dist/cdn/components/tarot-catalog.js +3 -205
  69. package/dist/cdn/components/tarot-spread.js +3 -205
  70. package/dist/cdn/components/transit-wheel.js +8 -210
  71. package/dist/cdn/components/transits-table.js +3 -205
  72. package/dist/cdn/components/upagraha-table.js +2 -204
  73. package/dist/cdn/components/vastu-mandala.js +4 -206
  74. package/dist/cdn/components/vedic-aspects.js +2 -204
  75. package/dist/cdn/components/vedic-daily.js +3 -205
  76. package/dist/cdn/components/vedic-kundli.js +10 -212
  77. package/dist/cdn/components/vedic-planets-table.js +3 -205
  78. package/dist/cdn/components/western-planets-table.js +2 -204
  79. package/dist/cdn/components/yoga-list.js +3 -205
  80. package/dist/cdn/components/zodiac-card.js +2 -204
  81. package/dist/cdn/locales/de.js +1 -1
  82. package/dist/cdn/roxy-ui.js +49 -251
  83. package/dist/components/almanac-day.js +1 -203
  84. package/dist/components/angel-number-card.js +1 -203
  85. package/dist/components/angel-number-lookup.js +1 -203
  86. package/dist/components/arudha-padas.js +1 -203
  87. package/dist/components/ashtakavarga-grid.js +1 -203
  88. package/dist/components/aspects-table.js +1 -203
  89. package/dist/components/astrocartography-map.js +6 -208
  90. package/dist/components/bazi-chart.js +1 -203
  91. package/dist/components/bhav-chalit-table.js +1 -203
  92. package/dist/components/bhava-bala-table.js +1 -203
  93. package/dist/components/biorhythm-chart.js +1 -203
  94. package/dist/components/bodygraph.js +3 -205
  95. package/dist/components/chara-karakas.js +1 -203
  96. package/dist/components/choghadiya-grid.js +1 -203
  97. package/dist/components/compatibility-card.js +1 -203
  98. package/dist/components/compound-number.js +1 -203
  99. package/dist/components/crystal-card.js +1 -203
  100. package/dist/components/crystal-grid.js +1 -203
  101. package/dist/components/dasha-timeline.js +1 -203
  102. package/dist/components/data.js +1 -203
  103. package/dist/components/divisional-chart.js +45 -247
  104. package/dist/components/dosha-card.js +1 -203
  105. package/dist/components/dosha-constitution.js +1 -203
  106. package/dist/components/dream-card.js +1 -203
  107. package/dist/components/dream-search.js +1 -203
  108. package/dist/components/endpoint-form.js +1 -203
  109. package/dist/components/ephemeris-table.js +1 -203
  110. package/dist/components/fixed-stars.js +1 -203
  111. package/dist/components/flying-star-chart.js +1 -203
  112. package/dist/components/forecast-digest.js +1 -203
  113. package/dist/components/forecast-timeline.js +1 -203
  114. package/dist/components/gematria.js +1 -203
  115. package/dist/components/gochara-table.js +1 -203
  116. package/dist/components/guna-milan.js +1 -203
  117. package/dist/components/hd-connection.js +3 -205
  118. package/dist/components/hd-penta.js +5 -207
  119. package/dist/components/hd-type-card.js +1 -203
  120. package/dist/components/hd-variables.js +1 -203
  121. package/dist/components/heliacal-table.js +1 -203
  122. package/dist/components/hexagram.d.ts +1 -1
  123. package/dist/components/hexagram.js +1 -203
  124. package/dist/components/hora-table.js +1 -203
  125. package/dist/components/horoscope-card.js +1 -203
  126. package/dist/components/kp-chart.js +1 -203
  127. package/dist/components/kp-finance-card.js +1 -203
  128. package/dist/components/kp-planets-table.js +1 -203
  129. package/dist/components/kp-ruling-planets.js +1 -203
  130. package/dist/components/kua-card.js +1 -203
  131. package/dist/components/local-space-compass.js +4 -206
  132. package/dist/components/location-search.js +1 -203
  133. package/dist/components/luck-pillars.js +1 -203
  134. package/dist/components/mayan-day-sign.js +1 -203
  135. package/dist/components/moon-phase.js +1 -203
  136. package/dist/components/nakshatra-card.js +1 -203
  137. package/dist/components/natal-chart.d.ts +1 -1
  138. package/dist/components/natal-chart.js +5 -207
  139. package/dist/components/numerology-card.js +1 -203
  140. package/dist/components/panchang-table.js +1 -203
  141. package/dist/components/positions-table.js +1 -203
  142. package/dist/components/profection-card.js +1 -203
  143. package/dist/components/reference-card.js +1 -203
  144. package/dist/components/relocation-wheel.js +3 -205
  145. package/dist/components/shadbala-table.js +1 -203
  146. package/dist/components/synastry-chart.js +6 -208
  147. package/dist/components/tarot-card.js +1 -203
  148. package/dist/components/tarot-catalog.js +1 -203
  149. package/dist/components/tarot-spread.js +1 -203
  150. package/dist/components/transit-wheel.js +8 -210
  151. package/dist/components/transits-table.js +1 -203
  152. package/dist/components/upagraha-table.js +1 -203
  153. package/dist/components/vastu-mandala.js +6 -208
  154. package/dist/components/vedic-aspects.js +1 -203
  155. package/dist/components/vedic-daily.js +1 -203
  156. package/dist/components/vedic-kundli.js +15 -217
  157. package/dist/components/vedic-planets-table.js +1 -203
  158. package/dist/components/western-planets-table.js +1 -203
  159. package/dist/components/yoga-list.js +1 -203
  160. package/dist/components/zodiac-card.js +1 -203
  161. package/dist/forms.json +1 -1
  162. package/dist/index.cjs +49 -251
  163. package/dist/index.js +50 -252
  164. package/dist/locales/de.js +1 -1
  165. package/dist/schemas/post--astrology-lilith.json +1 -1
  166. package/dist/schemas/post--astrology-progressions.json +1 -1
  167. package/dist/schemas/post--kabbalah-birth-profile.json +1 -1
  168. package/dist/schemas/post--numerology-chart.json +1 -1
  169. package/dist/schemas/post--vedic-astrology-daily.json +1 -1
  170. package/dist/schemas/post--vedic-astrology-dasha-current.json +1 -1
  171. package/dist/schemas/post--vedic-astrology-dasha-major.json +1 -1
  172. package/dist/schemas/post--vedic-astrology-dasha-sub-mahadasha-antardasha-pratyantardasha-sookshma.json +1 -1
  173. package/dist/schemas/post--vedic-astrology-dasha-sub-mahadasha-antardasha-pratyantardasha.json +1 -1
  174. package/dist/schemas/post--vedic-astrology-dasha-sub-mahadasha-antardasha.json +1 -1
  175. package/dist/schemas/post--vedic-astrology-dasha-sub-mahadasha.json +1 -1
  176. package/dist/schemas/post--vedic-astrology-kp-chart.json +1 -1
  177. package/dist/schemas/post--vedic-astrology-kp-cusps.json +1 -1
  178. package/dist/schemas/post--vedic-astrology-kp-daily-finance.json +1 -1
  179. package/dist/schemas/post--vedic-astrology-kp-horary.json +1 -1
  180. package/dist/schemas/post--vedic-astrology-kp-planets.json +1 -1
  181. package/dist/schemas/post--vedic-astrology-kp-ruling-planets-interval.json +1 -1
  182. package/dist/schemas/post--vedic-astrology-kp-ruling-planets.json +1 -1
  183. package/dist/schemas/post--vedic-astrology-transit.json +1 -1
  184. package/dist/styles/palettes.d.ts +4 -0
  185. package/dist/styles/themes/celeste.css +1 -115
  186. package/dist/styles/themes/eucalyptus.css +1 -121
  187. package/dist/styles/themes/kiln.css +1 -121
  188. package/dist/styles/themes/moonlit.css +1 -121
  189. package/dist/styles/themes/practitioner.css +1 -170
  190. package/dist/styles/tokens-css.d.ts +1 -1
  191. package/dist/styles/tokens.css +1 -202
  192. package/dist/types/types.gen.d.ts +48 -36
  193. package/dist/utils/string.d.ts +2 -0
  194. package/dist/version.d.ts +1 -1
  195. package/package.json +1 -1
@@ -1,202 +1 @@
1
- /**
2
- * Roxy UI design tokens: every colour, size, space, radius, font and duration a component reads.
3
- *
4
- * Two tiers. BASES are the few values a host tunes: fonts, base text size and its scale ratio, the
5
- * space unit, the base radius, motion, and the colour bases (bg, fg, accent and the four status
6
- * colours). Every other token DERIVES from them with calc() or color-mix(), so dark mode reassigns
7
- * the colour bases only and one font token restyles every heading. A host may still set any
8
- * derived token directly, and its value wins.
9
- *
10
- * Delivery: a global light-DOM stylesheet (linked, or injected by the CDN bundle). Custom properties
11
- * inherit through the shadow boundary, so a token set on any light-DOM ancestor reaches every
12
- * component. The :host selectors apply only if this sheet is adopted into a shadow root.
13
- *
14
- * Light is the default. Dark applies under prefers-color-scheme: dark, or [data-theme="dark"] or
15
- * .dark on the element or any ancestor; [data-theme="light"] or .light opts back into light. An
16
- * explicit choice wins over the OS because those blocks come later in source order.
17
- *
18
- * A derivation is computed where it is declared, so the derived block also matches every theme
19
- * trigger: a base reassigned on :root or on an element carrying data-theme, .light or .dark
20
- * re-derives everything below it.
21
- *
22
- * Font: --roxy-font-sans is unset by default, so every component inherits the host page font; any
23
- * value set by the host or a preset replaces it, and --roxy-font-display follows it until set.
24
- *
25
- * Motion: --roxy-motion-duration defaults to 200ms and prefers-reduced-motion forces 0ms.
26
- */
27
-
28
- /*
29
- * Two mechanisms keep the host page in charge of every token, and both are load bearing.
30
- *
31
- * Every rule sits in the roxy.tokens cascade layer, and an unlayered declaration beats a layered
32
- * one at ANY specificity, so a plain `:root { --roxy-accent: #8b5cf6 }` on the host page wins, and
33
- * so does the same line inside a layer of its own, because this statement registers ours first
34
- * and the CDN bundle injects this sheet at the top of <head>. A host that links this file after its
35
- * own CSS orders the layers itself: `@layer roxy, base, components, utilities;` before either sheet.
36
- *
37
- * Every selector is ALSO wrapped in :where(), which has ZERO specificity, so a host declaration
38
- * still wins wherever a layer cannot decide it, under every dark signal alike.
39
- *
40
- * The theme presets in styles/themes/*.css write into roxy.theme; both files declare this order,
41
- * so either one loading alone still ranks a preset above these defaults.
42
- */
43
- @layer roxy.tokens, roxy.theme;
44
-
45
- @layer roxy.tokens {
46
- /* Bases, light. Also the mode-specific derivations: accent ink and status inks mix toward black. */
47
- :where(:root, :host) {
48
- /* A real inherited property: native controls, popups and scrollbars follow it. */
49
- color-scheme: light;
50
-
51
- --roxy-bg: #ffffff;
52
- --roxy-fg: #0a0a0a;
53
- --roxy-accent: #4a6297;
54
- --roxy-success: #16a34a;
55
- --roxy-warning: #ea580c;
56
- --roxy-danger: #dc2626;
57
- --roxy-info: #0284c7;
58
-
59
- /* Accent and status inks: 70 percent toward black reads at AA on the card and on a tint of the base. */
60
- --roxy-accent-ink: color-mix(in oklab, var(--roxy-accent) 70%, black);
61
- --roxy-success-fg: color-mix(in oklab, var(--roxy-success) 70%, black);
62
- --roxy-warning-fg: color-mix(in oklab, var(--roxy-warning) 70%, black);
63
- --roxy-danger-fg: color-mix(in oklab, var(--roxy-danger) 70%, black);
64
- --roxy-info-fg: color-mix(in oklab, var(--roxy-info) 70%, black);
65
-
66
- /* Unset on purpose: a component inherits the host page font until a host or preset sets one. */
67
- --roxy-font-sans: initial;
68
- --roxy-font-mono:
69
- ui-monospace, "SF Mono", "Cascadia Code", Menlo, Consolas,
70
- "Liberation Mono", monospace;
71
-
72
- --roxy-text-base: 1rem;
73
- --roxy-text-scale: 1.15;
74
- --roxy-weight-normal: 400;
75
- --roxy-weight-bold: 600;
76
- --roxy-leading-tight: 1.25;
77
- --roxy-leading-normal: 1.5;
78
- --roxy-tracking-tight: -0.01em;
79
- --roxy-tracking-normal: 0em;
80
-
81
- --roxy-space-unit: 0.25rem;
82
- --roxy-radius: 6px;
83
-
84
- --roxy-motion-duration: 200ms;
85
- --roxy-motion-easing: cubic-bezier(0.4, 0, 0.2, 1);
86
- }
87
-
88
- /* Derived roles, identical in every mode, restated on every theme trigger so they follow its bases. */
89
- :where(:root, :host, [data-theme], .light, .dark) {
90
- /* Flat: the card is the page colour, separated by a hairline. */
91
- --roxy-surface: var(--roxy-bg);
92
- --roxy-primary: var(--roxy-fg);
93
- --roxy-secondary: color-mix(in oklab, var(--roxy-fg) 78%, var(--roxy-bg));
94
- --roxy-muted: color-mix(in oklab, var(--roxy-fg) 60%, var(--roxy-bg));
95
- --roxy-border: color-mix(in oklab, var(--roxy-fg) 14%, var(--roxy-bg));
96
- --roxy-ring: color-mix(in srgb, var(--roxy-accent) 40%, transparent);
97
- --roxy-heat: var(--roxy-danger);
98
-
99
- --roxy-font-display: var(--roxy-font-sans);
100
-
101
- --roxy-text-sm: calc(var(--roxy-text-base) / var(--roxy-text-scale));
102
- --roxy-text-xs: calc(var(--roxy-text-sm) / var(--roxy-text-scale));
103
- --roxy-text-lg: calc(var(--roxy-text-base) * var(--roxy-text-scale));
104
- --roxy-text-xl: calc(
105
- var(--roxy-text-lg) *
106
- var(--roxy-text-scale) *
107
- var(--roxy-text-scale)
108
- );
109
-
110
- --roxy-space-xs: var(--roxy-space-unit);
111
- --roxy-space-sm: calc(var(--roxy-space-unit) * 2);
112
- --roxy-space-md: calc(var(--roxy-space-unit) * 4);
113
- --roxy-space-lg: calc(var(--roxy-space-unit) * 6);
114
- --roxy-space-xl: calc(var(--roxy-space-unit) * 10);
115
- --roxy-line-thick: calc(var(--roxy-space-unit) / 2);
116
- --roxy-touch: calc(var(--roxy-space-unit) * 11);
117
-
118
- --roxy-radius-sm: calc(var(--roxy-radius) / 2);
119
- --roxy-radius-md: var(--roxy-radius);
120
- --roxy-radius-lg: calc(var(--roxy-radius) * 5 / 3);
121
- --roxy-radius-full: 9999px;
122
-
123
- /* Flat surfaces cast nothing; only a floating layer (a popup, an enlarged chart) lifts. */
124
- --roxy-shadow-sm: none;
125
- --roxy-shadow-md: 0 4px 12px color-mix(in srgb, black 10%, transparent);
126
- --roxy-shadow-lg: 0 12px 32px color-mix(in srgb, black 18%, transparent);
127
- }
128
-
129
- /* Bases, dark, by system preference. Inks mix toward white so they read on a dark card. */
130
- @media (prefers-color-scheme: dark) {
131
- :where(:root, :host) {
132
- color-scheme: dark;
133
- --roxy-bg: #0a0a0a;
134
- --roxy-fg: #fafafa;
135
- --roxy-accent: #92aade;
136
- --roxy-success: #22c55e;
137
- --roxy-warning: #fb923c;
138
- --roxy-danger: #ef4444;
139
- --roxy-info: #38bdf8;
140
-
141
- --roxy-accent-ink: var(--roxy-accent);
142
- --roxy-success-fg: color-mix(in oklab, var(--roxy-success) 70%, white);
143
- --roxy-warning-fg: color-mix(in oklab, var(--roxy-warning) 70%, white);
144
- --roxy-danger-fg: color-mix(in oklab, var(--roxy-danger) 70%, white);
145
- --roxy-info-fg: color-mix(in oklab, var(--roxy-info) 70%, white);
146
- }
147
- }
148
-
149
- /* Explicit light: beats the OS dark block when the host chooses light. */
150
- :where(
151
- :root[data-theme="light"],
152
- [data-theme="light"],
153
- :root.light,
154
- .light,
155
- :host([data-theme="light"])
156
- ) {
157
- color-scheme: light;
158
- --roxy-bg: #ffffff;
159
- --roxy-fg: #0a0a0a;
160
- --roxy-accent: #4a6297;
161
- --roxy-success: #16a34a;
162
- --roxy-warning: #ea580c;
163
- --roxy-danger: #dc2626;
164
- --roxy-info: #0284c7;
165
-
166
- --roxy-accent-ink: color-mix(in oklab, var(--roxy-accent) 70%, black);
167
- --roxy-success-fg: color-mix(in oklab, var(--roxy-success) 70%, black);
168
- --roxy-warning-fg: color-mix(in oklab, var(--roxy-warning) 70%, black);
169
- --roxy-danger-fg: color-mix(in oklab, var(--roxy-danger) 70%, black);
170
- --roxy-info-fg: color-mix(in oklab, var(--roxy-info) 70%, black);
171
- }
172
-
173
- /* Explicit dark: a .dark class or data-theme="dark" on any ancestor themes every component below it. */
174
- :where(
175
- :root[data-theme="dark"],
176
- [data-theme="dark"],
177
- :root.dark,
178
- .dark,
179
- :host([data-theme="dark"])
180
- ) {
181
- color-scheme: dark;
182
- --roxy-bg: #0a0a0a;
183
- --roxy-fg: #fafafa;
184
- --roxy-accent: #92aade;
185
- --roxy-success: #22c55e;
186
- --roxy-warning: #fb923c;
187
- --roxy-danger: #ef4444;
188
- --roxy-info: #38bdf8;
189
-
190
- --roxy-accent-ink: var(--roxy-accent);
191
- --roxy-success-fg: color-mix(in oklab, var(--roxy-success) 70%, white);
192
- --roxy-warning-fg: color-mix(in oklab, var(--roxy-warning) 70%, white);
193
- --roxy-danger-fg: color-mix(in oklab, var(--roxy-danger) 70%, white);
194
- --roxy-info-fg: color-mix(in oklab, var(--roxy-info) 70%, white);
195
- }
196
-
197
- @media (prefers-reduced-motion: reduce) {
198
- :where(:root, :host) {
199
- --roxy-motion-duration: 0ms;
200
- }
201
- }
202
- }
1
+ @layer roxy.tokens,roxy.theme;@layer roxy.tokens{:where(:root,:host){color-scheme:light;--roxy-bg: #ffffff;--roxy-fg: #0a0a0a;--roxy-accent: #4a6297;--roxy-success: #16a34a;--roxy-warning: #ea580c;--roxy-danger: #dc2626;--roxy-info: #0284c7;--roxy-accent-ink: color-mix(in oklab, var(--roxy-accent) 70%, black);--roxy-success-fg: color-mix(in oklab, var(--roxy-success) 70%, black);--roxy-warning-fg: color-mix(in oklab, var(--roxy-warning) 70%, black);--roxy-danger-fg: color-mix(in oklab, var(--roxy-danger) 70%, black);--roxy-info-fg: color-mix(in oklab, var(--roxy-info) 70%, black);--roxy-font-sans: initial;--roxy-font-mono: ui-monospace, "SF Mono", "Cascadia Code", Menlo, Consolas, "Liberation Mono", monospace;--roxy-text-base: 1rem;--roxy-text-scale: 1.15;--roxy-weight-normal: 400;--roxy-weight-bold: 600;--roxy-leading-tight: 1.25;--roxy-leading-normal: 1.5;--roxy-tracking-tight: -0.01em;--roxy-tracking-normal: 0em;--roxy-space-unit: 0.25rem;--roxy-radius: 6px;--roxy-motion-duration: 200ms;--roxy-motion-easing: cubic-bezier(0.4, 0, 0.2, 1)}:where(:root,:host,[data-theme],.light,.dark){--roxy-surface: var(--roxy-bg);--roxy-primary: var(--roxy-fg);--roxy-secondary: color-mix(in oklab, var(--roxy-fg) 78%, var(--roxy-bg));--roxy-muted: color-mix(in oklab, var(--roxy-fg) 60%, var(--roxy-bg));--roxy-border: color-mix(in oklab, var(--roxy-fg) 14%, var(--roxy-bg));--roxy-ring: color-mix(in srgb, var(--roxy-accent) 40%, transparent);--roxy-heat: var(--roxy-danger);--roxy-font-display: var(--roxy-font-sans);--roxy-text-sm: calc(var(--roxy-text-base) / var(--roxy-text-scale));--roxy-text-xs: calc(var(--roxy-text-sm) / var(--roxy-text-scale));--roxy-text-lg: calc(var(--roxy-text-base) * var(--roxy-text-scale));--roxy-text-xl: calc( var(--roxy-text-lg) * var(--roxy-text-scale) * var(--roxy-text-scale) );--roxy-space-xs: var(--roxy-space-unit);--roxy-space-sm: calc(var(--roxy-space-unit) * 2);--roxy-space-md: calc(var(--roxy-space-unit) * 4);--roxy-space-lg: calc(var(--roxy-space-unit) * 6);--roxy-space-xl: calc(var(--roxy-space-unit) * 10);--roxy-line-thick: calc(var(--roxy-space-unit) / 2);--roxy-touch: calc(var(--roxy-space-unit) * 11);--roxy-radius-sm: calc(var(--roxy-radius) / 2);--roxy-radius-md: var(--roxy-radius);--roxy-radius-lg: calc(var(--roxy-radius) * 5 / 3);--roxy-radius-full: 9999px;--roxy-shadow-sm: none;--roxy-shadow-md: 0 4px 12px color-mix(in srgb, black 10%, transparent);--roxy-shadow-lg: 0 12px 32px color-mix(in srgb, black 18%, transparent)}@media(prefers-color-scheme:dark){:where(:root,:host){color-scheme:dark;--roxy-bg: #0a0a0a;--roxy-fg: #fafafa;--roxy-accent: #92aade;--roxy-success: #22c55e;--roxy-warning: #fb923c;--roxy-danger: #ef4444;--roxy-info: #38bdf8;--roxy-accent-ink: var(--roxy-accent);--roxy-success-fg: color-mix(in oklab, var(--roxy-success) 70%, white);--roxy-warning-fg: color-mix(in oklab, var(--roxy-warning) 70%, white);--roxy-danger-fg: color-mix(in oklab, var(--roxy-danger) 70%, white);--roxy-info-fg: color-mix(in oklab, var(--roxy-info) 70%, white)}}:where(:root[data-theme=light],[data-theme=light],:root.light,.light,:host([data-theme="light"])){color-scheme:light;--roxy-bg: #ffffff;--roxy-fg: #0a0a0a;--roxy-accent: #4a6297;--roxy-success: #16a34a;--roxy-warning: #ea580c;--roxy-danger: #dc2626;--roxy-info: #0284c7;--roxy-accent-ink: color-mix(in oklab, var(--roxy-accent) 70%, black);--roxy-success-fg: color-mix(in oklab, var(--roxy-success) 70%, black);--roxy-warning-fg: color-mix(in oklab, var(--roxy-warning) 70%, black);--roxy-danger-fg: color-mix(in oklab, var(--roxy-danger) 70%, black);--roxy-info-fg: color-mix(in oklab, var(--roxy-info) 70%, black)}:where(:root[data-theme=dark],[data-theme=dark],:root.dark,.dark,:host([data-theme="dark"])){color-scheme:dark;--roxy-bg: #0a0a0a;--roxy-fg: #fafafa;--roxy-accent: #92aade;--roxy-success: #22c55e;--roxy-warning: #fb923c;--roxy-danger: #ef4444;--roxy-info: #38bdf8;--roxy-accent-ink: var(--roxy-accent);--roxy-success-fg: color-mix(in oklab, var(--roxy-success) 70%, white);--roxy-warning-fg: color-mix(in oklab, var(--roxy-warning) 70%, white);--roxy-danger-fg: color-mix(in oklab, var(--roxy-danger) 70%, white);--roxy-info-fg: color-mix(in oklab, var(--roxy-info) 70%, white)}@media(prefers-reduced-motion:reduce){:where(:root,:host){--roxy-motion-duration: 0ms}}}
@@ -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
  /**
@@ -29,3 +29,5 @@
29
29
  export declare function lookupKey(s: string): string;
30
30
  export declare function capitalize(s: string): string;
31
31
  export declare function humanize(s: string): string;
32
+ /** True for an http or https URL, the only value any component binds to an `href`, so a `javascript:` string renders as text, never a link. */
33
+ export declare function isWebLink(value: unknown): value is string;
package/dist/version.d.ts CHANGED
@@ -1 +1 @@
1
- export declare const ROXY_UI_VERSION = "1.1.1";
1
+ export declare const ROXY_UI_VERSION = "1.1.2";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@roxyapi/ui",
3
- "version": "1.1.1",
3
+ "version": "1.1.2",
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",