@flamingo-stack/openframe-frontend-core 0.0.760 → 0.0.763
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/build/export-map.json +1 -1
- package/dist/{chunk-7Z4EQOIX.cjs → chunk-22XAPV6N.cjs} +35 -35
- package/dist/{chunk-AXBVN5SW.cjs → chunk-2IFCRPNP.cjs} +38 -38
- package/dist/{chunk-4ZMCKCXN.cjs → chunk-3JUIDOHB.cjs} +43 -43
- package/dist/{chunk-CSJO7ZGN.cjs → chunk-3RYIF4OW.cjs} +3 -3
- package/dist/{chunk-35BJY5RR.cjs → chunk-47GZ33ND.cjs} +44 -44
- package/dist/{chunk-EMKGOU54.cjs → chunk-4NGXJA3V.cjs} +4 -4
- package/dist/{chunk-QCXE7BSY.cjs → chunk-66FQUWKF.cjs} +59 -59
- package/dist/{chunk-SULCTARW.cjs → chunk-6XCE2VLH.cjs} +8 -8
- package/dist/{chunk-GL5KJ4PK.cjs → chunk-AXGTRPF6.cjs} +20 -20
- package/dist/{chunk-PSLL4FAS.cjs → chunk-CEJDHCFZ.cjs} +89 -89
- package/dist/{chunk-2ANICXS7.cjs → chunk-E4LA4BEH.cjs} +21 -21
- package/dist/{chunk-JHQNUWFM.cjs → chunk-EQZXJUYV.cjs} +3 -3
- package/dist/{chunk-LU7TD6QS.cjs → chunk-FQSXZC2K.cjs} +3 -3
- package/dist/{chunk-BDCEMTWU.cjs → chunk-G5NCY5IE.cjs} +100 -100
- package/dist/{chunk-QU5K52OP.cjs → chunk-GY2JESOC.cjs} +2 -2
- package/dist/{chunk-LOFDIDSD.cjs → chunk-GZKWF6NH.cjs} +9 -9
- package/dist/{chunk-4VRXTQVZ.cjs → chunk-IJMPXTGV.cjs} +14 -14
- package/dist/{chunk-EYVYPX5N.cjs → chunk-IUIDZS6W.cjs} +574 -567
- package/dist/{chunk-EC7VXTJ3.cjs → chunk-J4P47JHM.cjs} +20 -20
- package/dist/{chunk-D2HMQUK5.cjs → chunk-LUNXHJ53.cjs} +32 -32
- package/dist/{chunk-WBOHLXFC.cjs → chunk-LVKUMVUJ.cjs} +2 -2
- package/dist/{chunk-L2IQESTQ.cjs → chunk-M7YZGRAV.cjs} +2 -2
- package/dist/{chunk-R34JD6NP.cjs → chunk-MWLD6NXV.cjs} +3 -3
- package/dist/{chunk-W2RM764D.cjs → chunk-NET74KSQ.cjs} +5 -4
- package/dist/{chunk-B27XV2TC.cjs → chunk-NS64LMVE.cjs} +10 -10
- package/dist/{chunk-UT4W73YG.cjs → chunk-O2VRIGDI.cjs} +83 -83
- package/dist/{chunk-QYLIHZKZ.cjs → chunk-OJJ4RL2T.cjs} +4 -4
- package/dist/{chunk-F64VMOIB.cjs → chunk-PE26VSWT.cjs} +19 -19
- package/dist/{chunk-ITO3JRVB.cjs → chunk-QCO32MEE.cjs} +17 -17
- package/dist/{chunk-KTPR66EE.cjs → chunk-R3TWQ3ZJ.cjs} +10 -0
- package/dist/{chunk-VUSXDMCE.cjs → chunk-RM6AHNM4.cjs} +7 -7
- package/dist/{chunk-T4BBZ5ST.cjs → chunk-RO72PRQI.cjs} +2 -2
- package/dist/{chunk-PIV4FVTR.cjs → chunk-SU3EXXVC.cjs} +22 -22
- package/dist/{chunk-WI2OTGKC.cjs → chunk-SVP6DJFL.cjs} +2 -2
- package/dist/{chunk-QTYSYEHK.cjs → chunk-TQPQKBBL.cjs} +253 -246
- package/dist/{chunk-5E6JHOGX.cjs → chunk-TSJUL6IH.cjs} +3 -3
- package/dist/{chunk-3LNKXYMI.cjs → chunk-UUBHKQOH.cjs} +6 -6
- package/dist/{chunk-VUWPLQBY.cjs → chunk-XCH7SPGI.cjs} +44 -44
- package/dist/{chunk-NC4QUV73.cjs → chunk-ZUF5WDGE.cjs} +28 -28
- package/dist/{cloud-tenants-2NMXXIA6.cjs → cloud-tenants-4AGSRBJ2.cjs} +22 -22
- package/dist/components/case-studies/index.cjs +36 -36
- package/dist/components/chat/chat-message-enhanced.d.ts.map +1 -1
- package/dist/components/chat/chat-message-enhanced.js +9 -6
- package/dist/components/chat/chat-message-list.d.ts.map +1 -1
- package/dist/components/chat/chat-message-list.js +2 -0
- package/dist/components/chat/index.cjs +15 -15
- package/dist/components/chat/types/component.types.d.ts +10 -0
- package/dist/components/chat/types/component.types.d.ts.map +1 -1
- package/dist/components/contact/index.cjs +23 -23
- package/dist/components/docs/index.cjs +26 -26
- package/dist/components/embeds/index.cjs +23 -23
- package/dist/components/faq/index.cjs +24 -24
- package/dist/components/features/index.cjs +24 -22
- package/dist/components/features/walkthrough-video.d.ts +7 -0
- package/dist/components/features/walkthrough-video.d.ts.map +1 -1
- package/dist/components/features/walkthrough-video.js +9 -1
- package/dist/components/help-center-pages/index.cjs +125 -125
- package/dist/components/index.cjs +85 -83
- package/dist/components/meeting-scheduler/index.cjs +77 -77
- package/dist/components/navigation/index.cjs +25 -25
- package/dist/components/onboarding-guides/index.cjs +25 -25
- package/dist/components/product-demo/index.cjs +9 -9
- package/dist/components/related-content/index.cjs +10 -10
- package/dist/components/tickets/index.cjs +28 -28
- package/dist/components/ui/index.cjs +22 -22
- package/dist/{devices-5XZVTD7G.cjs → devices-FKRZIBJP.cjs} +23 -23
- package/dist/{embeddable-chat-LTXUQWEK.cjs → embeddable-chat-HWQSP3DY.cjs} +93 -93
- package/dist/hooks/index.cjs +8 -8
- package/dist/index.cjs +30 -28
- package/dist/{knowledge-7QSJQB4P.cjs → knowledge-25CBYZ7E.cjs} +23 -23
- package/dist/{logs-URLNW334.cjs → logs-HQ7NDBVV.cjs} +30 -30
- package/dist/platform-domains.cjs +2 -0
- package/dist/platform-domains.d.ts.map +1 -1
- package/dist/platform-domains.js +2 -0
- package/dist/{policies-NNW6PMAN.cjs → policies-2RV2CQD3.cjs} +26 -26
- package/dist/{remote-session-SKNXYG6K.cjs → remote-session-F72S6I7J.cjs} +9 -9
- package/dist/{scripts-WPYKAZYF.cjs → scripts-32EM4WDI.cjs} +29 -29
- package/dist/{software-update-KB6BIWUT.cjs → software-update-WVIARIUG.cjs} +26 -26
- package/dist/{tickets-board-B2FH7Z4B.cjs → tickets-board-4PBXPSGJ.cjs} +12 -12
- package/dist/types/platform.d.ts +1 -1
- package/dist/types/platform.d.ts.map +1 -1
- package/dist/utils/index.cjs +13 -0
- package/dist/utils/platform-config.d.ts.map +1 -1
- package/dist/utils/platform-config.js +1 -0
- package/dist/utils/platform-identity.cjs +10 -0
- package/dist/utils/platform-identity.d.ts +3 -2
- package/dist/utils/platform-identity.d.ts.map +1 -1
- package/dist/utils/platform-identity.js +10 -0
- package/package.json +1 -1
- package/src/components/chat/chat-message-enhanced.tsx +19 -9
- package/src/components/chat/chat-message-list.tsx +2 -0
- package/src/components/chat/types/component.types.ts +10 -0
- package/src/components/features/walkthrough-video.tsx +17 -0
- package/src/platform-domains.ts +2 -0
- package/src/styles/README.md +1 -0
- package/src/styles/ods-colors.css +16 -0
- package/src/types/platform.ts +1 -0
- package/src/utils/platform-config.tsx +1 -0
- package/src/utils/platform-identity.ts +19 -2
|
@@ -15,6 +15,7 @@ import { VolumeXmarkIcon } from "../icons-v2-generated/audio-and-visual/volume-x
|
|
|
15
15
|
import { PauseIcon } from "../icons-v2-generated/media-playback/pause-icon.js";
|
|
16
16
|
import { PlayIcon } from "../icons-v2-generated/media-playback/play-icon.js";
|
|
17
17
|
import { XmarkIcon } from "../icons-v2-generated/signs-and-symbols/xmark-icon.js";
|
|
18
|
+
import { UnifiedSkeleton } from "../loading/unified-skeleton.js";
|
|
18
19
|
import { Button } from "../ui/button/index.js";
|
|
19
20
|
import { DialogPortal, DialogOverlay } from "../ui/dialog.js";
|
|
20
21
|
import { SquareAvatar } from "../ui/square-avatar.js";
|
|
@@ -22,6 +23,7 @@ import { CardHitLayer } from "./card-hit-layer.js";
|
|
|
22
23
|
import { Video } from "./video.js";
|
|
23
24
|
import { VideoPlayBadge, VideoUnmuteGlyph } from "./video-center-badge.js";
|
|
24
25
|
import { VideoHoverPreviewSurface } from "./video-hover-preview.js";
|
|
26
|
+
const INLINE_CARD_BOX_CLASS = "aspect-video w-full rounded-md border border-ods-border";
|
|
25
27
|
const FIRST_INTERACTION_EVENTS = ["scroll", "pointerdown", "keydown"];
|
|
26
28
|
const isAtEnd = (duration, time) => duration > 0 && duration - time < 1;
|
|
27
29
|
function theaterSeedFromLive(live, fallbackTime, fallbackMuted) {
|
|
@@ -451,6 +453,7 @@ function WalkthroughVideo({
|
|
|
451
453
|
// receives pointer events — the media layer is pointer-events-none, so
|
|
452
454
|
// a group inside it can never match :hover.
|
|
453
455
|
"group/card pointer-events-auto relative overflow-hidden rounded-md border border-ods-border bg-ods-card",
|
|
456
|
+
inline && INLINE_CARD_BOX_CLASS,
|
|
454
457
|
// The lift is what separates a FLOATING card from the page beneath it;
|
|
455
458
|
// an in-flow block sitting inside a host card needs no shadow at all.
|
|
456
459
|
!inline && "shadow-2xl",
|
|
@@ -599,6 +602,7 @@ function WalkthroughVideo({
|
|
|
599
602
|
}
|
|
600
603
|
);
|
|
601
604
|
return /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
605
|
+
inline && !showCard && !dismissed && /* @__PURE__ */ jsx(InlineWalkthroughVideoSkeleton, { className }),
|
|
602
606
|
showCard && (inline ? (
|
|
603
607
|
// No wrapper: a positioning / z-index / safe-area shell around an
|
|
604
608
|
// in-flow block is exactly what stops it sizing to its container.
|
|
@@ -692,7 +696,11 @@ function FloatingWalkthroughVideo(props) {
|
|
|
692
696
|
function InlineWalkthroughVideo(props) {
|
|
693
697
|
return /* @__PURE__ */ jsx(WalkthroughVideo, { ...props, placement: "inline", appearDelayMs: 0, dismissal: false });
|
|
694
698
|
}
|
|
699
|
+
function InlineWalkthroughVideoSkeleton({ className }) {
|
|
700
|
+
return /* @__PURE__ */ jsx(UnifiedSkeleton, { className: cn(INLINE_CARD_BOX_CLASS, className) });
|
|
701
|
+
}
|
|
695
702
|
export {
|
|
696
703
|
FloatingWalkthroughVideo,
|
|
697
|
-
InlineWalkthroughVideo
|
|
704
|
+
InlineWalkthroughVideo,
|
|
705
|
+
InlineWalkthroughVideoSkeleton
|
|
698
706
|
};
|