@cntrl-site/components 1.0.108 → 1.0.110
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/Chronicles-Cy2h3jlZ.mjs +724 -0
- package/dist/Chronicles-D0ojQzOP.js +196 -0
- package/dist/ChroniclesComponent-FFenN7yL.js +1 -0
- package/dist/{PretextComponent-BiS9XbZr.mjs → ChroniclesComponent-cZLqN307.mjs} +853 -425
- package/dist/{ClickGallerie-o2U6oyOF.mjs → ClickGallerie-Cjc_1Gxy.mjs} +1 -1
- package/dist/{ClickGallerie-CYQMgrIr.js → ClickGallerie-DYbc-rDp.js} +1 -1
- package/dist/Components/Chronicles/Chronicles.d.ts +120 -0
- package/dist/Components/Chronicles/ChroniclesComponent.d.ts +307 -0
- package/dist/Components/utils/buildValidUrl.d.ts +1 -0
- package/dist/Components/utils/index.d.ts +1 -0
- package/dist/{ControlSlider-Kkec-i14.js → ControlSlider-C8ckUIDm.js} +1 -1
- package/dist/{ControlSlider-LcZmviGX.mjs → ControlSlider-DqKfaKMG.mjs} +1 -1
- package/dist/{FAQ-CdwSft5p.mjs → FAQ-BS-vO0l-.mjs} +1 -1
- package/dist/{FAQ-BxhMo7T8.js → FAQ-Ct0YfqX1.js} +1 -1
- package/dist/{Grid-CFHTP3mb.js → Grid-CU1dsdoO.js} +1 -1
- package/dist/{Grid-e-gLfsji.mjs → Grid-qbqchSLi.mjs} +1 -1
- package/dist/{ImageRevealSlider-Df9sygk9.mjs → ImageRevealSlider-DifEXySR.mjs} +1 -1
- package/dist/{ImageRevealSlider-BuukTGAK.js → ImageRevealSlider-DlxudBUy.js} +1 -1
- package/dist/{Lightbox-C_fXsfdz.mjs → Lightbox-BY99NS14.mjs} +1 -1
- package/dist/{Lightbox-DaunVrkp.js → Lightbox-DZckgBzK.js} +1 -1
- package/dist/LinkWrapper-5kQHiGJQ.mjs +10 -0
- package/dist/LinkWrapper-CTqM1ucO.js +1 -0
- package/dist/{Marquee-DfIP-tIN.js → Marquee-DDKigLBo.js} +1 -1
- package/dist/{Marquee-DByooiWP.mjs → Marquee-_xVuf-zp.mjs} +1 -1
- package/dist/{MarqueeText-DsUiV6Zv.js → MarqueeText-B5hqB0HA.js} +1 -1
- package/dist/{MarqueeText-D6FNCe6P.mjs → MarqueeText-C2E6UDsb.mjs} +1 -1
- package/dist/{RichTextRenderer-BptwNpbJ.mjs → RichTextRenderer-D52Xto59.mjs} +1 -1
- package/dist/{RichTextRenderer-K90Dd7pt.js → RichTextRenderer-DEFXh5o6.js} +1 -1
- package/dist/{Slider20-fMVeRfgx.js → Slider20-BOmjDRf2.js} +1 -1
- package/dist/{Slider20-CCzixTiN.mjs → Slider20-DUi6qwnd.mjs} +1 -1
- package/dist/{TestimonialGrid-CiCagfBU.js → TestimonialGrid-BHZazEVX.js} +1 -1
- package/dist/{TestimonialGrid-CbsVxSn9.mjs → TestimonialGrid-C-8IDzWu.mjs} +1 -1
- package/dist/{TestimonialSingle-BWXynGjv.js → TestimonialSingle-BORQom3u.js} +1 -1
- package/dist/{TestimonialSingle-BVm3Amrl.mjs → TestimonialSingle-DrnyReim.mjs} +1 -1
- package/dist/buildValidUrl-BbtqqeHr.mjs +7 -0
- package/dist/buildValidUrl-CtJWFCPi.js +1 -0
- package/dist/{components-ljYgHKal.mjs → components-DtO0Ti47.mjs} +18 -17
- package/dist/components-f82884Bk.js +1 -0
- package/dist/elements.js +1 -1
- package/dist/elements.mjs +16 -15
- package/dist/elements.node.js +1 -1
- package/dist/elements.node.mjs +1 -1
- package/dist/index.js +1 -1
- package/dist/index.mjs +2 -2
- package/dist/sources.js +1036 -22
- package/dist/sources.mjs +1060 -45
- package/dist/utils.js +1 -1
- package/dist/utils.mjs +19 -17
- package/package.json +1 -1
- package/dist/LinkWrapper-Ca84iPtg.js +0 -1
- package/dist/LinkWrapper-DZs9hlOn.mjs +0 -13
- package/dist/PretextComponent-DWOy-dqD.js +0 -1
- package/dist/components-CJlisugq.js +0 -1
package/dist/utils.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const r=require("./scalingValue-CSHYgTZl.js"),l=require("./buildColorVars-CE2D5cQV.js"),t=require("./getColorAlpha-CoSseoCn.js"),a=require("./formFieldValidation-DZl2KVaF.js"),o=require("./useScopedStyles-Bf6yohVQ.js"),
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const r=require("./scalingValue-CSHYgTZl.js"),l=require("./buildColorVars-CE2D5cQV.js"),t=require("./getColorAlpha-CoSseoCn.js"),a=require("./formFieldValidation-DZl2KVaF.js"),o=require("./useScopedStyles-Bf6yohVQ.js"),d=require("./useLazyVideos-CdCbc2j0.js"),s=require("./readTestimonialTextMeasure-CEPaB4Sy.js"),i=require("./panelAvailability-DnOe0rQ4.js"),n=require("./LinkWrapper-CTqM1ucO.js"),m=require("./buildValidUrl-CtJWFCPi.js"),e=require("./EmbedMediaFrame-DsOTKE4i.js");exports.scalingValue=r.scalingValue;exports.buildColorVars=l.buildColorVars;exports.getColorAlpha=t.getColorAlpha;exports.getFormFieldValidationError=a.getFormFieldValidationError;exports.isValidEmailFormat=a.isValidEmailFormat;exports.isValidPhoneFormat=a.isValidPhoneFormat;exports.useScopedStyles=o.useScopedStyles;exports.useLazyVideos=d.useLazyVideos;exports.readTestimonialTextMeasure=s.readTestimonialTextMeasure;exports.getAvailableStatePanels=i.getAvailableStatePanels;exports.getUnavailableStates=i.getUnavailableStates;exports.isPanelAvailable=i.isPanelAvailable;exports.LinkWrapper=n.LinkWrapper;exports.buildValidUrl=m.buildValidUrl;exports.EmbedMediaFrame=e.EmbedMediaFrame;exports.getEmbedAspect=e.getEmbedAspect;exports.getEmbedPlayback=e.getEmbedPlayback;exports.getEmbedPlayerSrc=e.getEmbedPlayerSrc;exports.getEmbedProvider=e.getEmbedProvider;exports.isEmbedMedia=e.isEmbedMedia;exports.postEmbedCommand=e.postEmbedCommand;
|
package/dist/utils.mjs
CHANGED
|
@@ -1,30 +1,32 @@
|
|
|
1
1
|
import { s as r } from "./scalingValue-C9JH5L6O.mjs";
|
|
2
|
-
import { b as
|
|
2
|
+
import { b as s } from "./buildColorVars-CLyWQm5K.mjs";
|
|
3
3
|
import { g as i } from "./getColorAlpha-BVBY0N5x.mjs";
|
|
4
|
-
import { g as
|
|
4
|
+
import { g as m, i as d, a as p } from "./formFieldValidation-DvihFrq5.mjs";
|
|
5
5
|
import { u as g } from "./useScopedStyles-DhBG3557.mjs";
|
|
6
6
|
import { u as f } from "./useLazyVideos-CxXyEjRQ.mjs";
|
|
7
7
|
import { r as n } from "./readTestimonialTextMeasure-BIXpGFEt.mjs";
|
|
8
|
-
import { g as
|
|
9
|
-
import { L as S } from "./LinkWrapper-
|
|
10
|
-
import {
|
|
8
|
+
import { g as V, a as c, i as P } from "./panelAvailability-D179wwJx.mjs";
|
|
9
|
+
import { L as S } from "./LinkWrapper-5kQHiGJQ.mjs";
|
|
10
|
+
import { b as y } from "./buildValidUrl-BbtqqeHr.mjs";
|
|
11
|
+
import { E as C, g as L, a as M, b as h, c as k, i as T, p as U } from "./EmbedMediaFrame-DwHeOAy5.mjs";
|
|
11
12
|
export {
|
|
12
|
-
|
|
13
|
+
C as EmbedMediaFrame,
|
|
13
14
|
S as LinkWrapper,
|
|
14
|
-
|
|
15
|
-
|
|
15
|
+
s as buildColorVars,
|
|
16
|
+
y as buildValidUrl,
|
|
17
|
+
V as getAvailableStatePanels,
|
|
16
18
|
i as getColorAlpha,
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
19
|
+
L as getEmbedAspect,
|
|
20
|
+
M as getEmbedPlayback,
|
|
21
|
+
h as getEmbedPlayerSrc,
|
|
22
|
+
k as getEmbedProvider,
|
|
23
|
+
m as getFormFieldValidationError,
|
|
24
|
+
c as getUnavailableStates,
|
|
25
|
+
T as isEmbedMedia,
|
|
26
|
+
P as isPanelAvailable,
|
|
25
27
|
d as isValidEmailFormat,
|
|
26
28
|
p as isValidPhoneFormat,
|
|
27
|
-
|
|
29
|
+
U as postEmbedCommand,
|
|
28
30
|
n as readTestimonialTextMeasure,
|
|
29
31
|
r as scalingValue,
|
|
30
32
|
f as useLazyVideos,
|
package/package.json
CHANGED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";const e=require("react/jsx-runtime"),o=["http://","https://","/","mailto:","tel:","file:","ftp:","javascript","#"];function p(t){return o.some(r=>t.startsWith(r))?t:`//${t}`}const u=({link:t,className:r,style:s,children:a})=>{if(!(t!=null&&t.value))return e.jsx(e.Fragment,{children:a});const n=t.target==="blank"||t.target==="_blank"?{target:"_blank",rel:"noreferrer"}:{};return e.jsx("a",{href:p(t.value),className:r,style:s,...n,children:a})};exports.LinkWrapper=u;
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { jsx as a, Fragment as p } from "react/jsx-runtime";
|
|
2
|
-
const f = ["http://", "https://", "/", "mailto:", "tel:", "file:", "ftp:", "javascript", "#"];
|
|
3
|
-
function n(t) {
|
|
4
|
-
return f.some((r) => t.startsWith(r)) ? t : `//${t}`;
|
|
5
|
-
}
|
|
6
|
-
const m = ({ link: t, className: r, style: o, children: e }) => {
|
|
7
|
-
if (!(t != null && t.value)) return /* @__PURE__ */ a(p, { children: e });
|
|
8
|
-
const s = t.target === "blank" || t.target === "_blank" ? { target: "_blank", rel: "noreferrer" } : {};
|
|
9
|
-
return /* @__PURE__ */ a("a", { href: n(t.value), className: r, style: o, ...s, children: e });
|
|
10
|
-
};
|
|
11
|
-
export {
|
|
12
|
-
m as L
|
|
13
|
-
};
|