@slotted/angular 0.1.0-beta.8 → 0.1.0-beta.9
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/docs/code-block.json +92 -92
- package/docs/code-block.md +69 -69
- package/docs/currency-field.json +7 -0
- package/docs/currency-field.md +1 -0
- package/docs/data-grid.examples.md +1 -1
- package/docs/data-grid.json +21 -4
- package/docs/data-grid.md +1 -1
- package/docs/data-grid.props.md +5 -3
- package/docs/dialog.examples.md +138 -136
- package/docs/dialog.json +8 -8
- package/docs/filter-bar.json +118 -118
- package/docs/filter-bar.md +79 -79
- package/docs/guidelines/async-feedback.md +10 -0
- package/docs/guidelines/composition.md +11 -7
- package/docs/guidelines/index.md +6 -1
- package/docs/guidelines/list-pages.md +30 -0
- package/docs/guidelines/overviews.md +10 -0
- package/docs/markdown.json +79 -79
- package/docs/markdown.md +65 -65
- package/docs/page-header.json +1 -1
- package/docs/skills/compose-screen/SKILL.md +22 -10
- package/docs/skills/review-screen/SKILL.md +6 -0
- package/docs/skills/waiting-states/SKILL.md +4 -1
- package/docs/tags-input.json +28 -2
- package/docs/tags-input.md +4 -1
- package/docs/timeline.json +131 -131
- package/docs/timeline.md +123 -123
- package/fesm2022/slotted-angular-accordion.mjs +4 -2
- package/fesm2022/slotted-angular-accordion.mjs.map +1 -1
- package/fesm2022/slotted-angular-action-bar.mjs +21 -10
- package/fesm2022/slotted-angular-action-bar.mjs.map +1 -1
- package/fesm2022/slotted-angular-action-sheet.mjs +42 -29
- package/fesm2022/slotted-angular-action-sheet.mjs.map +1 -1
- package/fesm2022/slotted-angular-alert.mjs +17 -11
- package/fesm2022/slotted-angular-alert.mjs.map +1 -1
- package/fesm2022/slotted-angular-app-shell.mjs +52 -40
- package/fesm2022/slotted-angular-app-shell.mjs.map +1 -1
- package/fesm2022/slotted-angular-aspect-ratio.mjs +4 -2
- package/fesm2022/slotted-angular-aspect-ratio.mjs.map +1 -1
- package/fesm2022/slotted-angular-attachment.mjs +31 -20
- package/fesm2022/slotted-angular-attachment.mjs.map +1 -1
- package/fesm2022/slotted-angular-avatar-group.mjs +9 -6
- package/fesm2022/slotted-angular-avatar-group.mjs.map +1 -1
- package/fesm2022/slotted-angular-avatar.mjs +9 -6
- package/fesm2022/slotted-angular-avatar.mjs.map +1 -1
- package/fesm2022/slotted-angular-badge.mjs +14 -10
- package/fesm2022/slotted-angular-badge.mjs.map +1 -1
- package/fesm2022/slotted-angular-breadcrumb.mjs +26 -18
- package/fesm2022/slotted-angular-breadcrumb.mjs.map +1 -1
- package/fesm2022/slotted-angular-button-group.mjs +7 -4
- package/fesm2022/slotted-angular-button-group.mjs.map +1 -1
- package/fesm2022/slotted-angular-button.mjs +53 -25
- package/fesm2022/slotted-angular-button.mjs.map +1 -1
- package/fesm2022/slotted-angular-calendar.mjs +68 -26
- package/fesm2022/slotted-angular-calendar.mjs.map +1 -1
- package/fesm2022/slotted-angular-card.mjs +18 -16
- package/fesm2022/slotted-angular-card.mjs.map +1 -1
- package/fesm2022/slotted-angular-carousel.mjs +22 -11
- package/fesm2022/slotted-angular-carousel.mjs.map +1 -1
- package/fesm2022/slotted-angular-cascader.mjs +158 -64
- package/fesm2022/slotted-angular-cascader.mjs.map +1 -1
- package/fesm2022/slotted-angular-chart.mjs +4 -2
- package/fesm2022/slotted-angular-chart.mjs.map +1 -1
- package/fesm2022/slotted-angular-checkbox-group.mjs +5 -3
- package/fesm2022/slotted-angular-checkbox-group.mjs.map +1 -1
- package/fesm2022/slotted-angular-checkbox.mjs +13 -8
- package/fesm2022/slotted-angular-checkbox.mjs.map +1 -1
- package/fesm2022/slotted-angular-code-block.mjs +29 -15
- package/fesm2022/slotted-angular-code-block.mjs.map +1 -1
- package/fesm2022/slotted-angular-collapsible.mjs +20 -15
- package/fesm2022/slotted-angular-collapsible.mjs.map +1 -1
- package/fesm2022/slotted-angular-color-picker.mjs +77 -22
- package/fesm2022/slotted-angular-color-picker.mjs.map +1 -1
- package/fesm2022/slotted-angular-column-manager.mjs +68 -31
- package/fesm2022/slotted-angular-column-manager.mjs.map +1 -1
- package/fesm2022/slotted-angular-combobox.mjs +77 -31
- package/fesm2022/slotted-angular-combobox.mjs.map +1 -1
- package/fesm2022/slotted-angular-command-palette.mjs +128 -51
- package/fesm2022/slotted-angular-command-palette.mjs.map +1 -1
- package/fesm2022/slotted-angular-container.mjs +6 -4
- package/fesm2022/slotted-angular-container.mjs.map +1 -1
- package/fesm2022/slotted-angular-context-menu.mjs +5 -4
- package/fesm2022/slotted-angular-context-menu.mjs.map +1 -1
- package/fesm2022/slotted-angular-currency-field.mjs +98 -32
- package/fesm2022/slotted-angular-currency-field.mjs.map +1 -1
- package/fesm2022/slotted-angular-dashboard-grid.mjs +127 -44
- package/fesm2022/slotted-angular-dashboard-grid.mjs.map +1 -1
- package/fesm2022/slotted-angular-data-grid.mjs +309 -104
- package/fesm2022/slotted-angular-data-grid.mjs.map +1 -1
- package/fesm2022/slotted-angular-data-list.mjs +83 -50
- package/fesm2022/slotted-angular-data-list.mjs.map +1 -1
- package/fesm2022/slotted-angular-date-field.mjs +38 -12
- package/fesm2022/slotted-angular-date-field.mjs.map +1 -1
- package/fesm2022/slotted-angular-date-picker.mjs +19 -9
- package/fesm2022/slotted-angular-date-picker.mjs.map +1 -1
- package/fesm2022/slotted-angular-date-range-picker.mjs +41 -16
- package/fesm2022/slotted-angular-date-range-picker.mjs.map +1 -1
- package/fesm2022/slotted-angular-datetime-field.mjs +46 -14
- package/fesm2022/slotted-angular-datetime-field.mjs.map +1 -1
- package/fesm2022/slotted-angular-datetime-picker.mjs +37 -23
- package/fesm2022/slotted-angular-datetime-picker.mjs.map +1 -1
- package/fesm2022/slotted-angular-datetime-range-picker.mjs +111 -42
- package/fesm2022/slotted-angular-datetime-range-picker.mjs.map +1 -1
- package/fesm2022/slotted-angular-description-list.mjs +33 -19
- package/fesm2022/slotted-angular-description-list.mjs.map +1 -1
- package/fesm2022/slotted-angular-detail-panel.mjs +29 -18
- package/fesm2022/slotted-angular-detail-panel.mjs.map +1 -1
- package/fesm2022/slotted-angular-dialog.mjs +39 -28
- package/fesm2022/slotted-angular-dialog.mjs.map +1 -1
- package/fesm2022/slotted-angular-divider.mjs +7 -5
- package/fesm2022/slotted-angular-divider.mjs.map +1 -1
- package/fesm2022/slotted-angular-drawer.mjs +32 -24
- package/fesm2022/slotted-angular-drawer.mjs.map +1 -1
- package/fesm2022/slotted-angular-entity-picker.mjs +195 -67
- package/fesm2022/slotted-angular-entity-picker.mjs.map +1 -1
- package/fesm2022/slotted-angular-event-calendar.mjs +259 -102
- package/fesm2022/slotted-angular-event-calendar.mjs.map +1 -1
- package/fesm2022/slotted-angular-field-group.mjs +14 -7
- package/fesm2022/slotted-angular-field-group.mjs.map +1 -1
- package/fesm2022/slotted-angular-field.mjs +35 -15
- package/fesm2022/slotted-angular-field.mjs.map +1 -1
- package/fesm2022/slotted-angular-filter-bar.mjs +104 -43
- package/fesm2022/slotted-angular-filter-bar.mjs.map +1 -1
- package/fesm2022/slotted-angular-form.mjs +18 -10
- package/fesm2022/slotted-angular-form.mjs.map +1 -1
- package/fesm2022/slotted-angular-fullscreen.mjs +14 -8
- package/fesm2022/slotted-angular-fullscreen.mjs.map +1 -1
- package/fesm2022/slotted-angular-grid.mjs +4 -2
- package/fesm2022/slotted-angular-grid.mjs.map +1 -1
- package/fesm2022/slotted-angular-highlight.mjs +5 -3
- package/fesm2022/slotted-angular-highlight.mjs.map +1 -1
- package/fesm2022/slotted-angular-hover-card.mjs +5 -4
- package/fesm2022/slotted-angular-hover-card.mjs.map +1 -1
- package/fesm2022/slotted-angular-icon.mjs +6 -3
- package/fesm2022/slotted-angular-icon.mjs.map +1 -1
- package/fesm2022/slotted-angular-image.mjs +13 -10
- package/fesm2022/slotted-angular-image.mjs.map +1 -1
- package/fesm2022/slotted-angular-import-export-center.mjs +167 -99
- package/fesm2022/slotted-angular-import-export-center.mjs.map +1 -1
- package/fesm2022/slotted-angular-inline-message.mjs +10 -8
- package/fesm2022/slotted-angular-inline-message.mjs.map +1 -1
- package/fesm2022/slotted-angular-inline.mjs +4 -2
- package/fesm2022/slotted-angular-inline.mjs.map +1 -1
- package/fesm2022/slotted-angular-kbd.mjs +11 -7
- package/fesm2022/slotted-angular-kbd.mjs.map +1 -1
- package/fesm2022/slotted-angular-link.mjs +5 -3
- package/fesm2022/slotted-angular-link.mjs.map +1 -1
- package/fesm2022/slotted-angular-list-item.mjs +21 -18
- package/fesm2022/slotted-angular-list-item.mjs.map +1 -1
- package/fesm2022/slotted-angular-list.mjs +14 -10
- package/fesm2022/slotted-angular-list.mjs.map +1 -1
- package/fesm2022/slotted-angular-listbox.mjs +39 -21
- package/fesm2022/slotted-angular-listbox.mjs.map +1 -1
- package/fesm2022/slotted-angular-loading-overlay.mjs +59 -22
- package/fesm2022/slotted-angular-loading-overlay.mjs.map +1 -1
- package/fesm2022/slotted-angular-markdown.mjs +31 -19
- package/fesm2022/slotted-angular-markdown.mjs.map +1 -1
- package/fesm2022/slotted-angular-menu.mjs +41 -27
- package/fesm2022/slotted-angular-menu.mjs.map +1 -1
- package/fesm2022/slotted-angular-menubar.mjs +4 -2
- package/fesm2022/slotted-angular-menubar.mjs.map +1 -1
- package/fesm2022/slotted-angular-message-scroller.mjs +28 -15
- package/fesm2022/slotted-angular-message-scroller.mjs.map +1 -1
- package/fesm2022/slotted-angular-message.mjs +113 -51
- package/fesm2022/slotted-angular-message.mjs.map +1 -1
- package/fesm2022/slotted-angular-multi-select.mjs +133 -57
- package/fesm2022/slotted-angular-multi-select.mjs.map +1 -1
- package/fesm2022/slotted-angular-navigation-menu.mjs +34 -26
- package/fesm2022/slotted-angular-navigation-menu.mjs.map +1 -1
- package/fesm2022/slotted-angular-notification-center.mjs +107 -65
- package/fesm2022/slotted-angular-notification-center.mjs.map +1 -1
- package/fesm2022/slotted-angular-number-field.mjs +23 -11
- package/fesm2022/slotted-angular-number-field.mjs.map +1 -1
- package/fesm2022/slotted-angular-otp-input.mjs +13 -8
- package/fesm2022/slotted-angular-otp-input.mjs.map +1 -1
- package/fesm2022/slotted-angular-page-header.mjs +72 -42
- package/fesm2022/slotted-angular-page-header.mjs.map +1 -1
- package/fesm2022/slotted-angular-page.mjs +18 -9
- package/fesm2022/slotted-angular-page.mjs.map +1 -1
- package/fesm2022/slotted-angular-pagination.mjs +35 -22
- package/fesm2022/slotted-angular-pagination.mjs.map +1 -1
- package/fesm2022/slotted-angular-popover.mjs +25 -18
- package/fesm2022/slotted-angular-popover.mjs.map +1 -1
- package/fesm2022/slotted-angular-progress-indicator.mjs +122 -30
- package/fesm2022/slotted-angular-progress-indicator.mjs.map +1 -1
- package/fesm2022/slotted-angular-prompt-composer.mjs +24 -18
- package/fesm2022/slotted-angular-prompt-composer.mjs.map +1 -1
- package/fesm2022/slotted-angular-prose.mjs +14 -11
- package/fesm2022/slotted-angular-prose.mjs.map +1 -1
- package/fesm2022/slotted-angular-radio-group.mjs +15 -9
- package/fesm2022/slotted-angular-radio-group.mjs.map +1 -1
- package/fesm2022/slotted-angular-rating.mjs +138 -82
- package/fesm2022/slotted-angular-rating.mjs.map +1 -1
- package/fesm2022/slotted-angular-result-state.mjs +16 -12
- package/fesm2022/slotted-angular-result-state.mjs.map +1 -1
- package/fesm2022/slotted-angular-saved-views.mjs +43 -16
- package/fesm2022/slotted-angular-saved-views.mjs.map +1 -1
- package/fesm2022/slotted-angular-scroll-area.mjs +9 -5
- package/fesm2022/slotted-angular-scroll-area.mjs.map +1 -1
- package/fesm2022/slotted-angular-section.mjs +34 -15
- package/fesm2022/slotted-angular-section.mjs.map +1 -1
- package/fesm2022/slotted-angular-segmented-control.mjs +15 -9
- package/fesm2022/slotted-angular-segmented-control.mjs.map +1 -1
- package/fesm2022/slotted-angular-select.mjs +135 -53
- package/fesm2022/slotted-angular-select.mjs.map +1 -1
- package/fesm2022/slotted-angular-side-navigation.mjs +46 -35
- package/fesm2022/slotted-angular-side-navigation.mjs.map +1 -1
- package/fesm2022/slotted-angular-skeleton.mjs +32 -16
- package/fesm2022/slotted-angular-skeleton.mjs.map +1 -1
- package/fesm2022/slotted-angular-slider.mjs +31 -11
- package/fesm2022/slotted-angular-slider.mjs.map +1 -1
- package/fesm2022/slotted-angular-sparkline.mjs +29 -13
- package/fesm2022/slotted-angular-sparkline.mjs.map +1 -1
- package/fesm2022/slotted-angular-split-button.mjs +25 -11
- package/fesm2022/slotted-angular-split-button.mjs.map +1 -1
- package/fesm2022/slotted-angular-splitter.mjs +11 -9
- package/fesm2022/slotted-angular-splitter.mjs.map +1 -1
- package/fesm2022/slotted-angular-stack.mjs +4 -2
- package/fesm2022/slotted-angular-stack.mjs.map +1 -1
- package/fesm2022/slotted-angular-stat-card.mjs +35 -28
- package/fesm2022/slotted-angular-stat-card.mjs.map +1 -1
- package/fesm2022/slotted-angular-status-indicator.mjs +22 -8
- package/fesm2022/slotted-angular-status-indicator.mjs.map +1 -1
- package/fesm2022/slotted-angular-stepper.mjs +40 -15
- package/fesm2022/slotted-angular-stepper.mjs.map +1 -1
- package/fesm2022/slotted-angular-switch.mjs +15 -10
- package/fesm2022/slotted-angular-switch.mjs.map +1 -1
- package/fesm2022/slotted-angular-table-of-contents.mjs +29 -21
- package/fesm2022/slotted-angular-table-of-contents.mjs.map +1 -1
- package/fesm2022/slotted-angular-table.mjs +135 -72
- package/fesm2022/slotted-angular-table.mjs.map +1 -1
- package/fesm2022/slotted-angular-tabs.mjs +31 -14
- package/fesm2022/slotted-angular-tabs.mjs.map +1 -1
- package/fesm2022/slotted-angular-tag.mjs +19 -12
- package/fesm2022/slotted-angular-tag.mjs.map +1 -1
- package/fesm2022/slotted-angular-tags-input.mjs +253 -28
- package/fesm2022/slotted-angular-tags-input.mjs.map +1 -1
- package/fesm2022/slotted-angular-text-field.mjs +49 -15
- package/fesm2022/slotted-angular-text-field.mjs.map +1 -1
- package/fesm2022/slotted-angular-textarea.mjs +5 -3
- package/fesm2022/slotted-angular-textarea.mjs.map +1 -1
- package/fesm2022/slotted-angular-time-field.mjs +46 -12
- package/fesm2022/slotted-angular-time-field.mjs.map +1 -1
- package/fesm2022/slotted-angular-time-picker.mjs +28 -14
- package/fesm2022/slotted-angular-time-picker.mjs.map +1 -1
- package/fesm2022/slotted-angular-time-range-picker.mjs +109 -40
- package/fesm2022/slotted-angular-time-range-picker.mjs.map +1 -1
- package/fesm2022/slotted-angular-timeline.mjs +135 -64
- package/fesm2022/slotted-angular-timeline.mjs.map +1 -1
- package/fesm2022/slotted-angular-toast.mjs +42 -31
- package/fesm2022/slotted-angular-toast.mjs.map +1 -1
- package/fesm2022/slotted-angular-toggle-group.mjs +10 -6
- package/fesm2022/slotted-angular-toggle-group.mjs.map +1 -1
- package/fesm2022/slotted-angular-toggle.mjs +9 -4
- package/fesm2022/slotted-angular-toggle.mjs.map +1 -1
- package/fesm2022/slotted-angular-toolbar.mjs +21 -10
- package/fesm2022/slotted-angular-toolbar.mjs.map +1 -1
- package/fesm2022/slotted-angular-tooltip.mjs +8 -5
- package/fesm2022/slotted-angular-tooltip.mjs.map +1 -1
- package/fesm2022/slotted-angular-top-navigation.mjs +64 -44
- package/fesm2022/slotted-angular-top-navigation.mjs.map +1 -1
- package/fesm2022/slotted-angular-tour.mjs +46 -21
- package/fesm2022/slotted-angular-tour.mjs.map +1 -1
- package/fesm2022/slotted-angular-transfer.mjs +69 -30
- package/fesm2022/slotted-angular-transfer.mjs.map +1 -1
- package/fesm2022/slotted-angular-tree.mjs +74 -26
- package/fesm2022/slotted-angular-tree.mjs.map +1 -1
- package/fesm2022/slotted-angular-typography.mjs +8 -4
- package/fesm2022/slotted-angular-typography.mjs.map +1 -1
- package/fesm2022/slotted-angular-upload.mjs +125 -57
- package/fesm2022/slotted-angular-upload.mjs.map +1 -1
- package/fesm2022/slotted-angular-visually-hidden.mjs +4 -2
- package/fesm2022/slotted-angular-visually-hidden.mjs.map +1 -1
- package/fesm2022/slotted-angular-wizard.mjs +163 -65
- package/fesm2022/slotted-angular-wizard.mjs.map +1 -1
- package/package.json +3 -3
- package/types/slotted-angular-accordion.d.ts.map +1 -1
- package/types/slotted-angular-action-bar.d.ts.map +1 -1
- package/types/slotted-angular-action-sheet.d.ts.map +1 -1
- package/types/slotted-angular-alert.d.ts +1 -1
- package/types/slotted-angular-alert.d.ts.map +1 -1
- package/types/slotted-angular-app-shell.d.ts.map +1 -1
- package/types/slotted-angular-aspect-ratio.d.ts.map +1 -1
- package/types/slotted-angular-attachment.d.ts +1 -1
- package/types/slotted-angular-attachment.d.ts.map +1 -1
- package/types/slotted-angular-avatar-group.d.ts.map +1 -1
- package/types/slotted-angular-avatar.d.ts.map +1 -1
- package/types/slotted-angular-badge.d.ts.map +1 -1
- package/types/slotted-angular-breadcrumb.d.ts.map +1 -1
- package/types/slotted-angular-button-group.d.ts.map +1 -1
- package/types/slotted-angular-button.d.ts.map +1 -1
- package/types/slotted-angular-calendar.d.ts.map +1 -1
- package/types/slotted-angular-card.d.ts.map +1 -1
- package/types/slotted-angular-carousel.d.ts.map +1 -1
- package/types/slotted-angular-cascader.d.ts.map +1 -1
- package/types/slotted-angular-chart.d.ts.map +1 -1
- package/types/slotted-angular-checkbox-group.d.ts.map +1 -1
- package/types/slotted-angular-checkbox.d.ts.map +1 -1
- package/types/slotted-angular-code-block.d.ts +1 -1
- package/types/slotted-angular-code-block.d.ts.map +1 -1
- package/types/slotted-angular-collapsible.d.ts +1 -1
- package/types/slotted-angular-collapsible.d.ts.map +1 -1
- package/types/slotted-angular-color-picker.d.ts.map +1 -1
- package/types/slotted-angular-column-manager.d.ts.map +1 -1
- package/types/slotted-angular-combobox.d.ts +1 -1
- package/types/slotted-angular-combobox.d.ts.map +1 -1
- package/types/slotted-angular-command-palette.d.ts.map +1 -1
- package/types/slotted-angular-container.d.ts.map +1 -1
- package/types/slotted-angular-context-menu.d.ts.map +1 -1
- package/types/slotted-angular-currency-field.d.ts +39 -13
- package/types/slotted-angular-currency-field.d.ts.map +1 -1
- package/types/slotted-angular-dashboard-grid.d.ts.map +1 -1
- package/types/slotted-angular-data-grid.d.ts +26 -2
- package/types/slotted-angular-data-grid.d.ts.map +1 -1
- package/types/slotted-angular-data-list.d.ts.map +1 -1
- package/types/slotted-angular-date-field.d.ts.map +1 -1
- package/types/slotted-angular-date-picker.d.ts.map +1 -1
- package/types/slotted-angular-date-range-picker.d.ts.map +1 -1
- package/types/slotted-angular-datetime-field.d.ts.map +1 -1
- package/types/slotted-angular-datetime-picker.d.ts.map +1 -1
- package/types/slotted-angular-datetime-range-picker.d.ts.map +1 -1
- package/types/slotted-angular-description-list.d.ts.map +1 -1
- package/types/slotted-angular-detail-panel.d.ts.map +1 -1
- package/types/slotted-angular-dialog.d.ts +2 -1
- package/types/slotted-angular-dialog.d.ts.map +1 -1
- package/types/slotted-angular-divider.d.ts.map +1 -1
- package/types/slotted-angular-drawer.d.ts.map +1 -1
- package/types/slotted-angular-entity-picker.d.ts.map +1 -1
- package/types/slotted-angular-event-calendar.d.ts.map +1 -1
- package/types/slotted-angular-field-group.d.ts.map +1 -1
- package/types/slotted-angular-field.d.ts.map +1 -1
- package/types/slotted-angular-filter-bar.d.ts.map +1 -1
- package/types/slotted-angular-form.d.ts.map +1 -1
- package/types/slotted-angular-fullscreen.d.ts.map +1 -1
- package/types/slotted-angular-grid.d.ts.map +1 -1
- package/types/slotted-angular-highlight.d.ts.map +1 -1
- package/types/slotted-angular-hover-card.d.ts.map +1 -1
- package/types/slotted-angular-icon.d.ts +1 -1
- package/types/slotted-angular-icon.d.ts.map +1 -1
- package/types/slotted-angular-image.d.ts.map +1 -1
- package/types/slotted-angular-import-export-center.d.ts.map +1 -1
- package/types/slotted-angular-inline-message.d.ts +1 -1
- package/types/slotted-angular-inline-message.d.ts.map +1 -1
- package/types/slotted-angular-inline.d.ts.map +1 -1
- package/types/slotted-angular-kbd.d.ts.map +1 -1
- package/types/slotted-angular-link.d.ts.map +1 -1
- package/types/slotted-angular-list-item.d.ts.map +1 -1
- package/types/slotted-angular-list.d.ts.map +1 -1
- package/types/slotted-angular-listbox.d.ts.map +1 -1
- package/types/slotted-angular-loading-overlay.d.ts.map +1 -1
- package/types/slotted-angular-markdown.d.ts.map +1 -1
- package/types/slotted-angular-menu.d.ts.map +1 -1
- package/types/slotted-angular-menubar.d.ts.map +1 -1
- package/types/slotted-angular-message-scroller.d.ts.map +1 -1
- package/types/slotted-angular-message.d.ts.map +1 -1
- package/types/slotted-angular-multi-select.d.ts +1 -1
- package/types/slotted-angular-multi-select.d.ts.map +1 -1
- package/types/slotted-angular-navigation-menu.d.ts.map +1 -1
- package/types/slotted-angular-notification-center.d.ts.map +1 -1
- package/types/slotted-angular-number-field.d.ts.map +1 -1
- package/types/slotted-angular-otp-input.d.ts.map +1 -1
- package/types/slotted-angular-page-header.d.ts +1 -1
- package/types/slotted-angular-page-header.d.ts.map +1 -1
- package/types/slotted-angular-page.d.ts.map +1 -1
- package/types/slotted-angular-pagination.d.ts.map +1 -1
- package/types/slotted-angular-popover.d.ts.map +1 -1
- package/types/slotted-angular-progress-indicator.d.ts.map +1 -1
- package/types/slotted-angular-prompt-composer.d.ts.map +1 -1
- package/types/slotted-angular-prose.d.ts.map +1 -1
- package/types/slotted-angular-radio-group.d.ts.map +1 -1
- package/types/slotted-angular-rating.d.ts.map +1 -1
- package/types/slotted-angular-result-state.d.ts.map +1 -1
- package/types/slotted-angular-saved-views.d.ts.map +1 -1
- package/types/slotted-angular-scroll-area.d.ts.map +1 -1
- package/types/slotted-angular-section.d.ts.map +1 -1
- package/types/slotted-angular-segmented-control.d.ts.map +1 -1
- package/types/slotted-angular-select.d.ts +1 -1
- package/types/slotted-angular-select.d.ts.map +1 -1
- package/types/slotted-angular-side-navigation.d.ts.map +1 -1
- package/types/slotted-angular-skeleton.d.ts.map +1 -1
- package/types/slotted-angular-slider.d.ts.map +1 -1
- package/types/slotted-angular-sparkline.d.ts.map +1 -1
- package/types/slotted-angular-split-button.d.ts.map +1 -1
- package/types/slotted-angular-splitter.d.ts.map +1 -1
- package/types/slotted-angular-stack.d.ts.map +1 -1
- package/types/slotted-angular-stat-card.d.ts.map +1 -1
- package/types/slotted-angular-status-indicator.d.ts +1 -1
- package/types/slotted-angular-status-indicator.d.ts.map +1 -1
- package/types/slotted-angular-stepper.d.ts +1 -1
- package/types/slotted-angular-stepper.d.ts.map +1 -1
- package/types/slotted-angular-switch.d.ts.map +1 -1
- package/types/slotted-angular-table-of-contents.d.ts.map +1 -1
- package/types/slotted-angular-table.d.ts.map +1 -1
- package/types/slotted-angular-tabs.d.ts.map +1 -1
- package/types/slotted-angular-tag.d.ts.map +1 -1
- package/types/slotted-angular-tags-input.d.ts +33 -1
- package/types/slotted-angular-tags-input.d.ts.map +1 -1
- package/types/slotted-angular-text-field.d.ts.map +1 -1
- package/types/slotted-angular-textarea.d.ts.map +1 -1
- package/types/slotted-angular-time-field.d.ts.map +1 -1
- package/types/slotted-angular-time-picker.d.ts.map +1 -1
- package/types/slotted-angular-time-range-picker.d.ts.map +1 -1
- package/types/slotted-angular-timeline.d.ts.map +1 -1
- package/types/slotted-angular-toast.d.ts +2 -2
- package/types/slotted-angular-toast.d.ts.map +1 -1
- package/types/slotted-angular-toggle-group.d.ts.map +1 -1
- package/types/slotted-angular-toggle.d.ts.map +1 -1
- package/types/slotted-angular-toolbar.d.ts.map +1 -1
- package/types/slotted-angular-tooltip.d.ts.map +1 -1
- package/types/slotted-angular-top-navigation.d.ts.map +1 -1
- package/types/slotted-angular-tour.d.ts.map +1 -1
- package/types/slotted-angular-transfer.d.ts.map +1 -1
- package/types/slotted-angular-tree.d.ts.map +1 -1
- package/types/slotted-angular-typography.d.ts.map +1 -1
- package/types/slotted-angular-upload.d.ts +2 -2
- package/types/slotted-angular-upload.d.ts.map +1 -1
- package/types/slotted-angular-visually-hidden.d.ts.map +1 -1
- package/types/slotted-angular-wizard.d.ts.map +1 -1
package/docs/code-block.md
CHANGED
|
@@ -58,43 +58,43 @@ Excerpt — not a complete module
|
|
|
58
58
|
|
|
59
59
|
| Name | Type | Default | Applies to | Description |
|
|
60
60
|
| --- | --- | --- | --- | --- |
|
|
61
|
-
| `code` | `string` | — | CodeBlock |
|
|
62
|
-
| `language` | `string` | text | CodeBlock | data-language
|
|
63
|
-
| `highlight` | `CodeHighlighter \| null` | — | CodeBlock |
|
|
64
|
-
| `tokens` | `CodeLine[]` | — | CodeBlock |
|
|
65
|
-
| `title` | `string` | — | CodeBlock |
|
|
66
|
-
| `fileName` | `string` | — | CodeBlock |
|
|
67
|
-
| `lineNumbers` | `boolean` | false | CodeBlock |
|
|
68
|
-
| `start` | `number` | 1 | CodeBlock |
|
|
69
|
-
| `marks` | `CodeMarks` | — | CodeBlock | highlight, add, remove, focus, error, warning —
|
|
70
|
-
| `wrap` | `model<boolean \| undefined>` | — | CodeBlock | [(wrap)]:
|
|
71
|
-
| `defaultWrap` | `boolean` | false | CodeBlock |
|
|
72
|
-
| `collapseAfter` | `number` | — | CodeBlock |
|
|
73
|
-
| `revealed` | `model<boolean \| undefined>` | — | CodeBlock | [(revealed)]:
|
|
74
|
-
| `defaultRevealed` | `boolean` | false | CodeBlock |
|
|
75
|
-
| `maxLines` | `number` | — | CodeBlock |
|
|
76
|
-
| `copy` | `boolean` | true | CodeBlock |
|
|
77
|
-
| `copyRemoved` | `boolean` | false | CodeBlock |
|
|
78
|
-
| `loading` | `boolean` | false | CodeBlock | Skeletons
|
|
79
|
-
| `tabSize` | `number` | 2 | CodeBlock |
|
|
80
|
-
| `messages` | `PartialMessages<CodeBlockMessages>` | — | slCodeBlock |
|
|
81
|
-
| `ng-template[slCodeBlockLine]` | `
|
|
82
|
-
| `[slCodeBlockAction]` | `
|
|
83
|
-
| `exportAs` | `slCodeBlock` | — | CodeBlock |
|
|
84
|
-
| `ng-template[slCodeBlockLine]` | `let-tokens, let-number="number", let-mark="mark", let-dim="dim"` | — | CodeBlock |
|
|
85
|
-
| `[slCodeBlockAction]` | `ng-content` | — | CodeBlock |
|
|
86
|
-
| `provideCodeBlockDefaults()` | `highlight \| lineNumbers \| copy` | — | Injector |
|
|
87
|
-
| `slTabs` | `
|
|
88
|
-
| `id, aria-*, data-*, (keydown)` | `
|
|
61
|
+
| `code` | `string` | — | CodeBlock | The source, as text. Never HTML |
|
|
62
|
+
| `language` | `string` | text | CodeBlock | data-language and class="language-<x>" |
|
|
63
|
+
| `highlight` | `CodeHighlighter \| null` | — | CodeBlock | The engine; null refuses the injector’s |
|
|
64
|
+
| `tokens` | `CodeLine[]` | — | CodeBlock | Lines the consumer already tokenized |
|
|
65
|
+
| `title` | `string` | — | CodeBlock | The file name in the header, and the region name |
|
|
66
|
+
| `fileName` | `string` | — | CodeBlock | The name for the glyph, when the title is not the name |
|
|
67
|
+
| `lineNumbers` | `boolean` | false | CodeBlock | The counter in the gutter |
|
|
68
|
+
| `start` | `number` | 1 | CodeBlock | The number of the first line |
|
|
69
|
+
| `marks` | `CodeMarks` | — | CodeBlock | highlight, add, remove, focus, error, warning — ranges "1,4-6" or lists |
|
|
70
|
+
| `wrap` | `model<boolean \| undefined>` | — | CodeBlock | [(wrap)]: present means controlled, for the life of the block |
|
|
71
|
+
| `defaultWrap` | `boolean` | false | CodeBlock | Where an uncontrolled block starts |
|
|
72
|
+
| `collapseAfter` | `number` | — | CodeBlock | Visible lines before the reveal control |
|
|
73
|
+
| `revealed` | `model<boolean \| undefined>` | — | CodeBlock | [(revealed)]: present means controlled |
|
|
74
|
+
| `defaultRevealed` | `boolean` | false | CodeBlock | Where an uncontrolled block starts |
|
|
75
|
+
| `maxLines` | `number` | — | CodeBlock | Lines before the body scrolls |
|
|
76
|
+
| `copy` | `boolean` | true | CodeBlock | The copy control |
|
|
77
|
+
| `copyRemoved` | `boolean` | false | CodeBlock | Keeps the removed lines in the copy |
|
|
78
|
+
| `loading` | `boolean` | false | CodeBlock | Skeletons at the height of six lines, aria-busy, no copy |
|
|
79
|
+
| `tabSize` | `number` | 2 | CodeBlock | Width of a tab, for the continuation indent |
|
|
80
|
+
| `messages` | `PartialMessages<CodeBlockMessages>` | — | slCodeBlock | The family’s words over the current locale, key by key |
|
|
81
|
+
| `ng-template[slCodeBlockLine]` | `projection` | — | CodeBlock | Replaces the token run of each line; receives the tokens, the number, the mark and the dimming |
|
|
82
|
+
| `[slCodeBlockAction]` | `projection` | — | CodeBlock | Consumer controls next to copy and wrap |
|
|
83
|
+
| `exportAs` | `slCodeBlock` | — | CodeBlock | Reaches the instance from the template: #block="slCodeBlock" and block.copyCode() or block.scrollToLine(12) |
|
|
84
|
+
| `ng-template[slCodeBlockLine]` | `let-tokens, let-number="number", let-mark="mark", let-dim="dim"` | — | CodeBlock | The line the application’s way; the gutter stays the family’s |
|
|
85
|
+
| `[slCodeBlockAction]` | `ng-content` | — | CodeBlock | A "Run" or an "Open in editor" next to the controls |
|
|
86
|
+
| `provideCodeBlockDefaults()` | `highlight \| lineNumbers \| copy` | — | Injector | The engine loaded once, for every block below; an input on the block wins |
|
|
87
|
+
| `slTabs` | `composition` | — | around | Several files: one block per panel |
|
|
88
|
+
| `id, aria-*, data-*, (keydown)` | `native attributes` | — | CodeBlock | Stay on the host element; the consumer’s listener runs alongside the family’s |
|
|
89
89
|
|
|
90
90
|
## Events
|
|
91
91
|
|
|
92
92
|
| Name | Payload | When |
|
|
93
93
|
| --- | --- | --- |
|
|
94
|
-
| `(wrapChangeRequest)` | `ChangeRequest<boolean>` |
|
|
95
|
-
| `(revealedChangeRequest)` | `ChangeRequest<boolean>` |
|
|
96
|
-
| `(copyRequest)` | `{ value, copied, reason, source }` |
|
|
97
|
-
| `(highlightError)` | `unknown` |
|
|
94
|
+
| `(wrapChangeRequest)` | `ChangeRequest<boolean>` | Before the lines wrap or unwrap; [(wrap)] is the other half, the value. The request carries the reason — pointer, keyboard or programmatic — and the source event; cancelling it moves nothing. |
|
|
95
|
+
| `(revealedChangeRequest)` | `ChangeRequest<boolean>` | Before the block reveals or folds the hidden lines; [(revealed)] is the value. The reason is pointer, keyboard, escape or programmatic. |
|
|
96
|
+
| `(copyRequest)` | `{ value, copied, reason, source }` | After the control, or copyCode(), writes to the clipboard. copied is false when the platform refused. |
|
|
97
|
+
| `(highlightError)` | `unknown` | When the engine rejects. The plain text stays. |
|
|
98
98
|
|
|
99
99
|
## Axes and defaults
|
|
100
100
|
|
|
@@ -106,11 +106,11 @@ Excerpt — not a complete module
|
|
|
106
106
|
|
|
107
107
|
## Rules
|
|
108
108
|
|
|
109
|
-
-
|
|
110
|
-
-
|
|
111
|
-
-
|
|
112
|
-
-
|
|
113
|
-
-
|
|
109
|
+
- The block has no role: it is text, read as text. Carbon’s role="textbox" with aria-readonly on a block nobody edits is refused in writing in the contract.
|
|
110
|
+
- The body is a scroll-area: role="region", tabindex="0" and a name — the title, then aria-label, then "Code" — only while the code overflows, which is what SC 2.1.1 and scrollable-region-focusable ask for. The scroll keys are the platform’s; the family writes none.
|
|
111
|
+
- The gutter of numbers and signs is aria-hidden and user-select: none: a screen reader hears the code and not a count, and a selection across the block copies code and nothing else.
|
|
112
|
+
- The copy control announces "Copied" or "Copy failed" through the shared live-announcer and swaps the glyph as well as the color; the wrap control is aria-pressed; the reveal control carries aria-expanded and aria-controls pointing to the body.
|
|
113
|
+
- Engine HTML never enters: the tokens are text in spans, and a <script> in a sample is the six characters it is.
|
|
114
114
|
|
|
115
115
|
## Tokens
|
|
116
116
|
|
|
@@ -118,9 +118,9 @@ Excerpt — not a complete module
|
|
|
118
118
|
|
|
119
119
|
## Examples
|
|
120
120
|
|
|
121
|
-
###
|
|
121
|
+
### Text first, tokens when they arrive
|
|
122
122
|
|
|
123
|
-
|
|
123
|
+
The block draws the plain text on the first paint and swaps in the tokens line by line when the engine answers: the height does not change, because each line is a row of the grid. The colors are the theme’s --slotted-code-* scale, and change with the scheme.
|
|
124
124
|
|
|
125
125
|
Excerpt — not a complete module
|
|
126
126
|
|
|
@@ -128,9 +128,9 @@ Excerpt — not a complete module
|
|
|
128
128
|
<div slCodeBlock [code]="source" [highlight]="tokenise" language="ts"></div>
|
|
129
129
|
```
|
|
130
130
|
|
|
131
|
-
### Prism
|
|
131
|
+
### Prism and Shiki come in through the mappings
|
|
132
132
|
|
|
133
|
-
|
|
133
|
+
The family loads no grammar. fromPrismTokens folds the standard Prism names onto the twelve scopes; fromShikiTokens reads the last TextMate scope of each token. Engine HTML never enters: what arrives is text in spans.
|
|
134
134
|
|
|
135
135
|
Excerpt — not a complete module
|
|
136
136
|
|
|
@@ -142,9 +142,9 @@ const shiki = async (code, lang) =>
|
|
|
142
142
|
);
|
|
143
143
|
```
|
|
144
144
|
|
|
145
|
-
###
|
|
145
|
+
### Line numbers
|
|
146
146
|
|
|
147
|
-
lineNumbers
|
|
147
|
+
lineNumbers draws a counter in a gutter wide enough for the last number, measured in ch; start says where it begins. The gutter is aria-hidden and user-select: none, so a selection across the block copies code and nothing else.
|
|
148
148
|
|
|
149
149
|
Excerpt — not a complete module
|
|
150
150
|
|
|
@@ -152,9 +152,9 @@ Excerpt — not a complete module
|
|
|
152
152
|
<div slCodeBlock [code]="source" language="ts" lineNumbers start="98"></div>
|
|
153
153
|
```
|
|
154
154
|
|
|
155
|
-
###
|
|
155
|
+
### Marked lines
|
|
156
156
|
|
|
157
|
-
marks
|
|
157
|
+
marks takes ranges "1,4-6" or lists of numbers: highlight tints with the accent and a bar at the edge; error and warning with danger and warning. The tint is the tone’s text color at 7.5%, so no scope falls below 4.5:1.
|
|
158
158
|
|
|
159
159
|
Excerpt — not a complete module
|
|
160
160
|
|
|
@@ -167,9 +167,9 @@ Excerpt — not a complete module
|
|
|
167
167
|
></div>
|
|
168
168
|
```
|
|
169
169
|
|
|
170
|
-
###
|
|
170
|
+
### A diff
|
|
171
171
|
|
|
172
|
-
add
|
|
172
|
+
add and remove tint with success and danger and write + and − in the gutter, by CSS. The copy control leaves the removed lines out, because the code after the change is what gets pasted; copyRemoved keeps them.
|
|
173
173
|
|
|
174
174
|
Excerpt — not a complete module
|
|
175
175
|
|
|
@@ -183,9 +183,9 @@ Excerpt — not a complete module
|
|
|
183
183
|
></div>
|
|
184
184
|
```
|
|
185
185
|
|
|
186
|
-
###
|
|
186
|
+
### Focus on one part of the block
|
|
187
187
|
|
|
188
|
-
focus
|
|
188
|
+
focus dims and blurs the lines outside the range; the block lifts the veil with the pointer over it or focus inside, so whoever wants the rest gets it. Under reduced-motion the blur goes and the dimming stays, because the dimming is the information.
|
|
189
189
|
|
|
190
190
|
Excerpt — not a complete module
|
|
191
191
|
|
|
@@ -193,9 +193,9 @@ Excerpt — not a complete module
|
|
|
193
193
|
<div slCodeBlock [code]="source" language="json" [marks]="{ focus: '3-6' }"></div>
|
|
194
194
|
```
|
|
195
195
|
|
|
196
|
-
###
|
|
196
|
+
### Wrapping long lines
|
|
197
197
|
|
|
198
|
-
|
|
198
|
+
The wrap control appears only while a line overflows — the Docusaurus rule — and is a pressed button. The continuation of a wrapped line indents to the code’s own indent, measured once per line in ch.
|
|
199
199
|
|
|
200
200
|
Excerpt — not a complete module
|
|
201
201
|
|
|
@@ -209,9 +209,9 @@ Excerpt — not a complete module
|
|
|
209
209
|
></div>
|
|
210
210
|
```
|
|
211
211
|
|
|
212
|
-
###
|
|
212
|
+
### A named file
|
|
213
213
|
|
|
214
|
-
title
|
|
214
|
+
title puts up the header with the name in mono, the glyph of the file kind — a text sheet for a .ts, a table sheet for a .csv — and the language at the end. The title is also the name of the scroll region.
|
|
215
215
|
|
|
216
216
|
Excerpt — not a complete module
|
|
217
217
|
|
|
@@ -219,9 +219,9 @@ Excerpt — not a complete module
|
|
|
219
219
|
<div slCodeBlock [code]="rows" language="csv" title="orders-2026-09.csv"></div>
|
|
220
220
|
```
|
|
221
221
|
|
|
222
|
-
###
|
|
222
|
+
### Folded behind "Show more"
|
|
223
223
|
|
|
224
|
-
collapseAfter
|
|
224
|
+
collapseAfter hides what goes past n lines behind a control; the last visible line fades into it. revealed is the state model; Escape inside the revealed block folds it and keeps focus. The hidden lines stay in the DOM and in a selection.
|
|
225
225
|
|
|
226
226
|
Excerpt — not a complete module
|
|
227
227
|
|
|
@@ -236,9 +236,9 @@ Excerpt — not a complete module
|
|
|
236
236
|
></div>
|
|
237
237
|
```
|
|
238
238
|
|
|
239
|
-
###
|
|
239
|
+
### Scrolling past a maximum
|
|
240
240
|
|
|
241
|
-
maxLines
|
|
241
|
+
maxLines limits the body height and the scroll-area scrolls the rest, with the region named and reachable by Tab. It composes with collapseAfter: a block folded at eight and, revealed, scrolling past forty.
|
|
242
242
|
|
|
243
243
|
Excerpt — not a complete module
|
|
244
244
|
|
|
@@ -246,19 +246,19 @@ Excerpt — not a complete module
|
|
|
246
246
|
<div slCodeBlock [code]="log" language="text" lineNumbers maxLines="12"></div>
|
|
247
247
|
```
|
|
248
248
|
|
|
249
|
-
###
|
|
249
|
+
### Copying
|
|
250
250
|
|
|
251
|
-
|
|
251
|
+
The control writes the code the consumer gave, never the DOM text: no numbers, no signs, no wraps. When done, the check stays two seconds in place of the sheets and "Copied" is announced; copy="false" removes the control; copyCode() copies without it.
|
|
252
252
|
|
|
253
253
|
Excerpt — not a complete module
|
|
254
254
|
|
|
255
255
|
```html
|
|
256
|
-
<div slCodeBlock [code]="source" (copyRequest)="$event.copied && toast('
|
|
256
|
+
<div slCodeBlock [code]="source" (copyRequest)="$event.copied && toast('Copied')"></div>
|
|
257
257
|
```
|
|
258
258
|
|
|
259
|
-
###
|
|
259
|
+
### Code on the way, and no code
|
|
260
260
|
|
|
261
|
-
loading
|
|
261
|
+
loading draws the frame at the height of six lines with skeletons inside and aria-busy, without a copy control — not a spinner, which is for a region that already has content. An empty string is an empty line with its number.
|
|
262
262
|
|
|
263
263
|
Excerpt — not a complete module
|
|
264
264
|
|
|
@@ -266,9 +266,9 @@ Excerpt — not a complete module
|
|
|
266
266
|
<div slCodeBlock code="" loading title="deploy.log"></div>
|
|
267
267
|
```
|
|
268
268
|
|
|
269
|
-
###
|
|
269
|
+
### Content the family did not choose
|
|
270
270
|
|
|
271
|
-
|
|
271
|
+
A 400-character line scrolls and, under wrap, breaks inside an indivisible token instead of escaping the box; Arabic code on an RTL page reads from left to right; a <script> in the sample is six characters.
|
|
272
272
|
|
|
273
273
|
Excerpt — not a complete module
|
|
274
274
|
|
|
@@ -276,9 +276,9 @@ Excerpt — not a complete module
|
|
|
276
276
|
<div slCodeBlock [code]="'<script>alert(1)</script>'" language="html"></div>
|
|
277
277
|
```
|
|
278
278
|
|
|
279
|
-
###
|
|
279
|
+
### Composition
|
|
280
280
|
|
|
281
|
-
|
|
281
|
+
Several files are tabs with one block per panel; a consumer action goes in actions next to copy, through slCodeBlockAction; an ng-template slCodeBlockLine draws a line the application’s way; provideCodeBlockDefaults hands the engine once to the injector.
|
|
282
282
|
|
|
283
283
|
Excerpt — not a complete module
|
|
284
284
|
|
|
@@ -291,13 +291,13 @@ providers: [provideCodeBlockDefaults({ highlight: shiki, lineNumbers: true })];
|
|
|
291
291
|
// </div>
|
|
292
292
|
```
|
|
293
293
|
|
|
294
|
-
###
|
|
294
|
+
### Keyboard
|
|
295
295
|
|
|
296
|
-
Tab: copy, wrap, reveal,
|
|
296
|
+
Tab: copy, wrap, reveal, and the body when it overflows. In the body the arrows, Page, Home, End and Space are the platform’s; Enter and Space on the controls; Escape in a revealed block folds it and keeps focus.
|
|
297
297
|
|
|
298
298
|
Excerpt — not a complete module
|
|
299
299
|
|
|
300
300
|
```html
|
|
301
|
-
<!-- "group.ts, region" —
|
|
301
|
+
<!-- "group.ts, region" — the title, because the body is a named region only while the code overflows. -->
|
|
302
302
|
<div slCodeBlock [code]="wide" language="ts" title="group.ts"></div>
|
|
303
303
|
```
|
package/docs/currency-field.json
CHANGED
|
@@ -242,6 +242,13 @@
|
|
|
242
242
|
"appliesTo": "slCurrencyFieldInput",
|
|
243
243
|
"description": "Overrides how many fraction digits the amount is written with, for a unit price quoted finer than the currency’s cent"
|
|
244
244
|
},
|
|
245
|
+
{
|
|
246
|
+
"name": "unit",
|
|
247
|
+
"type": "'major' | 'minor'",
|
|
248
|
+
"defaultValue": "major",
|
|
249
|
+
"appliesTo": "slCurrencyFieldInput, provideCurrencyFieldDefaults",
|
|
250
|
+
"description": "The unit value, defaultValue, min, max, the steps, stepFrom, (valueChange), the form model and the submitted amount are in: major is 12.34, minor the integer 1234 of the currency’s minor unit, which fractionDigits decides when set"
|
|
251
|
+
},
|
|
245
252
|
{
|
|
246
253
|
"name": "min",
|
|
247
254
|
"type": "number",
|
package/docs/currency-field.md
CHANGED
|
@@ -61,6 +61,7 @@ Excerpt — not a complete module
|
|
|
61
61
|
| `locale` | `string` | the language in force | slCurrencyFieldInput | BCP 47. It decides the separators, where the symbol goes and the numbering system — never the symbol itself, which is the currency’s |
|
|
62
62
|
| `format` | `Intl.NumberFormatOptions` | — | slCurrencyFieldInput | Any other Intl option: currencySign for accounting parentheses, signDisplay, useGrouping, roundingMode. Every key here wins over the family’s own; style and currency are the family’s |
|
|
63
63
|
| `fractionDigits` | `number` | the currency’s minor units | slCurrencyFieldInput | Overrides how many fraction digits the amount is written with, for a unit price quoted finer than the currency’s cent |
|
|
64
|
+
| `unit` | `'major' \| 'minor'` | major | slCurrencyFieldInput, provideCurrencyFieldDefaults | The unit value, defaultValue, min, max, the steps, stepFrom, (valueChange), the form model and the submitted amount are in: major is 12.34, minor the integer 1234 of the currency’s minor unit, which fractionDigits decides when set |
|
|
64
65
|
| `min` | `number` | — | slCurrencyFieldInput | The smallest amount the control holds, in major units. It disables the decrement button at the bound, gives Home somewhere to go, and is the one thing that refuses a debit: min="0" is why there is no allowNegative |
|
|
65
66
|
| `max` | `number` | — | slCurrencyFieldInput | The largest amount the control holds. It disables the increment button at the bound and gives End somewhere to go |
|
|
66
67
|
| `step` | `number` | 1 | slCurrencyFieldInput | What the arrows and the two buttons move by, in major units: one real, not one centavo |
|
|
@@ -2253,7 +2253,7 @@ Excerpt — not a complete module
|
|
|
2253
2253
|
|
|
2254
2254
|
### Load more
|
|
2255
2255
|
|
|
2256
|
-
With an unknown total the footer states the range without one
|
|
2256
|
+
With an unknown total the footer states the range without one. loadMore is emitted on its own as the reader nears the end, and the footer says a page is loading; it offers a control only to retry a page that failed (loadMoreFailed). loadMoreTrigger="button" asks only from a Load more control, "both" does the two.
|
|
2257
2257
|
|
|
2258
2258
|
Excerpt — not a complete module
|
|
2259
2259
|
|
package/docs/data-grid.json
CHANGED
|
@@ -98,6 +98,7 @@
|
|
|
98
98
|
"skeletonRows": 8,
|
|
99
99
|
"filterDebounce": 300,
|
|
100
100
|
"loadMoreThreshold": 20,
|
|
101
|
+
"loadMoreTrigger": "scroll",
|
|
101
102
|
"pageSizes": [
|
|
102
103
|
25,
|
|
103
104
|
50,
|
|
@@ -498,7 +499,7 @@
|
|
|
498
499
|
"type": "GridColumn<Row>[]",
|
|
499
500
|
"defaultValue": "—",
|
|
500
501
|
"appliesTo": "sl-data-grid",
|
|
501
|
-
"description": "The column model: id, label, description, kind, accessor, format, compare, width, minWidth, maxWidth, flex, priority, sortable, filterable, searchable, editable, resizable, reorderable, hideable, rowHeader, options, aggregate, validate, parse."
|
|
502
|
+
"description": "The column model: id, label, description, kind, accessor, format, compare, width, minWidth, maxWidth, flex, priority, sortable, filterable, searchable, editable, resizable, reorderable, hideable, rowHeader, pinned (end by default for kind actions), options, aggregate, validate, parse."
|
|
502
503
|
},
|
|
503
504
|
{
|
|
504
505
|
"name": "description",
|
|
@@ -561,7 +562,7 @@
|
|
|
561
562
|
"type": "boolean",
|
|
562
563
|
"defaultValue": "—",
|
|
563
564
|
"appliesTo": "sl-data-grid",
|
|
564
|
-
"description": "Whether a page past this one exists when the total is unknown;
|
|
565
|
+
"description": "Whether a page past this one exists when the total is unknown; loadMoreTrigger decides what asks for it."
|
|
565
566
|
},
|
|
566
567
|
{
|
|
567
568
|
"name": "loading",
|
|
@@ -766,6 +767,20 @@
|
|
|
766
767
|
"appliesTo": "sl-data-grid",
|
|
767
768
|
"description": "Rows left below the window before loadMore is emitted."
|
|
768
769
|
},
|
|
770
|
+
{
|
|
771
|
+
"name": "loadMoreTrigger",
|
|
772
|
+
"type": "'scroll' | 'button' | 'both'",
|
|
773
|
+
"defaultValue": "scroll",
|
|
774
|
+
"appliesTo": "sl-data-grid",
|
|
775
|
+
"description": "What asks for the next page: nearing the end, with a loading status in the footer; a Load more control; or both."
|
|
776
|
+
},
|
|
777
|
+
{
|
|
778
|
+
"name": "loadMoreFailed",
|
|
779
|
+
"type": "boolean",
|
|
780
|
+
"defaultValue": "false",
|
|
781
|
+
"appliesTo": "sl-data-grid",
|
|
782
|
+
"description": "The last page asked for failed: the automatic request stops and the footer offers Try again."
|
|
783
|
+
},
|
|
769
784
|
{
|
|
770
785
|
"name": "skeletonRows",
|
|
771
786
|
"type": "number",
|
|
@@ -934,7 +949,7 @@
|
|
|
934
949
|
"type": "provider",
|
|
935
950
|
"defaultValue": "—",
|
|
936
951
|
"appliesTo": "Application",
|
|
937
|
-
"description": "Sets variant, striped, stickyHeader, stickyTo, selectionMode, editMode, filterRow, virtualize, rowHeight, columnOverflow, overscan, pageSizes, filterDebounce, loadMoreThreshold and skeletonRows once for an injector. A grid that states one itself still wins. Its words and its locale come from the language in force (provideSlotted)."
|
|
952
|
+
"description": "Sets variant, striped, stickyHeader, stickyTo, selectionMode, editMode, filterRow, virtualize, rowHeight, columnOverflow, overscan, pageSizes, filterDebounce, loadMoreThreshold, loadMoreTrigger and skeletonRows once for an injector. A grid that states one itself still wins. Its words and its locale come from the language in force (provideSlotted)."
|
|
938
953
|
},
|
|
939
954
|
{
|
|
940
955
|
"name": "@slotted/core/grid",
|
|
@@ -1097,7 +1112,9 @@
|
|
|
1097
1112
|
"--slotted-control-font-size-md",
|
|
1098
1113
|
"--slotted-control-font-size-sm",
|
|
1099
1114
|
"--slotted-control-gap-md",
|
|
1115
|
+
"--slotted-control-height-lg",
|
|
1100
1116
|
"--slotted-control-height-md",
|
|
1117
|
+
"--slotted-control-height-sm",
|
|
1101
1118
|
"--slotted-control-icon-size-md",
|
|
1102
1119
|
"--slotted-control-inner-size-sm",
|
|
1103
1120
|
"--slotted-control-invalid-edge-width",
|
|
@@ -1416,7 +1433,7 @@
|
|
|
1416
1433
|
{
|
|
1417
1434
|
"id": "load-more",
|
|
1418
1435
|
"title": "Load more",
|
|
1419
|
-
"note": "With an unknown total the footer states the range without one
|
|
1436
|
+
"note": "With an unknown total the footer states the range without one. loadMore is emitted on its own as the reader nears the end, and the footer says a page is loading; it offers a control only to retry a page that failed (loadMoreFailed). loadMoreTrigger=\"button\" asks only from a Load more control, \"both\" does the two.",
|
|
1420
1437
|
"language": "html",
|
|
1421
1438
|
"source": "<sl-data-grid\n rowKey=\"id\"\n [rows]=\"rows()\"\n [columns]=\"columns\"\n [hasMore]=\"hasMore()\"\n [query]=\"{ ...emptyQuery(), page: { cursor: cursor(), size: 50 } }\"\n (loadMore)=\"fetchMore()\"\n/>\n",
|
|
1422
1439
|
"verdict": "excerpt"
|
package/docs/data-grid.md
CHANGED
|
@@ -230,7 +230,7 @@ See [data-grid.props.md](./data-grid.props.md).
|
|
|
230
230
|
|
|
231
231
|
## Tokens
|
|
232
232
|
|
|
233
|
-
`--slotted-border-strong`, `--slotted-border-subtle`, `--slotted-border-width-thick`, `--slotted-border-width-thin`, `--slotted-control-font-family`, `--slotted-control-font-size-md`, `--slotted-control-font-size-sm`, `--slotted-control-gap-md`, `--slotted-control-height-md`, `--slotted-control-icon-size-md`, `--slotted-control-inner-size-sm`, `--slotted-control-invalid-edge-width`, `--slotted-control-padding-inline-md`, `--slotted-control-padding-inline-sm`, `--slotted-control-transition-duration`, `--slotted-control-transition-easing`, `--slotted-data-grid-band-surface`, `--slotted-data-grid-block-size`, `--slotted-data-grid-border-color`, `--slotted-data-grid-border-color-strong`, `--slotted-data-grid-border-width`, `--slotted-data-grid-cell-padding-block`, `--slotted-data-grid-cell-padding-inline`, `--slotted-data-grid-changed-surface`, `--slotted-data-grid-color`, `--slotted-data-grid-color-muted`, `--slotted-data-grid-control-radius`, `--slotted-data-grid-cursor-color`, `--slotted-data-grid-filter-operator-size`, `--slotted-data-grid-filter-panel-size`, `--slotted-data-grid-filter-panel-size-date`, `--slotted-data-grid-filter-panel-size-datetime`, `--slotted-data-grid-font-family`, `--slotted-data-grid-font-size`, `--slotted-data-grid-gap`, `--slotted-data-grid-head-block-size`, `--slotted-data-grid-header-surface`, `--slotted-data-grid-header-surface-hover`, `--slotted-data-grid-icon-size`, `--slotted-data-grid-indent`, `--slotted-data-grid-pin-shadow-color`, `--slotted-data-grid-pin-shadow-size`, `--slotted-data-grid-radius`, `--slotted-data-grid-range-surface`, `--slotted-data-grid-row-block-size`, `--slotted-data-grid-row-color-selected`, `--slotted-data-grid-row-max-block-size`, `--slotted-data-grid-row-surface-hover`, `--slotted-data-grid-row-surface-selected`, `--slotted-data-grid-row-surface-selected-hover`, `--slotted-data-grid-row-surface-stripe`, `--slotted-data-grid-shadow`, `--slotted-data-grid-sticky-offset`, `--slotted-data-grid-sticky-offset-end`, `--slotted-data-grid-surface`, `--slotted-disabled-foreground`, `--slotted-duration-long`, `--slotted-duration-loop`, `--slotted-duration-short`, `--slotted-easing-standard`, `--slotted-focus-ring-color`, `--slotted-focus-ring-color-invalid`, `--slotted-focus-ring-offset`, `--slotted-focus-ring-width`, `--slotted-font-size-xs`, `--slotted-font-weight-medium`, `--slotted-font-weight-regular`, `--slotted-font-weight-semibold`, `--slotted-ground`, `--slotted-line-height-md`, `--slotted-popover-gap`, `--slotted-popover-padding-block-sm`, `--slotted-popover-padding-inline-sm`, `--slotted-radius-md`, `--slotted-radius-sm`, `--slotted-scrim`, `--slotted-shadow-xs`, `--slotted-space-1`, `--slotted-space-2`, `--slotted-space-3`, `--slotted-space-4`, `--slotted-space-5`, `--slotted-space-6`, `--slotted-space-8`, `--slotted-surface`, `--slotted-surface-sunken`, `--slotted-target-comfortable`, `--slotted-target-min`, `--slotted-text`, `--slotted-text-muted`, `--slotted-tone-accent-border`, `--slotted-tone-accent-solid`, `--slotted-tone-accent-subtle-hover`, `--slotted-tone-accent-surface`, `--slotted-tone-accent-text`, `--slotted-tone-danger-border`, `--slotted-tone-secondary-subtle-hover`, `--slotted-z-index-sticky`
|
|
233
|
+
`--slotted-border-strong`, `--slotted-border-subtle`, `--slotted-border-width-thick`, `--slotted-border-width-thin`, `--slotted-control-font-family`, `--slotted-control-font-size-md`, `--slotted-control-font-size-sm`, `--slotted-control-gap-md`, `--slotted-control-height-lg`, `--slotted-control-height-md`, `--slotted-control-height-sm`, `--slotted-control-icon-size-md`, `--slotted-control-inner-size-sm`, `--slotted-control-invalid-edge-width`, `--slotted-control-padding-inline-md`, `--slotted-control-padding-inline-sm`, `--slotted-control-transition-duration`, `--slotted-control-transition-easing`, `--slotted-data-grid-band-surface`, `--slotted-data-grid-block-size`, `--slotted-data-grid-border-color`, `--slotted-data-grid-border-color-strong`, `--slotted-data-grid-border-width`, `--slotted-data-grid-cell-padding-block`, `--slotted-data-grid-cell-padding-inline`, `--slotted-data-grid-changed-surface`, `--slotted-data-grid-color`, `--slotted-data-grid-color-muted`, `--slotted-data-grid-control-radius`, `--slotted-data-grid-cursor-color`, `--slotted-data-grid-filter-operator-size`, `--slotted-data-grid-filter-panel-size`, `--slotted-data-grid-filter-panel-size-date`, `--slotted-data-grid-filter-panel-size-datetime`, `--slotted-data-grid-font-family`, `--slotted-data-grid-font-size`, `--slotted-data-grid-gap`, `--slotted-data-grid-head-block-size`, `--slotted-data-grid-header-surface`, `--slotted-data-grid-header-surface-hover`, `--slotted-data-grid-icon-size`, `--slotted-data-grid-indent`, `--slotted-data-grid-pin-shadow-color`, `--slotted-data-grid-pin-shadow-size`, `--slotted-data-grid-radius`, `--slotted-data-grid-range-surface`, `--slotted-data-grid-row-block-size`, `--slotted-data-grid-row-color-selected`, `--slotted-data-grid-row-max-block-size`, `--slotted-data-grid-row-surface-hover`, `--slotted-data-grid-row-surface-selected`, `--slotted-data-grid-row-surface-selected-hover`, `--slotted-data-grid-row-surface-stripe`, `--slotted-data-grid-shadow`, `--slotted-data-grid-sticky-offset`, `--slotted-data-grid-sticky-offset-end`, `--slotted-data-grid-surface`, `--slotted-disabled-foreground`, `--slotted-duration-long`, `--slotted-duration-loop`, `--slotted-duration-short`, `--slotted-easing-standard`, `--slotted-focus-ring-color`, `--slotted-focus-ring-color-invalid`, `--slotted-focus-ring-offset`, `--slotted-focus-ring-width`, `--slotted-font-size-xs`, `--slotted-font-weight-medium`, `--slotted-font-weight-regular`, `--slotted-font-weight-semibold`, `--slotted-ground`, `--slotted-line-height-md`, `--slotted-popover-gap`, `--slotted-popover-padding-block-sm`, `--slotted-popover-padding-inline-sm`, `--slotted-radius-md`, `--slotted-radius-sm`, `--slotted-scrim`, `--slotted-shadow-xs`, `--slotted-space-1`, `--slotted-space-2`, `--slotted-space-3`, `--slotted-space-4`, `--slotted-space-5`, `--slotted-space-6`, `--slotted-space-8`, `--slotted-surface`, `--slotted-surface-sunken`, `--slotted-target-comfortable`, `--slotted-target-min`, `--slotted-text`, `--slotted-text-muted`, `--slotted-tone-accent-border`, `--slotted-tone-accent-solid`, `--slotted-tone-accent-subtle-hover`, `--slotted-tone-accent-surface`, `--slotted-tone-accent-text`, `--slotted-tone-danger-border`, `--slotted-tone-secondary-subtle-hover`, `--slotted-z-index-sticky`
|
|
234
234
|
|
|
235
235
|
## Examples
|
|
236
236
|
|
package/docs/data-grid.props.md
CHANGED
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
| --- | --- | --- | --- | --- |
|
|
10
10
|
| `rows` | `readonly Row[]` | — | sl-data-grid | The records; the grid never mutates them. Left out when a dataSource answers for them. |
|
|
11
11
|
| `rowKey` | `keyof Row \| (row) => string` | — | sl-data-grid | A field name or a function: the key every state model names a row by. |
|
|
12
|
-
| `columns` | `GridColumn<Row>[]` | — | sl-data-grid | The column model: id, label, description, kind, accessor, format, compare, width, minWidth, maxWidth, flex, priority, sortable, filterable, searchable, editable, resizable, reorderable, hideable, rowHeader, options, aggregate, validate, parse. |
|
|
12
|
+
| `columns` | `GridColumn<Row>[]` | — | sl-data-grid | The column model: id, label, description, kind, accessor, format, compare, width, minWidth, maxWidth, flex, priority, sortable, filterable, searchable, editable, resizable, reorderable, hideable, rowHeader, pinned (end by default for kind actions), options, aggregate, validate, parse. |
|
|
13
13
|
| `description` | `string` | — | GridColumn | What the column is: the header’s accessible description, the caption atop its menu and the first line of its help popover. |
|
|
14
14
|
| `priority` | `number` | — | GridColumn | The lower, the longer the column stays when the frame is too narrow. A column without one leaves before every numbered one; the identity column and an actions column never leave. |
|
|
15
15
|
| `popin` | `boolean` | true | GridColumn | Whether a column with no room moves into the row’s pop-in; false hides it instead. |
|
|
@@ -18,7 +18,7 @@
|
|
|
18
18
|
| `columnGroups` | `GridColumnGroup[]` | — | sl-data-grid | Headings spanning columns, drawn as a row above the names. |
|
|
19
19
|
| `mode` | `'client' \| 'server'` | inferred | sl-data-grid | client applies the query to rows; server draws rows as given. server when totalCount or hasMore is present. |
|
|
20
20
|
| `totalCount` | `number` | — | sl-data-grid | The whole set’s size in server mode; aria-rowcount and the range read it. |
|
|
21
|
-
| `hasMore` | `boolean` | — | sl-data-grid | Whether a page past this one exists when the total is unknown;
|
|
21
|
+
| `hasMore` | `boolean` | — | sl-data-grid | Whether a page past this one exists when the total is unknown; loadMoreTrigger decides what asks for it. |
|
|
22
22
|
| `loading` | `boolean` | false | sl-data-grid | Skeleton rows with no rows to keep; aria-busy and a dimmed body over rows already shown. |
|
|
23
23
|
| `error` | `string \| null` | — | sl-data-grid | The message of a failed load; draws the error state with Try again, which emits retry. |
|
|
24
24
|
| `disabledKeys` | `string[]` | — | sl-data-grid | Rows that are neither selectable nor editable, drawn with data-disabled. |
|
|
@@ -48,6 +48,8 @@
|
|
|
48
48
|
| `rowsReorder` | `{ key, from, to, reason, event }` | — | sl-data-grid | Where a row goes in rows: from, and the index it takes once moved. The consumer moves it. |
|
|
49
49
|
| `highlightChanges` | `boolean \| number` | false | sl-data-grid | Marks a mounted cell whose value changed between two rows, for the stated milliseconds (true is 1200). |
|
|
50
50
|
| `loadMoreThreshold` | `number` | 20 | sl-data-grid | Rows left below the window before loadMore is emitted. |
|
|
51
|
+
| `loadMoreTrigger` | `'scroll' \| 'button' \| 'both'` | scroll | sl-data-grid | What asks for the next page: nearing the end, with a loading status in the footer; a Load more control; or both. |
|
|
52
|
+
| `loadMoreFailed` | `boolean` | false | sl-data-grid | The last page asked for failed: the automatic request stops and the footer offers Try again. |
|
|
51
53
|
| `skeletonRows` | `number` | 8 | sl-data-grid | Rows the first load draws. |
|
|
52
54
|
| `pageSizes` | `number[]` | 25,50,100 | sl-data-grid | The sizes a page-size control in the footer offers, read through injectDataGridDefaults. |
|
|
53
55
|
| `variant` | `'plain' \| 'ruled' \| 'framed'` | ruled | sl-data-grid | No rules, rules between rows, or the border and the radius. |
|
|
@@ -71,7 +73,7 @@
|
|
|
71
73
|
| `align` | `'start' \| 'center' \| 'end'` | start | GridColumn | Where the value sits; a number column sits at the end unless told otherwise. |
|
|
72
74
|
| `numeric` | `boolean` | false | GridColumn | Tabular figures and end alignment; true for kind number. |
|
|
73
75
|
| `text` | `'wrap' \| 'truncate' \| 'nowrap'` | truncate | GridColumn | What a long value does. |
|
|
74
|
-
| `provideDataGridDefaults` | `provider` | — | Application | Sets variant, striped, stickyHeader, stickyTo, selectionMode, editMode, filterRow, virtualize, rowHeight, columnOverflow, overscan, pageSizes, filterDebounce, loadMoreThreshold and skeletonRows once for an injector. A grid that states one itself still wins. Its words and its locale come from the language in force (provideSlotted). |
|
|
76
|
+
| `provideDataGridDefaults` | `provider` | — | Application | Sets variant, striped, stickyHeader, stickyTo, selectionMode, editMode, filterRow, virtualize, rowHeight, columnOverflow, overscan, pageSizes, filterDebounce, loadMoreThreshold, loadMoreTrigger and skeletonRows once for an injector. A grid that states one itself still wins. Its words and its locale come from the language in force (provideSlotted). |
|
|
75
77
|
| `@slotted/core/grid` | `module` | — | Application | applyQuery, emptyQuery, withSortPress, withColumnFilter, withSearch, withPageIndex, withGroup, toGridParams, fromGridParams, normalizeColumnState, serializeColumnState, parseColumnState: the engine the grid runs on, for a server mock, a URL and a saved view. |
|
|
76
78
|
| `slDataGridCell, slDataGridEditor, slDataGridHeader, slDataGridFilter, slDataGridColumnHelp, slDataGridDetail, slDataGridGroup, slDataGridEmpty` | `ng-template directives` | — | sl-data-grid | Every surface a consumer replaces, projected as content; the four column-scoped ones name a column or serve every column, and slDataGridColumnHelp names one column and draws its help button. row, cell, head and body are fixed: the layout and the roles are theirs. |
|
|
77
79
|
| `slDataGridFooter` | `attribute` | — | sl-data-grid | Pagination, a page-size select, a count: the consumer’s own controls projected into the bar the grid draws. |
|