ngwr 15.4.0 → 15.6.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +3 -4
- package/affix/styles/_index.scss +2 -0
- package/alert/styles/_index.scss +18 -0
- package/anchor/styles/_index.scss +1 -0
- package/avatar/styles/_index.scss +44 -4
- package/back-top/styles/_index.scss +1 -0
- package/badge/styles/_index.scss +1 -0
- package/breadcrumbs/styles/_index.scss +1 -0
- package/burger/styles/_index.scss +1 -0
- package/button/styles/_index.scss +1 -0
- package/calendar/styles/_index.scss +1 -0
- package/card/styles/_index.scss +1 -0
- package/carousel/styles/_index.scss +1 -0
- package/cascader/styles/_index.scss +1 -0
- package/charts/bar-chart/styles/_index.scss +1 -0
- package/charts/boxplot-chart/styles/_index.scss +1 -0
- package/charts/bullet-chart/styles/_index.scss +1 -0
- package/charts/calendar-heatmap/styles/_index.scss +1 -0
- package/charts/candlestick-chart/styles/_index.scss +1 -0
- package/charts/chart-legend/styles/_index.scss +1 -0
- package/charts/donut-chart/styles/_index.scss +1 -0
- package/charts/funnel-chart/styles/_index.scss +1 -0
- package/charts/gauge/styles/_index.scss +1 -0
- package/charts/heatmap-chart/styles/_index.scss +1 -0
- package/charts/line-chart/styles/_index.scss +1 -0
- package/charts/meter-group/styles/_index.scss +1 -0
- package/charts/radar-chart/styles/_index.scss +1 -0
- package/charts/scatter-chart/styles/_index.scss +1 -0
- package/charts/sparkline/styles/_index.scss +2 -0
- package/charts/treemap-chart/styles/_index.scss +1 -0
- package/charts/waterfall-chart/styles/_index.scss +1 -0
- package/checkbox/styles/_index.scss +1 -0
- package/collapse/styles/_index.scss +1 -0
- package/color-picker/styles/_index.scss +1 -0
- package/command-palette/styles/_index.scss +1 -0
- package/comment/styles/_index.scss +271 -0
- package/compare/styles/_index.scss +1 -0
- package/context-menu/styles/_index.scss +1 -0
- package/counter/styles/_index.scss +1 -0
- package/date-picker/styles/_index.scss +1 -0
- package/density/styles/_index.scss +2 -0
- package/descriptions/styles/_index.scss +1 -0
- package/dialog/styles/_index.scss +7 -0
- package/divider/styles/_index.scss +1 -0
- package/drawer/styles/_index.scss +1 -0
- package/dropdown/styles/_index.scss +1 -0
- package/editor/styles/_index.scss +1 -0
- package/empty/styles/_index.scss +1 -0
- package/event-calendar/styles/_index.scss +1 -0
- package/fesm2022/ngwr-affix.mjs +2 -0
- package/fesm2022/ngwr-affix.mjs.map +1 -1
- package/fesm2022/ngwr-alert.mjs +7 -3
- package/fesm2022/ngwr-alert.mjs.map +1 -1
- package/fesm2022/ngwr-anchor.mjs +2 -0
- package/fesm2022/ngwr-anchor.mjs.map +1 -1
- package/fesm2022/ngwr-avatar.mjs +71 -6
- package/fesm2022/ngwr-avatar.mjs.map +1 -1
- package/fesm2022/ngwr-back-top.mjs +2 -0
- package/fesm2022/ngwr-back-top.mjs.map +1 -1
- package/fesm2022/ngwr-badge.mjs +9 -0
- package/fesm2022/ngwr-badge.mjs.map +1 -1
- package/fesm2022/ngwr-breadcrumbs.mjs +7 -2
- package/fesm2022/ngwr-breadcrumbs.mjs.map +1 -1
- package/fesm2022/ngwr-burger.mjs +5 -0
- package/fesm2022/ngwr-burger.mjs.map +1 -1
- package/fesm2022/ngwr-button.mjs +6 -0
- package/fesm2022/ngwr-button.mjs.map +1 -1
- package/fesm2022/ngwr-calendar.mjs +2 -0
- package/fesm2022/ngwr-calendar.mjs.map +1 -1
- package/fesm2022/ngwr-card.mjs +11 -2
- package/fesm2022/ngwr-card.mjs.map +1 -1
- package/fesm2022/ngwr-carousel.mjs +6 -0
- package/fesm2022/ngwr-carousel.mjs.map +1 -1
- package/fesm2022/ngwr-cascader.mjs +3 -3
- package/fesm2022/ngwr-cascader.mjs.map +1 -1
- package/fesm2022/ngwr-charts-bar-chart.mjs +2 -1
- package/fesm2022/ngwr-charts-bar-chart.mjs.map +1 -1
- package/fesm2022/ngwr-charts-boxplot-chart.mjs +2 -0
- package/fesm2022/ngwr-charts-boxplot-chart.mjs.map +1 -1
- package/fesm2022/ngwr-charts-bullet-chart.mjs +2 -1
- package/fesm2022/ngwr-charts-bullet-chart.mjs.map +1 -1
- package/fesm2022/ngwr-charts-calendar-heatmap.mjs +2 -0
- package/fesm2022/ngwr-charts-calendar-heatmap.mjs.map +1 -1
- package/fesm2022/ngwr-charts-candlestick-chart.mjs +2 -1
- package/fesm2022/ngwr-charts-candlestick-chart.mjs.map +1 -1
- package/fesm2022/ngwr-charts-chart-legend.mjs +9 -0
- package/fesm2022/ngwr-charts-chart-legend.mjs.map +1 -1
- package/fesm2022/ngwr-charts-donut-chart.mjs +5 -0
- package/fesm2022/ngwr-charts-donut-chart.mjs.map +1 -1
- package/fesm2022/ngwr-charts-funnel-chart.mjs +5 -1
- package/fesm2022/ngwr-charts-funnel-chart.mjs.map +1 -1
- package/fesm2022/ngwr-charts-gauge.mjs +5 -1
- package/fesm2022/ngwr-charts-gauge.mjs.map +1 -1
- package/fesm2022/ngwr-charts-heatmap-chart.mjs +2 -1
- package/fesm2022/ngwr-charts-heatmap-chart.mjs.map +1 -1
- package/fesm2022/ngwr-charts-line-chart.mjs +2 -1
- package/fesm2022/ngwr-charts-line-chart.mjs.map +1 -1
- package/fesm2022/ngwr-charts-meter-group.mjs +5 -0
- package/fesm2022/ngwr-charts-meter-group.mjs.map +1 -1
- package/fesm2022/ngwr-charts-radar-chart.mjs +2 -1
- package/fesm2022/ngwr-charts-radar-chart.mjs.map +1 -1
- package/fesm2022/ngwr-charts-scatter-chart.mjs +5 -1
- package/fesm2022/ngwr-charts-scatter-chart.mjs.map +1 -1
- package/fesm2022/ngwr-charts-sparkline.mjs +5 -0
- package/fesm2022/ngwr-charts-sparkline.mjs.map +1 -1
- package/fesm2022/ngwr-charts-treemap-chart.mjs +2 -0
- package/fesm2022/ngwr-charts-treemap-chart.mjs.map +1 -1
- package/fesm2022/ngwr-charts-waterfall-chart.mjs +2 -0
- package/fesm2022/ngwr-charts-waterfall-chart.mjs.map +1 -1
- package/fesm2022/ngwr-checkbox.mjs +9 -1
- package/fesm2022/ngwr-checkbox.mjs.map +1 -1
- package/fesm2022/ngwr-collapse.mjs +11 -2
- package/fesm2022/ngwr-collapse.mjs.map +1 -1
- package/fesm2022/ngwr-color-picker.mjs +3 -1
- package/fesm2022/ngwr-color-picker.mjs.map +1 -1
- package/fesm2022/ngwr-command-palette.mjs +2 -1
- package/fesm2022/ngwr-command-palette.mjs.map +1 -1
- package/fesm2022/ngwr-comment-testing.mjs +60 -0
- package/fesm2022/ngwr-comment-testing.mjs.map +1 -0
- package/fesm2022/ngwr-comment.mjs +524 -0
- package/fesm2022/ngwr-comment.mjs.map +1 -0
- package/fesm2022/ngwr-compare.mjs +2 -1
- package/fesm2022/ngwr-compare.mjs.map +1 -1
- package/fesm2022/ngwr-context-menu.mjs +12 -2
- package/fesm2022/ngwr-context-menu.mjs.map +1 -1
- package/fesm2022/ngwr-counter.mjs +17 -23
- package/fesm2022/ngwr-counter.mjs.map +1 -1
- package/fesm2022/ngwr-date-picker.mjs +17 -2
- package/fesm2022/ngwr-date-picker.mjs.map +1 -1
- package/fesm2022/ngwr-density.mjs +2 -1
- package/fesm2022/ngwr-density.mjs.map +1 -1
- package/fesm2022/ngwr-descriptions.mjs +9 -0
- package/fesm2022/ngwr-descriptions.mjs.map +1 -1
- package/fesm2022/ngwr-dialog-testing.mjs +14 -0
- package/fesm2022/ngwr-dialog-testing.mjs.map +1 -1
- package/fesm2022/ngwr-dialog.mjs +315 -136
- package/fesm2022/ngwr-dialog.mjs.map +1 -1
- package/fesm2022/ngwr-directives.mjs +7 -4
- package/fesm2022/ngwr-directives.mjs.map +1 -1
- package/fesm2022/ngwr-divider.mjs +2 -0
- package/fesm2022/ngwr-divider.mjs.map +1 -1
- package/fesm2022/ngwr-drawer.mjs +22 -3
- package/fesm2022/ngwr-drawer.mjs.map +1 -1
- package/fesm2022/ngwr-dropdown.mjs +11 -2
- package/fesm2022/ngwr-dropdown.mjs.map +1 -1
- package/fesm2022/ngwr-editor.mjs +3 -2
- package/fesm2022/ngwr-editor.mjs.map +1 -1
- package/fesm2022/ngwr-empty.mjs +5 -0
- package/fesm2022/ngwr-empty.mjs.map +1 -1
- package/fesm2022/ngwr-event-calendar.mjs +5 -1
- package/fesm2022/ngwr-event-calendar.mjs.map +1 -1
- package/fesm2022/ngwr-file-upload.mjs +2 -1
- package/fesm2022/ngwr-file-upload.mjs.map +1 -1
- package/fesm2022/ngwr-form.mjs +10 -0
- package/fesm2022/ngwr-form.mjs.map +1 -1
- package/fesm2022/ngwr-graph.mjs +2 -1
- package/fesm2022/ngwr-graph.mjs.map +1 -1
- package/fesm2022/ngwr-hotkey.mjs +86 -6
- package/fesm2022/ngwr-hotkey.mjs.map +1 -1
- package/fesm2022/ngwr-i18n-ar.mjs +22 -3
- package/fesm2022/ngwr-i18n-ar.mjs.map +1 -1
- package/fesm2022/ngwr-i18n-cs.mjs +22 -3
- package/fesm2022/ngwr-i18n-cs.mjs.map +1 -1
- package/fesm2022/ngwr-i18n-de.mjs +22 -3
- package/fesm2022/ngwr-i18n-de.mjs.map +1 -1
- package/fesm2022/ngwr-i18n-en.mjs +22 -3
- package/fesm2022/ngwr-i18n-en.mjs.map +1 -1
- package/fesm2022/ngwr-i18n-es.mjs +22 -3
- package/fesm2022/ngwr-i18n-es.mjs.map +1 -1
- package/fesm2022/ngwr-i18n-fr.mjs +22 -3
- package/fesm2022/ngwr-i18n-fr.mjs.map +1 -1
- package/fesm2022/ngwr-i18n-he.mjs +22 -3
- package/fesm2022/ngwr-i18n-he.mjs.map +1 -1
- package/fesm2022/ngwr-i18n-hi.mjs +22 -3
- package/fesm2022/ngwr-i18n-hi.mjs.map +1 -1
- package/fesm2022/ngwr-i18n-id.mjs +22 -3
- package/fesm2022/ngwr-i18n-id.mjs.map +1 -1
- package/fesm2022/ngwr-i18n-it.mjs +22 -3
- package/fesm2022/ngwr-i18n-it.mjs.map +1 -1
- package/fesm2022/ngwr-i18n-ja.mjs +22 -3
- package/fesm2022/ngwr-i18n-ja.mjs.map +1 -1
- package/fesm2022/ngwr-i18n-ko.mjs +22 -3
- package/fesm2022/ngwr-i18n-ko.mjs.map +1 -1
- package/fesm2022/ngwr-i18n-nl.mjs +22 -3
- package/fesm2022/ngwr-i18n-nl.mjs.map +1 -1
- package/fesm2022/ngwr-i18n-pl.mjs +22 -3
- package/fesm2022/ngwr-i18n-pl.mjs.map +1 -1
- package/fesm2022/ngwr-i18n-pt.mjs +22 -3
- package/fesm2022/ngwr-i18n-pt.mjs.map +1 -1
- package/fesm2022/ngwr-i18n-ru.mjs +22 -3
- package/fesm2022/ngwr-i18n-ru.mjs.map +1 -1
- package/fesm2022/ngwr-i18n-sv.mjs +22 -3
- package/fesm2022/ngwr-i18n-sv.mjs.map +1 -1
- package/fesm2022/ngwr-i18n-tr.mjs +22 -3
- package/fesm2022/ngwr-i18n-tr.mjs.map +1 -1
- package/fesm2022/ngwr-i18n-uk.mjs +22 -3
- package/fesm2022/ngwr-i18n-uk.mjs.map +1 -1
- package/fesm2022/ngwr-i18n-vi.mjs +22 -3
- package/fesm2022/ngwr-i18n-vi.mjs.map +1 -1
- package/fesm2022/ngwr-i18n-zh-tw.mjs +22 -3
- package/fesm2022/ngwr-i18n-zh-tw.mjs.map +1 -1
- package/fesm2022/ngwr-i18n-zh.mjs +22 -3
- package/fesm2022/ngwr-i18n-zh.mjs.map +1 -1
- package/fesm2022/ngwr-icon.mjs +2 -0
- package/fesm2022/ngwr-icon.mjs.map +1 -1
- package/fesm2022/ngwr-image-cropper.mjs +2 -1
- package/fesm2022/ngwr-image-cropper.mjs.map +1 -1
- package/fesm2022/ngwr-input-number-testing.mjs.map +1 -1
- package/fesm2022/ngwr-input-number.mjs +110 -12
- package/fesm2022/ngwr-input-number.mjs.map +1 -1
- package/fesm2022/ngwr-input-otp.mjs +2 -1
- package/fesm2022/ngwr-input-otp.mjs.map +1 -1
- package/fesm2022/ngwr-input.mjs +20 -2
- package/fesm2022/ngwr-input.mjs.map +1 -1
- package/fesm2022/ngwr-keyboard.mjs +79 -18
- package/fesm2022/ngwr-keyboard.mjs.map +1 -1
- package/fesm2022/ngwr-knob.mjs +5 -1
- package/fesm2022/ngwr-knob.mjs.map +1 -1
- package/fesm2022/ngwr-layout.mjs +21 -3
- package/fesm2022/ngwr-layout.mjs.map +1 -1
- package/fesm2022/ngwr-lightbox.mjs +3 -3
- package/fesm2022/ngwr-lightbox.mjs.map +1 -1
- package/fesm2022/ngwr-list.mjs +7 -2
- package/fesm2022/ngwr-list.mjs.map +1 -1
- package/fesm2022/ngwr-load-state-testing.mjs +43 -0
- package/fesm2022/ngwr-load-state-testing.mjs.map +1 -0
- package/fesm2022/ngwr-load-state.mjs +495 -0
- package/fesm2022/ngwr-load-state.mjs.map +1 -0
- package/fesm2022/ngwr-mention.mjs +48 -20
- package/fesm2022/ngwr-mention.mjs.map +1 -1
- package/fesm2022/ngwr-page-header.mjs +49 -2
- package/fesm2022/ngwr-page-header.mjs.map +1 -1
- package/fesm2022/ngwr-pagination.mjs +3 -1
- package/fesm2022/ngwr-pagination.mjs.map +1 -1
- package/fesm2022/ngwr-pipes.mjs +40 -1
- package/fesm2022/ngwr-pipes.mjs.map +1 -1
- package/fesm2022/ngwr-platform.mjs +134 -2
- package/fesm2022/ngwr-platform.mjs.map +1 -1
- package/fesm2022/ngwr-popconfirm.mjs +6 -1
- package/fesm2022/ngwr-popconfirm.mjs.map +1 -1
- package/fesm2022/ngwr-popover.mjs +10 -1
- package/fesm2022/ngwr-popover.mjs.map +1 -1
- package/fesm2022/ngwr-progress.mjs +5 -0
- package/fesm2022/ngwr-progress.mjs.map +1 -1
- package/fesm2022/ngwr-pull-to-refresh.mjs +2 -1
- package/fesm2022/ngwr-pull-to-refresh.mjs.map +1 -1
- package/fesm2022/ngwr-qr.mjs +2 -1
- package/fesm2022/ngwr-qr.mjs.map +1 -1
- package/fesm2022/ngwr-radio.mjs +6 -1
- package/fesm2022/ngwr-radio.mjs.map +1 -1
- package/fesm2022/ngwr-rating.mjs +5 -1
- package/fesm2022/ngwr-rating.mjs.map +1 -1
- package/fesm2022/ngwr-result.mjs +17 -0
- package/fesm2022/ngwr-result.mjs.map +1 -1
- package/fesm2022/ngwr-schema-form.mjs +9 -2
- package/fesm2022/ngwr-schema-form.mjs.map +1 -1
- package/fesm2022/ngwr-segmented.mjs +2 -0
- package/fesm2022/ngwr-segmented.mjs.map +1 -1
- package/fesm2022/ngwr-select.mjs +65 -17
- package/fesm2022/ngwr-select.mjs.map +1 -1
- package/fesm2022/ngwr-sidebar.mjs +2 -0
- package/fesm2022/ngwr-sidebar.mjs.map +1 -1
- package/fesm2022/ngwr-skeleton.mjs +30 -5
- package/fesm2022/ngwr-skeleton.mjs.map +1 -1
- package/fesm2022/ngwr-slider.mjs +26 -4
- package/fesm2022/ngwr-slider.mjs.map +1 -1
- package/fesm2022/ngwr-sortable-list.mjs +9 -3
- package/fesm2022/ngwr-sortable-list.mjs.map +1 -1
- package/fesm2022/ngwr-speed-dial.mjs +2 -0
- package/fesm2022/ngwr-speed-dial.mjs.map +1 -1
- package/fesm2022/ngwr-spinner.mjs +5 -0
- package/fesm2022/ngwr-spinner.mjs.map +1 -1
- package/fesm2022/ngwr-splitter.mjs +2 -1
- package/fesm2022/ngwr-splitter.mjs.map +1 -1
- package/fesm2022/ngwr-statistic.mjs +7 -1
- package/fesm2022/ngwr-statistic.mjs.map +1 -1
- package/fesm2022/ngwr-stepper.mjs +6 -0
- package/fesm2022/ngwr-stepper.mjs.map +1 -1
- package/fesm2022/ngwr-storage.mjs +54 -33
- package/fesm2022/ngwr-storage.mjs.map +1 -1
- package/fesm2022/ngwr-switch.mjs +5 -1
- package/fesm2022/ngwr-switch.mjs.map +1 -1
- package/fesm2022/ngwr-table.mjs +153 -39
- package/fesm2022/ngwr-table.mjs.map +1 -1
- package/fesm2022/ngwr-tabs.mjs +3 -1
- package/fesm2022/ngwr-tabs.mjs.map +1 -1
- package/fesm2022/ngwr-textarea.mjs +2 -0
- package/fesm2022/ngwr-textarea.mjs.map +1 -1
- package/fesm2022/ngwr-timeline.mjs +9 -0
- package/fesm2022/ngwr-timeline.mjs.map +1 -1
- package/fesm2022/ngwr-toast.mjs +6 -1
- package/fesm2022/ngwr-toast.mjs.map +1 -1
- package/fesm2022/ngwr-toolbar.mjs +5 -0
- package/fesm2022/ngwr-toolbar.mjs.map +1 -1
- package/fesm2022/ngwr-tour.mjs +6 -2
- package/fesm2022/ngwr-tour.mjs.map +1 -1
- package/fesm2022/ngwr-transfer.mjs +6 -1
- package/fesm2022/ngwr-transfer.mjs.map +1 -1
- package/fesm2022/ngwr-tree.mjs +2 -1
- package/fesm2022/ngwr-tree.mjs.map +1 -1
- package/fesm2022/ngwr-typography.mjs +5 -0
- package/fesm2022/ngwr-typography.mjs.map +1 -1
- package/fesm2022/ngwr-utils-router.mjs +165 -0
- package/fesm2022/ngwr-utils-router.mjs.map +1 -0
- package/fesm2022/ngwr-utils.mjs +374 -3
- package/fesm2022/ngwr-utils.mjs.map +1 -1
- package/fesm2022/ngwr-version.mjs +1 -1
- package/fesm2022/ngwr-version.mjs.map +1 -1
- package/fesm2022/ngwr-window.mjs +4 -1
- package/fesm2022/ngwr-window.mjs.map +1 -1
- package/file-upload/styles/_index.scss +1 -0
- package/form/styles/_index.scss +1 -0
- package/graph/styles/_index.scss +1 -0
- package/i18n/ar.json +22 -3
- package/i18n/cs.json +22 -3
- package/i18n/de.json +22 -3
- package/i18n/en.json +22 -3
- package/i18n/es.json +22 -3
- package/i18n/fr.json +22 -3
- package/i18n/he.json +22 -3
- package/i18n/hi.json +22 -3
- package/i18n/id.json +22 -3
- package/i18n/it.json +22 -3
- package/i18n/ja.json +22 -3
- package/i18n/ko.json +22 -3
- package/i18n/nl.json +22 -3
- package/i18n/pl.json +22 -3
- package/i18n/pt.json +22 -3
- package/i18n/ru.json +22 -3
- package/i18n/sv.json +22 -3
- package/i18n/tr.json +22 -3
- package/i18n/uk.json +22 -3
- package/i18n/vi.json +22 -3
- package/i18n/zh-TW.json +22 -3
- package/i18n/zh.json +22 -3
- package/icon/styles/_index.scss +1 -0
- package/image-cropper/styles/_index.scss +1 -0
- package/input/styles/_index.scss +1 -0
- package/input-number/styles/_index.scss +1 -0
- package/input-otp/styles/_index.scss +1 -0
- package/keyboard/styles/_index.scss +1 -0
- package/knob/styles/_index.scss +1 -0
- package/layout/styles/_index.scss +1 -0
- package/lightbox/styles/_index.scss +1 -0
- package/list/styles/_index.scss +1 -0
- package/llms-full.txt +45 -279
- package/llms.txt +16 -16
- package/load-state/styles/_index.scss +49 -0
- package/loading-bar/styles/_index.scss +1 -0
- package/mcp/catalog.js +3 -3
- package/mention/styles/_index.scss +1 -0
- package/package.json +23 -212
- package/page-header/styles/_index.scss +82 -0
- package/pagination/styles/_index.scss +1 -0
- package/popconfirm/styles/_index.scss +1 -0
- package/popover/styles/_index.scss +1 -0
- package/progress/styles/_index.scss +1 -0
- package/pull-to-refresh/styles/_index.scss +1 -0
- package/qr/styles/_index.scss +1 -0
- package/radio/styles/_index.scss +1 -0
- package/rating/styles/_index.scss +1 -0
- package/result/styles/_index.scss +1 -0
- package/schema-form/styles/_index.scss +1 -0
- package/schematics/component-style/index.js +1 -1
- package/schematics/component-style/schema.json +1 -1
- package/schematics/use/rule.js +0 -1
- package/schematics/use/symbol-map.json +8 -28
- package/schematics/utility/global-styles.js +3 -3
- package/segmented/styles/_index.scss +1 -0
- package/select/styles/_index.scss +1 -0
- package/sidebar/styles/_index.scss +1 -0
- package/skeleton/styles/_index.scss +65 -29
- package/skills/ngwr/SKILL.md +3 -4
- package/skills/ngwr/references/catalog.md +5 -47
- package/skills/ngwr/references/setup.md +1 -2
- package/slider/styles/_index.scss +1 -0
- package/sortable-list/styles/_index.scss +1 -0
- package/speed-dial/styles/_index.scss +1 -0
- package/spinner/styles/_index.scss +1 -0
- package/splitter/styles/_index.scss +1 -0
- package/statistic/styles/_index.scss +1 -0
- package/stepper/styles/_index.scss +1 -0
- package/styles/_animations.scss +0 -4
- package/switch/styles/_index.scss +1 -0
- package/table/styles/_index.scss +18 -0
- package/tabs/styles/_index.scss +1 -0
- package/textarea/styles/_index.scss +1 -0
- package/theme/styles/_focus.scss +0 -6
- package/theme/styles/_index.scss +6 -0
- package/theme/styles/_loaded.scss +29 -0
- package/theme/styles/_motion.scss +1 -0
- package/timeline/styles/_index.scss +1 -0
- package/toast/styles/_index.scss +1 -0
- package/toolbar/styles/_index.scss +1 -0
- package/tour/styles/_index.scss +1 -0
- package/transfer/styles/_index.scss +1 -0
- package/tree/styles/_index.scss +1 -0
- package/types/ngwr-alert.d.ts +10 -1
- package/types/ngwr-avatar.d.ts +49 -0
- package/types/ngwr-badge.d.ts +4 -2
- package/types/ngwr-breadcrumbs.d.ts +1 -0
- package/types/ngwr-burger.d.ts +1 -0
- package/types/ngwr-button.d.ts +2 -1
- package/types/ngwr-card.d.ts +2 -0
- package/types/ngwr-carousel.d.ts +3 -3
- package/types/ngwr-charts-chart-legend.d.ts +1 -0
- package/types/ngwr-charts-donut-chart.d.ts +1 -0
- package/types/ngwr-charts-funnel-chart.d.ts +1 -0
- package/types/ngwr-charts-gauge.d.ts +1 -0
- package/types/ngwr-charts-meter-group.d.ts +1 -0
- package/types/ngwr-charts-scatter-chart.d.ts +1 -0
- package/types/ngwr-charts-sparkline.d.ts +1 -0
- package/types/ngwr-checkbox.d.ts +2 -0
- package/types/ngwr-collapse.d.ts +2 -0
- package/types/ngwr-comment-testing.d.ts +90 -0
- package/types/ngwr-comment.d.ts +306 -0
- package/types/ngwr-compare.d.ts +1 -1
- package/types/ngwr-context-menu.d.ts +2 -0
- package/types/ngwr-counter.d.ts +12 -8
- package/types/ngwr-descriptions.d.ts +2 -0
- package/types/ngwr-dialog-testing.d.ts +7 -0
- package/types/ngwr-dialog.d.ts +113 -6
- package/types/ngwr-directives.d.ts +7 -3
- package/types/ngwr-divider.d.ts +1 -1
- package/types/ngwr-drawer.d.ts +5 -1
- package/types/ngwr-dropdown.d.ts +16 -3
- package/types/ngwr-empty.d.ts +1 -0
- package/types/ngwr-event-calendar.d.ts +1 -0
- package/types/ngwr-form.d.ts +2 -0
- package/types/ngwr-hotkey.d.ts +60 -3
- package/types/ngwr-image-cropper.d.ts +1 -1
- package/types/ngwr-input-number-testing.d.ts +5 -0
- package/types/ngwr-input-number.d.ts +91 -12
- package/types/ngwr-input.d.ts +4 -0
- package/types/ngwr-keyboard.d.ts +28 -1
- package/types/ngwr-knob.d.ts +1 -0
- package/types/ngwr-layout.d.ts +4 -0
- package/types/ngwr-list.d.ts +1 -0
- package/types/ngwr-load-state-testing.d.ts +65 -0
- package/types/ngwr-load-state.d.ts +269 -0
- package/types/ngwr-mention.d.ts +27 -7
- package/types/ngwr-page-header.d.ts +60 -8
- package/types/ngwr-pipes.d.ts +19 -0
- package/types/ngwr-platform.d.ts +73 -7
- package/types/ngwr-popconfirm.d.ts +3 -2
- package/types/ngwr-progress.d.ts +2 -1
- package/types/ngwr-radio.d.ts +1 -0
- package/types/ngwr-rating.d.ts +1 -0
- package/types/ngwr-result.d.ts +4 -0
- package/types/ngwr-schema-form.d.ts +1 -0
- package/types/ngwr-select.d.ts +75 -27
- package/types/ngwr-skeleton.d.ts +22 -2
- package/types/ngwr-slider.d.ts +21 -0
- package/types/ngwr-sortable-list.d.ts +2 -1
- package/types/ngwr-spinner.d.ts +1 -0
- package/types/ngwr-splitter.d.ts +1 -1
- package/types/ngwr-statistic.d.ts +1 -0
- package/types/ngwr-stepper.d.ts +2 -1
- package/types/ngwr-storage.d.ts +33 -3
- package/types/ngwr-switch.d.ts +1 -0
- package/types/ngwr-table.d.ts +181 -45
- package/types/ngwr-timeline.d.ts +3 -1
- package/types/ngwr-toolbar.d.ts +1 -0
- package/types/ngwr-tour.d.ts +1 -0
- package/types/ngwr-transfer.d.ts +1 -0
- package/types/ngwr-typography.d.ts +1 -0
- package/types/ngwr-utils-router.d.ts +95 -0
- package/types/ngwr-utils.d.ts +339 -2
- package/types/ngwr-version.d.ts +1 -1
- package/typography/styles/_index.scss +1 -0
- package/virtual-scroll/styles/_index.scss +1 -0
- package/window/styles/_index.scss +1 -0
- package/bits/aurora/aurora.scss +0 -1
- package/bits/aurora/styles/_index.scss +0 -8
- package/bits/aurora/styles/_rules.scss +0 -36
- package/bits/blur-text/blur-text.scss +0 -1
- package/bits/blur-text/styles/_index.scss +0 -27
- package/bits/border-glow/border-glow.scss +0 -4
- package/bits/border-glow/styles/_index.scss +0 -15
- package/bits/border-glow/styles/_rules.scss +0 -259
- package/bits/circular-text/circular-text.scss +0 -1
- package/bits/circular-text/styles/_index.scss +0 -15
- package/bits/circular-text/styles/_rules.scss +0 -60
- package/bits/click-spark/click-spark.scss +0 -5
- package/bits/click-spark/styles/_index.scss +0 -11
- package/bits/click-spark/styles/_rules.scss +0 -20
- package/bits/decrypt-text/decrypt-text.scss +0 -1
- package/bits/decrypt-text/styles/_index.scss +0 -15
- package/bits/decrypt-text/styles/_rules.scss +0 -40
- package/bits/dot-grid/dot-grid.scss +0 -1
- package/bits/dot-grid/styles/_index.scss +0 -8
- package/bits/dot-grid/styles/_rules.scss +0 -54
- package/bits/falling-text/falling-text.scss +0 -1
- package/bits/falling-text/styles/_index.scss +0 -15
- package/bits/falling-text/styles/_rules.scss +0 -44
- package/bits/glitch-text/glitch-text.scss +0 -1
- package/bits/glitch-text/styles/_index.scss +0 -15
- package/bits/glitch-text/styles/_rules.scss +0 -161
- package/bits/gradient-text/gradient-text.scss +0 -1
- package/bits/gradient-text/styles/_index.scss +0 -15
- package/bits/gradient-text/styles/_rules.scss +0 -118
- package/bits/iridescence/iridescence.scss +0 -1
- package/bits/iridescence/styles/_index.scss +0 -8
- package/bits/iridescence/styles/_rules.scss +0 -72
- package/bits/marquee/marquee.scss +0 -1
- package/bits/marquee/styles/_index.scss +0 -15
- package/bits/marquee/styles/_rules.scss +0 -203
- package/bits/ripple-grid/ripple-grid.scss +0 -1
- package/bits/ripple-grid/styles/_index.scss +0 -8
- package/bits/ripple-grid/styles/_rules.scss +0 -63
- package/bits/rotating-text/rotating-text.scss +0 -1
- package/bits/rotating-text/styles/_index.scss +0 -39
- package/bits/shiny-text/shiny-text.scss +0 -1
- package/bits/shiny-text/styles/_index.scss +0 -15
- package/bits/shiny-text/styles/_rules.scss +0 -121
- package/bits/splash-cursor/splash-cursor.scss +0 -1
- package/bits/splash-cursor/styles/_index.scss +0 -28
- package/bits/split-text/split-text.scss +0 -1
- package/bits/split-text/styles/_index.scss +0 -35
- package/bits/spotlight-card/spotlight-card.scss +0 -1
- package/bits/spotlight-card/styles/_index.scss +0 -15
- package/bits/spotlight-card/styles/_rules.scss +0 -52
- package/bits/star-border/star-border.scss +0 -1
- package/bits/star-border/styles/_index.scss +0 -15
- package/bits/star-border/styles/_rules.scss +0 -126
- package/bits/threads/styles/_index.scss +0 -8
- package/bits/threads/styles/_rules.scss +0 -76
- package/bits/threads/threads.scss +0 -1
- package/bits/tilt-card/styles/_index.scss +0 -15
- package/bits/tilt-card/styles/_rules.scss +0 -56
- package/bits/tilt-card/tilt-card.scss +0 -1
- package/bits/typewriter/styles/_index.scss +0 -15
- package/bits/typewriter/styles/_rules.scss +0 -45
- package/bits/typewriter/typewriter.scss +0 -1
- package/bits/waves/styles/_index.scss +0 -15
- package/bits/waves/styles/_rules.scss +0 -54
- package/bits/waves/waves.scss +0 -1
- package/fesm2022/ngwr-bits-aurora.mjs +0 -461
- package/fesm2022/ngwr-bits-aurora.mjs.map +0 -1
- package/fesm2022/ngwr-bits-blur-text-testing.mjs +0 -49
- package/fesm2022/ngwr-bits-blur-text-testing.mjs.map +0 -1
- package/fesm2022/ngwr-bits-blur-text.mjs +0 -337
- package/fesm2022/ngwr-bits-blur-text.mjs.map +0 -1
- package/fesm2022/ngwr-bits-border-glow-testing.mjs +0 -147
- package/fesm2022/ngwr-bits-border-glow-testing.mjs.map +0 -1
- package/fesm2022/ngwr-bits-border-glow.mjs +0 -561
- package/fesm2022/ngwr-bits-border-glow.mjs.map +0 -1
- package/fesm2022/ngwr-bits-circular-text-testing.mjs +0 -63
- package/fesm2022/ngwr-bits-circular-text-testing.mjs.map +0 -1
- package/fesm2022/ngwr-bits-circular-text.mjs +0 -228
- package/fesm2022/ngwr-bits-circular-text.mjs.map +0 -1
- package/fesm2022/ngwr-bits-click-spark.mjs +0 -304
- package/fesm2022/ngwr-bits-click-spark.mjs.map +0 -1
- package/fesm2022/ngwr-bits-confetti.mjs +0 -175
- package/fesm2022/ngwr-bits-confetti.mjs.map +0 -1
- package/fesm2022/ngwr-bits-decrypt-text-testing.mjs +0 -62
- package/fesm2022/ngwr-bits-decrypt-text-testing.mjs.map +0 -1
- package/fesm2022/ngwr-bits-decrypt-text.mjs +0 -525
- package/fesm2022/ngwr-bits-decrypt-text.mjs.map +0 -1
- package/fesm2022/ngwr-bits-dot-grid-testing.mjs +0 -40
- package/fesm2022/ngwr-bits-dot-grid-testing.mjs.map +0 -1
- package/fesm2022/ngwr-bits-dot-grid.mjs +0 -479
- package/fesm2022/ngwr-bits-dot-grid.mjs.map +0 -1
- package/fesm2022/ngwr-bits-falling-text-testing.mjs +0 -56
- package/fesm2022/ngwr-bits-falling-text-testing.mjs.map +0 -1
- package/fesm2022/ngwr-bits-falling-text.mjs +0 -418
- package/fesm2022/ngwr-bits-falling-text.mjs.map +0 -1
- package/fesm2022/ngwr-bits-fuzzy-text-testing.mjs +0 -38
- package/fesm2022/ngwr-bits-fuzzy-text-testing.mjs.map +0 -1
- package/fesm2022/ngwr-bits-fuzzy-text.mjs +0 -715
- package/fesm2022/ngwr-bits-fuzzy-text.mjs.map +0 -1
- package/fesm2022/ngwr-bits-glitch-text-testing.mjs +0 -63
- package/fesm2022/ngwr-bits-glitch-text-testing.mjs.map +0 -1
- package/fesm2022/ngwr-bits-glitch-text.mjs +0 -172
- package/fesm2022/ngwr-bits-glitch-text.mjs.map +0 -1
- package/fesm2022/ngwr-bits-gradient-text-testing.mjs +0 -89
- package/fesm2022/ngwr-bits-gradient-text-testing.mjs.map +0 -1
- package/fesm2022/ngwr-bits-gradient-text.mjs +0 -217
- package/fesm2022/ngwr-bits-gradient-text.mjs.map +0 -1
- package/fesm2022/ngwr-bits-iridescence-testing.mjs +0 -31
- package/fesm2022/ngwr-bits-iridescence-testing.mjs.map +0 -1
- package/fesm2022/ngwr-bits-iridescence.mjs +0 -591
- package/fesm2022/ngwr-bits-iridescence.mjs.map +0 -1
- package/fesm2022/ngwr-bits-marquee-testing.mjs +0 -126
- package/fesm2022/ngwr-bits-marquee-testing.mjs.map +0 -1
- package/fesm2022/ngwr-bits-marquee.mjs +0 -451
- package/fesm2022/ngwr-bits-marquee.mjs.map +0 -1
- package/fesm2022/ngwr-bits-ripple-grid-testing.mjs +0 -40
- package/fesm2022/ngwr-bits-ripple-grid-testing.mjs.map +0 -1
- package/fesm2022/ngwr-bits-ripple-grid.mjs +0 -806
- package/fesm2022/ngwr-bits-ripple-grid.mjs.map +0 -1
- package/fesm2022/ngwr-bits-rotating-text-testing.mjs +0 -50
- package/fesm2022/ngwr-bits-rotating-text-testing.mjs.map +0 -1
- package/fesm2022/ngwr-bits-rotating-text.mjs +0 -413
- package/fesm2022/ngwr-bits-rotating-text.mjs.map +0 -1
- package/fesm2022/ngwr-bits-shiny-text-testing.mjs +0 -92
- package/fesm2022/ngwr-bits-shiny-text-testing.mjs.map +0 -1
- package/fesm2022/ngwr-bits-shiny-text.mjs +0 -315
- package/fesm2022/ngwr-bits-shiny-text.mjs.map +0 -1
- package/fesm2022/ngwr-bits-splash-cursor-testing.mjs +0 -25
- package/fesm2022/ngwr-bits-splash-cursor-testing.mjs.map +0 -1
- package/fesm2022/ngwr-bits-splash-cursor.mjs +0 -1282
- package/fesm2022/ngwr-bits-splash-cursor.mjs.map +0 -1
- package/fesm2022/ngwr-bits-split-text-testing.mjs +0 -54
- package/fesm2022/ngwr-bits-split-text-testing.mjs.map +0 -1
- package/fesm2022/ngwr-bits-split-text.mjs +0 -378
- package/fesm2022/ngwr-bits-split-text.mjs.map +0 -1
- package/fesm2022/ngwr-bits-spotlight-card-testing.mjs +0 -113
- package/fesm2022/ngwr-bits-spotlight-card-testing.mjs.map +0 -1
- package/fesm2022/ngwr-bits-spotlight-card.mjs +0 -228
- package/fesm2022/ngwr-bits-spotlight-card.mjs.map +0 -1
- package/fesm2022/ngwr-bits-star-border-testing.mjs +0 -57
- package/fesm2022/ngwr-bits-star-border-testing.mjs.map +0 -1
- package/fesm2022/ngwr-bits-star-border.mjs +0 -162
- package/fesm2022/ngwr-bits-star-border.mjs.map +0 -1
- package/fesm2022/ngwr-bits-threads-testing.mjs +0 -41
- package/fesm2022/ngwr-bits-threads-testing.mjs.map +0 -1
- package/fesm2022/ngwr-bits-threads.mjs +0 -482
- package/fesm2022/ngwr-bits-threads.mjs.map +0 -1
- package/fesm2022/ngwr-bits-tilt-card-testing.mjs +0 -83
- package/fesm2022/ngwr-bits-tilt-card-testing.mjs.map +0 -1
- package/fesm2022/ngwr-bits-tilt-card.mjs +0 -260
- package/fesm2022/ngwr-bits-tilt-card.mjs.map +0 -1
- package/fesm2022/ngwr-bits-typewriter-testing.mjs +0 -61
- package/fesm2022/ngwr-bits-typewriter-testing.mjs.map +0 -1
- package/fesm2022/ngwr-bits-typewriter.mjs +0 -469
- package/fesm2022/ngwr-bits-typewriter.mjs.map +0 -1
- package/fesm2022/ngwr-bits-waves-testing.mjs +0 -37
- package/fesm2022/ngwr-bits-waves-testing.mjs.map +0 -1
- package/fesm2022/ngwr-bits-waves.mjs +0 -865
- package/fesm2022/ngwr-bits-waves.mjs.map +0 -1
- package/types/ngwr-bits-aurora.d.ts +0 -114
- package/types/ngwr-bits-blur-text-testing.d.ts +0 -162
- package/types/ngwr-bits-blur-text.d.ts +0 -135
- package/types/ngwr-bits-border-glow-testing.d.ts +0 -230
- package/types/ngwr-bits-border-glow.d.ts +0 -166
- package/types/ngwr-bits-circular-text-testing.d.ts +0 -178
- package/types/ngwr-bits-circular-text.d.ts +0 -70
- package/types/ngwr-bits-click-spark.d.ts +0 -101
- package/types/ngwr-bits-confetti.d.ts +0 -80
- package/types/ngwr-bits-decrypt-text-testing.d.ts +0 -204
- package/types/ngwr-bits-decrypt-text.d.ts +0 -135
- package/types/ngwr-bits-dot-grid-testing.d.ts +0 -92
- package/types/ngwr-bits-dot-grid.d.ts +0 -158
- package/types/ngwr-bits-falling-text-testing.d.ts +0 -170
- package/types/ngwr-bits-falling-text.d.ts +0 -95
- package/types/ngwr-bits-fuzzy-text-testing.d.ts +0 -112
- package/types/ngwr-bits-fuzzy-text.d.ts +0 -208
- package/types/ngwr-bits-glitch-text-testing.d.ts +0 -183
- package/types/ngwr-bits-glitch-text.d.ts +0 -60
- package/types/ngwr-bits-gradient-text-testing.d.ts +0 -168
- package/types/ngwr-bits-gradient-text.d.ts +0 -73
- package/types/ngwr-bits-iridescence-testing.d.ts +0 -85
- package/types/ngwr-bits-iridescence.d.ts +0 -244
- package/types/ngwr-bits-marquee-testing.d.ts +0 -266
- package/types/ngwr-bits-marquee.d.ts +0 -188
- package/types/ngwr-bits-ripple-grid-testing.d.ts +0 -96
- package/types/ngwr-bits-ripple-grid.d.ts +0 -299
- package/types/ngwr-bits-rotating-text-testing.d.ts +0 -173
- package/types/ngwr-bits-rotating-text.d.ts +0 -127
- package/types/ngwr-bits-shiny-text-testing.d.ts +0 -147
- package/types/ngwr-bits-shiny-text.d.ts +0 -131
- package/types/ngwr-bits-splash-cursor-testing.d.ts +0 -77
- package/types/ngwr-bits-splash-cursor.d.ts +0 -162
- package/types/ngwr-bits-split-text-testing.d.ts +0 -191
- package/types/ngwr-bits-split-text.d.ts +0 -163
- package/types/ngwr-bits-spotlight-card-testing.d.ts +0 -279
- package/types/ngwr-bits-spotlight-card.d.ts +0 -94
- package/types/ngwr-bits-star-border-testing.d.ts +0 -117
- package/types/ngwr-bits-star-border.d.ts +0 -62
- package/types/ngwr-bits-threads-testing.d.ts +0 -97
- package/types/ngwr-bits-threads.d.ts +0 -216
- package/types/ngwr-bits-tilt-card-testing.d.ts +0 -140
- package/types/ngwr-bits-tilt-card.d.ts +0 -94
- package/types/ngwr-bits-typewriter-testing.d.ts +0 -201
- package/types/ngwr-bits-typewriter.d.ts +0 -165
- package/types/ngwr-bits-waves-testing.d.ts +0 -103
- package/types/ngwr-bits-waves.d.ts +0 -142
|
@@ -1,161 +0,0 @@
|
|
|
1
|
-
// Glitch text (reactbits port). Two pseudo-element clones of the text
|
|
2
|
-
// are offset by ±5px and tinted with `text-shadow` (red / cyan).
|
|
3
|
-
// A clip-path keyframe slices random horizontal bands of each clone.
|
|
4
|
-
//
|
|
5
|
-
// The clones hang off `__clones`, never off the host. `content: attr(data-text)`
|
|
6
|
-
// is exposed to the accessibility tree, so pseudos on the host made the string
|
|
7
|
-
// announce three times; `__clones` carries `aria-hidden` and takes both of them
|
|
8
|
-
// out of the tree at once.
|
|
9
|
-
|
|
10
|
-
.wr-glitch-text {
|
|
11
|
-
--wr-glitch-text-before-duration: 2s;
|
|
12
|
-
--wr-glitch-text-after-duration: 3s;
|
|
13
|
-
--wr-glitch-text-before-shadow: 5px 0 var(--wr-color-info);
|
|
14
|
-
--wr-glitch-text-after-shadow: -5px 0 var(--wr-color-danger);
|
|
15
|
-
--wr-glitch-text-font-weight: var(--wr-font-weight-extrabold);
|
|
16
|
-
|
|
17
|
-
position: relative;
|
|
18
|
-
display: inline-block;
|
|
19
|
-
white-space: nowrap;
|
|
20
|
-
user-select: none;
|
|
21
|
-
font-weight: var(--wr-glitch-text-font-weight);
|
|
22
|
-
color: var(--wr-color-on-surface, #0f172a);
|
|
23
|
-
|
|
24
|
-
// The decorative layer. Stretched over the label so the clones land exactly
|
|
25
|
-
// where they did when they hung off the host. No `pointer-events: none`: the
|
|
26
|
-
// clones overhang the host by 10px on each side, and the hover-only variant
|
|
27
|
-
// is gated on `:hover`, so a layer the pointer passes through would leave the
|
|
28
|
-
// effect flickering off along those two strips.
|
|
29
|
-
&__clones {
|
|
30
|
-
position: absolute;
|
|
31
|
-
inset: 0;
|
|
32
|
-
}
|
|
33
|
-
|
|
34
|
-
&__clones::before,
|
|
35
|
-
&__clones::after {
|
|
36
|
-
content: attr(data-text);
|
|
37
|
-
position: absolute;
|
|
38
|
-
top: 0;
|
|
39
|
-
color: inherit;
|
|
40
|
-
background-color: var(--wr-glitch-text-bg, transparent);
|
|
41
|
-
overflow: hidden;
|
|
42
|
-
clip-path: inset(0 0 0 0);
|
|
43
|
-
}
|
|
44
|
-
|
|
45
|
-
// Always-on variant — clones animate continuously.
|
|
46
|
-
&:not(&--hover-only) &__clones::before {
|
|
47
|
-
// rtl-ok: aberration offset paired with the physical x-offset in `--wr-glitch-text-before-shadow` (`5px 0`)
|
|
48
|
-
left: -10px;
|
|
49
|
-
text-shadow: var(--wr-glitch-text-before-shadow);
|
|
50
|
-
animation: wr-glitch-text-tear var(--wr-glitch-text-before-duration) infinite linear alternate-reverse;
|
|
51
|
-
}
|
|
52
|
-
&:not(&--hover-only) &__clones::after {
|
|
53
|
-
// rtl-ok: aberration offset paired with the physical x-offset in `--wr-glitch-text-after-shadow` (`-5px 0`)
|
|
54
|
-
left: 10px;
|
|
55
|
-
text-shadow: var(--wr-glitch-text-after-shadow);
|
|
56
|
-
animation: wr-glitch-text-tear var(--wr-glitch-text-after-duration) infinite linear alternate-reverse;
|
|
57
|
-
}
|
|
58
|
-
|
|
59
|
-
// Hover-only variant — clones hidden by default, animate on :hover.
|
|
60
|
-
&--hover-only &__clones::before,
|
|
61
|
-
&--hover-only &__clones::after {
|
|
62
|
-
content: '';
|
|
63
|
-
opacity: 0;
|
|
64
|
-
animation: none;
|
|
65
|
-
}
|
|
66
|
-
|
|
67
|
-
&--hover-only:hover &__clones::before {
|
|
68
|
-
content: attr(data-text);
|
|
69
|
-
opacity: 1;
|
|
70
|
-
// rtl-ok: same decorative offset as the always-on variant, paired with a physical `text-shadow` x-offset
|
|
71
|
-
left: -10px;
|
|
72
|
-
text-shadow: var(--wr-glitch-text-before-shadow);
|
|
73
|
-
animation: wr-glitch-text-tear var(--wr-glitch-text-before-duration) infinite linear alternate-reverse;
|
|
74
|
-
}
|
|
75
|
-
&--hover-only:hover &__clones::after {
|
|
76
|
-
content: attr(data-text);
|
|
77
|
-
opacity: 1;
|
|
78
|
-
// rtl-ok: same decorative offset as the always-on variant, paired with a physical `text-shadow` x-offset
|
|
79
|
-
left: 10px;
|
|
80
|
-
text-shadow: var(--wr-glitch-text-after-shadow);
|
|
81
|
-
animation: wr-glitch-text-tear var(--wr-glitch-text-after-duration) infinite linear alternate-reverse;
|
|
82
|
-
}
|
|
83
|
-
}
|
|
84
|
-
|
|
85
|
-
// Reduced motion: drop the glitch clones entirely — a frozen glitch frame
|
|
86
|
-
// reads as broken double-vision text, so plain text is the right fallback.
|
|
87
|
-
// `!important` outweighs the higher-specificity `:hover` re-enable rules.
|
|
88
|
-
@media (prefers-reduced-motion: reduce) {
|
|
89
|
-
.wr-glitch-text__clones::before,
|
|
90
|
-
.wr-glitch-text__clones::after {
|
|
91
|
-
content: '' !important;
|
|
92
|
-
opacity: 0 !important;
|
|
93
|
-
animation: none !important;
|
|
94
|
-
}
|
|
95
|
-
}
|
|
96
|
-
|
|
97
|
-
@keyframes wr-glitch-text-tear {
|
|
98
|
-
0% {
|
|
99
|
-
clip-path: inset(20% 0 50% 0);
|
|
100
|
-
}
|
|
101
|
-
5% {
|
|
102
|
-
clip-path: inset(10% 0 60% 0);
|
|
103
|
-
}
|
|
104
|
-
10% {
|
|
105
|
-
clip-path: inset(15% 0 55% 0);
|
|
106
|
-
}
|
|
107
|
-
15% {
|
|
108
|
-
clip-path: inset(25% 0 35% 0);
|
|
109
|
-
}
|
|
110
|
-
20% {
|
|
111
|
-
clip-path: inset(30% 0 40% 0);
|
|
112
|
-
}
|
|
113
|
-
25% {
|
|
114
|
-
clip-path: inset(40% 0 20% 0);
|
|
115
|
-
}
|
|
116
|
-
30% {
|
|
117
|
-
clip-path: inset(10% 0 60% 0);
|
|
118
|
-
}
|
|
119
|
-
35% {
|
|
120
|
-
clip-path: inset(15% 0 55% 0);
|
|
121
|
-
}
|
|
122
|
-
40% {
|
|
123
|
-
clip-path: inset(25% 0 35% 0);
|
|
124
|
-
}
|
|
125
|
-
45% {
|
|
126
|
-
clip-path: inset(30% 0 40% 0);
|
|
127
|
-
}
|
|
128
|
-
50% {
|
|
129
|
-
clip-path: inset(20% 0 50% 0);
|
|
130
|
-
}
|
|
131
|
-
55% {
|
|
132
|
-
clip-path: inset(10% 0 60% 0);
|
|
133
|
-
}
|
|
134
|
-
60% {
|
|
135
|
-
clip-path: inset(15% 0 55% 0);
|
|
136
|
-
}
|
|
137
|
-
65% {
|
|
138
|
-
clip-path: inset(25% 0 35% 0);
|
|
139
|
-
}
|
|
140
|
-
70% {
|
|
141
|
-
clip-path: inset(30% 0 40% 0);
|
|
142
|
-
}
|
|
143
|
-
75% {
|
|
144
|
-
clip-path: inset(40% 0 20% 0);
|
|
145
|
-
}
|
|
146
|
-
80% {
|
|
147
|
-
clip-path: inset(20% 0 50% 0);
|
|
148
|
-
}
|
|
149
|
-
85% {
|
|
150
|
-
clip-path: inset(10% 0 60% 0);
|
|
151
|
-
}
|
|
152
|
-
90% {
|
|
153
|
-
clip-path: inset(15% 0 55% 0);
|
|
154
|
-
}
|
|
155
|
-
95% {
|
|
156
|
-
clip-path: inset(25% 0 35% 0);
|
|
157
|
-
}
|
|
158
|
-
100% {
|
|
159
|
-
clip-path: inset(30% 0 40% 0);
|
|
160
|
-
}
|
|
161
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
@forward './styles/rules';
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
// Public Sass entry for `@use 'ngwr/bits/gradient-text'`.
|
|
2
|
-
//
|
|
3
|
-
// Pulls the whole theme so a standalone import still brings in every design
|
|
4
|
-
// token these rules reference, then loads the rules themselves from `_rules`.
|
|
5
|
-
//
|
|
6
|
-
// The split is what keeps the token layer out of the JavaScript bundle.
|
|
7
|
-
// `gradient-text.scss` is the component's `styleUrl`, and a component
|
|
8
|
-
// stylesheet is its OWN Sass compilation — `@use` only deduplicates within one.
|
|
9
|
-
// So while the app's global stylesheet emits the theme once, forwarding it from
|
|
10
|
-
// here would inline a second, byte-identical copy of `:root` and the box-sizing
|
|
11
|
-
// reset into the compiled component styles, which the library build then embeds
|
|
12
|
-
// in the FESM bundle as a string. `gradient-text.scss` forwards `_rules`
|
|
13
|
-
// instead, so it carries this component's own CSS and nothing else.
|
|
14
|
-
@use '../../../theme/styles';
|
|
15
|
-
@forward 'rules';
|
|
@@ -1,118 +0,0 @@
|
|
|
1
|
-
// Animated gradient text (reactbits port). The gradient is shared between
|
|
2
|
-
// the text fill (via `background-clip: text`) and an optional outer ring.
|
|
3
|
-
// Both layers use the same animation, so the ring + text stay in sync.
|
|
4
|
-
|
|
5
|
-
.wr-gradient-text {
|
|
6
|
-
--wr-gradient-text-image: linear-gradient(to right, #5227ff, #ff9ffc, #b497cf, #5227ff);
|
|
7
|
-
--wr-gradient-text-size: 300% 100%;
|
|
8
|
-
--wr-gradient-text-duration: 8s;
|
|
9
|
-
--wr-gradient-text-font-weight: var(--wr-font-weight-medium);
|
|
10
|
-
--wr-gradient-text-line-height: var(--wr-leading-tight);
|
|
11
|
-
--wr-gradient-text-padding-y: var(--wr-space-xs);
|
|
12
|
-
--wr-gradient-text-padding-x: var(--wr-space-md);
|
|
13
|
-
--wr-gradient-text-radius: var(--wr-border-radius-lg);
|
|
14
|
-
|
|
15
|
-
position: relative;
|
|
16
|
-
display: inline-flex;
|
|
17
|
-
align-items: center;
|
|
18
|
-
justify-content: center;
|
|
19
|
-
margin: 0;
|
|
20
|
-
font-weight: var(--wr-gradient-text-font-weight);
|
|
21
|
-
line-height: var(--wr-gradient-text-line-height);
|
|
22
|
-
overflow: hidden;
|
|
23
|
-
|
|
24
|
-
&--border {
|
|
25
|
-
padding: var(--wr-gradient-text-padding-y) var(--wr-gradient-text-padding-x);
|
|
26
|
-
border-radius: var(--wr-gradient-text-radius);
|
|
27
|
-
}
|
|
28
|
-
|
|
29
|
-
&__text {
|
|
30
|
-
position: relative;
|
|
31
|
-
z-index: 2;
|
|
32
|
-
display: inline-block;
|
|
33
|
-
background-image: var(--wr-gradient-text-image);
|
|
34
|
-
background-size: var(--wr-gradient-text-size);
|
|
35
|
-
background-position: 0% 50%;
|
|
36
|
-
-webkit-background-clip: text;
|
|
37
|
-
background-clip: text;
|
|
38
|
-
color: transparent;
|
|
39
|
-
animation: wr-gradient-text-horizontal var(--wr-gradient-text-duration) linear infinite;
|
|
40
|
-
}
|
|
41
|
-
|
|
42
|
-
// Border variant — animated gradient ring + dark inner pill behind the
|
|
43
|
-
// text. The inner uses a `::before` so the gradient is only visible at
|
|
44
|
-
// the perimeter.
|
|
45
|
-
&__border {
|
|
46
|
-
position: absolute;
|
|
47
|
-
inset: 0;
|
|
48
|
-
border-radius: inherit;
|
|
49
|
-
background-image: var(--wr-gradient-text-image);
|
|
50
|
-
background-size: var(--wr-gradient-text-size);
|
|
51
|
-
background-position: 0% 50%;
|
|
52
|
-
animation: wr-gradient-text-horizontal var(--wr-gradient-text-duration) linear infinite;
|
|
53
|
-
z-index: 0;
|
|
54
|
-
pointer-events: none;
|
|
55
|
-
|
|
56
|
-
&::before {
|
|
57
|
-
content: '';
|
|
58
|
-
position: absolute;
|
|
59
|
-
inset: 1px;
|
|
60
|
-
border-radius: inherit;
|
|
61
|
-
// Surface token — flips with the theme so the ring reads on both.
|
|
62
|
-
background-color: var(--wr-color-surface, #fff);
|
|
63
|
-
z-index: 1;
|
|
64
|
-
}
|
|
65
|
-
}
|
|
66
|
-
|
|
67
|
-
// Direction variants change which axis the gradient slides on.
|
|
68
|
-
&--vertical &__text,
|
|
69
|
-
&--vertical &__border {
|
|
70
|
-
background-position: 50% 0%;
|
|
71
|
-
animation-name: wr-gradient-text-vertical;
|
|
72
|
-
}
|
|
73
|
-
|
|
74
|
-
// Diagonal: same as horizontal motion but a diagonal angle on the
|
|
75
|
-
// gradient itself.
|
|
76
|
-
&--diagonal &__text,
|
|
77
|
-
&--diagonal &__border {
|
|
78
|
-
background-position: 0% 50%;
|
|
79
|
-
animation-name: wr-gradient-text-horizontal;
|
|
80
|
-
}
|
|
81
|
-
|
|
82
|
-
&--yoyo &__text,
|
|
83
|
-
&--yoyo &__border {
|
|
84
|
-
animation-direction: alternate;
|
|
85
|
-
}
|
|
86
|
-
|
|
87
|
-
&--pause-on-hover:hover &__text,
|
|
88
|
-
&--pause-on-hover:hover &__border {
|
|
89
|
-
animation-play-state: paused;
|
|
90
|
-
}
|
|
91
|
-
}
|
|
92
|
-
|
|
93
|
-
@keyframes wr-gradient-text-horizontal {
|
|
94
|
-
from {
|
|
95
|
-
background-position: 0% 50%;
|
|
96
|
-
}
|
|
97
|
-
to {
|
|
98
|
-
background-position: 100% 50%;
|
|
99
|
-
}
|
|
100
|
-
}
|
|
101
|
-
|
|
102
|
-
@keyframes wr-gradient-text-vertical {
|
|
103
|
-
from {
|
|
104
|
-
background-position: 50% 0%;
|
|
105
|
-
}
|
|
106
|
-
to {
|
|
107
|
-
background-position: 50% 100%;
|
|
108
|
-
}
|
|
109
|
-
}
|
|
110
|
-
|
|
111
|
-
// Reduced motion: hold the gradient still — text keeps its gradient fill
|
|
112
|
-
// (and the border variant its ring), only the slide stops.
|
|
113
|
-
@media (prefers-reduced-motion: reduce) {
|
|
114
|
-
.wr-gradient-text__text,
|
|
115
|
-
.wr-gradient-text__border {
|
|
116
|
-
animation: none !important;
|
|
117
|
-
}
|
|
118
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
@forward './styles/rules';
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
// Public Sass entry for `@use 'ngwr/bits/iridescence'`.
|
|
2
|
-
//
|
|
3
|
-
// `iridescence.scss` — the component's `styleUrl` — forwards `_rules` and
|
|
4
|
-
// nothing else, so the compiled component styles carry this component's own
|
|
5
|
-
// CSS and no second copy of the theme layer.
|
|
6
|
-
@use '../../../theme/styles';
|
|
7
|
-
|
|
8
|
-
@forward 'rules';
|
|
@@ -1,72 +0,0 @@
|
|
|
1
|
-
// Iridescence background. A WebGL2 canvas fills the nearest positioned ancestor
|
|
2
|
-
// and the picture lives in the fragment shader. A uniform reads neither a `var()`
|
|
3
|
-
// nor a `light-dark()`, so `iridescence.ts` resolves the colour through
|
|
4
|
-
// `resolveCssColorChannels` before it reaches one.
|
|
5
|
-
|
|
6
|
-
.wr-iridescence {
|
|
7
|
-
// Multiplied over the picture, so white leaves it as it is.
|
|
8
|
-
--wr-iridescence-color: light-dark(#ffffff, #5c669e);
|
|
9
|
-
|
|
10
|
-
position: absolute;
|
|
11
|
-
inset: 0;
|
|
12
|
-
z-index: 0;
|
|
13
|
-
display: block;
|
|
14
|
-
overflow: hidden;
|
|
15
|
-
// The pointer is followed on the parent, so the layer itself never takes a
|
|
16
|
-
// click or a hover from what sits behind or around it.
|
|
17
|
-
pointer-events: none;
|
|
18
|
-
|
|
19
|
-
// Stand-in, shown before hydration, on a machine with no WebGL2 and after a
|
|
20
|
-
// lost context, so the box is never empty and text placed on it keeps its
|
|
21
|
-
// ground. The colours are sampled from the shader's own output at a white tint,
|
|
22
|
-
// and the bands run along its drape axis: 329deg is the direction across the
|
|
23
|
-
// folds, `(-0.51, 0.86)` in GL. `multiply` is what `uColor` does to the shader,
|
|
24
|
-
// so an opaque tint lands on both the same way, and the second layer shades the
|
|
25
|
-
// far corners so the first does not read as plain stripes.
|
|
26
|
-
background-color: var(--wr-iridescence-input-color, var(--wr-iridescence-color));
|
|
27
|
-
background-image:
|
|
28
|
-
linear-gradient(59deg, #e6dcf0 0%, transparent 35%, transparent 65%, #d6d0ea 100%),
|
|
29
|
-
linear-gradient(
|
|
30
|
-
329deg,
|
|
31
|
-
#e9dbef 0%,
|
|
32
|
-
#c49cd1 16%,
|
|
33
|
-
#f2e6f3 32%,
|
|
34
|
-
#b2bcde 48%,
|
|
35
|
-
#7387b2 60%,
|
|
36
|
-
#d5c7e7 74%,
|
|
37
|
-
#c6bce4 86%,
|
|
38
|
-
#ebddf0 100%
|
|
39
|
-
);
|
|
40
|
-
background-blend-mode: multiply;
|
|
41
|
-
|
|
42
|
-
&__canvas {
|
|
43
|
-
display: block;
|
|
44
|
-
width: 100%;
|
|
45
|
-
height: 100%;
|
|
46
|
-
opacity: 0;
|
|
47
|
-
transition: opacity var(--wr-duration-slower) var(--wr-ease-in-out);
|
|
48
|
-
}
|
|
49
|
-
|
|
50
|
-
// The stand-in stays under it and is not retired. It is an approximation and
|
|
51
|
-
// not the same picture, so swapping one for the other would pop.
|
|
52
|
-
&--painted &__canvas {
|
|
53
|
-
opacity: 1;
|
|
54
|
-
}
|
|
55
|
-
|
|
56
|
-
@media (prefers-reduced-motion: reduce) {
|
|
57
|
-
&__canvas {
|
|
58
|
-
transition: none;
|
|
59
|
-
}
|
|
60
|
-
}
|
|
61
|
-
|
|
62
|
-
// The browser has already taken the stand-in down to the palette's own ground,
|
|
63
|
-
// which forced text and marks are chosen against, and the silk would cover it. The
|
|
64
|
-
// adjust inherits to the colour probe inside the canvas, which would otherwise read
|
|
65
|
-
// the forced colour, so a frame drawn in this mode is still right when it ends.
|
|
66
|
-
@media (forced-colors: active) {
|
|
67
|
-
&__canvas {
|
|
68
|
-
display: none;
|
|
69
|
-
forced-color-adjust: none;
|
|
70
|
-
}
|
|
71
|
-
}
|
|
72
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
@forward './styles/rules';
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
// Public Sass entry for `@use 'ngwr/bits/marquee'`.
|
|
2
|
-
//
|
|
3
|
-
// Pulls the whole theme so a standalone import still brings in every design
|
|
4
|
-
// token these rules reference, then loads the rules themselves from `_rules`.
|
|
5
|
-
//
|
|
6
|
-
// The split is what keeps the token layer out of the JavaScript bundle.
|
|
7
|
-
// `marquee.scss` is the component's `styleUrl`, and a component stylesheet is
|
|
8
|
-
// its OWN Sass compilation — `@use` only deduplicates within one. So while the
|
|
9
|
-
// app's global stylesheet emits the theme once, forwarding it from here would
|
|
10
|
-
// inline a second, byte-identical copy of `:root` and the box-sizing reset into
|
|
11
|
-
// the compiled component styles, which the library build then embeds in the
|
|
12
|
-
// FESM bundle as a string. `marquee.scss` forwards `_rules` instead, so it
|
|
13
|
-
// carries this component's own CSS and nothing else.
|
|
14
|
-
@use '../../../theme/styles';
|
|
15
|
-
@forward 'rules';
|
|
@@ -1,203 +0,0 @@
|
|
|
1
|
-
// Endless marquee (reactbits LogoLoop port).
|
|
2
|
-
// Vars driven from component inputs:
|
|
3
|
-
// --wr-marquee-gap gap between items (px)
|
|
4
|
-
// --wr-marquee-height item height (px)
|
|
5
|
-
// --wr-marquee-input-fade-color edge fade colour (falls back to
|
|
6
|
-
// --wr-marquee-fade-color, then the page bg)
|
|
7
|
-
|
|
8
|
-
.wr-marquee {
|
|
9
|
-
--wr-marquee-gap: 32px;
|
|
10
|
-
--wr-marquee-height: 28px;
|
|
11
|
-
// Default to the lib's surface colour; consumers can override via
|
|
12
|
-
// `[fadeOutColor]` or by setting `--wr-marquee-fade-color` directly.
|
|
13
|
-
--wr-marquee-fade-color-auto: var(--wr-color-surface, #ffffff);
|
|
14
|
-
// What `[fadeOutColor]` writes on the host, which the inline value beats. Unset here so
|
|
15
|
-
// a marquee rendered inside another one does not inherit its colour.
|
|
16
|
-
--wr-marquee-input-fade-color: initial;
|
|
17
|
-
|
|
18
|
-
position: relative;
|
|
19
|
-
display: block;
|
|
20
|
-
width: 100%;
|
|
21
|
-
overflow: hidden;
|
|
22
|
-
// The loop is physical (see `&__item` below): the track starts at the left
|
|
23
|
-
// edge, its copies extend to the right, and `translate3d(-offset)` walks it
|
|
24
|
-
// left. Under an inherited RTL the host anchors the over-wide track at its
|
|
25
|
-
// RIGHT edge with the copies running left, and the same translate opened a
|
|
26
|
-
// blank gap of up to one sequence there every cycle. It has to be the host,
|
|
27
|
-
// not the track: which edge an over-wide block sticks to is decided by its
|
|
28
|
-
// containing block's direction. Each item restores the document's direction
|
|
29
|
-
// for its own content below.
|
|
30
|
-
direction: ltr;
|
|
31
|
-
|
|
32
|
-
&--scale-hover {
|
|
33
|
-
padding-top: calc(var(--wr-marquee-height) * 0.1);
|
|
34
|
-
padding-bottom: calc(var(--wr-marquee-height) * 0.1);
|
|
35
|
-
}
|
|
36
|
-
|
|
37
|
-
&__track {
|
|
38
|
-
display: flex;
|
|
39
|
-
width: max-content;
|
|
40
|
-
will-change: transform;
|
|
41
|
-
user-select: none;
|
|
42
|
-
position: relative;
|
|
43
|
-
z-index: 0;
|
|
44
|
-
}
|
|
45
|
-
|
|
46
|
-
&__list {
|
|
47
|
-
display: flex;
|
|
48
|
-
align-items: center;
|
|
49
|
-
margin: 0;
|
|
50
|
-
padding: 0;
|
|
51
|
-
list-style: none;
|
|
52
|
-
}
|
|
53
|
-
|
|
54
|
-
&__item {
|
|
55
|
-
flex: 0 0 auto;
|
|
56
|
-
// The whole strip is physical, not textual: `[direction]` is literally
|
|
57
|
-
// `'left' | 'right'`, the track is driven by `translate3d(-offset px, 0, 0)`
|
|
58
|
-
// against a `getBoundingClientRect().width` measurement of one sequence, and
|
|
59
|
-
// the edge fades are `left`/`right` gradients. The item gap is the seam of
|
|
60
|
-
// that physical loop — it has to match the offset the track wraps at, so it
|
|
61
|
-
// stays on the same axis the animation runs on.
|
|
62
|
-
// rtl-ok: seam gap of a physically-animated track (see the note above)
|
|
63
|
-
margin-right: var(--wr-marquee-gap);
|
|
64
|
-
font-size: var(--wr-marquee-height);
|
|
65
|
-
line-height: 1;
|
|
66
|
-
|
|
67
|
-
// `:dir()` reads the DOCUMENT's direction (the `dir` attribute), which the
|
|
68
|
-
// track's CSS `direction: ltr` does not change — so the text inside an item
|
|
69
|
-
// keeps the page's direction while the strip itself stays physical.
|
|
70
|
-
&:dir(rtl) {
|
|
71
|
-
direction: rtl;
|
|
72
|
-
}
|
|
73
|
-
}
|
|
74
|
-
|
|
75
|
-
&__item:last-child {
|
|
76
|
-
// Restates the interior gap on the last item so the join between two copies
|
|
77
|
-
// of the sequence is spaced like the gaps inside it.
|
|
78
|
-
// rtl-ok: same physical loop axis as the interior gap above
|
|
79
|
-
margin-right: var(--wr-marquee-gap);
|
|
80
|
-
}
|
|
81
|
-
|
|
82
|
-
&__node {
|
|
83
|
-
display: inline-flex;
|
|
84
|
-
align-items: center;
|
|
85
|
-
}
|
|
86
|
-
|
|
87
|
-
&__item img {
|
|
88
|
-
height: var(--wr-marquee-height);
|
|
89
|
-
width: auto;
|
|
90
|
-
display: block;
|
|
91
|
-
object-fit: contain;
|
|
92
|
-
image-rendering: -webkit-optimize-contrast;
|
|
93
|
-
-webkit-user-drag: none;
|
|
94
|
-
pointer-events: none;
|
|
95
|
-
transition: transform var(--wr-duration-slow) var(--wr-ease-out);
|
|
96
|
-
}
|
|
97
|
-
|
|
98
|
-
&--scale-hover &__item {
|
|
99
|
-
overflow: visible;
|
|
100
|
-
}
|
|
101
|
-
|
|
102
|
-
&--scale-hover &__item:hover img,
|
|
103
|
-
&--scale-hover &__item:hover &__node {
|
|
104
|
-
transform: scale(1.2);
|
|
105
|
-
transform-origin: center center;
|
|
106
|
-
}
|
|
107
|
-
|
|
108
|
-
&--scale-hover &__node {
|
|
109
|
-
transition: transform var(--wr-duration-slow) var(--wr-ease-out);
|
|
110
|
-
}
|
|
111
|
-
|
|
112
|
-
&__link {
|
|
113
|
-
display: inline-flex;
|
|
114
|
-
align-items: center;
|
|
115
|
-
text-decoration: none;
|
|
116
|
-
border-radius: 4px;
|
|
117
|
-
transition: opacity 0.2s ease;
|
|
118
|
-
|
|
119
|
-
&:hover {
|
|
120
|
-
opacity: 0.8;
|
|
121
|
-
}
|
|
122
|
-
|
|
123
|
-
&:focus-visible {
|
|
124
|
-
outline: 2px solid currentColor;
|
|
125
|
-
outline-offset: 2px;
|
|
126
|
-
}
|
|
127
|
-
}
|
|
128
|
-
|
|
129
|
-
&--fade::before,
|
|
130
|
-
&--fade::after {
|
|
131
|
-
content: '';
|
|
132
|
-
position: absolute;
|
|
133
|
-
top: 0;
|
|
134
|
-
bottom: 0;
|
|
135
|
-
width: clamp(24px, 8%, 120px);
|
|
136
|
-
pointer-events: none;
|
|
137
|
-
z-index: 10;
|
|
138
|
-
}
|
|
139
|
-
|
|
140
|
-
&--fade::before {
|
|
141
|
-
// rtl-ok: paired with the physical `linear-gradient(to right, …)` below, which has no logical form
|
|
142
|
-
left: 0;
|
|
143
|
-
background: linear-gradient(
|
|
144
|
-
to right,
|
|
145
|
-
var(--wr-marquee-input-fade-color, var(--wr-marquee-fade-color, var(--wr-marquee-fade-color-auto))) 0%,
|
|
146
|
-
rgba(0, 0, 0, 0) 100%
|
|
147
|
-
);
|
|
148
|
-
}
|
|
149
|
-
|
|
150
|
-
&--fade::after {
|
|
151
|
-
// rtl-ok: paired with the physical `linear-gradient(to left, …)` below, which has no logical form
|
|
152
|
-
right: 0;
|
|
153
|
-
background: linear-gradient(
|
|
154
|
-
to left,
|
|
155
|
-
var(--wr-marquee-input-fade-color, var(--wr-marquee-fade-color, var(--wr-marquee-fade-color-auto))) 0%,
|
|
156
|
-
rgba(0, 0, 0, 0) 100%
|
|
157
|
-
);
|
|
158
|
-
}
|
|
159
|
-
|
|
160
|
-
// Reduced motion. The loop is off and the component renders one copy, so a
|
|
161
|
-
// frozen `overflow: hidden` strip would put every item past the edge out of
|
|
162
|
-
// reach; the host scrolls instead. It is the named region, and it takes a tab
|
|
163
|
-
// stop of its own when no item has one (the component decides), so the
|
|
164
|
-
// keyboard can scroll it. Set from the live preference rather than from the
|
|
165
|
-
// media query below, because the copies that query cannot remove are what
|
|
166
|
-
// would scroll into view.
|
|
167
|
-
&--static {
|
|
168
|
-
overflow-x: auto;
|
|
169
|
-
// Not `visible`: next to an `auto` axis it computes to `auto`, and the
|
|
170
|
-
// scale-on-hover padding is sized to keep a scaled item inside the box.
|
|
171
|
-
overflow-y: hidden;
|
|
172
|
-
overscroll-behavior-x: contain;
|
|
173
|
-
|
|
174
|
-
// The ring is written from the shared `--wr-focus-ring-*` tokens, the way
|
|
175
|
-
// `theme.focus-ring` writes it (see `wr-decrypt-text`), and drawn INSIDE the
|
|
176
|
-
// box: the strip is full width, so an outset ring is cut off by whatever
|
|
177
|
-
// clips the page around it.
|
|
178
|
-
&:focus-visible {
|
|
179
|
-
outline: var(--wr-focus-ring-width) solid var(--wr-focus-ring-color);
|
|
180
|
-
outline-offset: calc(var(--wr-focus-ring-width) * -1);
|
|
181
|
-
box-shadow: inset 0 0 0 calc(var(--wr-focus-ring-width) + var(--wr-focus-ring-offset)) var(--wr-focus-ring-halo);
|
|
182
|
-
}
|
|
183
|
-
}
|
|
184
|
-
|
|
185
|
-
// The fades hide a seam that a still strip does not have, and on a scroller
|
|
186
|
-
// they would sit over the first and last items for good — absolutely placed
|
|
187
|
-
// inside the scroll container, they scroll away with the content.
|
|
188
|
-
&--static::before,
|
|
189
|
-
&--static::after {
|
|
190
|
-
display: none;
|
|
191
|
-
}
|
|
192
|
-
|
|
193
|
-
@media (prefers-reduced-motion: reduce) {
|
|
194
|
-
.wr-marquee__track {
|
|
195
|
-
transform: translate3d(0, 0, 0) !important;
|
|
196
|
-
}
|
|
197
|
-
|
|
198
|
-
.wr-marquee__item img,
|
|
199
|
-
.wr-marquee__node {
|
|
200
|
-
transition: none !important;
|
|
201
|
-
}
|
|
202
|
-
}
|
|
203
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
@forward './styles/rules';
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
// Public Sass entry for `@use 'ngwr/bits/ripple-grid'`.
|
|
2
|
-
//
|
|
3
|
-
// `ripple-grid.scss` — the component's `styleUrl` — forwards `_rules` and
|
|
4
|
-
// nothing else, so the compiled component styles carry this component's own
|
|
5
|
-
// CSS and no second copy of the theme layer.
|
|
6
|
-
@use '../../../theme/styles';
|
|
7
|
-
|
|
8
|
-
@forward 'rules';
|
|
@@ -1,63 +0,0 @@
|
|
|
1
|
-
// Ripple-grid background. The host fills its nearest positioned ancestor and
|
|
2
|
-
// the lines are drawn on a 2D canvas. A canvas reads neither a `var()` nor a
|
|
3
|
-
// `light-dark()`, so `ripple-grid.ts` resolves both colour hooks through
|
|
4
|
-
// `resolveCssColor` before it strokes with them.
|
|
5
|
-
|
|
6
|
-
.wr-ripple-grid {
|
|
7
|
-
--wr-ripple-grid-line-color: var(--wr-border-base);
|
|
8
|
-
--wr-ripple-grid-ripple-color: var(--wr-color-primary);
|
|
9
|
-
// Mirror the `cellSize` and `lineWidth` inputs; the component publishes both
|
|
10
|
-
// so the stand-in below lands on the canvas's own lines.
|
|
11
|
-
--wr-ripple-grid-cell-size: 40px;
|
|
12
|
-
--wr-ripple-grid-line-width: 1px;
|
|
13
|
-
|
|
14
|
-
position: absolute;
|
|
15
|
-
inset: 0;
|
|
16
|
-
z-index: 0;
|
|
17
|
-
display: block;
|
|
18
|
-
overflow: hidden;
|
|
19
|
-
// The pointer is followed on the parent, so the layer itself never takes a
|
|
20
|
-
// click or a hover from what sits behind or around it.
|
|
21
|
-
pointer-events: none;
|
|
22
|
-
|
|
23
|
-
// Stand-in grid, shown until the canvas has painted.
|
|
24
|
-
//
|
|
25
|
-
// A canvas cannot be prerendered, so on an SSR'd page the host is blank until
|
|
26
|
-
// the bundle has loaded and hydrated. These are the resting lines at the same
|
|
27
|
-
// colour, width and cell. The tiles are centred, which puts a cell on the
|
|
28
|
-
// centre of the box the way `draw()` lays the canvas grid out, and moved back
|
|
29
|
-
// by half a line so each line sits centred on its position the way a stroke
|
|
30
|
-
// does. The canvas then moves each line by up to half a device pixel so its
|
|
31
|
-
// edges land on whole pixels, which is all the handover moves.
|
|
32
|
-
background-image:
|
|
33
|
-
linear-gradient(
|
|
34
|
-
to right,
|
|
35
|
-
var(--wr-ripple-grid-input-line-color, var(--wr-ripple-grid-line-color)) var(--wr-ripple-grid-line-width),
|
|
36
|
-
transparent var(--wr-ripple-grid-line-width)
|
|
37
|
-
),
|
|
38
|
-
linear-gradient(
|
|
39
|
-
to bottom,
|
|
40
|
-
var(--wr-ripple-grid-input-line-color, var(--wr-ripple-grid-line-color)) var(--wr-ripple-grid-line-width),
|
|
41
|
-
transparent var(--wr-ripple-grid-line-width)
|
|
42
|
-
);
|
|
43
|
-
background-position: calc(50% - var(--wr-ripple-grid-line-width) / 2) calc(50% - var(--wr-ripple-grid-line-width) / 2);
|
|
44
|
-
background-size: var(--wr-ripple-grid-cell-size) var(--wr-ripple-grid-cell-size);
|
|
45
|
-
|
|
46
|
-
&--painted {
|
|
47
|
-
background-image: none;
|
|
48
|
-
}
|
|
49
|
-
|
|
50
|
-
&__canvas {
|
|
51
|
-
display: block;
|
|
52
|
-
width: 100%;
|
|
53
|
-
height: 100%;
|
|
54
|
-
}
|
|
55
|
-
|
|
56
|
-
// The adjust inherits to the colour probe inside the canvas, which would otherwise
|
|
57
|
-
// read the forced colour. A still frame drawn then keeps it after the mode ends.
|
|
58
|
-
@media (forced-colors: active) {
|
|
59
|
-
&__canvas {
|
|
60
|
-
forced-color-adjust: none;
|
|
61
|
-
}
|
|
62
|
-
}
|
|
63
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
@forward './styles';
|