@flamingo-stack/openframe-frontend-core 0.0.702 → 0.0.703-snapshot.20261006080901
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/{chunk-CYYTD5ZK.cjs → chunk-262YQFOS.cjs} +47 -47
- package/dist/{chunk-SAA7B3DA.js → chunk-2G546OND.js} +500 -67
- package/dist/{chunk-6JPQDYYY.js → chunk-2JDVL7UV.js} +2614 -2001
- package/dist/{chunk-ASN65P3F.cjs → chunk-4DQMTBMK.cjs} +15 -15
- package/dist/{chunk-CZ34HXDW.js → chunk-4KGXLVCF.js} +686 -725
- package/dist/{chunk-TCZCMD5Q.js → chunk-5HBHO5TB.js} +1 -1
- package/dist/{chunk-446KS5BG.js → chunk-5QJDM6UV.js} +5 -5
- package/dist/{chunk-UJJWTJ6S.js → chunk-6WQIUQUC.js} +30 -16
- package/dist/{chunk-YR6JPJF4.js → chunk-6XIF2Z7I.js} +4 -4
- package/dist/{chunk-YGRHITPY.cjs → chunk-7JIL3WOH.cjs} +24 -24
- package/dist/{chunk-RS7HWAYX.js → chunk-7LFIKJX2.js} +3 -3
- package/dist/{chunk-4OGAXAEG.cjs → chunk-ABU3TGXA.cjs} +3 -3
- package/dist/{chunk-3WSFIV5G.cjs → chunk-AMYY3PNL.cjs} +69 -55
- package/dist/{chunk-BRXOGCH3.cjs → chunk-BIZNSF3U.cjs} +3 -3
- package/dist/{chunk-2A4XES7R.cjs → chunk-BM5MVGH3.cjs} +3 -3
- package/dist/{chunk-IIMICN7L.cjs → chunk-C3BWIU7R.cjs} +4 -44
- package/dist/{chunk-LZNJH23A.cjs → chunk-C7XGRLT5.cjs} +12 -12
- package/dist/{chunk-6YCXA7CN.js → chunk-CH5232HV.js} +20 -19
- package/dist/{chunk-UIBSSVON.cjs → chunk-D7BTSVMS.cjs} +2 -2
- package/dist/{chunk-BO5ZHDA4.js → chunk-ERCV6HHJ.js} +7 -7
- package/dist/{chunk-5V6O73EH.js → chunk-FLKJYMVB.js} +3 -3
- package/dist/{chunk-Z5HDCZAS.js → chunk-FXENTYE5.js} +15 -15
- package/dist/{chunk-HIXGAY2L.cjs → chunk-HFJW24JJ.cjs} +121 -121
- package/dist/{chunk-HPJ4XS2L.js → chunk-HJAYVKWQ.js} +24 -24
- package/dist/{chunk-PLK6GHN7.js → chunk-I7DFUQMN.js} +10 -10
- package/dist/{chunk-KJ5LWATV.js → chunk-IHU5ANUY.js} +7 -7
- package/dist/{chunk-AEQANLBW.cjs → chunk-IZGDG5X6.cjs} +505 -72
- package/dist/{chunk-2V4Z44G6.js → chunk-JEYRXT5L.js} +17 -17
- package/dist/{chunk-B3LZJ6J3.cjs → chunk-L3IC42IF.cjs} +32 -32
- package/dist/{chunk-RTGPIHVO.cjs → chunk-LDPEQGKT.cjs} +2243 -1630
- package/dist/{chunk-FD4DBTFO.cjs → chunk-LTSTC3N5.cjs} +1253 -1292
- package/dist/{chunk-OGLCD3UL.js → chunk-MFFCUVWG.js} +6 -6
- package/dist/{chunk-3L7KCOGO.cjs → chunk-MGGGBHYD.cjs} +30 -30
- package/dist/{chunk-QFW3RUZS.cjs → chunk-MI3JUJ75.cjs} +33 -33
- package/dist/{chunk-EMCQGFXD.cjs → chunk-MMOODW57.cjs} +28 -27
- package/dist/{chunk-Q76ZTHNV.js → chunk-MP2C3LJ4.js} +1 -1
- package/dist/{chunk-E3DH543A.cjs → chunk-N3TO7JV3.cjs} +98 -98
- package/dist/{chunk-2T6QWNXU.js → chunk-NDESEPW5.js} +99 -11
- package/dist/{chunk-ETFFEA3J.js → chunk-NRLJUBCS.js} +7 -7
- package/dist/{chunk-HUOLB7ZN.cjs → chunk-OHFS7VOU.cjs} +9 -9
- package/dist/{chunk-MWUBBBWZ.js → chunk-QVSFBSWV.js} +10 -10
- package/dist/{chunk-MDBHZBW7.cjs → chunk-RKV5B7EU.cjs} +92 -4
- package/dist/{chunk-3G76LRGL.cjs → chunk-SYXQLETR.cjs} +29 -29
- package/dist/{chunk-FHM7GD5B.cjs → chunk-UK62YTH6.cjs} +28 -14
- package/dist/{chunk-HUMWQMCU.js → chunk-UT4YHQZW.js} +3 -3
- package/dist/{chunk-NGJCWEYX.cjs → chunk-VHCACDKP.cjs} +46 -46
- package/dist/{chunk-5FFNNJM7.js → chunk-VR2ZLFCP.js} +1 -1
- package/dist/{chunk-IZKOQVXO.js → chunk-VTASHWER.js} +14 -14
- package/dist/{chunk-64O4L7WN.js → chunk-WUJNYGO2.js} +11 -51
- package/dist/{chunk-JOY6HVPV.js → chunk-XATTBO5X.js} +25 -11
- package/dist/{chunk-L7KZA7ZD.cjs → chunk-XIFOBQRQ.cjs} +6 -6
- package/dist/{chunk-CXDJUKC6.cjs → chunk-XJKZ4IKT.cjs} +4 -4
- package/dist/{chunk-XCIFHW4E.cjs → chunk-XOYH2YQE.cjs} +2 -2
- package/dist/{chunk-HYFLTFFB.js → chunk-ZQFZSFQI.js} +2 -2
- package/dist/components/case-studies/index.cjs +24 -24
- package/dist/components/case-studies/index.js +10 -10
- package/dist/components/chat/chat-archive-page.d.ts +3 -3
- package/dist/components/chat/chat-archive-page.d.ts.map +1 -1
- package/dist/components/chat/chat-nav-sidebar.d.ts +4 -0
- package/dist/components/chat/chat-nav-sidebar.d.ts.map +1 -1
- package/dist/components/chat/chat-panel-header.d.ts +3 -2
- package/dist/components/chat/chat-panel-header.d.ts.map +1 -1
- package/dist/components/chat/embeddable-chat.d.ts +36 -2
- package/dist/components/chat/embeddable-chat.d.ts.map +1 -1
- package/dist/components/chat/index.cjs +14 -6
- package/dist/components/chat/index.d.ts +4 -1
- package/dist/components/chat/index.d.ts.map +1 -1
- package/dist/components/chat/index.js +13 -5
- package/dist/components/chat/mingo-archive-list.d.ts +17 -0
- package/dist/components/chat/mingo-archive-list.d.ts.map +1 -0
- package/dist/components/chat/mingo-chat-header.d.ts +31 -0
- package/dist/components/chat/mingo-chat-header.d.ts.map +1 -0
- package/dist/components/chat/mingo-chat-rail.d.ts +54 -0
- package/dist/components/chat/mingo-chat-rail.d.ts.map +1 -0
- package/dist/components/chat/model-display.d.ts.map +1 -1
- package/dist/components/contact/contact-form.d.ts.map +1 -1
- package/dist/components/contact/index.cjs +11 -11
- package/dist/components/contact/index.js +10 -10
- package/dist/components/content-loading-container.d.ts +1 -1
- package/dist/components/content-loading-container.d.ts.map +1 -1
- package/dist/components/docs/index.cjs +14 -14
- package/dist/components/docs/index.js +13 -13
- package/dist/components/docs/skeletons.d.ts.map +1 -1
- package/dist/components/embeds/index.cjs +11 -11
- package/dist/components/embeds/index.js +10 -10
- package/dist/components/faq/index.cjs +12 -12
- package/dist/components/faq/index.js +11 -11
- package/dist/components/features/figma-prototype-viewer.d.ts.map +1 -1
- package/dist/components/features/index.cjs +10 -10
- package/dist/components/features/index.js +9 -9
- package/dist/components/features/media-gallery-manager.d.ts.map +1 -1
- package/dist/components/features/parallax-image-showcase.d.ts.map +1 -1
- package/dist/components/features/policy-configuration-panel.d.ts.map +1 -1
- package/dist/components/features/section-selector.d.ts.map +1 -1
- package/dist/components/help-center-pages/index.cjs +119 -119
- package/dist/components/help-center-pages/index.js +39 -39
- package/dist/components/help-center-pages/trust-center-sections.d.ts +2 -2
- package/dist/components/help-center-pages/trust-center-sections.d.ts.map +1 -1
- package/dist/components/index.cjs +94 -86
- package/dist/components/index.js +32 -24
- package/dist/components/layout/article-detail-layout.d.ts +1 -1
- package/dist/components/layout/article-detail-layout.d.ts.map +1 -1
- package/dist/components/layout/page-container.d.ts.map +1 -1
- package/dist/components/layout/title-block.d.ts +2 -2
- package/dist/components/layout/title-block.d.ts.map +1 -1
- package/dist/components/loading/page-layout-skeleton.d.ts.map +1 -1
- package/dist/components/loading/unified-skeleton.d.ts.map +1 -1
- package/dist/components/meeting-scheduler/booking-form.d.ts +4 -4
- package/dist/components/meeting-scheduler/booking-form.d.ts.map +1 -1
- package/dist/components/meeting-scheduler/context-panel.d.ts.map +1 -1
- package/dist/components/meeting-scheduler/index.cjs +127 -127
- package/dist/components/meeting-scheduler/index.d.ts +2 -2
- package/dist/components/meeting-scheduler/index.d.ts.map +1 -1
- package/dist/components/meeting-scheduler/index.js +50 -50
- package/dist/components/navigation/app-header.d.ts +4 -0
- package/dist/components/navigation/app-header.d.ts.map +1 -1
- package/dist/components/navigation/app-layout-drawer.d.ts.map +1 -1
- package/dist/components/navigation/app-layout-side-panel.d.ts +142 -0
- package/dist/components/navigation/app-layout-side-panel.d.ts.map +1 -0
- package/dist/components/navigation/app-layout.d.ts +11 -1
- package/dist/components/navigation/app-layout.d.ts.map +1 -1
- package/dist/components/navigation/header-mingo-button.d.ts +4 -1
- package/dist/components/navigation/header-mingo-button.d.ts.map +1 -1
- package/dist/components/navigation/index.cjs +13 -13
- package/dist/components/navigation/index.d.ts +1 -0
- package/dist/components/navigation/index.d.ts.map +1 -1
- package/dist/components/navigation/index.js +12 -12
- package/dist/components/navigation/navigation-sidebar.d.ts +8 -1
- package/dist/components/navigation/navigation-sidebar.d.ts.map +1 -1
- package/dist/components/navigation/sliding-sidebar.d.ts.map +1 -1
- package/dist/components/onboarding-guides/index.cjs +14 -14
- package/dist/components/onboarding-guides/index.js +13 -13
- package/dist/components/persistent-filter-controls.d.ts.map +1 -1
- package/dist/components/related-content/index.cjs +7 -7
- package/dist/components/related-content/index.js +6 -6
- package/dist/components/shared/detail-page-skeleton.d.ts.map +1 -1
- package/dist/components/tickets/help-center-create-form.d.ts +4 -4
- package/dist/components/tickets/index.cjs +15 -15
- package/dist/components/tickets/index.js +14 -14
- package/dist/components/ui/announcement-bar-view.d.ts.map +1 -1
- package/dist/components/ui/breadcrumb.d.ts.map +1 -1
- package/dist/components/ui/checkbox-block.d.ts.map +1 -1
- package/dist/components/ui/dashboard-info-card.d.ts +1 -1
- package/dist/components/ui/dashboard-info-card.d.ts.map +1 -1
- package/dist/components/ui/data-table/data-table-body.d.ts +2 -2
- package/dist/components/ui/data-table/data-table-skeleton.d.ts +2 -2
- package/dist/components/ui/data-table/data-table-skeleton.d.ts.map +1 -1
- package/dist/components/ui/data-table/utils.d.ts +2 -2
- package/dist/components/ui/dialog.d.ts.map +1 -1
- package/dist/components/ui/drawer.d.ts +7 -3
- package/dist/components/ui/drawer.d.ts.map +1 -1
- package/dist/components/ui/entity-image.d.ts +2 -2
- package/dist/components/ui/file-manager/index.cjs +36 -36
- package/dist/components/ui/file-manager/index.js +3 -3
- package/dist/components/ui/filter-modal.d.ts.map +1 -1
- package/dist/components/ui/index.cjs +18 -10
- package/dist/components/ui/index.js +17 -9
- package/dist/components/ui/info-card-row.d.ts.map +1 -1
- package/dist/components/ui/menubar.d.ts +1 -1
- package/dist/components/ui/menubar.d.ts.map +1 -1
- package/dist/components/ui/modal-v2.d.ts.map +1 -1
- package/dist/components/ui/modal.d.ts.map +1 -1
- package/dist/components/ui/no-data/no-data-actions.d.ts.map +1 -1
- package/dist/components/ui/no-data/no-data-styles.d.ts +1 -1
- package/dist/components/ui/no-data/no-data-styles.d.ts.map +1 -1
- package/dist/components/ui/page-actions.d.ts.map +1 -1
- package/dist/components/ui/panel-resize-handle.d.ts +25 -0
- package/dist/components/ui/panel-resize-handle.d.ts.map +1 -0
- package/dist/components/ui/sheet.d.ts.map +1 -1
- package/dist/components/ui/table/table-skeleton.d.ts +1 -1
- package/dist/components/ui/table/table-skeleton.d.ts.map +1 -1
- package/dist/hooks/index.cjs +23 -9
- package/dist/hooks/index.js +24 -10
- package/dist/hooks/ui/index.d.ts +1 -0
- package/dist/hooks/ui/index.d.ts.map +1 -1
- package/dist/hooks/ui/use-content-breakpoint.d.ts +32 -0
- package/dist/hooks/ui/use-content-breakpoint.d.ts.map +1 -0
- package/dist/hooks/ui/use-isomorphic-layout-effect.d.ts +2 -2
- package/dist/hooks/ui/use-isomorphic-layout-effect.d.ts.map +1 -1
- package/dist/hooks/ui/use-media-query.d.ts.map +1 -1
- package/dist/hooks/ui/use-resizable-panel-size.d.ts +46 -0
- package/dist/hooks/ui/use-resizable-panel-size.d.ts.map +1 -0
- package/dist/index.cjs +39 -17
- package/dist/index.js +41 -19
- package/dist/styles/layout-steps.d.ts +30 -0
- package/dist/styles/layout-steps.d.ts.map +1 -0
- package/dist/tailwind.config.cjs +36 -11
- package/dist/tailwind.config.js +36 -11
- package/eslint-config/README.md +9 -0
- package/eslint-config/base.js +17 -1
- package/eslint-config/layout-variants.js +57 -0
- package/package.json +3 -1
- package/src/ODS_TOKEN_RULES.md +40 -0
- package/src/components/chat/chat-archive-page.tsx +9 -7
- package/src/components/chat/chat-nav-sidebar.tsx +10 -4
- package/src/components/chat/chat-panel-header.tsx +8 -5
- package/src/components/chat/embeddable-chat.tsx +686 -494
- package/src/components/chat/index.ts +4 -0
- package/src/components/chat/mingo-archive-list.tsx +108 -0
- package/src/components/chat/mingo-chat-header.tsx +104 -0
- package/src/components/chat/mingo-chat-rail.tsx +361 -0
- package/src/components/chat/model-display.tsx +8 -1
- package/src/components/contact/contact-form.tsx +11 -9
- package/src/components/content-loading-container.tsx +4 -2
- package/src/components/docs/doc-viewer.tsx +7 -7
- package/src/components/docs/skeletons.tsx +7 -4
- package/src/components/dynamic-skeleton.tsx +1 -1
- package/src/components/embeds/claude-embed.tsx +1 -1
- package/src/components/embeds/embed-viewer-frame.tsx +4 -4
- package/src/components/embeds/figma-embed.tsx +2 -2
- package/src/components/embeds/google-sheets-viewer.tsx +1 -1
- package/src/components/embeds/pdf-viewer.tsx +3 -3
- package/src/components/empty-state.tsx +6 -6
- package/src/components/faq/faq-section.tsx +2 -2
- package/src/components/faq-accordion.tsx +1 -1
- package/src/components/features/board/board-column-header.tsx +1 -1
- package/src/components/features/command-box.tsx +3 -3
- package/src/components/features/entity-video-section.tsx +2 -2
- package/src/components/features/figma-prototype-viewer.tsx +4 -1
- package/src/components/features/media-gallery-manager.tsx +3 -1
- package/src/components/features/parallax-image-showcase.tsx +9 -6
- package/src/components/features/policy-configuration-panel.tsx +9 -7
- package/src/components/features/provider-button.tsx +1 -1
- package/src/components/features/section-selector.tsx +11 -6
- package/src/components/features/select-button.tsx +4 -4
- package/src/components/features/seo-editor-preview.tsx +2 -2
- package/src/components/features/video-ratio-tabs.tsx +3 -3
- package/src/components/features/waitlist-form.tsx +1 -1
- package/src/components/help-center-pages/trust-center-page.tsx +1 -1
- package/src/components/help-center-pages/trust-center-sections.tsx +14 -14
- package/src/components/icon-display.tsx +1 -1
- package/src/components/layout/article-detail-layout.tsx +4 -2
- package/src/components/layout/list-page-layout.tsx +2 -2
- package/src/components/layout/page-container.tsx +26 -14
- package/src/components/layout/page-heading.tsx +1 -1
- package/src/components/layout/page-layout.tsx +1 -1
- package/src/components/layout/title-block.tsx +13 -13
- package/src/components/loading/card-skeleton.tsx +11 -11
- package/src/components/loading/category-vendor-selector-skeleton.tsx +1 -1
- package/src/components/loading/content-skeleton.tsx +6 -6
- package/src/components/loading/device-card-skeleton.tsx +1 -1
- package/src/components/loading/margin-report-skeleton.tsx +7 -7
- package/src/components/loading/msp-profile-form-skeleton.tsx +3 -3
- package/src/components/loading/organization-card-skeleton.tsx +2 -2
- package/src/components/loading/page-layout-skeleton.tsx +80 -68
- package/src/components/loading/unified-skeleton.tsx +16 -6
- package/src/components/media-carousel.tsx +3 -3
- package/src/components/meeting-scheduler/booking-form.tsx +9 -8
- package/src/components/meeting-scheduler/context-panel.tsx +8 -6
- package/src/components/meeting-scheduler/directory.tsx +4 -4
- package/src/components/meeting-scheduler/index.tsx +15 -15
- package/src/components/meeting-scheduler/slot-picker.tsx +12 -12
- package/src/components/navigation/app-header.tsx +6 -0
- package/src/components/navigation/app-layout-drawer.tsx +14 -237
- package/src/components/navigation/app-layout-side-panel.tsx +594 -0
- package/src/components/navigation/app-layout.tsx +69 -4
- package/src/components/navigation/header-mingo-button.tsx +13 -3
- package/src/components/navigation/index.ts +5 -0
- package/src/components/navigation/navigation-sidebar.tsx +17 -3
- package/src/components/navigation/sliding-sidebar.tsx +2 -1
- package/src/components/pagination.tsx +3 -3
- package/src/components/persistent-filter-controls.tsx +6 -2
- package/src/components/platform/ScriptArguments.tsx +1 -1
- package/src/components/platform/ScriptInfoSection.tsx +4 -4
- package/src/components/shared/article-author-byline.tsx +1 -1
- package/src/components/shared/delivery/delivery-lists.tsx +2 -2
- package/src/components/shared/delivery/delivery-row.tsx +7 -7
- package/src/components/shared/delivery/delivery-table.tsx +3 -3
- package/src/components/shared/detail-page-skeleton.tsx +11 -5
- package/src/components/shared/dev-section/dev-card-row.tsx +6 -6
- package/src/components/shared/dev-section/dev-section-view.tsx +1 -1
- package/src/components/shared/product-release/product-release-card-skeleton.tsx +8 -8
- package/src/components/shared/product-release/product-release-card.tsx +9 -9
- package/src/components/shared/product-release/product-releases-view.tsx +1 -1
- package/src/components/shared/product-release/release-detail-page.tsx +5 -5
- package/src/components/shared/roadmap/roadmap-grid-skeleton.tsx +1 -1
- package/src/components/shared/roadmap/roadmap-grid.tsx +3 -3
- package/src/components/tickets/help-center-card.tsx +1 -1
- package/src/components/tickets/help-center-create-form.tsx +12 -12
- package/src/components/ui/announcement-bar-view.tsx +2 -10
- package/src/components/ui/benefit-card.tsx +18 -18
- package/src/components/ui/brand-association-grid.tsx +4 -4
- package/src/components/ui/breadcrumb.tsx +4 -1
- package/src/components/ui/card.tsx +1 -1
- package/src/components/ui/checkbox-block.tsx +9 -7
- package/src/components/ui/content-loader.tsx +3 -3
- package/src/components/ui/cursor-pagination.tsx +3 -3
- package/src/components/ui/dashboard-info-card.tsx +13 -9
- package/src/components/ui/data-attribution.tsx +2 -2
- package/src/components/ui/data-table/data-table-body.tsx +2 -2
- package/src/components/ui/data-table/data-table-header.tsx +15 -15
- package/src/components/ui/data-table/data-table-skeleton.tsx +6 -6
- package/src/components/ui/data-table/utils.ts +5 -5
- package/src/components/ui/dialog.tsx +4 -1
- package/src/components/ui/drawer.tsx +43 -189
- package/src/components/ui/duration-input.tsx +1 -1
- package/src/components/ui/entity-image.tsx +3 -3
- package/src/components/ui/feature-card.tsx +10 -10
- package/src/components/ui/file-manager/file-manager-action-bar.tsx +1 -1
- package/src/components/ui/file-manager/file-manager.tsx +1 -1
- package/src/components/ui/filter-modal.tsx +8 -1
- package/src/components/ui/highlight-card.tsx +7 -7
- package/src/components/ui/info-card-row.tsx +10 -6
- package/src/components/ui/modal-v2.tsx +7 -2
- package/src/components/ui/modal.tsx +3 -2
- package/src/components/ui/no-data/no-data-actions.tsx +10 -4
- package/src/components/ui/no-data/no-data-styles.ts +1 -1
- package/src/components/ui/no-data/no-data.tsx +1 -1
- package/src/components/ui/organization-card.tsx +1 -1
- package/src/components/ui/page-actions.tsx +34 -5
- package/src/components/ui/panel-resize-handle.tsx +184 -0
- package/src/components/ui/progress-bar.tsx +2 -2
- package/src/components/ui/query-report-table/query-report-table.tsx +1 -1
- package/src/components/ui/search-input.tsx +2 -2
- package/src/components/ui/service-card.tsx +2 -2
- package/src/components/ui/sheet.tsx +2 -1
- package/src/components/ui/skeleton.tsx +3 -3
- package/src/components/ui/stacked-rows-panel.tsx +4 -4
- package/src/components/ui/tab-navigation.tsx +2 -2
- package/src/components/ui/tab-selector.tsx +2 -2
- package/src/components/ui/table/table-header.tsx +3 -3
- package/src/components/ui/table/table-skeleton.tsx +3 -3
- package/src/components/ui/table/utils.ts +5 -5
- package/src/components/ui/tag-search-input.tsx +3 -3
- package/src/components/ui/tags-manager.tsx +5 -5
- package/src/components/ui/test-run.tsx +2 -2
- package/src/components/ui/ticket-info-section.tsx +1 -1
- package/src/components/ui/ticket-notes-section.tsx +1 -1
- package/src/components/ui/ticket-status-config-row.tsx +15 -15
- package/src/hooks/ui/index.ts +1 -0
- package/src/hooks/ui/use-content-breakpoint.ts +58 -0
- package/src/hooks/ui/use-media-query.ts +3 -2
- package/src/hooks/ui/use-resizable-panel-size.ts +114 -0
- package/src/styles/index.css +2 -0
- package/src/styles/layout-steps.ts +14 -0
- package/src/styles/ods-colors.css +15 -0
- package/src/styles/ods-content-area-tokens.css +27 -0
- package/src/styles/ods-content-area.css +31 -0
- package/src/styles/ods-effects.css +4 -2
- package/src/styles/ods-responsive-tokens.css +14 -4
- package/tailwind.config.ts +42 -7
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _nullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return rhsFn(); } } function _optionalChain(ops) { let lastAccessLHS = undefined; let value = ops[0]; let i = 1; while (i < ops.length) { const op = ops[i]; const fn = ops[i + 1]; i += 2; if ((op === 'optionalAccess' || op === 'optionalCall') && value == null) { return undefined; } if (op === 'access' || op === 'optionalAccess') { lastAccessLHS = value; value = fn(value); } else if (op === 'call' || op === 'optionalCall') { value = fn((...args) => value.call(lastAccessLHS, ...args)); lastAccessLHS = undefined; } } return value; }"use client";
|
|
2
2
|
|
|
3
3
|
|
|
4
|
-
var
|
|
4
|
+
var _chunkLTSTC3N5cjs = require('./chunk-LTSTC3N5.cjs');
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
|
|
8
8
|
|
|
9
|
-
var
|
|
9
|
+
var _chunkMMOODW57cjs = require('./chunk-MMOODW57.cjs');
|
|
10
10
|
|
|
11
11
|
|
|
12
12
|
var _chunkMGHIV4L6cjs = require('./chunk-MGHIV4L6.cjs');
|
|
@@ -27,8 +27,8 @@ function DetailPageSkeleton({
|
|
|
27
27
|
showImageGallery = true,
|
|
28
28
|
bare = false
|
|
29
29
|
} = {}) {
|
|
30
|
-
const content = /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "animate-pulse space-y-6 md:space-y-10", children: [
|
|
31
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex w-full flex-col gap-6", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "h-16 w-full max-w-3xl rounded bg-ods-card md:h-20" }) }),
|
|
30
|
+
const content = /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "animate-pulse space-y-6 content-md:space-y-10", children: [
|
|
31
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex w-full flex-col gap-6", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "h-16 w-full max-w-3xl rounded bg-ods-card content-md:h-20" }) }),
|
|
32
32
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex w-full flex-wrap gap-2", children: [
|
|
33
33
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "h-8 w-32 rounded bg-ods-card" }),
|
|
34
34
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "h-8 w-28 rounded bg-ods-card" }),
|
|
@@ -37,11 +37,18 @@ function DetailPageSkeleton({
|
|
|
37
37
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
38
38
|
"div",
|
|
39
39
|
{
|
|
40
|
-
className: `grid grid-cols-1 md:grid-cols-${metadataColumns} w-full overflow-hidden rounded-md border border-ods-border`,
|
|
41
|
-
children: Array.from({ length: metadataColumns }).map((_, i) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
40
|
+
className: `grid grid-cols-1 content-md:grid-cols-${metadataColumns} w-full overflow-hidden rounded-md border border-ods-border`,
|
|
41
|
+
children: Array.from({ length: metadataColumns }).map((_, i) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
42
|
+
"div",
|
|
43
|
+
{
|
|
44
|
+
className: "border-b border-ods-border bg-ods-card p-4 last:border-r-0 content-md:border-b-0 content-md:border-r",
|
|
45
|
+
children: [
|
|
46
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "mb-2 h-6 w-24 rounded bg-ods-border" }),
|
|
47
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "h-5 w-20 rounded bg-ods-border" })
|
|
48
|
+
]
|
|
49
|
+
},
|
|
50
|
+
i
|
|
51
|
+
))
|
|
45
52
|
}
|
|
46
53
|
),
|
|
47
54
|
showImageGallery && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex w-full gap-6 overflow-x-auto", children: [1, 2, 3, 4, 5].map((i) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "h-[200px] w-[240px] shrink-0 rounded-md border border-ods-border bg-ods-card" }, i)) }),
|
|
@@ -56,14 +63,21 @@ function DetailPageSkeleton({
|
|
|
56
63
|
] }, section))
|
|
57
64
|
] });
|
|
58
65
|
if (bare) return content;
|
|
59
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
66
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
67
|
+
_chunkLTSTC3N5cjs.PageLayout,
|
|
68
|
+
{
|
|
69
|
+
showHeader: false,
|
|
70
|
+
className: "mx-auto max-w-[1280px] bg-ods-bg px-6 py-6 content-md:px-20 content-md:py-10",
|
|
71
|
+
children: content
|
|
72
|
+
}
|
|
73
|
+
);
|
|
60
74
|
}
|
|
61
75
|
|
|
62
76
|
// src/components/shared/article-author-byline.tsx
|
|
63
77
|
var _lucidereact = require('lucide-react');
|
|
64
78
|
|
|
65
79
|
function formatDate(value) {
|
|
66
|
-
return
|
|
80
|
+
return _chunkMMOODW57cjs.formatDateWithTimezone.call(void 0, value, null, "long");
|
|
67
81
|
}
|
|
68
82
|
function ArticleAuthorByline({
|
|
69
83
|
author,
|
|
@@ -79,7 +93,7 @@ function ArticleAuthorByline({
|
|
|
79
93
|
}) {
|
|
80
94
|
const runtime = _chunkUJ7AXHRZcjs.useChatRuntime.call(void 0, );
|
|
81
95
|
if (!author) return null;
|
|
82
|
-
const proxiedAvatar = avatar ? proxyImageUrl ? proxyImageUrl(avatar) : _nullishCoalesce(
|
|
96
|
+
const proxiedAvatar = avatar ? proxyImageUrl ? proxyImageUrl(avatar) : _nullishCoalesce(_chunkMMOODW57cjs.getProxiedImageUrl.call(void 0, avatar, {
|
|
83
97
|
proxyPrefix: _optionalChain([runtime, 'optionalAccess', _2 => _2.endpoints, 'access', _3 => _3.imageProxyUrlPrefix]),
|
|
84
98
|
skipDomains: _optionalChain([runtime, 'optionalAccess', _4 => _4.endpoints, 'access', _5 => _5.imageProxySkipDomains]),
|
|
85
99
|
directHttps: true
|
|
@@ -87,14 +101,14 @@ function ArticleAuthorByline({
|
|
|
87
101
|
const avatarSizeClass = size === "lg" ? "w-16 h-16" : "w-14 h-14";
|
|
88
102
|
const avatarIconClass = size === "lg" ? "w-8 h-8" : "w-7 h-7";
|
|
89
103
|
const avatarDim = size === "lg" ? 64 : 56;
|
|
90
|
-
const formattedBio =
|
|
104
|
+
const formattedBio = _chunkMMOODW57cjs.formatBioText.call(void 0, _nullishCoalesce(bio, () => ( null)));
|
|
91
105
|
const dateLabel = publishedAt ? formatDate(publishedAt) : "";
|
|
92
106
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
93
107
|
"div",
|
|
94
108
|
{
|
|
95
109
|
className: _chunk3ATAYP36cjs.cn.call(void 0,
|
|
96
110
|
"rounded-lg border border-ods-border bg-ods-card p-6",
|
|
97
|
-
"flex flex-col items-start gap-4 md:flex-row",
|
|
111
|
+
"flex flex-col items-start gap-4 content-md:flex-row",
|
|
98
112
|
className
|
|
99
113
|
),
|
|
100
114
|
children: [
|
|
@@ -96,7 +96,7 @@ var Pagination = ({ currentPage, totalPages, onPageChange, className }) => {
|
|
|
96
96
|
onClick: () => onPageChange(currentPage - 1),
|
|
97
97
|
disabled: currentPage === 1,
|
|
98
98
|
"aria-label": "Go to previous page",
|
|
99
|
-
className: "!h-10 !w-10 md:!h-10 md:!w-10",
|
|
99
|
+
className: "!h-10 !w-10 content-md:!h-10 content-md:!w-10",
|
|
100
100
|
children: /* @__PURE__ */ jsx(ChevronLeft, { className: "h-4 w-4" })
|
|
101
101
|
}
|
|
102
102
|
) }),
|
|
@@ -113,7 +113,7 @@ var Pagination = ({ currentPage, totalPages, onPageChange, className }) => {
|
|
|
113
113
|
variant: currentPage === page ? "accent" : "outline",
|
|
114
114
|
size: "icon",
|
|
115
115
|
onClick: () => onPageChange(page),
|
|
116
|
-
className: "!h-9 !w-9 md:!h-9 md:!w-9",
|
|
116
|
+
className: "!h-9 !w-9 content-md:!h-9 content-md:!w-9",
|
|
117
117
|
"aria-label": `Page ${page}`,
|
|
118
118
|
"aria-current": currentPage === page ? "page" : void 0,
|
|
119
119
|
children: page
|
|
@@ -128,7 +128,7 @@ var Pagination = ({ currentPage, totalPages, onPageChange, className }) => {
|
|
|
128
128
|
onClick: () => onPageChange(currentPage + 1),
|
|
129
129
|
disabled: currentPage === totalPages,
|
|
130
130
|
"aria-label": "Go to next page",
|
|
131
|
-
className: "!h-10 !w-10 md:!h-10 md:!w-10",
|
|
131
|
+
className: "!h-10 !w-10 content-md:!h-10 content-md:!w-10",
|
|
132
132
|
children: [
|
|
133
133
|
/* @__PURE__ */ jsx(ChevronRight, { className: "h-4 w-4" }),
|
|
134
134
|
/* @__PURE__ */ jsx("span", { className: "sr-only", children: "Next page" })
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _nullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return rhsFn(); } } function _optionalChain(ops) { let lastAccessLHS = undefined; let value = ops[0]; let i = 1; while (i < ops.length) { const op = ops[i]; const fn = ops[i + 1]; i += 2; if ((op === 'optionalAccess' || op === 'optionalCall') && value == null) { return undefined; } if (op === 'access' || op === 'optionalAccess') { lastAccessLHS = value; value = fn(value); } else if (op === 'call' || op === 'optionalCall') { value = fn((...args) => value.call(lastAccessLHS, ...args)); lastAccessLHS = undefined; } } return value; }"use client";
|
|
2
2
|
|
|
3
3
|
|
|
4
|
-
var
|
|
4
|
+
var _chunkXOYH2YQEcjs = require('./chunk-XOYH2YQE.cjs');
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
|
|
8
8
|
|
|
9
9
|
|
|
10
10
|
|
|
11
|
-
var
|
|
11
|
+
var _chunkBIZNSF3Ucjs = require('./chunk-BIZNSF3U.cjs');
|
|
12
12
|
|
|
13
13
|
|
|
14
|
-
var
|
|
14
|
+
var _chunkABU3TGXAcjs = require('./chunk-ABU3TGXA.cjs');
|
|
15
15
|
|
|
16
16
|
|
|
17
17
|
|
|
@@ -42,7 +42,7 @@ var _chunk4OGAXAEGcjs = require('./chunk-4OGAXAEG.cjs');
|
|
|
42
42
|
|
|
43
43
|
|
|
44
44
|
|
|
45
|
-
var
|
|
45
|
+
var _chunkMMOODW57cjs = require('./chunk-MMOODW57.cjs');
|
|
46
46
|
|
|
47
47
|
// src/components/related-content/related-content-section.tsx
|
|
48
48
|
var _react = require('react');
|
|
@@ -440,13 +440,13 @@ function cardEntry(definition) {
|
|
|
440
440
|
}
|
|
441
441
|
function programEntry(configKey) {
|
|
442
442
|
return cardEntry({
|
|
443
|
-
skeleton: (size) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
443
|
+
skeleton: (size) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkMMOODW57cjs.ProgramCardSkeleton, { size: size === "sm" ? "sm" : "default" }),
|
|
444
444
|
decode: decodeProgramRow,
|
|
445
445
|
render: (item, ctx) => {
|
|
446
446
|
const config = _optionalChain([ctx, 'access', _2 => _2.extras, 'optionalAccess', _3 => _3.programConfigs, 'optionalAccess', _4 => _4[configKey]]);
|
|
447
447
|
if (!config) return null;
|
|
448
448
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
449
|
-
|
|
449
|
+
_chunkMMOODW57cjs.ProgramCard,
|
|
450
450
|
{
|
|
451
451
|
config,
|
|
452
452
|
item,
|
|
@@ -463,10 +463,10 @@ function programEntry(configKey) {
|
|
|
463
463
|
}
|
|
464
464
|
function roadmapEntry(cardType) {
|
|
465
465
|
return cardEntry({
|
|
466
|
-
skeleton: (size) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
466
|
+
skeleton: (size) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkMMOODW57cjs.RoadmapCardSkeleton, { size: size === "sm" ? "sm" : "default" }),
|
|
467
467
|
decode: decodeRoadmapRow,
|
|
468
468
|
render: (item, ctx) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
469
|
-
|
|
469
|
+
_chunkMMOODW57cjs.RoadmapCard,
|
|
470
470
|
{
|
|
471
471
|
item,
|
|
472
472
|
href: ctx.href,
|
|
@@ -483,10 +483,10 @@ function roadmapEntry(cardType) {
|
|
|
483
483
|
}
|
|
484
484
|
var RELATED_CARD_REGISTRY = {
|
|
485
485
|
blog_post_existing: cardEntry({
|
|
486
|
-
skeleton: (size) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
486
|
+
skeleton: (size) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkMMOODW57cjs.BlogCardSkeleton, { size: size === "sm" ? "sm" : "default" }),
|
|
487
487
|
decode: decodeBlogRow,
|
|
488
488
|
render: (post, ctx) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
489
|
-
|
|
489
|
+
_chunkMMOODW57cjs.BlogCard,
|
|
490
490
|
{
|
|
491
491
|
post,
|
|
492
492
|
size: ctx.legacySize,
|
|
@@ -498,10 +498,10 @@ var RELATED_CARD_REGISTRY = {
|
|
|
498
498
|
)
|
|
499
499
|
}),
|
|
500
500
|
case_study: cardEntry({
|
|
501
|
-
skeleton: (size) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
501
|
+
skeleton: (size) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkMMOODW57cjs.CaseStudyCardSkeleton, { size: size === "sm" ? "sm" : "default" }),
|
|
502
502
|
decode: decodeCaseStudyRow,
|
|
503
503
|
render: (study, ctx) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
504
|
-
|
|
504
|
+
_chunkMMOODW57cjs.CaseStudyCard,
|
|
505
505
|
{
|
|
506
506
|
study,
|
|
507
507
|
size: ctx.legacySize,
|
|
@@ -513,10 +513,10 @@ var RELATED_CARD_REGISTRY = {
|
|
|
513
513
|
)
|
|
514
514
|
}),
|
|
515
515
|
customer_interview: cardEntry({
|
|
516
|
-
skeleton: (size) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
516
|
+
skeleton: (size) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkMMOODW57cjs.CustomerInterviewCardSkeleton, { size: size === "sm" ? "sm" : "default" }),
|
|
517
517
|
decode: decodeCustomerInterviewRow,
|
|
518
518
|
render: (interview, ctx) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
519
|
-
|
|
519
|
+
_chunkMMOODW57cjs.CustomerInterviewCard,
|
|
520
520
|
{
|
|
521
521
|
interview,
|
|
522
522
|
size: ctx.legacySize,
|
|
@@ -534,13 +534,13 @@ var RELATED_CARD_REGISTRY = {
|
|
|
534
534
|
* record, and the three props the rail sets itself are read off it.
|
|
535
535
|
*/
|
|
536
536
|
product_release: cardEntry({
|
|
537
|
-
skeleton: (size) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
537
|
+
skeleton: (size) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkMMOODW57cjs.ProductReleaseCardSkeleton, { size: size === "sm" ? "sm" : "lg" }),
|
|
538
538
|
decode: asRecord,
|
|
539
539
|
render: (release, ctx) => {
|
|
540
|
-
const buildReleaseProps = _nullishCoalesce(_optionalChain([ctx, 'access', _5 => _5.extras, 'optionalAccess', _6 => _6.buildProductReleaseCardProps]), () => (
|
|
540
|
+
const buildReleaseProps = _nullishCoalesce(_optionalChain([ctx, 'access', _5 => _5.extras, 'optionalAccess', _6 => _6.buildProductReleaseCardProps]), () => ( _chunkMMOODW57cjs.buildProductReleaseCardProps));
|
|
541
541
|
const releaseProps = buildReleaseProps(release);
|
|
542
542
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
543
|
-
|
|
543
|
+
_chunkMMOODW57cjs.ProductReleaseCard,
|
|
544
544
|
{
|
|
545
545
|
size: ctx.size === "sm" ? "sm" : "lg",
|
|
546
546
|
title: str(release, "title"),
|
|
@@ -556,10 +556,10 @@ var RELATED_CARD_REGISTRY = {
|
|
|
556
556
|
webinar: programEntry("webinar"),
|
|
557
557
|
event: programEntry("event"),
|
|
558
558
|
investor_update: cardEntry({
|
|
559
|
-
skeleton: (size) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
559
|
+
skeleton: (size) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkMMOODW57cjs.InvestorUpdateCardSkeleton, { size: size === "sm" ? "sm" : "default" }),
|
|
560
560
|
decode: decodeInvestorUpdateRow,
|
|
561
561
|
render: (update, ctx) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
562
|
-
|
|
562
|
+
_chunkMMOODW57cjs.InvestorUpdateCard,
|
|
563
563
|
{
|
|
564
564
|
update,
|
|
565
565
|
size: ctx.legacySize,
|
|
@@ -574,10 +574,10 @@ var RELATED_CARD_REGISTRY = {
|
|
|
574
574
|
* step-numbered 'default' variant is for the guide detail page's "More in
|
|
575
575
|
* section" rail, not this full-width row. */
|
|
576
576
|
onboarding_guide: cardEntry({
|
|
577
|
-
skeleton: (size) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
577
|
+
skeleton: (size) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkMMOODW57cjs.OnboardingGuideCardSkeleton, { size: size === "sm" ? "sm" : "catalog" }),
|
|
578
578
|
decode: decodeOnboardingGuideRow,
|
|
579
579
|
render: (guide, ctx) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
580
|
-
|
|
580
|
+
_chunkMMOODW57cjs.OnboardingGuideCard,
|
|
581
581
|
{
|
|
582
582
|
guide,
|
|
583
583
|
size: ctx.size === "sm" ? "sm" : "catalog",
|
|
@@ -594,10 +594,10 @@ var RELATED_CARD_REGISTRY = {
|
|
|
594
594
|
* href: an object with `href: undefined` is still truthy and would wrap the
|
|
595
595
|
* card in a dead <a>. */
|
|
596
596
|
what_i_shipped: cardEntry({
|
|
597
|
-
skeleton: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
597
|
+
skeleton: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkMMOODW57cjs.WhatIShippedCardSkeleton, {}),
|
|
598
598
|
decode: decodeEmployeeEntryRow,
|
|
599
599
|
render: (entry, ctx) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
600
|
-
|
|
600
|
+
_chunkMMOODW57cjs.WhatIShippedCard,
|
|
601
601
|
{
|
|
602
602
|
entry,
|
|
603
603
|
placeholderUrl: ctx.placeholderUrl,
|
|
@@ -607,10 +607,10 @@ var RELATED_CARD_REGISTRY = {
|
|
|
607
607
|
}),
|
|
608
608
|
/** Same shared employee-entry shape + anchor contract as What I Shipped. */
|
|
609
609
|
how_i_work: cardEntry({
|
|
610
|
-
skeleton: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
610
|
+
skeleton: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkMMOODW57cjs.HowIWorkCardSkeleton, {}),
|
|
611
611
|
decode: decodeEmployeeEntryRow,
|
|
612
612
|
render: (entry, ctx) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
613
|
-
|
|
613
|
+
_chunkMMOODW57cjs.HowIWorkCard,
|
|
614
614
|
{
|
|
615
615
|
entry,
|
|
616
616
|
placeholderUrl: ctx.placeholderUrl,
|
|
@@ -620,10 +620,10 @@ var RELATED_CARD_REGISTRY = {
|
|
|
620
620
|
}),
|
|
621
621
|
/** Same shared employee-entry shape + anchor contract as What I Shipped. */
|
|
622
622
|
ai_prompt: cardEntry({
|
|
623
|
-
skeleton: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
623
|
+
skeleton: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkMMOODW57cjs.AiPromptCardSkeleton, {}),
|
|
624
624
|
decode: decodeEmployeeEntryRow,
|
|
625
625
|
render: (entry, ctx) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
626
|
-
|
|
626
|
+
_chunkMMOODW57cjs.AiPromptCard,
|
|
627
627
|
{
|
|
628
628
|
entry,
|
|
629
629
|
placeholderUrl: ctx.placeholderUrl,
|
|
@@ -644,7 +644,7 @@ function DefaultLinkPropsProvider({
|
|
|
644
644
|
children
|
|
645
645
|
}) {
|
|
646
646
|
if (!href) return children(null);
|
|
647
|
-
const newTab =
|
|
647
|
+
const newTab = _chunkMMOODW57cjs.decideNewTab.call(void 0, { href, targetPlatform, currentSource: "" });
|
|
648
648
|
return children(newTab ? { href, target: "_blank", rel: "noopener noreferrer" } : { href });
|
|
649
649
|
}
|
|
650
650
|
function defaultResolveHref(ref) {
|
|
@@ -700,15 +700,15 @@ function CardForType({
|
|
|
700
700
|
function useGroupItems(type, refs, buildUrl) {
|
|
701
701
|
const ids = refs.map((r) => r.id);
|
|
702
702
|
const url = ids.length > 0 ? buildUrl(type, ids) : null;
|
|
703
|
-
const { data, isLoading } =
|
|
704
|
-
const items = data != null ?
|
|
703
|
+
const { data, isLoading } = _chunkXOYH2YQEcjs.useSelfFetch.call(void 0, url);
|
|
704
|
+
const items = data != null ? _chunkMMOODW57cjs.extractItems.call(void 0, data) : null;
|
|
705
705
|
return { items, isLoading };
|
|
706
706
|
}
|
|
707
707
|
function gridClassFor(columns) {
|
|
708
708
|
return columns === 3 ? "grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-3 gap-6" : "grid grid-cols-1 sm:grid-cols-2 gap-6";
|
|
709
709
|
}
|
|
710
710
|
function resolveGroupConfig(type) {
|
|
711
|
-
return _nullishCoalesce(
|
|
711
|
+
return _nullishCoalesce(_chunkBIZNSF3Ucjs.CONTENT_REF_GROUPS[type], () => ( {
|
|
712
712
|
label: type,
|
|
713
713
|
order: 999,
|
|
714
714
|
layout: "grid",
|
|
@@ -740,10 +740,10 @@ function ContentGroup({
|
|
|
740
740
|
setPage(1);
|
|
741
741
|
}
|
|
742
742
|
}, [refsKey]);
|
|
743
|
-
const totalGroupPages =
|
|
743
|
+
const totalGroupPages = _chunkABU3TGXAcjs.pageCount.call(void 0, refs.length, GROUP_PAGE_SIZE);
|
|
744
744
|
const safePage = Math.min(page, totalGroupPages);
|
|
745
745
|
const visibleGroupRefs = refs.length > GROUP_PAGE_SIZE ? refs.slice((safePage - 1) * GROUP_PAGE_SIZE, safePage * GROUP_PAGE_SIZE) : refs;
|
|
746
|
-
const groupPagination = totalGroupPages > 1 ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
746
|
+
const groupPagination = totalGroupPages > 1 ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkBIZNSF3Ucjs.Pagination, { currentPage: safePage, totalPages: totalGroupPages, onPageChange: setPage }) : null;
|
|
747
747
|
if (isLoading && !items) {
|
|
748
748
|
const skeletons = visibleGroupRefs.map((r) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { children: renderSkeletonForType(type, cardSize, adminCampaignCard) }, r.id));
|
|
749
749
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "space-y-4", children: [
|
|
@@ -753,7 +753,7 @@ function ContentGroup({
|
|
|
753
753
|
}
|
|
754
754
|
if (!items || items.length === 0) return null;
|
|
755
755
|
const rowKey = (it) => {
|
|
756
|
-
const extracted =
|
|
756
|
+
const extracted = _chunkMMOODW57cjs.extractItemId.call(void 0, type, it);
|
|
757
757
|
if (extracted !== null) return extracted;
|
|
758
758
|
return String(typeof it === "object" && it !== null ? it.id : void 0);
|
|
759
759
|
};
|
|
@@ -821,11 +821,11 @@ function RelatedContentSection({
|
|
|
821
821
|
types: includeTypes !== void 0 ? includeTypes.join(",") : void 0,
|
|
822
822
|
excludeTypes: excludeTypes && excludeTypes.length > 0 ? excludeTypes.join(",") : void 0
|
|
823
823
|
};
|
|
824
|
-
const authorUrl = contentRefs === void 0 && authorId && !suggestionsDisabled ?
|
|
824
|
+
const authorUrl = contentRefs === void 0 && authorId && !suggestionsDisabled ? _chunkBIZNSF3Ucjs.buildSuggestionUrl.call(void 0, "/api/related-content", {
|
|
825
825
|
apiBaseUrl,
|
|
826
826
|
extraParams: { authorId, ...typeFilterParams }
|
|
827
827
|
}) : null;
|
|
828
|
-
const suggestUrl = _nullishCoalesce(authorUrl, () => ( (contentRefs === void 0 && entityType && entityId !== void 0 && entityId !== null && entityId !== "" && !suggestionsDisabled ?
|
|
828
|
+
const suggestUrl = _nullishCoalesce(authorUrl, () => ( (contentRefs === void 0 && entityType && entityId !== void 0 && entityId !== null && entityId !== "" && !suggestionsDisabled ? _chunkBIZNSF3Ucjs.buildSuggestionUrl.call(void 0, "/api/related-content", {
|
|
829
829
|
apiBaseUrl,
|
|
830
830
|
entityType,
|
|
831
831
|
entityId,
|
|
@@ -842,9 +842,9 @@ function RelatedContentSection({
|
|
|
842
842
|
() => !suggestionsDisabled && initialItems ? { refs: initialItems } : void 0,
|
|
843
843
|
[initialItems, suggestionsDisabled]
|
|
844
844
|
);
|
|
845
|
-
const { data, isLoading } =
|
|
845
|
+
const { data, isLoading } = _chunkXOYH2YQEcjs.useSelfFetch.call(void 0, suggestUrl, { initialData });
|
|
846
846
|
const effectiveBuildListUrl = _react.useMemo.call(void 0,
|
|
847
|
-
() => _nullishCoalesce(buildListUrl2, () => ( ((type, ids) =>
|
|
847
|
+
() => _nullishCoalesce(buildListUrl2, () => ( ((type, ids) => _chunkMMOODW57cjs.buildListUrl.call(void 0, type, ids, apiBaseUrl)))),
|
|
848
848
|
[buildListUrl2, apiBaseUrl]
|
|
849
849
|
);
|
|
850
850
|
const refs = _nullishCoalesce(_nullishCoalesce(contentRefs, () => ( _optionalChain([data, 'optionalAccess', _10 => _10.refs]))), () => ( []));
|
|
@@ -855,12 +855,12 @@ function RelatedContentSection({
|
|
|
855
855
|
if (isLoading) {
|
|
856
856
|
const skeletonType = _nullishCoalesce(_nullishCoalesce(_optionalChain([includeTypes, 'optionalAccess', _11 => _11[0]]), () => ( entityType)), () => ( "blog_post_existing"));
|
|
857
857
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "space-y-8", children: [
|
|
858
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h2", { className: "text-ods-text-primary text-h2", children:
|
|
858
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h2", { className: "text-ods-text-primary text-h2", children: _chunkMMOODW57cjs.accentSentenceMarks.call(void 0, title) }),
|
|
859
859
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: gridClassFor(columns), children: Array.from({ length: 3 }).map((_, i) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { children: renderSkeletonForType(skeletonType, "default", adminCampaignCard) }, i)) })
|
|
860
860
|
] });
|
|
861
861
|
}
|
|
862
862
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "space-y-8", children: [
|
|
863
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h2", { className: "text-2xl font-bold text-ods-text-primary", children:
|
|
863
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h2", { className: "text-2xl font-bold text-ods-text-primary", children: _chunkMMOODW57cjs.accentSentenceMarks.call(void 0, title) }),
|
|
864
864
|
_nullishCoalesce(emptyState, () => ( /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "text-ods-text-secondary", children: emptyStateText })))
|
|
865
865
|
] });
|
|
866
866
|
}
|
|
@@ -869,16 +869,16 @@ function RelatedContentSection({
|
|
|
869
869
|
if (!grouped[ref.type]) grouped[ref.type] = [];
|
|
870
870
|
grouped[ref.type].push(ref);
|
|
871
871
|
}
|
|
872
|
-
let orderedTypes =
|
|
872
|
+
let orderedTypes = _chunkBIZNSF3Ucjs.orderContentRefTypes.call(void 0, Object.keys(grouped));
|
|
873
873
|
if (entityType) {
|
|
874
|
-
const canonicalEntityType =
|
|
875
|
-
const sameType = orderedTypes.filter((t) =>
|
|
874
|
+
const canonicalEntityType = _chunkMMOODW57cjs.canonicalContentRefType.call(void 0, entityType);
|
|
875
|
+
const sameType = orderedTypes.filter((t) => _chunkMMOODW57cjs.canonicalContentRefType.call(void 0, t) === canonicalEntityType);
|
|
876
876
|
if (sameType.length > 0) {
|
|
877
|
-
orderedTypes = [...sameType, ...orderedTypes.filter((t) =>
|
|
877
|
+
orderedTypes = [...sameType, ...orderedTypes.filter((t) => _chunkMMOODW57cjs.canonicalContentRefType.call(void 0, t) !== canonicalEntityType)];
|
|
878
878
|
}
|
|
879
879
|
}
|
|
880
880
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "space-y-8", children: [
|
|
881
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h2", { className: "text-ods-text-primary text-h2", children:
|
|
881
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h2", { className: "text-ods-text-primary text-h2", children: _chunkMMOODW57cjs.accentSentenceMarks.call(void 0, title) }),
|
|
882
882
|
orderedTypes.map((type) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
883
883
|
ContentGroup,
|
|
884
884
|
{
|
|
@@ -890,7 +890,7 @@ function RelatedContentSection({
|
|
|
890
890
|
LinkProvider,
|
|
891
891
|
extras,
|
|
892
892
|
adminCampaignCard,
|
|
893
|
-
heading: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h3", { className: "font-semibold text-ods-text-secondary text-h5", children:
|
|
893
|
+
heading: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h3", { className: "font-semibold text-ods-text-secondary text-h5", children: _chunkBIZNSF3Ucjs.getContentRefLabelOrTitleCase.call(void 0, type) })
|
|
894
894
|
},
|
|
895
895
|
type
|
|
896
896
|
))
|
|
@@ -8,26 +8,26 @@ import {
|
|
|
8
8
|
SelectTrigger,
|
|
9
9
|
SelectValue,
|
|
10
10
|
Textarea
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-4KGXLVCF.js";
|
|
12
12
|
import {
|
|
13
13
|
useContactSubmission,
|
|
14
14
|
useHumanitySignals,
|
|
15
15
|
useRescuedForm
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-IHU5ANUY.js";
|
|
17
17
|
import {
|
|
18
18
|
ChatAttachmentAddButton,
|
|
19
19
|
ChatAttachmentChipStrip,
|
|
20
20
|
useChatAttachments
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-2JDVL7UV.js";
|
|
22
22
|
import {
|
|
23
23
|
SECTION_HEADING_CLASS,
|
|
24
24
|
accentSentenceMarks
|
|
25
|
-
} from "./chunk-
|
|
25
|
+
} from "./chunk-CH5232HV.js";
|
|
26
26
|
import {
|
|
27
27
|
Input,
|
|
28
28
|
Label,
|
|
29
29
|
RequiredMark
|
|
30
|
-
} from "./chunk-
|
|
30
|
+
} from "./chunk-FLKJYMVB.js";
|
|
31
31
|
import {
|
|
32
32
|
Button
|
|
33
33
|
} from "./chunk-YDPKUAP4.js";
|
|
@@ -181,10 +181,10 @@ function ContactForm({
|
|
|
181
181
|
return /* @__PURE__ */ jsxs(
|
|
182
182
|
"div",
|
|
183
183
|
{
|
|
184
|
-
className: `flex h-full flex-col ${!noBorder ? "rounded-2xl border border-ods-border md:rounded-3xl" : ""} ${!noPadding ? "p-6 md:p-8 lg:p-10" : ""}`,
|
|
184
|
+
className: `flex h-full flex-col ${!noBorder ? "rounded-2xl border border-ods-border content-md:rounded-3xl" : ""} ${!noPadding ? "p-6 content-md:p-8 content-lg:p-10" : ""}`,
|
|
185
185
|
children: [
|
|
186
|
-
(title || subtitle) && /* @__PURE__ */ jsxs("div", { className: "mb-6 md:mb-8", children: [
|
|
187
|
-
title && /* @__PURE__ */ jsx("h2", { className: `${SECTION_HEADING_CLASS} mb-3 md:mb-4`, children: accentSentenceMarks(title) }),
|
|
186
|
+
(title || subtitle) && /* @__PURE__ */ jsxs("div", { className: "mb-6 content-md:mb-8", children: [
|
|
187
|
+
title && /* @__PURE__ */ jsx("h2", { className: `${SECTION_HEADING_CLASS} mb-3 content-md:mb-4`, children: accentSentenceMarks(title) }),
|
|
188
188
|
subtitle && /* @__PURE__ */ jsx("p", { className: "text-ods-text-primary text-h4", children: subtitle })
|
|
189
189
|
] }),
|
|
190
190
|
/* @__PURE__ */ jsxs(
|
|
@@ -196,7 +196,7 @@ function ContactForm({
|
|
|
196
196
|
Object.fromEntries(Object.entries(validationErrors).map(([k, v]) => [k, v?.message ?? v]))
|
|
197
197
|
);
|
|
198
198
|
}),
|
|
199
|
-
className: "flex flex-grow flex-col space-y-4 md:space-y-6",
|
|
199
|
+
className: "flex flex-grow flex-col space-y-4 content-md:space-y-6",
|
|
200
200
|
...HUBSPOT_DO_NOT_COLLECT_FORM_PROPS,
|
|
201
201
|
children: [
|
|
202
202
|
!showName && /* @__PURE__ */ jsx("input", { type: "hidden", ...register("name") }),
|
|
@@ -205,7 +205,7 @@ function ContactForm({
|
|
|
205
205
|
!showMessage && /* @__PURE__ */ jsx("input", { type: "hidden", ...register("message") }),
|
|
206
206
|
/* @__PURE__ */ jsx(HoneypotField, { ...honeypotInputProps }),
|
|
207
207
|
extraTopField,
|
|
208
|
-
showNameEmailRow && /* @__PURE__ */ jsxs("div", { className: "grid grid-cols-1 gap-4 md:grid-cols-2 md:gap-6", children: [
|
|
208
|
+
showNameEmailRow && /* @__PURE__ */ jsxs("div", { className: "grid grid-cols-1 gap-4 content-md:grid-cols-2 content-md:gap-6", children: [
|
|
209
209
|
showName && /* @__PURE__ */ jsxs("div", { className: "flex flex-col", children: [
|
|
210
210
|
/* @__PURE__ */ jsxs(Label, { htmlFor: "name", children: [
|
|
211
211
|
"Your Name",
|
|
@@ -247,7 +247,7 @@ function ContactForm({
|
|
|
247
247
|
errors.email && /* @__PURE__ */ jsx("span", { id: "email-error", className: "mt-1 text-ods-error text-h6", children: errors.email.message })
|
|
248
248
|
] })
|
|
249
249
|
] }),
|
|
250
|
-
(showCompanySize || showReferralSource) && /* @__PURE__ */ jsxs("div", { className: "grid grid-cols-1 gap-4 md:grid-cols-2 md:gap-6", children: [
|
|
250
|
+
(showCompanySize || showReferralSource) && /* @__PURE__ */ jsxs("div", { className: "grid grid-cols-1 gap-4 content-md:grid-cols-2 content-md:gap-6", children: [
|
|
251
251
|
showCompanySize && /* @__PURE__ */ jsxs("div", { className: "flex flex-col", children: [
|
|
252
252
|
/* @__PURE__ */ jsx(Label, { htmlFor: "companySize", children: "Company Size" }),
|
|
253
253
|
/* @__PURE__ */ jsx(
|
|
@@ -363,8 +363,8 @@ function ContactForm({
|
|
|
363
363
|
/* @__PURE__ */ jsx("span", { className: "text-ods-text-secondary text-h6", children: "Attach files (optional)" })
|
|
364
364
|
] })
|
|
365
365
|
] }),
|
|
366
|
-
/* @__PURE__ */ jsxs("div", { className: "mt-auto flex w-full flex-col items-center justify-end gap-4 pt-2 md:flex-row md:gap-6", children: [
|
|
367
|
-
footerText && /* @__PURE__ */ jsx("p", { className: "text-center text-ods-text-secondary text-h6 md:text-left", children: footerText }),
|
|
366
|
+
/* @__PURE__ */ jsxs("div", { className: "mt-auto flex w-full flex-col items-center justify-end gap-4 pt-2 content-md:flex-row content-md:gap-6", children: [
|
|
367
|
+
footerText && /* @__PURE__ */ jsx("p", { className: "text-center text-ods-text-secondary text-h6 content-md:text-left", children: footerText }),
|
|
368
368
|
/* @__PURE__ */ jsx(
|
|
369
369
|
Button,
|
|
370
370
|
{
|
|
@@ -372,7 +372,7 @@ function ContactForm({
|
|
|
372
372
|
loading: isSubmitting,
|
|
373
373
|
disabled: isSubmitting || isSuccess || attachmentsEnabled && attachments.hasInflightUploads,
|
|
374
374
|
variant: buttonVariant,
|
|
375
|
-
className: `w-full md:w-auto ${buttonClassName}`,
|
|
375
|
+
className: `w-full content-md:w-auto ${buttonClassName}`,
|
|
376
376
|
children: isSuccess ? submitSuccessLabel : submitLabel
|
|
377
377
|
}
|
|
378
378
|
)
|
|
@@ -9,8 +9,8 @@ import {
|
|
|
9
9
|
OsqueryLogoGreyIcon
|
|
10
10
|
} from "./chunk-Z2VNQQ74.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
13
|
-
} from "./chunk-
|
|
12
|
+
useMediaQuery
|
|
13
|
+
} from "./chunk-NDESEPW5.js";
|
|
14
14
|
|
|
15
15
|
// src/hooks/ui/use-debounce.ts
|
|
16
16
|
import { useState, useEffect } from "react";
|
|
@@ -27,46 +27,11 @@ function useDebounce(value, delay2 = 500) {
|
|
|
27
27
|
return debouncedValue;
|
|
28
28
|
}
|
|
29
29
|
|
|
30
|
-
// src/hooks/ui/use-media-query.ts
|
|
31
|
-
import { useState as useState2 } from "react";
|
|
32
|
-
function useMediaQuery(query) {
|
|
33
|
-
const [matches, setMatches] = useState2(void 0);
|
|
34
|
-
useIsomorphicLayoutEffect(() => {
|
|
35
|
-
const matchMedia = window.matchMedia(query);
|
|
36
|
-
const handleChange = () => {
|
|
37
|
-
setMatches(matchMedia.matches);
|
|
38
|
-
};
|
|
39
|
-
handleChange();
|
|
40
|
-
matchMedia.addEventListener("change", handleChange);
|
|
41
|
-
return () => {
|
|
42
|
-
matchMedia.removeEventListener("change", handleChange);
|
|
43
|
-
};
|
|
44
|
-
}, [query]);
|
|
45
|
-
return matches;
|
|
46
|
-
}
|
|
47
|
-
var breakpoints = {
|
|
48
|
-
md: "(min-width: 800px)",
|
|
49
|
-
// Tablet: 50rem
|
|
50
|
-
lg: "(min-width: 1280px)"
|
|
51
|
-
// Desktop: 80rem
|
|
52
|
-
};
|
|
53
|
-
function useSmUp() {
|
|
54
|
-
return useMdUp();
|
|
55
|
-
}
|
|
56
|
-
function useMdUp() {
|
|
57
|
-
const matches = useMediaQuery(breakpoints.md);
|
|
58
|
-
return matches === void 0 ? void 0 : matches;
|
|
59
|
-
}
|
|
60
|
-
function useLgUp() {
|
|
61
|
-
const matches = useMediaQuery(breakpoints.lg);
|
|
62
|
-
return matches === void 0 ? void 0 : matches;
|
|
63
|
-
}
|
|
64
|
-
|
|
65
30
|
// src/hooks/ui/use-header-height.ts
|
|
66
|
-
import { useEffect as useEffect2, useState as
|
|
31
|
+
import { useEffect as useEffect2, useState as useState2 } from "react";
|
|
67
32
|
function useHeaderHeight(defaultHeight = 72, options = {}) {
|
|
68
33
|
const { enabled = true } = options;
|
|
69
|
-
const [height, setHeight] =
|
|
34
|
+
const [height, setHeight] = useState2(defaultHeight);
|
|
70
35
|
useEffect2(() => {
|
|
71
36
|
if (!enabled) return void 0;
|
|
72
37
|
const measure = () => {
|
|
@@ -226,14 +191,14 @@ function usePrefersReducedMotionState() {
|
|
|
226
191
|
}
|
|
227
192
|
|
|
228
193
|
// src/hooks/ui/use-in-view.ts
|
|
229
|
-
import { useCallback as useCallback2, useEffect as useEffect6, useRef as useRef3, useState as
|
|
194
|
+
import { useCallback as useCallback2, useEffect as useEffect6, useRef as useRef3, useState as useState3 } from "react";
|
|
230
195
|
var STEPS = Array.from({ length: 21 }, (_, i) => i / 20);
|
|
231
196
|
function useInView({
|
|
232
197
|
threshold = 0,
|
|
233
198
|
rootMargin = "0px",
|
|
234
199
|
initial = false
|
|
235
200
|
} = {}) {
|
|
236
|
-
const [inView, setInView] =
|
|
201
|
+
const [inView, setInView] = useState3(initial);
|
|
237
202
|
const observerRef = useRef3(null);
|
|
238
203
|
const disconnect = useCallback2(() => {
|
|
239
204
|
observerRef.current?.disconnect();
|
|
@@ -271,11 +236,11 @@ function useInView({
|
|
|
271
236
|
}
|
|
272
237
|
|
|
273
238
|
// src/hooks/ui/use-autoplay.ts
|
|
274
|
-
import { useEffect as useEffect7, useState as
|
|
239
|
+
import { useEffect as useEffect7, useState as useState4 } from "react";
|
|
275
240
|
function useAutoplay(onScreen) {
|
|
276
241
|
const reducedState = usePrefersReducedMotionState();
|
|
277
|
-
const [paused, setPaused] =
|
|
278
|
-
const [tabHidden, setTabHidden] =
|
|
242
|
+
const [paused, setPaused] = useState4(false);
|
|
243
|
+
const [tabHidden, setTabHidden] = useState4(false);
|
|
279
244
|
useEffect7(() => {
|
|
280
245
|
const sync = () => setTabHidden(document.visibilityState === "hidden");
|
|
281
246
|
sync();
|
|
@@ -407,7 +372,7 @@ function pick(source, keys) {
|
|
|
407
372
|
var NO_CLIENT_CACHE = { staleTime: 0 };
|
|
408
373
|
|
|
409
374
|
// src/hooks/use-near-viewport.ts
|
|
410
|
-
import { useEffect as useEffect8, useRef as useRef4, useState as
|
|
375
|
+
import { useEffect as useEffect8, useRef as useRef4, useState as useState5, useCallback as useCallback3 } from "react";
|
|
411
376
|
var observers = /* @__PURE__ */ new Map();
|
|
412
377
|
var subscribers = /* @__PURE__ */ new WeakMap();
|
|
413
378
|
var THRESHOLD_EPSILON = 0.01;
|
|
@@ -438,7 +403,7 @@ function getObserverFor(rootMargin, threshold) {
|
|
|
438
403
|
}
|
|
439
404
|
var NEAR_VIEWPORT_ROOT_MARGIN = "500px";
|
|
440
405
|
function useNearViewport(rootMargin = NEAR_VIEWPORT_ROOT_MARGIN, threshold = 0) {
|
|
441
|
-
const [isNear, setIsNear] =
|
|
406
|
+
const [isNear, setIsNear] = useState5(false);
|
|
442
407
|
const elRef = useRef4(null);
|
|
443
408
|
const key = observerKey(rootMargin, threshold);
|
|
444
409
|
const ref = useCallback3(
|
|
@@ -793,11 +758,6 @@ function navigateSamePageHash(target, options = {}) {
|
|
|
793
758
|
|
|
794
759
|
export {
|
|
795
760
|
useDebounce,
|
|
796
|
-
useMediaQuery,
|
|
797
|
-
breakpoints,
|
|
798
|
-
useSmUp,
|
|
799
|
-
useMdUp,
|
|
800
|
-
useLgUp,
|
|
801
761
|
useHeaderHeight,
|
|
802
762
|
useMarqueeEngine,
|
|
803
763
|
useResetOnPageHidden,
|