ngwr 16.5.0 → 16.7.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/avatar/styles/_index.scss +39 -0
- package/back-top/styles/_index.scss +6 -0
- package/breadcrumbs/styles/_rules.scss +34 -0
- package/button/styles/_index.scss +45 -2
- package/cascader/styles/_rules.scss +7 -0
- package/charts/chart-legend/styles/_index.scss +1 -9
- package/copy-value/styles/_index.scss +4 -0
- package/counter/styles/_index.scss +1 -8
- package/date-picker/styles/_index.scss +15 -9
- package/dialog/styles/_index.scss +37 -0
- package/dropdown/styles/_index.scss +17 -0
- package/editor/styles/_index.scss +1 -8
- package/event-calendar/styles/_index.scss +2 -6
- package/fesm2022/ngwr-affix.mjs +4 -4
- package/fesm2022/ngwr-affix.mjs.map +1 -1
- package/fesm2022/ngwr-alert.mjs +3 -3
- package/fesm2022/ngwr-anchor.mjs +12 -5
- package/fesm2022/ngwr-anchor.mjs.map +1 -1
- package/fesm2022/ngwr-animations-aurora.mjs +3 -3
- package/fesm2022/ngwr-animations-aurora.mjs.map +1 -1
- package/fesm2022/ngwr-animations-blur-reveal.mjs +3 -3
- package/fesm2022/ngwr-animations-blur-reveal.mjs.map +1 -1
- package/fesm2022/ngwr-animations-click-sparks.mjs +3 -3
- package/fesm2022/ngwr-animations-click-sparks.mjs.map +1 -1
- package/fesm2022/ngwr-animations-confetti.mjs +3 -3
- package/fesm2022/ngwr-animations-confetti.mjs.map +1 -1
- package/fesm2022/ngwr-animations-decode.mjs +3 -3
- package/fesm2022/ngwr-animations-decode.mjs.map +1 -1
- package/fesm2022/ngwr-animations-destruct.mjs +3 -3
- package/fesm2022/ngwr-animations-destruct.mjs.map +1 -1
- package/fesm2022/ngwr-animations-dot-grid.mjs +3 -3
- package/fesm2022/ngwr-animations-dot-grid.mjs.map +1 -1
- package/fesm2022/ngwr-animations-falling-letters.mjs +3 -3
- package/fesm2022/ngwr-animations-falling-letters.mjs.map +1 -1
- package/fesm2022/ngwr-animations-flow-lines.mjs +3 -3
- package/fesm2022/ngwr-animations-flow-lines.mjs.map +1 -1
- package/fesm2022/ngwr-animations-fluid-cursor.mjs +3 -3
- package/fesm2022/ngwr-animations-fluid-cursor.mjs.map +1 -1
- package/fesm2022/ngwr-animations-glitch.mjs +3 -3
- package/fesm2022/ngwr-animations-glitch.mjs.map +1 -1
- package/fesm2022/ngwr-animations-glow-border.mjs +3 -3
- package/fesm2022/ngwr-animations-glow-border.mjs.map +1 -1
- package/fesm2022/ngwr-animations-gradient-flow.mjs +3 -3
- package/fesm2022/ngwr-animations-gradient-flow.mjs.map +1 -1
- package/fesm2022/ngwr-animations-marquee.mjs +4 -3
- package/fesm2022/ngwr-animations-marquee.mjs.map +1 -1
- package/fesm2022/ngwr-animations-orbit.mjs +3 -3
- package/fesm2022/ngwr-animations-orbit.mjs.map +1 -1
- package/fesm2022/ngwr-animations-reveal.mjs +3 -3
- package/fesm2022/ngwr-animations-reveal.mjs.map +1 -1
- package/fesm2022/ngwr-animations-ripple-grid.mjs +3 -3
- package/fesm2022/ngwr-animations-ripple-grid.mjs.map +1 -1
- package/fesm2022/ngwr-animations-rotate-reveal.mjs +3 -3
- package/fesm2022/ngwr-animations-rotate-reveal.mjs.map +1 -1
- package/fesm2022/ngwr-animations-shimmer.mjs +3 -3
- package/fesm2022/ngwr-animations-shimmer.mjs.map +1 -1
- package/fesm2022/ngwr-animations-spotlight.mjs +3 -3
- package/fesm2022/ngwr-animations-spotlight.mjs.map +1 -1
- package/fesm2022/ngwr-animations-thread-lines.mjs +3 -3
- package/fesm2022/ngwr-animations-thread-lines.mjs.map +1 -1
- package/fesm2022/ngwr-animations-tilt.mjs +23 -16
- package/fesm2022/ngwr-animations-tilt.mjs.map +1 -1
- package/fesm2022/ngwr-animations-typewriter.mjs +3 -3
- package/fesm2022/ngwr-animations-typewriter.mjs.map +1 -1
- package/fesm2022/ngwr-avatar.mjs +171 -6
- package/fesm2022/ngwr-avatar.mjs.map +1 -1
- package/fesm2022/ngwr-back-top.mjs +3 -3
- package/fesm2022/ngwr-badge.mjs +6 -6
- package/fesm2022/ngwr-breadcrumbs.mjs +47 -13
- package/fesm2022/ngwr-breadcrumbs.mjs.map +1 -1
- package/fesm2022/ngwr-burger.mjs +3 -3
- package/fesm2022/ngwr-button.mjs +38 -9
- package/fesm2022/ngwr-button.mjs.map +1 -1
- package/fesm2022/ngwr-calendar.mjs +3 -3
- package/fesm2022/ngwr-card.mjs +9 -9
- package/fesm2022/ngwr-carousel.mjs +14 -8
- package/fesm2022/ngwr-carousel.mjs.map +1 -1
- package/fesm2022/ngwr-cascader.mjs +27 -7
- package/fesm2022/ngwr-cascader.mjs.map +1 -1
- package/fesm2022/ngwr-charts-bar-chart.mjs +3 -3
- package/fesm2022/ngwr-charts-boxplot-chart.mjs +3 -3
- package/fesm2022/ngwr-charts-bullet-chart.mjs +3 -3
- package/fesm2022/ngwr-charts-calendar-heatmap.mjs +3 -3
- package/fesm2022/ngwr-charts-candlestick-chart.mjs +3 -3
- package/fesm2022/ngwr-charts-chart-legend.mjs +9 -9
- package/fesm2022/ngwr-charts-core.mjs +18 -11
- package/fesm2022/ngwr-charts-core.mjs.map +1 -1
- package/fesm2022/ngwr-charts-donut-chart.mjs +3 -3
- package/fesm2022/ngwr-charts-funnel-chart.mjs +3 -3
- package/fesm2022/ngwr-charts-gauge.mjs +3 -3
- package/fesm2022/ngwr-charts-heatmap-chart.mjs +3 -3
- package/fesm2022/ngwr-charts-line-chart.mjs +3 -3
- package/fesm2022/ngwr-charts-meter-group.mjs +7 -5
- package/fesm2022/ngwr-charts-meter-group.mjs.map +1 -1
- package/fesm2022/ngwr-charts-radar-chart.mjs +3 -3
- package/fesm2022/ngwr-charts-scatter-chart.mjs +3 -3
- package/fesm2022/ngwr-charts-sparkline.mjs +3 -3
- package/fesm2022/ngwr-charts-treemap-chart.mjs +3 -3
- package/fesm2022/ngwr-charts-waterfall-chart.mjs +3 -3
- package/fesm2022/ngwr-checkbox.mjs +9 -8
- package/fesm2022/ngwr-checkbox.mjs.map +1 -1
- package/fesm2022/ngwr-clipboard.mjs +3 -3
- package/fesm2022/ngwr-collapse.mjs +9 -9
- package/fesm2022/ngwr-color-picker.mjs +27 -7
- package/fesm2022/ngwr-color-picker.mjs.map +1 -1
- package/fesm2022/ngwr-command-palette.mjs +3 -3
- package/fesm2022/ngwr-comment.mjs +7 -6
- package/fesm2022/ngwr-comment.mjs.map +1 -1
- package/fesm2022/ngwr-compare.mjs +3 -3
- package/fesm2022/ngwr-context-menu.mjs +16 -17
- package/fesm2022/ngwr-context-menu.mjs.map +1 -1
- package/fesm2022/ngwr-cookie.mjs +3 -3
- package/fesm2022/ngwr-copy-value.mjs +3 -3
- package/fesm2022/ngwr-counter.mjs +6 -6
- package/fesm2022/ngwr-date-picker-testing.mjs +35 -0
- package/fesm2022/ngwr-date-picker-testing.mjs.map +1 -1
- package/fesm2022/ngwr-date-picker.mjs +151 -54
- package/fesm2022/ngwr-date-picker.mjs.map +1 -1
- package/fesm2022/ngwr-date-stamp.mjs +3 -3
- package/fesm2022/ngwr-date.mjs +40 -16
- package/fesm2022/ngwr-date.mjs.map +1 -1
- package/fesm2022/ngwr-density.mjs +6 -6
- package/fesm2022/ngwr-descriptions.mjs +6 -6
- package/fesm2022/ngwr-dialog.mjs +35 -24
- package/fesm2022/ngwr-dialog.mjs.map +1 -1
- package/fesm2022/ngwr-directives.mjs +189 -23
- package/fesm2022/ngwr-directives.mjs.map +1 -1
- package/fesm2022/ngwr-divider.mjs +3 -3
- package/fesm2022/ngwr-drawer.mjs +18 -18
- package/fesm2022/ngwr-dropdown-testing.mjs +5 -1
- package/fesm2022/ngwr-dropdown-testing.mjs.map +1 -1
- package/fesm2022/ngwr-dropdown.mjs +59 -16
- package/fesm2022/ngwr-dropdown.mjs.map +1 -1
- package/fesm2022/ngwr-editor.mjs +6 -5
- package/fesm2022/ngwr-editor.mjs.map +1 -1
- package/fesm2022/ngwr-empty.mjs +3 -3
- package/fesm2022/ngwr-event-calendar.mjs +27 -15
- package/fesm2022/ngwr-event-calendar.mjs.map +1 -1
- package/fesm2022/ngwr-file-upload-testing.mjs +5 -0
- package/fesm2022/ngwr-file-upload-testing.mjs.map +1 -1
- package/fesm2022/ngwr-file-upload.mjs +68 -13
- package/fesm2022/ngwr-file-upload.mjs.map +1 -1
- package/fesm2022/ngwr-form.mjs +181 -12
- package/fesm2022/ngwr-form.mjs.map +1 -1
- package/fesm2022/ngwr-graph-testing.mjs +30 -0
- package/fesm2022/ngwr-graph-testing.mjs.map +1 -1
- package/fesm2022/ngwr-graph.mjs +100 -11
- package/fesm2022/ngwr-graph.mjs.map +1 -1
- package/fesm2022/ngwr-hotkey.mjs +6 -6
- package/fesm2022/ngwr-i18n-ar.mjs +21 -2
- package/fesm2022/ngwr-i18n-ar.mjs.map +1 -1
- package/fesm2022/ngwr-i18n-cs.mjs +21 -2
- package/fesm2022/ngwr-i18n-cs.mjs.map +1 -1
- package/fesm2022/ngwr-i18n-de.mjs +21 -2
- package/fesm2022/ngwr-i18n-de.mjs.map +1 -1
- package/fesm2022/ngwr-i18n-en.mjs +21 -2
- package/fesm2022/ngwr-i18n-en.mjs.map +1 -1
- package/fesm2022/ngwr-i18n-es.mjs +21 -2
- package/fesm2022/ngwr-i18n-es.mjs.map +1 -1
- package/fesm2022/ngwr-i18n-fr.mjs +21 -2
- package/fesm2022/ngwr-i18n-fr.mjs.map +1 -1
- package/fesm2022/ngwr-i18n-he.mjs +21 -2
- package/fesm2022/ngwr-i18n-he.mjs.map +1 -1
- package/fesm2022/ngwr-i18n-hi.mjs +21 -2
- package/fesm2022/ngwr-i18n-hi.mjs.map +1 -1
- package/fesm2022/ngwr-i18n-id.mjs +21 -2
- package/fesm2022/ngwr-i18n-id.mjs.map +1 -1
- package/fesm2022/ngwr-i18n-it.mjs +21 -2
- package/fesm2022/ngwr-i18n-it.mjs.map +1 -1
- package/fesm2022/ngwr-i18n-ja.mjs +21 -2
- package/fesm2022/ngwr-i18n-ja.mjs.map +1 -1
- package/fesm2022/ngwr-i18n-kk.mjs +520 -0
- package/fesm2022/ngwr-i18n-kk.mjs.map +1 -0
- package/fesm2022/ngwr-i18n-ko.mjs +21 -2
- package/fesm2022/ngwr-i18n-ko.mjs.map +1 -1
- package/fesm2022/ngwr-i18n-nl.mjs +21 -2
- package/fesm2022/ngwr-i18n-nl.mjs.map +1 -1
- package/fesm2022/ngwr-i18n-pl.mjs +21 -2
- package/fesm2022/ngwr-i18n-pl.mjs.map +1 -1
- package/fesm2022/ngwr-i18n-pt.mjs +21 -2
- package/fesm2022/ngwr-i18n-pt.mjs.map +1 -1
- package/fesm2022/ngwr-i18n-ru.mjs +21 -2
- package/fesm2022/ngwr-i18n-ru.mjs.map +1 -1
- package/fesm2022/ngwr-i18n-sv.mjs +21 -2
- package/fesm2022/ngwr-i18n-sv.mjs.map +1 -1
- package/fesm2022/ngwr-i18n-tr.mjs +21 -2
- package/fesm2022/ngwr-i18n-tr.mjs.map +1 -1
- package/fesm2022/ngwr-i18n-uk.mjs +21 -2
- package/fesm2022/ngwr-i18n-uk.mjs.map +1 -1
- package/fesm2022/ngwr-i18n-vi.mjs +21 -2
- package/fesm2022/ngwr-i18n-vi.mjs.map +1 -1
- package/fesm2022/ngwr-i18n-zh-tw.mjs +21 -2
- package/fesm2022/ngwr-i18n-zh-tw.mjs.map +1 -1
- package/fesm2022/ngwr-i18n-zh.mjs +21 -2
- package/fesm2022/ngwr-i18n-zh.mjs.map +1 -1
- package/fesm2022/ngwr-i18n.mjs +91 -20
- package/fesm2022/ngwr-i18n.mjs.map +1 -1
- package/fesm2022/ngwr-icon.mjs +6 -6
- package/fesm2022/ngwr-image-cropper.mjs +8 -4
- package/fesm2022/ngwr-image-cropper.mjs.map +1 -1
- package/fesm2022/ngwr-input-number.mjs +27 -4
- package/fesm2022/ngwr-input-number.mjs.map +1 -1
- package/fesm2022/ngwr-input-otp.mjs +5 -5
- package/fesm2022/ngwr-input-otp.mjs.map +1 -1
- package/fesm2022/ngwr-input.mjs +25 -17
- package/fesm2022/ngwr-input.mjs.map +1 -1
- package/fesm2022/ngwr-keyboard.mjs +3 -3
- package/fesm2022/ngwr-knob.mjs +3 -3
- package/fesm2022/ngwr-layout.mjs +15 -15
- package/fesm2022/ngwr-layout.mjs.map +1 -1
- package/fesm2022/ngwr-lightbox.mjs +8 -8
- package/fesm2022/ngwr-lightbox.mjs.map +1 -1
- package/fesm2022/ngwr-list.mjs +9 -9
- package/fesm2022/ngwr-list.mjs.map +1 -1
- package/fesm2022/ngwr-load-state.mjs +16 -15
- package/fesm2022/ngwr-load-state.mjs.map +1 -1
- package/fesm2022/ngwr-loading-bar-router.mjs.map +1 -1
- package/fesm2022/ngwr-loading-bar.mjs +8 -8
- package/fesm2022/ngwr-loading-bar.mjs.map +1 -1
- package/fesm2022/ngwr-mention.mjs +14 -6
- package/fesm2022/ngwr-mention.mjs.map +1 -1
- package/fesm2022/ngwr-meta.mjs +15 -12
- package/fesm2022/ngwr-meta.mjs.map +1 -1
- package/fesm2022/ngwr-overlay.mjs +9 -9
- package/fesm2022/ngwr-page-header.mjs +24 -3
- package/fesm2022/ngwr-page-header.mjs.map +1 -1
- package/fesm2022/ngwr-pagination-testing.mjs +3 -0
- package/fesm2022/ngwr-pagination-testing.mjs.map +1 -1
- package/fesm2022/ngwr-pagination.mjs +34 -5
- package/fesm2022/ngwr-pagination.mjs.map +1 -1
- package/fesm2022/ngwr-pipes.mjs +35 -28
- package/fesm2022/ngwr-pipes.mjs.map +1 -1
- package/fesm2022/ngwr-platform.mjs +9 -9
- package/fesm2022/ngwr-popconfirm.mjs +9 -7
- package/fesm2022/ngwr-popconfirm.mjs.map +1 -1
- package/fesm2022/ngwr-popover.mjs +162 -18
- package/fesm2022/ngwr-popover.mjs.map +1 -1
- package/fesm2022/ngwr-progress.mjs +75 -10
- package/fesm2022/ngwr-progress.mjs.map +1 -1
- package/fesm2022/ngwr-pull-to-refresh.mjs +3 -3
- package/fesm2022/ngwr-qr.mjs +9 -5
- package/fesm2022/ngwr-qr.mjs.map +1 -1
- package/fesm2022/ngwr-radio.mjs +77 -11
- package/fesm2022/ngwr-radio.mjs.map +1 -1
- package/fesm2022/ngwr-rating.mjs +3 -3
- package/fesm2022/ngwr-resizable.mjs +3 -3
- package/fesm2022/ngwr-result.mjs +12 -12
- package/fesm2022/ngwr-schema-form.mjs +20 -7
- package/fesm2022/ngwr-schema-form.mjs.map +1 -1
- package/fesm2022/ngwr-scroll.mjs +233 -10
- package/fesm2022/ngwr-scroll.mjs.map +1 -1
- package/fesm2022/ngwr-segmented.mjs +23 -3
- package/fesm2022/ngwr-segmented.mjs.map +1 -1
- package/fesm2022/ngwr-select.mjs +106 -26
- package/fesm2022/ngwr-select.mjs.map +1 -1
- package/fesm2022/ngwr-sidebar-testing.mjs +17 -1
- package/fesm2022/ngwr-sidebar-testing.mjs.map +1 -1
- package/fesm2022/ngwr-sidebar.mjs +66 -11
- package/fesm2022/ngwr-sidebar.mjs.map +1 -1
- package/fesm2022/ngwr-skeleton.mjs +3 -3
- package/fesm2022/ngwr-slider.mjs +3 -3
- package/fesm2022/ngwr-sortable-list.mjs +27 -15
- package/fesm2022/ngwr-sortable-list.mjs.map +1 -1
- package/fesm2022/ngwr-speed-dial.mjs +3 -3
- package/fesm2022/ngwr-spinner.mjs +3 -3
- package/fesm2022/ngwr-splitter.mjs +3 -3
- package/fesm2022/ngwr-statistic.mjs +9 -9
- package/fesm2022/ngwr-stepper.mjs +6 -6
- package/fesm2022/ngwr-storage.mjs +4 -4
- package/fesm2022/ngwr-storage.mjs.map +1 -1
- package/fesm2022/ngwr-switch.mjs +5 -5
- package/fesm2022/ngwr-switch.mjs.map +1 -1
- package/fesm2022/ngwr-table-router.mjs +89 -0
- package/fesm2022/ngwr-table-router.mjs.map +1 -0
- package/fesm2022/ngwr-table-testing.mjs +5 -0
- package/fesm2022/ngwr-table-testing.mjs.map +1 -1
- package/fesm2022/ngwr-table.mjs +307 -47
- package/fesm2022/ngwr-table.mjs.map +1 -1
- package/fesm2022/ngwr-tabs-router.mjs +9 -5
- package/fesm2022/ngwr-tabs-router.mjs.map +1 -1
- package/fesm2022/ngwr-tabs-testing.mjs +8 -1
- package/fesm2022/ngwr-tabs-testing.mjs.map +1 -1
- package/fesm2022/ngwr-tabs.mjs +60 -10
- package/fesm2022/ngwr-tabs.mjs.map +1 -1
- package/fesm2022/ngwr-textarea.mjs +5 -5
- package/fesm2022/ngwr-textarea.mjs.map +1 -1
- package/fesm2022/ngwr-theme.mjs +3 -3
- package/fesm2022/ngwr-timeline.mjs +6 -6
- package/fesm2022/ngwr-toast.mjs +43 -15
- package/fesm2022/ngwr-toast.mjs.map +1 -1
- package/fesm2022/ngwr-toolbar.mjs +3 -3
- package/fesm2022/ngwr-tour.mjs +9 -8
- package/fesm2022/ngwr-tour.mjs.map +1 -1
- package/fesm2022/ngwr-transfer.mjs +4 -3
- package/fesm2022/ngwr-transfer.mjs.map +1 -1
- package/fesm2022/ngwr-tree.mjs +3 -3
- package/fesm2022/ngwr-typography.mjs +23 -3
- package/fesm2022/ngwr-typography.mjs.map +1 -1
- package/fesm2022/ngwr-utils-router.mjs +3 -3
- package/fesm2022/ngwr-utils-router.mjs.map +1 -1
- package/fesm2022/ngwr-utils.mjs +74 -4
- package/fesm2022/ngwr-utils.mjs.map +1 -1
- package/fesm2022/ngwr-validators.mjs +33 -1
- package/fesm2022/ngwr-validators.mjs.map +1 -1
- package/fesm2022/ngwr-version.mjs +1 -1
- package/fesm2022/ngwr-version.mjs.map +1 -1
- package/fesm2022/ngwr-virtual-scroll.mjs +3 -3
- package/fesm2022/ngwr-window.mjs +18 -13
- package/fesm2022/ngwr-window.mjs.map +1 -1
- package/file-upload/styles/_index.scss +16 -0
- package/form/styles/_index.scss +37 -0
- package/graph/styles/_index.scss +49 -9
- package/i18n/ar.json +19 -2
- package/i18n/cs.json +19 -2
- package/i18n/de.json +19 -2
- package/i18n/en.json +19 -2
- package/i18n/es.json +19 -2
- package/i18n/fr.json +19 -2
- package/i18n/he.json +19 -2
- package/i18n/hi.json +19 -2
- package/i18n/id.json +19 -2
- package/i18n/it.json +19 -2
- package/i18n/ja.json +19 -2
- package/i18n/kk.json +567 -0
- package/i18n/ko.json +19 -2
- package/i18n/nl.json +19 -2
- package/i18n/pl.json +19 -2
- package/i18n/pt.json +19 -2
- package/i18n/ru.json +19 -2
- package/i18n/sv.json +19 -2
- package/i18n/tr.json +19 -2
- package/i18n/uk.json +19 -2
- package/i18n/vi.json +19 -2
- package/i18n/zh-TW.json +19 -2
- package/i18n/zh.json +19 -2
- package/image-cropper/styles/_index.scss +1 -9
- package/input-number/styles/_index.scss +7 -0
- package/layout/styles/_index.scss +13 -1
- package/llms-full.txt +37 -26
- package/llms.txt +4 -1
- package/loading-bar/styles/_rules.scss +6 -0
- package/package.json +16 -8
- package/page-header/styles/_index.scss +18 -0
- package/pagination/styles/_index.scss +6 -0
- package/popover/styles/_index.scss +9 -0
- package/progress/styles/_index.scss +64 -0
- package/schematics/use/symbol-map.json +7 -0
- package/segmented/styles/_index.scss +7 -0
- package/select/styles/_index.scss +7 -0
- package/sidebar/styles/_index.scss +64 -6
- package/skills/ngwr/SKILL.md +7 -6
- package/skills/ngwr/references/catalog.md +7 -5
- package/sortable-list/styles/_rules.scss +1 -9
- package/speed-dial/styles/_index.scss +6 -0
- package/stepper/styles/_index.scss +1 -9
- package/table/styles/_index.scss +168 -30
- package/tabs/styles/_index.scss +9 -0
- package/theme/_index.scss +12 -1
- package/theme/styles/_colors.scss +11 -0
- package/theme/styles/_contrast.scss +6 -0
- package/theme/styles/_focus.scss +3 -1
- package/theme/styles/_index.scss +1 -0
- package/theme/styles/_mixins.scss +45 -0
- package/theme/styles/_print.scss +17 -0
- package/toast/styles/_index.scss +7 -0
- package/tour/styles/_index.scss +9 -0
- package/tree/styles/_index.scss +1 -9
- package/types/ngwr-anchor.d.ts +3 -0
- package/types/ngwr-animations-aurora.d.ts +6 -0
- package/types/ngwr-animations-blur-reveal.d.ts +6 -0
- package/types/ngwr-animations-click-sparks.d.ts +6 -0
- package/types/ngwr-animations-confetti.d.ts +6 -0
- package/types/ngwr-animations-decode.d.ts +6 -0
- package/types/ngwr-animations-destruct.d.ts +6 -0
- package/types/ngwr-animations-dot-grid.d.ts +6 -0
- package/types/ngwr-animations-falling-letters.d.ts +6 -0
- package/types/ngwr-animations-flow-lines.d.ts +6 -0
- package/types/ngwr-animations-fluid-cursor.d.ts +6 -0
- package/types/ngwr-animations-glitch.d.ts +6 -0
- package/types/ngwr-animations-glow-border.d.ts +6 -0
- package/types/ngwr-animations-gradient-flow.d.ts +6 -0
- package/types/ngwr-animations-marquee.d.ts +6 -0
- package/types/ngwr-animations-orbit.d.ts +6 -0
- package/types/ngwr-animations-reveal.d.ts +6 -0
- package/types/ngwr-animations-ripple-grid.d.ts +6 -0
- package/types/ngwr-animations-rotate-reveal.d.ts +6 -0
- package/types/ngwr-animations-shimmer.d.ts +6 -0
- package/types/ngwr-animations-spotlight.d.ts +6 -0
- package/types/ngwr-animations-thread-lines.d.ts +6 -0
- package/types/ngwr-animations-tilt.d.ts +10 -0
- package/types/ngwr-animations-typewriter.d.ts +6 -0
- package/types/ngwr-avatar.d.ts +39 -0
- package/types/ngwr-breadcrumbs.d.ts +25 -0
- package/types/ngwr-button.d.ts +35 -3
- package/types/ngwr-carousel.d.ts +2 -0
- package/types/ngwr-cascader.d.ts +7 -0
- package/types/ngwr-charts-core.d.ts +16 -0
- package/types/ngwr-charts-meter-group.d.ts +2 -0
- package/types/ngwr-checkbox.d.ts +1 -0
- package/types/ngwr-color-picker.d.ts +1 -0
- package/types/ngwr-context-menu.d.ts +1 -1
- package/types/ngwr-date-picker-testing.d.ts +22 -0
- package/types/ngwr-date-picker.d.ts +97 -17
- package/types/ngwr-date.d.ts +51 -0
- package/types/ngwr-dialog.d.ts +39 -8
- package/types/ngwr-directives.d.ts +57 -4
- package/types/ngwr-drawer.d.ts +1 -1
- package/types/ngwr-dropdown-testing.d.ts +8 -1
- package/types/ngwr-dropdown.d.ts +30 -1
- package/types/ngwr-event-calendar.d.ts +4 -0
- package/types/ngwr-file-upload-testing.d.ts +10 -0
- package/types/ngwr-file-upload.d.ts +55 -1
- package/types/ngwr-form.d.ts +87 -1
- package/types/ngwr-graph-testing.d.ts +28 -1
- package/types/ngwr-graph.d.ts +53 -3
- package/types/ngwr-i18n-kk.d.ts +3 -0
- package/types/ngwr-i18n.d.ts +65 -5
- package/types/ngwr-image-cropper.d.ts +6 -0
- package/types/ngwr-input-number.d.ts +8 -0
- package/types/ngwr-input.d.ts +7 -0
- package/types/ngwr-layout.d.ts +1 -1
- package/types/ngwr-loading-bar-router.d.ts +6 -0
- package/types/ngwr-page-header.d.ts +23 -1
- package/types/ngwr-pagination-testing.d.ts +8 -0
- package/types/ngwr-pagination.d.ts +16 -0
- package/types/ngwr-popconfirm.d.ts +1 -1
- package/types/ngwr-popover.d.ts +67 -4
- package/types/ngwr-progress.d.ts +63 -1
- package/types/ngwr-radio.d.ts +47 -5
- package/types/ngwr-scroll.d.ts +86 -0
- package/types/ngwr-segmented.d.ts +7 -0
- package/types/ngwr-select.d.ts +88 -25
- package/types/ngwr-sidebar-testing.d.ts +21 -7
- package/types/ngwr-sidebar.d.ts +66 -4
- package/types/ngwr-sortable-list.d.ts +20 -7
- package/types/ngwr-table-router.d.ts +49 -0
- package/types/ngwr-table-testing.d.ts +7 -0
- package/types/ngwr-table.d.ts +241 -10
- package/types/ngwr-tabs-router.d.ts +7 -1
- package/types/ngwr-tabs-testing.d.ts +5 -1
- package/types/ngwr-tabs.d.ts +34 -1
- package/types/ngwr-toast.d.ts +11 -0
- package/types/ngwr-tour.d.ts +0 -1
- package/types/ngwr-typography.d.ts +7 -0
- package/types/ngwr-utils-router.d.ts +6 -0
- package/types/ngwr-utils.d.ts +69 -2
- package/types/ngwr-validators.d.ts +49 -1
- package/types/ngwr-version.d.ts +1 -1
- package/typography/styles/_index.scss +4 -0
- package/window/styles/_index.scss +1 -9
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as i0 from "@angular/core";
|
|
2
2
|
import { WrClassInput } from "ngwr/utils";
|
|
3
3
|
import { WrAnchoredPosition, WrOverlayAutoFocus } from "ngwr/overlay";
|
|
4
|
-
import
|
|
4
|
+
import "@angular/cdk/overlay";
|
|
5
5
|
export declare class WrPopconfirm {
|
|
6
6
|
/** Confirmation message. */
|
|
7
7
|
readonly message: import("@angular/core").InputSignal<string>;
|
package/types/ngwr-popover.d.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import * as i0 from "@angular/core";
|
|
2
|
-
import { Signal, TemplateRef } from "@angular/core";
|
|
2
|
+
import { AfterViewInit, Signal, TemplateRef } from "@angular/core";
|
|
3
3
|
import { WrClassInput } from "ngwr/utils";
|
|
4
4
|
import { WrAnchoredPosition, WrOverlayAutoFocus } from "ngwr/overlay";
|
|
5
|
-
import
|
|
5
|
+
import "@angular/cdk/overlay";
|
|
6
6
|
/**
|
|
7
7
|
* What a chart's hover tooltip says about one section.
|
|
8
8
|
*
|
|
@@ -186,7 +186,7 @@ export declare function useChartTooltip(enabled: Signal<boolean | 'hoverable'>,
|
|
|
186
186
|
* @internal
|
|
187
187
|
*/
|
|
188
188
|
export declare function wrCoerceChartTooltip(value: unknown): boolean | 'hoverable';
|
|
189
|
-
export declare class WrPopover {
|
|
189
|
+
export declare class WrPopover implements AfterViewInit {
|
|
190
190
|
/**
|
|
191
191
|
* Content to render inside the panel.
|
|
192
192
|
* - In **popover** mode (default): pass a `TemplateRef`.
|
|
@@ -199,7 +199,11 @@ export declare class WrPopover {
|
|
|
199
199
|
* - `'popover'` (default) — template content, click trigger, dialog
|
|
200
200
|
* semantics.
|
|
201
201
|
* - `'tooltip'` — text content, hover / keyboard-focus trigger,
|
|
202
|
-
* `role="tooltip"`, `aria-describedby` on the host.
|
|
202
|
+
* `role="tooltip"`, `aria-describedby` on the host. A button or link host
|
|
203
|
+
* with no accessible name (no text, `aria-label`, `aria-labelledby` or
|
|
204
|
+
* `title`) is named by the text instead, through `aria-label`, and gets no
|
|
205
|
+
* `aria-describedby`. Your own `aria-label` always wins; when it equals the
|
|
206
|
+
* text, the host is not described by it a second time.
|
|
203
207
|
*/
|
|
204
208
|
readonly mode: import("@angular/core").InputSignal<"popover" | "tooltip">;
|
|
205
209
|
/**
|
|
@@ -275,6 +279,7 @@ export declare class WrPopover {
|
|
|
275
279
|
/** Fires after the panel closes. */
|
|
276
280
|
readonly closed: import("@angular/core").OutputEmitterRef<void>;
|
|
277
281
|
private readonly host;
|
|
282
|
+
private readonly tooltipOnly;
|
|
278
283
|
private readonly focusMonitor;
|
|
279
284
|
private readonly focusTraps;
|
|
280
285
|
private readonly keystroke;
|
|
@@ -310,7 +315,18 @@ export declare class WrPopover {
|
|
|
310
315
|
private openedByKeyboard;
|
|
311
316
|
private showTimer;
|
|
312
317
|
private hideTimer;
|
|
318
|
+
/** The `aria-label` this directive wrote on a host that had no name. */
|
|
319
|
+
private writtenName;
|
|
320
|
+
/** Whether the tooltip text is the host's accessible name, so it must not describe it too. */
|
|
321
|
+
protected readonly namesHost: import("@angular/core").WritableSignal<boolean>;
|
|
322
|
+
private readonly onServer;
|
|
313
323
|
constructor();
|
|
324
|
+
/**
|
|
325
|
+
* The first name, on the server too, where no render hook runs. A view hook
|
|
326
|
+
* rather than an `effect()`: effects run before host bindings, and `<wr-btn>`
|
|
327
|
+
* gets its `role` from one.
|
|
328
|
+
*/
|
|
329
|
+
ngAfterViewInit(): void;
|
|
314
330
|
/** Open the panel. Does nothing while the trigger is disabled. */
|
|
315
331
|
open(): void;
|
|
316
332
|
close(): void;
|
|
@@ -371,6 +387,15 @@ export declare class WrPopover {
|
|
|
371
387
|
* app, where the CDK never expires an origin at all.
|
|
372
388
|
*/
|
|
373
389
|
private fromNavigationKey;
|
|
390
|
+
/**
|
|
391
|
+
* Names a button or link that has no accessible name with the tooltip text,
|
|
392
|
+
* and records whether that text is the host's name either way.
|
|
393
|
+
*
|
|
394
|
+
* A tooltip that only describes leaves an icon-only control unnamed, and one
|
|
395
|
+
* that repeats the name is read twice. An `aria-label` this did not write is
|
|
396
|
+
* the consumer's and is never replaced.
|
|
397
|
+
*/
|
|
398
|
+
private syncName;
|
|
374
399
|
private scheduleShow;
|
|
375
400
|
private scheduleHide;
|
|
376
401
|
private clearTimers;
|
|
@@ -511,6 +536,44 @@ export declare class WrPopover {
|
|
|
511
536
|
"closed": "closed";
|
|
512
537
|
}, never, never, true, never>;
|
|
513
538
|
}
|
|
539
|
+
/**
|
|
540
|
+
* Short form of `[wrPopover]` with `mode="tooltip"`: the same panel, delays,
|
|
541
|
+
* hover and keyboard-focus trigger, and the same naming of an icon-only button.
|
|
542
|
+
*
|
|
543
|
+
* It is `WrPopover` as a host directive, so `exportAs` and `isOpen()` work
|
|
544
|
+
* through `#tip="wrTooltip"` and the inputs keep their `wrPopover` names. Do not
|
|
545
|
+
* put `[wrPopover]` on the same element.
|
|
546
|
+
*
|
|
547
|
+
* @example
|
|
548
|
+
* ```html
|
|
549
|
+
* <wr-btn icon="trash" wrTooltip="Delete" />
|
|
550
|
+
* <wr-btn wrTooltip="Save changes" position="bottom">Save</wr-btn>
|
|
551
|
+
* ```
|
|
552
|
+
*
|
|
553
|
+
* @see https://ngwr.dev/reference/components/popover
|
|
554
|
+
*/
|
|
555
|
+
export declare class WrTooltip {
|
|
556
|
+
/** The hosted popover: `isOpen()`, `open()`, `close()`. */
|
|
557
|
+
readonly popover: WrPopover;
|
|
558
|
+
constructor();
|
|
559
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<WrTooltip, never>;
|
|
560
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<WrTooltip, "[wrTooltip]", ["wrTooltip"], {}, {}, never, never, true, [{
|
|
561
|
+
directive: typeof WrPopover;
|
|
562
|
+
inputs: {
|
|
563
|
+
"wrPopover": "wrTooltip";
|
|
564
|
+
"position": "position";
|
|
565
|
+
"showDelay": "showDelay";
|
|
566
|
+
"hideDelay": "hideDelay";
|
|
567
|
+
"wrPopoverOrigin": "wrPopoverOrigin";
|
|
568
|
+
"wrPopoverDisabled": "wrPopoverDisabled";
|
|
569
|
+
"panelClass": "panelClass";
|
|
570
|
+
};
|
|
571
|
+
outputs: {
|
|
572
|
+
"opened": "opened";
|
|
573
|
+
"closed": "closed";
|
|
574
|
+
};
|
|
575
|
+
}]>;
|
|
576
|
+
}
|
|
514
577
|
/** @internal */
|
|
515
578
|
interface WrTextTooltip {
|
|
516
579
|
/** Show `text` over the host, replacing what this handle showed before. */
|
package/types/ngwr-progress.d.ts
CHANGED
|
@@ -1,4 +1,17 @@
|
|
|
1
1
|
import * as i0 from "@angular/core";
|
|
2
|
+
/**
|
|
3
|
+
* @license
|
|
4
|
+
*
|
|
5
|
+
* Use of this source code is governed by an MIT-style license that can be
|
|
6
|
+
* found in the LICENSE file at https://github.com/thekhegay/ngwr/blob/main/LICENSE
|
|
7
|
+
*/
|
|
8
|
+
/** A point on the track of `<wr-progress>`: a tick at `value`, with an optional label under it. */
|
|
9
|
+
interface WrProgressMark {
|
|
10
|
+
/** Where the mark sits, on the scale of `value`: 0 to 100. */
|
|
11
|
+
readonly value: number;
|
|
12
|
+
/** Text under the mark. */
|
|
13
|
+
readonly label?: string;
|
|
14
|
+
}
|
|
2
15
|
/** Size of a `<wr-progress>`. */
|
|
3
16
|
type WrProgressSize = 'sm' | 'md' | 'lg';
|
|
4
17
|
/**
|
|
@@ -9,15 +22,19 @@ type WrProgressSize = 'sm' | 'md' | 'lg';
|
|
|
9
22
|
* <wr-progress [value]="42" />
|
|
10
23
|
* <wr-progress color="success" [value]="80" />
|
|
11
24
|
* <wr-progress indeterminate />
|
|
25
|
+
* <wr-progress size="sm" [value]="40" [marks]="[{ value: 25, label: 'Q1' }, { value: 50, label: 'Q2' }]" />
|
|
12
26
|
* ```
|
|
13
27
|
*
|
|
14
28
|
* @see https://ngwr.dev/reference/components/progress
|
|
15
29
|
*/
|
|
16
30
|
export declare class WrProgress {
|
|
31
|
+
private readonly host;
|
|
17
32
|
constructor();
|
|
18
33
|
/** Accessible name — `role="progressbar"` needs one. Falls back to `progress.label`. */
|
|
19
34
|
readonly ariaLabel: import("@angular/core").InputSignal<string | null>;
|
|
20
35
|
protected readonly resolvedAriaLabel: import("@angular/core").Signal<string>;
|
|
36
|
+
/** Prefix of the mark label ids the host's `aria-describedby` lists. */
|
|
37
|
+
protected readonly markId: string;
|
|
21
38
|
/**
|
|
22
39
|
* Bar color.
|
|
23
40
|
*
|
|
@@ -44,8 +61,48 @@ export declare class WrProgress {
|
|
|
44
61
|
* @default false
|
|
45
62
|
*/
|
|
46
63
|
readonly indeterminate: import("@angular/core").InputSignalWithTransform<boolean, any>;
|
|
64
|
+
/**
|
|
65
|
+
* Points drawn on the track: a tick at each `value`, on the 0 to 100 scale of
|
|
66
|
+
* `value`, and its `label` under the bar when it has one. A mark outside the
|
|
67
|
+
* range, or with no number, is not drawn. Positions mirror under `dir="rtl"`.
|
|
68
|
+
*
|
|
69
|
+
* A label stays inside the bar: centred on its tick mid-track, leaning inward
|
|
70
|
+
* towards the ends. One that would touch the label before it is hidden and
|
|
71
|
+
* its tick kept, so the earlier mark wins.
|
|
72
|
+
*
|
|
73
|
+
* Marks do not change the value the progressbar announces. The ticks are
|
|
74
|
+
* hidden from assistive tech; the labels are its description
|
|
75
|
+
* (`aria-describedby`), because ARIA treats the content of a progressbar as
|
|
76
|
+
* presentational and would not read them otherwise.
|
|
77
|
+
* `indeterminate` draws no marks: it has no scale to place them on.
|
|
78
|
+
*
|
|
79
|
+
* @example
|
|
80
|
+
* ```html
|
|
81
|
+
* <wr-progress [value]="40" [marks]="[{ value: 25, label: '1 Mar' }, { value: 75, label: '1 Sep' }]" />
|
|
82
|
+
* ```
|
|
83
|
+
*
|
|
84
|
+
* @default []
|
|
85
|
+
*/
|
|
86
|
+
readonly marks: import("@angular/core").InputSignal<readonly WrProgressMark[]>;
|
|
47
87
|
protected readonly clamped: import("@angular/core").Signal<number>;
|
|
88
|
+
/** The marks inside the range, in value order: none while the value is unknown. */
|
|
89
|
+
protected readonly drawnMarks: import("@angular/core").Signal<{
|
|
90
|
+
columns: string;
|
|
91
|
+
value: number;
|
|
92
|
+
label?: string;
|
|
93
|
+
}[]>;
|
|
94
|
+
protected readonly labelledMarks: import("@angular/core").Signal<{
|
|
95
|
+
columns: string;
|
|
96
|
+
value: number;
|
|
97
|
+
label?: string;
|
|
98
|
+
}[]>;
|
|
99
|
+
/** The label ids, in order, or nothing while no mark has a label. */
|
|
100
|
+
protected readonly markLabelIds: import("@angular/core").Signal<string | null>;
|
|
101
|
+
/** Indexes into `labelledMarks` of the labels hidden for touching the one before. */
|
|
102
|
+
protected readonly crowded: import("@angular/core").WritableSignal<ReadonlySet<number>>;
|
|
48
103
|
protected readonly classes: import("@angular/core").Signal<string>;
|
|
104
|
+
/** Hide each label that would touch the last one still shown. Measured, so it follows the bar's width. */
|
|
105
|
+
private fitLabels;
|
|
49
106
|
static ɵfac: i0.ɵɵFactoryDeclaration<WrProgress, never>;
|
|
50
107
|
static ɵcmp: i0.ɵɵComponentDeclaration<WrProgress, "wr-progress", never, {
|
|
51
108
|
"ariaLabel": {
|
|
@@ -73,6 +130,11 @@ export declare class WrProgress {
|
|
|
73
130
|
"required": false;
|
|
74
131
|
"isSignal": true;
|
|
75
132
|
};
|
|
133
|
+
"marks": {
|
|
134
|
+
"alias": "marks";
|
|
135
|
+
"required": false;
|
|
136
|
+
"isSignal": true;
|
|
137
|
+
};
|
|
76
138
|
}, {}, never, never, true, never>;
|
|
77
139
|
}
|
|
78
|
-
export type { WrProgressSize };
|
|
140
|
+
export type { WrProgressMark, WrProgressSize };
|
package/types/ngwr-radio.d.ts
CHANGED
|
@@ -118,11 +118,14 @@ interface WrRadioGroupContext {
|
|
|
118
118
|
/**
|
|
119
119
|
* Hosts a group of `<wr-radio>` children as a single-value selection.
|
|
120
120
|
*
|
|
121
|
-
* A signal-forms native control: it implements `FormValueControl
|
|
121
|
+
* A signal-forms native control: it implements `FormValueControl`, so
|
|
122
122
|
* `[formField]` binds to its `value` model — the currently selected radio's
|
|
123
123
|
* `value`. `[(value)]` works standalone. Classic `[(ngModel)]` / reactive forms
|
|
124
124
|
* keep working through Angular's bridge.
|
|
125
125
|
*
|
|
126
|
+
* `T` is an item of `[options]` and `V` is a radio's value: the return type of
|
|
127
|
+
* `[valueWith]`, or else the type of the value binding.
|
|
128
|
+
*
|
|
126
129
|
* @example
|
|
127
130
|
* ```html
|
|
128
131
|
* <wr-radio-group [formField]="form.size">
|
|
@@ -130,17 +133,41 @@ interface WrRadioGroupContext {
|
|
|
130
133
|
* <wr-radio value="md">Medium</wr-radio>
|
|
131
134
|
* <wr-radio value="lg">Large</wr-radio>
|
|
132
135
|
* </wr-radio-group>
|
|
136
|
+
*
|
|
137
|
+
* <!-- One radio per item, the id in the model -->
|
|
138
|
+
* <wr-radio-group [options]="plans" [displayWith]="planName" [valueWith]="planId" [(value)]="planId" />
|
|
133
139
|
* ```
|
|
134
140
|
*
|
|
135
141
|
* @see https://ngwr.dev/reference/components/radio
|
|
136
142
|
*/
|
|
137
|
-
export declare class WrRadioGroup implements FormValueControl<
|
|
143
|
+
export declare class WrRadioGroup<T = unknown, V = T> implements FormValueControl<V | null>, WrRadioGroupContext {
|
|
138
144
|
constructor();
|
|
139
145
|
/**
|
|
140
146
|
* Shared `name` attribute. Defaults to a random id so multiple groups
|
|
141
147
|
* on the same page don't collide. (Also the `FormUiControl.name` slot.)
|
|
142
148
|
*/
|
|
143
149
|
readonly name: import("@angular/core").InputSignal<string>;
|
|
150
|
+
/**
|
|
151
|
+
* Option array. Each item is rendered as a `<wr-radio>` whose value is the
|
|
152
|
+
* item, or `[valueWith]` of it, and whose label comes from `[displayWith]`,
|
|
153
|
+
* before any projected `<wr-radio>` children.
|
|
154
|
+
*
|
|
155
|
+
* @example
|
|
156
|
+
* ```html
|
|
157
|
+
* <wr-radio-group [options]="plans" [displayWith]="planName" [valueWith]="planId" [(value)]="planId" />
|
|
158
|
+
* ```
|
|
159
|
+
*/
|
|
160
|
+
readonly options: import("@angular/core").InputSignal<readonly T[]>;
|
|
161
|
+
/** Maps an `[options]` item to its label. @default String */
|
|
162
|
+
readonly displayWith: import("@angular/core").InputSignal<(item: T) => string>;
|
|
163
|
+
/**
|
|
164
|
+
* Maps an `[options]` item to the value the model holds, so a list of objects
|
|
165
|
+
* can bind an id. Values are compared with `===`. Without it an item is its
|
|
166
|
+
* own value.
|
|
167
|
+
*/
|
|
168
|
+
readonly valueWith: import("@angular/core").InputSignal<((item: T) => V) | null>;
|
|
169
|
+
/** An item's value: `valueWith` of it, or the item itself. */
|
|
170
|
+
protected valueOf(item: T): V;
|
|
144
171
|
/**
|
|
145
172
|
* Disable the whole group. Bound automatically from the field's disabled
|
|
146
173
|
* state when used with `[formField]`.
|
|
@@ -172,7 +199,7 @@ export declare class WrRadioGroup implements FormValueControl<unknown>, WrRadioG
|
|
|
172
199
|
protected readonly fieldAria: import("ngwr/form").WrFormFieldAria;
|
|
173
200
|
protected readonly labelledBy: import("@angular/core").Signal<string | null>;
|
|
174
201
|
/** The selected radio's value. Bound by `[formField]`, or two-way via `[(value)]`. */
|
|
175
|
-
readonly value: import("@angular/core").ModelSignal<
|
|
202
|
+
readonly value: import("@angular/core").ModelSignal<V | null>;
|
|
176
203
|
/** Emitted on blur from any child so a bound field can mark itself touched. */
|
|
177
204
|
readonly touch: import("@angular/core").OutputEmitterRef<void>;
|
|
178
205
|
/** Effective disabled state (WrRadioGroupContext). */
|
|
@@ -190,13 +217,28 @@ export declare class WrRadioGroup implements FormValueControl<unknown>, WrRadioG
|
|
|
190
217
|
focus(options?: FocusOptions): void;
|
|
191
218
|
select(value: unknown): void;
|
|
192
219
|
markTouched(): void;
|
|
193
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<WrRadioGroup, never>;
|
|
194
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<WrRadioGroup, "wr-radio-group", never, {
|
|
220
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<WrRadioGroup<any, any>, never>;
|
|
221
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<WrRadioGroup<any, any>, "wr-radio-group", never, {
|
|
195
222
|
"name": {
|
|
196
223
|
"alias": "name";
|
|
197
224
|
"required": false;
|
|
198
225
|
"isSignal": true;
|
|
199
226
|
};
|
|
227
|
+
"options": {
|
|
228
|
+
"alias": "options";
|
|
229
|
+
"required": false;
|
|
230
|
+
"isSignal": true;
|
|
231
|
+
};
|
|
232
|
+
"displayWith": {
|
|
233
|
+
"alias": "displayWith";
|
|
234
|
+
"required": false;
|
|
235
|
+
"isSignal": true;
|
|
236
|
+
};
|
|
237
|
+
"valueWith": {
|
|
238
|
+
"alias": "valueWith";
|
|
239
|
+
"required": false;
|
|
240
|
+
"isSignal": true;
|
|
241
|
+
};
|
|
200
242
|
"disabled": {
|
|
201
243
|
"alias": "disabled";
|
|
202
244
|
"required": false;
|
package/types/ngwr-scroll.d.ts
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import * as i0 from "@angular/core";
|
|
2
|
+
import { Signal } from "@angular/core";
|
|
2
3
|
/**
|
|
3
4
|
* @license
|
|
4
5
|
*
|
|
@@ -59,9 +60,94 @@ export declare class WrScroll {
|
|
|
59
60
|
/** Scroll the page (or container) to the top. */
|
|
60
61
|
toTop(options?: WrScrollOptions): void;
|
|
61
62
|
private resolveSelector;
|
|
63
|
+
/** `instant`, not `auto`: `auto` follows the container's `scroll-behavior`, which may be smooth. */
|
|
62
64
|
private behavior;
|
|
63
65
|
private scroll;
|
|
64
66
|
static ɵfac: i0.ɵɵFactoryDeclaration<WrScroll, never>;
|
|
65
67
|
static ɵprov: i0.ɵɵInjectableDeclaration<any>;
|
|
66
68
|
}
|
|
69
|
+
/**
|
|
70
|
+
* Keeps a scroll container at its end while content grows, and holds the
|
|
71
|
+
* reader's place while they are somewhere else.
|
|
72
|
+
*
|
|
73
|
+
* The container starts at its end and stays there as rows are added, as a row
|
|
74
|
+
* grows (streamed text, an image that loads) and as the container is resized.
|
|
75
|
+
* Scrolling up stops the following at once; scrolling back to within
|
|
76
|
+
* `wrScrollFollowThreshold` of the end resumes it. While it is not following,
|
|
77
|
+
* the lowest row in view keeps its place when content above it changes, so
|
|
78
|
+
* older rows loaded at the top do not push the page down.
|
|
79
|
+
*
|
|
80
|
+
* `following` says which of the two it is doing, for a "jump to latest" button,
|
|
81
|
+
* and `toEnd()` is what that button calls.
|
|
82
|
+
*
|
|
83
|
+
* The rows are the container's children, or the children of its only child.
|
|
84
|
+
* The container scrolls vertically in the normal direction: RTL changes
|
|
85
|
+
* nothing, and a `column-reverse` container is not supported. Nothing runs on
|
|
86
|
+
* the server.
|
|
87
|
+
*
|
|
88
|
+
* @example
|
|
89
|
+
* ```html
|
|
90
|
+
* <div class="log" wrScrollFollow #log="wrScrollFollow">
|
|
91
|
+
* @for (message of messages(); track message.id) {
|
|
92
|
+
* <p>{{ message.text }}</p>
|
|
93
|
+
* }
|
|
94
|
+
* </div>
|
|
95
|
+
* @if (!log.following()) {
|
|
96
|
+
* <button type="button" (click)="log.toEnd()">Jump to latest</button>
|
|
97
|
+
* }
|
|
98
|
+
* ```
|
|
99
|
+
*
|
|
100
|
+
* @see https://ngwr.dev/reference/services/scroll
|
|
101
|
+
*/
|
|
102
|
+
export declare class WrScrollFollow {
|
|
103
|
+
/** `false` switches it off and hands scroll anchoring back to the browser. Bare `wrScrollFollow` is on. */
|
|
104
|
+
readonly wrScrollFollow: import("@angular/core").InputSignalWithTransform<boolean, any>;
|
|
105
|
+
/** How close to the end, in pixels, the reader has to scroll back for the following to resume. */
|
|
106
|
+
readonly wrScrollFollowThreshold: import("@angular/core").InputSignalWithTransform<number, unknown>;
|
|
107
|
+
private readonly el;
|
|
108
|
+
private readonly scroll;
|
|
109
|
+
private readonly atEnd;
|
|
110
|
+
/** Whether the container is held at its end. `false` once the reader scrolls up, and while switched off. */
|
|
111
|
+
readonly following: Signal<boolean>;
|
|
112
|
+
private started;
|
|
113
|
+
private lastTop;
|
|
114
|
+
private anchors;
|
|
115
|
+
/** `scrollTop` when `anchors` was measured, so a scroll since then is not undone. */
|
|
116
|
+
private anchorsTop;
|
|
117
|
+
constructor();
|
|
118
|
+
/**
|
|
119
|
+
* Scroll to the end and follow again. Smooth unless `smooth` is `false` or
|
|
120
|
+
* the reader prefers reduced motion.
|
|
121
|
+
*/
|
|
122
|
+
toEnd(options?: Pick<WrScrollOptions, 'smooth'>): void;
|
|
123
|
+
private distance;
|
|
124
|
+
private onScroll;
|
|
125
|
+
/**
|
|
126
|
+
* Any move up stops the following, so a reader can leave while text streams
|
|
127
|
+
* in; within a pixel of the end it is the browser clamping to shorter content.
|
|
128
|
+
* Only a move down resumes it: the directive's own writes are never read as one.
|
|
129
|
+
*/
|
|
130
|
+
private read;
|
|
131
|
+
/** Content or the container changed size: hold the end, or hold the reader's place. */
|
|
132
|
+
private sync;
|
|
133
|
+
/** Instant whatever `scroll-behavior` the container has: an animated correction is a visible jump. */
|
|
134
|
+
private move;
|
|
135
|
+
/** Remember the lowest row in view. A row at the top would be the "load older" button. */
|
|
136
|
+
private capture;
|
|
137
|
+
/** Put the remembered row back where it was. */
|
|
138
|
+
private restore;
|
|
139
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<WrScrollFollow, never>;
|
|
140
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<WrScrollFollow, "[wrScrollFollow]", ["wrScrollFollow"], {
|
|
141
|
+
"wrScrollFollow": {
|
|
142
|
+
"alias": "wrScrollFollow";
|
|
143
|
+
"required": false;
|
|
144
|
+
"isSignal": true;
|
|
145
|
+
};
|
|
146
|
+
"wrScrollFollowThreshold": {
|
|
147
|
+
"alias": "wrScrollFollowThreshold";
|
|
148
|
+
"required": false;
|
|
149
|
+
"isSignal": true;
|
|
150
|
+
};
|
|
151
|
+
}, {}, never, never, true, never>;
|
|
152
|
+
}
|
|
67
153
|
export type { WrScrollOptions, WrScrollTarget };
|
|
@@ -91,6 +91,8 @@ export declare class WrSegmented<T = unknown> implements FormValueControl<T | nu
|
|
|
91
91
|
readonly readonly: import("@angular/core").InputSignalWithTransform<boolean, any>;
|
|
92
92
|
/** Control size — shares the `--wr-control-*` contract. @default 'md' */
|
|
93
93
|
readonly size: import("@angular/core").InputSignal<WrSegmentedSize>;
|
|
94
|
+
/** Stretch the strip to fill its parent's width, shared equally by the segments. @default false */
|
|
95
|
+
readonly block: import("@angular/core").InputSignalWithTransform<boolean, any>;
|
|
94
96
|
private readonly host;
|
|
95
97
|
private readonly field;
|
|
96
98
|
/**
|
|
@@ -240,6 +242,11 @@ export declare class WrSegmented<T = unknown> implements FormValueControl<T | nu
|
|
|
240
242
|
"required": false;
|
|
241
243
|
"isSignal": true;
|
|
242
244
|
};
|
|
245
|
+
"block": {
|
|
246
|
+
"alias": "block";
|
|
247
|
+
"required": false;
|
|
248
|
+
"isSignal": true;
|
|
249
|
+
};
|
|
243
250
|
}, {
|
|
244
251
|
"value": "valueChange";
|
|
245
252
|
"touch": "touch";
|