@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
package/docs/rating.json
ADDED
|
@@ -0,0 +1,1053 @@
|
|
|
1
|
+
{
|
|
2
|
+
"family": "rating",
|
|
3
|
+
"ui": "rating",
|
|
4
|
+
"binding": "angular",
|
|
5
|
+
"catalog": {
|
|
6
|
+
"group": "Forms",
|
|
7
|
+
"summary": "Star rating input, display and summary."
|
|
8
|
+
},
|
|
9
|
+
"axes": {
|
|
10
|
+
"size": [
|
|
11
|
+
"sm",
|
|
12
|
+
"md",
|
|
13
|
+
"lg"
|
|
14
|
+
],
|
|
15
|
+
"tone": [
|
|
16
|
+
"accent",
|
|
17
|
+
"success",
|
|
18
|
+
"warning",
|
|
19
|
+
"danger"
|
|
20
|
+
],
|
|
21
|
+
"variant": [
|
|
22
|
+
"full",
|
|
23
|
+
"compact",
|
|
24
|
+
"histogram"
|
|
25
|
+
],
|
|
26
|
+
"summaryVariant": [
|
|
27
|
+
"bars",
|
|
28
|
+
"spectrum"
|
|
29
|
+
]
|
|
30
|
+
},
|
|
31
|
+
"members": {
|
|
32
|
+
"rating": {
|
|
33
|
+
"nativeElement": "div",
|
|
34
|
+
"defaults": {
|
|
35
|
+
"size": "md",
|
|
36
|
+
"tone": "warning",
|
|
37
|
+
"max": 5,
|
|
38
|
+
"step": 1,
|
|
39
|
+
"clearable": true
|
|
40
|
+
},
|
|
41
|
+
"capabilities": [
|
|
42
|
+
"value",
|
|
43
|
+
"appearance",
|
|
44
|
+
"size",
|
|
45
|
+
"disabled",
|
|
46
|
+
"invalid",
|
|
47
|
+
"required",
|
|
48
|
+
"readOnly",
|
|
49
|
+
"wiring"
|
|
50
|
+
],
|
|
51
|
+
"states": [
|
|
52
|
+
"default",
|
|
53
|
+
"hover",
|
|
54
|
+
"active",
|
|
55
|
+
"focus-visible",
|
|
56
|
+
"disabled",
|
|
57
|
+
"readonly",
|
|
58
|
+
"invalid",
|
|
59
|
+
"checked"
|
|
60
|
+
],
|
|
61
|
+
"parts": [
|
|
62
|
+
"root",
|
|
63
|
+
"symbols",
|
|
64
|
+
"item",
|
|
65
|
+
"input",
|
|
66
|
+
"symbol",
|
|
67
|
+
"fill",
|
|
68
|
+
"value"
|
|
69
|
+
]
|
|
70
|
+
},
|
|
71
|
+
"ratingDisplay": {
|
|
72
|
+
"nativeElement": "div",
|
|
73
|
+
"defaults": {
|
|
74
|
+
"size": "md",
|
|
75
|
+
"tone": "warning",
|
|
76
|
+
"max": 5,
|
|
77
|
+
"variant": "full"
|
|
78
|
+
},
|
|
79
|
+
"capabilities": [
|
|
80
|
+
"measurement",
|
|
81
|
+
"appearance",
|
|
82
|
+
"size",
|
|
83
|
+
"content"
|
|
84
|
+
],
|
|
85
|
+
"states": [
|
|
86
|
+
"default"
|
|
87
|
+
],
|
|
88
|
+
"parts": [
|
|
89
|
+
"root",
|
|
90
|
+
"symbols",
|
|
91
|
+
"item",
|
|
92
|
+
"symbol",
|
|
93
|
+
"fill",
|
|
94
|
+
"value",
|
|
95
|
+
"histogram",
|
|
96
|
+
"bar",
|
|
97
|
+
"count"
|
|
98
|
+
]
|
|
99
|
+
},
|
|
100
|
+
"ratingSummary": {
|
|
101
|
+
"nativeElement": "section",
|
|
102
|
+
"defaults": {
|
|
103
|
+
"size": "md",
|
|
104
|
+
"tone": "warning",
|
|
105
|
+
"max": 5,
|
|
106
|
+
"filterable": false,
|
|
107
|
+
"variant": "bars"
|
|
108
|
+
},
|
|
109
|
+
"capabilities": [
|
|
110
|
+
"measurement",
|
|
111
|
+
"appearance",
|
|
112
|
+
"size",
|
|
113
|
+
"content",
|
|
114
|
+
"selection"
|
|
115
|
+
],
|
|
116
|
+
"states": [
|
|
117
|
+
"default",
|
|
118
|
+
"hover",
|
|
119
|
+
"active",
|
|
120
|
+
"focus-visible",
|
|
121
|
+
"disabled",
|
|
122
|
+
"pressed"
|
|
123
|
+
],
|
|
124
|
+
"parts": [
|
|
125
|
+
"root",
|
|
126
|
+
"aggregate",
|
|
127
|
+
"value",
|
|
128
|
+
"scale",
|
|
129
|
+
"insight",
|
|
130
|
+
"count",
|
|
131
|
+
"distribution",
|
|
132
|
+
"level",
|
|
133
|
+
"level-label",
|
|
134
|
+
"track",
|
|
135
|
+
"indicator",
|
|
136
|
+
"level-count",
|
|
137
|
+
"plot",
|
|
138
|
+
"field",
|
|
139
|
+
"columns",
|
|
140
|
+
"column",
|
|
141
|
+
"bar",
|
|
142
|
+
"interval",
|
|
143
|
+
"mean",
|
|
144
|
+
"mean-label",
|
|
145
|
+
"axis",
|
|
146
|
+
"tick",
|
|
147
|
+
"tick-label",
|
|
148
|
+
"tick-share",
|
|
149
|
+
"sentiment",
|
|
150
|
+
"bucket",
|
|
151
|
+
"swatch"
|
|
152
|
+
]
|
|
153
|
+
}
|
|
154
|
+
},
|
|
155
|
+
"docs": {
|
|
156
|
+
"rating": {
|
|
157
|
+
"imports": {
|
|
158
|
+
"source": "import {\n provideRating,\n SlRating,\n SlRatingCaption,\n SlRatingDisplay,\n SlRatingSummary,\n SlRatingSymbol,\n} from '@slotted/angular/rating';",
|
|
159
|
+
"selector": "div[slRating]",
|
|
160
|
+
"exportAs": "slRating"
|
|
161
|
+
},
|
|
162
|
+
"anatomy": [
|
|
163
|
+
{
|
|
164
|
+
"part": "root",
|
|
165
|
+
"element": "the div carrying slRating",
|
|
166
|
+
"required": true,
|
|
167
|
+
"purpose": "The radio group. Carries data-ui=\"rating\", role=\"radiogroup\" (withdrawn inside a field group), data-size, data-tone, data-max, data-step when the step is a half, data-disabled, data-readonly, data-invalid and data-dragging, and the aria-invalid, aria-readonly and aria-required the platform has no attribute for. The value accessor and the validator are on this element."
|
|
168
|
+
},
|
|
169
|
+
{
|
|
170
|
+
"part": "symbols",
|
|
171
|
+
"element": "div",
|
|
172
|
+
"required": true,
|
|
173
|
+
"purpose": "The row of symbols. It never wraps: ten symbols in a narrow column shrink, each item staying square, rather than breaking onto a second line."
|
|
174
|
+
},
|
|
175
|
+
{
|
|
176
|
+
"part": "item",
|
|
177
|
+
"element": "span",
|
|
178
|
+
"required": true,
|
|
179
|
+
"purpose": "One symbol’s square. On the input member it holds the radios and carries data-checked when one of them is checked; on the display it carries --slotted-rating-fill."
|
|
180
|
+
},
|
|
181
|
+
{
|
|
182
|
+
"part": "input",
|
|
183
|
+
"element": "input type=\"radio\", one per step",
|
|
184
|
+
"required": true,
|
|
185
|
+
"purpose": "The control. Native, sharing one name, named \"3 de 5\" by aria-label. With step 0.5 each item holds two, the half first with data-half, stacked above the whole one over the inline-start half of the symbol."
|
|
186
|
+
},
|
|
187
|
+
{
|
|
188
|
+
"part": "symbol",
|
|
189
|
+
"element": "span, holding slIcon and the star glyph",
|
|
190
|
+
"required": true,
|
|
191
|
+
"purpose": "The unlit shape, painted in the secondary surface with the rating edge around it. It takes no pointer events, so the radio beneath it is the target."
|
|
192
|
+
},
|
|
193
|
+
{
|
|
194
|
+
"part": "fill",
|
|
195
|
+
"element": "span, holding the same glyph",
|
|
196
|
+
"required": true,
|
|
197
|
+
"purpose": "The lit shape over the unlit one, clipped to the lit share of the symbol: the checked radio or the hovered one on the input member, --slotted-rating-fill on the display."
|
|
198
|
+
},
|
|
199
|
+
{
|
|
200
|
+
"part": "value",
|
|
201
|
+
"element": "span aria-hidden=\"true\"",
|
|
202
|
+
"required": false,
|
|
203
|
+
"purpose": "The caption beside the row: projected content marked slRatingCaption, or an ng-template slRatingCaption rendered with the value and the preview. Hidden from assistive technology, because the checked radio already says the value."
|
|
204
|
+
}
|
|
205
|
+
],
|
|
206
|
+
"api": [
|
|
207
|
+
{
|
|
208
|
+
"name": "value",
|
|
209
|
+
"type": "model<number | null>",
|
|
210
|
+
"defaultValue": "null",
|
|
211
|
+
"appliesTo": "SlRating",
|
|
212
|
+
"description": "The rating, null for none. Put on the grid of the scale when drawn: 7 of 5 is 5, 3,2 on whole steps is 4, NaN is none"
|
|
213
|
+
},
|
|
214
|
+
{
|
|
215
|
+
"name": "max",
|
|
216
|
+
"type": "number",
|
|
217
|
+
"defaultValue": "5",
|
|
218
|
+
"appliesTo": "SlRating, provideRating",
|
|
219
|
+
"description": "How many symbols the row has"
|
|
220
|
+
},
|
|
221
|
+
{
|
|
222
|
+
"name": "step",
|
|
223
|
+
"type": "1 | 0.5",
|
|
224
|
+
"defaultValue": "1",
|
|
225
|
+
"appliesTo": "SlRating",
|
|
226
|
+
"description": "The smallest move. A half adds a second radio per symbol; smaller fractions are refused because a third of a star is below the minimum target"
|
|
227
|
+
},
|
|
228
|
+
{
|
|
229
|
+
"name": "clearable",
|
|
230
|
+
"type": "boolean",
|
|
231
|
+
"defaultValue": "true",
|
|
232
|
+
"appliesTo": "SlRating, provideRating",
|
|
233
|
+
"description": "Whether a press on the checked radio, Backspace or Delete empty the value, with the reason clear"
|
|
234
|
+
},
|
|
235
|
+
{
|
|
236
|
+
"name": "size",
|
|
237
|
+
"type": "'sm' | 'md' | 'lg'",
|
|
238
|
+
"defaultValue": "md",
|
|
239
|
+
"appliesTo": "SlRating, provideRating",
|
|
240
|
+
"description": "The step of the symbols and the caption. Read from the field or field group first"
|
|
241
|
+
},
|
|
242
|
+
{
|
|
243
|
+
"name": "tone",
|
|
244
|
+
"type": "'accent' | 'success' | 'warning' | 'danger'",
|
|
245
|
+
"defaultValue": "warning",
|
|
246
|
+
"appliesTo": "SlRating, provideRating",
|
|
247
|
+
"description": "The colour of a lit symbol. secondary is outside the axis: its solid step is a ground, and a lit star in it reads as unlit"
|
|
248
|
+
},
|
|
249
|
+
{
|
|
250
|
+
"name": "name",
|
|
251
|
+
"type": "string",
|
|
252
|
+
"defaultValue": "generated",
|
|
253
|
+
"appliesTo": "SlRating",
|
|
254
|
+
"description": "The submission name every radio shares. Generated when none is written, because an unnamed set of radios is not a group"
|
|
255
|
+
},
|
|
256
|
+
{
|
|
257
|
+
"name": "form",
|
|
258
|
+
"type": "string",
|
|
259
|
+
"defaultValue": "—",
|
|
260
|
+
"appliesTo": "SlRating",
|
|
261
|
+
"description": "The form the radios belong to when the rating sits outside it"
|
|
262
|
+
},
|
|
263
|
+
{
|
|
264
|
+
"name": "disabled",
|
|
265
|
+
"type": "boolean",
|
|
266
|
+
"defaultValue": "from the field, or false",
|
|
267
|
+
"appliesTo": "SlRating",
|
|
268
|
+
"description": "Native on every radio: the row leaves the tab order. A disabled form control sets it too"
|
|
269
|
+
},
|
|
270
|
+
{
|
|
271
|
+
"name": "readOnly",
|
|
272
|
+
"type": "boolean",
|
|
273
|
+
"defaultValue": "from the field, or false",
|
|
274
|
+
"appliesTo": "SlRating",
|
|
275
|
+
"description": "The platform has no read-only radio, so the press and the keys are refused and aria-readonly is announced; every radio stays focusable"
|
|
276
|
+
},
|
|
277
|
+
{
|
|
278
|
+
"name": "invalid",
|
|
279
|
+
"type": "boolean",
|
|
280
|
+
"defaultValue": "from the field, or false",
|
|
281
|
+
"appliesTo": "SlRating",
|
|
282
|
+
"description": "Writes aria-invalid and data-invalid, which reddens the edge of every symbol"
|
|
283
|
+
},
|
|
284
|
+
{
|
|
285
|
+
"name": "required",
|
|
286
|
+
"type": "boolean",
|
|
287
|
+
"defaultValue": "from the field, or false",
|
|
288
|
+
"appliesTo": "SlRating",
|
|
289
|
+
"description": "Writes aria-required and makes the Validator demand a value. Never the native attribute, which would engage browser constraint validation"
|
|
290
|
+
},
|
|
291
|
+
{
|
|
292
|
+
"name": "messages",
|
|
293
|
+
"type": "Partial<RatingMessages>",
|
|
294
|
+
"defaultValue": "—",
|
|
295
|
+
"appliesTo": "SlRating",
|
|
296
|
+
"description": "Words laid over the language in force, key by key. itemLabel names each radio: \"{value} out of {max}\""
|
|
297
|
+
},
|
|
298
|
+
{
|
|
299
|
+
"name": "locale",
|
|
300
|
+
"type": "string",
|
|
301
|
+
"defaultValue": "the language in force",
|
|
302
|
+
"appliesTo": "SlRating",
|
|
303
|
+
"description": "The locale the radio names are written in: \"3,5 de 5\" in pt-BR, \"3.5 de 5\" in en"
|
|
304
|
+
},
|
|
305
|
+
{
|
|
306
|
+
"name": "slRatingCaption",
|
|
307
|
+
"type": "directive",
|
|
308
|
+
"defaultValue": "—",
|
|
309
|
+
"appliesTo": "an element or an ng-template",
|
|
310
|
+
"description": "The caption in the value part. On an ng-template its context is { value, preview }, and it is rendered again whenever either moves"
|
|
311
|
+
},
|
|
312
|
+
{
|
|
313
|
+
"name": "slRatingSymbol",
|
|
314
|
+
"type": "directive",
|
|
315
|
+
"defaultValue": "—",
|
|
316
|
+
"appliesTo": "an ng-template",
|
|
317
|
+
"description": "Replaces the star in both the symbol and the fill parts. Its context is { index, fill }"
|
|
318
|
+
}
|
|
319
|
+
],
|
|
320
|
+
"composition": [
|
|
321
|
+
{
|
|
322
|
+
"name": "exportAs=\"slRating\"",
|
|
323
|
+
"type": "SlRating",
|
|
324
|
+
"defaultValue": "—",
|
|
325
|
+
"appliesTo": "a template",
|
|
326
|
+
"description": "Reaches the instance: focus() puts focus on the checked radio, or on the first when none is checked; current() reads the value on the grid of the scale"
|
|
327
|
+
},
|
|
328
|
+
{
|
|
329
|
+
"name": "ControlValueAccessor and Validator",
|
|
330
|
+
"type": "formControl, formControlName, ngModel",
|
|
331
|
+
"defaultValue": "—",
|
|
332
|
+
"appliesTo": "the host element",
|
|
333
|
+
"description": "Both on the root, so a form binding goes where the directive is written. The integration React has no equivalent of"
|
|
334
|
+
},
|
|
335
|
+
{
|
|
336
|
+
"name": "provideRating()",
|
|
337
|
+
"type": "{ size, tone, max, clearable, insightThresholds }",
|
|
338
|
+
"defaultValue": "—",
|
|
339
|
+
"appliesTo": "an injector",
|
|
340
|
+
"description": "The decisions an application takes once, for all three members. insightThresholds merges key by key; an instance input always wins. The words and the locale come from provideSlotted"
|
|
341
|
+
},
|
|
342
|
+
{
|
|
343
|
+
"name": "aria-label, aria-describedby, role",
|
|
344
|
+
"type": "string",
|
|
345
|
+
"defaultValue": "—",
|
|
346
|
+
"appliesTo": "the host element",
|
|
347
|
+
"description": "Static attributes the consumer writes are read before the host bindings; aria-describedby is merged with the field’s description and error"
|
|
348
|
+
}
|
|
349
|
+
],
|
|
350
|
+
"events": [
|
|
351
|
+
{
|
|
352
|
+
"name": "[(value)] and (valueChangeRequest)",
|
|
353
|
+
"payload": "number | null, and ChangeRequest<number | null>",
|
|
354
|
+
"when": "The request is emitted before the value moves, with the value asked for, the one it replaces, the reason — pointer, keyboard or clear — the event, and cancel(). A request nobody cancelled moves the model, which emits valueChange for the two-way binding. A value equal to the one held is never requested."
|
|
355
|
+
},
|
|
356
|
+
{
|
|
357
|
+
"name": "(previewChange)",
|
|
358
|
+
"payload": "number | null",
|
|
359
|
+
"when": "When the pointer enters a radio, with its value, and null when it leaves the rating. It moves nothing the consumer owns, so it is an event and not a model."
|
|
360
|
+
},
|
|
361
|
+
{
|
|
362
|
+
"name": "ControlValueAccessor and Validator",
|
|
363
|
+
"payload": "number | null",
|
|
364
|
+
"when": "Whenever the value moves under formControl, formControlName or ngModel. A radio that loses focus marks the control touched, and required reports { required: true } while the value is null."
|
|
365
|
+
}
|
|
366
|
+
],
|
|
367
|
+
"accessibility": [
|
|
368
|
+
"The pattern is the WAI-ARIA APG Rating Radio Group example: a radiogroup of native radios, each named \"3 de 5\" by aria-label. Tab lands on the checked radio or on the first, and Space checks — both the platform’s, because the radios share a name.",
|
|
369
|
+
"The arrows are the family’s and they do not wrap: the APG radio example wraps from the last star to the first, and a rating that falls from five to one on one key too many is the defect the APG slider example, Ark, MUI and Mantine all avoid. Home and End reach both ends; PageUp and PageDown are declined, because ten symbols are crossed key by key.",
|
|
370
|
+
"The caption is aria-hidden, because the checked radio already announces the value; the glyphs are aria-hidden inside slIcon. Read-only is enforced by refusing the press and the keys, and every radio keeps its tab stop, its focus ring and its contrast.",
|
|
371
|
+
"In the light and dark schemes a lit star measures 1,53:1 against the page, the ReUI yellow the family adopted; the value is never left to colour alone, because it is always in the accessible name and usually written beside the row. The high-contrast scheme and forced colours draw a solid edge around every star."
|
|
372
|
+
]
|
|
373
|
+
},
|
|
374
|
+
"ratingDisplay": {
|
|
375
|
+
"imports": {
|
|
376
|
+
"source": "import {\n provideRating,\n SlRating,\n SlRatingCaption,\n SlRatingDisplay,\n SlRatingSummary,\n SlRatingSymbol,\n} from '@slotted/angular/rating';",
|
|
377
|
+
"selector": "div[slRatingDisplay]",
|
|
378
|
+
"exportAs": "slRatingDisplay"
|
|
379
|
+
},
|
|
380
|
+
"anatomy": [
|
|
381
|
+
{
|
|
382
|
+
"part": "root",
|
|
383
|
+
"element": "the div carrying slRatingDisplay",
|
|
384
|
+
"required": true,
|
|
385
|
+
"purpose": "An image: role=\"img\", named \"Avaliação 4,6 de 5, 1.284 avaliações\" from displayLabel or displayLabelWithCount, unless the consumer wrote aria-label. Carries data-size, data-tone and data-variant for compact and histogram."
|
|
386
|
+
},
|
|
387
|
+
{
|
|
388
|
+
"part": "symbols",
|
|
389
|
+
"element": "div",
|
|
390
|
+
"required": true,
|
|
391
|
+
"purpose": "The row of symbols. It never wraps: ten symbols in a narrow column shrink, each item staying square, rather than breaking onto a second line."
|
|
392
|
+
},
|
|
393
|
+
{
|
|
394
|
+
"part": "item",
|
|
395
|
+
"element": "span",
|
|
396
|
+
"required": true,
|
|
397
|
+
"purpose": "One symbol’s square. On the input member it holds the radios and carries data-checked when one of them is checked; on the display it carries --slotted-rating-fill."
|
|
398
|
+
},
|
|
399
|
+
{
|
|
400
|
+
"part": "symbol",
|
|
401
|
+
"element": "span, holding slIcon and the star glyph",
|
|
402
|
+
"required": true,
|
|
403
|
+
"purpose": "The unlit shape, painted in the secondary surface with the rating edge around it. It takes no pointer events, so the radio beneath it is the target."
|
|
404
|
+
},
|
|
405
|
+
{
|
|
406
|
+
"part": "fill",
|
|
407
|
+
"element": "span, holding the same glyph",
|
|
408
|
+
"required": true,
|
|
409
|
+
"purpose": "The lit shape over the unlit one, clipped to the lit share of the symbol: the checked radio or the hovered one on the input member, --slotted-rating-fill on the display."
|
|
410
|
+
},
|
|
411
|
+
{
|
|
412
|
+
"part": "value",
|
|
413
|
+
"element": "span aria-hidden=\"true\"",
|
|
414
|
+
"required": false,
|
|
415
|
+
"purpose": "The number, always to one place in the locale: 4,6. Omitted with showValue false."
|
|
416
|
+
},
|
|
417
|
+
{
|
|
418
|
+
"part": "histogram",
|
|
419
|
+
"element": "span aria-hidden=\"true\"",
|
|
420
|
+
"required": false,
|
|
421
|
+
"purpose": "The distribution, lowest level first, in the histogram variant only."
|
|
422
|
+
},
|
|
423
|
+
{
|
|
424
|
+
"part": "bar",
|
|
425
|
+
"element": "span",
|
|
426
|
+
"required": false,
|
|
427
|
+
"purpose": "One level of the histogram, its height --slotted-rating-share: the level over the largest level."
|
|
428
|
+
},
|
|
429
|
+
{
|
|
430
|
+
"part": "count",
|
|
431
|
+
"element": "span aria-hidden=\"true\"",
|
|
432
|
+
"required": false,
|
|
433
|
+
"purpose": "How many readings, grouped in the locale: \"(1.284)\" beside the stars, \"1.284\" at the end of a histogram row. Present when count is set."
|
|
434
|
+
}
|
|
435
|
+
],
|
|
436
|
+
"api": [
|
|
437
|
+
{
|
|
438
|
+
"name": "value",
|
|
439
|
+
"type": "number",
|
|
440
|
+
"defaultValue": "—",
|
|
441
|
+
"appliesTo": "SlRatingDisplay",
|
|
442
|
+
"description": "The number drawn. Any fraction; clamped to the scale, NaN drawn as nought"
|
|
443
|
+
},
|
|
444
|
+
{
|
|
445
|
+
"name": "max",
|
|
446
|
+
"type": "number",
|
|
447
|
+
"defaultValue": "5",
|
|
448
|
+
"appliesTo": "SlRatingDisplay, provideRating",
|
|
449
|
+
"description": "How many symbols the scale has"
|
|
450
|
+
},
|
|
451
|
+
{
|
|
452
|
+
"name": "size",
|
|
453
|
+
"type": "'sm' | 'md' | 'lg'",
|
|
454
|
+
"defaultValue": "md",
|
|
455
|
+
"appliesTo": "SlRatingDisplay, provideRating",
|
|
456
|
+
"description": "The step of the symbols and the text"
|
|
457
|
+
},
|
|
458
|
+
{
|
|
459
|
+
"name": "tone",
|
|
460
|
+
"type": "'accent' | 'success' | 'warning' | 'danger'",
|
|
461
|
+
"defaultValue": "warning",
|
|
462
|
+
"appliesTo": "SlRatingDisplay, provideRating",
|
|
463
|
+
"description": "The colour of the lit share"
|
|
464
|
+
},
|
|
465
|
+
{
|
|
466
|
+
"name": "variant",
|
|
467
|
+
"type": "'full' | 'compact' | 'histogram'",
|
|
468
|
+
"defaultValue": "full",
|
|
469
|
+
"appliesTo": "SlRatingDisplay",
|
|
470
|
+
"description": "Every symbol; one lit star with the number; or one star, the number and the distribution"
|
|
471
|
+
},
|
|
472
|
+
{
|
|
473
|
+
"name": "count",
|
|
474
|
+
"type": "number",
|
|
475
|
+
"defaultValue": "—",
|
|
476
|
+
"appliesTo": "SlRatingDisplay",
|
|
477
|
+
"description": "How many readings. Written beside the stars and in the accessible name"
|
|
478
|
+
},
|
|
479
|
+
{
|
|
480
|
+
"name": "distribution",
|
|
481
|
+
"type": "readonly number[]",
|
|
482
|
+
"defaultValue": "—",
|
|
483
|
+
"appliesTo": "SlRatingDisplay",
|
|
484
|
+
"description": "Counts per level, lowest first, drawn by the histogram variant"
|
|
485
|
+
},
|
|
486
|
+
{
|
|
487
|
+
"name": "showValue",
|
|
488
|
+
"type": "boolean",
|
|
489
|
+
"defaultValue": "true",
|
|
490
|
+
"appliesTo": "SlRatingDisplay",
|
|
491
|
+
"description": "Whether the number is written beside the stars"
|
|
492
|
+
},
|
|
493
|
+
{
|
|
494
|
+
"name": "messages",
|
|
495
|
+
"type": "Partial<RatingMessages>",
|
|
496
|
+
"defaultValue": "—",
|
|
497
|
+
"appliesTo": "SlRatingDisplay",
|
|
498
|
+
"description": "Words laid over the language in force, key by key: displayLabel and displayLabelWithCount name the image"
|
|
499
|
+
},
|
|
500
|
+
{
|
|
501
|
+
"name": "locale",
|
|
502
|
+
"type": "string",
|
|
503
|
+
"defaultValue": "the language in force",
|
|
504
|
+
"appliesTo": "SlRatingDisplay",
|
|
505
|
+
"description": "The locale the number and the count are written in"
|
|
506
|
+
}
|
|
507
|
+
],
|
|
508
|
+
"composition": [
|
|
509
|
+
{
|
|
510
|
+
"name": "aria-label",
|
|
511
|
+
"type": "string",
|
|
512
|
+
"defaultValue": "displayLabel",
|
|
513
|
+
"appliesTo": "the host element",
|
|
514
|
+
"description": "A static name the consumer writes wins over the family’s sentence"
|
|
515
|
+
},
|
|
516
|
+
{
|
|
517
|
+
"name": "provideRating()",
|
|
518
|
+
"type": "{ size, tone, max }",
|
|
519
|
+
"defaultValue": "—",
|
|
520
|
+
"appliesTo": "an injector",
|
|
521
|
+
"description": "Shared with the other two members"
|
|
522
|
+
}
|
|
523
|
+
],
|
|
524
|
+
"events": [],
|
|
525
|
+
"accessibility": [
|
|
526
|
+
"The display is one image, role=\"img\", named by its whole value and its count: \"Avaliação 4,6 de 5, 1.284 avaliações\". The stars, the number and the count inside it are aria-hidden, so a screen reader hears one sentence rather than five images and two numbers.",
|
|
527
|
+
"A name the consumer writes as a static aria-label wins, which is how a histogram row says \"opiniões divididas\" as well as the mean.",
|
|
528
|
+
"The number is always written beside the stars unless showValue is false, because a lit share of a star is not a readable quantity for anyone, at any contrast."
|
|
529
|
+
]
|
|
530
|
+
},
|
|
531
|
+
"ratingSummary": {
|
|
532
|
+
"imports": {
|
|
533
|
+
"source": "import {\n provideRating,\n SlRating,\n SlRatingCaption,\n SlRatingDisplay,\n SlRatingSummary,\n SlRatingSymbol,\n} from '@slotted/angular/rating';",
|
|
534
|
+
"selector": "section[slRatingSummary]",
|
|
535
|
+
"exportAs": "slRatingSummary"
|
|
536
|
+
},
|
|
537
|
+
"anatomy": [
|
|
538
|
+
{
|
|
539
|
+
"part": "root",
|
|
540
|
+
"element": "the section carrying slRatingSummary",
|
|
541
|
+
"required": true,
|
|
542
|
+
"purpose": "A region named by the consumer’s aria-label. data-variant is summary for bars and spectrum for the spectrum, which also carries --slotted-rating-mean, --slotted-rating-low and --slotted-rating-high."
|
|
543
|
+
},
|
|
544
|
+
{
|
|
545
|
+
"part": "aggregate",
|
|
546
|
+
"element": "div",
|
|
547
|
+
"required": true,
|
|
548
|
+
"purpose": "The figure and the scale; then the stars in bars, or the conclusion in the spectrum; then the count."
|
|
549
|
+
},
|
|
550
|
+
{
|
|
551
|
+
"part": "value",
|
|
552
|
+
"element": "span",
|
|
553
|
+
"required": false,
|
|
554
|
+
"purpose": "The mean to one place. Omitted when nothing has been rated: a missing mean is not nought."
|
|
555
|
+
},
|
|
556
|
+
{
|
|
557
|
+
"part": "scale",
|
|
558
|
+
"element": "span",
|
|
559
|
+
"required": false,
|
|
560
|
+
"purpose": "\"de 5\", from the scale message. Omitted with the value."
|
|
561
|
+
},
|
|
562
|
+
{
|
|
563
|
+
"part": "insight",
|
|
564
|
+
"element": "span data-tone",
|
|
565
|
+
"required": false,
|
|
566
|
+
"purpose": "The one conclusion that holds first — divided, few, consensus, mixed — as a pill in its tone. Spectrum only, because it is read from the spread only the spectrum draws; omitted with showInsight false or no readings."
|
|
567
|
+
},
|
|
568
|
+
{
|
|
569
|
+
"part": "count",
|
|
570
|
+
"element": "span",
|
|
571
|
+
"required": true,
|
|
572
|
+
"purpose": "How many readings; for the spectrum, also the margin or the uncertain interval."
|
|
573
|
+
},
|
|
574
|
+
{
|
|
575
|
+
"part": "distribution",
|
|
576
|
+
"element": "ul aria-label",
|
|
577
|
+
"required": false,
|
|
578
|
+
"purpose": "The bars variant’s list of levels, highest first, named by distributionLabel."
|
|
579
|
+
},
|
|
580
|
+
{
|
|
581
|
+
"part": "level",
|
|
582
|
+
"element": "button aria-pressed, or div role=\"group\"",
|
|
583
|
+
"required": false,
|
|
584
|
+
"purpose": "One level: a toggle when filterable, disabled at zero readings; a named group otherwise."
|
|
585
|
+
},
|
|
586
|
+
{
|
|
587
|
+
"part": "level-label",
|
|
588
|
+
"element": "span",
|
|
589
|
+
"required": false,
|
|
590
|
+
"purpose": "The level’s number and a star."
|
|
591
|
+
},
|
|
592
|
+
{
|
|
593
|
+
"part": "track",
|
|
594
|
+
"element": "span aria-hidden=\"true\"",
|
|
595
|
+
"required": false,
|
|
596
|
+
"purpose": "The ground of one level’s bar."
|
|
597
|
+
},
|
|
598
|
+
{
|
|
599
|
+
"part": "indicator",
|
|
600
|
+
"element": "span",
|
|
601
|
+
"required": false,
|
|
602
|
+
"purpose": "The bar, its length --slotted-rating-share: the level’s share of all readings."
|
|
603
|
+
},
|
|
604
|
+
{
|
|
605
|
+
"part": "level-count",
|
|
606
|
+
"element": "span",
|
|
607
|
+
"required": false,
|
|
608
|
+
"purpose": "The level’s count, grouped in the locale."
|
|
609
|
+
},
|
|
610
|
+
{
|
|
611
|
+
"part": "plot",
|
|
612
|
+
"element": "div",
|
|
613
|
+
"required": false,
|
|
614
|
+
"purpose": "The spectrum’s drawing: the field over the axis."
|
|
615
|
+
},
|
|
616
|
+
{
|
|
617
|
+
"part": "field",
|
|
618
|
+
"element": "div",
|
|
619
|
+
"required": false,
|
|
620
|
+
"purpose": "The columns, with the interval and the mean laid over them."
|
|
621
|
+
},
|
|
622
|
+
{
|
|
623
|
+
"part": "columns",
|
|
624
|
+
"element": "div",
|
|
625
|
+
"required": false,
|
|
626
|
+
"purpose": "The five columns, lowest level first."
|
|
627
|
+
},
|
|
628
|
+
{
|
|
629
|
+
"part": "column",
|
|
630
|
+
"element": "button aria-pressed, or div role=\"group\"",
|
|
631
|
+
"required": false,
|
|
632
|
+
"purpose": "One level of the spectrum, its height --slotted-rating-share: the level over the largest level."
|
|
633
|
+
},
|
|
634
|
+
{
|
|
635
|
+
"part": "bar",
|
|
636
|
+
"element": "span",
|
|
637
|
+
"required": false,
|
|
638
|
+
"purpose": "The painted column inside each column target."
|
|
639
|
+
},
|
|
640
|
+
{
|
|
641
|
+
"part": "interval",
|
|
642
|
+
"element": "span aria-hidden=\"true\"",
|
|
643
|
+
"required": false,
|
|
644
|
+
"purpose": "The 95% interval of the mean, from --slotted-rating-low to -high."
|
|
645
|
+
},
|
|
646
|
+
{
|
|
647
|
+
"part": "mean",
|
|
648
|
+
"element": "span aria-hidden=\"true\"",
|
|
649
|
+
"required": false,
|
|
650
|
+
"purpose": "The mean’s mark on the axis, at --slotted-rating-mean."
|
|
651
|
+
},
|
|
652
|
+
{
|
|
653
|
+
"part": "mean-label",
|
|
654
|
+
"element": "span",
|
|
655
|
+
"required": false,
|
|
656
|
+
"purpose": "The mean written on its mark."
|
|
657
|
+
},
|
|
658
|
+
{
|
|
659
|
+
"part": "axis",
|
|
660
|
+
"element": "div aria-hidden=\"true\"",
|
|
661
|
+
"required": false,
|
|
662
|
+
"purpose": "The scale under the columns."
|
|
663
|
+
},
|
|
664
|
+
{
|
|
665
|
+
"part": "tick",
|
|
666
|
+
"element": "span",
|
|
667
|
+
"required": false,
|
|
668
|
+
"purpose": "One level on the axis."
|
|
669
|
+
},
|
|
670
|
+
{
|
|
671
|
+
"part": "tick-label",
|
|
672
|
+
"element": "span",
|
|
673
|
+
"required": false,
|
|
674
|
+
"purpose": "The level’s number and a star."
|
|
675
|
+
},
|
|
676
|
+
{
|
|
677
|
+
"part": "tick-share",
|
|
678
|
+
"element": "span",
|
|
679
|
+
"required": false,
|
|
680
|
+
"purpose": "The level’s share, a whole percent."
|
|
681
|
+
},
|
|
682
|
+
{
|
|
683
|
+
"part": "sentiment",
|
|
684
|
+
"element": "p",
|
|
685
|
+
"required": false,
|
|
686
|
+
"purpose": "The three buckets, when anything has been rated."
|
|
687
|
+
},
|
|
688
|
+
{
|
|
689
|
+
"part": "bucket",
|
|
690
|
+
"element": "span data-tone",
|
|
691
|
+
"required": false,
|
|
692
|
+
"purpose": "Positive, neutral or negative, with its share in strong."
|
|
693
|
+
},
|
|
694
|
+
{
|
|
695
|
+
"part": "swatch",
|
|
696
|
+
"element": "span aria-hidden=\"true\"",
|
|
697
|
+
"required": false,
|
|
698
|
+
"purpose": "The bucket’s colour key."
|
|
699
|
+
}
|
|
700
|
+
],
|
|
701
|
+
"api": [
|
|
702
|
+
{
|
|
703
|
+
"name": "counts",
|
|
704
|
+
"type": "readonly number[]",
|
|
705
|
+
"defaultValue": "—",
|
|
706
|
+
"appliesTo": "SlRatingSummary",
|
|
707
|
+
"description": "How many readings each level holds, lowest first. Negative and fractional counts are dropped to their whole non-negative part"
|
|
708
|
+
},
|
|
709
|
+
{
|
|
710
|
+
"name": "max",
|
|
711
|
+
"type": "number",
|
|
712
|
+
"defaultValue": "5",
|
|
713
|
+
"appliesTo": "SlRatingSummary, provideRating",
|
|
714
|
+
"description": "How many levels the scale has. A level missing from counts holds none; a count past it is dropped"
|
|
715
|
+
},
|
|
716
|
+
{
|
|
717
|
+
"name": "variant",
|
|
718
|
+
"type": "'bars' | 'spectrum'",
|
|
719
|
+
"defaultValue": "bars",
|
|
720
|
+
"appliesTo": "SlRatingSummary",
|
|
721
|
+
"description": "One bar per level, or columns over the scale with the mean, its interval and the buckets"
|
|
722
|
+
},
|
|
723
|
+
{
|
|
724
|
+
"name": "filterable",
|
|
725
|
+
"type": "boolean",
|
|
726
|
+
"defaultValue": "false",
|
|
727
|
+
"appliesTo": "SlRatingSummary",
|
|
728
|
+
"description": "Each level or column becomes a toggle button, disabled with zero readings"
|
|
729
|
+
},
|
|
730
|
+
{
|
|
731
|
+
"name": "selectedLevels",
|
|
732
|
+
"type": "model<readonly number[]>",
|
|
733
|
+
"defaultValue": "[]",
|
|
734
|
+
"appliesTo": "SlRatingSummary",
|
|
735
|
+
"description": "The pressed levels, ascending. Two-way; every move is asked first"
|
|
736
|
+
},
|
|
737
|
+
{
|
|
738
|
+
"name": "insightThresholds",
|
|
739
|
+
"type": "Partial<RatingInsightThresholds>",
|
|
740
|
+
"defaultValue": "{ divided: 0.25, few: 30, margin: 0.5, consensus: 0.8 }",
|
|
741
|
+
"appliesTo": "SlRatingSummary, provideRating",
|
|
742
|
+
"description": "Where each conclusion is drawn, merged key by key. margin also decides when the spectrum says its mean is uncertain"
|
|
743
|
+
},
|
|
744
|
+
{
|
|
745
|
+
"name": "showInsight",
|
|
746
|
+
"type": "boolean",
|
|
747
|
+
"defaultValue": "true",
|
|
748
|
+
"appliesTo": "SlRatingSummary",
|
|
749
|
+
"description": "Whether the spectrum draws its conclusion. The bars variant draws none"
|
|
750
|
+
},
|
|
751
|
+
{
|
|
752
|
+
"name": "size",
|
|
753
|
+
"type": "'sm' | 'md' | 'lg'",
|
|
754
|
+
"defaultValue": "md",
|
|
755
|
+
"appliesTo": "SlRatingSummary, provideRating",
|
|
756
|
+
"description": "The step of the text and the rows"
|
|
757
|
+
},
|
|
758
|
+
{
|
|
759
|
+
"name": "tone",
|
|
760
|
+
"type": "'accent' | 'success' | 'warning' | 'danger'",
|
|
761
|
+
"defaultValue": "warning",
|
|
762
|
+
"appliesTo": "SlRatingSummary, provideRating",
|
|
763
|
+
"description": "The colour of the stars and the bars"
|
|
764
|
+
},
|
|
765
|
+
{
|
|
766
|
+
"name": "messages",
|
|
767
|
+
"type": "Partial<RatingMessages>",
|
|
768
|
+
"defaultValue": "—",
|
|
769
|
+
"appliesTo": "SlRatingSummary",
|
|
770
|
+
"description": "Words laid over the language in force, key by key — every sentence of the summary: summaryCount, summaryEmpty, spectrumCount, spectrumUncertain, levelLabel, distributionLabel, the buckets and the four conclusions"
|
|
771
|
+
},
|
|
772
|
+
{
|
|
773
|
+
"name": "locale",
|
|
774
|
+
"type": "string",
|
|
775
|
+
"defaultValue": "the language in force",
|
|
776
|
+
"appliesTo": "SlRatingSummary",
|
|
777
|
+
"description": "The locale every number is written in"
|
|
778
|
+
}
|
|
779
|
+
],
|
|
780
|
+
"composition": [
|
|
781
|
+
{
|
|
782
|
+
"name": "exportAs=\"slRatingSummary\"",
|
|
783
|
+
"type": "SlRatingSummary",
|
|
784
|
+
"defaultValue": "—",
|
|
785
|
+
"appliesTo": "a template",
|
|
786
|
+
"description": "Reaches the instance: summary() is the whole summariseRatings result, for a caption of one’s own"
|
|
787
|
+
},
|
|
788
|
+
{
|
|
789
|
+
"name": "provideRating()",
|
|
790
|
+
"type": "{ size, tone, max, insightThresholds }",
|
|
791
|
+
"defaultValue": "—",
|
|
792
|
+
"appliesTo": "an injector",
|
|
793
|
+
"description": "Shared with the other two members"
|
|
794
|
+
}
|
|
795
|
+
],
|
|
796
|
+
"events": [
|
|
797
|
+
{
|
|
798
|
+
"name": "[(selectedLevels)] and (selectedLevelsChangeRequest)",
|
|
799
|
+
"payload": "readonly number[], and ChangeRequest<readonly number[]>",
|
|
800
|
+
"when": "The request is emitted before the pressed levels move, with the levels asked for in ascending order, the ones they replace, the reason — pointer, or keyboard for Space and Enter — the event and cancel(). A request nobody cancelled moves the model."
|
|
801
|
+
}
|
|
802
|
+
],
|
|
803
|
+
"accessibility": [
|
|
804
|
+
"The summary is a section named by the consumer’s aria-label, so it is a region a screen reader can reach by landmark. The figure is plain text, and the stars inside the aggregate are one image named by the mean.",
|
|
805
|
+
"Each level is named whole — \"5 estrelas: 1.052 avaliações, 82%\" — and the bar, the axis and the mean mark are aria-hidden, because the name already carries what they draw.",
|
|
806
|
+
"A filterable level is a native toggle button with aria-pressed, so Space and Enter press it; a level with no readings is disabled rather than offered as a filter that returns nothing.",
|
|
807
|
+
"The conclusion and the three buckets are words, not colours: the tone of the pill and of each swatch repeats a sentence that is already written."
|
|
808
|
+
]
|
|
809
|
+
}
|
|
810
|
+
},
|
|
811
|
+
"tokens": [
|
|
812
|
+
"--slotted-border-strong",
|
|
813
|
+
"--slotted-border-subtle",
|
|
814
|
+
"--slotted-border-width-thick",
|
|
815
|
+
"--slotted-border-width-thin",
|
|
816
|
+
"--slotted-control-font-family",
|
|
817
|
+
"--slotted-control-font-size-lg",
|
|
818
|
+
"--slotted-control-font-size-md",
|
|
819
|
+
"--slotted-control-font-size-sm",
|
|
820
|
+
"--slotted-control-gap-lg",
|
|
821
|
+
"--slotted-control-gap-md",
|
|
822
|
+
"--slotted-control-gap-sm",
|
|
823
|
+
"--slotted-control-height-sm",
|
|
824
|
+
"--slotted-control-icon-size-sm",
|
|
825
|
+
"--slotted-control-invalid-edge-width",
|
|
826
|
+
"--slotted-control-transition-duration",
|
|
827
|
+
"--slotted-control-transition-easing",
|
|
828
|
+
"--slotted-disabled-background",
|
|
829
|
+
"--slotted-disabled-foreground",
|
|
830
|
+
"--slotted-duration-instant",
|
|
831
|
+
"--slotted-duration-long",
|
|
832
|
+
"--slotted-duration-medium",
|
|
833
|
+
"--slotted-duration-short",
|
|
834
|
+
"--slotted-easing-enter",
|
|
835
|
+
"--slotted-easing-exit",
|
|
836
|
+
"--slotted-easing-standard",
|
|
837
|
+
"--slotted-focus-ring-color",
|
|
838
|
+
"--slotted-focus-ring-color-invalid",
|
|
839
|
+
"--slotted-focus-ring-offset",
|
|
840
|
+
"--slotted-focus-ring-width",
|
|
841
|
+
"--slotted-font-size-4xl",
|
|
842
|
+
"--slotted-font-size-xs",
|
|
843
|
+
"--slotted-font-weight-medium",
|
|
844
|
+
"--slotted-font-weight-regular",
|
|
845
|
+
"--slotted-font-weight-semibold",
|
|
846
|
+
"--slotted-highlight-tint-opacity",
|
|
847
|
+
"--slotted-line-height-4xl",
|
|
848
|
+
"--slotted-line-height-md",
|
|
849
|
+
"--slotted-line-height-xs",
|
|
850
|
+
"--slotted-radius-full",
|
|
851
|
+
"--slotted-radius-sm",
|
|
852
|
+
"--slotted-radius-xs",
|
|
853
|
+
"--slotted-rating-active-background",
|
|
854
|
+
"--slotted-rating-bar-color",
|
|
855
|
+
"--slotted-rating-bar-size",
|
|
856
|
+
"--slotted-rating-edge",
|
|
857
|
+
"--slotted-rating-empty-color",
|
|
858
|
+
"--slotted-rating-gap",
|
|
859
|
+
"--slotted-rating-hover-background",
|
|
860
|
+
"--slotted-rating-invalid-color",
|
|
861
|
+
"--slotted-rating-invalid-edge-width",
|
|
862
|
+
"--slotted-rating-lit-color",
|
|
863
|
+
"--slotted-rating-symbol-size",
|
|
864
|
+
"--slotted-space-1",
|
|
865
|
+
"--slotted-space-10",
|
|
866
|
+
"--slotted-space-12",
|
|
867
|
+
"--slotted-space-2",
|
|
868
|
+
"--slotted-space-3",
|
|
869
|
+
"--slotted-space-4",
|
|
870
|
+
"--slotted-space-5",
|
|
871
|
+
"--slotted-space-6",
|
|
872
|
+
"--slotted-space-7",
|
|
873
|
+
"--slotted-space-8",
|
|
874
|
+
"--slotted-space-9",
|
|
875
|
+
"--slotted-surface-inverse",
|
|
876
|
+
"--slotted-target-comfortable",
|
|
877
|
+
"--slotted-target-min",
|
|
878
|
+
"--slotted-text",
|
|
879
|
+
"--slotted-text-inverse",
|
|
880
|
+
"--slotted-text-muted",
|
|
881
|
+
"--slotted-tone-accent-solid",
|
|
882
|
+
"--slotted-tone-danger-border",
|
|
883
|
+
"--slotted-tone-danger-solid",
|
|
884
|
+
"--slotted-tone-danger-surface",
|
|
885
|
+
"--slotted-tone-danger-text",
|
|
886
|
+
"--slotted-tone-secondary-border",
|
|
887
|
+
"--slotted-tone-secondary-subtle-active",
|
|
888
|
+
"--slotted-tone-secondary-subtle-hover",
|
|
889
|
+
"--slotted-tone-secondary-surface",
|
|
890
|
+
"--slotted-tone-success-border",
|
|
891
|
+
"--slotted-tone-success-solid",
|
|
892
|
+
"--slotted-tone-success-surface",
|
|
893
|
+
"--slotted-tone-success-text",
|
|
894
|
+
"--slotted-tone-warning-border",
|
|
895
|
+
"--slotted-tone-warning-solid",
|
|
896
|
+
"--slotted-tone-warning-surface",
|
|
897
|
+
"--slotted-tone-warning-text"
|
|
898
|
+
],
|
|
899
|
+
"examples": [
|
|
900
|
+
{
|
|
901
|
+
"id": "playground",
|
|
902
|
+
"title": "Playground",
|
|
903
|
+
"note": "One rating with every axis on it, driven by the controls below the canvas. Hover the row: the stars light up to the one under the pointer and the caption says its word before anything is chosen.",
|
|
904
|
+
"language": "html",
|
|
905
|
+
"source": "<div slRating aria-label=\"Qualidade do som\" [(value)]=\"nota\">\n <ng-template slRatingCaption let-value=\"value\" let-preview=\"preview\">\n {{ palavras[preview ?? value ?? 0] }}\n </ng-template>\n</div>\n",
|
|
906
|
+
"verdict": "excerpt"
|
|
907
|
+
},
|
|
908
|
+
{
|
|
909
|
+
"id": "half",
|
|
910
|
+
"title": "Half a star at a time",
|
|
911
|
+
"note": "With step 0.5 each star holds two radios, and the inline-start half of the star asks for the half value. The arrow keys stop ten times on five stars, and each radio is named \"3,5 de 5\" in the locale.",
|
|
912
|
+
"language": "html",
|
|
913
|
+
"source": "<div slRating aria-label=\"Conforto\" [step]=\"0.5\" [value]=\"3.5\"></div>\n",
|
|
914
|
+
"verdict": "excerpt"
|
|
915
|
+
},
|
|
916
|
+
{
|
|
917
|
+
"id": "states",
|
|
918
|
+
"title": "Read-only, disabled and invalid",
|
|
919
|
+
"note": "Read-only keeps every tab stop and the lit stars, because the value is real, and refuses the press; disabled removes the row from the tab order; invalid reddens the edge and announces aria-invalid.",
|
|
920
|
+
"language": "html",
|
|
921
|
+
"source": "<div slRating aria-label=\"Nota publicada\" readOnly [value]=\"4\"></div>\n<div slRating aria-label=\"Nota bloqueada\" disabled [value]=\"2\"></div>\n<div slRating aria-label=\"Nota obrigatória\" invalid required></div>\n",
|
|
922
|
+
"verdict": "excerpt"
|
|
923
|
+
},
|
|
924
|
+
{
|
|
925
|
+
"id": "field",
|
|
926
|
+
"title": "In a field, and in a reactive form",
|
|
927
|
+
"note": "The field supplies the label, the description, the error and the size; the rating is the value accessor and the validator, so required means \"choose a rating\" and the error appears once the form is touched.",
|
|
928
|
+
"language": "html",
|
|
929
|
+
"source": "<div slField required>\n <label slFieldLabel>Qualidade do som</label>\n <div slRating formControlName=\"som\"></div>\n <p slFieldError>Escolha uma nota.</p>\n</div>\n",
|
|
930
|
+
"verdict": "excerpt"
|
|
931
|
+
},
|
|
932
|
+
{
|
|
933
|
+
"id": "labels",
|
|
934
|
+
"title": "Words for each value, and a scale of ten",
|
|
935
|
+
"note": "The caption is the consumer’s: a word per star on a scale of five, the number on a scale of ten. Each radio’s own name comes from the itemLabel message, which a provider or one instance may reword.",
|
|
936
|
+
"language": "html",
|
|
937
|
+
"source": "<div\n slRating\n aria-label=\"Recomendaria a um amigo\"\n [max]=\"10\"\n [messages]=\"{ itemLabel: 'Nota {value} de {max}' }\"\n>\n <ng-template slRatingCaption let-value=\"value\" let-preview=\"preview\">\n {{ preview ?? value ?? 'Sem nota' }}\n </ng-template>\n</div>\n",
|
|
938
|
+
"verdict": "excerpt"
|
|
939
|
+
},
|
|
940
|
+
{
|
|
941
|
+
"id": "keyboard",
|
|
942
|
+
"title": "The keys, which stop at both ends",
|
|
943
|
+
"note": "The arrows raise and lower by one step and stop at the first and the last, Home and End reach both ends, and Backspace or Delete empty a clearable rating. In a right-to-left page the inline arrows swap.",
|
|
944
|
+
"language": "html",
|
|
945
|
+
"source": "<!-- ArrowRight/ArrowUp +1 · ArrowLeft/ArrowDown −1 · Home · End\n Backspace/Delete empty it when clearable -->\n<div slRating aria-label=\"Atendimento\" [value]=\"3\"></div>\n",
|
|
946
|
+
"verdict": "excerpt"
|
|
947
|
+
},
|
|
948
|
+
{
|
|
949
|
+
"id": "touch",
|
|
950
|
+
"title": "A finger dragged along the row",
|
|
951
|
+
"note": "A touch or a pen dragged along the stars checks the one under it, read by ratingAtPoint, and the root carries data-dragging so the fill follows without its transition. The row keeps vertical panning; a mouse does not scrub.",
|
|
952
|
+
"language": "html",
|
|
953
|
+
"source": "<div slRating aria-label=\"Bateria\" size=\"lg\" [(value)]=\"nota\"></div>\n",
|
|
954
|
+
"verdict": "excerpt"
|
|
955
|
+
},
|
|
956
|
+
{
|
|
957
|
+
"id": "playground",
|
|
958
|
+
"title": "Playground",
|
|
959
|
+
"note": "One display with every axis on it. Move the value by a tenth and watch the last star: the display draws any fraction, because nothing here is a target.",
|
|
960
|
+
"language": "html",
|
|
961
|
+
"source": "<div slRatingDisplay [value]=\"4.6\" [count]=\"1284\"></div>\n",
|
|
962
|
+
"verdict": "excerpt"
|
|
963
|
+
},
|
|
964
|
+
{
|
|
965
|
+
"id": "fractions",
|
|
966
|
+
"title": "Any fraction of a star",
|
|
967
|
+
"note": "Each item reads --slotted-rating-fill from ratingFills: 4,6 lights six tenths of the fifth star, 2,25 a quarter of the third. The number beside the stars is always to one place.",
|
|
968
|
+
"language": "html",
|
|
969
|
+
"source": "<div slRatingDisplay [value]=\"4.6\"></div>\n<div slRatingDisplay [value]=\"2.25\"></div>\n",
|
|
970
|
+
"verdict": "excerpt"
|
|
971
|
+
},
|
|
972
|
+
{
|
|
973
|
+
"id": "compact",
|
|
974
|
+
"title": "One star, for a row or a card",
|
|
975
|
+
"note": "compact draws one lit star, the number and the count — the form a product card or a table cell has room for. The name still says the whole value and the scale.",
|
|
976
|
+
"language": "html",
|
|
977
|
+
"source": "<div slRatingDisplay variant=\"compact\" size=\"sm\" [value]=\"4.6\" [count]=\"1284\"></div>\n",
|
|
978
|
+
"verdict": "excerpt"
|
|
979
|
+
},
|
|
980
|
+
{
|
|
981
|
+
"id": "histogram",
|
|
982
|
+
"title": "The mean, and the spread behind it",
|
|
983
|
+
"note": "histogram adds one bar per level, each over the largest. Two products at 3,3 read differently: one split between ones and fives, the other spread evenly — which a mean alone would hide.",
|
|
984
|
+
"language": "html",
|
|
985
|
+
"source": "<div\n slRatingDisplay\n variant=\"histogram\"\n aria-label=\"Média 3,3 de 5, 8 avaliações, opiniões divididas\"\n [value]=\"3.3\"\n [count]=\"8\"\n [distribution]=\"[3, 0, 1, 0, 4]\"\n></div>\n",
|
|
986
|
+
"verdict": "excerpt"
|
|
987
|
+
},
|
|
988
|
+
{
|
|
989
|
+
"id": "count",
|
|
990
|
+
"title": "How many readings the number is made of",
|
|
991
|
+
"note": "count writes the grouped number beside the stars and joins the accessible name through displayLabelWithCount. A rating with no readings says 0,0 and (0) rather than hiding.",
|
|
992
|
+
"language": "html",
|
|
993
|
+
"source": "<div slRatingDisplay [value]=\"4.6\" [count]=\"1284\"></div>\n<div slRatingDisplay [value]=\"0\" [count]=\"0\"></div>\n",
|
|
994
|
+
"verdict": "excerpt"
|
|
995
|
+
},
|
|
996
|
+
{
|
|
997
|
+
"id": "content",
|
|
998
|
+
"title": "Content the family did not choose",
|
|
999
|
+
"note": "A scale of ten in a narrow column shrinks each star rather than wrapping the row, a count of twelve million is grouped in the locale, and the row mirrors in a right-to-left page.",
|
|
1000
|
+
"language": "html",
|
|
1001
|
+
"source": "<div slRatingDisplay [max]=\"10\" [value]=\"8.2\" [count]=\"12408117\"></div>\n",
|
|
1002
|
+
"verdict": "excerpt"
|
|
1003
|
+
},
|
|
1004
|
+
{
|
|
1005
|
+
"id": "playground",
|
|
1006
|
+
"title": "Playground",
|
|
1007
|
+
"note": "The aggregate beside one bar per level, highest first. The two blocks stand side by side while both fit and stack when they do not; narrow the window to see the break.",
|
|
1008
|
+
"language": "html",
|
|
1009
|
+
"source": "<section\n slRatingSummary\n aria-label=\"Avaliações dos clientes\"\n [counts]=\"[9, 18, 47, 158, 1052]\"\n></section>\n",
|
|
1010
|
+
"verdict": "excerpt"
|
|
1011
|
+
},
|
|
1012
|
+
{
|
|
1013
|
+
"id": "filter",
|
|
1014
|
+
"title": "Levels that filter the reviews",
|
|
1015
|
+
"note": "filterable turns each level into a toggle button with aria-pressed; the pressed levels are selectedLevels, asked for first through selectedLevelsChangeRequest. A level nobody chose is disabled, because a filter that returns nothing is a dead end.",
|
|
1016
|
+
"language": "html",
|
|
1017
|
+
"source": "<section\n slRatingSummary\n aria-label=\"Filtrar avaliações\"\n filterable\n [counts]=\"contagens\"\n [(selectedLevels)]=\"niveis\"\n></section>\n",
|
|
1018
|
+
"verdict": "excerpt"
|
|
1019
|
+
},
|
|
1020
|
+
{
|
|
1021
|
+
"id": "spectrum",
|
|
1022
|
+
"title": "The spectrum: spread, mean and margin",
|
|
1023
|
+
"note": "The same counts as columns over the scale, lowest first, with the mean and its 95% interval laid over them and the readings split into positive, neutral and negative. Eight readings at 3,3 say \"média incerta, entre 2,0 e 4,5\".",
|
|
1024
|
+
"language": "html",
|
|
1025
|
+
"source": "<section\n slRatingSummary\n variant=\"spectrum\"\n aria-label=\"Resumo das avaliações\"\n filterable\n [counts]=\"[9, 18, 47, 158, 1052]\"\n></section>\n",
|
|
1026
|
+
"verdict": "excerpt"
|
|
1027
|
+
},
|
|
1028
|
+
{
|
|
1029
|
+
"id": "insight",
|
|
1030
|
+
"title": "One conclusion, the first that holds",
|
|
1031
|
+
"note": "Divided when both ends hold a quarter each, few below thirty readings or with a margin of half a level, consensus when four fifths are positive, mixed otherwise. The pill belongs to the spectrum; insightThresholds moves each line; showInsight false removes it.",
|
|
1032
|
+
"language": "html",
|
|
1033
|
+
"source": "<section\n slRatingSummary\n variant=\"spectrum\"\n aria-label=\"Avaliações\"\n [counts]=\"[40, 12, 10, 14, 60]\"\n [insightThresholds]=\"{ divided: 0.3 }\"\n></section>\n",
|
|
1034
|
+
"verdict": "excerpt"
|
|
1035
|
+
},
|
|
1036
|
+
{
|
|
1037
|
+
"id": "empty",
|
|
1038
|
+
"title": "Nobody has rated it yet",
|
|
1039
|
+
"note": "With zero readings the figure and the scale are omitted — a missing mean is not nought — the stars are unlit, the count says \"Ainda sem avaliações\", and no conclusion is drawn.",
|
|
1040
|
+
"language": "html",
|
|
1041
|
+
"source": "<section slRatingSummary aria-label=\"Sem avaliações\" [counts]=\"[0, 0, 0, 0, 0]\"></section>\n",
|
|
1042
|
+
"verdict": "excerpt"
|
|
1043
|
+
},
|
|
1044
|
+
{
|
|
1045
|
+
"id": "narrow",
|
|
1046
|
+
"title": "In a narrow column",
|
|
1047
|
+
"note": "In a 360-pixel column the aggregate stacks above the distribution and every row of bars keeps its label, its bar and its count aligned with the rows above it.",
|
|
1048
|
+
"language": "html",
|
|
1049
|
+
"source": "<section\n slRatingSummary\n size=\"sm\"\n aria-label=\"Avaliações\"\n [counts]=\"[9, 18, 47, 158, 1052]\"\n></section>\n",
|
|
1050
|
+
"verdict": "excerpt"
|
|
1051
|
+
}
|
|
1052
|
+
]
|
|
1053
|
+
}
|