@roxyapi/ui-react 1.1.3 → 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
|
@@ -1 +1 @@
|
|
|
1
|
-
"use client";import*as n from"react";var
|
|
1
|
+
"use client";import*as n from"react";var O="1.2.0",H="roxyapi-ui-loader",U="https://cdn.jsdelivr.net/npm/@roxyapi/ui@latest/dist/cdn",j="https://cdn.jsdelivr.net/npm/@roxyapi/ui@",B="/dist/cdn",d=null;function D(o){return!o||o==="latest"?U:`${j}${o}${B}`}function C(o=O,a){return typeof document>"u"?Promise.resolve():d||(d=new Promise((i,c)=>{let u=`${a??D(o)}/roxy-ui.js`,r=document.getElementById(H);if(r){r.dataset.loaded==="true"?i():(r.addEventListener("load",()=>i()),r.addEventListener("error",()=>c(new Error("roxy-ui load failed"))));return}r=document.createElement("script"),r.id=H,r.src=u,r.async=true,r.crossOrigin="anonymous",r.addEventListener("load",()=>{r.dataset.loaded="true",i()}),r.addEventListener("error",()=>c(new Error("roxy-ui load failed"))),document.head.appendChild(r)}),d)}var F=n.forwardRef(function({data:a,className:i,style:c,heading:u,endpoint:r,method:l,publishableKey:f,baseUrl:E,submitUrl:g,submitContext:p,locationUrl:R,specUrl:m,lang:w,submitLabel:L,remember:y,errorMessage:x,attribution:b,hideReadings:k,hideSections:P,brandColor:S,brandAccent:h,font:T,...I},_){let t=n.useRef(null);n.useImperativeHandle(_,()=>t.current,[]);let[s,$]=n.useState(false),[A,M]=n.useState(null);return n.useEffect(()=>{let e=true;return C().then(()=>{e&&$(true)}).catch(v=>{e&&M(v instanceof Error?v:new Error(String(v)))}),()=>{e=false}},[]),n.useEffect(()=>{let e=t.current;e&&a!==void 0&&(e.data=a)},[a,s]),n.useEffect(()=>{let e=t.current;e&&u!==void 0&&(e.heading=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&&E!==void 0&&(e.baseUrl=E)},[E,s]),n.useEffect(()=>{let e=t.current;e&&g!==void 0&&(e.submitUrl=g)},[g,s]),n.useEffect(()=>{let e=t.current;e&&p!==void 0&&(e.submitContext=p)},[p,s]),n.useEffect(()=>{let e=t.current;e&&R!==void 0&&(e.locationUrl=R)},[R,s]),n.useEffect(()=>{let e=t.current;e&&m!==void 0&&(e.specUrl=m)},[m,s]),n.useEffect(()=>{let e=t.current;e&&w!==void 0&&(e.lang=w)},[w,s]),n.useEffect(()=>{let e=t.current;e&&L!==void 0&&(e.submitLabel=L)},[L,s]),n.useEffect(()=>{let e=t.current;e&&y!==void 0&&(e.remember=y)},[y,s]),n.useEffect(()=>{let e=t.current;e&&x!==void 0&&(e.errorMessage=x)},[x,s]),n.useEffect(()=>{let e=t.current;e&&b!==void 0&&(e.attribution=b)},[b,s]),n.useEffect(()=>{let e=t.current;e&&k!==void 0&&(e.hideReadings=k)},[k,s]),n.useEffect(()=>{let e=t.current;e&&P!==void 0&&(e.hideSections=P)},[P,s]),n.useEffect(()=>{let e=t.current;e&&S!==void 0&&(e.brandColor=S)},[S,s]),n.useEffect(()=>{let e=t.current;e&&h!==void 0&&(e.brandAccent=h)},[h,s]),n.useEffect(()=>{let e=t.current;e&&T!==void 0&&(e.font=T)},[T,s]),A?n.createElement("div",{role:"alert",className:i,style:c},`Roxy UI script load failed: ${A.message}`):n.createElement("roxy-positions-table",{ref:t,className:i,style:c,suppressHydrationWarning:true,...I})});export{F as RoxyPositionsTable};
|
|
@@ -36,6 +36,12 @@ export interface RoxyProfectionCardProps 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 RoxyProfectionCard: React.ForwardRefExoticComponent<RoxyProfectionCardProps & 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 A="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 H(o=A,a){return typeof document>"u"?Promise.resolve():d||(d=new Promise((i,c)=>{let u=`${a??B(o)}/roxy-ui.js`,s=document.getElementById(T);if(s){s.dataset.loaded==="true"?i():(s.addEventListener("load",()=>i()),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",i()}),s.addEventListener("error",()=>c(new Error("roxy-ui load failed"))),document.head.appendChild(s)}),d)}var X=n.forwardRef(function({data:a,className:i,style:c,endpoint:u,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:k,hideSections:P,brandColor:S,brandAccent:b,font:h,...I},_){let t=n.useRef(null);n.useImperativeHandle(_,()=>t.current,[]);let[r,$]=n.useState(false),[C,M]=n.useState(null);return n.useEffect(()=>{let e=true;return H().then(()=>{e&&$(true)}).catch(v=>{e&&M(v instanceof Error?v:new Error(String(v)))}),()=>{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&&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&&k!==void 0&&(e.hideReadings=k)},[k,r]),n.useEffect(()=>{let e=t.current;e&&P!==void 0&&(e.hideSections=P)},[P,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&&h!==void 0&&(e.font=h)},[h,r]),C?n.createElement("div",{role:"alert",className:i,style:c},`Roxy UI script load failed: ${C.message}`):n.createElement("roxy-profection-card",{ref:t,className:i,style:c,suppressHydrationWarning:true,...I})});export{X as RoxyProfectionCard};
|
|
@@ -36,6 +36,12 @@ export interface RoxyReferenceCardProps 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 RoxyReferenceCard: React.ForwardRefExoticComponent<RoxyReferenceCardProps & 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",P="roxyapi-ui-loader",$="https://cdn.jsdelivr.net/npm/@roxyapi/ui@latest/dist/cdn",O="https://cdn.jsdelivr.net/npm/@roxyapi/ui@",N="/dist/cdn",d=null;function U(o){return!o||o==="latest"?$:`${O}${o}${N}`}function T(o=_,i){return typeof document>"u"?Promise.resolve():d||(d=new Promise((a,u)=>{let c=`${i??U(o)}/roxy-ui.js`,r=document.getElementById(P);if(r){r.dataset.loaded==="true"?a():(r.addEventListener("load",()=>a()),r.addEventListener("error",()=>u(new Error("roxy-ui load failed"))));return}r=document.createElement("script"),r.id=P,r.src=c,r.async=true,r.crossOrigin="anonymous",r.addEventListener("load",()=>{r.dataset.loaded="true",a()}),r.addEventListener("error",()=>u(new Error("roxy-ui load failed"))),document.head.appendChild(r)}),d)}var D=n.forwardRef(function({data:i,className:a,style:u,endpoint:c,method:r,publishableKey:l,baseUrl:f,submitUrl:R,submitContext:p,locationUrl:g,specUrl:m,lang:E,submitLabel:w,remember:y,errorMessage:L,attribution:x,hideReadings:k,hideSections:b,brandColor:G,brandAccent:S,font:h,...M},H){let t=n.useRef(null);n.useImperativeHandle(H,()=>t.current,[]);let[s,A]=n.useState(false),[v,I]=n.useState(null);return n.useEffect(()=>{let e=true;return T().then(()=>{e&&A(true)}).catch(C=>{e&&I(C instanceof Error?C:new Error(String(C)))}),()=>{e=false}},[]),n.useEffect(()=>{let e=t.current;e&&i!==void 0&&(e.data=i)},[i,s]),n.useEffect(()=>{let e=t.current;e&&c!==void 0&&(e.endpoint=c)},[c,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&&R!==void 0&&(e.submitUrl=R)},[R,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&&m!==void 0&&(e.specUrl=m)},[m,s]),n.useEffect(()=>{let e=t.current;e&&E!==void 0&&(e.lang=E)},[E,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&&k!==void 0&&(e.hideReadings=k)},[k,s]),n.useEffect(()=>{let e=t.current;e&&b!==void 0&&(e.hideSections=b)},[b,s]),n.useEffect(()=>{let e=t.current;e&&G!==void 0&&(e.brandColor=G)},[G,s]),n.useEffect(()=>{let e=t.current;e&&S!==void 0&&(e.brandAccent=S)},[S,s]),n.useEffect(()=>{let e=t.current;e&&h!==void 0&&(e.font=h)},[h,s]),v?n.createElement("div",{role:"alert",className:a,style:u},`Roxy UI script load failed: ${v.message}`):n.createElement("roxy-reference-card",{ref:t,className:a,style:u,suppressHydrationWarning:true,...M})});export{D as RoxyReferenceCard};
|
|
@@ -36,6 +36,12 @@ export interface RoxyRelocationWheelProps 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 RoxyRelocationWheel: React.ForwardRefExoticComponent<RoxyRelocationWheelProps & 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 A="1.2.0",C="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 H(o=A,a){return typeof document>"u"?Promise.resolve():d||(d=new Promise((i,c)=>{let u=`${a??B(o)}/roxy-ui.js`,s=document.getElementById(C);if(s){s.dataset.loaded==="true"?i():(s.addEventListener("load",()=>i()),s.addEventListener("error",()=>c(new Error("roxy-ui load failed"))));return}s=document.createElement("script"),s.id=C,s.src=u,s.async=true,s.crossOrigin="anonymous",s.addEventListener("load",()=>{s.dataset.loaded="true",i()}),s.addEventListener("error",()=>c(new Error("roxy-ui load failed"))),document.head.appendChild(s)}),d)}var N=n.forwardRef(function({data:a,className:i,style:c,endpoint:u,method:s,publishableKey:l,baseUrl:f,submitUrl:E,submitContext:g,locationUrl:m,specUrl:R,lang:p,submitLabel:w,remember:y,errorMessage:L,attribution:x,hideReadings:h,hideSections:k,brandColor:S,brandAccent:b,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.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&&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&&R!==void 0&&(e.specUrl=R)},[R,r]),n.useEffect(()=>{let e=t.current;e&&p!==void 0&&(e.lang=p)},[p,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&&v!==void 0&&(e.font=v)},[v,r]),T?n.createElement("div",{role:"alert",className:i,style:c},`Roxy UI script load failed: ${T.message}`):n.createElement("roxy-relocation-wheel",{ref:t,className:i,style:c,suppressHydrationWarning:true,...I})});export{N as RoxyRelocationWheel};
|
|
@@ -36,6 +36,12 @@ export interface RoxyShadbalaTableProps 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 RoxyShadbalaTable: React.ForwardRefExoticComponent<RoxyShadbalaTableProps & 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 A="1.2.0",H="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 C(a=A,i){return typeof document>"u"?Promise.resolve():c||(c=new Promise((o,d)=>{let u=`${i??B(a)}/roxy-ui.js`,s=document.getElementById(H);if(s){s.dataset.loaded==="true"?o():(s.addEventListener("load",()=>o()),s.addEventListener("error",()=>d(new Error("roxy-ui load failed"))));return}s=document.createElement("script"),s.id=H,s.src=u,s.async=true,s.crossOrigin="anonymous",s.addEventListener("load",()=>{s.dataset.loaded="true",o()}),s.addEventListener("error",()=>d(new Error("roxy-ui load failed"))),document.head.appendChild(s)}),c)}var X=n.forwardRef(function({data:i,className:o,style:d,endpoint:u,method:s,publishableKey:l,baseUrl:f,submitUrl:E,submitContext:g,locationUrl:m,specUrl:p,lang:R,submitLabel:w,remember:b,errorMessage:y,attribution:L,hideReadings:x,hideSections:S,brandColor:h,brandAccent:k,font:T,...I},_){let t=n.useRef(null);n.useImperativeHandle(_,()=>t.current,[]);let[r,$]=n.useState(false),[P,M]=n.useState(null);return n.useEffect(()=>{let e=true;return C().then(()=>{e&&$(true)}).catch(v=>{e&&M(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&&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&&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&&b!==void 0&&(e.remember=b)},[b,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&&S!==void 0&&(e.hideSections=S)},[S,r]),n.useEffect(()=>{let e=t.current;e&&h!==void 0&&(e.brandColor=h)},[h,r]),n.useEffect(()=>{let e=t.current;e&&k!==void 0&&(e.brandAccent=k)},[k,r]),n.useEffect(()=>{let e=t.current;e&&T!==void 0&&(e.font=T)},[T,r]),P?n.createElement("div",{role:"alert",className:o,style:d},`Roxy UI script load failed: ${P.message}`):n.createElement("roxy-shadbala-table",{ref:t,className:o,style:d,suppressHydrationWarning:true,...I})});export{X as RoxyShadbalaTable};
|
|
@@ -43,6 +43,12 @@ export interface RoxySynastryChartProps extends ElementAttrs {
|
|
|
43
43
|
hideReadings?: boolean;
|
|
44
44
|
/** 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. */
|
|
45
45
|
hideSections?: string;
|
|
46
|
+
/** Brand colour as `#rgb` or `#rrggbb`, painted as `--roxy-primary` on this component. Any other value is ignored. */
|
|
47
|
+
brandColor?: string;
|
|
48
|
+
/** Brand accent as `#rgb` or `#rrggbb`, painted as `--roxy-accent` with its ink and focus ring re-derived. Any other value is ignored. */
|
|
49
|
+
brandAccent?: string;
|
|
50
|
+
/** 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. */
|
|
51
|
+
font?: 'fraunces-jost' | 'jost' | 'geist' | 'system';
|
|
46
52
|
}
|
|
47
53
|
export declare const RoxySynastryChart: React.ForwardRefExoticComponent<RoxySynastryChartProps & React.RefAttributes<HTMLElement | null>>;
|
|
48
54
|
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",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 N(a){return!a||a==="latest"?O:`${U}${a}${j}`}function H(a=A,i){return typeof document>"u"?Promise.resolve():d||(d=new Promise((o,u)=>{let c=`${i??N(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=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:p,locationUrl:g,specUrl:m,lang:R,submitLabel:y,remember:w,errorMessage:L,attribution:x,hideReadings:S,hideSections:h,brandColor:k,brandAccent:C,font:b,...I},_){let t=n.useRef(null);n.useImperativeHandle(_,()=>t.current,[]);let[r,$]=n.useState(false),[P,M]=n.useState(null);return n.useEffect(()=>{let e=true;return H().then(()=>{e&&$(true)}).catch(v=>{e&&M(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&&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&&p!==void 0&&(e.submitContext=p)},[p,r]),n.useEffect(()=>{let e=t.current;e&&g!==void 0&&(e.locationUrl=g)},[g,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&&S!==void 0&&(e.hideReadings=S)},[S,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&&C!==void 0&&(e.brandAccent=C)},[C,r]),n.useEffect(()=>{let e=t.current;e&&b!==void 0&&(e.font=b)},[b,r]),P?n.createElement("div",{role:"alert",className:o,style:u},`Roxy UI script load failed: ${P.message}`):n.createElement("roxy-synastry-chart",{ref:t,className:o,style:u,suppressHydrationWarning:true,...I})});export{X as RoxySynastryChart};
|
|
@@ -36,6 +36,12 @@ export interface RoxyTarotCardProps 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 RoxyTarotCard: React.ForwardRefExoticComponent<RoxyTarotCardProps & 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 A="1.2.0",P="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(o){return!o||o==="latest"?O:`${U}${o}${j}`}function H(o=A,i){return typeof document>"u"?Promise.resolve():c||(c=new Promise((a,d)=>{let u=`${i??B(o)}/roxy-ui.js`,s=document.getElementById(P);if(s){s.dataset.loaded==="true"?a():(s.addEventListener("load",()=>a()),s.addEventListener("error",()=>d(new Error("roxy-ui load failed"))));return}s=document.createElement("script"),s.id=P,s.src=u,s.async=true,s.crossOrigin="anonymous",s.addEventListener("load",()=>{s.dataset.loaded="true",a()}),s.addEventListener("error",()=>d(new Error("roxy-ui load failed"))),document.head.appendChild(s)}),c)}var N=n.forwardRef(function({data:i,className:a,style:d,endpoint:u,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:k,hideSections:S,brandColor:C,brandAccent:T,font:b,...I},_){let t=n.useRef(null);n.useImperativeHandle(_,()=>t.current,[]);let[r,$]=n.useState(false),[v,M]=n.useState(null);return n.useEffect(()=>{let e=true;return H().then(()=>{e&&$(true)}).catch(h=>{e&&M(h instanceof Error?h:new Error(String(h)))}),()=>{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&&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&&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&&C!==void 0&&(e.brandColor=C)},[C,r]),n.useEffect(()=>{let e=t.current;e&&T!==void 0&&(e.brandAccent=T)},[T,r]),n.useEffect(()=>{let e=t.current;e&&b!==void 0&&(e.font=b)},[b,r]),v?n.createElement("div",{role:"alert",className:a,style:d},`Roxy UI script load failed: ${v.message}`):n.createElement("roxy-tarot-card",{ref:t,className:a,style:d,suppressHydrationWarning:true,...I})});export{N as RoxyTarotCard};
|
|
@@ -38,6 +38,12 @@ export interface RoxyTarotCatalogProps 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
|
/** Fires when the underlying <roxy-tarot-catalog> dispatches `roxy-symbol-select`. */
|
|
42
48
|
onRoxySymbolSelect?: (event: CustomEvent<{
|
|
43
49
|
id: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use client";import*as n from"react";var
|
|
1
|
+
"use client";import*as n from"react";var B="1.2.0",_="roxyapi-ui-loader",D="https://cdn.jsdelivr.net/npm/@roxyapi/ui@latest/dist/cdn",N="https://cdn.jsdelivr.net/npm/@roxyapi/ui@",X="/dist/cdn",l=null;function F(o){return!o||o==="latest"?D:`${N}${o}${X}`}function $(o=B,c){return typeof document>"u"?Promise.resolve():l||(l=new Promise((i,u)=>{let d=`${c??F(o)}/roxy-ui.js`,s=document.getElementById(_);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=_,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)}),l)}var Y=n.forwardRef(function({data:c,className:i,style:u,heading:d,endpoint:s,method:f,publishableKey:E,baseUrl:g,submitUrl:m,submitContext:R,locationUrl:p,specUrl:w,lang:y,submitLabel:L,remember:x,errorMessage:k,attribution:v,hideReadings:b,hideSections:S,brandColor:C,brandAccent:T,font:h,onRoxySymbolSelect:P,...M},A){let t=n.useRef(null);n.useImperativeHandle(A,()=>t.current,[]);let[r,O]=n.useState(false),[H,U]=n.useState(null);return n.useEffect(()=>{let e=true;return $().then(()=>{e&&O(true)}).catch(a=>{e&&U(a instanceof Error?a:new Error(String(a)))}),()=>{e=false}},[]),n.useEffect(()=>{let e=t.current;e&&c!==void 0&&(e.data=c)},[c,r]),n.useEffect(()=>{let e=t.current;e&&d!==void 0&&(e.heading=d)},[d,r]),n.useEffect(()=>{let e=t.current;e&&s!==void 0&&(e.endpoint=s)},[s,r]),n.useEffect(()=>{let e=t.current;e&&f!==void 0&&(e.method=f)},[f,r]),n.useEffect(()=>{let e=t.current;e&&E!==void 0&&(e.publishableKey=E)},[E,r]),n.useEffect(()=>{let e=t.current;e&&g!==void 0&&(e.baseUrl=g)},[g,r]),n.useEffect(()=>{let e=t.current;e&&m!==void 0&&(e.submitUrl=m)},[m,r]),n.useEffect(()=>{let e=t.current;e&&R!==void 0&&(e.submitContext=R)},[R,r]),n.useEffect(()=>{let e=t.current;e&&p!==void 0&&(e.locationUrl=p)},[p,r]),n.useEffect(()=>{let e=t.current;e&&w!==void 0&&(e.specUrl=w)},[w,r]),n.useEffect(()=>{let e=t.current;e&&y!==void 0&&(e.lang=y)},[y,r]),n.useEffect(()=>{let e=t.current;e&&L!==void 0&&(e.submitLabel=L)},[L,r]),n.useEffect(()=>{let e=t.current;e&&x!==void 0&&(e.remember=x)},[x,r]),n.useEffect(()=>{let e=t.current;e&&k!==void 0&&(e.errorMessage=k)},[k,r]),n.useEffect(()=>{let e=t.current;e&&v!==void 0&&(e.attribution=v)},[v,r]),n.useEffect(()=>{let e=t.current;e&&b!==void 0&&(e.hideReadings=b)},[b,r]),n.useEffect(()=>{let e=t.current;e&&S!==void 0&&(e.hideSections=S)},[S,r]),n.useEffect(()=>{let e=t.current;e&&C!==void 0&&(e.brandColor=C)},[C,r]),n.useEffect(()=>{let e=t.current;e&&T!==void 0&&(e.brandAccent=T)},[T,r]),n.useEffect(()=>{let e=t.current;e&&h!==void 0&&(e.font=h)},[h,r]),n.useEffect(()=>{let e=t.current,a=P;if(!e||!a)return;let I=j=>a(j);return e.addEventListener("roxy-symbol-select",I),()=>e.removeEventListener("roxy-symbol-select",I)},[P,r]),H?n.createElement("div",{role:"alert",className:i,style:u},`Roxy UI script load failed: ${H.message}`):n.createElement("roxy-tarot-catalog",{ref:t,className:i,style:u,suppressHydrationWarning:true,...M})});export{Y as RoxyTarotCatalog};
|
|
@@ -38,6 +38,12 @@ export interface RoxyTarotSpreadProps 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 RoxyTarotSpread: React.ForwardRefExoticComponent<RoxyTarotSpreadProps & 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 O="1.2.0",H="roxyapi-ui-loader",U="https://cdn.jsdelivr.net/npm/@roxyapi/ui@latest/dist/cdn",j="https://cdn.jsdelivr.net/npm/@roxyapi/ui@",B="/dist/cdn",u=null;function D(a){return!a||a==="latest"?U:`${j}${a}${B}`}function I(a=O,i){return typeof document>"u"?Promise.resolve():u||(u=new Promise((o,d)=>{let c=`${i??D(a)}/roxy-ui.js`,r=document.getElementById(H);if(r){r.dataset.loaded==="true"?o():(r.addEventListener("load",()=>o()),r.addEventListener("error",()=>d(new Error("roxy-ui load failed"))));return}r=document.createElement("script"),r.id=H,r.src=c,r.async=true,r.crossOrigin="anonymous",r.addEventListener("load",()=>{r.dataset.loaded="true",o()}),r.addEventListener("error",()=>d(new Error("roxy-ui load failed"))),document.head.appendChild(r)}),u)}var Y=n.forwardRef(function({data:i,className:o,style:d,spread:c,endpoint:r,method:l,publishableKey:f,baseUrl:p,submitUrl:R,submitContext:E,locationUrl:m,specUrl:g,lang:w,submitLabel:C,remember:y,errorMessage:S,attribution:L,hideReadings:x,hideSections:k,brandColor:T,brandAccent:h,font:v,..._},$){let t=n.useRef(null);n.useImperativeHandle($,()=>t.current,[]);let[s,M]=n.useState(false),[P,A]=n.useState(null);return n.useEffect(()=>{let e=true;return I().then(()=>{e&&M(true)}).catch(b=>{e&&A(b instanceof Error?b:new Error(String(b)))}),()=>{e=false}},[]),n.useEffect(()=>{let e=t.current;e&&i!==void 0&&(e.data=i)},[i,s]),n.useEffect(()=>{let e=t.current;e&&c!==void 0&&(e.spread=c)},[c,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&&p!==void 0&&(e.baseUrl=p)},[p,s]),n.useEffect(()=>{let e=t.current;e&&R!==void 0&&(e.submitUrl=R)},[R,s]),n.useEffect(()=>{let e=t.current;e&&E!==void 0&&(e.submitContext=E)},[E,s]),n.useEffect(()=>{let e=t.current;e&&m!==void 0&&(e.locationUrl=m)},[m,s]),n.useEffect(()=>{let e=t.current;e&&g!==void 0&&(e.specUrl=g)},[g,s]),n.useEffect(()=>{let e=t.current;e&&w!==void 0&&(e.lang=w)},[w,s]),n.useEffect(()=>{let e=t.current;e&&C!==void 0&&(e.submitLabel=C)},[C,s]),n.useEffect(()=>{let e=t.current;e&&y!==void 0&&(e.remember=y)},[y,s]),n.useEffect(()=>{let e=t.current;e&&S!==void 0&&(e.errorMessage=S)},[S,s]),n.useEffect(()=>{let e=t.current;e&&L!==void 0&&(e.attribution=L)},[L,s]),n.useEffect(()=>{let e=t.current;e&&x!==void 0&&(e.hideReadings=x)},[x,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&&h!==void 0&&(e.brandAccent=h)},[h,s]),n.useEffect(()=>{let e=t.current;e&&v!==void 0&&(e.font=v)},[v,s]),P?n.createElement("div",{role:"alert",className:o,style:d},`Roxy UI script load failed: ${P.message}`):n.createElement("roxy-tarot-spread",{ref:t,className:o,style:d,suppressHydrationWarning:true,..._})});export{Y as RoxyTarotSpread};
|
|
@@ -45,6 +45,12 @@ export interface RoxyTransitWheelProps extends ElementAttrs {
|
|
|
45
45
|
hideReadings?: boolean;
|
|
46
46
|
/** 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. */
|
|
47
47
|
hideSections?: string;
|
|
48
|
+
/** Brand colour as `#rgb` or `#rrggbb`, painted as `--roxy-primary` on this component. Any other value is ignored. */
|
|
49
|
+
brandColor?: string;
|
|
50
|
+
/** Brand accent as `#rgb` or `#rrggbb`, painted as `--roxy-accent` with its ink and focus ring re-derived. Any other value is ignored. */
|
|
51
|
+
brandAccent?: string;
|
|
52
|
+
/** 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. */
|
|
53
|
+
font?: 'fraunces-jost' | 'jost' | 'geist' | 'system';
|
|
48
54
|
}
|
|
49
55
|
export declare const RoxyTransitWheel: React.ForwardRefExoticComponent<RoxyTransitWheelProps & React.RefAttributes<HTMLElement | null>>;
|
|
50
56
|
export {};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use client";import*as n from"react";var
|
|
1
|
+
"use client";import*as n from"react";var j="1.2.0",I="roxyapi-ui-loader",B="https://cdn.jsdelivr.net/npm/@roxyapi/ui@latest/dist/cdn",W="https://cdn.jsdelivr.net/npm/@roxyapi/ui@",D="/dist/cdn",d=null;function N(i){return!i||i==="latest"?B:`${W}${i}${D}`}function _(i=j,o){return typeof document>"u"?Promise.resolve():d||(d=new Promise((a,u)=>{let c=`${o??N(i)}/roxy-ui.js`,s=document.getElementById(I);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=I,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 z=n.forwardRef(function({data:o,className:a,style:u,heading:c,ascendant:s,houses:l,endpoint:f,method:m,publishableKey:E,baseUrl:g,submitUrl:p,submitContext:R,locationUrl:w,specUrl:y,lang:b,submitLabel:L,remember:k,errorMessage:x,attribution:h,hideReadings:T,hideSections:S,brandColor:v,brandAccent:P,font:A,...$},M){let t=n.useRef(null);n.useImperativeHandle(M,()=>t.current,[]);let[r,O]=n.useState(false),[H,U]=n.useState(null);return n.useEffect(()=>{let e=true;return _().then(()=>{e&&O(true)}).catch(C=>{e&&U(C instanceof Error?C:new Error(String(C)))}),()=>{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.heading=c)},[c,r]),n.useEffect(()=>{let e=t.current;e&&s!==void 0&&(e.ascendant=s)},[s,r]),n.useEffect(()=>{let e=t.current;e&&l!==void 0&&(e.houses=l)},[l,r]),n.useEffect(()=>{let e=t.current;e&&f!==void 0&&(e.endpoint=f)},[f,r]),n.useEffect(()=>{let e=t.current;e&&m!==void 0&&(e.method=m)},[m,r]),n.useEffect(()=>{let e=t.current;e&&E!==void 0&&(e.publishableKey=E)},[E,r]),n.useEffect(()=>{let e=t.current;e&&g!==void 0&&(e.baseUrl=g)},[g,r]),n.useEffect(()=>{let e=t.current;e&&p!==void 0&&(e.submitUrl=p)},[p,r]),n.useEffect(()=>{let e=t.current;e&&R!==void 0&&(e.submitContext=R)},[R,r]),n.useEffect(()=>{let e=t.current;e&&w!==void 0&&(e.locationUrl=w)},[w,r]),n.useEffect(()=>{let e=t.current;e&&y!==void 0&&(e.specUrl=y)},[y,r]),n.useEffect(()=>{let e=t.current;e&&b!==void 0&&(e.lang=b)},[b,r]),n.useEffect(()=>{let e=t.current;e&&L!==void 0&&(e.submitLabel=L)},[L,r]),n.useEffect(()=>{let e=t.current;e&&k!==void 0&&(e.remember=k)},[k,r]),n.useEffect(()=>{let e=t.current;e&&x!==void 0&&(e.errorMessage=x)},[x,r]),n.useEffect(()=>{let e=t.current;e&&h!==void 0&&(e.attribution=h)},[h,r]),n.useEffect(()=>{let e=t.current;e&&T!==void 0&&(e.hideReadings=T)},[T,r]),n.useEffect(()=>{let e=t.current;e&&S!==void 0&&(e.hideSections=S)},[S,r]),n.useEffect(()=>{let e=t.current;e&&v!==void 0&&(e.brandColor=v)},[v,r]),n.useEffect(()=>{let e=t.current;e&&P!==void 0&&(e.brandAccent=P)},[P,r]),n.useEffect(()=>{let e=t.current;e&&A!==void 0&&(e.font=A)},[A,r]),H?n.createElement("div",{role:"alert",className:a,style:u},`Roxy UI script load failed: ${H.message}`):n.createElement("roxy-transit-wheel",{ref:t,className:a,style:u,suppressHydrationWarning:true,...$})});export{z as RoxyTransitWheel};
|
|
@@ -36,6 +36,12 @@ export interface RoxyTransitsTableProps 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 RoxyTransitsTable: React.ForwardRefExoticComponent<RoxyTransitsTableProps & 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 A="1.2.0",H="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(i){return!i||i==="latest"?O:`${U}${i}${j}`}function C(i=A,a){return typeof document>"u"?Promise.resolve():d||(d=new Promise((o,u)=>{let c=`${a??B(i)}/roxy-ui.js`,s=document.getElementById(H);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=H,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:a,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:T,hideSections:b,brandColor:k,brandAccent:S,font:h,...I},_){let t=n.useRef(null);n.useImperativeHandle(_,()=>t.current,[]);let[r,$]=n.useState(false),[P,M]=n.useState(null);return n.useEffect(()=>{let e=true;return C().then(()=>{e&&$(true)}).catch(v=>{e&&M(v instanceof Error?v:new Error(String(v)))}),()=>{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&&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&&T!==void 0&&(e.hideReadings=T)},[T,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&&S!==void 0&&(e.brandAccent=S)},[S,r]),n.useEffect(()=>{let e=t.current;e&&h!==void 0&&(e.font=h)},[h,r]),P?n.createElement("div",{role:"alert",className:o,style:u},`Roxy UI script load failed: ${P.message}`):n.createElement("roxy-transits-table",{ref:t,className:o,style:u,suppressHydrationWarning:true,...I})});export{X as RoxyTransitsTable};
|
|
@@ -36,6 +36,12 @@ export interface RoxyUpagrahaTableProps 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 RoxyUpagrahaTable: React.ForwardRefExoticComponent<RoxyUpagrahaTableProps & 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",U="roxyapi-ui-loader",A="https://cdn.jsdelivr.net/npm/@roxyapi/ui@latest/dist/cdn",O="https://cdn.jsdelivr.net/npm/@roxyapi/ui@",j="/dist/cdn",d=null;function B(a){return!a||a==="latest"?A:`${O}${a}${j}`}function H(a=M,i){return typeof document>"u"?Promise.resolve():d||(d=new Promise((o,u)=>{let c=`${i??B(a)}/roxy-ui.js`,s=document.getElementById(U);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=U,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:g,submitContext:E,locationUrl:p,specUrl:m,lang:R,submitLabel:w,remember:y,errorMessage:L,attribution:x,hideReadings:b,hideSections:h,brandColor:k,brandAccent:S,font:T,...C},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 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&&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&&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&&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&&S!==void 0&&(e.brandAccent=S)},[S,r]),n.useEffect(()=>{let e=t.current;e&&T!==void 0&&(e.font=T)},[T,r]),P?n.createElement("div",{role:"alert",className:o,style:u},`Roxy UI script load failed: ${P.message}`):n.createElement("roxy-upagraha-table",{ref:t,className:o,style:u,suppressHydrationWarning:true,...C})});export{X as RoxyUpagrahaTable};
|
|
@@ -38,6 +38,12 @@ export interface RoxyVastuMandalaProps 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 RoxyVastuMandala: React.ForwardRefExoticComponent<RoxyVastuMandalaProps & 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 O="1.2.0",C="roxyapi-ui-loader",U="https://cdn.jsdelivr.net/npm/@roxyapi/ui@latest/dist/cdn",j="https://cdn.jsdelivr.net/npm/@roxyapi/ui@",B="/dist/cdn",d=null;function V(a){return!a||a==="latest"?U:`${j}${a}${B}`}function H(a=O,i){return typeof document>"u"?Promise.resolve():d||(d=new Promise((o,u)=>{let c=`${i??V(a)}/roxy-ui.js`,s=document.getElementById(C);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=C,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 N=n.forwardRef(function({data:i,className:o,style:u,mode:c,endpoint:s,method:l,publishableKey:f,baseUrl:E,submitUrl:m,submitContext:g,locationUrl:p,specUrl:R,lang:w,submitLabel:y,remember:L,errorMessage:x,attribution:k,hideReadings:S,hideSections:b,brandColor:P,brandAccent:v,font:h,...I},_){let t=n.useRef(null);n.useImperativeHandle(_,()=>t.current,[]);let[r,$]=n.useState(false),[T,A]=n.useState(null);return n.useEffect(()=>{let e=true;return H().then(()=>{e&&$(true)}).catch(M=>{e&&A(M instanceof Error?M:new Error(String(M)))}),()=>{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.mode=c)},[c,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&&E!==void 0&&(e.baseUrl=E)},[E,r]),n.useEffect(()=>{let e=t.current;e&&m!==void 0&&(e.submitUrl=m)},[m,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&&w!==void 0&&(e.lang=w)},[w,r]),n.useEffect(()=>{let e=t.current;e&&y!==void 0&&(e.submitLabel=y)},[y,r]),n.useEffect(()=>{let e=t.current;e&&L!==void 0&&(e.remember=L)},[L,r]),n.useEffect(()=>{let e=t.current;e&&x!==void 0&&(e.errorMessage=x)},[x,r]),n.useEffect(()=>{let e=t.current;e&&k!==void 0&&(e.attribution=k)},[k,r]),n.useEffect(()=>{let e=t.current;e&&S!==void 0&&(e.hideReadings=S)},[S,r]),n.useEffect(()=>{let e=t.current;e&&b!==void 0&&(e.hideSections=b)},[b,r]),n.useEffect(()=>{let e=t.current;e&&P!==void 0&&(e.brandColor=P)},[P,r]),n.useEffect(()=>{let e=t.current;e&&v!==void 0&&(e.brandAccent=v)},[v,r]),n.useEffect(()=>{let e=t.current;e&&h!==void 0&&(e.font=h)},[h,r]),T?n.createElement("div",{role:"alert",className:o,style:u},`Roxy UI script load failed: ${T.message}`):n.createElement("roxy-vastu-mandala",{ref:t,className:o,style:u,suppressHydrationWarning:true,...I})});export{N as RoxyVastuMandala};
|
|
@@ -36,6 +36,12 @@ export interface RoxyVedicAspectsProps 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 RoxyVedicAspects: React.ForwardRefExoticComponent<RoxyVedicAspectsProps & 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",A="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(i){return!i||i==="latest"?O:`${U}${i}${j}`}function C(i=M,a){return typeof document>"u"?Promise.resolve():d||(d=new Promise((o,c)=>{let u=`${a??B(i)}/roxy-ui.js`,r=document.getElementById(A);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=A,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 N=n.forwardRef(function({data:a,className:o,style:c,endpoint:u,method:r,publishableKey:l,baseUrl:f,submitUrl:E,submitContext:g,locationUrl:m,specUrl:p,lang:R,submitLabel:w,remember:y,errorMessage:L,attribution:x,hideReadings:k,hideSections:S,brandColor:b,brandAccent:h,font:v,...H},I){let t=n.useRef(null);n.useImperativeHandle(I,()=>t.current,[]);let[s,_]=n.useState(false),[T,$]=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&&a!==void 0&&(e.data=a)},[a,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&&E!==void 0&&(e.submitUrl=E)},[E,s]),n.useEffect(()=>{let e=t.current;e&&g!==void 0&&(e.submitContext=g)},[g,s]),n.useEffect(()=>{let e=t.current;e&&m!==void 0&&(e.locationUrl=m)},[m,s]),n.useEffect(()=>{let e=t.current;e&&p!==void 0&&(e.specUrl=p)},[p,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&&k!==void 0&&(e.hideReadings=k)},[k,s]),n.useEffect(()=>{let e=t.current;e&&S!==void 0&&(e.hideSections=S)},[S,s]),n.useEffect(()=>{let e=t.current;e&&b!==void 0&&(e.brandColor=b)},[b,s]),n.useEffect(()=>{let e=t.current;e&&h!==void 0&&(e.brandAccent=h)},[h,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-vedic-aspects",{ref:t,className:o,style:c,suppressHydrationWarning:true,...H})});export{N as RoxyVedicAspects};
|
|
@@ -36,6 +36,12 @@ export interface RoxyVedicDailyProps 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 RoxyVedicDaily: React.ForwardRefExoticComponent<RoxyVedicDailyProps & 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",H="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",u=null;function j(i){return!i||i==="latest"?A:`${O}${i}${U}`}function C(i=M,a){return typeof document>"u"?Promise.resolve():u||(u=new Promise((o,c)=>{let d=`${a??j(i)}/roxy-ui.js`,s=document.getElementById(H);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=H,s.src=d,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)}),u)}var G=n.forwardRef(function({data:a,className:o,style:c,endpoint:d,method:s,publishableKey:l,baseUrl:f,submitUrl:E,submitContext:g,locationUrl:m,specUrl:R,lang:p,submitLabel:y,remember:w,errorMessage:L,attribution:x,hideReadings:k,hideSections:S,brandColor:b,brandAccent:v,font:h,...I},_){let t=n.useRef(null);n.useImperativeHandle(_,()=>t.current,[]);let[r,$]=n.useState(false),[T,D]=n.useState(null);return n.useEffect(()=>{let e=true;return C().then(()=>{e&&$(true)}).catch(P=>{e&&D(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&&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&&R!==void 0&&(e.specUrl=R)},[R,r]),n.useEffect(()=>{let e=t.current;e&&p!==void 0&&(e.lang=p)},[p,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&&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&&v!==void 0&&(e.brandAccent=v)},[v,r]),n.useEffect(()=>{let e=t.current;e&&h!==void 0&&(e.font=h)},[h,r]),T?n.createElement("div",{role:"alert",className:o,style:c},`Roxy UI script load failed: ${T.message}`):n.createElement("roxy-vedic-daily",{ref:t,className:o,style:c,suppressHydrationWarning:true,...I})});export{G as RoxyVedicDaily};
|