ngwr 16.2.0 → 16.4.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/badge/styles/_tag.scss +73 -1
- package/calendar/styles/_index.scss +22 -0
- package/carousel/styles/_index.scss +53 -1
- package/cascader/styles/_rules.scss +7 -0
- package/color-picker/styles/_index.scss +21 -0
- package/date-picker/styles/_index.scss +19 -0
- package/dropdown/styles/_index.scss +13 -19
- package/fesm2022/ngwr-affix.mjs +3 -3
- package/fesm2022/ngwr-alert-testing.mjs +70 -0
- package/fesm2022/ngwr-alert-testing.mjs.map +1 -0
- package/fesm2022/ngwr-alert.mjs +3 -3
- package/fesm2022/ngwr-anchor.mjs +17 -6
- package/fesm2022/ngwr-anchor.mjs.map +1 -1
- package/fesm2022/ngwr-animations-aurora.mjs +3 -3
- package/fesm2022/ngwr-animations-blur-reveal.mjs +3 -3
- package/fesm2022/ngwr-animations-click-sparks.mjs +3 -3
- package/fesm2022/ngwr-animations-confetti.mjs +3 -3
- package/fesm2022/ngwr-animations-decode.mjs +3 -3
- package/fesm2022/ngwr-animations-destruct.mjs +3 -3
- package/fesm2022/ngwr-animations-dot-grid.mjs +3 -3
- package/fesm2022/ngwr-animations-falling-letters.mjs +3 -3
- package/fesm2022/ngwr-animations-flow-lines.mjs +3 -3
- package/fesm2022/ngwr-animations-fluid-cursor.mjs +3 -3
- package/fesm2022/ngwr-animations-glitch.mjs +3 -3
- package/fesm2022/ngwr-animations-glow-border.mjs +3 -3
- package/fesm2022/ngwr-animations-gradient-flow.mjs +3 -3
- package/fesm2022/ngwr-animations-marquee.mjs +3 -3
- package/fesm2022/ngwr-animations-orbit.mjs +3 -3
- package/fesm2022/ngwr-animations-reveal.mjs +3 -3
- package/fesm2022/ngwr-animations-ripple-grid.mjs +3 -3
- package/fesm2022/ngwr-animations-rotate-reveal.mjs +3 -3
- package/fesm2022/ngwr-animations-shimmer.mjs +3 -3
- package/fesm2022/ngwr-animations-spotlight.mjs +3 -3
- package/fesm2022/ngwr-animations-thread-lines.mjs +3 -3
- package/fesm2022/ngwr-animations-tilt.mjs +3 -3
- package/fesm2022/ngwr-animations-typewriter.mjs +3 -3
- package/fesm2022/ngwr-avatar.mjs +3 -3
- package/fesm2022/ngwr-back-top.mjs +3 -3
- package/fesm2022/ngwr-badge.mjs +129 -11
- package/fesm2022/ngwr-badge.mjs.map +1 -1
- package/fesm2022/ngwr-breadcrumbs-testing.mjs +83 -0
- package/fesm2022/ngwr-breadcrumbs-testing.mjs.map +1 -0
- package/fesm2022/ngwr-breadcrumbs.mjs +8 -8
- package/fesm2022/ngwr-breadcrumbs.mjs.map +1 -1
- package/fesm2022/ngwr-burger-testing.mjs +45 -0
- package/fesm2022/ngwr-burger-testing.mjs.map +1 -0
- package/fesm2022/ngwr-burger.mjs +3 -3
- package/fesm2022/ngwr-button.mjs +6 -6
- package/fesm2022/ngwr-calendar-testing.mjs +18 -0
- package/fesm2022/ngwr-calendar-testing.mjs.map +1 -1
- package/fesm2022/ngwr-calendar.mjs +500 -73
- package/fesm2022/ngwr-calendar.mjs.map +1 -1
- package/fesm2022/ngwr-card.mjs +9 -9
- package/fesm2022/ngwr-carousel-testing.mjs +24 -1
- package/fesm2022/ngwr-carousel-testing.mjs.map +1 -1
- package/fesm2022/ngwr-carousel.mjs +73 -10
- package/fesm2022/ngwr-carousel.mjs.map +1 -1
- package/fesm2022/ngwr-cascader.mjs +45 -37
- package/fesm2022/ngwr-cascader.mjs.map +1 -1
- package/fesm2022/ngwr-charts-bar-chart.mjs +5 -4
- package/fesm2022/ngwr-charts-bar-chart.mjs.map +1 -1
- package/fesm2022/ngwr-charts-boxplot-chart.mjs +3 -3
- package/fesm2022/ngwr-charts-bullet-chart.mjs +3 -3
- package/fesm2022/ngwr-charts-calendar-heatmap.mjs +3 -3
- package/fesm2022/ngwr-charts-candlestick-chart.mjs +3 -3
- package/fesm2022/ngwr-charts-chart-legend.mjs +26 -11
- package/fesm2022/ngwr-charts-chart-legend.mjs.map +1 -1
- package/fesm2022/ngwr-charts-core.mjs +3 -3
- package/fesm2022/ngwr-charts-donut-chart.mjs +5 -4
- package/fesm2022/ngwr-charts-donut-chart.mjs.map +1 -1
- package/fesm2022/ngwr-charts-funnel-chart.mjs +3 -3
- package/fesm2022/ngwr-charts-gauge.mjs +3 -3
- package/fesm2022/ngwr-charts-heatmap-chart.mjs +3 -3
- package/fesm2022/ngwr-charts-line-chart-testing.mjs +3 -2
- package/fesm2022/ngwr-charts-line-chart-testing.mjs.map +1 -1
- package/fesm2022/ngwr-charts-line-chart.mjs +17 -7
- package/fesm2022/ngwr-charts-line-chart.mjs.map +1 -1
- package/fesm2022/ngwr-charts-meter-group.mjs +5 -4
- package/fesm2022/ngwr-charts-meter-group.mjs.map +1 -1
- package/fesm2022/ngwr-charts-radar-chart.mjs +5 -4
- package/fesm2022/ngwr-charts-radar-chart.mjs.map +1 -1
- package/fesm2022/ngwr-charts-scatter-chart.mjs +5 -4
- package/fesm2022/ngwr-charts-scatter-chart.mjs.map +1 -1
- package/fesm2022/ngwr-charts-sparkline.mjs +3 -3
- package/fesm2022/ngwr-charts-treemap-chart.mjs +3 -3
- package/fesm2022/ngwr-charts-waterfall-chart.mjs +3 -3
- package/fesm2022/ngwr-checkbox.mjs +6 -6
- package/fesm2022/ngwr-clipboard.mjs +3 -3
- package/fesm2022/ngwr-collapse.mjs +9 -9
- package/fesm2022/ngwr-color-picker-testing.mjs +11 -1
- package/fesm2022/ngwr-color-picker-testing.mjs.map +1 -1
- package/fesm2022/ngwr-color-picker.mjs +153 -37
- package/fesm2022/ngwr-color-picker.mjs.map +1 -1
- package/fesm2022/ngwr-command-palette.mjs +3 -3
- package/fesm2022/ngwr-comment.mjs +10 -6
- package/fesm2022/ngwr-comment.mjs.map +1 -1
- package/fesm2022/ngwr-compare-testing.mjs +84 -0
- package/fesm2022/ngwr-compare-testing.mjs.map +1 -0
- package/fesm2022/ngwr-compare.mjs +3 -3
- package/fesm2022/ngwr-context-menu.mjs +28 -13
- package/fesm2022/ngwr-context-menu.mjs.map +1 -1
- package/fesm2022/ngwr-cookie.mjs +3 -3
- package/fesm2022/ngwr-copy-value.mjs +3 -3
- package/fesm2022/ngwr-counter.mjs +6 -6
- package/fesm2022/ngwr-date-picker-testing.mjs +30 -4
- package/fesm2022/ngwr-date-picker-testing.mjs.map +1 -1
- package/fesm2022/ngwr-date-picker.mjs +342 -69
- package/fesm2022/ngwr-date-picker.mjs.map +1 -1
- package/fesm2022/ngwr-date-stamp.mjs +3 -3
- package/fesm2022/ngwr-date.mjs +59 -8
- package/fesm2022/ngwr-date.mjs.map +1 -1
- package/fesm2022/ngwr-density.mjs +6 -6
- package/fesm2022/ngwr-descriptions.mjs +6 -6
- package/fesm2022/ngwr-dialog.mjs +18 -18
- package/fesm2022/ngwr-directives.mjs +15 -15
- package/fesm2022/ngwr-divider.mjs +3 -3
- package/fesm2022/ngwr-drawer.mjs +51 -29
- package/fesm2022/ngwr-drawer.mjs.map +1 -1
- package/fesm2022/ngwr-dropdown-testing.mjs +11 -3
- package/fesm2022/ngwr-dropdown-testing.mjs.map +1 -1
- package/fesm2022/ngwr-dropdown.mjs +70 -99
- package/fesm2022/ngwr-dropdown.mjs.map +1 -1
- package/fesm2022/ngwr-editor.mjs +4 -3
- package/fesm2022/ngwr-editor.mjs.map +1 -1
- package/fesm2022/ngwr-empty.mjs +3 -3
- package/fesm2022/ngwr-event-calendar.mjs +186 -33
- package/fesm2022/ngwr-event-calendar.mjs.map +1 -1
- package/fesm2022/ngwr-file-upload-testing.mjs +34 -2
- package/fesm2022/ngwr-file-upload-testing.mjs.map +1 -1
- package/fesm2022/ngwr-file-upload.mjs +279 -16
- package/fesm2022/ngwr-file-upload.mjs.map +1 -1
- package/fesm2022/ngwr-form.mjs +9 -9
- package/fesm2022/ngwr-form.mjs.map +1 -1
- package/fesm2022/ngwr-graph-testing.mjs +30 -0
- package/fesm2022/ngwr-graph-testing.mjs.map +1 -1
- package/fesm2022/ngwr-graph.mjs +664 -43
- package/fesm2022/ngwr-graph.mjs.map +1 -1
- package/fesm2022/ngwr-hotkey.mjs +6 -6
- package/fesm2022/ngwr-i18n-ar.mjs +27 -8
- package/fesm2022/ngwr-i18n-ar.mjs.map +1 -1
- package/fesm2022/ngwr-i18n-cs.mjs +27 -8
- package/fesm2022/ngwr-i18n-cs.mjs.map +1 -1
- package/fesm2022/ngwr-i18n-de.mjs +27 -8
- package/fesm2022/ngwr-i18n-de.mjs.map +1 -1
- package/fesm2022/ngwr-i18n-en.mjs +27 -8
- package/fesm2022/ngwr-i18n-en.mjs.map +1 -1
- package/fesm2022/ngwr-i18n-es.mjs +27 -8
- package/fesm2022/ngwr-i18n-es.mjs.map +1 -1
- package/fesm2022/ngwr-i18n-fr.mjs +27 -8
- package/fesm2022/ngwr-i18n-fr.mjs.map +1 -1
- package/fesm2022/ngwr-i18n-he.mjs +27 -8
- package/fesm2022/ngwr-i18n-he.mjs.map +1 -1
- package/fesm2022/ngwr-i18n-hi.mjs +27 -8
- package/fesm2022/ngwr-i18n-hi.mjs.map +1 -1
- package/fesm2022/ngwr-i18n-id.mjs +27 -8
- package/fesm2022/ngwr-i18n-id.mjs.map +1 -1
- package/fesm2022/ngwr-i18n-it.mjs +27 -8
- package/fesm2022/ngwr-i18n-it.mjs.map +1 -1
- package/fesm2022/ngwr-i18n-ja.mjs +27 -8
- package/fesm2022/ngwr-i18n-ja.mjs.map +1 -1
- package/fesm2022/ngwr-i18n-ko.mjs +27 -8
- package/fesm2022/ngwr-i18n-ko.mjs.map +1 -1
- package/fesm2022/ngwr-i18n-nl.mjs +27 -8
- package/fesm2022/ngwr-i18n-nl.mjs.map +1 -1
- package/fesm2022/ngwr-i18n-pl.mjs +27 -8
- package/fesm2022/ngwr-i18n-pl.mjs.map +1 -1
- package/fesm2022/ngwr-i18n-pt.mjs +27 -8
- package/fesm2022/ngwr-i18n-pt.mjs.map +1 -1
- package/fesm2022/ngwr-i18n-ru.mjs +27 -8
- package/fesm2022/ngwr-i18n-ru.mjs.map +1 -1
- package/fesm2022/ngwr-i18n-sv.mjs +27 -8
- package/fesm2022/ngwr-i18n-sv.mjs.map +1 -1
- package/fesm2022/ngwr-i18n-tr.mjs +27 -8
- package/fesm2022/ngwr-i18n-tr.mjs.map +1 -1
- package/fesm2022/ngwr-i18n-uk.mjs +27 -8
- package/fesm2022/ngwr-i18n-uk.mjs.map +1 -1
- package/fesm2022/ngwr-i18n-vi.mjs +27 -8
- package/fesm2022/ngwr-i18n-vi.mjs.map +1 -1
- package/fesm2022/ngwr-i18n-zh-tw.mjs +27 -8
- package/fesm2022/ngwr-i18n-zh-tw.mjs.map +1 -1
- package/fesm2022/ngwr-i18n-zh.mjs +27 -8
- package/fesm2022/ngwr-i18n-zh.mjs.map +1 -1
- package/fesm2022/ngwr-i18n.mjs +9 -9
- package/fesm2022/ngwr-icon.mjs +6 -6
- package/fesm2022/ngwr-image-cropper.mjs +3 -3
- package/fesm2022/ngwr-input-number-testing.mjs +11 -0
- package/fesm2022/ngwr-input-number-testing.mjs.map +1 -1
- package/fesm2022/ngwr-input-number.mjs +68 -7
- package/fesm2022/ngwr-input-number.mjs.map +1 -1
- package/fesm2022/ngwr-input-otp.mjs +23 -3
- package/fesm2022/ngwr-input-otp.mjs.map +1 -1
- package/fesm2022/ngwr-input-testing.mjs +24 -1
- package/fesm2022/ngwr-input-testing.mjs.map +1 -1
- package/fesm2022/ngwr-input.mjs +152 -36
- package/fesm2022/ngwr-input.mjs.map +1 -1
- package/fesm2022/ngwr-keyboard.mjs +3 -3
- package/fesm2022/ngwr-knob.mjs +3 -3
- package/fesm2022/ngwr-layout.mjs +15 -15
- package/fesm2022/ngwr-lightbox.mjs +8 -8
- package/fesm2022/ngwr-lightbox.mjs.map +1 -1
- package/fesm2022/ngwr-list.mjs +8 -8
- package/fesm2022/ngwr-list.mjs.map +1 -1
- package/fesm2022/ngwr-load-state.mjs +15 -15
- package/fesm2022/ngwr-loading-bar.mjs +6 -6
- package/fesm2022/ngwr-mention.mjs +6 -6
- package/fesm2022/ngwr-meta.mjs +6 -6
- package/fesm2022/ngwr-overlay.mjs +175 -13
- package/fesm2022/ngwr-overlay.mjs.map +1 -1
- package/fesm2022/ngwr-page-header.mjs +3 -3
- package/fesm2022/ngwr-pagination.mjs +6 -3
- package/fesm2022/ngwr-pagination.mjs.map +1 -1
- package/fesm2022/ngwr-pipes.mjs +31 -29
- package/fesm2022/ngwr-pipes.mjs.map +1 -1
- package/fesm2022/ngwr-platform.mjs +9 -9
- package/fesm2022/ngwr-popconfirm-testing.mjs +5 -2
- package/fesm2022/ngwr-popconfirm-testing.mjs.map +1 -1
- package/fesm2022/ngwr-popconfirm.mjs +44 -63
- package/fesm2022/ngwr-popconfirm.mjs.map +1 -1
- package/fesm2022/ngwr-popover-testing.mjs +7 -1
- package/fesm2022/ngwr-popover-testing.mjs.map +1 -1
- package/fesm2022/ngwr-popover.mjs +58 -156
- package/fesm2022/ngwr-popover.mjs.map +1 -1
- package/fesm2022/ngwr-progress.mjs +50 -9
- package/fesm2022/ngwr-progress.mjs.map +1 -1
- package/fesm2022/ngwr-pull-to-refresh-testing.mjs +57 -0
- package/fesm2022/ngwr-pull-to-refresh-testing.mjs.map +1 -0
- package/fesm2022/ngwr-pull-to-refresh.mjs +3 -3
- package/fesm2022/ngwr-qr.mjs +3 -3
- package/fesm2022/ngwr-radio.mjs +6 -6
- package/fesm2022/ngwr-rating.mjs +3 -3
- package/fesm2022/ngwr-resizable-testing.mjs +113 -0
- package/fesm2022/ngwr-resizable-testing.mjs.map +1 -0
- package/fesm2022/ngwr-resizable.mjs +3 -3
- package/fesm2022/ngwr-result.mjs +12 -12
- package/fesm2022/ngwr-schema-form-testing.mjs +336 -0
- package/fesm2022/ngwr-schema-form-testing.mjs.map +1 -0
- package/fesm2022/ngwr-schema-form.mjs +416 -19
- package/fesm2022/ngwr-schema-form.mjs.map +1 -1
- package/fesm2022/ngwr-scroll.mjs +3 -3
- package/fesm2022/ngwr-segmented.mjs +3 -3
- package/fesm2022/ngwr-select-testing.mjs +19 -0
- package/fesm2022/ngwr-select-testing.mjs.map +1 -1
- package/fesm2022/ngwr-select.mjs +361 -84
- package/fesm2022/ngwr-select.mjs.map +1 -1
- package/fesm2022/ngwr-sidebar-testing.mjs +176 -0
- package/fesm2022/ngwr-sidebar-testing.mjs.map +1 -0
- package/fesm2022/ngwr-sidebar.mjs +3 -3
- package/fesm2022/ngwr-skeleton.mjs +3 -3
- package/fesm2022/ngwr-slider-testing.mjs +6 -0
- package/fesm2022/ngwr-slider-testing.mjs.map +1 -1
- package/fesm2022/ngwr-slider.mjs +21 -3
- package/fesm2022/ngwr-slider.mjs.map +1 -1
- package/fesm2022/ngwr-sortable-list.mjs +29 -12
- package/fesm2022/ngwr-sortable-list.mjs.map +1 -1
- package/fesm2022/ngwr-speed-dial.mjs +3 -3
- package/fesm2022/ngwr-spinner.mjs +3 -3
- package/fesm2022/ngwr-splitter.mjs +3 -3
- package/fesm2022/ngwr-statistic.mjs +9 -9
- package/fesm2022/ngwr-stepper.mjs +42 -11
- package/fesm2022/ngwr-stepper.mjs.map +1 -1
- package/fesm2022/ngwr-storage.mjs +3 -3
- package/fesm2022/ngwr-switch.mjs +3 -3
- package/fesm2022/ngwr-table-testing.mjs +157 -3
- package/fesm2022/ngwr-table-testing.mjs.map +1 -1
- package/fesm2022/ngwr-table.mjs +1051 -74
- package/fesm2022/ngwr-table.mjs.map +1 -1
- package/fesm2022/ngwr-tabs-router.mjs +3 -3
- package/fesm2022/ngwr-tabs-testing.mjs +1 -1
- package/fesm2022/ngwr-tabs-testing.mjs.map +1 -1
- package/fesm2022/ngwr-tabs.mjs +15 -10
- package/fesm2022/ngwr-tabs.mjs.map +1 -1
- package/fesm2022/ngwr-textarea-testing.mjs +11 -0
- package/fesm2022/ngwr-textarea-testing.mjs.map +1 -1
- package/fesm2022/ngwr-textarea.mjs +128 -16
- package/fesm2022/ngwr-textarea.mjs.map +1 -1
- package/fesm2022/ngwr-theme.mjs +3 -3
- package/fesm2022/ngwr-timeline.mjs +6 -6
- package/fesm2022/ngwr-toast.mjs +40 -19
- package/fesm2022/ngwr-toast.mjs.map +1 -1
- package/fesm2022/ngwr-toolbar.mjs +3 -3
- package/fesm2022/ngwr-tour-testing.mjs +13 -1
- package/fesm2022/ngwr-tour-testing.mjs.map +1 -1
- package/fesm2022/ngwr-tour.mjs +19 -15
- package/fesm2022/ngwr-tour.mjs.map +1 -1
- package/fesm2022/ngwr-transfer-testing.mjs +6 -0
- package/fesm2022/ngwr-transfer-testing.mjs.map +1 -1
- package/fesm2022/ngwr-transfer.mjs +24 -5
- package/fesm2022/ngwr-transfer.mjs.map +1 -1
- package/fesm2022/ngwr-tree-testing.mjs +62 -2
- package/fesm2022/ngwr-tree-testing.mjs.map +1 -1
- package/fesm2022/ngwr-tree.mjs +978 -79
- package/fesm2022/ngwr-tree.mjs.map +1 -1
- package/fesm2022/ngwr-typography.mjs +3 -3
- package/fesm2022/ngwr-utils-router.mjs +3 -3
- package/fesm2022/ngwr-utils.mjs +97 -1
- package/fesm2022/ngwr-utils.mjs.map +1 -1
- package/fesm2022/ngwr-version.mjs +1 -1
- package/fesm2022/ngwr-version.mjs.map +1 -1
- package/fesm2022/ngwr-virtual-scroll.mjs +3 -3
- package/fesm2022/ngwr-window.mjs +33 -22
- package/fesm2022/ngwr-window.mjs.map +1 -1
- package/file-upload/styles/_index.scss +156 -0
- package/graph/styles/_index.scss +87 -0
- package/i18n/ar.json +29 -8
- package/i18n/cs.json +29 -8
- package/i18n/de.json +29 -8
- package/i18n/en.json +29 -8
- package/i18n/es.json +29 -8
- package/i18n/fr.json +29 -8
- package/i18n/he.json +29 -8
- package/i18n/hi.json +29 -8
- package/i18n/id.json +29 -8
- package/i18n/it.json +29 -8
- package/i18n/ja.json +29 -8
- package/i18n/ko.json +29 -8
- package/i18n/nl.json +29 -8
- package/i18n/pl.json +29 -8
- package/i18n/pt.json +29 -8
- package/i18n/ru.json +29 -8
- package/i18n/sv.json +29 -8
- package/i18n/tr.json +29 -8
- package/i18n/uk.json +29 -8
- package/i18n/vi.json +29 -8
- package/i18n/zh-TW.json +29 -8
- package/i18n/zh.json +29 -8
- package/input/styles/_index.scss +68 -1
- package/input-otp/styles/_index.scss +14 -0
- package/llms-full.txt +53 -21
- package/llms.txt +57 -24
- package/overlay/styles/_arrow.scss +4 -4
- package/package.json +33 -1
- package/popconfirm/styles/_index.scss +3 -11
- package/progress/styles/_index.scss +32 -0
- package/schema-form/styles/_index.scss +78 -0
- package/schematics/collection.json +5 -0
- package/schematics/eject/index.js +158 -0
- package/schematics/eject/schema.js +8 -0
- package/schematics/eject/schema.json +24 -0
- package/schematics/eject/source.js +295 -0
- package/schematics/use/rule.js +2 -0
- package/schematics/use/symbol-map.json +5 -0
- package/select/styles/_index.scss +127 -22
- package/skills/ngwr/SKILL.md +31 -4
- package/skills/ngwr/references/catalog.md +9 -1
- package/slider/styles/_index.scss +22 -0
- package/table/styles/_index.scss +191 -3
- package/textarea/styles/_index.scss +80 -0
- package/theme/styles/_focus.scss +16 -1
- package/theme/styles/_motion.scss +5 -0
- package/transfer/styles/_index.scss +84 -0
- package/tree/styles/_index.scss +138 -5
- package/types/ngwr-alert-testing.d.ts +88 -0
- package/types/ngwr-badge.d.ts +72 -2
- package/types/ngwr-breadcrumbs-testing.d.ts +92 -0
- package/types/ngwr-burger-testing.d.ts +51 -0
- package/types/ngwr-calendar-testing.d.ts +18 -6
- package/types/ngwr-calendar.d.ts +272 -22
- package/types/ngwr-carousel-testing.d.ts +27 -6
- package/types/ngwr-carousel.d.ts +42 -6
- package/types/ngwr-cascader.d.ts +13 -6
- package/types/ngwr-charts-chart-legend.d.ts +9 -4
- package/types/ngwr-charts-line-chart-testing.d.ts +4 -1
- package/types/ngwr-charts-line-chart.d.ts +7 -4
- package/types/ngwr-color-picker-testing.d.ts +15 -4
- package/types/ngwr-color-picker.d.ts +76 -6
- package/types/ngwr-compare-testing.d.ts +72 -0
- package/types/ngwr-context-menu.d.ts +2 -0
- package/types/ngwr-date-picker-testing.d.ts +23 -8
- package/types/ngwr-date-picker.d.ts +100 -9
- package/types/ngwr-date.d.ts +71 -1
- package/types/ngwr-drawer.d.ts +9 -0
- package/types/ngwr-dropdown-testing.d.ts +20 -0
- package/types/ngwr-dropdown.d.ts +26 -6
- package/types/ngwr-event-calendar.d.ts +66 -8
- package/types/ngwr-file-upload-testing.d.ts +31 -2
- package/types/ngwr-file-upload.d.ts +156 -3
- package/types/ngwr-form.d.ts +47 -3
- package/types/ngwr-graph-testing.d.ts +36 -3
- package/types/ngwr-graph.d.ts +309 -13
- package/types/ngwr-input-number-testing.d.ts +10 -0
- package/types/ngwr-input-number.d.ts +30 -1
- package/types/ngwr-input-otp.d.ts +10 -0
- package/types/ngwr-input-testing.d.ts +30 -0
- package/types/ngwr-input.d.ts +54 -3
- package/types/ngwr-overlay.d.ts +84 -5
- package/types/ngwr-pipes.d.ts +2 -1
- package/types/ngwr-popconfirm-testing.d.ts +12 -3
- package/types/ngwr-popconfirm.d.ts +28 -3
- package/types/ngwr-popover-testing.d.ts +19 -2
- package/types/ngwr-popover.d.ts +22 -2
- package/types/ngwr-progress.d.ts +29 -1
- package/types/ngwr-pull-to-refresh-testing.d.ts +83 -0
- package/types/ngwr-resizable-testing.d.ts +116 -0
- package/types/ngwr-schema-form-testing.d.ts +260 -0
- package/types/ngwr-schema-form.d.ts +76 -6
- package/types/ngwr-select-testing.d.ts +20 -0
- package/types/ngwr-select.d.ts +149 -11
- package/types/ngwr-sidebar-testing.d.ts +176 -0
- package/types/ngwr-slider-testing.d.ts +3 -1
- package/types/ngwr-slider.d.ts +21 -1
- package/types/ngwr-sortable-list.d.ts +6 -0
- package/types/ngwr-stepper.d.ts +20 -11
- package/types/ngwr-table-testing.d.ts +122 -7
- package/types/ngwr-table.d.ts +572 -50
- package/types/ngwr-tabs-testing.d.ts +14 -17
- package/types/ngwr-tabs.d.ts +6 -0
- package/types/ngwr-textarea-testing.d.ts +10 -0
- package/types/ngwr-textarea.d.ts +48 -2
- package/types/ngwr-toast.d.ts +8 -1
- package/types/ngwr-tour-testing.d.ts +10 -0
- package/types/ngwr-tour.d.ts +11 -2
- package/types/ngwr-transfer-testing.d.ts +3 -0
- package/types/ngwr-transfer.d.ts +24 -1
- package/types/ngwr-tree-testing.d.ts +65 -1
- package/types/ngwr-tree.d.ts +335 -12
- package/types/ngwr-utils.d.ts +107 -1
- package/types/ngwr-version.d.ts +1 -1
- package/types/ngwr-window.d.ts +7 -4
package/i18n/zh.json
CHANGED
|
@@ -45,7 +45,11 @@
|
|
|
45
45
|
"toggleGroup": "展开或收起分组",
|
|
46
46
|
"noMatches": "无匹配结果",
|
|
47
47
|
"search": "搜索",
|
|
48
|
-
"reset": "重置"
|
|
48
|
+
"reset": "重置",
|
|
49
|
+
"columns": "列",
|
|
50
|
+
"showAllColumns": "显示全部",
|
|
51
|
+
"selected": "已选择 {{count}} 项",
|
|
52
|
+
"clearSelection": "清除选择"
|
|
49
53
|
},
|
|
50
54
|
"eventCalendar": {
|
|
51
55
|
"today": "今天",
|
|
@@ -102,10 +106,12 @@
|
|
|
102
106
|
"clearSelection": "清除选择",
|
|
103
107
|
"removeItem": "移除 {{label}}",
|
|
104
108
|
"noResults": "无搜索结果",
|
|
109
|
+
"results": "结果:{{count}}",
|
|
105
110
|
"loading": "加载中…",
|
|
106
111
|
"loadError": "无法加载结果",
|
|
107
112
|
"retry": "重试",
|
|
108
|
-
"more": "+{{count}} 项"
|
|
113
|
+
"more": "+{{count}} 项",
|
|
114
|
+
"selectAll": "全选"
|
|
109
115
|
},
|
|
110
116
|
"tree": {
|
|
111
117
|
"expand": "展开",
|
|
@@ -113,7 +119,8 @@
|
|
|
113
119
|
"placeholder": "请选择",
|
|
114
120
|
"clearSelection": "清除选择",
|
|
115
121
|
"removeItem": "移除 {{label}}",
|
|
116
|
-
"more": "+{{count}} 项"
|
|
122
|
+
"more": "+{{count}} 项",
|
|
123
|
+
"moveKeyHelp": "按 Alt+Enter 键拿起此项,然后用方向键移动。按 Enter 键放下,或按 Esc 键放回原位。"
|
|
117
124
|
},
|
|
118
125
|
"commandPalette": {
|
|
119
126
|
"label": "命令面板",
|
|
@@ -128,15 +135,18 @@
|
|
|
128
135
|
"fileUpload": {
|
|
129
136
|
"browse": "点击选择文件",
|
|
130
137
|
"dropZone": "或将文件拖放到此处",
|
|
131
|
-
"removeFile": "
|
|
132
|
-
"invalid": "不支持的文件类型",
|
|
133
|
-
"tooBig": "文件过大",
|
|
138
|
+
"removeFile": "移除 {{name}}",
|
|
134
139
|
"size": "{{value}} {{unit}}",
|
|
135
140
|
"unitByte": "B",
|
|
136
141
|
"unitKb": "KB",
|
|
137
142
|
"unitMb": "MB",
|
|
138
143
|
"unitGb": "GB",
|
|
139
|
-
"unitTb": "TB"
|
|
144
|
+
"unitTb": "TB",
|
|
145
|
+
"uploading": "正在上传",
|
|
146
|
+
"uploaded": "已上传",
|
|
147
|
+
"failed": "上传失败",
|
|
148
|
+
"status": "{{name}}: {{status}}",
|
|
149
|
+
"retry": "重试"
|
|
140
150
|
},
|
|
141
151
|
"popconfirm": {
|
|
142
152
|
"label": "确认操作",
|
|
@@ -193,6 +203,8 @@
|
|
|
193
203
|
"nextYear": "下一年",
|
|
194
204
|
"monthList": "月份",
|
|
195
205
|
"yearList": "年份",
|
|
206
|
+
"quarterList": "季度",
|
|
207
|
+
"quarter": "第{{quarter}}季度",
|
|
196
208
|
"prevYears": "前 12 年",
|
|
197
209
|
"nextYears": "后 12 年",
|
|
198
210
|
"header": "{{year}}年{{month}}",
|
|
@@ -323,6 +335,7 @@
|
|
|
323
335
|
"carousel": {
|
|
324
336
|
"label": "轮播图",
|
|
325
337
|
"goToSlide": "转到第 {{index}} 张幻灯片",
|
|
338
|
+
"position": "第 {{current}} 张幻灯片,共 {{total}} 张",
|
|
326
339
|
"prev": "上一张幻灯片",
|
|
327
340
|
"next": "下一张幻灯片",
|
|
328
341
|
"pagination": "轮播分页",
|
|
@@ -332,6 +345,9 @@
|
|
|
332
345
|
"alert": {
|
|
333
346
|
"close": "关闭提示"
|
|
334
347
|
},
|
|
348
|
+
"tag": {
|
|
349
|
+
"remove": "移除 {{label}}"
|
|
350
|
+
},
|
|
335
351
|
"qr": {
|
|
336
352
|
"label": "二维码"
|
|
337
353
|
},
|
|
@@ -431,6 +447,8 @@
|
|
|
431
447
|
"panelDateTime": "选择日期和时间",
|
|
432
448
|
"panelRange": "选择日期范围",
|
|
433
449
|
"panelRangeDateTime": "选择日期和时间范围",
|
|
450
|
+
"quarterValue": "{{year}}年第{{quarter}}季度",
|
|
451
|
+
"weekValue": "{{year}}年第{{week}}周",
|
|
434
452
|
"rangeStart": "起始日期",
|
|
435
453
|
"rangeEnd": "结束日期",
|
|
436
454
|
"startTime": "开始时间",
|
|
@@ -466,7 +484,10 @@
|
|
|
466
484
|
"graph": {
|
|
467
485
|
"label": "图",
|
|
468
486
|
"parents": "父节点:{{names}}。",
|
|
469
|
-
"children": "子节点:{{names}}。"
|
|
487
|
+
"children": "子节点:{{names}}。",
|
|
488
|
+
"zoomIn": "放大",
|
|
489
|
+
"zoomOut": "缩小",
|
|
490
|
+
"fit": "适应视图"
|
|
470
491
|
},
|
|
471
492
|
"progress": {
|
|
472
493
|
"label": "进度"
|
package/input/styles/_index.scss
CHANGED
|
@@ -1,4 +1,7 @@
|
|
|
1
1
|
@use '../../theme/styles' as theme;
|
|
2
|
+
|
|
3
|
+
// Styles for the entry points this component's own markup renders.
|
|
4
|
+
@use '../../spinner/styles' as spinner-styles; // WrSpinner
|
|
2
5
|
@include theme.loaded('input');
|
|
3
6
|
|
|
4
7
|
//
|
|
@@ -115,6 +118,9 @@
|
|
|
115
118
|
--wr-input-group-font-size: var(--wr-text-sm);
|
|
116
119
|
--wr-input-group-font-weight: var(--wr-font-weight-medium);
|
|
117
120
|
--wr-input-group-line-height: var(--wr-control-line-height-md);
|
|
121
|
+
--wr-input-group-clear-radius: var(--wr-border-radius-pill);
|
|
122
|
+
// The × is a bare `.wr-icon__svg` and the spinner a `sm` `wr-spinner`: both `1em`.
|
|
123
|
+
--wr-input-group-clear-icon-size: var(--wr-control-font-size-md);
|
|
118
124
|
|
|
119
125
|
display: inline-flex;
|
|
120
126
|
align-items: stretch;
|
|
@@ -207,10 +213,61 @@
|
|
|
207
213
|
}
|
|
208
214
|
|
|
209
215
|
.wr-input:has(+ &__affix--suffix),
|
|
210
|
-
.wr-input:has(+ wr-password-toggle)
|
|
216
|
+
.wr-input:has(+ wr-password-toggle),
|
|
217
|
+
.wr-input:has(+ &__clear),
|
|
218
|
+
.wr-input:has(+ &__clear-space),
|
|
219
|
+
.wr-input:has(+ &__spinner) {
|
|
211
220
|
padding-inline-end: var(--wr-input-group-affix-gap);
|
|
212
221
|
}
|
|
213
222
|
|
|
223
|
+
&:has(> .wr-input--sm) {
|
|
224
|
+
--wr-input-group-clear-icon-size: var(--wr-control-font-size-sm);
|
|
225
|
+
}
|
|
226
|
+
|
|
227
|
+
&:has(> .wr-input--lg) {
|
|
228
|
+
--wr-input-group-clear-icon-size: var(--wr-control-font-size-lg);
|
|
229
|
+
}
|
|
230
|
+
|
|
231
|
+
// The clear (×) and the spinner sit after the field and before any suffix.
|
|
232
|
+
// The select's ×, in a group instead of a button.
|
|
233
|
+
&__clear,
|
|
234
|
+
&__clear-space,
|
|
235
|
+
&__spinner {
|
|
236
|
+
flex: 0 0 auto;
|
|
237
|
+
align-self: center;
|
|
238
|
+
color: var(--wr-color-on-surface-muted);
|
|
239
|
+
font-size: var(--wr-input-group-clear-icon-size);
|
|
240
|
+
margin-inline-end: var(--wr-input-group-affix-gap);
|
|
241
|
+
|
|
242
|
+
// Nothing after it: it keeps the inset an affix would.
|
|
243
|
+
&:last-child {
|
|
244
|
+
margin-inline-end: var(--wr-input-group-padding-x);
|
|
245
|
+
}
|
|
246
|
+
}
|
|
247
|
+
|
|
248
|
+
&__clear-space {
|
|
249
|
+
width: 1.125rem;
|
|
250
|
+
height: 1.125rem;
|
|
251
|
+
}
|
|
252
|
+
|
|
253
|
+
&__clear {
|
|
254
|
+
display: inline-flex;
|
|
255
|
+
align-items: center;
|
|
256
|
+
justify-content: center;
|
|
257
|
+
width: 1.125rem;
|
|
258
|
+
height: 1.125rem;
|
|
259
|
+
border-radius: var(--wr-input-group-clear-radius);
|
|
260
|
+
cursor: pointer;
|
|
261
|
+
transition:
|
|
262
|
+
background 0.12s ease,
|
|
263
|
+
color 0.12s ease;
|
|
264
|
+
|
|
265
|
+
&:hover {
|
|
266
|
+
background: color-mix(in srgb, var(--wr-color-on-surface) 6%, transparent);
|
|
267
|
+
color: var(--wr-color-on-surface);
|
|
268
|
+
}
|
|
269
|
+
}
|
|
270
|
+
|
|
214
271
|
// The toggle's flex item is its HOST, not the `<button>`. The group stretches
|
|
215
272
|
// the host to the field's height, but a blockified host lays the inline-flex
|
|
216
273
|
// button on a line box, at the top. That line box is a strut of the INHERITED
|
|
@@ -277,3 +334,13 @@
|
|
|
277
334
|
}
|
|
278
335
|
}
|
|
279
336
|
}
|
|
337
|
+
|
|
338
|
+
// Touch pointers get a wider × that fills the field's height instead of growing it.
|
|
339
|
+
@media (pointer: coarse) {
|
|
340
|
+
.wr-input-group__clear,
|
|
341
|
+
.wr-input-group__clear-space {
|
|
342
|
+
align-self: stretch;
|
|
343
|
+
width: 2rem;
|
|
344
|
+
height: auto;
|
|
345
|
+
}
|
|
346
|
+
}
|
|
@@ -97,6 +97,20 @@
|
|
|
97
97
|
--wr-input-otp-gap: var(--wr-space-md);
|
|
98
98
|
}
|
|
99
99
|
|
|
100
|
+
// Every box, not the two outer ones: the boxes stand apart by
|
|
101
|
+
// `--wr-input-otp-gap`, so each is a field of its own and a square one takes
|
|
102
|
+
// the pill radius as a circle. After the sizes, so it wins at each.
|
|
103
|
+
&--rounded,
|
|
104
|
+
&:where([rounded]:not([rounded='false'])) {
|
|
105
|
+
--wr-input-otp-radius: var(--wr-border-radius-pill);
|
|
106
|
+
}
|
|
107
|
+
|
|
108
|
+
// `corner-shape` does not inherit: the reset sits on the box `smooth-br` ran on.
|
|
109
|
+
&--rounded &__cell,
|
|
110
|
+
&:where([rounded]:not([rounded='false'])) &__cell {
|
|
111
|
+
corner-shape: round;
|
|
112
|
+
}
|
|
113
|
+
|
|
100
114
|
&--disabled {
|
|
101
115
|
opacity: var(--wr-disabled-opacity);
|
|
102
116
|
}
|
package/llms-full.txt
CHANGED
|
@@ -26,6 +26,10 @@
|
|
|
26
26
|
- keywords: banner
|
|
27
27
|
- An inline status message.
|
|
28
28
|
|
|
29
|
+
## ngwr/alert/testing
|
|
30
|
+
- import: `import { WrAlertHarness } from 'ngwr/alert/testing'`
|
|
31
|
+
- exports: WrAlertHarness, WrAlertHarnessFilters
|
|
32
|
+
|
|
29
33
|
## ngwr/anchor
|
|
30
34
|
- import: `import { WrAnchor } from 'ngwr/anchor'`
|
|
31
35
|
- selector: `wr-anchor`
|
|
@@ -210,7 +214,7 @@
|
|
|
210
214
|
## ngwr/badge
|
|
211
215
|
- import: `import { WrBadge } from 'ngwr/badge'`
|
|
212
216
|
- selector: `wr-badge`, `wr-tag`
|
|
213
|
-
- exports: WrBadge, WrTag, WrBadgeSize, WrBadgeShape, WrTagIconPosition
|
|
217
|
+
- exports: WrBadge, WrTag, WrBadgeSize, WrBadgeShape, WrTagIconPosition, WrTagSize
|
|
214
218
|
- keywords: tag, status
|
|
215
219
|
- A small label for a count or a status.
|
|
216
220
|
|
|
@@ -221,6 +225,10 @@
|
|
|
221
225
|
- keywords: navigation, a11y
|
|
222
226
|
- Shows where the current page sits in the site.
|
|
223
227
|
|
|
228
|
+
## ngwr/breadcrumbs/testing
|
|
229
|
+
- import: `import { WrBreadcrumbsHarness } from 'ngwr/breadcrumbs/testing'`
|
|
230
|
+
- exports: WrBreadcrumbsHarness, WrBreadcrumbsItemHarness, WrBreadcrumbsHarnessFilters, WrBreadcrumbsItemHarnessFilters
|
|
231
|
+
|
|
224
232
|
## ngwr/burger
|
|
225
233
|
- import: `import { WrBurger } from 'ngwr/burger'`
|
|
226
234
|
- selector: `wr-burger`
|
|
@@ -228,6 +236,10 @@
|
|
|
228
236
|
- keywords: hamburger, menu-toggle
|
|
229
237
|
- A menu button that morphs between a hamburger and a close mark.
|
|
230
238
|
|
|
239
|
+
## ngwr/burger/testing
|
|
240
|
+
- import: `import { WrBurgerHarness } from 'ngwr/burger/testing'`
|
|
241
|
+
- exports: WrBurgerHarness, WrBurgerHarnessFilters
|
|
242
|
+
|
|
231
243
|
## ngwr/button
|
|
232
244
|
- import: `import { WrButton } from 'ngwr/button'`
|
|
233
245
|
- selector: `wr-btn-group`, `wr-btn`, `button[wr-btn]`, `a[wr-btn]`
|
|
@@ -241,7 +253,7 @@
|
|
|
241
253
|
## ngwr/calendar
|
|
242
254
|
- import: `import { WrCalendar } from 'ngwr/calendar'`
|
|
243
255
|
- selector: `wr-calendar`
|
|
244
|
-
- exports: WrCalendar, WrCalendarMode, WrCalendarRange
|
|
256
|
+
- exports: WrCalendar, WrCalendarGranularity, WrCalendarMode, WrCalendarRange, WrCalendarValue
|
|
245
257
|
- keywords: date, range
|
|
246
258
|
- A month calendar for picking a date or a date range.
|
|
247
259
|
|
|
@@ -495,7 +507,7 @@
|
|
|
495
507
|
## ngwr/color-picker
|
|
496
508
|
- import: `import { WrColorPicker } from 'ngwr/color-picker'`
|
|
497
509
|
- selector: `[wrColorPickerTrigger]`, `wr-color-picker`
|
|
498
|
-
- exports: WrColorPicker, WrColorPickerTrigger, wrHslToRgb, wrHsvToRgb, wrParseHex, wrRgbToHsl, wrRgbToHsv, wrToHex, WrHsl, WrHsv, WrRgb, WrColorFormat
|
|
510
|
+
- exports: WrColorPicker, WrColorPickerTrigger, wrHslToRgb, wrHsvToRgb, wrParseHex, wrRgbToHsl, wrRgbToHsv, wrToHex, WrHsl, WrHsv, WrRgb, WrColorFormat, WrColorPickerSize, WrColorPickerSwatch
|
|
499
511
|
- keywords: color, colour, picker, palette, hsv, hex
|
|
500
512
|
- Pick a colour inline, or from a button that opens the picker.
|
|
501
513
|
|
|
@@ -532,6 +544,10 @@
|
|
|
532
544
|
- keywords: slider, diff, before-after
|
|
533
545
|
- A before and after view split by a draggable divider.
|
|
534
546
|
|
|
547
|
+
## ngwr/compare/testing
|
|
548
|
+
- import: `import { WrCompareHarness } from 'ngwr/compare/testing'`
|
|
549
|
+
- exports: WrCompareHarness, WrCompareHarnessFilters
|
|
550
|
+
|
|
535
551
|
## ngwr/context-menu
|
|
536
552
|
- import: `import { WrContextMenu } from 'ngwr/context-menu'`
|
|
537
553
|
- selector: `wr-context-menu-divider`, `wr-context-menu-item`, `wr-context-menu`, `[wrContextMenu]`
|
|
@@ -569,15 +585,15 @@
|
|
|
569
585
|
|
|
570
586
|
## ngwr/date
|
|
571
587
|
- import: `import { WrDateAdapter } from 'ngwr/date'`
|
|
572
|
-
- exports: WrDateAdapter, WrNativeDateAdapter, wrIsNamedFormat, wrIsDateOnly, wrToLocalDate, wrParseDate, wrDateLocale, withDates, WR_DATE_INPUT, WR_DATE_LOCALE, WR_DATE_STAMP_DEFAULTS, WR_DATE_TIME_ZONE, WrDateFormat, WrDateStampDefaults, WrDatesOptions, WrEpochUnit, WrParseDateOptions, WrZonelessIn
|
|
588
|
+
- exports: WrDateAdapter, WrNativeDateAdapter, wrIsNamedFormat, wrIsDateOnly, wrToLocalDate, wrParseDate, wrPeriodEnd, wrPeriodStart, wrWeekOfYear, wrWeekStart, wrDateLocale, withDates, WR_DATE_INPUT, WR_DATE_LOCALE, WR_DATE_STAMP_DEFAULTS, WR_DATE_TIME_ZONE, WrDateFormat, WrDatePeriod, WrDateStampDefaults, WrDatesOptions, WrEpochUnit, WrParseDateOptions, WrWeekOfYear, WrZonelessIn
|
|
573
589
|
- The date adapter behind the calendar, the event calendar and every date picker. With no provider it is `WrNativeDateAdapter`, over `Date` and `Intl` in `LOCALE_ID`. `provideWr(withDates({ locale, adapter }))` pins a locale or passes your own `WrDateAdapter` subclass.
|
|
574
590
|
|
|
575
591
|
## ngwr/date-picker
|
|
576
592
|
- import: `import { WrDatePicker } from 'ngwr/date-picker'`
|
|
577
593
|
- selector: `wr-date-picker`, `wr-date-range-picker`
|
|
578
|
-
- exports: WrDatePicker, WrDateRangePicker, wrLastDays, wrLastMonth, wrThisMonth, wrThisWeek, WrDateInputError, WrDatePickerSize, WrDateRange, WrDateRangeInputError, WrDateRangePreset, WrDateRangePresetContext, WrDateRangePresetFn
|
|
579
|
-
- keywords: date, time, datetime, picker
|
|
580
|
-
- A text field with a popup for picking a date, a time or
|
|
594
|
+
- exports: WrDatePicker, WrDateRangePicker, wrLastDays, wrLastMonth, wrThisMonth, wrThisWeek, WrDateInputError, WrDatePickerMode, WrDatePickerSize, WrDateRange, WrDateRangeInputError, WrDateRangePickerMode, WrDateRangePreset, WrDateRangePresetContext, WrDateRangePresetFn
|
|
595
|
+
- keywords: date, time, datetime, month, quarter, year, week, period, picker
|
|
596
|
+
- A text field with a popup for picking a date, a time, both, or a week, month, quarter or year.
|
|
581
597
|
|
|
582
598
|
## ngwr/date-picker/testing
|
|
583
599
|
- import: `import { WrDatePickerDayHarness } from 'ngwr/date-picker/testing'`
|
|
@@ -685,7 +701,7 @@
|
|
|
685
701
|
## ngwr/file-upload
|
|
686
702
|
- import: `import { WrFileUpload } from 'ngwr/file-upload'`
|
|
687
703
|
- selector: `wr-file-upload`
|
|
688
|
-
- exports: WrFileUpload, WrFileUploadRejection, WrFileUploadRejectionReason
|
|
704
|
+
- exports: WrFileUpload, WrFileUploadRejection, WrFileUploadRejectionReason, WrFileUploadSize, WrFileUploadState, WrFileUploadStatus, WrFileUploadStatusMap
|
|
689
705
|
- keywords: file, upload, drop zone
|
|
690
706
|
- Pick files by dropping them on a zone or browsing.
|
|
691
707
|
|
|
@@ -696,7 +712,7 @@
|
|
|
696
712
|
## ngwr/form
|
|
697
713
|
- import: `import { WrFormField } from 'ngwr/form'`
|
|
698
714
|
- selector: `wr-form-error`, `wr-form-field`, `wr-form-item`
|
|
699
|
-
- exports: WrFormItem, WrFormField, WrFormError, WR_FORM_FIELD, WrFormFieldContext, useFormFieldAria, WrFormFieldAria, WR_FIELD, wrFieldLabel, WrFieldKind, WrFieldOption, WrFieldSpec
|
|
715
|
+
- exports: WrFormItem, WrFormField, WrFormError, WR_FORM_FIELD, WrFormFieldContext, useFormFieldAria, WrFormFieldAria, WR_FIELD, wrFieldLabel, WrFieldKind, WrFieldOption, WrFieldSection, WrFieldSpec
|
|
700
716
|
- A plain layout wrapper for a label, a control and its error.
|
|
701
717
|
|
|
702
718
|
## ngwr/form/testing
|
|
@@ -706,7 +722,7 @@
|
|
|
706
722
|
## ngwr/graph
|
|
707
723
|
- import: `import { WrGraph } from 'ngwr/graph'`
|
|
708
724
|
- selector: `ng-template[wrGraphNode]`, `wr-graph`
|
|
709
|
-
- exports: WrGraph, WrGraphNodeTemplate, WrGraphEdge, WrGraphNode, WrGraphNodeContext
|
|
725
|
+
- exports: WrGraph, WrGraphNodeTemplate, WrGraphEdge, WrGraphNode, WrGraphNodeContext, WrLayeredGraphLayout, WrLayeredGraphLayoutOptions, WrGraphLayout, WrGraphEdgeRoute, WrGraphLayoutContext, WrGraphLayoutEdge, WrGraphLayoutInput, WrGraphLayoutNode, WrGraphLayoutResult, WrGraphNodePlacement, WrGraphPoint
|
|
710
726
|
- keywords: org chart, dependency graph, diagram, hierarchy, dag
|
|
711
727
|
- Draws blocks joined parent to child, top to bottom, for display only.
|
|
712
728
|
|
|
@@ -718,7 +734,7 @@
|
|
|
718
734
|
- import: `import { WrHotkey } from 'ngwr/hotkey'`
|
|
719
735
|
- selector: `[wrHotkey]`
|
|
720
736
|
- exports: WrHotkey, WrHotkeyBinding, wrParseHotkeySpec, wrMatchesHotkey, WrParsedHotkey, wrFormatChord, wrHotkeyPlatform, WrHotkeyEntry, WrHotkeyHandle, WrHotkeyOptions, WrHotkeyPlatform, WrHotkeySpec
|
|
721
|
-
- keywords: service, keyboard, cheat sheet, wrformatchord
|
|
737
|
+
- keywords: service, keyboard, cheat sheet, wrformatchord, wrmatcheshotkey, wrparsehotkeyspec, wrparsedhotkey
|
|
722
738
|
- Register keyboard shortcuts like `mod+k`, where `mod` is ⌘ on macOS and Ctrl elsewhere. A letter shortcut also fires on a non-Latin layout. `bindings()` lists what is registered, for a cheat sheet.
|
|
723
739
|
|
|
724
740
|
## ngwr/i18n
|
|
@@ -865,7 +881,7 @@
|
|
|
865
881
|
|
|
866
882
|
## ngwr/input/testing
|
|
867
883
|
- import: `import { WrInputHarness } from 'ngwr/input/testing'`
|
|
868
|
-
- exports: WrInputHarness, WrInputHarnessFilters
|
|
884
|
+
- exports: WrInputHarness, WrInputGroupHarness, WrInputHarnessFilters
|
|
869
885
|
|
|
870
886
|
## ngwr/keyboard
|
|
871
887
|
- import: `import { WrKbd } from 'ngwr/keyboard'`
|
|
@@ -952,7 +968,7 @@
|
|
|
952
968
|
|
|
953
969
|
## ngwr/overlay
|
|
954
970
|
- import: `import { WrOverlayContainer } from 'ngwr/overlay'`
|
|
955
|
-
- exports: wrAppendOverlayClose, wrFollowDirection, wrFollowSize, wrMirrorOffsets, WrOutsideClick, WrOverlayContainer, WrOverlayOrder, WR_OVERLAY, WR_OVERLAY_CONTAINER
|
|
971
|
+
- exports: WR_ANCHORED_FALLBACKS, WR_ANCHORED_POSITIONS, WrAnchoredPosition, WrAnchoredPositionsOptions, wrAnchoredPositions, wrAppendOverlayClose, wrFollowDirection, wrFollowSize, wrMirrorOffsets, WrOutsideClick, WrOverlayContainer, WrOverlayOrder, WR_OVERLAY, WR_OVERLAY_CONTAINER
|
|
956
972
|
- `WrOverlayContainer`, the container every ngwr panel renders into, kept apart from the one Angular Material, NG-ZORRO and plain CDK overlays share, with no provider. Style ngwr's overlays through its `.wr-overlay-container` class; no `z-index` reaches them, since CDK renders overlays in the top layer.
|
|
957
973
|
|
|
958
974
|
## ngwr/page-header
|
|
@@ -1008,7 +1024,7 @@
|
|
|
1008
1024
|
## ngwr/progress
|
|
1009
1025
|
- import: `import { WrProgress } from 'ngwr/progress'`
|
|
1010
1026
|
- selector: `wr-progress`
|
|
1011
|
-
- exports: WrProgress
|
|
1027
|
+
- exports: WrProgress, WrProgressSize
|
|
1012
1028
|
- A bar that shows how far a task has got.
|
|
1013
1029
|
|
|
1014
1030
|
## ngwr/pull-to-refresh
|
|
@@ -1018,6 +1034,10 @@
|
|
|
1018
1034
|
- keywords: pull to refresh, refresh, mobile, gesture
|
|
1019
1035
|
- Pull down from the top of a scrolling list to refresh it.
|
|
1020
1036
|
|
|
1037
|
+
## ngwr/pull-to-refresh/testing
|
|
1038
|
+
- import: `import { WrPullToRefreshHarness } from 'ngwr/pull-to-refresh/testing'`
|
|
1039
|
+
- exports: WrPullToRefreshHarness, WrPullToRefreshHarnessFilters
|
|
1040
|
+
|
|
1021
1041
|
## ngwr/qr
|
|
1022
1042
|
- import: `import { WrQr } from 'ngwr/qr'`
|
|
1023
1043
|
- selector: `wr-qr`
|
|
@@ -1053,6 +1073,10 @@
|
|
|
1053
1073
|
- keywords: resize, drag edge, side panel
|
|
1054
1074
|
- Lets one element be resized by dragging one of its edges.
|
|
1055
1075
|
|
|
1076
|
+
## ngwr/resizable/testing
|
|
1077
|
+
- import: `import { WrResizableHarness } from 'ngwr/resizable/testing'`
|
|
1078
|
+
- exports: WrResizableHarness, WrResizableHarnessFilters
|
|
1079
|
+
|
|
1056
1080
|
## ngwr/result
|
|
1057
1081
|
- import: `import { WrResult } from 'ngwr/result'`
|
|
1058
1082
|
- selector: `wr-result-404`, `wr-result-403`, `wr-result-500`, `wr-result`
|
|
@@ -1067,6 +1091,10 @@
|
|
|
1067
1091
|
- keywords: schema form, signal forms, generated form, metadata
|
|
1068
1092
|
- Draws a whole form from a Signal Forms schema.
|
|
1069
1093
|
|
|
1094
|
+
## ngwr/schema-form/testing
|
|
1095
|
+
- import: `import { WrSchemaFormArrayHarness } from 'ngwr/schema-form/testing'`
|
|
1096
|
+
- exports: WrSchemaFormArrayHarness, WrSchemaFormFieldHarness, WrSchemaFormHarness, WrSchemaFormSectionHarness, WrSchemaFormArrayHarnessFilters, WrSchemaFormControlHarnesses, WrSchemaFormControlKind, WrSchemaFormFieldHarnessFilters, WrSchemaFormHarnessFilters, WrSchemaFormSectionHarnessFilters
|
|
1097
|
+
|
|
1070
1098
|
## ngwr/scroll
|
|
1071
1099
|
- import: `import { WrScroll } from 'ngwr/scroll'`
|
|
1072
1100
|
- exports: WrScroll, WrScrollTarget, WrScrollOptions
|
|
@@ -1102,6 +1130,10 @@
|
|
|
1102
1130
|
- keywords: navigation, nav
|
|
1103
1131
|
- Navigation drawn from data: pages and groups, three levels deep.
|
|
1104
1132
|
|
|
1133
|
+
## ngwr/sidebar/testing
|
|
1134
|
+
- import: `import { WrSidebarGroupHarness } from 'ngwr/sidebar/testing'`
|
|
1135
|
+
- exports: WrSidebarGroupHarness, WrSidebarHarness, WrSidebarItemHarness, WrSidebarGroupHarnessFilters, WrSidebarHarnessFilters, WrSidebarItemHarnessFilters
|
|
1136
|
+
|
|
1105
1137
|
## ngwr/skeleton
|
|
1106
1138
|
- import: `import { WrSkeleton } from 'ngwr/skeleton'`
|
|
1107
1139
|
- selector: `wr-skeleton`
|
|
@@ -1112,7 +1144,7 @@
|
|
|
1112
1144
|
## ngwr/slider
|
|
1113
1145
|
- import: `import { WrSlider } from 'ngwr/slider'`
|
|
1114
1146
|
- selector: `wr-slider`
|
|
1115
|
-
- exports: WrSlider, WrSliderMark, WrSliderValue
|
|
1147
|
+
- exports: WrSlider, WrSliderMark, WrSliderSize, WrSliderValue
|
|
1116
1148
|
- keywords: range
|
|
1117
1149
|
- Pick a number, or a range of two, by dragging a thumb.
|
|
1118
1150
|
|
|
@@ -1197,14 +1229,14 @@
|
|
|
1197
1229
|
|
|
1198
1230
|
## ngwr/table
|
|
1199
1231
|
- import: `import { WrTable } from 'ngwr/table'`
|
|
1200
|
-
- selector: `[wrTableCell]`, `ng-template[wrTableExpand]`, `wr-table-filter`, `ng-template[wrTableGroupHeader]`, `wr-table-sort`, `wr-table`
|
|
1201
|
-
- exports: WrTable, WrTableCell, WrTableExpand, WrTableGroupHeader, WrTableSort, WrTableFilter, wrReadField, wrSortRows, WrTableCellContext, WrTableColumn, WrTableColumnAlign, WrTableColumns, WrTableCsvOptions, WrTableExpandContext, WrTableFilterChange, WrTableFilterItem, WrTableGroupContext, WrTableLoadingMode, WrTableRow, WrTableRowClass, WrTableRowClick, WrTableSortAccessor, WrTableSortState, WrTableSortDirection, WrTableSummary, WrTableSummaryContext, WrTableTruncate
|
|
1232
|
+
- selector: `[wrTableCell]`, `wr-table-column-chooser`, `[wrTableEditCell]`, `ng-template[wrTableExpand]`, `wr-table-filter`, `ng-template[wrTableGroupHeader]`, `ng-template[wrTableSelectionBar]`, `wr-table-sort`, `wr-table`
|
|
1233
|
+
- exports: WrTable, WrTableCell, WrTableColumnChooser, WrTableEditCell, WrTableExpand, WrTableGroupHeader, WrTableSelectionBar, WrTableSort, WrTableFilter, wrReadField, wrSortRows, WrTableCellContext, WrTableCellEdit, WrTableChooserColumn, WrTableColumn, WrTableColumnAlign, WrTableColumns, WrTableCsvOptions, WrTableEditCellContext, WrTableEditable, WrTableExpandContext, WrTableFilterChange, WrTableFilterItem, WrTableGroupContext, WrTableLoadingMode, WrTableRow, WrTableRowClass, WrTableRowClick, WrTableSelectionContext, WrTableSortAccessor, WrTableSortState, WrTableSortDirection, WrTableState, WrTableSummary, WrTableSummaryContext, WrTableTruncate
|
|
1202
1234
|
- keywords: wrsortrows, wrreadfield, sort
|
|
1203
1235
|
- Rows of data with sorting, filtering, paging and custom cells.
|
|
1204
1236
|
|
|
1205
1237
|
## ngwr/table/testing
|
|
1206
1238
|
- import: `import { WrTableCellHarness } from 'ngwr/table/testing'`
|
|
1207
|
-
- exports: WrTableCellHarness, WrTableHarness, WrTableHeaderCellHarness, WrTableRowHarness, WrTableCellHarnessFilters, WrTableHarnessFilters, WrTableHeaderCellHarnessFilters, WrTableRowHarnessFilters
|
|
1239
|
+
- exports: WrTableCellHarness, WrTableColumnChooserHarness, WrTableHarness, WrTableHeaderCellHarness, WrTableRowHarness, WrTableCellHarnessFilters, WrTableColumnChooserHarnessFilters, WrTableHarnessFilters, WrTableHeaderCellHarnessFilters, WrTableRowHarnessFilters
|
|
1208
1240
|
|
|
1209
1241
|
## ngwr/tabs
|
|
1210
1242
|
- import: `import { WrTabs } from 'ngwr/tabs'`
|
|
@@ -1275,7 +1307,7 @@
|
|
|
1275
1307
|
## ngwr/transfer
|
|
1276
1308
|
- import: `import { WrTransfer } from 'ngwr/transfer'`
|
|
1277
1309
|
- selector: `wr-transfer`
|
|
1278
|
-
- exports: WrTransfer, WrTransferItem
|
|
1310
|
+
- exports: WrTransfer, WrTransferItem, WrTransferSize
|
|
1279
1311
|
- keywords: dual listbox, picklist, shuttle
|
|
1280
1312
|
- Move items between two lists; the right one is the value.
|
|
1281
1313
|
|
|
@@ -1286,7 +1318,7 @@
|
|
|
1286
1318
|
## ngwr/tree
|
|
1287
1319
|
- import: `import { WrTree } from 'ngwr/tree'`
|
|
1288
1320
|
- selector: `wr-tree`
|
|
1289
|
-
- exports: WrTree, WrTreeNode, WrTreeSelectionMode, WrTreeSize
|
|
1321
|
+
- exports: WrTree, wrMoveTreeNode, WrTreeCanDrop, WrTreeChildrenLoader, WrTreeDropTarget, WrTreeFilterFn, WrTreeMoveEnd, WrTreeMoveEvent, WrTreeNode, WrTreeSelectionMode, WrTreeSize
|
|
1290
1322
|
- keywords: tree-select, hierarchy, folders
|
|
1291
1323
|
- A nested list to browse and select from, inline or as a dropdown picker.
|
|
1292
1324
|
|
|
@@ -1303,7 +1335,7 @@
|
|
|
1303
1335
|
|
|
1304
1336
|
## ngwr/utils
|
|
1305
1337
|
- import: `import { wrIsDefined } from 'ngwr/utils'`
|
|
1306
|
-
- exports: WrMaybe, WrSafeAny, WrClassInput, wrIsDefined, wrIsNonEmptyArray, wrIsObservable, wrClamp, wrRound, wrDecimal, wrDecimalAdd, wrDecimalCompare, wrDecimalDivide, wrDecimalMultiply, wrDecimalRound, wrDecimalSubtract, WrDecimalLike, wrNumAttr, wrToClassList, wrIsSafeCssValue, wrResolveCssSize, WrResolveCssSizeOptions, WrResolvedCssSize, wrGetRootFontSize, wrGetFocusableElements, wrResolveCssColor, wrResolveCssColorChannels, wrTrapFocus, wrWatchColorScheme, wrCheckStyles, wrContentDispositionFileName, wrDownloadBlob, wrRestoreFocus, WrWatchColorSchemeOptions, WrColorScheme, wrRandomId, wrNoop, wrDebounce, wrThrottle, WrDebouncedFn, WrThrottledFn, WR_KEYS, WR_KEY_LABELS, wrHasModifier, wrIsComposing, wrIsPrintableKey, WrKey, wrBadgeError, wrBadgeLog, wrBadgeWarn, wrInitials, WrInitialsOptions, WrInitialsOrder, WrInitialsStyle, WR_LIVE_LOCALE, wrFeature, WrFeature, wrAction, wrKeyedAction, wrResourceValue, WrAction, WrActionStatus, WrKeyedAction
|
|
1338
|
+
- exports: WrMaybe, WrSafeAny, WrClassInput, wrIsDefined, wrIsNonEmptyArray, wrIsObservable, wrClamp, wrRound, wrDecimal, wrDecimalAdd, wrDecimalCompare, wrDecimalDivide, wrDecimalMultiply, wrDecimalRound, wrDecimalSubtract, WrDecimalLike, wrNumAttr, wrToClassList, wrIsSafeCssValue, wrResolveCssSize, WrResolveCssSizeOptions, WrResolvedCssSize, wrGetRootFontSize, wrGetFocusableElements, wrResolveCssColor, wrResolveCssColorChannels, wrTrapFocus, wrWatchColorScheme, wrCheckStyles, wrContentDispositionFileName, wrDownloadBlob, wrRestoreFocus, wrWatchDragCancel, WrWatchColorSchemeOptions, WrColorScheme, wrRandomId, wrNoop, wrDebounce, wrThrottle, WrDebouncedFn, WrThrottledFn, WR_KEYS, WR_KEY_LABELS, wrHasModifier, wrIsComposing, wrIsPrintableKey, wrTypeahead, WrKey, WrTypeahead, WrTypeaheadItem, WrTypeaheadOptions, wrBadgeError, wrBadgeLog, wrBadgeWarn, wrInitials, WrInitialsOptions, WrInitialsOrder, WrInitialsStyle, WR_LIVE_LOCALE, wrFeature, WrFeature, wrAction, wrKeyedAction, wrResourceValue, WrAction, WrActionStatus, WrKeyedAction
|
|
1307
1339
|
- Small helpers: coercion (`wrNumAttr`), DOM and keyboard guards, maths, ids, `wrDebounce` / `wrThrottle`, `wrResolveCssColor`, and the shared types `WrMaybe` and `WrSafeAny`.
|
|
1308
1340
|
|
|
1309
1341
|
## ngwr/utils/router
|
package/llms.txt
CHANGED
|
@@ -19,7 +19,8 @@ ngwr.dev has six sections:
|
|
|
19
19
|
(`provideWr()`), migration, the agent skill and the MCP server.
|
|
20
20
|
e.g. https://ngwr.dev/docs/installation
|
|
21
21
|
- `/guides/*` — how to use a subsystem: theming, tokens, forms, overlays,
|
|
22
|
-
translations, SSR, testing
|
|
22
|
+
translations, SSR, testing, keyboard, ejecting a component.
|
|
23
|
+
e.g. https://ngwr.dev/guides/forms
|
|
23
24
|
- `/reference/<kind>/<name>` — one page per public API; `<kind>` is
|
|
24
25
|
components, directives, pipes, services, utils, validators or interfaces.
|
|
25
26
|
e.g. https://ngwr.dev/reference/components/select
|
|
@@ -195,6 +196,12 @@ one element at a time; a step whose target is missing is skipped, not floated.
|
|
|
195
196
|
Every component a template renders needs its line. A name from before v15
|
|
196
197
|
(`bar-chart`) lands on its nested entry point (`ngwr/charts/bar-chart`).
|
|
197
198
|
- `ng g ngwr:page <form|table|dashboard>` — starter page wired with ngwr.
|
|
199
|
+
- `ng g ngwr:eject <entry>` — copies one component's source into
|
|
200
|
+
`src/app/ngwr/<entry>` (`--path` to change it), fetched from GitHub at the tag
|
|
201
|
+
of the installed version, or from a local checkout with `--from <dir>`.
|
|
202
|
+
Imports of other entry points become package paths, private files it reads
|
|
203
|
+
go to `_ngwr-internal` beside it; `ng update` no longer updates the copy.
|
|
204
|
+
Guide: `/guides/eject`.
|
|
198
205
|
- `ng update ngwr` — runs upgrade migrations.
|
|
199
206
|
|
|
200
207
|
## Upgrading
|
|
@@ -245,7 +252,8 @@ list.
|
|
|
245
252
|
`provideWrFormErrors()` are gone, with `WR_CONFIG`, `useConfigValue()`,
|
|
246
253
|
`WR_RESPONSIVE_OVERLAYS`, `wrPresentAsSheet`, `WR_FORM_ERRORS` and
|
|
247
254
|
`WR_FORM_ERROR_FALLBACKS`.
|
|
248
|
-
- 15.6: the `bits` family of animation components is gone, with no
|
|
255
|
+
- 15.6: the `bits` family of animation components is gone, with no rename to
|
|
256
|
+
follow. The effects at `ngwr/animations/<name>` (15.7) are new components.
|
|
249
257
|
- v15, paths: every chart entry point is nested, so
|
|
250
258
|
`ngwr/bar-chart` is `ngwr/charts/bar-chart`; `ngwr/drag-drop` is `ngwr/sortable-list`, and the list no
|
|
251
259
|
longer owns its loop — write your own, one `<wr-sortable-item>` per row, with
|
|
@@ -351,34 +359,56 @@ The catalog is large: prefer an ngwr component, util, pipe, or validator over ra
|
|
|
351
359
|
markup, custom logic, or another library. e.g. use `wr-file-upload`, not a bare
|
|
352
360
|
`<input type="file">`; reach for `ngwr/utils`, `ngwr/pipes`, `ngwr/validators`
|
|
353
361
|
before writing your own. Full catalog: https://ngwr.dev/reference/components.
|
|
362
|
+
Type-ahead for a list of your own is `wrTypeahead()` from `ngwr/utils`, the
|
|
363
|
+
helper behind select, dropdown, context menu, tree and cascader:
|
|
364
|
+
https://ngwr.dev/reference/utils/wr-typeahead
|
|
354
365
|
|
|
355
366
|
## Common components (selector — import)
|
|
356
367
|
|
|
357
368
|
- **Form** — `wr-btn` (ngwr/button), `wr-speed-dial`, `wrInput` (ngwr/input),
|
|
358
369
|
`wr-textarea`, `wr-select` (ngwr/select; modes single/multi/search/tag, plus
|
|
359
|
-
`searchable` for a multi-with-typeahead
|
|
360
|
-
search), `wr-checkbox` (form state is `[(checked)]`; inside
|
|
370
|
+
`searchable` for a multi-with-typeahead, `(searchChange)` for server-side
|
|
371
|
+
search and `selectAll` for a "Select all" row in multi mode), `wr-checkbox` (form state is `[(checked)]`; inside
|
|
361
372
|
`<wr-checkbox-group>` the identity input is `checkboxValue`, NOT `value`),
|
|
362
373
|
`wr-radio-group` (ngwr/radio), `wr-switch`, `wr-slider`, `wr-segmented`,
|
|
363
374
|
`wr-rating`, `wr-knob`, `wr-input-number`, `wr-input-otp`, `wr-date-picker`
|
|
364
|
-
(date/time/datetime
|
|
365
|
-
|
|
375
|
+
(`mode` is date/time/datetime, or a period held as its first day:
|
|
376
|
+
week/month/quarter/year) and `wr-date-range-picker` (both in
|
|
377
|
+
ngwr/date-picker; the range value is `[start, end]`, hence a separate
|
|
378
|
+
component; its `mode` is date/datetime/month/quarter/year, and a range of
|
|
379
|
+
periods ends on the last day of the end period), `wr-cascader` (the
|
|
366
380
|
value is the whole path), `[wrMention]` (ngwr/mention, on a textarea or input),
|
|
367
|
-
`wr-file-upload
|
|
381
|
+
`wr-file-upload` (it never uploads: the app does, and reports each file
|
|
382
|
+
through `[status]` for a progress bar, a done mark or an error with
|
|
383
|
+
`(retry)`; `previews` and `acceptPaste` are opt-in), `wr-form-field` (in
|
|
384
|
+
ngwr/form), `wr-color-picker`,
|
|
368
385
|
`wr-transfer` (dual listbox; the value is the RIGHT pane), `wr-editor`
|
|
369
386
|
(ngwr/editor — rich text on ProseMirror, an optional peer; the value is the
|
|
370
387
|
document as a JSON tree, `null` when empty, validated against the schema; a
|
|
371
388
|
value it cannot read is refused and the editor keeps its document; an app that
|
|
372
389
|
stores HTML or markdown converts at its own boundary), `wr-schema-form`
|
|
373
390
|
(ngwr/schema-form; draws a form from the `WR_FIELD` metadata on a Signal Forms
|
|
374
|
-
schema, and skips a field that carries none
|
|
391
|
+
schema, and skips a field that carries none; field kinds, sections and
|
|
392
|
+
repeating groups come from the same metadata). There is no input mask: put
|
|
393
|
+
`ngx-mask` on the same `<input wrInput>`.
|
|
375
394
|
- **Data** — `wr-table` (column pin/resize/drag-reorder, row selection,
|
|
376
395
|
expandable rows, grouping, tree rows (`childrenKey`), summary rows,
|
|
377
|
-
CSV export, virtualized body)
|
|
378
|
-
|
|
396
|
+
CSV export, virtualized body; `[(hiddenColumns)]` with `columnChooser` for
|
|
397
|
+
the built-in button or `<wr-table-column-chooser [table]>` in your own menu;
|
|
398
|
+
`ng-template wrTableSelectionBar` for bulk actions over the selection;
|
|
399
|
+
`ng-template wrTableEditCell="<key>"` for an inline editor, whose commit
|
|
400
|
+
emits `(cellEdit)` and writes nothing; `(stateChange)` emits one
|
|
401
|
+
`WrTableState` (sort, filters, page, page size, column order, hidden
|
|
402
|
+
columns) and `[state]` restores it),
|
|
403
|
+
`wr-pagination`, `wr-tree` (a click on a branch row opens it unless
|
|
404
|
+
`[expandOnClick]="false"`; `loadChildren` for lazy children, `filter`,
|
|
405
|
+
`cascade` for cascading checks, `draggable` with `(nodeMove)`, applied by
|
|
406
|
+
`wrMoveTreeNode`, since the tree never writes `nodes`), `wr-list`, `wr-timeline`, `wr-calendar`,
|
|
379
407
|
`wr-event-calendar` (see Scheduling below), `wr-graph` (read-only layered
|
|
380
408
|
diagram: `nodes` plus `{ from, to }` parent-to-child `edges`, each node a
|
|
381
|
-
default card or an `ng-template wrGraphNode`
|
|
409
|
+
default card or an `ng-template wrGraphNode`; `zoomable` swaps scrolling
|
|
410
|
+
for zoom and pan; a provided `WrGraphLayout` replaces the layout and may
|
|
411
|
+
answer with a Promise), `wr-virtual-scroll`,
|
|
382
412
|
`wr-sortable-list` (drag-to-reorder, one `<wr-sortable-item>` per row from
|
|
383
413
|
your own loop, with `[wrDragHandle]` — all in ngwr/sortable-list).
|
|
384
414
|
- **Charts** — `wr-line-chart` (`showArea` makes it an area chart and
|
|
@@ -535,25 +565,28 @@ before writing your own. Full catalog: https://ngwr.dev/reference/components.
|
|
|
535
565
|
Every control, every overlay and every chart has one: the form controls
|
|
536
566
|
(`button`, `input`, `textarea`, `checkbox`, `switch`, `radio`, `select`,
|
|
537
567
|
`input-number`, `input-otp`, `slider`, `rating`, `file-upload`, `color-picker`,
|
|
538
|
-
`knob`, `segmented`, `editor`,
|
|
539
|
-
(`date-picker`, `dropdown`, `popover`, `dialog`,
|
|
540
|
-
`toast`, `context-menu`, `popconfirm`, `command-palette`,
|
|
541
|
-
`mention`), the data views (`table`, `tree`, `graph
|
|
542
|
-
disclosure set (`tabs`, `stepper`,
|
|
543
|
-
`
|
|
544
|
-
`
|
|
545
|
-
|
|
546
|
-
|
|
547
|
-
`
|
|
548
|
-
|
|
549
|
-
|
|
568
|
+
`knob`, `segmented`, `editor`, `form` for `<wr-form-field>` and
|
|
569
|
+
`schema-form`), the overlays (`date-picker`, `dropdown`, `popover`, `dialog`,
|
|
570
|
+
`drawer`, `toast`, `context-menu`, `popconfirm`, `command-palette`,
|
|
571
|
+
`cascader`, `mention`), the data views (`table`, `tree`, `graph`,
|
|
572
|
+
`sortable-list`), the navigation and disclosure set (`tabs`, `stepper`,
|
|
573
|
+
`carousel`, `pagination`, `collapse`, `transfer`, `sidebar`, `breadcrumbs`,
|
|
574
|
+
`burger`), and `alert`, `load-state`, `comment`, `compare`, `copy-value`,
|
|
575
|
+
`date-stamp`, `resizable`, `pull-to-refresh`, `splitter`, `speed-dial`,
|
|
576
|
+
`lightbox`, `tour`, `calendar`, `event-calendar`, `window` and
|
|
577
|
+
`image-cropper`. `WrCalendarDayHarness` ships under two entry points, since a
|
|
578
|
+
date picker's popup IS a calendar. The animation effects and
|
|
579
|
+
`virtual-scroll` have none: what they do is a canvas, a transition or a
|
|
580
|
+
measured viewport, so every honest method would read the same for a working
|
|
581
|
+
component and a broken one.
|
|
550
582
|
Load them with `TestbedHarnessEnvironment` and narrow with
|
|
551
583
|
`WrButtonHarness.with({ text: 'Save' })` instead of querying ngwr's markup.
|
|
552
584
|
Dialog, toast and a service-opened drawer render outside the fixture — load
|
|
553
585
|
those from `documentRootLoader()`; everything else is an element in your
|
|
554
586
|
template, and where its panel is in the overlay the harness reaches it for you,
|
|
555
587
|
scoped to that instance by the id the trigger publishes.
|
|
556
|
-
Many are families: `WrTableHarness` + row / cell / header-cell
|
|
588
|
+
Many are families: `WrTableHarness` + row / cell / header-cell / column
|
|
589
|
+
chooser, `WrSchemaFormHarness` + section / field / array, `WrTreeHarness`
|
|
557
590
|
+ node, `WrCascaderHarness` + column / option, `WrCommandPaletteHarness` +
|
|
558
591
|
group / item, `WrRadioGroupHarness` + radio, `WrSliderHarness` + thumb,
|
|
559
592
|
`WrInputOtpHarness` + box, `WrRatingHarness` + item, `WrContextMenuHarness` +
|
|
@@ -11,8 +11,8 @@
|
|
|
11
11
|
// is the token layer plus mixins any element can use — `smooth-br`,
|
|
12
12
|
// `touch-target`, `focus-ring`. This is not one of those. It only means anything
|
|
13
13
|
// against a CDK pane that carries a `--<placement>` modifier written by
|
|
14
|
-
// `
|
|
15
|
-
// placement names it keys off are `
|
|
14
|
+
// `wrAnchoredPositions()` / a directive's `panelClass`, and the twelve
|
|
15
|
+
// placement names it keys off are `WR_ANCHORED_POSITIONS`. That is the overlay
|
|
16
16
|
// layer's vocabulary. Promoting it to `ngwr/theme` would advertise it to every
|
|
17
17
|
// component in the catalog as something general, which it is not.
|
|
18
18
|
//
|
|
@@ -186,8 +186,8 @@ $placements: (
|
|
|
186
186
|
/// tooltip, whose arrow overlaps the very control the tooltip describes, so a
|
|
187
187
|
/// hittable arrow eats clicks meant for it.
|
|
188
188
|
/// @param {List} $placements-used - which placements to emit, defaulting to all
|
|
189
|
-
/// twelve. A component whose position input offers
|
|
190
|
-
/// rather than shipping
|
|
189
|
+
/// twelve. A component whose position input offers fewer should pass those
|
|
190
|
+
/// rather than shipping rules that can never match.
|
|
191
191
|
@mixin anchored-arrow($pane, $panel, $background, $border: null, $inert: false, $placements-used: map.keys($placements)) {
|
|
192
192
|
#{$pane} {
|
|
193
193
|
#{$panel} {
|