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
|
@@ -81,14 +81,16 @@
|
|
|
81
81
|
// from the default in the one dimension this block exists to scale. A tier
|
|
82
82
|
// that no longer differs is worse than a tier two pixels off, so `sm` takes
|
|
83
83
|
// `xs` and the ramp survives as 4 / 8 / 12.
|
|
84
|
-
&--sm
|
|
84
|
+
&--sm,
|
|
85
|
+
&:where([size='sm']) {
|
|
85
86
|
--wr-input-otp-size: 2rem; // 32px
|
|
86
87
|
--wr-input-otp-font: var(--wr-text-base); // 16px
|
|
87
88
|
--wr-input-otp-radius: var(--wr-control-radius-sm);
|
|
88
89
|
--wr-input-otp-gap: var(--wr-space-xs);
|
|
89
90
|
}
|
|
90
91
|
|
|
91
|
-
&--lg
|
|
92
|
+
&--lg,
|
|
93
|
+
&:where([size='lg']) {
|
|
92
94
|
--wr-input-otp-size: 3rem; // 48px
|
|
93
95
|
--wr-input-otp-font: var(--wr-text-xl); // 20px
|
|
94
96
|
--wr-input-otp-radius: var(--wr-control-radius-lg);
|
package/llms-full.txt
CHANGED
|
@@ -140,7 +140,7 @@
|
|
|
140
140
|
## ngwr/animations/reveal
|
|
141
141
|
- import: `import { WrReveal } from 'ngwr/animations/reveal'`
|
|
142
142
|
- selector: `wr-reveal`
|
|
143
|
-
- exports: WrReveal, WrRevealTrigger
|
|
143
|
+
- exports: WrReveal, WrRevealBy, WrRevealTrigger
|
|
144
144
|
- keywords: headline, hero, text, entrance
|
|
145
145
|
- A headline whose letters rise into place one after another from first paint, with no script: built for above the fold, where the server HTML already holds the pieces and the motion starts before the bundle arrives.
|
|
146
146
|
|
|
@@ -477,7 +477,7 @@
|
|
|
477
477
|
|
|
478
478
|
## ngwr/clipboard
|
|
479
479
|
- import: `import { WrClipboard } from 'ngwr/clipboard'`
|
|
480
|
-
- exports: WrClipboard, WrClipboardPermission
|
|
480
|
+
- exports: WR_COPIED_DURATION, WrClipboard, WrClipboardPermission
|
|
481
481
|
- keywords: copy, paste, wr-clipboard, service
|
|
482
482
|
- Copy text to the clipboard and read it back.
|
|
483
483
|
|
|
@@ -495,7 +495,7 @@
|
|
|
495
495
|
## ngwr/color-picker
|
|
496
496
|
- import: `import { WrColorPicker } from 'ngwr/color-picker'`
|
|
497
497
|
- selector: `[wrColorPickerTrigger]`, `wr-color-picker`
|
|
498
|
-
- exports: WrColorPicker, WrColorPickerTrigger,
|
|
498
|
+
- exports: WrColorPicker, WrColorPickerTrigger, wrHslToRgb, wrHsvToRgb, wrParseHex, wrRgbToHsl, wrRgbToHsv, wrToHex, WrHsl, WrHsv, WrRgb, WrColorFormat
|
|
499
499
|
- keywords: color, colour, picker, palette, hsv, hex
|
|
500
500
|
- Pick a colour inline, or from a button that opens the picker.
|
|
501
501
|
|
|
@@ -549,6 +549,17 @@
|
|
|
549
549
|
- keywords: document.cookie, session, wr-cookie, service
|
|
550
550
|
- Read, write and delete cookies, safely under SSR.
|
|
551
551
|
|
|
552
|
+
## ngwr/copy-value
|
|
553
|
+
- import: `import { WrCopyValue } from 'ngwr/copy-value'`
|
|
554
|
+
- selector: `wr-copy-value`
|
|
555
|
+
- exports: WrCopyValue
|
|
556
|
+
- keywords: copy value, copy, clipboard, copyable
|
|
557
|
+
- A value with a copy button beside it.
|
|
558
|
+
|
|
559
|
+
## ngwr/copy-value/testing
|
|
560
|
+
- import: `import { WrCopyValueHarness } from 'ngwr/copy-value/testing'`
|
|
561
|
+
- exports: WrCopyValueHarness, WrCopyValueHarnessFilters
|
|
562
|
+
|
|
552
563
|
## ngwr/counter
|
|
553
564
|
- import: `import { WrCounter } from 'ngwr/counter'`
|
|
554
565
|
- selector: `wr-count-up`, `wr-counter`
|
|
@@ -558,13 +569,13 @@
|
|
|
558
569
|
|
|
559
570
|
## ngwr/date
|
|
560
571
|
- import: `import { WrDateAdapter } from 'ngwr/date'`
|
|
561
|
-
- exports: WrDateAdapter, WrNativeDateAdapter,
|
|
572
|
+
- exports: WrDateAdapter, WrNativeDateAdapter, wrIsNamedFormat, wrIsDateOnly, wrToLocalDate, wrParseDate, wrDateLocale, withDates, WR_DATE_LOCALE, WR_DATE_TIME_ZONE, WrDateFormat, WrDatesOptions
|
|
562
573
|
- The date adapter behind the calendar, the event calendar and every date picker. With no provider it is `WrNativeDateAdapter`, over `Date` and `Intl` in `LOCALE_ID`. `provideWr(withDates({ locale, adapter }))` pins a locale or passes your own `WrDateAdapter` subclass.
|
|
563
574
|
|
|
564
575
|
## ngwr/date-picker
|
|
565
576
|
- import: `import { WrDatePicker } from 'ngwr/date-picker'`
|
|
566
577
|
- selector: `wr-date-picker`, `wr-date-range-picker`
|
|
567
|
-
- exports: WrDatePicker, WrDateRangePicker, WrDateInputError, WrDateRange, WrDateRangeInputError
|
|
578
|
+
- exports: WrDatePicker, WrDateRangePicker, WrDateInputError, WrDatePickerSize, WrDateRange, WrDateRangeInputError
|
|
568
579
|
- keywords: date, time, datetime, picker
|
|
569
580
|
- A text field with a popup for picking a date, a time or both.
|
|
570
581
|
|
|
@@ -572,6 +583,17 @@
|
|
|
572
583
|
- import: `import { WrDatePickerDayHarness } from 'ngwr/date-picker/testing'`
|
|
573
584
|
- exports: WrDatePickerDayHarness, WrDatePickerHarness, WrDateRangePickerHarness, WrAnyDatePickerHarness, WrDatePickerDayHarnessFilters, WrDatePickerHarnessFilters, WrDatePickerTimeFields, WrDateRangePickerEnd, WrDateRangePickerHarnessFilters
|
|
574
585
|
|
|
586
|
+
## ngwr/date-stamp
|
|
587
|
+
- import: `import { WrDateStamp } from 'ngwr/date-stamp'`
|
|
588
|
+
- selector: `wr-date-stamp`
|
|
589
|
+
- exports: WrDateStamp
|
|
590
|
+
- keywords: date stamp, date, time, timestamp, table cell, time zone
|
|
591
|
+
- A date over a time, for a table cell.
|
|
592
|
+
|
|
593
|
+
## ngwr/date-stamp/testing
|
|
594
|
+
- import: `import { WrDateStampHarness } from 'ngwr/date-stamp/testing'`
|
|
595
|
+
- exports: WrDateStampHarness, WrDateStampHarnessFilters
|
|
596
|
+
|
|
575
597
|
## ngwr/density
|
|
576
598
|
- import: `import { WrDensity } from 'ngwr/density'`
|
|
577
599
|
- selector: `[wrDensity]`
|
|
@@ -588,7 +610,7 @@
|
|
|
588
610
|
## ngwr/dialog
|
|
589
611
|
- import: `import { WrDialog } from 'ngwr/dialog'`
|
|
590
612
|
- selector: `[wrDialogClose]`, `[wrDialogContent]`, `[wrDialogFooter]`, `[wrDialogTitle]`
|
|
591
|
-
- exports: WrDialog, WrDialogRef, WR_DIALOG_DATA, WR_DIALOG_REF, WrDialogConfirmOptions, WrDialogOptions, WrDialogRole, WrDialogTitle, WrDialogContent, WrDialogFooter, WrDialogClose
|
|
613
|
+
- exports: WrDialog, WrDialogRef, WR_DIALOG_DATA, WR_DIALOG_REF, withDialog, WrDialogAlertOptions, WrDialogConfirmOptions, WrDialogDefaults, WrDialogIntent, WrDialogMessageOptions, WrDialogOptions, WrDialogRole, WrDialogTitle, WrDialogContent, WrDialogFooter, WrDialogClose
|
|
592
614
|
- keywords: modal, wr-dialog, overlay, portal
|
|
593
615
|
- Open any component as a modal dialog and await its result.
|
|
594
616
|
|
|
@@ -598,9 +620,9 @@
|
|
|
598
620
|
|
|
599
621
|
## ngwr/directives
|
|
600
622
|
- import: `import { WrAutofocus } from 'ngwr/directives'`
|
|
601
|
-
- selector: `[wrAutofocus]`, `textarea[wrAutosize]`, `[wrClickOutside]`, `[wrCopyToClipboard]`
|
|
602
|
-
- exports: WrAutofocus, WrAutosize, WrClickOutside, WrCopyToClipboard
|
|
603
|
-
- Attribute directives for markup you already have: `[wrAutofocus]`, `textarea[wrAutosize]`, `[wrClickOutside]` and `[
|
|
623
|
+
- selector: `[wrAutofocus]`, `textarea[wrAutosize]`, `[wrClickOutside]`, `[wrCopyToClipboard]`, `[wrFitText]`
|
|
624
|
+
- exports: WrAutofocus, WrAutosize, WrClickOutside, WrCopyToClipboard, WrFitText
|
|
625
|
+
- Attribute directives for markup you already have: `[wrAutofocus]`, `textarea[wrAutosize]`, `[wrClickOutside]`, `[wrCopyToClipboard]` and `[wrFitText]`.
|
|
604
626
|
|
|
605
627
|
## ngwr/divider
|
|
606
628
|
- import: `import { WrDivider } from 'ngwr/divider'`
|
|
@@ -695,14 +717,14 @@
|
|
|
695
717
|
## ngwr/hotkey
|
|
696
718
|
- import: `import { WrHotkey } from 'ngwr/hotkey'`
|
|
697
719
|
- selector: `[wrHotkey]`
|
|
698
|
-
- exports: WrHotkey, WrHotkeyBinding,
|
|
720
|
+
- exports: WrHotkey, WrHotkeyBinding, wrParseHotkeySpec, wrMatchesHotkey, WrParsedHotkey, wrFormatChord, wrHotkeyPlatform, WrHotkeyEntry, WrHotkeyHandle, WrHotkeyOptions, WrHotkeyPlatform, WrHotkeySpec
|
|
699
721
|
- keywords: service, keyboard, cheat sheet, wrformatchord
|
|
700
722
|
- Register keyboard shortcuts like `mod+k`, where `mod` is ⌘ on macOS and Ctrl elsewhere. A letter shortcut also fires on a non-Latin layout. `bindings()` lists what is registered, for a cheat sheet.
|
|
701
723
|
|
|
702
724
|
## ngwr/i18n
|
|
703
725
|
- import: `import { WrI18n } from 'ngwr/i18n'`
|
|
704
726
|
- selector: `[wrT]`
|
|
705
|
-
- exports: WrI18n, WrTPipe, WrTDirective, WR_I18N_CONFIG, DEFAULT_WR_I18N_CONFIG, WrI18nCatalog, WrI18nConfig, WrI18nConfigResolved, WrI18nParams, WrI18nMissingHandler, WR_I18N_LOADER, WrI18nLoader, WR_I18N_BASE_CATALOGS, WrI18nBaseCatalogs, WrI18nStaticLoader, WrI18nStaticCatalogs, WrI18nStaticScopedCatalogs, WrI18nHttpLoader, WrI18nHttpLoaderConfig, provideWrI18n, provideWrI18nBaseCatalogs, provideWrI18nStaticLoader, provideWrI18nHttpLoader, ProvideWrI18nOptions, useI18nText,
|
|
727
|
+
- exports: WrI18n, WrTPipe, WrTDirective, WR_I18N_CONFIG, DEFAULT_WR_I18N_CONFIG, WrI18nCatalog, WrI18nConfig, WrI18nConfigResolved, WrI18nParams, WrI18nTranslateOptions, WrI18nMissingHandler, WR_I18N_LOADER, WrI18nLoader, WR_I18N_BASE_CATALOGS, WrI18nBaseCatalogs, WrI18nStaticLoader, WrI18nStaticCatalogs, WrI18nStaticScopedCatalogs, WrI18nHttpLoader, WrI18nHttpLoaderConfig, provideWrI18n, provideWrI18nBaseCatalogs, provideWrI18nStaticLoader, provideWrI18nHttpLoader, ProvideWrI18nOptions, useI18nText, wrReadI18nText, useI18nFormatter
|
|
706
728
|
- keywords: translation, locale, transloco, wr-i18n, service
|
|
707
729
|
- Translate strings at runtime and switch the locale without a reload.
|
|
708
730
|
|
|
@@ -797,7 +819,7 @@
|
|
|
797
819
|
## ngwr/icon
|
|
798
820
|
- import: `import { WrIcon } from 'ngwr/icon'`
|
|
799
821
|
- selector: `wr-icon`
|
|
800
|
-
- exports: WrIcon,
|
|
822
|
+
- exports: WrIcon, wrLucide, wrLucideIcons, provideWrIcons, wrSvgIcon, WrLucideIconNode, WrIconDef, WrIconName
|
|
801
823
|
- keywords: svg
|
|
802
824
|
- Renders an SVG icon you register by name; ngwr ships none of its own.
|
|
803
825
|
|
|
@@ -930,7 +952,7 @@
|
|
|
930
952
|
|
|
931
953
|
## ngwr/overlay
|
|
932
954
|
- import: `import { WrOverlayContainer } from 'ngwr/overlay'`
|
|
933
|
-
- exports: wrAppendOverlayClose, wrFollowDirection, wrFollowSize, wrMirrorOffsets, WrOutsideClick, WrOverlayContainer, WR_OVERLAY, WR_OVERLAY_CONTAINER
|
|
955
|
+
- exports: wrAppendOverlayClose, wrFollowDirection, wrFollowSize, wrMirrorOffsets, WrOutsideClick, WrOverlayContainer, WrOverlayOrder, WR_OVERLAY, WR_OVERLAY_CONTAINER
|
|
934
956
|
- `WrOverlayContainer`, the container every ngwr panel renders into, kept apart from the one Angular Material, NG-ZORRO and plain CDK overlays share, with no provider. Style ngwr's overlays through its `.wr-overlay-container` class; no `z-index` reaches them, since CDK renders overlays in the top layer.
|
|
935
957
|
|
|
936
958
|
## ngwr/page-header
|
|
@@ -975,7 +997,7 @@
|
|
|
975
997
|
## ngwr/popover
|
|
976
998
|
- import: `import { WrPopover } from 'ngwr/popover'`
|
|
977
999
|
- selector: `[wrPopover]`
|
|
978
|
-
- exports: useChartTooltip, WrPopover, WrChartTooltip, WrChartTooltipDatum, WrChartTooltipRow, WrChartTooltipTarget, WrPopoverPosition
|
|
1000
|
+
- exports: useChartTooltip, WrPopover, WrTextTooltip, wrUseTextTooltip, WrChartTooltip, WrChartTooltipDatum, WrChartTooltipRow, WrChartTooltipTarget, WrPopoverPosition
|
|
979
1001
|
- keywords: tooltip, wr-popover, overlay
|
|
980
1002
|
- Show a template, or a text tooltip, next to its trigger.
|
|
981
1003
|
|
|
@@ -1024,6 +1046,13 @@
|
|
|
1024
1046
|
- import: `import { WrRatingHarness } from 'ngwr/rating/testing'`
|
|
1025
1047
|
- exports: WrRatingHarness, WrRatingItemHarness, WrRatingHarnessFilters, WrRatingItemHarnessFilters
|
|
1026
1048
|
|
|
1049
|
+
## ngwr/resizable
|
|
1050
|
+
- import: `import { WrResizable } from 'ngwr/resizable'`
|
|
1051
|
+
- selector: `[wrResizable]`
|
|
1052
|
+
- exports: WrResizable, WrResizableEdge, WrResizableLimit
|
|
1053
|
+
- keywords: resize, drag edge, side panel
|
|
1054
|
+
- Lets one element be resized by dragging one of its edges.
|
|
1055
|
+
|
|
1027
1056
|
## ngwr/result
|
|
1028
1057
|
- import: `import { WrResult } from 'ngwr/result'`
|
|
1029
1058
|
- selector: `wr-result-404`, `wr-result-403`, `wr-result-500`, `wr-result`
|
|
@@ -1147,7 +1176,7 @@
|
|
|
1147
1176
|
|
|
1148
1177
|
## ngwr/storage
|
|
1149
1178
|
- import: `import { WrStorage } from 'ngwr/storage'`
|
|
1150
|
-
- exports: WrStorage, withStorage, WR_STORAGE_CONFIG, DEFAULT_WR_STORAGE_CONFIG, WrStorageConfig, WrStorageConfigResolved, WR_STORAGE_ENGINE,
|
|
1179
|
+
- exports: WrStorage, withStorage, WR_STORAGE_CONFIG, DEFAULT_WR_STORAGE_CONFIG, WrStorageConfig, WrStorageConfigResolved, WR_STORAGE_ENGINE, wrCreateMemoryStorage, WrStorageEngine, WrStorageEnvelope, WrStorageOptions
|
|
1151
1180
|
- keywords: localstorage, sessionstorage, persistence, signal, wr-storage, service
|
|
1152
1181
|
- Typed key-value storage over localStorage or any engine, read as a signal or written through one, safe under SSR.
|
|
1153
1182
|
|
|
@@ -1165,7 +1194,8 @@
|
|
|
1165
1194
|
## ngwr/table
|
|
1166
1195
|
- import: `import { WrTable } from 'ngwr/table'`
|
|
1167
1196
|
- selector: `[wrTableCell]`, `ng-template[wrTableExpand]`, `wr-table-filter`, `ng-template[wrTableGroupHeader]`, `wr-table-sort`, `wr-table`
|
|
1168
|
-
- exports: WrTable, WrTableCell, WrTableExpand, WrTableGroupHeader, WrTableSort, WrTableFilter, WrTableCellContext, WrTableColumn, WrTableColumnAlign, WrTableColumns, WrTableCsvOptions, WrTableExpandContext, WrTableFilterChange, WrTableFilterItem, WrTableGroupContext, WrTableRow, WrTableRowClass, WrTableSortState, WrTableSortDirection, WrTableSummary, WrTableSummaryContext
|
|
1197
|
+
- exports: WrTable, WrTableCell, WrTableExpand, WrTableGroupHeader, WrTableSort, WrTableFilter, wrReadField, wrSortRows, WrTableCellContext, WrTableColumn, WrTableColumnAlign, WrTableColumns, WrTableCsvOptions, WrTableExpandContext, WrTableFilterChange, WrTableFilterItem, WrTableGroupContext, WrTableLoadingMode, WrTableRow, WrTableRowClass, WrTableRowClick, WrTableSortAccessor, WrTableSortState, WrTableSortDirection, WrTableSummary, WrTableSummaryContext, WrTableTruncate
|
|
1198
|
+
- keywords: wrsortrows, wrreadfield, sort
|
|
1169
1199
|
- Rows of data with sorting, filtering, paging and custom cells.
|
|
1170
1200
|
|
|
1171
1201
|
## ngwr/table/testing
|
|
@@ -1175,7 +1205,7 @@
|
|
|
1175
1205
|
## ngwr/tabs
|
|
1176
1206
|
- import: `import { WrTabs } from 'ngwr/tabs'`
|
|
1177
1207
|
- selector: `wr-tab`, `wr-tabs`
|
|
1178
|
-
- exports: WrTabs, WrTab, WR_TABS, WR_TABS_ROUTING, WrTabsContext, WrTabsRoutingAdapter
|
|
1208
|
+
- exports: WrTabs, WrTab, WR_TABS, WR_TABS_ROUTING, WrTabsContext, WrTabsRoutingAdapter, WrTabsSize
|
|
1179
1209
|
- Switch between panels, or between routes.
|
|
1180
1210
|
|
|
1181
1211
|
## ngwr/tabs/router
|
|
@@ -1212,7 +1242,8 @@
|
|
|
1212
1242
|
|
|
1213
1243
|
## ngwr/toast
|
|
1214
1244
|
- import: `import { WrToast } from 'ngwr/toast'`
|
|
1215
|
-
-
|
|
1245
|
+
- selector: `wr-toast-outlet`
|
|
1246
|
+
- exports: WrToast, WrToastOutlet, WrToastRef, withToast, DEFAULT_WR_TOAST_CONFIG, WR_TOAST_CONFIG, WrToastAction, WrToastConfig, WrToastMode, WrToastOptions, WrToastPosition, WrToastType
|
|
1216
1247
|
- keywords: notification, wr-toast
|
|
1217
1248
|
- Short notifications that stack in a corner of the screen.
|
|
1218
1249
|
|
|
@@ -1251,7 +1282,7 @@
|
|
|
1251
1282
|
## ngwr/tree
|
|
1252
1283
|
- import: `import { WrTree } from 'ngwr/tree'`
|
|
1253
1284
|
- selector: `wr-tree`
|
|
1254
|
-
- exports: WrTree, WrTreeNode, WrTreeSelectionMode
|
|
1285
|
+
- exports: WrTree, WrTreeNode, WrTreeSelectionMode, WrTreeSize
|
|
1255
1286
|
- keywords: tree-select, hierarchy, folders
|
|
1256
1287
|
- A nested list to browse and select from, inline or as a dropdown picker.
|
|
1257
1288
|
|
|
@@ -1267,13 +1298,13 @@
|
|
|
1267
1298
|
- Style any text element with a shared text role.
|
|
1268
1299
|
|
|
1269
1300
|
## ngwr/utils
|
|
1270
|
-
- import: `import {
|
|
1271
|
-
- exports:
|
|
1272
|
-
- Small helpers: coercion (`
|
|
1301
|
+
- import: `import { wrIsDefined } from 'ngwr/utils'`
|
|
1302
|
+
- exports: WrMaybe, WrSafeAny, WrClassInput, wrIsDefined, wrIsNonEmptyArray, wrIsObservable, wrClamp, wrRound, wrDecimal, wrDecimalAdd, wrDecimalCompare, wrDecimalDivide, wrDecimalMultiply, wrDecimalRound, wrDecimalSubtract, WrDecimalLike, wrNumAttr, wrToClassList, wrIsSafeCssValue, wrResolveCssSize, WrResolveCssSizeOptions, WrResolvedCssSize, wrGetRootFontSize, wrGetFocusableElements, wrResolveCssColor, wrResolveCssColorChannels, wrTrapFocus, wrWatchColorScheme, wrCheckStyles, wrContentDispositionFileName, wrDownloadBlob, wrRestoreFocus, WrWatchColorSchemeOptions, WrColorScheme, wrRandomId, wrNoop, wrDebounce, wrThrottle, WrDebouncedFn, WrThrottledFn, WR_KEYS, WR_KEY_LABELS, wrHasModifier, wrIsComposing, wrIsPrintableKey, WrKey, wrBadgeError, wrBadgeLog, wrBadgeWarn, wrInitials, WrInitialsOptions, WrInitialsOrder, WrInitialsStyle, WR_LIVE_LOCALE, wrFeature, WrFeature, wrAction, wrKeyedAction, wrResourceValue, WrAction, WrActionStatus, WrKeyedAction
|
|
1303
|
+
- Small helpers: coercion (`wrNumAttr`), DOM and keyboard guards, maths, ids, `wrDebounce` / `wrThrottle`, `wrResolveCssColor`, and the shared types `WrMaybe` and `WrSafeAny`.
|
|
1273
1304
|
|
|
1274
1305
|
## ngwr/utils/router
|
|
1275
1306
|
- import: `import { wrQueryParam } from 'ngwr/utils/router'`
|
|
1276
|
-
- exports: wrQueryParam, WrQueryParamOptions, WrQueryParamStringOptions
|
|
1307
|
+
- exports: wrQueryParam, withRenderOnNavigation, WrQueryParamOptions, WrQueryParamStringOptions
|
|
1277
1308
|
- `wrQueryParam(name, options?)`, a writable signal linked to one query parameter: follows the address, writes it on `set`, one navigation per task, the default left out. A string needs no options; any other type needs `default`, `parse` and `serialize`.
|
|
1278
1309
|
|
|
1279
1310
|
## ngwr/validators
|
package/llms.txt
CHANGED
|
@@ -48,7 +48,7 @@ Requires Angular 22.2 or a later 22.x: the `@angular/*` peers are `^22.2.0` (`@a
|
|
|
48
48
|
range in a release once CI has run the suite on it. Optional: `@angular/router`,
|
|
49
49
|
which `wr-sidebar`, a breadcrumb `routerLink` and the two router adapters need,
|
|
50
50
|
and the eight `prosemirror-*` packages that only `ngwr/editor` imports. Icon
|
|
51
|
-
sets such as `lucide` are not peers, since `
|
|
51
|
+
sets such as `lucide` are not peers, since `wrLucideIcons()` and `wrSvgIcon()` take
|
|
52
52
|
the icon data. Outside that range npm refuses the install with `ERESOLVE`, while
|
|
53
53
|
pnpm and yarn only warn; on Angular 21 or older the `ng build` then fails in the
|
|
54
54
|
linker with `Unsupported enum value for [object Object]`. There is no `engines`
|
|
@@ -71,8 +71,8 @@ one. Mind the ones that do not match the selector: `<wr-btn>` and
|
|
|
71
71
|
`<wr-btn-group>` are `ngwr/button`, `<wr-tag>` is `ngwr/badge`, `<wr-option>` is
|
|
72
72
|
`ngwr/select`, `<wr-accordion>` is `ngwr/collapse`, `<wr-form-field>` is
|
|
73
73
|
`ngwr/form`, `<wr-kbd>` is `ngwr/keyboard`, `<wr-count-up>` is `ngwr/counter`,
|
|
74
|
-
and `[wrAutofocus]`, `[wrAutosize]`, `[wrClickOutside]
|
|
75
|
-
`[wrCopyToClipboard]` are `ngwr/directives`.
|
|
74
|
+
and `[wrAutofocus]`, `[wrAutosize]`, `[wrClickOutside]`,
|
|
75
|
+
`[wrCopyToClipboard]` and `[wrFitText]` are `ngwr/directives`.
|
|
76
76
|
|
|
77
77
|
Styles: in your global SCSS, `@use 'ngwr/theme'` first, then one
|
|
78
78
|
`@use 'ngwr/<name>'` per component a template renders; there is no
|
|
@@ -141,9 +141,9 @@ The rest are calls of their own, added from their entry points as needed:
|
|
|
141
141
|
and `--wr-keyboard-inset` went with it; read `window.visualViewport` for the
|
|
142
142
|
keyboard inset. Overlays always float; a sheet on a phone is a
|
|
143
143
|
`<wr-drawer position="bottom">` you open yourself.
|
|
144
|
-
- `provideWrIcons(
|
|
145
|
-
which holds `
|
|
146
|
-
its raw SVG with `
|
|
144
|
+
- `provideWrIcons(wrLucideIcons({ check: Check }))` — icon registry (`ngwr/icon`,
|
|
145
|
+
which holds `wrLucideIcons()` too; every other set, feather included, registers
|
|
146
|
+
its raw SVG with `wrSvgIcon()`).
|
|
147
147
|
- `ngwr/config` and `provideWrConfig()` are gone (v15): `size` and `rounded`
|
|
148
148
|
default to the value written on the input. Bind them where you want another
|
|
149
149
|
value, or wrap the component in your own.
|
|
@@ -154,9 +154,12 @@ The rest are calls of their own, added from their entry points as needed:
|
|
|
154
154
|
last, and the other side's keys stop resolving with nothing logged — ngwr's
|
|
155
155
|
components fall back to English and a `wrT` read renders the raw key.
|
|
156
156
|
- Calendar, event calendar and date-picker need no date provider:
|
|
157
|
-
`WrDateAdapter` resolves to the native adapter (`Date` + `Intl
|
|
158
|
-
`
|
|
159
|
-
|
|
157
|
+
`WrDateAdapter` resolves to the native adapter (`Date` + `Intl`). It writes in
|
|
158
|
+
the interface language of `provideWrI18n()` and follows `WrI18n.use()`, or in
|
|
159
|
+
`LOCALE_ID` without it. `provideWr(withDates({ locale }))` (`ngwr/date`) pins
|
|
160
|
+
another locale, and `withDates({ timeZone })` sets the zone instants are
|
|
161
|
+
shown in: an IANA name, an offset, or a function returning one. A date-only
|
|
162
|
+
value does not shift. For another date library, extend `WrDateAdapter` and pass the class as
|
|
160
163
|
`withDates({ adapter })`. Its `format` and `parse` handle every `WrDateFormat`
|
|
161
164
|
key, including the `12h`, `24h` and `Seconds` variants of `time` and
|
|
162
165
|
`shortDateTime` (`time24h`, `shortDateTime12hSeconds`) that v15 added.
|
|
@@ -194,11 +197,29 @@ half is where the silent failures are. Every breaking change, newest first, each
|
|
|
194
197
|
with a diff: https://ngwr.dev/docs/migration
|
|
195
198
|
|
|
196
199
|
Names older majors used, which code written for them (and a model trained on
|
|
197
|
-
that code) still spells. Each major's migration rewrites them
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
https://ngwr.dev/docs/migration is the complete
|
|
200
|
+
that code) still spells. Each major's migration rewrites them: `ng update ngwr`
|
|
201
|
+
runs `migration-v15`, which moves the paths, the provider calls, the readable
|
|
202
|
+
`-rgb` reads and the renamed token reads, and lists the rest, then
|
|
203
|
+
`migration-v16`, which renames the unprefixed exports. The lists below are the
|
|
204
|
+
ones an agent most often meets; https://ngwr.dev/docs/migration is the complete
|
|
205
|
+
list.
|
|
206
|
+
|
|
207
|
+
- v16, names: every public function, constant and type carries the prefix. A
|
|
208
|
+
function takes `wr` and a capital (`clamp` is `wrClamp`, `isDefined` is
|
|
209
|
+
`wrIsDefined`, `resolveCssColor` is `wrResolveCssColor`, `lucideIcons` and
|
|
210
|
+
`svgIcon` are `wrLucideIcons` and `wrSvgIcon`, `readI18nText` is
|
|
211
|
+
`wrReadI18nText`), a constant `WR_` (`KEYS` is `WR_KEYS`,
|
|
212
|
+
`DEFAULT_TOAST_CONFIG` is `DEFAULT_WR_TOAST_CONFIG`), a type `Wr` (`Maybe` is
|
|
213
|
+
`WrMaybe`, `SafeAny` is `WrSafeAny`). No alias is left. `provide*`, `with*`,
|
|
214
|
+
`use*` and `inject*` names are unchanged. `ngwr/animations/core` is gone:
|
|
215
|
+
import an effect from `ngwr/animations/<name>`.
|
|
216
|
+
|
|
217
|
+
- v16, inputs: the toast option `dismissible` is `closable`. `showLabel` on
|
|
218
|
+
`<wr-slider>` is `showValue`. `showLabel` and `hideLabel` on
|
|
219
|
+
`<wr-password-toggle>` are `showPasswordLabel` and `hidePasswordLabel`.
|
|
220
|
+
`WrToastHarness.isDismissible()` is `isClosable()`. `isOpen` on `WrPopover`,
|
|
221
|
+
`WrDropdown` and `WrPopconfirm` is a read-only signal: call `open()`,
|
|
222
|
+
`close()` or `toggle()`, never `isOpen.set()`.
|
|
202
223
|
|
|
203
224
|
- v15, providers: `provideWrDensity`, `provideWrToastConfig`,
|
|
204
225
|
`provideWrStorage`, `provideWrMeta`, `provideWrTheme` and
|
|
@@ -216,10 +237,10 @@ https://ngwr.dev/docs/migration is the complete list.
|
|
|
216
237
|
- v15, paths: every chart entry point is nested, so
|
|
217
238
|
`ngwr/bar-chart` is `ngwr/charts/bar-chart`; `ngwr/drag-drop` is `ngwr/sortable-list`, and the list no
|
|
218
239
|
longer owns its loop — write your own, one `<wr-sortable-item>` per row, with
|
|
219
|
-
no `trackBy`; `ngwr/icon/adapters/lucide` is `ngwr/icon` (
|
|
220
|
-
`
|
|
240
|
+
no `trackBy`; `ngwr/icon/adapters/lucide` is `ngwr/icon` (v16 names them
|
|
241
|
+
`wrLucideIcons`, `wrLucide` and `WrLucideIconNode`). Gone outright:
|
|
221
242
|
`ngwr/icon/adapters/feather` (register feather's own SVG files with
|
|
222
|
-
`
|
|
243
|
+
`wrSvgIcon()`); `ngwr/date/adapters/fns` and `ngwr/date/adapters/luxon` (use the
|
|
223
244
|
native adapter or your own `WrDateAdapter` subclass, and note that a date-fns
|
|
224
245
|
token `[format]` such as `EEEE` or `PPP` prints verbatim on the native one);
|
|
225
246
|
`ngwr/config`; `ngwr/media` (use the CDK's `BreakpointObserver`);
|
|
@@ -304,9 +325,9 @@ Changes no migration rewrites. All but the last fail silently:
|
|
|
304
325
|
- `[id]` on `<wr-checkbox>`, `<wr-radio>` and `<wr-switch>` goes to the inner
|
|
305
326
|
`<input>` rather than the host (v13), so a `wr-checkbox#agree` selector stops
|
|
306
327
|
matching. `#agree` alone still works.
|
|
307
|
-
- `
|
|
328
|
+
- `wrLucideIcons()` registers its keys verbatim (v9): `{ chevronDown: ChevronDown }`
|
|
308
329
|
is no longer found as `chevron-down`, so quote multi-word keys.
|
|
309
|
-
- `
|
|
330
|
+
- `wrReadI18nText()` returns a `Signal<string>` (v12). This one is loud: the
|
|
310
331
|
compiler names every call site that needs a `()`.
|
|
311
332
|
|
|
312
333
|
The router adapters, the `LOCALE_ID` default and the stricter date parsing, all
|
|
@@ -435,7 +456,8 @@ before writing your own. Full catalog: https://ngwr.dev/reference/components.
|
|
|
435
456
|
`provideWrLoadingBarRouter()` (`ngwr/loading-bar/router`), and it does NOT
|
|
436
457
|
throw — without the provider the bar simply never moves.
|
|
437
458
|
- **i18n** — `{{ 'key' | wrT }}` (pipe from `ngwr/i18n`). The locale defaults to
|
|
438
|
-
Angular's `LOCALE_ID`, not the browser, for both copy and dates
|
|
459
|
+
Angular's `LOCALE_ID`, not the browser, for both copy and dates, and
|
|
460
|
+
`WrI18n.use()` moves both at runtime; an app that
|
|
439
461
|
wants the browser's tag writes
|
|
440
462
|
`provideWr(withDates({ locale: navigator.language }))`. A named date format
|
|
441
463
|
(`shortDate`, `time`, …) parses through the same `Intl` formatter that printed
|
|
@@ -460,8 +482,8 @@ before writing your own. Full catalog: https://ngwr.dev/reference/components.
|
|
|
460
482
|
`rgba(var(--wr-color-primary-rgb), 0.12)`. A canvas cannot draw a
|
|
461
483
|
`light-dark()` value, and `getPropertyValue()` returns it unresolved, so read
|
|
462
484
|
a colour for canvas from an element's computed `color` —
|
|
463
|
-
`
|
|
464
|
-
frame from `
|
|
485
|
+
`wrResolveCssColor()` (`ngwr/utils`) does exactly that — and redraw a still
|
|
486
|
+
frame from `wrWatchColorScheme(scheme => …)` (`ngwr/utils`, in an injection
|
|
465
487
|
context or with `{ injector }`), which calls back with `'light'` or `'dark'`
|
|
466
488
|
when the page's scheme changes. Two contrast tokens
|
|
467
489
|
per intent, easy to confuse:
|
|
@@ -558,7 +580,7 @@ TypeScript, the `.wr-*` BEM class names (every component ships
|
|
|
558
580
|
TSDoc means not API and survives into the published types, so
|
|
559
581
|
`grep -rn "@internal" node_modules/ngwr/types` answers it. A few helpers are
|
|
560
582
|
exported, unmarked and undocumented — `wrAppendOverlayClose`, `wrMirrorOffsets`,
|
|
561
|
-
`wrFollowDirection`, `WrOutsideClick`, `useFormFieldAria`, `
|
|
583
|
+
`wrFollowDirection`, `WrOutsideClick`, `useFormFieldAria`, `wrIsSafeCssValue`, and
|
|
562
584
|
a handful of `WR_*` context tokens such as `WR_STEPPER` —
|
|
563
585
|
and carry no stability statement; do not build on them.
|
|
564
586
|
|
package/mcp/providers.js
CHANGED
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
const REQUIRED_PROVIDERS = [
|
|
8
8
|
{
|
|
9
9
|
test: /^WrIcon/,
|
|
10
|
-
provider: "provideWrIcons(
|
|
10
|
+
provider: "provideWrIcons(wrLucideIcons({ … })) // from 'ngwr/icon'",
|
|
11
11
|
why: 'icons resolve by name from a registry you populate',
|
|
12
12
|
},
|
|
13
13
|
{
|
package/package.json
CHANGED
|
@@ -45,15 +45,15 @@
|
|
|
45
45
|
"@angular/forms": "^22.2.0",
|
|
46
46
|
"@angular/platform-browser": "^22.2.0",
|
|
47
47
|
"@angular/router": "^22.2.0",
|
|
48
|
-
"rxjs": "^7.
|
|
48
|
+
"rxjs": "^7.8.2",
|
|
49
49
|
"prosemirror-commands": "^1.7.2",
|
|
50
|
-
"prosemirror-history": "^1.5.
|
|
50
|
+
"prosemirror-history": "^1.5.1",
|
|
51
51
|
"prosemirror-inputrules": "^1.5.1",
|
|
52
52
|
"prosemirror-keymap": "^1.2.3",
|
|
53
|
-
"prosemirror-model": "^1.25.
|
|
54
|
-
"prosemirror-schema-list": "^1.
|
|
53
|
+
"prosemirror-model": "^1.25.13",
|
|
54
|
+
"prosemirror-schema-list": "^1.6.0",
|
|
55
55
|
"prosemirror-state": "^1.4.4",
|
|
56
|
-
"prosemirror-view": "^1.42.
|
|
56
|
+
"prosemirror-view": "^1.42.9"
|
|
57
57
|
},
|
|
58
58
|
"peerDependenciesMeta": {
|
|
59
59
|
"@angular/router": {
|
|
@@ -143,10 +143,6 @@
|
|
|
143
143
|
"sass": "./animations/confetti/styles/_index.scss",
|
|
144
144
|
"default": "./fesm2022/ngwr-animations-confetti.mjs"
|
|
145
145
|
},
|
|
146
|
-
"./animations/core": {
|
|
147
|
-
"types": "./types/ngwr-animations-core.d.ts",
|
|
148
|
-
"default": "./fesm2022/ngwr-animations-core.mjs"
|
|
149
|
-
},
|
|
150
146
|
"./animations/decode": {
|
|
151
147
|
"types": "./types/ngwr-animations-decode.d.ts",
|
|
152
148
|
"sass": "./animations/decode/styles/_index.scss",
|
|
@@ -532,6 +528,15 @@
|
|
|
532
528
|
"types": "./types/ngwr-cookie.d.ts",
|
|
533
529
|
"default": "./fesm2022/ngwr-cookie.mjs"
|
|
534
530
|
},
|
|
531
|
+
"./copy-value": {
|
|
532
|
+
"types": "./types/ngwr-copy-value.d.ts",
|
|
533
|
+
"sass": "./copy-value/styles/_index.scss",
|
|
534
|
+
"default": "./fesm2022/ngwr-copy-value.mjs"
|
|
535
|
+
},
|
|
536
|
+
"./copy-value/testing": {
|
|
537
|
+
"types": "./types/ngwr-copy-value-testing.d.ts",
|
|
538
|
+
"default": "./fesm2022/ngwr-copy-value-testing.mjs"
|
|
539
|
+
},
|
|
535
540
|
"./counter": {
|
|
536
541
|
"types": "./types/ngwr-counter.d.ts",
|
|
537
542
|
"sass": "./counter/styles/_index.scss",
|
|
@@ -550,6 +555,15 @@
|
|
|
550
555
|
"types": "./types/ngwr-date-picker-testing.d.ts",
|
|
551
556
|
"default": "./fesm2022/ngwr-date-picker-testing.mjs"
|
|
552
557
|
},
|
|
558
|
+
"./date-stamp": {
|
|
559
|
+
"types": "./types/ngwr-date-stamp.d.ts",
|
|
560
|
+
"sass": "./date-stamp/styles/_index.scss",
|
|
561
|
+
"default": "./fesm2022/ngwr-date-stamp.mjs"
|
|
562
|
+
},
|
|
563
|
+
"./date-stamp/testing": {
|
|
564
|
+
"types": "./types/ngwr-date-stamp-testing.d.ts",
|
|
565
|
+
"default": "./fesm2022/ngwr-date-stamp-testing.mjs"
|
|
566
|
+
},
|
|
553
567
|
"./density": {
|
|
554
568
|
"types": "./types/ngwr-density.d.ts",
|
|
555
569
|
"sass": "./density/styles/_index.scss",
|
|
@@ -924,6 +938,11 @@
|
|
|
924
938
|
"types": "./types/ngwr-rating-testing.d.ts",
|
|
925
939
|
"default": "./fesm2022/ngwr-rating-testing.mjs"
|
|
926
940
|
},
|
|
941
|
+
"./resizable": {
|
|
942
|
+
"types": "./types/ngwr-resizable.d.ts",
|
|
943
|
+
"sass": "./resizable/styles/_index.scss",
|
|
944
|
+
"default": "./fesm2022/ngwr-resizable.mjs"
|
|
945
|
+
},
|
|
927
946
|
"./result": {
|
|
928
947
|
"types": "./types/ngwr-result.d.ts",
|
|
929
948
|
"sass": "./result/styles/_index.scss",
|
|
@@ -1163,5 +1182,5 @@
|
|
|
1163
1182
|
"sass": "./styles/_typography.scss"
|
|
1164
1183
|
}
|
|
1165
1184
|
},
|
|
1166
|
-
"version": "
|
|
1185
|
+
"version": "16.1.0"
|
|
1167
1186
|
}
|
package/radio/styles/_index.scss
CHANGED
|
@@ -97,13 +97,15 @@
|
|
|
97
97
|
}
|
|
98
98
|
|
|
99
99
|
// Sizes — dot, label font + line-height scale together.
|
|
100
|
-
&--sm
|
|
100
|
+
&--sm,
|
|
101
|
+
&:where([size='sm']) {
|
|
101
102
|
--wr-radio-size: 1rem; // 16px
|
|
102
103
|
--wr-radio-font-size: var(--wr-text-xs);
|
|
103
104
|
--wr-radio-line-height: var(--wr-control-line-height-sm);
|
|
104
105
|
}
|
|
105
106
|
|
|
106
|
-
&--lg
|
|
107
|
+
&--lg,
|
|
108
|
+
&:where([size='lg']) {
|
|
107
109
|
--wr-radio-size: 1.25rem; // 20px
|
|
108
110
|
--wr-radio-font-size: var(--wr-text-base);
|
|
109
111
|
--wr-radio-line-height: var(--wr-control-line-height-lg);
|
|
@@ -0,0 +1,154 @@
|
|
|
1
|
+
@use '../../theme/styles' as theme;
|
|
2
|
+
@include theme.loaded('resizable');
|
|
3
|
+
|
|
4
|
+
.wr-resizable {
|
|
5
|
+
--wr-resizable-handle-size: var(--wr-space-sm);
|
|
6
|
+
--wr-resizable-handle-hover-bg: var(--wr-color-primary-soft);
|
|
7
|
+
--wr-resizable-line-size: 1px;
|
|
8
|
+
--wr-resizable-line-color: var(--wr-border-subtle);
|
|
9
|
+
--wr-resizable-line-active-color: var(--wr-color-primary);
|
|
10
|
+
--wr-resizable-grip-length: 2rem;
|
|
11
|
+
--wr-resizable-grip-thickness: var(--wr-space-xs);
|
|
12
|
+
--wr-resizable-grip-color: var(--wr-border-base);
|
|
13
|
+
--wr-resizable-grip-active-color: var(--wr-color-primary);
|
|
14
|
+
--wr-resizable-grip-radius: var(--wr-border-radius-pill);
|
|
15
|
+
|
|
16
|
+
// The content of a box with no size must not hang out of it. Padding and
|
|
17
|
+
// borders are the host's own and stay, so a host that has them keeps them on
|
|
18
|
+
// an inner element.
|
|
19
|
+
&--collapsed {
|
|
20
|
+
overflow: hidden;
|
|
21
|
+
min-width: 0;
|
|
22
|
+
min-height: 0;
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
// A strip INSIDE the host, flush with the edge, so a host that clips its
|
|
26
|
+
// overflow keeps the whole of it. The line is drawn on the edge itself.
|
|
27
|
+
&__handle {
|
|
28
|
+
position: absolute;
|
|
29
|
+
z-index: 1;
|
|
30
|
+
display: flex;
|
|
31
|
+
align-items: center;
|
|
32
|
+
justify-content: center;
|
|
33
|
+
outline: 0;
|
|
34
|
+
// Own the drag gesture: without this a coarse pointer can hand the drag to
|
|
35
|
+
// the browser as a pan and fire pointercancel mid-drag.
|
|
36
|
+
touch-action: none;
|
|
37
|
+
transition: background-color var(--wr-transition-base);
|
|
38
|
+
|
|
39
|
+
// Coarse pointers: a 44px tap area centred on the strip.
|
|
40
|
+
@include theme.touch-target($positioned: true);
|
|
41
|
+
|
|
42
|
+
&::before {
|
|
43
|
+
content: '';
|
|
44
|
+
position: absolute;
|
|
45
|
+
background: var(--wr-resizable-line-color);
|
|
46
|
+
transition: background-color var(--wr-transition-base);
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
&:hover,
|
|
50
|
+
&:focus-visible {
|
|
51
|
+
background: var(--wr-resizable-handle-hover-bg);
|
|
52
|
+
|
|
53
|
+
&::before {
|
|
54
|
+
background: var(--wr-resizable-line-active-color);
|
|
55
|
+
}
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
&:focus-visible {
|
|
59
|
+
@include theme.focus-ring;
|
|
60
|
+
// Inside the host, which may clip: an outset ring would be cut off.
|
|
61
|
+
outline-offset: calc(-1 * var(--wr-focus-ring-width));
|
|
62
|
+
}
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
&__grip {
|
|
66
|
+
flex: 0 0 auto;
|
|
67
|
+
background: var(--wr-resizable-grip-color);
|
|
68
|
+
border-radius: var(--wr-resizable-grip-radius);
|
|
69
|
+
transition: background-color var(--wr-transition-base);
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
&__handle:hover &__grip,
|
|
73
|
+
&__handle:focus-visible &__grip {
|
|
74
|
+
background: var(--wr-resizable-grip-active-color);
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
&--start > &__handle,
|
|
78
|
+
&--end > &__handle {
|
|
79
|
+
inset-block: 0;
|
|
80
|
+
width: var(--wr-resizable-handle-size);
|
|
81
|
+
cursor: col-resize;
|
|
82
|
+
|
|
83
|
+
&::before {
|
|
84
|
+
inset-block: 0;
|
|
85
|
+
width: var(--wr-resizable-line-size);
|
|
86
|
+
}
|
|
87
|
+
}
|
|
88
|
+
|
|
89
|
+
&--start > &__handle,
|
|
90
|
+
&--start > &__handle::before {
|
|
91
|
+
inset-inline-start: 0;
|
|
92
|
+
}
|
|
93
|
+
|
|
94
|
+
&--end > &__handle,
|
|
95
|
+
&--end > &__handle::before {
|
|
96
|
+
inset-inline-end: 0;
|
|
97
|
+
}
|
|
98
|
+
|
|
99
|
+
&--top > &__handle,
|
|
100
|
+
&--bottom > &__handle {
|
|
101
|
+
inset-inline: 0;
|
|
102
|
+
height: var(--wr-resizable-handle-size);
|
|
103
|
+
cursor: row-resize;
|
|
104
|
+
|
|
105
|
+
&::before {
|
|
106
|
+
inset-inline: 0;
|
|
107
|
+
height: var(--wr-resizable-line-size);
|
|
108
|
+
}
|
|
109
|
+
}
|
|
110
|
+
|
|
111
|
+
&--top > &__handle,
|
|
112
|
+
&--top > &__handle::before {
|
|
113
|
+
// rtl-ok: the block axis, which `dir` does not mirror.
|
|
114
|
+
top: 0;
|
|
115
|
+
}
|
|
116
|
+
|
|
117
|
+
&--bottom > &__handle,
|
|
118
|
+
&--bottom > &__handle::before {
|
|
119
|
+
// rtl-ok: the block axis, which `dir` does not mirror.
|
|
120
|
+
bottom: 0;
|
|
121
|
+
}
|
|
122
|
+
|
|
123
|
+
&--start > &__handle > &__grip,
|
|
124
|
+
&--end > &__handle > &__grip {
|
|
125
|
+
width: var(--wr-resizable-grip-thickness);
|
|
126
|
+
height: var(--wr-resizable-grip-length);
|
|
127
|
+
}
|
|
128
|
+
|
|
129
|
+
&--top > &__handle > &__grip,
|
|
130
|
+
&--bottom > &__handle > &__grip {
|
|
131
|
+
width: var(--wr-resizable-grip-length);
|
|
132
|
+
height: var(--wr-resizable-grip-thickness);
|
|
133
|
+
}
|
|
134
|
+
|
|
135
|
+
&--collapsed > &__handle {
|
|
136
|
+
visibility: hidden;
|
|
137
|
+
}
|
|
138
|
+
|
|
139
|
+
&--disabled > &__handle {
|
|
140
|
+
cursor: not-allowed;
|
|
141
|
+
|
|
142
|
+
&:hover {
|
|
143
|
+
background: transparent;
|
|
144
|
+
|
|
145
|
+
&::before {
|
|
146
|
+
background: var(--wr-resizable-line-color);
|
|
147
|
+
}
|
|
148
|
+
}
|
|
149
|
+
}
|
|
150
|
+
|
|
151
|
+
&--disabled > &__handle:hover > &__grip {
|
|
152
|
+
background: var(--wr-resizable-grip-color);
|
|
153
|
+
}
|
|
154
|
+
}
|