@roxyapi/ui 0.6.0 → 0.6.1
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.
- package/dist/cdn/components/biorhythm-chart.js +1 -1
- package/dist/cdn/components/biorhythm-chart.js.map +2 -2
- package/dist/cdn/components/dasha-timeline.js +3 -3
- package/dist/cdn/components/dasha-timeline.js.map +4 -4
- package/dist/cdn/components/divisional-chart.js +67 -1
- package/dist/cdn/components/divisional-chart.js.map +2 -2
- package/dist/cdn/components/natal-chart.js +10 -1
- package/dist/cdn/components/natal-chart.js.map +2 -2
- package/dist/cdn/components/synastry-chart.js +7 -1
- package/dist/cdn/components/synastry-chart.js.map +2 -2
- package/dist/cdn/components/vedic-kundli.js +67 -1
- package/dist/cdn/components/vedic-kundli.js.map +2 -2
- package/dist/cdn/roxy-ui.js +84 -3
- package/dist/cdn/roxy-ui.js.map +4 -4
- package/dist/components/biorhythm-chart.js +1 -1
- package/dist/components/biorhythm-chart.js.map +2 -2
- package/dist/components/dasha-timeline.d.ts.map +1 -1
- package/dist/components/dasha-timeline.js +1 -1
- package/dist/components/dasha-timeline.js.map +4 -4
- package/dist/components/divisional-chart.js +67 -1
- package/dist/components/divisional-chart.js.map +2 -2
- package/dist/components/natal-chart.js +10 -1
- package/dist/components/natal-chart.js.map +2 -2
- package/dist/components/synastry-chart.js +7 -1
- package/dist/components/synastry-chart.js.map +2 -2
- package/dist/components/vedic-kundli.js +67 -1
- package/dist/components/vedic-kundli.js.map +2 -2
- package/dist/index.cjs +82 -1
- package/dist/index.cjs.map +4 -4
- package/dist/index.js +82 -1
- package/dist/index.js.map +4 -4
- package/dist/version.d.ts +1 -1
- package/package.json +1 -1
- package/src/components/dasha-timeline.ts +7 -16
- package/src/version.ts +1 -1
package/dist/version.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const ROXY_UI_VERSION = "0.6.
|
|
1
|
+
export declare const ROXY_UI_VERSION = "0.6.1";
|
|
2
2
|
//# sourceMappingURL=version.d.ts.map
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@roxyapi/ui",
|
|
3
|
-
"version": "0.6.
|
|
3
|
+
"version": "0.6.1",
|
|
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",
|
|
@@ -6,7 +6,6 @@ import type {
|
|
|
6
6
|
GetSubDashasResponse,
|
|
7
7
|
} from '../types/index.js';
|
|
8
8
|
import { baseStyles } from '../utils/base-styles.js';
|
|
9
|
-
import { chevron, disclosureStyles } from '../utils/disclosure.js';
|
|
10
9
|
import { formatNumber } from '../utils/format.js';
|
|
11
10
|
import { MarkupDataController } from '../utils/markup-data.js';
|
|
12
11
|
|
|
@@ -26,7 +25,6 @@ type DashaPeriod = GetMajorDashasResponse['mahadashas'][number];
|
|
|
26
25
|
export class RoxyDashaTimeline extends LitElement {
|
|
27
26
|
static styles = [
|
|
28
27
|
baseStyles,
|
|
29
|
-
disclosureStyles,
|
|
30
28
|
css`
|
|
31
29
|
.wrap {
|
|
32
30
|
display: grid;
|
|
@@ -136,22 +134,18 @@ export class RoxyDashaTimeline extends LitElement {
|
|
|
136
134
|
font-variant-numeric: tabular-nums;
|
|
137
135
|
text-align: right;
|
|
138
136
|
}
|
|
139
|
-
|
|
137
|
+
.interp {
|
|
140
138
|
border: 1px solid var(--roxy-border, #e4e4e7);
|
|
141
139
|
border-radius: var(--roxy-radius-md, 8px);
|
|
142
140
|
padding: var(--roxy-space-sm, 0.5rem) var(--roxy-space-md, 1rem);
|
|
143
141
|
background: var(--roxy-bg, #fff);
|
|
144
142
|
}
|
|
145
|
-
|
|
146
|
-
|
|
143
|
+
.interp h3 {
|
|
144
|
+
margin: 0;
|
|
147
145
|
font-size: var(--roxy-text-sm, 0.875rem);
|
|
148
146
|
font-weight: var(--roxy-weight-bold, 600);
|
|
149
|
-
display: flex;
|
|
150
|
-
align-items: center;
|
|
151
|
-
justify-content: space-between;
|
|
152
|
-
gap: var(--roxy-space-md, 1rem);
|
|
153
147
|
}
|
|
154
|
-
|
|
148
|
+
.interp p {
|
|
155
149
|
margin: var(--roxy-space-sm, 0.5rem) 0 0;
|
|
156
150
|
font-size: var(--roxy-text-sm, 0.875rem);
|
|
157
151
|
color: var(--roxy-muted, #71717a);
|
|
@@ -238,13 +232,10 @@ export class RoxyDashaTimeline extends LitElement {
|
|
|
238
232
|
private renderActiveInterpretation(periods: DashaPeriod[]) {
|
|
239
233
|
const active = periods.find((p) => this.isCurrent(p));
|
|
240
234
|
if (!active?.interpretation) return nothing;
|
|
241
|
-
return html`<
|
|
242
|
-
<
|
|
243
|
-
<span>${active.planet} mahadasha interpretation</span>
|
|
244
|
-
${chevron()}
|
|
245
|
-
</summary>
|
|
235
|
+
return html`<div class="interp">
|
|
236
|
+
<h3>${active.planet} mahadasha</h3>
|
|
246
237
|
<p>${active.interpretation}</p>
|
|
247
|
-
</
|
|
238
|
+
</div>`;
|
|
248
239
|
}
|
|
249
240
|
|
|
250
241
|
private renderCurrent(d: DashaData) {
|
package/src/version.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
// Generated by scripts/sync-version.ts. Do not edit.
|
|
2
|
-
export const ROXY_UI_VERSION = '0.6.
|
|
2
|
+
export const ROXY_UI_VERSION = '0.6.1';
|