@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,5 +1,8 @@
|
|
|
1
1
|
import type { ReactNode } from 'react';
|
|
2
2
|
import { cn } from '../../utils/cn';
|
|
3
|
+
import { TextLineSkeleton } from '../loading/unified-skeleton';
|
|
4
|
+
import { useLoadingScope } from '../ui/loading-scope';
|
|
5
|
+
import { SquareAvatarSkeleton } from '../ui/square-avatar';
|
|
3
6
|
|
|
4
7
|
export interface ChatTurnProps {
|
|
5
8
|
/** Rendered as given, at the size the caller draws it (a person's picture, an agent's mark). */
|
|
@@ -14,38 +17,141 @@ export interface ChatTurnProps {
|
|
|
14
17
|
/** What was said. A string is drawn as the message text; a node is drawn as given. */
|
|
15
18
|
children?: ReactNode;
|
|
16
19
|
className?: string;
|
|
20
|
+
/**
|
|
21
|
+
* The loading state a loading scope draws, the turn's own skeleton: the picture's size in px (none without it),
|
|
22
|
+
* the message's line count (1 by default) and whether a time is shown.
|
|
23
|
+
*/
|
|
24
|
+
skeleton?: Omit<ChatTurnSkeletonProps, 'nameSize' | 'className'>;
|
|
17
25
|
}
|
|
18
26
|
|
|
27
|
+
/** The turn's layout, read by the turn and by its skeleton, so the skeleton is the turn's size. */
|
|
28
|
+
export const TURN_ROW_CLASS = 'flex min-w-0 items-start gap-[var(--spacing-system-sf)]';
|
|
29
|
+
export const TURN_BODY_CLASS = 'flex min-w-0 flex-1 flex-col gap-[var(--spacing-system-xxs)]';
|
|
30
|
+
const NAME_ROW_CLASS = 'flex min-w-0 items-baseline gap-[var(--spacing-system-xsf)]';
|
|
31
|
+
/**
|
|
32
|
+
* The name and its meta: stacked below `content-md` (a phone's card has no room for both on one line, and a cut
|
|
33
|
+
* name or meta says nothing), side by side from `content-md`. The skeleton reads the same class, so it stacks where
|
|
34
|
+
* the turn does.
|
|
35
|
+
*/
|
|
36
|
+
const NAME_GROUP_CLASS =
|
|
37
|
+
'flex min-w-0 flex-1 flex-col content-md:flex-row content-md:items-baseline content-md:gap-[var(--spacing-system-xsf)]';
|
|
38
|
+
const META_CLASS = 'min-w-0 text-ods-text-secondary text-h6 content-md:truncate';
|
|
39
|
+
const NAME_TYPE = { default: 'h4', quiet: 'h6' } as const;
|
|
40
|
+
const NAME_CLASS = { default: 'text-ods-text-primary text-h4', quiet: 'text-ods-text-secondary text-h6' } as const;
|
|
41
|
+
const TIME_CLASS = 'shrink-0 text-ods-text-secondary text-h6';
|
|
42
|
+
const MESSAGE_CLASS = 'm-0 whitespace-pre-wrap text-ods-text-primary text-h4';
|
|
43
|
+
|
|
19
44
|
/**
|
|
20
45
|
* THE turn of a scripted conversation (an example card, a step of a demo): the
|
|
21
46
|
* speaker's picture, then beside it their name, the time at the far end, and
|
|
22
47
|
* what was said under them. Names read as they do everywhere else: the body
|
|
23
48
|
* face, the text colour.
|
|
24
49
|
*/
|
|
25
|
-
export function ChatTurn({
|
|
50
|
+
export function ChatTurn({
|
|
51
|
+
avatar,
|
|
52
|
+
name,
|
|
53
|
+
meta,
|
|
54
|
+
nameSize = 'default',
|
|
55
|
+
time,
|
|
56
|
+
children,
|
|
57
|
+
className,
|
|
58
|
+
skeleton,
|
|
59
|
+
}: ChatTurnProps) {
|
|
60
|
+
if (useLoadingScope()) {
|
|
61
|
+
return (
|
|
62
|
+
<ChatTurnSkeleton
|
|
63
|
+
nameSize={nameSize}
|
|
64
|
+
// `null` says the turn has no time; a placeholder's `''` is a time still to be read.
|
|
65
|
+
time={skeleton?.time ?? time != null}
|
|
66
|
+
meta={skeleton?.meta ?? !!meta}
|
|
67
|
+
lines={skeleton?.lines}
|
|
68
|
+
avatarPx={skeleton?.avatarPx}
|
|
69
|
+
className={className}
|
|
70
|
+
/>
|
|
71
|
+
);
|
|
72
|
+
}
|
|
26
73
|
return (
|
|
27
|
-
<div className={cn(
|
|
74
|
+
<div className={cn(TURN_ROW_CLASS, className)}>
|
|
28
75
|
{avatar && <span className="shrink-0">{avatar}</span>}
|
|
29
|
-
<div className=
|
|
30
|
-
<div className=
|
|
31
|
-
<span className=
|
|
32
|
-
<span
|
|
33
|
-
|
|
34
|
-
'min-w-0 truncate',
|
|
35
|
-
nameSize === 'quiet' ? 'text-ods-text-secondary text-h6' : 'text-ods-text-primary text-h4',
|
|
36
|
-
)}
|
|
37
|
-
>
|
|
38
|
-
{name}
|
|
39
|
-
</span>
|
|
40
|
-
{meta && <span className="min-w-0 truncate text-ods-text-secondary text-h6">{meta}</span>}
|
|
76
|
+
<div className={TURN_BODY_CLASS}>
|
|
77
|
+
<div className={NAME_ROW_CLASS}>
|
|
78
|
+
<span className={NAME_GROUP_CLASS}>
|
|
79
|
+
<span className={cn('min-w-0 truncate', NAME_CLASS[nameSize])}>{name}</span>
|
|
80
|
+
{meta && <span className={META_CLASS}>{meta}</span>}
|
|
41
81
|
</span>
|
|
42
|
-
{time && <span className=
|
|
82
|
+
{time && <span className={TIME_CLASS}>{time}</span>}
|
|
43
83
|
</div>
|
|
44
|
-
{typeof children === 'string' ?
|
|
45
|
-
|
|
84
|
+
{typeof children === 'string' ? <p className={MESSAGE_CLASS}>{children}</p> : children}
|
|
85
|
+
</div>
|
|
86
|
+
</div>
|
|
87
|
+
);
|
|
88
|
+
}
|
|
89
|
+
|
|
90
|
+
export interface ChatTurnSkeletonProps {
|
|
91
|
+
/** The picture's size in px; no picture without it. */
|
|
92
|
+
avatarPx?: number;
|
|
93
|
+
/** The picture's corner, as the caller draws it (a person's round photo by default, a square logo). */
|
|
94
|
+
avatarShape?: 'square' | 'round';
|
|
95
|
+
nameSize?: 'default' | 'quiet';
|
|
96
|
+
/** How many lines the message takes. */
|
|
97
|
+
lines?: 1 | 2 | 3;
|
|
98
|
+
/** Whether the name row carries a time at its far end. */
|
|
99
|
+
time?: boolean;
|
|
100
|
+
/** Whether the name carries a meta line; a string is static copy, drawn for real. */
|
|
101
|
+
meta?: boolean | string;
|
|
102
|
+
className?: string;
|
|
103
|
+
}
|
|
104
|
+
|
|
105
|
+
/**
|
|
106
|
+
* The turn's name row while it is read: a bar at the name's type step, the meta (stacked under it below
|
|
107
|
+
* `content-md`, beside it from there, as the turn draws it) and the time at the far end. Read by the turn's
|
|
108
|
+
* skeleton and by every card that draws a turn of its own.
|
|
109
|
+
*/
|
|
110
|
+
export function ChatTurnNameSkeleton({
|
|
111
|
+
nameSize = 'default',
|
|
112
|
+
meta = false,
|
|
113
|
+
time = false,
|
|
114
|
+
}: Pick<ChatTurnSkeletonProps, 'nameSize' | 'meta' | 'time'>) {
|
|
115
|
+
return (
|
|
116
|
+
<div className={NAME_ROW_CLASS}>
|
|
117
|
+
<span className={NAME_GROUP_CLASS}>
|
|
118
|
+
<TextLineSkeleton type={NAME_TYPE[nameSize]} className="w-24" />
|
|
119
|
+
{typeof meta === 'string' ? (
|
|
120
|
+
<span className={META_CLASS}>{meta}</span>
|
|
46
121
|
) : (
|
|
47
|
-
|
|
122
|
+
meta && <TextLineSkeleton type="h6" className="w-20" />
|
|
48
123
|
)}
|
|
124
|
+
</span>
|
|
125
|
+
{time && <TextLineSkeleton type="h6" className="w-12 shrink-0" />}
|
|
126
|
+
</div>
|
|
127
|
+
);
|
|
128
|
+
}
|
|
129
|
+
|
|
130
|
+
/** A turn while it is read: the picture's box, a bar at the name's type step, and a bar per message line. */
|
|
131
|
+
export function ChatTurnSkeleton({
|
|
132
|
+
avatarPx,
|
|
133
|
+
avatarShape = 'round',
|
|
134
|
+
nameSize = 'default',
|
|
135
|
+
lines = 1,
|
|
136
|
+
time = false,
|
|
137
|
+
meta = false,
|
|
138
|
+
className,
|
|
139
|
+
}: ChatTurnSkeletonProps) {
|
|
140
|
+
return (
|
|
141
|
+
<div className={cn(TURN_ROW_CLASS, className)} aria-hidden>
|
|
142
|
+
{avatarPx ? <SquareAvatarSkeleton sizePx={avatarPx} variant={avatarShape} /> : null}
|
|
143
|
+
<div className={TURN_BODY_CLASS}>
|
|
144
|
+
<ChatTurnNameSkeleton nameSize={nameSize} meta={meta} time={time} />
|
|
145
|
+
<div>
|
|
146
|
+
{Array.from({ length: lines }, (_, i) => (
|
|
147
|
+
<TextLineSkeleton
|
|
148
|
+
// biome-ignore lint/suspicious/noArrayIndexKey: skeleton lines never reorder
|
|
149
|
+
key={i}
|
|
150
|
+
type="h4"
|
|
151
|
+
className={i === lines - 1 && lines > 1 ? 'w-2/3' : 'w-full'}
|
|
152
|
+
/>
|
|
153
|
+
))}
|
|
154
|
+
</div>
|
|
49
155
|
</div>
|
|
50
156
|
</div>
|
|
51
157
|
);
|
|
@@ -47,6 +47,7 @@ import { useRouter } from '../../embed-shims/next-navigation';
|
|
|
47
47
|
import { useIsHydrated } from '../../hooks/ui/use-is-hydrated';
|
|
48
48
|
import { cn } from '../../utils/cn';
|
|
49
49
|
import { formatCitationIndices } from '../../utils/source-grouping';
|
|
50
|
+
import { getSourceIconName } from '../../utils/source-icons';
|
|
50
51
|
import { AgentMark } from '../agent-mark';
|
|
51
52
|
import { EntityIcon } from '../icon-display';
|
|
52
53
|
import {
|
|
@@ -88,8 +89,8 @@ import { useChatDialogManager } from './hooks/use-chat-dialog-manager';
|
|
|
88
89
|
import { useChatIdentity } from './hooks/use-chat-identity';
|
|
89
90
|
import { useCloseOnNavigation } from './hooks/use-close-on-navigation';
|
|
90
91
|
import { useEmptyStateConfig } from './hooks/use-empty-state-config';
|
|
91
|
-
import { fetchSlashCommands, useSlashCommandRegistry
|
|
92
|
-
import type {
|
|
92
|
+
import { fetchSlashCommands, useSlashCommandRegistry } from './hooks/use-slash-commands';
|
|
93
|
+
import type { UseSseChatAdapterOptions } from './hooks/use-sse-chat-adapter';
|
|
93
94
|
import { useUnifiedChat, type ChatMode, type UseUnifiedChatModes } from './hooks/use-unified-chat';
|
|
94
95
|
import { awaitsDecision, useWhatToAsk, type WhatToAskContent } from './hooks/use-what-to-ask';
|
|
95
96
|
import { MingoArchiveList } from './mingo-archive-list';
|
|
@@ -104,9 +105,9 @@ import { NavLinkAnchorViaRuntime } from './nav-link-anchor-via-runtime';
|
|
|
104
105
|
import { accentFromIdentityIcon, getAgentAccent } from './quick-action-chip';
|
|
105
106
|
import { SourceActionButton } from './source-action-button';
|
|
106
107
|
import { AUTHOR_TYPE, CHAT_APPEARANCE, type ChatAppearance } from './types/chat.types';
|
|
107
|
-
import type { ChatInputRef, DialogItem, SlashCommandActionId } from './types/component.types';
|
|
108
|
+
import type { SlashCommandSummary, ChatInputRef, DialogItem, SlashCommandActionId } from './types/component.types';
|
|
108
109
|
import type { ChatContextItem, ChatContextPickerConfig } from './types/context-item.types';
|
|
109
|
-
import type { MessageSegment, Message } from './types/message.types';
|
|
110
|
+
import type { ChatSource, MessageSegment, Message } from './types/message.types';
|
|
110
111
|
import type {
|
|
111
112
|
ChatDialogCapabilities,
|
|
112
113
|
UnifiedChatState,
|
|
@@ -123,7 +124,6 @@ import { mapHostMessage, pruneTimestampCache } from './utils/host-message';
|
|
|
123
124
|
import { resolveIcon } from './utils/icon-library';
|
|
124
125
|
import { computeIsNewTab, newTabAnchorAttrs } from './utils/nav-anchor-props';
|
|
125
126
|
import { formatSingularLookupInvocation } from './utils/slash-dispatch-utils';
|
|
126
|
-
import { getSourceIconName } from './utils/source-icons';
|
|
127
127
|
import { resolveSourceRowCTA, sourceRowCtxFromRuntime } from './utils/source-row-cta';
|
|
128
128
|
|
|
129
129
|
/**
|
|
@@ -3,62 +3,12 @@
|
|
|
3
3
|
import type { ComponentType, ReactNode } from 'react';
|
|
4
4
|
import { cn } from '../../../utils/cn';
|
|
5
5
|
import { LoadingRegion } from '../../loading/loading-region';
|
|
6
|
-
import {
|
|
6
|
+
import { AdminContentCardSkeleton } from './admin-content-card';
|
|
7
7
|
|
|
8
8
|
/** THE admin card grid: columns and gap shared by the live grid and its skeleton. */
|
|
9
9
|
export const ADMIN_CONTENT_CARD_GRID_CLASS =
|
|
10
10
|
'grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-[var(--spacing-system-lf)]';
|
|
11
11
|
|
|
12
|
-
/**
|
|
13
|
-
* One `AdminContentCard reserveRows`-shaped placeholder. It mirrors that card box
|
|
14
|
-
* for box (3:2 cover, then a `gap-3 p-5` column: two-line title, subtitle line,
|
|
15
|
-
* two-line summary, 28px badges row, meta line, bordered actions row), each text
|
|
16
|
-
* row sized in its own typography's line height, so a skeleton, a real card and a
|
|
17
|
-
* reserved slot are the same height at every breakpoint. `p-5` has no ODS token
|
|
18
|
-
* (20px); it is the card's own padding and must match it exactly.
|
|
19
|
-
*/
|
|
20
|
-
export function AdminContentCardSkeleton({
|
|
21
|
-
className,
|
|
22
|
-
actions = true,
|
|
23
|
-
subtitleRow = true,
|
|
24
|
-
}: {
|
|
25
|
-
className?: string;
|
|
26
|
-
/** Matches the card's `subtitleRow`: off for a card type that has no subtitle line. */
|
|
27
|
-
subtitleRow?: boolean;
|
|
28
|
-
/** The bordered actions row. Off for a card rendered without `actions` (a read-only rail card). */
|
|
29
|
-
actions?: boolean;
|
|
30
|
-
}) {
|
|
31
|
-
return (
|
|
32
|
-
<div
|
|
33
|
-
className={cn(
|
|
34
|
-
'flex h-full flex-col overflow-hidden rounded-2xl border border-ods-border bg-transparent',
|
|
35
|
-
className,
|
|
36
|
-
)}
|
|
37
|
-
>
|
|
38
|
-
<UnifiedSkeleton className="aspect-[3/2] w-full shrink-0" />
|
|
39
|
-
<div className="flex flex-1 flex-col gap-[var(--spacing-system-sf)] p-5">
|
|
40
|
-
<UnifiedSkeleton className="h-[2lh] w-full rounded text-h3" />
|
|
41
|
-
{subtitleRow && <UnifiedSkeleton className="h-[1lh] w-1/2 rounded text-h6" />}
|
|
42
|
-
<UnifiedSkeleton className="h-[2lh] w-full rounded text-h6" />
|
|
43
|
-
<div className="flex h-7 items-center gap-[var(--spacing-system-xsf)]">
|
|
44
|
-
<UnifiedSkeleton className="h-5 w-20 rounded-full" />
|
|
45
|
-
<UnifiedSkeleton className="h-5 w-24 rounded-full" />
|
|
46
|
-
</div>
|
|
47
|
-
<UnifiedSkeleton className="h-[1lh] w-32 rounded text-h6" />
|
|
48
|
-
{actions && (
|
|
49
|
-
<div className="mt-auto flex items-center justify-between border-t border-ods-border pt-[var(--spacing-system-sf)]">
|
|
50
|
-
<UnifiedSkeleton className="h-10 w-24 rounded" />
|
|
51
|
-
<div className="flex gap-[var(--spacing-system-xsf)]">
|
|
52
|
-
<UnifiedSkeleton className="h-10 w-20 rounded" />
|
|
53
|
-
<UnifiedSkeleton className="h-10 w-20 rounded" />
|
|
54
|
-
</div>
|
|
55
|
-
</div>
|
|
56
|
-
)}
|
|
57
|
-
</div>
|
|
58
|
-
</div>
|
|
59
|
-
);
|
|
60
|
-
}
|
|
61
|
-
|
|
62
12
|
export interface AdminContentCardGridSkeletonProps {
|
|
63
13
|
/** How many placeholder cards: one page. */
|
|
64
14
|
count?: number;
|
|
@@ -4,10 +4,22 @@ import type React from 'react';
|
|
|
4
4
|
import { useState } from 'react';
|
|
5
5
|
import Image from '../../../embed-shims/next-image';
|
|
6
6
|
import { useImageEdgeColor } from '../../../hooks/ui/use-image-edge-color';
|
|
7
|
+
import { MEDIA_ASPECT } from '../../../styles/component-sizes';
|
|
7
8
|
import { cn } from '../../../utils/cn';
|
|
8
|
-
import { PlatformBadge } from '../../features/platform-badge';
|
|
9
|
-
import { UnifiedSkeleton } from '../../loading/unified-skeleton';
|
|
10
|
-
import {
|
|
9
|
+
import { PlatformBadge, PlatformBadgeSkeleton } from '../../features/platform-badge';
|
|
10
|
+
import { InteractiveSkeleton, TextLineSkeleton, UnifiedSkeleton } from '../../loading/unified-skeleton';
|
|
11
|
+
import { useLoadingScope } from '../../ui/loading-scope';
|
|
12
|
+
import { CONTENT_CARD_FRAME_CLASS, CONTENT_CARD_SKELETON_FRAME_CLASS } from './content-card-frame';
|
|
13
|
+
|
|
14
|
+
// The card's boxes, read by the card AND `AdminContentCardSkeleton`, so the two are one size at every width.
|
|
15
|
+
const ADMIN_CARD_FRAME = 'flex h-full flex-col';
|
|
16
|
+
const ADMIN_CARD_COVER = `relative ${MEDIA_ASPECT.photo} w-full shrink-0 overflow-hidden`;
|
|
17
|
+
/** `p-5` has no ODS token (20px); it is the card's own padding. */
|
|
18
|
+
const ADMIN_CARD_BODY = 'flex flex-1 flex-col gap-3 p-5';
|
|
19
|
+
const ADMIN_CARD_BADGES = 'flex flex-wrap items-center gap-2';
|
|
20
|
+
const ADMIN_CARD_BADGES_RESERVED = 'min-h-7';
|
|
21
|
+
const ADMIN_CARD_META = 'flex items-center gap-3 text-ods-text-secondary text-h6';
|
|
22
|
+
const ADMIN_CARD_ACTIONS = 'mt-auto flex items-center justify-between border-t border-ods-border pt-3';
|
|
11
23
|
|
|
12
24
|
interface PlatformInfo {
|
|
13
25
|
platform_id?: string;
|
|
@@ -79,10 +91,16 @@ export function AdminContentCard({
|
|
|
79
91
|
const imageLoaded = Boolean(displayUrl) && loadedUrl === displayUrl;
|
|
80
92
|
const imageBgColor = useImageEdgeColor(displayUrl || null, 'transparent');
|
|
81
93
|
|
|
94
|
+
if (useLoadingScope()) {
|
|
95
|
+
return (
|
|
96
|
+
<AdminContentCardSkeleton className={className} subtitleRow={subtitleRow} actions={actions ? actions : false} />
|
|
97
|
+
);
|
|
98
|
+
}
|
|
99
|
+
|
|
82
100
|
return (
|
|
83
|
-
<article className={cn(CONTENT_CARD_FRAME_CLASS,
|
|
101
|
+
<article className={cn(CONTENT_CARD_FRAME_CLASS, ADMIN_CARD_FRAME, className)}>
|
|
84
102
|
{/* Cover Image — 3:2 aspect ratio, centered with edge-color fill */}
|
|
85
|
-
<div className=
|
|
103
|
+
<div className={ADMIN_CARD_COVER} style={{ backgroundColor: imageBgColor }}>
|
|
86
104
|
{displayUrl ? (
|
|
87
105
|
<>
|
|
88
106
|
{!imageLoaded && <UnifiedSkeleton className="absolute inset-0 h-full rounded-none" />}
|
|
@@ -108,7 +126,7 @@ export function AdminContentCard({
|
|
|
108
126
|
</div>
|
|
109
127
|
|
|
110
128
|
{/* Content */}
|
|
111
|
-
<div className=
|
|
129
|
+
<div className={ADMIN_CARD_BODY}>
|
|
112
130
|
{/* Title */}
|
|
113
131
|
<h3 className={cn('line-clamp-2 break-words text-ods-text-primary text-h3', reserveRows && 'min-h-[2lh]')}>
|
|
114
132
|
{title}
|
|
@@ -126,7 +144,7 @@ export function AdminContentCard({
|
|
|
126
144
|
|
|
127
145
|
{/* Badges row */}
|
|
128
146
|
{(Number(platforms?.length) > 0 || badges || reserveRows) && (
|
|
129
|
-
<div className={cn(
|
|
147
|
+
<div className={cn(ADMIN_CARD_BADGES, reserveRows && ADMIN_CARD_BADGES_RESERVED)}>
|
|
130
148
|
{platforms?.map(p => (
|
|
131
149
|
<PlatformBadge
|
|
132
150
|
key={p.platform_id || p.id}
|
|
@@ -139,17 +157,64 @@ export function AdminContentCard({
|
|
|
139
157
|
)}
|
|
140
158
|
|
|
141
159
|
{/* Meta row */}
|
|
142
|
-
{(meta || reserveRows) && (
|
|
143
|
-
<div className={cn('flex items-center gap-3 text-ods-text-secondary text-h6', reserveRows && 'min-h-[1lh]')}>
|
|
144
|
-
{meta}
|
|
145
|
-
</div>
|
|
146
|
-
)}
|
|
160
|
+
{(meta || reserveRows) && <div className={cn(ADMIN_CARD_META, reserveRows && 'min-h-[1lh]')}>{meta}</div>}
|
|
147
161
|
|
|
148
162
|
{/* Actions — pushed to bottom */}
|
|
149
|
-
{actions &&
|
|
150
|
-
<div className="mt-auto flex items-center justify-between border-t border-ods-border pt-3">{actions}</div>
|
|
151
|
-
)}
|
|
163
|
+
{actions && <div className={ADMIN_CARD_ACTIONS}>{actions}</div>}
|
|
152
164
|
</div>
|
|
153
165
|
</article>
|
|
154
166
|
);
|
|
155
167
|
}
|
|
168
|
+
|
|
169
|
+
/**
|
|
170
|
+
* One `AdminContentCard reserveRows`-shaped placeholder, in the card's own boxes: the 3:2 cover, a two-line `text-h3`
|
|
171
|
+
* title, the subtitle line, a two-line `text-h6` summary, the 28px badges row, the meta line and the bordered actions
|
|
172
|
+
* row. The actions are the caller's own controls (static) when it passes them, bars otherwise.
|
|
173
|
+
*/
|
|
174
|
+
export function AdminContentCardSkeleton({
|
|
175
|
+
className,
|
|
176
|
+
actions = true,
|
|
177
|
+
subtitleRow = true,
|
|
178
|
+
}: {
|
|
179
|
+
className?: string;
|
|
180
|
+
/** Matches the card's `subtitleRow`: off for a card type that has no subtitle line. */
|
|
181
|
+
subtitleRow?: boolean;
|
|
182
|
+
/**
|
|
183
|
+
* The bordered actions row: `true` draws button bars, a node draws those controls for real, `false` (a read-only
|
|
184
|
+
* rail card) draws none.
|
|
185
|
+
*/
|
|
186
|
+
actions?: boolean | React.ReactNode;
|
|
187
|
+
}) {
|
|
188
|
+
return (
|
|
189
|
+
<div className={cn(CONTENT_CARD_SKELETON_FRAME_CLASS, ADMIN_CARD_FRAME, className)} aria-hidden>
|
|
190
|
+
<UnifiedSkeleton className={cn(ADMIN_CARD_COVER, 'rounded-none')} />
|
|
191
|
+
<div className={ADMIN_CARD_BODY}>
|
|
192
|
+
<TextLineSkeleton type="h3" lines={2} className="w-full" />
|
|
193
|
+
{subtitleRow && <TextLineSkeleton type="h6" className="w-1/2" />}
|
|
194
|
+
<TextLineSkeleton type="h6" lines={2} className="w-full" />
|
|
195
|
+
<div className={cn(ADMIN_CARD_BADGES, ADMIN_CARD_BADGES_RESERVED)}>
|
|
196
|
+
<PlatformBadgeSkeleton size="xs" />
|
|
197
|
+
<PlatformBadgeSkeleton size="xs" />
|
|
198
|
+
</div>
|
|
199
|
+
<div className={ADMIN_CARD_META}>
|
|
200
|
+
<TextLineSkeleton type="h6" className="w-32" />
|
|
201
|
+
</div>
|
|
202
|
+
{actions === true ? (
|
|
203
|
+
<div className={ADMIN_CARD_ACTIONS}>
|
|
204
|
+
{/* The admin cards' actions are `small-legacy` buttons: their own size classes, never a copied box. */}
|
|
205
|
+
<InteractiveSkeleton.Button size="small-legacy" />
|
|
206
|
+
<div className="flex gap-[var(--spacing-system-xsf)]">
|
|
207
|
+
<InteractiveSkeleton.Button size="small-legacy" className="w-20" />
|
|
208
|
+
<InteractiveSkeleton.Button size="small-legacy" className="w-20" />
|
|
209
|
+
</div>
|
|
210
|
+
</div>
|
|
211
|
+
) : actions ? (
|
|
212
|
+
// The caller's own controls, drawn as they are but never focused while the card is a skeleton.
|
|
213
|
+
<div className={ADMIN_CARD_ACTIONS} inert>
|
|
214
|
+
{actions}
|
|
215
|
+
</div>
|
|
216
|
+
) : null}
|
|
217
|
+
</div>
|
|
218
|
+
</div>
|
|
219
|
+
);
|
|
220
|
+
}
|
|
@@ -21,26 +21,27 @@
|
|
|
21
21
|
import { Eye } from 'lucide-react';
|
|
22
22
|
import Image from '../../../embed-shims/next-image';
|
|
23
23
|
import Link from '../../../embed-shims/next-link';
|
|
24
|
+
import { AVATAR_SIZE, MEDIA_ASPECT, TEXT_LINES_MIN } from '../../../styles/component-sizes';
|
|
24
25
|
import type { BlogPostSummary } from '../../../types/blog';
|
|
25
26
|
import { cn } from '../../../utils/cn';
|
|
26
27
|
import { formatDateWithTimezone } from '../../../utils/format';
|
|
27
|
-
import { UnifiedSkeleton } from '../../loading/unified-skeleton';
|
|
28
|
+
import { MediaSkeleton, TextLineSkeleton, UnifiedSkeleton } from '../../loading/unified-skeleton';
|
|
29
|
+
import { useLoadingScope } from '../../ui/loading-scope';
|
|
28
30
|
import { StatusBadge } from '../../ui/status-badge';
|
|
29
31
|
import {
|
|
30
32
|
COMPACT_CARD_IMAGE_SLOT,
|
|
31
33
|
COMPACT_CARD_META_ROW_BOX,
|
|
32
34
|
COMPACT_CARD_OUTER,
|
|
33
35
|
COMPACT_CARD_ROW_FILLER,
|
|
34
|
-
COMPACT_CARD_SKELETON_IMAGE_SLOT,
|
|
35
|
-
COMPACT_CARD_SKELETON_OUTER,
|
|
36
36
|
COMPACT_CARD_SUBTITLE,
|
|
37
37
|
COMPACT_CARD_SUMMARY,
|
|
38
38
|
COMPACT_CARD_TEXT_COL,
|
|
39
39
|
COMPACT_CARD_TITLE,
|
|
40
40
|
COMPACT_CARD_TITLE_ROW,
|
|
41
41
|
} from '../utils/compact-card-classes';
|
|
42
|
+
import { CompactCardSkeleton } from '../utils/compact-card-skeleton';
|
|
42
43
|
import { CONTENT_CARD_FRAME_CLASS, CONTENT_CARD_SKELETON_FRAME_CLASS } from './content-card-frame';
|
|
43
|
-
import { EntityPortraitCard } from './entity-portrait-card';
|
|
44
|
+
import { EntityPortraitCard, EntityPortraitCardSkeleton } from './entity-portrait-card';
|
|
44
45
|
import { useCoverImageFallback } from './use-cover-image-fallback';
|
|
45
46
|
import { useEntityCardLink } from './use-entity-card-link';
|
|
46
47
|
import { useEntityCardPlaceholder } from './use-entity-card-placeholder';
|
|
@@ -72,37 +73,65 @@ export interface BlogCardProps {
|
|
|
72
73
|
priority?: boolean;
|
|
73
74
|
}
|
|
74
75
|
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
76
|
+
// The default card's boxes, read by the card AND its skeleton, so the two are one size at every width.
|
|
77
|
+
const BLOG_CARD_FRAME = 'flex h-full flex-col';
|
|
78
|
+
const BLOG_CARD_COVER = `relative ${MEDIA_ASPECT.og} w-full overflow-hidden`;
|
|
79
|
+
const BLOG_CARD_BODY = 'flex flex-grow flex-col p-4';
|
|
80
|
+
/** The title row keeps two lines of `text-h3` whatever the title's length. */
|
|
81
|
+
const BLOG_CARD_TITLE_ROW = `mb-3 flex items-center text-h3 ${TEXT_LINES_MIN[2]}`;
|
|
82
|
+
/** The summary row keeps two lines of `text-h6`. */
|
|
83
|
+
const BLOG_CARD_SUMMARY_ROW = `mb-3 flex items-center text-h6 ${TEXT_LINES_MIN[2]}`;
|
|
84
|
+
const BLOG_CARD_BYLINE = 'mt-auto flex items-center justify-between gap-2 text-ods-text-secondary text-h6';
|
|
85
|
+
const BLOG_CARD_BYLINE_PERSON = 'flex min-w-0 items-center gap-2';
|
|
86
|
+
const BLOG_CARD_VIEWS = 'flex shrink-0 items-center gap-1';
|
|
87
|
+
/** The byline avatar's box (32px, the photo cropped to it): an author photo of any shape takes exactly this box, and
|
|
88
|
+
* the skeleton draws the same box. */
|
|
89
|
+
const BLOG_CARD_AVATAR = `${AVATAR_SIZE.sm} shrink-0 rounded-full object-cover`;
|
|
90
|
+
/** The content-type chip a portrait blog card shows (a static label). */
|
|
91
|
+
const BLOG_POST_TYPE_LABEL = 'Blog Post';
|
|
92
|
+
|
|
93
|
+
/**
|
|
94
|
+
* A blog card while it is read, one per density. `default`: the card's own rows (cover; the title as two `text-h3`
|
|
95
|
+
* lines; the summary as two `text-h6` lines; the byline's 32px avatar and `text-h6` line; the view count's icon is
|
|
96
|
+
* drawn for real beside its bar). `portrait`: the shared portrait skeleton with the static chip.
|
|
97
|
+
*/
|
|
98
|
+
export function BlogCardSkeleton({
|
|
99
|
+
size = 'default',
|
|
100
|
+
showTypeBadge = true,
|
|
101
|
+
className,
|
|
102
|
+
}: {
|
|
103
|
+
size?: 'default' | 'sm' | 'portrait';
|
|
104
|
+
/** `portrait`: the card shows the "Blog Post" chip. */
|
|
105
|
+
showTypeBadge?: boolean;
|
|
106
|
+
className?: string;
|
|
107
|
+
}) {
|
|
108
|
+
if (size === 'portrait') {
|
|
78
109
|
return (
|
|
79
|
-
<
|
|
80
|
-
<UnifiedSkeleton as="span" className={COMPACT_CARD_SKELETON_IMAGE_SLOT} />
|
|
81
|
-
<span className={COMPACT_CARD_TEXT_COL}>
|
|
82
|
-
<span className={COMPACT_CARD_TITLE_ROW}>
|
|
83
|
-
<UnifiedSkeleton as="span" className="h-3.5 w-3/5 rounded" />
|
|
84
|
-
</span>
|
|
85
|
-
<span className={COMPACT_CARD_META_ROW_BOX}>
|
|
86
|
-
<UnifiedSkeleton as="span" className="h-3 w-2/5 rounded" />
|
|
87
|
-
</span>
|
|
88
|
-
<span className={COMPACT_CARD_META_ROW_BOX}>
|
|
89
|
-
<UnifiedSkeleton as="span" className="h-3 w-11/12 rounded" />
|
|
90
|
-
</span>
|
|
91
|
-
</span>
|
|
92
|
-
</span>
|
|
110
|
+
<EntityPortraitCardSkeleton typeLabel={showTypeBadge ? BLOG_POST_TYPE_LABEL : undefined} className={className} />
|
|
93
111
|
);
|
|
94
112
|
}
|
|
113
|
+
if (size === 'sm') {
|
|
114
|
+
return <CompactCardSkeleton className={className} />;
|
|
115
|
+
}
|
|
95
116
|
return (
|
|
96
|
-
<article className={cn(CONTENT_CARD_SKELETON_FRAME_CLASS,
|
|
97
|
-
<UnifiedSkeleton className=
|
|
98
|
-
<div className=
|
|
99
|
-
<
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
<
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
117
|
+
<article className={cn(CONTENT_CARD_SKELETON_FRAME_CLASS, BLOG_CARD_FRAME, className)} aria-hidden>
|
|
118
|
+
<UnifiedSkeleton className={cn(BLOG_CARD_COVER, 'rounded-none')} />
|
|
119
|
+
<div className={BLOG_CARD_BODY}>
|
|
120
|
+
<div className={BLOG_CARD_TITLE_ROW}>
|
|
121
|
+
<TextLineSkeleton type="h3" lines={2} className="w-full" />
|
|
122
|
+
</div>
|
|
123
|
+
<div className={BLOG_CARD_SUMMARY_ROW}>
|
|
124
|
+
<TextLineSkeleton type="h6" lines={2} className="w-full" />
|
|
125
|
+
</div>
|
|
126
|
+
<div className={BLOG_CARD_BYLINE}>
|
|
127
|
+
<div className={BLOG_CARD_BYLINE_PERSON}>
|
|
128
|
+
<MediaSkeleton.Avatar size="sm" className={BLOG_CARD_AVATAR} />
|
|
129
|
+
<TextLineSkeleton type="h6" className="w-40" />
|
|
130
|
+
</div>
|
|
131
|
+
<div className={BLOG_CARD_VIEWS}>
|
|
132
|
+
<Eye className="h-4 w-4 shrink-0" />
|
|
133
|
+
<TextLineSkeleton type="h6" className="w-8" />
|
|
134
|
+
</div>
|
|
106
135
|
</div>
|
|
107
136
|
</div>
|
|
108
137
|
</article>
|
|
@@ -135,6 +164,7 @@ export function BlogCard({
|
|
|
135
164
|
});
|
|
136
165
|
// Shared cover → placeholder → hide chain (ONE fallback logic for all cards).
|
|
137
166
|
const { src: displayImage, onError: onImageError } = useCoverImageFallback(post.featured_image, placeholderUrl);
|
|
167
|
+
if (useLoadingScope()) return <BlogCardSkeleton size={size} showTypeBadge={showTypeBadge} className={className} />;
|
|
138
168
|
|
|
139
169
|
if (size === 'sm') {
|
|
140
170
|
const dateStr = post.published_at ? formatDateWithTimezone(post.published_at, null, 'medium') : '';
|
|
@@ -186,7 +216,7 @@ export function BlogCard({
|
|
|
186
216
|
href={href}
|
|
187
217
|
target={target}
|
|
188
218
|
rel={rel}
|
|
189
|
-
typeLabel={showTypeBadge ?
|
|
219
|
+
typeLabel={showTypeBadge ? BLOG_POST_TYPE_LABEL : undefined}
|
|
190
220
|
imageUrl={post.featured_image}
|
|
191
221
|
placeholderUrl={placeholderUrl}
|
|
192
222
|
imageAlt={post.title}
|
|
@@ -204,9 +234,9 @@ export function BlogCard({
|
|
|
204
234
|
// Default: full vertical card.
|
|
205
235
|
const dateStr = post.published_at ? formatDateWithTimezone(post.published_at, null, 'medium') : '';
|
|
206
236
|
return (
|
|
207
|
-
<article className={cn(CONTENT_CARD_FRAME_CLASS,
|
|
237
|
+
<article className={cn(CONTENT_CARD_FRAME_CLASS, BLOG_CARD_FRAME, className)} role="article">
|
|
208
238
|
<Link href={href} target={target} rel={rel} className="flex h-full flex-col focus:outline-none">
|
|
209
|
-
<div className=
|
|
239
|
+
<div className={cn(BLOG_CARD_COVER, 'bg-ods-bg')}>
|
|
210
240
|
{displayImage ? (
|
|
211
241
|
<Image
|
|
212
242
|
src={displayImage}
|
|
@@ -222,8 +252,8 @@ export function BlogCard({
|
|
|
222
252
|
) : null}
|
|
223
253
|
</div>
|
|
224
254
|
|
|
225
|
-
<div className=
|
|
226
|
-
<div className=
|
|
255
|
+
<div className={BLOG_CARD_BODY}>
|
|
256
|
+
<div className={BLOG_CARD_TITLE_ROW}>
|
|
227
257
|
<h3
|
|
228
258
|
className={cn(
|
|
229
259
|
'text-ods-text-primary text-h3',
|
|
@@ -236,19 +266,19 @@ export function BlogCard({
|
|
|
236
266
|
</h3>
|
|
237
267
|
</div>
|
|
238
268
|
|
|
239
|
-
<div className=
|
|
269
|
+
<div className={BLOG_CARD_SUMMARY_ROW}>
|
|
240
270
|
<p className={cn('text-ods-text-primary text-h6', 'line-clamp-2')}>{post.summary || ''}</p>
|
|
241
271
|
</div>
|
|
242
272
|
|
|
243
|
-
<div className=
|
|
244
|
-
<div className=
|
|
273
|
+
<div className={BLOG_CARD_BYLINE}>
|
|
274
|
+
<div className={BLOG_CARD_BYLINE_PERSON}>
|
|
245
275
|
{post.author_avatar ? (
|
|
246
276
|
<Image
|
|
247
277
|
src={post.author_avatar}
|
|
248
278
|
alt={post.author_name || ''}
|
|
249
279
|
width={32}
|
|
250
280
|
height={32}
|
|
251
|
-
className=
|
|
281
|
+
className={BLOG_CARD_AVATAR}
|
|
252
282
|
unoptimized
|
|
253
283
|
/>
|
|
254
284
|
) : null}
|
|
@@ -258,7 +288,7 @@ export function BlogCard({
|
|
|
258
288
|
</span>
|
|
259
289
|
</div>
|
|
260
290
|
<div
|
|
261
|
-
className=
|
|
291
|
+
className={BLOG_CARD_VIEWS}
|
|
262
292
|
aria-label={`View count: ${(post.view_count ?? 0).toLocaleString('en-US')} views`}
|
|
263
293
|
>
|
|
264
294
|
<Eye className="h-4 w-4 shrink-0" />
|
|
@@ -13,21 +13,20 @@ import { Megaphone } from 'lucide-react';
|
|
|
13
13
|
import type React from 'react';
|
|
14
14
|
import Link from '../../../embed-shims/next-link';
|
|
15
15
|
import { formatDateShort } from '../../../utils/date-formatters';
|
|
16
|
-
import {
|
|
16
|
+
import { useLoadingScope } from '../../ui/loading-scope';
|
|
17
17
|
import {
|
|
18
18
|
COMPACT_CARD_ICON_SLOT,
|
|
19
19
|
COMPACT_CARD_META_ROW_BOX,
|
|
20
20
|
COMPACT_CARD_OUTER,
|
|
21
21
|
COMPACT_CARD_OUTER_STATIC,
|
|
22
22
|
COMPACT_CARD_ROW_FILLER,
|
|
23
|
-
COMPACT_CARD_SKELETON_IMAGE_SLOT,
|
|
24
|
-
COMPACT_CARD_SKELETON_OUTER,
|
|
25
23
|
COMPACT_CARD_SUBTITLE,
|
|
26
24
|
COMPACT_CARD_SUMMARY,
|
|
27
25
|
COMPACT_CARD_TEXT_COL,
|
|
28
26
|
COMPACT_CARD_TITLE,
|
|
29
27
|
COMPACT_CARD_TITLE_ROW,
|
|
30
28
|
} from '../utils/compact-card-classes';
|
|
29
|
+
import { CompactCardSkeleton } from '../utils/compact-card-skeleton';
|
|
31
30
|
|
|
32
31
|
/** Minimal campaign shape needed by the chat-inline compact card. */
|
|
33
32
|
export interface CampaignCardItem {
|
|
@@ -52,6 +51,7 @@ export interface CampaignCardAdminProps {
|
|
|
52
51
|
}
|
|
53
52
|
|
|
54
53
|
export function CampaignCardAdmin({ campaign, className, anchorProps }: CampaignCardAdminProps) {
|
|
54
|
+
if (useLoadingScope()) return <CampaignCardAdminSkeleton className={className} />;
|
|
55
55
|
const goalsCount = campaign.goals?.length || 0;
|
|
56
56
|
|
|
57
57
|
const innerChildren = (
|
|
@@ -96,19 +96,6 @@ export function CampaignCardAdmin({ campaign, className, anchorProps }: Campaign
|
|
|
96
96
|
|
|
97
97
|
export function CampaignCardAdminSkeleton({ className }: { className?: string }) {
|
|
98
98
|
return (
|
|
99
|
-
<
|
|
100
|
-
<UnifiedSkeleton as="span" className={COMPACT_CARD_SKELETON_IMAGE_SLOT} />
|
|
101
|
-
<span className={COMPACT_CARD_TEXT_COL}>
|
|
102
|
-
<span className={COMPACT_CARD_TITLE_ROW}>
|
|
103
|
-
<UnifiedSkeleton as="span" className="h-3.5 w-3/5 rounded" />
|
|
104
|
-
</span>
|
|
105
|
-
<span className={COMPACT_CARD_META_ROW_BOX}>
|
|
106
|
-
<UnifiedSkeleton as="span" className="h-3 w-1/2 rounded" />
|
|
107
|
-
</span>
|
|
108
|
-
<span className={COMPACT_CARD_META_ROW_BOX}>
|
|
109
|
-
<UnifiedSkeleton as="span" className="h-3 w-11/12 rounded" />
|
|
110
|
-
</span>
|
|
111
|
-
</span>
|
|
112
|
-
</span>
|
|
99
|
+
<CompactCardSkeleton rows={[{ width: 'w-1/2' }, { width: 'w-11/12' }]} className={className} />
|
|
113
100
|
);
|
|
114
101
|
}
|