@rudra-studio/smileyyfy-core 0.0.0-stage → 1.0.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 +6 -2
- package/components/AnimatedStorySprite/index.d.ts +17 -0
- package/components/AnimatedStorySprite/index.js +141 -0
- package/components/AnimatedStorySprite/styles.css +1 -0
- package/components/AnimatedStorySprite/styles.js +45 -0
- package/components/FloatingHeartsCanvas/index.d.ts +16 -0
- package/components/FloatingHeartsCanvas/index.js +101 -0
- package/components/FloatingHeartsCanvas/styles.css +1 -0
- package/components/FloatingHeartsCanvas/styles.js +19 -0
- package/components/GoogleSignInButton/index.d.ts +33 -0
- package/components/GoogleSignInButton/index.js +89 -0
- package/components/GoogleSignInButton/styles.css +1 -0
- package/components/GoogleSignInButton/styles.js +23 -0
- package/components/InvitationDashboardOverview/index.d.ts +22 -0
- package/components/InvitationDashboardOverview/index.js +341 -0
- package/components/InvitationDashboardOverview/styles.css +1 -0
- package/components/InvitationDashboardOverview/styles.js +47 -0
- package/components/LoveProposalStage/index.d.ts +27 -0
- package/components/LoveProposalStage/index.js +289 -0
- package/components/LoveProposalStage/styles.css +1 -0
- package/components/LoveProposalStage/styles.js +51 -0
- package/components/OccasionTemplateGallery/index.d.ts +13 -0
- package/components/OccasionTemplateGallery/index.js +159 -0
- package/components/OccasionTemplateGallery/styles.css +1 -0
- package/components/OccasionTemplateGallery/styles.js +25 -0
- package/components/PageCanvasBuilder/index.d.ts +21 -0
- package/components/PageCanvasBuilder/index.js +1227 -0
- package/components/PageCanvasBuilder/styles.css +1 -0
- package/components/PageCanvasBuilder/styles.js +180 -0
- package/components/PublishedPageViewer/index.d.ts +24 -0
- package/components/PublishedPageViewer/index.js +766 -0
- package/components/PublishedPageViewer/styles.css +1 -0
- package/components/PublishedPageViewer/styles.js +130 -0
- package/components/RsvpParticipantTracker/index.d.ts +17 -0
- package/components/RsvpParticipantTracker/index.js +257 -0
- package/components/RsvpParticipantTracker/styles.css +1 -0
- package/components/RsvpParticipantTracker/styles.js +37 -0
- package/components/SmileyyfyLandingShowcase/index.d.ts +35 -0
- package/components/SmileyyfyLandingShowcase/index.js +376 -0
- package/components/SmileyyfyLandingShowcase/styles.css +1 -0
- package/components/SmileyyfyLandingShowcase/styles.js +56 -0
- package/components/SmileyyfyNavbar/index.d.ts +16 -0
- package/components/SmileyyfyNavbar/index.js +67 -0
- package/components/SmileyyfyNavbar/styles.css +1 -0
- package/components/SmileyyfyNavbar/styles.js +16 -0
- package/components/WeddingInviteBuilder/index.d.ts +25 -0
- package/components/WeddingInviteBuilder/index.js +303 -0
- package/components/WeddingInviteBuilder/styles.css +1 -0
- package/components/WeddingInviteBuilder/styles.js +39 -0
- package/components/YouTubeMediaWidget/index.d.ts +18 -0
- package/components/YouTubeMediaWidget/index.js +108 -0
- package/components/YouTubeMediaWidget/styles.css +1 -0
- package/components/YouTubeMediaWidget/styles.js +24 -0
- package/index.d.ts +20 -0
- package/index.js +21 -0
- package/package.json +37 -4
- package/utils/FloatingStyleType.d.ts +2 -0
- package/utils/InviteConfigPayload.d.ts +13 -0
- package/utils/OccasionTemplateItem.d.ts +10 -0
- package/utils/ProposalPhotoItem.d.ts +5 -0
- package/utils/RsvpGuestRecord.d.ts +9 -0
- package/utils/SmileyyfyBaseTemplate.d.ts +11 -0
- package/utils/SmileyyfyCanvasBlock.d.ts +7 -0
- package/utils/SmileyyfyDashboardInvitation.d.ts +12 -0
- package/utils/SmileyyfyLanguageOption.d.ts +5 -0
- package/utils/SmileyyfyPageSnapshot.d.ts +9 -0
- package/utils/SmileyyfyPublishedPageData.d.ts +15 -0
- package/utils/SmileyyfyWidgetCategory.d.ts +2 -0
- package/utils/SmileyyfyWidgetDefinition.d.ts +13 -0
- package/utils/SmileyyfyWidgetField.d.ts +12 -0
- package/utils/StarterPresetType.d.ts +2 -0
- package/utils/StorySpriteScene.d.ts +2 -0
- package/utils/SurfaceKeyType.d.ts +2 -0
- package/utils/buildStarterBlocks.d.ts +4 -0
- package/utils/buildStarterBlocks.js +62 -0
- package/utils/defaultBaseTemplates.d.ts +3 -0
- package/utils/defaultBaseTemplates.js +117 -0
- package/utils/defaultLanguages.d.ts +3 -0
- package/utils/defaultLanguages.js +10 -0
- package/utils/defaultWidgetRegistry.d.ts +3 -0
- package/utils/defaultWidgetRegistry.js +628 -0
- package/utils/extractYouTubeId.d.ts +1 -0
- package/utils/extractYouTubeId.js +18 -0
- package/utils/getPresetTemplateId.d.ts +2 -0
- package/utils/getPresetTemplateId.js +12 -0
- package/utils/suggestedLanguages.d.ts +3 -0
- package/utils/suggestedLanguages.js +33 -0
package/README.md
CHANGED
|
@@ -1,3 +1,7 @@
|
|
|
1
|
-
#
|
|
1
|
+
# smileyyfy-core
|
|
2
2
|
|
|
3
|
-
This
|
|
3
|
+
This library was generated with [Nx](https://nx.dev).
|
|
4
|
+
|
|
5
|
+
## Running unit tests
|
|
6
|
+
|
|
7
|
+
Run `nx test smileyyfy-core` to execute the unit tests via [Vitest](https://vitest.dev/).
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { default as StorySpriteScene } from '../../utils/StorySpriteScene';
|
|
2
|
+
interface AnimatedStorySpriteProps {
|
|
3
|
+
/** @select|light|dark */
|
|
4
|
+
themeMode?: 'light' | 'dark';
|
|
5
|
+
/** @select|couple_hands|baby_walk|ring_sparkle|dancing_hearts|cake_celebration|custom_sprite */
|
|
6
|
+
scene?: StorySpriteScene;
|
|
7
|
+
/** @translate */
|
|
8
|
+
caption?: string;
|
|
9
|
+
/** @type|string */
|
|
10
|
+
leftEmoji?: string;
|
|
11
|
+
/** @type|string */
|
|
12
|
+
rightEmoji?: string;
|
|
13
|
+
/** @type|string */
|
|
14
|
+
spriteSheetUrl?: string;
|
|
15
|
+
}
|
|
16
|
+
declare function AnimatedStorySprite({ themeMode, scene, caption, leftEmoji, rightEmoji, spriteSheetUrl, }: AnimatedStorySpriteProps): import("react/jsx-runtime").JSX.Element;
|
|
17
|
+
export default AnimatedStorySprite;
|
|
@@ -0,0 +1,141 @@
|
|
|
1
|
+
import e from "./styles.js";
|
|
2
|
+
import { useEffect as t, useState as n } from "react";
|
|
3
|
+
import { jsx as r, jsxs as i } from "react/jsx-runtime";
|
|
4
|
+
//#region src/components/AnimatedStorySprite/index.tsx
|
|
5
|
+
function a({ themeMode: a = "light", scene: o = "couple_hands", caption: s = "Walking Hand in Hand Forever", leftEmoji: c = "🤵", rightEmoji: l = "👰", spriteSheetUrl: u = "" }) {
|
|
6
|
+
let [d, f] = n(!0), [p, m] = n(0);
|
|
7
|
+
return t(() => {
|
|
8
|
+
if (!d || o !== "custom_sprite" || !u) return;
|
|
9
|
+
let e = window.setInterval(() => m((e) => (e + 1) % 6), 140);
|
|
10
|
+
return () => window.clearInterval(e);
|
|
11
|
+
}, [
|
|
12
|
+
d,
|
|
13
|
+
o,
|
|
14
|
+
u
|
|
15
|
+
]), /* @__PURE__ */ i("div", {
|
|
16
|
+
className: `${e.box} ${e[`mode_${a}`] || e.mode_light} ${d ? "" : e.paused}`,
|
|
17
|
+
children: [/* @__PURE__ */ i("div", {
|
|
18
|
+
className: e.stage,
|
|
19
|
+
"aria-hidden": "true",
|
|
20
|
+
children: [
|
|
21
|
+
o === "couple_hands" && /* @__PURE__ */ i("div", {
|
|
22
|
+
className: e.coupleScene,
|
|
23
|
+
children: [
|
|
24
|
+
/* @__PURE__ */ r("span", {
|
|
25
|
+
className: e.leftChar,
|
|
26
|
+
children: c || "🤵"
|
|
27
|
+
}),
|
|
28
|
+
/* @__PURE__ */ r("span", {
|
|
29
|
+
className: e.handsBridge,
|
|
30
|
+
children: "🤝"
|
|
31
|
+
}),
|
|
32
|
+
/* @__PURE__ */ r("span", {
|
|
33
|
+
className: e.heartPop,
|
|
34
|
+
children: "💖"
|
|
35
|
+
}),
|
|
36
|
+
/* @__PURE__ */ r("span", {
|
|
37
|
+
className: e.rightChar,
|
|
38
|
+
children: l || "👰"
|
|
39
|
+
})
|
|
40
|
+
]
|
|
41
|
+
}),
|
|
42
|
+
o === "baby_walk" && /* @__PURE__ */ i("div", {
|
|
43
|
+
className: e.babyScene,
|
|
44
|
+
children: [
|
|
45
|
+
/* @__PURE__ */ r("div", {
|
|
46
|
+
className: e.footprintTrail,
|
|
47
|
+
children: "👣 \xA0 👣 \xA0 👣"
|
|
48
|
+
}),
|
|
49
|
+
/* @__PURE__ */ r("div", {
|
|
50
|
+
className: e.babyWalker,
|
|
51
|
+
children: "👶"
|
|
52
|
+
}),
|
|
53
|
+
/* @__PURE__ */ r("div", {
|
|
54
|
+
className: e.babyGoal,
|
|
55
|
+
children: "🍼✨"
|
|
56
|
+
})
|
|
57
|
+
]
|
|
58
|
+
}),
|
|
59
|
+
o === "ring_sparkle" && /* @__PURE__ */ i("div", {
|
|
60
|
+
className: e.ringScene,
|
|
61
|
+
children: [
|
|
62
|
+
/* @__PURE__ */ r("span", {
|
|
63
|
+
className: e.sparkleOrbit,
|
|
64
|
+
children: "✨"
|
|
65
|
+
}),
|
|
66
|
+
/* @__PURE__ */ r("span", {
|
|
67
|
+
className: e.ringHero,
|
|
68
|
+
children: "💍"
|
|
69
|
+
}),
|
|
70
|
+
/* @__PURE__ */ r("span", {
|
|
71
|
+
className: e.sparkleOrbitAlt,
|
|
72
|
+
children: "💖"
|
|
73
|
+
})
|
|
74
|
+
]
|
|
75
|
+
}),
|
|
76
|
+
o === "dancing_hearts" && /* @__PURE__ */ i("div", {
|
|
77
|
+
className: e.danceScene,
|
|
78
|
+
children: [
|
|
79
|
+
/* @__PURE__ */ r("span", {
|
|
80
|
+
className: e.musicFloat,
|
|
81
|
+
children: "🎶"
|
|
82
|
+
}),
|
|
83
|
+
/* @__PURE__ */ r("span", {
|
|
84
|
+
className: e.dancerA,
|
|
85
|
+
children: "💃"
|
|
86
|
+
}),
|
|
87
|
+
/* @__PURE__ */ r("span", {
|
|
88
|
+
className: e.dancerB,
|
|
89
|
+
children: "🕺"
|
|
90
|
+
}),
|
|
91
|
+
/* @__PURE__ */ r("span", {
|
|
92
|
+
className: e.musicFloatAlt,
|
|
93
|
+
children: "🎵"
|
|
94
|
+
})
|
|
95
|
+
]
|
|
96
|
+
}),
|
|
97
|
+
o === "cake_celebration" && /* @__PURE__ */ i("div", {
|
|
98
|
+
className: e.cakeScene,
|
|
99
|
+
children: [
|
|
100
|
+
/* @__PURE__ */ r("span", {
|
|
101
|
+
className: e.balloonLeft,
|
|
102
|
+
children: "🎈"
|
|
103
|
+
}),
|
|
104
|
+
/* @__PURE__ */ r("span", {
|
|
105
|
+
className: e.cakeHero,
|
|
106
|
+
children: "🎂"
|
|
107
|
+
}),
|
|
108
|
+
/* @__PURE__ */ r("span", {
|
|
109
|
+
className: e.balloonRight,
|
|
110
|
+
children: "🎉"
|
|
111
|
+
})
|
|
112
|
+
]
|
|
113
|
+
}),
|
|
114
|
+
o === "custom_sprite" && (u ? /* @__PURE__ */ r("div", {
|
|
115
|
+
className: e.customSpriteFrame,
|
|
116
|
+
style: {
|
|
117
|
+
backgroundImage: `url(${u})`,
|
|
118
|
+
backgroundSize: "600% 100%",
|
|
119
|
+
backgroundPosition: `${p / 5 * 100}% 0%`
|
|
120
|
+
}
|
|
121
|
+
}) : /* @__PURE__ */ r("div", {
|
|
122
|
+
className: e.customStub,
|
|
123
|
+
children: "🖼️ Add a horizontal sprite sheet URL"
|
|
124
|
+
}))
|
|
125
|
+
]
|
|
126
|
+
}), /* @__PURE__ */ i("div", {
|
|
127
|
+
className: e.footer,
|
|
128
|
+
children: [/* @__PURE__ */ r("span", {
|
|
129
|
+
className: e.caption,
|
|
130
|
+
children: s
|
|
131
|
+
}), /* @__PURE__ */ r("button", {
|
|
132
|
+
type: "button",
|
|
133
|
+
className: e.toggleBtn,
|
|
134
|
+
onClick: () => f((e) => !e),
|
|
135
|
+
children: d ? "⏸ Pause" : "▶ Play"
|
|
136
|
+
})]
|
|
137
|
+
})]
|
|
138
|
+
});
|
|
139
|
+
}
|
|
140
|
+
//#endregion
|
|
141
|
+
export { a as default };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
._box_lhv3x_1{box-sizing:border-box;border-radius:18px;flex-direction:column;gap:10px;width:100%;padding:14px 16px;font-family:system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;display:flex}._mode_light_lhv3x_12{color:#1f172a;background:#ffffffd9;border:1px solid #ec489940}._mode_dark_lhv3x_18{color:#fdf2f8;background:#0f172adb;border:1px solid #f472b647}._stage_lhv3x_24{background:#ec489914;border-radius:14px;justify-content:center;align-items:center;height:112px;display:flex;position:relative;overflow:hidden}._paused_lhv3x_35 *{animation-play-state:paused!important}._coupleScene_lhv3x_39{justify-content:center;align-items:center;width:240px;height:80px;display:flex;position:relative}._leftChar_lhv3x_48,._rightChar_lhv3x_49{font-size:2.3rem;position:absolute;bottom:12px}._leftChar_lhv3x_48{animation:3.4s ease-in-out infinite _coupleWalkLeft_lhv3x_1;left:16px}._rightChar_lhv3x_49{animation:3.4s ease-in-out infinite _coupleWalkRight_lhv3x_1;right:16px}._handsBridge_lhv3x_65{opacity:0;font-size:1.5rem;animation:3.4s ease-in-out infinite _handsJoinPop_lhv3x_1;position:absolute;bottom:18px}._heartPop_lhv3x_73{opacity:0;font-size:1.6rem;animation:3.4s ease-in-out infinite _heartBurstPop_lhv3x_1;position:absolute;top:4px}@keyframes _coupleWalkLeft_lhv3x_1{0%,to{transform:translate(0)translateY(0)}45%,70%{transform:translate(62px)translateY(-4px)}}@keyframes _coupleWalkRight_lhv3x_1{0%,to{transform:translate(0)translateY(0)}45%,70%{transform:translate(-62px)translateY(-4px)}}@keyframes _handsJoinPop_lhv3x_1{0%,38%{opacity:0;transform:scale(.5)}50%,72%{opacity:1;transform:scale(1.15)}to{opacity:0;transform:scale(.7)}}@keyframes _heartBurstPop_lhv3x_1{0%,40%{opacity:0;transform:translateY(14px)scale(.5)}55%,75%{opacity:1;transform:translateY(-6px)scale(1.25)}to{opacity:0;transform:translateY(-22px)scale(.9)}}._babyScene_lhv3x_125{align-items:center;width:100%;max-width:320px;height:82px;display:flex;position:relative}._footprintTrail_lhv3x_134{opacity:.55;font-size:.95rem;position:absolute;bottom:10px;left:24px}._babyWalker_lhv3x_142{font-size:2.3rem;animation:4.2s ease-in-out infinite _babyWaddle_lhv3x_1;position:absolute;bottom:18px;left:16px}._babyGoal_lhv3x_150{font-size:1.7rem;position:absolute;bottom:20px;right:18px}@keyframes _babyWaddle_lhv3x_1{0%{transform:translate(0)rotate(-8deg)translateY(0)}25%{transform:translate(58px)rotate(8deg)translateY(-7px)}50%{transform:translate(116px)rotate(-8deg)translateY(0)}75%{transform:translate(174px)rotate(8deg)translateY(-7px)}to{transform:translate(210px)rotate(0)translateY(0)}}._ringScene_lhv3x_174{align-items:center;gap:16px;display:flex}._ringHero_lhv3x_180{font-size:2.7rem;animation:2.4s ease-in-out infinite _ringFloat_lhv3x_1}._sparkleOrbit_lhv3x_185,._sparkleOrbitAlt_lhv3x_186{font-size:1.4rem;animation:1.6s ease-in-out infinite alternate _sparklePulse_lhv3x_1}._sparkleOrbitAlt_lhv3x_186{animation-delay:.6s}@keyframes _ringFloat_lhv3x_1{0%,to{transform:translateY(4px)scale(.96)}50%{transform:translateY(-8px)scale(1.1)}}@keyframes _sparklePulse_lhv3x_1{0%{opacity:.35;transform:scale(.8)rotate(-10deg)}to{opacity:1;transform:scale(1.25)rotate(12deg)}}._danceScene_lhv3x_213{align-items:center;gap:12px;display:flex}._dancerA_lhv3x_219,._dancerB_lhv3x_220{font-size:2.3rem;animation:1.4s ease-in-out infinite alternate _danceSway_lhv3x_1}._dancerB_lhv3x_220{animation-delay:.35s}._musicFloat_lhv3x_229,._musicFloatAlt_lhv3x_230{font-size:1.35rem;animation:1.8s ease-in-out infinite _ringFloat_lhv3x_1}@keyframes _danceSway_lhv3x_1{0%{transform:rotate(-10deg)translateY(2px)}to{transform:rotate(10deg)translateY(-6px)}}._cakeScene_lhv3x_243{align-items:center;gap:18px;display:flex}._cakeHero_lhv3x_249{font-size:2.6rem;animation:1.8s ease-in-out infinite alternate _sparklePulse_lhv3x_1}._balloonLeft_lhv3x_254,._balloonRight_lhv3x_255{font-size:1.9rem;animation:2.2s ease-in-out infinite _ringFloat_lhv3x_1}._balloonRight_lhv3x_255{animation-delay:.5s}._customSpriteFrame_lhv3x_264{background-repeat:no-repeat;width:88px;height:88px}._customStub_lhv3x_270{opacity:.8;font-size:.82rem}._footer_lhv3x_275{justify-content:space-between;align-items:center;gap:10px;display:flex}._caption_lhv3x_282{font-size:.86rem;font-weight:800}._toggleBtn_lhv3x_287{color:inherit;cursor:pointer;background:0 0;border:1px solid #ec489959;border-radius:999px;padding:5px 12px;font-size:.74rem;font-weight:700}@media (prefers-reduced-motion:reduce){._stage_lhv3x_24 *{animation:none!important}}
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
//#region src/components/AnimatedStorySprite/styles.module.scss
|
|
2
|
+
var e = "_box_lhv3x_1", t = "_mode_light_lhv3x_12", n = "_mode_dark_lhv3x_18", r = "_stage_lhv3x_24", i = "_paused_lhv3x_35", a = "_coupleScene_lhv3x_39", o = "_leftChar_lhv3x_48", s = "_rightChar_lhv3x_49", c = "_coupleWalkLeft_lhv3x_1", l = "_coupleWalkRight_lhv3x_1", u = "_handsBridge_lhv3x_65", d = "_handsJoinPop_lhv3x_1", f = "_heartPop_lhv3x_73", p = "_heartBurstPop_lhv3x_1", m = "_babyScene_lhv3x_125", h = "_footprintTrail_lhv3x_134", g = "_babyWalker_lhv3x_142", _ = "_babyWaddle_lhv3x_1", v = "_babyGoal_lhv3x_150", y = "_ringScene_lhv3x_174", b = "_ringHero_lhv3x_180", x = "_ringFloat_lhv3x_1", S = "_sparkleOrbit_lhv3x_185", C = "_sparkleOrbitAlt_lhv3x_186", w = "_sparklePulse_lhv3x_1", T = "_danceScene_lhv3x_213", E = "_dancerA_lhv3x_219", D = "_dancerB_lhv3x_220", O = "_danceSway_lhv3x_1", k = "_musicFloat_lhv3x_229", A = "_musicFloatAlt_lhv3x_230", j = "_cakeScene_lhv3x_243", M = "_cakeHero_lhv3x_249", N = "_balloonLeft_lhv3x_254", P = "_balloonRight_lhv3x_255", F = "_customSpriteFrame_lhv3x_264", I = "_customStub_lhv3x_270", L = "_footer_lhv3x_275", R = "_caption_lhv3x_282", z = "_toggleBtn_lhv3x_287", B = {
|
|
3
|
+
box: e,
|
|
4
|
+
mode_light: t,
|
|
5
|
+
mode_dark: n,
|
|
6
|
+
stage: r,
|
|
7
|
+
paused: i,
|
|
8
|
+
coupleScene: a,
|
|
9
|
+
leftChar: o,
|
|
10
|
+
rightChar: s,
|
|
11
|
+
coupleWalkLeft: c,
|
|
12
|
+
coupleWalkRight: l,
|
|
13
|
+
handsBridge: u,
|
|
14
|
+
handsJoinPop: d,
|
|
15
|
+
heartPop: f,
|
|
16
|
+
heartBurstPop: p,
|
|
17
|
+
babyScene: m,
|
|
18
|
+
footprintTrail: h,
|
|
19
|
+
babyWalker: g,
|
|
20
|
+
babyWaddle: _,
|
|
21
|
+
babyGoal: v,
|
|
22
|
+
ringScene: y,
|
|
23
|
+
ringHero: b,
|
|
24
|
+
ringFloat: x,
|
|
25
|
+
sparkleOrbit: S,
|
|
26
|
+
sparkleOrbitAlt: C,
|
|
27
|
+
sparklePulse: w,
|
|
28
|
+
danceScene: T,
|
|
29
|
+
dancerA: E,
|
|
30
|
+
dancerB: D,
|
|
31
|
+
danceSway: O,
|
|
32
|
+
musicFloat: k,
|
|
33
|
+
musicFloatAlt: A,
|
|
34
|
+
cakeScene: j,
|
|
35
|
+
cakeHero: M,
|
|
36
|
+
balloonLeft: N,
|
|
37
|
+
balloonRight: P,
|
|
38
|
+
customSpriteFrame: F,
|
|
39
|
+
customStub: I,
|
|
40
|
+
footer: L,
|
|
41
|
+
caption: R,
|
|
42
|
+
toggleBtn: z
|
|
43
|
+
};
|
|
44
|
+
//#endregion
|
|
45
|
+
export { v as babyGoal, m as babyScene, _ as babyWaddle, g as babyWalker, N as balloonLeft, P as balloonRight, e as box, M as cakeHero, j as cakeScene, R as caption, a as coupleScene, c as coupleWalkLeft, l as coupleWalkRight, F as customSpriteFrame, I as customStub, T as danceScene, O as danceSway, E as dancerA, D as dancerB, B as default, L as footer, h as footprintTrail, u as handsBridge, d as handsJoinPop, p as heartBurstPop, f as heartPop, o as leftChar, n as mode_dark, t as mode_light, k as musicFloat, A as musicFloatAlt, i as paused, s as rightChar, x as ringFloat, b as ringHero, y as ringScene, S as sparkleOrbit, C as sparkleOrbitAlt, w as sparklePulse, r as stage, z as toggleBtn };
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
interface FloatingHeartsCanvasProps {
|
|
2
|
+
/** @select|light|dark */
|
|
3
|
+
themeMode?: 'light' | 'dark';
|
|
4
|
+
/** @select|hearts|confetti|sparkles|petals */
|
|
5
|
+
effectType?: 'hearts' | 'confetti' | 'sparkles' | 'petals';
|
|
6
|
+
/** @select|soft|festive|burst */
|
|
7
|
+
intensity?: 'soft' | 'festive' | 'burst';
|
|
8
|
+
/** @translate */
|
|
9
|
+
bannerTitle?: string;
|
|
10
|
+
/** @translate */
|
|
11
|
+
bannerSubtitle?: string;
|
|
12
|
+
/** @schema {"type":"boolean"} */
|
|
13
|
+
active?: boolean;
|
|
14
|
+
}
|
|
15
|
+
declare function FloatingHeartsCanvas({ themeMode, effectType, intensity, bannerTitle, bannerSubtitle, active, }: FloatingHeartsCanvasProps): import("react/jsx-runtime").JSX.Element;
|
|
16
|
+
export default FloatingHeartsCanvas;
|
|
@@ -0,0 +1,101 @@
|
|
|
1
|
+
import e from "./styles.js";
|
|
2
|
+
import { useState as t } from "react";
|
|
3
|
+
import { jsx as n, jsxs as r } from "react/jsx-runtime";
|
|
4
|
+
//#region src/components/FloatingHeartsCanvas/index.tsx
|
|
5
|
+
var i = {
|
|
6
|
+
hearts: [
|
|
7
|
+
"💖",
|
|
8
|
+
"💕",
|
|
9
|
+
"💗",
|
|
10
|
+
"💘",
|
|
11
|
+
"❤️"
|
|
12
|
+
],
|
|
13
|
+
confetti: [
|
|
14
|
+
"🎉",
|
|
15
|
+
"🎊",
|
|
16
|
+
"✨",
|
|
17
|
+
"🎈",
|
|
18
|
+
"🌟"
|
|
19
|
+
],
|
|
20
|
+
sparkles: [
|
|
21
|
+
"✨",
|
|
22
|
+
"⭐",
|
|
23
|
+
"💫",
|
|
24
|
+
"🌟",
|
|
25
|
+
"💎"
|
|
26
|
+
],
|
|
27
|
+
petals: [
|
|
28
|
+
"🌸",
|
|
29
|
+
"🌹",
|
|
30
|
+
"🌺",
|
|
31
|
+
"🌷",
|
|
32
|
+
"💮"
|
|
33
|
+
]
|
|
34
|
+
};
|
|
35
|
+
function a({ themeMode: a = "light", effectType: o = "hearts", intensity: s = "festive", bannerTitle: c = "Make Every Moment Unforgettable", bannerSubtitle: l = "Create wedding invites, love proposals with flying buttons & hearts, and custom celebration websites in minutes.", active: u = !0 }) {
|
|
36
|
+
let [d, f] = t(o), [p, m] = t(!1), h = i[d] || i.hearts, g = s === "burst" ? 22 : s === "festive" ? 14 : 8, _ = p ? g + 10 : g;
|
|
37
|
+
return /* @__PURE__ */ r("section", {
|
|
38
|
+
className: `${e.stage} ${e[`mode_${a}`] || e.mode_light}`,
|
|
39
|
+
children: [u && /* @__PURE__ */ n("div", {
|
|
40
|
+
className: e.particleLayer,
|
|
41
|
+
"aria-hidden": "true",
|
|
42
|
+
children: Array.from({ length: _ }, (t, r) => {
|
|
43
|
+
let i = (r * 37 + 9) % 94, a = r % 7 * .55, o = 3.8 + r % 5 * .9, s = 1.1 + r % 4 * .35;
|
|
44
|
+
return /* @__PURE__ */ n("span", {
|
|
45
|
+
className: e.particle,
|
|
46
|
+
style: {
|
|
47
|
+
left: `${i}%`,
|
|
48
|
+
animationDelay: `${a}s`,
|
|
49
|
+
animationDuration: `${o}s`,
|
|
50
|
+
fontSize: `${s}rem`
|
|
51
|
+
},
|
|
52
|
+
children: h[r % h.length]
|
|
53
|
+
}, `${d}-${r}`);
|
|
54
|
+
})
|
|
55
|
+
}), /* @__PURE__ */ r("div", {
|
|
56
|
+
className: e.content,
|
|
57
|
+
children: [
|
|
58
|
+
/* @__PURE__ */ n("span", {
|
|
59
|
+
className: e.pill,
|
|
60
|
+
children: "✨ Smileyyfy Interactive Celebration Studio"
|
|
61
|
+
}),
|
|
62
|
+
/* @__PURE__ */ n("h1", {
|
|
63
|
+
className: e.title,
|
|
64
|
+
children: c
|
|
65
|
+
}),
|
|
66
|
+
/* @__PURE__ */ n("p", {
|
|
67
|
+
className: e.subtitle,
|
|
68
|
+
children: l
|
|
69
|
+
}),
|
|
70
|
+
/* @__PURE__ */ r("div", {
|
|
71
|
+
className: e.controls,
|
|
72
|
+
children: [[
|
|
73
|
+
"hearts",
|
|
74
|
+
"confetti",
|
|
75
|
+
"sparkles",
|
|
76
|
+
"petals"
|
|
77
|
+
].map((t) => /* @__PURE__ */ r("button", {
|
|
78
|
+
type: "button",
|
|
79
|
+
className: `${e.chip} ${d === t ? e.activeChip : ""}`,
|
|
80
|
+
onClick: () => f(t),
|
|
81
|
+
children: [
|
|
82
|
+
t === "hearts" && "💖 Hearts",
|
|
83
|
+
t === "confetti" && "🎉 Confetti",
|
|
84
|
+
t === "sparkles" && "✨ Sparkles",
|
|
85
|
+
t === "petals" && "🌸 Petals"
|
|
86
|
+
]
|
|
87
|
+
}, t)), /* @__PURE__ */ n("button", {
|
|
88
|
+
type: "button",
|
|
89
|
+
className: e.burstBtn,
|
|
90
|
+
onClick: () => {
|
|
91
|
+
m(!0), window.setTimeout(() => m(!1), 2400);
|
|
92
|
+
},
|
|
93
|
+
children: "🚀 Celebrate Burst"
|
|
94
|
+
})]
|
|
95
|
+
})
|
|
96
|
+
]
|
|
97
|
+
})]
|
|
98
|
+
});
|
|
99
|
+
}
|
|
100
|
+
//#endregion
|
|
101
|
+
export { a as default };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
._stage_1ucib_1{text-align:center;box-sizing:border-box;border-radius:24px;justify-content:center;align-items:center;width:100%;min-height:270px;padding:36px 24px;font-family:system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;display:flex;position:relative;overflow:hidden}._mode_light_1ucib_16{color:#1e1b4b;background:linear-gradient(135deg,#fff1f2 0%,#fdf2f8 50%,#fef3c7 100%);border:1px solid #fbcfe8}._mode_dark_1ucib_22{color:#fdf2f8;background:linear-gradient(135deg,#1e1b4b 0%,#3b0764 55%,#4c0519 100%);border:1px solid #f472b64d}._particleLayer_1ucib_28{pointer-events:none;position:absolute;inset:0;overflow:hidden}._particle_1ucib_28{opacity:0;animation-name:_smileyyfyFloatUp_1ucib_1;animation-timing-function:ease-in-out;animation-iteration-count:infinite;position:absolute;bottom:-40px}@keyframes _smileyyfyFloatUp_1ucib_1{0%{opacity:0;transform:translateY(0)translate(0)scale(.75)rotate(0)}15%{opacity:.9}50%{opacity:.85;transform:translateY(-150px)translate(18px)scale(1.05)rotate(12deg)}85%{opacity:.55}to{opacity:0;transform:translateY(-320px)translate(-14px)scale(.9)rotate(-14deg)}}@media (prefers-reduced-motion:reduce){._particle_1ucib_28{opacity:.35;animation:none;bottom:16px}}._content_1ucib_71{z-index:1;flex-direction:column;align-items:center;gap:12px;max-width:720px;display:flex;position:relative}._pill_1ucib_81{background:#ec489929;border:1px solid #ec489959;border-radius:999px;padding:6px 14px;font-size:.78rem;font-weight:800}._title_1ucib_90{letter-spacing:-.025em;margin:0;font-size:clamp(1.65rem,3.4vw,2.5rem);font-weight:900;line-height:1.15}._subtitle_1ucib_98{opacity:.88;margin:0;font-size:.98rem;line-height:1.55}._controls_1ucib_105{flex-wrap:wrap;justify-content:center;gap:8px;margin-top:8px;display:flex}._chip_1ucib_113{color:inherit;cursor:pointer;background:#fff3;border:1px solid #ec48994d;border-radius:999px;padding:7px 13px;font-size:.8rem;font-weight:700}._activeChip_1ucib_124{color:#fff;background:#ec4899;border-color:#ec4899}._burstBtn_1ucib_130{color:#fff;cursor:pointer;background:linear-gradient(135deg,#f59e0b,#ec4899);border:none;border-radius:999px;padding:7px 15px;font-size:.8rem;font-weight:800;box-shadow:0 6px 16px #ec489952}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
//#region src/components/FloatingHeartsCanvas/styles.module.scss
|
|
2
|
+
var e = "_stage_1ucib_1", t = "_mode_light_1ucib_16", n = "_mode_dark_1ucib_22", r = "_particleLayer_1ucib_28", i = "_particle_1ucib_28", a = "_smileyyfyFloatUp_1ucib_1", o = "_content_1ucib_71", s = "_pill_1ucib_81", c = "_title_1ucib_90", l = "_subtitle_1ucib_98", u = "_controls_1ucib_105", d = "_chip_1ucib_113", f = "_activeChip_1ucib_124", p = "_burstBtn_1ucib_130", m = {
|
|
3
|
+
stage: e,
|
|
4
|
+
mode_light: t,
|
|
5
|
+
mode_dark: n,
|
|
6
|
+
particleLayer: r,
|
|
7
|
+
particle: i,
|
|
8
|
+
smileyyfyFloatUp: a,
|
|
9
|
+
content: o,
|
|
10
|
+
pill: s,
|
|
11
|
+
title: c,
|
|
12
|
+
subtitle: l,
|
|
13
|
+
controls: u,
|
|
14
|
+
chip: d,
|
|
15
|
+
activeChip: f,
|
|
16
|
+
burstBtn: p
|
|
17
|
+
};
|
|
18
|
+
//#endregion
|
|
19
|
+
export { f as activeChip, p as burstBtn, d as chip, o as content, u as controls, m as default, n as mode_dark, t as mode_light, i as particle, r as particleLayer, s as pill, a as smileyyfyFloatUp, e as stage, l as subtitle, c as title };
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
type GoogleSignInVariant = 'blush' | 'royal' | 'starlit' | 'golden';
|
|
2
|
+
type GoogleSignInSize = 'sm' | 'md' | 'lg';
|
|
3
|
+
interface GoogleSignInButtonProps {
|
|
4
|
+
/** @select|light|dark */
|
|
5
|
+
themeMode?: 'light' | 'dark';
|
|
6
|
+
/** @select|blush|royal|starlit|golden */
|
|
7
|
+
styleVariant?: GoogleSignInVariant;
|
|
8
|
+
/** @select|sm|md|lg */
|
|
9
|
+
size?: GoogleSignInSize;
|
|
10
|
+
/** @translate */
|
|
11
|
+
label?: string;
|
|
12
|
+
/** @translate */
|
|
13
|
+
loadingLabel?: string;
|
|
14
|
+
/** @translate */
|
|
15
|
+
signedInLabel?: string;
|
|
16
|
+
/** @type|string */
|
|
17
|
+
userName?: string;
|
|
18
|
+
/** @schema {"type":"boolean"} */
|
|
19
|
+
loading?: boolean;
|
|
20
|
+
/** @schema {"type":"boolean"} */
|
|
21
|
+
disabled?: boolean;
|
|
22
|
+
/** @schema {"type":"boolean"} */
|
|
23
|
+
fullWidth?: boolean;
|
|
24
|
+
/** @type|function */
|
|
25
|
+
onSignIn?: (meta: {
|
|
26
|
+
styleVariant: GoogleSignInVariant;
|
|
27
|
+
themeMode: 'light' | 'dark';
|
|
28
|
+
}) => void;
|
|
29
|
+
/** @type|function */
|
|
30
|
+
onSignOut?: () => void;
|
|
31
|
+
}
|
|
32
|
+
declare function GoogleSignInButton({ themeMode, styleVariant, size, label, loadingLabel, signedInLabel, userName, loading, disabled, fullWidth, onSignIn, onSignOut, }: GoogleSignInButtonProps): import("react/jsx-runtime").JSX.Element;
|
|
33
|
+
export default GoogleSignInButton;
|
|
@@ -0,0 +1,89 @@
|
|
|
1
|
+
import e from "./styles.js";
|
|
2
|
+
import { useState as t } from "react";
|
|
3
|
+
import { jsx as n, jsxs as r } from "react/jsx-runtime";
|
|
4
|
+
//#region src/components/GoogleSignInButton/index.tsx
|
|
5
|
+
function i() {
|
|
6
|
+
return /* @__PURE__ */ n("span", {
|
|
7
|
+
className: e.gBadge,
|
|
8
|
+
"aria-hidden": "true",
|
|
9
|
+
children: /* @__PURE__ */ r("svg", {
|
|
10
|
+
className: e.gSvg,
|
|
11
|
+
viewBox: "0 0 24 24",
|
|
12
|
+
width: "18",
|
|
13
|
+
height: "18",
|
|
14
|
+
children: [
|
|
15
|
+
/* @__PURE__ */ n("path", {
|
|
16
|
+
fill: "#4285F4",
|
|
17
|
+
d: "M23.49 12.27c0-.79-.07-1.54-.19-2.27H12v4.51h6.47c-.29 1.48-1.14 2.73-2.4 3.58v3h3.86c2.26-2.09 3.56-5.17 3.56-8.82z"
|
|
18
|
+
}),
|
|
19
|
+
/* @__PURE__ */ n("path", {
|
|
20
|
+
fill: "#34A853",
|
|
21
|
+
d: "M12 24c3.24 0 5.95-1.08 7.93-2.91l-3.86-3c-1.08.72-2.45 1.16-4.07 1.16-3.13 0-5.78-2.11-6.73-4.96H1.29v3.09C3.26 21.3 7.31 24 12 24z"
|
|
22
|
+
}),
|
|
23
|
+
/* @__PURE__ */ n("path", {
|
|
24
|
+
fill: "#FBBC05",
|
|
25
|
+
d: "M5.27 14.29c-.24-.72-.38-1.49-.38-2.29s.14-1.57.38-2.29V6.62H1.29A11.97 11.97 0 0 0 0 12c0 1.93.46 3.75 1.29 5.38l3.98-3.09z"
|
|
26
|
+
}),
|
|
27
|
+
/* @__PURE__ */ n("path", {
|
|
28
|
+
fill: "#EA4335",
|
|
29
|
+
d: "M12 4.75c1.77 0 3.35.61 4.6 1.8l3.42-3.42C17.95 1.19 15.24 0 12 0 7.31 0 3.26 2.7 1.29 6.62l3.98 3.09c.95-2.85 3.6-4.96 6.73-4.96z"
|
|
30
|
+
})
|
|
31
|
+
]
|
|
32
|
+
})
|
|
33
|
+
});
|
|
34
|
+
}
|
|
35
|
+
function a({ themeMode: a = "light", styleVariant: o = "blush", size: s = "md", label: c = "Continue with Google", loadingLabel: l = "Signing in...", signedInLabel: u = "Signed in", userName: d = "", loading: f = !1, disabled: p = !1, fullWidth: m = !1, onSignIn: h, onSignOut: g }) {
|
|
36
|
+
let [_, v] = t(!1), [y, b] = t(!1), x = !!(f || _), S = !!d || y, C = () => {
|
|
37
|
+
if (!(p || x)) {
|
|
38
|
+
if (S) {
|
|
39
|
+
b(!1), g?.();
|
|
40
|
+
return;
|
|
41
|
+
}
|
|
42
|
+
if (!h) {
|
|
43
|
+
v(!0), window.setTimeout(() => {
|
|
44
|
+
v(!1), b(!0);
|
|
45
|
+
}, 650);
|
|
46
|
+
return;
|
|
47
|
+
}
|
|
48
|
+
h({
|
|
49
|
+
styleVariant: o,
|
|
50
|
+
themeMode: a
|
|
51
|
+
});
|
|
52
|
+
}
|
|
53
|
+
}, w = x ? l : S ? d ? `${u} as ${d}` : u : c;
|
|
54
|
+
return /* @__PURE__ */ n("div", {
|
|
55
|
+
className: `${e.wrap} ${e[`mode_${a}`] || e.mode_light}`,
|
|
56
|
+
children: /* @__PURE__ */ r("button", {
|
|
57
|
+
type: "button",
|
|
58
|
+
disabled: p || x,
|
|
59
|
+
"aria-busy": x || void 0,
|
|
60
|
+
onClick: C,
|
|
61
|
+
className: [
|
|
62
|
+
e.btn,
|
|
63
|
+
e[`var_${o}`] || e.var_blush,
|
|
64
|
+
e[`sz_${s}`] || e.sz_md,
|
|
65
|
+
m ? e.fullWidth : "",
|
|
66
|
+
S ? e.signedIn : ""
|
|
67
|
+
].filter(Boolean).join(" "),
|
|
68
|
+
children: [
|
|
69
|
+
/* @__PURE__ */ n(i, {}),
|
|
70
|
+
/* @__PURE__ */ n("span", {
|
|
71
|
+
className: e.label,
|
|
72
|
+
children: w
|
|
73
|
+
}),
|
|
74
|
+
!x && !S && /* @__PURE__ */ n("span", {
|
|
75
|
+
className: e.sparkle,
|
|
76
|
+
"aria-hidden": "true",
|
|
77
|
+
children: "✨"
|
|
78
|
+
}),
|
|
79
|
+
S && /* @__PURE__ */ n("span", {
|
|
80
|
+
className: e.checkBadge,
|
|
81
|
+
"aria-hidden": "true",
|
|
82
|
+
children: "✓"
|
|
83
|
+
})
|
|
84
|
+
]
|
|
85
|
+
})
|
|
86
|
+
});
|
|
87
|
+
}
|
|
88
|
+
//#endregion
|
|
89
|
+
export { a as default };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
._wrap_6k25d_1{box-sizing:border-box;border-radius:999px;justify-content:center;align-items:center;padding:6px;font-family:system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;display:inline-flex}._mode_light_6k25d_11,._mode_dark_6k25d_15{background:0 0}._btn_6k25d_19{letter-spacing:-.01em;cursor:pointer;box-sizing:border-box;white-space:nowrap;border-radius:999px;justify-content:center;align-items:center;gap:10px;font-family:inherit;font-weight:800;transition:transform .18s,box-shadow .2s,border-color .2s,opacity .2s;display:inline-flex;position:relative}._fullWidth_6k25d_35{width:100%}._sz_sm_6k25d_39{min-height:38px;padding:7px 14px;font-size:.8rem}._sz_md_6k25d_45{min-height:44px;padding:9px 18px;font-size:.88rem}._sz_lg_6k25d_51{min-height:50px;padding:11px 22px;font-size:.96rem}._var_blush_6k25d_57{color:#4c0519;background:linear-gradient(135deg,#fff1f2 0%,#fce7f3 60%,#fbcfe8 100%);border:1.5px solid #f472b6;box-shadow:0 8px 20px #ec489929}._var_blush_6k25d_57:hover:not(:disabled){border-color:#ec4899;transform:translateY(-1px);box-shadow:0 12px 24px #ec489940}._var_royal_6k25d_70{color:#fef3c7;background:linear-gradient(135deg,#881337 0%,#581c2b 65%,#3b0a1a 100%);border:1.5px solid #fbbf24a6;box-shadow:0 8px 22px #581c2b47}._var_royal_6k25d_70:hover:not(:disabled){border-color:#fbbf24;transform:translateY(-1px);box-shadow:0 12px 26px #581c2b61}._var_starlit_6k25d_83{color:#fdf2f8;background:linear-gradient(135deg,#312e81 0%,#1e1b4b 60%,#0f172a 100%);border:1.5px solid #f472b68c;box-shadow:0 8px 22px #312e814d}._var_starlit_6k25d_83:hover:not(:disabled){border-color:#f472b6;transform:translateY(-1px);box-shadow:0 12px 26px #ec489942}._var_golden_6k25d_96{color:#78350f;background:linear-gradient(135deg,#fffbeb 0%,#fef3c7 55%,#fed7aa 100%);border:1.5px solid #f59e0b;box-shadow:0 8px 20px #f59e0b2e}._var_golden_6k25d_96:hover:not(:disabled){border-color:#d97706;transform:translateY(-1px);box-shadow:0 12px 24px #f59e0b47}._btn_6k25d_19:active:not(:disabled){transform:scale(.98)}._btn_6k25d_19:focus-visible{outline-offset:2px;outline:3px solid #ec4899}._btn_6k25d_19:disabled{opacity:.55;cursor:not-allowed;box-shadow:none}._gBadge_6k25d_124{background:#fff;border-radius:999px;flex-shrink:0;justify-content:center;align-items:center;width:24px;height:24px;display:inline-flex;box-shadow:0 2px 6px #0f172a24}._gSvg_6k25d_136{display:block}._label_6k25d_140{line-height:1.2}._sparkle_6k25d_144{opacity:.85;font-size:.85rem}._signedIn_6k25d_149{border-color:#10b981}._checkBadge_6k25d_153{color:#fff;background:#10b981;border-radius:999px;justify-content:center;align-items:center;width:18px;height:18px;font-size:.72rem;font-weight:900;display:inline-flex}@media (prefers-reduced-motion:reduce){._btn_6k25d_19,._gBadge_6k25d_124,._checkBadge_6k25d_153{transition:none}}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
//#region src/components/GoogleSignInButton/styles.module.scss
|
|
2
|
+
var e = "_wrap_6k25d_1", t = "_mode_light_6k25d_11", n = "_mode_dark_6k25d_15", r = "_btn_6k25d_19", i = "_fullWidth_6k25d_35", a = "_sz_sm_6k25d_39", o = "_sz_md_6k25d_45", s = "_sz_lg_6k25d_51", c = "_var_blush_6k25d_57", l = "_var_royal_6k25d_70", u = "_var_starlit_6k25d_83", d = "_var_golden_6k25d_96", f = "_gBadge_6k25d_124", p = "_gSvg_6k25d_136", m = "_label_6k25d_140", h = "_sparkle_6k25d_144", g = "_signedIn_6k25d_149", _ = "_checkBadge_6k25d_153", v = {
|
|
3
|
+
wrap: e,
|
|
4
|
+
mode_light: t,
|
|
5
|
+
mode_dark: n,
|
|
6
|
+
btn: r,
|
|
7
|
+
fullWidth: i,
|
|
8
|
+
sz_sm: a,
|
|
9
|
+
sz_md: o,
|
|
10
|
+
sz_lg: s,
|
|
11
|
+
var_blush: c,
|
|
12
|
+
var_royal: l,
|
|
13
|
+
var_starlit: u,
|
|
14
|
+
var_golden: d,
|
|
15
|
+
gBadge: f,
|
|
16
|
+
gSvg: p,
|
|
17
|
+
label: m,
|
|
18
|
+
sparkle: h,
|
|
19
|
+
signedIn: g,
|
|
20
|
+
checkBadge: _
|
|
21
|
+
};
|
|
22
|
+
//#endregion
|
|
23
|
+
export { r as btn, _ as checkBadge, v as default, i as fullWidth, f as gBadge, p as gSvg, m as label, n as mode_dark, t as mode_light, g as signedIn, h as sparkle, s as sz_lg, o as sz_md, a as sz_sm, c as var_blush, d as var_golden, l as var_royal, u as var_starlit, e as wrap };
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { default as RsvpGuestRecord } from '../../utils/RsvpGuestRecord';
|
|
2
|
+
import { default as SmileyyfyDashboardInvitation } from '../../utils/SmileyyfyDashboardInvitation';
|
|
3
|
+
interface InvitationDashboardOverviewProps {
|
|
4
|
+
/** @select|light|dark */
|
|
5
|
+
themeMode?: 'light' | 'dark';
|
|
6
|
+
/** @type|string */
|
|
7
|
+
signedInUserName?: string;
|
|
8
|
+
/** @type|string */
|
|
9
|
+
signedInUserEmail?: string;
|
|
10
|
+
/** @type|json */
|
|
11
|
+
invitations?: SmileyyfyDashboardInvitation[];
|
|
12
|
+
/** @type|function */
|
|
13
|
+
onEditInvitation?: (invitation: SmileyyfyDashboardInvitation) => void;
|
|
14
|
+
/** @type|function */
|
|
15
|
+
onPreviewInvitation?: (invitation: SmileyyfyDashboardInvitation) => void;
|
|
16
|
+
/** @type|function */
|
|
17
|
+
onUpdateGuests?: (invitationId: string, updatedList: RsvpGuestRecord[]) => void;
|
|
18
|
+
/** @type|function */
|
|
19
|
+
onCreateNew?: () => void;
|
|
20
|
+
}
|
|
21
|
+
declare function InvitationDashboardOverview({ themeMode, signedInUserName, signedInUserEmail, invitations, onEditInvitation, onPreviewInvitation, onUpdateGuests, onCreateNew, }: InvitationDashboardOverviewProps): import("react/jsx-runtime").JSX.Element;
|
|
22
|
+
export default InvitationDashboardOverview;
|