@flamingo-stack/openframe-frontend-core 0.0.703 → 0.0.704-snapshot.20261006133653
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-3L7KCOGO.cjs → chunk-2QEUFXNS.cjs} +30 -30
- package/dist/{chunk-BMJUKS6S.cjs → chunk-3256UJXS.cjs} +47 -47
- package/dist/{chunk-GZYLZ4MB.js → chunk-4S7TJYRQ.js} +3 -3
- package/dist/{chunk-ENGBNKUJ.js → chunk-5EFZO5EB.js} +675 -569
- package/dist/{chunk-TCZCMD5Q.js → chunk-5HBHO5TB.js} +1 -1
- package/dist/{chunk-BOUPNYUV.js → chunk-64HOMVYC.js} +5 -5
- package/dist/{chunk-YR6JPJF4.js → chunk-6XIF2Z7I.js} +4 -4
- package/dist/{chunk-NU724ZVN.cjs → chunk-7GHB2IK6.cjs} +121 -121
- package/dist/{chunk-GX3OUTFO.cjs → chunk-7ZYIC7NA.cjs} +69 -55
- package/dist/{chunk-53AC23ZN.js → chunk-A6WVQKOZ.js} +24 -24
- package/dist/{chunk-4OGAXAEG.cjs → chunk-ABU3TGXA.cjs} +3 -3
- package/dist/{chunk-RTXTGLGB.cjs → chunk-ACV4DFQ3.cjs} +4 -4
- package/dist/{chunk-RLDAYA2A.cjs → chunk-BH6PJP66.cjs} +29 -29
- package/dist/{chunk-BRXOGCH3.cjs → chunk-BIZNSF3U.cjs} +3 -3
- package/dist/{chunk-2A4XES7R.cjs → chunk-BM5MVGH3.cjs} +3 -3
- package/dist/{chunk-6YCXA7CN.js → chunk-CH5232HV.js} +20 -19
- package/dist/{chunk-UIBSSVON.cjs → chunk-D7BTSVMS.cjs} +2 -2
- package/dist/{chunk-YBGEPKC2.cjs → chunk-F7Y2ZS5U.cjs} +6 -6
- package/dist/{chunk-5V6O73EH.js → chunk-FLKJYMVB.js} +3 -3
- package/dist/{chunk-NMGX2ZTU.js → chunk-IFUQVZF4.js} +17 -17
- package/dist/{chunk-2NE3DNXY.js → chunk-IKCQK67U.js} +2 -2
- package/dist/{chunk-KFDP3DUL.cjs → chunk-IXPUM3AW.cjs} +98 -98
- package/dist/{chunk-QGTDWFT6.js → chunk-IZHZMBIX.js} +2469 -1928
- package/dist/{chunk-67CXGPTW.cjs → chunk-JKEEFQOX.cjs} +505 -72
- package/dist/{chunk-NYSYSKSH.cjs → chunk-M6HTJTFH.cjs} +15 -15
- package/dist/{chunk-OGLCD3UL.js → chunk-MFFCUVWG.js} +6 -6
- package/dist/{chunk-KJ5LWATV.js → chunk-MKXO4Q5P.js} +7 -7
- package/dist/{chunk-EMCQGFXD.cjs → chunk-MMOODW57.cjs} +28 -27
- package/dist/{chunk-Q76ZTHNV.js → chunk-MP2C3LJ4.js} +1 -1
- package/dist/{chunk-J4K5JOLI.js → chunk-MV4HYG3B.js} +25 -11
- package/dist/{chunk-2T6QWNXU.js → chunk-NDESEPW5.js} +99 -11
- package/dist/{chunk-HHFPQNP3.js → chunk-NJDHFC55.js} +15 -15
- package/dist/{chunk-HUOLB7ZN.cjs → chunk-OHFS7VOU.cjs} +9 -9
- package/dist/{chunk-7632TNE7.js → chunk-OSNIZNVH.js} +7 -7
- package/dist/{chunk-UTW4SQDI.js → chunk-OUHMD6EU.js} +10 -10
- package/dist/{chunk-MXHJROXJ.cjs → chunk-P23CRLU4.cjs} +1245 -1139
- package/dist/{chunk-64O4L7WN.js → chunk-PDWVPI3S.js} +11 -55
- package/dist/{chunk-DAW6TDZB.js → chunk-PFC2HWQA.js} +30 -16
- package/dist/{chunk-G55W76S6.js → chunk-POZ7F77D.js} +12 -13
- package/dist/{chunk-PJP5SMOU.js → chunk-PPEZGUL7.js} +500 -67
- package/dist/{chunk-SFGXIFYO.cjs → chunk-QC7Q3XCE.cjs} +24 -24
- package/dist/{chunk-MDBHZBW7.cjs → chunk-RKV5B7EU.cjs} +92 -4
- package/dist/{chunk-5VPIC5MD.cjs → chunk-SAAZEWUR.cjs} +12 -12
- package/dist/{chunk-IIMICN7L.cjs → chunk-TYWLNCNH.cjs} +4 -48
- package/dist/{chunk-HYLIQMZH.cjs → chunk-UBP5RNGK.cjs} +33 -33
- package/dist/{chunk-HUMWQMCU.js → chunk-UT4YHQZW.js} +3 -3
- package/dist/{chunk-BSEIEWM5.cjs → chunk-V3H26CNS.cjs} +28 -14
- package/dist/{chunk-NGJCWEYX.cjs → chunk-VHCACDKP.cjs} +46 -46
- package/dist/{chunk-SL2FOFT2.js → chunk-VMAZCLX4.js} +7 -7
- package/dist/{chunk-5FFNNJM7.js → chunk-VR2ZLFCP.js} +1 -1
- package/dist/{chunk-NCTYD7HL.js → chunk-VYWMEL5F.js} +14 -14
- package/dist/{chunk-HY5YL3U5.cjs → chunk-XBWE423R.cjs} +1994 -1453
- package/dist/{chunk-XCIFHW4E.cjs → chunk-XOYH2YQE.cjs} +2 -2
- package/dist/{chunk-S6V7A5FS.cjs → chunk-ZQZFIE2K.cjs} +32 -33
- 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-input.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-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.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/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/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-input.tsx +5 -1
- 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 +675 -485
- 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-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/platform/SoftwareSourceBadge.tsx +1 -1
- 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 +2 -1
- 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/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/styles/app-globals.css +13 -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
|
@@ -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();
|
|
@@ -346,9 +311,6 @@ ToolIcon.displayName = "ToolIcon";
|
|
|
346
311
|
// src/utils/common.ts
|
|
347
312
|
import { clsx } from "clsx";
|
|
348
313
|
import { twMerge } from "tailwind-merge";
|
|
349
|
-
function cn(...inputs) {
|
|
350
|
-
return twMerge(clsx(inputs));
|
|
351
|
-
}
|
|
352
314
|
function errorMessage(error, fallback = "Something went wrong") {
|
|
353
315
|
if (error instanceof Error && error.message) return error.message;
|
|
354
316
|
if (typeof error === "string" && error) return error;
|
|
@@ -407,7 +369,7 @@ function pick(source, keys) {
|
|
|
407
369
|
var NO_CLIENT_CACHE = { staleTime: 0 };
|
|
408
370
|
|
|
409
371
|
// src/hooks/use-near-viewport.ts
|
|
410
|
-
import { useEffect as useEffect8, useRef as useRef4, useState as
|
|
372
|
+
import { useEffect as useEffect8, useRef as useRef4, useState as useState5, useCallback as useCallback3 } from "react";
|
|
411
373
|
var observers = /* @__PURE__ */ new Map();
|
|
412
374
|
var subscribers = /* @__PURE__ */ new WeakMap();
|
|
413
375
|
var THRESHOLD_EPSILON = 0.01;
|
|
@@ -438,7 +400,7 @@ function getObserverFor(rootMargin, threshold) {
|
|
|
438
400
|
}
|
|
439
401
|
var NEAR_VIEWPORT_ROOT_MARGIN = "500px";
|
|
440
402
|
function useNearViewport(rootMargin = NEAR_VIEWPORT_ROOT_MARGIN, threshold = 0) {
|
|
441
|
-
const [isNear, setIsNear] =
|
|
403
|
+
const [isNear, setIsNear] = useState5(false);
|
|
442
404
|
const elRef = useRef4(null);
|
|
443
405
|
const key = observerKey(rootMargin, threshold);
|
|
444
406
|
const ref = useCallback3(
|
|
@@ -793,11 +755,6 @@ function navigateSamePageHash(target, options = {}) {
|
|
|
793
755
|
|
|
794
756
|
export {
|
|
795
757
|
useDebounce,
|
|
796
|
-
useMediaQuery,
|
|
797
|
-
breakpoints,
|
|
798
|
-
useSmUp,
|
|
799
|
-
useMdUp,
|
|
800
|
-
useLgUp,
|
|
801
758
|
useHeaderHeight,
|
|
802
759
|
useMarqueeEngine,
|
|
803
760
|
useResetOnPageHidden,
|
|
@@ -810,7 +767,6 @@ export {
|
|
|
810
767
|
ToolTypeValues,
|
|
811
768
|
toolLabels,
|
|
812
769
|
ToolIcon,
|
|
813
|
-
cn,
|
|
814
770
|
errorMessage,
|
|
815
771
|
apiErrorMessage,
|
|
816
772
|
delay,
|
|
@@ -3,16 +3,16 @@ import {
|
|
|
3
3
|
FileDownloadCard,
|
|
4
4
|
GoogleSheetsViewer,
|
|
5
5
|
PdfViewer
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-OSNIZNVH.js";
|
|
7
7
|
import {
|
|
8
8
|
MobileNavigationDropdown,
|
|
9
9
|
MultiLevelNavigation,
|
|
10
10
|
StickySectionNav
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-IKCQK67U.js";
|
|
12
12
|
import {
|
|
13
13
|
DocSearchBar,
|
|
14
14
|
useDocSearch
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-64HOMVYC.js";
|
|
16
16
|
import {
|
|
17
17
|
CategorySidebarSkeleton,
|
|
18
18
|
DEFAULT_FOLDER_INDEX_FILE,
|
|
@@ -22,17 +22,17 @@ import {
|
|
|
22
22
|
findDocNodeByPath,
|
|
23
23
|
getDocAncestorNodeIds,
|
|
24
24
|
stripFolderIndexFromPath
|
|
25
|
-
} from "./chunk-
|
|
25
|
+
} from "./chunk-5EFZO5EB.js";
|
|
26
26
|
import {
|
|
27
27
|
contentFetch
|
|
28
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-MP2C3LJ4.js";
|
|
29
29
|
import {
|
|
30
30
|
HUB_HEADER_OFFSET_PX,
|
|
31
31
|
apiErrorMessage,
|
|
32
32
|
getScrollableAncestor,
|
|
33
33
|
navigateSamePageHash,
|
|
34
34
|
scrollElementIntoView
|
|
35
|
-
} from "./chunk-
|
|
35
|
+
} from "./chunk-PDWVPI3S.js";
|
|
36
36
|
import {
|
|
37
37
|
useRouter
|
|
38
38
|
} from "./chunk-GY4IZG22.js";
|
|
@@ -106,13 +106,21 @@ function PersistentSidebar({ isLoading, children, className }) {
|
|
|
106
106
|
{
|
|
107
107
|
isLoading,
|
|
108
108
|
disabledOpacity: 0.5,
|
|
109
|
-
className: cn("lg:sticky lg:top-20", className),
|
|
109
|
+
className: cn("content-lg:sticky content-lg:top-20", className),
|
|
110
110
|
children
|
|
111
111
|
}
|
|
112
112
|
);
|
|
113
113
|
}
|
|
114
114
|
function PersistentMobileDropdown({ isLoading, children, className }) {
|
|
115
|
-
return /* @__PURE__ */ jsx(
|
|
115
|
+
return /* @__PURE__ */ jsx(
|
|
116
|
+
PersistentFilterControls,
|
|
117
|
+
{
|
|
118
|
+
isLoading,
|
|
119
|
+
disabledOpacity: 0.7,
|
|
120
|
+
className: cn("content-lg:hidden", className),
|
|
121
|
+
children
|
|
122
|
+
}
|
|
123
|
+
);
|
|
116
124
|
}
|
|
117
125
|
|
|
118
126
|
// src/components/docs/doc-navigation-context.tsx
|
|
@@ -870,8 +878,8 @@ function DocViewerContent({
|
|
|
870
878
|
". Please try again later."
|
|
871
879
|
] })
|
|
872
880
|
] }) }),
|
|
873
|
-
!error && /* @__PURE__ */ jsxs2("div", { className: "flex flex-1 flex-col items-start gap-6 lg:flex-row lg:gap-10", children: [
|
|
874
|
-
/* @__PURE__ */ jsx3("div", { className: "w-full lg:w-[320px] lg:shrink-0", children: /* @__PURE__ */ jsx3("div", { className: "lg:sticky lg:top-20", children: isLoadingStructure ? /* @__PURE__ */ jsx3(CategorySidebarSkeleton, {}) : /* @__PURE__ */ jsxs2(Fragment, { children: [
|
|
881
|
+
!error && /* @__PURE__ */ jsxs2("div", { className: "flex flex-1 flex-col items-start gap-6 content-lg:flex-row content-lg:gap-10", children: [
|
|
882
|
+
/* @__PURE__ */ jsx3("div", { className: "w-full content-lg:w-[320px] content-lg:shrink-0", children: /* @__PURE__ */ jsx3("div", { className: "content-lg:sticky content-lg:top-20", children: isLoadingStructure ? /* @__PURE__ */ jsx3(CategorySidebarSkeleton, {}) : /* @__PURE__ */ jsxs2(Fragment, { children: [
|
|
875
883
|
/* @__PURE__ */ jsx3(PersistentMobileDropdown, { isLoading: false, children: /* @__PURE__ */ jsx3(
|
|
876
884
|
MobileNavigationDropdown,
|
|
877
885
|
{
|
|
@@ -884,7 +892,7 @@ function DocViewerContent({
|
|
|
884
892
|
folderIndexFile
|
|
885
893
|
}
|
|
886
894
|
) }),
|
|
887
|
-
/* @__PURE__ */ jsx3(PersistentSidebar, { isLoading: false, children: /* @__PURE__ */ jsx3("div", { className: "hidden lg:block", children: /* @__PURE__ */ jsxs2("div", { className: "space-y-4", children: [
|
|
895
|
+
/* @__PURE__ */ jsx3(PersistentSidebar, { isLoading: false, children: /* @__PURE__ */ jsx3("div", { className: "hidden content-lg:block", children: /* @__PURE__ */ jsxs2("div", { className: "space-y-4", children: [
|
|
888
896
|
/* @__PURE__ */ jsx3("h3", { className: "font-semibold text-ods-text-secondary text-h5", children: sidebarLabel }),
|
|
889
897
|
/* @__PURE__ */ jsx3(
|
|
890
898
|
MultiLevelNavigation,
|
|
@@ -909,10 +917,10 @@ function DocViewerContent({
|
|
|
909
917
|
// `isMarkdownContent` also suppresses the section-skeleton
|
|
910
918
|
// bars during embed loads — the user-reported "skeleton
|
|
911
919
|
// shouldn't be on file pages" bug.
|
|
912
|
-
isMarkdownContent && (showStickyNav && stickyNavSections.length > 0 || isLoadingContent || isLoadingStructure) ? "lg:grid-cols-[1fr_280px]" : ""} gap-8`,
|
|
920
|
+
isMarkdownContent && (showStickyNav && stickyNavSections.length > 0 || isLoadingContent || isLoadingStructure) ? "content-lg:grid-cols-[1fr_280px]" : ""} gap-8`,
|
|
913
921
|
children: [
|
|
914
922
|
/* @__PURE__ */ jsx3("div", { className: `w-full min-w-0 ${isMarkdownContent ? "mx-auto max-w-4xl" : ""}`, children: /* @__PURE__ */ jsx3("article", { className: "space-y-2", children: isLoadingContent || isLoadingStructure ? renderSkeleton(selectedNodeDocType) : !content ? /* @__PURE__ */ jsx3("div", { className: "py-16 text-center", children: /* @__PURE__ */ jsx3("p", { className: "text-ods-text-secondary text-h4", children: resolvedEmptyText }) }) : renderedContent }) }),
|
|
915
|
-
isMarkdownContent && (isLoadingContent || isLoadingStructure) && /* @__PURE__ */ jsx3("div", { className: "hidden lg:block", children: /* @__PURE__ */ jsxs2("div", { className: "sticky top-24", children: [
|
|
923
|
+
isMarkdownContent && (isLoadingContent || isLoadingStructure) && /* @__PURE__ */ jsx3("div", { className: "hidden content-lg:block", children: /* @__PURE__ */ jsxs2("div", { className: "sticky top-24", children: [
|
|
916
924
|
/* @__PURE__ */ jsx3("div", { className: "mb-5 h-[14px] w-28 animate-pulse rounded bg-ods-border" }),
|
|
917
925
|
/* @__PURE__ */ jsx3("div", { className: "space-y-0", children: [130, 170, 190, 220, 110, 200, 80, 100, 120, 140, 90].map((w, i) => /* @__PURE__ */ jsx3(
|
|
918
926
|
"div",
|
|
@@ -923,7 +931,7 @@ function DocViewerContent({
|
|
|
923
931
|
i
|
|
924
932
|
)) })
|
|
925
933
|
] }) }),
|
|
926
|
-
showStickyNav && content && stickyNavSections.length > 0 && !isLoadingContent && /* @__PURE__ */ jsx3("div", { className: "hidden lg:block", children: /* @__PURE__ */ jsxs2("div", { className: "sticky top-24", children: [
|
|
934
|
+
showStickyNav && content && stickyNavSections.length > 0 && !isLoadingContent && /* @__PURE__ */ jsx3("div", { className: "hidden content-lg:block", children: /* @__PURE__ */ jsxs2("div", { className: "sticky top-24", children: [
|
|
927
935
|
/* @__PURE__ */ jsx3("h3", { className: "mb-4 font-semibold text-ods-text-secondary text-h5", children: "ON THIS PAGE" }),
|
|
928
936
|
/* @__PURE__ */ jsx3(
|
|
929
937
|
StickySectionNav,
|
|
@@ -1010,12 +1018,18 @@ function EmbedSkeleton({ documentType } = {}) {
|
|
|
1010
1018
|
}
|
|
1011
1019
|
const buttonCount = documentType === "pdf" ? 2 : 1;
|
|
1012
1020
|
return /* @__PURE__ */ jsxs3("div", { className: "space-y-4", children: [
|
|
1013
|
-
/* @__PURE__ */ jsxs3("div", { className: "flex flex-col gap-3 sm:flex-row sm:items-center sm:justify-between", children: [
|
|
1021
|
+
/* @__PURE__ */ jsxs3("div", { className: "flex flex-col gap-3 content-sm:flex-row content-sm:items-center content-sm:justify-between", children: [
|
|
1014
1022
|
/* @__PURE__ */ jsxs3("div", { className: "flex min-w-0 flex-1 items-center gap-2", children: [
|
|
1015
1023
|
/* @__PURE__ */ jsx4("div", { className: "h-5 w-5 shrink-0 animate-pulse rounded bg-ods-border" }),
|
|
1016
1024
|
/* @__PURE__ */ jsx4("div", { className: "h-6 w-2/3 animate-pulse rounded bg-ods-border" })
|
|
1017
1025
|
] }),
|
|
1018
|
-
/* @__PURE__ */ jsx4("div", { className: "flex w-full items-center gap-2 sm:w-auto", children: Array.from({ length: buttonCount }).map((_, i) => /* @__PURE__ */ jsx4(
|
|
1026
|
+
/* @__PURE__ */ jsx4("div", { className: "flex w-full items-center gap-2 content-sm:w-auto", children: Array.from({ length: buttonCount }).map((_, i) => /* @__PURE__ */ jsx4(
|
|
1027
|
+
"div",
|
|
1028
|
+
{
|
|
1029
|
+
className: "h-10 w-full flex-1 animate-pulse rounded bg-ods-border content-sm:w-32 content-sm:flex-initial"
|
|
1030
|
+
},
|
|
1031
|
+
i
|
|
1032
|
+
)) })
|
|
1019
1033
|
] }),
|
|
1020
1034
|
/* @__PURE__ */ jsx4(
|
|
1021
1035
|
"div",
|
|
@@ -4,14 +4,13 @@ import {
|
|
|
4
4
|
getOSLabel,
|
|
5
5
|
getShellLabel,
|
|
6
6
|
getToolLabel
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-5EFZO5EB.js";
|
|
8
8
|
import {
|
|
9
9
|
useOnboardingState
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-MKXO4Q5P.js";
|
|
11
11
|
import {
|
|
12
|
-
ToolIcon
|
|
13
|
-
|
|
14
|
-
} from "./chunk-64O4L7WN.js";
|
|
12
|
+
ToolIcon
|
|
13
|
+
} from "./chunk-PDWVPI3S.js";
|
|
15
14
|
import {
|
|
16
15
|
BashIcon,
|
|
17
16
|
CmdIcon,
|
|
@@ -36,14 +35,14 @@ import {
|
|
|
36
35
|
StatusBadge,
|
|
37
36
|
accentSentenceMarks,
|
|
38
37
|
nameInitials
|
|
39
|
-
} from "./chunk-
|
|
38
|
+
} from "./chunk-CH5232HV.js";
|
|
40
39
|
import {
|
|
41
40
|
next_image_default
|
|
42
41
|
} from "./chunk-FBZMAPWO.js";
|
|
43
42
|
import {
|
|
44
43
|
Input,
|
|
45
44
|
Label
|
|
46
|
-
} from "./chunk-
|
|
45
|
+
} from "./chunk-FLKJYMVB.js";
|
|
47
46
|
import {
|
|
48
47
|
Button
|
|
49
48
|
} from "./chunk-YDPKUAP4.js";
|
|
@@ -88,7 +87,7 @@ var sourceConfig = {
|
|
|
88
87
|
};
|
|
89
88
|
var SoftwareSourceBadge = ({ source, className }) => {
|
|
90
89
|
const config = sourceConfig[source] || { label: source, icon: /* @__PURE__ */ jsx2(PackageIcon, { className: "h-4 w-4" }) };
|
|
91
|
-
return /* @__PURE__ */ jsxs2("span", { className:
|
|
90
|
+
return /* @__PURE__ */ jsxs2("span", { className: cn("inline-flex items-center gap-2 text-ods-text-primary", className), children: [
|
|
92
91
|
config.icon,
|
|
93
92
|
config.label
|
|
94
93
|
] });
|
|
@@ -241,13 +240,13 @@ var ScriptInfoSection = ({
|
|
|
241
240
|
/* @__PURE__ */ jsx6("h3", { className: "text-ods-text-primary text-h4", children: headline }),
|
|
242
241
|
subheadline && /* @__PURE__ */ jsx6("p", { className: "break-words text-ods-text-secondary text-h6", children: subheadline })
|
|
243
242
|
] }) }),
|
|
244
|
-
/* @__PURE__ */ jsxs6("div", { className: "grid grid-cols-2 gap-4 border-b border-ods-border px-4 py-4 lg:grid-cols-4 lg:border-b-0", children: [
|
|
243
|
+
/* @__PURE__ */ jsxs6("div", { className: "grid grid-cols-2 gap-4 border-b border-ods-border px-4 py-4 content-lg:grid-cols-4 content-lg:border-b-0", children: [
|
|
245
244
|
/* @__PURE__ */ jsx6(InfoCell, { label: "Shell Type", value: shellLabel }),
|
|
246
245
|
/* @__PURE__ */ jsx6(InfoCell, { label: "Supported Platforms", value: platformsLabel }),
|
|
247
|
-
/* @__PURE__ */ jsx6(InfoCell, { label: "Category", value: category, className: "hidden lg:flex" }),
|
|
248
|
-
author && /* @__PURE__ */ jsx6(InfoCell, { label: "Added by", value: author.name, avatar: author, className: "hidden lg:flex" })
|
|
246
|
+
/* @__PURE__ */ jsx6(InfoCell, { label: "Category", value: category, className: "hidden content-lg:flex" }),
|
|
247
|
+
author && /* @__PURE__ */ jsx6(InfoCell, { label: "Added by", value: author.name, avatar: author, className: "hidden content-lg:flex" })
|
|
249
248
|
] }),
|
|
250
|
-
/* @__PURE__ */ jsxs6("div", { className: "grid grid-cols-2 gap-4 px-4 py-4 lg:hidden", children: [
|
|
249
|
+
/* @__PURE__ */ jsxs6("div", { className: "grid grid-cols-2 gap-4 px-4 py-4 content-lg:hidden", children: [
|
|
251
250
|
/* @__PURE__ */ jsx6(InfoCell, { label: "Category", value: category }),
|
|
252
251
|
author && /* @__PURE__ */ jsx6(InfoCell, { label: "Added by", value: author.name, avatar: author })
|
|
253
252
|
] })
|
|
@@ -344,7 +343,7 @@ var ScriptArguments = ({
|
|
|
344
343
|
onClick: () => handleDelete(arg.id),
|
|
345
344
|
disabled,
|
|
346
345
|
"aria-label": "Delete argument",
|
|
347
|
-
leftIcon: /* @__PURE__ */ jsx7(Trash2, { className: "size-4 md:size-6", color: "var(--color-error)" })
|
|
346
|
+
leftIcon: /* @__PURE__ */ jsx7(Trash2, { className: "size-4 content-md:size-6", color: "var(--color-error)" })
|
|
348
347
|
}
|
|
349
348
|
)
|
|
350
349
|
] })
|