@roxyapi/ui-react 1.1.2 → 1.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/AGENTS.md +21 -1
- package/README.md +43 -1
- package/dist/components/almanac-day.d.ts +6 -0
- package/dist/components/almanac-day.js +1 -1
- package/dist/components/angel-number-card.d.ts +6 -0
- package/dist/components/angel-number-card.js +1 -1
- package/dist/components/angel-number-lookup.d.ts +6 -0
- package/dist/components/angel-number-lookup.js +1 -1
- package/dist/components/arudha-padas.d.ts +6 -0
- package/dist/components/arudha-padas.js +1 -1
- package/dist/components/ashtakavarga-grid.d.ts +6 -0
- package/dist/components/ashtakavarga-grid.js +1 -1
- package/dist/components/aspects-table.d.ts +6 -0
- package/dist/components/aspects-table.js +1 -1
- package/dist/components/astrocartography-map.d.ts +6 -0
- package/dist/components/astrocartography-map.js +1 -1
- package/dist/components/bazi-chart.d.ts +6 -0
- package/dist/components/bazi-chart.js +1 -1
- package/dist/components/bhav-chalit-table.d.ts +6 -0
- package/dist/components/bhav-chalit-table.js +1 -1
- package/dist/components/bhava-bala-table.d.ts +6 -0
- package/dist/components/bhava-bala-table.js +1 -1
- package/dist/components/biorhythm-chart.d.ts +6 -0
- package/dist/components/biorhythm-chart.js +1 -1
- package/dist/components/bodygraph.d.ts +6 -0
- package/dist/components/bodygraph.js +1 -1
- package/dist/components/chara-karakas.d.ts +6 -0
- package/dist/components/chara-karakas.js +1 -1
- package/dist/components/choghadiya-grid.d.ts +6 -0
- package/dist/components/choghadiya-grid.js +1 -1
- package/dist/components/compatibility-card.d.ts +6 -0
- package/dist/components/compatibility-card.js +1 -1
- package/dist/components/compound-number.d.ts +6 -0
- package/dist/components/compound-number.js +1 -1
- package/dist/components/crystal-card.d.ts +6 -0
- package/dist/components/crystal-card.js +1 -1
- package/dist/components/crystal-grid.d.ts +6 -0
- package/dist/components/crystal-grid.js +1 -1
- package/dist/components/dasha-timeline.d.ts +6 -0
- package/dist/components/dasha-timeline.js +1 -1
- package/dist/components/data.d.ts +6 -0
- package/dist/components/data.js +1 -1
- package/dist/components/divisional-chart.d.ts +6 -0
- package/dist/components/divisional-chart.js +1 -1
- package/dist/components/dosha-card.d.ts +6 -0
- package/dist/components/dosha-card.js +1 -1
- package/dist/components/dosha-constitution.d.ts +6 -0
- package/dist/components/dosha-constitution.js +1 -1
- package/dist/components/dream-card.d.ts +6 -0
- package/dist/components/dream-card.js +1 -1
- package/dist/components/dream-search.d.ts +6 -0
- package/dist/components/dream-search.js +1 -1
- package/dist/components/endpoint-form.js +1 -1
- package/dist/components/ephemeris-table.d.ts +6 -0
- package/dist/components/ephemeris-table.js +1 -1
- package/dist/components/fixed-stars.d.ts +6 -0
- package/dist/components/fixed-stars.js +1 -1
- package/dist/components/flying-star-chart.d.ts +6 -0
- package/dist/components/flying-star-chart.js +1 -1
- package/dist/components/forecast-digest.d.ts +6 -0
- package/dist/components/forecast-digest.js +1 -1
- package/dist/components/forecast-timeline.d.ts +6 -0
- package/dist/components/forecast-timeline.js +1 -1
- package/dist/components/gematria.d.ts +6 -0
- package/dist/components/gematria.js +1 -1
- package/dist/components/gochara-table.d.ts +6 -0
- package/dist/components/gochara-table.js +1 -1
- package/dist/components/guna-milan.d.ts +6 -0
- package/dist/components/guna-milan.js +1 -1
- package/dist/components/hd-connection.d.ts +6 -0
- package/dist/components/hd-connection.js +1 -1
- package/dist/components/hd-penta.d.ts +6 -0
- package/dist/components/hd-penta.js +1 -1
- package/dist/components/hd-type-card.d.ts +6 -0
- package/dist/components/hd-type-card.js +1 -1
- package/dist/components/hd-variables.d.ts +6 -0
- package/dist/components/hd-variables.js +1 -1
- package/dist/components/heliacal-table.d.ts +6 -0
- package/dist/components/heliacal-table.js +1 -1
- package/dist/components/hexagram.d.ts +6 -0
- package/dist/components/hexagram.js +1 -1
- package/dist/components/hora-table.d.ts +6 -0
- package/dist/components/hora-table.js +1 -1
- package/dist/components/horoscope-card.d.ts +6 -0
- package/dist/components/horoscope-card.js +1 -1
- package/dist/components/kp-chart.d.ts +6 -0
- package/dist/components/kp-chart.js +1 -1
- package/dist/components/kp-finance-card.d.ts +6 -0
- package/dist/components/kp-finance-card.js +1 -1
- package/dist/components/kp-planets-table.d.ts +6 -0
- package/dist/components/kp-planets-table.js +1 -1
- package/dist/components/kp-ruling-planets.d.ts +6 -0
- package/dist/components/kp-ruling-planets.js +1 -1
- package/dist/components/kua-card.d.ts +6 -0
- package/dist/components/kua-card.js +1 -1
- package/dist/components/local-space-compass.d.ts +6 -0
- package/dist/components/local-space-compass.js +1 -1
- package/dist/components/location-search.js +1 -1
- package/dist/components/luck-pillars.d.ts +6 -0
- package/dist/components/luck-pillars.js +1 -1
- package/dist/components/mayan-day-sign.d.ts +6 -0
- package/dist/components/mayan-day-sign.js +1 -1
- package/dist/components/moon-phase.d.ts +6 -0
- package/dist/components/moon-phase.js +1 -1
- package/dist/components/nakshatra-card.d.ts +6 -0
- package/dist/components/nakshatra-card.js +1 -1
- package/dist/components/natal-chart.d.ts +6 -0
- package/dist/components/natal-chart.js +1 -1
- package/dist/components/numerology-card.d.ts +6 -0
- package/dist/components/numerology-card.js +1 -1
- package/dist/components/panchang-table.d.ts +6 -0
- package/dist/components/panchang-table.js +1 -1
- package/dist/components/positions-table.d.ts +6 -0
- package/dist/components/positions-table.js +1 -1
- package/dist/components/profection-card.d.ts +6 -0
- package/dist/components/profection-card.js +1 -1
- package/dist/components/reference-card.d.ts +6 -0
- package/dist/components/reference-card.js +1 -1
- package/dist/components/relocation-wheel.d.ts +6 -0
- package/dist/components/relocation-wheel.js +1 -1
- package/dist/components/shadbala-table.d.ts +6 -0
- package/dist/components/shadbala-table.js +1 -1
- package/dist/components/synastry-chart.d.ts +6 -0
- package/dist/components/synastry-chart.js +1 -1
- package/dist/components/tarot-card.d.ts +6 -0
- package/dist/components/tarot-card.js +1 -1
- package/dist/components/tarot-catalog.d.ts +6 -0
- package/dist/components/tarot-catalog.js +1 -1
- package/dist/components/tarot-spread.d.ts +6 -0
- package/dist/components/tarot-spread.js +1 -1
- package/dist/components/transit-wheel.d.ts +6 -0
- package/dist/components/transit-wheel.js +1 -1
- package/dist/components/transits-table.d.ts +6 -0
- package/dist/components/transits-table.js +1 -1
- package/dist/components/upagraha-table.d.ts +6 -0
- package/dist/components/upagraha-table.js +1 -1
- package/dist/components/vastu-mandala.d.ts +6 -0
- package/dist/components/vastu-mandala.js +1 -1
- package/dist/components/vedic-aspects.d.ts +6 -0
- package/dist/components/vedic-aspects.js +1 -1
- package/dist/components/vedic-daily.d.ts +6 -0
- package/dist/components/vedic-daily.js +1 -1
- package/dist/components/vedic-kundli.d.ts +6 -0
- package/dist/components/vedic-kundli.js +1 -1
- package/dist/components/vedic-planets-table.d.ts +6 -0
- package/dist/components/vedic-planets-table.js +1 -1
- package/dist/components/western-planets-table.d.ts +6 -0
- package/dist/components/western-planets-table.js +1 -1
- package/dist/components/yoga-list.d.ts +6 -0
- package/dist/components/yoga-list.js +1 -1
- package/dist/components/zodiac-card.d.ts +6 -0
- package/dist/components/zodiac-card.js +1 -1
- package/dist/index.cjs +1 -1
- package/dist/index.js +1 -1
- package/dist/jsx.d.ts +6 -0
- package/dist/jsx.js +1 -0
- package/dist/load-ui.d.ts +1 -1
- package/dist/load-ui.js +1 -1
- package/dist/tool-component.cjs +1 -1
- package/dist/tool-component.js +1 -1
- package/package.json +1 -1
package/AGENTS.md
CHANGED
|
@@ -459,7 +459,7 @@ In React, the same props are typed: `<RoxyNatalChart publishableKey={process.env
|
|
|
459
459
|
|
|
460
460
|
**One tag, no element wiring.** For the simplest embed, load `dist/cdn/widgets.js` and drop a `<div data-roxy-widget="{slug}" data-publishable-key="pk_live_...">`. The script mounts the matching component from a generated slug map: with every path parameter supplied as a `data-*` attribute (`data-sign`, `data-id`) it fetches on mount, otherwise it renders the same input form. A second `data-*` attribute picks a variant (`data-period`, `data-mode`, `data-type`, `data-spread`). To keep every key on your own server instead, drop the publishable key and give the tag `data-submit-url`: the widget renders the form and routes every request there, the city search included, and `data-location-url` sends the city search somewhere else. `data-submit-context` rides along with each proxied request.
|
|
461
461
|
|
|
462
|
-
**Theme every widget in one link.** Add `<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@roxyapi/ui@latest/dist/styles/themes/practitioner.css">` for the Rosewater preset, a warm serif look (or `eucalyptus.css`, `kiln.css`, `moonlit.css`, or `celeste.css` for the roxyapi.com look, from the same folder; `components-catalog.json` lists every preset under `themes
|
|
462
|
+
**Theme every widget in one link.** Add `<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@roxyapi/ui@latest/dist/styles/themes/practitioner.css">` for the Rosewater preset, a warm serif look (or `eucalyptus.css`, `kiln.css`, `moonlit.css`, or `celeste.css` for the roxyapi.com look, from the same folder; `components-catalog.json` lists every preset under `themes`; each names a default font pair and loads no font itself), or set the `--roxy-font-display` token alone to swap result headings to a display face (it defaults to the body font, so nothing changes until you set it). See [THEMING.md](packages/ui/THEMING.md).
|
|
463
463
|
|
|
464
464
|
### Pattern 5: MCP tool-call response
|
|
465
465
|
|
|
@@ -559,6 +559,20 @@ This is how the WordPress plugin renders: PHP fetches the response server-side,
|
|
|
559
559
|
|
|
560
560
|
- Writing the tag itself in a React or Next.js file? Import `@roxyapi/ui-react/jsx` once anywhere in the project and every `roxy-*` tag is typed, with its attributes and their legal values. It is the raw-tag path, so it carries attributes only; a page that passes a response uses the React or Vue component instead, which sets `data` as a property.
|
|
561
561
|
|
|
562
|
+
### Pattern 8: a chart as an SVG string on the server
|
|
563
|
+
|
|
564
|
+
`@roxyapi/ui/charts` returns the exact `<svg>` a component draws, as a string, with no DOM: `natalWheelSvg(natalResponse, { lang })`, `synastryWheelSvg(synastryResponse)`, `kundliSvg(toKundliViewModel(birthChart.meta), { style: 'south' })`, `bodygraphSvg(bodygraphResponse)`. Use it for a PDF, an email or a static page.
|
|
565
|
+
|
|
566
|
+
```ts
|
|
567
|
+
import { natalWheelSvg } from '@roxyapi/ui/charts';
|
|
568
|
+
import '@roxyapi/ui/locales/es';
|
|
569
|
+
|
|
570
|
+
const { data } = await roxy.astrology.generateNatalChart({ body, throwOnError: true });
|
|
571
|
+
const svg: string = natalWheelSvg(data, { lang: 'es' });
|
|
572
|
+
```
|
|
573
|
+
|
|
574
|
+
Paint it with `dist/styles/tokens.css` plus the chart sheet, `dist/styles/charts/{natal-wheel,synastry-wheel,kundli,bodygraph}.css` (subpath `@roxyapi/ui/styles/charts/*.css`). Import a locale only for a language other than English. The same subpath exports the font pairs as data: `ROXY_FONTS` (keys as in `fonts[]`) and `fontFaces(key)`.
|
|
575
|
+
|
|
562
576
|
## Localized responses
|
|
563
577
|
|
|
564
578
|
Most RoxyAPI endpoints return their interpretation text in the language you ask for, selected with the `lang` query parameter (`en`, `tr`, `de`, `es`, `hi`, `pt`, `fr`, `ru`, `zh-Hans`, `zh-Hant`). Human Design, for example, returns the type, strategy, authority, profile, channel, center, gate, and line readings in the requested language. Coverage varies by domain, and a field with no translation in the language you asked for comes back in English.
|
|
@@ -630,6 +644,12 @@ Every visible aspect of the chart is driven by `--roxy-*` CSS custom properties
|
|
|
630
644
|
|
|
631
645
|
**One plain declaration is the whole override, including from inside a layer of your own.** The shipped defaults are declared at zero specificity and inside the `roxy` cascade layer, so `:root { --roxy-accent: #6d28d9 }` beats them in both modes, and so does the same line inside `@layer base`, which is where a framework maps its palette onto ours. Never reach for `html:root` or `!important`. If you link `tokens.css` after your own CSS, name the order once with `@layer roxy, base, components, utilities;`. And if your tokens are scoped to a container element rather than to `:root`, write the mode on that same container element (`data-theme="light"` or `"dark"`), because every token you did not override is still decided at the document root by the visitor OS.
|
|
632
646
|
|
|
647
|
+
**Brand without CSS.** Every component takes `brand-color` and `brand-accent` (`#rgb` or `#rrggbb`) and `font` (a `key` from `fonts[]` in `components-catalog.json`, which lists each pair with its stylesheet and files). Theme and font are separate: a preset sets colours, radius and shadow and names a default font pair in `--roxy-font` (its `font` in `themes[]`); `font` on a component overrides it, and with neither the component keeps the page font. Only the pair in use loads. From the CDN script, the pair's stylesheet loads from the same place as the script. In an npm build, import `@roxyapi/ui/styles/fonts/{key}.css` once, the same way as `tokens.css`, or copy `dist/styles/fonts` to your own origin and link it. A value that does not validate is ignored. React and Vue: `brandColor`, `brandAccent`, `font`.
|
|
648
|
+
|
|
649
|
+
```html
|
|
650
|
+
<roxy-natal-chart brand-color="#3e2a2c" brand-accent="#914955" font="fraunces-jost"></roxy-natal-chart>
|
|
651
|
+
```
|
|
652
|
+
|
|
633
653
|
## Choosing what a component renders
|
|
634
654
|
|
|
635
655
|
Three tools, one vocabulary. Every structural block carries a `part` name; `::part()` targets it from a stylesheet, `hide-sections` drops it on one element, and `hide-readings` removes interpretive prose from the markup entirely.
|
package/README.md
CHANGED
|
@@ -83,7 +83,7 @@ Light, dark, your brand. A handful of base tokens style the whole library and ev
|
|
|
83
83
|
}
|
|
84
84
|
```
|
|
85
85
|
|
|
86
|
-
Pick a tone, set the bases, every chart and card follows. Named presets ship as one stylesheet each (Rosewater, Eucalyptus, Kiln, Moonlit, and Celeste, the roxyapi.com look). Full token reference, the presets and the drawing hooks at [THEMING.md](https://github.com/RoxyAPI/ui/blob/main/packages/ui/THEMING.md). See the [FAQ](#faq) for switching between light and dark at runtime.
|
|
86
|
+
Pick a tone, set the bases, every chart and card follows. Named presets ship as one stylesheet each (Rosewater, Eucalyptus, Kiln, Moonlit, and Celeste, the roxyapi.com look), each naming a default font pair that `font` on a component overrides; only the pair in use loads, from where the components are served. Full token reference, the presets and the drawing hooks at [THEMING.md](https://github.com/RoxyAPI/ui/blob/main/packages/ui/THEMING.md). See the [FAQ](#faq) for switching between light and dark at runtime.
|
|
87
87
|
|
|
88
88
|
## Gallery
|
|
89
89
|
|
|
@@ -460,6 +460,40 @@ export default function Page() {
|
|
|
460
460
|
|
|
461
461
|
One import anywhere in the project types the tags everywhere in it. The typings carry attributes only, which is what markup can carry: a page that passes a response uses the React or Vue component, which sets `data` as a property. Your `tsconfig.json` needs `moduleResolution` on `bundler`, `node16` or `nodenext`, because the older `node10` resolution ignores the package export map.
|
|
462
462
|
|
|
463
|
+
## Draw a chart on the server
|
|
464
|
+
|
|
465
|
+
`@roxyapi/ui/charts` turns a response into the same `<svg>` its component draws, as a string, with no browser and no rendering library: a PDF, an email, a static page or an image job gets the chart a visitor sees on the page.
|
|
466
|
+
|
|
467
|
+
```ts
|
|
468
|
+
import { createRoxy } from '@roxyapi/sdk';
|
|
469
|
+
import {
|
|
470
|
+
bodygraphSvg,
|
|
471
|
+
kundliSvg,
|
|
472
|
+
natalWheelSvg,
|
|
473
|
+
synastryWheelSvg,
|
|
474
|
+
toKundliViewModel,
|
|
475
|
+
} from '@roxyapi/ui/charts';
|
|
476
|
+
import '@roxyapi/ui/locales/es';
|
|
477
|
+
|
|
478
|
+
const roxy = createRoxy(process.env.ROXY_API_KEY!);
|
|
479
|
+
const { data: natal } = await roxy.astrology.generateNatalChart({ body, throwOnError: true });
|
|
480
|
+
const wheel: string = natalWheelSvg(natal, { lang: 'es' });
|
|
481
|
+
|
|
482
|
+
const { data: birth } = await roxy.vedicAstrology.generateBirthChart({ body, throwOnError: true });
|
|
483
|
+
const kundli: string = kundliSvg(toKundliViewModel(birth.meta), { style: 'south' });
|
|
484
|
+
```
|
|
485
|
+
|
|
486
|
+
`synastryWheelSvg` takes a synastry response and `bodygraphSvg` a bodygraph response the same way. `lang` writes the words the chart adds in that language once its locale is imported; English needs no import.
|
|
487
|
+
|
|
488
|
+
The paint is a stylesheet per chart, published beside the tokens: `styles/charts/natal-wheel.css`, `synastry-wheel.css`, `kundli.css` and `bodygraph.css`. Link `tokens.css`, a theme if you use one, and the chart sheet next to the string, and it paints exactly as the component does, in light and dark:
|
|
489
|
+
|
|
490
|
+
```html
|
|
491
|
+
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@roxyapi/ui@latest/dist/styles/tokens.css">
|
|
492
|
+
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@roxyapi/ui@latest/dist/styles/charts/natal-wheel.css">
|
|
493
|
+
```
|
|
494
|
+
|
|
495
|
+
The same path carries the published font pairs as data: `ROXY_FONTS` (keyed by the `fonts[]` keys in `components-catalog.json`, each with its `name` and its `sans` and `display` stacks) and `fontFaces(key)`, the files a pair is drawn with, so a server sets the type a page shows.
|
|
496
|
+
|
|
463
497
|
## Most-used components per domain
|
|
464
498
|
|
|
465
499
|
The highest-demand components by domain, in the order you are most likely to ship them. Each pairing shows the SDK call that returns the response shape the component renders. Spec change in the API translates to typed change at the component boundary; the pairing below is derived from the live OpenAPI spec, not invented. Full catalog in the [Components](#components) table.
|
|
@@ -950,6 +984,14 @@ roxy-natal-chart {
|
|
|
950
984
|
}
|
|
951
985
|
```
|
|
952
986
|
|
|
987
|
+
### Brand colour and font, one attribute each
|
|
988
|
+
|
|
989
|
+
Every component takes `brand-color`, `brand-accent` and `font` (`brandColor`, `brandAccent`, `font` in React and Vue), so a site sets its brand without CSS. The colours are `#rgb` or `#rrggbb`, and the accent re-derives its ink and focus ring in both modes. `font` is a `key` from `fonts[]` in `components-catalog.json`, which lists each pair with its stylesheet and files, and it overrides the theme preset's default pair. From the CDN script, the pair's stylesheet loads from the same place as the script. In an npm build, import `@roxyapi/ui/styles/fonts/{key}.css` once, the same way as `tokens.css`, or copy `dist/styles/fonts` to your own origin and link it. A value that does not validate is ignored.
|
|
990
|
+
|
|
991
|
+
```html
|
|
992
|
+
<roxy-natal-chart brand-color="#3e2a2c" brand-accent="#914955" font="fraunces-jost"></roxy-natal-chart>
|
|
993
|
+
```
|
|
994
|
+
|
|
953
995
|
### Reach inside the component from your own CSS
|
|
954
996
|
|
|
955
997
|
Every chart and reading component names its structural blocks with `part`, so a stylesheet outside the component can restyle or hide any of them with no JavaScript and no fork. The names are the same in every component, so one rule covers the whole library.
|
|
@@ -38,6 +38,12 @@ export interface RoxyAlmanacDayProps extends ElementAttrs {
|
|
|
38
38
|
hideReadings?: boolean;
|
|
39
39
|
/** Comma-separated list of `part` names to take off this component, for example "patterns" or "patterns, legend". Per element rather than per site, so the same component can drop a block on one page and keep it on another with no CSS. Sibling of hideReadings and a different tool: this hides a whole block whatever it contains, where hideReadings drops interpretive prose out of the markup. Names come from the `parts` array in components-catalog.json; a name the component does not carry hides nothing and is not an error. */
|
|
40
40
|
hideSections?: string;
|
|
41
|
+
/** Brand colour as `#rgb` or `#rrggbb`, painted as `--roxy-primary` on this component. Any other value is ignored. */
|
|
42
|
+
brandColor?: string;
|
|
43
|
+
/** Brand accent as `#rgb` or `#rrggbb`, painted as `--roxy-accent` with its ink and focus ring re-derived. Any other value is ignored. */
|
|
44
|
+
brandAccent?: string;
|
|
45
|
+
/** A font pair from `fonts[]` in components-catalog.json, for body text and headings; import `@roxyapi/ui/styles/fonts/{key}.css` once to load its files. Any other value is ignored. */
|
|
46
|
+
font?: 'fraunces-jost' | 'jost' | 'geist' | 'system';
|
|
41
47
|
}
|
|
42
48
|
export declare const RoxyAlmanacDay: React.ForwardRefExoticComponent<RoxyAlmanacDayProps & React.RefAttributes<HTMLElement | null>>;
|
|
43
49
|
export {};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use client";import*as n from"react";var
|
|
1
|
+
"use client";import*as n from"react";var $="1.2.0",D="roxyapi-ui-loader",O="https://cdn.jsdelivr.net/npm/@roxyapi/ui@latest/dist/cdn",U="https://cdn.jsdelivr.net/npm/@roxyapi/ui@",j="/dist/cdn",d=null;function B(a){return!a||a==="latest"?O:`${U}${a}${j}`}function H(a=$,i){return typeof document>"u"?Promise.resolve():d||(d=new Promise((o,c)=>{let u=`${i??B(a)}/roxy-ui.js`,r=document.getElementById(D);if(r){r.dataset.loaded==="true"?o():(r.addEventListener("load",()=>o()),r.addEventListener("error",()=>c(new Error("roxy-ui load failed"))));return}r=document.createElement("script"),r.id=D,r.src=u,r.async=true,r.crossOrigin="anonymous",r.addEventListener("load",()=>{r.dataset.loaded="true",o()}),r.addEventListener("error",()=>c(new Error("roxy-ui load failed"))),document.head.appendChild(r)}),d)}var X=n.forwardRef(function({data:i,className:o,style:c,mode:u,endpoint:r,method:l,publishableKey:f,baseUrl:m,submitUrl:E,submitContext:p,locationUrl:g,specUrl:R,lang:y,submitLabel:w,remember:L,errorMessage:k,attribution:x,hideReadings:h,hideSections:S,brandColor:A,brandAccent:b,font:v,...M},C){let t=n.useRef(null);n.useImperativeHandle(C,()=>t.current,[]);let[s,I]=n.useState(false),[T,_]=n.useState(null);return n.useEffect(()=>{let e=true;return H().then(()=>{e&&I(true)}).catch(P=>{e&&_(P instanceof Error?P:new Error(String(P)))}),()=>{e=false}},[]),n.useEffect(()=>{let e=t.current;e&&i!==void 0&&(e.data=i)},[i,s]),n.useEffect(()=>{let e=t.current;e&&u!==void 0&&(e.mode=u)},[u,s]),n.useEffect(()=>{let e=t.current;e&&r!==void 0&&(e.endpoint=r)},[r,s]),n.useEffect(()=>{let e=t.current;e&&l!==void 0&&(e.method=l)},[l,s]),n.useEffect(()=>{let e=t.current;e&&f!==void 0&&(e.publishableKey=f)},[f,s]),n.useEffect(()=>{let e=t.current;e&&m!==void 0&&(e.baseUrl=m)},[m,s]),n.useEffect(()=>{let e=t.current;e&&E!==void 0&&(e.submitUrl=E)},[E,s]),n.useEffect(()=>{let e=t.current;e&&p!==void 0&&(e.submitContext=p)},[p,s]),n.useEffect(()=>{let e=t.current;e&&g!==void 0&&(e.locationUrl=g)},[g,s]),n.useEffect(()=>{let e=t.current;e&&R!==void 0&&(e.specUrl=R)},[R,s]),n.useEffect(()=>{let e=t.current;e&&y!==void 0&&(e.lang=y)},[y,s]),n.useEffect(()=>{let e=t.current;e&&w!==void 0&&(e.submitLabel=w)},[w,s]),n.useEffect(()=>{let e=t.current;e&&L!==void 0&&(e.remember=L)},[L,s]),n.useEffect(()=>{let e=t.current;e&&k!==void 0&&(e.errorMessage=k)},[k,s]),n.useEffect(()=>{let e=t.current;e&&x!==void 0&&(e.attribution=x)},[x,s]),n.useEffect(()=>{let e=t.current;e&&h!==void 0&&(e.hideReadings=h)},[h,s]),n.useEffect(()=>{let e=t.current;e&&S!==void 0&&(e.hideSections=S)},[S,s]),n.useEffect(()=>{let e=t.current;e&&A!==void 0&&(e.brandColor=A)},[A,s]),n.useEffect(()=>{let e=t.current;e&&b!==void 0&&(e.brandAccent=b)},[b,s]),n.useEffect(()=>{let e=t.current;e&&v!==void 0&&(e.font=v)},[v,s]),T?n.createElement("div",{role:"alert",className:o,style:c},`Roxy UI script load failed: ${T.message}`):n.createElement("roxy-almanac-day",{ref:t,className:o,style:c,suppressHydrationWarning:true,...M})});export{X as RoxyAlmanacDay};
|
|
@@ -36,6 +36,12 @@ export interface RoxyAngelNumberCardProps extends ElementAttrs {
|
|
|
36
36
|
hideReadings?: boolean;
|
|
37
37
|
/** Comma-separated list of `part` names to take off this component, for example "patterns" or "patterns, legend". Per element rather than per site, so the same component can drop a block on one page and keep it on another with no CSS. Sibling of hideReadings and a different tool: this hides a whole block whatever it contains, where hideReadings drops interpretive prose out of the markup. Names come from the `parts` array in components-catalog.json; a name the component does not carry hides nothing and is not an error. */
|
|
38
38
|
hideSections?: string;
|
|
39
|
+
/** Brand colour as `#rgb` or `#rrggbb`, painted as `--roxy-primary` on this component. Any other value is ignored. */
|
|
40
|
+
brandColor?: string;
|
|
41
|
+
/** Brand accent as `#rgb` or `#rrggbb`, painted as `--roxy-accent` with its ink and focus ring re-derived. Any other value is ignored. */
|
|
42
|
+
brandAccent?: string;
|
|
43
|
+
/** A font pair from `fonts[]` in components-catalog.json, for body text and headings; import `@roxyapi/ui/styles/fonts/{key}.css` once to load its files. Any other value is ignored. */
|
|
44
|
+
font?: 'fraunces-jost' | 'jost' | 'geist' | 'system';
|
|
39
45
|
}
|
|
40
46
|
export declare const RoxyAngelNumberCard: React.ForwardRefExoticComponent<RoxyAngelNumberCardProps & React.RefAttributes<HTMLElement | null>>;
|
|
41
47
|
export {};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use client";import*as n from"react";var
|
|
1
|
+
"use client";import*as n from"react";var M="1.2.0",C="roxyapi-ui-loader",N="https://cdn.jsdelivr.net/npm/@roxyapi/ui@latest/dist/cdn",O="https://cdn.jsdelivr.net/npm/@roxyapi/ui@",U="/dist/cdn",d=null;function j(o){return!o||o==="latest"?N:`${O}${o}${U}`}function T(o=M,a){return typeof document>"u"?Promise.resolve():d||(d=new Promise((i,u)=>{let c=`${a??j(o)}/roxy-ui.js`,s=document.getElementById(C);if(s){s.dataset.loaded==="true"?i():(s.addEventListener("load",()=>i()),s.addEventListener("error",()=>u(new Error("roxy-ui load failed"))));return}s=document.createElement("script"),s.id=C,s.src=c,s.async=true,s.crossOrigin="anonymous",s.addEventListener("load",()=>{s.dataset.loaded="true",i()}),s.addEventListener("error",()=>u(new Error("roxy-ui load failed"))),document.head.appendChild(s)}),d)}var G=n.forwardRef(function({data:a,className:i,style:u,endpoint:c,method:s,publishableKey:l,baseUrl:f,submitUrl:g,submitContext:m,locationUrl:E,specUrl:p,lang:R,submitLabel:w,remember:y,errorMessage:L,attribution:x,hideReadings:b,hideSections:k,brandColor:S,brandAccent:h,font:v,...H},I){let t=n.useRef(null);n.useImperativeHandle(I,()=>t.current,[]);let[r,_]=n.useState(false),[A,$]=n.useState(null);return n.useEffect(()=>{let e=true;return T().then(()=>{e&&_(true)}).catch(P=>{e&&$(P instanceof Error?P:new Error(String(P)))}),()=>{e=false}},[]),n.useEffect(()=>{let e=t.current;e&&a!==void 0&&(e.data=a)},[a,r]),n.useEffect(()=>{let e=t.current;e&&c!==void 0&&(e.endpoint=c)},[c,r]),n.useEffect(()=>{let e=t.current;e&&s!==void 0&&(e.method=s)},[s,r]),n.useEffect(()=>{let e=t.current;e&&l!==void 0&&(e.publishableKey=l)},[l,r]),n.useEffect(()=>{let e=t.current;e&&f!==void 0&&(e.baseUrl=f)},[f,r]),n.useEffect(()=>{let e=t.current;e&&g!==void 0&&(e.submitUrl=g)},[g,r]),n.useEffect(()=>{let e=t.current;e&&m!==void 0&&(e.submitContext=m)},[m,r]),n.useEffect(()=>{let e=t.current;e&&E!==void 0&&(e.locationUrl=E)},[E,r]),n.useEffect(()=>{let e=t.current;e&&p!==void 0&&(e.specUrl=p)},[p,r]),n.useEffect(()=>{let e=t.current;e&&R!==void 0&&(e.lang=R)},[R,r]),n.useEffect(()=>{let e=t.current;e&&w!==void 0&&(e.submitLabel=w)},[w,r]),n.useEffect(()=>{let e=t.current;e&&y!==void 0&&(e.remember=y)},[y,r]),n.useEffect(()=>{let e=t.current;e&&L!==void 0&&(e.errorMessage=L)},[L,r]),n.useEffect(()=>{let e=t.current;e&&x!==void 0&&(e.attribution=x)},[x,r]),n.useEffect(()=>{let e=t.current;e&&b!==void 0&&(e.hideReadings=b)},[b,r]),n.useEffect(()=>{let e=t.current;e&&k!==void 0&&(e.hideSections=k)},[k,r]),n.useEffect(()=>{let e=t.current;e&&S!==void 0&&(e.brandColor=S)},[S,r]),n.useEffect(()=>{let e=t.current;e&&h!==void 0&&(e.brandAccent=h)},[h,r]),n.useEffect(()=>{let e=t.current;e&&v!==void 0&&(e.font=v)},[v,r]),A?n.createElement("div",{role:"alert",className:i,style:u},`Roxy UI script load failed: ${A.message}`):n.createElement("roxy-angel-number-card",{ref:t,className:i,style:u,suppressHydrationWarning:true,...H})});export{G as RoxyAngelNumberCard};
|
|
@@ -36,6 +36,12 @@ export interface RoxyAngelNumberLookupProps extends ElementAttrs {
|
|
|
36
36
|
hideReadings?: boolean;
|
|
37
37
|
/** Comma-separated list of `part` names to take off this component, for example "patterns" or "patterns, legend". Per element rather than per site, so the same component can drop a block on one page and keep it on another with no CSS. Sibling of hideReadings and a different tool: this hides a whole block whatever it contains, where hideReadings drops interpretive prose out of the markup. Names come from the `parts` array in components-catalog.json; a name the component does not carry hides nothing and is not an error. */
|
|
38
38
|
hideSections?: string;
|
|
39
|
+
/** Brand colour as `#rgb` or `#rrggbb`, painted as `--roxy-primary` on this component. Any other value is ignored. */
|
|
40
|
+
brandColor?: string;
|
|
41
|
+
/** Brand accent as `#rgb` or `#rrggbb`, painted as `--roxy-accent` with its ink and focus ring re-derived. Any other value is ignored. */
|
|
42
|
+
brandAccent?: string;
|
|
43
|
+
/** A font pair from `fonts[]` in components-catalog.json, for body text and headings; import `@roxyapi/ui/styles/fonts/{key}.css` once to load its files. Any other value is ignored. */
|
|
44
|
+
font?: 'fraunces-jost' | 'jost' | 'geist' | 'system';
|
|
39
45
|
}
|
|
40
46
|
export declare const RoxyAngelNumberLookup: React.ForwardRefExoticComponent<RoxyAngelNumberLookupProps & React.RefAttributes<HTMLElement | null>>;
|
|
41
47
|
export {};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use client";import*as n from"react";var
|
|
1
|
+
"use client";import*as n from"react";var M="1.2.0",T="roxyapi-ui-loader",N="https://cdn.jsdelivr.net/npm/@roxyapi/ui@latest/dist/cdn",O="https://cdn.jsdelivr.net/npm/@roxyapi/ui@",U="/dist/cdn",d=null;function j(o){return!o||o==="latest"?N:`${O}${o}${U}`}function H(o=M,a){return typeof document>"u"?Promise.resolve():d||(d=new Promise((i,u)=>{let c=`${a??j(o)}/roxy-ui.js`,s=document.getElementById(T);if(s){s.dataset.loaded==="true"?i():(s.addEventListener("load",()=>i()),s.addEventListener("error",()=>u(new Error("roxy-ui load failed"))));return}s=document.createElement("script"),s.id=T,s.src=c,s.async=true,s.crossOrigin="anonymous",s.addEventListener("load",()=>{s.dataset.loaded="true",i()}),s.addEventListener("error",()=>u(new Error("roxy-ui load failed"))),document.head.appendChild(s)}),d)}var D=n.forwardRef(function({data:a,className:i,style:u,endpoint:c,method:s,publishableKey:l,baseUrl:f,submitUrl:m,submitContext:E,locationUrl:g,specUrl:p,lang:R,submitLabel:w,remember:y,errorMessage:L,attribution:k,hideReadings:x,hideSections:b,brandColor:S,brandAccent:h,font:v,...C},I){let t=n.useRef(null);n.useImperativeHandle(I,()=>t.current,[]);let[r,_]=n.useState(false),[A,$]=n.useState(null);return n.useEffect(()=>{let e=true;return H().then(()=>{e&&_(true)}).catch(P=>{e&&$(P instanceof Error?P:new Error(String(P)))}),()=>{e=false}},[]),n.useEffect(()=>{let e=t.current;e&&a!==void 0&&(e.data=a)},[a,r]),n.useEffect(()=>{let e=t.current;e&&c!==void 0&&(e.endpoint=c)},[c,r]),n.useEffect(()=>{let e=t.current;e&&s!==void 0&&(e.method=s)},[s,r]),n.useEffect(()=>{let e=t.current;e&&l!==void 0&&(e.publishableKey=l)},[l,r]),n.useEffect(()=>{let e=t.current;e&&f!==void 0&&(e.baseUrl=f)},[f,r]),n.useEffect(()=>{let e=t.current;e&&m!==void 0&&(e.submitUrl=m)},[m,r]),n.useEffect(()=>{let e=t.current;e&&E!==void 0&&(e.submitContext=E)},[E,r]),n.useEffect(()=>{let e=t.current;e&&g!==void 0&&(e.locationUrl=g)},[g,r]),n.useEffect(()=>{let e=t.current;e&&p!==void 0&&(e.specUrl=p)},[p,r]),n.useEffect(()=>{let e=t.current;e&&R!==void 0&&(e.lang=R)},[R,r]),n.useEffect(()=>{let e=t.current;e&&w!==void 0&&(e.submitLabel=w)},[w,r]),n.useEffect(()=>{let e=t.current;e&&y!==void 0&&(e.remember=y)},[y,r]),n.useEffect(()=>{let e=t.current;e&&L!==void 0&&(e.errorMessage=L)},[L,r]),n.useEffect(()=>{let e=t.current;e&&k!==void 0&&(e.attribution=k)},[k,r]),n.useEffect(()=>{let e=t.current;e&&x!==void 0&&(e.hideReadings=x)},[x,r]),n.useEffect(()=>{let e=t.current;e&&b!==void 0&&(e.hideSections=b)},[b,r]),n.useEffect(()=>{let e=t.current;e&&S!==void 0&&(e.brandColor=S)},[S,r]),n.useEffect(()=>{let e=t.current;e&&h!==void 0&&(e.brandAccent=h)},[h,r]),n.useEffect(()=>{let e=t.current;e&&v!==void 0&&(e.font=v)},[v,r]),A?n.createElement("div",{role:"alert",className:i,style:u},`Roxy UI script load failed: ${A.message}`):n.createElement("roxy-angel-number-lookup",{ref:t,className:i,style:u,suppressHydrationWarning:true,...C})});export{D as RoxyAngelNumberLookup};
|
|
@@ -36,6 +36,12 @@ export interface RoxyArudhaPadasProps extends ElementAttrs {
|
|
|
36
36
|
hideReadings?: boolean;
|
|
37
37
|
/** Comma-separated list of `part` names to take off this component, for example "patterns" or "patterns, legend". Per element rather than per site, so the same component can drop a block on one page and keep it on another with no CSS. Sibling of hideReadings and a different tool: this hides a whole block whatever it contains, where hideReadings drops interpretive prose out of the markup. Names come from the `parts` array in components-catalog.json; a name the component does not carry hides nothing and is not an error. */
|
|
38
38
|
hideSections?: string;
|
|
39
|
+
/** Brand colour as `#rgb` or `#rrggbb`, painted as `--roxy-primary` on this component. Any other value is ignored. */
|
|
40
|
+
brandColor?: string;
|
|
41
|
+
/** Brand accent as `#rgb` or `#rrggbb`, painted as `--roxy-accent` with its ink and focus ring re-derived. Any other value is ignored. */
|
|
42
|
+
brandAccent?: string;
|
|
43
|
+
/** A font pair from `fonts[]` in components-catalog.json, for body text and headings; import `@roxyapi/ui/styles/fonts/{key}.css` once to load its files. Any other value is ignored. */
|
|
44
|
+
font?: 'fraunces-jost' | 'jost' | 'geist' | 'system';
|
|
39
45
|
}
|
|
40
46
|
export declare const RoxyArudhaPadas: React.ForwardRefExoticComponent<RoxyArudhaPadasProps & React.RefAttributes<HTMLElement | null>>;
|
|
41
47
|
export {};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use client";import*as n from"react";var
|
|
1
|
+
"use client";import*as n from"react";var M="1.2.0",T="roxyapi-ui-loader",O="https://cdn.jsdelivr.net/npm/@roxyapi/ui@latest/dist/cdn",U="https://cdn.jsdelivr.net/npm/@roxyapi/ui@",j="/dist/cdn",c=null;function B(a){return!a||a==="latest"?O:`${U}${a}${j}`}function H(a=M,i){return typeof document>"u"?Promise.resolve():c||(c=new Promise((o,u)=>{let d=`${i??B(a)}/roxy-ui.js`,s=document.getElementById(T);if(s){s.dataset.loaded==="true"?o():(s.addEventListener("load",()=>o()),s.addEventListener("error",()=>u(new Error("roxy-ui load failed"))));return}s=document.createElement("script"),s.id=T,s.src=d,s.async=true,s.crossOrigin="anonymous",s.addEventListener("load",()=>{s.dataset.loaded="true",o()}),s.addEventListener("error",()=>u(new Error("roxy-ui load failed"))),document.head.appendChild(s)}),c)}var X=n.forwardRef(function({data:i,className:o,style:u,endpoint:d,method:s,publishableKey:l,baseUrl:f,submitUrl:E,submitContext:g,locationUrl:m,specUrl:p,lang:R,submitLabel:w,remember:y,errorMessage:L,attribution:x,hideReadings:h,hideSections:k,brandColor:P,brandAccent:S,font:b,...C},I){let t=n.useRef(null);n.useImperativeHandle(I,()=>t.current,[]);let[r,_]=n.useState(false),[A,$]=n.useState(null);return n.useEffect(()=>{let e=true;return H().then(()=>{e&&_(true)}).catch(v=>{e&&$(v instanceof Error?v:new Error(String(v)))}),()=>{e=false}},[]),n.useEffect(()=>{let e=t.current;e&&i!==void 0&&(e.data=i)},[i,r]),n.useEffect(()=>{let e=t.current;e&&d!==void 0&&(e.endpoint=d)},[d,r]),n.useEffect(()=>{let e=t.current;e&&s!==void 0&&(e.method=s)},[s,r]),n.useEffect(()=>{let e=t.current;e&&l!==void 0&&(e.publishableKey=l)},[l,r]),n.useEffect(()=>{let e=t.current;e&&f!==void 0&&(e.baseUrl=f)},[f,r]),n.useEffect(()=>{let e=t.current;e&&E!==void 0&&(e.submitUrl=E)},[E,r]),n.useEffect(()=>{let e=t.current;e&&g!==void 0&&(e.submitContext=g)},[g,r]),n.useEffect(()=>{let e=t.current;e&&m!==void 0&&(e.locationUrl=m)},[m,r]),n.useEffect(()=>{let e=t.current;e&&p!==void 0&&(e.specUrl=p)},[p,r]),n.useEffect(()=>{let e=t.current;e&&R!==void 0&&(e.lang=R)},[R,r]),n.useEffect(()=>{let e=t.current;e&&w!==void 0&&(e.submitLabel=w)},[w,r]),n.useEffect(()=>{let e=t.current;e&&y!==void 0&&(e.remember=y)},[y,r]),n.useEffect(()=>{let e=t.current;e&&L!==void 0&&(e.errorMessage=L)},[L,r]),n.useEffect(()=>{let e=t.current;e&&x!==void 0&&(e.attribution=x)},[x,r]),n.useEffect(()=>{let e=t.current;e&&h!==void 0&&(e.hideReadings=h)},[h,r]),n.useEffect(()=>{let e=t.current;e&&k!==void 0&&(e.hideSections=k)},[k,r]),n.useEffect(()=>{let e=t.current;e&&P!==void 0&&(e.brandColor=P)},[P,r]),n.useEffect(()=>{let e=t.current;e&&S!==void 0&&(e.brandAccent=S)},[S,r]),n.useEffect(()=>{let e=t.current;e&&b!==void 0&&(e.font=b)},[b,r]),A?n.createElement("div",{role:"alert",className:o,style:u},`Roxy UI script load failed: ${A.message}`):n.createElement("roxy-arudha-padas",{ref:t,className:o,style:u,suppressHydrationWarning:true,...C})});export{X as RoxyArudhaPadas};
|
|
@@ -36,6 +36,12 @@ export interface RoxyAshtakavargaGridProps extends ElementAttrs {
|
|
|
36
36
|
hideReadings?: boolean;
|
|
37
37
|
/** Comma-separated list of `part` names to take off this component, for example "patterns" or "patterns, legend". Per element rather than per site, so the same component can drop a block on one page and keep it on another with no CSS. Sibling of hideReadings and a different tool: this hides a whole block whatever it contains, where hideReadings drops interpretive prose out of the markup. Names come from the `parts` array in components-catalog.json; a name the component does not carry hides nothing and is not an error. */
|
|
38
38
|
hideSections?: string;
|
|
39
|
+
/** Brand colour as `#rgb` or `#rrggbb`, painted as `--roxy-primary` on this component. Any other value is ignored. */
|
|
40
|
+
brandColor?: string;
|
|
41
|
+
/** Brand accent as `#rgb` or `#rrggbb`, painted as `--roxy-accent` with its ink and focus ring re-derived. Any other value is ignored. */
|
|
42
|
+
brandAccent?: string;
|
|
43
|
+
/** A font pair from `fonts[]` in components-catalog.json, for body text and headings; import `@roxyapi/ui/styles/fonts/{key}.css` once to load its files. Any other value is ignored. */
|
|
44
|
+
font?: 'fraunces-jost' | 'jost' | 'geist' | 'system';
|
|
39
45
|
}
|
|
40
46
|
export declare const RoxyAshtakavargaGrid: React.ForwardRefExoticComponent<RoxyAshtakavargaGridProps & React.RefAttributes<HTMLElement | null>>;
|
|
41
47
|
export {};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use client";import*as n from"react";var
|
|
1
|
+
"use client";import*as n from"react";var M="1.2.0",T="roxyapi-ui-loader",O="https://cdn.jsdelivr.net/npm/@roxyapi/ui@latest/dist/cdn",U="https://cdn.jsdelivr.net/npm/@roxyapi/ui@",j="/dist/cdn",c=null;function B(a){return!a||a==="latest"?O:`${U}${a}${j}`}function H(a=M,o){return typeof document>"u"?Promise.resolve():c||(c=new Promise((i,u)=>{let d=`${o??B(a)}/roxy-ui.js`,s=document.getElementById(T);if(s){s.dataset.loaded==="true"?i():(s.addEventListener("load",()=>i()),s.addEventListener("error",()=>u(new Error("roxy-ui load failed"))));return}s=document.createElement("script"),s.id=T,s.src=d,s.async=true,s.crossOrigin="anonymous",s.addEventListener("load",()=>{s.dataset.loaded="true",i()}),s.addEventListener("error",()=>u(new Error("roxy-ui load failed"))),document.head.appendChild(s)}),c)}var N=n.forwardRef(function({data:o,className:i,style:u,endpoint:d,method:s,publishableKey:l,baseUrl:f,submitUrl:g,submitContext:E,locationUrl:m,specUrl:p,lang:R,submitLabel:w,remember:k,errorMessage:y,attribution:L,hideReadings:x,hideSections:h,brandColor:v,brandAccent:S,font:b,...C},I){let t=n.useRef(null);n.useImperativeHandle(I,()=>t.current,[]);let[r,_]=n.useState(false),[A,$]=n.useState(null);return n.useEffect(()=>{let e=true;return H().then(()=>{e&&_(true)}).catch(P=>{e&&$(P instanceof Error?P:new Error(String(P)))}),()=>{e=false}},[]),n.useEffect(()=>{let e=t.current;e&&o!==void 0&&(e.data=o)},[o,r]),n.useEffect(()=>{let e=t.current;e&&d!==void 0&&(e.endpoint=d)},[d,r]),n.useEffect(()=>{let e=t.current;e&&s!==void 0&&(e.method=s)},[s,r]),n.useEffect(()=>{let e=t.current;e&&l!==void 0&&(e.publishableKey=l)},[l,r]),n.useEffect(()=>{let e=t.current;e&&f!==void 0&&(e.baseUrl=f)},[f,r]),n.useEffect(()=>{let e=t.current;e&&g!==void 0&&(e.submitUrl=g)},[g,r]),n.useEffect(()=>{let e=t.current;e&&E!==void 0&&(e.submitContext=E)},[E,r]),n.useEffect(()=>{let e=t.current;e&&m!==void 0&&(e.locationUrl=m)},[m,r]),n.useEffect(()=>{let e=t.current;e&&p!==void 0&&(e.specUrl=p)},[p,r]),n.useEffect(()=>{let e=t.current;e&&R!==void 0&&(e.lang=R)},[R,r]),n.useEffect(()=>{let e=t.current;e&&w!==void 0&&(e.submitLabel=w)},[w,r]),n.useEffect(()=>{let e=t.current;e&&k!==void 0&&(e.remember=k)},[k,r]),n.useEffect(()=>{let e=t.current;e&&y!==void 0&&(e.errorMessage=y)},[y,r]),n.useEffect(()=>{let e=t.current;e&&L!==void 0&&(e.attribution=L)},[L,r]),n.useEffect(()=>{let e=t.current;e&&x!==void 0&&(e.hideReadings=x)},[x,r]),n.useEffect(()=>{let e=t.current;e&&h!==void 0&&(e.hideSections=h)},[h,r]),n.useEffect(()=>{let e=t.current;e&&v!==void 0&&(e.brandColor=v)},[v,r]),n.useEffect(()=>{let e=t.current;e&&S!==void 0&&(e.brandAccent=S)},[S,r]),n.useEffect(()=>{let e=t.current;e&&b!==void 0&&(e.font=b)},[b,r]),A?n.createElement("div",{role:"alert",className:i,style:u},`Roxy UI script load failed: ${A.message}`):n.createElement("roxy-ashtakavarga-grid",{ref:t,className:i,style:u,suppressHydrationWarning:true,...C})});export{N as RoxyAshtakavargaGrid};
|
|
@@ -36,6 +36,12 @@ export interface RoxyAspectsTableProps extends ElementAttrs {
|
|
|
36
36
|
hideReadings?: boolean;
|
|
37
37
|
/** Comma-separated list of `part` names to take off this component, for example "patterns" or "patterns, legend". Per element rather than per site, so the same component can drop a block on one page and keep it on another with no CSS. Sibling of hideReadings and a different tool: this hides a whole block whatever it contains, where hideReadings drops interpretive prose out of the markup. Names come from the `parts` array in components-catalog.json; a name the component does not carry hides nothing and is not an error. */
|
|
38
38
|
hideSections?: string;
|
|
39
|
+
/** Brand colour as `#rgb` or `#rrggbb`, painted as `--roxy-primary` on this component. Any other value is ignored. */
|
|
40
|
+
brandColor?: string;
|
|
41
|
+
/** Brand accent as `#rgb` or `#rrggbb`, painted as `--roxy-accent` with its ink and focus ring re-derived. Any other value is ignored. */
|
|
42
|
+
brandAccent?: string;
|
|
43
|
+
/** A font pair from `fonts[]` in components-catalog.json, for body text and headings; import `@roxyapi/ui/styles/fonts/{key}.css` once to load its files. Any other value is ignored. */
|
|
44
|
+
font?: 'fraunces-jost' | 'jost' | 'geist' | 'system';
|
|
39
45
|
}
|
|
40
46
|
export declare const RoxyAspectsTable: React.ForwardRefExoticComponent<RoxyAspectsTableProps & React.RefAttributes<HTMLElement | null>>;
|
|
41
47
|
export {};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use client";import*as n from"react";var
|
|
1
|
+
"use client";import*as n from"react";var M="1.2.0",v="roxyapi-ui-loader",O="https://cdn.jsdelivr.net/npm/@roxyapi/ui@latest/dist/cdn",U="https://cdn.jsdelivr.net/npm/@roxyapi/ui@",j="/dist/cdn",d=null;function B(a){return!a||a==="latest"?O:`${U}${a}${j}`}function C(a=M,i){return typeof document>"u"?Promise.resolve():d||(d=new Promise((o,c)=>{let u=`${i??B(a)}/roxy-ui.js`,r=document.getElementById(v);if(r){r.dataset.loaded==="true"?o():(r.addEventListener("load",()=>o()),r.addEventListener("error",()=>c(new Error("roxy-ui load failed"))));return}r=document.createElement("script"),r.id=v,r.src=u,r.async=true,r.crossOrigin="anonymous",r.addEventListener("load",()=>{r.dataset.loaded="true",o()}),r.addEventListener("error",()=>c(new Error("roxy-ui load failed"))),document.head.appendChild(r)}),d)}var X=n.forwardRef(function({data:i,className:o,style:c,endpoint:u,method:r,publishableKey:l,baseUrl:f,submitUrl:p,submitContext:E,locationUrl:g,specUrl:m,lang:R,submitLabel:w,remember:y,errorMessage:L,attribution:x,hideReadings:b,hideSections:k,brandColor:T,brandAccent:S,font:A,...H},I){let t=n.useRef(null);n.useImperativeHandle(I,()=>t.current,[]);let[s,_]=n.useState(false),[h,$]=n.useState(null);return n.useEffect(()=>{let e=true;return C().then(()=>{e&&_(true)}).catch(P=>{e&&$(P instanceof Error?P:new Error(String(P)))}),()=>{e=false}},[]),n.useEffect(()=>{let e=t.current;e&&i!==void 0&&(e.data=i)},[i,s]),n.useEffect(()=>{let e=t.current;e&&u!==void 0&&(e.endpoint=u)},[u,s]),n.useEffect(()=>{let e=t.current;e&&r!==void 0&&(e.method=r)},[r,s]),n.useEffect(()=>{let e=t.current;e&&l!==void 0&&(e.publishableKey=l)},[l,s]),n.useEffect(()=>{let e=t.current;e&&f!==void 0&&(e.baseUrl=f)},[f,s]),n.useEffect(()=>{let e=t.current;e&&p!==void 0&&(e.submitUrl=p)},[p,s]),n.useEffect(()=>{let e=t.current;e&&E!==void 0&&(e.submitContext=E)},[E,s]),n.useEffect(()=>{let e=t.current;e&&g!==void 0&&(e.locationUrl=g)},[g,s]),n.useEffect(()=>{let e=t.current;e&&m!==void 0&&(e.specUrl=m)},[m,s]),n.useEffect(()=>{let e=t.current;e&&R!==void 0&&(e.lang=R)},[R,s]),n.useEffect(()=>{let e=t.current;e&&w!==void 0&&(e.submitLabel=w)},[w,s]),n.useEffect(()=>{let e=t.current;e&&y!==void 0&&(e.remember=y)},[y,s]),n.useEffect(()=>{let e=t.current;e&&L!==void 0&&(e.errorMessage=L)},[L,s]),n.useEffect(()=>{let e=t.current;e&&x!==void 0&&(e.attribution=x)},[x,s]),n.useEffect(()=>{let e=t.current;e&&b!==void 0&&(e.hideReadings=b)},[b,s]),n.useEffect(()=>{let e=t.current;e&&k!==void 0&&(e.hideSections=k)},[k,s]),n.useEffect(()=>{let e=t.current;e&&T!==void 0&&(e.brandColor=T)},[T,s]),n.useEffect(()=>{let e=t.current;e&&S!==void 0&&(e.brandAccent=S)},[S,s]),n.useEffect(()=>{let e=t.current;e&&A!==void 0&&(e.font=A)},[A,s]),h?n.createElement("div",{role:"alert",className:o,style:c},`Roxy UI script load failed: ${h.message}`):n.createElement("roxy-aspects-table",{ref:t,className:o,style:c,suppressHydrationWarning:true,...H})});export{X as RoxyAspectsTable};
|
|
@@ -36,6 +36,12 @@ export interface RoxyAstrocartographyMapProps extends ElementAttrs {
|
|
|
36
36
|
hideReadings?: boolean;
|
|
37
37
|
/** Comma-separated list of `part` names to take off this component, for example "patterns" or "patterns, legend". Per element rather than per site, so the same component can drop a block on one page and keep it on another with no CSS. Sibling of hideReadings and a different tool: this hides a whole block whatever it contains, where hideReadings drops interpretive prose out of the markup. Names come from the `parts` array in components-catalog.json; a name the component does not carry hides nothing and is not an error. */
|
|
38
38
|
hideSections?: string;
|
|
39
|
+
/** Brand colour as `#rgb` or `#rrggbb`, painted as `--roxy-primary` on this component. Any other value is ignored. */
|
|
40
|
+
brandColor?: string;
|
|
41
|
+
/** Brand accent as `#rgb` or `#rrggbb`, painted as `--roxy-accent` with its ink and focus ring re-derived. Any other value is ignored. */
|
|
42
|
+
brandAccent?: string;
|
|
43
|
+
/** A font pair from `fonts[]` in components-catalog.json, for body text and headings; import `@roxyapi/ui/styles/fonts/{key}.css` once to load its files. Any other value is ignored. */
|
|
44
|
+
font?: 'fraunces-jost' | 'jost' | 'geist' | 'system';
|
|
39
45
|
}
|
|
40
46
|
export declare const RoxyAstrocartographyMap: React.ForwardRefExoticComponent<RoxyAstrocartographyMapProps & React.RefAttributes<HTMLElement | null>>;
|
|
41
47
|
export {};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use client";import*as n from"react";var
|
|
1
|
+
"use client";import*as n from"react";var $="1.2.0",T="roxyapi-ui-loader",O="https://cdn.jsdelivr.net/npm/@roxyapi/ui@latest/dist/cdn",U="https://cdn.jsdelivr.net/npm/@roxyapi/ui@",j="/dist/cdn",d=null;function B(o){return!o||o==="latest"?O:`${U}${o}${j}`}function M(o=$,i){return typeof document>"u"?Promise.resolve():d||(d=new Promise((a,c)=>{let u=`${i??B(o)}/roxy-ui.js`,s=document.getElementById(T);if(s){s.dataset.loaded==="true"?a():(s.addEventListener("load",()=>a()),s.addEventListener("error",()=>c(new Error("roxy-ui load failed"))));return}s=document.createElement("script"),s.id=T,s.src=u,s.async=true,s.crossOrigin="anonymous",s.addEventListener("load",()=>{s.dataset.loaded="true",a()}),s.addEventListener("error",()=>c(new Error("roxy-ui load failed"))),document.head.appendChild(s)}),d)}var X=n.forwardRef(function({data:i,className:a,style:c,endpoint:u,method:s,publishableKey:l,baseUrl:f,submitUrl:g,submitContext:p,locationUrl:E,specUrl:m,lang:R,submitLabel:y,remember:w,errorMessage:L,attribution:x,hideReadings:h,hideSections:k,brandColor:S,brandAccent:b,font:v,...H},C){let t=n.useRef(null);n.useImperativeHandle(C,()=>t.current,[]);let[r,I]=n.useState(false),[A,_]=n.useState(null);return n.useEffect(()=>{let e=true;return M().then(()=>{e&&I(true)}).catch(P=>{e&&_(P instanceof Error?P:new Error(String(P)))}),()=>{e=false}},[]),n.useEffect(()=>{let e=t.current;e&&i!==void 0&&(e.data=i)},[i,r]),n.useEffect(()=>{let e=t.current;e&&u!==void 0&&(e.endpoint=u)},[u,r]),n.useEffect(()=>{let e=t.current;e&&s!==void 0&&(e.method=s)},[s,r]),n.useEffect(()=>{let e=t.current;e&&l!==void 0&&(e.publishableKey=l)},[l,r]),n.useEffect(()=>{let e=t.current;e&&f!==void 0&&(e.baseUrl=f)},[f,r]),n.useEffect(()=>{let e=t.current;e&&g!==void 0&&(e.submitUrl=g)},[g,r]),n.useEffect(()=>{let e=t.current;e&&p!==void 0&&(e.submitContext=p)},[p,r]),n.useEffect(()=>{let e=t.current;e&&E!==void 0&&(e.locationUrl=E)},[E,r]),n.useEffect(()=>{let e=t.current;e&&m!==void 0&&(e.specUrl=m)},[m,r]),n.useEffect(()=>{let e=t.current;e&&R!==void 0&&(e.lang=R)},[R,r]),n.useEffect(()=>{let e=t.current;e&&y!==void 0&&(e.submitLabel=y)},[y,r]),n.useEffect(()=>{let e=t.current;e&&w!==void 0&&(e.remember=w)},[w,r]),n.useEffect(()=>{let e=t.current;e&&L!==void 0&&(e.errorMessage=L)},[L,r]),n.useEffect(()=>{let e=t.current;e&&x!==void 0&&(e.attribution=x)},[x,r]),n.useEffect(()=>{let e=t.current;e&&h!==void 0&&(e.hideReadings=h)},[h,r]),n.useEffect(()=>{let e=t.current;e&&k!==void 0&&(e.hideSections=k)},[k,r]),n.useEffect(()=>{let e=t.current;e&&S!==void 0&&(e.brandColor=S)},[S,r]),n.useEffect(()=>{let e=t.current;e&&b!==void 0&&(e.brandAccent=b)},[b,r]),n.useEffect(()=>{let e=t.current;e&&v!==void 0&&(e.font=v)},[v,r]),A?n.createElement("div",{role:"alert",className:a,style:c},`Roxy UI script load failed: ${A.message}`):n.createElement("roxy-astrocartography-map",{ref:t,className:a,style:c,suppressHydrationWarning:true,...H})});export{X as RoxyAstrocartographyMap};
|
|
@@ -36,6 +36,12 @@ export interface RoxyBaziChartProps extends ElementAttrs {
|
|
|
36
36
|
hideReadings?: boolean;
|
|
37
37
|
/** Comma-separated list of `part` names to take off this component, for example "patterns" or "patterns, legend". Per element rather than per site, so the same component can drop a block on one page and keep it on another with no CSS. Sibling of hideReadings and a different tool: this hides a whole block whatever it contains, where hideReadings drops interpretive prose out of the markup. Names come from the `parts` array in components-catalog.json; a name the component does not carry hides nothing and is not an error. */
|
|
38
38
|
hideSections?: string;
|
|
39
|
+
/** Brand colour as `#rgb` or `#rrggbb`, painted as `--roxy-primary` on this component. Any other value is ignored. */
|
|
40
|
+
brandColor?: string;
|
|
41
|
+
/** Brand accent as `#rgb` or `#rrggbb`, painted as `--roxy-accent` with its ink and focus ring re-derived. Any other value is ignored. */
|
|
42
|
+
brandAccent?: string;
|
|
43
|
+
/** A font pair from `fonts[]` in components-catalog.json, for body text and headings; import `@roxyapi/ui/styles/fonts/{key}.css` once to load its files. Any other value is ignored. */
|
|
44
|
+
font?: 'fraunces-jost' | 'jost' | 'geist' | 'system';
|
|
39
45
|
}
|
|
40
46
|
export declare const RoxyBaziChart: React.ForwardRefExoticComponent<RoxyBaziChartProps & React.RefAttributes<HTMLElement | null>>;
|
|
41
47
|
export {};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use client";import*as n from"react";var
|
|
1
|
+
"use client";import*as n from"react";var M="1.2.0",T="roxyapi-ui-loader",z="https://cdn.jsdelivr.net/npm/@roxyapi/ui@latest/dist/cdn",A="https://cdn.jsdelivr.net/npm/@roxyapi/ui@",O="/dist/cdn",d=null;function U(i){return!i||i==="latest"?z:`${A}${i}${O}`}function B(i=M,o){return typeof document>"u"?Promise.resolve():d||(d=new Promise((a,u)=>{let c=`${o??U(i)}/roxy-ui.js`,s=document.getElementById(T);if(s){s.dataset.loaded==="true"?a():(s.addEventListener("load",()=>a()),s.addEventListener("error",()=>u(new Error("roxy-ui load failed"))));return}s=document.createElement("script"),s.id=T,s.src=c,s.async=true,s.crossOrigin="anonymous",s.addEventListener("load",()=>{s.dataset.loaded="true",a()}),s.addEventListener("error",()=>u(new Error("roxy-ui load failed"))),document.head.appendChild(s)}),d)}var G=n.forwardRef(function({data:o,className:a,style:u,endpoint:c,method:s,publishableKey:l,baseUrl:f,submitUrl:E,submitContext:g,locationUrl:m,specUrl:p,lang:R,submitLabel:w,remember:y,errorMessage:L,attribution:x,hideReadings:h,hideSections:k,brandColor:S,brandAccent:b,font:C,...H},I){let t=n.useRef(null);n.useImperativeHandle(I,()=>t.current,[]);let[r,_]=n.useState(false),[P,$]=n.useState(null);return n.useEffect(()=>{let e=true;return B().then(()=>{e&&_(true)}).catch(v=>{e&&$(v instanceof Error?v:new Error(String(v)))}),()=>{e=false}},[]),n.useEffect(()=>{let e=t.current;e&&o!==void 0&&(e.data=o)},[o,r]),n.useEffect(()=>{let e=t.current;e&&c!==void 0&&(e.endpoint=c)},[c,r]),n.useEffect(()=>{let e=t.current;e&&s!==void 0&&(e.method=s)},[s,r]),n.useEffect(()=>{let e=t.current;e&&l!==void 0&&(e.publishableKey=l)},[l,r]),n.useEffect(()=>{let e=t.current;e&&f!==void 0&&(e.baseUrl=f)},[f,r]),n.useEffect(()=>{let e=t.current;e&&E!==void 0&&(e.submitUrl=E)},[E,r]),n.useEffect(()=>{let e=t.current;e&&g!==void 0&&(e.submitContext=g)},[g,r]),n.useEffect(()=>{let e=t.current;e&&m!==void 0&&(e.locationUrl=m)},[m,r]),n.useEffect(()=>{let e=t.current;e&&p!==void 0&&(e.specUrl=p)},[p,r]),n.useEffect(()=>{let e=t.current;e&&R!==void 0&&(e.lang=R)},[R,r]),n.useEffect(()=>{let e=t.current;e&&w!==void 0&&(e.submitLabel=w)},[w,r]),n.useEffect(()=>{let e=t.current;e&&y!==void 0&&(e.remember=y)},[y,r]),n.useEffect(()=>{let e=t.current;e&&L!==void 0&&(e.errorMessage=L)},[L,r]),n.useEffect(()=>{let e=t.current;e&&x!==void 0&&(e.attribution=x)},[x,r]),n.useEffect(()=>{let e=t.current;e&&h!==void 0&&(e.hideReadings=h)},[h,r]),n.useEffect(()=>{let e=t.current;e&&k!==void 0&&(e.hideSections=k)},[k,r]),n.useEffect(()=>{let e=t.current;e&&S!==void 0&&(e.brandColor=S)},[S,r]),n.useEffect(()=>{let e=t.current;e&&b!==void 0&&(e.brandAccent=b)},[b,r]),n.useEffect(()=>{let e=t.current;e&&C!==void 0&&(e.font=C)},[C,r]),P?n.createElement("div",{role:"alert",className:a,style:u},`Roxy UI script load failed: ${P.message}`):n.createElement("roxy-bazi-chart",{ref:t,className:a,style:u,suppressHydrationWarning:true,...H})});export{G as RoxyBaziChart};
|
|
@@ -36,6 +36,12 @@ export interface RoxyBhavChalitTableProps extends ElementAttrs {
|
|
|
36
36
|
hideReadings?: boolean;
|
|
37
37
|
/** Comma-separated list of `part` names to take off this component, for example "patterns" or "patterns, legend". Per element rather than per site, so the same component can drop a block on one page and keep it on another with no CSS. Sibling of hideReadings and a different tool: this hides a whole block whatever it contains, where hideReadings drops interpretive prose out of the markup. Names come from the `parts` array in components-catalog.json; a name the component does not carry hides nothing and is not an error. */
|
|
38
38
|
hideSections?: string;
|
|
39
|
+
/** Brand colour as `#rgb` or `#rrggbb`, painted as `--roxy-primary` on this component. Any other value is ignored. */
|
|
40
|
+
brandColor?: string;
|
|
41
|
+
/** Brand accent as `#rgb` or `#rrggbb`, painted as `--roxy-accent` with its ink and focus ring re-derived. Any other value is ignored. */
|
|
42
|
+
brandAccent?: string;
|
|
43
|
+
/** A font pair from `fonts[]` in components-catalog.json, for body text and headings; import `@roxyapi/ui/styles/fonts/{key}.css` once to load its files. Any other value is ignored. */
|
|
44
|
+
font?: 'fraunces-jost' | 'jost' | 'geist' | 'system';
|
|
39
45
|
}
|
|
40
46
|
export declare const RoxyBhavChalitTable: React.ForwardRefExoticComponent<RoxyBhavChalitTableProps & React.RefAttributes<HTMLElement | null>>;
|
|
41
47
|
export {};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use client";import*as n from"react";var
|
|
1
|
+
"use client";import*as n from"react";var M="1.2.0",P="roxyapi-ui-loader",A="https://cdn.jsdelivr.net/npm/@roxyapi/ui@latest/dist/cdn",O="https://cdn.jsdelivr.net/npm/@roxyapi/ui@",U="/dist/cdn",d=null;function j(a){return!a||a==="latest"?A:`${O}${a}${U}`}function B(a=M,o){return typeof document>"u"?Promise.resolve():d||(d=new Promise((i,u)=>{let c=`${o??j(a)}/roxy-ui.js`,s=document.getElementById(P);if(s){s.dataset.loaded==="true"?i():(s.addEventListener("load",()=>i()),s.addEventListener("error",()=>u(new Error("roxy-ui load failed"))));return}s=document.createElement("script"),s.id=P,s.src=c,s.async=true,s.crossOrigin="anonymous",s.addEventListener("load",()=>{s.dataset.loaded="true",i()}),s.addEventListener("error",()=>u(new Error("roxy-ui load failed"))),document.head.appendChild(s)}),d)}var X=n.forwardRef(function({data:o,className:i,style:u,endpoint:c,method:s,publishableKey:l,baseUrl:f,submitUrl:E,submitContext:g,locationUrl:m,specUrl:p,lang:R,submitLabel:w,remember:h,errorMessage:y,attribution:L,hideReadings:x,hideSections:b,brandColor:k,brandAccent:v,font:S,...H},I){let t=n.useRef(null);n.useImperativeHandle(I,()=>t.current,[]);let[r,_]=n.useState(false),[C,$]=n.useState(null);return n.useEffect(()=>{let e=true;return B().then(()=>{e&&_(true)}).catch(T=>{e&&$(T instanceof Error?T:new Error(String(T)))}),()=>{e=false}},[]),n.useEffect(()=>{let e=t.current;e&&o!==void 0&&(e.data=o)},[o,r]),n.useEffect(()=>{let e=t.current;e&&c!==void 0&&(e.endpoint=c)},[c,r]),n.useEffect(()=>{let e=t.current;e&&s!==void 0&&(e.method=s)},[s,r]),n.useEffect(()=>{let e=t.current;e&&l!==void 0&&(e.publishableKey=l)},[l,r]),n.useEffect(()=>{let e=t.current;e&&f!==void 0&&(e.baseUrl=f)},[f,r]),n.useEffect(()=>{let e=t.current;e&&E!==void 0&&(e.submitUrl=E)},[E,r]),n.useEffect(()=>{let e=t.current;e&&g!==void 0&&(e.submitContext=g)},[g,r]),n.useEffect(()=>{let e=t.current;e&&m!==void 0&&(e.locationUrl=m)},[m,r]),n.useEffect(()=>{let e=t.current;e&&p!==void 0&&(e.specUrl=p)},[p,r]),n.useEffect(()=>{let e=t.current;e&&R!==void 0&&(e.lang=R)},[R,r]),n.useEffect(()=>{let e=t.current;e&&w!==void 0&&(e.submitLabel=w)},[w,r]),n.useEffect(()=>{let e=t.current;e&&h!==void 0&&(e.remember=h)},[h,r]),n.useEffect(()=>{let e=t.current;e&&y!==void 0&&(e.errorMessage=y)},[y,r]),n.useEffect(()=>{let e=t.current;e&&L!==void 0&&(e.attribution=L)},[L,r]),n.useEffect(()=>{let e=t.current;e&&x!==void 0&&(e.hideReadings=x)},[x,r]),n.useEffect(()=>{let e=t.current;e&&b!==void 0&&(e.hideSections=b)},[b,r]),n.useEffect(()=>{let e=t.current;e&&k!==void 0&&(e.brandColor=k)},[k,r]),n.useEffect(()=>{let e=t.current;e&&v!==void 0&&(e.brandAccent=v)},[v,r]),n.useEffect(()=>{let e=t.current;e&&S!==void 0&&(e.font=S)},[S,r]),C?n.createElement("div",{role:"alert",className:i,style:u},`Roxy UI script load failed: ${C.message}`):n.createElement("roxy-bhav-chalit-table",{ref:t,className:i,style:u,suppressHydrationWarning:true,...H})});export{X as RoxyBhavChalitTable};
|
|
@@ -36,6 +36,12 @@ export interface RoxyBhavaBalaTableProps extends ElementAttrs {
|
|
|
36
36
|
hideReadings?: boolean;
|
|
37
37
|
/** Comma-separated list of `part` names to take off this component, for example "patterns" or "patterns, legend". Per element rather than per site, so the same component can drop a block on one page and keep it on another with no CSS. Sibling of hideReadings and a different tool: this hides a whole block whatever it contains, where hideReadings drops interpretive prose out of the markup. Names come from the `parts` array in components-catalog.json; a name the component does not carry hides nothing and is not an error. */
|
|
38
38
|
hideSections?: string;
|
|
39
|
+
/** Brand colour as `#rgb` or `#rrggbb`, painted as `--roxy-primary` on this component. Any other value is ignored. */
|
|
40
|
+
brandColor?: string;
|
|
41
|
+
/** Brand accent as `#rgb` or `#rrggbb`, painted as `--roxy-accent` with its ink and focus ring re-derived. Any other value is ignored. */
|
|
42
|
+
brandAccent?: string;
|
|
43
|
+
/** A font pair from `fonts[]` in components-catalog.json, for body text and headings; import `@roxyapi/ui/styles/fonts/{key}.css` once to load its files. Any other value is ignored. */
|
|
44
|
+
font?: 'fraunces-jost' | 'jost' | 'geist' | 'system';
|
|
39
45
|
}
|
|
40
46
|
export declare const RoxyBhavaBalaTable: React.ForwardRefExoticComponent<RoxyBhavaBalaTableProps & React.RefAttributes<HTMLElement | null>>;
|
|
41
47
|
export {};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use client";import*as n from"react";var
|
|
1
|
+
"use client";import*as n from"react";var M="1.2.0",P="roxyapi-ui-loader",A="https://cdn.jsdelivr.net/npm/@roxyapi/ui@latest/dist/cdn",O="https://cdn.jsdelivr.net/npm/@roxyapi/ui@",U="/dist/cdn",d=null;function j(a){return!a||a==="latest"?A:`${O}${a}${U}`}function H(a=M,i){return typeof document>"u"?Promise.resolve():d||(d=new Promise((o,u)=>{let c=`${i??j(a)}/roxy-ui.js`,s=document.getElementById(P);if(s){s.dataset.loaded==="true"?o():(s.addEventListener("load",()=>o()),s.addEventListener("error",()=>u(new Error("roxy-ui load failed"))));return}s=document.createElement("script"),s.id=P,s.src=c,s.async=true,s.crossOrigin="anonymous",s.addEventListener("load",()=>{s.dataset.loaded="true",o()}),s.addEventListener("error",()=>u(new Error("roxy-ui load failed"))),document.head.appendChild(s)}),d)}var X=n.forwardRef(function({data:i,className:o,style:u,endpoint:c,method:s,publishableKey:l,baseUrl:f,submitUrl:E,submitContext:g,locationUrl:m,specUrl:p,lang:R,submitLabel:w,remember:y,errorMessage:L,attribution:x,hideReadings:b,hideSections:h,brandColor:k,brandAccent:v,font:S,...C},I){let t=n.useRef(null);n.useImperativeHandle(I,()=>t.current,[]);let[r,_]=n.useState(false),[B,$]=n.useState(null);return n.useEffect(()=>{let e=true;return H().then(()=>{e&&_(true)}).catch(T=>{e&&$(T instanceof Error?T:new Error(String(T)))}),()=>{e=false}},[]),n.useEffect(()=>{let e=t.current;e&&i!==void 0&&(e.data=i)},[i,r]),n.useEffect(()=>{let e=t.current;e&&c!==void 0&&(e.endpoint=c)},[c,r]),n.useEffect(()=>{let e=t.current;e&&s!==void 0&&(e.method=s)},[s,r]),n.useEffect(()=>{let e=t.current;e&&l!==void 0&&(e.publishableKey=l)},[l,r]),n.useEffect(()=>{let e=t.current;e&&f!==void 0&&(e.baseUrl=f)},[f,r]),n.useEffect(()=>{let e=t.current;e&&E!==void 0&&(e.submitUrl=E)},[E,r]),n.useEffect(()=>{let e=t.current;e&&g!==void 0&&(e.submitContext=g)},[g,r]),n.useEffect(()=>{let e=t.current;e&&m!==void 0&&(e.locationUrl=m)},[m,r]),n.useEffect(()=>{let e=t.current;e&&p!==void 0&&(e.specUrl=p)},[p,r]),n.useEffect(()=>{let e=t.current;e&&R!==void 0&&(e.lang=R)},[R,r]),n.useEffect(()=>{let e=t.current;e&&w!==void 0&&(e.submitLabel=w)},[w,r]),n.useEffect(()=>{let e=t.current;e&&y!==void 0&&(e.remember=y)},[y,r]),n.useEffect(()=>{let e=t.current;e&&L!==void 0&&(e.errorMessage=L)},[L,r]),n.useEffect(()=>{let e=t.current;e&&x!==void 0&&(e.attribution=x)},[x,r]),n.useEffect(()=>{let e=t.current;e&&b!==void 0&&(e.hideReadings=b)},[b,r]),n.useEffect(()=>{let e=t.current;e&&h!==void 0&&(e.hideSections=h)},[h,r]),n.useEffect(()=>{let e=t.current;e&&k!==void 0&&(e.brandColor=k)},[k,r]),n.useEffect(()=>{let e=t.current;e&&v!==void 0&&(e.brandAccent=v)},[v,r]),n.useEffect(()=>{let e=t.current;e&&S!==void 0&&(e.font=S)},[S,r]),B?n.createElement("div",{role:"alert",className:o,style:u},`Roxy UI script load failed: ${B.message}`):n.createElement("roxy-bhava-bala-table",{ref:t,className:o,style:u,suppressHydrationWarning:true,...C})});export{X as RoxyBhavaBalaTable};
|
|
@@ -38,6 +38,12 @@ export interface RoxyBiorhythmChartProps extends ElementAttrs {
|
|
|
38
38
|
hideReadings?: boolean;
|
|
39
39
|
/** Comma-separated list of `part` names to take off this component, for example "patterns" or "patterns, legend". Per element rather than per site, so the same component can drop a block on one page and keep it on another with no CSS. Sibling of hideReadings and a different tool: this hides a whole block whatever it contains, where hideReadings drops interpretive prose out of the markup. Names come from the `parts` array in components-catalog.json; a name the component does not carry hides nothing and is not an error. */
|
|
40
40
|
hideSections?: string;
|
|
41
|
+
/** Brand colour as `#rgb` or `#rrggbb`, painted as `--roxy-primary` on this component. Any other value is ignored. */
|
|
42
|
+
brandColor?: string;
|
|
43
|
+
/** Brand accent as `#rgb` or `#rrggbb`, painted as `--roxy-accent` with its ink and focus ring re-derived. Any other value is ignored. */
|
|
44
|
+
brandAccent?: string;
|
|
45
|
+
/** A font pair from `fonts[]` in components-catalog.json, for body text and headings; import `@roxyapi/ui/styles/fonts/{key}.css` once to load its files. Any other value is ignored. */
|
|
46
|
+
font?: 'fraunces-jost' | 'jost' | 'geist' | 'system';
|
|
41
47
|
}
|
|
42
48
|
export declare const RoxyBiorhythmChart: React.ForwardRefExoticComponent<RoxyBiorhythmChartProps & React.RefAttributes<HTMLElement | null>>;
|
|
43
49
|
export {};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use client";import*as n from"react";var
|
|
1
|
+
"use client";import*as n from"react";var A="1.2.0",B="roxyapi-ui-loader",O="https://cdn.jsdelivr.net/npm/@roxyapi/ui@latest/dist/cdn",D="https://cdn.jsdelivr.net/npm/@roxyapi/ui@",G="/dist/cdn",d=null;function U(i){return!i||i==="latest"?O:`${D}${i}${G}`}function H(i=A,a){return typeof document>"u"?Promise.resolve():d||(d=new Promise((o,c)=>{let u=`${a??U(i)}/roxy-ui.js`,s=document.getElementById(B);if(s){s.dataset.loaded==="true"?o():(s.addEventListener("load",()=>o()),s.addEventListener("error",()=>c(new Error("roxy-ui load failed"))));return}s=document.createElement("script"),s.id=B,s.src=u,s.async=true,s.crossOrigin="anonymous",s.addEventListener("load",()=>{s.dataset.loaded="true",o()}),s.addEventListener("error",()=>c(new Error("roxy-ui load failed"))),document.head.appendChild(s)}),d)}var N=n.forwardRef(function({data:a,className:o,style:c,mode:u,endpoint:s,method:l,publishableKey:f,baseUrl:m,submitUrl:E,submitContext:g,locationUrl:p,specUrl:R,lang:y,submitLabel:h,remember:w,errorMessage:L,attribution:x,hideReadings:k,hideSections:S,brandColor:b,brandAccent:C,font:v,...I},_){let t=n.useRef(null);n.useImperativeHandle(_,()=>t.current,[]);let[r,$]=n.useState(false),[T,M]=n.useState(null);return n.useEffect(()=>{let e=true;return H().then(()=>{e&&$(true)}).catch(P=>{e&&M(P instanceof Error?P:new Error(String(P)))}),()=>{e=false}},[]),n.useEffect(()=>{let e=t.current;e&&a!==void 0&&(e.data=a)},[a,r]),n.useEffect(()=>{let e=t.current;e&&u!==void 0&&(e.mode=u)},[u,r]),n.useEffect(()=>{let e=t.current;e&&s!==void 0&&(e.endpoint=s)},[s,r]),n.useEffect(()=>{let e=t.current;e&&l!==void 0&&(e.method=l)},[l,r]),n.useEffect(()=>{let e=t.current;e&&f!==void 0&&(e.publishableKey=f)},[f,r]),n.useEffect(()=>{let e=t.current;e&&m!==void 0&&(e.baseUrl=m)},[m,r]),n.useEffect(()=>{let e=t.current;e&&E!==void 0&&(e.submitUrl=E)},[E,r]),n.useEffect(()=>{let e=t.current;e&&g!==void 0&&(e.submitContext=g)},[g,r]),n.useEffect(()=>{let e=t.current;e&&p!==void 0&&(e.locationUrl=p)},[p,r]),n.useEffect(()=>{let e=t.current;e&&R!==void 0&&(e.specUrl=R)},[R,r]),n.useEffect(()=>{let e=t.current;e&&y!==void 0&&(e.lang=y)},[y,r]),n.useEffect(()=>{let e=t.current;e&&h!==void 0&&(e.submitLabel=h)},[h,r]),n.useEffect(()=>{let e=t.current;e&&w!==void 0&&(e.remember=w)},[w,r]),n.useEffect(()=>{let e=t.current;e&&L!==void 0&&(e.errorMessage=L)},[L,r]),n.useEffect(()=>{let e=t.current;e&&x!==void 0&&(e.attribution=x)},[x,r]),n.useEffect(()=>{let e=t.current;e&&k!==void 0&&(e.hideReadings=k)},[k,r]),n.useEffect(()=>{let e=t.current;e&&S!==void 0&&(e.hideSections=S)},[S,r]),n.useEffect(()=>{let e=t.current;e&&b!==void 0&&(e.brandColor=b)},[b,r]),n.useEffect(()=>{let e=t.current;e&&C!==void 0&&(e.brandAccent=C)},[C,r]),n.useEffect(()=>{let e=t.current;e&&v!==void 0&&(e.font=v)},[v,r]),T?n.createElement("div",{role:"alert",className:o,style:c},`Roxy UI script load failed: ${T.message}`):n.createElement("roxy-biorhythm-chart",{ref:t,className:o,style:c,suppressHydrationWarning:true,...I})});export{N as RoxyBiorhythmChart};
|
|
@@ -36,6 +36,12 @@ export interface RoxyBodygraphProps extends ElementAttrs {
|
|
|
36
36
|
hideReadings?: boolean;
|
|
37
37
|
/** Comma-separated list of `part` names to take off this component, for example "patterns" or "patterns, legend". Per element rather than per site, so the same component can drop a block on one page and keep it on another with no CSS. Sibling of hideReadings and a different tool: this hides a whole block whatever it contains, where hideReadings drops interpretive prose out of the markup. Names come from the `parts` array in components-catalog.json; a name the component does not carry hides nothing and is not an error. */
|
|
38
38
|
hideSections?: string;
|
|
39
|
+
/** Brand colour as `#rgb` or `#rrggbb`, painted as `--roxy-primary` on this component. Any other value is ignored. */
|
|
40
|
+
brandColor?: string;
|
|
41
|
+
/** Brand accent as `#rgb` or `#rrggbb`, painted as `--roxy-accent` with its ink and focus ring re-derived. Any other value is ignored. */
|
|
42
|
+
brandAccent?: string;
|
|
43
|
+
/** A font pair from `fonts[]` in components-catalog.json, for body text and headings; import `@roxyapi/ui/styles/fonts/{key}.css` once to load its files. Any other value is ignored. */
|
|
44
|
+
font?: 'fraunces-jost' | 'jost' | 'geist' | 'system';
|
|
39
45
|
}
|
|
40
46
|
export declare const RoxyBodygraph: React.ForwardRefExoticComponent<RoxyBodygraphProps & React.RefAttributes<HTMLElement | null>>;
|
|
41
47
|
export {};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use client";import*as n from"react";var
|
|
1
|
+
"use client";import*as n from"react";var M="1.2.0",B="roxyapi-ui-loader",A="https://cdn.jsdelivr.net/npm/@roxyapi/ui@latest/dist/cdn",O="https://cdn.jsdelivr.net/npm/@roxyapi/ui@",U="/dist/cdn",c=null;function j(o){return!o||o==="latest"?A:`${O}${o}${U}`}function H(o=M,a){return typeof document>"u"?Promise.resolve():c||(c=new Promise((i,d)=>{let u=`${a??j(o)}/roxy-ui.js`,s=document.getElementById(B);if(s){s.dataset.loaded==="true"?i():(s.addEventListener("load",()=>i()),s.addEventListener("error",()=>d(new Error("roxy-ui load failed"))));return}s=document.createElement("script"),s.id=B,s.src=u,s.async=true,s.crossOrigin="anonymous",s.addEventListener("load",()=>{s.dataset.loaded="true",i()}),s.addEventListener("error",()=>d(new Error("roxy-ui load failed"))),document.head.appendChild(s)}),c)}var N=n.forwardRef(function({data:a,className:i,style:d,endpoint:u,method:s,publishableKey:l,baseUrl:f,submitUrl:g,submitContext:E,locationUrl:p,specUrl:m,lang:R,submitLabel:y,remember:w,errorMessage:L,attribution:x,hideReadings:h,hideSections:k,brandColor:S,brandAccent:b,font:v,...C},I){let t=n.useRef(null);n.useImperativeHandle(I,()=>t.current,[]);let[r,_]=n.useState(false),[T,$]=n.useState(null);return n.useEffect(()=>{let e=true;return H().then(()=>{e&&_(true)}).catch(P=>{e&&$(P instanceof Error?P:new Error(String(P)))}),()=>{e=false}},[]),n.useEffect(()=>{let e=t.current;e&&a!==void 0&&(e.data=a)},[a,r]),n.useEffect(()=>{let e=t.current;e&&u!==void 0&&(e.endpoint=u)},[u,r]),n.useEffect(()=>{let e=t.current;e&&s!==void 0&&(e.method=s)},[s,r]),n.useEffect(()=>{let e=t.current;e&&l!==void 0&&(e.publishableKey=l)},[l,r]),n.useEffect(()=>{let e=t.current;e&&f!==void 0&&(e.baseUrl=f)},[f,r]),n.useEffect(()=>{let e=t.current;e&&g!==void 0&&(e.submitUrl=g)},[g,r]),n.useEffect(()=>{let e=t.current;e&&E!==void 0&&(e.submitContext=E)},[E,r]),n.useEffect(()=>{let e=t.current;e&&p!==void 0&&(e.locationUrl=p)},[p,r]),n.useEffect(()=>{let e=t.current;e&&m!==void 0&&(e.specUrl=m)},[m,r]),n.useEffect(()=>{let e=t.current;e&&R!==void 0&&(e.lang=R)},[R,r]),n.useEffect(()=>{let e=t.current;e&&y!==void 0&&(e.submitLabel=y)},[y,r]),n.useEffect(()=>{let e=t.current;e&&w!==void 0&&(e.remember=w)},[w,r]),n.useEffect(()=>{let e=t.current;e&&L!==void 0&&(e.errorMessage=L)},[L,r]),n.useEffect(()=>{let e=t.current;e&&x!==void 0&&(e.attribution=x)},[x,r]),n.useEffect(()=>{let e=t.current;e&&h!==void 0&&(e.hideReadings=h)},[h,r]),n.useEffect(()=>{let e=t.current;e&&k!==void 0&&(e.hideSections=k)},[k,r]),n.useEffect(()=>{let e=t.current;e&&S!==void 0&&(e.brandColor=S)},[S,r]),n.useEffect(()=>{let e=t.current;e&&b!==void 0&&(e.brandAccent=b)},[b,r]),n.useEffect(()=>{let e=t.current;e&&v!==void 0&&(e.font=v)},[v,r]),T?n.createElement("div",{role:"alert",className:i,style:d},`Roxy UI script load failed: ${T.message}`):n.createElement("roxy-bodygraph",{ref:t,className:i,style:d,suppressHydrationWarning:true,...C})});export{N as RoxyBodygraph};
|