@semantic-components/ui 0.64.0 → 0.66.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/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 +44 -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 +5 -6
- 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 +95 -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/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/select/index.js +8 -0
- package/esm2022/lib/components/select/index.js.map +1 -0
- package/esm2022/lib/components/select/select-icon.js +21 -0
- package/esm2022/lib/components/select/select-icon.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-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 +37 -0
- package/esm2022/lib/components/select/select-list.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-trigger-icon.js +20 -0
- package/esm2022/lib/components/select/select-trigger-icon.js.map +1 -0
- package/esm2022/lib/components/select/select-trigger.js +52 -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 +92 -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/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/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/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 +44 -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 +17 -0
- package/lib/components/menu-bar/menu-bar.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/select/index.d.ts +7 -0
- package/lib/components/select/select-icon.d.ts +7 -0
- package/lib/components/select/select-input.d.ts +8 -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 +11 -0
- package/lib/components/select/select-portal.d.ts +7 -0
- package/lib/components/select/select-trigger-icon.d.ts +7 -0
- package/lib/components/select/select-trigger.d.ts +13 -0
- package/lib/components/select/select-value.d.ts +7 -0
- package/lib/components/select/select.d.ts +20 -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/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/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,24 @@
|
|
|
1
|
+
import { computed, Directive, input, signal } from '@angular/core';
|
|
2
|
+
import { cn } from '../../utils';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export class ScAvatar {
|
|
5
|
+
classInput = input('', { ...(ngDevMode ? { debugName: "classInput" } : {}), alias: 'class' });
|
|
6
|
+
size = input('default', ...(ngDevMode ? [{ debugName: "size" }] : []));
|
|
7
|
+
/** Internal state for image loading */
|
|
8
|
+
imageStatus = signal('idle', ...(ngDevMode ? [{ debugName: "imageStatus" }] : []));
|
|
9
|
+
class = computed(() => cn('group/avatar relative flex size-8 shrink-0 rounded-full select-none', 'data-[size=lg]:size-10 data-[size=sm]:size-6', this.classInput()), ...(ngDevMode ? [{ debugName: "class" }] : []));
|
|
10
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.1.5", ngImport: i0, type: ScAvatar, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
11
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.1.5", type: ScAvatar, isStandalone: true, selector: "span[scAvatar]", inputs: { classInput: { classPropertyName: "classInput", publicName: "class", isSignal: true, isRequired: false, transformFunction: null }, size: { classPropertyName: "size", publicName: "size", isSignal: true, isRequired: false, transformFunction: null } }, host: { attributes: { "data-slot": "avatar" }, properties: { "attr.data-size": "size()", "class": "class()" } }, ngImport: i0 });
|
|
12
|
+
}
|
|
13
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1.5", ngImport: i0, type: ScAvatar, decorators: [{
|
|
14
|
+
type: Directive,
|
|
15
|
+
args: [{
|
|
16
|
+
selector: 'span[scAvatar]',
|
|
17
|
+
host: {
|
|
18
|
+
'data-slot': 'avatar',
|
|
19
|
+
'[attr.data-size]': 'size()',
|
|
20
|
+
'[class]': 'class()',
|
|
21
|
+
},
|
|
22
|
+
}]
|
|
23
|
+
}], propDecorators: { classInput: [{ type: i0.Input, args: [{ isSignal: true, alias: "class", required: false }] }], size: [{ type: i0.Input, args: [{ isSignal: true, alias: "size", required: false }] }] } });
|
|
24
|
+
//# sourceMappingURL=avatar.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"avatar.js","sourceRoot":"","sources":["../../../../../../../libs/ui/src/lib/components/avatar/avatar.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,SAAS,EAAE,KAAK,EAAE,MAAM,EAAE,MAAM,eAAe,CAAC;AACnE,OAAO,EAAE,EAAE,EAAE,MAAM,aAAa,CAAC;;AAajC,MAAM,OAAO,QAAQ;IACV,UAAU,GAAG,KAAK,CAAS,EAAE,uDAAI,KAAK,EAAE,OAAO,GAAG,CAAC;IACnD,IAAI,GAAG,KAAK,CAAe,SAAS,gDAAC,CAAC;IAE/C,uCAAuC;IAC9B,WAAW,GAAG,MAAM,CAAsB,MAAM,uDAAC,CAAC;IAExC,KAAK,GAAG,QAAQ,CAAC,GAAG,EAAE,CACvC,EAAE,CACA,qEAAqE,EACrE,8CAA8C,EAC9C,IAAI,CAAC,UAAU,EAAE,CAClB,iDACF,CAAC;uGAbS,QAAQ;2FAAR,QAAQ;;2FAAR,QAAQ;kBARpB,SAAS;mBAAC;oBACT,QAAQ,EAAE,gBAAgB;oBAC1B,IAAI,EAAE;wBACJ,WAAW,EAAE,QAAQ;wBACrB,kBAAkB,EAAE,QAAQ;wBAC5B,SAAS,EAAE,SAAS;qBACrB;iBACF","sourcesContent":["import { computed, Directive, input, signal } from '@angular/core';\nimport { cn } from '../../utils';\n\nexport type ScAvatarImageStatus = 'idle' | 'loading' | 'loaded' | 'error';\nexport type ScAvatarSize = 'sm' | 'default' | 'lg';\n\n@Directive({\n selector: 'span[scAvatar]',\n host: {\n 'data-slot': 'avatar',\n '[attr.data-size]': 'size()',\n '[class]': 'class()',\n },\n})\nexport class ScAvatar {\n readonly classInput = input<string>('', { alias: 'class' });\n readonly size = input<ScAvatarSize>('default');\n\n /** Internal state for image loading */\n readonly imageStatus = signal<ScAvatarImageStatus>('idle');\n\n protected readonly class = computed(() =>\n cn(\n 'group/avatar relative flex size-8 shrink-0 rounded-full select-none',\n 'data-[size=lg]:size-10 data-[size=sm]:size-6',\n this.classInput(),\n ),\n );\n}\n"]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../../libs/ui/src/lib/components/avatar/index.ts"],"names":[],"mappings":"AAAA,cAAc,UAAU,CAAC;AACzB,cAAc,gBAAgB,CAAC;AAC/B,cAAc,mBAAmB,CAAC;AAClC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,sBAAsB,CAAC;AACrC,cAAc,gBAAgB,CAAC","sourcesContent":["export * from './avatar';\nexport * from './avatar-badge';\nexport * from './avatar-fallback';\nexport * from './avatar-group';\nexport * from './avatar-group-count';\nexport * from './avatar-image';\n"]}
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
import { ChangeDetectionStrategy, Component, computed, effect, ElementRef, inject, input, output, signal, ViewEncapsulation, } from '@angular/core';
|
|
2
|
+
import { cn } from '../../utils';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export class ScBackdrop {
|
|
5
|
+
elementRef = inject(ElementRef);
|
|
6
|
+
classInput = input('', { ...(ngDevMode ? { debugName: "classInput" } : {}), alias: 'class' });
|
|
7
|
+
/**
|
|
8
|
+
* Controls the backdrop animation state
|
|
9
|
+
* When true: Triggers fade-in animation
|
|
10
|
+
* When false: Triggers fade-out animation
|
|
11
|
+
*/
|
|
12
|
+
open = input.required(...(ngDevMode ? [{ debugName: "open" }] : []));
|
|
13
|
+
state = signal('idle', ...(ngDevMode ? [{ debugName: "state" }] : []));
|
|
14
|
+
/**
|
|
15
|
+
* Emits when the close animation completes
|
|
16
|
+
*/
|
|
17
|
+
animationComplete = output();
|
|
18
|
+
class = computed(() => cn('pointer-events-none fixed inset-0 -z-50 bg-black/10 duration-100 supports-backdrop-filter:backdrop-blur-xs', 'data-idle:opacity-0', 'data-open:animate-in data-open:fade-in-0', 'data-closed:animate-out data-closed:fade-out-0', this.classInput()), ...(ngDevMode ? [{ debugName: "class" }] : []));
|
|
19
|
+
constructor() {
|
|
20
|
+
// Sync state with open input
|
|
21
|
+
effect(() => {
|
|
22
|
+
const isOpen = this.open();
|
|
23
|
+
this.state.set(isOpen ? 'open' : 'closed');
|
|
24
|
+
});
|
|
25
|
+
}
|
|
26
|
+
onAnimationEnd(event) {
|
|
27
|
+
// Only emit when close animation completes
|
|
28
|
+
if (!this.open() && event.target === this.elementRef.nativeElement) {
|
|
29
|
+
this.state.set('idle');
|
|
30
|
+
this.animationComplete.emit();
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.1.5", ngImport: i0, type: ScBackdrop, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
34
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "21.1.5", type: ScBackdrop, isStandalone: true, selector: "div[scBackdrop]", inputs: { classInput: { classPropertyName: "classInput", publicName: "class", isSignal: true, isRequired: false, transformFunction: null }, open: { classPropertyName: "open", publicName: "open", isSignal: true, isRequired: true, transformFunction: null } }, outputs: { animationComplete: "animationComplete" }, host: { attributes: { "data-slot": "backdrop" }, listeners: { "animationend": "onAnimationEnd($event)" }, properties: { "class": "class()", "attr.data-idle": "state() === \"idle\" ? \"\" : null", "attr.data-open": "state() === \"open\" ? \"\" : null", "attr.data-closed": "state() === \"closed\" ? \"\" : null" } }, ngImport: i0, template: '', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
35
|
+
}
|
|
36
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1.5", ngImport: i0, type: ScBackdrop, decorators: [{
|
|
37
|
+
type: Component,
|
|
38
|
+
args: [{
|
|
39
|
+
selector: 'div[scBackdrop]',
|
|
40
|
+
template: '',
|
|
41
|
+
host: {
|
|
42
|
+
'data-slot': 'backdrop',
|
|
43
|
+
'[class]': 'class()',
|
|
44
|
+
'[attr.data-idle]': 'state() === "idle" ? "" : null',
|
|
45
|
+
'[attr.data-open]': 'state() === "open" ? "" : null',
|
|
46
|
+
'[attr.data-closed]': 'state() === "closed" ? "" : null',
|
|
47
|
+
'(animationend)': 'onAnimationEnd($event)',
|
|
48
|
+
},
|
|
49
|
+
encapsulation: ViewEncapsulation.None,
|
|
50
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
51
|
+
}]
|
|
52
|
+
}], ctorParameters: () => [], propDecorators: { classInput: [{ type: i0.Input, args: [{ isSignal: true, alias: "class", required: false }] }], open: [{ type: i0.Input, args: [{ isSignal: true, alias: "open", required: true }] }], animationComplete: [{ type: i0.Output, args: ["animationComplete"] }] } });
|
|
53
|
+
//# sourceMappingURL=backdrop.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"backdrop.js","sourceRoot":"","sources":["../../../../../../../libs/ui/src/lib/components/backdrop/backdrop.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;;AAkBjC,MAAM,OAAO,UAAU;IACJ,UAAU,GAAG,MAAM,CAAC,UAAU,CAAC,CAAC;IAExC,UAAU,GAAG,KAAK,CAAS,EAAE,uDAAI,KAAK,EAAE,OAAO,GAAG,CAAC;IAE5D;;;;OAIG;IACM,IAAI,GAAG,KAAK,CAAC,QAAQ,+CAAW,CAAC;IAEvB,KAAK,GAAG,MAAM,CAAkB,MAAM,iDAAC,CAAC;IAE3D;;OAEG;IACM,iBAAiB,GAAG,MAAM,EAAQ,CAAC;IAEzB,KAAK,GAAG,QAAQ,CAAC,GAAG,EAAE,CACvC,EAAE,CACA,4GAA4G,EAC5G,qBAAqB,EACrB,0CAA0C,EAC1C,gDAAgD,EAChD,IAAI,CAAC,UAAU,EAAE,CAClB,iDACF,CAAC;IAEF;QACE,6BAA6B;QAC7B,MAAM,CAAC,GAAG,EAAE;YACV,MAAM,MAAM,GAAG,IAAI,CAAC,IAAI,EAAE,CAAC;YAC3B,IAAI,CAAC,KAAK,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,QAAQ,CAAC,CAAC;QAC7C,CAAC,CAAC,CAAC;IACL,CAAC;IAES,cAAc,CAAC,KAAqB;QAC5C,2CAA2C;QAC3C,IAAI,CAAC,IAAI,CAAC,IAAI,EAAE,IAAI,KAAK,CAAC,MAAM,KAAK,IAAI,CAAC,UAAU,CAAC,aAAa,EAAE,CAAC;YACnE,IAAI,CAAC,KAAK,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;YACvB,IAAI,CAAC,iBAAiB,CAAC,IAAI,EAAE,CAAC;QAChC,CAAC;IACH,CAAC;uGA3CU,UAAU;2FAAV,UAAU,8rBAZX,EAAE;;2FAYD,UAAU;kBAdtB,SAAS;mBAAC;oBACT,QAAQ,EAAE,iBAAiB;oBAC3B,QAAQ,EAAE,EAAE;oBACZ,IAAI,EAAE;wBACJ,WAAW,EAAE,UAAU;wBACvB,SAAS,EAAE,SAAS;wBACpB,kBAAkB,EAAE,gCAAgC;wBACpD,kBAAkB,EAAE,gCAAgC;wBACpD,oBAAoB,EAAE,kCAAkC;wBACxD,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';\n\ntype ScBackdropState = 'idle' | 'open' | 'closed';\n\n@Component({\n selector: 'div[scBackdrop]',\n template: '',\n host: {\n 'data-slot': 'backdrop',\n '[class]': 'class()',\n '[attr.data-idle]': 'state() === \"idle\" ? \"\" : null',\n '[attr.data-open]': 'state() === \"open\" ? \"\" : null',\n '[attr.data-closed]': 'state() === \"closed\" ? \"\" : null',\n '(animationend)': 'onAnimationEnd($event)',\n },\n encapsulation: ViewEncapsulation.None,\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class ScBackdrop {\n private readonly elementRef = inject(ElementRef);\n\n readonly classInput = input<string>('', { alias: 'class' });\n\n /**\n * Controls the backdrop animation state\n * When true: Triggers fade-in animation\n * When false: Triggers fade-out animation\n */\n readonly open = input.required<boolean>();\n\n protected readonly state = signal<ScBackdropState>('idle');\n\n /**\n * Emits when the close animation completes\n */\n readonly animationComplete = output<void>();\n\n protected readonly class = computed(() =>\n cn(\n 'pointer-events-none fixed inset-0 -z-50 bg-black/10 duration-100 supports-backdrop-filter:backdrop-blur-xs',\n 'data-idle:opacity-0',\n 'data-open:animate-in data-open:fade-in-0',\n 'data-closed:animate-out data-closed:fade-out-0',\n this.classInput(),\n ),\n );\n\n constructor() {\n // Sync state with open input\n effect(() => {\n const isOpen = this.open();\n this.state.set(isOpen ? 'open' : 'closed');\n });\n }\n\n protected onAnimationEnd(event: AnimationEvent): void {\n // Only emit when close animation completes\n if (!this.open() && event.target === this.elementRef.nativeElement) {\n this.state.set('idle');\n this.animationComplete.emit();\n }\n }\n}\n"]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../../libs/ui/src/lib/components/backdrop/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,YAAY,CAAC","sourcesContent":["export { ScBackdrop } from './backdrop';\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 badgeVariants = cva('inline-flex items-center justify-center rounded-full border border-transparent px-2 py-0.5 text-xs font-medium w-fit whitespace-nowrap shrink-0 [&>svg]:size-3 gap-1 [&>svg]:pointer-events-none focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:ring-[3px] aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive transition-[color,box-shadow] overflow-hidden', {
|
|
6
|
+
variants: {
|
|
7
|
+
variant: {
|
|
8
|
+
default: 'bg-primary text-primary-foreground [a&]:hover:bg-primary/90',
|
|
9
|
+
secondary: 'bg-secondary text-secondary-foreground [a&]:hover:bg-secondary/90',
|
|
10
|
+
destructive: 'bg-destructive text-white [a&]:hover:bg-destructive/90 focus-visible:ring-destructive/20 dark:focus-visible:ring-destructive/40 dark:bg-destructive/60',
|
|
11
|
+
outline: 'border-border text-foreground [a&]:hover:bg-accent [a&]:hover:text-accent-foreground',
|
|
12
|
+
ghost: '[a&]:hover:bg-accent [a&]:hover:text-accent-foreground',
|
|
13
|
+
link: 'text-primary underline-offset-4 [a&]:hover:underline',
|
|
14
|
+
},
|
|
15
|
+
},
|
|
16
|
+
defaultVariants: {
|
|
17
|
+
variant: 'default',
|
|
18
|
+
},
|
|
19
|
+
});
|
|
20
|
+
export class ScBadge {
|
|
21
|
+
classInput = input('', { ...(ngDevMode ? { debugName: "classInput" } : {}), alias: 'class' });
|
|
22
|
+
variant = input('default', ...(ngDevMode ? [{ debugName: "variant" }] : []));
|
|
23
|
+
class = computed(() => cn(badgeVariants({ variant: this.variant() }), this.classInput()), ...(ngDevMode ? [{ debugName: "class" }] : []));
|
|
24
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.1.5", ngImport: i0, type: ScBadge, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
25
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.1.5", type: ScBadge, isStandalone: true, selector: "div[scBadge], span[scBadge]", inputs: { classInput: { classPropertyName: "classInput", publicName: "class", isSignal: true, isRequired: false, transformFunction: null }, variant: { classPropertyName: "variant", publicName: "variant", isSignal: true, isRequired: false, transformFunction: null } }, host: { attributes: { "data-slot": "badge" }, properties: { "class": "class()" } }, ngImport: i0 });
|
|
26
|
+
}
|
|
27
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1.5", ngImport: i0, type: ScBadge, decorators: [{
|
|
28
|
+
type: Directive,
|
|
29
|
+
args: [{
|
|
30
|
+
selector: 'div[scBadge], span[scBadge]',
|
|
31
|
+
host: {
|
|
32
|
+
'data-slot': 'badge',
|
|
33
|
+
'[class]': 'class()',
|
|
34
|
+
},
|
|
35
|
+
}]
|
|
36
|
+
}], propDecorators: { classInput: [{ type: i0.Input, args: [{ isSignal: true, alias: "class", required: false }] }], variant: [{ type: i0.Input, args: [{ isSignal: true, alias: "variant", required: false }] }] } });
|
|
37
|
+
//# sourceMappingURL=badge.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"badge.js","sourceRoot":"","sources":["../../../../../../../libs/ui/src/lib/components/badge/badge.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,SAAS,EAAE,KAAK,EAAE,MAAM,eAAe,CAAC;AAC3D,OAAO,EAAE,GAAG,EAAgB,MAAM,0BAA0B,CAAC;AAC7D,OAAO,EAAE,EAAE,EAAE,MAAM,aAAa,CAAC;;AAEjC,MAAM,aAAa,GAAG,GAAG,CACvB,qaAAqa,EACra;IACE,QAAQ,EAAE;QACR,OAAO,EAAE;YACP,OAAO,EAAE,6DAA6D;YACtE,SAAS,EACP,mEAAmE;YACrE,WAAW,EACT,wJAAwJ;YAC1J,OAAO,EACL,sFAAsF;YACxF,KAAK,EAAE,wDAAwD;YAC/D,IAAI,EAAE,sDAAsD;SAC7D;KACF;IACD,eAAe,EAAE;QACf,OAAO,EAAE,SAAS;KACnB;CACF,CACF,CAAC;AAWF,MAAM,OAAO,OAAO;IACT,UAAU,GAAG,KAAK,CAAS,EAAE,uDAAI,KAAK,EAAE,OAAO,GAAG,CAAC;IACnD,OAAO,GAAG,KAAK,CAA6B,SAAS,mDAAC,CAAC;IAE7C,KAAK,GAAG,QAAQ,CAAC,GAAG,EAAE,CACvC,EAAE,CAAC,aAAa,CAAC,EAAE,OAAO,EAAE,IAAI,CAAC,OAAO,EAAE,EAAE,CAAC,EAAE,IAAI,CAAC,UAAU,EAAE,CAAC,iDAClE,CAAC;uGANS,OAAO;2FAAP,OAAO;;2FAAP,OAAO;kBAPnB,SAAS;mBAAC;oBACT,QAAQ,EAAE,6BAA6B;oBACvC,IAAI,EAAE;wBACJ,WAAW,EAAE,OAAO;wBACpB,SAAS,EAAE,SAAS;qBACrB;iBACF","sourcesContent":["import { computed, Directive, input } from '@angular/core';\nimport { cva, VariantProps } from 'class-variance-authority';\nimport { cn } from '../../utils';\n\nconst badgeVariants = cva(\n 'inline-flex items-center justify-center rounded-full border border-transparent px-2 py-0.5 text-xs font-medium w-fit whitespace-nowrap shrink-0 [&>svg]:size-3 gap-1 [&>svg]:pointer-events-none focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:ring-[3px] aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive transition-[color,box-shadow] overflow-hidden',\n {\n variants: {\n variant: {\n default: 'bg-primary text-primary-foreground [a&]:hover:bg-primary/90',\n secondary:\n 'bg-secondary text-secondary-foreground [a&]:hover:bg-secondary/90',\n destructive:\n 'bg-destructive text-white [a&]:hover:bg-destructive/90 focus-visible:ring-destructive/20 dark:focus-visible:ring-destructive/40 dark:bg-destructive/60',\n outline:\n 'border-border text-foreground [a&]:hover:bg-accent [a&]:hover:text-accent-foreground',\n ghost: '[a&]:hover:bg-accent [a&]:hover:text-accent-foreground',\n link: 'text-primary underline-offset-4 [a&]:hover:underline',\n },\n },\n defaultVariants: {\n variant: 'default',\n },\n },\n);\n\nexport type ScBadgeVariants = VariantProps<typeof badgeVariants>;\n\n@Directive({\n selector: 'div[scBadge], span[scBadge]',\n host: {\n 'data-slot': 'badge',\n '[class]': 'class()',\n },\n})\nexport class ScBadge {\n readonly classInput = input<string>('', { alias: 'class' });\n readonly variant = input<ScBadgeVariants['variant']>('default');\n\n protected readonly class = computed(() =>\n cn(badgeVariants({ variant: this.variant() }), this.classInput()),\n );\n}\n"]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../../libs/ui/src/lib/components/badge/index.ts"],"names":[],"mappings":"AAAA,cAAc,SAAS,CAAC","sourcesContent":["export * from './badge';\n"]}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import { ChangeDetectionStrategy, Component, computed, input, ViewEncapsulation, } from '@angular/core';
|
|
2
|
+
import { SiEllipsisIcon } from '@semantic-icons/lucide-icons';
|
|
3
|
+
import { cn } from '../../utils';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export class ScBreadcrumbEllipsis {
|
|
6
|
+
classInput = input('', { ...(ngDevMode ? { debugName: "classInput" } : {}), alias: 'class' });
|
|
7
|
+
class = computed(() => cn('flex size-9 items-center justify-center', this.classInput()), ...(ngDevMode ? [{ debugName: "class" }] : []));
|
|
8
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.1.5", ngImport: i0, type: ScBreadcrumbEllipsis, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
9
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "21.1.5", type: ScBreadcrumbEllipsis, isStandalone: true, selector: "span[scBreadcrumbEllipsis]", inputs: { classInput: { classPropertyName: "classInput", publicName: "class", isSignal: true, isRequired: false, transformFunction: null } }, host: { attributes: { "data-slot": "breadcrumb-ellipsis", "role": "presentation", "aria-hidden": "true" }, properties: { "class": "class()" } }, ngImport: i0, template: `
|
|
10
|
+
<svg siEllipsisIcon class="size-4"></svg>
|
|
11
|
+
<span class="sr-only">More</span>
|
|
12
|
+
`, isInline: true, dependencies: [{ kind: "component", type: SiEllipsisIcon, selector: "svg[siEllipsisIcon]", inputs: ["width", "height", "viewBox", "fill", "stroke", "stroke-width", "stroke-linecap", "stroke-linejoin"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
13
|
+
}
|
|
14
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1.5", ngImport: i0, type: ScBreadcrumbEllipsis, decorators: [{
|
|
15
|
+
type: Component,
|
|
16
|
+
args: [{
|
|
17
|
+
selector: 'span[scBreadcrumbEllipsis]',
|
|
18
|
+
imports: [SiEllipsisIcon],
|
|
19
|
+
host: {
|
|
20
|
+
'data-slot': 'breadcrumb-ellipsis',
|
|
21
|
+
role: 'presentation',
|
|
22
|
+
'aria-hidden': 'true',
|
|
23
|
+
'[class]': 'class()',
|
|
24
|
+
},
|
|
25
|
+
template: `
|
|
26
|
+
<svg siEllipsisIcon class="size-4"></svg>
|
|
27
|
+
<span class="sr-only">More</span>
|
|
28
|
+
`,
|
|
29
|
+
encapsulation: ViewEncapsulation.None,
|
|
30
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
31
|
+
}]
|
|
32
|
+
}], propDecorators: { classInput: [{ type: i0.Input, args: [{ isSignal: true, alias: "class", required: false }] }] } });
|
|
33
|
+
//# sourceMappingURL=breadcrumb-ellipsis.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"breadcrumb-ellipsis.js","sourceRoot":"","sources":["../../../../../../../libs/ui/src/lib/components/breadcrumb/breadcrumb-ellipsis.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,uBAAuB,EACvB,SAAS,EACT,QAAQ,EACR,KAAK,EACL,iBAAiB,GAClB,MAAM,eAAe,CAAC;AACvB,OAAO,EAAE,cAAc,EAAE,MAAM,8BAA8B,CAAC;AAC9D,OAAO,EAAE,EAAE,EAAE,MAAM,aAAa,CAAC;;AAkBjC,MAAM,OAAO,oBAAoB;IACtB,UAAU,GAAG,KAAK,CAAS,EAAE,uDAAI,KAAK,EAAE,OAAO,GAAG,CAAC;IAEzC,KAAK,GAAG,QAAQ,CAAC,GAAG,EAAE,CACvC,EAAE,CAAC,yCAAyC,EAAE,IAAI,CAAC,UAAU,EAAE,CAAC,iDACjE,CAAC;uGALS,oBAAoB;2FAApB,oBAAoB,qXAPrB;;;GAGT,4DAVS,cAAc;;2FAcb,oBAAoB;kBAhBhC,SAAS;mBAAC;oBACT,QAAQ,EAAE,4BAA4B;oBACtC,OAAO,EAAE,CAAC,cAAc,CAAC;oBACzB,IAAI,EAAE;wBACJ,WAAW,EAAE,qBAAqB;wBAClC,IAAI,EAAE,cAAc;wBACpB,aAAa,EAAE,MAAM;wBACrB,SAAS,EAAE,SAAS;qBACrB;oBACD,QAAQ,EAAE;;;GAGT;oBACD,aAAa,EAAE,iBAAiB,CAAC,IAAI;oBACrC,eAAe,EAAE,uBAAuB,CAAC,MAAM;iBAChD","sourcesContent":["import {\n ChangeDetectionStrategy,\n Component,\n computed,\n input,\n ViewEncapsulation,\n} from '@angular/core';\nimport { SiEllipsisIcon } from '@semantic-icons/lucide-icons';\nimport { cn } from '../../utils';\n\n@Component({\n selector: 'span[scBreadcrumbEllipsis]',\n imports: [SiEllipsisIcon],\n host: {\n 'data-slot': 'breadcrumb-ellipsis',\n role: 'presentation',\n 'aria-hidden': 'true',\n '[class]': 'class()',\n },\n template: `\n <svg siEllipsisIcon class=\"size-4\"></svg>\n <span class=\"sr-only\">More</span>\n `,\n encapsulation: ViewEncapsulation.None,\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class ScBreadcrumbEllipsis {\n readonly classInput = input<string>('', { alias: 'class' });\n\n protected readonly class = computed(() =>\n cn('flex size-9 items-center justify-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 ScBreadcrumbItem {
|
|
5
|
+
classInput = input('', { ...(ngDevMode ? { debugName: "classInput" } : {}), alias: 'class' });
|
|
6
|
+
class = computed(() => cn('inline-flex items-center gap-1.5', this.classInput()), ...(ngDevMode ? [{ debugName: "class" }] : []));
|
|
7
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.1.5", ngImport: i0, type: ScBreadcrumbItem, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
8
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.1.5", type: ScBreadcrumbItem, isStandalone: true, selector: "li[scBreadcrumbItem]", inputs: { classInput: { classPropertyName: "classInput", publicName: "class", isSignal: true, isRequired: false, transformFunction: null } }, host: { attributes: { "data-slot": "breadcrumb-item" }, properties: { "class": "class()" } }, ngImport: i0 });
|
|
9
|
+
}
|
|
10
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1.5", ngImport: i0, type: ScBreadcrumbItem, decorators: [{
|
|
11
|
+
type: Directive,
|
|
12
|
+
args: [{
|
|
13
|
+
selector: 'li[scBreadcrumbItem]',
|
|
14
|
+
host: {
|
|
15
|
+
'data-slot': 'breadcrumb-item',
|
|
16
|
+
'[class]': 'class()',
|
|
17
|
+
},
|
|
18
|
+
}]
|
|
19
|
+
}], propDecorators: { classInput: [{ type: i0.Input, args: [{ isSignal: true, alias: "class", required: false }] }] } });
|
|
20
|
+
//# sourceMappingURL=breadcrumb-item.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"breadcrumb-item.js","sourceRoot":"","sources":["../../../../../../../libs/ui/src/lib/components/breadcrumb/breadcrumb-item.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,CAAC,kCAAkC,EAAE,IAAI,CAAC,UAAU,EAAE,CAAC,iDAC1D,CAAC;uGALS,gBAAgB;2FAAhB,gBAAgB;;2FAAhB,gBAAgB;kBAP5B,SAAS;mBAAC;oBACT,QAAQ,EAAE,sBAAsB;oBAChC,IAAI,EAAE;wBACJ,WAAW,EAAE,iBAAiB;wBAC9B,SAAS,EAAE,SAAS;qBACrB;iBACF","sourcesContent":["import { computed, Directive, input } from '@angular/core';\nimport { cn } from '../../utils';\n\n@Directive({\n selector: 'li[scBreadcrumbItem]',\n host: {\n 'data-slot': 'breadcrumb-item',\n '[class]': 'class()',\n },\n})\nexport class ScBreadcrumbItem {\n readonly classInput = input<string>('', { alias: 'class' });\n\n protected readonly class = computed(() =>\n cn('inline-flex items-center gap-1.5', 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 ScBreadcrumbLink {
|
|
5
|
+
classInput = input('', { ...(ngDevMode ? { debugName: "classInput" } : {}), alias: 'class' });
|
|
6
|
+
class = computed(() => cn('hover:text-foreground transition-colors', this.classInput()), ...(ngDevMode ? [{ debugName: "class" }] : []));
|
|
7
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.1.5", ngImport: i0, type: ScBreadcrumbLink, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
8
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.1.5", type: ScBreadcrumbLink, isStandalone: true, selector: "a[scBreadcrumbLink]", inputs: { classInput: { classPropertyName: "classInput", publicName: "class", isSignal: true, isRequired: false, transformFunction: null } }, host: { attributes: { "data-slot": "breadcrumb-link" }, properties: { "class": "class()" } }, ngImport: i0 });
|
|
9
|
+
}
|
|
10
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1.5", ngImport: i0, type: ScBreadcrumbLink, decorators: [{
|
|
11
|
+
type: Directive,
|
|
12
|
+
args: [{
|
|
13
|
+
selector: 'a[scBreadcrumbLink]',
|
|
14
|
+
host: {
|
|
15
|
+
'data-slot': 'breadcrumb-link',
|
|
16
|
+
'[class]': 'class()',
|
|
17
|
+
},
|
|
18
|
+
}]
|
|
19
|
+
}], propDecorators: { classInput: [{ type: i0.Input, args: [{ isSignal: true, alias: "class", required: false }] }] } });
|
|
20
|
+
//# sourceMappingURL=breadcrumb-link.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"breadcrumb-link.js","sourceRoot":"","sources":["../../../../../../../libs/ui/src/lib/components/breadcrumb/breadcrumb-link.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,CAAC,yCAAyC,EAAE,IAAI,CAAC,UAAU,EAAE,CAAC,iDACjE,CAAC;uGALS,gBAAgB;2FAAhB,gBAAgB;;2FAAhB,gBAAgB;kBAP5B,SAAS;mBAAC;oBACT,QAAQ,EAAE,qBAAqB;oBAC/B,IAAI,EAAE;wBACJ,WAAW,EAAE,iBAAiB;wBAC9B,SAAS,EAAE,SAAS;qBACrB;iBACF","sourcesContent":["import { computed, Directive, input } from '@angular/core';\nimport { cn } from '../../utils';\n\n@Directive({\n selector: 'a[scBreadcrumbLink]',\n host: {\n 'data-slot': 'breadcrumb-link',\n '[class]': 'class()',\n },\n})\nexport class ScBreadcrumbLink {\n readonly classInput = input<string>('', { alias: 'class' });\n\n protected readonly class = computed(() =>\n cn('hover:text-foreground transition-colors', 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 ScBreadcrumbList {
|
|
5
|
+
classInput = input('', { ...(ngDevMode ? { debugName: "classInput" } : {}), alias: 'class' });
|
|
6
|
+
class = computed(() => cn('text-muted-foreground flex flex-wrap items-center gap-1.5 text-sm break-words sm:gap-2.5', this.classInput()), ...(ngDevMode ? [{ debugName: "class" }] : []));
|
|
7
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.1.5", ngImport: i0, type: ScBreadcrumbList, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
8
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.1.5", type: ScBreadcrumbList, isStandalone: true, selector: "ol[scBreadcrumbList]", inputs: { classInput: { classPropertyName: "classInput", publicName: "class", isSignal: true, isRequired: false, transformFunction: null } }, host: { attributes: { "data-slot": "breadcrumb-list" }, properties: { "class": "class()" } }, ngImport: i0 });
|
|
9
|
+
}
|
|
10
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1.5", ngImport: i0, type: ScBreadcrumbList, decorators: [{
|
|
11
|
+
type: Directive,
|
|
12
|
+
args: [{
|
|
13
|
+
selector: 'ol[scBreadcrumbList]',
|
|
14
|
+
host: {
|
|
15
|
+
'data-slot': 'breadcrumb-list',
|
|
16
|
+
'[class]': 'class()',
|
|
17
|
+
},
|
|
18
|
+
}]
|
|
19
|
+
}], propDecorators: { classInput: [{ type: i0.Input, args: [{ isSignal: true, alias: "class", required: false }] }] } });
|
|
20
|
+
//# sourceMappingURL=breadcrumb-list.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"breadcrumb-list.js","sourceRoot":"","sources":["../../../../../../../libs/ui/src/lib/components/breadcrumb/breadcrumb-list.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,0FAA0F,EAC1F,IAAI,CAAC,UAAU,EAAE,CAClB,iDACF,CAAC;uGARS,gBAAgB;2FAAhB,gBAAgB;;2FAAhB,gBAAgB;kBAP5B,SAAS;mBAAC;oBACT,QAAQ,EAAE,sBAAsB;oBAChC,IAAI,EAAE;wBACJ,WAAW,EAAE,iBAAiB;wBAC9B,SAAS,EAAE,SAAS;qBACrB;iBACF","sourcesContent":["import { computed, Directive, input } from '@angular/core';\nimport { cn } from '../../utils';\n\n@Directive({\n selector: 'ol[scBreadcrumbList]',\n host: {\n 'data-slot': 'breadcrumb-list',\n '[class]': 'class()',\n },\n})\nexport class ScBreadcrumbList {\n readonly classInput = input<string>('', { alias: 'class' });\n\n protected readonly class = computed(() =>\n cn(\n 'text-muted-foreground flex flex-wrap items-center gap-1.5 text-sm break-words sm:gap-2.5',\n this.classInput(),\n ),\n );\n}\n"]}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { computed, Directive, input } from '@angular/core';
|
|
2
|
+
import { cn } from '../../utils';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export class ScBreadcrumbPage {
|
|
5
|
+
classInput = input('', { ...(ngDevMode ? { debugName: "classInput" } : {}), alias: 'class' });
|
|
6
|
+
class = computed(() => cn('text-foreground font-normal', this.classInput()), ...(ngDevMode ? [{ debugName: "class" }] : []));
|
|
7
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.1.5", ngImport: i0, type: ScBreadcrumbPage, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
8
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.1.5", type: ScBreadcrumbPage, isStandalone: true, selector: "span[scBreadcrumbPage]", inputs: { classInput: { classPropertyName: "classInput", publicName: "class", isSignal: true, isRequired: false, transformFunction: null } }, host: { attributes: { "data-slot": "breadcrumb-page", "role": "link", "aria-disabled": "true", "aria-current": "page" }, properties: { "class": "class()" } }, ngImport: i0 });
|
|
9
|
+
}
|
|
10
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1.5", ngImport: i0, type: ScBreadcrumbPage, decorators: [{
|
|
11
|
+
type: Directive,
|
|
12
|
+
args: [{
|
|
13
|
+
selector: 'span[scBreadcrumbPage]',
|
|
14
|
+
host: {
|
|
15
|
+
'data-slot': 'breadcrumb-page',
|
|
16
|
+
role: 'link',
|
|
17
|
+
'aria-disabled': 'true',
|
|
18
|
+
'aria-current': 'page',
|
|
19
|
+
'[class]': 'class()',
|
|
20
|
+
},
|
|
21
|
+
}]
|
|
22
|
+
}], propDecorators: { classInput: [{ type: i0.Input, args: [{ isSignal: true, alias: "class", required: false }] }] } });
|
|
23
|
+
//# sourceMappingURL=breadcrumb-page.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"breadcrumb-page.js","sourceRoot":"","sources":["../../../../../../../libs/ui/src/lib/components/breadcrumb/breadcrumb-page.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,SAAS,EAAE,KAAK,EAAE,MAAM,eAAe,CAAC;AAC3D,OAAO,EAAE,EAAE,EAAE,MAAM,aAAa,CAAC;;AAYjC,MAAM,OAAO,gBAAgB;IAClB,UAAU,GAAG,KAAK,CAAS,EAAE,uDAAI,KAAK,EAAE,OAAO,GAAG,CAAC;IAEzC,KAAK,GAAG,QAAQ,CAAC,GAAG,EAAE,CACvC,EAAE,CAAC,6BAA6B,EAAE,IAAI,CAAC,UAAU,EAAE,CAAC,iDACrD,CAAC;uGALS,gBAAgB;2FAAhB,gBAAgB;;2FAAhB,gBAAgB;kBAV5B,SAAS;mBAAC;oBACT,QAAQ,EAAE,wBAAwB;oBAClC,IAAI,EAAE;wBACJ,WAAW,EAAE,iBAAiB;wBAC9B,IAAI,EAAE,MAAM;wBACZ,eAAe,EAAE,MAAM;wBACvB,cAAc,EAAE,MAAM;wBACtB,SAAS,EAAE,SAAS;qBACrB;iBACF","sourcesContent":["import { computed, Directive, input } from '@angular/core';\nimport { cn } from '../../utils';\n\n@Directive({\n selector: 'span[scBreadcrumbPage]',\n host: {\n 'data-slot': 'breadcrumb-page',\n role: 'link',\n 'aria-disabled': 'true',\n 'aria-current': 'page',\n '[class]': 'class()',\n },\n})\nexport class ScBreadcrumbPage {\n readonly classInput = input<string>('', { alias: 'class' });\n\n protected readonly class = computed(() =>\n cn('text-foreground font-normal', this.classInput()),\n );\n}\n"]}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import { ChangeDetectionStrategy, Component, computed, input, ViewEncapsulation, } from '@angular/core';
|
|
2
|
+
import { SiChevronRightIcon } from '@semantic-icons/lucide-icons';
|
|
3
|
+
import { cn } from '../../utils';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export class ScBreadcrumbSeparator {
|
|
6
|
+
classInput = input('', { ...(ngDevMode ? { debugName: "classInput" } : {}), alias: 'class' });
|
|
7
|
+
class = computed(() => cn('[&>svg]:size-3.5', this.classInput()), ...(ngDevMode ? [{ debugName: "class" }] : []));
|
|
8
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.1.5", ngImport: i0, type: ScBreadcrumbSeparator, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
9
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "21.1.5", type: ScBreadcrumbSeparator, isStandalone: true, selector: "li[scBreadcrumbSeparator]", inputs: { classInput: { classPropertyName: "classInput", publicName: "class", isSignal: true, isRequired: false, transformFunction: null } }, host: { attributes: { "data-slot": "breadcrumb-separator", "role": "presentation", "aria-hidden": "true" }, properties: { "class": "class()" } }, ngImport: i0, template: `
|
|
10
|
+
<ng-content>
|
|
11
|
+
<svg siChevronRightIcon></svg>
|
|
12
|
+
</ng-content>
|
|
13
|
+
`, isInline: true, dependencies: [{ kind: "component", type: SiChevronRightIcon, selector: "svg[siChevronRightIcon]", inputs: ["width", "height", "viewBox", "fill", "stroke", "stroke-width", "stroke-linecap", "stroke-linejoin"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
14
|
+
}
|
|
15
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1.5", ngImport: i0, type: ScBreadcrumbSeparator, decorators: [{
|
|
16
|
+
type: Component,
|
|
17
|
+
args: [{
|
|
18
|
+
selector: 'li[scBreadcrumbSeparator]',
|
|
19
|
+
imports: [SiChevronRightIcon],
|
|
20
|
+
host: {
|
|
21
|
+
'data-slot': 'breadcrumb-separator',
|
|
22
|
+
role: 'presentation',
|
|
23
|
+
'aria-hidden': 'true',
|
|
24
|
+
'[class]': 'class()',
|
|
25
|
+
},
|
|
26
|
+
template: `
|
|
27
|
+
<ng-content>
|
|
28
|
+
<svg siChevronRightIcon></svg>
|
|
29
|
+
</ng-content>
|
|
30
|
+
`,
|
|
31
|
+
encapsulation: ViewEncapsulation.None,
|
|
32
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
33
|
+
}]
|
|
34
|
+
}], propDecorators: { classInput: [{ type: i0.Input, args: [{ isSignal: true, alias: "class", required: false }] }] } });
|
|
35
|
+
//# sourceMappingURL=breadcrumb-separator.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"breadcrumb-separator.js","sourceRoot":"","sources":["../../../../../../../libs/ui/src/lib/components/breadcrumb/breadcrumb-separator.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,uBAAuB,EACvB,SAAS,EACT,QAAQ,EACR,KAAK,EACL,iBAAiB,GAClB,MAAM,eAAe,CAAC;AACvB,OAAO,EAAE,kBAAkB,EAAE,MAAM,8BAA8B,CAAC;AAClE,OAAO,EAAE,EAAE,EAAE,MAAM,aAAa,CAAC;;AAmBjC,MAAM,OAAO,qBAAqB;IACvB,UAAU,GAAG,KAAK,CAAS,EAAE,uDAAI,KAAK,EAAE,OAAO,GAAG,CAAC;IAEzC,KAAK,GAAG,QAAQ,CAAC,GAAG,EAAE,CACvC,EAAE,CAAC,kBAAkB,EAAE,IAAI,CAAC,UAAU,EAAE,CAAC,iDAC1C,CAAC;uGALS,qBAAqB;2FAArB,qBAAqB,qXARtB;;;;GAIT,4DAXS,kBAAkB;;2FAejB,qBAAqB;kBAjBjC,SAAS;mBAAC;oBACT,QAAQ,EAAE,2BAA2B;oBACrC,OAAO,EAAE,CAAC,kBAAkB,CAAC;oBAC7B,IAAI,EAAE;wBACJ,WAAW,EAAE,sBAAsB;wBACnC,IAAI,EAAE,cAAc;wBACpB,aAAa,EAAE,MAAM;wBACrB,SAAS,EAAE,SAAS;qBACrB;oBACD,QAAQ,EAAE;;;;GAIT;oBACD,aAAa,EAAE,iBAAiB,CAAC,IAAI;oBACrC,eAAe,EAAE,uBAAuB,CAAC,MAAM;iBAChD","sourcesContent":["import {\n ChangeDetectionStrategy,\n Component,\n computed,\n input,\n ViewEncapsulation,\n} from '@angular/core';\nimport { SiChevronRightIcon } from '@semantic-icons/lucide-icons';\nimport { cn } from '../../utils';\n\n@Component({\n selector: 'li[scBreadcrumbSeparator]',\n imports: [SiChevronRightIcon],\n host: {\n 'data-slot': 'breadcrumb-separator',\n role: 'presentation',\n 'aria-hidden': 'true',\n '[class]': 'class()',\n },\n template: `\n <ng-content>\n <svg siChevronRightIcon></svg>\n </ng-content>\n `,\n encapsulation: ViewEncapsulation.None,\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class ScBreadcrumbSeparator {\n readonly classInput = input<string>('', { alias: 'class' });\n\n protected readonly class = computed(() =>\n cn('[&>svg]:size-3.5', this.classInput()),\n );\n}\n"]}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { Directive } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export class ScBreadcrumb {
|
|
4
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.1.5", ngImport: i0, type: ScBreadcrumb, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
5
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.1.5", type: ScBreadcrumb, isStandalone: true, selector: "nav[scBreadcrumb]", host: { attributes: { "data-slot": "breadcrumb", "aria-label": "breadcrumb" } }, ngImport: i0 });
|
|
6
|
+
}
|
|
7
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1.5", ngImport: i0, type: ScBreadcrumb, decorators: [{
|
|
8
|
+
type: Directive,
|
|
9
|
+
args: [{
|
|
10
|
+
selector: 'nav[scBreadcrumb]',
|
|
11
|
+
host: {
|
|
12
|
+
'data-slot': 'breadcrumb',
|
|
13
|
+
'aria-label': 'breadcrumb',
|
|
14
|
+
},
|
|
15
|
+
}]
|
|
16
|
+
}] });
|
|
17
|
+
//# sourceMappingURL=breadcrumb.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"breadcrumb.js","sourceRoot":"","sources":["../../../../../../../libs/ui/src/lib/components/breadcrumb/breadcrumb.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,eAAe,CAAC;;AAS1C,MAAM,OAAO,YAAY;uGAAZ,YAAY;2FAAZ,YAAY;;2FAAZ,YAAY;kBAPxB,SAAS;mBAAC;oBACT,QAAQ,EAAE,mBAAmB;oBAC7B,IAAI,EAAE;wBACJ,WAAW,EAAE,YAAY;wBACzB,YAAY,EAAE,YAAY;qBAC3B;iBACF","sourcesContent":["import { Directive } from '@angular/core';\n\n@Directive({\n selector: 'nav[scBreadcrumb]',\n host: {\n 'data-slot': 'breadcrumb',\n 'aria-label': 'breadcrumb',\n },\n})\nexport class ScBreadcrumb {}\n"]}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
export * from './breadcrumb';
|
|
2
|
+
export * from './breadcrumb-list';
|
|
3
|
+
export * from './breadcrumb-item';
|
|
4
|
+
export * from './breadcrumb-link';
|
|
5
|
+
export * from './breadcrumb-page';
|
|
6
|
+
export * from './breadcrumb-separator';
|
|
7
|
+
export * from './breadcrumb-ellipsis';
|
|
8
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../../libs/ui/src/lib/components/breadcrumb/index.ts"],"names":[],"mappings":"AAAA,cAAc,cAAc,CAAC;AAC7B,cAAc,mBAAmB,CAAC;AAClC,cAAc,mBAAmB,CAAC;AAClC,cAAc,mBAAmB,CAAC;AAClC,cAAc,mBAAmB,CAAC;AAClC,cAAc,wBAAwB,CAAC;AACvC,cAAc,uBAAuB,CAAC","sourcesContent":["export * from './breadcrumb';\nexport * from './breadcrumb-list';\nexport * from './breadcrumb-item';\nexport * from './breadcrumb-link';\nexport * from './breadcrumb-page';\nexport * from './breadcrumb-separator';\nexport * from './breadcrumb-ellipsis';\n"]}
|
|
@@ -35,13 +35,13 @@ export class ScButton {
|
|
|
35
35
|
type = input('button', ...(ngDevMode ? [{ debugName: "type" }] : []));
|
|
36
36
|
disabled = input(false, { ...(ngDevMode ? { debugName: "disabled" } : {}), transform: booleanAttribute });
|
|
37
37
|
class = computed(() => cn(buttonVariants({ variant: this.variant(), size: this.size() }), this.classInput()), ...(ngDevMode ? [{ debugName: "class" }] : []));
|
|
38
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.1.
|
|
39
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.1.
|
|
38
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.1.5", ngImport: i0, type: ScButton, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
39
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.1.5", type: ScButton, isStandalone: true, selector: "button[scButton]", 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 }, type: { classPropertyName: "type", publicName: "type", isSignal: true, isRequired: false, transformFunction: null }, disabled: { classPropertyName: "disabled", publicName: "disabled", isSignal: true, isRequired: false, transformFunction: null } }, host: { attributes: { "data-slot": "button" }, properties: { "attr.type": "type()", "disabled": "disabled()", "attr.aria-disabled": "disabled() || null", "class": "class()" } }, ngImport: i0 });
|
|
40
40
|
}
|
|
41
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1.
|
|
41
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1.5", ngImport: i0, type: ScButton, decorators: [{
|
|
42
42
|
type: Directive,
|
|
43
43
|
args: [{
|
|
44
|
-
selector: 'button[
|
|
44
|
+
selector: 'button[scButton]',
|
|
45
45
|
host: {
|
|
46
46
|
'data-slot': 'button',
|
|
47
47
|
'[attr.type]': 'type()',
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"button.js","sourceRoot":"","sources":["../../../../../../../libs/ui/src/lib/components/button/button.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAAE,QAAQ,EAAE,SAAS,EAAE,KAAK,EAAE,MAAM,eAAe,CAAC;AAC7E,OAAO,EAAE,GAAG,EAAqB,MAAM,0BAA0B,CAAC;AAClE,OAAO,EAAE,EAAE,EAAE,MAAM,aAAa,CAAC;;AAEjC,MAAM,CAAC,MAAM,cAAc,GAAG,GAAG,CAC/B,okBAAokB,EACpkB;IACE,QAAQ,EAAE;QACR,OAAO,EAAE;YACP,OAAO,EAAE,4DAA4D;YACrE,OAAO,EACL,iLAAiL;YACnL,SAAS,EACP,iIAAiI;YACnI,KAAK,EACH,kHAAkH;YACpH,WAAW,EACT,6NAA6N;YAC/N,IAAI,EAAE,iDAAiD;SACxD;QACD,IAAI,EAAE;YACJ,OAAO,EACL,sFAAsF;YACxF,EAAE,EAAE,+MAA+M;YACnN,EAAE,EAAE,yNAAyN;YAC7N,EAAE,EAAE,sFAAsF;YAC1F,IAAI,EAAE,QAAQ;YACd,SAAS,EACP,yHAAyH;YAC3H,SAAS,EACP,oFAAoF;YACtF,SAAS,EAAE,QAAQ;SACpB;KACF;IACD,eAAe,EAAE;QACf,OAAO,EAAE,SAAS;QAClB,IAAI,EAAE,SAAS;KAChB;CACF,CACF,CAAC;AAcF,MAAM,OAAO,QAAQ;IACV,UAAU,GAAG,KAAK,CAAS,EAAE,uDAAI,KAAK,EAAE,OAAO,GAAG,CAAC;IACnD,OAAO,GAAG,KAAK,CAA8B,SAAS,mDAAC,CAAC;IACxD,IAAI,GAAG,KAAK,CAA2B,SAAS,gDAAC,CAAC;IAClD,IAAI,GAAG,KAAK,CAAgC,QAAQ,gDAAC,CAAC;IACtD,QAAQ,GAAG,KAAK,CAAmB,KAAK,qDAC/C,SAAS,EAAE,gBAAgB,GAC3B,CAAC;IAEgB,KAAK,GAAG,QAAQ,CAAC,GAAG,EAAE,CACvC,EAAE,CACA,cAAc,CAAC,EAAE,OAAO,EAAE,IAAI,CAAC,OAAO,EAAE,EAAE,IAAI,EAAE,IAAI,CAAC,IAAI,EAAE,EAAE,CAAC,EAC9D,IAAI,CAAC,UAAU,EAAE,CAClB,iDACF,CAAC;uGAdS,QAAQ;2FAAR,QAAQ;;2FAAR,QAAQ;kBAVpB,SAAS;mBAAC;oBACT,QAAQ,EAAE,
|
|
1
|
+
{"version":3,"file":"button.js","sourceRoot":"","sources":["../../../../../../../libs/ui/src/lib/components/button/button.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAAE,QAAQ,EAAE,SAAS,EAAE,KAAK,EAAE,MAAM,eAAe,CAAC;AAC7E,OAAO,EAAE,GAAG,EAAqB,MAAM,0BAA0B,CAAC;AAClE,OAAO,EAAE,EAAE,EAAE,MAAM,aAAa,CAAC;;AAEjC,MAAM,CAAC,MAAM,cAAc,GAAG,GAAG,CAC/B,okBAAokB,EACpkB;IACE,QAAQ,EAAE;QACR,OAAO,EAAE;YACP,OAAO,EAAE,4DAA4D;YACrE,OAAO,EACL,iLAAiL;YACnL,SAAS,EACP,iIAAiI;YACnI,KAAK,EACH,kHAAkH;YACpH,WAAW,EACT,6NAA6N;YAC/N,IAAI,EAAE,iDAAiD;SACxD;QACD,IAAI,EAAE;YACJ,OAAO,EACL,sFAAsF;YACxF,EAAE,EAAE,+MAA+M;YACnN,EAAE,EAAE,yNAAyN;YAC7N,EAAE,EAAE,sFAAsF;YAC1F,IAAI,EAAE,QAAQ;YACd,SAAS,EACP,yHAAyH;YAC3H,SAAS,EACP,oFAAoF;YACtF,SAAS,EAAE,QAAQ;SACpB;KACF;IACD,eAAe,EAAE;QACf,OAAO,EAAE,SAAS;QAClB,IAAI,EAAE,SAAS;KAChB;CACF,CACF,CAAC;AAcF,MAAM,OAAO,QAAQ;IACV,UAAU,GAAG,KAAK,CAAS,EAAE,uDAAI,KAAK,EAAE,OAAO,GAAG,CAAC;IACnD,OAAO,GAAG,KAAK,CAA8B,SAAS,mDAAC,CAAC;IACxD,IAAI,GAAG,KAAK,CAA2B,SAAS,gDAAC,CAAC;IAClD,IAAI,GAAG,KAAK,CAAgC,QAAQ,gDAAC,CAAC;IACtD,QAAQ,GAAG,KAAK,CAAmB,KAAK,qDAC/C,SAAS,EAAE,gBAAgB,GAC3B,CAAC;IAEgB,KAAK,GAAG,QAAQ,CAAC,GAAG,EAAE,CACvC,EAAE,CACA,cAAc,CAAC,EAAE,OAAO,EAAE,IAAI,CAAC,OAAO,EAAE,EAAE,IAAI,EAAE,IAAI,CAAC,IAAI,EAAE,EAAE,CAAC,EAC9D,IAAI,CAAC,UAAU,EAAE,CAClB,iDACF,CAAC;uGAdS,QAAQ;2FAAR,QAAQ;;2FAAR,QAAQ;kBAVpB,SAAS;mBAAC;oBACT,QAAQ,EAAE,kBAAkB;oBAC5B,IAAI,EAAE;wBACJ,WAAW,EAAE,QAAQ;wBACrB,aAAa,EAAE,QAAQ;wBACvB,YAAY,EAAE,YAAY;wBAC1B,sBAAsB,EAAE,oBAAoB;wBAC5C,SAAS,EAAE,SAAS;qBACrB;iBACF","sourcesContent":["import { booleanAttribute, computed, Directive, input } from '@angular/core';\nimport { cva, type VariantProps } from 'class-variance-authority';\nimport { cn } from '../../utils';\n\nexport const buttonVariants = cva(\n \"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 rounded-lg border border-transparent bg-clip-padding text-sm font-medium focus-visible:ring-[3px] aria-invalid:ring-[3px] [&_svg:not([class*='size-'])]:size-4 inline-flex items-center justify-center whitespace-nowrap transition-all aria-disabled:pointer-events-none aria-disabled:opacity-50 [&_svg]:pointer-events-none shrink-0 [&_svg]:shrink-0 outline-none group/button select-none\",\n {\n variants: {\n variant: {\n default: 'bg-primary text-primary-foreground [a]:hover:bg-primary/80',\n outline:\n 'border-border bg-background hover:bg-muted hover:text-foreground dark:bg-input/30 dark:border-input dark:hover:bg-input/50 aria-expanded:bg-muted aria-expanded:text-foreground',\n secondary:\n 'bg-secondary text-secondary-foreground hover:bg-secondary/80 aria-expanded:bg-secondary aria-expanded:text-secondary-foreground',\n ghost:\n 'hover:bg-muted hover:text-foreground dark:hover:bg-muted/50 aria-expanded:bg-muted aria-expanded:text-foreground',\n destructive:\n 'bg-destructive/10 hover:bg-destructive/20 focus-visible:ring-destructive/20 dark:focus-visible:ring-destructive/40 dark:bg-destructive/20 text-destructive focus-visible:border-destructive/40 dark:hover:bg-destructive/30',\n link: 'text-primary underline-offset-4 hover:underline',\n },\n size: {\n default:\n 'h-8 gap-1.5 px-2.5 has-data-[icon=inline-end]:pr-2 has-data-[icon=inline-start]:pl-2',\n xs: \"h-6 gap-1 rounded-[min(var(--radius-md),10px)] px-2 text-xs in-data-[slot=button-group]:rounded-lg has-data-[icon=inline-end]:pr-1.5 has-data-[icon=inline-start]:pl-1.5 [&_svg:not([class*='size-'])]:size-3\",\n sm: \"h-7 gap-1 rounded-[min(var(--radius-md),12px)] px-2.5 text-[0.8rem] in-data-[slot=button-group]:rounded-lg has-data-[icon=inline-end]:pr-1.5 has-data-[icon=inline-start]:pl-1.5 [&_svg:not([class*='size-'])]:size-3.5\",\n lg: 'h-9 gap-1.5 px-2.5 has-data-[icon=inline-end]:pr-3 has-data-[icon=inline-start]:pl-3',\n icon: 'size-8',\n 'icon-xs':\n \"size-6 rounded-[min(var(--radius-md),10px)] in-data-[slot=button-group]:rounded-lg [&_svg:not([class*='size-'])]:size-3\",\n 'icon-sm':\n 'size-7 rounded-[min(var(--radius-md),12px)] in-data-[slot=button-group]:rounded-lg',\n 'icon-lg': 'size-9',\n },\n },\n defaultVariants: {\n variant: 'default',\n size: 'default',\n },\n },\n);\n\nexport type ScButtonVariants = VariantProps<typeof buttonVariants>;\n\n@Directive({\n selector: 'button[scButton]',\n host: {\n 'data-slot': 'button',\n '[attr.type]': 'type()',\n '[disabled]': 'disabled()',\n '[attr.aria-disabled]': 'disabled() || null',\n '[class]': 'class()',\n },\n})\nexport class ScButton {\n readonly classInput = input<string>('', { alias: 'class' });\n readonly variant = input<ScButtonVariants['variant']>('default');\n readonly size = input<ScButtonVariants['size']>('default');\n readonly type = input<'button' | 'submit' | 'reset'>('button');\n readonly disabled = input<boolean, unknown>(false, {\n transform: booleanAttribute,\n });\n\n protected readonly class = computed(() =>\n cn(\n buttonVariants({ variant: this.variant(), size: this.size() }),\n this.classInput(),\n ),\n );\n}\n"]}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { computed, Directive, input } from '@angular/core';
|
|
2
|
+
import { cn } from '../../utils';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export class ScButtonGroupSeparator {
|
|
5
|
+
classInput = input('', { ...(ngDevMode ? { debugName: "classInput" } : {}), alias: 'class' });
|
|
6
|
+
orientation = input('vertical', ...(ngDevMode ? [{ debugName: "orientation" }] : []));
|
|
7
|
+
class = computed(() => cn('bg-input relative self-stretch data-horizontal:mx-px data-horizontal:w-auto data-vertical:my-px data-vertical:h-auto', this.classInput()), ...(ngDevMode ? [{ debugName: "class" }] : []));
|
|
8
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.1.5", ngImport: i0, type: ScButtonGroupSeparator, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
9
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.1.5", type: ScButtonGroupSeparator, isStandalone: true, selector: "div[scButtonGroupSeparator]", inputs: { classInput: { classPropertyName: "classInput", publicName: "class", isSignal: true, isRequired: false, transformFunction: null }, orientation: { classPropertyName: "orientation", publicName: "orientation", isSignal: true, isRequired: false, transformFunction: null } }, host: { attributes: { "data-slot": "button-group-separator", "role": "separator" }, properties: { "attr.aria-orientation": "orientation()", "attr.data-orientation": "orientation()", "class": "class()" } }, ngImport: i0 });
|
|
10
|
+
}
|
|
11
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1.5", ngImport: i0, type: ScButtonGroupSeparator, decorators: [{
|
|
12
|
+
type: Directive,
|
|
13
|
+
args: [{
|
|
14
|
+
selector: 'div[scButtonGroupSeparator]',
|
|
15
|
+
host: {
|
|
16
|
+
'data-slot': 'button-group-separator',
|
|
17
|
+
role: 'separator',
|
|
18
|
+
'[attr.aria-orientation]': 'orientation()',
|
|
19
|
+
'[attr.data-orientation]': 'orientation()',
|
|
20
|
+
'[class]': 'class()',
|
|
21
|
+
},
|
|
22
|
+
}]
|
|
23
|
+
}], propDecorators: { classInput: [{ type: i0.Input, args: [{ isSignal: true, alias: "class", required: false }] }], orientation: [{ type: i0.Input, args: [{ isSignal: true, alias: "orientation", required: false }] }] } });
|
|
24
|
+
//# sourceMappingURL=button-group-separator.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"button-group-separator.js","sourceRoot":"","sources":["../../../../../../../libs/ui/src/lib/components/button-group/button-group-separator.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,SAAS,EAAE,KAAK,EAAE,MAAM,eAAe,CAAC;AAC3D,OAAO,EAAE,EAAE,EAAE,MAAM,aAAa,CAAC;;AAcjC,MAAM,OAAO,sBAAsB;IACxB,UAAU,GAAG,KAAK,CAAS,EAAE,uDAAI,KAAK,EAAE,OAAO,GAAG,CAAC;IACnD,WAAW,GAAG,KAAK,CAAkC,UAAU,uDAAC,CAAC;IAEvD,KAAK,GAAG,QAAQ,CAAC,GAAG,EAAE,CACvC,EAAE,CACA,sHAAsH,EACtH,IAAI,CAAC,UAAU,EAAE,CAClB,iDACF,CAAC;uGATS,sBAAsB;2FAAtB,sBAAsB;;2FAAtB,sBAAsB;kBAVlC,SAAS;mBAAC;oBACT,QAAQ,EAAE,6BAA6B;oBACvC,IAAI,EAAE;wBACJ,WAAW,EAAE,wBAAwB;wBACrC,IAAI,EAAE,WAAW;wBACjB,yBAAyB,EAAE,eAAe;wBAC1C,yBAAyB,EAAE,eAAe;wBAC1C,SAAS,EAAE,SAAS;qBACrB;iBACF","sourcesContent":["import { computed, Directive, input } from '@angular/core';\nimport { cn } from '../../utils';\n\nexport type ButtonGroupSeparatorOrientation = 'horizontal' | 'vertical';\n\n@Directive({\n selector: 'div[scButtonGroupSeparator]',\n host: {\n 'data-slot': 'button-group-separator',\n role: 'separator',\n '[attr.aria-orientation]': 'orientation()',\n '[attr.data-orientation]': 'orientation()',\n '[class]': 'class()',\n },\n})\nexport class ScButtonGroupSeparator {\n readonly classInput = input<string>('', { alias: 'class' });\n readonly orientation = input<ButtonGroupSeparatorOrientation>('vertical');\n\n protected readonly class = computed(() =>\n cn(\n 'bg-input relative self-stretch data-horizontal:mx-px data-horizontal:w-auto data-vertical:my-px data-vertical:h-auto',\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 ScButtonGroupText {
|
|
5
|
+
classInput = input('', { ...(ngDevMode ? { debugName: "classInput" } : {}), alias: 'class' });
|
|
6
|
+
class = computed(() => cn("bg-muted gap-2 rounded-lg border px-2.5 text-sm font-medium [&_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: ScButtonGroupText, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
8
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.1.5", type: ScButtonGroupText, isStandalone: true, selector: "div[scButtonGroupText]", inputs: { classInput: { classPropertyName: "classInput", publicName: "class", isSignal: true, isRequired: false, transformFunction: null } }, host: { attributes: { "data-slot": "button-group-text" }, properties: { "class": "class()" } }, ngImport: i0 });
|
|
9
|
+
}
|
|
10
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1.5", ngImport: i0, type: ScButtonGroupText, decorators: [{
|
|
11
|
+
type: Directive,
|
|
12
|
+
args: [{
|
|
13
|
+
selector: 'div[scButtonGroupText]',
|
|
14
|
+
host: {
|
|
15
|
+
'data-slot': 'button-group-text',
|
|
16
|
+
'[class]': 'class()',
|
|
17
|
+
},
|
|
18
|
+
}]
|
|
19
|
+
}], propDecorators: { classInput: [{ type: i0.Input, args: [{ isSignal: true, alias: "class", required: false }] }] } });
|
|
20
|
+
//# sourceMappingURL=button-group-text.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"button-group-text.js","sourceRoot":"","sources":["../../../../../../../libs/ui/src/lib/components/button-group/button-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,iBAAiB;IACnB,UAAU,GAAG,KAAK,CAAS,EAAE,uDAAI,KAAK,EAAE,OAAO,GAAG,CAAC;IAEzC,KAAK,GAAG,QAAQ,CAAC,GAAG,EAAE,CACvC,EAAE,CACA,gJAAgJ,EAChJ,IAAI,CAAC,UAAU,EAAE,CAClB,iDACF,CAAC;uGARS,iBAAiB;2FAAjB,iBAAiB;;2FAAjB,iBAAiB;kBAP7B,SAAS;mBAAC;oBACT,QAAQ,EAAE,wBAAwB;oBAClC,IAAI,EAAE;wBACJ,WAAW,EAAE,mBAAmB;wBAChC,SAAS,EAAE,SAAS;qBACrB;iBACF","sourcesContent":["import { computed, Directive, input } from '@angular/core';\nimport { cn } from '../../utils';\n\n@Directive({\n selector: 'div[scButtonGroupText]',\n host: {\n 'data-slot': 'button-group-text',\n '[class]': 'class()',\n },\n})\nexport class ScButtonGroupText {\n readonly classInput = input<string>('', { alias: 'class' });\n\n protected readonly class = computed(() =>\n cn(\n \"bg-muted gap-2 rounded-lg border px-2.5 text-sm font-medium [&_svg:not([class*='size-'])]:size-4 flex items-center [&_svg]:pointer-events-none\",\n this.classInput(),\n ),\n );\n}\n"]}
|
|
@@ -0,0 +1,34 @@
|
|
|
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
|
+
export const buttonGroupVariants = cva("has-[>[data-slot=button-group]]:gap-2 has-[select[aria-hidden=true]:last-child]:[&>[data-slot=select-trigger]:last-of-type]:rounded-r-lg flex w-fit items-stretch *:focus-visible:z-10 *:focus-visible:relative [&>[data-slot=select-trigger]:not([class*='w-'])]:w-fit [&>input]:flex-1", {
|
|
6
|
+
variants: {
|
|
7
|
+
orientation: {
|
|
8
|
+
horizontal: '[&>[data-slot]:not(:has(~[data-slot]))]:rounded-r-lg! [&>*:not(:first-child)]:rounded-l-none [&>*:not(:first-child)]:border-l-0 [&>*:not(:last-child)]:rounded-r-none',
|
|
9
|
+
vertical: '[&>[data-slot]:not(:has(~[data-slot]))]:rounded-b-lg! flex-col [&>*:not(:first-child)]:rounded-t-none [&>*:not(:first-child)]:border-t-0 [&>*:not(:last-child)]:rounded-b-none',
|
|
10
|
+
},
|
|
11
|
+
},
|
|
12
|
+
defaultVariants: {
|
|
13
|
+
orientation: 'horizontal',
|
|
14
|
+
},
|
|
15
|
+
});
|
|
16
|
+
export class ScButtonGroup {
|
|
17
|
+
classInput = input('', { ...(ngDevMode ? { debugName: "classInput" } : {}), alias: 'class' });
|
|
18
|
+
orientation = input('horizontal', ...(ngDevMode ? [{ debugName: "orientation" }] : []));
|
|
19
|
+
class = computed(() => cn(buttonGroupVariants({ orientation: this.orientation() }), this.classInput()), ...(ngDevMode ? [{ debugName: "class" }] : []));
|
|
20
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.1.5", ngImport: i0, type: ScButtonGroup, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
21
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.1.5", type: ScButtonGroup, isStandalone: true, selector: "div[scButtonGroup]", inputs: { classInput: { classPropertyName: "classInput", publicName: "class", isSignal: true, isRequired: false, transformFunction: null }, orientation: { classPropertyName: "orientation", publicName: "orientation", isSignal: true, isRequired: false, transformFunction: null } }, host: { attributes: { "data-slot": "button-group", "role": "group" }, properties: { "class": "class()" } }, ngImport: i0 });
|
|
22
|
+
}
|
|
23
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1.5", ngImport: i0, type: ScButtonGroup, decorators: [{
|
|
24
|
+
type: Directive,
|
|
25
|
+
args: [{
|
|
26
|
+
selector: 'div[scButtonGroup]',
|
|
27
|
+
host: {
|
|
28
|
+
'data-slot': 'button-group',
|
|
29
|
+
role: 'group',
|
|
30
|
+
'[class]': 'class()',
|
|
31
|
+
},
|
|
32
|
+
}]
|
|
33
|
+
}], propDecorators: { classInput: [{ type: i0.Input, args: [{ isSignal: true, alias: "class", required: false }] }], orientation: [{ type: i0.Input, args: [{ isSignal: true, alias: "orientation", required: false }] }] } });
|
|
34
|
+
//# sourceMappingURL=button-group.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"button-group.js","sourceRoot":"","sources":["../../../../../../../libs/ui/src/lib/components/button-group/button-group.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,CAAC,MAAM,mBAAmB,GAAG,GAAG,CACpC,0RAA0R,EAC1R;IACE,QAAQ,EAAE;QACR,WAAW,EAAE;YACX,UAAU,EACR,uKAAuK;YACzK,QAAQ,EACN,gLAAgL;SACnL;KACF;IACD,eAAe,EAAE;QACf,WAAW,EAAE,YAAY;KAC1B;CACF,CACF,CAAC;AAYF,MAAM,OAAO,aAAa;IACf,UAAU,GAAG,KAAK,CAAS,EAAE,uDAAI,KAAK,EAAE,OAAO,GAAG,CAAC;IACnD,WAAW,GAClB,KAAK,CAAuC,YAAY,uDAAC,CAAC;IAEzC,KAAK,GAAG,QAAQ,CAAC,GAAG,EAAE,CACvC,EAAE,CACA,mBAAmB,CAAC,EAAE,WAAW,EAAE,IAAI,CAAC,WAAW,EAAE,EAAE,CAAC,EACxD,IAAI,CAAC,UAAU,EAAE,CAClB,iDACF,CAAC;uGAVS,aAAa;2FAAb,aAAa;;2FAAb,aAAa;kBARzB,SAAS;mBAAC;oBACT,QAAQ,EAAE,oBAAoB;oBAC9B,IAAI,EAAE;wBACJ,WAAW,EAAE,cAAc;wBAC3B,IAAI,EAAE,OAAO;wBACb,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\nexport const buttonGroupVariants = cva(\n \"has-[>[data-slot=button-group]]:gap-2 has-[select[aria-hidden=true]:last-child]:[&>[data-slot=select-trigger]:last-of-type]:rounded-r-lg flex w-fit items-stretch *:focus-visible:z-10 *:focus-visible:relative [&>[data-slot=select-trigger]:not([class*='w-'])]:w-fit [&>input]:flex-1\",\n {\n variants: {\n orientation: {\n horizontal:\n '[&>[data-slot]:not(:has(~[data-slot]))]:rounded-r-lg! [&>*:not(:first-child)]:rounded-l-none [&>*:not(:first-child)]:border-l-0 [&>*:not(:last-child)]:rounded-r-none',\n vertical:\n '[&>[data-slot]:not(:has(~[data-slot]))]:rounded-b-lg! flex-col [&>*:not(:first-child)]:rounded-t-none [&>*:not(:first-child)]:border-t-0 [&>*:not(:last-child)]:rounded-b-none',\n },\n },\n defaultVariants: {\n orientation: 'horizontal',\n },\n },\n);\n\nexport type ScButtonGroupVariants = VariantProps<typeof buttonGroupVariants>;\n\n@Directive({\n selector: 'div[scButtonGroup]',\n host: {\n 'data-slot': 'button-group',\n role: 'group',\n '[class]': 'class()',\n },\n})\nexport class ScButtonGroup {\n readonly classInput = input<string>('', { alias: 'class' });\n readonly orientation =\n input<ScButtonGroupVariants['orientation']>('horizontal');\n\n protected readonly class = computed(() =>\n cn(\n buttonGroupVariants({ orientation: this.orientation() }),\n this.classInput(),\n ),\n );\n}\n"]}
|