@blukavantui/community 0.0.0-stage → 1.0.1
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/LICENSE.txt +103 -0
- package/README.md +171 -2
- package/THIRD_PARTY_NOTICES.txt +58 -0
- package/assets/fonts/dm-sans-LICENSE.txt +93 -0
- package/assets/fonts/dm-sans-latin-ext-wght-italic.woff2 +0 -0
- package/assets/fonts/dm-sans-latin-ext-wght-normal.woff2 +0 -0
- package/assets/fonts/dm-sans-latin-wght-italic.woff2 +0 -0
- package/assets/fonts/dm-sans-latin-wght-normal.woff2 +0 -0
- package/assets/fonts/ibm-plex-mono-LICENSE.txt +93 -0
- package/assets/fonts/ibm-plex-mono-latin-100-italic.woff2 +0 -0
- package/assets/fonts/ibm-plex-mono-latin-100-normal.woff2 +0 -0
- package/assets/fonts/ibm-plex-mono-latin-200-italic.woff2 +0 -0
- package/assets/fonts/ibm-plex-mono-latin-200-normal.woff2 +0 -0
- package/assets/fonts/ibm-plex-mono-latin-300-italic.woff2 +0 -0
- package/assets/fonts/ibm-plex-mono-latin-300-normal.woff2 +0 -0
- package/assets/fonts/ibm-plex-mono-latin-400-italic.woff2 +0 -0
- package/assets/fonts/ibm-plex-mono-latin-400-normal.woff2 +0 -0
- package/assets/fonts/ibm-plex-mono-latin-500-italic.woff2 +0 -0
- package/assets/fonts/ibm-plex-mono-latin-500-normal.woff2 +0 -0
- package/assets/fonts/ibm-plex-mono-latin-600-italic.woff2 +0 -0
- package/assets/fonts/ibm-plex-mono-latin-600-normal.woff2 +0 -0
- package/assets/fonts/ibm-plex-mono-latin-700-italic.woff2 +0 -0
- package/assets/fonts/ibm-plex-mono-latin-700-normal.woff2 +0 -0
- package/assets/fonts/ibm-plex-mono-latin-ext-100-italic.woff2 +0 -0
- package/assets/fonts/ibm-plex-mono-latin-ext-100-normal.woff2 +0 -0
- package/assets/fonts/ibm-plex-mono-latin-ext-200-italic.woff2 +0 -0
- package/assets/fonts/ibm-plex-mono-latin-ext-200-normal.woff2 +0 -0
- package/assets/fonts/ibm-plex-mono-latin-ext-300-italic.woff2 +0 -0
- package/assets/fonts/ibm-plex-mono-latin-ext-300-normal.woff2 +0 -0
- package/assets/fonts/ibm-plex-mono-latin-ext-400-italic.woff2 +0 -0
- package/assets/fonts/ibm-plex-mono-latin-ext-400-normal.woff2 +0 -0
- package/assets/fonts/ibm-plex-mono-latin-ext-500-italic.woff2 +0 -0
- package/assets/fonts/ibm-plex-mono-latin-ext-500-normal.woff2 +0 -0
- package/assets/fonts/ibm-plex-mono-latin-ext-600-italic.woff2 +0 -0
- package/assets/fonts/ibm-plex-mono-latin-ext-600-normal.woff2 +0 -0
- package/assets/fonts/ibm-plex-mono-latin-ext-700-italic.woff2 +0 -0
- package/assets/fonts/ibm-plex-mono-latin-ext-700-normal.woff2 +0 -0
- package/assets/fonts/inter-LICENSE.txt +93 -0
- package/assets/fonts/inter-latin-ext-wght-italic.woff2 +0 -0
- package/assets/fonts/inter-latin-ext-wght-normal.woff2 +0 -0
- package/assets/fonts/inter-latin-wght-italic.woff2 +0 -0
- package/assets/fonts/inter-latin-wght-normal.woff2 +0 -0
- package/assets/fonts/jetbrains-mono-LICENSE.txt +93 -0
- package/assets/fonts/jetbrains-mono-latin-ext-wght-italic.woff2 +0 -0
- package/assets/fonts/jetbrains-mono-latin-ext-wght-normal.woff2 +0 -0
- package/assets/fonts/jetbrains-mono-latin-wght-italic.woff2 +0 -0
- package/assets/fonts/jetbrains-mono-latin-wght-normal.woff2 +0 -0
- package/assets/fonts/lora-LICENSE.txt +93 -0
- package/assets/fonts/lora-latin-ext-wght-italic.woff2 +0 -0
- package/assets/fonts/lora-latin-ext-wght-normal.woff2 +0 -0
- package/assets/fonts/lora-latin-wght-italic.woff2 +0 -0
- package/assets/fonts/lora-latin-wght-normal.woff2 +0 -0
- package/assets/fonts/manifest.json +618 -0
- package/assets/fonts/manrope-LICENSE.txt +93 -0
- package/assets/fonts/manrope-latin-ext-wght-normal.woff2 +0 -0
- package/assets/fonts/manrope-latin-wght-normal.woff2 +0 -0
- package/assets/fonts/merriweather-LICENSE.txt +93 -0
- package/assets/fonts/merriweather-latin-ext-wght-italic.woff2 +0 -0
- package/assets/fonts/merriweather-latin-ext-wght-normal.woff2 +0 -0
- package/assets/fonts/merriweather-latin-wght-italic.woff2 +0 -0
- package/assets/fonts/merriweather-latin-wght-normal.woff2 +0 -0
- package/assets/fonts/montserrat-LICENSE.txt +93 -0
- package/assets/fonts/montserrat-latin-ext-wght-italic.woff2 +0 -0
- package/assets/fonts/montserrat-latin-ext-wght-normal.woff2 +0 -0
- package/assets/fonts/montserrat-latin-wght-italic.woff2 +0 -0
- package/assets/fonts/montserrat-latin-wght-normal.woff2 +0 -0
- package/assets/fonts/playfair-display-LICENSE.txt +93 -0
- package/assets/fonts/playfair-display-latin-ext-wght-italic.woff2 +0 -0
- package/assets/fonts/playfair-display-latin-ext-wght-normal.woff2 +0 -0
- package/assets/fonts/playfair-display-latin-wght-italic.woff2 +0 -0
- package/assets/fonts/playfair-display-latin-wght-normal.woff2 +0 -0
- package/assets/fonts/roboto-LICENSE.txt +93 -0
- package/assets/fonts/roboto-latin-ext-wght-italic.woff2 +0 -0
- package/assets/fonts/roboto-latin-ext-wght-normal.woff2 +0 -0
- package/assets/fonts/roboto-latin-wght-italic.woff2 +0 -0
- package/assets/fonts/roboto-latin-wght-normal.woff2 +0 -0
- package/assets/fonts/source-sans-3-LICENSE.txt +93 -0
- package/assets/fonts/source-sans-3-latin-ext-wght-italic.woff2 +0 -0
- package/assets/fonts/source-sans-3-latin-ext-wght-normal.woff2 +0 -0
- package/assets/fonts/source-sans-3-latin-wght-italic.woff2 +0 -0
- package/assets/fonts/source-sans-3-latin-wght-normal.woff2 +0 -0
- package/dist/advanced-types.d.ts +114 -0
- package/dist/app-layout.css +115 -0
- package/dist/app-layout.d.ts +2 -0
- package/dist/app-layout.js +1 -0
- package/dist/badge.css +131 -0
- package/dist/badge.d.ts +2 -0
- package/dist/badge.js +1 -0
- package/dist/bluui-community-grid.js +72 -0
- package/dist/bluui-community.js +1 -0
- package/dist/breadcrumbs.css +77 -0
- package/dist/breadcrumbs.d.ts +2 -0
- package/dist/breadcrumbs.js +1 -0
- package/dist/build-audit.json +388 -0
- package/dist/button.css +625 -0
- package/dist/button.d.ts +2 -0
- package/dist/button.js +1 -0
- package/dist/card.css +119 -0
- package/dist/card.d.ts +2 -0
- package/dist/card.js +1 -0
- package/dist/cascader.css +152 -0
- package/dist/cascader.d.ts +2 -0
- package/dist/cascader.js +1 -0
- package/dist/chat-widget.css +121 -0
- package/dist/chat-widget.d.ts +2 -0
- package/dist/chat-widget.js +1 -0
- package/dist/chat.css +66 -0
- package/dist/chat.d.ts +2 -0
- package/dist/chat.js +1 -0
- package/dist/chip-group.css +44 -0
- package/dist/chip-group.d.ts +2 -0
- package/dist/chip-group.js +1 -0
- package/dist/chip.css +191 -0
- package/dist/chip.d.ts +2 -0
- package/dist/chip.js +1 -0
- package/dist/chunk-2HFI6CC6.js +0 -0
- package/dist/chunk-2MQNFEGJ.js +1 -0
- package/dist/chunk-2TCNAQC6.js +1 -0
- package/dist/chunk-3LWXPCWY.js +1 -0
- package/dist/chunk-3ZS5YITP.js +1 -0
- package/dist/chunk-4RM3B4L7.js +1 -0
- package/dist/chunk-4USJBOSC.js +1 -0
- package/dist/chunk-5TEIXA4R.js +1 -0
- package/dist/chunk-64LOE3FU.js +1 -0
- package/dist/chunk-6EHKOVZK.js +1 -0
- package/dist/chunk-6EJIIQNF.js +1 -0
- package/dist/chunk-6XOMFIPU.js +1 -0
- package/dist/chunk-75BQYII5.js +1 -0
- package/dist/chunk-7HXX66DB.js +3 -0
- package/dist/chunk-7KMRDQZG.js +0 -0
- package/dist/chunk-AICXIQKD.js +1 -0
- package/dist/chunk-BLDXIO7P.js +1 -0
- package/dist/chunk-C3CLLZH2.js +1 -0
- package/dist/chunk-CTLZIWMX.js +1 -0
- package/dist/chunk-CZXYS6CY.js +1 -0
- package/dist/chunk-GEG3TNB4.js +1 -0
- package/dist/chunk-GK3INPAZ.js +1 -0
- package/dist/chunk-H5IEGCAK.js +72 -0
- package/dist/chunk-H7ETPJVW.js +1 -0
- package/dist/chunk-IHKCC6WJ.js +1 -0
- package/dist/chunk-IIKSMXQE.js +1 -0
- package/dist/chunk-J7BV4KHG.js +1 -0
- package/dist/chunk-K2P2BHV5.js +1 -0
- package/dist/chunk-KBOMPMSI.js +1 -0
- package/dist/chunk-KR3UUTB2.js +1 -0
- package/dist/chunk-LGJVLEAH.js +1 -0
- package/dist/chunk-LJ4O6YTN.js +1 -0
- package/dist/chunk-MBC4UVTS.js +1 -0
- package/dist/chunk-MCVO25PZ.js +1 -0
- package/dist/chunk-MEEQNPGM.js +1 -0
- package/dist/chunk-MHHJZYXW.js +1 -0
- package/dist/chunk-MSMNEIWA.js +0 -0
- package/dist/chunk-MZBB5ROJ.js +1 -0
- package/dist/chunk-NB5PGEDY.js +1 -0
- package/dist/chunk-NTFHNL7T.js +1 -0
- package/dist/chunk-O3MRWAI5.js +1 -0
- package/dist/chunk-RGTLYBOY.js +3 -0
- package/dist/chunk-RZ5YSY7Y.js +0 -0
- package/dist/chunk-SDMH2EVD.js +1 -0
- package/dist/chunk-SEJUHKS5.js +1 -0
- package/dist/chunk-SIU7DSOA.js +1 -0
- package/dist/chunk-T45UAWNI.js +3 -0
- package/dist/chunk-TIXCZTJ7.js +0 -0
- package/dist/chunk-U4ZP73V4.js +1 -0
- package/dist/chunk-U73BNLZ3.js +1 -0
- package/dist/chunk-UEOCR2C3.js +2 -0
- package/dist/chunk-UUZ4HU7L.js +0 -0
- package/dist/chunk-VBRSAI3K.js +1 -0
- package/dist/chunk-W27NAI62.js +1 -0
- package/dist/chunk-W4SW4RWX.js +1 -0
- package/dist/chunk-WHA6UO5X.js +1 -0
- package/dist/chunk-XDYBNO4P.js +1 -0
- package/dist/chunk-XIOI5PKM.js +1 -0
- package/dist/chunk-Y4TCT2K6.js +1 -0
- package/dist/chunk-Y4WEMSE4.js +0 -0
- package/dist/collection-layout.css +30 -0
- package/dist/collection-layout.d.ts +2 -0
- package/dist/collection-layout.js +1 -0
- package/dist/colors.d.ts +2 -0
- package/dist/command-palette.css +35 -0
- package/dist/command-palette.d.ts +2 -0
- package/dist/command-palette.js +1 -0
- package/dist/component-factories/app-layout.d.ts +2 -0
- package/dist/component-factories/breadcrumbs.d.ts +2 -0
- package/dist/component-factories/cascader.d.ts +2 -0
- package/dist/component-factories/chat-widget.d.ts +2 -0
- package/dist/component-factories/chat.d.ts +2 -0
- package/dist/component-factories/collection-layout.d.ts +2 -0
- package/dist/component-factories/command-palette.d.ts +2 -0
- package/dist/component-factories/content-carousel.d.ts +2 -0
- package/dist/component-factories/dashboard-canvas.d.ts +3 -0
- package/dist/component-factories/dashboard-panel.d.ts +3 -0
- package/dist/component-factories/date-picker.d.ts +2 -0
- package/dist/component-factories/date-range-picker.d.ts +2 -0
- package/dist/component-factories/date-time-picker.d.ts +2 -0
- package/dist/component-factories/descriptions.d.ts +2 -0
- package/dist/component-factories/drawer.d.ts +2 -0
- package/dist/component-factories/float-button.d.ts +2 -0
- package/dist/component-factories/font-provider.d.ts +2 -0
- package/dist/component-factories/hero-section.d.ts +2 -0
- package/dist/component-factories/image-compare.d.ts +2 -0
- package/dist/component-factories/logo-cloud.d.ts +2 -0
- package/dist/component-factories/media-card.d.ts +2 -0
- package/dist/component-factories/media-image.d.ts +2 -0
- package/dist/component-factories/modal.d.ts +2 -0
- package/dist/component-factories/notification-center.d.ts +3 -0
- package/dist/component-factories/notification.d.ts +5 -0
- package/dist/component-factories/page-header.d.ts +2 -0
- package/dist/component-factories/page-layout.d.ts +2 -0
- package/dist/component-factories/pagination.d.ts +2 -0
- package/dist/component-factories/profile-card.d.ts +2 -0
- package/dist/component-factories/qr-code.d.ts +2 -0
- package/dist/component-factories/quote-card.d.ts +2 -0
- package/dist/component-factories/shape-mask.d.ts +2 -0
- package/dist/component-factories/sidebar.d.ts +2 -0
- package/dist/component-factories/sparkline.d.ts +2 -0
- package/dist/component-factories/split-section.d.ts +2 -0
- package/dist/component-factories/splitter.d.ts +2 -0
- package/dist/component-factories/statistic.d.ts +2 -0
- package/dist/component-factories/text-highlight.d.ts +2 -0
- package/dist/component-factories/time-picker.d.ts +2 -0
- package/dist/component-factories/timeline.d.ts +2 -0
- package/dist/component-factories/tour.d.ts +2 -0
- package/dist/component-factories/transfer-list.d.ts +2 -0
- package/dist/component-factories/tree-select.d.ts +2 -0
- package/dist/component-factories/tree-view.d.ts +2 -0
- package/dist/component-factories/upload-manager.d.ts +2 -0
- package/dist/component-factories/video-lightbox.d.ts +2 -0
- package/dist/component-factories/video-player.d.ts +2 -0
- package/dist/component-runtime.d.ts +2 -0
- package/dist/content-carousel.css +34 -0
- package/dist/content-carousel.d.ts +2 -0
- package/dist/content-carousel.js +1 -0
- package/dist/content.css +2085 -0
- package/dist/content.d.ts +13 -0
- package/dist/content.js +1 -0
- package/dist/core.css +1070 -0
- package/dist/core.d.ts +6 -0
- package/dist/core.js +1 -0
- package/dist/dashboard-canvas.css +49 -0
- package/dist/dashboard-canvas.d.ts +2 -0
- package/dist/dashboard-canvas.js +1 -0
- package/dist/dashboard-panel.css +2 -0
- package/dist/dashboard-panel.d.ts +2 -0
- package/dist/dashboard-panel.js +1 -0
- package/dist/data.css +813 -0
- package/dist/data.d.ts +9 -0
- package/dist/data.js +1 -0
- package/dist/date-picker.css +78 -0
- package/dist/date-picker.d.ts +2 -0
- package/dist/date-picker.js +1 -0
- package/dist/date-range-picker.css +78 -0
- package/dist/date-range-picker.d.ts +2 -0
- package/dist/date-range-picker.js +1 -0
- package/dist/date-time-picker.css +78 -0
- package/dist/date-time-picker.d.ts +2 -0
- package/dist/date-time-picker.js +1 -0
- package/dist/descriptions.css +113 -0
- package/dist/descriptions.d.ts +2 -0
- package/dist/descriptions.js +1 -0
- package/dist/dom.d.ts +7 -0
- package/dist/drawer.css +215 -0
- package/dist/drawer.d.ts +2 -0
- package/dist/drawer.js +1 -0
- package/dist/empty-state.css +110 -0
- package/dist/empty-state.d.ts +2 -0
- package/dist/empty-state.js +1 -0
- package/dist/essentials.css +1295 -0
- package/dist/essentials.d.ts +11 -0
- package/dist/essentials.js +1 -0
- package/dist/feedback.css +1136 -0
- package/dist/feedback.d.ts +10 -0
- package/dist/feedback.js +1 -0
- package/dist/float-button.css +28 -0
- package/dist/float-button.d.ts +2 -0
- package/dist/float-button.js +1 -0
- package/dist/font-provider.css +5 -0
- package/dist/font-provider.d.ts +2 -0
- package/dist/font-provider.js +1 -0
- package/dist/fonts/dm-sans-LICENSE.txt +93 -0
- package/dist/fonts/dm-sans-latin-ext-wght-italic.woff2 +0 -0
- package/dist/fonts/dm-sans-latin-ext-wght-normal.woff2 +0 -0
- package/dist/fonts/dm-sans-latin-wght-italic.woff2 +0 -0
- package/dist/fonts/dm-sans-latin-wght-normal.woff2 +0 -0
- package/dist/fonts/ibm-plex-mono-LICENSE.txt +93 -0
- package/dist/fonts/ibm-plex-mono-latin-100-italic.woff2 +0 -0
- package/dist/fonts/ibm-plex-mono-latin-100-normal.woff2 +0 -0
- package/dist/fonts/ibm-plex-mono-latin-200-italic.woff2 +0 -0
- package/dist/fonts/ibm-plex-mono-latin-200-normal.woff2 +0 -0
- package/dist/fonts/ibm-plex-mono-latin-300-italic.woff2 +0 -0
- package/dist/fonts/ibm-plex-mono-latin-300-normal.woff2 +0 -0
- package/dist/fonts/ibm-plex-mono-latin-400-italic.woff2 +0 -0
- package/dist/fonts/ibm-plex-mono-latin-400-normal.woff2 +0 -0
- package/dist/fonts/ibm-plex-mono-latin-500-italic.woff2 +0 -0
- package/dist/fonts/ibm-plex-mono-latin-500-normal.woff2 +0 -0
- package/dist/fonts/ibm-plex-mono-latin-600-italic.woff2 +0 -0
- package/dist/fonts/ibm-plex-mono-latin-600-normal.woff2 +0 -0
- package/dist/fonts/ibm-plex-mono-latin-700-italic.woff2 +0 -0
- package/dist/fonts/ibm-plex-mono-latin-700-normal.woff2 +0 -0
- package/dist/fonts/ibm-plex-mono-latin-ext-100-italic.woff2 +0 -0
- package/dist/fonts/ibm-plex-mono-latin-ext-100-normal.woff2 +0 -0
- package/dist/fonts/ibm-plex-mono-latin-ext-200-italic.woff2 +0 -0
- package/dist/fonts/ibm-plex-mono-latin-ext-200-normal.woff2 +0 -0
- package/dist/fonts/ibm-plex-mono-latin-ext-300-italic.woff2 +0 -0
- package/dist/fonts/ibm-plex-mono-latin-ext-300-normal.woff2 +0 -0
- package/dist/fonts/ibm-plex-mono-latin-ext-400-italic.woff2 +0 -0
- package/dist/fonts/ibm-plex-mono-latin-ext-400-normal.woff2 +0 -0
- package/dist/fonts/ibm-plex-mono-latin-ext-500-italic.woff2 +0 -0
- package/dist/fonts/ibm-plex-mono-latin-ext-500-normal.woff2 +0 -0
- package/dist/fonts/ibm-plex-mono-latin-ext-600-italic.woff2 +0 -0
- package/dist/fonts/ibm-plex-mono-latin-ext-600-normal.woff2 +0 -0
- package/dist/fonts/ibm-plex-mono-latin-ext-700-italic.woff2 +0 -0
- package/dist/fonts/ibm-plex-mono-latin-ext-700-normal.woff2 +0 -0
- package/dist/fonts/inter-LICENSE.txt +93 -0
- package/dist/fonts/inter-latin-ext-wght-italic.woff2 +0 -0
- package/dist/fonts/inter-latin-ext-wght-normal.woff2 +0 -0
- package/dist/fonts/inter-latin-wght-italic.woff2 +0 -0
- package/dist/fonts/inter-latin-wght-normal.woff2 +0 -0
- package/dist/fonts/jetbrains-mono-LICENSE.txt +93 -0
- package/dist/fonts/jetbrains-mono-latin-ext-wght-italic.woff2 +0 -0
- package/dist/fonts/jetbrains-mono-latin-ext-wght-normal.woff2 +0 -0
- package/dist/fonts/jetbrains-mono-latin-wght-italic.woff2 +0 -0
- package/dist/fonts/jetbrains-mono-latin-wght-normal.woff2 +0 -0
- package/dist/fonts/lora-LICENSE.txt +93 -0
- package/dist/fonts/lora-latin-ext-wght-italic.woff2 +0 -0
- package/dist/fonts/lora-latin-ext-wght-normal.woff2 +0 -0
- package/dist/fonts/lora-latin-wght-italic.woff2 +0 -0
- package/dist/fonts/lora-latin-wght-normal.woff2 +0 -0
- package/dist/fonts/manifest.json +618 -0
- package/dist/fonts/manrope-LICENSE.txt +93 -0
- package/dist/fonts/manrope-latin-ext-wght-normal.woff2 +0 -0
- package/dist/fonts/manrope-latin-wght-normal.woff2 +0 -0
- package/dist/fonts/merriweather-LICENSE.txt +93 -0
- package/dist/fonts/merriweather-latin-ext-wght-italic.woff2 +0 -0
- package/dist/fonts/merriweather-latin-ext-wght-normal.woff2 +0 -0
- package/dist/fonts/merriweather-latin-wght-italic.woff2 +0 -0
- package/dist/fonts/merriweather-latin-wght-normal.woff2 +0 -0
- package/dist/fonts/montserrat-LICENSE.txt +93 -0
- package/dist/fonts/montserrat-latin-ext-wght-italic.woff2 +0 -0
- package/dist/fonts/montserrat-latin-ext-wght-normal.woff2 +0 -0
- package/dist/fonts/montserrat-latin-wght-italic.woff2 +0 -0
- package/dist/fonts/montserrat-latin-wght-normal.woff2 +0 -0
- package/dist/fonts/playfair-display-LICENSE.txt +93 -0
- package/dist/fonts/playfair-display-latin-ext-wght-italic.woff2 +0 -0
- package/dist/fonts/playfair-display-latin-ext-wght-normal.woff2 +0 -0
- package/dist/fonts/playfair-display-latin-wght-italic.woff2 +0 -0
- package/dist/fonts/playfair-display-latin-wght-normal.woff2 +0 -0
- package/dist/fonts/roboto-LICENSE.txt +93 -0
- package/dist/fonts/roboto-latin-ext-wght-italic.woff2 +0 -0
- package/dist/fonts/roboto-latin-ext-wght-normal.woff2 +0 -0
- package/dist/fonts/roboto-latin-wght-italic.woff2 +0 -0
- package/dist/fonts/roboto-latin-wght-normal.woff2 +0 -0
- package/dist/fonts/source-sans-3-LICENSE.txt +93 -0
- package/dist/fonts/source-sans-3-latin-ext-wght-italic.woff2 +0 -0
- package/dist/fonts/source-sans-3-latin-ext-wght-normal.woff2 +0 -0
- package/dist/fonts/source-sans-3-latin-wght-italic.woff2 +0 -0
- package/dist/fonts/source-sans-3-latin-wght-normal.woff2 +0 -0
- package/dist/grid-basic.css +12 -0
- package/dist/grid-basic.d.ts +10 -0
- package/dist/grid-basic.js +1 -0
- package/dist/grid-spec.d.ts +37 -0
- package/dist/grid.css +12 -0
- package/dist/grid.d.ts +1 -0
- package/dist/grid.js +1 -0
- package/dist/hero-section.css +41 -0
- package/dist/hero-section.d.ts +2 -0
- package/dist/hero-section.js +1 -0
- package/dist/image-compare.css +35 -0
- package/dist/image-compare.d.ts +2 -0
- package/dist/image-compare.js +1 -0
- package/dist/index.d.ts +56 -0
- package/dist/index.js +1 -0
- package/dist/inputs.css +1524 -0
- package/dist/inputs.d.ts +8 -0
- package/dist/inputs.js +1 -0
- package/dist/layout.css +844 -0
- package/dist/layout.d.ts +8 -0
- package/dist/layout.js +1 -0
- package/dist/logo-cloud.css +33 -0
- package/dist/logo-cloud.d.ts +2 -0
- package/dist/logo-cloud.js +1 -0
- package/dist/marketing-template-layout.css +30 -0
- package/dist/media-card.css +41 -0
- package/dist/media-card.d.ts +2 -0
- package/dist/media-card.js +1 -0
- package/dist/media-image.css +531 -0
- package/dist/media-image.d.ts +2 -0
- package/dist/media-image.js +1 -0
- package/dist/modal.css +210 -0
- package/dist/modal.d.ts +2 -0
- package/dist/modal.js +1 -0
- package/dist/native/app-layout.js +1 -0
- package/dist/native/cascader.js +1 -0
- package/dist/native/chat-widget.js +3 -0
- package/dist/native/chat.js +3 -0
- package/dist/native/collection-layout.js +1 -0
- package/dist/native/command-palette.js +1 -0
- package/dist/native/content-carousel.js +1 -0
- package/dist/native/dashboard-canvas.js +1 -0
- package/dist/native/date-picker.js +1 -0
- package/dist/native/date-range-picker.js +1 -0
- package/dist/native/date-time-picker.js +1 -0
- package/dist/native/descriptions.js +1 -0
- package/dist/native/drawer.js +1 -0
- package/dist/native/float-button.js +1 -0
- package/dist/native/font-provider.js +1 -0
- package/dist/native/hero-section.js +1 -0
- package/dist/native/image-compare.js +1 -0
- package/dist/native/logo-cloud.js +1 -0
- package/dist/native/media-card.js +1 -0
- package/dist/native/media-image.js +1 -0
- package/dist/native/modal.js +1 -0
- package/dist/native/notification-center.js +1 -0
- package/dist/native/notification.js +2 -0
- package/dist/native/page-layout.js +1 -0
- package/dist/native/pagination.js +1 -0
- package/dist/native/profile-card.js +1 -0
- package/dist/native/qr-code.js +3 -0
- package/dist/native/quote-card.js +1 -0
- package/dist/native/shape-mask.js +1 -0
- package/dist/native/sparkline.js +1 -0
- package/dist/native/split-section.js +1 -0
- package/dist/native/splitter.js +1 -0
- package/dist/native/statistic.js +1 -0
- package/dist/native/text-highlight.js +1 -0
- package/dist/native/time-picker.js +1 -0
- package/dist/native/timeline.js +1 -0
- package/dist/native/tour.js +1 -0
- package/dist/native/transfer-list.js +1 -0
- package/dist/native/tree-select.js +1 -0
- package/dist/native/tree-view.js +1 -0
- package/dist/native/upload-manager.js +1 -0
- package/dist/native/video-lightbox.js +1 -0
- package/dist/native/video-player.js +1 -0
- package/dist/native-base.d.ts +1 -0
- package/dist/native-components/app-layout.d.ts +1 -0
- package/dist/native-components/cascader.d.ts +1 -0
- package/dist/native-components/chat-widget.d.ts +1 -0
- package/dist/native-components/chat.d.ts +1 -0
- package/dist/native-components/collection-layout.d.ts +1 -0
- package/dist/native-components/command-palette.d.ts +1 -0
- package/dist/native-components/content-carousel.d.ts +1 -0
- package/dist/native-components/dashboard-canvas.d.ts +1 -0
- package/dist/native-components/date-picker.d.ts +1 -0
- package/dist/native-components/date-range-picker.d.ts +1 -0
- package/dist/native-components/date-time-picker.d.ts +1 -0
- package/dist/native-components/descriptions.d.ts +1 -0
- package/dist/native-components/drawer.d.ts +1 -0
- package/dist/native-components/float-button.d.ts +1 -0
- package/dist/native-components/font-provider.d.ts +1 -0
- package/dist/native-components/hero-section.d.ts +1 -0
- package/dist/native-components/image-compare.d.ts +1 -0
- package/dist/native-components/logo-cloud.d.ts +1 -0
- package/dist/native-components/media-card.d.ts +1 -0
- package/dist/native-components/media-image.d.ts +1 -0
- package/dist/native-components/modal.d.ts +1 -0
- package/dist/native-components/notification-center.d.ts +1 -0
- package/dist/native-components/notification.d.ts +1 -0
- package/dist/native-components/page-layout.d.ts +1 -0
- package/dist/native-components/pagination.d.ts +1 -0
- package/dist/native-components/profile-card.d.ts +1 -0
- package/dist/native-components/qr-code.d.ts +1 -0
- package/dist/native-components/quote-card.d.ts +1 -0
- package/dist/native-components/shape-mask.d.ts +1 -0
- package/dist/native-components/sparkline.d.ts +1 -0
- package/dist/native-components/split-section.d.ts +1 -0
- package/dist/native-components/splitter.d.ts +1 -0
- package/dist/native-components/statistic.d.ts +1 -0
- package/dist/native-components/text-highlight.d.ts +1 -0
- package/dist/native-components/time-picker.d.ts +1 -0
- package/dist/native-components/timeline.d.ts +1 -0
- package/dist/native-components/tour.d.ts +1 -0
- package/dist/native-components/transfer-list.d.ts +1 -0
- package/dist/native-components/tree-select.d.ts +1 -0
- package/dist/native-components/tree-view.d.ts +1 -0
- package/dist/native-components/upload-manager.d.ts +1 -0
- package/dist/native-components/video-lightbox.d.ts +1 -0
- package/dist/native-components/video-player.d.ts +1 -0
- package/dist/native-grid.d.ts +1 -0
- package/dist/native.d.ts +1 -0
- package/dist/notification-center.css +49 -0
- package/dist/notification-center.d.ts +2 -0
- package/dist/notification-center.js +1 -0
- package/dist/notification.css +155 -0
- package/dist/notification.d.ts +2 -0
- package/dist/notification.js +1 -0
- package/dist/page-header.css +184 -0
- package/dist/page-header.d.ts +2 -0
- package/dist/page-header.js +1 -0
- package/dist/page-layout.css +117 -0
- package/dist/page-layout.d.ts +2 -0
- package/dist/page-layout.js +1 -0
- package/dist/pagination.css +127 -0
- package/dist/pagination.d.ts +2 -0
- package/dist/pagination.js +1 -0
- package/dist/primitives.d.ts +1 -0
- package/dist/profile-card.css +484 -0
- package/dist/profile-card.d.ts +2 -0
- package/dist/profile-card.js +1 -0
- package/dist/qr-code.css +125 -0
- package/dist/qr-code.d.ts +2 -0
- package/dist/qr-code.js +1 -0
- package/dist/quote-card.css +30 -0
- package/dist/quote-card.d.ts +2 -0
- package/dist/quote-card.js +1 -0
- package/dist/shape-mask.css +10 -0
- package/dist/shape-mask.d.ts +2 -0
- package/dist/shape-mask.js +1 -0
- package/dist/sidebar.css +183 -0
- package/dist/sidebar.d.ts +2 -0
- package/dist/sidebar.js +1 -0
- package/dist/sizes.json +1012 -0
- package/dist/skeleton.css +69 -0
- package/dist/skeleton.d.ts +2 -0
- package/dist/skeleton.js +1 -0
- package/dist/sparkline.css +38 -0
- package/dist/sparkline.d.ts +2 -0
- package/dist/sparkline.js +1 -0
- package/dist/split-section.css +34 -0
- package/dist/split-section.d.ts +2 -0
- package/dist/split-section.js +1 -0
- package/dist/splitter.css +32 -0
- package/dist/splitter.d.ts +2 -0
- package/dist/splitter.js +1 -0
- package/dist/statistic.css +107 -0
- package/dist/statistic.d.ts +2 -0
- package/dist/statistic.js +1 -0
- package/dist/styles.css +8882 -0
- package/dist/text-highlight.css +49 -0
- package/dist/text-highlight.d.ts +2 -0
- package/dist/text-highlight.js +1 -0
- package/dist/theme-runtime.d.ts +1 -0
- package/dist/theme.css +1391 -0
- package/dist/theme.d.ts +10 -0
- package/dist/theme.js +1 -0
- package/dist/time-picker.css +78 -0
- package/dist/time-picker.d.ts +2 -0
- package/dist/time-picker.js +1 -0
- package/dist/timeline.css +126 -0
- package/dist/timeline.d.ts +2 -0
- package/dist/timeline.js +1 -0
- package/dist/tour.css +138 -0
- package/dist/tour.d.ts +2 -0
- package/dist/tour.js +1 -0
- package/dist/transfer-list.css +878 -0
- package/dist/transfer-list.d.ts +2 -0
- package/dist/transfer-list.js +1 -0
- package/dist/tree-select.css +135 -0
- package/dist/tree-select.d.ts +2 -0
- package/dist/tree-select.js +1 -0
- package/dist/tree-view.css +118 -0
- package/dist/tree-view.d.ts +2 -0
- package/dist/tree-view.js +1 -0
- package/dist/types.d.ts +1284 -0
- package/dist/upload-manager.css +40 -0
- package/dist/upload-manager.d.ts +2 -0
- package/dist/upload-manager.js +1 -0
- package/dist/video-lightbox.css +639 -0
- package/dist/video-lightbox.d.ts +2 -0
- package/dist/video-lightbox.js +1 -0
- package/dist/video-player.css +92 -0
- package/dist/video-player.d.ts +2 -0
- package/dist/video-player.js +1 -0
- package/docs/PUBLISHING.md +25 -0
- package/edition.json +245 -0
- package/npm-shrinkwrap.json +554 -0
- package/package.json +391 -4
- package/scripts/build.mjs +34 -0
- package/scripts/verify-package.mjs +136 -0
- package/src/advanced-types.ts +89 -0
- package/src/app-layout.ts +2 -0
- package/src/badge.ts +2 -0
- package/src/breadcrumbs.ts +2 -0
- package/src/button.ts +2 -0
- package/src/card.ts +2 -0
- package/src/cascader.ts +2 -0
- package/src/chat-widget.ts +2 -0
- package/src/chat.ts +2 -0
- package/src/chip-group.ts +2 -0
- package/src/chip.ts +2 -0
- package/src/collection-layout.ts +2 -0
- package/src/colors.ts +3 -0
- package/src/command-palette.ts +2 -0
- package/src/component-factories/app-layout.ts +8 -0
- package/src/component-factories/breadcrumbs.ts +45 -0
- package/src/component-factories/cascader.ts +11 -0
- package/src/component-factories/chat-widget.ts +12 -0
- package/src/component-factories/chat.ts +10 -0
- package/src/component-factories/collection-layout.ts +5 -0
- package/src/component-factories/command-palette.ts +79 -0
- package/src/component-factories/content-carousel.ts +5 -0
- package/src/component-factories/dashboard-canvas.ts +11 -0
- package/src/component-factories/dashboard-panel.ts +9 -0
- package/src/component-factories/date-picker.ts +6 -0
- package/src/component-factories/date-range-picker.ts +6 -0
- package/src/component-factories/date-time-picker.ts +6 -0
- package/src/component-factories/descriptions.ts +11 -0
- package/src/component-factories/drawer.ts +12 -0
- package/src/component-factories/float-button.ts +7 -0
- package/src/component-factories/font-provider.ts +6 -0
- package/src/component-factories/hero-section.ts +5 -0
- package/src/component-factories/image-compare.ts +5 -0
- package/src/component-factories/logo-cloud.ts +5 -0
- package/src/component-factories/media-card.ts +5 -0
- package/src/component-factories/media-image.ts +5 -0
- package/src/component-factories/modal.ts +12 -0
- package/src/component-factories/notification-center.ts +13 -0
- package/src/component-factories/notification.ts +16 -0
- package/src/component-factories/page-header.ts +73 -0
- package/src/component-factories/page-layout.ts +8 -0
- package/src/component-factories/pagination.ts +11 -0
- package/src/component-factories/profile-card.ts +5 -0
- package/src/component-factories/qr-code.ts +11 -0
- package/src/component-factories/quote-card.ts +5 -0
- package/src/component-factories/shape-mask.ts +6 -0
- package/src/component-factories/sidebar.ts +98 -0
- package/src/component-factories/sparkline.ts +8 -0
- package/src/component-factories/split-section.ts +5 -0
- package/src/component-factories/splitter.ts +105 -0
- package/src/component-factories/statistic.ts +10 -0
- package/src/component-factories/text-highlight.ts +5 -0
- package/src/component-factories/time-picker.ts +6 -0
- package/src/component-factories/timeline.ts +11 -0
- package/src/component-factories/tour.ts +13 -0
- package/src/component-factories/transfer-list.ts +159 -0
- package/src/component-factories/tree-select.ts +83 -0
- package/src/component-factories/tree-view.ts +115 -0
- package/src/component-factories/upload-manager.ts +76 -0
- package/src/component-factories/video-lightbox.ts +5 -0
- package/src/component-factories/video-player.ts +5 -0
- package/src/component-runtime.ts +20 -0
- package/src/content-carousel.ts +2 -0
- package/src/content.ts +13 -0
- package/src/core.ts +6 -0
- package/src/dashboard-canvas.ts +2 -0
- package/src/dashboard-panel.ts +2 -0
- package/src/data.ts +9 -0
- package/src/date-picker.ts +2 -0
- package/src/date-range-picker.ts +2 -0
- package/src/date-time-picker.ts +2 -0
- package/src/descriptions.ts +2 -0
- package/src/dom.ts +65 -0
- package/src/drawer.ts +2 -0
- package/src/empty-state.ts +2 -0
- package/src/essentials.ts +180 -0
- package/src/feedback.ts +10 -0
- package/src/float-button.ts +2 -0
- package/src/font-provider.ts +2 -0
- package/src/grid-basic.ts +46 -0
- package/src/grid-spec.ts +93 -0
- package/src/grid.ts +1 -0
- package/src/hero-section.ts +2 -0
- package/src/image-compare.ts +2 -0
- package/src/index.ts +56 -0
- package/src/inputs.ts +8 -0
- package/src/layout.ts +8 -0
- package/src/logo-cloud.ts +2 -0
- package/src/media-card.ts +2 -0
- package/src/media-image.ts +2 -0
- package/src/modal.ts +2 -0
- package/src/native-base.ts +20 -0
- package/src/native-components/app-layout.ts +2 -0
- package/src/native-components/cascader.ts +2 -0
- package/src/native-components/chat-widget.ts +2 -0
- package/src/native-components/chat.ts +2 -0
- package/src/native-components/collection-layout.ts +2 -0
- package/src/native-components/command-palette.ts +2 -0
- package/src/native-components/content-carousel.ts +2 -0
- package/src/native-components/dashboard-canvas.ts +2 -0
- package/src/native-components/date-picker.ts +2 -0
- package/src/native-components/date-range-picker.ts +2 -0
- package/src/native-components/date-time-picker.ts +2 -0
- package/src/native-components/descriptions.ts +2 -0
- package/src/native-components/drawer.ts +2 -0
- package/src/native-components/float-button.ts +2 -0
- package/src/native-components/font-provider.ts +2 -0
- package/src/native-components/hero-section.ts +2 -0
- package/src/native-components/image-compare.ts +2 -0
- package/src/native-components/logo-cloud.ts +2 -0
- package/src/native-components/media-card.ts +2 -0
- package/src/native-components/media-image.ts +2 -0
- package/src/native-components/modal.ts +2 -0
- package/src/native-components/notification-center.ts +2 -0
- package/src/native-components/notification.ts +2 -0
- package/src/native-components/page-layout.ts +2 -0
- package/src/native-components/pagination.ts +2 -0
- package/src/native-components/profile-card.ts +2 -0
- package/src/native-components/qr-code.ts +2 -0
- package/src/native-components/quote-card.ts +2 -0
- package/src/native-components/shape-mask.ts +2 -0
- package/src/native-components/sparkline.ts +2 -0
- package/src/native-components/split-section.ts +2 -0
- package/src/native-components/splitter.ts +2 -0
- package/src/native-components/statistic.ts +2 -0
- package/src/native-components/text-highlight.ts +2 -0
- package/src/native-components/time-picker.ts +2 -0
- package/src/native-components/timeline.ts +2 -0
- package/src/native-components/tour.ts +2 -0
- package/src/native-components/transfer-list.ts +2 -0
- package/src/native-components/tree-select.ts +2 -0
- package/src/native-components/tree-view.ts +2 -0
- package/src/native-components/upload-manager.ts +2 -0
- package/src/native-components/video-lightbox.ts +2 -0
- package/src/native-components/video-player.ts +2 -0
- package/src/native-grid.ts +3 -0
- package/src/native.ts +3 -0
- package/src/notification-center.ts +2 -0
- package/src/notification.ts +2 -0
- package/src/page-header.ts +2 -0
- package/src/page-layout.ts +2 -0
- package/src/pagination.ts +2 -0
- package/src/primitives.ts +1 -0
- package/src/profile-card.ts +2 -0
- package/src/qr-code.ts +2 -0
- package/src/quote-card.ts +2 -0
- package/src/runtime/app-layout.d.ts +1 -0
- package/src/runtime/app-layout.js +168 -0
- package/src/runtime/cascader.d.ts +1 -0
- package/src/runtime/cascader.js +381 -0
- package/src/runtime/chat-widget.d.ts +1 -0
- package/src/runtime/chat-widget.js +630 -0
- package/src/runtime/chat.d.ts +1 -0
- package/src/runtime/chat.js +461 -0
- package/src/runtime/collection-layout.d.ts +1 -0
- package/src/runtime/collection-layout.js +269 -0
- package/src/runtime/command-palette.d.ts +1 -0
- package/src/runtime/command-palette.js +302 -0
- package/src/runtime/content-carousel.d.ts +1 -0
- package/src/runtime/content-carousel.js +282 -0
- package/src/runtime/dashboard-canvas.d.ts +1 -0
- package/src/runtime/dashboard-canvas.js +493 -0
- package/src/runtime/date-picker.d.ts +1 -0
- package/src/runtime/date-picker.js +817 -0
- package/src/runtime/date-range-picker.d.ts +1 -0
- package/src/runtime/date-range-picker.js +817 -0
- package/src/runtime/date-time-picker.d.ts +1 -0
- package/src/runtime/date-time-picker.js +817 -0
- package/src/runtime/descriptions.d.ts +1 -0
- package/src/runtime/descriptions.js +220 -0
- package/src/runtime/drawer.d.ts +1 -0
- package/src/runtime/drawer.js +287 -0
- package/src/runtime/empty-state.d.ts +1 -0
- package/src/runtime/empty-state.js +178 -0
- package/src/runtime/float-button.d.ts +1 -0
- package/src/runtime/float-button.js +171 -0
- package/src/runtime/font-provider.d.ts +1 -0
- package/src/runtime/font-provider.js +694 -0
- package/src/runtime/hero-section.d.ts +1 -0
- package/src/runtime/hero-section.js +186 -0
- package/src/runtime/image-compare.d.ts +1 -0
- package/src/runtime/image-compare.js +242 -0
- package/src/runtime/kernel.js +8 -0
- package/src/runtime/logo-cloud.d.ts +1 -0
- package/src/runtime/logo-cloud.js +163 -0
- package/src/runtime/media-card.d.ts +1 -0
- package/src/runtime/media-card.js +189 -0
- package/src/runtime/media-image.d.ts +1 -0
- package/src/runtime/media-image.js +480 -0
- package/src/runtime/modal.d.ts +1 -0
- package/src/runtime/modal.js +287 -0
- package/src/runtime/notification-center.d.ts +1 -0
- package/src/runtime/notification-center.js +417 -0
- package/src/runtime/notification.d.ts +1 -0
- package/src/runtime/notification.js +347 -0
- package/src/runtime/page-layout.d.ts +1 -0
- package/src/runtime/page-layout.js +105 -0
- package/src/runtime/pagination.d.ts +1 -0
- package/src/runtime/pagination.js +274 -0
- package/src/runtime/profile-card.d.ts +1 -0
- package/src/runtime/profile-card.js +512 -0
- package/src/runtime/qr-code.d.ts +1 -0
- package/src/runtime/qr-code.js +1942 -0
- package/src/runtime/quote-card.d.ts +1 -0
- package/src/runtime/quote-card.js +153 -0
- package/src/runtime/shape-mask.d.ts +1 -0
- package/src/runtime/shape-mask.js +211 -0
- package/src/runtime/sparkline.d.ts +1 -0
- package/src/runtime/sparkline.js +197 -0
- package/src/runtime/split-section.d.ts +1 -0
- package/src/runtime/split-section.js +148 -0
- package/src/runtime/splitter.d.ts +1 -0
- package/src/runtime/splitter.js +278 -0
- package/src/runtime/statistic.d.ts +1 -0
- package/src/runtime/statistic.js +204 -0
- package/src/runtime/text-highlight.d.ts +1 -0
- package/src/runtime/text-highlight.js +194 -0
- package/src/runtime/time-picker.d.ts +1 -0
- package/src/runtime/time-picker.js +817 -0
- package/src/runtime/timeline.d.ts +1 -0
- package/src/runtime/timeline.js +213 -0
- package/src/runtime/tour.d.ts +1 -0
- package/src/runtime/tour.js +412 -0
- package/src/runtime/transfer.d.ts +1 -0
- package/src/runtime/transfer.js +88 -0
- package/src/runtime/tree-select.d.ts +1 -0
- package/src/runtime/tree-select.js +420 -0
- package/src/runtime/tree.d.ts +1 -0
- package/src/runtime/tree.js +302 -0
- package/src/runtime/upload-manager.d.ts +1 -0
- package/src/runtime/upload-manager.js +408 -0
- package/src/runtime/video-lightbox.d.ts +1 -0
- package/src/runtime/video-lightbox.js +1117 -0
- package/src/runtime/video-player.d.ts +1 -0
- package/src/runtime/video-player.js +770 -0
- package/src/shape-mask.ts +2 -0
- package/src/sidebar.ts +2 -0
- package/src/skeleton.ts +2 -0
- package/src/sparkline.ts +2 -0
- package/src/split-section.ts +2 -0
- package/src/splitter.ts +2 -0
- package/src/statistic.ts +2 -0
- package/src/text-highlight.ts +2 -0
- package/src/theme-runtime.ts +70 -0
- package/src/theme.ts +32 -0
- package/src/time-picker.ts +2 -0
- package/src/timeline.ts +2 -0
- package/src/tour.ts +2 -0
- package/src/transfer-list.ts +2 -0
- package/src/tree-select.ts +2 -0
- package/src/tree-view.ts +2 -0
- package/src/types.ts +1299 -0
- package/src/upload-manager.ts +2 -0
- package/src/video-lightbox.ts +2 -0
- package/src/video-player.ts +2 -0
- package/styles/app-layout.css +115 -0
- package/styles/badge.css +131 -0
- package/styles/breadcrumbs.css +77 -0
- package/styles/button.css +625 -0
- package/styles/card.css +119 -0
- package/styles/cascader.css +152 -0
- package/styles/chat-widget.css +121 -0
- package/styles/chat.css +66 -0
- package/styles/chip-group.css +44 -0
- package/styles/chip.css +191 -0
- package/styles/collection-layout.css +30 -0
- package/styles/command-palette.css +35 -0
- package/styles/content-carousel.css +34 -0
- package/styles/dashboard-canvas.css +49 -0
- package/styles/dashboard-panel.css +2 -0
- package/styles/date-picker.css +78 -0
- package/styles/date-range-picker.css +78 -0
- package/styles/date-time-picker.css +78 -0
- package/styles/descriptions.css +113 -0
- package/styles/drawer.css +215 -0
- package/styles/empty-state.css +110 -0
- package/styles/float-button.css +28 -0
- package/styles/font-provider.css +5 -0
- package/styles/grid-basic.css +12 -0
- package/styles/hero-section.css +41 -0
- package/styles/image-compare.css +35 -0
- package/styles/logo-cloud.css +33 -0
- package/styles/marketing-template-layout.css +30 -0
- package/styles/media-card.css +41 -0
- package/styles/media-image.css +531 -0
- package/styles/modal.css +210 -0
- package/styles/notification-center.css +49 -0
- package/styles/notification.css +155 -0
- package/styles/page-header.css +184 -0
- package/styles/page-layout.css +117 -0
- package/styles/pagination.css +127 -0
- package/styles/profile-card.css +484 -0
- package/styles/qr-code.css +125 -0
- package/styles/quote-card.css +30 -0
- package/styles/shape-mask.css +10 -0
- package/styles/sidebar.css +183 -0
- package/styles/skeleton.css +69 -0
- package/styles/sparkline.css +38 -0
- package/styles/split-section.css +34 -0
- package/styles/splitter.css +32 -0
- package/styles/statistic.css +107 -0
- package/styles/text-highlight.css +49 -0
- package/styles/theme.css +1391 -0
- package/styles/time-picker.css +78 -0
- package/styles/timeline.css +126 -0
- package/styles/tour.css +138 -0
- package/styles/transfer-list.css +878 -0
- package/styles/tree-select.css +135 -0
- package/styles/tree-view.css +118 -0
- package/styles/upload-manager.css +40 -0
- package/styles/video-lightbox.css +639 -0
- package/styles/video-player.css +92 -0
- package/test/contracts.test.mjs +8 -0
- package/test/isolation.test.mjs +36 -0
- package/tsconfig.json +20 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export function installTimeline(): any;
|
|
@@ -0,0 +1,213 @@
|
|
|
1
|
+
// ../blu-grid/docs/scripts/modules/qr-encoder.js
|
|
2
|
+
import { global } from "./kernel.js";
|
|
3
|
+
|
|
4
|
+
// ../blu-grid/docs/scripts/modules/common.js
|
|
5
|
+
import { global as global2, runtime, state, register } from "./kernel.js";
|
|
6
|
+
var shared = /* @__PURE__ */ state("common", () => ({ instances: /* @__PURE__ */ new Map(), hosts: /* @__PURE__ */ new Map(), serial: 0, overlays: [], inertState: /* @__PURE__ */ new Map(), oldOverflow: void 0 }));
|
|
7
|
+
var colors = /* @__PURE__ */ "default primary secondary success processing warning error danger magenta red volcano orange gold lime green cyan blue geekblue purple".split(" ");
|
|
8
|
+
function el(tag, cls, text) {
|
|
9
|
+
var n = document.createElement(tag);
|
|
10
|
+
if (cls) n.className = cls;
|
|
11
|
+
if (text !== void 0) n.textContent = text;
|
|
12
|
+
return n;
|
|
13
|
+
}
|
|
14
|
+
function at(n, key, value) {
|
|
15
|
+
n.setAttribute(key, String(value));
|
|
16
|
+
return n;
|
|
17
|
+
}
|
|
18
|
+
function clear(n) {
|
|
19
|
+
while (n.firstChild) n.removeChild(n.firstChild);
|
|
20
|
+
}
|
|
21
|
+
function btn(text, fn, primary) {
|
|
22
|
+
var n = el("button", "blu-common-button" + (primary ? " blu-common-button--primary" : ""), text);
|
|
23
|
+
n.type = "button";
|
|
24
|
+
n.addEventListener("click", fn);
|
|
25
|
+
return n;
|
|
26
|
+
}
|
|
27
|
+
function color(v) {
|
|
28
|
+
v = String(v || "Default").toLowerCase();
|
|
29
|
+
if (colors.indexOf(v) < 0) throw Error("Unknown ComponentColor: " + v);
|
|
30
|
+
return v;
|
|
31
|
+
}
|
|
32
|
+
function tint(n, v) {
|
|
33
|
+
v = color(v);
|
|
34
|
+
n.style.setProperty("--blu-common-color", "var(--bluui-color-" + v + "-text)");
|
|
35
|
+
n.style.setProperty("--blu-common-soft", "var(--bluui-color-" + v + "-soft)");
|
|
36
|
+
n.style.setProperty("--blu-common-solid", "var(--bluui-color-" + v + "-solid)");
|
|
37
|
+
}
|
|
38
|
+
function list(raw, max) {
|
|
39
|
+
var a = typeof raw === "string" ? JSON.parse(raw || "[]") : raw || [];
|
|
40
|
+
if (!Array.isArray(a) || a.length > max) throw Error("Expected a list with at most " + max + " items.");
|
|
41
|
+
return a;
|
|
42
|
+
}
|
|
43
|
+
function keyed(raw, max) {
|
|
44
|
+
var seen = /* @__PURE__ */ new Set();
|
|
45
|
+
return list(raw, max).map(function(r) {
|
|
46
|
+
if (!r || typeof r.Key !== "string" || !r.Key.trim() || seen.has(r.Key)) throw Error("Every item needs a unique, nonempty Key.");
|
|
47
|
+
seen.add(r.Key);
|
|
48
|
+
return r;
|
|
49
|
+
});
|
|
50
|
+
}
|
|
51
|
+
function emit(s, name) {
|
|
52
|
+
if (s.dead || s.host._bluCommonOwner !== s.key || !s.events[name]) return;
|
|
53
|
+
var args = Array.prototype.slice.call(arguments, 2);
|
|
54
|
+
try {
|
|
55
|
+
Promise.resolve(s.events[name].apply(null, args)).catch(function(e) {
|
|
56
|
+
if (name !== "Error") error(s, e.message || String(e));
|
|
57
|
+
});
|
|
58
|
+
} catch (e) {
|
|
59
|
+
if (name !== "Error") error(s, e.message || String(e));
|
|
60
|
+
}
|
|
61
|
+
}
|
|
62
|
+
function error(s, message) {
|
|
63
|
+
if (!s.error) {
|
|
64
|
+
s.error = at(el("p", "blu-common-error"), "role", "alert");
|
|
65
|
+
s.host.append(s.error);
|
|
66
|
+
}
|
|
67
|
+
s.error.textContent = message;
|
|
68
|
+
s.error.hidden = !message;
|
|
69
|
+
if (message && message !== s.lastError) emit(s, "Error", message);
|
|
70
|
+
s.lastError = message;
|
|
71
|
+
}
|
|
72
|
+
function begin(id, options, events, key, kind) {
|
|
73
|
+
var host = document.getElementById(id);
|
|
74
|
+
if (!host) return null;
|
|
75
|
+
key = key || id;
|
|
76
|
+
var s = shared.instances.get(key);
|
|
77
|
+
if (s && s.host !== host) {
|
|
78
|
+
destroy(key);
|
|
79
|
+
s = null;
|
|
80
|
+
}
|
|
81
|
+
if (host._bluCommonOwner && host._bluCommonOwner !== key) destroy(host._bluCommonOwner);
|
|
82
|
+
if (!s) {
|
|
83
|
+
s = { host, key, kind, uid: "blu-common-" + ++shared.serial, cleanup: [], events: {}, options: {} };
|
|
84
|
+
shared.instances.set(key, s);
|
|
85
|
+
}
|
|
86
|
+
host._bluCommonOwner = key;
|
|
87
|
+
s.options = options || {};
|
|
88
|
+
s.events = events || {};
|
|
89
|
+
at(host, "data-blu-ready", "true");
|
|
90
|
+
return s;
|
|
91
|
+
}
|
|
92
|
+
function destroy(key) {
|
|
93
|
+
var s = shared.instances.get(key);
|
|
94
|
+
if (!s) return;
|
|
95
|
+
s.dead = true;
|
|
96
|
+
closeOverlay(s);
|
|
97
|
+
if (s.dispose) s.dispose();
|
|
98
|
+
s.cleanup.forEach(function(f) {
|
|
99
|
+
f();
|
|
100
|
+
});
|
|
101
|
+
if (s.host._bluCommonOwner === key) {
|
|
102
|
+
delete s.host._bluCommonOwner;
|
|
103
|
+
s.host.removeAttribute("data-blu-ready");
|
|
104
|
+
if (!s.preserve) clear(s.host);
|
|
105
|
+
}
|
|
106
|
+
shared.instances.delete(key);
|
|
107
|
+
}
|
|
108
|
+
function body(s, cls) {
|
|
109
|
+
if (!s.body) {
|
|
110
|
+
s.body = el("div", cls);
|
|
111
|
+
s.host.append(s.body);
|
|
112
|
+
}
|
|
113
|
+
return s.body;
|
|
114
|
+
}
|
|
115
|
+
function refreshInert() {
|
|
116
|
+
shared.inertState.forEach(function(v, n) {
|
|
117
|
+
n.inert = v;
|
|
118
|
+
});
|
|
119
|
+
shared.inertState.clear();
|
|
120
|
+
var top = shared.overlays[shared.overlays.length - 1];
|
|
121
|
+
if (!top) {
|
|
122
|
+
if (shared.oldOverflow !== void 0) document.body.style.overflow = shared.oldOverflow;
|
|
123
|
+
shared.oldOverflow = void 0;
|
|
124
|
+
return;
|
|
125
|
+
}
|
|
126
|
+
if (shared.oldOverflow === void 0) shared.oldOverflow = document.body.style.overflow;
|
|
127
|
+
document.body.style.overflow = "hidden";
|
|
128
|
+
var node = top.layer;
|
|
129
|
+
while (node && node.parentElement) {
|
|
130
|
+
Array.from(node.parentElement.children).forEach(function(sibling) {
|
|
131
|
+
if (sibling !== node && sibling instanceof HTMLElement) {
|
|
132
|
+
shared.inertState.set(sibling, sibling.inert);
|
|
133
|
+
sibling.inert = true;
|
|
134
|
+
}
|
|
135
|
+
});
|
|
136
|
+
node = node.parentElement;
|
|
137
|
+
if (node === document.body) break;
|
|
138
|
+
}
|
|
139
|
+
}
|
|
140
|
+
function closeOverlay(s) {
|
|
141
|
+
if (s.stopTracking) s.stopTracking();
|
|
142
|
+
if (!s.overlayOpen) return;
|
|
143
|
+
s.overlayOpen = false;
|
|
144
|
+
var wasTop = shared.overlays[shared.overlays.length - 1] === s;
|
|
145
|
+
shared.overlays = shared.overlays.filter(function(x) {
|
|
146
|
+
return x !== s;
|
|
147
|
+
});
|
|
148
|
+
document.removeEventListener("keydown", s.overlayKey, true);
|
|
149
|
+
document.removeEventListener("focusin", s.overlayFocus, true);
|
|
150
|
+
if (s.layer.hidePopover) {
|
|
151
|
+
try {
|
|
152
|
+
s.layer.hidePopover();
|
|
153
|
+
} catch (_) {
|
|
154
|
+
}
|
|
155
|
+
}
|
|
156
|
+
s.layer.hidden = true;
|
|
157
|
+
refreshInert();
|
|
158
|
+
if (wasTop && s.returnFocus && s.returnFocus.isConnected && !s.returnFocus.closest("[inert],[hidden]")) s.returnFocus.focus();
|
|
159
|
+
}
|
|
160
|
+
function syncTimeline(s) {
|
|
161
|
+
var o = s.options, rows = keyed(o.ItemsJson, 5e3).slice();
|
|
162
|
+
rows.forEach(function(r) {
|
|
163
|
+
color(r.Color);
|
|
164
|
+
});
|
|
165
|
+
if (o.IsReversed) rows.reverse();
|
|
166
|
+
var root = body(s, "blu-timeline");
|
|
167
|
+
clear(root);
|
|
168
|
+
root.classList.toggle("blu-timeline--compact", !!o.IsCompact);
|
|
169
|
+
at(root, "role", "list");
|
|
170
|
+
at(root, "aria-label", o.AccessibleLabel || "Activity history");
|
|
171
|
+
if (!rows.length) root.append(el("p", "blu-common-muted", o.EmptyText || "No activity yet."));
|
|
172
|
+
rows.forEach(function(r) {
|
|
173
|
+
var item = at(el("div", "blu-timeline__item"), "role", "listitem"), marker = el("span", "blu-timeline__marker", r.Icon || "");
|
|
174
|
+
tint(marker, r.Color);
|
|
175
|
+
at(marker, "aria-hidden", "true");
|
|
176
|
+
var copy = el("div", "blu-timeline__copy");
|
|
177
|
+
if (r.Timestamp) copy.append(el("span", "blu-timeline__time", r.Timestamp));
|
|
178
|
+
copy.append(el("h3", "", r.Title || ""));
|
|
179
|
+
if (r.Description) copy.append(el("p", "", r.Description));
|
|
180
|
+
if (r.ActionLabel) copy.append(btn(r.ActionLabel, function() {
|
|
181
|
+
emit(s, "ItemClick", r.Key);
|
|
182
|
+
}));
|
|
183
|
+
item.append(marker, copy);
|
|
184
|
+
root.append(item);
|
|
185
|
+
});
|
|
186
|
+
}
|
|
187
|
+
function api(kind, render, cached) {
|
|
188
|
+
return { sync: function(id, options, events, key) {
|
|
189
|
+
var s = begin(id, options, events, key, kind);
|
|
190
|
+
if (!s) return;
|
|
191
|
+
try {
|
|
192
|
+
var signature = cached ? JSON.stringify(s.options) : null;
|
|
193
|
+
if (!cached || s.renderSignature !== signature) {
|
|
194
|
+
render(s);
|
|
195
|
+
s.renderSignature = signature;
|
|
196
|
+
}
|
|
197
|
+
error(s, "");
|
|
198
|
+
return "";
|
|
199
|
+
} catch (e) {
|
|
200
|
+
s.renderSignature = void 0;
|
|
201
|
+
s.cascaderSignature = null;
|
|
202
|
+
closeOverlay(s);
|
|
203
|
+
error(s, e.message || String(e));
|
|
204
|
+
return e.message || String(e);
|
|
205
|
+
}
|
|
206
|
+
}, destroy };
|
|
207
|
+
}
|
|
208
|
+
function installTimeline() {
|
|
209
|
+
return register("Timeline", () => api("Timeline", syncTimeline, true));
|
|
210
|
+
}
|
|
211
|
+
export {
|
|
212
|
+
installTimeline
|
|
213
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export function installTour(): any;
|
|
@@ -0,0 +1,412 @@
|
|
|
1
|
+
// ../blu-grid/docs/scripts/modules/qr-encoder.js
|
|
2
|
+
import { global } from "./kernel.js";
|
|
3
|
+
|
|
4
|
+
// ../blu-grid/docs/scripts/modules/common.js
|
|
5
|
+
import { global as global2, runtime, state, register } from "./kernel.js";
|
|
6
|
+
var shared = /* @__PURE__ */ state("common", () => ({ instances: /* @__PURE__ */ new Map(), hosts: /* @__PURE__ */ new Map(), serial: 0, overlays: [], inertState: /* @__PURE__ */ new Map(), oldOverflow: void 0 }));
|
|
7
|
+
function el(tag, cls, text) {
|
|
8
|
+
var n = document.createElement(tag);
|
|
9
|
+
if (cls) n.className = cls;
|
|
10
|
+
if (text !== void 0) n.textContent = text;
|
|
11
|
+
return n;
|
|
12
|
+
}
|
|
13
|
+
function at(n, key, value) {
|
|
14
|
+
n.setAttribute(key, String(value));
|
|
15
|
+
return n;
|
|
16
|
+
}
|
|
17
|
+
function clear(n) {
|
|
18
|
+
while (n.firstChild) n.removeChild(n.firstChild);
|
|
19
|
+
}
|
|
20
|
+
function btn(text, fn, primary) {
|
|
21
|
+
var n = el("button", "blu-common-button" + (primary ? " blu-common-button--primary" : ""), text);
|
|
22
|
+
n.type = "button";
|
|
23
|
+
n.addEventListener("click", fn);
|
|
24
|
+
return n;
|
|
25
|
+
}
|
|
26
|
+
function int(v, fallback, min, max) {
|
|
27
|
+
v = v === void 0 ? fallback : Number(v);
|
|
28
|
+
if (!Number.isInteger(v) || v < min || v > max) throw Error("Expected an integer between " + min + " and " + max + ".");
|
|
29
|
+
return v;
|
|
30
|
+
}
|
|
31
|
+
function choice(v, values, fallback) {
|
|
32
|
+
v = v || fallback;
|
|
33
|
+
if (values.indexOf(v) < 0) throw Error("Expected one of: " + values.join(", ") + ".");
|
|
34
|
+
return v;
|
|
35
|
+
}
|
|
36
|
+
function list(raw, max) {
|
|
37
|
+
var a = typeof raw === "string" ? JSON.parse(raw || "[]") : raw || [];
|
|
38
|
+
if (!Array.isArray(a) || a.length > max) throw Error("Expected a list with at most " + max + " items.");
|
|
39
|
+
return a;
|
|
40
|
+
}
|
|
41
|
+
function keyed(raw, max) {
|
|
42
|
+
var seen = /* @__PURE__ */ new Set();
|
|
43
|
+
return list(raw, max).map(function(r) {
|
|
44
|
+
if (!r || typeof r.Key !== "string" || !r.Key.trim() || seen.has(r.Key)) throw Error("Every item needs a unique, nonempty Key.");
|
|
45
|
+
seen.add(r.Key);
|
|
46
|
+
return r;
|
|
47
|
+
});
|
|
48
|
+
}
|
|
49
|
+
function emit(s, name) {
|
|
50
|
+
if (s.dead || s.host._bluCommonOwner !== s.key || !s.events[name]) return;
|
|
51
|
+
var args = Array.prototype.slice.call(arguments, 2);
|
|
52
|
+
try {
|
|
53
|
+
Promise.resolve(s.events[name].apply(null, args)).catch(function(e) {
|
|
54
|
+
if (name !== "Error") error(s, e.message || String(e));
|
|
55
|
+
});
|
|
56
|
+
} catch (e) {
|
|
57
|
+
if (name !== "Error") error(s, e.message || String(e));
|
|
58
|
+
}
|
|
59
|
+
}
|
|
60
|
+
function error(s, message) {
|
|
61
|
+
if (!s.error) {
|
|
62
|
+
s.error = at(el("p", "blu-common-error"), "role", "alert");
|
|
63
|
+
s.host.append(s.error);
|
|
64
|
+
}
|
|
65
|
+
s.error.textContent = message;
|
|
66
|
+
s.error.hidden = !message;
|
|
67
|
+
if (message && message !== s.lastError) emit(s, "Error", message);
|
|
68
|
+
s.lastError = message;
|
|
69
|
+
}
|
|
70
|
+
function begin(id, options, events, key, kind) {
|
|
71
|
+
var host = document.getElementById(id);
|
|
72
|
+
if (!host) return null;
|
|
73
|
+
key = key || id;
|
|
74
|
+
var s = shared.instances.get(key);
|
|
75
|
+
if (s && s.host !== host) {
|
|
76
|
+
destroy(key);
|
|
77
|
+
s = null;
|
|
78
|
+
}
|
|
79
|
+
if (host._bluCommonOwner && host._bluCommonOwner !== key) destroy(host._bluCommonOwner);
|
|
80
|
+
if (!s) {
|
|
81
|
+
s = { host, key, kind, uid: "blu-common-" + ++shared.serial, cleanup: [], events: {}, options: {} };
|
|
82
|
+
shared.instances.set(key, s);
|
|
83
|
+
}
|
|
84
|
+
host._bluCommonOwner = key;
|
|
85
|
+
s.options = options || {};
|
|
86
|
+
s.events = events || {};
|
|
87
|
+
at(host, "data-blu-ready", "true");
|
|
88
|
+
return s;
|
|
89
|
+
}
|
|
90
|
+
function destroy(key) {
|
|
91
|
+
var s = shared.instances.get(key);
|
|
92
|
+
if (!s) return;
|
|
93
|
+
s.dead = true;
|
|
94
|
+
closeOverlay(s);
|
|
95
|
+
if (s.dispose) s.dispose();
|
|
96
|
+
s.cleanup.forEach(function(f) {
|
|
97
|
+
f();
|
|
98
|
+
});
|
|
99
|
+
if (s.host._bluCommonOwner === key) {
|
|
100
|
+
delete s.host._bluCommonOwner;
|
|
101
|
+
s.host.removeAttribute("data-blu-ready");
|
|
102
|
+
if (!s.preserve) clear(s.host);
|
|
103
|
+
}
|
|
104
|
+
shared.instances.delete(key);
|
|
105
|
+
}
|
|
106
|
+
function focusables(n) {
|
|
107
|
+
return Array.from(n.querySelectorAll('button,a[href],input,select,textarea,[tabindex]:not([tabindex="-1"])')).filter(function(x) {
|
|
108
|
+
return !x.disabled && !x.closest("[hidden],[inert]") && x.getClientRects().length;
|
|
109
|
+
});
|
|
110
|
+
}
|
|
111
|
+
function refreshInert() {
|
|
112
|
+
shared.inertState.forEach(function(v, n) {
|
|
113
|
+
n.inert = v;
|
|
114
|
+
});
|
|
115
|
+
shared.inertState.clear();
|
|
116
|
+
var top = shared.overlays[shared.overlays.length - 1];
|
|
117
|
+
if (!top) {
|
|
118
|
+
if (shared.oldOverflow !== void 0) document.body.style.overflow = shared.oldOverflow;
|
|
119
|
+
shared.oldOverflow = void 0;
|
|
120
|
+
return;
|
|
121
|
+
}
|
|
122
|
+
if (shared.oldOverflow === void 0) shared.oldOverflow = document.body.style.overflow;
|
|
123
|
+
document.body.style.overflow = "hidden";
|
|
124
|
+
var node = top.layer;
|
|
125
|
+
while (node && node.parentElement) {
|
|
126
|
+
Array.from(node.parentElement.children).forEach(function(sibling) {
|
|
127
|
+
if (sibling !== node && sibling instanceof HTMLElement) {
|
|
128
|
+
shared.inertState.set(sibling, sibling.inert);
|
|
129
|
+
sibling.inert = true;
|
|
130
|
+
}
|
|
131
|
+
});
|
|
132
|
+
node = node.parentElement;
|
|
133
|
+
if (node === document.body) break;
|
|
134
|
+
}
|
|
135
|
+
}
|
|
136
|
+
function openOverlay(s, layer, panel, onEscape) {
|
|
137
|
+
if (s.overlayOpen) return;
|
|
138
|
+
s.overlayOpen = true;
|
|
139
|
+
s.layer = layer;
|
|
140
|
+
s.panel = panel;
|
|
141
|
+
s.returnFocus = document.activeElement;
|
|
142
|
+
layer.hidden = false;
|
|
143
|
+
at(layer, "popover", "manual");
|
|
144
|
+
if (layer.showPopover) {
|
|
145
|
+
try {
|
|
146
|
+
layer.showPopover();
|
|
147
|
+
} catch (_) {
|
|
148
|
+
}
|
|
149
|
+
}
|
|
150
|
+
shared.overlays.push(s);
|
|
151
|
+
refreshInert();
|
|
152
|
+
panel.tabIndex = -1;
|
|
153
|
+
s.overlayKey = function(e) {
|
|
154
|
+
if (shared.overlays[shared.overlays.length - 1] !== s) return;
|
|
155
|
+
if (e.key === "Escape") {
|
|
156
|
+
e.preventDefault();
|
|
157
|
+
e.stopImmediatePropagation();
|
|
158
|
+
onEscape();
|
|
159
|
+
} else if (e.key === "Tab") {
|
|
160
|
+
var nodes = focusables(panel), first = nodes[0] || panel, last = nodes[nodes.length - 1] || panel;
|
|
161
|
+
if (e.shiftKey && (document.activeElement === first || !panel.contains(document.activeElement))) {
|
|
162
|
+
e.preventDefault();
|
|
163
|
+
last.focus();
|
|
164
|
+
} else if (!e.shiftKey && (document.activeElement === last || !panel.contains(document.activeElement))) {
|
|
165
|
+
e.preventDefault();
|
|
166
|
+
first.focus();
|
|
167
|
+
}
|
|
168
|
+
}
|
|
169
|
+
};
|
|
170
|
+
s.overlayFocus = function(e) {
|
|
171
|
+
if (shared.overlays[shared.overlays.length - 1] === s && !panel.contains(e.target)) (focusables(panel)[0] || panel).focus();
|
|
172
|
+
};
|
|
173
|
+
document.addEventListener("keydown", s.overlayKey, true);
|
|
174
|
+
document.addEventListener("focusin", s.overlayFocus, true);
|
|
175
|
+
(focusables(panel)[0] || panel).focus();
|
|
176
|
+
}
|
|
177
|
+
function closeOverlay(s) {
|
|
178
|
+
if (s.stopTracking) s.stopTracking();
|
|
179
|
+
if (!s.overlayOpen) return;
|
|
180
|
+
s.overlayOpen = false;
|
|
181
|
+
var wasTop = shared.overlays[shared.overlays.length - 1] === s;
|
|
182
|
+
shared.overlays = shared.overlays.filter(function(x) {
|
|
183
|
+
return x !== s;
|
|
184
|
+
});
|
|
185
|
+
document.removeEventListener("keydown", s.overlayKey, true);
|
|
186
|
+
document.removeEventListener("focusin", s.overlayFocus, true);
|
|
187
|
+
if (s.layer.hidePopover) {
|
|
188
|
+
try {
|
|
189
|
+
s.layer.hidePopover();
|
|
190
|
+
} catch (_) {
|
|
191
|
+
}
|
|
192
|
+
}
|
|
193
|
+
s.layer.hidden = true;
|
|
194
|
+
refreshInert();
|
|
195
|
+
if (wasTop && s.returnFocus && s.returnFocus.isConnected && !s.returnFocus.closest("[inert],[hidden]")) s.returnFocus.focus();
|
|
196
|
+
}
|
|
197
|
+
function syncTour(s) {
|
|
198
|
+
var o = s.options, steps = keyed(o.StepsJson, 100);
|
|
199
|
+
steps.forEach(function(r) {
|
|
200
|
+
choice(r.Placement, ["Bottom", "Top", "Left", "Right"], "Bottom");
|
|
201
|
+
});
|
|
202
|
+
s.steps = steps;
|
|
203
|
+
if (!s.layer) {
|
|
204
|
+
s.layer = el("div", "blu-tour");
|
|
205
|
+
s.panel = at(el("section", "blu-tour__panel"), "role", "dialog");
|
|
206
|
+
at(s.panel, "aria-modal", "true");
|
|
207
|
+
s.highlight = at(el("div", "blu-tour__highlight"), "aria-hidden", "true");
|
|
208
|
+
s.layer.append(s.highlight, s.panel);
|
|
209
|
+
s.host.append(s.layer);
|
|
210
|
+
s.dispose = function() {
|
|
211
|
+
if (s.stopTracking) s.stopTracking();
|
|
212
|
+
s.layer.remove();
|
|
213
|
+
};
|
|
214
|
+
}
|
|
215
|
+
if (!o.IsOpen) {
|
|
216
|
+
closeOverlay(s);
|
|
217
|
+
s.layer.hidden = true;
|
|
218
|
+
cancelAnimationFrame(s.frame);
|
|
219
|
+
return;
|
|
220
|
+
}
|
|
221
|
+
if (!steps.length) throw Error("Tour needs at least one step.");
|
|
222
|
+
var current = Math.min(steps.length, int(o.CurrentStep, 1, 1, 100));
|
|
223
|
+
s.current = current;
|
|
224
|
+
var step = steps[current - 1], hadFocus = s.panel.contains(document.activeElement);
|
|
225
|
+
clear(s.panel);
|
|
226
|
+
var progress = el("span", "blu-tour__progress", current + " of " + steps.length), title = el("h2", "", step.Title || ""), desc = el("p", "", step.Description || "");
|
|
227
|
+
title.id = s.uid + "-title";
|
|
228
|
+
desc.id = s.uid + "-desc";
|
|
229
|
+
at(s.panel, "aria-labelledby", title.id);
|
|
230
|
+
at(s.panel, "aria-describedby", desc.id);
|
|
231
|
+
var actions = el("div", "blu-tour__actions"), skip = btn(o.SkipLabel || "Skip tour", function() {
|
|
232
|
+
endTour(s, "Skipped");
|
|
233
|
+
}), back = btn("Back", function() {
|
|
234
|
+
stepTour(s, current - 1);
|
|
235
|
+
});
|
|
236
|
+
back.disabled = current === 1;
|
|
237
|
+
var next = btn(current === steps.length ? o.FinishLabel || "Finish" : "Next", function() {
|
|
238
|
+
if (current === steps.length) {
|
|
239
|
+
emit(s, "Completed", step.Key);
|
|
240
|
+
endTour(s, "Completed");
|
|
241
|
+
} else stepTour(s, current + 1);
|
|
242
|
+
}, true);
|
|
243
|
+
actions.append(skip, back, next);
|
|
244
|
+
s.panel.append(progress, title, desc, actions);
|
|
245
|
+
var target = step.TargetId ? document.getElementById(step.TargetId) : null;
|
|
246
|
+
if (target && target.getClientRects().length) target.scrollIntoView({ block: "center", inline: "nearest" });
|
|
247
|
+
openOverlay(s, s.layer, s.panel, function() {
|
|
248
|
+
endTour(s, "Escape");
|
|
249
|
+
});
|
|
250
|
+
if (s.previousStep !== current || hadFocus) {
|
|
251
|
+
next.focus();
|
|
252
|
+
s.previousStep = current;
|
|
253
|
+
}
|
|
254
|
+
trackTour(s, step);
|
|
255
|
+
}
|
|
256
|
+
function trackTour(s, step) {
|
|
257
|
+
if (s.stopTracking) s.stopTracking();
|
|
258
|
+
var cleanup = [], observer, mutations, target = null, animated = /* @__PURE__ */ new Set(), stopped = false;
|
|
259
|
+
function moving() {
|
|
260
|
+
if (target) {
|
|
261
|
+
var n = target;
|
|
262
|
+
while (n && n !== document) {
|
|
263
|
+
animated.add(n);
|
|
264
|
+
n = n.parentElement;
|
|
265
|
+
}
|
|
266
|
+
}
|
|
267
|
+
var running = false;
|
|
268
|
+
animated.forEach(function(n2) {
|
|
269
|
+
var active = n2.isConnected && n2.getAnimations && n2.getAnimations().some(function(a) {
|
|
270
|
+
return a.playState === "running";
|
|
271
|
+
});
|
|
272
|
+
if (active) running = true;
|
|
273
|
+
else animated.delete(n2);
|
|
274
|
+
});
|
|
275
|
+
return running;
|
|
276
|
+
}
|
|
277
|
+
function observeTarget() {
|
|
278
|
+
var next = step.TargetId ? document.getElementById(step.TargetId) : null;
|
|
279
|
+
if (next === target) return;
|
|
280
|
+
if (observer && target) observer.unobserve(target);
|
|
281
|
+
target = next;
|
|
282
|
+
if (observer && target) observer.observe(target);
|
|
283
|
+
}
|
|
284
|
+
function schedule() {
|
|
285
|
+
if (stopped || s.dead || !s.overlayOpen || s.frame) return;
|
|
286
|
+
s.frame = requestAnimationFrame(function() {
|
|
287
|
+
s.frame = 0;
|
|
288
|
+
if (stopped || s.dead || !s.overlayOpen) return;
|
|
289
|
+
observeTarget();
|
|
290
|
+
positionTour(s, step);
|
|
291
|
+
if (moving()) schedule();
|
|
292
|
+
});
|
|
293
|
+
}
|
|
294
|
+
function on(n, event, fn, capture) {
|
|
295
|
+
n.addEventListener(event, fn, capture);
|
|
296
|
+
cleanup.push(function() {
|
|
297
|
+
n.removeEventListener(event, fn, capture);
|
|
298
|
+
});
|
|
299
|
+
}
|
|
300
|
+
on(document, "scroll", schedule, true);
|
|
301
|
+
on(global2, "resize", schedule);
|
|
302
|
+
on(document, "load", schedule, true);
|
|
303
|
+
if (global2.visualViewport) {
|
|
304
|
+
on(global2.visualViewport, "resize", schedule);
|
|
305
|
+
on(global2.visualViewport, "scroll", schedule);
|
|
306
|
+
}
|
|
307
|
+
function motion(e) {
|
|
308
|
+
if (s.layer.contains(e.target)) return;
|
|
309
|
+
if (target && (e.target.contains(target) || e.target.parentElement && e.target.parentElement.contains(target))) animated.add(e.target);
|
|
310
|
+
schedule();
|
|
311
|
+
}
|
|
312
|
+
["transitionrun", "transitionend", "transitioncancel", "animationstart", "animationend", "animationcancel"].forEach(function(name) {
|
|
313
|
+
on(document, name, motion, true);
|
|
314
|
+
});
|
|
315
|
+
if (global2.ResizeObserver) {
|
|
316
|
+
observer = new global2.ResizeObserver(schedule);
|
|
317
|
+
observer.observe(document.documentElement);
|
|
318
|
+
observer.observe(document.body);
|
|
319
|
+
observer.observe(s.panel);
|
|
320
|
+
}
|
|
321
|
+
if (global2.MutationObserver) {
|
|
322
|
+
mutations = new global2.MutationObserver(function(records) {
|
|
323
|
+
if (records.some(function(r) {
|
|
324
|
+
return !s.layer.contains(r.target);
|
|
325
|
+
})) schedule();
|
|
326
|
+
});
|
|
327
|
+
mutations.observe(document.body, { subtree: true, childList: true, characterData: true, attributes: true, attributeFilter: ["style", "class", "hidden", "open", "id"] });
|
|
328
|
+
}
|
|
329
|
+
s.stopTracking = function() {
|
|
330
|
+
stopped = true;
|
|
331
|
+
cancelAnimationFrame(s.frame);
|
|
332
|
+
s.frame = 0;
|
|
333
|
+
cleanup.forEach(function(f) {
|
|
334
|
+
f();
|
|
335
|
+
});
|
|
336
|
+
if (observer) observer.disconnect();
|
|
337
|
+
if (mutations) mutations.disconnect();
|
|
338
|
+
animated.clear();
|
|
339
|
+
s.stopTracking = null;
|
|
340
|
+
};
|
|
341
|
+
observeTarget();
|
|
342
|
+
positionTour(s, step);
|
|
343
|
+
if (moving()) schedule();
|
|
344
|
+
}
|
|
345
|
+
function stepTour(s, n) {
|
|
346
|
+
s.options.CurrentStep = n;
|
|
347
|
+
syncTour(s);
|
|
348
|
+
emit(s, "StepChanged", n, s.steps[n - 1].Key);
|
|
349
|
+
}
|
|
350
|
+
function endTour(s, reason) {
|
|
351
|
+
s.options.IsOpen = false;
|
|
352
|
+
closeOverlay(s);
|
|
353
|
+
cancelAnimationFrame(s.frame);
|
|
354
|
+
emit(s, "OpenChanged", false, reason);
|
|
355
|
+
}
|
|
356
|
+
function positionTour(s, step) {
|
|
357
|
+
var target = step.TargetId ? document.getElementById(step.TargetId) : null, r = target && target.getClientRects().length ? target.getBoundingClientRect() : null, w = global2.innerWidth, h = global2.innerHeight, p = s.panel.getBoundingClientRect(), left = (w - p.width) / 2, top = (h - p.height) / 2;
|
|
358
|
+
function style(n, k, v) {
|
|
359
|
+
if (n.style[k] !== v) n.style[k] = v;
|
|
360
|
+
}
|
|
361
|
+
s.highlight.hidden = !r;
|
|
362
|
+
if (r) {
|
|
363
|
+
var x = Math.max(8, r.left - 6), y = Math.max(8, r.top - 6), width = Math.min(w - 16, r.width + 12), height = Math.min(h - 16, r.height + 12);
|
|
364
|
+
style(s.highlight, "left", x + "px");
|
|
365
|
+
style(s.highlight, "top", y + "px");
|
|
366
|
+
style(s.highlight, "width", width + "px");
|
|
367
|
+
style(s.highlight, "height", height + "px");
|
|
368
|
+
left = x;
|
|
369
|
+
top = y + height + 12;
|
|
370
|
+
var placement = step.Placement || "Bottom";
|
|
371
|
+
if (placement === "Top") top = y - p.height - 12;
|
|
372
|
+
if (placement === "Left") {
|
|
373
|
+
left = x - p.width - 12;
|
|
374
|
+
top = y;
|
|
375
|
+
}
|
|
376
|
+
if (placement === "Right") {
|
|
377
|
+
left = x + width + 12;
|
|
378
|
+
top = y;
|
|
379
|
+
}
|
|
380
|
+
if (top + p.height > h - 12) top = y - p.height - 12;
|
|
381
|
+
}
|
|
382
|
+
style(s.panel, "left", Math.max(12, Math.min(w - p.width - 12, left)) + "px");
|
|
383
|
+
style(s.panel, "top", Math.max(12, Math.min(h - p.height - 12, top)) + "px");
|
|
384
|
+
s.layer.classList.toggle("blu-tour--centered", !r);
|
|
385
|
+
}
|
|
386
|
+
function api(kind, render, cached) {
|
|
387
|
+
return { sync: function(id, options, events, key) {
|
|
388
|
+
var s = begin(id, options, events, key, kind);
|
|
389
|
+
if (!s) return;
|
|
390
|
+
try {
|
|
391
|
+
var signature = cached ? JSON.stringify(s.options) : null;
|
|
392
|
+
if (!cached || s.renderSignature !== signature) {
|
|
393
|
+
render(s);
|
|
394
|
+
s.renderSignature = signature;
|
|
395
|
+
}
|
|
396
|
+
error(s, "");
|
|
397
|
+
return "";
|
|
398
|
+
} catch (e) {
|
|
399
|
+
s.renderSignature = void 0;
|
|
400
|
+
s.cascaderSignature = null;
|
|
401
|
+
closeOverlay(s);
|
|
402
|
+
error(s, e.message || String(e));
|
|
403
|
+
return e.message || String(e);
|
|
404
|
+
}
|
|
405
|
+
}, destroy };
|
|
406
|
+
}
|
|
407
|
+
function installTour() {
|
|
408
|
+
return register("Tour", () => api("Tour", syncTour, false));
|
|
409
|
+
}
|
|
410
|
+
export {
|
|
411
|
+
installTour
|
|
412
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export function installTransfer(): any;
|