@flamingo-stack/openframe-frontend-core 0.0.702 → 0.0.703-snapshot.20261006080901
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{chunk-CYYTD5ZK.cjs → chunk-262YQFOS.cjs} +47 -47
- package/dist/{chunk-SAA7B3DA.js → chunk-2G546OND.js} +500 -67
- package/dist/{chunk-6JPQDYYY.js → chunk-2JDVL7UV.js} +2614 -2001
- package/dist/{chunk-ASN65P3F.cjs → chunk-4DQMTBMK.cjs} +15 -15
- package/dist/{chunk-CZ34HXDW.js → chunk-4KGXLVCF.js} +686 -725
- package/dist/{chunk-TCZCMD5Q.js → chunk-5HBHO5TB.js} +1 -1
- package/dist/{chunk-446KS5BG.js → chunk-5QJDM6UV.js} +5 -5
- package/dist/{chunk-UJJWTJ6S.js → chunk-6WQIUQUC.js} +30 -16
- package/dist/{chunk-YR6JPJF4.js → chunk-6XIF2Z7I.js} +4 -4
- package/dist/{chunk-YGRHITPY.cjs → chunk-7JIL3WOH.cjs} +24 -24
- package/dist/{chunk-RS7HWAYX.js → chunk-7LFIKJX2.js} +3 -3
- package/dist/{chunk-4OGAXAEG.cjs → chunk-ABU3TGXA.cjs} +3 -3
- package/dist/{chunk-3WSFIV5G.cjs → chunk-AMYY3PNL.cjs} +69 -55
- package/dist/{chunk-BRXOGCH3.cjs → chunk-BIZNSF3U.cjs} +3 -3
- package/dist/{chunk-2A4XES7R.cjs → chunk-BM5MVGH3.cjs} +3 -3
- package/dist/{chunk-IIMICN7L.cjs → chunk-C3BWIU7R.cjs} +4 -44
- package/dist/{chunk-LZNJH23A.cjs → chunk-C7XGRLT5.cjs} +12 -12
- package/dist/{chunk-6YCXA7CN.js → chunk-CH5232HV.js} +20 -19
- package/dist/{chunk-UIBSSVON.cjs → chunk-D7BTSVMS.cjs} +2 -2
- package/dist/{chunk-BO5ZHDA4.js → chunk-ERCV6HHJ.js} +7 -7
- package/dist/{chunk-5V6O73EH.js → chunk-FLKJYMVB.js} +3 -3
- package/dist/{chunk-Z5HDCZAS.js → chunk-FXENTYE5.js} +15 -15
- package/dist/{chunk-HIXGAY2L.cjs → chunk-HFJW24JJ.cjs} +121 -121
- package/dist/{chunk-HPJ4XS2L.js → chunk-HJAYVKWQ.js} +24 -24
- package/dist/{chunk-PLK6GHN7.js → chunk-I7DFUQMN.js} +10 -10
- package/dist/{chunk-KJ5LWATV.js → chunk-IHU5ANUY.js} +7 -7
- package/dist/{chunk-AEQANLBW.cjs → chunk-IZGDG5X6.cjs} +505 -72
- package/dist/{chunk-2V4Z44G6.js → chunk-JEYRXT5L.js} +17 -17
- package/dist/{chunk-B3LZJ6J3.cjs → chunk-L3IC42IF.cjs} +32 -32
- package/dist/{chunk-RTGPIHVO.cjs → chunk-LDPEQGKT.cjs} +2243 -1630
- package/dist/{chunk-FD4DBTFO.cjs → chunk-LTSTC3N5.cjs} +1253 -1292
- package/dist/{chunk-OGLCD3UL.js → chunk-MFFCUVWG.js} +6 -6
- package/dist/{chunk-3L7KCOGO.cjs → chunk-MGGGBHYD.cjs} +30 -30
- package/dist/{chunk-QFW3RUZS.cjs → chunk-MI3JUJ75.cjs} +33 -33
- package/dist/{chunk-EMCQGFXD.cjs → chunk-MMOODW57.cjs} +28 -27
- package/dist/{chunk-Q76ZTHNV.js → chunk-MP2C3LJ4.js} +1 -1
- package/dist/{chunk-E3DH543A.cjs → chunk-N3TO7JV3.cjs} +98 -98
- package/dist/{chunk-2T6QWNXU.js → chunk-NDESEPW5.js} +99 -11
- package/dist/{chunk-ETFFEA3J.js → chunk-NRLJUBCS.js} +7 -7
- package/dist/{chunk-HUOLB7ZN.cjs → chunk-OHFS7VOU.cjs} +9 -9
- package/dist/{chunk-MWUBBBWZ.js → chunk-QVSFBSWV.js} +10 -10
- package/dist/{chunk-MDBHZBW7.cjs → chunk-RKV5B7EU.cjs} +92 -4
- package/dist/{chunk-3G76LRGL.cjs → chunk-SYXQLETR.cjs} +29 -29
- package/dist/{chunk-FHM7GD5B.cjs → chunk-UK62YTH6.cjs} +28 -14
- package/dist/{chunk-HUMWQMCU.js → chunk-UT4YHQZW.js} +3 -3
- package/dist/{chunk-NGJCWEYX.cjs → chunk-VHCACDKP.cjs} +46 -46
- package/dist/{chunk-5FFNNJM7.js → chunk-VR2ZLFCP.js} +1 -1
- package/dist/{chunk-IZKOQVXO.js → chunk-VTASHWER.js} +14 -14
- package/dist/{chunk-64O4L7WN.js → chunk-WUJNYGO2.js} +11 -51
- package/dist/{chunk-JOY6HVPV.js → chunk-XATTBO5X.js} +25 -11
- package/dist/{chunk-L7KZA7ZD.cjs → chunk-XIFOBQRQ.cjs} +6 -6
- package/dist/{chunk-CXDJUKC6.cjs → chunk-XJKZ4IKT.cjs} +4 -4
- package/dist/{chunk-XCIFHW4E.cjs → chunk-XOYH2YQE.cjs} +2 -2
- package/dist/{chunk-HYFLTFFB.js → chunk-ZQFZSFQI.js} +2 -2
- package/dist/components/case-studies/index.cjs +24 -24
- package/dist/components/case-studies/index.js +10 -10
- package/dist/components/chat/chat-archive-page.d.ts +3 -3
- package/dist/components/chat/chat-archive-page.d.ts.map +1 -1
- package/dist/components/chat/chat-nav-sidebar.d.ts +4 -0
- package/dist/components/chat/chat-nav-sidebar.d.ts.map +1 -1
- package/dist/components/chat/chat-panel-header.d.ts +3 -2
- package/dist/components/chat/chat-panel-header.d.ts.map +1 -1
- package/dist/components/chat/embeddable-chat.d.ts +36 -2
- package/dist/components/chat/embeddable-chat.d.ts.map +1 -1
- package/dist/components/chat/index.cjs +14 -6
- package/dist/components/chat/index.d.ts +4 -1
- package/dist/components/chat/index.d.ts.map +1 -1
- package/dist/components/chat/index.js +13 -5
- package/dist/components/chat/mingo-archive-list.d.ts +17 -0
- package/dist/components/chat/mingo-archive-list.d.ts.map +1 -0
- package/dist/components/chat/mingo-chat-header.d.ts +31 -0
- package/dist/components/chat/mingo-chat-header.d.ts.map +1 -0
- package/dist/components/chat/mingo-chat-rail.d.ts +54 -0
- package/dist/components/chat/mingo-chat-rail.d.ts.map +1 -0
- package/dist/components/chat/model-display.d.ts.map +1 -1
- package/dist/components/contact/contact-form.d.ts.map +1 -1
- package/dist/components/contact/index.cjs +11 -11
- package/dist/components/contact/index.js +10 -10
- package/dist/components/content-loading-container.d.ts +1 -1
- package/dist/components/content-loading-container.d.ts.map +1 -1
- package/dist/components/docs/index.cjs +14 -14
- package/dist/components/docs/index.js +13 -13
- package/dist/components/docs/skeletons.d.ts.map +1 -1
- package/dist/components/embeds/index.cjs +11 -11
- package/dist/components/embeds/index.js +10 -10
- package/dist/components/faq/index.cjs +12 -12
- package/dist/components/faq/index.js +11 -11
- package/dist/components/features/figma-prototype-viewer.d.ts.map +1 -1
- package/dist/components/features/index.cjs +10 -10
- package/dist/components/features/index.js +9 -9
- package/dist/components/features/media-gallery-manager.d.ts.map +1 -1
- package/dist/components/features/parallax-image-showcase.d.ts.map +1 -1
- package/dist/components/features/policy-configuration-panel.d.ts.map +1 -1
- package/dist/components/features/section-selector.d.ts.map +1 -1
- package/dist/components/help-center-pages/index.cjs +119 -119
- package/dist/components/help-center-pages/index.js +39 -39
- package/dist/components/help-center-pages/trust-center-sections.d.ts +2 -2
- package/dist/components/help-center-pages/trust-center-sections.d.ts.map +1 -1
- package/dist/components/index.cjs +94 -86
- package/dist/components/index.js +32 -24
- package/dist/components/layout/article-detail-layout.d.ts +1 -1
- package/dist/components/layout/article-detail-layout.d.ts.map +1 -1
- package/dist/components/layout/page-container.d.ts.map +1 -1
- package/dist/components/layout/title-block.d.ts +2 -2
- package/dist/components/layout/title-block.d.ts.map +1 -1
- package/dist/components/loading/page-layout-skeleton.d.ts.map +1 -1
- package/dist/components/loading/unified-skeleton.d.ts.map +1 -1
- package/dist/components/meeting-scheduler/booking-form.d.ts +4 -4
- package/dist/components/meeting-scheduler/booking-form.d.ts.map +1 -1
- package/dist/components/meeting-scheduler/context-panel.d.ts.map +1 -1
- package/dist/components/meeting-scheduler/index.cjs +127 -127
- package/dist/components/meeting-scheduler/index.d.ts +2 -2
- package/dist/components/meeting-scheduler/index.d.ts.map +1 -1
- package/dist/components/meeting-scheduler/index.js +50 -50
- package/dist/components/navigation/app-header.d.ts +4 -0
- package/dist/components/navigation/app-header.d.ts.map +1 -1
- package/dist/components/navigation/app-layout-drawer.d.ts.map +1 -1
- package/dist/components/navigation/app-layout-side-panel.d.ts +142 -0
- package/dist/components/navigation/app-layout-side-panel.d.ts.map +1 -0
- package/dist/components/navigation/app-layout.d.ts +11 -1
- package/dist/components/navigation/app-layout.d.ts.map +1 -1
- package/dist/components/navigation/header-mingo-button.d.ts +4 -1
- package/dist/components/navigation/header-mingo-button.d.ts.map +1 -1
- package/dist/components/navigation/index.cjs +13 -13
- package/dist/components/navigation/index.d.ts +1 -0
- package/dist/components/navigation/index.d.ts.map +1 -1
- package/dist/components/navigation/index.js +12 -12
- package/dist/components/navigation/navigation-sidebar.d.ts +8 -1
- package/dist/components/navigation/navigation-sidebar.d.ts.map +1 -1
- package/dist/components/navigation/sliding-sidebar.d.ts.map +1 -1
- package/dist/components/onboarding-guides/index.cjs +14 -14
- package/dist/components/onboarding-guides/index.js +13 -13
- package/dist/components/persistent-filter-controls.d.ts.map +1 -1
- package/dist/components/related-content/index.cjs +7 -7
- package/dist/components/related-content/index.js +6 -6
- package/dist/components/shared/detail-page-skeleton.d.ts.map +1 -1
- package/dist/components/tickets/help-center-create-form.d.ts +4 -4
- package/dist/components/tickets/index.cjs +15 -15
- package/dist/components/tickets/index.js +14 -14
- package/dist/components/ui/announcement-bar-view.d.ts.map +1 -1
- package/dist/components/ui/breadcrumb.d.ts.map +1 -1
- package/dist/components/ui/checkbox-block.d.ts.map +1 -1
- package/dist/components/ui/dashboard-info-card.d.ts +1 -1
- package/dist/components/ui/dashboard-info-card.d.ts.map +1 -1
- package/dist/components/ui/data-table/data-table-body.d.ts +2 -2
- package/dist/components/ui/data-table/data-table-skeleton.d.ts +2 -2
- package/dist/components/ui/data-table/data-table-skeleton.d.ts.map +1 -1
- package/dist/components/ui/data-table/utils.d.ts +2 -2
- package/dist/components/ui/dialog.d.ts.map +1 -1
- package/dist/components/ui/drawer.d.ts +7 -3
- package/dist/components/ui/drawer.d.ts.map +1 -1
- package/dist/components/ui/entity-image.d.ts +2 -2
- package/dist/components/ui/file-manager/index.cjs +36 -36
- package/dist/components/ui/file-manager/index.js +3 -3
- package/dist/components/ui/filter-modal.d.ts.map +1 -1
- package/dist/components/ui/index.cjs +18 -10
- package/dist/components/ui/index.js +17 -9
- package/dist/components/ui/info-card-row.d.ts.map +1 -1
- package/dist/components/ui/menubar.d.ts +1 -1
- package/dist/components/ui/menubar.d.ts.map +1 -1
- package/dist/components/ui/modal-v2.d.ts.map +1 -1
- package/dist/components/ui/modal.d.ts.map +1 -1
- package/dist/components/ui/no-data/no-data-actions.d.ts.map +1 -1
- package/dist/components/ui/no-data/no-data-styles.d.ts +1 -1
- package/dist/components/ui/no-data/no-data-styles.d.ts.map +1 -1
- package/dist/components/ui/page-actions.d.ts.map +1 -1
- package/dist/components/ui/panel-resize-handle.d.ts +25 -0
- package/dist/components/ui/panel-resize-handle.d.ts.map +1 -0
- package/dist/components/ui/sheet.d.ts.map +1 -1
- package/dist/components/ui/table/table-skeleton.d.ts +1 -1
- package/dist/components/ui/table/table-skeleton.d.ts.map +1 -1
- package/dist/hooks/index.cjs +23 -9
- package/dist/hooks/index.js +24 -10
- package/dist/hooks/ui/index.d.ts +1 -0
- package/dist/hooks/ui/index.d.ts.map +1 -1
- package/dist/hooks/ui/use-content-breakpoint.d.ts +32 -0
- package/dist/hooks/ui/use-content-breakpoint.d.ts.map +1 -0
- package/dist/hooks/ui/use-isomorphic-layout-effect.d.ts +2 -2
- package/dist/hooks/ui/use-isomorphic-layout-effect.d.ts.map +1 -1
- package/dist/hooks/ui/use-media-query.d.ts.map +1 -1
- package/dist/hooks/ui/use-resizable-panel-size.d.ts +46 -0
- package/dist/hooks/ui/use-resizable-panel-size.d.ts.map +1 -0
- package/dist/index.cjs +39 -17
- package/dist/index.js +41 -19
- package/dist/styles/layout-steps.d.ts +30 -0
- package/dist/styles/layout-steps.d.ts.map +1 -0
- package/dist/tailwind.config.cjs +36 -11
- package/dist/tailwind.config.js +36 -11
- package/eslint-config/README.md +9 -0
- package/eslint-config/base.js +17 -1
- package/eslint-config/layout-variants.js +57 -0
- package/package.json +3 -1
- package/src/ODS_TOKEN_RULES.md +40 -0
- package/src/components/chat/chat-archive-page.tsx +9 -7
- package/src/components/chat/chat-nav-sidebar.tsx +10 -4
- package/src/components/chat/chat-panel-header.tsx +8 -5
- package/src/components/chat/embeddable-chat.tsx +686 -494
- package/src/components/chat/index.ts +4 -0
- package/src/components/chat/mingo-archive-list.tsx +108 -0
- package/src/components/chat/mingo-chat-header.tsx +104 -0
- package/src/components/chat/mingo-chat-rail.tsx +361 -0
- package/src/components/chat/model-display.tsx +8 -1
- package/src/components/contact/contact-form.tsx +11 -9
- package/src/components/content-loading-container.tsx +4 -2
- package/src/components/docs/doc-viewer.tsx +7 -7
- package/src/components/docs/skeletons.tsx +7 -4
- package/src/components/dynamic-skeleton.tsx +1 -1
- package/src/components/embeds/claude-embed.tsx +1 -1
- package/src/components/embeds/embed-viewer-frame.tsx +4 -4
- package/src/components/embeds/figma-embed.tsx +2 -2
- package/src/components/embeds/google-sheets-viewer.tsx +1 -1
- package/src/components/embeds/pdf-viewer.tsx +3 -3
- package/src/components/empty-state.tsx +6 -6
- package/src/components/faq/faq-section.tsx +2 -2
- package/src/components/faq-accordion.tsx +1 -1
- package/src/components/features/board/board-column-header.tsx +1 -1
- package/src/components/features/command-box.tsx +3 -3
- package/src/components/features/entity-video-section.tsx +2 -2
- package/src/components/features/figma-prototype-viewer.tsx +4 -1
- package/src/components/features/media-gallery-manager.tsx +3 -1
- package/src/components/features/parallax-image-showcase.tsx +9 -6
- package/src/components/features/policy-configuration-panel.tsx +9 -7
- package/src/components/features/provider-button.tsx +1 -1
- package/src/components/features/section-selector.tsx +11 -6
- package/src/components/features/select-button.tsx +4 -4
- package/src/components/features/seo-editor-preview.tsx +2 -2
- package/src/components/features/video-ratio-tabs.tsx +3 -3
- package/src/components/features/waitlist-form.tsx +1 -1
- package/src/components/help-center-pages/trust-center-page.tsx +1 -1
- package/src/components/help-center-pages/trust-center-sections.tsx +14 -14
- package/src/components/icon-display.tsx +1 -1
- package/src/components/layout/article-detail-layout.tsx +4 -2
- package/src/components/layout/list-page-layout.tsx +2 -2
- package/src/components/layout/page-container.tsx +26 -14
- package/src/components/layout/page-heading.tsx +1 -1
- package/src/components/layout/page-layout.tsx +1 -1
- package/src/components/layout/title-block.tsx +13 -13
- package/src/components/loading/card-skeleton.tsx +11 -11
- package/src/components/loading/category-vendor-selector-skeleton.tsx +1 -1
- package/src/components/loading/content-skeleton.tsx +6 -6
- package/src/components/loading/device-card-skeleton.tsx +1 -1
- package/src/components/loading/margin-report-skeleton.tsx +7 -7
- package/src/components/loading/msp-profile-form-skeleton.tsx +3 -3
- package/src/components/loading/organization-card-skeleton.tsx +2 -2
- package/src/components/loading/page-layout-skeleton.tsx +80 -68
- package/src/components/loading/unified-skeleton.tsx +16 -6
- package/src/components/media-carousel.tsx +3 -3
- package/src/components/meeting-scheduler/booking-form.tsx +9 -8
- package/src/components/meeting-scheduler/context-panel.tsx +8 -6
- package/src/components/meeting-scheduler/directory.tsx +4 -4
- package/src/components/meeting-scheduler/index.tsx +15 -15
- package/src/components/meeting-scheduler/slot-picker.tsx +12 -12
- package/src/components/navigation/app-header.tsx +6 -0
- package/src/components/navigation/app-layout-drawer.tsx +14 -237
- package/src/components/navigation/app-layout-side-panel.tsx +594 -0
- package/src/components/navigation/app-layout.tsx +69 -4
- package/src/components/navigation/header-mingo-button.tsx +13 -3
- package/src/components/navigation/index.ts +5 -0
- package/src/components/navigation/navigation-sidebar.tsx +17 -3
- package/src/components/navigation/sliding-sidebar.tsx +2 -1
- package/src/components/pagination.tsx +3 -3
- package/src/components/persistent-filter-controls.tsx +6 -2
- package/src/components/platform/ScriptArguments.tsx +1 -1
- package/src/components/platform/ScriptInfoSection.tsx +4 -4
- package/src/components/shared/article-author-byline.tsx +1 -1
- package/src/components/shared/delivery/delivery-lists.tsx +2 -2
- package/src/components/shared/delivery/delivery-row.tsx +7 -7
- package/src/components/shared/delivery/delivery-table.tsx +3 -3
- package/src/components/shared/detail-page-skeleton.tsx +11 -5
- package/src/components/shared/dev-section/dev-card-row.tsx +6 -6
- package/src/components/shared/dev-section/dev-section-view.tsx +1 -1
- package/src/components/shared/product-release/product-release-card-skeleton.tsx +8 -8
- package/src/components/shared/product-release/product-release-card.tsx +9 -9
- package/src/components/shared/product-release/product-releases-view.tsx +1 -1
- package/src/components/shared/product-release/release-detail-page.tsx +5 -5
- package/src/components/shared/roadmap/roadmap-grid-skeleton.tsx +1 -1
- package/src/components/shared/roadmap/roadmap-grid.tsx +3 -3
- package/src/components/tickets/help-center-card.tsx +1 -1
- package/src/components/tickets/help-center-create-form.tsx +12 -12
- package/src/components/ui/announcement-bar-view.tsx +2 -10
- package/src/components/ui/benefit-card.tsx +18 -18
- package/src/components/ui/brand-association-grid.tsx +4 -4
- package/src/components/ui/breadcrumb.tsx +4 -1
- package/src/components/ui/card.tsx +1 -1
- package/src/components/ui/checkbox-block.tsx +9 -7
- package/src/components/ui/content-loader.tsx +3 -3
- package/src/components/ui/cursor-pagination.tsx +3 -3
- package/src/components/ui/dashboard-info-card.tsx +13 -9
- package/src/components/ui/data-attribution.tsx +2 -2
- package/src/components/ui/data-table/data-table-body.tsx +2 -2
- package/src/components/ui/data-table/data-table-header.tsx +15 -15
- package/src/components/ui/data-table/data-table-skeleton.tsx +6 -6
- package/src/components/ui/data-table/utils.ts +5 -5
- package/src/components/ui/dialog.tsx +4 -1
- package/src/components/ui/drawer.tsx +43 -189
- package/src/components/ui/duration-input.tsx +1 -1
- package/src/components/ui/entity-image.tsx +3 -3
- package/src/components/ui/feature-card.tsx +10 -10
- package/src/components/ui/file-manager/file-manager-action-bar.tsx +1 -1
- package/src/components/ui/file-manager/file-manager.tsx +1 -1
- package/src/components/ui/filter-modal.tsx +8 -1
- package/src/components/ui/highlight-card.tsx +7 -7
- package/src/components/ui/info-card-row.tsx +10 -6
- package/src/components/ui/modal-v2.tsx +7 -2
- package/src/components/ui/modal.tsx +3 -2
- package/src/components/ui/no-data/no-data-actions.tsx +10 -4
- package/src/components/ui/no-data/no-data-styles.ts +1 -1
- package/src/components/ui/no-data/no-data.tsx +1 -1
- package/src/components/ui/organization-card.tsx +1 -1
- package/src/components/ui/page-actions.tsx +34 -5
- package/src/components/ui/panel-resize-handle.tsx +184 -0
- package/src/components/ui/progress-bar.tsx +2 -2
- package/src/components/ui/query-report-table/query-report-table.tsx +1 -1
- package/src/components/ui/search-input.tsx +2 -2
- package/src/components/ui/service-card.tsx +2 -2
- package/src/components/ui/sheet.tsx +2 -1
- package/src/components/ui/skeleton.tsx +3 -3
- package/src/components/ui/stacked-rows-panel.tsx +4 -4
- package/src/components/ui/tab-navigation.tsx +2 -2
- package/src/components/ui/tab-selector.tsx +2 -2
- package/src/components/ui/table/table-header.tsx +3 -3
- package/src/components/ui/table/table-skeleton.tsx +3 -3
- package/src/components/ui/table/utils.ts +5 -5
- package/src/components/ui/tag-search-input.tsx +3 -3
- package/src/components/ui/tags-manager.tsx +5 -5
- package/src/components/ui/test-run.tsx +2 -2
- package/src/components/ui/ticket-info-section.tsx +1 -1
- package/src/components/ui/ticket-notes-section.tsx +1 -1
- package/src/components/ui/ticket-status-config-row.tsx +15 -15
- package/src/hooks/ui/index.ts +1 -0
- package/src/hooks/ui/use-content-breakpoint.ts +58 -0
- package/src/hooks/ui/use-media-query.ts +3 -2
- package/src/hooks/ui/use-resizable-panel-size.ts +114 -0
- package/src/styles/index.css +2 -0
- package/src/styles/layout-steps.ts +14 -0
- package/src/styles/ods-colors.css +15 -0
- package/src/styles/ods-content-area-tokens.css +27 -0
- package/src/styles/ods-content-area.css +31 -0
- package/src/styles/ods-effects.css +4 -2
- package/src/styles/ods-responsive-tokens.css +14 -4
- package/tailwind.config.ts +42 -7
|
@@ -1,25 +1,25 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import {
|
|
3
3
|
ContactForm
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-VTASHWER.js";
|
|
5
5
|
import {
|
|
6
6
|
DeliveryRow,
|
|
7
7
|
DevCardRowContent,
|
|
8
8
|
DevCardRowSkeletonList,
|
|
9
9
|
DevSectionPage,
|
|
10
10
|
ListEmptyState
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-FXENTYE5.js";
|
|
12
12
|
import {
|
|
13
13
|
EmptyState,
|
|
14
14
|
UnifiedPagination
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-MFFCUVWG.js";
|
|
16
16
|
import {
|
|
17
17
|
TICKET_MARK_READ_DEBOUNCE_MS,
|
|
18
18
|
TICKET_TEXT_MAX_CHARS,
|
|
19
19
|
TOAST_COPY,
|
|
20
20
|
isOptimistic,
|
|
21
21
|
useOptionalTicketLive
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-7LFIKJX2.js";
|
|
23
23
|
import {
|
|
24
24
|
AlertDialog,
|
|
25
25
|
AlertDialogAction,
|
|
@@ -35,16 +35,16 @@ import {
|
|
|
35
35
|
Textarea,
|
|
36
36
|
TicketAttachmentsList,
|
|
37
37
|
devSectionAnchorId
|
|
38
|
-
} from "./chunk-
|
|
38
|
+
} from "./chunk-4KGXLVCF.js";
|
|
39
39
|
import {
|
|
40
40
|
toast,
|
|
41
41
|
useScrollToHash
|
|
42
|
-
} from "./chunk-
|
|
42
|
+
} from "./chunk-IHU5ANUY.js";
|
|
43
43
|
import {
|
|
44
44
|
PAGE_PARAM_LIMITS,
|
|
45
45
|
pageCount,
|
|
46
46
|
positiveInt
|
|
47
|
-
} from "./chunk-
|
|
47
|
+
} from "./chunk-MP2C3LJ4.js";
|
|
48
48
|
import {
|
|
49
49
|
ChatAttachmentAddButton,
|
|
50
50
|
ChatAttachmentChipStrip,
|
|
@@ -55,11 +55,11 @@ import {
|
|
|
55
55
|
formatRelativeTime,
|
|
56
56
|
useChatAttachments,
|
|
57
57
|
useChatIdentity
|
|
58
|
-
} from "./chunk-
|
|
58
|
+
} from "./chunk-2JDVL7UV.js";
|
|
59
59
|
import {
|
|
60
60
|
STICKY_HEADER_OFFSET_PX,
|
|
61
61
|
scrollElementIntoView
|
|
62
|
-
} from "./chunk-
|
|
62
|
+
} from "./chunk-WUJNYGO2.js";
|
|
63
63
|
import {
|
|
64
64
|
usePathname,
|
|
65
65
|
useRouter,
|
|
@@ -71,10 +71,10 @@ import {
|
|
|
71
71
|
SquareAvatar,
|
|
72
72
|
StatusBadge,
|
|
73
73
|
getStatusColorScheme
|
|
74
|
-
} from "./chunk-
|
|
74
|
+
} from "./chunk-CH5232HV.js";
|
|
75
75
|
import {
|
|
76
76
|
embedAuthedFetch
|
|
77
|
-
} from "./chunk-
|
|
77
|
+
} from "./chunk-NDESEPW5.js";
|
|
78
78
|
import {
|
|
79
79
|
useRequiredChatRuntime
|
|
80
80
|
} from "./chunk-E4ABZWTJ.js";
|
|
@@ -83,7 +83,7 @@ import {
|
|
|
83
83
|
Label,
|
|
84
84
|
RequiredMark,
|
|
85
85
|
Skeleton
|
|
86
|
-
} from "./chunk-
|
|
86
|
+
} from "./chunk-FLKJYMVB.js";
|
|
87
87
|
import {
|
|
88
88
|
Button
|
|
89
89
|
} from "./chunk-YDPKUAP4.js";
|
|
@@ -1463,7 +1463,7 @@ function HelpCenterCard({
|
|
|
1463
1463
|
disabled: !isExpandable,
|
|
1464
1464
|
"aria-expanded": isExpandable ? isExpanded : void 0,
|
|
1465
1465
|
"aria-controls": isExpanded ? `help-center-drawer-${ticket.id}` : void 0,
|
|
1466
|
-
className: "w-full p-[12px] text-left focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-inset focus-visible:ring-ods-accent disabled:cursor-default md:p-[16px]",
|
|
1466
|
+
className: "w-full p-[12px] text-left focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-inset focus-visible:ring-ods-accent disabled:cursor-default content-md:p-[16px]",
|
|
1467
1467
|
children: /* @__PURE__ */ jsx7(
|
|
1468
1468
|
DevCardRowContent,
|
|
1469
1469
|
{
|
|
@@ -1505,9 +1505,9 @@ import { useState as useState5 } from "react";
|
|
|
1505
1505
|
import { jsx as jsx8, jsxs as jsxs7 } from "react/jsx-runtime";
|
|
1506
1506
|
var SUBJECT_MAX_CHARS = 200;
|
|
1507
1507
|
function HelpCenterCreateFormSkeleton() {
|
|
1508
|
-
return /* @__PURE__ */ jsxs7("div", { className: "flex h-full flex-col rounded-2xl border border-ods-border p-6 md:rounded-3xl md:p-8 lg:p-10", children: [
|
|
1509
|
-
/* @__PURE__ */ jsx8("div", { className: "mb-6 md:mb-8", children: /* @__PURE__ */ jsx8("div", { className: "mb-3 h-10 w-72 animate-pulse rounded bg-ods-border md:mb-4" }) }),
|
|
1510
|
-
/* @__PURE__ */ jsxs7("div", { className: "flex flex-grow flex-col space-y-4 md:space-y-6", children: [
|
|
1508
|
+
return /* @__PURE__ */ jsxs7("div", { className: "flex h-full flex-col rounded-2xl border border-ods-border p-6 content-md:rounded-3xl content-md:p-8 content-lg:p-10", children: [
|
|
1509
|
+
/* @__PURE__ */ jsx8("div", { className: "mb-6 content-md:mb-8", children: /* @__PURE__ */ jsx8("div", { className: "mb-3 h-10 w-72 animate-pulse rounded bg-ods-border content-md:mb-4" }) }),
|
|
1510
|
+
/* @__PURE__ */ jsxs7("div", { className: "flex flex-grow flex-col space-y-4 content-md:space-y-6", children: [
|
|
1511
1511
|
/* @__PURE__ */ jsx8("input", { type: "hidden", "aria-hidden": true }),
|
|
1512
1512
|
/* @__PURE__ */ jsx8("input", { type: "hidden", "aria-hidden": true }),
|
|
1513
1513
|
/* @__PURE__ */ jsx8("input", { type: "hidden", "aria-hidden": true }),
|
|
@@ -1524,7 +1524,7 @@ function HelpCenterCreateFormSkeleton() {
|
|
|
1524
1524
|
/* @__PURE__ */ jsx8("div", { className: "h-7 w-7 shrink-0 animate-pulse rounded bg-ods-border" }),
|
|
1525
1525
|
/* @__PURE__ */ jsx8("div", { className: "h-4 w-40 animate-pulse rounded bg-ods-border" })
|
|
1526
1526
|
] }) }),
|
|
1527
|
-
/* @__PURE__ */ jsxs7("div", { className: "mt-auto flex w-full flex-col items-center justify-end gap-4 pt-2 md:flex-row md:gap-6", children: [
|
|
1527
|
+
/* @__PURE__ */ jsxs7("div", { className: "mt-auto flex w-full flex-col items-center justify-end gap-4 pt-2 content-md:flex-row content-md:gap-6", children: [
|
|
1528
1528
|
/* @__PURE__ */ jsx8("div", { className: "h-4 w-72 animate-pulse rounded bg-ods-border" }),
|
|
1529
1529
|
/* @__PURE__ */ jsx8("div", { className: "h-12 w-32 animate-pulse rounded bg-ods-border" })
|
|
1530
1530
|
] })
|
|
@@ -4,14 +4,14 @@
|
|
|
4
4
|
|
|
5
5
|
|
|
6
6
|
|
|
7
|
-
var
|
|
7
|
+
var _chunkLTSTC3N5cjs = require('./chunk-LTSTC3N5.cjs');
|
|
8
8
|
|
|
9
9
|
|
|
10
|
-
var
|
|
10
|
+
var _chunkMGGGBHYDcjs = require('./chunk-MGGGBHYD.cjs');
|
|
11
11
|
|
|
12
12
|
|
|
13
13
|
|
|
14
|
-
var
|
|
14
|
+
var _chunkC3BWIU7Rcjs = require('./chunk-C3BWIU7R.cjs');
|
|
15
15
|
|
|
16
16
|
|
|
17
17
|
|
|
@@ -36,14 +36,14 @@ var _chunkN3COXDBHcjs = require('./chunk-N3COXDBH.cjs');
|
|
|
36
36
|
|
|
37
37
|
|
|
38
38
|
|
|
39
|
-
var
|
|
39
|
+
var _chunkMMOODW57cjs = require('./chunk-MMOODW57.cjs');
|
|
40
40
|
|
|
41
41
|
|
|
42
42
|
var _chunkMGHIV4L6cjs = require('./chunk-MGHIV4L6.cjs');
|
|
43
43
|
|
|
44
44
|
|
|
45
45
|
|
|
46
|
-
var
|
|
46
|
+
var _chunkBM5MVGH3cjs = require('./chunk-BM5MVGH3.cjs');
|
|
47
47
|
|
|
48
48
|
|
|
49
49
|
var _chunkDFQYAYBHcjs = require('./chunk-DFQYAYBH.cjs');
|
|
@@ -88,7 +88,7 @@ var sourceConfig = {
|
|
|
88
88
|
};
|
|
89
89
|
var SoftwareSourceBadge = ({ source, className }) => {
|
|
90
90
|
const config = sourceConfig[source] || { label: source, icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkX72J4ACLcjs.PackageIcon, { className: "h-4 w-4" }) };
|
|
91
|
-
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className:
|
|
91
|
+
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: _chunkC3BWIU7Rcjs.cn.call(void 0, "inline-flex items-center gap-2 text-ods-text-primary", className), children: [
|
|
92
92
|
config.icon,
|
|
93
93
|
config.label
|
|
94
94
|
] });
|
|
@@ -129,8 +129,8 @@ var ToolBadge = ({
|
|
|
129
129
|
className,
|
|
130
130
|
iconClassName
|
|
131
131
|
}) => {
|
|
132
|
-
const text = _nullishCoalesce(label, () => ( (toolType ?
|
|
133
|
-
const mark = _nullishCoalesce(icon, () => ( (toolType ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
132
|
+
const text = _nullishCoalesce(label, () => ( (toolType ? _chunkLTSTC3N5cjs.getToolLabel.call(void 0, toolType) : "")));
|
|
133
|
+
const mark = _nullishCoalesce(icon, () => ( (toolType ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkC3BWIU7Rcjs.ToolIcon, { toolType, className: iconClassName, size: 16 }) : null)));
|
|
134
134
|
const linked = (node, linkClassName) => href ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "a", { href, target: "_blank", rel: "noopener noreferrer", title: text || void 0, className: linkClassName, children: node }) : node;
|
|
135
135
|
if (variant === "chip") {
|
|
136
136
|
return linked(
|
|
@@ -163,31 +163,31 @@ var ToolBadge = ({
|
|
|
163
163
|
// src/components/platform/ShellTypeBadge.tsx
|
|
164
164
|
|
|
165
165
|
var shellIconMap = {
|
|
166
|
-
[
|
|
166
|
+
[_chunkLTSTC3N5cjs.ShellTypeValues.POWERSHELL]: {
|
|
167
167
|
icon: _chunkN3COXDBHcjs.PowershellLogoGreyIcon,
|
|
168
168
|
props: { size: 16, className: "text-ods-text-secondary" }
|
|
169
169
|
},
|
|
170
|
-
[
|
|
170
|
+
[_chunkLTSTC3N5cjs.ShellTypeValues.CMD]: {
|
|
171
171
|
icon: _chunkX72J4ACLcjs.CmdIcon,
|
|
172
172
|
props: { size: 16, color: "var(--color-text-secondary)" }
|
|
173
173
|
},
|
|
174
|
-
[
|
|
174
|
+
[_chunkLTSTC3N5cjs.ShellTypeValues.BASH]: {
|
|
175
175
|
icon: _chunkX72J4ACLcjs.BashIcon,
|
|
176
176
|
props: { size: 16, color: "var(--color-text-secondary)" }
|
|
177
177
|
},
|
|
178
|
-
[
|
|
178
|
+
[_chunkLTSTC3N5cjs.ShellTypeValues.PYTHON]: {
|
|
179
179
|
icon: _chunkN3COXDBHcjs.PythonLogoIcon,
|
|
180
180
|
props: { size: 16, className: "text-ods-text-secondary" }
|
|
181
181
|
},
|
|
182
|
-
[
|
|
182
|
+
[_chunkLTSTC3N5cjs.ShellTypeValues.NUSHELL]: {
|
|
183
183
|
icon: _chunkX72J4ACLcjs.NushellIcon,
|
|
184
184
|
props: { size: 16, color: "var(--color-text-secondary)" }
|
|
185
185
|
},
|
|
186
|
-
[
|
|
186
|
+
[_chunkLTSTC3N5cjs.ShellTypeValues.DENO]: {
|
|
187
187
|
icon: _chunkX72J4ACLcjs.DenoIcon,
|
|
188
188
|
props: { size: 16, color: "var(--color-text-secondary)" }
|
|
189
189
|
},
|
|
190
|
-
[
|
|
190
|
+
[_chunkLTSTC3N5cjs.ShellTypeValues.SHELL]: {
|
|
191
191
|
icon: _chunkX72J4ACLcjs.ShellIcon,
|
|
192
192
|
props: { size: 16, color: "var(--color-text-secondary)" }
|
|
193
193
|
}
|
|
@@ -198,7 +198,7 @@ var defaultIconConfig = {
|
|
|
198
198
|
};
|
|
199
199
|
var ShellTypeBadge = ({ shellType, className, iconClassName }) => {
|
|
200
200
|
const normalizedType = _optionalChain([shellType, 'optionalAccess', _ => _.toUpperCase, 'call', _2 => _2()]);
|
|
201
|
-
const label =
|
|
201
|
+
const label = _chunkLTSTC3N5cjs.getShellLabel.call(void 0, normalizedType);
|
|
202
202
|
const { icon: IconComponent, props: iconProps } = _nullishCoalesce(shellIconMap[normalizedType], () => ( defaultIconConfig));
|
|
203
203
|
const defaultIconClassName = "className" in iconProps ? iconProps.className : void 0;
|
|
204
204
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _chunk3ATAYP36cjs.cn.call(void 0, "flex items-center gap-1", className), children: [
|
|
@@ -214,11 +214,11 @@ function formatSupportedPlatforms(platforms) {
|
|
|
214
214
|
if (!platforms || platforms.length === 0) {
|
|
215
215
|
return "All Platforms";
|
|
216
216
|
}
|
|
217
|
-
return platforms.map((platform) =>
|
|
217
|
+
return platforms.map((platform) => _chunkLTSTC3N5cjs.getOSLabel.call(void 0, platform)).join(", ");
|
|
218
218
|
}
|
|
219
219
|
function InfoCell({ label, value, avatar, className }) {
|
|
220
220
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _chunk3ATAYP36cjs.cn.call(void 0, "flex min-w-0 items-center gap-2", className), children: [
|
|
221
|
-
avatar && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "relative size-8 shrink-0 overflow-hidden rounded-full border border-ods-border bg-ods-bg", children: avatar.photoUrl ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkMGHIV4L6cjs.next_image_default, { src: avatar.photoUrl, alt: avatar.name, className: "object-cover", fill: true, sizes: "32px", unoptimized: true }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex size-full items-center justify-center text-ods-text-secondary text-h6", children: avatar.initials ||
|
|
221
|
+
avatar && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "relative size-8 shrink-0 overflow-hidden rounded-full border border-ods-border bg-ods-bg", children: avatar.photoUrl ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkMGHIV4L6cjs.next_image_default, { src: avatar.photoUrl, alt: avatar.name, className: "object-cover", fill: true, sizes: "32px", unoptimized: true }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex size-full items-center justify-center text-ods-text-secondary text-h6", children: avatar.initials || _chunkMMOODW57cjs.nameInitials.call(void 0, avatar.name) }) }),
|
|
222
222
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 flex-col", children: [
|
|
223
223
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "truncate text-ods-text-primary text-h4", title: value, children: value }),
|
|
224
224
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "truncate text-ods-text-secondary text-h6", children: label })
|
|
@@ -234,20 +234,20 @@ var ScriptInfoSection = ({
|
|
|
234
234
|
author,
|
|
235
235
|
className
|
|
236
236
|
}) => {
|
|
237
|
-
const shellLabel =
|
|
237
|
+
const shellLabel = _chunkLTSTC3N5cjs.getShellLabel.call(void 0, shellType);
|
|
238
238
|
const platformsLabel = formatSupportedPlatforms(supportedPlatforms);
|
|
239
239
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _chunk3ATAYP36cjs.cn.call(void 0, "overflow-hidden rounded-[6px] border border-ods-border bg-ods-card", className), children: [
|
|
240
240
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "border-b border-ods-border p-4", children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-col gap-1", children: [
|
|
241
241
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h3", { className: "text-ods-text-primary text-h4", children: headline }),
|
|
242
242
|
subheadline && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "break-words text-ods-text-secondary text-h6", children: subheadline })
|
|
243
243
|
] }) }),
|
|
244
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "grid grid-cols-2 gap-4 border-b border-ods-border px-4 py-4 lg:grid-cols-4 lg:border-b-0", children: [
|
|
244
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "grid grid-cols-2 gap-4 border-b border-ods-border px-4 py-4 content-lg:grid-cols-4 content-lg:border-b-0", children: [
|
|
245
245
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, InfoCell, { label: "Shell Type", value: shellLabel }),
|
|
246
246
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, InfoCell, { label: "Supported Platforms", value: platformsLabel }),
|
|
247
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, InfoCell, { label: "Category", value: category, className: "hidden lg:flex" }),
|
|
248
|
-
author && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, InfoCell, { label: "Added by", value: author.name, avatar: author, className: "hidden lg:flex" })
|
|
247
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, InfoCell, { label: "Category", value: category, className: "hidden content-lg:flex" }),
|
|
248
|
+
author && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, InfoCell, { label: "Added by", value: author.name, avatar: author, className: "hidden content-lg:flex" })
|
|
249
249
|
] }),
|
|
250
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "grid grid-cols-2 gap-4 px-4 py-4 lg:hidden", children: [
|
|
250
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "grid grid-cols-2 gap-4 px-4 py-4 content-lg:hidden", children: [
|
|
251
251
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, InfoCell, { label: "Category", value: category }),
|
|
252
252
|
author && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, InfoCell, { label: "Added by", value: author.name, avatar: author })
|
|
253
253
|
] })
|
|
@@ -304,9 +304,9 @@ var ScriptArguments = ({
|
|
|
304
304
|
const showsMask = isStoredSecret && !arg.value;
|
|
305
305
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex w-full items-end gap-2", children: [
|
|
306
306
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 flex-1 flex-col gap-1", children: [
|
|
307
|
-
isFirstRow(index) && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
307
|
+
isFirstRow(index) && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkBM5MVGH3cjs.Label, { spacing: "tight", children: titleLabel }),
|
|
308
308
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
309
|
-
|
|
309
|
+
_chunkBM5MVGH3cjs.Input,
|
|
310
310
|
{
|
|
311
311
|
value: arg.key,
|
|
312
312
|
onChange: (e) => handleKeyChange(arg.id, e.target.value),
|
|
@@ -320,7 +320,7 @@ var ScriptArguments = ({
|
|
|
320
320
|
] }),
|
|
321
321
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 flex-1 items-center gap-2", children: [
|
|
322
322
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex min-w-0 flex-1 flex-col gap-1", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
323
|
-
|
|
323
|
+
_chunkBM5MVGH3cjs.Input,
|
|
324
324
|
{
|
|
325
325
|
type: arg.secret ? "password" : void 0,
|
|
326
326
|
autoComplete: arg.secret ? "new-password" : void 0,
|
|
@@ -344,7 +344,7 @@ var ScriptArguments = ({
|
|
|
344
344
|
onClick: () => handleDelete(arg.id),
|
|
345
345
|
disabled,
|
|
346
346
|
"aria-label": "Delete argument",
|
|
347
|
-
leftIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.Trash2, { className: "size-4 md:size-6", color: "var(--color-error)" })
|
|
347
|
+
leftIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.Trash2, { className: "size-4 content-md:size-6", color: "var(--color-error)" })
|
|
348
348
|
}
|
|
349
349
|
)
|
|
350
350
|
] })
|
|
@@ -409,7 +409,7 @@ function OnboardingStepCard({
|
|
|
409
409
|
onSkip();
|
|
410
410
|
};
|
|
411
411
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
412
|
-
|
|
412
|
+
_chunkMMOODW57cjs.InteractiveCard,
|
|
413
413
|
{
|
|
414
414
|
clickable: false,
|
|
415
415
|
className: _chunk3ATAYP36cjs.cn.call(void 0,
|
|
@@ -435,7 +435,7 @@ function OnboardingStepCard({
|
|
|
435
435
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "h-[32px] w-[100px] animate-pulse rounded-[6px] bg-ods-border" }),
|
|
436
436
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "h-[32px] w-[120px] animate-pulse rounded-[6px] bg-ods-border" })
|
|
437
437
|
] }) : isCompleted ? /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
438
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
438
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkMMOODW57cjs.StatusBadge, { text: "COMPLETED", variant: "card", colorScheme: "success" }),
|
|
439
439
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
440
440
|
_chunkDFQYAYBHcjs.Button,
|
|
441
441
|
{
|
|
@@ -446,7 +446,7 @@ function OnboardingStepCard({
|
|
|
446
446
|
children: step.completedText
|
|
447
447
|
}
|
|
448
448
|
)
|
|
449
|
-
] }) : isSkipped ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _jsxruntime.Fragment, { children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
449
|
+
] }) : isSkipped ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _jsxruntime.Fragment, { children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkMMOODW57cjs.StatusBadge, { text: "SKIPPED", variant: "card", colorScheme: "default" }) }) : /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
450
450
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkDFQYAYBHcjs.Button, { variant: "outline", onClick: handleSkip, children: "Skip Step" }),
|
|
451
451
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkDFQYAYBHcjs.Button, { variant: "accent", onClick: handleAction, disabled: isProcessing, leftIcon: step.actionIcon("black"), children: step.actionText })
|
|
452
452
|
] })
|
|
@@ -481,7 +481,7 @@ function OnboardingWalkthrough({
|
|
|
481
481
|
isStepSkipped,
|
|
482
482
|
allStepsComplete,
|
|
483
483
|
markMultipleComplete
|
|
484
|
-
} =
|
|
484
|
+
} = _chunkMGGGBHYDcjs.useOnboardingState.call(void 0, storageKey);
|
|
485
485
|
const hasAutoMarkedRef = _react.useRef.call(void 0, false);
|
|
486
486
|
const autoMarkingInProgressRef = _react.useRef.call(void 0, false);
|
|
487
487
|
const lastCompletionStatusRef = _react.useRef.call(void 0, null);
|
|
@@ -563,7 +563,7 @@ function OnboardingWalkthrough({
|
|
|
563
563
|
const isAllComplete = allStepsComplete(steps);
|
|
564
564
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _chunk3ATAYP36cjs.cn.call(void 0, "w-full space-y-4", className), children: [
|
|
565
565
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-col items-start justify-between gap-3 md:flex-row md:items-center md:gap-0", children: [
|
|
566
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h2", { className:
|
|
566
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h2", { className: _chunkMMOODW57cjs.SECTION_HEADING_CLASS, children: _chunkMMOODW57cjs.accentSentenceMarks.call(void 0, title) }),
|
|
567
567
|
isLoadingCompletion ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "h-[48px] w-full animate-pulse rounded-[6px] bg-ods-border md:w-[160px]" }) : isAllComplete ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkDFQYAYBHcjs.Button, { variant: "accent", onClick: handleDismiss, className: "w-full md:w-auto", children: "Close Onboarding" }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkDFQYAYBHcjs.Button, { variant: "outline", onClick: handleDismiss, className: "w-full md:w-auto", children: "Skip Onboarding" })
|
|
568
568
|
] }),
|
|
569
569
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: _chunk3ATAYP36cjs.cn.call(void 0, spacing), children: steps.map((step) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|