ngwr 15.9.0 → 16.0.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/copy-value/styles/_index.scss +104 -0
- package/date-picker/styles/_index.scss +117 -0
- package/fesm2022/{ngwr-animations-core.mjs → internal-BaQU4t_0.mjs} +6 -49
- package/fesm2022/internal-BaQU4t_0.mjs.map +1 -0
- package/fesm2022/ngwr-alert.mjs +2 -2
- 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 +3 -3
- package/fesm2022/ngwr-avatar.mjs.map +1 -1
- package/fesm2022/ngwr-badge.mjs.map +1 -1
- package/fesm2022/ngwr-cascader.mjs +43 -20
- 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-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 +2 -2
- package/fesm2022/ngwr-checkbox.mjs.map +1 -1
- package/fesm2022/ngwr-collapse.mjs +2 -2
- package/fesm2022/ngwr-collapse.mjs.map +1 -1
- package/fesm2022/ngwr-color-picker.mjs +52 -52
- 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 +2 -2
- package/fesm2022/ngwr-comment.mjs.map +1 -1
- package/fesm2022/ngwr-compare.mjs +6 -6
- package/fesm2022/ngwr-compare.mjs.map +1 -1
- package/fesm2022/ngwr-context-menu.mjs +4 -4
- 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 +196 -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 +217 -40
- package/fesm2022/ngwr-date-picker.mjs.map +1 -1
- package/fesm2022/ngwr-date.mjs +27 -5
- package/fesm2022/ngwr-date.mjs.map +1 -1
- package/fesm2022/ngwr-dialog.mjs +32 -3
- package/fesm2022/ngwr-dialog.mjs.map +1 -1
- package/fesm2022/ngwr-directives.mjs +116 -1
- package/fesm2022/ngwr-directives.mjs.map +1 -1
- package/fesm2022/ngwr-drawer.mjs +3 -3
- package/fesm2022/ngwr-drawer.mjs.map +1 -1
- package/fesm2022/ngwr-dropdown.mjs +13 -12
- package/fesm2022/ngwr-dropdown.mjs.map +1 -1
- package/fesm2022/ngwr-editor.mjs +28 -28
- package/fesm2022/ngwr-editor.mjs.map +1 -1
- package/fesm2022/ngwr-event-calendar.mjs +5 -5
- package/fesm2022/ngwr-event-calendar.mjs.map +1 -1
- package/fesm2022/ngwr-file-upload.mjs +8 -8
- package/fesm2022/ngwr-file-upload.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 +5 -0
- package/fesm2022/ngwr-i18n-ar.mjs.map +1 -1
- package/fesm2022/ngwr-i18n-cs.mjs +5 -0
- package/fesm2022/ngwr-i18n-cs.mjs.map +1 -1
- package/fesm2022/ngwr-i18n-de.mjs +5 -0
- package/fesm2022/ngwr-i18n-de.mjs.map +1 -1
- package/fesm2022/ngwr-i18n-en.mjs +5 -0
- package/fesm2022/ngwr-i18n-en.mjs.map +1 -1
- package/fesm2022/ngwr-i18n-es.mjs +5 -0
- package/fesm2022/ngwr-i18n-es.mjs.map +1 -1
- package/fesm2022/ngwr-i18n-fr.mjs +5 -0
- package/fesm2022/ngwr-i18n-fr.mjs.map +1 -1
- package/fesm2022/ngwr-i18n-he.mjs +5 -0
- package/fesm2022/ngwr-i18n-he.mjs.map +1 -1
- package/fesm2022/ngwr-i18n-hi.mjs +5 -0
- package/fesm2022/ngwr-i18n-hi.mjs.map +1 -1
- package/fesm2022/ngwr-i18n-id.mjs +5 -0
- package/fesm2022/ngwr-i18n-id.mjs.map +1 -1
- package/fesm2022/ngwr-i18n-it.mjs +5 -0
- package/fesm2022/ngwr-i18n-it.mjs.map +1 -1
- package/fesm2022/ngwr-i18n-ja.mjs +5 -0
- package/fesm2022/ngwr-i18n-ja.mjs.map +1 -1
- package/fesm2022/ngwr-i18n-ko.mjs +5 -0
- package/fesm2022/ngwr-i18n-ko.mjs.map +1 -1
- package/fesm2022/ngwr-i18n-nl.mjs +5 -0
- package/fesm2022/ngwr-i18n-nl.mjs.map +1 -1
- package/fesm2022/ngwr-i18n-pl.mjs +5 -0
- package/fesm2022/ngwr-i18n-pl.mjs.map +1 -1
- package/fesm2022/ngwr-i18n-pt.mjs +5 -0
- package/fesm2022/ngwr-i18n-pt.mjs.map +1 -1
- package/fesm2022/ngwr-i18n-ru.mjs +5 -0
- package/fesm2022/ngwr-i18n-ru.mjs.map +1 -1
- package/fesm2022/ngwr-i18n-sv.mjs +5 -0
- package/fesm2022/ngwr-i18n-sv.mjs.map +1 -1
- package/fesm2022/ngwr-i18n-tr.mjs +5 -0
- package/fesm2022/ngwr-i18n-tr.mjs.map +1 -1
- package/fesm2022/ngwr-i18n-uk.mjs +5 -0
- package/fesm2022/ngwr-i18n-uk.mjs.map +1 -1
- package/fesm2022/ngwr-i18n-vi.mjs +5 -0
- package/fesm2022/ngwr-i18n-vi.mjs.map +1 -1
- package/fesm2022/ngwr-i18n-zh-tw.mjs +5 -0
- package/fesm2022/ngwr-i18n-zh-tw.mjs.map +1 -1
- package/fesm2022/ngwr-i18n-zh.mjs +5 -0
- package/fesm2022/ngwr-i18n-zh.mjs.map +1 -1
- package/fesm2022/ngwr-i18n.mjs +2 -2
- 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 +4 -4
- package/fesm2022/ngwr-input-number.mjs.map +1 -1
- package/fesm2022/ngwr-input-otp.mjs +2 -2
- package/fesm2022/ngwr-input-otp.mjs.map +1 -1
- package/fesm2022/ngwr-input.mjs +15 -15
- package/fesm2022/ngwr-input.mjs.map +1 -1
- package/fesm2022/ngwr-keyboard.mjs +28 -28
- package/fesm2022/ngwr-keyboard.mjs.map +1 -1
- package/fesm2022/ngwr-knob.mjs +4 -4
- package/fesm2022/ngwr-knob.mjs.map +1 -1
- package/fesm2022/ngwr-lightbox.mjs +2 -2
- package/fesm2022/ngwr-lightbox.mjs.map +1 -1
- package/fesm2022/ngwr-load-state.mjs +2 -2
- 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 +3 -3
- package/fesm2022/ngwr-overlay.mjs.map +1 -1
- package/fesm2022/ngwr-pagination.mjs +7 -5
- package/fesm2022/ngwr-pagination.mjs.map +1 -1
- package/fesm2022/ngwr-pipes.mjs +3 -5
- 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 +31 -30
- package/fesm2022/ngwr-popover.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 +3 -3
- package/fesm2022/ngwr-radio.mjs.map +1 -1
- package/fesm2022/ngwr-rating.mjs +10 -10
- package/fesm2022/ngwr-rating.mjs.map +1 -1
- package/fesm2022/ngwr-schema-form.mjs +15 -5
- package/fesm2022/ngwr-schema-form.mjs.map +1 -1
- package/fesm2022/ngwr-select.mjs +57 -34
- 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 +2 -2
- package/fesm2022/ngwr-skeleton.mjs.map +1 -1
- package/fesm2022/ngwr-slider-testing.mjs.map +1 -1
- package/fesm2022/ngwr-slider.mjs +13 -13
- 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-splitter.mjs +5 -5
- 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-storage.mjs +6 -4
- package/fesm2022/ngwr-storage.mjs.map +1 -1
- package/fesm2022/ngwr-switch.mjs +2 -2
- package/fesm2022/ngwr-switch.mjs.map +1 -1
- package/fesm2022/ngwr-table-testing.mjs.map +1 -1
- package/fesm2022/ngwr-table.mjs +231 -27
- 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-toast-testing.mjs +8 -1
- package/fesm2022/ngwr-toast-testing.mjs.map +1 -1
- package/fesm2022/ngwr-toast.mjs +63 -20
- 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 +20 -9
- package/fesm2022/ngwr-transfer.mjs.map +1 -1
- package/fesm2022/ngwr-tree.mjs +64 -24
- package/fesm2022/ngwr-tree.mjs.map +1 -1
- package/fesm2022/ngwr-utils.mjs +98 -55
- 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 +26 -26
- package/fesm2022/ngwr-window.mjs.map +1 -1
- package/fesm2022/ngwr.mjs.map +1 -1
- package/i18n/ar.json +5 -0
- package/i18n/cs.json +5 -0
- package/i18n/de.json +5 -0
- package/i18n/en.json +5 -0
- package/i18n/es.json +5 -0
- package/i18n/fr.json +5 -0
- package/i18n/he.json +5 -0
- package/i18n/hi.json +5 -0
- package/i18n/id.json +5 -0
- package/i18n/it.json +5 -0
- package/i18n/ja.json +5 -0
- package/i18n/ko.json +5 -0
- package/i18n/nl.json +5 -0
- package/i18n/pl.json +5 -0
- package/i18n/pt.json +5 -0
- package/i18n/ru.json +5 -0
- package/i18n/sv.json +5 -0
- package/i18n/tr.json +5 -0
- package/i18n/uk.json +5 -0
- package/i18n/vi.json +5 -0
- package/i18n/zh-TW.json +5 -0
- package/i18n/zh.json +5 -0
- package/input-number/styles/_index.scss +6 -0
- package/llms-full.txt +31 -19
- package/llms.txt +37 -19
- package/mcp/providers.js +1 -1
- package/package.json +15 -10
- 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/symbol-map.json +2 -0
- package/select/styles/_index.scss +1 -1
- package/skills/ngwr/SKILL.md +6 -4
- package/skills/ngwr/references/catalog.md +4 -2
- package/skills/ngwr/references/setup.md +10 -9
- package/table/styles/_index.scss +85 -29
- package/toast/styles/_index.scss +30 -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-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-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-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 +97 -1
- package/types/ngwr-date.d.ts +44 -3
- package/types/ngwr-dialog.d.ts +50 -3
- package/types/ngwr-directives.d.ts +40 -0
- package/types/ngwr-drawer.d.ts +1 -1
- package/types/ngwr-dropdown.d.ts +3 -2
- package/types/ngwr-hotkey.d.ts +5 -5
- package/types/ngwr-i18n.d.ts +3 -3
- 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-pipes.d.ts +6 -4
- package/types/ngwr-platform.d.ts +2 -1
- package/types/ngwr-popconfirm.d.ts +3 -2
- package/types/ngwr-popover.d.ts +4 -3
- 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 +2 -1
- package/types/ngwr-table.d.ts +136 -11
- package/types/ngwr-tabs.d.ts +10 -2
- package/types/ngwr-toast-testing.d.ts +6 -2
- package/types/ngwr-toast.d.ts +33 -5
- package/types/ngwr-transfer.d.ts +5 -0
- package/types/ngwr-tree.d.ts +22 -2
- package/types/ngwr-utils.d.ts +157 -82
- package/types/ngwr-validators.d.ts +4 -2
- package/types/ngwr-version.d.ts +1 -1
- package/types/ngwr.d.ts +1 -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)
|
|
@@ -75,6 +75,7 @@
|
|
|
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",
|
|
@@ -95,6 +96,7 @@
|
|
|
95
96
|
"WrAutosize": "ngwr/directives",
|
|
96
97
|
"WrClickOutside": "ngwr/directives",
|
|
97
98
|
"WrCopyToClipboard": "ngwr/directives",
|
|
99
|
+
"WrFitText": "ngwr/directives",
|
|
98
100
|
"WrDivider": "ngwr/divider",
|
|
99
101
|
"WrDrawer": "ngwr/drawer",
|
|
100
102
|
"WrDrawerManager": "ngwr/drawer",
|
|
@@ -575,7 +575,7 @@
|
|
|
575
575
|
}
|
|
576
576
|
}
|
|
577
577
|
|
|
578
|
-
// --- Virtual scroll (
|
|
578
|
+
// --- Virtual scroll (data-array path) ---------------------------------------
|
|
579
579
|
.wr-select-panel--virtual {
|
|
580
580
|
// The inner `__vlist` owns scrolling; the panel must not add a second scroll
|
|
581
581
|
// 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: 230 tree-shakable entry points, 126 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,6 +95,8 @@ 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` |
|
|
@@ -103,7 +105,7 @@ root barrel for components: the root `ngwr` exports only `provideWr()`.
|
|
|
103
105
|
| `ngwr/descriptions` | `import { WrDescriptions } from 'ngwr/descriptions'` | `wr-description-item` `wr-descriptions` |
|
|
104
106
|
| `ngwr/dialog` | `import { WrDialog } from 'ngwr/dialog'` | `[wrDialogClose]` `[wrDialogContent]` `[wrDialogFooter]` `[wrDialogTitle]` |
|
|
105
107
|
| `ngwr/dialog/testing` | `import { WrDialogHarness } from 'ngwr/dialog/testing'` | — |
|
|
106
|
-
| `ngwr/directives` | `import { WrAutofocus } from 'ngwr/directives'` | `[wrAutofocus]` `textarea[wrAutosize]` `[wrClickOutside]` `[wrCopyToClipboard]` |
|
|
108
|
+
| `ngwr/directives` | `import { WrAutofocus } from 'ngwr/directives'` | `[wrAutofocus]` `textarea[wrAutosize]` `[wrClickOutside]` `[wrCopyToClipboard]` `[wrFitText]` |
|
|
107
109
|
| `ngwr/divider` | `import { WrDivider } from 'ngwr/divider'` | `wr-divider` |
|
|
108
110
|
| `ngwr/drawer` | `import { WrDrawer } from 'ngwr/drawer'` | `[wrDrawerClose]` `[wrDrawerContent]` `[wrDrawerFooter]` `[wrDrawerTitle]` `wr-drawer` |
|
|
109
111
|
| `ngwr/drawer/testing` | `import { WrDrawerHarness } from 'ngwr/drawer/testing'` | — |
|
|
@@ -226,7 +228,7 @@ root barrel for components: the root `ngwr` exports only `provideWr()`.
|
|
|
226
228
|
| `ngwr/tree` | `import { WrTree } from 'ngwr/tree'` | `wr-tree` |
|
|
227
229
|
| `ngwr/tree/testing` | `import { WrTreeHarness } from 'ngwr/tree/testing'` | — |
|
|
228
230
|
| `ngwr/typography` | `import { WrTypography } from 'ngwr/typography'` | `[wrTypography]` |
|
|
229
|
-
| `ngwr/utils` | `import {
|
|
231
|
+
| `ngwr/utils` | `import { wrIsDefined } from 'ngwr/utils'` | — |
|
|
230
232
|
| `ngwr/utils/router` | `import { wrQueryParam } from 'ngwr/utils/router'` | — |
|
|
231
233
|
| `ngwr/validators` | `import { WrValidators } from 'ngwr/validators'` | — |
|
|
232
234
|
| `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,12 @@ 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.
|
|
157
158
|
- A `validation` namespace in your own i18n catalog — ngwr ships no validation
|
|
158
159
|
copy. `<wr-form-field>` reads `validation.<key>` for an error whose validator
|
|
159
160
|
carries no `{ message }`, with the error payload as params.
|
package/table/styles/_index.scss
CHANGED
|
@@ -60,6 +60,15 @@
|
|
|
60
60
|
--wr-table-foot-cell-font-weight: var(--wr-font-weight-semibold);
|
|
61
61
|
--wr-table-empty-padding: var(--wr-space-xl);
|
|
62
62
|
--wr-table-pager-padding: var(--wr-space-sm) var(--wr-space-md);
|
|
63
|
+
// The scroll area of a `stickyHeader` or virtualized table. The component
|
|
64
|
+
// writes `viewportHeight` to `-scroll-height`, and the measured header and
|
|
65
|
+
// footer heights to the two below it, inline on `.wr-table__scroll`; these
|
|
66
|
+
// are what holds before that. `-scroll-min-height` is the floor of a table
|
|
67
|
+
// that fills its parent.
|
|
68
|
+
--wr-table-scroll-height: 30rem;
|
|
69
|
+
--wr-table-scroll-min-height: 16rem;
|
|
70
|
+
--wr-table-head-height: 2.5rem;
|
|
71
|
+
--wr-table-foot-height: 0px;
|
|
63
72
|
|
|
64
73
|
// Card mode (`--responsive` inside its own container query). Declared on the
|
|
65
74
|
// BASE rather than down in the `@container` block, because a custom property
|
|
@@ -406,32 +415,46 @@
|
|
|
406
415
|
background-image: linear-gradient(var(--wr-table-row-hover), var(--wr-table-row-hover));
|
|
407
416
|
}
|
|
408
417
|
|
|
409
|
-
// Separating shadow on the inner edge of each pinned group
|
|
410
|
-
//
|
|
411
|
-
//
|
|
412
|
-
//
|
|
413
|
-
//
|
|
418
|
+
// Separating shadow on the inner edge of each pinned group, cast only over
|
|
419
|
+
// columns hidden behind it: the component puts `--overflow-start` on the host
|
|
420
|
+
// while the table is scrolled away from its start, and `--overflow-end` while
|
|
421
|
+
// more of it lies past the end. A table that fits draws neither.
|
|
422
|
+
//
|
|
423
|
+
// `box-shadow` has no logical form — its offset is always physical — while
|
|
424
|
+
// the cell it belongs to is anchored by `[style.inset-inline-start.px]` /
|
|
425
|
+
// `[style.inset-inline-end.px]` in table.html, written from `leftPin()` /
|
|
426
|
+
// `rightPin()`. The shadow leans the way the offset pins, so the sign has to
|
|
427
|
+
// be set per direction by hand.
|
|
414
428
|
&__th--pin-edge-left,
|
|
415
|
-
&__td--pin-edge-left
|
|
429
|
+
&__td--pin-edge-left,
|
|
430
|
+
&__th--pin-edge-right,
|
|
431
|
+
&__td--pin-edge-right {
|
|
432
|
+
transition: box-shadow var(--wr-transition-base);
|
|
433
|
+
}
|
|
434
|
+
|
|
435
|
+
&--overflow-start &__th--pin-edge-left,
|
|
436
|
+
&--overflow-start &__td--pin-edge-left {
|
|
416
437
|
box-shadow: 0.375rem 0 0.375rem -0.25rem var(--wr-table-pin-shadow-ink);
|
|
417
438
|
}
|
|
418
439
|
|
|
419
|
-
&__th--pin-edge-right,
|
|
420
|
-
&__td--pin-edge-right {
|
|
440
|
+
&--overflow-end &__th--pin-edge-right,
|
|
441
|
+
&--overflow-end &__td--pin-edge-right {
|
|
421
442
|
box-shadow: -0.375rem 0 0.375rem -0.25rem var(--wr-table-pin-shadow-ink);
|
|
422
443
|
// rtl-ok: `box-shadow` has no logical form; the RTL sign is set explicitly below
|
|
423
444
|
}
|
|
424
445
|
|
|
425
446
|
// Under `dir="rtl"` the start-pinned group sits at the physical right and the
|
|
426
447
|
// end-pinned group at the physical left, so both shadows point the other way.
|
|
427
|
-
|
|
448
|
+
// `:where()` keeps the specificity of the pair above, so card mode's
|
|
449
|
+
// `box-shadow: none` still wins by order.
|
|
450
|
+
:where([dir='rtl']) &--overflow-start &__th--pin-edge-left,
|
|
428
451
|
// rtl-ok: `box-shadow` has no logical form; the RTL sign is set explicitly below
|
|
429
|
-
[dir='rtl'] &__td--pin-edge-left {
|
|
452
|
+
:where([dir='rtl']) &--overflow-start &__td--pin-edge-left {
|
|
430
453
|
box-shadow: -0.375rem 0 0.375rem -0.25rem var(--wr-table-pin-shadow-ink);
|
|
431
454
|
}
|
|
432
455
|
|
|
433
|
-
[dir='rtl'] &__th--pin-edge-right,
|
|
434
|
-
[dir='rtl'] &__td--pin-edge-right {
|
|
456
|
+
:where([dir='rtl']) &--overflow-end &__th--pin-edge-right,
|
|
457
|
+
:where([dir='rtl']) &--overflow-end &__td--pin-edge-right {
|
|
435
458
|
box-shadow: 0.375rem 0 0.375rem -0.25rem var(--wr-table-pin-shadow-ink);
|
|
436
459
|
// rtl-ok: this IS the RTL sign for the rule above
|
|
437
460
|
}
|
|
@@ -729,14 +752,24 @@
|
|
|
729
752
|
}
|
|
730
753
|
}
|
|
731
754
|
|
|
732
|
-
// ---
|
|
733
|
-
// Scoped under the host `--
|
|
734
|
-
|
|
755
|
+
// --- Own scroll area --------------------------------------------------------
|
|
756
|
+
// Scoped under the host `--sticky-head` class (`stickyHeader`, or a virtualized
|
|
757
|
+
// body), so a table without either is untouched.
|
|
758
|
+
.wr-table--sticky-head {
|
|
735
759
|
// One dual-axis scroll container: keep overflow-x (pins), add overflow-y.
|
|
736
|
-
// `max-height` is set inline from `viewportHeight`.
|
|
737
760
|
.wr-table__scroll {
|
|
738
761
|
overflow-y: auto;
|
|
739
762
|
overscroll-behavior: contain;
|
|
763
|
+
max-height: var(--wr-table-scroll-height);
|
|
764
|
+
// A row focused or scrolled into view stops clear of the sticky edges.
|
|
765
|
+
scroll-padding-block-start: var(--wr-table-head-height);
|
|
766
|
+
scroll-padding-block-end: var(--wr-table-foot-height);
|
|
767
|
+
}
|
|
768
|
+
|
|
769
|
+
// Inset, as on a tree row: the host is `overflow: hidden`.
|
|
770
|
+
.wr-table__scroll:focus-visible {
|
|
771
|
+
@include theme.focus-ring;
|
|
772
|
+
outline-offset: -2px;
|
|
740
773
|
}
|
|
741
774
|
|
|
742
775
|
// Sticky header. Plain (non-pinned) cells need an OPAQUE base or scrolled body
|
|
@@ -759,19 +792,6 @@
|
|
|
759
792
|
z-index: 3;
|
|
760
793
|
}
|
|
761
794
|
|
|
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
795
|
// Grand footer pinned to the viewport bottom; plain cells get the opaque base.
|
|
776
796
|
tfoot .wr-table__foot-cell {
|
|
777
797
|
position: sticky;
|
|
@@ -795,6 +815,42 @@
|
|
|
795
815
|
}
|
|
796
816
|
}
|
|
797
817
|
|
|
818
|
+
// `viewportHeight="fill"`: the table takes the height its parent has left, and
|
|
819
|
+
// the rows scroll in what the pager leaves of it. A flex-column parent shrinks
|
|
820
|
+
// the host; `max-height` does it under a block parent with a definite height.
|
|
821
|
+
.wr-table--fill {
|
|
822
|
+
display: flex;
|
|
823
|
+
flex-direction: column;
|
|
824
|
+
min-height: var(--wr-table-scroll-min-height);
|
|
825
|
+
max-height: 100%;
|
|
826
|
+
|
|
827
|
+
.wr-table__scroll {
|
|
828
|
+
flex: 1 1 auto;
|
|
829
|
+
min-height: 0;
|
|
830
|
+
max-height: none;
|
|
831
|
+
}
|
|
832
|
+
|
|
833
|
+
.wr-table__pager {
|
|
834
|
+
flex: none;
|
|
835
|
+
}
|
|
836
|
+
}
|
|
837
|
+
|
|
838
|
+
// --- Virtualized body -------------------------------------------------------
|
|
839
|
+
.wr-table--virtual {
|
|
840
|
+
// Uniform row height (fixed layout is already forced → cells truncate via the
|
|
841
|
+
// existing `--fixed` rules). `height` is a MINIMUM, not a clamp — see the
|
|
842
|
+
// rowHeight contract on the component.
|
|
843
|
+
.wr-table__tr {
|
|
844
|
+
height: var(--wr-table-row-h);
|
|
845
|
+
}
|
|
846
|
+
|
|
847
|
+
// Height-only reserved rows contribute nothing to columns or borders.
|
|
848
|
+
.wr-table__spacer > td {
|
|
849
|
+
padding: 0;
|
|
850
|
+
border: 0;
|
|
851
|
+
}
|
|
852
|
+
}
|
|
853
|
+
|
|
798
854
|
// Responsive tables: when the box is too narrow for columns, each row becomes a
|
|
799
855
|
// card and every cell shows its column title (from `data-label`) as a label.
|
|
800
856
|
@container wr-table (max-width: 36rem) {
|
package/toast/styles/_index.scss
CHANGED
|
@@ -183,6 +183,13 @@ $toast-colors: (
|
|
|
183
183
|
--wr-toast-actions-gap: var(--wr-space-xs);
|
|
184
184
|
--wr-toast-action-padding: var(--wr-space-xs);
|
|
185
185
|
--wr-toast-action-radius: var(--wr-border-radius-sm);
|
|
186
|
+
// The text button of `WrToastOptions.action`. The two hooks above are shared
|
|
187
|
+
// with the copy and close buttons; these five are its own.
|
|
188
|
+
--wr-toast-action-color: var(--wr-color-primary-ink);
|
|
189
|
+
--wr-toast-action-hover-bg: var(--wr-color-hover);
|
|
190
|
+
--wr-toast-action-padding-x: var(--wr-space-sm);
|
|
191
|
+
--wr-toast-action-font-size: var(--wr-text-sm);
|
|
192
|
+
--wr-toast-action-font-weight: var(--wr-font-weight-medium);
|
|
186
193
|
|
|
187
194
|
position: relative;
|
|
188
195
|
display: flex;
|
|
@@ -325,6 +332,23 @@ $toast-colors: (
|
|
|
325
332
|
}
|
|
326
333
|
}
|
|
327
334
|
|
|
335
|
+
// Text on the toast's surface, so it reads the intent's `-ink`, not the bare
|
|
336
|
+
// accent the glyph and the border keep.
|
|
337
|
+
&__action--run {
|
|
338
|
+
padding-inline: var(--wr-toast-action-padding-x);
|
|
339
|
+
color: var(--wr-toast-action-color);
|
|
340
|
+
font-family: inherit;
|
|
341
|
+
font-size: var(--wr-toast-action-font-size);
|
|
342
|
+
font-weight: var(--wr-toast-action-font-weight);
|
|
343
|
+
line-height: 1;
|
|
344
|
+
white-space: nowrap;
|
|
345
|
+
|
|
346
|
+
&:hover {
|
|
347
|
+
color: var(--wr-toast-action-color);
|
|
348
|
+
background: var(--wr-toast-action-hover-bg);
|
|
349
|
+
}
|
|
350
|
+
}
|
|
351
|
+
|
|
328
352
|
&__progress {
|
|
329
353
|
position: absolute;
|
|
330
354
|
bottom: 0;
|
|
@@ -361,6 +385,7 @@ $toast-colors: (
|
|
|
361
385
|
@each $variant, $color in $toast-colors {
|
|
362
386
|
&--#{$variant} {
|
|
363
387
|
--wr-toast-accent: var(--wr-color-#{$color});
|
|
388
|
+
--wr-toast-action-color: var(--wr-color-#{$color}-ink);
|
|
364
389
|
}
|
|
365
390
|
}
|
|
366
391
|
}
|
|
@@ -469,6 +494,11 @@ $toast-colors: (
|
|
|
469
494
|
padding: 0;
|
|
470
495
|
}
|
|
471
496
|
|
|
497
|
+
.wr-toast__action--run {
|
|
498
|
+
width: auto;
|
|
499
|
+
padding-inline: var(--wr-toast-action-padding-x);
|
|
500
|
+
}
|
|
501
|
+
|
|
472
502
|
.wr-toast-host__close-all {
|
|
473
503
|
--wr-toast-host-close-all-padding-y: var(--wr-space-md);
|
|
474
504
|
}
|
package/tree/styles/_index.scss
CHANGED
|
@@ -258,6 +258,23 @@
|
|
|
258
258
|
}
|
|
259
259
|
}
|
|
260
260
|
|
|
261
|
+
// Trigger sizes — share the `--wr-control-*` contract (22 / 30 / 36 px).
|
|
262
|
+
&--sm {
|
|
263
|
+
--wr-tree-trigger-radius: var(--wr-control-radius-sm);
|
|
264
|
+
--wr-tree-trigger-padding-y: var(--wr-control-padding-y-sm);
|
|
265
|
+
--wr-tree-trigger-padding-x: var(--wr-control-padding-x-sm);
|
|
266
|
+
--wr-tree-trigger-font-size: var(--wr-control-font-size-sm);
|
|
267
|
+
--wr-tree-trigger-line-height: var(--wr-control-line-height-sm);
|
|
268
|
+
}
|
|
269
|
+
|
|
270
|
+
&--lg {
|
|
271
|
+
--wr-tree-trigger-radius: var(--wr-control-radius-lg);
|
|
272
|
+
--wr-tree-trigger-padding-y: var(--wr-control-padding-y-lg);
|
|
273
|
+
--wr-tree-trigger-padding-x: var(--wr-control-padding-x-lg);
|
|
274
|
+
--wr-tree-trigger-font-size: var(--wr-control-font-size-lg);
|
|
275
|
+
--wr-tree-trigger-line-height: var(--wr-control-line-height-lg);
|
|
276
|
+
}
|
|
277
|
+
|
|
261
278
|
&__trigger {
|
|
262
279
|
display: inline-flex;
|
|
263
280
|
align-items: center;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
*
|
|
4
|
+
* Use of this source code is governed by an MIT-style license that can be
|
|
5
|
+
* found in the LICENSE file at https://github.com/thekhegay/ngwr/blob/main/LICENSE
|
|
6
|
+
*/
|
|
7
|
+
/**
|
|
8
|
+
* What one animated piece of a text is: a word, or a grapheme.
|
|
9
|
+
*
|
|
10
|
+
* @internal
|
|
11
|
+
*/
|
|
12
|
+
type WrStaggerBy = 'words' | 'letters';
|
|
13
|
+
export { WrStaggerBy as t };
|
|
@@ -32,7 +32,7 @@ type WrAuroraEdge = 'top' | 'bottom';
|
|
|
32
32
|
* with `speed` at none only while the intro or the drift still moves.
|
|
33
33
|
*
|
|
34
34
|
* Colours come from the `--wr-aurora-color-1`, `-2` and `-3` hooks through
|
|
35
|
-
* `
|
|
35
|
+
* `wrResolveCssColorChannels`, re-read when the scheme changes; the surface is
|
|
36
36
|
* read too, which decides between the wash and the light. Under
|
|
37
37
|
* `prefers-reduced-motion: reduce` one still frame is drawn, whole and at
|
|
38
38
|
* rest; under `forced-colors: active` nothing is; without WebGL nothing is;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
+
import { t as WrStaggerBy } from "./index-CXbgza47.js";
|
|
1
2
|
import * as i0 from "@angular/core";
|
|
2
|
-
import { WrStaggerBy } from "ngwr/animations/core";
|
|
3
3
|
/** What one animated piece of the text is: a word, or a grapheme. */
|
|
4
4
|
type WrBlurRevealBy = WrStaggerBy;
|
|
5
5
|
/** The side a piece settles in from. */
|
|
@@ -22,7 +22,7 @@ export declare class WrBlurReveal {
|
|
|
22
22
|
* letters of one word sit in a no-wrap wrapper, so a word never breaks across
|
|
23
23
|
* lines mid-word. @default 'words'
|
|
24
24
|
*/
|
|
25
|
-
readonly by: import("@angular/core").InputSignal<
|
|
25
|
+
readonly by: import("@angular/core").InputSignal<WrStaggerBy>;
|
|
26
26
|
/** The side a piece settles in from. @default 'below' */
|
|
27
27
|
readonly from: import("@angular/core").InputSignal<WrBlurRevealFrom>;
|
|
28
28
|
/**
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import * as i0 from "@angular/core";
|
|
2
|
-
import "ngwr/animations/core";
|
|
3
2
|
/**
|
|
4
3
|
* An even field of small, faint dots behind a section's content. Near the
|
|
5
4
|
* pointer the dots light up toward the primary colour and are pushed gently
|
|
@@ -19,7 +18,7 @@ import "ngwr/animations/core";
|
|
|
19
18
|
* scroll over the section is never fought; a tap sends one ring of light out
|
|
20
19
|
* from the finger instead.
|
|
21
20
|
*
|
|
22
|
-
* Colours come from the `--wr-dot-grid-*` hooks through `
|
|
21
|
+
* Colours come from the `--wr-dot-grid-*` hooks through `wrResolveCssColorChannels`,
|
|
23
22
|
* re-read when the scheme changes. Under `prefers-reduced-motion: reduce` only
|
|
24
23
|
* the still field is drawn; under `forced-colors: active` nothing is. The server
|
|
25
24
|
* renders the empty canvas, absolutely positioned, so the browser's first draw
|
|
@@ -36,7 +36,7 @@ type WrFlowLinesOrientation = 'horizontal' | 'vertical';
|
|
|
36
36
|
* pixel budget.
|
|
37
37
|
*
|
|
38
38
|
* Colours come from the `--wr-flow-lines-color` and `-accent` hooks through
|
|
39
|
-
* `
|
|
39
|
+
* `wrResolveCssColorChannels`, re-read when the scheme changes; the surface is
|
|
40
40
|
* read too, so the lines lay a little more light on a dark one than ink on
|
|
41
41
|
* a light one, which is what reads the same. Under `prefers-reduced-motion: reduce` one still frame is
|
|
42
42
|
* drawn, whole and at rest; under `forced-colors: active` nothing is;
|
|
@@ -30,7 +30,7 @@ type WrFluidCursorQuality = 'low' | 'medium' | 'high';
|
|
|
30
30
|
* read-back), and stops on its own after that, the fields cleared.
|
|
31
31
|
*
|
|
32
32
|
* Colours come from the `--wr-fluid-cursor-color-*` hooks through
|
|
33
|
-
* `
|
|
33
|
+
* `wrResolveCssColorChannels`, re-read when the scheme changes; a stroke
|
|
34
34
|
* cycles through them as it goes, or through the hue circle under `rainbow`.
|
|
35
35
|
* The display pass reads the surface too: on a light one the dye is laid as
|
|
36
36
|
* ink, its colour at full saturation under a coverage that rises with its
|
|
@@ -1,11 +1,7 @@
|
|
|
1
|
+
import { t as WrStaggerBy } from "./index-CXbgza47.js";
|
|
1
2
|
import * as i0 from "@angular/core";
|
|
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
|
-
*/
|
|
3
|
+
/** What one animated piece of the text is: a word, or a grapheme. */
|
|
4
|
+
type WrRevealBy = WrStaggerBy;
|
|
9
5
|
/** When the pieces start: at first paint, or the first time the host is in view. */
|
|
10
6
|
type WrRevealTrigger = 'load' | 'view';
|
|
11
7
|
/** One piece and its place in the sequence. */
|
|
@@ -131,4 +127,4 @@ export declare class WrReveal {
|
|
|
131
127
|
};
|
|
132
128
|
}, {}, never, never, true, never>;
|
|
133
129
|
}
|
|
134
|
-
export type { WrRevealTrigger };
|
|
130
|
+
export type { WrRevealBy, WrRevealTrigger };
|
|
@@ -18,7 +18,7 @@ import * as i0 from "@angular/core";
|
|
|
18
18
|
* every few px, and the segments are grouped by glow into a few strokes.
|
|
19
19
|
*
|
|
20
20
|
* Colours come from the `--wr-ripple-grid-*` hooks through
|
|
21
|
-
* `
|
|
21
|
+
* `wrResolveCssColorChannels`, re-read when the scheme changes. Under
|
|
22
22
|
* `prefers-reduced-motion: reduce` only the flat grid is drawn; under
|
|
23
23
|
* `forced-colors: active` nothing is. The server renders the empty canvas,
|
|
24
24
|
* absolutely positioned, so the browser's first draw shifts no layout.
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
+
import { t as WrPointerFollower } from "./pointer-tracker-D7fXxLQL.js";
|
|
1
2
|
import * as i0 from "@angular/core";
|
|
2
|
-
import { WrPointerFollower } from "ngwr/animations/core";
|
|
3
3
|
/**
|
|
4
4
|
* A soft circle of light sits under the pointer on a card's surface and
|
|
5
5
|
* follows it, and the card's border brightens a little near it. When the
|
|
@@ -24,7 +24,7 @@ import * as i0 from "@angular/core";
|
|
|
24
24
|
* The canvas renders at the device ratio under the model's pixel budget.
|
|
25
25
|
*
|
|
26
26
|
* Colours come from the `--wr-thread-lines-color` and `-accent` hooks through
|
|
27
|
-
* `
|
|
27
|
+
* `wrResolveCssColorChannels`, re-read when the scheme changes; the surface is
|
|
28
28
|
* read too, so on a light one the strands are laid as ink with next to no
|
|
29
29
|
* glow and on a dark one they are lit, with a soft glow. Under
|
|
30
30
|
* `prefers-reduced-motion: reduce` one still frame is drawn; under
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
+
import { t as WrPointerFollower } from "./pointer-tracker-D7fXxLQL.js";
|
|
1
2
|
import * as i0 from "@angular/core";
|
|
2
|
-
import { WrPointerFollower } from "ngwr/animations/core";
|
|
3
3
|
/**
|
|
4
4
|
* A card leans toward the pointer in 3D while the pointer is over it, and
|
|
5
5
|
* settles back flat when it leaves. The lean is small (`MAX_ANGLE`) and the
|
package/types/ngwr-avatar.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as i0 from "@angular/core";
|
|
2
|
-
import {
|
|
2
|
+
import { WrResolvedCssSize } from "ngwr/utils";
|
|
3
3
|
/**
|
|
4
4
|
* @license
|
|
5
5
|
*
|
|
@@ -160,7 +160,7 @@ export declare class WrAvatar {
|
|
|
160
160
|
* created on the client with its listeners in place before `src` is set.
|
|
161
161
|
*/
|
|
162
162
|
private adoptSettledImage;
|
|
163
|
-
protected readonly resolved: import("@angular/core").Signal<
|
|
163
|
+
protected readonly resolved: import("@angular/core").Signal<WrResolvedCssSize>;
|
|
164
164
|
/**
|
|
165
165
|
* Whether the projected fallback is `aria-hidden`: an `<img>` is in the DOM
|
|
166
166
|
* (loading or loaded) AND the consumer named it, or marked it decorative with
|
package/types/ngwr-badge.d.ts
CHANGED
|
@@ -131,7 +131,7 @@ export declare class WrTag {
|
|
|
131
131
|
* reader who cannot separate red from green cannot tell those two tags
|
|
132
132
|
* apart, and `primary` and `info` are the same blue to everyone. When a tag has to stand
|
|
133
133
|
* for a status by itself, give it an `icon` as well — register one with
|
|
134
|
-
* `provideWrIcons(
|
|
134
|
+
* `provideWrIcons(wrLucideIcons({ 'octagon-alert': OctagonAlert }))`, then write
|
|
135
135
|
* `<wr-tag color="danger" icon="octagon-alert">Failed</wr-tag>`.
|
|
136
136
|
*
|
|
137
137
|
* @default 'primary'
|