snice 4.24.0 → 4.25.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/README.md +4 -39
- package/bin/mcp-server.js +32 -0
- package/dist/cdn/accordion/snice-accordion.js +2 -2
- package/dist/cdn/accordion/snice-accordion.min.js +2 -2
- package/dist/cdn/activity-feed/snice-activity-feed.js +3 -3
- package/dist/cdn/activity-feed/snice-activity-feed.js.map +1 -1
- package/dist/cdn/activity-feed/snice-activity-feed.min.js +3 -3
- package/dist/cdn/activity-feed/snice-activity-feed.min.js.map +1 -1
- package/dist/cdn/alert/snice-alert.js +8 -4
- package/dist/cdn/alert/snice-alert.js.map +1 -1
- package/dist/cdn/alert/snice-alert.min.js +2 -2
- package/dist/cdn/alert/snice-alert.min.js.map +1 -1
- package/dist/cdn/app-tiles/snice-app-tiles.js +2 -2
- package/dist/cdn/app-tiles/snice-app-tiles.min.js +2 -2
- package/dist/cdn/approval-flow/snice-approval-flow.js +3 -3
- package/dist/cdn/approval-flow/snice-approval-flow.js.map +1 -1
- package/dist/cdn/approval-flow/snice-approval-flow.min.js +3 -3
- package/dist/cdn/approval-flow/snice-approval-flow.min.js.map +1 -1
- package/dist/cdn/audio-recorder/README.md +1 -1
- package/dist/cdn/audio-recorder/snice-audio-recorder.js +2 -2
- package/dist/cdn/audio-recorder/snice-audio-recorder.min.js +2 -2
- package/dist/cdn/availability/snice-availability.js +2 -2
- package/dist/cdn/availability/snice-availability.min.js +2 -2
- package/dist/cdn/avatar/snice-avatar.js +2 -2
- package/dist/cdn/avatar/snice-avatar.min.js +2 -2
- package/dist/cdn/avatar-group/snice-avatar-group.js +3 -3
- package/dist/cdn/avatar-group/snice-avatar-group.js.map +1 -1
- package/dist/cdn/avatar-group/snice-avatar-group.min.js +16 -16
- package/dist/cdn/avatar-group/snice-avatar-group.min.js.map +1 -1
- package/dist/cdn/badge/snice-badge.js +2 -2
- package/dist/cdn/badge/snice-badge.min.js +2 -2
- package/dist/cdn/banner/snice-banner.js +9 -5
- package/dist/cdn/banner/snice-banner.js.map +1 -1
- package/dist/cdn/banner/snice-banner.min.js +3 -3
- package/dist/cdn/banner/snice-banner.min.js.map +1 -1
- package/dist/cdn/book/snice-book.js +2 -2
- package/dist/cdn/book/snice-book.min.js +2 -2
- package/dist/cdn/booking/snice-booking.js +2 -2
- package/dist/cdn/booking/snice-booking.min.js +2 -2
- package/dist/cdn/breadcrumbs/snice-breadcrumbs.js +8 -4
- package/dist/cdn/breadcrumbs/snice-breadcrumbs.js.map +1 -1
- package/dist/cdn/breadcrumbs/snice-breadcrumbs.min.js +2 -2
- package/dist/cdn/breadcrumbs/snice-breadcrumbs.min.js.map +1 -1
- package/dist/cdn/button/snice-button.js +8 -4
- package/dist/cdn/button/snice-button.js.map +1 -1
- package/dist/cdn/button/snice-button.min.js +2 -2
- package/dist/cdn/button/snice-button.min.js.map +1 -1
- package/dist/cdn/calendar/snice-calendar.js +2 -2
- package/dist/cdn/calendar/snice-calendar.min.js +2 -2
- package/dist/cdn/camera/snice-camera.js +2 -2
- package/dist/cdn/camera/snice-camera.min.js +2 -2
- package/dist/cdn/camera-annotate/snice-camera-annotate.js +2 -2
- package/dist/cdn/camera-annotate/snice-camera-annotate.min.js +2 -2
- package/dist/cdn/candlestick/snice-candlestick.js +2 -2
- package/dist/cdn/candlestick/snice-candlestick.min.js +2 -2
- package/dist/cdn/card/README.md +1 -1
- package/dist/cdn/card/snice-card.js +2 -2
- package/dist/cdn/card/snice-card.min.js +2 -2
- package/dist/cdn/carousel/snice-carousel.js +2 -2
- package/dist/cdn/carousel/snice-carousel.min.js +2 -2
- package/dist/cdn/cart/snice-cart.js +3 -3
- package/dist/cdn/cart/snice-cart.js.map +1 -1
- package/dist/cdn/cart/snice-cart.min.js +3 -3
- package/dist/cdn/cart/snice-cart.min.js.map +1 -1
- package/dist/cdn/chart/snice-chart.js +2 -2
- package/dist/cdn/chart/snice-chart.min.js +2 -2
- package/dist/cdn/chat/snice-chat.js +9 -5
- package/dist/cdn/chat/snice-chat.js.map +1 -1
- package/dist/cdn/chat/snice-chat.min.js +3 -3
- package/dist/cdn/chat/snice-chat.min.js.map +1 -1
- package/dist/cdn/checkbox/snice-checkbox.js +2 -2
- package/dist/cdn/checkbox/snice-checkbox.min.js +2 -2
- package/dist/cdn/chip/README.md +1 -1
- package/dist/cdn/chip/snice-chip.js +8 -4
- package/dist/cdn/chip/snice-chip.js.map +1 -1
- package/dist/cdn/chip/snice-chip.min.js +2 -2
- package/dist/cdn/chip/snice-chip.min.js.map +1 -1
- package/dist/cdn/code-block/snice-code-block.js +2 -2
- package/dist/cdn/code-block/snice-code-block.min.js +2 -2
- package/dist/cdn/color-display/snice-color-display.js +3 -3
- package/dist/cdn/color-display/snice-color-display.js.map +1 -1
- package/dist/cdn/color-display/snice-color-display.min.js +4 -4
- package/dist/cdn/color-display/snice-color-display.min.js.map +1 -1
- package/dist/cdn/color-picker/snice-color-picker.js +2 -2
- package/dist/cdn/color-picker/snice-color-picker.min.js +2 -2
- package/dist/cdn/command-palette/README.md +1 -1
- package/dist/cdn/command-palette/snice-command-palette.js +2 -2
- package/dist/cdn/command-palette/snice-command-palette.min.js +2 -2
- package/dist/cdn/comments/snice-comments.js +3 -3
- package/dist/cdn/comments/snice-comments.js.map +1 -1
- package/dist/cdn/comments/snice-comments.min.js +3 -3
- package/dist/cdn/comments/snice-comments.min.js.map +1 -1
- package/dist/cdn/countdown/README.md +1 -1
- package/dist/cdn/countdown/snice-countdown.js +2 -2
- package/dist/cdn/countdown/snice-countdown.min.js +2 -2
- package/dist/cdn/cropper/snice-cropper.js +2 -2
- package/dist/cdn/cropper/snice-cropper.min.js +2 -2
- package/dist/cdn/data-card/snice-data-card.js +3 -3
- package/dist/cdn/data-card/snice-data-card.js.map +1 -1
- package/dist/cdn/data-card/snice-data-card.min.js +3 -3
- package/dist/cdn/data-card/snice-data-card.min.js.map +1 -1
- package/dist/cdn/date-picker/snice-date-picker.js +2 -2
- package/dist/cdn/date-picker/snice-date-picker.min.js +2 -2
- package/dist/cdn/date-time-picker/README.md +2 -2
- package/dist/cdn/date-time-picker/snice-date-time-picker.js +2 -2
- package/dist/cdn/date-time-picker/snice-date-time-picker.min.js +2 -2
- package/dist/cdn/diff/snice-diff.js +2 -2
- package/dist/cdn/diff/snice-diff.min.js +2 -2
- package/dist/cdn/divider/snice-divider.js +2 -2
- package/dist/cdn/divider/snice-divider.min.js +2 -2
- package/dist/cdn/doc/snice-doc.js +2 -2
- package/dist/cdn/doc/snice-doc.min.js +2 -2
- package/dist/cdn/draw/snice-draw.js +2 -2
- package/dist/cdn/draw/snice-draw.min.js +2 -2
- package/dist/cdn/drawer/README.md +1 -1
- package/dist/cdn/drawer/snice-drawer.js +12 -6
- package/dist/cdn/drawer/snice-drawer.js.map +1 -1
- package/dist/cdn/drawer/snice-drawer.min.js +4 -4
- package/dist/cdn/drawer/snice-drawer.min.js.map +1 -1
- package/dist/cdn/empty-state/snice-empty-state.js +9 -5
- package/dist/cdn/empty-state/snice-empty-state.js.map +1 -1
- package/dist/cdn/empty-state/snice-empty-state.min.js +3 -3
- package/dist/cdn/empty-state/snice-empty-state.min.js.map +1 -1
- package/dist/cdn/estimate/snice-estimate.js +3 -3
- package/dist/cdn/estimate/snice-estimate.js.map +1 -1
- package/dist/cdn/estimate/snice-estimate.min.js +3 -3
- package/dist/cdn/estimate/snice-estimate.min.js.map +1 -1
- package/dist/cdn/file-gallery/snice-file-gallery.js +2 -2
- package/dist/cdn/file-gallery/snice-file-gallery.min.js +2 -2
- package/dist/cdn/file-upload/snice-file-upload.js +3 -3
- package/dist/cdn/file-upload/snice-file-upload.js.map +1 -1
- package/dist/cdn/file-upload/snice-file-upload.min.js +3 -3
- package/dist/cdn/file-upload/snice-file-upload.min.js.map +1 -1
- package/dist/cdn/flip-card/snice-flip-card.js +2 -2
- package/dist/cdn/flip-card/snice-flip-card.min.js +2 -2
- package/dist/cdn/flow/README.md +1 -1
- package/dist/cdn/flow/snice-flow.js +2 -2
- package/dist/cdn/flow/snice-flow.min.js +2 -2
- package/dist/cdn/form-layout/snice-form-layout.js +3 -3
- package/dist/cdn/form-layout/snice-form-layout.js.map +1 -1
- package/dist/cdn/form-layout/snice-form-layout.min.js +3 -3
- package/dist/cdn/form-layout/snice-form-layout.min.js.map +1 -1
- package/dist/cdn/funnel/README.md +2 -2
- package/dist/cdn/funnel/snice-funnel.js +2 -2
- package/dist/cdn/funnel/snice-funnel.min.js +2 -2
- package/dist/cdn/gantt/README.md +1 -1
- package/dist/cdn/gantt/snice-gantt.js +2 -2
- package/dist/cdn/gantt/snice-gantt.min.js +2 -2
- package/dist/cdn/gauge/snice-gauge.js +2 -2
- package/dist/cdn/gauge/snice-gauge.min.js +2 -2
- package/dist/cdn/heatmap/README.md +1 -1
- package/dist/cdn/heatmap/snice-heatmap.js +2 -2
- package/dist/cdn/heatmap/snice-heatmap.min.js +2 -2
- package/dist/cdn/image/snice-image.js +3 -3
- package/dist/cdn/image/snice-image.js.map +1 -1
- package/dist/cdn/image/snice-image.min.js +3 -3
- package/dist/cdn/image/snice-image.min.js.map +1 -1
- package/dist/cdn/input/README.md +1 -1
- package/dist/cdn/input/snice-input.js +9 -5
- package/dist/cdn/input/snice-input.js.map +1 -1
- package/dist/cdn/input/snice-input.min.js +3 -3
- package/dist/cdn/input/snice-input.min.js.map +1 -1
- package/dist/cdn/invoice/snice-invoice.js +3 -3
- package/dist/cdn/invoice/snice-invoice.js.map +1 -1
- package/dist/cdn/invoice/snice-invoice.min.js +4 -4
- package/dist/cdn/invoice/snice-invoice.min.js.map +1 -1
- package/dist/cdn/kanban/snice-kanban.js +2 -2
- package/dist/cdn/kanban/snice-kanban.min.js +2 -2
- package/dist/cdn/key-value/snice-key-value.js +3 -3
- package/dist/cdn/key-value/snice-key-value.js.map +1 -1
- package/dist/cdn/key-value/snice-key-value.min.js +3 -3
- package/dist/cdn/key-value/snice-key-value.min.js.map +1 -1
- package/dist/cdn/kpi/snice-kpi.js +3 -3
- package/dist/cdn/kpi/snice-kpi.js.map +1 -1
- package/dist/cdn/kpi/snice-kpi.min.js +3 -3
- package/dist/cdn/kpi/snice-kpi.min.js.map +1 -1
- package/dist/cdn/layout/snice-layout.js +3 -3
- package/dist/cdn/layout/snice-layout.js.map +1 -1
- package/dist/cdn/layout/snice-layout.min.js +3 -3
- package/dist/cdn/layout/snice-layout.min.js.map +1 -1
- package/dist/cdn/leaderboard/snice-leaderboard.js +3 -3
- package/dist/cdn/leaderboard/snice-leaderboard.js.map +1 -1
- package/dist/cdn/leaderboard/snice-leaderboard.min.js +3 -3
- package/dist/cdn/leaderboard/snice-leaderboard.min.js.map +1 -1
- package/dist/cdn/link/snice-link.js +3 -3
- package/dist/cdn/link/snice-link.js.map +1 -1
- package/dist/cdn/link/snice-link.min.js +3 -3
- package/dist/cdn/link/snice-link.min.js.map +1 -1
- package/dist/cdn/link-preview/snice-link-preview.js +3 -3
- package/dist/cdn/link-preview/snice-link-preview.js.map +1 -1
- package/dist/cdn/link-preview/snice-link-preview.min.js +3 -3
- package/dist/cdn/link-preview/snice-link-preview.min.js.map +1 -1
- package/dist/cdn/list/snice-list.js +10 -6
- package/dist/cdn/list/snice-list.js.map +1 -1
- package/dist/cdn/list/snice-list.min.js +4 -4
- package/dist/cdn/list/snice-list.min.js.map +1 -1
- package/dist/cdn/location/snice-location.js +8 -4
- package/dist/cdn/location/snice-location.js.map +1 -1
- package/dist/cdn/location/snice-location.min.js +2 -2
- package/dist/cdn/location/snice-location.min.js.map +1 -1
- package/dist/cdn/login/snice-login.js +8 -4
- package/dist/cdn/login/snice-login.js.map +1 -1
- package/dist/cdn/login/snice-login.min.js +2 -2
- package/dist/cdn/login/snice-login.min.js.map +1 -1
- package/dist/cdn/map/README.md +1 -1
- package/dist/cdn/map/snice-map.js +2 -2
- package/dist/cdn/map/snice-map.min.js +2 -2
- package/dist/cdn/markdown/snice-markdown.js +2 -2
- package/dist/cdn/markdown/snice-markdown.min.js +2 -2
- package/dist/cdn/masonry/snice-masonry.js +2 -2
- package/dist/cdn/masonry/snice-masonry.min.js +2 -2
- package/dist/cdn/menu/snice-menu.js +2 -2
- package/dist/cdn/menu/snice-menu.min.js +2 -2
- package/dist/cdn/message-strip/snice-message-strip.js +8 -4
- package/dist/cdn/message-strip/snice-message-strip.js.map +1 -1
- package/dist/cdn/message-strip/snice-message-strip.min.js +2 -2
- package/dist/cdn/message-strip/snice-message-strip.min.js.map +1 -1
- package/dist/cdn/metric-table/snice-metric-table.js +3 -3
- package/dist/cdn/metric-table/snice-metric-table.js.map +1 -1
- package/dist/cdn/metric-table/snice-metric-table.min.js +8 -8
- package/dist/cdn/metric-table/snice-metric-table.min.js.map +1 -1
- package/dist/cdn/modal/README.md +1 -1
- package/dist/cdn/modal/snice-modal.js +2 -2
- package/dist/cdn/modal/snice-modal.min.js +2 -2
- package/dist/cdn/music-player/snice-music-player.js +2 -2
- package/dist/cdn/music-player/snice-music-player.min.js +2 -2
- package/dist/cdn/nav/snice-nav.js +3 -3
- package/dist/cdn/nav/snice-nav.js.map +1 -1
- package/dist/cdn/nav/snice-nav.min.js +3 -3
- package/dist/cdn/nav/snice-nav.min.js.map +1 -1
- package/dist/cdn/network-graph/snice-network-graph.js +2 -2
- package/dist/cdn/network-graph/snice-network-graph.min.js +2 -2
- package/dist/cdn/notification-center/snice-notification-center.js +9 -5
- package/dist/cdn/notification-center/snice-notification-center.js.map +1 -1
- package/dist/cdn/notification-center/snice-notification-center.min.js +3 -3
- package/dist/cdn/notification-center/snice-notification-center.min.js.map +1 -1
- package/dist/cdn/order-tracker/snice-order-tracker.js +3 -3
- package/dist/cdn/order-tracker/snice-order-tracker.js.map +1 -1
- package/dist/cdn/order-tracker/snice-order-tracker.min.js +3 -3
- package/dist/cdn/order-tracker/snice-order-tracker.min.js.map +1 -1
- package/dist/cdn/org-chart/README.md +1 -1
- package/dist/cdn/org-chart/snice-org-chart.js +2 -2
- package/dist/cdn/org-chart/snice-org-chart.min.js +2 -2
- package/dist/cdn/pagination/snice-pagination.js +2 -2
- package/dist/cdn/pagination/snice-pagination.min.js +2 -2
- package/dist/cdn/paint/snice-paint.js +2 -2
- package/dist/cdn/paint/snice-paint.min.js +2 -2
- package/dist/cdn/pdf-viewer/snice-pdf-viewer.js +2 -2
- package/dist/cdn/pdf-viewer/snice-pdf-viewer.min.js +2 -2
- package/dist/cdn/permission-matrix/snice-permission-matrix.js +3 -3
- package/dist/cdn/permission-matrix/snice-permission-matrix.js.map +1 -1
- package/dist/cdn/permission-matrix/snice-permission-matrix.min.js +12 -12
- package/dist/cdn/permission-matrix/snice-permission-matrix.min.js.map +1 -1
- package/dist/cdn/podcast-player/snice-podcast-player.js +2 -2
- package/dist/cdn/podcast-player/snice-podcast-player.min.js +2 -2
- package/dist/cdn/pricing-table/README.md +1 -1
- package/dist/cdn/pricing-table/snice-pricing-table.js +3 -3
- package/dist/cdn/pricing-table/snice-pricing-table.js.map +1 -1
- package/dist/cdn/pricing-table/snice-pricing-table.min.js +3 -3
- package/dist/cdn/pricing-table/snice-pricing-table.min.js.map +1 -1
- package/dist/cdn/product-card/snice-product-card.js +3 -3
- package/dist/cdn/product-card/snice-product-card.js.map +1 -1
- package/dist/cdn/product-card/snice-product-card.min.js +3 -3
- package/dist/cdn/product-card/snice-product-card.min.js.map +1 -1
- package/dist/cdn/progress/README.md +1 -1
- package/dist/cdn/progress/snice-progress.js +2 -2
- package/dist/cdn/progress/snice-progress.min.js +2 -2
- package/dist/cdn/progress-ring/snice-progress-ring.js +2 -2
- package/dist/cdn/progress-ring/snice-progress-ring.min.js +2 -2
- package/dist/cdn/qr-code/snice-qr-code.js +2 -2
- package/dist/cdn/qr-code/snice-qr-code.min.js +2 -2
- package/dist/cdn/qr-reader/README.md +1 -1
- package/dist/cdn/qr-reader/snice-qr-reader.js +2 -2
- package/dist/cdn/qr-reader/snice-qr-reader.min.js +2 -2
- package/dist/cdn/radio/snice-radio.js +3 -3
- package/dist/cdn/radio/snice-radio.js.map +1 -1
- package/dist/cdn/radio/snice-radio.min.js +3 -3
- package/dist/cdn/radio/snice-radio.min.js.map +1 -1
- package/dist/cdn/range-slider/snice-range-slider.js +2 -2
- package/dist/cdn/range-slider/snice-range-slider.min.js +2 -2
- package/dist/cdn/rating/snice-rating.js +2 -2
- package/dist/cdn/rating/snice-rating.min.js +2 -2
- package/dist/cdn/receipt/snice-receipt.js +3 -3
- package/dist/cdn/receipt/snice-receipt.js.map +1 -1
- package/dist/cdn/receipt/snice-receipt.min.js +7 -7
- package/dist/cdn/receipt/snice-receipt.min.js.map +1 -1
- package/dist/cdn/recipe/snice-recipe.js +3 -3
- package/dist/cdn/recipe/snice-recipe.js.map +1 -1
- package/dist/cdn/recipe/snice-recipe.min.js +3 -3
- package/dist/cdn/recipe/snice-recipe.min.js.map +1 -1
- package/dist/cdn/runtime/README.md +1 -1
- package/dist/cdn/runtime/snice-runtime.esm.js +8 -8
- package/dist/cdn/runtime/snice-runtime.esm.js.map +1 -1
- package/dist/cdn/runtime/snice-runtime.esm.min.js +8 -8
- package/dist/cdn/runtime/snice-runtime.esm.min.js.map +1 -1
- package/dist/cdn/runtime/snice-runtime.js +8 -8
- package/dist/cdn/runtime/snice-runtime.js.map +1 -1
- package/dist/cdn/runtime/snice-runtime.min.js +8 -8
- package/dist/cdn/runtime/snice-runtime.min.js.map +1 -1
- package/dist/cdn/sankey/README.md +1 -1
- package/dist/cdn/sankey/snice-sankey.js +2 -2
- package/dist/cdn/sankey/snice-sankey.min.js +2 -2
- package/dist/cdn/segmented-control/snice-segmented-control.js +2 -2
- package/dist/cdn/segmented-control/snice-segmented-control.min.js +2 -2
- package/dist/cdn/select/snice-select.js +2 -2
- package/dist/cdn/select/snice-select.min.js +2 -2
- package/dist/cdn/skeleton/snice-skeleton.js +2 -2
- package/dist/cdn/skeleton/snice-skeleton.min.js +2 -2
- package/dist/cdn/slider/README.md +1 -1
- package/dist/cdn/slider/snice-slider.js +2 -2
- package/dist/cdn/slider/snice-slider.min.js +2 -2
- package/dist/cdn/sortable/README.md +1 -1
- package/dist/cdn/sortable/snice-sortable.js +2 -2
- package/dist/cdn/sortable/snice-sortable.min.js +2 -2
- package/dist/cdn/sparkline/README.md +1 -1
- package/dist/cdn/sparkline/snice-sparkline.js +2 -2
- package/dist/cdn/sparkline/snice-sparkline.min.js +2 -2
- package/dist/cdn/spinner/README.md +2 -2
- package/dist/cdn/spinner/snice-spinner.js +2 -2
- package/dist/cdn/spinner/snice-spinner.min.js +2 -2
- package/dist/cdn/split-button/snice-split-button.js +2 -2
- package/dist/cdn/split-button/snice-split-button.min.js +2 -2
- package/dist/cdn/split-pane/snice-split-pane.js +2 -2
- package/dist/cdn/split-pane/snice-split-pane.min.js +2 -2
- package/dist/cdn/spotlight/snice-spotlight.js +2 -2
- package/dist/cdn/spotlight/snice-spotlight.min.js +2 -2
- package/dist/cdn/spreadsheet/README.md +2 -2
- package/dist/cdn/spreadsheet/snice-spreadsheet.js +2 -2
- package/dist/cdn/spreadsheet/snice-spreadsheet.min.js +2 -2
- package/dist/cdn/stat-group/snice-stat-group.js +3 -3
- package/dist/cdn/stat-group/snice-stat-group.js.map +1 -1
- package/dist/cdn/stat-group/snice-stat-group.min.js +4 -4
- package/dist/cdn/stat-group/snice-stat-group.min.js.map +1 -1
- package/dist/cdn/step-input/snice-step-input.js +3 -3
- package/dist/cdn/step-input/snice-step-input.js.map +1 -1
- package/dist/cdn/step-input/snice-step-input.min.js +3 -3
- package/dist/cdn/step-input/snice-step-input.min.js.map +1 -1
- package/dist/cdn/stepper/README.md +1 -1
- package/dist/cdn/stepper/snice-stepper.js +3 -3
- package/dist/cdn/stepper/snice-stepper.js.map +1 -1
- package/dist/cdn/stepper/snice-stepper.min.js +4 -4
- package/dist/cdn/stepper/snice-stepper.min.js.map +1 -1
- package/dist/cdn/switch/snice-switch.js +2 -2
- package/dist/cdn/switch/snice-switch.min.js +2 -2
- package/dist/cdn/table/README.md +1 -1
- package/dist/cdn/table/snice-table.js +9 -5
- package/dist/cdn/table/snice-table.js.map +1 -1
- package/dist/cdn/table/snice-table.min.js +3 -3
- package/dist/cdn/table/snice-table.min.js.map +1 -1
- package/dist/cdn/tabs/README.md +1 -1
- package/dist/cdn/tabs/snice-tabs.js +2 -2
- package/dist/cdn/tabs/snice-tabs.min.js +2 -2
- package/dist/cdn/tag/snice-tag.js +2 -2
- package/dist/cdn/tag/snice-tag.min.js +2 -2
- package/dist/cdn/tag-input/snice-tag-input.js +3 -3
- package/dist/cdn/tag-input/snice-tag-input.js.map +1 -1
- package/dist/cdn/tag-input/snice-tag-input.min.js +11 -11
- package/dist/cdn/tag-input/snice-tag-input.min.js.map +1 -1
- package/dist/cdn/terminal/snice-terminal.js +2 -2
- package/dist/cdn/terminal/snice-terminal.min.js +2 -2
- package/dist/cdn/testimonial/snice-testimonial.js +2 -2
- package/dist/cdn/testimonial/snice-testimonial.min.js +2 -2
- package/dist/cdn/textarea/README.md +1 -1
- package/dist/cdn/textarea/snice-textarea.js +2 -2
- package/dist/cdn/textarea/snice-textarea.min.js +2 -2
- package/dist/cdn/time-picker/snice-time-picker.js +2 -2
- package/dist/cdn/time-picker/snice-time-picker.min.js +2 -2
- package/dist/cdn/time-range-picker/snice-time-range-picker.js +3 -3
- package/dist/cdn/time-range-picker/snice-time-range-picker.js.map +1 -1
- package/dist/cdn/time-range-picker/snice-time-range-picker.min.js +3 -3
- package/dist/cdn/time-range-picker/snice-time-range-picker.min.js.map +1 -1
- package/dist/cdn/timeline/snice-timeline.js +3 -3
- package/dist/cdn/timeline/snice-timeline.js.map +1 -1
- package/dist/cdn/timeline/snice-timeline.min.js +4 -4
- package/dist/cdn/timeline/snice-timeline.min.js.map +1 -1
- package/dist/cdn/timer/snice-timer.js +3 -3
- package/dist/cdn/timer/snice-timer.js.map +1 -1
- package/dist/cdn/timer/snice-timer.min.js +3 -3
- package/dist/cdn/timer/snice-timer.min.js.map +1 -1
- package/dist/cdn/toast/snice-toast.js +2 -2
- package/dist/cdn/toast/snice-toast.min.js +2 -2
- package/dist/cdn/tooltip/snice-tooltip.js +2 -2
- package/dist/cdn/tooltip/snice-tooltip.min.js +2 -2
- package/dist/cdn/tree/README.md +2 -2
- package/dist/cdn/tree/snice-tree.js +2 -2
- package/dist/cdn/tree/snice-tree.min.js +2 -2
- package/dist/cdn/treemap/snice-treemap.js +2 -2
- package/dist/cdn/treemap/snice-treemap.min.js +2 -2
- package/dist/cdn/user-card/snice-user-card.js +3 -3
- package/dist/cdn/user-card/snice-user-card.js.map +1 -1
- package/dist/cdn/user-card/snice-user-card.min.js +7 -7
- package/dist/cdn/user-card/snice-user-card.min.js.map +1 -1
- package/dist/cdn/video-player/snice-video-player.js +2 -2
- package/dist/cdn/video-player/snice-video-player.min.js +2 -2
- package/dist/cdn/virtual-scroller/README.md +1 -1
- package/dist/cdn/virtual-scroller/snice-virtual-scroller.js +2 -2
- package/dist/cdn/virtual-scroller/snice-virtual-scroller.min.js +2 -2
- package/dist/cdn/waterfall/README.md +1 -1
- package/dist/cdn/waterfall/snice-waterfall.js +2 -2
- package/dist/cdn/waterfall/snice-waterfall.min.js +2 -2
- package/dist/cdn/weather/snice-weather.js +2 -2
- package/dist/cdn/weather/snice-weather.min.js +2 -2
- package/dist/cdn/work-order/snice-work-order.js +3 -3
- package/dist/cdn/work-order/snice-work-order.js.map +1 -1
- package/dist/cdn/work-order/snice-work-order.min.js +3 -3
- package/dist/cdn/work-order/snice-work-order.min.js.map +1 -1
- package/dist/components/activity-feed/snice-activity-feed.js +1 -1
- package/dist/components/activity-feed/snice-activity-feed.js.map +1 -1
- package/dist/components/approval-flow/snice-approval-flow.js +1 -1
- package/dist/components/approval-flow/snice-approval-flow.js.map +1 -1
- package/dist/components/avatar-group/snice-avatar-group.js +1 -1
- package/dist/components/avatar-group/snice-avatar-group.js.map +1 -1
- package/dist/components/banner/snice-banner.js +1 -1
- package/dist/components/banner/snice-banner.js.map +1 -1
- package/dist/components/cart/snice-cart.js +1 -1
- package/dist/components/cart/snice-cart.js.map +1 -1
- package/dist/components/color-display/snice-color-display.js +1 -1
- package/dist/components/color-display/snice-color-display.js.map +1 -1
- package/dist/components/comments/snice-comments.js +1 -1
- package/dist/components/comments/snice-comments.js.map +1 -1
- package/dist/components/data-card/snice-data-card.js +1 -1
- package/dist/components/data-card/snice-data-card.js.map +1 -1
- package/dist/components/drawer/snice-drawer.js +10 -4
- package/dist/components/drawer/snice-drawer.js.map +1 -1
- package/dist/components/empty-state/snice-empty-state.js +1 -1
- package/dist/components/empty-state/snice-empty-state.js.map +1 -1
- package/dist/components/estimate/snice-estimate.js +1 -1
- package/dist/components/estimate/snice-estimate.js.map +1 -1
- package/dist/components/file-upload/snice-file-upload.js +1 -1
- package/dist/components/file-upload/snice-file-upload.js.map +1 -1
- package/dist/components/form-layout/snice-form-layout.js +1 -1
- package/dist/components/form-layout/snice-form-layout.js.map +1 -1
- package/dist/components/image/snice-image.js +1 -1
- package/dist/components/image/snice-image.js.map +1 -1
- package/dist/components/input/snice-input.js +1 -1
- package/dist/components/input/snice-input.js.map +1 -1
- package/dist/components/invoice/snice-invoice.js +1 -1
- package/dist/components/invoice/snice-invoice.js.map +1 -1
- package/dist/components/key-value/snice-key-value.js +1 -1
- package/dist/components/key-value/snice-key-value.js.map +1 -1
- package/dist/components/kpi/snice-kpi.js +1 -1
- package/dist/components/kpi/snice-kpi.js.map +1 -1
- package/dist/components/leaderboard/snice-leaderboard.js +1 -1
- package/dist/components/leaderboard/snice-leaderboard.js.map +1 -1
- package/dist/components/link/snice-link.js +1 -1
- package/dist/components/link/snice-link.js.map +1 -1
- package/dist/components/link-preview/snice-link-preview.js +1 -1
- package/dist/components/link-preview/snice-link-preview.js.map +1 -1
- package/dist/components/list/snice-list-item.js +1 -1
- package/dist/components/list/snice-list-item.js.map +1 -1
- package/dist/components/metric-table/snice-metric-table.js +1 -1
- package/dist/components/metric-table/snice-metric-table.js.map +1 -1
- package/dist/components/nav/snice-nav.js +1 -1
- package/dist/components/nav/snice-nav.js.map +1 -1
- package/dist/components/order-tracker/snice-order-tracker.js +1 -1
- package/dist/components/order-tracker/snice-order-tracker.js.map +1 -1
- package/dist/components/permission-matrix/snice-permission-matrix.js +1 -1
- package/dist/components/permission-matrix/snice-permission-matrix.js.map +1 -1
- package/dist/components/pricing-table/snice-pricing-table.js +1 -1
- package/dist/components/pricing-table/snice-pricing-table.js.map +1 -1
- package/dist/components/product-card/snice-product-card.js +1 -1
- package/dist/components/product-card/snice-product-card.js.map +1 -1
- package/dist/components/radio/snice-radio.js +1 -1
- package/dist/components/radio/snice-radio.js.map +1 -1
- package/dist/components/receipt/snice-receipt.js +1 -1
- package/dist/components/receipt/snice-receipt.js.map +1 -1
- package/dist/components/recipe/snice-recipe.js +1 -1
- package/dist/components/recipe/snice-recipe.js.map +1 -1
- package/dist/components/stat-group/snice-stat-group.js +1 -1
- package/dist/components/stat-group/snice-stat-group.js.map +1 -1
- package/dist/components/step-input/snice-step-input.js +1 -1
- package/dist/components/step-input/snice-step-input.js.map +1 -1
- package/dist/components/stepper/snice-stepper.js +1 -1
- package/dist/components/stepper/snice-stepper.js.map +1 -1
- package/dist/components/tag-input/snice-tag-input.js +1 -1
- package/dist/components/tag-input/snice-tag-input.js.map +1 -1
- package/dist/components/time-range-picker/snice-time-range-picker.js +1 -1
- package/dist/components/time-range-picker/snice-time-range-picker.js.map +1 -1
- package/dist/components/timeline/snice-timeline.js +1 -1
- package/dist/components/timeline/snice-timeline.js.map +1 -1
- package/dist/components/timer/snice-timer.js +1 -1
- package/dist/components/timer/snice-timer.js.map +1 -1
- package/dist/components/user-card/snice-user-card.js +1 -1
- package/dist/components/user-card/snice-user-card.js.map +1 -1
- package/dist/components/utils.d.ts +6 -2
- package/dist/components/utils.js +6 -2
- package/dist/components/utils.js.map +1 -1
- package/dist/components/work-order/snice-work-order.js +1 -1
- package/dist/components/work-order/snice-work-order.js.map +1 -1
- package/dist/index.cjs +2 -2
- package/dist/index.esm.js +2 -2
- package/dist/index.iife.js +2 -2
- package/dist/symbols.cjs +2 -2
- package/dist/symbols.esm.js +2 -2
- package/dist/transitions.cjs +2 -2
- package/dist/transitions.esm.js +2 -2
- package/docs/ai/components/alert.md +10 -9
- package/docs/ai/components/banner.md +8 -7
- package/docs/ai/components/breadcrumbs.md +4 -3
- package/docs/ai/components/button.md +20 -16
- package/docs/ai/components/chip.md +9 -8
- package/docs/ai/components/empty-state.md +9 -11
- package/docs/ai/components/input.md +16 -18
- package/docs/ai/components/location.md +1 -1
- package/docs/components/alert.md +8 -6
- package/docs/components/breadcrumbs.md +2 -2
- package/docs/components/button.md +58 -33
- package/docs/components/chip.md +8 -6
- package/docs/components/empty-state.md +1 -1
- package/docs/components/input.md +24 -10
- package/docs/components/location.md +1 -1
- package/package.json +4 -3
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* snice v4.
|
|
3
|
-
*
|
|
2
|
+
* snice v4.25.0
|
|
3
|
+
* A decorator-driven web component library with differential rendering, routing, controllers, and 130+ ready-made UI components. Use as much or as little as you want. Zero dependencies, works anywhere.
|
|
4
4
|
* (c) 2024
|
|
5
5
|
* Released under the MIT License.
|
|
6
6
|
*/
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* snice v4.
|
|
3
|
-
*
|
|
2
|
+
* snice v4.25.0
|
|
3
|
+
* A decorator-driven web component library with differential rendering, routing, controllers, and 130+ ready-made UI components. Use as much or as little as you want. Zero dependencies, works anywhere.
|
|
4
4
|
* (c) 2024
|
|
5
5
|
* Released under the MIT License.
|
|
6
6
|
*/
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* snice v4.
|
|
3
|
-
*
|
|
2
|
+
* snice v4.25.0
|
|
3
|
+
* A decorator-driven web component library with differential rendering, routing, controllers, and 130+ ready-made UI components. Use as much or as little as you want. Zero dependencies, works anywhere.
|
|
4
4
|
* (c) 2024
|
|
5
5
|
* Released under the MIT License.
|
|
6
6
|
*/
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* snice v4.
|
|
3
|
-
*
|
|
2
|
+
* snice v4.25.0
|
|
3
|
+
* A decorator-driven web component library with differential rendering, routing, controllers, and 130+ ready-made UI components. Use as much or as little as you want. Zero dependencies, works anywhere.
|
|
4
4
|
* (c) 2024
|
|
5
5
|
* Released under the MIT License.
|
|
6
6
|
*/
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* snice v4.
|
|
3
|
-
*
|
|
2
|
+
* snice v4.25.0
|
|
3
|
+
* A decorator-driven web component library with differential rendering, routing, controllers, and 130+ ready-made UI components. Use as much or as little as you want. Zero dependencies, works anywhere.
|
|
4
4
|
* (c) 2024
|
|
5
5
|
* Released under the MIT License.
|
|
6
6
|
*/
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* snice v4.
|
|
3
|
-
*
|
|
2
|
+
* snice v4.25.0
|
|
3
|
+
* A decorator-driven web component library with differential rendering, routing, controllers, and 130+ ready-made UI components. Use as much or as little as you want. Zero dependencies, works anywhere.
|
|
4
4
|
* (c) 2024
|
|
5
5
|
* Released under the MIT License.
|
|
6
6
|
*/
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* snice v4.
|
|
3
|
-
*
|
|
2
|
+
* snice v4.25.0
|
|
3
|
+
* A decorator-driven web component library with differential rendering, routing, controllers, and 130+ ready-made UI components. Use as much or as little as you want. Zero dependencies, works anywhere.
|
|
4
4
|
* (c) 2024
|
|
5
5
|
* Released under the MIT License.
|
|
6
6
|
*/
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* snice v4.
|
|
3
|
-
*
|
|
2
|
+
* snice v4.25.0
|
|
3
|
+
* A decorator-driven web component library with differential rendering, routing, controllers, and 130+ ready-made UI components. Use as much or as little as you want. Zero dependencies, works anywhere.
|
|
4
4
|
* (c) 2024
|
|
5
5
|
* Released under the MIT License.
|
|
6
6
|
*/
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* snice v4.
|
|
3
|
-
*
|
|
2
|
+
* snice v4.25.0
|
|
3
|
+
* A decorator-driven web component library with differential rendering, routing, controllers, and 130+ ready-made UI components. Use as much or as little as you want. Zero dependencies, works anywhere.
|
|
4
4
|
* (c) 2024
|
|
5
5
|
* Released under the MIT License.
|
|
6
6
|
*/
|
|
@@ -64,7 +64,7 @@ var SniceDrawer = (function (exports, snice) {
|
|
|
64
64
|
return e.name = "SuppressedError", e.error = error, e.suppressed = suppressed, e;
|
|
65
65
|
};
|
|
66
66
|
|
|
67
|
-
var cssContent = ":host{--drawer-width-small:var(--snice-size-drawer-small, 15rem);--drawer-width-medium:var(--snice-size-drawer-medium, 20rem);--drawer-width-large:var(--snice-size-drawer-large, 30rem);--drawer-width-xl:var(--snice-size-drawer-xl, 40rem);--drawer-width-xxl:var(--snice-size-drawer-xxl, 50rem);--drawer-width-xxxl:var(--snice-size-drawer-xxxl, 60rem);--drawer-height-small:var(--snice-size-drawer-height-small, 12.5rem);--drawer-height-medium:var(--snice-size-drawer-height-medium, 25rem);--drawer-height-large:var(--snice-size-drawer-height-large, 37.5rem);--drawer-height-xl:var(--snice-size-drawer-height-xl, 70vh);--drawer-height-xxl:var(--snice-size-drawer-height-xxl, 80vh);--drawer-height-xxxl:var(--snice-size-drawer-height-xxxl, 90vh);--drawer-bg:var(--snice-color-background, white);--drawer-shadow:var(--snice-shadow-lg, 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1));--drawer-backdrop:var(--snice-color-backdrop, rgba(0, 0, 0, 0.5));--drawer-transition:transform var(--snice-transition-medium, 250ms) cubic-bezier(0.4, 0, 0.2, 1);--drawer-z-index:var(--snice-z-index-modal, 1050);display:block;position:fixed;top:0;left:0;width:100vw;height:100vh;pointer-events:none;isolation:isolate;font-family:var(--snice-font-family, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif);contain:layout style paint}:host([contained]){position:absolute;width:100%;height:100%}.drawer-backdrop{position:absolute;inset:0;background:var(--drawer-backdrop);opacity:0;transition:opacity .3s ease-in-out;z-index:var(--drawer-z-index);pointer-events:none;visibility:hidden}:host([open]){pointer-events:auto}:host([open]) .drawer-backdrop{opacity:1;pointer-events:auto;visibility:visible}:host([no-backdrop]) .drawer-backdrop{display:none}.drawer{position:absolute;background:var(--drawer-bg);box-shadow:var(--drawer-shadow);transition:transform var(--snice-transition-medium, 250ms) cubic-bezier(.4, 0, .2, 1),opacity var(--snice-transition-medium, 250ms) cubic-bezier(.2, 0, .8, 1);z-index:calc(var(--drawer-z-index) + 1);display:flex;flex-direction:column;outline:0;overflow:hidden;opacity:0;pointer-events:auto}:host([open]) .drawer{opacity:1}:host(:not([position])) .drawer{top:0;left:0;height:100%;width:var(--drawer-width-medium);transform:translateX(-100%)}:host(:not([position])[open]) .drawer{transform:translateX(0)}:host([position=left]) .drawer{top:0;left:0;height:100%;width:var(--drawer-width-medium);transform:translateX(-100%)}:host([position=left][size=small]) .drawer{width:var(--drawer-width-small)}:host([position=left][size=medium]) .drawer{width:var(--drawer-width-medium)}:host([position=left][size=large]) .drawer{width:var(--drawer-width-large)}:host([position=left][size=xl]) .drawer{width:var(--drawer-width-xl)}:host([position=left][size=xxl]) .drawer{width:var(--drawer-width-xxl)}:host([position=left][size=xxxl]) .drawer{width:var(--drawer-width-xxxl)}:host([position=left][size=full]) .drawer{width:100%}:host([position=left][open]) .drawer{transform:translateX(0)}:host([position=right]) .drawer{top:0;right:0;height:100%;width:var(--drawer-width-medium);transform:translateX(100%)}:host([position=right][size=small]) .drawer{width:var(--drawer-width-small)}:host([position=right][size=medium]) .drawer{width:var(--drawer-width-medium)}:host([position=right][size=large]) .drawer{width:var(--drawer-width-large)}:host([position=right][size=xl]) .drawer{width:var(--drawer-width-xl)}:host([position=right][size=xxl]) .drawer{width:var(--drawer-width-xxl)}:host([position=right][size=xxxl]) .drawer{width:var(--drawer-width-xxxl)}:host([position=right][size=full]) .drawer{width:100%}:host([position=right][open]) .drawer{transform:translateX(0)}:host([position=top]) .drawer{top:0;left:0;width:100%;height:var(--drawer-height-medium);transform:translateY(-100%)}:host([position=top][size=small]) .drawer{height:var(--drawer-height-small)}:host([position=top][size=medium]) .drawer{height:var(--drawer-height-medium)}:host([position=top][size=large]) .drawer{height:var(--drawer-height-large)}:host([position=top][size=xl]) .drawer{height:var(--drawer-height-xl)}:host([position=top][size=xxl]) .drawer{height:var(--drawer-height-xxl)}:host([position=top][size=xxxl]) .drawer{height:var(--drawer-height-xxxl)}:host([position=top][size=full]) .drawer{height:100%}:host([position=top][open]) .drawer{transform:translateY(0)}:host([position=bottom]) .drawer{bottom:0;left:0;width:100%;height:var(--drawer-height-medium);transform:translateY(100%)}:host([position=bottom][size=small]) .drawer{height:var(--drawer-height-small)}:host([position=bottom][size=medium]) .drawer{height:var(--drawer-height-medium)}:host([position=bottom][size=large]) .drawer{height:var(--drawer-height-large)}:host([position=bottom][size=xl]) .drawer{height:var(--drawer-height-xl)}:host([position=bottom][size=xxl]) .drawer{height:var(--drawer-height-xxl)}:host([position=bottom][size=xxxl]) .drawer{height:var(--drawer-height-xxxl)}:host([position=bottom][size=full]) .drawer{height:100%}:host([position=bottom][open]) .drawer{transform:translateY(0)}.drawer-header{display:flex;align-items:center;justify-content:space-between;padding:var(--snice-spacing-md,1rem) var(--snice-spacing-lg,1.25rem);border-bottom:1px solid var(--snice-color-border,rgb(229 231 235));background:var(--snice-color-background,#fff);flex-shrink:0}.drawer-header:has(.drawer-title:empty):not(:has(.drawer-close)){display:none}.drawer-title{font-size:var(--snice-font-size-lg, 1.125rem);font-weight:var(--snice-font-weight-semibold,600);margin:0;color:var(--snice-color-text,rgb(17 24 39));line-height:var(--snice-line-height-tight, 1.25)}.drawer-close{display:flex;align-items:center;justify-content:center;width:var(--snice-size-control-md,2rem);height:var(--snice-size-control-md,2rem);border:none;background:0 0;border-radius:var(--snice-border-radius-md,6px);cursor:pointer;color:var(--snice-color-text-secondary,rgb(107 114 128));transition:all var(--snice-transition-fast, 150ms) ease}.drawer-close:hover{background:var(--snice-color-background-hover,rgb(243 244 246));color:var(--snice-color-text,rgb(17 24 39))}.drawer-close:focus-visible{outline:var(--snice-focus-ring-width,2px) solid var(--snice-focus-ring-color,rgb(59 130 246));outline-offset:var(--snice-focus-ring-offset,2px)}.drawer-body{flex:1;padding:var(--snice-spacing-lg,1.25rem);overflow-y:auto;overflow-x:hidden;color:var(--snice-color-text,rgb(17 24 39))}.drawer-footer{padding:var(--snice-spacing-md,1rem) var(--snice-spacing-lg,1.25rem);border-top:1px solid var(--snice-color-border,rgb(229 231 235));background:var(--snice-color-background,#fff);flex-shrink:0}.drawer-footer:empty{display:none}@media (prefers-reduced-motion:reduce){.drawer,.drawer-backdrop{transition:none}}@media (max-width:640px){:host([position=left][size=large]) .drawer,:host([position=left][size=medium]) .drawer,:host([position=left][size=xl]) .drawer,:host([position=left][size=xxl]) .drawer,:host([position=left][size=xxxl]) .drawer,:host([position=right][size=large]) .drawer,:host([position=right][size=medium]) .drawer,:host([position=right][size=xl]) .drawer,:host([position=right][size=xxl]) .drawer,:host([position=right][size=xxxl]) .drawer{width:calc(100% - 2.5rem)}}.focus-trap-end,.focus-trap-start{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}:host([push-content]){--drawer-push-amount:0px}:host([push-content][position=left][open][size=small]){--drawer-push-amount:var(--drawer-width-small)}:host([push-content][position=left][open][size=medium]){--drawer-push-amount:var(--drawer-width-medium)}:host([push-content][position=left][open][size=large]){--drawer-push-amount:var(--drawer-width-large)}:host([push-content][position=left][open][size=xl]){--drawer-push-amount:var(--drawer-width-xl)}:host([push-content][position=left][open][size=xxl]){--drawer-push-amount:var(--drawer-width-xxl)}:host([push-content][position=left][open][size=xxxl]){--drawer-push-amount:var(--drawer-width-xxxl)}:host([push-content][position=left][open][size=full]){--drawer-push-amount:100vw}:host([push-content][position=left][open]:not([size])){--drawer-push-amount:var(--drawer-width-medium)}:host([push-content][position=right][open][size=small]){--drawer-push-amount:calc(-1 * var(--drawer-width-small))}:host([push-content][position=right][open][size=medium]){--drawer-push-amount:calc(-1 * var(--drawer-width-medium))}:host([push-content][position=right][open][size=large]){--drawer-push-amount:calc(-1 * var(--drawer-width-large))}:host([push-content][position=right][open][size=xl]){--drawer-push-amount:calc(-1 * var(--drawer-width-xl))}:host([push-content][position=right][open][size=xxl]){--drawer-push-amount:calc(-1 * var(--drawer-width-xxl))}:host([push-content][position=right][open][size=xxxl]){--drawer-push-amount:calc(-1 * var(--drawer-width-xxxl))}:host([push-content][position=right][open][size=full]){--drawer-push-amount:-100vw}:host([push-content][position=right][open]:not([size])){--drawer-push-amount:calc(-1 * var(--drawer-width-medium))}:host([push-content][position=top][open][size=small]){--drawer-push-amount:var(--drawer-height-small)}:host([push-content][position=top][open][size=medium]){--drawer-push-amount:var(--drawer-height-medium)}:host([push-content][position=top][open][size=large]){--drawer-push-amount:var(--drawer-height-large)}:host([push-content][position=top][open][size=xl]){--drawer-push-amount:var(--drawer-height-xl)}:host([push-content][position=top][open][size=xxl]){--drawer-push-amount:var(--drawer-height-xxl)}:host([push-content][position=top][open][size=xxxl]){--drawer-push-amount:var(--drawer-height-xxxl)}:host([push-content][position=top][open][size=full]){--drawer-push-amount:100vh}:host([push-content][position=top][open]:not([size])){--drawer-push-amount:var(--drawer-height-medium)}:host([push-content][position=bottom][open][size=small]){--drawer-push-amount:calc(-1 * var(--drawer-height-small))}:host([push-content][position=bottom][open][size=medium]){--drawer-push-amount:calc(-1 * var(--drawer-height-medium))}:host([push-content][position=bottom][open][size=large]){--drawer-push-amount:calc(-1 * var(--drawer-height-large))}:host([push-content][position=bottom][open][size=xl]){--drawer-push-amount:calc(-1 * var(--drawer-height-xl))}:host([push-content][position=bottom][open][size=xxl]){--drawer-push-amount:calc(-1 * var(--drawer-height-xxl))}:host([push-content][position=bottom][open][size=xxxl]){--drawer-push-amount:calc(-1 * var(--drawer-height-xxxl))}:host([push-content][position=bottom][open][size=full]){--drawer-push-amount:-100vh}:host([push-content][position=bottom][open]:not([size])){--drawer-push-amount:calc(-1 * var(--drawer-height-medium))}:host([inline]){position:static;width:auto;height:auto;pointer-events:auto;contain:layout style}:host([inline]) .drawer-backdrop{display:none}:host([inline]) .drawer{position:static;transform:none;opacity:1;box-shadow:none;z-index:auto;transition:none;border-right:1px solid var(--snice-color-border,rgb(229 231 235))}:host([inline]) .drawer,:host([inline][position=left]) .drawer{width:var(--drawer-width-medium);height:100%}:host([inline]:not([position])[size=small]) .drawer,:host([inline][position=left][size=small]) .drawer{width:var(--drawer-width-small)}:host([inline]:not([position])[size=large]) .drawer,:host([inline][position=left][size=large]) .drawer{width:var(--drawer-width-large)}:host([inline]:not([position])[size=xl]) .drawer,:host([inline][position=left][size=xl]) .drawer{width:var(--drawer-width-xl)}:host([inline]:not([position])[size=xxl]) .drawer,:host([inline][position=left][size=xxl]) .drawer{width:var(--drawer-width-xxl)}:host([inline]:not([position])[size=xxxl]) .drawer,:host([inline][position=left][size=xxxl]) .drawer{width:var(--drawer-width-xxxl)}:host([inline]:not([position])[size=full]) .drawer,:host([inline][position=left][size=full]) .drawer{width:100%}:host([inline][position=right]) .drawer{border-right:none;border-left:1px solid var(--snice-color-border,rgb(229 231 235));width:var(--drawer-width-medium);height:100%}:host([inline][position=right][size=small]) .drawer{width:var(--drawer-width-small)}:host([inline][position=right][size=large]) .drawer{width:var(--drawer-width-large)}:host([inline][position=right][size=xl]) .drawer{width:var(--drawer-width-xl)}:host([inline][position=right][size=xxl]) .drawer{width:var(--drawer-width-xxl)}:host([inline][position=right][size=xxxl]) .drawer{width:var(--drawer-width-xxxl)}:host([inline][position=right][size=full]) .drawer{width:100%}:host([inline][position=top]) .drawer{border-right:none;border-bottom:1px solid var(--snice-color-border,rgb(229 231 235));width:100%;height:var(--drawer-height-medium)}:host([inline][position=top][size=small]) .drawer{height:var(--drawer-height-small)}:host([inline][position=top][size=large]) .drawer{height:var(--drawer-height-large)}:host([inline][position=top][size=xl]) .drawer{height:var(--drawer-height-xl)}:host([inline][position=top][size=xxl]) .drawer{height:var(--drawer-height-xxl)}:host([inline][position=top][size=xxxl]) .drawer{height:var(--drawer-height-xxxl)}:host([inline][position=top][size=full]) .drawer{height:100%}:host([inline][position=bottom]) .drawer{border-right:none;border-top:1px solid var(--snice-color-border,rgb(229 231 235));width:100%;height:var(--drawer-height-medium)}:host([inline][position=bottom][size=small]) .drawer{height:var(--drawer-height-small)}:host([inline][position=bottom][size=large]) .drawer{height:var(--drawer-height-large)}:host([inline][position=bottom][size=xl]) .drawer{height:var(--drawer-height-xl)}:host([inline][position=bottom][size=xxl]) .drawer{height:var(--drawer-height-xxl)}:host([inline][position=bottom][size=xxxl]) .drawer{height:var(--drawer-height-xxxl)}:host([inline][position=bottom][size=full]) .drawer{height:100%}:host([inline]) .focus-trap-end,:host([inline]) .focus-trap-start{display:none}";
|
|
67
|
+
var cssContent = ":host{--drawer-width-small:var(--snice-size-drawer-small, 15rem);--drawer-width-medium:var(--snice-size-drawer-medium, 20rem);--drawer-width-large:var(--snice-size-drawer-large, 30rem);--drawer-width-xl:var(--snice-size-drawer-xl, 40rem);--drawer-width-xxl:var(--snice-size-drawer-xxl, 50rem);--drawer-width-xxxl:var(--snice-size-drawer-xxxl, 60rem);--drawer-height-small:var(--snice-size-drawer-height-small, 12.5rem);--drawer-height-medium:var(--snice-size-drawer-height-medium, 25rem);--drawer-height-large:var(--snice-size-drawer-height-large, 37.5rem);--drawer-height-xl:var(--snice-size-drawer-height-xl, 70vh);--drawer-height-xxl:var(--snice-size-drawer-height-xxl, 80vh);--drawer-height-xxxl:var(--snice-size-drawer-height-xxxl, 90vh);--drawer-bg:var(--snice-color-background, white);--drawer-shadow:var(--snice-shadow-lg, 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1));--drawer-backdrop:var(--snice-color-backdrop, rgba(0, 0, 0, 0.5));--drawer-transition:transform var(--snice-transition-medium, 250ms) cubic-bezier(0.4, 0, 0.2, 1);--drawer-z-index:var(--snice-z-index-modal, 1050);display:block;position:fixed;top:0;left:0;width:100vw;height:100vh;pointer-events:none;z-index:var(--drawer-z-index);isolation:isolate;font-family:var(--snice-font-family, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif)}:host([contained]){position:absolute;width:100%;height:100%}.drawer-backdrop{position:absolute;inset:0;background:var(--drawer-backdrop);opacity:0;transition:opacity .3s ease-in-out;z-index:var(--drawer-z-index);pointer-events:none;visibility:hidden}:host([open]){pointer-events:auto}:host([open]) .drawer-backdrop{opacity:1;pointer-events:auto;visibility:visible}:host([no-backdrop]) .drawer-backdrop{display:none}.drawer{position:absolute;background:var(--drawer-bg);box-shadow:var(--drawer-shadow);transition:transform var(--snice-transition-medium, 250ms) cubic-bezier(.4, 0, .2, 1),opacity var(--snice-transition-medium, 250ms) cubic-bezier(.2, 0, .8, 1);z-index:calc(var(--drawer-z-index) + 1);display:flex;flex-direction:column;outline:0;overflow:hidden;opacity:0;pointer-events:auto}:host([open]) .drawer{opacity:1}:host(:not([position])) .drawer{top:0;left:0;height:100%;width:var(--drawer-width-medium);transform:translateX(-100%)}:host(:not([position])[open]) .drawer{transform:translateX(0)}:host([position=left]) .drawer{top:0;left:0;height:100%;width:var(--drawer-width-medium);transform:translateX(-100%)}:host([position=left][size=small]) .drawer{width:var(--drawer-width-small)}:host([position=left][size=medium]) .drawer{width:var(--drawer-width-medium)}:host([position=left][size=large]) .drawer{width:var(--drawer-width-large)}:host([position=left][size=xl]) .drawer{width:var(--drawer-width-xl)}:host([position=left][size=xxl]) .drawer{width:var(--drawer-width-xxl)}:host([position=left][size=xxxl]) .drawer{width:var(--drawer-width-xxxl)}:host([position=left][size=full]) .drawer{width:100%}:host([position=left][open]) .drawer{transform:translateX(0)}:host([position=right]) .drawer{top:0;right:0;height:100%;width:var(--drawer-width-medium);transform:translateX(100%)}:host([position=right][size=small]) .drawer{width:var(--drawer-width-small)}:host([position=right][size=medium]) .drawer{width:var(--drawer-width-medium)}:host([position=right][size=large]) .drawer{width:var(--drawer-width-large)}:host([position=right][size=xl]) .drawer{width:var(--drawer-width-xl)}:host([position=right][size=xxl]) .drawer{width:var(--drawer-width-xxl)}:host([position=right][size=xxxl]) .drawer{width:var(--drawer-width-xxxl)}:host([position=right][size=full]) .drawer{width:100%}:host([position=right][open]) .drawer{transform:translateX(0)}:host([position=top]) .drawer{top:0;left:0;width:100%;height:var(--drawer-height-medium);transform:translateY(-100%)}:host([position=top][size=small]) .drawer{height:var(--drawer-height-small)}:host([position=top][size=medium]) .drawer{height:var(--drawer-height-medium)}:host([position=top][size=large]) .drawer{height:var(--drawer-height-large)}:host([position=top][size=xl]) .drawer{height:var(--drawer-height-xl)}:host([position=top][size=xxl]) .drawer{height:var(--drawer-height-xxl)}:host([position=top][size=xxxl]) .drawer{height:var(--drawer-height-xxxl)}:host([position=top][size=full]) .drawer{height:100%}:host([position=top][open]) .drawer{transform:translateY(0)}:host([position=bottom]) .drawer{bottom:0;left:0;width:100%;height:var(--drawer-height-medium);transform:translateY(100%)}:host([position=bottom][size=small]) .drawer{height:var(--drawer-height-small)}:host([position=bottom][size=medium]) .drawer{height:var(--drawer-height-medium)}:host([position=bottom][size=large]) .drawer{height:var(--drawer-height-large)}:host([position=bottom][size=xl]) .drawer{height:var(--drawer-height-xl)}:host([position=bottom][size=xxl]) .drawer{height:var(--drawer-height-xxl)}:host([position=bottom][size=xxxl]) .drawer{height:var(--drawer-height-xxxl)}:host([position=bottom][size=full]) .drawer{height:100%}:host([position=bottom][open]) .drawer{transform:translateY(0)}.drawer-header{display:flex;align-items:center;justify-content:space-between;padding:var(--snice-spacing-md,1rem) var(--snice-spacing-lg,1.25rem);border-bottom:1px solid var(--snice-color-border,rgb(229 231 235));background:var(--snice-color-background,#fff);flex-shrink:0}.drawer-header:has(.drawer-title:empty):not(:has(.drawer-close)){display:none}.drawer-title{font-size:var(--snice-font-size-lg, 1.125rem);font-weight:var(--snice-font-weight-semibold,600);margin:0;color:var(--snice-color-text,rgb(17 24 39));line-height:var(--snice-line-height-tight, 1.25)}.drawer-close{display:flex;align-items:center;justify-content:center;width:var(--snice-size-control-md,2rem);height:var(--snice-size-control-md,2rem);border:none;background:0 0;border-radius:var(--snice-border-radius-md,6px);cursor:pointer;color:var(--snice-color-text-secondary,rgb(107 114 128));transition:all var(--snice-transition-fast, 150ms) ease}.drawer-close:hover{background:var(--snice-color-background-hover,rgb(243 244 246));color:var(--snice-color-text,rgb(17 24 39))}.drawer-close:focus-visible{outline:var(--snice-focus-ring-width,2px) solid var(--snice-focus-ring-color,rgb(59 130 246));outline-offset:var(--snice-focus-ring-offset,2px)}.drawer-body{flex:1;padding:var(--snice-spacing-lg,1.25rem);overflow-y:auto;overflow-x:hidden;color:var(--snice-color-text,rgb(17 24 39))}.drawer-footer{padding:var(--snice-spacing-md,1rem) var(--snice-spacing-lg,1.25rem);border-top:1px solid var(--snice-color-border,rgb(229 231 235));background:var(--snice-color-background,#fff);flex-shrink:0}.drawer-footer:empty{display:none}@media (prefers-reduced-motion:reduce){.drawer,.drawer-backdrop{transition:none}}@media (max-width:640px){:host([position=left][size=large]) .drawer,:host([position=left][size=medium]) .drawer,:host([position=left][size=xl]) .drawer,:host([position=left][size=xxl]) .drawer,:host([position=left][size=xxxl]) .drawer,:host([position=right][size=large]) .drawer,:host([position=right][size=medium]) .drawer,:host([position=right][size=xl]) .drawer,:host([position=right][size=xxl]) .drawer,:host([position=right][size=xxxl]) .drawer{width:calc(100% - 2.5rem)}}.focus-trap-end,.focus-trap-start{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}:host([push-content]){--drawer-push-amount:0px}:host([push-content][position=left][open][size=small]){--drawer-push-amount:var(--drawer-width-small)}:host([push-content][position=left][open][size=medium]){--drawer-push-amount:var(--drawer-width-medium)}:host([push-content][position=left][open][size=large]){--drawer-push-amount:var(--drawer-width-large)}:host([push-content][position=left][open][size=xl]){--drawer-push-amount:var(--drawer-width-xl)}:host([push-content][position=left][open][size=xxl]){--drawer-push-amount:var(--drawer-width-xxl)}:host([push-content][position=left][open][size=xxxl]){--drawer-push-amount:var(--drawer-width-xxxl)}:host([push-content][position=left][open][size=full]){--drawer-push-amount:100vw}:host([push-content][position=left][open]:not([size])){--drawer-push-amount:var(--drawer-width-medium)}:host([push-content][position=right][open][size=small]){--drawer-push-amount:calc(-1 * var(--drawer-width-small))}:host([push-content][position=right][open][size=medium]){--drawer-push-amount:calc(-1 * var(--drawer-width-medium))}:host([push-content][position=right][open][size=large]){--drawer-push-amount:calc(-1 * var(--drawer-width-large))}:host([push-content][position=right][open][size=xl]){--drawer-push-amount:calc(-1 * var(--drawer-width-xl))}:host([push-content][position=right][open][size=xxl]){--drawer-push-amount:calc(-1 * var(--drawer-width-xxl))}:host([push-content][position=right][open][size=xxxl]){--drawer-push-amount:calc(-1 * var(--drawer-width-xxxl))}:host([push-content][position=right][open][size=full]){--drawer-push-amount:-100vw}:host([push-content][position=right][open]:not([size])){--drawer-push-amount:calc(-1 * var(--drawer-width-medium))}:host([push-content][position=top][open][size=small]){--drawer-push-amount:var(--drawer-height-small)}:host([push-content][position=top][open][size=medium]){--drawer-push-amount:var(--drawer-height-medium)}:host([push-content][position=top][open][size=large]){--drawer-push-amount:var(--drawer-height-large)}:host([push-content][position=top][open][size=xl]){--drawer-push-amount:var(--drawer-height-xl)}:host([push-content][position=top][open][size=xxl]){--drawer-push-amount:var(--drawer-height-xxl)}:host([push-content][position=top][open][size=xxxl]){--drawer-push-amount:var(--drawer-height-xxxl)}:host([push-content][position=top][open][size=full]){--drawer-push-amount:100vh}:host([push-content][position=top][open]:not([size])){--drawer-push-amount:var(--drawer-height-medium)}:host([push-content][position=bottom][open][size=small]){--drawer-push-amount:calc(-1 * var(--drawer-height-small))}:host([push-content][position=bottom][open][size=medium]){--drawer-push-amount:calc(-1 * var(--drawer-height-medium))}:host([push-content][position=bottom][open][size=large]){--drawer-push-amount:calc(-1 * var(--drawer-height-large))}:host([push-content][position=bottom][open][size=xl]){--drawer-push-amount:calc(-1 * var(--drawer-height-xl))}:host([push-content][position=bottom][open][size=xxl]){--drawer-push-amount:calc(-1 * var(--drawer-height-xxl))}:host([push-content][position=bottom][open][size=xxxl]){--drawer-push-amount:calc(-1 * var(--drawer-height-xxxl))}:host([push-content][position=bottom][open][size=full]){--drawer-push-amount:-100vh}:host([push-content][position=bottom][open]:not([size])){--drawer-push-amount:calc(-1 * var(--drawer-height-medium))}:host([inline]){position:static;width:auto;height:auto;pointer-events:auto}:host([inline]) .drawer-backdrop{display:none}:host([inline]) .drawer{position:static;transform:none;opacity:1;box-shadow:none;z-index:auto;transition:none;border-right:1px solid var(--snice-color-border,rgb(229 231 235))}:host([inline]) .drawer,:host([inline][position=left]) .drawer{width:var(--drawer-width-medium);height:100%}:host([inline]:not([position])[size=small]) .drawer,:host([inline][position=left][size=small]) .drawer{width:var(--drawer-width-small)}:host([inline]:not([position])[size=large]) .drawer,:host([inline][position=left][size=large]) .drawer{width:var(--drawer-width-large)}:host([inline]:not([position])[size=xl]) .drawer,:host([inline][position=left][size=xl]) .drawer{width:var(--drawer-width-xl)}:host([inline]:not([position])[size=xxl]) .drawer,:host([inline][position=left][size=xxl]) .drawer{width:var(--drawer-width-xxl)}:host([inline]:not([position])[size=xxxl]) .drawer,:host([inline][position=left][size=xxxl]) .drawer{width:var(--drawer-width-xxxl)}:host([inline]:not([position])[size=full]) .drawer,:host([inline][position=left][size=full]) .drawer{width:100%}:host([inline][position=right]) .drawer{border-right:none;border-left:1px solid var(--snice-color-border,rgb(229 231 235));width:var(--drawer-width-medium);height:100%}:host([inline][position=right][size=small]) .drawer{width:var(--drawer-width-small)}:host([inline][position=right][size=large]) .drawer{width:var(--drawer-width-large)}:host([inline][position=right][size=xl]) .drawer{width:var(--drawer-width-xl)}:host([inline][position=right][size=xxl]) .drawer{width:var(--drawer-width-xxl)}:host([inline][position=right][size=xxxl]) .drawer{width:var(--drawer-width-xxxl)}:host([inline][position=right][size=full]) .drawer{width:100%}:host([inline][position=top]) .drawer{border-right:none;border-bottom:1px solid var(--snice-color-border,rgb(229 231 235));width:100%;height:var(--drawer-height-medium)}:host([inline][position=top][size=small]) .drawer{height:var(--drawer-height-small)}:host([inline][position=top][size=large]) .drawer{height:var(--drawer-height-large)}:host([inline][position=top][size=xl]) .drawer{height:var(--drawer-height-xl)}:host([inline][position=top][size=xxl]) .drawer{height:var(--drawer-height-xxl)}:host([inline][position=top][size=xxxl]) .drawer{height:var(--drawer-height-xxxl)}:host([inline][position=top][size=full]) .drawer{height:100%}:host([inline][position=bottom]) .drawer{border-right:none;border-top:1px solid var(--snice-color-border,rgb(229 231 235));width:100%;height:var(--drawer-height-medium)}:host([inline][position=bottom][size=small]) .drawer{height:var(--drawer-height-small)}:host([inline][position=bottom][size=large]) .drawer{height:var(--drawer-height-large)}:host([inline][position=bottom][size=xl]) .drawer{height:var(--drawer-height-xl)}:host([inline][position=bottom][size=xxl]) .drawer{height:var(--drawer-height-xxl)}:host([inline][position=bottom][size=xxxl]) .drawer{height:var(--drawer-height-xxxl)}:host([inline][position=bottom][size=full]) .drawer{height:100%}:host([inline]) .focus-trap-end,:host([inline]) .focus-trap-start{display:none}";
|
|
68
68
|
|
|
69
69
|
let SniceDrawer = (() => {
|
|
70
70
|
let _classDecorators = [snice.element('snice-drawer')];
|
|
@@ -475,15 +475,21 @@ var SniceDrawer = (function (exports, snice) {
|
|
|
475
475
|
if (this.open) {
|
|
476
476
|
// Use CSS custom property that's calculated in CSS based on size/position
|
|
477
477
|
const amount = getComputedStyle(this).getPropertyValue('--drawer-push-amount');
|
|
478
|
-
const
|
|
479
|
-
|
|
480
|
-
: '
|
|
478
|
+
const propertyMap = {
|
|
479
|
+
left: 'marginLeft',
|
|
480
|
+
right: 'marginRight',
|
|
481
|
+
top: 'marginTop',
|
|
482
|
+
bottom: 'marginBottom'
|
|
483
|
+
};
|
|
484
|
+
const property = propertyMap[this.position] || 'marginLeft';
|
|
481
485
|
mainContent.style[property] = amount || '0px';
|
|
482
486
|
}
|
|
483
487
|
else {
|
|
484
488
|
// Reset margins
|
|
485
489
|
mainContent.style.marginLeft = '';
|
|
490
|
+
mainContent.style.marginRight = '';
|
|
486
491
|
mainContent.style.marginTop = '';
|
|
492
|
+
mainContent.style.marginBottom = '';
|
|
487
493
|
}
|
|
488
494
|
}
|
|
489
495
|
}
|