@flamingo-stack/openframe-frontend-core 0.0.730 → 0.0.732
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/aicpa-soc2-logo-icon-MLDYZA5S.cjs +7 -0
- package/dist/build/export-map.json +1 -1
- package/dist/{chunk-SKDQ2SLJ.cjs → chunk-22ZK7BA3.cjs} +1345 -1127
- package/dist/{chunk-5RMCAY6Y.cjs → chunk-27TMRMOM.cjs} +6 -4
- package/dist/{chunk-P4YHBHP4.cjs → chunk-3BLBWZ6A.cjs} +7 -7
- package/dist/{chunk-2T2TH5DF.cjs → chunk-52HFGZCI.cjs} +14 -12
- package/dist/{chunk-L7Y7KDTM.cjs → chunk-5HMGK3N6.cjs} +20 -20
- package/dist/{chunk-66QTEDJL.cjs → chunk-5HSMTSHU.cjs} +28 -28
- package/dist/{chunk-WTURHKM2.cjs → chunk-6HHUU56Y.cjs} +16 -16
- package/dist/{chunk-AIW4KZQT.cjs → chunk-6KDGIOLP.cjs} +89 -89
- package/dist/{chunk-4XQXTQUK.cjs → chunk-6N5NQRQA.cjs} +8 -6
- package/dist/{chunk-5KLNEFZZ.cjs → chunk-7DUXR4HL.cjs} +3 -3
- package/dist/chunk-AEVGCB3Y.cjs +417 -0
- package/dist/{chunk-A7T3P5Q5.cjs → chunk-BDTX2OEE.cjs} +32 -32
- package/dist/{chunk-Q5GR7LKV.cjs → chunk-BS4EZZCN.cjs} +15 -15
- package/dist/{chunk-JNDR5N3T.cjs → chunk-C5NERNE6.cjs} +93 -93
- package/dist/{chunk-UHJG2BDI.cjs → chunk-CC3LINHF.cjs} +98 -50
- package/dist/{chunk-FRET5WH3.cjs → chunk-CKR42OBK.cjs} +4 -2
- package/dist/{chunk-GJPAS4RJ.cjs → chunk-CT342EJU.cjs} +6 -4
- package/dist/{chunk-PGFR4CDB.cjs → chunk-CUF3IYIB.cjs} +40 -40
- package/dist/{chunk-YHFXQ5OR.cjs → chunk-E3N24573.cjs} +9 -9
- package/dist/{chunk-24KWUFWA.cjs → chunk-G37LT2ID.cjs} +43 -39
- package/dist/{chunk-UG7Q3HQH.cjs → chunk-GID62YEN.cjs} +3 -3
- package/dist/{chunk-NDHQ7JLZ.cjs → chunk-GKHWXI25.cjs} +11 -15
- package/dist/chunk-HELVKMRG.cjs +28 -0
- package/dist/{chunk-KMMV562E.cjs → chunk-HH4BMYDX.cjs} +32 -379
- package/dist/{chunk-FGA6T2XT.cjs → chunk-I46MQ4R5.cjs} +82 -82
- package/dist/{chunk-YJXUJWHN.cjs → chunk-J7SZOZOS.cjs} +28 -26
- package/dist/{chunk-NXCV35RR.cjs → chunk-KLXHCNDC.cjs} +3 -3
- package/dist/{chunk-6KD2XUQZ.cjs → chunk-LRQITIEC.cjs} +28 -26
- package/dist/chunk-MANNIJ42.cjs +967 -0
- package/dist/{chunk-2V62Y67F.cjs → chunk-MEDDKM3A.cjs} +4 -4
- package/dist/{chunk-CLA3UGKT.cjs → chunk-MVZ6XFPK.cjs} +12 -12
- package/dist/{chunk-TI2IFCZG.cjs → chunk-N466AJGN.cjs} +17 -17
- package/dist/{chunk-TW2SES5W.cjs → chunk-NCGAP3U4.cjs} +4 -2
- package/dist/{chunk-DINGZJ37.cjs → chunk-NYY25425.cjs} +2 -2
- package/dist/{chunk-HVZBIXCZ.cjs → chunk-O2RPIGSG.cjs} +6 -4
- package/dist/{chunk-YRZB4BMZ.cjs → chunk-OI7VCXYU.cjs} +48 -50
- package/dist/{chunk-XA436AER.cjs → chunk-OJ3XU3YZ.cjs} +4 -4
- package/dist/{chunk-UYKL2AXE.cjs → chunk-OKW5OAFJ.cjs} +8 -6
- package/dist/{chunk-6NKLR5QN.cjs → chunk-PRWBVIWW.cjs} +59 -59
- package/dist/chunk-PX7FY655.cjs +114 -0
- package/dist/{chunk-CD5YBUJK.cjs → chunk-QMTC3BK3.cjs} +23 -21
- package/dist/{chunk-VQMWBQUJ.cjs → chunk-R4QMR6S4.cjs} +14 -12
- package/dist/{chunk-NB5BYOTM.cjs → chunk-RC32WBPL.cjs} +6 -4
- package/dist/{chunk-CDLDAQBA.cjs → chunk-RIXGLS5Y.cjs} +7 -7
- package/dist/{chunk-2I3XU2IB.cjs → chunk-SJRR745G.cjs} +63 -60
- package/dist/{chunk-XSPL7RXL.cjs → chunk-TLDCSTTQ.cjs} +12 -12
- package/dist/{chunk-3YHVQ34L.cjs → chunk-XOQ2UUVS.cjs} +93 -95
- package/dist/{chunk-YPM3ALIW.cjs → chunk-YGKVHSNQ.cjs} +42 -42
- package/dist/{chunk-4NFVFTD6.cjs → chunk-ZWMPAFGB.cjs} +238 -238
- package/dist/{chunk-GVTCHXW2.cjs → chunk-ZWUIRQNY.cjs} +28 -26
- package/dist/clickup-icon-3SETH2MM.cjs +7 -0
- package/dist/clickup-logo-icon-DJKBEFMR.cjs +7 -0
- package/dist/{cloud-tenants-VV6UQE7J.cjs → cloud-tenants-ILRE74JY.cjs} +36 -36
- package/dist/components/agent-identity.d.ts +8 -0
- package/dist/components/agent-identity.d.ts.map +1 -1
- package/dist/components/agent-identity.js +13 -1
- package/dist/components/case-studies/index.cjs +49 -49
- package/dist/components/chat/entity-cards/entity-portrait-card.js +1 -1
- package/dist/components/chat/index.cjs +30 -30
- package/dist/components/chat/types/entities/program-types.d.ts +1 -23
- package/dist/components/chat/types/entities/program-types.d.ts.map +1 -1
- package/dist/components/chat/types/entities/program-types.js +1 -9
- package/dist/components/chat/utils/icon-loading.d.ts +35 -2
- package/dist/components/chat/utils/icon-loading.d.ts.map +1 -1
- package/dist/components/chat/utils/icon-loading.js +31 -9
- package/dist/components/contact/index.cjs +37 -37
- package/dist/components/docs/index.cjs +40 -40
- package/dist/components/embeds/index.cjs +37 -37
- package/dist/components/faq/index.cjs +37 -37
- package/dist/components/features/index.cjs +38 -36
- package/dist/components/features/video-bites-shared.cjs +8 -0
- package/dist/components/features/video-bites-shared.d.ts +25 -0
- package/dist/components/features/video-bites-shared.d.ts.map +1 -1
- package/dist/components/features/video-bites-shared.js +8 -0
- package/dist/components/help-center-pages/index.cjs +152 -152
- package/dist/components/icons-v2-generated/brand-logos/clickup-icon.d.ts +1 -1
- package/dist/components/icons-v2-generated/brand-logos/clickup-icon.d.ts.map +1 -1
- package/dist/components/icons-v2-generated/brand-logos/clickup-icon.js +6 -4
- package/dist/components/icons-v2-generated/brand-logos/clickup-logo-icon.d.ts +1 -1
- package/dist/components/icons-v2-generated/brand-logos/clickup-logo-icon.d.ts.map +1 -1
- package/dist/components/icons-v2-generated/brand-logos/clickup-logo-icon.js +6 -4
- package/dist/components/icons-v2-generated/brand-logos/elestio-logo-grey-icon.d.ts +1 -1
- package/dist/components/icons-v2-generated/brand-logos/elestio-logo-grey-icon.d.ts.map +1 -1
- package/dist/components/icons-v2-generated/brand-logos/elestio-logo-grey-icon.js +4 -2
- package/dist/components/icons-v2-generated/brand-logos/elestio-logo-icon.d.ts +1 -1
- package/dist/components/icons-v2-generated/brand-logos/elestio-logo-icon.d.ts.map +1 -1
- package/dist/components/icons-v2-generated/brand-logos/elestio-logo-icon.js +14 -12
- package/dist/components/icons-v2-generated/brand-logos/gemini-logo-icon.d.ts +1 -1
- package/dist/components/icons-v2-generated/brand-logos/gemini-logo-icon.d.ts.map +1 -1
- package/dist/components/icons-v2-generated/brand-logos/gemini-logo-icon.js +28 -26
- package/dist/components/icons-v2-generated/brand-logos/google-gemini-icon.d.ts +1 -1
- package/dist/components/icons-v2-generated/brand-logos/google-gemini-icon.d.ts.map +1 -1
- package/dist/components/icons-v2-generated/brand-logos/google-gemini-icon.js +28 -26
- package/dist/components/icons-v2-generated/brand-logos/google-gemini-logo-icon.d.ts +1 -1
- package/dist/components/icons-v2-generated/brand-logos/google-gemini-logo-icon.d.ts.map +1 -1
- package/dist/components/icons-v2-generated/brand-logos/google-gemini-logo-icon.js +28 -26
- package/dist/components/icons-v2-generated/brand-logos/google-sheets-icon.d.ts +1 -1
- package/dist/components/icons-v2-generated/brand-logos/google-sheets-icon.d.ts.map +1 -1
- package/dist/components/icons-v2-generated/brand-logos/google-sheets-icon.js +4 -2
- package/dist/components/icons-v2-generated/brand-logos/meshcentral-logo-grey-icon.d.ts +1 -1
- package/dist/components/icons-v2-generated/brand-logos/meshcentral-logo-grey-icon.d.ts.map +1 -1
- package/dist/components/icons-v2-generated/brand-logos/meshcentral-logo-grey-icon.js +8 -6
- package/dist/components/icons-v2-generated/brand-logos/meshcentral-logo-icon.d.ts +1 -1
- package/dist/components/icons-v2-generated/brand-logos/meshcentral-logo-icon.d.ts.map +1 -1
- package/dist/components/icons-v2-generated/brand-logos/meshcentral-logo-icon.js +8 -6
- package/dist/components/icons-v2-generated/brand-logos/winget-logo-icon.d.ts +1 -1
- package/dist/components/icons-v2-generated/brand-logos/winget-logo-icon.d.ts.map +1 -1
- package/dist/components/icons-v2-generated/brand-logos/winget-logo-icon.js +14 -12
- package/dist/components/icons-v2-generated/compliance-logos/aicpa-soc2-logo-icon.d.ts +1 -1
- package/dist/components/icons-v2-generated/compliance-logos/aicpa-soc2-logo-icon.d.ts.map +1 -1
- package/dist/components/icons-v2-generated/compliance-logos/aicpa-soc2-logo-icon.js +6 -4
- package/dist/components/icons-v2-generated/compliance-logos/eu-logo-icon.d.ts +1 -1
- package/dist/components/icons-v2-generated/compliance-logos/eu-logo-icon.d.ts.map +1 -1
- package/dist/components/icons-v2-generated/compliance-logos/eu-logo-icon.js +11 -15
- package/dist/components/icons-v2-generated/icon-names.d.ts +5 -0
- package/dist/components/icons-v2-generated/icon-names.d.ts.map +1 -0
- package/dist/components/icons-v2-generated/icon-names.js +10 -0
- package/dist/components/icons-v2-generated/index.cjs +15 -15
- package/dist/components/icons-v2-generated/interface/empty-vendor-icon.d.ts +1 -1
- package/dist/components/icons-v2-generated/interface/empty-vendor-icon.d.ts.map +1 -1
- package/dist/components/icons-v2-generated/interface/empty-vendor-icon.js +6 -4
- package/dist/components/index.cjs +103 -96
- package/dist/components/meeting-scheduler/index.cjs +98 -98
- package/dist/components/navigation/index.cjs +39 -39
- package/dist/components/onboarding-guides/index.cjs +39 -39
- package/dist/components/product-demo/index.cjs +8 -8
- package/dist/components/product-demo/screens/remote-desktop-picture.d.ts.map +1 -1
- package/dist/components/product-demo/screens/remote-desktop-picture.js +2 -1
- package/dist/components/related-content/index.cjs +10 -10
- package/dist/components/shared/product-release/product-release-card.js +1 -1
- package/dist/components/tickets/index.cjs +40 -40
- package/dist/components/ui/device-wallpaper.d.ts +7 -0
- package/dist/components/ui/device-wallpaper.d.ts.map +1 -0
- package/dist/components/ui/device-wallpaper.js +5 -0
- package/dist/components/ui/feature-list.d.ts +9 -4
- package/dist/components/ui/feature-list.d.ts.map +1 -1
- package/dist/components/ui/feature-list.js +26 -35
- package/dist/components/ui/index.cjs +42 -36
- package/dist/components/ui/index.d.ts +3 -1
- package/dist/components/ui/index.d.ts.map +1 -1
- package/dist/components/ui/index.js +3 -1
- package/dist/components/ui/notification-stack.d.ts +33 -0
- package/dist/components/ui/notification-stack.d.ts.map +1 -0
- package/dist/components/ui/notification-stack.js +78 -0
- package/dist/components/ui/numbered-step.d.ts +29 -0
- package/dist/components/ui/numbered-step.d.ts.map +1 -0
- package/dist/components/ui/numbered-step.js +57 -0
- package/dist/components/ui/phone-frame.d.ts +14 -9
- package/dist/components/ui/phone-frame.d.ts.map +1 -1
- package/dist/components/ui/phone-frame.js +50 -6
- package/dist/components/ui/phone-glyphs/lock-camera-glyph.d.ts +5 -0
- package/dist/components/ui/phone-glyphs/lock-camera-glyph.d.ts.map +1 -0
- package/dist/components/ui/phone-glyphs/lock-camera-glyph.js +14 -0
- package/dist/components/ui/phone-glyphs/lock-flashlight-glyph.d.ts +5 -0
- package/dist/components/ui/phone-glyphs/lock-flashlight-glyph.d.ts.map +1 -0
- package/dist/components/ui/phone-glyphs/lock-flashlight-glyph.js +14 -0
- package/dist/components/ui/phone-glyphs/status-bar-glyphs.d.ts +5 -0
- package/dist/components/ui/phone-glyphs/status-bar-glyphs.d.ts.map +1 -0
- package/dist/components/ui/phone-glyphs/status-bar-glyphs.js +68 -0
- package/dist/components/ui/photo-wall.d.ts.map +1 -1
- package/dist/components/ui/photo-wall.js +4 -1
- package/dist/components/ui/snap-carousel.d.ts +5 -8
- package/dist/components/ui/snap-carousel.d.ts.map +1 -1
- package/dist/components/ui/snap-carousel.js +2 -27
- package/dist/components/ui/tab-navigation.d.ts +8 -1
- package/dist/components/ui/tab-navigation.d.ts.map +1 -1
- package/dist/components/ui/tab-navigation.js +30 -20
- package/dist/{devices-X72Z4QMT.cjs → devices-A6SFNGE4.cjs} +37 -37
- package/dist/elestio-logo-grey-icon-DV7P3JLT.cjs +7 -0
- package/dist/elestio-logo-icon-34ILAIDI.cjs +7 -0
- package/dist/{embeddable-chat-TETIRLQD.cjs → embeddable-chat-BKPYNOIM.cjs} +105 -105
- package/dist/empty-vendor-icon-XZYOZ4EP.cjs +7 -0
- package/dist/eu-logo-icon-EYOX3UC7.cjs +7 -0
- package/dist/gemini-logo-icon-DNACTHIK.cjs +7 -0
- package/dist/google-gemini-icon-TZHJZ4IQ.cjs +7 -0
- package/dist/google-gemini-logo-icon-4XQVV5NN.cjs +7 -0
- package/dist/google-sheets-icon-UAAEBTR7.cjs +7 -0
- package/dist/hooks/index.cjs +9 -9
- package/dist/hooks/ui/use-autoplay.d.ts +50 -13
- package/dist/hooks/ui/use-autoplay.d.ts.map +1 -1
- package/dist/hooks/ui/use-autoplay.js +76 -13
- package/dist/hooks/ui/use-in-view.d.ts +8 -0
- package/dist/hooks/ui/use-in-view.d.ts.map +1 -1
- package/dist/hooks/ui/use-in-view.js +21 -36
- package/dist/hooks/use-agent-identities.d.ts +6 -0
- package/dist/hooks/use-agent-identities.d.ts.map +1 -1
- package/dist/hooks/use-scenario-player.d.ts +26 -9
- package/dist/hooks/use-scenario-player.d.ts.map +1 -1
- package/dist/hooks/use-scenario-player.js +12 -9
- package/dist/{chunk-SI24RMI5.cjs → icon-loaders-OLGJZGRP.cjs} +16 -950
- package/dist/index.cjs +72 -65
- package/dist/{knowledge-HWBSPQ7M.cjs → knowledge-5ZCVKUYV.cjs} +37 -37
- package/dist/{logs-IZ4QTHPI.cjs → logs-CL4OJASB.cjs} +44 -44
- package/dist/meshcentral-logo-grey-icon-UCRYV3IC.cjs +7 -0
- package/dist/meshcentral-logo-icon-76NSLOXF.cjs +7 -0
- package/dist/{policies-VHQR7JR5.cjs → policies-7D44ZVS5.cjs} +40 -40
- package/dist/{remote-session-IR3YCXSR.cjs → remote-session-QB3CIZRM.cjs} +24 -23
- package/dist/schemas/contact-schema.cjs +31 -11
- package/dist/schemas/contact-schema.d.ts +1 -1
- package/dist/schemas/contact-schema.d.ts.map +1 -1
- package/dist/schemas/contact-schema.js +1 -1
- package/dist/schemas/meeting-booking-schema.cjs +34 -14
- package/dist/schemas/meeting-booking-schema.d.ts +1 -1
- package/dist/schemas/meeting-booking-schema.d.ts.map +1 -1
- package/dist/schemas/meeting-booking-schema.js +1 -1
- package/dist/{software-update-QLOVC6EX.cjs → software-update-AX6TZL26.cjs} +40 -40
- package/dist/{tickets-board-YONLQB6F.cjs → tickets-board-7FAV2YWF.cjs} +27 -27
- package/dist/utils/index.cjs +2004 -1959
- package/dist/winget-logo-icon-GBS342G4.cjs +7 -0
- package/package.json +1 -1
- package/src/components/agent-identity.tsx +20 -1
- package/src/components/chat/entity-cards/entity-portrait-card.tsx +1 -1
- package/src/components/chat/types/entities/program-types.ts +4 -30
- package/src/components/chat/utils/icon-loading.tsx +50 -9
- package/src/components/features/video-bites-shared.ts +30 -0
- package/src/components/icons-v2-generated/brand-logos/clickup-icon.tsx +7 -5
- package/src/components/icons-v2-generated/brand-logos/clickup-logo-icon.tsx +7 -5
- package/src/components/icons-v2-generated/brand-logos/elestio-logo-grey-icon.tsx +5 -3
- package/src/components/icons-v2-generated/brand-logos/elestio-logo-icon.tsx +15 -13
- package/src/components/icons-v2-generated/brand-logos/gemini-logo-icon.tsx +29 -27
- package/src/components/icons-v2-generated/brand-logos/google-gemini-icon.tsx +29 -27
- package/src/components/icons-v2-generated/brand-logos/google-gemini-logo-icon.tsx +29 -27
- package/src/components/icons-v2-generated/brand-logos/google-sheets-icon.tsx +5 -3
- package/src/components/icons-v2-generated/brand-logos/meshcentral-logo-grey-icon.tsx +9 -7
- package/src/components/icons-v2-generated/brand-logos/meshcentral-logo-icon.tsx +9 -7
- package/src/components/icons-v2-generated/brand-logos/winget-logo-icon.tsx +15 -13
- package/src/components/icons-v2-generated/compliance-logos/aicpa-soc2-logo-icon.tsx +92 -90
- package/src/components/icons-v2-generated/compliance-logos/eu-logo-icon.tsx +51 -52
- package/src/components/icons-v2-generated/icon-names.ts +11 -0
- package/src/components/icons-v2-generated/interface/empty-vendor-icon.tsx +7 -5
- package/src/components/product-demo/screens/remote-desktop-picture.tsx +2 -1
- package/src/components/shared/product-release/product-release-card.tsx +1 -1
- package/src/components/ui/device-wallpaper.ts +7 -0
- package/src/components/ui/feature-list.tsx +24 -30
- package/src/components/ui/index.ts +3 -1
- package/src/components/ui/notification-stack.tsx +133 -0
- package/src/components/ui/numbered-step.tsx +81 -0
- package/src/components/ui/phone-frame.tsx +83 -19
- package/src/components/ui/phone-glyphs/lock-camera-glyph.tsx +14 -0
- package/src/components/ui/phone-glyphs/lock-flashlight-glyph.tsx +14 -0
- package/src/components/ui/phone-glyphs/status-bar-glyphs.tsx +45 -0
- package/src/components/ui/photo-wall.tsx +6 -0
- package/src/components/ui/snap-carousel.tsx +6 -38
- package/src/components/ui/tab-navigation.tsx +49 -21
- package/src/hooks/ui/use-autoplay.ts +144 -27
- package/src/hooks/ui/use-in-view.ts +31 -38
- package/src/hooks/use-agent-identities.ts +6 -0
- package/src/hooks/use-scenario-player.ts +44 -20
- package/src/schemas/contact-schema.ts +1 -1
- package/src/schemas/meeting-booking-schema.ts +1 -1
- package/src/styles/fonts.css +26 -0
- package/src/styles/ods-design-tokens.css +4 -2
- package/dist/aicpa-soc2-logo-icon-CJ5JRV6J.cjs +0 -7
- package/dist/chunk-73MDSN5A.cjs +0 -99
- package/dist/chunk-BE2WAMG5.cjs +0 -54
- package/dist/chunk-LCTDHLDL.cjs +0 -43
- package/dist/clickup-icon-CBBUZUVQ.cjs +0 -7
- package/dist/clickup-logo-icon-CGDKKISS.cjs +0 -7
- package/dist/components/ui/playback-toggle.d.ts +0 -24
- package/dist/components/ui/playback-toggle.d.ts.map +0 -1
- package/dist/components/ui/playback-toggle.js +0 -32
- package/dist/elestio-logo-grey-icon-Y5OFW4OO.cjs +0 -7
- package/dist/elestio-logo-icon-X7TTQAYP.cjs +0 -7
- package/dist/empty-vendor-icon-3RKCZUUR.cjs +0 -7
- package/dist/eu-logo-icon-N7QVPGG3.cjs +0 -7
- package/dist/gemini-logo-icon-QOPGATSZ.cjs +0 -7
- package/dist/google-gemini-icon-7GWWF6O6.cjs +0 -7
- package/dist/google-gemini-logo-icon-Z3GHPMVN.cjs +0 -7
- package/dist/google-sheets-icon-7MJ3LV4P.cjs +0 -7
- package/dist/meshcentral-logo-grey-icon-3VFJQMV2.cjs +0 -7
- package/dist/meshcentral-logo-icon-MDVBWMP5.cjs +0 -7
- package/dist/winget-logo-icon-XVZJ4QDM.cjs +0 -7
- package/src/components/ui/playback-toggle.tsx +0 -53
|
@@ -130,7 +130,23 @@ const TabBar = memo(function TabBarImpl({
|
|
|
130
130
|
const isPlaced = indicator.width > 0;
|
|
131
131
|
const activeProgress = tabs.find((tab) => tab.id === activeTab)?.progress;
|
|
132
132
|
const hasProgress = typeof activeProgress === "number";
|
|
133
|
-
const
|
|
133
|
+
const target = hasProgress ? Math.max(0, Math.min(1, activeProgress)) : 1;
|
|
134
|
+
const [run, setRun] = useState({ tab: null, progress: 0 });
|
|
135
|
+
const startsOver = hasProgress && (run.tab !== activeTab || target < run.progress);
|
|
136
|
+
if (hasProgress && !startsOver && run.progress !== target) setRun({ tab: activeTab, progress: target });
|
|
137
|
+
useEffect(() => {
|
|
138
|
+
if (!startsOver) return void 0;
|
|
139
|
+
let second = 0;
|
|
140
|
+
const first = requestAnimationFrame(() => {
|
|
141
|
+
second = requestAnimationFrame(() => setRun({ tab: activeTab, progress: target }));
|
|
142
|
+
});
|
|
143
|
+
return () => {
|
|
144
|
+
cancelAnimationFrame(first);
|
|
145
|
+
cancelAnimationFrame(second);
|
|
146
|
+
};
|
|
147
|
+
}, [startsOver, activeTab, target]);
|
|
148
|
+
const progress = startsOver ? 0 : target;
|
|
149
|
+
const activeAccent = tabs.find((tab) => tab.id === activeTab)?.accent;
|
|
134
150
|
const indicatorStyle = {
|
|
135
151
|
width: `${indicator.width * progress}px`,
|
|
136
152
|
transform: `translateX(${indicator.left}px)`,
|
|
@@ -152,7 +168,7 @@ const TabBar = memo(function TabBarImpl({
|
|
|
152
168
|
"div",
|
|
153
169
|
{
|
|
154
170
|
ref: scrollRef,
|
|
155
|
-
className: "scrollbar-hide relative flex h-full items-center justify-start
|
|
171
|
+
className: "scrollbar-hide relative flex h-full items-center justify-start overflow-x-auto overflow-y-hidden",
|
|
156
172
|
children: [
|
|
157
173
|
tabs.map((tab) => {
|
|
158
174
|
const isActive = activeTab === tab.id;
|
|
@@ -164,26 +180,19 @@ const TabBar = memo(function TabBarImpl({
|
|
|
164
180
|
onClick: () => onTabChange(tab.id),
|
|
165
181
|
"aria-label": tab.badge ? `${tab.label} (${tab.badge})` : void 0,
|
|
166
182
|
className: cn(
|
|
167
|
-
"relative flex shrink-0 cursor-pointer items-center gap-[var(--spacing-system-xxs)] p-[var(--spacing-system-m)]",
|
|
183
|
+
"group relative flex shrink-0 cursor-pointer items-center gap-[var(--spacing-system-xxs)] p-[var(--spacing-system-m)]",
|
|
168
184
|
tabAlign === "start" ? "justify-start text-left" : "justify-center",
|
|
169
185
|
// Named rather than `transition-all`: the only thing that moves
|
|
170
|
-
// here is colour.
|
|
171
|
-
// property each frame, including the background GRADIENT — which
|
|
172
|
-
// never animated anyway, since the inactive state has no
|
|
173
|
-
// background-image to interpolate from.
|
|
186
|
+
// here is colour.
|
|
174
187
|
"border-none bg-transparent outline-none transition-colors duration-200",
|
|
175
188
|
// `outline-none` above drops the browser's own focus ring, so
|
|
176
189
|
// put one back or the strip is un-navigable by keyboard — you
|
|
177
190
|
// can tab through it with nothing to show where you are. Inset,
|
|
178
|
-
// so it stays within the button
|
|
179
|
-
// sitting 4px away.
|
|
191
|
+
// so it stays within the button: the tabs touch.
|
|
180
192
|
"focus-visible:ring-2 focus-visible:ring-inset focus-visible:ring-ods-focus",
|
|
181
193
|
stretchTabs && "flex-1",
|
|
182
|
-
tab.avatar && "gap-[var(--spacing-system-xsf)]"
|
|
183
|
-
//
|
|
184
|
-
// alpha modifiers (to-ods-accent/10) silently produce no CSS.
|
|
185
|
-
// color-mix() accepts hex, so we derive the 10%-alpha stop from the token.
|
|
186
|
-
isActive ? "bg-gradient-to-b from-transparent to-[color-mix(in_srgb,var(--color-accent-primary)_10%,transparent)]" : "hover:bg-gradient-to-b hover:from-transparent hover:to-[color-mix(in_srgb,var(--color-accent-primary)_10%,transparent)]"
|
|
194
|
+
tab.avatar && "gap-[var(--spacing-system-xsf)]"
|
|
195
|
+
// The open tab is marked by the underline alone: no surface of its own.
|
|
187
196
|
),
|
|
188
197
|
children: [
|
|
189
198
|
tab.avatar ? /* @__PURE__ */ jsxs("div", { className: "relative flex shrink-0 items-center justify-center", children: [
|
|
@@ -195,8 +204,9 @@ const TabBar = memo(function TabBarImpl({
|
|
|
195
204
|
{
|
|
196
205
|
className: cn(
|
|
197
206
|
"h-4 w-4 transition-colors content-md:h-6 content-md:w-6",
|
|
198
|
-
isActive ? "text-ods-accent" : "text-ods-text-secondary"
|
|
199
|
-
)
|
|
207
|
+
isActive ? !tab.accent && "text-ods-accent" : "text-ods-text-secondary group-hover:text-ods-text-primary"
|
|
208
|
+
),
|
|
209
|
+
style: isActive && tab.accent ? { color: tab.accent } : void 0
|
|
200
210
|
}
|
|
201
211
|
),
|
|
202
212
|
tab.indicator && /* @__PURE__ */ jsx(StatusDot, { indicator: tab.indicator, className: "absolute right-0 top-[-3px]" })
|
|
@@ -211,7 +221,7 @@ const TabBar = memo(function TabBarImpl({
|
|
|
211
221
|
{
|
|
212
222
|
className: cn(
|
|
213
223
|
"whitespace-nowrap transition-colors text-h4",
|
|
214
|
-
isActive ? "text-ods-text-primary" : "text-ods-text-secondary"
|
|
224
|
+
isActive ? "text-ods-text-primary" : "text-ods-text-secondary group-hover:text-ods-text-primary"
|
|
215
225
|
),
|
|
216
226
|
children: tab.label
|
|
217
227
|
}
|
|
@@ -252,11 +262,11 @@ const TabBar = memo(function TabBarImpl({
|
|
|
252
262
|
"aria-hidden": true,
|
|
253
263
|
"data-testid": "tab-navigation-underline",
|
|
254
264
|
className: cn(
|
|
255
|
-
"pointer-events-none absolute bottom-0 left-0
|
|
256
|
-
|
|
265
|
+
"pointer-events-none absolute bottom-0 left-0 h-1 motion-reduce:transition-none",
|
|
266
|
+
!activeAccent && "bg-ods-accent",
|
|
257
267
|
!hasProgress && shouldAnimateIndicator && "transition-[transform,width,opacity] duration-200 ease-out"
|
|
258
268
|
),
|
|
259
|
-
style: indicatorStyle
|
|
269
|
+
style: activeAccent ? { ...indicatorStyle, backgroundColor: activeAccent } : indicatorStyle
|
|
260
270
|
}
|
|
261
271
|
)
|
|
262
272
|
]
|
|
@@ -11,24 +11,24 @@ require('./chunk-KHXZFLIN.cjs');
|
|
|
11
11
|
|
|
12
12
|
|
|
13
13
|
|
|
14
|
-
var
|
|
15
|
-
require('./chunk-
|
|
16
|
-
require('./chunk-
|
|
17
|
-
require('./chunk-
|
|
14
|
+
var _chunk22ZK7BA3cjs = require('./chunk-22ZK7BA3.cjs');
|
|
15
|
+
require('./chunk-QMTC3BK3.cjs');
|
|
16
|
+
require('./chunk-MEDDKM3A.cjs');
|
|
17
|
+
require('./chunk-G37LT2ID.cjs');
|
|
18
18
|
require('./chunk-HQQE74RO.cjs');
|
|
19
19
|
require('./chunk-DEY6XXGO.cjs');
|
|
20
|
-
require('./chunk-
|
|
21
|
-
require('./chunk-
|
|
20
|
+
require('./chunk-SJRR745G.cjs');
|
|
21
|
+
require('./chunk-GID62YEN.cjs');
|
|
22
22
|
require('./chunk-24I6RFVU.cjs');
|
|
23
23
|
require('./chunk-A6P6DHEZ.cjs');
|
|
24
24
|
require('./chunk-MZ4KBSH7.cjs');
|
|
25
25
|
require('./chunk-OXJ57643.cjs');
|
|
26
26
|
require('./chunk-YUMFVQIN.cjs');
|
|
27
|
-
require('./chunk-
|
|
28
|
-
require('./chunk-
|
|
29
|
-
require('./chunk-
|
|
27
|
+
require('./chunk-6KDGIOLP.cjs');
|
|
28
|
+
require('./chunk-ZWMPAFGB.cjs');
|
|
29
|
+
require('./chunk-HH4BMYDX.cjs');
|
|
30
30
|
require('./chunk-HZJRERJW.cjs');
|
|
31
|
-
require('./chunk-
|
|
31
|
+
require('./chunk-E3N24573.cjs');
|
|
32
32
|
require('./chunk-MJGX357L.cjs');
|
|
33
33
|
require('./chunk-ZOZR3QI2.cjs');
|
|
34
34
|
require('./chunk-OMV5S5PI.cjs');
|
|
@@ -47,7 +47,7 @@ require('./chunk-EW6JDYIJ.cjs');
|
|
|
47
47
|
require('./chunk-RIYAW5XQ.cjs');
|
|
48
48
|
require('./chunk-V625LXMX.cjs');
|
|
49
49
|
require('./chunk-QZDWF4TP.cjs');
|
|
50
|
-
require('./chunk-
|
|
50
|
+
require('./chunk-R4QMR6S4.cjs');
|
|
51
51
|
require('./chunk-3XTNLCTC.cjs');
|
|
52
52
|
require('./chunk-WK6GYVD5.cjs');
|
|
53
53
|
require('./chunk-3EGCNO7J.cjs');
|
|
@@ -697,8 +697,8 @@ require('./chunk-QFE6P63F.cjs');
|
|
|
697
697
|
require('./chunk-O7V5GAHE.cjs');
|
|
698
698
|
require('./chunk-OCN4FL5Q.cjs');
|
|
699
699
|
require('./chunk-3ATL7GDU.cjs');
|
|
700
|
-
require('./chunk-
|
|
701
|
-
require('./chunk-
|
|
700
|
+
require('./chunk-OKW5OAFJ.cjs');
|
|
701
|
+
require('./chunk-6N5NQRQA.cjs');
|
|
702
702
|
require('./chunk-ZAOFZVLY.cjs');
|
|
703
703
|
require('./chunk-V5KXAQX4.cjs');
|
|
704
704
|
require('./chunk-PFRJIX7A.cjs');
|
|
@@ -931,7 +931,7 @@ require('./chunk-N72UPI7O.cjs');
|
|
|
931
931
|
require('./chunk-DXD6RXHR.cjs');
|
|
932
932
|
require('./chunk-4WBXPA7T.cjs');
|
|
933
933
|
require('./chunk-SSDZ2GXZ.cjs');
|
|
934
|
-
require('./chunk-
|
|
934
|
+
require('./chunk-CKR42OBK.cjs');
|
|
935
935
|
require('./chunk-5C2FFRM3.cjs');
|
|
936
936
|
require('./chunk-W4GNRZNW.cjs');
|
|
937
937
|
require('./chunk-I3XDST6Q.cjs');
|
|
@@ -940,8 +940,8 @@ require('./chunk-7V4BJPWN.cjs');
|
|
|
940
940
|
require('./chunk-PV5XWLHS.cjs');
|
|
941
941
|
require('./chunk-GBYDOBZJ.cjs');
|
|
942
942
|
require('./chunk-IVUEBSZI.cjs');
|
|
943
|
-
require('./chunk-
|
|
944
|
-
require('./chunk-
|
|
943
|
+
require('./chunk-J7SZOZOS.cjs');
|
|
944
|
+
require('./chunk-ZWUIRQNY.cjs');
|
|
945
945
|
require('./chunk-OISNGOVI.cjs');
|
|
946
946
|
require('./chunk-UTEMC6QY.cjs');
|
|
947
947
|
require('./chunk-JZCNK6ID.cjs');
|
|
@@ -965,7 +965,7 @@ require('./chunk-KJVUT6TC.cjs');
|
|
|
965
965
|
require('./chunk-SI3C5MSE.cjs');
|
|
966
966
|
require('./chunk-BQKIC2L7.cjs');
|
|
967
967
|
require('./chunk-KWI6PZDR.cjs');
|
|
968
|
-
require('./chunk-
|
|
968
|
+
require('./chunk-LRQITIEC.cjs');
|
|
969
969
|
require('./chunk-IP7BBNC3.cjs');
|
|
970
970
|
require('./chunk-3VK4NLWK.cjs');
|
|
971
971
|
require('./chunk-ILYW6BQN.cjs');
|
|
@@ -1115,7 +1115,7 @@ require('./chunk-DLIEZ3RI.cjs');
|
|
|
1115
1115
|
require('./chunk-GTOJIVUG.cjs');
|
|
1116
1116
|
require('./chunk-EDVT7OAS.cjs');
|
|
1117
1117
|
require('./chunk-J2J46RD7.cjs');
|
|
1118
|
-
require('./chunk-
|
|
1118
|
+
require('./chunk-GKHWXI25.cjs');
|
|
1119
1119
|
require('./chunk-Y37GQ7LY.cjs');
|
|
1120
1120
|
require('./chunk-UPORNW7Y.cjs');
|
|
1121
1121
|
require('./chunk-XVBSIZZZ.cjs');
|
|
@@ -1128,7 +1128,7 @@ require('./chunk-5MW5L3KP.cjs');
|
|
|
1128
1128
|
require('./chunk-KNJJGFRS.cjs');
|
|
1129
1129
|
require('./chunk-ZKCVXV65.cjs');
|
|
1130
1130
|
require('./chunk-PJBY4WDP.cjs');
|
|
1131
|
-
require('./chunk-
|
|
1131
|
+
require('./chunk-RC32WBPL.cjs');
|
|
1132
1132
|
require('./chunk-QKEK7C3C.cjs');
|
|
1133
1133
|
require('./chunk-YWM3EATD.cjs');
|
|
1134
1134
|
require('./chunk-AKDG3XFL.cjs');
|
|
@@ -1138,7 +1138,7 @@ require('./chunk-S2Y6AJPY.cjs');
|
|
|
1138
1138
|
require('./chunk-YTV4JDXK.cjs');
|
|
1139
1139
|
require('./chunk-R4PYEXRG.cjs');
|
|
1140
1140
|
require('./chunk-KVTWTWGG.cjs');
|
|
1141
|
-
require('./chunk-
|
|
1141
|
+
require('./chunk-52HFGZCI.cjs');
|
|
1142
1142
|
require('./chunk-HNTGOS3G.cjs');
|
|
1143
1143
|
require('./chunk-SWHUL32W.cjs');
|
|
1144
1144
|
require('./chunk-NEZ4MXDS.cjs');
|
|
@@ -1153,7 +1153,7 @@ require('./chunk-5YRFUDAS.cjs');
|
|
|
1153
1153
|
require('./chunk-FRHJNL4W.cjs');
|
|
1154
1154
|
require('./chunk-4JRGMN4B.cjs');
|
|
1155
1155
|
require('./chunk-Q6GXWFMW.cjs');
|
|
1156
|
-
require('./chunk-
|
|
1156
|
+
require('./chunk-NCGAP3U4.cjs');
|
|
1157
1157
|
require('./chunk-JAWIFYB2.cjs');
|
|
1158
1158
|
require('./chunk-6YS2NSKP.cjs');
|
|
1159
1159
|
require('./chunk-6BDBASLK.cjs');
|
|
@@ -1319,9 +1319,9 @@ require('./chunk-4FMA4KTH.cjs');
|
|
|
1319
1319
|
require('./chunk-5IGDSOIL.cjs');
|
|
1320
1320
|
require('./chunk-44MFW2JL.cjs');
|
|
1321
1321
|
require('./chunk-TQ6NZO6F.cjs');
|
|
1322
|
-
require('./chunk-
|
|
1322
|
+
require('./chunk-CT342EJU.cjs');
|
|
1323
1323
|
require('./chunk-U7CBIAE7.cjs');
|
|
1324
|
-
require('./chunk-
|
|
1324
|
+
require('./chunk-27TMRMOM.cjs');
|
|
1325
1325
|
require('./chunk-DCC5FRWG.cjs');
|
|
1326
1326
|
require('./chunk-WNUEWOSH.cjs');
|
|
1327
1327
|
require('./chunk-6BYUCDU7.cjs');
|
|
@@ -1787,7 +1787,7 @@ require('./chunk-TMHPQ4E5.cjs');
|
|
|
1787
1787
|
require('./chunk-7WT2C5YY.cjs');
|
|
1788
1788
|
require('./chunk-BHUIUHJF.cjs');
|
|
1789
1789
|
require('./chunk-KLM7TDPH.cjs');
|
|
1790
|
-
require('./chunk-
|
|
1790
|
+
require('./chunk-O2RPIGSG.cjs');
|
|
1791
1791
|
require('./chunk-D6XEZN4K.cjs');
|
|
1792
1792
|
require('./chunk-DM7KP3VO.cjs');
|
|
1793
1793
|
require('./chunk-HZYC3G6E.cjs');
|
|
@@ -1818,20 +1818,20 @@ require('./chunk-LMBYZITR.cjs');
|
|
|
1818
1818
|
require('./chunk-TMVC7S2R.cjs');
|
|
1819
1819
|
require('./chunk-IYHH5EIO.cjs');
|
|
1820
1820
|
require('./chunk-XIBCMGBW.cjs');
|
|
1821
|
-
require('./chunk-
|
|
1822
|
-
require('./chunk-
|
|
1823
|
-
require('./chunk-
|
|
1821
|
+
require('./chunk-RIXGLS5Y.cjs');
|
|
1822
|
+
require('./chunk-CC3LINHF.cjs');
|
|
1823
|
+
require('./chunk-HELVKMRG.cjs');
|
|
1824
1824
|
require('./chunk-JKX2C3I2.cjs');
|
|
1825
1825
|
require('./chunk-7DNL734S.cjs');
|
|
1826
1826
|
require('./chunk-WWUSFOJ7.cjs');
|
|
1827
1827
|
require('./chunk-SKI6NKOE.cjs');
|
|
1828
1828
|
require('./chunk-EWPR7662.cjs');
|
|
1829
|
-
require('./chunk-
|
|
1830
|
-
require('./chunk-
|
|
1831
|
-
require('./chunk-
|
|
1829
|
+
require('./chunk-TLDCSTTQ.cjs');
|
|
1830
|
+
require('./chunk-XOQ2UUVS.cjs');
|
|
1831
|
+
require('./chunk-AEVGCB3Y.cjs');
|
|
1832
1832
|
require('./chunk-YADG5Q7C.cjs');
|
|
1833
|
-
require('./chunk-
|
|
1834
|
-
require('./chunk-
|
|
1833
|
+
require('./chunk-NYY25425.cjs');
|
|
1834
|
+
require('./chunk-KLXHCNDC.cjs');
|
|
1835
1835
|
require('./chunk-S5C3OZCO.cjs');
|
|
1836
1836
|
require('./chunk-32ASZMTV.cjs');
|
|
1837
1837
|
require('./chunk-OOYBIS7D.cjs');
|
|
@@ -1841,10 +1841,10 @@ require('./chunk-ORO54HDF.cjs');
|
|
|
1841
1841
|
require('./chunk-RUHKTWGB.cjs');
|
|
1842
1842
|
require('./chunk-BLH2SFOO.cjs');
|
|
1843
1843
|
require('./chunk-EAY6ZUES.cjs');
|
|
1844
|
-
require('./chunk-
|
|
1844
|
+
require('./chunk-PX7FY655.cjs');
|
|
1845
1845
|
require('./chunk-CW3ML76U.cjs');
|
|
1846
|
-
require('./chunk-
|
|
1847
|
-
require('./chunk-
|
|
1846
|
+
require('./chunk-7DUXR4HL.cjs');
|
|
1847
|
+
require('./chunk-MANNIJ42.cjs');
|
|
1848
1848
|
require('./chunk-VOX4E6AX.cjs');
|
|
1849
1849
|
require('./chunk-UR4K2NSL.cjs');
|
|
1850
1850
|
require('./chunk-UJ7AXHRZ.cjs');
|
|
@@ -1865,14 +1865,14 @@ require('./chunk-3ATAYP36.cjs');
|
|
|
1865
1865
|
// src/components/product-demo/screens/devices.tsx
|
|
1866
1866
|
var _react = require('react');
|
|
1867
1867
|
var _jsxruntime = require('react/jsx-runtime');
|
|
1868
|
-
var TOOLBAR = { ...
|
|
1868
|
+
var TOOLBAR = { ..._chunk22ZK7BA3cjs.IDLE_DEVICES_TOOLBAR, searchValue: _chunkWFPCCBOMcjs.DEVICES_SEARCH_QUERY };
|
|
1869
1869
|
var NO_HEADER = /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _jsxruntime.Fragment, {});
|
|
1870
1870
|
var HIDDEN_WHEN_COMPACT = ["organization"];
|
|
1871
1871
|
function DevicesScreen({ compact = false }) {
|
|
1872
1872
|
const cast = _chunkII4QMH26cjs.useProductDemoCast.call(void 0, );
|
|
1873
1873
|
const fixture = _react.useMemo.call(void 0, () => _chunkWFPCCBOMcjs.buildWindowsDevicesFixture.call(void 0, cast), [cast]);
|
|
1874
1874
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "h-full bg-ods-bg", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1875
|
-
|
|
1875
|
+
_chunk22ZK7BA3cjs.DevicesPanelView,
|
|
1876
1876
|
{
|
|
1877
1877
|
className: "p-[var(--spacing-system-l)]",
|
|
1878
1878
|
headerSlot: NO_HEADER,
|