ngwr 15.9.0 → 16.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/animations/aurora/styles/_index.scss +1 -1
- package/animations/blur-reveal/styles/_index.scss +1 -1
- package/animations/decode/styles/_index.scss +1 -1
- package/animations/dot-grid/styles/_index.scss +1 -1
- package/animations/flow-lines/styles/_index.scss +1 -1
- package/animations/fluid-cursor/styles/_index.scss +1 -1
- package/animations/{core → internal}/styles/_mixins.scss +1 -1
- package/animations/reveal/styles/_index.scss +1 -1
- package/animations/ripple-grid/styles/_index.scss +1 -1
- package/animations/rotate-reveal/styles/_index.scss +1 -1
- package/animations/thread-lines/styles/_index.scss +1 -1
- package/animations/typewriter/styles/_index.scss +1 -1
- package/badge/styles/_tag.scss +8 -4
- package/button/styles/_index.scss +13 -7
- package/cascader/styles/_rules.scss +4 -2
- package/checkbox/styles/_index.scss +4 -2
- package/copy-value/styles/_index.scss +104 -0
- package/date-picker/styles/_index.scss +121 -0
- package/date-stamp/styles/_index.scss +38 -0
- package/dialog/styles/_index.scss +38 -0
- package/fesm2022/{ngwr-animations-core.mjs → internal-BaQU4t_0.mjs} +6 -49
- package/fesm2022/internal-BaQU4t_0.mjs.map +1 -0
- package/fesm2022/internal-CVLvP9b_.mjs +33 -0
- package/fesm2022/internal-CVLvP9b_.mjs.map +1 -0
- package/fesm2022/ngwr-alert.mjs +13 -9
- package/fesm2022/ngwr-alert.mjs.map +1 -1
- package/fesm2022/ngwr-animations-aurora.mjs +21 -21
- package/fesm2022/ngwr-animations-aurora.mjs.map +1 -1
- package/fesm2022/ngwr-animations-blur-reveal.mjs +3 -3
- package/fesm2022/ngwr-animations-blur-reveal.mjs.map +1 -1
- package/fesm2022/ngwr-animations-click-sparks.mjs +2 -2
- package/fesm2022/ngwr-animations-click-sparks.mjs.map +1 -1
- package/fesm2022/ngwr-animations-confetti.mjs +5 -5
- package/fesm2022/ngwr-animations-confetti.mjs.map +1 -1
- package/fesm2022/ngwr-animations-decode.mjs +4 -4
- package/fesm2022/ngwr-animations-decode.mjs.map +1 -1
- package/fesm2022/ngwr-animations-destruct.mjs +5 -5
- package/fesm2022/ngwr-animations-destruct.mjs.map +1 -1
- package/fesm2022/ngwr-animations-dot-grid.mjs +7 -7
- package/fesm2022/ngwr-animations-dot-grid.mjs.map +1 -1
- package/fesm2022/ngwr-animations-falling-letters.mjs +3 -3
- package/fesm2022/ngwr-animations-falling-letters.mjs.map +1 -1
- package/fesm2022/ngwr-animations-flow-lines.mjs +17 -17
- package/fesm2022/ngwr-animations-flow-lines.mjs.map +1 -1
- package/fesm2022/ngwr-animations-fluid-cursor.mjs +12 -12
- package/fesm2022/ngwr-animations-fluid-cursor.mjs.map +1 -1
- package/fesm2022/ngwr-animations-glitch.mjs +2 -2
- package/fesm2022/ngwr-animations-glitch.mjs.map +1 -1
- package/fesm2022/ngwr-animations-marquee.mjs +2 -2
- package/fesm2022/ngwr-animations-marquee.mjs.map +1 -1
- package/fesm2022/ngwr-animations-orbit.mjs +7 -7
- package/fesm2022/ngwr-animations-orbit.mjs.map +1 -1
- package/fesm2022/ngwr-animations-reveal.mjs +4 -4
- package/fesm2022/ngwr-animations-reveal.mjs.map +1 -1
- package/fesm2022/ngwr-animations-ripple-grid.mjs +5 -5
- package/fesm2022/ngwr-animations-ripple-grid.mjs.map +1 -1
- package/fesm2022/ngwr-animations-rotate-reveal.mjs +4 -4
- package/fesm2022/ngwr-animations-rotate-reveal.mjs.map +1 -1
- package/fesm2022/ngwr-animations-shimmer.mjs +2 -2
- package/fesm2022/ngwr-animations-shimmer.mjs.map +1 -1
- package/fesm2022/ngwr-animations-spotlight.mjs +1 -1
- package/fesm2022/ngwr-animations-spotlight.mjs.map +1 -1
- package/fesm2022/ngwr-animations-thread-lines.mjs +16 -16
- package/fesm2022/ngwr-animations-thread-lines.mjs.map +1 -1
- package/fesm2022/ngwr-animations-tilt.mjs +3 -3
- package/fesm2022/ngwr-animations-tilt.mjs.map +1 -1
- package/fesm2022/ngwr-animations-typewriter.mjs +4 -4
- package/fesm2022/ngwr-animations-typewriter.mjs.map +1 -1
- package/fesm2022/ngwr-avatar.mjs +14 -10
- package/fesm2022/ngwr-avatar.mjs.map +1 -1
- package/fesm2022/ngwr-back-top.mjs +10 -6
- package/fesm2022/ngwr-back-top.mjs.map +1 -1
- package/fesm2022/ngwr-badge.mjs +18 -6
- package/fesm2022/ngwr-badge.mjs.map +1 -1
- package/fesm2022/ngwr-burger.mjs +9 -6
- package/fesm2022/ngwr-burger.mjs.map +1 -1
- package/fesm2022/ngwr-button.mjs +8 -4
- package/fesm2022/ngwr-button.mjs.map +1 -1
- package/fesm2022/ngwr-calendar.mjs +19 -8
- package/fesm2022/ngwr-calendar.mjs.map +1 -1
- package/fesm2022/ngwr-card.mjs +9 -5
- package/fesm2022/ngwr-card.mjs.map +1 -1
- package/fesm2022/ngwr-cascader.mjs +54 -25
- package/fesm2022/ngwr-cascader.mjs.map +1 -1
- package/fesm2022/ngwr-charts-bar-chart.mjs +13 -13
- package/fesm2022/ngwr-charts-bar-chart.mjs.map +1 -1
- package/fesm2022/ngwr-charts-boxplot-chart.mjs +9 -9
- package/fesm2022/ngwr-charts-boxplot-chart.mjs.map +1 -1
- package/fesm2022/ngwr-charts-bullet-chart.mjs +8 -8
- package/fesm2022/ngwr-charts-bullet-chart.mjs.map +1 -1
- package/fesm2022/ngwr-charts-calendar-heatmap.mjs +5 -2
- package/fesm2022/ngwr-charts-calendar-heatmap.mjs.map +1 -1
- package/fesm2022/ngwr-charts-candlestick-chart.mjs +11 -11
- package/fesm2022/ngwr-charts-candlestick-chart.mjs.map +1 -1
- package/fesm2022/ngwr-charts-chart-legend.mjs +2 -2
- package/fesm2022/ngwr-charts-chart-legend.mjs.map +1 -1
- package/fesm2022/ngwr-charts-core.mjs +20 -20
- package/fesm2022/ngwr-charts-core.mjs.map +1 -1
- package/fesm2022/ngwr-charts-donut-chart.mjs +2 -2
- package/fesm2022/ngwr-charts-donut-chart.mjs.map +1 -1
- package/fesm2022/ngwr-charts-funnel-chart.mjs +6 -6
- package/fesm2022/ngwr-charts-funnel-chart.mjs.map +1 -1
- package/fesm2022/ngwr-charts-gauge.mjs +3 -3
- package/fesm2022/ngwr-charts-gauge.mjs.map +1 -1
- package/fesm2022/ngwr-charts-heatmap-chart.mjs +3 -3
- package/fesm2022/ngwr-charts-heatmap-chart.mjs.map +1 -1
- package/fesm2022/ngwr-charts-line-chart.mjs +10 -10
- package/fesm2022/ngwr-charts-line-chart.mjs.map +1 -1
- package/fesm2022/ngwr-charts-meter-group.mjs +2 -2
- package/fesm2022/ngwr-charts-meter-group.mjs.map +1 -1
- package/fesm2022/ngwr-charts-radar-chart.mjs +11 -11
- package/fesm2022/ngwr-charts-radar-chart.mjs.map +1 -1
- package/fesm2022/ngwr-charts-scatter-chart.mjs +10 -10
- package/fesm2022/ngwr-charts-scatter-chart.mjs.map +1 -1
- package/fesm2022/ngwr-charts-treemap-chart.mjs +4 -4
- package/fesm2022/ngwr-charts-treemap-chart.mjs.map +1 -1
- package/fesm2022/ngwr-charts-waterfall-chart.mjs +7 -7
- package/fesm2022/ngwr-charts-waterfall-chart.mjs.map +1 -1
- package/fesm2022/ngwr-checkbox.mjs +12 -8
- package/fesm2022/ngwr-checkbox.mjs.map +1 -1
- package/fesm2022/ngwr-clipboard.mjs +2 -1
- package/fesm2022/ngwr-clipboard.mjs.map +1 -1
- package/fesm2022/ngwr-collapse.mjs +11 -7
- package/fesm2022/ngwr-collapse.mjs.map +1 -1
- package/fesm2022/ngwr-color-picker.mjs +56 -54
- package/fesm2022/ngwr-color-picker.mjs.map +1 -1
- package/fesm2022/ngwr-command-palette.mjs +4 -4
- package/fesm2022/ngwr-command-palette.mjs.map +1 -1
- package/fesm2022/ngwr-comment.mjs +15 -9
- package/fesm2022/ngwr-comment.mjs.map +1 -1
- package/fesm2022/ngwr-compare.mjs +15 -9
- package/fesm2022/ngwr-compare.mjs.map +1 -1
- package/fesm2022/ngwr-context-menu.mjs +8 -6
- package/fesm2022/ngwr-context-menu.mjs.map +1 -1
- package/fesm2022/ngwr-copy-value-testing.mjs +58 -0
- package/fesm2022/ngwr-copy-value-testing.mjs.map +1 -0
- package/fesm2022/ngwr-copy-value.mjs +201 -0
- package/fesm2022/ngwr-copy-value.mjs.map +1 -0
- package/fesm2022/ngwr-counter.mjs +3 -3
- package/fesm2022/ngwr-counter.mjs.map +1 -1
- package/fesm2022/ngwr-date-picker-testing.mjs.map +1 -1
- package/fesm2022/ngwr-date-picker.mjs +303 -70
- package/fesm2022/ngwr-date-picker.mjs.map +1 -1
- package/fesm2022/ngwr-date-stamp-testing.mjs +34 -0
- package/fesm2022/ngwr-date-stamp-testing.mjs.map +1 -0
- package/fesm2022/ngwr-date-stamp.mjs +149 -0
- package/fesm2022/ngwr-date-stamp.mjs.map +1 -0
- package/fesm2022/ngwr-date.mjs +304 -53
- package/fesm2022/ngwr-date.mjs.map +1 -1
- package/fesm2022/ngwr-descriptions.mjs +9 -5
- package/fesm2022/ngwr-descriptions.mjs.map +1 -1
- package/fesm2022/ngwr-dialog-testing.mjs +23 -2
- package/fesm2022/ngwr-dialog-testing.mjs.map +1 -1
- package/fesm2022/ngwr-dialog.mjs +77 -19
- package/fesm2022/ngwr-dialog.mjs.map +1 -1
- package/fesm2022/ngwr-directives.mjs +218 -12
- package/fesm2022/ngwr-directives.mjs.map +1 -1
- package/fesm2022/ngwr-divider.mjs +4 -2
- package/fesm2022/ngwr-divider.mjs.map +1 -1
- package/fesm2022/ngwr-drawer.mjs +32 -6
- package/fesm2022/ngwr-drawer.mjs.map +1 -1
- package/fesm2022/ngwr-dropdown.mjs +17 -14
- package/fesm2022/ngwr-dropdown.mjs.map +1 -1
- package/fesm2022/ngwr-editor.mjs +33 -30
- package/fesm2022/ngwr-editor.mjs.map +1 -1
- package/fesm2022/ngwr-event-calendar.mjs +9 -7
- package/fesm2022/ngwr-event-calendar.mjs.map +1 -1
- package/fesm2022/ngwr-file-upload.mjs +17 -11
- package/fesm2022/ngwr-file-upload.mjs.map +1 -1
- package/fesm2022/ngwr-form.mjs +18 -6
- package/fesm2022/ngwr-form.mjs.map +1 -1
- package/fesm2022/ngwr-graph.mjs +3 -3
- package/fesm2022/ngwr-graph.mjs.map +1 -1
- package/fesm2022/ngwr-hotkey.mjs +22 -22
- package/fesm2022/ngwr-hotkey.mjs.map +1 -1
- package/fesm2022/ngwr-i18n-ar.mjs +7 -0
- package/fesm2022/ngwr-i18n-ar.mjs.map +1 -1
- package/fesm2022/ngwr-i18n-cs.mjs +7 -0
- package/fesm2022/ngwr-i18n-cs.mjs.map +1 -1
- package/fesm2022/ngwr-i18n-de.mjs +7 -0
- package/fesm2022/ngwr-i18n-de.mjs.map +1 -1
- package/fesm2022/ngwr-i18n-en.mjs +7 -0
- package/fesm2022/ngwr-i18n-en.mjs.map +1 -1
- package/fesm2022/ngwr-i18n-es.mjs +7 -0
- package/fesm2022/ngwr-i18n-es.mjs.map +1 -1
- package/fesm2022/ngwr-i18n-fr.mjs +7 -0
- package/fesm2022/ngwr-i18n-fr.mjs.map +1 -1
- package/fesm2022/ngwr-i18n-he.mjs +7 -0
- package/fesm2022/ngwr-i18n-he.mjs.map +1 -1
- package/fesm2022/ngwr-i18n-hi.mjs +7 -0
- package/fesm2022/ngwr-i18n-hi.mjs.map +1 -1
- package/fesm2022/ngwr-i18n-id.mjs +7 -0
- package/fesm2022/ngwr-i18n-id.mjs.map +1 -1
- package/fesm2022/ngwr-i18n-it.mjs +7 -0
- package/fesm2022/ngwr-i18n-it.mjs.map +1 -1
- package/fesm2022/ngwr-i18n-ja.mjs +7 -0
- package/fesm2022/ngwr-i18n-ja.mjs.map +1 -1
- package/fesm2022/ngwr-i18n-ko.mjs +7 -0
- package/fesm2022/ngwr-i18n-ko.mjs.map +1 -1
- package/fesm2022/ngwr-i18n-nl.mjs +7 -0
- package/fesm2022/ngwr-i18n-nl.mjs.map +1 -1
- package/fesm2022/ngwr-i18n-pl.mjs +7 -0
- package/fesm2022/ngwr-i18n-pl.mjs.map +1 -1
- package/fesm2022/ngwr-i18n-pt.mjs +7 -0
- package/fesm2022/ngwr-i18n-pt.mjs.map +1 -1
- package/fesm2022/ngwr-i18n-ru.mjs +7 -0
- package/fesm2022/ngwr-i18n-ru.mjs.map +1 -1
- package/fesm2022/ngwr-i18n-sv.mjs +7 -0
- package/fesm2022/ngwr-i18n-sv.mjs.map +1 -1
- package/fesm2022/ngwr-i18n-tr.mjs +7 -0
- package/fesm2022/ngwr-i18n-tr.mjs.map +1 -1
- package/fesm2022/ngwr-i18n-uk.mjs +7 -0
- package/fesm2022/ngwr-i18n-uk.mjs.map +1 -1
- package/fesm2022/ngwr-i18n-vi.mjs +7 -0
- package/fesm2022/ngwr-i18n-vi.mjs.map +1 -1
- package/fesm2022/ngwr-i18n-zh-tw.mjs +7 -0
- package/fesm2022/ngwr-i18n-zh-tw.mjs.map +1 -1
- package/fesm2022/ngwr-i18n-zh.mjs +7 -0
- package/fesm2022/ngwr-i18n-zh.mjs.map +1 -1
- package/fesm2022/ngwr-i18n.mjs +36 -10
- package/fesm2022/ngwr-i18n.mjs.map +1 -1
- package/fesm2022/ngwr-icon.mjs +5 -5
- package/fesm2022/ngwr-icon.mjs.map +1 -1
- package/fesm2022/ngwr-image-cropper.mjs +11 -11
- package/fesm2022/ngwr-image-cropper.mjs.map +1 -1
- package/fesm2022/ngwr-input-number.mjs +13 -7
- package/fesm2022/ngwr-input-number.mjs.map +1 -1
- package/fesm2022/ngwr-input-otp.mjs +6 -4
- package/fesm2022/ngwr-input-otp.mjs.map +1 -1
- package/fesm2022/ngwr-input.mjs +35 -25
- package/fesm2022/ngwr-input.mjs.map +1 -1
- package/fesm2022/ngwr-keyboard.mjs +37 -31
- package/fesm2022/ngwr-keyboard.mjs.map +1 -1
- package/fesm2022/ngwr-knob.mjs +13 -7
- package/fesm2022/ngwr-knob.mjs.map +1 -1
- package/fesm2022/ngwr-layout.mjs +13 -5
- package/fesm2022/ngwr-layout.mjs.map +1 -1
- package/fesm2022/ngwr-lightbox.mjs +11 -7
- package/fesm2022/ngwr-lightbox.mjs.map +1 -1
- package/fesm2022/ngwr-list.mjs +13 -5
- package/fesm2022/ngwr-list.mjs.map +1 -1
- package/fesm2022/ngwr-load-state.mjs +11 -7
- package/fesm2022/ngwr-load-state.mjs.map +1 -1
- package/fesm2022/ngwr-mention.mjs +6 -6
- package/fesm2022/ngwr-mention.mjs.map +1 -1
- package/fesm2022/ngwr-meta.mjs +19 -3
- package/fesm2022/ngwr-meta.mjs.map +1 -1
- package/fesm2022/ngwr-overlay.mjs +87 -4
- package/fesm2022/ngwr-overlay.mjs.map +1 -1
- package/fesm2022/ngwr-pagination.mjs +10 -7
- package/fesm2022/ngwr-pagination.mjs.map +1 -1
- package/fesm2022/ngwr-pipes.mjs +22 -8
- package/fesm2022/ngwr-pipes.mjs.map +1 -1
- package/fesm2022/ngwr-platform.mjs +4 -1
- package/fesm2022/ngwr-platform.mjs.map +1 -1
- package/fesm2022/ngwr-popconfirm.mjs +6 -5
- package/fesm2022/ngwr-popconfirm.mjs.map +1 -1
- package/fesm2022/ngwr-popover.mjs +124 -34
- package/fesm2022/ngwr-popover.mjs.map +1 -1
- package/fesm2022/ngwr-progress.mjs +4 -2
- package/fesm2022/ngwr-progress.mjs.map +1 -1
- package/fesm2022/ngwr-pull-to-refresh.mjs +2 -2
- package/fesm2022/ngwr-pull-to-refresh.mjs.map +1 -1
- package/fesm2022/ngwr-qr.mjs +6 -6
- package/fesm2022/ngwr-qr.mjs.map +1 -1
- package/fesm2022/ngwr-radio.mjs +12 -8
- package/fesm2022/ngwr-radio.mjs.map +1 -1
- package/fesm2022/ngwr-rating.mjs +19 -13
- package/fesm2022/ngwr-rating.mjs.map +1 -1
- package/fesm2022/ngwr-resizable.mjs +503 -0
- package/fesm2022/ngwr-resizable.mjs.map +1 -0
- package/fesm2022/ngwr-result.mjs +9 -5
- package/fesm2022/ngwr-result.mjs.map +1 -1
- package/fesm2022/ngwr-schema-form.mjs +15 -5
- package/fesm2022/ngwr-schema-form.mjs.map +1 -1
- package/fesm2022/ngwr-segmented.mjs +4 -2
- package/fesm2022/ngwr-segmented.mjs.map +1 -1
- package/fesm2022/ngwr-select.mjs +70 -39
- package/fesm2022/ngwr-select.mjs.map +1 -1
- package/fesm2022/ngwr-sidebar.mjs +3 -3
- package/fesm2022/ngwr-sidebar.mjs.map +1 -1
- package/fesm2022/ngwr-skeleton.mjs +6 -4
- package/fesm2022/ngwr-skeleton.mjs.map +1 -1
- package/fesm2022/ngwr-slider-testing.mjs.map +1 -1
- package/fesm2022/ngwr-slider.mjs +17 -15
- package/fesm2022/ngwr-slider.mjs.map +1 -1
- package/fesm2022/ngwr-sortable-list.mjs +3 -3
- package/fesm2022/ngwr-sortable-list.mjs.map +1 -1
- package/fesm2022/ngwr-speed-dial.mjs +4 -2
- package/fesm2022/ngwr-speed-dial.mjs.map +1 -1
- package/fesm2022/ngwr-spinner.mjs +4 -2
- package/fesm2022/ngwr-spinner.mjs.map +1 -1
- package/fesm2022/ngwr-splitter.mjs +21 -25
- package/fesm2022/ngwr-splitter.mjs.map +1 -1
- package/fesm2022/ngwr-statistic.mjs +5 -3
- package/fesm2022/ngwr-statistic.mjs.map +1 -1
- package/fesm2022/ngwr-stepper.mjs +9 -3
- package/fesm2022/ngwr-stepper.mjs.map +1 -1
- package/fesm2022/ngwr-storage.mjs +6 -4
- package/fesm2022/ngwr-storage.mjs.map +1 -1
- package/fesm2022/ngwr-switch.mjs +11 -7
- package/fesm2022/ngwr-switch.mjs.map +1 -1
- package/fesm2022/ngwr-table-testing.mjs +5 -1
- package/fesm2022/ngwr-table-testing.mjs.map +1 -1
- package/fesm2022/ngwr-table.mjs +396 -35
- package/fesm2022/ngwr-table.mjs.map +1 -1
- package/fesm2022/ngwr-tabs.mjs +2 -2
- package/fesm2022/ngwr-tabs.mjs.map +1 -1
- package/fesm2022/ngwr-textarea.mjs +9 -3
- package/fesm2022/ngwr-textarea.mjs.map +1 -1
- package/fesm2022/ngwr-timeline.mjs +18 -8
- package/fesm2022/ngwr-timeline.mjs.map +1 -1
- package/fesm2022/ngwr-toast-testing.mjs +14 -2
- package/fesm2022/ngwr-toast-testing.mjs.map +1 -1
- package/fesm2022/ngwr-toast.mjs +588 -120
- package/fesm2022/ngwr-toast.mjs.map +1 -1
- package/fesm2022/ngwr-tour.mjs +7 -7
- package/fesm2022/ngwr-tour.mjs.map +1 -1
- package/fesm2022/ngwr-transfer.mjs +24 -11
- package/fesm2022/ngwr-transfer.mjs.map +1 -1
- package/fesm2022/ngwr-tree.mjs +68 -26
- package/fesm2022/ngwr-tree.mjs.map +1 -1
- package/fesm2022/ngwr-typography.mjs +9 -3
- package/fesm2022/ngwr-typography.mjs.map +1 -1
- package/fesm2022/ngwr-utils-router.mjs +18 -2
- package/fesm2022/ngwr-utils-router.mjs.map +1 -1
- package/fesm2022/ngwr-utils.mjs +106 -56
- package/fesm2022/ngwr-utils.mjs.map +1 -1
- package/fesm2022/ngwr-validators.mjs +2 -2
- package/fesm2022/ngwr-validators.mjs.map +1 -1
- package/fesm2022/ngwr-version.mjs +1 -1
- package/fesm2022/ngwr-version.mjs.map +1 -1
- package/fesm2022/ngwr-window.mjs +33 -30
- package/fesm2022/ngwr-window.mjs.map +1 -1
- package/fesm2022/ngwr.mjs.map +1 -1
- package/i18n/ar.json +11 -0
- package/i18n/cs.json +11 -0
- package/i18n/de.json +11 -0
- package/i18n/en.json +11 -0
- package/i18n/es.json +11 -0
- package/i18n/fr.json +11 -0
- package/i18n/he.json +11 -0
- package/i18n/hi.json +11 -0
- package/i18n/id.json +11 -0
- package/i18n/it.json +11 -0
- package/i18n/ja.json +11 -0
- package/i18n/ko.json +11 -0
- package/i18n/nl.json +11 -0
- package/i18n/pl.json +11 -0
- package/i18n/pt.json +11 -0
- package/i18n/ru.json +11 -0
- package/i18n/sv.json +11 -0
- package/i18n/tr.json +11 -0
- package/i18n/uk.json +11 -0
- package/i18n/vi.json +11 -0
- package/i18n/zh-TW.json +11 -0
- package/i18n/zh.json +11 -0
- package/input/styles/_index.scss +10 -5
- package/input-number/styles/_index.scss +12 -3
- package/input-otp/styles/_index.scss +4 -2
- package/llms-full.txt +54 -23
- package/llms.txt +45 -23
- package/mcp/providers.js +1 -1
- package/package.json +29 -10
- package/radio/styles/_index.scss +4 -2
- package/resizable/styles/_index.scss +154 -0
- package/schematics/icon-set/index.js +3 -3
- package/schematics/migrations/v16/index.js +742 -0
- package/schematics/migrations.json +5 -0
- package/schematics/ng-add/index.js +4 -4
- package/schematics/provider/index.js +4 -4
- package/schematics/use/rule.js +1 -0
- package/schematics/use/symbol-map.json +6 -0
- package/select/styles/_index.scss +7 -4
- package/skills/ngwr/SKILL.md +6 -4
- package/skills/ngwr/references/catalog.md +8 -3
- package/skills/ngwr/references/setup.md +13 -9
- package/switch/styles/_index.scss +4 -2
- package/table/styles/_index.scss +138 -29
- package/textarea/styles/_index.scss +4 -2
- package/theme/styles/_motion.scss +6 -0
- package/toast/styles/_index.scss +49 -0
- package/tree/styles/_index.scss +17 -0
- package/types/index-CXbgza47.d.ts +13 -0
- package/types/ngwr-animations-aurora.d.ts +1 -1
- package/types/ngwr-animations-blur-reveal.d.ts +2 -2
- package/types/ngwr-animations-dot-grid.d.ts +1 -2
- package/types/ngwr-animations-flow-lines.d.ts +1 -1
- package/types/ngwr-animations-fluid-cursor.d.ts +1 -1
- package/types/ngwr-animations-reveal.d.ts +4 -8
- package/types/ngwr-animations-ripple-grid.d.ts +1 -1
- package/types/ngwr-animations-spotlight.d.ts +1 -1
- package/types/ngwr-animations-thread-lines.d.ts +1 -1
- package/types/ngwr-animations-tilt.d.ts +1 -1
- package/types/ngwr-avatar.d.ts +2 -2
- package/types/ngwr-badge.d.ts +1 -1
- package/types/ngwr-burger.d.ts +0 -1
- package/types/ngwr-calendar.d.ts +7 -0
- package/types/ngwr-cascader.d.ts +12 -1
- package/types/ngwr-charts-boxplot-chart.d.ts +1 -1
- package/types/ngwr-charts-bullet-chart.d.ts +2 -2
- package/types/ngwr-charts-calendar-heatmap.d.ts +2 -1
- package/types/ngwr-charts-candlestick-chart.d.ts +1 -1
- package/types/ngwr-charts-core.d.ts +12 -12
- package/types/ngwr-charts-line-chart.d.ts +2 -2
- package/types/ngwr-charts-radar-chart.d.ts +1 -1
- package/types/ngwr-charts-scatter-chart.d.ts +2 -2
- package/types/ngwr-charts-waterfall-chart.d.ts +1 -1
- package/types/ngwr-clipboard.d.ts +7 -0
- package/types/ngwr-color-picker.d.ts +12 -12
- package/types/ngwr-copy-value-testing.d.ts +87 -0
- package/types/ngwr-copy-value.d.ts +95 -0
- package/types/ngwr-date-picker-testing.d.ts +3 -3
- package/types/ngwr-date-picker.d.ts +106 -3
- package/types/ngwr-date-stamp-testing.d.ts +47 -0
- package/types/ngwr-date-stamp.d.ts +81 -0
- package/types/ngwr-date.d.ts +179 -27
- package/types/ngwr-dialog-testing.d.ts +10 -0
- package/types/ngwr-dialog.d.ts +120 -5
- package/types/ngwr-directives.d.ts +76 -1
- package/types/ngwr-drawer.d.ts +22 -1
- package/types/ngwr-dropdown.d.ts +3 -2
- package/types/ngwr-hotkey.d.ts +5 -5
- package/types/ngwr-i18n.d.ts +47 -17
- package/types/ngwr-icon.d.ts +26 -26
- package/types/ngwr-input-number.d.ts +2 -2
- package/types/ngwr-input.d.ts +8 -8
- package/types/ngwr-load-state.d.ts +6 -6
- package/types/ngwr-meta.d.ts +18 -0
- package/types/ngwr-overlay.d.ts +36 -0
- package/types/ngwr-pipes.d.ts +21 -4
- package/types/ngwr-platform.d.ts +2 -1
- package/types/ngwr-popconfirm.d.ts +3 -2
- package/types/ngwr-popover.d.ts +43 -4
- package/types/ngwr-resizable.d.ts +228 -0
- package/types/ngwr-select.d.ts +33 -18
- package/types/ngwr-slider-testing.d.ts +2 -2
- package/types/ngwr-slider.d.ts +3 -3
- package/types/ngwr-statistic.d.ts +5 -1
- package/types/ngwr-storage.d.ts +1 -1
- package/types/ngwr-table-testing.d.ts +5 -2
- package/types/ngwr-table.d.ts +255 -14
- package/types/ngwr-tabs.d.ts +10 -2
- package/types/ngwr-toast-testing.d.ts +18 -3
- package/types/ngwr-toast.d.ts +248 -23
- package/types/ngwr-transfer.d.ts +5 -0
- package/types/ngwr-tree.d.ts +22 -2
- package/types/ngwr-utils-router.d.ts +22 -0
- package/types/ngwr-utils.d.ts +165 -83
- package/types/ngwr-validators.d.ts +4 -2
- package/types/ngwr-version.d.ts +1 -1
- package/types/ngwr.d.ts +2 -0
- package/types/pointer-tracker-D7fXxLQL.d.ts +24 -0
- package/fesm2022/ngwr-animations-core.mjs.map +0 -1
- package/types/ngwr-animations-core.d.ts +0 -294
|
@@ -35,6 +35,11 @@
|
|
|
35
35
|
"version": "15.0.0",
|
|
36
36
|
"description": "Rewrites what means the same in its new place: the seven chart paths from ngwr/<name> to ngwr/charts/<name> and the twenty-one bit paths to ngwr/bits/<name>, ngwr/drag-drop to ngwr/sortable-list and ngwr/icon/adapters/lucide to ngwr/icon (TypeScript, @use, /testing and JSON); provideWrDensity(), provideWrToastConfig(), provideWrStorage(), provideWrMeta(), provideWrDateAdapter() and provideWrTheme() in a providers array into one provideWr(...) call with withDensity(), withToast(), withStorage(), withMeta(), withDates() and withTheme(), imports included (a bare provideWrDateAdapter() is deleted); rgba(var(--wr-color-<name>-rgb), a) to color-mix(in srgb, var(--wr-color-<name>) a%, transparent); the neutral token reads --wr-color-light and --wr-color-outline to --wr-border-base, --wr-color-border* to --wr-border-subtle, --wr-color-dark and --wr-color-white-contrast to --wr-color-on-surface, --wr-color-medium and --wr-color-muted-text to --wr-color-on-surface-muted; [wrTypography] tone dark/medium to base/muted and <wr-timeline-item color=\"medium\"> to neutral, with their classes. Reports, by file and line, what needs a decision: @use 'ngwr', a density setting with no density sheet, a removed intent (secondary, light, medium, dark) as a colour, class, token, shade or $base-colors key, [data-theme] and theme.dark, a -rgb read or a removed token declaration it could not rewrite, a provider call it could not move, provideWrOverlay (delete it), ngwr/config, ngwr/media, the responsive bottom sheets, ngwr/markdown and <wr-editor format>, ngwr/action-sheet, ngwr/squircle, <wr-drawer showHandle>, the date-fns, Luxon and Feather adapters, the sortable list's loop, provideWrFormErrors and the validation copy ngwr no longer ships, the sidebar's new shape and the keyboard inset. Touches .ts, .html, .scss, .sass, .css and .json files.",
|
|
37
37
|
"factory": "./migrations/v15/index#default"
|
|
38
|
+
},
|
|
39
|
+
"migration-v16": {
|
|
40
|
+
"version": "16.0.0",
|
|
41
|
+
"description": "Renames the functions, constants and types that v16 gave the library prefix, as imports from ngwr/utils, ngwr/color-picker, ngwr/icon, ngwr/date, ngwr/hotkey, ngwr/i18n, ngwr/storage, ngwr/toast and ngwr/charts/core and at every use of the binding in the file: a function takes wr and a capital (clamp to wrClamp, isDefined to wrIsDefined, lucideIcons to wrLucideIcons), a constant WR_ (KEYS to WR_KEYS, CHART_PALETTE to WR_CHART_PALETTE, DEFAULT_TOAST_CONFIG to DEFAULT_WR_TOAST_CONFIG), a type Wr (Maybe to WrMaybe). An aliased import keeps its alias, a re-export and a shorthand property keep the app's own name, and a namespace member (utils.clamp) is renamed too. Uses are matched by binding, so a same-named identifier that is not the ngwr import (debounce from rxjs, a local clamp) is left alone. Renames the inputs and options that changed name, each only where the place says whose it is: showLabel to showValue on <wr-slider>, showLabel and hideLabel to showPasswordLabel and hidePasswordLabel on <wr-password-toggle> (the attribute and the binding, in templates and inline templates), and the toast option dismissible to closable in the argument of show() on a WrToast and in an object typed as WrToastOptions. Renames isDismissible() to isClosable() on a WrToastHarness the file got from getHarness(), getAllHarnesses() or harnessForFixture(), or typed as one. Reports, by file and line, an import of ngwr/animations/core, which is no longer an entry point, a mock factory or dynamic import() of an entry point with renamed exports, a dismissible it could not place in a file that uses the toast, an isDismissible() call it could not tie to the harness in a file that imports WrToastHarness, and isOpen.set() or isOpen.update() on a popover, a dropdown or a popconfirm, whose isOpen is read-only now (call open() or close()). Touches .ts and .html files.",
|
|
42
|
+
"factory": "./migrations/v16/index#default"
|
|
38
43
|
}
|
|
39
44
|
}
|
|
40
45
|
}
|
|
@@ -15,7 +15,7 @@ const global_styles_1 = require("../utility/global-styles");
|
|
|
15
15
|
* Base peers, regardless of prompt answers.
|
|
16
16
|
*
|
|
17
17
|
* `lucide` is here because the bootstrap snippet this schematic prints registers
|
|
18
|
-
* icons through `
|
|
18
|
+
* icons through `wrLucideIcons()`, which converts glyphs the app imports from
|
|
19
19
|
* `lucide` itself — leaving it out made the very first snippet a consumer pastes
|
|
20
20
|
* fail to resolve.
|
|
21
21
|
*
|
|
@@ -193,10 +193,10 @@ function printNextSteps(options, context) {
|
|
|
193
193
|
}
|
|
194
194
|
// `ngwr/icon` ships no icons — there are no bare icon exports, so the old
|
|
195
195
|
// `{ plus, trash }` import did not compile. Glyphs come from the app's own
|
|
196
|
-
// icon package, through `
|
|
196
|
+
// icon package, through `wrLucideIcons()` for lucide or `wrSvgIcon()` for a set
|
|
197
197
|
// that ships SVG.
|
|
198
|
-
imports.push("import { provideWrIcons,
|
|
199
|
-
providers.push('provideWrIcons(
|
|
198
|
+
imports.push("import { provideWrIcons, wrLucideIcons } from 'ngwr/icon';", "import { Plus, Trash2 } from 'lucide';");
|
|
199
|
+
providers.push('provideWrIcons(wrLucideIcons({ plus: Plus, trash: Trash2 }))');
|
|
200
200
|
const importBlock = imports.join('\n');
|
|
201
201
|
const providerBlock = providers.map(p => ` ${p},`).join('\n');
|
|
202
202
|
// `withDensity()` in the snippet reads nothing without the density sheet,
|
|
@@ -24,13 +24,13 @@ const PROVIDE_WR = 'provideWr';
|
|
|
24
24
|
const PROVIDERS = {
|
|
25
25
|
icons: {
|
|
26
26
|
// `ngwr/icon` ships no icons — there are no bare icon exports. The glyphs
|
|
27
|
-
// come from the app's own `lucide` install through `
|
|
27
|
+
// come from the app's own `lucide` install through `wrLucideIcons()`, exactly
|
|
28
28
|
// as `ng add` wires them.
|
|
29
29
|
subpath: 'ngwr/icon',
|
|
30
30
|
factory: 'provideWrIcons',
|
|
31
|
-
call: 'provideWrIcons(
|
|
31
|
+
call: 'provideWrIcons(wrLucideIcons({ plus: Plus, trash: Trash2 }))',
|
|
32
32
|
extras: [
|
|
33
|
-
['
|
|
33
|
+
['wrLucideIcons', 'ngwr/icon'],
|
|
34
34
|
['Plus, Trash2', 'lucide'],
|
|
35
35
|
],
|
|
36
36
|
},
|
|
@@ -346,7 +346,7 @@ function printSnippet(spec) {
|
|
|
346
346
|
// user gets — it has to include `extras`, or the printed code references symbols
|
|
347
347
|
// it never imports. That was exactly the gap `extras` was declared to close.
|
|
348
348
|
// Grouped by module, so an extra from the factory's own entry point
|
|
349
|
-
// (`
|
|
349
|
+
// (`wrLucideIcons` beside `provideWrIcons`) joins its line rather than
|
|
350
350
|
// printing a second import of `ngwr/icon` — the shape `ensureImport` writes.
|
|
351
351
|
const bySubpath = new Map();
|
|
352
352
|
if (spec.feature)
|
package/schematics/use/rule.js
CHANGED
|
@@ -75,12 +75,14 @@
|
|
|
75
75
|
"WrContextMenuItem": "ngwr/context-menu",
|
|
76
76
|
"WrContextMenuDivider": "ngwr/context-menu",
|
|
77
77
|
"WrCookie": "ngwr/cookie",
|
|
78
|
+
"WrCopyValue": "ngwr/copy-value",
|
|
78
79
|
"WrCounter": "ngwr/counter",
|
|
79
80
|
"WrCountUp": "ngwr/counter",
|
|
80
81
|
"WrDateAdapter": "ngwr/date",
|
|
81
82
|
"WrNativeDateAdapter": "ngwr/date",
|
|
82
83
|
"WrDatePicker": "ngwr/date-picker",
|
|
83
84
|
"WrDateRangePicker": "ngwr/date-picker",
|
|
85
|
+
"WrDateStamp": "ngwr/date-stamp",
|
|
84
86
|
"WrDensity": "ngwr/density",
|
|
85
87
|
"WrDensityDirective": "ngwr/density",
|
|
86
88
|
"WrDescriptions": "ngwr/descriptions",
|
|
@@ -95,6 +97,7 @@
|
|
|
95
97
|
"WrAutosize": "ngwr/directives",
|
|
96
98
|
"WrClickOutside": "ngwr/directives",
|
|
97
99
|
"WrCopyToClipboard": "ngwr/directives",
|
|
100
|
+
"WrFitText": "ngwr/directives",
|
|
98
101
|
"WrDivider": "ngwr/divider",
|
|
99
102
|
"WrDrawer": "ngwr/drawer",
|
|
100
103
|
"WrDrawerManager": "ngwr/drawer",
|
|
@@ -155,6 +158,7 @@
|
|
|
155
158
|
"WrMetaBinding": "ngwr/meta",
|
|
156
159
|
"WrOutsideClick": "ngwr/overlay",
|
|
157
160
|
"WrOverlayContainer": "ngwr/overlay",
|
|
161
|
+
"WrOverlayOrder": "ngwr/overlay",
|
|
158
162
|
"WrPageHeader": "ngwr/page-header",
|
|
159
163
|
"WrPagination": "ngwr/pagination",
|
|
160
164
|
"WrBytes": "ngwr/pipes",
|
|
@@ -177,6 +181,7 @@
|
|
|
177
181
|
"WrRadio": "ngwr/radio",
|
|
178
182
|
"WrRadioGroup": "ngwr/radio",
|
|
179
183
|
"WrRating": "ngwr/rating",
|
|
184
|
+
"WrResizable": "ngwr/resizable",
|
|
180
185
|
"WrResult": "ngwr/result",
|
|
181
186
|
"WrResult404": "ngwr/result",
|
|
182
187
|
"WrResult403": "ngwr/result",
|
|
@@ -219,6 +224,7 @@
|
|
|
219
224
|
"WrTimeline": "ngwr/timeline",
|
|
220
225
|
"WrTimelineItem": "ngwr/timeline",
|
|
221
226
|
"WrToast": "ngwr/toast",
|
|
227
|
+
"WrToastOutlet": "ngwr/toast",
|
|
222
228
|
"WrToastRef": "ngwr/toast",
|
|
223
229
|
"WrToolbar": "ngwr/toolbar",
|
|
224
230
|
"WrTour": "ngwr/tour",
|
|
@@ -73,7 +73,8 @@
|
|
|
73
73
|
// Sizes — share the `--wr-control-*` contract (22 / 30 / 36 px). Multi/tag
|
|
74
74
|
// min-height and the search/tag inputs all read these vars, so every mode
|
|
75
75
|
// tracks the size. Declared before `--rounded` so the pill modifier wins.
|
|
76
|
-
&--sm
|
|
76
|
+
&--sm,
|
|
77
|
+
&:where([size='sm']) {
|
|
77
78
|
--wr-select-radius: var(--wr-control-radius-sm);
|
|
78
79
|
--wr-select-padding-y: var(--wr-control-padding-y-sm);
|
|
79
80
|
--wr-select-padding-x: var(--wr-control-padding-x-sm);
|
|
@@ -81,7 +82,8 @@
|
|
|
81
82
|
--wr-select-line-height: var(--wr-control-line-height-sm);
|
|
82
83
|
}
|
|
83
84
|
|
|
84
|
-
&--lg
|
|
85
|
+
&--lg,
|
|
86
|
+
&:where([size='lg']) {
|
|
85
87
|
--wr-select-radius: var(--wr-control-radius-lg);
|
|
86
88
|
--wr-select-padding-y: var(--wr-control-padding-y-lg);
|
|
87
89
|
--wr-select-padding-x: var(--wr-control-padding-x-lg);
|
|
@@ -89,7 +91,8 @@
|
|
|
89
91
|
--wr-select-line-height: var(--wr-control-line-height-lg);
|
|
90
92
|
}
|
|
91
93
|
|
|
92
|
-
&--rounded
|
|
94
|
+
&--rounded,
|
|
95
|
+
&:where([rounded]:not([rounded='false'])) {
|
|
93
96
|
--wr-select-radius: var(--wr-border-radius-pill);
|
|
94
97
|
--wr-select-padding-x: var(--wr-space-lg);
|
|
95
98
|
|
|
@@ -575,7 +578,7 @@
|
|
|
575
578
|
}
|
|
576
579
|
}
|
|
577
580
|
|
|
578
|
-
// --- Virtual scroll (
|
|
581
|
+
// --- Virtual scroll (data-array path) ---------------------------------------
|
|
579
582
|
.wr-select-panel--virtual {
|
|
580
583
|
// The inner `__vlist` owns scrolling; the panel must not add a second scroll
|
|
581
584
|
// container or cap height, and the flex `gap` would drift the fixed-offset
|
package/skills/ngwr/SKILL.md
CHANGED
|
@@ -5,7 +5,7 @@ description: Build Angular UIs with the ngwr component library (standalone, sign
|
|
|
5
5
|
|
|
6
6
|
# ngwr
|
|
7
7
|
|
|
8
|
-
An Angular 22 UI library:
|
|
8
|
+
An Angular 22 UI library: 233 tree-shakable entry points, 129 of them shipping a selector.
|
|
9
9
|
Standalone, signals-first, zoneless, `ViewEncapsulation.None`. No runtime
|
|
10
10
|
dependencies.
|
|
11
11
|
|
|
@@ -44,10 +44,12 @@ guess gets backwards.
|
|
|
44
44
|
`provideWrConfig()`, `provideWrOverlay()` or `provideWrDateAdapter()`:
|
|
45
45
|
overlays and dates need no provider, and a `size` or `rounded` default is
|
|
46
46
|
bound on the input.
|
|
47
|
-
- **Code written for
|
|
47
|
+
- **Code written for v15 or older: run `ng update ngwr`.** It runs
|
|
48
48
|
`migration-v15`, which rewrites the paths, the provider calls, the `-rgb`
|
|
49
49
|
reads and the renamed token reads, and lists by file and line what needs a
|
|
50
|
-
decision
|
|
50
|
+
decision, then `migration-v16`, which renames the exports that had no
|
|
51
|
+
prefix: `clamp` is `wrClamp`, `KEYS` is `WR_KEYS`, `Maybe` is
|
|
52
|
+
`WrMaybe`. https://ngwr.dev/docs/migration lists every change.
|
|
51
53
|
- **The selector is not always the entry point name.** The button is
|
|
52
54
|
`wr-btn`, not `wr-button`. Check `references/catalog.md` before writing a tag.
|
|
53
55
|
- **Check for a MODE before reaching for another component.** The catalog is
|
|
@@ -134,7 +136,7 @@ the `imports` entry would not — `inject()` it instead.
|
|
|
134
136
|
Each of these compiles fine and then does nothing, with no error naming the
|
|
135
137
|
cause.
|
|
136
138
|
|
|
137
|
-
- `provideWrIcons(
|
|
139
|
+
- `provideWrIcons(wrLucideIcons({ … })) // from 'ngwr/icon'`
|
|
138
140
|
— icons resolve by name from a registry you populate
|
|
139
141
|
— needed by: `WrIcon`
|
|
140
142
|
- `provideWrLoadingBarRouter() // from 'ngwr/loading-bar/router'`
|
|
@@ -95,15 +95,19 @@ root barrel for components: the root `ngwr` exports only `provideWr()`.
|
|
|
95
95
|
| `ngwr/context-menu` | `import { WrContextMenu } from 'ngwr/context-menu'` | `wr-context-menu-divider` `wr-context-menu-item` `wr-context-menu` `[wrContextMenu]` |
|
|
96
96
|
| `ngwr/context-menu/testing` | `import { WrContextMenuHarness } from 'ngwr/context-menu/testing'` | — |
|
|
97
97
|
| `ngwr/cookie` | `import { WrCookie } from 'ngwr/cookie'` | — |
|
|
98
|
+
| `ngwr/copy-value` | `import { WrCopyValue } from 'ngwr/copy-value'` | `wr-copy-value` |
|
|
99
|
+
| `ngwr/copy-value/testing` | `import { WrCopyValueHarness } from 'ngwr/copy-value/testing'` | — |
|
|
98
100
|
| `ngwr/counter` | `import { WrCounter } from 'ngwr/counter'` | `wr-count-up` `wr-counter` |
|
|
99
101
|
| `ngwr/date` | `import { WrDateAdapter } from 'ngwr/date'` | — |
|
|
100
102
|
| `ngwr/date-picker` | `import { WrDatePicker } from 'ngwr/date-picker'` | `wr-date-picker` `wr-date-range-picker` |
|
|
101
103
|
| `ngwr/date-picker/testing` | `import { WrDatePickerDayHarness } from 'ngwr/date-picker/testing'` | — |
|
|
104
|
+
| `ngwr/date-stamp` | `import { WrDateStamp } from 'ngwr/date-stamp'` | `wr-date-stamp` |
|
|
105
|
+
| `ngwr/date-stamp/testing` | `import { WrDateStampHarness } from 'ngwr/date-stamp/testing'` | — |
|
|
102
106
|
| `ngwr/density` | `import { WrDensity } from 'ngwr/density'` | `[wrDensity]` |
|
|
103
107
|
| `ngwr/descriptions` | `import { WrDescriptions } from 'ngwr/descriptions'` | `wr-description-item` `wr-descriptions` |
|
|
104
108
|
| `ngwr/dialog` | `import { WrDialog } from 'ngwr/dialog'` | `[wrDialogClose]` `[wrDialogContent]` `[wrDialogFooter]` `[wrDialogTitle]` |
|
|
105
109
|
| `ngwr/dialog/testing` | `import { WrDialogHarness } from 'ngwr/dialog/testing'` | — |
|
|
106
|
-
| `ngwr/directives` | `import { WrAutofocus } from 'ngwr/directives'` | `[wrAutofocus]` `textarea[wrAutosize]` `[wrClickOutside]` `[wrCopyToClipboard]` |
|
|
110
|
+
| `ngwr/directives` | `import { WrAutofocus } from 'ngwr/directives'` | `[wrAutofocus]` `textarea[wrAutosize]` `[wrClickOutside]` `[wrCopyToClipboard]` `[wrFitText]` |
|
|
107
111
|
| `ngwr/divider` | `import { WrDivider } from 'ngwr/divider'` | `wr-divider` |
|
|
108
112
|
| `ngwr/drawer` | `import { WrDrawer } from 'ngwr/drawer'` | `[wrDrawerClose]` `[wrDrawerContent]` `[wrDrawerFooter]` `[wrDrawerTitle]` `wr-drawer` |
|
|
109
113
|
| `ngwr/drawer/testing` | `import { WrDrawerHarness } from 'ngwr/drawer/testing'` | — |
|
|
@@ -184,6 +188,7 @@ root barrel for components: the root `ngwr` exports only `provideWr()`.
|
|
|
184
188
|
| `ngwr/radio/testing` | `import { WrRadioGroupHarness } from 'ngwr/radio/testing'` | — |
|
|
185
189
|
| `ngwr/rating` | `import { WrRating } from 'ngwr/rating'` | `wr-rating` |
|
|
186
190
|
| `ngwr/rating/testing` | `import { WrRatingHarness } from 'ngwr/rating/testing'` | — |
|
|
191
|
+
| `ngwr/resizable` | `import { WrResizable } from 'ngwr/resizable'` | `[wrResizable]` |
|
|
187
192
|
| `ngwr/result` | `import { WrResult } from 'ngwr/result'` | `wr-result-404` `wr-result-403` `wr-result-500` `wr-result` |
|
|
188
193
|
| `ngwr/schema-form` | `import { WrSchemaForm } from 'ngwr/schema-form'` | `wr-schema-form` |
|
|
189
194
|
| `ngwr/scroll` | `import { WrScroll } from 'ngwr/scroll'` | — |
|
|
@@ -216,7 +221,7 @@ root barrel for components: the root `ngwr` exports only `provideWr()`.
|
|
|
216
221
|
| `ngwr/textarea/testing` | `import { WrTextareaHarness } from 'ngwr/textarea/testing'` | — |
|
|
217
222
|
| `ngwr/theme` | `import { WrTheme } from 'ngwr/theme'` | — |
|
|
218
223
|
| `ngwr/timeline` | `import { WrTimeline } from 'ngwr/timeline'` | `wr-timeline-item` `wr-timeline` |
|
|
219
|
-
| `ngwr/toast` | `import { WrToast } from 'ngwr/toast'` |
|
|
224
|
+
| `ngwr/toast` | `import { WrToast } from 'ngwr/toast'` | `wr-toast-outlet` |
|
|
220
225
|
| `ngwr/toast/testing` | `import { WrToastHarness } from 'ngwr/toast/testing'` | — |
|
|
221
226
|
| `ngwr/toolbar` | `import { WrToolbar } from 'ngwr/toolbar'` | `wr-toolbar` |
|
|
222
227
|
| `ngwr/tour` | `import { WrTour } from 'ngwr/tour'` | `wr-tour-popup` |
|
|
@@ -226,7 +231,7 @@ root barrel for components: the root `ngwr` exports only `provideWr()`.
|
|
|
226
231
|
| `ngwr/tree` | `import { WrTree } from 'ngwr/tree'` | `wr-tree` |
|
|
227
232
|
| `ngwr/tree/testing` | `import { WrTreeHarness } from 'ngwr/tree/testing'` | — |
|
|
228
233
|
| `ngwr/typography` | `import { WrTypography } from 'ngwr/typography'` | `[wrTypography]` |
|
|
229
|
-
| `ngwr/utils` | `import {
|
|
234
|
+
| `ngwr/utils` | `import { wrIsDefined } from 'ngwr/utils'` | — |
|
|
230
235
|
| `ngwr/utils/router` | `import { wrQueryParam } from 'ngwr/utils/router'` | — |
|
|
231
236
|
| `ngwr/validators` | `import { WrValidators } from 'ngwr/validators'` | — |
|
|
232
237
|
| `ngwr/version` | `import { NGWR_VERSION } from 'ngwr/version'` | — |
|
|
@@ -12,13 +12,13 @@ snippet tailored to the answers.
|
|
|
12
12
|
## Bootstrap
|
|
13
13
|
|
|
14
14
|
```ts
|
|
15
|
-
import {
|
|
15
|
+
import { wrLucideIcons, provideWrIcons } from 'ngwr/icon';
|
|
16
16
|
import { Check, ChevronDown } from 'lucide';
|
|
17
17
|
|
|
18
18
|
bootstrapApplication(App, {
|
|
19
19
|
providers: [
|
|
20
20
|
provideZonelessChangeDetection(),
|
|
21
|
-
provideWrIcons(
|
|
21
|
+
provideWrIcons(wrLucideIcons({ check: Check, 'chevron-down': ChevronDown })),
|
|
22
22
|
],
|
|
23
23
|
});
|
|
24
24
|
```
|
|
@@ -89,7 +89,7 @@ back to the OS. The service applies a remembered choice, or a non-`auto`
|
|
|
89
89
|
screen never injects it paints the OS scheme. Ship `wrThemePrePaintScript()`
|
|
90
90
|
in `<head>` with the same values to apply the choice before first paint.
|
|
91
91
|
A canvas cannot draw a `light-dark()` value: resolve its colours with
|
|
92
|
-
`
|
|
92
|
+
`wrResolveCssColor()` and redraw a still frame from `wrWatchColorScheme()`, both
|
|
93
93
|
in `ngwr/utils`.
|
|
94
94
|
Write your own dark values with `light-dark()` as well — there is no theme
|
|
95
95
|
attribute to key a selector on.
|
|
@@ -99,7 +99,7 @@ tokens are `light-dark()` values.
|
|
|
99
99
|
|
|
100
100
|
## Providers with no default
|
|
101
101
|
|
|
102
|
-
### `provideWrIcons(
|
|
102
|
+
### `provideWrIcons(wrLucideIcons({ … })) // from 'ngwr/icon'`
|
|
103
103
|
|
|
104
104
|
Icons resolve by name from a registry you populate. Needed by `WrIcon`.
|
|
105
105
|
|
|
@@ -149,11 +149,15 @@ bootstrapApplication(App, {
|
|
|
149
149
|
- `withTheme({ defaultMode: 'dark' })` from `ngwr/theme` — the default
|
|
150
150
|
scheme and its storage key, and `WrTheme` created at boot.
|
|
151
151
|
- `withToast({ … })` from `ngwr/toast`, `withStorage({ … })` from
|
|
152
|
-
`ngwr/storage`, `withMeta({ … })` from `ngwr/meta
|
|
153
|
-
`withWindows({ bounds })` from `ngwr/window`
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
152
|
+
`ngwr/storage`, `withMeta({ … })` from `ngwr/meta`,
|
|
153
|
+
`withWindows({ bounds })` from `ngwr/window` and
|
|
154
|
+
`withDialog({ tabTitle })` from `ngwr/dialog` — toast defaults, the storage
|
|
155
|
+
engine, prefix and TTL, `<head>` defaults for every route, the work area
|
|
156
|
+
floating windows keep inside, and the browser tab named after the open dialog.
|
|
157
|
+
Like density and theme they configure a root service, so they belong at bootstrap.
|
|
158
|
+
- `withRenderOnNavigation()` from `ngwr/utils/router` — in a zoneless app, ticks
|
|
159
|
+
right after `NavigationEnd` so a routed page is bound before the browser
|
|
160
|
+
paints it and no transition runs from the browser's defaults.
|
|
157
161
|
- A `validation` namespace in your own i18n catalog — ngwr ships no validation
|
|
158
162
|
copy. `<wr-form-field>` reads `validation.<key>` for an error whose validator
|
|
159
163
|
carries no `{ message }`, with the error payload as params.
|
|
@@ -72,7 +72,8 @@
|
|
|
72
72
|
}
|
|
73
73
|
|
|
74
74
|
// Sizes — track, thumb, label font + line-height scale together.
|
|
75
|
-
&--sm
|
|
75
|
+
&--sm,
|
|
76
|
+
&:where([size='sm']) {
|
|
76
77
|
--wr-switch-track-width: 1.75rem;
|
|
77
78
|
--wr-switch-track-height: 1rem;
|
|
78
79
|
--wr-switch-thumb-size: 0.75rem;
|
|
@@ -80,7 +81,8 @@
|
|
|
80
81
|
--wr-switch-line-height: var(--wr-control-line-height-sm);
|
|
81
82
|
}
|
|
82
83
|
|
|
83
|
-
&--lg
|
|
84
|
+
&--lg,
|
|
85
|
+
&:where([size='lg']) {
|
|
84
86
|
--wr-switch-track-width: 2.375rem;
|
|
85
87
|
--wr-switch-track-height: 1.25rem;
|
|
86
88
|
--wr-switch-thumb-size: 1rem;
|
package/table/styles/_index.scss
CHANGED
|
@@ -15,6 +15,7 @@
|
|
|
15
15
|
@use '../../checkbox/styles' as checkbox-styles; // WrCheckbox
|
|
16
16
|
@use '../../dropdown/styles' as dropdown-styles; // WrDropdown
|
|
17
17
|
@use '../../pagination/styles' as pagination-styles; // WrPagination
|
|
18
|
+
@use '../../popover/styles' as popover-styles; // WrPopover
|
|
18
19
|
@use '../../spinner/styles' as spinner-styles; // WrSpinner
|
|
19
20
|
@include theme.loaded('table');
|
|
20
21
|
|
|
@@ -60,6 +61,19 @@
|
|
|
60
61
|
--wr-table-foot-cell-font-weight: var(--wr-font-weight-semibold);
|
|
61
62
|
--wr-table-empty-padding: var(--wr-space-xl);
|
|
62
63
|
--wr-table-pager-padding: var(--wr-space-sm) var(--wr-space-md);
|
|
64
|
+
--wr-table-loading-bar-height: 0.125rem;
|
|
65
|
+
--wr-table-loading-bar-color: var(--wr-color-primary);
|
|
66
|
+
--wr-table-loading-bar-track: color-mix(in srgb, var(--wr-color-primary) 20%, transparent);
|
|
67
|
+
--wr-table-loading-bar-duration: 1.4s;
|
|
68
|
+
// The scroll area of a `stickyHeader` or virtualized table. The component
|
|
69
|
+
// writes `viewportHeight` to `-scroll-height`, and the measured header and
|
|
70
|
+
// footer heights to the two below it, inline on `.wr-table__scroll`; these
|
|
71
|
+
// are what holds before that. `-scroll-min-height` is the floor of a table
|
|
72
|
+
// that fills its parent.
|
|
73
|
+
--wr-table-scroll-height: 30rem;
|
|
74
|
+
--wr-table-scroll-min-height: 16rem;
|
|
75
|
+
--wr-table-head-height: 2.5rem;
|
|
76
|
+
--wr-table-foot-height: 0px;
|
|
63
77
|
|
|
64
78
|
// Card mode (`--responsive` inside its own container query). Declared on the
|
|
65
79
|
// BASE rather than down in the `@container` block, because a custom property
|
|
@@ -143,6 +157,14 @@
|
|
|
143
157
|
overflow: hidden;
|
|
144
158
|
}
|
|
145
159
|
|
|
160
|
+
// `truncate: 'tooltip'`. The cut happens where the column cannot grow: under
|
|
161
|
+
// a fixed layout, or at the `max-width` the component writes from `width`.
|
|
162
|
+
&__td--truncate {
|
|
163
|
+
overflow: hidden;
|
|
164
|
+
text-overflow: ellipsis;
|
|
165
|
+
white-space: nowrap;
|
|
166
|
+
}
|
|
167
|
+
|
|
146
168
|
&__resize-handle {
|
|
147
169
|
position: absolute;
|
|
148
170
|
top: 0;
|
|
@@ -406,32 +428,46 @@
|
|
|
406
428
|
background-image: linear-gradient(var(--wr-table-row-hover), var(--wr-table-row-hover));
|
|
407
429
|
}
|
|
408
430
|
|
|
409
|
-
// Separating shadow on the inner edge of each pinned group
|
|
410
|
-
//
|
|
411
|
-
//
|
|
412
|
-
//
|
|
413
|
-
//
|
|
431
|
+
// Separating shadow on the inner edge of each pinned group, cast only over
|
|
432
|
+
// columns hidden behind it: the component puts `--overflow-start` on the host
|
|
433
|
+
// while the table is scrolled away from its start, and `--overflow-end` while
|
|
434
|
+
// more of it lies past the end. A table that fits draws neither.
|
|
435
|
+
//
|
|
436
|
+
// `box-shadow` has no logical form — its offset is always physical — while
|
|
437
|
+
// the cell it belongs to is anchored by `[style.inset-inline-start.px]` /
|
|
438
|
+
// `[style.inset-inline-end.px]` in table.html, written from `leftPin()` /
|
|
439
|
+
// `rightPin()`. The shadow leans the way the offset pins, so the sign has to
|
|
440
|
+
// be set per direction by hand.
|
|
414
441
|
&__th--pin-edge-left,
|
|
415
|
-
&__td--pin-edge-left
|
|
442
|
+
&__td--pin-edge-left,
|
|
443
|
+
&__th--pin-edge-right,
|
|
444
|
+
&__td--pin-edge-right {
|
|
445
|
+
transition: box-shadow var(--wr-transition-base);
|
|
446
|
+
}
|
|
447
|
+
|
|
448
|
+
&--overflow-start &__th--pin-edge-left,
|
|
449
|
+
&--overflow-start &__td--pin-edge-left {
|
|
416
450
|
box-shadow: 0.375rem 0 0.375rem -0.25rem var(--wr-table-pin-shadow-ink);
|
|
417
451
|
}
|
|
418
452
|
|
|
419
|
-
&__th--pin-edge-right,
|
|
420
|
-
&__td--pin-edge-right {
|
|
453
|
+
&--overflow-end &__th--pin-edge-right,
|
|
454
|
+
&--overflow-end &__td--pin-edge-right {
|
|
421
455
|
box-shadow: -0.375rem 0 0.375rem -0.25rem var(--wr-table-pin-shadow-ink);
|
|
422
456
|
// rtl-ok: `box-shadow` has no logical form; the RTL sign is set explicitly below
|
|
423
457
|
}
|
|
424
458
|
|
|
425
459
|
// Under `dir="rtl"` the start-pinned group sits at the physical right and the
|
|
426
460
|
// end-pinned group at the physical left, so both shadows point the other way.
|
|
427
|
-
|
|
461
|
+
// `:where()` keeps the specificity of the pair above, so card mode's
|
|
462
|
+
// `box-shadow: none` still wins by order.
|
|
463
|
+
:where([dir='rtl']) &--overflow-start &__th--pin-edge-left,
|
|
428
464
|
// rtl-ok: `box-shadow` has no logical form; the RTL sign is set explicitly below
|
|
429
|
-
[dir='rtl'] &__td--pin-edge-left {
|
|
465
|
+
:where([dir='rtl']) &--overflow-start &__td--pin-edge-left {
|
|
430
466
|
box-shadow: -0.375rem 0 0.375rem -0.25rem var(--wr-table-pin-shadow-ink);
|
|
431
467
|
}
|
|
432
468
|
|
|
433
|
-
[dir='rtl'] &__th--pin-edge-right,
|
|
434
|
-
[dir='rtl'] &__td--pin-edge-right {
|
|
469
|
+
:where([dir='rtl']) &--overflow-end &__th--pin-edge-right,
|
|
470
|
+
:where([dir='rtl']) &--overflow-end &__td--pin-edge-right {
|
|
435
471
|
box-shadow: 0.375rem 0 0.375rem -0.25rem var(--wr-table-pin-shadow-ink);
|
|
436
472
|
// rtl-ok: this IS the RTL sign for the rule above
|
|
437
473
|
}
|
|
@@ -609,6 +645,36 @@
|
|
|
609
645
|
pointer-events: none;
|
|
610
646
|
}
|
|
611
647
|
|
|
648
|
+
// Along the top edge of the header, which is the top of the scroll area under
|
|
649
|
+
// a sticky header too. Above the corner-sticky header cells (z-index 3).
|
|
650
|
+
&__loading-bar {
|
|
651
|
+
position: absolute;
|
|
652
|
+
inset-block-start: 0;
|
|
653
|
+
inset-inline: 0;
|
|
654
|
+
z-index: 4;
|
|
655
|
+
height: var(--wr-table-loading-bar-height);
|
|
656
|
+
overflow: hidden;
|
|
657
|
+
background: var(--wr-table-loading-bar-track);
|
|
658
|
+
pointer-events: none;
|
|
659
|
+
|
|
660
|
+
&::after {
|
|
661
|
+
content: '';
|
|
662
|
+
position: absolute;
|
|
663
|
+
inset-block: 0;
|
|
664
|
+
// rtl-ok: an indeterminate sweep has no reading direction
|
|
665
|
+
left: 0;
|
|
666
|
+
width: 40%;
|
|
667
|
+
background: var(--wr-table-loading-bar-color);
|
|
668
|
+
animation: wr-table-loading-bar var(--wr-table-loading-bar-duration) var(--wr-ease-in-out) infinite;
|
|
669
|
+
}
|
|
670
|
+
|
|
671
|
+
@media (forced-colors: active) {
|
|
672
|
+
&::after {
|
|
673
|
+
background: CanvasText;
|
|
674
|
+
}
|
|
675
|
+
}
|
|
676
|
+
}
|
|
677
|
+
|
|
612
678
|
// --- Row grouping ---------------------------------------------------------
|
|
613
679
|
--wr-table-group-bg: var(--wr-color-fill-subtle);
|
|
614
680
|
--wr-table-group-inner-gap: var(--wr-space-sm);
|
|
@@ -729,14 +795,24 @@
|
|
|
729
795
|
}
|
|
730
796
|
}
|
|
731
797
|
|
|
732
|
-
// ---
|
|
733
|
-
// Scoped under the host `--
|
|
734
|
-
|
|
798
|
+
// --- Own scroll area --------------------------------------------------------
|
|
799
|
+
// Scoped under the host `--sticky-head` class (`stickyHeader`, or a virtualized
|
|
800
|
+
// body), so a table without either is untouched.
|
|
801
|
+
.wr-table--sticky-head {
|
|
735
802
|
// One dual-axis scroll container: keep overflow-x (pins), add overflow-y.
|
|
736
|
-
// `max-height` is set inline from `viewportHeight`.
|
|
737
803
|
.wr-table__scroll {
|
|
738
804
|
overflow-y: auto;
|
|
739
805
|
overscroll-behavior: contain;
|
|
806
|
+
max-height: var(--wr-table-scroll-height);
|
|
807
|
+
// A row focused or scrolled into view stops clear of the sticky edges.
|
|
808
|
+
scroll-padding-block-start: var(--wr-table-head-height);
|
|
809
|
+
scroll-padding-block-end: var(--wr-table-foot-height);
|
|
810
|
+
}
|
|
811
|
+
|
|
812
|
+
// Inset, as on a tree row: the host is `overflow: hidden`.
|
|
813
|
+
.wr-table__scroll:focus-visible {
|
|
814
|
+
@include theme.focus-ring;
|
|
815
|
+
outline-offset: -2px;
|
|
740
816
|
}
|
|
741
817
|
|
|
742
818
|
// Sticky header. Plain (non-pinned) cells need an OPAQUE base or scrolled body
|
|
@@ -759,19 +835,6 @@
|
|
|
759
835
|
z-index: 3;
|
|
760
836
|
}
|
|
761
837
|
|
|
762
|
-
// Uniform row height (fixed layout is already forced → cells truncate via the
|
|
763
|
-
// existing `--fixed` rules). `height` is a MINIMUM, not a clamp — see the
|
|
764
|
-
// rowHeight contract on the component.
|
|
765
|
-
.wr-table__tr {
|
|
766
|
-
height: var(--wr-table-row-h);
|
|
767
|
-
}
|
|
768
|
-
|
|
769
|
-
// Height-only reserved rows contribute nothing to columns or borders.
|
|
770
|
-
.wr-table__spacer > td {
|
|
771
|
-
padding: 0;
|
|
772
|
-
border: 0;
|
|
773
|
-
}
|
|
774
|
-
|
|
775
838
|
// Grand footer pinned to the viewport bottom; plain cells get the opaque base.
|
|
776
839
|
tfoot .wr-table__foot-cell {
|
|
777
840
|
position: sticky;
|
|
@@ -795,6 +858,42 @@
|
|
|
795
858
|
}
|
|
796
859
|
}
|
|
797
860
|
|
|
861
|
+
// `viewportHeight="fill"`: the table takes the height its parent has left, and
|
|
862
|
+
// the rows scroll in what the pager leaves of it. A flex-column parent shrinks
|
|
863
|
+
// the host; `max-height` does it under a block parent with a definite height.
|
|
864
|
+
.wr-table--fill {
|
|
865
|
+
display: flex;
|
|
866
|
+
flex-direction: column;
|
|
867
|
+
min-height: var(--wr-table-scroll-min-height);
|
|
868
|
+
max-height: 100%;
|
|
869
|
+
|
|
870
|
+
.wr-table__scroll {
|
|
871
|
+
flex: 1 1 auto;
|
|
872
|
+
min-height: 0;
|
|
873
|
+
max-height: none;
|
|
874
|
+
}
|
|
875
|
+
|
|
876
|
+
.wr-table__pager {
|
|
877
|
+
flex: none;
|
|
878
|
+
}
|
|
879
|
+
}
|
|
880
|
+
|
|
881
|
+
// --- Virtualized body -------------------------------------------------------
|
|
882
|
+
.wr-table--virtual {
|
|
883
|
+
// Uniform row height (fixed layout is already forced → cells truncate via the
|
|
884
|
+
// existing `--fixed` rules). `height` is a MINIMUM, not a clamp — see the
|
|
885
|
+
// rowHeight contract on the component.
|
|
886
|
+
.wr-table__tr {
|
|
887
|
+
height: var(--wr-table-row-h);
|
|
888
|
+
}
|
|
889
|
+
|
|
890
|
+
// Height-only reserved rows contribute nothing to columns or borders.
|
|
891
|
+
.wr-table__spacer > td {
|
|
892
|
+
padding: 0;
|
|
893
|
+
border: 0;
|
|
894
|
+
}
|
|
895
|
+
}
|
|
896
|
+
|
|
798
897
|
// Responsive tables: when the box is too narrow for columns, each row becomes a
|
|
799
898
|
// card and every cell shows its column title (from `data-label`) as a label.
|
|
800
899
|
@container wr-table (max-width: 36rem) {
|
|
@@ -1187,3 +1286,13 @@
|
|
|
1187
1286
|
.cdk-drag-animating.wr-table__th {
|
|
1188
1287
|
transition: transform 0.18s var(--wr-ease-out);
|
|
1189
1288
|
}
|
|
1289
|
+
|
|
1290
|
+
@keyframes wr-table-loading-bar {
|
|
1291
|
+
from {
|
|
1292
|
+
transform: translateX(-100%);
|
|
1293
|
+
}
|
|
1294
|
+
|
|
1295
|
+
to {
|
|
1296
|
+
transform: translateX(250%);
|
|
1297
|
+
}
|
|
1298
|
+
}
|
|
@@ -55,7 +55,8 @@
|
|
|
55
55
|
}
|
|
56
56
|
|
|
57
57
|
// Sizes — radius, padding, font + line-height scale; height stays content-driven.
|
|
58
|
-
&--sm
|
|
58
|
+
&--sm,
|
|
59
|
+
&:where([size='sm']) {
|
|
59
60
|
--wr-textarea-radius: var(--wr-control-radius-sm);
|
|
60
61
|
--wr-textarea-padding-y: var(--wr-space-xs);
|
|
61
62
|
--wr-textarea-padding-x: var(--wr-control-padding-x-sm);
|
|
@@ -63,7 +64,8 @@
|
|
|
63
64
|
--wr-textarea-line-height: var(--wr-control-line-height-sm);
|
|
64
65
|
}
|
|
65
66
|
|
|
66
|
-
&--lg
|
|
67
|
+
&--lg,
|
|
68
|
+
&:where([size='lg']) {
|
|
67
69
|
--wr-textarea-radius: var(--wr-control-radius-lg);
|
|
68
70
|
--wr-textarea-padding-y: var(--wr-space-md);
|
|
69
71
|
--wr-textarea-padding-x: var(--wr-control-padding-x-lg);
|
|
@@ -82,4 +82,10 @@
|
|
|
82
82
|
.wr-card__spinner {
|
|
83
83
|
animation-duration: 1.4s !important;
|
|
84
84
|
}
|
|
85
|
+
|
|
86
|
+
// The table's loading bar is a spinner drawn as a line: its sweep is the
|
|
87
|
+
// message, so it is slowed like one rather than stopped.
|
|
88
|
+
.wr-table__loading-bar::after {
|
|
89
|
+
animation-duration: 4s !important;
|
|
90
|
+
}
|
|
85
91
|
}
|