@flamingo-stack/openframe-frontend-core 0.0.764 → 0.0.766
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/build/export-map.json +1 -1
- package/dist/chat-protocol/decode.d.ts +0 -1
- package/dist/chat-protocol/decode.d.ts.map +1 -1
- package/dist/chat-protocol/decode.js +1 -3
- package/dist/chat-protocol/index.d.ts +1 -0
- package/dist/chat-protocol/index.d.ts.map +1 -1
- package/dist/chat-protocol/index.js +2 -0
- package/dist/{chunk-FQSXZC2K.cjs → chunk-2JRSYWFP.cjs} +3 -3
- package/dist/{chunk-I5MSCD57.cjs → chunk-3LW5TD54.cjs} +7 -3
- package/dist/{chunk-7AM3AFM4.cjs → chunk-4YIDZCTL.cjs} +1 -3
- package/dist/{chunk-SVP6DJFL.cjs → chunk-57B5RUYD.cjs} +2 -2
- package/dist/{chunk-R3TWQ3ZJ.cjs → chunk-5P4TDV7V.cjs} +16 -7
- package/dist/chunk-65VVJSQZ.cjs +109 -0
- package/dist/{chunk-LNGR4DXA.cjs → chunk-7U3ELNGC.cjs} +103 -61
- package/dist/{chunk-T5FRANE6.cjs → chunk-7VI7TOGI.cjs} +509 -353
- package/dist/{chunk-5AV5R5RC.cjs → chunk-7XFVUUVZ.cjs} +14 -14
- package/dist/{chunk-M7YZGRAV.cjs → chunk-AAECWUNV.cjs} +35 -8
- package/dist/{chunk-YUMFVQIN.cjs → chunk-C42WIUH6.cjs} +11 -5
- package/dist/{chunk-22XAPV6N.cjs → chunk-DGNBXZXT.cjs} +1069 -1020
- package/dist/{chunk-HOTM4UM6.cjs → chunk-E76ONBKF.cjs} +28 -0
- package/dist/{chunk-PERN37KO.cjs → chunk-F7R3U5EN.cjs} +5 -25
- package/dist/{chunk-K6VWTUCH.cjs → chunk-FL2RMEDX.cjs} +2 -2
- package/dist/chunk-FZB4RMRK.cjs +695 -0
- package/dist/{chunk-BIA77I6B.cjs → chunk-GTONIRJU.cjs} +56 -54
- package/dist/{chunk-3FC6AKEJ.cjs → chunk-HNQRY6RU.cjs} +200 -87
- package/dist/chunk-INI4ADPT.cjs +495 -0
- package/dist/{chunk-JD7CL2I6.cjs → chunk-JGWN6GH5.cjs} +11 -7
- package/dist/{chunk-RYSNH2VY.cjs → chunk-JKQVKWLB.cjs} +258 -179
- package/dist/{chunk-EQZXJUYV.cjs → chunk-JTSUAHDL.cjs} +73 -51
- package/dist/chunk-K3IHNXR4.cjs +40 -0
- package/dist/{chunk-EFTUFJS2.cjs → chunk-LELS4XMX.cjs} +20 -22
- package/dist/{chunk-ZCU2PYCW.cjs → chunk-MPTMT773.cjs} +62 -62
- package/dist/{chunk-LVKUMVUJ.cjs → chunk-NBVZIHGS.cjs} +12 -8
- package/dist/{chunk-IDGOMHTC.cjs → chunk-NF3PBWDJ.cjs} +521 -413
- package/dist/{chunk-7GUWPGB4.cjs → chunk-NJMZ3N7Q.cjs} +44 -44
- package/dist/{chunk-OJJ4RL2T.cjs → chunk-R3JX4MXD.cjs} +4 -4
- package/dist/{chunk-GY2JESOC.cjs → chunk-RB7VLVMD.cjs} +15 -15
- package/dist/{chunk-47GZ33ND.cjs → chunk-REJMFXGD.cjs} +198 -73
- package/dist/chunk-RMUSPTJN.cjs +102 -0
- package/dist/{chunk-3RFQPQ7Z.cjs → chunk-RNLRS4ID.cjs} +3 -3
- package/dist/{chunk-ZG6F5A3A.cjs → chunk-RTBYQWAV.cjs} +286 -201
- package/dist/{chunk-63N4FN5V.cjs → chunk-SETFUCZA.cjs} +7 -7
- package/dist/{chunk-2QMBXGMQ.cjs → chunk-TF5D5MNO.cjs} +222 -120
- package/dist/{chunk-NET74KSQ.cjs → chunk-TZ4GKUO2.cjs} +5 -5
- package/dist/{chunk-JJ2S6C5U.cjs → chunk-UW7UWUZU.cjs} +105 -117
- package/dist/{chunk-MWLD6NXV.cjs → chunk-VFZFCRAL.cjs} +4 -6
- package/dist/{chunk-VL6IXTAI.cjs → chunk-VRDHAR3X.cjs} +4229 -3918
- package/dist/{chunk-NJS7FQRW.cjs → chunk-VYYLYZUC.cjs} +207 -74
- package/dist/{chunk-NO5UJLLQ.cjs → chunk-WEANWBJH.cjs} +6 -1
- package/dist/{chunk-XFNWHCRM.cjs → chunk-WO3XO27C.cjs} +13 -13
- package/dist/{chunk-L2V7K7RR.cjs → chunk-X7ECVSVN.cjs} +43 -41
- package/dist/chunk-XFRBEXQN.cjs +304 -0
- package/dist/{chunk-AKK3EO37.cjs → chunk-XIFEZ2JT.cjs} +35 -23
- package/dist/{chunk-XCH7SPGI.cjs → chunk-XVFM6SJA.cjs} +61 -52
- package/dist/{chunk-3RYIF4OW.cjs → chunk-XXJL5GY3.cjs} +3 -3
- package/dist/{chunk-GZKWF6NH.cjs → chunk-XZ6DKGT4.cjs} +34 -34
- package/dist/{chunk-74ALTXXC.cjs → chunk-YL6ZB2SR.cjs} +1624 -1440
- package/dist/{chunk-TSJUL6IH.cjs → chunk-YRFWOJF4.cjs} +16 -8
- package/dist/{chunk-HTRILBJD.cjs → chunk-YXDHVHB2.cjs} +30 -13
- package/dist/{chunk-RO72PRQI.cjs → chunk-ZRDMGMY7.cjs} +75 -50
- package/dist/{chunk-2IFCRPNP.cjs → chunk-ZV45VS6K.cjs} +369 -433
- package/dist/{cloud-tenants-N5CLYDPU.cjs → cloud-tenants-U2KMEIO7.cjs} +35 -39
- package/dist/components/agent-identity.d.ts +1 -2
- package/dist/components/agent-identity.d.ts.map +1 -1
- package/dist/components/agent-identity.js +0 -1
- package/dist/components/agent-mark.d.ts +4 -6
- package/dist/components/agent-mark.d.ts.map +1 -1
- package/dist/components/agent-mark.js +7 -8
- package/dist/components/authors/author-detail-view.d.ts.map +1 -1
- package/dist/components/authors/author-detail-view.js +51 -18
- package/dist/components/calendar.cjs +10 -10
- package/dist/components/case-studies/entity-quotes-panel.d.ts +6 -4
- package/dist/components/case-studies/entity-quotes-panel.d.ts.map +1 -1
- package/dist/components/case-studies/entity-quotes-panel.js +44 -11
- package/dist/components/case-studies/index.cjs +140 -70
- package/dist/components/case-studies/index.d.ts +2 -2
- package/dist/components/case-studies/index.d.ts.map +1 -1
- package/dist/components/case-studies/index.js +5 -2
- package/dist/components/case-studies/quote-cards-strip.d.ts +23 -2
- package/dist/components/case-studies/quote-cards-strip.d.ts.map +1 -1
- package/dist/components/case-studies/quote-cards-strip.js +48 -10
- package/dist/components/categories-cart.d.ts +7 -0
- package/dist/components/categories-cart.d.ts.map +1 -1
- package/dist/components/categories-cart.js +58 -36
- package/dist/components/category-card.js +1 -1
- package/dist/components/chat/chat-attachment-bar.js +1 -1
- package/dist/components/chat/chat-container.d.ts.map +1 -1
- package/dist/components/chat/chat-container.js +2 -1
- package/dist/components/chat/chat-ticket-list.d.ts +0 -1
- package/dist/components/chat/chat-ticket-list.d.ts.map +1 -1
- package/dist/components/chat/chat-turn.d.ts +31 -1
- package/dist/components/chat/chat-turn.d.ts.map +1 -1
- package/dist/components/chat/chat-turn.js +85 -19
- package/dist/components/chat/embeddable-chat.d.ts.map +1 -1
- package/dist/components/chat/embeddable-chat.js +1 -1
- package/dist/components/chat/entity-cards/admin-content-card-grid.d.ts +0 -15
- package/dist/components/chat/entity-cards/admin-content-card-grid.d.ts.map +1 -1
- package/dist/components/chat/entity-cards/admin-content-card-grid.js +2 -38
- package/dist/components/chat/entity-cards/admin-content-card.d.ts +15 -0
- package/dist/components/chat/entity-cards/admin-content-card.d.ts.map +1 -1
- package/dist/components/chat/entity-cards/admin-content-card.js +52 -10
- package/dist/components/chat/entity-cards/blog-card.d.ts +9 -2
- package/dist/components/chat/entity-cards/blog-card.d.ts.map +1 -1
- package/dist/components/chat/entity-cards/blog-card.js +49 -33
- package/dist/components/chat/entity-cards/campaign-card-admin.d.ts.map +1 -1
- package/dist/components/chat/entity-cards/campaign-card-admin.js +4 -11
- package/dist/components/chat/entity-cards/case-study-card.d.ts +27 -9
- package/dist/components/chat/entity-cards/case-study-card.d.ts.map +1 -1
- package/dist/components/chat/entity-cards/case-study-card.js +80 -54
- package/dist/components/chat/entity-cards/chat-ticket-item.d.ts +7 -0
- package/dist/components/chat/entity-cards/chat-ticket-item.d.ts.map +1 -1
- package/dist/components/chat/entity-cards/chat-ticket-item.js +24 -28
- package/dist/components/chat/entity-cards/customer-interview-card.d.ts +9 -2
- package/dist/components/chat/entity-cards/customer-interview-card.d.ts.map +1 -1
- package/dist/components/chat/entity-cards/customer-interview-card.js +39 -36
- package/dist/components/chat/entity-cards/data-room-doc-card.d.ts.map +1 -1
- package/dist/components/chat/entity-cards/data-room-doc-card.js +14 -16
- package/dist/components/chat/entity-cards/design-doc-card.d.ts +8 -2
- package/dist/components/chat/entity-cards/design-doc-card.d.ts.map +1 -1
- package/dist/components/chat/entity-cards/design-doc-card.js +37 -43
- package/dist/components/chat/entity-cards/dispatch.d.ts +2 -5
- package/dist/components/chat/entity-cards/dispatch.d.ts.map +1 -1
- package/dist/components/chat/entity-cards/dispatch.js +6 -6
- package/dist/components/chat/entity-cards/employee-entry-card.d.ts.map +1 -1
- package/dist/components/chat/entity-cards/employee-entry-card.js +5 -5
- package/dist/components/chat/entity-cards/entity-author-card.d.ts +33 -6
- package/dist/components/chat/entity-cards/entity-author-card.d.ts.map +1 -1
- package/dist/components/chat/entity-cards/entity-author-card.js +98 -32
- package/dist/components/chat/entity-cards/entity-portrait-card.d.ts +9 -0
- package/dist/components/chat/entity-cards/entity-portrait-card.d.ts.map +1 -1
- package/dist/components/chat/entity-cards/entity-portrait-card.js +46 -18
- package/dist/components/chat/entity-cards/generic-entity-card.d.ts.map +1 -1
- package/dist/components/chat/entity-cards/generic-entity-card.js +14 -17
- package/dist/components/chat/entity-cards/github-activity-card.d.ts.map +1 -1
- package/dist/components/chat/entity-cards/github-activity-card.js +15 -20
- package/dist/components/chat/entity-cards/hubspot-ticket-card.d.ts.map +1 -1
- package/dist/components/chat/entity-cards/hubspot-ticket-card.js +14 -19
- package/dist/components/chat/entity-cards/index.d.ts +8 -7
- package/dist/components/chat/entity-cards/index.d.ts.map +1 -1
- package/dist/components/chat/entity-cards/index.js +21 -8
- package/dist/components/chat/entity-cards/investor-update-card.d.ts +9 -3
- package/dist/components/chat/entity-cards/investor-update-card.d.ts.map +1 -1
- package/dist/components/chat/entity-cards/investor-update-card.js +28 -28
- package/dist/components/chat/entity-cards/onboarding-guide-card.d.ts +11 -2
- package/dist/components/chat/entity-cards/onboarding-guide-card.d.ts.map +1 -1
- package/dist/components/chat/entity-cards/onboarding-guide-card.js +66 -63
- package/dist/components/chat/entity-cards/program-card.d.ts +9 -2
- package/dist/components/chat/entity-cards/program-card.d.ts.map +1 -1
- package/dist/components/chat/entity-cards/program-card.js +69 -58
- package/dist/components/chat/entity-cards/roadmap-card.d.ts +10 -1
- package/dist/components/chat/entity-cards/roadmap-card.d.ts.map +1 -1
- package/dist/components/chat/entity-cards/roadmap-card.js +148 -156
- package/dist/components/chat/entity-cards/roadmap-vote-button.d.ts.map +1 -1
- package/dist/components/chat/entity-cards/roadmap-vote-button.js +5 -1
- package/dist/components/chat/entity-cards/slack-message-card.d.ts.map +1 -1
- package/dist/components/chat/entity-cards/slack-message-card.js +23 -18
- package/dist/components/chat/hooks/index.d.ts +7 -1
- package/dist/components/chat/hooks/index.d.ts.map +1 -1
- package/dist/components/chat/hooks/index.js +8 -1
- package/dist/components/chat/hooks/use-ask-prompts.d.ts.map +1 -1
- package/dist/components/chat/hooks/use-ask-prompts.js +3 -1
- package/dist/components/chat/hooks/use-chat-dialog-manager.d.ts +1 -1
- package/dist/components/chat/hooks/use-chat-dialog-manager.d.ts.map +1 -1
- package/dist/components/chat/hooks/use-chat-history-hydration.d.ts +1 -1
- package/dist/components/chat/hooks/use-chat-history-hydration.d.ts.map +1 -1
- package/dist/components/chat/hooks/use-chat.d.ts +1 -2
- package/dist/components/chat/hooks/use-chat.d.ts.map +1 -1
- package/dist/components/chat/hooks/use-nats-chat-adapter.d.ts +0 -2
- package/dist/components/chat/hooks/use-nats-chat-adapter.d.ts.map +1 -1
- package/dist/components/chat/hooks/use-nats-chat-adapter.js +0 -8
- package/dist/components/chat/hooks/use-proxied-image-url.d.ts +17 -13
- package/dist/components/chat/hooks/use-proxied-image-url.d.ts.map +1 -1
- package/dist/components/chat/hooks/use-proxied-image-url.js +10 -8
- package/dist/components/chat/hooks/use-slash-commands.d.ts +1 -2
- package/dist/components/chat/hooks/use-slash-commands.d.ts.map +1 -1
- package/dist/components/chat/hooks/use-sse-chat-adapter.d.ts +1 -8
- package/dist/components/chat/hooks/use-sse-chat-adapter.d.ts.map +1 -1
- package/dist/components/chat/hooks/use-sse-chat-adapter.js +1 -1
- package/dist/components/chat/index.cjs +44 -29
- package/dist/components/chat/stream/chat-stream-reducer.d.ts +1 -1
- package/dist/components/chat/stream/chat-stream-reducer.d.ts.map +1 -1
- package/dist/components/chat/stream/chat-stream-reducer.js +1 -1
- package/dist/components/chat/types/entities/index.d.ts +6 -4
- package/dist/components/chat/types/entities/index.d.ts.map +1 -1
- package/dist/components/chat/types/entities/index.js +4 -4
- package/dist/components/chat/types/entities/investor-update.d.ts +1 -1
- package/dist/components/chat/types/entities/investor-update.d.ts.map +1 -1
- package/dist/components/chat/types/entities/program-types.d.ts +2 -1
- package/dist/components/chat/types/entities/program-types.d.ts.map +1 -1
- package/dist/components/chat/types/entities/program-types.js +1 -4
- package/dist/components/chat/utils/compact-card-classes.d.ts +9 -1
- package/dist/components/chat/utils/compact-card-classes.d.ts.map +1 -1
- package/dist/components/chat/utils/compact-card-classes.js +11 -2
- package/dist/components/chat/utils/compact-card-skeleton.d.ts +40 -0
- package/dist/components/chat/utils/compact-card-skeleton.d.ts.map +1 -0
- package/dist/components/chat/utils/compact-card-skeleton.js +61 -0
- package/dist/components/chat/utils/icon-library.d.ts +0 -1
- package/dist/components/chat/utils/icon-library.d.ts.map +1 -1
- package/dist/components/chat/utils/index.d.ts +5 -3
- package/dist/components/chat/utils/index.d.ts.map +1 -1
- package/dist/components/chat/utils/index.js +3 -2
- package/dist/components/chat/utils/scroll-anchor.d.ts +1 -2
- package/dist/components/chat/utils/scroll-anchor.d.ts.map +1 -1
- package/dist/components/chat/utils/scroll-anchor.js +0 -1
- package/dist/components/chat/utils/source-row-cta.d.ts +0 -2
- package/dist/components/chat/utils/source-row-cta.d.ts.map +1 -1
- package/dist/components/chat/utils/source-row-cta.js +1 -2
- package/dist/components/comment-card.d.ts +15 -0
- package/dist/components/comment-card.d.ts.map +1 -1
- package/dist/components/comment-card.js +178 -119
- package/dist/components/comment-thread.d.ts +29 -0
- package/dist/components/comment-thread.d.ts.map +1 -1
- package/dist/components/comment-thread.js +76 -18
- package/dist/components/contact/index.cjs +36 -40
- package/dist/components/content-loading-container.d.ts +1 -1
- package/dist/components/docs/doc-viewer.d.ts.map +1 -1
- package/dist/components/docs/doc-viewer.js +10 -9
- package/dist/components/docs/index.cjs +39 -43
- package/dist/components/docs/skeletons.d.ts +0 -5
- package/dist/components/docs/skeletons.d.ts.map +1 -1
- package/dist/components/docs/skeletons.js +30 -50
- package/dist/components/docs/use-document-tree.d.ts +0 -1
- package/dist/components/docs/use-document-tree.d.ts.map +1 -1
- package/dist/components/docs/use-document-tree.js +6 -1
- package/dist/components/embeds/embed-iframe.d.ts.map +1 -1
- package/dist/components/embeds/embed-iframe.js +3 -0
- package/dist/components/embeds/index.cjs +38 -40
- package/dist/components/embeds/index.d.ts +1 -1
- package/dist/components/embeds/index.d.ts.map +1 -1
- package/dist/components/embeds/index.js +2 -1
- package/dist/components/embeds/markdown-image.d.ts.map +1 -1
- package/dist/components/embeds/markdown-image.js +5 -2
- package/dist/components/embeds/og-link-preview.d.ts +7 -3
- package/dist/components/embeds/og-link-preview.d.ts.map +1 -1
- package/dist/components/embeds/og-link-preview.js +106 -62
- package/dist/components/faq/faq-document-page.d.ts +5 -1
- package/dist/components/faq/faq-document-page.d.ts.map +1 -1
- package/dist/components/faq/faq-document-page.js +5 -1
- package/dist/components/faq/faq-section.d.ts +34 -1
- package/dist/components/faq/faq-section.d.ts.map +1 -1
- package/dist/components/faq/faq-section.js +146 -59
- package/dist/components/faq/index.cjs +41 -41
- package/dist/components/faq/index.d.ts +1 -1
- package/dist/components/faq/index.d.ts.map +1 -1
- package/dist/components/faq/index.js +9 -1
- package/dist/components/faq-accordion.d.ts +15 -0
- package/dist/components/faq-accordion.d.ts.map +1 -1
- package/dist/components/faq-accordion.js +37 -9
- package/dist/components/features/ai-enrich/AIStatusIndicator.d.ts.map +1 -1
- package/dist/components/features/ai-enrich/AIStatusIndicator.js +2 -1
- package/dist/components/features/approval-level.d.ts +15 -1
- package/dist/components/features/approval-level.d.ts.map +1 -1
- package/dist/components/features/approval-level.js +42 -6
- package/dist/components/features/capability-explorer.d.ts +5 -1
- package/dist/components/features/capability-explorer.d.ts.map +1 -1
- package/dist/components/features/capability-explorer.js +42 -37
- package/dist/components/features/cards-strip.d.ts +9 -0
- package/dist/components/features/cards-strip.d.ts.map +1 -1
- package/dist/components/features/cards-strip.js +35 -11
- package/dist/components/features/command-box.d.ts +19 -0
- package/dist/components/features/command-box.d.ts.map +1 -1
- package/dist/components/features/command-box.js +103 -11
- package/dist/components/features/conversation-card.d.ts +70 -5
- package/dist/components/features/conversation-card.d.ts.map +1 -1
- package/dist/components/features/conversation-card.js +146 -13
- package/dist/components/features/devices/device-selector/device-selector.d.ts.map +1 -1
- package/dist/components/features/devices/device-selector/device-selector.js +1 -0
- package/dist/components/features/devices/devices-panel-view.d.ts +1 -1
- package/dist/components/features/devices/devices-panel-view.js +1 -1
- package/dist/components/features/entity-tag-badges.d.ts +32 -7
- package/dist/components/features/entity-tag-badges.d.ts.map +1 -1
- package/dist/components/features/entity-tag-badges.js +73 -9
- package/dist/components/features/entity-video-section.d.ts +14 -14
- package/dist/components/features/entity-video-section.d.ts.map +1 -1
- package/dist/components/features/entity-video-section.js +29 -22
- package/dist/components/features/figma-prototype-viewer.d.ts.map +1 -1
- package/dist/components/features/figma-prototype-viewer.js +3 -10
- package/dist/components/features/index.cjs +77 -39
- package/dist/components/features/index.d.ts +3 -0
- package/dist/components/features/index.d.ts.map +1 -1
- package/dist/components/features/index.js +5 -0
- package/dist/components/features/knowledge-base/index.d.ts +2 -1
- package/dist/components/features/knowledge-base/index.d.ts.map +1 -1
- package/dist/components/features/knowledge-base/knowledge-base-article-view.d.ts +0 -1
- package/dist/components/features/knowledge-base/knowledge-base-article-view.d.ts.map +1 -1
- package/dist/components/features/model-token-rates.d.ts.map +1 -1
- package/dist/components/features/model-token-rates.js +50 -78
- package/dist/components/features/notifications/approval-request-notification-tile.d.ts.map +1 -1
- package/dist/components/features/notifications/approval-request-notification-tile.js +9 -5
- package/dist/components/features/notifications/notification-tile.d.ts +22 -7
- package/dist/components/features/notifications/notification-tile.d.ts.map +1 -1
- package/dist/components/features/notifications/notification-tile.js +42 -15
- package/dist/components/features/paths-display.d.ts +9 -0
- package/dist/components/features/paths-display.d.ts.map +1 -1
- package/dist/components/features/paths-display.js +50 -5
- package/dist/components/features/platform-badge.d.ts +2 -0
- package/dist/components/features/platform-badge.d.ts.map +1 -1
- package/dist/components/features/platform-badge.js +33 -2
- package/dist/components/features/push-button-selector.d.ts +23 -1
- package/dist/components/features/push-button-selector.d.ts.map +1 -1
- package/dist/components/features/push-button-selector.js +114 -41
- package/dist/components/features/remote-session/index.d.ts +2 -2
- package/dist/components/features/remote-session/index.d.ts.map +1 -1
- package/dist/components/features/remote-session/index.js +3 -3
- package/dist/components/features/remote-session/remote-desktop-chat-message-row.d.ts +2 -0
- package/dist/components/features/remote-session/remote-desktop-chat-message-row.d.ts.map +1 -1
- package/dist/components/features/remote-session/remote-desktop-chat-message-row.js +18 -4
- package/dist/components/features/remote-session/remote-desktop-chat-panel.d.ts.map +1 -1
- package/dist/components/features/remote-session/remote-desktop-chat-panel.js +11 -2
- package/dist/components/features/remote-session/remote-desktop-view.d.ts +6 -6
- package/dist/components/features/remote-session/remote-desktop-view.d.ts.map +1 -1
- package/dist/components/features/remote-session/remote-desktop-view.js +27 -27
- package/dist/components/features/remote-session/remote-session-chat-panel.js +1 -1
- package/dist/components/features/status-filter-component.d.ts +19 -1
- package/dist/components/features/status-filter-component.d.ts.map +1 -1
- package/dist/components/features/status-filter-component.js +106 -43
- package/dist/components/features/use-video-warmup.d.ts +1 -1
- package/dist/components/features/use-video-warmup.d.ts.map +1 -1
- package/dist/components/features/use-video-warmup.js +2 -5
- package/dist/components/features/use-walkthrough-video.d.ts.map +1 -1
- package/dist/components/features/use-walkthrough-video.js +4 -1
- package/dist/components/features/video-bites-strip.d.ts +42 -1
- package/dist/components/features/video-bites-strip.d.ts.map +1 -1
- package/dist/components/features/video-bites-strip.js +100 -21
- package/dist/components/features/video-hover-preview.d.ts +1 -1
- package/dist/components/features/video-hover-preview.d.ts.map +1 -1
- package/dist/components/features/video.d.ts +9 -2
- package/dist/components/features/video.d.ts.map +1 -1
- package/dist/components/features/video.js +10 -5
- package/dist/components/features/walkthrough-video.d.ts.map +1 -1
- package/dist/components/features/walkthrough-video.js +5 -1
- package/dist/components/help-center-pages/download-apps-page.d.ts.map +1 -1
- package/dist/components/help-center-pages/download-apps-page.js +65 -33
- package/dist/components/help-center-pages/index.cjs +410 -316
- package/dist/components/help-center-pages/trust-center-page.d.ts +21 -9
- package/dist/components/help-center-pages/trust-center-page.d.ts.map +1 -1
- package/dist/components/help-center-pages/trust-center-page.js +100 -67
- package/dist/components/help-center-pages/trust-center-sections.d.ts +19 -14
- package/dist/components/help-center-pages/trust-center-sections.d.ts.map +1 -1
- package/dist/components/help-center-pages/trust-center-sections.js +124 -97
- package/dist/components/icon-display.d.ts.map +1 -1
- package/dist/components/icon-display.js +6 -0
- package/dist/components/index.cjs +1505 -380
- package/dist/components/index.d.ts +5 -2
- package/dist/components/index.d.ts.map +1 -1
- package/dist/components/index.js +12 -2
- package/dist/components/interactive-wrapper.d.ts.map +1 -1
- package/dist/components/interactive-wrapper.js +2 -1
- package/dist/components/layout/list-page-layout.d.ts +3 -3
- package/dist/components/layout/list-page-layout.d.ts.map +1 -1
- package/dist/components/layout/page-container.d.ts +8 -1
- package/dist/components/layout/page-container.d.ts.map +1 -1
- package/dist/components/layout/page-container.js +25 -10
- package/dist/components/layout/page-data-sync.d.ts +7 -1
- package/dist/components/layout/page-data-sync.d.ts.map +1 -1
- package/dist/components/layout/page-data-sync.js +13 -4
- package/dist/components/layout/page-heading.d.ts +31 -0
- package/dist/components/layout/page-heading.d.ts.map +1 -1
- package/dist/components/layout/page-heading.js +44 -1
- package/dist/components/layout/page-layout.d.ts +4 -4
- package/dist/components/layout/page-layout.d.ts.map +1 -1
- package/dist/components/layout/page-layout.js +4 -5
- package/dist/components/layout/title-block.d.ts +12 -1
- package/dist/components/layout/title-block.d.ts.map +1 -1
- package/dist/components/layout/title-block.js +50 -12
- package/dist/components/loading/category-vendor-selector-skeleton.d.ts +3 -0
- package/dist/components/loading/category-vendor-selector-skeleton.d.ts.map +1 -1
- package/dist/components/loading/deprecated-layout-skeletons.d.ts +25 -0
- package/dist/components/loading/deprecated-layout-skeletons.d.ts.map +1 -0
- package/dist/components/loading/deprecated-layout-skeletons.js +78 -0
- package/dist/components/loading/device-card-skeleton.js +4 -4
- package/dist/components/loading/index.d.ts +4 -3
- package/dist/components/loading/index.d.ts.map +1 -1
- package/dist/components/loading/index.js +10 -16
- package/dist/components/loading/loading-region.d.ts +10 -9
- package/dist/components/loading/loading-region.d.ts.map +1 -1
- package/dist/components/loading/loading-region.js +4 -1
- package/dist/components/loading/msp-profile-form-skeleton.d.ts +2 -0
- package/dist/components/loading/msp-profile-form-skeleton.d.ts.map +1 -1
- package/dist/components/loading/organization-card-skeleton.d.ts +14 -10
- package/dist/components/loading/organization-card-skeleton.d.ts.map +1 -1
- package/dist/components/loading/organization-card-skeleton.js +38 -40
- package/dist/components/loading/page-layout-skeleton.d.ts +7 -51
- package/dist/components/loading/page-layout-skeleton.d.ts.map +1 -1
- package/dist/components/loading/page-layout-skeleton.js +2 -411
- package/dist/components/loading/settings-form-skeleton.d.ts +2 -0
- package/dist/components/loading/settings-form-skeleton.d.ts.map +1 -1
- package/dist/components/loading/unified-skeleton.d.ts +57 -9
- package/dist/components/loading/unified-skeleton.d.ts.map +1 -1
- package/dist/components/loading/unified-skeleton.js +57 -8
- package/dist/components/log-severity-dot.d.ts +2 -0
- package/dist/components/log-severity-dot.d.ts.map +1 -1
- package/dist/components/log-severity-dot.js +11 -13
- package/dist/components/logs-list.d.ts.map +1 -1
- package/dist/components/logs-list.js +34 -43
- package/dist/components/media-carousel.d.ts +0 -1
- package/dist/components/media-carousel.d.ts.map +1 -1
- package/dist/components/meeting-scheduler/booking-form.d.ts +52 -8
- package/dist/components/meeting-scheduler/booking-form.d.ts.map +1 -1
- package/dist/components/meeting-scheduler/booking-form.js +150 -30
- package/dist/components/meeting-scheduler/context-panel.d.ts +18 -2
- package/dist/components/meeting-scheduler/context-panel.d.ts.map +1 -1
- package/dist/components/meeting-scheduler/context-panel.js +61 -23
- package/dist/components/meeting-scheduler/directory.d.ts +11 -1
- package/dist/components/meeting-scheduler/directory.d.ts.map +1 -1
- package/dist/components/meeting-scheduler/directory.js +47 -27
- package/dist/components/meeting-scheduler/index.cjs +556 -344
- package/dist/components/meeting-scheduler/index.d.ts +5 -4
- package/dist/components/meeting-scheduler/index.d.ts.map +1 -1
- package/dist/components/meeting-scheduler/index.js +127 -102
- package/dist/components/meeting-scheduler/modal-header.d.ts +7 -3
- package/dist/components/meeting-scheduler/modal-header.d.ts.map +1 -1
- package/dist/components/meeting-scheduler/modal-header.js +29 -18
- package/dist/components/meeting-scheduler/slot-picker.d.ts +11 -4
- package/dist/components/meeting-scheduler/slot-picker.d.ts.map +1 -1
- package/dist/components/meeting-scheduler/slot-picker.js +12 -7
- package/dist/components/metric-value.d.ts +5 -0
- package/dist/components/metric-value.d.ts.map +1 -1
- package/dist/components/metric-value.js +15 -3
- package/dist/components/msp-display.d.ts +5 -0
- package/dist/components/msp-display.d.ts.map +1 -1
- package/dist/components/msp-display.js +19 -14
- package/dist/components/navigation/app-layout.d.ts +0 -2
- package/dist/components/navigation/app-layout.d.ts.map +1 -1
- package/dist/components/navigation/app-layout.js +1 -4
- package/dist/components/navigation/index.cjs +48 -42
- package/dist/components/navigation/index.d.ts +8 -3
- package/dist/components/navigation/index.d.ts.map +1 -1
- package/dist/components/navigation/index.js +18 -3
- package/dist/components/navigation/mingo-ai-button.d.ts +0 -2
- package/dist/components/navigation/mingo-ai-button.d.ts.map +1 -1
- package/dist/components/navigation/mingo-ai-button.js +2 -4
- package/dist/components/navigation/mobile-nav-sheet.d.ts +0 -1
- package/dist/components/navigation/mobile-nav-sheet.d.ts.map +1 -1
- package/dist/components/navigation/mobile-nav-sheet.js +0 -2
- package/dist/components/navigation/multi-level-navigation.d.ts +21 -0
- package/dist/components/navigation/multi-level-navigation.d.ts.map +1 -1
- package/dist/components/navigation/multi-level-navigation.js +98 -24
- package/dist/components/navigation/page-section-bar.d.ts +50 -0
- package/dist/components/navigation/page-section-bar.d.ts.map +1 -0
- package/dist/components/navigation/page-section-bar.js +85 -0
- package/dist/components/navigation/sticky-section-nav.d.ts +12 -0
- package/dist/components/navigation/sticky-section-nav.d.ts.map +1 -1
- package/dist/components/navigation/sticky-section-nav.js +87 -20
- package/dist/components/navigation/ticket-alerts-button.js +1 -1
- package/dist/components/onboarding-guides/hooks/use-onboarding-guides.d.ts.map +1 -1
- package/dist/components/onboarding-guides/hooks/use-onboarding-guides.js +7 -1
- package/dist/components/onboarding-guides/index.cjs +38 -42
- package/dist/components/onboarding-guides/index.d.ts +1 -2
- package/dist/components/onboarding-guides/index.d.ts.map +1 -1
- package/dist/components/onboarding-guides/index.js +5 -3
- package/dist/components/onboarding-guides/onboarding-guide-detail-view.d.ts +8 -0
- package/dist/components/onboarding-guides/onboarding-guide-detail-view.d.ts.map +1 -1
- package/dist/components/onboarding-guides/onboarding-guide-detail-view.js +142 -84
- package/dist/components/onboarding-guides/onboarding-guides-catalog-skeleton.d.ts +18 -17
- package/dist/components/onboarding-guides/onboarding-guides-catalog-skeleton.d.ts.map +1 -1
- package/dist/components/onboarding-guides/onboarding-guides-catalog-skeleton.js +28 -21
- package/dist/components/onboarding-guides/onboarding-guides-catalog-view.d.ts.map +1 -1
- package/dist/components/onboarding-guides/onboarding-guides-catalog-view.js +57 -18
- package/dist/components/pagination.d.ts +26 -2
- package/dist/components/pagination.d.ts.map +1 -1
- package/dist/components/pagination.js +61 -38
- package/dist/components/persistent-filter-controls.d.ts.map +1 -1
- package/dist/components/persistent-filter-controls.js +1 -2
- package/dist/components/persistent-pagination.d.ts.map +1 -1
- package/dist/components/persistent-pagination.js +3 -1
- package/dist/components/platform/ToolBadge.d.ts +13 -1
- package/dist/components/platform/ToolBadge.d.ts.map +1 -1
- package/dist/components/platform/ToolBadge.js +38 -9
- package/dist/components/platform/index.d.ts +2 -2
- package/dist/components/platform/index.d.ts.map +1 -1
- package/dist/components/platform/index.js +4 -2
- package/dist/components/platform/tool-badge-mark.d.ts +6 -0
- package/dist/components/platform/tool-badge-mark.d.ts.map +1 -0
- package/dist/components/platform/tool-badge-mark.js +6 -0
- package/dist/components/product-demo/fixtures/devices.d.ts +0 -2
- package/dist/components/product-demo/fixtures/devices.d.ts.map +1 -1
- package/dist/components/product-demo/fixtures/devices.js +0 -2
- package/dist/components/product-demo/index.cjs +1889 -32
- package/dist/components/product-demo/product-screen.d.ts +5 -5
- package/dist/components/product-demo/product-screen.d.ts.map +1 -1
- package/dist/components/product-demo/product-screen.js +19 -15
- package/dist/components/product-demo/screen-loading.d.ts +10 -0
- package/dist/components/product-demo/screen-loading.d.ts.map +1 -0
- package/dist/components/product-demo/screen-loading.js +12 -0
- package/dist/components/product-demo/screens/devices-view.d.ts +22 -0
- package/dist/components/product-demo/screens/devices-view.d.ts.map +1 -0
- package/dist/components/product-demo/screens/devices-view.js +35 -0
- package/dist/components/product-demo/screens/devices.d.ts +1 -7
- package/dist/components/product-demo/screens/devices.d.ts.map +1 -1
- package/dist/components/product-demo/screens/devices.js +8 -15
- package/dist/components/related-content/card-registry.d.ts +3 -2
- package/dist/components/related-content/card-registry.d.ts.map +1 -1
- package/dist/components/related-content/card-registry.js +15 -3
- package/dist/components/related-content/index.cjs +19 -18
- package/dist/components/related-content/index.d.ts +2 -1
- package/dist/components/related-content/index.d.ts.map +1 -1
- package/dist/components/related-content/index.js +3 -1
- package/dist/components/related-content/related-content-section.d.ts +14 -1
- package/dist/components/related-content/related-content-section.d.ts.map +1 -1
- package/dist/components/related-content/related-content-section.js +144 -32
- package/dist/components/results-count.d.ts +5 -0
- package/dist/components/results-count.d.ts.map +1 -1
- package/dist/components/results-count.js +30 -6
- package/dist/components/shared/article-author-byline.d.ts +8 -0
- package/dist/components/shared/article-author-byline.d.ts.map +1 -1
- package/dist/components/shared/article-author-byline.js +54 -52
- package/dist/components/shared/delivery/delivery-lists.d.ts.map +1 -1
- package/dist/components/shared/delivery/delivery-lists.js +14 -2
- package/dist/components/shared/delivery/delivery-row.d.ts +5 -0
- package/dist/components/shared/delivery/delivery-row.d.ts.map +1 -1
- package/dist/components/shared/delivery/delivery-row.js +37 -10
- package/dist/components/shared/delivery/delivery-table.d.ts +4 -0
- package/dist/components/shared/delivery/delivery-table.d.ts.map +1 -1
- package/dist/components/shared/delivery/delivery-table.js +14 -26
- package/dist/components/shared/detail-page-skeleton.d.ts +3 -0
- package/dist/components/shared/detail-page-skeleton.d.ts.map +1 -1
- package/dist/components/shared/detail-page-skeleton.js +9 -1
- package/dist/components/shared/dev-section/dev-card-row.d.ts +2 -0
- package/dist/components/shared/dev-section/dev-card-row.d.ts.map +1 -1
- package/dist/components/shared/dev-section/dev-card-row.js +31 -21
- package/dist/components/shared/dev-section/dev-section-view.js +1 -1
- package/dist/components/shared/legal-document/index.d.ts +1 -1
- package/dist/components/shared/legal-document/index.d.ts.map +1 -1
- package/dist/components/shared/legal-document/index.js +5 -1
- package/dist/components/shared/legal-document/legal-document-page.d.ts +14 -0
- package/dist/components/shared/legal-document/legal-document-page.d.ts.map +1 -1
- package/dist/components/shared/legal-document/legal-document-page.js +47 -42
- package/dist/components/shared/legal-document/use-legal-docs.d.ts.map +1 -1
- package/dist/components/shared/legal-document/use-legal-docs.js +4 -1
- package/dist/components/shared/legal-document/use-legal-documents.d.ts.map +1 -1
- package/dist/components/shared/legal-document/use-legal-documents.js +3 -1
- package/dist/components/shared/media-gallery-strip.d.ts +7 -0
- package/dist/components/shared/media-gallery-strip.d.ts.map +1 -1
- package/dist/components/shared/media-gallery-strip.js +22 -3
- package/dist/components/shared/onboarding/index.d.ts +2 -1
- package/dist/components/shared/onboarding/index.d.ts.map +1 -1
- package/dist/components/shared/onboarding/index.js +1 -3
- package/dist/components/shared/product-release/index.d.ts +2 -1
- package/dist/components/shared/product-release/index.d.ts.map +1 -1
- package/dist/components/shared/product-release/product-release-card-classes.d.ts +26 -0
- package/dist/components/shared/product-release/product-release-card-classes.d.ts.map +1 -0
- package/dist/components/shared/product-release/product-release-card-classes.js +40 -0
- package/dist/components/shared/product-release/product-release-card-skeleton.d.ts.map +1 -1
- package/dist/components/shared/product-release/product-release-card-skeleton.js +37 -35
- package/dist/components/shared/product-release/product-release-card.d.ts +3 -1
- package/dist/components/shared/product-release/product-release-card.d.ts.map +1 -1
- package/dist/components/shared/product-release/product-release-card.js +86 -73
- package/dist/components/shared/product-release/product-releases-view.d.ts.map +1 -1
- package/dist/components/shared/product-release/product-releases-view.js +26 -13
- package/dist/components/shared/product-release/release-detail-page.d.ts +0 -1
- package/dist/components/shared/product-release/release-detail-page.d.ts.map +1 -1
- package/dist/components/shared/product-release/release-detail-page.js +281 -215
- package/dist/components/shared/roadmap/roadmap-grid-skeleton.d.ts +9 -1
- package/dist/components/shared/roadmap/roadmap-grid-skeleton.d.ts.map +1 -1
- package/dist/components/shared/roadmap/roadmap-grid-skeleton.js +12 -11
- package/dist/components/shared/roadmap/roadmap-grid.d.ts +13 -1
- package/dist/components/shared/roadmap/roadmap-grid.d.ts.map +1 -1
- package/dist/components/shared/roadmap/roadmap-grid.js +45 -29
- package/dist/components/shared/roadmap/roadmap-view.d.ts.map +1 -1
- package/dist/components/shared/roadmap/roadmap-view.js +2 -3
- package/dist/components/social-icon-row.d.ts +9 -2
- package/dist/components/social-icon-row.d.ts.map +1 -1
- package/dist/components/social-icon-row.js +12 -6
- package/dist/components/tickets/help-center-list.d.ts.map +1 -1
- package/dist/components/tickets/help-center-list.js +6 -2
- package/dist/components/tickets/hooks/use-ticket-actions.d.ts +2 -2
- package/dist/components/tickets/hooks/use-ticket-actions.d.ts.map +1 -1
- package/dist/components/tickets/index.cjs +42 -46
- package/dist/components/tickets/index.d.ts +2 -1
- package/dist/components/tickets/index.d.ts.map +1 -1
- package/dist/components/tickets/index.js +2 -3
- package/dist/components/tickets/ticket-center.d.ts.map +1 -1
- package/dist/components/tickets/ticket-center.js +117 -58
- package/dist/components/tickets/types.d.ts +0 -8
- package/dist/components/tickets/types.d.ts.map +1 -1
- package/dist/components/tickets/types.js +0 -3
- package/dist/components/toggle-group.d.ts +4 -2
- package/dist/components/toggle-group.d.ts.map +1 -1
- package/dist/components/toggle-group.js +3 -1
- package/dist/components/tool-icon.d.ts.map +1 -1
- package/dist/components/ui/analyzing-state.d.ts +3 -2
- package/dist/components/ui/analyzing-state.d.ts.map +1 -1
- package/dist/components/ui/analyzing-state.js +7 -4
- package/dist/components/ui/announcement-bar-view.d.ts +5 -0
- package/dist/components/ui/announcement-bar-view.d.ts.map +1 -1
- package/dist/components/ui/announcement-bar-view.js +3 -1
- package/dist/components/ui/autocomplete.d.ts +13 -0
- package/dist/components/ui/autocomplete.d.ts.map +1 -1
- package/dist/components/ui/autocomplete.js +30 -6
- package/dist/components/ui/avatar-stack.d.ts +7 -0
- package/dist/components/ui/avatar-stack.d.ts.map +1 -1
- package/dist/components/ui/avatar-stack.js +29 -4
- package/dist/components/ui/badge.d.ts +9 -1
- package/dist/components/ui/badge.d.ts.map +1 -1
- package/dist/components/ui/badge.js +11 -0
- package/dist/components/ui/benefit-list.d.ts +8 -0
- package/dist/components/ui/benefit-list.d.ts.map +1 -1
- package/dist/components/ui/benefit-list.js +20 -11
- package/dist/components/ui/button/button-styles.d.ts +16 -0
- package/dist/components/ui/button/button-styles.d.ts.map +1 -1
- package/dist/components/ui/button/button-styles.js +42 -0
- package/dist/components/ui/button/button.d.ts +3 -1
- package/dist/components/ui/button/button.d.ts.map +1 -1
- package/dist/components/ui/button/button.js +4 -40
- package/dist/components/ui/button/index.d.ts +1 -0
- package/dist/components/ui/button/index.d.ts.map +1 -1
- package/dist/components/ui/button/index.js +4 -0
- package/dist/components/ui/card.d.ts +13 -1
- package/dist/components/ui/card.d.ts.map +1 -1
- package/dist/components/ui/card.js +21 -14
- package/dist/components/ui/checkbox.d.ts +2 -0
- package/dist/components/ui/checkbox.d.ts.map +1 -1
- package/dist/components/ui/checkbox.js +5 -1
- package/dist/components/ui/compliance-badge.d.ts +2 -0
- package/dist/components/ui/compliance-badge.d.ts.map +1 -1
- package/dist/components/ui/compliance-badge.js +5 -2
- package/dist/components/ui/cursor-pagination.d.ts +8 -1
- package/dist/components/ui/cursor-pagination.d.ts.map +1 -1
- package/dist/components/ui/cursor-pagination.js +10 -4
- package/dist/components/ui/dashboard-info-card.d.ts +6 -1
- package/dist/components/ui/dashboard-info-card.d.ts.map +1 -1
- package/dist/components/ui/dashboard-info-card.js +19 -10
- package/dist/components/ui/data-attribution.d.ts +10 -5
- package/dist/components/ui/data-attribution.d.ts.map +1 -1
- package/dist/components/ui/data-attribution.js +27 -9
- package/dist/components/ui/data-table/data-table-body.d.ts +1 -1
- package/dist/components/ui/data-table/data-table-body.d.ts.map +1 -1
- package/dist/components/ui/data-table/data-table-body.js +18 -7
- package/dist/components/ui/data-table/data-table-row-count.d.ts +5 -0
- package/dist/components/ui/data-table/data-table-row-count.d.ts.map +1 -1
- package/dist/components/ui/data-table/data-table-row-count.js +18 -3
- package/dist/components/ui/data-table/data-table-row.d.ts.map +1 -1
- package/dist/components/ui/data-table/data-table-row.js +2 -6
- package/dist/components/ui/data-table/data-table-skeleton.js +5 -5
- package/dist/components/ui/data-table/index.d.ts +2 -2
- package/dist/components/ui/data-table/index.d.ts.map +1 -1
- package/dist/components/ui/data-table/index.js +2 -1
- package/dist/components/ui/date-picker.d.ts +0 -1
- package/dist/components/ui/date-picker.d.ts.map +1 -1
- package/dist/components/ui/entity-image.d.ts +4 -0
- package/dist/components/ui/entity-image.d.ts.map +1 -1
- package/dist/components/ui/entity-image.js +27 -5
- package/dist/components/ui/error-state.d.ts.map +1 -1
- package/dist/components/ui/error-state.js +4 -1
- package/dist/components/ui/feature-card.d.ts +31 -1
- package/dist/components/ui/feature-card.d.ts.map +1 -1
- package/dist/components/ui/feature-card.js +40 -11
- package/dist/components/ui/feature-list.d.ts +15 -1
- package/dist/components/ui/feature-list.d.ts.map +1 -1
- package/dist/components/ui/feature-list.js +43 -8
- package/dist/components/ui/field-wrapper.d.ts +6 -0
- package/dist/components/ui/field-wrapper.d.ts.map +1 -1
- package/dist/components/ui/field-wrapper.js +16 -5
- package/dist/components/ui/file-manager/index.cjs +63 -64
- package/dist/components/ui/filter-checkbox-item.d.ts +9 -0
- package/dist/components/ui/filter-checkbox-item.d.ts.map +1 -1
- package/dist/components/ui/filter-checkbox-item.js +36 -6
- package/dist/components/ui/filter-modal.d.ts +2 -3
- package/dist/components/ui/filter-modal.d.ts.map +1 -1
- package/dist/components/ui/filter-pill-row.d.ts +10 -5
- package/dist/components/ui/filter-pill-row.d.ts.map +1 -1
- package/dist/components/ui/filter-pill-row.js +56 -19
- package/dist/components/ui/incident-feed.d.ts +1 -1
- package/dist/components/ui/incident-feed.d.ts.map +1 -1
- package/dist/components/ui/incident-feed.js +57 -56
- package/dist/components/ui/index.cjs +219 -39
- package/dist/components/ui/index.d.ts +10 -1
- package/dist/components/ui/index.d.ts.map +1 -1
- package/dist/components/ui/index.js +29 -1
- package/dist/components/ui/info-card-row.d.ts +12 -0
- package/dist/components/ui/info-card-row.d.ts.map +1 -1
- package/dist/components/ui/info-card-row.js +56 -30
- package/dist/components/ui/info-card.d.ts +24 -1
- package/dist/components/ui/info-card.d.ts.map +1 -1
- package/dist/components/ui/info-card.js +87 -52
- package/dist/components/ui/input-styles.d.ts +7 -0
- package/dist/components/ui/input-styles.d.ts.map +1 -0
- package/dist/components/ui/input-styles.js +7 -0
- package/dist/components/ui/input.d.ts.map +1 -1
- package/dist/components/ui/input.js +4 -1
- package/dist/components/ui/layout-hold.d.ts +9 -7
- package/dist/components/ui/layout-hold.d.ts.map +1 -1
- package/dist/components/ui/leader-row.d.ts +11 -4
- package/dist/components/ui/leader-row.d.ts.map +1 -1
- package/dist/components/ui/leader-row.js +29 -5
- package/dist/components/ui/loading-scope.d.ts +26 -0
- package/dist/components/ui/loading-scope.d.ts.map +1 -0
- package/dist/components/ui/loading-scope.js +31 -0
- package/dist/components/ui/markdown/base-components.d.ts +25 -0
- package/dist/components/ui/markdown/base-components.d.ts.map +1 -1
- package/dist/components/ui/markdown/base-components.js +13 -7
- package/dist/components/ui/markdown/engine.d.ts +26 -1
- package/dist/components/ui/markdown/engine.d.ts.map +1 -1
- package/dist/components/ui/markdown/engine.js +63 -4
- package/dist/components/ui/markdown/index.d.ts +5 -3
- package/dist/components/ui/markdown/index.d.ts.map +1 -1
- package/dist/components/ui/markdown/index.js +12 -4
- package/dist/components/ui/markdown/mermaid-diagram.d.ts.map +1 -1
- package/dist/components/ui/markdown/mermaid-diagram.js +8 -2
- package/dist/components/ui/markdown/rich/rich-markdown-renderer.d.ts +10 -0
- package/dist/components/ui/markdown/rich/rich-markdown-renderer.d.ts.map +1 -1
- package/dist/components/ui/markdown/rich/rich-markdown-renderer.js +21 -5
- package/dist/components/ui/markdown/simple-markdown-renderer.d.ts +0 -2
- package/dist/components/ui/markdown/simple-markdown-renderer.d.ts.map +1 -1
- package/dist/components/ui/markdown-editor.d.ts +10 -0
- package/dist/components/ui/markdown-editor.d.ts.map +1 -1
- package/dist/components/ui/markdown-editor.js +23 -7
- package/dist/components/ui/numbered-step.d.ts +10 -0
- package/dist/components/ui/numbered-step.d.ts.map +1 -1
- package/dist/components/ui/numbered-step.js +19 -2
- package/dist/components/ui/organization-card.d.ts.map +1 -1
- package/dist/components/ui/organization-card.js +30 -5
- package/dist/components/ui/page-actions.d.ts +2 -1
- package/dist/components/ui/page-actions.d.ts.map +1 -1
- package/dist/components/ui/page-actions.js +26 -21
- package/dist/components/ui/page-loader.d.ts.map +1 -1
- package/dist/components/ui/page-loader.js +2 -1
- package/dist/components/ui/people-cell.d.ts +4 -0
- package/dist/components/ui/people-cell.d.ts.map +1 -1
- package/dist/components/ui/people-cell.js +19 -3
- package/dist/components/ui/photo-wall.d.ts +1 -1
- package/dist/components/ui/photo-wall.d.ts.map +1 -1
- package/dist/components/ui/photo-wall.js +13 -3
- package/dist/components/ui/product-screen-frame.d.ts.map +1 -1
- package/dist/components/ui/product-screen-frame.js +3 -2
- package/dist/components/ui/progress-bar.d.ts +9 -0
- package/dist/components/ui/progress-bar.d.ts.map +1 -1
- package/dist/components/ui/progress-bar.js +34 -14
- package/dist/components/ui/progress.d.ts +15 -0
- package/dist/components/ui/progress.d.ts.map +1 -1
- package/dist/components/ui/progress.js +8 -3
- package/dist/components/ui/release-changelog-section.d.ts +22 -1
- package/dist/components/ui/release-changelog-section.d.ts.map +1 -1
- package/dist/components/ui/release-changelog-section.js +96 -28
- package/dist/components/ui/search-input.d.ts.map +1 -1
- package/dist/components/ui/search-input.js +11 -3
- package/dist/components/ui/searchable-select.d.ts.map +1 -1
- package/dist/components/ui/searchable-select.js +17 -4
- package/dist/components/ui/skeleton-surface.d.ts +12 -4
- package/dist/components/ui/skeleton-surface.d.ts.map +1 -1
- package/dist/components/ui/skeleton-surface.js +6 -2
- package/dist/components/ui/slack-channel-chip.d.ts +5 -1
- package/dist/components/ui/slack-channel-chip.d.ts.map +1 -1
- package/dist/components/ui/slack-channel-chip.js +16 -3
- package/dist/components/ui/snap-carousel.d.ts +4 -1
- package/dist/components/ui/snap-carousel.d.ts.map +1 -1
- package/dist/components/ui/snap-carousel.js +2 -0
- package/dist/components/ui/square-avatar.d.ts +3 -0
- package/dist/components/ui/square-avatar.d.ts.map +1 -1
- package/dist/components/ui/square-avatar.js +38 -23
- package/dist/components/ui/stacked-rows-panel.d.ts +24 -1
- package/dist/components/ui/stacked-rows-panel.d.ts.map +1 -1
- package/dist/components/ui/stacked-rows-panel.js +50 -13
- package/dist/components/ui/status-badge.d.ts +10 -2
- package/dist/components/ui/status-badge.d.ts.map +1 -1
- package/dist/components/ui/status-badge.js +14 -0
- package/dist/components/ui/status-indicator.d.ts +4 -0
- package/dist/components/ui/status-indicator.d.ts.map +1 -1
- package/dist/components/ui/status-indicator.js +16 -3
- package/dist/components/ui/status-line.d.ts.map +1 -1
- package/dist/components/ui/status-line.js +2 -1
- package/dist/components/ui/strip-card.d.ts +9 -0
- package/dist/components/ui/strip-card.d.ts.map +1 -1
- package/dist/components/ui/strip-card.js +57 -39
- package/dist/components/ui/tab-navigation.d.ts +26 -2
- package/dist/components/ui/tab-navigation.d.ts.map +1 -1
- package/dist/components/ui/tab-navigation.js +182 -115
- package/dist/components/ui/table/table-header.js +2 -2
- package/dist/components/ui/table/table-row.d.ts.map +1 -1
- package/dist/components/ui/table/table-row.js +2 -4
- package/dist/components/ui/table/table-skeleton.d.ts +6 -1
- package/dist/components/ui/table/table-skeleton.d.ts.map +1 -1
- package/dist/components/ui/table/table-skeleton.js +38 -50
- package/dist/components/ui/table/table.d.ts +1 -1
- package/dist/components/ui/table/table.d.ts.map +1 -1
- package/dist/components/ui/table/table.js +30 -25
- package/dist/components/ui/table/types.d.ts +14 -4
- package/dist/components/ui/table/types.d.ts.map +1 -1
- package/dist/components/ui/table/utils.d.ts +4 -0
- package/dist/components/ui/table/utils.d.ts.map +1 -1
- package/dist/components/ui/table/utils.js +4 -0
- package/dist/components/ui/tabs.d.ts +22 -1
- package/dist/components/ui/tabs.d.ts.map +1 -1
- package/dist/components/ui/tabs.js +33 -2
- package/dist/components/ui/tag.d.ts +21 -1
- package/dist/components/ui/tag.d.ts.map +1 -1
- package/dist/components/ui/tag.js +17 -12
- package/dist/components/ui/tags-input.d.ts +9 -0
- package/dist/components/ui/tags-input.d.ts.map +1 -1
- package/dist/components/ui/tags-input.js +41 -10
- package/dist/components/ui/textarea.d.ts +17 -1
- package/dist/components/ui/textarea.d.ts.map +1 -1
- package/dist/components/ui/textarea.js +22 -3
- package/dist/components/ui/ticket-info-section.d.ts +0 -1
- package/dist/components/ui/ticket-info-section.d.ts.map +1 -1
- package/dist/components/ui/timezone-select.d.ts +3 -1
- package/dist/components/ui/timezone-select.d.ts.map +1 -1
- package/dist/components/ui/timezone-select.js +3 -1
- package/dist/components/ui/toggle.d.ts +8 -2
- package/dist/components/ui/toggle.d.ts.map +1 -1
- package/dist/components/ui/toggle.js +10 -6
- package/dist/components/unified-pagination.d.ts +3 -1
- package/dist/components/unified-pagination.d.ts.map +1 -1
- package/dist/components/unified-pagination.js +7 -1
- package/dist/components/user-display.d.ts +11 -0
- package/dist/components/user-display.d.ts.map +1 -1
- package/dist/components/user-display.js +38 -14
- package/dist/components/user-summary-stub.d.ts.map +1 -1
- package/dist/components/user-summary-stub.js +7 -14
- package/dist/components/vendor-display-button.d.ts +4 -0
- package/dist/components/vendor-display-button.d.ts.map +1 -1
- package/dist/components/vendor-display-button.js +11 -13
- package/dist/components/vendor-icon.d.ts +5 -0
- package/dist/components/vendor-icon.d.ts.map +1 -1
- package/dist/components/vendor-icon.js +12 -3
- package/dist/components/vendor-tag.d.ts +5 -0
- package/dist/components/vendor-tag.d.ts.map +1 -1
- package/dist/components/vendor-tag.js +13 -5
- package/dist/{devices-557PMFDC.cjs → devices-2D3XSIIE.cjs} +43 -55
- package/dist/embed-shims/index.cjs +4 -2
- package/dist/embed-shims/next-image.cjs +4 -2
- package/dist/embed-shims/next-image.d.ts.map +1 -1
- package/dist/embed-shims/next-image.js +24 -0
- package/dist/{embeddable-chat-YFUCVDMV.cjs → embeddable-chat-YL6ZSTDJ.cjs} +117 -119
- package/dist/hooks/index.cjs +12 -12
- package/dist/hooks/state/flatten-schema.d.ts +0 -1
- package/dist/hooks/state/flatten-schema.d.ts.map +1 -1
- package/dist/hooks/state/flatten-schema.js +0 -2
- package/dist/hooks/state/index.d.ts +6 -3
- package/dist/hooks/state/index.d.ts.map +1 -1
- package/dist/hooks/state/index.js +4 -3
- package/dist/hooks/state/url-converter.d.ts +1 -1
- package/dist/hooks/state/url-converter.d.ts.map +1 -1
- package/dist/hooks/state/url-converter.js +1 -2
- package/dist/hooks/state/use-api-params.d.ts +1 -3
- package/dist/hooks/state/use-api-params.d.ts.map +1 -1
- package/dist/hooks/state/use-api-params.js +1 -5
- package/dist/hooks/ui/index.d.ts +1 -0
- package/dist/hooks/ui/index.d.ts.map +1 -1
- package/dist/hooks/ui/use-image-edge-color.d.ts +1 -1
- package/dist/hooks/ui/use-image-edge-color.d.ts.map +1 -1
- package/dist/hooks/ui/use-image-edge-color.js +3 -1
- package/dist/hooks/ui/use-onboarding-state.d.ts +0 -1
- package/dist/hooks/ui/use-onboarding-state.d.ts.map +1 -1
- package/dist/hooks/use-downloads.d.ts +1 -1
- package/dist/hooks/use-downloads.d.ts.map +1 -1
- package/dist/hooks/use-downloads.js +8 -1
- package/dist/hooks/use-meeting-booking.d.ts.map +1 -1
- package/dist/hooks/use-meeting-booking.js +3 -0
- package/dist/hooks/use-self-fetch.d.ts +1 -1
- package/dist/hooks/use-self-fetch.d.ts.map +1 -1
- package/dist/hooks/use-self-fetch.js +7 -4
- package/dist/hooks/use-toast.d.ts +1 -1
- package/dist/index.cjs +329 -103
- package/dist/{knowledge-4JTOUDAR.cjs → knowledge-AJ36PMK2.cjs} +36 -40
- package/dist/{logs-7YWAOPZ2.cjs → logs-DNE44ACE.cjs} +44 -48
- package/dist/nats/index.d.ts +1 -0
- package/dist/nats/index.d.ts.map +1 -1
- package/dist/nats/nats-provider.d.ts +0 -1
- package/dist/nats/nats-provider.d.ts.map +1 -1
- package/dist/nats/nats.d.ts +0 -1
- package/dist/nats/nats.d.ts.map +1 -1
- package/dist/nats/use-nats-subscription.d.ts +2 -1
- package/dist/nats/use-nats-subscription.d.ts.map +1 -1
- package/dist/{policies-W5JEPQTA.cjs → policies-AJHSP6ZY.cjs} +39 -43
- package/dist/{remote-session-F72S6I7J.cjs → remote-session-PPA5SXX7.cjs} +18 -21
- package/dist/schemas/meeting-booking-schema.cjs +4 -0
- package/dist/schemas/meeting-booking-schema.d.ts +8 -0
- package/dist/schemas/meeting-booking-schema.d.ts.map +1 -1
- package/dist/schemas/meeting-booking-schema.js +4 -0
- package/dist/{scripts-FY5IPOIM.cjs → scripts-4YO2QL36.cjs} +42 -46
- package/dist/{software-update-5BOGZOHG.cjs → software-update-KMI2EOO3.cjs} +41 -45
- package/dist/styles/component-sizes.d.ts +96 -0
- package/dist/styles/component-sizes.d.ts.map +1 -0
- package/dist/styles/component-sizes.js +77 -0
- package/dist/{tickets-board-DXMF7IKL.cjs → tickets-board-G3WBH4SV.cjs} +18 -20
- package/dist/types/announcement.d.ts +0 -1
- package/dist/types/announcement.d.ts.map +1 -1
- package/dist/types/blog.d.ts +0 -1
- package/dist/types/blog.d.ts.map +1 -1
- package/dist/types/case-study.d.ts +2 -2
- package/dist/types/case-study.d.ts.map +1 -1
- package/dist/types/customer-interview-ai.types.d.ts +1 -2
- package/dist/types/customer-interview-ai.types.d.ts.map +1 -1
- package/dist/types/customer-interview.d.ts +0 -1
- package/dist/types/customer-interview.d.ts.map +1 -1
- package/dist/types/index.d.ts +2 -0
- package/dist/types/index.d.ts.map +1 -1
- package/dist/types/product-release.d.ts +3 -0
- package/dist/types/product-release.d.ts.map +1 -1
- package/dist/types/stack.d.ts +0 -2
- package/dist/types/stack.d.ts.map +1 -1
- package/dist/utils/announcement-storage.d.ts +0 -3
- package/dist/utils/announcement-storage.d.ts.map +1 -1
- package/dist/utils/announcement-storage.js +1 -3
- package/dist/utils/dev-sections/openframe-dev-sections.d.ts +11 -0
- package/dist/utils/dev-sections/openframe-dev-sections.d.ts.map +1 -1
- package/dist/utils/dev-sections/openframe-dev-sections.js +5 -0
- package/dist/utils/index.cjs +19 -0
- package/dist/utils/index.d.ts +7 -2
- package/dist/utils/index.d.ts.map +1 -1
- package/dist/utils/index.js +8 -6
- package/dist/utils/markdown-heading-id.d.ts +0 -19
- package/dist/utils/markdown-heading-id.d.ts.map +1 -1
- package/dist/utils/markdown-heading-id.js +2 -5
- package/dist/utils/ods-color-utils.d.ts +0 -1
- package/dist/utils/ods-color-utils.d.ts.map +1 -1
- package/dist/utils/ods-color-utils.js +0 -2
- package/dist/utils/own-click.d.ts +4 -0
- package/dist/utils/own-click.d.ts.map +1 -0
- package/dist/utils/own-click.js +14 -0
- package/dist/utils/platform-config.d.ts +0 -1
- package/dist/utils/platform-config.d.ts.map +1 -1
- package/dist/utils/platform-config.js +0 -26
- package/dist/utils/source-icons.d.ts +2 -2
- package/dist/{video-file-player-QZ3YOLHO.cjs → video-file-player-COXRF4M5.cjs} +13 -13
- package/eslint-config/base.js +2 -0
- package/eslint-config/re-exports.js +56 -0
- package/package.json +1 -1
- package/src/ODS_TOKEN_RULES.md +2 -2
- package/src/chat-protocol/decode.ts +0 -5
- package/src/chat-protocol/index.ts +1 -0
- package/src/components/agent-identity.tsx +0 -2
- package/src/components/agent-mark.tsx +13 -4
- package/src/components/authors/author-detail-view.tsx +90 -44
- package/src/components/case-studies/entity-quotes-panel.tsx +50 -3
- package/src/components/case-studies/index.ts +2 -2
- package/src/components/case-studies/quote-cards-strip.tsx +75 -10
- package/src/components/categories-cart.tsx +82 -38
- package/src/components/category-card.tsx +1 -1
- package/src/components/chat/chat-attachment-bar.tsx +1 -1
- package/src/components/chat/chat-container.tsx +2 -1
- package/src/components/chat/chat-ticket-list.tsx +0 -1
- package/src/components/chat/chat-turn.tsx +124 -18
- package/src/components/chat/embeddable-chat.tsx +5 -5
- package/src/components/chat/entity-cards/admin-content-card-grid.tsx +1 -51
- package/src/components/chat/entity-cards/admin-content-card.tsx +80 -15
- package/src/components/chat/entity-cards/blog-card.tsx +71 -41
- package/src/components/chat/entity-cards/campaign-card-admin.tsx +4 -17
- package/src/components/chat/entity-cards/case-study-card.tsx +129 -68
- package/src/components/chat/entity-cards/chat-ticket-item.tsx +34 -29
- package/src/components/chat/entity-cards/customer-interview-card.tsx +61 -45
- package/src/components/chat/entity-cards/data-room-doc-card.tsx +11 -18
- package/src/components/chat/entity-cards/design-doc-card.tsx +48 -34
- package/src/components/chat/entity-cards/dispatch.tsx +9 -13
- package/src/components/chat/entity-cards/employee-entry-card.tsx +5 -5
- package/src/components/chat/entity-cards/entity-author-card.tsx +138 -32
- package/src/components/chat/entity-cards/entity-portrait-card.tsx +61 -16
- package/src/components/chat/entity-cards/generic-entity-card.tsx +11 -19
- package/src/components/chat/entity-cards/github-activity-card.tsx +14 -30
- package/src/components/chat/entity-cards/hubspot-ticket-card.tsx +11 -23
- package/src/components/chat/entity-cards/index.ts +20 -7
- package/src/components/chat/entity-cards/investor-update-card.tsx +42 -35
- package/src/components/chat/entity-cards/onboarding-guide-card.tsx +78 -64
- package/src/components/chat/entity-cards/program-card.tsx +96 -66
- package/src/components/chat/entity-cards/roadmap-card.tsx +85 -65
- package/src/components/chat/entity-cards/roadmap-vote-button.tsx +12 -1
- package/src/components/chat/entity-cards/slack-message-card.tsx +19 -26
- package/src/components/chat/hooks/index.ts +12 -2
- package/src/components/chat/hooks/use-ask-prompts.ts +5 -1
- package/src/components/chat/hooks/use-chat-dialog-manager.ts +1 -1
- package/src/components/chat/hooks/use-chat-history-hydration.ts +1 -1
- package/src/components/chat/hooks/use-chat.ts +0 -3
- package/src/components/chat/hooks/use-nats-chat-adapter.ts +0 -20
- package/src/components/chat/hooks/use-proxied-image-url.ts +27 -20
- package/src/components/chat/hooks/use-slash-commands.ts +1 -7
- package/src/components/chat/hooks/use-sse-chat-adapter.ts +4 -18
- package/src/components/chat/stream/chat-stream-reducer.ts +3 -2
- package/src/components/chat/types/entities/index.ts +24 -4
- package/src/components/chat/types/entities/investor-update.ts +1 -1
- package/src/components/chat/types/entities/program-types.ts +2 -5
- package/src/components/chat/utils/compact-card-classes.ts +15 -2
- package/src/components/chat/utils/compact-card-skeleton.tsx +111 -0
- package/src/components/chat/utils/icon-library.tsx +0 -2
- package/src/components/chat/utils/index.ts +5 -3
- package/src/components/chat/utils/scroll-anchor.ts +0 -2
- package/src/components/chat/utils/source-row-cta.ts +1 -5
- package/src/components/comment-card.tsx +118 -19
- package/src/components/comment-thread.tsx +130 -17
- package/src/components/docs/doc-viewer.tsx +33 -31
- package/src/components/docs/skeletons.tsx +37 -49
- package/src/components/docs/use-document-tree.ts +11 -7
- package/src/components/embeds/embed-iframe.tsx +5 -0
- package/src/components/embeds/index.ts +1 -1
- package/src/components/embeds/markdown-image.tsx +6 -2
- package/src/components/embeds/og-link-preview.tsx +155 -81
- package/src/components/faq/faq-document-page.tsx +8 -0
- package/src/components/faq/faq-section.tsx +249 -70
- package/src/components/faq/index.ts +12 -1
- package/src/components/faq-accordion.tsx +67 -7
- package/src/components/features/ai-enrich/AIStatusIndicator.tsx +2 -1
- package/src/components/features/approval-level.tsx +71 -8
- package/src/components/features/capability-explorer.tsx +59 -61
- package/src/components/features/cards-strip.tsx +54 -12
- package/src/components/features/command-box.tsx +139 -10
- package/src/components/features/conversation-card.tsx +242 -16
- package/src/components/features/devices/device-selector/device-selector.tsx +1 -0
- package/src/components/features/devices/devices-panel-view.tsx +2 -2
- package/src/components/features/entity-tag-badges.tsx +143 -10
- package/src/components/features/entity-video-section.tsx +52 -14
- package/src/components/features/figma-prototype-viewer.tsx +4 -8
- package/src/components/features/index.ts +11 -0
- package/src/components/features/knowledge-base/index.ts +2 -5
- package/src/components/features/knowledge-base/knowledge-base-article-view.tsx +0 -2
- package/src/components/features/model-token-rates.tsx +64 -84
- package/src/components/features/notifications/approval-request-notification-tile.tsx +9 -11
- package/src/components/features/notifications/notification-tile.tsx +58 -23
- package/src/components/features/paths-display.tsx +73 -6
- package/src/components/features/platform-badge.tsx +41 -1
- package/src/components/features/push-button-selector.tsx +167 -64
- package/src/components/features/remote-session/index.ts +2 -2
- package/src/components/features/remote-session/remote-desktop-chat-message-row.tsx +24 -3
- package/src/components/features/remote-session/remote-desktop-chat-panel.tsx +19 -5
- package/src/components/features/remote-session/remote-desktop-view.tsx +47 -38
- package/src/components/features/remote-session/remote-session-chat-panel.tsx +1 -1
- package/src/components/features/status-filter-component.tsx +105 -11
- package/src/components/features/use-video-warmup.ts +0 -7
- package/src/components/features/use-walkthrough-video.ts +5 -1
- package/src/components/features/video-bites-strip.tsx +137 -22
- package/src/components/features/video-hover-preview.tsx +2 -1
- package/src/components/features/video.tsx +16 -12
- package/src/components/features/walkthrough-video.tsx +9 -2
- package/src/components/help-center-pages/download-apps-page.tsx +86 -32
- package/src/components/help-center-pages/trust-center-page.tsx +132 -66
- package/src/components/help-center-pages/trust-center-sections.tsx +205 -148
- package/src/components/icon-display.tsx +9 -0
- package/src/components/index.ts +11 -2
- package/src/components/interactive-wrapper.tsx +2 -1
- package/src/components/layout/list-page-layout.tsx +4 -5
- package/src/components/layout/page-container.tsx +59 -29
- package/src/components/layout/page-data-sync.tsx +40 -5
- package/src/components/layout/page-heading.tsx +84 -1
- package/src/components/layout/page-layout.tsx +5 -5
- package/src/components/layout/title-block.tsx +72 -17
- package/src/components/loading/category-vendor-selector-skeleton.tsx +4 -0
- package/src/components/loading/deprecated-layout-skeletons.tsx +133 -0
- package/src/components/loading/device-card-skeleton.tsx +4 -4
- package/src/components/loading/index.ts +11 -13
- package/src/components/loading/loading-region.tsx +16 -9
- package/src/components/loading/msp-profile-form-skeleton.tsx +3 -0
- package/src/components/loading/organization-card-skeleton.tsx +45 -71
- package/src/components/loading/page-layout-skeleton.tsx +1 -641
- package/src/components/loading/settings-form-skeleton.tsx +3 -0
- package/src/components/loading/unified-skeleton.tsx +101 -11
- package/src/components/log-severity-dot.tsx +17 -14
- package/src/components/logs-list.tsx +43 -29
- package/src/components/media-carousel.tsx +0 -4
- package/src/components/meeting-scheduler/booking-form.tsx +245 -35
- package/src/components/meeting-scheduler/context-panel.tsx +96 -30
- package/src/components/meeting-scheduler/directory.tsx +70 -37
- package/src/components/meeting-scheduler/index.tsx +136 -132
- package/src/components/meeting-scheduler/modal-header.tsx +45 -31
- package/src/components/meeting-scheduler/slot-picker.tsx +20 -8
- package/src/components/metric-value.tsx +19 -2
- package/src/components/msp-display.tsx +25 -10
- package/src/components/navigation/app-layout.tsx +0 -3
- package/src/components/navigation/index.ts +15 -3
- package/src/components/navigation/mingo-ai-button.tsx +3 -4
- package/src/components/navigation/mobile-nav-sheet.tsx +0 -2
- package/src/components/navigation/multi-level-navigation.tsx +152 -35
- package/src/components/navigation/page-section-bar.tsx +132 -0
- package/src/components/navigation/sticky-section-nav.tsx +109 -18
- package/src/components/navigation/ticket-alerts-button.tsx +1 -1
- package/src/components/onboarding-guides/hooks/use-onboarding-guides.ts +8 -1
- package/src/components/onboarding-guides/index.ts +5 -2
- package/src/components/onboarding-guides/onboarding-guide-detail-view.tsx +166 -67
- package/src/components/onboarding-guides/onboarding-guides-catalog-skeleton.tsx +38 -51
- package/src/components/onboarding-guides/onboarding-guides-catalog-view.tsx +91 -45
- package/src/components/pagination.tsx +103 -48
- package/src/components/persistent-filter-controls.tsx +0 -7
- package/src/components/persistent-pagination.tsx +6 -1
- package/src/components/platform/ToolBadge.tsx +57 -10
- package/src/components/platform/index.ts +2 -2
- package/src/components/platform/tool-badge-mark.ts +6 -0
- package/src/components/product-demo/fixtures/devices.ts +0 -3
- package/src/components/product-demo/product-screen.tsx +42 -23
- package/src/components/product-demo/screen-loading.tsx +20 -0
- package/src/components/product-demo/screens/devices-view.tsx +58 -0
- package/src/components/product-demo/screens/devices.tsx +9 -29
- package/src/components/related-content/card-registry.tsx +20 -6
- package/src/components/related-content/index.ts +3 -1
- package/src/components/related-content/related-content-section.tsx +222 -46
- package/src/components/results-count.tsx +37 -6
- package/src/components/shared/article-author-byline.tsx +65 -41
- package/src/components/shared/delivery/delivery-lists.tsx +15 -2
- package/src/components/shared/delivery/delivery-row.tsx +55 -9
- package/src/components/shared/delivery/delivery-table.tsx +19 -46
- package/src/components/shared/detail-page-skeleton.tsx +15 -1
- package/src/components/shared/dev-section/dev-card-row.tsx +45 -28
- package/src/components/shared/dev-section/dev-section-view.tsx +1 -1
- package/src/components/shared/doc-search/use-doc-search.ts +1 -1
- package/src/components/shared/legal-document/index.ts +2 -0
- package/src/components/shared/legal-document/legal-document-page.tsx +41 -21
- package/src/components/shared/legal-document/use-legal-docs.ts +5 -1
- package/src/components/shared/legal-document/use-legal-documents.ts +4 -1
- package/src/components/shared/media-gallery-strip.tsx +35 -3
- package/src/components/shared/onboarding/index.ts +2 -5
- package/src/components/shared/product-release/index.ts +1 -1
- package/src/components/shared/product-release/product-release-card-classes.ts +28 -0
- package/src/components/shared/product-release/product-release-card-skeleton.tsx +62 -56
- package/src/components/shared/product-release/product-release-card.tsx +62 -44
- package/src/components/shared/product-release/product-releases-view.tsx +32 -24
- package/src/components/shared/product-release/release-detail-page.tsx +229 -134
- package/src/components/shared/roadmap/roadmap-grid-skeleton.tsx +20 -6
- package/src/components/shared/roadmap/roadmap-grid.tsx +59 -9
- package/src/components/shared/roadmap/roadmap-view.tsx +3 -3
- package/src/components/social-icon-row.tsx +14 -8
- package/src/components/tickets/help-center-list.tsx +6 -2
- package/src/components/tickets/hooks/use-ticket-actions.ts +0 -4
- package/src/components/tickets/index.ts +1 -2
- package/src/components/tickets/ticket-center.tsx +189 -75
- package/src/components/tickets/types.ts +0 -9
- package/src/components/toggle-group.tsx +4 -1
- package/src/components/tool-icon.tsx +2 -1
- package/src/components/ui/analyzing-state.tsx +11 -6
- package/src/components/ui/announcement-bar-view.tsx +7 -1
- package/src/components/ui/autocomplete.tsx +58 -6
- package/src/components/ui/avatar-stack.tsx +42 -3
- package/src/components/ui/badge.tsx +16 -1
- package/src/components/ui/benefit-list.tsx +41 -6
- package/src/components/ui/button/button-styles.ts +48 -0
- package/src/components/ui/button/button.tsx +5 -39
- package/src/components/ui/button/index.ts +1 -0
- package/src/components/ui/card.tsx +28 -13
- package/src/components/ui/checkbox.tsx +6 -1
- package/src/components/ui/compliance-badge.tsx +6 -2
- package/src/components/ui/cursor-pagination.tsx +28 -3
- package/src/components/ui/dashboard-info-card.tsx +29 -11
- package/src/components/ui/data-attribution.tsx +42 -12
- package/src/components/ui/data-table/data-table-body.tsx +11 -2
- package/src/components/ui/data-table/data-table-row-count.tsx +19 -1
- package/src/components/ui/data-table/data-table-row.tsx +4 -9
- package/src/components/ui/data-table/data-table-skeleton.tsx +7 -7
- package/src/components/ui/data-table/index.ts +2 -1
- package/src/components/ui/date-picker.tsx +0 -6
- package/src/components/ui/entity-image.tsx +27 -4
- package/src/components/ui/error-state.tsx +8 -1
- package/src/components/ui/feature-card.tsx +77 -12
- package/src/components/ui/feature-list.tsx +72 -8
- package/src/components/ui/field-wrapper.tsx +13 -1
- package/src/components/ui/filter-checkbox-item.tsx +57 -6
- package/src/components/ui/filter-modal.tsx +2 -6
- package/src/components/ui/filter-pill-row.tsx +81 -27
- package/src/components/ui/incident-feed.tsx +20 -11
- package/src/components/ui/index.ts +21 -1
- package/src/components/ui/info-card-row.tsx +74 -19
- package/src/components/ui/info-card.tsx +87 -13
- package/src/components/ui/input-styles.ts +6 -0
- package/src/components/ui/input.tsx +4 -1
- package/src/components/ui/layout-hold.tsx +9 -7
- package/src/components/ui/leader-row.tsx +58 -4
- package/src/components/ui/loading-scope.tsx +54 -0
- package/src/components/ui/markdown/base-components.tsx +18 -9
- package/src/components/ui/markdown/engine.tsx +131 -7
- package/src/components/ui/markdown/index.ts +8 -6
- package/src/components/ui/markdown/mermaid-diagram.tsx +7 -4
- package/src/components/ui/markdown/rich/rich-markdown-renderer.tsx +26 -1
- package/src/components/ui/markdown/simple-markdown-renderer.tsx +0 -3
- package/src/components/ui/markdown-editor.tsx +83 -50
- package/src/components/ui/numbered-step.tsx +32 -2
- package/src/components/ui/organization-card.tsx +32 -7
- package/src/components/ui/page-actions.tsx +51 -31
- package/src/components/ui/page-loader.tsx +2 -1
- package/src/components/ui/people-cell.tsx +25 -2
- package/src/components/ui/photo-wall.tsx +14 -3
- package/src/components/ui/product-screen-frame.tsx +14 -3
- package/src/components/ui/progress-bar.tsx +26 -3
- package/src/components/ui/progress.tsx +14 -3
- package/src/components/ui/release-changelog-section.tsx +153 -20
- package/src/components/ui/search-input.tsx +23 -3
- package/src/components/ui/searchable-select.tsx +26 -6
- package/src/components/ui/skeleton-surface.ts +16 -4
- package/src/components/ui/slack-channel-chip.tsx +23 -3
- package/src/components/ui/snap-carousel.tsx +5 -0
- package/src/components/ui/square-avatar.tsx +41 -23
- package/src/components/ui/stacked-rows-panel.tsx +88 -15
- package/src/components/ui/status-badge.tsx +18 -1
- package/src/components/ui/status-indicator.tsx +21 -2
- package/src/components/ui/status-line.tsx +2 -1
- package/src/components/ui/strip-card.tsx +73 -23
- package/src/components/ui/tab-navigation.tsx +141 -28
- package/src/components/ui/table/table-header.tsx +2 -2
- package/src/components/ui/table/table-row.tsx +2 -4
- package/src/components/ui/table/table-skeleton.tsx +48 -54
- package/src/components/ui/table/table.tsx +36 -19
- package/src/components/ui/table/types.ts +12 -4
- package/src/components/ui/table/utils.ts +5 -0
- package/src/components/ui/tabs.tsx +64 -4
- package/src/components/ui/tag.tsx +33 -13
- package/src/components/ui/tags-input.tsx +48 -10
- package/src/components/ui/textarea.tsx +33 -3
- package/src/components/ui/ticket-info-section.tsx +0 -2
- package/src/components/ui/timezone-select.tsx +4 -0
- package/src/components/ui/toggle.tsx +11 -5
- package/src/components/unified-pagination.tsx +15 -0
- package/src/components/user-display.tsx +53 -12
- package/src/components/user-summary-stub.tsx +7 -11
- package/src/components/vendor-display-button.tsx +15 -12
- package/src/components/vendor-icon.tsx +13 -2
- package/src/components/vendor-tag.tsx +18 -4
- package/src/embed-shims/next-image.tsx +36 -1
- package/src/hooks/state/flatten-schema.ts +0 -4
- package/src/hooks/state/index.ts +5 -3
- package/src/hooks/state/url-converter.ts +2 -2
- package/src/hooks/state/use-api-params.ts +2 -10
- package/src/hooks/ui/index.ts +1 -0
- package/src/hooks/ui/use-image-edge-color.ts +4 -1
- package/src/hooks/ui/use-onboarding-state.ts +0 -2
- package/src/hooks/use-downloads.ts +9 -1
- package/src/hooks/use-meeting-booking.ts +4 -0
- package/src/hooks/use-self-fetch.ts +12 -4
- package/src/nats/index.ts +1 -0
- package/src/nats/nats-provider.tsx +0 -2
- package/src/nats/nats.ts +0 -2
- package/src/nats/use-nats-subscription.ts +2 -1
- package/src/schemas/meeting-booking-schema.ts +11 -0
- package/src/styles/component-sizes.ts +105 -0
- package/src/types/announcement.ts +0 -3
- package/src/types/blog.ts +0 -4
- package/src/types/case-study.ts +2 -2
- package/src/types/customer-interview-ai.types.ts +1 -4
- package/src/types/customer-interview.ts +0 -11
- package/src/types/index.ts +2 -0
- package/src/types/product-release.ts +4 -2
- package/src/types/stack.ts +0 -4
- package/src/utils/announcement-storage.ts +0 -7
- package/src/utils/dev-sections/openframe-dev-sections.ts +11 -0
- package/src/utils/index.ts +6 -9
- package/src/utils/markdown-heading-id.ts +0 -28
- package/src/utils/ods-color-utils.ts +0 -4
- package/src/utils/own-click.ts +25 -0
- package/src/utils/platform-config.tsx +0 -17
- package/src/utils/source-icons.ts +2 -2
- package/dist/chunk-3ATAYP36.cjs +0 -19
- package/dist/chunk-3LU4UFPS.cjs +0 -14
- package/dist/chunk-FQWBIKF4.cjs +0 -404
- package/dist/chunk-H3RYUTND.cjs +0 -142
- package/dist/chunk-L4UI63K6.cjs +0 -103
- package/dist/chunk-NS64LMVE.cjs +0 -470
- package/dist/chunk-OF336YWG.cjs +0 -20
- package/dist/chunk-RB6BSE3O.cjs +0 -21
- package/dist/chunk-RM6AHNM4.cjs +0 -163
- package/dist/components/chat/entity-cards/product-release-card.d.ts +0 -12
- package/dist/components/chat/entity-cards/product-release-card.d.ts.map +0 -1
- package/dist/components/chat/entity-cards/product-release-card.js +0 -8
- package/dist/components/chat/hooks/use-embedded-chat.d.ts +0 -15
- package/dist/components/chat/hooks/use-embedded-chat.d.ts.map +0 -1
- package/dist/components/chat/hooks/use-embedded-chat.js +0 -6
- package/dist/components/chat/types/entities/blog.d.ts +0 -14
- package/dist/components/chat/types/entities/blog.d.ts.map +0 -1
- package/dist/components/chat/types/entities/blog.js +0 -1
- package/dist/components/chat/types/entities/case-study.d.ts +0 -10
- package/dist/components/chat/types/entities/case-study.d.ts.map +0 -1
- package/dist/components/chat/types/entities/case-study.js +0 -1
- package/dist/components/chat/types/entities/content-ref.d.ts +0 -8
- package/dist/components/chat/types/entities/content-ref.d.ts.map +0 -1
- package/dist/components/chat/types/entities/content-ref.js +0 -1
- package/dist/components/chat/types/entities/customer-interview.d.ts +0 -10
- package/dist/components/chat/types/entities/customer-interview.d.ts.map +0 -1
- package/dist/components/chat/types/entities/customer-interview.js +0 -1
- package/dist/components/chat/utils/source-icons.d.ts +0 -8
- package/dist/components/chat/utils/source-icons.d.ts.map +0 -1
- package/dist/components/chat/utils/source-icons.js +0 -16
- package/dist/utils/image-proxy-stub.d.ts +0 -14
- package/dist/utils/image-proxy-stub.d.ts.map +0 -1
- package/dist/utils/image-proxy-stub.js +0 -22
- package/src/components/chat/entity-cards/product-release-card.tsx +0 -19
- package/src/components/chat/hooks/use-embedded-chat.ts +0 -25
- package/src/components/chat/types/entities/blog.ts +0 -27
- package/src/components/chat/types/entities/case-study.ts +0 -10
- package/src/components/chat/types/entities/content-ref.ts +0 -7
- package/src/components/chat/types/entities/customer-interview.ts +0 -15
- package/src/components/chat/utils/source-icons.ts +0 -14
- package/src/utils/image-proxy-stub.ts +0 -40
|
@@ -1,30 +1,36 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } function _nullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return rhsFn(); } } function _optionalChain(ops) { let lastAccessLHS = undefined; let value = ops[0]; let i = 1; while (i < ops.length) { const op = ops[i]; const fn = ops[i + 1]; i += 2; if ((op === 'optionalAccess' || op === 'optionalCall') && value == null) { return undefined; } if (op === 'access' || op === 'optionalAccess') { lastAccessLHS = value; value = fn(value); } else if (op === 'call' || op === 'optionalCall') { value = fn((...args) => value.call(lastAccessLHS, ...args)); lastAccessLHS = undefined; } } return value; }"use client";
|
|
2
2
|
|
|
3
3
|
|
|
4
|
-
var _chunkPERN37KOcjs = require('./chunk-PERN37KO.cjs');
|
|
5
4
|
|
|
6
5
|
|
|
6
|
+
var _chunkVYYLYZUCcjs = require('./chunk-VYYLYZUC.cjs');
|
|
7
7
|
|
|
8
8
|
|
|
9
|
+
var _chunkF7R3U5ENcjs = require('./chunk-F7R3U5EN.cjs');
|
|
9
10
|
|
|
10
11
|
|
|
11
12
|
|
|
12
13
|
|
|
13
14
|
|
|
14
15
|
|
|
15
|
-
var _chunkVL6IXTAIcjs = require('./chunk-VL6IXTAI.cjs');
|
|
16
16
|
|
|
17
17
|
|
|
18
|
-
var _chunkGY2JESOCcjs = require('./chunk-GY2JESOC.cjs');
|
|
19
18
|
|
|
20
19
|
|
|
21
20
|
|
|
21
|
+
var _chunkVRDHAR3Xcjs = require('./chunk-VRDHAR3X.cjs');
|
|
22
22
|
|
|
23
23
|
|
|
24
|
-
var
|
|
24
|
+
var _chunkRB7VLVMDcjs = require('./chunk-RB7VLVMD.cjs');
|
|
25
25
|
|
|
26
26
|
|
|
27
|
-
|
|
27
|
+
|
|
28
|
+
|
|
29
|
+
|
|
30
|
+
var _chunkXVFM6SJAcjs = require('./chunk-XVFM6SJA.cjs');
|
|
31
|
+
|
|
32
|
+
|
|
33
|
+
var _chunk2JRSYWFPcjs = require('./chunk-2JRSYWFP.cjs');
|
|
28
34
|
|
|
29
35
|
|
|
30
36
|
var _chunk24I6RFVUcjs = require('./chunk-24I6RFVU.cjs');
|
|
@@ -32,13 +38,14 @@ var _chunk24I6RFVUcjs = require('./chunk-24I6RFVU.cjs');
|
|
|
32
38
|
|
|
33
39
|
|
|
34
40
|
|
|
35
|
-
var
|
|
41
|
+
var _chunk7VI7TOGIcjs = require('./chunk-7VI7TOGI.cjs');
|
|
36
42
|
|
|
37
43
|
|
|
38
|
-
var _chunk74ALTXXCcjs = require('./chunk-74ALTXXC.cjs');
|
|
39
44
|
|
|
45
|
+
var _chunkYL6ZB2SRcjs = require('./chunk-YL6ZB2SR.cjs');
|
|
40
46
|
|
|
41
|
-
|
|
47
|
+
|
|
48
|
+
var _chunkGTONIRJUcjs = require('./chunk-GTONIRJU.cjs');
|
|
42
49
|
|
|
43
50
|
|
|
44
51
|
var _chunk756VZNPPcjs = require('./chunk-756VZNPP.cjs');
|
|
@@ -87,20 +94,20 @@ var _chunkSKI6NKOEcjs = require('./chunk-SKI6NKOE.cjs');
|
|
|
87
94
|
|
|
88
95
|
|
|
89
96
|
|
|
90
|
-
var
|
|
97
|
+
var _chunkDGNBXZXTcjs = require('./chunk-DGNBXZXT.cjs');
|
|
91
98
|
|
|
92
99
|
|
|
93
100
|
|
|
94
|
-
var
|
|
101
|
+
var _chunkJTSUAHDLcjs = require('./chunk-JTSUAHDL.cjs');
|
|
95
102
|
|
|
96
103
|
|
|
97
|
-
var
|
|
104
|
+
var _chunkVFZFCRALcjs = require('./chunk-VFZFCRAL.cjs');
|
|
98
105
|
|
|
99
106
|
|
|
100
107
|
|
|
101
108
|
|
|
102
109
|
|
|
103
|
-
var
|
|
110
|
+
var _chunk5P4TDV7Vcjs = require('./chunk-5P4TDV7V.cjs');
|
|
104
111
|
|
|
105
112
|
|
|
106
113
|
var _chunkDGFDBPO7cjs = require('./chunk-DGFDBPO7.cjs');
|
|
@@ -109,22 +116,23 @@ var _chunkDGFDBPO7cjs = require('./chunk-DGFDBPO7.cjs');
|
|
|
109
116
|
|
|
110
117
|
|
|
111
118
|
|
|
112
|
-
var
|
|
119
|
+
var _chunkXIFEZ2JTcjs = require('./chunk-XIFEZ2JT.cjs');
|
|
113
120
|
|
|
114
121
|
|
|
115
122
|
var _chunkZ74QE57Tcjs = require('./chunk-Z74QE57T.cjs');
|
|
116
123
|
|
|
117
124
|
|
|
118
|
-
var _chunk2QMBXGMQcjs = require('./chunk-2QMBXGMQ.cjs');
|
|
119
125
|
|
|
126
|
+
var _chunkXFRBEXQNcjs = require('./chunk-XFRBEXQN.cjs');
|
|
120
127
|
|
|
121
|
-
var _chunkV45KLJQPcjs = require('./chunk-V45KLJQP.cjs');
|
|
122
128
|
|
|
129
|
+
var _chunkTF5D5MNOcjs = require('./chunk-TF5D5MNO.cjs');
|
|
123
130
|
|
|
124
|
-
var _chunkH3RYUTNDcjs = require('./chunk-H3RYUTND.cjs');
|
|
125
131
|
|
|
132
|
+
var _chunkV45KLJQPcjs = require('./chunk-V45KLJQP.cjs');
|
|
126
133
|
|
|
127
|
-
|
|
134
|
+
|
|
135
|
+
var _chunk65VVJSQZcjs = require('./chunk-65VVJSQZ.cjs');
|
|
128
136
|
|
|
129
137
|
// src/components/navigation/site-header.tsx
|
|
130
138
|
var _react = require('react'); var _react2 = _interopRequireDefault(_react);
|
|
@@ -157,8 +165,8 @@ function RowGlyph({ link, box, glyph }) {
|
|
|
157
165
|
"span",
|
|
158
166
|
{
|
|
159
167
|
"aria-hidden": "true",
|
|
160
|
-
className:
|
|
161
|
-
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
168
|
+
className: _chunk65VVJSQZcjs.cn.call(void 0, "flex shrink-0 items-center justify-center overflow-hidden rounded-full", box),
|
|
169
|
+
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkDGNBXZXTcjs.EntityIcon, { icon: link.icon, className: "h-full w-full" })
|
|
162
170
|
}
|
|
163
171
|
);
|
|
164
172
|
}
|
|
@@ -167,11 +175,11 @@ function RowGlyph({ link, box, glyph }) {
|
|
|
167
175
|
"span",
|
|
168
176
|
{
|
|
169
177
|
"aria-hidden": "true",
|
|
170
|
-
className:
|
|
178
|
+
className: _chunk65VVJSQZcjs.cn.call(void 0,
|
|
171
179
|
"flex shrink-0 items-center justify-center rounded-lg border border-ods-border bg-ods-bg text-ods-text-primary",
|
|
172
180
|
box
|
|
173
181
|
),
|
|
174
|
-
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
182
|
+
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkDGNBXZXTcjs.EntityIcon, { icon: { name: link.iconName }, size: glyph })
|
|
175
183
|
}
|
|
176
184
|
);
|
|
177
185
|
}
|
|
@@ -184,9 +192,9 @@ function NavItemRow({
|
|
|
184
192
|
className
|
|
185
193
|
}) {
|
|
186
194
|
const label = navLinkLabel(link);
|
|
187
|
-
const counter = badge ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
195
|
+
const counter = badge ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVRDHAR3Xcjs.UnreadCountBadge, { count: badge, className: "static shrink-0" }) : null;
|
|
188
196
|
const singleLine = !link.description && !link.builtOn;
|
|
189
|
-
const rowClassName =
|
|
197
|
+
const rowClassName = _chunk65VVJSQZcjs.cn.call(void 0,
|
|
190
198
|
ROW_CLASSES[variant],
|
|
191
199
|
variant === "panel" && singleLine && "items-center",
|
|
192
200
|
NAV_FOCUS_CLASS,
|
|
@@ -201,7 +209,7 @@ function NavItemRow({
|
|
|
201
209
|
] });
|
|
202
210
|
} else if (variant === "side") {
|
|
203
211
|
children = /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
204
|
-
link.iconName && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { "aria-hidden": "true", className: "flex shrink-0", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
212
|
+
link.iconName && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { "aria-hidden": "true", className: "flex shrink-0", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkDGNBXZXTcjs.EntityIcon, { icon: { name: link.iconName }, size: 18 }) }),
|
|
205
213
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "min-w-0 flex-1", children: label }),
|
|
206
214
|
counter
|
|
207
215
|
] });
|
|
@@ -238,7 +246,7 @@ function Column({
|
|
|
238
246
|
rowProps
|
|
239
247
|
}) {
|
|
240
248
|
const twoColumns = wide && group.links.length > TWO_COLUMN_OVER;
|
|
241
|
-
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className:
|
|
249
|
+
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _chunk65VVJSQZcjs.cn.call(void 0, "flex min-w-0 flex-col", wide && (twoColumns ? "flex-[2]" : "flex-1")), children: [
|
|
242
250
|
group.title && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: HEADING_CLASS, children: group.title }),
|
|
243
251
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
244
252
|
"div",
|
|
@@ -281,7 +289,7 @@ var NavPanel = _react.forwardRef.call(void 0, function NavPanelImpl({
|
|
|
281
289
|
"data-state": open ? "open" : "closed",
|
|
282
290
|
...panelProps,
|
|
283
291
|
ref,
|
|
284
|
-
className:
|
|
292
|
+
className: _chunk65VVJSQZcjs.cn.call(void 0,
|
|
285
293
|
"absolute top-full z-[60]",
|
|
286
294
|
// Between two mega menus the surface is handed over in one frame (same
|
|
287
295
|
// place, same size, same colour) and only the content moves; a fade
|
|
@@ -305,7 +313,7 @@ var NavPanel = _react.forwardRef.call(void 0, function NavPanelImpl({
|
|
|
305
313
|
!!_optionalChain([menu, 'access', _10 => _10.features, 'optionalAccess', _11 => _11.length]) && // One row of cards, as many as the bar's width holds: a card that
|
|
306
314
|
// would wrap lands on a zero-height row, where its cell clips it.
|
|
307
315
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "grid min-w-0 flex-[3] auto-rows-[0px] grid-cols-[repeat(auto-fit,minmax(240px,1fr))] grid-rows-[minmax(0,1fr)] gap-x-[var(--spacing-system-mf)]", children: menu.features.map((feature) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "min-h-0 min-w-0 overflow-hidden", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
308
|
-
|
|
316
|
+
_chunkDGNBXZXTcjs.CaseStudyCard,
|
|
309
317
|
{
|
|
310
318
|
size: "menu",
|
|
311
319
|
study: feature.study,
|
|
@@ -377,7 +385,7 @@ function TopNavigation({
|
|
|
377
385
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
378
386
|
"header",
|
|
379
387
|
{
|
|
380
|
-
className:
|
|
388
|
+
className: _chunk65VVJSQZcjs.cn.call(void 0,
|
|
381
389
|
"flex w-full items-center border-b border-ods-border",
|
|
382
390
|
SIZE_CLASSES[size],
|
|
383
391
|
mobileTopBorder && "border-t md:border-t-0",
|
|
@@ -390,7 +398,7 @@ function TopNavigation({
|
|
|
390
398
|
hasContent(logo) && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
391
399
|
"div",
|
|
392
400
|
{
|
|
393
|
-
className:
|
|
401
|
+
className: _chunk65VVJSQZcjs.cn.call(void 0,
|
|
394
402
|
"flex h-full min-w-0 items-center",
|
|
395
403
|
LOGO_GROW[centerBreakpoint],
|
|
396
404
|
"p-[var(--spacing-system-m)] md:py-0 md:pl-[var(--spacing-system-l)] md:pr-0 lg:pl-[var(--spacing-system-xxl)]",
|
|
@@ -402,7 +410,7 @@ function TopNavigation({
|
|
|
402
410
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
403
411
|
"div",
|
|
404
412
|
{
|
|
405
|
-
className:
|
|
413
|
+
className: _chunk65VVJSQZcjs.cn.call(void 0,
|
|
406
414
|
CENTER_VISIBILITY[centerBreakpoint],
|
|
407
415
|
"h-full min-w-0 flex-1 items-center justify-center",
|
|
408
416
|
centerClassName
|
|
@@ -410,7 +418,7 @@ function TopNavigation({
|
|
|
410
418
|
children: center
|
|
411
419
|
}
|
|
412
420
|
),
|
|
413
|
-
hasContent(cta) && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className:
|
|
421
|
+
hasContent(cta) && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: _chunk65VVJSQZcjs.cn.call(void 0, "flex h-full shrink-0 items-center px-[var(--spacing-system-m)]", ctaClassName), children: cta }),
|
|
414
422
|
sideActions,
|
|
415
423
|
children
|
|
416
424
|
]
|
|
@@ -422,7 +430,7 @@ function TopNavigation({
|
|
|
422
430
|
|
|
423
431
|
var TOP_ITEM_CLASS = "relative inline-flex h-10 items-center gap-1.5 whitespace-nowrap rounded-md px-3.5 text-ods-text-secondary transition-colors text-h6 hover:bg-ods-bg-hover hover:text-ods-text-primary";
|
|
424
432
|
var TOP_ITEM_CURRENT_CLASS = "rounded-b-none bg-gradient-to-b from-transparent to-ods-accent/10 text-ods-text-primary after:absolute after:inset-x-0 after:bottom-0 after:h-0.5 after:bg-ods-accent";
|
|
425
|
-
var menuIcon = (menu) => menu.iconName ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
433
|
+
var menuIcon = (menu) => menu.iconName ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkDGNBXZXTcjs.EntityIcon, { icon: { name: menu.iconName }, size: 20, className: "size-5 shrink-0" }) : null;
|
|
426
434
|
function SiteHeader({
|
|
427
435
|
nav,
|
|
428
436
|
pathname,
|
|
@@ -445,8 +453,8 @@ function SiteHeader({
|
|
|
445
453
|
}) {
|
|
446
454
|
const [show, setShow] = _react.useState.call(void 0, true);
|
|
447
455
|
const lastScrollY = _react.useRef.call(void 0, 0);
|
|
448
|
-
const activeId =
|
|
449
|
-
const { openId, close, getTriggerProps, getPanelProps } =
|
|
456
|
+
const activeId = _chunkXVFM6SJAcjs.useActiveSection.call(void 0, nav.menus, pathname);
|
|
457
|
+
const { openId, close, getTriggerProps, getPanelProps } = _chunkXVFM6SJAcjs.useNavMenus.call(void 0, { pathname });
|
|
450
458
|
const [trail, setTrail] = _react.useState.call(void 0, { id: null, from: null });
|
|
451
459
|
if (trail.id !== openId) setTrail({ id: openId, from: trail.id });
|
|
452
460
|
const previousId = trail.id === openId ? trail.from : trail.id;
|
|
@@ -473,13 +481,13 @@ function SiteHeader({
|
|
|
473
481
|
if (!hasPanel) {
|
|
474
482
|
if (!menu.href) return null;
|
|
475
483
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
476
|
-
|
|
484
|
+
_chunkTF5D5MNOcjs.Button,
|
|
477
485
|
{
|
|
478
486
|
asChild: true,
|
|
479
487
|
variant: "transparent",
|
|
480
488
|
size: "wrap",
|
|
481
489
|
font: "regular",
|
|
482
|
-
className:
|
|
490
|
+
className: _chunk65VVJSQZcjs.cn.call(void 0, TOP_ITEM_CLASS, NAV_FOCUS_CLASS, current && TOP_ITEM_CURRENT_CLASS),
|
|
483
491
|
children: renderLink({
|
|
484
492
|
link: { href: menu.href },
|
|
485
493
|
"aria-current": current ? "page" : void 0,
|
|
@@ -495,9 +503,9 @@ function SiteHeader({
|
|
|
495
503
|
return (
|
|
496
504
|
// A dropdown is anchored to its trigger (`relative`); a mega menu to the
|
|
497
505
|
// bar itself, so its wrapper stays unpositioned.
|
|
498
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className:
|
|
506
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _chunk65VVJSQZcjs.cn.call(void 0, "flex", !isMegaMenu(menu) && "relative"), children: [
|
|
499
507
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
500
|
-
|
|
508
|
+
_chunkTF5D5MNOcjs.Button,
|
|
501
509
|
{
|
|
502
510
|
type: "button",
|
|
503
511
|
variant: "transparent",
|
|
@@ -505,7 +513,7 @@ function SiteHeader({
|
|
|
505
513
|
font: "regular",
|
|
506
514
|
...getTriggerProps(menu.id),
|
|
507
515
|
"aria-current": current ? "page" : void 0,
|
|
508
|
-
className:
|
|
516
|
+
className: _chunk65VVJSQZcjs.cn.call(void 0,
|
|
509
517
|
TOP_ITEM_CLASS,
|
|
510
518
|
NAV_FOCUS_CLASS,
|
|
511
519
|
open && "bg-ods-bg-hover text-ods-text-primary",
|
|
@@ -518,7 +526,7 @@ function SiteHeader({
|
|
|
518
526
|
_chunkSKI6NKOEcjs.Chevron02DownIcon,
|
|
519
527
|
{
|
|
520
528
|
"aria-hidden": "true",
|
|
521
|
-
className:
|
|
529
|
+
className: _chunk65VVJSQZcjs.cn.call(void 0, "!h-4 !w-4 transition-transform duration-150", open && "rotate-180")
|
|
522
530
|
}
|
|
523
531
|
)
|
|
524
532
|
]
|
|
@@ -541,7 +549,7 @@ function SiteHeader({
|
|
|
541
549
|
] }, menu.id)
|
|
542
550
|
);
|
|
543
551
|
};
|
|
544
|
-
const primaryCta = typeof nav.primaryCta === "object" ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
552
|
+
const primaryCta = typeof nav.primaryCta === "object" ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkTF5D5MNOcjs.Button, { variant: "accent", href: nav.primaryCta.href, children: nav.primaryCta.label }) : nav.primaryCta === "none" ? null : _nullishCoalesce(cta, () => ( null));
|
|
545
553
|
const hasRight = !!mingo || !!nav.signIn || !!actions || !!primaryCta;
|
|
546
554
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
547
555
|
"div",
|
|
@@ -554,7 +562,7 @@ function SiteHeader({
|
|
|
554
562
|
_chunkV45KLJQPcjs.next_link_default,
|
|
555
563
|
{
|
|
556
564
|
href: `#${skipToContentId}`,
|
|
557
|
-
className:
|
|
565
|
+
className: _chunk65VVJSQZcjs.cn.call(void 0,
|
|
558
566
|
"sr-only left-[var(--spacing-system-lf)] top-3 z-[70] rounded-md bg-ods-text-primary px-[var(--spacing-system-mf)] py-[var(--spacing-system-xsf)] text-ods-bg text-h6 focus:not-sr-only focus:absolute",
|
|
559
567
|
NAV_FOCUS_CLASS
|
|
560
568
|
),
|
|
@@ -564,7 +572,7 @@ function SiteHeader({
|
|
|
564
572
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
565
573
|
TopNavigation,
|
|
566
574
|
{
|
|
567
|
-
className:
|
|
575
|
+
className: _chunk65VVJSQZcjs.cn.call(void 0, "relative", className),
|
|
568
576
|
style,
|
|
569
577
|
backgroundClassName,
|
|
570
578
|
centerBreakpoint: "lg",
|
|
@@ -572,7 +580,7 @@ function SiteHeader({
|
|
|
572
580
|
leading: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
573
581
|
leading,
|
|
574
582
|
mobile && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
575
|
-
|
|
583
|
+
_chunkVRDHAR3Xcjs.HeaderButton,
|
|
576
584
|
{
|
|
577
585
|
className: "border-r border-ods-border lg:hidden",
|
|
578
586
|
onClick: mobile.onToggle,
|
|
@@ -586,7 +594,7 @@ function SiteHeader({
|
|
|
586
594
|
] }),
|
|
587
595
|
logo: logoHref ? renderLink({
|
|
588
596
|
link: { href: logoHref },
|
|
589
|
-
className:
|
|
597
|
+
className: _chunk65VVJSQZcjs.cn.call(void 0,
|
|
590
598
|
"flex min-w-0 items-center rounded-md transition-opacity duration-200 hover:opacity-80",
|
|
591
599
|
NAV_FOCUS_CLASS
|
|
592
600
|
),
|
|
@@ -598,7 +606,7 @@ function SiteHeader({
|
|
|
598
606
|
centerClassName: "justify-start pl-[var(--spacing-system-xlf)]",
|
|
599
607
|
cta: hasRight ? /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
600
608
|
mingo && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
601
|
-
|
|
609
|
+
_chunk7VI7TOGIcjs.MingoAiButton,
|
|
602
610
|
{
|
|
603
611
|
source: mingo.source,
|
|
604
612
|
icon: mingo.icon,
|
|
@@ -607,13 +615,13 @@ function SiteHeader({
|
|
|
607
615
|
}
|
|
608
616
|
),
|
|
609
617
|
nav.signIn && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "hidden lg:flex", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
610
|
-
|
|
618
|
+
_chunkTF5D5MNOcjs.Button,
|
|
611
619
|
{
|
|
612
620
|
asChild: true,
|
|
613
621
|
variant: "transparent",
|
|
614
622
|
size: "wrap",
|
|
615
623
|
font: "regular",
|
|
616
|
-
className:
|
|
624
|
+
className: _chunk65VVJSQZcjs.cn.call(void 0, TOP_ITEM_CLASS, NAV_FOCUS_CLASS),
|
|
617
625
|
children: renderLink({ link: nav.signIn, children: nav.signIn.label })
|
|
618
626
|
}
|
|
619
627
|
) }),
|
|
@@ -662,12 +670,12 @@ function MobileNavSheetBody({
|
|
|
662
670
|
const sheetRef = _react.useRef.call(void 0, null);
|
|
663
671
|
const menus = [..._nullishCoalesce(nav.mobileMenus, () => ( nav.menus)), ..._nullishCoalesce(extraMenus, () => ( []))];
|
|
664
672
|
_overlays.usePreventScroll.call(void 0, );
|
|
665
|
-
|
|
673
|
+
_chunkXVFM6SJAcjs.useFocusTrap.call(void 0, sheetRef, true, { onEscape: onClose });
|
|
666
674
|
const [openGroups, setOpenGroups] = _react.useState.call(void 0, () => {
|
|
667
|
-
const active =
|
|
675
|
+
const active = _chunkXVFM6SJAcjs.resolveActiveSection.call(void 0, menus, pathname);
|
|
668
676
|
return active ? { [active]: true } : {};
|
|
669
677
|
});
|
|
670
|
-
const primaryCta = typeof nav.primaryCta === "object" ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
678
|
+
const primaryCta = typeof nav.primaryCta === "object" ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkTF5D5MNOcjs.Button, { variant: "accent", href: nav.primaryCta.href, onClick: onClose, className: "w-full", children: nav.primaryCta.label }) : nav.primaryCta === "none" ? null : _nullishCoalesce(cta, () => ( null));
|
|
671
679
|
const hasFooter = !!actions || !!primaryCta || !!nav.signIn;
|
|
672
680
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
673
681
|
"div",
|
|
@@ -678,7 +686,7 @@ function MobileNavSheetBody({
|
|
|
678
686
|
"aria-modal": "true",
|
|
679
687
|
"aria-label": "Navigation menu",
|
|
680
688
|
tabIndex: -1,
|
|
681
|
-
className:
|
|
689
|
+
className: _chunk65VVJSQZcjs.cn.call(void 0,
|
|
682
690
|
"fixed inset-0 z-[9999] flex h-[100svh] flex-col text-ods-text-primary outline-none",
|
|
683
691
|
_nullishCoalesce(backgroundClassName, () => ( "bg-ods-bg"))
|
|
684
692
|
),
|
|
@@ -686,21 +694,21 @@ function MobileNavSheetBody({
|
|
|
686
694
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex h-14 shrink-0 items-center justify-between border-b border-ods-border pl-5 pr-[var(--spacing-system-xsf)]", children: [
|
|
687
695
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex min-w-0 items-center", children: logo }),
|
|
688
696
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
689
|
-
|
|
697
|
+
_chunkTF5D5MNOcjs.Button,
|
|
690
698
|
{
|
|
691
699
|
type: "button",
|
|
692
700
|
variant: "transparent",
|
|
693
701
|
size: "icon",
|
|
694
702
|
"aria-label": "Close menu",
|
|
695
703
|
onClick: onClose,
|
|
696
|
-
className:
|
|
704
|
+
className: _chunk65VVJSQZcjs.cn.call(void 0, "h-11 w-11 shrink-0 md:h-11 md:w-11", NAV_FOCUS_CLASS),
|
|
697
705
|
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkWWUSFOJ7cjs.XmarkIcon, { "aria-hidden": "true", className: "!h-6 !w-6" })
|
|
698
706
|
}
|
|
699
707
|
)
|
|
700
708
|
] }),
|
|
701
709
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "min-h-0 flex-1 overflow-y-auto overflow-x-hidden overscroll-contain px-5", children: [
|
|
702
710
|
askAI && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
703
|
-
|
|
711
|
+
_chunk7VI7TOGIcjs.MingoAiButton,
|
|
704
712
|
{
|
|
705
713
|
variant: "field",
|
|
706
714
|
source: askAI.source,
|
|
@@ -715,7 +723,7 @@ function MobileNavSheetBody({
|
|
|
715
723
|
if (!menu.href) return null;
|
|
716
724
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "border-b border-ods-border", children: renderLink({
|
|
717
725
|
link: { href: menu.href },
|
|
718
|
-
className:
|
|
726
|
+
className: _chunk65VVJSQZcjs.cn.call(void 0, GROUP_ROW_CLASS, NAV_FOCUS_CLASS),
|
|
719
727
|
onClick: onClose,
|
|
720
728
|
children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
721
729
|
menu.label,
|
|
@@ -727,7 +735,7 @@ function MobileNavSheetBody({
|
|
|
727
735
|
const listId = `${MOBILE_NAV_SHEET_ID}-${menu.id}`;
|
|
728
736
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "border-b border-ods-border", children: [
|
|
729
737
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
730
|
-
|
|
738
|
+
_chunkTF5D5MNOcjs.Button,
|
|
731
739
|
{
|
|
732
740
|
type: "button",
|
|
733
741
|
variant: "glyph",
|
|
@@ -736,14 +744,14 @@ function MobileNavSheetBody({
|
|
|
736
744
|
"aria-expanded": open,
|
|
737
745
|
"aria-controls": open ? listId : void 0,
|
|
738
746
|
onClick: () => setOpenGroups((prev) => ({ ...prev, [menu.id]: !prev[menu.id] })),
|
|
739
|
-
className:
|
|
747
|
+
className: _chunk65VVJSQZcjs.cn.call(void 0, GROUP_ROW_CLASS, NAV_FOCUS_CLASS),
|
|
740
748
|
children: [
|
|
741
749
|
menu.label,
|
|
742
750
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
743
751
|
_chunkSKI6NKOEcjs.Chevron02DownIcon,
|
|
744
752
|
{
|
|
745
753
|
"aria-hidden": "true",
|
|
746
|
-
className:
|
|
754
|
+
className: _chunk65VVJSQZcjs.cn.call(void 0,
|
|
747
755
|
"h-5 w-5 shrink-0 text-ods-text-muted transition-transform duration-150",
|
|
748
756
|
open && "rotate-180"
|
|
749
757
|
)
|
|
@@ -774,7 +782,7 @@ function MobileNavSheetBody({
|
|
|
774
782
|
primaryCta,
|
|
775
783
|
nav.signIn && renderLink({
|
|
776
784
|
link: nav.signIn,
|
|
777
|
-
className:
|
|
785
|
+
className: _chunk65VVJSQZcjs.cn.call(void 0,
|
|
778
786
|
"flex h-12 items-center justify-center rounded-md text-ods-text-primary text-h4",
|
|
779
787
|
NAV_FOCUS_CLASS
|
|
780
788
|
),
|
|
@@ -811,14 +819,14 @@ function FooterColumn({
|
|
|
811
819
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
812
820
|
"div",
|
|
813
821
|
{
|
|
814
|
-
className:
|
|
822
|
+
className: _chunk65VVJSQZcjs.cn.call(void 0,
|
|
815
823
|
"flex min-w-0 flex-col md:gap-[var(--spacing-system-mf)]",
|
|
816
824
|
accordion ? "border-b border-ods-border md:border-b-0" : "gap-[var(--spacing-system-mf)]"
|
|
817
825
|
),
|
|
818
826
|
children: [
|
|
819
827
|
group.title && (accordion ? /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
820
828
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "md:hidden", children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
821
|
-
|
|
829
|
+
_chunkTF5D5MNOcjs.Button,
|
|
822
830
|
{
|
|
823
831
|
type: "button",
|
|
824
832
|
variant: "glyph",
|
|
@@ -827,7 +835,7 @@ function FooterColumn({
|
|
|
827
835
|
"aria-expanded": open,
|
|
828
836
|
"aria-controls": listId,
|
|
829
837
|
onClick: () => setOpen((prev) => !prev),
|
|
830
|
-
className:
|
|
838
|
+
className: _chunk65VVJSQZcjs.cn.call(void 0,
|
|
831
839
|
"flex min-h-14 w-full items-center justify-between gap-[var(--spacing-system-sf)] text-left",
|
|
832
840
|
HEADING_CLASS2,
|
|
833
841
|
NAV_FOCUS_CLASS
|
|
@@ -838,19 +846,19 @@ function FooterColumn({
|
|
|
838
846
|
_chunkSKI6NKOEcjs.Chevron02DownIcon,
|
|
839
847
|
{
|
|
840
848
|
"aria-hidden": "true",
|
|
841
|
-
className:
|
|
849
|
+
className: _chunk65VVJSQZcjs.cn.call(void 0, "h-5 w-5 shrink-0 transition-transform duration-150", open && "rotate-180")
|
|
842
850
|
}
|
|
843
851
|
)
|
|
844
852
|
]
|
|
845
853
|
}
|
|
846
854
|
) }),
|
|
847
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className:
|
|
855
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: _chunk65VVJSQZcjs.cn.call(void 0, "hidden md:block", HEADING_CLASS2), children: group.title })
|
|
848
856
|
] }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: HEADING_CLASS2, children: group.title })),
|
|
849
857
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
850
858
|
"ul",
|
|
851
859
|
{
|
|
852
860
|
id: listId,
|
|
853
|
-
className:
|
|
861
|
+
className: _chunk65VVJSQZcjs.cn.call(void 0,
|
|
854
862
|
"flex-col md:flex md:gap-[var(--spacing-system-sf)] md:pb-0",
|
|
855
863
|
accordion ? open ? "flex gap-[var(--spacing-system-sf)] pb-[var(--spacing-system-mf)]" : "hidden" : "flex gap-[var(--spacing-system-sf)]"
|
|
856
864
|
),
|
|
@@ -874,11 +882,11 @@ function SiteFooter({
|
|
|
874
882
|
year = (/* @__PURE__ */ new Date()).getFullYear()
|
|
875
883
|
}) {
|
|
876
884
|
const band = nav.closingBand;
|
|
877
|
-
const bandPrimary = typeof nav.primaryCta === "object" ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
885
|
+
const bandPrimary = typeof nav.primaryCta === "object" ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkTF5D5MNOcjs.Button, { variant: "accent", href: nav.primaryCta.href, children: nav.primaryCta.label }) : nav.primaryCta === "none" ? null : _nullishCoalesce(cta, () => ( null));
|
|
878
886
|
const columns = nav.footerColumns;
|
|
879
887
|
const accordion = columns.length > ACCORDION_OVER;
|
|
880
888
|
const socialRow = _nullishCoalesce(social, () => ( (nav.brand.social.length > 0 ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
881
|
-
|
|
889
|
+
_chunkVRDHAR3Xcjs.SocialIconRow,
|
|
882
890
|
{
|
|
883
891
|
compact: true,
|
|
884
892
|
links: nav.brand.social.map((link) => ({
|
|
@@ -891,7 +899,7 @@ function SiteFooter({
|
|
|
891
899
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
892
900
|
"footer",
|
|
893
901
|
{
|
|
894
|
-
className:
|
|
902
|
+
className: _chunk65VVJSQZcjs.cn.call(void 0,
|
|
895
903
|
"relative z-[44] w-full border-t border-ods-border px-[var(--spacing-system-lf)] text-ods-text-primary",
|
|
896
904
|
_nullishCoalesce(backgroundClassName, () => ( "bg-ods-bg"))
|
|
897
905
|
),
|
|
@@ -903,7 +911,7 @@ function SiteFooter({
|
|
|
903
911
|
] }),
|
|
904
912
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex shrink-0 flex-col gap-[var(--spacing-system-sf)] md:flex-row", children: [
|
|
905
913
|
bandPrimary,
|
|
906
|
-
band.secondary && (_nullishCoalesce(secondaryCta, () => ( /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
914
|
+
band.secondary && (_nullishCoalesce(secondaryCta, () => ( /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkTF5D5MNOcjs.Button, { variant: "outline", href: band.secondary.href, openInNewTab: band.secondary.external, children: navLinkLabel(band.secondary) }))))
|
|
907
915
|
] })
|
|
908
916
|
] }),
|
|
909
917
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-col gap-8 py-[var(--spacing-system-xlf)] lg:flex-row lg:gap-16 lg:py-14", children: [
|
|
@@ -916,7 +924,7 @@ function SiteFooter({
|
|
|
916
924
|
socialRow,
|
|
917
925
|
nav.brand.statusUrl && renderLink({
|
|
918
926
|
link: { href: nav.brand.statusUrl, external: true },
|
|
919
|
-
className:
|
|
927
|
+
className: _chunk65VVJSQZcjs.cn.call(void 0,
|
|
920
928
|
"inline-flex items-center gap-[var(--spacing-system-xsf)] text-ods-text-secondary transition-colors text-h6 hover:text-ods-text-primary",
|
|
921
929
|
NAV_FOCUS_CLASS
|
|
922
930
|
),
|
|
@@ -931,7 +939,7 @@ function SiteFooter({
|
|
|
931
939
|
"nav",
|
|
932
940
|
{
|
|
933
941
|
"aria-label": "Footer",
|
|
934
|
-
className:
|
|
942
|
+
className: _chunk65VVJSQZcjs.cn.call(void 0,
|
|
935
943
|
"grid min-w-0 flex-1 md:gap-7",
|
|
936
944
|
accordion ? "grid-cols-1" : "grid-cols-2 gap-7",
|
|
937
945
|
DESKTOP_COLUMNS[Math.min(columns.length, 6)]
|
|
@@ -943,7 +951,7 @@ function SiteFooter({
|
|
|
943
951
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
944
952
|
"div",
|
|
945
953
|
{
|
|
946
|
-
className:
|
|
954
|
+
className: _chunk65VVJSQZcjs.cn.call(void 0,
|
|
947
955
|
"flex flex-col gap-[var(--spacing-system-xxs)] border-t border-ods-border pb-[var(--spacing-system-xlf)] pt-[var(--spacing-system-lf)] text-ods-text-secondary text-h6 md:flex-row md:items-center md:justify-between md:gap-[var(--spacing-system-lf)]"
|
|
948
956
|
),
|
|
949
957
|
children: [
|
|
@@ -981,12 +989,12 @@ var _framermotion = require('framer-motion');
|
|
|
981
989
|
|
|
982
990
|
function SlidingSidebar({ config }) {
|
|
983
991
|
const [expandedItems, setExpandedItems] = _react.useState.call(void 0, /* @__PURE__ */ new Set());
|
|
984
|
-
const mounted =
|
|
992
|
+
const mounted = _chunkYL6ZB2SRcjs.useIsHydrated.call(void 0, );
|
|
985
993
|
const headerHeight = _chunk24I6RFVUcjs.useHeaderHeight.call(void 0, );
|
|
986
994
|
const asideRef = _react.useRef.call(void 0, null);
|
|
987
995
|
const prefersReducedMotion = _framermotion.useReducedMotion.call(void 0, );
|
|
988
996
|
_overlays.usePreventScroll.call(void 0, { isDisabled: !config.isOpen });
|
|
989
|
-
|
|
997
|
+
_chunkXVFM6SJAcjs.useFocusTrap.call(void 0, asideRef, config.isOpen, { onEscape: config.onClose, contain: false });
|
|
990
998
|
const toggleExpanded = (itemId) => {
|
|
991
999
|
const newExpanded = new Set(expandedItems);
|
|
992
1000
|
if (newExpanded.has(itemId)) {
|
|
@@ -1007,7 +1015,7 @@ function SlidingSidebar({ config }) {
|
|
|
1007
1015
|
const chevronIcon = /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1008
1016
|
"svg",
|
|
1009
1017
|
{
|
|
1010
|
-
className:
|
|
1018
|
+
className: _chunk65VVJSQZcjs.cn.call(void 0, "h-4 w-4 transition-transform", isExpanded && "rotate-90"),
|
|
1011
1019
|
fill: "none",
|
|
1012
1020
|
stroke: "currentColor",
|
|
1013
1021
|
viewBox: "0 0 24 24",
|
|
@@ -1016,14 +1024,14 @@ function SlidingSidebar({ config }) {
|
|
|
1016
1024
|
);
|
|
1017
1025
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "space-y-1", children: [
|
|
1018
1026
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
1019
|
-
|
|
1027
|
+
_chunkTF5D5MNOcjs.Button,
|
|
1020
1028
|
{
|
|
1021
1029
|
variant: "transparent",
|
|
1022
1030
|
size: "default",
|
|
1023
1031
|
onClick: () => toggleExpanded(item.id),
|
|
1024
1032
|
leftIcon: item.icon,
|
|
1025
1033
|
rightIcon: chevronIcon,
|
|
1026
|
-
className:
|
|
1034
|
+
className: _chunk65VVJSQZcjs.cn.call(void 0,
|
|
1027
1035
|
"!w-full overflow-hidden rounded-lg transition-colors md:!w-full",
|
|
1028
1036
|
level === 0 ? "pl-3" : "pl-6",
|
|
1029
1037
|
item.isActive ? "bg-ods-accent text-ods-text-on-accent hover:bg-ods-accent/90" : "text-ods-text-primary hover:bg-ods-border"
|
|
@@ -1054,7 +1062,7 @@ function SlidingSidebar({ config }) {
|
|
|
1054
1062
|
}
|
|
1055
1063
|
if (item.href) {
|
|
1056
1064
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
1057
|
-
|
|
1065
|
+
_chunkTF5D5MNOcjs.Button,
|
|
1058
1066
|
{
|
|
1059
1067
|
variant: "transparent",
|
|
1060
1068
|
size: "default",
|
|
@@ -1063,7 +1071,7 @@ function SlidingSidebar({ config }) {
|
|
|
1063
1071
|
config.onClose();
|
|
1064
1072
|
},
|
|
1065
1073
|
leftIcon: item.icon,
|
|
1066
|
-
className:
|
|
1074
|
+
className: _chunk65VVJSQZcjs.cn.call(void 0,
|
|
1067
1075
|
"!w-full overflow-hidden rounded-lg transition-colors md:!w-full",
|
|
1068
1076
|
level === 0 ? "pl-3" : "pl-6",
|
|
1069
1077
|
item.isActive ? "bg-ods-accent text-ods-text-on-accent hover:bg-ods-accent/90" : "text-ods-text-primary hover:bg-ods-border"
|
|
@@ -1077,7 +1085,7 @@ function SlidingSidebar({ config }) {
|
|
|
1077
1085
|
);
|
|
1078
1086
|
}
|
|
1079
1087
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
1080
|
-
|
|
1088
|
+
_chunkTF5D5MNOcjs.Button,
|
|
1081
1089
|
{
|
|
1082
1090
|
variant: "transparent",
|
|
1083
1091
|
size: "default",
|
|
@@ -1086,7 +1094,7 @@ function SlidingSidebar({ config }) {
|
|
|
1086
1094
|
config.onClose();
|
|
1087
1095
|
},
|
|
1088
1096
|
leftIcon: item.icon,
|
|
1089
|
-
className:
|
|
1097
|
+
className: _chunk65VVJSQZcjs.cn.call(void 0,
|
|
1090
1098
|
"!w-full overflow-hidden rounded-lg transition-colors md:!w-full",
|
|
1091
1099
|
level === 0 ? "pl-3" : "pl-6",
|
|
1092
1100
|
item.isActive ? "bg-ods-accent text-ods-text-on-accent hover:bg-ods-accent/90" : "text-ods-text-primary hover:bg-ods-border"
|
|
@@ -1113,7 +1121,7 @@ function SlidingSidebar({ config }) {
|
|
|
1113
1121
|
duration: 0.3,
|
|
1114
1122
|
ease: [0.4, 0, 0.2, 1]
|
|
1115
1123
|
},
|
|
1116
|
-
className:
|
|
1124
|
+
className: _chunk65VVJSQZcjs.cn.call(void 0, "fixed inset-0 z-[45]", _chunkRB7VLVMDcjs.OVERLAY_BACKDROP_CLASS),
|
|
1117
1125
|
onClick: () => config.onClose()
|
|
1118
1126
|
}
|
|
1119
1127
|
) }),
|
|
@@ -1137,7 +1145,7 @@ function SlidingSidebar({ config }) {
|
|
|
1137
1145
|
inert: !config.isOpen || void 0,
|
|
1138
1146
|
role: config.isOpen ? "dialog" : void 0,
|
|
1139
1147
|
"aria-label": config.isOpen ? "Navigation sidebar" : void 0,
|
|
1140
|
-
className:
|
|
1148
|
+
className: _chunk65VVJSQZcjs.cn.call(void 0,
|
|
1141
1149
|
// Window chrome: the window's tokens even when opened from a narrow content area.
|
|
1142
1150
|
"ods-viewport-layer fixed bottom-0 top-0 z-[46] flex w-72 flex-col border-ods-border bg-ods-card shadow-xl",
|
|
1143
1151
|
config.position === "right" ? "right-0 border-l" : "left-0 border-r",
|
|
@@ -1153,6 +1161,78 @@ function SlidingSidebar({ config }) {
|
|
|
1153
1161
|
] });
|
|
1154
1162
|
}
|
|
1155
1163
|
|
|
1164
|
+
// src/components/navigation/page-section-bar.tsx
|
|
1165
|
+
|
|
1166
|
+
|
|
1167
|
+
var SECTION_BAR_HEIGHT_PX = _chunkVYYLYZUCcjs.STICKY_SECTION_NAV_HEIGHT_PX;
|
|
1168
|
+
var PAGE_ANCHOR_SCROLL_MARGIN_CLASS = "scroll-mt-36";
|
|
1169
|
+
var PAGE_ANCHOR_SCOPE_CLASS = "[&_[id]]:scroll-mt-36";
|
|
1170
|
+
var PAGE_ANCHOR_GAP_PX = 16;
|
|
1171
|
+
var SECTION_BAR_INSET_CLASS = "px-[var(--spacing-system-lf)] md:px-20";
|
|
1172
|
+
function useRenderedSections(sections) {
|
|
1173
|
+
const [empty, setEmpty] = _react.useState.call(void 0, () => /* @__PURE__ */ new Set());
|
|
1174
|
+
_react.useEffect.call(void 0, () => {
|
|
1175
|
+
const measure = () => setEmpty((prev) => {
|
|
1176
|
+
const next = new Set(
|
|
1177
|
+
sections.filter((section) => !_optionalChain([document, 'access', _26 => _26.getElementById, 'call', _27 => _27(section.id), 'optionalAccess', _28 => _28.hasChildNodes, 'call', _29 => _29()])).map((s) => s.id)
|
|
1178
|
+
);
|
|
1179
|
+
return next.size === prev.size && [...next].every((id) => prev.has(id)) ? prev : next;
|
|
1180
|
+
});
|
|
1181
|
+
measure();
|
|
1182
|
+
const observer = new MutationObserver(measure);
|
|
1183
|
+
for (const section of sections) {
|
|
1184
|
+
const element = document.getElementById(section.id);
|
|
1185
|
+
if (element) observer.observe(element, { childList: true });
|
|
1186
|
+
}
|
|
1187
|
+
return () => observer.disconnect();
|
|
1188
|
+
}, [sections]);
|
|
1189
|
+
return empty.size === 0 ? sections : sections.filter((section) => !empty.has(section.id));
|
|
1190
|
+
}
|
|
1191
|
+
function PageSectionBar({ sections: listed, label, brand, action }) {
|
|
1192
|
+
const sections = useRenderedSections(listed);
|
|
1193
|
+
const inScope = _chunkXFRBEXQNcjs.useLoadingScope.call(void 0, );
|
|
1194
|
+
const headerBottom = _chunk24I6RFVUcjs.useHeaderHeight.call(void 0, void 0, { stuckOnly: true });
|
|
1195
|
+
const { activeSection, handleSectionClick } = _chunkVYYLYZUCcjs.useScrollSpy.call(void 0, sections, {
|
|
1196
|
+
syncHash: true,
|
|
1197
|
+
aboveFirst: "none",
|
|
1198
|
+
headerOffset: headerBottom + SECTION_BAR_HEIGHT_PX + PAGE_ANCHOR_GAP_PX
|
|
1199
|
+
});
|
|
1200
|
+
if (sections.length === 0 && !inScope) return null;
|
|
1201
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1202
|
+
_chunkVRDHAR3Xcjs.PageContainer,
|
|
1203
|
+
{
|
|
1204
|
+
as: "div",
|
|
1205
|
+
backgroundClassName: "sticky z-30 border-b border-ods-border bg-ods-bg transition-[top] duration-300 ease-in-out motion-reduce:transition-none",
|
|
1206
|
+
backgroundStyle: { top: headerBottom },
|
|
1207
|
+
contentPadding: SECTION_BAR_INSET_CLASS,
|
|
1208
|
+
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1209
|
+
_chunkVYYLYZUCcjs.StickySectionNav,
|
|
1210
|
+
{
|
|
1211
|
+
orientation: "horizontal",
|
|
1212
|
+
label,
|
|
1213
|
+
sections,
|
|
1214
|
+
activeSection,
|
|
1215
|
+
onSectionClick: handleSectionClick,
|
|
1216
|
+
brand,
|
|
1217
|
+
action: action && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1218
|
+
_chunkYL6ZB2SRcjs.NavLinkAnchorViaRuntime,
|
|
1219
|
+
{
|
|
1220
|
+
href: action.href,
|
|
1221
|
+
onClick: (event) => {
|
|
1222
|
+
if (!action.href.startsWith("#")) return;
|
|
1223
|
+
event.preventDefault();
|
|
1224
|
+
handleSectionClick(action.href.slice(1));
|
|
1225
|
+
},
|
|
1226
|
+
className: _chunk65VVJSQZcjs.cn.call(void 0, "whitespace-nowrap text-h6 hover:underline", action.className),
|
|
1227
|
+
children: action.label
|
|
1228
|
+
}
|
|
1229
|
+
)
|
|
1230
|
+
}
|
|
1231
|
+
)
|
|
1232
|
+
}
|
|
1233
|
+
);
|
|
1234
|
+
}
|
|
1235
|
+
|
|
1156
1236
|
// src/components/navigation/navigation-sidebar.tsx
|
|
1157
1237
|
|
|
1158
1238
|
|
|
@@ -1171,7 +1251,7 @@ function NavigationSidebarHeader({ minimized }) {
|
|
|
1171
1251
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1172
1252
|
"div",
|
|
1173
1253
|
{
|
|
1174
|
-
className:
|
|
1254
|
+
className: _chunk65VVJSQZcjs.cn.call(void 0,
|
|
1175
1255
|
"min-w-0 flex-1 overflow-hidden transition-[opacity,margin-left] duration-300",
|
|
1176
1256
|
minimized ? "ml-0 opacity-0" : "ml-[var(--spacing-system-xs)] opacity-100"
|
|
1177
1257
|
),
|
|
@@ -1189,12 +1269,12 @@ function NavigationSidebarHeader({ minimized }) {
|
|
|
1189
1269
|
|
|
1190
1270
|
function NavigationItemBadge({ label, compact = false, className, ...rest }) {
|
|
1191
1271
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1192
|
-
|
|
1272
|
+
_chunkJTSUAHDLcjs.Tag,
|
|
1193
1273
|
{
|
|
1194
1274
|
as: "span",
|
|
1195
1275
|
label,
|
|
1196
1276
|
variant: "warning",
|
|
1197
|
-
className:
|
|
1277
|
+
className: _chunk65VVJSQZcjs.cn.call(void 0, "pointer-events-none shrink-0", compact && "h-5 px-[var(--spacing-system-xxs)]", className),
|
|
1198
1278
|
labelClassName: compact ? "text-badge" : void 0,
|
|
1199
1279
|
...rest
|
|
1200
1280
|
}
|
|
@@ -1214,7 +1294,7 @@ var NavigationSidebarItemButton = _react.memo.call(void 0, function NavigationSi
|
|
|
1214
1294
|
const unreadCount = _nullishCoalesce(item.unreadCount, () => ( 0));
|
|
1215
1295
|
const hasUnread = unreadCount > 0;
|
|
1216
1296
|
const name = item.badge ? `${item.label} (${item.badge})` : item.label;
|
|
1217
|
-
const className =
|
|
1297
|
+
const className = _chunk65VVJSQZcjs.cn.call(void 0,
|
|
1218
1298
|
// `isolate` scopes the hover layer's negative z-index to this row, so it
|
|
1219
1299
|
// paints over the row's own background and under its content instead of
|
|
1220
1300
|
// sliding behind the sidebar.
|
|
@@ -1254,12 +1334,12 @@ var NavigationSidebarItemButton = _react.memo.call(void 0, function NavigationSi
|
|
|
1254
1334
|
_react.cloneElement.call(void 0, item.icon, {
|
|
1255
1335
|
color: isActive && !disabled ? "text-ods-accent" : "text-ods-text-secondary"
|
|
1256
1336
|
}),
|
|
1257
|
-
hasUnread && !showLabel && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1337
|
+
hasUnread && !showLabel && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVRDHAR3Xcjs.UnreadDot, { size: "fixed" })
|
|
1258
1338
|
] }),
|
|
1259
1339
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
1260
1340
|
"span",
|
|
1261
1341
|
{
|
|
1262
|
-
className:
|
|
1342
|
+
className: _chunk65VVJSQZcjs.cn.call(void 0,
|
|
1263
1343
|
"flex min-w-0 flex-1 items-center overflow-hidden text-left transition-[opacity,margin-left] duration-300",
|
|
1264
1344
|
showLabel ? "ml-[var(--spacing-system-xs)] opacity-100" : "ml-0 opacity-0"
|
|
1265
1345
|
),
|
|
@@ -1285,8 +1365,8 @@ var NavigationSidebarItemButton = _react.memo.call(void 0, function NavigationSi
|
|
|
1285
1365
|
});
|
|
1286
1366
|
function NavigationSidebarItemSkeleton({ showLabel }) {
|
|
1287
1367
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex h-14 w-full items-center justify-start p-[var(--spacing-system-m)]", "aria-hidden": "true", children: [
|
|
1288
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "relative flex flex-shrink-0 items-center justify-center", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1289
|
-
showLabel && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1368
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "relative flex flex-shrink-0 items-center justify-center", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkXFRBEXQNcjs.UnifiedSkeleton, { className: "h-6 w-6 rounded" }) }),
|
|
1369
|
+
showLabel && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkXFRBEXQNcjs.UnifiedSkeleton, { className: "ml-[var(--spacing-system-xs)] h-4 flex-1 rounded" })
|
|
1290
1370
|
] });
|
|
1291
1371
|
}
|
|
1292
1372
|
|
|
@@ -1297,7 +1377,7 @@ function NavigationSidebarToggle({ minimized, showLabel, onToggle }) {
|
|
|
1297
1377
|
"button",
|
|
1298
1378
|
{
|
|
1299
1379
|
onClick: onToggle,
|
|
1300
|
-
className:
|
|
1380
|
+
className: _chunk65VVJSQZcjs.cn.call(void 0,
|
|
1301
1381
|
"relative flex w-full items-center justify-start",
|
|
1302
1382
|
"h-14 p-[var(--spacing-system-m)]",
|
|
1303
1383
|
"transition-colors duration-300",
|
|
@@ -1311,7 +1391,7 @@ function NavigationSidebarToggle({ minimized, showLabel, onToggle }) {
|
|
|
1311
1391
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1312
1392
|
"span",
|
|
1313
1393
|
{
|
|
1314
|
-
className:
|
|
1394
|
+
className: _chunk65VVJSQZcjs.cn.call(void 0,
|
|
1315
1395
|
"flex-1 truncate text-left transition-[opacity,margin-left] duration-300 text-h4",
|
|
1316
1396
|
showLabel ? "ml-[var(--spacing-system-xs)] opacity-100" : "ml-0 opacity-0"
|
|
1317
1397
|
),
|
|
@@ -1345,17 +1425,17 @@ var SIDEBAR_GEOMETRY_CLASSES = [
|
|
|
1345
1425
|
var SIDEBAR_TABLET_WIDTH = { rail: "md:w-14", overlay: "md:w-56" };
|
|
1346
1426
|
var isModifiedClick = (event) => !!event && (event.metaKey || event.ctrlKey || event.shiftKey || event.altKey || event.button !== 0);
|
|
1347
1427
|
function NavigationSidebar({ config, disabled = false, pushOnTablet = false }) {
|
|
1348
|
-
const isMdUp = _nullishCoalesce(
|
|
1349
|
-
const isLgUp = _nullishCoalesce(
|
|
1428
|
+
const isMdUp = _nullishCoalesce(_chunk5P4TDV7Vcjs.useMdUp.call(void 0, ), () => ( false));
|
|
1429
|
+
const isLgUp = _nullishCoalesce(_chunk5P4TDV7Vcjs.useLgUp.call(void 0, ), () => ( false));
|
|
1350
1430
|
const isTablet = isMdUp && !isLgUp;
|
|
1351
|
-
const [desktopMinimized, setDesktopMinimized] =
|
|
1431
|
+
const [desktopMinimized, setDesktopMinimized] = _chunk2JRSYWFPcjs.useLocalStorage.call(void 0, STORAGE_KEY, _nullishCoalesce(config.minimized, () => ( false)));
|
|
1352
1432
|
const [tabletMinimized, setTabletMinimized] = _react.useState.call(void 0, true);
|
|
1353
1433
|
const [tabletFor, setTabletFor] = _react.useState.call(void 0, isTablet);
|
|
1354
1434
|
if (tabletFor !== isTablet) {
|
|
1355
1435
|
setTabletFor(isTablet);
|
|
1356
1436
|
if (isTablet) setTabletMinimized(true);
|
|
1357
1437
|
}
|
|
1358
|
-
const hydrated =
|
|
1438
|
+
const hydrated = _chunkYL6ZB2SRcjs.useIsHydrated.call(void 0, );
|
|
1359
1439
|
const minimized = hydrated ? isTablet ? tabletMinimized : desktopMinimized : _nullishCoalesce(config.minimized, () => ( false));
|
|
1360
1440
|
const [transitionsEnabled, setTransitionsEnabled] = _react.useState.call(void 0, false);
|
|
1361
1441
|
const isOverlayOpen = isTablet && !minimized;
|
|
@@ -1366,7 +1446,7 @@ function NavigationSidebar({ config, disabled = false, pushOnTablet = false }) {
|
|
|
1366
1446
|
} else {
|
|
1367
1447
|
setDesktopMinimized((prev) => !prev);
|
|
1368
1448
|
}
|
|
1369
|
-
_optionalChain([config, 'access',
|
|
1449
|
+
_optionalChain([config, 'access', _30 => _30.onToggleMinimized, 'optionalCall', _31 => _31()]);
|
|
1370
1450
|
}, [isTablet, setDesktopMinimized, config]);
|
|
1371
1451
|
const closeOverlay = _react.useCallback.call(void 0, () => {
|
|
1372
1452
|
setTabletMinimized(true);
|
|
@@ -1380,7 +1460,7 @@ function NavigationSidebar({ config, disabled = false, pushOnTablet = false }) {
|
|
|
1380
1460
|
return () => document.removeEventListener("keydown", handleKeyDown);
|
|
1381
1461
|
}, [isOverlayOpen, closeOverlay]);
|
|
1382
1462
|
const [pendingItemId, setPendingItemId] = _react.useState.call(void 0, null);
|
|
1383
|
-
const committedActiveId = _react.useMemo.call(void 0, () => _nullishCoalesce(_optionalChain([config, 'access',
|
|
1463
|
+
const committedActiveId = _react.useMemo.call(void 0, () => _nullishCoalesce(_optionalChain([config, 'access', _32 => _32.items, 'access', _33 => _33.find, 'call', _34 => _34((item) => item.isActive), 'optionalAccess', _35 => _35.id]), () => ( null)), [config.items]);
|
|
1384
1464
|
const [pendingClearedFor, setPendingClearedFor] = _react.useState.call(void 0, committedActiveId);
|
|
1385
1465
|
if (pendingClearedFor !== committedActiveId) {
|
|
1386
1466
|
setPendingClearedFor(committedActiveId);
|
|
@@ -1388,7 +1468,7 @@ function NavigationSidebar({ config, disabled = false, pushOnTablet = false }) {
|
|
|
1388
1468
|
}
|
|
1389
1469
|
const handleItemClick = _react.useCallback.call(void 0,
|
|
1390
1470
|
(item, event) => {
|
|
1391
|
-
_optionalChain([event, 'optionalAccess',
|
|
1471
|
+
_optionalChain([event, 'optionalAccess', _36 => _36.stopPropagation, 'call', _37 => _37()]);
|
|
1392
1472
|
if (item.onClick) {
|
|
1393
1473
|
item.onClick();
|
|
1394
1474
|
if (isTablet) setTabletMinimized(true);
|
|
@@ -1397,7 +1477,7 @@ function NavigationSidebar({ config, disabled = false, pushOnTablet = false }) {
|
|
|
1397
1477
|
if (!item.path) return;
|
|
1398
1478
|
if (isModifiedClick(event)) return;
|
|
1399
1479
|
if (config.onNavigate) {
|
|
1400
|
-
_optionalChain([event, 'optionalAccess',
|
|
1480
|
+
_optionalChain([event, 'optionalAccess', _38 => _38.preventDefault, 'call', _39 => _39()]);
|
|
1401
1481
|
if (item.id !== committedActiveId) setPendingItemId(item.id);
|
|
1402
1482
|
config.onNavigate(item.path);
|
|
1403
1483
|
}
|
|
@@ -1414,13 +1494,13 @@ function NavigationSidebar({ config, disabled = false, pushOnTablet = false }) {
|
|
|
1414
1494
|
);
|
|
1415
1495
|
const loadingRows = _react.useMemo.call(void 0, () => {
|
|
1416
1496
|
if (!config.loading) return null;
|
|
1417
|
-
const primary = _nullishCoalesce(_optionalChain([config, 'access',
|
|
1418
|
-
const secondary = _nullishCoalesce(_optionalChain([config, 'access',
|
|
1497
|
+
const primary = _nullishCoalesce(_optionalChain([config, 'access', _40 => _40.loadingRows, 'optionalAccess', _41 => _41.primary]), () => ( 7));
|
|
1498
|
+
const secondary = _nullishCoalesce(_optionalChain([config, 'access', _42 => _42.loadingRows, 'optionalAccess', _43 => _43.secondary]), () => ( 2));
|
|
1419
1499
|
return {
|
|
1420
1500
|
primary: Array.from({ length: Math.max(0, primary) }, (_, i) => `primary-${i}`),
|
|
1421
1501
|
secondary: Array.from({ length: Math.max(0, secondary) }, (_, i) => `secondary-${i}`)
|
|
1422
1502
|
};
|
|
1423
|
-
}, [config.loading, _optionalChain([config, 'access',
|
|
1503
|
+
}, [config.loading, _optionalChain([config, 'access', _44 => _44.loadingRows, 'optionalAccess', _45 => _45.primary]), _optionalChain([config, 'access', _46 => _46.loadingRows, 'optionalAccess', _47 => _47.secondary])]);
|
|
1424
1504
|
const sidebarWidth = _react.useMemo.call(void 0, () => minimized ? `${MINIMIZED_WIDTH}px` : `${EXPANDED_WIDTH}px`, [minimized]);
|
|
1425
1505
|
_chunkDGFDBPO7cjs.useIsomorphicLayoutEffect.call(void 0, () => {
|
|
1426
1506
|
document.documentElement.style.setProperty(NAVIGATION_SIDEBAR_WIDTH_VAR, sidebarWidth);
|
|
@@ -1436,7 +1516,7 @@ function NavigationSidebar({ config, disabled = false, pushOnTablet = false }) {
|
|
|
1436
1516
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1437
1517
|
"div",
|
|
1438
1518
|
{
|
|
1439
|
-
className:
|
|
1519
|
+
className: _chunk65VVJSQZcjs.cn.call(void 0,
|
|
1440
1520
|
"fixed inset-0 z-[40] bg-ods-overlay",
|
|
1441
1521
|
"hidden md:block lg:hidden",
|
|
1442
1522
|
"transition-opacity duration-300",
|
|
@@ -1449,7 +1529,7 @@ function NavigationSidebar({ config, disabled = false, pushOnTablet = false }) {
|
|
|
1449
1529
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1450
1530
|
"div",
|
|
1451
1531
|
{
|
|
1452
|
-
className:
|
|
1532
|
+
className: _chunk65VVJSQZcjs.cn.call(void 0,
|
|
1453
1533
|
"hidden h-full flex-shrink-0 md:block lg:hidden",
|
|
1454
1534
|
isOverlayOpen && pushOnTablet ? "w-56" : "w-14",
|
|
1455
1535
|
transitionsEnabled && "transition-[width] duration-300"
|
|
@@ -1460,7 +1540,7 @@ function NavigationSidebar({ config, disabled = false, pushOnTablet = false }) {
|
|
|
1460
1540
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
1461
1541
|
"aside",
|
|
1462
1542
|
{
|
|
1463
|
-
className:
|
|
1543
|
+
className: _chunk65VVJSQZcjs.cn.call(void 0,
|
|
1464
1544
|
SIDEBAR_CONTAINER,
|
|
1465
1545
|
"hidden flex-shrink-0 flex-col md:flex",
|
|
1466
1546
|
"border-r border-ods-border bg-ods-card",
|
|
@@ -1477,7 +1557,7 @@ function NavigationSidebar({ config, disabled = false, pushOnTablet = false }) {
|
|
|
1477
1557
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, NavigationSidebarHeader, { minimized }),
|
|
1478
1558
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-1 flex-col justify-between overflow-y-auto py-4", children: [
|
|
1479
1559
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-col", children: [
|
|
1480
|
-
_optionalChain([config, 'access',
|
|
1560
|
+
_optionalChain([config, 'access', _48 => _48.topSlot, 'optionalCall', _49 => _49({ minimized })]),
|
|
1481
1561
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "nav", { className: "flex flex-col", "aria-label": "Primary navigation", "aria-busy": !!loadingRows, children: loadingRows ? loadingRows.primary.map((key) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, NavigationSidebarItemSkeleton, { showLabel }, key)) : primaryItems.map((item) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1482
1562
|
NavigationSidebarItemButton,
|
|
1483
1563
|
{
|
|
@@ -1536,19 +1616,19 @@ function HeaderGlobalSearch({
|
|
|
1536
1616
|
};
|
|
1537
1617
|
const handleSubmit = (e) => {
|
|
1538
1618
|
e.preventDefault();
|
|
1539
|
-
_optionalChain([onSubmit, 'optionalCall',
|
|
1619
|
+
_optionalChain([onSubmit, 'optionalCall', _50 => _50(currentValue)]);
|
|
1540
1620
|
};
|
|
1541
1621
|
const handleKeyDown = (e) => {
|
|
1542
1622
|
if (e.key === "Enter") {
|
|
1543
|
-
_optionalChain([onSubmit, 'optionalCall',
|
|
1623
|
+
_optionalChain([onSubmit, 'optionalCall', _51 => _51(currentValue)]);
|
|
1544
1624
|
}
|
|
1545
1625
|
};
|
|
1546
1626
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
1547
1627
|
"form",
|
|
1548
1628
|
{
|
|
1549
1629
|
onSubmit: handleSubmit,
|
|
1550
|
-
...
|
|
1551
|
-
className:
|
|
1630
|
+
..._chunk7VI7TOGIcjs.HUBSPOT_DO_NOT_COLLECT_FORM_PROPS,
|
|
1631
|
+
className: _chunk65VVJSQZcjs.cn.call(void 0,
|
|
1552
1632
|
"flex h-full flex-1 items-center gap-2 px-3",
|
|
1553
1633
|
// Transparent so the cell inherits the bar's background
|
|
1554
1634
|
// (TopNavigation `backgroundClassName` can differ per platform).
|
|
@@ -1565,7 +1645,7 @@ function HeaderGlobalSearch({
|
|
|
1565
1645
|
onChange: handleChange,
|
|
1566
1646
|
onKeyDown: handleKeyDown,
|
|
1567
1647
|
placeholder,
|
|
1568
|
-
className:
|
|
1648
|
+
className: _chunk65VVJSQZcjs.cn.call(void 0,
|
|
1569
1649
|
"min-w-0 flex-1 bg-transparent",
|
|
1570
1650
|
"text-h4",
|
|
1571
1651
|
"text-ods-text-primary placeholder:text-ods-text-secondary",
|
|
@@ -1594,7 +1674,7 @@ function HeaderMingoButton({
|
|
|
1594
1674
|
type: "button",
|
|
1595
1675
|
"aria-label": showClose ? "Close Mingo AI" : "Mingo AI",
|
|
1596
1676
|
"aria-pressed": isActive,
|
|
1597
|
-
className:
|
|
1677
|
+
className: _chunk65VVJSQZcjs.cn.call(void 0,
|
|
1598
1678
|
"flex h-full shrink-0 items-center gap-2 px-4",
|
|
1599
1679
|
// Fixed 140px cell from md, so the header's right-hand cluster has a
|
|
1600
1680
|
// known width and a loading placeholder can reserve it exactly
|
|
@@ -1618,7 +1698,7 @@ function HeaderMingoButton({
|
|
|
1618
1698
|
) : (
|
|
1619
1699
|
// Outer frame follows the button's text color (currentColor); the eyes
|
|
1620
1700
|
// and corner block are ODS cyan.
|
|
1621
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1701
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkGTONIRJUcjs.AgentMark, { agent: "mingo", className: "h-6 w-6 shrink-0" })
|
|
1622
1702
|
),
|
|
1623
1703
|
!iconOnly && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "whitespace-nowrap font-bold tracking-[-0.36px] text-h3", children: "Mingo AI" })
|
|
1624
1704
|
]
|
|
@@ -1636,13 +1716,13 @@ function HeaderOrganizationFilter({
|
|
|
1636
1716
|
className
|
|
1637
1717
|
}) {
|
|
1638
1718
|
const selectedOrg = organizations.find((o) => o.id === selectedOrgId);
|
|
1639
|
-
const displayName = _optionalChain([selectedOrg, 'optionalAccess',
|
|
1640
|
-
const deviceCount = _nullishCoalesce(_optionalChain([selectedOrg, 'optionalAccess',
|
|
1641
|
-
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
1642
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1719
|
+
const displayName = _optionalChain([selectedOrg, 'optionalAccess', _52 => _52.name]) || "All Organizations";
|
|
1720
|
+
const deviceCount = _nullishCoalesce(_optionalChain([selectedOrg, 'optionalAccess', _53 => _53.deviceCount]), () => ( totalDeviceCount));
|
|
1721
|
+
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkXIFEZ2JTcjs.DropdownMenu, { children: [
|
|
1722
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkXIFEZ2JTcjs.DropdownMenuTrigger, { asChild: true, children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
1643
1723
|
"button",
|
|
1644
1724
|
{
|
|
1645
|
-
className:
|
|
1725
|
+
className: _chunk65VVJSQZcjs.cn.call(void 0,
|
|
1646
1726
|
"flex h-full items-center gap-4 px-4",
|
|
1647
1727
|
// Transparent so the cell inherits the bar's background.
|
|
1648
1728
|
"border-l border-ods-border bg-transparent",
|
|
@@ -1662,9 +1742,9 @@ function HeaderOrganizationFilter({
|
|
|
1662
1742
|
]
|
|
1663
1743
|
}
|
|
1664
1744
|
) }),
|
|
1665
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
1666
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1667
|
-
organizations.map((org) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1745
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkXIFEZ2JTcjs.DropdownMenuContent, { align: "end", className: "min-w-[240px]", children: [
|
|
1746
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkXIFEZ2JTcjs.DropdownMenuItem, { onClick: () => _optionalChain([onOrgChange, 'optionalCall', _54 => _54("")]), children: "All Organizations" }),
|
|
1747
|
+
organizations.map((org) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkXIFEZ2JTcjs.DropdownMenuItem, { onClick: () => _optionalChain([onOrgChange, 'optionalCall', _55 => _55(org.id)]), children: org.name }, org.id))
|
|
1668
1748
|
] })
|
|
1669
1749
|
] });
|
|
1670
1750
|
}
|
|
@@ -1672,16 +1752,16 @@ function HeaderOrganizationFilter({
|
|
|
1672
1752
|
// src/components/navigation/ticket-alerts-button.tsx
|
|
1673
1753
|
|
|
1674
1754
|
function TicketAlertsButton({ href, onNavigate, disabled, className }) {
|
|
1675
|
-
const live =
|
|
1755
|
+
const live = _chunkF7R3U5ENcjs.useOptionalTicketLive.call(void 0, );
|
|
1676
1756
|
if (!live || !live.authed || live.unreadTotal === 0) return null;
|
|
1677
1757
|
const targetId = live.nextUnreadTicketId;
|
|
1678
|
-
const target = targetId ?
|
|
1758
|
+
const target = targetId ? _chunk7VI7TOGIcjs.buildTicketOpenHref.call(void 0, href, targetId) : href;
|
|
1679
1759
|
const handleClick = () => {
|
|
1680
1760
|
if (onNavigate) onNavigate(target);
|
|
1681
1761
|
else window.location.assign(target);
|
|
1682
1762
|
};
|
|
1683
1763
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1684
|
-
|
|
1764
|
+
_chunkVRDHAR3Xcjs.HeaderButton,
|
|
1685
1765
|
{
|
|
1686
1766
|
icon: (
|
|
1687
1767
|
// Glyph inherits HeaderButton's standard cell coloring (secondary at
|
|
@@ -1691,13 +1771,13 @@ function TicketAlertsButton({ href, onNavigate, disabled, className }) {
|
|
|
1691
1771
|
// existing while updates are unread — never by tinting the glyph.
|
|
1692
1772
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: "relative inline-flex", children: [
|
|
1693
1773
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk365ZKGGOcjs.LifeBuoyIcon, { className: "h-6 w-6" }),
|
|
1694
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1774
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVRDHAR3Xcjs.UnreadCountBadge, { count: live.unreadTotal })
|
|
1695
1775
|
] })
|
|
1696
1776
|
),
|
|
1697
1777
|
"aria-label": `Support tickets \u2014 ${live.unreadTotal} unread ${live.unreadTotal === 1 ? "update" : "updates"}`,
|
|
1698
1778
|
onClick: handleClick,
|
|
1699
1779
|
disabled,
|
|
1700
|
-
className:
|
|
1780
|
+
className: _chunk65VVJSQZcjs.cn.call(void 0, className)
|
|
1701
1781
|
}
|
|
1702
1782
|
);
|
|
1703
1783
|
}
|
|
@@ -1734,7 +1814,7 @@ var AppHeader = _react2.default.memo(function AppHeaderImpl({
|
|
|
1734
1814
|
loading = false,
|
|
1735
1815
|
loadingActionCells
|
|
1736
1816
|
}) {
|
|
1737
|
-
const isMdUp = _nullishCoalesce(
|
|
1817
|
+
const isMdUp = _nullishCoalesce(_chunk5P4TDV7Vcjs.useMdUp.call(void 0, ), () => ( false));
|
|
1738
1818
|
if (loading) {
|
|
1739
1819
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1740
1820
|
AppHeaderSkeleton,
|
|
@@ -1762,12 +1842,12 @@ var AppHeader = _react2.default.memo(function AppHeaderImpl({
|
|
|
1762
1842
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1763
1843
|
TopNavigation,
|
|
1764
1844
|
{
|
|
1765
|
-
className:
|
|
1845
|
+
className: _chunk65VVJSQZcjs.cn.call(void 0, "sticky top-0 z-40", className),
|
|
1766
1846
|
centerBreakpoint: "md",
|
|
1767
1847
|
leading: (
|
|
1768
1848
|
// Mobile: Burger Menu Button
|
|
1769
1849
|
!isMdUp && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1770
|
-
|
|
1850
|
+
_chunkVRDHAR3Xcjs.HeaderButton,
|
|
1771
1851
|
{
|
|
1772
1852
|
onClick: onToggleMobileMenu,
|
|
1773
1853
|
isActive: isMobileMenuOpen,
|
|
@@ -1790,14 +1870,14 @@ var AppHeader = _react2.default.memo(function AppHeaderImpl({
|
|
|
1790
1870
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkMME4F4GGcjs.OpenframeTextIcon, { color: "var(--color-text-primary)", className: "h-4 w-[87px]" })
|
|
1791
1871
|
] }),
|
|
1792
1872
|
logoClassName: "gap-2",
|
|
1793
|
-
center: showSearch ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, HeaderGlobalSearch, { onSubmit: onSearch, className:
|
|
1873
|
+
center: showSearch ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, HeaderGlobalSearch, { onSubmit: onSearch, className: _chunk65VVJSQZcjs.cn.call(void 0, "w-full", dimmedClass) }) : void 0,
|
|
1794
1874
|
sideActions: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
1795
1875
|
showSearch && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1796
|
-
|
|
1876
|
+
_chunkVRDHAR3Xcjs.HeaderButton,
|
|
1797
1877
|
{
|
|
1798
1878
|
icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkZ74QE57Tcjs.SearchIcon, { className: "h-6 w-6" }),
|
|
1799
1879
|
"aria-label": "Search",
|
|
1800
|
-
className:
|
|
1880
|
+
className: _chunk65VVJSQZcjs.cn.call(void 0, "md:hidden", cellDivider, dimmedClass),
|
|
1801
1881
|
disabled
|
|
1802
1882
|
}
|
|
1803
1883
|
),
|
|
@@ -1807,16 +1887,16 @@ var AppHeader = _react2.default.memo(function AppHeaderImpl({
|
|
|
1807
1887
|
organizations,
|
|
1808
1888
|
selectedOrgId,
|
|
1809
1889
|
onOrgChange,
|
|
1810
|
-
className:
|
|
1890
|
+
className: _chunk65VVJSQZcjs.cn.call(void 0, "hidden lg:flex", dimmedClass)
|
|
1811
1891
|
}
|
|
1812
1892
|
),
|
|
1813
|
-
showTimeTracker && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1893
|
+
showTimeTracker && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVRDHAR3Xcjs.TimeTrackerHeaderButton, { disabled, className: _chunk65VVJSQZcjs.cn.call(void 0, cellDivider, dimmedClass) }),
|
|
1814
1894
|
showNotifications && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1815
1895
|
NotificationsHeaderButton,
|
|
1816
1896
|
{
|
|
1817
1897
|
fallbackUnreadCount: unreadCount,
|
|
1818
1898
|
disabled,
|
|
1819
|
-
dimmedClass:
|
|
1899
|
+
dimmedClass: _chunk65VVJSQZcjs.cn.call(void 0, cellDivider, dimmedClass)
|
|
1820
1900
|
}
|
|
1821
1901
|
),
|
|
1822
1902
|
showTicketAlerts && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
@@ -1825,15 +1905,15 @@ var AppHeader = _react2.default.memo(function AppHeaderImpl({
|
|
|
1825
1905
|
href: _nullishCoalesce(ticketAlertsHref, () => ( "/tickets")),
|
|
1826
1906
|
onNavigate: onTicketAlerts,
|
|
1827
1907
|
disabled,
|
|
1828
|
-
className:
|
|
1908
|
+
className: _chunk65VVJSQZcjs.cn.call(void 0, cellDivider, dimmedClass)
|
|
1829
1909
|
}
|
|
1830
1910
|
),
|
|
1831
|
-
isMdUp && showUser && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
1832
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1833
|
-
|
|
1911
|
+
isMdUp && showUser && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkXIFEZ2JTcjs.DropdownMenu, { children: [
|
|
1912
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkXIFEZ2JTcjs.DropdownMenuTrigger, { asChild: true, disabled, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1913
|
+
_chunkVRDHAR3Xcjs.HeaderButton,
|
|
1834
1914
|
{
|
|
1835
1915
|
icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1836
|
-
|
|
1916
|
+
_chunkJTSUAHDLcjs.SquareAvatar,
|
|
1837
1917
|
{
|
|
1838
1918
|
src: userAvatarUrl || void 0,
|
|
1839
1919
|
alt: userName || "User",
|
|
@@ -1844,7 +1924,7 @@ var AppHeader = _react2.default.memo(function AppHeaderImpl({
|
|
|
1844
1924
|
),
|
|
1845
1925
|
"aria-label": "User",
|
|
1846
1926
|
disabled,
|
|
1847
|
-
className:
|
|
1927
|
+
className: _chunk65VVJSQZcjs.cn.call(void 0,
|
|
1848
1928
|
"outline-none ring-0 focus:outline-none focus:ring-0 focus-visible:outline-none focus-visible:ring-0",
|
|
1849
1929
|
cellDivider,
|
|
1850
1930
|
dimmedClass
|
|
@@ -1852,14 +1932,14 @@ var AppHeader = _react2.default.memo(function AppHeaderImpl({
|
|
|
1852
1932
|
}
|
|
1853
1933
|
) }),
|
|
1854
1934
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
1855
|
-
|
|
1935
|
+
_chunkXIFEZ2JTcjs.DropdownMenuContent,
|
|
1856
1936
|
{
|
|
1857
1937
|
align: "end",
|
|
1858
1938
|
className: "z-[104] w-[280px] overflow-hidden rounded-[6px] border-ods-border bg-ods-bg p-0",
|
|
1859
1939
|
children: [
|
|
1860
1940
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center gap-2 border-b border-ods-border bg-ods-card p-3", children: [
|
|
1861
1941
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1862
|
-
|
|
1942
|
+
_chunkJTSUAHDLcjs.SquareAvatar,
|
|
1863
1943
|
{
|
|
1864
1944
|
src: userAvatarUrl || void 0,
|
|
1865
1945
|
alt: userName || "User",
|
|
@@ -1874,7 +1954,7 @@ var AppHeader = _react2.default.memo(function AppHeaderImpl({
|
|
|
1874
1954
|
] })
|
|
1875
1955
|
] }),
|
|
1876
1956
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1877
|
-
|
|
1957
|
+
_chunkXIFEZ2JTcjs.DropdownMenuItem,
|
|
1878
1958
|
{
|
|
1879
1959
|
onClick: onProfile,
|
|
1880
1960
|
className: "cursor-pointer rounded-none border-b border-ods-border bg-ods-card px-3 py-3 hover:bg-ods-card/80 focus:bg-ods-card/80",
|
|
@@ -1885,7 +1965,7 @@ var AppHeader = _react2.default.memo(function AppHeaderImpl({
|
|
|
1885
1965
|
}
|
|
1886
1966
|
),
|
|
1887
1967
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1888
|
-
|
|
1968
|
+
_chunkXIFEZ2JTcjs.DropdownMenuItem,
|
|
1889
1969
|
{
|
|
1890
1970
|
onClick: onLogout,
|
|
1891
1971
|
className: "cursor-pointer rounded-none bg-ods-card px-3 py-3 hover:bg-ods-card/80 focus:bg-ods-card/80",
|
|
@@ -1907,7 +1987,7 @@ var AppHeader = _react2.default.memo(function AppHeaderImpl({
|
|
|
1907
1987
|
closeWhenActive: mingoAICloseWhenActive,
|
|
1908
1988
|
iconOnly: !isMdUp,
|
|
1909
1989
|
disabled: disabled || !onMingoAI,
|
|
1910
|
-
className:
|
|
1990
|
+
className: _chunk65VVJSQZcjs.cn.call(void 0, cellDivider, dimmedClass)
|
|
1911
1991
|
}
|
|
1912
1992
|
)
|
|
1913
1993
|
] })
|
|
@@ -1915,12 +1995,12 @@ var AppHeader = _react2.default.memo(function AppHeaderImpl({
|
|
|
1915
1995
|
);
|
|
1916
1996
|
});
|
|
1917
1997
|
function NotificationsHeaderButton({ fallbackUnreadCount, disabled, dimmedClass }) {
|
|
1918
|
-
const ctx =
|
|
1919
|
-
const hasUnread = (_nullishCoalesce(_optionalChain([ctx, 'optionalAccess',
|
|
1920
|
-
const isActive = _nullishCoalesce(_optionalChain([ctx, 'optionalAccess',
|
|
1921
|
-
const onClick = _optionalChain([ctx, 'optionalAccess',
|
|
1998
|
+
const ctx = _chunkVRDHAR3Xcjs.useOptionalNotifications.call(void 0, );
|
|
1999
|
+
const hasUnread = (_nullishCoalesce(_optionalChain([ctx, 'optionalAccess', _56 => _56.unreadCount]), () => ( fallbackUnreadCount))) > 0;
|
|
2000
|
+
const isActive = _nullishCoalesce(_optionalChain([ctx, 'optionalAccess', _57 => _57.isOpen]), () => ( false));
|
|
2001
|
+
const onClick = _optionalChain([ctx, 'optionalAccess', _58 => _58.toggle]);
|
|
1922
2002
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1923
|
-
|
|
2003
|
+
_chunkVRDHAR3Xcjs.HeaderButton,
|
|
1924
2004
|
{
|
|
1925
2005
|
icon: isActive ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkWWUSFOJ7cjs.XmarkIcon, { className: "h-6 w-6" }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkCON36SEJcjs.BellIcon, { className: "h-6 w-6" }),
|
|
1926
2006
|
showUnreadDot: !isActive && hasUnread,
|
|
@@ -1938,12 +2018,12 @@ var CELL_VISIBILITY = {
|
|
|
1938
2018
|
"icon-lg": "hidden lg:flex"
|
|
1939
2019
|
};
|
|
1940
2020
|
function HeaderCellSkeleton({ className }) {
|
|
1941
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className:
|
|
2021
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: _chunk65VVJSQZcjs.cn.call(void 0, "flex h-full w-14 shrink-0 items-center justify-center border-l border-ods-border", className), children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkXFRBEXQNcjs.UnifiedSkeleton, { className: "h-6 w-6 rounded" }) });
|
|
1942
2022
|
}
|
|
1943
2023
|
function HeaderWideCellSkeleton() {
|
|
1944
2024
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex h-full w-14 shrink-0 items-center justify-center gap-2 border-l border-ods-border md:w-[140px] md:px-4", children: [
|
|
1945
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1946
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
2025
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkXFRBEXQNcjs.UnifiedSkeleton, { className: "h-6 w-6 shrink-0 rounded" }),
|
|
2026
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkXFRBEXQNcjs.UnifiedSkeleton, { className: "hidden h-5 rounded md:block md:w-[72px]" })
|
|
1947
2027
|
] });
|
|
1948
2028
|
}
|
|
1949
2029
|
function AppHeaderSkeleton({
|
|
@@ -1955,19 +2035,19 @@ function AppHeaderSkeleton({
|
|
|
1955
2035
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1956
2036
|
TopNavigation,
|
|
1957
2037
|
{
|
|
1958
|
-
className:
|
|
2038
|
+
className: _chunk65VVJSQZcjs.cn.call(void 0, "sticky top-0 z-40", className),
|
|
1959
2039
|
centerBreakpoint: "md",
|
|
1960
2040
|
"aria-busy": "true",
|
|
1961
2041
|
leading: (
|
|
1962
2042
|
// Burger cell: mobile only, in CSS.
|
|
1963
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex h-full w-14 shrink-0 items-center justify-center border-r border-ods-border md:hidden", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
2043
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex h-full w-14 shrink-0 items-center justify-center border-r border-ods-border md:hidden", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkXFRBEXQNcjs.UnifiedSkeleton, { className: "h-6 w-6 rounded" }) })
|
|
1964
2044
|
),
|
|
1965
2045
|
logo: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
1966
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1967
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
2046
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkXFRBEXQNcjs.UnifiedSkeleton, { className: "h-6 w-6 shrink-0 rounded" }),
|
|
2047
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkXFRBEXQNcjs.UnifiedSkeleton, { className: "h-4 w-24 rounded" })
|
|
1968
2048
|
] }),
|
|
1969
2049
|
logoClassName: "gap-2 md:hidden",
|
|
1970
|
-
center: showSearch ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
2050
|
+
center: showSearch ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkXFRBEXQNcjs.UnifiedSkeleton, { className: "h-10 w-full rounded-md" }) : void 0,
|
|
1971
2051
|
sideActions: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
1972
2052
|
showSearch && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, HeaderCellSkeleton, { className: "md:hidden" }),
|
|
1973
2053
|
cells.map(
|
|
@@ -1992,7 +2072,7 @@ function AppHeaderSkeleton({
|
|
|
1992
2072
|
|
|
1993
2073
|
var SIDE_PANEL_INSET = 16;
|
|
1994
2074
|
var SIDE_PANEL_FRAME_WIDTH = 2;
|
|
1995
|
-
var MOBILE_QUERY = `not all and ${
|
|
2075
|
+
var MOBILE_QUERY = `not all and ${_chunk5P4TDV7Vcjs.breakpoints.md}`;
|
|
1996
2076
|
var REDUCED_MOTION_QUERY = "(prefers-reduced-motion: reduce)";
|
|
1997
2077
|
var MORPH_MS = 300;
|
|
1998
2078
|
var STORAGE_EVENT = "of:side-panel-size";
|
|
@@ -2068,11 +2148,11 @@ function useStoredSize(storageKey, fallback) {
|
|
|
2068
2148
|
}
|
|
2069
2149
|
function useAppLayoutSidePanel(config, row) {
|
|
2070
2150
|
const enabled = config !== void 0;
|
|
2071
|
-
const minWidth = _nullishCoalesce(_optionalChain([config, 'optionalAccess',
|
|
2072
|
-
const minContentWidth = _nullishCoalesce(_optionalChain([config, 'optionalAccess',
|
|
2073
|
-
const collapsed = _nullishCoalesce(_optionalChain([config, 'optionalAccess',
|
|
2151
|
+
const minWidth = _nullishCoalesce(_optionalChain([config, 'optionalAccess', _59 => _59.minWidth]), () => ( 0));
|
|
2152
|
+
const minContentWidth = _nullishCoalesce(_optionalChain([config, 'optionalAccess', _60 => _60.minContentWidth]), () => ( 400));
|
|
2153
|
+
const collapsed = _nullishCoalesce(_optionalChain([config, 'optionalAccess', _61 => _61.collapsed]), () => ( false));
|
|
2074
2154
|
const minimum = { width: minWidth, expanded: false };
|
|
2075
|
-
const defaultWidth = Math.max(minWidth, _nullishCoalesce(_optionalChain([config, 'optionalAccess',
|
|
2155
|
+
const defaultWidth = Math.max(minWidth, _nullishCoalesce(_optionalChain([config, 'optionalAccess', _62 => _62.defaultWidth]), () => ( minWidth)));
|
|
2076
2156
|
const [rowWidth, setRowWidth] = _react.useState.call(void 0, 0);
|
|
2077
2157
|
_chunkDGFDBPO7cjs.useIsomorphicLayoutEffect.call(void 0, () => {
|
|
2078
2158
|
if (!enabled || !row) return void 0;
|
|
@@ -2082,17 +2162,17 @@ function useAppLayoutSidePanel(config, row) {
|
|
|
2082
2162
|
observer.observe(row);
|
|
2083
2163
|
return () => observer.disconnect();
|
|
2084
2164
|
}, [enabled, row]);
|
|
2085
|
-
const isMobile =
|
|
2086
|
-
const reduceMotion =
|
|
2165
|
+
const isMobile = _chunk5P4TDV7Vcjs.useMediaQuery.call(void 0, MOBILE_QUERY) === true;
|
|
2166
|
+
const reduceMotion = _chunk5P4TDV7Vcjs.useMediaQuery.call(void 0, REDUCED_MOTION_QUERY) === true;
|
|
2087
2167
|
const [morph, setMorph] = _react.useState.call(void 0, null);
|
|
2088
2168
|
const [liveWidth, setLiveWidth] = _react.useState.call(void 0, null);
|
|
2089
|
-
const [storedSize, setStoredSize] = useStoredSize(_optionalChain([config, 'optionalAccess',
|
|
2169
|
+
const [storedSize, setStoredSize] = useStoredSize(_optionalChain([config, 'optionalAccess', _63 => _63.storageKey]), { width: defaultWidth, expanded: false });
|
|
2090
2170
|
const [ownIsOpen, setOwnIsOpen] = _react.useState.call(void 0, false);
|
|
2091
|
-
const isOpen = _nullishCoalesce(_optionalChain([config, 'optionalAccess',
|
|
2092
|
-
const onOpenChange = _optionalChain([config, 'optionalAccess',
|
|
2171
|
+
const isOpen = _nullishCoalesce(_optionalChain([config, 'optionalAccess', _64 => _64.open]), () => ( ownIsOpen));
|
|
2172
|
+
const onOpenChange = _optionalChain([config, 'optionalAccess', _65 => _65.onOpenChange]);
|
|
2093
2173
|
const setIsOpen = (next) => {
|
|
2094
|
-
if (_optionalChain([config, 'optionalAccess',
|
|
2095
|
-
_optionalChain([onOpenChange, 'optionalCall',
|
|
2174
|
+
if (_optionalChain([config, 'optionalAccess', _66 => _66.open]) === void 0) setOwnIsOpen(next);
|
|
2175
|
+
_optionalChain([onOpenChange, 'optionalCall', _67 => _67(next)]);
|
|
2096
2176
|
};
|
|
2097
2177
|
const [collapsedSize, setCollapsedSize] = _react.useState.call(void 0, null);
|
|
2098
2178
|
const [prevCollapsed, setPrevCollapsed] = _react.useState.call(void 0, collapsed);
|
|
@@ -2112,8 +2192,8 @@ function useAppLayoutSidePanel(config, row) {
|
|
|
2112
2192
|
_react.useEffect.call(void 0, () => {
|
|
2113
2193
|
const couldDock = prevCanDockRef.current;
|
|
2114
2194
|
prevCanDockRef.current = layout.canDock;
|
|
2115
|
-
if (!couldDock && layout.canDock && _optionalChain([config, 'optionalAccess',
|
|
2116
|
-
}, [layout.canDock, _optionalChain([config, 'optionalAccess',
|
|
2195
|
+
if (!couldDock && layout.canDock && _optionalChain([config, 'optionalAccess', _68 => _68.open])) _optionalChain([onOpenChange, 'optionalCall', _69 => _69(false)]);
|
|
2196
|
+
}, [layout.canDock, _optionalChain([config, 'optionalAccess', _70 => _70.open]), onOpenChange]);
|
|
2117
2197
|
if (!enabled) return null;
|
|
2118
2198
|
const animate = (next) => {
|
|
2119
2199
|
if (!reduceMotion) setMorph(next);
|
|
@@ -2300,7 +2380,7 @@ function AppLayoutSidePanel({ config, state }) {
|
|
|
2300
2380
|
id: panelId,
|
|
2301
2381
|
"aria-label": label,
|
|
2302
2382
|
onKeyDown: handleKeyDown,
|
|
2303
|
-
className:
|
|
2383
|
+
className: _chunk65VVJSQZcjs.cn.call(void 0,
|
|
2304
2384
|
"relative min-w-0",
|
|
2305
2385
|
// Docked is decided before the viewport is known (server render, first
|
|
2306
2386
|
// paint): keep it off phones until JS says otherwise.
|
|
@@ -2321,7 +2401,7 @@ function AppLayoutSidePanel({ config, state }) {
|
|
|
2321
2401
|
onTransitionCancel: (event) => {
|
|
2322
2402
|
if (event.target === event.currentTarget) endMorph();
|
|
2323
2403
|
},
|
|
2324
|
-
className:
|
|
2404
|
+
className: _chunk65VVJSQZcjs.cn.call(void 0,
|
|
2325
2405
|
"absolute flex",
|
|
2326
2406
|
mode === "overlay" ? "inset-0" : "inset-y-[var(--spacing-system-mf)] right-[var(--spacing-system-mf)] z-[1]",
|
|
2327
2407
|
morph && "transition-[width] duration-300 ease-in-out motion-reduce:transition-none"
|
|
@@ -2332,7 +2412,7 @@ function AppLayoutSidePanel({ config, state }) {
|
|
|
2332
2412
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
2333
2413
|
"div",
|
|
2334
2414
|
{
|
|
2335
|
-
className:
|
|
2415
|
+
className: _chunk65VVJSQZcjs.cn.call(void 0,
|
|
2336
2416
|
"flex min-h-0 min-w-0 flex-1 overflow-hidden bg-ods-bg",
|
|
2337
2417
|
mode !== "overlay" && "rounded-md border border-ods-border"
|
|
2338
2418
|
),
|
|
@@ -2372,13 +2452,13 @@ var MobileBurgerMenu = _react2.default.memo(function MobileBurgerMenuImpl({
|
|
|
2372
2452
|
}) {
|
|
2373
2453
|
const panelRef = _react.useRef.call(void 0, null);
|
|
2374
2454
|
_overlays.usePreventScroll.call(void 0, { isDisabled: !isOpen });
|
|
2375
|
-
|
|
2455
|
+
_chunkXVFM6SJAcjs.useFocusTrap.call(void 0, panelRef, isOpen, { onEscape: onClose });
|
|
2376
2456
|
const handleItemClick = _react.useCallback.call(void 0,
|
|
2377
2457
|
(item) => {
|
|
2378
2458
|
if (item.onClick) {
|
|
2379
2459
|
item.onClick();
|
|
2380
2460
|
} else if (item.path) {
|
|
2381
|
-
_optionalChain([config, 'access',
|
|
2461
|
+
_optionalChain([config, 'access', _71 => _71.onNavigate, 'optionalCall', _72 => _72(item.path)]);
|
|
2382
2462
|
}
|
|
2383
2463
|
onClose();
|
|
2384
2464
|
},
|
|
@@ -2393,7 +2473,7 @@ var MobileBurgerMenu = _react2.default.memo(function MobileBurgerMenuImpl({
|
|
|
2393
2473
|
{
|
|
2394
2474
|
onClick: () => handleItemClick(item),
|
|
2395
2475
|
disabled,
|
|
2396
|
-
className:
|
|
2476
|
+
className: _chunk65VVJSQZcjs.cn.call(void 0,
|
|
2397
2477
|
"relative flex items-center gap-1 p-3",
|
|
2398
2478
|
"focus:outline-none focus-visible:outline-none",
|
|
2399
2479
|
"transition-colors duration-200",
|
|
@@ -2416,7 +2496,7 @@ var MobileBurgerMenu = _react2.default.memo(function MobileBurgerMenuImpl({
|
|
|
2416
2496
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
2417
2497
|
"span",
|
|
2418
2498
|
{
|
|
2419
|
-
className:
|
|
2499
|
+
className: _chunk65VVJSQZcjs.cn.call(void 0,
|
|
2420
2500
|
"min-w-0 truncate text-left text-h6",
|
|
2421
2501
|
isActive && !disabled ? "text-ods-accent" : "text-ods-text-primary"
|
|
2422
2502
|
),
|
|
@@ -2435,9 +2515,9 @@ var MobileBurgerMenu = _react2.default.memo(function MobileBurgerMenuImpl({
|
|
|
2435
2515
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
2436
2516
|
"div",
|
|
2437
2517
|
{
|
|
2438
|
-
className:
|
|
2518
|
+
className: _chunk65VVJSQZcjs.cn.call(void 0,
|
|
2439
2519
|
"absolute inset-0 z-[100] md:hidden",
|
|
2440
|
-
|
|
2520
|
+
_chunkRB7VLVMDcjs.OVERLAY_BACKDROP_CLASS,
|
|
2441
2521
|
"transition-all duration-300 motion-reduce:transition-none",
|
|
2442
2522
|
isOpen ? "opacity-100" : "pointer-events-none opacity-0"
|
|
2443
2523
|
),
|
|
@@ -2450,7 +2530,7 @@ var MobileBurgerMenu = _react2.default.memo(function MobileBurgerMenuImpl({
|
|
|
2450
2530
|
"div",
|
|
2451
2531
|
{
|
|
2452
2532
|
ref: panelRef,
|
|
2453
|
-
className:
|
|
2533
|
+
className: _chunk65VVJSQZcjs.cn.call(void 0,
|
|
2454
2534
|
"absolute left-0 right-0 z-[101] md:hidden",
|
|
2455
2535
|
"flex flex-col",
|
|
2456
2536
|
"border-b border-ods-border bg-ods-bg",
|
|
@@ -2471,14 +2551,14 @@ var MobileBurgerMenu = _react2.default.memo(function MobileBurgerMenuImpl({
|
|
|
2471
2551
|
user && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
2472
2552
|
"div",
|
|
2473
2553
|
{
|
|
2474
|
-
className:
|
|
2554
|
+
className: _chunk65VVJSQZcjs.cn.call(void 0,
|
|
2475
2555
|
"flex items-center gap-3 rounded-md border border-ods-border bg-ods-card p-3",
|
|
2476
2556
|
disabled && "pointer-events-none opacity-50"
|
|
2477
2557
|
),
|
|
2478
2558
|
"aria-disabled": disabled || void 0,
|
|
2479
2559
|
children: [
|
|
2480
2560
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
2481
|
-
|
|
2561
|
+
_chunkJTSUAHDLcjs.SquareAvatar,
|
|
2482
2562
|
{
|
|
2483
2563
|
src: user.userAvatarUrl || void 0,
|
|
2484
2564
|
alt: user.userName || "User",
|
|
@@ -2496,13 +2576,13 @@ var MobileBurgerMenu = _react2.default.memo(function MobileBurgerMenuImpl({
|
|
|
2496
2576
|
user.userEmail && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "truncate text-ods-text-secondary text-h6", children: user.userEmail })
|
|
2497
2577
|
] }),
|
|
2498
2578
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex shrink-0 items-center gap-2", children: [
|
|
2499
|
-
onSearchUser && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
2500
|
-
onEditProfile && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
2579
|
+
onSearchUser && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkTF5D5MNOcjs.Button, { size: "icon", onClick: onSearchUser, variant: "outline", "aria-label": "Search users", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk756VZNPPcjs.UserSearchIcon, { className: "size-4 text-ods-text-primary" }) }),
|
|
2580
|
+
onEditProfile && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkTF5D5MNOcjs.Button, { size: "icon", onClick: onEditProfile, variant: "outline", "aria-label": "Edit profile", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkB7AGSQ2Pcjs.PenEditIcon, { className: "size-4 text-ods-text-primary" }) })
|
|
2501
2581
|
] })
|
|
2502
2582
|
]
|
|
2503
2583
|
}
|
|
2504
2584
|
),
|
|
2505
|
-
_optionalChain([config, 'access',
|
|
2585
|
+
_optionalChain([config, 'access', _73 => _73.topSlot, 'optionalCall', _74 => _74({ minimized: false })]),
|
|
2506
2586
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "nav", { "aria-label": "Primary navigation", children: renderNavigationGrid(primaryItems) }),
|
|
2507
2587
|
secondaryItems.length > 0 && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "nav", { "aria-label": "Secondary navigation", className: "flex flex-col gap-3", children: secondaryItems.map((item) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _react2.default.Fragment, { children: renderNavigationItem(item, false) }, item.id)) }),
|
|
2508
2588
|
onLogout && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
@@ -2510,7 +2590,7 @@ var MobileBurgerMenu = _react2.default.memo(function MobileBurgerMenuImpl({
|
|
|
2510
2590
|
{
|
|
2511
2591
|
onClick: onLogout,
|
|
2512
2592
|
disabled,
|
|
2513
|
-
className:
|
|
2593
|
+
className: _chunk65VVJSQZcjs.cn.call(void 0,
|
|
2514
2594
|
"flex w-full items-center gap-1 rounded-md border border-ods-border bg-ods-card p-3 transition-colors",
|
|
2515
2595
|
!disabled && "hover:bg-ods-bg-hover",
|
|
2516
2596
|
disabled && "cursor-not-allowed opacity-50"
|
|
@@ -2562,7 +2642,7 @@ function AppLayout({
|
|
|
2562
2642
|
isMingoAIActive: sidePanelState.isOpen,
|
|
2563
2643
|
mingoAICloseWhenActive: true
|
|
2564
2644
|
};
|
|
2565
|
-
const contentCovered = _optionalChain([sidePanelState, 'optionalAccess',
|
|
2645
|
+
const contentCovered = _optionalChain([sidePanelState, 'optionalAccess', _75 => _75.coversContent]) === true;
|
|
2566
2646
|
const mobileMenuOpenRef = _react.useRef.call(void 0, mobileMenuOpen);
|
|
2567
2647
|
_react.useEffect.call(void 0, () => {
|
|
2568
2648
|
mobileMenuOpenRef.current = mobileMenuOpen;
|
|
@@ -2593,7 +2673,7 @@ function AppLayout({
|
|
|
2593
2673
|
}),
|
|
2594
2674
|
[]
|
|
2595
2675
|
);
|
|
2596
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
2676
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVRDHAR3Xcjs.AppLayoutDrawerContainerContext.Provider, { value: drawerContainer, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVRDHAR3Xcjs.AppLayoutDrawerCoordinationContext.Provider, { value: drawerCoordination, children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _chunk65VVJSQZcjs.cn.call(void 0, "flex h-screen flex-col bg-ods-bg", className), children: [
|
|
2597
2677
|
topBar,
|
|
2598
2678
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "relative flex min-h-0 flex-1", children: [
|
|
2599
2679
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, NavigationSidebar, { config: sidebarConfig, disabled, pushOnTablet: hasSidePanel }),
|
|
@@ -2617,12 +2697,12 @@ function AppLayout({
|
|
|
2617
2697
|
disabled
|
|
2618
2698
|
}
|
|
2619
2699
|
),
|
|
2620
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
2700
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVRDHAR3Xcjs.NotificationDrawer, {}),
|
|
2621
2701
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
2622
2702
|
"div",
|
|
2623
2703
|
{
|
|
2624
2704
|
ref: setDrawerContainer,
|
|
2625
|
-
className:
|
|
2705
|
+
className: _chunk65VVJSQZcjs.cn.call(void 0, "relative flex flex-1 overflow-hidden", sidePanel ? "flex-row" : "flex-col"),
|
|
2626
2706
|
children: [
|
|
2627
2707
|
sidePanel ? (
|
|
2628
2708
|
// `hidden` while the panel covers the area: the page stays
|
|
@@ -2631,18 +2711,18 @@ function AppLayout({
|
|
|
2631
2711
|
"main",
|
|
2632
2712
|
{
|
|
2633
2713
|
ref: setMainElement,
|
|
2634
|
-
className:
|
|
2714
|
+
className: _chunk65VVJSQZcjs.cn.call(void 0,
|
|
2635
2715
|
"ods-content-area min-w-0 flex-1 overflow-y-auto",
|
|
2636
2716
|
contentCovered && "hidden",
|
|
2637
2717
|
// While the panel is drawn over the page, keep the page's own
|
|
2638
2718
|
// z-indexed layers (sticky headers, fixed bars) under it.
|
|
2639
|
-
_optionalChain([sidePanelState, 'optionalAccess',
|
|
2719
|
+
_optionalChain([sidePanelState, 'optionalAccess', _76 => _76.overlapsContent]) && "isolate",
|
|
2640
2720
|
mainClassName
|
|
2641
2721
|
),
|
|
2642
|
-
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
2722
|
+
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVFZFCRALcjs.ContentAreaWidthContext.Provider, { value: contentWidth, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "ods-content-scope", children }) })
|
|
2643
2723
|
}
|
|
2644
2724
|
)
|
|
2645
|
-
) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "main", { className:
|
|
2725
|
+
) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "main", { className: _chunk65VVJSQZcjs.cn.call(void 0, "flex-1 overflow-y-auto", mainClassName), children }),
|
|
2646
2726
|
sidePanel && sidePanelState && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, AppLayoutSidePanel, { config: sidePanel, state: sidePanelState }),
|
|
2647
2727
|
drawer
|
|
2648
2728
|
]
|
|
@@ -2677,4 +2757,9 @@ function AppLayout({
|
|
|
2677
2757
|
|
|
2678
2758
|
|
|
2679
2759
|
|
|
2680
|
-
|
|
2760
|
+
|
|
2761
|
+
|
|
2762
|
+
|
|
2763
|
+
|
|
2764
|
+
|
|
2765
|
+
exports.MOBILE_NAV_SHEET_ID = MOBILE_NAV_SHEET_ID; exports.defaultRenderSiteNavLink = defaultRenderSiteNavLink; exports.navLinkLabel = navLinkLabel; exports.NavItemRow = NavItemRow; exports.isMegaMenu = isMegaMenu; exports.NavPanel = NavPanel; exports.TopNavigation = TopNavigation; exports.SiteHeader = SiteHeader; exports.siteNavHasMobileMenus = siteNavHasMobileMenus; exports.MobileNavSheet = MobileNavSheet; exports.SiteFooter = SiteFooter; exports.SlidingSidebar = SlidingSidebar; exports.SECTION_BAR_HEIGHT_PX = SECTION_BAR_HEIGHT_PX; exports.PAGE_ANCHOR_SCROLL_MARGIN_CLASS = PAGE_ANCHOR_SCROLL_MARGIN_CLASS; exports.PAGE_ANCHOR_SCOPE_CLASS = PAGE_ANCHOR_SCOPE_CLASS; exports.PAGE_ANCHOR_GAP_PX = PAGE_ANCHOR_GAP_PX; exports.PageSectionBar = PageSectionBar; exports.NavigationItemBadge = NavigationItemBadge; exports.NAVIGATION_SIDEBAR_WIDTH_VAR = NAVIGATION_SIDEBAR_WIDTH_VAR; exports.NavigationSidebar = NavigationSidebar; exports.HeaderGlobalSearch = HeaderGlobalSearch; exports.HeaderMingoButton = HeaderMingoButton; exports.HeaderOrganizationFilter = HeaderOrganizationFilter; exports.TicketAlertsButton = TicketAlertsButton; exports.AppHeader = AppHeader; exports.SIDE_PANEL_FRAME_WIDTH = SIDE_PANEL_FRAME_WIDTH; exports.MobileBurgerMenu = MobileBurgerMenu; exports.AppLayout = AppLayout;
|