snice 4.8.0 → 4.10.0
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/adapters/react/app-tiles.d.ts +28 -0
- package/adapters/react/app-tiles.d.ts.map +1 -0
- package/adapters/react/app-tiles.js +24 -0
- package/adapters/react/app-tiles.js.map +1 -0
- package/adapters/react/app-tiles.tsx +36 -0
- package/adapters/react/book.d.ts +28 -0
- package/adapters/react/book.d.ts.map +1 -0
- package/adapters/react/book.js +24 -0
- package/adapters/react/book.js.map +1 -0
- package/adapters/react/book.tsx +36 -0
- package/adapters/react/camera-annotate.d.ts +27 -0
- package/adapters/react/camera-annotate.d.ts.map +1 -0
- package/adapters/react/camera-annotate.js +24 -0
- package/adapters/react/camera-annotate.js.map +1 -0
- package/adapters/react/camera-annotate.tsx +35 -0
- package/adapters/react/candlestick.d.ts +34 -0
- package/adapters/react/candlestick.d.ts.map +1 -0
- package/adapters/react/candlestick.js +24 -0
- package/adapters/react/candlestick.js.map +1 -0
- package/adapters/react/candlestick.tsx +42 -0
- package/adapters/react/comments.d.ts +29 -0
- package/adapters/react/comments.d.ts.map +1 -0
- package/adapters/react/comments.js +24 -0
- package/adapters/react/comments.js.map +1 -0
- package/adapters/react/comments.tsx +37 -0
- package/adapters/react/components.d.ts +66 -0
- package/adapters/react/components.d.ts.map +1 -1
- package/adapters/react/components.js +33 -0
- package/adapters/react/components.js.map +1 -1
- package/adapters/react/components.ts +66 -0
- package/adapters/react/countdown.d.ts +31 -0
- package/adapters/react/countdown.d.ts.map +1 -0
- package/adapters/react/countdown.js +24 -0
- package/adapters/react/countdown.js.map +1 -0
- package/adapters/react/countdown.tsx +39 -0
- package/adapters/react/cropper.d.ts +29 -0
- package/adapters/react/cropper.d.ts.map +1 -0
- package/adapters/react/cropper.js +24 -0
- package/adapters/react/cropper.js.map +1 -0
- package/adapters/react/cropper.tsx +37 -0
- package/adapters/react/diff.d.ts +31 -0
- package/adapters/react/diff.d.ts.map +1 -0
- package/adapters/react/diff.js +24 -0
- package/adapters/react/diff.js.map +1 -0
- package/adapters/react/diff.tsx +39 -0
- package/adapters/react/flip-card.d.ts +28 -0
- package/adapters/react/flip-card.d.ts.map +1 -0
- package/adapters/react/flip-card.js +24 -0
- package/adapters/react/flip-card.js.map +1 -0
- package/adapters/react/flip-card.tsx +36 -0
- package/adapters/react/flow.d.ts +32 -0
- package/adapters/react/flow.d.ts.map +1 -0
- package/adapters/react/flow.js +24 -0
- package/adapters/react/flow.js.map +1 -0
- package/adapters/react/flow.tsx +40 -0
- package/adapters/react/funnel.d.ts +31 -0
- package/adapters/react/funnel.d.ts.map +1 -0
- package/adapters/react/funnel.js +24 -0
- package/adapters/react/funnel.js.map +1 -0
- package/adapters/react/funnel.tsx +39 -0
- package/adapters/react/gantt.d.ts +27 -0
- package/adapters/react/gantt.d.ts.map +1 -0
- package/adapters/react/gantt.js +24 -0
- package/adapters/react/gantt.js.map +1 -0
- package/adapters/react/gantt.tsx +35 -0
- package/adapters/react/map.d.ts +30 -0
- package/adapters/react/map.d.ts.map +1 -0
- package/adapters/react/map.js +24 -0
- package/adapters/react/map.js.map +1 -0
- package/adapters/react/map.tsx +38 -0
- package/adapters/react/markdown.d.ts +26 -0
- package/adapters/react/markdown.d.ts.map +1 -0
- package/adapters/react/markdown.js +24 -0
- package/adapters/react/markdown.js.map +1 -0
- package/adapters/react/markdown.tsx +34 -0
- package/adapters/react/network-graph.d.ts +32 -0
- package/adapters/react/network-graph.d.ts.map +1 -0
- package/adapters/react/network-graph.js +24 -0
- package/adapters/react/network-graph.js.map +1 -0
- package/adapters/react/network-graph.tsx +40 -0
- package/adapters/react/notification-center.d.ts +26 -0
- package/adapters/react/notification-center.d.ts.map +1 -0
- package/adapters/react/notification-center.js +24 -0
- package/adapters/react/notification-center.js.map +1 -0
- package/adapters/react/notification-center.tsx +34 -0
- package/adapters/react/org-chart.d.ts +28 -0
- package/adapters/react/org-chart.d.ts.map +1 -0
- package/adapters/react/org-chart.js +24 -0
- package/adapters/react/org-chart.js.map +1 -0
- package/adapters/react/org-chart.tsx +36 -0
- package/adapters/react/pdf-viewer.d.ts +28 -0
- package/adapters/react/pdf-viewer.d.ts.map +1 -0
- package/adapters/react/pdf-viewer.js +24 -0
- package/adapters/react/pdf-viewer.js.map +1 -0
- package/adapters/react/pdf-viewer.tsx +36 -0
- package/adapters/react/podcast-player.d.ts +40 -0
- package/adapters/react/podcast-player.d.ts.map +1 -0
- package/adapters/react/podcast-player.js +24 -0
- package/adapters/react/podcast-player.js.map +1 -0
- package/adapters/react/podcast-player.tsx +48 -0
- package/adapters/react/pricing-table.d.ts +27 -0
- package/adapters/react/pricing-table.d.ts.map +1 -0
- package/adapters/react/pricing-table.js +24 -0
- package/adapters/react/pricing-table.js.map +1 -0
- package/adapters/react/pricing-table.tsx +35 -0
- package/adapters/react/rating.d.ts +30 -0
- package/adapters/react/rating.d.ts.map +1 -0
- package/adapters/react/rating.js +24 -0
- package/adapters/react/rating.js.map +1 -0
- package/adapters/react/rating.tsx +38 -0
- package/adapters/react/recipe.d.ts +43 -0
- package/adapters/react/recipe.d.ts.map +1 -0
- package/adapters/react/recipe.js +24 -0
- package/adapters/react/recipe.js.map +1 -0
- package/adapters/react/recipe.tsx +51 -0
- package/adapters/react/sankey.d.ts +31 -0
- package/adapters/react/sankey.d.ts.map +1 -0
- package/adapters/react/sankey.js +24 -0
- package/adapters/react/sankey.js.map +1 -0
- package/adapters/react/sankey.tsx +39 -0
- package/adapters/react/sortable.d.ts +28 -0
- package/adapters/react/sortable.d.ts.map +1 -0
- package/adapters/react/sortable.js +24 -0
- package/adapters/react/sortable.js.map +1 -0
- package/adapters/react/sortable.tsx +36 -0
- package/adapters/react/spotlight.d.ts +27 -0
- package/adapters/react/spotlight.d.ts.map +1 -0
- package/adapters/react/spotlight.js +24 -0
- package/adapters/react/spotlight.js.map +1 -0
- package/adapters/react/spotlight.tsx +35 -0
- package/adapters/react/spreadsheet.d.ts +27 -0
- package/adapters/react/spreadsheet.d.ts.map +1 -0
- package/adapters/react/spreadsheet.js +24 -0
- package/adapters/react/spreadsheet.js.map +1 -0
- package/adapters/react/spreadsheet.tsx +35 -0
- package/adapters/react/tag-input.d.ts +33 -0
- package/adapters/react/tag-input.d.ts.map +1 -0
- package/adapters/react/tag-input.js +24 -0
- package/adapters/react/tag-input.js.map +1 -0
- package/adapters/react/tag-input.tsx +41 -0
- package/adapters/react/testimonial.d.ts +31 -0
- package/adapters/react/testimonial.d.ts.map +1 -0
- package/adapters/react/testimonial.js +24 -0
- package/adapters/react/testimonial.js.map +1 -0
- package/adapters/react/testimonial.tsx +39 -0
- package/adapters/react/time-range-picker.d.ts +33 -0
- package/adapters/react/time-range-picker.d.ts.map +1 -0
- package/adapters/react/time-range-picker.js +24 -0
- package/adapters/react/time-range-picker.js.map +1 -0
- package/adapters/react/time-range-picker.tsx +41 -0
- package/adapters/react/treemap.d.ts +30 -0
- package/adapters/react/treemap.d.ts.map +1 -0
- package/adapters/react/treemap.js +24 -0
- package/adapters/react/treemap.js.map +1 -0
- package/adapters/react/treemap.tsx +38 -0
- package/adapters/react/video-player.d.ts +34 -0
- package/adapters/react/video-player.d.ts.map +1 -0
- package/adapters/react/video-player.js +24 -0
- package/adapters/react/video-player.js.map +1 -0
- package/adapters/react/video-player.tsx +42 -0
- package/adapters/react/virtual-scroller.d.ts +1 -0
- package/adapters/react/virtual-scroller.d.ts.map +1 -1
- package/adapters/react/virtual-scroller.js +1 -1
- package/adapters/react/virtual-scroller.js.map +1 -1
- package/adapters/react/virtual-scroller.tsx +2 -1
- package/adapters/react/waterfall.d.ts +29 -0
- package/adapters/react/waterfall.d.ts.map +1 -0
- package/adapters/react/waterfall.js +24 -0
- package/adapters/react/waterfall.js.map +1 -0
- package/adapters/react/waterfall.tsx +37 -0
- package/adapters/react/weather.d.ts +27 -0
- package/adapters/react/weather.d.ts.map +1 -0
- package/adapters/react/weather.js +24 -0
- package/adapters/react/weather.js.map +1 -0
- package/adapters/react/weather.tsx +35 -0
- package/dist/cdn/accordion/snice-accordion.js +1 -1
- package/dist/cdn/accordion/snice-accordion.min.js +1 -1
- package/dist/cdn/alert/snice-alert.js +1 -1
- package/dist/cdn/alert/snice-alert.min.js +1 -1
- package/dist/cdn/app-tiles/README.md +27 -0
- package/dist/cdn/app-tiles/snice-app-tiles.js +333 -0
- package/dist/cdn/app-tiles/snice-app-tiles.js.map +1 -0
- package/dist/cdn/app-tiles/snice-app-tiles.min.js +11 -0
- package/dist/cdn/app-tiles/snice-app-tiles.min.js.map +1 -0
- package/dist/cdn/audio-recorder/snice-audio-recorder.js +1 -1
- package/dist/cdn/audio-recorder/snice-audio-recorder.min.js +1 -1
- package/dist/cdn/avatar/snice-avatar.js +1 -1
- package/dist/cdn/avatar/snice-avatar.min.js +1 -1
- package/dist/cdn/badge/snice-badge.js +1 -1
- package/dist/cdn/badge/snice-badge.min.js +1 -1
- package/dist/cdn/banner/snice-banner.js +1 -1
- package/dist/cdn/banner/snice-banner.min.js +1 -1
- package/dist/cdn/book/README.md +27 -0
- package/dist/cdn/book/snice-book.js +353 -0
- package/dist/cdn/book/snice-book.js.map +1 -0
- package/dist/cdn/book/snice-book.min.js +13 -0
- package/dist/cdn/book/snice-book.min.js.map +1 -0
- package/dist/cdn/breadcrumbs/snice-breadcrumbs.js +2 -2
- package/dist/cdn/breadcrumbs/snice-breadcrumbs.js.map +1 -1
- package/dist/cdn/breadcrumbs/snice-breadcrumbs.min.js +13 -13
- package/dist/cdn/breadcrumbs/snice-breadcrumbs.min.js.map +1 -1
- package/dist/cdn/button/snice-button.js +1 -1
- package/dist/cdn/button/snice-button.min.js +1 -1
- package/dist/cdn/calendar/snice-calendar.js +1 -1
- package/dist/cdn/calendar/snice-calendar.min.js +1 -1
- package/dist/cdn/camera/snice-camera.js +1 -1
- package/dist/cdn/camera/snice-camera.min.js +1 -1
- package/dist/cdn/camera-annotate/README.md +27 -0
- package/dist/cdn/camera-annotate/snice-camera-annotate.js +730 -0
- package/dist/cdn/camera-annotate/snice-camera-annotate.js.map +1 -0
- package/dist/cdn/camera-annotate/snice-camera-annotate.min.js +144 -0
- package/dist/cdn/camera-annotate/snice-camera-annotate.min.js.map +1 -0
- package/dist/cdn/candlestick/README.md +27 -0
- package/dist/cdn/candlestick/snice-candlestick.js +717 -0
- package/dist/cdn/candlestick/snice-candlestick.js.map +1 -0
- package/dist/cdn/candlestick/snice-candlestick.min.js +22 -0
- package/dist/cdn/candlestick/snice-candlestick.min.js.map +1 -0
- package/dist/cdn/card/snice-card.js +1 -1
- package/dist/cdn/card/snice-card.min.js +1 -1
- package/dist/cdn/carousel/snice-carousel.js +1 -1
- package/dist/cdn/carousel/snice-carousel.min.js +1 -1
- package/dist/cdn/chart/snice-chart.js +1 -1
- package/dist/cdn/chart/snice-chart.min.js +1 -1
- package/dist/cdn/chat/snice-chat.js +1 -1
- package/dist/cdn/chat/snice-chat.min.js +1 -1
- package/dist/cdn/checkbox/snice-checkbox.js +1 -1
- package/dist/cdn/checkbox/snice-checkbox.min.js +1 -1
- package/dist/cdn/chip/snice-chip.js +1 -1
- package/dist/cdn/chip/snice-chip.min.js +1 -1
- package/dist/cdn/code-block/snice-code-block.js +1 -1
- package/dist/cdn/code-block/snice-code-block.min.js +1 -1
- package/dist/cdn/color-display/snice-color-display.js +1 -1
- package/dist/cdn/color-display/snice-color-display.min.js +1 -1
- package/dist/cdn/color-picker/snice-color-picker.js +1 -1
- package/dist/cdn/color-picker/snice-color-picker.min.js +1 -1
- package/dist/cdn/command-palette/snice-command-palette.js +1 -1
- package/dist/cdn/command-palette/snice-command-palette.min.js +1 -1
- package/dist/cdn/comments/README.md +27 -0
- package/dist/cdn/comments/snice-comments.js +544 -0
- package/dist/cdn/comments/snice-comments.js.map +1 -0
- package/dist/cdn/comments/snice-comments.min.js +100 -0
- package/dist/cdn/comments/snice-comments.min.js.map +1 -0
- package/dist/cdn/countdown/README.md +27 -0
- package/dist/cdn/countdown/snice-countdown.js +235 -0
- package/dist/cdn/countdown/snice-countdown.js.map +1 -0
- package/dist/cdn/countdown/snice-countdown.min.js +14 -0
- package/dist/cdn/countdown/snice-countdown.min.js.map +1 -0
- package/dist/cdn/cropper/README.md +27 -0
- package/dist/cdn/cropper/snice-cropper.js +352 -0
- package/dist/cdn/cropper/snice-cropper.js.map +1 -0
- package/dist/cdn/cropper/snice-cropper.min.js +25 -0
- package/dist/cdn/cropper/snice-cropper.min.js.map +1 -0
- package/dist/cdn/date-picker/snice-date-picker.js +1 -1
- package/dist/cdn/date-picker/snice-date-picker.min.js +1 -1
- package/dist/cdn/diff/README.md +27 -0
- package/dist/cdn/diff/snice-diff.js +441 -0
- package/dist/cdn/diff/snice-diff.js.map +1 -0
- package/dist/cdn/diff/snice-diff.min.js +54 -0
- package/dist/cdn/diff/snice-diff.min.js.map +1 -0
- package/dist/cdn/divider/snice-divider.js +1 -1
- package/dist/cdn/divider/snice-divider.min.js +1 -1
- package/dist/cdn/doc/snice-doc.js +1 -1
- package/dist/cdn/doc/snice-doc.min.js +1 -1
- package/dist/cdn/draw/snice-draw.js +1 -1
- package/dist/cdn/draw/snice-draw.min.js +1 -1
- package/dist/cdn/drawer/snice-drawer.js +1 -1
- package/dist/cdn/drawer/snice-drawer.min.js +1 -1
- package/dist/cdn/empty-state/snice-empty-state.js +1 -1
- package/dist/cdn/empty-state/snice-empty-state.min.js +1 -1
- package/dist/cdn/file-gallery/snice-file-gallery.js +1 -1
- package/dist/cdn/file-gallery/snice-file-gallery.min.js +1 -1
- package/dist/cdn/file-upload/snice-file-upload.js +1 -1
- package/dist/cdn/file-upload/snice-file-upload.min.js +1 -1
- package/dist/cdn/flip-card/README.md +27 -0
- package/dist/cdn/flip-card/snice-flip-card.js +183 -0
- package/dist/cdn/flip-card/snice-flip-card.js.map +1 -0
- package/dist/cdn/flip-card/snice-flip-card.min.js +22 -0
- package/dist/cdn/flip-card/snice-flip-card.min.js.map +1 -0
- package/dist/cdn/flow/README.md +27 -0
- package/dist/cdn/flow/snice-flow.js +822 -0
- package/dist/cdn/flow/snice-flow.js.map +1 -0
- package/dist/cdn/flow/snice-flow.min.js +17 -0
- package/dist/cdn/flow/snice-flow.min.js.map +1 -0
- package/dist/cdn/funnel/README.md +27 -0
- package/dist/cdn/funnel/snice-funnel.js +424 -0
- package/dist/cdn/funnel/snice-funnel.js.map +1 -0
- package/dist/cdn/funnel/snice-funnel.min.js +20 -0
- package/dist/cdn/funnel/snice-funnel.min.js.map +1 -0
- package/dist/cdn/gantt/README.md +27 -0
- package/dist/cdn/gantt/snice-gantt.js +436 -0
- package/dist/cdn/gantt/snice-gantt.js.map +1 -0
- package/dist/cdn/gantt/snice-gantt.min.js +60 -0
- package/dist/cdn/gantt/snice-gantt.min.js.map +1 -0
- package/dist/cdn/gauge/snice-gauge.js +1 -1
- package/dist/cdn/gauge/snice-gauge.min.js +1 -1
- package/dist/cdn/heatmap/snice-heatmap.js +1 -1
- package/dist/cdn/heatmap/snice-heatmap.min.js +1 -1
- package/dist/cdn/image/snice-image.js +1 -1
- package/dist/cdn/image/snice-image.min.js +1 -1
- package/dist/cdn/input/snice-input.js +1 -1
- package/dist/cdn/input/snice-input.min.js +1 -1
- package/dist/cdn/kanban/snice-kanban.js +1 -1
- package/dist/cdn/kanban/snice-kanban.min.js +1 -1
- package/dist/cdn/kpi/snice-kpi.js +1 -1
- package/dist/cdn/kpi/snice-kpi.min.js +1 -1
- package/dist/cdn/layout/README.md +2 -2
- package/dist/cdn/layout/snice-layout.js +23 -6
- package/dist/cdn/layout/snice-layout.js.map +1 -1
- package/dist/cdn/layout/snice-layout.min.js +2 -2
- package/dist/cdn/layout/snice-layout.min.js.map +1 -1
- package/dist/cdn/link/snice-link.js +1 -1
- package/dist/cdn/link/snice-link.min.js +1 -1
- package/dist/cdn/link-preview/snice-link-preview.js +1 -1
- package/dist/cdn/link-preview/snice-link-preview.min.js +1 -1
- package/dist/cdn/list/README.md +6 -2
- package/dist/cdn/list/snice-list.js +87 -10
- package/dist/cdn/list/snice-list.js.map +1 -1
- package/dist/cdn/list/snice-list.min.js +20 -6
- package/dist/cdn/list/snice-list.min.js.map +1 -1
- package/dist/cdn/location/snice-location.js +1 -1
- package/dist/cdn/location/snice-location.min.js +1 -1
- package/dist/cdn/login/snice-login.js +1 -1
- package/dist/cdn/login/snice-login.min.js +1 -1
- package/dist/cdn/map/README.md +27 -0
- package/dist/cdn/map/snice-map.js +415 -0
- package/dist/cdn/map/snice-map.js.map +1 -0
- package/dist/cdn/map/snice-map.min.js +52 -0
- package/dist/cdn/map/snice-map.min.js.map +1 -0
- package/dist/cdn/markdown/README.md +27 -0
- package/dist/cdn/markdown/snice-markdown.js +317 -0
- package/dist/cdn/markdown/snice-markdown.js.map +1 -0
- package/dist/cdn/markdown/snice-markdown.min.js +11 -0
- package/dist/cdn/markdown/snice-markdown.min.js.map +1 -0
- package/dist/cdn/masonry/snice-masonry.js +1 -1
- package/dist/cdn/masonry/snice-masonry.min.js +1 -1
- package/dist/cdn/menu/snice-menu.js +1 -1
- package/dist/cdn/menu/snice-menu.min.js +1 -1
- package/dist/cdn/modal/snice-modal.js +1 -1
- package/dist/cdn/modal/snice-modal.min.js +1 -1
- package/dist/cdn/music-player/snice-music-player.js +1 -1
- package/dist/cdn/music-player/snice-music-player.min.js +1 -1
- package/dist/cdn/nav/README.md +2 -2
- package/dist/cdn/nav/snice-nav.js +23 -6
- package/dist/cdn/nav/snice-nav.js.map +1 -1
- package/dist/cdn/nav/snice-nav.min.js +2 -2
- package/dist/cdn/nav/snice-nav.min.js.map +1 -1
- package/dist/cdn/network-graph/README.md +27 -0
- package/dist/cdn/network-graph/snice-network-graph.js +788 -0
- package/dist/cdn/network-graph/snice-network-graph.js.map +1 -0
- package/dist/cdn/network-graph/snice-network-graph.min.js +13 -0
- package/dist/cdn/network-graph/snice-network-graph.min.js.map +1 -0
- package/dist/cdn/notification-center/README.md +27 -0
- package/dist/cdn/notification-center/snice-notification-center.js +204 -0
- package/dist/cdn/notification-center/snice-notification-center.js.map +1 -0
- package/dist/cdn/notification-center/snice-notification-center.min.js +33 -0
- package/dist/cdn/notification-center/snice-notification-center.min.js.map +1 -0
- package/dist/cdn/org-chart/README.md +27 -0
- package/dist/cdn/org-chart/snice-org-chart.js +294 -0
- package/dist/cdn/org-chart/snice-org-chart.js.map +1 -0
- package/dist/cdn/org-chart/snice-org-chart.min.js +32 -0
- package/dist/cdn/org-chart/snice-org-chart.min.js.map +1 -0
- package/dist/cdn/pagination/README.md +2 -2
- package/dist/cdn/pagination/snice-pagination.js +13 -13
- package/dist/cdn/pagination/snice-pagination.js.map +1 -1
- package/dist/cdn/pagination/snice-pagination.min.js +14 -14
- package/dist/cdn/pagination/snice-pagination.min.js.map +1 -1
- package/dist/cdn/paint/snice-paint.js +1 -1
- package/dist/cdn/paint/snice-paint.min.js +1 -1
- package/dist/cdn/pdf-viewer/README.md +27 -0
- package/dist/cdn/pdf-viewer/snice-pdf-viewer.js +594 -0
- package/dist/cdn/pdf-viewer/snice-pdf-viewer.js.map +1 -0
- package/dist/cdn/pdf-viewer/snice-pdf-viewer.min.js +88 -0
- package/dist/cdn/pdf-viewer/snice-pdf-viewer.min.js.map +1 -0
- package/dist/cdn/podcast-player/README.md +27 -0
- package/dist/cdn/podcast-player/snice-podcast-player.js +835 -0
- package/dist/cdn/podcast-player/snice-podcast-player.js.map +1 -0
- package/dist/cdn/podcast-player/snice-podcast-player.min.js +209 -0
- package/dist/cdn/podcast-player/snice-podcast-player.min.js.map +1 -0
- package/dist/cdn/pricing-table/README.md +27 -0
- package/dist/cdn/pricing-table/snice-pricing-table.js +491 -0
- package/dist/cdn/pricing-table/snice-pricing-table.js.map +1 -0
- package/dist/cdn/pricing-table/snice-pricing-table.min.js +141 -0
- package/dist/cdn/pricing-table/snice-pricing-table.min.js.map +1 -0
- package/dist/cdn/progress/snice-progress.js +1 -1
- package/dist/cdn/progress/snice-progress.min.js +1 -1
- package/dist/cdn/qr-code/snice-qr-code.js +1 -1
- package/dist/cdn/qr-code/snice-qr-code.min.js +1 -1
- package/dist/cdn/qr-reader/snice-qr-reader.js +1 -1
- package/dist/cdn/qr-reader/snice-qr-reader.min.js +1 -1
- package/dist/cdn/radio/snice-radio.js +1 -1
- package/dist/cdn/radio/snice-radio.min.js +1 -1
- package/dist/cdn/rating/README.md +27 -0
- package/dist/cdn/rating/snice-rating.js +210 -0
- package/dist/cdn/rating/snice-rating.js.map +1 -0
- package/dist/cdn/rating/snice-rating.min.js +25 -0
- package/dist/cdn/rating/snice-rating.min.js.map +1 -0
- package/dist/cdn/recipe/README.md +27 -0
- package/dist/cdn/recipe/snice-recipe.js +619 -0
- package/dist/cdn/recipe/snice-recipe.js.map +1 -0
- package/dist/cdn/recipe/snice-recipe.min.js +185 -0
- package/dist/cdn/recipe/snice-recipe.min.js.map +1 -0
- package/dist/cdn/runtime/snice-runtime.esm.js +3 -3
- package/dist/cdn/runtime/snice-runtime.esm.js.map +1 -1
- package/dist/cdn/runtime/snice-runtime.esm.min.js +3 -3
- package/dist/cdn/runtime/snice-runtime.esm.min.js.map +1 -1
- package/dist/cdn/runtime/snice-runtime.js +3 -3
- package/dist/cdn/runtime/snice-runtime.js.map +1 -1
- package/dist/cdn/runtime/snice-runtime.min.js +3 -3
- package/dist/cdn/runtime/snice-runtime.min.js.map +1 -1
- package/dist/cdn/sankey/README.md +27 -0
- package/dist/cdn/sankey/snice-sankey.js +679 -0
- package/dist/cdn/sankey/snice-sankey.js.map +1 -0
- package/dist/cdn/sankey/snice-sankey.min.js +21 -0
- package/dist/cdn/sankey/snice-sankey.min.js.map +1 -0
- package/dist/cdn/select/snice-select.js +1 -1
- package/dist/cdn/select/snice-select.min.js +1 -1
- package/dist/cdn/skeleton/snice-skeleton.js +1 -1
- package/dist/cdn/skeleton/snice-skeleton.min.js +1 -1
- package/dist/cdn/slider/snice-slider.js +1 -1
- package/dist/cdn/slider/snice-slider.min.js +1 -1
- package/dist/cdn/sortable/README.md +27 -0
- package/dist/cdn/sortable/snice-sortable.js +254 -0
- package/dist/cdn/sortable/snice-sortable.js.map +1 -0
- package/dist/cdn/sortable/snice-sortable.min.js +12 -0
- package/dist/cdn/sortable/snice-sortable.min.js.map +1 -0
- package/dist/cdn/sparkline/snice-sparkline.js +1 -1
- package/dist/cdn/sparkline/snice-sparkline.min.js +1 -1
- package/dist/cdn/spinner/snice-spinner.js +1 -1
- package/dist/cdn/spinner/snice-spinner.min.js +1 -1
- package/dist/cdn/split-pane/snice-split-pane.js +1 -1
- package/dist/cdn/split-pane/snice-split-pane.min.js +1 -1
- package/dist/cdn/spotlight/README.md +27 -0
- package/dist/cdn/spotlight/snice-spotlight.js +397 -0
- package/dist/cdn/spotlight/snice-spotlight.js.map +1 -0
- package/dist/cdn/spotlight/snice-spotlight.min.js +8 -0
- package/dist/cdn/spotlight/snice-spotlight.min.js.map +1 -0
- package/dist/cdn/spreadsheet/README.md +27 -0
- package/dist/cdn/spreadsheet/snice-spreadsheet.js +1171 -0
- package/dist/cdn/spreadsheet/snice-spreadsheet.js.map +1 -0
- package/dist/cdn/spreadsheet/snice-spreadsheet.min.js +30 -0
- package/dist/cdn/spreadsheet/snice-spreadsheet.min.js.map +1 -0
- package/dist/cdn/stepper/README.md +6 -2
- package/dist/cdn/stepper/snice-stepper.js +77 -10
- package/dist/cdn/stepper/snice-stepper.js.map +1 -1
- package/dist/cdn/stepper/snice-stepper.min.js +13 -9
- package/dist/cdn/stepper/snice-stepper.min.js.map +1 -1
- package/dist/cdn/switch/snice-switch.js +1 -1
- package/dist/cdn/switch/snice-switch.min.js +1 -1
- package/dist/cdn/table/snice-table.js +1 -1
- package/dist/cdn/table/snice-table.min.js +1 -1
- package/dist/cdn/tabs/snice-tabs.js +1 -1
- package/dist/cdn/tabs/snice-tabs.min.js +1 -1
- package/dist/cdn/tag-input/README.md +27 -0
- package/dist/cdn/tag-input/snice-tag-input.js +387 -0
- package/dist/cdn/tag-input/snice-tag-input.js.map +1 -0
- package/dist/cdn/tag-input/snice-tag-input.min.js +65 -0
- package/dist/cdn/tag-input/snice-tag-input.min.js.map +1 -0
- package/dist/cdn/terminal/snice-terminal.js +1 -1
- package/dist/cdn/terminal/snice-terminal.min.js +1 -1
- package/dist/cdn/testimonial/README.md +27 -0
- package/dist/cdn/testimonial/snice-testimonial.js +187 -0
- package/dist/cdn/testimonial/snice-testimonial.js.map +1 -0
- package/dist/cdn/testimonial/snice-testimonial.min.js +21 -0
- package/dist/cdn/testimonial/snice-testimonial.min.js.map +1 -0
- package/dist/cdn/textarea/snice-textarea.js +1 -1
- package/dist/cdn/textarea/snice-textarea.min.js +1 -1
- package/dist/cdn/time-range-picker/README.md +27 -0
- package/dist/cdn/time-range-picker/snice-time-range-picker.js +635 -0
- package/dist/cdn/time-range-picker/snice-time-range-picker.js.map +1 -0
- package/dist/cdn/time-range-picker/snice-time-range-picker.min.js +34 -0
- package/dist/cdn/time-range-picker/snice-time-range-picker.min.js.map +1 -0
- package/dist/cdn/timeline/snice-timeline.js +1 -1
- package/dist/cdn/timeline/snice-timeline.min.js +1 -1
- package/dist/cdn/timer/snice-timer.js +1 -1
- package/dist/cdn/timer/snice-timer.min.js +1 -1
- package/dist/cdn/toast/snice-toast.js +1 -1
- package/dist/cdn/toast/snice-toast.min.js +1 -1
- package/dist/cdn/tooltip/snice-tooltip.js +1 -1
- package/dist/cdn/tooltip/snice-tooltip.min.js +1 -1
- package/dist/cdn/tree/README.md +5 -1
- package/dist/cdn/tree/snice-tree.js +4 -8
- package/dist/cdn/tree/snice-tree.js.map +1 -1
- package/dist/cdn/tree/snice-tree.min.js +5 -5
- package/dist/cdn/tree/snice-tree.min.js.map +1 -1
- package/dist/cdn/treemap/README.md +27 -0
- package/dist/cdn/treemap/snice-treemap.js +522 -0
- package/dist/cdn/treemap/snice-treemap.js.map +1 -0
- package/dist/cdn/treemap/snice-treemap.min.js +14 -0
- package/dist/cdn/treemap/snice-treemap.min.js.map +1 -0
- package/dist/cdn/video-player/README.md +27 -0
- package/dist/cdn/video-player/snice-video-player.js +721 -0
- package/dist/cdn/video-player/snice-video-player.js.map +1 -0
- package/dist/cdn/video-player/snice-video-player.min.js +153 -0
- package/dist/cdn/video-player/snice-video-player.min.js.map +1 -0
- package/dist/cdn/virtual-scroller/README.md +2 -2
- package/dist/cdn/virtual-scroller/snice-virtual-scroller.js +47 -16
- package/dist/cdn/virtual-scroller/snice-virtual-scroller.js.map +1 -1
- package/dist/cdn/virtual-scroller/snice-virtual-scroller.min.js +9 -9
- package/dist/cdn/virtual-scroller/snice-virtual-scroller.min.js.map +1 -1
- package/dist/cdn/waterfall/README.md +27 -0
- package/dist/cdn/waterfall/snice-waterfall.js +292 -0
- package/dist/cdn/waterfall/snice-waterfall.js.map +1 -0
- package/dist/cdn/waterfall/snice-waterfall.min.js +12 -0
- package/dist/cdn/waterfall/snice-waterfall.min.js.map +1 -0
- package/dist/cdn/weather/README.md +27 -0
- package/dist/cdn/weather/snice-weather.js +194 -0
- package/dist/cdn/weather/snice-weather.js.map +1 -0
- package/dist/cdn/weather/snice-weather.min.js +42 -0
- package/dist/cdn/weather/snice-weather.min.js.map +1 -0
- package/dist/components/app-tiles/snice-app-tiles.d.ts +36 -0
- package/dist/components/app-tiles/snice-app-tiles.js +265 -0
- package/dist/components/app-tiles/snice-app-tiles.js.map +1 -0
- package/dist/components/app-tiles/snice-app-tiles.types.d.ts +22 -0
- package/dist/components/book/snice-book.d.ts +46 -0
- package/dist/components/book/snice-book.js +285 -0
- package/dist/components/book/snice-book.js.map +1 -0
- package/dist/components/book/snice-book.types.d.ts +21 -0
- package/dist/components/breadcrumbs/snice-breadcrumbs.js +1 -1
- package/dist/components/breadcrumbs/snice-breadcrumbs.js.map +1 -1
- package/dist/components/camera-annotate/snice-camera-annotate.d.ts +68 -0
- package/dist/components/camera-annotate/snice-camera-annotate.js +663 -0
- package/dist/components/camera-annotate/snice-camera-annotate.js.map +1 -0
- package/dist/components/camera-annotate/snice-camera-annotate.types.d.ts +50 -0
- package/dist/components/candlestick/snice-candlestick.d.ts +78 -0
- package/dist/components/candlestick/snice-candlestick.js +650 -0
- package/dist/components/candlestick/snice-candlestick.js.map +1 -0
- package/dist/components/candlestick/snice-candlestick.types.d.ts +40 -0
- package/dist/components/comments/snice-comments.d.ts +62 -0
- package/dist/components/comments/snice-comments.js +476 -0
- package/dist/components/comments/snice-comments.js.map +1 -0
- package/dist/components/comments/snice-comments.types.d.ts +64 -0
- package/dist/components/countdown/snice-countdown.d.ts +21 -0
- package/dist/components/countdown/snice-countdown.js +168 -0
- package/dist/components/countdown/snice-countdown.js.map +1 -0
- package/dist/components/countdown/snice-countdown.types.d.ts +18 -0
- package/dist/components/cropper/snice-cropper.d.ts +32 -0
- package/dist/components/cropper/snice-cropper.js +285 -0
- package/dist/components/cropper/snice-cropper.js.map +1 -0
- package/dist/components/cropper/snice-cropper.types.d.ts +26 -0
- package/dist/components/diff/snice-diff.d.ts +32 -0
- package/dist/components/diff/snice-diff.js +374 -0
- package/dist/components/diff/snice-diff.js.map +1 -0
- package/dist/components/diff/snice-diff.types.d.ts +26 -0
- package/dist/components/flip-card/snice-flip-card.d.ts +15 -0
- package/dist/components/flip-card/snice-flip-card.js +116 -0
- package/dist/components/flip-card/snice-flip-card.js.map +1 -0
- package/dist/components/flip-card/snice-flip-card.types.d.ts +16 -0
- package/dist/components/flow/snice-flow.d.ts +91 -0
- package/dist/components/flow/snice-flow.js +755 -0
- package/dist/components/flow/snice-flow.js.map +1 -0
- package/dist/components/flow/snice-flow.types.d.ts +64 -0
- package/dist/components/funnel/snice-funnel.d.ts +37 -0
- package/dist/components/funnel/snice-funnel.js +357 -0
- package/dist/components/funnel/snice-funnel.js.map +1 -0
- package/dist/components/funnel/snice-funnel.types.d.ts +28 -0
- package/dist/components/gantt/snice-gantt.d.ts +34 -0
- package/dist/components/gantt/snice-gantt.js +369 -0
- package/dist/components/gantt/snice-gantt.js.map +1 -0
- package/dist/components/gantt/snice-gantt.types.d.ts +37 -0
- package/dist/components/list/snice-list-item.d.ts +2 -0
- package/dist/components/list/snice-list-item.js +20 -2
- package/dist/components/list/snice-list-item.js.map +1 -1
- package/dist/components/map/snice-map.d.ts +44 -0
- package/dist/components/map/snice-map.js +348 -0
- package/dist/components/map/snice-map.js.map +1 -0
- package/dist/components/map/snice-map.types.d.ts +41 -0
- package/dist/components/markdown/snice-markdown.d.ts +24 -0
- package/dist/components/markdown/snice-markdown.js +250 -0
- package/dist/components/markdown/snice-markdown.js.map +1 -0
- package/dist/components/markdown/snice-markdown.types.d.ts +16 -0
- package/dist/components/nav/snice-nav.js +22 -5
- package/dist/components/nav/snice-nav.js.map +1 -1
- package/dist/components/network-graph/snice-network-graph.d.ts +80 -0
- package/dist/components/network-graph/snice-network-graph.js +721 -0
- package/dist/components/network-graph/snice-network-graph.js.map +1 -0
- package/dist/components/network-graph/snice-network-graph.types.d.ts +49 -0
- package/dist/components/notification-center/snice-notification-center.d.ts +18 -0
- package/dist/components/notification-center/snice-notification-center.js +137 -0
- package/dist/components/notification-center/snice-notification-center.js.map +1 -0
- package/dist/components/notification-center/snice-notification-center.types.d.ts +24 -0
- package/dist/components/org-chart/snice-org-chart.d.ts +28 -0
- package/dist/components/org-chart/snice-org-chart.js +227 -0
- package/dist/components/org-chart/snice-org-chart.js.map +1 -0
- package/dist/components/org-chart/snice-org-chart.types.d.ts +28 -0
- package/dist/components/pagination/snice-pagination.js +12 -12
- package/dist/components/pdf-viewer/pdf.min.mjs +21 -0
- package/dist/components/pdf-viewer/pdf.worker.min.mjs +21 -0
- package/dist/components/pdf-viewer/snice-pdf-viewer.d.ts +59 -0
- package/dist/components/pdf-viewer/snice-pdf-viewer.js +527 -0
- package/dist/components/pdf-viewer/snice-pdf-viewer.js.map +1 -0
- package/dist/components/pdf-viewer/snice-pdf-viewer.types.d.ts +25 -0
- package/dist/components/podcast-player/snice-podcast-player.d.ts +72 -0
- package/dist/components/podcast-player/snice-podcast-player.js +768 -0
- package/dist/components/podcast-player/snice-podcast-player.js.map +1 -0
- package/dist/components/podcast-player/snice-podcast-player.types.d.ts +79 -0
- package/dist/components/pricing-table/snice-pricing-table.d.ts +51 -0
- package/dist/components/pricing-table/snice-pricing-table.js +422 -0
- package/dist/components/pricing-table/snice-pricing-table.js.map +1 -0
- package/dist/components/pricing-table/snice-pricing-table.types.d.ts +49 -0
- package/dist/components/rating/snice-rating.d.ts +15 -0
- package/dist/components/rating/snice-rating.js +143 -0
- package/dist/components/rating/snice-rating.js.map +1 -0
- package/dist/components/rating/snice-rating.types.d.ts +15 -0
- package/dist/components/recipe/snice-recipe.d.ts +53 -0
- package/dist/components/recipe/snice-recipe.js +552 -0
- package/dist/components/recipe/snice-recipe.js.map +1 -0
- package/dist/components/recipe/snice-recipe.types.d.ts +56 -0
- package/dist/components/sankey/snice-sankey.d.ts +46 -0
- package/dist/components/sankey/snice-sankey.js +612 -0
- package/dist/components/sankey/snice-sankey.js.map +1 -0
- package/dist/components/sankey/snice-sankey.types.d.ts +59 -0
- package/dist/components/sortable/snice-sortable.d.ts +24 -0
- package/dist/components/sortable/snice-sortable.js +187 -0
- package/dist/components/sortable/snice-sortable.js.map +1 -0
- package/dist/components/sortable/snice-sortable.types.d.ts +20 -0
- package/dist/components/spotlight/snice-spotlight.d.ts +42 -0
- package/dist/components/spotlight/snice-spotlight.js +330 -0
- package/dist/components/spotlight/snice-spotlight.js.map +1 -0
- package/dist/components/spotlight/snice-spotlight.types.d.ts +26 -0
- package/dist/components/spreadsheet/snice-spreadsheet.d.ts +102 -0
- package/dist/components/spreadsheet/snice-spreadsheet.js +1104 -0
- package/dist/components/spreadsheet/snice-spreadsheet.js.map +1 -0
- package/dist/components/spreadsheet/snice-spreadsheet.types.d.ts +54 -0
- package/dist/components/stepper/snice-stepper.js +9 -3
- package/dist/components/stepper/snice-stepper.js.map +1 -1
- package/dist/components/tag-input/snice-tag-input.d.ts +40 -0
- package/dist/components/tag-input/snice-tag-input.js +320 -0
- package/dist/components/tag-input/snice-tag-input.js.map +1 -0
- package/dist/components/tag-input/snice-tag-input.types.d.ts +29 -0
- package/dist/components/testimonial/snice-testimonial.d.ts +15 -0
- package/dist/components/testimonial/snice-testimonial.js +120 -0
- package/dist/components/testimonial/snice-testimonial.js.map +1 -0
- package/dist/components/testimonial/snice-testimonial.types.d.ts +10 -0
- package/dist/components/time-range-picker/snice-time-range-picker.d.ts +67 -0
- package/dist/components/time-range-picker/snice-time-range-picker.js +568 -0
- package/dist/components/time-range-picker/snice-time-range-picker.js.map +1 -0
- package/dist/components/time-range-picker/snice-time-range-picker.types.d.ts +39 -0
- package/dist/components/treemap/snice-treemap.d.ts +49 -0
- package/dist/components/treemap/snice-treemap.js +455 -0
- package/dist/components/treemap/snice-treemap.js.map +1 -0
- package/dist/components/treemap/snice-treemap.types.d.ts +42 -0
- package/dist/components/video-player/snice-video-player.d.ts +78 -0
- package/dist/components/video-player/snice-video-player.js +654 -0
- package/dist/components/video-player/snice-video-player.js.map +1 -0
- package/dist/components/video-player/snice-video-player.types.d.ts +47 -0
- package/dist/components/virtual-scroller/snice-virtual-scroller.d.ts +5 -0
- package/dist/components/virtual-scroller/snice-virtual-scroller.js +47 -16
- package/dist/components/virtual-scroller/snice-virtual-scroller.js.map +1 -1
- package/dist/components/waterfall/snice-waterfall.d.ts +30 -0
- package/dist/components/waterfall/snice-waterfall.js +225 -0
- package/dist/components/waterfall/snice-waterfall.js.map +1 -0
- package/dist/components/waterfall/snice-waterfall.types.d.ts +23 -0
- package/dist/components/weather/snice-weather.d.ts +10 -0
- package/dist/components/weather/snice-weather.js +127 -0
- package/dist/components/weather/snice-weather.js.map +1 -0
- package/dist/components/weather/snice-weather.types.d.ts +22 -0
- package/dist/index.cjs +1 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.esm.js +1 -1
- package/dist/index.esm.js.map +1 -1
- package/dist/index.iife.js +1 -1
- package/dist/index.iife.js.map +1 -1
- package/dist/symbols.cjs +1 -1
- package/dist/symbols.esm.js +1 -1
- package/dist/transitions.cjs +1 -1
- package/dist/transitions.esm.js +1 -1
- package/docs/ai/DEVELOPMENT.md +1 -1
- package/docs/ai/api.md +6 -3
- package/docs/ai/components/accordion.md +0 -34
- package/docs/ai/components/app-tiles.md +77 -0
- package/docs/ai/components/audio-recorder.md +2 -0
- package/docs/ai/components/badge.md +7 -0
- package/docs/ai/components/book.md +78 -0
- package/docs/ai/components/button.md +5 -0
- package/docs/ai/components/camera-annotate.md +82 -0
- package/docs/ai/components/candlestick.md +79 -0
- package/docs/ai/components/chart.md +0 -24
- package/docs/ai/components/chat.md +7 -95
- package/docs/ai/components/code-block.md +3 -82
- package/docs/ai/components/color-display.md +3 -3
- package/docs/ai/components/color-picker.md +4 -4
- package/docs/ai/components/comments.md +75 -0
- package/docs/ai/components/countdown.md +54 -0
- package/docs/ai/components/cropper.md +57 -0
- package/docs/ai/components/date-picker.md +15 -9
- package/docs/ai/components/diff.md +66 -0
- package/docs/ai/components/divider.md +1 -1
- package/docs/ai/components/draw.md +5 -5
- package/docs/ai/components/drawer.md +5 -5
- package/docs/ai/components/empty-state.md +2 -2
- package/docs/ai/components/file-gallery.md +16 -87
- package/docs/ai/components/file-upload.md +6 -6
- package/docs/ai/components/flip-card.md +52 -0
- package/docs/ai/components/flow.md +104 -0
- package/docs/ai/components/funnel.md +86 -0
- package/docs/ai/components/gantt.md +63 -0
- package/docs/ai/components/gauge.md +1 -1
- package/docs/ai/components/heatmap.md +5 -5
- package/docs/ai/components/input.md +20 -18
- package/docs/ai/components/kanban.md +2 -2
- package/docs/ai/components/kpi.md +4 -53
- package/docs/ai/components/layout.md +10 -235
- package/docs/ai/components/link-preview.md +20 -29
- package/docs/ai/components/link.md +27 -47
- package/docs/ai/components/list.md +51 -31
- package/docs/ai/components/location.md +15 -27
- package/docs/ai/components/login.md +43 -94
- package/docs/ai/components/map.md +72 -0
- package/docs/ai/components/markdown.md +63 -0
- package/docs/ai/components/masonry.md +10 -6
- package/docs/ai/components/menu.md +40 -72
- package/docs/ai/components/modal.md +25 -42
- package/docs/ai/components/music-player.md +37 -89
- package/docs/ai/components/nav.md +25 -39
- package/docs/ai/components/network-graph.md +83 -0
- package/docs/ai/components/notification-center.md +79 -0
- package/docs/ai/components/org-chart.md +62 -0
- package/docs/ai/components/pagination.md +16 -18
- package/docs/ai/components/pdf-viewer.md +57 -0
- package/docs/ai/components/podcast-player.md +94 -0
- package/docs/ai/components/pricing-table.md +87 -0
- package/docs/ai/components/progress.md +23 -39
- package/docs/ai/components/qr-code.md +37 -84
- package/docs/ai/components/qr-reader.md +51 -61
- package/docs/ai/components/radio.md +27 -39
- package/docs/ai/components/rating.md +56 -0
- package/docs/ai/components/recipe.md +90 -0
- package/docs/ai/components/sankey.md +63 -0
- package/docs/ai/components/skeleton.md +0 -8
- package/docs/ai/components/slider.md +10 -50
- package/docs/ai/components/sortable.md +57 -0
- package/docs/ai/components/sparkline.md +26 -152
- package/docs/ai/components/spinner.md +0 -21
- package/docs/ai/components/split-pane.md +16 -38
- package/docs/ai/components/spotlight.md +61 -0
- package/docs/ai/components/spreadsheet.md +138 -0
- package/docs/ai/components/stepper.md +37 -183
- package/docs/ai/components/switch.md +28 -35
- package/docs/ai/components/table.md +43 -172
- package/docs/ai/components/tabs.md +31 -52
- package/docs/ai/components/tag-input.md +70 -0
- package/docs/ai/components/terminal.md +34 -116
- package/docs/ai/components/testimonial.md +56 -0
- package/docs/ai/components/textarea.md +11 -43
- package/docs/ai/components/theme.md +120 -0
- package/docs/ai/components/time-range-picker.md +46 -0
- package/docs/ai/components/timeline.md +7 -46
- package/docs/ai/components/timer.md +41 -37
- package/docs/ai/components/toast.md +19 -90
- package/docs/ai/components/tooltip.md +17 -104
- package/docs/ai/components/tree.md +38 -162
- package/docs/ai/components/treemap.md +57 -0
- package/docs/ai/components/video-player.md +91 -0
- package/docs/ai/components/virtual-scroller.md +23 -46
- package/docs/ai/components/waterfall.md +56 -0
- package/docs/ai/components/weather.md +78 -0
- package/docs/ai/decorators.md +25 -3
- package/docs/ai/patterns.md +17 -1
- package/docs/components/accordion.md +8 -6
- package/docs/components/alert.md +2 -0
- package/docs/components/app-tiles.md +162 -0
- package/docs/components/audio-recorder.md +6 -0
- package/docs/components/avatar.md +225 -0
- package/docs/components/badge.md +2 -0
- package/docs/components/banner.md +2 -0
- package/docs/components/book.md +184 -0
- package/docs/components/breadcrumbs.md +2 -0
- package/docs/components/button.md +15 -0
- package/docs/components/calendar.md +2 -0
- package/docs/components/camera-annotate.md +188 -0
- package/docs/components/camera.md +2 -0
- package/docs/components/candlestick.md +198 -0
- package/docs/components/card.md +2 -0
- package/docs/components/carousel.md +205 -36
- package/docs/components/chart.md +2 -0
- package/docs/components/chat.md +2 -0
- package/docs/components/checkbox.md +2 -0
- package/docs/components/chip.md +2 -0
- package/docs/components/code-block.md +2 -0
- package/docs/components/color-display.md +2 -0
- package/docs/components/color-picker.md +6 -4
- package/docs/components/command-palette.md +2 -0
- package/docs/components/comments.md +235 -0
- package/docs/components/countdown.md +121 -0
- package/docs/components/cropper.md +152 -0
- package/docs/components/date-picker.md +201 -0
- package/docs/components/diff.md +177 -0
- package/docs/components/divider.md +132 -0
- package/docs/components/doc.md +2 -0
- package/docs/components/draw.md +2 -0
- package/docs/components/drawer.md +2 -0
- package/docs/components/empty-state.md +2 -0
- package/docs/components/file-gallery.md +2 -0
- package/docs/components/file-upload.md +2 -0
- package/docs/components/flip-card.md +169 -0
- package/docs/components/flow.md +208 -0
- package/docs/components/funnel.md +193 -0
- package/docs/components/gantt.md +187 -0
- package/docs/components/gauge.md +2 -0
- package/docs/components/heatmap.md +2 -0
- package/docs/components/image.md +2 -0
- package/docs/components/input.md +242 -0
- package/docs/components/kanban.md +2 -0
- package/docs/components/kpi.md +2 -0
- package/docs/components/layout.md +84 -0
- package/docs/components/link-preview.md +66 -92
- package/docs/components/link.md +73 -157
- package/docs/components/list.md +140 -44
- package/docs/components/location.md +96 -283
- package/docs/components/login.md +131 -498
- package/docs/components/map.md +203 -0
- package/docs/components/markdown.md +220 -0
- package/docs/components/masonry.md +57 -102
- package/docs/components/menu.md +87 -494
- package/docs/components/modal.md +83 -436
- package/docs/components/music-player.md +116 -221
- package/docs/components/nav.md +107 -170
- package/docs/components/network-graph.md +187 -0
- package/docs/components/notification-center.md +256 -0
- package/docs/components/org-chart.md +275 -0
- package/docs/components/pagination.md +75 -218
- package/docs/components/paint.md +108 -73
- package/docs/components/pdf-viewer.md +204 -0
- package/docs/components/podcast-player.md +277 -0
- package/docs/components/pricing-table.md +249 -0
- package/docs/components/progress.md +169 -0
- package/docs/components/qr-code.md +95 -378
- package/docs/components/qr-reader.md +83 -258
- package/docs/components/radio.md +151 -0
- package/docs/components/rating.md +154 -0
- package/docs/components/recipe.md +323 -0
- package/docs/components/sankey.md +178 -0
- package/docs/components/select.md +114 -485
- package/docs/components/skeleton.md +96 -0
- package/docs/components/slider.md +92 -235
- package/docs/components/sortable.md +267 -0
- package/docs/components/sparkline.md +76 -222
- package/docs/components/spinner.md +37 -18
- package/docs/components/split-pane.md +62 -226
- package/docs/components/spotlight.md +240 -0
- package/docs/components/spreadsheet.md +405 -0
- package/docs/components/stepper.md +72 -306
- package/docs/components/switch.md +69 -293
- package/docs/components/table.md +250 -0
- package/docs/components/tabs.md +92 -471
- package/docs/components/tag-input.md +257 -0
- package/docs/components/terminal.md +87 -391
- package/docs/components/testimonial.md +185 -0
- package/docs/components/textarea.md +96 -181
- package/docs/components/theme.md +216 -0
- package/docs/components/time-range-picker.md +161 -0
- package/docs/components/timeline.md +67 -115
- package/docs/components/timer.md +44 -86
- package/docs/components/toast.md +93 -432
- package/docs/components/tooltip.md +75 -419
- package/docs/components/tree.md +110 -436
- package/docs/components/treemap.md +155 -0
- package/docs/components/video-player.md +336 -0
- package/docs/components/virtual-scroller.md +86 -226
- package/docs/components/waterfall.md +217 -0
- package/docs/components/weather.md +239 -0
- package/package.json +1 -1
- package/docs/ai/components/popover.md +0 -70
- package/docs/components/popover.md +0 -333
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
# snice-table
|
|
1
|
+
# snice-table
|
|
2
2
|
|
|
3
|
-
Data table with
|
|
3
|
+
Data table with sorting, search, selection, and 15 column types.
|
|
4
4
|
|
|
5
|
-
##
|
|
5
|
+
## Properties
|
|
6
6
|
|
|
7
7
|
```typescript
|
|
8
8
|
size: 'small'|'medium'|'large' = 'medium';
|
|
@@ -10,53 +10,37 @@ variant: 'default'|'striped'|'bordered' = 'default';
|
|
|
10
10
|
striped: boolean = false;
|
|
11
11
|
hoverable: boolean = true;
|
|
12
12
|
bordered: boolean = false;
|
|
13
|
-
stickyHeader: boolean = false;
|
|
13
|
+
stickyHeader: boolean = false; // attr: sticky-header
|
|
14
14
|
sortable: boolean = false;
|
|
15
15
|
selectable: boolean = false;
|
|
16
16
|
clickable: boolean = false;
|
|
17
17
|
loading: boolean = false;
|
|
18
|
-
data: any[] = [];
|
|
19
|
-
columns: ColumnDefinition[] = [];
|
|
20
18
|
searchable: boolean = false;
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
19
|
+
searchDebounce: number = 300; // attr: search-debounce
|
|
20
|
+
list: boolean = false;
|
|
21
|
+
selector: string = '';
|
|
22
|
+
selectorOptions: string = ''; // attr: selector-options
|
|
25
23
|
```
|
|
26
24
|
|
|
27
|
-
|
|
28
|
-
- `setData(data)` - Set table data
|
|
29
|
-
- `sort(column)` - Sort by column
|
|
30
|
-
- `getSelectedRows()` - Get selected rows
|
|
31
|
-
- `search(query)` - Filter data
|
|
32
|
-
- `goToPage(page)` - Navigate pagination
|
|
25
|
+
## Events
|
|
33
26
|
|
|
34
|
-
|
|
35
|
-
- `row-
|
|
36
|
-
- `table-
|
|
37
|
-
- `table-select-all-changed` - {selectedRows, allSelected}
|
|
27
|
+
- `row-clicked` → `{ rowData, rowIndex }`
|
|
28
|
+
- `table-row-selection-changed` → `{ selectedRows, rowIndex, selected }`
|
|
29
|
+
- `table-select-all-changed` → `{ selectedRows, allSelected }`
|
|
38
30
|
|
|
39
|
-
##
|
|
31
|
+
## Methods
|
|
32
|
+
|
|
33
|
+
- `setData(data)` - Set table data array
|
|
34
|
+
- `setColumns(columns)` - Set column definitions
|
|
35
|
+
- `renderHeader()` - Re-render header
|
|
36
|
+
- `renderBody()` - Re-render body
|
|
37
|
+
- `toggleSort(column)` - Sort by column
|
|
40
38
|
|
|
41
|
-
|
|
39
|
+
## Column Types
|
|
42
40
|
|
|
43
|
-
|
|
44
|
-
2. **number** - Formatted numbers (decimals, thousands separators, prefix/suffix)
|
|
45
|
-
3. **date** - Date formatting (short/medium/long/full/custom)
|
|
46
|
-
4. **boolean** - True/false with symbols or text
|
|
47
|
-
5. **currency** - Currency formatting with locale and display options
|
|
48
|
-
6. **percent** - Percentages with trends and colorization
|
|
49
|
-
7. **rating** - Star ratings with custom symbols
|
|
50
|
-
8. **progress** - Progress bars with percentage
|
|
51
|
-
9. **sparkline** - Inline charts (line/bar/area)
|
|
52
|
-
10. **accounting** - Accounting number format
|
|
53
|
-
11. **scientific** - Scientific notation
|
|
54
|
-
12. **fraction** - Fraction display
|
|
55
|
-
13. **duration** - Time durations
|
|
56
|
-
14. **filesize** - File size formatting
|
|
57
|
-
15. **custom** - Custom formatter function
|
|
41
|
+
text, number, date, boolean, currency, percent, rating, progress, sparkline, accounting, scientific, fraction, duration, filesize, custom
|
|
58
42
|
|
|
59
|
-
##
|
|
43
|
+
## ColumnDefinition
|
|
60
44
|
|
|
61
45
|
```typescript
|
|
62
46
|
interface ColumnDefinition {
|
|
@@ -66,157 +50,44 @@ interface ColumnDefinition {
|
|
|
66
50
|
align?: 'left'|'center'|'right';
|
|
67
51
|
width?: string;
|
|
68
52
|
sortable?: boolean;
|
|
69
|
-
filterable?: boolean;
|
|
70
53
|
formatter?: (value, row) => string;
|
|
71
|
-
|
|
72
|
-
// Excel-like formatting
|
|
73
54
|
numberFormat?: NumberFormat;
|
|
74
55
|
dateFormat?: DateFormat;
|
|
75
56
|
booleanFormat?: BooleanFormat;
|
|
76
57
|
ratingFormat?: RatingFormat;
|
|
77
58
|
progressFormat?: ProgressFormat;
|
|
78
59
|
sparklineFormat?: SparklineFormat;
|
|
79
|
-
percentageFormat?: PercentageFormat;
|
|
80
60
|
currencyFormat?: CurrencyFormat;
|
|
81
|
-
|
|
82
|
-
// Additional formats
|
|
83
|
-
phoneFormat?: PhoneFormat;
|
|
84
|
-
statusFormat?: StatusFormat;
|
|
85
|
-
tagFormat?: TagFormat;
|
|
86
|
-
actionsFormat?: ActionsFormat;
|
|
87
|
-
linkFormat?: LinkFormat;
|
|
88
|
-
colorFormat?: ColorFormat;
|
|
89
|
-
emailFormat?: EmailFormat;
|
|
90
|
-
imageFormat?: ImageFormat;
|
|
91
|
-
jsonFormat?: JsonFormat;
|
|
92
|
-
locationFormat?: LocationFormat;
|
|
93
|
-
|
|
94
|
-
// Cell styling
|
|
95
|
-
style?: CellStyle;
|
|
96
61
|
conditionalFormats?: ConditionalFormat[];
|
|
97
|
-
|
|
98
|
-
// Display options
|
|
99
|
-
wrap?: boolean;
|
|
100
|
-
ellipsis?: boolean;
|
|
101
|
-
tooltip?: boolean | ((value, row) => string);
|
|
102
62
|
}
|
|
103
63
|
```
|
|
104
64
|
|
|
105
65
|
## Usage
|
|
106
66
|
|
|
107
67
|
```html
|
|
108
|
-
|
|
109
|
-
<snice-table id="table"></snice-table>
|
|
110
|
-
|
|
111
|
-
<script>
|
|
112
|
-
const table = document.querySelector('#table');
|
|
113
|
-
|
|
114
|
-
table.columns = [
|
|
115
|
-
{ key: 'name', label: 'Name', sortable: true },
|
|
116
|
-
{ key: 'age', label: 'Age', type: 'number', align: 'right' },
|
|
117
|
-
{ key: 'email', label: 'Email' }
|
|
118
|
-
];
|
|
119
|
-
|
|
120
|
-
table.data = [
|
|
121
|
-
{ name: 'John', age: 30, email: 'john@example.com' },
|
|
122
|
-
{ name: 'Jane', age: 25, email: 'jane@example.com' }
|
|
123
|
-
];
|
|
124
|
-
</script>
|
|
125
|
-
|
|
126
|
-
<!-- Striped and hoverable -->
|
|
127
|
-
<snice-table striped hoverable></snice-table>
|
|
128
|
-
|
|
129
|
-
<!-- With sorting and selection -->
|
|
130
|
-
<snice-table sortable selectable></snice-table>
|
|
131
|
-
|
|
132
|
-
<!-- With search -->
|
|
133
|
-
<snice-table searchable></snice-table>
|
|
134
|
-
|
|
135
|
-
<!-- Sticky header -->
|
|
136
|
-
<snice-table sticky-header></snice-table>
|
|
137
|
-
|
|
138
|
-
<!-- Advanced formatting -->
|
|
139
|
-
<script>
|
|
140
|
-
table.columns = [
|
|
141
|
-
{
|
|
142
|
-
key: 'price',
|
|
143
|
-
label: 'Price',
|
|
144
|
-
type: 'currency',
|
|
145
|
-
currencyFormat: { currency: 'USD', decimals: 2 }
|
|
146
|
-
},
|
|
147
|
-
{
|
|
148
|
-
key: 'progress',
|
|
149
|
-
label: 'Progress',
|
|
150
|
-
type: 'progress',
|
|
151
|
-
progressFormat: { max: 100, showPercentage: true }
|
|
152
|
-
},
|
|
153
|
-
{
|
|
154
|
-
key: 'rating',
|
|
155
|
-
label: 'Rating',
|
|
156
|
-
type: 'rating',
|
|
157
|
-
ratingFormat: { max: 5, symbol: '★' }
|
|
158
|
-
},
|
|
159
|
-
{
|
|
160
|
-
key: 'trend',
|
|
161
|
-
label: 'Trend',
|
|
162
|
-
type: 'sparkline',
|
|
163
|
-
sparklineFormat: { type: 'line', color: '#3b82f6' }
|
|
164
|
-
},
|
|
165
|
-
{
|
|
166
|
-
key: 'status',
|
|
167
|
-
label: 'Status',
|
|
168
|
-
type: 'boolean',
|
|
169
|
-
booleanFormat: { trueValue: 'Active', falseValue: 'Inactive', useSymbols: true }
|
|
170
|
-
}
|
|
171
|
-
];
|
|
172
|
-
</script>
|
|
173
|
-
|
|
174
|
-
<!-- Conditional formatting -->
|
|
68
|
+
<snice-table id="table" striped hoverable sortable></snice-table>
|
|
175
69
|
<script>
|
|
176
|
-
table
|
|
177
|
-
|
|
178
|
-
key: '
|
|
179
|
-
label: '
|
|
180
|
-
type: '
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
condition: (val) => val < 60,
|
|
188
|
-
style: { backgroundColor: '#fee2e2', color: '#991b1b' }
|
|
189
|
-
}
|
|
190
|
-
]
|
|
191
|
-
}
|
|
192
|
-
];
|
|
70
|
+
const table = document.querySelector('#table');
|
|
71
|
+
table.setColumns([
|
|
72
|
+
{ key: 'name', label: 'Name', sortable: true },
|
|
73
|
+
{ key: 'age', label: 'Age', type: 'number', align: 'right' },
|
|
74
|
+
{ key: 'price', label: 'Price', type: 'currency', currencyFormat: { currency: 'USD' } },
|
|
75
|
+
{ key: 'rating', label: 'Rating', type: 'rating', ratingFormat: { max: 5 } }
|
|
76
|
+
]);
|
|
77
|
+
table.setData([
|
|
78
|
+
{ name: 'John', age: 30, price: 99.99, rating: 4 },
|
|
79
|
+
{ name: 'Jane', age: 25, price: 149.99, rating: 5 }
|
|
80
|
+
]);
|
|
193
81
|
</script>
|
|
194
82
|
|
|
195
|
-
<!--
|
|
196
|
-
<
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
83
|
+
<!-- Declarative columns -->
|
|
84
|
+
<snice-table>
|
|
85
|
+
<snice-column key="name" label="Name"></snice-column>
|
|
86
|
+
<snice-column key="age" label="Age" type="number"></snice-column>
|
|
87
|
+
<snice-row name="Alice" age="30"></snice-row>
|
|
88
|
+
<snice-row name="Bob" age="25"></snice-row>
|
|
89
|
+
</snice-table>
|
|
200
90
|
|
|
201
|
-
table
|
|
202
|
-
|
|
203
|
-
});
|
|
204
|
-
</script>
|
|
91
|
+
<snice-table selectable clickable searchable></snice-table>
|
|
92
|
+
<snice-table list></snice-table>
|
|
205
93
|
```
|
|
206
|
-
|
|
207
|
-
## Features
|
|
208
|
-
|
|
209
|
-
- 15 specialized column types
|
|
210
|
-
- Excel-like formatting for numbers, dates, currencies
|
|
211
|
-
- Visual formatters (progress bars, ratings, sparklines)
|
|
212
|
-
- Conditional formatting with styles
|
|
213
|
-
- Sorting and filtering
|
|
214
|
-
- Row selection
|
|
215
|
-
- Pagination and search
|
|
216
|
-
- Sticky header
|
|
217
|
-
- Custom cell formatters
|
|
218
|
-
- Tooltips and ellipsis
|
|
219
|
-
- Action buttons in cells
|
|
220
|
-
- 3 sizes and variants
|
|
221
|
-
- Loading state
|
|
222
|
-
- Responsive and accessible
|
|
@@ -1,59 +1,44 @@
|
|
|
1
1
|
# snice-tabs
|
|
2
2
|
|
|
3
|
-
Tabbed interface with
|
|
3
|
+
Tabbed interface with tab buttons and content panels.
|
|
4
4
|
|
|
5
|
-
##
|
|
6
|
-
|
|
7
|
-
### snice-tabs (Container)
|
|
5
|
+
## snice-tabs (Container)
|
|
8
6
|
|
|
9
7
|
```typescript
|
|
10
|
-
selected: number = 0;
|
|
11
|
-
placement: 'top'|'bottom'|'start'|'end' = 'top';
|
|
12
|
-
noScrollControls: boolean = false;
|
|
13
|
-
transition: string = 'none';
|
|
8
|
+
selected: number = 0;
|
|
9
|
+
placement: 'top'|'bottom'|'start'|'end' = 'top';
|
|
10
|
+
noScrollControls: boolean = false; // attr: no-scroll-controls
|
|
11
|
+
transition: string = 'none';
|
|
14
12
|
```
|
|
15
13
|
|
|
16
|
-
|
|
17
|
-
```typescript
|
|
18
|
-
selectTab(index: number) // Select tab by index
|
|
19
|
-
show(index: number) // Alias for selectTab
|
|
20
|
-
getTab(index: number) // Get tab element
|
|
21
|
-
getPanel(index: number) // Get panel element
|
|
22
|
-
```
|
|
14
|
+
## snice-tab (Tab Button)
|
|
23
15
|
|
|
24
|
-
**Events:**
|
|
25
16
|
```typescript
|
|
26
|
-
|
|
17
|
+
disabled: boolean = false;
|
|
18
|
+
closable: boolean = false;
|
|
27
19
|
```
|
|
28
20
|
|
|
29
|
-
|
|
21
|
+
## snice-tab-panel (Content Panel)
|
|
30
22
|
|
|
31
23
|
```typescript
|
|
32
|
-
|
|
33
|
-
|
|
24
|
+
name: string = '';
|
|
25
|
+
transitionIn: string = ''; // attr: transition-in
|
|
26
|
+
transitionOut: string = ''; // attr: transition-out
|
|
27
|
+
transitionDuration: number = 300; // attr: transition-duration
|
|
34
28
|
```
|
|
35
29
|
|
|
36
|
-
|
|
37
|
-
```typescript
|
|
38
|
-
focus() // Focus the tab
|
|
39
|
-
blur() // Remove focus
|
|
40
|
-
```
|
|
30
|
+
## Events
|
|
41
31
|
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
'tab-close' // { tab }
|
|
46
|
-
```
|
|
32
|
+
- `tab-change` → `{ index, oldIndex, tab, panel }` - Tab switched
|
|
33
|
+
- `tab-select` → `{ tab }` - Tab clicked
|
|
34
|
+
- `tab-close` → `{ tab }` - Close button clicked
|
|
47
35
|
|
|
48
|
-
|
|
36
|
+
## Methods
|
|
49
37
|
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
transitioning: 'in'|'out'|'' = ''; // Transition state
|
|
55
|
-
transitionDuration: number = 300; // Transition duration (ms)
|
|
56
|
-
```
|
|
38
|
+
- `selectTab(index)` - Select tab by index
|
|
39
|
+
- `show(index)` - Alias for selectTab
|
|
40
|
+
- `getTab(index)` - Get tab element
|
|
41
|
+
- `getPanel(index)` - Get panel element
|
|
57
42
|
|
|
58
43
|
## Usage
|
|
59
44
|
|
|
@@ -61,23 +46,17 @@ transitionDuration: number = 300; // Transition duration (ms)
|
|
|
61
46
|
<snice-tabs>
|
|
62
47
|
<snice-tab slot="nav">Tab 1</snice-tab>
|
|
63
48
|
<snice-tab slot="nav">Tab 2</snice-tab>
|
|
64
|
-
|
|
65
49
|
<snice-tab-panel>Content 1</snice-tab-panel>
|
|
66
50
|
<snice-tab-panel>Content 2</snice-tab-panel>
|
|
67
51
|
</snice-tabs>
|
|
68
|
-
```
|
|
69
52
|
|
|
70
|
-
|
|
71
|
-
tabs
|
|
72
|
-
|
|
73
|
-
});
|
|
53
|
+
<!-- Placement -->
|
|
54
|
+
<snice-tabs placement="bottom">...</snice-tabs>
|
|
55
|
+
<snice-tabs placement="start">...</snice-tabs>
|
|
74
56
|
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
## Notes
|
|
57
|
+
<!-- Closable -->
|
|
58
|
+
<snice-tab slot="nav" closable>Closable Tab</snice-tab>
|
|
79
59
|
|
|
80
|
-
|
|
81
|
-
-
|
|
82
|
-
|
|
83
|
-
- Supports keyboard navigation
|
|
60
|
+
<!-- Disabled -->
|
|
61
|
+
<snice-tab slot="nav" disabled>Disabled Tab</snice-tab>
|
|
62
|
+
```
|
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
# snice-tag-input
|
|
2
|
+
|
|
3
|
+
Tag/chip input with autocomplete suggestions, keyboard navigation, and comma-separated entry.
|
|
4
|
+
|
|
5
|
+
## Properties
|
|
6
|
+
|
|
7
|
+
```ts
|
|
8
|
+
value: string[] = []
|
|
9
|
+
suggestions: string[] = []
|
|
10
|
+
maxTags: number = 0 // 0 = unlimited (attribute: max-tags)
|
|
11
|
+
allowDuplicates: boolean = false // attribute: allow-duplicates
|
|
12
|
+
placeholder: string = 'Add a tag...'
|
|
13
|
+
disabled: boolean = false
|
|
14
|
+
readonly: boolean = false
|
|
15
|
+
label: string = ''
|
|
16
|
+
name: string = ''
|
|
17
|
+
```
|
|
18
|
+
|
|
19
|
+
## Methods
|
|
20
|
+
|
|
21
|
+
- `addTag(tag: string)` - Add a tag programmatically
|
|
22
|
+
- `removeTag(index: number)` - Remove tag at index
|
|
23
|
+
- `clear()` - Remove all tags
|
|
24
|
+
- `focus()` - Focus the input field
|
|
25
|
+
|
|
26
|
+
## Events
|
|
27
|
+
|
|
28
|
+
- `tag-add` -> `{ tag: string; value: string[] }`
|
|
29
|
+
- `tag-remove` -> `{ tag: string; index: number; value: string[] }`
|
|
30
|
+
- `tag-change` -> `{ value: string[] }`
|
|
31
|
+
|
|
32
|
+
## Input Behavior
|
|
33
|
+
|
|
34
|
+
- Enter: Add current input as tag (or select highlighted suggestion)
|
|
35
|
+
- Comma: Split input and add each part as a tag
|
|
36
|
+
- Backspace on empty input: Remove last tag
|
|
37
|
+
- ArrowUp/ArrowDown: Navigate suggestions
|
|
38
|
+
- Escape: Close suggestions dropdown
|
|
39
|
+
|
|
40
|
+
## CSS Custom Properties
|
|
41
|
+
|
|
42
|
+
- `--snice-color-border` - Container border (default: `rgb(226 226 226)`)
|
|
43
|
+
- `--snice-color-primary` - Focus ring, tag color (default: `rgb(37 99 235)`)
|
|
44
|
+
- `--snice-color-primary-subtle` - Tag background (default: `rgb(239 246 255)`)
|
|
45
|
+
- `--snice-color-background` - Input background (default: `rgb(255 255 255)`)
|
|
46
|
+
- `--snice-color-text` - Text color (default: `rgb(23 23 23)`)
|
|
47
|
+
- `--snice-color-text-tertiary` - Placeholder color
|
|
48
|
+
- `--snice-focus-ring-width` - Focus ring width (default: `2px`)
|
|
49
|
+
- `--snice-focus-ring-color` - Focus ring color
|
|
50
|
+
- `--snice-shadow-lg` - Suggestions dropdown shadow
|
|
51
|
+
|
|
52
|
+
## Usage
|
|
53
|
+
|
|
54
|
+
```html
|
|
55
|
+
<snice-tag-input
|
|
56
|
+
label="Skills"
|
|
57
|
+
placeholder="Add a skill..."
|
|
58
|
+
max-tags="5"
|
|
59
|
+
></snice-tag-input>
|
|
60
|
+
```
|
|
61
|
+
|
|
62
|
+
```js
|
|
63
|
+
const tagInput = document.querySelector('snice-tag-input');
|
|
64
|
+
tagInput.suggestions = ['JavaScript', 'TypeScript', 'Python', 'Rust', 'Go'];
|
|
65
|
+
tagInput.value = ['JavaScript'];
|
|
66
|
+
|
|
67
|
+
tagInput.addEventListener('tag-change', (e) => {
|
|
68
|
+
console.log('Tags:', e.detail.value);
|
|
69
|
+
});
|
|
70
|
+
```
|
|
@@ -1,147 +1,65 @@
|
|
|
1
1
|
# snice-terminal
|
|
2
2
|
|
|
3
|
-
Shell terminal emulator with command execution, history, ANSI colors
|
|
4
|
-
|
|
5
|
-
## Usage
|
|
6
|
-
|
|
7
|
-
```html
|
|
8
|
-
<snice-terminal prompt="$ " cwd="~"></snice-terminal>
|
|
9
|
-
```
|
|
3
|
+
Shell terminal emulator with command execution, history, and ANSI colors.
|
|
10
4
|
|
|
11
5
|
## Properties
|
|
12
6
|
|
|
13
|
-
- `prompt: string` - Terminal prompt (default: `"$ "`)
|
|
14
|
-
- `cwd: string` - Current working directory (default: `"~"`)
|
|
15
|
-
- `readonly: boolean` - Disable input (default: `false`)
|
|
16
|
-
- `maxLines: number` - Max lines in history (default: `1000`)
|
|
17
|
-
- `showTimestamps: boolean` - Show line timestamps (default: `false`)
|
|
18
|
-
|
|
19
|
-
## Methods
|
|
20
|
-
|
|
21
|
-
- `write(content: string, type?: TerminalLineType): void` - Write without newline
|
|
22
|
-
- `writeln(content: string, type?: TerminalLineType): void` - Write with newline
|
|
23
|
-
- `writeLines(lines: Array<{ content: string; type?: TerminalLineType }>): void` - Write multiple lines
|
|
24
|
-
- `writeError(content: string): void` - Write error line
|
|
25
|
-
- `clear(): void` - Clear terminal
|
|
26
|
-
- `focus(): void` - Focus input
|
|
27
|
-
- `getHistory(): string[]` - Get command history
|
|
28
|
-
- `clearHistory(): void` - Clear command history
|
|
29
|
-
|
|
30
|
-
## Events
|
|
31
|
-
|
|
32
|
-
- `@snice/terminal-command: CustomEvent<{ command: string; args: string[] }>` - Command entered
|
|
33
|
-
- `@snice/terminal-clear: CustomEvent<{}>` - Terminal cleared
|
|
34
|
-
- `@snice/terminal-ready: CustomEvent<{}>` - Terminal ready
|
|
35
|
-
|
|
36
|
-
## Request/Response Pattern
|
|
37
|
-
|
|
38
|
-
Terminal uses `@request('terminal-command')` decorator pattern:
|
|
39
|
-
|
|
40
7
|
```typescript
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
}
|
|
47
|
-
|
|
48
|
-
// Controller responds
|
|
49
|
-
@respond('terminal-command')
|
|
50
|
-
async handleCommand(payload: TerminalCommandRequest) {
|
|
51
|
-
const { command, args, cwd } = payload;
|
|
52
|
-
// Execute command
|
|
53
|
-
return { output: 'result', exitCode: 0 };
|
|
54
|
-
}
|
|
8
|
+
prompt: string = '$ ';
|
|
9
|
+
cwd: string = '~';
|
|
10
|
+
readonly: boolean = false;
|
|
11
|
+
maxLines: number = 1000; // attr: max-lines
|
|
12
|
+
showTimestamps: boolean = false; // attr: show-timestamps
|
|
55
13
|
```
|
|
56
14
|
|
|
57
|
-
##
|
|
58
|
-
|
|
59
|
-
- `input` - User input
|
|
60
|
-
- `output` - Command output
|
|
61
|
-
- `error` - Error message
|
|
62
|
-
- `info` - Info message
|
|
63
|
-
- `success` - Success message
|
|
64
|
-
- `warning` - Warning message
|
|
15
|
+
## Events
|
|
65
16
|
|
|
66
|
-
|
|
17
|
+
- `terminal-command` → `{ command, args }` - Command entered
|
|
18
|
+
- `terminal-clear` → `{}` - Terminal cleared
|
|
19
|
+
- `terminal-ready` → `{}` - Terminal ready
|
|
67
20
|
|
|
68
|
-
|
|
69
|
-
- `↑/↓` - Navigate history
|
|
70
|
-
- `Ctrl+C` - Cancel input
|
|
71
|
-
- `Ctrl+L` - Clear terminal
|
|
72
|
-
- `Tab` - Command completion (TODO)
|
|
21
|
+
## Methods
|
|
73
22
|
|
|
74
|
-
|
|
23
|
+
- `write(content, type?)` - Write without newline
|
|
24
|
+
- `writeln(content, type?)` - Write with newline
|
|
25
|
+
- `writeLines(lines)` - Write multiple lines
|
|
26
|
+
- `writeError(content)` - Write error line
|
|
27
|
+
- `clear()` - Clear terminal
|
|
28
|
+
- `focus()` - Focus input
|
|
29
|
+
- `getHistory()` - Get command history
|
|
30
|
+
- `clearHistory()` - Clear command history
|
|
75
31
|
|
|
76
|
-
|
|
77
|
-
- `30-37` - Standard colors
|
|
78
|
-
- `90-97` - Bright colors
|
|
32
|
+
## Line Types
|
|
79
33
|
|
|
80
|
-
|
|
34
|
+
`input` | `output` | `error` | `info` | `success` | `warning`
|
|
81
35
|
|
|
82
|
-
## CSS
|
|
36
|
+
## CSS Custom Properties
|
|
83
37
|
|
|
84
38
|
```css
|
|
85
39
|
--snice-terminal-background
|
|
86
40
|
--snice-terminal-foreground
|
|
87
41
|
--snice-terminal-border
|
|
88
|
-
--snice-terminal-
|
|
89
|
-
--snice-terminal-scrollbar-thumb
|
|
42
|
+
--snice-terminal-prompt-color
|
|
90
43
|
--snice-terminal-input-color
|
|
91
44
|
--snice-terminal-output-color
|
|
92
45
|
--snice-terminal-error-color
|
|
93
46
|
--snice-terminal-info-color
|
|
94
47
|
--snice-terminal-success-color
|
|
95
48
|
--snice-terminal-warning-color
|
|
96
|
-
--snice-terminal-prompt-color
|
|
97
|
-
--snice-terminal-selection
|
|
98
|
-
```
|
|
99
|
-
|
|
100
|
-
## Types
|
|
101
|
-
|
|
102
|
-
```typescript
|
|
103
|
-
type TerminalLineType = 'input' | 'output' | 'error' | 'info' | 'success' | 'warning';
|
|
104
|
-
|
|
105
|
-
interface TerminalCommandRequest {
|
|
106
|
-
command: string;
|
|
107
|
-
args: string[];
|
|
108
|
-
cwd?: string;
|
|
109
|
-
history?: string[];
|
|
110
|
-
}
|
|
111
|
-
|
|
112
|
-
interface TerminalCommandResponse {
|
|
113
|
-
output?: string;
|
|
114
|
-
error?: string;
|
|
115
|
-
exitCode?: number;
|
|
116
|
-
}
|
|
117
49
|
```
|
|
118
50
|
|
|
119
|
-
##
|
|
120
|
-
|
|
121
|
-
```javascript
|
|
122
|
-
const terminal = document.querySelector('snice-terminal');
|
|
51
|
+
## Usage
|
|
123
52
|
|
|
124
|
-
|
|
125
|
-
terminal
|
|
126
|
-
console.log('Command:', e.detail.command, e.detail.args);
|
|
127
|
-
});
|
|
53
|
+
```html
|
|
54
|
+
<snice-terminal prompt="$ " cwd="~"></snice-terminal>
|
|
128
55
|
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
if (req.command === 'echo') {
|
|
134
|
-
return { output: req.args.join(' '), exitCode: 0 };
|
|
135
|
-
}
|
|
136
|
-
if (req.command === 'clear') {
|
|
137
|
-
return { output: '\x1B[CLEAR]' };
|
|
138
|
-
}
|
|
139
|
-
return { error: `Command not found: ${req.command}`, exitCode: 127 };
|
|
140
|
-
}
|
|
141
|
-
}
|
|
56
|
+
<script>
|
|
57
|
+
const terminal = document.querySelector('snice-terminal');
|
|
58
|
+
terminal.writeln('Welcome!', 'info');
|
|
59
|
+
terminal.writeError('Something failed');
|
|
142
60
|
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
61
|
+
terminal.addEventListener('terminal-command', (e) => {
|
|
62
|
+
console.log('Command:', e.detail.command, e.detail.args);
|
|
63
|
+
});
|
|
64
|
+
</script>
|
|
147
65
|
```
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
# snice-testimonial
|
|
2
|
+
|
|
3
|
+
Testimonial/quote card with author info, avatar, star rating, and variant styles.
|
|
4
|
+
|
|
5
|
+
## Properties
|
|
6
|
+
|
|
7
|
+
```ts
|
|
8
|
+
quote: string = ''
|
|
9
|
+
author: string = ''
|
|
10
|
+
avatar: string = '' // URL for author avatar image
|
|
11
|
+
role: string = '' // e.g. "CEO"
|
|
12
|
+
company: string = '' // e.g. "Acme Inc" (renders as "role at company")
|
|
13
|
+
rating: number = 0 // 0-5 star rating (0 = hidden)
|
|
14
|
+
variant: 'card' | 'minimal' | 'featured' = 'card'
|
|
15
|
+
```
|
|
16
|
+
|
|
17
|
+
## Variants
|
|
18
|
+
|
|
19
|
+
- `card` - Default. Background, border, and shadow
|
|
20
|
+
- `minimal` - Left border accent, no background
|
|
21
|
+
- `featured` - Primary-colored background with inverse text
|
|
22
|
+
|
|
23
|
+
## CSS Custom Properties
|
|
24
|
+
|
|
25
|
+
- `--snice-color-background-element` - Card background (default: `rgb(252 251 249)`)
|
|
26
|
+
- `--snice-color-border` - Card border (default: `rgb(226 226 226)`)
|
|
27
|
+
- `--snice-color-primary` - Quote icon, minimal border, featured bg (default: `rgb(37 99 235)`)
|
|
28
|
+
- `--snice-color-text` - Text color (default: `rgb(23 23 23)`)
|
|
29
|
+
- `--snice-color-text-secondary` - Author role color
|
|
30
|
+
- `--snice-color-text-inverse` - Featured variant text (default: `rgb(250 250 250)`)
|
|
31
|
+
- `--snice-color-warning` - Star rating color (default: `rgb(234 179 8)`)
|
|
32
|
+
- `--snice-shadow-sm` - Card shadow
|
|
33
|
+
- `--snice-spacing-lg` - Card padding (default: `1.5rem`)
|
|
34
|
+
- `--snice-border-radius-lg` - Card border radius (default: `0.5rem`)
|
|
35
|
+
|
|
36
|
+
## Usage
|
|
37
|
+
|
|
38
|
+
```html
|
|
39
|
+
<snice-testimonial
|
|
40
|
+
quote="This product changed my workflow completely."
|
|
41
|
+
author="Jane Doe"
|
|
42
|
+
role="CTO"
|
|
43
|
+
company="Acme Corp"
|
|
44
|
+
avatar="https://example.com/jane.jpg"
|
|
45
|
+
rating="5"
|
|
46
|
+
variant="card"
|
|
47
|
+
></snice-testimonial>
|
|
48
|
+
|
|
49
|
+
<!-- Featured style -->
|
|
50
|
+
<snice-testimonial
|
|
51
|
+
quote="Outstanding experience from start to finish."
|
|
52
|
+
author="John Smith"
|
|
53
|
+
rating="4"
|
|
54
|
+
variant="featured"
|
|
55
|
+
></snice-testimonial>
|
|
56
|
+
```
|