ngwr 16.4.0 → 16.6.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/back-top/styles/_index.scss +6 -0
- package/breadcrumbs/styles/_rules.scss +34 -0
- package/cascader/styles/_rules.scss +7 -0
- package/charts/bar-chart/styles/_index.scss +494 -305
- package/charts/boxplot-chart/styles/_index.scss +114 -48
- package/charts/bullet-chart/styles/_index.scss +113 -42
- package/charts/calendar-heatmap/styles/_index.scss +111 -20
- package/charts/candlestick-chart/styles/_index.scss +61 -26
- package/charts/chart-legend/styles/_index.scss +120 -10
- package/charts/core/styles/_index.scss +201 -5
- package/charts/donut-chart/styles/_index.scss +76 -21
- package/charts/funnel-chart/styles/_index.scss +66 -38
- package/charts/gauge/styles/_index.scss +12 -1
- package/charts/heatmap-chart/styles/_index.scss +90 -53
- package/charts/line-chart/styles/_index.scss +143 -139
- package/charts/meter-group/styles/_index.scss +87 -25
- package/charts/radar-chart/styles/_index.scss +82 -40
- package/charts/scatter-chart/styles/_index.scss +117 -44
- package/charts/sparkline/styles/_index.scss +7 -1
- package/charts/treemap-chart/styles/_index.scss +94 -42
- package/charts/waterfall-chart/styles/_index.scss +150 -87
- package/color-picker/styles/_index.scss +7 -3
- package/copy-value/styles/_index.scss +21 -2
- package/counter/styles/_index.scss +1 -8
- package/date-picker/styles/_index.scss +15 -9
- package/date-stamp/styles/_index.scss +2 -1
- package/dialog/styles/_index.scss +43 -0
- package/drawer/styles/_index.scss +5 -1
- package/editor/styles/_index.scss +1 -8
- package/event-calendar/styles/_index.scss +2 -6
- package/fesm2022/ngwr-affix.mjs +1 -1
- package/fesm2022/ngwr-affix.mjs.map +1 -1
- package/fesm2022/ngwr-anchor.mjs +9 -2
- package/fesm2022/ngwr-anchor.mjs.map +1 -1
- package/fesm2022/ngwr-animations-aurora.mjs.map +1 -1
- package/fesm2022/ngwr-animations-blur-reveal.mjs.map +1 -1
- package/fesm2022/ngwr-animations-click-sparks.mjs.map +1 -1
- package/fesm2022/ngwr-animations-confetti.mjs.map +1 -1
- package/fesm2022/ngwr-animations-decode.mjs.map +1 -1
- package/fesm2022/ngwr-animations-destruct.mjs.map +1 -1
- package/fesm2022/ngwr-animations-dot-grid.mjs.map +1 -1
- package/fesm2022/ngwr-animations-falling-letters.mjs.map +1 -1
- package/fesm2022/ngwr-animations-flow-lines.mjs.map +1 -1
- package/fesm2022/ngwr-animations-fluid-cursor.mjs.map +1 -1
- package/fesm2022/ngwr-animations-glitch.mjs.map +1 -1
- package/fesm2022/ngwr-animations-glow-border.mjs.map +1 -1
- package/fesm2022/ngwr-animations-gradient-flow.mjs.map +1 -1
- package/fesm2022/ngwr-animations-marquee.mjs.map +1 -1
- package/fesm2022/ngwr-animations-orbit.mjs.map +1 -1
- package/fesm2022/ngwr-animations-reveal.mjs.map +1 -1
- package/fesm2022/ngwr-animations-ripple-grid.mjs.map +1 -1
- package/fesm2022/ngwr-animations-rotate-reveal.mjs.map +1 -1
- package/fesm2022/ngwr-animations-shimmer.mjs.map +1 -1
- package/fesm2022/ngwr-animations-spotlight.mjs.map +1 -1
- package/fesm2022/ngwr-animations-thread-lines.mjs.map +1 -1
- package/fesm2022/ngwr-animations-tilt.mjs +20 -13
- package/fesm2022/ngwr-animations-tilt.mjs.map +1 -1
- package/fesm2022/ngwr-animations-typewriter.mjs.map +1 -1
- package/fesm2022/ngwr-breadcrumbs.mjs +40 -7
- package/fesm2022/ngwr-breadcrumbs.mjs.map +1 -1
- package/fesm2022/ngwr-button.mjs +12 -3
- package/fesm2022/ngwr-button.mjs.map +1 -1
- package/fesm2022/ngwr-carousel-testing.mjs +4 -1
- package/fesm2022/ngwr-carousel-testing.mjs.map +1 -1
- package/fesm2022/ngwr-carousel.mjs +27 -2
- package/fesm2022/ngwr-carousel.mjs.map +1 -1
- package/fesm2022/ngwr-cascader-testing.mjs.map +1 -1
- package/fesm2022/ngwr-cascader.mjs +72 -8
- package/fesm2022/ngwr-cascader.mjs.map +1 -1
- package/fesm2022/ngwr-charts-bar-chart-testing.mjs +16 -14
- package/fesm2022/ngwr-charts-bar-chart-testing.mjs.map +1 -1
- package/fesm2022/ngwr-charts-bar-chart.mjs +399 -141
- package/fesm2022/ngwr-charts-bar-chart.mjs.map +1 -1
- package/fesm2022/ngwr-charts-boxplot-chart-testing.mjs +19 -5
- package/fesm2022/ngwr-charts-boxplot-chart-testing.mjs.map +1 -1
- package/fesm2022/ngwr-charts-boxplot-chart.mjs +250 -56
- package/fesm2022/ngwr-charts-boxplot-chart.mjs.map +1 -1
- package/fesm2022/ngwr-charts-bullet-chart.mjs +118 -18
- package/fesm2022/ngwr-charts-bullet-chart.mjs.map +1 -1
- package/fesm2022/ngwr-charts-calendar-heatmap.mjs +266 -46
- package/fesm2022/ngwr-charts-calendar-heatmap.mjs.map +1 -1
- package/fesm2022/ngwr-charts-candlestick-chart-testing.mjs +21 -10
- package/fesm2022/ngwr-charts-candlestick-chart-testing.mjs.map +1 -1
- package/fesm2022/ngwr-charts-candlestick-chart.mjs +319 -72
- package/fesm2022/ngwr-charts-candlestick-chart.mjs.map +1 -1
- package/fesm2022/ngwr-charts-chart-legend.mjs +211 -9
- package/fesm2022/ngwr-charts-chart-legend.mjs.map +1 -1
- package/fesm2022/ngwr-charts-core.mjs +311 -23
- package/fesm2022/ngwr-charts-core.mjs.map +1 -1
- package/fesm2022/ngwr-charts-donut-chart-testing.mjs.map +1 -1
- package/fesm2022/ngwr-charts-donut-chart.mjs +206 -27
- package/fesm2022/ngwr-charts-donut-chart.mjs.map +1 -1
- package/fesm2022/ngwr-charts-funnel-chart-testing.mjs +4 -4
- package/fesm2022/ngwr-charts-funnel-chart-testing.mjs.map +1 -1
- package/fesm2022/ngwr-charts-funnel-chart.mjs +113 -10
- package/fesm2022/ngwr-charts-funnel-chart.mjs.map +1 -1
- package/fesm2022/ngwr-charts-gauge-testing.mjs.map +1 -1
- package/fesm2022/ngwr-charts-gauge.mjs +98 -12
- package/fesm2022/ngwr-charts-gauge.mjs.map +1 -1
- package/fesm2022/ngwr-charts-heatmap-chart.mjs +226 -31
- package/fesm2022/ngwr-charts-heatmap-chart.mjs.map +1 -1
- package/fesm2022/ngwr-charts-line-chart-testing.mjs +16 -4
- package/fesm2022/ngwr-charts-line-chart-testing.mjs.map +1 -1
- package/fesm2022/ngwr-charts-line-chart.mjs +407 -172
- package/fesm2022/ngwr-charts-line-chart.mjs.map +1 -1
- package/fesm2022/ngwr-charts-meter-group-testing.mjs +4 -4
- package/fesm2022/ngwr-charts-meter-group-testing.mjs.map +1 -1
- package/fesm2022/ngwr-charts-meter-group.mjs +225 -31
- package/fesm2022/ngwr-charts-meter-group.mjs.map +1 -1
- package/fesm2022/ngwr-charts-radar-chart-testing.mjs +2 -1
- package/fesm2022/ngwr-charts-radar-chart-testing.mjs.map +1 -1
- package/fesm2022/ngwr-charts-radar-chart.mjs +255 -66
- package/fesm2022/ngwr-charts-radar-chart.mjs.map +1 -1
- package/fesm2022/ngwr-charts-scatter-chart-testing.mjs +39 -18
- package/fesm2022/ngwr-charts-scatter-chart-testing.mjs.map +1 -1
- package/fesm2022/ngwr-charts-scatter-chart.mjs +431 -53
- package/fesm2022/ngwr-charts-scatter-chart.mjs.map +1 -1
- package/fesm2022/ngwr-charts-sparkline.mjs +19 -8
- package/fesm2022/ngwr-charts-sparkline.mjs.map +1 -1
- package/fesm2022/ngwr-charts-treemap-chart.mjs +253 -44
- package/fesm2022/ngwr-charts-treemap-chart.mjs.map +1 -1
- package/fesm2022/ngwr-charts-waterfall-chart-testing.mjs +15 -7
- package/fesm2022/ngwr-charts-waterfall-chart-testing.mjs.map +1 -1
- package/fesm2022/ngwr-charts-waterfall-chart.mjs +151 -23
- package/fesm2022/ngwr-charts-waterfall-chart.mjs.map +1 -1
- package/fesm2022/ngwr-checkbox.mjs +3 -2
- package/fesm2022/ngwr-checkbox.mjs.map +1 -1
- package/fesm2022/ngwr-color-picker.mjs +65 -5
- package/fesm2022/ngwr-color-picker.mjs.map +1 -1
- package/fesm2022/ngwr-context-menu-testing.mjs.map +1 -1
- package/fesm2022/ngwr-context-menu.mjs +51 -24
- package/fesm2022/ngwr-context-menu.mjs.map +1 -1
- package/fesm2022/ngwr-copy-value-testing.mjs +5 -1
- package/fesm2022/ngwr-copy-value-testing.mjs.map +1 -1
- package/fesm2022/ngwr-copy-value.mjs +38 -2
- package/fesm2022/ngwr-copy-value.mjs.map +1 -1
- package/fesm2022/ngwr-date-picker-testing.mjs.map +1 -1
- package/fesm2022/ngwr-date-picker.mjs +105 -9
- package/fesm2022/ngwr-date-picker.mjs.map +1 -1
- package/fesm2022/ngwr-dialog.mjs +29 -11
- package/fesm2022/ngwr-dialog.mjs.map +1 -1
- package/fesm2022/ngwr-directives.mjs +9 -6
- package/fesm2022/ngwr-directives.mjs.map +1 -1
- package/fesm2022/ngwr-drawer.mjs +19 -3
- package/fesm2022/ngwr-drawer.mjs.map +1 -1
- package/fesm2022/ngwr-dropdown-testing.mjs.map +1 -1
- package/fesm2022/ngwr-dropdown.mjs +35 -6
- package/fesm2022/ngwr-dropdown.mjs.map +1 -1
- package/fesm2022/ngwr-editor.mjs +1 -0
- package/fesm2022/ngwr-editor.mjs.map +1 -1
- package/fesm2022/ngwr-event-calendar.mjs +20 -9
- package/fesm2022/ngwr-event-calendar.mjs.map +1 -1
- package/fesm2022/ngwr-form.mjs +170 -3
- package/fesm2022/ngwr-form.mjs.map +1 -1
- package/fesm2022/ngwr-graph.mjs +81 -13
- package/fesm2022/ngwr-graph.mjs.map +1 -1
- package/fesm2022/ngwr-i18n-ar.mjs +20 -0
- package/fesm2022/ngwr-i18n-ar.mjs.map +1 -1
- package/fesm2022/ngwr-i18n-cs.mjs +20 -0
- package/fesm2022/ngwr-i18n-cs.mjs.map +1 -1
- package/fesm2022/ngwr-i18n-de.mjs +20 -0
- package/fesm2022/ngwr-i18n-de.mjs.map +1 -1
- package/fesm2022/ngwr-i18n-en.mjs +20 -0
- package/fesm2022/ngwr-i18n-en.mjs.map +1 -1
- package/fesm2022/ngwr-i18n-es.mjs +20 -0
- package/fesm2022/ngwr-i18n-es.mjs.map +1 -1
- package/fesm2022/ngwr-i18n-fr.mjs +20 -0
- package/fesm2022/ngwr-i18n-fr.mjs.map +1 -1
- package/fesm2022/ngwr-i18n-he.mjs +20 -0
- package/fesm2022/ngwr-i18n-he.mjs.map +1 -1
- package/fesm2022/ngwr-i18n-hi.mjs +20 -0
- package/fesm2022/ngwr-i18n-hi.mjs.map +1 -1
- package/fesm2022/ngwr-i18n-id.mjs +20 -0
- package/fesm2022/ngwr-i18n-id.mjs.map +1 -1
- package/fesm2022/ngwr-i18n-it.mjs +20 -0
- package/fesm2022/ngwr-i18n-it.mjs.map +1 -1
- package/fesm2022/ngwr-i18n-ja.mjs +20 -0
- package/fesm2022/ngwr-i18n-ja.mjs.map +1 -1
- package/fesm2022/ngwr-i18n-ko.mjs +20 -0
- package/fesm2022/ngwr-i18n-ko.mjs.map +1 -1
- package/fesm2022/ngwr-i18n-nl.mjs +20 -0
- package/fesm2022/ngwr-i18n-nl.mjs.map +1 -1
- package/fesm2022/ngwr-i18n-pl.mjs +20 -0
- package/fesm2022/ngwr-i18n-pl.mjs.map +1 -1
- package/fesm2022/ngwr-i18n-pt.mjs +20 -0
- package/fesm2022/ngwr-i18n-pt.mjs.map +1 -1
- package/fesm2022/ngwr-i18n-ru.mjs +20 -0
- package/fesm2022/ngwr-i18n-ru.mjs.map +1 -1
- package/fesm2022/ngwr-i18n-sv.mjs +20 -0
- package/fesm2022/ngwr-i18n-sv.mjs.map +1 -1
- package/fesm2022/ngwr-i18n-tr.mjs +20 -0
- package/fesm2022/ngwr-i18n-tr.mjs.map +1 -1
- package/fesm2022/ngwr-i18n-uk.mjs +20 -0
- package/fesm2022/ngwr-i18n-uk.mjs.map +1 -1
- package/fesm2022/ngwr-i18n-vi.mjs +20 -0
- package/fesm2022/ngwr-i18n-vi.mjs.map +1 -1
- package/fesm2022/ngwr-i18n-zh-tw.mjs +20 -0
- package/fesm2022/ngwr-i18n-zh-tw.mjs.map +1 -1
- package/fesm2022/ngwr-i18n-zh.mjs +20 -0
- package/fesm2022/ngwr-i18n-zh.mjs.map +1 -1
- package/fesm2022/ngwr-i18n.mjs +82 -11
- package/fesm2022/ngwr-i18n.mjs.map +1 -1
- package/fesm2022/ngwr-input-number.mjs +24 -1
- package/fesm2022/ngwr-input-number.mjs.map +1 -1
- package/fesm2022/ngwr-input-otp.mjs +2 -2
- package/fesm2022/ngwr-input-otp.mjs.map +1 -1
- package/fesm2022/ngwr-input.mjs +10 -2
- package/fesm2022/ngwr-input.mjs.map +1 -1
- package/fesm2022/ngwr-layout.mjs.map +1 -1
- package/fesm2022/ngwr-lightbox.mjs +20 -3
- package/fesm2022/ngwr-lightbox.mjs.map +1 -1
- package/fesm2022/ngwr-list.mjs +1 -1
- package/fesm2022/ngwr-list.mjs.map +1 -1
- package/fesm2022/ngwr-loading-bar-router.mjs.map +1 -1
- package/fesm2022/ngwr-loading-bar.mjs +2 -2
- package/fesm2022/ngwr-loading-bar.mjs.map +1 -1
- package/fesm2022/ngwr-mention.mjs +8 -0
- package/fesm2022/ngwr-mention.mjs.map +1 -1
- package/fesm2022/ngwr-meta.mjs +9 -6
- package/fesm2022/ngwr-meta.mjs.map +1 -1
- package/fesm2022/ngwr-overlay.mjs +21 -2
- package/fesm2022/ngwr-overlay.mjs.map +1 -1
- package/fesm2022/ngwr-page-header.mjs +21 -0
- package/fesm2022/ngwr-page-header.mjs.map +1 -1
- package/fesm2022/ngwr-pagination.mjs +2 -0
- package/fesm2022/ngwr-pagination.mjs.map +1 -1
- package/fesm2022/ngwr-pipes.mjs +8 -1
- package/fesm2022/ngwr-pipes.mjs.map +1 -1
- package/fesm2022/ngwr-popconfirm-testing.mjs +4 -1
- package/fesm2022/ngwr-popconfirm-testing.mjs.map +1 -1
- package/fesm2022/ngwr-popconfirm.mjs +43 -6
- package/fesm2022/ngwr-popconfirm.mjs.map +1 -1
- package/fesm2022/ngwr-popover.mjs +114 -15
- package/fesm2022/ngwr-popover.mjs.map +1 -1
- package/fesm2022/ngwr-qr.mjs +6 -2
- package/fesm2022/ngwr-qr.mjs.map +1 -1
- package/fesm2022/ngwr-radio.mjs +71 -5
- package/fesm2022/ngwr-radio.mjs.map +1 -1
- package/fesm2022/ngwr-schema-form.mjs +12 -1
- package/fesm2022/ngwr-schema-form.mjs.map +1 -1
- package/fesm2022/ngwr-scroll.mjs +1 -3
- package/fesm2022/ngwr-scroll.mjs.map +1 -1
- package/fesm2022/ngwr-segmented.mjs +20 -0
- package/fesm2022/ngwr-segmented.mjs.map +1 -1
- package/fesm2022/ngwr-select.mjs +80 -9
- package/fesm2022/ngwr-select.mjs.map +1 -1
- package/fesm2022/ngwr-sortable-list.mjs +16 -4
- package/fesm2022/ngwr-sortable-list.mjs.map +1 -1
- package/fesm2022/ngwr-storage.mjs +1 -1
- package/fesm2022/ngwr-storage.mjs.map +1 -1
- package/fesm2022/ngwr-switch.mjs +2 -2
- package/fesm2022/ngwr-switch.mjs.map +1 -1
- package/fesm2022/ngwr-table.mjs +43 -7
- package/fesm2022/ngwr-table.mjs.map +1 -1
- package/fesm2022/ngwr-tabs-router.mjs.map +1 -1
- package/fesm2022/ngwr-textarea.mjs +2 -2
- package/fesm2022/ngwr-textarea.mjs.map +1 -1
- package/fesm2022/ngwr-toast.mjs +28 -0
- package/fesm2022/ngwr-toast.mjs.map +1 -1
- package/fesm2022/ngwr-tour.mjs +16 -11
- package/fesm2022/ngwr-tour.mjs.map +1 -1
- package/fesm2022/ngwr-tree-testing.mjs.map +1 -1
- package/fesm2022/ngwr-tree.mjs +49 -16
- package/fesm2022/ngwr-tree.mjs.map +1 -1
- package/fesm2022/ngwr-typography.mjs +20 -0
- package/fesm2022/ngwr-typography.mjs.map +1 -1
- package/fesm2022/ngwr-utils-router.mjs.map +1 -1
- package/fesm2022/ngwr-utils.mjs +46 -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-window.mjs +16 -9
- package/fesm2022/ngwr-window.mjs.map +1 -1
- package/form/styles/_index.scss +37 -0
- package/graph/styles/_index.scss +1 -9
- package/i18n/ar.json +20 -0
- package/i18n/cs.json +20 -0
- package/i18n/de.json +20 -0
- package/i18n/en.json +20 -0
- package/i18n/es.json +20 -0
- package/i18n/fr.json +20 -0
- package/i18n/he.json +20 -0
- package/i18n/hi.json +20 -0
- package/i18n/id.json +20 -0
- package/i18n/it.json +20 -0
- package/i18n/ja.json +20 -0
- package/i18n/ko.json +20 -0
- package/i18n/nl.json +20 -0
- package/i18n/pl.json +20 -0
- package/i18n/pt.json +20 -0
- package/i18n/ru.json +20 -0
- package/i18n/sv.json +20 -0
- package/i18n/tr.json +20 -0
- package/i18n/uk.json +20 -0
- package/i18n/vi.json +20 -0
- package/i18n/zh-TW.json +20 -0
- package/i18n/zh.json +20 -0
- 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 +17 -17
- package/llms.txt +7 -3
- package/loading-bar/styles/_rules.scss +6 -0
- package/package.json +2 -2
- package/page-header/styles/_index.scss +18 -0
- package/popconfirm/styles/_index.scss +6 -0
- package/popover/styles/_index.scss +31 -13
- package/schematics/use/symbol-map.json +3 -0
- package/segmented/styles/_index.scss +7 -0
- package/select/styles/_index.scss +7 -0
- package/sidebar/styles/_index.scss +6 -0
- package/skills/ngwr/references/catalog.md +2 -2
- 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 +49 -0
- package/theme/_index.scss +12 -1
- package/theme/styles/_colors.scss +11 -0
- package/theme/styles/_contrast.scss +6 -0
- 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 +14 -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-breadcrumbs.d.ts +25 -0
- package/types/ngwr-button.d.ts +23 -3
- package/types/ngwr-carousel-testing.d.ts +6 -4
- package/types/ngwr-carousel.d.ts +16 -3
- package/types/ngwr-cascader-testing.d.ts +4 -3
- package/types/ngwr-cascader.d.ts +34 -3
- package/types/ngwr-charts-bar-chart-testing.d.ts +15 -13
- package/types/ngwr-charts-bar-chart.d.ts +220 -48
- package/types/ngwr-charts-boxplot-chart-testing.d.ts +9 -2
- package/types/ngwr-charts-boxplot-chart.d.ts +110 -19
- package/types/ngwr-charts-bullet-chart.d.ts +72 -12
- package/types/ngwr-charts-calendar-heatmap.d.ts +119 -15
- package/types/ngwr-charts-candlestick-chart-testing.d.ts +19 -9
- package/types/ngwr-charts-candlestick-chart.d.ts +195 -62
- package/types/ngwr-charts-chart-legend.d.ts +142 -5
- package/types/ngwr-charts-core.d.ts +275 -21
- package/types/ngwr-charts-donut-chart-testing.d.ts +11 -5
- package/types/ngwr-charts-donut-chart.d.ts +124 -16
- package/types/ngwr-charts-funnel-chart.d.ts +62 -6
- package/types/ngwr-charts-gauge-testing.d.ts +5 -1
- package/types/ngwr-charts-gauge.d.ts +72 -10
- package/types/ngwr-charts-heatmap-chart.d.ts +103 -20
- package/types/ngwr-charts-line-chart-testing.d.ts +16 -2
- package/types/ngwr-charts-line-chart.d.ts +215 -86
- package/types/ngwr-charts-meter-group.d.ts +98 -7
- package/types/ngwr-charts-radar-chart-testing.d.ts +14 -3
- package/types/ngwr-charts-radar-chart.d.ts +148 -28
- package/types/ngwr-charts-scatter-chart-testing.d.ts +22 -10
- package/types/ngwr-charts-scatter-chart.d.ts +188 -18
- package/types/ngwr-charts-sparkline.d.ts +26 -4
- package/types/ngwr-charts-treemap-chart.d.ts +121 -23
- package/types/ngwr-charts-waterfall-chart-testing.d.ts +8 -1
- package/types/ngwr-charts-waterfall-chart.d.ts +108 -21
- package/types/ngwr-checkbox.d.ts +1 -0
- package/types/ngwr-color-picker.d.ts +28 -0
- package/types/ngwr-context-menu-testing.d.ts +10 -9
- package/types/ngwr-context-menu.d.ts +18 -1
- package/types/ngwr-copy-value.d.ts +8 -0
- package/types/ngwr-date-picker.d.ts +53 -2
- package/types/ngwr-dialog.d.ts +64 -13
- package/types/ngwr-directives.d.ts +12 -4
- package/types/ngwr-drawer.d.ts +33 -2
- package/types/ngwr-dropdown-testing.d.ts +8 -5
- package/types/ngwr-dropdown.d.ts +29 -6
- package/types/ngwr-event-calendar.d.ts +4 -0
- package/types/ngwr-form.d.ts +85 -1
- package/types/ngwr-graph.d.ts +22 -6
- package/types/ngwr-i18n.d.ts +65 -5
- 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-lightbox.d.ts +15 -0
- package/types/ngwr-loading-bar-router.d.ts +6 -0
- package/types/ngwr-overlay.d.ts +16 -1
- package/types/ngwr-page-header.d.ts +23 -1
- package/types/ngwr-popconfirm-testing.d.ts +11 -2
- package/types/ngwr-popconfirm.d.ts +29 -2
- package/types/ngwr-popover.d.ts +87 -13
- package/types/ngwr-radio.d.ts +47 -5
- package/types/ngwr-segmented.d.ts +7 -0
- package/types/ngwr-select.d.ts +57 -13
- package/types/ngwr-sortable-list.d.ts +20 -7
- package/types/ngwr-table.d.ts +59 -6
- package/types/ngwr-tabs-router.d.ts +6 -0
- package/types/ngwr-toast.d.ts +11 -0
- package/types/ngwr-tour.d.ts +21 -3
- package/types/ngwr-tree-testing.d.ts +1 -2
- package/types/ngwr-tree.d.ts +33 -2
- package/types/ngwr-typography.d.ts +7 -0
- package/types/ngwr-utils-router.d.ts +6 -0
- package/types/ngwr-utils.d.ts +56 -2
- package/types/ngwr-validators.d.ts +49 -1
- package/types/ngwr-version.d.ts +1 -1
- package/types/ngwr-window.d.ts +14 -11
- package/typography/styles/_index.scss +4 -0
- package/window/styles/_index.scss +6 -19
|
@@ -104,6 +104,8 @@ export declare class WrInputNumber<M extends WrInputNumberMode = 'number'> imple
|
|
|
104
104
|
* `--wr-control-*` contract. @default 'md'
|
|
105
105
|
*/
|
|
106
106
|
readonly size: import("@angular/core").InputSignal<WrInputSize>;
|
|
107
|
+
/** Stretch the field to fill its parent's width. @default false */
|
|
108
|
+
readonly block: import("@angular/core").InputSignalWithTransform<boolean, any>;
|
|
107
109
|
/** Pill-shaped corners — forwarded to the group AND the field. @default false */
|
|
108
110
|
readonly rounded: import("@angular/core").InputSignalWithTransform<boolean, any>;
|
|
109
111
|
/** Optional prefix label (e.g. `"$"`). */
|
|
@@ -169,6 +171,7 @@ export declare class WrInputNumber<M extends WrInputNumberMode = 'number'> imple
|
|
|
169
171
|
private readonly group;
|
|
170
172
|
/** Text currently in the input (may be partial / invalid mid-type). */
|
|
171
173
|
protected readonly text: import("@angular/core").WritableSignal<string>;
|
|
174
|
+
private lastCommitted;
|
|
172
175
|
/** Whether the input is focused. While true, the input handlers own `text`. */
|
|
173
176
|
protected readonly focused: import("@angular/core").WritableSignal<boolean>;
|
|
174
177
|
private readonly field;
|
|
@@ -282,6 +285,11 @@ export declare class WrInputNumber<M extends WrInputNumberMode = 'number'> imple
|
|
|
282
285
|
"required": false;
|
|
283
286
|
"isSignal": true;
|
|
284
287
|
};
|
|
288
|
+
"block": {
|
|
289
|
+
"alias": "block";
|
|
290
|
+
"required": false;
|
|
291
|
+
"isSignal": true;
|
|
292
|
+
};
|
|
285
293
|
"rounded": {
|
|
286
294
|
"alias": "rounded";
|
|
287
295
|
"required": false;
|
package/types/ngwr-input.d.ts
CHANGED
|
@@ -65,6 +65,13 @@ export declare class WrInput {
|
|
|
65
65
|
private readonly fieldAria;
|
|
66
66
|
protected readonly describedBy: import("@angular/core").Signal<string | null>;
|
|
67
67
|
protected readonly ariaInvalid: import("@angular/core").Signal<"true" | null>;
|
|
68
|
+
/** The element's own `aria-required`, read once: a hand-written one wins over the field's. */
|
|
69
|
+
private readonly ownAriaRequired;
|
|
70
|
+
/**
|
|
71
|
+
* Native `required` (including the one Signal Forms binds) already announces it,
|
|
72
|
+
* so the field's `required` only fills in when neither is there.
|
|
73
|
+
*/
|
|
74
|
+
protected ariaRequired(): string | null;
|
|
68
75
|
/**
|
|
69
76
|
* Control size. @default 'md'
|
|
70
77
|
*
|
package/types/ngwr-layout.d.ts
CHANGED
|
@@ -93,7 +93,7 @@ export declare class WrLayoutHeader {
|
|
|
93
93
|
}
|
|
94
94
|
/**
|
|
95
95
|
* Main content area of a {@link WrLayout}. Flex-grows to fill
|
|
96
|
-
* remaining space.
|
|
96
|
+
* remaining space. Its padding is `--wr-layout-content-padding`, one length.
|
|
97
97
|
*/
|
|
98
98
|
export declare class WrLayoutContent {
|
|
99
99
|
constructor();
|
package/types/ngwr-lightbox.d.ts
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import * as i0 from "@angular/core";
|
|
2
2
|
import { Signal, TemplateRef } from "@angular/core";
|
|
3
3
|
import { WrClassInput } from "ngwr/utils";
|
|
4
|
+
import { WrOverlayAutoFocus } from "ngwr/overlay";
|
|
4
5
|
/**
|
|
5
6
|
* Image with click-to-zoom lightbox. The thumbnail is a plain `<img>`
|
|
6
7
|
* with whatever sizing/`object-fit` you give it; clicking opens a CDK
|
|
@@ -51,6 +52,15 @@ export declare class WrLightbox {
|
|
|
51
52
|
* paint. @default null
|
|
52
53
|
*/
|
|
53
54
|
readonly aspectRatio: import("@angular/core").InputSignal<string | number | null>;
|
|
55
|
+
/**
|
|
56
|
+
* Where focus goes when the viewer opens. `'dialog'` puts it on the viewer
|
|
57
|
+
* itself, with no ring, so the keyboard is inside and no button is lit;
|
|
58
|
+
* `'first-tabbable'` puts it on the Close button; `false` leaves it on the
|
|
59
|
+
* thumbnail. The viewer traps Tab in every mode, and closing returns focus to
|
|
60
|
+
* the thumbnail.
|
|
61
|
+
* @default 'dialog'
|
|
62
|
+
*/
|
|
63
|
+
readonly autoFocus: import("@angular/core").InputSignal<WrOverlayAutoFocus>;
|
|
54
64
|
/**
|
|
55
65
|
* Extra CSS classes for the viewer's overlay pane.
|
|
56
66
|
*
|
|
@@ -194,6 +204,11 @@ export declare class WrLightbox {
|
|
|
194
204
|
"required": false;
|
|
195
205
|
"isSignal": true;
|
|
196
206
|
};
|
|
207
|
+
"autoFocus": {
|
|
208
|
+
"alias": "autoFocus";
|
|
209
|
+
"required": false;
|
|
210
|
+
"isSignal": true;
|
|
211
|
+
};
|
|
197
212
|
"panelClass": {
|
|
198
213
|
"alias": "panelClass";
|
|
199
214
|
"required": false;
|
|
@@ -1,3 +1,9 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
*
|
|
4
|
+
* Use of this source code is governed by an MIT-style license that can be
|
|
5
|
+
* found in the LICENSE file at https://github.com/thekhegay/ngwr/blob/main/LICENSE
|
|
6
|
+
*/
|
|
1
7
|
import { EnvironmentProviders } from "@angular/core";
|
|
2
8
|
/**
|
|
3
9
|
* Drive {@link WrLoadingBar} from router navigations: `NavigationStart` takes a
|
package/types/ngwr-overlay.d.ts
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import * as i0 from "@angular/core";
|
|
2
2
|
import { InjectionToken, Injector } from "@angular/core";
|
|
3
|
+
import { FocusTrap } from "@angular/cdk/a11y";
|
|
3
4
|
import { ConnectedPosition, Overlay, OverlayContainer, OverlayRef } from "@angular/cdk/overlay";
|
|
4
5
|
import { Observable } from "rxjs";
|
|
5
6
|
import { Direction, Directionality } from "@angular/cdk/bidi";
|
|
@@ -95,6 +96,20 @@ export declare function wrAnchoredPositions(position: WrAnchoredPosition, option
|
|
|
95
96
|
* @param onClose Invoked on click.
|
|
96
97
|
*/
|
|
97
98
|
export declare function wrAppendOverlayClose(host: HTMLElement, className: string, label: string, onClose: () => void): HTMLButtonElement;
|
|
99
|
+
/**
|
|
100
|
+
* Moves focus into a freshly opened modal overlay the way its `autoFocus`
|
|
101
|
+
* option asks. An element marked `cdkFocusInitial` wins in every mode.
|
|
102
|
+
*
|
|
103
|
+
* `'first-tabbable'` is the focus trap's own initial focus. `'dialog'` focuses
|
|
104
|
+
* the panel (made programmatically focusable with `tabindex="-1"`), `false`
|
|
105
|
+
* leaves focus where it is. Both wait for the next render, because the content
|
|
106
|
+
* is not in the DOM before that.
|
|
107
|
+
*
|
|
108
|
+
* @internal
|
|
109
|
+
*/
|
|
110
|
+
export declare function wrFocusOverlay(host: HTMLElement, trap: FocusTrap, mode: WrOverlayAutoFocus, injector: Injector): void;
|
|
111
|
+
/** What a dialog or drawer does with focus when it opens. */
|
|
112
|
+
type WrOverlayAutoFocus = 'first-tabbable' | 'dialog' | false;
|
|
98
113
|
/**
|
|
99
114
|
* Keep an OPEN overlay on the application's reading direction.
|
|
100
115
|
*
|
|
@@ -344,4 +359,4 @@ export declare const WR_OVERLAY: InjectionToken<Overlay>;
|
|
|
344
359
|
* @internal
|
|
345
360
|
*/
|
|
346
361
|
export declare const WR_OVERLAY_CONTAINER: InjectionToken<OverlayContainer>;
|
|
347
|
-
export type { WrAnchoredPosition, WrAnchoredPositionsOptions };
|
|
362
|
+
export type { WrAnchoredPosition, WrAnchoredPositionsOptions, WrOverlayAutoFocus };
|
|
@@ -30,6 +30,16 @@ import * as i0 from "@angular/core";
|
|
|
30
30
|
* header's height plus `--wr-page-header-sticky-top`, and focus, anchors and
|
|
31
31
|
* `scrollIntoView()` all stop short of it.
|
|
32
32
|
*
|
|
33
|
+
* The filters row is inside the header's own box, so under `sticky` it stays in
|
|
34
|
+
* view with the title: it is the place for a view switch or tabs as well.
|
|
35
|
+
*
|
|
36
|
+
* `bleed` carries the header over the padding of the box it tops, to the top and
|
|
37
|
+
* both side edges, and pads it by as much, so a sticky header's background and
|
|
38
|
+
* border run edge to edge. The amount is `--wr-page-header-bleed`, which reads
|
|
39
|
+
* `--wr-layout-content-padding`: inside `wr-layout-content` it follows the
|
|
40
|
+
* content's padding, and anywhere else it is zero until set. Make the header
|
|
41
|
+
* the first thing in that box.
|
|
42
|
+
*
|
|
33
43
|
* A bare `<div>` wrapper in the actions or the filters slot, one with no `class`
|
|
34
44
|
* and no `style`, is laid out as a wrapping row with the region's own gap, so
|
|
35
45
|
* the controls inside it are spaced exactly like controls projected one by one.
|
|
@@ -40,7 +50,7 @@ import * as i0 from "@angular/core";
|
|
|
40
50
|
*
|
|
41
51
|
* @example
|
|
42
52
|
* ```html
|
|
43
|
-
* <wr-page-header title="Settings" subtitle="Manage your workspace" compact sticky>
|
|
53
|
+
* <wr-page-header title="Settings" subtitle="Manage your workspace" compact sticky bleed>
|
|
44
54
|
* <nav wrPageHeaderBreadcrumbs>…</nav>
|
|
45
55
|
* <div wrPageHeaderActions>
|
|
46
56
|
* <button wr-btn>Invite</button>
|
|
@@ -84,6 +94,13 @@ export declare class WrPageHeader {
|
|
|
84
94
|
* @default false
|
|
85
95
|
*/
|
|
86
96
|
readonly sticky: import("@angular/core").InputSignalWithTransform<boolean, any>;
|
|
97
|
+
/**
|
|
98
|
+
* Run over the padding of the box the header tops, to the top and both side
|
|
99
|
+
* edges, by `--wr-page-header-bleed` (the content padding inside
|
|
100
|
+
* `wr-layout-content`, zero elsewhere until set).
|
|
101
|
+
* @default false
|
|
102
|
+
*/
|
|
103
|
+
readonly bleed: import("@angular/core").InputSignalWithTransform<boolean, any>;
|
|
87
104
|
static ɵfac: i0.ɵɵFactoryDeclaration<WrPageHeader, never>;
|
|
88
105
|
static ɵcmp: i0.ɵɵComponentDeclaration<WrPageHeader, "wr-page-header", never, {
|
|
89
106
|
"title": {
|
|
@@ -111,5 +128,10 @@ export declare class WrPageHeader {
|
|
|
111
128
|
"required": false;
|
|
112
129
|
"isSignal": true;
|
|
113
130
|
};
|
|
131
|
+
"bleed": {
|
|
132
|
+
"alias": "bleed";
|
|
133
|
+
"required": false;
|
|
134
|
+
"isSignal": true;
|
|
135
|
+
};
|
|
114
136
|
}, {}, never, ["[wrPageHeaderBreadcrumbs]", "[wrPageHeaderActions]", "[wrPageHeaderExtra]", "[wrPageHeaderFilters]"], true, never>;
|
|
115
137
|
}
|
|
@@ -128,10 +128,16 @@ export declare class WrPopconfirmHarness extends ContentContainerComponentHarnes
|
|
|
128
128
|
* for it, since the button itself allows no colour at all.
|
|
129
129
|
*/
|
|
130
130
|
getConfirmColor(): Promise<WrColor | null>;
|
|
131
|
-
/**
|
|
131
|
+
/**
|
|
132
|
+
* Which action holds keyboard focus, by label, or `null` when focus is
|
|
133
|
+
* elsewhere: on the panel itself right after it opens, unless `wrPopconfirmAutoFocus` is
|
|
134
|
+
* `'first-tabbable'`.
|
|
135
|
+
*/
|
|
132
136
|
getFocusedActionLabel(): Promise<string | null>;
|
|
133
137
|
/** Answer the question: click confirm, which emits `confirmed` and closes the dialog. */
|
|
134
138
|
confirm(): Promise<void>;
|
|
139
|
+
/** Whether the panel itself holds focus, as it does right after it opens by default. */
|
|
140
|
+
isPanelFocused(): Promise<boolean>;
|
|
135
141
|
/** Decline: click cancel, which emits `cancelled` and closes the dialog. */
|
|
136
142
|
cancel(): Promise<void>;
|
|
137
143
|
/**
|
|
@@ -140,7 +146,10 @@ export declare class WrPopconfirmHarness extends ContentContainerComponentHarnes
|
|
|
140
146
|
* Sent at the pane rather than at the focused button, because the target makes
|
|
141
147
|
* no difference: the key is picked up by the overlay's keyboard dispatcher,
|
|
142
148
|
* which keeps one listener on the document and routes to the topmost overlay.
|
|
143
|
-
* The pane is the one element guaranteed to be there
|
|
149
|
+
* The panel inside the pane is the one element guaranteed to be there, and it
|
|
150
|
+
* is not the pane itself: `sendKeys` focuses its target first, and the pane
|
|
151
|
+
* takes focus, so typing at one of two open dialogs would dismiss the other by
|
|
152
|
+
* moving focus out of it.
|
|
144
153
|
*/
|
|
145
154
|
sendEscape(): Promise<void>;
|
|
146
155
|
/**
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as i0 from "@angular/core";
|
|
2
2
|
import { WrClassInput } from "ngwr/utils";
|
|
3
|
-
import {
|
|
4
|
-
import
|
|
3
|
+
import { WrAnchoredPosition, WrOverlayAutoFocus } from "ngwr/overlay";
|
|
4
|
+
import "@angular/cdk/overlay";
|
|
5
5
|
export declare class WrPopconfirm {
|
|
6
6
|
/** Confirmation message. */
|
|
7
7
|
readonly message: import("@angular/core").InputSignal<string>;
|
|
@@ -36,6 +36,18 @@ export declare class WrPopconfirm {
|
|
|
36
36
|
* handle on it. A space-separated string works as well as an array.
|
|
37
37
|
*/
|
|
38
38
|
readonly panelClass: import("@angular/core").InputSignal<WrClassInput>;
|
|
39
|
+
/**
|
|
40
|
+
* Where focus goes when the panel opens. `'dialog'` puts it on the panel
|
|
41
|
+
* itself, with no ring, so Tab reaches Cancel and no button is lit;
|
|
42
|
+
* `'first-tabbable'` puts it on Cancel; `false` leaves it on the trigger,
|
|
43
|
+
* and Tab from there walks into the panel. Closing hands focus back to the
|
|
44
|
+
* trigger in every mode.
|
|
45
|
+
*
|
|
46
|
+
* Prefixed because the directive sits on your own element, where an
|
|
47
|
+
* `autoFocus` attribute would also be the native `autofocus`.
|
|
48
|
+
* @default 'dialog'
|
|
49
|
+
*/
|
|
50
|
+
readonly autoFocus: import("@angular/core").InputSignal<WrOverlayAutoFocus>;
|
|
39
51
|
/**
|
|
40
52
|
* Turns the question off: a click on the host opens nothing and is left to
|
|
41
53
|
* propagate, `open()` does nothing, and an open panel closes without
|
|
@@ -55,6 +67,7 @@ export declare class WrPopconfirm {
|
|
|
55
67
|
readonly cancelled: import("@angular/core").OutputEmitterRef<void>;
|
|
56
68
|
private readonly host;
|
|
57
69
|
private readonly focusMonitor;
|
|
70
|
+
private readonly focusTraps;
|
|
58
71
|
private readonly overlay;
|
|
59
72
|
private readonly dir;
|
|
60
73
|
private readonly outsideClick;
|
|
@@ -66,6 +79,7 @@ export declare class WrPopconfirm {
|
|
|
66
79
|
/** Whether the popconfirm is open. Read-only: `open()` and `close()` change it. */
|
|
67
80
|
readonly isOpen: import("@angular/core").Signal<boolean>;
|
|
68
81
|
private overlayRef;
|
|
82
|
+
private finder;
|
|
69
83
|
private readonly uid;
|
|
70
84
|
/** @internal Public so the host binding can read it. */
|
|
71
85
|
protected readonly panelId: string;
|
|
@@ -91,6 +105,14 @@ export declare class WrPopconfirm {
|
|
|
91
105
|
* and Confirm, in that order.
|
|
92
106
|
*/
|
|
93
107
|
private readonly onPaneKeydown;
|
|
108
|
+
/**
|
|
109
|
+
* Tab on the trigger while the panel is open walks into it, as it would into a
|
|
110
|
+
* panel rendered beside the trigger. The way in when focus did not move on
|
|
111
|
+
* open (`wrPopconfirmAutoFocus` is `false`).
|
|
112
|
+
*
|
|
113
|
+
* @internal
|
|
114
|
+
*/
|
|
115
|
+
protected onTriggerKeydown(event: KeyboardEvent): void;
|
|
94
116
|
/**
|
|
95
117
|
* Focus that leaves the panel by any other road (a click on something
|
|
96
118
|
* focusable elsewhere) dismisses it too, and is left where it went. A `null`
|
|
@@ -150,6 +172,11 @@ export declare class WrPopconfirm {
|
|
|
150
172
|
"required": false;
|
|
151
173
|
"isSignal": true;
|
|
152
174
|
};
|
|
175
|
+
"autoFocus": {
|
|
176
|
+
"alias": "wrPopconfirmAutoFocus";
|
|
177
|
+
"required": false;
|
|
178
|
+
"isSignal": true;
|
|
179
|
+
};
|
|
153
180
|
"disabled": {
|
|
154
181
|
"alias": "wrPopconfirmDisabled";
|
|
155
182
|
"required": false;
|
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
|
-
import {
|
|
5
|
-
import
|
|
4
|
+
import { WrAnchoredPosition, WrOverlayAutoFocus } from "ngwr/overlay";
|
|
5
|
+
import "@angular/cdk/overlay";
|
|
6
6
|
/**
|
|
7
7
|
* What a chart's hover tooltip says about one section.
|
|
8
8
|
*
|
|
@@ -26,6 +26,12 @@ interface WrChartTooltipDatum {
|
|
|
26
26
|
* always been.
|
|
27
27
|
*/
|
|
28
28
|
readonly rows?: readonly WrChartTooltipRow[];
|
|
29
|
+
/**
|
|
30
|
+
* A class the chip takes beside its own, so the chart that opened it can restyle its
|
|
31
|
+
* own chip: the chip is drawn in an overlay, outside the chart, where no hook set on
|
|
32
|
+
* the chart reaches it.
|
|
33
|
+
*/
|
|
34
|
+
readonly className?: string;
|
|
29
35
|
}
|
|
30
36
|
/**
|
|
31
37
|
* One line of a chart tooltip's `rows`.
|
|
@@ -118,8 +124,15 @@ type WrPopoverPosition = WrAnchoredPosition;
|
|
|
118
124
|
* then point at a neighbour. The measurement is written to
|
|
119
125
|
* `--wr-chart-tooltip-arrow` on the chip, and the stylesheet puts the arrow there.
|
|
120
126
|
*
|
|
121
|
-
* **
|
|
122
|
-
*
|
|
127
|
+
* **The chip lets the pointer through by default.** It belongs to the chart, not to a
|
|
128
|
+
* hint a reader has to reach: the pointer passes under it to the sections it covers, so
|
|
129
|
+
* moving to the bar beside one switches at once, and off the chart it closes. That
|
|
130
|
+
* fails WCAG 1.4.13's "hoverable", on purpose and by the maintainer's call: every value
|
|
131
|
+
* the chip shows is also the section's accessible name and the chart's data table.
|
|
132
|
+
* `tooltip="hoverable"` brings the hoverable chip back, described next.
|
|
133
|
+
*
|
|
134
|
+
* **A hoverable chip at its section sits over the sections beside it**, so the way onto
|
|
135
|
+
* it can cross another section: straight up from a heatmap
|
|
123
136
|
* day runs through the day above. Switching the moment that day reported itself
|
|
124
137
|
* would move the chip away from a pointer on its way to it — WCAG 1.4.13 with extra
|
|
125
138
|
* steps. So the strip between the anchor and the chip is a bridge: another section
|
|
@@ -130,8 +143,7 @@ type WrPopoverPosition = WrAnchoredPosition;
|
|
|
130
143
|
* pointer that keeps on going up a heatmap's column is moving onto the chip, so it
|
|
131
144
|
* passes over it and the days under it read out only once it comes out the far side.
|
|
132
145
|
*
|
|
133
|
-
* **Why an overlay and not a positioned child
|
|
134
|
-
* own.** A child is clipped by every `overflow` between it and the page, and a
|
|
146
|
+
* **Why an overlay and not a positioned child.** A child is clipped by every `overflow` between it and the page, and a
|
|
135
147
|
* chart sits inside those constantly: `wr-calendar-heatmap` IS a scroll
|
|
136
148
|
* container, and a sparkline in a `wr-table` cell sits under two more.
|
|
137
149
|
*
|
|
@@ -147,7 +159,8 @@ type WrPopoverPosition = WrAnchoredPosition;
|
|
|
147
159
|
*
|
|
148
160
|
* Call from an injection context — a chart's field initialiser.
|
|
149
161
|
*
|
|
150
|
-
* @param enabled The chart's `tooltip` input
|
|
162
|
+
* @param enabled The chart's `tooltip` input: `true` for the chip the pointer passes
|
|
163
|
+
* under, `'hoverable'` for one it can rest on. Turning it off closes an open tooltip.
|
|
151
164
|
* @param resolve What to show for section `index`, and where. It runs after
|
|
152
165
|
* render, so it may read the DOM the section just drew; the signals it reads
|
|
153
166
|
* are tracked, so a data change under an open tooltip re-reads it, and a
|
|
@@ -166,8 +179,14 @@ type WrPopoverPosition = WrAnchoredPosition;
|
|
|
166
179
|
*
|
|
167
180
|
* @internal
|
|
168
181
|
*/
|
|
169
|
-
export declare function useChartTooltip(enabled: Signal<boolean>, resolve: (index: number) => WrChartTooltipTarget | null, sectionAt?: (x: number, y: number) => number | null): WrChartTooltip;
|
|
170
|
-
|
|
182
|
+
export declare function useChartTooltip(enabled: Signal<boolean | 'hoverable'>, resolve: (index: number) => WrChartTooltipTarget | null, sectionAt?: (x: number, y: number) => number | null): WrChartTooltip;
|
|
183
|
+
/**
|
|
184
|
+
* A chart's `tooltip` input: `'hoverable'` as it is, anything else as a boolean attribute.
|
|
185
|
+
*
|
|
186
|
+
* @internal
|
|
187
|
+
*/
|
|
188
|
+
export declare function wrCoerceChartTooltip(value: unknown): boolean | 'hoverable';
|
|
189
|
+
export declare class WrPopover implements AfterViewInit {
|
|
171
190
|
/**
|
|
172
191
|
* Content to render inside the panel.
|
|
173
192
|
* - In **popover** mode (default): pass a `TemplateRef`.
|
|
@@ -180,7 +199,11 @@ export declare class WrPopover {
|
|
|
180
199
|
* - `'popover'` (default) — template content, click trigger, dialog
|
|
181
200
|
* semantics.
|
|
182
201
|
* - `'tooltip'` — text content, hover / keyboard-focus trigger,
|
|
183
|
-
* `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.
|
|
184
207
|
*/
|
|
185
208
|
readonly mode: import("@angular/core").InputSignal<"popover" | "tooltip">;
|
|
186
209
|
/**
|
|
@@ -228,6 +251,20 @@ export declare class WrPopover {
|
|
|
228
251
|
* has a heading or a purpose, pass it.
|
|
229
252
|
*/
|
|
230
253
|
readonly ariaLabel: import("@angular/core").InputSignal<string | null>;
|
|
254
|
+
/**
|
|
255
|
+
* Popover mode only: where focus goes when a click or the keyboard opens the
|
|
256
|
+
* panel. `false` leaves it on the trigger, and Tab from there walks into the
|
|
257
|
+
* panel; `'dialog'` puts it on the panel itself, with no ring;
|
|
258
|
+
* `'first-tabbable'` on the first control inside. An element marked
|
|
259
|
+
* `cdkFocusInitial` in the content takes focus in every mode. A pointer
|
|
260
|
+
* hovering a `trigger="hover"` popover never moves focus. Closing hands focus
|
|
261
|
+
* back to the trigger whenever it was inside.
|
|
262
|
+
*
|
|
263
|
+
* Prefixed because the directive sits on your own element, where an
|
|
264
|
+
* `autoFocus` attribute would also be the native `autofocus`.
|
|
265
|
+
* @default false
|
|
266
|
+
*/
|
|
267
|
+
readonly autoFocus: import("@angular/core").InputSignal<WrOverlayAutoFocus>;
|
|
231
268
|
/**
|
|
232
269
|
* Extra CSS classes for the popover's (or tooltip's) overlay pane.
|
|
233
270
|
*
|
|
@@ -243,6 +280,7 @@ export declare class WrPopover {
|
|
|
243
280
|
readonly closed: import("@angular/core").OutputEmitterRef<void>;
|
|
244
281
|
private readonly host;
|
|
245
282
|
private readonly focusMonitor;
|
|
283
|
+
private readonly focusTraps;
|
|
246
284
|
private readonly keystroke;
|
|
247
285
|
private readonly overlay;
|
|
248
286
|
private readonly dir;
|
|
@@ -263,19 +301,31 @@ export declare class WrPopover {
|
|
|
263
301
|
private overlayRef;
|
|
264
302
|
private connected;
|
|
265
303
|
private textPanelRef;
|
|
304
|
+
private finder;
|
|
266
305
|
/** Whether the HOST itself holds focus — not a descendant of it. */
|
|
267
306
|
private hostFocused;
|
|
268
307
|
private hoverCloseTimer;
|
|
269
308
|
/**
|
|
270
309
|
* Whether Enter or Space opened a `trigger="hover"` popover. The pointer owns
|
|
271
310
|
* a hover popover and must leave the caret alone; the keyboard has nothing
|
|
272
|
-
* else to reach the content with, so a keyboard open
|
|
273
|
-
*
|
|
311
|
+
* else to reach the content with, so a keyboard open behaves exactly as a
|
|
312
|
+
* click popover's open does: `wrPopoverAutoFocus` applies and Tab walks in.
|
|
274
313
|
*/
|
|
275
314
|
private openedByKeyboard;
|
|
276
315
|
private showTimer;
|
|
277
316
|
private hideTimer;
|
|
317
|
+
/** The `aria-label` this directive wrote on a host that had no name. */
|
|
318
|
+
private writtenName;
|
|
319
|
+
/** Whether the tooltip text is the host's accessible name, so it must not describe it too. */
|
|
320
|
+
protected readonly namesHost: import("@angular/core").WritableSignal<boolean>;
|
|
321
|
+
private readonly onServer;
|
|
278
322
|
constructor();
|
|
323
|
+
/**
|
|
324
|
+
* The first name, on the server too, where no render hook runs. A view hook
|
|
325
|
+
* rather than an `effect()`: effects run before host bindings, and `<wr-btn>`
|
|
326
|
+
* gets its `role` from one.
|
|
327
|
+
*/
|
|
328
|
+
ngAfterViewInit(): void;
|
|
279
329
|
/** Open the panel. Does nothing while the trigger is disabled. */
|
|
280
330
|
open(): void;
|
|
281
331
|
close(): void;
|
|
@@ -305,6 +355,16 @@ export declare class WrPopover {
|
|
|
305
355
|
* @internal
|
|
306
356
|
*/
|
|
307
357
|
protected onActivateKey(event: Event): void;
|
|
358
|
+
/**
|
|
359
|
+
* Tab on the trigger while its click or keyboard-opened popover is showing
|
|
360
|
+
* walks into the panel, as it would into one rendered beside the trigger: the
|
|
361
|
+
* pane sits at the end of `<body>`, where Tab would not find it. A panel with
|
|
362
|
+
* no tab stop closes instead and Tab moves on through the page, which is what
|
|
363
|
+
* Tab past the last control of a panel does.
|
|
364
|
+
*
|
|
365
|
+
* @internal
|
|
366
|
+
*/
|
|
367
|
+
protected onTriggerTab(event: Event): void;
|
|
308
368
|
/** @internal */
|
|
309
369
|
protected onEscape(): void;
|
|
310
370
|
/**
|
|
@@ -326,6 +386,15 @@ export declare class WrPopover {
|
|
|
326
386
|
* app, where the CDK never expires an origin at all.
|
|
327
387
|
*/
|
|
328
388
|
private fromNavigationKey;
|
|
389
|
+
/**
|
|
390
|
+
* Names a button or link that has no accessible name with the tooltip text,
|
|
391
|
+
* and records whether that text is the host's name either way.
|
|
392
|
+
*
|
|
393
|
+
* A tooltip that only describes leaves an icon-only control unnamed, and one
|
|
394
|
+
* that repeats the name is read twice. An `aria-label` this did not write is
|
|
395
|
+
* the consumer's and is never replaced.
|
|
396
|
+
*/
|
|
397
|
+
private syncName;
|
|
329
398
|
private scheduleShow;
|
|
330
399
|
private scheduleHide;
|
|
331
400
|
private clearTimers;
|
|
@@ -451,6 +520,11 @@ export declare class WrPopover {
|
|
|
451
520
|
"required": false;
|
|
452
521
|
"isSignal": true;
|
|
453
522
|
};
|
|
523
|
+
"autoFocus": {
|
|
524
|
+
"alias": "wrPopoverAutoFocus";
|
|
525
|
+
"required": false;
|
|
526
|
+
"isSignal": true;
|
|
527
|
+
};
|
|
454
528
|
"panelClass": {
|
|
455
529
|
"alias": "panelClass";
|
|
456
530
|
"required": false;
|
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;
|
|
@@ -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";
|