@semantic-components/ui 0.68.0 → 0.70.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/esm2022/lib/components/accordion/accordion-body.js +3 -3
- package/esm2022/lib/components/accordion/accordion-content.js +3 -3
- package/esm2022/lib/components/accordion/accordion-group.js +3 -3
- package/esm2022/lib/components/accordion/accordion-header.js +3 -3
- package/esm2022/lib/components/accordion/accordion-item.js +3 -3
- package/esm2022/lib/components/accordion/accordion-panel.js +3 -3
- package/esm2022/lib/components/accordion/accordion-trigger.js +4 -4
- package/esm2022/lib/components/accordion/accordion-trigger.js.map +1 -1
- package/esm2022/lib/components/alert/alert-action.js +3 -3
- package/esm2022/lib/components/alert/alert-description.js +3 -3
- package/esm2022/lib/components/alert/alert-title.js +3 -3
- package/esm2022/lib/components/alert/alert.js +3 -3
- package/esm2022/lib/components/alert-dialog/alert-dialog-action.js +3 -3
- package/esm2022/lib/components/alert-dialog/alert-dialog-cancel.js +3 -3
- package/esm2022/lib/components/alert-dialog/alert-dialog-description.js +3 -3
- package/esm2022/lib/components/alert-dialog/alert-dialog-footer.js +3 -3
- package/esm2022/lib/components/alert-dialog/alert-dialog-header.js +3 -3
- package/esm2022/lib/components/alert-dialog/alert-dialog-media.js +3 -3
- package/esm2022/lib/components/alert-dialog/alert-dialog-portal.js +3 -3
- package/esm2022/lib/components/alert-dialog/alert-dialog-provider.js +3 -3
- package/esm2022/lib/components/alert-dialog/alert-dialog-title.js +3 -3
- package/esm2022/lib/components/alert-dialog/alert-dialog-trigger.js +3 -3
- package/esm2022/lib/components/alert-dialog/alert-dialog.js +3 -3
- package/esm2022/lib/components/aspect-ratio/aspect-ratio.js +3 -3
- package/esm2022/lib/components/avatar/avatar-badge.js +3 -3
- package/esm2022/lib/components/avatar/avatar-fallback.js +3 -3
- package/esm2022/lib/components/avatar/avatar-group-count.js +3 -3
- package/esm2022/lib/components/avatar/avatar-group.js +3 -3
- package/esm2022/lib/components/avatar/avatar-image.js +3 -3
- package/esm2022/lib/components/avatar/avatar.js +3 -3
- package/esm2022/lib/components/backdrop/backdrop.js +3 -3
- package/esm2022/lib/components/badge/badge.js +3 -3
- package/esm2022/lib/components/breadcrumb/breadcrumb-ellipsis.js +4 -4
- package/esm2022/lib/components/breadcrumb/breadcrumb-item.js +3 -3
- package/esm2022/lib/components/breadcrumb/breadcrumb-link.js +3 -3
- package/esm2022/lib/components/breadcrumb/breadcrumb-list.js +4 -4
- package/esm2022/lib/components/breadcrumb/breadcrumb-list.js.map +1 -1
- package/esm2022/lib/components/breadcrumb/breadcrumb-page.js +3 -3
- package/esm2022/lib/components/breadcrumb/breadcrumb-separator.js +4 -4
- package/esm2022/lib/components/breadcrumb/breadcrumb.js +3 -3
- package/esm2022/lib/components/button/button.js +3 -3
- package/esm2022/lib/components/button-group/button-group-separator.js +3 -3
- package/esm2022/lib/components/button-group/button-group-text.js +3 -3
- package/esm2022/lib/components/button-group/button-group.js +3 -3
- package/esm2022/lib/components/calendar/calendar-day-view.js +6 -6
- package/esm2022/lib/components/calendar/calendar-day-view.js.map +1 -1
- package/esm2022/lib/components/calendar/calendar-header.js +4 -4
- package/esm2022/lib/components/calendar/calendar-header.js.map +1 -1
- package/esm2022/lib/components/calendar/calendar-month-view.js +4 -4
- package/esm2022/lib/components/calendar/calendar-year-view.js +4 -4
- package/esm2022/lib/components/calendar/calendar.js +3 -3
- package/esm2022/lib/components/card/card-action.js +3 -3
- package/esm2022/lib/components/card/card-body.js +3 -3
- package/esm2022/lib/components/card/card-description.js +3 -3
- package/esm2022/lib/components/card/card-footer.js +3 -3
- package/esm2022/lib/components/card/card-header.js +3 -3
- package/esm2022/lib/components/card/card-title.js +3 -3
- package/esm2022/lib/components/card/card.js +3 -3
- package/esm2022/lib/components/checkbox/checkbox-field.js +3 -3
- package/esm2022/lib/components/checkbox/checkbox-visual.js +4 -4
- package/esm2022/lib/components/checkbox/checkbox-visual.js.map +1 -1
- package/esm2022/lib/components/checkbox/checkbox.js +3 -3
- package/esm2022/lib/components/collapsible/collapsible-body.js +3 -3
- package/esm2022/lib/components/collapsible/collapsible-content.js +3 -3
- package/esm2022/lib/components/collapsible/collapsible-panel.js +3 -3
- package/esm2022/lib/components/collapsible/collapsible-trigger.js +3 -3
- package/esm2022/lib/components/collapsible/collapsible.js +3 -3
- package/esm2022/lib/components/date-picker/date-picker.js +4 -4
- package/esm2022/lib/components/dialog/dialog-close.js +3 -3
- package/esm2022/lib/components/dialog/dialog-description.js +3 -3
- package/esm2022/lib/components/dialog/dialog-footer.js +3 -3
- package/esm2022/lib/components/dialog/dialog-header.js +3 -3
- package/esm2022/lib/components/dialog/dialog-portal.js +3 -3
- package/esm2022/lib/components/dialog/dialog-provider.js +3 -3
- package/esm2022/lib/components/dialog/dialog-title.js +3 -3
- package/esm2022/lib/components/dialog/dialog-trigger.js +3 -3
- package/esm2022/lib/components/dialog/dialog.js +3 -3
- package/esm2022/lib/components/drawer/drawer-close.js +3 -3
- package/esm2022/lib/components/drawer/drawer-description.js +3 -3
- package/esm2022/lib/components/drawer/drawer-footer.js +3 -3
- package/esm2022/lib/components/drawer/drawer-handle.js +3 -3
- package/esm2022/lib/components/drawer/drawer-header.js +3 -3
- package/esm2022/lib/components/drawer/drawer-portal.js +3 -3
- package/esm2022/lib/components/drawer/drawer-provider.js +3 -3
- package/esm2022/lib/components/drawer/drawer-title.js +3 -3
- package/esm2022/lib/components/drawer/drawer-trigger.js +3 -3
- package/esm2022/lib/components/drawer/drawer.js +3 -3
- package/esm2022/lib/components/empty/empty-body.js +3 -3
- package/esm2022/lib/components/empty/empty-description.js +3 -3
- package/esm2022/lib/components/empty/empty-header.js +3 -3
- package/esm2022/lib/components/empty/empty-media.js +3 -3
- package/esm2022/lib/components/empty/empty-title.js +3 -3
- package/esm2022/lib/components/empty/empty.js +3 -3
- package/esm2022/lib/components/field/field-body.js +3 -3
- package/esm2022/lib/components/field/field-description.js +4 -4
- package/esm2022/lib/components/field/field-description.js.map +1 -1
- package/esm2022/lib/components/field/field-error.js +3 -3
- package/esm2022/lib/components/field/field-group.js +4 -4
- package/esm2022/lib/components/field/field-group.js.map +1 -1
- package/esm2022/lib/components/field/field-separator.js +3 -3
- package/esm2022/lib/components/field/field-title.js +3 -3
- package/esm2022/lib/components/field/field.js +6 -6
- package/esm2022/lib/components/field/field.js.map +1 -1
- package/esm2022/lib/components/field/fieldset.js +3 -3
- package/esm2022/lib/components/field/legend.js +3 -3
- package/esm2022/lib/components/file-upload/file-upload-dropzone.js +4 -4
- package/esm2022/lib/components/file-upload/file-upload-dropzone.js.map +1 -1
- package/esm2022/lib/components/file-upload/file-upload-item-delete.js +3 -3
- package/esm2022/lib/components/file-upload/file-upload-item-name.js +3 -3
- package/esm2022/lib/components/file-upload/file-upload-item-preview.js +3 -3
- package/esm2022/lib/components/file-upload/file-upload-item-progress.js +5 -5
- package/esm2022/lib/components/file-upload/file-upload-item-progress.js.map +1 -1
- package/esm2022/lib/components/file-upload/file-upload-item-size.js +3 -3
- package/esm2022/lib/components/file-upload/file-upload-item.js +3 -3
- package/esm2022/lib/components/file-upload/file-upload-list.js +3 -3
- package/esm2022/lib/components/file-upload/file-upload-trigger.js +3 -3
- package/esm2022/lib/components/file-upload/file-upload.js +3 -3
- package/esm2022/lib/components/hover-card/hover-card-portal.js +3 -3
- package/esm2022/lib/components/hover-card/hover-card-provider.js +3 -3
- package/esm2022/lib/components/hover-card/hover-card-trigger.js +3 -3
- package/esm2022/lib/components/hover-card/hover-card.js +3 -3
- package/esm2022/lib/components/index.js +2 -0
- package/esm2022/lib/components/index.js.map +1 -1
- package/esm2022/lib/components/input/input.js +3 -3
- package/esm2022/lib/components/input-group/input-group-addon.js +3 -3
- package/esm2022/lib/components/input-group/input-group-button.js +3 -3
- package/esm2022/lib/components/input-group/input-group-text.js +3 -3
- package/esm2022/lib/components/input-group/input-group.js +3 -3
- package/esm2022/lib/components/item/item-actions.js +3 -3
- package/esm2022/lib/components/item/item-body.js +3 -3
- package/esm2022/lib/components/item/item-description.js +3 -3
- package/esm2022/lib/components/item/item-footer.js +3 -3
- package/esm2022/lib/components/item/item-group.js +3 -3
- package/esm2022/lib/components/item/item-header.js +3 -3
- package/esm2022/lib/components/item/item-media.js +3 -3
- package/esm2022/lib/components/item/item-separator.js +3 -3
- package/esm2022/lib/components/item/item-title.js +3 -3
- package/esm2022/lib/components/item/item.js +3 -3
- package/esm2022/lib/components/kbd/kbd-group.js +3 -3
- package/esm2022/lib/components/kbd/kbd.js +3 -3
- package/esm2022/lib/components/label/label.js +4 -4
- package/esm2022/lib/components/label/label.js.map +1 -1
- package/esm2022/lib/components/link/link.js +3 -3
- package/esm2022/lib/components/menu/menu-content.js +3 -3
- package/esm2022/lib/components/menu/menu-item.js +3 -3
- package/esm2022/lib/components/menu/menu-portal.js +3 -3
- package/esm2022/lib/components/menu/menu-provider.js +3 -3
- package/esm2022/lib/components/menu/menu-separator.js +3 -3
- package/esm2022/lib/components/menu/menu-trigger.js +5 -9
- package/esm2022/lib/components/menu/menu-trigger.js.map +1 -1
- package/esm2022/lib/components/menu/menu.js +5 -5
- package/esm2022/lib/components/menu/menu.js.map +1 -1
- package/esm2022/lib/components/menu-bar/menu-bar-item.js +3 -3
- package/esm2022/lib/components/menu-bar/menu-bar.js +3 -3
- package/esm2022/lib/components/native-select/native-select-container.js +3 -3
- package/esm2022/lib/components/native-select/native-select-icon.js +3 -3
- package/esm2022/lib/components/native-select/native-select-optgroup.js +3 -3
- package/esm2022/lib/components/native-select/native-select-option.js +3 -3
- package/esm2022/lib/components/native-select/native-select.js +3 -3
- package/esm2022/lib/components/navigation-menu/navigation-menu-content.js +3 -3
- package/esm2022/lib/components/navigation-menu/navigation-menu-grid.js +3 -3
- package/esm2022/lib/components/navigation-menu/navigation-menu-item.js +3 -3
- package/esm2022/lib/components/navigation-menu/navigation-menu-link.js +3 -3
- package/esm2022/lib/components/navigation-menu/navigation-menu-list.js +3 -3
- package/esm2022/lib/components/navigation-menu/navigation-menu-portal.js +3 -3
- package/esm2022/lib/components/navigation-menu/navigation-menu-trigger-icon.js +4 -4
- package/esm2022/lib/components/navigation-menu/navigation-menu-trigger-icon.js.map +1 -1
- package/esm2022/lib/components/navigation-menu/navigation-menu-trigger.js +4 -4
- package/esm2022/lib/components/navigation-menu/navigation-menu-trigger.js.map +1 -1
- package/esm2022/lib/components/navigation-menu/navigation-menu.js +3 -3
- package/esm2022/lib/components/pagination/pagination-ellipsis.js +3 -3
- package/esm2022/lib/components/pagination/pagination-first.js +3 -3
- package/esm2022/lib/components/pagination/pagination-item.js +3 -3
- package/esm2022/lib/components/pagination/pagination-last.js +3 -3
- package/esm2022/lib/components/pagination/pagination-link.js +3 -3
- package/esm2022/lib/components/pagination/pagination-list.js +3 -3
- package/esm2022/lib/components/pagination/pagination-next.js +3 -3
- package/esm2022/lib/components/pagination/pagination-page-size-select.js +3 -3
- package/esm2022/lib/components/pagination/pagination-previous.js +3 -3
- package/esm2022/lib/components/pagination/pagination.js +4 -4
- package/esm2022/lib/components/pagination/pagination.js.map +1 -1
- package/esm2022/lib/components/popover/popover-close.js +3 -3
- package/esm2022/lib/components/popover/popover-description.js +3 -3
- package/esm2022/lib/components/popover/popover-header.js +3 -3
- package/esm2022/lib/components/popover/popover-portal.js +3 -3
- package/esm2022/lib/components/popover/popover-provider.js +3 -3
- package/esm2022/lib/components/popover/popover-title.js +3 -3
- package/esm2022/lib/components/popover/popover-trigger.js +3 -3
- package/esm2022/lib/components/popover/popover.js +3 -3
- package/esm2022/lib/components/progress/progress-indicator.js +3 -3
- package/esm2022/lib/components/progress/progress.js +3 -3
- package/esm2022/lib/components/radio-group/radio-field.js +3 -3
- package/esm2022/lib/components/radio-group/radio-group.js +3 -3
- package/esm2022/lib/components/radio-group/radio.js +3 -3
- package/esm2022/lib/components/range-slider/range-slider-max.js +3 -3
- package/esm2022/lib/components/range-slider/range-slider-min.js +3 -3
- package/esm2022/lib/components/range-slider/range-slider-thumb-base.js +2 -2
- package/esm2022/lib/components/range-slider/range-slider-thumb-base.js.map +1 -1
- package/esm2022/lib/components/range-slider/range-slider.js +3 -3
- package/esm2022/lib/components/resizable/index.js +6 -0
- package/esm2022/lib/components/resizable/index.js.map +1 -0
- package/esm2022/lib/components/resizable/resizable-handle-indicator.js +20 -0
- package/esm2022/lib/components/resizable/resizable-handle-indicator.js.map +1 -0
- package/esm2022/lib/components/resizable/resizable-handle.js +116 -0
- package/esm2022/lib/components/resizable/resizable-handle.js.map +1 -0
- package/esm2022/lib/components/resizable/resizable-panel-group.js +38 -0
- package/esm2022/lib/components/resizable/resizable-panel-group.js.map +1 -0
- package/esm2022/lib/components/resizable/resizable-panel.js +39 -0
- package/esm2022/lib/components/resizable/resizable-panel.js.map +1 -0
- package/esm2022/lib/components/resizable/resizable.types.js +1 -0
- package/esm2022/lib/components/resizable/resizable.types.js.map +1 -0
- package/esm2022/lib/components/scroll-area/scroll-area.js +3 -3
- package/esm2022/lib/components/select/index.js +1 -1
- package/esm2022/lib/components/select/index.js.map +1 -1
- package/esm2022/lib/components/select/select-group-label.js +3 -3
- package/esm2022/lib/components/select/select-group.js +3 -3
- package/esm2022/lib/components/select/select-input.js +3 -3
- package/esm2022/lib/components/select/select-item-icon.js +3 -3
- package/esm2022/lib/components/select/select-item-indicator.js +3 -3
- package/esm2022/lib/components/select/select-item.js +6 -4
- package/esm2022/lib/components/select/select-item.js.map +1 -1
- package/esm2022/lib/components/select/select-label.js +29 -0
- package/esm2022/lib/components/select/select-label.js.map +1 -0
- package/esm2022/lib/components/select/select-list.js +11 -5
- package/esm2022/lib/components/select/select-list.js.map +1 -1
- package/esm2022/lib/components/select/select-popup.js +3 -3
- package/esm2022/lib/components/select/select-portal.js +3 -3
- package/esm2022/lib/components/select/select-separator.js +3 -3
- package/esm2022/lib/components/select/select-trigger-icon.js +3 -3
- package/esm2022/lib/components/select/select-trigger.js +7 -7
- package/esm2022/lib/components/select/select-trigger.js.map +1 -1
- package/esm2022/lib/components/select/select.js +19 -10
- package/esm2022/lib/components/select/select.js.map +1 -1
- package/esm2022/lib/components/separator/separator.js +3 -3
- package/esm2022/lib/components/sheet/sheet-close.js +3 -3
- package/esm2022/lib/components/sheet/sheet-description.js +3 -3
- package/esm2022/lib/components/sheet/sheet-footer.js +3 -3
- package/esm2022/lib/components/sheet/sheet-header.js +3 -3
- package/esm2022/lib/components/sheet/sheet-portal.js +3 -3
- package/esm2022/lib/components/sheet/sheet-provider.js +3 -3
- package/esm2022/lib/components/sheet/sheet-title.js +3 -3
- package/esm2022/lib/components/sheet/sheet-trigger.js +3 -3
- package/esm2022/lib/components/sheet/sheet.js +3 -3
- package/esm2022/lib/components/sidebar/index.js +28 -0
- package/esm2022/lib/components/sidebar/index.js.map +1 -0
- package/esm2022/lib/components/sidebar/sidebar-body.js +20 -0
- package/esm2022/lib/components/sidebar/sidebar-body.js.map +1 -0
- package/esm2022/lib/components/sidebar/sidebar-container.js +26 -0
- package/esm2022/lib/components/sidebar/sidebar-container.js.map +1 -0
- package/esm2022/lib/components/sidebar/sidebar-footer.js +20 -0
- package/esm2022/lib/components/sidebar/sidebar-footer.js.map +1 -0
- package/esm2022/lib/components/sidebar/sidebar-gap.js +23 -0
- package/esm2022/lib/components/sidebar/sidebar-gap.js.map +1 -0
- package/esm2022/lib/components/sidebar/sidebar-group-action.js +21 -0
- package/esm2022/lib/components/sidebar/sidebar-group-action.js.map +1 -0
- package/esm2022/lib/components/sidebar/sidebar-group-content.js +20 -0
- package/esm2022/lib/components/sidebar/sidebar-group-content.js.map +1 -0
- package/esm2022/lib/components/sidebar/sidebar-group-label.js +21 -0
- package/esm2022/lib/components/sidebar/sidebar-group-label.js.map +1 -0
- package/esm2022/lib/components/sidebar/sidebar-group.js +20 -0
- package/esm2022/lib/components/sidebar/sidebar-group.js.map +1 -0
- package/esm2022/lib/components/sidebar/sidebar-header.js +20 -0
- package/esm2022/lib/components/sidebar/sidebar-header.js.map +1 -0
- package/esm2022/lib/components/sidebar/sidebar-inner.js +20 -0
- package/esm2022/lib/components/sidebar/sidebar-inner.js.map +1 -0
- package/esm2022/lib/components/sidebar/sidebar-input.js +20 -0
- package/esm2022/lib/components/sidebar/sidebar-input.js.map +1 -0
- package/esm2022/lib/components/sidebar/sidebar-inset.js +20 -0
- package/esm2022/lib/components/sidebar/sidebar-inset.js.map +1 -0
- package/esm2022/lib/components/sidebar/sidebar-menu-action.js +24 -0
- package/esm2022/lib/components/sidebar/sidebar-menu-action.js.map +1 -0
- package/esm2022/lib/components/sidebar/sidebar-menu-badge.js +20 -0
- package/esm2022/lib/components/sidebar/sidebar-menu-badge.js.map +1 -0
- package/esm2022/lib/components/sidebar/sidebar-menu-button.js +47 -0
- package/esm2022/lib/components/sidebar/sidebar-menu-button.js.map +1 -0
- package/esm2022/lib/components/sidebar/sidebar-menu-item.js +20 -0
- package/esm2022/lib/components/sidebar/sidebar-menu-item.js.map +1 -0
- package/esm2022/lib/components/sidebar/sidebar-menu-skeleton.js +45 -0
- package/esm2022/lib/components/sidebar/sidebar-menu-skeleton.js.map +1 -0
- package/esm2022/lib/components/sidebar/sidebar-menu-sub-button.js +31 -0
- package/esm2022/lib/components/sidebar/sidebar-menu-sub-button.js.map +1 -0
- package/esm2022/lib/components/sidebar/sidebar-menu-sub-item.js +20 -0
- package/esm2022/lib/components/sidebar/sidebar-menu-sub-item.js.map +1 -0
- package/esm2022/lib/components/sidebar/sidebar-menu-sub.js +20 -0
- package/esm2022/lib/components/sidebar/sidebar-menu-sub.js.map +1 -0
- package/esm2022/lib/components/sidebar/sidebar-menu.js +20 -0
- package/esm2022/lib/components/sidebar/sidebar-menu.js.map +1 -0
- package/esm2022/lib/components/sidebar/sidebar-provider.js +102 -0
- package/esm2022/lib/components/sidebar/sidebar-provider.js.map +1 -0
- package/esm2022/lib/components/sidebar/sidebar-rail.js +27 -0
- package/esm2022/lib/components/sidebar/sidebar-rail.js.map +1 -0
- package/esm2022/lib/components/sidebar/sidebar-separator.js +20 -0
- package/esm2022/lib/components/sidebar/sidebar-separator.js.map +1 -0
- package/esm2022/lib/components/sidebar/sidebar-state.js +32 -0
- package/esm2022/lib/components/sidebar/sidebar-state.js.map +1 -0
- package/esm2022/lib/components/sidebar/sidebar-trigger.js +36 -0
- package/esm2022/lib/components/sidebar/sidebar-trigger.js.map +1 -0
- package/esm2022/lib/components/sidebar/sidebar.js +137 -0
- package/esm2022/lib/components/sidebar/sidebar.js.map +1 -0
- package/esm2022/lib/components/skeleton/skeleton.js +3 -3
- package/esm2022/lib/components/slider/slider.js +4 -4
- package/esm2022/lib/components/slider/slider.js.map +1 -1
- package/esm2022/lib/components/spinner/spinner.js +3 -3
- package/esm2022/lib/components/switch/switch-field.js +4 -4
- package/esm2022/lib/components/switch/switch-field.js.map +1 -1
- package/esm2022/lib/components/switch/switch-visual.js +3 -3
- package/esm2022/lib/components/switch/switch.js +3 -3
- package/esm2022/lib/components/table/table-body.js +3 -3
- package/esm2022/lib/components/table/table-caption.js +3 -3
- package/esm2022/lib/components/table/table-cell.js +3 -3
- package/esm2022/lib/components/table/table-footer.js +3 -3
- package/esm2022/lib/components/table/table-header-cell.js +3 -3
- package/esm2022/lib/components/table/table-header.js +3 -3
- package/esm2022/lib/components/table/table-row.js +3 -3
- package/esm2022/lib/components/table/table.js +3 -3
- package/esm2022/lib/components/tabs/tab-content.js +3 -3
- package/esm2022/lib/components/tabs/tab-list.js +3 -3
- package/esm2022/lib/components/tabs/tab-panel.js +4 -4
- package/esm2022/lib/components/tabs/tab-panel.js.map +1 -1
- package/esm2022/lib/components/tabs/tab.js +3 -3
- package/esm2022/lib/components/tabs/tabs.js +3 -3
- package/esm2022/lib/components/textarea/textarea.js +3 -3
- package/esm2022/lib/components/time-picker/time-picker-hours-input.js +3 -3
- package/esm2022/lib/components/time-picker/time-picker-input.js +3 -3
- package/esm2022/lib/components/time-picker/time-picker-minutes-input.js +3 -3
- package/esm2022/lib/components/time-picker/time-picker-period-am.js +3 -3
- package/esm2022/lib/components/time-picker/time-picker-period-pm.js +3 -3
- package/esm2022/lib/components/time-picker/time-picker-period.js +3 -3
- package/esm2022/lib/components/time-picker/time-picker-seconds-input.js +3 -3
- package/esm2022/lib/components/time-picker/time-picker-separator.js +3 -3
- package/esm2022/lib/components/time-picker/time-picker.js +3 -3
- package/esm2022/lib/components/toast/toast-action.js +3 -3
- package/esm2022/lib/components/toast/toast-close.js +3 -3
- package/esm2022/lib/components/toast/toast-description.js +3 -3
- package/esm2022/lib/components/toast/toast-stack.js +4 -4
- package/esm2022/lib/components/toast/toast-stack.js.map +1 -1
- package/esm2022/lib/components/toast/toast-title.js +3 -3
- package/esm2022/lib/components/toast/toast.js +3 -3
- package/esm2022/lib/components/toast/toaster.js +3 -3
- package/esm2022/lib/components/toggle/toggle.js +3 -3
- package/esm2022/lib/components/toggle-group/toggle-group-item.js +3 -3
- package/esm2022/lib/components/toggle-group/toggle-group.js +3 -3
- package/esm2022/lib/components/toolbar/toolbar-separator.js +3 -3
- package/esm2022/lib/components/toolbar/toolbar-widget-group.js +3 -3
- package/esm2022/lib/components/toolbar/toolbar-widget.js +3 -3
- package/esm2022/lib/components/toolbar/toolbar.js +3 -3
- package/esm2022/lib/components/tooltip/tooltip-manager.js +3 -3
- package/esm2022/lib/components/tooltip/tooltip-trigger.js +3 -3
- package/esm2022/lib/components/tooltip/tooltip.js +5 -13
- package/esm2022/lib/components/tooltip/tooltip.js.map +1 -1
- package/esm2022/lib/components/typography/heading.js +3 -3
- package/lib/components/index.d.ts +2 -0
- package/lib/components/menu/menu-trigger.d.ts +1 -3
- package/lib/components/menu/menu.d.ts +1 -1
- package/lib/components/pagination/pagination.d.ts +1 -1
- package/lib/components/range-slider/range-slider-thumb-base.d.ts +1 -1
- package/lib/components/resizable/index.d.ts +5 -0
- package/lib/components/resizable/resizable-handle-indicator.d.ts +7 -0
- package/lib/components/resizable/resizable-handle.d.ts +18 -0
- package/lib/components/resizable/resizable-panel-group.d.ts +17 -0
- package/lib/components/resizable/resizable-panel.d.ts +16 -0
- package/lib/components/resizable/resizable.types.d.ts +1 -0
- package/lib/components/select/index.d.ts +1 -1
- package/lib/components/select/select-item.d.ts +2 -0
- package/lib/components/select/select-label.d.ts +9 -0
- package/lib/components/select/select-list.d.ts +3 -1
- package/lib/components/select/select-trigger.d.ts +2 -2
- package/lib/components/select/select.d.ts +5 -4
- package/lib/components/sidebar/index.d.ts +27 -0
- package/lib/components/sidebar/sidebar-body.d.ts +7 -0
- package/lib/components/sidebar/sidebar-container.d.ts +8 -0
- package/lib/components/sidebar/sidebar-footer.d.ts +7 -0
- package/lib/components/sidebar/sidebar-gap.d.ts +8 -0
- package/lib/components/sidebar/sidebar-group-action.d.ts +8 -0
- package/lib/components/sidebar/sidebar-group-content.d.ts +7 -0
- package/lib/components/sidebar/sidebar-group-label.d.ts +8 -0
- package/lib/components/sidebar/sidebar-group.d.ts +7 -0
- package/lib/components/sidebar/sidebar-header.d.ts +7 -0
- package/lib/components/sidebar/sidebar-inner.d.ts +7 -0
- package/lib/components/sidebar/sidebar-input.d.ts +7 -0
- package/lib/components/sidebar/sidebar-inset.d.ts +7 -0
- package/lib/components/sidebar/sidebar-menu-action.d.ts +9 -0
- package/lib/components/sidebar/sidebar-menu-badge.d.ts +7 -0
- package/lib/components/sidebar/sidebar-menu-button.d.ts +18 -0
- package/lib/components/sidebar/sidebar-menu-item.d.ts +7 -0
- package/lib/components/sidebar/sidebar-menu-skeleton.d.ts +9 -0
- package/lib/components/sidebar/sidebar-menu-sub-button.d.ts +9 -0
- package/lib/components/sidebar/sidebar-menu-sub-item.d.ts +7 -0
- package/lib/components/sidebar/sidebar-menu-sub.d.ts +7 -0
- package/lib/components/sidebar/sidebar-menu.d.ts +7 -0
- package/lib/components/sidebar/sidebar-provider.d.ts +19 -0
- package/lib/components/sidebar/sidebar-rail.d.ts +9 -0
- package/lib/components/sidebar/sidebar-separator.d.ts +7 -0
- package/lib/components/sidebar/sidebar-state.d.ts +14 -0
- package/lib/components/sidebar/sidebar-trigger.d.ts +12 -0
- package/lib/components/sidebar/sidebar.d.ts +11 -0
- package/package.json +1 -1
- package/esm2022/lib/components/select/select-value.js +0 -28
- package/esm2022/lib/components/select/select-value.js.map +0 -1
- package/lib/components/select/select-value.d.ts +0 -7
|
@@ -4,10 +4,10 @@ import * as i0 from "@angular/core";
|
|
|
4
4
|
export class ScToastDescription {
|
|
5
5
|
classInput = input('', { ...(ngDevMode ? { debugName: "classInput" } : {}), alias: 'class' });
|
|
6
6
|
class = computed(() => cn('text-sm opacity-90', this.classInput()), ...(ngDevMode ? [{ debugName: "class" }] : []));
|
|
7
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.
|
|
8
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.
|
|
7
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: ScToastDescription, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
8
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.2.0", type: ScToastDescription, isStandalone: true, selector: "[scToastDescription]", inputs: { classInput: { classPropertyName: "classInput", publicName: "class", isSignal: true, isRequired: false, transformFunction: null } }, host: { attributes: { "data-slot": "toast-description" }, properties: { "class": "class()" } }, ngImport: i0 });
|
|
9
9
|
}
|
|
10
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.
|
|
10
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: ScToastDescription, decorators: [{
|
|
11
11
|
type: Directive,
|
|
12
12
|
args: [{
|
|
13
13
|
selector: '[scToastDescription]',
|
|
@@ -34,8 +34,8 @@ export class ScToastStack {
|
|
|
34
34
|
this.toastService.remove(id);
|
|
35
35
|
}
|
|
36
36
|
}
|
|
37
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.
|
|
38
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.
|
|
37
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: ScToastStack, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
38
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.0", type: ScToastStack, isStandalone: true, selector: "sc-toast-stack", host: { attributes: { "data-slot": "toast-stack" }, properties: { "class": "class()" } }, ngImport: i0, template: `
|
|
39
39
|
@for (toast of toastService.toasts(); track toast.id) {
|
|
40
40
|
<div
|
|
41
41
|
scToast
|
|
@@ -93,9 +93,9 @@ export class ScToastStack {
|
|
|
93
93
|
</button>
|
|
94
94
|
</div>
|
|
95
95
|
}
|
|
96
|
-
`, isInline: true, dependencies: [{ kind: "component", type: SiXIcon, selector: "svg[siXIcon]", inputs: ["width", "height", "viewBox", "fill", "stroke", "stroke-width", "stroke-linecap", "stroke-linejoin"] }, { kind: "component", type: SiCircleCheckIcon, selector: "svg[siCircleCheckIcon]", inputs: ["width", "height", "viewBox", "fill", "stroke", "stroke-width", "stroke-linecap", "stroke-linejoin"] }, { kind: "component", type: SiInfoIcon, selector: "svg[siInfoIcon]", inputs: ["width", "height", "viewBox", "fill", "stroke", "stroke-width", "stroke-linecap", "stroke-linejoin"] }, { kind: "component", type: SiLoaderCircleIcon, selector: "svg[siLoaderCircleIcon]", inputs: ["width", "height", "viewBox", "fill", "stroke", "stroke-width", "stroke-linecap", "stroke-linejoin"] }, { kind: "component", type: SiOctagonXIcon, selector: "svg[siOctagonXIcon]", inputs: ["width", "height", "viewBox", "fill", "stroke", "stroke-width", "stroke-linecap", "stroke-linejoin"] }, { kind: "component", type: SiTriangleAlertIcon, selector: "svg[siTriangleAlertIcon]", inputs: ["width", "height", "viewBox", "fill", "stroke", "stroke-width", "stroke-linecap", "stroke-linejoin"] }, { kind: "component", type: ScToast, selector: "div[scToast]", inputs: ["class", "variant", "position"], outputs: ["pointerEnter", "pointerLeave"] }, { kind: "directive", type: ScToastTitle, selector: "[scToastTitle]", inputs: ["class"] }, { kind: "directive", type: ScToastDescription, selector: "[scToastDescription]", inputs: ["class"] }, { kind: "directive", type: ScToastClose, selector: "button[scToastClose]", inputs: ["class"], outputs: ["close"] }, { kind: "directive", type: ScToastAction, selector: "button[scToastAction]", inputs: ["class"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
96
|
+
`, isInline: true, dependencies: [{ kind: "component", type: SiXIcon, selector: "svg[siXIcon]", inputs: ["ariaHidden", "width", "height", "viewBox", "fill", "stroke", "stroke-width", "stroke-linecap", "stroke-linejoin"] }, { kind: "component", type: SiCircleCheckIcon, selector: "svg[siCircleCheckIcon]", inputs: ["ariaHidden", "width", "height", "viewBox", "fill", "stroke", "stroke-width", "stroke-linecap", "stroke-linejoin"] }, { kind: "component", type: SiInfoIcon, selector: "svg[siInfoIcon]", inputs: ["ariaHidden", "width", "height", "viewBox", "fill", "stroke", "stroke-width", "stroke-linecap", "stroke-linejoin"] }, { kind: "component", type: SiLoaderCircleIcon, selector: "svg[siLoaderCircleIcon]", inputs: ["ariaHidden", "width", "height", "viewBox", "fill", "stroke", "stroke-width", "stroke-linecap", "stroke-linejoin"] }, { kind: "component", type: SiOctagonXIcon, selector: "svg[siOctagonXIcon]", inputs: ["ariaHidden", "width", "height", "viewBox", "fill", "stroke", "stroke-width", "stroke-linecap", "stroke-linejoin"] }, { kind: "component", type: SiTriangleAlertIcon, selector: "svg[siTriangleAlertIcon]", inputs: ["ariaHidden", "width", "height", "viewBox", "fill", "stroke", "stroke-width", "stroke-linecap", "stroke-linejoin"] }, { kind: "component", type: ScToast, selector: "div[scToast]", inputs: ["class", "variant", "position"], outputs: ["pointerEnter", "pointerLeave"] }, { kind: "directive", type: ScToastTitle, selector: "[scToastTitle]", inputs: ["class"] }, { kind: "directive", type: ScToastDescription, selector: "[scToastDescription]", inputs: ["class"] }, { kind: "directive", type: ScToastClose, selector: "button[scToastClose]", inputs: ["class"], outputs: ["close"] }, { kind: "directive", type: ScToastAction, selector: "button[scToastAction]", inputs: ["class"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
97
97
|
}
|
|
98
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.
|
|
98
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: ScToastStack, decorators: [{
|
|
99
99
|
type: Component,
|
|
100
100
|
args: [{
|
|
101
101
|
selector: 'sc-toast-stack',
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"toast-stack.js","sourceRoot":"","sources":["../../../../../../../libs/ui/src/lib/components/toast/toast-stack.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,uBAAuB,EACvB,SAAS,EACT,QAAQ,EACR,MAAM,EACN,iBAAiB,GAClB,MAAM,eAAe,CAAC;AACvB,OAAO,EAAE,EAAE,EAAE,MAAM,aAAa,CAAC;AAEjC,OAAO,EACL,iBAAiB,EACjB,UAAU,EACV,kBAAkB,EAClB,cAAc,EACd,mBAAmB,EACnB,OAAO,GACR,MAAM,8BAA8B,CAAC;AACtC,OAAO,EAAE,OAAO,EAAE,MAAM,SAAS,CAAC;AAClC,OAAO,EAAE,aAAa,EAAE,MAAM,gBAAgB,CAAC;AAC/C,OAAO,EAAE,YAAY,EAAE,MAAM,eAAe,CAAC;AAC7C,OAAO,EAAE,kBAAkB,EAAE,MAAM,qBAAqB,CAAC;AACzD,OAAO,EAAE,YAAY,EAAE,MAAM,eAAe,CAAC;AAC7C,OAAO,EAAE,SAAS,EAAE,MAAM,WAAW,CAAC;;AAmFtC,MAAM,OAAO,YAAY;IACJ,YAAY,GAAG,MAAM,CAAC,SAAS,CAAC,CAAC;IAEnC,eAAe,GAAoC;QAClE,UAAU,EAAE,qCAAqC;QACjD,YAAY,EAAE,wDAAwD;QACtE,WAAW,EAAE,sCAAsC;QACnD,aAAa,EAAE,gCAAgC;QAC/C,eAAe,EAAE,mDAAmD;QACpE,cAAc,EAAE,iCAAiC;KAClD,CAAC;IAEiB,KAAK,GAAG,QAAQ,CAAC,GAAG,EAAE,CACvC,EAAE,CACA,2DAA2D,EAC3D,IAAI,CAAC,eAAe,CAAC,IAAI,CAAC,YAAY,CAAC,QAAQ,EAAE,CAAC,CACnD,iDACF,CAAC;IAEQ,OAAO,CAAC,EAAU;QAC1B,IAAI,CAAC,YAAY,CAAC,OAAO,CAAC,EAAE,CAAC,CAAC;IAChC,CAAC;IAES,QAAQ,CAAC,EAAU,EAAE,OAAmB;QAChD,OAAO,EAAE,CAAC;QACV,IAAI,CAAC,YAAY,CAAC,OAAO,CAAC,EAAE,CAAC,CAAC;IAChC,CAAC;IAES,cAAc,CAAC,KAAqB,EAAE,EAAU;QACxD,IAAI,KAAK,CAAC,MAAM,KAAK,KAAK,CAAC,aAAa;YAAE,OAAO;QAEjD,MAAM,KAAK,GAAG,IAAI,CAAC,YAAY,CAAC,MAAM,EAAE,CAAC,IAAI,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,EAAE,KAAK,EAAE,CAAC,CAAC;QAClE,IAAI,KAAK,EAAE,KAAK,KAAK,QAAQ,EAAE,CAAC;YAC9B,IAAI,CAAC,YAAY,CAAC,MAAM,CAAC,EAAE,CAAC,CAAC;QAC/B,CAAC;IACH,CAAC;uGAnCU,YAAY;2FAAZ,YAAY,oKAlEb;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA0DT,4DAtEC,OAAO,
|
|
1
|
+
{"version":3,"file":"toast-stack.js","sourceRoot":"","sources":["../../../../../../../libs/ui/src/lib/components/toast/toast-stack.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,uBAAuB,EACvB,SAAS,EACT,QAAQ,EACR,MAAM,EACN,iBAAiB,GAClB,MAAM,eAAe,CAAC;AACvB,OAAO,EAAE,EAAE,EAAE,MAAM,aAAa,CAAC;AAEjC,OAAO,EACL,iBAAiB,EACjB,UAAU,EACV,kBAAkB,EAClB,cAAc,EACd,mBAAmB,EACnB,OAAO,GACR,MAAM,8BAA8B,CAAC;AACtC,OAAO,EAAE,OAAO,EAAE,MAAM,SAAS,CAAC;AAClC,OAAO,EAAE,aAAa,EAAE,MAAM,gBAAgB,CAAC;AAC/C,OAAO,EAAE,YAAY,EAAE,MAAM,eAAe,CAAC;AAC7C,OAAO,EAAE,kBAAkB,EAAE,MAAM,qBAAqB,CAAC;AACzD,OAAO,EAAE,YAAY,EAAE,MAAM,eAAe,CAAC;AAC7C,OAAO,EAAE,SAAS,EAAE,MAAM,WAAW,CAAC;;AAmFtC,MAAM,OAAO,YAAY;IACJ,YAAY,GAAG,MAAM,CAAC,SAAS,CAAC,CAAC;IAEnC,eAAe,GAAoC;QAClE,UAAU,EAAE,qCAAqC;QACjD,YAAY,EAAE,wDAAwD;QACtE,WAAW,EAAE,sCAAsC;QACnD,aAAa,EAAE,gCAAgC;QAC/C,eAAe,EAAE,mDAAmD;QACpE,cAAc,EAAE,iCAAiC;KAClD,CAAC;IAEiB,KAAK,GAAG,QAAQ,CAAC,GAAG,EAAE,CACvC,EAAE,CACA,2DAA2D,EAC3D,IAAI,CAAC,eAAe,CAAC,IAAI,CAAC,YAAY,CAAC,QAAQ,EAAE,CAAC,CACnD,iDACF,CAAC;IAEQ,OAAO,CAAC,EAAU;QAC1B,IAAI,CAAC,YAAY,CAAC,OAAO,CAAC,EAAE,CAAC,CAAC;IAChC,CAAC;IAES,QAAQ,CAAC,EAAU,EAAE,OAAmB;QAChD,OAAO,EAAE,CAAC;QACV,IAAI,CAAC,YAAY,CAAC,OAAO,CAAC,EAAE,CAAC,CAAC;IAChC,CAAC;IAES,cAAc,CAAC,KAAqB,EAAE,EAAU;QACxD,IAAI,KAAK,CAAC,MAAM,KAAK,KAAK,CAAC,aAAa;YAAE,OAAO;QAEjD,MAAM,KAAK,GAAG,IAAI,CAAC,YAAY,CAAC,MAAM,EAAE,CAAC,IAAI,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,EAAE,KAAK,EAAE,CAAC,CAAC;QAClE,IAAI,KAAK,EAAE,KAAK,KAAK,QAAQ,EAAE,CAAC;YAC9B,IAAI,CAAC,YAAY,CAAC,MAAM,CAAC,EAAE,CAAC,CAAC;QAC/B,CAAC;IACH,CAAC;uGAnCU,YAAY;2FAAZ,YAAY,oKAlEb;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA0DT,4DAtEC,OAAO,sLACP,iBAAiB,gMACjB,UAAU,yLACV,kBAAkB,iMAClB,cAAc,6LACd,mBAAmB,kMACnB,OAAO,8IACP,YAAY,8EACZ,kBAAkB,oFAClB,YAAY,wGACZ,aAAa;;2FAoEJ,YAAY;kBAjFxB,SAAS;mBAAC;oBACT,QAAQ,EAAE,gBAAgB;oBAC1B,OAAO,EAAE;wBACP,OAAO;wBACP,iBAAiB;wBACjB,UAAU;wBACV,kBAAkB;wBAClB,cAAc;wBACd,mBAAmB;wBACnB,OAAO;wBACP,YAAY;wBACZ,kBAAkB;wBAClB,YAAY;wBACZ,aAAa;qBACd;oBACD,QAAQ,EAAE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA0DT;oBACD,IAAI,EAAE;wBACJ,WAAW,EAAE,aAAa;wBAC1B,SAAS,EAAE,SAAS;qBACrB;oBACD,aAAa,EAAE,iBAAiB,CAAC,IAAI;oBACrC,eAAe,EAAE,uBAAuB,CAAC,MAAM;iBAChD","sourcesContent":["import {\n ChangeDetectionStrategy,\n Component,\n computed,\n inject,\n ViewEncapsulation,\n} from '@angular/core';\nimport { cn } from '../../utils';\nimport { ScToastPosition } from './toast.types';\nimport {\n SiCircleCheckIcon,\n SiInfoIcon,\n SiLoaderCircleIcon,\n SiOctagonXIcon,\n SiTriangleAlertIcon,\n SiXIcon,\n} from '@semantic-icons/lucide-icons';\nimport { ScToast } from './toast';\nimport { ScToastAction } from './toast-action';\nimport { ScToastClose } from './toast-close';\nimport { ScToastDescription } from './toast-description';\nimport { ScToastTitle } from './toast-title';\nimport { ScToaster } from './toaster';\n\n@Component({\n selector: 'sc-toast-stack',\n imports: [\n SiXIcon,\n SiCircleCheckIcon,\n SiInfoIcon,\n SiLoaderCircleIcon,\n SiOctagonXIcon,\n SiTriangleAlertIcon,\n ScToast,\n ScToastTitle,\n ScToastDescription,\n ScToastClose,\n ScToastAction,\n ],\n template: `\n @for (toast of toastService.toasts(); track toast.id) {\n <div\n scToast\n [variant]=\"toast.variant ?? 'default'\"\n [position]=\"toastService.position()\"\n [attr.data-state]=\"toast.state ?? 'open'\"\n (animationend)=\"onAnimationEnd($event, toast.id)\"\n (pointerEnter)=\"toastService.pause(toast.id)\"\n (pointerLeave)=\"toastService.resume(toast.id)\"\n >\n @switch (toast.variant) {\n @case ('success') {\n <svg\n siCircleCheckIcon\n class=\"size-4 shrink-0 text-green-600 dark:text-green-400\"\n ></svg>\n }\n @case ('info') {\n <svg\n siInfoIcon\n class=\"size-4 shrink-0 text-blue-600 dark:text-blue-400\"\n ></svg>\n }\n @case ('warning') {\n <svg\n siTriangleAlertIcon\n class=\"size-4 shrink-0 text-yellow-600 dark:text-yellow-400\"\n ></svg>\n }\n @case ('error') {\n <svg siOctagonXIcon class=\"size-4 shrink-0\"></svg>\n }\n @case ('loading') {\n <svg siLoaderCircleIcon class=\"size-4 shrink-0 animate-spin\"></svg>\n }\n }\n <div class=\"grid gap-1\">\n @if (toast.title) {\n <div scToastTitle>{{ toast.title }}</div>\n }\n @if (toast.description) {\n <div scToastDescription>{{ toast.description }}</div>\n }\n </div>\n @if (toast.action) {\n <button\n scToastAction\n (click)=\"onAction(toast.id, toast.action.onClick)\"\n >\n {{ toast.action.label }}\n </button>\n }\n <button scToastClose (close)=\"dismiss(toast.id)\">\n <svg siXIcon class=\"size-4\"></svg>\n </button>\n </div>\n }\n `,\n host: {\n 'data-slot': 'toast-stack',\n '[class]': 'class()',\n },\n encapsulation: ViewEncapsulation.None,\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class ScToastStack {\n protected readonly toastService = inject(ScToaster);\n\n private readonly positionClasses: Record<ScToastPosition, string> = {\n 'top-left': 'fixed top-0 left-0 flex-col-reverse',\n 'top-center': 'fixed top-0 left-1/2 -translate-x-1/2 flex-col-reverse',\n 'top-right': 'fixed top-0 right-0 flex-col-reverse',\n 'bottom-left': 'fixed bottom-0 left-0 flex-col',\n 'bottom-center': 'fixed bottom-0 left-1/2 -translate-x-1/2 flex-col',\n 'bottom-right': 'fixed bottom-0 right-0 flex-col',\n };\n\n protected readonly class = computed(() =>\n cn(\n 'z-100 flex max-h-screen w-full gap-2 p-4 md:max-w-[420px]',\n this.positionClasses[this.toastService.position()],\n ),\n );\n\n protected dismiss(id: string): void {\n this.toastService.dismiss(id);\n }\n\n protected onAction(id: string, onClick: () => void): void {\n onClick();\n this.toastService.dismiss(id);\n }\n\n protected onAnimationEnd(event: AnimationEvent, id: string): void {\n if (event.target !== event.currentTarget) return;\n\n const toast = this.toastService.toasts().find((t) => t.id === id);\n if (toast?.state === 'closed') {\n this.toastService.remove(id);\n }\n }\n}\n"]}
|
|
@@ -4,10 +4,10 @@ import * as i0 from "@angular/core";
|
|
|
4
4
|
export class ScToastTitle {
|
|
5
5
|
classInput = input('', { ...(ngDevMode ? { debugName: "classInput" } : {}), alias: 'class' });
|
|
6
6
|
class = computed(() => cn('text-sm font-semibold', this.classInput()), ...(ngDevMode ? [{ debugName: "class" }] : []));
|
|
7
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.
|
|
8
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.
|
|
7
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: ScToastTitle, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
8
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.2.0", type: ScToastTitle, isStandalone: true, selector: "[scToastTitle]", inputs: { classInput: { classPropertyName: "classInput", publicName: "class", isSignal: true, isRequired: false, transformFunction: null } }, host: { attributes: { "data-slot": "toast-title" }, properties: { "class": "class()" } }, ngImport: i0 });
|
|
9
9
|
}
|
|
10
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.
|
|
10
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: ScToastTitle, decorators: [{
|
|
11
11
|
type: Directive,
|
|
12
12
|
args: [{
|
|
13
13
|
selector: '[scToastTitle]',
|
|
@@ -30,12 +30,12 @@ export class ScToast {
|
|
|
30
30
|
onPointerLeave() {
|
|
31
31
|
this.pointerLeave.emit();
|
|
32
32
|
}
|
|
33
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.
|
|
34
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "21.
|
|
33
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: ScToast, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
34
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "21.2.0", type: ScToast, isStandalone: true, selector: "div[scToast]", inputs: { classInput: { classPropertyName: "classInput", publicName: "class", isSignal: true, isRequired: false, transformFunction: null }, variant: { classPropertyName: "variant", publicName: "variant", isSignal: true, isRequired: false, transformFunction: null }, position: { classPropertyName: "position", publicName: "position", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { pointerEnter: "pointerEnter", pointerLeave: "pointerLeave" }, host: { attributes: { "data-slot": "toast", "role": "status", "aria-live": "polite", "aria-atomic": "true" }, listeners: { "pointerenter": "onPointerEnter()", "pointerleave": "onPointerLeave()" }, properties: { "class": "class()" } }, ngImport: i0, template: `
|
|
35
35
|
<ng-content />
|
|
36
36
|
`, isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
37
37
|
}
|
|
38
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.
|
|
38
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: ScToast, decorators: [{
|
|
39
39
|
type: Component,
|
|
40
40
|
args: [{
|
|
41
41
|
selector: 'div[scToast]',
|
|
@@ -137,10 +137,10 @@ export class ScToaster {
|
|
|
137
137
|
const portal = new ComponentPortal(ScToastStack);
|
|
138
138
|
this.overlayRef.attach(portal);
|
|
139
139
|
}
|
|
140
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.
|
|
141
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.
|
|
140
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: ScToaster, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
141
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: ScToaster, providedIn: 'root' });
|
|
142
142
|
}
|
|
143
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.
|
|
143
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: ScToaster, decorators: [{
|
|
144
144
|
type: Injectable,
|
|
145
145
|
args: [{
|
|
146
146
|
providedIn: 'root',
|
|
@@ -31,10 +31,10 @@ export class ScToggle {
|
|
|
31
31
|
this.pressed.update((v) => !v);
|
|
32
32
|
}
|
|
33
33
|
}
|
|
34
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.
|
|
35
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.
|
|
34
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: ScToggle, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
35
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.2.0", type: ScToggle, isStandalone: true, selector: "button[scToggle]", inputs: { classInput: { classPropertyName: "classInput", publicName: "class", isSignal: true, isRequired: false, transformFunction: null }, pressed: { classPropertyName: "pressed", publicName: "pressed", isSignal: true, isRequired: false, transformFunction: null }, disabled: { classPropertyName: "disabled", publicName: "disabled", isSignal: true, isRequired: false, transformFunction: null }, variant: { classPropertyName: "variant", publicName: "variant", isSignal: true, isRequired: false, transformFunction: null }, size: { classPropertyName: "size", publicName: "size", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { pressed: "pressedChange" }, host: { attributes: { "data-slot": "toggle", "type": "button" }, listeners: { "click": "toggle()" }, properties: { "class": "class()", "attr.aria-pressed": "pressed()", "attr.data-state": "pressed() ? \"on\" : \"off\"", "disabled": "disabled()" } }, ngImport: i0 });
|
|
36
36
|
}
|
|
37
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.
|
|
37
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: ScToggle, decorators: [{
|
|
38
38
|
type: Directive,
|
|
39
39
|
args: [{
|
|
40
40
|
selector: 'button[scToggle]',
|
|
@@ -21,10 +21,10 @@ export class ScToggleGroupItem {
|
|
|
21
21
|
this.group.toggle(this.value());
|
|
22
22
|
}
|
|
23
23
|
}
|
|
24
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.
|
|
25
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.
|
|
24
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: ScToggleGroupItem, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
25
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.2.0", type: ScToggleGroupItem, isStandalone: true, selector: "button[scToggleGroupItem]", inputs: { classInput: { classPropertyName: "classInput", publicName: "class", isSignal: true, isRequired: false, transformFunction: null }, value: { classPropertyName: "value", publicName: "value", isSignal: true, isRequired: true, transformFunction: null }, disabled: { classPropertyName: "disabled", publicName: "disabled", isSignal: true, isRequired: false, transformFunction: null }, variant: { classPropertyName: "variant", publicName: "variant", isSignal: true, isRequired: false, transformFunction: null }, size: { classPropertyName: "size", publicName: "size", isSignal: true, isRequired: false, transformFunction: null } }, host: { attributes: { "data-slot": "toggle-group-item", "type": "button" }, listeners: { "click": "onClick()" }, properties: { "attr.data-variant": "group.variant() || variant()", "attr.data-size": "group.size() || size()", "attr.data-spacing": "group.spacing()", "attr.aria-pressed": "isSelected()", "attr.data-state": "isSelected() ? \"on\" : \"off\"", "disabled": "isDisabled()", "class": "class()" } }, ngImport: i0 });
|
|
26
26
|
}
|
|
27
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.
|
|
27
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: ScToggleGroupItem, decorators: [{
|
|
28
28
|
type: Directive,
|
|
29
29
|
args: [{
|
|
30
30
|
selector: 'button[scToggleGroupItem]',
|
|
@@ -37,10 +37,10 @@ export class ScToggleGroup {
|
|
|
37
37
|
this.value.set(arr);
|
|
38
38
|
}
|
|
39
39
|
}
|
|
40
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.
|
|
41
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.
|
|
40
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: ScToggleGroup, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
41
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.2.0", type: ScToggleGroup, isStandalone: true, selector: "div[scToggleGroup]", inputs: { classInput: { classPropertyName: "classInput", publicName: "class", isSignal: true, isRequired: false, transformFunction: null }, type: { classPropertyName: "type", publicName: "type", isSignal: true, isRequired: false, transformFunction: null }, value: { classPropertyName: "value", publicName: "value", isSignal: true, isRequired: false, transformFunction: null }, disabled: { classPropertyName: "disabled", publicName: "disabled", isSignal: true, isRequired: false, transformFunction: null }, variant: { classPropertyName: "variant", publicName: "variant", isSignal: true, isRequired: false, transformFunction: null }, size: { classPropertyName: "size", publicName: "size", isSignal: true, isRequired: false, transformFunction: null }, spacing: { classPropertyName: "spacing", publicName: "spacing", isSignal: true, isRequired: false, transformFunction: null }, orientation: { classPropertyName: "orientation", publicName: "orientation", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { value: "valueChange" }, host: { attributes: { "data-slot": "toggle-group", "role": "group" }, properties: { "attr.data-variant": "variant()", "attr.data-size": "size()", "attr.data-spacing": "spacing()", "attr.data-orientation": "orientation()", "attr.data-horizontal": "orientation() === \"horizontal\" ? \"\" : null", "attr.data-vertical": "orientation() === \"vertical\" ? \"\" : null", "style.--gap": "spacing()", "class": "class()" } }, ngImport: i0 });
|
|
42
42
|
}
|
|
43
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.
|
|
43
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: ScToggleGroup, decorators: [{
|
|
44
44
|
type: Directive,
|
|
45
45
|
args: [{
|
|
46
46
|
selector: 'div[scToggleGroup]',
|
|
@@ -10,10 +10,10 @@ export class ScToolbarSeparator {
|
|
|
10
10
|
const isVertical = this.separatorOrientation() === 'vertical';
|
|
11
11
|
return cn('shrink-0 bg-border', isVertical ? 'mx-1 h-full w-px' : 'my-1 h-px w-full', this.classInput());
|
|
12
12
|
}, ...(ngDevMode ? [{ debugName: "class" }] : []));
|
|
13
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.
|
|
14
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.
|
|
13
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: ScToolbarSeparator, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
14
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.2.0", type: ScToolbarSeparator, isStandalone: true, selector: "div[scToolbarSeparator]", inputs: { classInput: { classPropertyName: "classInput", publicName: "class", isSignal: true, isRequired: false, transformFunction: null } }, host: { attributes: { "data-slot": "toolbar-separator", "role": "separator" }, properties: { "attr.aria-orientation": "separatorOrientation()", "attr.data-orientation": "separatorOrientation()", "class": "class()" } }, ngImport: i0 });
|
|
15
15
|
}
|
|
16
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.
|
|
16
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: ScToolbarSeparator, decorators: [{
|
|
17
17
|
type: Directive,
|
|
18
18
|
args: [{
|
|
19
19
|
selector: 'div[scToolbarSeparator]',
|
|
@@ -6,12 +6,12 @@ import * as i1 from "@angular/aria/toolbar";
|
|
|
6
6
|
export class ScToolbarWidgetGroup {
|
|
7
7
|
classInput = input('', { ...(ngDevMode ? { debugName: "classInput" } : {}), alias: 'class' });
|
|
8
8
|
class = computed(() => cn('flex items-center gap-0.5', this.classInput()), ...(ngDevMode ? [{ debugName: "class" }] : []));
|
|
9
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.
|
|
10
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "21.
|
|
9
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: ScToolbarWidgetGroup, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
10
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "21.2.0", type: ScToolbarWidgetGroup, isStandalone: true, selector: "div[scToolbarWidgetGroup]", inputs: { classInput: { classPropertyName: "classInput", publicName: "class", isSignal: true, isRequired: false, transformFunction: null } }, host: { attributes: { "data-slot": "toolbar-widget-group" }, properties: { "class": "class()" } }, hostDirectives: [{ directive: i1.ToolbarWidgetGroup, inputs: ["disabled", "disabled", "multi", "multi"] }], ngImport: i0, template: `
|
|
11
11
|
<ng-content />
|
|
12
12
|
`, isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
13
13
|
}
|
|
14
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.
|
|
14
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: ScToolbarWidgetGroup, decorators: [{
|
|
15
15
|
type: Component,
|
|
16
16
|
args: [{
|
|
17
17
|
selector: 'div[scToolbarWidgetGroup]',
|
|
@@ -8,12 +8,12 @@ export class ScToolbarWidget {
|
|
|
8
8
|
widget = inject(ToolbarWidget);
|
|
9
9
|
classInput = input('', { ...(ngDevMode ? { debugName: "classInput" } : {}), alias: 'class' });
|
|
10
10
|
class = computed(() => cn(toggleVariants({ variant: 'default', size: 'default' }), 'data-[state=on]:bg-muted', this.classInput()), ...(ngDevMode ? [{ debugName: "class" }] : []));
|
|
11
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.
|
|
12
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "21.
|
|
11
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: ScToolbarWidget, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
12
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "21.2.0", type: ScToolbarWidget, isStandalone: true, selector: "button[scToolbarWidget]", inputs: { classInput: { classPropertyName: "classInput", publicName: "class", isSignal: true, isRequired: false, transformFunction: null } }, host: { attributes: { "data-slot": "toolbar-widget", "type": "button" }, properties: { "attr.data-state": "widget.selected() ? \"on\" : \"off\"", "class": "class()" } }, hostDirectives: [{ directive: i1.ToolbarWidget, inputs: ["value", "value", "disabled", "disabled"] }], ngImport: i0, template: `
|
|
13
13
|
<ng-content />
|
|
14
14
|
`, isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
15
15
|
}
|
|
16
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.
|
|
16
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: ScToolbarWidget, decorators: [{
|
|
17
17
|
type: Component,
|
|
18
18
|
args: [{
|
|
19
19
|
selector: 'button[scToolbarWidget]',
|
|
@@ -7,12 +7,12 @@ export class ScToolbar {
|
|
|
7
7
|
toolbar = inject(Toolbar);
|
|
8
8
|
classInput = input('', { ...(ngDevMode ? { debugName: "classInput" } : {}), alias: 'class' });
|
|
9
9
|
class = computed(() => cn('flex w-fit items-center gap-1 rounded-lg border bg-background p-1', this.toolbar.orientation() === 'vertical' && 'flex-col items-stretch', this.classInput()), ...(ngDevMode ? [{ debugName: "class" }] : []));
|
|
10
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.
|
|
11
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "21.
|
|
10
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: ScToolbar, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
11
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "21.2.0", type: ScToolbar, isStandalone: true, selector: "div[scToolbar]", inputs: { classInput: { classPropertyName: "classInput", publicName: "class", isSignal: true, isRequired: false, transformFunction: null } }, host: { attributes: { "data-slot": "toolbar" }, properties: { "attr.data-orientation": "toolbar.orientation()", "class": "class()" } }, hostDirectives: [{ directive: i1.Toolbar, inputs: ["orientation", "orientation", "disabled", "disabled", "wrap", "wrap", "values", "values", "softDisabled", "softDisabled"], outputs: ["valuesChange", "valuesChange"] }], ngImport: i0, template: `
|
|
12
12
|
<ng-content />
|
|
13
13
|
`, isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
14
14
|
}
|
|
15
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.
|
|
15
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: ScToolbar, decorators: [{
|
|
16
16
|
type: Component,
|
|
17
17
|
args: [{
|
|
18
18
|
selector: 'div[scToolbar]',
|
|
@@ -155,10 +155,10 @@ export class ScTooltipManager {
|
|
|
155
155
|
isTooltipVisible(tooltipId) {
|
|
156
156
|
return this.currentTooltipId === tooltipId;
|
|
157
157
|
}
|
|
158
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.
|
|
159
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.
|
|
158
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: ScTooltipManager, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
159
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: ScTooltipManager, providedIn: 'root' });
|
|
160
160
|
}
|
|
161
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.
|
|
161
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: ScTooltipManager, decorators: [{
|
|
162
162
|
type: Injectable,
|
|
163
163
|
args: [{ providedIn: 'root' }]
|
|
164
164
|
}] });
|
|
@@ -96,10 +96,10 @@ export class ScTooltipTrigger {
|
|
|
96
96
|
this.hideTimeout = null;
|
|
97
97
|
}
|
|
98
98
|
}
|
|
99
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.
|
|
100
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.
|
|
99
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: ScTooltipTrigger, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
100
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.2.0", type: ScTooltipTrigger, isStandalone: true, selector: "[scTooltipTrigger]", inputs: { content: { classPropertyName: "content", publicName: "scTooltipTrigger", isSignal: true, isRequired: true, transformFunction: null }, position: { classPropertyName: "position", publicName: "tooltipPosition", isSignal: true, isRequired: false, transformFunction: null }, showDelay: { classPropertyName: "showDelay", publicName: "tooltipDelay", isSignal: true, isRequired: false, transformFunction: null }, hideDelay: { classPropertyName: "hideDelay", publicName: "tooltipHideDelay", isSignal: true, isRequired: false, transformFunction: null }, disabled: { classPropertyName: "disabled", publicName: "tooltipDisabled", isSignal: true, isRequired: false, transformFunction: null } }, host: { listeners: { "mouseenter": "onMouseEnter()", "mouseleave": "onMouseLeave()", "focus": "onFocus()", "blur": "onBlur()" }, properties: { "attr.aria-describedby": "ariaDescribedBy()" } }, ngImport: i0 });
|
|
101
101
|
}
|
|
102
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.
|
|
102
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: ScTooltipTrigger, decorators: [{
|
|
103
103
|
type: Directive,
|
|
104
104
|
args: [{
|
|
105
105
|
selector: '[scTooltipTrigger]',
|
|
@@ -19,20 +19,16 @@ export class ScTooltip {
|
|
|
19
19
|
close() {
|
|
20
20
|
this.state.set('closed');
|
|
21
21
|
}
|
|
22
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.
|
|
23
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.
|
|
22
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: ScTooltip, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
23
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.2.0", type: ScTooltip, isStandalone: true, selector: "sc-tooltip", outputs: { animationComplete: "animationComplete" }, host: { attributes: { "data-slot": "tooltip", "role": "tooltip", "aria-live": "polite", "aria-atomic": "true" }, listeners: { "animationend": "onAnimationEnd($event)" }, properties: { "id": "data.tooltipId", "class": "hostClass()", "attr.data-open": "state() === \"open\" ? true : null", "attr.data-closed": "state() === \"closed\" ? true : null", "attr.data-side": "side()" } }, ngImport: i0, template: `
|
|
24
24
|
{{ data.content }}
|
|
25
25
|
<span
|
|
26
26
|
[attr.data-side]="side()"
|
|
27
|
-
class="absolute size-2.5 rotate-45 rounded-[2px]
|
|
28
|
-
data-[side=top]:-bottom-[5px] data-[side=top]:left-1/2 data-[side=top]:-translate-x-1/2
|
|
29
|
-
data-[side=bottom]:-top-[5px] data-[side=bottom]:left-1/2 data-[side=bottom]:-translate-x-1/2
|
|
30
|
-
data-[side=left]:-right-[5px] data-[side=left]:top-1/2 data-[side=left]:-translate-y-1/2
|
|
31
|
-
data-[side=right]:-left-[5px] data-[side=right]:top-1/2 data-[side=right]:-translate-y-1/2"
|
|
27
|
+
class="bg-primary absolute z-50 size-2.5 rotate-45 rounded-[2px] data-[side=bottom]:-top-[5px] data-[side=bottom]:left-1/2 data-[side=bottom]:-translate-x-1/2 data-[side=left]:top-1/2 data-[side=left]:-right-[5px] data-[side=left]:-translate-y-1/2 data-[side=right]:top-1/2 data-[side=right]:-left-[5px] data-[side=right]:-translate-y-1/2 data-[side=top]:-bottom-[5px] data-[side=top]:left-1/2 data-[side=top]:-translate-x-1/2"
|
|
32
28
|
></span>
|
|
33
29
|
`, isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
34
30
|
}
|
|
35
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.
|
|
31
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: ScTooltip, decorators: [{
|
|
36
32
|
type: Component,
|
|
37
33
|
args: [{
|
|
38
34
|
selector: 'sc-tooltip',
|
|
@@ -40,11 +36,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1.5", ngImpor
|
|
|
40
36
|
{{ data.content }}
|
|
41
37
|
<span
|
|
42
38
|
[attr.data-side]="side()"
|
|
43
|
-
class="absolute size-2.5 rotate-45 rounded-[2px]
|
|
44
|
-
data-[side=top]:-bottom-[5px] data-[side=top]:left-1/2 data-[side=top]:-translate-x-1/2
|
|
45
|
-
data-[side=bottom]:-top-[5px] data-[side=bottom]:left-1/2 data-[side=bottom]:-translate-x-1/2
|
|
46
|
-
data-[side=left]:-right-[5px] data-[side=left]:top-1/2 data-[side=left]:-translate-y-1/2
|
|
47
|
-
data-[side=right]:-left-[5px] data-[side=right]:top-1/2 data-[side=right]:-translate-y-1/2"
|
|
39
|
+
class="bg-primary absolute z-50 size-2.5 rotate-45 rounded-[2px] data-[side=bottom]:-top-[5px] data-[side=bottom]:left-1/2 data-[side=bottom]:-translate-x-1/2 data-[side=left]:top-1/2 data-[side=left]:-right-[5px] data-[side=left]:-translate-y-1/2 data-[side=right]:top-1/2 data-[side=right]:-left-[5px] data-[side=right]:-translate-y-1/2 data-[side=top]:-bottom-[5px] data-[side=top]:left-1/2 data-[side=top]:-translate-x-1/2"
|
|
48
40
|
></span>
|
|
49
41
|
`,
|
|
50
42
|
host: {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tooltip.js","sourceRoot":"","sources":["../../../../../../../libs/ui/src/lib/components/tooltip/tooltip.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,uBAAuB,EACvB,SAAS,EACT,QAAQ,EACR,UAAU,EACV,MAAM,EACN,cAAc,EACd,MAAM,EACN,MAAM,EACN,iBAAiB,GAClB,MAAM,eAAe,CAAC;AACvB,OAAO,EAAE,EAAE,EAAE,MAAM,aAAa,CAAC;;AAOjC,MAAM,CAAC,MAAM,eAAe,GAAG,IAAI,cAAc,CAC/C,iBAAiB,CAClB,CAAC;
|
|
1
|
+
{"version":3,"file":"tooltip.js","sourceRoot":"","sources":["../../../../../../../libs/ui/src/lib/components/tooltip/tooltip.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,uBAAuB,EACvB,SAAS,EACT,QAAQ,EACR,UAAU,EACV,MAAM,EACN,cAAc,EACd,MAAM,EACN,MAAM,EACN,iBAAiB,GAClB,MAAM,eAAe,CAAC;AACvB,OAAO,EAAE,EAAE,EAAE,MAAM,aAAa,CAAC;;AAOjC,MAAM,CAAC,MAAM,eAAe,GAAG,IAAI,cAAc,CAC/C,iBAAiB,CAClB,CAAC;AA6BF,MAAM,OAAO,SAAS;IACH,UAAU,GAAG,MAAM,CAAC,UAAU,CAAC,CAAC;IAExC,IAAI,GAAG,MAAM,CAAC,eAAe,CAAC,CAAC;IAC/B,KAAK,GAAG,MAAM,CAAiB,MAAM,iDAAC,CAAC;IACvC,IAAI,GAAG,MAAM,CAAgB,KAAK,gDAAC,CAAC;IACpC,iBAAiB,GAAG,MAAM,EAAQ,CAAC;IAEzB,SAAS,GAAG,QAAQ,CAAC,GAAG,EAAE,CAC3C,EAAE,CACA,uFAAuF,EACvF,+DAA+D,EAC/D,wEAAwE,EACxE,6JAA6J,CAC9J,qDACF,CAAC;IAEQ,cAAc,CAAC,KAAqB;QAC5C,2CAA2C;QAC3C,IACE,IAAI,CAAC,KAAK,EAAE,KAAK,QAAQ;YACzB,KAAK,CAAC,MAAM,KAAK,IAAI,CAAC,UAAU,CAAC,aAAa,EAC9C,CAAC;YACD,IAAI,CAAC,iBAAiB,CAAC,IAAI,EAAE,CAAC;QAChC,CAAC;IACH,CAAC;IAED,KAAK;QACH,IAAI,CAAC,KAAK,CAAC,GAAG,CAAC,QAAQ,CAAC,CAAC;IAC3B,CAAC;uGA7BU,SAAS;2FAAT,SAAS,ufAtBV;;;;;;GAMT;;2FAgBU,SAAS;kBAxBrB,SAAS;mBAAC;oBACT,QAAQ,EAAE,YAAY;oBACtB,QAAQ,EAAE;;;;;;GAMT;oBACD,IAAI,EAAE;wBACJ,WAAW,EAAE,SAAS;wBACtB,IAAI,EAAE,SAAS;wBACf,WAAW,EAAE,QAAQ;wBACrB,aAAa,EAAE,MAAM;wBACrB,MAAM,EAAE,gBAAgB;wBACxB,SAAS,EAAE,aAAa;wBACxB,kBAAkB,EAAE,kCAAkC;wBACtD,oBAAoB,EAAE,oCAAoC;wBAC1D,kBAAkB,EAAE,QAAQ;wBAC5B,gBAAgB,EAAE,wBAAwB;qBAC3C;oBACD,aAAa,EAAE,iBAAiB,CAAC,IAAI;oBACrC,eAAe,EAAE,uBAAuB,CAAC,MAAM;iBAChD","sourcesContent":["import {\n ChangeDetectionStrategy,\n Component,\n computed,\n ElementRef,\n inject,\n InjectionToken,\n output,\n signal,\n ViewEncapsulation,\n} from '@angular/core';\nimport { cn } from '../../utils';\n\nexport interface ScTooltipData {\n content: string;\n tooltipId: string;\n}\n\nexport const SC_TOOLTIP_DATA = new InjectionToken<ScTooltipData>(\n 'SC_TOOLTIP_DATA',\n);\n\ntype ScTooltipState = 'open' | 'closed';\ntype ScTooltipSide = 'top' | 'right' | 'bottom' | 'left';\n\n@Component({\n selector: 'sc-tooltip',\n template: `\n {{ data.content }}\n <span\n [attr.data-side]=\"side()\"\n class=\"bg-primary absolute z-50 size-2.5 rotate-45 rounded-[2px] data-[side=bottom]:-top-[5px] data-[side=bottom]:left-1/2 data-[side=bottom]:-translate-x-1/2 data-[side=left]:top-1/2 data-[side=left]:-right-[5px] data-[side=left]:-translate-y-1/2 data-[side=right]:top-1/2 data-[side=right]:-left-[5px] data-[side=right]:-translate-y-1/2 data-[side=top]:-bottom-[5px] data-[side=top]:left-1/2 data-[side=top]:-translate-x-1/2\"\n ></span>\n `,\n host: {\n 'data-slot': 'tooltip',\n role: 'tooltip',\n 'aria-live': 'polite',\n 'aria-atomic': 'true',\n '[id]': 'data.tooltipId',\n '[class]': 'hostClass()',\n '[attr.data-open]': 'state() === \"open\" ? true : null',\n '[attr.data-closed]': 'state() === \"closed\" ? true : null',\n '[attr.data-side]': 'side()',\n '(animationend)': 'onAnimationEnd($event)',\n },\n encapsulation: ViewEncapsulation.None,\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class ScTooltip {\n private readonly elementRef = inject(ElementRef);\n\n readonly data = inject(SC_TOOLTIP_DATA);\n readonly state = signal<ScTooltipState>('open');\n readonly side = signal<ScTooltipSide>('top');\n readonly animationComplete = output<void>();\n\n protected readonly hostClass = computed(() =>\n cn(\n 'bg-primary text-primary-foreground z-50 rounded-md px-3 py-1.5 text-xs w-fit max-w-xs',\n 'data-open:animate-in data-open:fade-in-0 data-open:zoom-in-95',\n 'data-closed:animate-out data-closed:fade-out-0 data-closed:zoom-out-95',\n 'data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2',\n ),\n );\n\n protected onAnimationEnd(event: AnimationEvent): void {\n // Only emit when close animation completes\n if (\n this.state() === 'closed' &&\n event.target === this.elementRef.nativeElement\n ) {\n this.animationComplete.emit();\n }\n }\n\n close(): void {\n this.state.set('closed');\n }\n}\n"]}
|
|
@@ -27,10 +27,10 @@ export class ScHeading {
|
|
|
27
27
|
const level = this.elementRef.nativeElement.tagName.toLowerCase();
|
|
28
28
|
return cn(headingVariants({ level, underline: this.underline() }), this.classInput());
|
|
29
29
|
}, ...(ngDevMode ? [{ debugName: "class" }] : []));
|
|
30
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.
|
|
31
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.
|
|
30
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: ScHeading, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
31
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.2.0", type: ScHeading, isStandalone: true, selector: "h1[scHeading], h2[scHeading], h3[scHeading], h4[scHeading]", inputs: { classInput: { classPropertyName: "classInput", publicName: "class", isSignal: true, isRequired: false, transformFunction: null }, underline: { classPropertyName: "underline", publicName: "underline", isSignal: true, isRequired: false, transformFunction: null } }, host: { attributes: { "data-slot": "heading" }, properties: { "class": "class()" } }, ngImport: i0 });
|
|
32
32
|
}
|
|
33
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.
|
|
33
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: ScHeading, decorators: [{
|
|
34
34
|
type: Directive,
|
|
35
35
|
args: [{
|
|
36
36
|
selector: 'h1[scHeading], h2[scHeading], h3[scHeading], h4[scHeading]',
|
|
@@ -34,10 +34,12 @@ export * from './popover';
|
|
|
34
34
|
export * from './progress';
|
|
35
35
|
export * from './radio-group';
|
|
36
36
|
export * from './range-slider';
|
|
37
|
+
export * from './resizable';
|
|
37
38
|
export * from './scroll-area';
|
|
38
39
|
export * from './select';
|
|
39
40
|
export * from './separator';
|
|
40
41
|
export * from './sheet';
|
|
42
|
+
export * from './sidebar';
|
|
41
43
|
export * from './skeleton';
|
|
42
44
|
export * from './slider';
|
|
43
45
|
export * from './spinner';
|
|
@@ -4,11 +4,9 @@ import * as i0 from "@angular/core";
|
|
|
4
4
|
import * as i1 from "@angular/aria/menu";
|
|
5
5
|
import * as i2 from "@angular/cdk/overlay";
|
|
6
6
|
export declare class ScMenuTrigger {
|
|
7
|
-
readonly classInput: import("@angular/core").InputSignal<string>;
|
|
8
7
|
readonly trigger: MenuTrigger<any>;
|
|
9
8
|
readonly overlayOrigin: CdkOverlayOrigin;
|
|
10
9
|
readonly expanded: import("@angular/core").Signal<boolean>;
|
|
11
|
-
protected readonly class: import("@angular/core").Signal<string>;
|
|
12
10
|
static ɵfac: i0.ɵɵFactoryDeclaration<ScMenuTrigger, never>;
|
|
13
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<ScMenuTrigger, "[scMenuTrigger]", ["scMenuTrigger"], {
|
|
11
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<ScMenuTrigger, "[scMenuTrigger]", ["scMenuTrigger"], {}, {}, never, never, true, [{ directive: typeof i1.MenuTrigger; inputs: {}; outputs: {}; }, { directive: typeof i2.CdkOverlayOrigin; inputs: {}; outputs: {}; }]>;
|
|
14
12
|
}
|
|
@@ -8,5 +8,5 @@ export declare class ScMenu<V = string> {
|
|
|
8
8
|
protected readonly class: import("@angular/core").Signal<string>;
|
|
9
9
|
constructor();
|
|
10
10
|
static ɵfac: i0.ɵɵFactoryDeclaration<ScMenu<any>, never>;
|
|
11
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<ScMenu<any>, "[scMenu]", ["scMenu"], { "classInput": { "alias": "class"; "required": false; "isSignal": true; }; }, {}, never, never, true, [{ directive: typeof i1.Menu; inputs: { "id": "id"; "wrap": "wrap"; "disabled": "disabled"; "typeaheadDelay": "typeaheadDelay"; "expansionDelay": "expansionDelay"; }; outputs: { "
|
|
11
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<ScMenu<any>, "[scMenu]", ["scMenu"], { "classInput": { "alias": "class"; "required": false; "isSignal": true; }; }, {}, never, never, true, [{ directive: typeof i1.Menu; inputs: { "id": "id"; "wrap": "wrap"; "disabled": "disabled"; "typeaheadDelay": "typeaheadDelay"; "expansionDelay": "expansionDelay"; }; outputs: { "itemSelected": "itemSelected"; }; }]>;
|
|
12
12
|
}
|
|
@@ -34,5 +34,5 @@ export declare class ScPagination {
|
|
|
34
34
|
changePageSize(newPageSize: number): void;
|
|
35
35
|
private generatePageNumbers;
|
|
36
36
|
static ɵfac: i0.ɵɵFactoryDeclaration<ScPagination, never>;
|
|
37
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<ScPagination, "nav[scPagination]", ["scPagination"], { "classInput": { "alias": "class"; "required": false; "isSignal": true; }; "currentPageInput": { "alias": "currentPage"; "required": false; "isSignal": true; }; "pageSizeInput": { "alias": "pageSize"; "required": false; "isSignal": true; }; "totalItems": { "alias": "totalItems"; "required": false; "isSignal": true; }; "pageSizes": { "alias": "pageSizes"; "required": false; "isSignal": true; }; }, { "change": "change"; }, never, never, true, never>;
|
|
37
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<ScPagination, "nav[scPagination], div[scPagination]", ["scPagination"], { "classInput": { "alias": "class"; "required": false; "isSignal": true; }; "currentPageInput": { "alias": "currentPage"; "required": false; "isSignal": true; }; "pageSizeInput": { "alias": "pageSize"; "required": false; "isSignal": true; }; "totalItems": { "alias": "totalItems"; "required": false; "isSignal": true; }; "pageSizes": { "alias": "pageSizes"; "required": false; "isSignal": true; }; }, { "change": "change"; }, never, never, true, never>;
|
|
38
38
|
}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
export declare const MIN_THUMB_CLASSES: readonly ["pointer-events-none absolute top-0 h-full w-full cursor-pointer appearance-none bg-transparent", "disabled:pointer-events-none disabled:opacity-50", "[&::-webkit-slider-thumb]:pointer-events-auto [&::-webkit-slider-thumb]:size-3 [&::-webkit-slider-thumb]:appearance-none [&::-webkit-slider-thumb]:rounded-full [&::-webkit-slider-thumb]:border-0 [&::-webkit-slider-thumb]:bg-primary [&::-webkit-slider-thumb]:transition-shadow", "[&::-webkit-slider-thumb:hover]:shadow-[0_0_0_3px_oklch(from_var(--ring)_l_c_h/0.5)]", "[&::-moz-range-thumb]:pointer-events-auto [&::-moz-range-thumb]:size-3 [&::-moz-range-thumb]:appearance-none [&::-moz-range-thumb]:rounded-full [&::-moz-range-thumb]:border-0 [&::-moz-range-thumb]:bg-primary [&::-moz-range-thumb]:transition-shadow", "[&::-moz-range-thumb:hover]:shadow-[0_0_0_3px_oklch(from_var(--ring)_l_c_h/0.5)]", "focus-visible:outline-none [&:focus-visible::-webkit-slider-thumb]:shadow-[0_0_0_3px_oklch(from_var(--ring)_l_c_h/0.5)]", "[&:focus-visible::-moz-range-thumb]:shadow-[0_0_0_3px_oklch(from_var(--ring)_l_c_h/0.5)]", "z-10", "[&::-webkit-slider-thumb]:-mt-1.5", "[&::-webkit-slider-runnable-track]:appearance-none [&::-webkit-slider-runnable-track]:h-0 [&::-webkit-slider-runnable-track]:bg-transparent", "[&::-moz-range-track]:h-0 [&::-moz-range-track]:bg-transparent"];
|
|
2
|
-
export declare const MAX_THUMB_CLASSES: readonly ["pointer-events-none absolute top-0 h-full w-full cursor-pointer appearance-none bg-transparent", "disabled:pointer-events-none disabled:opacity-50", "[&::-webkit-slider-thumb]:pointer-events-auto [&::-webkit-slider-thumb]:size-3 [&::-webkit-slider-thumb]:appearance-none [&::-webkit-slider-thumb]:rounded-full [&::-webkit-slider-thumb]:border-0 [&::-webkit-slider-thumb]:bg-primary [&::-webkit-slider-thumb]:transition-shadow", "[&::-webkit-slider-thumb:hover]:shadow-[0_0_0_3px_oklch(from_var(--ring)_l_c_h/0.5)]", "[&::-moz-range-thumb]:pointer-events-auto [&::-moz-range-thumb]:size-3 [&::-moz-range-thumb]:appearance-none [&::-moz-range-thumb]:rounded-full [&::-moz-range-thumb]:border-0 [&::-moz-range-thumb]:bg-primary [&::-moz-range-thumb]:transition-shadow", "[&::-moz-range-thumb:hover]:shadow-[0_0_0_3px_oklch(from_var(--ring)_l_c_h/0.5)]", "focus-visible:outline-none [&:focus-visible::-webkit-slider-thumb]:shadow-[0_0_0_3px_oklch(from_var(--ring)_l_c_h/0.5)]", "[&:focus-visible::-moz-range-thumb]:shadow-[0_0_0_3px_oklch(from_var(--ring)_l_c_h/0.5)]", "[&::-webkit-slider-thumb]:-mt-1", "[&::-webkit-slider-runnable-track]:h-1 [&::-webkit-slider-runnable-track]:rounded-full [&::-webkit-slider-runnable-track]:bg-[
|
|
2
|
+
export declare const MAX_THUMB_CLASSES: readonly ["pointer-events-none absolute top-0 h-full w-full cursor-pointer appearance-none bg-transparent", "disabled:pointer-events-none disabled:opacity-50", "[&::-webkit-slider-thumb]:pointer-events-auto [&::-webkit-slider-thumb]:size-3 [&::-webkit-slider-thumb]:appearance-none [&::-webkit-slider-thumb]:rounded-full [&::-webkit-slider-thumb]:border-0 [&::-webkit-slider-thumb]:bg-primary [&::-webkit-slider-thumb]:transition-shadow", "[&::-webkit-slider-thumb:hover]:shadow-[0_0_0_3px_oklch(from_var(--ring)_l_c_h/0.5)]", "[&::-moz-range-thumb]:pointer-events-auto [&::-moz-range-thumb]:size-3 [&::-moz-range-thumb]:appearance-none [&::-moz-range-thumb]:rounded-full [&::-moz-range-thumb]:border-0 [&::-moz-range-thumb]:bg-primary [&::-moz-range-thumb]:transition-shadow", "[&::-moz-range-thumb:hover]:shadow-[0_0_0_3px_oklch(from_var(--ring)_l_c_h/0.5)]", "focus-visible:outline-none [&:focus-visible::-webkit-slider-thumb]:shadow-[0_0_0_3px_oklch(from_var(--ring)_l_c_h/0.5)]", "[&:focus-visible::-moz-range-thumb]:shadow-[0_0_0_3px_oklch(from_var(--ring)_l_c_h/0.5)]", "[&::-webkit-slider-thumb]:-mt-1", "[&::-webkit-slider-runnable-track]:h-1 [&::-webkit-slider-runnable-track]:rounded-full [&::-webkit-slider-runnable-track]:bg-[linear-gradient(to_right,var(--muted)_var(--min-percent),var(--primary)_var(--min-percent)_var(--max-percent),var(--muted)_var(--max-percent))]", "[&::-moz-range-track]:h-1 [&::-moz-range-track]:rounded-full [&::-moz-range-track]:bg-[linear-gradient(to_right,var(--muted)_var(--min-percent),var(--primary)_var(--min-percent)_var(--max-percent),var(--muted)_var(--max-percent))]"];
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
export declare class ScResizableHandleIndicator {
|
|
3
|
+
readonly classInput: import("@angular/core").InputSignal<string>;
|
|
4
|
+
protected readonly class: import("@angular/core").Signal<string>;
|
|
5
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ScResizableHandleIndicator, never>;
|
|
6
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<ScResizableHandleIndicator, "[scResizableHandleIndicator]", never, { "classInput": { "alias": "class"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
7
|
+
}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { ScResizablePanelGroup } from './resizable-panel-group';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class ScResizableHandle {
|
|
4
|
+
readonly group: ScResizablePanelGroup;
|
|
5
|
+
private readonly elementRef;
|
|
6
|
+
readonly classInput: import("@angular/core").InputSignal<string>;
|
|
7
|
+
readonly withHandle: import("@angular/core").InputSignal<boolean>;
|
|
8
|
+
private dragging;
|
|
9
|
+
private startPos;
|
|
10
|
+
private startSizes;
|
|
11
|
+
protected readonly class: import("@angular/core").Signal<string>;
|
|
12
|
+
protected onMouseDown(event: MouseEvent): void;
|
|
13
|
+
protected onTouchStart(event: TouchEvent): void;
|
|
14
|
+
private startDrag;
|
|
15
|
+
private onDrag;
|
|
16
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ScResizableHandle, never>;
|
|
17
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ScResizableHandle, "[scResizableHandle]", never, { "classInput": { "alias": "class"; "required": false; "isSignal": true; }; "withHandle": { "alias": "withHandle"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
18
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { ScResizableDirection } from './resizable.types';
|
|
2
|
+
import { ScResizablePanel } from './resizable-panel';
|
|
3
|
+
import { ScResizableHandle } from './resizable-handle';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare class ScResizablePanelGroup {
|
|
6
|
+
readonly classInput: import("@angular/core").InputSignal<string>;
|
|
7
|
+
readonly direction: import("@angular/core").InputSignal<ScResizableDirection>;
|
|
8
|
+
private readonly allPanels;
|
|
9
|
+
private readonly allHandles;
|
|
10
|
+
private readonly ownPanels;
|
|
11
|
+
private readonly ownHandles;
|
|
12
|
+
protected readonly class: import("@angular/core").Signal<string>;
|
|
13
|
+
getPanels(): ScResizablePanel[];
|
|
14
|
+
getHandles(): ScResizableHandle[];
|
|
15
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ScResizablePanelGroup, never>;
|
|
16
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<ScResizablePanelGroup, "[scResizablePanelGroup]", never, { "classInput": { "alias": "class"; "required": false; "isSignal": true; }; "direction": { "alias": "direction"; "required": false; "isSignal": true; }; }, {}, ["allPanels", "allHandles"], never, true, never>;
|
|
17
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { ScResizablePanelGroup } from './resizable-panel-group';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class ScResizablePanel {
|
|
4
|
+
readonly group: ScResizablePanelGroup;
|
|
5
|
+
readonly classInput: import("@angular/core").InputSignal<string>;
|
|
6
|
+
readonly defaultSize: import("@angular/core").InputSignal<number>;
|
|
7
|
+
readonly minSize: import("@angular/core").InputSignal<number>;
|
|
8
|
+
readonly maxSize: import("@angular/core").InputSignal<number>;
|
|
9
|
+
readonly size: import("@angular/core").WritableSignal<number>;
|
|
10
|
+
protected readonly class: import("@angular/core").Signal<string>;
|
|
11
|
+
protected readonly minSizePx: import("@angular/core").Signal<string>;
|
|
12
|
+
protected readonly maxSizePx: import("@angular/core").Signal<string>;
|
|
13
|
+
setSize(newSize: number): void;
|
|
14
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ScResizablePanel, never>;
|
|
15
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<ScResizablePanel, "[scResizablePanel]", never, { "classInput": { "alias": "class"; "required": false; "isSignal": true; }; "defaultSize": { "alias": "defaultSize"; "required": false; "isSignal": true; }; "minSize": { "alias": "minSize"; "required": false; "isSignal": true; }; "maxSize": { "alias": "maxSize"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
16
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export type ScResizableDirection = 'horizontal' | 'vertical';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
export { ScSelect } from './select';
|
|
2
2
|
export { ScSelectItemIcon } from './select-item-icon';
|
|
3
3
|
export { ScSelectTrigger } from './select-trigger';
|
|
4
|
-
export {
|
|
4
|
+
export { ScSelectLabel } from './select-label';
|
|
5
5
|
export { ScSelectPortal } from './select-portal';
|
|
6
6
|
export { ScSelectPopup } from './select-popup';
|
|
7
7
|
export { ScSelectList } from './select-list';
|
|
@@ -4,6 +4,8 @@ export declare class ScSelectItem {
|
|
|
4
4
|
readonly classInput: import("@angular/core").InputSignal<string>;
|
|
5
5
|
private readonly option;
|
|
6
6
|
private readonly elementRef;
|
|
7
|
+
readonly itemValue: import("@angular/core").Signal<any>;
|
|
8
|
+
readonly itemLabel: import("@angular/core").Signal<string>;
|
|
7
9
|
constructor();
|
|
8
10
|
protected readonly class: import("@angular/core").Signal<string>;
|
|
9
11
|
static ɵfac: i0.ɵɵFactoryDeclaration<ScSelectItem, never>;
|