@sonordev/site-kit 6.0.0 → 6.1.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/README.md +11 -0
- package/agent-manifest.json +8 -1
- package/dist/{AnalyticsProvider-6QVM2B6O.mjs → AnalyticsProvider-PO6SSJG2.mjs} +6 -6
- package/dist/{AnalyticsProvider-6QVM2B6O.mjs.map → AnalyticsProvider-PO6SSJG2.mjs.map} +1 -1
- package/dist/{AnalyticsProvider-AZQXLRWN.js → AnalyticsProvider-V6G45QG7.js} +10 -10
- package/dist/{AnalyticsProvider-AZQXLRWN.js.map → AnalyticsProvider-V6G45QG7.js.map} +1 -1
- package/dist/{ArticleViewTracker-AEWJMXQQ.mjs → ArticleViewTracker-CML36HJZ.mjs} +5 -5
- package/dist/{ArticleViewTracker-AEWJMXQQ.mjs.map → ArticleViewTracker-CML36HJZ.mjs.map} +1 -1
- package/dist/{ArticleViewTracker-CFBTQ46B.js → ArticleViewTracker-FE2YWHX4.js} +6 -6
- package/dist/{ArticleViewTracker-CFBTQ46B.js.map → ArticleViewTracker-FE2YWHX4.js.map} +1 -1
- package/dist/ChatWidget-GVNDKGUU.mjs +16 -0
- package/dist/{ChatWidget-6626OPXO.mjs.map → ChatWidget-GVNDKGUU.mjs.map} +1 -1
- package/dist/ChatWidget-YL34KOZM.js +25 -0
- package/dist/{ChatWidget-U24AYLXF.js.map → ChatWidget-YL34KOZM.js.map} +1 -1
- package/dist/EngageWidget-465O5XUV.mjs +12 -0
- package/dist/{EngageWidget-TR47W2ZI.mjs.map → EngageWidget-465O5XUV.mjs.map} +1 -1
- package/dist/EngageWidget-IQRKRYPG.js +21 -0
- package/dist/{EngageWidget-XUTDFRF3.js.map → EngageWidget-IQRKRYPG.js.map} +1 -1
- package/dist/{FileField-R4RQG77G.js → FileField-F3PFKMIF.js} +6 -6
- package/dist/{FileField-R4RQG77G.js.map → FileField-F3PFKMIF.js.map} +1 -1
- package/dist/{FileField-DNNC5IPS.mjs → FileField-FWKSBFRX.mjs} +5 -5
- package/dist/{FileField-DNNC5IPS.mjs.map → FileField-FWKSBFRX.mjs.map} +1 -1
- package/dist/{FormSpotlight-7ILRAD3W.js → FormSpotlight-DJQ3P3EX.js} +9 -9
- package/dist/{FormSpotlight-7ILRAD3W.js.map → FormSpotlight-DJQ3P3EX.js.map} +1 -1
- package/dist/{FormSpotlight-MXY4I46H.mjs → FormSpotlight-K4LP2DMP.mjs} +3 -3
- package/dist/{FormSpotlight-MXY4I46H.mjs.map → FormSpotlight-K4LP2DMP.mjs.map} +1 -1
- package/dist/{FormStage-CVD3I3SE.js → FormStage-QMGZ3MOT.js} +9 -9
- package/dist/{FormStage-CVD3I3SE.js.map → FormStage-QMGZ3MOT.js.map} +1 -1
- package/dist/{FormStage-FDJGRGEU.mjs → FormStage-YKVTHPKV.mjs} +3 -3
- package/dist/{FormStage-FDJGRGEU.mjs.map → FormStage-YKVTHPKV.mjs.map} +1 -1
- package/dist/ManagedForm-MLPETHSQ.js +25 -0
- package/dist/{ManagedForm-KYIK54SL.js.map → ManagedForm-MLPETHSQ.js.map} +1 -1
- package/dist/ManagedForm-P3L34ALG.mjs +16 -0
- package/dist/{ManagedForm-5675CLWS.mjs.map → ManagedForm-P3L34ALG.mjs.map} +1 -1
- package/dist/{ManagedNewsletterForm-DFLDGNQU.mjs → ManagedNewsletterForm-C5YQH7MP.mjs} +7 -7
- package/dist/{ManagedNewsletterForm-DFLDGNQU.mjs.map → ManagedNewsletterForm-C5YQH7MP.mjs.map} +1 -1
- package/dist/{ManagedNewsletterForm-IH3MRJOD.js → ManagedNewsletterForm-R4LLZBRQ.js} +8 -8
- package/dist/{ManagedNewsletterForm-IH3MRJOD.js.map → ManagedNewsletterForm-R4LLZBRQ.js.map} +1 -1
- package/dist/{SignalCore-ZH3R6XD3.mjs → SignalCore-BNYNS6P7.mjs} +5 -5
- package/dist/{SignalCore-ZH3R6XD3.mjs.map → SignalCore-BNYNS6P7.mjs.map} +1 -1
- package/dist/{SignalCore-6LYIZFXK.js → SignalCore-CLELIKFI.js} +11 -11
- package/dist/{SignalCore-6LYIZFXK.js.map → SignalCore-CLELIKFI.js.map} +1 -1
- package/dist/SitemapSync-P7XWL6VV.js +18 -0
- package/dist/{SitemapSync-PZ76V5MX.js.map → SitemapSync-P7XWL6VV.js.map} +1 -1
- package/dist/SitemapSync-SIKJCK7N.mjs +9 -0
- package/dist/{SitemapSync-PKBXWVI6.mjs.map → SitemapSync-SIKJCK7N.mjs.map} +1 -1
- package/dist/analytics/index.js +9 -9
- package/dist/analytics/index.mjs +4 -4
- package/dist/articles/index.js +2 -2
- package/dist/articles/index.mjs +2 -2
- package/dist/articles/server-ui.js +1 -1
- package/dist/articles/server-ui.mjs +1 -1
- package/dist/{chunk-QOCLSJIU.js → chunk-36NE4PSS.js} +3 -3
- package/dist/{chunk-QOCLSJIU.js.map → chunk-36NE4PSS.js.map} +1 -1
- package/dist/{chunk-NR52QHOD.mjs → chunk-3DXJHMQM.mjs} +3 -3
- package/dist/{chunk-NR52QHOD.mjs.map → chunk-3DXJHMQM.mjs.map} +1 -1
- package/dist/{chunk-XKXZ4OW4.mjs → chunk-4EJI4IOX.mjs} +63 -50
- package/dist/chunk-4EJI4IOX.mjs.map +1 -0
- package/dist/{chunk-RZGVNDO6.mjs → chunk-6OSHL7H5.mjs} +4 -4
- package/dist/{chunk-RZGVNDO6.mjs.map → chunk-6OSHL7H5.mjs.map} +1 -1
- package/dist/chunk-ACKFL6WA.mjs +6 -0
- package/dist/{chunk-2KRAY5NC.mjs.map → chunk-ACKFL6WA.mjs.map} +1 -1
- package/dist/{chunk-YYEBFQGS.js → chunk-AQUWWATH.js} +4 -4
- package/dist/{chunk-YYEBFQGS.js.map → chunk-AQUWWATH.js.map} +1 -1
- package/dist/{chunk-2WEBUZNP.mjs → chunk-BDSNEB3O.mjs} +3 -3
- package/dist/{chunk-2WEBUZNP.mjs.map → chunk-BDSNEB3O.mjs.map} +1 -1
- package/dist/{chunk-VINLIMAX.js → chunk-BGOPF6J2.js} +3 -3
- package/dist/{chunk-VINLIMAX.js.map → chunk-BGOPF6J2.js.map} +1 -1
- package/dist/{chunk-RDPI27TS.mjs → chunk-BJ4T65OK.mjs} +4 -2
- package/dist/chunk-BJ4T65OK.mjs.map +1 -0
- package/dist/chunk-BZR6RUIN.mjs +128 -0
- package/dist/chunk-BZR6RUIN.mjs.map +1 -0
- package/dist/{chunk-WV5YQL3W.mjs → chunk-CJX2MC62.mjs} +3 -3
- package/dist/{chunk-WV5YQL3W.mjs.map → chunk-CJX2MC62.mjs.map} +1 -1
- package/dist/{chunk-3LCJJ6Y6.js → chunk-DQXEYUTD.js} +3 -3
- package/dist/{chunk-3LCJJ6Y6.js.map → chunk-DQXEYUTD.js.map} +1 -1
- package/dist/{chunk-MCG4BSRW.js → chunk-DXBSBWSS.js} +5 -5
- package/dist/{chunk-MCG4BSRW.js.map → chunk-DXBSBWSS.js.map} +1 -1
- package/dist/{chunk-JXCMCASE.mjs → chunk-ESAPT5JT.mjs} +3 -3
- package/dist/{chunk-JXCMCASE.mjs.map → chunk-ESAPT5JT.mjs.map} +1 -1
- package/dist/{chunk-3OCXVTN5.mjs → chunk-F6BYWNHU.mjs} +3 -3
- package/dist/{chunk-3OCXVTN5.mjs.map → chunk-F6BYWNHU.mjs.map} +1 -1
- package/dist/{chunk-PJYTYM5G.mjs → chunk-FQAZBJJO.mjs} +3 -3
- package/dist/{chunk-PJYTYM5G.mjs.map → chunk-FQAZBJJO.mjs.map} +1 -1
- package/dist/{chunk-G6KQ3C3W.js → chunk-G3L26XQ7.js} +4 -2
- package/dist/chunk-G3L26XQ7.js.map +1 -0
- package/dist/{chunk-CSSNZGTU.mjs → chunk-H5FCJBAN.mjs} +3 -3
- package/dist/{chunk-CSSNZGTU.mjs.map → chunk-H5FCJBAN.mjs.map} +1 -1
- package/dist/{chunk-HX5JPNMN.js → chunk-I4RU3RCS.js} +8 -8
- package/dist/{chunk-HX5JPNMN.js.map → chunk-I4RU3RCS.js.map} +1 -1
- package/dist/{chunk-YGDQVZEL.js → chunk-IDJY2JWU.js} +5 -5
- package/dist/{chunk-YGDQVZEL.js.map → chunk-IDJY2JWU.js.map} +1 -1
- package/dist/{chunk-MS2EE6LT.js → chunk-ITVQV7DK.js} +10 -10
- package/dist/{chunk-MS2EE6LT.js.map → chunk-ITVQV7DK.js.map} +1 -1
- package/dist/chunk-IWSN4DGG.js +132 -0
- package/dist/chunk-IWSN4DGG.js.map +1 -0
- package/dist/{chunk-BZG34WHF.js → chunk-K4LLYQFZ.js} +14 -14
- package/dist/{chunk-BZG34WHF.js.map → chunk-K4LLYQFZ.js.map} +1 -1
- package/dist/{chunk-5DSUPTBU.js → chunk-KDNB6BYH.js} +11 -11
- package/dist/{chunk-5DSUPTBU.js.map → chunk-KDNB6BYH.js.map} +1 -1
- package/dist/{chunk-RC4L4DV2.mjs → chunk-KKTSAT7I.mjs} +4 -4
- package/dist/{chunk-RC4L4DV2.mjs.map → chunk-KKTSAT7I.mjs.map} +1 -1
- package/dist/{chunk-RPCODOWG.mjs → chunk-L3GAEBJU.mjs} +3 -3
- package/dist/{chunk-RPCODOWG.mjs.map → chunk-L3GAEBJU.mjs.map} +1 -1
- package/dist/{chunk-TCZHRSWY.js → chunk-LF44SJPP.js} +4 -4
- package/dist/{chunk-TCZHRSWY.js.map → chunk-LF44SJPP.js.map} +1 -1
- package/dist/{chunk-HFCQGSD2.js → chunk-MZK5APTV.js} +18 -18
- package/dist/{chunk-HFCQGSD2.js.map → chunk-MZK5APTV.js.map} +1 -1
- package/dist/chunk-NBOBOYMT.js +52 -0
- package/dist/chunk-NBOBOYMT.js.map +1 -0
- package/dist/{chunk-3U5SVB4W.js → chunk-NDVKIDMN.js} +4 -4
- package/dist/{chunk-3U5SVB4W.js.map → chunk-NDVKIDMN.js.map} +1 -1
- package/dist/{chunk-YWLBQ3L5.mjs → chunk-NMKUYGKK.mjs} +4 -4
- package/dist/{chunk-YWLBQ3L5.mjs.map → chunk-NMKUYGKK.mjs.map} +1 -1
- package/dist/chunk-OBKS3CPP.mjs +50 -0
- package/dist/chunk-OBKS3CPP.mjs.map +1 -0
- package/dist/{chunk-TCCGP3FT.mjs → chunk-OF4V7CSP.mjs} +3 -3
- package/dist/{chunk-TCCGP3FT.mjs.map → chunk-OF4V7CSP.mjs.map} +1 -1
- package/dist/{chunk-ZR4TYCQW.mjs → chunk-OQWAJBYA.mjs} +3 -3
- package/dist/{chunk-ZR4TYCQW.mjs.map → chunk-OQWAJBYA.mjs.map} +1 -1
- package/dist/chunk-OXA4ZSX2.js +8 -0
- package/dist/{chunk-EL74YDNX.js.map → chunk-OXA4ZSX2.js.map} +1 -1
- package/dist/{chunk-GQ3SDRL6.mjs → chunk-QC6VQ2IW.mjs} +3 -3
- package/dist/{chunk-GQ3SDRL6.mjs.map → chunk-QC6VQ2IW.mjs.map} +1 -1
- package/dist/{chunk-D47W5DE4.js → chunk-QF3XTEXV.js} +4 -4
- package/dist/{chunk-D47W5DE4.js.map → chunk-QF3XTEXV.js.map} +1 -1
- package/dist/{chunk-2YSB4FIC.mjs → chunk-RGCUND5Q.mjs} +4 -4
- package/dist/{chunk-2YSB4FIC.mjs.map → chunk-RGCUND5Q.mjs.map} +1 -1
- package/dist/{chunk-N6CB7MK7.js → chunk-RVFOUPK4.js} +6 -6
- package/dist/{chunk-N6CB7MK7.js.map → chunk-RVFOUPK4.js.map} +1 -1
- package/dist/{chunk-WDEGGHTB.js → chunk-SDGS2R5O.js} +12 -12
- package/dist/{chunk-WDEGGHTB.js.map → chunk-SDGS2R5O.js.map} +1 -1
- package/dist/{chunk-JMNBU2RG.mjs → chunk-TA3TQTDA.mjs} +8 -8
- package/dist/{chunk-JMNBU2RG.mjs.map → chunk-TA3TQTDA.mjs.map} +1 -1
- package/dist/{chunk-KA4NNWOK.js → chunk-TMNFPVK5.js} +7 -7
- package/dist/{chunk-KA4NNWOK.js.map → chunk-TMNFPVK5.js.map} +1 -1
- package/dist/{chunk-254IW4FC.js → chunk-VK74LC4H.js} +5 -5
- package/dist/{chunk-254IW4FC.js.map → chunk-VK74LC4H.js.map} +1 -1
- package/dist/{chunk-7TKSRUQU.mjs → chunk-XGELGOF6.mjs} +7 -7
- package/dist/{chunk-7TKSRUQU.mjs.map → chunk-XGELGOF6.mjs.map} +1 -1
- package/dist/{chunk-CZGGUPPQ.js → chunk-XKJLJLQ4.js} +74 -61
- package/dist/chunk-XKJLJLQ4.js.map +1 -0
- package/dist/{chunk-XSBKR3VF.mjs → chunk-XOYQKFKI.mjs} +4 -4
- package/dist/{chunk-XSBKR3VF.mjs.map → chunk-XOYQKFKI.mjs.map} +1 -1
- package/dist/{chunk-MIYGP34I.js → chunk-Y53BIB7A.js} +14 -14
- package/dist/{chunk-MIYGP34I.js.map → chunk-Y53BIB7A.js.map} +1 -1
- package/dist/{chunk-QVBAAPNT.mjs → chunk-YKNXBWPZ.mjs} +3 -3
- package/dist/{chunk-QVBAAPNT.mjs.map → chunk-YKNXBWPZ.mjs.map} +1 -1
- package/dist/{chunk-HOOVYWTO.mjs → chunk-YP5WAFTI.mjs} +4 -4
- package/dist/{chunk-HOOVYWTO.mjs.map → chunk-YP5WAFTI.mjs.map} +1 -1
- package/dist/{chunk-SCRB5DZM.js → chunk-YS7Y2PQG.js} +8 -8
- package/dist/{chunk-SCRB5DZM.js.map → chunk-YS7Y2PQG.js.map} +1 -1
- package/dist/{chunk-3GHPFLEH.js → chunk-ZQJGCQHC.js} +15 -15
- package/dist/{chunk-3GHPFLEH.js.map → chunk-ZQJGCQHC.js.map} +1 -1
- package/dist/{chunk-QEM2F2DC.mjs → chunk-ZQSJK65K.mjs} +3 -3
- package/dist/{chunk-QEM2F2DC.mjs.map → chunk-ZQSJK65K.mjs.map} +1 -1
- package/dist/cli/index.js +3 -3
- package/dist/cli/index.mjs +1 -1
- package/dist/client/index.js +4 -4
- package/dist/client/index.mjs +3 -3
- package/dist/commerce/index.js +57 -57
- package/dist/commerce/index.mjs +5 -5
- package/dist/cta-bar/CtaBar.d.ts +71 -0
- package/dist/cta-bar/CtaBar.d.ts.map +1 -0
- package/dist/cta-bar/CtaBarBehavior.d.ts +46 -0
- package/dist/cta-bar/CtaBarBehavior.d.ts.map +1 -0
- package/dist/cta-bar/client.d.ts +46 -0
- package/dist/cta-bar/client.d.ts.map +1 -0
- package/dist/cta-bar/client.js +23 -0
- package/dist/cta-bar/client.js.map +1 -0
- package/dist/cta-bar/client.mjs +6 -0
- package/dist/cta-bar/client.mjs.map +1 -0
- package/dist/cta-bar/index.d.ts +12 -0
- package/dist/cta-bar/index.d.ts.map +1 -0
- package/dist/cta-bar/index.js +230 -0
- package/dist/cta-bar/index.js.map +1 -0
- package/dist/cta-bar/index.mjs +224 -0
- package/dist/cta-bar/index.mjs.map +1 -0
- package/dist/cta-bar/styles.d.ts +46 -0
- package/dist/cta-bar/styles.d.ts.map +1 -0
- package/dist/engage/ChatWidget.d.ts.map +1 -1
- package/dist/engage/EchoUiActions.d.ts.map +1 -1
- package/dist/engage/index.js +14 -13
- package/dist/engage/index.js.map +1 -1
- package/dist/engage/index.mjs +8 -7
- package/dist/engage/index.mjs.map +1 -1
- package/dist/fleet/index.js +8 -8
- package/dist/fleet/index.mjs +4 -4
- package/dist/forms/index.js +22 -22
- package/dist/forms/index.mjs +9 -9
- package/dist/forms/server.js +10 -10
- package/dist/forms/server.mjs +8 -8
- package/dist/forms/static.js +7 -7
- package/dist/forms/static.mjs +6 -6
- package/dist/images/index.js +11 -11
- package/dist/images/index.mjs +4 -4
- package/dist/index.js +63 -63
- package/dist/index.mjs +9 -9
- package/dist/layout/client.js +8 -8
- package/dist/layout/client.mjs +7 -7
- package/dist/layout/index.js +10 -10
- package/dist/layout/index.mjs +8 -8
- package/dist/llms/index.js +12 -12
- package/dist/llms/index.mjs +2 -2
- package/dist/llms/writeLLMsTxt.d.ts +6 -0
- package/dist/llms/writeLLMsTxt.d.ts.map +1 -1
- package/dist/maps/index.js +5 -5
- package/dist/maps/index.mjs +3 -3
- package/dist/search/index.js +4 -4
- package/dist/search/index.mjs +3 -3
- package/dist/seo/client.js +5 -5
- package/dist/seo/client.mjs +4 -4
- package/dist/seo/index.js +5 -5
- package/dist/seo/index.mjs +4 -4
- package/dist/seo/register-sitemap-cli-impl.d.ts +2 -0
- package/dist/seo/register-sitemap-cli-impl.d.ts.map +1 -1
- package/dist/seo/register-sitemap-cli.d.ts +1 -0
- package/dist/seo/register-sitemap-cli.d.ts.map +1 -1
- package/dist/seo/register-sitemap-cli.js +7 -3
- package/dist/seo/register-sitemap-cli.mjs +7 -3
- package/dist/server/index.js +3 -3
- package/dist/server/index.mjs +2 -2
- package/dist/shared/build-entries.d.ts +4 -1
- package/dist/shared/build-entries.d.ts.map +1 -1
- package/dist/shared/glass.d.ts +51 -0
- package/dist/shared/glass.d.ts.map +1 -0
- package/dist/shared/version.d.ts +1 -1
- package/dist/signal/index.js +11 -11
- package/dist/signal/index.mjs +2 -2
- package/dist/sitemap/index.d.ts +6 -0
- package/dist/sitemap/index.d.ts.map +1 -1
- package/dist/sitemap/index.js +3 -2
- package/dist/sitemap/index.js.map +1 -1
- package/dist/sitemap/index.mjs +2 -1
- package/dist/sitemap/index.mjs.map +1 -1
- package/dist/sync/index.js +17 -17
- package/dist/sync/index.mjs +4 -4
- package/dist/{writeLLMsTxt-QJFXBHZF.mjs → writeLLMsTxt-LYYC3ZSN.mjs} +2 -2
- package/dist/{writeLLMsTxt-ATADOUVZ.js → writeLLMsTxt-XHLHJ5XY.js} +3 -3
- package/package.json +6 -1
- package/skills/site-kit/SKILL.md +6 -0
- package/dist/ChatWidget-6626OPXO.mjs +0 -15
- package/dist/ChatWidget-U24AYLXF.js +0 -24
- package/dist/EngageWidget-TR47W2ZI.mjs +0 -12
- package/dist/EngageWidget-XUTDFRF3.js +0 -21
- package/dist/ManagedForm-5675CLWS.mjs +0 -16
- package/dist/ManagedForm-KYIK54SL.js +0 -25
- package/dist/SitemapSync-PKBXWVI6.mjs +0 -9
- package/dist/SitemapSync-PZ76V5MX.js +0 -18
- package/dist/chunk-2KRAY5NC.mjs +0 -6
- package/dist/chunk-CZGGUPPQ.js.map +0 -1
- package/dist/chunk-EL74YDNX.js +0 -8
- package/dist/chunk-G6KQ3C3W.js.map +0 -1
- package/dist/chunk-RDPI27TS.mjs.map +0 -1
- package/dist/chunk-XKXZ4OW4.mjs.map +0 -1
package/dist/cli/index.js
CHANGED
|
@@ -8,7 +8,7 @@ var chunkCUNZAD46_js = require('../chunk-CUNZAD46.js');
|
|
|
8
8
|
var chunkNN2YE5WT_js = require('../chunk-NN2YE5WT.js');
|
|
9
9
|
var chunkY2CP5J6Q_js = require('../chunk-Y2CP5J6Q.js');
|
|
10
10
|
var chunkJONWE26J_js = require('../chunk-JONWE26J.js');
|
|
11
|
-
var
|
|
11
|
+
var chunkOXA4ZSX2_js = require('../chunk-OXA4ZSX2.js');
|
|
12
12
|
var chunkSNAQBZPT_js = require('../chunk-SNAQBZPT.js');
|
|
13
13
|
var events = require('events');
|
|
14
14
|
var childProcess = require('child_process');
|
|
@@ -13545,7 +13545,7 @@ function buildEnvelope(input, nowMs = Date.now()) {
|
|
|
13545
13545
|
ok: exitCode === 0 /* OK */,
|
|
13546
13546
|
command,
|
|
13547
13547
|
schemaVersion: 1,
|
|
13548
|
-
siteKitVersion:
|
|
13548
|
+
siteKitVersion: chunkOXA4ZSX2_js.SITE_KIT_VERSION,
|
|
13549
13549
|
exitCode,
|
|
13550
13550
|
status: statusForCode(exitCode),
|
|
13551
13551
|
summary,
|
|
@@ -32851,7 +32851,7 @@ async function geoCommand(options) {
|
|
|
32851
32851
|
(0, import_dotenv2.config)({ path: ".env.local", quiet: true });
|
|
32852
32852
|
(0, import_dotenv2.config)({ path: ".env", quiet: true });
|
|
32853
32853
|
var program2 = new Command();
|
|
32854
|
-
program2.name("sonor-setup").description("Setup + verification toolchain for @sonordev/site-kit").version(
|
|
32854
|
+
program2.name("sonor-setup").description("Setup + verification toolchain for @sonordev/site-kit").version(chunkOXA4ZSX2_js.SITE_KIT_VERSION);
|
|
32855
32855
|
withAgentFlags(
|
|
32856
32856
|
program2.command("verify").description("Verify the integration actually works (health + key + SSR) \u2014 exit 0 = done").option("--url <url>", "Verify a running/deployed URL server-renders (recommended for agents)").option("--offline", "Skip the network key-validity ping").option("--strict", "Treat warnings as failures")
|
|
32857
32857
|
).action(verifyCommand);
|
package/dist/cli/index.mjs
CHANGED
|
@@ -6,7 +6,7 @@ import { TITLE_MAX_PX, OG_REPORT_ATTR } from '../chunk-YU7QZ3PP.mjs';
|
|
|
6
6
|
import { require_main } from '../chunk-NNZDWY3L.mjs';
|
|
7
7
|
import { findAppDirForDiscovery, NEXT_PROXY_FILES, NEXT_MIDDLEWARE_FILES, findConventionFile, NEXT_APP_DIRS, findSitemapRoute, findProxyFiles, findNextConfig, findRootLayout, discoverNextJsRoutes, hasPageFile, NEXT_SOURCE_EXTENSIONS } from '../chunk-UHYRVALN.mjs';
|
|
8
8
|
import { applyTrailingSlash } from '../chunk-C2CTLLIO.mjs';
|
|
9
|
-
import { SITE_KIT_VERSION } from '../chunk-
|
|
9
|
+
import { SITE_KIT_VERSION } from '../chunk-ACKFL6WA.mjs';
|
|
10
10
|
import { __commonJS, __require, __toESM, __export, __privateAdd, __publicField, __privateGet, __privateMethod, __privateSet, __privateWrapper } from '../chunk-BEXTDHO4.mjs';
|
|
11
11
|
import { EventEmitter } from 'events';
|
|
12
12
|
import childProcess, { execFile as execFile$1, execSync, spawnSync, spawn } from 'child_process';
|
package/dist/client/index.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use client';
|
|
2
2
|
'use strict';
|
|
3
3
|
|
|
4
|
-
var
|
|
4
|
+
var chunkIDJY2JWU_js = require('../chunk-IDJY2JWU.js');
|
|
5
5
|
var chunkHGNSJXWT_js = require('../chunk-HGNSJXWT.js');
|
|
6
6
|
require('../chunk-UZKXOZHR.js');
|
|
7
7
|
require('../chunk-SWIKKSKL.js');
|
|
@@ -9,8 +9,8 @@ var chunk3DWIYCQX_js = require('../chunk-3DWIYCQX.js');
|
|
|
9
9
|
var chunkG6WF4G3E_js = require('../chunk-G6WF4G3E.js');
|
|
10
10
|
var chunkRC4WWQXR_js = require('../chunk-RC4WWQXR.js');
|
|
11
11
|
require('../chunk-VJMPIRSD.js');
|
|
12
|
-
require('../chunk-
|
|
13
|
-
require('../chunk-
|
|
12
|
+
require('../chunk-LF44SJPP.js');
|
|
13
|
+
require('../chunk-OXA4ZSX2.js');
|
|
14
14
|
require('../chunk-SNAQBZPT.js');
|
|
15
15
|
|
|
16
16
|
// src/client/SiteKitCredential.tsx
|
|
@@ -20,7 +20,7 @@ function SiteKitCredential({
|
|
|
20
20
|
site,
|
|
21
21
|
debug
|
|
22
22
|
}) {
|
|
23
|
-
|
|
23
|
+
chunkIDJY2JWU_js.publishSiteCredential({ apiKey, apiUrl, site, debug });
|
|
24
24
|
return null;
|
|
25
25
|
}
|
|
26
26
|
|
package/dist/client/index.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
'use client';
|
|
2
|
-
import { publishSiteCredential } from '../chunk-
|
|
2
|
+
import { publishSiteCredential } from '../chunk-H5FCJBAN.mjs';
|
|
3
3
|
export { useDeferredActivation } from '../chunk-ZVBLXXNJ.mjs';
|
|
4
4
|
import '../chunk-KZVSB5WE.mjs';
|
|
5
5
|
import '../chunk-ZN4HBK5C.mjs';
|
|
@@ -7,8 +7,8 @@ export { trackConversion, trackEvent } from '../chunk-SHLWA6JY.mjs';
|
|
|
7
7
|
export { VISUAL_VIEWPORT_GAP_PROPERTY, VisualViewportGap, useVisualViewportGap } from '../chunk-NSWO43XW.mjs';
|
|
8
8
|
export { getOrCreateSessionId, getOrCreateVisitorId, useSiteKitIdentity } from '../chunk-ZZQAGCSI.mjs';
|
|
9
9
|
import '../chunk-6EDVCUAG.mjs';
|
|
10
|
-
import '../chunk-
|
|
11
|
-
import '../chunk-
|
|
10
|
+
import '../chunk-3DXJHMQM.mjs';
|
|
11
|
+
import '../chunk-ACKFL6WA.mjs';
|
|
12
12
|
import '../chunk-BEXTDHO4.mjs';
|
|
13
13
|
|
|
14
14
|
// src/client/SiteKitCredential.tsx
|
package/dist/commerce/index.js
CHANGED
|
@@ -1,228 +1,228 @@
|
|
|
1
1
|
'use client';
|
|
2
2
|
'use strict';
|
|
3
3
|
|
|
4
|
-
var
|
|
4
|
+
var chunkY53BIB7A_js = require('../chunk-Y53BIB7A.js');
|
|
5
5
|
require('../chunk-3SDMJMN2.js');
|
|
6
|
-
require('../chunk-
|
|
6
|
+
require('../chunk-DXBSBWSS.js');
|
|
7
7
|
require('../chunk-3DWIYCQX.js');
|
|
8
8
|
require('../chunk-RC4WWQXR.js');
|
|
9
9
|
require('../chunk-P4Y75QSU.js');
|
|
10
10
|
require('../chunk-VJMPIRSD.js');
|
|
11
11
|
require('../chunk-5RNAUYWE.js');
|
|
12
|
-
require('../chunk-
|
|
13
|
-
require('../chunk-
|
|
14
|
-
require('../chunk-
|
|
12
|
+
require('../chunk-ZQJGCQHC.js');
|
|
13
|
+
require('../chunk-LF44SJPP.js');
|
|
14
|
+
require('../chunk-OXA4ZSX2.js');
|
|
15
15
|
require('../chunk-SNAQBZPT.js');
|
|
16
16
|
|
|
17
17
|
|
|
18
18
|
|
|
19
19
|
Object.defineProperty(exports, "CalendarView", {
|
|
20
20
|
enumerable: true,
|
|
21
|
-
get: function () { return
|
|
21
|
+
get: function () { return chunkY53BIB7A_js.CalendarView; }
|
|
22
22
|
});
|
|
23
23
|
Object.defineProperty(exports, "CapacityBadge", {
|
|
24
24
|
enumerable: true,
|
|
25
|
-
get: function () { return
|
|
25
|
+
get: function () { return chunkY53BIB7A_js.CapacityBadge; }
|
|
26
26
|
});
|
|
27
27
|
Object.defineProperty(exports, "CheckoutForm", {
|
|
28
28
|
enumerable: true,
|
|
29
|
-
get: function () { return
|
|
29
|
+
get: function () { return chunkY53BIB7A_js.CheckoutForm; }
|
|
30
30
|
});
|
|
31
31
|
Object.defineProperty(exports, "EventCalendar", {
|
|
32
32
|
enumerable: true,
|
|
33
|
-
get: function () { return
|
|
33
|
+
get: function () { return chunkY53BIB7A_js.EventCalendar; }
|
|
34
34
|
});
|
|
35
35
|
Object.defineProperty(exports, "EventCheckout", {
|
|
36
36
|
enumerable: true,
|
|
37
|
-
get: function () { return
|
|
37
|
+
get: function () { return chunkY53BIB7A_js.EventCheckout; }
|
|
38
38
|
});
|
|
39
39
|
Object.defineProperty(exports, "EventEmbed", {
|
|
40
40
|
enumerable: true,
|
|
41
|
-
get: function () { return
|
|
41
|
+
get: function () { return chunkY53BIB7A_js.EventEmbed; }
|
|
42
42
|
});
|
|
43
43
|
Object.defineProperty(exports, "EventJsonLd", {
|
|
44
44
|
enumerable: true,
|
|
45
|
-
get: function () { return
|
|
45
|
+
get: function () { return chunkY53BIB7A_js.EventJsonLd; }
|
|
46
46
|
});
|
|
47
47
|
Object.defineProperty(exports, "EventModal", {
|
|
48
48
|
enumerable: true,
|
|
49
|
-
get: function () { return
|
|
49
|
+
get: function () { return chunkY53BIB7A_js.EventModal; }
|
|
50
50
|
});
|
|
51
51
|
Object.defineProperty(exports, "EventTile", {
|
|
52
52
|
enumerable: true,
|
|
53
|
-
get: function () { return
|
|
53
|
+
get: function () { return chunkY53BIB7A_js.EventTile; }
|
|
54
54
|
});
|
|
55
55
|
Object.defineProperty(exports, "EventsAgenda", {
|
|
56
56
|
enumerable: true,
|
|
57
|
-
get: function () { return
|
|
57
|
+
get: function () { return chunkY53BIB7A_js.EventsAgenda; }
|
|
58
58
|
});
|
|
59
59
|
Object.defineProperty(exports, "EventsWidget", {
|
|
60
60
|
enumerable: true,
|
|
61
|
-
get: function () { return
|
|
61
|
+
get: function () { return chunkY53BIB7A_js.EventsWidget; }
|
|
62
62
|
});
|
|
63
63
|
Object.defineProperty(exports, "OfferingCard", {
|
|
64
64
|
enumerable: true,
|
|
65
|
-
get: function () { return
|
|
65
|
+
get: function () { return chunkY53BIB7A_js.OfferingCard; }
|
|
66
66
|
});
|
|
67
67
|
Object.defineProperty(exports, "OfferingList", {
|
|
68
68
|
enumerable: true,
|
|
69
|
-
get: function () { return
|
|
69
|
+
get: function () { return chunkY53BIB7A_js.OfferingList; }
|
|
70
70
|
});
|
|
71
71
|
Object.defineProperty(exports, "ProductDetail", {
|
|
72
72
|
enumerable: true,
|
|
73
|
-
get: function () { return
|
|
73
|
+
get: function () { return chunkY53BIB7A_js.ProductDetail; }
|
|
74
74
|
});
|
|
75
75
|
Object.defineProperty(exports, "ProductEmbed", {
|
|
76
76
|
enumerable: true,
|
|
77
|
-
get: function () { return
|
|
77
|
+
get: function () { return chunkY53BIB7A_js.ProductEmbed; }
|
|
78
78
|
});
|
|
79
79
|
Object.defineProperty(exports, "ProductGrid", {
|
|
80
80
|
enumerable: true,
|
|
81
|
-
get: function () { return
|
|
81
|
+
get: function () { return chunkY53BIB7A_js.ProductGrid; }
|
|
82
82
|
});
|
|
83
83
|
Object.defineProperty(exports, "ProductPage", {
|
|
84
84
|
enumerable: true,
|
|
85
|
-
get: function () { return
|
|
85
|
+
get: function () { return chunkY53BIB7A_js.ProductPage; }
|
|
86
86
|
});
|
|
87
87
|
Object.defineProperty(exports, "RegistrationForm", {
|
|
88
88
|
enumerable: true,
|
|
89
|
-
get: function () { return
|
|
89
|
+
get: function () { return chunkY53BIB7A_js.RegistrationForm; }
|
|
90
90
|
});
|
|
91
91
|
Object.defineProperty(exports, "SizeChart", {
|
|
92
92
|
enumerable: true,
|
|
93
|
-
get: function () { return
|
|
93
|
+
get: function () { return chunkY53BIB7A_js.SizeChart; }
|
|
94
94
|
});
|
|
95
95
|
Object.defineProperty(exports, "UpcomingEvents", {
|
|
96
96
|
enumerable: true,
|
|
97
|
-
get: function () { return
|
|
97
|
+
get: function () { return chunkY53BIB7A_js.UpcomingEvents; }
|
|
98
98
|
});
|
|
99
99
|
Object.defineProperty(exports, "createCheckoutSession", {
|
|
100
100
|
enumerable: true,
|
|
101
|
-
get: function () { return
|
|
101
|
+
get: function () { return chunkY53BIB7A_js.createCheckoutSession; }
|
|
102
102
|
});
|
|
103
103
|
Object.defineProperty(exports, "createPaymentIntent", {
|
|
104
104
|
enumerable: true,
|
|
105
|
-
get: function () { return
|
|
105
|
+
get: function () { return chunkY53BIB7A_js.createPaymentIntent; }
|
|
106
106
|
});
|
|
107
107
|
Object.defineProperty(exports, "fetchActiveProcessor", {
|
|
108
108
|
enumerable: true,
|
|
109
|
-
get: function () { return
|
|
109
|
+
get: function () { return chunkY53BIB7A_js.fetchActiveProcessor; }
|
|
110
110
|
});
|
|
111
111
|
Object.defineProperty(exports, "fetchCategories", {
|
|
112
112
|
enumerable: true,
|
|
113
|
-
get: function () { return
|
|
113
|
+
get: function () { return chunkY53BIB7A_js.fetchCategories; }
|
|
114
114
|
});
|
|
115
115
|
Object.defineProperty(exports, "fetchLatestOffering", {
|
|
116
116
|
enumerable: true,
|
|
117
|
-
get: function () { return
|
|
117
|
+
get: function () { return chunkY53BIB7A_js.fetchLatestOffering; }
|
|
118
118
|
});
|
|
119
119
|
Object.defineProperty(exports, "fetchNextEvent", {
|
|
120
120
|
enumerable: true,
|
|
121
|
-
get: function () { return
|
|
121
|
+
get: function () { return chunkY53BIB7A_js.fetchNextEvent; }
|
|
122
122
|
});
|
|
123
123
|
Object.defineProperty(exports, "fetchOffering", {
|
|
124
124
|
enumerable: true,
|
|
125
|
-
get: function () { return
|
|
125
|
+
get: function () { return chunkY53BIB7A_js.fetchOffering; }
|
|
126
126
|
});
|
|
127
127
|
Object.defineProperty(exports, "fetchOfferings", {
|
|
128
128
|
enumerable: true,
|
|
129
|
-
get: function () { return
|
|
129
|
+
get: function () { return chunkY53BIB7A_js.fetchOfferings; }
|
|
130
130
|
});
|
|
131
131
|
Object.defineProperty(exports, "fetchProcessorConfig", {
|
|
132
132
|
enumerable: true,
|
|
133
|
-
get: function () { return
|
|
133
|
+
get: function () { return chunkY53BIB7A_js.fetchProcessorConfig; }
|
|
134
134
|
});
|
|
135
135
|
Object.defineProperty(exports, "fetchProductBySlug", {
|
|
136
136
|
enumerable: true,
|
|
137
|
-
get: function () { return
|
|
137
|
+
get: function () { return chunkY53BIB7A_js.fetchProductBySlug; }
|
|
138
138
|
});
|
|
139
139
|
Object.defineProperty(exports, "fetchProducts", {
|
|
140
140
|
enumerable: true,
|
|
141
|
-
get: function () { return
|
|
141
|
+
get: function () { return chunkY53BIB7A_js.fetchProducts; }
|
|
142
142
|
});
|
|
143
143
|
Object.defineProperty(exports, "fetchProductsPublic", {
|
|
144
144
|
enumerable: true,
|
|
145
|
-
get: function () { return
|
|
145
|
+
get: function () { return chunkY53BIB7A_js.fetchProductsPublic; }
|
|
146
146
|
});
|
|
147
147
|
Object.defineProperty(exports, "fetchServices", {
|
|
148
148
|
enumerable: true,
|
|
149
|
-
get: function () { return
|
|
149
|
+
get: function () { return chunkY53BIB7A_js.fetchServices; }
|
|
150
150
|
});
|
|
151
151
|
Object.defineProperty(exports, "fetchShippingRates", {
|
|
152
152
|
enumerable: true,
|
|
153
|
-
get: function () { return
|
|
153
|
+
get: function () { return chunkY53BIB7A_js.fetchShippingRates; }
|
|
154
154
|
});
|
|
155
155
|
Object.defineProperty(exports, "fetchUpcomingEvents", {
|
|
156
156
|
enumerable: true,
|
|
157
|
-
get: function () { return
|
|
157
|
+
get: function () { return chunkY53BIB7A_js.fetchUpcomingEvents; }
|
|
158
158
|
});
|
|
159
159
|
Object.defineProperty(exports, "formatDate", {
|
|
160
160
|
enumerable: true,
|
|
161
|
-
get: function () { return
|
|
161
|
+
get: function () { return chunkY53BIB7A_js.formatDate; }
|
|
162
162
|
});
|
|
163
163
|
Object.defineProperty(exports, "formatDateRange", {
|
|
164
164
|
enumerable: true,
|
|
165
|
-
get: function () { return
|
|
165
|
+
get: function () { return chunkY53BIB7A_js.formatDateRange; }
|
|
166
166
|
});
|
|
167
167
|
Object.defineProperty(exports, "formatDateTime", {
|
|
168
168
|
enumerable: true,
|
|
169
|
-
get: function () { return
|
|
169
|
+
get: function () { return chunkY53BIB7A_js.formatDateTime; }
|
|
170
170
|
});
|
|
171
171
|
Object.defineProperty(exports, "formatPrice", {
|
|
172
172
|
enumerable: true,
|
|
173
|
-
get: function () { return
|
|
173
|
+
get: function () { return chunkY53BIB7A_js.formatPrice; }
|
|
174
174
|
});
|
|
175
175
|
Object.defineProperty(exports, "formatTime", {
|
|
176
176
|
enumerable: true,
|
|
177
|
-
get: function () { return
|
|
177
|
+
get: function () { return chunkY53BIB7A_js.formatTime; }
|
|
178
178
|
});
|
|
179
179
|
Object.defineProperty(exports, "getOfferingUrl", {
|
|
180
180
|
enumerable: true,
|
|
181
|
-
get: function () { return
|
|
181
|
+
get: function () { return chunkY53BIB7A_js.getOfferingUrl; }
|
|
182
182
|
});
|
|
183
183
|
Object.defineProperty(exports, "getRelativeTimeUntil", {
|
|
184
184
|
enumerable: true,
|
|
185
|
-
get: function () { return
|
|
185
|
+
get: function () { return chunkY53BIB7A_js.getRelativeTimeUntil; }
|
|
186
186
|
});
|
|
187
187
|
Object.defineProperty(exports, "getSpotsRemaining", {
|
|
188
188
|
enumerable: true,
|
|
189
|
-
get: function () { return
|
|
189
|
+
get: function () { return chunkY53BIB7A_js.getSpotsRemaining; }
|
|
190
190
|
});
|
|
191
191
|
Object.defineProperty(exports, "googleCalendarUrl", {
|
|
192
192
|
enumerable: true,
|
|
193
|
-
get: function () { return
|
|
193
|
+
get: function () { return chunkY53BIB7A_js.googleCalendarUrl; }
|
|
194
194
|
});
|
|
195
195
|
Object.defineProperty(exports, "icsForEvent", {
|
|
196
196
|
enumerable: true,
|
|
197
|
-
get: function () { return
|
|
197
|
+
get: function () { return chunkY53BIB7A_js.icsForEvent; }
|
|
198
198
|
});
|
|
199
199
|
Object.defineProperty(exports, "icsResponse", {
|
|
200
200
|
enumerable: true,
|
|
201
|
-
get: function () { return
|
|
201
|
+
get: function () { return chunkY53BIB7A_js.icsResponse; }
|
|
202
202
|
});
|
|
203
203
|
Object.defineProperty(exports, "isEventSoldOut", {
|
|
204
204
|
enumerable: true,
|
|
205
|
-
get: function () { return
|
|
205
|
+
get: function () { return chunkY53BIB7A_js.isEventSoldOut; }
|
|
206
206
|
});
|
|
207
207
|
Object.defineProperty(exports, "registerForEvent", {
|
|
208
208
|
enumerable: true,
|
|
209
|
-
get: function () { return
|
|
209
|
+
get: function () { return chunkY53BIB7A_js.registerForEvent; }
|
|
210
210
|
});
|
|
211
211
|
Object.defineProperty(exports, "shippingSelection", {
|
|
212
212
|
enumerable: true,
|
|
213
|
-
get: function () { return
|
|
213
|
+
get: function () { return chunkY53BIB7A_js.shippingSelection; }
|
|
214
214
|
});
|
|
215
215
|
Object.defineProperty(exports, "useEventModal", {
|
|
216
216
|
enumerable: true,
|
|
217
|
-
get: function () { return
|
|
217
|
+
get: function () { return chunkY53BIB7A_js.useEventModal; }
|
|
218
218
|
});
|
|
219
219
|
Object.defineProperty(exports, "validateAddress", {
|
|
220
220
|
enumerable: true,
|
|
221
|
-
get: function () { return
|
|
221
|
+
get: function () { return chunkY53BIB7A_js.validateAddress; }
|
|
222
222
|
});
|
|
223
223
|
Object.defineProperty(exports, "validateDiscountCode", {
|
|
224
224
|
enumerable: true,
|
|
225
|
-
get: function () { return
|
|
225
|
+
get: function () { return chunkY53BIB7A_js.validateDiscountCode; }
|
|
226
226
|
});
|
|
227
227
|
//# sourceMappingURL=index.js.map
|
|
228
228
|
//# sourceMappingURL=index.js.map
|
package/dist/commerce/index.mjs
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
'use client';
|
|
2
|
-
export { CalendarView, CapacityBadge, CheckoutForm, EventCalendar, EventCheckout, EventEmbed, EventJsonLd, EventModal, EventTile, EventsAgenda, EventsWidget, OfferingCard, OfferingList, ProductDetail, ProductEmbed, ProductGrid, ProductPage, RegistrationForm, SizeChart, UpcomingEvents, createCheckoutSession, createPaymentIntent, fetchActiveProcessor, fetchCategories, fetchLatestOffering, fetchNextEvent, fetchOffering, fetchOfferings, fetchProcessorConfig, fetchProductBySlug, fetchProducts, fetchProductsPublic, fetchServices, fetchShippingRates, fetchUpcomingEvents, formatDate, formatDateRange, formatDateTime, formatPrice, formatTime, getOfferingUrl, getRelativeTimeUntil, getSpotsRemaining, googleCalendarUrl, icsForEvent, icsResponse, isEventSoldOut, registerForEvent, shippingSelection, useEventModal, validateAddress, validateDiscountCode } from '../chunk-
|
|
2
|
+
export { CalendarView, CapacityBadge, CheckoutForm, EventCalendar, EventCheckout, EventEmbed, EventJsonLd, EventModal, EventTile, EventsAgenda, EventsWidget, OfferingCard, OfferingList, ProductDetail, ProductEmbed, ProductGrid, ProductPage, RegistrationForm, SizeChart, UpcomingEvents, createCheckoutSession, createPaymentIntent, fetchActiveProcessor, fetchCategories, fetchLatestOffering, fetchNextEvent, fetchOffering, fetchOfferings, fetchProcessorConfig, fetchProductBySlug, fetchProducts, fetchProductsPublic, fetchServices, fetchShippingRates, fetchUpcomingEvents, formatDate, formatDateRange, formatDateTime, formatPrice, formatTime, getOfferingUrl, getRelativeTimeUntil, getSpotsRemaining, googleCalendarUrl, icsForEvent, icsResponse, isEventSoldOut, registerForEvent, shippingSelection, useEventModal, validateAddress, validateDiscountCode } from '../chunk-KKTSAT7I.mjs';
|
|
3
3
|
import '../chunk-64BOVMXG.mjs';
|
|
4
|
-
import '../chunk-
|
|
4
|
+
import '../chunk-BDSNEB3O.mjs';
|
|
5
5
|
import '../chunk-SHLWA6JY.mjs';
|
|
6
6
|
import '../chunk-ZZQAGCSI.mjs';
|
|
7
7
|
import '../chunk-5SANRSX3.mjs';
|
|
8
8
|
import '../chunk-6EDVCUAG.mjs';
|
|
9
9
|
import '../chunk-A6UYV475.mjs';
|
|
10
|
-
import '../chunk-
|
|
11
|
-
import '../chunk-
|
|
12
|
-
import '../chunk-
|
|
10
|
+
import '../chunk-RGCUND5Q.mjs';
|
|
11
|
+
import '../chunk-3DXJHMQM.mjs';
|
|
12
|
+
import '../chunk-ACKFL6WA.mjs';
|
|
13
13
|
import '../chunk-BEXTDHO4.mjs';
|
|
14
14
|
//# sourceMappingURL=index.mjs.map
|
|
15
15
|
//# sourceMappingURL=index.mjs.map
|
|
@@ -0,0 +1,71 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @sonordev/site-kit/cta-bar — the Liquid Glass mobile CTA bar
|
|
3
|
+
*
|
|
4
|
+
* Single source of truth for the fleet's sticky mobile action bar. Before
|
|
5
|
+
* 6.1.0 eleven sites each carried their own, and each had solved a different
|
|
6
|
+
* subset of the same problems: hiding over the form it points at, staying off
|
|
7
|
+
* the hero until the hero CTA scrolls away, getting out from under the Echo
|
|
8
|
+
* launcher, riding out iOS toolbar resizes. This component does all of them.
|
|
9
|
+
*
|
|
10
|
+
* Server component. It renders plain markup plus a childless behaviour
|
|
11
|
+
* island, so a server layout can pass Next <Link>s straight in:
|
|
12
|
+
*
|
|
13
|
+
* <CtaBar label="Call or book" showAfter="#hero-cta" hideOver="#quote">
|
|
14
|
+
* <CtaBarAction href="tel:+15135550100" icon={<Phone />} variant="secondary">Call</CtaBarAction>
|
|
15
|
+
* <CtaBarAction as={Link} href="/quote" icon={<ClipboardCheck />}>Free quote</CtaBarAction>
|
|
16
|
+
* </CtaBar>
|
|
17
|
+
*
|
|
18
|
+
* Render it once, at the layout root and outside <main> (it's an <aside>
|
|
19
|
+
* landmark). Never inside a blurred header: backdrop-filter on an ancestor
|
|
20
|
+
* turns it into the containing block for this fixed bar.
|
|
21
|
+
*/
|
|
22
|
+
import * as React from 'react';
|
|
23
|
+
import { type CtaBarBreakpoint } from './styles';
|
|
24
|
+
export interface CtaBarProps {
|
|
25
|
+
children: React.ReactNode;
|
|
26
|
+
/** Accessible name of the bar's landmark. Default "Quick actions". */
|
|
27
|
+
label?: string;
|
|
28
|
+
/** The bar is hidden at this width and above. `none` shows it at every width. Default `lg` (1024px). */
|
|
29
|
+
breakpoint?: CtaBarBreakpoint;
|
|
30
|
+
/** `fill` stretches actions across the bar; `fit` hugs a single action in a centred capsule. Default `fill`. */
|
|
31
|
+
layout?: 'fill' | 'fit';
|
|
32
|
+
/**
|
|
33
|
+
* CSS selector. The bar stays off screen until this element has scrolled
|
|
34
|
+
* off the top, e.g. the hero's own CTA. If nothing matches, the bar shows.
|
|
35
|
+
*/
|
|
36
|
+
showAfter?: string;
|
|
37
|
+
/** CSS selector(s). The bar steps aside while any match is on screen, e.g. the form it points at, or the footer. */
|
|
38
|
+
hideOver?: string | string[];
|
|
39
|
+
/** Hide while a text field has focus (the keyboard is up). Default true. */
|
|
40
|
+
hideWhileTyping?: boolean;
|
|
41
|
+
/** Tighten while scrolling down, restore on scroll up. Default true. */
|
|
42
|
+
compactOnScroll?: boolean;
|
|
43
|
+
/** Lift the Echo launcher above the bar while the bar is on screen. Default true. */
|
|
44
|
+
echoClearance?: boolean;
|
|
45
|
+
/** Reserve the bar's height at the end of the page so it never covers the footer. Default true. */
|
|
46
|
+
spacer?: boolean;
|
|
47
|
+
/** Send a `cta_click` analytics event for each action tap. Default true. */
|
|
48
|
+
track?: boolean;
|
|
49
|
+
className?: string;
|
|
50
|
+
id?: string;
|
|
51
|
+
}
|
|
52
|
+
export declare function CtaBar({ children, label, breakpoint, layout, showAfter, hideOver, hideWhileTyping, compactOnScroll, echoClearance, spacer, track, className, id, }: CtaBarProps): React.JSX.Element;
|
|
53
|
+
type CtaBarActionOwnProps = {
|
|
54
|
+
/** Element or component to render, e.g. Next's Link. Default: `a` with an href, `button` without. */
|
|
55
|
+
as?: React.ElementType;
|
|
56
|
+
/** Leading icon; decorative, hidden from assistive tech. */
|
|
57
|
+
icon?: React.ReactNode;
|
|
58
|
+
/** `primary` = solid brand, `secondary` = tinted glass, `plain` = layout only (style it yourself). Default `primary`. */
|
|
59
|
+
variant?: 'primary' | 'secondary' | 'plain';
|
|
60
|
+
/**
|
|
61
|
+
* Fold to icon-only while the bar is compact. Default: true for a
|
|
62
|
+
* secondary action with an icon. The label stays in the accessible name.
|
|
63
|
+
*/
|
|
64
|
+
collapse?: boolean;
|
|
65
|
+
children: React.ReactNode;
|
|
66
|
+
className?: string;
|
|
67
|
+
};
|
|
68
|
+
export type CtaBarActionProps = CtaBarActionOwnProps & Omit<React.AnchorHTMLAttributes<HTMLAnchorElement>, keyof CtaBarActionOwnProps> & Omit<React.ButtonHTMLAttributes<HTMLButtonElement>, keyof CtaBarActionOwnProps | keyof React.AnchorHTMLAttributes<HTMLAnchorElement>>;
|
|
69
|
+
export declare function CtaBarAction({ as, icon, variant, collapse, children, className, ...rest }: CtaBarActionProps): React.JSX.Element;
|
|
70
|
+
export {};
|
|
71
|
+
//# sourceMappingURL=CtaBar.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CtaBar.d.ts","sourceRoot":"","sources":["../../src/cta-bar/CtaBar.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;GAoBG;AAEH,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAG9B,OAAO,EAAgB,KAAK,gBAAgB,EAAE,MAAM,UAAU,CAAA;AAE9D,MAAM,WAAW,WAAW;IAC1B,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAA;IACzB,sEAAsE;IACtE,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,wGAAwG;IACxG,UAAU,CAAC,EAAE,gBAAgB,CAAA;IAC7B,gHAAgH;IAChH,MAAM,CAAC,EAAE,MAAM,GAAG,KAAK,CAAA;IACvB;;;OAGG;IACH,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,oHAAoH;IACpH,QAAQ,CAAC,EAAE,MAAM,GAAG,MAAM,EAAE,CAAA;IAC5B,4EAA4E;IAC5E,eAAe,CAAC,EAAE,OAAO,CAAA;IACzB,wEAAwE;IACxE,eAAe,CAAC,EAAE,OAAO,CAAA;IACzB,qFAAqF;IACrF,aAAa,CAAC,EAAE,OAAO,CAAA;IACvB,mGAAmG;IACnG,MAAM,CAAC,EAAE,OAAO,CAAA;IAChB,4EAA4E;IAC5E,KAAK,CAAC,EAAE,OAAO,CAAA;IACf,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,EAAE,CAAC,EAAE,MAAM,CAAA;CACZ;AAMD,wBAAgB,MAAM,CAAC,EACrB,QAAQ,EACR,KAAuB,EACvB,UAAiB,EACjB,MAAe,EACf,SAAS,EACT,QAAQ,EACR,eAAsB,EACtB,eAAsB,EACtB,aAAoB,EACpB,MAAa,EACb,KAAY,EACZ,SAAS,EACT,EAAE,GACH,EAAE,WAAW,qBA+Bb;AAED,KAAK,oBAAoB,GAAG;IAC1B,qGAAqG;IACrG,EAAE,CAAC,EAAE,KAAK,CAAC,WAAW,CAAA;IACtB,4DAA4D;IAC5D,IAAI,CAAC,EAAE,KAAK,CAAC,SAAS,CAAA;IACtB,yHAAyH;IACzH,OAAO,CAAC,EAAE,SAAS,GAAG,WAAW,GAAG,OAAO,CAAA;IAC3C;;;OAGG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAA;IACzB,SAAS,CAAC,EAAE,MAAM,CAAA;CACnB,CAAA;AAED,MAAM,MAAM,iBAAiB,GAAG,oBAAoB,GAClD,IAAI,CAAC,KAAK,CAAC,oBAAoB,CAAC,iBAAiB,CAAC,EAAE,MAAM,oBAAoB,CAAC,GAC/E,IAAI,CAAC,KAAK,CAAC,oBAAoB,CAAC,iBAAiB,CAAC,EAAE,MAAM,oBAAoB,GAAG,MAAM,KAAK,CAAC,oBAAoB,CAAC,iBAAiB,CAAC,CAAC,CAAA;AAEvI,wBAAgB,YAAY,CAAC,EAC3B,EAAE,EACF,IAAI,EACJ,OAAmB,EACnB,QAAQ,EACR,QAAQ,EACR,SAAS,EACT,GAAG,IAAI,EACR,EAAE,iBAAiB,qBAmBnB"}
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @sonordev/site-kit/cta-bar — behaviour island
|
|
3
|
+
*
|
|
4
|
+
* Childless. It renders one hidden <span> so it can find the bar it sits in,
|
|
5
|
+
* then drives that bar entirely through data attributes the stylesheet reads:
|
|
6
|
+
*
|
|
7
|
+
* data-hidden off screen: before `showAfter` has scrolled away, while
|
|
8
|
+
* a `hideOver` target is on screen, or while a text field
|
|
9
|
+
* has focus (the keyboard is up and the bar would sit on it)
|
|
10
|
+
* data-compact scrolling down: the bar tightens and icon-bearing
|
|
11
|
+
* secondary actions fold to icons. Scrolling up restores it.
|
|
12
|
+
*
|
|
13
|
+
* Nothing here re-renders React. The bar is server-rendered markup and the
|
|
14
|
+
* island only flips attributes, so a server layout can hand the bar Next
|
|
15
|
+
* <Link> children and none of it crosses a client boundary.
|
|
16
|
+
*
|
|
17
|
+
* Scroll work is one passive listener coalesced to a frame; visibility is
|
|
18
|
+
* IntersectionObserver, so there is no per-frame layout read for it.
|
|
19
|
+
*/
|
|
20
|
+
export interface CtaBarBehaviorProps {
|
|
21
|
+
showAfter?: string;
|
|
22
|
+
hideOver?: string[];
|
|
23
|
+
hideWhileTyping: boolean;
|
|
24
|
+
compactOnScroll: boolean;
|
|
25
|
+
track: boolean;
|
|
26
|
+
}
|
|
27
|
+
/**
|
|
28
|
+
* Scroll-direction state for compact mode. Pure, so it is tested without a
|
|
29
|
+
* DOM. `anchorY` only moves once a change is committed, so slow scrolling
|
|
30
|
+
* still accumulates past the threshold instead of resetting every frame.
|
|
31
|
+
*/
|
|
32
|
+
export declare function nextCompactState(state: {
|
|
33
|
+
compact: boolean;
|
|
34
|
+
anchorY: number;
|
|
35
|
+
}, y: number): {
|
|
36
|
+
compact: boolean;
|
|
37
|
+
anchorY: number;
|
|
38
|
+
};
|
|
39
|
+
/**
|
|
40
|
+
* Focus targets that raise an on-screen keyboard. Checks tag names rather
|
|
41
|
+
* than `instanceof`, which fails for elements from another realm (an iframe
|
|
42
|
+
* form) and can't run where there is no DOM.
|
|
43
|
+
*/
|
|
44
|
+
export declare function isTextEntry(el: Pick<Element, 'tagName'> | null): boolean;
|
|
45
|
+
export declare function CtaBarBehavior({ showAfter, hideOver, hideWhileTyping, compactOnScroll, track }: CtaBarBehaviorProps): import("react").JSX.Element;
|
|
46
|
+
//# sourceMappingURL=CtaBarBehavior.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CtaBarBehavior.d.ts","sourceRoot":"","sources":["../../src/cta-bar/CtaBarBehavior.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;GAkBG;AAQH,MAAM,WAAW,mBAAmB;IAClC,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,QAAQ,CAAC,EAAE,MAAM,EAAE,CAAA;IACnB,eAAe,EAAE,OAAO,CAAA;IACxB,eAAe,EAAE,OAAO,CAAA;IACxB,KAAK,EAAE,OAAO,CAAA;CACf;AAOD;;;;GAIG;AACH,wBAAgB,gBAAgB,CAC9B,KAAK,EAAE;IAAE,OAAO,EAAE,OAAO,CAAC;IAAC,OAAO,EAAE,MAAM,CAAA;CAAE,EAC5C,CAAC,EAAE,MAAM,GACR;IAAE,OAAO,EAAE,OAAO,CAAC;IAAC,OAAO,EAAE,MAAM,CAAA;CAAE,CAKvC;AAID;;;;GAIG;AACH,wBAAgB,WAAW,CAAC,EAAE,EAAE,IAAI,CAAC,OAAO,EAAE,SAAS,CAAC,GAAG,IAAI,GAAG,OAAO,CAOxE;AAUD,wBAAgB,cAAc,CAAC,EAAE,SAAS,EAAE,QAAQ,EAAE,eAAe,EAAE,eAAe,EAAE,KAAK,EAAE,EAAE,mBAAmB,+BAgHnH"}
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @sonordev/site-kit/cta-bar — behaviour island
|
|
3
|
+
*
|
|
4
|
+
* Childless. It renders one hidden <span> so it can find the bar it sits in,
|
|
5
|
+
* then drives that bar entirely through data attributes the stylesheet reads:
|
|
6
|
+
*
|
|
7
|
+
* data-hidden off screen: before `showAfter` has scrolled away, while
|
|
8
|
+
* a `hideOver` target is on screen, or while a text field
|
|
9
|
+
* has focus (the keyboard is up and the bar would sit on it)
|
|
10
|
+
* data-compact scrolling down: the bar tightens and icon-bearing
|
|
11
|
+
* secondary actions fold to icons. Scrolling up restores it.
|
|
12
|
+
*
|
|
13
|
+
* Nothing here re-renders React. The bar is server-rendered markup and the
|
|
14
|
+
* island only flips attributes, so a server layout can hand the bar Next
|
|
15
|
+
* <Link> children and none of it crosses a client boundary.
|
|
16
|
+
*
|
|
17
|
+
* Scroll work is one passive listener coalesced to a frame; visibility is
|
|
18
|
+
* IntersectionObserver, so there is no per-frame layout read for it.
|
|
19
|
+
*/
|
|
20
|
+
export interface CtaBarBehaviorProps {
|
|
21
|
+
showAfter?: string;
|
|
22
|
+
hideOver?: string[];
|
|
23
|
+
hideWhileTyping: boolean;
|
|
24
|
+
compactOnScroll: boolean;
|
|
25
|
+
track: boolean;
|
|
26
|
+
}
|
|
27
|
+
/**
|
|
28
|
+
* Scroll-direction state for compact mode. Pure, so it is tested without a
|
|
29
|
+
* DOM. `anchorY` only moves once a change is committed, so slow scrolling
|
|
30
|
+
* still accumulates past the threshold instead of resetting every frame.
|
|
31
|
+
*/
|
|
32
|
+
export declare function nextCompactState(state: {
|
|
33
|
+
compact: boolean;
|
|
34
|
+
anchorY: number;
|
|
35
|
+
}, y: number): {
|
|
36
|
+
compact: boolean;
|
|
37
|
+
anchorY: number;
|
|
38
|
+
};
|
|
39
|
+
/**
|
|
40
|
+
* Focus targets that raise an on-screen keyboard. Checks tag names rather
|
|
41
|
+
* than `instanceof`, which fails for elements from another realm (an iframe
|
|
42
|
+
* form) and can't run where there is no DOM.
|
|
43
|
+
*/
|
|
44
|
+
export declare function isTextEntry(el: Pick<Element, 'tagName'> | null): boolean;
|
|
45
|
+
export declare function CtaBarBehavior({ showAfter, hideOver, hideWhileTyping, compactOnScroll, track }: CtaBarBehaviorProps): import("react").JSX.Element;
|
|
46
|
+
//# sourceMappingURL=CtaBarBehavior.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CtaBarBehavior.d.ts","sourceRoot":"","sources":["../../src/cta-bar/CtaBarBehavior.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;GAkBG;AAQH,MAAM,WAAW,mBAAmB;IAClC,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,QAAQ,CAAC,EAAE,MAAM,EAAE,CAAA;IACnB,eAAe,EAAE,OAAO,CAAA;IACxB,eAAe,EAAE,OAAO,CAAA;IACxB,KAAK,EAAE,OAAO,CAAA;CACf;AAOD;;;;GAIG;AACH,wBAAgB,gBAAgB,CAC9B,KAAK,EAAE;IAAE,OAAO,EAAE,OAAO,CAAC;IAAC,OAAO,EAAE,MAAM,CAAA;CAAE,EAC5C,CAAC,EAAE,MAAM,GACR;IAAE,OAAO,EAAE,OAAO,CAAC;IAAC,OAAO,EAAE,MAAM,CAAA;CAAE,CAKvC;AAID;;;;GAIG;AACH,wBAAgB,WAAW,CAAC,EAAE,EAAE,IAAI,CAAC,OAAO,EAAE,SAAS,CAAC,GAAG,IAAI,GAAG,OAAO,CAOxE;AAUD,wBAAgB,cAAc,CAAC,EAAE,SAAS,EAAE,QAAQ,EAAE,eAAe,EAAE,eAAe,EAAE,KAAK,EAAE,EAAE,mBAAmB,+BAgHnH"}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
'use client';
|
|
2
|
+
'use strict';
|
|
3
|
+
|
|
4
|
+
var chunkIWSN4DGG_js = require('../chunk-IWSN4DGG.js');
|
|
5
|
+
require('../chunk-3DWIYCQX.js');
|
|
6
|
+
require('../chunk-SNAQBZPT.js');
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
Object.defineProperty(exports, "CtaBarBehavior", {
|
|
11
|
+
enumerable: true,
|
|
12
|
+
get: function () { return chunkIWSN4DGG_js.CtaBarBehavior; }
|
|
13
|
+
});
|
|
14
|
+
Object.defineProperty(exports, "isTextEntry", {
|
|
15
|
+
enumerable: true,
|
|
16
|
+
get: function () { return chunkIWSN4DGG_js.isTextEntry; }
|
|
17
|
+
});
|
|
18
|
+
Object.defineProperty(exports, "nextCompactState", {
|
|
19
|
+
enumerable: true,
|
|
20
|
+
get: function () { return chunkIWSN4DGG_js.nextCompactState; }
|
|
21
|
+
});
|
|
22
|
+
//# sourceMappingURL=client.js.map
|
|
23
|
+
//# sourceMappingURL=client.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"names":[],"mappings":"","file":"client.js"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"names":[],"mappings":"","file":"client.mjs"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @sonordev/site-kit/cta-bar — the Liquid Glass mobile CTA bar (6.1.0)
|
|
3
|
+
*
|
|
4
|
+
* Server-usable entry: <CtaBar> and <CtaBarAction> are plain components and
|
|
5
|
+
* can be rendered from a server layout. The only client code is the
|
|
6
|
+
* behaviour island they mount, which ships as its own chunk.
|
|
7
|
+
*/
|
|
8
|
+
export { CtaBar, CtaBarAction } from './CtaBar';
|
|
9
|
+
export type { CtaBarProps, CtaBarActionProps } from './CtaBar';
|
|
10
|
+
export { CTA_BAR_BREAKPOINTS, CTA_BAR_SPACE, ECHO_CLEARANCE } from './styles';
|
|
11
|
+
export type { CtaBarBreakpoint } from './styles';
|
|
12
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/cta-bar/index.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,EAAE,MAAM,EAAE,YAAY,EAAE,MAAM,UAAU,CAAA;AAC/C,YAAY,EAAE,WAAW,EAAE,iBAAiB,EAAE,MAAM,UAAU,CAAA;AAC9D,OAAO,EAAE,mBAAmB,EAAE,aAAa,EAAE,cAAc,EAAE,MAAM,UAAU,CAAA;AAC7E,YAAY,EAAE,gBAAgB,EAAE,MAAM,UAAU,CAAA"}
|