@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
|
@@ -23,10 +23,10 @@ import {
|
|
|
23
23
|
useLocalStorage,
|
|
24
24
|
useNotificationPermission,
|
|
25
25
|
useToast
|
|
26
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-MKXO4Q5P.js";
|
|
27
27
|
import {
|
|
28
28
|
Pagination
|
|
29
|
-
} from "./chunk-
|
|
29
|
+
} from "./chunk-UT4YHQZW.js";
|
|
30
30
|
import {
|
|
31
31
|
Checkbox
|
|
32
32
|
} from "./chunk-PLWMIU72.js";
|
|
@@ -97,7 +97,7 @@ import {
|
|
|
97
97
|
useIsHydrated,
|
|
98
98
|
useResizablePanelSize,
|
|
99
99
|
useScrollFade
|
|
100
|
-
} from "./chunk-
|
|
100
|
+
} from "./chunk-IZHZMBIX.js";
|
|
101
101
|
import {
|
|
102
102
|
NEAR_VIEWPORT_ROOT_MARGIN,
|
|
103
103
|
ToolIcon,
|
|
@@ -109,11 +109,8 @@ import {
|
|
|
109
109
|
useAutoplay,
|
|
110
110
|
useDebounce,
|
|
111
111
|
useInView,
|
|
112
|
-
useLgUp,
|
|
113
|
-
useMdUp,
|
|
114
|
-
useMediaQuery,
|
|
115
112
|
useNearViewport
|
|
116
|
-
} from "./chunk-
|
|
113
|
+
} from "./chunk-PDWVPI3S.js";
|
|
117
114
|
import {
|
|
118
115
|
usePathname,
|
|
119
116
|
useRouter,
|
|
@@ -265,19 +262,25 @@ import {
|
|
|
265
262
|
mediaNameKey,
|
|
266
263
|
personFirstName,
|
|
267
264
|
personInitials
|
|
268
|
-
} from "./chunk-
|
|
265
|
+
} from "./chunk-CH5232HV.js";
|
|
269
266
|
import {
|
|
270
267
|
next_image_default
|
|
271
268
|
} from "./chunk-FBZMAPWO.js";
|
|
272
269
|
import {
|
|
270
|
+
ViewportBreakpoints,
|
|
271
|
+
breakpoints,
|
|
273
272
|
createLocalStorageAdapter,
|
|
274
273
|
embedAuthedFetch,
|
|
275
274
|
subscribeEmbedCredentialChange,
|
|
276
275
|
useAuthedImageSrc,
|
|
276
|
+
useContentLgUp,
|
|
277
|
+
useContentMdUp,
|
|
277
278
|
useImageEdgeColor,
|
|
278
279
|
useIsTruncated,
|
|
279
|
-
useIsomorphicLayoutEffect
|
|
280
|
-
|
|
280
|
+
useIsomorphicLayoutEffect,
|
|
281
|
+
useMdUp,
|
|
282
|
+
useMediaQuery
|
|
283
|
+
} from "./chunk-NDESEPW5.js";
|
|
281
284
|
import {
|
|
282
285
|
OpenFrameLogo
|
|
283
286
|
} from "./chunk-O43V3EOS.js";
|
|
@@ -294,7 +297,7 @@ import {
|
|
|
294
297
|
Label,
|
|
295
298
|
RequiredMark,
|
|
296
299
|
Skeleton
|
|
297
|
-
} from "./chunk-
|
|
300
|
+
} from "./chunk-FLKJYMVB.js";
|
|
298
301
|
import {
|
|
299
302
|
CheckboxCheckmarkIcon,
|
|
300
303
|
SearchIcon
|
|
@@ -513,7 +516,6 @@ AllowedDomainsInput.displayName = "AllowedDomainsInput";
|
|
|
513
516
|
|
|
514
517
|
// src/components/ui/announcement-bar-view.tsx
|
|
515
518
|
import { jsx as jsx4, jsxs as jsxs2 } from "react/jsx-runtime";
|
|
516
|
-
var MD_QUERY = "(min-width: 800px)";
|
|
517
519
|
function AnnouncementBarView({
|
|
518
520
|
startAdornment,
|
|
519
521
|
title,
|
|
@@ -525,7 +527,7 @@ function AnnouncementBarView({
|
|
|
525
527
|
style
|
|
526
528
|
}) {
|
|
527
529
|
const handleContentClick = onContentClick ? () => {
|
|
528
|
-
if (!window.matchMedia(
|
|
530
|
+
if (!window.matchMedia(breakpoints.md).matches) onContentClick();
|
|
529
531
|
} : void 0;
|
|
530
532
|
return /* @__PURE__ */ jsxs2("div", { className: cn("flex min-h-11 w-full max-w-full items-center", className), style, children: [
|
|
531
533
|
/* @__PURE__ */ jsxs2(
|
|
@@ -1292,10 +1294,10 @@ var CheckboxBlock = forwardRef4(
|
|
|
1292
1294
|
className: cn(
|
|
1293
1295
|
"flex w-full items-center gap-[var(--spacing-system-s)] rounded-md ring-1 ring-inset",
|
|
1294
1296
|
// Trailing content stacks full-width below the text on mobile.
|
|
1295
|
-
trailing && "flex-wrap md:flex-nowrap",
|
|
1297
|
+
trailing && "flex-wrap content-md:flex-nowrap",
|
|
1296
1298
|
"p-[var(--spacing-system-sf)]",
|
|
1297
|
-
!description && "min-h-[44px] md:min-h-[48px]",
|
|
1298
|
-
description && "min-h-[60px] md:min-h-[64px]",
|
|
1299
|
+
!description && "min-h-[44px] content-md:min-h-[48px]",
|
|
1300
|
+
description && "min-h-[60px] content-md:min-h-[64px]",
|
|
1299
1301
|
"bg-ods-card ring-ods-border",
|
|
1300
1302
|
"cursor-pointer transition-colors duration-200",
|
|
1301
1303
|
// States mirror Input: hover / active move the BACKGROUND, the ring
|
|
@@ -1324,7 +1326,7 @@ var CheckboxBlock = forwardRef4(
|
|
|
1324
1326
|
"aria-required": required || void 0,
|
|
1325
1327
|
"aria-invalid": error ? true : void 0,
|
|
1326
1328
|
className: cn(
|
|
1327
|
-
"h-4 w-4 shrink-0 md:h-6 md:w-6",
|
|
1329
|
+
"h-4 w-4 shrink-0 content-md:h-6 content-md:w-6",
|
|
1328
1330
|
"rounded-[6px] border-2",
|
|
1329
1331
|
error ? "border-ods-error" : "border-[var(--color-border-strong)]",
|
|
1330
1332
|
"bg-ods-card",
|
|
@@ -1336,7 +1338,7 @@ var CheckboxBlock = forwardRef4(
|
|
|
1336
1338
|
"disabled:data-[state=unchecked]:border-ods-border disabled:data-[state=unchecked]:bg-ods-bg",
|
|
1337
1339
|
"data-[state=checked]:border-[var(--color-accent-primary)] data-[state=checked]:bg-[var(--color-accent-primary)]"
|
|
1338
1340
|
),
|
|
1339
|
-
children: /* @__PURE__ */ jsx9(CheckboxPrimitive.Indicator, { className: "flex items-center justify-center text-ods-text-on-accent", children: /* @__PURE__ */ jsx9(CheckboxCheckmarkIcon, { className: "h-2 w-2 md:h-2.5 md:w-2.5" }) })
|
|
1341
|
+
children: /* @__PURE__ */ jsx9(CheckboxPrimitive.Indicator, { className: "flex items-center justify-center text-ods-text-on-accent", children: /* @__PURE__ */ jsx9(CheckboxCheckmarkIcon, { className: "h-2 w-2 content-md:h-2.5 content-md:w-2.5" }) })
|
|
1340
1342
|
}
|
|
1341
1343
|
),
|
|
1342
1344
|
/* @__PURE__ */ jsxs5(
|
|
@@ -1354,7 +1356,7 @@ var CheckboxBlock = forwardRef4(
|
|
|
1354
1356
|
"span",
|
|
1355
1357
|
{
|
|
1356
1358
|
className: cn(
|
|
1357
|
-
"!leading-5 text-h4 md:!leading-6",
|
|
1359
|
+
"!leading-5 text-h4 content-md:!leading-6",
|
|
1358
1360
|
"select-none text-ods-text-primary",
|
|
1359
1361
|
truncateLabel ? "block truncate" : "break-words"
|
|
1360
1362
|
),
|
|
@@ -1368,7 +1370,7 @@ var CheckboxBlock = forwardRef4(
|
|
|
1368
1370
|
]
|
|
1369
1371
|
}
|
|
1370
1372
|
),
|
|
1371
|
-
trailing && /* @__PURE__ */ jsx9("div", { className: "flex w-full shrink-0 items-center md:ml-auto md:w-auto", children: trailing })
|
|
1373
|
+
trailing && /* @__PURE__ */ jsx9("div", { className: "flex w-full shrink-0 items-center content-md:ml-auto content-md:w-auto", children: trailing })
|
|
1372
1374
|
]
|
|
1373
1375
|
}
|
|
1374
1376
|
),
|
|
@@ -2588,7 +2590,7 @@ function DurationInput({ value, onChange, invalid, className }) {
|
|
|
2588
2590
|
}
|
|
2589
2591
|
},
|
|
2590
2592
|
className: cn(
|
|
2591
|
-
"flex h-11 w-full items-center gap-[var(--spacing-system-xxs)] rounded-md border border-ods-border bg-ods-card px-[var(--spacing-system-sf)] transition-colors duration-200 md:h-12",
|
|
2593
|
+
"flex h-11 w-full items-center gap-[var(--spacing-system-xxs)] rounded-md border border-ods-border bg-ods-card px-[var(--spacing-system-sf)] transition-colors duration-200 content-md:h-12",
|
|
2592
2594
|
"cursor-text focus-within:border-ods-accent",
|
|
2593
2595
|
invalid && "border-ods-error focus-within:border-ods-error",
|
|
2594
2596
|
className
|
|
@@ -2728,7 +2730,7 @@ var ProgressBar = ({
|
|
|
2728
2730
|
mobileHeight = 8,
|
|
2729
2731
|
inverted = false
|
|
2730
2732
|
}) => {
|
|
2731
|
-
const isMdUp =
|
|
2733
|
+
const isMdUp = useContentMdUp() ?? true;
|
|
2732
2734
|
const effectiveSegmentWidth = isMdUp ? segmentWidth : mobileSegmentWidth;
|
|
2733
2735
|
const effectiveHeight = isMdUp ? height : mobileHeight;
|
|
2734
2736
|
const containerRef = useRef4(null);
|
|
@@ -3419,7 +3421,7 @@ import React2 from "react";
|
|
|
3419
3421
|
|
|
3420
3422
|
// src/components/ui/no-data/no-data-styles.ts
|
|
3421
3423
|
import { cva } from "class-variance-authority";
|
|
3422
|
-
var noDataIconClasses = "inline-flex shrink-0 items-center justify-center [&_svg]:h-4 [&_svg]:w-4 md:[&_svg]:h-6 md:[&_svg]:w-6";
|
|
3424
|
+
var noDataIconClasses = "inline-flex shrink-0 items-center justify-center [&_svg]:h-4 [&_svg]:w-4 content-md:[&_svg]:h-6 content-md:[&_svg]:w-6";
|
|
3423
3425
|
var noDataActionsVariants = cva("overflow-hidden rounded-md", {
|
|
3424
3426
|
variants: {
|
|
3425
3427
|
variant: {
|
|
@@ -3438,13 +3440,13 @@ var NoDataAction = React2.forwardRef(function NoDataActionImpl({ icon, label, ch
|
|
|
3438
3440
|
ref,
|
|
3439
3441
|
className: cn(
|
|
3440
3442
|
"flex flex-1 items-center gap-[var(--spacing-system-s)] p-[var(--spacing-system-m)] text-ods-text-secondary",
|
|
3441
|
-
"md:w-[224px] md:flex-none md:flex-col md:items-start md:gap-[var(--spacing-system-xs)]",
|
|
3443
|
+
"content-md:w-[224px] content-md:flex-none content-md:flex-col content-md:items-start content-md:gap-[var(--spacing-system-xs)]",
|
|
3442
3444
|
className
|
|
3443
3445
|
),
|
|
3444
3446
|
...props,
|
|
3445
3447
|
children: [
|
|
3446
3448
|
icon && /* @__PURE__ */ jsx25("span", { className: cn(noDataIconClasses, "text-ods-text-primary"), children: icon }),
|
|
3447
|
-
/* @__PURE__ */ jsx25("span", { className: "min-w-0 flex-1 break-words text-h6 md:w-full md:flex-none", children: label ?? children })
|
|
3449
|
+
/* @__PURE__ */ jsx25("span", { className: "min-w-0 flex-1 break-words text-h6 content-md:w-full content-md:flex-none", children: label ?? children })
|
|
3448
3450
|
]
|
|
3449
3451
|
}
|
|
3450
3452
|
);
|
|
@@ -3456,14 +3458,18 @@ var NoDataActions = React2.forwardRef(function NoDataActionsImpl({ actions, vari
|
|
|
3456
3458
|
"div",
|
|
3457
3459
|
{
|
|
3458
3460
|
ref,
|
|
3459
|
-
className: cn(
|
|
3461
|
+
className: cn(
|
|
3462
|
+
noDataActionsVariants({ variant }),
|
|
3463
|
+
"flex w-full flex-col content-md:w-auto content-md:flex-row",
|
|
3464
|
+
className
|
|
3465
|
+
),
|
|
3460
3466
|
...props,
|
|
3461
3467
|
children: blocks.map((block, index) => /* @__PURE__ */ jsxs18(React2.Fragment, { children: [
|
|
3462
3468
|
index > 0 && /* @__PURE__ */ jsx25(
|
|
3463
3469
|
"div",
|
|
3464
3470
|
{
|
|
3465
3471
|
"aria-hidden": "true",
|
|
3466
|
-
className: "shrink-0 self-stretch border-t border-ods-border md:border-l md:border-t-0"
|
|
3472
|
+
className: "shrink-0 self-stretch border-t border-ods-border content-md:border-l content-md:border-t-0"
|
|
3467
3473
|
}
|
|
3468
3474
|
),
|
|
3469
3475
|
block
|
|
@@ -3522,7 +3528,7 @@ var NoData = React4.forwardRef(function NoDataImpl({
|
|
|
3522
3528
|
leftIcon: buttonIcon,
|
|
3523
3529
|
onClick: onButtonClick,
|
|
3524
3530
|
...buttonProps,
|
|
3525
|
-
className: cn("w-full md:w-auto", buttonProps?.className),
|
|
3531
|
+
className: cn("w-full content-md:w-auto", buttonProps?.className),
|
|
3526
3532
|
children: buttonLabel
|
|
3527
3533
|
}
|
|
3528
3534
|
) : null);
|
|
@@ -4182,7 +4188,7 @@ function TagsManager({
|
|
|
4182
4188
|
"label",
|
|
4183
4189
|
{
|
|
4184
4190
|
className: cn(
|
|
4185
|
-
"flex min-h-11 w-full cursor-text flex-wrap items-center gap-2 rounded-[6px] border px-3 py-1 md:min-h-12",
|
|
4191
|
+
"flex min-h-11 w-full cursor-text flex-wrap items-center gap-2 rounded-[6px] border px-3 py-1 content-md:min-h-12",
|
|
4186
4192
|
"transition-colors duration-200",
|
|
4187
4193
|
"border-ods-border bg-ods-card",
|
|
4188
4194
|
"group",
|
|
@@ -4198,7 +4204,7 @@ function TagsManager({
|
|
|
4198
4204
|
"span",
|
|
4199
4205
|
{
|
|
4200
4206
|
className: cn(
|
|
4201
|
-
"flex-shrink-0 text-ods-text-secondary transition-colors duration-200 [&_svg]:size-4 md:[&_svg]:size-6",
|
|
4207
|
+
"flex-shrink-0 text-ods-text-secondary transition-colors duration-200 [&_svg]:size-4 content-md:[&_svg]:size-6",
|
|
4202
4208
|
open && "text-ods-accent"
|
|
4203
4209
|
),
|
|
4204
4210
|
children: /* @__PURE__ */ jsx34(SearchIcon, {})
|
|
@@ -4249,7 +4255,7 @@ function TagsManager({
|
|
|
4249
4255
|
{
|
|
4250
4256
|
type: "button",
|
|
4251
4257
|
onClick: handleClearAll,
|
|
4252
|
-
className: "flex flex-shrink-0 items-center justify-center transition-opacity hover:opacity-70 [&_svg]:size-4 md:[&_svg]:size-6",
|
|
4258
|
+
className: "flex flex-shrink-0 items-center justify-center transition-opacity hover:opacity-70 [&_svg]:size-4 content-md:[&_svg]:size-6",
|
|
4253
4259
|
"aria-label": "Clear all tags",
|
|
4254
4260
|
children: /* @__PURE__ */ jsx34(XmarkCircleIcon, { className: "text-ods-text-secondary" })
|
|
4255
4261
|
}
|
|
@@ -4329,7 +4335,7 @@ function TagsManager({
|
|
|
4329
4335
|
"aria-selected": isSelected,
|
|
4330
4336
|
tabIndex: 0,
|
|
4331
4337
|
className: cn(
|
|
4332
|
-
"flex h-11 cursor-pointer items-center border-b border-ods-border px-4 transition-colors last:border-b-0 md:h-12",
|
|
4338
|
+
"flex h-11 cursor-pointer items-center border-b border-ods-border px-4 transition-colors last:border-b-0 content-md:h-12",
|
|
4333
4339
|
"text-h4",
|
|
4334
4340
|
isSelected ? "text-ods-accent" : "text-ods-text-primary",
|
|
4335
4341
|
"group/item hover:bg-ods-bg-hover"
|
|
@@ -4387,7 +4393,7 @@ function TagsManager({
|
|
|
4387
4393
|
"aria-selected": false,
|
|
4388
4394
|
tabIndex: 0,
|
|
4389
4395
|
className: cn(
|
|
4390
|
-
"flex h-11 cursor-pointer items-center gap-2 px-4 transition-colors text-h4 md:h-12",
|
|
4396
|
+
"flex h-11 cursor-pointer items-center gap-2 px-4 transition-colors text-h4 content-md:h-12",
|
|
4391
4397
|
"hover:bg-ods-bg-hover",
|
|
4392
4398
|
isCreating && "pointer-events-none opacity-50"
|
|
4393
4399
|
),
|
|
@@ -4692,7 +4698,7 @@ var DialogContent = forwardRef13(({ className, children, ...props }, ref) => /*
|
|
|
4692
4698
|
),
|
|
4693
4699
|
...props,
|
|
4694
4700
|
children: [
|
|
4695
|
-
/* @__PURE__ */ jsx37("div", { className: "grid min-h-0 gap-[var(--spacing-system-mf)] overflow-y-auto", children }),
|
|
4701
|
+
/* @__PURE__ */ jsx37("div", { className: "grid min-h-0 gap-[var(--spacing-system-mf)] overflow-y-auto", children: /* @__PURE__ */ jsx37(ViewportBreakpoints, { children }) }),
|
|
4696
4702
|
/* @__PURE__ */ jsxs28(DialogPrimitive.Close, { className: "absolute right-4 top-4 rounded-sm opacity-70 ring-offset-background transition-opacity hover:opacity-100 focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:pointer-events-none data-[state=open]:bg-accent data-[state=open]:text-muted-foreground", children: [
|
|
4697
4703
|
/* @__PURE__ */ jsx37(X3, { className: "h-4 w-4" }),
|
|
4698
4704
|
/* @__PURE__ */ jsx37("span", { className: "sr-only", children: "Close" })
|
|
@@ -5098,7 +5104,7 @@ var SheetContent = forwardRef15(
|
|
|
5098
5104
|
({ side = "right", className, children, ...props }, ref) => /* @__PURE__ */ jsxs32(SheetPortal, { children: [
|
|
5099
5105
|
/* @__PURE__ */ jsx43(SheetOverlay, {}),
|
|
5100
5106
|
/* @__PURE__ */ jsxs32(SheetPrimitive.Content, { ref, className: cn(sheetVariants({ side }), className), ...props, children: [
|
|
5101
|
-
children,
|
|
5107
|
+
/* @__PURE__ */ jsx43(ViewportBreakpoints, { children }),
|
|
5102
5108
|
/* @__PURE__ */ jsxs32(SheetPrimitive.Close, { className: "absolute right-4 top-4 rounded-sm opacity-70 ring-offset-background transition-opacity hover:opacity-100 focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:pointer-events-none data-[state=open]:bg-secondary", children: [
|
|
5103
5109
|
/* @__PURE__ */ jsx43(X4, { className: "h-4 w-4" }),
|
|
5104
5110
|
/* @__PURE__ */ jsx43("span", { className: "sr-only", children: "Close" })
|
|
@@ -5170,7 +5176,10 @@ var BreadcrumbList = forwardRef17(({ className, ...props }, ref) => /* @__PURE__
|
|
|
5170
5176
|
"ol",
|
|
5171
5177
|
{
|
|
5172
5178
|
ref,
|
|
5173
|
-
className: cn(
|
|
5179
|
+
className: cn(
|
|
5180
|
+
"flex flex-wrap items-center gap-1.5 break-words text-ods-text-muted text-h6 content-md:gap-2.5",
|
|
5181
|
+
className
|
|
5182
|
+
),
|
|
5174
5183
|
...props
|
|
5175
5184
|
}
|
|
5176
5185
|
));
|
|
@@ -5683,7 +5692,7 @@ var TabBar = memo(function TabBarImpl({
|
|
|
5683
5692
|
tab.icon,
|
|
5684
5693
|
{
|
|
5685
5694
|
className: cn(
|
|
5686
|
-
"h-4 w-4 transition-colors md:h-6 md:w-6",
|
|
5695
|
+
"h-4 w-4 transition-colors content-md:h-6 content-md:w-6",
|
|
5687
5696
|
isActive ? "text-ods-accent" : "text-ods-text-secondary"
|
|
5688
5697
|
)
|
|
5689
5698
|
}
|
|
@@ -5694,7 +5703,7 @@ var TabBar = memo(function TabBarImpl({
|
|
|
5694
5703
|
// the label (there's no icon corner to anchor to).
|
|
5695
5704
|
/* @__PURE__ */ jsx50(StatusDot, { indicator: tab.indicator, className: "shrink-0" })
|
|
5696
5705
|
) : null,
|
|
5697
|
-
tab.sublabel ? /* @__PURE__ */ jsxs38("span", { className: "flex min-w-0 flex-col items-start text-left md:flex-row md:items-baseline md:gap-[var(--spacing-system-xsf)]", children: [
|
|
5706
|
+
tab.sublabel ? /* @__PURE__ */ jsxs38("span", { className: "flex min-w-0 flex-col items-start text-left content-md:flex-row content-md:items-baseline content-md:gap-[var(--spacing-system-xsf)]", children: [
|
|
5698
5707
|
/* @__PURE__ */ jsx50(
|
|
5699
5708
|
"span",
|
|
5700
5709
|
{
|
|
@@ -6315,12 +6324,12 @@ function EmbedViewerFrame({
|
|
|
6315
6324
|
isFullscreen && "overflow-auto bg-ods-bg p-[var(--spacing-system-mf)]"
|
|
6316
6325
|
),
|
|
6317
6326
|
children: [
|
|
6318
|
-
/* @__PURE__ */ jsxs42("div", { className: "flex flex-col gap-3 sm:flex-row sm:items-center sm:justify-between", children: [
|
|
6327
|
+
/* @__PURE__ */ jsxs42("div", { className: "flex flex-col gap-3 content-sm:flex-row content-sm:items-center content-sm:justify-between", children: [
|
|
6319
6328
|
/* @__PURE__ */ jsxs42("div", { className: "flex min-w-0 items-center gap-2", children: [
|
|
6320
6329
|
icon,
|
|
6321
6330
|
titleVariant === "h3" ? /* @__PURE__ */ jsx57("h2", { className: "truncate text-ods-text-primary text-h3", children: title }) : /* @__PURE__ */ jsx57("span", { className: "truncate font-semibold text-ods-text-primary text-h6", children: title })
|
|
6322
6331
|
] }),
|
|
6323
|
-
fullscreenControl && src ? /* @__PURE__ */ jsxs42("div", { className: "flex flex-col gap-[var(--spacing-system-xsf)] sm:flex-row sm:items-center", children: [
|
|
6332
|
+
fullscreenControl && src ? /* @__PURE__ */ jsxs42("div", { className: "flex flex-col gap-[var(--spacing-system-xsf)] content-sm:flex-row content-sm:items-center", children: [
|
|
6324
6333
|
actions,
|
|
6325
6334
|
/* @__PURE__ */ jsx57(
|
|
6326
6335
|
Button,
|
|
@@ -6330,7 +6339,7 @@ function EmbedViewerFrame({
|
|
|
6330
6339
|
onClick: toggleFullscreen,
|
|
6331
6340
|
"aria-label": isFullscreen ? "Exit fullscreen" : "Enter fullscreen",
|
|
6332
6341
|
leftIcon: isFullscreen ? /* @__PURE__ */ jsx57(Minimize2, { className: "h-4 w-4" }) : /* @__PURE__ */ jsx57(Maximize2, { className: "h-4 w-4" }),
|
|
6333
|
-
className: "w-full sm:w-auto",
|
|
6342
|
+
className: "w-full content-sm:w-auto",
|
|
6334
6343
|
children: isFullscreen ? "Exit fullscreen" : "Fullscreen"
|
|
6335
6344
|
}
|
|
6336
6345
|
)
|
|
@@ -6405,7 +6414,7 @@ function ClaudeEmbed({ url, kind = "artifact", title, height, loading = "lazy" }
|
|
|
6405
6414
|
openInNewTab: true,
|
|
6406
6415
|
leftIcon: /* @__PURE__ */ jsx58(ClaudeIcon, { className: "h-4 w-4" }),
|
|
6407
6416
|
rightIcon: /* @__PURE__ */ jsx58(ExternalLink, { className: "h-4 w-4" }),
|
|
6408
|
-
className: "w-full sm:w-auto",
|
|
6417
|
+
className: "w-full content-sm:w-auto",
|
|
6409
6418
|
children: "Open in Claude"
|
|
6410
6419
|
}
|
|
6411
6420
|
),
|
|
@@ -6484,7 +6493,7 @@ function FigmaEmbed({ url, title, height, loading = "lazy" }) {
|
|
|
6484
6493
|
icon: /* @__PURE__ */ jsx59(FigmaIcon, { className: "h-5 w-5 shrink-0" }),
|
|
6485
6494
|
title: heading,
|
|
6486
6495
|
titleVariant: "h6",
|
|
6487
|
-
actions: /* @__PURE__ */ jsxs43("div", { className: "flex flex-col gap-2 sm:flex-row sm:items-center", children: [
|
|
6496
|
+
actions: /* @__PURE__ */ jsxs43("div", { className: "flex flex-col gap-2 content-sm:flex-row content-sm:items-center", children: [
|
|
6488
6497
|
isSlides && embedSrc && /* @__PURE__ */ jsx59(SlidesViewToggle, { view, onChange: setView }),
|
|
6489
6498
|
originalUrl && /* @__PURE__ */ jsx59(
|
|
6490
6499
|
Button,
|
|
@@ -6495,7 +6504,7 @@ function FigmaEmbed({ url, title, height, loading = "lazy" }) {
|
|
|
6495
6504
|
openInNewTab: true,
|
|
6496
6505
|
leftIcon: /* @__PURE__ */ jsx59(FigmaIcon, { className: "h-4 w-4" }),
|
|
6497
6506
|
rightIcon: /* @__PURE__ */ jsx59(ExternalLink2, { className: "h-4 w-4" }),
|
|
6498
|
-
className: "w-full sm:w-auto",
|
|
6507
|
+
className: "w-full content-sm:w-auto",
|
|
6499
6508
|
children: "Open in Figma"
|
|
6500
6509
|
}
|
|
6501
6510
|
)
|
|
@@ -7349,7 +7358,7 @@ var MediaCarousel = memo2(function MediaCarouselImpl({
|
|
|
7349
7358
|
{
|
|
7350
7359
|
variant: "transparent",
|
|
7351
7360
|
onClick: prevSlide,
|
|
7352
|
-
className: "absolute left-3 top-1/2 z-10 h-auto -translate-y-1/2 rounded-full bg-black/50 p-2 text-ods-text-on-dark opacity-0 transition-opacity duration-200 hover:bg-black/70 group-hover:opacity-100 md:h-auto",
|
|
7361
|
+
className: "absolute left-3 top-1/2 z-10 h-auto -translate-y-1/2 rounded-full bg-black/50 p-2 text-ods-text-on-dark opacity-0 transition-opacity duration-200 hover:bg-black/70 group-hover:opacity-100 content-md:h-auto",
|
|
7353
7362
|
"aria-label": "Previous media",
|
|
7354
7363
|
children: /* @__PURE__ */ jsx64(ChevronLeftIcon, {})
|
|
7355
7364
|
}
|
|
@@ -7359,7 +7368,7 @@ var MediaCarousel = memo2(function MediaCarouselImpl({
|
|
|
7359
7368
|
{
|
|
7360
7369
|
variant: "transparent",
|
|
7361
7370
|
onClick: nextSlide,
|
|
7362
|
-
className: "absolute right-3 top-1/2 z-10 h-auto -translate-y-1/2 rounded-full bg-black/50 p-2 text-ods-text-on-dark opacity-0 transition-opacity duration-200 hover:bg-black/70 group-hover:opacity-100 md:h-auto",
|
|
7371
|
+
className: "absolute right-3 top-1/2 z-10 h-auto -translate-y-1/2 rounded-full bg-black/50 p-2 text-ods-text-on-dark opacity-0 transition-opacity duration-200 hover:bg-black/70 group-hover:opacity-100 content-md:h-auto",
|
|
7363
7372
|
"aria-label": "Next media",
|
|
7364
7373
|
children: /* @__PURE__ */ jsx64(ChevronRightIcon, {})
|
|
7365
7374
|
}
|
|
@@ -7377,7 +7386,7 @@ var MediaCarousel = memo2(function MediaCarouselImpl({
|
|
|
7377
7386
|
"aria-current": isActive ? "true" : void 0,
|
|
7378
7387
|
"aria-label": `Go to slide ${index + 1}`,
|
|
7379
7388
|
onClick: () => selectSlide(index),
|
|
7380
|
-
className: "flex h-6 w-6 shrink-0 items-center justify-center rounded-full p-0 md:h-6",
|
|
7389
|
+
className: "flex h-6 w-6 shrink-0 items-center justify-center rounded-full p-0 content-md:h-6",
|
|
7381
7390
|
children: /* @__PURE__ */ jsx64(
|
|
7382
7391
|
"span",
|
|
7383
7392
|
{
|
|
@@ -8510,11 +8519,11 @@ var CELL_ITEMS_ALIGN = {
|
|
|
8510
8519
|
right: "items-end"
|
|
8511
8520
|
};
|
|
8512
8521
|
var HIDE_CLASS = {
|
|
8513
|
-
md: "hidden md:flex",
|
|
8514
|
-
lg: "hidden lg:flex",
|
|
8515
|
-
xl: "hidden xl:flex"
|
|
8522
|
+
md: "hidden content-md:flex",
|
|
8523
|
+
lg: "hidden content-lg:flex",
|
|
8524
|
+
xl: "hidden content-xl:flex"
|
|
8516
8525
|
};
|
|
8517
|
-
var ROW_CLASS = "flex items-center gap-[var(--spacing-system-m)] px-[var(--spacing-system-m)] min-h-14 md:min-h-20 border-b border-ods-border last:border-b-0";
|
|
8526
|
+
var ROW_CLASS = "flex items-center gap-[var(--spacing-system-m)] px-[var(--spacing-system-m)] min-h-14 content-md:min-h-20 border-b border-ods-border last:border-b-0";
|
|
8518
8527
|
function CellValue({ column }) {
|
|
8519
8528
|
const valueNode = /* @__PURE__ */ jsx70(
|
|
8520
8529
|
"div",
|
|
@@ -9404,111 +9413,119 @@ function FilterModal({
|
|
|
9404
9413
|
const hasFilterGroups = filterGroups.length > 0;
|
|
9405
9414
|
const hasTagFilter = !!tagFilterKeys && tagFilterKeys.length > 0 && !!onTagsChange;
|
|
9406
9415
|
const isEmpty = !isLoading && !hasSort && !hasFilterGroups && !hasTagFilter && !dateFilter;
|
|
9407
|
-
return /* @__PURE__ */ jsxs60(
|
|
9408
|
-
|
|
9409
|
-
|
|
9410
|
-
|
|
9411
|
-
|
|
9412
|
-
|
|
9413
|
-
|
|
9414
|
-
|
|
9415
|
-
|
|
9416
|
-
|
|
9417
|
-
|
|
9418
|
-
|
|
9419
|
-
|
|
9420
|
-
|
|
9421
|
-
|
|
9422
|
-
|
|
9423
|
-
|
|
9424
|
-
|
|
9425
|
-
|
|
9426
|
-
|
|
9427
|
-
|
|
9428
|
-
|
|
9429
|
-
|
|
9430
|
-
|
|
9431
|
-
|
|
9432
|
-
|
|
9433
|
-
]
|
|
9434
|
-
},
|
|
9435
|
-
row
|
|
9436
|
-
)) })
|
|
9437
|
-
] }, group)) }) : isEmpty ? /* @__PURE__ */ jsxs60("div", { className: "flex h-[240px] flex-col items-center justify-center gap-6 p-6", children: [
|
|
9438
|
-
/* @__PURE__ */ jsx79(Filter02Icon, { className: "text-ods-text-secondary", size: 24 }),
|
|
9439
|
-
/* @__PURE__ */ jsxs60("div", { className: "flex flex-col items-center text-center text-ods-text-secondary", children: [
|
|
9440
|
-
/* @__PURE__ */ jsx79("p", { className: "text-h4", children: emptyStateTitle }),
|
|
9441
|
-
/* @__PURE__ */ jsx79("p", { className: "text-h6", children: emptyStateDescription })
|
|
9442
|
-
] })
|
|
9443
|
-
] }) : /* @__PURE__ */ jsxs60(Fragment12, { children: [
|
|
9444
|
-
sortConfig && sortConfig.columns.length > 0 && /* @__PURE__ */ jsxs60("div", { className: "flex flex-col gap-1", children: [
|
|
9445
|
-
/* @__PURE__ */ jsx79("span", { className: "text-ods-text-secondary text-h5", children: sortConfig.title || "Sort By" }),
|
|
9446
|
-
/* @__PURE__ */ jsx79("div", { className: "overflow-hidden rounded-md border border-ods-border", children: sortConfig.columns.map((column) => /* @__PURE__ */ jsx79(
|
|
9447
|
-
SortColumnItem,
|
|
9448
|
-
{
|
|
9449
|
-
column,
|
|
9450
|
-
currentDirection: getColumnDirection(column.key),
|
|
9451
|
-
onSort: (direction) => onSort?.(column.key, direction),
|
|
9452
|
-
onClear: onSortClear ? () => onSortClear(column.key) : void 0
|
|
9453
|
-
},
|
|
9454
|
-
column.key
|
|
9455
|
-
)) })
|
|
9456
|
-
] }),
|
|
9457
|
-
filterGroups.map((group) => {
|
|
9458
|
-
if (group.options.length === 0) return null;
|
|
9459
|
-
const groupSelection = selectedFilters[group.id] || [];
|
|
9460
|
-
return /* @__PURE__ */ jsxs60("div", { className: "flex flex-col gap-1", children: [
|
|
9461
|
-
/* @__PURE__ */ jsx79("span", { className: "text-ods-text-secondary text-h5", children: group.title }),
|
|
9462
|
-
/* @__PURE__ */ jsx79("div", { className: "overflow-hidden rounded-md border border-ods-border", children: group.options.map((option) => /* @__PURE__ */ jsx79(
|
|
9463
|
-
FilterCheckboxItem,
|
|
9416
|
+
return /* @__PURE__ */ jsxs60(
|
|
9417
|
+
Modal,
|
|
9418
|
+
{
|
|
9419
|
+
isOpen,
|
|
9420
|
+
onClose,
|
|
9421
|
+
className: cn("max-h-[90vh] max-w-none md:max-w-[min(42rem,calc(100vw-2rem))]", className),
|
|
9422
|
+
children: [
|
|
9423
|
+
/* @__PURE__ */ jsx79(ModalHeader, { children: /* @__PURE__ */ jsx79(ModalTitle, { children: title }) }),
|
|
9424
|
+
/* @__PURE__ */ jsx79(
|
|
9425
|
+
ModalContent,
|
|
9426
|
+
{
|
|
9427
|
+
className: cn(
|
|
9428
|
+
"flex min-h-0 flex-1 flex-col",
|
|
9429
|
+
!isEmpty && "md:rounded-md md:border md:border-ods-border md:bg-ods-bg md:px-3"
|
|
9430
|
+
),
|
|
9431
|
+
children: /* @__PURE__ */ jsxs60("div", { className: "relative flex min-h-0 flex-1 flex-col", children: [
|
|
9432
|
+
/* @__PURE__ */ jsx79(
|
|
9433
|
+
"div",
|
|
9434
|
+
{
|
|
9435
|
+
ref: scrollRef,
|
|
9436
|
+
onScroll: updateFade,
|
|
9437
|
+
className: "flex min-h-0 flex-1 flex-col gap-4 overflow-y-auto md:py-3",
|
|
9438
|
+
children: isLoading ? /* @__PURE__ */ jsx79(Fragment12, { children: [0, 1].map((group) => /* @__PURE__ */ jsxs60("div", { className: "flex flex-col gap-1", children: [
|
|
9439
|
+
/* @__PURE__ */ jsx79(Skeleton, { className: "h-5 w-24" }),
|
|
9440
|
+
/* @__PURE__ */ jsx79("div", { className: "overflow-hidden rounded-md border border-ods-border", children: [0, 1, 2].map((row) => /* @__PURE__ */ jsxs60(
|
|
9441
|
+
"div",
|
|
9464
9442
|
{
|
|
9465
|
-
|
|
9466
|
-
|
|
9467
|
-
|
|
9468
|
-
|
|
9443
|
+
className: "flex items-center gap-3 border-b border-ods-border bg-ods-card px-4 py-3 last:border-b-0",
|
|
9444
|
+
children: [
|
|
9445
|
+
/* @__PURE__ */ jsx79(Skeleton, { className: "h-6 w-6 shrink-0 rounded-[6px]" }),
|
|
9446
|
+
/* @__PURE__ */ jsx79(Skeleton, { className: "h-4 max-w-[60%] flex-1" }),
|
|
9447
|
+
/* @__PURE__ */ jsx79(Skeleton, { className: "h-4 w-10 shrink-0" })
|
|
9448
|
+
]
|
|
9469
9449
|
},
|
|
9470
|
-
|
|
9450
|
+
row
|
|
9471
9451
|
)) })
|
|
9472
|
-
] }, group
|
|
9473
|
-
|
|
9474
|
-
|
|
9475
|
-
|
|
9476
|
-
|
|
9477
|
-
|
|
9478
|
-
|
|
9479
|
-
|
|
9480
|
-
|
|
9481
|
-
|
|
9482
|
-
|
|
9483
|
-
|
|
9484
|
-
|
|
9485
|
-
|
|
9486
|
-
|
|
9487
|
-
|
|
9488
|
-
|
|
9489
|
-
|
|
9490
|
-
|
|
9491
|
-
|
|
9492
|
-
|
|
9493
|
-
|
|
9494
|
-
|
|
9495
|
-
className: "gap-[
|
|
9496
|
-
|
|
9497
|
-
|
|
9498
|
-
|
|
9499
|
-
|
|
9500
|
-
|
|
9501
|
-
|
|
9502
|
-
|
|
9503
|
-
|
|
9452
|
+
] }, group)) }) : isEmpty ? /* @__PURE__ */ jsxs60("div", { className: "flex h-[240px] flex-col items-center justify-center gap-6 p-6", children: [
|
|
9453
|
+
/* @__PURE__ */ jsx79(Filter02Icon, { className: "text-ods-text-secondary", size: 24 }),
|
|
9454
|
+
/* @__PURE__ */ jsxs60("div", { className: "flex flex-col items-center text-center text-ods-text-secondary", children: [
|
|
9455
|
+
/* @__PURE__ */ jsx79("p", { className: "text-h4", children: emptyStateTitle }),
|
|
9456
|
+
/* @__PURE__ */ jsx79("p", { className: "text-h6", children: emptyStateDescription })
|
|
9457
|
+
] })
|
|
9458
|
+
] }) : /* @__PURE__ */ jsxs60(Fragment12, { children: [
|
|
9459
|
+
sortConfig && sortConfig.columns.length > 0 && /* @__PURE__ */ jsxs60("div", { className: "flex flex-col gap-1", children: [
|
|
9460
|
+
/* @__PURE__ */ jsx79("span", { className: "text-ods-text-secondary text-h5", children: sortConfig.title || "Sort By" }),
|
|
9461
|
+
/* @__PURE__ */ jsx79("div", { className: "overflow-hidden rounded-md border border-ods-border", children: sortConfig.columns.map((column) => /* @__PURE__ */ jsx79(
|
|
9462
|
+
SortColumnItem,
|
|
9463
|
+
{
|
|
9464
|
+
column,
|
|
9465
|
+
currentDirection: getColumnDirection(column.key),
|
|
9466
|
+
onSort: (direction) => onSort?.(column.key, direction),
|
|
9467
|
+
onClear: onSortClear ? () => onSortClear(column.key) : void 0
|
|
9468
|
+
},
|
|
9469
|
+
column.key
|
|
9470
|
+
)) })
|
|
9471
|
+
] }),
|
|
9472
|
+
filterGroups.map((group) => {
|
|
9473
|
+
if (group.options.length === 0) return null;
|
|
9474
|
+
const groupSelection = selectedFilters[group.id] || [];
|
|
9475
|
+
return /* @__PURE__ */ jsxs60("div", { className: "flex flex-col gap-1", children: [
|
|
9476
|
+
/* @__PURE__ */ jsx79("span", { className: "text-ods-text-secondary text-h5", children: group.title }),
|
|
9477
|
+
/* @__PURE__ */ jsx79("div", { className: "overflow-hidden rounded-md border border-ods-border", children: group.options.map((option) => /* @__PURE__ */ jsx79(
|
|
9478
|
+
FilterCheckboxItem,
|
|
9479
|
+
{
|
|
9480
|
+
label: option.label,
|
|
9481
|
+
count: option.count,
|
|
9482
|
+
checked: groupSelection.includes(option.id),
|
|
9483
|
+
onChange: (checked) => handleFilterToggle(group.id, option.id, checked)
|
|
9484
|
+
},
|
|
9485
|
+
option.id
|
|
9486
|
+
)) })
|
|
9487
|
+
] }, group.id);
|
|
9488
|
+
}),
|
|
9489
|
+
tagFilterKeys && tagFilterKeys.length > 0 && onTagsChange && /* @__PURE__ */ jsx79(
|
|
9490
|
+
TagKeyValueFilter,
|
|
9491
|
+
{
|
|
9492
|
+
keys: tagFilterKeys,
|
|
9493
|
+
selectedTags: pendingTags,
|
|
9494
|
+
onTagsChange: setPendingTags,
|
|
9495
|
+
keysTitle: tagFilterTitle
|
|
9496
|
+
}
|
|
9497
|
+
),
|
|
9498
|
+
dateFilter && /* @__PURE__ */ jsxs60("div", { className: "flex flex-col gap-1", children: [
|
|
9499
|
+
/* @__PURE__ */ jsx79("span", { className: "text-ods-text-secondary text-h5", children: dateFilter.title ?? "Date" }),
|
|
9500
|
+
/* @__PURE__ */ jsx79(
|
|
9501
|
+
DateFilterPanel,
|
|
9502
|
+
{
|
|
9503
|
+
mode: "range",
|
|
9504
|
+
sort: draftDateSort,
|
|
9505
|
+
onSortChange: setDraftDateSort,
|
|
9506
|
+
selected: draftDateRange,
|
|
9507
|
+
onSelect: (value) => setDraftDateRange(value),
|
|
9508
|
+
fromDate: dateFilter.fromDate,
|
|
9509
|
+
toDate: dateFilter.toDate,
|
|
9510
|
+
className: "gap-[var(--spacing-system-xxs)]"
|
|
9511
|
+
}
|
|
9512
|
+
)
|
|
9513
|
+
] })
|
|
9514
|
+
] })
|
|
9515
|
+
}
|
|
9516
|
+
),
|
|
9517
|
+
/* @__PURE__ */ jsx79(ScrollFadeOverlay, { edge: "top", visible: fadeTop }),
|
|
9518
|
+
/* @__PURE__ */ jsx79(ScrollFadeOverlay, { edge: "bottom", visible: fadeBottom })
|
|
9519
|
+
] })
|
|
9520
|
+
}
|
|
9521
|
+
),
|
|
9522
|
+
/* @__PURE__ */ jsxs60(ModalFooter, { children: [
|
|
9523
|
+
/* @__PURE__ */ jsx79(Button, { variant: "outline", className: "h-11 flex-1", onClick: handleReset, children: resetButtonText }),
|
|
9524
|
+
/* @__PURE__ */ jsx79(Button, { variant: "accent", className: "h-11 flex-1", onClick: handleApply, children: applyButtonText })
|
|
9504
9525
|
] })
|
|
9505
|
-
|
|
9506
|
-
|
|
9507
|
-
|
|
9508
|
-
/* @__PURE__ */ jsx79(Button, { variant: "outline", className: "h-11 flex-1", onClick: handleReset, children: resetButtonText }),
|
|
9509
|
-
/* @__PURE__ */ jsx79(Button, { variant: "accent", className: "h-11 flex-1", onClick: handleApply, children: applyButtonText })
|
|
9510
|
-
] })
|
|
9511
|
-
] });
|
|
9526
|
+
]
|
|
9527
|
+
}
|
|
9528
|
+
);
|
|
9512
9529
|
}
|
|
9513
9530
|
|
|
9514
9531
|
// src/components/ui/page-actions.tsx
|
|
@@ -9705,14 +9722,14 @@ function IconButtonsVariant({
|
|
|
9705
9722
|
const mobileMenuGroups = [{ items: actions.flatMap(actionToMenuItems) }, ...menuActions ?? []];
|
|
9706
9723
|
const hasMobileMenuItems = mobileMenuGroups.some((g) => g.items.length > 0);
|
|
9707
9724
|
return /* @__PURE__ */ jsxs61(Fragment13, { children: [
|
|
9708
|
-
/* @__PURE__ */ jsxs61("div", { className: cn("hidden items-center md:flex", ACTIONS_GAP, className), children: [
|
|
9725
|
+
/* @__PURE__ */ jsxs61("div", { className: cn("hidden items-center content-md:flex", ACTIONS_GAP, className), children: [
|
|
9709
9726
|
selector,
|
|
9710
9727
|
loading ? /* @__PURE__ */ jsx80(ActionSkeletons, { actions: desktopActions }) : /* @__PURE__ */ jsxs61(Fragment13, { children: [
|
|
9711
9728
|
desktopActions.map((action, idx) => /* @__PURE__ */ jsx80(React6.Fragment, { children: renderActionButton(action) }, actionKey(action, idx))),
|
|
9712
9729
|
hasMenuActions && /* @__PURE__ */ jsx80(ActionsMenuDropdown, { groups: menuActions })
|
|
9713
9730
|
] })
|
|
9714
9731
|
] }),
|
|
9715
|
-
/* @__PURE__ */ jsx80("div", { className: cn("flex md:hidden", className), children: loading ? /* @__PURE__ */ jsx80(MobileTriggerSkeleton, {}) : useSingleActionMobile && singleAction ? renderActionButton(singleAction, { iconOnly: true }) : hasMobileMenuItems ? /* @__PURE__ */ jsx80(ActionsMenuDropdown, { groups: mobileMenuGroups }) : null })
|
|
9732
|
+
/* @__PURE__ */ jsx80("div", { className: cn("flex content-md:hidden", className), children: loading ? /* @__PURE__ */ jsx80(MobileTriggerSkeleton, {}) : useSingleActionMobile && singleAction ? renderActionButton(singleAction, { iconOnly: true }) : hasMobileMenuItems ? /* @__PURE__ */ jsx80(ActionsMenuDropdown, { groups: mobileMenuGroups }) : null })
|
|
9716
9733
|
] });
|
|
9717
9734
|
}
|
|
9718
9735
|
function PrimaryButtonsVariant({
|
|
@@ -9727,11 +9744,12 @@ function PrimaryButtonsVariant({
|
|
|
9727
9744
|
});
|
|
9728
9745
|
const desktopActions = sortedActions.filter((a) => !a.showOnlyMobile);
|
|
9729
9746
|
return /* @__PURE__ */ jsxs61(Fragment13, { children: [
|
|
9730
|
-
/* @__PURE__ */ jsx80("div", { className: cn("hidden items-center md:flex", ACTIONS_GAP, className), children: loading ? (
|
|
9747
|
+
/* @__PURE__ */ jsx80("div", { className: cn("hidden items-center md:content-md:flex", ACTIONS_GAP, className), children: loading ? (
|
|
9731
9748
|
// No overflow trigger in this variant — an unknown action set settles
|
|
9732
9749
|
// into a labelled button, not a square one.
|
|
9733
9750
|
/* @__PURE__ */ jsx80(ActionSkeletons, { actions: desktopActions, emptyFallback: "label" })
|
|
9734
9751
|
) : desktopActions.map((action, idx) => /* @__PURE__ */ jsx80(React6.Fragment, { children: renderActionButton(action) }, `desktop-${actionKey(action, idx)}`)) }),
|
|
9752
|
+
/* @__PURE__ */ jsx80("div", { className: cn("hidden items-center md:content-max-md:flex", ACTIONS_GAP, className), children: loading ? /* @__PURE__ */ jsx80(MobileTriggerSkeleton, {}) : /* @__PURE__ */ jsx80(CompactPrimaryActions, { actions: desktopActions }) }),
|
|
9735
9753
|
/* @__PURE__ */ jsx80(MobileBottomActions, { actions: sortedActions, loading })
|
|
9736
9754
|
] });
|
|
9737
9755
|
}
|
|
@@ -9747,14 +9765,14 @@ function MenuPrimaryVariant({
|
|
|
9747
9765
|
const mobileMenuGroups = [{ items: actions.flatMap(actionToMenuItems) }, ...menuActions];
|
|
9748
9766
|
const hasMobileMenuItems = mobileMenuGroups.some((g) => g.items.length > 0);
|
|
9749
9767
|
return /* @__PURE__ */ jsxs61(Fragment13, { children: [
|
|
9750
|
-
/* @__PURE__ */ jsxs61("div", { className: cn("hidden items-center md:flex", ACTIONS_GAP, className), children: [
|
|
9768
|
+
/* @__PURE__ */ jsxs61("div", { className: cn("hidden items-center content-md:flex", ACTIONS_GAP, className), children: [
|
|
9751
9769
|
selector,
|
|
9752
9770
|
loading ? /* @__PURE__ */ jsx80(ActionSkeletons, { actions: desktopActions }) : /* @__PURE__ */ jsxs61(Fragment13, { children: [
|
|
9753
9771
|
hasMenuActions && /* @__PURE__ */ jsx80(ActionsMenuDropdown, { groups: menuActions }),
|
|
9754
9772
|
desktopActions.map((action, idx) => /* @__PURE__ */ jsx80(React6.Fragment, { children: renderActionButton({ ...action, variant: action.variant || "accent" }) }, `desktop-${actionKey(action, idx)}`))
|
|
9755
9773
|
] })
|
|
9756
9774
|
] }),
|
|
9757
|
-
/* @__PURE__ */ jsx80("div", { className: cn("flex md:hidden", className), children: loading ? /* @__PURE__ */ jsx80(MobileTriggerSkeleton, {}) : hasMobileMenuItems || selector ? (
|
|
9775
|
+
/* @__PURE__ */ jsx80("div", { className: cn("flex content-md:hidden", className), children: loading ? /* @__PURE__ */ jsx80(MobileTriggerSkeleton, {}) : hasMobileMenuItems || selector ? (
|
|
9758
9776
|
// The selector rides into the menu as its header row: on mobile the
|
|
9759
9777
|
// title row has no room for it, and hiding it entirely (what
|
|
9760
9778
|
// `icon-buttons` does) would leave no way to switch views at all.
|
|
@@ -9762,6 +9780,15 @@ function MenuPrimaryVariant({
|
|
|
9762
9780
|
) : null })
|
|
9763
9781
|
] });
|
|
9764
9782
|
}
|
|
9783
|
+
function CompactPrimaryActions({ actions }) {
|
|
9784
|
+
const foldable = actions.filter((action) => action.variant !== "accent" && !!action.label);
|
|
9785
|
+
const fold = foldable.length > 1;
|
|
9786
|
+
const inline = fold ? actions.filter((action) => !foldable.includes(action)) : actions;
|
|
9787
|
+
return /* @__PURE__ */ jsxs61(Fragment13, { children: [
|
|
9788
|
+
fold && /* @__PURE__ */ jsx80(ActionsMenuDropdown, { groups: [{ items: foldable.flatMap(actionToMenuItems) }] }),
|
|
9789
|
+
inline.map((action, idx) => /* @__PURE__ */ jsx80(React6.Fragment, { children: renderActionButton(action) }, `compact-${actionKey(action, idx)}`))
|
|
9790
|
+
] });
|
|
9791
|
+
}
|
|
9765
9792
|
function MobileBottomActions({ actions, loading }) {
|
|
9766
9793
|
return /* @__PURE__ */ jsx80(
|
|
9767
9794
|
"div",
|
|
@@ -9856,9 +9883,16 @@ function renderAdvancedPageContainer({
|
|
|
9856
9883
|
return /* @__PURE__ */ jsx81("div", { className: cn("flex items-end justify-between gap-4"), children: headerContent });
|
|
9857
9884
|
}
|
|
9858
9885
|
if (variant === "detail") {
|
|
9859
|
-
return /* @__PURE__ */ jsxs62("div", { className: "flex items-end justify-between gap-4 md:flex-col md:items-start md:justify-start lg:flex-row lg:items-end lg:justify-between", children: [
|
|
9886
|
+
return /* @__PURE__ */ jsxs62("div", { className: "flex items-end justify-between gap-4 content-md:flex-col content-md:items-start content-md:justify-start content-lg:flex-row content-lg:items-end content-lg:justify-between", children: [
|
|
9860
9887
|
/* @__PURE__ */ jsxs62("div", { className: "flex min-w-0 flex-1 flex-col gap-2", children: [
|
|
9861
|
-
backButton && /* @__PURE__ */ jsx81(
|
|
9888
|
+
backButton && /* @__PURE__ */ jsx81(
|
|
9889
|
+
BackButton,
|
|
9890
|
+
{
|
|
9891
|
+
onClick: backButton.onClick,
|
|
9892
|
+
label: backButton.label,
|
|
9893
|
+
className: "hidden content-md:inline-flex"
|
|
9894
|
+
}
|
|
9895
|
+
),
|
|
9862
9896
|
title && /* @__PURE__ */ jsx81("h1", { className: "text-ods-text-primary text-h2", children: accentSentenceMarks(title) }),
|
|
9863
9897
|
subtitle && /* @__PURE__ */ jsx81("div", { className: "text-ods-text-secondary text-h6", children: subtitle })
|
|
9864
9898
|
] }),
|
|
@@ -9869,9 +9903,16 @@ function renderAdvancedPageContainer({
|
|
|
9869
9903
|
] });
|
|
9870
9904
|
}
|
|
9871
9905
|
if (variant === "list") {
|
|
9872
|
-
return /* @__PURE__ */ jsxs62("div", { className: "flex items-center justify-between gap-4 md:flex-col md:items-start md:justify-start lg:flex-row lg:items-center lg:justify-between", children: [
|
|
9906
|
+
return /* @__PURE__ */ jsxs62("div", { className: "flex items-center justify-between gap-4 content-md:flex-col content-md:items-start content-md:justify-start content-lg:flex-row content-lg:items-center content-lg:justify-between", children: [
|
|
9873
9907
|
/* @__PURE__ */ jsxs62("div", { className: "flex min-w-0 flex-1 flex-col gap-1", children: [
|
|
9874
|
-
backButton && /* @__PURE__ */ jsx81(
|
|
9908
|
+
backButton && /* @__PURE__ */ jsx81(
|
|
9909
|
+
BackButton,
|
|
9910
|
+
{
|
|
9911
|
+
onClick: backButton.onClick,
|
|
9912
|
+
label: backButton.label,
|
|
9913
|
+
className: "hidden content-md:inline-flex"
|
|
9914
|
+
}
|
|
9915
|
+
),
|
|
9875
9916
|
title && /* @__PURE__ */ jsx81("h1", { className: "text-ods-text-primary text-h2", children: accentSentenceMarks(title) }),
|
|
9876
9917
|
subtitle && /* @__PURE__ */ jsx81("div", { className: "text-ods-text-secondary text-h6", children: subtitle })
|
|
9877
9918
|
] }),
|
|
@@ -9882,9 +9923,16 @@ function renderAdvancedPageContainer({
|
|
|
9882
9923
|
] });
|
|
9883
9924
|
}
|
|
9884
9925
|
if (variant === "form") {
|
|
9885
|
-
return /* @__PURE__ */ jsxs62("div", { className: "flex items-end justify-between gap-4 md:flex-col md:items-start md:justify-start lg:flex-row lg:items-end lg:justify-between", children: [
|
|
9926
|
+
return /* @__PURE__ */ jsxs62("div", { className: "flex items-end justify-between gap-4 content-md:flex-col content-md:items-start content-md:justify-start content-lg:flex-row content-lg:items-end content-lg:justify-between", children: [
|
|
9886
9927
|
/* @__PURE__ */ jsxs62("div", { className: "flex min-w-0 flex-1 flex-col gap-2", children: [
|
|
9887
|
-
backButton && /* @__PURE__ */ jsx81(
|
|
9928
|
+
backButton && /* @__PURE__ */ jsx81(
|
|
9929
|
+
BackButton,
|
|
9930
|
+
{
|
|
9931
|
+
onClick: backButton.onClick,
|
|
9932
|
+
label: backButton.label,
|
|
9933
|
+
className: "hidden content-md:inline-flex"
|
|
9934
|
+
}
|
|
9935
|
+
),
|
|
9888
9936
|
title && /* @__PURE__ */ jsx81("h1", { className: "text-ods-text-primary text-h2", children: accentSentenceMarks(title) })
|
|
9889
9937
|
] }),
|
|
9890
9938
|
(headerActions || actions) && /* @__PURE__ */ jsxs62("div", { className: "flex shrink-0 items-center gap-4", children: [
|
|
@@ -9893,7 +9941,7 @@ function renderAdvancedPageContainer({
|
|
|
9893
9941
|
] })
|
|
9894
9942
|
] });
|
|
9895
9943
|
}
|
|
9896
|
-
return /* @__PURE__ */ jsxs62("div", { className: "flex items-center justify-between gap-4 md:flex-col md:items-start md:justify-start lg:flex-row lg:items-center lg:justify-between", children: [
|
|
9944
|
+
return /* @__PURE__ */ jsxs62("div", { className: "flex items-center justify-between gap-4 content-md:flex-col content-md:items-start content-md:justify-start content-lg:flex-row content-lg:items-center content-lg:justify-between", children: [
|
|
9897
9945
|
(title || subtitle) && /* @__PURE__ */ jsxs62("div", { className: "flex min-w-0 flex-1 flex-col gap-1", children: [
|
|
9898
9946
|
title && /* @__PURE__ */ jsx81("h1", { className: "text-ods-text-primary text-h2", children: accentSentenceMarks(title) }),
|
|
9899
9947
|
subtitle && /* @__PURE__ */ jsx81("div", { className: "text-ods-text-secondary text-h6", children: subtitle })
|
|
@@ -9908,25 +9956,25 @@ function renderAdvancedPageContainer({
|
|
|
9908
9956
|
const baseClasses = ["flex flex-col w-full", backgroundClasses2[background], paddingClasses[padding]];
|
|
9909
9957
|
switch (variant) {
|
|
9910
9958
|
case "list":
|
|
9911
|
-
return cn(baseClasses, "gap-4 md:gap-6", className);
|
|
9959
|
+
return cn(baseClasses, "gap-4 content-md:gap-6", className);
|
|
9912
9960
|
case "detail":
|
|
9913
|
-
return cn(baseClasses, "gap-4 md:gap-6", className);
|
|
9961
|
+
return cn(baseClasses, "gap-4 content-md:gap-6", className);
|
|
9914
9962
|
case "form":
|
|
9915
|
-
return cn(baseClasses, "gap-6 md:gap-10", className);
|
|
9963
|
+
return cn(baseClasses, "gap-6 content-md:gap-10", className);
|
|
9916
9964
|
case "content":
|
|
9917
9965
|
default:
|
|
9918
|
-
return cn(baseClasses, "gap-4 md:gap-6", className);
|
|
9966
|
+
return cn(baseClasses, "gap-4 content-md:gap-6", className);
|
|
9919
9967
|
}
|
|
9920
9968
|
};
|
|
9921
9969
|
const getContentClasses = () => {
|
|
9922
|
-
const mobilePadding = needsBottomPadding ? "pb-28 md:pb-0" : "";
|
|
9970
|
+
const mobilePadding = needsBottomPadding ? "pb-28 content-md:pb-0" : "";
|
|
9923
9971
|
switch (variant) {
|
|
9924
9972
|
case "detail":
|
|
9925
9973
|
return cn("flex-1 overflow-auto", mobilePadding, contentClassName);
|
|
9926
9974
|
case "list":
|
|
9927
|
-
return cn("flex flex-col gap-4 md:gap-6", mobilePadding, contentClassName);
|
|
9975
|
+
return cn("flex flex-col gap-4 content-md:gap-6", mobilePadding, contentClassName);
|
|
9928
9976
|
case "form":
|
|
9929
|
-
return cn("flex flex-col gap-4 md:gap-10", mobilePadding, contentClassName);
|
|
9977
|
+
return cn("flex flex-col gap-4 content-md:gap-10", mobilePadding, contentClassName);
|
|
9930
9978
|
case "content":
|
|
9931
9979
|
default:
|
|
9932
9980
|
return cn("flex-1", mobilePadding, contentClassName);
|
|
@@ -10007,7 +10055,7 @@ function ListPageLayout({
|
|
|
10007
10055
|
onChange: (e) => setLocalSearchValue(e.target.value),
|
|
10008
10056
|
value: localSearchValue,
|
|
10009
10057
|
className: "flex-1",
|
|
10010
|
-
startAdornment: /* @__PURE__ */ jsx82(SearchIcon, { className: "h-4 w-4 md:h-6 md:w-6" })
|
|
10058
|
+
startAdornment: /* @__PURE__ */ jsx82(SearchIcon, { className: "h-4 w-4 content-md:h-6 content-md:w-6" })
|
|
10011
10059
|
}
|
|
10012
10060
|
),
|
|
10013
10061
|
hasMobileFilter && /* @__PURE__ */ jsx82(
|
|
@@ -10015,7 +10063,7 @@ function ListPageLayout({
|
|
|
10015
10063
|
{
|
|
10016
10064
|
variant: "outline",
|
|
10017
10065
|
size: "icon",
|
|
10018
|
-
className: "md:hidden",
|
|
10066
|
+
className: "content-md:hidden",
|
|
10019
10067
|
onClick: () => setMobileFilterOpen(true),
|
|
10020
10068
|
"aria-label": "Open filters",
|
|
10021
10069
|
children: /* @__PURE__ */ jsx82(Filter02Icon, {})
|
|
@@ -10047,7 +10095,7 @@ function ListPageLayout({
|
|
|
10047
10095
|
// src/components/ui/entity-image.tsx
|
|
10048
10096
|
import React7 from "react";
|
|
10049
10097
|
import { jsx as jsx83 } from "react/jsx-runtime";
|
|
10050
|
-
var ENTITY_IMAGE_SIZE = "size-[52px] md:size-[60px]";
|
|
10098
|
+
var ENTITY_IMAGE_SIZE = "size-[52px] content-md:size-[60px]";
|
|
10051
10099
|
function EntityImage({ src, alt, fallbackText, sizeClassName, className }) {
|
|
10052
10100
|
const resolvedSrc = useAuthedImageSrc(src);
|
|
10053
10101
|
const [failedSrc, setFailedSrc] = React7.useState(null);
|
|
@@ -10088,7 +10136,7 @@ function EntityImage({ src, alt, fallbackText, sizeClassName, className }) {
|
|
|
10088
10136
|
|
|
10089
10137
|
// src/components/layout/title-block.tsx
|
|
10090
10138
|
import { jsx as jsx84, jsxs as jsxs64 } from "react/jsx-runtime";
|
|
10091
|
-
var TITLE_BLOCK_MIN_HEIGHT = "min-h-11 md:min-h-12";
|
|
10139
|
+
var TITLE_BLOCK_MIN_HEIGHT = "min-h-11 content-md:min-h-12";
|
|
10092
10140
|
function TitleTextSkeleton({ widthClass, heightClass }) {
|
|
10093
10141
|
return /* @__PURE__ */ jsx84(
|
|
10094
10142
|
"span",
|
|
@@ -10099,8 +10147,8 @@ function TitleTextSkeleton({ widthClass, heightClass }) {
|
|
|
10099
10147
|
);
|
|
10100
10148
|
}
|
|
10101
10149
|
var TITLE_SKELETON_SIZE = {
|
|
10102
|
-
h1: { width: "w-56 md:w-80 lg:w-96", height: "h-7 md:h-8 lg:h-9" },
|
|
10103
|
-
h2: { width: "w-48 md:w-72", height: "h-4 md:h-6" }
|
|
10150
|
+
h1: { width: "w-56 content-md:w-80 content-lg:w-96", height: "h-7 content-md:h-8 content-lg:h-9" },
|
|
10151
|
+
h2: { width: "w-48 content-md:w-72", height: "h-4 content-md:h-6" }
|
|
10104
10152
|
};
|
|
10105
10153
|
function TitleBlock({
|
|
10106
10154
|
title,
|
|
@@ -10138,14 +10186,14 @@ function TitleBlock({
|
|
|
10138
10186
|
"flex items-end justify-between gap-[var(--spacing-system-m)]",
|
|
10139
10187
|
// md+: one wrapping row — actions stay inline with a short title and
|
|
10140
10188
|
// wrap to a second row only when the title overflows (ClickUp 86ahd6uy5).
|
|
10141
|
-
"md:flex-wrap md:content-end",
|
|
10189
|
+
"content-md:flex-wrap content-md:content-end",
|
|
10142
10190
|
"pt-[var(--spacing-system-l)]",
|
|
10143
10191
|
variant === "card" ? cn(
|
|
10144
10192
|
"border-b border-ods-border bg-ods-card",
|
|
10145
10193
|
"px-[var(--spacing-system-l)] pb-[var(--spacing-system-l)]",
|
|
10146
|
-
"md:border-b-0 md:bg-transparent",
|
|
10147
|
-
"md:px-0 md:pb-0",
|
|
10148
|
-
"md:mb-[var(--spacing-system-l)]"
|
|
10194
|
+
"content-md:border-b-0 content-md:bg-transparent",
|
|
10195
|
+
"content-md:px-0 content-md:pb-0",
|
|
10196
|
+
"content-md:mb-[var(--spacing-system-l)]"
|
|
10149
10197
|
) : "mb-[var(--spacing-system-l)]",
|
|
10150
10198
|
className
|
|
10151
10199
|
),
|
|
@@ -10154,11 +10202,11 @@ function TitleBlock({
|
|
|
10154
10202
|
"div",
|
|
10155
10203
|
{
|
|
10156
10204
|
className: cn(
|
|
10157
|
-
"flex min-w-0 flex-1 flex-col justify-center gap-[var(--spacing-system-xs)] md:max-w-full md:flex-none",
|
|
10205
|
+
"flex min-w-0 flex-1 flex-col justify-center gap-[var(--spacing-system-xs)] content-md:max-w-full content-md:flex-none",
|
|
10158
10206
|
TITLE_BLOCK_MIN_HEIGHT
|
|
10159
10207
|
),
|
|
10160
10208
|
children: [
|
|
10161
|
-
backButton && /* @__PURE__ */ jsx84(BackButton, { onClick: backButton.onClick, label: backButton.label, className: "hidden md:inline-flex" }),
|
|
10209
|
+
backButton && /* @__PURE__ */ jsx84(BackButton, { onClick: backButton.onClick, label: backButton.label, className: "hidden content-md:inline-flex" }),
|
|
10162
10210
|
image || hasSubtitleRow || loading ? /* @__PURE__ */ jsxs64("div", { className: "flex w-full min-w-0 items-center gap-[var(--spacing-system-m)]", children: [
|
|
10163
10211
|
image && /* @__PURE__ */ jsx84(EntityImage, { src: image.src, alt: image.alt, fallbackText: image.alt || title }),
|
|
10164
10212
|
/* @__PURE__ */ jsxs64("div", { className: "flex min-w-0 flex-1 flex-col justify-center", children: [
|
|
@@ -10192,7 +10240,7 @@ function TitleBlock({
|
|
|
10192
10240
|
ref: subtitleRef,
|
|
10193
10241
|
className: "truncate text-ods-text-secondary text-h6",
|
|
10194
10242
|
"aria-hidden": !loading && !subtitle ? true : void 0,
|
|
10195
|
-
children: loading ? /* @__PURE__ */ jsx84(TitleTextSkeleton, { widthClass: "w-28 md:w-36", heightClass: "h-2.5 md:h-3" }) : subtitle || "\xA0"
|
|
10243
|
+
children: loading ? /* @__PURE__ */ jsx84(TitleTextSkeleton, { widthClass: "w-28 content-md:w-36", heightClass: "h-2.5 content-md:h-3" }) : subtitle || "\xA0"
|
|
10196
10244
|
}
|
|
10197
10245
|
) })
|
|
10198
10246
|
] })
|
|
@@ -10276,7 +10324,7 @@ function PageLayout({
|
|
|
10276
10324
|
{
|
|
10277
10325
|
className: cn(
|
|
10278
10326
|
"flex flex-1 flex-col gap-[var(--spacing-system-l)]",
|
|
10279
|
-
needsBottomPadding && "pb-28 md:pb-0",
|
|
10327
|
+
needsBottomPadding && "pb-28 content-md:pb-0",
|
|
10280
10328
|
contentClassName
|
|
10281
10329
|
),
|
|
10282
10330
|
children
|
|
@@ -10296,7 +10344,7 @@ function PageShell({ children, schemas, contentClassName }) {
|
|
|
10296
10344
|
function ArticleDetailLayout({ children, schemas, contentClassName }) {
|
|
10297
10345
|
return /* @__PURE__ */ jsxs66("main", { className: "bg-ods-bg", children: [
|
|
10298
10346
|
schemas,
|
|
10299
|
-
/* @__PURE__ */ jsx86("div", { className: cn("mx-auto max-w-[1280px] px-6 py-6 md:px-20 md:py-10", contentClassName), children })
|
|
10347
|
+
/* @__PURE__ */ jsx86("div", { className: cn("mx-auto max-w-[1280px] px-6 py-6 content-md:px-20 content-md:py-10", contentClassName), children })
|
|
10300
10348
|
] });
|
|
10301
10349
|
}
|
|
10302
10350
|
|
|
@@ -12251,9 +12299,9 @@ var BenefitCard = ({
|
|
|
12251
12299
|
const baseStyles = "flex items-start justify-start relative";
|
|
12252
12300
|
const variantStyles2 = {
|
|
12253
12301
|
default: {
|
|
12254
|
-
container: "gap-[var(--spacing-system-xsf)] bg-ods-bg p-[var(--spacing-system-xsf)] md:p-[var(--spacing-system-mf)]",
|
|
12255
|
-
title: "font-body font-bold text-body-md md:text-body-lg text-ods-text-primary",
|
|
12256
|
-
description: "font-body font-medium text-body-sm md:text-body-md text-ods-text-secondary"
|
|
12302
|
+
container: "gap-[var(--spacing-system-xsf)] bg-ods-bg p-[var(--spacing-system-xsf)] content-md:p-[var(--spacing-system-mf)]",
|
|
12303
|
+
title: "font-body font-bold text-body-md content-md:text-body-lg text-ods-text-primary",
|
|
12304
|
+
description: "font-body font-medium text-body-sm content-md:text-body-md text-ods-text-secondary"
|
|
12257
12305
|
},
|
|
12258
12306
|
dark: {
|
|
12259
12307
|
container: "gap-[var(--spacing-system-xsf)] bg-transparent p-0 shadow-[0px_48px_80px_0px_rgba(0,0,0,0.24)]",
|
|
@@ -12281,9 +12329,9 @@ function benefitCardBorderClass(index, totalItems, columns) {
|
|
|
12281
12329
|
const isLastInRow = (index + 1) % 4 === 0;
|
|
12282
12330
|
const isInLastRow = index >= totalItems - 4;
|
|
12283
12331
|
return cn(
|
|
12284
|
-
!isLastInRow && "border-ods-border md:border-r",
|
|
12285
|
-
!isInLastRow && "border-b md:border-b lg:border-b-0",
|
|
12286
|
-
index < 2 && "lg:border-b-0"
|
|
12332
|
+
!isLastInRow && "border-ods-border content-md:border-r",
|
|
12333
|
+
!isInLastRow && "border-b content-md:border-b content-lg:border-b-0",
|
|
12334
|
+
index < 2 && "content-lg:border-b-0"
|
|
12287
12335
|
);
|
|
12288
12336
|
} else if (columns === 3) {
|
|
12289
12337
|
const isLastInMdRow = (index + 1) % 2 === 0;
|
|
@@ -12293,21 +12341,21 @@ function benefitCardBorderClass(index, totalItems, columns) {
|
|
|
12293
12341
|
return cn(
|
|
12294
12342
|
"border-ods-border",
|
|
12295
12343
|
!isLastItem && "border-b",
|
|
12296
|
-
isInLastMdRow && "md:border-b-0",
|
|
12297
|
-
!isLastInMdRow && !isLastItem && "md:border-r",
|
|
12298
|
-
isLastInMdRow && "md:border-r-0",
|
|
12299
|
-
isInLastLgRow && "lg:border-b-0",
|
|
12300
|
-
!isInLastMdRow && !isInLastLgRow && "lg:border-b",
|
|
12301
|
-
!isLastInLgRow && !isLastItem && "lg:border-r",
|
|
12302
|
-
isLastInLgRow && "lg:border-r-0"
|
|
12344
|
+
isInLastMdRow && "content-md:border-b-0",
|
|
12345
|
+
!isLastInMdRow && !isLastItem && "content-md:border-r",
|
|
12346
|
+
isLastInMdRow && "content-md:border-r-0",
|
|
12347
|
+
isInLastLgRow && "content-lg:border-b-0",
|
|
12348
|
+
!isInLastMdRow && !isInLastLgRow && "content-lg:border-b",
|
|
12349
|
+
!isLastInLgRow && !isLastItem && "content-lg:border-r",
|
|
12350
|
+
isLastInLgRow && "content-lg:border-r-0"
|
|
12303
12351
|
);
|
|
12304
12352
|
} else {
|
|
12305
|
-
return isLastItem ? "border-b-0" : "border-b md:border-b-0 md:border-r border-ods-border";
|
|
12353
|
+
return isLastItem ? "border-b-0" : "border-b content-md:border-b-0 content-md:border-r border-ods-border";
|
|
12306
12354
|
}
|
|
12307
12355
|
}
|
|
12308
12356
|
var BenefitCardGrid = ({ children, className = "", columns = 2 }) => {
|
|
12309
12357
|
const childrenArray = React8.Children.toArray(children);
|
|
12310
|
-
const gridClass = columns === 4 ? "grid grid-cols-1 md:grid-cols-2 lg:grid-cols-4" : columns === 3 ? "grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3" : "flex flex-col md:flex-row";
|
|
12358
|
+
const gridClass = columns === 4 ? "grid grid-cols-1 content-md:grid-cols-2 content-lg:grid-cols-4" : columns === 3 ? "grid grid-cols-1 content-md:grid-cols-2 content-lg:grid-cols-3" : "flex flex-col content-md:flex-row";
|
|
12311
12359
|
return /* @__PURE__ */ jsx89(
|
|
12312
12360
|
"div",
|
|
12313
12361
|
{
|
|
@@ -12358,22 +12406,22 @@ function BrandAssociationGrid({
|
|
|
12358
12406
|
className = "",
|
|
12359
12407
|
cardClassName = "bg-ods-card border border-ods-border rounded-lg p-0 overflow-hidden"
|
|
12360
12408
|
}) {
|
|
12361
|
-
const gridCols = columns === 2 ? "grid-cols-1 md:grid-cols-2" : "grid-cols-1 md:grid-cols-3";
|
|
12409
|
+
const gridCols = columns === 2 ? "grid-cols-1 content-md:grid-cols-2" : "grid-cols-1 content-md:grid-cols-3";
|
|
12362
12410
|
const itemsPerRow = columns;
|
|
12363
12411
|
const rows = Math.ceil(items.length / itemsPerRow);
|
|
12364
12412
|
const getBorderClasses = (isLastRow, isLastInRow, globalIndex) => {
|
|
12365
12413
|
let classes = "";
|
|
12366
12414
|
if (!isLastInRow) {
|
|
12367
|
-
classes += " md:border-r border-ods-border";
|
|
12415
|
+
classes += " content-md:border-r border-ods-border";
|
|
12368
12416
|
}
|
|
12369
12417
|
const isLastItem = globalIndex === items.length - 1;
|
|
12370
12418
|
if (!isLastItem) {
|
|
12371
12419
|
classes += " border-b border-ods-border";
|
|
12372
12420
|
}
|
|
12373
12421
|
if (!isLastRow) {
|
|
12374
|
-
classes += " md:border-b border-ods-border";
|
|
12422
|
+
classes += " content-md:border-b border-ods-border";
|
|
12375
12423
|
} else {
|
|
12376
|
-
classes += " md:border-b-0";
|
|
12424
|
+
classes += " content-md:border-b-0";
|
|
12377
12425
|
}
|
|
12378
12426
|
return classes;
|
|
12379
12427
|
};
|
|
@@ -12648,17 +12696,21 @@ function DashboardInfoCard({
|
|
|
12648
12696
|
const size = typeof progressSize === "number" ? { base: 24, md: progressSize } : progressSize ?? { base: 24, md: 56 };
|
|
12649
12697
|
const { base, md, lg } = size;
|
|
12650
12698
|
const rings = [
|
|
12651
|
-
{
|
|
12699
|
+
{
|
|
12700
|
+
key: "base",
|
|
12701
|
+
size: base,
|
|
12702
|
+
className: md !== void 0 ? "content-md:hidden" : lg !== void 0 ? "content-lg:hidden" : ""
|
|
12703
|
+
}
|
|
12652
12704
|
];
|
|
12653
12705
|
if (md !== void 0) {
|
|
12654
12706
|
rings.push({
|
|
12655
12707
|
key: "md",
|
|
12656
12708
|
size: md,
|
|
12657
|
-
className: lg !== void 0 ? "hidden md:block lg:hidden" : "hidden md:block"
|
|
12709
|
+
className: lg !== void 0 ? "hidden content-md:block content-lg:hidden" : "hidden content-md:block"
|
|
12658
12710
|
});
|
|
12659
12711
|
}
|
|
12660
12712
|
if (lg !== void 0) {
|
|
12661
|
-
rings.push({ key: "lg", size: lg, className: "hidden lg:block" });
|
|
12713
|
+
rings.push({ key: "lg", size: lg, className: "hidden content-lg:block" });
|
|
12662
12714
|
}
|
|
12663
12715
|
return /* @__PURE__ */ jsx96(Fragment14, { children: rings.map((ring) => /* @__PURE__ */ jsx96(
|
|
12664
12716
|
CircularProgress,
|
|
@@ -12672,14 +12724,14 @@ function DashboardInfoCard({
|
|
|
12672
12724
|
)) });
|
|
12673
12725
|
};
|
|
12674
12726
|
const cardContent = /* @__PURE__ */ jsxs72(Fragment14, { children: [
|
|
12675
|
-
icon && /* @__PURE__ */ jsx96("div", { className: "flex size-8 shrink-0 items-center justify-center rounded-sm border border-ods-border bg-ods-bg p-[var(--spacing-system-xxs)] text-ods-text-primary md:size-14", children: /* @__PURE__ */ jsx96("span", { className: "flex size-4 items-center justify-center md:size-6 [&>*]:size-full", children: icon }) }),
|
|
12727
|
+
icon && /* @__PURE__ */ jsx96("div", { className: "flex size-8 shrink-0 items-center justify-center rounded-sm border border-ods-border bg-ods-bg p-[var(--spacing-system-xxs)] text-ods-text-primary content-md:size-14", children: /* @__PURE__ */ jsx96("span", { className: "flex size-4 items-center justify-center content-md:size-6 [&>*]:size-full", children: icon }) }),
|
|
12676
12728
|
/* @__PURE__ */ jsxs72("div", { className: "flex min-w-0 flex-1 flex-col", children: [
|
|
12677
12729
|
/* @__PURE__ */ jsxs72("div", { className: "flex items-center gap-[var(--spacing-system-xxs)]", children: [
|
|
12678
12730
|
loading ? /* @__PURE__ */ jsx96("p", { className: "text-h5", children: /* @__PURE__ */ jsx96("span", { className: "block h-[1lh] w-20 animate-pulse rounded bg-ods-border" }) }) : titleSlot ?? (title !== void 0 && /* @__PURE__ */ jsx96("p", { className: "truncate text-ods-text-secondary text-h5", children: title })),
|
|
12679
12731
|
titleTag
|
|
12680
12732
|
] }),
|
|
12681
12733
|
/* @__PURE__ */ jsxs72("div", { className: "flex items-center gap-[var(--spacing-system-xs)]", children: [
|
|
12682
|
-
/* @__PURE__ */ jsx96("p", { className: cn("truncate text-ods-text-primary text-h3 md:text-h2", valueClassName), children: loading ? /* @__PURE__ */ jsx96("span", { className: "block h-[1lh] w-24 animate-pulse rounded bg-ods-border" }) : formattedValue }),
|
|
12734
|
+
/* @__PURE__ */ jsx96("p", { className: cn("truncate text-ods-text-primary text-h3 content-md:text-h2", valueClassName), children: loading ? /* @__PURE__ */ jsx96("span", { className: "block h-[1lh] w-24 animate-pulse rounded bg-ods-border" }) : formattedValue }),
|
|
12683
12735
|
subValue && /* @__PURE__ */ jsx96("p", { className: "text-ods-text-secondary text-h6", children: subValue }),
|
|
12684
12736
|
renderPercentage(),
|
|
12685
12737
|
tooltip && /* @__PURE__ */ jsx96(FloatingTooltip, { content: tooltip, side: "top", children: /* @__PURE__ */ jsx96("span", { className: "cursor-help text-ods-text-secondary", children: /* @__PURE__ */ jsx96(QuestionCircleIcon, { size: 20 }) }) })
|
|
@@ -12688,8 +12740,8 @@ function DashboardInfoCard({
|
|
|
12688
12740
|
] }),
|
|
12689
12741
|
renderProgress()
|
|
12690
12742
|
] });
|
|
12691
|
-
const baseClassName = "bg-ods-card border border-ods-border rounded-md p-[var(--spacing-system-xsf)] md:p-[var(--spacing-system-m)] h-16 md:h-[104px] flex gap-[var(--spacing-system-s)] md:gap-[var(--spacing-system-m)] items-center transition-all";
|
|
12692
|
-
const captionClassName = caption ? "h-auto md:h-auto" : void 0;
|
|
12743
|
+
const baseClassName = "bg-ods-card border border-ods-border rounded-md p-[var(--spacing-system-xsf)] content-md:p-[var(--spacing-system-m)] h-16 content-md:h-[104px] flex gap-[var(--spacing-system-s)] content-md:gap-[var(--spacing-system-m)] items-center transition-all";
|
|
12744
|
+
const captionClassName = caption ? "h-auto content-md:h-auto" : void 0;
|
|
12693
12745
|
if (href) {
|
|
12694
12746
|
return /* @__PURE__ */ jsx96(
|
|
12695
12747
|
next_link_default,
|
|
@@ -12711,17 +12763,17 @@ function DashboardInfoCard({
|
|
|
12711
12763
|
|
|
12712
12764
|
// src/components/ui/info-card-row.tsx
|
|
12713
12765
|
import { jsx as jsx97, jsxs as jsxs73 } from "react/jsx-runtime";
|
|
12714
|
-
var CELL = "flex items-center gap-[var(--spacing-system-s)] min-w-0 p-[var(--spacing-system-xsf)] md:p-[var(--spacing-system-m)] min-h-[60px] md:min-h-[76px]";
|
|
12766
|
+
var CELL = "flex items-center gap-[var(--spacing-system-s)] min-w-0 p-[var(--spacing-system-xsf)] content-md:p-[var(--spacing-system-m)] min-h-[60px] content-md:min-h-[76px]";
|
|
12715
12767
|
function StatCell({ section, className }) {
|
|
12716
12768
|
return /* @__PURE__ */ jsxs73("div", { className: cn(CELL, "flex-1", className), children: [
|
|
12717
12769
|
/* @__PURE__ */ jsxs73("div", { className: "flex min-w-0 flex-1 flex-col", children: [
|
|
12718
12770
|
/* @__PURE__ */ jsx97("p", { className: "truncate uppercase text-ods-text-secondary text-h5", children: section.title }),
|
|
12719
12771
|
/* @__PURE__ */ jsxs73("div", { className: "flex min-w-0 items-center gap-[var(--spacing-system-s)]", children: [
|
|
12720
12772
|
/* @__PURE__ */ jsx97("p", { className: "min-w-0 flex-1 truncate text-ods-text-primary text-h3", children: section.caption }),
|
|
12721
|
-
section.icon && /* @__PURE__ */ jsx97("div", { className: "flex size-6 shrink-0 items-center justify-center md:hidden", children: section.icon })
|
|
12773
|
+
section.icon && /* @__PURE__ */ jsx97("div", { className: "flex size-6 shrink-0 items-center justify-center content-md:hidden", children: section.icon })
|
|
12722
12774
|
] })
|
|
12723
12775
|
] }),
|
|
12724
|
-
section.icon && /* @__PURE__ */ jsx97("div", { className: "hidden size-6 shrink-0 items-center justify-center md:flex", children: section.icon })
|
|
12776
|
+
section.icon && /* @__PURE__ */ jsx97("div", { className: "hidden size-6 shrink-0 items-center justify-center content-md:flex", children: section.icon })
|
|
12725
12777
|
] });
|
|
12726
12778
|
}
|
|
12727
12779
|
function InfoCardRow({ lead, stats, className }) {
|
|
@@ -12729,18 +12781,24 @@ function InfoCardRow({ lead, stats, className }) {
|
|
|
12729
12781
|
"div",
|
|
12730
12782
|
{
|
|
12731
12783
|
className: cn(
|
|
12732
|
-
"flex shrink-0 flex-col overflow-hidden rounded-md border border-ods-border bg-ods-card md:flex-row",
|
|
12784
|
+
"flex shrink-0 flex-col overflow-hidden rounded-md border border-ods-border bg-ods-card content-md:flex-row",
|
|
12733
12785
|
className
|
|
12734
12786
|
),
|
|
12735
12787
|
children: [
|
|
12736
|
-
/* @__PURE__ */ jsxs73(
|
|
12737
|
-
|
|
12738
|
-
|
|
12739
|
-
|
|
12740
|
-
|
|
12741
|
-
|
|
12742
|
-
|
|
12743
|
-
|
|
12788
|
+
/* @__PURE__ */ jsxs73(
|
|
12789
|
+
"div",
|
|
12790
|
+
{
|
|
12791
|
+
className: cn(CELL, "border-b border-ods-border content-md:flex-1 content-md:border-b-0 content-md:border-r"),
|
|
12792
|
+
children: [
|
|
12793
|
+
lead.icon && /* @__PURE__ */ jsx97("div", { className: "flex size-10 shrink-0 items-center justify-center overflow-hidden rounded-sm border border-ods-border [&>*]:size-full [&_img]:object-cover", children: lead.icon }),
|
|
12794
|
+
/* @__PURE__ */ jsxs73("div", { className: "flex min-w-0 flex-1 flex-col justify-center", children: [
|
|
12795
|
+
/* @__PURE__ */ jsx97("p", { className: "truncate text-ods-text-primary text-h3", children: lead.title }),
|
|
12796
|
+
/* @__PURE__ */ jsx97("p", { className: "truncate text-ods-text-secondary text-h6", children: lead.caption })
|
|
12797
|
+
] })
|
|
12798
|
+
]
|
|
12799
|
+
}
|
|
12800
|
+
),
|
|
12801
|
+
/* @__PURE__ */ jsxs73("div", { className: "flex content-md:flex-1", children: [
|
|
12744
12802
|
/* @__PURE__ */ jsx97(StatCell, { section: stats[0], className: "border-r border-ods-border" }),
|
|
12745
12803
|
/* @__PURE__ */ jsx97(StatCell, { section: stats[1] })
|
|
12746
12804
|
] })
|
|
@@ -12899,7 +12957,7 @@ function DeviceCardCompact({ deviceName, organization, className, ...props }) {
|
|
|
12899
12957
|
// src/components/ui/data-attribution.tsx
|
|
12900
12958
|
import { jsx as jsx101, jsxs as jsxs77 } from "react/jsx-runtime";
|
|
12901
12959
|
function DataAttribution({ icon, source, lastUpdated }) {
|
|
12902
|
-
return /* @__PURE__ */ jsxs77("div", { className: "flex shrink-0 flex-col gap-[var(--spacing-system-xxs)] text-ods-text-primary text-h6 sm:flex-row sm:items-center sm:gap-[var(--spacing-system-sf)]", children: [
|
|
12960
|
+
return /* @__PURE__ */ jsxs77("div", { className: "flex shrink-0 flex-col gap-[var(--spacing-system-xxs)] text-ods-text-primary text-h6 content-sm:flex-row content-sm:items-center content-sm:gap-[var(--spacing-system-sf)]", children: [
|
|
12903
12961
|
/* @__PURE__ */ jsxs77("div", { className: "flex items-center gap-[var(--spacing-system-xsf)]", children: [
|
|
12904
12962
|
icon,
|
|
12905
12963
|
/* @__PURE__ */ jsxs77("span", { children: [
|
|
@@ -12907,7 +12965,7 @@ function DataAttribution({ icon, source, lastUpdated }) {
|
|
|
12907
12965
|
source
|
|
12908
12966
|
] })
|
|
12909
12967
|
] }),
|
|
12910
|
-
/* @__PURE__ */ jsx101("span", { className: "hidden text-ods-text-secondary sm:inline", "aria-hidden": "true", children: "\xB7" }),
|
|
12968
|
+
/* @__PURE__ */ jsx101("span", { className: "hidden text-ods-text-secondary content-sm:inline", "aria-hidden": "true", children: "\xB7" }),
|
|
12911
12969
|
/* @__PURE__ */ jsxs77("span", { className: "text-ods-text-secondary", children: [
|
|
12912
12970
|
"Last updated: ",
|
|
12913
12971
|
lastUpdated ? formatDate(lastUpdated) : "Never"
|
|
@@ -12992,19 +13050,19 @@ function ComplianceLogo({
|
|
|
12992
13050
|
// src/components/ui/feature-card.tsx
|
|
12993
13051
|
import { jsx as jsx103, jsxs as jsxs79 } from "react/jsx-runtime";
|
|
12994
13052
|
var GRID_COLUMNS = {
|
|
12995
|
-
2: "grid-cols-1 md:grid-cols-2",
|
|
12996
|
-
3: "grid-cols-1 md:grid-cols-3",
|
|
12997
|
-
4: "grid-cols-1 md:grid-cols-2 lg:grid-cols-4"
|
|
13053
|
+
2: "grid-cols-1 content-md:grid-cols-2",
|
|
13054
|
+
3: "grid-cols-1 content-md:grid-cols-3",
|
|
13055
|
+
4: "grid-cols-1 content-md:grid-cols-2 content-lg:grid-cols-4"
|
|
12998
13056
|
};
|
|
12999
13057
|
function fourColumnBorders(index, count) {
|
|
13000
13058
|
const classes = ["border-ods-border"];
|
|
13001
13059
|
if (index < count - 1) classes.push("border-b");
|
|
13002
13060
|
const mdRows = Math.ceil(count / 2);
|
|
13003
13061
|
const lgRows = Math.ceil(count / 4);
|
|
13004
|
-
classes.push(index % 2 === 0 && index < count - 1 ? "md:border-r" : "md:border-r-0");
|
|
13005
|
-
classes.push(Math.floor(index / 2) < mdRows - 1 ? "md:border-b" : "md:border-b-0");
|
|
13006
|
-
classes.push(index % 4 !== 3 && index < count - 1 ? "lg:border-r" : "lg:border-r-0");
|
|
13007
|
-
classes.push(Math.floor(index / 4) < lgRows - 1 ? "lg:border-b" : "lg:border-b-0");
|
|
13062
|
+
classes.push(index % 2 === 0 && index < count - 1 ? "content-md:border-r" : "content-md:border-r-0");
|
|
13063
|
+
classes.push(Math.floor(index / 2) < mdRows - 1 ? "content-md:border-b" : "content-md:border-b-0");
|
|
13064
|
+
classes.push(index % 4 !== 3 && index < count - 1 ? "content-lg:border-r" : "content-lg:border-r-0");
|
|
13065
|
+
classes.push(Math.floor(index / 4) < lgRows - 1 ? "content-lg:border-b" : "content-lg:border-b-0");
|
|
13008
13066
|
return ` ${classes.join(" ")}`;
|
|
13009
13067
|
}
|
|
13010
13068
|
function LineBar({ width }) {
|
|
@@ -13034,16 +13092,16 @@ function FeatureCardGrid({
|
|
|
13034
13092
|
if (columns === 4) return fourColumnBorders(globalIndex, items.length);
|
|
13035
13093
|
let classes = "";
|
|
13036
13094
|
if (!isLastInRow) {
|
|
13037
|
-
classes += " md:border-r border-ods-border";
|
|
13095
|
+
classes += " content-md:border-r border-ods-border";
|
|
13038
13096
|
}
|
|
13039
13097
|
const isLastItem = globalIndex === items.length - 1;
|
|
13040
13098
|
if (!isLastItem) {
|
|
13041
13099
|
classes += " border-b border-ods-border";
|
|
13042
13100
|
}
|
|
13043
13101
|
if (!isLastRow) {
|
|
13044
|
-
classes += " md:border-b border-ods-border";
|
|
13102
|
+
classes += " content-md:border-b border-ods-border";
|
|
13045
13103
|
} else {
|
|
13046
|
-
classes += " md:border-b-0";
|
|
13104
|
+
classes += " content-md:border-b-0";
|
|
13047
13105
|
}
|
|
13048
13106
|
return classes;
|
|
13049
13107
|
};
|
|
@@ -13239,11 +13297,11 @@ import { jsx as jsx106, jsxs as jsxs82 } from "react/jsx-runtime";
|
|
|
13239
13297
|
function HighlightCard({ item, className = "" }) {
|
|
13240
13298
|
const mobileWidth = item.category.length * 12;
|
|
13241
13299
|
const desktopWidth = item.category.length * 14;
|
|
13242
|
-
return /* @__PURE__ */ jsx106("div", { className: `relative bg-ods-bg p-6 md:p-10 ${className}`, children: /* @__PURE__ */ jsxs82("div", { className: "relative", children: [
|
|
13300
|
+
return /* @__PURE__ */ jsx106("div", { className: `relative bg-ods-bg p-6 content-md:p-10 ${className}`, children: /* @__PURE__ */ jsxs82("div", { className: "relative", children: [
|
|
13243
13301
|
/* @__PURE__ */ jsx106(
|
|
13244
13302
|
"div",
|
|
13245
13303
|
{
|
|
13246
|
-
className: "absolute left-[80px] top-0 h-8 rounded-md md:hidden",
|
|
13304
|
+
className: "absolute left-[80px] top-0 h-8 rounded-md content-md:hidden",
|
|
13247
13305
|
style: {
|
|
13248
13306
|
backgroundColor: item.highlightBg,
|
|
13249
13307
|
width: `${mobileWidth}px`
|
|
@@ -13253,7 +13311,7 @@ function HighlightCard({ item, className = "" }) {
|
|
|
13253
13311
|
/* @__PURE__ */ jsx106(
|
|
13254
13312
|
"div",
|
|
13255
13313
|
{
|
|
13256
|
-
className: "absolute left-[95px] top-0 hidden h-10 rounded-md md:block",
|
|
13314
|
+
className: "absolute left-[95px] top-0 hidden h-10 rounded-md content-md:block",
|
|
13257
13315
|
style: {
|
|
13258
13316
|
backgroundColor: item.highlightBg,
|
|
13259
13317
|
width: `${desktopWidth}px`
|
|
@@ -13274,22 +13332,22 @@ function HighlightCardGrid({
|
|
|
13274
13332
|
className = "",
|
|
13275
13333
|
cardClassName = "bg-ods-card border border-ods-border rounded-lg p-0 overflow-hidden"
|
|
13276
13334
|
}) {
|
|
13277
|
-
const gridCols = columns === 2 ? "grid-cols-1 md:grid-cols-2" : "grid-cols-1 md:grid-cols-3";
|
|
13335
|
+
const gridCols = columns === 2 ? "grid-cols-1 content-md:grid-cols-2" : "grid-cols-1 content-md:grid-cols-3";
|
|
13278
13336
|
const itemsPerRow = columns;
|
|
13279
13337
|
const rows = Math.ceil(items.length / itemsPerRow);
|
|
13280
13338
|
const getBorderClasses = (isLastRow, isLastInRow, globalIndex) => {
|
|
13281
13339
|
let classes = "";
|
|
13282
13340
|
if (!isLastInRow) {
|
|
13283
|
-
classes += " md:border-r border-ods-border";
|
|
13341
|
+
classes += " content-md:border-r border-ods-border";
|
|
13284
13342
|
}
|
|
13285
13343
|
const isLastItem = globalIndex === items.length - 1;
|
|
13286
13344
|
if (!isLastItem) {
|
|
13287
13345
|
classes += " border-b border-ods-border";
|
|
13288
13346
|
}
|
|
13289
13347
|
if (!isLastRow) {
|
|
13290
|
-
classes += " md:border-b border-ods-border";
|
|
13348
|
+
classes += " content-md:border-b border-ods-border";
|
|
13291
13349
|
} else {
|
|
13292
|
-
classes += " md:border-b-0";
|
|
13350
|
+
classes += " content-md:border-b-0";
|
|
13293
13351
|
}
|
|
13294
13352
|
return classes;
|
|
13295
13353
|
};
|
|
@@ -13553,7 +13611,7 @@ function OrganizationCard({
|
|
|
13553
13611
|
] })
|
|
13554
13612
|
] }),
|
|
13555
13613
|
organization.description && /* @__PURE__ */ jsx110("div", { className: "h-12 w-full overflow-hidden", children: /* @__PURE__ */ jsx110("p", { className: "line-clamp-2 text-ods-text-primary text-h4", title: organization.description, children: organization.description }) }),
|
|
13556
|
-
customFooter ? customFooter : footerStats && footerStats.length > 0 ? /* @__PURE__ */ jsx110("div", { className: "flex w-full min-w-0 items-center justify-between gap-2", children: /* @__PURE__ */ jsx110("div", { className: "flex min-w-0 flex-shrink items-center gap-3 md:gap-4", children: footerStats.map((stat, index) => /* @__PURE__ */ jsxs84("div", { className: "flex flex-shrink-0 items-center gap-1", children: [
|
|
13614
|
+
customFooter ? customFooter : footerStats && footerStats.length > 0 ? /* @__PURE__ */ jsx110("div", { className: "flex w-full min-w-0 items-center justify-between gap-2", children: /* @__PURE__ */ jsx110("div", { className: "flex min-w-0 flex-shrink items-center gap-3 content-md:gap-4", children: footerStats.map((stat, index) => /* @__PURE__ */ jsxs84("div", { className: "flex flex-shrink-0 items-center gap-1", children: [
|
|
13557
13615
|
stat.icon,
|
|
13558
13616
|
/* @__PURE__ */ jsx110("span", { className: "text-ods-text-primary text-h6", children: typeof stat.value === "number" ? stat.value.toLocaleString() : stat.value }),
|
|
13559
13617
|
stat.label && /* @__PURE__ */ jsx110("span", { className: "text-ods-text-secondary text-h6", children: stat.label })
|
|
@@ -13613,12 +13671,12 @@ function ServiceCardRowItem({ row }) {
|
|
|
13613
13671
|
window.open(row.href, "_blank", "noopener,noreferrer");
|
|
13614
13672
|
};
|
|
13615
13673
|
return /* @__PURE__ */ jsxs85("div", { className: "flex min-w-0 items-center gap-3", children: [
|
|
13616
|
-
row.label && /* @__PURE__ */ jsx111("div", { className: "w-20 shrink-0 text-ods-text-primary text-h6 md:w-24", children: row.label }),
|
|
13674
|
+
row.label && /* @__PURE__ */ jsx111("div", { className: "w-20 shrink-0 text-ods-text-primary text-h6 content-md:w-24", children: row.label }),
|
|
13617
13675
|
/* @__PURE__ */ jsxs85(
|
|
13618
13676
|
"div",
|
|
13619
13677
|
{
|
|
13620
13678
|
className: cn(
|
|
13621
|
-
"flex h-12 min-w-0 flex-1 items-center justify-between rounded-md border border-ods-border bg-ods-bg px-3 md:px-4",
|
|
13679
|
+
"flex h-12 min-w-0 flex-1 items-center justify-between rounded-md border border-ods-border bg-ods-bg px-3 content-md:px-4",
|
|
13622
13680
|
row.monospace ? "font-mono" : ""
|
|
13623
13681
|
),
|
|
13624
13682
|
children: [
|
|
@@ -13859,7 +13917,7 @@ function ContentLoader({
|
|
|
13859
13917
|
const renderCardSkeleton = () => /* @__PURE__ */ jsxs89("div", { className: "animate-pulse", children: [
|
|
13860
13918
|
showTitle && /* @__PURE__ */ jsx116("div", { className: "mb-6 h-8 w-64 rounded bg-ods-skeleton" }),
|
|
13861
13919
|
/* @__PURE__ */ jsxs89("div", { className: "rounded-lg border border-ods-border bg-ods-card p-6", children: [
|
|
13862
|
-
/* @__PURE__ */ jsx116("div", { className: "mb-6 grid grid-cols-1 gap-6 md:grid-cols-4", children: Array.from({ length: items }).map((_, i) => /* @__PURE__ */ jsxs89("div", { children: [
|
|
13920
|
+
/* @__PURE__ */ jsx116("div", { className: "mb-6 grid grid-cols-1 gap-6 content-md:grid-cols-4", children: Array.from({ length: items }).map((_, i) => /* @__PURE__ */ jsxs89("div", { children: [
|
|
13863
13921
|
/* @__PURE__ */ jsx116("div", { className: "mb-2 h-4 w-20 rounded bg-ods-skeleton" }),
|
|
13864
13922
|
/* @__PURE__ */ jsx116("div", { className: "h-6 w-32 rounded bg-ods-skeleton" })
|
|
13865
13923
|
] }, i)) }),
|
|
@@ -13875,8 +13933,8 @@ function ContentLoader({
|
|
|
13875
13933
|
] });
|
|
13876
13934
|
const renderDetailSkeleton = () => /* @__PURE__ */ jsxs89("div", { className: "animate-pulse", children: [
|
|
13877
13935
|
showTitle && /* @__PURE__ */ jsx116("div", { className: "mb-6 h-8 w-64 rounded bg-ods-skeleton" }),
|
|
13878
|
-
/* @__PURE__ */ jsx116("div", { className: "rounded-lg border border-ods-border bg-ods-card p-6", children: /* @__PURE__ */ jsxs89("div", { className: "grid grid-cols-1 gap-6 lg:grid-cols-3", children: [
|
|
13879
|
-
/* @__PURE__ */ jsxs89("div", { className: "lg:col-span-2", children: [
|
|
13936
|
+
/* @__PURE__ */ jsx116("div", { className: "rounded-lg border border-ods-border bg-ods-card p-6", children: /* @__PURE__ */ jsxs89("div", { className: "grid grid-cols-1 gap-6 content-lg:grid-cols-3", children: [
|
|
13937
|
+
/* @__PURE__ */ jsxs89("div", { className: "content-lg:col-span-2", children: [
|
|
13880
13938
|
/* @__PURE__ */ jsx116("div", { className: "mb-4 h-64 rounded bg-ods-skeleton" }),
|
|
13881
13939
|
/* @__PURE__ */ jsx116("div", { className: "space-y-2", children: Array.from({ length: 3 }).map((_, i) => /* @__PURE__ */ jsx116("div", { className: "h-4 rounded bg-ods-skeleton" }, i)) })
|
|
13882
13940
|
] }),
|
|
@@ -13982,7 +14040,7 @@ function CursorPagination({
|
|
|
13982
14040
|
className: cn(compact && "h-8 px-3"),
|
|
13983
14041
|
leftIcon: /* @__PURE__ */ jsx117(ResetIcon, { className: "h-4 w-4" }),
|
|
13984
14042
|
"aria-label": "Go to first page",
|
|
13985
|
-
children: /* @__PURE__ */ jsx117("span", { className: compact ? "hidden md:inline" : "", children: resetButtonLabel })
|
|
14043
|
+
children: /* @__PURE__ */ jsx117("span", { className: compact ? "hidden content-md:inline" : "", children: resetButtonLabel })
|
|
13986
14044
|
}
|
|
13987
14045
|
) : hasPreviousPage !== void 0 && onPrevious && /* @__PURE__ */ jsx117(
|
|
13988
14046
|
Button,
|
|
@@ -13994,7 +14052,7 @@ function CursorPagination({
|
|
|
13994
14052
|
className: cn(compact && "h-8 px-3"),
|
|
13995
14053
|
leftIcon: /* @__PURE__ */ jsx117(ChevronLeft2, { className: "h-4 w-4" }),
|
|
13996
14054
|
"aria-label": "Go to previous page",
|
|
13997
|
-
children: /* @__PURE__ */ jsx117("span", { className: compact ? "hidden md:inline" : "", children: "Previous" })
|
|
14055
|
+
children: /* @__PURE__ */ jsx117("span", { className: compact ? "hidden content-md:inline" : "", children: "Previous" })
|
|
13998
14056
|
}
|
|
13999
14057
|
),
|
|
14000
14058
|
/* @__PURE__ */ jsx117(
|
|
@@ -14007,7 +14065,7 @@ function CursorPagination({
|
|
|
14007
14065
|
className: cn(compact && "h-8 px-3"),
|
|
14008
14066
|
rightIcon: /* @__PURE__ */ jsx117(ChevronRight4, { className: "h-4 w-4" }),
|
|
14009
14067
|
"aria-label": "Go to next page",
|
|
14010
|
-
children: /* @__PURE__ */ jsx117("span", { className: compact ? "hidden md:inline" : "", children: "Next" })
|
|
14068
|
+
children: /* @__PURE__ */ jsx117("span", { className: compact ? "hidden content-md:inline" : "", children: "Next" })
|
|
14011
14069
|
}
|
|
14012
14070
|
)
|
|
14013
14071
|
] })
|
|
@@ -14135,29 +14193,29 @@ function DataTableRoot({ table, children, className }) {
|
|
|
14135
14193
|
var BREAKPOINT_ORDER = ["md", "lg", "xl", "2xl"];
|
|
14136
14194
|
function getHideClasses(hideAt) {
|
|
14137
14195
|
if (!hideAt) return "";
|
|
14138
|
-
const
|
|
14139
|
-
if (
|
|
14140
|
-
return `hidden
|
|
14196
|
+
const breakpoints2 = Array.isArray(hideAt) ? hideAt : [hideAt];
|
|
14197
|
+
if (breakpoints2.length === 1) {
|
|
14198
|
+
return `hidden content-${breakpoints2[0]}:flex`;
|
|
14141
14199
|
}
|
|
14142
|
-
const maxIdx = Math.max(...
|
|
14143
|
-
const hideClasses =
|
|
14200
|
+
const maxIdx = Math.max(...breakpoints2.map((bp) => BREAKPOINT_ORDER.indexOf(bp)));
|
|
14201
|
+
const hideClasses = breakpoints2.map((bp) => `content-${bp}:hidden`).join(" ");
|
|
14144
14202
|
const showBreakpoint = BREAKPOINT_ORDER[maxIdx + 1];
|
|
14145
|
-
return showBreakpoint ? `${hideClasses}
|
|
14203
|
+
return showBreakpoint ? `${hideClasses} content-${showBreakpoint}:flex` : hideClasses;
|
|
14146
14204
|
}
|
|
14147
14205
|
function getHideAtVisibility(hideAt) {
|
|
14148
14206
|
const steps = BREAKPOINT_ORDER.length + 1;
|
|
14149
14207
|
if (!hideAt) return Array.from({ length: steps }, () => true);
|
|
14150
|
-
const
|
|
14151
|
-
if (
|
|
14152
|
-
const showFrom = BREAKPOINT_ORDER.indexOf(
|
|
14208
|
+
const breakpoints2 = Array.isArray(hideAt) ? hideAt : [hideAt];
|
|
14209
|
+
if (breakpoints2.length === 1) {
|
|
14210
|
+
const showFrom = BREAKPOINT_ORDER.indexOf(breakpoints2[0]) + 1;
|
|
14153
14211
|
return Array.from({ length: steps }, (_, step) => step >= showFrom);
|
|
14154
14212
|
}
|
|
14155
|
-
const maxIdx = Math.max(...
|
|
14213
|
+
const maxIdx = Math.max(...breakpoints2.map((bp) => BREAKPOINT_ORDER.indexOf(bp)));
|
|
14156
14214
|
const showBreakpoint = BREAKPOINT_ORDER[maxIdx + 1];
|
|
14157
14215
|
const visible = [true];
|
|
14158
14216
|
for (const bp of BREAKPOINT_ORDER) {
|
|
14159
14217
|
let state = visible[visible.length - 1];
|
|
14160
|
-
if (
|
|
14218
|
+
if (breakpoints2.includes(bp)) state = false;
|
|
14161
14219
|
if (bp === showBreakpoint) state = true;
|
|
14162
14220
|
visible.push(state);
|
|
14163
14221
|
}
|
|
@@ -14182,7 +14240,7 @@ var multiSelectFilterFn = (row, columnId, filterValue) => {
|
|
|
14182
14240
|
|
|
14183
14241
|
// src/components/ui/data-table/data-table-skeleton.tsx
|
|
14184
14242
|
import { Fragment as Fragment19, jsx as jsx119, jsxs as jsxs91 } from "react/jsx-runtime";
|
|
14185
|
-
var ROW_HEIGHT_DESKTOP = "h-[66px] md:h-[78px]";
|
|
14243
|
+
var ROW_HEIGHT_DESKTOP = "h-[66px] content-md:h-[78px]";
|
|
14186
14244
|
var ROW_HEIGHT_MOBILE = "h-[66px]";
|
|
14187
14245
|
var ROW_SHELL_CLASSES = "items-center gap-[var(--spacing-system-mf)] px-[var(--spacing-system-mf)]";
|
|
14188
14246
|
var ROW_STACK_CLASSES = "flex w-full flex-col gap-[var(--spacing-system-xsf)]";
|
|
@@ -14204,7 +14262,7 @@ function DataTableSkeleton({ rows = 10, className, rowClassName, rowHeightClassN
|
|
|
14204
14262
|
"div",
|
|
14205
14263
|
{
|
|
14206
14264
|
className: cn(
|
|
14207
|
-
"hidden py-0 md:flex",
|
|
14265
|
+
"hidden py-0 content-md:flex",
|
|
14208
14266
|
ROW_SHELL_CLASSES,
|
|
14209
14267
|
rowHeightClassName ? "h-full" : ROW_HEIGHT_DESKTOP,
|
|
14210
14268
|
rowClassName
|
|
@@ -14238,7 +14296,7 @@ function DataTableSkeleton({ rows = 10, className, rowClassName, rowHeightClassN
|
|
|
14238
14296
|
"div",
|
|
14239
14297
|
{
|
|
14240
14298
|
className: cn(
|
|
14241
|
-
"flex justify-start py-0 md:hidden",
|
|
14299
|
+
"flex justify-start py-0 content-md:hidden",
|
|
14242
14300
|
ROW_SHELL_CLASSES,
|
|
14243
14301
|
rowHeightClassName ? "h-full" : ROW_HEIGHT_MOBILE,
|
|
14244
14302
|
rowClassName
|
|
@@ -14295,7 +14353,7 @@ function PlaceholderRows({
|
|
|
14295
14353
|
"div",
|
|
14296
14354
|
{
|
|
14297
14355
|
className: cn(
|
|
14298
|
-
"hidden py-0 md:flex",
|
|
14356
|
+
"hidden py-0 content-md:flex",
|
|
14299
14357
|
ROW_SHELL_CLASSES,
|
|
14300
14358
|
innerHeightClassName ?? (rowHeightClassName ? "h-full" : ROW_HEIGHT_DESKTOP)
|
|
14301
14359
|
)
|
|
@@ -14305,7 +14363,7 @@ function PlaceholderRows({
|
|
|
14305
14363
|
"div",
|
|
14306
14364
|
{
|
|
14307
14365
|
className: cn(
|
|
14308
|
-
"flex justify-start py-0 md:hidden",
|
|
14366
|
+
"flex justify-start py-0 content-md:hidden",
|
|
14309
14367
|
ROW_SHELL_CLASSES,
|
|
14310
14368
|
innerHeightClassName ?? (rowHeightClassName ? "h-full" : ROW_HEIGHT_MOBILE)
|
|
14311
14369
|
)
|
|
@@ -14397,17 +14455,17 @@ function getHideClasses2(hideAt) {
|
|
|
14397
14455
|
if (!hideAt) {
|
|
14398
14456
|
return "";
|
|
14399
14457
|
}
|
|
14400
|
-
const
|
|
14458
|
+
const breakpoints2 = Array.isArray(hideAt) ? hideAt : [hideAt];
|
|
14401
14459
|
const breakpointOrder = ["md", "lg", "xl", "2xl"];
|
|
14402
|
-
const maxBreakpointIndex = Math.max(...
|
|
14403
|
-
if (
|
|
14404
|
-
return `hidden
|
|
14460
|
+
const maxBreakpointIndex = Math.max(...breakpoints2.map((bp) => breakpointOrder.indexOf(bp)));
|
|
14461
|
+
if (breakpoints2.length === 1) {
|
|
14462
|
+
return `hidden content-${breakpoints2[0]}:flex`;
|
|
14405
14463
|
}
|
|
14406
|
-
const hideClasses =
|
|
14464
|
+
const hideClasses = breakpoints2.map((bp) => `content-${bp}:hidden`).join(" ");
|
|
14407
14465
|
const nextBreakpointIndex = maxBreakpointIndex + 1;
|
|
14408
14466
|
const showBreakpoint = breakpointOrder[nextBreakpointIndex];
|
|
14409
14467
|
if (showBreakpoint) {
|
|
14410
|
-
return `${hideClasses}
|
|
14468
|
+
return `${hideClasses} content-${showBreakpoint}:flex`;
|
|
14411
14469
|
}
|
|
14412
14470
|
return hideClasses;
|
|
14413
14471
|
}
|
|
@@ -14459,12 +14517,12 @@ function TableHeader({
|
|
|
14459
14517
|
}
|
|
14460
14518
|
return sortDirection === "asc" ? /* @__PURE__ */ jsx122(Arrow01UpIcon, { className: "h-4 w-4 text-ods-accent" }) : /* @__PURE__ */ jsx122(Arrow01DownIcon, { className: "h-4 w-4 text-ods-accent" });
|
|
14461
14519
|
};
|
|
14462
|
-
const isLgUp =
|
|
14520
|
+
const isLgUp = useContentLgUp() ?? false;
|
|
14463
14521
|
return /* @__PURE__ */ jsxs93(
|
|
14464
14522
|
"div",
|
|
14465
14523
|
{
|
|
14466
14524
|
className: cn(
|
|
14467
|
-
"relative hidden h-11 items-center gap-4 px-4 py-3 md:flex",
|
|
14525
|
+
"relative hidden h-11 items-center gap-4 px-4 py-3 content-md:flex",
|
|
14468
14526
|
stickyHeader && `sticky z-10 bg-ods-bg ${stickyHeaderOffset || "top-0"}`,
|
|
14469
14527
|
className
|
|
14470
14528
|
),
|
|
@@ -14577,7 +14635,7 @@ function TableCell({ children, align = "left", className, width }) {
|
|
|
14577
14635
|
|
|
14578
14636
|
// src/components/ui/table/table-skeleton.tsx
|
|
14579
14637
|
import { Fragment as Fragment21, jsx as jsx124, jsxs as jsxs94 } from "react/jsx-runtime";
|
|
14580
|
-
var ROW_HEIGHT_DESKTOP2 = "h-[66px] md:h-[78px]";
|
|
14638
|
+
var ROW_HEIGHT_DESKTOP2 = "h-[66px] content-md:h-[78px]";
|
|
14581
14639
|
var COMPACT_ROW_MIN_HEIGHT = "min-h-[56px]";
|
|
14582
14640
|
var ROW_HEIGHT_MOBILE2 = "h-[66px]";
|
|
14583
14641
|
function TableCardSkeleton({
|
|
@@ -14602,7 +14660,7 @@ function TableCardSkeleton({
|
|
|
14602
14660
|
"div",
|
|
14603
14661
|
{
|
|
14604
14662
|
className: cn(
|
|
14605
|
-
"hidden items-center gap-4 px-4 md:flex",
|
|
14663
|
+
"hidden items-center gap-4 px-4 content-md:flex",
|
|
14606
14664
|
compact ? cn("py-2", COMPACT_ROW_MIN_HEIGHT) : cn("py-0", ROW_HEIGHT_DESKTOP2),
|
|
14607
14665
|
rowClassName
|
|
14608
14666
|
),
|
|
@@ -14623,7 +14681,7 @@ function TableCardSkeleton({
|
|
|
14623
14681
|
"div",
|
|
14624
14682
|
{
|
|
14625
14683
|
className: cn(
|
|
14626
|
-
"flex items-center justify-start gap-3 px-3 md:hidden",
|
|
14684
|
+
"flex items-center justify-start gap-3 px-3 content-md:hidden",
|
|
14627
14685
|
// Mirror the real row on mobile too: a compact row is
|
|
14628
14686
|
// content-sized with a floor, a normal row a fixed height.
|
|
14629
14687
|
// Hard-wiring ROW_HEIGHT_MOBILE made every COMPACT table jump
|
|
@@ -15336,7 +15394,7 @@ function QueryReportTable({
|
|
|
15336
15394
|
showExport && data.length > 0 && /* @__PURE__ */ jsx132(
|
|
15337
15395
|
Button,
|
|
15338
15396
|
{
|
|
15339
|
-
className: "bg-ods-card max-md:hidden",
|
|
15397
|
+
className: "bg-ods-card content-max-md:hidden",
|
|
15340
15398
|
variant: "outline",
|
|
15341
15399
|
leftIcon: /* @__PURE__ */ jsx132(Download02Icon, { size: 18, className: "text-ods-text-secondary" }),
|
|
15342
15400
|
onClick: handleExport,
|
|
@@ -15765,7 +15823,7 @@ function DataTableHeader({
|
|
|
15765
15823
|
"div",
|
|
15766
15824
|
{
|
|
15767
15825
|
className: cn(
|
|
15768
|
-
"hidden md:flex md:flex-col",
|
|
15826
|
+
"hidden content-md:flex content-md:flex-col",
|
|
15769
15827
|
stickyHeader && `sticky z-10 bg-ods-bg ${stickyHeaderOffset ?? "top-0"}`,
|
|
15770
15828
|
className
|
|
15771
15829
|
),
|
|
@@ -15783,7 +15841,7 @@ function DataTableHeader({
|
|
|
15783
15841
|
// the absolute placement. Safe as a `max-lg:` override: nothing
|
|
15784
15842
|
// else in this string sets margin or height, so it competes only
|
|
15785
15843
|
// with unprefixed defaults, never with a `md:`/`lg:` class.
|
|
15786
|
-
"max-lg:ml-auto max-lg:h-12 lg:absolute lg:inset-y-0 lg:right-[var(--spacing-system-mf)]"
|
|
15844
|
+
"content-max-lg:ml-auto content-max-lg:h-12 content-lg:absolute content-lg:inset-y-0 content-lg:right-[var(--spacing-system-mf)]"
|
|
15787
15845
|
)
|
|
15788
15846
|
),
|
|
15789
15847
|
children: rightSlot
|
|
@@ -15797,16 +15855,16 @@ function keepsCellOnTablet(meta) {
|
|
|
15797
15855
|
return Boolean(meta?.filter) || meta?.sortable === true || meta?.alwaysShowHeader === true;
|
|
15798
15856
|
}
|
|
15799
15857
|
var SHOW_FROM = {
|
|
15800
|
-
md: "md:flex",
|
|
15801
|
-
lg: "lg:flex",
|
|
15802
|
-
xl: "xl:flex",
|
|
15803
|
-
"2xl": "2xl:flex"
|
|
15858
|
+
md: "content-md:flex",
|
|
15859
|
+
lg: "content-lg:flex",
|
|
15860
|
+
xl: "content-xl:flex",
|
|
15861
|
+
"2xl": "content-2xl:flex"
|
|
15804
15862
|
};
|
|
15805
15863
|
var HIDE_FROM = {
|
|
15806
|
-
md: "md:hidden",
|
|
15807
|
-
lg: "lg:hidden",
|
|
15808
|
-
xl: "xl:hidden",
|
|
15809
|
-
"2xl": "2xl:hidden"
|
|
15864
|
+
md: "content-md:hidden",
|
|
15865
|
+
lg: "content-lg:hidden",
|
|
15866
|
+
xl: "content-xl:hidden",
|
|
15867
|
+
"2xl": "content-2xl:hidden"
|
|
15810
15868
|
};
|
|
15811
15869
|
var LG_STEP = BREAKPOINT_ORDER.indexOf("lg") + 1;
|
|
15812
15870
|
function getCellVisibilityClasses(keepOnTablet, hideAt) {
|
|
@@ -15863,7 +15921,7 @@ function HeaderCell({ header, sort, onSortChange }) {
|
|
|
15863
15921
|
//
|
|
15864
15922
|
// `[&&]` doubles the class in the selector (`.cls.cls`, specificity 0-2-0),
|
|
15865
15923
|
// and it is load-bearing: consumers routinely write a RESPONSIVE width
|
|
15866
|
-
// (`w-[80px] md:w-1/5` is the common shape), and between md and lg that
|
|
15924
|
+
// (`w-[80px] content-md:w-1/5` is the common shape), and between md and lg that
|
|
15867
15925
|
// `md:` rule and this `max-lg:` one both match. At equal specificity source
|
|
15868
15926
|
// order decides, and Tailwind emits the `max-lg` block BEFORE the `md` one
|
|
15869
15927
|
// — the same ordering documented for visibility above — so the tablet would
|
|
@@ -15874,7 +15932,7 @@ function HeaderCell({ header, sort, onSortChange }) {
|
|
|
15874
15932
|
// consumer that genuinely needs a tablet width can still take it back with a
|
|
15875
15933
|
// more specific rule — `!important` could only be answered with another one.
|
|
15876
15934
|
meta?.width || "min-w-0 flex-1",
|
|
15877
|
-
keepOnTablet && "max-lg:[&&]:w-auto max-lg:[&&]:flex-none max-lg:[&&]:basis-auto",
|
|
15935
|
+
keepOnTablet && "content-max-lg:[&&]:w-auto content-max-lg:[&&]:flex-none content-max-lg:[&&]:basis-auto",
|
|
15878
15936
|
meta?.headerClassName
|
|
15879
15937
|
),
|
|
15880
15938
|
children: filterTrigger ? (
|
|
@@ -15894,7 +15952,7 @@ function HeaderCell({ header, sort, onSortChange }) {
|
|
|
15894
15952
|
"flex h-12 w-full select-none items-center gap-[var(--spacing-system-xsf)] rounded-sm transition-colors duration-200",
|
|
15895
15953
|
// Same "always, neutralized below lg" shape as the width above.
|
|
15896
15954
|
alignJustify(align),
|
|
15897
|
-
keepOnTablet && "max-lg:justify-start",
|
|
15955
|
+
keepOnTablet && "content-max-lg:justify-start",
|
|
15898
15956
|
canSort && "group cursor-pointer"
|
|
15899
15957
|
),
|
|
15900
15958
|
onClick: canSort ? () => onSortChange?.(column.id) : void 0,
|
|
@@ -16231,7 +16289,7 @@ import {
|
|
|
16231
16289
|
import { jsx as jsx142, jsxs as jsxs109 } from "react/jsx-runtime";
|
|
16232
16290
|
var containerStyles = cn(
|
|
16233
16291
|
// Layout & spacing — matches lib Input component
|
|
16234
|
-
"flex h-11 cursor-text items-center gap-2 rounded-[6px] border px-3 md:h-12",
|
|
16292
|
+
"flex h-11 cursor-text items-center gap-2 rounded-[6px] border px-3 content-md:h-12",
|
|
16235
16293
|
"has-[:focus-visible]:outline-none",
|
|
16236
16294
|
"group",
|
|
16237
16295
|
"transition-colors duration-200",
|
|
@@ -16492,7 +16550,7 @@ function SearchInput({
|
|
|
16492
16550
|
setIsOpen(true);
|
|
16493
16551
|
},
|
|
16494
16552
|
children: [
|
|
16495
|
-
/* @__PURE__ */ jsx142("span", { className: "flex-shrink-0 text-ods-text-secondary transition-colors duration-200 group-has-[:focus]:text-ods-accent [&_svg]:size-4 md:[&_svg]:size-6", children: startAdornment !== void 0 ? startAdornment : /* @__PURE__ */ jsx142(SearchIcon, {}) }),
|
|
16553
|
+
/* @__PURE__ */ jsx142("span", { className: "flex-shrink-0 text-ods-text-secondary transition-colors duration-200 group-has-[:focus]:text-ods-accent [&_svg]:size-4 content-md:[&_svg]:size-6", children: startAdornment !== void 0 ? startAdornment : /* @__PURE__ */ jsx142(SearchIcon, {}) }),
|
|
16496
16554
|
/* @__PURE__ */ jsxs109("div", { ref: middleRef, className: "flex min-w-0 flex-1 items-center gap-2 overflow-hidden", children: [
|
|
16497
16555
|
visibleChips.map((chip) => /* @__PURE__ */ jsx142(
|
|
16498
16556
|
Tag,
|
|
@@ -16802,7 +16860,7 @@ function TagSearchInput({
|
|
|
16802
16860
|
"div",
|
|
16803
16861
|
{
|
|
16804
16862
|
className: cn(
|
|
16805
|
-
"flex h-11 cursor-text items-center rounded-[6px] border md:h-12",
|
|
16863
|
+
"flex h-11 cursor-text items-center rounded-[6px] border content-md:h-12",
|
|
16806
16864
|
"transition-colors duration-200",
|
|
16807
16865
|
"border-ods-border bg-ods-card",
|
|
16808
16866
|
"has-[:focus]:border-ods-accent",
|
|
@@ -16821,7 +16879,7 @@ function TagSearchInput({
|
|
|
16821
16879
|
if (!disabled) inputRef.current?.focus();
|
|
16822
16880
|
},
|
|
16823
16881
|
children: [
|
|
16824
|
-
/* @__PURE__ */ jsx144("div", { className: "flex shrink-0 items-center pl-3", children: /* @__PURE__ */ jsx144(SearchIcon, { className: "size-4 text-ods-text-secondary md:size-6" }) }),
|
|
16882
|
+
/* @__PURE__ */ jsx144("div", { className: "flex shrink-0 items-center pl-3", children: /* @__PURE__ */ jsx144(SearchIcon, { className: "size-4 text-ods-text-secondary content-md:size-6" }) }),
|
|
16825
16883
|
/* @__PURE__ */ jsxs111("div", { ref: middleRef, className: "flex min-w-0 flex-1 items-center gap-2 overflow-hidden px-2", children: [
|
|
16826
16884
|
visibleTags.map((tag) => /* @__PURE__ */ jsx144(
|
|
16827
16885
|
Tag,
|
|
@@ -16878,7 +16936,7 @@ function TagSearchInput({
|
|
|
16878
16936
|
onClick: handleClearAll,
|
|
16879
16937
|
className: "flex shrink-0 cursor-pointer items-center justify-center pr-3 transition-opacity hover:opacity-70",
|
|
16880
16938
|
"aria-label": "Clear all",
|
|
16881
|
-
children: /* @__PURE__ */ jsx144(XmarkCircleIcon, { className: "size-4 text-ods-text-secondary md:size-6" })
|
|
16939
|
+
children: /* @__PURE__ */ jsx144(XmarkCircleIcon, { className: "size-4 text-ods-text-secondary content-md:size-6" })
|
|
16882
16940
|
}
|
|
16883
16941
|
)
|
|
16884
16942
|
]
|
|
@@ -18087,7 +18145,7 @@ function TicketStatusConfigRow({
|
|
|
18087
18145
|
{
|
|
18088
18146
|
className: cn(
|
|
18089
18147
|
// Transparent background — only the border outlines the row.
|
|
18090
|
-
"flex w-full items-start gap-3 rounded-md border border-ods-border md:gap-[var(--spacing-system-m)]",
|
|
18148
|
+
"flex w-full items-start gap-3 rounded-md border border-ods-border content-md:gap-[var(--spacing-system-m)]",
|
|
18091
18149
|
"p-[var(--spacing-system-m)]",
|
|
18092
18150
|
// The dragged row travels over its siblings, so it needs an opaque back.
|
|
18093
18151
|
isDragging && "bg-ods-bg opacity-70 shadow-lg"
|
|
@@ -18097,7 +18155,7 @@ function TicketStatusConfigRow({
|
|
|
18097
18155
|
"div",
|
|
18098
18156
|
{
|
|
18099
18157
|
className: cn(
|
|
18100
|
-
"flex h-11 w-8 shrink-0 items-center justify-center text-ods-text-secondary md:h-12",
|
|
18158
|
+
"flex h-11 w-8 shrink-0 items-center justify-center text-ods-text-secondary content-md:h-12",
|
|
18101
18159
|
fieldRowOffset
|
|
18102
18160
|
),
|
|
18103
18161
|
children: isSystem ? /* @__PURE__ */ jsx150(DraggerIcon, { size: 24, "aria-hidden": true, className: "opacity-40" }) : /* @__PURE__ */ jsx150(
|
|
@@ -18116,13 +18174,13 @@ function TicketStatusConfigRow({
|
|
|
18116
18174
|
"div",
|
|
18117
18175
|
{
|
|
18118
18176
|
className: cn(
|
|
18119
|
-
"min-w-0 flex-1 items-start gap-x-3 gap-y-[var(--spacing-system-m)] md:gap-x-[var(--spacing-system-m)]",
|
|
18177
|
+
"min-w-0 flex-1 items-start gap-x-3 gap-y-[var(--spacing-system-m)] content-md:gap-x-[var(--spacing-system-m)]",
|
|
18120
18178
|
isSystem ? "flex flex-wrap" : (
|
|
18121
18179
|
// Mobile custom rows are a strict two-column grid, per the mock:
|
|
18122
18180
|
// fields (name / color / hex, all one width) on the left, the
|
|
18123
18181
|
// controls and the chip stacked in the right column. From md up
|
|
18124
18182
|
// the same children flow as a wrapping flex row.
|
|
18125
|
-
"grid grid-cols-[minmax(0,1fr)_auto] md:flex md:flex-wrap"
|
|
18183
|
+
"grid grid-cols-[minmax(0,1fr)_auto] content-md:flex content-md:flex-wrap"
|
|
18126
18184
|
)
|
|
18127
18185
|
),
|
|
18128
18186
|
children: [
|
|
@@ -18140,17 +18198,17 @@ function TicketStatusConfigRow({
|
|
|
18140
18198
|
}
|
|
18141
18199
|
)
|
|
18142
18200
|
] }),
|
|
18143
|
-
showColorPicker ? /* @__PURE__ */ jsxs116("div", { className: "order-3 flex min-w-0 grow basis-full flex-col gap-[var(--spacing-system-xxs)] md:order-2 md:basis-0", children: [
|
|
18201
|
+
showColorPicker ? /* @__PURE__ */ jsxs116("div", { className: "order-3 flex min-w-0 grow basis-full flex-col gap-[var(--spacing-system-xxs)] content-md:order-2 content-md:basis-0", children: [
|
|
18144
18202
|
/* @__PURE__ */ jsx150(Label, { variant: "large", children: "Color" }),
|
|
18145
18203
|
/* @__PURE__ */ jsx150(ColorPresetSelect, { value: color, presetKey, onChange: onColorChange }),
|
|
18146
18204
|
isCustomColor && /* @__PURE__ */ jsx150("div", { className: "mt-[var(--spacing-system-xxs)] flex min-w-0", children: /* @__PURE__ */ jsx150(ColorPickerInput, { value: color, onChange: (next) => onColorChange({ color: next, preset: void 0 }) }) })
|
|
18147
|
-
] }) : /* @__PURE__ */ jsx150("div", { "aria-hidden": true, className: "hidden min-w-0 grow basis-0 lg:order-2 lg:block" }),
|
|
18148
|
-
/* @__PURE__ */ jsx150("div", { "aria-hidden": true, className: "hidden min-w-0 grow basis-0 lg:order-3 lg:block" }),
|
|
18205
|
+
] }) : /* @__PURE__ */ jsx150("div", { "aria-hidden": true, className: "hidden min-w-0 grow basis-0 content-lg:order-2 content-lg:block" }),
|
|
18206
|
+
/* @__PURE__ */ jsx150("div", { "aria-hidden": true, className: "hidden min-w-0 grow basis-0 content-lg:order-3 content-lg:block" }),
|
|
18149
18207
|
isSystem ? /* @__PURE__ */ jsx150(
|
|
18150
18208
|
"div",
|
|
18151
18209
|
{
|
|
18152
18210
|
className: cn(
|
|
18153
|
-
"order-2 flex h-11 min-w-0 grow basis-0 items-center justify-end md:h-12 lg:order-4",
|
|
18211
|
+
"order-2 flex h-11 min-w-0 grow basis-0 items-center justify-end content-md:h-12 content-lg:order-4",
|
|
18154
18212
|
fieldRowOffset
|
|
18155
18213
|
),
|
|
18156
18214
|
children: chip
|
|
@@ -18160,26 +18218,26 @@ function TicketStatusConfigRow({
|
|
|
18160
18218
|
"div",
|
|
18161
18219
|
{
|
|
18162
18220
|
className: cn(
|
|
18163
|
-
"hidden h-12 min-w-0 grow basis-0 items-center justify-end lg:order-4 lg:flex",
|
|
18221
|
+
"hidden h-12 min-w-0 grow basis-0 items-center justify-end content-lg:order-4 content-lg:flex",
|
|
18164
18222
|
fieldRowOffset
|
|
18165
18223
|
),
|
|
18166
18224
|
children: chip
|
|
18167
18225
|
}
|
|
18168
18226
|
),
|
|
18169
|
-
/* @__PURE__ */ jsx150("div", { className: "hidden min-w-0 basis-full items-center justify-end md:order-4 md:flex lg:hidden", children: chip }),
|
|
18170
|
-
/* @__PURE__ */ jsx150("div", { className: cn("order-4 flex h-11 min-w-0 items-center md:hidden", fieldRowOffset), children: chip })
|
|
18227
|
+
/* @__PURE__ */ jsx150("div", { className: "hidden min-w-0 basis-full items-center justify-end content-md:order-4 content-md:flex content-lg:hidden", children: chip }),
|
|
18228
|
+
/* @__PURE__ */ jsx150("div", { className: cn("order-4 flex h-11 min-w-0 items-center content-md:hidden", fieldRowOffset), children: chip })
|
|
18171
18229
|
] }),
|
|
18172
18230
|
/* @__PURE__ */ jsxs116(
|
|
18173
18231
|
"div",
|
|
18174
18232
|
{
|
|
18175
18233
|
className: cn(
|
|
18176
|
-
"flex h-11 shrink-0 items-center justify-end gap-[var(--spacing-system-s)] md:h-12 lg:order-5",
|
|
18177
|
-
isSystem ? "order-3" : "order-2 md:order-3",
|
|
18234
|
+
"flex h-11 shrink-0 items-center justify-end gap-[var(--spacing-system-s)] content-md:h-12 content-lg:order-5",
|
|
18235
|
+
isSystem ? "order-3" : "order-2 content-md:order-3",
|
|
18178
18236
|
fieldRowOffset
|
|
18179
18237
|
),
|
|
18180
18238
|
children: [
|
|
18181
18239
|
!isSystem && moveButtons,
|
|
18182
|
-
isSystem ? /* @__PURE__ */ jsx150("div", { className: "flex w-11 justify-center md:w-12", children: /* @__PURE__ */ jsx150(TouchFriendlyTooltip, { content: systemTooltip, children: /* @__PURE__ */ jsx150(
|
|
18240
|
+
isSystem ? /* @__PURE__ */ jsx150("div", { className: "flex w-11 justify-center content-md:w-12", children: /* @__PURE__ */ jsx150(TouchFriendlyTooltip, { content: systemTooltip, children: /* @__PURE__ */ jsx150(
|
|
18183
18241
|
"button",
|
|
18184
18242
|
{
|
|
18185
18243
|
type: "button",
|
|
@@ -18196,7 +18254,7 @@ function TicketStatusConfigRow({
|
|
|
18196
18254
|
"aria-label": "Delete status",
|
|
18197
18255
|
disabled: deleteDisabled,
|
|
18198
18256
|
onClick: deleteDisabled ? void 0 : onDelete,
|
|
18199
|
-
className: cn("size-11 md:size-12", deleteDisabled && "pointer-events-none"),
|
|
18257
|
+
className: cn("size-11 content-md:size-12", deleteDisabled && "pointer-events-none"),
|
|
18200
18258
|
children: /* @__PURE__ */ jsx150(TrashIcon, { className: "text-ods-error" })
|
|
18201
18259
|
}
|
|
18202
18260
|
) }) })
|
|
@@ -18226,7 +18284,7 @@ var SKELETON_COLUMNS = 6;
|
|
|
18226
18284
|
function TestResultsSkeleton() {
|
|
18227
18285
|
return /* @__PURE__ */ jsx151(ScrollShadow, { axis: "horizontal", children: /* @__PURE__ */ jsxs117("div", { className: "flex w-max min-w-full flex-col", children: [
|
|
18228
18286
|
/* @__PURE__ */ jsx151("div", { className: "flex items-center gap-[var(--spacing-system-mf)] px-[var(--spacing-system-mf)]", children: Array.from({ length: SKELETON_COLUMNS }).map((_, i) => /* @__PURE__ */ jsx151("div", { className: "flex h-12 w-[160px] shrink-0 items-center", children: /* @__PURE__ */ jsx151("div", { className: "h-4 w-3/4 animate-pulse rounded-sm bg-ods-bg-surface" }) }, `skeleton-header-${i}`)) }),
|
|
18229
|
-
/* @__PURE__ */ jsx151("div", { className: "animate-pulse overflow-hidden rounded-[6px] border border-ods-border bg-ods-card", children: /* @__PURE__ */ jsx151("div", { className: "flex h-[66px] items-center gap-[var(--spacing-system-mf)] px-[var(--spacing-system-mf)] md:h-[78px]", children: Array.from({ length: SKELETON_COLUMNS }).map((_, i) => /* @__PURE__ */ jsx151("div", { className: "w-[160px] shrink-0", children: /* @__PURE__ */ jsx151("div", { className: "h-5 w-3/4 rounded-sm bg-ods-bg-surface" }) }, `skeleton-cell-${i}`)) }) })
|
|
18287
|
+
/* @__PURE__ */ jsx151("div", { className: "animate-pulse overflow-hidden rounded-[6px] border border-ods-border bg-ods-card", children: /* @__PURE__ */ jsx151("div", { className: "flex h-[66px] items-center gap-[var(--spacing-system-mf)] px-[var(--spacing-system-mf)] content-md:h-[78px]", children: Array.from({ length: SKELETON_COLUMNS }).map((_, i) => /* @__PURE__ */ jsx151("div", { className: "w-[160px] shrink-0", children: /* @__PURE__ */ jsx151("div", { className: "h-5 w-3/4 rounded-sm bg-ods-bg-surface" }) }, `skeleton-cell-${i}`)) }) })
|
|
18230
18288
|
] }) });
|
|
18231
18289
|
}
|
|
18232
18290
|
function TestResultsTable({ rows, loading }) {
|
|
@@ -18606,7 +18664,7 @@ function TicketNotesSection({
|
|
|
18606
18664
|
onClick: handleSend,
|
|
18607
18665
|
disabled: !noteText.trim() || isAddingNote,
|
|
18608
18666
|
className: cn(
|
|
18609
|
-
"flex h-11 w-11 shrink-0 items-center justify-center rounded-[6px] md:h-12 md:w-12",
|
|
18667
|
+
"flex h-11 w-11 shrink-0 items-center justify-center rounded-[6px] content-md:h-12 content-md:w-12",
|
|
18610
18668
|
"border border-ods-border bg-ods-card",
|
|
18611
18669
|
"transition-colors hover:bg-ods-bg-hover",
|
|
18612
18670
|
"disabled:cursor-not-allowed disabled:opacity-50"
|
|
@@ -18670,7 +18728,7 @@ function TicketInfoSection({
|
|
|
18670
18728
|
isAddingNote
|
|
18671
18729
|
}) {
|
|
18672
18730
|
return /* @__PURE__ */ jsxs122("div", { className: cn("overflow-hidden rounded-[6px] border border-ods-border", className), children: [
|
|
18673
|
-
/* @__PURE__ */ jsxs122("div", { className: "grid grid-cols-2 items-center gap-4 border-b border-ods-border bg-ods-card px-4 py-3 lg:grid-cols-[1fr_1fr_1fr_auto]", children: [
|
|
18731
|
+
/* @__PURE__ */ jsxs122("div", { className: "grid grid-cols-2 items-center gap-4 border-b border-ods-border bg-ods-card px-4 py-3 content-lg:grid-cols-[1fr_1fr_1fr_auto]", children: [
|
|
18674
18732
|
/* @__PURE__ */ jsxs122("div", { className: "flex min-w-0 items-center gap-2", children: [
|
|
18675
18733
|
/* @__PURE__ */ jsx156(
|
|
18676
18734
|
SquareAvatar,
|
|
@@ -21093,7 +21151,7 @@ function ProviderButton({ provider, onClick, disabled = false, loading = false }
|
|
|
21093
21151
|
variant: "outline",
|
|
21094
21152
|
size: "default",
|
|
21095
21153
|
leftIcon: isLoading ? null : /* @__PURE__ */ jsx191(IconComponent, { className: "h-5 w-5" }),
|
|
21096
|
-
className: `h-[56px] w-full !font-bold !text-h6 hover:bg-ods-bg-hover md:!w-full ${isLoading ? "cursor-wait" : "cursor-pointer"} `,
|
|
21154
|
+
className: `h-[56px] w-full !font-bold !text-h6 hover:bg-ods-bg-hover content-md:!w-full ${isLoading ? "cursor-wait" : "cursor-pointer"} `,
|
|
21097
21155
|
"aria-label": config.displayName,
|
|
21098
21156
|
children: isLoading ? "Signing in..." : config.displayName
|
|
21099
21157
|
}
|
|
@@ -21462,7 +21520,7 @@ function CommandBox({
|
|
|
21462
21520
|
}
|
|
21463
21521
|
)
|
|
21464
21522
|
] }) : commandText,
|
|
21465
|
-
(primaryAction || secondaryAction) && /* @__PURE__ */ jsxs153("div", { className: "mt-4 flex flex-col gap-3 md:flex-row md:justify-end", children: [
|
|
21523
|
+
(primaryAction || secondaryAction) && /* @__PURE__ */ jsxs153("div", { className: "mt-4 flex flex-col gap-3 content-md:flex-row content-md:justify-end", children: [
|
|
21466
21524
|
secondaryAction && /* @__PURE__ */ jsx196(
|
|
21467
21525
|
Button,
|
|
21468
21526
|
{
|
|
@@ -21471,7 +21529,7 @@ function CommandBox({
|
|
|
21471
21529
|
onClick: secondaryAction.onClick,
|
|
21472
21530
|
disabled: secondaryAction.disabled,
|
|
21473
21531
|
loading: secondaryAction.loading,
|
|
21474
|
-
className: "w-full md:w-auto",
|
|
21532
|
+
className: "w-full content-md:w-auto",
|
|
21475
21533
|
children: secondaryAction.label
|
|
21476
21534
|
}
|
|
21477
21535
|
),
|
|
@@ -21483,7 +21541,7 @@ function CommandBox({
|
|
|
21483
21541
|
onClick: primaryAction.onClick,
|
|
21484
21542
|
disabled: primaryAction.disabled,
|
|
21485
21543
|
loading: primaryAction.loading,
|
|
21486
|
-
className: "w-full md:w-auto",
|
|
21544
|
+
className: "w-full content-md:w-auto",
|
|
21487
21545
|
children: primaryAction.label
|
|
21488
21546
|
}
|
|
21489
21547
|
)
|
|
@@ -21584,7 +21642,7 @@ var SectionButton = ({
|
|
|
21584
21642
|
isActive && activeButtonClassName,
|
|
21585
21643
|
layout === "vertical" ? (
|
|
21586
21644
|
// Strip below lg: a compact, non-shrinking tab. Side list from lg: the full card.
|
|
21587
|
-
"!h-auto !min-h-12 shrink-0 !px-[var(--spacing-system-mf)] !py-[var(--spacing-system-sf)] lg:!min-h-[var(--section-min-height)] lg:shrink lg:!py-[var(--spacing-system-mf)]"
|
|
21645
|
+
"!h-auto !min-h-12 shrink-0 !px-[var(--spacing-system-mf)] !py-[var(--spacing-system-sf)] content-lg:!min-h-[var(--section-min-height)] content-lg:shrink content-lg:!py-[var(--spacing-system-mf)]"
|
|
21588
21646
|
) : "!h-auto !min-h-[76px] !whitespace-normal !text-left"
|
|
21589
21647
|
),
|
|
21590
21648
|
style: {
|
|
@@ -21604,7 +21662,16 @@ var SectionButton = ({
|
|
|
21604
21662
|
section.number && /* @__PURE__ */ jsx198("span", { className: cn(numberClasses, "shrink-0 text-h3"), children: section.number }),
|
|
21605
21663
|
/* @__PURE__ */ jsxs155("div", { className: "min-w-0 flex-1 text-left", children: [
|
|
21606
21664
|
/* @__PURE__ */ jsxs155("div", { className: "flex flex-wrap items-center gap-2", children: [
|
|
21607
|
-
/* @__PURE__ */ jsx198(
|
|
21665
|
+
/* @__PURE__ */ jsx198(
|
|
21666
|
+
"p",
|
|
21667
|
+
{
|
|
21668
|
+
className: cn(
|
|
21669
|
+
titleClasses,
|
|
21670
|
+
"whitespace-nowrap text-h4 content-lg:whitespace-normal content-lg:break-words"
|
|
21671
|
+
),
|
|
21672
|
+
children: section.title
|
|
21673
|
+
}
|
|
21674
|
+
),
|
|
21608
21675
|
section.badge && /* @__PURE__ */ jsx198(
|
|
21609
21676
|
StatusBadge,
|
|
21610
21677
|
{
|
|
@@ -21614,7 +21681,7 @@ var SectionButton = ({
|
|
|
21614
21681
|
}
|
|
21615
21682
|
)
|
|
21616
21683
|
] }),
|
|
21617
|
-
section.description && showDescription && /* @__PURE__ */ jsx198("p", { className: cn(subtitleClasses, "mt-1 hidden whitespace-normal break-words text-h6 lg:block"), children: section.description })
|
|
21684
|
+
section.description && showDescription && /* @__PURE__ */ jsx198("p", { className: cn(subtitleClasses, "mt-1 hidden whitespace-normal break-words text-h6 content-lg:block"), children: section.description })
|
|
21618
21685
|
] })
|
|
21619
21686
|
] })
|
|
21620
21687
|
) : (
|
|
@@ -21654,7 +21721,7 @@ var SectionSelector = ({
|
|
|
21654
21721
|
showDescription = true
|
|
21655
21722
|
}) => {
|
|
21656
21723
|
const containerClasses = cn(
|
|
21657
|
-
layout === "wrap" ? "flex flex-wrap gap-2 md:gap-4 lg:gap-6" : "flex flex-row gap-[var(--spacing-system-xsf)] overflow-x-auto [scrollbar-width:none] lg:flex-col lg:overflow-visible [&::-webkit-scrollbar]:hidden",
|
|
21724
|
+
layout === "wrap" ? "flex flex-wrap gap-2 content-md:gap-4 content-lg:gap-6" : "flex flex-row gap-[var(--spacing-system-xsf)] overflow-x-auto [scrollbar-width:none] content-lg:flex-col content-lg:overflow-visible [&::-webkit-scrollbar]:hidden",
|
|
21658
21725
|
className
|
|
21659
21726
|
);
|
|
21660
21727
|
const listRef = useRef29(null);
|
|
@@ -21687,7 +21754,7 @@ var SectionSelector = ({
|
|
|
21687
21754
|
case "full":
|
|
21688
21755
|
return "w-full";
|
|
21689
21756
|
case "responsive":
|
|
21690
|
-
return "w-full md:w-[calc(50%-8px)] lg:w-auto";
|
|
21757
|
+
return "w-full content-md:w-[calc(50%-8px)] content-lg:w-auto";
|
|
21691
21758
|
default:
|
|
21692
21759
|
return "";
|
|
21693
21760
|
}
|
|
@@ -21847,7 +21914,10 @@ function UnifiedUI({ state, handlers, config, iframeRef }) {
|
|
|
21847
21914
|
return /* @__PURE__ */ jsxs156(
|
|
21848
21915
|
"div",
|
|
21849
21916
|
{
|
|
21850
|
-
className: cn(
|
|
21917
|
+
className: cn(
|
|
21918
|
+
config.hideControls ? "" : "grid grid-cols-1 gap-10 content-lg:grid-cols-[296px_1fr]",
|
|
21919
|
+
config.className
|
|
21920
|
+
),
|
|
21851
21921
|
children: [
|
|
21852
21922
|
showSectionSelector && !config.hideControls && /* @__PURE__ */ jsx199("div", { style: { zIndex: 10 }, children: /* @__PURE__ */ jsx199(
|
|
21853
21923
|
SectionSelector,
|
|
@@ -22905,90 +22975,96 @@ function MediaGalleryManager({
|
|
|
22905
22975
|
] }),
|
|
22906
22976
|
/* @__PURE__ */ jsx204("p", { className: "text-ods-text-secondary text-h6", children: "Drag to reorder" })
|
|
22907
22977
|
] }),
|
|
22908
|
-
/* @__PURE__ */ jsxs159(
|
|
22909
|
-
|
|
22910
|
-
|
|
22911
|
-
|
|
22912
|
-
|
|
22913
|
-
|
|
22914
|
-
|
|
22915
|
-
|
|
22916
|
-
|
|
22917
|
-
|
|
22918
|
-
|
|
22919
|
-
|
|
22920
|
-
|
|
22921
|
-
|
|
22922
|
-
|
|
22923
|
-
|
|
22924
|
-
|
|
22925
|
-
|
|
22926
|
-
|
|
22927
|
-
"aria-label": `Remove ${item.title || "media"}`,
|
|
22928
|
-
onClick: () => onChange(media.filter((_, i) => i !== index)),
|
|
22929
|
-
className: "h-8 w-8 border-ods-error bg-ods-error p-0 hover:bg-ods-error-hover",
|
|
22930
|
-
children: /* @__PURE__ */ jsx204(Trash23, { className: "h-4 w-4 text-ods-text-on-dark" })
|
|
22931
|
-
}
|
|
22932
|
-
) }),
|
|
22933
|
-
/* @__PURE__ */ jsx204("div", { className: "relative aspect-video overflow-hidden rounded-lg bg-ods-bg", children: isVideoItem(item) ? (
|
|
22934
|
-
// <Video> SSOT (MuxPlayer): plays Mux HLS and MP4 alike; fit="cover" crops to the cell.
|
|
22935
|
-
/* @__PURE__ */ jsx204(Video, { kind: "file", url: item.media_url, fit: "cover", className: "h-full w-full" })
|
|
22936
|
-
) : /* @__PURE__ */ jsx204(
|
|
22937
|
-
next_image_default,
|
|
22938
|
-
{
|
|
22939
|
-
src: item.media_url,
|
|
22940
|
-
alt: item.title || "Media",
|
|
22941
|
-
fill: true,
|
|
22942
|
-
className: "object-cover",
|
|
22943
|
-
sizes: "(max-width: 768px) 100vw, (max-width: 1200px) 50vw, 33vw"
|
|
22944
|
-
}
|
|
22945
|
-
) }),
|
|
22946
|
-
editableDetails ? /* @__PURE__ */ jsxs159("div", { className: "space-y-2 p-3", children: [
|
|
22947
|
-
/* @__PURE__ */ jsxs159("div", { className: "flex items-center gap-2", children: [
|
|
22948
|
-
isVideoItem(item) ? /* @__PURE__ */ jsx204(VideoIcon, { className: "h-5 w-5 text-ods-text-secondary" }) : /* @__PURE__ */ jsx204(ImageIcon2, { className: "h-5 w-5 text-ods-text-secondary" }),
|
|
22949
|
-
/* @__PURE__ */ jsxs159(
|
|
22950
|
-
Select,
|
|
22978
|
+
/* @__PURE__ */ jsxs159(
|
|
22979
|
+
"div",
|
|
22980
|
+
{
|
|
22981
|
+
className: cn("grid grid-cols-1 gap-4 content-md:grid-cols-2", columns === 3 && "content-lg:grid-cols-3"),
|
|
22982
|
+
children: [
|
|
22983
|
+
media.map((item, index) => /* @__PURE__ */ jsxs159(
|
|
22984
|
+
Card,
|
|
22985
|
+
{
|
|
22986
|
+
className: "group relative border-ods-border transition-colors hover:border-ods-accent/30",
|
|
22987
|
+
draggable: true,
|
|
22988
|
+
onDragStart: () => setDraggedIndex(index),
|
|
22989
|
+
onDragOver: (event) => {
|
|
22990
|
+
if (!isFileDrag(event)) event.preventDefault();
|
|
22991
|
+
},
|
|
22992
|
+
onDrop: (event) => handleTileDrop(event, index),
|
|
22993
|
+
children: [
|
|
22994
|
+
/* @__PURE__ */ jsx204("div", { className: "absolute left-2 top-2 z-10 cursor-move opacity-0 transition-opacity group-hover:opacity-100", children: /* @__PURE__ */ jsx204(GripVertical, { className: "h-4 w-4 text-ods-text-on-dark drop-shadow" }) }),
|
|
22995
|
+
/* @__PURE__ */ jsx204("div", { className: "absolute right-2 top-2 z-10 opacity-0 transition-opacity group-hover:opacity-100", children: /* @__PURE__ */ jsx204(
|
|
22996
|
+
Button,
|
|
22951
22997
|
{
|
|
22952
|
-
|
|
22953
|
-
|
|
22954
|
-
|
|
22955
|
-
|
|
22956
|
-
|
|
22957
|
-
|
|
22958
|
-
|
|
22959
|
-
/* @__PURE__ */ jsx204(SelectItem, { value: "screenshot", children: "Screenshot" }),
|
|
22960
|
-
/* @__PURE__ */ jsx204(SelectItem, { value: "demo", children: "Demo" })
|
|
22961
|
-
] })
|
|
22962
|
-
]
|
|
22998
|
+
type: "button",
|
|
22999
|
+
variant: "outline",
|
|
23000
|
+
size: "small-legacy",
|
|
23001
|
+
"aria-label": `Remove ${item.title || "media"}`,
|
|
23002
|
+
onClick: () => onChange(media.filter((_, i) => i !== index)),
|
|
23003
|
+
className: "h-8 w-8 border-ods-error bg-ods-error p-0 hover:bg-ods-error-hover",
|
|
23004
|
+
children: /* @__PURE__ */ jsx204(Trash23, { className: "h-4 w-4 text-ods-text-on-dark" })
|
|
22963
23005
|
}
|
|
22964
|
-
)
|
|
22965
|
-
|
|
22966
|
-
|
|
22967
|
-
|
|
22968
|
-
|
|
22969
|
-
|
|
22970
|
-
|
|
22971
|
-
|
|
22972
|
-
|
|
22973
|
-
|
|
22974
|
-
|
|
22975
|
-
|
|
22976
|
-
|
|
22977
|
-
|
|
22978
|
-
|
|
22979
|
-
|
|
22980
|
-
|
|
22981
|
-
|
|
22982
|
-
|
|
22983
|
-
|
|
22984
|
-
|
|
22985
|
-
|
|
22986
|
-
|
|
22987
|
-
|
|
22988
|
-
|
|
22989
|
-
|
|
22990
|
-
|
|
22991
|
-
|
|
23006
|
+
) }),
|
|
23007
|
+
/* @__PURE__ */ jsx204("div", { className: "relative aspect-video overflow-hidden rounded-lg bg-ods-bg", children: isVideoItem(item) ? (
|
|
23008
|
+
// <Video> SSOT (MuxPlayer): plays Mux HLS and MP4 alike; fit="cover" crops to the cell.
|
|
23009
|
+
/* @__PURE__ */ jsx204(Video, { kind: "file", url: item.media_url, fit: "cover", className: "h-full w-full" })
|
|
23010
|
+
) : /* @__PURE__ */ jsx204(
|
|
23011
|
+
next_image_default,
|
|
23012
|
+
{
|
|
23013
|
+
src: item.media_url,
|
|
23014
|
+
alt: item.title || "Media",
|
|
23015
|
+
fill: true,
|
|
23016
|
+
className: "object-cover",
|
|
23017
|
+
sizes: "(max-width: 768px) 100vw, (max-width: 1200px) 50vw, 33vw"
|
|
23018
|
+
}
|
|
23019
|
+
) }),
|
|
23020
|
+
editableDetails ? /* @__PURE__ */ jsxs159("div", { className: "space-y-2 p-3", children: [
|
|
23021
|
+
/* @__PURE__ */ jsxs159("div", { className: "flex items-center gap-2", children: [
|
|
23022
|
+
isVideoItem(item) ? /* @__PURE__ */ jsx204(VideoIcon, { className: "h-5 w-5 text-ods-text-secondary" }) : /* @__PURE__ */ jsx204(ImageIcon2, { className: "h-5 w-5 text-ods-text-secondary" }),
|
|
23023
|
+
/* @__PURE__ */ jsxs159(
|
|
23024
|
+
Select,
|
|
23025
|
+
{
|
|
23026
|
+
value: item.media_type,
|
|
23027
|
+
onValueChange: (value) => update(index, { media_type: value }),
|
|
23028
|
+
children: [
|
|
23029
|
+
/* @__PURE__ */ jsx204(SelectTrigger, { className: "h-8 bg-ods-bg text-h6", children: /* @__PURE__ */ jsx204(SelectValue, {}) }),
|
|
23030
|
+
/* @__PURE__ */ jsxs159(SelectContent, { className: "bg-ods-card", children: [
|
|
23031
|
+
/* @__PURE__ */ jsx204(SelectItem, { value: "image", children: "Image" }),
|
|
23032
|
+
/* @__PURE__ */ jsx204(SelectItem, { value: "video", children: "Video" }),
|
|
23033
|
+
/* @__PURE__ */ jsx204(SelectItem, { value: "screenshot", children: "Screenshot" }),
|
|
23034
|
+
/* @__PURE__ */ jsx204(SelectItem, { value: "demo", children: "Demo" })
|
|
23035
|
+
] })
|
|
23036
|
+
]
|
|
23037
|
+
}
|
|
23038
|
+
)
|
|
23039
|
+
] }),
|
|
23040
|
+
/* @__PURE__ */ jsx204(
|
|
23041
|
+
Input,
|
|
23042
|
+
{
|
|
23043
|
+
placeholder: "Title (optional)",
|
|
23044
|
+
value: item.title ?? "",
|
|
23045
|
+
onChange: (event) => update(index, { title: event.target.value }),
|
|
23046
|
+
onKeyDown: (event) => event.key === "Enter" && event.preventDefault(),
|
|
23047
|
+
className: "h-8 bg-ods-bg text-h6"
|
|
23048
|
+
}
|
|
23049
|
+
)
|
|
23050
|
+
] }) : /* @__PURE__ */ jsxs159("div", { className: "p-3", children: [
|
|
23051
|
+
/* @__PURE__ */ jsxs159("div", { className: "mb-1 flex items-center gap-2", children: [
|
|
23052
|
+
isVideoItem(item) ? /* @__PURE__ */ jsx204(VideoIcon, { className: "h-4 w-4 text-ods-text-secondary" }) : /* @__PURE__ */ jsx204(ImageIcon2, { className: "h-4 w-4 text-ods-text-secondary" }),
|
|
23053
|
+
/* @__PURE__ */ jsx204("span", { className: "capitalize text-ods-text-primary text-h6", children: item.media_type })
|
|
23054
|
+
] }),
|
|
23055
|
+
item.title && /* @__PURE__ */ jsx204("p", { className: "truncate text-ods-text-secondary text-h6", children: item.title })
|
|
23056
|
+
] })
|
|
23057
|
+
]
|
|
23058
|
+
},
|
|
23059
|
+
item.id ?? `${item.media_url}-${index}`
|
|
23060
|
+
)),
|
|
23061
|
+
pending.map((name, index) => /* @__PURE__ */ jsxs159(Card, { className: "border-ods-border", "aria-busy": "true", children: [
|
|
23062
|
+
/* @__PURE__ */ jsx204("div", { className: "flex aspect-video items-center justify-center rounded-lg bg-ods-bg", children: /* @__PURE__ */ jsx204(Loader26, { className: "h-8 w-8 animate-spin text-ods-accent" }) }),
|
|
23063
|
+
/* @__PURE__ */ jsx204("p", { className: "truncate p-3 text-ods-text-secondary text-h6", children: name })
|
|
23064
|
+
] }, `pending-${name}-${index}`))
|
|
23065
|
+
]
|
|
23066
|
+
}
|
|
23067
|
+
)
|
|
22992
23068
|
] })
|
|
22993
23069
|
] });
|
|
22994
23070
|
}
|
|
@@ -23100,7 +23176,7 @@ var ParallaxImageShowcase = ({
|
|
|
23100
23176
|
const centerImage = images.find((img) => img.position === "center");
|
|
23101
23177
|
const rightImage = images.find((img) => img.position === "right");
|
|
23102
23178
|
if (layout === "grid") {
|
|
23103
|
-
return /* @__PURE__ */ jsx207("div", { ref: componentRef, className: `relative flex h-full w-full items-center ${className}`, children: /* @__PURE__ */ jsxs161("div", { className: "grid w-full grid-cols-1 gap-4 md:grid-cols-3", children: [
|
|
23179
|
+
return /* @__PURE__ */ jsx207("div", { ref: componentRef, className: `relative flex h-full w-full items-center ${className}`, children: /* @__PURE__ */ jsxs161("div", { className: "grid w-full grid-cols-1 gap-4 content-md:grid-cols-3", children: [
|
|
23104
23180
|
leftImage && /* @__PURE__ */ jsx207(
|
|
23105
23181
|
motion.div,
|
|
23106
23182
|
{
|
|
@@ -23173,23 +23249,30 @@ var ParallaxImageShowcase = ({
|
|
|
23173
23249
|
return /* @__PURE__ */ jsxs161("div", { ref: componentRef, className: `relative h-full w-full overflow-hidden ${className}`, children: [
|
|
23174
23250
|
logoElement && /* @__PURE__ */ jsx207("div", { className: "absolute left-1/2 top-4 z-30 -translate-x-1/2 scale-50", children: logoElement }),
|
|
23175
23251
|
/* @__PURE__ */ jsxs161("div", { className: "absolute inset-x-0 top-32 h-80", children: [
|
|
23176
|
-
leftImage && /* @__PURE__ */ jsxs161(
|
|
23177
|
-
|
|
23178
|
-
|
|
23179
|
-
|
|
23180
|
-
|
|
23181
|
-
|
|
23182
|
-
|
|
23183
|
-
|
|
23184
|
-
|
|
23185
|
-
|
|
23186
|
-
|
|
23187
|
-
|
|
23188
|
-
|
|
23252
|
+
leftImage && /* @__PURE__ */ jsxs161(
|
|
23253
|
+
motion.div,
|
|
23254
|
+
{
|
|
23255
|
+
className: "absolute left-20 z-10 h-full w-full content-lg:w-1/2",
|
|
23256
|
+
style: { x, y, rotate },
|
|
23257
|
+
children: [
|
|
23258
|
+
/* @__PURE__ */ jsx207(
|
|
23259
|
+
next_image_default,
|
|
23260
|
+
{
|
|
23261
|
+
src: leftImage.src,
|
|
23262
|
+
alt: leftImage.alt,
|
|
23263
|
+
fill: true,
|
|
23264
|
+
sizes: "50vw",
|
|
23265
|
+
className: "ods-card/50 border border-ods-border object-cover object-[left_top]"
|
|
23266
|
+
}
|
|
23267
|
+
),
|
|
23268
|
+
/* @__PURE__ */ jsx207("div", { className: "absolute inset-0 shadow-2xl" })
|
|
23269
|
+
]
|
|
23270
|
+
}
|
|
23271
|
+
),
|
|
23189
23272
|
centerImage && /* @__PURE__ */ jsxs161(
|
|
23190
23273
|
motion.div,
|
|
23191
23274
|
{
|
|
23192
|
-
className: "absolute right-20 top-20 z-20 h-full w-full lg:w-1/2",
|
|
23275
|
+
className: "absolute right-20 top-20 z-20 h-full w-full content-lg:w-1/2",
|
|
23193
23276
|
style: { x, y, rotate },
|
|
23194
23277
|
children: [
|
|
23195
23278
|
/* @__PURE__ */ jsx207(
|
|
@@ -23213,7 +23296,7 @@ var ParallaxImageShowcase = ({
|
|
|
23213
23296
|
rightImage && /* @__PURE__ */ jsx207(
|
|
23214
23297
|
motion.div,
|
|
23215
23298
|
{
|
|
23216
|
-
className: "absolute right-[5%] top-[5%] z-[1] h-[60%] w-[80%] lg:right-[-15%] lg:top-[-10%] lg:h-[85%] lg:w-[120%]",
|
|
23299
|
+
className: "absolute right-[5%] top-[5%] z-[1] h-[60%] w-[80%] content-lg:right-[-15%] content-lg:top-[-10%] content-lg:h-[85%] content-lg:w-[120%]",
|
|
23217
23300
|
style: {
|
|
23218
23301
|
x,
|
|
23219
23302
|
y,
|
|
@@ -23234,7 +23317,7 @@ var ParallaxImageShowcase = ({
|
|
|
23234
23317
|
centerImage && /* @__PURE__ */ jsx207(
|
|
23235
23318
|
motion.div,
|
|
23236
23319
|
{
|
|
23237
|
-
className: "absolute bottom-[10%] right-[0%] z-[2] h-[55%] w-[75%] lg:bottom-[-15%] lg:right-[-20%] lg:h-[80%] lg:w-[100%]",
|
|
23320
|
+
className: "absolute bottom-[10%] right-[0%] z-[2] h-[55%] w-[75%] content-lg:bottom-[-15%] content-lg:right-[-20%] content-lg:h-[80%] content-lg:w-[100%]",
|
|
23238
23321
|
style: {
|
|
23239
23322
|
x,
|
|
23240
23323
|
y,
|
|
@@ -23255,7 +23338,7 @@ var ParallaxImageShowcase = ({
|
|
|
23255
23338
|
leftImage && /* @__PURE__ */ jsx207(
|
|
23256
23339
|
motion.div,
|
|
23257
23340
|
{
|
|
23258
|
-
className: "absolute left-[-5%] top-[10%] z-[3] h-[65%] w-[85%] lg:left-[-25%] lg:top-[0%] lg:h-[90%] lg:w-[110%]",
|
|
23341
|
+
className: "absolute left-[-5%] top-[10%] z-[3] h-[65%] w-[85%] content-lg:left-[-25%] content-lg:top-[0%] content-lg:h-[90%] content-lg:w-[110%]",
|
|
23259
23342
|
style: {
|
|
23260
23343
|
x,
|
|
23261
23344
|
y,
|
|
@@ -23427,7 +23510,7 @@ function VendorCardContent({ showMetadata }) {
|
|
|
23427
23510
|
/* @__PURE__ */ jsx210(TextSkeleton.Body, { className: "w-2/3" })
|
|
23428
23511
|
] }) }),
|
|
23429
23512
|
showMetadata && /* @__PURE__ */ jsxs164("div", { className: "flex w-full min-w-0 items-center justify-between gap-2", children: [
|
|
23430
|
-
/* @__PURE__ */ jsxs164("div", { className: "flex min-w-0 flex-shrink items-center gap-3 md:gap-4", children: [
|
|
23513
|
+
/* @__PURE__ */ jsxs164("div", { className: "flex min-w-0 flex-shrink items-center gap-3 content-md:gap-4", children: [
|
|
23431
23514
|
/* @__PURE__ */ jsxs164("div", { className: "flex flex-shrink-0 items-center gap-1", children: [
|
|
23432
23515
|
/* @__PURE__ */ jsx210(MediaSkeleton.Icon, { size: "sm", className: "h-5 w-5" }),
|
|
23433
23516
|
/* @__PURE__ */ jsx210(TextSkeleton.Caption, { className: "w-8" })
|
|
@@ -23448,7 +23531,7 @@ function BlogCardContent({ showActions, showMetadata }) {
|
|
|
23448
23531
|
return /* @__PURE__ */ jsxs164(Fragment36, { children: [
|
|
23449
23532
|
/* @__PURE__ */ jsx210("div", { className: "blog-card-image-container relative aspect-[1200/630] w-full overflow-hidden bg-ods-bg", children: /* @__PURE__ */ jsx210(MediaSkeleton.CardImage, {}) }),
|
|
23450
23533
|
/* @__PURE__ */ jsxs164("div", { className: "flex flex-grow flex-col p-4", children: [
|
|
23451
|
-
/* @__PURE__ */ jsx210("div", { className: "mb-3 flex min-h-[50.4px] items-center md:min-h-[56px] lg:min-h-[61.6px]", children: /* @__PURE__ */ jsxs164("div", { className: "w-full space-y-1", children: [
|
|
23534
|
+
/* @__PURE__ */ jsx210("div", { className: "mb-3 flex min-h-[50.4px] items-center content-md:min-h-[56px] content-lg:min-h-[61.6px]", children: /* @__PURE__ */ jsxs164("div", { className: "w-full space-y-1", children: [
|
|
23452
23535
|
/* @__PURE__ */ jsx210(TextSkeleton.Subheading, { className: "w-full" }),
|
|
23453
23536
|
/* @__PURE__ */ jsx210(TextSkeleton.Subheading, { className: "w-3/4" })
|
|
23454
23537
|
] }) }),
|
|
@@ -23456,7 +23539,7 @@ function BlogCardContent({ showActions, showMetadata }) {
|
|
|
23456
23539
|
/* @__PURE__ */ jsx210(InteractiveSkeleton.Chip, { className: "w-16" }),
|
|
23457
23540
|
/* @__PURE__ */ jsx210(InteractiveSkeleton.Chip, { className: "w-12" })
|
|
23458
23541
|
] }),
|
|
23459
|
-
/* @__PURE__ */ jsx210("div", { className: "mb-3 flex min-h-[42px] items-center md:min-h-[45px] lg:min-h-[48px]", children: /* @__PURE__ */ jsxs164("div", { className: "w-full space-y-1", children: [
|
|
23542
|
+
/* @__PURE__ */ jsx210("div", { className: "mb-3 flex min-h-[42px] items-center content-md:min-h-[45px] content-lg:min-h-[48px]", children: /* @__PURE__ */ jsxs164("div", { className: "w-full space-y-1", children: [
|
|
23460
23543
|
/* @__PURE__ */ jsx210(TextSkeleton.Body, { className: "w-full" }),
|
|
23461
23544
|
/* @__PURE__ */ jsx210(TextSkeleton.Body, { className: "w-1/2" })
|
|
23462
23545
|
] }) }),
|
|
@@ -23476,19 +23559,19 @@ function BlogCardContent({ showActions, showMetadata }) {
|
|
|
23476
23559
|
] });
|
|
23477
23560
|
}
|
|
23478
23561
|
function CategoryCardContent() {
|
|
23479
|
-
return /* @__PURE__ */ jsxs164("div", { className: "space-y-4 p-4 md:p-6", children: [
|
|
23480
|
-
/* @__PURE__ */ jsx210("div", { className: "flex gap-2 md:gap-3", children: Array.from({ length: 6 }).map((_, index) => /* @__PURE__ */ jsx210(MediaSkeleton.Icon, { size: "lg", className: "flex-shrink-0" }, index)) }),
|
|
23562
|
+
return /* @__PURE__ */ jsxs164("div", { className: "space-y-4 p-4 content-md:p-6", children: [
|
|
23563
|
+
/* @__PURE__ */ jsx210("div", { className: "flex gap-2 content-md:gap-3", children: Array.from({ length: 6 }).map((_, index) => /* @__PURE__ */ jsx210(MediaSkeleton.Icon, { size: "lg", className: "flex-shrink-0" }, index)) }),
|
|
23481
23564
|
/* @__PURE__ */ jsxs164("div", { className: "space-y-2", children: [
|
|
23482
23565
|
/* @__PURE__ */ jsxs164("div", { className: "space-y-1", children: [
|
|
23483
23566
|
/* @__PURE__ */ jsx210(TextSkeleton.Subheading, { className: "w-3/4" }),
|
|
23484
23567
|
/* @__PURE__ */ jsx210(TextSkeleton.Caption, { className: "w-1/2" })
|
|
23485
23568
|
] }),
|
|
23486
|
-
/* @__PURE__ */ jsxs164("div", { className: "flex items-start justify-between gap-4 md:items-end md:gap-6", children: [
|
|
23569
|
+
/* @__PURE__ */ jsxs164("div", { className: "flex items-start justify-between gap-4 content-md:items-end content-md:gap-6", children: [
|
|
23487
23570
|
/* @__PURE__ */ jsxs164("div", { className: "flex-1 space-y-2", children: [
|
|
23488
23571
|
/* @__PURE__ */ jsx210(TextSkeleton.Body, { className: "w-full" }),
|
|
23489
23572
|
/* @__PURE__ */ jsx210(TextSkeleton.Body, { className: "w-2/3" })
|
|
23490
23573
|
] }),
|
|
23491
|
-
/* @__PURE__ */ jsx210(InteractiveSkeleton.Button, { className: "h-10 w-10 flex-shrink-0 md:h-12 md:w-12" })
|
|
23574
|
+
/* @__PURE__ */ jsx210(InteractiveSkeleton.Button, { className: "h-10 w-10 flex-shrink-0 content-md:h-12 content-md:w-12" })
|
|
23492
23575
|
] })
|
|
23493
23576
|
] })
|
|
23494
23577
|
] });
|
|
@@ -23520,11 +23603,11 @@ function CardSkeletonGrid({
|
|
|
23520
23603
|
"div",
|
|
23521
23604
|
{
|
|
23522
23605
|
className: cn(
|
|
23523
|
-
"grid gap-4 md:gap-6",
|
|
23606
|
+
"grid gap-4 content-md:gap-6",
|
|
23524
23607
|
// Responsive grid based on card type
|
|
23525
|
-
variant === "vendor" && "grid-cols-1 md:grid-cols-2 lg:grid-cols-3",
|
|
23526
|
-
variant === "blog" && "grid-cols-1 md:grid-cols-2",
|
|
23527
|
-
variant === "category" && "grid-cols-1 md:grid-cols-2 lg:grid-cols-4",
|
|
23608
|
+
variant === "vendor" && "grid-cols-1 content-md:grid-cols-2 content-lg:grid-cols-3",
|
|
23609
|
+
variant === "blog" && "grid-cols-1 content-md:grid-cols-2",
|
|
23610
|
+
variant === "category" && "grid-cols-1 content-md:grid-cols-2 content-lg:grid-cols-4",
|
|
23528
23611
|
variant === "alternative" && "grid-cols-1",
|
|
23529
23612
|
className
|
|
23530
23613
|
),
|
|
@@ -23538,11 +23621,11 @@ function CardSkeletonGrid({
|
|
|
23538
23621
|
// src/components/loading/page-layout-skeleton.tsx
|
|
23539
23622
|
import { Fragment as Fragment37, jsx as jsx211, jsxs as jsxs165 } from "react/jsx-runtime";
|
|
23540
23623
|
function AnnouncementBarSkeleton() {
|
|
23541
|
-
return /* @__PURE__ */ jsx211("div", { className: "relative w-full animate-pulse bg-ods-skeleton", children: /* @__PURE__ */ jsx211("div", { className: "relative flex w-full flex-row items-center", children: /* @__PURE__ */ jsxs165("div", { className: "relative box-border flex w-full flex-row items-center justify-start gap-4 py-3 pl-4 pr-12 md:gap-6 md:py-4 md:pl-6 md:pr-16", children: [
|
|
23542
|
-
/* @__PURE__ */ jsx211("div", { className: "relative h-6 w-6 shrink-0 rounded bg-ods-border md:h-8 md:w-8" }),
|
|
23543
|
-
/* @__PURE__ */ jsxs165("div", { className: "min-w-0 flex-1 space-y-1 md:space-y-2", children: [
|
|
23544
|
-
/* @__PURE__ */ jsx211("div", { className: "h-[14px] w-3/4 max-w-md rounded bg-ods-border md:h-[18px]" }),
|
|
23545
|
-
/* @__PURE__ */ jsx211("div", { className: "hidden h-[12px] w-full max-w-lg rounded bg-ods-border md:block md:h-[18px]" })
|
|
23624
|
+
return /* @__PURE__ */ jsx211("div", { className: "relative w-full animate-pulse bg-ods-skeleton", children: /* @__PURE__ */ jsx211("div", { className: "relative flex w-full flex-row items-center", children: /* @__PURE__ */ jsxs165("div", { className: "relative box-border flex w-full flex-row items-center justify-start gap-4 py-3 pl-4 pr-12 content-md:gap-6 content-md:py-4 content-md:pl-6 content-md:pr-16", children: [
|
|
23625
|
+
/* @__PURE__ */ jsx211("div", { className: "relative h-6 w-6 shrink-0 rounded bg-ods-border content-md:h-8 content-md:w-8" }),
|
|
23626
|
+
/* @__PURE__ */ jsxs165("div", { className: "min-w-0 flex-1 space-y-1 content-md:space-y-2", children: [
|
|
23627
|
+
/* @__PURE__ */ jsx211("div", { className: "h-[14px] w-3/4 max-w-md rounded bg-ods-border content-md:h-[18px]" }),
|
|
23628
|
+
/* @__PURE__ */ jsx211("div", { className: "hidden h-[12px] w-full max-w-lg rounded bg-ods-border content-md:block content-md:h-[18px]" })
|
|
23546
23629
|
] }),
|
|
23547
23630
|
/* @__PURE__ */ jsx211("div", { className: "absolute right-2 top-2 h-6 w-6 rounded bg-ods-border" })
|
|
23548
23631
|
] }) }) });
|
|
@@ -23551,17 +23634,17 @@ function HeroSkeleton() {
|
|
|
23551
23634
|
return /* @__PURE__ */ jsxs165(
|
|
23552
23635
|
"section",
|
|
23553
23636
|
{
|
|
23554
|
-
className: "flex w-full animate-pulse flex-col items-center justify-center px-4 py-12 text-center md:px-8 md:py-20",
|
|
23637
|
+
className: "flex w-full animate-pulse flex-col items-center justify-center px-4 py-12 text-center content-md:px-8 content-md:py-20",
|
|
23555
23638
|
style: {
|
|
23556
23639
|
background: "radial-gradient(circle at 50% 0%, #242323 0%, #1A1A1A 100%)"
|
|
23557
23640
|
},
|
|
23558
23641
|
children: [
|
|
23559
|
-
/* @__PURE__ */ jsx211(TextSkeleton.Heading, { className: "mb-4 h-12 w-full max-w-4xl md:mb-6 md:h-20 lg:h-24" }),
|
|
23560
|
-
/* @__PURE__ */ jsxs165("div", { className: "mb-8 w-full max-w-4xl space-y-3 px-2 md:mb-10", children: [
|
|
23561
|
-
/* @__PURE__ */ jsx211(TextSkeleton.Body, { className: "h-5 md:h-7" }),
|
|
23562
|
-
/* @__PURE__ */ jsx211(TextSkeleton.Body, { className: "mx-auto h-5 w-3/4 md:h-7" })
|
|
23642
|
+
/* @__PURE__ */ jsx211(TextSkeleton.Heading, { className: "mb-4 h-12 w-full max-w-4xl content-md:mb-6 content-md:h-20 content-lg:h-24" }),
|
|
23643
|
+
/* @__PURE__ */ jsxs165("div", { className: "mb-8 w-full max-w-4xl space-y-3 px-2 content-md:mb-10", children: [
|
|
23644
|
+
/* @__PURE__ */ jsx211(TextSkeleton.Body, { className: "h-5 content-md:h-7" }),
|
|
23645
|
+
/* @__PURE__ */ jsx211(TextSkeleton.Body, { className: "mx-auto h-5 w-3/4 content-md:h-7" })
|
|
23563
23646
|
] }),
|
|
23564
|
-
/* @__PURE__ */ jsx211(InteractiveSkeleton.Button, { className: "h-12 w-full md:w-64" })
|
|
23647
|
+
/* @__PURE__ */ jsx211(InteractiveSkeleton.Button, { className: "h-12 w-full content-md:w-64" })
|
|
23565
23648
|
]
|
|
23566
23649
|
}
|
|
23567
23650
|
);
|
|
@@ -23571,9 +23654,9 @@ function SearchContainerSkeleton({
|
|
|
23571
23654
|
showFilters = true
|
|
23572
23655
|
}) {
|
|
23573
23656
|
return /* @__PURE__ */ jsxs165("div", { className: cn("space-y-4", className || ""), children: [
|
|
23574
|
-
/* @__PURE__ */ jsxs165("div", { className: "flex gap-2 md:gap-4", children: [
|
|
23657
|
+
/* @__PURE__ */ jsxs165("div", { className: "flex gap-2 content-md:gap-4", children: [
|
|
23575
23658
|
/* @__PURE__ */ jsx211(InteractiveSkeleton.Input, { className: "flex-1" }),
|
|
23576
|
-
/* @__PURE__ */ jsx211(InteractiveSkeleton.Button, { className: "w-32 md:w-40" })
|
|
23659
|
+
/* @__PURE__ */ jsx211(InteractiveSkeleton.Button, { className: "w-32 content-md:w-40" })
|
|
23577
23660
|
] }),
|
|
23578
23661
|
showFilters && /* @__PURE__ */ jsxs165("div", { className: "flex flex-wrap gap-2", children: [
|
|
23579
23662
|
/* @__PURE__ */ jsx211(InteractiveSkeleton.Chip, {}),
|
|
@@ -23597,7 +23680,7 @@ function CategorySidebarSkeleton({ className }) {
|
|
|
23597
23680
|
{ type: "file", width: "w-28" },
|
|
23598
23681
|
{ type: "file", width: "w-36" }
|
|
23599
23682
|
];
|
|
23600
|
-
return /* @__PURE__ */ jsxs165("div", { className: cn("w-full lg:w-[320px]", className), children: [
|
|
23683
|
+
return /* @__PURE__ */ jsxs165("div", { className: cn("w-full content-lg:w-[320px]", className), children: [
|
|
23601
23684
|
/* @__PURE__ */ jsx211(UnifiedSkeleton, { className: "mb-4 h-[14px] w-24 rounded" }),
|
|
23602
23685
|
/* @__PURE__ */ jsx211("div", { className: "space-y-1.5", children: items.map((item, index) => /* @__PURE__ */ jsxs165(
|
|
23603
23686
|
"div",
|
|
@@ -23633,7 +23716,16 @@ function BreadcrumbSkeleton({ className }) {
|
|
|
23633
23716
|
] });
|
|
23634
23717
|
}
|
|
23635
23718
|
function ResultsHeaderSkeleton({ className }) {
|
|
23636
|
-
return /* @__PURE__ */ jsx211(
|
|
23719
|
+
return /* @__PURE__ */ jsx211(
|
|
23720
|
+
"div",
|
|
23721
|
+
{
|
|
23722
|
+
className: cn(
|
|
23723
|
+
"mb-6 flex flex-col items-start justify-between gap-4 content-md:flex-row content-md:items-center",
|
|
23724
|
+
className
|
|
23725
|
+
),
|
|
23726
|
+
children: /* @__PURE__ */ jsx211("div", { className: "space-y-1", children: /* @__PURE__ */ jsx211(TextSkeleton.Body, { className: "w-48" }) })
|
|
23727
|
+
}
|
|
23728
|
+
);
|
|
23637
23729
|
}
|
|
23638
23730
|
function TwoColumnLayoutSkeleton({
|
|
23639
23731
|
className,
|
|
@@ -23647,13 +23739,13 @@ function TwoColumnLayoutSkeleton({
|
|
|
23647
23739
|
"div",
|
|
23648
23740
|
{
|
|
23649
23741
|
className: cn(
|
|
23650
|
-
"grid grid-cols-1 gap-6 lg:grid-cols-[320px_1fr] lg:gap-8",
|
|
23651
|
-
sidebarPosition === "right" && "lg:grid-cols-[1fr_320px]",
|
|
23742
|
+
"grid grid-cols-1 gap-6 content-lg:grid-cols-[320px_1fr] content-lg:gap-8",
|
|
23743
|
+
sidebarPosition === "right" && "content-lg:grid-cols-[1fr_320px]",
|
|
23652
23744
|
className
|
|
23653
23745
|
),
|
|
23654
23746
|
children: sidebarPosition === "left" ? /* @__PURE__ */ jsxs165(Fragment37, { children: [
|
|
23655
|
-
/* @__PURE__ */ jsx211("aside", { className: "order-2 lg:order-1", children: sidebar }),
|
|
23656
|
-
/* @__PURE__ */ jsx211("main", { className: "order-1 lg:order-2", children: main })
|
|
23747
|
+
/* @__PURE__ */ jsx211("aside", { className: "order-2 content-lg:order-1", children: sidebar }),
|
|
23748
|
+
/* @__PURE__ */ jsx211("main", { className: "order-1 content-lg:order-2", children: main })
|
|
23657
23749
|
] }) : /* @__PURE__ */ jsxs165(Fragment37, { children: [
|
|
23658
23750
|
/* @__PURE__ */ jsx211("main", { className: "order-1", children: main }),
|
|
23659
23751
|
/* @__PURE__ */ jsx211("aside", { className: "order-2", children: sidebar })
|
|
@@ -23663,7 +23755,7 @@ function TwoColumnLayoutSkeleton({
|
|
|
23663
23755
|
}
|
|
23664
23756
|
function ArticleLayoutSkeleton({ className }) {
|
|
23665
23757
|
return /* @__PURE__ */ jsxs165("article", { className: cn("mx-auto max-w-4xl", className), children: [
|
|
23666
|
-
/* @__PURE__ */ jsxs165("header", { className: "mb-8 space-y-4 md:mb-12 md:space-y-6", children: [
|
|
23758
|
+
/* @__PURE__ */ jsxs165("header", { className: "mb-8 space-y-4 content-md:mb-12 content-md:space-y-6", children: [
|
|
23667
23759
|
/* @__PURE__ */ jsxs165("div", { className: "flex gap-2", children: [
|
|
23668
23760
|
/* @__PURE__ */ jsx211(InteractiveSkeleton.Chip, {}),
|
|
23669
23761
|
/* @__PURE__ */ jsx211(InteractiveSkeleton.Chip, { className: "w-16" })
|
|
@@ -23681,7 +23773,7 @@ function ArticleLayoutSkeleton({ className }) {
|
|
|
23681
23773
|
/* @__PURE__ */ jsx211(TextSkeleton.Caption, { className: "w-16" })
|
|
23682
23774
|
] })
|
|
23683
23775
|
] }),
|
|
23684
|
-
/* @__PURE__ */ jsx211("div", { className: "mb-8 md:mb-12", children: /* @__PURE__ */ jsx211(MediaSkeleton.CardImage, { className: "h-64 w-full md:h-96" }) }),
|
|
23776
|
+
/* @__PURE__ */ jsx211("div", { className: "mb-8 content-md:mb-12", children: /* @__PURE__ */ jsx211(MediaSkeleton.CardImage, { className: "h-64 w-full content-md:h-96" }) }),
|
|
23685
23777
|
/* @__PURE__ */ jsxs165("div", { className: "prose prose-invert max-w-none space-y-6", children: [
|
|
23686
23778
|
Array.from({ length: 12 }).map((_, index) => /* @__PURE__ */ jsxs165("div", { className: "space-y-2", children: [
|
|
23687
23779
|
/* @__PURE__ */ jsx211(TextSkeleton.Body, { className: "w-full" }),
|
|
@@ -23700,17 +23792,17 @@ function ArticleLayoutSkeleton({ className }) {
|
|
|
23700
23792
|
] });
|
|
23701
23793
|
}
|
|
23702
23794
|
function VendorDetailLayoutSkeleton({ className }) {
|
|
23703
|
-
return /* @__PURE__ */ jsx211("main", { className: cn("min-h-screen bg-ods-bg", className), children: /* @__PURE__ */ jsxs165("div", { className: "mx-auto max-w-[1920px] px-6 py-6 md:px-20 md:py-10", children: [
|
|
23795
|
+
return /* @__PURE__ */ jsx211("main", { className: cn("min-h-screen bg-ods-bg", className), children: /* @__PURE__ */ jsxs165("div", { className: "mx-auto max-w-[1920px] px-6 py-6 content-md:px-20 content-md:py-10", children: [
|
|
23704
23796
|
/* @__PURE__ */ jsx211(BreadcrumbSkeleton, { className: "mb-6" }),
|
|
23705
|
-
/* @__PURE__ */ jsxs165("div", { className: "flex flex-col lg:flex-row lg:gap-10", children: [
|
|
23797
|
+
/* @__PURE__ */ jsxs165("div", { className: "flex flex-col content-lg:flex-row content-lg:gap-10", children: [
|
|
23706
23798
|
/* @__PURE__ */ jsxs165("div", { className: "min-w-0 flex-1", children: [
|
|
23707
23799
|
/* @__PURE__ */ jsxs165("div", { className: "mb-10", children: [
|
|
23708
23800
|
/* @__PURE__ */ jsxs165("div", { className: "mb-6 flex gap-6", children: [
|
|
23709
23801
|
/* @__PURE__ */ jsx211("div", { className: "h-20 w-20 flex-shrink-0 animate-pulse rounded-lg border border-ods-border bg-ods-card" }),
|
|
23710
23802
|
/* @__PURE__ */ jsxs165("div", { className: "flex flex-col gap-3", children: [
|
|
23711
23803
|
/* @__PURE__ */ jsxs165("div", { className: "flex flex-col gap-2", children: [
|
|
23712
|
-
/* @__PURE__ */ jsx211("div", { className: "h-12 w-80 max-w-full animate-pulse rounded bg-ods-skeleton md:h-16 lg:h-20" }),
|
|
23713
|
-
/* @__PURE__ */ jsx211("div", { className: "h-5 w-32 animate-pulse rounded bg-ods-skeleton md:h-6" })
|
|
23804
|
+
/* @__PURE__ */ jsx211("div", { className: "h-12 w-80 max-w-full animate-pulse rounded bg-ods-skeleton content-md:h-16 content-lg:h-20" }),
|
|
23805
|
+
/* @__PURE__ */ jsx211("div", { className: "h-5 w-32 animate-pulse rounded bg-ods-skeleton content-md:h-6" })
|
|
23714
23806
|
] }),
|
|
23715
23807
|
/* @__PURE__ */ jsxs165("div", { className: "flex items-center gap-2", children: [
|
|
23716
23808
|
/* @__PURE__ */ jsx211("div", { className: "h-8 w-20 animate-pulse rounded bg-ods-skeleton" }),
|
|
@@ -23718,10 +23810,10 @@ function VendorDetailLayoutSkeleton({ className }) {
|
|
|
23718
23810
|
] })
|
|
23719
23811
|
] })
|
|
23720
23812
|
] }),
|
|
23721
|
-
/* @__PURE__ */ jsx211("div", { className: "mb-2 h-[300px] w-full animate-pulse rounded-lg border border-ods-border bg-ods-card md:h-[400px] lg:h-[500px]" }),
|
|
23813
|
+
/* @__PURE__ */ jsx211("div", { className: "mb-2 h-[300px] w-full animate-pulse rounded-lg border border-ods-border bg-ods-card content-md:h-[400px] content-lg:h-[500px]" }),
|
|
23722
23814
|
/* @__PURE__ */ jsx211("div", { className: "text-center", children: /* @__PURE__ */ jsx211("div", { className: "mx-auto h-4 w-24 animate-pulse rounded bg-ods-skeleton" }) })
|
|
23723
23815
|
] }),
|
|
23724
|
-
/* @__PURE__ */ jsx211("div", { className: "mb-10 lg:hidden", children: /* @__PURE__ */ jsxs165("div", { className: "space-y-4", children: [
|
|
23816
|
+
/* @__PURE__ */ jsx211("div", { className: "mb-10 content-lg:hidden", children: /* @__PURE__ */ jsxs165("div", { className: "space-y-4", children: [
|
|
23725
23817
|
/* @__PURE__ */ jsx211("div", { className: "h-12 animate-pulse rounded-lg border border-ods-border bg-ods-card" }),
|
|
23726
23818
|
/* @__PURE__ */ jsxs165("div", { className: "space-y-2", children: [
|
|
23727
23819
|
/* @__PURE__ */ jsx211("div", { className: "h-12 animate-pulse rounded-lg border border-ods-border bg-ods-card" }),
|
|
@@ -23750,7 +23842,7 @@ function VendorDetailLayoutSkeleton({ className }) {
|
|
|
23750
23842
|
] })
|
|
23751
23843
|
] }) }),
|
|
23752
23844
|
/* @__PURE__ */ jsxs165("div", { className: "mb-20 flex flex-col gap-6", children: [
|
|
23753
|
-
/* @__PURE__ */ jsx211("div", { className: "h-8 w-48 animate-pulse rounded bg-ods-skeleton md:h-10" }),
|
|
23845
|
+
/* @__PURE__ */ jsx211("div", { className: "h-8 w-48 animate-pulse rounded bg-ods-skeleton content-md:h-10" }),
|
|
23754
23846
|
/* @__PURE__ */ jsxs165("div", { className: "flex flex-col gap-4", children: [
|
|
23755
23847
|
/* @__PURE__ */ jsx211("div", { className: "h-5 w-48 animate-pulse rounded bg-ods-skeleton" }),
|
|
23756
23848
|
/* @__PURE__ */ jsx211("div", { className: "flex flex-wrap gap-2", children: Array.from({ length: 6 }).map((_, i) => /* @__PURE__ */ jsx211(
|
|
@@ -23773,8 +23865,8 @@ function VendorDetailLayoutSkeleton({ className }) {
|
|
|
23773
23865
|
] })
|
|
23774
23866
|
] }),
|
|
23775
23867
|
/* @__PURE__ */ jsxs165("div", { className: "mb-20 flex flex-col gap-6", children: [
|
|
23776
|
-
/* @__PURE__ */ jsx211("div", { className: "h-8 w-64 animate-pulse rounded bg-ods-skeleton md:h-10" }),
|
|
23777
|
-
/* @__PURE__ */ jsx211("div", { className: "rounded-lg border border-ods-border bg-ods-card p-6 md:p-8", children: /* @__PURE__ */ jsxs165("div", { className: "space-y-4", children: [
|
|
23868
|
+
/* @__PURE__ */ jsx211("div", { className: "h-8 w-64 animate-pulse rounded bg-ods-skeleton content-md:h-10" }),
|
|
23869
|
+
/* @__PURE__ */ jsx211("div", { className: "rounded-lg border border-ods-border bg-ods-card p-6 content-md:p-8", children: /* @__PURE__ */ jsxs165("div", { className: "space-y-4", children: [
|
|
23778
23870
|
/* @__PURE__ */ jsx211("div", { className: "h-6 animate-pulse rounded bg-ods-skeleton" }),
|
|
23779
23871
|
/* @__PURE__ */ jsx211("div", { className: "h-6 animate-pulse rounded bg-ods-skeleton" }),
|
|
23780
23872
|
/* @__PURE__ */ jsx211("div", { className: "h-6 w-5/6 animate-pulse rounded bg-ods-skeleton" }),
|
|
@@ -23782,8 +23874,8 @@ function VendorDetailLayoutSkeleton({ className }) {
|
|
|
23782
23874
|
] }) })
|
|
23783
23875
|
] }),
|
|
23784
23876
|
/* @__PURE__ */ jsxs165("div", { className: "mb-20 flex flex-col gap-6", children: [
|
|
23785
|
-
/* @__PURE__ */ jsx211("div", { className: "h-8 w-72 animate-pulse rounded bg-ods-skeleton md:h-10" }),
|
|
23786
|
-
/* @__PURE__ */ jsx211("div", { className: "grid grid-cols-1 gap-6 md:grid-cols-2 lg:grid-cols-3", children: Array.from({ length: 6 }).map((_, i) => /* @__PURE__ */ jsxs165("div", { className: "flex gap-4 rounded-lg border border-ods-border bg-ods-card p-4", children: [
|
|
23877
|
+
/* @__PURE__ */ jsx211("div", { className: "h-8 w-72 animate-pulse rounded bg-ods-skeleton content-md:h-10" }),
|
|
23878
|
+
/* @__PURE__ */ jsx211("div", { className: "grid grid-cols-1 gap-6 content-md:grid-cols-2 content-lg:grid-cols-3", children: Array.from({ length: 6 }).map((_, i) => /* @__PURE__ */ jsxs165("div", { className: "flex gap-4 rounded-lg border border-ods-border bg-ods-card p-4", children: [
|
|
23787
23879
|
/* @__PURE__ */ jsx211("div", { className: "h-12 w-12 flex-shrink-0 animate-pulse rounded bg-ods-skeleton" }),
|
|
23788
23880
|
/* @__PURE__ */ jsxs165("div", { className: "flex-1 space-y-2", children: [
|
|
23789
23881
|
/* @__PURE__ */ jsx211("div", { className: "h-5 w-3/4 animate-pulse rounded bg-ods-skeleton" }),
|
|
@@ -23792,8 +23884,8 @@ function VendorDetailLayoutSkeleton({ className }) {
|
|
|
23792
23884
|
] }, i)) })
|
|
23793
23885
|
] }),
|
|
23794
23886
|
/* @__PURE__ */ jsxs165("div", { className: "mb-20 flex flex-col gap-6", children: [
|
|
23795
|
-
/* @__PURE__ */ jsx211("div", { className: "h-8 w-80 animate-pulse rounded bg-ods-skeleton md:h-10" }),
|
|
23796
|
-
/* @__PURE__ */ jsxs165("div", { className: "grid grid-cols-1 gap-6 lg:grid-cols-2", children: [
|
|
23887
|
+
/* @__PURE__ */ jsx211("div", { className: "h-8 w-80 animate-pulse rounded bg-ods-skeleton content-md:h-10" }),
|
|
23888
|
+
/* @__PURE__ */ jsxs165("div", { className: "grid grid-cols-1 gap-6 content-lg:grid-cols-2", children: [
|
|
23797
23889
|
/* @__PURE__ */ jsxs165("div", { className: "flex flex-col gap-6", children: [
|
|
23798
23890
|
/* @__PURE__ */ jsx211("div", { className: "h-5 w-16 animate-pulse rounded bg-ods-skeleton" }),
|
|
23799
23891
|
Array.from({ length: 3 }).map((_, i) => /* @__PURE__ */ jsxs165("div", { className: "flex gap-3 rounded-lg border border-ods-border bg-ods-card p-4", children: [
|
|
@@ -23817,8 +23909,8 @@ function VendorDetailLayoutSkeleton({ className }) {
|
|
|
23817
23909
|
] })
|
|
23818
23910
|
] }),
|
|
23819
23911
|
/* @__PURE__ */ jsxs165("div", { className: "mb-20 flex flex-col gap-6", children: [
|
|
23820
|
-
/* @__PURE__ */ jsx211("div", { className: "h-8 w-72 animate-pulse rounded bg-ods-skeleton md:h-10" }),
|
|
23821
|
-
/* @__PURE__ */ jsx211("div", { className: "grid grid-cols-1 gap-6 md:grid-cols-2 lg:grid-cols-3", children: Array.from({ length: 6 }).map((_, i) => /* @__PURE__ */ jsxs165("div", { className: "space-y-4 rounded-lg border border-ods-border bg-ods-card p-6", children: [
|
|
23912
|
+
/* @__PURE__ */ jsx211("div", { className: "h-8 w-72 animate-pulse rounded bg-ods-skeleton content-md:h-10" }),
|
|
23913
|
+
/* @__PURE__ */ jsx211("div", { className: "grid grid-cols-1 gap-6 content-md:grid-cols-2 content-lg:grid-cols-3", children: Array.from({ length: 6 }).map((_, i) => /* @__PURE__ */ jsxs165("div", { className: "space-y-4 rounded-lg border border-ods-border bg-ods-card p-6", children: [
|
|
23822
23914
|
/* @__PURE__ */ jsxs165("div", { className: "flex items-start gap-4", children: [
|
|
23823
23915
|
/* @__PURE__ */ jsx211("div", { className: "h-16 w-16 flex-shrink-0 animate-pulse rounded-lg border border-ods-border bg-ods-bg" }),
|
|
23824
23916
|
/* @__PURE__ */ jsxs165("div", { className: "flex-1 space-y-2", children: [
|
|
@@ -23840,7 +23932,7 @@ function VendorDetailLayoutSkeleton({ className }) {
|
|
|
23840
23932
|
/* @__PURE__ */ jsx211("div", { className: "h-12 animate-pulse rounded-md bg-ods-skeleton" })
|
|
23841
23933
|
] }),
|
|
23842
23934
|
/* @__PURE__ */ jsxs165("div", { className: "mb-20 flex flex-col gap-6", children: [
|
|
23843
|
-
/* @__PURE__ */ jsx211("div", { className: "h-8 w-64 animate-pulse rounded bg-ods-skeleton md:h-10" }),
|
|
23935
|
+
/* @__PURE__ */ jsx211("div", { className: "h-8 w-64 animate-pulse rounded bg-ods-skeleton content-md:h-10" }),
|
|
23844
23936
|
/* @__PURE__ */ jsx211("div", { className: "space-y-3", children: /* @__PURE__ */ jsxs165("div", { className: "flex gap-3", children: [
|
|
23845
23937
|
/* @__PURE__ */ jsxs165("div", { className: "flex-1 overflow-hidden rounded-lg border border-ods-border bg-ods-bg", children: [
|
|
23846
23938
|
/* @__PURE__ */ jsxs165("div", { className: "border-b border-ods-border p-3", children: [
|
|
@@ -23877,7 +23969,7 @@ function VendorDetailLayoutSkeleton({ className }) {
|
|
|
23877
23969
|
] }, i)) })
|
|
23878
23970
|
] })
|
|
23879
23971
|
] }),
|
|
23880
|
-
/* @__PURE__ */ jsx211("div", { className: "hidden w-[290px] flex-shrink-0 lg:block", children: /* @__PURE__ */ jsxs165("div", { className: "space-y-4", children: [
|
|
23972
|
+
/* @__PURE__ */ jsx211("div", { className: "hidden w-[290px] flex-shrink-0 content-lg:block", children: /* @__PURE__ */ jsxs165("div", { className: "space-y-4", children: [
|
|
23881
23973
|
/* @__PURE__ */ jsx211("div", { className: "h-12 animate-pulse rounded-lg border border-ods-border bg-ods-card" }),
|
|
23882
23974
|
/* @__PURE__ */ jsxs165("div", { className: "space-y-2", children: [
|
|
23883
23975
|
/* @__PURE__ */ jsx211("div", { className: "h-12 animate-pulse rounded-lg border border-ods-border bg-ods-card" }),
|
|
@@ -23913,9 +24005,9 @@ function StatsSectionSkeleton({ className, columns = 3 }) {
|
|
|
23913
24005
|
"div",
|
|
23914
24006
|
{
|
|
23915
24007
|
className: cn(
|
|
23916
|
-
"mb-12 grid gap-6 md:mb-16",
|
|
23917
|
-
columns === 3 && "grid-cols-1 md:grid-cols-3",
|
|
23918
|
-
columns === 4 && "grid-cols-1 md:grid-cols-2 lg:grid-cols-4",
|
|
24008
|
+
"mb-12 grid gap-6 content-md:mb-16",
|
|
24009
|
+
columns === 3 && "grid-cols-1 content-md:grid-cols-3",
|
|
24010
|
+
columns === 4 && "grid-cols-1 content-md:grid-cols-2 content-lg:grid-cols-4",
|
|
23919
24011
|
className
|
|
23920
24012
|
),
|
|
23921
24013
|
children: Array.from({ length: columns }).map((_, i) => /* @__PURE__ */ jsx211("div", { className: "rounded-lg border border-ods-border bg-ods-card p-6", children: /* @__PURE__ */ jsxs165("div", { className: "space-y-4", children: [
|
|
@@ -23930,66 +24022,80 @@ function StatsSectionSkeleton({ className, columns = 3 }) {
|
|
|
23930
24022
|
);
|
|
23931
24023
|
}
|
|
23932
24024
|
function BlogCardGridSkeleton({ className }) {
|
|
23933
|
-
return /* @__PURE__ */ jsx211("div", { className: cn("space-y-6", className), children: /* @__PURE__ */ jsx211(CardSkeletonGrid, { count: 4, variant: "blog", className: "grid-cols-1 md:grid-cols-2" }) });
|
|
24025
|
+
return /* @__PURE__ */ jsx211("div", { className: cn("space-y-6", className), children: /* @__PURE__ */ jsx211(CardSkeletonGrid, { count: 4, variant: "blog", className: "grid-cols-1 content-md:grid-cols-2" }) });
|
|
23934
24026
|
}
|
|
23935
24027
|
function VendorGridSkeleton({ className }) {
|
|
23936
|
-
return /* @__PURE__ */ jsx211("div", { className: cn("space-y-6", className), children: /* @__PURE__ */ jsx211(
|
|
24028
|
+
return /* @__PURE__ */ jsx211("div", { className: cn("space-y-6", className), children: /* @__PURE__ */ jsx211(
|
|
24029
|
+
CardSkeletonGrid,
|
|
24030
|
+
{
|
|
24031
|
+
count: 12,
|
|
24032
|
+
variant: "vendor",
|
|
24033
|
+
className: "grid-cols-1 content-md:grid-cols-2 content-lg:grid-cols-3"
|
|
24034
|
+
}
|
|
24035
|
+
) });
|
|
23937
24036
|
}
|
|
23938
24037
|
function SlackCommunitySkeleton() {
|
|
23939
|
-
return /* @__PURE__ */ jsx211(
|
|
23940
|
-
|
|
23941
|
-
|
|
23942
|
-
|
|
23943
|
-
|
|
23944
|
-
|
|
23945
|
-
|
|
23946
|
-
|
|
23947
|
-
]
|
|
23948
|
-
|
|
23949
|
-
|
|
23950
|
-
|
|
23951
|
-
|
|
23952
|
-
|
|
23953
|
-
|
|
23954
|
-
/* @__PURE__ */ jsxs165("div", { className: "flex-1", children: [
|
|
23955
|
-
/* @__PURE__ */ jsx211("div", { className: "mb-1 h-3 w-24 rounded bg-ods-skeleton" }),
|
|
23956
|
-
/* @__PURE__ */ jsx211("div", { className: "h-2 w-16 rounded bg-ods-skeleton" })
|
|
23957
|
-
] })
|
|
23958
|
-
] }, i))
|
|
23959
|
-
] }),
|
|
23960
|
-
/* @__PURE__ */ jsx211("div", { className: "mt-2 border-t border-ods-border pt-3", children: /* @__PURE__ */ jsxs165("div", { className: "space-y-2", children: [
|
|
23961
|
-
/* @__PURE__ */ jsxs165("div", { className: "flex justify-between", children: [
|
|
23962
|
-
/* @__PURE__ */ jsx211("div", { className: "h-3 w-16 rounded bg-ods-skeleton" }),
|
|
23963
|
-
/* @__PURE__ */ jsx211("div", { className: "h-3 w-8 rounded bg-ods-skeleton" })
|
|
23964
|
-
] }),
|
|
23965
|
-
/* @__PURE__ */ jsxs165("div", { className: "flex justify-between", children: [
|
|
23966
|
-
/* @__PURE__ */ jsx211("div", { className: "h-3 w-20 rounded bg-ods-skeleton" }),
|
|
23967
|
-
/* @__PURE__ */ jsx211("div", { className: "h-3 w-8 rounded bg-ods-skeleton" })
|
|
23968
|
-
] })
|
|
23969
|
-
] }) })
|
|
23970
|
-
] }) }),
|
|
23971
|
-
/* @__PURE__ */ jsxs165("div", { className: "flex h-[450px] min-h-[450px] min-w-0 flex-1 animate-pulse flex-col rounded-lg border border-ods-border bg-ods-card md:h-[500px] md:min-h-[500px] lg:h-[600px] lg:min-h-[600px]", children: [
|
|
23972
|
-
/* @__PURE__ */ jsxs165("div", { className: "flex h-[56px] flex-shrink-0 items-center justify-between border-b border-ods-border bg-ods-bg p-4 md:h-[60px] md:p-6", children: [
|
|
23973
|
-
/* @__PURE__ */ jsxs165("div", { className: "flex items-center gap-2", children: [
|
|
23974
|
-
/* @__PURE__ */ jsx211("div", { className: "h-3 w-3 rounded bg-ods-skeleton md:h-4 md:w-4" }),
|
|
23975
|
-
/* @__PURE__ */ jsx211("div", { className: "h-3 w-24 rounded bg-ods-skeleton md:h-4 md:w-32" })
|
|
23976
|
-
] }),
|
|
23977
|
-
/* @__PURE__ */ jsx211("div", { className: "h-3 w-12 rounded bg-ods-skeleton md:w-16" })
|
|
23978
|
-
] }),
|
|
23979
|
-
/* @__PURE__ */ jsx211("div", { className: "min-h-[280px] flex-1 space-y-3 overflow-hidden bg-ods-bg p-4 md:min-h-[320px] md:space-y-4 md:p-6 lg:min-h-[420px]", children: Array.from({ length: 6 }).map((_, i) => /* @__PURE__ */ jsxs165("div", { className: "flex gap-2 md:gap-3", children: [
|
|
23980
|
-
/* @__PURE__ */ jsx211("div", { className: "h-10 w-10 flex-shrink-0 rounded-lg bg-ods-skeleton md:h-12 md:w-12" }),
|
|
23981
|
-
/* @__PURE__ */ jsxs165("div", { className: "flex-1", children: [
|
|
23982
|
-
/* @__PURE__ */ jsxs165("div", { className: "mb-1 flex items-center gap-2", children: [
|
|
23983
|
-
/* @__PURE__ */ jsx211("div", { className: "h-3 w-16 rounded bg-ods-skeleton md:w-20" }),
|
|
23984
|
-
/* @__PURE__ */ jsx211("div", { className: "h-3 w-12 rounded bg-ods-skeleton md:w-16" })
|
|
24038
|
+
return /* @__PURE__ */ jsx211(
|
|
24039
|
+
"section",
|
|
24040
|
+
{
|
|
24041
|
+
className: "w-full bg-ods-bg px-4 py-12 content-md:px-20 content-md:py-20 content-lg:px-20",
|
|
24042
|
+
"aria-label": "Slack Community Loading",
|
|
24043
|
+
children: /* @__PURE__ */ jsxs165("div", { className: "flex w-full flex-col gap-4 content-md:gap-6", children: [
|
|
24044
|
+
/* @__PURE__ */ jsx211("div", { className: "w-full", children: /* @__PURE__ */ jsx211("div", { className: "h-8 max-w-md animate-pulse rounded-lg bg-ods-skeleton content-md:h-12 content-lg:h-14" }) }),
|
|
24045
|
+
/* @__PURE__ */ jsxs165("div", { className: "flex w-full min-w-0 flex-col gap-4 content-md:gap-6 content-lg:flex-row content-lg:items-start content-lg:justify-end", children: [
|
|
24046
|
+
/* @__PURE__ */ jsx211("div", { className: "flex w-full flex-shrink-0 animate-pulse flex-col overflow-hidden rounded border border-ods-border bg-ods-bg content-lg:w-[290px] content-lg:max-w-[290px]", children: /* @__PURE__ */ jsxs165("div", { className: "space-y-4 p-4", children: [
|
|
24047
|
+
/* @__PURE__ */ jsxs165("div", { className: "flex flex-col gap-2", children: [
|
|
24048
|
+
/* @__PURE__ */ jsxs165("div", { className: "flex items-center justify-between", children: [
|
|
24049
|
+
/* @__PURE__ */ jsx211("div", { className: "h-4 w-24 rounded bg-ods-skeleton" }),
|
|
24050
|
+
/* @__PURE__ */ jsx211("div", { className: "h-3 w-16 rounded bg-ods-skeleton" })
|
|
24051
|
+
] }),
|
|
24052
|
+
/* @__PURE__ */ jsx211("div", { className: "h-3 w-32 rounded bg-ods-skeleton" })
|
|
23985
24053
|
] }),
|
|
23986
|
-
/* @__PURE__ */
|
|
24054
|
+
/* @__PURE__ */ jsxs165("div", { className: "flex flex-col gap-1", children: [
|
|
24055
|
+
/* @__PURE__ */ jsx211("div", { className: "mb-2 h-3 w-16 rounded bg-ods-skeleton" }),
|
|
24056
|
+
Array.from({ length: 5 }).map((_, i) => /* @__PURE__ */ jsxs165("div", { className: "flex min-h-[48px] items-center gap-2 px-2 py-3", children: [
|
|
24057
|
+
/* @__PURE__ */ jsx211("div", { className: "h-4 w-4 rounded bg-ods-skeleton" }),
|
|
24058
|
+
/* @__PURE__ */ jsxs165("div", { className: "flex-1", children: [
|
|
24059
|
+
/* @__PURE__ */ jsx211("div", { className: "mb-1 h-3 w-24 rounded bg-ods-skeleton" }),
|
|
24060
|
+
/* @__PURE__ */ jsx211("div", { className: "h-2 w-16 rounded bg-ods-skeleton" })
|
|
24061
|
+
] })
|
|
24062
|
+
] }, i))
|
|
24063
|
+
] }),
|
|
24064
|
+
/* @__PURE__ */ jsx211("div", { className: "mt-2 border-t border-ods-border pt-3", children: /* @__PURE__ */ jsxs165("div", { className: "space-y-2", children: [
|
|
24065
|
+
/* @__PURE__ */ jsxs165("div", { className: "flex justify-between", children: [
|
|
24066
|
+
/* @__PURE__ */ jsx211("div", { className: "h-3 w-16 rounded bg-ods-skeleton" }),
|
|
24067
|
+
/* @__PURE__ */ jsx211("div", { className: "h-3 w-8 rounded bg-ods-skeleton" })
|
|
24068
|
+
] }),
|
|
24069
|
+
/* @__PURE__ */ jsxs165("div", { className: "flex justify-between", children: [
|
|
24070
|
+
/* @__PURE__ */ jsx211("div", { className: "h-3 w-20 rounded bg-ods-skeleton" }),
|
|
24071
|
+
/* @__PURE__ */ jsx211("div", { className: "h-3 w-8 rounded bg-ods-skeleton" })
|
|
24072
|
+
] })
|
|
24073
|
+
] }) })
|
|
24074
|
+
] }) }),
|
|
24075
|
+
/* @__PURE__ */ jsxs165("div", { className: "flex h-[450px] min-h-[450px] min-w-0 flex-1 animate-pulse flex-col rounded-lg border border-ods-border bg-ods-card content-md:h-[500px] content-md:min-h-[500px] content-lg:h-[600px] content-lg:min-h-[600px]", children: [
|
|
24076
|
+
/* @__PURE__ */ jsxs165("div", { className: "flex h-[56px] flex-shrink-0 items-center justify-between border-b border-ods-border bg-ods-bg p-4 content-md:h-[60px] content-md:p-6", children: [
|
|
24077
|
+
/* @__PURE__ */ jsxs165("div", { className: "flex items-center gap-2", children: [
|
|
24078
|
+
/* @__PURE__ */ jsx211("div", { className: "h-3 w-3 rounded bg-ods-skeleton content-md:h-4 content-md:w-4" }),
|
|
24079
|
+
/* @__PURE__ */ jsx211("div", { className: "h-3 w-24 rounded bg-ods-skeleton content-md:h-4 content-md:w-32" })
|
|
24080
|
+
] }),
|
|
24081
|
+
/* @__PURE__ */ jsx211("div", { className: "h-3 w-12 rounded bg-ods-skeleton content-md:w-16" })
|
|
24082
|
+
] }),
|
|
24083
|
+
/* @__PURE__ */ jsx211("div", { className: "min-h-[280px] flex-1 space-y-3 overflow-hidden bg-ods-bg p-4 content-md:min-h-[320px] content-md:space-y-4 content-md:p-6 content-lg:min-h-[420px]", children: Array.from({ length: 6 }).map((_, i) => /* @__PURE__ */ jsxs165("div", { className: "flex gap-2 content-md:gap-3", children: [
|
|
24084
|
+
/* @__PURE__ */ jsx211("div", { className: "h-10 w-10 flex-shrink-0 rounded-lg bg-ods-skeleton content-md:h-12 content-md:w-12" }),
|
|
24085
|
+
/* @__PURE__ */ jsxs165("div", { className: "flex-1", children: [
|
|
24086
|
+
/* @__PURE__ */ jsxs165("div", { className: "mb-1 flex items-center gap-2", children: [
|
|
24087
|
+
/* @__PURE__ */ jsx211("div", { className: "h-3 w-16 rounded bg-ods-skeleton content-md:w-20" }),
|
|
24088
|
+
/* @__PURE__ */ jsx211("div", { className: "h-3 w-12 rounded bg-ods-skeleton content-md:w-16" })
|
|
24089
|
+
] }),
|
|
24090
|
+
/* @__PURE__ */ jsx211("div", { className: "h-3 w-full rounded bg-ods-skeleton content-md:h-4" })
|
|
24091
|
+
] })
|
|
24092
|
+
] }, i)) }),
|
|
24093
|
+
/* @__PURE__ */ jsx211("div", { className: "h-[72px] flex-shrink-0 border-t border-ods-border bg-ods-card p-4 content-md:h-[80px] content-md:p-6", children: /* @__PURE__ */ jsx211("div", { className: "flex items-end justify-center gap-3 content-md:justify-end", children: /* @__PURE__ */ jsx211("div", { className: "h-10 w-28 rounded-lg bg-ods-skeleton content-md:h-12 content-md:w-32" }) }) })
|
|
23987
24094
|
] })
|
|
23988
|
-
] }
|
|
23989
|
-
/* @__PURE__ */ jsx211("div", { className: "h-[72px] flex-shrink-0 border-t border-ods-border bg-ods-card p-4 md:h-[80px] md:p-6", children: /* @__PURE__ */ jsx211("div", { className: "flex items-end justify-center gap-3 md:justify-end", children: /* @__PURE__ */ jsx211("div", { className: "h-10 w-28 rounded-lg bg-ods-skeleton md:h-12 md:w-32" }) }) })
|
|
24095
|
+
] })
|
|
23990
24096
|
] })
|
|
23991
|
-
|
|
23992
|
-
|
|
24097
|
+
}
|
|
24098
|
+
);
|
|
23993
24099
|
}
|
|
23994
24100
|
|
|
23995
24101
|
// src/components/content-loading-container.tsx
|
|
@@ -23999,7 +24105,7 @@ function ContentLoadingContainer({
|
|
|
23999
24105
|
children,
|
|
24000
24106
|
skeletonComponent,
|
|
24001
24107
|
className,
|
|
24002
|
-
minHeight = "min-h-[300px] md:min-h-[800px]",
|
|
24108
|
+
minHeight = "min-h-[300px] content-md:min-h-[800px]",
|
|
24003
24109
|
loadingOpacity = 1,
|
|
24004
24110
|
transitionDuration = 300
|
|
24005
24111
|
}) {
|
|
@@ -24051,7 +24157,7 @@ function useContentLoading(isLoading) {
|
|
|
24051
24157
|
return contentType === "vendor" ? 12 : 6;
|
|
24052
24158
|
};
|
|
24053
24159
|
const getMinHeight = (contentType) => {
|
|
24054
|
-
return contentType === "vendor" ? "min-h-[400px] md:min-h-[900px]" : "min-h-[300px] md:min-h-[800px]";
|
|
24160
|
+
return contentType === "vendor" ? "min-h-[400px] content-md:min-h-[900px]" : "min-h-[300px] content-md:min-h-[800px]";
|
|
24055
24161
|
};
|
|
24056
24162
|
return {
|
|
24057
24163
|
containerProps,
|
|
@@ -24075,7 +24181,7 @@ function ListSkeleton({
|
|
|
24075
24181
|
return /* @__PURE__ */ jsx213("div", { className: cn("space-y-3", className), children: Array.from({ length: items }).map((_, index) => /* @__PURE__ */ jsxs167("div", { className: "flex items-center justify-between", children: [
|
|
24076
24182
|
/* @__PURE__ */ jsxs167("div", { className: "flex items-center gap-3", children: [
|
|
24077
24183
|
showIcons && /* @__PURE__ */ jsx213(MediaSkeleton.Icon, { size: "sm" }),
|
|
24078
|
-
/* @__PURE__ */ jsx213(TextSkeleton.Body, { className: "w-32 md:w-48" })
|
|
24184
|
+
/* @__PURE__ */ jsx213(TextSkeleton.Body, { className: "w-32 content-md:w-48" })
|
|
24079
24185
|
] }),
|
|
24080
24186
|
showActions && /* @__PURE__ */ jsxs167("div", { className: "flex items-center gap-2", children: [
|
|
24081
24187
|
/* @__PURE__ */ jsx213(TextSkeleton.Caption, { className: "w-8" }),
|
|
@@ -24122,10 +24228,10 @@ function NavigationSkeleton({
|
|
|
24122
24228
|
return /* @__PURE__ */ jsx213(
|
|
24123
24229
|
"nav",
|
|
24124
24230
|
{
|
|
24125
|
-
className: cn("flex gap-4 md:gap-6", !horizontal && "flex-col", className),
|
|
24231
|
+
className: cn("flex gap-4 content-md:gap-6", !horizontal && "flex-col", className),
|
|
24126
24232
|
role: "status",
|
|
24127
24233
|
"aria-label": "Loading navigation",
|
|
24128
|
-
children: Array.from({ length: items }).map((_, index) => /* @__PURE__ */ jsx213(TextSkeleton.Body, { className: "w-16 md:w-20" }, index))
|
|
24234
|
+
children: Array.from({ length: items }).map((_, index) => /* @__PURE__ */ jsx213(TextSkeleton.Body, { className: "w-16 content-md:w-20" }, index))
|
|
24129
24235
|
}
|
|
24130
24236
|
);
|
|
24131
24237
|
}
|
|
@@ -24243,9 +24349,9 @@ function PricingSkeleton({ className, plans = 3 }) {
|
|
|
24243
24349
|
{
|
|
24244
24350
|
className: cn(
|
|
24245
24351
|
"grid gap-6",
|
|
24246
|
-
plans === 2 && "grid-cols-1 md:grid-cols-2",
|
|
24247
|
-
plans === 3 && "grid-cols-1 md:grid-cols-3",
|
|
24248
|
-
plans === 4 && "grid-cols-1 md:grid-cols-2 lg:grid-cols-4",
|
|
24352
|
+
plans === 2 && "grid-cols-1 content-md:grid-cols-2",
|
|
24353
|
+
plans === 3 && "grid-cols-1 content-md:grid-cols-3",
|
|
24354
|
+
plans === 4 && "grid-cols-1 content-md:grid-cols-2 content-lg:grid-cols-4",
|
|
24249
24355
|
className
|
|
24250
24356
|
),
|
|
24251
24357
|
children: Array.from({ length: plans }).map((_, index) => /* @__PURE__ */ jsx213("div", { className: "rounded-lg border border-ods-border bg-ods-card p-6", children: /* @__PURE__ */ jsxs167("div", { className: "space-y-4", children: [
|
|
@@ -24289,15 +24395,15 @@ function MspProfileFormSkeleton({ className, fields = 4 }) {
|
|
|
24289
24395
|
return /* @__PURE__ */ jsxs169(
|
|
24290
24396
|
"div",
|
|
24291
24397
|
{
|
|
24292
|
-
className: cn("grid grid-cols-1 items-stretch gap-6 md:grid-cols-2", className),
|
|
24398
|
+
className: cn("grid grid-cols-1 items-stretch gap-6 content-md:grid-cols-2", className),
|
|
24293
24399
|
role: "status",
|
|
24294
24400
|
"aria-label": "Loading MSP profile form",
|
|
24295
24401
|
children: [
|
|
24296
24402
|
/* @__PURE__ */ jsxs169("div", { className: "flex h-full flex-col space-y-2", children: [
|
|
24297
24403
|
/* @__PURE__ */ jsx215(TextSkeleton.Body, { className: "w-28" }),
|
|
24298
|
-
/* @__PURE__ */ jsx215("div", { className: "min-h-[180px] flex-1 md:min-h-full", children: /* @__PURE__ */ jsx215(UnifiedSkeleton, { className: "h-full w-full rounded-lg", "aria-label": "Loading company logo" }) })
|
|
24404
|
+
/* @__PURE__ */ jsx215("div", { className: "min-h-[180px] flex-1 content-md:min-h-full", children: /* @__PURE__ */ jsx215(UnifiedSkeleton, { className: "h-full w-full rounded-lg", "aria-label": "Loading company logo" }) })
|
|
24299
24405
|
] }),
|
|
24300
|
-
/* @__PURE__ */ jsx215("div", { className: "grid grid-cols-1 gap-4 md:grid-cols-2", children: Array.from({ length: fields }).map((_, idx) => /* @__PURE__ */ jsxs169("div", { className: "flex flex-col space-y-2", children: [
|
|
24406
|
+
/* @__PURE__ */ jsx215("div", { className: "grid grid-cols-1 gap-4 content-md:grid-cols-2", children: Array.from({ length: fields }).map((_, idx) => /* @__PURE__ */ jsxs169("div", { className: "flex flex-col space-y-2", children: [
|
|
24301
24407
|
/* @__PURE__ */ jsx215(TextSkeleton.Body, { className: "w-40" }),
|
|
24302
24408
|
/* @__PURE__ */ jsx215(InteractiveSkeleton.Input, {})
|
|
24303
24409
|
] }, idx)) })
|
|
@@ -24347,7 +24453,7 @@ function CategoryVendorSelectorSkeleton({ subcategories = 3, className }) {
|
|
|
24347
24453
|
] }),
|
|
24348
24454
|
/* @__PURE__ */ jsx217("div", { className: "space-y-6", children: Array.from({ length: subcategories }).map((_, idx) => /* @__PURE__ */ jsxs171("div", { className: "space-y-2", children: [
|
|
24349
24455
|
/* @__PURE__ */ jsx217(TextSkeleton.Subheading, { className: "w-1/3" }),
|
|
24350
|
-
/* @__PURE__ */ jsx217("div", { className: "grid grid-cols-2 gap-4 md:grid-cols-3", children: Array.from({ length: 2 }).map((__, j) => /* @__PURE__ */ jsx217(UnifiedSkeleton, { className: "h-20 rounded-lg" }, j)) })
|
|
24456
|
+
/* @__PURE__ */ jsx217("div", { className: "grid grid-cols-2 gap-4 content-md:grid-cols-3", children: Array.from({ length: 2 }).map((__, j) => /* @__PURE__ */ jsx217(UnifiedSkeleton, { className: "h-20 rounded-lg" }, j)) })
|
|
24351
24457
|
] }, idx)) })
|
|
24352
24458
|
]
|
|
24353
24459
|
}
|
|
@@ -24374,13 +24480,13 @@ function WizardLayoutSkeleton({ steps = 6, className }) {
|
|
|
24374
24480
|
import { jsx as jsx219, jsxs as jsxs173 } from "react/jsx-runtime";
|
|
24375
24481
|
function MarginReportSkeleton({ animate = true, description, overlayContent }) {
|
|
24376
24482
|
return /* @__PURE__ */ jsxs173("main", { className: `bg-ods-bg ${animate ? "animate-pulse" : ""} relative min-h-screen`, children: [
|
|
24377
|
-
/* @__PURE__ */ jsxs173("div", { className: "mx-auto max-w-[1920px] space-y-10 px-6 py-6 md:px-20 md:py-10", children: [
|
|
24483
|
+
/* @__PURE__ */ jsxs173("div", { className: "mx-auto max-w-[1920px] space-y-10 px-6 py-6 content-md:px-20 content-md:py-10", children: [
|
|
24378
24484
|
/* @__PURE__ */ jsxs173("div", { className: "space-y-3", children: [
|
|
24379
24485
|
/* @__PURE__ */ jsx219("div", { className: "h-10 w-72 rounded bg-ods-skeleton" }),
|
|
24380
24486
|
/* @__PURE__ */ jsx219("div", { className: "h-4 w-80 rounded bg-ods-skeleton" })
|
|
24381
24487
|
] }),
|
|
24382
|
-
/* @__PURE__ */ jsx219("div", { className: "grid grid-cols-1 gap-6 md:grid-cols-3", children: Array.from({ length: 3 }).map((_, i) => /* @__PURE__ */ jsx219("div", { className: "h-32 rounded border border-ods-border bg-ods-card" }, i)) }),
|
|
24383
|
-
/* @__PURE__ */ jsxs173("div", { className: "grid grid-cols-1 gap-6 md:grid-cols-2", children: [
|
|
24488
|
+
/* @__PURE__ */ jsx219("div", { className: "grid grid-cols-1 gap-6 content-md:grid-cols-3", children: Array.from({ length: 3 }).map((_, i) => /* @__PURE__ */ jsx219("div", { className: "h-32 rounded border border-ods-border bg-ods-card" }, i)) }),
|
|
24489
|
+
/* @__PURE__ */ jsxs173("div", { className: "grid grid-cols-1 gap-6 content-md:grid-cols-2", children: [
|
|
24384
24490
|
/* @__PURE__ */ jsxs173("div", { className: "flex animate-pulse items-center gap-4 rounded-lg border border-ods-border bg-ods-card p-6", children: [
|
|
24385
24491
|
/* @__PURE__ */ jsx219("div", { className: "h-14 w-14 rounded-lg bg-ods-skeleton" }),
|
|
24386
24492
|
/* @__PURE__ */ jsxs173("div", { className: "flex-1 space-y-2", children: [
|
|
@@ -24402,7 +24508,7 @@ function MarginReportSkeleton({ animate = true, description, overlayContent }) {
|
|
|
24402
24508
|
/* @__PURE__ */ jsx219("div", { className: "mt-4 h-4 w-40 rounded bg-ods-skeleton" })
|
|
24403
24509
|
] })
|
|
24404
24510
|
] }),
|
|
24405
|
-
/* @__PURE__ */ jsx219("div", { className: "grid grid-cols-1 gap-6 md:grid-cols-2", children: ["Commercial Stack", "Open-Source Stack"].map((label, idx) => /* @__PURE__ */ jsxs173(
|
|
24511
|
+
/* @__PURE__ */ jsx219("div", { className: "grid grid-cols-1 gap-6 content-md:grid-cols-2", children: ["Commercial Stack", "Open-Source Stack"].map((label, idx) => /* @__PURE__ */ jsxs173(
|
|
24406
24512
|
"div",
|
|
24407
24513
|
{
|
|
24408
24514
|
className: "flex animate-pulse flex-col overflow-hidden rounded-lg border border-ods-border bg-ods-card",
|
|
@@ -24423,7 +24529,7 @@ function MarginReportSkeleton({ animate = true, description, overlayContent }) {
|
|
|
24423
24529
|
/* @__PURE__ */ jsx219("div", { className: "h-12 w-12 flex-shrink-0 rounded-lg bg-ods-skeleton" }),
|
|
24424
24530
|
/* @__PURE__ */ jsxs173("div", { className: "flex min-w-0 flex-col", children: [
|
|
24425
24531
|
/* @__PURE__ */ jsx219("div", { className: "h-4 w-32 rounded bg-ods-skeleton" }),
|
|
24426
|
-
/* @__PURE__ */ jsx219("div", { className: "mt-1 hidden h-3 w-24 rounded bg-ods-skeleton md:block" })
|
|
24532
|
+
/* @__PURE__ */ jsx219("div", { className: "mt-1 hidden h-3 w-24 rounded bg-ods-skeleton content-md:block" })
|
|
24427
24533
|
] })
|
|
24428
24534
|
] }),
|
|
24429
24535
|
/* @__PURE__ */ jsxs173("div", { className: "flex flex-shrink-0 items-center gap-1", children: [
|
|
@@ -24439,7 +24545,7 @@ function MarginReportSkeleton({ animate = true, description, overlayContent }) {
|
|
|
24439
24545
|
idx
|
|
24440
24546
|
)) }),
|
|
24441
24547
|
/* @__PURE__ */ jsx219("div", { className: "h-6 w-60 rounded bg-ods-skeleton" }),
|
|
24442
|
-
/* @__PURE__ */ jsx219("div", { className: "grid grid-cols-1 gap-6 md:grid-cols-2 lg:grid-cols-3", children: Array.from({ length: 3 }).map((_, i) => /* @__PURE__ */ jsx219("div", { className: "h-48 rounded border border-ods-border bg-ods-card" }, i)) }),
|
|
24548
|
+
/* @__PURE__ */ jsx219("div", { className: "grid grid-cols-1 gap-6 content-md:grid-cols-2 content-lg:grid-cols-3", children: Array.from({ length: 3 }).map((_, i) => /* @__PURE__ */ jsx219("div", { className: "h-48 rounded border border-ods-border bg-ods-card" }, i)) }),
|
|
24443
24549
|
/* @__PURE__ */ jsxs173("div", { className: "space-y-6 rounded-3xl border border-ods-border p-8", children: [
|
|
24444
24550
|
/* @__PURE__ */ jsxs173("div", { className: "flex items-start gap-6", children: [
|
|
24445
24551
|
/* @__PURE__ */ jsxs173("div", { className: "min-w-0 flex-1 space-y-2", children: [
|
|
@@ -24448,7 +24554,7 @@ function MarginReportSkeleton({ animate = true, description, overlayContent }) {
|
|
|
24448
24554
|
] }),
|
|
24449
24555
|
/* @__PURE__ */ jsx219("div", { className: "h-12 w-12 shrink-0 rounded-md bg-ods-skeleton" })
|
|
24450
24556
|
] }),
|
|
24451
|
-
/* @__PURE__ */ jsx219("div", { className: "grid grid-cols-1 gap-6 md:grid-cols-2 lg:grid-cols-3", children: Array.from({ length: 3 }).map((_, i) => /* @__PURE__ */ jsx219("div", { className: "h-32 rounded border border-ods-border bg-ods-card" }, i)) })
|
|
24557
|
+
/* @__PURE__ */ jsx219("div", { className: "grid grid-cols-1 gap-6 content-md:grid-cols-2 content-lg:grid-cols-3", children: Array.from({ length: 3 }).map((_, i) => /* @__PURE__ */ jsx219("div", { className: "h-32 rounded border border-ods-border bg-ods-card" }, i)) })
|
|
24452
24558
|
] })
|
|
24453
24559
|
] }),
|
|
24454
24560
|
overlayContent && /* @__PURE__ */ jsx219("div", { className: "pointer-events-none absolute inset-0 z-10 rounded-lg bg-ods-card/80", children: /* @__PURE__ */ jsxs173("div", { className: "pointer-events-auto fixed left-1/2 top-1/2 flex -translate-x-1/2 -translate-y-1/2 flex-col items-center gap-4 px-4 text-center", children: [
|
|
@@ -24628,7 +24734,7 @@ var SkeletonPresets = {
|
|
|
24628
24734
|
/**
|
|
24629
24735
|
* Vendor grid skeleton (specific to the app)
|
|
24630
24736
|
*/
|
|
24631
|
-
VendorGrid: ({ items = 6 }) => /* @__PURE__ */ jsx221("div", { className: "grid grid-cols-1 gap-6 md:grid-cols-2 lg:grid-cols-3", children: Array.from({ length: items }, (_, index) => /* @__PURE__ */ jsxs175("div", { className: "space-y-3 rounded-lg border border-ods-border bg-ods-card p-4", children: [
|
|
24737
|
+
VendorGrid: ({ items = 6 }) => /* @__PURE__ */ jsx221("div", { className: "grid grid-cols-1 gap-6 content-md:grid-cols-2 content-lg:grid-cols-3", children: Array.from({ length: items }, (_, index) => /* @__PURE__ */ jsxs175("div", { className: "space-y-3 rounded-lg border border-ods-border bg-ods-card p-4", children: [
|
|
24632
24738
|
/* @__PURE__ */ jsxs175("div", { className: "flex items-center gap-3", children: [
|
|
24633
24739
|
/* @__PURE__ */ jsx221(DynamicSkeleton, { variant: "avatar", size: "md" }),
|
|
24634
24740
|
/* @__PURE__ */ jsxs175("div", { className: "flex-1", children: [
|
|
@@ -24766,7 +24872,7 @@ function OrganizationCardSkeleton({
|
|
|
24766
24872
|
/* @__PURE__ */ jsx223(TextSkeleton.Body, { className: "w-2/3" })
|
|
24767
24873
|
] }) }),
|
|
24768
24874
|
showFooter && /* @__PURE__ */ jsxs176("div", { className: "flex w-full min-w-0 items-center justify-between gap-2", children: [
|
|
24769
|
-
/* @__PURE__ */ jsxs176("div", { className: "flex min-w-0 flex-shrink items-center gap-3 md:gap-4", children: [
|
|
24875
|
+
/* @__PURE__ */ jsxs176("div", { className: "flex min-w-0 flex-shrink items-center gap-3 content-md:gap-4", children: [
|
|
24770
24876
|
/* @__PURE__ */ jsxs176("div", { className: "flex flex-shrink-0 items-center gap-1", children: [
|
|
24771
24877
|
/* @__PURE__ */ jsx223(MediaSkeleton.Icon, { size: "sm", className: "h-5 w-5" }),
|
|
24772
24878
|
/* @__PURE__ */ jsx223(TextSkeleton.Caption, { className: "w-8" })
|
|
@@ -24795,7 +24901,7 @@ function OrganizationCardSkeletonGrid({
|
|
|
24795
24901
|
return /* @__PURE__ */ jsx223(
|
|
24796
24902
|
"div",
|
|
24797
24903
|
{
|
|
24798
|
-
className: cn("grid grid-cols-1 gap-4 md:grid-cols-2 md:gap-6 lg:grid-cols-3", className),
|
|
24904
|
+
className: cn("grid grid-cols-1 gap-4 content-md:grid-cols-2 content-md:gap-6 content-lg:grid-cols-3", className),
|
|
24799
24905
|
role: "status",
|
|
24800
24906
|
"aria-label": `Loading ${count} organization cards`,
|
|
24801
24907
|
children: Array.from({ length: count }, (_, index) => /* @__PURE__ */ jsx223(
|
|
@@ -24843,7 +24949,7 @@ function DeviceCardSkeletonGrid({ count = 12, className }) {
|
|
|
24843
24949
|
return /* @__PURE__ */ jsx224(
|
|
24844
24950
|
"div",
|
|
24845
24951
|
{
|
|
24846
|
-
className: cn("grid grid-cols-1 gap-4 md:grid-cols-2 lg:grid-cols-4", className),
|
|
24952
|
+
className: cn("grid grid-cols-1 gap-4 content-md:grid-cols-2 content-lg:grid-cols-4", className),
|
|
24847
24953
|
role: "status",
|
|
24848
24954
|
"aria-label": `Loading ${count} device cards`,
|
|
24849
24955
|
children: Array.from({ length: count }, (_, index) => /* @__PURE__ */ jsx224(DeviceCardSkeleton, {}, index))
|
|
@@ -25089,7 +25195,7 @@ var SelectButton = React12.forwardRef(
|
|
|
25089
25195
|
disabled,
|
|
25090
25196
|
onClick,
|
|
25091
25197
|
className: cn(
|
|
25092
|
-
"group flex h-11 items-center gap-1 rounded-[6px] border px-3 py-3 transition-colors duration-200 md:h-16 md:gap-2 md:px-4",
|
|
25198
|
+
"group flex h-11 items-center gap-1 rounded-[6px] border px-3 py-3 transition-colors duration-200 content-md:h-16 content-md:gap-2 content-md:px-4",
|
|
25093
25199
|
"w-full text-left font-body",
|
|
25094
25200
|
"focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ods-focus",
|
|
25095
25201
|
"disabled:pointer-events-none disabled:opacity-50",
|
|
@@ -25104,7 +25210,7 @@ var SelectButton = React12.forwardRef(
|
|
|
25104
25210
|
"span",
|
|
25105
25211
|
{
|
|
25106
25212
|
className: cn(
|
|
25107
|
-
"flex size-4 shrink-0 items-center justify-center md:size-6",
|
|
25213
|
+
"flex size-4 shrink-0 items-center justify-center content-md:size-6",
|
|
25108
25214
|
selected ? "text-ods-accent" : "text-ods-text-secondary"
|
|
25109
25215
|
),
|
|
25110
25216
|
children: icon
|
|
@@ -25127,7 +25233,7 @@ var SelectButton = React12.forwardRef(
|
|
|
25127
25233
|
"span",
|
|
25128
25234
|
{
|
|
25129
25235
|
className: cn(
|
|
25130
|
-
"hidden truncate text-h6 md:flex",
|
|
25236
|
+
"hidden truncate text-h6 content-md:flex",
|
|
25131
25237
|
selected ? "text-ods-accent" : "text-ods-text-secondary"
|
|
25132
25238
|
),
|
|
25133
25239
|
title: description,
|
|
@@ -25136,7 +25242,7 @@ var SelectButton = React12.forwardRef(
|
|
|
25136
25242
|
)
|
|
25137
25243
|
] }),
|
|
25138
25244
|
tag && /* @__PURE__ */ jsx226(Tag, { variant: tagVariant, className: "shrink-0", label: tag }),
|
|
25139
|
-
selected && /* @__PURE__ */ jsx226(CheckCircleIcon, { className: "size-4 shrink-0 text-ods-accent md:size-6" })
|
|
25245
|
+
selected && /* @__PURE__ */ jsx226(CheckCircleIcon, { className: "size-4 shrink-0 text-ods-accent content-md:size-6" })
|
|
25140
25246
|
]
|
|
25141
25247
|
}
|
|
25142
25248
|
);
|
|
@@ -25244,7 +25350,7 @@ function SEOEditorPreview({
|
|
|
25244
25350
|
};
|
|
25245
25351
|
return /* @__PURE__ */ jsxs181("div", { className: cn("space-y-6 rounded-lg border border-ods-border bg-ods-card p-6", className), children: [
|
|
25246
25352
|
/* @__PURE__ */ jsx228("h3", { className: "text-ods-text-primary text-h5", children: "SEO & Open Graph" }),
|
|
25247
|
-
/* @__PURE__ */ jsxs181("div", { className: "grid grid-cols-1 gap-4 lg:grid-cols-2", children: [
|
|
25353
|
+
/* @__PURE__ */ jsxs181("div", { className: "grid grid-cols-1 gap-4 content-lg:grid-cols-2", children: [
|
|
25248
25354
|
/* @__PURE__ */ jsxs181("div", { className: "space-y-2", children: [
|
|
25249
25355
|
/* @__PURE__ */ jsx228(
|
|
25250
25356
|
Field,
|
|
@@ -25316,7 +25422,7 @@ function SEOEditorPreview({
|
|
|
25316
25422
|
}
|
|
25317
25423
|
)
|
|
25318
25424
|
] }),
|
|
25319
|
-
/* @__PURE__ */ jsxs181("div", { className: "grid grid-cols-1 gap-4 lg:grid-cols-2", children: [
|
|
25425
|
+
/* @__PURE__ */ jsxs181("div", { className: "grid grid-cols-1 gap-4 content-lg:grid-cols-2", children: [
|
|
25320
25426
|
/* @__PURE__ */ jsxs181("div", { className: "space-y-2", children: [
|
|
25321
25427
|
/* @__PURE__ */ jsx228(
|
|
25322
25428
|
Field,
|
|
@@ -28090,12 +28196,12 @@ var PolicyRow = ({ policy, categoryId, editMode, onPermissionChange }) => {
|
|
|
28090
28196
|
const handleChange = (level) => {
|
|
28091
28197
|
if (level) onPermissionChange(categoryId, policy.id, level);
|
|
28092
28198
|
};
|
|
28093
|
-
return /* @__PURE__ */ jsxs202("div", { className: "flex items-start gap-[var(--spacing-system-m)] border-b border-ods-border bg-ods-bg px-[var(--spacing-system-m)] py-[var(--spacing-system-sf)] last:border-b-0 md:items-center", children: [
|
|
28199
|
+
return /* @__PURE__ */ jsxs202("div", { className: "flex items-start gap-[var(--spacing-system-m)] border-b border-ods-border bg-ods-bg px-[var(--spacing-system-m)] py-[var(--spacing-system-sf)] last:border-b-0 content-md:items-center", children: [
|
|
28094
28200
|
/* @__PURE__ */ jsx255("div", { className: "flex h-8 w-8 shrink-0 items-center justify-center rounded-md border border-ods-border bg-ods-bg", children: /* @__PURE__ */ jsx255(ToolIcon, { toolType: policy.toolName, size: 16 }) }),
|
|
28095
28201
|
/* @__PURE__ */ jsxs202("div", { className: "flex min-w-0 flex-1 flex-col", children: [
|
|
28096
28202
|
/* @__PURE__ */ jsx255("p", { className: "truncate text-ods-text-primary text-h4", title: policy.name, children: policy.name }),
|
|
28097
28203
|
/* @__PURE__ */ jsx255("p", { className: "break-all text-ods-text-secondary text-h6", children: policy.commandPattern }),
|
|
28098
|
-
editMode ? /* @__PURE__ */ jsx255("div", { className: "mt-[var(--spacing-system-xsf)] md:hidden", children: /* @__PURE__ */ jsx255(
|
|
28204
|
+
editMode ? /* @__PURE__ */ jsx255("div", { className: "mt-[var(--spacing-system-xsf)] content-md:hidden", children: /* @__PURE__ */ jsx255(
|
|
28099
28205
|
ApprovalLevelDropdown,
|
|
28100
28206
|
{
|
|
28101
28207
|
value: policy.approvalLevel,
|
|
@@ -28103,9 +28209,9 @@ var PolicyRow = ({ policy, categoryId, editMode, onPermissionChange }) => {
|
|
|
28103
28209
|
triggerClassName: "w-full",
|
|
28104
28210
|
contentClassName: POLICY_LEVEL_WIDTH
|
|
28105
28211
|
}
|
|
28106
|
-
) }) : policy.approvalLevel ? /* @__PURE__ */ jsx255("span", { className: "text-ods-text-primary text-h4 md:hidden", children: getApprovalLevelLabel(policy.approvalLevel) }) : null
|
|
28212
|
+
) }) : policy.approvalLevel ? /* @__PURE__ */ jsx255("span", { className: "text-ods-text-primary text-h4 content-md:hidden", children: getApprovalLevelLabel(policy.approvalLevel) }) : null
|
|
28107
28213
|
] }),
|
|
28108
|
-
/* @__PURE__ */ jsx255("div", { className: "hidden shrink-0 md:block", children: editMode ? /* @__PURE__ */ jsx255(
|
|
28214
|
+
/* @__PURE__ */ jsx255("div", { className: "hidden shrink-0 content-md:block", children: editMode ? /* @__PURE__ */ jsx255(
|
|
28109
28215
|
ApprovalLevelDropdown,
|
|
28110
28216
|
{
|
|
28111
28217
|
value: policy.approvalLevel,
|
|
@@ -28133,7 +28239,7 @@ var CategorySection = ({ category, editMode, isExpanded, bulkLevel, onToggle, on
|
|
|
28133
28239
|
category.policies.length,
|
|
28134
28240
|
" Configurations"
|
|
28135
28241
|
] }),
|
|
28136
|
-
editMode && /* @__PURE__ */ jsx255("div", { className: "mt-[var(--spacing-system-xsf)] md:hidden", onClick: (e) => e.stopPropagation(), children: /* @__PURE__ */ jsx255(
|
|
28242
|
+
editMode && /* @__PURE__ */ jsx255("div", { className: "mt-[var(--spacing-system-xsf)] content-md:hidden", onClick: (e) => e.stopPropagation(), children: /* @__PURE__ */ jsx255(
|
|
28137
28243
|
ApprovalLevelDropdown,
|
|
28138
28244
|
{
|
|
28139
28245
|
value: bulkLevel,
|
|
@@ -28144,7 +28250,7 @@ var CategorySection = ({ category, editMode, isExpanded, bulkLevel, onToggle, on
|
|
|
28144
28250
|
}
|
|
28145
28251
|
) })
|
|
28146
28252
|
] }),
|
|
28147
|
-
editMode ? /* @__PURE__ */ jsx255("div", { className: "hidden shrink-0 md:block", onClick: (e) => e.stopPropagation(), children: /* @__PURE__ */ jsx255(
|
|
28253
|
+
editMode ? /* @__PURE__ */ jsx255("div", { className: "hidden shrink-0 content-md:block", onClick: (e) => e.stopPropagation(), children: /* @__PURE__ */ jsx255(
|
|
28148
28254
|
ApprovalLevelDropdown,
|
|
28149
28255
|
{
|
|
28150
28256
|
value: bulkLevel,
|
|
@@ -28157,7 +28263,7 @@ var CategorySection = ({ category, editMode, isExpanded, bulkLevel, onToggle, on
|
|
|
28157
28263
|
"div",
|
|
28158
28264
|
{
|
|
28159
28265
|
className: cn(
|
|
28160
|
-
"hidden shrink-0 px-[var(--spacing-system-sf)] py-[var(--spacing-system-xsf)] md:block",
|
|
28266
|
+
"hidden shrink-0 px-[var(--spacing-system-sf)] py-[var(--spacing-system-xsf)] content-md:block",
|
|
28161
28267
|
CATEGORY_LEVEL_WIDTH
|
|
28162
28268
|
)
|
|
28163
28269
|
}
|
|
@@ -28453,7 +28559,7 @@ function WaitlistForm({
|
|
|
28453
28559
|
disabled: isSubmitting,
|
|
28454
28560
|
leftIcon: /* @__PURE__ */ jsx256(OpenFrameLogo, {}),
|
|
28455
28561
|
onClick: handleSubmit,
|
|
28456
|
-
className: "w-full md:w-auto",
|
|
28562
|
+
className: "w-full content-md:w-auto",
|
|
28457
28563
|
children: isSuccess ? successLabel : submitLabel
|
|
28458
28564
|
}
|
|
28459
28565
|
)
|
|
@@ -31293,7 +31399,7 @@ function BoardColumnHeader({
|
|
|
31293
31399
|
const count = column.total ?? column.tickets.length;
|
|
31294
31400
|
const tagStatus = column.statusKey ?? column.id;
|
|
31295
31401
|
const useStatusVariant = resolveTicketStatus(tagStatus) !== null;
|
|
31296
|
-
const actionClass = "h-8 w-8 p-0 md:h-8 md:w-8";
|
|
31402
|
+
const actionClass = "h-8 w-8 p-0 content-md:h-8 content-md:w-8";
|
|
31297
31403
|
if (collapsed) {
|
|
31298
31404
|
return /* @__PURE__ */ jsxs221("div", { className: "flex h-full flex-col items-center gap-[var(--spacing-system-xsf)]", children: [
|
|
31299
31405
|
onToggleCollapse && /* @__PURE__ */ jsx278(
|