@flamingo-stack/openframe-frontend-core 0.0.748 → 0.0.750
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/{chunk-7Y3VMMJB.cjs → chunk-2J2OBP4N.cjs} +26 -18
- package/dist/chunk-2YXOD2KL.cjs +137 -0
- package/dist/{chunk-BEC43GHL.cjs → chunk-34TWK3JE.cjs} +3 -3
- package/dist/{chunk-BBM2ICOY.cjs → chunk-3TELPOVH.cjs} +2 -2
- package/dist/{chunk-G2ELX3DG.cjs → chunk-45YRDD7W.cjs} +22 -19
- package/dist/{chunk-4AZHFLOM.cjs → chunk-4O2KYY4K.cjs} +3 -3
- package/dist/{chunk-6XP6RNFD.cjs → chunk-6KEJQR6L.cjs} +1875 -2116
- package/dist/{chunk-JNBOQ7F2.cjs → chunk-7RCTOWBA.cjs} +24 -24
- package/dist/{chunk-U6XWGK53.cjs → chunk-ALPRQ3ZX.cjs} +56 -46
- package/dist/{chunk-TRXCQADV.cjs → chunk-AW6GP3JK.cjs} +103 -98
- package/dist/{chunk-GE4PCDNZ.cjs → chunk-BO6ZOAPB.cjs} +12 -12
- package/dist/{chunk-HNLI4OU5.cjs → chunk-C6LPOYDM.cjs} +24 -24
- package/dist/{chunk-4MGZYY6U.cjs → chunk-CLAJIQ7E.cjs} +26 -18
- package/dist/{chunk-EH3LOWGY.cjs → chunk-CNUZLOVA.cjs} +48 -40
- package/dist/{chunk-QPSQ5WLG.cjs → chunk-DGEB5GUZ.cjs} +2 -2
- package/dist/{chunk-OZUJYBQ2.cjs → chunk-E3KFEOFA.cjs} +9 -6
- package/dist/{chunk-PSSGIZXZ.cjs → chunk-FHT7SMA7.cjs} +49 -46
- package/dist/{chunk-JOPFX3PJ.cjs → chunk-FP6HAJQV.cjs} +137 -122
- package/dist/{chunk-YKJQM2O6.cjs → chunk-GVETSV7H.cjs} +56 -53
- package/dist/{chunk-UNR74CAC.cjs → chunk-HOEVD6EN.cjs} +4 -4
- package/dist/{chunk-H34A2765.cjs → chunk-JPUTILTV.cjs} +104 -118
- package/dist/{chunk-46EIXJFC.cjs → chunk-KVSEWACW.cjs} +44 -27
- package/dist/{chunk-AKTPO2DN.cjs → chunk-L4UI63K6.cjs} +2 -2
- package/dist/{chunk-PSIKUDUV.cjs → chunk-LVO7FALW.cjs} +5 -5
- package/dist/{chunk-L2RMTGOK.cjs → chunk-MGF3FUKD.cjs} +7 -7
- package/dist/{chunk-P7KTAXXE.cjs → chunk-OFO75R2O.cjs} +169 -175
- package/dist/{chunk-B27QEHYR.cjs → chunk-P6F6PHVK.cjs} +9 -9
- package/dist/chunk-RB6BSE3O.cjs +21 -0
- package/dist/chunk-UGCRLRCT.cjs +25 -0
- package/dist/{chunk-BBTSJYTR.cjs → chunk-V3UJ6NDR.cjs} +243 -429
- package/dist/{chunk-ZNUSYMH7.cjs → chunk-WZX26ODJ.cjs} +121 -121
- package/dist/{chunk-YIRX6C7V.cjs → chunk-XJ3J4UIS.cjs} +57 -22
- package/dist/{chunk-D4XZL27V.cjs → chunk-YL62VAHC.cjs} +6 -6
- package/dist/{cloud-tenants-V5727B7F.cjs → cloud-tenants-E4JSG3GH.cjs} +16 -14
- package/dist/components/case-studies/index.cjs +29 -27
- package/dist/components/categories-cart.d.ts.map +1 -1
- package/dist/components/categories-cart.js +2 -7
- package/dist/components/chat/chat-container.js +4 -4
- package/dist/components/chat/chat-context-picker.d.ts.map +1 -1
- package/dist/components/chat/chat-context-picker.js +2 -1
- package/dist/components/chat/chat-message-row.d.ts.map +1 -1
- package/dist/components/chat/chat-message-row.js +6 -5
- package/dist/components/chat/chat-message-skeleton.d.ts +3 -1
- package/dist/components/chat/chat-message-skeleton.d.ts.map +1 -1
- package/dist/components/chat/chat-message-skeleton.js +8 -5
- package/dist/components/chat/chat-sidebar-skeleton.d.ts.map +1 -1
- package/dist/components/chat/chat-sidebar-skeleton.js +4 -3
- package/dist/components/chat/chat-top-navigation.js +4 -4
- package/dist/components/chat/context-items-list.d.ts.map +1 -1
- package/dist/components/chat/context-items-list.js +5 -3
- package/dist/components/chat/entity-cards/admin-content-card-grid.d.ts +24 -1
- 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 +46 -15
- package/dist/components/chat/entity-cards/admin-content-card.d.ts.map +1 -1
- package/dist/components/chat/entity-cards/admin-content-card.js +2 -1
- package/dist/components/chat/entity-cards/blog-card.d.ts.map +1 -1
- package/dist/components/chat/entity-cards/blog-card.js +13 -12
- package/dist/components/chat/entity-cards/campaign-card-admin.d.ts.map +1 -1
- package/dist/components/chat/entity-cards/campaign-card-admin.js +5 -4
- package/dist/components/chat/entity-cards/case-study-card.d.ts.map +1 -1
- package/dist/components/chat/entity-cards/case-study-card.js +19 -18
- package/dist/components/chat/entity-cards/chat-ticket-item.js +5 -5
- package/dist/components/chat/entity-cards/customer-interview-card.d.ts.map +1 -1
- package/dist/components/chat/entity-cards/customer-interview-card.js +15 -14
- 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 +7 -6
- package/dist/components/chat/entity-cards/design-doc-card.d.ts.map +1 -1
- package/dist/components/chat/entity-cards/design-doc-card.js +0 -2
- package/dist/components/chat/entity-cards/generic-entity-card.d.ts.map +1 -1
- package/dist/components/chat/entity-cards/generic-entity-card.js +8 -7
- package/dist/components/chat/entity-cards/github-activity-card.d.ts.map +1 -1
- package/dist/components/chat/entity-cards/github-activity-card.js +11 -10
- package/dist/components/chat/entity-cards/hubspot-ticket-card.d.ts.map +1 -1
- package/dist/components/chat/entity-cards/hubspot-ticket-card.js +16 -15
- package/dist/components/chat/entity-cards/index.d.ts +1 -1
- package/dist/components/chat/entity-cards/index.d.ts.map +1 -1
- package/dist/components/chat/entity-cards/index.js +2 -0
- package/dist/components/chat/entity-cards/investor-update-card.d.ts.map +1 -1
- package/dist/components/chat/entity-cards/investor-update-card.js +12 -11
- package/dist/components/chat/entity-cards/onboarding-guide-card.d.ts.map +1 -1
- package/dist/components/chat/entity-cards/onboarding-guide-card.js +25 -30
- package/dist/components/chat/entity-cards/program-card.d.ts.map +1 -1
- package/dist/components/chat/entity-cards/program-card.js +29 -28
- package/dist/components/chat/entity-cards/roadmap-card.d.ts.map +1 -1
- package/dist/components/chat/entity-cards/roadmap-card.js +37 -39
- package/dist/components/chat/entity-cards/slack-message-card.d.ts.map +1 -1
- package/dist/components/chat/entity-cards/slack-message-card.js +12 -11
- package/dist/components/chat/guide-welcome.js +2 -2
- package/dist/components/chat/index.cjs +13 -9
- package/dist/components/chat/mingo-archive-list.d.ts.map +1 -1
- package/dist/components/chat/mingo-archive-list.js +2 -1
- package/dist/components/chat/mingo-chat-history.d.ts +4 -2
- package/dist/components/chat/mingo-chat-history.d.ts.map +1 -1
- package/dist/components/chat/mingo-chat-history.js +11 -5
- package/dist/components/chat/mingo-chat-rail.d.ts.map +1 -1
- package/dist/components/chat/mingo-chat-rail.js +2 -1
- package/dist/components/chat/mingo-info-card.d.ts.map +1 -1
- package/dist/components/chat/mingo-info-card.js +6 -5
- package/dist/components/chat/mingo-onboarding-card-skeleton.d.ts +3 -1
- package/dist/components/chat/mingo-onboarding-card-skeleton.d.ts.map +1 -1
- package/dist/components/chat/mingo-onboarding-card-skeleton.js +12 -12
- package/dist/components/chat/model-display.js +4 -4
- package/dist/components/chat/msp-organization-card-skeleton.js +5 -5
- package/dist/components/chat/quick-action-chip.d.ts +3 -3
- package/dist/components/chat/quick-action-chip.d.ts.map +1 -1
- package/dist/components/chat/quick-action-chip.js +12 -6
- package/dist/components/chat/utils/compact-card-classes.d.ts +4 -4
- package/dist/components/chat/utils/compact-card-classes.d.ts.map +1 -1
- package/dist/components/chat/utils/compact-card-classes.js +2 -2
- package/dist/components/contact/index.cjs +17 -15
- package/dist/components/content-loading-container.d.ts +1 -1
- package/dist/components/content-loading-container.d.ts.map +1 -1
- package/dist/components/content-loading-container.js +6 -7
- package/dist/components/docs/doc-viewer.d.ts.map +1 -1
- package/dist/components/docs/doc-viewer.js +3 -2
- package/dist/components/docs/index.cjs +20 -18
- package/dist/components/docs/skeletons.d.ts +7 -8
- package/dist/components/docs/skeletons.d.ts.map +1 -1
- package/dist/components/docs/skeletons.js +62 -61
- package/dist/components/embeds/embed-iframe.d.ts +6 -6
- package/dist/components/embeds/embed-iframe.d.ts.map +1 -1
- package/dist/components/embeds/embed-iframe.js +9 -4
- package/dist/components/embeds/index.cjs +19 -15
- package/dist/components/embeds/index.d.ts +2 -2
- package/dist/components/embeds/index.d.ts.map +1 -1
- package/dist/components/embeds/index.js +2 -1
- package/dist/components/embeds/linkedin-embed-client.d.ts.map +1 -1
- package/dist/components/embeds/linkedin-embed-client.js +7 -6
- package/dist/components/embeds/markdown-image.d.ts.map +1 -1
- package/dist/components/embeds/markdown-image.js +5 -3
- package/dist/components/embeds/og-link-preview.d.ts +19 -18
- package/dist/components/embeds/og-link-preview.d.ts.map +1 -1
- package/dist/components/embeds/og-link-preview.js +143 -88
- package/dist/components/embeds/reddit-embed-client.d.ts.map +1 -1
- package/dist/components/embeds/reddit-embed-client.js +10 -9
- package/dist/components/embeds/twitter-embed-client.d.ts.map +1 -1
- package/dist/components/embeds/twitter-embed-client.js +10 -9
- package/dist/components/faq/faq-section.d.ts.map +1 -1
- package/dist/components/faq/faq-section.js +9 -5
- package/dist/components/faq/index.cjs +18 -16
- package/dist/components/features/auth/login-form.d.ts +34 -21
- package/dist/components/features/auth/login-form.d.ts.map +1 -1
- package/dist/components/features/auth/login-form.js +77 -39
- package/dist/components/features/auth/sso-providers.d.ts +7 -1
- package/dist/components/features/auth/sso-providers.d.ts.map +1 -1
- package/dist/components/features/auth/sso-providers.js +22 -4
- package/dist/components/features/board/ticket-card-skeleton.js +8 -8
- package/dist/components/features/capability-explorer.d.ts +3 -1
- package/dist/components/features/capability-explorer.d.ts.map +1 -1
- package/dist/components/features/capability-explorer.js +27 -24
- package/dist/components/features/devices/device-selector/device-selector-skeleton.d.ts +5 -2
- package/dist/components/features/devices/device-selector/device-selector-skeleton.d.ts.map +1 -1
- package/dist/components/features/devices/device-selector/device-selector-skeleton.js +2 -2
- package/dist/components/features/devices/device-selector/device-selector.d.ts +1 -1
- package/dist/components/features/devices/device-selector/device-selector.d.ts.map +1 -1
- package/dist/components/features/devices/device-selector/device-selector.js +2 -0
- package/dist/components/features/devices/device-selector/device-selector.types.d.ts +2 -0
- package/dist/components/features/devices/device-selector/device-selector.types.d.ts.map +1 -1
- package/dist/components/features/devices/devices-grid.d.ts +3 -1
- package/dist/components/features/devices/devices-grid.d.ts.map +1 -1
- package/dist/components/features/devices/devices-grid.js +3 -2
- package/dist/components/features/devices/devices-panel-view.d.ts +6 -1
- package/dist/components/features/devices/devices-panel-view.d.ts.map +1 -1
- package/dist/components/features/devices/devices-panel-view.js +4 -1
- package/dist/components/features/devices/devices-table-columns.d.ts +3 -1
- package/dist/components/features/devices/devices-table-columns.d.ts.map +1 -1
- package/dist/components/features/devices/devices-table-columns.js +2 -0
- package/dist/components/features/index.cjs +18 -14
- package/dist/components/features/logs/logs-table-view.d.ts +3 -1
- package/dist/components/features/logs/logs-table-view.d.ts.map +1 -1
- package/dist/components/features/logs/logs-table-view.js +2 -2
- package/dist/components/features/model-token-rates.d.ts +4 -1
- package/dist/components/features/model-token-rates.d.ts.map +1 -1
- package/dist/components/features/model-token-rates.js +18 -23
- package/dist/components/features/notifications/index.d.ts +2 -2
- package/dist/components/features/notifications/index.d.ts.map +1 -1
- package/dist/components/features/notifications/index.js +2 -1
- package/dist/components/features/notifications/notification-drawer.d.ts.map +1 -1
- package/dist/components/features/notifications/notification-drawer.js +9 -16
- package/dist/components/features/notifications/notification-tile.d.ts +14 -0
- package/dist/components/features/notifications/notification-tile.d.ts.map +1 -1
- package/dist/components/features/notifications/notification-tile.js +36 -1
- package/dist/components/features/policies/policy-summary-cards.js +2 -2
- package/dist/components/features/push-button-selector.d.ts.map +1 -1
- package/dist/components/features/push-button-selector.js +12 -7
- package/dist/components/features/remote-session/remote-desktop-view.d.ts +4 -1
- package/dist/components/features/remote-session/remote-desktop-view.d.ts.map +1 -1
- package/dist/components/features/remote-session/remote-desktop-view.js +14 -10
- package/dist/components/features/waitlist-form.d.ts.map +1 -1
- package/dist/components/features/waitlist-form.js +6 -5
- package/dist/components/help-center-pages/download-apps-page.d.ts.map +1 -1
- package/dist/components/help-center-pages/download-apps-page.js +2 -1
- package/dist/components/help-center-pages/index.cjs +127 -119
- package/dist/components/help-center-pages/trust-center-page.d.ts +4 -1
- package/dist/components/help-center-pages/trust-center-page.d.ts.map +1 -1
- package/dist/components/help-center-pages/trust-center-page.js +3 -2
- package/dist/components/help-center-pages/trust-center-sections.d.ts +4 -1
- package/dist/components/help-center-pages/trust-center-sections.d.ts.map +1 -1
- package/dist/components/help-center-pages/trust-center-sections.js +5 -2
- package/dist/components/index.cjs +70 -112
- package/dist/components/index.d.ts +0 -2
- package/dist/components/index.d.ts.map +1 -1
- package/dist/components/index.js +0 -2
- package/dist/components/layout/title-block.d.ts.map +1 -1
- package/dist/components/layout/title-block.js +18 -11
- package/dist/components/loading/card-skeleton.d.ts +6 -3
- package/dist/components/loading/card-skeleton.d.ts.map +1 -1
- package/dist/components/loading/card-skeleton.js +7 -27
- package/dist/components/loading/category-card-skeleton.d.ts.map +1 -1
- package/dist/components/loading/category-card-skeleton.js +2 -4
- package/dist/components/loading/category-vendor-selector-skeleton.d.ts +3 -1
- package/dist/components/loading/category-vendor-selector-skeleton.d.ts.map +1 -1
- package/dist/components/loading/category-vendor-selector-skeleton.js +9 -4
- package/dist/components/loading/device-card-skeleton.d.ts +18 -9
- package/dist/components/loading/device-card-skeleton.d.ts.map +1 -1
- package/dist/components/loading/device-card-skeleton.js +30 -21
- package/dist/components/loading/index.d.ts +3 -4
- package/dist/components/loading/index.d.ts.map +1 -1
- package/dist/components/loading/index.js +6 -29
- package/dist/components/loading/loading-region.d.ts +33 -0
- package/dist/components/loading/loading-region.d.ts.map +1 -0
- package/dist/components/loading/loading-region.js +22 -0
- package/dist/components/loading/margin-report-skeleton.d.ts +3 -1
- package/dist/components/loading/margin-report-skeleton.d.ts.map +1 -1
- package/dist/components/loading/margin-report-skeleton.js +70 -61
- package/dist/components/loading/msp-profile-form-skeleton.d.ts +3 -1
- package/dist/components/loading/msp-profile-form-skeleton.d.ts.map +1 -1
- package/dist/components/loading/msp-profile-form-skeleton.js +6 -5
- package/dist/components/loading/organization-card-skeleton.d.ts +3 -1
- package/dist/components/loading/organization-card-skeleton.d.ts.map +1 -1
- package/dist/components/loading/organization-card-skeleton.js +5 -5
- package/dist/components/loading/organization-icon-skeleton.d.ts.map +1 -1
- package/dist/components/loading/organization-icon-skeleton.js +2 -1
- package/dist/components/loading/page-layout-skeleton.d.ts +21 -6
- package/dist/components/loading/page-layout-skeleton.d.ts.map +1 -1
- package/dist/components/loading/page-layout-skeleton.js +283 -266
- package/dist/components/loading/settings-form-skeleton.d.ts +17 -0
- package/dist/components/loading/settings-form-skeleton.d.ts.map +1 -0
- package/dist/components/loading/settings-form-skeleton.js +42 -0
- package/dist/components/loading/unified-skeleton.d.ts +11 -4
- package/dist/components/loading/unified-skeleton.d.ts.map +1 -1
- package/dist/components/loading/unified-skeleton.js +14 -89
- package/dist/components/loading/wizard-layout-skeleton.d.ts +3 -1
- package/dist/components/loading/wizard-layout-skeleton.d.ts.map +1 -1
- package/dist/components/loading/wizard-layout-skeleton.js +3 -2
- package/dist/components/media-carousel.d.ts.map +1 -1
- package/dist/components/media-carousel.js +2 -1
- package/dist/components/meeting-scheduler/booking-form.d.ts.map +1 -1
- package/dist/components/meeting-scheduler/booking-form.js +14 -8
- package/dist/components/meeting-scheduler/context-panel.d.ts.map +1 -1
- package/dist/components/meeting-scheduler/context-panel.js +8 -7
- package/dist/components/meeting-scheduler/directory.d.ts.map +1 -1
- package/dist/components/meeting-scheduler/directory.js +10 -9
- package/dist/components/meeting-scheduler/index.cjs +85 -75
- package/dist/components/meeting-scheduler/index.d.ts.map +1 -1
- package/dist/components/meeting-scheduler/index.js +3 -2
- package/dist/components/meeting-scheduler/modal-header.d.ts.map +1 -1
- package/dist/components/meeting-scheduler/modal-header.js +8 -7
- package/dist/components/meeting-scheduler/slot-picker.d.ts.map +1 -1
- package/dist/components/meeting-scheduler/slot-picker.js +4 -3
- package/dist/components/navigation/app-header.d.ts.map +1 -1
- package/dist/components/navigation/app-header.js +8 -7
- package/dist/components/navigation/index.cjs +19 -17
- package/dist/components/navigation/multi-level-navigation.d.ts.map +1 -1
- package/dist/components/navigation/multi-level-navigation.js +3 -2
- package/dist/components/navigation/navigation-sidebar-item.d.ts.map +1 -1
- package/dist/components/navigation/navigation-sidebar-item.js +3 -2
- package/dist/components/onboarding-guides/index.cjs +19 -17
- package/dist/components/onboarding-guides/onboarding-guides-catalog-skeleton.d.ts +4 -1
- package/dist/components/onboarding-guides/onboarding-guides-catalog-skeleton.d.ts.map +1 -1
- package/dist/components/onboarding-guides/onboarding-guides-catalog-skeleton.js +12 -8
- package/dist/components/product-demo/index.cjs +16 -15
- package/dist/components/product-demo/product-screen.d.ts.map +1 -1
- package/dist/components/product-demo/product-screen.js +4 -4
- package/dist/components/profile/ProfileLoadingSkeleton.d.ts +3 -1
- package/dist/components/profile/ProfileLoadingSkeleton.d.ts.map +1 -1
- package/dist/components/profile/ProfileLoadingSkeleton.js +10 -8
- package/dist/components/related-content/index.cjs +7 -5
- package/dist/components/related-content/related-content-section.d.ts.map +1 -1
- package/dist/components/related-content/related-content-section.js +3 -2
- package/dist/components/shared/delivery/delivery-table.d.ts.map +1 -1
- package/dist/components/shared/delivery/delivery-table.js +8 -7
- package/dist/components/shared/detail-page-skeleton.d.ts +5 -1
- package/dist/components/shared/detail-page-skeleton.d.ts.map +1 -1
- package/dist/components/shared/detail-page-skeleton.js +18 -14
- package/dist/components/shared/dev-section/dev-card-row.d.ts +3 -1
- package/dist/components/shared/dev-section/dev-card-row.d.ts.map +1 -1
- package/dist/components/shared/dev-section/dev-card-row.js +22 -9
- package/dist/components/shared/legal-document/legal-document-page.d.ts.map +1 -1
- package/dist/components/shared/legal-document/legal-document-page.js +8 -7
- package/dist/components/shared/onboarding/onboarding-step-card.d.ts.map +1 -1
- package/dist/components/shared/onboarding/onboarding-step-card.js +3 -2
- package/dist/components/shared/onboarding/onboarding-walkthrough.d.ts.map +1 -1
- package/dist/components/shared/onboarding/onboarding-walkthrough.js +2 -1
- package/dist/components/shared/product-release/index.d.ts +0 -1
- package/dist/components/shared/product-release/index.d.ts.map +1 -1
- package/dist/components/shared/product-release/index.js +1 -3
- 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 +21 -20
- package/dist/components/shared/product-release/product-releases-view.d.ts.map +1 -1
- package/dist/components/shared/product-release/product-releases-view.js +2 -1
- package/dist/components/shared/roadmap/roadmap-grid-skeleton.d.ts +6 -13
- package/dist/components/shared/roadmap/roadmap-grid-skeleton.d.ts.map +1 -1
- package/dist/components/shared/roadmap/roadmap-grid-skeleton.js +13 -25
- package/dist/components/tickets/help-center-create-form.d.ts +4 -1
- package/dist/components/tickets/help-center-create-form.d.ts.map +1 -1
- package/dist/components/tickets/help-center-create-form.js +38 -26
- package/dist/components/tickets/index.cjs +22 -20
- package/dist/components/tickets/ticket-center.d.ts.map +1 -1
- package/dist/components/tickets/ticket-center.js +13 -10
- package/dist/components/tickets/ticket-detail-drawer.d.ts.map +1 -1
- package/dist/components/tickets/ticket-detail-drawer.js +2 -1
- package/dist/components/ui/admin-form-drawer.d.ts.map +1 -1
- package/dist/components/ui/admin-form-drawer.js +6 -8
- package/dist/components/ui/admin-form-modal.d.ts.map +1 -1
- package/dist/components/ui/admin-form-modal.js +12 -11
- package/dist/components/ui/analyzing-state.d.ts +1 -1
- package/dist/components/ui/analyzing-state.d.ts.map +1 -1
- package/dist/components/ui/analyzing-state.js +4 -10
- package/dist/components/ui/content-loader.d.ts +5 -1
- package/dist/components/ui/content-loader.d.ts.map +1 -1
- package/dist/components/ui/content-loader.js +27 -23
- package/dist/components/ui/dashboard-info-card.d.ts +17 -3
- package/dist/components/ui/dashboard-info-card.d.ts.map +1 -1
- package/dist/components/ui/dashboard-info-card.js +30 -10
- package/dist/components/ui/data-attribution.d.ts +6 -0
- package/dist/components/ui/data-attribution.d.ts.map +1 -1
- package/dist/components/ui/data-attribution.js +12 -1
- package/dist/components/ui/data-table/data-table-body.d.ts +6 -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 +3 -1
- package/dist/components/ui/data-table/data-table-infinite-footer.d.ts.map +1 -1
- package/dist/components/ui/data-table/data-table-infinite-footer.js +3 -1
- package/dist/components/ui/data-table/data-table-skeleton.d.ts.map +1 -1
- package/dist/components/ui/data-table/data-table-skeleton.js +7 -5
- package/dist/components/ui/feature-card.d.ts.map +1 -1
- package/dist/components/ui/feature-card.js +7 -9
- package/dist/components/ui/file-manager/file-manager-skeleton.d.ts +3 -1
- package/dist/components/ui/file-manager/file-manager-skeleton.d.ts.map +1 -1
- package/dist/components/ui/file-manager/file-manager-skeleton.js +27 -21
- package/dist/components/ui/file-manager/file-manager-table.js +10 -10
- package/dist/components/ui/file-manager/index.cjs +45 -36
- package/dist/components/ui/filter-modal.d.ts.map +1 -1
- package/dist/components/ui/filter-modal.js +5 -5
- package/dist/components/ui/filter-pill-row.d.ts +10 -0
- package/dist/components/ui/filter-pill-row.d.ts.map +1 -1
- package/dist/components/ui/filter-pill-row.js +8 -1
- package/dist/components/ui/index.cjs +19 -28
- package/dist/components/ui/index.d.ts +0 -1
- package/dist/components/ui/index.d.ts.map +1 -1
- package/dist/components/ui/index.js +0 -1
- package/dist/components/ui/layout-hold.d.ts +5 -4
- package/dist/components/ui/layout-hold.d.ts.map +1 -1
- package/dist/components/ui/layout-hold.js +20 -29
- package/dist/components/ui/markdown/base-components.js +1 -1
- package/dist/components/ui/page-actions.d.ts.map +1 -1
- package/dist/components/ui/page-actions.js +6 -8
- package/dist/components/ui/photo-wall.d.ts.map +1 -1
- package/dist/components/ui/photo-wall.js +11 -18
- package/dist/components/ui/query-report-table/query-report-table-skeleton.d.ts +1 -1
- package/dist/components/ui/query-report-table/query-report-table-skeleton.d.ts.map +1 -1
- package/dist/components/ui/query-report-table/query-report-table-skeleton.js +28 -18
- package/dist/components/ui/query-report-table/query-report-table.d.ts +1 -1
- package/dist/components/ui/query-report-table/query-report-table.d.ts.map +1 -1
- package/dist/components/ui/query-report-table/query-report-table.js +3 -1
- package/dist/components/ui/query-report-table/types.d.ts +4 -0
- package/dist/components/ui/query-report-table/types.d.ts.map +1 -1
- package/dist/components/ui/skeleton-surface.d.ts +7 -0
- package/dist/components/ui/skeleton-surface.d.ts.map +1 -0
- package/dist/components/ui/skeleton-surface.js +5 -0
- package/dist/components/ui/table/table-skeleton.d.ts.map +1 -1
- package/dist/components/ui/table/table-skeleton.js +11 -13
- package/dist/components/ui/test-run.d.ts +6 -4
- package/dist/components/ui/test-run.d.ts.map +1 -1
- package/dist/components/ui/test-run.js +9 -5
- package/dist/{devices-WWMXIIHI.cjs → devices-AVRQGB2N.cjs} +17 -15
- package/dist/{embeddable-chat-IJHCGQ24.cjs → embeddable-chat-SNYQSMS7.cjs} +79 -77
- package/dist/index.cjs +24 -31
- package/dist/{knowledge-JZP4RIXB.cjs → knowledge-S3CNISQH.cjs} +17 -15
- package/dist/{logs-WIRYFNUC.cjs → logs-WDLOKDXT.cjs} +24 -22
- package/dist/{policies-X7OJYA7G.cjs → policies-STML7NEZ.cjs} +20 -18
- package/dist/{remote-session-IYT4LWJC.cjs → remote-session-ZKP2W3IS.cjs} +9 -7
- package/dist/{scripts-GRMT2NGW.cjs → scripts-HO53VYGX.cjs} +23 -21
- package/dist/{software-update-G3QOB7RT.cjs → software-update-4VTK7LWQ.cjs} +20 -18
- package/dist/{tickets-board-4MT6ZB4F.cjs → tickets-board-BNW4AYFL.cjs} +11 -10
- package/package.json +1 -1
- package/src/components/categories-cart.tsx +2 -4
- package/src/components/chat/chat-container.tsx +4 -4
- package/src/components/chat/chat-context-picker.tsx +3 -2
- package/src/components/chat/chat-message-row.tsx +6 -7
- package/src/components/chat/chat-message-skeleton.tsx +11 -6
- package/src/components/chat/chat-sidebar-skeleton.tsx +4 -3
- package/src/components/chat/chat-top-navigation.tsx +4 -4
- package/src/components/chat/context-items-list.tsx +9 -3
- package/src/components/chat/entity-cards/admin-content-card-grid.tsx +65 -18
- package/src/components/chat/entity-cards/admin-content-card.tsx +2 -1
- package/src/components/chat/entity-cards/blog-card.tsx +13 -12
- package/src/components/chat/entity-cards/campaign-card-admin.tsx +5 -4
- package/src/components/chat/entity-cards/case-study-card.tsx +19 -18
- package/src/components/chat/entity-cards/chat-ticket-item.tsx +5 -5
- package/src/components/chat/entity-cards/customer-interview-card.tsx +15 -14
- package/src/components/chat/entity-cards/data-room-doc-card.tsx +7 -6
- package/src/components/chat/entity-cards/design-doc-card.tsx +0 -2
- package/src/components/chat/entity-cards/generic-entity-card.tsx +8 -7
- package/src/components/chat/entity-cards/github-activity-card.tsx +11 -10
- package/src/components/chat/entity-cards/hubspot-ticket-card.tsx +16 -15
- package/src/components/chat/entity-cards/index.ts +2 -0
- package/src/components/chat/entity-cards/investor-update-card.tsx +12 -11
- package/src/components/chat/entity-cards/onboarding-guide-card.tsx +21 -22
- package/src/components/chat/entity-cards/program-card.tsx +29 -28
- package/src/components/chat/entity-cards/roadmap-card.tsx +22 -23
- package/src/components/chat/entity-cards/slack-message-card.tsx +12 -11
- package/src/components/chat/guide-welcome.tsx +2 -2
- package/src/components/chat/mingo-archive-list.tsx +2 -1
- package/src/components/chat/mingo-chat-history.tsx +18 -9
- package/src/components/chat/mingo-chat-rail.tsx +2 -1
- package/src/components/chat/mingo-info-card.tsx +6 -5
- package/src/components/chat/mingo-onboarding-card-skeleton.tsx +15 -13
- package/src/components/chat/model-display.tsx +4 -4
- package/src/components/chat/msp-organization-card-skeleton.tsx +5 -5
- package/src/components/chat/quick-action-chip.tsx +17 -14
- package/src/components/chat/utils/compact-card-classes.ts +4 -5
- package/src/components/content-loading-container.tsx +7 -8
- package/src/components/docs/doc-viewer.tsx +3 -2
- package/src/components/docs/skeletons.tsx +64 -63
- package/src/components/embeds/embed-iframe.tsx +16 -9
- package/src/components/embeds/index.ts +2 -2
- package/src/components/embeds/linkedin-embed-client.tsx +7 -6
- package/src/components/embeds/markdown-image.tsx +5 -3
- package/src/components/embeds/og-link-preview.tsx +162 -79
- package/src/components/embeds/reddit-embed-client.tsx +10 -9
- package/src/components/embeds/twitter-embed-client.tsx +10 -9
- package/src/components/faq/faq-section.tsx +13 -6
- package/src/components/features/auth/login-form.tsx +121 -64
- package/src/components/features/auth/sso-providers.tsx +21 -0
- package/src/components/features/board/ticket-card-skeleton.tsx +8 -8
- package/src/components/features/capability-explorer.tsx +61 -30
- package/src/components/features/devices/device-selector/device-selector-skeleton.tsx +9 -3
- package/src/components/features/devices/device-selector/device-selector.tsx +2 -0
- package/src/components/features/devices/device-selector/device-selector.types.ts +2 -0
- package/src/components/features/devices/devices-grid.tsx +4 -1
- package/src/components/features/devices/devices-panel-view.tsx +9 -1
- package/src/components/features/devices/devices-table-columns.tsx +4 -0
- package/src/components/features/logs/logs-table-view.tsx +4 -2
- package/src/components/features/model-token-rates.tsx +27 -24
- package/src/components/features/notifications/index.ts +2 -2
- package/src/components/features/notifications/notification-drawer.tsx +7 -10
- package/src/components/features/notifications/notification-tile.tsx +57 -0
- package/src/components/features/policies/policy-summary-cards.tsx +2 -2
- package/src/components/features/push-button-selector.tsx +20 -11
- package/src/components/features/remote-session/remote-desktop-view.tsx +26 -16
- package/src/components/features/waitlist-form.tsx +6 -5
- package/src/components/help-center-pages/download-apps-page.tsx +3 -2
- package/src/components/help-center-pages/trust-center-page.tsx +6 -2
- package/src/components/help-center-pages/trust-center-sections.tsx +9 -3
- package/src/components/index.ts +0 -2
- package/src/components/layout/title-block.tsx +17 -15
- package/src/components/loading/card-skeleton.tsx +14 -46
- package/src/components/loading/category-card-skeleton.tsx +2 -4
- package/src/components/loading/category-vendor-selector-skeleton.tsx +12 -5
- package/src/components/loading/device-card-skeleton.tsx +58 -51
- package/src/components/loading/index.ts +5 -19
- package/src/components/loading/loading-region.tsx +60 -0
- package/src/components/loading/margin-report-skeleton.tsx +45 -34
- package/src/components/loading/msp-profile-form-skeleton.tsx +9 -6
- package/src/components/loading/organization-card-skeleton.tsx +8 -6
- package/src/components/loading/organization-icon-skeleton.tsx +3 -2
- package/src/components/loading/page-layout-skeleton.tsx +162 -133
- package/src/components/loading/settings-form-skeleton.tsx +52 -0
- package/src/components/loading/unified-skeleton.tsx +26 -71
- package/src/components/loading/wizard-layout-skeleton.tsx +6 -3
- package/src/components/media-carousel.tsx +2 -1
- package/src/components/meeting-scheduler/booking-form.tsx +10 -7
- package/src/components/meeting-scheduler/context-panel.tsx +8 -7
- package/src/components/meeting-scheduler/directory.tsx +10 -9
- package/src/components/meeting-scheduler/index.tsx +5 -4
- package/src/components/meeting-scheduler/modal-header.tsx +8 -7
- package/src/components/meeting-scheduler/slot-picker.tsx +4 -3
- package/src/components/navigation/app-header.tsx +8 -7
- package/src/components/navigation/multi-level-navigation.tsx +3 -2
- package/src/components/navigation/navigation-sidebar-item.tsx +3 -2
- package/src/components/onboarding-guides/onboarding-guides-catalog-skeleton.tsx +17 -10
- package/src/components/product-demo/product-screen.tsx +4 -4
- package/src/components/profile/ProfileLoadingSkeleton.tsx +13 -9
- package/src/components/related-content/related-content-section.tsx +5 -4
- package/src/components/shared/delivery/delivery-table.tsx +8 -7
- package/src/components/shared/detail-page-skeleton.tsx +22 -14
- package/src/components/shared/dev-section/dev-card-row.tsx +23 -10
- package/src/components/shared/legal-document/legal-document-page.tsx +8 -7
- package/src/components/shared/onboarding/onboarding-step-card.tsx +3 -2
- package/src/components/shared/onboarding/onboarding-walkthrough.tsx +2 -1
- package/src/components/shared/product-release/index.ts +0 -1
- package/src/components/shared/product-release/product-release-card-skeleton.tsx +23 -25
- package/src/components/shared/product-release/product-releases-view.tsx +3 -2
- package/src/components/shared/roadmap/roadmap-grid-skeleton.tsx +14 -56
- package/src/components/tickets/help-center-create-form.tsx +23 -12
- package/src/components/tickets/ticket-center.tsx +17 -11
- package/src/components/tickets/ticket-detail-drawer.tsx +3 -2
- package/src/components/ui/admin-form-drawer.tsx +7 -7
- package/src/components/ui/admin-form-modal.tsx +9 -8
- package/src/components/ui/analyzing-state.tsx +5 -8
- package/src/components/ui/content-loader.tsx +31 -23
- package/src/components/ui/dashboard-info-card.tsx +81 -20
- package/src/components/ui/data-attribution.tsx +18 -0
- package/src/components/ui/data-table/data-table-body.tsx +9 -2
- package/src/components/ui/data-table/data-table-infinite-footer.tsx +4 -2
- package/src/components/ui/data-table/data-table-skeleton.tsx +8 -5
- package/src/components/ui/feature-card.tsx +27 -11
- package/src/components/ui/file-manager/file-manager-skeleton.tsx +30 -22
- package/src/components/ui/file-manager/file-manager-table.tsx +10 -10
- package/src/components/ui/filter-modal.tsx +5 -5
- package/src/components/ui/filter-pill-row.tsx +19 -0
- package/src/components/ui/index.ts +0 -1
- package/src/components/ui/layout-hold.tsx +30 -38
- package/src/components/ui/markdown/base-components.tsx +1 -1
- package/src/components/ui/page-actions.tsx +10 -8
- package/src/components/ui/photo-wall.tsx +4 -7
- package/src/components/ui/query-report-table/query-report-table-skeleton.tsx +13 -7
- package/src/components/ui/query-report-table/query-report-table.tsx +2 -0
- package/src/components/ui/query-report-table/types.ts +4 -0
- package/src/components/ui/skeleton-surface.ts +6 -0
- package/src/components/ui/table/table-skeleton.tsx +11 -13
- package/src/components/ui/test-run.tsx +30 -22
- package/src/styles/ods-colors.css +2 -2
- package/dist/chunk-5M5C6UV4.cjs +0 -125
- package/dist/components/dynamic-skeleton.d.ts +0 -108
- package/dist/components/dynamic-skeleton.d.ts.map +0 -1
- package/dist/components/dynamic-skeleton.js +0 -221
- package/dist/components/loading/content-skeleton.d.ts +0 -73
- package/dist/components/loading/content-skeleton.d.ts.map +0 -1
- package/dist/components/loading/content-skeleton.js +0 -217
- package/dist/components/loading/users-grid-skeleton.d.ts +0 -7
- package/dist/components/loading/users-grid-skeleton.d.ts.map +0 -1
- package/dist/components/loading/users-grid-skeleton.js +0 -13
- package/dist/components/shared/product-release/release-detail-skeleton.d.ts +0 -2
- package/dist/components/shared/product-release/release-detail-skeleton.d.ts.map +0 -1
- package/dist/components/shared/product-release/release-detail-skeleton.js +0 -9
- package/dist/components/skeleton.d.ts +0 -4
- package/dist/components/skeleton.d.ts.map +0 -1
- package/dist/components/skeleton.js +0 -9
- package/dist/components/ui/skeleton.d.ts +0 -44
- package/dist/components/ui/skeleton.d.ts.map +0 -1
- package/dist/components/ui/skeleton.js +0 -103
- package/dist/components/vendor-page-skeleton.d.ts +0 -2
- package/dist/components/vendor-page-skeleton.d.ts.map +0 -1
- package/dist/components/vendor-page-skeleton.js +0 -9
- package/src/components/dynamic-skeleton.tsx +0 -365
- package/src/components/loading/content-skeleton.tsx +0 -374
- package/src/components/loading/users-grid-skeleton.tsx +0 -36
- package/src/components/shared/product-release/release-detail-skeleton.tsx +0 -7
- package/src/components/skeleton.tsx +0 -8
- package/src/components/ui/skeleton.tsx +0 -173
- package/src/components/vendor-page-skeleton.tsx +0 -7
|
@@ -4,7 +4,7 @@ import React from "react";
|
|
|
4
4
|
import { cn } from "../../utils/cn.js";
|
|
5
5
|
import { HoverCard, HoverCardContent, HoverCardTrigger } from "../hover-card.js";
|
|
6
6
|
import { AnthropicLogoGreyIcon, GeminiLogoGreyIcon, OpenaiLogoGreyIcon } from "../icons-v2-generated/index.js";
|
|
7
|
-
import {
|
|
7
|
+
import { UnifiedSkeleton } from "../loading/unified-skeleton.js";
|
|
8
8
|
import { useChatAppearance } from "./chat-appearance-context.js";
|
|
9
9
|
import { CHAT_APPEARANCE } from "./types/chat.types.js";
|
|
10
10
|
const getProviderIcon = (provider) => {
|
|
@@ -131,9 +131,9 @@ function BreakdownRow({
|
|
|
131
131
|
ModelDisplay.displayName = "ModelDisplay";
|
|
132
132
|
const ModelDisplaySkeleton = React.forwardRef(
|
|
133
133
|
({ className, showTokens = false, ...props }, ref) => /* @__PURE__ */ jsxs("div", { ref, "aria-hidden": true, className: cn("flex items-center gap-1 text-h6", className), ...props, children: [
|
|
134
|
-
/* @__PURE__ */ jsx(
|
|
135
|
-
/* @__PURE__ */ jsx(
|
|
136
|
-
showTokens && /* @__PURE__ */ jsx(
|
|
134
|
+
/* @__PURE__ */ jsx(UnifiedSkeleton, { className: "h-5 w-4 shrink-0 rounded-sm" }),
|
|
135
|
+
/* @__PURE__ */ jsx(UnifiedSkeleton, { className: "h-5 w-24" }),
|
|
136
|
+
showTokens && /* @__PURE__ */ jsx(UnifiedSkeleton, { className: "ml-auto h-3 w-32" })
|
|
137
137
|
] })
|
|
138
138
|
);
|
|
139
139
|
ModelDisplaySkeleton.displayName = "ModelDisplaySkeleton";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
3
3
|
import { cn } from "../../utils/cn.js";
|
|
4
|
-
import {
|
|
4
|
+
import { UnifiedSkeleton } from "../loading/unified-skeleton.js";
|
|
5
5
|
function MspOrganizationCardSkeleton({ className }) {
|
|
6
6
|
return /* @__PURE__ */ jsxs(
|
|
7
7
|
"div",
|
|
@@ -11,12 +11,12 @@ function MspOrganizationCardSkeleton({ className }) {
|
|
|
11
11
|
className
|
|
12
12
|
),
|
|
13
13
|
children: [
|
|
14
|
-
/* @__PURE__ */ jsx(
|
|
14
|
+
/* @__PURE__ */ jsx(UnifiedSkeleton, { className: "size-12 shrink-0 rounded-md" }),
|
|
15
15
|
/* @__PURE__ */ jsxs("div", { className: "flex min-w-0 flex-1 flex-col justify-center gap-2 self-stretch", children: [
|
|
16
|
-
/* @__PURE__ */ jsx(
|
|
17
|
-
/* @__PURE__ */ jsx(
|
|
16
|
+
/* @__PURE__ */ jsx(UnifiedSkeleton, { className: "h-5 w-3/5 rounded-md" }),
|
|
17
|
+
/* @__PURE__ */ jsx(UnifiedSkeleton, { className: "h-4 w-2/5 rounded-md" })
|
|
18
18
|
] }),
|
|
19
|
-
/* @__PURE__ */ jsx(
|
|
19
|
+
/* @__PURE__ */ jsx(UnifiedSkeleton, { className: "size-12 shrink-0 rounded-md" })
|
|
20
20
|
]
|
|
21
21
|
}
|
|
22
22
|
);
|
|
@@ -124,9 +124,9 @@ export interface QuickActionChipSkeletonProps {
|
|
|
124
124
|
}
|
|
125
125
|
/**
|
|
126
126
|
* Loading placeholder for {@link QuickActionChipButton} — renders the REAL
|
|
127
|
-
* `Tag` (same height, padding, border, radius, icon box) with
|
|
128
|
-
*
|
|
129
|
-
* icon/lozenge/label slots, so a skeleton chip is 1:1 with a loaded chip by
|
|
127
|
+
* `Tag` (same height, padding, border, radius, icon box) with `UnifiedSkeleton`
|
|
128
|
+
* bars (as spans, so they stay valid phrasing content inside the Tag's label
|
|
129
|
+
* span) in the icon/lozenge/label slots, so a skeleton chip is 1:1 with a loaded chip by
|
|
130
130
|
* construction. Use anywhere quick actions stream in (chat empty states,
|
|
131
131
|
* marketing walls, deck panels).
|
|
132
132
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"quick-action-chip.d.ts","sourceRoot":"","sources":["../../../src/components/chat/quick-action-chip.tsx"],"names":[],"mappings":"AAEA,OAAO,
|
|
1
|
+
{"version":3,"file":"quick-action-chip.d.ts","sourceRoot":"","sources":["../../../src/components/chat/quick-action-chip.tsx"],"names":[],"mappings":"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"}
|
|
@@ -3,6 +3,7 @@ import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
|
3
3
|
import { isValidElement } from "react";
|
|
4
4
|
import { cn } from "../../utils/cn.js";
|
|
5
5
|
import { EntityIcon } from "../icon-display.js";
|
|
6
|
+
import { UnifiedSkeleton } from "../loading/unified-skeleton.js";
|
|
6
7
|
import { Tag } from "../ui/tag.js";
|
|
7
8
|
const AGENT_ACCENTS = { fae: "pink", mingo: "cyan" };
|
|
8
9
|
function getAgentAccent(slug) {
|
|
@@ -51,9 +52,6 @@ function composeChipLabel(label, lozenge) {
|
|
|
51
52
|
label
|
|
52
53
|
] });
|
|
53
54
|
}
|
|
54
|
-
function ChipSkelBar({ className, style }) {
|
|
55
|
-
return /* @__PURE__ */ jsx("span", { "aria-hidden": true, className: cn("animate-pulse rounded-md bg-ods-border", className), style });
|
|
56
|
-
}
|
|
57
55
|
function QuickActionChipSkeleton({
|
|
58
56
|
labelCh = 16,
|
|
59
57
|
icon = true,
|
|
@@ -69,10 +67,18 @@ function QuickActionChipSkeleton({
|
|
|
69
67
|
variant: "outline",
|
|
70
68
|
size: question ? "sentence" : size,
|
|
71
69
|
className: cn(question && "max-w-full", className),
|
|
72
|
-
icon: icon && !question ? /* @__PURE__ */ jsx(
|
|
70
|
+
icon: icon && !question ? /* @__PURE__ */ jsx(UnifiedSkeleton, { as: "span", "aria-hidden": true, className: size === "large" ? "block size-5" : "block size-4" }) : void 0,
|
|
73
71
|
label: /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
74
|
-
lozenge && /* @__PURE__ */ jsx(
|
|
75
|
-
/* @__PURE__ */ jsx(
|
|
72
|
+
lozenge && /* @__PURE__ */ jsx(UnifiedSkeleton, { as: "span", "aria-hidden": true, className: "mr-2 inline-block h-[16px] w-[26px] translate-y-[2px]" }),
|
|
73
|
+
/* @__PURE__ */ jsx(
|
|
74
|
+
UnifiedSkeleton,
|
|
75
|
+
{
|
|
76
|
+
as: "span",
|
|
77
|
+
"aria-hidden": true,
|
|
78
|
+
className: "inline-block h-[0.9em] translate-y-[0.08em]",
|
|
79
|
+
width: `${labelCh}ch`
|
|
80
|
+
}
|
|
81
|
+
)
|
|
76
82
|
] })
|
|
77
83
|
}
|
|
78
84
|
);
|
|
@@ -19,12 +19,12 @@ export declare const COMPACT_CARD_OUTER = "my-1.5 flex items-start gap-3 w-full
|
|
|
19
19
|
/** Loaded compact card outer frame for NON-INTERACTIVE state — span wrap
|
|
20
20
|
* used when `safeHref()` rejects the chat ref's url. */
|
|
21
21
|
export declare const COMPACT_CARD_OUTER_STATIC = "my-1.5 flex items-start gap-3 w-full p-2 rounded-lg border border-ods-border bg-ods-card no-underline cursor-default";
|
|
22
|
-
/** Skeleton outer frame
|
|
23
|
-
export declare const COMPACT_CARD_SKELETON_OUTER = "my-1.5 flex w-full
|
|
22
|
+
/** Skeleton outer frame: same dimensions as loaded. Static; its placeholders are `UnifiedSkeleton`s. */
|
|
23
|
+
export declare const COMPACT_CARD_SKELETON_OUTER = "my-1.5 flex w-full items-start gap-3 rounded-lg border border-ods-border bg-ods-card p-2";
|
|
24
24
|
/** 56×56 image slot — for cards with a cover image. */
|
|
25
25
|
export declare const COMPACT_CARD_IMAGE_SLOT = "relative block shrink-0 self-start w-14 h-14 aspect-square overflow-hidden rounded-md bg-ods-bg";
|
|
26
|
-
/** 56×56 placeholder slot for skeletons. */
|
|
27
|
-
export declare const COMPACT_CARD_SKELETON_IMAGE_SLOT = "block h-14 w-14 aspect-square shrink-0 self-start rounded-md
|
|
26
|
+
/** 56×56 placeholder slot for skeletons: the box of a `UnifiedSkeleton as="span"`, which draws the surface. */
|
|
27
|
+
export declare const COMPACT_CARD_SKELETON_IMAGE_SLOT = "block h-14 w-14 aspect-square shrink-0 self-start rounded-md";
|
|
28
28
|
/** 56×56 icon slot — for cards without a cover image. */
|
|
29
29
|
export declare const COMPACT_CARD_ICON_SLOT = "flex h-14 w-14 aspect-square shrink-0 self-start items-center justify-center rounded-md bg-ods-bg text-ods-accent";
|
|
30
30
|
/** Text column wrapper — explicit 56px height with `flex flex-col`. */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"compact-card-classes.d.ts","sourceRoot":"","sources":["../../../../src/components/chat/utils/compact-card-classes.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;;;;GAaG;AAEH;;+DAE+D;AAC/D,eAAO,MAAM,kBAAkB,+JAC+H,CAAC;AAE/J;yDACyD;AACzD,eAAO,MAAM,yBAAyB,yHACkF,CAAC;AAEzH,
|
|
1
|
+
{"version":3,"file":"compact-card-classes.d.ts","sourceRoot":"","sources":["../../../../src/components/chat/utils/compact-card-classes.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;;;;GAaG;AAEH;;+DAE+D;AAC/D,eAAO,MAAM,kBAAkB,+JAC+H,CAAC;AAE/J;yDACyD;AACzD,eAAO,MAAM,yBAAyB,yHACkF,CAAC;AAEzH,wGAAwG;AACxG,eAAO,MAAM,2BAA2B,6FACoD,CAAC;AAE7F,uDAAuD;AACvD,eAAO,MAAM,uBAAuB,oGAC+D,CAAC;AAEpG,+GAA+G;AAC/G,eAAO,MAAM,gCAAgC,iEAAiE,CAAC;AAE/G,yDAAyD;AACzD,eAAO,MAAM,sBAAsB,sHACkF,CAAC;AAEtH,uEAAuE;AACvE,eAAO,MAAM,qBAAqB,kDAAkD,CAAC;AAErF,2EAA2E;AAC3E,eAAO,MAAM,sBAAsB,kCAAkC,CAAC;AAEtE,2DAA2D;AAC3D,eAAO,MAAM,yBAAyB,kCAAkC,CAAC;AAEzE,6CAA6C;AAC7C,eAAO,MAAM,kBAAkB,mEAAmE,CAAC;AAEnG,2CAA2C;AAC3C,eAAO,MAAM,qBAAqB,6CAA6C,CAAC;AAEhF,uEAAuE;AACvE,eAAO,MAAM,oBAAoB,gDAAgD,CAAC;AAElF,mDAAmD;AACnD,eAAO,MAAM,qBAAqB,sEAAsE,CAAC;AAEzG,oFAAoF;AACpF,eAAO,MAAM,uBAAuB,WAAM,CAAC;AAK3C;;gEAEgE;AAChE,wBAAgB,QAAQ,CAAC,GAAG,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,GAAG,MAAM,GAAG,IAAI,CAmBtE"}
|
|
@@ -2,9 +2,9 @@
|
|
|
2
2
|
import { UNSAFE_URL_CHARS, isSameOriginPath } from "../../../utils/url-safety.js";
|
|
3
3
|
const COMPACT_CARD_OUTER = "my-1.5 flex items-start gap-3 w-full p-2 rounded-lg border border-ods-border bg-ods-card no-underline transition-colors hover:border-ods-text-secondary/40";
|
|
4
4
|
const COMPACT_CARD_OUTER_STATIC = "my-1.5 flex items-start gap-3 w-full p-2 rounded-lg border border-ods-border bg-ods-card no-underline cursor-default";
|
|
5
|
-
const COMPACT_CARD_SKELETON_OUTER = "my-1.5 flex w-full
|
|
5
|
+
const COMPACT_CARD_SKELETON_OUTER = "my-1.5 flex w-full items-start gap-3 rounded-lg border border-ods-border bg-ods-card p-2";
|
|
6
6
|
const COMPACT_CARD_IMAGE_SLOT = "relative block shrink-0 self-start w-14 h-14 aspect-square overflow-hidden rounded-md bg-ods-bg";
|
|
7
|
-
const COMPACT_CARD_SKELETON_IMAGE_SLOT = "block h-14 w-14 aspect-square shrink-0 self-start rounded-md
|
|
7
|
+
const COMPACT_CARD_SKELETON_IMAGE_SLOT = "block h-14 w-14 aspect-square shrink-0 self-start rounded-md";
|
|
8
8
|
const COMPACT_CARD_ICON_SLOT = "flex h-14 w-14 aspect-square shrink-0 self-start items-center justify-center rounded-md bg-ods-bg text-ods-accent";
|
|
9
9
|
const COMPACT_CARD_TEXT_COL = "flex min-w-0 flex-1 flex-col gap-0.5 min-h-14";
|
|
10
10
|
const COMPACT_CARD_TITLE_ROW = "flex items-center min-w-0 h-5";
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});"use client";
|
|
2
2
|
|
|
3
3
|
|
|
4
|
-
var
|
|
5
|
-
require('../../chunk-
|
|
6
|
-
require('../../chunk-
|
|
4
|
+
var _chunk7RCTOWBAcjs = require('../../chunk-7RCTOWBA.cjs');
|
|
5
|
+
require('../../chunk-6KEJQR6L.cjs');
|
|
6
|
+
require('../../chunk-C6LPOYDM.cjs');
|
|
7
7
|
require('../../chunk-NTGIQP7O.cjs');
|
|
8
|
-
require('../../chunk-
|
|
8
|
+
require('../../chunk-ALPRQ3ZX.cjs');
|
|
9
9
|
require('../../chunk-HQQE74RO.cjs');
|
|
10
10
|
require('../../chunk-DEY6XXGO.cjs');
|
|
11
11
|
require('../../chunk-4FWURR3W.cjs');
|
|
@@ -13,14 +13,14 @@ require('../../chunk-LU7TD6QS.cjs');
|
|
|
13
13
|
require('../../chunk-24I6RFVU.cjs');
|
|
14
14
|
require('../../chunk-A6P6DHEZ.cjs');
|
|
15
15
|
require('../../chunk-MZ4KBSH7.cjs');
|
|
16
|
-
require('../../chunk-
|
|
16
|
+
require('../../chunk-3TELPOVH.cjs');
|
|
17
17
|
require('../../chunk-YUMFVQIN.cjs');
|
|
18
|
-
require('../../chunk-
|
|
19
|
-
require('../../chunk-
|
|
20
|
-
require('../../chunk-
|
|
18
|
+
require('../../chunk-WZX26ODJ.cjs');
|
|
19
|
+
require('../../chunk-V3UJ6NDR.cjs');
|
|
20
|
+
require('../../chunk-LVO7FALW.cjs');
|
|
21
21
|
require('../../chunk-3RFQPQ7Z.cjs');
|
|
22
22
|
require('../../chunk-YRULLK7N.cjs');
|
|
23
|
-
require('../../chunk-
|
|
23
|
+
require('../../chunk-P6F6PHVK.cjs');
|
|
24
24
|
require('../../chunk-ZOZR3QI2.cjs');
|
|
25
25
|
require('../../chunk-OMV5S5PI.cjs');
|
|
26
26
|
require('../../chunk-KHPX3KU4.cjs');
|
|
@@ -1817,8 +1817,8 @@ require('../../chunk-7DNL734S.cjs');
|
|
|
1817
1817
|
require('../../chunk-WWUSFOJ7.cjs');
|
|
1818
1818
|
require('../../chunk-SKI6NKOE.cjs');
|
|
1819
1819
|
require('../../chunk-EWPR7662.cjs');
|
|
1820
|
-
require('../../chunk-
|
|
1821
|
-
require('../../chunk-
|
|
1820
|
+
require('../../chunk-XJ3J4UIS.cjs');
|
|
1821
|
+
require('../../chunk-OFO75R2O.cjs');
|
|
1822
1822
|
require('../../chunk-QYLIHZKZ.cjs');
|
|
1823
1823
|
require('../../chunk-63N4FN5V.cjs');
|
|
1824
1824
|
require('../../chunk-L2IQESTQ.cjs');
|
|
@@ -1841,17 +1841,19 @@ require('../../chunk-HOTM4UM6.cjs');
|
|
|
1841
1841
|
require('../../chunk-UJ7AXHRZ.cjs');
|
|
1842
1842
|
require('../../chunk-HTRILBJD.cjs');
|
|
1843
1843
|
require('../../chunk-K6VWTUCH.cjs');
|
|
1844
|
-
require('../../chunk-
|
|
1844
|
+
require('../../chunk-MGF3FUKD.cjs');
|
|
1845
1845
|
require('../../chunk-Z74QE57T.cjs');
|
|
1846
1846
|
require('../../chunk-XZJCBIYR.cjs');
|
|
1847
|
+
require('../../chunk-UGCRLRCT.cjs');
|
|
1847
1848
|
require('../../chunk-2QMBXGMQ.cjs');
|
|
1848
1849
|
require('../../chunk-V45KLJQP.cjs');
|
|
1849
1850
|
require('../../chunk-G7SBHMRR.cjs');
|
|
1850
|
-
require('../../chunk-
|
|
1851
|
+
require('../../chunk-L4UI63K6.cjs');
|
|
1851
1852
|
require('../../chunk-OF336YWG.cjs');
|
|
1852
1853
|
require('../../chunk-3LU4UFPS.cjs');
|
|
1853
|
-
require('../../chunk-
|
|
1854
|
+
require('../../chunk-RB6BSE3O.cjs');
|
|
1855
|
+
require('../../chunk-2YXOD2KL.cjs');
|
|
1854
1856
|
require('../../chunk-3ATAYP36.cjs');
|
|
1855
1857
|
|
|
1856
1858
|
|
|
1857
|
-
exports.ContactForm =
|
|
1859
|
+
exports.ContactForm = _chunk7RCTOWBAcjs.ContactForm;
|
|
@@ -45,7 +45,7 @@ interface ContentLoadingContainerProps {
|
|
|
45
45
|
* ```tsx
|
|
46
46
|
* <ContentLoadingContainer
|
|
47
47
|
* isLoading={isLoadingVendors}
|
|
48
|
-
* skeletonComponent={<CardSkeletonGrid variant="vendor" count={12} />}
|
|
48
|
+
* skeletonComponent={<CardSkeletonGrid variant="vendor" count={12} region={false} />}
|
|
49
49
|
* minHeight="min-h-[800px]"
|
|
50
50
|
* >
|
|
51
51
|
* <VendorGrid vendors={vendors} />
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"content-loading-container.d.ts","sourceRoot":"","sources":["../../src/components/content-loading-container.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"content-loading-container.d.ts","sourceRoot":"","sources":["../../src/components/content-loading-container.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAIvC,UAAU,4BAA4B;IACpC;;OAEG;IACH,SAAS,EAAE,OAAO,CAAC;IACnB;;OAEG;IACH,QAAQ,EAAE,SAAS,CAAC;IACpB;;OAEG;IACH,iBAAiB,EAAE,SAAS,CAAC;IAC7B;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB;;OAEG;IACH,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB;;OAEG;IACH,kBAAkB,CAAC,EAAE,MAAM,CAAC;CAC7B;AAED;;;;;;;;;;;;;;;;;;;;;;GAsBG;AACH,wBAAgB,uBAAuB,CAAC,EACtC,SAAS,EACT,QAAQ,EACR,iBAAiB,EACjB,SAAS,EACT,SAAoD,EACpD,cAAkB,EAClB,kBAAwB,GACzB,EAAE,4BAA4B,+BAoC9B;AAED;;GAEG;AACH,wBAAgB,iBAAiB,CAAC,SAAS,EAAE,OAAO;;;;;oCAMX,QAAQ,GAAG,MAAM;gCAIrB,QAAQ,GAAG,MAAM;EAYrD"}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
3
3
|
import { cn } from "../utils/cn.js";
|
|
4
|
+
import { LoadingRegion } from "./loading/loading-region.js";
|
|
4
5
|
function ContentLoadingContainer({
|
|
5
6
|
isLoading,
|
|
6
7
|
children,
|
|
@@ -17,20 +18,18 @@ function ContentLoadingContainer({
|
|
|
17
18
|
style: {
|
|
18
19
|
transitionDuration: `${transitionDuration}ms`
|
|
19
20
|
},
|
|
20
|
-
role: "region",
|
|
21
|
-
"aria-label": isLoading ? "Loading content" : "Content loaded",
|
|
22
|
-
"aria-live": "polite",
|
|
23
21
|
children: [
|
|
24
|
-
isLoading &&
|
|
25
|
-
|
|
22
|
+
isLoading && // The one announcement for this content: a `skeletonComponent` that has a region of its own
|
|
23
|
+
// takes `region={false}`.
|
|
24
|
+
/* @__PURE__ */ jsx(
|
|
25
|
+
LoadingRegion,
|
|
26
26
|
{
|
|
27
|
+
label: "Loading content",
|
|
27
28
|
className: "absolute inset-0 z-10 bg-ods-bg",
|
|
28
29
|
style: {
|
|
29
30
|
opacity: loadingOpacity,
|
|
30
31
|
transition: `opacity ${transitionDuration}ms ease-in-out`
|
|
31
32
|
},
|
|
32
|
-
role: "status",
|
|
33
|
-
"aria-label": "Loading content",
|
|
34
33
|
children: skeletonComponent
|
|
35
34
|
}
|
|
36
35
|
),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"doc-viewer.d.ts","sourceRoot":"","sources":["../../../src/components/docs/doc-viewer.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAG/B,OAAO,KAAK,EAAE,UAAU,EAAE,OAAO,EAAE,iBAAiB,EAAE,WAAW,EAAE,MAAM,wBAAwB,CAAC;
|
|
1
|
+
{"version":3,"file":"doc-viewer.d.ts","sourceRoot":"","sources":["../../../src/components/docs/doc-viewer.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAG/B,OAAO,KAAK,EAAE,UAAU,EAAE,OAAO,EAAE,iBAAiB,EAAE,WAAW,EAAE,MAAM,wBAAwB,CAAC;AAelG;;4EAE4E;AAC5E,eAAO,MAAM,0BAA0B;;;;;;;;;CAS7B,CAAC;AAEX,MAAM,WAAW,cAAc;IAC7B;;;OAGG;IACH,QAAQ,EAAE,WAAW,CAAC;IAEtB;;;;OAIG;IACH,aAAa,EAAE,CAAC,OAAO,EAAE,UAAU,EAAE,QAAQ,EAAE,iBAAiB,KAAK,KAAK,CAAC,SAAS,CAAC;IAErF;;;;OAIG;IACH,cAAc,EAAE,CAAC,YAAY,EAAE,OAAO,CAAC,cAAc,CAAC,KAAK,KAAK,CAAC,SAAS,CAAC;IAE3E;;;;OAIG;IACH,UAAU,EAAE,MAAM,CAAC;IAEnB;;;sDAGkD;IAClD,KAAK,CAAC,EAAE,MAAM,CAAC;IACf;;;;uCAImC;IACnC,SAAS,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC5B,gEAAgE;IAChE,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB;;yEAEqE;IACrE,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,6EAA6E;IAC7E,YAAY,CAAC,EAAE,OAAO,0BAA0B,CAAC;IACjD,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB;;oEAEgE;IAChE,KAAK,CAAC,EAAE,OAAO,CAAC;IAEhB,0CAA0C;IAC1C,OAAO,CAAC,EAAE,MAAM,CAAC;IAEjB,8DAA8D;IAC9D,YAAY,CAAC,EAAE,MAAM,CAAC;IAEtB;;;;OAIG;IACH,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAC3B,8FAA8F;IAC9F,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB;;iFAE6E;IAC7E,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB;;;;;uDAKmD;IACnD,mBAAmB,CAAC,EAAE,MAAM,CAAC;IAC7B,0CAA0C;IAC1C,SAAS,EAAE,MAAM,CAAC;IAElB,gDAAgD;IAChD,cAAc,CAAC,EAAE,MAAM,CAAC;IAExB,4DAA4D;IAC5D,UAAU,CAAC,EAAE,OAAO,CAAC;IAErB,qDAAqD;IACrD,eAAe,CAAC,EAAE,MAAM,CAAC;IAEzB;;;;0BAIsB;IACtB,UAAU,CAAC,EAAE;QAAE,KAAK,CAAC,EAAE,MAAM,CAAC;QAAC,IAAI,CAAC,EAAE,MAAM,CAAA;KAAE,GAAG,KAAK,CAAC;CACxD;AAED,wBAAgB,SAAS,CAAC,KAAK,EAAE,cAAc,qBAE9C"}
|
|
@@ -6,6 +6,7 @@ import { findDocNodeByPath } from "../../utils/doc-tree-nav.js";
|
|
|
6
6
|
import { PageShell } from "../layout/article-detail-layout.js";
|
|
7
7
|
import { PageLayout } from "../layout/page-layout.js";
|
|
8
8
|
import { CategorySidebarSkeleton } from "../loading/page-layout-skeleton.js";
|
|
9
|
+
import { UnifiedSkeleton } from "../loading/unified-skeleton.js";
|
|
9
10
|
import { MultiLevelNavigation, MobileNavigationDropdown } from "../navigation/multi-level-navigation.js";
|
|
10
11
|
import { StickySectionNav } from "../navigation/sticky-section-nav.js";
|
|
11
12
|
import { PersistentSidebar, PersistentMobileDropdown } from "../persistent-filter-controls.js";
|
|
@@ -177,12 +178,12 @@ function DocViewerContent({
|
|
|
177
178
|
children: [
|
|
178
179
|
/* @__PURE__ */ jsx("div", { className: `w-full min-w-0 ${isMarkdownContent ? "mx-auto max-w-4xl" : ""}`, children: /* @__PURE__ */ jsx("article", { className: "space-y-2", children: isLoadingContent || isLoadingStructure ? renderSkeleton(selectedNodeDocType) : !content ? /* @__PURE__ */ jsx("div", { className: "py-16 text-center", children: /* @__PURE__ */ jsx("p", { className: "text-ods-text-secondary text-h4", children: resolvedEmptyText }) }) : renderedContent }) }),
|
|
179
180
|
isMarkdownContent && (isLoadingContent || isLoadingStructure) && /* @__PURE__ */ jsx("div", { className: "hidden content-lg:block", children: /* @__PURE__ */ jsxs("div", { className: "sticky top-24", children: [
|
|
180
|
-
/* @__PURE__ */ jsx(
|
|
181
|
+
/* @__PURE__ */ jsx(UnifiedSkeleton, { className: "mb-5 h-[14px] w-28 rounded" }),
|
|
181
182
|
/* @__PURE__ */ jsx("div", { className: "space-y-0", children: [130, 170, 190, 220, 110, 200, 80, 100, 120, 140, 90].map((w, i) => /* @__PURE__ */ jsx(
|
|
182
183
|
"div",
|
|
183
184
|
{
|
|
184
185
|
className: `border-l-2 py-[13px] pl-3 ${i === 0 ? "border-ods-accent" : "border-transparent"}`,
|
|
185
|
-
children: /* @__PURE__ */ jsx(
|
|
186
|
+
children: /* @__PURE__ */ jsx(UnifiedSkeleton, { className: "h-[13px] rounded", width: w })
|
|
186
187
|
},
|
|
187
188
|
i
|
|
188
189
|
)) })
|
|
@@ -8,16 +8,16 @@
|
|
|
8
8
|
|
|
9
9
|
|
|
10
10
|
|
|
11
|
-
var
|
|
12
|
-
require('../../chunk-
|
|
11
|
+
var _chunkAW6GP3JKcjs = require('../../chunk-AW6GP3JK.cjs');
|
|
12
|
+
require('../../chunk-4O2KYY4K.cjs');
|
|
13
13
|
|
|
14
14
|
|
|
15
|
-
var
|
|
16
|
-
require('../../chunk-
|
|
17
|
-
require('../../chunk-
|
|
18
|
-
require('../../chunk-
|
|
15
|
+
var _chunkE3KFEOFAcjs = require('../../chunk-E3KFEOFA.cjs');
|
|
16
|
+
require('../../chunk-BO6ZOAPB.cjs');
|
|
17
|
+
require('../../chunk-6KEJQR6L.cjs');
|
|
18
|
+
require('../../chunk-C6LPOYDM.cjs');
|
|
19
19
|
require('../../chunk-NTGIQP7O.cjs');
|
|
20
|
-
require('../../chunk-
|
|
20
|
+
require('../../chunk-ALPRQ3ZX.cjs');
|
|
21
21
|
require('../../chunk-HQQE74RO.cjs');
|
|
22
22
|
require('../../chunk-DEY6XXGO.cjs');
|
|
23
23
|
require('../../chunk-4FWURR3W.cjs');
|
|
@@ -25,14 +25,14 @@ require('../../chunk-LU7TD6QS.cjs');
|
|
|
25
25
|
require('../../chunk-24I6RFVU.cjs');
|
|
26
26
|
require('../../chunk-A6P6DHEZ.cjs');
|
|
27
27
|
require('../../chunk-MZ4KBSH7.cjs');
|
|
28
|
-
require('../../chunk-
|
|
28
|
+
require('../../chunk-3TELPOVH.cjs');
|
|
29
29
|
require('../../chunk-YUMFVQIN.cjs');
|
|
30
|
-
require('../../chunk-
|
|
31
|
-
require('../../chunk-
|
|
32
|
-
require('../../chunk-
|
|
30
|
+
require('../../chunk-WZX26ODJ.cjs');
|
|
31
|
+
require('../../chunk-V3UJ6NDR.cjs');
|
|
32
|
+
require('../../chunk-LVO7FALW.cjs');
|
|
33
33
|
require('../../chunk-3RFQPQ7Z.cjs');
|
|
34
34
|
require('../../chunk-YRULLK7N.cjs');
|
|
35
|
-
require('../../chunk-
|
|
35
|
+
require('../../chunk-P6F6PHVK.cjs');
|
|
36
36
|
require('../../chunk-ZOZR3QI2.cjs');
|
|
37
37
|
require('../../chunk-OMV5S5PI.cjs');
|
|
38
38
|
require('../../chunk-KHPX3KU4.cjs');
|
|
@@ -1829,8 +1829,8 @@ require('../../chunk-7DNL734S.cjs');
|
|
|
1829
1829
|
require('../../chunk-WWUSFOJ7.cjs');
|
|
1830
1830
|
require('../../chunk-SKI6NKOE.cjs');
|
|
1831
1831
|
require('../../chunk-EWPR7662.cjs');
|
|
1832
|
-
require('../../chunk-
|
|
1833
|
-
require('../../chunk-
|
|
1832
|
+
require('../../chunk-XJ3J4UIS.cjs');
|
|
1833
|
+
require('../../chunk-OFO75R2O.cjs');
|
|
1834
1834
|
require('../../chunk-QYLIHZKZ.cjs');
|
|
1835
1835
|
require('../../chunk-63N4FN5V.cjs');
|
|
1836
1836
|
require('../../chunk-L2IQESTQ.cjs');
|
|
@@ -1853,16 +1853,18 @@ require('../../chunk-HOTM4UM6.cjs');
|
|
|
1853
1853
|
require('../../chunk-UJ7AXHRZ.cjs');
|
|
1854
1854
|
require('../../chunk-HTRILBJD.cjs');
|
|
1855
1855
|
require('../../chunk-K6VWTUCH.cjs');
|
|
1856
|
-
require('../../chunk-
|
|
1856
|
+
require('../../chunk-MGF3FUKD.cjs');
|
|
1857
1857
|
require('../../chunk-Z74QE57T.cjs');
|
|
1858
1858
|
require('../../chunk-XZJCBIYR.cjs');
|
|
1859
|
+
require('../../chunk-UGCRLRCT.cjs');
|
|
1859
1860
|
require('../../chunk-2QMBXGMQ.cjs');
|
|
1860
1861
|
require('../../chunk-V45KLJQP.cjs');
|
|
1861
1862
|
require('../../chunk-G7SBHMRR.cjs');
|
|
1862
|
-
require('../../chunk-
|
|
1863
|
+
require('../../chunk-L4UI63K6.cjs');
|
|
1863
1864
|
require('../../chunk-OF336YWG.cjs');
|
|
1864
1865
|
require('../../chunk-3LU4UFPS.cjs');
|
|
1865
|
-
require('../../chunk-
|
|
1866
|
+
require('../../chunk-RB6BSE3O.cjs');
|
|
1867
|
+
require('../../chunk-2YXOD2KL.cjs');
|
|
1866
1868
|
require('../../chunk-3ATAYP36.cjs');
|
|
1867
1869
|
|
|
1868
1870
|
|
|
@@ -1873,4 +1875,4 @@ require('../../chunk-3ATAYP36.cjs');
|
|
|
1873
1875
|
|
|
1874
1876
|
|
|
1875
1877
|
|
|
1876
|
-
exports.DocNavigationProvider =
|
|
1878
|
+
exports.DocNavigationProvider = _chunkAW6GP3JKcjs.DocNavigationProvider; exports.DocViewer = _chunkAW6GP3JKcjs.DocViewer; exports.DocsHubPage = _chunkAW6GP3JKcjs.DocsHubPage; exports.EmbedSkeleton = _chunkAW6GP3JKcjs.EmbedSkeleton; exports.MarkdownSkeleton = _chunkAW6GP3JKcjs.MarkdownSkeleton; exports.useDocNavigation = _chunkAW6GP3JKcjs.useDocNavigation; exports.useDocumentTree = _chunkAW6GP3JKcjs.useDocumentTree; exports.useScrollSpy = _chunkE3KFEOFAcjs.useScrollSpy;
|
|
@@ -3,7 +3,10 @@
|
|
|
3
3
|
* Used by `<DocsHubPage>` as the default for `markdown` (and unknown
|
|
4
4
|
* document types). Embedders can override via `renderSkeleton`.
|
|
5
5
|
*/
|
|
6
|
-
export declare function MarkdownSkeleton(
|
|
6
|
+
export declare function MarkdownSkeleton({ region, }?: {
|
|
7
|
+
/** The loading state announces itself (`LoadingRegion`). `false` inside another loading region. Default `true`. */
|
|
8
|
+
region?: boolean;
|
|
9
|
+
}): import("react").JSX.Element;
|
|
7
10
|
/**
|
|
8
11
|
* Embed-style skeleton — matches the iframe loading state for `pdf`,
|
|
9
12
|
* `google_sheet`, `figma`, and `file` document types. Used by
|
|
@@ -15,17 +18,13 @@ export declare function MarkdownSkeleton(): import("react").JSX.Element;
|
|
|
15
18
|
* - `google_sheet`/`figma` → header with title + ONE button/toggle
|
|
16
19
|
* - `file` → centered FileDownloadCard-style box
|
|
17
20
|
* - undefined / others → generic (1-button header)
|
|
18
|
-
*
|
|
19
|
-
* IMPORTANT: bars use `bg-ods-border` (NOT `bg-ods-skeleton`). The
|
|
20
|
-
* `--ods-skeleton` token resolves to TRANSPARENT in this build, leaving
|
|
21
|
-
* the skeleton box visually empty — the embed skeleton was the loudest
|
|
22
|
-
* surface affected (a full-height iframe area showing nothing). Same fix
|
|
23
|
-
* the chat-message-row skeleton already documents in its inline comment.
|
|
24
21
|
*/
|
|
25
22
|
export interface EmbedSkeletonProps {
|
|
26
23
|
/** When provided, the header layout matches the eventual viewer's
|
|
27
24
|
* button count + arrangement, so the layout doesn't shift on load. */
|
|
28
25
|
documentType?: 'pdf' | 'google_sheet' | 'figma' | 'file' | string;
|
|
26
|
+
/** The loading state announces itself (`LoadingRegion`). `false` inside another loading region. Default `true`. */
|
|
27
|
+
region?: boolean;
|
|
29
28
|
}
|
|
30
|
-
export declare function EmbedSkeleton({ documentType }?: EmbedSkeletonProps): import("react").JSX.Element;
|
|
29
|
+
export declare function EmbedSkeleton({ documentType, region }?: EmbedSkeletonProps): import("react").JSX.Element;
|
|
31
30
|
//# sourceMappingURL=skeletons.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"skeletons.d.ts","sourceRoot":"","sources":["../../../src/components/docs/skeletons.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"skeletons.d.ts","sourceRoot":"","sources":["../../../src/components/docs/skeletons.tsx"],"names":[],"mappings":"AAGA;;;;GAIG;AACH,wBAAgB,gBAAgB,CAAC,EAC/B,MAAa,GACd,GAAE;IACD,mHAAmH;IACnH,MAAM,CAAC,EAAE,OAAO,CAAC;CACb,+BAoDL;AAED;;;;;;;;;;;GAWG;AACH,MAAM,WAAW,kBAAkB;IACjC;2EACuE;IACvE,YAAY,CAAC,EAAE,KAAK,GAAG,cAAc,GAAG,OAAO,GAAG,MAAM,GAAG,MAAM,CAAC;IAClE,mHAAmH;IACnH,MAAM,CAAC,EAAE,OAAO,CAAC;CAClB;AAED,wBAAgB,aAAa,CAAC,EAAE,YAAY,EAAE,MAAa,EAAE,GAAE,kBAAuB,+BAiDrF"}
|
|
@@ -1,89 +1,90 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
3
|
-
|
|
4
|
-
|
|
3
|
+
import { EmbedLoadingSkeleton } from "../embeds/embed-iframe.js";
|
|
4
|
+
import { LoadingRegion } from "../loading/loading-region.js";
|
|
5
|
+
import { UnifiedSkeleton } from "../loading/unified-skeleton.js";
|
|
6
|
+
function MarkdownSkeleton({
|
|
7
|
+
region = true
|
|
8
|
+
} = {}) {
|
|
9
|
+
return /* @__PURE__ */ jsxs(LoadingRegion, { label: "Loading the document", announce: region, className: "mt-6 space-y-7", children: [
|
|
5
10
|
/* @__PURE__ */ jsxs("div", { className: "space-y-[14px]", children: [
|
|
6
|
-
/* @__PURE__ */ jsx(
|
|
7
|
-
/* @__PURE__ */ jsx(
|
|
8
|
-
/* @__PURE__ */ jsx(
|
|
9
|
-
/* @__PURE__ */ jsx(
|
|
11
|
+
/* @__PURE__ */ jsx(UnifiedSkeleton, { className: "h-[16px] w-full rounded" }),
|
|
12
|
+
/* @__PURE__ */ jsx(UnifiedSkeleton, { className: "h-[16px] w-full rounded" }),
|
|
13
|
+
/* @__PURE__ */ jsx(UnifiedSkeleton, { className: "h-[16px] w-full rounded" }),
|
|
14
|
+
/* @__PURE__ */ jsx(UnifiedSkeleton, { className: "h-[16px] w-3/4 rounded" })
|
|
10
15
|
] }),
|
|
11
16
|
/* @__PURE__ */ jsxs("div", { className: "space-y-[14px]", children: [
|
|
12
|
-
/* @__PURE__ */ jsx(
|
|
13
|
-
/* @__PURE__ */ jsx(
|
|
14
|
-
/* @__PURE__ */ jsx(
|
|
15
|
-
/* @__PURE__ */ jsx(
|
|
17
|
+
/* @__PURE__ */ jsx(UnifiedSkeleton, { className: "h-[16px] w-full rounded" }),
|
|
18
|
+
/* @__PURE__ */ jsx(UnifiedSkeleton, { className: "h-[16px] w-full rounded" }),
|
|
19
|
+
/* @__PURE__ */ jsx(UnifiedSkeleton, { className: "h-[16px] w-full rounded" }),
|
|
20
|
+
/* @__PURE__ */ jsx(UnifiedSkeleton, { className: "h-[16px] w-5/6 rounded" })
|
|
16
21
|
] }),
|
|
17
22
|
/* @__PURE__ */ jsxs("div", { className: "space-y-[14px]", children: [
|
|
18
|
-
/* @__PURE__ */ jsx(
|
|
19
|
-
/* @__PURE__ */ jsx(
|
|
20
|
-
/* @__PURE__ */ jsx(
|
|
21
|
-
/* @__PURE__ */ jsx(
|
|
22
|
-
/* @__PURE__ */ jsx(
|
|
23
|
+
/* @__PURE__ */ jsx(UnifiedSkeleton, { className: "h-[16px] w-full rounded" }),
|
|
24
|
+
/* @__PURE__ */ jsx(UnifiedSkeleton, { className: "h-[16px] w-full rounded" }),
|
|
25
|
+
/* @__PURE__ */ jsx(UnifiedSkeleton, { className: "h-[16px] w-full rounded" }),
|
|
26
|
+
/* @__PURE__ */ jsx(UnifiedSkeleton, { className: "h-[16px] w-full rounded" }),
|
|
27
|
+
/* @__PURE__ */ jsx(UnifiedSkeleton, { className: "h-[16px] w-2/3 rounded" })
|
|
23
28
|
] }),
|
|
24
|
-
/* @__PURE__ */ jsx(
|
|
25
|
-
/* @__PURE__ */ jsx(
|
|
29
|
+
/* @__PURE__ */ jsx(UnifiedSkeleton, { className: "h-[88px] rounded-lg border border-ods-border" }),
|
|
30
|
+
/* @__PURE__ */ jsx(UnifiedSkeleton, { className: "h-7 w-1/3 rounded" }),
|
|
26
31
|
/* @__PURE__ */ jsxs("div", { className: "space-y-[14px]", children: [
|
|
27
|
-
/* @__PURE__ */ jsx(
|
|
28
|
-
/* @__PURE__ */ jsx(
|
|
29
|
-
/* @__PURE__ */ jsx(
|
|
30
|
-
/* @__PURE__ */ jsx(
|
|
32
|
+
/* @__PURE__ */ jsx(UnifiedSkeleton, { className: "h-[16px] w-full rounded" }),
|
|
33
|
+
/* @__PURE__ */ jsx(UnifiedSkeleton, { className: "h-[16px] w-full rounded" }),
|
|
34
|
+
/* @__PURE__ */ jsx(UnifiedSkeleton, { className: "h-[16px] w-full rounded" }),
|
|
35
|
+
/* @__PURE__ */ jsx(UnifiedSkeleton, { className: "h-[16px] w-[72%] rounded" })
|
|
31
36
|
] }),
|
|
32
37
|
/* @__PURE__ */ jsxs("div", { className: "space-y-[14px]", children: [
|
|
33
|
-
/* @__PURE__ */ jsx(
|
|
34
|
-
/* @__PURE__ */ jsx(
|
|
35
|
-
/* @__PURE__ */ jsx(
|
|
36
|
-
/* @__PURE__ */ jsx(
|
|
37
|
-
/* @__PURE__ */ jsx(
|
|
38
|
+
/* @__PURE__ */ jsx(UnifiedSkeleton, { className: "h-[16px] w-full rounded" }),
|
|
39
|
+
/* @__PURE__ */ jsx(UnifiedSkeleton, { className: "h-[16px] w-full rounded" }),
|
|
40
|
+
/* @__PURE__ */ jsx(UnifiedSkeleton, { className: "h-[16px] w-full rounded" }),
|
|
41
|
+
/* @__PURE__ */ jsx(UnifiedSkeleton, { className: "h-[16px] w-full rounded" }),
|
|
42
|
+
/* @__PURE__ */ jsx(UnifiedSkeleton, { className: "h-[16px] w-[58%] rounded" })
|
|
38
43
|
] }),
|
|
39
|
-
/* @__PURE__ */ jsx(
|
|
44
|
+
/* @__PURE__ */ jsx(UnifiedSkeleton, { className: "h-7 w-2/5 rounded" }),
|
|
40
45
|
/* @__PURE__ */ jsxs("div", { className: "space-y-[14px]", children: [
|
|
41
|
-
/* @__PURE__ */ jsx(
|
|
42
|
-
/* @__PURE__ */ jsx(
|
|
43
|
-
/* @__PURE__ */ jsx(
|
|
46
|
+
/* @__PURE__ */ jsx(UnifiedSkeleton, { className: "h-[16px] w-full rounded" }),
|
|
47
|
+
/* @__PURE__ */ jsx(UnifiedSkeleton, { className: "h-[16px] w-full rounded" }),
|
|
48
|
+
/* @__PURE__ */ jsx(UnifiedSkeleton, { className: "h-[16px] w-[90%] rounded" })
|
|
44
49
|
] }),
|
|
45
50
|
/* @__PURE__ */ jsxs("div", { className: "space-y-[14px]", children: [
|
|
46
|
-
/* @__PURE__ */ jsx(
|
|
47
|
-
/* @__PURE__ */ jsx(
|
|
48
|
-
/* @__PURE__ */ jsx(
|
|
49
|
-
/* @__PURE__ */ jsx(
|
|
51
|
+
/* @__PURE__ */ jsx(UnifiedSkeleton, { className: "h-[16px] w-full rounded" }),
|
|
52
|
+
/* @__PURE__ */ jsx(UnifiedSkeleton, { className: "h-[16px] w-full rounded" }),
|
|
53
|
+
/* @__PURE__ */ jsx(UnifiedSkeleton, { className: "h-[16px] w-full rounded" }),
|
|
54
|
+
/* @__PURE__ */ jsx(UnifiedSkeleton, { className: "h-[16px] w-[70%] rounded" })
|
|
50
55
|
] }),
|
|
51
|
-
/* @__PURE__ */ jsx(
|
|
56
|
+
/* @__PURE__ */ jsx(UnifiedSkeleton, { className: "h-[88px] rounded-lg border border-ods-border" })
|
|
52
57
|
] });
|
|
53
58
|
}
|
|
54
|
-
function EmbedSkeleton({ documentType } = {}) {
|
|
59
|
+
function EmbedSkeleton({ documentType, region = true } = {}) {
|
|
55
60
|
if (documentType === "file") {
|
|
56
|
-
return /* @__PURE__ */ jsx(
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
61
|
+
return /* @__PURE__ */ jsx(
|
|
62
|
+
LoadingRegion,
|
|
63
|
+
{
|
|
64
|
+
label: "Loading the document",
|
|
65
|
+
announce: region,
|
|
66
|
+
className: "flex flex-col items-center justify-center py-16",
|
|
67
|
+
children: /* @__PURE__ */ jsxs("div", { className: "w-full max-w-md space-y-4 rounded-xl border border-ods-border bg-ods-card p-8 text-center", children: [
|
|
68
|
+
/* @__PURE__ */ jsx(UnifiedSkeleton, { className: "mx-auto h-16 w-16 rounded" }),
|
|
69
|
+
/* @__PURE__ */ jsxs("div", { className: "space-y-2", children: [
|
|
70
|
+
/* @__PURE__ */ jsx(UnifiedSkeleton, { className: "mx-auto h-5 w-2/3 rounded" }),
|
|
71
|
+
/* @__PURE__ */ jsx(UnifiedSkeleton, { className: "mx-auto h-4 w-1/2 rounded" })
|
|
72
|
+
] }),
|
|
73
|
+
/* @__PURE__ */ jsx(UnifiedSkeleton, { className: "h-10 w-full rounded" })
|
|
74
|
+
] })
|
|
75
|
+
}
|
|
76
|
+
);
|
|
64
77
|
}
|
|
65
78
|
const buttonCount = documentType === "pdf" ? 2 : 1;
|
|
66
|
-
return /* @__PURE__ */ jsxs("
|
|
79
|
+
return /* @__PURE__ */ jsxs(LoadingRegion, { label: "Loading the document", announce: region, className: "space-y-4", children: [
|
|
67
80
|
/* @__PURE__ */ jsxs("div", { className: "flex flex-col gap-3 content-sm:flex-row content-sm:items-center content-sm:justify-between", children: [
|
|
68
81
|
/* @__PURE__ */ jsxs("div", { className: "flex min-w-0 flex-1 items-center gap-2", children: [
|
|
69
|
-
/* @__PURE__ */ jsx(
|
|
70
|
-
/* @__PURE__ */ jsx(
|
|
82
|
+
/* @__PURE__ */ jsx(UnifiedSkeleton, { className: "h-5 w-5 shrink-0 rounded" }),
|
|
83
|
+
/* @__PURE__ */ jsx(UnifiedSkeleton, { className: "h-6 w-2/3 rounded" })
|
|
71
84
|
] }),
|
|
72
|
-
/* @__PURE__ */ jsx("div", { className: "flex w-full items-center gap-2 content-sm:w-auto", children: Array.from({ length: buttonCount }).map((_, i) => /* @__PURE__ */ jsx(
|
|
73
|
-
"div",
|
|
74
|
-
{
|
|
75
|
-
className: "h-10 w-full flex-1 animate-pulse rounded bg-ods-border content-sm:w-32 content-sm:flex-initial"
|
|
76
|
-
},
|
|
77
|
-
i
|
|
78
|
-
)) })
|
|
85
|
+
/* @__PURE__ */ jsx("div", { className: "flex w-full items-center gap-2 content-sm:w-auto", children: Array.from({ length: buttonCount }).map((_, i) => /* @__PURE__ */ jsx(UnifiedSkeleton, { className: "h-10 w-full flex-1 rounded content-sm:w-32 content-sm:flex-initial" }, i)) })
|
|
79
86
|
] }),
|
|
80
|
-
/* @__PURE__ */ jsx(
|
|
81
|
-
"div",
|
|
82
|
-
{
|
|
83
|
-
className: "w-full animate-pulse rounded-lg border border-ods-border bg-ods-card",
|
|
84
|
-
style: { height: "calc(100vh - 250px)" }
|
|
85
|
-
}
|
|
86
|
-
)
|
|
87
|
+
/* @__PURE__ */ jsx(EmbedLoadingSkeleton, { region: false })
|
|
87
88
|
] });
|
|
88
89
|
}
|
|
89
90
|
export {
|