@flamingo-stack/openframe-frontend-core 0.0.703 → 0.0.704-snapshot.20261006090649
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-TCZCMD5Q.js → chunk-5HBHO5TB.js} +1 -1
- package/dist/{chunk-HYLIQMZH.cjs → chunk-5VA4XAXZ.cjs} +33 -33
- package/dist/{chunk-DAW6TDZB.js → chunk-5VLKPPZW.js} +30 -16
- package/dist/{chunk-NU724ZVN.cjs → chunk-5WI3MW7T.cjs} +121 -121
- package/dist/{chunk-HHFPQNP3.js → chunk-6X7CN3FF.js} +15 -15
- package/dist/{chunk-YR6JPJF4.js → chunk-6XIF2Z7I.js} +4 -4
- package/dist/{chunk-BMJUKS6S.cjs → chunk-734ZCH7K.cjs} +47 -47
- package/dist/{chunk-KFDP3DUL.cjs → chunk-7SNN23RP.cjs} +98 -98
- package/dist/{chunk-S6V7A5FS.cjs → chunk-A5FHI36C.cjs} +32 -32
- package/dist/{chunk-4OGAXAEG.cjs → chunk-ABU3TGXA.cjs} +3 -3
- package/dist/{chunk-BSEIEWM5.cjs → chunk-BCQLAF5R.cjs} +28 -14
- package/dist/{chunk-RLDAYA2A.cjs → chunk-BEG7K2ZX.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-NCTYD7HL.js → chunk-BNMQKVD6.js} +14 -14
- package/dist/{chunk-IIMICN7L.cjs → chunk-C3BWIU7R.cjs} +4 -44
- package/dist/{chunk-6YCXA7CN.js → chunk-CH5232HV.js} +20 -19
- package/dist/{chunk-67CXGPTW.cjs → chunk-D5A5YYUQ.cjs} +505 -72
- package/dist/{chunk-BOUPNYUV.js → chunk-D6NYUYMA.js} +5 -5
- package/dist/{chunk-UIBSSVON.cjs → chunk-D7BTSVMS.cjs} +2 -2
- package/dist/{chunk-QGTDWFT6.js → chunk-F5JXYSWX.js} +2469 -1928
- package/dist/{chunk-5V6O73EH.js → chunk-FLKJYMVB.js} +3 -3
- package/dist/{chunk-SL2FOFT2.js → chunk-GQ2ZH4VF.js} +7 -7
- package/dist/{chunk-YBGEPKC2.cjs → chunk-HBETPKV4.cjs} +6 -6
- package/dist/{chunk-KJ5LWATV.js → chunk-IHU5ANUY.js} +7 -7
- package/dist/{chunk-NMGX2ZTU.js → chunk-JH4HXSND.js} +17 -17
- package/dist/{chunk-SFGXIFYO.cjs → chunk-LA77476S.cjs} +24 -24
- package/dist/{chunk-G55W76S6.js → chunk-LS42PRUK.js} +10 -10
- package/dist/{chunk-OGLCD3UL.js → chunk-MFFCUVWG.js} +6 -6
- package/dist/{chunk-3L7KCOGO.cjs → chunk-MGGGBHYD.cjs} +30 -30
- package/dist/{chunk-EMCQGFXD.cjs → chunk-MMOODW57.cjs} +28 -27
- package/dist/{chunk-Q76ZTHNV.js → chunk-MP2C3LJ4.js} +1 -1
- package/dist/{chunk-2T6QWNXU.js → chunk-NDESEPW5.js} +99 -11
- package/dist/{chunk-ENGBNKUJ.js → chunk-O23NLB2P.js} +675 -569
- package/dist/{chunk-HUOLB7ZN.cjs → chunk-OHFS7VOU.cjs} +9 -9
- package/dist/{chunk-UTW4SQDI.js → chunk-OHIAKWO2.js} +10 -10
- package/dist/{chunk-2NE3DNXY.js → chunk-OUAGKSNE.js} +2 -2
- package/dist/{chunk-53AC23ZN.js → chunk-PI22A2FL.js} +24 -24
- package/dist/{chunk-HY5YL3U5.cjs → chunk-QCUDVECI.cjs} +1994 -1453
- package/dist/{chunk-GZYLZ4MB.js → chunk-RCG7EE75.js} +3 -3
- package/dist/{chunk-MDBHZBW7.cjs → chunk-RKV5B7EU.cjs} +92 -4
- package/dist/{chunk-5VPIC5MD.cjs → chunk-T5D47RBO.cjs} +12 -12
- package/dist/{chunk-7632TNE7.js → chunk-TZAMUCLI.js} +7 -7
- package/dist/{chunk-NYSYSKSH.cjs → chunk-UFENARMN.cjs} +15 -15
- 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-64O4L7WN.js → chunk-WUJNYGO2.js} +11 -51
- package/dist/{chunk-J4K5JOLI.js → chunk-WUJWCSYL.js} +25 -11
- package/dist/{chunk-RTXTGLGB.cjs → chunk-WXRB56OO.cjs} +4 -4
- package/dist/{chunk-GX3OUTFO.cjs → chunk-WZ3NM23A.cjs} +69 -55
- package/dist/{chunk-XCIFHW4E.cjs → chunk-XOYH2YQE.cjs} +2 -2
- package/dist/{chunk-PJP5SMOU.js → chunk-YUURKYCQ.js} +500 -67
- package/dist/{chunk-MXHJROXJ.cjs → chunk-YZCQPTMI.cjs} +1245 -1139
- 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/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
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import {
|
|
3
3
|
EmptyState
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-MFFCUVWG.js";
|
|
5
5
|
import {
|
|
6
6
|
OPENFRAME_DEV_SECTIONS,
|
|
7
7
|
PageLayout,
|
|
@@ -10,7 +10,7 @@ import {
|
|
|
10
10
|
StatusFilterComponent,
|
|
11
11
|
TASK_TYPE_LABELS,
|
|
12
12
|
TASK_TYPE_TEXT_COLORS
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-O23NLB2P.js";
|
|
14
14
|
import {
|
|
15
15
|
usePathname,
|
|
16
16
|
useRouter,
|
|
@@ -20,7 +20,7 @@ import {
|
|
|
20
20
|
AvatarStack,
|
|
21
21
|
StatusBadge,
|
|
22
22
|
getStatusColorScheme
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-CH5232HV.js";
|
|
24
24
|
import {
|
|
25
25
|
next_link_default
|
|
26
26
|
} from "./chunk-DAAVMYUT.js";
|
|
@@ -107,7 +107,7 @@ function DevSectionView({ sectionKey, hero, preControls, children, showHeading =
|
|
|
107
107
|
hero.title ?? section.hero.title
|
|
108
108
|
] }),
|
|
109
109
|
/* @__PURE__ */ jsx2("p", { className: "max-w-3xl text-ods-text-secondary text-h4", children: hero.description })
|
|
110
|
-
] }) : /* @__PURE__ */ jsx2("div", { className: "flex w-full items-center justify-between", children: /* @__PURE__ */ jsxs("h2", { className: "font-['Azeret_Mono'] text-[32px] font-semibold leading-[40px] tracking-[-0.64px] text-ods-text-primary md:text-[40px] md:leading-[48px] md:tracking-[-0.8px] lg:text-[48px] lg:leading-[56px] lg:tracking-[-0.96px]", children: [
|
|
110
|
+
] }) : /* @__PURE__ */ jsx2("div", { className: "flex w-full items-center justify-between", children: /* @__PURE__ */ jsxs("h2", { className: "font-['Azeret_Mono'] text-[32px] font-semibold leading-[40px] tracking-[-0.64px] text-ods-text-primary content-md:text-[40px] content-md:leading-[48px] content-md:tracking-[-0.8px] content-lg:text-[48px] content-lg:leading-[56px] content-lg:tracking-[-0.96px]", children: [
|
|
111
111
|
section.hero.title,
|
|
112
112
|
/* @__PURE__ */ jsx2("span", { className: "text-ods-accent", children: ":" })
|
|
113
113
|
] }) })),
|
|
@@ -184,9 +184,9 @@ function DevCardRowContent({
|
|
|
184
184
|
emptyDescription = "No description provided",
|
|
185
185
|
rightBadges
|
|
186
186
|
}) {
|
|
187
|
-
return /* @__PURE__ */ jsxs2("div", { className: "flex w-full flex-col items-start justify-between gap-[12px] md:flex-row md:gap-[16px]", children: [
|
|
188
|
-
/* @__PURE__ */ jsxs2("div", { className: "flex w-full min-w-0 flex-1 flex-col gap-[12px] md:w-auto md:gap-[16px]", children: [
|
|
189
|
-
/* @__PURE__ */ jsx4("div", { className: "flex min-h-[24px] items-center", children: /* @__PURE__ */ jsx4("h3", { className: "line-clamp-2 flex-1 break-words tracking-[-0.36px] text-ods-text-primary text-h3 md:truncate", children: title }) }),
|
|
187
|
+
return /* @__PURE__ */ jsxs2("div", { className: "flex w-full flex-col items-start justify-between gap-[12px] content-md:flex-row content-md:gap-[16px]", children: [
|
|
188
|
+
/* @__PURE__ */ jsxs2("div", { className: "flex w-full min-w-0 flex-1 flex-col gap-[12px] content-md:w-auto content-md:gap-[16px]", children: [
|
|
189
|
+
/* @__PURE__ */ jsx4("div", { className: "flex min-h-[24px] items-center", children: /* @__PURE__ */ jsx4("h3", { className: "line-clamp-2 flex-1 break-words tracking-[-0.36px] text-ods-text-primary text-h3 content-md:truncate", children: title }) }),
|
|
190
190
|
/* @__PURE__ */ jsx4("div", { className: "flex min-h-[20px] items-center", children: /* @__PURE__ */ jsx4("p", { className: "truncate uppercase tracking-[-0.28px] text-ods-text-secondary text-h5", children: subtitle }) }),
|
|
191
191
|
/* @__PURE__ */ jsx4("div", { className: "flex min-h-[72px] items-center", children: /* @__PURE__ */ jsx4("p", { className: "line-clamp-3 break-words text-ods-text-secondary text-h4", children: description || emptyDescription }) })
|
|
192
192
|
] }),
|
|
@@ -194,8 +194,8 @@ function DevCardRowContent({
|
|
|
194
194
|
] });
|
|
195
195
|
}
|
|
196
196
|
function DevCardRowSkeleton() {
|
|
197
|
-
return /* @__PURE__ */ jsx4("div", { className: "border-b border-ods-border p-[12px] last:border-b-0 md:p-[16px]", children: /* @__PURE__ */ jsxs2("div", { className: "flex w-full flex-col items-start justify-between gap-[12px] md:flex-row md:gap-[16px]", children: [
|
|
198
|
-
/* @__PURE__ */ jsxs2("div", { className: "flex w-full min-w-0 flex-1 flex-col gap-[12px] md:w-auto md:gap-[16px]", children: [
|
|
197
|
+
return /* @__PURE__ */ jsx4("div", { className: "border-b border-ods-border p-[12px] last:border-b-0 content-md:p-[16px]", children: /* @__PURE__ */ jsxs2("div", { className: "flex w-full flex-col items-start justify-between gap-[12px] content-md:flex-row content-md:gap-[16px]", children: [
|
|
198
|
+
/* @__PURE__ */ jsxs2("div", { className: "flex w-full min-w-0 flex-1 flex-col gap-[12px] content-md:w-auto content-md:gap-[16px]", children: [
|
|
199
199
|
/* @__PURE__ */ jsx4("div", { className: "flex min-h-[24px] items-center", children: /* @__PURE__ */ jsx4("div", { className: "h-[20px] w-full animate-pulse rounded bg-ods-border" }) }),
|
|
200
200
|
/* @__PURE__ */ jsx4("div", { className: "flex min-h-[20px] items-center", children: /* @__PURE__ */ jsx4("div", { className: "h-[20px] w-1/2 animate-pulse rounded bg-ods-border" }) }),
|
|
201
201
|
/* @__PURE__ */ jsx4("div", { className: "flex min-h-[72px] items-center", children: /* @__PURE__ */ jsxs2("div", { className: "flex-1 space-y-1", children: [
|
|
@@ -235,14 +235,14 @@ function DeliveryRow({ item, href, target, caption, id, className }) {
|
|
|
235
235
|
const statusBadgeScheme = getStatusColorScheme(item.status);
|
|
236
236
|
const relativeTime = getRelativeTime(item.dateUpdated);
|
|
237
237
|
const subtitle = `ACTIVE ${relativeTime}${item.listNames.length > 0 ? `, ${item.listNames.join(", ")}` : ""}, ${item.id}`;
|
|
238
|
-
const inner = /* @__PURE__ */ jsxs3("div", { className: "flex w-full flex-col items-start justify-between gap-[12px] md:flex-row md:gap-[16px]", children: [
|
|
239
|
-
/* @__PURE__ */ jsxs3("div", { className: "flex w-full min-w-0 flex-1 flex-col gap-[12px] md:w-auto md:gap-[16px]", children: [
|
|
238
|
+
const inner = /* @__PURE__ */ jsxs3("div", { className: "flex w-full flex-col items-start justify-between gap-[12px] content-md:flex-row content-md:gap-[16px]", children: [
|
|
239
|
+
/* @__PURE__ */ jsxs3("div", { className: "flex w-full min-w-0 flex-1 flex-col gap-[12px] content-md:w-auto content-md:gap-[16px]", children: [
|
|
240
240
|
caption && /* @__PURE__ */ jsx5("p", { className: "text-ods-text-secondary text-h5", children: caption }),
|
|
241
|
-
/* @__PURE__ */ jsx5("div", { className: "flex min-h-[24px] items-center md:min-h-[24px]", children: /* @__PURE__ */ jsx5("h3", { className: "line-clamp-2 flex-1 break-words tracking-[-0.36px] text-ods-text-primary text-h3 md:truncate", children: item.title }) }),
|
|
241
|
+
/* @__PURE__ */ jsx5("div", { className: "flex min-h-[24px] items-center content-md:min-h-[24px]", children: /* @__PURE__ */ jsx5("h3", { className: "line-clamp-2 flex-1 break-words tracking-[-0.36px] text-ods-text-primary text-h3 content-md:truncate", children: item.title }) }),
|
|
242
242
|
/* @__PURE__ */ jsx5("div", { className: "flex min-h-[20px] items-center", children: /* @__PURE__ */ jsx5("p", { className: "truncate uppercase tracking-[-0.28px] text-ods-text-secondary text-h5", suppressHydrationWarning: true, children: subtitle }) }),
|
|
243
243
|
/* @__PURE__ */ jsx5("div", { className: "flex min-h-[72px] items-center", children: /* @__PURE__ */ jsx5("p", { className: "line-clamp-3 break-words text-ods-text-secondary text-h4", children: item.description || "No description provided" }) })
|
|
244
244
|
] }),
|
|
245
|
-
/* @__PURE__ */ jsxs3("div", { className: "flex w-full flex-shrink-0 flex-row items-center gap-2 self-stretch md:w-auto md:flex-col md:items-end md:self-start", children: [
|
|
245
|
+
/* @__PURE__ */ jsxs3("div", { className: "flex w-full flex-shrink-0 flex-row items-center gap-2 self-stretch content-md:w-auto content-md:flex-col content-md:items-end content-md:self-start", children: [
|
|
246
246
|
/* @__PURE__ */ jsx5(
|
|
247
247
|
StatusBadge,
|
|
248
248
|
{
|
|
@@ -264,7 +264,7 @@ function DeliveryRow({ item, href, target, caption, id, className }) {
|
|
|
264
264
|
AvatarStack,
|
|
265
265
|
{
|
|
266
266
|
size: "xs",
|
|
267
|
-
className: "ml-auto md:ml-0",
|
|
267
|
+
className: "ml-auto content-md:ml-0",
|
|
268
268
|
people: item.assignees.map((a) => ({
|
|
269
269
|
key: a.id,
|
|
270
270
|
name: a.name ?? "Unknown",
|
|
@@ -275,7 +275,7 @@ function DeliveryRow({ item, href, target, caption, id, className }) {
|
|
|
275
275
|
] })
|
|
276
276
|
] });
|
|
277
277
|
const baseClass = cn(
|
|
278
|
-
"block p-[12px] text-inherit no-underline transition-colors duration-150 md:p-[16px]",
|
|
278
|
+
"block p-[12px] text-inherit no-underline transition-colors duration-150 content-md:p-[16px]",
|
|
279
279
|
// `scroll-mt-24` is paid for whether `id` is set or not (it's a
|
|
280
280
|
// single Tailwind utility, no runtime cost). Keeping it
|
|
281
281
|
// unconditional means a future caller adding `id` doesn't also
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import {
|
|
3
3
|
useSelfFetch
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-VR2ZLFCP.js";
|
|
5
5
|
import {
|
|
6
6
|
CONTENT_REF_GROUPS,
|
|
7
7
|
Pagination,
|
|
8
8
|
buildSuggestionUrl,
|
|
9
9
|
getContentRefLabelOrTitleCase,
|
|
10
10
|
orderContentRefTypes
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-UT4YHQZW.js";
|
|
12
12
|
import {
|
|
13
13
|
pageCount
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-MP2C3LJ4.js";
|
|
15
15
|
import {
|
|
16
16
|
AiPromptCard,
|
|
17
17
|
AiPromptCardSkeleton,
|
|
@@ -42,7 +42,7 @@ import {
|
|
|
42
42
|
decideNewTab,
|
|
43
43
|
extractItemId,
|
|
44
44
|
extractItems
|
|
45
|
-
} from "./chunk-
|
|
45
|
+
} from "./chunk-CH5232HV.js";
|
|
46
46
|
|
|
47
47
|
// src/components/related-content/related-content-section.tsx
|
|
48
48
|
import { useEffect, useMemo, useRef, useState } from "react";
|
|
@@ -8,26 +8,26 @@
|
|
|
8
8
|
|
|
9
9
|
|
|
10
10
|
|
|
11
|
-
var
|
|
11
|
+
var _chunkYZCQPTMIcjs = require('./chunk-YZCQPTMI.cjs');
|
|
12
12
|
|
|
13
13
|
|
|
14
14
|
|
|
15
15
|
|
|
16
|
-
var
|
|
16
|
+
var _chunkMGGGBHYDcjs = require('./chunk-MGGGBHYD.cjs');
|
|
17
17
|
|
|
18
18
|
|
|
19
19
|
|
|
20
20
|
|
|
21
|
-
var
|
|
21
|
+
var _chunkQCUDVECIcjs = require('./chunk-QCUDVECI.cjs');
|
|
22
22
|
|
|
23
23
|
|
|
24
24
|
|
|
25
|
-
var
|
|
25
|
+
var _chunkMMOODW57cjs = require('./chunk-MMOODW57.cjs');
|
|
26
26
|
|
|
27
27
|
|
|
28
28
|
|
|
29
29
|
|
|
30
|
-
var
|
|
30
|
+
var _chunkBM5MVGH3cjs = require('./chunk-BM5MVGH3.cjs');
|
|
31
31
|
|
|
32
32
|
|
|
33
33
|
var _chunkDFQYAYBHcjs = require('./chunk-DFQYAYBH.cjs');
|
|
@@ -113,14 +113,14 @@ function ContactForm({
|
|
|
113
113
|
successToastMessage = "Redirecting you to join our community...",
|
|
114
114
|
rescue: rescueForm = null
|
|
115
115
|
} = {}) {
|
|
116
|
-
const attachments =
|
|
117
|
-
const builtInSubmission =
|
|
116
|
+
const attachments = _chunkQCUDVECIcjs.useChatAttachments.call(void 0, );
|
|
117
|
+
const builtInSubmission = _chunkMGGGBHYDcjs.useContactSubmission.call(void 0, {
|
|
118
118
|
userId,
|
|
119
119
|
successRedirectUrl,
|
|
120
120
|
successToastMessage
|
|
121
121
|
});
|
|
122
122
|
const [customSubmitting, setCustomSubmitting] = _react.useState.call(void 0, false);
|
|
123
|
-
const { honeypotInputProps, getSignals, resetSignals } =
|
|
123
|
+
const { honeypotInputProps, getSignals, resetSignals } = _chunkMGGGBHYDcjs.useHumanitySignals.call(void 0, );
|
|
124
124
|
const isSubmitting = onCustomSubmit ? customSubmitting : builtInSubmission.isSubmitting;
|
|
125
125
|
const isSuccess = onCustomSubmit ? false : builtInSubmission.isSuccess;
|
|
126
126
|
const form = _reacthookform.useForm.call(void 0, {
|
|
@@ -146,7 +146,7 @@ function ContactForm({
|
|
|
146
146
|
),
|
|
147
147
|
[hideFields]
|
|
148
148
|
);
|
|
149
|
-
const rescue =
|
|
149
|
+
const rescue = _chunkMGGGBHYDcjs.useRescuedForm.call(void 0, form, { rescue: rescueForm, fields: rescueFieldNames, getSignals });
|
|
150
150
|
const handleFormSubmit = async (data) => {
|
|
151
151
|
if (isSubmitting) return;
|
|
152
152
|
if (attachmentsEnabled && attachments.hasInflightUploads) return;
|
|
@@ -181,10 +181,10 @@ function ContactForm({
|
|
|
181
181
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
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__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "mb-6 md:mb-8", children: [
|
|
187
|
-
title && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h2", { className: `${
|
|
186
|
+
(title || subtitle) && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "mb-6 content-md:mb-8", children: [
|
|
187
|
+
title && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h2", { className: `${_chunkMMOODW57cjs.SECTION_HEADING_CLASS} mb-3 content-md:mb-4`, children: _chunkMMOODW57cjs.accentSentenceMarks.call(void 0, title) }),
|
|
188
188
|
subtitle && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "text-ods-text-primary text-h4", children: subtitle })
|
|
189
189
|
] }),
|
|
190
190
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
@@ -196,23 +196,23 @@ function ContactForm({
|
|
|
196
196
|
Object.fromEntries(Object.entries(validationErrors).map(([k, v]) => [k, _nullishCoalesce(_optionalChain([v, 'optionalAccess', _2 => _2.message]), () => ( v))]))
|
|
197
197
|
);
|
|
198
198
|
}),
|
|
199
|
-
className: "flex flex-grow flex-col space-y-4 md:space-y-6",
|
|
200
|
-
...
|
|
199
|
+
className: "flex flex-grow flex-col space-y-4 content-md:space-y-6",
|
|
200
|
+
..._chunkYZCQPTMIcjs.HUBSPOT_DO_NOT_COLLECT_FORM_PROPS,
|
|
201
201
|
children: [
|
|
202
202
|
!showName && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "input", { type: "hidden", ...register("name") }),
|
|
203
203
|
!showEmail && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "input", { type: "hidden", ...register("email") }),
|
|
204
204
|
!showHelpCategory && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "input", { type: "hidden", ...register("helpCategory") }),
|
|
205
205
|
!showMessage && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "input", { type: "hidden", ...register("message") }),
|
|
206
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
206
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkYZCQPTMIcjs.HoneypotField, { ...honeypotInputProps }),
|
|
207
207
|
extraTopField,
|
|
208
|
-
showNameEmailRow && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "grid grid-cols-1 gap-4 md:grid-cols-2 md:gap-6", children: [
|
|
208
|
+
showNameEmailRow && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "grid grid-cols-1 gap-4 content-md:grid-cols-2 content-md:gap-6", children: [
|
|
209
209
|
showName && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-col", children: [
|
|
210
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
210
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkBM5MVGH3cjs.Label, { htmlFor: "name", children: [
|
|
211
211
|
"Your Name",
|
|
212
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
212
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkBM5MVGH3cjs.RequiredMark, {})
|
|
213
213
|
] }),
|
|
214
214
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
215
|
-
|
|
215
|
+
_chunkBM5MVGH3cjs.Input,
|
|
216
216
|
{
|
|
217
217
|
id: "name",
|
|
218
218
|
type: "text",
|
|
@@ -227,12 +227,12 @@ function ContactForm({
|
|
|
227
227
|
errors.name && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { id: "name-error", className: "mt-1 text-ods-error text-h6", children: errors.name.message })
|
|
228
228
|
] }),
|
|
229
229
|
showEmail && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-col", children: [
|
|
230
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
230
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkBM5MVGH3cjs.Label, { htmlFor: "email", children: [
|
|
231
231
|
"Email",
|
|
232
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
232
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkBM5MVGH3cjs.RequiredMark, {})
|
|
233
233
|
] }),
|
|
234
234
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
235
|
-
|
|
235
|
+
_chunkBM5MVGH3cjs.Input,
|
|
236
236
|
{
|
|
237
237
|
id: "email",
|
|
238
238
|
type: "email",
|
|
@@ -247,48 +247,48 @@ function ContactForm({
|
|
|
247
247
|
errors.email && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { id: "email-error", className: "mt-1 text-ods-error text-h6", children: errors.email.message })
|
|
248
248
|
] })
|
|
249
249
|
] }),
|
|
250
|
-
(showCompanySize || showReferralSource) && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "grid grid-cols-1 gap-4 md:grid-cols-2 md:gap-6", children: [
|
|
250
|
+
(showCompanySize || showReferralSource) && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "grid grid-cols-1 gap-4 content-md:grid-cols-2 content-md:gap-6", children: [
|
|
251
251
|
showCompanySize && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-col", children: [
|
|
252
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
252
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkBM5MVGH3cjs.Label, { htmlFor: "companySize", children: "Company Size" }),
|
|
253
253
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
254
254
|
_reacthookform.Controller,
|
|
255
255
|
{
|
|
256
256
|
control,
|
|
257
257
|
name: "companySize",
|
|
258
|
-
render: ({ field }) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
258
|
+
render: ({ field }) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkYZCQPTMIcjs.Select, { onValueChange: field.onChange, value: _nullishCoalesce(field.value, () => ( "")), children: [
|
|
259
259
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
260
|
-
|
|
260
|
+
_chunkYZCQPTMIcjs.SelectTrigger,
|
|
261
261
|
{
|
|
262
262
|
id: "companySize",
|
|
263
263
|
"aria-label": "Company Size",
|
|
264
264
|
className: "h-12 border-ods-border bg-ods-card px-3 text-ods-text-primary",
|
|
265
|
-
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
265
|
+
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkYZCQPTMIcjs.SelectValue, { placeholder: "Select company size" })
|
|
266
266
|
}
|
|
267
267
|
),
|
|
268
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
268
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkYZCQPTMIcjs.SelectContent, { children: companySizeOptions.map((opt) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkYZCQPTMIcjs.SelectItem, { value: opt, children: opt }, opt)) })
|
|
269
269
|
] })
|
|
270
270
|
}
|
|
271
271
|
),
|
|
272
272
|
errors.companySize && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { id: "companySize-error", className: "mt-1 text-ods-error text-h6", children: errors.companySize.message })
|
|
273
273
|
] }),
|
|
274
274
|
showReferralSource && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-col", children: [
|
|
275
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
275
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkBM5MVGH3cjs.Label, { htmlFor: "referralSource", children: "How did you hear about us?" }),
|
|
276
276
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
277
277
|
_reacthookform.Controller,
|
|
278
278
|
{
|
|
279
279
|
control,
|
|
280
280
|
name: "referralSource",
|
|
281
|
-
render: ({ field }) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
281
|
+
render: ({ field }) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkYZCQPTMIcjs.Select, { onValueChange: field.onChange, value: _nullishCoalesce(field.value, () => ( "")), children: [
|
|
282
282
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
283
|
-
|
|
283
|
+
_chunkYZCQPTMIcjs.SelectTrigger,
|
|
284
284
|
{
|
|
285
285
|
id: "referralSource",
|
|
286
286
|
"aria-label": "Referral Source",
|
|
287
287
|
className: "h-12 border-ods-border bg-ods-card px-3 text-ods-text-primary",
|
|
288
|
-
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
288
|
+
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkYZCQPTMIcjs.SelectValue, { placeholder: "Select an option" })
|
|
289
289
|
}
|
|
290
290
|
),
|
|
291
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
291
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkYZCQPTMIcjs.SelectContent, { children: referralSourceOptions.map((opt) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkYZCQPTMIcjs.SelectItem, { value: opt, children: opt }, opt)) })
|
|
292
292
|
] })
|
|
293
293
|
}
|
|
294
294
|
),
|
|
@@ -296,39 +296,39 @@ function ContactForm({
|
|
|
296
296
|
] })
|
|
297
297
|
] }),
|
|
298
298
|
showHelpCategory && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-col", children: [
|
|
299
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
299
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkBM5MVGH3cjs.Label, { htmlFor: "helpCategory", children: [
|
|
300
300
|
"Choose your main interest",
|
|
301
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
301
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkBM5MVGH3cjs.RequiredMark, {})
|
|
302
302
|
] }),
|
|
303
303
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
304
304
|
_reacthookform.Controller,
|
|
305
305
|
{
|
|
306
306
|
control,
|
|
307
307
|
name: "helpCategory",
|
|
308
|
-
render: ({ field }) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
308
|
+
render: ({ field }) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkYZCQPTMIcjs.Select, { onValueChange: field.onChange, value: _nullishCoalesce(field.value, () => ( "")), children: [
|
|
309
309
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
310
|
-
|
|
310
|
+
_chunkYZCQPTMIcjs.SelectTrigger,
|
|
311
311
|
{
|
|
312
312
|
id: "helpCategory",
|
|
313
313
|
"aria-label": "Help Category",
|
|
314
314
|
"aria-required": true,
|
|
315
315
|
className: "h-12 border-ods-border bg-ods-card px-3 text-ods-text-primary",
|
|
316
|
-
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
316
|
+
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkYZCQPTMIcjs.SelectValue, { placeholder: "Choose your main interest" })
|
|
317
317
|
}
|
|
318
318
|
),
|
|
319
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
319
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkYZCQPTMIcjs.SelectContent, { children: helpCategoryOptions.map((opt) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkYZCQPTMIcjs.SelectItem, { value: opt, children: opt }, opt)) })
|
|
320
320
|
] })
|
|
321
321
|
}
|
|
322
322
|
),
|
|
323
323
|
errors.helpCategory && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { id: "helpCategory-error", className: "mt-1 text-ods-error text-h6", children: errors.helpCategory.message })
|
|
324
324
|
] }),
|
|
325
325
|
showMessage && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-grow flex-col", children: [
|
|
326
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
326
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkBM5MVGH3cjs.Label, { htmlFor: "message", children: [
|
|
327
327
|
"Your Message",
|
|
328
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
328
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkBM5MVGH3cjs.RequiredMark, {})
|
|
329
329
|
] }),
|
|
330
330
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
331
|
-
|
|
331
|
+
_chunkYZCQPTMIcjs.Textarea,
|
|
332
332
|
{
|
|
333
333
|
id: "message",
|
|
334
334
|
...register("message"),
|
|
@@ -343,7 +343,7 @@ function ContactForm({
|
|
|
343
343
|
] }),
|
|
344
344
|
attachmentsEnabled && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-col gap-2", children: [
|
|
345
345
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
346
|
-
|
|
346
|
+
_chunkQCUDVECIcjs.ChatAttachmentChipStrip,
|
|
347
347
|
{
|
|
348
348
|
attachments: attachments.attachments,
|
|
349
349
|
onRemove: attachments.removeAttachment,
|
|
@@ -352,7 +352,7 @@ function ContactForm({
|
|
|
352
352
|
),
|
|
353
353
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center gap-2", children: [
|
|
354
354
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
355
|
-
|
|
355
|
+
_chunkQCUDVECIcjs.ChatAttachmentAddButton,
|
|
356
356
|
{
|
|
357
357
|
attachmentsEnabled: true,
|
|
358
358
|
attachmentsCount: attachments.attachments.length,
|
|
@@ -363,8 +363,8 @@ function ContactForm({
|
|
|
363
363
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "text-ods-text-secondary text-h6", children: "Attach files (optional)" })
|
|
364
364
|
] })
|
|
365
365
|
] }),
|
|
366
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "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__ */ _jsxruntime.jsx.call(void 0, "p", { className: "text-center text-ods-text-secondary text-h6 md:text-left", children: footerText }),
|
|
366
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "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__ */ _jsxruntime.jsx.call(void 0, "p", { className: "text-center text-ods-text-secondary text-h6 content-md:text-left", children: footerText }),
|
|
368
368
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
369
369
|
_chunkDFQYAYBHcjs.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
|
)
|