@flamingo-stack/openframe-frontend-core 0.0.747 → 0.0.749
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-4DT5YXTM.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-O6QQ44I3.cjs → chunk-45YRDD7W.cjs} +22 -19
- package/dist/{chunk-U6XWGK53.cjs → chunk-ALPRQ3ZX.cjs} +56 -46
- package/dist/{chunk-4AWI6CCU.cjs → chunk-BN6NA5RM.cjs} +56 -53
- package/dist/{chunk-HNLI4OU5.cjs → chunk-C6LPOYDM.cjs} +24 -24
- package/dist/{chunk-4MGZYY6U.cjs → chunk-CLAJIQ7E.cjs} +26 -18
- package/dist/{chunk-WY4FKKCV.cjs → chunk-CXV7VBSI.cjs} +104 -118
- package/dist/{chunk-QPSQ5WLG.cjs → chunk-DGEB5GUZ.cjs} +2 -2
- package/dist/{chunk-6RTHHU3S.cjs → chunk-E3KFEOFA.cjs} +9 -6
- package/dist/{chunk-PSSGIZXZ.cjs → chunk-FHT7SMA7.cjs} +49 -46
- package/dist/{chunk-TYW7NBP7.cjs → chunk-GOFEOCQN.cjs} +44 -27
- package/dist/{chunk-HTMHDEIV.cjs → chunk-HOEVD6EN.cjs} +4 -4
- package/dist/{chunk-2CEQGGRN.cjs → chunk-KRAQEZPB.cjs} +48 -40
- package/dist/{chunk-AKTPO2DN.cjs → chunk-L4UI63K6.cjs} +2 -2
- package/dist/{chunk-FCQCEQBY.cjs → chunk-LQT2ITMG.cjs} +6 -6
- 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-IJA3OZWF.cjs → chunk-OZLIKBKC.cjs} +24 -24
- package/dist/{chunk-B27QEHYR.cjs → chunk-P6F6PHVK.cjs} +9 -9
- package/dist/chunk-RB6BSE3O.cjs +21 -0
- package/dist/{chunk-R3FXJXSQ.cjs → chunk-SECT4H34.cjs} +1780 -2076
- package/dist/{chunk-LLAKQT3B.cjs → chunk-SGL47BS2.cjs} +12 -12
- package/dist/{chunk-PIQRV4EQ.cjs → chunk-SOPVUD2Y.cjs} +3 -3
- package/dist/chunk-UGCRLRCT.cjs +25 -0
- package/dist/{chunk-7Y5U3Y4S.cjs → chunk-V3UJ6NDR.cjs} +281 -462
- package/dist/{chunk-JPSMPXCH.cjs → chunk-VEVIMDNK.cjs} +137 -122
- package/dist/{chunk-C7NTL2GV.cjs → chunk-WZX26ODJ.cjs} +121 -121
- package/dist/{chunk-YIRX6C7V.cjs → chunk-XJ3J4UIS.cjs} +57 -22
- package/dist/{chunk-MA7T36JY.cjs → chunk-ZLF55RDR.cjs} +103 -98
- package/dist/{cloud-tenants-QJZIF2JS.cjs → cloud-tenants-2MYFHEYY.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/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-V55KQCAL.cjs → devices-FVXAGKVX.cjs} +17 -15
- package/dist/{embeddable-chat-5CDR4I6E.cjs → embeddable-chat-SNYQSMS7.cjs} +79 -77
- package/dist/index.cjs +24 -31
- package/dist/{knowledge-S3VGDRKR.cjs → knowledge-ZL3ZHBSL.cjs} +17 -15
- package/dist/{logs-K5E2BGZE.cjs → logs-KQCWDIOB.cjs} +24 -22
- package/dist/{policies-BWU4FRFE.cjs → policies-ARDCZ3CT.cjs} +20 -18
- package/dist/{remote-session-IYT4LWJC.cjs → remote-session-ZKP2W3IS.cjs} +9 -7
- package/dist/{scripts-25UPGXZU.cjs → scripts-ZAMVWCY4.cjs} +23 -21
- package/dist/{software-update-F6UC7ULZ.cjs → software-update-6F7BIYS3.cjs} +20 -18
- package/dist/{tickets-board-4MT6ZB4F.cjs → tickets-board-BNW4AYFL.cjs} +11 -10
- package/dist/utils/index.cjs +49 -48
- package/dist/utils/markdown-to-plain.d.ts.map +1 -1
- package/dist/utils/markdown-to-plain.js +12 -7
- package/package.json +7 -2
- 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/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/src/utils/markdown-to-plain.ts +25 -16
- 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
|
@@ -1,108 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
interface DynamicSkeletonProps {
|
|
3
|
-
/**
|
|
4
|
-
* Type of skeleton animation
|
|
5
|
-
*/
|
|
6
|
-
animation?: 'pulse' | 'shimmer' | 'wave' | 'static';
|
|
7
|
-
/**
|
|
8
|
-
* Skeleton variant based on content type
|
|
9
|
-
*/
|
|
10
|
-
variant?: 'text' | 'avatar' | 'card' | 'button' | 'image' | 'custom';
|
|
11
|
-
/**
|
|
12
|
-
* Size preset for common elements
|
|
13
|
-
*/
|
|
14
|
-
size?: 'sm' | 'md' | 'lg' | 'xl';
|
|
15
|
-
/**
|
|
16
|
-
* Custom dimensions
|
|
17
|
-
*/
|
|
18
|
-
width?: string | number;
|
|
19
|
-
height?: string | number;
|
|
20
|
-
/**
|
|
21
|
-
* Number of lines for text skeleton
|
|
22
|
-
*/
|
|
23
|
-
lines?: number;
|
|
24
|
-
/**
|
|
25
|
-
* Platform-aware styling
|
|
26
|
-
*/
|
|
27
|
-
platformAware?: boolean;
|
|
28
|
-
/**
|
|
29
|
-
* Accessibility enhancements
|
|
30
|
-
*/
|
|
31
|
-
includeAriaLabel?: boolean;
|
|
32
|
-
/**
|
|
33
|
-
* Custom CSS classes
|
|
34
|
-
*/
|
|
35
|
-
className?: string;
|
|
36
|
-
/**
|
|
37
|
-
* Child elements (for container skeletons)
|
|
38
|
-
*/
|
|
39
|
-
children?: React.ReactNode;
|
|
40
|
-
}
|
|
41
|
-
export declare function DynamicSkeleton({ animation, variant, size, width, height, lines, platformAware, includeAriaLabel, className, children, }: DynamicSkeletonProps): React.JSX.Element;
|
|
42
|
-
/**
|
|
43
|
-
* Pre-configured skeleton for common UI patterns
|
|
44
|
-
*/
|
|
45
|
-
export declare const SkeletonPresets: {
|
|
46
|
-
/**
|
|
47
|
-
* Card skeleton with header, content, and actions
|
|
48
|
-
*/
|
|
49
|
-
Card: ({ showActions, showImage }: {
|
|
50
|
-
showActions?: boolean;
|
|
51
|
-
showImage?: boolean;
|
|
52
|
-
}) => React.JSX.Element;
|
|
53
|
-
/**
|
|
54
|
-
* User profile skeleton
|
|
55
|
-
*/
|
|
56
|
-
Profile: () => React.JSX.Element;
|
|
57
|
-
/**
|
|
58
|
-
* Navigation skeleton
|
|
59
|
-
*/
|
|
60
|
-
Navigation: ({ items }: {
|
|
61
|
-
items?: number;
|
|
62
|
-
}) => React.JSX.Element;
|
|
63
|
-
/**
|
|
64
|
-
* Table skeleton
|
|
65
|
-
*/
|
|
66
|
-
Table: ({ rows, columns }: {
|
|
67
|
-
rows?: number;
|
|
68
|
-
columns?: number;
|
|
69
|
-
}) => React.JSX.Element;
|
|
70
|
-
/**
|
|
71
|
-
* Vendor grid skeleton (specific to the app)
|
|
72
|
-
*/
|
|
73
|
-
VendorGrid: ({ items }: {
|
|
74
|
-
items?: number;
|
|
75
|
-
}) => React.JSX.Element;
|
|
76
|
-
/**
|
|
77
|
-
* Blog post skeleton
|
|
78
|
-
*/
|
|
79
|
-
BlogPost: () => React.JSX.Element;
|
|
80
|
-
};
|
|
81
|
-
/** Every preset's props merged into one all-optional bag. */
|
|
82
|
-
export interface SkeletonPresetProps {
|
|
83
|
-
showActions?: boolean;
|
|
84
|
-
showImage?: boolean;
|
|
85
|
-
items?: number;
|
|
86
|
-
rows?: number;
|
|
87
|
-
columns?: number;
|
|
88
|
-
}
|
|
89
|
-
/**
|
|
90
|
-
* Platform-aware loading container that shows different skeletons based on platform
|
|
91
|
-
*/
|
|
92
|
-
export declare function PlatformSkeletonContainer({ children, isLoading, skeletonType, skeletonProps, }: {
|
|
93
|
-
children: React.ReactNode;
|
|
94
|
-
isLoading: boolean;
|
|
95
|
-
skeletonType?: keyof typeof SkeletonPresets;
|
|
96
|
-
/** Props for the chosen preset. Every preset takes an all-optional bag, so
|
|
97
|
-
* the union of them is what any one of them accepts. */
|
|
98
|
-
skeletonProps?: SkeletonPresetProps;
|
|
99
|
-
}): React.JSX.Element;
|
|
100
|
-
/**
|
|
101
|
-
* Enhanced skeleton with progressive enhancement
|
|
102
|
-
*/
|
|
103
|
-
export declare function ProgressiveSkeleton({ stages: _stages, currentStage, children, ...props }: DynamicSkeletonProps & {
|
|
104
|
-
stages?: string[];
|
|
105
|
-
currentStage?: number;
|
|
106
|
-
}): React.JSX.Element;
|
|
107
|
-
export {};
|
|
108
|
-
//# sourceMappingURL=dynamic-skeleton.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"dynamic-skeleton.d.ts","sourceRoot":"","sources":["../../src/components/dynamic-skeleton.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,MAAM,OAAO,CAAC;AAI1B,UAAU,oBAAoB;IAC5B;;OAEG;IACH,SAAS,CAAC,EAAE,OAAO,GAAG,SAAS,GAAG,MAAM,GAAG,QAAQ,CAAC;IAEpD;;OAEG;IACH,OAAO,CAAC,EAAE,MAAM,GAAG,QAAQ,GAAG,MAAM,GAAG,QAAQ,GAAG,OAAO,GAAG,QAAQ,CAAC;IAErE;;OAEG;IACH,IAAI,CAAC,EAAE,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,CAAC;IAEjC;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IACxB,MAAM,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IAEzB;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;IAEf;;OAEG;IACH,aAAa,CAAC,EAAE,OAAO,CAAC;IAExB;;OAEG;IACH,gBAAgB,CAAC,EAAE,OAAO,CAAC;IAE3B;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;IAEnB;;OAEG;IACH,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;CAC5B;AAkBD,wBAAgB,eAAe,CAAC,EAC9B,SAAqB,EACrB,OAAgB,EAChB,IAAW,EACX,KAAK,EACL,MAAM,EACN,KAAS,EACT,aAAoB,EACpB,gBAAuB,EACvB,SAAS,EACT,QAAQ,GACT,EAAE,oBAAoB,qBAwFtB;AAED;;GAEG;AACH,eAAO,MAAM,eAAe;IAC1B;;OAEG;uCAC+C;QAAE,WAAW,CAAC,EAAE,OAAO,CAAC;QAAC,SAAS,CAAC,EAAE,OAAO,CAAA;KAAE;IAgBhG;;OAEG;;IAYH;;OAEG;4BACyB;QAAE,KAAK,CAAC,EAAE,MAAM,CAAA;KAAE;IAW9C;;OAEG;+BACgC;QAAE,IAAI,CAAC,EAAE,MAAM,CAAC;QAAC,OAAO,CAAC,EAAE,MAAM,CAAA;KAAE;IAmBtE;;OAEG;4BACyB;QAAE,KAAK,CAAC,EAAE,MAAM,CAAA;KAAE;IAqB9C;;OAEG;;CAkBJ,CAAC;AAEF,6DAA6D;AAC7D,MAAM,WAAW,mBAAmB;IAClC,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,OAAO,CAAC,EAAE,MAAM,CAAC;CAClB;AAED;;GAEG;AACH,wBAAgB,yBAAyB,CAAC,EACxC,QAAQ,EACR,SAAS,EACT,YAAqB,EACrB,aAAkB,GACnB,EAAE;IACD,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;IAC1B,SAAS,EAAE,OAAO,CAAC;IACnB,YAAY,CAAC,EAAE,MAAM,OAAO,eAAe,CAAC;IAC5C;6DACyD;IACzD,aAAa,CAAC,EAAE,mBAAmB,CAAC;CACrC,qBAcA;AAED;;GAEG;AACH,wBAAgB,mBAAmB,CAAC,EAGlC,MAAM,EAAE,OAA8C,EACtD,YAAgB,EAChB,QAAQ,EACR,GAAG,KAAK,EACT,EAAE,oBAAoB,GAAG;IACxB,MAAM,CAAC,EAAE,MAAM,EAAE,CAAC;IAClB,YAAY,CAAC,EAAE,MAAM,CAAC;CACvB,qBAqBA"}
|
|
@@ -1,221 +0,0 @@
|
|
|
1
|
-
"use client";
|
|
2
|
-
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
3
|
-
import React from "react";
|
|
4
|
-
import { useThemeAware } from "../hooks/use-theme-aware.js";
|
|
5
|
-
import { cn } from "../utils/cn.js";
|
|
6
|
-
const sizePresets = {
|
|
7
|
-
sm: { width: "4rem", height: "1rem" },
|
|
8
|
-
md: { width: "8rem", height: "1.5rem" },
|
|
9
|
-
lg: { width: "12rem", height: "2rem" },
|
|
10
|
-
xl: { width: "16rem", height: "2.5rem" }
|
|
11
|
-
};
|
|
12
|
-
const variantStyles = {
|
|
13
|
-
text: "rounded",
|
|
14
|
-
avatar: "rounded-full aspect-square",
|
|
15
|
-
card: "rounded-lg",
|
|
16
|
-
button: "rounded-md",
|
|
17
|
-
image: "rounded-lg aspect-video",
|
|
18
|
-
custom: ""
|
|
19
|
-
};
|
|
20
|
-
function DynamicSkeleton({
|
|
21
|
-
animation = "shimmer",
|
|
22
|
-
variant = "text",
|
|
23
|
-
size = "md",
|
|
24
|
-
width,
|
|
25
|
-
height,
|
|
26
|
-
lines = 1,
|
|
27
|
-
platformAware = true,
|
|
28
|
-
includeAriaLabel = true,
|
|
29
|
-
className,
|
|
30
|
-
children
|
|
31
|
-
}) {
|
|
32
|
-
const { platform, isDark, accentColor } = useThemeAware();
|
|
33
|
-
const dimensions = React.useMemo(() => {
|
|
34
|
-
if (width || height) {
|
|
35
|
-
return {
|
|
36
|
-
width: typeof width === "number" ? `${width}px` : width,
|
|
37
|
-
height: typeof height === "number" ? `${height}px` : height
|
|
38
|
-
};
|
|
39
|
-
}
|
|
40
|
-
if (variant === "avatar") {
|
|
41
|
-
const avatarSize = sizePresets[size].height;
|
|
42
|
-
return { width: avatarSize, height: avatarSize };
|
|
43
|
-
}
|
|
44
|
-
return sizePresets[size];
|
|
45
|
-
}, [width, height, size, variant]);
|
|
46
|
-
const platformStyles = React.useMemo(() => {
|
|
47
|
-
if (!platformAware) return {};
|
|
48
|
-
const baseOpacity = isDark ? 0.1 : 0.15;
|
|
49
|
-
const accentOpacity = isDark ? 0.05 : 0.08;
|
|
50
|
-
return {
|
|
51
|
-
"--skeleton-base": `color-mix(in srgb, var(--color-bg-skeleton) ${baseOpacity * 100}%, transparent)`,
|
|
52
|
-
"--skeleton-highlight": `color-mix(in srgb, ${accentColor} ${accentOpacity * 100}%, var(--color-bg-skeleton))`,
|
|
53
|
-
"--skeleton-accent": `color-mix(in srgb, ${accentColor} 10%, transparent)`
|
|
54
|
-
};
|
|
55
|
-
}, [platformAware, isDark, accentColor]);
|
|
56
|
-
const animationClasses = {
|
|
57
|
-
pulse: "animate-pulse",
|
|
58
|
-
shimmer: "ods-loading-dynamic",
|
|
59
|
-
wave: "skeleton-wave",
|
|
60
|
-
static: ""
|
|
61
|
-
};
|
|
62
|
-
const baseClasses = cn(
|
|
63
|
-
"bg-ods-skeleton",
|
|
64
|
-
variantStyles[variant],
|
|
65
|
-
animationClasses[animation],
|
|
66
|
-
platformAware && `skeleton-platform-${platform}`,
|
|
67
|
-
className
|
|
68
|
-
);
|
|
69
|
-
if (variant === "text" && lines > 1) {
|
|
70
|
-
return /* @__PURE__ */ jsx(
|
|
71
|
-
"div",
|
|
72
|
-
{
|
|
73
|
-
className: "space-y-2",
|
|
74
|
-
style: platformStyles,
|
|
75
|
-
role: "status",
|
|
76
|
-
"aria-label": includeAriaLabel ? "Loading content..." : void 0,
|
|
77
|
-
children: Array.from({ length: lines }, (_, index) => /* @__PURE__ */ jsx(
|
|
78
|
-
"div",
|
|
79
|
-
{
|
|
80
|
-
className: cn(
|
|
81
|
-
baseClasses,
|
|
82
|
-
index === lines - 1 && "w-3/4"
|
|
83
|
-
// Last line shorter
|
|
84
|
-
),
|
|
85
|
-
style: {
|
|
86
|
-
...dimensions,
|
|
87
|
-
width: index === lines - 1 ? "75%" : dimensions.width
|
|
88
|
-
}
|
|
89
|
-
},
|
|
90
|
-
index
|
|
91
|
-
))
|
|
92
|
-
}
|
|
93
|
-
);
|
|
94
|
-
}
|
|
95
|
-
return /* @__PURE__ */ jsx(
|
|
96
|
-
"div",
|
|
97
|
-
{
|
|
98
|
-
className: baseClasses,
|
|
99
|
-
style: { ...dimensions, ...platformStyles },
|
|
100
|
-
role: "status",
|
|
101
|
-
"aria-label": includeAriaLabel ? "Loading content..." : void 0,
|
|
102
|
-
children
|
|
103
|
-
}
|
|
104
|
-
);
|
|
105
|
-
}
|
|
106
|
-
const SkeletonPresets = {
|
|
107
|
-
/**
|
|
108
|
-
* Card skeleton with header, content, and actions
|
|
109
|
-
*/
|
|
110
|
-
Card: ({ showActions = true, showImage = false }) => /* @__PURE__ */ jsxs("div", { className: "space-y-4 rounded-lg border border-ods-border bg-ods-card p-6", children: [
|
|
111
|
-
showImage && /* @__PURE__ */ jsx(DynamicSkeleton, { variant: "image", className: "h-40 w-full" }),
|
|
112
|
-
/* @__PURE__ */ jsxs("div", { className: "space-y-2", children: [
|
|
113
|
-
/* @__PURE__ */ jsx(DynamicSkeleton, { variant: "text", size: "lg" }),
|
|
114
|
-
/* @__PURE__ */ jsx(DynamicSkeleton, { variant: "text", lines: 2, size: "md" })
|
|
115
|
-
] }),
|
|
116
|
-
showActions && /* @__PURE__ */ jsxs("div", { className: "flex gap-2 pt-2", children: [
|
|
117
|
-
/* @__PURE__ */ jsx(DynamicSkeleton, { variant: "button", width: "6rem", height: "2.5rem" }),
|
|
118
|
-
/* @__PURE__ */ jsx(DynamicSkeleton, { variant: "button", width: "4rem", height: "2.5rem" })
|
|
119
|
-
] })
|
|
120
|
-
] }),
|
|
121
|
-
/**
|
|
122
|
-
* User profile skeleton
|
|
123
|
-
*/
|
|
124
|
-
Profile: () => /* @__PURE__ */ jsxs("div", { className: "flex items-start gap-4 p-4", children: [
|
|
125
|
-
/* @__PURE__ */ jsx(DynamicSkeleton, { variant: "avatar", size: "lg" }),
|
|
126
|
-
/* @__PURE__ */ jsxs("div", { className: "flex-1 space-y-2", children: [
|
|
127
|
-
/* @__PURE__ */ jsx(DynamicSkeleton, { variant: "text", size: "lg", width: "8rem" }),
|
|
128
|
-
/* @__PURE__ */ jsx(DynamicSkeleton, { variant: "text", size: "sm", width: "12rem" }),
|
|
129
|
-
/* @__PURE__ */ jsx(DynamicSkeleton, { variant: "text", lines: 2, size: "md" })
|
|
130
|
-
] })
|
|
131
|
-
] }),
|
|
132
|
-
/**
|
|
133
|
-
* Navigation skeleton
|
|
134
|
-
*/
|
|
135
|
-
Navigation: ({ items = 5 }) => /* @__PURE__ */ jsx("nav", { className: "space-y-2 p-4", children: Array.from({ length: items }, (_, index) => /* @__PURE__ */ jsxs("div", { className: "flex items-center gap-3", children: [
|
|
136
|
-
/* @__PURE__ */ jsx(DynamicSkeleton, { variant: "avatar", size: "sm" }),
|
|
137
|
-
/* @__PURE__ */ jsx(DynamicSkeleton, { variant: "text", size: "md" })
|
|
138
|
-
] }, index)) }),
|
|
139
|
-
/**
|
|
140
|
-
* Table skeleton
|
|
141
|
-
*/
|
|
142
|
-
Table: ({ rows = 5, columns = 4 }) => /* @__PURE__ */ jsxs("div", { className: "space-y-3", children: [
|
|
143
|
-
/* @__PURE__ */ jsx("div", { className: "grid gap-4", style: { gridTemplateColumns: `repeat(${columns}, 1fr)` }, children: Array.from({ length: columns }, (_, index) => /* @__PURE__ */ jsx(DynamicSkeleton, { variant: "text", size: "md" }, `header-${index}`)) }),
|
|
144
|
-
Array.from({ length: rows }, (_, rowIndex) => /* @__PURE__ */ jsx("div", { className: "grid gap-4", style: { gridTemplateColumns: `repeat(${columns}, 1fr)` }, children: Array.from({ length: columns }, (_cell, colIndex) => /* @__PURE__ */ jsx(DynamicSkeleton, { variant: "text", size: "sm" }, `cell-${rowIndex}-${colIndex}`)) }, `row-${rowIndex}`))
|
|
145
|
-
] }),
|
|
146
|
-
/**
|
|
147
|
-
* Vendor grid skeleton (specific to the app)
|
|
148
|
-
*/
|
|
149
|
-
VendorGrid: ({ items = 6 }) => /* @__PURE__ */ jsx("div", { className: "grid grid-cols-1 gap-6 content-md:grid-cols-2 content-lg:grid-cols-3", children: Array.from({ length: items }, (_, index) => /* @__PURE__ */ jsxs("div", { className: "space-y-3 rounded-lg border border-ods-border bg-ods-card p-4", children: [
|
|
150
|
-
/* @__PURE__ */ jsxs("div", { className: "flex items-center gap-3", children: [
|
|
151
|
-
/* @__PURE__ */ jsx(DynamicSkeleton, { variant: "avatar", size: "md" }),
|
|
152
|
-
/* @__PURE__ */ jsxs("div", { className: "flex-1", children: [
|
|
153
|
-
/* @__PURE__ */ jsx(DynamicSkeleton, { variant: "text", size: "md", width: "6rem" }),
|
|
154
|
-
/* @__PURE__ */ jsx(DynamicSkeleton, { variant: "text", size: "sm", width: "4rem", className: "mt-1" })
|
|
155
|
-
] })
|
|
156
|
-
] }),
|
|
157
|
-
/* @__PURE__ */ jsx(DynamicSkeleton, { variant: "text", lines: 2, size: "sm" }),
|
|
158
|
-
/* @__PURE__ */ jsxs("div", { className: "flex gap-2", children: [
|
|
159
|
-
/* @__PURE__ */ jsx(DynamicSkeleton, { variant: "custom", width: "3rem", height: "1.25rem", className: "rounded-full" }),
|
|
160
|
-
/* @__PURE__ */ jsx(DynamicSkeleton, { variant: "custom", width: "4rem", height: "1.25rem", className: "rounded-full" })
|
|
161
|
-
] })
|
|
162
|
-
] }, index)) }),
|
|
163
|
-
/**
|
|
164
|
-
* Blog post skeleton
|
|
165
|
-
*/
|
|
166
|
-
BlogPost: () => /* @__PURE__ */ jsxs("article", { className: "space-y-6", children: [
|
|
167
|
-
/* @__PURE__ */ jsxs("div", { className: "space-y-2", children: [
|
|
168
|
-
/* @__PURE__ */ jsx(DynamicSkeleton, { variant: "text", size: "xl", width: "75%" }),
|
|
169
|
-
/* @__PURE__ */ jsxs("div", { className: "flex gap-4 text-sm", children: [
|
|
170
|
-
/* @__PURE__ */ jsx(DynamicSkeleton, { variant: "text", size: "sm", width: "4rem" }),
|
|
171
|
-
/* @__PURE__ */ jsx(DynamicSkeleton, { variant: "text", size: "sm", width: "6rem" })
|
|
172
|
-
] })
|
|
173
|
-
] }),
|
|
174
|
-
/* @__PURE__ */ jsx(DynamicSkeleton, { variant: "image", className: "h-64 w-full" }),
|
|
175
|
-
/* @__PURE__ */ jsx("div", { className: "space-y-3", children: Array.from({ length: 4 }, (_, index) => /* @__PURE__ */ jsx(DynamicSkeleton, { variant: "text", lines: 3, size: "md" }, index)) })
|
|
176
|
-
] })
|
|
177
|
-
};
|
|
178
|
-
function PlatformSkeletonContainer({
|
|
179
|
-
children,
|
|
180
|
-
isLoading,
|
|
181
|
-
skeletonType = "Card",
|
|
182
|
-
skeletonProps = {}
|
|
183
|
-
}) {
|
|
184
|
-
const { platform } = useThemeAware();
|
|
185
|
-
if (!isLoading) {
|
|
186
|
-
return /* @__PURE__ */ jsx(Fragment, { children });
|
|
187
|
-
}
|
|
188
|
-
const SkeletonComponent = SkeletonPresets[skeletonType];
|
|
189
|
-
return /* @__PURE__ */ jsx("div", { className: `platform-skeleton skeleton-${platform}`, children: /* @__PURE__ */ jsx(SkeletonComponent, { ...skeletonProps }) });
|
|
190
|
-
}
|
|
191
|
-
function ProgressiveSkeleton({
|
|
192
|
-
// Named only to keep it out of the `...props` spread: the stage NAMES are
|
|
193
|
-
// unused, `currentStage` alone selects the skeleton shape below.
|
|
194
|
-
stages: _stages = ["basic", "detailed", "interactive"],
|
|
195
|
-
currentStage = 0,
|
|
196
|
-
children,
|
|
197
|
-
...props
|
|
198
|
-
}) {
|
|
199
|
-
const { platform } = useThemeAware();
|
|
200
|
-
const stageConfig = {
|
|
201
|
-
0: { animation: "pulse", variant: "text" },
|
|
202
|
-
1: { animation: "shimmer", variant: "card" },
|
|
203
|
-
2: { animation: "wave", variant: "custom" }
|
|
204
|
-
};
|
|
205
|
-
const config = stageConfig[currentStage] || stageConfig[0];
|
|
206
|
-
return /* @__PURE__ */ jsx(
|
|
207
|
-
DynamicSkeleton,
|
|
208
|
-
{
|
|
209
|
-
...props,
|
|
210
|
-
...config,
|
|
211
|
-
className: cn(props.className, `skeleton-stage-${currentStage}`, `skeleton-platform-${platform}`),
|
|
212
|
-
children
|
|
213
|
-
}
|
|
214
|
-
);
|
|
215
|
-
}
|
|
216
|
-
export {
|
|
217
|
-
DynamicSkeleton,
|
|
218
|
-
PlatformSkeletonContainer,
|
|
219
|
-
ProgressiveSkeleton,
|
|
220
|
-
SkeletonPresets
|
|
221
|
-
};
|
|
@@ -1,73 +0,0 @@
|
|
|
1
|
-
interface ContentSkeletonProps {
|
|
2
|
-
className?: string;
|
|
3
|
-
}
|
|
4
|
-
/**
|
|
5
|
-
* Paragraph skeleton with varying line lengths for natural appearance
|
|
6
|
-
*/
|
|
7
|
-
export declare function ParagraphSkeleton({ className, lines }: ContentSkeletonProps & {
|
|
8
|
-
lines?: number;
|
|
9
|
-
}): import("react").JSX.Element;
|
|
10
|
-
/**
|
|
11
|
-
* List skeleton for navigation menus, categories, etc.
|
|
12
|
-
*/
|
|
13
|
-
export declare function ListSkeleton({ className, items, showIcons, showActions, }: ContentSkeletonProps & {
|
|
14
|
-
items?: number;
|
|
15
|
-
showIcons?: boolean;
|
|
16
|
-
showActions?: boolean;
|
|
17
|
-
}): import("react").JSX.Element;
|
|
18
|
-
/**
|
|
19
|
-
* Table skeleton for data displays
|
|
20
|
-
*/
|
|
21
|
-
export declare function TableSkeleton({ className, rows, columns, }: ContentSkeletonProps & {
|
|
22
|
-
rows?: number;
|
|
23
|
-
columns?: number;
|
|
24
|
-
}): import("react").JSX.Element;
|
|
25
|
-
/**
|
|
26
|
-
* Form skeleton for input fields and form layouts
|
|
27
|
-
*/
|
|
28
|
-
export declare function FormSkeleton({ className, fields }: ContentSkeletonProps & {
|
|
29
|
-
fields?: number;
|
|
30
|
-
}): import("react").JSX.Element;
|
|
31
|
-
/**
|
|
32
|
-
* Navigation menu skeleton
|
|
33
|
-
*/
|
|
34
|
-
export declare function NavigationSkeleton({ className, items, horizontal, }: ContentSkeletonProps & {
|
|
35
|
-
items?: number;
|
|
36
|
-
horizontal?: boolean;
|
|
37
|
-
}): import("react").JSX.Element;
|
|
38
|
-
/**
|
|
39
|
-
* Profile/user info skeleton
|
|
40
|
-
*/
|
|
41
|
-
export declare function ProfileSkeleton({ className, showBio, showStats, }: ContentSkeletonProps & {
|
|
42
|
-
showBio?: boolean;
|
|
43
|
-
showStats?: boolean;
|
|
44
|
-
}): import("react").JSX.Element;
|
|
45
|
-
/**
|
|
46
|
-
* Comment/review skeleton for user-generated content
|
|
47
|
-
*/
|
|
48
|
-
export declare function CommentSkeleton({ className, showRating, showReplies, }: ContentSkeletonProps & {
|
|
49
|
-
showRating?: boolean;
|
|
50
|
-
showReplies?: boolean;
|
|
51
|
-
}): import("react").JSX.Element;
|
|
52
|
-
/**
|
|
53
|
-
* Feature list skeleton for product features, specifications, etc.
|
|
54
|
-
*/
|
|
55
|
-
export declare function FeatureListSkeleton({ className, features, showIcons, grouped, }: ContentSkeletonProps & {
|
|
56
|
-
features?: number;
|
|
57
|
-
showIcons?: boolean;
|
|
58
|
-
grouped?: boolean;
|
|
59
|
-
}): import("react").JSX.Element;
|
|
60
|
-
/**
|
|
61
|
-
* Timeline/activity skeleton
|
|
62
|
-
*/
|
|
63
|
-
export declare function TimelineSkeleton({ className, items }: ContentSkeletonProps & {
|
|
64
|
-
items?: number;
|
|
65
|
-
}): import("react").JSX.Element;
|
|
66
|
-
/**
|
|
67
|
-
* Pricing/plan skeleton
|
|
68
|
-
*/
|
|
69
|
-
export declare function PricingSkeleton({ className, plans }: ContentSkeletonProps & {
|
|
70
|
-
plans?: number;
|
|
71
|
-
}): import("react").JSX.Element;
|
|
72
|
-
export {};
|
|
73
|
-
//# sourceMappingURL=content-skeleton.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"content-skeleton.d.ts","sourceRoot":"","sources":["../../../src/components/loading/content-skeleton.tsx"],"names":[],"mappings":"AAGA,UAAU,oBAAoB;IAC5B,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED;;GAEG;AACH,wBAAgB,iBAAiB,CAAC,EAAE,SAAS,EAAE,KAAS,EAAE,EAAE,oBAAoB,GAAG;IAAE,KAAK,CAAC,EAAE,MAAM,CAAA;CAAE,+BAUpG;AAED;;GAEG;AACH,wBAAgB,YAAY,CAAC,EAC3B,SAAS,EACT,KAAS,EACT,SAAiB,EACjB,WAAmB,GACpB,EAAE,oBAAoB,GAAG;IACxB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,WAAW,CAAC,EAAE,OAAO,CAAC;CACvB,+BAmBA;AAED;;GAEG;AACH,wBAAgB,aAAa,CAAC,EAC5B,SAAS,EACT,IAAQ,EACR,OAAW,GACZ,EAAE,oBAAoB,GAAG;IACxB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,OAAO,CAAC,EAAE,MAAM,CAAC;CAClB,+BA0BA;AAED;;GAEG;AACH,wBAAgB,YAAY,CAAC,EAAE,SAAS,EAAE,MAAU,EAAE,EAAE,oBAAoB,GAAG;IAAE,MAAM,CAAC,EAAE,MAAM,CAAA;CAAE,+BAiBjG;AAED;;GAEG;AACH,wBAAgB,kBAAkB,CAAC,EACjC,SAAS,EACT,KAAS,EACT,UAAiB,GAClB,EAAE,oBAAoB,GAAG;IACxB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,UAAU,CAAC,EAAE,OAAO,CAAC;CACtB,+BAYA;AAED;;GAEG;AACH,wBAAgB,eAAe,CAAC,EAC9B,SAAS,EACT,OAAc,EACd,SAAgB,GACjB,EAAE,oBAAoB,GAAG;IACxB,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,SAAS,CAAC,EAAE,OAAO,CAAC;CACrB,+BAyCA;AAED;;GAEG;AACH,wBAAgB,eAAe,CAAC,EAC9B,SAAS,EACT,UAAkB,EAClB,WAAmB,GACpB,EAAE,oBAAoB,GAAG;IACxB,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,WAAW,CAAC,EAAE,OAAO,CAAC;CACvB,+BAqDA;AAED;;GAEG;AACH,wBAAgB,mBAAmB,CAAC,EAClC,SAAS,EACT,QAAY,EACZ,SAAgB,EAChB,OAAe,GAChB,EAAE,oBAAoB,GAAG;IACxB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,OAAO,CAAC,EAAE,OAAO,CAAC;CACnB,+BAiCA;AAED;;GAEG;AACH,wBAAgB,gBAAgB,CAAC,EAAE,SAAS,EAAE,KAAS,EAAE,EAAE,oBAAoB,GAAG;IAAE,KAAK,CAAC,EAAE,MAAM,CAAA;CAAE,+BAqBnG;AAED;;GAEG;AACH,wBAAgB,eAAe,CAAC,EAAE,SAAS,EAAE,KAAS,EAAE,EAAE,oBAAoB,GAAG;IAAE,KAAK,CAAC,EAAE,MAAM,CAAA;CAAE,+BAwClG"}
|
|
@@ -1,217 +0,0 @@
|
|
|
1
|
-
"use client";
|
|
2
|
-
import { jsx, jsxs } from "react/jsx-runtime";
|
|
3
|
-
import { cn } from "../../utils/cn.js";
|
|
4
|
-
import { UnifiedSkeleton, TextSkeleton, MediaSkeleton, InteractiveSkeleton } from "./unified-skeleton.js";
|
|
5
|
-
function ParagraphSkeleton({ className, lines = 4 }) {
|
|
6
|
-
const lineWidths = ["w-full", "w-full", "w-5/6", "w-3/4", "w-4/5", "w-2/3"];
|
|
7
|
-
return /* @__PURE__ */ jsx("div", { className: cn("space-y-2", className), children: Array.from({ length: lines }).map((_, index) => /* @__PURE__ */ jsx(TextSkeleton.Body, { className: lineWidths[index % lineWidths.length] }, index)) });
|
|
8
|
-
}
|
|
9
|
-
function ListSkeleton({
|
|
10
|
-
className,
|
|
11
|
-
items = 5,
|
|
12
|
-
showIcons = false,
|
|
13
|
-
showActions = false
|
|
14
|
-
}) {
|
|
15
|
-
return /* @__PURE__ */ jsx("div", { className: cn("space-y-3", className), children: Array.from({ length: items }).map((_, index) => /* @__PURE__ */ jsxs("div", { className: "flex items-center justify-between", children: [
|
|
16
|
-
/* @__PURE__ */ jsxs("div", { className: "flex items-center gap-3", children: [
|
|
17
|
-
showIcons && /* @__PURE__ */ jsx(MediaSkeleton.Icon, { size: "sm" }),
|
|
18
|
-
/* @__PURE__ */ jsx(TextSkeleton.Body, { className: "w-32 content-md:w-48" })
|
|
19
|
-
] }),
|
|
20
|
-
showActions && /* @__PURE__ */ jsxs("div", { className: "flex items-center gap-2", children: [
|
|
21
|
-
/* @__PURE__ */ jsx(TextSkeleton.Caption, { className: "w-8" }),
|
|
22
|
-
/* @__PURE__ */ jsx(UnifiedSkeleton, { variant: "default", className: "h-4 w-4" })
|
|
23
|
-
] })
|
|
24
|
-
] }, index)) });
|
|
25
|
-
}
|
|
26
|
-
function TableSkeleton({
|
|
27
|
-
className,
|
|
28
|
-
rows = 5,
|
|
29
|
-
columns = 4
|
|
30
|
-
}) {
|
|
31
|
-
return /* @__PURE__ */ jsxs("div", { className: cn("space-y-4", className), children: [
|
|
32
|
-
/* @__PURE__ */ jsx("div", { className: "grid gap-4", style: { gridTemplateColumns: `repeat(${columns}, 1fr)` }, children: Array.from({ length: columns }).map((_, index) => /* @__PURE__ */ jsx(TextSkeleton.Subheading, { className: "w-3/4" }, index)) }),
|
|
33
|
-
/* @__PURE__ */ jsx("div", { className: "space-y-3", children: Array.from({ length: rows }).map((_, rowIndex) => /* @__PURE__ */ jsx(
|
|
34
|
-
"div",
|
|
35
|
-
{
|
|
36
|
-
className: "grid gap-4 border-b border-ods-divider py-2",
|
|
37
|
-
style: { gridTemplateColumns: `repeat(${columns}, 1fr)` },
|
|
38
|
-
children: Array.from({ length: columns }).map((_cell, colIndex) => /* @__PURE__ */ jsx(TextSkeleton.Body, { className: "w-2/3" }, colIndex))
|
|
39
|
-
},
|
|
40
|
-
rowIndex
|
|
41
|
-
)) })
|
|
42
|
-
] });
|
|
43
|
-
}
|
|
44
|
-
function FormSkeleton({ className, fields = 4 }) {
|
|
45
|
-
return /* @__PURE__ */ jsxs("div", { className: cn("space-y-6", className), children: [
|
|
46
|
-
Array.from({ length: fields }).map((_, index) => /* @__PURE__ */ jsxs("div", { className: "space-y-2", children: [
|
|
47
|
-
/* @__PURE__ */ jsx(TextSkeleton.Body, { className: "w-24" }),
|
|
48
|
-
/* @__PURE__ */ jsx(InteractiveSkeleton.Input, {}),
|
|
49
|
-
index % 3 === 0 && /* @__PURE__ */ jsx(TextSkeleton.Caption, { className: "w-48" })
|
|
50
|
-
] }, index)),
|
|
51
|
-
/* @__PURE__ */ jsxs("div", { className: "flex gap-4 pt-4", children: [
|
|
52
|
-
/* @__PURE__ */ jsx(InteractiveSkeleton.Button, {}),
|
|
53
|
-
/* @__PURE__ */ jsx(InteractiveSkeleton.Button, { className: "bg-ods-border" })
|
|
54
|
-
] })
|
|
55
|
-
] });
|
|
56
|
-
}
|
|
57
|
-
function NavigationSkeleton({
|
|
58
|
-
className,
|
|
59
|
-
items = 6,
|
|
60
|
-
horizontal = true
|
|
61
|
-
}) {
|
|
62
|
-
return /* @__PURE__ */ jsx(
|
|
63
|
-
"nav",
|
|
64
|
-
{
|
|
65
|
-
className: cn("flex gap-4 content-md:gap-6", !horizontal && "flex-col", className),
|
|
66
|
-
role: "status",
|
|
67
|
-
"aria-label": "Loading navigation",
|
|
68
|
-
children: Array.from({ length: items }).map((_, index) => /* @__PURE__ */ jsx(TextSkeleton.Body, { className: "w-16 content-md:w-20" }, index))
|
|
69
|
-
}
|
|
70
|
-
);
|
|
71
|
-
}
|
|
72
|
-
function ProfileSkeleton({
|
|
73
|
-
className,
|
|
74
|
-
showBio = true,
|
|
75
|
-
showStats = true
|
|
76
|
-
}) {
|
|
77
|
-
return /* @__PURE__ */ jsxs("div", { className: cn("space-y-4", className), children: [
|
|
78
|
-
/* @__PURE__ */ jsxs("div", { className: "flex items-start gap-4", children: [
|
|
79
|
-
/* @__PURE__ */ jsx(MediaSkeleton.Avatar, { size: "lg" }),
|
|
80
|
-
/* @__PURE__ */ jsxs("div", { className: "flex-1 space-y-2", children: [
|
|
81
|
-
/* @__PURE__ */ jsx(TextSkeleton.Subheading, { className: "w-1/2" }),
|
|
82
|
-
/* @__PURE__ */ jsx(TextSkeleton.Caption, { className: "w-1/3" }),
|
|
83
|
-
/* @__PURE__ */ jsx(TextSkeleton.Body, { className: "w-2/3" })
|
|
84
|
-
] })
|
|
85
|
-
] }),
|
|
86
|
-
showBio && /* @__PURE__ */ jsxs("div", { className: "space-y-2", children: [
|
|
87
|
-
/* @__PURE__ */ jsx(TextSkeleton.Body, { className: "w-full" }),
|
|
88
|
-
/* @__PURE__ */ jsx(TextSkeleton.Body, { className: "w-4/5" }),
|
|
89
|
-
/* @__PURE__ */ jsx(TextSkeleton.Body, { className: "w-3/4" })
|
|
90
|
-
] }),
|
|
91
|
-
showStats && /* @__PURE__ */ jsxs("div", { className: "flex gap-6", children: [
|
|
92
|
-
/* @__PURE__ */ jsxs("div", { className: "text-center", children: [
|
|
93
|
-
/* @__PURE__ */ jsx(TextSkeleton.Subheading, { className: "mx-auto w-8" }),
|
|
94
|
-
/* @__PURE__ */ jsx(TextSkeleton.Caption, { className: "mx-auto w-12" })
|
|
95
|
-
] }),
|
|
96
|
-
/* @__PURE__ */ jsxs("div", { className: "text-center", children: [
|
|
97
|
-
/* @__PURE__ */ jsx(TextSkeleton.Subheading, { className: "mx-auto w-8" }),
|
|
98
|
-
/* @__PURE__ */ jsx(TextSkeleton.Caption, { className: "mx-auto w-16" })
|
|
99
|
-
] }),
|
|
100
|
-
/* @__PURE__ */ jsxs("div", { className: "text-center", children: [
|
|
101
|
-
/* @__PURE__ */ jsx(TextSkeleton.Subheading, { className: "mx-auto w-8" }),
|
|
102
|
-
/* @__PURE__ */ jsx(TextSkeleton.Caption, { className: "mx-auto w-14" })
|
|
103
|
-
] })
|
|
104
|
-
] })
|
|
105
|
-
] });
|
|
106
|
-
}
|
|
107
|
-
function CommentSkeleton({
|
|
108
|
-
className,
|
|
109
|
-
showRating = false,
|
|
110
|
-
showReplies = false
|
|
111
|
-
}) {
|
|
112
|
-
return /* @__PURE__ */ jsxs("div", { className: cn("space-y-3", className), children: [
|
|
113
|
-
/* @__PURE__ */ jsxs("div", { className: "flex items-center gap-3", children: [
|
|
114
|
-
/* @__PURE__ */ jsx(MediaSkeleton.Avatar, { size: "sm" }),
|
|
115
|
-
/* @__PURE__ */ jsxs("div", { className: "flex flex-1 items-center gap-4", children: [
|
|
116
|
-
/* @__PURE__ */ jsx(TextSkeleton.Body, { className: "w-24" }),
|
|
117
|
-
/* @__PURE__ */ jsx(TextSkeleton.Caption, { className: "w-16" }),
|
|
118
|
-
showRating && /* @__PURE__ */ jsx("div", { className: "flex gap-1", children: Array.from({ length: 5 }).map((_, i) => /* @__PURE__ */ jsx(MediaSkeleton.Icon, { size: "sm" }, i)) })
|
|
119
|
-
] })
|
|
120
|
-
] }),
|
|
121
|
-
/* @__PURE__ */ jsxs("div", { className: "ml-11 space-y-2", children: [
|
|
122
|
-
/* @__PURE__ */ jsx(TextSkeleton.Body, { className: "w-full" }),
|
|
123
|
-
/* @__PURE__ */ jsx(TextSkeleton.Body, { className: "w-3/4" }),
|
|
124
|
-
/* @__PURE__ */ jsx(TextSkeleton.Body, { className: "w-1/2" })
|
|
125
|
-
] }),
|
|
126
|
-
/* @__PURE__ */ jsxs("div", { className: "ml-11 flex gap-4", children: [
|
|
127
|
-
/* @__PURE__ */ jsx(TextSkeleton.Caption, { className: "w-12" }),
|
|
128
|
-
/* @__PURE__ */ jsx(TextSkeleton.Caption, { className: "w-16" }),
|
|
129
|
-
/* @__PURE__ */ jsx(TextSkeleton.Caption, { className: "w-8" })
|
|
130
|
-
] }),
|
|
131
|
-
showReplies && /* @__PURE__ */ jsx("div", { className: "ml-11 space-y-4 border-l border-ods-divider pl-4", children: Array.from({ length: 2 }).map((_, index) => /* @__PURE__ */ jsxs("div", { className: "space-y-2", children: [
|
|
132
|
-
/* @__PURE__ */ jsxs("div", { className: "flex items-center gap-3", children: [
|
|
133
|
-
/* @__PURE__ */ jsx(MediaSkeleton.Avatar, { size: "sm" }),
|
|
134
|
-
/* @__PURE__ */ jsx(TextSkeleton.Body, { className: "w-20" }),
|
|
135
|
-
/* @__PURE__ */ jsx(TextSkeleton.Caption, { className: "w-12" })
|
|
136
|
-
] }),
|
|
137
|
-
/* @__PURE__ */ jsxs("div", { className: "ml-11", children: [
|
|
138
|
-
/* @__PURE__ */ jsx(TextSkeleton.Body, { className: "w-full" }),
|
|
139
|
-
/* @__PURE__ */ jsx(TextSkeleton.Body, { className: "w-2/3" })
|
|
140
|
-
] })
|
|
141
|
-
] }, index)) })
|
|
142
|
-
] });
|
|
143
|
-
}
|
|
144
|
-
function FeatureListSkeleton({
|
|
145
|
-
className,
|
|
146
|
-
features = 6,
|
|
147
|
-
showIcons = true,
|
|
148
|
-
grouped = false
|
|
149
|
-
}) {
|
|
150
|
-
if (grouped) {
|
|
151
|
-
return /* @__PURE__ */ jsx("div", { className: cn("space-y-6", className), children: Array.from({ length: 3 }).map((_, groupIndex) => /* @__PURE__ */ jsxs("div", { className: "space-y-3", children: [
|
|
152
|
-
/* @__PURE__ */ jsx(TextSkeleton.Subheading, { className: "w-1/3" }),
|
|
153
|
-
/* @__PURE__ */ jsx("div", { className: "space-y-2", children: Array.from({ length: features / 3 }).map((_feature, featureIndex) => /* @__PURE__ */ jsxs("div", { className: "flex items-center gap-3", children: [
|
|
154
|
-
showIcons && /* @__PURE__ */ jsx(MediaSkeleton.Icon, { size: "sm" }),
|
|
155
|
-
/* @__PURE__ */ jsx(TextSkeleton.Body, { className: "w-2/3" })
|
|
156
|
-
] }, featureIndex)) })
|
|
157
|
-
] }, groupIndex)) });
|
|
158
|
-
}
|
|
159
|
-
return /* @__PURE__ */ jsx("div", { className: cn("space-y-3", className), children: Array.from({ length: features }).map((_, index) => /* @__PURE__ */ jsxs("div", { className: "flex items-center gap-3", children: [
|
|
160
|
-
showIcons && /* @__PURE__ */ jsx(MediaSkeleton.Icon, { size: "sm" }),
|
|
161
|
-
/* @__PURE__ */ jsx(TextSkeleton.Body, { className: "w-2/3" })
|
|
162
|
-
] }, index)) });
|
|
163
|
-
}
|
|
164
|
-
function TimelineSkeleton({ className, items = 5 }) {
|
|
165
|
-
return /* @__PURE__ */ jsx("div", { className: cn("space-y-6", className), children: Array.from({ length: items }).map((_, index) => /* @__PURE__ */ jsxs("div", { className: "flex gap-4", children: [
|
|
166
|
-
/* @__PURE__ */ jsxs("div", { className: "flex flex-col items-center", children: [
|
|
167
|
-
/* @__PURE__ */ jsx(MediaSkeleton.Icon, { size: "sm" }),
|
|
168
|
-
index < items - 1 && /* @__PURE__ */ jsx("div", { className: "mt-2 h-12 w-px bg-ods-border" })
|
|
169
|
-
] }),
|
|
170
|
-
/* @__PURE__ */ jsxs("div", { className: "flex-1 space-y-2", children: [
|
|
171
|
-
/* @__PURE__ */ jsxs("div", { className: "flex items-center gap-3", children: [
|
|
172
|
-
/* @__PURE__ */ jsx(TextSkeleton.Body, { className: "w-1/3" }),
|
|
173
|
-
/* @__PURE__ */ jsx(TextSkeleton.Caption, { className: "w-16" })
|
|
174
|
-
] }),
|
|
175
|
-
/* @__PURE__ */ jsx(TextSkeleton.Body, { className: "w-full" }),
|
|
176
|
-
/* @__PURE__ */ jsx(TextSkeleton.Body, { className: "w-3/4" })
|
|
177
|
-
] })
|
|
178
|
-
] }, index)) });
|
|
179
|
-
}
|
|
180
|
-
function PricingSkeleton({ className, plans = 3 }) {
|
|
181
|
-
return /* @__PURE__ */ jsx(
|
|
182
|
-
"div",
|
|
183
|
-
{
|
|
184
|
-
className: cn(
|
|
185
|
-
"grid gap-6",
|
|
186
|
-
plans === 2 && "grid-cols-1 content-md:grid-cols-2",
|
|
187
|
-
plans === 3 && "grid-cols-1 content-md:grid-cols-3",
|
|
188
|
-
plans === 4 && "grid-cols-1 content-md:grid-cols-2 content-lg:grid-cols-4",
|
|
189
|
-
className
|
|
190
|
-
),
|
|
191
|
-
children: Array.from({ length: plans }).map((_, index) => /* @__PURE__ */ jsx("div", { className: "rounded-lg border border-ods-border bg-ods-card p-6", children: /* @__PURE__ */ jsxs("div", { className: "space-y-4", children: [
|
|
192
|
-
/* @__PURE__ */ jsx(TextSkeleton.Subheading, { className: "w-1/2" }),
|
|
193
|
-
/* @__PURE__ */ jsxs("div", { className: "space-y-1", children: [
|
|
194
|
-
/* @__PURE__ */ jsx(TextSkeleton.Heading, { className: "w-1/3" }),
|
|
195
|
-
/* @__PURE__ */ jsx(TextSkeleton.Caption, { className: "w-1/4" })
|
|
196
|
-
] }),
|
|
197
|
-
/* @__PURE__ */ jsx("div", { className: "space-y-3 py-4", children: Array.from({ length: 5 }).map((_feature, featureIndex) => /* @__PURE__ */ jsxs("div", { className: "flex items-center gap-2", children: [
|
|
198
|
-
/* @__PURE__ */ jsx(MediaSkeleton.Icon, { size: "sm" }),
|
|
199
|
-
/* @__PURE__ */ jsx(TextSkeleton.Body, { className: "w-3/4" })
|
|
200
|
-
] }, featureIndex)) }),
|
|
201
|
-
/* @__PURE__ */ jsx(InteractiveSkeleton.Button, { className: "w-full" })
|
|
202
|
-
] }) }, index))
|
|
203
|
-
}
|
|
204
|
-
);
|
|
205
|
-
}
|
|
206
|
-
export {
|
|
207
|
-
CommentSkeleton,
|
|
208
|
-
FeatureListSkeleton,
|
|
209
|
-
FormSkeleton,
|
|
210
|
-
ListSkeleton,
|
|
211
|
-
NavigationSkeleton,
|
|
212
|
-
ParagraphSkeleton,
|
|
213
|
-
PricingSkeleton,
|
|
214
|
-
ProfileSkeleton,
|
|
215
|
-
TableSkeleton,
|
|
216
|
-
TimelineSkeleton
|
|
217
|
-
};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"users-grid-skeleton.d.ts","sourceRoot":"","sources":["../../../src/components/loading/users-grid-skeleton.tsx"],"names":[],"mappings":"AAEA,UAAU,KAAK;IACb,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED,wBAAgB,iBAAiB,CAAC,EAAE,IAAS,EAAE,SAAS,EAAE,EAAE,KAAK,+BA4BhE"}
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
"use client";
|
|
2
|
-
import { jsx, jsxs } from "react/jsx-runtime";
|
|
3
|
-
import { cn } from "../../utils/cn.js";
|
|
4
|
-
function UsersGridSkeleton({ rows = 10, className }) {
|
|
5
|
-
const skeletonRows = Array.from({ length: rows });
|
|
6
|
-
return /* @__PURE__ */ jsx("div", { className: cn("animate-pulse overflow-x-auto rounded-lg border border-ods-border bg-ods-card", className), children: /* @__PURE__ */ jsxs("table", { className: "min-w-full divide-y divide-ods-border", children: [
|
|
7
|
-
/* @__PURE__ */ jsx("thead", { className: "bg-ods-skeleton", children: /* @__PURE__ */ jsx("tr", { children: ["Name", "Email", "Role", "Created", "Last Sign-In"].map((h) => /* @__PURE__ */ jsx("th", { className: "px-4 py-3 text-left text-ods-text-primary text-h6", children: h }, h)) }) }),
|
|
8
|
-
/* @__PURE__ */ jsx("tbody", { className: "divide-y divide-ods-border", children: skeletonRows.map((_, idx) => /* @__PURE__ */ jsx("tr", { children: Array.from({ length: 5 }).map((__, cell) => /* @__PURE__ */ jsx("td", { className: "whitespace-nowrap px-4 py-3", children: /* @__PURE__ */ jsx("div", { className: "h-4 w-full rounded bg-ods-border" }) }, cell)) }, idx)) })
|
|
9
|
-
] }) });
|
|
10
|
-
}
|
|
11
|
-
export {
|
|
12
|
-
UsersGridSkeleton
|
|
13
|
-
};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"release-detail-skeleton.d.ts","sourceRoot":"","sources":["../../../../src/components/shared/product-release/release-detail-skeleton.tsx"],"names":[],"mappings":"AAIA,wBAAgB,qBAAqB,gCAEpC"}
|