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
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
// `<wr-aurora />`: a curtain of light hanging from one edge of a section,
|
|
5
5
|
// like an aurora, behind the section's content. The component paints one
|
|
6
6
|
// WebGL canvas and reads its three stops and the surface back from the hooks
|
|
7
|
-
// below through `
|
|
7
|
+
// below through `wrResolveCssColorChannels`, so a retheme and a scheme switch
|
|
8
8
|
// both reach the pixels. How bright it is, how far it reaches and how it
|
|
9
9
|
// moves are inputs and the shader's numbers, not the sheet's.
|
|
10
10
|
.wr-aurora {
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
|
|
4
4
|
// `<wr-dot-grid />`: an even field of small, faint dots behind a section's
|
|
5
5
|
// content. The component paints one canvas and reads its two colours back
|
|
6
|
-
// from the hooks below through `
|
|
6
|
+
// from the hooks below through `wrResolveCssColorChannels`, so a retheme and a
|
|
7
7
|
// scheme switch both reach the pixels. The strengths (how much of each colour
|
|
8
8
|
// a dot shows at rest and lit) and the dot sizes live in `dot-grid.ts`: they
|
|
9
9
|
// are the canvas's numbers, not the sheet's.
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
// `<wr-flow-lines />`: a dense field of thin parallel lines behind a section's
|
|
5
5
|
// content, bent in slow waves and pushed aside round the pointer. The component
|
|
6
6
|
// paints one WebGL canvas and reads its two colours and the surface back from
|
|
7
|
-
// the hooks below through `
|
|
7
|
+
// the hooks below through `wrResolveCssColorChannels`, so a retheme and a scheme
|
|
8
8
|
// switch both reach the pixels. How much of a colour a line lays and its
|
|
9
9
|
// thickness live in the component and its shader: they are the canvas's
|
|
10
10
|
// numbers, not the sheet's.
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
// `<wr-fluid-cursor />`: coloured ink behind a region's content, stirred by
|
|
5
5
|
// the pointer and gone a few seconds later. The component paints one WebGL
|
|
6
6
|
// canvas and reads its palette back from the hooks below through
|
|
7
|
-
// `
|
|
7
|
+
// `wrResolveCssColorChannels`, so a retheme and a scheme switch both reach the
|
|
8
8
|
// pixels. How the ink covers the surface (as ink on a light one, lifted on a
|
|
9
9
|
// dark one) and the splat sizes live in the component and its model: they
|
|
10
10
|
// are the canvas's numbers, not the sheet's.
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
// Sass shared by the animation sheets. Not a public entry: there is no
|
|
2
|
-
// `styles/_index.scss` here, so `@use 'ngwr/animations/
|
|
2
|
+
// `styles/_index.scss` here, so `@use 'ngwr/animations/internal'` resolves to
|
|
3
3
|
// nothing and the manifest carries no `sass` condition for it. An effect's own
|
|
4
4
|
// `_index.scss` loads this file by its relative path.
|
|
5
5
|
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
// `<wr-ripple-grid />`: a faint square grid of thin lines behind a page's
|
|
5
5
|
// content, that ripples out from a click. The component paints one canvas and
|
|
6
6
|
// reads its two colours back from the hooks below through
|
|
7
|
-
// `
|
|
7
|
+
// `wrResolveCssColorChannels`, so a retheme and a scheme switch both reach the
|
|
8
8
|
// pixels. The strengths (how much of each colour a line shows at rest and lit)
|
|
9
9
|
// and the line width live in `ripple-grid.ts`: they are the canvas's numbers,
|
|
10
10
|
// not the sheet's.
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
// a cord at one end and frayed apart at the other, riding slow waves and
|
|
6
6
|
// parting round the pointer. The component paints one WebGL canvas and reads
|
|
7
7
|
// its two colours and the surface back from the hooks below through
|
|
8
|
-
// `
|
|
8
|
+
// `wrResolveCssColorChannels`, so a retheme and a scheme switch both reach the
|
|
9
9
|
// pixels. How much of a colour a strand lays, its glow and its thickness live
|
|
10
10
|
// in the component and its shader: they are the canvas's numbers, not the
|
|
11
11
|
// sheet's.
|
package/badge/styles/_tag.scss
CHANGED
|
@@ -50,7 +50,8 @@
|
|
|
50
50
|
transition: var(--wr-transition-base);
|
|
51
51
|
|
|
52
52
|
// Shape
|
|
53
|
-
&--rounded
|
|
53
|
+
&--rounded,
|
|
54
|
+
&:where([rounded]:not([rounded='false'])) {
|
|
54
55
|
--wr-tag-radius: var(--wr-border-radius-pill);
|
|
55
56
|
--wr-tag-padding-x: var(--wr-space-md);
|
|
56
57
|
}
|
|
@@ -77,7 +78,8 @@
|
|
|
77
78
|
|
|
78
79
|
// Colored variants
|
|
79
80
|
@each $name in theme.$colors {
|
|
80
|
-
&--#{$name}
|
|
81
|
+
&--#{$name},
|
|
82
|
+
&:where([color='#{$name}']) {
|
|
81
83
|
--wr-tag-color: var(--wr-color-#{$name}-contrast);
|
|
82
84
|
--wr-tag-bg: var(--wr-color-#{$name});
|
|
83
85
|
--wr-tag-border: var(--wr-color-#{$name});
|
|
@@ -88,13 +90,15 @@
|
|
|
88
90
|
// whole visual change here. The 6% fill stays, and that is the one place
|
|
89
91
|
// the two deliberately differ: a tag is a chip you can click, hover and
|
|
90
92
|
// dismiss, so it keeps a body the badge has none of.
|
|
91
|
-
&.wr-tag--outlined
|
|
93
|
+
&.wr-tag--outlined,
|
|
94
|
+
&:where([outlined]:not([outlined='false'])) {
|
|
92
95
|
--wr-tag-color: var(--wr-color-#{$name}-ink);
|
|
93
96
|
--wr-tag-bg: color-mix(in srgb, var(--wr-color-#{$name}) 6%, transparent);
|
|
94
97
|
--wr-tag-border: var(--wr-color-#{$name}-soft-border);
|
|
95
98
|
}
|
|
96
99
|
|
|
97
|
-
&.wr-tag--transparent
|
|
100
|
+
&.wr-tag--transparent,
|
|
101
|
+
&:where([transparent]:not([transparent='false'])) {
|
|
98
102
|
--wr-tag-color: var(--wr-color-#{$name}-ink);
|
|
99
103
|
--wr-tag-bg: color-mix(in srgb, var(--wr-color-#{$name}) 10%, transparent);
|
|
100
104
|
--wr-tag-border: transparent;
|
|
@@ -141,7 +141,7 @@
|
|
|
141
141
|
//
|
|
142
142
|
// `block` is excluded — it is width:100% by contract, and squaring it would
|
|
143
143
|
// turn a full-width button into a giant tile.
|
|
144
|
-
&:has(> &__label:empty):not(&--block) {
|
|
144
|
+
&:has(> &__label:empty):not(&--block, &:where([block]:not([block='false']))) {
|
|
145
145
|
padding-inline: calc(var(--wr-btn-padding-y) * var(--wr-density-y, 1));
|
|
146
146
|
|
|
147
147
|
.wr-btn__icon {
|
|
@@ -175,7 +175,8 @@
|
|
|
175
175
|
// three `--wr-control-*-sm` tokens are shared so button, input and select line
|
|
176
176
|
// up in a row, and 22px is the number `/guides/tokens/sizing` publishes.
|
|
177
177
|
// Space the targets, or use `md` where they sit together.
|
|
178
|
-
&--sm
|
|
178
|
+
&--sm,
|
|
179
|
+
&:where([size='sm']) {
|
|
179
180
|
--wr-btn-radius: var(--wr-control-radius-sm);
|
|
180
181
|
--wr-btn-gap: var(--wr-space-xs);
|
|
181
182
|
--wr-btn-padding-y: var(--wr-control-padding-y-sm);
|
|
@@ -185,7 +186,8 @@
|
|
|
185
186
|
--wr-btn-icon-size: 0.875rem; // 14px
|
|
186
187
|
}
|
|
187
188
|
|
|
188
|
-
&--lg
|
|
189
|
+
&--lg,
|
|
190
|
+
&:where([size='lg']) {
|
|
189
191
|
--wr-btn-radius: var(--wr-control-radius-lg);
|
|
190
192
|
--wr-btn-gap: var(--wr-space-md);
|
|
191
193
|
--wr-btn-padding-y: var(--wr-control-padding-y-lg);
|
|
@@ -217,7 +219,8 @@
|
|
|
217
219
|
}
|
|
218
220
|
|
|
219
221
|
// Layout
|
|
220
|
-
&--block
|
|
222
|
+
&--block,
|
|
223
|
+
&:where([block]:not([block='false'])) {
|
|
221
224
|
display: flex;
|
|
222
225
|
width: 100%;
|
|
223
226
|
}
|
|
@@ -249,7 +252,8 @@
|
|
|
249
252
|
// wherever a removed intent had been, and the docs page put the two side by
|
|
250
253
|
// side. Transparent rather than a tint: the border is the whole of what
|
|
251
254
|
// outlined means here, and the surface behind it belongs to the host.
|
|
252
|
-
&--outlined
|
|
255
|
+
&--outlined,
|
|
256
|
+
&:where([outlined]:not([outlined='false'])) {
|
|
253
257
|
--wr-btn-bg: transparent;
|
|
254
258
|
|
|
255
259
|
&:hover {
|
|
@@ -263,7 +267,8 @@
|
|
|
263
267
|
|
|
264
268
|
// Color variants
|
|
265
269
|
@each $name in theme.$colors {
|
|
266
|
-
&--#{$name}
|
|
270
|
+
&--#{$name},
|
|
271
|
+
&:where([color='#{$name}']) {
|
|
267
272
|
--wr-btn-color: var(--wr-color-#{$name}-contrast);
|
|
268
273
|
--wr-btn-bg: var(--wr-color-#{$name});
|
|
269
274
|
--wr-btn-border: var(--wr-color-#{$name});
|
|
@@ -278,7 +283,8 @@
|
|
|
278
283
|
--wr-btn-border: var(--wr-color-#{$name}-darker);
|
|
279
284
|
}
|
|
280
285
|
|
|
281
|
-
&.wr-btn--outlined
|
|
286
|
+
&.wr-btn--outlined,
|
|
287
|
+
&:where([outlined]:not([outlined='false'])) {
|
|
282
288
|
// `-ink`, not the bare intent. The label is TEXT on whatever surface the
|
|
283
289
|
// host gives the transparent button, and the bare token does not clear
|
|
284
290
|
// AA there: `#3567ff` on the dark canvas measures 4.06:1, and in light
|
|
@@ -73,7 +73,8 @@
|
|
|
73
73
|
}
|
|
74
74
|
|
|
75
75
|
// Sizes — trigger on the control contract (sm 22 / md 30 / lg 36).
|
|
76
|
-
&--sm
|
|
76
|
+
&--sm,
|
|
77
|
+
&:where([size='sm']) {
|
|
77
78
|
--wr-cascader-radius: var(--wr-control-radius-sm);
|
|
78
79
|
--wr-cascader-padding-y: var(--wr-control-padding-y-sm);
|
|
79
80
|
--wr-cascader-padding-x: var(--wr-control-padding-x-sm);
|
|
@@ -81,7 +82,8 @@
|
|
|
81
82
|
--wr-cascader-line-height: var(--wr-control-line-height-sm);
|
|
82
83
|
}
|
|
83
84
|
|
|
84
|
-
&--lg
|
|
85
|
+
&--lg,
|
|
86
|
+
&:where([size='lg']) {
|
|
85
87
|
--wr-cascader-radius: var(--wr-control-radius-lg);
|
|
86
88
|
--wr-cascader-padding-y: var(--wr-control-padding-y-lg);
|
|
87
89
|
--wr-cascader-padding-x: var(--wr-control-padding-x-lg);
|
|
@@ -100,14 +100,16 @@
|
|
|
100
100
|
}
|
|
101
101
|
|
|
102
102
|
// Sizes — box, radius, label font + line-height scale together.
|
|
103
|
-
&--sm
|
|
103
|
+
&--sm,
|
|
104
|
+
&:where([size='sm']) {
|
|
104
105
|
--wr-checkbox-size: 1rem; // 16px
|
|
105
106
|
--wr-checkbox-radius: var(--wr-control-radius-sm);
|
|
106
107
|
--wr-checkbox-font-size: var(--wr-text-xs);
|
|
107
108
|
--wr-checkbox-line-height: var(--wr-control-line-height-sm);
|
|
108
109
|
}
|
|
109
110
|
|
|
110
|
-
&--lg
|
|
111
|
+
&--lg,
|
|
112
|
+
&:where([size='lg']) {
|
|
111
113
|
--wr-checkbox-size: 1.25rem; // 20px
|
|
112
114
|
--wr-checkbox-radius: var(--wr-control-radius-lg);
|
|
113
115
|
--wr-checkbox-font-size: var(--wr-text-base);
|
|
@@ -0,0 +1,104 @@
|
|
|
1
|
+
@use '../../theme/styles' as theme;
|
|
2
|
+
|
|
3
|
+
@include theme.loaded('copy-value');
|
|
4
|
+
|
|
5
|
+
.wr-copy-value {
|
|
6
|
+
--wr-copy-value-gap: var(--wr-space-xs);
|
|
7
|
+
--wr-copy-value-empty-color: var(--wr-color-on-surface-muted);
|
|
8
|
+
--wr-copy-value-button-color: var(--wr-color-on-surface-muted);
|
|
9
|
+
--wr-copy-value-button-hover-color: var(--wr-color-on-surface);
|
|
10
|
+
--wr-copy-value-button-hover-bg: var(--wr-color-hover);
|
|
11
|
+
// A graphic, so the bare intent: `-ink` is for text.
|
|
12
|
+
--wr-copy-value-button-copied-color: var(--wr-color-success);
|
|
13
|
+
--wr-copy-value-button-padding: var(--wr-space-xs);
|
|
14
|
+
--wr-copy-value-button-radius: var(--wr-border-radius-sm);
|
|
15
|
+
|
|
16
|
+
// Relative, so the visually hidden status stays inside the host's box.
|
|
17
|
+
position: relative;
|
|
18
|
+
display: inline-flex;
|
|
19
|
+
align-items: center;
|
|
20
|
+
gap: var(--wr-copy-value-gap);
|
|
21
|
+
// Both, so the text can shrink below its content inside a flex or grid cell
|
|
22
|
+
// and never runs past the cell it sits in.
|
|
23
|
+
min-width: 0;
|
|
24
|
+
max-width: 100%;
|
|
25
|
+
vertical-align: bottom;
|
|
26
|
+
|
|
27
|
+
&__text {
|
|
28
|
+
flex: 0 1 auto;
|
|
29
|
+
min-width: 0;
|
|
30
|
+
overflow: hidden;
|
|
31
|
+
text-overflow: ellipsis;
|
|
32
|
+
white-space: nowrap;
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
&__empty {
|
|
36
|
+
color: var(--wr-copy-value-empty-color);
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
&__button {
|
|
40
|
+
flex: 0 0 auto;
|
|
41
|
+
display: inline-flex;
|
|
42
|
+
align-items: center;
|
|
43
|
+
justify-content: center;
|
|
44
|
+
appearance: none;
|
|
45
|
+
margin: 0;
|
|
46
|
+
padding: var(--wr-copy-value-button-padding);
|
|
47
|
+
border: 0;
|
|
48
|
+
border-radius: var(--wr-copy-value-button-radius);
|
|
49
|
+
background: transparent;
|
|
50
|
+
color: var(--wr-copy-value-button-color);
|
|
51
|
+
cursor: pointer;
|
|
52
|
+
// The glyph is `1em`, and a `<button>` takes the browser's control font
|
|
53
|
+
// unless the app resets it. The size only, never the `font` shorthand.
|
|
54
|
+
font-size: inherit;
|
|
55
|
+
transition:
|
|
56
|
+
color var(--wr-transition-base),
|
|
57
|
+
background-color var(--wr-transition-base);
|
|
58
|
+
|
|
59
|
+
@include theme.touch-target; // glyph -> 44px tap area on touch
|
|
60
|
+
|
|
61
|
+
&:hover {
|
|
62
|
+
color: var(--wr-copy-value-button-hover-color);
|
|
63
|
+
background: var(--wr-copy-value-button-hover-bg);
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
&:focus-visible {
|
|
67
|
+
@include theme.focus-ring;
|
|
68
|
+
}
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
&__icon {
|
|
72
|
+
display: block;
|
|
73
|
+
width: 1em;
|
|
74
|
+
height: 1em;
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
&__status {
|
|
78
|
+
position: absolute;
|
|
79
|
+
width: 1px;
|
|
80
|
+
height: 1px;
|
|
81
|
+
margin: -1px;
|
|
82
|
+
padding: 0;
|
|
83
|
+
overflow: hidden;
|
|
84
|
+
clip: rect(0, 0, 0, 0);
|
|
85
|
+
border: 0;
|
|
86
|
+
white-space: nowrap;
|
|
87
|
+
}
|
|
88
|
+
|
|
89
|
+
&--copied &__button,
|
|
90
|
+
&--copied &__button:hover {
|
|
91
|
+
color: var(--wr-copy-value-button-copied-color);
|
|
92
|
+
}
|
|
93
|
+
|
|
94
|
+
&--wrap {
|
|
95
|
+
// The button stays on the first line of a value that runs over several.
|
|
96
|
+
align-items: flex-start;
|
|
97
|
+
}
|
|
98
|
+
|
|
99
|
+
&--wrap &__text {
|
|
100
|
+
overflow: visible;
|
|
101
|
+
white-space: normal;
|
|
102
|
+
overflow-wrap: anywhere;
|
|
103
|
+
}
|
|
104
|
+
}
|
|
@@ -34,8 +34,18 @@
|
|
|
34
34
|
.wr-date-picker {
|
|
35
35
|
display: inline-block;
|
|
36
36
|
|
|
37
|
+
// A form field stretches the host, and the group is the box the user sees.
|
|
38
|
+
// Alone, the host shrink-wraps, so 100% is the group's content width again.
|
|
39
|
+
> .wr-input-group {
|
|
40
|
+
width: 100%;
|
|
41
|
+
}
|
|
42
|
+
|
|
37
43
|
// Inner button — same affix sizing rules as wr-input-group's toggle.
|
|
38
44
|
&__trigger {
|
|
45
|
+
// Box of the calendar / clock glyph. It follows the control's font size, the
|
|
46
|
+
// way the select chevron and the input-number steppers do.
|
|
47
|
+
--wr-date-picker-trigger-icon-size: var(--wr-control-font-size-md);
|
|
48
|
+
|
|
39
49
|
appearance: none;
|
|
40
50
|
background: transparent;
|
|
41
51
|
border: 0;
|
|
@@ -55,12 +65,106 @@
|
|
|
55
65
|
cursor: not-allowed;
|
|
56
66
|
opacity: var(--wr-disabled-opacity);
|
|
57
67
|
}
|
|
68
|
+
|
|
69
|
+
// CSS size, so it beats the markup's `width` / `height` attributes.
|
|
70
|
+
svg {
|
|
71
|
+
width: var(--wr-date-picker-trigger-icon-size);
|
|
72
|
+
height: var(--wr-date-picker-trigger-icon-size);
|
|
73
|
+
}
|
|
74
|
+
}
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
// The clear (×) both pickers draw between the last field and the trigger — the
|
|
78
|
+
// select's, in a group instead of a button.
|
|
79
|
+
.wr-date-picker__clear {
|
|
80
|
+
--wr-date-picker-clear-radius: var(--wr-border-radius-pill);
|
|
81
|
+
// The glyph is a bare `.wr-icon__svg`, which is `1em`.
|
|
82
|
+
--wr-date-picker-clear-icon-size: var(--wr-control-font-size-md);
|
|
83
|
+
|
|
84
|
+
flex: 0 0 auto;
|
|
85
|
+
align-self: center;
|
|
86
|
+
display: inline-flex;
|
|
87
|
+
align-items: center;
|
|
88
|
+
justify-content: center;
|
|
89
|
+
width: 1.125rem;
|
|
90
|
+
height: 1.125rem;
|
|
91
|
+
border-radius: var(--wr-date-picker-clear-radius);
|
|
92
|
+
color: var(--wr-color-on-surface-muted);
|
|
93
|
+
font-size: var(--wr-date-picker-clear-icon-size);
|
|
94
|
+
cursor: pointer;
|
|
95
|
+
transition:
|
|
96
|
+
background 0.12s ease,
|
|
97
|
+
color 0.12s ease;
|
|
98
|
+
|
|
99
|
+
&:hover {
|
|
100
|
+
background: color-mix(in srgb, var(--wr-color-on-surface) 6%, transparent);
|
|
101
|
+
color: var(--wr-color-on-surface);
|
|
102
|
+
}
|
|
103
|
+
}
|
|
104
|
+
|
|
105
|
+
// Touch pointers get a wider × that fills the field's height instead of growing it.
|
|
106
|
+
@media (pointer: coarse) {
|
|
107
|
+
.wr-date-picker__clear {
|
|
108
|
+
align-self: stretch;
|
|
109
|
+
width: 2rem;
|
|
110
|
+
height: auto;
|
|
111
|
+
}
|
|
112
|
+
}
|
|
113
|
+
|
|
114
|
+
// The field keeps the affix gutter when the × sits between it and the trigger,
|
|
115
|
+
// so the text does not move as the × comes and goes.
|
|
116
|
+
.wr-date-picker .wr-input:has(+ .wr-date-picker__clear),
|
|
117
|
+
.wr-date-range-picker .wr-input:has(+ .wr-date-picker__clear) {
|
|
118
|
+
padding-inline-end: var(--wr-input-group-affix-gap);
|
|
119
|
+
}
|
|
120
|
+
|
|
121
|
+
// Sizes — share the `--wr-control-*` contract (22 / 30 / 36 px). The fields carry
|
|
122
|
+
// `wr-input--<size>` themselves; the group and the trigger are their siblings and
|
|
123
|
+
// read the size from the host. Both pickers draw the same trigger.
|
|
124
|
+
.wr-date-picker--sm,
|
|
125
|
+
.wr-date-picker:where([size='sm']),
|
|
126
|
+
.wr-date-range-picker--sm,
|
|
127
|
+
.wr-date-range-picker:where([size='sm']) {
|
|
128
|
+
> .wr-input-group {
|
|
129
|
+
--wr-input-group-radius: var(--wr-control-radius-sm);
|
|
130
|
+
--wr-input-group-padding-x: var(--wr-control-padding-x-sm);
|
|
131
|
+
}
|
|
132
|
+
|
|
133
|
+
.wr-date-picker__trigger {
|
|
134
|
+
--wr-date-picker-trigger-icon-size: var(--wr-control-font-size-sm);
|
|
135
|
+
}
|
|
136
|
+
|
|
137
|
+
.wr-date-picker__clear {
|
|
138
|
+
--wr-date-picker-clear-icon-size: var(--wr-control-font-size-sm);
|
|
139
|
+
}
|
|
140
|
+
}
|
|
141
|
+
|
|
142
|
+
.wr-date-picker--lg,
|
|
143
|
+
.wr-date-picker:where([size='lg']),
|
|
144
|
+
.wr-date-range-picker--lg,
|
|
145
|
+
.wr-date-range-picker:where([size='lg']) {
|
|
146
|
+
> .wr-input-group {
|
|
147
|
+
--wr-input-group-radius: var(--wr-control-radius-lg);
|
|
148
|
+
--wr-input-group-padding-x: var(--wr-control-padding-x-lg);
|
|
149
|
+
}
|
|
150
|
+
|
|
151
|
+
.wr-date-picker__trigger {
|
|
152
|
+
--wr-date-picker-trigger-icon-size: var(--wr-control-font-size-lg);
|
|
153
|
+
}
|
|
154
|
+
|
|
155
|
+
.wr-date-picker__clear {
|
|
156
|
+
--wr-date-picker-clear-icon-size: var(--wr-control-font-size-lg);
|
|
58
157
|
}
|
|
59
158
|
}
|
|
60
159
|
|
|
61
160
|
.wr-date-range-picker {
|
|
62
161
|
display: inline-block;
|
|
63
162
|
|
|
163
|
+
// As `.wr-date-picker` above.
|
|
164
|
+
> .wr-input-group {
|
|
165
|
+
width: 100%;
|
|
166
|
+
}
|
|
167
|
+
|
|
64
168
|
// Each end shares the group's width so the pair reads as one control.
|
|
65
169
|
&__input {
|
|
66
170
|
flex: 1 1 0;
|
|
@@ -69,14 +173,31 @@
|
|
|
69
173
|
|
|
70
174
|
&__separator {
|
|
71
175
|
--wr-date-range-picker-separator-padding-x: var(--wr-space-xs);
|
|
176
|
+
// The page's text at md, as it has always been. `sm` and `lg` take the
|
|
177
|
+
// control's: the page's line box is taller than an `sm` field and stretched
|
|
178
|
+
// the group past 22px.
|
|
179
|
+
--wr-date-range-picker-separator-font-size: inherit;
|
|
180
|
+
--wr-date-range-picker-separator-line-height: inherit;
|
|
72
181
|
|
|
73
182
|
display: inline-flex;
|
|
74
183
|
align-items: center;
|
|
75
184
|
padding: 0 var(--wr-date-range-picker-separator-padding-x);
|
|
76
185
|
color: var(--wr-color-on-surface-muted);
|
|
186
|
+
font-size: var(--wr-date-range-picker-separator-font-size);
|
|
187
|
+
line-height: var(--wr-date-range-picker-separator-line-height);
|
|
77
188
|
user-select: none;
|
|
78
189
|
}
|
|
79
190
|
|
|
191
|
+
&--sm &__separator {
|
|
192
|
+
--wr-date-range-picker-separator-font-size: var(--wr-control-font-size-sm);
|
|
193
|
+
--wr-date-range-picker-separator-line-height: var(--wr-control-line-height-sm);
|
|
194
|
+
}
|
|
195
|
+
|
|
196
|
+
&--lg &__separator {
|
|
197
|
+
--wr-date-range-picker-separator-font-size: var(--wr-control-font-size-lg);
|
|
198
|
+
--wr-date-range-picker-separator-line-height: var(--wr-control-line-height-lg);
|
|
199
|
+
}
|
|
200
|
+
|
|
80
201
|
&--disabled {
|
|
81
202
|
.wr-date-range-picker__separator {
|
|
82
203
|
opacity: var(--wr-disabled-opacity);
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
@use '../../theme/styles' as theme;
|
|
2
|
+
|
|
3
|
+
@include theme.loaded('date-stamp');
|
|
4
|
+
|
|
5
|
+
.wr-date-stamp {
|
|
6
|
+
--wr-date-stamp-gap: 0;
|
|
7
|
+
--wr-date-stamp-line-height: var(--wr-text-sm-leading);
|
|
8
|
+
--wr-date-stamp-date-color: inherit;
|
|
9
|
+
--wr-date-stamp-time-color: var(--wr-color-on-surface-muted);
|
|
10
|
+
--wr-date-stamp-time-font-size: var(--wr-text-sm);
|
|
11
|
+
--wr-date-stamp-empty-color: var(--wr-color-on-surface-muted);
|
|
12
|
+
|
|
13
|
+
display: inline-block;
|
|
14
|
+
// A column of stamps lines up digit under digit.
|
|
15
|
+
font-variant-numeric: tabular-nums;
|
|
16
|
+
line-height: var(--wr-date-stamp-line-height);
|
|
17
|
+
white-space: nowrap;
|
|
18
|
+
vertical-align: middle;
|
|
19
|
+
|
|
20
|
+
&__value {
|
|
21
|
+
display: inline-flex;
|
|
22
|
+
flex-direction: column;
|
|
23
|
+
gap: var(--wr-date-stamp-gap);
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
&__date {
|
|
27
|
+
color: var(--wr-date-stamp-date-color);
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
&__time {
|
|
31
|
+
color: var(--wr-date-stamp-time-color);
|
|
32
|
+
font-size: var(--wr-date-stamp-time-font-size);
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
&__empty {
|
|
36
|
+
color: var(--wr-date-stamp-empty-color);
|
|
37
|
+
}
|
|
38
|
+
}
|
|
@@ -86,6 +86,12 @@
|
|
|
86
86
|
--wr-dialog-close-radius: var(--wr-border-radius-sm);
|
|
87
87
|
--wr-dialog-close-font-size: var(--wr-text-base);
|
|
88
88
|
--wr-dialog-footer-gap: var(--wr-space-sm);
|
|
89
|
+
--wr-dialog-intent-size: 1.25rem;
|
|
90
|
+
--wr-dialog-intent-gap: var(--wr-space-sm);
|
|
91
|
+
--wr-dialog-intent-info: var(--wr-color-info);
|
|
92
|
+
--wr-dialog-intent-success: var(--wr-color-success);
|
|
93
|
+
--wr-dialog-intent-warning: var(--wr-color-warning);
|
|
94
|
+
--wr-dialog-intent-danger: var(--wr-color-danger);
|
|
89
95
|
|
|
90
96
|
display: flex;
|
|
91
97
|
flex-direction: column;
|
|
@@ -248,6 +254,38 @@
|
|
|
248
254
|
}
|
|
249
255
|
}
|
|
250
256
|
|
|
257
|
+
// `confirm()` and `alert()`: the intent icon sits before the title as a flex
|
|
258
|
+
// item, so a title that wraps keeps its lines clear of the icon.
|
|
259
|
+
.wr-dialog-confirm {
|
|
260
|
+
.wr-dialog__title {
|
|
261
|
+
display: flex;
|
|
262
|
+
align-items: flex-start;
|
|
263
|
+
gap: var(--wr-dialog-intent-gap);
|
|
264
|
+
}
|
|
265
|
+
|
|
266
|
+
&__icon {
|
|
267
|
+
flex: 0 0 auto;
|
|
268
|
+
width: var(--wr-dialog-intent-size);
|
|
269
|
+
height: var(--wr-dialog-intent-size);
|
|
270
|
+
// Centred on the title's first line.
|
|
271
|
+
margin-block-start: calc((var(--wr-dialog-title-line-height) - var(--wr-dialog-intent-size)) / 2);
|
|
272
|
+
|
|
273
|
+
// Written out, not looped: `gen:css-vars` reads the hooks from the source.
|
|
274
|
+
&--info {
|
|
275
|
+
color: var(--wr-dialog-intent-info);
|
|
276
|
+
}
|
|
277
|
+
&--success {
|
|
278
|
+
color: var(--wr-dialog-intent-success);
|
|
279
|
+
}
|
|
280
|
+
&--warning {
|
|
281
|
+
color: var(--wr-dialog-intent-warning);
|
|
282
|
+
}
|
|
283
|
+
&--danger {
|
|
284
|
+
color: var(--wr-dialog-intent-danger);
|
|
285
|
+
}
|
|
286
|
+
}
|
|
287
|
+
}
|
|
288
|
+
|
|
251
289
|
@keyframes wr-dialog-enter {
|
|
252
290
|
from {
|
|
253
291
|
opacity: 0;
|