@und-ui/angular 0.1.0 → 0.2.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/dist/generated/forms.d.ts +146 -3
- package/dist/generated/forms.d.ts.map +1 -1
- package/dist/generated/forms.js +507 -3
- package/dist/generated/forms.js.map +1 -1
- package/dist/generated/index.d.ts +155 -1
- package/dist/generated/index.d.ts.map +1 -1
- package/dist/generated/index.js +155 -1
- package/dist/generated/index.js.map +1 -1
- 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 +16 -0
- package/dist/generated/und-aspect-ratio.d.ts.map +1 -0
- package/dist/generated/und-aspect-ratio.js +39 -0
- package/dist/generated/und-aspect-ratio.js.map +1 -0
- package/dist/generated/und-banner.d.ts +34 -0
- package/dist/generated/und-banner.d.ts.map +1 -0
- package/dist/generated/und-banner.js +86 -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 +71 -0
- package/dist/generated/und-bottom-sheet.d.ts.map +1 -0
- package/dist/generated/und-bottom-sheet.js +174 -0
- package/dist/generated/und-bottom-sheet.js.map +1 -0
- 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-carousel.d.ts +53 -0
- package/dist/generated/und-carousel.d.ts.map +1 -0
- package/dist/generated/und-carousel.js +144 -0
- package/dist/generated/und-carousel.js.map +1 -0
- package/dist/generated/und-center.d.ts +21 -0
- package/dist/generated/und-center.d.ts.map +1 -0
- package/dist/generated/und-center.js +50 -0
- package/dist/generated/und-center.js.map +1 -0
- package/dist/generated/und-chat-composer.d.ts +54 -0
- package/dist/generated/und-chat-composer.d.ts.map +1 -0
- package/dist/generated/und-chat-composer.js +137 -0
- package/dist/generated/und-chat-composer.js.map +1 -0
- package/dist/generated/und-chat-layout.d.ts +29 -0
- package/dist/generated/und-chat-layout.d.ts.map +1 -0
- package/dist/generated/und-chat-layout.js +67 -0
- package/dist/generated/und-chat-layout.js.map +1 -0
- package/dist/generated/und-chat-message.d.ts +52 -0
- package/dist/generated/und-chat-message.d.ts.map +1 -0
- package/dist/generated/und-chat-message.js +126 -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-citation.d.ts +25 -0
- package/dist/generated/und-citation.d.ts.map +1 -0
- package/dist/generated/und-citation.js +66 -0
- package/dist/generated/und-citation.js.map +1 -0
- package/dist/generated/und-clickable-card.d.ts +29 -0
- package/dist/generated/und-clickable-card.d.ts.map +1 -0
- package/dist/generated/und-clickable-card.js +76 -0
- package/dist/generated/und-clickable-card.js.map +1 -0
- package/dist/generated/und-code-block.d.ts +56 -0
- package/dist/generated/und-code-block.d.ts.map +1 -0
- package/dist/generated/und-code-block.js +147 -0
- package/dist/generated/und-code-block.js.map +1 -0
- package/dist/generated/und-code.d.ts +9 -0
- package/dist/generated/und-code.d.ts.map +1 -0
- package/dist/generated/und-code.js +21 -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 +91 -0
- package/dist/generated/und-command-palette.d.ts.map +1 -0
- package/dist/generated/und-command-palette.js +225 -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 +83 -0
- package/dist/generated/und-date-input.d.ts.map +1 -0
- package/dist/generated/und-date-input.js +217 -0
- package/dist/generated/und-date-input.js.map +1 -0
- package/dist/generated/und-date-range-input.d.ts +84 -0
- package/dist/generated/und-date-range-input.d.ts.map +1 -0
- package/dist/generated/und-date-range-input.js +217 -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-empty-state.d.ts +16 -0
- package/dist/generated/und-empty-state.d.ts.map +1 -0
- package/dist/generated/und-empty-state.js +39 -0
- package/dist/generated/und-empty-state.js.map +1 -0
- package/dist/generated/und-file-input.d.ts +54 -0
- package/dist/generated/und-file-input.d.ts.map +1 -0
- package/dist/generated/und-file-input.js +136 -0
- package/dist/generated/und-file-input.js.map +1 -0
- package/dist/generated/und-form-layout.d.ts +13 -0
- package/dist/generated/und-form-layout.d.ts.map +1 -0
- package/dist/generated/und-form-layout.js +30 -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 +26 -0
- package/dist/generated/und-grid.d.ts.map +1 -0
- package/dist/generated/und-grid.js +67 -0
- package/dist/generated/und-grid.js.map +1 -0
- package/dist/generated/und-heading.d.ts +19 -0
- package/dist/generated/und-heading.d.ts.map +1 -0
- package/dist/generated/und-heading.js +48 -0
- package/dist/generated/und-heading.js.map +1 -0
- package/dist/generated/und-hover-card.d.ts +43 -0
- package/dist/generated/und-hover-card.d.ts.map +1 -0
- package/dist/generated/und-hover-card.js +104 -0
- package/dist/generated/und-hover-card.js.map +1 -0
- package/dist/generated/und-icon.d.ts +26 -0
- package/dist/generated/und-icon.d.ts.map +1 -0
- package/dist/generated/und-icon.js +67 -0
- package/dist/generated/und-icon.js.map +1 -0
- package/dist/generated/und-info-tip.d.ts +27 -0
- package/dist/generated/und-info-tip.d.ts.map +1 -0
- package/dist/generated/und-info-tip.js +58 -0
- package/dist/generated/und-info-tip.js.map +1 -0
- package/dist/generated/und-input-group.d.ts +83 -0
- package/dist/generated/und-input-group.d.ts.map +1 -0
- package/dist/generated/und-input-group.js +226 -0
- package/dist/generated/und-input-group.js.map +1 -0
- package/dist/generated/und-kbd.d.ts +9 -0
- package/dist/generated/und-kbd.d.ts.map +1 -0
- package/dist/generated/und-kbd.js +21 -0
- package/dist/generated/und-kbd.js.map +1 -0
- package/dist/generated/und-lightbox.d.ts +87 -0
- package/dist/generated/und-lightbox.d.ts.map +1 -0
- package/dist/generated/und-lightbox.js +221 -0
- package/dist/generated/und-lightbox.js.map +1 -0
- package/dist/generated/und-list-item.d.ts +12 -0
- package/dist/generated/und-list-item.d.ts.map +1 -0
- package/dist/generated/und-list-item.js +29 -0
- package/dist/generated/und-list-item.js.map +1 -0
- package/dist/generated/und-list.d.ts +16 -0
- package/dist/generated/und-list.d.ts.map +1 -0
- package/dist/generated/und-list.js +39 -0
- package/dist/generated/und-list.js.map +1 -0
- package/dist/generated/und-markdown.d.ts +32 -0
- package/dist/generated/und-markdown.d.ts.map +1 -0
- package/dist/generated/und-markdown.js +85 -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 +17 -0
- package/dist/generated/und-metadata-list.d.ts.map +1 -0
- package/dist/generated/und-metadata-list.js +40 -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-number-input.d.ts +89 -0
- package/dist/generated/und-number-input.d.ts.map +1 -0
- package/dist/generated/und-number-input.js +237 -0
- package/dist/generated/und-number-input.js.map +1 -0
- package/dist/generated/und-outline.d.ts +38 -0
- package/dist/generated/und-outline.d.ts.map +1 -0
- package/dist/generated/und-outline.js +102 -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-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 +43 -0
- package/dist/generated/und-resize-handle.d.ts.map +1 -0
- package/dist/generated/und-resize-handle.js +113 -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 +19 -0
- package/dist/generated/und-section.d.ts.map +1 -0
- package/dist/generated/und-section.js +48 -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-selectable-card.d.ts +50 -0
- package/dist/generated/und-selectable-card.d.ts.map +1 -0
- package/dist/generated/und-selectable-card.js +127 -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-stack.d.ts +30 -0
- package/dist/generated/und-stack.d.ts.map +1 -0
- package/dist/generated/und-stack.js +77 -0
- package/dist/generated/und-stack.js.map +1 -0
- package/dist/generated/und-status-dot.d.ts +16 -0
- package/dist/generated/und-status-dot.d.ts.map +1 -0
- package/dist/generated/und-status-dot.js +39 -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-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 +22 -2
- package/dist/generated/und-table.d.ts.map +1 -1
- package/dist/generated/und-table.js +55 -2
- package/dist/generated/und-table.js.map +1 -1
- package/dist/generated/und-text.d.ts +26 -0
- package/dist/generated/und-text.d.ts.map +1 -0
- package/dist/generated/und-text.js +67 -0
- package/dist/generated/und-text.js.map +1 -0
- package/dist/generated/und-thumbnail.d.ts +31 -0
- package/dist/generated/und-thumbnail.d.ts.map +1 -0
- package/dist/generated/und-thumbnail.js +80 -0
- package/dist/generated/und-thumbnail.js.map +1 -0
- package/dist/generated/und-time-input.d.ts +77 -0
- package/dist/generated/und-time-input.d.ts.map +1 -0
- package/dist/generated/und-time-input.js +199 -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 +37 -0
- package/dist/generated/und-timestamp.d.ts.map +1 -0
- package/dist/generated/und-timestamp.js +102 -0
- package/dist/generated/und-timestamp.js.map +1 -0
- 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-token.d.ts +28 -0
- package/dist/generated/und-token.d.ts.map +1 -0
- package/dist/generated/und-token.js +68 -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 +23 -0
- package/dist/generated/und-tree-list.d.ts.map +1 -0
- package/dist/generated/und-tree-list.js +57 -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/package.json +6 -2
- package/src/generated/forms.ts +441 -3
- package/src/generated/index.ts +155 -1
- package/src/generated/und-app-shell.ts +71 -0
- package/src/generated/und-aspect-ratio.ts +34 -0
- package/src/generated/und-banner.ts +80 -0
- package/src/generated/und-blockquote.ts +25 -0
- package/src/generated/und-bottom-sheet.ts +167 -0
- package/src/generated/und-button-group.ts +43 -0
- package/src/generated/und-calendar.ts +139 -0
- package/src/generated/und-carousel.ts +138 -0
- package/src/generated/und-center.ts +43 -0
- package/src/generated/und-chat-composer.ts +130 -0
- package/src/generated/und-chat-layout.ts +62 -0
- package/src/generated/und-chat-message.ts +121 -0
- package/src/generated/und-checkbox-list.ts +82 -0
- package/src/generated/und-citation.ts +61 -0
- package/src/generated/und-clickable-card.ts +70 -0
- package/src/generated/und-code-block.ts +139 -0
- package/src/generated/und-code.ts +17 -0
- package/src/generated/und-collapsible.ts +35 -0
- package/src/generated/und-command-palette.ts +217 -0
- package/src/generated/und-context-menu.ts +76 -0
- package/src/generated/und-date-input.ts +209 -0
- package/src/generated/und-date-range-input.ts +209 -0
- package/src/generated/und-date-time-input.ts +170 -0
- package/src/generated/und-empty-state.ts +34 -0
- package/src/generated/und-file-input.ts +128 -0
- package/src/generated/und-form-layout.ts +25 -0
- package/src/generated/und-grid-item.ts +34 -0
- package/src/generated/und-grid.ts +61 -0
- package/src/generated/und-heading.ts +43 -0
- package/src/generated/und-hover-card.ts +98 -0
- package/src/generated/und-icon.ts +61 -0
- package/src/generated/und-info-tip.ts +53 -0
- package/src/generated/und-input-group.ts +217 -0
- package/src/generated/und-kbd.ts +17 -0
- package/src/generated/und-lightbox.ts +212 -0
- package/src/generated/und-list-item.ts +24 -0
- package/src/generated/und-list.ts +34 -0
- package/src/generated/und-markdown.ts +79 -0
- package/src/generated/und-metadata-item.ts +25 -0
- package/src/generated/und-metadata-list.ts +34 -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-number-input.ts +227 -0
- package/src/generated/und-outline.ts +98 -0
- package/src/generated/und-overflow-list.ts +44 -0
- package/src/generated/und-radio-list.ts +100 -0
- package/src/generated/und-resize-handle.ts +107 -0
- package/src/generated/und-scroll-area.ts +34 -0
- package/src/generated/und-section.ts +43 -0
- package/src/generated/und-segmented-control-item.ts +61 -0
- package/src/generated/und-segmented-control.ts +100 -0
- package/src/generated/und-selectable-card.ts +118 -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-stack.ts +70 -0
- package/src/generated/und-status-dot.ts +34 -0
- package/src/generated/und-step.ts +85 -0
- package/src/generated/und-stepper.ts +71 -0
- package/src/generated/und-tab-menu.ts +34 -0
- package/src/generated/und-table.ts +52 -1
- package/src/generated/und-text.ts +61 -0
- package/src/generated/und-thumbnail.ts +76 -0
- package/src/generated/und-time-input.ts +191 -0
- package/src/generated/und-timer.ts +85 -0
- package/src/generated/und-timestamp.ts +97 -0
- package/src/generated/und-toggle-button-group.ts +98 -0
- package/src/generated/und-token.ts +62 -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 +53 -0
- package/src/generated/und-typeahead.ts +214 -0
package/src/generated/index.ts
CHANGED
|
@@ -3,87 +3,241 @@
|
|
|
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 { UndInfoTip } from './und-info-tip.js';
|
|
52
|
+
import { UndInputGroup } from './und-input-group.js';
|
|
53
|
+
import { UndKbd } from './und-kbd.js';
|
|
54
|
+
import { UndLightbox } from './und-lightbox.js';
|
|
20
55
|
import { UndLink } from './und-link.js';
|
|
56
|
+
import { UndList } from './und-list.js';
|
|
57
|
+
import { UndListItem } from './und-list-item.js';
|
|
58
|
+
import { UndMarkdown } from './und-markdown.js';
|
|
21
59
|
import { UndMenu } from './und-menu.js';
|
|
22
60
|
import { UndMenuGroup } from './und-menu-group.js';
|
|
23
61
|
import { UndMenuItem } from './und-menu-item.js';
|
|
24
62
|
import { UndMenuSeparator } from './und-menu-separator.js';
|
|
63
|
+
import { UndMetadataItem } from './und-metadata-item.js';
|
|
64
|
+
import { UndMetadataList } from './und-metadata-list.js';
|
|
65
|
+
import { UndMobileNav } from './und-mobile-nav.js';
|
|
66
|
+
import { UndMoreMenu } from './und-more-menu.js';
|
|
67
|
+
import { UndMultiSelect } from './und-multi-select.js';
|
|
68
|
+
import { UndNumberInput } from './und-number-input.js';
|
|
69
|
+
import { UndOutline } from './und-outline.js';
|
|
70
|
+
import { UndOverflowList } from './und-overflow-list.js';
|
|
25
71
|
import { UndPagination } from './und-pagination.js';
|
|
26
72
|
import { UndPopover } from './und-popover.js';
|
|
27
73
|
import { UndProgress } from './und-progress.js';
|
|
28
74
|
import { UndRadio } from './und-radio.js';
|
|
29
75
|
import { UndRadioGroup } from './und-radio-group.js';
|
|
76
|
+
import { UndRadioList } from './und-radio-list.js';
|
|
77
|
+
import { UndResizeHandle } from './und-resize-handle.js';
|
|
78
|
+
import { UndScrollArea } from './und-scroll-area.js';
|
|
79
|
+
import { UndSection } from './und-section.js';
|
|
80
|
+
import { UndSegmentedControl } from './und-segmented-control.js';
|
|
81
|
+
import { UndSegmentedControlItem } from './und-segmented-control-item.js';
|
|
30
82
|
import { UndSelect } from './und-select.js';
|
|
83
|
+
import { UndSelectableCard } from './und-selectable-card.js';
|
|
84
|
+
import { UndSideNav } from './und-side-nav.js';
|
|
85
|
+
import { UndSideNavHeading } from './und-side-nav-heading.js';
|
|
86
|
+
import { UndSideNavItem } from './und-side-nav-item.js';
|
|
87
|
+
import { UndSideNavSection } from './und-side-nav-section.js';
|
|
31
88
|
import { UndSkeleton } from './und-skeleton.js';
|
|
32
89
|
import { UndSlider } from './und-slider.js';
|
|
33
90
|
import { UndSpinner } from './und-spinner.js';
|
|
91
|
+
import { UndStack } from './und-stack.js';
|
|
92
|
+
import { UndStatusDot } from './und-status-dot.js';
|
|
93
|
+
import { UndStep } from './und-step.js';
|
|
94
|
+
import { UndStepper } from './und-stepper.js';
|
|
34
95
|
import { UndSwitch } from './und-switch.js';
|
|
35
96
|
import { UndTab } from './und-tab.js';
|
|
97
|
+
import { UndTabMenu } from './und-tab-menu.js';
|
|
36
98
|
import { UndTabPanel } from './und-tab-panel.js';
|
|
37
99
|
import { UndTable } from './und-table.js';
|
|
38
100
|
import { UndTabs } from './und-tabs.js';
|
|
101
|
+
import { UndText } from './und-text.js';
|
|
39
102
|
import { UndTextField } from './und-text-field.js';
|
|
40
103
|
import { UndTextarea } from './und-textarea.js';
|
|
104
|
+
import { UndThumbnail } from './und-thumbnail.js';
|
|
105
|
+
import { UndTimeInput } from './und-time-input.js';
|
|
106
|
+
import { UndTimer } from './und-timer.js';
|
|
107
|
+
import { UndTimestamp } from './und-timestamp.js';
|
|
41
108
|
import { UndToast } from './und-toast.js';
|
|
42
109
|
import { UndToaster } from './und-toaster.js';
|
|
110
|
+
import { UndToggleButtonGroup } from './und-toggle-button-group.js';
|
|
111
|
+
import { UndToken } from './und-token.js';
|
|
112
|
+
import { UndTokenizer } from './und-tokenizer.js';
|
|
113
|
+
import { UndToolbar } from './und-toolbar.js';
|
|
43
114
|
import { UndTooltip } from './und-tooltip.js';
|
|
115
|
+
import { UndTopNav } from './und-top-nav.js';
|
|
116
|
+
import { UndTopNavItem } from './und-top-nav-item.js';
|
|
117
|
+
import { UndTopNavMenu } from './und-top-nav-menu.js';
|
|
118
|
+
import { UndTreeItem } from './und-tree-item.js';
|
|
119
|
+
import { UndTreeList } from './und-tree-list.js';
|
|
120
|
+
import { UndTypeahead } from './und-typeahead.js';
|
|
44
121
|
import { UndVisuallyHidden } from './und-visually-hidden.js';
|
|
45
122
|
|
|
46
123
|
export { UndAccordion } from './und-accordion.js';
|
|
47
124
|
export { UndAlert } from './und-alert.js';
|
|
125
|
+
export { UndAppShell } from './und-app-shell.js';
|
|
126
|
+
export { UndAspectRatio } from './und-aspect-ratio.js';
|
|
48
127
|
export { UndAvatar } from './und-avatar.js';
|
|
49
128
|
export { UndAvatarGroup } from './und-avatar-group.js';
|
|
50
129
|
export { UndBadge } from './und-badge.js';
|
|
130
|
+
export { UndBanner } from './und-banner.js';
|
|
131
|
+
export { UndBlockquote } from './und-blockquote.js';
|
|
132
|
+
export { UndBottomSheet } from './und-bottom-sheet.js';
|
|
51
133
|
export { UndBreadcrumb } from './und-breadcrumb.js';
|
|
52
134
|
export { UndBreadcrumbItem } from './und-breadcrumb-item.js';
|
|
53
135
|
export { UndButton } from './und-button.js';
|
|
136
|
+
export { UndButtonGroup } from './und-button-group.js';
|
|
137
|
+
export { UndCalendar } from './und-calendar.js';
|
|
54
138
|
export { UndCard } from './und-card.js';
|
|
139
|
+
export { UndCarousel } from './und-carousel.js';
|
|
140
|
+
export { UndCenter } from './und-center.js';
|
|
141
|
+
export { UndChatComposer } from './und-chat-composer.js';
|
|
142
|
+
export { UndChatLayout } from './und-chat-layout.js';
|
|
143
|
+
export { UndChatMessage } from './und-chat-message.js';
|
|
55
144
|
export { UndCheckbox } from './und-checkbox.js';
|
|
145
|
+
export { UndCheckboxList } from './und-checkbox-list.js';
|
|
146
|
+
export { UndCitation } from './und-citation.js';
|
|
147
|
+
export { UndClickableCard } from './und-clickable-card.js';
|
|
148
|
+
export { UndCode } from './und-code.js';
|
|
149
|
+
export { UndCodeBlock } from './und-code-block.js';
|
|
150
|
+
export { UndCollapsible } from './und-collapsible.js';
|
|
56
151
|
export { UndCombobox } from './und-combobox.js';
|
|
152
|
+
export { UndCommandPalette } from './und-command-palette.js';
|
|
153
|
+
export { UndContextMenu } from './und-context-menu.js';
|
|
154
|
+
export { UndDateInput } from './und-date-input.js';
|
|
155
|
+
export { UndDateRangeInput } from './und-date-range-input.js';
|
|
156
|
+
export { UndDateTimeInput } from './und-date-time-input.js';
|
|
57
157
|
export { UndDialog } from './und-dialog.js';
|
|
58
158
|
export { UndDivider } from './und-divider.js';
|
|
59
159
|
export { UndDrawer } from './und-drawer.js';
|
|
160
|
+
export { UndEmptyState } from './und-empty-state.js';
|
|
161
|
+
export { UndFileInput } from './und-file-input.js';
|
|
60
162
|
export { UndFormField } from './und-form-field.js';
|
|
163
|
+
export { UndFormLayout } from './und-form-layout.js';
|
|
164
|
+
export { UndGrid } from './und-grid.js';
|
|
165
|
+
export { UndGridItem } from './und-grid-item.js';
|
|
166
|
+
export { UndHeading } from './und-heading.js';
|
|
167
|
+
export { UndHoverCard } from './und-hover-card.js';
|
|
168
|
+
export { UndIcon } from './und-icon.js';
|
|
61
169
|
export { UndIconButton } from './und-icon-button.js';
|
|
170
|
+
export { UndInfoTip } from './und-info-tip.js';
|
|
171
|
+
export { UndInputGroup } from './und-input-group.js';
|
|
172
|
+
export { UndKbd } from './und-kbd.js';
|
|
173
|
+
export { UndLightbox } from './und-lightbox.js';
|
|
62
174
|
export { UndLink } from './und-link.js';
|
|
175
|
+
export { UndList } from './und-list.js';
|
|
176
|
+
export { UndListItem } from './und-list-item.js';
|
|
177
|
+
export { UndMarkdown } from './und-markdown.js';
|
|
63
178
|
export { UndMenu } from './und-menu.js';
|
|
64
179
|
export { UndMenuGroup } from './und-menu-group.js';
|
|
65
180
|
export { UndMenuItem } from './und-menu-item.js';
|
|
66
181
|
export { UndMenuSeparator } from './und-menu-separator.js';
|
|
182
|
+
export { UndMetadataItem } from './und-metadata-item.js';
|
|
183
|
+
export { UndMetadataList } from './und-metadata-list.js';
|
|
184
|
+
export { UndMobileNav } from './und-mobile-nav.js';
|
|
185
|
+
export { UndMoreMenu } from './und-more-menu.js';
|
|
186
|
+
export { UndMultiSelect } from './und-multi-select.js';
|
|
187
|
+
export { UndNumberInput } from './und-number-input.js';
|
|
188
|
+
export { UndOutline } from './und-outline.js';
|
|
189
|
+
export { UndOverflowList } from './und-overflow-list.js';
|
|
67
190
|
export { UndPagination } from './und-pagination.js';
|
|
68
191
|
export { UndPopover } from './und-popover.js';
|
|
69
192
|
export { UndProgress } from './und-progress.js';
|
|
70
193
|
export { UndRadio } from './und-radio.js';
|
|
71
194
|
export { UndRadioGroup } from './und-radio-group.js';
|
|
195
|
+
export { UndRadioList } from './und-radio-list.js';
|
|
196
|
+
export { UndResizeHandle } from './und-resize-handle.js';
|
|
197
|
+
export { UndScrollArea } from './und-scroll-area.js';
|
|
198
|
+
export { UndSection } from './und-section.js';
|
|
199
|
+
export { UndSegmentedControl } from './und-segmented-control.js';
|
|
200
|
+
export { UndSegmentedControlItem } from './und-segmented-control-item.js';
|
|
72
201
|
export { UndSelect } from './und-select.js';
|
|
202
|
+
export { UndSelectableCard } from './und-selectable-card.js';
|
|
203
|
+
export { UndSideNav } from './und-side-nav.js';
|
|
204
|
+
export { UndSideNavHeading } from './und-side-nav-heading.js';
|
|
205
|
+
export { UndSideNavItem } from './und-side-nav-item.js';
|
|
206
|
+
export { UndSideNavSection } from './und-side-nav-section.js';
|
|
73
207
|
export { UndSkeleton } from './und-skeleton.js';
|
|
74
208
|
export { UndSlider } from './und-slider.js';
|
|
75
209
|
export { UndSpinner } from './und-spinner.js';
|
|
210
|
+
export { UndStack } from './und-stack.js';
|
|
211
|
+
export { UndStatusDot } from './und-status-dot.js';
|
|
212
|
+
export { UndStep } from './und-step.js';
|
|
213
|
+
export { UndStepper } from './und-stepper.js';
|
|
76
214
|
export { UndSwitch } from './und-switch.js';
|
|
77
215
|
export { UndTab } from './und-tab.js';
|
|
216
|
+
export { UndTabMenu } from './und-tab-menu.js';
|
|
78
217
|
export { UndTabPanel } from './und-tab-panel.js';
|
|
79
218
|
export { UndTable } from './und-table.js';
|
|
80
219
|
export { UndTabs } from './und-tabs.js';
|
|
220
|
+
export { UndText } from './und-text.js';
|
|
81
221
|
export { UndTextField } from './und-text-field.js';
|
|
82
222
|
export { UndTextarea } from './und-textarea.js';
|
|
223
|
+
export { UndThumbnail } from './und-thumbnail.js';
|
|
224
|
+
export { UndTimeInput } from './und-time-input.js';
|
|
225
|
+
export { UndTimer } from './und-timer.js';
|
|
226
|
+
export { UndTimestamp } from './und-timestamp.js';
|
|
83
227
|
export { UndToast } from './und-toast.js';
|
|
84
228
|
export { UndToaster } from './und-toaster.js';
|
|
229
|
+
export { UndToggleButtonGroup } from './und-toggle-button-group.js';
|
|
230
|
+
export { UndToken } from './und-token.js';
|
|
231
|
+
export { UndTokenizer } from './und-tokenizer.js';
|
|
232
|
+
export { UndToolbar } from './und-toolbar.js';
|
|
85
233
|
export { UndTooltip } from './und-tooltip.js';
|
|
234
|
+
export { UndTopNav } from './und-top-nav.js';
|
|
235
|
+
export { UndTopNavItem } from './und-top-nav-item.js';
|
|
236
|
+
export { UndTopNavMenu } from './und-top-nav-menu.js';
|
|
237
|
+
export { UndTreeItem } from './und-tree-item.js';
|
|
238
|
+
export { UndTreeList } from './und-tree-list.js';
|
|
239
|
+
export { UndTypeahead } from './und-typeahead.js';
|
|
86
240
|
export { UndVisuallyHidden } from './und-visually-hidden.js';
|
|
87
241
|
|
|
88
242
|
/** 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;
|
|
243
|
+
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, UndInfoTip, UndInputGroup, UndKbd, UndLightbox, UndLink, UndList, UndListItem, UndMarkdown, UndMenu, UndMenuGroup, UndMenuItem, UndMenuSeparator, UndMetadataItem, UndMetadataList, UndMobileNav, UndMoreMenu, UndMultiSelect, UndNumberInput, UndOutline, UndOverflowList, UndPagination, UndPopover, UndProgress, UndRadio, UndRadioGroup, UndRadioList, UndResizeHandle, UndScrollArea, UndSection, UndSegmentedControl, UndSegmentedControlItem, UndSelect, UndSelectableCard, UndSideNav, UndSideNavHeading, UndSideNavItem, UndSideNavSection, UndSkeleton, UndSlider, UndSpinner, UndStack, UndStatusDot, UndStep, UndStepper, UndSwitch, UndTab, UndTabMenu, UndTabPanel, UndTable, UndTabs, UndText, UndTextField, UndTextarea, UndThumbnail, UndTimeInput, UndTimer, UndTimestamp, UndToast, UndToaster, UndToggleButtonGroup, UndToken, UndTokenizer, UndToolbar, UndTooltip, UndTopNav, UndTopNavItem, UndTopNavMenu, UndTreeItem, UndTreeList, UndTypeahead, UndVisuallyHidden] as const;
|
|
@@ -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,34 @@
|
|
|
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 an image or video fills the box: `cover` (default), `contain`, `fill`. */
|
|
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
|
+
}
|
|
@@ -0,0 +1,80 @@
|
|
|
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/banner.js';
|
|
6
|
+
import type { UndBanner as UndBannerElement } from '@und-ui/core';
|
|
7
|
+
|
|
8
|
+
/** A full-width, page-level message bar. */
|
|
9
|
+
@Component({
|
|
10
|
+
selector: 'und-banner',
|
|
11
|
+
template: '<ng-content></ng-content>',
|
|
12
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
13
|
+
})
|
|
14
|
+
export class UndBanner {
|
|
15
|
+
readonly #el: UndBannerElement = inject<ElementRef<UndBannerElement>>(ElementRef).nativeElement;
|
|
16
|
+
|
|
17
|
+
/** Color intent and default icon. */
|
|
18
|
+
@Input()
|
|
19
|
+
set tone(value: UndBannerElement['tone']) {
|
|
20
|
+
this.#el.tone = value;
|
|
21
|
+
}
|
|
22
|
+
get tone(): UndBannerElement['tone'] {
|
|
23
|
+
return this.#el.tone;
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
/** Live region behaviour. `off` for a banner that is there on load; `polite` (role `status`) or `assertive` (role `alert`) for one that appears or changes later. A live banner is not also a region. */
|
|
27
|
+
@Input()
|
|
28
|
+
set live(value: UndBannerElement['live']) {
|
|
29
|
+
this.#el.live = value;
|
|
30
|
+
}
|
|
31
|
+
get live(): UndBannerElement['live'] {
|
|
32
|
+
return this.#el.live;
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
/** Shows a dismiss button; pressing it fires `und-dismiss` and hides the banner. */
|
|
36
|
+
@Input({ transform: booleanAttribute })
|
|
37
|
+
set dismissible(value: boolean) {
|
|
38
|
+
this.#el.dismissible = value;
|
|
39
|
+
}
|
|
40
|
+
get dismissible(): UndBannerElement['dismissible'] {
|
|
41
|
+
return this.#el.dismissible;
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
/** Keeps the banner at the top of its scroll container while scrolling. */
|
|
45
|
+
@Input({ transform: booleanAttribute })
|
|
46
|
+
set sticky(value: boolean) {
|
|
47
|
+
this.#el.sticky = value;
|
|
48
|
+
}
|
|
49
|
+
get sticky(): UndBannerElement['sticky'] {
|
|
50
|
+
return this.#el.sticky;
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
/** Makes the banner a named region (`role="region"`) so it is listed among the page landmarks. Leave it out for a short-lived banner. */
|
|
54
|
+
@Input()
|
|
55
|
+
set label(value: UndBannerElement['label']) {
|
|
56
|
+
this.#el.label = value;
|
|
57
|
+
}
|
|
58
|
+
get label(): UndBannerElement['label'] {
|
|
59
|
+
return this.#el.label;
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
/** Accessible name of the dismiss button (localise it). */
|
|
63
|
+
@Input()
|
|
64
|
+
set dismissLabel(value: UndBannerElement['dismissLabel']) {
|
|
65
|
+
this.#el.dismissLabel = value;
|
|
66
|
+
}
|
|
67
|
+
get dismissLabel(): UndBannerElement['dismissLabel'] {
|
|
68
|
+
return this.#el.dismissLabel;
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
/** Before the banner hides after the dismiss button is pressed. Cancelable: call `preventDefault()` to keep it visible. */
|
|
72
|
+
@Output() readonly undDismiss = new EventEmitter<CustomEvent<unknown>>();
|
|
73
|
+
|
|
74
|
+
constructor() {
|
|
75
|
+
const zone = inject(NgZone);
|
|
76
|
+
this.#el.addEventListener('und-dismiss', (event) =>
|
|
77
|
+
zone.run(() => this.undDismiss.emit(event as CustomEvent<unknown>)),
|
|
78
|
+
);
|
|
79
|
+
}
|
|
80
|
+
}
|
|
@@ -0,0 +1,25 @@
|
|
|
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/blockquote.js';
|
|
6
|
+
import type { UndBlockquote as UndBlockquoteElement } from '@und-ui/core';
|
|
7
|
+
|
|
8
|
+
/** A quotation with an optional attribution. */
|
|
9
|
+
@Component({
|
|
10
|
+
selector: 'und-blockquote',
|
|
11
|
+
template: '<ng-content></ng-content>',
|
|
12
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
13
|
+
})
|
|
14
|
+
export class UndBlockquote {
|
|
15
|
+
readonly #el: UndBlockquoteElement = inject<ElementRef<UndBlockquoteElement>>(ElementRef).nativeElement;
|
|
16
|
+
|
|
17
|
+
/** URL of the source, set on the `blockquote`. Only http(s), mailto, tel and relative URLs are used; anything else is dropped. */
|
|
18
|
+
@Input()
|
|
19
|
+
set cite(value: UndBlockquoteElement['cite']) {
|
|
20
|
+
this.#el.cite = value;
|
|
21
|
+
}
|
|
22
|
+
get cite(): UndBlockquoteElement['cite'] {
|
|
23
|
+
return this.#el.cite;
|
|
24
|
+
}
|
|
25
|
+
}
|
|
@@ -0,0 +1,167 @@
|
|
|
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/bottom-sheet.js';
|
|
6
|
+
import type { UndBottomSheet as UndBottomSheetElement } from '@und-ui/core';
|
|
7
|
+
|
|
8
|
+
/** A dialog that rises from the bottom edge, with drag snap points. */
|
|
9
|
+
@Component({
|
|
10
|
+
selector: 'und-bottom-sheet',
|
|
11
|
+
template: '<ng-content></ng-content>',
|
|
12
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
13
|
+
})
|
|
14
|
+
export class UndBottomSheet {
|
|
15
|
+
readonly #el: UndBottomSheetElement = inject<ElementRef<UndBottomSheetElement>>(ElementRef).nativeElement;
|
|
16
|
+
|
|
17
|
+
/** Heights the sheet snaps to, as fractions of the viewport height (`0.4,0.9`), lowest first. Without snap points the sheet has one height (`--und-drawer-size`) and can only be dismissed by swiping. */
|
|
18
|
+
@Input()
|
|
19
|
+
set snapPoints(value: UndBottomSheetElement['snapPoints']) {
|
|
20
|
+
this.#el.snapPoints = value;
|
|
21
|
+
}
|
|
22
|
+
get snapPoints(): UndBottomSheetElement['snapPoints'] {
|
|
23
|
+
return this.#el.snapPoints;
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
/** Index into `snap-points` of the current height. */
|
|
27
|
+
@Input()
|
|
28
|
+
set snap(value: UndBottomSheetElement['snap']) {
|
|
29
|
+
this.#el.snap = value;
|
|
30
|
+
}
|
|
31
|
+
get snap(): UndBottomSheetElement['snap'] {
|
|
32
|
+
return this.#el.snap;
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
/** Accessible name of the resize handle (shown only with several snap points). */
|
|
36
|
+
@Input()
|
|
37
|
+
set handleLabel(value: UndBottomSheetElement['handleLabel']) {
|
|
38
|
+
this.#el.handleLabel = value;
|
|
39
|
+
}
|
|
40
|
+
get handleLabel(): UndBottomSheetElement['handleLabel'] {
|
|
41
|
+
return this.#el.handleLabel;
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
/** The edge the drawer is attached to. `start` and `end` follow the text direction. */
|
|
45
|
+
@Input()
|
|
46
|
+
set placement(value: UndBottomSheetElement['placement']) {
|
|
47
|
+
this.#el.placement = value;
|
|
48
|
+
}
|
|
49
|
+
get placement(): UndBottomSheetElement['placement'] {
|
|
50
|
+
return this.#el.placement;
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
/** Whether the dialog is open. Setting it opens or closes the dialog without firing `und-open-change`. */
|
|
54
|
+
@Input({ transform: booleanAttribute })
|
|
55
|
+
set open(value: boolean) {
|
|
56
|
+
this.#el.open = value;
|
|
57
|
+
}
|
|
58
|
+
get open(): UndBottomSheetElement['open'] {
|
|
59
|
+
return this.#el.open;
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
/** Modal (default): the page behind is inert and scrolling is locked. Set `modal="false"` for a non-modal dialog that leaves the page usable. */
|
|
63
|
+
@Input({ transform: booleanAttribute })
|
|
64
|
+
set modal(value: boolean) {
|
|
65
|
+
this.#el.modal = value;
|
|
66
|
+
}
|
|
67
|
+
get modal(): UndBottomSheetElement['modal'] {
|
|
68
|
+
return this.#el.modal;
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
/** `alert` renders an alert dialog (`role="alertdialog"`) for confirmations: no close button, and the backdrop does not dismiss it. */
|
|
72
|
+
@Input()
|
|
73
|
+
set variant(value: UndBottomSheetElement['variant']) {
|
|
74
|
+
this.#el.variant = value;
|
|
75
|
+
}
|
|
76
|
+
get variant(): UndBottomSheetElement['variant'] {
|
|
77
|
+
return this.#el.variant;
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
/** Preferred width. */
|
|
81
|
+
@Input()
|
|
82
|
+
set size(value: UndBottomSheetElement['size']) {
|
|
83
|
+
this.#el.size = value;
|
|
84
|
+
}
|
|
85
|
+
get size(): UndBottomSheetElement['size'] {
|
|
86
|
+
return this.#el.size;
|
|
87
|
+
}
|
|
88
|
+
|
|
89
|
+
/** Which user actions close the dialog, as on the native attribute: `any` (Escape, backdrop click or outside click), `closerequest` (Escape only) or `none`. Defaults to `any`, or `closerequest` for `variant="alert"`. */
|
|
90
|
+
@Input()
|
|
91
|
+
set closedBy(value: UndBottomSheetElement['closedBy']) {
|
|
92
|
+
this.#el.closedBy = value;
|
|
93
|
+
}
|
|
94
|
+
get closedBy(): UndBottomSheetElement['closedBy'] {
|
|
95
|
+
return this.#el.closedBy;
|
|
96
|
+
}
|
|
97
|
+
|
|
98
|
+
/** The title, rendered as the heading that names the dialog. Use the `label` slot for rich content. */
|
|
99
|
+
@Input()
|
|
100
|
+
set label(value: UndBottomSheetElement['label']) {
|
|
101
|
+
this.#el.label = value;
|
|
102
|
+
}
|
|
103
|
+
get label(): UndBottomSheetElement['label'] {
|
|
104
|
+
return this.#el.label;
|
|
105
|
+
}
|
|
106
|
+
|
|
107
|
+
/** CSS selector (inside the dialog content) of the element to focus on open. Defaults to an `[autofocus]` element, then the first focusable element. */
|
|
108
|
+
@Input()
|
|
109
|
+
set initialFocus(value: UndBottomSheetElement['initialFocus']) {
|
|
110
|
+
this.#el.initialFocus = value;
|
|
111
|
+
}
|
|
112
|
+
get initialFocus(): UndBottomSheetElement['initialFocus'] {
|
|
113
|
+
return this.#el.initialFocus;
|
|
114
|
+
}
|
|
115
|
+
|
|
116
|
+
/** Accessible name of the close button. */
|
|
117
|
+
@Input()
|
|
118
|
+
set closeLabel(value: UndBottomSheetElement['closeLabel']) {
|
|
119
|
+
this.#el.closeLabel = value;
|
|
120
|
+
}
|
|
121
|
+
get closeLabel(): UndBottomSheetElement['closeLabel'] {
|
|
122
|
+
return this.#el.closeLabel;
|
|
123
|
+
}
|
|
124
|
+
|
|
125
|
+
/** Hides the close button. Make sure another way to close remains. */
|
|
126
|
+
@Input({ transform: booleanAttribute })
|
|
127
|
+
set noCloseButton(value: boolean) {
|
|
128
|
+
this.#el.noCloseButton = value;
|
|
129
|
+
}
|
|
130
|
+
get noCloseButton(): UndBottomSheetElement['noCloseButton'] {
|
|
131
|
+
return this.#el.noCloseButton;
|
|
132
|
+
}
|
|
133
|
+
|
|
134
|
+
/** The value passed to `close(value)` or submitted by a `method="dialog"` form. */
|
|
135
|
+
@Input()
|
|
136
|
+
set returnValue(value: UndBottomSheetElement['returnValue']) {
|
|
137
|
+
this.#el.returnValue = value;
|
|
138
|
+
}
|
|
139
|
+
get returnValue(): UndBottomSheetElement['returnValue'] {
|
|
140
|
+
return this.#el.returnValue;
|
|
141
|
+
}
|
|
142
|
+
|
|
143
|
+
/** The sheet settled on another snap point. */
|
|
144
|
+
@Output() readonly undSnapChange = new EventEmitter<CustomEvent<{ index: number; fraction: number }>>();
|
|
145
|
+
/** The user asked to open or close the sheet (`reason` is `swipe` for a swipe down). Cancelable. */
|
|
146
|
+
@Output() readonly undOpenChange = new EventEmitter<CustomEvent<{ open: boolean; reason: string }>>();
|
|
147
|
+
/** The sheet opened and its entry animation finished. */
|
|
148
|
+
@Output() readonly undAfterOpen = new EventEmitter<CustomEvent<undefined>>();
|
|
149
|
+
/** The sheet closed and its exit animation finished. */
|
|
150
|
+
@Output() readonly undAfterClose = new EventEmitter<CustomEvent<undefined>>();
|
|
151
|
+
|
|
152
|
+
constructor() {
|
|
153
|
+
const zone = inject(NgZone);
|
|
154
|
+
this.#el.addEventListener('und-snap-change', (event) =>
|
|
155
|
+
zone.run(() => this.undSnapChange.emit(event as CustomEvent<{ index: number; fraction: number }>)),
|
|
156
|
+
);
|
|
157
|
+
this.#el.addEventListener('und-open-change', (event) =>
|
|
158
|
+
zone.run(() => this.undOpenChange.emit(event as CustomEvent<{ open: boolean; reason: string }>)),
|
|
159
|
+
);
|
|
160
|
+
this.#el.addEventListener('und-after-open', (event) =>
|
|
161
|
+
zone.run(() => this.undAfterOpen.emit(event as CustomEvent<undefined>)),
|
|
162
|
+
);
|
|
163
|
+
this.#el.addEventListener('und-after-close', (event) =>
|
|
164
|
+
zone.run(() => this.undAfterClose.emit(event as CustomEvent<undefined>)),
|
|
165
|
+
);
|
|
166
|
+
}
|
|
167
|
+
}
|
|
@@ -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/button-group.js';
|
|
6
|
+
import type { UndButtonGroup as UndButtonGroupElement } from '@und-ui/core';
|
|
7
|
+
|
|
8
|
+
/** Groups related buttons visually and as a named group. */
|
|
9
|
+
@Component({
|
|
10
|
+
selector: 'und-button-group',
|
|
11
|
+
template: '<ng-content></ng-content>',
|
|
12
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
13
|
+
})
|
|
14
|
+
export class UndButtonGroup {
|
|
15
|
+
readonly #el: UndButtonGroupElement = inject<ElementRef<UndButtonGroupElement>>(ElementRef).nativeElement;
|
|
16
|
+
|
|
17
|
+
/** Accessible name of the group (`aria-label`), for example "Text style". Prefer `aria-labelledby` on the host when a visible label exists. */
|
|
18
|
+
@Input()
|
|
19
|
+
set label(value: UndButtonGroupElement['label']) {
|
|
20
|
+
this.#el.label = value;
|
|
21
|
+
}
|
|
22
|
+
get label(): UndButtonGroupElement['label'] {
|
|
23
|
+
return this.#el.label;
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
/** `attached` joins the buttons into one strip; `separated` spaces them. */
|
|
27
|
+
@Input()
|
|
28
|
+
set variant(value: UndButtonGroupElement['variant']) {
|
|
29
|
+
this.#el.variant = value;
|
|
30
|
+
}
|
|
31
|
+
get variant(): UndButtonGroupElement['variant'] {
|
|
32
|
+
return this.#el.variant;
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
/** Direction the buttons are laid out in. */
|
|
36
|
+
@Input()
|
|
37
|
+
set orientation(value: UndButtonGroupElement['orientation']) {
|
|
38
|
+
this.#el.orientation = value;
|
|
39
|
+
}
|
|
40
|
+
get orientation(): UndButtonGroupElement['orientation'] {
|
|
41
|
+
return this.#el.orientation;
|
|
42
|
+
}
|
|
43
|
+
}
|