@slotted/angular 0.0.0-stage → 0.1.0-beta.1
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/LICENSE +21 -0
- package/README.md +51 -2
- package/docs/AGENTS.snippet.md +10 -0
- package/docs/accordion.json +345 -0
- package/docs/accordion.md +207 -0
- package/docs/action-bar.json +421 -0
- package/docs/action-bar.md +364 -0
- package/docs/action-sheet.json +210 -0
- package/docs/action-sheet.md +19 -0
- package/docs/alert.json +407 -0
- package/docs/alert.md +239 -0
- package/docs/app-shell.examples.md +349 -0
- package/docs/app-shell.json +835 -0
- package/docs/app-shell.md +214 -0
- package/docs/aspect-ratio.json +159 -0
- package/docs/aspect-ratio.md +134 -0
- package/docs/attachment.json +486 -0
- package/docs/attachment.md +253 -0
- package/docs/avatar-group.json +208 -0
- package/docs/avatar-group.md +130 -0
- package/docs/avatar.json +342 -0
- package/docs/avatar.md +142 -0
- package/docs/badge.json +334 -0
- package/docs/badge.md +138 -0
- package/docs/breadcrumb.json +368 -0
- package/docs/breadcrumb.md +237 -0
- package/docs/button-group.json +158 -0
- package/docs/button-group.md +72 -0
- package/docs/button.examples.md +621 -0
- package/docs/button.json +977 -0
- package/docs/button.md +200 -0
- package/docs/calendar.json +592 -0
- package/docs/calendar.md +242 -0
- package/docs/card.json +283 -0
- package/docs/card.md +130 -0
- package/docs/carousel.json +560 -0
- package/docs/carousel.md +357 -0
- package/docs/cascader.json +933 -0
- package/docs/cascader.md +379 -0
- package/docs/chart.examples.md +582 -0
- package/docs/chart.json +1359 -0
- package/docs/chart.md +187 -0
- package/docs/checkbox-group.examples.md +612 -0
- package/docs/checkbox-group.json +395 -0
- package/docs/checkbox-group.md +106 -0
- package/docs/checkbox.examples.md +546 -0
- package/docs/checkbox.json +506 -0
- package/docs/checkbox.md +104 -0
- package/docs/code-block.json +616 -0
- package/docs/code-block.md +303 -0
- package/docs/collapsible.json +456 -0
- package/docs/collapsible.md +261 -0
- package/docs/color-picker.json +523 -0
- package/docs/color-picker.md +201 -0
- package/docs/column-manager.json +486 -0
- package/docs/column-manager.md +277 -0
- package/docs/combobox.examples.md +1732 -0
- package/docs/combobox.json +1250 -0
- package/docs/combobox.md +209 -0
- package/docs/command-palette.json +800 -0
- package/docs/command-palette.md +419 -0
- package/docs/container.json +156 -0
- package/docs/container.md +92 -0
- package/docs/context-menu.json +231 -0
- package/docs/context-menu.md +176 -0
- package/docs/currency-field.examples.md +321 -0
- package/docs/currency-field.json +649 -0
- package/docs/currency-field.md +128 -0
- package/docs/dashboard-grid.json +680 -0
- package/docs/dashboard-grid.md +265 -0
- package/docs/data-grid.examples.md +3064 -0
- package/docs/data-grid.json +1577 -0
- package/docs/data-grid.md +237 -0
- package/docs/data-grid.props.md +81 -0
- package/docs/data-list.json +685 -0
- package/docs/data-list.md +327 -0
- package/docs/date-field.json +490 -0
- package/docs/date-field.md +235 -0
- package/docs/date-picker.examples.md +1226 -0
- package/docs/date-picker.json +696 -0
- package/docs/date-picker.md +121 -0
- package/docs/date-range-picker.examples.md +1300 -0
- package/docs/date-range-picker.json +903 -0
- package/docs/date-range-picker.md +142 -0
- package/docs/datetime-field.json +665 -0
- package/docs/datetime-field.md +337 -0
- package/docs/datetime-picker.examples.md +1269 -0
- package/docs/datetime-picker.json +928 -0
- package/docs/datetime-picker.md +150 -0
- package/docs/datetime-range-picker.examples.md +225 -0
- package/docs/datetime-range-picker.json +1015 -0
- package/docs/datetime-range-picker.md +162 -0
- package/docs/description-list.json +471 -0
- package/docs/description-list.md +268 -0
- package/docs/detail-panel.json +530 -0
- package/docs/detail-panel.md +361 -0
- package/docs/dialog.examples.md +2467 -0
- package/docs/dialog.json +1141 -0
- package/docs/dialog.md +217 -0
- package/docs/dialog.props.md +63 -0
- package/docs/divider.json +148 -0
- package/docs/divider.md +83 -0
- package/docs/drawer.examples.md +1929 -0
- package/docs/drawer.json +753 -0
- package/docs/drawer.md +199 -0
- package/docs/entity-picker.json +946 -0
- package/docs/entity-picker.md +365 -0
- package/docs/event-calendar.examples.md +308 -0
- package/docs/event-calendar.json +1202 -0
- package/docs/event-calendar.md +201 -0
- package/docs/field-group.json +333 -0
- package/docs/field-group.md +181 -0
- package/docs/field.examples.md +676 -0
- package/docs/field.json +528 -0
- package/docs/field.md +127 -0
- package/docs/filter-bar.json +817 -0
- package/docs/filter-bar.md +380 -0
- package/docs/form.json +378 -0
- package/docs/form.md +235 -0
- package/docs/fullscreen.json +395 -0
- package/docs/fullscreen.md +225 -0
- package/docs/grid.json +176 -0
- package/docs/grid.md +74 -0
- package/docs/highlight.json +279 -0
- package/docs/highlight.md +210 -0
- package/docs/hover-card.json +254 -0
- package/docs/hover-card.md +213 -0
- package/docs/icon.json +173 -0
- package/docs/icon.md +101 -0
- package/docs/image.json +476 -0
- package/docs/image.md +254 -0
- package/docs/import-export-center.json +836 -0
- package/docs/import-export-center.md +345 -0
- package/docs/index.md +141 -0
- package/docs/inline-message.json +312 -0
- package/docs/inline-message.md +191 -0
- package/docs/inline.json +149 -0
- package/docs/inline.md +72 -0
- package/docs/kbd.json +350 -0
- package/docs/kbd.md +210 -0
- package/docs/link.json +264 -0
- package/docs/link.md +167 -0
- package/docs/list-item.json +463 -0
- package/docs/list-item.md +236 -0
- package/docs/list.json +321 -0
- package/docs/list.md +185 -0
- package/docs/listbox.json +807 -0
- package/docs/listbox.md +413 -0
- package/docs/loading-overlay.json +440 -0
- package/docs/loading-overlay.md +248 -0
- package/docs/markdown.json +461 -0
- package/docs/markdown.md +266 -0
- package/docs/menu.examples.md +1651 -0
- package/docs/menu.json +922 -0
- package/docs/menu.md +155 -0
- package/docs/menubar.json +292 -0
- package/docs/menubar.md +173 -0
- package/docs/message-scroller.json +401 -0
- package/docs/message-scroller.md +212 -0
- package/docs/message.json +862 -0
- package/docs/message.md +473 -0
- package/docs/multi-select.examples.md +1922 -0
- package/docs/multi-select.json +1314 -0
- package/docs/multi-select.md +213 -0
- package/docs/navigation-menu.json +529 -0
- package/docs/navigation-menu.md +329 -0
- package/docs/notification-center.json +664 -0
- package/docs/notification-center.md +372 -0
- package/docs/number-field.examples.md +1078 -0
- package/docs/number-field.json +668 -0
- package/docs/number-field.md +137 -0
- package/docs/otp-input.json +479 -0
- package/docs/otp-input.md +291 -0
- package/docs/page-header.json +574 -0
- package/docs/page-header.md +338 -0
- package/docs/page.json +332 -0
- package/docs/page.md +184 -0
- package/docs/pagination.json +434 -0
- package/docs/pagination.md +238 -0
- package/docs/popover.examples.md +1235 -0
- package/docs/popover.json +656 -0
- package/docs/popover.md +199 -0
- package/docs/progress-indicator.json +501 -0
- package/docs/progress-indicator.md +329 -0
- package/docs/prompt-composer.json +498 -0
- package/docs/prompt-composer.md +278 -0
- package/docs/prose.json +357 -0
- package/docs/prose.md +226 -0
- package/docs/radio-group.examples.md +626 -0
- package/docs/radio-group.json +541 -0
- package/docs/radio-group.md +112 -0
- package/docs/rating.json +1053 -0
- package/docs/rating.md +435 -0
- package/docs/result-state.json +376 -0
- package/docs/result-state.md +286 -0
- package/docs/saved-views.json +384 -0
- package/docs/saved-views.md +242 -0
- package/docs/scroll-area.json +120 -0
- package/docs/scroll-area.md +8 -0
- package/docs/section.json +344 -0
- package/docs/section.md +208 -0
- package/docs/segmented-control.json +429 -0
- package/docs/segmented-control.md +240 -0
- package/docs/select.examples.md +1214 -0
- package/docs/select.json +1147 -0
- package/docs/select.md +199 -0
- package/docs/side-navigation.json +632 -0
- package/docs/side-navigation.md +430 -0
- package/docs/skeleton.json +358 -0
- package/docs/skeleton.md +223 -0
- package/docs/slider.json +522 -0
- package/docs/slider.md +261 -0
- package/docs/sparkline.json +426 -0
- package/docs/sparkline.md +206 -0
- package/docs/split-button.json +361 -0
- package/docs/split-button.md +275 -0
- package/docs/splitter.json +142 -0
- package/docs/splitter.md +14 -0
- package/docs/stack.json +135 -0
- package/docs/stack.md +74 -0
- package/docs/stat-card.json +529 -0
- package/docs/stat-card.md +270 -0
- package/docs/status-indicator.json +314 -0
- package/docs/status-indicator.md +197 -0
- package/docs/stepper.json +451 -0
- package/docs/stepper.md +250 -0
- package/docs/switch.json +451 -0
- package/docs/switch.md +508 -0
- package/docs/table-of-contents.json +553 -0
- package/docs/table-of-contents.md +289 -0
- package/docs/table.examples.md +1981 -0
- package/docs/table.json +1059 -0
- package/docs/table.md +290 -0
- package/docs/tabs.examples.md +1370 -0
- package/docs/tabs.json +661 -0
- package/docs/tabs.md +211 -0
- package/docs/tag.json +813 -0
- package/docs/tag.md +241 -0
- package/docs/tags-input.json +771 -0
- package/docs/tags-input.md +361 -0
- package/docs/text-field.examples.md +821 -0
- package/docs/text-field.json +604 -0
- package/docs/text-field.md +125 -0
- package/docs/textarea.examples.md +612 -0
- package/docs/textarea.json +440 -0
- package/docs/textarea.md +98 -0
- package/docs/time-field.json +584 -0
- package/docs/time-field.md +291 -0
- package/docs/time-picker.json +679 -0
- package/docs/time-picker.md +315 -0
- package/docs/time-range-picker.examples.md +191 -0
- package/docs/time-range-picker.json +924 -0
- package/docs/time-range-picker.md +152 -0
- package/docs/timeline.json +839 -0
- package/docs/timeline.md +401 -0
- package/docs/toast.json +642 -0
- package/docs/toast.md +311 -0
- package/docs/toggle-group.json +417 -0
- package/docs/toggle-group.md +255 -0
- package/docs/toggle.json +326 -0
- package/docs/toggle.md +222 -0
- package/docs/toolbar.json +380 -0
- package/docs/toolbar.md +240 -0
- package/docs/tooltip.examples.md +664 -0
- package/docs/tooltip.json +604 -0
- package/docs/tooltip.md +146 -0
- package/docs/top-navigation.examples.md +287 -0
- package/docs/top-navigation.json +648 -0
- package/docs/top-navigation.md +138 -0
- package/docs/tour.json +759 -0
- package/docs/tour.md +337 -0
- package/docs/transfer.json +746 -0
- package/docs/transfer.md +273 -0
- package/docs/tree.json +918 -0
- package/docs/tree.md +397 -0
- package/docs/typography.json +317 -0
- package/docs/typography.md +107 -0
- package/docs/upload.examples.md +358 -0
- package/docs/upload.json +1103 -0
- package/docs/upload.md +166 -0
- package/docs/visually-hidden.json +71 -0
- package/docs/visually-hidden.md +42 -0
- package/docs/wizard.json +724 -0
- package/docs/wizard.md +295 -0
- package/fesm2022/slotted-angular-accordion.mjs +247 -0
- package/fesm2022/slotted-angular-accordion.mjs.map +1 -0
- package/fesm2022/slotted-angular-action-bar.mjs +639 -0
- package/fesm2022/slotted-angular-action-bar.mjs.map +1 -0
- package/fesm2022/slotted-angular-action-sheet.mjs +749 -0
- package/fesm2022/slotted-angular-action-sheet.mjs.map +1 -0
- package/fesm2022/slotted-angular-alert.mjs +427 -0
- package/fesm2022/slotted-angular-alert.mjs.map +1 -0
- package/fesm2022/slotted-angular-app-shell.mjs +1334 -0
- package/fesm2022/slotted-angular-app-shell.mjs.map +1 -0
- package/fesm2022/slotted-angular-aspect-ratio.mjs +63 -0
- package/fesm2022/slotted-angular-aspect-ratio.mjs.map +1 -0
- package/fesm2022/slotted-angular-attachment.mjs +595 -0
- package/fesm2022/slotted-angular-attachment.mjs.map +1 -0
- package/fesm2022/slotted-angular-avatar-group.mjs +230 -0
- package/fesm2022/slotted-angular-avatar-group.mjs.map +1 -0
- package/fesm2022/slotted-angular-avatar.mjs +330 -0
- package/fesm2022/slotted-angular-avatar.mjs.map +1 -0
- package/fesm2022/slotted-angular-badge.mjs +255 -0
- package/fesm2022/slotted-angular-badge.mjs.map +1 -0
- package/fesm2022/slotted-angular-breadcrumb.mjs +544 -0
- package/fesm2022/slotted-angular-breadcrumb.mjs.map +1 -0
- package/fesm2022/slotted-angular-button-group.mjs +146 -0
- package/fesm2022/slotted-angular-button-group.mjs.map +1 -0
- package/fesm2022/slotted-angular-button.mjs +692 -0
- package/fesm2022/slotted-angular-button.mjs.map +1 -0
- package/fesm2022/slotted-angular-calendar.mjs +916 -0
- package/fesm2022/slotted-angular-calendar.mjs.map +1 -0
- package/fesm2022/slotted-angular-card.mjs +225 -0
- package/fesm2022/slotted-angular-card.mjs.map +1 -0
- package/fesm2022/slotted-angular-carousel.mjs +840 -0
- package/fesm2022/slotted-angular-carousel.mjs.map +1 -0
- package/fesm2022/slotted-angular-cascader.mjs +1839 -0
- package/fesm2022/slotted-angular-cascader.mjs.map +1 -0
- package/fesm2022/slotted-angular-chart.mjs +974 -0
- package/fesm2022/slotted-angular-chart.mjs.map +1 -0
- package/fesm2022/slotted-angular-checkbox-group.mjs +283 -0
- package/fesm2022/slotted-angular-checkbox-group.mjs.map +1 -0
- package/fesm2022/slotted-angular-checkbox.mjs +468 -0
- package/fesm2022/slotted-angular-checkbox.mjs.map +1 -0
- package/fesm2022/slotted-angular-code-block.mjs +476 -0
- package/fesm2022/slotted-angular-code-block.mjs.map +1 -0
- package/fesm2022/slotted-angular-collapsible.mjs +479 -0
- package/fesm2022/slotted-angular-collapsible.mjs.map +1 -0
- package/fesm2022/slotted-angular-color-picker.mjs +910 -0
- package/fesm2022/slotted-angular-color-picker.mjs.map +1 -0
- package/fesm2022/slotted-angular-column-manager.mjs +1037 -0
- package/fesm2022/slotted-angular-column-manager.mjs.map +1 -0
- package/fesm2022/slotted-angular-combobox.mjs +1480 -0
- package/fesm2022/slotted-angular-combobox.mjs.map +1 -0
- package/fesm2022/slotted-angular-command-palette.mjs +1283 -0
- package/fesm2022/slotted-angular-command-palette.mjs.map +1 -0
- package/fesm2022/slotted-angular-container.mjs +105 -0
- package/fesm2022/slotted-angular-container.mjs.map +1 -0
- package/fesm2022/slotted-angular-context-menu.mjs +221 -0
- package/fesm2022/slotted-angular-context-menu.mjs.map +1 -0
- package/fesm2022/slotted-angular-currency-field.mjs +1131 -0
- package/fesm2022/slotted-angular-currency-field.mjs.map +1 -0
- package/fesm2022/slotted-angular-dashboard-grid.mjs +1928 -0
- package/fesm2022/slotted-angular-dashboard-grid.mjs.map +1 -0
- package/fesm2022/slotted-angular-data-grid.mjs +6697 -0
- package/fesm2022/slotted-angular-data-grid.mjs.map +1 -0
- package/fesm2022/slotted-angular-data-list.mjs +1418 -0
- package/fesm2022/slotted-angular-data-list.mjs.map +1 -0
- package/fesm2022/slotted-angular-date-field.mjs +772 -0
- package/fesm2022/slotted-angular-date-field.mjs.map +1 -0
- package/fesm2022/slotted-angular-date-picker.mjs +690 -0
- package/fesm2022/slotted-angular-date-picker.mjs.map +1 -0
- package/fesm2022/slotted-angular-date-range-picker.mjs +1150 -0
- package/fesm2022/slotted-angular-date-range-picker.mjs.map +1 -0
- package/fesm2022/slotted-angular-datetime-field.mjs +1058 -0
- package/fesm2022/slotted-angular-datetime-field.mjs.map +1 -0
- package/fesm2022/slotted-angular-datetime-picker.mjs +1362 -0
- package/fesm2022/slotted-angular-datetime-picker.mjs.map +1 -0
- package/fesm2022/slotted-angular-datetime-range-picker.mjs +1872 -0
- package/fesm2022/slotted-angular-datetime-range-picker.mjs.map +1 -0
- package/fesm2022/slotted-angular-description-list.mjs +545 -0
- package/fesm2022/slotted-angular-description-list.mjs.map +1 -0
- package/fesm2022/slotted-angular-detail-panel.mjs +754 -0
- package/fesm2022/slotted-angular-detail-panel.mjs.map +1 -0
- package/fesm2022/slotted-angular-dialog.mjs +980 -0
- package/fesm2022/slotted-angular-dialog.mjs.map +1 -0
- package/fesm2022/slotted-angular-divider.mjs +76 -0
- package/fesm2022/slotted-angular-divider.mjs.map +1 -0
- package/fesm2022/slotted-angular-drawer.mjs +1397 -0
- package/fesm2022/slotted-angular-drawer.mjs.map +1 -0
- package/fesm2022/slotted-angular-entity-picker.mjs +1987 -0
- package/fesm2022/slotted-angular-entity-picker.mjs.map +1 -0
- package/fesm2022/slotted-angular-event-calendar.mjs +2934 -0
- package/fesm2022/slotted-angular-event-calendar.mjs.map +1 -0
- package/fesm2022/slotted-angular-field-group.mjs +301 -0
- package/fesm2022/slotted-angular-field-group.mjs.map +1 -0
- package/fesm2022/slotted-angular-field.mjs +928 -0
- package/fesm2022/slotted-angular-field.mjs.map +1 -0
- package/fesm2022/slotted-angular-filter-bar.mjs +3107 -0
- package/fesm2022/slotted-angular-filter-bar.mjs.map +1 -0
- package/fesm2022/slotted-angular-form.mjs +592 -0
- package/fesm2022/slotted-angular-form.mjs.map +1 -0
- package/fesm2022/slotted-angular-fullscreen.mjs +314 -0
- package/fesm2022/slotted-angular-fullscreen.mjs.map +1 -0
- package/fesm2022/slotted-angular-grid.mjs +58 -0
- package/fesm2022/slotted-angular-grid.mjs.map +1 -0
- package/fesm2022/slotted-angular-highlight.mjs +123 -0
- package/fesm2022/slotted-angular-highlight.mjs.map +1 -0
- package/fesm2022/slotted-angular-hover-card.mjs +326 -0
- package/fesm2022/slotted-angular-hover-card.mjs.map +1 -0
- package/fesm2022/slotted-angular-i18n.mjs +75 -0
- package/fesm2022/slotted-angular-i18n.mjs.map +1 -0
- package/fesm2022/slotted-angular-icon.mjs +232 -0
- package/fesm2022/slotted-angular-icon.mjs.map +1 -0
- package/fesm2022/slotted-angular-image.mjs +442 -0
- package/fesm2022/slotted-angular-image.mjs.map +1 -0
- package/fesm2022/slotted-angular-import-export-center.mjs +1792 -0
- package/fesm2022/slotted-angular-import-export-center.mjs.map +1 -0
- package/fesm2022/slotted-angular-inline-message.mjs +280 -0
- package/fesm2022/slotted-angular-inline-message.mjs.map +1 -0
- package/fesm2022/slotted-angular-inline.mjs +52 -0
- package/fesm2022/slotted-angular-inline.mjs.map +1 -0
- package/fesm2022/slotted-angular-kbd.mjs +284 -0
- package/fesm2022/slotted-angular-kbd.mjs.map +1 -0
- package/fesm2022/slotted-angular-link.mjs +182 -0
- package/fesm2022/slotted-angular-link.mjs.map +1 -0
- package/fesm2022/slotted-angular-list-item.mjs +367 -0
- package/fesm2022/slotted-angular-list-item.mjs.map +1 -0
- package/fesm2022/slotted-angular-list.mjs +256 -0
- package/fesm2022/slotted-angular-list.mjs.map +1 -0
- package/fesm2022/slotted-angular-listbox.mjs +1274 -0
- package/fesm2022/slotted-angular-listbox.mjs.map +1 -0
- package/fesm2022/slotted-angular-loading-overlay.mjs +451 -0
- package/fesm2022/slotted-angular-loading-overlay.mjs.map +1 -0
- package/fesm2022/slotted-angular-markdown.mjs +914 -0
- package/fesm2022/slotted-angular-markdown.mjs.map +1 -0
- package/fesm2022/slotted-angular-menu.mjs +1211 -0
- package/fesm2022/slotted-angular-menu.mjs.map +1 -0
- package/fesm2022/slotted-angular-menubar.mjs +230 -0
- package/fesm2022/slotted-angular-menubar.mjs.map +1 -0
- package/fesm2022/slotted-angular-message-scroller.mjs +378 -0
- package/fesm2022/slotted-angular-message-scroller.mjs.map +1 -0
- package/fesm2022/slotted-angular-message.mjs +866 -0
- package/fesm2022/slotted-angular-message.mjs.map +1 -0
- package/fesm2022/slotted-angular-multi-select.mjs +1939 -0
- package/fesm2022/slotted-angular-multi-select.mjs.map +1 -0
- package/fesm2022/slotted-angular-navigation-menu.mjs +770 -0
- package/fesm2022/slotted-angular-navigation-menu.mjs.map +1 -0
- package/fesm2022/slotted-angular-notification-center.mjs +1172 -0
- package/fesm2022/slotted-angular-notification-center.mjs.map +1 -0
- package/fesm2022/slotted-angular-number-field.mjs +966 -0
- package/fesm2022/slotted-angular-number-field.mjs.map +1 -0
- package/fesm2022/slotted-angular-otp-input.mjs +629 -0
- package/fesm2022/slotted-angular-otp-input.mjs.map +1 -0
- package/fesm2022/slotted-angular-page-header.mjs +788 -0
- package/fesm2022/slotted-angular-page-header.mjs.map +1 -0
- package/fesm2022/slotted-angular-page.mjs +255 -0
- package/fesm2022/slotted-angular-page.mjs.map +1 -0
- package/fesm2022/slotted-angular-pagination.mjs +562 -0
- package/fesm2022/slotted-angular-pagination.mjs.map +1 -0
- package/fesm2022/slotted-angular-popover.mjs +799 -0
- package/fesm2022/slotted-angular-popover.mjs.map +1 -0
- package/fesm2022/slotted-angular-progress-indicator.mjs +572 -0
- package/fesm2022/slotted-angular-progress-indicator.mjs.map +1 -0
- package/fesm2022/slotted-angular-prompt-composer.mjs +596 -0
- package/fesm2022/slotted-angular-prompt-composer.mjs.map +1 -0
- package/fesm2022/slotted-angular-prose.mjs +314 -0
- package/fesm2022/slotted-angular-prose.mjs.map +1 -0
- package/fesm2022/slotted-angular-radio-group.mjs +469 -0
- package/fesm2022/slotted-angular-radio-group.mjs.map +1 -0
- package/fesm2022/slotted-angular-rating.mjs +1174 -0
- package/fesm2022/slotted-angular-rating.mjs.map +1 -0
- package/fesm2022/slotted-angular-result-state.mjs +330 -0
- package/fesm2022/slotted-angular-result-state.mjs.map +1 -0
- package/fesm2022/slotted-angular-saved-views.mjs +877 -0
- package/fesm2022/slotted-angular-saved-views.mjs.map +1 -0
- package/fesm2022/slotted-angular-scroll-area.mjs +294 -0
- package/fesm2022/slotted-angular-scroll-area.mjs.map +1 -0
- package/fesm2022/slotted-angular-section.mjs +266 -0
- package/fesm2022/slotted-angular-section.mjs.map +1 -0
- package/fesm2022/slotted-angular-segmented-control.mjs +454 -0
- package/fesm2022/slotted-angular-segmented-control.mjs.map +1 -0
- package/fesm2022/slotted-angular-select.mjs +1899 -0
- package/fesm2022/slotted-angular-select.mjs.map +1 -0
- package/fesm2022/slotted-angular-side-navigation.mjs +1042 -0
- package/fesm2022/slotted-angular-side-navigation.mjs.map +1 -0
- package/fesm2022/slotted-angular-skeleton.mjs +316 -0
- package/fesm2022/slotted-angular-skeleton.mjs.map +1 -0
- package/fesm2022/slotted-angular-slider.mjs +586 -0
- package/fesm2022/slotted-angular-slider.mjs.map +1 -0
- package/fesm2022/slotted-angular-sparkline.mjs +235 -0
- package/fesm2022/slotted-angular-sparkline.mjs.map +1 -0
- package/fesm2022/slotted-angular-split-button.mjs +331 -0
- package/fesm2022/slotted-angular-split-button.mjs.map +1 -0
- package/fesm2022/slotted-angular-splitter.mjs +516 -0
- package/fesm2022/slotted-angular-splitter.mjs.map +1 -0
- package/fesm2022/slotted-angular-stack.mjs +48 -0
- package/fesm2022/slotted-angular-stack.mjs.map +1 -0
- package/fesm2022/slotted-angular-stat-card.mjs +478 -0
- package/fesm2022/slotted-angular-stat-card.mjs.map +1 -0
- package/fesm2022/slotted-angular-status-indicator.mjs +155 -0
- package/fesm2022/slotted-angular-status-indicator.mjs.map +1 -0
- package/fesm2022/slotted-angular-stepper.mjs +536 -0
- package/fesm2022/slotted-angular-stepper.mjs.map +1 -0
- package/fesm2022/slotted-angular-switch.mjs +447 -0
- package/fesm2022/slotted-angular-switch.mjs.map +1 -0
- package/fesm2022/slotted-angular-table-of-contents.mjs +750 -0
- package/fesm2022/slotted-angular-table-of-contents.mjs.map +1 -0
- package/fesm2022/slotted-angular-table.mjs +2518 -0
- package/fesm2022/slotted-angular-table.mjs.map +1 -0
- package/fesm2022/slotted-angular-tabs.mjs +829 -0
- package/fesm2022/slotted-angular-tabs.mjs.map +1 -0
- package/fesm2022/slotted-angular-tag.mjs +595 -0
- package/fesm2022/slotted-angular-tag.mjs.map +1 -0
- package/fesm2022/slotted-angular-tags-input.mjs +1211 -0
- package/fesm2022/slotted-angular-tags-input.mjs.map +1 -0
- package/fesm2022/slotted-angular-text-field.mjs +674 -0
- package/fesm2022/slotted-angular-text-field.mjs.map +1 -0
- package/fesm2022/slotted-angular-textarea.mjs +275 -0
- package/fesm2022/slotted-angular-textarea.mjs.map +1 -0
- package/fesm2022/slotted-angular-theme.mjs +45 -0
- package/fesm2022/slotted-angular-theme.mjs.map +1 -0
- package/fesm2022/slotted-angular-time-field.mjs +895 -0
- package/fesm2022/slotted-angular-time-field.mjs.map +1 -0
- package/fesm2022/slotted-angular-time-picker.mjs +856 -0
- package/fesm2022/slotted-angular-time-picker.mjs.map +1 -0
- package/fesm2022/slotted-angular-time-range-picker.mjs +1534 -0
- package/fesm2022/slotted-angular-time-range-picker.mjs.map +1 -0
- package/fesm2022/slotted-angular-timeline.mjs +928 -0
- package/fesm2022/slotted-angular-timeline.mjs.map +1 -0
- package/fesm2022/slotted-angular-toast.mjs +917 -0
- package/fesm2022/slotted-angular-toast.mjs.map +1 -0
- package/fesm2022/slotted-angular-toggle-group.mjs +311 -0
- package/fesm2022/slotted-angular-toggle-group.mjs.map +1 -0
- package/fesm2022/slotted-angular-toggle.mjs +162 -0
- package/fesm2022/slotted-angular-toggle.mjs.map +1 -0
- package/fesm2022/slotted-angular-toolbar.mjs +536 -0
- package/fesm2022/slotted-angular-toolbar.mjs.map +1 -0
- package/fesm2022/slotted-angular-tooltip.mjs +798 -0
- package/fesm2022/slotted-angular-tooltip.mjs.map +1 -0
- package/fesm2022/slotted-angular-top-navigation.mjs +1308 -0
- package/fesm2022/slotted-angular-top-navigation.mjs.map +1 -0
- package/fesm2022/slotted-angular-tour.mjs +1330 -0
- package/fesm2022/slotted-angular-tour.mjs.map +1 -0
- package/fesm2022/slotted-angular-transfer.mjs +1406 -0
- package/fesm2022/slotted-angular-transfer.mjs.map +1 -0
- package/fesm2022/slotted-angular-tree.mjs +1448 -0
- package/fesm2022/slotted-angular-tree.mjs.map +1 -0
- package/fesm2022/slotted-angular-typography.mjs +184 -0
- package/fesm2022/slotted-angular-typography.mjs.map +1 -0
- package/fesm2022/slotted-angular-upload.mjs +1523 -0
- package/fesm2022/slotted-angular-upload.mjs.map +1 -0
- package/fesm2022/slotted-angular-visually-hidden.mjs +32 -0
- package/fesm2022/slotted-angular-visually-hidden.mjs.map +1 -0
- package/fesm2022/slotted-angular-wizard.mjs +1715 -0
- package/fesm2022/slotted-angular-wizard.mjs.map +1 -0
- package/fesm2022/slotted-angular.mjs +4 -0
- package/fesm2022/slotted-angular.mjs.map +1 -0
- package/package.json +537 -3
- package/types/slotted-angular-accordion.d.ts +156 -0
- package/types/slotted-angular-accordion.d.ts.map +1 -0
- package/types/slotted-angular-action-bar.d.ts +291 -0
- package/types/slotted-angular-action-bar.d.ts.map +1 -0
- package/types/slotted-angular-action-sheet.d.ts +294 -0
- package/types/slotted-angular-action-sheet.d.ts.map +1 -0
- package/types/slotted-angular-alert.d.ts +214 -0
- package/types/slotted-angular-alert.d.ts.map +1 -0
- package/types/slotted-angular-app-shell.d.ts +549 -0
- package/types/slotted-angular-app-shell.d.ts.map +1 -0
- package/types/slotted-angular-aspect-ratio.d.ts +57 -0
- package/types/slotted-angular-aspect-ratio.d.ts.map +1 -0
- package/types/slotted-angular-attachment.d.ts +294 -0
- package/types/slotted-angular-attachment.d.ts.map +1 -0
- package/types/slotted-angular-avatar-group.d.ts +119 -0
- package/types/slotted-angular-avatar-group.d.ts.map +1 -0
- package/types/slotted-angular-avatar.d.ts +202 -0
- package/types/slotted-angular-avatar.d.ts.map +1 -0
- package/types/slotted-angular-badge.d.ts +166 -0
- package/types/slotted-angular-badge.d.ts.map +1 -0
- package/types/slotted-angular-breadcrumb.d.ts +251 -0
- package/types/slotted-angular-breadcrumb.d.ts.map +1 -0
- package/types/slotted-angular-button-group.d.ts +89 -0
- package/types/slotted-angular-button-group.d.ts.map +1 -0
- package/types/slotted-angular-button.d.ts +390 -0
- package/types/slotted-angular-button.d.ts.map +1 -0
- package/types/slotted-angular-calendar.d.ts +280 -0
- package/types/slotted-angular-calendar.d.ts.map +1 -0
- package/types/slotted-angular-card.d.ts +140 -0
- package/types/slotted-angular-card.d.ts.map +1 -0
- package/types/slotted-angular-carousel.d.ts +288 -0
- package/types/slotted-angular-carousel.d.ts.map +1 -0
- package/types/slotted-angular-cascader.d.ts +351 -0
- package/types/slotted-angular-cascader.d.ts.map +1 -0
- package/types/slotted-angular-chart.d.ts +319 -0
- package/types/slotted-angular-chart.d.ts.map +1 -0
- package/types/slotted-angular-checkbox-group.d.ts +156 -0
- package/types/slotted-angular-checkbox-group.d.ts.map +1 -0
- package/types/slotted-angular-checkbox.d.ts +197 -0
- package/types/slotted-angular-checkbox.d.ts.map +1 -0
- package/types/slotted-angular-code-block.d.ts +158 -0
- package/types/slotted-angular-code-block.d.ts.map +1 -0
- package/types/slotted-angular-collapsible.d.ts +272 -0
- package/types/slotted-angular-collapsible.d.ts.map +1 -0
- package/types/slotted-angular-color-picker.d.ts +181 -0
- package/types/slotted-angular-color-picker.d.ts.map +1 -0
- package/types/slotted-angular-column-manager.d.ts +200 -0
- package/types/slotted-angular-column-manager.d.ts.map +1 -0
- package/types/slotted-angular-combobox.d.ts +449 -0
- package/types/slotted-angular-combobox.d.ts.map +1 -0
- package/types/slotted-angular-command-palette.d.ts +256 -0
- package/types/slotted-angular-command-palette.d.ts.map +1 -0
- package/types/slotted-angular-container.d.ts +84 -0
- package/types/slotted-angular-container.d.ts.map +1 -0
- package/types/slotted-angular-context-menu.d.ts +84 -0
- package/types/slotted-angular-context-menu.d.ts.map +1 -0
- package/types/slotted-angular-currency-field.d.ts +480 -0
- package/types/slotted-angular-currency-field.d.ts.map +1 -0
- package/types/slotted-angular-dashboard-grid.d.ts +341 -0
- package/types/slotted-angular-dashboard-grid.d.ts.map +1 -0
- package/types/slotted-angular-data-grid.d.ts +1077 -0
- package/types/slotted-angular-data-grid.d.ts.map +1 -0
- package/types/slotted-angular-data-list.d.ts +272 -0
- package/types/slotted-angular-data-list.d.ts.map +1 -0
- package/types/slotted-angular-date-field.d.ts +320 -0
- package/types/slotted-angular-date-field.d.ts.map +1 -0
- package/types/slotted-angular-date-picker.d.ts +224 -0
- package/types/slotted-angular-date-picker.d.ts.map +1 -0
- package/types/slotted-angular-date-range-picker.d.ts +310 -0
- package/types/slotted-angular-date-range-picker.d.ts.map +1 -0
- package/types/slotted-angular-datetime-field.d.ts +362 -0
- package/types/slotted-angular-datetime-field.d.ts.map +1 -0
- package/types/slotted-angular-datetime-picker.d.ts +370 -0
- package/types/slotted-angular-datetime-picker.d.ts.map +1 -0
- package/types/slotted-angular-datetime-range-picker.d.ts +459 -0
- package/types/slotted-angular-datetime-range-picker.d.ts.map +1 -0
- package/types/slotted-angular-description-list.d.ts +281 -0
- package/types/slotted-angular-description-list.d.ts.map +1 -0
- package/types/slotted-angular-detail-panel.d.ts +240 -0
- package/types/slotted-angular-detail-panel.d.ts.map +1 -0
- package/types/slotted-angular-dialog.d.ts +497 -0
- package/types/slotted-angular-dialog.d.ts.map +1 -0
- package/types/slotted-angular-divider.d.ts +40 -0
- package/types/slotted-angular-divider.d.ts.map +1 -0
- package/types/slotted-angular-drawer.d.ts +532 -0
- package/types/slotted-angular-drawer.d.ts.map +1 -0
- package/types/slotted-angular-entity-picker.d.ts +338 -0
- package/types/slotted-angular-entity-picker.d.ts.map +1 -0
- package/types/slotted-angular-event-calendar.d.ts +574 -0
- package/types/slotted-angular-event-calendar.d.ts.map +1 -0
- package/types/slotted-angular-field-group.d.ts +152 -0
- package/types/slotted-angular-field-group.d.ts.map +1 -0
- package/types/slotted-angular-field.d.ts +535 -0
- package/types/slotted-angular-field.d.ts.map +1 -0
- package/types/slotted-angular-filter-bar.d.ts +573 -0
- package/types/slotted-angular-filter-bar.d.ts.map +1 -0
- package/types/slotted-angular-form.d.ts +298 -0
- package/types/slotted-angular-form.d.ts.map +1 -0
- package/types/slotted-angular-fullscreen.d.ts +145 -0
- package/types/slotted-angular-fullscreen.d.ts.map +1 -0
- package/types/slotted-angular-grid.d.ts +50 -0
- package/types/slotted-angular-grid.d.ts.map +1 -0
- package/types/slotted-angular-highlight.d.ts +93 -0
- package/types/slotted-angular-highlight.d.ts.map +1 -0
- package/types/slotted-angular-hover-card.d.ts +140 -0
- package/types/slotted-angular-hover-card.d.ts.map +1 -0
- package/types/slotted-angular-i18n.d.ts +46 -0
- package/types/slotted-angular-i18n.d.ts.map +1 -0
- package/types/slotted-angular-icon.d.ts +94 -0
- package/types/slotted-angular-icon.d.ts.map +1 -0
- package/types/slotted-angular-image.d.ts +251 -0
- package/types/slotted-angular-image.d.ts.map +1 -0
- package/types/slotted-angular-import-export-center.d.ts +351 -0
- package/types/slotted-angular-import-export-center.d.ts.map +1 -0
- package/types/slotted-angular-inline-message.d.ts +195 -0
- package/types/slotted-angular-inline-message.d.ts.map +1 -0
- package/types/slotted-angular-inline.d.ts +41 -0
- package/types/slotted-angular-inline.d.ts.map +1 -0
- package/types/slotted-angular-kbd.d.ts +174 -0
- package/types/slotted-angular-kbd.d.ts.map +1 -0
- package/types/slotted-angular-link.d.ts +94 -0
- package/types/slotted-angular-link.d.ts.map +1 -0
- package/types/slotted-angular-list-item.d.ts +210 -0
- package/types/slotted-angular-list-item.d.ts.map +1 -0
- package/types/slotted-angular-list.d.ts +176 -0
- package/types/slotted-angular-list.d.ts.map +1 -0
- package/types/slotted-angular-listbox.d.ts +470 -0
- package/types/slotted-angular-listbox.d.ts.map +1 -0
- package/types/slotted-angular-loading-overlay.d.ts +219 -0
- package/types/slotted-angular-loading-overlay.d.ts.map +1 -0
- package/types/slotted-angular-markdown.d.ts +172 -0
- package/types/slotted-angular-markdown.d.ts.map +1 -0
- package/types/slotted-angular-menu.d.ts +448 -0
- package/types/slotted-angular-menu.d.ts.map +1 -0
- package/types/slotted-angular-menubar.d.ts +90 -0
- package/types/slotted-angular-menubar.d.ts.map +1 -0
- package/types/slotted-angular-message-scroller.d.ts +151 -0
- package/types/slotted-angular-message-scroller.d.ts.map +1 -0
- package/types/slotted-angular-message.d.ts +348 -0
- package/types/slotted-angular-message.d.ts.map +1 -0
- package/types/slotted-angular-multi-select.d.ts +462 -0
- package/types/slotted-angular-multi-select.d.ts.map +1 -0
- package/types/slotted-angular-navigation-menu.d.ts +309 -0
- package/types/slotted-angular-navigation-menu.d.ts.map +1 -0
- package/types/slotted-angular-notification-center.d.ts +318 -0
- package/types/slotted-angular-notification-center.d.ts.map +1 -0
- package/types/slotted-angular-number-field.d.ts +402 -0
- package/types/slotted-angular-number-field.d.ts.map +1 -0
- package/types/slotted-angular-otp-input.d.ts +286 -0
- package/types/slotted-angular-otp-input.d.ts.map +1 -0
- package/types/slotted-angular-page-header.d.ts +334 -0
- package/types/slotted-angular-page-header.d.ts.map +1 -0
- package/types/slotted-angular-page.d.ts +141 -0
- package/types/slotted-angular-page.d.ts.map +1 -0
- package/types/slotted-angular-pagination.d.ts +213 -0
- package/types/slotted-angular-pagination.d.ts.map +1 -0
- package/types/slotted-angular-popover.d.ts +366 -0
- package/types/slotted-angular-popover.d.ts.map +1 -0
- package/types/slotted-angular-progress-indicator.d.ts +312 -0
- package/types/slotted-angular-progress-indicator.d.ts.map +1 -0
- package/types/slotted-angular-prompt-composer.d.ts +242 -0
- package/types/slotted-angular-prompt-composer.d.ts.map +1 -0
- package/types/slotted-angular-prose.d.ts +171 -0
- package/types/slotted-angular-prose.d.ts.map +1 -0
- package/types/slotted-angular-radio-group.d.ts +268 -0
- package/types/slotted-angular-radio-group.d.ts.map +1 -0
- package/types/slotted-angular-rating.d.ts +374 -0
- package/types/slotted-angular-rating.d.ts.map +1 -0
- package/types/slotted-angular-result-state.d.ts +217 -0
- package/types/slotted-angular-result-state.d.ts.map +1 -0
- package/types/slotted-angular-saved-views.d.ts +198 -0
- package/types/slotted-angular-saved-views.d.ts.map +1 -0
- package/types/slotted-angular-scroll-area.d.ts +186 -0
- package/types/slotted-angular-scroll-area.d.ts.map +1 -0
- package/types/slotted-angular-section.d.ts +143 -0
- package/types/slotted-angular-section.d.ts.map +1 -0
- package/types/slotted-angular-segmented-control.d.ts +251 -0
- package/types/slotted-angular-segmented-control.d.ts.map +1 -0
- package/types/slotted-angular-select.d.ts +507 -0
- package/types/slotted-angular-select.d.ts.map +1 -0
- package/types/slotted-angular-side-navigation.d.ts +373 -0
- package/types/slotted-angular-side-navigation.d.ts.map +1 -0
- package/types/slotted-angular-skeleton.d.ts +198 -0
- package/types/slotted-angular-skeleton.d.ts.map +1 -0
- package/types/slotted-angular-slider.d.ts +216 -0
- package/types/slotted-angular-slider.d.ts.map +1 -0
- package/types/slotted-angular-sparkline.d.ts +106 -0
- package/types/slotted-angular-sparkline.d.ts.map +1 -0
- package/types/slotted-angular-split-button.d.ts +180 -0
- package/types/slotted-angular-split-button.d.ts.map +1 -0
- package/types/slotted-angular-splitter.d.ts +206 -0
- package/types/slotted-angular-splitter.d.ts.map +1 -0
- package/types/slotted-angular-stack.d.ts +38 -0
- package/types/slotted-angular-stack.d.ts.map +1 -0
- package/types/slotted-angular-stat-card.d.ts +232 -0
- package/types/slotted-angular-stat-card.d.ts.map +1 -0
- package/types/slotted-angular-status-indicator.d.ts +106 -0
- package/types/slotted-angular-status-indicator.d.ts.map +1 -0
- package/types/slotted-angular-stepper.d.ts +198 -0
- package/types/slotted-angular-stepper.d.ts.map +1 -0
- package/types/slotted-angular-switch.d.ts +243 -0
- package/types/slotted-angular-switch.d.ts.map +1 -0
- package/types/slotted-angular-table-of-contents.d.ts +210 -0
- package/types/slotted-angular-table-of-contents.d.ts.map +1 -0
- package/types/slotted-angular-table.d.ts +888 -0
- package/types/slotted-angular-table.d.ts.map +1 -0
- package/types/slotted-angular-tabs.d.ts +340 -0
- package/types/slotted-angular-tabs.d.ts.map +1 -0
- package/types/slotted-angular-tag.d.ts +279 -0
- package/types/slotted-angular-tag.d.ts.map +1 -0
- package/types/slotted-angular-tags-input.d.ts +302 -0
- package/types/slotted-angular-tags-input.d.ts.map +1 -0
- package/types/slotted-angular-text-field.d.ts +334 -0
- package/types/slotted-angular-text-field.d.ts.map +1 -0
- package/types/slotted-angular-textarea.d.ts +150 -0
- package/types/slotted-angular-textarea.d.ts.map +1 -0
- package/types/slotted-angular-theme.d.ts +26 -0
- package/types/slotted-angular-theme.d.ts.map +1 -0
- package/types/slotted-angular-time-field.d.ts +300 -0
- package/types/slotted-angular-time-field.d.ts.map +1 -0
- package/types/slotted-angular-time-picker.d.ts +260 -0
- package/types/slotted-angular-time-picker.d.ts.map +1 -0
- package/types/slotted-angular-time-range-picker.d.ts +401 -0
- package/types/slotted-angular-time-range-picker.d.ts.map +1 -0
- package/types/slotted-angular-timeline.d.ts +329 -0
- package/types/slotted-angular-timeline.d.ts.map +1 -0
- package/types/slotted-angular-toast.d.ts +340 -0
- package/types/slotted-angular-toast.d.ts.map +1 -0
- package/types/slotted-angular-toggle-group.d.ts +167 -0
- package/types/slotted-angular-toggle-group.d.ts.map +1 -0
- package/types/slotted-angular-toggle.d.ts +106 -0
- package/types/slotted-angular-toggle.d.ts.map +1 -0
- package/types/slotted-angular-toolbar.d.ts +252 -0
- package/types/slotted-angular-toolbar.d.ts.map +1 -0
- package/types/slotted-angular-tooltip.d.ts +388 -0
- package/types/slotted-angular-tooltip.d.ts.map +1 -0
- package/types/slotted-angular-top-navigation.d.ts +442 -0
- package/types/slotted-angular-top-navigation.d.ts.map +1 -0
- package/types/slotted-angular-tour.d.ts +440 -0
- package/types/slotted-angular-tour.d.ts.map +1 -0
- package/types/slotted-angular-transfer.d.ts +296 -0
- package/types/slotted-angular-transfer.d.ts.map +1 -0
- package/types/slotted-angular-tree.d.ts +499 -0
- package/types/slotted-angular-tree.d.ts.map +1 -0
- package/types/slotted-angular-typography.d.ts +89 -0
- package/types/slotted-angular-typography.d.ts.map +1 -0
- package/types/slotted-angular-upload.d.ts +365 -0
- package/types/slotted-angular-upload.d.ts.map +1 -0
- package/types/slotted-angular-visually-hidden.d.ts +19 -0
- package/types/slotted-angular-visually-hidden.d.ts.map +1 -0
- package/types/slotted-angular-wizard.d.ts +441 -0
- package/types/slotted-angular-wizard.d.ts.map +1 -0
- package/types/slotted-angular.d.ts +3 -0
- package/types/slotted-angular.d.ts.map +1 -0
|
@@ -0,0 +1,162 @@
|
|
|
1
|
+
<!-- index: ./index.md -->
|
|
2
|
+
# datetime-range-picker
|
|
3
|
+
|
|
4
|
+
`data-ui="datetime-range-picker"` · Start and end date-times with a picker.
|
|
5
|
+
|
|
6
|
+
## Import
|
|
7
|
+
|
|
8
|
+
```ts
|
|
9
|
+
import { SlDateTimeRangePicker, SlDateTimeRangePickerPreset, SlDateTimeRangePickerPresets, SlDateTimeRangePickerFooter, SlDateTimeRangePickerOption } from '@slotted/angular/datetime-range-picker';
|
|
10
|
+
```
|
|
11
|
+
|
|
12
|
+
Selector: `[slDateTimeRangePicker]` · exportAs: `slDateTimeRangePicker`
|
|
13
|
+
|
|
14
|
+
## Minimal example
|
|
15
|
+
|
|
16
|
+
Excerpt — not a complete module
|
|
17
|
+
|
|
18
|
+
```html
|
|
19
|
+
<div slField>
|
|
20
|
+
<label slFieldLabel>Retirada e devolução</label>
|
|
21
|
+
<div
|
|
22
|
+
slDateTimeRangePicker
|
|
23
|
+
clearable
|
|
24
|
+
locale="pt-BR"
|
|
25
|
+
[messages]="{ start: 'Retirada', end: 'Devolução' }"
|
|
26
|
+
[defaultValue]="rental"
|
|
27
|
+
></div>
|
|
28
|
+
</div>
|
|
29
|
+
```
|
|
30
|
+
|
|
31
|
+
## Anatomy
|
|
32
|
+
|
|
33
|
+
| Part | Element | Required |
|
|
34
|
+
| --- | --- | --- |
|
|
35
|
+
| `root` | the consumer’s own element | yes |
|
|
36
|
+
| `control` | div | yes |
|
|
37
|
+
| `trigger` | button | yes |
|
|
38
|
+
| `summary` | span | yes |
|
|
39
|
+
| `clear` | button | no |
|
|
40
|
+
| `hidden-input` | input | yes |
|
|
41
|
+
| `positioner` | div | no |
|
|
42
|
+
| `content` | div | no |
|
|
43
|
+
| `head` | div | no |
|
|
44
|
+
| `tabs` | div | no |
|
|
45
|
+
| `tab` | button | no |
|
|
46
|
+
| `tab-label` | span | no |
|
|
47
|
+
| `tab-value` | span | no |
|
|
48
|
+
| `field` | div | no |
|
|
49
|
+
| `now` | button | no |
|
|
50
|
+
| `hint` | span | no |
|
|
51
|
+
| `length` | span | no |
|
|
52
|
+
| `limit` | span | no |
|
|
53
|
+
| `presets` | div | no |
|
|
54
|
+
| `preset` | button | no |
|
|
55
|
+
| `panel` | div | no |
|
|
56
|
+
| `date-panel` | div | no |
|
|
57
|
+
| `list` | div | no |
|
|
58
|
+
| `option` | div | no |
|
|
59
|
+
| `option-duration` | span | no |
|
|
60
|
+
| `empty` | div | no |
|
|
61
|
+
| `footer` | div | no |
|
|
62
|
+
| `done` | button | no |
|
|
63
|
+
|
|
64
|
+
## Props
|
|
65
|
+
|
|
66
|
+
| Name | Type | Default | Applies to | Description |
|
|
67
|
+
| --- | --- | --- | --- | --- |
|
|
68
|
+
| `value` | `DateTimeRange \| null` | — | SlDateTimeRangePicker | { start, end }, each end nullable. Present means the consumer owns it. Both ends null is null. |
|
|
69
|
+
| `defaultValue` | `DateTimeRange \| null` | — | SlDateTimeRangePicker | What it starts from when nobody else writes one. Read once. |
|
|
70
|
+
| `open` | `boolean` | — | SlDateTimeRangePicker | Whether the surface is showing. Present means the consumer owns it. |
|
|
71
|
+
| `defaultOpen` | `boolean` | false | SlDateTimeRangePicker | Whether it opens already showing. |
|
|
72
|
+
| `position` | `'start' \| 'end'` | — | SlDateTimeRangePicker | The end being edited: the field and the panel carrying data-current, and where focus lands when the surface opens. Present means the consumer owns it. |
|
|
73
|
+
| `defaultPosition` | `'start' \| 'end'` | start | SlDateTimeRangePicker | Where editing starts. |
|
|
74
|
+
| `highlighted` | `{ start: PlainTime \| null; end: PlainTime \| null }` | — | SlDateTimeRangePicker | The highlighted option of each end’s list. Present means the consumer owns it. Moving it moves no value. |
|
|
75
|
+
| `defaultHighlighted` | `{ start: PlainTime \| null; end: PlainTime \| null }` | — | SlDateTimeRangePicker | Where the highlights start; otherwise a list opens on its end, or on the nearest offered step. |
|
|
76
|
+
| `min` | `PlainDateTime` | — | SlDateTimeRangePicker | Where the range starts: the earliest whole value. Its time bounds the first day only, the platform’s own rule. Crossed with the work between the two fields. |
|
|
77
|
+
| `max` | `PlainDateTime` | — | SlDateTimeRangePicker | Where the range ends; its time bounds the last day only. |
|
|
78
|
+
| `minTime` | `PlainTime` | — | SlDateTimeRangePicker | The earliest time on every day inside the range, applied together with min — the pair MUI declines to combine. |
|
|
79
|
+
| `maxTime` | `PlainTime` | — | SlDateTimeRangePicker | The latest time on every day inside the range. |
|
|
80
|
+
| `isDateUnavailable` | `(date: PlainDate) => boolean` | — | SlDateTimeRangePicker | Refuses whole days. The grid greys them and a list on such a day is empty. |
|
|
81
|
+
| `isTimeUnavailable` | `(time: PlainTime, date: PlainDate) => boolean` | — | SlDateTimeRangePicker | Refuses one time on one day. Asked once per row of a list, on the day that list serves. |
|
|
82
|
+
| `contiguous` | `boolean` | true | SlDateTimeRangePicker | Whether a run may cross an unavailable day. On, and with a start chosen, the days beyond the first unavailable one are refused in the grid, and on the same day the times beyond the first unavailable one in the end list. |
|
|
83
|
+
| `minLength` | `number` | — | SlDateTimeRangePicker | The shortest run allowed, in seconds. The grid and the list refuse shorter ones and the band names the limit. |
|
|
84
|
+
| `maxLength` | `number` | — | SlDateTimeRangePicker | The longest run allowed, in seconds. |
|
|
85
|
+
| `lengthLabel` | `(seconds: number, locale?: string) => string` | durationLabel | SlDateTimeRangePicker | What the band and the rows say for a duration, in the product’s own words. The default writes "3 days 21 hr" in the family’s locale. |
|
|
86
|
+
| `step` | `number` | 900 | SlDateTimeRangePicker | Seconds between two offered times, counted from min’s time on the first day and from midnight elsewhere. Ignored when options states the list. |
|
|
87
|
+
| `options` | `readonly PlainTime[]` | — | SlDateTimeRangePicker | The times to offer, stated rather than stepped; the same list for both ends. The bounds and the predicate still refuse. |
|
|
88
|
+
| `maxOptions` | `number` | 1440 | SlDateTimeRangePicker | How many rows a list may reach before it is cut. Cut, the list carries data-truncated and the panel’s description says the rest is typed. |
|
|
89
|
+
| `unavailableOptions` | `'disable' \| 'hide'` | disable | SlDateTimeRangePicker | What a refused time looks like in a list: drawn muted with aria-disabled, or left out. |
|
|
90
|
+
| `months` | `number` | 1 | SlDateTimeRangePicker | How many months the grid shows. One, because the list stands beside it; a second wraps under the first where the surface is narrow. |
|
|
91
|
+
| `weekNumbers` | `boolean` | — | SlDateTimeRangePicker | Draws the ISO week number beside each row of the grid. |
|
|
92
|
+
| `fixedWeeks` | `boolean` | true | SlDateTimeRangePicker | Six rows whatever the month needs, so a press of "next" moves no target. |
|
|
93
|
+
| `locale` | `string` | provideSlotted | SlDateTimeRangePicker | BCP 47. Decides the field order, the digits, the month names, the day-period names and the duration’s units. Unset, the language in force decides. |
|
|
94
|
+
| `timeZone` | `string` | — | SlDateTimeRangePicker | The zone "now" is read in. |
|
|
95
|
+
| `hourCycle` | `12 \| 24` | — | SlDateTimeRangePicker | Twelve- or twenty-four-hour times. Unset, the locale decides. |
|
|
96
|
+
| `granularity` | `'hour' \| 'minute' \| 'second'` | minute | SlDateTimeRangePicker | How much of a time the fields and the rows write. |
|
|
97
|
+
| `calendar` | `'gregory'` | gregory | SlDateTimeRangePicker | The calendar system. One today. |
|
|
98
|
+
| `firstDayOfWeek` | `number` | — | SlDateTimeRangePicker | Which day the grid’s week starts on. Unset, the locale decides. |
|
|
99
|
+
| `yearPivot` | `number` | — | SlDateTimeRangePicker | The pivot two typed year digits are resolved through. |
|
|
100
|
+
| `referenceDateTime` | `PlainDateTime` | — | SlDateTimeRangePicker | What "now" is, for a story or a test; the clock otherwise. Anchors now, the day the panel opens on, and the relative expression. |
|
|
101
|
+
| `size` | `'sm' \| 'md' \| 'lg'` | md | SlDateTimeRangePicker | The control scale of the frame. |
|
|
102
|
+
| `variant` | `'outline' \| 'subtle' \| 'plain'` | outline | SlDateTimeRangePicker | How much frame the control shows at rest. |
|
|
103
|
+
| `placement` | `'bottom-start' \| 'bottom' \| 'bottom-end' \| 'top-start' \| 'top' \| 'top-end'` | bottom-start | SlDateTimeRangePicker | Where the surface opens, before the positioner has read the room. |
|
|
104
|
+
| `closeOnSelect` | `'auto' \| 'always' \| 'never'` | auto | SlDateTimeRangePicker | auto closes when a press completes the work; always closes on any press that changes the value; never closes on none. |
|
|
105
|
+
| `disabled` | `boolean` | — | SlDateTimeRangePicker | Nothing answers; the value stays readable. |
|
|
106
|
+
| `readOnly` | `boolean` | — | SlDateTimeRangePicker | Legible and copyable; the trigger and the clear are out of the tab sequence. |
|
|
107
|
+
| `invalid` | `boolean` | — | SlDateTimeRangePicker | The consumer’s own word. Set, it wins; unset, the family’s own rules and the field around it decide. |
|
|
108
|
+
| `required` | `boolean` | — | SlDateTimeRangePicker | Reaches both fields as aria-required. |
|
|
109
|
+
| `clearable` | `boolean` | false | SlDateTimeRangePicker | Draws one clear on the frame, which empties both ends. |
|
|
110
|
+
| `relative` | `boolean` | — | SlDateTimeRangePicker | Whether the field in the band takes the relative expression — +2d, 1h30, = — the way a datetime-field does. |
|
|
111
|
+
| `messages` | `Partial<DatetimeRangePickerMessages>` | — | SlDateTimeRangePicker | Words laid over the language in force, key by key: the two ends (start, end), the trigger’s names (choose; change with {start}, {end} and {length}; changeReversed), the hint (chooseDay with {end}; chooseTime with {end} and {day}; order, length, unavailable, bounds), the limit (limit.between, limit.atLeast, limit.atMost), now, done, clear, and a panel that is empty or cut short (empty, truncated). |
|
|
112
|
+
| `startName` | `string` | — | SlDateTimeRangePicker | The name of the hidden input carrying the start. |
|
|
113
|
+
| `endName` | `string` | — | SlDateTimeRangePicker | The name of the hidden input carrying the end. |
|
|
114
|
+
| `slDateTimeRangePickerPresets` | `Directive` | — | SlDateTimeRangePicker | The consumer’s own shortcuts, as a directive on their own element holding slDateTimeRangePickerPreset buttons. |
|
|
115
|
+
| `slDateTimeRangePickerFooter` | `Directive` | — | SlDateTimeRangePicker | The consumer’s own actions, before done in the footer, as a directive on their own element. |
|
|
116
|
+
| `slDateTimeRangePickerOption` | `Directive on ng-template` | — | SlDateTimeRangePicker | What one row draws. The context carries the time as $implicit, plus position, date, label, duration, selected, current and unavailable. |
|
|
117
|
+
| `slDateTimeRangePickerPreset` | `DateTimeRange \| (() => DateTimeRange)` | — | SlDateTimeRangePickerPreset | The range the press writes, or a function resolving it at the press. |
|
|
118
|
+
| `provideDateTimeRangePickerDefaults` | `Provider` | — | application | Sets timeZone, calendar, firstDayOfWeek, months, hourCycle, granularity, step, maxOptions, unavailableOptions, closeOnSelect, placement, size, variant and lengthLabel once for everything under the injector. The locale and the words come from provideSlotted. |
|
|
119
|
+
| `ControlValueAccessor and Validator` | `formControl, formControlName, ngModel` | — | SlDateTimeRangePicker | The whole { start, end } is the control’s value, and the family reports what no other validator can see: slottedDateTimeRangeOrder, slottedDateTimeRangeMin, slottedDateTimeRangeMax, slottedDateTimeRangeUnavailable and slottedDateTimeRangeLength. |
|
|
120
|
+
| `exportAs` | `slDateTimeRangePicker` | — | SlDateTimeRangePicker | Hands a template the instance, so focus(), openSurface(), closeSurface() and choose(range) are reachable without a component of its own. |
|
|
121
|
+
| `ng-content slots` | `slDateTimeRangePickerPresets, slDateTimeRangePickerFooter` | — | SlDateTimeRangePicker | The two places a consumer fills, as directives on their own elements, so a button, a list or a toolbar all keep their own semantics. |
|
|
122
|
+
| `slDateTimeRangePickerOption` | `Directive on ng-template` | — | list | One row’s content, rendered once per option with the time, its label and its duration in the context; the row itself — role, states, keyboard, target size — stays the family’s. |
|
|
123
|
+
| `slDateTimeRangePickerPreset` | `Directive on button` | — | presets | One shortcut on the consumer’s own button: it takes the range, writes data-part and type, and composes the click — a handler that calls preventDefault keeps the value where it was. |
|
|
124
|
+
|
|
125
|
+
## Events
|
|
126
|
+
|
|
127
|
+
| Name | Payload | When |
|
|
128
|
+
| --- | --- | --- |
|
|
129
|
+
| `valueChange` | `ChangeRequest<DateTimeRange \| null>` | Before the value moves, and cancellable. keyboard, blur or clear when an end was typed in the band, select when a press in the grid or the list, now, done or a preset completed the work or changed a whole one, clear for the clear button. A press that leaves a half missing emits nothing. There is no two-way [(value)]: a form control carries it instead. |
|
|
130
|
+
| `openChange` | `ChangeRequest<boolean>` | Before the surface opens or closes, and cancellable. pointer for the trigger and for done, keyboard for a key on the trigger, escape for the key, outsidePress for a press elsewhere, select for a press that completed the work. |
|
|
131
|
+
| `positionChange` | `ChangeRequest<'start' \| 'end'>` | Before the current end moves. pointer for a press on a tab, keyboard for the arrows on one, select when a press in the grid, the list or a preset moved it, clear for the clear button, programmatic when the panel opened on the first end with a half missing. |
|
|
132
|
+
| `highlightedChange` | `ChangeRequest<{ start; end }>` | Before a highlight moves in either list. keyboard for the arrows and type-ahead, pointer for a press, programmatic when a list opened or changed under it. |
|
|
133
|
+
|
|
134
|
+
## Axes and defaults
|
|
135
|
+
|
|
136
|
+
| Axis | Values | Default |
|
|
137
|
+
| --- | --- | --- |
|
|
138
|
+
| `size` | `sm`, `md`, `lg` | `md` |
|
|
139
|
+
| `variant` | `outline`, `subtle`, `plain` | `outline` |
|
|
140
|
+
| `placement` | `bottom-start`, `bottom`, `bottom-end`, `top-start`, `top`, `top-end` | `bottom-start` |
|
|
141
|
+
| `closeOnSelect` | `auto`, `always`, `never` | `auto` |
|
|
142
|
+
| `unavailableOptions` | `disable`, `hide` | `disable` |
|
|
143
|
+
| `hourCycle` | `12`, `24` | — |
|
|
144
|
+
| `granularity` | `hour`, `minute`, `second` | `minute` |
|
|
145
|
+
| `calendar` | `gregory` | `gregory` |
|
|
146
|
+
| `position` | `start`, `end` | — |
|
|
147
|
+
|
|
148
|
+
## Rules
|
|
149
|
+
|
|
150
|
+
- The trigger’s accessible name carries both ends in words and the duration — "Change range, 12 September 2026 at 14:00 – 16 September 2026 at 11:00, 3 days 21 hr". Focus returns to it when the surface closes; the summary’s ellipsis removes nothing a screen-reader user cannot hear.
|
|
151
|
+
- The two ends are a tablist with automatic activation, and the panel is one end at a time: a grid and a listbox, the listbox named by the current tab, so "Pickup, 12 Sep, 14:00" is heard before the first option. The hint is the list’s description, so what to choose next — the day, then the time — is read with it.
|
|
152
|
+
- The duration is a polite live region: a sighted reader sees it follow the pointer across the grid and beside every row of a same-day list; a screen-reader user hears it on every arrow.
|
|
153
|
+
- The rule datetime-picker wrote, once per end: a press that leaves a half missing carries focus to it — the grid for a date, the list for a time, the tab moving when it is the other end’s — and the press that completes the work closes the panel. A half-drawn run never reaches a form. Done is the way out when nothing closed it.
|
|
154
|
+
- Typing lives in the band: Enter on the trigger opens onto the first segment of the current end’s field, and the field keeps every key a datetime-field has. On a coarse pointer the field is not drawn and Enter opens onto the grid. Escape is staged: the field’s expression first, the calendar’s view second, the surface last.
|
|
155
|
+
|
|
156
|
+
## Tokens
|
|
157
|
+
|
|
158
|
+
`--slotted-border-subtle`, `--slotted-border-width-thin`, `--slotted-control-border-color`, `--slotted-control-border-width`, `--slotted-control-font-family`, `--slotted-control-font-size-lg`, `--slotted-control-font-size-md`, `--slotted-control-font-size-sm`, `--slotted-control-gap-lg`, `--slotted-control-gap-md`, `--slotted-control-gap-sm`, `--slotted-control-height-lg`, `--slotted-control-height-md`, `--slotted-control-height-sm`, `--slotted-control-icon-size-lg`, `--slotted-control-icon-size-md`, `--slotted-control-icon-size-sm`, `--slotted-control-invalid-edge-width`, `--slotted-control-padding-inline-lg`, `--slotted-control-padding-inline-md`, `--slotted-control-padding-inline-sm`, `--slotted-control-radius`, `--slotted-control-shadow`, `--slotted-control-shadow-focus-geometry`, `--slotted-control-surface`, `--slotted-control-transition-duration`, `--slotted-control-transition-easing`, `--slotted-datetime-range-picker-action-active-background`, `--slotted-datetime-range-picker-action-color`, `--slotted-datetime-range-picker-action-hover-background`, `--slotted-datetime-range-picker-action-size`, `--slotted-datetime-range-picker-background`, `--slotted-datetime-range-picker-border-color`, `--slotted-datetime-range-picker-color`, `--slotted-datetime-range-picker-content-border-color`, `--slotted-datetime-range-picker-content-color`, `--slotted-datetime-range-picker-content-max-inline-size`, `--slotted-datetime-range-picker-content-padding`, `--slotted-datetime-range-picker-content-radius`, `--slotted-datetime-range-picker-content-shadow`, `--slotted-datetime-range-picker-current-color`, `--slotted-datetime-range-picker-current-size`, `--slotted-datetime-range-picker-disabled-background`, `--slotted-datetime-range-picker-disabled-border-color`, `--slotted-datetime-range-picker-disabled-color`, `--slotted-datetime-range-picker-done-active-background`, `--slotted-datetime-range-picker-done-background`, `--slotted-datetime-range-picker-done-color`, `--slotted-datetime-range-picker-done-hover-background`, `--slotted-datetime-range-picker-hint-color`, `--slotted-datetime-range-picker-hover-border-color`, `--slotted-datetime-range-picker-invalid-border-color`, `--slotted-datetime-range-picker-invalid-color`, `--slotted-datetime-range-picker-invalid-edge-width`, `--slotted-datetime-range-picker-invalid-focus-ring-color`, `--slotted-datetime-range-picker-label-color`, `--slotted-datetime-range-picker-length-color`, `--slotted-datetime-range-picker-limit-color`, `--slotted-datetime-range-picker-list-block-size`, `--slotted-datetime-range-picker-list-min-inline-size`, `--slotted-datetime-range-picker-now-color`, `--slotted-datetime-range-picker-option-current-background`, `--slotted-datetime-range-picker-option-hover-background`, `--slotted-datetime-range-picker-option-radius`, `--slotted-datetime-range-picker-option-selected-background`, `--slotted-datetime-range-picker-option-selected-color`, `--slotted-datetime-range-picker-option-selected-hover-background`, `--slotted-datetime-range-picker-placeholder-color`, `--slotted-datetime-range-picker-plain-hover-background`, `--slotted-datetime-range-picker-preset-active-background`, `--slotted-datetime-range-picker-preset-background`, `--slotted-datetime-range-picker-preset-hover-background`, `--slotted-datetime-range-picker-preset-radius`, `--slotted-datetime-range-picker-preset-selected-background`, `--slotted-datetime-range-picker-preset-selected-color`, `--slotted-datetime-range-picker-radius`, `--slotted-datetime-range-picker-readonly-background`, `--slotted-datetime-range-picker-shadow`, `--slotted-datetime-range-picker-sheet-inline-size`, `--slotted-datetime-range-picker-subtle-background`, `--slotted-datetime-range-picker-subtle-border-color`, `--slotted-datetime-range-picker-subtle-hover-background`, `--slotted-datetime-range-picker-surface`, `--slotted-datetime-range-picker-tab-block-size`, `--slotted-disabled-background`, `--slotted-disabled-border`, `--slotted-disabled-foreground`, `--slotted-duration-medium`, `--slotted-duration-short`, `--slotted-easing-enter`, `--slotted-easing-exit`, `--slotted-focus-ring-color`, `--slotted-focus-ring-color-invalid`, `--slotted-focus-ring-offset`, `--slotted-focus-ring-width`, `--slotted-font-size-sm`, `--slotted-font-size-xs`, `--slotted-font-weight-medium`, `--slotted-font-weight-regular`, `--slotted-font-weight-semibold`, `--slotted-letter-spacing-wide`, `--slotted-line-height-sm`, `--slotted-radius-lg`, `--slotted-radius-none`, `--slotted-radius-pill`, `--slotted-radius-sm`, `--slotted-radius-xs`, `--slotted-shadow-md`, `--slotted-space-1`, `--slotted-space-2`, `--slotted-space-3`, `--slotted-space-4`, `--slotted-space-5`, `--slotted-space-9`, `--slotted-surface-raised`, `--slotted-surface-sunken`, `--slotted-target-comfortable`, `--slotted-target-min`, `--slotted-text`, `--slotted-text-muted`, `--slotted-tone-accent-border`, `--slotted-tone-accent-on-solid`, `--slotted-tone-accent-solid`, `--slotted-tone-accent-solid-active`, `--slotted-tone-accent-solid-hover`, `--slotted-tone-accent-subtle-hover`, `--slotted-tone-accent-text`, `--slotted-tone-danger-border`, `--slotted-tone-danger-text`, `--slotted-tone-secondary-subtle`, `--slotted-tone-secondary-subtle-active`, `--slotted-tone-secondary-subtle-hover`, `--slotted-z-index-popover`
|
|
159
|
+
|
|
160
|
+
## Examples
|
|
161
|
+
|
|
162
|
+
See [datetime-range-picker.examples.md](./datetime-range-picker.examples.md).
|
|
@@ -0,0 +1,471 @@
|
|
|
1
|
+
{
|
|
2
|
+
"family": "description-list",
|
|
3
|
+
"ui": "description-list",
|
|
4
|
+
"binding": "angular",
|
|
5
|
+
"catalog": {
|
|
6
|
+
"group": "Data display",
|
|
7
|
+
"summary": "Term and value pairs for record details."
|
|
8
|
+
},
|
|
9
|
+
"axes": {
|
|
10
|
+
"layout": [
|
|
11
|
+
"row",
|
|
12
|
+
"stack"
|
|
13
|
+
],
|
|
14
|
+
"columns": [
|
|
15
|
+
"1",
|
|
16
|
+
"2",
|
|
17
|
+
"3"
|
|
18
|
+
],
|
|
19
|
+
"variant": [
|
|
20
|
+
"plain",
|
|
21
|
+
"ruled",
|
|
22
|
+
"framed"
|
|
23
|
+
]
|
|
24
|
+
},
|
|
25
|
+
"members": {
|
|
26
|
+
"descriptionList": {
|
|
27
|
+
"nativeElement": "div",
|
|
28
|
+
"defaults": {
|
|
29
|
+
"layout": "row",
|
|
30
|
+
"columns": "1",
|
|
31
|
+
"variant": "plain",
|
|
32
|
+
"termWidth": "14rem",
|
|
33
|
+
"span": 1,
|
|
34
|
+
"clamp": 0,
|
|
35
|
+
"copy": false,
|
|
36
|
+
"empty": false,
|
|
37
|
+
"defaultRevealed": false
|
|
38
|
+
},
|
|
39
|
+
"capabilities": [
|
|
40
|
+
"arrangement",
|
|
41
|
+
"appearance",
|
|
42
|
+
"revealed",
|
|
43
|
+
"copyable",
|
|
44
|
+
"wiring"
|
|
45
|
+
],
|
|
46
|
+
"states": [
|
|
47
|
+
"default",
|
|
48
|
+
"hover",
|
|
49
|
+
"active",
|
|
50
|
+
"focus-visible",
|
|
51
|
+
"revealed",
|
|
52
|
+
"complete"
|
|
53
|
+
],
|
|
54
|
+
"parts": [
|
|
55
|
+
"root",
|
|
56
|
+
"list",
|
|
57
|
+
"item",
|
|
58
|
+
"term",
|
|
59
|
+
"hint",
|
|
60
|
+
"description",
|
|
61
|
+
"value",
|
|
62
|
+
"placeholder",
|
|
63
|
+
"copy",
|
|
64
|
+
"toggle",
|
|
65
|
+
"action"
|
|
66
|
+
]
|
|
67
|
+
}
|
|
68
|
+
},
|
|
69
|
+
"docs": {
|
|
70
|
+
"descriptionList": {
|
|
71
|
+
"imports": {
|
|
72
|
+
"source": "import {\n SlDescriptionList,\n SlDescriptionListAction,\n SlDescriptionListDescription,\n SlDescriptionListHint,\n SlDescriptionListItem,\n SlDescriptionListTerm,\n provideDescriptionListDefaults,\n} from '@slotted/angular/description-list';",
|
|
73
|
+
"selector": "div[slDescriptionList]",
|
|
74
|
+
"exportAs": "slDescriptionList"
|
|
75
|
+
},
|
|
76
|
+
"anatomy": [
|
|
77
|
+
{
|
|
78
|
+
"part": "root",
|
|
79
|
+
"element": "div[slDescriptionList], exportAs=\"slDescriptionList\"",
|
|
80
|
+
"required": true,
|
|
81
|
+
"purpose": "The consumer’s own div, which is the query container and the element every axis is written on. It answers its own inline size, which is why it is not the dl: an element with container-type is a container for its descendants and not for itself."
|
|
82
|
+
},
|
|
83
|
+
{
|
|
84
|
+
"part": "list",
|
|
85
|
+
"element": "dl, drawn by the component",
|
|
86
|
+
"required": true,
|
|
87
|
+
"purpose": "The grid. It declares the term track, the value track and the action track, and every pair borrows them with subgrid. Pairs are projected into it."
|
|
88
|
+
},
|
|
89
|
+
{
|
|
90
|
+
"part": "item",
|
|
91
|
+
"element": "div[slDescriptionListItem], exportAs=\"slDescriptionListItem\"",
|
|
92
|
+
"required": true,
|
|
93
|
+
"purpose": "One name-value pair, in the wrapper the HTML Standard permits inside a dl. It is the box a rule, a tint and a span apply to."
|
|
94
|
+
},
|
|
95
|
+
{
|
|
96
|
+
"part": "term",
|
|
97
|
+
"element": "dt[slDescriptionListTerm], exportAs=\"slDescriptionListTerm\"",
|
|
98
|
+
"required": true,
|
|
99
|
+
"purpose": "The name. It carries the identifier the row action is described by, and a static id the consumer wrote wins over it."
|
|
100
|
+
},
|
|
101
|
+
{
|
|
102
|
+
"part": "hint",
|
|
103
|
+
"element": "[slDescriptionListHint], exportAs=\"slDescriptionListHint\"",
|
|
104
|
+
"required": false,
|
|
105
|
+
"purpose": "One line explaining the term, inside the dt that names it. A list that has hints gives up the row arrangement eight rem earlier than one that does not."
|
|
106
|
+
},
|
|
107
|
+
{
|
|
108
|
+
"part": "description",
|
|
109
|
+
"element": "dd[slDescriptionListDescription], exportAs=\"slDescriptionListDescription\"",
|
|
110
|
+
"required": true,
|
|
111
|
+
"purpose": "The value cell: the value and the controls that reach it. It carries data-clamp and data-revealed."
|
|
112
|
+
},
|
|
113
|
+
{
|
|
114
|
+
"part": "value",
|
|
115
|
+
"element": "span, drawn by the component",
|
|
116
|
+
"required": true,
|
|
117
|
+
"purpose": "The value itself, and the one part a clamp applies to. Projected content lands inside it, so the clamp, the copy target and the controls have one stable place."
|
|
118
|
+
},
|
|
119
|
+
{
|
|
120
|
+
"part": "placeholder",
|
|
121
|
+
"element": "span, drawn by the component",
|
|
122
|
+
"required": false,
|
|
123
|
+
"purpose": "A value that is missing, in one of two forms: words a consumer stated, shown as they were written, or an em dash with the reason beside it in text a screen reader reads."
|
|
124
|
+
},
|
|
125
|
+
{
|
|
126
|
+
"part": "copy",
|
|
127
|
+
"element": "button, drawn by the component",
|
|
128
|
+
"required": false,
|
|
129
|
+
"purpose": "Puts the value on the clipboard and says it finished, by its mark as well as by its colour. Where the platform refuses the write it selects the value instead, so the reader can take it with the keyboard."
|
|
130
|
+
},
|
|
131
|
+
{
|
|
132
|
+
"part": "toggle",
|
|
133
|
+
"element": "button, drawn by the component",
|
|
134
|
+
"required": false,
|
|
135
|
+
"purpose": "Reveals a clamped value and clamps it again, and appears only where the value wants more room than the clamp gives it. It carries aria-expanded, which is the APG Disclosure pattern."
|
|
136
|
+
},
|
|
137
|
+
{
|
|
138
|
+
"part": "action",
|
|
139
|
+
"element": "dd[slDescriptionListAction], exportAs=\"slDescriptionListAction\"",
|
|
140
|
+
"required": false,
|
|
141
|
+
"purpose": "The row action, in a second dd of the same group. Named by its own term through aria-describedby."
|
|
142
|
+
}
|
|
143
|
+
],
|
|
144
|
+
"api": [
|
|
145
|
+
{
|
|
146
|
+
"name": "layout",
|
|
147
|
+
"type": "'row' | 'stack'",
|
|
148
|
+
"defaultValue": "row",
|
|
149
|
+
"appliesTo": "slDescriptionList",
|
|
150
|
+
"description": "The term beside its value, or above it"
|
|
151
|
+
},
|
|
152
|
+
{
|
|
153
|
+
"name": "columns",
|
|
154
|
+
"type": "1 | 2 | 3",
|
|
155
|
+
"defaultValue": "1",
|
|
156
|
+
"appliesTo": "slDescriptionList",
|
|
157
|
+
"description": "How many pairs stand side by side"
|
|
158
|
+
},
|
|
159
|
+
{
|
|
160
|
+
"name": "variant",
|
|
161
|
+
"type": "'plain' | 'ruled' | 'framed'",
|
|
162
|
+
"defaultValue": "plain",
|
|
163
|
+
"appliesTo": "slDescriptionList",
|
|
164
|
+
"description": "Nothing between pairs, a rule between them, or a framed table"
|
|
165
|
+
},
|
|
166
|
+
{
|
|
167
|
+
"name": "termWidth",
|
|
168
|
+
"type": "string",
|
|
169
|
+
"defaultValue": "14rem",
|
|
170
|
+
"appliesTo": "slDescriptionList",
|
|
171
|
+
"description": "The maximum width of the term column; the terms share one track sized to the widest of them, up to this"
|
|
172
|
+
},
|
|
173
|
+
{
|
|
174
|
+
"name": "messages",
|
|
175
|
+
"type": "PartialMessages<DescriptionListMessages>",
|
|
176
|
+
"defaultValue": "—",
|
|
177
|
+
"appliesTo": "slDescriptionList",
|
|
178
|
+
"description": "Words laid over the language in force, key by key: copy, copied, copyBlocked, reveal, collapse, placeholder"
|
|
179
|
+
},
|
|
180
|
+
{
|
|
181
|
+
"name": "span",
|
|
182
|
+
"type": "1 | 2 | 3",
|
|
183
|
+
"defaultValue": "1",
|
|
184
|
+
"appliesTo": "slDescriptionListItem",
|
|
185
|
+
"description": "How many columns the pair takes, clamped to the count the list has"
|
|
186
|
+
},
|
|
187
|
+
{
|
|
188
|
+
"name": "clamp",
|
|
189
|
+
"type": "number",
|
|
190
|
+
"defaultValue": "0",
|
|
191
|
+
"appliesTo": "slDescriptionListDescription",
|
|
192
|
+
"description": "Lines the value is held to before it is revealed; 0 never clamps"
|
|
193
|
+
},
|
|
194
|
+
{
|
|
195
|
+
"name": "copy",
|
|
196
|
+
"type": "boolean",
|
|
197
|
+
"defaultValue": "false",
|
|
198
|
+
"appliesTo": "slDescriptionListDescription",
|
|
199
|
+
"description": "Draws the control that puts the value on the clipboard"
|
|
200
|
+
},
|
|
201
|
+
{
|
|
202
|
+
"name": "copyValue",
|
|
203
|
+
"type": "string",
|
|
204
|
+
"defaultValue": "—",
|
|
205
|
+
"appliesTo": "slDescriptionListDescription",
|
|
206
|
+
"description": "The text that control copies. Absent, the rendered text is read at the moment of the press"
|
|
207
|
+
},
|
|
208
|
+
{
|
|
209
|
+
"name": "empty",
|
|
210
|
+
"type": "boolean",
|
|
211
|
+
"defaultValue": "false",
|
|
212
|
+
"appliesTo": "slDescriptionListDescription",
|
|
213
|
+
"description": "Draws the placeholder. Angular cannot read projected content without reading the DOM, so the absence is stated here where React reads nullish children"
|
|
214
|
+
},
|
|
215
|
+
{
|
|
216
|
+
"name": "placeholder",
|
|
217
|
+
"type": "string",
|
|
218
|
+
"defaultValue": "—",
|
|
219
|
+
"appliesTo": "slDescriptionListDescription",
|
|
220
|
+
"description": "Words shown in place of a value that is missing. Unset, the mark is drawn and the placeholder message is read instead"
|
|
221
|
+
},
|
|
222
|
+
{
|
|
223
|
+
"name": "revealed",
|
|
224
|
+
"type": "boolean",
|
|
225
|
+
"defaultValue": "—",
|
|
226
|
+
"appliesTo": "slDescriptionListDescription",
|
|
227
|
+
"description": "Present means controlled, for the life of the component"
|
|
228
|
+
},
|
|
229
|
+
{
|
|
230
|
+
"name": "defaultRevealed",
|
|
231
|
+
"type": "boolean",
|
|
232
|
+
"defaultValue": "false",
|
|
233
|
+
"appliesTo": "slDescriptionListDescription",
|
|
234
|
+
"description": "What an uncontrolled description starts from, read once"
|
|
235
|
+
}
|
|
236
|
+
],
|
|
237
|
+
"composition": [
|
|
238
|
+
{
|
|
239
|
+
"name": "ng-content",
|
|
240
|
+
"type": "projection",
|
|
241
|
+
"defaultValue": "—",
|
|
242
|
+
"appliesTo": "slDescriptionList, slDescriptionListDescription",
|
|
243
|
+
"description": "Pairs are projected into the dl the component draws, and a value into the span that holds it"
|
|
244
|
+
},
|
|
245
|
+
{
|
|
246
|
+
"name": "exportAs",
|
|
247
|
+
"type": "string",
|
|
248
|
+
"defaultValue": "—",
|
|
249
|
+
"appliesTo": "every directive",
|
|
250
|
+
"description": "Reaches the instance from the template: slDescriptionList, slDescriptionListItem, slDescriptionListTerm, slDescriptionListHint, slDescriptionListDescription, slDescriptionListAction"
|
|
251
|
+
},
|
|
252
|
+
{
|
|
253
|
+
"name": "provideDescriptionListDefaults()",
|
|
254
|
+
"type": "DescriptionListDefaults",
|
|
255
|
+
"defaultValue": "—",
|
|
256
|
+
"appliesTo": "Application",
|
|
257
|
+
"description": "Sets layout, columns, variant and termWidth once for everything below it; an input on the list still wins"
|
|
258
|
+
},
|
|
259
|
+
{
|
|
260
|
+
"name": "id / aria-describedby",
|
|
261
|
+
"type": "string",
|
|
262
|
+
"defaultValue": "—",
|
|
263
|
+
"appliesTo": "slDescriptionListTerm, slDescriptionListAction",
|
|
264
|
+
"description": "A static attribute you wrote survives the host binding: the term keeps your id, and the action composes your description with the term’s"
|
|
265
|
+
},
|
|
266
|
+
{
|
|
267
|
+
"name": "content",
|
|
268
|
+
"type": "projection",
|
|
269
|
+
"defaultValue": "—",
|
|
270
|
+
"appliesTo": "slDescriptionListDescription",
|
|
271
|
+
"description": "A tag, a status indicator, a link or a skeleton — the value slot takes what the row needs"
|
|
272
|
+
}
|
|
273
|
+
],
|
|
274
|
+
"events": [
|
|
275
|
+
{
|
|
276
|
+
"name": "revealedChange",
|
|
277
|
+
"payload": "ChangeRequest<boolean>",
|
|
278
|
+
"when": "Before a clamped value is revealed or clamped again. The request carries the value, the value it replaces, the reason — pointer, keyboard or programmatic — and the originating event, and cancelling it commits nothing. It is not the second half of a two-way binding: one slot could carry none of those."
|
|
279
|
+
},
|
|
280
|
+
{
|
|
281
|
+
"name": "copied",
|
|
282
|
+
"payload": "DescriptionListCopyRequest",
|
|
283
|
+
"when": "After the clipboard write, whether or not the platform accepted it. It carries the exact text, the reason, copied — false where there is no clipboard or the write was refused — and selected, true where the family put the value under the reader’s own selection instead. It is not a ChangeRequest: there is nothing to cancel and no state the family holds."
|
|
284
|
+
}
|
|
285
|
+
],
|
|
286
|
+
"accessibility": [
|
|
287
|
+
"The rendered elements are a dl, a dt and a dd, and the family writes no role at all. HTML-AAM maps them to list, term and definition already, and MDN records that authoring the ARIA term and definition roles by hand changes how VoiceOver announces the construct. The APG has no pattern for a description list — twenty-nine patterns, and none of them is this — so the platform is the specification the family follows.",
|
|
288
|
+
"The div around each pair is the second form the HTML Standard permits inside a dl, and it is what makes a pair one grid area. The row action is a second dd of the same group, because a dt may be followed by more than one dd.",
|
|
289
|
+
"A row action is named by its own term through aria-describedby pointing at the dt, so a reader who tabs to “Change” hears which row it changes. GOV.UK repeats the term as visually hidden text inside every action, which a template system has to do; a reference says it once and cannot drift. A static aria-describedby you wrote is read with HostAttributeToken and composed with rather than replaced.",
|
|
290
|
+
"A value that is missing is drawn and said: the mark is geometry in CSS and the reason is real text in a visually hidden sibling, because colour and shape alone never carry meaning.",
|
|
291
|
+
"The reveal toggle is the APG Disclosure pattern — role button, aria-expanded true while the content is visible, Enter and Space toggling — and the copy control is a plain button, so both take their keyboard behaviour from the platform. The family adds no key of its own: a read-only list of pairs is not a composite widget, and inventing arrow navigation would take Tab away from controls that need it.",
|
|
292
|
+
"Clamping is visual only. Every character stays in the DOM, selectable, copyable and readable by a screen reader, which is what the repository means by never truncating without access.",
|
|
293
|
+
"A finished copy is announced politely through the shared live announcer rather than a region this family owns, so two copies in one update are both heard; and the control changes its mark as well as its colour, so a reader who cannot see the green still sees it finish.",
|
|
294
|
+
"A browser refuses the clipboard where the document is not focused, and inside an iframe carrying no clipboard-write permission — a Storybook page is both. A control that failed silently there would be indistinguishable from a broken one, so the family selects the value instead and announces that it did: the reader sees the selection and copies it with the keyboard.",
|
|
295
|
+
"A clamp is a maximum rather than a promise, so the reveal control appears only for a value that has more text than the clamp allows. A control that reveals nothing is one a reader presses once and learns to distrust."
|
|
296
|
+
]
|
|
297
|
+
}
|
|
298
|
+
},
|
|
299
|
+
"tokens": [
|
|
300
|
+
"--slotted-border-subtle",
|
|
301
|
+
"--slotted-border-width-thin",
|
|
302
|
+
"--slotted-control-font-size-md",
|
|
303
|
+
"--slotted-control-gap-md",
|
|
304
|
+
"--slotted-control-icon-size-md",
|
|
305
|
+
"--slotted-control-padding-inline-md",
|
|
306
|
+
"--slotted-control-radius",
|
|
307
|
+
"--slotted-control-transition-duration",
|
|
308
|
+
"--slotted-control-transition-easing",
|
|
309
|
+
"--slotted-description-list-cell-padding-block",
|
|
310
|
+
"--slotted-description-list-cell-padding-inline",
|
|
311
|
+
"--slotted-description-list-clamp",
|
|
312
|
+
"--slotted-description-list-color",
|
|
313
|
+
"--slotted-description-list-column-gap",
|
|
314
|
+
"--slotted-description-list-control-color",
|
|
315
|
+
"--slotted-description-list-control-color-complete",
|
|
316
|
+
"--slotted-description-list-control-color-hover",
|
|
317
|
+
"--slotted-description-list-control-surface-active",
|
|
318
|
+
"--slotted-description-list-control-surface-hover",
|
|
319
|
+
"--slotted-description-list-font-family",
|
|
320
|
+
"--slotted-description-list-font-size",
|
|
321
|
+
"--slotted-description-list-frame-radius",
|
|
322
|
+
"--slotted-description-list-glyph-size",
|
|
323
|
+
"--slotted-description-list-group-gap",
|
|
324
|
+
"--slotted-description-list-hint-color",
|
|
325
|
+
"--slotted-description-list-hint-font-size",
|
|
326
|
+
"--slotted-description-list-line-height",
|
|
327
|
+
"--slotted-description-list-placeholder-color",
|
|
328
|
+
"--slotted-description-list-radius",
|
|
329
|
+
"--slotted-description-list-row-gap",
|
|
330
|
+
"--slotted-description-list-rule-color",
|
|
331
|
+
"--slotted-description-list-stack-gap",
|
|
332
|
+
"--slotted-description-list-surface",
|
|
333
|
+
"--slotted-description-list-term-color",
|
|
334
|
+
"--slotted-description-list-term-min",
|
|
335
|
+
"--slotted-description-list-term-surface",
|
|
336
|
+
"--slotted-description-list-term-weight",
|
|
337
|
+
"--slotted-description-list-term-width",
|
|
338
|
+
"--slotted-description-list-toggle-color",
|
|
339
|
+
"--slotted-description-list-underline-offset",
|
|
340
|
+
"--slotted-focus-ring-color",
|
|
341
|
+
"--slotted-focus-ring-offset",
|
|
342
|
+
"--slotted-focus-ring-width",
|
|
343
|
+
"--slotted-font-family-sans",
|
|
344
|
+
"--slotted-font-size-xs",
|
|
345
|
+
"--slotted-font-weight-medium",
|
|
346
|
+
"--slotted-font-weight-regular",
|
|
347
|
+
"--slotted-line-height-md",
|
|
348
|
+
"--slotted-line-height-xs",
|
|
349
|
+
"--slotted-radius-md",
|
|
350
|
+
"--slotted-space-1",
|
|
351
|
+
"--slotted-space-2",
|
|
352
|
+
"--slotted-space-3",
|
|
353
|
+
"--slotted-space-4",
|
|
354
|
+
"--slotted-surface",
|
|
355
|
+
"--slotted-surface-sunken",
|
|
356
|
+
"--slotted-target-comfortable",
|
|
357
|
+
"--slotted-target-min",
|
|
358
|
+
"--slotted-text",
|
|
359
|
+
"--slotted-text-muted",
|
|
360
|
+
"--slotted-tone-accent-text",
|
|
361
|
+
"--slotted-tone-secondary-subtle-active",
|
|
362
|
+
"--slotted-tone-secondary-subtle-hover",
|
|
363
|
+
"--slotted-tone-success-text"
|
|
364
|
+
],
|
|
365
|
+
"examples": [
|
|
366
|
+
{
|
|
367
|
+
"id": "playground",
|
|
368
|
+
"title": "Playground",
|
|
369
|
+
"note": "Every axis on one details panel, driven by the controls below the canvas. Change columns and variant, then narrow the window and watch the arrangement answer the panel rather than the viewport.",
|
|
370
|
+
"language": "html",
|
|
371
|
+
"source": "<div slDescriptionList>\n <div slDescriptionListItem>\n <dt slDescriptionListTerm>Environment</dt>\n <dd slDescriptionListDescription>Production</dd>\n </div>\n</div>\n",
|
|
372
|
+
"verdict": "excerpt"
|
|
373
|
+
},
|
|
374
|
+
{
|
|
375
|
+
"id": "layout",
|
|
376
|
+
"title": "Beside the term, or under it",
|
|
377
|
+
"note": "Row puts the value in a column of its own, and every term in the list shares one track sized to the widest of them. Stack puts the value under its term, which is what a narrow container gets whether or not you ask.",
|
|
378
|
+
"language": "html",
|
|
379
|
+
"source": "<div slDescriptionList layout=\"row\"></div>\n<div slDescriptionList layout=\"stack\"></div>\n",
|
|
380
|
+
"verdict": "excerpt"
|
|
381
|
+
},
|
|
382
|
+
{
|
|
383
|
+
"id": "columns",
|
|
384
|
+
"title": "More than one pair to a row",
|
|
385
|
+
"note": "Three columns become two below 48rem of the panel, two become one below 34rem. Compare the term columns: each column group sizes its own, so two groups of unlike terms do not pretend to be a table.",
|
|
386
|
+
"language": "html",
|
|
387
|
+
"source": "<div slDescriptionList [columns]=\"2\">\n <!-- pairs -->\n</div>\n",
|
|
388
|
+
"verdict": "excerpt"
|
|
389
|
+
},
|
|
390
|
+
{
|
|
391
|
+
"id": "variant",
|
|
392
|
+
"title": "Nothing, a rule, or a frame",
|
|
393
|
+
"note": "Plain is the form that belongs inside a card, where the card already draws the box. Ruled puts a hairline under every pair, including the last. Framed is the specification table: an outer frame and a tinted term cell.",
|
|
394
|
+
"language": "html",
|
|
395
|
+
"source": "<div slDescriptionList variant=\"plain\"></div>\n<div slDescriptionList variant=\"ruled\"></div>\n<div slDescriptionList variant=\"framed\"></div>\n",
|
|
396
|
+
"verdict": "excerpt"
|
|
397
|
+
},
|
|
398
|
+
{
|
|
399
|
+
"id": "span",
|
|
400
|
+
"title": "A pair that needs the whole row",
|
|
401
|
+
"note": "An address or an endpoint takes more than a third of a row, so it takes the row. A span wider than the list has columns is clamped to the count rather than growing the grid a column nobody declared.",
|
|
402
|
+
"language": "html",
|
|
403
|
+
"source": "<div slDescriptionList [columns]=\"2\">\n <div slDescriptionListItem [span]=\"2\">\n <dt slDescriptionListTerm>Endpoint</dt>\n <dd slDescriptionListDescription>db.eu-west-2.example.com:5432</dd>\n </div>\n</div>\n",
|
|
404
|
+
"verdict": "excerpt"
|
|
405
|
+
},
|
|
406
|
+
{
|
|
407
|
+
"id": "actions",
|
|
408
|
+
"title": "A row you can go back and change",
|
|
409
|
+
"note": "The action is a second dd of the same group, which is what the platform is for. Tab to one and a screen reader reads the term with it, because the action is described by the dt rather than by hidden text repeated in every row.",
|
|
410
|
+
"language": "html",
|
|
411
|
+
"source": "<div slDescriptionListItem>\n <dt slDescriptionListTerm>Name</dt>\n <dd slDescriptionListDescription>Sarah Phillips</dd>\n <dd slDescriptionListAction><a slLink href=\"/name\">Change</a></dd>\n</div>\n",
|
|
412
|
+
"verdict": "excerpt"
|
|
413
|
+
},
|
|
414
|
+
{
|
|
415
|
+
"id": "empty",
|
|
416
|
+
"title": "A value that is not there",
|
|
417
|
+
"note": "An empty cell is a row a reader cannot tell from a defect. The empty input draws the mark — a rule, not an em dash — and a screen reader hears the reason; words you state are shown as you wrote them.",
|
|
418
|
+
"language": "html",
|
|
419
|
+
"source": "<dd slDescriptionListDescription [empty]=\"!account.owner\">{{ account.owner }}</dd>\n\n<dd slDescriptionListDescription empty placeholder=\"Not set yet\"></dd>\n",
|
|
420
|
+
"verdict": "excerpt"
|
|
421
|
+
},
|
|
422
|
+
{
|
|
423
|
+
"id": "hint",
|
|
424
|
+
"title": "A term that explains itself",
|
|
425
|
+
"note": "One line under the name, inside the dt, so a reader who reaches the term hears the explanation with it. It costs the list eight rem of the row arrangement, which is why it is a sentence and not a paragraph.",
|
|
426
|
+
"language": "html",
|
|
427
|
+
"source": "<dt slDescriptionListTerm>\n Retention\n <span slDescriptionListHint>How long a deleted object stays recoverable.</span>\n</dt>\n",
|
|
428
|
+
"verdict": "excerpt"
|
|
429
|
+
},
|
|
430
|
+
{
|
|
431
|
+
"id": "copy",
|
|
432
|
+
"title": "A value worth taking away",
|
|
433
|
+
"note": "An identifier, a key, an ARN. The control writes the rendered text unless you state another, says it finished by its mark as well as its colour for two seconds, and announces the result politely. Pressing it on this page selects the value instead: a browser refuses the clipboard inside an iframe that carries no clipboard-write permission, and the family does the part it still can.",
|
|
434
|
+
"language": "html",
|
|
435
|
+
"source": "<dd slDescriptionListDescription copy (copied)=\"log($event.copied)\">\n arn:aws:iam::421900075512:role/billing-reconciler\n</dd>\n\n<dd slDescriptionListDescription copy [copyValue]=\"account.iban\">\n {{ account.iban | iban }}\n</dd>\n",
|
|
436
|
+
"verdict": "excerpt"
|
|
437
|
+
},
|
|
438
|
+
{
|
|
439
|
+
"id": "reveal",
|
|
440
|
+
"title": "A value longer than its row",
|
|
441
|
+
"note": "Clamping is visual: every character stays in the DOM, selectable and readable by a screen reader, and the control brings the rest into view — and appears only where there is a rest to bring. Hold revealed yourself when the choice should survive a navigation.",
|
|
442
|
+
"language": "html",
|
|
443
|
+
"source": "<dd slDescriptionListDescription [clamp]=\"2\">{{ note }}</dd>\n\n<dd\n slDescriptionListDescription\n [clamp]=\"2\"\n [revealed]=\"revealed()\"\n (revealedChange)=\"revealed.set($event.value)\"\n>\n {{ note }}\n</dd>\n",
|
|
444
|
+
"verdict": "excerpt"
|
|
445
|
+
},
|
|
446
|
+
{
|
|
447
|
+
"id": "composition",
|
|
448
|
+
"title": "Inside a card, and beside the families it sits with",
|
|
449
|
+
"note": "Card owns the title and the header actions, so this family ships neither. The value slot takes a tag, a status indicator or a skeleton, and provideDescriptionListDefaults decides the arrangement for a whole application; the words come from the language in force.",
|
|
450
|
+
"language": "ts",
|
|
451
|
+
"source": "bootstrapApplication(App, {\n providers: [provideDescriptionListDefaults({ variant: 'ruled' })],\n});\n",
|
|
452
|
+
"verdict": "excerpt"
|
|
453
|
+
},
|
|
454
|
+
{
|
|
455
|
+
"id": "content",
|
|
456
|
+
"title": "Content the list did not choose",
|
|
457
|
+
"note": "A sixty-four character hash with nowhere to break, a German compound term, and a right-to-left pair. The value breaks rather than leaving the box, and the term track stops at the width you set for it.",
|
|
458
|
+
"language": "html",
|
|
459
|
+
"source": "<div slDescriptionList termWidth=\"10rem\">\n <div slDescriptionListItem>\n <dt slDescriptionListTerm>Rechnungsempfängeradresse</dt>\n <dd slDescriptionListDescription>Friedrichstraße 12, 10117 Berlin</dd>\n </div>\n</div>\n",
|
|
460
|
+
"verdict": "excerpt"
|
|
461
|
+
},
|
|
462
|
+
{
|
|
463
|
+
"id": "keyboard",
|
|
464
|
+
"title": "Keyboard and announcement",
|
|
465
|
+
"note": "The family owns no key of its own: every control is a native button or your own link, so Tab, Enter and Space are the platform. Enter and Space are told apart from a press in the reason the request carries.",
|
|
466
|
+
"language": "html",
|
|
467
|
+
"source": "<dd slDescriptionListDescription copy [clamp]=\"2\" (revealedChange)=\"log($event.reason)\">\n {{ note }}\n</dd>\n",
|
|
468
|
+
"verdict": "excerpt"
|
|
469
|
+
}
|
|
470
|
+
]
|
|
471
|
+
}
|