@semantic-components/ui 0.65.0 → 0.67.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 +33 -0
- package/esm2022/lib/components/accordion/accordion-body.js.map +1 -0
- package/esm2022/lib/components/accordion/accordion-content.js +16 -0
- package/esm2022/lib/components/accordion/accordion-content.js.map +1 -0
- package/esm2022/lib/components/accordion/accordion-group.js +35 -0
- package/esm2022/lib/components/accordion/accordion-group.js.map +1 -0
- package/esm2022/lib/components/accordion/accordion-header.js +20 -0
- package/esm2022/lib/components/accordion/accordion-header.js.map +1 -0
- package/esm2022/lib/components/accordion/accordion-item.js +27 -0
- package/esm2022/lib/components/accordion/accordion-item.js.map +1 -0
- package/esm2022/lib/components/accordion/accordion-panel.js +35 -0
- package/esm2022/lib/components/accordion/accordion-panel.js.map +1 -0
- package/esm2022/lib/components/accordion/accordion-trigger.js +58 -0
- package/esm2022/lib/components/accordion/accordion-trigger.js.map +1 -0
- package/esm2022/lib/components/accordion/index.js +8 -0
- package/esm2022/lib/components/accordion/index.js.map +1 -0
- package/esm2022/lib/components/alert/alert-action.js +20 -0
- package/esm2022/lib/components/alert/alert-action.js.map +1 -0
- package/esm2022/lib/components/alert/alert-description.js +20 -0
- package/esm2022/lib/components/alert/alert-description.js.map +1 -0
- package/esm2022/lib/components/alert/alert-title.js +20 -0
- package/esm2022/lib/components/alert/alert-title.js.map +1 -0
- package/esm2022/lib/components/alert/alert.js +34 -0
- package/esm2022/lib/components/alert/alert.js.map +1 -0
- package/esm2022/lib/components/alert/index.js +5 -0
- package/esm2022/lib/components/alert/index.js.map +1 -0
- package/esm2022/lib/components/alert-dialog/alert-dialog-action.js +30 -0
- package/esm2022/lib/components/alert-dialog/alert-dialog-action.js.map +1 -0
- package/esm2022/lib/components/alert-dialog/alert-dialog-cancel.js +30 -0
- package/esm2022/lib/components/alert-dialog/alert-dialog-cancel.js.map +1 -0
- package/esm2022/lib/components/alert-dialog/alert-dialog-description.js +23 -0
- package/esm2022/lib/components/alert-dialog/alert-dialog-description.js.map +1 -0
- package/esm2022/lib/components/alert-dialog/alert-dialog-footer.js +20 -0
- package/esm2022/lib/components/alert-dialog/alert-dialog-footer.js.map +1 -0
- package/esm2022/lib/components/alert-dialog/alert-dialog-header.js +20 -0
- package/esm2022/lib/components/alert-dialog/alert-dialog-header.js.map +1 -0
- package/esm2022/lib/components/alert-dialog/alert-dialog-media.js +20 -0
- package/esm2022/lib/components/alert-dialog/alert-dialog-media.js.map +1 -0
- package/esm2022/lib/components/alert-dialog/alert-dialog-portal.js +14 -0
- package/esm2022/lib/components/alert-dialog/alert-dialog-portal.js.map +1 -0
- package/esm2022/lib/components/alert-dialog/alert-dialog-provider.js +122 -0
- package/esm2022/lib/components/alert-dialog/alert-dialog-provider.js.map +1 -0
- package/esm2022/lib/components/alert-dialog/alert-dialog-title.js +23 -0
- package/esm2022/lib/components/alert-dialog/alert-dialog-title.js.map +1 -0
- package/esm2022/lib/components/alert-dialog/alert-dialog-trigger.js +29 -0
- package/esm2022/lib/components/alert-dialog/alert-dialog-trigger.js.map +1 -0
- package/esm2022/lib/components/alert-dialog/alert-dialog.js +61 -0
- package/esm2022/lib/components/alert-dialog/alert-dialog.js.map +1 -0
- package/esm2022/lib/components/alert-dialog/index.js +12 -0
- package/esm2022/lib/components/alert-dialog/index.js.map +1 -0
- package/esm2022/lib/components/aspect-ratio/aspect-ratio.js +22 -0
- package/esm2022/lib/components/aspect-ratio/aspect-ratio.js.map +1 -0
- package/esm2022/lib/components/aspect-ratio/index.js +2 -0
- package/esm2022/lib/components/aspect-ratio/index.js.map +1 -0
- package/esm2022/lib/components/avatar/avatar-badge.js +20 -0
- package/esm2022/lib/components/avatar/avatar-badge.js.map +1 -0
- package/esm2022/lib/components/avatar/avatar-fallback.js +25 -0
- package/esm2022/lib/components/avatar/avatar-fallback.js.map +1 -0
- package/esm2022/lib/components/avatar/avatar-group-count.js +20 -0
- package/esm2022/lib/components/avatar/avatar-group-count.js.map +1 -0
- package/esm2022/lib/components/avatar/avatar-group.js +20 -0
- package/esm2022/lib/components/avatar/avatar-group.js.map +1 -0
- package/esm2022/lib/components/avatar/avatar-image.js +36 -0
- package/esm2022/lib/components/avatar/avatar-image.js.map +1 -0
- package/esm2022/lib/components/avatar/avatar.js +24 -0
- package/esm2022/lib/components/avatar/avatar.js.map +1 -0
- package/esm2022/lib/components/avatar/index.js +7 -0
- package/esm2022/lib/components/avatar/index.js.map +1 -0
- package/esm2022/lib/components/backdrop/backdrop.js +53 -0
- package/esm2022/lib/components/backdrop/backdrop.js.map +1 -0
- package/esm2022/lib/components/backdrop/index.js +2 -0
- package/esm2022/lib/components/backdrop/index.js.map +1 -0
- package/esm2022/lib/components/badge/badge.js +37 -0
- package/esm2022/lib/components/badge/badge.js.map +1 -0
- package/esm2022/lib/components/badge/index.js +2 -0
- package/esm2022/lib/components/badge/index.js.map +1 -0
- package/esm2022/lib/components/breadcrumb/breadcrumb-ellipsis.js +33 -0
- package/esm2022/lib/components/breadcrumb/breadcrumb-ellipsis.js.map +1 -0
- package/esm2022/lib/components/breadcrumb/breadcrumb-item.js +20 -0
- package/esm2022/lib/components/breadcrumb/breadcrumb-item.js.map +1 -0
- package/esm2022/lib/components/breadcrumb/breadcrumb-link.js +20 -0
- package/esm2022/lib/components/breadcrumb/breadcrumb-link.js.map +1 -0
- package/esm2022/lib/components/breadcrumb/breadcrumb-list.js +20 -0
- package/esm2022/lib/components/breadcrumb/breadcrumb-list.js.map +1 -0
- package/esm2022/lib/components/breadcrumb/breadcrumb-page.js +23 -0
- package/esm2022/lib/components/breadcrumb/breadcrumb-page.js.map +1 -0
- package/esm2022/lib/components/breadcrumb/breadcrumb-separator.js +35 -0
- package/esm2022/lib/components/breadcrumb/breadcrumb-separator.js.map +1 -0
- package/esm2022/lib/components/breadcrumb/breadcrumb.js +17 -0
- package/esm2022/lib/components/breadcrumb/breadcrumb.js.map +1 -0
- package/esm2022/lib/components/breadcrumb/index.js +8 -0
- package/esm2022/lib/components/breadcrumb/index.js.map +1 -0
- package/esm2022/lib/components/button/button.js +4 -4
- package/esm2022/lib/components/button/button.js.map +1 -1
- package/esm2022/lib/components/button-group/button-group-separator.js +24 -0
- package/esm2022/lib/components/button-group/button-group-separator.js.map +1 -0
- package/esm2022/lib/components/button-group/button-group-text.js +20 -0
- package/esm2022/lib/components/button-group/button-group-text.js.map +1 -0
- package/esm2022/lib/components/button-group/button-group.js +34 -0
- package/esm2022/lib/components/button-group/button-group.js.map +1 -0
- package/esm2022/lib/components/button-group/index.js +4 -0
- package/esm2022/lib/components/button-group/index.js.map +1 -0
- package/esm2022/lib/components/calendar/calendar-day-view.js +323 -0
- package/esm2022/lib/components/calendar/calendar-day-view.js.map +1 -0
- package/esm2022/lib/components/calendar/calendar-header.js +93 -0
- package/esm2022/lib/components/calendar/calendar-header.js.map +1 -0
- package/esm2022/lib/components/calendar/calendar-month-view.js +185 -0
- package/esm2022/lib/components/calendar/calendar-month-view.js.map +1 -0
- package/esm2022/lib/components/calendar/calendar-year-view.js +174 -0
- package/esm2022/lib/components/calendar/calendar-year-view.js.map +1 -0
- package/esm2022/lib/components/calendar/calendar.js +282 -0
- package/esm2022/lib/components/calendar/calendar.js.map +1 -0
- package/esm2022/lib/components/calendar/index.js +2 -0
- package/esm2022/lib/components/calendar/index.js.map +1 -0
- package/esm2022/lib/components/card/card-action.js +20 -0
- package/esm2022/lib/components/card/card-action.js.map +1 -0
- package/esm2022/lib/components/card/card-body.js +20 -0
- package/esm2022/lib/components/card/card-body.js.map +1 -0
- package/esm2022/lib/components/card/card-description.js +20 -0
- package/esm2022/lib/components/card/card-description.js.map +1 -0
- package/esm2022/lib/components/card/card-footer.js +20 -0
- package/esm2022/lib/components/card/card-footer.js.map +1 -0
- package/esm2022/lib/components/card/card-header.js +20 -0
- package/esm2022/lib/components/card/card-header.js.map +1 -0
- package/esm2022/lib/components/card/card-title.js +20 -0
- package/esm2022/lib/components/card/card-title.js.map +1 -0
- package/esm2022/lib/components/card/card.js +22 -0
- package/esm2022/lib/components/card/card.js.map +1 -0
- package/esm2022/lib/components/card/index.js +8 -0
- package/esm2022/lib/components/card/index.js.map +1 -0
- package/esm2022/lib/components/checkbox/checkbox-field.js +64 -0
- package/esm2022/lib/components/checkbox/checkbox-field.js.map +1 -0
- package/esm2022/lib/components/checkbox/checkbox-types.js +3 -0
- package/esm2022/lib/components/checkbox/checkbox-types.js.map +1 -0
- package/esm2022/lib/components/checkbox/checkbox-visual.js +41 -0
- package/esm2022/lib/components/checkbox/checkbox-visual.js.map +1 -0
- package/esm2022/lib/components/checkbox/checkbox.js +54 -0
- package/esm2022/lib/components/checkbox/checkbox.js.map +1 -0
- package/esm2022/lib/components/checkbox/index.js +5 -0
- package/esm2022/lib/components/checkbox/index.js.map +1 -0
- package/esm2022/lib/components/collapsible/collapsible-body.js +33 -0
- package/esm2022/lib/components/collapsible/collapsible-body.js.map +1 -0
- package/esm2022/lib/components/collapsible/collapsible-content.js +16 -0
- package/esm2022/lib/components/collapsible/collapsible-content.js.map +1 -0
- package/esm2022/lib/components/collapsible/collapsible-panel.js +35 -0
- package/esm2022/lib/components/collapsible/collapsible-panel.js.map +1 -0
- package/esm2022/lib/components/collapsible/collapsible-trigger.js +45 -0
- package/esm2022/lib/components/collapsible/collapsible-trigger.js.map +1 -0
- package/esm2022/lib/components/collapsible/collapsible.js +35 -0
- package/esm2022/lib/components/collapsible/collapsible.js.map +1 -0
- package/esm2022/lib/components/collapsible/index.js +6 -0
- package/esm2022/lib/components/collapsible/index.js.map +1 -0
- package/esm2022/lib/components/date-picker/date-picker.js +134 -0
- package/esm2022/lib/components/date-picker/date-picker.js.map +1 -0
- package/esm2022/lib/components/date-picker/index.js +2 -0
- package/esm2022/lib/components/date-picker/index.js.map +1 -0
- package/esm2022/lib/components/dialog/dialog-close.js +30 -0
- package/esm2022/lib/components/dialog/dialog-close.js.map +1 -0
- package/esm2022/lib/components/dialog/dialog-description.js +23 -0
- package/esm2022/lib/components/dialog/dialog-description.js.map +1 -0
- package/esm2022/lib/components/dialog/dialog-footer.js +20 -0
- package/esm2022/lib/components/dialog/dialog-footer.js.map +1 -0
- package/esm2022/lib/components/dialog/dialog-header.js +20 -0
- package/esm2022/lib/components/dialog/dialog-header.js.map +1 -0
- package/esm2022/lib/components/dialog/dialog-portal.js +14 -0
- package/esm2022/lib/components/dialog/dialog-portal.js.map +1 -0
- package/esm2022/lib/components/dialog/dialog-provider.js +159 -0
- package/esm2022/lib/components/dialog/dialog-provider.js.map +1 -0
- package/esm2022/lib/components/dialog/dialog-title.js +23 -0
- package/esm2022/lib/components/dialog/dialog-title.js.map +1 -0
- package/esm2022/lib/components/dialog/dialog-trigger.js +29 -0
- package/esm2022/lib/components/dialog/dialog-trigger.js.map +1 -0
- package/esm2022/lib/components/dialog/dialog.js +59 -0
- package/esm2022/lib/components/dialog/dialog.js.map +1 -0
- package/esm2022/lib/components/dialog/index.js +10 -0
- package/esm2022/lib/components/dialog/index.js.map +1 -0
- package/esm2022/lib/components/drawer/drawer-close.js +23 -0
- package/esm2022/lib/components/drawer/drawer-close.js.map +1 -0
- package/esm2022/lib/components/drawer/drawer-description.js +20 -0
- package/esm2022/lib/components/drawer/drawer-description.js.map +1 -0
- package/esm2022/lib/components/drawer/drawer-footer.js +20 -0
- package/esm2022/lib/components/drawer/drawer-footer.js.map +1 -0
- package/esm2022/lib/components/drawer/drawer-handle.js +20 -0
- package/esm2022/lib/components/drawer/drawer-handle.js.map +1 -0
- package/esm2022/lib/components/drawer/drawer-header.js +20 -0
- package/esm2022/lib/components/drawer/drawer-header.js.map +1 -0
- package/esm2022/lib/components/drawer/drawer-portal.js +14 -0
- package/esm2022/lib/components/drawer/drawer-portal.js.map +1 -0
- package/esm2022/lib/components/drawer/drawer-provider.js +127 -0
- package/esm2022/lib/components/drawer/drawer-provider.js.map +1 -0
- package/esm2022/lib/components/drawer/drawer-title.js +20 -0
- package/esm2022/lib/components/drawer/drawer-title.js.map +1 -0
- package/esm2022/lib/components/drawer/drawer-trigger.js +28 -0
- package/esm2022/lib/components/drawer/drawer-trigger.js.map +1 -0
- package/esm2022/lib/components/drawer/drawer.js +50 -0
- package/esm2022/lib/components/drawer/drawer.js.map +1 -0
- package/esm2022/lib/components/drawer/index.js +11 -0
- package/esm2022/lib/components/drawer/index.js.map +1 -0
- package/esm2022/lib/components/empty/empty-body.js +20 -0
- package/esm2022/lib/components/empty/empty-body.js.map +1 -0
- package/esm2022/lib/components/empty/empty-description.js +20 -0
- package/esm2022/lib/components/empty/empty-description.js.map +1 -0
- package/esm2022/lib/components/empty/empty-header.js +20 -0
- package/esm2022/lib/components/empty/empty-header.js.map +1 -0
- package/esm2022/lib/components/empty/empty-media.js +34 -0
- package/esm2022/lib/components/empty/empty-media.js.map +1 -0
- package/esm2022/lib/components/empty/empty-title.js +20 -0
- package/esm2022/lib/components/empty/empty-title.js.map +1 -0
- package/esm2022/lib/components/empty/empty.js +20 -0
- package/esm2022/lib/components/empty/empty.js.map +1 -0
- package/esm2022/lib/components/empty/index.js +7 -0
- package/esm2022/lib/components/empty/index.js.map +1 -0
- package/esm2022/lib/components/field/field-body.js +20 -0
- package/esm2022/lib/components/field/field-body.js.map +1 -0
- package/esm2022/lib/components/field/field-description.js +20 -0
- package/esm2022/lib/components/field/field-description.js.map +1 -0
- package/esm2022/lib/components/field/field-error.js +21 -0
- package/esm2022/lib/components/field/field-error.js.map +1 -0
- package/esm2022/lib/components/field/field-group.js +20 -0
- package/esm2022/lib/components/field/field-group.js.map +1 -0
- package/esm2022/lib/components/field/field-separator.js +20 -0
- package/esm2022/lib/components/field/field-separator.js.map +1 -0
- package/esm2022/lib/components/field/field-title.js +20 -0
- package/esm2022/lib/components/field/field-title.js.map +1 -0
- package/esm2022/lib/components/field/field.js +75 -0
- package/esm2022/lib/components/field/field.js.map +1 -0
- package/esm2022/lib/components/field/fieldset.js +20 -0
- package/esm2022/lib/components/field/fieldset.js.map +1 -0
- package/esm2022/lib/components/field/index.js +10 -0
- package/esm2022/lib/components/field/index.js.map +1 -0
- package/esm2022/lib/components/field/legend.js +22 -0
- package/esm2022/lib/components/field/legend.js.map +1 -0
- package/esm2022/lib/components/file-upload/file-upload-dropzone.js +91 -0
- package/esm2022/lib/components/file-upload/file-upload-dropzone.js.map +1 -0
- package/esm2022/lib/components/file-upload/file-upload-item-delete.js +29 -0
- package/esm2022/lib/components/file-upload/file-upload-item-delete.js.map +1 -0
- package/esm2022/lib/components/file-upload/file-upload-item-name.js +20 -0
- package/esm2022/lib/components/file-upload/file-upload-item-name.js.map +1 -0
- package/esm2022/lib/components/file-upload/file-upload-item-preview.js +51 -0
- package/esm2022/lib/components/file-upload/file-upload-item-preview.js.map +1 -0
- package/esm2022/lib/components/file-upload/file-upload-item-progress.js +34 -0
- package/esm2022/lib/components/file-upload/file-upload-item-progress.js.map +1 -0
- package/esm2022/lib/components/file-upload/file-upload-item-size.js +37 -0
- package/esm2022/lib/components/file-upload/file-upload-item-size.js.map +1 -0
- package/esm2022/lib/components/file-upload/file-upload-item.js +29 -0
- package/esm2022/lib/components/file-upload/file-upload-item.js.map +1 -0
- package/esm2022/lib/components/file-upload/file-upload-list.js +20 -0
- package/esm2022/lib/components/file-upload/file-upload-list.js.map +1 -0
- package/esm2022/lib/components/file-upload/file-upload-trigger.js +66 -0
- package/esm2022/lib/components/file-upload/file-upload-trigger.js.map +1 -0
- package/esm2022/lib/components/file-upload/file-upload.js +118 -0
- package/esm2022/lib/components/file-upload/file-upload.js.map +1 -0
- package/esm2022/lib/components/file-upload/index.js +11 -0
- package/esm2022/lib/components/file-upload/index.js.map +1 -0
- package/esm2022/lib/components/hover-card/hover-card-portal.js +14 -0
- package/esm2022/lib/components/hover-card/hover-card-portal.js.map +1 -0
- package/esm2022/lib/components/hover-card/hover-card-provider.js +185 -0
- package/esm2022/lib/components/hover-card/hover-card-provider.js.map +1 -0
- package/esm2022/lib/components/hover-card/hover-card-trigger.js +72 -0
- package/esm2022/lib/components/hover-card/hover-card-trigger.js.map +1 -0
- package/esm2022/lib/components/hover-card/hover-card.js +74 -0
- package/esm2022/lib/components/hover-card/hover-card.js.map +1 -0
- package/esm2022/lib/components/hover-card/index.js +5 -0
- package/esm2022/lib/components/hover-card/index.js.map +1 -0
- package/esm2022/lib/components/index.js +50 -0
- package/esm2022/lib/components/index.js.map +1 -1
- package/esm2022/lib/components/input/index.js +2 -0
- package/esm2022/lib/components/input/index.js.map +1 -0
- package/esm2022/lib/components/input/input.js +41 -0
- package/esm2022/lib/components/input/input.js.map +1 -0
- package/esm2022/lib/components/input-group/index.js +5 -0
- package/esm2022/lib/components/input-group/index.js.map +1 -0
- package/esm2022/lib/components/input-group/input-group-addon.js +37 -0
- package/esm2022/lib/components/input-group/input-group-addon.js.map +1 -0
- package/esm2022/lib/components/input-group/input-group-button.js +39 -0
- package/esm2022/lib/components/input-group/input-group-button.js.map +1 -0
- package/esm2022/lib/components/input-group/input-group-text.js +20 -0
- package/esm2022/lib/components/input-group/input-group-text.js.map +1 -0
- package/esm2022/lib/components/input-group/input-group.js +21 -0
- package/esm2022/lib/components/input-group/input-group.js.map +1 -0
- package/esm2022/lib/components/item/index.js +11 -0
- package/esm2022/lib/components/item/index.js.map +1 -0
- package/esm2022/lib/components/item/item-actions.js +20 -0
- package/esm2022/lib/components/item/item-actions.js.map +1 -0
- package/esm2022/lib/components/item/item-body.js +20 -0
- package/esm2022/lib/components/item/item-body.js.map +1 -0
- package/esm2022/lib/components/item/item-description.js +20 -0
- package/esm2022/lib/components/item/item-description.js.map +1 -0
- package/esm2022/lib/components/item/item-footer.js +20 -0
- package/esm2022/lib/components/item/item-footer.js.map +1 -0
- package/esm2022/lib/components/item/item-group.js +21 -0
- package/esm2022/lib/components/item/item-group.js.map +1 -0
- package/esm2022/lib/components/item/item-header.js +20 -0
- package/esm2022/lib/components/item/item-header.js.map +1 -0
- package/esm2022/lib/components/item/item-media.js +35 -0
- package/esm2022/lib/components/item/item-media.js.map +1 -0
- package/esm2022/lib/components/item/item-separator.js +21 -0
- package/esm2022/lib/components/item/item-separator.js.map +1 -0
- package/esm2022/lib/components/item/item-title.js +20 -0
- package/esm2022/lib/components/item/item-title.js.map +1 -0
- package/esm2022/lib/components/item/item.js +43 -0
- package/esm2022/lib/components/item/item.js.map +1 -0
- package/esm2022/lib/components/kbd/index.js +3 -0
- package/esm2022/lib/components/kbd/index.js.map +1 -0
- package/esm2022/lib/components/kbd/kbd-group.js +20 -0
- package/esm2022/lib/components/kbd/kbd-group.js.map +1 -0
- package/esm2022/lib/components/kbd/kbd.js +20 -0
- package/esm2022/lib/components/kbd/kbd.js.map +1 -0
- package/esm2022/lib/components/label/index.js +2 -0
- package/esm2022/lib/components/label/index.js.map +1 -0
- package/esm2022/lib/components/label/label.js +29 -0
- package/esm2022/lib/components/label/label.js.map +1 -0
- package/esm2022/lib/components/link/link.js +4 -4
- package/esm2022/lib/components/link/link.js.map +1 -1
- package/esm2022/lib/components/menu/index.js +8 -0
- package/esm2022/lib/components/menu/index.js.map +1 -0
- package/esm2022/lib/components/menu/menu-content.js +16 -0
- package/esm2022/lib/components/menu/menu-content.js.map +1 -0
- package/esm2022/lib/components/menu/menu-item.js +96 -0
- package/esm2022/lib/components/menu/menu-item.js.map +1 -0
- package/esm2022/lib/components/menu/menu-portal.js +15 -0
- package/esm2022/lib/components/menu/menu-portal.js.map +1 -0
- package/esm2022/lib/components/menu/menu-provider.js +102 -0
- package/esm2022/lib/components/menu/menu-provider.js.map +1 -0
- package/esm2022/lib/components/menu/menu-separator.js +22 -0
- package/esm2022/lib/components/menu/menu-separator.js.map +1 -0
- package/esm2022/lib/components/menu/menu-trigger.js +34 -0
- package/esm2022/lib/components/menu/menu-trigger.js.map +1 -0
- package/esm2022/lib/components/menu/menu.js +37 -0
- package/esm2022/lib/components/menu/menu.js.map +1 -0
- package/esm2022/lib/components/menu-bar/index.js +3 -0
- package/esm2022/lib/components/menu-bar/index.js.map +1 -0
- package/esm2022/lib/components/menu-bar/menu-bar-item.js +103 -0
- package/esm2022/lib/components/menu-bar/menu-bar-item.js.map +1 -0
- package/esm2022/lib/components/menu-bar/menu-bar.js +28 -0
- package/esm2022/lib/components/menu-bar/menu-bar.js.map +1 -0
- package/esm2022/lib/components/native-select/index.js +6 -0
- package/esm2022/lib/components/native-select/index.js.map +1 -0
- package/esm2022/lib/components/native-select/native-select-container.js +20 -0
- package/esm2022/lib/components/native-select/native-select-container.js.map +1 -0
- package/esm2022/lib/components/native-select/native-select-icon.js +20 -0
- package/esm2022/lib/components/native-select/native-select-icon.js.map +1 -0
- package/esm2022/lib/components/native-select/native-select-optgroup.js +20 -0
- package/esm2022/lib/components/native-select/native-select-optgroup.js.map +1 -0
- package/esm2022/lib/components/native-select/native-select-option.js +20 -0
- package/esm2022/lib/components/native-select/native-select-option.js.map +1 -0
- package/esm2022/lib/components/native-select/native-select.js +29 -0
- package/esm2022/lib/components/native-select/native-select.js.map +1 -0
- package/esm2022/lib/components/navigation-menu/index.js +8 -0
- package/esm2022/lib/components/navigation-menu/index.js.map +1 -0
- package/esm2022/lib/components/navigation-menu/navigation-menu-content.js +37 -0
- package/esm2022/lib/components/navigation-menu/navigation-menu-content.js.map +1 -0
- package/esm2022/lib/components/navigation-menu/navigation-menu-item.js +118 -0
- package/esm2022/lib/components/navigation-menu/navigation-menu-item.js.map +1 -0
- package/esm2022/lib/components/navigation-menu/navigation-menu-link.js +22 -0
- package/esm2022/lib/components/navigation-menu/navigation-menu-link.js.map +1 -0
- package/esm2022/lib/components/navigation-menu/navigation-menu-list.js +20 -0
- package/esm2022/lib/components/navigation-menu/navigation-menu-list.js.map +1 -0
- package/esm2022/lib/components/navigation-menu/navigation-menu-portal.js +14 -0
- package/esm2022/lib/components/navigation-menu/navigation-menu-portal.js.map +1 -0
- package/esm2022/lib/components/navigation-menu/navigation-menu-trigger-icon.js +22 -0
- package/esm2022/lib/components/navigation-menu/navigation-menu-trigger-icon.js.map +1 -0
- package/esm2022/lib/components/navigation-menu/navigation-menu-trigger.js +41 -0
- package/esm2022/lib/components/navigation-menu/navigation-menu-trigger.js.map +1 -0
- package/esm2022/lib/components/navigation-menu/navigation-menu.js +32 -0
- package/esm2022/lib/components/navigation-menu/navigation-menu.js.map +1 -0
- package/esm2022/lib/components/pagination/index.js +11 -0
- package/esm2022/lib/components/pagination/index.js.map +1 -0
- package/esm2022/lib/components/pagination/pagination-ellipsis.js +21 -0
- package/esm2022/lib/components/pagination/pagination-ellipsis.js.map +1 -0
- package/esm2022/lib/components/pagination/pagination-first.js +51 -0
- package/esm2022/lib/components/pagination/pagination-first.js.map +1 -0
- package/esm2022/lib/components/pagination/pagination-item.js +20 -0
- package/esm2022/lib/components/pagination/pagination-item.js.map +1 -0
- package/esm2022/lib/components/pagination/pagination-last.js +52 -0
- package/esm2022/lib/components/pagination/pagination-last.js.map +1 -0
- package/esm2022/lib/components/pagination/pagination-link.js +50 -0
- package/esm2022/lib/components/pagination/pagination-link.js.map +1 -0
- package/esm2022/lib/components/pagination/pagination-list.js +20 -0
- package/esm2022/lib/components/pagination/pagination-list.js.map +1 -0
- package/esm2022/lib/components/pagination/pagination-next.js +52 -0
- package/esm2022/lib/components/pagination/pagination-next.js.map +1 -0
- package/esm2022/lib/components/pagination/pagination-page-size-select.js +37 -0
- package/esm2022/lib/components/pagination/pagination-page-size-select.js.map +1 -0
- package/esm2022/lib/components/pagination/pagination-previous.js +52 -0
- package/esm2022/lib/components/pagination/pagination-previous.js.map +1 -0
- package/esm2022/lib/components/pagination/pagination.js +135 -0
- package/esm2022/lib/components/pagination/pagination.js.map +1 -0
- package/esm2022/lib/components/popover/index.js +9 -0
- package/esm2022/lib/components/popover/index.js.map +1 -0
- package/esm2022/lib/components/popover/popover-close.js +26 -0
- package/esm2022/lib/components/popover/popover-close.js.map +1 -0
- package/esm2022/lib/components/popover/popover-description.js +20 -0
- package/esm2022/lib/components/popover/popover-description.js.map +1 -0
- package/esm2022/lib/components/popover/popover-header.js +20 -0
- package/esm2022/lib/components/popover/popover-header.js.map +1 -0
- package/esm2022/lib/components/popover/popover-portal.js +14 -0
- package/esm2022/lib/components/popover/popover-portal.js.map +1 -0
- package/esm2022/lib/components/popover/popover-provider.js +203 -0
- package/esm2022/lib/components/popover/popover-provider.js.map +1 -0
- package/esm2022/lib/components/popover/popover-title.js +20 -0
- package/esm2022/lib/components/popover/popover-title.js.map +1 -0
- package/esm2022/lib/components/popover/popover-trigger.js +32 -0
- package/esm2022/lib/components/popover/popover-trigger.js.map +1 -0
- package/esm2022/lib/components/popover/popover.js +50 -0
- package/esm2022/lib/components/popover/popover.js.map +1 -0
- package/esm2022/lib/components/progress/index.js +2 -0
- package/esm2022/lib/components/progress/index.js.map +1 -0
- package/esm2022/lib/components/progress/progress-indicator.js +26 -0
- package/esm2022/lib/components/progress/progress-indicator.js.map +1 -0
- package/esm2022/lib/components/progress/progress.js +50 -0
- package/esm2022/lib/components/progress/progress.js.map +1 -0
- package/esm2022/lib/components/radio-group/index.js +4 -0
- package/esm2022/lib/components/radio-group/index.js.map +1 -0
- package/esm2022/lib/components/radio-group/radio-field.js +38 -0
- package/esm2022/lib/components/radio-group/radio-field.js.map +1 -0
- package/esm2022/lib/components/radio-group/radio-group.js +21 -0
- package/esm2022/lib/components/radio-group/radio-group.js.map +1 -0
- package/esm2022/lib/components/radio-group/radio.js +22 -0
- package/esm2022/lib/components/radio-group/radio.js.map +1 -0
- package/esm2022/lib/components/range-slider/index.js +4 -0
- package/esm2022/lib/components/range-slider/index.js.map +1 -0
- package/esm2022/lib/components/range-slider/range-slider-max.js +38 -0
- package/esm2022/lib/components/range-slider/range-slider-max.js.map +1 -0
- package/esm2022/lib/components/range-slider/range-slider-min.js +38 -0
- package/esm2022/lib/components/range-slider/range-slider-min.js.map +1 -0
- package/esm2022/lib/components/range-slider/range-slider-thumb-base.js +24 -0
- package/esm2022/lib/components/range-slider/range-slider-thumb-base.js.map +1 -0
- package/esm2022/lib/components/range-slider/range-slider.js +62 -0
- package/esm2022/lib/components/range-slider/range-slider.js.map +1 -0
- package/esm2022/lib/components/select/index.js +12 -0
- package/esm2022/lib/components/select/index.js.map +1 -0
- package/esm2022/lib/components/select/select-group-label.js +28 -0
- package/esm2022/lib/components/select/select-group-label.js.map +1 -0
- package/esm2022/lib/components/select/select-group.js +28 -0
- package/esm2022/lib/components/select/select-group.js.map +1 -0
- package/esm2022/lib/components/select/select-input.js +27 -0
- package/esm2022/lib/components/select/select-input.js.map +1 -0
- package/esm2022/lib/components/select/select-item-icon.js +21 -0
- package/esm2022/lib/components/select/select-item-icon.js.map +1 -0
- package/esm2022/lib/components/select/select-item-indicator.js +20 -0
- package/esm2022/lib/components/select/select-item-indicator.js.map +1 -0
- package/esm2022/lib/components/select/select-item.js +49 -0
- package/esm2022/lib/components/select/select-item.js.map +1 -0
- package/esm2022/lib/components/select/select-list.js +33 -0
- package/esm2022/lib/components/select/select-list.js.map +1 -0
- package/esm2022/lib/components/select/select-popup.js +32 -0
- package/esm2022/lib/components/select/select-popup.js.map +1 -0
- package/esm2022/lib/components/select/select-portal.js +14 -0
- package/esm2022/lib/components/select/select-portal.js.map +1 -0
- package/esm2022/lib/components/select/select-separator.js +22 -0
- package/esm2022/lib/components/select/select-separator.js.map +1 -0
- package/esm2022/lib/components/select/select-trigger-icon.js +22 -0
- package/esm2022/lib/components/select/select-trigger-icon.js.map +1 -0
- package/esm2022/lib/components/select/select-trigger.js +49 -0
- package/esm2022/lib/components/select/select-trigger.js.map +1 -0
- package/esm2022/lib/components/select/select-value.js +28 -0
- package/esm2022/lib/components/select/select-value.js.map +1 -0
- package/esm2022/lib/components/select/select.js +93 -0
- package/esm2022/lib/components/select/select.js.map +1 -0
- package/esm2022/lib/components/separator/index.js +2 -0
- package/esm2022/lib/components/separator/index.js.map +1 -0
- package/esm2022/lib/components/separator/separator.js +26 -0
- package/esm2022/lib/components/separator/separator.js.map +1 -0
- package/esm2022/lib/components/sheet/index.js +10 -0
- package/esm2022/lib/components/sheet/index.js.map +1 -0
- package/esm2022/lib/components/sheet/sheet-close.js +29 -0
- package/esm2022/lib/components/sheet/sheet-close.js.map +1 -0
- package/esm2022/lib/components/sheet/sheet-description.js +23 -0
- package/esm2022/lib/components/sheet/sheet-description.js.map +1 -0
- package/esm2022/lib/components/sheet/sheet-footer.js +20 -0
- package/esm2022/lib/components/sheet/sheet-footer.js.map +1 -0
- package/esm2022/lib/components/sheet/sheet-header.js +20 -0
- package/esm2022/lib/components/sheet/sheet-header.js.map +1 -0
- package/esm2022/lib/components/sheet/sheet-portal.js +14 -0
- package/esm2022/lib/components/sheet/sheet-portal.js.map +1 -0
- package/esm2022/lib/components/sheet/sheet-provider.js +127 -0
- package/esm2022/lib/components/sheet/sheet-provider.js.map +1 -0
- package/esm2022/lib/components/sheet/sheet-title.js +23 -0
- package/esm2022/lib/components/sheet/sheet-title.js.map +1 -0
- package/esm2022/lib/components/sheet/sheet-trigger.js +28 -0
- package/esm2022/lib/components/sheet/sheet-trigger.js.map +1 -0
- package/esm2022/lib/components/sheet/sheet.js +64 -0
- package/esm2022/lib/components/sheet/sheet.js.map +1 -0
- package/esm2022/lib/components/skeleton/index.js +2 -0
- package/esm2022/lib/components/skeleton/index.js.map +1 -0
- package/esm2022/lib/components/skeleton/skeleton.js +20 -0
- package/esm2022/lib/components/skeleton/skeleton.js.map +1 -0
- package/esm2022/lib/components/slider/index.js +2 -0
- package/esm2022/lib/components/slider/index.js.map +1 -0
- package/esm2022/lib/components/slider/slider.js +46 -0
- package/esm2022/lib/components/slider/slider.js.map +1 -0
- package/esm2022/lib/components/spinner/index.js +2 -0
- package/esm2022/lib/components/spinner/index.js.map +1 -0
- package/esm2022/lib/components/spinner/spinner.js +23 -0
- package/esm2022/lib/components/spinner/spinner.js.map +1 -0
- package/esm2022/lib/components/switch/index.js +5 -0
- package/esm2022/lib/components/switch/index.js.map +1 -0
- package/esm2022/lib/components/switch/switch-field.js +57 -0
- package/esm2022/lib/components/switch/switch-field.js.map +1 -0
- package/esm2022/lib/components/switch/switch-types.js +3 -0
- package/esm2022/lib/components/switch/switch-types.js.map +1 -0
- package/esm2022/lib/components/switch/switch-visual.js +34 -0
- package/esm2022/lib/components/switch/switch-visual.js.map +1 -0
- package/esm2022/lib/components/switch/switch.js +45 -0
- package/esm2022/lib/components/switch/switch.js.map +1 -0
- package/esm2022/lib/components/table/index.js +9 -0
- package/esm2022/lib/components/table/index.js.map +1 -0
- package/esm2022/lib/components/table/table-body.js +20 -0
- package/esm2022/lib/components/table/table-body.js.map +1 -0
- package/esm2022/lib/components/table/table-caption.js +20 -0
- package/esm2022/lib/components/table/table-caption.js.map +1 -0
- package/esm2022/lib/components/table/table-cell.js +20 -0
- package/esm2022/lib/components/table/table-cell.js.map +1 -0
- package/esm2022/lib/components/table/table-footer.js +20 -0
- package/esm2022/lib/components/table/table-footer.js.map +1 -0
- package/esm2022/lib/components/table/table-header-cell.js +20 -0
- package/esm2022/lib/components/table/table-header-cell.js.map +1 -0
- package/esm2022/lib/components/table/table-header.js +20 -0
- package/esm2022/lib/components/table/table-header.js.map +1 -0
- package/esm2022/lib/components/table/table-row.js +20 -0
- package/esm2022/lib/components/table/table-row.js.map +1 -0
- package/esm2022/lib/components/table/table.js +20 -0
- package/esm2022/lib/components/table/table.js.map +1 -0
- package/esm2022/lib/components/tabs/index.js +6 -0
- package/esm2022/lib/components/tabs/index.js.map +1 -0
- package/esm2022/lib/components/tabs/tab-content.js +16 -0
- package/esm2022/lib/components/tabs/tab-content.js.map +1 -0
- package/esm2022/lib/components/tabs/tab-list.js +57 -0
- package/esm2022/lib/components/tabs/tab-list.js.map +1 -0
- package/esm2022/lib/components/tabs/tab-panel.js +35 -0
- package/esm2022/lib/components/tabs/tab-panel.js.map +1 -0
- package/esm2022/lib/components/tabs/tab.js +34 -0
- package/esm2022/lib/components/tabs/tab.js.map +1 -0
- package/esm2022/lib/components/tabs/tabs.js +36 -0
- package/esm2022/lib/components/tabs/tabs.js.map +1 -0
- package/esm2022/lib/components/textarea/index.js +2 -0
- package/esm2022/lib/components/textarea/index.js.map +1 -0
- package/esm2022/lib/components/textarea/textarea.js +41 -0
- package/esm2022/lib/components/textarea/textarea.js.map +1 -0
- package/esm2022/lib/components/time-picker/index.js +10 -0
- package/esm2022/lib/components/time-picker/index.js.map +1 -0
- package/esm2022/lib/components/time-picker/time-picker-hours-input.js +67 -0
- package/esm2022/lib/components/time-picker/time-picker-hours-input.js.map +1 -0
- package/esm2022/lib/components/time-picker/time-picker-input.js +26 -0
- package/esm2022/lib/components/time-picker/time-picker-input.js.map +1 -0
- package/esm2022/lib/components/time-picker/time-picker-minutes-input.js +57 -0
- package/esm2022/lib/components/time-picker/time-picker-minutes-input.js.map +1 -0
- package/esm2022/lib/components/time-picker/time-picker-period-am.js +26 -0
- package/esm2022/lib/components/time-picker/time-picker-period-am.js.map +1 -0
- package/esm2022/lib/components/time-picker/time-picker-period-pm.js +26 -0
- package/esm2022/lib/components/time-picker/time-picker-period-pm.js.map +1 -0
- package/esm2022/lib/components/time-picker/time-picker-period.js +46 -0
- package/esm2022/lib/components/time-picker/time-picker-period.js.map +1 -0
- package/esm2022/lib/components/time-picker/time-picker-seconds-input.js +57 -0
- package/esm2022/lib/components/time-picker/time-picker-seconds-input.js.map +1 -0
- package/esm2022/lib/components/time-picker/time-picker-separator.js +20 -0
- package/esm2022/lib/components/time-picker/time-picker-separator.js.map +1 -0
- package/esm2022/lib/components/time-picker/time-picker.js +58 -0
- package/esm2022/lib/components/time-picker/time-picker.js.map +1 -0
- package/esm2022/lib/components/toast/index.js +7 -0
- package/esm2022/lib/components/toast/index.js.map +1 -0
- package/esm2022/lib/components/toast/toast-action.js +21 -0
- package/esm2022/lib/components/toast/toast-action.js.map +1 -0
- package/esm2022/lib/components/toast/toast-close.js +25 -0
- package/esm2022/lib/components/toast/toast-close.js.map +1 -0
- package/esm2022/lib/components/toast/toast-description.js +20 -0
- package/esm2022/lib/components/toast/toast-description.js.map +1 -0
- package/esm2022/lib/components/toast/toast-stack.js +182 -0
- package/esm2022/lib/components/toast/toast-stack.js.map +1 -0
- package/esm2022/lib/components/toast/toast-title.js +20 -0
- package/esm2022/lib/components/toast/toast-title.js.map +1 -0
- package/esm2022/lib/components/toast/toast.js +58 -0
- package/esm2022/lib/components/toast/toast.js.map +1 -0
- package/esm2022/lib/components/toast/toast.types.js +1 -0
- package/esm2022/lib/components/toast/toast.types.js.map +1 -0
- package/esm2022/lib/components/toast/toaster.js +149 -0
- package/esm2022/lib/components/toast/toaster.js.map +1 -0
- package/esm2022/lib/components/toggle/index.js +2 -0
- package/esm2022/lib/components/toggle/index.js.map +1 -0
- package/esm2022/lib/components/toggle/toggle.js +52 -0
- package/esm2022/lib/components/toggle/toggle.js.map +1 -0
- package/esm2022/lib/components/toggle-group/index.js +3 -0
- package/esm2022/lib/components/toggle-group/index.js.map +1 -0
- package/esm2022/lib/components/toggle-group/toggle-group-item.js +45 -0
- package/esm2022/lib/components/toggle-group/toggle-group-item.js.map +1 -0
- package/esm2022/lib/components/toggle-group/toggle-group.js +61 -0
- package/esm2022/lib/components/toggle-group/toggle-group.js.map +1 -0
- package/esm2022/lib/components/toolbar/index.js +5 -0
- package/esm2022/lib/components/toolbar/index.js.map +1 -0
- package/esm2022/lib/components/toolbar/toolbar-separator.js +29 -0
- package/esm2022/lib/components/toolbar/toolbar-separator.js.map +1 -0
- package/esm2022/lib/components/toolbar/toolbar-widget-group.js +35 -0
- package/esm2022/lib/components/toolbar/toolbar-widget-group.js.map +1 -0
- package/esm2022/lib/components/toolbar/toolbar-widget.js +39 -0
- package/esm2022/lib/components/toolbar/toolbar-widget.js.map +1 -0
- package/esm2022/lib/components/toolbar/toolbar.js +38 -0
- package/esm2022/lib/components/toolbar/toolbar.js.map +1 -0
- package/esm2022/lib/components/tooltip/index.js +3 -0
- package/esm2022/lib/components/tooltip/index.js.map +1 -0
- package/esm2022/lib/components/tooltip/tooltip-manager.js +165 -0
- package/esm2022/lib/components/tooltip/tooltip-manager.js.map +1 -0
- package/esm2022/lib/components/tooltip/tooltip-trigger.js +115 -0
- package/esm2022/lib/components/tooltip/tooltip-trigger.js.map +1 -0
- package/esm2022/lib/components/tooltip/tooltip.js +66 -0
- package/esm2022/lib/components/tooltip/tooltip.js.map +1 -0
- package/lib/components/accordion/accordion-body.d.ts +7 -0
- package/lib/components/accordion/accordion-content.d.ts +6 -0
- package/lib/components/accordion/accordion-group.d.ts +8 -0
- package/lib/components/accordion/accordion-header.d.ts +7 -0
- package/lib/components/accordion/accordion-item.d.ts +7 -0
- package/lib/components/accordion/accordion-panel.d.ts +8 -0
- package/lib/components/accordion/accordion-trigger.d.ts +8 -0
- package/lib/components/accordion/index.d.ts +7 -0
- package/lib/components/alert/alert-action.d.ts +7 -0
- package/lib/components/alert/alert-description.d.ts +7 -0
- package/lib/components/alert/alert-title.d.ts +7 -0
- package/lib/components/alert/alert.d.ts +14 -0
- package/lib/components/alert/index.d.ts +4 -0
- package/lib/components/alert-dialog/alert-dialog-action.d.ts +11 -0
- package/lib/components/alert-dialog/alert-dialog-cancel.d.ts +11 -0
- package/lib/components/alert-dialog/alert-dialog-description.d.ts +9 -0
- package/lib/components/alert-dialog/alert-dialog-footer.d.ts +7 -0
- package/lib/components/alert-dialog/alert-dialog-header.d.ts +7 -0
- package/lib/components/alert-dialog/alert-dialog-media.d.ts +7 -0
- package/lib/components/alert-dialog/alert-dialog-portal.d.ts +7 -0
- package/lib/components/alert-dialog/alert-dialog-provider.d.ts +22 -0
- package/lib/components/alert-dialog/alert-dialog-title.d.ts +9 -0
- package/lib/components/alert-dialog/alert-dialog-trigger.d.ts +10 -0
- package/lib/components/alert-dialog/alert-dialog.d.ts +19 -0
- package/lib/components/alert-dialog/index.d.ts +11 -0
- package/lib/components/aspect-ratio/aspect-ratio.d.ts +8 -0
- package/lib/components/aspect-ratio/index.d.ts +1 -0
- package/lib/components/avatar/avatar-badge.d.ts +7 -0
- package/lib/components/avatar/avatar-fallback.d.ts +8 -0
- package/lib/components/avatar/avatar-group-count.d.ts +7 -0
- package/lib/components/avatar/avatar-group.d.ts +7 -0
- package/lib/components/avatar/avatar-image.d.ts +12 -0
- package/lib/components/avatar/avatar.d.ts +12 -0
- package/lib/components/avatar/index.d.ts +6 -0
- package/lib/components/backdrop/backdrop.d.ts +23 -0
- package/lib/components/backdrop/index.d.ts +1 -0
- package/lib/components/badge/badge.d.ts +14 -0
- package/lib/components/badge/index.d.ts +1 -0
- package/lib/components/breadcrumb/breadcrumb-ellipsis.d.ts +7 -0
- package/lib/components/breadcrumb/breadcrumb-item.d.ts +7 -0
- package/lib/components/breadcrumb/breadcrumb-link.d.ts +7 -0
- package/lib/components/breadcrumb/breadcrumb-list.d.ts +7 -0
- package/lib/components/breadcrumb/breadcrumb-page.d.ts +7 -0
- package/lib/components/breadcrumb/breadcrumb-separator.d.ts +7 -0
- package/lib/components/breadcrumb/breadcrumb.d.ts +5 -0
- package/lib/components/breadcrumb/index.d.ts +7 -0
- package/lib/components/button/button.d.ts +5 -5
- package/lib/components/button-group/button-group-separator.d.ts +9 -0
- package/lib/components/button-group/button-group-text.d.ts +7 -0
- package/lib/components/button-group/button-group.d.ts +13 -0
- package/lib/components/button-group/index.d.ts +3 -0
- package/lib/components/calendar/calendar-day-view.d.ts +40 -0
- package/lib/components/calendar/calendar-header.d.ts +13 -0
- package/lib/components/calendar/calendar-month-view.d.ts +28 -0
- package/lib/components/calendar/calendar-year-view.d.ts +28 -0
- package/lib/components/calendar/calendar.d.ts +40 -0
- package/lib/components/calendar/index.d.ts +1 -0
- package/lib/components/card/card-action.d.ts +7 -0
- package/lib/components/card/card-body.d.ts +7 -0
- package/lib/components/card/card-description.d.ts +7 -0
- package/lib/components/card/card-footer.d.ts +7 -0
- package/lib/components/card/card-header.d.ts +7 -0
- package/lib/components/card/card-title.d.ts +7 -0
- package/lib/components/card/card.d.ts +8 -0
- package/lib/components/card/index.d.ts +7 -0
- package/lib/components/checkbox/checkbox-field.d.ts +16 -0
- package/lib/components/checkbox/checkbox-types.d.ts +9 -0
- package/lib/components/checkbox/checkbox-visual.d.ts +8 -0
- package/lib/components/checkbox/checkbox.d.ts +19 -0
- package/lib/components/checkbox/index.d.ts +4 -0
- package/lib/components/collapsible/collapsible-body.d.ts +7 -0
- package/lib/components/collapsible/collapsible-content.d.ts +6 -0
- package/lib/components/collapsible/collapsible-panel.d.ts +8 -0
- package/lib/components/collapsible/collapsible-trigger.d.ts +14 -0
- package/lib/components/collapsible/collapsible.d.ts +8 -0
- package/lib/components/collapsible/index.d.ts +5 -0
- package/lib/components/date-picker/date-picker.d.ts +23 -0
- package/lib/components/date-picker/index.d.ts +1 -0
- package/lib/components/dialog/dialog-close.d.ts +11 -0
- package/lib/components/dialog/dialog-description.d.ts +9 -0
- package/lib/components/dialog/dialog-footer.d.ts +7 -0
- package/lib/components/dialog/dialog-header.d.ts +7 -0
- package/lib/components/dialog/dialog-portal.d.ts +7 -0
- package/lib/components/dialog/dialog-provider.d.ts +44 -0
- package/lib/components/dialog/dialog-title.d.ts +9 -0
- package/lib/components/dialog/dialog-trigger.d.ts +10 -0
- package/lib/components/dialog/dialog.d.ts +18 -0
- package/lib/components/dialog/index.d.ts +9 -0
- package/lib/components/drawer/drawer-close.d.ts +7 -0
- package/lib/components/drawer/drawer-description.d.ts +7 -0
- package/lib/components/drawer/drawer-footer.d.ts +7 -0
- package/lib/components/drawer/drawer-handle.d.ts +7 -0
- package/lib/components/drawer/drawer-header.d.ts +7 -0
- package/lib/components/drawer/drawer-portal.d.ts +7 -0
- package/lib/components/drawer/drawer-provider.d.ts +25 -0
- package/lib/components/drawer/drawer-title.d.ts +7 -0
- package/lib/components/drawer/drawer-trigger.d.ts +10 -0
- package/lib/components/drawer/drawer.d.ts +15 -0
- package/lib/components/drawer/index.d.ts +11 -0
- package/lib/components/empty/empty-body.d.ts +7 -0
- package/lib/components/empty/empty-description.d.ts +7 -0
- package/lib/components/empty/empty-header.d.ts +7 -0
- package/lib/components/empty/empty-media.d.ts +13 -0
- package/lib/components/empty/empty-title.d.ts +7 -0
- package/lib/components/empty/empty.d.ts +7 -0
- package/lib/components/empty/index.d.ts +6 -0
- package/lib/components/field/field-body.d.ts +7 -0
- package/lib/components/field/field-description.d.ts +7 -0
- package/lib/components/field/field-error.d.ts +7 -0
- package/lib/components/field/field-group.d.ts +7 -0
- package/lib/components/field/field-separator.d.ts +7 -0
- package/lib/components/field/field-title.d.ts +7 -0
- package/lib/components/field/field.d.ts +27 -0
- package/lib/components/field/fieldset.d.ts +7 -0
- package/lib/components/field/index.d.ts +10 -0
- package/lib/components/field/legend.d.ts +9 -0
- package/lib/components/file-upload/file-upload-dropzone.d.ts +15 -0
- package/lib/components/file-upload/file-upload-item-delete.d.ts +10 -0
- package/lib/components/file-upload/file-upload-item-name.d.ts +7 -0
- package/lib/components/file-upload/file-upload-item-preview.d.ts +11 -0
- package/lib/components/file-upload/file-upload-item-progress.d.ts +9 -0
- package/lib/components/file-upload/file-upload-item-size.d.ts +10 -0
- package/lib/components/file-upload/file-upload-item.d.ts +9 -0
- package/lib/components/file-upload/file-upload-list.d.ts +7 -0
- package/lib/components/file-upload/file-upload-trigger.d.ts +11 -0
- package/lib/components/file-upload/file-upload.d.ts +32 -0
- package/lib/components/file-upload/index.d.ts +11 -0
- package/lib/components/hover-card/hover-card-portal.d.ts +7 -0
- package/lib/components/hover-card/hover-card-provider.d.ts +34 -0
- package/lib/components/hover-card/hover-card-trigger.d.ts +22 -0
- package/lib/components/hover-card/hover-card.d.ts +21 -0
- package/lib/components/hover-card/index.d.ts +5 -0
- package/lib/components/index.d.ts +50 -0
- package/lib/components/input/index.d.ts +1 -0
- package/lib/components/input/input.d.ts +17 -0
- package/lib/components/input-group/index.d.ts +4 -0
- package/lib/components/input-group/input-group-addon.d.ts +14 -0
- package/lib/components/input-group/input-group-button.d.ts +15 -0
- package/lib/components/input-group/input-group-text.d.ts +7 -0
- package/lib/components/input-group/input-group.d.ts +7 -0
- package/lib/components/item/index.d.ts +10 -0
- package/lib/components/item/item-actions.d.ts +7 -0
- package/lib/components/item/item-body.d.ts +7 -0
- package/lib/components/item/item-description.d.ts +7 -0
- package/lib/components/item/item-footer.d.ts +7 -0
- package/lib/components/item/item-group.d.ts +7 -0
- package/lib/components/item/item-header.d.ts +7 -0
- package/lib/components/item/item-media.d.ts +13 -0
- package/lib/components/item/item-separator.d.ts +7 -0
- package/lib/components/item/item-title.d.ts +7 -0
- package/lib/components/item/item.d.ts +15 -0
- package/lib/components/kbd/index.d.ts +2 -0
- package/lib/components/kbd/kbd-group.d.ts +7 -0
- package/lib/components/kbd/kbd.d.ts +7 -0
- package/lib/components/label/index.d.ts +1 -0
- package/lib/components/label/label.d.ts +10 -0
- package/lib/components/link/link.d.ts +3 -3
- package/lib/components/menu/index.d.ts +7 -0
- package/lib/components/menu/menu-content.d.ts +6 -0
- package/lib/components/menu/menu-item.d.ts +17 -0
- package/lib/components/menu/menu-portal.d.ts +9 -0
- package/lib/components/menu/menu-provider.d.ts +15 -0
- package/lib/components/menu/menu-separator.d.ts +7 -0
- package/lib/components/menu/menu-trigger.d.ts +14 -0
- package/lib/components/menu/menu.d.ts +12 -0
- package/lib/components/menu-bar/index.d.ts +2 -0
- package/lib/components/menu-bar/menu-bar-item.d.ts +18 -0
- package/lib/components/menu-bar/menu-bar.d.ts +10 -0
- package/lib/components/native-select/index.d.ts +5 -0
- package/lib/components/native-select/native-select-container.d.ts +7 -0
- package/lib/components/native-select/native-select-icon.d.ts +7 -0
- package/lib/components/native-select/native-select-optgroup.d.ts +7 -0
- package/lib/components/native-select/native-select-option.d.ts +7 -0
- package/lib/components/native-select/native-select.d.ts +12 -0
- package/lib/components/navigation-menu/index.d.ts +7 -0
- package/lib/components/navigation-menu/navigation-menu-content.d.ts +10 -0
- package/lib/components/navigation-menu/navigation-menu-item.d.ts +27 -0
- package/lib/components/navigation-menu/navigation-menu-link.d.ts +8 -0
- package/lib/components/navigation-menu/navigation-menu-list.d.ts +7 -0
- package/lib/components/navigation-menu/navigation-menu-portal.d.ts +7 -0
- package/lib/components/navigation-menu/navigation-menu-trigger-icon.d.ts +8 -0
- package/lib/components/navigation-menu/navigation-menu-trigger.d.ts +12 -0
- package/lib/components/navigation-menu/navigation-menu.d.ts +10 -0
- package/lib/components/pagination/index.d.ts +10 -0
- package/lib/components/pagination/pagination-ellipsis.d.ts +7 -0
- package/lib/components/pagination/pagination-first.d.ts +15 -0
- package/lib/components/pagination/pagination-item.d.ts +7 -0
- package/lib/components/pagination/pagination-last.d.ts +15 -0
- package/lib/components/pagination/pagination-link.d.ts +16 -0
- package/lib/components/pagination/pagination-list.d.ts +7 -0
- package/lib/components/pagination/pagination-next.d.ts +15 -0
- package/lib/components/pagination/pagination-page-size-select.d.ts +14 -0
- package/lib/components/pagination/pagination-previous.d.ts +15 -0
- package/lib/components/pagination/pagination.d.ts +38 -0
- package/lib/components/popover/index.d.ts +9 -0
- package/lib/components/popover/popover-close.d.ts +9 -0
- package/lib/components/popover/popover-description.d.ts +7 -0
- package/lib/components/popover/popover-header.d.ts +7 -0
- package/lib/components/popover/popover-portal.d.ts +7 -0
- package/lib/components/popover/popover-provider.d.ts +39 -0
- package/lib/components/popover/popover-title.d.ts +7 -0
- package/lib/components/popover/popover-trigger.d.ts +13 -0
- package/lib/components/popover/popover.d.ts +15 -0
- package/lib/components/progress/index.d.ts +1 -0
- package/lib/components/progress/progress-indicator.d.ts +9 -0
- package/lib/components/progress/progress.d.ts +12 -0
- package/lib/components/radio-group/index.d.ts +3 -0
- package/lib/components/radio-group/radio-field.d.ts +10 -0
- package/lib/components/radio-group/radio-group.d.ts +7 -0
- package/lib/components/radio-group/radio.d.ts +8 -0
- package/lib/components/range-slider/index.d.ts +3 -0
- package/lib/components/range-slider/range-slider-max.d.ts +10 -0
- package/lib/components/range-slider/range-slider-min.d.ts +10 -0
- package/lib/components/range-slider/range-slider-thumb-base.d.ts +2 -0
- package/lib/components/range-slider/range-slider.d.ts +21 -0
- package/lib/components/select/index.d.ts +11 -0
- package/lib/components/select/select-group-label.d.ts +7 -0
- package/lib/components/select/select-group.d.ts +7 -0
- package/lib/components/select/select-input.d.ts +8 -0
- package/lib/components/select/select-item-icon.d.ts +7 -0
- package/lib/components/select/select-item-indicator.d.ts +7 -0
- package/lib/components/select/select-item.d.ts +11 -0
- package/lib/components/select/select-list.d.ts +10 -0
- package/lib/components/select/select-popup.d.ts +8 -0
- package/lib/components/select/select-portal.d.ts +7 -0
- package/lib/components/select/select-separator.d.ts +7 -0
- package/lib/components/select/select-trigger-icon.d.ts +8 -0
- package/lib/components/select/select-trigger.d.ts +12 -0
- package/lib/components/select/select-value.d.ts +7 -0
- package/lib/components/select/select.d.ts +21 -0
- package/lib/components/separator/index.d.ts +1 -0
- package/lib/components/separator/separator.d.ts +10 -0
- package/lib/components/sheet/index.d.ts +10 -0
- package/lib/components/sheet/sheet-close.d.ts +11 -0
- package/lib/components/sheet/sheet-description.d.ts +9 -0
- package/lib/components/sheet/sheet-footer.d.ts +7 -0
- package/lib/components/sheet/sheet-header.d.ts +7 -0
- package/lib/components/sheet/sheet-portal.d.ts +7 -0
- package/lib/components/sheet/sheet-provider.d.ts +25 -0
- package/lib/components/sheet/sheet-title.d.ts +9 -0
- package/lib/components/sheet/sheet-trigger.d.ts +10 -0
- package/lib/components/sheet/sheet.d.ts +18 -0
- package/lib/components/skeleton/index.d.ts +1 -0
- package/lib/components/skeleton/skeleton.d.ts +7 -0
- package/lib/components/slider/index.d.ts +1 -0
- package/lib/components/slider/slider.d.ts +15 -0
- package/lib/components/spinner/index.d.ts +1 -0
- package/lib/components/spinner/spinner.d.ts +8 -0
- package/lib/components/switch/index.d.ts +4 -0
- package/lib/components/switch/switch-field.d.ts +15 -0
- package/lib/components/switch/switch-types.d.ts +8 -0
- package/lib/components/switch/switch-visual.d.ts +9 -0
- package/lib/components/switch/switch.d.ts +18 -0
- package/lib/components/table/index.d.ts +8 -0
- package/lib/components/table/table-body.d.ts +7 -0
- package/lib/components/table/table-caption.d.ts +7 -0
- package/lib/components/table/table-cell.d.ts +7 -0
- package/lib/components/table/table-footer.d.ts +7 -0
- package/lib/components/table/table-header-cell.d.ts +7 -0
- package/lib/components/table/table-header.d.ts +7 -0
- package/lib/components/table/table-row.d.ts +7 -0
- package/lib/components/table/table.d.ts +7 -0
- package/lib/components/tabs/index.d.ts +5 -0
- package/lib/components/tabs/tab-content.d.ts +6 -0
- package/lib/components/tabs/tab-list.d.ts +12 -0
- package/lib/components/tabs/tab-panel.d.ts +8 -0
- package/lib/components/tabs/tab.d.ts +8 -0
- package/lib/components/tabs/tabs.d.ts +9 -0
- package/lib/components/textarea/index.d.ts +1 -0
- package/lib/components/textarea/textarea.d.ts +17 -0
- package/lib/components/time-picker/index.d.ts +10 -0
- package/lib/components/time-picker/time-picker-hours-input.d.ts +14 -0
- package/lib/components/time-picker/time-picker-input.d.ts +9 -0
- package/lib/components/time-picker/time-picker-minutes-input.d.ts +12 -0
- package/lib/components/time-picker/time-picker-period-am.d.ts +8 -0
- package/lib/components/time-picker/time-picker-period-pm.d.ts +8 -0
- package/lib/components/time-picker/time-picker-period.d.ts +12 -0
- package/lib/components/time-picker/time-picker-seconds-input.d.ts +12 -0
- package/lib/components/time-picker/time-picker-separator.d.ts +7 -0
- package/lib/components/time-picker/time-picker.d.ts +26 -0
- package/lib/components/toast/index.d.ts +7 -0
- package/lib/components/toast/toast-action.d.ts +7 -0
- package/lib/components/toast/toast-close.d.ts +9 -0
- package/lib/components/toast/toast-description.d.ts +7 -0
- package/lib/components/toast/toast-stack.d.ts +12 -0
- package/lib/components/toast/toast-title.d.ts +7 -0
- package/lib/components/toast/toast.d.ts +17 -0
- package/lib/components/toast/toast.types.d.ts +24 -0
- package/lib/components/toast/toaster.d.ts +50 -0
- package/lib/components/toggle/index.d.ts +1 -0
- package/lib/components/toggle/toggle.d.ts +18 -0
- package/lib/components/toggle-group/index.d.ts +2 -0
- package/lib/components/toggle-group/toggle-group-item.d.ts +16 -0
- package/lib/components/toggle-group/toggle-group.d.ts +16 -0
- package/lib/components/toolbar/index.d.ts +4 -0
- package/lib/components/toolbar/toolbar-separator.d.ts +9 -0
- package/lib/components/toolbar/toolbar-widget-group.d.ts +8 -0
- package/lib/components/toolbar/toolbar-widget.d.ts +10 -0
- package/lib/components/toolbar/toolbar.d.ts +10 -0
- package/lib/components/tooltip/index.d.ts +3 -0
- package/lib/components/tooltip/tooltip-manager.d.ts +22 -0
- package/lib/components/tooltip/tooltip-trigger.d.ts +35 -0
- package/lib/components/tooltip/tooltip.d.ts +22 -0
- package/package.json +9 -2
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
import { ChangeDetectionStrategy, Component, computed, effect, ElementRef, inject, input, output, signal, ViewEncapsulation, } from '@angular/core';
|
|
2
|
+
import { cn } from '../../utils';
|
|
3
|
+
import { ScHoverCardProvider } from './hover-card-provider';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export class ScHoverCard {
|
|
6
|
+
elementRef = inject(ElementRef);
|
|
7
|
+
hoverCardProvider = inject(ScHoverCardProvider);
|
|
8
|
+
classInput = input('', { ...(ngDevMode ? { debugName: "classInput" } : {}), alias: 'class' });
|
|
9
|
+
state = signal('closed', ...(ngDevMode ? [{ debugName: "state" }] : []));
|
|
10
|
+
animationComplete = output();
|
|
11
|
+
class = computed(() => cn('z-50 w-64 rounded-lg ring-1 ring-foreground/10 bg-popover p-2.5 text-sm text-popover-foreground shadow-md outline-hidden', 'data-open:animate-in data-open:fade-in-0 data-open:zoom-in-95 duration-100', 'data-closed:animate-out data-closed:fade-out-0 data-closed:zoom-out-95', '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', this.classInput()), ...(ngDevMode ? [{ debugName: "class" }] : []));
|
|
12
|
+
hideTimeout = null;
|
|
13
|
+
constructor() {
|
|
14
|
+
// Sync state with provider's open signal
|
|
15
|
+
effect(() => {
|
|
16
|
+
const isOpen = this.hoverCardProvider.open();
|
|
17
|
+
this.state.set(isOpen ? 'open' : 'closed');
|
|
18
|
+
});
|
|
19
|
+
}
|
|
20
|
+
onMouseEnter() {
|
|
21
|
+
this.hoverCardProvider.cancelTriggerHide();
|
|
22
|
+
this.cancelHide();
|
|
23
|
+
this.hoverCardProvider.show();
|
|
24
|
+
}
|
|
25
|
+
onMouseLeave() {
|
|
26
|
+
this.scheduleHide();
|
|
27
|
+
}
|
|
28
|
+
scheduleHide() {
|
|
29
|
+
this.cancelHide();
|
|
30
|
+
this.hideTimeout = setTimeout(() => {
|
|
31
|
+
this.hoverCardProvider.hide();
|
|
32
|
+
}, this.hoverCardProvider.closeDelay());
|
|
33
|
+
}
|
|
34
|
+
cancelHide() {
|
|
35
|
+
if (this.hideTimeout) {
|
|
36
|
+
clearTimeout(this.hideTimeout);
|
|
37
|
+
this.hideTimeout = null;
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
onAnimationEnd(event) {
|
|
41
|
+
// Only emit when close animation completes
|
|
42
|
+
if (this.state() === 'closed' &&
|
|
43
|
+
event.target === this.elementRef.nativeElement) {
|
|
44
|
+
this.animationComplete.emit();
|
|
45
|
+
this.hoverCardProvider.onAnimationComplete();
|
|
46
|
+
}
|
|
47
|
+
}
|
|
48
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.1.5", ngImport: i0, type: ScHoverCard, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
49
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "21.1.5", type: ScHoverCard, isStandalone: true, selector: "div[scHoverCard]", inputs: { classInput: { classPropertyName: "classInput", publicName: "class", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { animationComplete: "animationComplete" }, host: { attributes: { "data-slot": "hover-card" }, listeners: { "mouseenter": "onMouseEnter()", "mouseleave": "onMouseLeave()", "animationend": "onAnimationEnd($event)" }, properties: { "class": "class()", "attr.data-open": "state() === \"open\" ? true : null", "attr.data-closed": "state() === \"closed\" ? true : null", "attr.data-side": "hoverCardProvider.side()" } }, ngImport: i0, template: `
|
|
50
|
+
<ng-content />
|
|
51
|
+
`, isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
52
|
+
}
|
|
53
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1.5", ngImport: i0, type: ScHoverCard, decorators: [{
|
|
54
|
+
type: Component,
|
|
55
|
+
args: [{
|
|
56
|
+
selector: 'div[scHoverCard]',
|
|
57
|
+
template: `
|
|
58
|
+
<ng-content />
|
|
59
|
+
`,
|
|
60
|
+
host: {
|
|
61
|
+
'data-slot': 'hover-card',
|
|
62
|
+
'[class]': 'class()',
|
|
63
|
+
'[attr.data-open]': 'state() === "open" ? true : null',
|
|
64
|
+
'[attr.data-closed]': 'state() === "closed" ? true : null',
|
|
65
|
+
'[attr.data-side]': 'hoverCardProvider.side()',
|
|
66
|
+
'(mouseenter)': 'onMouseEnter()',
|
|
67
|
+
'(mouseleave)': 'onMouseLeave()',
|
|
68
|
+
'(animationend)': 'onAnimationEnd($event)',
|
|
69
|
+
},
|
|
70
|
+
encapsulation: ViewEncapsulation.None,
|
|
71
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
72
|
+
}]
|
|
73
|
+
}], ctorParameters: () => [], propDecorators: { classInput: [{ type: i0.Input, args: [{ isSignal: true, alias: "class", required: false }] }], animationComplete: [{ type: i0.Output, args: ["animationComplete"] }] } });
|
|
74
|
+
//# sourceMappingURL=hover-card.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"hover-card.js","sourceRoot":"","sources":["../../../../../../../libs/ui/src/lib/components/hover-card/hover-card.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,uBAAuB,EACvB,SAAS,EACT,QAAQ,EACR,MAAM,EACN,UAAU,EACV,MAAM,EACN,KAAK,EACL,MAAM,EACN,MAAM,EACN,iBAAiB,GAClB,MAAM,eAAe,CAAC;AACvB,OAAO,EAAE,EAAE,EAAE,MAAM,aAAa,CAAC;AACjC,OAAO,EAAE,mBAAmB,EAAE,MAAM,uBAAuB,CAAC;;AAsB5D,MAAM,OAAO,WAAW;IACL,UAAU,GAAG,MAAM,CAAC,UAAU,CAAC,CAAC;IAExC,iBAAiB,GAAG,MAAM,CAAC,mBAAmB,CAAC,CAAC;IAChD,UAAU,GAAG,KAAK,CAAS,EAAE,uDAAI,KAAK,EAAE,OAAO,GAAG,CAAC;IACnD,KAAK,GAAG,MAAM,CAAmB,QAAQ,iDAAC,CAAC;IAC3C,iBAAiB,GAAG,MAAM,EAAQ,CAAC;IAEzB,KAAK,GAAG,QAAQ,CAAC,GAAG,EAAE,CACvC,EAAE,CACA,0HAA0H,EAC1H,4EAA4E,EAC5E,wEAAwE,EACxE,6JAA6J,EAC7J,IAAI,CAAC,UAAU,EAAE,CAClB,iDACF,CAAC;IAEM,WAAW,GAAyC,IAAI,CAAC;IAEjE;QACE,yCAAyC;QACzC,MAAM,CAAC,GAAG,EAAE;YACV,MAAM,MAAM,GAAG,IAAI,CAAC,iBAAiB,CAAC,IAAI,EAAE,CAAC;YAC7C,IAAI,CAAC,KAAK,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,QAAQ,CAAC,CAAC;QAC7C,CAAC,CAAC,CAAC;IACL,CAAC;IAED,YAAY;QACV,IAAI,CAAC,iBAAiB,CAAC,iBAAiB,EAAE,CAAC;QAC3C,IAAI,CAAC,UAAU,EAAE,CAAC;QAClB,IAAI,CAAC,iBAAiB,CAAC,IAAI,EAAE,CAAC;IAChC,CAAC;IAED,YAAY;QACV,IAAI,CAAC,YAAY,EAAE,CAAC;IACtB,CAAC;IAEO,YAAY;QAClB,IAAI,CAAC,UAAU,EAAE,CAAC;QAClB,IAAI,CAAC,WAAW,GAAG,UAAU,CAAC,GAAG,EAAE;YACjC,IAAI,CAAC,iBAAiB,CAAC,IAAI,EAAE,CAAC;QAChC,CAAC,EAAE,IAAI,CAAC,iBAAiB,CAAC,UAAU,EAAE,CAAC,CAAC;IAC1C,CAAC;IAEO,UAAU;QAChB,IAAI,IAAI,CAAC,WAAW,EAAE,CAAC;YACrB,YAAY,CAAC,IAAI,CAAC,WAAW,CAAC,CAAC;YAC/B,IAAI,CAAC,WAAW,GAAG,IAAI,CAAC;QAC1B,CAAC;IACH,CAAC;IAES,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;YAC9B,IAAI,CAAC,iBAAiB,CAAC,mBAAmB,EAAE,CAAC;QAC/C,CAAC;IACH,CAAC;uGA7DU,WAAW;2FAAX,WAAW,moBAhBZ;;GAET;;2FAcU,WAAW;kBAlBvB,SAAS;mBAAC;oBACT,QAAQ,EAAE,kBAAkB;oBAC5B,QAAQ,EAAE;;GAET;oBACD,IAAI,EAAE;wBACJ,WAAW,EAAE,YAAY;wBACzB,SAAS,EAAE,SAAS;wBACpB,kBAAkB,EAAE,kCAAkC;wBACtD,oBAAoB,EAAE,oCAAoC;wBAC1D,kBAAkB,EAAE,0BAA0B;wBAC9C,cAAc,EAAE,gBAAgB;wBAChC,cAAc,EAAE,gBAAgB;wBAChC,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 effect,\n ElementRef,\n inject,\n input,\n output,\n signal,\n ViewEncapsulation,\n} from '@angular/core';\nimport { cn } from '../../utils';\nimport { ScHoverCardProvider } from './hover-card-provider';\n\ntype ScHoverCardState = 'open' | 'closed';\n\n@Component({\n selector: 'div[scHoverCard]',\n template: `\n <ng-content />\n `,\n host: {\n 'data-slot': 'hover-card',\n '[class]': 'class()',\n '[attr.data-open]': 'state() === \"open\" ? true : null',\n '[attr.data-closed]': 'state() === \"closed\" ? true : null',\n '[attr.data-side]': 'hoverCardProvider.side()',\n '(mouseenter)': 'onMouseEnter()',\n '(mouseleave)': 'onMouseLeave()',\n '(animationend)': 'onAnimationEnd($event)',\n },\n encapsulation: ViewEncapsulation.None,\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class ScHoverCard {\n private readonly elementRef = inject(ElementRef);\n\n readonly hoverCardProvider = inject(ScHoverCardProvider);\n readonly classInput = input<string>('', { alias: 'class' });\n readonly state = signal<ScHoverCardState>('closed');\n readonly animationComplete = output<void>();\n\n protected readonly class = computed(() =>\n cn(\n 'z-50 w-64 rounded-lg ring-1 ring-foreground/10 bg-popover p-2.5 text-sm text-popover-foreground shadow-md outline-hidden',\n 'data-open:animate-in data-open:fade-in-0 data-open:zoom-in-95 duration-100',\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 this.classInput(),\n ),\n );\n\n private hideTimeout: ReturnType<typeof setTimeout> | null = null;\n\n constructor() {\n // Sync state with provider's open signal\n effect(() => {\n const isOpen = this.hoverCardProvider.open();\n this.state.set(isOpen ? 'open' : 'closed');\n });\n }\n\n onMouseEnter(): void {\n this.hoverCardProvider.cancelTriggerHide();\n this.cancelHide();\n this.hoverCardProvider.show();\n }\n\n onMouseLeave(): void {\n this.scheduleHide();\n }\n\n private scheduleHide(): void {\n this.cancelHide();\n this.hideTimeout = setTimeout(() => {\n this.hoverCardProvider.hide();\n }, this.hoverCardProvider.closeDelay());\n }\n\n private cancelHide(): void {\n if (this.hideTimeout) {\n clearTimeout(this.hideTimeout);\n this.hideTimeout = null;\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 this.hoverCardProvider.onAnimationComplete();\n }\n }\n}\n"]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../../libs/ui/src/lib/components/hover-card/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,mBAAmB,EAAE,MAAM,uBAAuB,CAAC;AAE5D,OAAO,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AACxD,OAAO,EAAE,WAAW,EAAE,MAAM,cAAc,CAAC;AAC3C,OAAO,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAC","sourcesContent":["export { ScHoverCardProvider } from './hover-card-provider';\nexport type { ScHoverCardAlign, ScHoverCardSide } from './hover-card-provider';\nexport { ScHoverCardPortal } from './hover-card-portal';\nexport { ScHoverCard } from './hover-card';\nexport { ScHoverCardTrigger } from './hover-card-trigger';\n"]}
|
|
@@ -1,3 +1,53 @@
|
|
|
1
|
+
export * from './accordion';
|
|
2
|
+
export * from './alert';
|
|
3
|
+
export * from './alert-dialog';
|
|
4
|
+
export * from './aspect-ratio';
|
|
5
|
+
export * from './avatar';
|
|
6
|
+
export * from './backdrop';
|
|
7
|
+
export * from './badge';
|
|
8
|
+
export * from './breadcrumb';
|
|
1
9
|
export * from './button';
|
|
10
|
+
export * from './button-group';
|
|
11
|
+
export * from './calendar';
|
|
12
|
+
export * from './card';
|
|
13
|
+
export * from './collapsible';
|
|
14
|
+
export * from './checkbox';
|
|
15
|
+
export * from './date-picker';
|
|
16
|
+
export * from './dialog';
|
|
17
|
+
export * from './drawer';
|
|
18
|
+
export * from './empty';
|
|
19
|
+
export * from './field';
|
|
20
|
+
export * from './file-upload';
|
|
21
|
+
export * from './hover-card';
|
|
22
|
+
export * from './input';
|
|
23
|
+
export * from './input-group';
|
|
24
|
+
export * from './item';
|
|
25
|
+
export * from './kbd';
|
|
26
|
+
export * from './label';
|
|
2
27
|
export * from './link';
|
|
28
|
+
export * from './menu';
|
|
29
|
+
export * from './menu-bar';
|
|
30
|
+
export * from './native-select';
|
|
31
|
+
export * from './navigation-menu';
|
|
32
|
+
export * from './pagination';
|
|
33
|
+
export * from './popover';
|
|
34
|
+
export * from './progress';
|
|
35
|
+
export * from './radio-group';
|
|
36
|
+
export * from './select';
|
|
37
|
+
export * from './separator';
|
|
38
|
+
export * from './sheet';
|
|
39
|
+
export * from './skeleton';
|
|
40
|
+
export * from './range-slider';
|
|
41
|
+
export * from './slider';
|
|
42
|
+
export * from './spinner';
|
|
43
|
+
export * from './switch';
|
|
44
|
+
export * from './time-picker';
|
|
45
|
+
export * from './table';
|
|
46
|
+
export * from './tabs';
|
|
47
|
+
export * from './textarea';
|
|
48
|
+
export * from './toggle';
|
|
49
|
+
export * from './toggle-group';
|
|
50
|
+
export * from './toolbar';
|
|
51
|
+
export * from './toast';
|
|
52
|
+
export * from './tooltip';
|
|
3
53
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../libs/ui/src/lib/components/index.ts"],"names":[],"mappings":"AAAA,cAAc,UAAU,CAAC;AACzB,cAAc,QAAQ,CAAC","sourcesContent":["export * from './button';\nexport * from './link';\n"]}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../libs/ui/src/lib/components/index.ts"],"names":[],"mappings":"AAAA,cAAc,aAAa,CAAC;AAC5B,cAAc,SAAS,CAAC;AACxB,cAAc,gBAAgB,CAAC;AAC/B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,UAAU,CAAC;AACzB,cAAc,YAAY,CAAC;AAC3B,cAAc,SAAS,CAAC;AACxB,cAAc,cAAc,CAAC;AAC7B,cAAc,UAAU,CAAC;AACzB,cAAc,gBAAgB,CAAC;AAC/B,cAAc,YAAY,CAAC;AAC3B,cAAc,QAAQ,CAAC;AACvB,cAAc,eAAe,CAAC;AAC9B,cAAc,YAAY,CAAC;AAC3B,cAAc,eAAe,CAAC;AAC9B,cAAc,UAAU,CAAC;AACzB,cAAc,UAAU,CAAC;AACzB,cAAc,SAAS,CAAC;AACxB,cAAc,SAAS,CAAC;AACxB,cAAc,eAAe,CAAC;AAC9B,cAAc,cAAc,CAAC;AAC7B,cAAc,SAAS,CAAC;AACxB,cAAc,eAAe,CAAC;AAC9B,cAAc,QAAQ,CAAC;AACvB,cAAc,OAAO,CAAC;AACtB,cAAc,SAAS,CAAC;AACxB,cAAc,QAAQ,CAAC;AACvB,cAAc,QAAQ,CAAC;AACvB,cAAc,YAAY,CAAC;AAC3B,cAAc,iBAAiB,CAAC;AAChC,cAAc,mBAAmB,CAAC;AAClC,cAAc,cAAc,CAAC;AAC7B,cAAc,WAAW,CAAC;AAC1B,cAAc,YAAY,CAAC;AAC3B,cAAc,eAAe,CAAC;AAC9B,cAAc,UAAU,CAAC;AACzB,cAAc,aAAa,CAAC;AAC5B,cAAc,SAAS,CAAC;AACxB,cAAc,YAAY,CAAC;AAC3B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,UAAU,CAAC;AACzB,cAAc,WAAW,CAAC;AAC1B,cAAc,UAAU,CAAC;AACzB,cAAc,eAAe,CAAC;AAC9B,cAAc,SAAS,CAAC;AACxB,cAAc,QAAQ,CAAC;AACvB,cAAc,YAAY,CAAC;AAC3B,cAAc,UAAU,CAAC;AACzB,cAAc,gBAAgB,CAAC;AAC/B,cAAc,WAAW,CAAC;AAC1B,cAAc,SAAS,CAAC;AACxB,cAAc,WAAW,CAAC","sourcesContent":["export * from './accordion';\nexport * from './alert';\nexport * from './alert-dialog';\nexport * from './aspect-ratio';\nexport * from './avatar';\nexport * from './backdrop';\nexport * from './badge';\nexport * from './breadcrumb';\nexport * from './button';\nexport * from './button-group';\nexport * from './calendar';\nexport * from './card';\nexport * from './collapsible';\nexport * from './checkbox';\nexport * from './date-picker';\nexport * from './dialog';\nexport * from './drawer';\nexport * from './empty';\nexport * from './field';\nexport * from './file-upload';\nexport * from './hover-card';\nexport * from './input';\nexport * from './input-group';\nexport * from './item';\nexport * from './kbd';\nexport * from './label';\nexport * from './link';\nexport * from './menu';\nexport * from './menu-bar';\nexport * from './native-select';\nexport * from './navigation-menu';\nexport * from './pagination';\nexport * from './popover';\nexport * from './progress';\nexport * from './radio-group';\nexport * from './select';\nexport * from './separator';\nexport * from './sheet';\nexport * from './skeleton';\nexport * from './range-slider';\nexport * from './slider';\nexport * from './spinner';\nexport * from './switch';\nexport * from './time-picker';\nexport * from './table';\nexport * from './tabs';\nexport * from './textarea';\nexport * from './toggle';\nexport * from './toggle-group';\nexport * from './toolbar';\nexport * from './toast';\nexport * from './tooltip';\n"]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../../libs/ui/src/lib/components/input/index.ts"],"names":[],"mappings":"AAAA,cAAc,SAAS,CAAC","sourcesContent":["export * from './input';\n"]}
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
import { _IdGenerator } from '@angular/cdk/a11y';
|
|
2
|
+
import { booleanAttribute, computed, Directive, inject, input, } from '@angular/core';
|
|
3
|
+
import { FormField } from '@angular/forms/signals';
|
|
4
|
+
import { cn } from '../../utils';
|
|
5
|
+
import { SC_FIELD } from '../field';
|
|
6
|
+
import * as i0 from "@angular/core";
|
|
7
|
+
export class ScInput {
|
|
8
|
+
field = inject(SC_FIELD, { optional: true });
|
|
9
|
+
formField = inject(FormField, { optional: true });
|
|
10
|
+
fallbackId = inject(_IdGenerator).getId('sc-input-');
|
|
11
|
+
variant = input('default', ...(ngDevMode ? [{ debugName: "variant" }] : []));
|
|
12
|
+
idInput = input('', { ...(ngDevMode ? { debugName: "idInput" } : {}), alias: 'id' });
|
|
13
|
+
classInput = input('', { ...(ngDevMode ? { debugName: "classInput" } : {}), alias: 'class' });
|
|
14
|
+
disabledInput = input(false, { ...(ngDevMode ? { debugName: "disabledInput" } : {}), alias: 'disabled',
|
|
15
|
+
transform: booleanAttribute });
|
|
16
|
+
dataSlot = computed(() => this.variant() === 'group' ? 'input-group-control' : 'input', ...(ngDevMode ? [{ debugName: "dataSlot" }] : []));
|
|
17
|
+
id = computed(() => this.idInput() || this.field?.id() || this.fallbackId, ...(ngDevMode ? [{ debugName: "id" }] : []));
|
|
18
|
+
invalid = computed(() => (this.formField?.state().touched() &&
|
|
19
|
+
this.formField?.state().invalid()) ??
|
|
20
|
+
false, ...(ngDevMode ? [{ debugName: "invalid" }] : []));
|
|
21
|
+
disabled = computed(() => this.formField?.state().disabled() ?? this.disabledInput(), ...(ngDevMode ? [{ debugName: "disabled" }] : []));
|
|
22
|
+
class = computed(() => cn(this.variant() === 'group'
|
|
23
|
+
? 'rounded-none border-0 bg-transparent shadow-none ring-0 focus-visible:ring-0 disabled:bg-transparent aria-invalid:ring-0 dark:bg-transparent dark:disabled:bg-transparent flex-1 h-full px-2.5 text-base md:text-sm outline-none placeholder:text-muted-foreground min-w-0 disabled:pointer-events-none disabled:cursor-not-allowed disabled:opacity-50'
|
|
24
|
+
: 'dark:bg-input/30 border-input focus-visible:border-ring focus-visible:ring-ring/50 aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive dark:aria-invalid:border-destructive/50 disabled:bg-input/50 dark:disabled:bg-input/80 h-8 rounded-lg border bg-transparent px-2.5 py-1 text-base transition-colors file:h-6 file:text-sm file:font-medium focus-visible:ring-3 aria-invalid:ring-3 md:text-sm file:text-foreground placeholder:text-muted-foreground w-full min-w-0 outline-none file:inline-flex file:border-0 file:bg-transparent disabled:pointer-events-none disabled:cursor-not-allowed disabled:opacity-50', this.classInput()), ...(ngDevMode ? [{ debugName: "class" }] : []));
|
|
25
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.1.5", ngImport: i0, type: ScInput, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
26
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.1.5", type: ScInput, isStandalone: true, selector: "input[scInput]", inputs: { variant: { classPropertyName: "variant", publicName: "variant", isSignal: true, isRequired: false, transformFunction: null }, idInput: { classPropertyName: "idInput", publicName: "id", isSignal: true, isRequired: false, transformFunction: null }, classInput: { classPropertyName: "classInput", publicName: "class", isSignal: true, isRequired: false, transformFunction: null }, disabledInput: { classPropertyName: "disabledInput", publicName: "disabled", isSignal: true, isRequired: false, transformFunction: null } }, host: { properties: { "attr.data-slot": "dataSlot()", "attr.id": "id()", "attr.aria-invalid": "invalid() || null", "attr.disabled": "disabled() || null", "class": "class()" } }, ngImport: i0 });
|
|
27
|
+
}
|
|
28
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1.5", ngImport: i0, type: ScInput, decorators: [{
|
|
29
|
+
type: Directive,
|
|
30
|
+
args: [{
|
|
31
|
+
selector: 'input[scInput]',
|
|
32
|
+
host: {
|
|
33
|
+
'[attr.data-slot]': 'dataSlot()',
|
|
34
|
+
'[attr.id]': 'id()',
|
|
35
|
+
'[attr.aria-invalid]': 'invalid() || null',
|
|
36
|
+
'[attr.disabled]': 'disabled() || null',
|
|
37
|
+
'[class]': 'class()',
|
|
38
|
+
},
|
|
39
|
+
}]
|
|
40
|
+
}], propDecorators: { variant: [{ type: i0.Input, args: [{ isSignal: true, alias: "variant", required: false }] }], idInput: [{ type: i0.Input, args: [{ isSignal: true, alias: "id", required: false }] }], classInput: [{ type: i0.Input, args: [{ isSignal: true, alias: "class", required: false }] }], disabledInput: [{ type: i0.Input, args: [{ isSignal: true, alias: "disabled", required: false }] }] } });
|
|
41
|
+
//# sourceMappingURL=input.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"input.js","sourceRoot":"","sources":["../../../../../../../libs/ui/src/lib/components/input/input.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,mBAAmB,CAAC;AACjD,OAAO,EACL,gBAAgB,EAChB,QAAQ,EACR,SAAS,EACT,MAAM,EACN,KAAK,GACN,MAAM,eAAe,CAAC;AACvB,OAAO,EAAE,SAAS,EAAE,MAAM,wBAAwB,CAAC;AACnD,OAAO,EAAE,EAAE,EAAE,MAAM,aAAa,CAAC;AACjC,OAAO,EAAE,QAAQ,EAAE,MAAM,UAAU,CAAC;;AAYpC,MAAM,OAAO,OAAO;IACD,KAAK,GAAG,MAAM,CAAC,QAAQ,EAAE,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC,CAAC;IAC7C,SAAS,GAAG,MAAM,CAAC,SAAS,EAAE,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC,CAAC;IAClD,UAAU,GAAG,MAAM,CAAC,YAAY,CAAC,CAAC,KAAK,CAAC,WAAW,CAAC,CAAC;IAE7D,OAAO,GAAG,KAAK,CAAsB,SAAS,mDAAC,CAAC;IAChD,OAAO,GAAG,KAAK,CAAC,EAAE,oDAAI,KAAK,EAAE,IAAI,GAAG,CAAC;IACrC,UAAU,GAAG,KAAK,CAAS,EAAE,uDAAI,KAAK,EAAE,OAAO,GAAG,CAAC;IACnD,aAAa,GAAG,KAAK,CAAmB,KAAK,0DACpD,KAAK,EAAE,UAAU;QACjB,SAAS,EAAE,gBAAgB,GAC3B,CAAC;IAEgB,QAAQ,GAAG,QAAQ,CAAC,GAAG,EAAE,CAC1C,IAAI,CAAC,OAAO,EAAE,KAAK,OAAO,CAAC,CAAC,CAAC,qBAAqB,CAAC,CAAC,CAAC,OAAO,oDAC7D,CAAC;IAEO,EAAE,GAAG,QAAQ,CACpB,GAAG,EAAE,CAAC,IAAI,CAAC,OAAO,EAAE,IAAI,IAAI,CAAC,KAAK,EAAE,EAAE,EAAE,IAAI,IAAI,CAAC,UAAU,8CAC5D,CAAC;IAEO,OAAO,GAAG,QAAQ,CACzB,GAAG,EAAE,CACH,CAAC,IAAI,CAAC,SAAS,EAAE,KAAK,EAAE,CAAC,OAAO,EAAE;QAChC,IAAI,CAAC,SAAS,EAAE,KAAK,EAAE,CAAC,OAAO,EAAE,CAAC;QACpC,KAAK,mDACR,CAAC;IAEO,QAAQ,GAAG,QAAQ,CAC1B,GAAG,EAAE,CAAC,IAAI,CAAC,SAAS,EAAE,KAAK,EAAE,CAAC,QAAQ,EAAE,IAAI,IAAI,CAAC,aAAa,EAAE,oDACjE,CAAC;IAEiB,KAAK,GAAG,QAAQ,CAAC,GAAG,EAAE,CACvC,EAAE,CACA,IAAI,CAAC,OAAO,EAAE,KAAK,OAAO;QACxB,CAAC,CAAC,yVAAyV;QAC3V,CAAC,CAAC,6oBAA6oB,EACjpB,IAAI,CAAC,UAAU,EAAE,CAClB,iDACF,CAAC;uGAvCS,OAAO;2FAAP,OAAO;;2FAAP,OAAO;kBAVnB,SAAS;mBAAC;oBACT,QAAQ,EAAE,gBAAgB;oBAC1B,IAAI,EAAE;wBACJ,kBAAkB,EAAE,YAAY;wBAChC,WAAW,EAAE,MAAM;wBACnB,qBAAqB,EAAE,mBAAmB;wBAC1C,iBAAiB,EAAE,oBAAoB;wBACvC,SAAS,EAAE,SAAS;qBACrB;iBACF","sourcesContent":["import { _IdGenerator } from '@angular/cdk/a11y';\nimport {\n booleanAttribute,\n computed,\n Directive,\n inject,\n input,\n} from '@angular/core';\nimport { FormField } from '@angular/forms/signals';\nimport { cn } from '../../utils';\nimport { SC_FIELD } from '../field';\n\n@Directive({\n selector: 'input[scInput]',\n host: {\n '[attr.data-slot]': 'dataSlot()',\n '[attr.id]': 'id()',\n '[attr.aria-invalid]': 'invalid() || null',\n '[attr.disabled]': 'disabled() || null',\n '[class]': 'class()',\n },\n})\nexport class ScInput {\n private readonly field = inject(SC_FIELD, { optional: true });\n private readonly formField = inject(FormField, { optional: true });\n private readonly fallbackId = inject(_IdGenerator).getId('sc-input-');\n\n readonly variant = input<'default' | 'group'>('default');\n readonly idInput = input('', { alias: 'id' });\n readonly classInput = input<string>('', { alias: 'class' });\n readonly disabledInput = input<boolean, unknown>(false, {\n alias: 'disabled',\n transform: booleanAttribute,\n });\n\n protected readonly dataSlot = computed(() =>\n this.variant() === 'group' ? 'input-group-control' : 'input',\n );\n\n readonly id = computed(\n () => this.idInput() || this.field?.id() || this.fallbackId,\n );\n\n readonly invalid = computed(\n () =>\n (this.formField?.state().touched() &&\n this.formField?.state().invalid()) ??\n false,\n );\n\n readonly disabled = computed(\n () => this.formField?.state().disabled() ?? this.disabledInput(),\n );\n\n protected readonly class = computed(() =>\n cn(\n this.variant() === 'group'\n ? 'rounded-none border-0 bg-transparent shadow-none ring-0 focus-visible:ring-0 disabled:bg-transparent aria-invalid:ring-0 dark:bg-transparent dark:disabled:bg-transparent flex-1 h-full px-2.5 text-base md:text-sm outline-none placeholder:text-muted-foreground min-w-0 disabled:pointer-events-none disabled:cursor-not-allowed disabled:opacity-50'\n : 'dark:bg-input/30 border-input focus-visible:border-ring focus-visible:ring-ring/50 aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive dark:aria-invalid:border-destructive/50 disabled:bg-input/50 dark:disabled:bg-input/80 h-8 rounded-lg border bg-transparent px-2.5 py-1 text-base transition-colors file:h-6 file:text-sm file:font-medium focus-visible:ring-3 aria-invalid:ring-3 md:text-sm file:text-foreground placeholder:text-muted-foreground w-full min-w-0 outline-none file:inline-flex file:border-0 file:bg-transparent disabled:pointer-events-none disabled:cursor-not-allowed disabled:opacity-50',\n this.classInput(),\n ),\n );\n}\n"]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../../libs/ui/src/lib/components/input-group/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,eAAe,CAAC;AAC7C,OAAO,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AACxD,OAAO,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAC;AAC1D,OAAO,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAC","sourcesContent":["export { ScInputGroup } from './input-group';\nexport { ScInputGroupAddon } from './input-group-addon';\nexport { ScInputGroupButton } from './input-group-button';\nexport { ScInputGroupText } from './input-group-text';\n"]}
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import { computed, Directive, input } from '@angular/core';
|
|
2
|
+
import { cva } from 'class-variance-authority';
|
|
3
|
+
import { cn } from '../../utils';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
const inputGroupAddonVariants = cva("text-muted-foreground h-auto gap-2 py-1.5 text-sm font-medium group-data-[disabled=true]/input-group:opacity-50 [&>kbd]:rounded-[calc(var(--radius)-5px)] [&>svg:not([class*='size-'])]:size-4 flex cursor-text items-center justify-center select-none", {
|
|
6
|
+
variants: {
|
|
7
|
+
align: {
|
|
8
|
+
'inline-start': 'pl-2 has-[>button]:ml-[-0.3rem] has-[>kbd]:ml-[-0.15rem] order-first',
|
|
9
|
+
'inline-end': 'pr-2 has-[>button]:mr-[-0.3rem] has-[>kbd]:mr-[-0.15rem] order-last',
|
|
10
|
+
'block-start': 'px-2.5 pt-2 group-has-[>input]/input-group:pt-2 [.border-b]:pb-2 order-first w-full justify-start',
|
|
11
|
+
'block-end': 'px-2.5 pb-2 group-has-[>input]/input-group:pb-2 [.border-t]:pt-2 order-last w-full justify-start',
|
|
12
|
+
},
|
|
13
|
+
},
|
|
14
|
+
defaultVariants: {
|
|
15
|
+
align: 'inline-start',
|
|
16
|
+
},
|
|
17
|
+
});
|
|
18
|
+
export class ScInputGroupAddon {
|
|
19
|
+
classInput = input('', { ...(ngDevMode ? { debugName: "classInput" } : {}), alias: 'class' });
|
|
20
|
+
align = input('inline-start', ...(ngDevMode ? [{ debugName: "align" }] : []));
|
|
21
|
+
class = computed(() => cn(inputGroupAddonVariants({ align: this.align() }), this.classInput()), ...(ngDevMode ? [{ debugName: "class" }] : []));
|
|
22
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.1.5", ngImport: i0, type: ScInputGroupAddon, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
23
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.1.5", type: ScInputGroupAddon, isStandalone: true, selector: "div[scInputGroupAddon]", inputs: { classInput: { classPropertyName: "classInput", publicName: "class", isSignal: true, isRequired: false, transformFunction: null }, align: { classPropertyName: "align", publicName: "align", isSignal: true, isRequired: false, transformFunction: null } }, host: { attributes: { "data-slot": "input-group-addon", "role": "group" }, properties: { "attr.data-align": "align()", "class": "class()" } }, ngImport: i0 });
|
|
24
|
+
}
|
|
25
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1.5", ngImport: i0, type: ScInputGroupAddon, decorators: [{
|
|
26
|
+
type: Directive,
|
|
27
|
+
args: [{
|
|
28
|
+
selector: 'div[scInputGroupAddon]',
|
|
29
|
+
host: {
|
|
30
|
+
'data-slot': 'input-group-addon',
|
|
31
|
+
role: 'group',
|
|
32
|
+
'[attr.data-align]': 'align()',
|
|
33
|
+
'[class]': 'class()',
|
|
34
|
+
},
|
|
35
|
+
}]
|
|
36
|
+
}], propDecorators: { classInput: [{ type: i0.Input, args: [{ isSignal: true, alias: "class", required: false }] }], align: [{ type: i0.Input, args: [{ isSignal: true, alias: "align", required: false }] }] } });
|
|
37
|
+
//# sourceMappingURL=input-group-addon.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"input-group-addon.js","sourceRoot":"","sources":["../../../../../../../libs/ui/src/lib/components/input-group/input-group-addon.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,SAAS,EAAE,KAAK,EAAE,MAAM,eAAe,CAAC;AAC3D,OAAO,EAAE,GAAG,EAAqB,MAAM,0BAA0B,CAAC;AAClE,OAAO,EAAE,EAAE,EAAE,MAAM,aAAa,CAAC;;AAEjC,MAAM,uBAAuB,GAAG,GAAG,CACjC,yPAAyP,EACzP;IACE,QAAQ,EAAE;QACR,KAAK,EAAE;YACL,cAAc,EACZ,sEAAsE;YACxE,YAAY,EACV,qEAAqE;YACvE,aAAa,EACX,mGAAmG;YACrG,WAAW,EACT,kGAAkG;SACrG;KACF;IACD,eAAe,EAAE;QACf,KAAK,EAAE,cAAc;KACtB;CACF,CACF,CAAC;AAeF,MAAM,OAAO,iBAAiB;IACnB,UAAU,GAAG,KAAK,CAAS,EAAE,uDAAI,KAAK,EAAE,OAAO,GAAG,CAAC;IACnD,KAAK,GAAG,KAAK,CAAqC,cAAc,iDAAC,CAAC;IAExD,KAAK,GAAG,QAAQ,CAAC,GAAG,EAAE,CACvC,EAAE,CAAC,uBAAuB,CAAC,EAAE,KAAK,EAAE,IAAI,CAAC,KAAK,EAAE,EAAE,CAAC,EAAE,IAAI,CAAC,UAAU,EAAE,CAAC,iDACxE,CAAC;uGANS,iBAAiB;2FAAjB,iBAAiB;;2FAAjB,iBAAiB;kBAT7B,SAAS;mBAAC;oBACT,QAAQ,EAAE,wBAAwB;oBAClC,IAAI,EAAE;wBACJ,WAAW,EAAE,mBAAmB;wBAChC,IAAI,EAAE,OAAO;wBACb,mBAAmB,EAAE,SAAS;wBAC9B,SAAS,EAAE,SAAS;qBACrB;iBACF","sourcesContent":["import { computed, Directive, input } from '@angular/core';\nimport { cva, type VariantProps } from 'class-variance-authority';\nimport { cn } from '../../utils';\n\nconst inputGroupAddonVariants = cva(\n \"text-muted-foreground h-auto gap-2 py-1.5 text-sm font-medium group-data-[disabled=true]/input-group:opacity-50 [&>kbd]:rounded-[calc(var(--radius)-5px)] [&>svg:not([class*='size-'])]:size-4 flex cursor-text items-center justify-center select-none\",\n {\n variants: {\n align: {\n 'inline-start':\n 'pl-2 has-[>button]:ml-[-0.3rem] has-[>kbd]:ml-[-0.15rem] order-first',\n 'inline-end':\n 'pr-2 has-[>button]:mr-[-0.3rem] has-[>kbd]:mr-[-0.15rem] order-last',\n 'block-start':\n 'px-2.5 pt-2 group-has-[>input]/input-group:pt-2 [.border-b]:pb-2 order-first w-full justify-start',\n 'block-end':\n 'px-2.5 pb-2 group-has-[>input]/input-group:pb-2 [.border-t]:pt-2 order-last w-full justify-start',\n },\n },\n defaultVariants: {\n align: 'inline-start',\n },\n },\n);\n\nexport type ScInputGroupAddonVariants = VariantProps<\n typeof inputGroupAddonVariants\n>;\n\n@Directive({\n selector: 'div[scInputGroupAddon]',\n host: {\n 'data-slot': 'input-group-addon',\n role: 'group',\n '[attr.data-align]': 'align()',\n '[class]': 'class()',\n },\n})\nexport class ScInputGroupAddon {\n readonly classInput = input<string>('', { alias: 'class' });\n readonly align = input<ScInputGroupAddonVariants['align']>('inline-start');\n\n protected readonly class = computed(() =>\n cn(inputGroupAddonVariants({ align: this.align() }), this.classInput()),\n );\n}\n"]}
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { computed, Directive, input } from '@angular/core';
|
|
2
|
+
import { cva } from 'class-variance-authority';
|
|
3
|
+
import { cn } from '../../utils';
|
|
4
|
+
import { buttonVariants } from '../button/button';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
const inputGroupButtonVariants = cva('gap-2 text-sm shadow-none flex items-center', {
|
|
7
|
+
variants: {
|
|
8
|
+
size: {
|
|
9
|
+
xs: "h-6 gap-1 rounded-[calc(var(--radius)-3px)] px-1.5 [&>svg:not([class*='size-'])]:size-3.5",
|
|
10
|
+
sm: '',
|
|
11
|
+
'icon-xs': 'size-6 rounded-[calc(var(--radius)-3px)] p-0 has-[>svg]:p-0',
|
|
12
|
+
'icon-sm': 'size-8 p-0 has-[>svg]:p-0',
|
|
13
|
+
},
|
|
14
|
+
},
|
|
15
|
+
defaultVariants: {
|
|
16
|
+
size: 'xs',
|
|
17
|
+
},
|
|
18
|
+
});
|
|
19
|
+
export class ScInputGroupButton {
|
|
20
|
+
classInput = input('', { ...(ngDevMode ? { debugName: "classInput" } : {}), alias: 'class' });
|
|
21
|
+
variant = input('ghost', ...(ngDevMode ? [{ debugName: "variant" }] : []));
|
|
22
|
+
size = input('xs', ...(ngDevMode ? [{ debugName: "size" }] : []));
|
|
23
|
+
class = computed(() => cn(buttonVariants({ variant: this.variant(), size: null }), inputGroupButtonVariants({ size: this.size() }), this.classInput()), ...(ngDevMode ? [{ debugName: "class" }] : []));
|
|
24
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.1.5", ngImport: i0, type: ScInputGroupButton, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
25
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.1.5", type: ScInputGroupButton, isStandalone: true, selector: "button[scInputGroupButton]", inputs: { classInput: { classPropertyName: "classInput", publicName: "class", 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": "input-group-button", "type": "button" }, properties: { "attr.data-size": "size()", "class": "class()" } }, ngImport: i0 });
|
|
26
|
+
}
|
|
27
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1.5", ngImport: i0, type: ScInputGroupButton, decorators: [{
|
|
28
|
+
type: Directive,
|
|
29
|
+
args: [{
|
|
30
|
+
selector: 'button[scInputGroupButton]',
|
|
31
|
+
host: {
|
|
32
|
+
'data-slot': 'input-group-button',
|
|
33
|
+
type: 'button',
|
|
34
|
+
'[attr.data-size]': 'size()',
|
|
35
|
+
'[class]': 'class()',
|
|
36
|
+
},
|
|
37
|
+
}]
|
|
38
|
+
}], propDecorators: { classInput: [{ type: i0.Input, args: [{ isSignal: true, alias: "class", required: false }] }], variant: [{ type: i0.Input, args: [{ isSignal: true, alias: "variant", required: false }] }], size: [{ type: i0.Input, args: [{ isSignal: true, alias: "size", required: false }] }] } });
|
|
39
|
+
//# sourceMappingURL=input-group-button.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"input-group-button.js","sourceRoot":"","sources":["../../../../../../../libs/ui/src/lib/components/input-group/input-group-button.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,SAAS,EAAE,KAAK,EAAE,MAAM,eAAe,CAAC;AAC3D,OAAO,EAAE,GAAG,EAAqB,MAAM,0BAA0B,CAAC;AAClE,OAAO,EAAE,EAAE,EAAE,MAAM,aAAa,CAAC;AACjC,OAAO,EAAE,cAAc,EAAyB,MAAM,kBAAkB,CAAC;;AAEzE,MAAM,wBAAwB,GAAG,GAAG,CAClC,6CAA6C,EAC7C;IACE,QAAQ,EAAE;QACR,IAAI,EAAE;YACJ,EAAE,EAAE,2FAA2F;YAC/F,EAAE,EAAE,EAAE;YACN,SAAS,EACP,6DAA6D;YAC/D,SAAS,EAAE,2BAA2B;SACvC;KACF;IACD,eAAe,EAAE;QACf,IAAI,EAAE,IAAI;KACX;CACF,CACF,CAAC;AAeF,MAAM,OAAO,kBAAkB;IACpB,UAAU,GAAG,KAAK,CAAS,EAAE,uDAAI,KAAK,EAAE,OAAO,GAAG,CAAC;IACnD,OAAO,GAAG,KAAK,CAA8B,OAAO,mDAAC,CAAC;IACtD,IAAI,GAAG,KAAK,CAAqC,IAAI,gDAAC,CAAC;IAE7C,KAAK,GAAG,QAAQ,CAAC,GAAG,EAAE,CACvC,EAAE,CACA,cAAc,CAAC,EAAE,OAAO,EAAE,IAAI,CAAC,OAAO,EAAE,EAAE,IAAI,EAAE,IAAI,EAAE,CAAC,EACvD,wBAAwB,CAAC,EAAE,IAAI,EAAE,IAAI,CAAC,IAAI,EAAE,EAAE,CAAC,EAC/C,IAAI,CAAC,UAAU,EAAE,CAClB,iDACF,CAAC;uGAXS,kBAAkB;2FAAlB,kBAAkB;;2FAAlB,kBAAkB;kBAT9B,SAAS;mBAAC;oBACT,QAAQ,EAAE,4BAA4B;oBACtC,IAAI,EAAE;wBACJ,WAAW,EAAE,oBAAoB;wBACjC,IAAI,EAAE,QAAQ;wBACd,kBAAkB,EAAE,QAAQ;wBAC5B,SAAS,EAAE,SAAS;qBACrB;iBACF","sourcesContent":["import { computed, Directive, input } from '@angular/core';\nimport { cva, type VariantProps } from 'class-variance-authority';\nimport { cn } from '../../utils';\nimport { buttonVariants, type ScButtonVariants } from '../button/button';\n\nconst inputGroupButtonVariants = cva(\n 'gap-2 text-sm shadow-none flex items-center',\n {\n variants: {\n size: {\n xs: \"h-6 gap-1 rounded-[calc(var(--radius)-3px)] px-1.5 [&>svg:not([class*='size-'])]:size-3.5\",\n sm: '',\n 'icon-xs':\n 'size-6 rounded-[calc(var(--radius)-3px)] p-0 has-[>svg]:p-0',\n 'icon-sm': 'size-8 p-0 has-[>svg]:p-0',\n },\n },\n defaultVariants: {\n size: 'xs',\n },\n },\n);\n\nexport type ScInputGroupButtonVariants = VariantProps<\n typeof inputGroupButtonVariants\n>;\n\n@Directive({\n selector: 'button[scInputGroupButton]',\n host: {\n 'data-slot': 'input-group-button',\n type: 'button',\n '[attr.data-size]': 'size()',\n '[class]': 'class()',\n },\n})\nexport class ScInputGroupButton {\n readonly classInput = input<string>('', { alias: 'class' });\n readonly variant = input<ScButtonVariants['variant']>('ghost');\n readonly size = input<ScInputGroupButtonVariants['size']>('xs');\n\n protected readonly class = computed(() =>\n cn(\n buttonVariants({ variant: this.variant(), size: null }),\n inputGroupButtonVariants({ size: this.size() }),\n this.classInput(),\n ),\n );\n}\n"]}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { computed, Directive, input } from '@angular/core';
|
|
2
|
+
import { cn } from '../../utils';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export class ScInputGroupText {
|
|
5
|
+
classInput = input('', { ...(ngDevMode ? { debugName: "classInput" } : {}), alias: 'class' });
|
|
6
|
+
class = computed(() => cn("text-muted-foreground gap-2 text-sm [&_svg:not([class*='size-'])]:size-4 flex items-center [&_svg]:pointer-events-none", this.classInput()), ...(ngDevMode ? [{ debugName: "class" }] : []));
|
|
7
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.1.5", ngImport: i0, type: ScInputGroupText, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
8
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.1.5", type: ScInputGroupText, isStandalone: true, selector: "span[scInputGroupText]", inputs: { classInput: { classPropertyName: "classInput", publicName: "class", isSignal: true, isRequired: false, transformFunction: null } }, host: { attributes: { "data-slot": "input-group-text" }, properties: { "class": "class()" } }, ngImport: i0 });
|
|
9
|
+
}
|
|
10
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1.5", ngImport: i0, type: ScInputGroupText, decorators: [{
|
|
11
|
+
type: Directive,
|
|
12
|
+
args: [{
|
|
13
|
+
selector: 'span[scInputGroupText]',
|
|
14
|
+
host: {
|
|
15
|
+
'data-slot': 'input-group-text',
|
|
16
|
+
'[class]': 'class()',
|
|
17
|
+
},
|
|
18
|
+
}]
|
|
19
|
+
}], propDecorators: { classInput: [{ type: i0.Input, args: [{ isSignal: true, alias: "class", required: false }] }] } });
|
|
20
|
+
//# sourceMappingURL=input-group-text.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"input-group-text.js","sourceRoot":"","sources":["../../../../../../../libs/ui/src/lib/components/input-group/input-group-text.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,SAAS,EAAE,KAAK,EAAE,MAAM,eAAe,CAAC;AAC3D,OAAO,EAAE,EAAE,EAAE,MAAM,aAAa,CAAC;;AASjC,MAAM,OAAO,gBAAgB;IAClB,UAAU,GAAG,KAAK,CAAS,EAAE,uDAAI,KAAK,EAAE,OAAO,GAAG,CAAC;IAEzC,KAAK,GAAG,QAAQ,CAAC,GAAG,EAAE,CACvC,EAAE,CACA,wHAAwH,EACxH,IAAI,CAAC,UAAU,EAAE,CAClB,iDACF,CAAC;uGARS,gBAAgB;2FAAhB,gBAAgB;;2FAAhB,gBAAgB;kBAP5B,SAAS;mBAAC;oBACT,QAAQ,EAAE,wBAAwB;oBAClC,IAAI,EAAE;wBACJ,WAAW,EAAE,kBAAkB;wBAC/B,SAAS,EAAE,SAAS;qBACrB;iBACF","sourcesContent":["import { computed, Directive, input } from '@angular/core';\nimport { cn } from '../../utils';\n\n@Directive({\n selector: 'span[scInputGroupText]',\n host: {\n 'data-slot': 'input-group-text',\n '[class]': 'class()',\n },\n})\nexport class ScInputGroupText {\n readonly classInput = input<string>('', { alias: 'class' });\n\n protected readonly class = computed(() =>\n cn(\n \"text-muted-foreground gap-2 text-sm [&_svg:not([class*='size-'])]:size-4 flex items-center [&_svg]:pointer-events-none\",\n this.classInput(),\n ),\n );\n}\n"]}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { computed, Directive, input } from '@angular/core';
|
|
2
|
+
import { cn } from '../../utils';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export class ScInputGroup {
|
|
5
|
+
classInput = input('', { ...(ngDevMode ? { debugName: "classInput" } : {}), alias: 'class' });
|
|
6
|
+
class = computed(() => cn('border-input dark:bg-input/30 has-[[data-slot=input-group-control]:focus-visible]:border-ring has-[[data-slot=input-group-control]:focus-visible]:ring-ring/50 has-[[data-slot][aria-invalid=true]]:ring-destructive/20 has-[[data-slot][aria-invalid=true]]:border-destructive dark:has-[[data-slot][aria-invalid=true]]:ring-destructive/40 has-disabled:bg-input/50 dark:has-disabled:bg-input/80 h-8 rounded-lg border transition-colors in-data-[slot=combobox-content]:focus-within:border-inherit in-data-[slot=combobox-content]:focus-within:ring-0 has-disabled:opacity-50 has-[[data-slot=input-group-control]:focus-visible]:ring-3 has-[[data-slot][aria-invalid=true]]:ring-3 has-[>[data-align=block-end]]:h-auto has-[>[data-align=block-end]]:flex-col has-[>[data-align=block-start]]:h-auto has-[>[data-align=block-start]]:flex-col has-[>[data-align=block-end]]:[&>input]:pt-3 has-[>[data-align=block-start]]:[&>input]:pb-3 has-[>[data-align=inline-end]]:[&>input]:pr-1.5 has-[>[data-align=inline-start]]:[&>input]:pl-1.5 group/input-group relative flex w-full min-w-0 items-center outline-none has-[>textarea]:h-auto', this.classInput()), ...(ngDevMode ? [{ debugName: "class" }] : []));
|
|
7
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.1.5", ngImport: i0, type: ScInputGroup, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
8
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.1.5", type: ScInputGroup, isStandalone: true, selector: "div[scInputGroup]", inputs: { classInput: { classPropertyName: "classInput", publicName: "class", isSignal: true, isRequired: false, transformFunction: null } }, host: { attributes: { "data-slot": "input-group", "role": "group" }, properties: { "class": "class()" } }, ngImport: i0 });
|
|
9
|
+
}
|
|
10
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1.5", ngImport: i0, type: ScInputGroup, decorators: [{
|
|
11
|
+
type: Directive,
|
|
12
|
+
args: [{
|
|
13
|
+
selector: 'div[scInputGroup]',
|
|
14
|
+
host: {
|
|
15
|
+
'data-slot': 'input-group',
|
|
16
|
+
role: 'group',
|
|
17
|
+
'[class]': 'class()',
|
|
18
|
+
},
|
|
19
|
+
}]
|
|
20
|
+
}], propDecorators: { classInput: [{ type: i0.Input, args: [{ isSignal: true, alias: "class", required: false }] }] } });
|
|
21
|
+
//# sourceMappingURL=input-group.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"input-group.js","sourceRoot":"","sources":["../../../../../../../libs/ui/src/lib/components/input-group/input-group.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,SAAS,EAAE,KAAK,EAAE,MAAM,eAAe,CAAC;AAC3D,OAAO,EAAE,EAAE,EAAE,MAAM,aAAa,CAAC;;AAUjC,MAAM,OAAO,YAAY;IACd,UAAU,GAAG,KAAK,CAAS,EAAE,uDAAI,KAAK,EAAE,OAAO,GAAG,CAAC;IAEzC,KAAK,GAAG,QAAQ,CAAC,GAAG,EAAE,CACvC,EAAE,CACA,ulCAAulC,EACvlC,IAAI,CAAC,UAAU,EAAE,CAClB,iDACF,CAAC;uGARS,YAAY;2FAAZ,YAAY;;2FAAZ,YAAY;kBARxB,SAAS;mBAAC;oBACT,QAAQ,EAAE,mBAAmB;oBAC7B,IAAI,EAAE;wBACJ,WAAW,EAAE,aAAa;wBAC1B,IAAI,EAAE,OAAO;wBACb,SAAS,EAAE,SAAS;qBACrB;iBACF","sourcesContent":["import { computed, Directive, input } from '@angular/core';\nimport { cn } from '../../utils';\n\n@Directive({\n selector: 'div[scInputGroup]',\n host: {\n 'data-slot': 'input-group',\n role: 'group',\n '[class]': 'class()',\n },\n})\nexport class ScInputGroup {\n readonly classInput = input<string>('', { alias: 'class' });\n\n protected readonly class = computed(() =>\n cn(\n 'border-input dark:bg-input/30 has-[[data-slot=input-group-control]:focus-visible]:border-ring has-[[data-slot=input-group-control]:focus-visible]:ring-ring/50 has-[[data-slot][aria-invalid=true]]:ring-destructive/20 has-[[data-slot][aria-invalid=true]]:border-destructive dark:has-[[data-slot][aria-invalid=true]]:ring-destructive/40 has-disabled:bg-input/50 dark:has-disabled:bg-input/80 h-8 rounded-lg border transition-colors in-data-[slot=combobox-content]:focus-within:border-inherit in-data-[slot=combobox-content]:focus-within:ring-0 has-disabled:opacity-50 has-[[data-slot=input-group-control]:focus-visible]:ring-3 has-[[data-slot][aria-invalid=true]]:ring-3 has-[>[data-align=block-end]]:h-auto has-[>[data-align=block-end]]:flex-col has-[>[data-align=block-start]]:h-auto has-[>[data-align=block-start]]:flex-col has-[>[data-align=block-end]]:[&>input]:pt-3 has-[>[data-align=block-start]]:[&>input]:pb-3 has-[>[data-align=inline-end]]:[&>input]:pr-1.5 has-[>[data-align=inline-start]]:[&>input]:pl-1.5 group/input-group relative flex w-full min-w-0 items-center outline-none has-[>textarea]:h-auto',\n this.classInput(),\n ),\n );\n}\n"]}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
export * from './item-group';
|
|
2
|
+
export * from './item-separator';
|
|
3
|
+
export * from './item';
|
|
4
|
+
export * from './item-media';
|
|
5
|
+
export * from './item-body';
|
|
6
|
+
export * from './item-title';
|
|
7
|
+
export * from './item-description';
|
|
8
|
+
export * from './item-actions';
|
|
9
|
+
export * from './item-header';
|
|
10
|
+
export * from './item-footer';
|
|
11
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../../libs/ui/src/lib/components/item/index.ts"],"names":[],"mappings":"AAAA,cAAc,cAAc,CAAC;AAC7B,cAAc,kBAAkB,CAAC;AACjC,cAAc,QAAQ,CAAC;AACvB,cAAc,cAAc,CAAC;AAC7B,cAAc,aAAa,CAAC;AAC5B,cAAc,cAAc,CAAC;AAC7B,cAAc,oBAAoB,CAAC;AACnC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,eAAe,CAAC;AAC9B,cAAc,eAAe,CAAC","sourcesContent":["export * from './item-group';\nexport * from './item-separator';\nexport * from './item';\nexport * from './item-media';\nexport * from './item-body';\nexport * from './item-title';\nexport * from './item-description';\nexport * from './item-actions';\nexport * from './item-header';\nexport * from './item-footer';\n"]}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { computed, Directive, input } from '@angular/core';
|
|
2
|
+
import { cn } from '../../utils';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export class ScItemActions {
|
|
5
|
+
classInput = input('', { ...(ngDevMode ? { debugName: "classInput" } : {}), alias: 'class' });
|
|
6
|
+
class = computed(() => cn('gap-2 flex items-center', this.classInput()), ...(ngDevMode ? [{ debugName: "class" }] : []));
|
|
7
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.1.5", ngImport: i0, type: ScItemActions, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
8
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.1.5", type: ScItemActions, isStandalone: true, selector: "div[scItemActions]", inputs: { classInput: { classPropertyName: "classInput", publicName: "class", isSignal: true, isRequired: false, transformFunction: null } }, host: { attributes: { "data-slot": "item-actions" }, properties: { "class": "class()" } }, ngImport: i0 });
|
|
9
|
+
}
|
|
10
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1.5", ngImport: i0, type: ScItemActions, decorators: [{
|
|
11
|
+
type: Directive,
|
|
12
|
+
args: [{
|
|
13
|
+
selector: 'div[scItemActions]',
|
|
14
|
+
host: {
|
|
15
|
+
'data-slot': 'item-actions',
|
|
16
|
+
'[class]': 'class()',
|
|
17
|
+
},
|
|
18
|
+
}]
|
|
19
|
+
}], propDecorators: { classInput: [{ type: i0.Input, args: [{ isSignal: true, alias: "class", required: false }] }] } });
|
|
20
|
+
//# sourceMappingURL=item-actions.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"item-actions.js","sourceRoot":"","sources":["../../../../../../../libs/ui/src/lib/components/item/item-actions.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,SAAS,EAAE,KAAK,EAAE,MAAM,eAAe,CAAC;AAC3D,OAAO,EAAE,EAAE,EAAE,MAAM,aAAa,CAAC;;AASjC,MAAM,OAAO,aAAa;IACf,UAAU,GAAG,KAAK,CAAS,EAAE,uDAAI,KAAK,EAAE,OAAO,GAAG,CAAC;IAEzC,KAAK,GAAG,QAAQ,CAAC,GAAG,EAAE,CACvC,EAAE,CAAC,yBAAyB,EAAE,IAAI,CAAC,UAAU,EAAE,CAAC,iDACjD,CAAC;uGALS,aAAa;2FAAb,aAAa;;2FAAb,aAAa;kBAPzB,SAAS;mBAAC;oBACT,QAAQ,EAAE,oBAAoB;oBAC9B,IAAI,EAAE;wBACJ,WAAW,EAAE,cAAc;wBAC3B,SAAS,EAAE,SAAS;qBACrB;iBACF","sourcesContent":["import { computed, Directive, input } from '@angular/core';\nimport { cn } from '../../utils';\n\n@Directive({\n selector: 'div[scItemActions]',\n host: {\n 'data-slot': 'item-actions',\n '[class]': 'class()',\n },\n})\nexport class ScItemActions {\n readonly classInput = input<string>('', { alias: 'class' });\n\n protected readonly class = computed(() =>\n cn('gap-2 flex items-center', this.classInput()),\n );\n}\n"]}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { computed, Directive, input } from '@angular/core';
|
|
2
|
+
import { cn } from '../../utils';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export class ScItemBody {
|
|
5
|
+
classInput = input('', { ...(ngDevMode ? { debugName: "classInput" } : {}), alias: 'class' });
|
|
6
|
+
class = computed(() => cn('gap-1 group-data-[size=xs]/item:gap-0 flex flex-1 flex-col [&+[data-slot=item-body]]:flex-none', this.classInput()), ...(ngDevMode ? [{ debugName: "class" }] : []));
|
|
7
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.1.5", ngImport: i0, type: ScItemBody, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
8
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.1.5", type: ScItemBody, isStandalone: true, selector: "div[scItemBody]", inputs: { classInput: { classPropertyName: "classInput", publicName: "class", isSignal: true, isRequired: false, transformFunction: null } }, host: { attributes: { "data-slot": "item-body" }, properties: { "class": "class()" } }, ngImport: i0 });
|
|
9
|
+
}
|
|
10
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1.5", ngImport: i0, type: ScItemBody, decorators: [{
|
|
11
|
+
type: Directive,
|
|
12
|
+
args: [{
|
|
13
|
+
selector: 'div[scItemBody]',
|
|
14
|
+
host: {
|
|
15
|
+
'data-slot': 'item-body',
|
|
16
|
+
'[class]': 'class()',
|
|
17
|
+
},
|
|
18
|
+
}]
|
|
19
|
+
}], propDecorators: { classInput: [{ type: i0.Input, args: [{ isSignal: true, alias: "class", required: false }] }] } });
|
|
20
|
+
//# sourceMappingURL=item-body.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"item-body.js","sourceRoot":"","sources":["../../../../../../../libs/ui/src/lib/components/item/item-body.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,SAAS,EAAE,KAAK,EAAE,MAAM,eAAe,CAAC;AAC3D,OAAO,EAAE,EAAE,EAAE,MAAM,aAAa,CAAC;;AASjC,MAAM,OAAO,UAAU;IACZ,UAAU,GAAG,KAAK,CAAS,EAAE,uDAAI,KAAK,EAAE,OAAO,GAAG,CAAC;IAEzC,KAAK,GAAG,QAAQ,CAAC,GAAG,EAAE,CACvC,EAAE,CACA,gGAAgG,EAChG,IAAI,CAAC,UAAU,EAAE,CAClB,iDACF,CAAC;uGARS,UAAU;2FAAV,UAAU;;2FAAV,UAAU;kBAPtB,SAAS;mBAAC;oBACT,QAAQ,EAAE,iBAAiB;oBAC3B,IAAI,EAAE;wBACJ,WAAW,EAAE,WAAW;wBACxB,SAAS,EAAE,SAAS;qBACrB;iBACF","sourcesContent":["import { computed, Directive, input } from '@angular/core';\nimport { cn } from '../../utils';\n\n@Directive({\n selector: 'div[scItemBody]',\n host: {\n 'data-slot': 'item-body',\n '[class]': 'class()',\n },\n})\nexport class ScItemBody {\n readonly classInput = input<string>('', { alias: 'class' });\n\n protected readonly class = computed(() =>\n cn(\n 'gap-1 group-data-[size=xs]/item:gap-0 flex flex-1 flex-col [&+[data-slot=item-body]]:flex-none',\n this.classInput(),\n ),\n );\n}\n"]}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { computed, Directive, input } from '@angular/core';
|
|
2
|
+
import { cn } from '../../utils';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export class ScItemDescription {
|
|
5
|
+
classInput = input('', { ...(ngDevMode ? { debugName: "classInput" } : {}), alias: 'class' });
|
|
6
|
+
class = computed(() => cn('text-muted-foreground text-left text-sm leading-normal group-data-[size=xs]/item:text-xs [&>a:hover]:text-primary line-clamp-2 font-normal [&>a]:underline [&>a]:underline-offset-4', this.classInput()), ...(ngDevMode ? [{ debugName: "class" }] : []));
|
|
7
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.1.5", ngImport: i0, type: ScItemDescription, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
8
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.1.5", type: ScItemDescription, isStandalone: true, selector: "p[scItemDescription]", inputs: { classInput: { classPropertyName: "classInput", publicName: "class", isSignal: true, isRequired: false, transformFunction: null } }, host: { attributes: { "data-slot": "item-description" }, properties: { "class": "class()" } }, ngImport: i0 });
|
|
9
|
+
}
|
|
10
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1.5", ngImport: i0, type: ScItemDescription, decorators: [{
|
|
11
|
+
type: Directive,
|
|
12
|
+
args: [{
|
|
13
|
+
selector: 'p[scItemDescription]',
|
|
14
|
+
host: {
|
|
15
|
+
'data-slot': 'item-description',
|
|
16
|
+
'[class]': 'class()',
|
|
17
|
+
},
|
|
18
|
+
}]
|
|
19
|
+
}], propDecorators: { classInput: [{ type: i0.Input, args: [{ isSignal: true, alias: "class", required: false }] }] } });
|
|
20
|
+
//# sourceMappingURL=item-description.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"item-description.js","sourceRoot":"","sources":["../../../../../../../libs/ui/src/lib/components/item/item-description.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,SAAS,EAAE,KAAK,EAAE,MAAM,eAAe,CAAC;AAC3D,OAAO,EAAE,EAAE,EAAE,MAAM,aAAa,CAAC;;AASjC,MAAM,OAAO,iBAAiB;IACnB,UAAU,GAAG,KAAK,CAAS,EAAE,uDAAI,KAAK,EAAE,OAAO,GAAG,CAAC;IAEzC,KAAK,GAAG,QAAQ,CAAC,GAAG,EAAE,CACvC,EAAE,CACA,qLAAqL,EACrL,IAAI,CAAC,UAAU,EAAE,CAClB,iDACF,CAAC;uGARS,iBAAiB;2FAAjB,iBAAiB;;2FAAjB,iBAAiB;kBAP7B,SAAS;mBAAC;oBACT,QAAQ,EAAE,sBAAsB;oBAChC,IAAI,EAAE;wBACJ,WAAW,EAAE,kBAAkB;wBAC/B,SAAS,EAAE,SAAS;qBACrB;iBACF","sourcesContent":["import { computed, Directive, input } from '@angular/core';\nimport { cn } from '../../utils';\n\n@Directive({\n selector: 'p[scItemDescription]',\n host: {\n 'data-slot': 'item-description',\n '[class]': 'class()',\n },\n})\nexport class ScItemDescription {\n readonly classInput = input<string>('', { alias: 'class' });\n\n protected readonly class = computed(() =>\n cn(\n 'text-muted-foreground text-left text-sm leading-normal group-data-[size=xs]/item:text-xs [&>a:hover]:text-primary line-clamp-2 font-normal [&>a]:underline [&>a]:underline-offset-4',\n this.classInput(),\n ),\n );\n}\n"]}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { computed, Directive, input } from '@angular/core';
|
|
2
|
+
import { cn } from '../../utils';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export class ScItemFooter {
|
|
5
|
+
classInput = input('', { ...(ngDevMode ? { debugName: "classInput" } : {}), alias: 'class' });
|
|
6
|
+
class = computed(() => cn('gap-2 flex basis-full items-center justify-between', this.classInput()), ...(ngDevMode ? [{ debugName: "class" }] : []));
|
|
7
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.1.5", ngImport: i0, type: ScItemFooter, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
8
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.1.5", type: ScItemFooter, isStandalone: true, selector: "div[scItemFooter]", inputs: { classInput: { classPropertyName: "classInput", publicName: "class", isSignal: true, isRequired: false, transformFunction: null } }, host: { attributes: { "data-slot": "item-footer" }, properties: { "class": "class()" } }, ngImport: i0 });
|
|
9
|
+
}
|
|
10
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1.5", ngImport: i0, type: ScItemFooter, decorators: [{
|
|
11
|
+
type: Directive,
|
|
12
|
+
args: [{
|
|
13
|
+
selector: 'div[scItemFooter]',
|
|
14
|
+
host: {
|
|
15
|
+
'data-slot': 'item-footer',
|
|
16
|
+
'[class]': 'class()',
|
|
17
|
+
},
|
|
18
|
+
}]
|
|
19
|
+
}], propDecorators: { classInput: [{ type: i0.Input, args: [{ isSignal: true, alias: "class", required: false }] }] } });
|
|
20
|
+
//# sourceMappingURL=item-footer.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"item-footer.js","sourceRoot":"","sources":["../../../../../../../libs/ui/src/lib/components/item/item-footer.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,SAAS,EAAE,KAAK,EAAE,MAAM,eAAe,CAAC;AAC3D,OAAO,EAAE,EAAE,EAAE,MAAM,aAAa,CAAC;;AASjC,MAAM,OAAO,YAAY;IACd,UAAU,GAAG,KAAK,CAAS,EAAE,uDAAI,KAAK,EAAE,OAAO,GAAG,CAAC;IAEzC,KAAK,GAAG,QAAQ,CAAC,GAAG,EAAE,CACvC,EAAE,CAAC,oDAAoD,EAAE,IAAI,CAAC,UAAU,EAAE,CAAC,iDAC5E,CAAC;uGALS,YAAY;2FAAZ,YAAY;;2FAAZ,YAAY;kBAPxB,SAAS;mBAAC;oBACT,QAAQ,EAAE,mBAAmB;oBAC7B,IAAI,EAAE;wBACJ,WAAW,EAAE,aAAa;wBAC1B,SAAS,EAAE,SAAS;qBACrB;iBACF","sourcesContent":["import { computed, Directive, input } from '@angular/core';\nimport { cn } from '../../utils';\n\n@Directive({\n selector: 'div[scItemFooter]',\n host: {\n 'data-slot': 'item-footer',\n '[class]': 'class()',\n },\n})\nexport class ScItemFooter {\n readonly classInput = input<string>('', { alias: 'class' });\n\n protected readonly class = computed(() =>\n cn('gap-2 flex basis-full items-center justify-between', this.classInput()),\n );\n}\n"]}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { computed, Directive, input } from '@angular/core';
|
|
2
|
+
import { cn } from '../../utils';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export class ScItemGroup {
|
|
5
|
+
classInput = input('', { ...(ngDevMode ? { debugName: "classInput" } : {}), alias: 'class' });
|
|
6
|
+
class = computed(() => cn('gap-4 has-data-[size=sm]:gap-2.5 has-data-[size=xs]:gap-2 group/item-group flex w-full flex-col', this.classInput()), ...(ngDevMode ? [{ debugName: "class" }] : []));
|
|
7
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.1.5", ngImport: i0, type: ScItemGroup, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
8
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.1.5", type: ScItemGroup, isStandalone: true, selector: "div[scItemGroup]", inputs: { classInput: { classPropertyName: "classInput", publicName: "class", isSignal: true, isRequired: false, transformFunction: null } }, host: { attributes: { "data-slot": "item-group", "role": "list" }, properties: { "class": "class()" } }, ngImport: i0 });
|
|
9
|
+
}
|
|
10
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1.5", ngImport: i0, type: ScItemGroup, decorators: [{
|
|
11
|
+
type: Directive,
|
|
12
|
+
args: [{
|
|
13
|
+
selector: 'div[scItemGroup]',
|
|
14
|
+
host: {
|
|
15
|
+
'data-slot': 'item-group',
|
|
16
|
+
role: 'list',
|
|
17
|
+
'[class]': 'class()',
|
|
18
|
+
},
|
|
19
|
+
}]
|
|
20
|
+
}], propDecorators: { classInput: [{ type: i0.Input, args: [{ isSignal: true, alias: "class", required: false }] }] } });
|
|
21
|
+
//# sourceMappingURL=item-group.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"item-group.js","sourceRoot":"","sources":["../../../../../../../libs/ui/src/lib/components/item/item-group.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,SAAS,EAAE,KAAK,EAAE,MAAM,eAAe,CAAC;AAC3D,OAAO,EAAE,EAAE,EAAE,MAAM,aAAa,CAAC;;AAUjC,MAAM,OAAO,WAAW;IACb,UAAU,GAAG,KAAK,CAAS,EAAE,uDAAI,KAAK,EAAE,OAAO,GAAG,CAAC;IAEzC,KAAK,GAAG,QAAQ,CAAC,GAAG,EAAE,CACvC,EAAE,CACA,iGAAiG,EACjG,IAAI,CAAC,UAAU,EAAE,CAClB,iDACF,CAAC;uGARS,WAAW;2FAAX,WAAW;;2FAAX,WAAW;kBARvB,SAAS;mBAAC;oBACT,QAAQ,EAAE,kBAAkB;oBAC5B,IAAI,EAAE;wBACJ,WAAW,EAAE,YAAY;wBACzB,IAAI,EAAE,MAAM;wBACZ,SAAS,EAAE,SAAS;qBACrB;iBACF","sourcesContent":["import { computed, Directive, input } from '@angular/core';\nimport { cn } from '../../utils';\n\n@Directive({\n selector: 'div[scItemGroup]',\n host: {\n 'data-slot': 'item-group',\n role: 'list',\n '[class]': 'class()',\n },\n})\nexport class ScItemGroup {\n readonly classInput = input<string>('', { alias: 'class' });\n\n protected readonly class = computed(() =>\n cn(\n 'gap-4 has-data-[size=sm]:gap-2.5 has-data-[size=xs]:gap-2 group/item-group flex w-full flex-col',\n this.classInput(),\n ),\n );\n}\n"]}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { computed, Directive, input } from '@angular/core';
|
|
2
|
+
import { cn } from '../../utils';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export class ScItemHeader {
|
|
5
|
+
classInput = input('', { ...(ngDevMode ? { debugName: "classInput" } : {}), alias: 'class' });
|
|
6
|
+
class = computed(() => cn('gap-2 flex basis-full items-center justify-between', this.classInput()), ...(ngDevMode ? [{ debugName: "class" }] : []));
|
|
7
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.1.5", ngImport: i0, type: ScItemHeader, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
8
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.1.5", type: ScItemHeader, isStandalone: true, selector: "div[scItemHeader]", inputs: { classInput: { classPropertyName: "classInput", publicName: "class", isSignal: true, isRequired: false, transformFunction: null } }, host: { attributes: { "data-slot": "item-header" }, properties: { "class": "class()" } }, ngImport: i0 });
|
|
9
|
+
}
|
|
10
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1.5", ngImport: i0, type: ScItemHeader, decorators: [{
|
|
11
|
+
type: Directive,
|
|
12
|
+
args: [{
|
|
13
|
+
selector: 'div[scItemHeader]',
|
|
14
|
+
host: {
|
|
15
|
+
'data-slot': 'item-header',
|
|
16
|
+
'[class]': 'class()',
|
|
17
|
+
},
|
|
18
|
+
}]
|
|
19
|
+
}], propDecorators: { classInput: [{ type: i0.Input, args: [{ isSignal: true, alias: "class", required: false }] }] } });
|
|
20
|
+
//# sourceMappingURL=item-header.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"item-header.js","sourceRoot":"","sources":["../../../../../../../libs/ui/src/lib/components/item/item-header.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,SAAS,EAAE,KAAK,EAAE,MAAM,eAAe,CAAC;AAC3D,OAAO,EAAE,EAAE,EAAE,MAAM,aAAa,CAAC;;AASjC,MAAM,OAAO,YAAY;IACd,UAAU,GAAG,KAAK,CAAS,EAAE,uDAAI,KAAK,EAAE,OAAO,GAAG,CAAC;IAEzC,KAAK,GAAG,QAAQ,CAAC,GAAG,EAAE,CACvC,EAAE,CAAC,oDAAoD,EAAE,IAAI,CAAC,UAAU,EAAE,CAAC,iDAC5E,CAAC;uGALS,YAAY;2FAAZ,YAAY;;2FAAZ,YAAY;kBAPxB,SAAS;mBAAC;oBACT,QAAQ,EAAE,mBAAmB;oBAC7B,IAAI,EAAE;wBACJ,WAAW,EAAE,aAAa;wBAC1B,SAAS,EAAE,SAAS;qBACrB;iBACF","sourcesContent":["import { computed, Directive, input } from '@angular/core';\nimport { cn } from '../../utils';\n\n@Directive({\n selector: 'div[scItemHeader]',\n host: {\n 'data-slot': 'item-header',\n '[class]': 'class()',\n },\n})\nexport class ScItemHeader {\n readonly classInput = input<string>('', { alias: 'class' });\n\n protected readonly class = computed(() =>\n cn('gap-2 flex basis-full items-center justify-between', this.classInput()),\n );\n}\n"]}
|