@und-ui/angular 0.1.0 → 0.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +31 -2
- package/dist/charts.d.ts +6 -0
- package/dist/charts.d.ts.map +1 -0
- package/dist/charts.js +6 -0
- package/dist/charts.js.map +1 -0
- package/dist/generated/charts/index.d.ts +5 -0
- package/dist/generated/charts/index.d.ts.map +1 -0
- package/dist/generated/charts/index.js +8 -0
- package/dist/generated/charts/index.js.map +1 -0
- package/dist/generated/charts/und-chart.d.ts +52 -0
- package/dist/generated/charts/und-chart.d.ts.map +1 -0
- package/dist/generated/charts/und-chart.js +120 -0
- package/dist/generated/charts/und-chart.js.map +1 -0
- package/dist/generated/forms.d.ts +159 -3
- package/dist/generated/forms.d.ts.map +1 -1
- package/dist/generated/forms.js +553 -3
- package/dist/generated/forms.js.map +1 -1
- package/dist/generated/index.d.ts +179 -1
- package/dist/generated/index.d.ts.map +1 -1
- package/dist/generated/index.js +179 -1
- package/dist/generated/index.js.map +1 -1
- package/dist/generated/richtext/forms.d.ts +19 -0
- package/dist/generated/richtext/forms.d.ts.map +1 -0
- package/dist/generated/richtext/forms.js +57 -0
- package/dist/generated/richtext/forms.js.map +1 -0
- package/dist/generated/richtext/index.d.ts +5 -0
- package/dist/generated/richtext/index.d.ts.map +1 -0
- package/dist/generated/richtext/index.js +8 -0
- package/dist/generated/richtext/index.js.map +1 -0
- package/dist/generated/richtext/und-rich-text-editor.d.ts +44 -0
- package/dist/generated/richtext/und-rich-text-editor.d.ts.map +1 -0
- package/dist/generated/richtext/und-rich-text-editor.js +109 -0
- package/dist/generated/richtext/und-rich-text-editor.js.map +1 -0
- package/dist/generated/und-app-shell.d.ts +32 -0
- package/dist/generated/und-app-shell.d.ts.map +1 -0
- package/dist/generated/und-app-shell.js +76 -0
- package/dist/generated/und-app-shell.js.map +1 -0
- package/dist/generated/und-aspect-ratio.d.ts +19 -0
- package/dist/generated/und-aspect-ratio.d.ts.map +1 -0
- package/dist/generated/und-aspect-ratio.js +48 -0
- package/dist/generated/und-aspect-ratio.js.map +1 -0
- package/dist/generated/und-avatar-group.d.ts +5 -2
- package/dist/generated/und-avatar-group.d.ts.map +1 -1
- package/dist/generated/und-avatar-group.js +11 -2
- package/dist/generated/und-avatar-group.js.map +1 -1
- package/dist/generated/und-avatar.d.ts +3 -3
- package/dist/generated/und-avatar.d.ts.map +1 -1
- package/dist/generated/und-avatar.js +3 -3
- package/dist/generated/und-avatar.js.map +1 -1
- package/dist/generated/und-badge.d.ts +4 -1
- package/dist/generated/und-badge.d.ts.map +1 -1
- package/dist/generated/und-badge.js +10 -1
- package/dist/generated/und-badge.js.map +1 -1
- package/dist/generated/und-banner.d.ts +43 -0
- package/dist/generated/und-banner.d.ts.map +1 -0
- package/dist/generated/und-banner.js +113 -0
- package/dist/generated/und-banner.js.map +1 -0
- package/dist/generated/und-blockquote.d.ts +13 -0
- package/dist/generated/und-blockquote.d.ts.map +1 -0
- package/dist/generated/und-blockquote.js +30 -0
- package/dist/generated/und-blockquote.js.map +1 -0
- package/dist/generated/und-bottom-sheet.d.ts +74 -0
- package/dist/generated/und-bottom-sheet.d.ts.map +1 -0
- package/dist/generated/und-bottom-sheet.js +183 -0
- package/dist/generated/und-bottom-sheet.js.map +1 -0
- package/dist/generated/und-breadcrumb.d.ts +4 -1
- package/dist/generated/und-breadcrumb.d.ts.map +1 -1
- package/dist/generated/und-breadcrumb.js +11 -2
- package/dist/generated/und-breadcrumb.js.map +1 -1
- package/dist/generated/und-button-group.d.ts +19 -0
- package/dist/generated/und-button-group.d.ts.map +1 -0
- package/dist/generated/und-button-group.js +48 -0
- package/dist/generated/und-button-group.js.map +1 -0
- package/dist/generated/und-calendar.d.ts +56 -0
- package/dist/generated/und-calendar.d.ts.map +1 -0
- package/dist/generated/und-calendar.js +144 -0
- package/dist/generated/und-calendar.js.map +1 -0
- package/dist/generated/und-card.d.ts +5 -2
- package/dist/generated/und-card.d.ts.map +1 -1
- package/dist/generated/und-card.js +11 -2
- package/dist/generated/und-card.js.map +1 -1
- package/dist/generated/und-carousel.d.ts +67 -0
- package/dist/generated/und-carousel.d.ts.map +1 -0
- package/dist/generated/und-carousel.js +182 -0
- package/dist/generated/und-carousel.js.map +1 -0
- package/dist/generated/und-center.d.ts +49 -0
- package/dist/generated/und-center.d.ts.map +1 -0
- package/dist/generated/und-center.js +132 -0
- package/dist/generated/und-center.js.map +1 -0
- package/dist/generated/und-chat-composer.d.ts +72 -0
- package/dist/generated/und-chat-composer.d.ts.map +1 -0
- package/dist/generated/und-chat-composer.js +180 -0
- package/dist/generated/und-chat-composer.js.map +1 -0
- package/dist/generated/und-chat-layout.d.ts +35 -0
- package/dist/generated/und-chat-layout.d.ts.map +1 -0
- package/dist/generated/und-chat-layout.js +85 -0
- package/dist/generated/und-chat-layout.js.map +1 -0
- package/dist/generated/und-chat-message.d.ts +62 -0
- package/dist/generated/und-chat-message.d.ts.map +1 -0
- package/dist/generated/und-chat-message.js +154 -0
- package/dist/generated/und-chat-message.js.map +1 -0
- package/dist/generated/und-checkbox-list.d.ts +36 -0
- package/dist/generated/und-checkbox-list.d.ts.map +1 -0
- package/dist/generated/und-checkbox-list.js +89 -0
- package/dist/generated/und-checkbox-list.js.map +1 -0
- package/dist/generated/und-checkbox.d.ts +17 -1
- package/dist/generated/und-checkbox.d.ts.map +1 -1
- package/dist/generated/und-checkbox.js +47 -1
- package/dist/generated/und-checkbox.js.map +1 -1
- package/dist/generated/und-citation.d.ts +31 -0
- package/dist/generated/und-citation.d.ts.map +1 -0
- package/dist/generated/und-citation.js +84 -0
- package/dist/generated/und-citation.js.map +1 -0
- package/dist/generated/und-clickable-card.d.ts +32 -0
- package/dist/generated/und-clickable-card.d.ts.map +1 -0
- package/dist/generated/und-clickable-card.js +85 -0
- package/dist/generated/und-clickable-card.js.map +1 -0
- package/dist/generated/und-code-block.d.ts +72 -0
- package/dist/generated/und-code-block.d.ts.map +1 -0
- package/dist/generated/und-code-block.js +193 -0
- package/dist/generated/und-code-block.js.map +1 -0
- package/dist/generated/und-code.d.ts +16 -0
- package/dist/generated/und-code.d.ts.map +1 -0
- package/dist/generated/und-code.js +39 -0
- package/dist/generated/und-code.js.map +1 -0
- package/dist/generated/und-collapsible.d.ts +20 -0
- package/dist/generated/und-collapsible.d.ts.map +1 -0
- package/dist/generated/und-collapsible.js +40 -0
- package/dist/generated/und-collapsible.js.map +1 -0
- package/dist/generated/und-command-palette.d.ts +94 -0
- package/dist/generated/und-command-palette.d.ts.map +1 -0
- package/dist/generated/und-command-palette.js +234 -0
- package/dist/generated/und-command-palette.js.map +1 -0
- package/dist/generated/und-context-menu.d.ts +38 -0
- package/dist/generated/und-context-menu.d.ts.map +1 -0
- package/dist/generated/und-context-menu.js +82 -0
- package/dist/generated/und-context-menu.js.map +1 -0
- package/dist/generated/und-date-input.d.ts +99 -0
- package/dist/generated/und-date-input.d.ts.map +1 -0
- package/dist/generated/und-date-input.js +263 -0
- package/dist/generated/und-date-input.js.map +1 -0
- package/dist/generated/und-date-range-input.d.ts +100 -0
- package/dist/generated/und-date-range-input.d.ts.map +1 -0
- package/dist/generated/und-date-range-input.js +263 -0
- package/dist/generated/und-date-range-input.js.map +1 -0
- package/dist/generated/und-date-time-input.d.ts +67 -0
- package/dist/generated/und-date-time-input.d.ts.map +1 -0
- package/dist/generated/und-date-time-input.js +177 -0
- package/dist/generated/und-date-time-input.js.map +1 -0
- package/dist/generated/und-dialog.d.ts +5 -2
- package/dist/generated/und-dialog.d.ts.map +1 -1
- package/dist/generated/und-dialog.js +11 -2
- package/dist/generated/und-dialog.js.map +1 -1
- package/dist/generated/und-divider.d.ts +8 -1
- package/dist/generated/und-divider.d.ts.map +1 -1
- package/dist/generated/und-divider.js +20 -1
- package/dist/generated/und-divider.js.map +1 -1
- package/dist/generated/und-drawer.d.ts +5 -2
- package/dist/generated/und-drawer.d.ts.map +1 -1
- package/dist/generated/und-drawer.js +11 -2
- package/dist/generated/und-drawer.js.map +1 -1
- package/dist/generated/und-empty-state.d.ts +20 -0
- package/dist/generated/und-empty-state.d.ts.map +1 -0
- package/dist/generated/und-empty-state.js +49 -0
- package/dist/generated/und-empty-state.js.map +1 -0
- package/dist/generated/und-file-input.d.ts +70 -0
- package/dist/generated/und-file-input.d.ts.map +1 -0
- package/dist/generated/und-file-input.js +182 -0
- package/dist/generated/und-file-input.js.map +1 -0
- package/dist/generated/und-form-field.d.ts +14 -1
- package/dist/generated/und-form-field.d.ts.map +1 -1
- package/dist/generated/und-form-field.js +38 -1
- package/dist/generated/und-form-field.js.map +1 -1
- package/dist/generated/und-form-layout.d.ts +16 -0
- package/dist/generated/und-form-layout.d.ts.map +1 -0
- package/dist/generated/und-form-layout.js +39 -0
- package/dist/generated/und-form-layout.js.map +1 -0
- package/dist/generated/und-grid-item.d.ts +16 -0
- package/dist/generated/und-grid-item.d.ts.map +1 -0
- package/dist/generated/und-grid-item.js +39 -0
- package/dist/generated/und-grid-item.js.map +1 -0
- package/dist/generated/und-grid.d.ts +44 -0
- package/dist/generated/und-grid.d.ts.map +1 -0
- package/dist/generated/und-grid.js +121 -0
- package/dist/generated/und-grid.js.map +1 -0
- package/dist/generated/und-heading.d.ts +38 -0
- package/dist/generated/und-heading.d.ts.map +1 -0
- package/dist/generated/und-heading.js +103 -0
- package/dist/generated/und-heading.js.map +1 -0
- package/dist/generated/und-hover-card.d.ts +46 -0
- package/dist/generated/und-hover-card.d.ts.map +1 -0
- package/dist/generated/und-hover-card.js +113 -0
- package/dist/generated/und-hover-card.js.map +1 -0
- package/dist/generated/und-icon.d.ts +33 -0
- package/dist/generated/und-icon.d.ts.map +1 -0
- package/dist/generated/und-icon.js +86 -0
- package/dist/generated/und-icon.js.map +1 -0
- package/dist/generated/und-indicator.d.ts +23 -0
- package/dist/generated/und-indicator.d.ts.map +1 -0
- package/dist/generated/und-indicator.js +58 -0
- package/dist/generated/und-indicator.js.map +1 -0
- package/dist/generated/und-info-tip.d.ts +30 -0
- package/dist/generated/und-info-tip.d.ts.map +1 -0
- package/dist/generated/und-info-tip.js +67 -0
- package/dist/generated/und-info-tip.js.map +1 -0
- package/dist/generated/und-input-group.d.ts +111 -0
- package/dist/generated/und-input-group.d.ts.map +1 -0
- package/dist/generated/und-input-group.js +301 -0
- package/dist/generated/und-input-group.js.map +1 -0
- package/dist/generated/und-item.d.ts +50 -0
- package/dist/generated/und-item.d.ts.map +1 -0
- package/dist/generated/und-item.js +133 -0
- package/dist/generated/und-item.js.map +1 -0
- package/dist/generated/und-kbd.d.ts +13 -0
- package/dist/generated/und-kbd.d.ts.map +1 -0
- package/dist/generated/und-kbd.js +30 -0
- package/dist/generated/und-kbd.js.map +1 -0
- package/dist/generated/und-layout.d.ts +37 -0
- package/dist/generated/und-layout.d.ts.map +1 -0
- package/dist/generated/und-layout.js +96 -0
- package/dist/generated/und-layout.js.map +1 -0
- package/dist/generated/und-lightbox.d.ts +90 -0
- package/dist/generated/und-lightbox.d.ts.map +1 -0
- package/dist/generated/und-lightbox.js +230 -0
- package/dist/generated/und-lightbox.js.map +1 -0
- package/dist/generated/und-list-item.d.ts +33 -0
- package/dist/generated/und-list-item.d.ts.map +1 -0
- package/dist/generated/und-list-item.js +86 -0
- package/dist/generated/und-list-item.js.map +1 -0
- package/dist/generated/und-list.d.ts +29 -0
- package/dist/generated/und-list.d.ts.map +1 -0
- package/dist/generated/und-list.js +76 -0
- package/dist/generated/und-list.js.map +1 -0
- package/dist/generated/und-markdown.d.ts +35 -0
- package/dist/generated/und-markdown.d.ts.map +1 -0
- package/dist/generated/und-markdown.js +94 -0
- package/dist/generated/und-markdown.js.map +1 -0
- package/dist/generated/und-metadata-item.d.ts +13 -0
- package/dist/generated/und-metadata-item.d.ts.map +1 -0
- package/dist/generated/und-metadata-item.js +30 -0
- package/dist/generated/und-metadata-item.js.map +1 -0
- package/dist/generated/und-metadata-list.d.ts +29 -0
- package/dist/generated/und-metadata-list.d.ts.map +1 -0
- package/dist/generated/und-metadata-list.js +76 -0
- package/dist/generated/und-metadata-list.js.map +1 -0
- package/dist/generated/und-mobile-nav.d.ts +30 -0
- package/dist/generated/und-mobile-nav.d.ts.map +1 -0
- package/dist/generated/und-mobile-nav.js +76 -0
- package/dist/generated/und-mobile-nav.js.map +1 -0
- package/dist/generated/und-more-menu.d.ts +34 -0
- package/dist/generated/und-more-menu.d.ts.map +1 -0
- package/dist/generated/und-more-menu.js +72 -0
- package/dist/generated/und-more-menu.js.map +1 -0
- package/dist/generated/und-multi-select.d.ts +66 -0
- package/dist/generated/und-multi-select.d.ts.map +1 -0
- package/dist/generated/und-multi-select.js +172 -0
- package/dist/generated/und-multi-select.js.map +1 -0
- package/dist/generated/und-nav-icon.d.ts +13 -0
- package/dist/generated/und-nav-icon.d.ts.map +1 -0
- package/dist/generated/und-nav-icon.js +30 -0
- package/dist/generated/und-nav-icon.js.map +1 -0
- package/dist/generated/und-nav-item.d.ts +33 -0
- package/dist/generated/und-nav-item.d.ts.map +1 -0
- package/dist/generated/und-nav-item.js +86 -0
- package/dist/generated/und-nav-item.js.map +1 -0
- package/dist/generated/und-nav-menu-item.d.ts +23 -0
- package/dist/generated/und-nav-menu-item.d.ts.map +1 -0
- package/dist/generated/und-nav-menu-item.js +58 -0
- package/dist/generated/und-nav-menu-item.js.map +1 -0
- package/dist/generated/und-nav-menu.d.ts +25 -0
- package/dist/generated/und-nav-menu.d.ts.map +1 -0
- package/dist/generated/und-nav-menu.js +57 -0
- package/dist/generated/und-nav-menu.js.map +1 -0
- package/dist/generated/und-number-input.d.ts +108 -0
- package/dist/generated/und-number-input.d.ts.map +1 -0
- package/dist/generated/und-number-input.js +292 -0
- package/dist/generated/und-number-input.js.map +1 -0
- package/dist/generated/und-outline.d.ts +41 -0
- package/dist/generated/und-outline.d.ts.map +1 -0
- package/dist/generated/und-outline.js +111 -0
- package/dist/generated/und-outline.js.map +1 -0
- package/dist/generated/und-overflow-list.d.ts +21 -0
- package/dist/generated/und-overflow-list.d.ts.map +1 -0
- package/dist/generated/und-overflow-list.js +49 -0
- package/dist/generated/und-overflow-list.js.map +1 -0
- package/dist/generated/und-pagination.d.ts +16 -1
- package/dist/generated/und-pagination.d.ts.map +1 -1
- package/dist/generated/und-pagination.js +46 -1
- package/dist/generated/und-pagination.js.map +1 -1
- package/dist/generated/und-popover.d.ts +7 -1
- package/dist/generated/und-popover.d.ts.map +1 -1
- package/dist/generated/und-popover.js +19 -1
- package/dist/generated/und-popover.js.map +1 -1
- package/dist/generated/und-power-search.d.ts +71 -0
- package/dist/generated/und-power-search.d.ts.map +1 -0
- package/dist/generated/und-power-search.js +178 -0
- package/dist/generated/und-power-search.js.map +1 -0
- package/dist/generated/und-progress.d.ts +14 -2
- package/dist/generated/und-progress.d.ts.map +1 -1
- package/dist/generated/und-progress.js +33 -3
- package/dist/generated/und-progress.js.map +1 -1
- package/dist/generated/und-radio-list.d.ts +42 -0
- package/dist/generated/und-radio-list.d.ts.map +1 -0
- package/dist/generated/und-radio-list.js +107 -0
- package/dist/generated/und-radio-list.js.map +1 -0
- package/dist/generated/und-resize-handle.d.ts +47 -0
- package/dist/generated/und-resize-handle.d.ts.map +1 -0
- package/dist/generated/und-resize-handle.js +123 -0
- package/dist/generated/und-resize-handle.js.map +1 -0
- package/dist/generated/und-scroll-area.d.ts +16 -0
- package/dist/generated/und-scroll-area.d.ts.map +1 -0
- package/dist/generated/und-scroll-area.js +39 -0
- package/dist/generated/und-scroll-area.js.map +1 -0
- package/dist/generated/und-section.d.ts +43 -0
- package/dist/generated/und-section.d.ts.map +1 -0
- package/dist/generated/und-section.js +120 -0
- package/dist/generated/und-section.js.map +1 -0
- package/dist/generated/und-segmented-control-item.d.ts +27 -0
- package/dist/generated/und-segmented-control-item.d.ts.map +1 -0
- package/dist/generated/und-segmented-control-item.js +68 -0
- package/dist/generated/und-segmented-control-item.js.map +1 -0
- package/dist/generated/und-segmented-control.d.ts +42 -0
- package/dist/generated/und-segmented-control.d.ts.map +1 -0
- package/dist/generated/und-segmented-control.js +107 -0
- package/dist/generated/und-segmented-control.js.map +1 -0
- package/dist/generated/und-select.d.ts +2 -2
- package/dist/generated/und-select.d.ts.map +1 -1
- package/dist/generated/und-select.js +2 -2
- package/dist/generated/und-select.js.map +1 -1
- package/dist/generated/und-selectable-card.d.ts +70 -0
- package/dist/generated/und-selectable-card.d.ts.map +1 -0
- package/dist/generated/und-selectable-card.js +183 -0
- package/dist/generated/und-selectable-card.js.map +1 -0
- package/dist/generated/und-side-nav-heading.d.ts +14 -0
- package/dist/generated/und-side-nav-heading.d.ts.map +1 -0
- package/dist/generated/und-side-nav-heading.js +31 -0
- package/dist/generated/und-side-nav-heading.js.map +1 -0
- package/dist/generated/und-side-nav-item.d.ts +31 -0
- package/dist/generated/und-side-nav-item.d.ts.map +1 -0
- package/dist/generated/und-side-nav-item.js +78 -0
- package/dist/generated/und-side-nav-item.js.map +1 -0
- package/dist/generated/und-side-nav-section.d.ts +25 -0
- package/dist/generated/und-side-nav-section.d.ts.map +1 -0
- package/dist/generated/und-side-nav-section.js +59 -0
- package/dist/generated/und-side-nav-section.js.map +1 -0
- package/dist/generated/und-side-nav.d.ts +31 -0
- package/dist/generated/und-side-nav.d.ts.map +1 -0
- package/dist/generated/und-side-nav.js +77 -0
- package/dist/generated/und-side-nav.js.map +1 -0
- package/dist/generated/und-skeleton.d.ts +10 -1
- package/dist/generated/und-skeleton.d.ts.map +1 -1
- package/dist/generated/und-skeleton.js +28 -1
- package/dist/generated/und-skeleton.js.map +1 -1
- package/dist/generated/und-slider.d.ts +17 -1
- package/dist/generated/und-slider.d.ts.map +1 -1
- package/dist/generated/und-slider.js +47 -1
- package/dist/generated/und-slider.js.map +1 -1
- package/dist/generated/und-snap-paging.d.ts +23 -0
- package/dist/generated/und-snap-paging.d.ts.map +1 -0
- package/dist/generated/und-snap-paging.js +48 -0
- package/dist/generated/und-snap-paging.js.map +1 -0
- package/dist/generated/und-spinner.d.ts +4 -1
- package/dist/generated/und-spinner.d.ts.map +1 -1
- package/dist/generated/und-spinner.js +10 -1
- package/dist/generated/und-spinner.js.map +1 -1
- package/dist/generated/und-stack.d.ts +60 -0
- package/dist/generated/und-stack.d.ts.map +1 -0
- package/dist/generated/und-stack.js +167 -0
- package/dist/generated/und-stack.js.map +1 -0
- package/dist/generated/und-status-dot.d.ts +23 -0
- package/dist/generated/und-status-dot.d.ts.map +1 -0
- package/dist/generated/und-status-dot.js +58 -0
- package/dist/generated/und-status-dot.js.map +1 -0
- package/dist/generated/und-step.d.ts +32 -0
- package/dist/generated/und-step.d.ts.map +1 -0
- package/dist/generated/und-step.js +91 -0
- package/dist/generated/und-step.js.map +1 -0
- package/dist/generated/und-stepper.d.ts +31 -0
- package/dist/generated/und-stepper.d.ts.map +1 -0
- package/dist/generated/und-stepper.js +77 -0
- package/dist/generated/und-stepper.js.map +1 -0
- package/dist/generated/und-swipe-action.d.ts +20 -0
- package/dist/generated/und-swipe-action.d.ts.map +1 -0
- package/dist/generated/und-swipe-action.js +49 -0
- package/dist/generated/und-swipe-action.js.map +1 -0
- package/dist/generated/und-swipe.d.ts +26 -0
- package/dist/generated/und-swipe.d.ts.map +1 -0
- package/dist/generated/und-swipe.js +63 -0
- package/dist/generated/und-swipe.js.map +1 -0
- package/dist/generated/und-switch.d.ts +17 -1
- package/dist/generated/und-switch.d.ts.map +1 -1
- package/dist/generated/und-switch.js +47 -1
- package/dist/generated/und-switch.js.map +1 -1
- package/dist/generated/und-tab-menu.d.ts +16 -0
- package/dist/generated/und-tab-menu.d.ts.map +1 -0
- package/dist/generated/und-tab-menu.js +39 -0
- package/dist/generated/und-tab-menu.js.map +1 -0
- package/dist/generated/und-table.d.ts +42 -3
- package/dist/generated/und-table.d.ts.map +1 -1
- package/dist/generated/und-table.js +100 -3
- package/dist/generated/und-table.js.map +1 -1
- package/dist/generated/und-text-field.d.ts +29 -1
- package/dist/generated/und-text-field.d.ts.map +1 -1
- package/dist/generated/und-text-field.js +79 -4
- package/dist/generated/und-text-field.js.map +1 -1
- package/dist/generated/und-text.d.ts +43 -0
- package/dist/generated/und-text.d.ts.map +1 -0
- package/dist/generated/und-text.js +114 -0
- package/dist/generated/und-text.js.map +1 -0
- package/dist/generated/und-textarea.d.ts +24 -1
- package/dist/generated/und-textarea.d.ts.map +1 -1
- package/dist/generated/und-textarea.js +67 -2
- package/dist/generated/und-textarea.js.map +1 -1
- package/dist/generated/und-thumbnail.d.ts +51 -0
- package/dist/generated/und-thumbnail.d.ts.map +1 -0
- package/dist/generated/und-thumbnail.js +133 -0
- package/dist/generated/und-thumbnail.js.map +1 -0
- package/dist/generated/und-time-input.d.ts +93 -0
- package/dist/generated/und-time-input.d.ts.map +1 -0
- package/dist/generated/und-time-input.js +245 -0
- package/dist/generated/und-time-input.js.map +1 -0
- package/dist/generated/und-timer.d.ts +35 -0
- package/dist/generated/und-timer.d.ts.map +1 -0
- package/dist/generated/und-timer.js +90 -0
- package/dist/generated/und-timer.js.map +1 -0
- package/dist/generated/und-timestamp.d.ts +43 -0
- package/dist/generated/und-timestamp.d.ts.map +1 -0
- package/dist/generated/und-timestamp.js +120 -0
- package/dist/generated/und-timestamp.js.map +1 -0
- package/dist/generated/und-toast.d.ts +4 -1
- package/dist/generated/und-toast.d.ts.map +1 -1
- package/dist/generated/und-toast.js +10 -1
- package/dist/generated/und-toast.js.map +1 -1
- package/dist/generated/und-toggle-button-group.d.ts +41 -0
- package/dist/generated/und-toggle-button-group.d.ts.map +1 -0
- package/dist/generated/und-toggle-button-group.js +105 -0
- package/dist/generated/und-toggle-button-group.js.map +1 -0
- package/dist/generated/und-toggle-button.d.ts +82 -0
- package/dist/generated/und-toggle-button.d.ts.map +1 -0
- package/dist/generated/und-toggle-button.js +216 -0
- package/dist/generated/und-toggle-button.js.map +1 -0
- package/dist/generated/und-token.d.ts +34 -0
- package/dist/generated/und-token.d.ts.map +1 -0
- package/dist/generated/und-token.js +86 -0
- package/dist/generated/und-token.js.map +1 -0
- package/dist/generated/und-tokenizer.d.ts +90 -0
- package/dist/generated/und-tokenizer.d.ts.map +1 -0
- package/dist/generated/und-tokenizer.js +233 -0
- package/dist/generated/und-tokenizer.js.map +1 -0
- package/dist/generated/und-toolbar.d.ts +16 -0
- package/dist/generated/und-toolbar.d.ts.map +1 -0
- package/dist/generated/und-toolbar.js +39 -0
- package/dist/generated/und-toolbar.js.map +1 -0
- package/dist/generated/und-top-nav-item.d.ts +17 -0
- package/dist/generated/und-top-nav-item.d.ts.map +1 -0
- package/dist/generated/und-top-nav-item.js +40 -0
- package/dist/generated/und-top-nav-item.js.map +1 -0
- package/dist/generated/und-top-nav-menu.d.ts +26 -0
- package/dist/generated/und-top-nav-menu.d.ts.map +1 -0
- package/dist/generated/und-top-nav-menu.js +58 -0
- package/dist/generated/und-top-nav-menu.js.map +1 -0
- package/dist/generated/und-top-nav.d.ts +13 -0
- package/dist/generated/und-top-nav.d.ts.map +1 -0
- package/dist/generated/und-top-nav.js +30 -0
- package/dist/generated/und-top-nav.js.map +1 -0
- package/dist/generated/und-tree-item.d.ts +45 -0
- package/dist/generated/und-tree-item.d.ts.map +1 -0
- package/dist/generated/und-tree-item.js +99 -0
- package/dist/generated/und-tree-item.js.map +1 -0
- package/dist/generated/und-tree-list.d.ts +26 -0
- package/dist/generated/und-tree-list.d.ts.map +1 -0
- package/dist/generated/und-tree-list.js +66 -0
- package/dist/generated/und-tree-list.js.map +1 -0
- package/dist/generated/und-typeahead.d.ts +84 -0
- package/dist/generated/und-typeahead.d.ts.map +1 -0
- package/dist/generated/und-typeahead.js +223 -0
- package/dist/generated/und-typeahead.js.map +1 -0
- package/dist/richtext-forms.d.ts +6 -0
- package/dist/richtext-forms.d.ts.map +1 -0
- package/dist/richtext-forms.js +6 -0
- package/dist/richtext-forms.js.map +1 -0
- package/dist/richtext.d.ts +6 -0
- package/dist/richtext.d.ts.map +1 -0
- package/dist/richtext.js +6 -0
- package/dist/richtext.js.map +1 -0
- package/package.json +34 -8
- package/src/charts.ts +5 -0
- package/src/generated/charts/index.ts +9 -0
- package/src/generated/charts/und-chart.ts +112 -0
- package/src/generated/forms.ts +481 -3
- package/src/generated/index.ts +179 -1
- package/src/generated/richtext/forms.ts +51 -0
- package/src/generated/richtext/index.ts +9 -0
- package/src/generated/richtext/und-rich-text-editor.ts +100 -0
- package/src/generated/und-app-shell.ts +71 -0
- package/src/generated/und-aspect-ratio.ts +43 -0
- package/src/generated/und-avatar-group.ts +10 -1
- package/src/generated/und-avatar.ts +3 -3
- package/src/generated/und-badge.ts +9 -0
- package/src/generated/und-banner.ts +107 -0
- package/src/generated/und-blockquote.ts +25 -0
- package/src/generated/und-bottom-sheet.ts +176 -0
- package/src/generated/und-breadcrumb.ts +9 -0
- package/src/generated/und-button-group.ts +43 -0
- package/src/generated/und-calendar.ts +139 -0
- package/src/generated/und-card.ts +10 -1
- package/src/generated/und-carousel.ts +174 -0
- package/src/generated/und-center.ts +124 -0
- package/src/generated/und-chat-composer.ts +171 -0
- package/src/generated/und-chat-layout.ts +80 -0
- package/src/generated/und-chat-message.ts +148 -0
- package/src/generated/und-checkbox-list.ts +82 -0
- package/src/generated/und-checkbox.ts +45 -0
- package/src/generated/und-citation.ts +79 -0
- package/src/generated/und-clickable-card.ts +79 -0
- package/src/generated/und-code-block.ts +184 -0
- package/src/generated/und-code.ts +34 -0
- package/src/generated/und-collapsible.ts +35 -0
- package/src/generated/und-command-palette.ts +226 -0
- package/src/generated/und-context-menu.ts +76 -0
- package/src/generated/und-date-input.ts +254 -0
- package/src/generated/und-date-range-input.ts +254 -0
- package/src/generated/und-date-time-input.ts +170 -0
- package/src/generated/und-dialog.ts +10 -1
- package/src/generated/und-divider.ts +18 -0
- package/src/generated/und-drawer.ts +10 -1
- package/src/generated/und-empty-state.ts +43 -0
- package/src/generated/und-file-input.ts +173 -0
- package/src/generated/und-form-field.ts +36 -0
- package/src/generated/und-form-layout.ts +34 -0
- package/src/generated/und-grid-item.ts +34 -0
- package/src/generated/und-grid.ts +115 -0
- package/src/generated/und-heading.ts +97 -0
- package/src/generated/und-hover-card.ts +107 -0
- package/src/generated/und-icon.ts +79 -0
- package/src/generated/und-indicator.ts +52 -0
- package/src/generated/und-info-tip.ts +62 -0
- package/src/generated/und-input-group.ts +290 -0
- package/src/generated/und-item.ts +124 -0
- package/src/generated/und-kbd.ts +25 -0
- package/src/generated/und-layout.ts +88 -0
- package/src/generated/und-lightbox.ts +221 -0
- package/src/generated/und-list-item.ts +78 -0
- package/src/generated/und-list.ts +70 -0
- package/src/generated/und-markdown.ts +88 -0
- package/src/generated/und-metadata-item.ts +25 -0
- package/src/generated/und-metadata-list.ts +70 -0
- package/src/generated/und-mobile-nav.ts +71 -0
- package/src/generated/und-more-menu.ts +67 -0
- package/src/generated/und-multi-select.ts +164 -0
- package/src/generated/und-nav-icon.ts +25 -0
- package/src/generated/und-nav-item.ts +79 -0
- package/src/generated/und-nav-menu-item.ts +52 -0
- package/src/generated/und-nav-menu.ts +53 -0
- package/src/generated/und-number-input.ts +281 -0
- package/src/generated/und-outline.ts +107 -0
- package/src/generated/und-overflow-list.ts +44 -0
- package/src/generated/und-pagination.ts +45 -0
- package/src/generated/und-popover.ts +18 -0
- package/src/generated/und-power-search.ts +169 -0
- package/src/generated/und-progress.ts +29 -2
- package/src/generated/und-radio-list.ts +100 -0
- package/src/generated/und-resize-handle.ts +116 -0
- package/src/generated/und-scroll-area.ts +34 -0
- package/src/generated/und-section.ts +115 -0
- package/src/generated/und-segmented-control-item.ts +61 -0
- package/src/generated/und-segmented-control.ts +100 -0
- package/src/generated/und-select.ts +2 -2
- package/src/generated/und-selectable-card.ts +172 -0
- package/src/generated/und-side-nav-heading.ts +25 -0
- package/src/generated/und-side-nav-item.ts +70 -0
- package/src/generated/und-side-nav-section.ts +53 -0
- package/src/generated/und-side-nav.ts +71 -0
- package/src/generated/und-skeleton.ts +27 -0
- package/src/generated/und-slider.ts +45 -0
- package/src/generated/und-snap-paging.ts +44 -0
- package/src/generated/und-spinner.ts +9 -0
- package/src/generated/und-stack.ts +160 -0
- package/src/generated/und-status-dot.ts +52 -0
- package/src/generated/und-step.ts +85 -0
- package/src/generated/und-stepper.ts +71 -0
- package/src/generated/und-swipe-action.ts +43 -0
- package/src/generated/und-swipe.ts +58 -0
- package/src/generated/und-switch.ts +45 -0
- package/src/generated/und-tab-menu.ts +34 -0
- package/src/generated/und-table.ts +94 -2
- package/src/generated/und-text-field.ts +74 -1
- package/src/generated/und-text.ts +106 -0
- package/src/generated/und-textarea.ts +63 -0
- package/src/generated/und-thumbnail.ts +126 -0
- package/src/generated/und-time-input.ts +236 -0
- package/src/generated/und-timer.ts +85 -0
- package/src/generated/und-timestamp.ts +115 -0
- package/src/generated/und-toast.ts +9 -0
- package/src/generated/und-toggle-button-group.ts +98 -0
- package/src/generated/und-toggle-button.ts +206 -0
- package/src/generated/und-token.ts +80 -0
- package/src/generated/und-tokenizer.ts +223 -0
- package/src/generated/und-toolbar.ts +34 -0
- package/src/generated/und-top-nav-item.ts +34 -0
- package/src/generated/und-top-nav-menu.ts +53 -0
- package/src/generated/und-top-nav.ts +25 -0
- package/src/generated/und-tree-item.ts +90 -0
- package/src/generated/und-tree-list.ts +62 -0
- package/src/generated/und-typeahead.ts +214 -0
- package/src/richtext-forms.ts +5 -0
- package/src/richtext.ts +5 -0
package/src/generated/index.ts
CHANGED
|
@@ -3,87 +3,265 @@
|
|
|
3
3
|
// Run `pnpm codegen` (or `pnpm build`) after changing a component.
|
|
4
4
|
import { UndAccordion } from './und-accordion.js';
|
|
5
5
|
import { UndAlert } from './und-alert.js';
|
|
6
|
+
import { UndAppShell } from './und-app-shell.js';
|
|
7
|
+
import { UndAspectRatio } from './und-aspect-ratio.js';
|
|
6
8
|
import { UndAvatar } from './und-avatar.js';
|
|
7
9
|
import { UndAvatarGroup } from './und-avatar-group.js';
|
|
8
10
|
import { UndBadge } from './und-badge.js';
|
|
11
|
+
import { UndBanner } from './und-banner.js';
|
|
12
|
+
import { UndBlockquote } from './und-blockquote.js';
|
|
13
|
+
import { UndBottomSheet } from './und-bottom-sheet.js';
|
|
9
14
|
import { UndBreadcrumb } from './und-breadcrumb.js';
|
|
10
15
|
import { UndBreadcrumbItem } from './und-breadcrumb-item.js';
|
|
11
16
|
import { UndButton } from './und-button.js';
|
|
17
|
+
import { UndButtonGroup } from './und-button-group.js';
|
|
18
|
+
import { UndCalendar } from './und-calendar.js';
|
|
12
19
|
import { UndCard } from './und-card.js';
|
|
20
|
+
import { UndCarousel } from './und-carousel.js';
|
|
21
|
+
import { UndCenter } from './und-center.js';
|
|
22
|
+
import { UndChatComposer } from './und-chat-composer.js';
|
|
23
|
+
import { UndChatLayout } from './und-chat-layout.js';
|
|
24
|
+
import { UndChatMessage } from './und-chat-message.js';
|
|
13
25
|
import { UndCheckbox } from './und-checkbox.js';
|
|
26
|
+
import { UndCheckboxList } from './und-checkbox-list.js';
|
|
27
|
+
import { UndCitation } from './und-citation.js';
|
|
28
|
+
import { UndClickableCard } from './und-clickable-card.js';
|
|
29
|
+
import { UndCode } from './und-code.js';
|
|
30
|
+
import { UndCodeBlock } from './und-code-block.js';
|
|
31
|
+
import { UndCollapsible } from './und-collapsible.js';
|
|
14
32
|
import { UndCombobox } from './und-combobox.js';
|
|
33
|
+
import { UndCommandPalette } from './und-command-palette.js';
|
|
34
|
+
import { UndContextMenu } from './und-context-menu.js';
|
|
35
|
+
import { UndDateInput } from './und-date-input.js';
|
|
36
|
+
import { UndDateRangeInput } from './und-date-range-input.js';
|
|
37
|
+
import { UndDateTimeInput } from './und-date-time-input.js';
|
|
15
38
|
import { UndDialog } from './und-dialog.js';
|
|
16
39
|
import { UndDivider } from './und-divider.js';
|
|
17
40
|
import { UndDrawer } from './und-drawer.js';
|
|
41
|
+
import { UndEmptyState } from './und-empty-state.js';
|
|
42
|
+
import { UndFileInput } from './und-file-input.js';
|
|
18
43
|
import { UndFormField } from './und-form-field.js';
|
|
44
|
+
import { UndFormLayout } from './und-form-layout.js';
|
|
45
|
+
import { UndGrid } from './und-grid.js';
|
|
46
|
+
import { UndGridItem } from './und-grid-item.js';
|
|
47
|
+
import { UndHeading } from './und-heading.js';
|
|
48
|
+
import { UndHoverCard } from './und-hover-card.js';
|
|
49
|
+
import { UndIcon } from './und-icon.js';
|
|
19
50
|
import { UndIconButton } from './und-icon-button.js';
|
|
51
|
+
import { UndIndicator } from './und-indicator.js';
|
|
52
|
+
import { UndInfoTip } from './und-info-tip.js';
|
|
53
|
+
import { UndInputGroup } from './und-input-group.js';
|
|
54
|
+
import { UndItem } from './und-item.js';
|
|
55
|
+
import { UndKbd } from './und-kbd.js';
|
|
56
|
+
import { UndLayout } from './und-layout.js';
|
|
57
|
+
import { UndLightbox } from './und-lightbox.js';
|
|
20
58
|
import { UndLink } from './und-link.js';
|
|
59
|
+
import { UndList } from './und-list.js';
|
|
60
|
+
import { UndListItem } from './und-list-item.js';
|
|
61
|
+
import { UndMarkdown } from './und-markdown.js';
|
|
21
62
|
import { UndMenu } from './und-menu.js';
|
|
22
63
|
import { UndMenuGroup } from './und-menu-group.js';
|
|
23
64
|
import { UndMenuItem } from './und-menu-item.js';
|
|
24
65
|
import { UndMenuSeparator } from './und-menu-separator.js';
|
|
66
|
+
import { UndMetadataItem } from './und-metadata-item.js';
|
|
67
|
+
import { UndMetadataList } from './und-metadata-list.js';
|
|
68
|
+
import { UndMobileNav } from './und-mobile-nav.js';
|
|
69
|
+
import { UndMoreMenu } from './und-more-menu.js';
|
|
70
|
+
import { UndMultiSelect } from './und-multi-select.js';
|
|
71
|
+
import { UndNavIcon } from './und-nav-icon.js';
|
|
72
|
+
import { UndNavItem } from './und-nav-item.js';
|
|
73
|
+
import { UndNavMenu } from './und-nav-menu.js';
|
|
74
|
+
import { UndNavMenuItem } from './und-nav-menu-item.js';
|
|
75
|
+
import { UndNumberInput } from './und-number-input.js';
|
|
76
|
+
import { UndOutline } from './und-outline.js';
|
|
77
|
+
import { UndOverflowList } from './und-overflow-list.js';
|
|
25
78
|
import { UndPagination } from './und-pagination.js';
|
|
26
79
|
import { UndPopover } from './und-popover.js';
|
|
80
|
+
import { UndPowerSearch } from './und-power-search.js';
|
|
27
81
|
import { UndProgress } from './und-progress.js';
|
|
28
82
|
import { UndRadio } from './und-radio.js';
|
|
29
83
|
import { UndRadioGroup } from './und-radio-group.js';
|
|
84
|
+
import { UndRadioList } from './und-radio-list.js';
|
|
85
|
+
import { UndResizeHandle } from './und-resize-handle.js';
|
|
86
|
+
import { UndScrollArea } from './und-scroll-area.js';
|
|
87
|
+
import { UndSection } from './und-section.js';
|
|
88
|
+
import { UndSegmentedControl } from './und-segmented-control.js';
|
|
89
|
+
import { UndSegmentedControlItem } from './und-segmented-control-item.js';
|
|
30
90
|
import { UndSelect } from './und-select.js';
|
|
91
|
+
import { UndSelectableCard } from './und-selectable-card.js';
|
|
92
|
+
import { UndSideNav } from './und-side-nav.js';
|
|
93
|
+
import { UndSideNavHeading } from './und-side-nav-heading.js';
|
|
94
|
+
import { UndSideNavItem } from './und-side-nav-item.js';
|
|
95
|
+
import { UndSideNavSection } from './und-side-nav-section.js';
|
|
31
96
|
import { UndSkeleton } from './und-skeleton.js';
|
|
32
97
|
import { UndSlider } from './und-slider.js';
|
|
98
|
+
import { UndSnapPaging } from './und-snap-paging.js';
|
|
33
99
|
import { UndSpinner } from './und-spinner.js';
|
|
100
|
+
import { UndStack } from './und-stack.js';
|
|
101
|
+
import { UndStatusDot } from './und-status-dot.js';
|
|
102
|
+
import { UndStep } from './und-step.js';
|
|
103
|
+
import { UndStepper } from './und-stepper.js';
|
|
104
|
+
import { UndSwipe } from './und-swipe.js';
|
|
105
|
+
import { UndSwipeAction } from './und-swipe-action.js';
|
|
34
106
|
import { UndSwitch } from './und-switch.js';
|
|
35
107
|
import { UndTab } from './und-tab.js';
|
|
108
|
+
import { UndTabMenu } from './und-tab-menu.js';
|
|
36
109
|
import { UndTabPanel } from './und-tab-panel.js';
|
|
37
110
|
import { UndTable } from './und-table.js';
|
|
38
111
|
import { UndTabs } from './und-tabs.js';
|
|
112
|
+
import { UndText } from './und-text.js';
|
|
39
113
|
import { UndTextField } from './und-text-field.js';
|
|
40
114
|
import { UndTextarea } from './und-textarea.js';
|
|
115
|
+
import { UndThumbnail } from './und-thumbnail.js';
|
|
116
|
+
import { UndTimeInput } from './und-time-input.js';
|
|
117
|
+
import { UndTimer } from './und-timer.js';
|
|
118
|
+
import { UndTimestamp } from './und-timestamp.js';
|
|
41
119
|
import { UndToast } from './und-toast.js';
|
|
42
120
|
import { UndToaster } from './und-toaster.js';
|
|
121
|
+
import { UndToggleButton } from './und-toggle-button.js';
|
|
122
|
+
import { UndToggleButtonGroup } from './und-toggle-button-group.js';
|
|
123
|
+
import { UndToken } from './und-token.js';
|
|
124
|
+
import { UndTokenizer } from './und-tokenizer.js';
|
|
125
|
+
import { UndToolbar } from './und-toolbar.js';
|
|
43
126
|
import { UndTooltip } from './und-tooltip.js';
|
|
127
|
+
import { UndTopNav } from './und-top-nav.js';
|
|
128
|
+
import { UndTopNavItem } from './und-top-nav-item.js';
|
|
129
|
+
import { UndTopNavMenu } from './und-top-nav-menu.js';
|
|
130
|
+
import { UndTreeItem } from './und-tree-item.js';
|
|
131
|
+
import { UndTreeList } from './und-tree-list.js';
|
|
132
|
+
import { UndTypeahead } from './und-typeahead.js';
|
|
44
133
|
import { UndVisuallyHidden } from './und-visually-hidden.js';
|
|
45
134
|
|
|
46
135
|
export { UndAccordion } from './und-accordion.js';
|
|
47
136
|
export { UndAlert } from './und-alert.js';
|
|
137
|
+
export { UndAppShell } from './und-app-shell.js';
|
|
138
|
+
export { UndAspectRatio } from './und-aspect-ratio.js';
|
|
48
139
|
export { UndAvatar } from './und-avatar.js';
|
|
49
140
|
export { UndAvatarGroup } from './und-avatar-group.js';
|
|
50
141
|
export { UndBadge } from './und-badge.js';
|
|
142
|
+
export { UndBanner } from './und-banner.js';
|
|
143
|
+
export { UndBlockquote } from './und-blockquote.js';
|
|
144
|
+
export { UndBottomSheet } from './und-bottom-sheet.js';
|
|
51
145
|
export { UndBreadcrumb } from './und-breadcrumb.js';
|
|
52
146
|
export { UndBreadcrumbItem } from './und-breadcrumb-item.js';
|
|
53
147
|
export { UndButton } from './und-button.js';
|
|
148
|
+
export { UndButtonGroup } from './und-button-group.js';
|
|
149
|
+
export { UndCalendar } from './und-calendar.js';
|
|
54
150
|
export { UndCard } from './und-card.js';
|
|
151
|
+
export { UndCarousel } from './und-carousel.js';
|
|
152
|
+
export { UndCenter } from './und-center.js';
|
|
153
|
+
export { UndChatComposer } from './und-chat-composer.js';
|
|
154
|
+
export { UndChatLayout } from './und-chat-layout.js';
|
|
155
|
+
export { UndChatMessage } from './und-chat-message.js';
|
|
55
156
|
export { UndCheckbox } from './und-checkbox.js';
|
|
157
|
+
export { UndCheckboxList } from './und-checkbox-list.js';
|
|
158
|
+
export { UndCitation } from './und-citation.js';
|
|
159
|
+
export { UndClickableCard } from './und-clickable-card.js';
|
|
160
|
+
export { UndCode } from './und-code.js';
|
|
161
|
+
export { UndCodeBlock } from './und-code-block.js';
|
|
162
|
+
export { UndCollapsible } from './und-collapsible.js';
|
|
56
163
|
export { UndCombobox } from './und-combobox.js';
|
|
164
|
+
export { UndCommandPalette } from './und-command-palette.js';
|
|
165
|
+
export { UndContextMenu } from './und-context-menu.js';
|
|
166
|
+
export { UndDateInput } from './und-date-input.js';
|
|
167
|
+
export { UndDateRangeInput } from './und-date-range-input.js';
|
|
168
|
+
export { UndDateTimeInput } from './und-date-time-input.js';
|
|
57
169
|
export { UndDialog } from './und-dialog.js';
|
|
58
170
|
export { UndDivider } from './und-divider.js';
|
|
59
171
|
export { UndDrawer } from './und-drawer.js';
|
|
172
|
+
export { UndEmptyState } from './und-empty-state.js';
|
|
173
|
+
export { UndFileInput } from './und-file-input.js';
|
|
60
174
|
export { UndFormField } from './und-form-field.js';
|
|
175
|
+
export { UndFormLayout } from './und-form-layout.js';
|
|
176
|
+
export { UndGrid } from './und-grid.js';
|
|
177
|
+
export { UndGridItem } from './und-grid-item.js';
|
|
178
|
+
export { UndHeading } from './und-heading.js';
|
|
179
|
+
export { UndHoverCard } from './und-hover-card.js';
|
|
180
|
+
export { UndIcon } from './und-icon.js';
|
|
61
181
|
export { UndIconButton } from './und-icon-button.js';
|
|
182
|
+
export { UndIndicator } from './und-indicator.js';
|
|
183
|
+
export { UndInfoTip } from './und-info-tip.js';
|
|
184
|
+
export { UndInputGroup } from './und-input-group.js';
|
|
185
|
+
export { UndItem } from './und-item.js';
|
|
186
|
+
export { UndKbd } from './und-kbd.js';
|
|
187
|
+
export { UndLayout } from './und-layout.js';
|
|
188
|
+
export { UndLightbox } from './und-lightbox.js';
|
|
62
189
|
export { UndLink } from './und-link.js';
|
|
190
|
+
export { UndList } from './und-list.js';
|
|
191
|
+
export { UndListItem } from './und-list-item.js';
|
|
192
|
+
export { UndMarkdown } from './und-markdown.js';
|
|
63
193
|
export { UndMenu } from './und-menu.js';
|
|
64
194
|
export { UndMenuGroup } from './und-menu-group.js';
|
|
65
195
|
export { UndMenuItem } from './und-menu-item.js';
|
|
66
196
|
export { UndMenuSeparator } from './und-menu-separator.js';
|
|
197
|
+
export { UndMetadataItem } from './und-metadata-item.js';
|
|
198
|
+
export { UndMetadataList } from './und-metadata-list.js';
|
|
199
|
+
export { UndMobileNav } from './und-mobile-nav.js';
|
|
200
|
+
export { UndMoreMenu } from './und-more-menu.js';
|
|
201
|
+
export { UndMultiSelect } from './und-multi-select.js';
|
|
202
|
+
export { UndNavIcon } from './und-nav-icon.js';
|
|
203
|
+
export { UndNavItem } from './und-nav-item.js';
|
|
204
|
+
export { UndNavMenu } from './und-nav-menu.js';
|
|
205
|
+
export { UndNavMenuItem } from './und-nav-menu-item.js';
|
|
206
|
+
export { UndNumberInput } from './und-number-input.js';
|
|
207
|
+
export { UndOutline } from './und-outline.js';
|
|
208
|
+
export { UndOverflowList } from './und-overflow-list.js';
|
|
67
209
|
export { UndPagination } from './und-pagination.js';
|
|
68
210
|
export { UndPopover } from './und-popover.js';
|
|
211
|
+
export { UndPowerSearch } from './und-power-search.js';
|
|
69
212
|
export { UndProgress } from './und-progress.js';
|
|
70
213
|
export { UndRadio } from './und-radio.js';
|
|
71
214
|
export { UndRadioGroup } from './und-radio-group.js';
|
|
215
|
+
export { UndRadioList } from './und-radio-list.js';
|
|
216
|
+
export { UndResizeHandle } from './und-resize-handle.js';
|
|
217
|
+
export { UndScrollArea } from './und-scroll-area.js';
|
|
218
|
+
export { UndSection } from './und-section.js';
|
|
219
|
+
export { UndSegmentedControl } from './und-segmented-control.js';
|
|
220
|
+
export { UndSegmentedControlItem } from './und-segmented-control-item.js';
|
|
72
221
|
export { UndSelect } from './und-select.js';
|
|
222
|
+
export { UndSelectableCard } from './und-selectable-card.js';
|
|
223
|
+
export { UndSideNav } from './und-side-nav.js';
|
|
224
|
+
export { UndSideNavHeading } from './und-side-nav-heading.js';
|
|
225
|
+
export { UndSideNavItem } from './und-side-nav-item.js';
|
|
226
|
+
export { UndSideNavSection } from './und-side-nav-section.js';
|
|
73
227
|
export { UndSkeleton } from './und-skeleton.js';
|
|
74
228
|
export { UndSlider } from './und-slider.js';
|
|
229
|
+
export { UndSnapPaging } from './und-snap-paging.js';
|
|
75
230
|
export { UndSpinner } from './und-spinner.js';
|
|
231
|
+
export { UndStack } from './und-stack.js';
|
|
232
|
+
export { UndStatusDot } from './und-status-dot.js';
|
|
233
|
+
export { UndStep } from './und-step.js';
|
|
234
|
+
export { UndStepper } from './und-stepper.js';
|
|
235
|
+
export { UndSwipe } from './und-swipe.js';
|
|
236
|
+
export { UndSwipeAction } from './und-swipe-action.js';
|
|
76
237
|
export { UndSwitch } from './und-switch.js';
|
|
77
238
|
export { UndTab } from './und-tab.js';
|
|
239
|
+
export { UndTabMenu } from './und-tab-menu.js';
|
|
78
240
|
export { UndTabPanel } from './und-tab-panel.js';
|
|
79
241
|
export { UndTable } from './und-table.js';
|
|
80
242
|
export { UndTabs } from './und-tabs.js';
|
|
243
|
+
export { UndText } from './und-text.js';
|
|
81
244
|
export { UndTextField } from './und-text-field.js';
|
|
82
245
|
export { UndTextarea } from './und-textarea.js';
|
|
246
|
+
export { UndThumbnail } from './und-thumbnail.js';
|
|
247
|
+
export { UndTimeInput } from './und-time-input.js';
|
|
248
|
+
export { UndTimer } from './und-timer.js';
|
|
249
|
+
export { UndTimestamp } from './und-timestamp.js';
|
|
83
250
|
export { UndToast } from './und-toast.js';
|
|
84
251
|
export { UndToaster } from './und-toaster.js';
|
|
252
|
+
export { UndToggleButton } from './und-toggle-button.js';
|
|
253
|
+
export { UndToggleButtonGroup } from './und-toggle-button-group.js';
|
|
254
|
+
export { UndToken } from './und-token.js';
|
|
255
|
+
export { UndTokenizer } from './und-tokenizer.js';
|
|
256
|
+
export { UndToolbar } from './und-toolbar.js';
|
|
85
257
|
export { UndTooltip } from './und-tooltip.js';
|
|
258
|
+
export { UndTopNav } from './und-top-nav.js';
|
|
259
|
+
export { UndTopNavItem } from './und-top-nav-item.js';
|
|
260
|
+
export { UndTopNavMenu } from './und-top-nav-menu.js';
|
|
261
|
+
export { UndTreeItem } from './und-tree-item.js';
|
|
262
|
+
export { UndTreeList } from './und-tree-list.js';
|
|
263
|
+
export { UndTypeahead } from './und-typeahead.js';
|
|
86
264
|
export { UndVisuallyHidden } from './und-visually-hidden.js';
|
|
87
265
|
|
|
88
266
|
/** Every UND UI component, for a standalone component's `imports`. */
|
|
89
|
-
export const UND_UI_COMPONENTS = [UndAccordion, UndAlert, UndAvatar, UndAvatarGroup, UndBadge, UndBreadcrumb, UndBreadcrumbItem, UndButton, UndCard, UndCheckbox, UndCombobox, UndDialog, UndDivider, UndDrawer, UndFormField, UndIconButton, UndLink, UndMenu, UndMenuGroup, UndMenuItem, UndMenuSeparator, UndPagination, UndPopover, UndProgress, UndRadio, UndRadioGroup, UndSelect, UndSkeleton, UndSlider, UndSpinner, UndSwitch, UndTab, UndTabPanel, UndTable, UndTabs, UndTextField, UndTextarea, UndToast, UndToaster, UndTooltip, UndVisuallyHidden] as const;
|
|
267
|
+
export const UND_UI_COMPONENTS = [UndAccordion, UndAlert, UndAppShell, UndAspectRatio, UndAvatar, UndAvatarGroup, UndBadge, UndBanner, UndBlockquote, UndBottomSheet, UndBreadcrumb, UndBreadcrumbItem, UndButton, UndButtonGroup, UndCalendar, UndCard, UndCarousel, UndCenter, UndChatComposer, UndChatLayout, UndChatMessage, UndCheckbox, UndCheckboxList, UndCitation, UndClickableCard, UndCode, UndCodeBlock, UndCollapsible, UndCombobox, UndCommandPalette, UndContextMenu, UndDateInput, UndDateRangeInput, UndDateTimeInput, UndDialog, UndDivider, UndDrawer, UndEmptyState, UndFileInput, UndFormField, UndFormLayout, UndGrid, UndGridItem, UndHeading, UndHoverCard, UndIcon, UndIconButton, UndIndicator, UndInfoTip, UndInputGroup, UndItem, UndKbd, UndLayout, UndLightbox, UndLink, UndList, UndListItem, UndMarkdown, UndMenu, UndMenuGroup, UndMenuItem, UndMenuSeparator, UndMetadataItem, UndMetadataList, UndMobileNav, UndMoreMenu, UndMultiSelect, UndNavIcon, UndNavItem, UndNavMenu, UndNavMenuItem, UndNumberInput, UndOutline, UndOverflowList, UndPagination, UndPopover, UndPowerSearch, UndProgress, UndRadio, UndRadioGroup, UndRadioList, UndResizeHandle, UndScrollArea, UndSection, UndSegmentedControl, UndSegmentedControlItem, UndSelect, UndSelectableCard, UndSideNav, UndSideNavHeading, UndSideNavItem, UndSideNavSection, UndSkeleton, UndSlider, UndSnapPaging, UndSpinner, UndStack, UndStatusDot, UndStep, UndStepper, UndSwipe, UndSwipeAction, UndSwitch, UndTab, UndTabMenu, UndTabPanel, UndTable, UndTabs, UndText, UndTextField, UndTextarea, UndThumbnail, UndTimeInput, UndTimer, UndTimestamp, UndToast, UndToaster, UndToggleButton, UndToggleButtonGroup, UndToken, UndTokenizer, UndToolbar, UndTooltip, UndTopNav, UndTopNavItem, UndTopNavMenu, UndTreeItem, UndTreeList, UndTypeahead, UndVisuallyHidden] as const;
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
// GENERATED FILE. DO NOT EDIT.
|
|
2
|
+
// Source: @und-ui/richtext custom-elements.json, via tools/codegen/wrappers.mjs.
|
|
3
|
+
// Run `pnpm codegen` (or `pnpm build`) after changing a component.
|
|
4
|
+
// ControlValueAccessor directives: ngModel, formControl and formControlName on
|
|
5
|
+
// UND UI form controls. Import from `@und-ui/angular/richtext/forms` (needs @angular/forms).
|
|
6
|
+
import { Directive, ElementRef, forwardRef, inject } from '@angular/core';
|
|
7
|
+
import { NG_VALUE_ACCESSOR, type ControlValueAccessor } from '@angular/forms';
|
|
8
|
+
import type { UndRichTextEditor as UndRichTextEditorElement } from '@und-ui/richtext';
|
|
9
|
+
|
|
10
|
+
/** Connects `<und-rich-text-editor>` to Angular forms through `value`. */
|
|
11
|
+
@Directive({
|
|
12
|
+
selector: 'und-rich-text-editor[ngModel], und-rich-text-editor[formControl], und-rich-text-editor[formControlName]',
|
|
13
|
+
host: {
|
|
14
|
+
'(input)': 'onUserChange($event)',
|
|
15
|
+
'(compositionend)': 'onUserChange($event)',
|
|
16
|
+
'(focusout)': 'onTouched()',
|
|
17
|
+
},
|
|
18
|
+
providers: [
|
|
19
|
+
{ provide: NG_VALUE_ACCESSOR, useExisting: forwardRef(() => UndRichTextEditorValueAccessor), multi: true },
|
|
20
|
+
],
|
|
21
|
+
})
|
|
22
|
+
export class UndRichTextEditorValueAccessor implements ControlValueAccessor {
|
|
23
|
+
readonly #el: UndRichTextEditorElement = inject<ElementRef<UndRichTextEditorElement>>(ElementRef).nativeElement;
|
|
24
|
+
#onChange: (value: UndRichTextEditorElement['value']) => void = () => {};
|
|
25
|
+
onTouched: () => void = () => {};
|
|
26
|
+
|
|
27
|
+
writeValue(value: UndRichTextEditorElement['value'] | null): void {
|
|
28
|
+
this.#el.value = value ?? '';
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
registerOnChange(fn: (value: UndRichTextEditorElement['value']) => void): void {
|
|
32
|
+
this.#onChange = fn;
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
registerOnTouched(fn: () => void): void {
|
|
36
|
+
this.onTouched = fn;
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
setDisabledState(disabled: boolean): void {
|
|
40
|
+
this.#el.disabled = disabled;
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
/** @internal IME: composing input events are skipped; compositionend commits. */
|
|
44
|
+
onUserChange(event: Event): void {
|
|
45
|
+
if ((event as InputEvent).isComposing) return;
|
|
46
|
+
this.#onChange(this.#el.value);
|
|
47
|
+
}
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
/** Every value accessor, for a standalone component's `imports`. */
|
|
51
|
+
export const UND_UI_RICHTEXT_FORMS = [UndRichTextEditorValueAccessor] as const;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
// GENERATED FILE. DO NOT EDIT.
|
|
2
|
+
// Source: @und-ui/richtext custom-elements.json, via tools/codegen/wrappers.mjs.
|
|
3
|
+
// Run `pnpm codegen` (or `pnpm build`) after changing a component.
|
|
4
|
+
import { UndRichTextEditor } from './und-rich-text-editor.js';
|
|
5
|
+
|
|
6
|
+
export { UndRichTextEditor } from './und-rich-text-editor.js';
|
|
7
|
+
|
|
8
|
+
/** Every @und-ui/richtext component, for a standalone component's `imports`. */
|
|
9
|
+
export const UND_UI_RICHTEXT_COMPONENTS = [UndRichTextEditor] as const;
|
|
@@ -0,0 +1,100 @@
|
|
|
1
|
+
// GENERATED FILE. DO NOT EDIT.
|
|
2
|
+
// Source: @und-ui/richtext custom-elements.json, via tools/codegen/wrappers.mjs.
|
|
3
|
+
// Run `pnpm codegen` (or `pnpm build`) after changing a component.
|
|
4
|
+
import { booleanAttribute, ChangeDetectionStrategy, Component, ElementRef, Input, inject } from '@angular/core';
|
|
5
|
+
import '@und-ui/richtext/rich-text-editor.js';
|
|
6
|
+
import type { UndRichTextEditor as UndRichTextEditorElement } from '@und-ui/richtext';
|
|
7
|
+
|
|
8
|
+
/** A small, security-first rich text editor with Markdown shortcuts.
|
|
9
|
+
*
|
|
10
|
+
* Native events (`input`, `change`) are not outputs: bind them on the
|
|
11
|
+
* element as usual, for example `(input)="..."`. */
|
|
12
|
+
@Component({
|
|
13
|
+
selector: 'und-rich-text-editor',
|
|
14
|
+
template: '<ng-content></ng-content>',
|
|
15
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
16
|
+
})
|
|
17
|
+
export class UndRichTextEditor {
|
|
18
|
+
readonly #el: UndRichTextEditorElement = inject<ElementRef<UndRichTextEditorElement>>(ElementRef).nativeElement;
|
|
19
|
+
|
|
20
|
+
/** Accessible name (and visible label) of the editing area. */
|
|
21
|
+
@Input()
|
|
22
|
+
set label(value: UndRichTextEditorElement['label']) {
|
|
23
|
+
this.#el.label = value;
|
|
24
|
+
}
|
|
25
|
+
get label(): UndRichTextEditorElement['label'] {
|
|
26
|
+
return this.#el.label;
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
/** Text shown while the editor is empty. */
|
|
30
|
+
@Input()
|
|
31
|
+
set placeholder(value: UndRichTextEditorElement['placeholder']) {
|
|
32
|
+
this.#el.placeholder = value;
|
|
33
|
+
}
|
|
34
|
+
get placeholder(): UndRichTextEditorElement['placeholder'] {
|
|
35
|
+
return this.#el.placeholder;
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
/** Form field name for the sanitized HTML. */
|
|
39
|
+
@Input()
|
|
40
|
+
set name(value: UndRichTextEditorElement['name']) {
|
|
41
|
+
this.#el.name = value;
|
|
42
|
+
}
|
|
43
|
+
get name(): UndRichTextEditorElement['name'] {
|
|
44
|
+
return this.#el.name;
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
/** Form field name for the Markdown version (optional). */
|
|
48
|
+
@Input()
|
|
49
|
+
set markdownName(value: UndRichTextEditorElement['markdownName']) {
|
|
50
|
+
this.#el.markdownName = value;
|
|
51
|
+
}
|
|
52
|
+
get markdownName(): UndRichTextEditorElement['markdownName'] {
|
|
53
|
+
return this.#el.markdownName;
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
/** Disables editing and the toolbar. A disabled ancestor fieldset also disables it. */
|
|
57
|
+
@Input({ transform: booleanAttribute })
|
|
58
|
+
set disabled(value: boolean) {
|
|
59
|
+
this.#el.disabled = value;
|
|
60
|
+
}
|
|
61
|
+
get disabled(): UndRichTextEditorElement['disabled'] {
|
|
62
|
+
return this.#el.disabled;
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
/** Shows the content without allowing edits. */
|
|
66
|
+
@Input({ transform: booleanAttribute })
|
|
67
|
+
set readOnly(value: boolean) {
|
|
68
|
+
this.#el.readOnly = value;
|
|
69
|
+
}
|
|
70
|
+
get readOnly(): UndRichTextEditorElement['readOnly'] {
|
|
71
|
+
return this.#el.readOnly;
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
/** Requires some text before the form submits. */
|
|
75
|
+
@Input({ transform: booleanAttribute })
|
|
76
|
+
set required(value: boolean) {
|
|
77
|
+
this.#el.required = value;
|
|
78
|
+
}
|
|
79
|
+
get required(): UndRichTextEditorElement['required'] {
|
|
80
|
+
return this.#el.required;
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
/** Hides the toolbar (keyboard shortcuts and Markdown shortcuts still work). */
|
|
84
|
+
@Input({ transform: booleanAttribute })
|
|
85
|
+
set noToolbar(value: boolean) {
|
|
86
|
+
this.#el.noToolbar = value;
|
|
87
|
+
}
|
|
88
|
+
get noToolbar(): UndRichTextEditorElement['noToolbar'] {
|
|
89
|
+
return this.#el.noToolbar;
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
/** The content as sanitized HTML. Setting it sanitizes the input (never trust it), so assigning user or server HTML is safe. */
|
|
93
|
+
@Input()
|
|
94
|
+
set value(value: UndRichTextEditorElement['value']) {
|
|
95
|
+
this.#el.value = value;
|
|
96
|
+
}
|
|
97
|
+
get value(): UndRichTextEditorElement['value'] {
|
|
98
|
+
return this.#el.value;
|
|
99
|
+
}
|
|
100
|
+
}
|
|
@@ -0,0 +1,71 @@
|
|
|
1
|
+
// GENERATED FILE. DO NOT EDIT.
|
|
2
|
+
// Source: @und-ui/core custom-elements.json, via tools/codegen/wrappers.mjs.
|
|
3
|
+
// Run `pnpm codegen` (or `pnpm build`) after changing a component.
|
|
4
|
+
import { booleanAttribute, ChangeDetectionStrategy, Component, ElementRef, EventEmitter, Input, NgZone, Output, inject } from '@angular/core';
|
|
5
|
+
import '@und-ui/core/app-shell.js';
|
|
6
|
+
import type { UndAppShell as UndAppShellElement } from '@und-ui/core';
|
|
7
|
+
|
|
8
|
+
/** An app frame with header, side panel, main and footer landmarks. */
|
|
9
|
+
@Component({
|
|
10
|
+
selector: 'und-app-shell',
|
|
11
|
+
template: '<ng-content></ng-content>',
|
|
12
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
13
|
+
})
|
|
14
|
+
export class UndAppShell {
|
|
15
|
+
readonly #el: UndAppShellElement = inject<ElementRef<UndAppShellElement>>(ElementRef).nativeElement;
|
|
16
|
+
|
|
17
|
+
/** Whether the side panel is open on a narrow layout. Wide layouts always show it. */
|
|
18
|
+
@Input({ transform: booleanAttribute })
|
|
19
|
+
set open(value: boolean) {
|
|
20
|
+
this.#el.open = value;
|
|
21
|
+
}
|
|
22
|
+
get open(): UndAppShellElement['open'] {
|
|
23
|
+
return this.#el.open;
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
/** Role of the side panel: `navigation` (default) or `complementary`. */
|
|
27
|
+
@Input()
|
|
28
|
+
set panelRole(value: UndAppShellElement['panelRole']) {
|
|
29
|
+
this.#el.panelRole = value;
|
|
30
|
+
}
|
|
31
|
+
get panelRole(): UndAppShellElement['panelRole'] {
|
|
32
|
+
return this.#el.panelRole;
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
/** Accessible name of the side panel landmark. */
|
|
36
|
+
@Input()
|
|
37
|
+
set panelLabel(value: UndAppShellElement['panelLabel']) {
|
|
38
|
+
this.#el.panelLabel = value;
|
|
39
|
+
}
|
|
40
|
+
get panelLabel(): UndAppShellElement['panelLabel'] {
|
|
41
|
+
return this.#el.panelLabel;
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
/** Text of the skip link. */
|
|
45
|
+
@Input()
|
|
46
|
+
set skipLabel(value: UndAppShellElement['skipLabel']) {
|
|
47
|
+
this.#el.skipLabel = value;
|
|
48
|
+
}
|
|
49
|
+
get skipLabel(): UndAppShellElement['skipLabel'] {
|
|
50
|
+
return this.#el.skipLabel;
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
/** Text of the button that opens the panel on narrow layouts. */
|
|
54
|
+
@Input()
|
|
55
|
+
set toggleLabel(value: UndAppShellElement['toggleLabel']) {
|
|
56
|
+
this.#el.toggleLabel = value;
|
|
57
|
+
}
|
|
58
|
+
get toggleLabel(): UndAppShellElement['toggleLabel'] {
|
|
59
|
+
return this.#el.toggleLabel;
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
/** The panel was opened or closed on a narrow layout. */
|
|
63
|
+
@Output() readonly undPanelToggle = new EventEmitter<CustomEvent<{open: boolean}>>();
|
|
64
|
+
|
|
65
|
+
constructor() {
|
|
66
|
+
const zone = inject(NgZone);
|
|
67
|
+
this.#el.addEventListener('und-panel-toggle', (event) =>
|
|
68
|
+
zone.run(() => this.undPanelToggle.emit(event as CustomEvent<{open: boolean}>)),
|
|
69
|
+
);
|
|
70
|
+
}
|
|
71
|
+
}
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
// GENERATED FILE. DO NOT EDIT.
|
|
2
|
+
// Source: @und-ui/core custom-elements.json, via tools/codegen/wrappers.mjs.
|
|
3
|
+
// Run `pnpm codegen` (or `pnpm build`) after changing a component.
|
|
4
|
+
import { ChangeDetectionStrategy, Component, ElementRef, Input, inject } from '@angular/core';
|
|
5
|
+
import '@und-ui/core/aspect-ratio.js';
|
|
6
|
+
import type { UndAspectRatio as UndAspectRatioElement } from '@und-ui/core';
|
|
7
|
+
|
|
8
|
+
/** A box with a fixed aspect ratio that fills slotted media. */
|
|
9
|
+
@Component({
|
|
10
|
+
selector: 'und-aspect-ratio',
|
|
11
|
+
template: '<ng-content></ng-content>',
|
|
12
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
13
|
+
})
|
|
14
|
+
export class UndAspectRatio {
|
|
15
|
+
readonly #el: UndAspectRatioElement = inject<ElementRef<UndAspectRatioElement>>(ElementRef).nativeElement;
|
|
16
|
+
|
|
17
|
+
/** Width over height: `16/9`, `4:3` or a number such as `1.5`. */
|
|
18
|
+
@Input()
|
|
19
|
+
set ratio(value: UndAspectRatioElement['ratio']) {
|
|
20
|
+
this.#el.ratio = value;
|
|
21
|
+
}
|
|
22
|
+
get ratio(): UndAspectRatioElement['ratio'] {
|
|
23
|
+
return this.#el.ratio;
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
/** How the child fills the box: `cover` (default), `contain`, `fill`, or `center` (natural size, centered). */
|
|
27
|
+
@Input()
|
|
28
|
+
set fit(value: UndAspectRatioElement['fit']) {
|
|
29
|
+
this.#el.fit = value;
|
|
30
|
+
}
|
|
31
|
+
get fit(): UndAspectRatioElement['fit'] {
|
|
32
|
+
return this.#el.fit;
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
/** Shape of the box: `rectangle` (default) or `ellipse` (a circle at `1/1`). */
|
|
36
|
+
@Input()
|
|
37
|
+
set shape(value: UndAspectRatioElement['shape']) {
|
|
38
|
+
this.#el.shape = value;
|
|
39
|
+
}
|
|
40
|
+
get shape(): UndAspectRatioElement['shape'] {
|
|
41
|
+
return this.#el.shape;
|
|
42
|
+
}
|
|
43
|
+
}
|
|
@@ -32,7 +32,7 @@ export class UndAvatarGroup {
|
|
|
32
32
|
return this.#el.max;
|
|
33
33
|
}
|
|
34
34
|
|
|
35
|
-
/** Size of the "+N" counter; match it to the avatars. */
|
|
35
|
+
/** Size of the overlap and of the "+N" counter; match it to the avatars. */
|
|
36
36
|
@Input()
|
|
37
37
|
set size(value: UndAvatarGroupElement['size']) {
|
|
38
38
|
this.#el.size = value;
|
|
@@ -41,6 +41,15 @@ export class UndAvatarGroup {
|
|
|
41
41
|
return this.#el.size;
|
|
42
42
|
}
|
|
43
43
|
|
|
44
|
+
/** Corner style of the rings and the "+N" counter; match it to the avatars. */
|
|
45
|
+
@Input()
|
|
46
|
+
set shape(value: UndAvatarGroupElement['shape']) {
|
|
47
|
+
this.#el.shape = value;
|
|
48
|
+
}
|
|
49
|
+
get shape(): UndAvatarGroupElement['shape'] {
|
|
50
|
+
return this.#el.shape;
|
|
51
|
+
}
|
|
52
|
+
|
|
44
53
|
/** Spoken text of the counter; `{count}` is replaced by the hidden count. */
|
|
45
54
|
@Input()
|
|
46
55
|
set moreLabel(value: UndAvatarGroupElement['moreLabel']) {
|
|
@@ -32,7 +32,7 @@ export class UndAvatar {
|
|
|
32
32
|
return this.#el.name;
|
|
33
33
|
}
|
|
34
34
|
|
|
35
|
-
/** Size of the avatar. */
|
|
35
|
+
/** Size of the avatar: `xs` 20px, `sm` 24px, `md` 36px, `lg` 48px, `xl` 128px. */
|
|
36
36
|
@Input()
|
|
37
37
|
set size(value: UndAvatarElement['size']) {
|
|
38
38
|
this.#el.size = value;
|
|
@@ -41,7 +41,7 @@ export class UndAvatar {
|
|
|
41
41
|
return this.#el.size;
|
|
42
42
|
}
|
|
43
43
|
|
|
44
|
-
/** Corner style
|
|
44
|
+
/** Corner style: `circle`, `rounded` (8px corners) or `square`. */
|
|
45
45
|
@Input()
|
|
46
46
|
set shape(value: UndAvatarElement['shape']) {
|
|
47
47
|
this.#el.shape = value;
|
|
@@ -50,7 +50,7 @@ export class UndAvatar {
|
|
|
50
50
|
return this.#el.shape;
|
|
51
51
|
}
|
|
52
52
|
|
|
53
|
-
/** Presence indicator. It is part of the accessible name,
|
|
53
|
+
/** Presence indicator. It is part of the accessible name, and each status has its own look besides colour (offline is a hollow ring, busy a minus bar). */
|
|
54
54
|
@Input()
|
|
55
55
|
set status(value: UndAvatarElement['status']) {
|
|
56
56
|
this.#el.status = value;
|
|
@@ -49,4 +49,13 @@ export class UndBadge {
|
|
|
49
49
|
get dot(): UndBadgeElement['dot'] {
|
|
50
50
|
return this.#el.dot;
|
|
51
51
|
}
|
|
52
|
+
|
|
53
|
+
/** Categorical colour (a tinted fill with dark text); overrides `tone`. */
|
|
54
|
+
@Input()
|
|
55
|
+
set color(value: UndBadgeElement['color']) {
|
|
56
|
+
this.#el.color = value;
|
|
57
|
+
}
|
|
58
|
+
get color(): UndBadgeElement['color'] {
|
|
59
|
+
return this.#el.color;
|
|
60
|
+
}
|
|
52
61
|
}
|