ngwr 10.2.1 → 11.1.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/README.md +39 -19
- package/action-sheet/styles/_index.scss +4 -1
- package/anchor/styles/_index.scss +6 -5
- package/back-top/styles/_index.scss +6 -1
- package/blur-text/styles/_index.scss +13 -0
- package/button/styles/_index.scss +11 -6
- package/calendar/styles/_index.scss +11 -2
- package/carousel/styles/_index.scss +13 -2
- package/cascader/styles/_index.scss +5 -3
- package/circular-text/styles/_index.scss +2 -0
- package/collapse/styles/_index.scss +1 -1
- package/color-picker/styles/_index.scss +6 -1
- package/command-palette/styles/_index.scss +2 -1
- package/compare/styles/_index.scss +1 -2
- package/context-menu/styles/_index.scss +8 -2
- package/descriptions/styles/_index.scss +2 -2
- package/dialog/styles/_index.scss +7 -0
- package/drawer/styles/_index.scss +20 -1
- package/dropdown/styles/_index.scss +19 -5
- package/empty/styles/_index.scss +10 -0
- package/falling-text/styles/_index.scss +2 -1
- package/fesm2022/ngwr-action-sheet.mjs +13 -3
- package/fesm2022/ngwr-action-sheet.mjs.map +1 -1
- package/fesm2022/ngwr-affix.mjs +40 -13
- package/fesm2022/ngwr-affix.mjs.map +1 -1
- package/fesm2022/ngwr-anchor.mjs +18 -6
- package/fesm2022/ngwr-anchor.mjs.map +1 -1
- package/fesm2022/ngwr-aurora.mjs +2 -2
- package/fesm2022/ngwr-aurora.mjs.map +1 -1
- package/fesm2022/ngwr-avatar.mjs +31 -7
- package/fesm2022/ngwr-avatar.mjs.map +1 -1
- package/fesm2022/ngwr-back-top.mjs +6 -2
- package/fesm2022/ngwr-back-top.mjs.map +1 -1
- package/fesm2022/ngwr-badge.mjs +1 -1
- package/fesm2022/ngwr-badge.mjs.map +1 -1
- package/fesm2022/ngwr-bar-chart.mjs +30 -9
- package/fesm2022/ngwr-bar-chart.mjs.map +1 -1
- package/fesm2022/ngwr-blur-text.mjs +2 -2
- package/fesm2022/ngwr-blur-text.mjs.map +1 -1
- package/fesm2022/ngwr-border-glow.mjs +2 -2
- package/fesm2022/ngwr-border-glow.mjs.map +1 -1
- package/fesm2022/ngwr-breadcrumbs.mjs +2 -2
- package/fesm2022/ngwr-breadcrumbs.mjs.map +1 -1
- package/fesm2022/ngwr-burger.mjs +9 -4
- package/fesm2022/ngwr-burger.mjs.map +1 -1
- package/fesm2022/ngwr-button-testing.mjs +96 -0
- package/fesm2022/ngwr-button-testing.mjs.map +1 -0
- package/fesm2022/ngwr-button.mjs +31 -14
- package/fesm2022/ngwr-button.mjs.map +1 -1
- package/fesm2022/ngwr-calendar-heatmap.mjs +40 -8
- package/fesm2022/ngwr-calendar-heatmap.mjs.map +1 -1
- package/fesm2022/ngwr-calendar.mjs +20 -1
- package/fesm2022/ngwr-calendar.mjs.map +1 -1
- package/fesm2022/ngwr-card.mjs +2 -2
- package/fesm2022/ngwr-card.mjs.map +1 -1
- package/fesm2022/ngwr-carousel-testing.mjs +377 -0
- package/fesm2022/ngwr-carousel-testing.mjs.map +1 -0
- package/fesm2022/ngwr-carousel.mjs +67 -13
- package/fesm2022/ngwr-carousel.mjs.map +1 -1
- package/fesm2022/ngwr-cascader-testing.mjs +534 -0
- package/fesm2022/ngwr-cascader-testing.mjs.map +1 -0
- package/fesm2022/ngwr-cascader.mjs +2 -2
- package/fesm2022/ngwr-cascader.mjs.map +1 -1
- package/fesm2022/ngwr-checkbox-testing.mjs +90 -0
- package/fesm2022/ngwr-checkbox-testing.mjs.map +1 -0
- package/fesm2022/ngwr-checkbox.mjs +9 -3
- package/fesm2022/ngwr-checkbox.mjs.map +1 -1
- package/fesm2022/ngwr-circular-text.mjs +2 -2
- package/fesm2022/ngwr-circular-text.mjs.map +1 -1
- package/fesm2022/ngwr-click-spark.mjs +2 -2
- package/fesm2022/ngwr-click-spark.mjs.map +1 -1
- package/fesm2022/ngwr-collapse-testing.mjs +368 -0
- package/fesm2022/ngwr-collapse-testing.mjs.map +1 -0
- package/fesm2022/ngwr-color-picker.mjs +134 -14
- package/fesm2022/ngwr-color-picker.mjs.map +1 -1
- package/fesm2022/ngwr-command-palette-testing.mjs +589 -0
- package/fesm2022/ngwr-command-palette-testing.mjs.map +1 -0
- package/fesm2022/ngwr-command-palette.mjs +58 -8
- package/fesm2022/ngwr-command-palette.mjs.map +1 -1
- package/fesm2022/ngwr-compare.mjs +103 -13
- package/fesm2022/ngwr-compare.mjs.map +1 -1
- package/fesm2022/ngwr-config.mjs +106 -0
- package/fesm2022/ngwr-config.mjs.map +1 -0
- package/fesm2022/ngwr-context-menu-testing.mjs +631 -0
- package/fesm2022/ngwr-context-menu-testing.mjs.map +1 -0
- package/fesm2022/ngwr-context-menu.mjs +94 -8
- package/fesm2022/ngwr-context-menu.mjs.map +1 -1
- package/fesm2022/ngwr-cookie.mjs +5 -1
- package/fesm2022/ngwr-cookie.mjs.map +1 -1
- package/fesm2022/ngwr-counter.mjs +11 -3
- package/fesm2022/ngwr-counter.mjs.map +1 -1
- package/fesm2022/ngwr-date-adapter-luxon.mjs +52 -4
- package/fesm2022/ngwr-date-adapter-luxon.mjs.map +1 -1
- package/fesm2022/ngwr-date-adapter.mjs +54 -8
- package/fesm2022/ngwr-date-adapter.mjs.map +1 -1
- package/fesm2022/ngwr-date-picker-testing.mjs +766 -0
- package/fesm2022/ngwr-date-picker-testing.mjs.map +1 -0
- package/fesm2022/ngwr-date-picker.mjs +73 -3
- package/fesm2022/ngwr-date-picker.mjs.map +1 -1
- package/fesm2022/ngwr-decrypt-text.mjs +27 -9
- package/fesm2022/ngwr-decrypt-text.mjs.map +1 -1
- package/fesm2022/ngwr-dialog-testing.mjs +89 -0
- package/fesm2022/ngwr-dialog-testing.mjs.map +1 -0
- package/fesm2022/ngwr-directives.mjs +36 -12
- package/fesm2022/ngwr-directives.mjs.map +1 -1
- package/fesm2022/ngwr-donut-chart.mjs +22 -5
- package/fesm2022/ngwr-donut-chart.mjs.map +1 -1
- package/fesm2022/ngwr-drag-drop.mjs +2 -2
- package/fesm2022/ngwr-drag-drop.mjs.map +1 -1
- package/fesm2022/ngwr-drawer-testing.mjs +250 -0
- package/fesm2022/ngwr-drawer-testing.mjs.map +1 -0
- package/fesm2022/ngwr-dropdown-testing.mjs +291 -0
- package/fesm2022/ngwr-dropdown-testing.mjs.map +1 -0
- package/fesm2022/ngwr-dropdown.mjs +10 -2
- package/fesm2022/ngwr-dropdown.mjs.map +1 -1
- package/fesm2022/ngwr-empty.mjs +24 -7
- package/fesm2022/ngwr-empty.mjs.map +1 -1
- package/fesm2022/ngwr-event-calendar.mjs +57 -10
- package/fesm2022/ngwr-event-calendar.mjs.map +1 -1
- package/fesm2022/ngwr-falling-text.mjs +2 -2
- package/fesm2022/ngwr-falling-text.mjs.map +1 -1
- package/fesm2022/ngwr-file-upload-testing.mjs +332 -0
- package/fesm2022/ngwr-file-upload-testing.mjs.map +1 -0
- package/fesm2022/ngwr-form-testing.mjs +451 -0
- package/fesm2022/ngwr-form-testing.mjs.map +1 -0
- package/fesm2022/ngwr-form.mjs +19 -3
- package/fesm2022/ngwr-form.mjs.map +1 -1
- package/fesm2022/ngwr-fuzzy-text.mjs +9 -2
- package/fesm2022/ngwr-fuzzy-text.mjs.map +1 -1
- package/fesm2022/ngwr-gauge.mjs +19 -5
- package/fesm2022/ngwr-gauge.mjs.map +1 -1
- package/fesm2022/ngwr-glitch-text.mjs +2 -2
- package/fesm2022/ngwr-glitch-text.mjs.map +1 -1
- package/fesm2022/ngwr-gradient-text.mjs +2 -2
- package/fesm2022/ngwr-gradient-text.mjs.map +1 -1
- package/fesm2022/ngwr-i18n-en.mjs +50 -0
- package/fesm2022/ngwr-i18n-en.mjs.map +1 -1
- package/fesm2022/ngwr-i18n-ru.mjs +48 -0
- package/fesm2022/ngwr-i18n-ru.mjs.map +1 -1
- package/fesm2022/ngwr-image-cropper.mjs +23 -0
- package/fesm2022/ngwr-image-cropper.mjs.map +1 -1
- package/fesm2022/ngwr-input-number-testing.mjs +306 -0
- package/fesm2022/ngwr-input-number-testing.mjs.map +1 -0
- package/fesm2022/ngwr-input-number.mjs +35 -3
- package/fesm2022/ngwr-input-number.mjs.map +1 -1
- package/fesm2022/ngwr-input-otp-testing.mjs +419 -0
- package/fesm2022/ngwr-input-otp-testing.mjs.map +1 -0
- package/fesm2022/ngwr-input-otp.mjs +36 -5
- package/fesm2022/ngwr-input-otp.mjs.map +1 -1
- package/fesm2022/ngwr-input-testing.mjs +102 -0
- package/fesm2022/ngwr-input-testing.mjs.map +1 -0
- package/fesm2022/ngwr-input.mjs +47 -10
- package/fesm2022/ngwr-input.mjs.map +1 -1
- package/fesm2022/ngwr-knob.mjs +44 -8
- package/fesm2022/ngwr-knob.mjs.map +1 -1
- package/fesm2022/ngwr-layout.mjs +21 -5
- package/fesm2022/ngwr-layout.mjs.map +1 -1
- package/fesm2022/ngwr-lightbox.mjs +33 -6
- package/fesm2022/ngwr-lightbox.mjs.map +1 -1
- package/fesm2022/ngwr-line-chart.mjs +17 -4
- package/fesm2022/ngwr-line-chart.mjs.map +1 -1
- package/fesm2022/ngwr-list.mjs +2 -2
- package/fesm2022/ngwr-list.mjs.map +1 -1
- package/fesm2022/ngwr-loading-bar.mjs +2 -2
- package/fesm2022/ngwr-loading-bar.mjs.map +1 -1
- package/fesm2022/ngwr-markdown-testing.mjs +516 -0
- package/fesm2022/ngwr-markdown-testing.mjs.map +1 -0
- package/fesm2022/ngwr-markdown.mjs +1492 -0
- package/fesm2022/ngwr-markdown.mjs.map +1 -0
- package/fesm2022/ngwr-marquee.mjs +17 -6
- package/fesm2022/ngwr-marquee.mjs.map +1 -1
- package/fesm2022/ngwr-mention-testing.mjs +513 -0
- package/fesm2022/ngwr-mention-testing.mjs.map +1 -0
- package/fesm2022/ngwr-mention.mjs +10 -1
- package/fesm2022/ngwr-mention.mjs.map +1 -1
- package/fesm2022/ngwr-meta.mjs +22 -7
- package/fesm2022/ngwr-meta.mjs.map +1 -1
- package/fesm2022/ngwr-meter-group.mjs +19 -5
- package/fesm2022/ngwr-meter-group.mjs.map +1 -1
- package/fesm2022/ngwr-overlay.mjs +41 -1
- package/fesm2022/ngwr-overlay.mjs.map +1 -1
- package/fesm2022/ngwr-pagination-testing.mjs +389 -0
- package/fesm2022/ngwr-pagination-testing.mjs.map +1 -0
- package/fesm2022/ngwr-pagination.mjs +14 -2
- package/fesm2022/ngwr-pagination.mjs.map +1 -1
- package/fesm2022/ngwr-popconfirm-testing.mjs +309 -0
- package/fesm2022/ngwr-popconfirm-testing.mjs.map +1 -0
- package/fesm2022/ngwr-popconfirm.mjs +95 -17
- package/fesm2022/ngwr-popconfirm.mjs.map +1 -1
- package/fesm2022/ngwr-popover-testing.mjs +316 -0
- package/fesm2022/ngwr-popover-testing.mjs.map +1 -0
- package/fesm2022/ngwr-popover.mjs +21 -3
- package/fesm2022/ngwr-popover.mjs.map +1 -1
- package/fesm2022/ngwr-pull-to-refresh.mjs +17 -2
- package/fesm2022/ngwr-pull-to-refresh.mjs.map +1 -1
- package/fesm2022/ngwr-qr.mjs +13 -3
- package/fesm2022/ngwr-qr.mjs.map +1 -1
- package/fesm2022/ngwr-radio-testing.mjs +392 -0
- package/fesm2022/ngwr-radio-testing.mjs.map +1 -0
- package/fesm2022/ngwr-radio.mjs +10 -3
- package/fesm2022/ngwr-radio.mjs.map +1 -1
- package/fesm2022/ngwr-rating-testing.mjs +384 -0
- package/fesm2022/ngwr-rating-testing.mjs.map +1 -0
- package/fesm2022/ngwr-rating.mjs +37 -2
- package/fesm2022/ngwr-rating.mjs.map +1 -1
- package/fesm2022/ngwr-segmented-testing.mjs +512 -0
- package/fesm2022/ngwr-segmented-testing.mjs.map +1 -0
- package/fesm2022/ngwr-select-testing.mjs +268 -0
- package/fesm2022/ngwr-select-testing.mjs.map +1 -0
- package/fesm2022/ngwr-select.mjs +87 -16
- package/fesm2022/ngwr-select.mjs.map +1 -1
- package/fesm2022/ngwr-shiny-text.mjs +2 -2
- package/fesm2022/ngwr-shiny-text.mjs.map +1 -1
- package/fesm2022/ngwr-sidebar.mjs +65 -12
- package/fesm2022/ngwr-sidebar.mjs.map +1 -1
- package/fesm2022/ngwr-slider-testing.mjs +478 -0
- package/fesm2022/ngwr-slider-testing.mjs.map +1 -0
- package/fesm2022/ngwr-slider.mjs +57 -13
- package/fesm2022/ngwr-slider.mjs.map +1 -1
- package/fesm2022/ngwr-sparkline.mjs +26 -6
- package/fesm2022/ngwr-sparkline.mjs.map +1 -1
- package/fesm2022/ngwr-speed-dial.mjs +37 -4
- package/fesm2022/ngwr-speed-dial.mjs.map +1 -1
- package/fesm2022/ngwr-spinner.mjs +12 -3
- package/fesm2022/ngwr-spinner.mjs.map +1 -1
- package/fesm2022/ngwr-splash-cursor.mjs +2 -2
- package/fesm2022/ngwr-splash-cursor.mjs.map +1 -1
- package/fesm2022/ngwr-split-text.mjs +2 -2
- package/fesm2022/ngwr-split-text.mjs.map +1 -1
- package/fesm2022/ngwr-splitter.mjs +70 -9
- package/fesm2022/ngwr-splitter.mjs.map +1 -1
- package/fesm2022/ngwr-spotlight-card.mjs +2 -2
- package/fesm2022/ngwr-spotlight-card.mjs.map +1 -1
- package/fesm2022/ngwr-star-border.mjs +2 -2
- package/fesm2022/ngwr-star-border.mjs.map +1 -1
- package/fesm2022/ngwr-statistic.mjs +24 -7
- package/fesm2022/ngwr-statistic.mjs.map +1 -1
- package/fesm2022/ngwr-stepper-testing.mjs +477 -0
- package/fesm2022/ngwr-stepper-testing.mjs.map +1 -0
- package/fesm2022/ngwr-switch-testing.mjs +77 -0
- package/fesm2022/ngwr-switch-testing.mjs.map +1 -0
- package/fesm2022/ngwr-switch.mjs +9 -3
- package/fesm2022/ngwr-switch.mjs.map +1 -1
- package/fesm2022/ngwr-table-testing.mjs +580 -0
- package/fesm2022/ngwr-table-testing.mjs.map +1 -0
- package/fesm2022/ngwr-table.mjs +87 -14
- package/fesm2022/ngwr-table.mjs.map +1 -1
- package/fesm2022/ngwr-tabs-testing.mjs +617 -0
- package/fesm2022/ngwr-tabs-testing.mjs.map +1 -0
- package/fesm2022/ngwr-tabs.mjs +38 -6
- package/fesm2022/ngwr-tabs.mjs.map +1 -1
- package/fesm2022/ngwr-textarea-testing.mjs +238 -0
- package/fesm2022/ngwr-textarea-testing.mjs.map +1 -0
- package/fesm2022/ngwr-textarea.mjs +32 -4
- package/fesm2022/ngwr-textarea.mjs.map +1 -1
- package/fesm2022/ngwr-tilt-card.mjs +2 -2
- package/fesm2022/ngwr-tilt-card.mjs.map +1 -1
- package/fesm2022/ngwr-toast-testing.mjs +101 -0
- package/fesm2022/ngwr-toast-testing.mjs.map +1 -0
- package/fesm2022/ngwr-toast.mjs +2 -2
- package/fesm2022/ngwr-toast.mjs.map +1 -1
- package/fesm2022/ngwr-tour.mjs +61 -9
- package/fesm2022/ngwr-tour.mjs.map +1 -1
- package/fesm2022/ngwr-transfer-testing.mjs +538 -0
- package/fesm2022/ngwr-transfer-testing.mjs.map +1 -0
- package/fesm2022/ngwr-transfer.mjs +45 -14
- package/fesm2022/ngwr-transfer.mjs.map +1 -1
- package/fesm2022/ngwr-tree-testing.mjs +734 -0
- package/fesm2022/ngwr-tree-testing.mjs.map +1 -0
- package/fesm2022/ngwr-tree.mjs +73 -7
- package/fesm2022/ngwr-tree.mjs.map +1 -1
- package/fesm2022/ngwr-typewriter.mjs +5 -3
- package/fesm2022/ngwr-typewriter.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 +31 -5
- package/fesm2022/ngwr-virtual-scroll.mjs.map +1 -1
- package/fesm2022/ngwr-waves.mjs +3 -3
- package/fesm2022/ngwr-waves.mjs.map +1 -1
- package/fesm2022/ngwr-window.mjs +8 -0
- package/fesm2022/ngwr-window.mjs.map +1 -1
- package/file-upload/styles/_index.scss +7 -2
- package/gauge/styles/_index.scss +1 -1
- package/glitch-text/styles/_index.scss +4 -0
- package/i18n/en.json +48 -0
- package/i18n/ru.json +48 -0
- package/image-cropper/styles/_index.scss +13 -1
- package/input/styles/_index.scss +2 -2
- package/input-number/styles/_index.scss +7 -2
- package/knob/styles/_index.scss +8 -1
- package/layout/styles/_index.scss +3 -3
- package/lightbox/styles/_index.scss +10 -2
- package/line-chart/styles/_index.scss +6 -0
- package/llms-full.txt +151 -4
- package/llms.txt +57 -8
- package/loading-bar/styles/_index.scss +1 -2
- package/markdown/styles/_index.scss +296 -0
- package/marquee/styles/_index.scss +12 -0
- package/mcp/api.js +512 -0
- package/mcp/catalog.js +157 -0
- package/mcp/server.js +273 -0
- package/mcp/tools.js +366 -0
- package/meter-group/styles/_index.scss +1 -1
- package/package.json +186 -35
- package/pagination/styles/_index.scss +6 -6
- package/popover/styles/_index.scss +37 -5
- package/rating/styles/_index.scss +10 -0
- package/result/styles/_index.scss +3 -1
- package/schematics/use/symbol-map.json +2 -0
- package/segmented/styles/_index.scss +12 -1
- package/select/styles/_index.scss +32 -10
- package/sidebar/styles/_index.scss +30 -5
- package/slider/styles/_index.scss +15 -0
- package/speed-dial/styles/_index.scss +20 -0
- package/split-text/styles/_index.scss +13 -0
- package/star-border/styles/_index.scss +2 -0
- package/stepper/styles/_index.scss +19 -3
- package/styles/_grid.scss +4 -4
- package/styles.scss +1 -0
- package/switch/styles/_index.scss +5 -3
- package/table/styles/_index.scss +25 -12
- package/tabs/styles/_index.scss +11 -1
- package/textarea/styles/_index.scss +5 -0
- package/theme/styles/_colors.scss +44 -15
- package/theme/styles/_dark.scss +35 -15
- package/theme/styles/_mixins.scss +3 -0
- package/timeline/styles/_index.scss +2 -2
- package/toast/styles/_index.scss +17 -8
- package/toolbar/styles/_index.scss +3 -3
- package/tour/styles/_index.scss +7 -1
- package/tree/styles/_index.scss +9 -5
- package/types/ngwr-action-sheet.d.ts +9 -1
- package/types/ngwr-affix.d.ts +7 -1
- package/types/ngwr-anchor.d.ts +8 -1
- package/types/ngwr-avatar.d.ts +13 -3
- package/types/ngwr-bar-chart.d.ts +16 -0
- package/types/ngwr-burger.d.ts +6 -2
- package/types/ngwr-button-testing.d.ts +85 -0
- package/types/ngwr-button.d.ts +26 -10
- package/types/ngwr-calendar-heatmap.d.ts +16 -2
- package/types/ngwr-calendar.d.ts +10 -0
- package/types/ngwr-carousel-testing.d.ts +257 -0
- package/types/ngwr-carousel.d.ts +20 -4
- package/types/ngwr-cascader-testing.d.ts +392 -0
- package/types/ngwr-checkbox-testing.d.ts +77 -0
- package/types/ngwr-checkbox.d.ts +7 -2
- package/types/ngwr-collapse-testing.d.ts +290 -0
- package/types/ngwr-color-picker.d.ts +20 -11
- package/types/ngwr-command-palette-testing.d.ts +437 -0
- package/types/ngwr-command-palette.d.ts +25 -2
- package/types/ngwr-compare.d.ts +50 -2
- package/types/ngwr-config.d.ts +176 -0
- package/types/ngwr-context-menu-testing.d.ts +401 -0
- package/types/ngwr-context-menu.d.ts +65 -17
- package/types/ngwr-counter.d.ts +6 -1
- package/types/ngwr-date-adapter-luxon.d.ts +26 -0
- package/types/ngwr-date-picker-testing.d.ts +518 -0
- package/types/ngwr-date-picker.d.ts +4 -0
- package/types/ngwr-dialog-testing.d.ts +79 -0
- package/types/ngwr-directives.d.ts +10 -1
- package/types/ngwr-donut-chart.d.ts +8 -1
- package/types/ngwr-drawer-testing.d.ts +196 -0
- package/types/ngwr-dropdown-testing.d.ts +202 -0
- package/types/ngwr-dropdown.d.ts +7 -1
- package/types/ngwr-empty.d.ts +19 -4
- package/types/ngwr-event-calendar.d.ts +26 -1
- package/types/ngwr-file-upload-testing.d.ts +194 -0
- package/types/ngwr-form-testing.d.ts +379 -0
- package/types/ngwr-form.d.ts +17 -0
- package/types/ngwr-gauge.d.ts +13 -1
- package/types/ngwr-image-cropper.d.ts +10 -0
- package/types/ngwr-input-number-testing.d.ts +226 -0
- package/types/ngwr-input-number.d.ts +29 -1
- package/types/ngwr-input-otp-testing.d.ts +299 -0
- package/types/ngwr-input-otp.d.ts +23 -2
- package/types/ngwr-input-testing.d.ts +84 -0
- package/types/ngwr-input.d.ts +20 -6
- package/types/ngwr-knob.d.ts +18 -0
- package/types/ngwr-layout.d.ts +1 -0
- package/types/ngwr-lightbox.d.ts +17 -3
- package/types/ngwr-line-chart.d.ts +9 -2
- package/types/ngwr-markdown-testing.d.ts +462 -0
- package/types/ngwr-markdown.d.ts +534 -0
- package/types/ngwr-marquee.d.ts +12 -2
- package/types/ngwr-mention-testing.d.ts +359 -0
- package/types/ngwr-meta.d.ts +4 -2
- package/types/ngwr-meter-group.d.ts +11 -1
- package/types/ngwr-overlay.d.ts +33 -2
- package/types/ngwr-pagination-testing.d.ts +291 -0
- package/types/ngwr-pagination.d.ts +1 -0
- package/types/ngwr-popconfirm-testing.d.ts +235 -0
- package/types/ngwr-popconfirm.d.ts +31 -21
- package/types/ngwr-popover-testing.d.ts +221 -0
- package/types/ngwr-popover.d.ts +9 -0
- package/types/ngwr-pull-to-refresh.d.ts +7 -0
- package/types/ngwr-qr.d.ts +9 -1
- package/types/ngwr-radio-testing.d.ts +296 -0
- package/types/ngwr-radio.d.ts +8 -2
- package/types/ngwr-rating-testing.d.ts +291 -0
- package/types/ngwr-rating.d.ts +23 -0
- package/types/ngwr-segmented-testing.d.ts +401 -0
- package/types/ngwr-select-testing.d.ts +175 -0
- package/types/ngwr-select.d.ts +45 -4
- package/types/ngwr-sidebar.d.ts +17 -2
- package/types/ngwr-slider-testing.d.ts +329 -0
- package/types/ngwr-slider.d.ts +35 -1
- package/types/ngwr-sparkline.d.ts +12 -2
- package/types/ngwr-speed-dial.d.ts +17 -18
- package/types/ngwr-spinner.d.ts +8 -1
- package/types/ngwr-splitter.d.ts +24 -1
- package/types/ngwr-statistic.d.ts +12 -2
- package/types/ngwr-stepper-testing.d.ts +346 -0
- package/types/ngwr-switch-testing.d.ts +66 -0
- package/types/ngwr-switch.d.ts +7 -2
- package/types/ngwr-table-testing.d.ts +423 -0
- package/types/ngwr-table.d.ts +42 -0
- package/types/ngwr-tabs-testing.d.ts +470 -0
- package/types/ngwr-tabs.d.ts +9 -0
- package/types/ngwr-textarea-testing.d.ts +184 -0
- package/types/ngwr-textarea.d.ts +7 -2
- package/types/ngwr-toast-testing.d.ts +80 -0
- package/types/ngwr-tour.d.ts +27 -0
- package/types/ngwr-transfer-testing.d.ts +444 -0
- package/types/ngwr-transfer.d.ts +16 -1
- package/types/ngwr-tree-testing.d.ts +501 -0
- package/types/ngwr-tree.d.ts +33 -0
- package/types/ngwr-version.d.ts +1 -1
- package/types/ngwr-virtual-scroll.d.ts +13 -1
- package/typewriter/styles/_index.scss +1 -1
- package/typography/styles/_index.scss +1 -1
- package/window/styles/_index.scss +32 -9
|
@@ -0,0 +1,84 @@
|
|
|
1
|
+
import { BaseHarnessFilters, ComponentHarness, HarnessPredicate } from '@angular/cdk/testing';
|
|
2
|
+
|
|
3
|
+
/**
|
|
4
|
+
* @license
|
|
5
|
+
*
|
|
6
|
+
* Use of this source code is governed by an MIT-style license that can be
|
|
7
|
+
* found in the LICENSE file at https://github.com/thekhegay/ngwr/blob/main/LICENSE
|
|
8
|
+
*/
|
|
9
|
+
|
|
10
|
+
/** Narrows which `[wrInput]` a harness query matches. */
|
|
11
|
+
interface WrInputHarnessFilters extends BaseHarnessFilters {
|
|
12
|
+
/** Match the current value — a string is an exact match, a RegExp is tested. */
|
|
13
|
+
readonly value?: string | RegExp;
|
|
14
|
+
/** Match the placeholder — a string is an exact match, a RegExp is tested. */
|
|
15
|
+
readonly placeholder?: string | RegExp;
|
|
16
|
+
/** Match only enabled (`false`) or only disabled (`true`) fields. */
|
|
17
|
+
readonly disabled?: boolean;
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
/**
|
|
21
|
+
* @license
|
|
22
|
+
*
|
|
23
|
+
* Use of this source code is governed by an MIT-style license that can be
|
|
24
|
+
* found in the LICENSE file at https://github.com/thekhegay/ngwr/blob/main/LICENSE
|
|
25
|
+
*/
|
|
26
|
+
|
|
27
|
+
/**
|
|
28
|
+
* Test harness for `[wrInput]` — the directive form, on a real `<input>` or
|
|
29
|
+
* `<textarea>`.
|
|
30
|
+
*
|
|
31
|
+
* There is no `<wr-input>` component to wrap: ngwr styles the native control in
|
|
32
|
+
* place, which is why the value, the placeholder and the disabled state are all
|
|
33
|
+
* read straight off the host. {@link setValue} dispatches `input` AND `change`,
|
|
34
|
+
* because a signal-forms control listens to the first and classic `[(ngModel)]`
|
|
35
|
+
* setups to the second — typing into only one of them makes a harness that works
|
|
36
|
+
* in some consumers' specs and not others.
|
|
37
|
+
*
|
|
38
|
+
* @example
|
|
39
|
+
* ```ts
|
|
40
|
+
* const email = await loader.getHarness(WrInputHarness.with({ placeholder: 'Email' }));
|
|
41
|
+
* await email.setValue('ada@example.test');
|
|
42
|
+
* expect(await email.getValue()).toBe('ada@example.test');
|
|
43
|
+
* ```
|
|
44
|
+
*
|
|
45
|
+
* @see https://ngwr.dev/guides/testing
|
|
46
|
+
*/
|
|
47
|
+
declare class WrInputHarness extends ComponentHarness {
|
|
48
|
+
static hostSelector: string;
|
|
49
|
+
/** Build a predicate that narrows the query — pass to `getHarness` / `getAllHarnesses`. */
|
|
50
|
+
static with(options?: WrInputHarnessFilters): HarnessPredicate<WrInputHarness>;
|
|
51
|
+
getValue(): Promise<string>;
|
|
52
|
+
/**
|
|
53
|
+
* Type a value in, the way a user would as far as the framework can tell.
|
|
54
|
+
*
|
|
55
|
+
* `input` is the one that carries the value — a signal-forms control listens to
|
|
56
|
+
* it, and so does Angular's `DefaultValueAccessor`, which is what `[(ngModel)]`
|
|
57
|
+
* and a reactive form bind through (its listeners are `input`, `blur` and the
|
|
58
|
+
* two composition events; `change` is NOT among them). `change` is dispatched
|
|
59
|
+
* after it for the consumer's own `(change)` handler: a browser defers that
|
|
60
|
+
* event to the commit — blur, or Enter — which a harness write never reaches, so
|
|
61
|
+
* a spec binding it would otherwise never see it fire.
|
|
62
|
+
*/
|
|
63
|
+
setValue(value: string): Promise<void>;
|
|
64
|
+
/** Clear the field, dispatching the same pair of events as {@link setValue}. */
|
|
65
|
+
clear(): Promise<void>;
|
|
66
|
+
getPlaceholder(): Promise<string>;
|
|
67
|
+
isDisabled(): Promise<boolean>;
|
|
68
|
+
isReadonly(): Promise<boolean>;
|
|
69
|
+
/** `input` or `textarea` — the directive styles both. */
|
|
70
|
+
getTagName(): Promise<string>;
|
|
71
|
+
/**
|
|
72
|
+
* Whether the field is marked invalid.
|
|
73
|
+
*
|
|
74
|
+
* `<wr-form-field>` sets `aria-invalid` when it has an error to describe, so
|
|
75
|
+
* this answers what a screen reader is told rather than what the model thinks.
|
|
76
|
+
*/
|
|
77
|
+
isInvalid(): Promise<boolean>;
|
|
78
|
+
focus(): Promise<void>;
|
|
79
|
+
blur(): Promise<void>;
|
|
80
|
+
isFocused(): Promise<boolean>;
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
export { WrInputHarness };
|
|
84
|
+
export type { WrInputHarnessFilters };
|
package/types/ngwr-input.d.ts
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import * as _angular_core from '@angular/core';
|
|
2
|
+
import { BooleanInput } from '@angular/cdk/coercion';
|
|
2
3
|
|
|
3
4
|
/**
|
|
4
5
|
* @license
|
|
@@ -56,6 +57,7 @@ declare class WrInput {
|
|
|
56
57
|
* referenced an id that existed nowhere and the input had no label at all.
|
|
57
58
|
*/
|
|
58
59
|
protected readonly resolvedId: _angular_core.Signal<string | null>;
|
|
60
|
+
constructor();
|
|
59
61
|
/**
|
|
60
62
|
* Announced state, taken from the surrounding `<wr-form-field>`.
|
|
61
63
|
*
|
|
@@ -68,11 +70,18 @@ declare class WrInput {
|
|
|
68
70
|
protected readonly describedBy: _angular_core.Signal<string | null>;
|
|
69
71
|
/**
|
|
70
72
|
* Control size. Named `wrSize` (not `size`) so it never clashes with the
|
|
71
|
-
* native `<input size>` attribute.
|
|
73
|
+
* native `<input size>` attribute. Unset, it falls back to
|
|
74
|
+
* `provideWrConfig({ input: { size } })`. @default 'md'
|
|
72
75
|
*/
|
|
73
|
-
readonly wrSize: _angular_core.InputSignal<WrInputSize>;
|
|
74
|
-
/**
|
|
75
|
-
|
|
76
|
+
readonly wrSize: _angular_core.InputSignal<WrInputSize | null>;
|
|
77
|
+
/**
|
|
78
|
+
* Pill-shaped corners. Unset, it falls back to
|
|
79
|
+
* `provideWrConfig({ input: { rounded } })`; `[rounded]="false"` turns a
|
|
80
|
+
* configured `true` back off. @default false
|
|
81
|
+
*/
|
|
82
|
+
readonly rounded: _angular_core.InputSignalWithTransform<boolean | null, BooleanInput>;
|
|
83
|
+
protected readonly resolvedSize: _angular_core.Signal<"sm" | "md" | "lg">;
|
|
84
|
+
protected readonly resolvedRounded: _angular_core.Signal<boolean>;
|
|
76
85
|
protected readonly classes: _angular_core.Signal<string>;
|
|
77
86
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<WrInput, never>;
|
|
78
87
|
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<WrInput, "input[wrInput], textarea[wrInput]", never, { "wrSize": { "alias": "wrSize"; "required": false; "isSignal": true; }; "rounded": { "alias": "rounded"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
@@ -135,8 +144,13 @@ declare class WrInputSuffix {
|
|
|
135
144
|
* @see https://ngwr.dev/reference/components/input
|
|
136
145
|
*/
|
|
137
146
|
declare class WrInputGroup {
|
|
138
|
-
/**
|
|
139
|
-
|
|
147
|
+
/**
|
|
148
|
+
* Pill-shaped corners. Unset, it falls back to
|
|
149
|
+
* `provideWrConfig({ input: { rounded } })` — the same key the inner `[wrInput]`
|
|
150
|
+
* reads. @default false
|
|
151
|
+
*/
|
|
152
|
+
readonly rounded: _angular_core.InputSignalWithTransform<boolean | null, BooleanInput>;
|
|
153
|
+
protected readonly resolvedRounded: _angular_core.Signal<boolean>;
|
|
140
154
|
protected readonly classes: _angular_core.Signal<string>;
|
|
141
155
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<WrInputGroup, never>;
|
|
142
156
|
static ɵcmp: _angular_core.ɵɵComponentDeclaration<WrInputGroup, "wr-input-group", never, { "rounded": { "alias": "rounded"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, never>;
|
package/types/ngwr-knob.d.ts
CHANGED
|
@@ -74,7 +74,25 @@ declare class WrKnob implements FormValueControl<number> {
|
|
|
74
74
|
protected onPointerDown(event: PointerEvent): void;
|
|
75
75
|
protected onPointerMove(event: PointerEvent): void;
|
|
76
76
|
protected onPointerUp(event: PointerEvent): void;
|
|
77
|
+
/**
|
|
78
|
+
* A bound field learns it may show its validation copy from `touch`, and
|
|
79
|
+
* pointer-up cannot be the only source: a knob reached by Tab and moved with
|
|
80
|
+
* the arrows would leave the field untouched forever. `wr-rating`, whose
|
|
81
|
+
* template this one otherwise mirrors, emits on blur for exactly this reason.
|
|
82
|
+
*/
|
|
83
|
+
protected onBlur(): void;
|
|
77
84
|
protected onKeydown(event: KeyboardEvent): void;
|
|
85
|
+
/**
|
|
86
|
+
* Nearest step, measured FROM `min`. A grid anchored at zero offers values the
|
|
87
|
+
* arrows can never reach whenever `min` is not a multiple of `step` — with
|
|
88
|
+
* `min: 5, step: 10` the middle of the arc used to commit 60, off a grid whose
|
|
89
|
+
* points are 5, 15, … 55, 65. Rounded at six decimals because a tenth is not a
|
|
90
|
+
* binary fraction: three arrow presses at `step: 0.1` otherwise announce
|
|
91
|
+
* `aria-valuenow="0.30000000000000004"` and print it in the dial. Same shape as
|
|
92
|
+
* `wr-slider`'s `snap`, deliberately — including Home / End, so a range that is
|
|
93
|
+
* not a whole number of steps stops at the last reachable value.
|
|
94
|
+
*/
|
|
95
|
+
private snap;
|
|
78
96
|
private updateFromPointer;
|
|
79
97
|
private commit;
|
|
80
98
|
private arcPath;
|
package/types/ngwr-layout.d.ts
CHANGED
|
@@ -25,6 +25,7 @@ declare class WrLayoutSider {
|
|
|
25
25
|
readonly reverse: i0.InputSignalWithTransform<boolean, any>;
|
|
26
26
|
/** Emits whenever `collapsed` changes (in addition to the two-way `[(collapsed)]`). */
|
|
27
27
|
readonly collapsedChanged: i0.OutputEmitterRef<boolean>;
|
|
28
|
+
constructor();
|
|
28
29
|
protected readonly classes: i0.Signal<string>;
|
|
29
30
|
/** Imperative toggle helper — `[(collapsed)]` still works alongside this. */
|
|
30
31
|
toggle(): void;
|
package/types/ngwr-lightbox.d.ts
CHANGED
|
@@ -20,14 +20,22 @@ import { TemplateRef } from '@angular/core';
|
|
|
20
20
|
*/
|
|
21
21
|
declare class WrLightbox {
|
|
22
22
|
/** Accessible name. Falls back to `image.close`, then `'Close preview'`. */
|
|
23
|
+
/** Accessible name of the thumbnail button. Falls back to `alt`, then `image.open`. */
|
|
24
|
+
readonly openLabel: _angular_core.InputSignal<string | null>;
|
|
23
25
|
readonly closeLabel: _angular_core.InputSignal<string | null>;
|
|
24
26
|
protected readonly resolvedCloseLabel: _angular_core.Signal<string>;
|
|
25
27
|
/** Image source. */
|
|
26
28
|
readonly src: _angular_core.InputSignal<string>;
|
|
27
29
|
/** Alt text. Required for a11y; falls back to an empty string. @default '' */
|
|
28
30
|
readonly alt: _angular_core.InputSignal<string>;
|
|
29
|
-
/**
|
|
31
|
+
/**
|
|
32
|
+
* Lighter source for the THUMBNAIL — a small or blurred copy, so the grid does not
|
|
33
|
+
* pull full-size images. The viewer always shows `src`; the thumbnail does not swap
|
|
34
|
+
* to it later.
|
|
35
|
+
*/
|
|
30
36
|
readonly preview: _angular_core.InputSignal<string | null>;
|
|
37
|
+
protected readonly resolvedOpenLabel: _angular_core.Signal<string>;
|
|
38
|
+
protected readonly resolvedViewerLabel: _angular_core.Signal<string>;
|
|
31
39
|
/** Disable the click-to-zoom lightbox. @default false */
|
|
32
40
|
readonly disablePreview: _angular_core.InputSignalWithTransform<boolean, any>;
|
|
33
41
|
/** Caption shown under the full image in the lightbox. */
|
|
@@ -59,11 +67,17 @@ declare class WrLightbox {
|
|
|
59
67
|
protected onViewerSwipeStart(event: TouchEvent): void;
|
|
60
68
|
protected onViewerSwipeMove(event: TouchEvent, viewer: HTMLElement): void;
|
|
61
69
|
protected onViewerSwipeEnd(event: TouchEvent, viewer: HTMLElement): void;
|
|
62
|
-
|
|
70
|
+
/**
|
|
71
|
+
* The thumbnail has settled, one way or the other. A failure counts: `--loading`
|
|
72
|
+
* animates a shimmer AND sets `opacity: 0` on the image, so a broken `src` with no
|
|
73
|
+
* error path left an invisible box shimmering for ever instead of showing its alt
|
|
74
|
+
* text.
|
|
75
|
+
*/
|
|
76
|
+
protected onSettled(): void;
|
|
63
77
|
private openOverlay;
|
|
64
78
|
private closeOverlay;
|
|
65
79
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<WrLightbox, never>;
|
|
66
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<WrLightbox, "wr-lightbox", never, { "closeLabel": { "alias": "closeLabel"; "required": false; "isSignal": true; }; "src": { "alias": "src"; "required": true; "isSignal": true; }; "alt": { "alias": "alt"; "required": false; "isSignal": true; }; "preview": { "alias": "preview"; "required": false; "isSignal": true; }; "disablePreview": { "alias": "disablePreview"; "required": false; "isSignal": true; }; "caption": { "alias": "caption"; "required": false; "isSignal": true; }; "aspectRatio": { "alias": "aspectRatio"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
80
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<WrLightbox, "wr-lightbox", never, { "openLabel": { "alias": "openLabel"; "required": false; "isSignal": true; }; "closeLabel": { "alias": "closeLabel"; "required": false; "isSignal": true; }; "src": { "alias": "src"; "required": true; "isSignal": true; }; "alt": { "alias": "alt"; "required": false; "isSignal": true; }; "preview": { "alias": "preview"; "required": false; "isSignal": true; }; "disablePreview": { "alias": "disablePreview"; "required": false; "isSignal": true; }; "caption": { "alias": "caption"; "required": false; "isSignal": true; }; "aspectRatio": { "alias": "aspectRatio"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
67
81
|
}
|
|
68
82
|
|
|
69
83
|
export { WrLightbox };
|
|
@@ -25,6 +25,13 @@ interface WrLineSeries {
|
|
|
25
25
|
*/
|
|
26
26
|
declare class WrLineChart {
|
|
27
27
|
readonly series: _angular_core.InputSignal<readonly WrLineSeries[]>;
|
|
28
|
+
/**
|
|
29
|
+
* Accessible name of the chart. The legend carries the series NAMES only — the numbers
|
|
30
|
+
* are nowhere in text — so without this the plot is nothing at all to a screen reader.
|
|
31
|
+
* Falls back to `lineChart.label`.
|
|
32
|
+
*/
|
|
33
|
+
readonly ariaLabel: _angular_core.InputSignal<string | null>;
|
|
34
|
+
protected readonly resolvedAriaLabel: _angular_core.Signal<string>;
|
|
28
35
|
/** Labels for the X axis (one per data point). */
|
|
29
36
|
readonly xLabels: _angular_core.InputSignal<readonly string[]>;
|
|
30
37
|
/** Chart pixel height. @default 240 */
|
|
@@ -48,7 +55,7 @@ declare class WrLineChart {
|
|
|
48
55
|
protected readonly hoveredIndex: _angular_core.WritableSignal<number | null>;
|
|
49
56
|
protected readonly resolvedSeries: _angular_core.Signal<{
|
|
50
57
|
label: string;
|
|
51
|
-
data:
|
|
58
|
+
data: number[];
|
|
52
59
|
color: string;
|
|
53
60
|
}[]>;
|
|
54
61
|
protected readonly bounds: _angular_core.Signal<{
|
|
@@ -83,7 +90,7 @@ declare class WrLineChart {
|
|
|
83
90
|
protected readonly viewBox: _angular_core.Signal<string>;
|
|
84
91
|
protected readonly hostEl: HTMLElement;
|
|
85
92
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<WrLineChart, never>;
|
|
86
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<WrLineChart, "wr-line-chart", never, { "series": { "alias": "series"; "required": false; "isSignal": true; }; "xLabels": { "alias": "xLabels"; "required": false; "isSignal": true; }; "height": { "alias": "height"; "required": false; "isSignal": true; }; "showGrid": { "alias": "showGrid"; "required": false; "isSignal": true; }; "showLegend": { "alias": "showLegend"; "required": false; "isSignal": true; }; "showDots": { "alias": "showDots"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
93
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<WrLineChart, "wr-line-chart", never, { "series": { "alias": "series"; "required": false; "isSignal": true; }; "ariaLabel": { "alias": "ariaLabel"; "required": false; "isSignal": true; }; "xLabels": { "alias": "xLabels"; "required": false; "isSignal": true; }; "height": { "alias": "height"; "required": false; "isSignal": true; }; "showGrid": { "alias": "showGrid"; "required": false; "isSignal": true; }; "showLegend": { "alias": "showLegend"; "required": false; "isSignal": true; }; "showDots": { "alias": "showDots"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
87
94
|
}
|
|
88
95
|
|
|
89
96
|
export { WrLineChart };
|