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
|
@@ -16,6 +16,9 @@ import { Params } from "@angular/router";
|
|
|
16
16
|
*
|
|
17
17
|
* <!-- Custom separator -->
|
|
18
18
|
* <wr-breadcrumbs separator="›">…</wr-breadcrumbs>
|
|
19
|
+
*
|
|
20
|
+
* <!-- Long names end in an ellipsis instead of wrapping -->
|
|
21
|
+
* <wr-breadcrumbs truncate>…</wr-breadcrumbs>
|
|
19
22
|
* ```
|
|
20
23
|
*
|
|
21
24
|
* @see https://ngwr.dev/reference/components/breadcrumbs
|
|
@@ -28,6 +31,15 @@ export declare class WrBreadcrumbs {
|
|
|
28
31
|
* then `'Breadcrumbs'`.
|
|
29
32
|
*/
|
|
30
33
|
readonly ariaLabel: import("@angular/core").InputSignal<string | null>;
|
|
34
|
+
/**
|
|
35
|
+
* Keep every item on one line and end a long one in an ellipsis. A linked item
|
|
36
|
+
* is cut at `--wr-breadcrumbs-item-max-width` (16rem). The current item is cut
|
|
37
|
+
* at `--wr-breadcrumbs-current-max-width`, `none` by default, so it is cut only
|
|
38
|
+
* where it is wider than the trail. A cut item shows its full text as a `title`
|
|
39
|
+
* on hover.
|
|
40
|
+
* @default false
|
|
41
|
+
*/
|
|
42
|
+
readonly truncate: import("@angular/core").InputSignalWithTransform<boolean, any>;
|
|
31
43
|
protected readonly resolvedAriaLabel: import("@angular/core").Signal<string>;
|
|
32
44
|
protected readonly separatorValue: import("@angular/core").Signal<string>;
|
|
33
45
|
static ɵfac: i0.ɵɵFactoryDeclaration<WrBreadcrumbs, never>;
|
|
@@ -42,6 +54,11 @@ export declare class WrBreadcrumbs {
|
|
|
42
54
|
"required": false;
|
|
43
55
|
"isSignal": true;
|
|
44
56
|
};
|
|
57
|
+
"truncate": {
|
|
58
|
+
"alias": "truncate";
|
|
59
|
+
"required": false;
|
|
60
|
+
"isSignal": true;
|
|
61
|
+
};
|
|
45
62
|
}, {}, never, ["*"], true, never>;
|
|
46
63
|
}
|
|
47
64
|
/**
|
|
@@ -53,6 +70,11 @@ export declare class WrBreadcrumbs {
|
|
|
53
70
|
* `<a class="wr-breadcrumbs__current" role="text" tabindex="-1"
|
|
54
71
|
* aria-current="page">` (when neither is set — typically the last crumb).
|
|
55
72
|
*
|
|
73
|
+
* The text sits in a `<span class="wr-breadcrumbs__label">`, which has no box of
|
|
74
|
+
* its own until the trail is `truncate`. A label that is cut then takes its full
|
|
75
|
+
* text as a `title` while the pointer is over the crumb. The accessible name is
|
|
76
|
+
* the text itself, cut or not.
|
|
77
|
+
*
|
|
56
78
|
* @example
|
|
57
79
|
* ```html
|
|
58
80
|
* <wr-breadcrumbs-item icon="home" routerLink="/">Home</wr-breadcrumbs-item>
|
|
@@ -81,6 +103,9 @@ export declare class WrBreadcrumbsItem {
|
|
|
81
103
|
readonly icon: import("@angular/core").InputSignal<string | null>;
|
|
82
104
|
protected readonly isLink: import("@angular/core").Signal<boolean>;
|
|
83
105
|
protected readonly isRouter: import("@angular/core").Signal<boolean>;
|
|
106
|
+
private readonly host;
|
|
107
|
+
protected readonly cutTitle: import("@angular/core").WritableSignal<string | null>;
|
|
108
|
+
protected markCut(): void;
|
|
84
109
|
protected readonly rootClass: import("@angular/core").Signal<"wr-breadcrumbs__link" | "wr-breadcrumbs__current">;
|
|
85
110
|
static ɵfac: i0.ɵɵFactoryDeclaration<WrBreadcrumbsItem, never>;
|
|
86
111
|
static ɵcmp: i0.ɵɵComponentDeclaration<WrBreadcrumbsItem, "wr-breadcrumbs-item", never, {
|
package/types/ngwr-button.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as i0 from "@angular/core";
|
|
2
|
-
import { Signal } from "@angular/core";
|
|
2
|
+
import { InjectionToken, Signal } from "@angular/core";
|
|
3
3
|
/**
|
|
4
4
|
* @license
|
|
5
5
|
*
|
|
@@ -80,8 +80,14 @@ export declare class WrButton {
|
|
|
80
80
|
* @default null
|
|
81
81
|
*/
|
|
82
82
|
readonly color: import("@angular/core").InputSignal<"success" | "info" | "warning" | "danger" | "primary" | null>;
|
|
83
|
-
/**
|
|
84
|
-
|
|
83
|
+
/**
|
|
84
|
+
* Size variant. `null` (default) takes the size a container provides through
|
|
85
|
+
* `WR_BUTTON_SIZE`, such as a sized dialog, and `md` outside one. A size set
|
|
86
|
+
* here always wins.
|
|
87
|
+
*
|
|
88
|
+
* @default null
|
|
89
|
+
*/
|
|
90
|
+
readonly size: import("@angular/core").InputSignal<WrButtonSize | null>;
|
|
85
91
|
/**
|
|
86
92
|
* Corner treatment — `rounded`, `pill` or `squircle`. `null` (default) falls
|
|
87
93
|
* back to `rounded`. Inside a `<wr-btn-group shape="…">`, the group's shape
|
|
@@ -123,6 +129,8 @@ export declare class WrButton {
|
|
|
123
129
|
* `rounded`.
|
|
124
130
|
*/
|
|
125
131
|
protected readonly resolvedShape: import("@angular/core").Signal<WrButtonShape>;
|
|
132
|
+
private readonly containerSize;
|
|
133
|
+
protected readonly resolvedSize: import("@angular/core").Signal<WrButtonSize>;
|
|
126
134
|
private readonly hostEl;
|
|
127
135
|
/**
|
|
128
136
|
* Whether this instance is the `<wr-btn>` ELEMENT rather than the attribute
|
|
@@ -308,4 +316,16 @@ export declare class WrButtonGroup implements WrButtonGroupContext {
|
|
|
308
316
|
};
|
|
309
317
|
}, {}, never, ["*"], true, never>;
|
|
310
318
|
}
|
|
319
|
+
/**
|
|
320
|
+
* The size a `<wr-btn>` takes when it sets none of its own. A container
|
|
321
|
+
* provides it for the buttons in its content, as `WrDialog` does for a sized
|
|
322
|
+
* dialog. The value is a function, so a signal fits as it is; `null` or
|
|
323
|
+
* `undefined` leaves the button at `md`.
|
|
324
|
+
*
|
|
325
|
+
* @example
|
|
326
|
+
* ```ts
|
|
327
|
+
* providers: [{ provide: WR_BUTTON_SIZE, useValue: () => 'sm' }]
|
|
328
|
+
* ```
|
|
329
|
+
*/
|
|
330
|
+
export declare const WR_BUTTON_SIZE: InjectionToken<() => WrButtonSize | null | undefined>;
|
|
311
331
|
export type { WrButtonIconPosition, WrButtonShape, WrButtonSize };
|
|
@@ -192,14 +192,16 @@ export declare class WrCarouselHarness extends ComponentHarness {
|
|
|
192
192
|
* their own, when a tick must not be read out.
|
|
193
193
|
*/
|
|
194
194
|
getLivePoliteness(): Promise<string | null>;
|
|
195
|
+
/** Whether the pause button is on the page: `autoplay` and `pauseButton` on, two slides or more. */
|
|
196
|
+
hasPauseButton(): Promise<boolean>;
|
|
195
197
|
/**
|
|
196
198
|
* The name of the pause button, which says what a press does next: the pause
|
|
197
199
|
* label while autoplay is on, the play label while it is off, held or not.
|
|
198
|
-
* Throws when the
|
|
199
|
-
*
|
|
200
|
+
* Throws when the button is not drawn, which is every carousel without
|
|
201
|
+
* `autoplay` and `pauseButton`.
|
|
200
202
|
*/
|
|
201
203
|
getAutoplayLabel(): Promise<string | null>;
|
|
202
|
-
/** Press the pause button. Throws
|
|
204
|
+
/** Press the pause button. Throws when the button is not drawn. */
|
|
203
205
|
toggleAutoplay(): Promise<void>;
|
|
204
206
|
/**
|
|
205
207
|
* Move the pointer onto the carousel, which is what HOLDS autoplay.
|
|
@@ -213,7 +215,7 @@ export declare class WrCarouselHarness extends ComponentHarness {
|
|
|
213
215
|
mouseAway(): Promise<void>;
|
|
214
216
|
/**
|
|
215
217
|
* Put keyboard focus on the first control the carousel renders — the pause
|
|
216
|
-
* button under `autoplay`, else the previous arrow, or the first dot when the
|
|
218
|
+
* button under `autoplay` with `pauseButton`, else the previous arrow, or the first dot when the
|
|
217
219
|
* arrows are hidden.
|
|
218
220
|
*
|
|
219
221
|
* This is the keyboard half of the autoplay hold: WCAG 2.2.2 wants a way to stop
|
package/types/ngwr-carousel.d.ts
CHANGED
|
@@ -112,11 +112,17 @@ export declare class WrCarousel implements WrCarouselContext {
|
|
|
112
112
|
/** Show dot indicators below the slides. @default true */
|
|
113
113
|
readonly showDots: import("@angular/core").InputSignalWithTransform<boolean, any>;
|
|
114
114
|
/**
|
|
115
|
-
* Auto-advance slides
|
|
116
|
-
*
|
|
117
|
-
*
|
|
115
|
+
* Auto-advance slides. Held while the pointer or keyboard focus is inside the
|
|
116
|
+
* carousel and during a swipe. While the reader prefers reduced motion it does
|
|
117
|
+
* not start until they press play. Turn on `pauseButton` to let readers stop
|
|
118
|
+
* it. @default false
|
|
118
119
|
*/
|
|
119
120
|
readonly autoplay: import("@angular/core").InputSignalWithTransform<boolean, any>;
|
|
121
|
+
/**
|
|
122
|
+
* Draw a pause / play button while `autoplay` is on. WCAG 2.2.2 asks for a way
|
|
123
|
+
* to pause moving content, so turn it on with autoplay. @default false
|
|
124
|
+
*/
|
|
125
|
+
readonly pauseButton: import("@angular/core").InputSignalWithTransform<boolean, any>;
|
|
120
126
|
/** Autoplay interval (ms). @default 4000 */
|
|
121
127
|
readonly intervalMs: import("@angular/core").InputSignalWithTransform<number, unknown>;
|
|
122
128
|
/** Wrap around at the ends. @default true */
|
|
@@ -208,6 +214,8 @@ export declare class WrCarousel implements WrCarouselContext {
|
|
|
208
214
|
private swipeAxis;
|
|
209
215
|
protected onSwipeStart(event: TouchEvent): void;
|
|
210
216
|
protected onSwipeMove(event: TouchEvent): void;
|
|
217
|
+
/** The browser took the touch over (a scroll, a system gesture): drop the drag, never navigate. */
|
|
218
|
+
protected onSwipeCancel(): void;
|
|
211
219
|
protected onSwipeEnd(event: TouchEvent, viewport: HTMLElement): void;
|
|
212
220
|
static ɵfac: i0.ɵɵFactoryDeclaration<WrCarousel, never>;
|
|
213
221
|
static ɵcmp: i0.ɵɵComponentDeclaration<WrCarousel, "wr-carousel", never, {
|
|
@@ -266,6 +274,11 @@ export declare class WrCarousel implements WrCarouselContext {
|
|
|
266
274
|
"required": false;
|
|
267
275
|
"isSignal": true;
|
|
268
276
|
};
|
|
277
|
+
"pauseButton": {
|
|
278
|
+
"alias": "pauseButton";
|
|
279
|
+
"required": false;
|
|
280
|
+
"isSignal": true;
|
|
281
|
+
};
|
|
269
282
|
"intervalMs": {
|
|
270
283
|
"alias": "intervalMs";
|
|
271
284
|
"required": false;
|
|
@@ -132,9 +132,10 @@ export declare class WrCascaderOptionHarness extends ComponentHarness {
|
|
|
132
132
|
* handler).
|
|
133
133
|
*
|
|
134
134
|
* Sent to THIS option, wherever the caret is. A keyboard user reaches it with
|
|
135
|
-
* the arrows (and type-ahead) from the panel's one tab stop —
|
|
136
|
-
* moves focus onto the selected path's leaf,
|
|
137
|
-
*
|
|
135
|
+
* the arrows (and type-ahead) from the panel's one tab stop — ArrowDown or Tab
|
|
136
|
+
* on the trigger of an open panel moves focus onto the selected path's leaf,
|
|
137
|
+
* else the first enabled root; opening alone moves nothing unless `autoFocus`
|
|
138
|
+
* is set — and Tab leaves the panel rather than walking it. Call {@link focus} first when a
|
|
138
139
|
* spec wants the caret where a reader's would be.
|
|
139
140
|
*/
|
|
140
141
|
selectByKeyboard(): Promise<void>;
|
package/types/ngwr-cascader.d.ts
CHANGED
|
@@ -104,6 +104,8 @@ export declare class WrCascader<T = string> implements FormValueControl<unknown>
|
|
|
104
104
|
protected readonly nameLabel: import("@angular/core").Signal<string | null>;
|
|
105
105
|
/** Control size — shares the `--wr-control-*` contract. @default 'md' */
|
|
106
106
|
readonly size: import("@angular/core").InputSignal<WrCascaderSize>;
|
|
107
|
+
/** Stretch the cascader to fill its parent's width. @default false */
|
|
108
|
+
readonly block: import("@angular/core").InputSignalWithTransform<boolean, any>;
|
|
107
109
|
/** Pill-shaped corners on the trigger. @default false */
|
|
108
110
|
readonly rounded: import("@angular/core").InputSignalWithTransform<boolean, any>;
|
|
109
111
|
/** Show a clear-all (×) button on the trigger when a path is selected. @default true */
|
|
@@ -115,6 +117,14 @@ export declare class WrCascader<T = string> implements FormValueControl<unknown>
|
|
|
115
117
|
readonly changeOnSelect: import("@angular/core").InputSignalWithTransform<boolean, any>;
|
|
116
118
|
/** Separator between labels in the trigger display. @default '/' */
|
|
117
119
|
readonly separator: import("@angular/core").InputSignal<string>;
|
|
120
|
+
/**
|
|
121
|
+
* Focus the selected option, or the first one, when the panel opens. Off,
|
|
122
|
+
* focus stays on the trigger: ArrowDown, ArrowUp or Tab there move into the
|
|
123
|
+
* panel, and a letter jumps to the option it starts.
|
|
124
|
+
*
|
|
125
|
+
* @default false
|
|
126
|
+
*/
|
|
127
|
+
readonly autoFocus: import("@angular/core").InputSignalWithTransform<boolean, any>;
|
|
118
128
|
/**
|
|
119
129
|
* Extra CSS classes for the column panel's overlay pane.
|
|
120
130
|
*
|
|
@@ -214,10 +224,18 @@ export declare class WrCascader<T = string> implements FormValueControl<unknown>
|
|
|
214
224
|
* and the shape `wr-dropdown`'s trigger uses. Enter and Space need no branch: the
|
|
215
225
|
* trigger is a real `<button>`, so the browser turns them into the click above.
|
|
216
226
|
*
|
|
217
|
-
*
|
|
218
|
-
*
|
|
227
|
+
* Opening leaves the caret here unless `autoFocus` asks, so while the panel is
|
|
228
|
+
* up the trigger is the way in: see {@link enterPanelFromTrigger}.
|
|
219
229
|
*/
|
|
220
230
|
protected onTriggerKeydown(event: KeyboardEvent): void;
|
|
231
|
+
/**
|
|
232
|
+
* Keys on the trigger while the panel is open. The arrows and Tab move to the
|
|
233
|
+
* panel's tab stop: the pane sits at the end of `<body>`, where the browser's
|
|
234
|
+
* own Tab would not find it. A letter jumps to the option of that column it
|
|
235
|
+
* starts. Shift+Tab, or Tab with nothing to land on, closes the panel and
|
|
236
|
+
* moves on through the page.
|
|
237
|
+
*/
|
|
238
|
+
private enterPanelFromTrigger;
|
|
221
239
|
protected onOptionClick(colIndex: number, opt: WrCascaderOption<T>, event: Event): void;
|
|
222
240
|
/**
|
|
223
241
|
* The tree keys the panel's roles promise, per the APG tree pattern: Up / Down
|
|
@@ -237,7 +255,10 @@ export declare class WrCascader<T = string> implements FormValueControl<unknown>
|
|
|
237
255
|
protected isTabStop(colIndex: number, opt: WrCascaderOption<T>): boolean;
|
|
238
256
|
/**
|
|
239
257
|
* Move to the next enabled option in `column` whose label starts with the letters
|
|
240
|
-
* typed so far: {@link wrTypeahead} over the column's labels.
|
|
258
|
+
* typed so far: {@link wrTypeahead} over the column's labels. `current` is
|
|
259
|
+
* `null` when the caret is not in the column yet.
|
|
260
|
+
*
|
|
261
|
+
* @returns whether the caret moved.
|
|
241
262
|
*/
|
|
242
263
|
private typeAhead;
|
|
243
264
|
protected clearSelection(event: Event): void;
|
|
@@ -317,6 +338,11 @@ export declare class WrCascader<T = string> implements FormValueControl<unknown>
|
|
|
317
338
|
"required": false;
|
|
318
339
|
"isSignal": true;
|
|
319
340
|
};
|
|
341
|
+
"block": {
|
|
342
|
+
"alias": "block";
|
|
343
|
+
"required": false;
|
|
344
|
+
"isSignal": true;
|
|
345
|
+
};
|
|
320
346
|
"rounded": {
|
|
321
347
|
"alias": "rounded";
|
|
322
348
|
"required": false;
|
|
@@ -337,6 +363,11 @@ export declare class WrCascader<T = string> implements FormValueControl<unknown>
|
|
|
337
363
|
"required": false;
|
|
338
364
|
"isSignal": true;
|
|
339
365
|
};
|
|
366
|
+
"autoFocus": {
|
|
367
|
+
"alias": "autoFocus";
|
|
368
|
+
"required": false;
|
|
369
|
+
"isSignal": true;
|
|
370
|
+
};
|
|
340
371
|
"panelClass": {
|
|
341
372
|
"alias": "panelClass";
|
|
342
373
|
"required": false;
|
|
@@ -11,7 +11,7 @@ interface WrBarChartHarnessFilters extends BaseHarnessFilters {
|
|
|
11
11
|
interface WrBarChartBar {
|
|
12
12
|
/** The label printed under the column, or in the gutter lying down — decoration, and `aria-hidden`. */
|
|
13
13
|
readonly label: string;
|
|
14
|
-
/** The value printed at the bar, or `null` when `showValues` is off. */
|
|
14
|
+
/** The value printed at the bar, or `null` when `showValues` is off, which is the default. */
|
|
15
15
|
readonly value: string | null;
|
|
16
16
|
/** What the column announces: the label and the value in one string. */
|
|
17
17
|
readonly name: string | null;
|
|
@@ -44,7 +44,10 @@ interface WrBarChartSeriesBar {
|
|
|
44
44
|
readonly sizePercent: number;
|
|
45
45
|
/** The colour the component wrote on the bar: its series' own, or the palette's. */
|
|
46
46
|
readonly color: string | null;
|
|
47
|
-
/**
|
|
47
|
+
/**
|
|
48
|
+
* The series' own dash, `''` for the first: the pattern its outline takes when
|
|
49
|
+
* `--wr-bar-chart-series-edge-width` gives the bars one. Bars are solid fills by default.
|
|
50
|
+
*/
|
|
48
51
|
readonly dash: string;
|
|
49
52
|
}
|
|
50
53
|
/**
|
|
@@ -99,10 +102,13 @@ interface WrBarChartHarnessLine {
|
|
|
99
102
|
* Test harness for `<wr-bar-chart>`.
|
|
100
103
|
*
|
|
101
104
|
* **The bars are read as PERCENTAGES, not as pixels.** Each bar's share of the value
|
|
102
|
-
* axis
|
|
103
|
-
*
|
|
105
|
+
* axis - of the axis maximum, while zero is the axis minimum - is written inline, as
|
|
106
|
+
* `--wr-bar-chart-size` from 0 to 1, and reported here times 100, which is the one number that
|
|
104
107
|
* survives a test with no layout — and it is also the component's whole job, since
|
|
105
|
-
* the maximum is either given or derived from the data.
|
|
108
|
+
* the maximum is either given or derived from the data. With the grid or the scale shown
|
|
109
|
+
* (`showGrid`, `showAxis`, both on by default) the axis is snapped to round numbers, so
|
|
110
|
+
* the tallest bar reads its value over the axis' top rather than 100; with both off the
|
|
111
|
+
* axis is the data's own extent. That share is read off the
|
|
106
112
|
* `style` ATTRIBUTE rather than through `getCssValue()`, and the difference is not
|
|
107
113
|
* cosmetic: `getCssValue()` is `getComputedStyle()`, which answered a used height
|
|
108
114
|
* in pixels in a real browser and the declared value in jsdom, with no error to say
|
|
@@ -130,8 +136,8 @@ interface WrBarChartHarnessLine {
|
|
|
130
136
|
* **What it cannot read** is where anything lands: jsdom lays nothing out, so there is no
|
|
131
137
|
* method for a bar's pixels, for whether a name was ellipsised, or for which side of the
|
|
132
138
|
* plot the gutter sits on under RTL. {@link getOrientation} reads the orientation the
|
|
133
|
-
* component declared. The tooltip opens on a category
|
|
134
|
-
* dispatch, but what it SAYS is in the data table, which {@link getTableRows} reads.
|
|
139
|
+
* component declared. The tooltip opens on a `mouseover` inside a category, which a spec
|
|
140
|
+
* can dispatch, but what it SAYS is in the data table, which {@link getTableRows} reads.
|
|
135
141
|
*
|
|
136
142
|
* @example
|
|
137
143
|
* ```ts
|
|
@@ -161,10 +167,6 @@ export declare class WrBarChartHarness extends ComponentHarness {
|
|
|
161
167
|
* Where zero is along the value axis, as a percentage of the axis from its minimum: the
|
|
162
168
|
* line every bar starts at, read off the share the component wrote on the track. 0 until
|
|
163
169
|
* a value — a `series` bar, a line, or a `data` bar beside `lines` — goes below zero.
|
|
164
|
-
*
|
|
165
|
-
* Throws for a chart drawn from `data` standing up without `lines`, which draws no track:
|
|
166
|
-
* its bars always stand on the bottom of the plot, and answering 0 there would read the
|
|
167
|
-
* same for a chart that failed to write the share it does write everywhere else.
|
|
168
170
|
*/
|
|
169
171
|
getZeroPercent(): Promise<number>;
|
|
170
172
|
/** The category names the chart prints — under the columns, or in the gutter sideways — in order. */
|
|
@@ -209,7 +211,7 @@ export declare class WrBarChartHarness extends ComponentHarness {
|
|
|
209
211
|
/**
|
|
210
212
|
* The values printed at the bars, in the order drawn: above each `data` column, or past
|
|
211
213
|
* the end of each series bar — a pile's total for each sign under `stacked`. `[]` with
|
|
212
|
-
* `showValues` off. The hidden copies the plot keeps its room from are not read.
|
|
214
|
+
* `showValues` off, which is the default. The hidden copies the plot keeps its room from are not read.
|
|
213
215
|
*/
|
|
214
216
|
getValues(): Promise<string[]>;
|
|
215
217
|
/** How many of `lines` the chart draws: a hidden line draws nothing, so it is not counted. */
|
|
@@ -222,7 +224,7 @@ export declare class WrBarChartHarness extends ComponentHarness {
|
|
|
222
224
|
* shows. `[]` for a chart without lines.
|
|
223
225
|
*/
|
|
224
226
|
getLines(): Promise<WrBarChartHarnessLine[]>;
|
|
225
|
-
/** Whether the legend is rendered
|
|
227
|
+
/** Whether the legend is rendered: `series` or `lines`, `showLegend`, and a `legendPosition` other than `none`. */
|
|
226
228
|
hasLegend(): Promise<boolean>;
|
|
227
229
|
/**
|
|
228
230
|
* The legend, as a {@link WrChartLegendHarness}: each row's name, its key and its hidden
|