@sonordev/site-kit 6.0.1 → 6.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +11 -0
- package/agent-manifest.json +8 -1
- package/dist/{AnalyticsProvider-YU6QANW5.mjs → AnalyticsProvider-33L4E6LO.mjs} +6 -6
- package/dist/{AnalyticsProvider-YU6QANW5.mjs.map → AnalyticsProvider-33L4E6LO.mjs.map} +1 -1
- package/dist/{AnalyticsProvider-4RLYTVWO.js → AnalyticsProvider-5G5AFHZN.js} +10 -10
- package/dist/{AnalyticsProvider-4RLYTVWO.js.map → AnalyticsProvider-5G5AFHZN.js.map} +1 -1
- package/dist/{ArticleViewTracker-OQB2VT73.js → ArticleViewTracker-U2KFUSZF.js} +6 -6
- package/dist/{ArticleViewTracker-OQB2VT73.js.map → ArticleViewTracker-U2KFUSZF.js.map} +1 -1
- package/dist/{ArticleViewTracker-LI44SA4T.mjs → ArticleViewTracker-VZRMPK4S.mjs} +5 -5
- package/dist/{ArticleViewTracker-LI44SA4T.mjs.map → ArticleViewTracker-VZRMPK4S.mjs.map} +1 -1
- package/dist/ChatWidget-LH3QZYKR.mjs +16 -0
- package/dist/{ChatWidget-56SW5ITH.mjs.map → ChatWidget-LH3QZYKR.mjs.map} +1 -1
- package/dist/ChatWidget-RUCQMCMN.js +25 -0
- package/dist/{ChatWidget-HR3OC3WA.js.map → ChatWidget-RUCQMCMN.js.map} +1 -1
- package/dist/EngageWidget-34BQXU7K.mjs +12 -0
- package/dist/{EngageWidget-L4X35N2B.mjs.map → EngageWidget-34BQXU7K.mjs.map} +1 -1
- package/dist/EngageWidget-X2CBW7DV.js +21 -0
- package/dist/{EngageWidget-HXGI3ZKG.js.map → EngageWidget-X2CBW7DV.js.map} +1 -1
- package/dist/{FileField-N2P6E2PN.js → FileField-2MMV53BG.js} +6 -6
- package/dist/{FileField-N2P6E2PN.js.map → FileField-2MMV53BG.js.map} +1 -1
- package/dist/{FileField-GSTLU42O.mjs → FileField-REUU36RJ.mjs} +5 -5
- package/dist/{FileField-GSTLU42O.mjs.map → FileField-REUU36RJ.mjs.map} +1 -1
- package/dist/{FormSpotlight-QLXOS5LN.js → FormSpotlight-Y27TPQ4G.js} +9 -9
- package/dist/{FormSpotlight-QLXOS5LN.js.map → FormSpotlight-Y27TPQ4G.js.map} +1 -1
- package/dist/{FormSpotlight-UFATQTN3.mjs → FormSpotlight-ZV3IS66K.mjs} +3 -3
- package/dist/{FormSpotlight-UFATQTN3.mjs.map → FormSpotlight-ZV3IS66K.mjs.map} +1 -1
- package/dist/{FormStage-SYOKD5TJ.mjs → FormStage-6NUGCDJR.mjs} +3 -3
- package/dist/{FormStage-SYOKD5TJ.mjs.map → FormStage-6NUGCDJR.mjs.map} +1 -1
- package/dist/{FormStage-4HYDMCYU.js → FormStage-K7Z6IEPM.js} +9 -9
- package/dist/{FormStage-4HYDMCYU.js.map → FormStage-K7Z6IEPM.js.map} +1 -1
- package/dist/ManagedForm-EUDKMS5G.mjs +16 -0
- package/dist/{ManagedForm-3TDSIRCM.mjs.map → ManagedForm-EUDKMS5G.mjs.map} +1 -1
- package/dist/ManagedForm-O67ILXN7.js +25 -0
- package/dist/{ManagedForm-TUSGW5EH.js.map → ManagedForm-O67ILXN7.js.map} +1 -1
- package/dist/{ManagedNewsletterForm-CNGCBA2N.mjs → ManagedNewsletterForm-IGWTZW7X.mjs} +7 -7
- package/dist/{ManagedNewsletterForm-CNGCBA2N.mjs.map → ManagedNewsletterForm-IGWTZW7X.mjs.map} +1 -1
- package/dist/{ManagedNewsletterForm-XJEPVJRM.js → ManagedNewsletterForm-QBJODAIA.js} +8 -8
- package/dist/{ManagedNewsletterForm-XJEPVJRM.js.map → ManagedNewsletterForm-QBJODAIA.js.map} +1 -1
- package/dist/{SignalCore-AXK6RCR4.js → SignalCore-KQDRH44V.js} +11 -11
- package/dist/{SignalCore-AXK6RCR4.js.map → SignalCore-KQDRH44V.js.map} +1 -1
- package/dist/{SignalCore-ARRVP6F7.mjs → SignalCore-UR4KVU5X.mjs} +5 -5
- package/dist/{SignalCore-ARRVP6F7.mjs.map → SignalCore-UR4KVU5X.mjs.map} +1 -1
- package/dist/SitemapSync-DQALPBTR.js +18 -0
- package/dist/{SitemapSync-GAGREAX6.js.map → SitemapSync-DQALPBTR.js.map} +1 -1
- package/dist/SitemapSync-QYV3X5LH.mjs +9 -0
- package/dist/{SitemapSync-42VKJUOU.mjs.map → SitemapSync-QYV3X5LH.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-NVWUXCUQ.mjs → chunk-22KPMJIQ.mjs} +3 -3
- package/dist/{chunk-NVWUXCUQ.mjs.map → chunk-22KPMJIQ.mjs.map} +1 -1
- package/dist/{chunk-QXPGIOU7.mjs → chunk-3E7ZXPOB.mjs} +3 -3
- package/dist/{chunk-QXPGIOU7.mjs.map → chunk-3E7ZXPOB.mjs.map} +1 -1
- package/dist/{chunk-6ZOMIPU5.js → chunk-3H3DTYFQ.js} +8 -8
- package/dist/{chunk-6ZOMIPU5.js.map → chunk-3H3DTYFQ.js.map} +1 -1
- package/dist/{chunk-NYNL6UQV.mjs → chunk-3SHAY7PK.mjs} +69 -49
- package/dist/chunk-3SHAY7PK.mjs.map +1 -0
- package/dist/{chunk-AQMQOH7V.js → chunk-46GMNQWN.js} +3 -3
- package/dist/{chunk-AQMQOH7V.js.map → chunk-46GMNQWN.js.map} +1 -1
- package/dist/{chunk-6YEPFH3Q.js → chunk-6K3YRSYN.js} +10 -10
- package/dist/{chunk-6YEPFH3Q.js.map → chunk-6K3YRSYN.js.map} +1 -1
- package/dist/{chunk-SU42KCQD.mjs → chunk-6ZMEJSNX.mjs} +4 -4
- package/dist/{chunk-SU42KCQD.mjs.map → chunk-6ZMEJSNX.mjs.map} +1 -1
- package/dist/{chunk-WLCPBZOS.mjs → chunk-7DMAVD7W.mjs} +3 -3
- package/dist/{chunk-WLCPBZOS.mjs.map → chunk-7DMAVD7W.mjs.map} +1 -1
- package/dist/{chunk-BWSYPQ5E.js → chunk-7IM7VG4E.js} +6 -6
- package/dist/{chunk-BWSYPQ5E.js.map → chunk-7IM7VG4E.js.map} +1 -1
- package/dist/{chunk-QJ3SMLND.mjs → chunk-7PCXI25T.mjs} +3 -3
- package/dist/{chunk-QJ3SMLND.mjs.map → chunk-7PCXI25T.mjs.map} +1 -1
- package/dist/{chunk-6URNNS3V.mjs → chunk-AG7MWWGP.mjs} +4 -4
- package/dist/{chunk-6URNNS3V.mjs.map → chunk-AG7MWWGP.mjs.map} +1 -1
- package/dist/{chunk-XWKY46NU.js → chunk-BRED7YSL.js} +11 -11
- package/dist/{chunk-XWKY46NU.js.map → chunk-BRED7YSL.js.map} +1 -1
- package/dist/chunk-BZR6RUIN.mjs +128 -0
- package/dist/chunk-BZR6RUIN.mjs.map +1 -0
- package/dist/{chunk-U6F6AN23.mjs → chunk-CJ5YPYAE.mjs} +4 -4
- package/dist/{chunk-U6F6AN23.mjs.map → chunk-CJ5YPYAE.mjs.map} +1 -1
- package/dist/{chunk-FKFVN3GT.js → chunk-D6VMDDQR.js} +8 -8
- package/dist/{chunk-FKFVN3GT.js.map → chunk-D6VMDDQR.js.map} +1 -1
- package/dist/{chunk-GKPVGVHY.mjs → chunk-DGWFHL35.mjs} +3 -3
- package/dist/{chunk-GKPVGVHY.mjs.map → chunk-DGWFHL35.mjs.map} +1 -1
- package/dist/{chunk-4NBJDP6Y.js → chunk-EF7QCYLF.js} +4 -4
- package/dist/{chunk-4NBJDP6Y.js.map → chunk-EF7QCYLF.js.map} +1 -1
- package/dist/{chunk-BMH2D2EP.mjs → chunk-GZLMMX76.mjs} +3 -3
- package/dist/{chunk-BMH2D2EP.mjs.map → chunk-GZLMMX76.mjs.map} +1 -1
- package/dist/{chunk-NVOYCK2S.js → chunk-HH5EMIXK.js} +14 -14
- package/dist/{chunk-NVOYCK2S.js.map → chunk-HH5EMIXK.js.map} +1 -1
- package/dist/chunk-HQWPCX3N.mjs +6 -0
- package/dist/{chunk-7MAHP735.mjs.map → chunk-HQWPCX3N.mjs.map} +1 -1
- package/dist/{chunk-TC3JSQUS.js → chunk-IPGIFBRN.js} +4 -4
- package/dist/{chunk-TC3JSQUS.js.map → chunk-IPGIFBRN.js.map} +1 -1
- package/dist/chunk-IWSN4DGG.js +132 -0
- package/dist/chunk-IWSN4DGG.js.map +1 -0
- package/dist/{chunk-P2HOVWJW.js → chunk-JZCG25XK.js} +14 -14
- package/dist/{chunk-P2HOVWJW.js.map → chunk-JZCG25XK.js.map} +1 -1
- package/dist/{chunk-ZRWIMNQF.js → chunk-ME5636V6.js} +3 -3
- package/dist/{chunk-ZRWIMNQF.js.map → chunk-ME5636V6.js.map} +1 -1
- package/dist/{chunk-UCBBZXJI.js → chunk-MJTHYT3D.js} +4 -4
- package/dist/{chunk-UCBBZXJI.js.map → chunk-MJTHYT3D.js.map} +1 -1
- package/dist/{chunk-IDOHDP7D.mjs → chunk-MSSFRRXJ.mjs} +4 -4
- package/dist/{chunk-IDOHDP7D.mjs.map → chunk-MSSFRRXJ.mjs.map} +1 -1
- package/dist/{chunk-QP56JXMH.mjs → chunk-MWX6QO7A.mjs} +3 -3
- package/dist/{chunk-QP56JXMH.mjs.map → chunk-MWX6QO7A.mjs.map} +1 -1
- package/dist/chunk-NBOBOYMT.js +52 -0
- package/dist/chunk-NBOBOYMT.js.map +1 -0
- package/dist/{chunk-R6UE6MC5.js → chunk-NJSD5QY6.js} +7 -7
- package/dist/{chunk-R6UE6MC5.js.map → chunk-NJSD5QY6.js.map} +1 -1
- package/dist/{chunk-QD4BNYMM.js → chunk-NK7ZWPAO.js} +18 -18
- package/dist/{chunk-QD4BNYMM.js.map → chunk-NK7ZWPAO.js.map} +1 -1
- package/dist/{chunk-4VCR6TXK.js → chunk-OB7K6EFK.js} +5 -5
- package/dist/{chunk-4VCR6TXK.js.map → chunk-OB7K6EFK.js.map} +1 -1
- package/dist/chunk-OBKS3CPP.mjs +50 -0
- package/dist/chunk-OBKS3CPP.mjs.map +1 -0
- package/dist/{chunk-NNQG25M2.mjs → chunk-OP42HO3Z.mjs} +3 -3
- package/dist/{chunk-NNQG25M2.mjs.map → chunk-OP42HO3Z.mjs.map} +1 -1
- package/dist/{chunk-UILVPI2R.js → chunk-OTCJRVFJ.js} +3 -3
- package/dist/{chunk-UILVPI2R.js.map → chunk-OTCJRVFJ.js.map} +1 -1
- package/dist/{chunk-ZYJYBE5G.js → chunk-OUZQL5PV.js} +4 -4
- package/dist/{chunk-ZYJYBE5G.js.map → chunk-OUZQL5PV.js.map} +1 -1
- package/dist/chunk-QWUDHOUE.js +8 -0
- package/dist/{chunk-F3EAAAZ3.js.map → chunk-QWUDHOUE.js.map} +1 -1
- package/dist/{chunk-LZPICBND.js → chunk-QYRJ4IQD.js} +80 -60
- package/dist/chunk-QYRJ4IQD.js.map +1 -0
- package/dist/{chunk-XLFTZV34.mjs → chunk-R2BHRDPZ.mjs} +3 -3
- package/dist/{chunk-XLFTZV34.mjs.map → chunk-R2BHRDPZ.mjs.map} +1 -1
- package/dist/{chunk-PKZMNDZJ.js → chunk-S24WZNFP.js} +5 -5
- package/dist/{chunk-PKZMNDZJ.js.map → chunk-S24WZNFP.js.map} +1 -1
- package/dist/{chunk-RX4TVHSN.mjs → chunk-U2DWXE2A.mjs} +3 -3
- package/dist/{chunk-RX4TVHSN.mjs.map → chunk-U2DWXE2A.mjs.map} +1 -1
- package/dist/{chunk-BIU234TJ.mjs → chunk-U3SQBAUQ.mjs} +8 -8
- package/dist/{chunk-BIU234TJ.mjs.map → chunk-U3SQBAUQ.mjs.map} +1 -1
- package/dist/{chunk-GJCQVVO3.mjs → chunk-U577PJLH.mjs} +7 -7
- package/dist/{chunk-GJCQVVO3.mjs.map → chunk-U577PJLH.mjs.map} +1 -1
- package/dist/{chunk-5ABTBPPK.js → chunk-VNJTU6LG.js} +15 -15
- package/dist/{chunk-5ABTBPPK.js.map → chunk-VNJTU6LG.js.map} +1 -1
- package/dist/{chunk-LCYODFNY.mjs → chunk-VNSV5SY7.mjs} +3 -3
- package/dist/{chunk-LCYODFNY.mjs.map → chunk-VNSV5SY7.mjs.map} +1 -1
- package/dist/{chunk-YTJKVWHY.mjs → chunk-VPZUQXZV.mjs} +4 -4
- package/dist/{chunk-YTJKVWHY.mjs.map → chunk-VPZUQXZV.mjs.map} +1 -1
- package/dist/{chunk-LFASEDBO.mjs → chunk-WVNUOUQI.mjs} +3 -3
- package/dist/{chunk-LFASEDBO.mjs.map → chunk-WVNUOUQI.mjs.map} +1 -1
- package/dist/{chunk-ULSFOC3J.js → chunk-WWJQGMMN.js} +12 -12
- package/dist/{chunk-ULSFOC3J.js.map → chunk-WWJQGMMN.js.map} +1 -1
- package/dist/{chunk-GCZHKHEH.js → chunk-Y4A4G5XJ.js} +5 -5
- package/dist/{chunk-GCZHKHEH.js.map → chunk-Y4A4G5XJ.js.map} +1 -1
- package/dist/{chunk-L63DFM4R.mjs → chunk-YCA4KCRF.mjs} +3 -3
- package/dist/{chunk-L63DFM4R.mjs.map → chunk-YCA4KCRF.mjs.map} +1 -1
- package/dist/{chunk-KUHMHKG5.mjs → chunk-YZMI7QQ2.mjs} +4 -4
- package/dist/{chunk-KUHMHKG5.mjs.map → chunk-YZMI7QQ2.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 +74 -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 +233 -0
- package/dist/cta-bar/index.js.map +1 -0
- package/dist/cta-bar/index.mjs +227 -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/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/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/sync/index.js +17 -17
- package/dist/sync/index.mjs +4 -4
- package/package.json +6 -1
- package/skills/site-kit/SKILL.md +7 -0
- package/dist/ChatWidget-56SW5ITH.mjs +0 -15
- package/dist/ChatWidget-HR3OC3WA.js +0 -24
- package/dist/EngageWidget-HXGI3ZKG.js +0 -21
- package/dist/EngageWidget-L4X35N2B.mjs +0 -12
- package/dist/ManagedForm-3TDSIRCM.mjs +0 -16
- package/dist/ManagedForm-TUSGW5EH.js +0 -25
- package/dist/SitemapSync-42VKJUOU.mjs +0 -9
- package/dist/SitemapSync-GAGREAX6.js +0 -18
- package/dist/chunk-7MAHP735.mjs +0 -6
- package/dist/chunk-F3EAAAZ3.js +0 -8
- package/dist/chunk-LZPICBND.js.map +0 -1
- package/dist/chunk-NYNL6UQV.mjs.map +0 -1
package/dist/commerce/index.js
CHANGED
|
@@ -1,228 +1,228 @@
|
|
|
1
1
|
'use client';
|
|
2
2
|
'use strict';
|
|
3
3
|
|
|
4
|
-
var
|
|
4
|
+
var chunkHH5EMIXK_js = require('../chunk-HH5EMIXK.js');
|
|
5
5
|
require('../chunk-3SDMJMN2.js');
|
|
6
|
-
require('../chunk-
|
|
6
|
+
require('../chunk-S24WZNFP.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-VNJTU6LG.js');
|
|
13
|
+
require('../chunk-IPGIFBRN.js');
|
|
14
|
+
require('../chunk-QWUDHOUE.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 chunkHH5EMIXK_js.CalendarView; }
|
|
22
22
|
});
|
|
23
23
|
Object.defineProperty(exports, "CapacityBadge", {
|
|
24
24
|
enumerable: true,
|
|
25
|
-
get: function () { return
|
|
25
|
+
get: function () { return chunkHH5EMIXK_js.CapacityBadge; }
|
|
26
26
|
});
|
|
27
27
|
Object.defineProperty(exports, "CheckoutForm", {
|
|
28
28
|
enumerable: true,
|
|
29
|
-
get: function () { return
|
|
29
|
+
get: function () { return chunkHH5EMIXK_js.CheckoutForm; }
|
|
30
30
|
});
|
|
31
31
|
Object.defineProperty(exports, "EventCalendar", {
|
|
32
32
|
enumerable: true,
|
|
33
|
-
get: function () { return
|
|
33
|
+
get: function () { return chunkHH5EMIXK_js.EventCalendar; }
|
|
34
34
|
});
|
|
35
35
|
Object.defineProperty(exports, "EventCheckout", {
|
|
36
36
|
enumerable: true,
|
|
37
|
-
get: function () { return
|
|
37
|
+
get: function () { return chunkHH5EMIXK_js.EventCheckout; }
|
|
38
38
|
});
|
|
39
39
|
Object.defineProperty(exports, "EventEmbed", {
|
|
40
40
|
enumerable: true,
|
|
41
|
-
get: function () { return
|
|
41
|
+
get: function () { return chunkHH5EMIXK_js.EventEmbed; }
|
|
42
42
|
});
|
|
43
43
|
Object.defineProperty(exports, "EventJsonLd", {
|
|
44
44
|
enumerable: true,
|
|
45
|
-
get: function () { return
|
|
45
|
+
get: function () { return chunkHH5EMIXK_js.EventJsonLd; }
|
|
46
46
|
});
|
|
47
47
|
Object.defineProperty(exports, "EventModal", {
|
|
48
48
|
enumerable: true,
|
|
49
|
-
get: function () { return
|
|
49
|
+
get: function () { return chunkHH5EMIXK_js.EventModal; }
|
|
50
50
|
});
|
|
51
51
|
Object.defineProperty(exports, "EventTile", {
|
|
52
52
|
enumerable: true,
|
|
53
|
-
get: function () { return
|
|
53
|
+
get: function () { return chunkHH5EMIXK_js.EventTile; }
|
|
54
54
|
});
|
|
55
55
|
Object.defineProperty(exports, "EventsAgenda", {
|
|
56
56
|
enumerable: true,
|
|
57
|
-
get: function () { return
|
|
57
|
+
get: function () { return chunkHH5EMIXK_js.EventsAgenda; }
|
|
58
58
|
});
|
|
59
59
|
Object.defineProperty(exports, "EventsWidget", {
|
|
60
60
|
enumerable: true,
|
|
61
|
-
get: function () { return
|
|
61
|
+
get: function () { return chunkHH5EMIXK_js.EventsWidget; }
|
|
62
62
|
});
|
|
63
63
|
Object.defineProperty(exports, "OfferingCard", {
|
|
64
64
|
enumerable: true,
|
|
65
|
-
get: function () { return
|
|
65
|
+
get: function () { return chunkHH5EMIXK_js.OfferingCard; }
|
|
66
66
|
});
|
|
67
67
|
Object.defineProperty(exports, "OfferingList", {
|
|
68
68
|
enumerable: true,
|
|
69
|
-
get: function () { return
|
|
69
|
+
get: function () { return chunkHH5EMIXK_js.OfferingList; }
|
|
70
70
|
});
|
|
71
71
|
Object.defineProperty(exports, "ProductDetail", {
|
|
72
72
|
enumerable: true,
|
|
73
|
-
get: function () { return
|
|
73
|
+
get: function () { return chunkHH5EMIXK_js.ProductDetail; }
|
|
74
74
|
});
|
|
75
75
|
Object.defineProperty(exports, "ProductEmbed", {
|
|
76
76
|
enumerable: true,
|
|
77
|
-
get: function () { return
|
|
77
|
+
get: function () { return chunkHH5EMIXK_js.ProductEmbed; }
|
|
78
78
|
});
|
|
79
79
|
Object.defineProperty(exports, "ProductGrid", {
|
|
80
80
|
enumerable: true,
|
|
81
|
-
get: function () { return
|
|
81
|
+
get: function () { return chunkHH5EMIXK_js.ProductGrid; }
|
|
82
82
|
});
|
|
83
83
|
Object.defineProperty(exports, "ProductPage", {
|
|
84
84
|
enumerable: true,
|
|
85
|
-
get: function () { return
|
|
85
|
+
get: function () { return chunkHH5EMIXK_js.ProductPage; }
|
|
86
86
|
});
|
|
87
87
|
Object.defineProperty(exports, "RegistrationForm", {
|
|
88
88
|
enumerable: true,
|
|
89
|
-
get: function () { return
|
|
89
|
+
get: function () { return chunkHH5EMIXK_js.RegistrationForm; }
|
|
90
90
|
});
|
|
91
91
|
Object.defineProperty(exports, "SizeChart", {
|
|
92
92
|
enumerable: true,
|
|
93
|
-
get: function () { return
|
|
93
|
+
get: function () { return chunkHH5EMIXK_js.SizeChart; }
|
|
94
94
|
});
|
|
95
95
|
Object.defineProperty(exports, "UpcomingEvents", {
|
|
96
96
|
enumerable: true,
|
|
97
|
-
get: function () { return
|
|
97
|
+
get: function () { return chunkHH5EMIXK_js.UpcomingEvents; }
|
|
98
98
|
});
|
|
99
99
|
Object.defineProperty(exports, "createCheckoutSession", {
|
|
100
100
|
enumerable: true,
|
|
101
|
-
get: function () { return
|
|
101
|
+
get: function () { return chunkHH5EMIXK_js.createCheckoutSession; }
|
|
102
102
|
});
|
|
103
103
|
Object.defineProperty(exports, "createPaymentIntent", {
|
|
104
104
|
enumerable: true,
|
|
105
|
-
get: function () { return
|
|
105
|
+
get: function () { return chunkHH5EMIXK_js.createPaymentIntent; }
|
|
106
106
|
});
|
|
107
107
|
Object.defineProperty(exports, "fetchActiveProcessor", {
|
|
108
108
|
enumerable: true,
|
|
109
|
-
get: function () { return
|
|
109
|
+
get: function () { return chunkHH5EMIXK_js.fetchActiveProcessor; }
|
|
110
110
|
});
|
|
111
111
|
Object.defineProperty(exports, "fetchCategories", {
|
|
112
112
|
enumerable: true,
|
|
113
|
-
get: function () { return
|
|
113
|
+
get: function () { return chunkHH5EMIXK_js.fetchCategories; }
|
|
114
114
|
});
|
|
115
115
|
Object.defineProperty(exports, "fetchLatestOffering", {
|
|
116
116
|
enumerable: true,
|
|
117
|
-
get: function () { return
|
|
117
|
+
get: function () { return chunkHH5EMIXK_js.fetchLatestOffering; }
|
|
118
118
|
});
|
|
119
119
|
Object.defineProperty(exports, "fetchNextEvent", {
|
|
120
120
|
enumerable: true,
|
|
121
|
-
get: function () { return
|
|
121
|
+
get: function () { return chunkHH5EMIXK_js.fetchNextEvent; }
|
|
122
122
|
});
|
|
123
123
|
Object.defineProperty(exports, "fetchOffering", {
|
|
124
124
|
enumerable: true,
|
|
125
|
-
get: function () { return
|
|
125
|
+
get: function () { return chunkHH5EMIXK_js.fetchOffering; }
|
|
126
126
|
});
|
|
127
127
|
Object.defineProperty(exports, "fetchOfferings", {
|
|
128
128
|
enumerable: true,
|
|
129
|
-
get: function () { return
|
|
129
|
+
get: function () { return chunkHH5EMIXK_js.fetchOfferings; }
|
|
130
130
|
});
|
|
131
131
|
Object.defineProperty(exports, "fetchProcessorConfig", {
|
|
132
132
|
enumerable: true,
|
|
133
|
-
get: function () { return
|
|
133
|
+
get: function () { return chunkHH5EMIXK_js.fetchProcessorConfig; }
|
|
134
134
|
});
|
|
135
135
|
Object.defineProperty(exports, "fetchProductBySlug", {
|
|
136
136
|
enumerable: true,
|
|
137
|
-
get: function () { return
|
|
137
|
+
get: function () { return chunkHH5EMIXK_js.fetchProductBySlug; }
|
|
138
138
|
});
|
|
139
139
|
Object.defineProperty(exports, "fetchProducts", {
|
|
140
140
|
enumerable: true,
|
|
141
|
-
get: function () { return
|
|
141
|
+
get: function () { return chunkHH5EMIXK_js.fetchProducts; }
|
|
142
142
|
});
|
|
143
143
|
Object.defineProperty(exports, "fetchProductsPublic", {
|
|
144
144
|
enumerable: true,
|
|
145
|
-
get: function () { return
|
|
145
|
+
get: function () { return chunkHH5EMIXK_js.fetchProductsPublic; }
|
|
146
146
|
});
|
|
147
147
|
Object.defineProperty(exports, "fetchServices", {
|
|
148
148
|
enumerable: true,
|
|
149
|
-
get: function () { return
|
|
149
|
+
get: function () { return chunkHH5EMIXK_js.fetchServices; }
|
|
150
150
|
});
|
|
151
151
|
Object.defineProperty(exports, "fetchShippingRates", {
|
|
152
152
|
enumerable: true,
|
|
153
|
-
get: function () { return
|
|
153
|
+
get: function () { return chunkHH5EMIXK_js.fetchShippingRates; }
|
|
154
154
|
});
|
|
155
155
|
Object.defineProperty(exports, "fetchUpcomingEvents", {
|
|
156
156
|
enumerable: true,
|
|
157
|
-
get: function () { return
|
|
157
|
+
get: function () { return chunkHH5EMIXK_js.fetchUpcomingEvents; }
|
|
158
158
|
});
|
|
159
159
|
Object.defineProperty(exports, "formatDate", {
|
|
160
160
|
enumerable: true,
|
|
161
|
-
get: function () { return
|
|
161
|
+
get: function () { return chunkHH5EMIXK_js.formatDate; }
|
|
162
162
|
});
|
|
163
163
|
Object.defineProperty(exports, "formatDateRange", {
|
|
164
164
|
enumerable: true,
|
|
165
|
-
get: function () { return
|
|
165
|
+
get: function () { return chunkHH5EMIXK_js.formatDateRange; }
|
|
166
166
|
});
|
|
167
167
|
Object.defineProperty(exports, "formatDateTime", {
|
|
168
168
|
enumerable: true,
|
|
169
|
-
get: function () { return
|
|
169
|
+
get: function () { return chunkHH5EMIXK_js.formatDateTime; }
|
|
170
170
|
});
|
|
171
171
|
Object.defineProperty(exports, "formatPrice", {
|
|
172
172
|
enumerable: true,
|
|
173
|
-
get: function () { return
|
|
173
|
+
get: function () { return chunkHH5EMIXK_js.formatPrice; }
|
|
174
174
|
});
|
|
175
175
|
Object.defineProperty(exports, "formatTime", {
|
|
176
176
|
enumerable: true,
|
|
177
|
-
get: function () { return
|
|
177
|
+
get: function () { return chunkHH5EMIXK_js.formatTime; }
|
|
178
178
|
});
|
|
179
179
|
Object.defineProperty(exports, "getOfferingUrl", {
|
|
180
180
|
enumerable: true,
|
|
181
|
-
get: function () { return
|
|
181
|
+
get: function () { return chunkHH5EMIXK_js.getOfferingUrl; }
|
|
182
182
|
});
|
|
183
183
|
Object.defineProperty(exports, "getRelativeTimeUntil", {
|
|
184
184
|
enumerable: true,
|
|
185
|
-
get: function () { return
|
|
185
|
+
get: function () { return chunkHH5EMIXK_js.getRelativeTimeUntil; }
|
|
186
186
|
});
|
|
187
187
|
Object.defineProperty(exports, "getSpotsRemaining", {
|
|
188
188
|
enumerable: true,
|
|
189
|
-
get: function () { return
|
|
189
|
+
get: function () { return chunkHH5EMIXK_js.getSpotsRemaining; }
|
|
190
190
|
});
|
|
191
191
|
Object.defineProperty(exports, "googleCalendarUrl", {
|
|
192
192
|
enumerable: true,
|
|
193
|
-
get: function () { return
|
|
193
|
+
get: function () { return chunkHH5EMIXK_js.googleCalendarUrl; }
|
|
194
194
|
});
|
|
195
195
|
Object.defineProperty(exports, "icsForEvent", {
|
|
196
196
|
enumerable: true,
|
|
197
|
-
get: function () { return
|
|
197
|
+
get: function () { return chunkHH5EMIXK_js.icsForEvent; }
|
|
198
198
|
});
|
|
199
199
|
Object.defineProperty(exports, "icsResponse", {
|
|
200
200
|
enumerable: true,
|
|
201
|
-
get: function () { return
|
|
201
|
+
get: function () { return chunkHH5EMIXK_js.icsResponse; }
|
|
202
202
|
});
|
|
203
203
|
Object.defineProperty(exports, "isEventSoldOut", {
|
|
204
204
|
enumerable: true,
|
|
205
|
-
get: function () { return
|
|
205
|
+
get: function () { return chunkHH5EMIXK_js.isEventSoldOut; }
|
|
206
206
|
});
|
|
207
207
|
Object.defineProperty(exports, "registerForEvent", {
|
|
208
208
|
enumerable: true,
|
|
209
|
-
get: function () { return
|
|
209
|
+
get: function () { return chunkHH5EMIXK_js.registerForEvent; }
|
|
210
210
|
});
|
|
211
211
|
Object.defineProperty(exports, "shippingSelection", {
|
|
212
212
|
enumerable: true,
|
|
213
|
-
get: function () { return
|
|
213
|
+
get: function () { return chunkHH5EMIXK_js.shippingSelection; }
|
|
214
214
|
});
|
|
215
215
|
Object.defineProperty(exports, "useEventModal", {
|
|
216
216
|
enumerable: true,
|
|
217
|
-
get: function () { return
|
|
217
|
+
get: function () { return chunkHH5EMIXK_js.useEventModal; }
|
|
218
218
|
});
|
|
219
219
|
Object.defineProperty(exports, "validateAddress", {
|
|
220
220
|
enumerable: true,
|
|
221
|
-
get: function () { return
|
|
221
|
+
get: function () { return chunkHH5EMIXK_js.validateAddress; }
|
|
222
222
|
});
|
|
223
223
|
Object.defineProperty(exports, "validateDiscountCode", {
|
|
224
224
|
enumerable: true,
|
|
225
|
-
get: function () { return
|
|
225
|
+
get: function () { return chunkHH5EMIXK_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-CJ5YPYAE.mjs';
|
|
3
3
|
import '../chunk-64BOVMXG.mjs';
|
|
4
|
-
import '../chunk-
|
|
4
|
+
import '../chunk-3E7ZXPOB.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-6ZMEJSNX.mjs';
|
|
11
|
+
import '../chunk-YCA4KCRF.mjs';
|
|
12
|
+
import '../chunk-HQWPCX3N.mjs';
|
|
13
13
|
import '../chunk-BEXTDHO4.mjs';
|
|
14
14
|
//# sourceMappingURL=index.mjs.map
|
|
15
15
|
//# sourceMappingURL=index.mjs.map
|
|
@@ -0,0 +1,74 @@
|
|
|
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 per page: at the layout root for a site-wide bar, or inside
|
|
19
|
+
* a page for a page-specific one. It's a labelled <aside>, which is valid at
|
|
20
|
+
* either depth (axe 4.13 retired the rule that wanted complementary
|
|
21
|
+
* landmarks top level; the fixture app runs axe on both placements). Never
|
|
22
|
+
* inside a blurred header: backdrop-filter on an ancestor turns it into the
|
|
23
|
+
* containing block for this fixed bar.
|
|
24
|
+
*/
|
|
25
|
+
import * as React from 'react';
|
|
26
|
+
import { type CtaBarBreakpoint } from './styles';
|
|
27
|
+
export interface CtaBarProps {
|
|
28
|
+
children: React.ReactNode;
|
|
29
|
+
/** Accessible name of the bar's landmark. Default "Quick actions". */
|
|
30
|
+
label?: string;
|
|
31
|
+
/** The bar is hidden at this width and above. `none` shows it at every width. Default `lg` (1024px). */
|
|
32
|
+
breakpoint?: CtaBarBreakpoint;
|
|
33
|
+
/** `fill` stretches actions across the bar; `fit` hugs a single action in a centred capsule. Default `fill`. */
|
|
34
|
+
layout?: 'fill' | 'fit';
|
|
35
|
+
/**
|
|
36
|
+
* CSS selector. The bar stays off screen until this element has scrolled
|
|
37
|
+
* off the top, e.g. the hero's own CTA. If nothing matches, the bar shows.
|
|
38
|
+
*/
|
|
39
|
+
showAfter?: string;
|
|
40
|
+
/** CSS selector(s). The bar steps aside while any match is on screen, e.g. the form it points at, or the footer. */
|
|
41
|
+
hideOver?: string | string[];
|
|
42
|
+
/** Hide while a text field has focus (the keyboard is up). Default true. */
|
|
43
|
+
hideWhileTyping?: boolean;
|
|
44
|
+
/** Tighten while scrolling down, restore on scroll up. Default true. */
|
|
45
|
+
compactOnScroll?: boolean;
|
|
46
|
+
/** Lift the Echo launcher above the bar while the bar is on screen. Default true. */
|
|
47
|
+
echoClearance?: boolean;
|
|
48
|
+
/** Reserve the bar's height at the end of the page so it never covers the footer. Default true. */
|
|
49
|
+
spacer?: boolean;
|
|
50
|
+
/** Send a `cta_click` analytics event for each action tap. Default true. */
|
|
51
|
+
track?: boolean;
|
|
52
|
+
className?: string;
|
|
53
|
+
id?: string;
|
|
54
|
+
}
|
|
55
|
+
export declare function CtaBar({ children, label, breakpoint, layout, showAfter, hideOver, hideWhileTyping, compactOnScroll, echoClearance, spacer, track, className, id, }: CtaBarProps): React.JSX.Element;
|
|
56
|
+
type CtaBarActionOwnProps = {
|
|
57
|
+
/** Element or component to render, e.g. Next's Link. Default: `a` with an href, `button` without. */
|
|
58
|
+
as?: React.ElementType;
|
|
59
|
+
/** Leading icon; decorative, hidden from assistive tech. */
|
|
60
|
+
icon?: React.ReactNode;
|
|
61
|
+
/** `primary` = solid brand, `secondary` = tinted glass, `plain` = layout only (style it yourself). Default `primary`. */
|
|
62
|
+
variant?: 'primary' | 'secondary' | 'plain';
|
|
63
|
+
/**
|
|
64
|
+
* Fold to icon-only while the bar is compact. Default: true for a
|
|
65
|
+
* secondary action with an icon. The label stays in the accessible name.
|
|
66
|
+
*/
|
|
67
|
+
collapse?: boolean;
|
|
68
|
+
children: React.ReactNode;
|
|
69
|
+
className?: string;
|
|
70
|
+
};
|
|
71
|
+
export type CtaBarActionProps = CtaBarActionOwnProps & Omit<React.AnchorHTMLAttributes<HTMLAnchorElement>, keyof CtaBarActionOwnProps> & Omit<React.ButtonHTMLAttributes<HTMLButtonElement>, keyof CtaBarActionOwnProps | keyof React.AnchorHTMLAttributes<HTMLAnchorElement>>;
|
|
72
|
+
export declare function CtaBarAction({ as, icon, variant, collapse, children, className, ...rest }: CtaBarActionProps): React.JSX.Element;
|
|
73
|
+
export {};
|
|
74
|
+
//# 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;;;;;;;;;;;;;;;;;;;;;;;GAuBG;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"}
|