ngwr 14.12.1 → 15.0.0-rc.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 +40 -17
- package/affix/styles/_index.scss +8 -5
- package/alert/styles/_index.scss +44 -25
- package/anchor/styles/_index.scss +25 -9
- package/avatar/styles/_index.scss +17 -3
- package/badge/styles/_index.scss +45 -37
- package/badge/styles/_tag.scss +20 -29
- package/bits/aurora/styles/_index.scss +8 -0
- package/{aurora → bits/aurora}/styles/_rules.scss +7 -7
- package/bits/border-glow/styles/_index.scss +15 -0
- package/{border-glow → bits/border-glow}/styles/_rules.scss +92 -41
- package/bits/circular-text/styles/_index.scss +15 -0
- package/{circular-text → bits/circular-text}/styles/_rules.scss +4 -2
- package/bits/falling-text/styles/_index.scss +15 -0
- package/bits/glitch-text/styles/_index.scss +15 -0
- package/{glitch-text → bits/glitch-text}/styles/_rules.scss +2 -1
- package/bits/gradient-text/styles/_index.scss +15 -0
- package/{gradient-text → bits/gradient-text}/styles/_rules.scss +9 -4
- package/bits/marquee/styles/_index.scss +15 -0
- package/bits/shiny-text/styles/_index.scss +15 -0
- package/bits/shiny-text/styles/_rules.scss +121 -0
- package/bits/spotlight-card/styles/_index.scss +15 -0
- package/{spotlight-card → bits/spotlight-card}/styles/_rules.scss +15 -7
- package/bits/star-border/styles/_index.scss +15 -0
- package/{star-border → bits/star-border}/styles/_rules.scss +17 -9
- package/bits/tilt-card/styles/_index.scss +15 -0
- package/bits/tilt-card/styles/_rules.scss +56 -0
- package/bits/typewriter/styles/_index.scss +15 -0
- package/bits/waves/styles/_index.scss +15 -0
- package/{waves → bits/waves}/styles/_rules.scss +7 -2
- package/breadcrumbs/styles/_index.scss +21 -7
- package/breadcrumbs/styles/_rules.scss +15 -9
- package/button/styles/_index.scss +75 -29
- package/calendar/styles/_index.scss +47 -27
- package/card/styles/_index.scss +6 -6
- package/card/styles/_rules.scss +14 -11
- package/carousel/styles/_index.scss +12 -6
- package/cascader/styles/_index.scss +4 -4
- package/cascader/styles/_rules.scss +40 -25
- package/charts/bar-chart/styles/_index.scss +73 -0
- package/{calendar-heatmap → charts/calendar-heatmap}/styles/_index.scss +23 -17
- package/charts/donut-chart/styles/_index.scss +104 -0
- package/charts/gauge/styles/_index.scss +46 -0
- package/{line-chart → charts/line-chart}/styles/_index.scss +41 -16
- package/{meter-group → charts/meter-group}/styles/_index.scss +6 -6
- package/{sparkline → charts/sparkline}/styles/_index.scss +1 -1
- package/checkbox/styles/_index.scss +22 -8
- package/collapse/styles/_index.scss +14 -7
- package/color-picker/styles/_index.scss +70 -35
- package/command-palette/styles/_index.scss +113 -74
- package/compare/styles/_index.scss +2 -2
- package/context-menu/styles/_index.scss +40 -12
- package/date-picker/styles/_index.scss +108 -44
- package/descriptions/styles/_index.scss +53 -27
- package/dialog/styles/_index.scss +29 -15
- package/divider/styles/_index.scss +9 -6
- package/drawer/styles/_index.scss +50 -139
- package/dropdown/styles/_index.scss +27 -11
- package/editor/styles/_index.scss +82 -40
- package/empty/styles/_index.scss +32 -8
- package/event-calendar/styles/_index.scss +94 -29
- package/fesm2022/ngwr-affix.mjs +2 -2
- package/fesm2022/ngwr-affix.mjs.map +1 -1
- package/fesm2022/ngwr-alert.mjs +3 -1
- package/fesm2022/ngwr-alert.mjs.map +1 -1
- package/fesm2022/ngwr-anchor.mjs +5 -8
- package/fesm2022/ngwr-anchor.mjs.map +1 -1
- package/fesm2022/ngwr-avatar.mjs.map +1 -1
- package/fesm2022/ngwr-back-top.mjs +1 -1
- package/fesm2022/ngwr-badge.mjs +7 -3
- package/fesm2022/ngwr-badge.mjs.map +1 -1
- package/fesm2022/{ngwr-aurora.mjs → ngwr-bits-aurora.mjs} +33 -27
- package/fesm2022/ngwr-bits-aurora.mjs.map +1 -0
- package/fesm2022/{ngwr-blur-text-testing.mjs → ngwr-bits-blur-text-testing.mjs} +1 -1
- package/fesm2022/ngwr-bits-blur-text-testing.mjs.map +1 -0
- package/fesm2022/{ngwr-blur-text.mjs → ngwr-bits-blur-text.mjs} +2 -2
- package/fesm2022/ngwr-bits-blur-text.mjs.map +1 -0
- package/fesm2022/{ngwr-border-glow-testing.mjs → ngwr-bits-border-glow-testing.mjs} +1 -1
- package/fesm2022/ngwr-bits-border-glow-testing.mjs.map +1 -0
- package/fesm2022/ngwr-bits-border-glow.mjs +453 -0
- package/fesm2022/ngwr-bits-border-glow.mjs.map +1 -0
- package/fesm2022/{ngwr-circular-text-testing.mjs → ngwr-bits-circular-text-testing.mjs} +1 -1
- package/fesm2022/ngwr-bits-circular-text-testing.mjs.map +1 -0
- package/fesm2022/{ngwr-circular-text.mjs → ngwr-bits-circular-text.mjs} +4 -4
- package/fesm2022/ngwr-bits-circular-text.mjs.map +1 -0
- package/fesm2022/{ngwr-click-spark.mjs → ngwr-bits-click-spark.mjs} +5 -8
- package/fesm2022/ngwr-bits-click-spark.mjs.map +1 -0
- package/fesm2022/{ngwr-confetti.mjs → ngwr-bits-confetti.mjs} +8 -6
- package/fesm2022/ngwr-bits-confetti.mjs.map +1 -0
- package/fesm2022/{ngwr-decrypt-text-testing.mjs → ngwr-bits-decrypt-text-testing.mjs} +1 -1
- package/fesm2022/ngwr-bits-decrypt-text-testing.mjs.map +1 -0
- package/fesm2022/{ngwr-decrypt-text.mjs → ngwr-bits-decrypt-text.mjs} +3 -3
- package/fesm2022/ngwr-bits-decrypt-text.mjs.map +1 -0
- package/fesm2022/{ngwr-falling-text-testing.mjs → ngwr-bits-falling-text-testing.mjs} +1 -1
- package/fesm2022/ngwr-bits-falling-text-testing.mjs.map +1 -0
- package/fesm2022/{ngwr-falling-text.mjs → ngwr-bits-falling-text.mjs} +2 -2
- package/fesm2022/ngwr-bits-falling-text.mjs.map +1 -0
- package/fesm2022/{ngwr-fuzzy-text-testing.mjs → ngwr-bits-fuzzy-text-testing.mjs} +1 -1
- package/fesm2022/ngwr-bits-fuzzy-text-testing.mjs.map +1 -0
- package/fesm2022/{ngwr-fuzzy-text.mjs → ngwr-bits-fuzzy-text.mjs} +20 -14
- package/fesm2022/ngwr-bits-fuzzy-text.mjs.map +1 -0
- package/fesm2022/{ngwr-glitch-text-testing.mjs → ngwr-bits-glitch-text-testing.mjs} +1 -1
- package/fesm2022/ngwr-bits-glitch-text-testing.mjs.map +1 -0
- package/fesm2022/{ngwr-glitch-text.mjs → ngwr-bits-glitch-text.mjs} +4 -4
- package/fesm2022/ngwr-bits-glitch-text.mjs.map +1 -0
- package/fesm2022/{ngwr-gradient-text-testing.mjs → ngwr-bits-gradient-text-testing.mjs} +1 -1
- package/fesm2022/ngwr-bits-gradient-text-testing.mjs.map +1 -0
- package/fesm2022/{ngwr-gradient-text.mjs → ngwr-bits-gradient-text.mjs} +4 -4
- package/fesm2022/ngwr-bits-gradient-text.mjs.map +1 -0
- package/fesm2022/{ngwr-marquee-testing.mjs → ngwr-bits-marquee-testing.mjs} +1 -1
- package/fesm2022/ngwr-bits-marquee-testing.mjs.map +1 -0
- package/fesm2022/{ngwr-marquee.mjs → ngwr-bits-marquee.mjs} +3 -3
- package/fesm2022/ngwr-bits-marquee.mjs.map +1 -0
- package/fesm2022/{ngwr-rotating-text-testing.mjs → ngwr-bits-rotating-text-testing.mjs} +1 -1
- package/fesm2022/ngwr-bits-rotating-text-testing.mjs.map +1 -0
- package/fesm2022/{ngwr-rotating-text.mjs → ngwr-bits-rotating-text.mjs} +3 -3
- package/fesm2022/ngwr-bits-rotating-text.mjs.map +1 -0
- package/fesm2022/{ngwr-shiny-text-testing.mjs → ngwr-bits-shiny-text-testing.mjs} +1 -1
- package/fesm2022/ngwr-bits-shiny-text-testing.mjs.map +1 -0
- package/fesm2022/{ngwr-shiny-text.mjs → ngwr-bits-shiny-text.mjs} +15 -7
- package/fesm2022/ngwr-bits-shiny-text.mjs.map +1 -0
- package/fesm2022/{ngwr-splash-cursor-testing.mjs → ngwr-bits-splash-cursor-testing.mjs} +1 -1
- package/fesm2022/ngwr-bits-splash-cursor-testing.mjs.map +1 -0
- package/fesm2022/{ngwr-splash-cursor.mjs → ngwr-bits-splash-cursor.mjs} +3 -3
- package/fesm2022/ngwr-bits-splash-cursor.mjs.map +1 -0
- package/fesm2022/{ngwr-split-text-testing.mjs → ngwr-bits-split-text-testing.mjs} +1 -1
- package/fesm2022/ngwr-bits-split-text-testing.mjs.map +1 -0
- package/fesm2022/{ngwr-split-text.mjs → ngwr-bits-split-text.mjs} +2 -2
- package/fesm2022/ngwr-bits-split-text.mjs.map +1 -0
- package/fesm2022/{ngwr-spotlight-card-testing.mjs → ngwr-bits-spotlight-card-testing.mjs} +1 -1
- package/fesm2022/ngwr-bits-spotlight-card-testing.mjs.map +1 -0
- package/fesm2022/{ngwr-spotlight-card.mjs → ngwr-bits-spotlight-card.mjs} +4 -4
- package/fesm2022/ngwr-bits-spotlight-card.mjs.map +1 -0
- package/fesm2022/{ngwr-star-border-testing.mjs → ngwr-bits-star-border-testing.mjs} +1 -1
- package/fesm2022/ngwr-bits-star-border-testing.mjs.map +1 -0
- package/fesm2022/{ngwr-star-border.mjs → ngwr-bits-star-border.mjs} +3 -3
- package/fesm2022/ngwr-bits-star-border.mjs.map +1 -0
- package/fesm2022/{ngwr-tilt-card-testing.mjs → ngwr-bits-tilt-card-testing.mjs} +1 -1
- package/fesm2022/ngwr-bits-tilt-card-testing.mjs.map +1 -0
- package/fesm2022/{ngwr-tilt-card.mjs → ngwr-bits-tilt-card.mjs} +3 -3
- package/fesm2022/ngwr-bits-tilt-card.mjs.map +1 -0
- package/fesm2022/{ngwr-typewriter-testing.mjs → ngwr-bits-typewriter-testing.mjs} +1 -1
- package/fesm2022/ngwr-bits-typewriter-testing.mjs.map +1 -0
- package/fesm2022/{ngwr-typewriter.mjs → ngwr-bits-typewriter.mjs} +3 -3
- package/fesm2022/ngwr-bits-typewriter.mjs.map +1 -0
- package/fesm2022/{ngwr-waves-testing.mjs → ngwr-bits-waves-testing.mjs} +1 -1
- package/fesm2022/ngwr-bits-waves-testing.mjs.map +1 -0
- package/fesm2022/{ngwr-waves.mjs → ngwr-bits-waves.mjs} +8 -8
- package/fesm2022/ngwr-bits-waves.mjs.map +1 -0
- package/fesm2022/ngwr-breadcrumbs.mjs +4 -4
- package/fesm2022/ngwr-breadcrumbs.mjs.map +1 -1
- package/fesm2022/ngwr-burger.mjs +1 -1
- package/fesm2022/ngwr-button-testing.mjs.map +1 -1
- package/fesm2022/ngwr-button.mjs +3 -5
- package/fesm2022/ngwr-button.mjs.map +1 -1
- package/fesm2022/ngwr-calendar-testing.mjs.map +1 -1
- package/fesm2022/ngwr-calendar.mjs +3 -3
- package/fesm2022/ngwr-calendar.mjs.map +1 -1
- package/fesm2022/ngwr-card.mjs +3 -3
- package/fesm2022/ngwr-card.mjs.map +1 -1
- package/fesm2022/ngwr-carousel-testing.mjs.map +1 -1
- package/fesm2022/ngwr-carousel.mjs +3 -3
- package/fesm2022/ngwr-carousel.mjs.map +1 -1
- package/fesm2022/ngwr-cascader-testing.mjs.map +1 -1
- package/fesm2022/ngwr-cascader.mjs +7 -7
- package/fesm2022/ngwr-cascader.mjs.map +1 -1
- package/fesm2022/{ngwr-bar-chart-testing.mjs → ngwr-charts-bar-chart-testing.mjs} +1 -1
- package/fesm2022/ngwr-charts-bar-chart-testing.mjs.map +1 -0
- package/fesm2022/{ngwr-bar-chart.mjs → ngwr-charts-bar-chart.mjs} +22 -4
- package/fesm2022/ngwr-charts-bar-chart.mjs.map +1 -0
- package/fesm2022/{ngwr-calendar-heatmap-testing.mjs → ngwr-charts-calendar-heatmap-testing.mjs} +1 -1
- package/fesm2022/ngwr-charts-calendar-heatmap-testing.mjs.map +1 -0
- package/fesm2022/{ngwr-calendar-heatmap.mjs → ngwr-charts-calendar-heatmap.mjs} +9 -9
- package/fesm2022/ngwr-charts-calendar-heatmap.mjs.map +1 -0
- package/fesm2022/{ngwr-donut-chart-testing.mjs → ngwr-charts-donut-chart-testing.mjs} +1 -1
- package/fesm2022/ngwr-charts-donut-chart-testing.mjs.map +1 -0
- package/fesm2022/{ngwr-donut-chart.mjs → ngwr-charts-donut-chart.mjs} +3 -4
- package/fesm2022/ngwr-charts-donut-chart.mjs.map +1 -0
- package/fesm2022/{ngwr-gauge-testing.mjs → ngwr-charts-gauge-testing.mjs} +1 -1
- package/fesm2022/ngwr-charts-gauge-testing.mjs.map +1 -0
- package/fesm2022/{ngwr-gauge.mjs → ngwr-charts-gauge.mjs} +4 -4
- package/fesm2022/ngwr-charts-gauge.mjs.map +1 -0
- package/fesm2022/{ngwr-line-chart-testing.mjs → ngwr-charts-line-chart-testing.mjs} +1 -1
- package/fesm2022/ngwr-charts-line-chart-testing.mjs.map +1 -0
- package/fesm2022/{ngwr-line-chart.mjs → ngwr-charts-line-chart.mjs} +41 -30
- package/fesm2022/ngwr-charts-line-chart.mjs.map +1 -0
- package/fesm2022/{ngwr-meter-group-testing.mjs → ngwr-charts-meter-group-testing.mjs} +1 -1
- package/fesm2022/ngwr-charts-meter-group-testing.mjs.map +1 -0
- package/fesm2022/{ngwr-meter-group.mjs → ngwr-charts-meter-group.mjs} +3 -3
- package/fesm2022/ngwr-charts-meter-group.mjs.map +1 -0
- package/fesm2022/{ngwr-sparkline-testing.mjs → ngwr-charts-sparkline-testing.mjs} +1 -1
- package/fesm2022/ngwr-charts-sparkline-testing.mjs.map +1 -0
- package/fesm2022/{ngwr-sparkline.mjs → ngwr-charts-sparkline.mjs} +2 -2
- package/fesm2022/ngwr-charts-sparkline.mjs.map +1 -0
- package/fesm2022/ngwr-checkbox-testing.mjs.map +1 -1
- package/fesm2022/ngwr-checkbox.mjs +4 -6
- package/fesm2022/ngwr-checkbox.mjs.map +1 -1
- package/fesm2022/ngwr-clipboard.mjs +2 -2
- package/fesm2022/ngwr-clipboard.mjs.map +1 -1
- package/fesm2022/ngwr-collapse-testing.mjs.map +1 -1
- package/fesm2022/ngwr-collapse.mjs +9 -3
- package/fesm2022/ngwr-collapse.mjs.map +1 -1
- package/fesm2022/ngwr-color-picker-testing.mjs.map +1 -1
- package/fesm2022/ngwr-color-picker.mjs +10 -10
- package/fesm2022/ngwr-color-picker.mjs.map +1 -1
- package/fesm2022/ngwr-command-palette-testing.mjs +0 -4
- package/fesm2022/ngwr-command-palette-testing.mjs.map +1 -1
- package/fesm2022/ngwr-command-palette.mjs +8 -33
- package/fesm2022/ngwr-command-palette.mjs.map +1 -1
- package/fesm2022/ngwr-compare.mjs +3 -3
- package/fesm2022/ngwr-compare.mjs.map +1 -1
- package/fesm2022/ngwr-context-menu-testing.mjs.map +1 -1
- package/fesm2022/ngwr-context-menu.mjs +5 -5
- package/fesm2022/ngwr-cookie.mjs +2 -2
- package/fesm2022/ngwr-cookie.mjs.map +1 -1
- package/fesm2022/ngwr-counter.mjs +2 -2
- package/fesm2022/ngwr-counter.mjs.map +1 -1
- package/fesm2022/ngwr-date-picker-testing.mjs +1 -1
- package/fesm2022/ngwr-date-picker-testing.mjs.map +1 -1
- package/fesm2022/ngwr-date-picker.mjs +25 -21
- package/fesm2022/ngwr-date-picker.mjs.map +1 -1
- package/fesm2022/ngwr-date.mjs +39 -15
- package/fesm2022/ngwr-date.mjs.map +1 -1
- package/fesm2022/ngwr-density.mjs +7 -6
- package/fesm2022/ngwr-density.mjs.map +1 -1
- package/fesm2022/ngwr-descriptions.mjs +9 -3
- package/fesm2022/ngwr-descriptions.mjs.map +1 -1
- package/fesm2022/ngwr-dialog-testing.mjs.map +1 -1
- package/fesm2022/ngwr-dialog.mjs +10 -14
- package/fesm2022/ngwr-dialog.mjs.map +1 -1
- package/fesm2022/ngwr-directives.mjs +4 -4
- package/fesm2022/ngwr-directives.mjs.map +1 -1
- package/fesm2022/ngwr-divider.mjs +1 -1
- package/fesm2022/ngwr-divider.mjs.map +1 -1
- package/fesm2022/ngwr-drawer-testing.mjs +0 -3
- package/fesm2022/ngwr-drawer-testing.mjs.map +1 -1
- package/fesm2022/ngwr-drawer.mjs +9 -88
- package/fesm2022/ngwr-drawer.mjs.map +1 -1
- package/fesm2022/ngwr-dropdown-testing.mjs.map +1 -1
- package/fesm2022/ngwr-dropdown.mjs +26 -54
- package/fesm2022/ngwr-dropdown.mjs.map +1 -1
- package/fesm2022/ngwr-editor-testing.mjs +1 -1
- package/fesm2022/ngwr-editor-testing.mjs.map +1 -1
- package/fesm2022/ngwr-editor.mjs +159 -591
- package/fesm2022/ngwr-editor.mjs.map +1 -1
- package/fesm2022/ngwr-empty.mjs +4 -2
- package/fesm2022/ngwr-empty.mjs.map +1 -1
- package/fesm2022/ngwr-event-calendar-testing.mjs.map +1 -1
- package/fesm2022/ngwr-event-calendar.mjs +5 -5
- package/fesm2022/ngwr-event-calendar.mjs.map +1 -1
- package/fesm2022/ngwr-file-upload-testing.mjs.map +1 -1
- package/fesm2022/ngwr-file-upload.mjs +2 -2
- package/fesm2022/ngwr-file-upload.mjs.map +1 -1
- package/fesm2022/ngwr-form-testing.mjs.map +1 -1
- package/fesm2022/ngwr-form.mjs +38 -70
- package/fesm2022/ngwr-form.mjs.map +1 -1
- package/fesm2022/ngwr-graph-testing.mjs.map +1 -1
- package/fesm2022/ngwr-graph.mjs +2 -2
- package/fesm2022/ngwr-graph.mjs.map +1 -1
- package/fesm2022/ngwr-hotkey.mjs +3 -3
- package/fesm2022/ngwr-hotkey.mjs.map +1 -1
- package/fesm2022/ngwr-i18n-ar.mjs +7 -31
- package/fesm2022/ngwr-i18n-ar.mjs.map +1 -1
- package/fesm2022/ngwr-i18n-cs.mjs +7 -31
- package/fesm2022/ngwr-i18n-cs.mjs.map +1 -1
- package/fesm2022/ngwr-i18n-de.mjs +7 -31
- package/fesm2022/ngwr-i18n-de.mjs.map +1 -1
- package/fesm2022/ngwr-i18n-en.mjs +7 -31
- package/fesm2022/ngwr-i18n-en.mjs.map +1 -1
- package/fesm2022/ngwr-i18n-es.mjs +7 -31
- package/fesm2022/ngwr-i18n-es.mjs.map +1 -1
- package/fesm2022/ngwr-i18n-fr.mjs +7 -31
- package/fesm2022/ngwr-i18n-fr.mjs.map +1 -1
- package/fesm2022/ngwr-i18n-he.mjs +7 -31
- package/fesm2022/ngwr-i18n-he.mjs.map +1 -1
- package/fesm2022/ngwr-i18n-hi.mjs +7 -31
- package/fesm2022/ngwr-i18n-hi.mjs.map +1 -1
- package/fesm2022/ngwr-i18n-id.mjs +7 -31
- package/fesm2022/ngwr-i18n-id.mjs.map +1 -1
- package/fesm2022/ngwr-i18n-it.mjs +7 -31
- package/fesm2022/ngwr-i18n-it.mjs.map +1 -1
- package/fesm2022/ngwr-i18n-ja.mjs +7 -31
- package/fesm2022/ngwr-i18n-ja.mjs.map +1 -1
- package/fesm2022/ngwr-i18n-ko.mjs +7 -31
- package/fesm2022/ngwr-i18n-ko.mjs.map +1 -1
- package/fesm2022/ngwr-i18n-nl.mjs +7 -31
- package/fesm2022/ngwr-i18n-nl.mjs.map +1 -1
- package/fesm2022/ngwr-i18n-pl.mjs +7 -31
- package/fesm2022/ngwr-i18n-pl.mjs.map +1 -1
- package/fesm2022/ngwr-i18n-pt.mjs +7 -31
- package/fesm2022/ngwr-i18n-pt.mjs.map +1 -1
- package/fesm2022/ngwr-i18n-ru.mjs +7 -31
- package/fesm2022/ngwr-i18n-ru.mjs.map +1 -1
- package/fesm2022/ngwr-i18n-sv.mjs +7 -31
- package/fesm2022/ngwr-i18n-sv.mjs.map +1 -1
- package/fesm2022/ngwr-i18n-tr.mjs +7 -31
- package/fesm2022/ngwr-i18n-tr.mjs.map +1 -1
- package/fesm2022/ngwr-i18n-uk.mjs +7 -31
- package/fesm2022/ngwr-i18n-uk.mjs.map +1 -1
- package/fesm2022/ngwr-i18n-vi.mjs +7 -31
- package/fesm2022/ngwr-i18n-vi.mjs.map +1 -1
- package/fesm2022/{ngwr-i18n-zh-TW.mjs → ngwr-i18n-zh-tw.mjs} +8 -32
- package/fesm2022/ngwr-i18n-zh-tw.mjs.map +1 -0
- package/fesm2022/ngwr-i18n-zh.mjs +7 -31
- package/fesm2022/ngwr-i18n-zh.mjs.map +1 -1
- package/fesm2022/ngwr-i18n.mjs.map +1 -1
- package/fesm2022/ngwr-icon.mjs +28 -3
- package/fesm2022/ngwr-icon.mjs.map +1 -1
- package/fesm2022/ngwr-image-cropper-testing.mjs.map +1 -1
- package/fesm2022/ngwr-image-cropper.mjs +1 -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 +9 -12
- package/fesm2022/ngwr-input-number.mjs.map +1 -1
- package/fesm2022/ngwr-input-otp-testing.mjs.map +1 -1
- package/fesm2022/ngwr-input-otp.mjs +7 -8
- package/fesm2022/ngwr-input-otp.mjs.map +1 -1
- package/fesm2022/ngwr-input-testing.mjs.map +1 -1
- package/fesm2022/ngwr-input.mjs +10 -14
- package/fesm2022/ngwr-input.mjs.map +1 -1
- package/fesm2022/ngwr-keyboard.mjs.map +1 -1
- package/fesm2022/ngwr-knob-testing.mjs.map +1 -1
- package/fesm2022/ngwr-knob.mjs +3 -3
- package/fesm2022/ngwr-knob.mjs.map +1 -1
- package/fesm2022/ngwr-lightbox-testing.mjs.map +1 -1
- package/fesm2022/ngwr-lightbox.mjs +8 -8
- package/fesm2022/ngwr-lightbox.mjs.map +1 -1
- package/fesm2022/ngwr-list.mjs +3 -3
- package/fesm2022/ngwr-list.mjs.map +1 -1
- package/fesm2022/ngwr-loading-bar-router.mjs +1 -1
- package/fesm2022/ngwr-loading-bar.mjs +3 -3
- package/fesm2022/ngwr-loading-bar.mjs.map +1 -1
- package/fesm2022/ngwr-mention-testing.mjs.map +1 -1
- package/fesm2022/ngwr-mention.mjs +6 -6
- package/fesm2022/ngwr-mention.mjs.map +1 -1
- package/fesm2022/ngwr-meta.mjs +10 -7
- package/fesm2022/ngwr-meta.mjs.map +1 -1
- package/fesm2022/ngwr-overlay.mjs +41 -68
- package/fesm2022/ngwr-overlay.mjs.map +1 -1
- package/fesm2022/ngwr-page-header.mjs +7 -3
- package/fesm2022/ngwr-page-header.mjs.map +1 -1
- package/fesm2022/ngwr-pagination-testing.mjs.map +1 -1
- package/fesm2022/ngwr-pagination.mjs +3 -4
- package/fesm2022/ngwr-pagination.mjs.map +1 -1
- package/fesm2022/ngwr-pipes.mjs +2 -21
- package/fesm2022/ngwr-pipes.mjs.map +1 -1
- package/fesm2022/ngwr-platform.mjs +4 -60
- package/fesm2022/ngwr-platform.mjs.map +1 -1
- package/fesm2022/ngwr-popconfirm-testing.mjs.map +1 -1
- package/fesm2022/ngwr-popconfirm.mjs +40 -40
- package/fesm2022/ngwr-popconfirm.mjs.map +1 -1
- package/fesm2022/ngwr-popover-testing.mjs +0 -3
- package/fesm2022/ngwr-popover-testing.mjs.map +1 -1
- package/fesm2022/ngwr-popover.mjs +128 -155
- package/fesm2022/ngwr-popover.mjs.map +1 -1
- package/fesm2022/ngwr-progress.mjs +1 -1
- package/fesm2022/ngwr-pull-to-refresh.mjs +1 -1
- package/fesm2022/ngwr-qr.mjs +1 -1
- package/fesm2022/ngwr-qr.mjs.map +1 -1
- package/fesm2022/ngwr-radio-testing.mjs.map +1 -1
- package/fesm2022/ngwr-radio.mjs +3 -5
- package/fesm2022/ngwr-radio.mjs.map +1 -1
- package/fesm2022/ngwr-rating-testing.mjs.map +1 -1
- package/fesm2022/ngwr-rating.mjs +3 -3
- package/fesm2022/ngwr-result.mjs +8 -2
- package/fesm2022/ngwr-result.mjs.map +1 -1
- package/fesm2022/ngwr-schema-form.mjs +4 -5
- package/fesm2022/ngwr-schema-form.mjs.map +1 -1
- package/fesm2022/ngwr-scroll.mjs +2 -2
- package/fesm2022/ngwr-scroll.mjs.map +1 -1
- package/fesm2022/ngwr-segmented-testing.mjs.map +1 -1
- package/fesm2022/ngwr-segmented.mjs +3 -3
- package/fesm2022/ngwr-segmented.mjs.map +1 -1
- package/fesm2022/ngwr-select-testing.mjs.map +1 -1
- package/fesm2022/ngwr-select.mjs +19 -47
- package/fesm2022/ngwr-select.mjs.map +1 -1
- package/fesm2022/ngwr-sidebar.mjs +235 -55
- package/fesm2022/ngwr-sidebar.mjs.map +1 -1
- package/fesm2022/ngwr-skeleton.mjs +5 -3
- package/fesm2022/ngwr-skeleton.mjs.map +1 -1
- package/fesm2022/ngwr-slider-testing.mjs.map +1 -1
- package/fesm2022/ngwr-slider.mjs +3 -3
- package/fesm2022/ngwr-slider.mjs.map +1 -1
- package/fesm2022/ngwr-sortable-list.mjs +445 -0
- package/fesm2022/ngwr-sortable-list.mjs.map +1 -0
- package/fesm2022/ngwr-speed-dial-testing.mjs.map +1 -1
- package/fesm2022/ngwr-speed-dial.mjs +1 -1
- package/fesm2022/ngwr-speed-dial.mjs.map +1 -1
- package/fesm2022/ngwr-spinner.mjs.map +1 -1
- package/fesm2022/ngwr-splitter-testing.mjs.map +1 -1
- package/fesm2022/ngwr-splitter.mjs +2 -2
- package/fesm2022/ngwr-statistic.mjs +3 -3
- package/fesm2022/ngwr-statistic.mjs.map +1 -1
- package/fesm2022/ngwr-stepper-testing.mjs.map +1 -1
- package/fesm2022/ngwr-stepper.mjs +1 -1
- package/fesm2022/ngwr-storage.mjs +6 -5
- package/fesm2022/ngwr-storage.mjs.map +1 -1
- package/fesm2022/ngwr-switch-testing.mjs.map +1 -1
- package/fesm2022/ngwr-switch.mjs +4 -6
- package/fesm2022/ngwr-switch.mjs.map +1 -1
- package/fesm2022/ngwr-table-testing.mjs.map +1 -1
- package/fesm2022/ngwr-table.mjs +8 -9
- package/fesm2022/ngwr-table.mjs.map +1 -1
- package/fesm2022/ngwr-tabs-router.mjs +2 -2
- package/fesm2022/ngwr-tabs-router.mjs.map +1 -1
- package/fesm2022/ngwr-tabs-testing.mjs.map +1 -1
- package/fesm2022/ngwr-tabs.mjs +10 -4
- package/fesm2022/ngwr-tabs.mjs.map +1 -1
- package/fesm2022/ngwr-textarea-testing.mjs.map +1 -1
- package/fesm2022/ngwr-textarea.mjs +6 -7
- package/fesm2022/ngwr-textarea.mjs.map +1 -1
- package/fesm2022/ngwr-theme.mjs +26 -169
- package/fesm2022/ngwr-theme.mjs.map +1 -1
- package/fesm2022/ngwr-timeline.mjs +8 -2
- package/fesm2022/ngwr-timeline.mjs.map +1 -1
- package/fesm2022/ngwr-toast-testing.mjs.map +1 -1
- package/fesm2022/ngwr-toast.mjs +10 -8
- package/fesm2022/ngwr-toast.mjs.map +1 -1
- package/fesm2022/ngwr-toolbar.mjs +1 -1
- package/fesm2022/ngwr-tour-testing.mjs.map +1 -1
- package/fesm2022/ngwr-tour.mjs +8 -8
- package/fesm2022/ngwr-tour.mjs.map +1 -1
- package/fesm2022/ngwr-transfer-testing.mjs.map +1 -1
- package/fesm2022/ngwr-transfer.mjs +4 -4
- package/fesm2022/ngwr-transfer.mjs.map +1 -1
- package/fesm2022/ngwr-tree-testing.mjs.map +1 -1
- package/fesm2022/ngwr-tree.mjs +6 -6
- package/fesm2022/ngwr-tree.mjs.map +1 -1
- package/fesm2022/ngwr-typography.mjs +1 -1
- package/fesm2022/ngwr-typography.mjs.map +1 -1
- package/fesm2022/ngwr-utils.mjs +70 -2
- package/fesm2022/ngwr-utils.mjs.map +1 -1
- 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-virtual-scroll.mjs +5 -5
- package/fesm2022/ngwr-virtual-scroll.mjs.map +1 -1
- package/fesm2022/ngwr-window-testing.mjs.map +1 -1
- package/fesm2022/ngwr-window.mjs +7 -5
- package/fesm2022/ngwr-window.mjs.map +1 -1
- package/fesm2022/ngwr.mjs +20 -0
- package/fesm2022/ngwr.mjs.map +1 -0
- package/file-upload/styles/_index.scss +52 -24
- package/form/styles/_index.scss +42 -41
- package/graph/styles/_index.scss +9 -6
- package/i18n/ar.json +7 -33
- package/i18n/cs.json +7 -33
- package/i18n/de.json +7 -33
- package/i18n/en.json +7 -33
- package/i18n/es.json +7 -33
- package/i18n/fr.json +7 -33
- package/i18n/he.json +7 -33
- package/i18n/hi.json +7 -33
- package/i18n/id.json +7 -33
- package/i18n/it.json +7 -33
- package/i18n/ja.json +7 -33
- package/i18n/ko.json +7 -33
- package/i18n/nl.json +7 -33
- package/i18n/pl.json +7 -33
- package/i18n/pt.json +7 -33
- package/i18n/ru.json +7 -33
- package/i18n/sv.json +7 -33
- package/i18n/tr.json +7 -33
- package/i18n/uk.json +7 -33
- package/i18n/vi.json +7 -33
- package/i18n/zh-TW.json +7 -33
- package/i18n/zh.json +7 -33
- package/icon/styles/_index.scss +4 -12
- package/image-cropper/styles/_index.scss +12 -6
- package/input/styles/_index.scss +21 -14
- package/input-number/styles/_index.scss +22 -4
- package/input-otp/styles/_index.scss +21 -9
- package/keyboard/styles/_index.scss +28 -17
- package/knob/styles/_index.scss +15 -6
- package/layout/styles/_index.scss +7 -7
- package/lightbox/styles/_index.scss +4 -4
- package/lightbox/styles/_rules.scss +31 -15
- package/list/styles/_index.scss +6 -6
- package/list/styles/_rules.scss +13 -10
- package/llms-full.txt +364 -415
- package/llms.txt +167 -112
- package/loading-bar/styles/_index.scss +7 -7
- package/loading-bar/styles/_rules.scss +1 -1
- package/mcp/api.js +9 -9
- package/mcp/catalog.js +3 -3
- package/mcp/providers.js +2 -17
- package/mcp/tools.js +2 -2
- package/mention/styles/_index.scss +23 -11
- package/overlay/styles/_arrow.scss +5 -19
- package/package.json +618 -673
- package/page-header/styles/_index.scss +32 -15
- package/pagination/styles/_index.scss +41 -14
- package/popconfirm/styles/_index.scss +38 -10
- package/popover/styles/_index.scss +27 -14
- package/progress/styles/_index.scss +1 -5
- package/pull-to-refresh/styles/_index.scss +17 -1
- package/qr/styles/_index.scss +3 -1
- package/radio/styles/_index.scss +22 -10
- package/rating/styles/_index.scss +6 -3
- package/result/styles/_index.scss +24 -23
- package/schema-form/styles/_index.scss +24 -1
- package/schematics/collection.json +2 -2
- package/schematics/icon-set/index.js +5 -5
- package/schematics/migrations/v7/index.js +1 -1
- package/schematics/migrations.json +1 -1
- package/schematics/ng-add/index.js +52 -79
- package/schematics/ng-add/schema.json +36 -44
- package/schematics/page/templates.js +4 -2
- package/schematics/provider/index.js +155 -43
- package/schematics/provider/schema.json +4 -16
- package/schematics/use/index.js +1 -1
- package/schematics/use/rule.js +1 -6
- package/schematics/use/symbol-map.json +34 -42
- package/segmented/styles/_index.scss +20 -6
- package/select/styles/_index.scss +100 -48
- package/sidebar/styles/_index.scss +317 -200
- package/skeleton/styles/_index.scss +21 -8
- package/skills/ngwr/SKILL.md +14 -16
- package/skills/ngwr/references/catalog.md +54 -65
- package/skills/ngwr/references/setup.md +71 -38
- package/slider/styles/_index.scss +13 -7
- package/sortable-list/styles/_index.scss +16 -0
- package/{drag-drop → sortable-list}/styles/_rules.scss +38 -9
- package/speed-dial/styles/_index.scss +32 -5
- package/splitter/styles/_index.scss +11 -6
- package/statistic/styles/_index.scss +49 -21
- package/stepper/styles/_index.scss +54 -28
- package/styles/_animations.scss +11 -4
- package/styles/_grid.scss +13 -0
- package/styles/_reset.scss +18 -4
- package/styles/_typography.scss +9 -4
- package/switch/styles/_index.scss +7 -7
- package/table/styles/_index.scss +159 -78
- package/tabs/styles/_index.scss +16 -15
- package/textarea/styles/_index.scss +18 -9
- package/theme/_index.scss +28 -36
- package/theme/styles/_box-model.scss +30 -6
- package/theme/styles/_colors.scss +436 -264
- package/theme/styles/_contrast.scss +35 -107
- package/theme/styles/_focus.scss +6 -10
- package/theme/styles/_index.scss +0 -1
- package/theme/styles/_motion.scss +2 -12
- package/theme/styles/_variables.scss +61 -28
- package/timeline/styles/_index.scss +53 -26
- package/toast/styles/_index.scss +66 -31
- package/toolbar/styles/_index.scss +15 -7
- package/tour/styles/_index.scss +51 -21
- package/transfer/styles/_index.scss +62 -18
- package/tree/styles/_index.scss +72 -41
- package/types/ngwr-affix.d.ts +4 -1
- package/types/ngwr-anchor.d.ts +14 -1
- package/types/ngwr-avatar.d.ts +1 -1
- package/types/ngwr-badge.d.ts +4 -4
- package/types/{ngwr-aurora.d.ts → ngwr-bits-aurora.d.ts} +12 -6
- package/types/{ngwr-border-glow.d.ts → ngwr-bits-border-glow.d.ts} +13 -4
- package/types/{ngwr-click-spark.d.ts → ngwr-bits-click-spark.d.ts} +9 -8
- package/types/{ngwr-confetti.d.ts → ngwr-bits-confetti.d.ts} +1 -1
- package/types/{ngwr-glitch-text.d.ts → ngwr-bits-glitch-text.d.ts} +4 -4
- package/types/{ngwr-gradient-text-testing.d.ts → ngwr-bits-gradient-text-testing.d.ts} +1 -1
- package/types/{ngwr-gradient-text.d.ts → ngwr-bits-gradient-text.d.ts} +2 -2
- package/types/{ngwr-shiny-text-testing.d.ts → ngwr-bits-shiny-text-testing.d.ts} +2 -2
- package/types/{ngwr-shiny-text.d.ts → ngwr-bits-shiny-text.d.ts} +16 -3
- package/types/{ngwr-splash-cursor.d.ts → ngwr-bits-splash-cursor.d.ts} +1 -1
- package/types/{ngwr-split-text.d.ts → ngwr-bits-split-text.d.ts} +1 -1
- package/types/{ngwr-spotlight-card-testing.d.ts → ngwr-bits-spotlight-card-testing.d.ts} +5 -5
- package/types/{ngwr-spotlight-card.d.ts → ngwr-bits-spotlight-card.d.ts} +4 -1
- package/types/{ngwr-star-border.d.ts → ngwr-bits-star-border.d.ts} +1 -1
- package/types/{ngwr-tilt-card.d.ts → ngwr-bits-tilt-card.d.ts} +0 -3
- package/types/{ngwr-waves.d.ts → ngwr-bits-waves.d.ts} +8 -3
- package/types/ngwr-button.d.ts +16 -45
- package/types/ngwr-calendar.d.ts +3 -3
- package/types/ngwr-carousel.d.ts +2 -2
- package/types/ngwr-cascader.d.ts +1 -1
- package/types/{ngwr-bar-chart.d.ts → ngwr-charts-bar-chart.d.ts} +21 -0
- package/types/{ngwr-calendar-heatmap.d.ts → ngwr-charts-calendar-heatmap.d.ts} +5 -1
- package/types/{ngwr-donut-chart.d.ts → ngwr-charts-donut-chart.d.ts} +4 -0
- package/types/{ngwr-gauge.d.ts → ngwr-charts-gauge.d.ts} +18 -0
- package/types/{ngwr-line-chart.d.ts → ngwr-charts-line-chart.d.ts} +36 -1
- package/types/{ngwr-meter-group.d.ts → ngwr-charts-meter-group.d.ts} +4 -0
- package/types/{ngwr-sparkline.d.ts → ngwr-charts-sparkline.d.ts} +4 -0
- package/types/ngwr-checkbox.d.ts +17 -17
- package/types/ngwr-collapse.d.ts +14 -8
- package/types/ngwr-color-picker.d.ts +9 -5
- package/types/ngwr-command-palette-testing.d.ts +0 -13
- package/types/ngwr-command-palette.d.ts +0 -17
- package/types/ngwr-compare.d.ts +2 -1
- package/types/ngwr-date-picker-testing.d.ts +2 -2
- package/types/ngwr-date-picker.d.ts +22 -12
- package/types/ngwr-date.d.ts +46 -35
- package/types/ngwr-density.d.ts +21 -4
- package/types/ngwr-descriptions.d.ts +4 -0
- package/types/ngwr-dialog.d.ts +5 -13
- package/types/ngwr-directives.d.ts +12 -0
- package/types/ngwr-divider.d.ts +1 -1
- package/types/ngwr-drawer-testing.d.ts +2 -11
- package/types/ngwr-drawer.d.ts +6 -38
- package/types/ngwr-dropdown.d.ts +1 -16
- package/types/ngwr-editor-testing.d.ts +15 -13
- package/types/ngwr-editor.d.ts +50 -89
- package/types/ngwr-event-calendar.d.ts +2 -2
- package/types/ngwr-form-testing.d.ts +15 -13
- package/types/ngwr-form.d.ts +37 -65
- package/types/ngwr-hotkey.d.ts +4 -0
- package/types/ngwr-i18n-en.d.ts +1 -1
- package/types/ngwr-i18n.d.ts +10 -9
- package/types/ngwr-icon.d.ts +75 -13
- package/types/ngwr-input-number.d.ts +13 -30
- package/types/ngwr-input-otp.d.ts +14 -15
- package/types/ngwr-input.d.ts +6 -19
- package/types/ngwr-knob.d.ts +4 -5
- package/types/ngwr-lightbox.d.ts +1 -1
- package/types/ngwr-mention.d.ts +1 -1
- package/types/ngwr-meta.d.ts +39 -14
- package/types/ngwr-overlay.d.ts +26 -102
- package/types/ngwr-pagination-testing.d.ts +4 -11
- package/types/ngwr-pipes.d.ts +5 -9
- package/types/ngwr-platform.d.ts +0 -30
- package/types/ngwr-popconfirm-testing.d.ts +1 -1
- package/types/ngwr-popconfirm.d.ts +3 -3
- package/types/ngwr-popover-testing.d.ts +2 -4
- package/types/ngwr-popover.d.ts +10 -15
- package/types/ngwr-progress.d.ts +1 -1
- package/types/ngwr-qr.d.ts +15 -1
- package/types/ngwr-radio.d.ts +11 -14
- package/types/ngwr-rating.d.ts +1 -1
- package/types/ngwr-result.d.ts +18 -0
- package/types/ngwr-schema-form.d.ts +9 -4
- package/types/ngwr-scroll.d.ts +7 -1
- package/types/ngwr-segmented-testing.d.ts +1 -4
- package/types/ngwr-segmented.d.ts +1 -1
- package/types/ngwr-select.d.ts +64 -65
- package/types/ngwr-sidebar.d.ts +160 -67
- package/types/ngwr-skeleton.d.ts +10 -7
- package/types/ngwr-sortable-list.d.ts +348 -0
- package/types/ngwr-speed-dial.d.ts +4 -0
- package/types/ngwr-statistic.d.ts +5 -1
- package/types/ngwr-storage.d.ts +58 -36
- package/types/ngwr-switch.d.ts +3 -8
- package/types/ngwr-table.d.ts +11 -3
- package/types/ngwr-tabs-router.d.ts +2 -2
- package/types/ngwr-tabs-testing.d.ts +1 -3
- package/types/ngwr-tabs.d.ts +16 -10
- package/types/ngwr-textarea.d.ts +2 -6
- package/types/ngwr-theme.d.ts +126 -106
- package/types/ngwr-timeline.d.ts +26 -3
- package/types/ngwr-toast.d.ts +33 -30
- package/types/ngwr-tour.d.ts +1 -1
- package/types/ngwr-transfer.d.ts +1 -1
- package/types/ngwr-tree.d.ts +1 -1
- package/types/ngwr-typography.d.ts +26 -10
- package/types/ngwr-utils.d.ts +105 -7
- package/types/ngwr-version.d.ts +2 -2
- package/types/ngwr-virtual-scroll.d.ts +1 -1
- package/types/ngwr-window.d.ts +5 -5
- package/types/ngwr.d.ts +48 -1
- package/typography/styles/_index.scss +134 -72
- package/typography/styles/_typeset.scss +318 -0
- package/virtual-scroll/styles/_index.scss +8 -7
- package/virtual-scroll/styles/_rules.scss +4 -2
- package/window/styles/_index.scss +81 -33
- package/action-sheet/styles/_index.scss +0 -101
- package/aurora/styles/_dark.scss +0 -21
- package/aurora/styles/_index.scss +0 -11
- package/bar-chart/styles/_index.scss +0 -56
- package/border-glow/styles/_dark.scss +0 -46
- package/border-glow/styles/_index.scss +0 -20
- package/circular-text/styles/_index.scss +0 -15
- package/donut-chart/styles/_index.scss +0 -86
- package/drag-drop/styles/_index.scss +0 -15
- package/falling-text/styles/_index.scss +0 -15
- package/fesm2022/ngwr-action-sheet-testing.mjs +0 -114
- package/fesm2022/ngwr-action-sheet-testing.mjs.map +0 -1
- package/fesm2022/ngwr-action-sheet.mjs +0 -211
- package/fesm2022/ngwr-action-sheet.mjs.map +0 -1
- package/fesm2022/ngwr-aurora.mjs.map +0 -1
- package/fesm2022/ngwr-bar-chart-testing.mjs.map +0 -1
- package/fesm2022/ngwr-bar-chart.mjs.map +0 -1
- package/fesm2022/ngwr-blur-text-testing.mjs.map +0 -1
- package/fesm2022/ngwr-blur-text.mjs.map +0 -1
- package/fesm2022/ngwr-border-glow-testing.mjs.map +0 -1
- package/fesm2022/ngwr-border-glow.mjs +0 -453
- package/fesm2022/ngwr-border-glow.mjs.map +0 -1
- package/fesm2022/ngwr-calendar-heatmap-testing.mjs.map +0 -1
- package/fesm2022/ngwr-calendar-heatmap.mjs.map +0 -1
- package/fesm2022/ngwr-circular-text-testing.mjs.map +0 -1
- package/fesm2022/ngwr-circular-text.mjs.map +0 -1
- package/fesm2022/ngwr-click-spark.mjs.map +0 -1
- package/fesm2022/ngwr-confetti.mjs.map +0 -1
- package/fesm2022/ngwr-config.mjs +0 -40
- package/fesm2022/ngwr-config.mjs.map +0 -1
- package/fesm2022/ngwr-date-adapters-fns.mjs +0 -182
- package/fesm2022/ngwr-date-adapters-fns.mjs.map +0 -1
- package/fesm2022/ngwr-date-adapters-luxon.mjs +0 -177
- package/fesm2022/ngwr-date-adapters-luxon.mjs.map +0 -1
- package/fesm2022/ngwr-decrypt-text-testing.mjs.map +0 -1
- package/fesm2022/ngwr-decrypt-text.mjs.map +0 -1
- package/fesm2022/ngwr-donut-chart-testing.mjs.map +0 -1
- package/fesm2022/ngwr-donut-chart.mjs.map +0 -1
- package/fesm2022/ngwr-drag-drop.mjs +0 -415
- package/fesm2022/ngwr-drag-drop.mjs.map +0 -1
- package/fesm2022/ngwr-falling-text-testing.mjs.map +0 -1
- package/fesm2022/ngwr-falling-text.mjs.map +0 -1
- package/fesm2022/ngwr-fuzzy-text-testing.mjs.map +0 -1
- package/fesm2022/ngwr-fuzzy-text.mjs.map +0 -1
- package/fesm2022/ngwr-gauge-testing.mjs.map +0 -1
- package/fesm2022/ngwr-gauge.mjs.map +0 -1
- package/fesm2022/ngwr-glitch-text-testing.mjs.map +0 -1
- package/fesm2022/ngwr-glitch-text.mjs.map +0 -1
- package/fesm2022/ngwr-gradient-text-testing.mjs.map +0 -1
- package/fesm2022/ngwr-gradient-text.mjs.map +0 -1
- package/fesm2022/ngwr-i18n-zh-TW.mjs.map +0 -1
- package/fesm2022/ngwr-icon-adapters-feather.mjs +0 -36
- package/fesm2022/ngwr-icon-adapters-feather.mjs.map +0 -1
- package/fesm2022/ngwr-icon-adapters-lucide.mjs +0 -45
- package/fesm2022/ngwr-icon-adapters-lucide.mjs.map +0 -1
- package/fesm2022/ngwr-line-chart-testing.mjs.map +0 -1
- package/fesm2022/ngwr-line-chart.mjs.map +0 -1
- package/fesm2022/ngwr-markdown-testing.mjs +0 -185
- package/fesm2022/ngwr-markdown-testing.mjs.map +0 -1
- package/fesm2022/ngwr-markdown.mjs +0 -1742
- package/fesm2022/ngwr-markdown.mjs.map +0 -1
- package/fesm2022/ngwr-marquee-testing.mjs.map +0 -1
- package/fesm2022/ngwr-marquee.mjs.map +0 -1
- package/fesm2022/ngwr-media.mjs +0 -108
- package/fesm2022/ngwr-media.mjs.map +0 -1
- package/fesm2022/ngwr-meter-group-testing.mjs.map +0 -1
- package/fesm2022/ngwr-meter-group.mjs.map +0 -1
- package/fesm2022/ngwr-rotating-text-testing.mjs.map +0 -1
- package/fesm2022/ngwr-rotating-text.mjs.map +0 -1
- package/fesm2022/ngwr-shiny-text-testing.mjs.map +0 -1
- package/fesm2022/ngwr-shiny-text.mjs.map +0 -1
- package/fesm2022/ngwr-sparkline-testing.mjs.map +0 -1
- package/fesm2022/ngwr-sparkline.mjs.map +0 -1
- package/fesm2022/ngwr-splash-cursor-testing.mjs.map +0 -1
- package/fesm2022/ngwr-splash-cursor.mjs.map +0 -1
- package/fesm2022/ngwr-split-text-testing.mjs.map +0 -1
- package/fesm2022/ngwr-split-text.mjs.map +0 -1
- package/fesm2022/ngwr-spotlight-card-testing.mjs.map +0 -1
- package/fesm2022/ngwr-spotlight-card.mjs.map +0 -1
- package/fesm2022/ngwr-squircle.mjs +0 -424
- package/fesm2022/ngwr-squircle.mjs.map +0 -1
- package/fesm2022/ngwr-star-border-testing.mjs.map +0 -1
- package/fesm2022/ngwr-star-border.mjs.map +0 -1
- package/fesm2022/ngwr-tilt-card-testing.mjs.map +0 -1
- package/fesm2022/ngwr-tilt-card.mjs.map +0 -1
- package/fesm2022/ngwr-typewriter-testing.mjs.map +0 -1
- package/fesm2022/ngwr-typewriter.mjs.map +0 -1
- package/fesm2022/ngwr-waves-testing.mjs.map +0 -1
- package/fesm2022/ngwr-waves.mjs.map +0 -1
- package/gauge/styles/_index.scss +0 -38
- package/glitch-text/styles/_index.scss +0 -15
- package/gradient-text/styles/_index.scss +0 -15
- package/markdown/styles/_index.scss +0 -299
- package/marquee/styles/_index.scss +0 -15
- package/overlay/styles/_index.scss +0 -76
- package/shiny-text/styles/_dark.scss +0 -20
- package/shiny-text/styles/_index.scss +0 -20
- package/shiny-text/styles/_rules.scss +0 -97
- package/spotlight-card/styles/_dark.scss +0 -21
- package/spotlight-card/styles/_index.scss +0 -20
- package/squircle/styles/_index.scss +0 -39
- package/star-border/styles/_dark.scss +0 -21
- package/star-border/styles/_index.scss +0 -20
- package/styles.scss +0 -127
- package/theme/styles/_dark.scss +0 -353
- package/tilt-card/styles/_dark.scss +0 -21
- package/tilt-card/styles/_index.scss +0 -20
- package/tilt-card/styles/_rules.scss +0 -35
- package/types/ngwr-action-sheet-testing.d.ts +0 -234
- package/types/ngwr-action-sheet.d.ts +0 -121
- package/types/ngwr-config.d.ts +0 -170
- package/types/ngwr-date-adapters-fns.d.ts +0 -123
- package/types/ngwr-date-adapters-luxon.d.ts +0 -88
- package/types/ngwr-drag-drop.d.ts +0 -201
- package/types/ngwr-icon-adapters-feather.d.ts +0 -46
- package/types/ngwr-icon-adapters-lucide.d.ts +0 -46
- package/types/ngwr-markdown-testing.d.ts +0 -435
- package/types/ngwr-markdown.d.ts +0 -718
- package/types/ngwr-media.d.ts +0 -60
- package/types/ngwr-squircle.d.ts +0 -193
- package/typewriter/styles/_index.scss +0 -15
- package/waves/styles/_dark.scss +0 -19
- package/waves/styles/_index.scss +0 -20
- /package/{aurora → bits/aurora}/aurora.scss +0 -0
- /package/{blur-text → bits/blur-text}/blur-text.scss +0 -0
- /package/{blur-text → bits/blur-text}/styles/_index.scss +0 -0
- /package/{border-glow → bits/border-glow}/border-glow.scss +0 -0
- /package/{circular-text → bits/circular-text}/circular-text.scss +0 -0
- /package/{click-spark → bits/click-spark}/click-spark.scss +0 -0
- /package/{click-spark → bits/click-spark}/styles/_index.scss +0 -0
- /package/{decrypt-text → bits/decrypt-text}/decrypt-text.scss +0 -0
- /package/{decrypt-text → bits/decrypt-text}/styles/_index.scss +0 -0
- /package/{falling-text → bits/falling-text}/falling-text.scss +0 -0
- /package/{falling-text → bits/falling-text}/styles/_rules.scss +0 -0
- /package/{glitch-text → bits/glitch-text}/glitch-text.scss +0 -0
- /package/{gradient-text → bits/gradient-text}/gradient-text.scss +0 -0
- /package/{marquee → bits/marquee}/marquee.scss +0 -0
- /package/{marquee → bits/marquee}/styles/_rules.scss +0 -0
- /package/{rotating-text → bits/rotating-text}/rotating-text.scss +0 -0
- /package/{rotating-text → bits/rotating-text}/styles/_index.scss +0 -0
- /package/{shiny-text → bits/shiny-text}/shiny-text.scss +0 -0
- /package/{splash-cursor → bits/splash-cursor}/splash-cursor.scss +0 -0
- /package/{splash-cursor → bits/splash-cursor}/styles/_index.scss +0 -0
- /package/{split-text → bits/split-text}/split-text.scss +0 -0
- /package/{split-text → bits/split-text}/styles/_index.scss +0 -0
- /package/{spotlight-card → bits/spotlight-card}/spotlight-card.scss +0 -0
- /package/{star-border → bits/star-border}/star-border.scss +0 -0
- /package/{tilt-card → bits/tilt-card}/tilt-card.scss +0 -0
- /package/{typewriter → bits/typewriter}/styles/_rules.scss +0 -0
- /package/{typewriter → bits/typewriter}/typewriter.scss +0 -0
- /package/{waves → bits/waves}/waves.scss +0 -0
- /package/{drag-drop → sortable-list}/sortable-list.scss +0 -0
- /package/types/{ngwr-blur-text-testing.d.ts → ngwr-bits-blur-text-testing.d.ts} +0 -0
- /package/types/{ngwr-blur-text.d.ts → ngwr-bits-blur-text.d.ts} +0 -0
- /package/types/{ngwr-border-glow-testing.d.ts → ngwr-bits-border-glow-testing.d.ts} +0 -0
- /package/types/{ngwr-circular-text-testing.d.ts → ngwr-bits-circular-text-testing.d.ts} +0 -0
- /package/types/{ngwr-circular-text.d.ts → ngwr-bits-circular-text.d.ts} +0 -0
- /package/types/{ngwr-decrypt-text-testing.d.ts → ngwr-bits-decrypt-text-testing.d.ts} +0 -0
- /package/types/{ngwr-decrypt-text.d.ts → ngwr-bits-decrypt-text.d.ts} +0 -0
- /package/types/{ngwr-falling-text-testing.d.ts → ngwr-bits-falling-text-testing.d.ts} +0 -0
- /package/types/{ngwr-falling-text.d.ts → ngwr-bits-falling-text.d.ts} +0 -0
- /package/types/{ngwr-fuzzy-text-testing.d.ts → ngwr-bits-fuzzy-text-testing.d.ts} +0 -0
- /package/types/{ngwr-fuzzy-text.d.ts → ngwr-bits-fuzzy-text.d.ts} +0 -0
- /package/types/{ngwr-glitch-text-testing.d.ts → ngwr-bits-glitch-text-testing.d.ts} +0 -0
- /package/types/{ngwr-marquee-testing.d.ts → ngwr-bits-marquee-testing.d.ts} +0 -0
- /package/types/{ngwr-marquee.d.ts → ngwr-bits-marquee.d.ts} +0 -0
- /package/types/{ngwr-rotating-text-testing.d.ts → ngwr-bits-rotating-text-testing.d.ts} +0 -0
- /package/types/{ngwr-rotating-text.d.ts → ngwr-bits-rotating-text.d.ts} +0 -0
- /package/types/{ngwr-splash-cursor-testing.d.ts → ngwr-bits-splash-cursor-testing.d.ts} +0 -0
- /package/types/{ngwr-split-text-testing.d.ts → ngwr-bits-split-text-testing.d.ts} +0 -0
- /package/types/{ngwr-star-border-testing.d.ts → ngwr-bits-star-border-testing.d.ts} +0 -0
- /package/types/{ngwr-tilt-card-testing.d.ts → ngwr-bits-tilt-card-testing.d.ts} +0 -0
- /package/types/{ngwr-typewriter-testing.d.ts → ngwr-bits-typewriter-testing.d.ts} +0 -0
- /package/types/{ngwr-typewriter.d.ts → ngwr-bits-typewriter.d.ts} +0 -0
- /package/types/{ngwr-waves-testing.d.ts → ngwr-bits-waves-testing.d.ts} +0 -0
- /package/types/{ngwr-bar-chart-testing.d.ts → ngwr-charts-bar-chart-testing.d.ts} +0 -0
- /package/types/{ngwr-calendar-heatmap-testing.d.ts → ngwr-charts-calendar-heatmap-testing.d.ts} +0 -0
- /package/types/{ngwr-donut-chart-testing.d.ts → ngwr-charts-donut-chart-testing.d.ts} +0 -0
- /package/types/{ngwr-gauge-testing.d.ts → ngwr-charts-gauge-testing.d.ts} +0 -0
- /package/types/{ngwr-line-chart-testing.d.ts → ngwr-charts-line-chart-testing.d.ts} +0 -0
- /package/types/{ngwr-meter-group-testing.d.ts → ngwr-charts-meter-group-testing.d.ts} +0 -0
- /package/types/{ngwr-sparkline-testing.d.ts → ngwr-charts-sparkline-testing.d.ts} +0 -0
- /package/types/{ngwr-i18n-zh-TW.d.ts → ngwr-i18n-zh-tw.d.ts} +0 -0
package/README.md
CHANGED
|
@@ -37,14 +37,16 @@ export class SignupCard {
|
|
|
37
37
|
private readonly model = signal({ email: '', agree: false });
|
|
38
38
|
|
|
39
39
|
readonly signup = form(this.model, path => {
|
|
40
|
-
required(path.email);
|
|
41
|
-
email(path.email);
|
|
40
|
+
required(path.email, { message: 'Enter your work email.' });
|
|
41
|
+
email(path.email, { message: 'That is not an email address.' });
|
|
42
42
|
});
|
|
43
43
|
}
|
|
44
44
|
```
|
|
45
45
|
|
|
46
|
-
`<wr-form-field>` shows
|
|
47
|
-
|
|
46
|
+
`<wr-form-field>` shows each rule's `message`, so there is no error markup to
|
|
47
|
+
write. ngwr ships no validation copy of its own: for a rule without a message,
|
|
48
|
+
the field reads `validation.<key>` from your i18n catalog. Template-driven and
|
|
49
|
+
reactive forms bind too, with limits the
|
|
48
50
|
[forms guide](https://ngwr.dev/guides/forms) lists.
|
|
49
51
|
|
|
50
52
|
## Features
|
|
@@ -54,7 +56,7 @@ markup to write. Template-driven and reactive forms bind too, with limits the
|
|
|
54
56
|
- One import path per component (`ngwr/button`, `ngwr/select`). The only
|
|
55
57
|
runtime dependency is `tslib`.
|
|
56
58
|
- [Theming](https://ngwr.dev/guides/theming) through `--wr-*` CSS custom
|
|
57
|
-
properties, with light and dark modes
|
|
59
|
+
properties, with light and dark modes that follow `color-scheme`.
|
|
58
60
|
- Keyboard and screen reader support based on the WAI-ARIA patterns.
|
|
59
61
|
- Translatable built-in labels and right-to-left layouts.
|
|
60
62
|
- Angular CDK [test harnesses](https://ngwr.dev/guides/testing) for the form
|
|
@@ -70,8 +72,8 @@ services and validators are in the [reference](https://ngwr.dev/reference).
|
|
|
70
72
|
ng add ngwr
|
|
71
73
|
```
|
|
72
74
|
|
|
73
|
-
The schematic asks a few questions, adds `@use 'ngwr';` to your global
|
|
74
|
-
stylesheet and prints the providers to add to your app.
|
|
75
|
+
The schematic asks a few questions, adds `@use 'ngwr/theme';` to your global
|
|
76
|
+
Sass stylesheet and prints the providers to add to your app.
|
|
75
77
|
|
|
76
78
|
Or install the packages yourself:
|
|
77
79
|
|
|
@@ -83,26 +85,25 @@ npm install ngwr @angular/cdk
|
|
|
83
85
|
yarn add ngwr @angular/cdk
|
|
84
86
|
```
|
|
85
87
|
|
|
86
|
-
The optional packages (
|
|
87
|
-
|
|
88
|
+
The optional packages (an icon set, ProseMirror for the editor) are listed in
|
|
89
|
+
the [installation guide](https://ngwr.dev/start/installation).
|
|
88
90
|
|
|
89
91
|
## Styles
|
|
90
92
|
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
This loads the theme and the styles of every component. To keep the stylesheet
|
|
97
|
-
small, load only the components you use. Each entry brings the theme with it:
|
|
93
|
+
One `@use` per thing you render, with the token layer on the first line. There
|
|
94
|
+
is no umbrella stylesheet: each component brings the theme with it and Sass
|
|
95
|
+
emits it once, but only a module's first load can take `with ()`, which is
|
|
96
|
+
where `$base-colors` goes.
|
|
98
97
|
|
|
99
98
|
```scss
|
|
99
|
+
// styles.scss
|
|
100
|
+
@use 'ngwr/theme';
|
|
100
101
|
@use 'ngwr/form';
|
|
101
102
|
@use 'ngwr/input';
|
|
102
103
|
@use 'ngwr/checkbox';
|
|
103
104
|
```
|
|
104
105
|
|
|
105
|
-
Utilities are opt-in and
|
|
106
|
+
Utilities are opt-in and come with nothing:
|
|
106
107
|
|
|
107
108
|
```scss
|
|
108
109
|
@use 'ngwr/reset'; // box-sizing, body margin, sane defaults
|
|
@@ -112,6 +113,28 @@ Utilities are opt-in and are not part of `@use 'ngwr'`:
|
|
|
112
113
|
@use 'ngwr/breakpoints' as bp; // Sass mixins only, no CSS output
|
|
113
114
|
```
|
|
114
115
|
|
|
116
|
+
## Configuration
|
|
117
|
+
|
|
118
|
+
Nothing has to be configured. When you want app-wide settings, they go through
|
|
119
|
+
one `provideWr()` call, with a feature for each thing you set, imported from
|
|
120
|
+
its own entry point:
|
|
121
|
+
|
|
122
|
+
```ts
|
|
123
|
+
import { provideWr } from 'ngwr';
|
|
124
|
+
import { withDensity } from 'ngwr/density';
|
|
125
|
+
import { withTheme } from 'ngwr/theme';
|
|
126
|
+
|
|
127
|
+
providers: [
|
|
128
|
+
provideWr(
|
|
129
|
+
withDensity({ defaultDensity: 'sm' }),
|
|
130
|
+
withTheme({ defaultMode: 'dark' }),
|
|
131
|
+
),
|
|
132
|
+
],
|
|
133
|
+
```
|
|
134
|
+
|
|
135
|
+
Icons and translations have calls of their own. The
|
|
136
|
+
[configuration guide](https://ngwr.dev/docs/configuration) lists every feature.
|
|
137
|
+
|
|
115
138
|
## Upgrading
|
|
116
139
|
|
|
117
140
|
```sh
|
package/affix/styles/_index.scss
CHANGED
|
@@ -1,12 +1,15 @@
|
|
|
1
|
-
//
|
|
2
|
-
//
|
|
1
|
+
// Almost nothing — the directive does the work inline. This layer owns one
|
|
2
|
+
// declaration, the stacking order below, and otherwise only exposes the class
|
|
3
|
+
// hook a consumer styles the "stuck" state with.
|
|
3
4
|
//
|
|
4
5
|
// The directive sets `position: sticky; top: <offset>px` on the host and
|
|
5
6
|
// toggles `wr-affix--active` via an IntersectionObserver sentinel.
|
|
6
7
|
|
|
7
8
|
.wr-affix {
|
|
8
|
-
//
|
|
9
|
-
//
|
|
10
|
-
//
|
|
9
|
+
// The host is the consumer's element, so the only thing this layer owns is
|
|
10
|
+
// the stacking order: a pinned element has to sit above the content that
|
|
11
|
+
// scrolls under it. There is no token for it — out-specify `.wr-affix` to
|
|
12
|
+
// restack. `position: sticky` and `top` are set inline by the directive, and
|
|
13
|
+
// the active modifier is the consumer's to style.
|
|
11
14
|
z-index: 10;
|
|
12
15
|
}
|
package/alert/styles/_index.scss
CHANGED
|
@@ -1,5 +1,19 @@
|
|
|
1
1
|
@use '../../theme/styles' as theme;
|
|
2
2
|
|
|
3
|
+
// Styles for the entry points this component's own markup renders.
|
|
4
|
+
//
|
|
5
|
+
// v15 removed the `@use 'ngwr'` umbrella, which is what had been covering these:
|
|
6
|
+
// a consumer now writes one `@use` per component they place, and never learns
|
|
7
|
+
// about the ones a component places INSIDE itself. `@use 'ngwr/date-picker'`
|
|
8
|
+
// alone gave a date field with a raw browser input — grey, square, 2px inset —
|
|
9
|
+
// and `@use 'ngwr/table'` a table with unstyled checkboxes and pager. Nothing
|
|
10
|
+
// says so: the component renders, the markup is right, and no build, console or
|
|
11
|
+
// gate has an opinion about a missing rule.
|
|
12
|
+
//
|
|
13
|
+
// Sass deduplicates `@use` within a compilation, so an app that also loads one of
|
|
14
|
+
// these by hand still emits it once.
|
|
15
|
+
@use '../../icon/styles' as icon-styles; // WrIcon
|
|
16
|
+
|
|
3
17
|
$alert-colors: (
|
|
4
18
|
info: info,
|
|
5
19
|
success: success,
|
|
@@ -10,7 +24,7 @@ $alert-colors: (
|
|
|
10
24
|
.wr-alert {
|
|
11
25
|
display: flex;
|
|
12
26
|
align-items: stretch;
|
|
13
|
-
gap:
|
|
27
|
+
gap: var(--wr-alert-gap);
|
|
14
28
|
// Claim the full row even when nested in a flex-row demo wrapper.
|
|
15
29
|
flex: 1 1 100%;
|
|
16
30
|
width: 100%;
|
|
@@ -37,10 +51,25 @@ $alert-colors: (
|
|
|
37
51
|
--wr-alert-message: var(--wr-color-on-surface);
|
|
38
52
|
--wr-alert-close: var(--wr-color-info);
|
|
39
53
|
|
|
54
|
+
--wr-alert-radius: var(--wr-border-radius-base);
|
|
55
|
+
--wr-alert-gap: var(--wr-space-md);
|
|
56
|
+
--wr-alert-padding-y: var(--wr-space-md);
|
|
57
|
+
--wr-alert-padding-x: var(--wr-space-lg);
|
|
58
|
+
--wr-alert-body-gap: var(--wr-space-xs);
|
|
59
|
+
--wr-alert-icon-margin-top: var(--wr-space-xs);
|
|
60
|
+
--wr-alert-font-family: var(--wr-font-family-base);
|
|
61
|
+
--wr-alert-title-font-size: var(--wr-text-sm);
|
|
62
|
+
--wr-alert-title-font-weight: var(--wr-font-weight-semibold);
|
|
63
|
+
--wr-alert-title-line-height: var(--wr-text-sm-leading);
|
|
64
|
+
--wr-alert-message-font-size: var(--wr-text-sm);
|
|
65
|
+
--wr-alert-message-line-height: var(--wr-text-sm-leading);
|
|
66
|
+
--wr-alert-close-padding: var(--wr-space-xs);
|
|
67
|
+
--wr-alert-close-radius: var(--wr-border-radius-sm);
|
|
68
|
+
|
|
40
69
|
background: var(--wr-alert-bg);
|
|
41
70
|
border: 1px solid var(--wr-alert-border);
|
|
42
|
-
@include theme.smooth-br(var(--wr-
|
|
43
|
-
padding:
|
|
71
|
+
@include theme.smooth-br(var(--wr-alert-radius));
|
|
72
|
+
padding: var(--wr-alert-padding-y) var(--wr-alert-padding-x);
|
|
44
73
|
|
|
45
74
|
&--dismissed {
|
|
46
75
|
display: none;
|
|
@@ -50,7 +79,7 @@ $alert-colors: (
|
|
|
50
79
|
flex: 0 0 auto;
|
|
51
80
|
width: 1.125rem;
|
|
52
81
|
height: 1.125rem;
|
|
53
|
-
margin-top:
|
|
82
|
+
margin-top: var(--wr-alert-icon-margin-top);
|
|
54
83
|
color: var(--wr-alert-title);
|
|
55
84
|
// A custom `<wr-icon>` sizes via this var, not width/height.
|
|
56
85
|
--wr-icon-size: 1.125rem;
|
|
@@ -66,25 +95,25 @@ $alert-colors: (
|
|
|
66
95
|
flex: 1 1 auto;
|
|
67
96
|
display: flex;
|
|
68
97
|
flex-direction: column;
|
|
69
|
-
gap:
|
|
98
|
+
gap: var(--wr-alert-body-gap);
|
|
70
99
|
min-width: 0;
|
|
71
100
|
}
|
|
72
101
|
|
|
73
102
|
&__title {
|
|
74
103
|
margin: 0;
|
|
75
104
|
color: var(--wr-alert-title);
|
|
76
|
-
font-family: var(--wr-font-family
|
|
77
|
-
font-size: var(--wr-
|
|
78
|
-
font-weight:
|
|
79
|
-
line-height:
|
|
105
|
+
font-family: var(--wr-alert-font-family);
|
|
106
|
+
font-size: var(--wr-alert-title-font-size);
|
|
107
|
+
font-weight: var(--wr-alert-title-font-weight);
|
|
108
|
+
line-height: var(--wr-alert-title-line-height);
|
|
80
109
|
}
|
|
81
110
|
|
|
82
111
|
&__message {
|
|
83
112
|
margin: 0;
|
|
84
113
|
color: var(--wr-alert-message);
|
|
85
|
-
font-family: var(--wr-font-family
|
|
86
|
-
font-size: var(--wr-
|
|
87
|
-
line-height:
|
|
114
|
+
font-family: var(--wr-alert-font-family);
|
|
115
|
+
font-size: var(--wr-alert-message-font-size);
|
|
116
|
+
line-height: var(--wr-alert-message-line-height);
|
|
88
117
|
}
|
|
89
118
|
|
|
90
119
|
&__close {
|
|
@@ -92,10 +121,10 @@ $alert-colors: (
|
|
|
92
121
|
appearance: none;
|
|
93
122
|
background: transparent;
|
|
94
123
|
border: 0;
|
|
95
|
-
padding:
|
|
124
|
+
padding: var(--wr-alert-close-padding);
|
|
96
125
|
color: var(--wr-alert-close);
|
|
97
126
|
cursor: pointer;
|
|
98
|
-
border-radius: var(--wr-
|
|
127
|
+
border-radius: var(--wr-alert-close-radius);
|
|
99
128
|
transition:
|
|
100
129
|
color var(--wr-transition-base),
|
|
101
130
|
background var(--wr-transition-base);
|
|
@@ -121,10 +150,6 @@ $alert-colors: (
|
|
|
121
150
|
}
|
|
122
151
|
}
|
|
123
152
|
|
|
124
|
-
// color-ok: each type draws its OWN glyph in alert.html — a check in a broken
|
|
125
|
-
// circle, a triangle, an octagon, an `i` — so these hooks only ink a
|
|
126
|
-
// silhouette that already differs. `[icon]="false"` or an `iconName` hands
|
|
127
|
-
// that channel to the author, whose title then has to name the state.
|
|
128
153
|
@each $variant, $color in $alert-colors {
|
|
129
154
|
&--#{$variant} {
|
|
130
155
|
--wr-alert-bg: var(--wr-color-#{$color}-soft);
|
|
@@ -134,11 +159,8 @@ $alert-colors: (
|
|
|
134
159
|
}
|
|
135
160
|
|
|
136
161
|
// Neutral — muted gray chip, reusing the `medium` soft tokens.
|
|
137
|
-
// color-ok: its own glyph in alert.html, a bar in a circle, is what tells it
|
|
138
|
-
// from `danger` — the two paints sit on tints 1.036:1 apart, which is a hue
|
|
139
|
-
// difference and little else (measured in the template's comment).
|
|
140
162
|
&--neutral {
|
|
141
|
-
--wr-alert-bg: var(--wr-color-
|
|
163
|
+
--wr-alert-bg: var(--wr-color-fill);
|
|
142
164
|
--wr-alert-title: var(--wr-color-on-surface);
|
|
143
165
|
--wr-alert-message: var(--wr-color-on-surface-muted);
|
|
144
166
|
--wr-alert-close: var(--wr-color-on-surface-muted);
|
|
@@ -150,9 +172,6 @@ $alert-colors: (
|
|
|
150
172
|
|
|
151
173
|
// Offline — inverse chip. Auto-flips via the theme tokens: dark bg +
|
|
152
174
|
// light text in light theme; light bg + dark text in dark theme.
|
|
153
|
-
// color-ok: its own glyph in alert.html, a slashed circle — and the inverted
|
|
154
|
-
// chip is a LIGHTNESS change, an `on-surface` fill under `surface` text, the
|
|
155
|
-
// far end of the scale from every other type's pale tint.
|
|
156
175
|
&--offline {
|
|
157
176
|
--wr-alert-bg: var(--wr-color-on-surface);
|
|
158
177
|
--wr-alert-title: var(--wr-color-surface);
|
|
@@ -1,9 +1,25 @@
|
|
|
1
1
|
@use '../../theme/styles' as theme;
|
|
2
2
|
|
|
3
3
|
.wr-anchor {
|
|
4
|
+
--wr-anchor-font-family: var(--wr-font-family-base);
|
|
5
|
+
--wr-anchor-border: var(--wr-border-base);
|
|
6
|
+
--wr-anchor-list-gap: var(--wr-space-xs);
|
|
7
|
+
--wr-anchor-list-nested-margin-top: var(--wr-space-xs);
|
|
8
|
+
--wr-anchor-link-padding-y: var(--wr-space-xs);
|
|
9
|
+
--wr-anchor-link-padding-x: var(--wr-space-sm);
|
|
10
|
+
--wr-anchor-link-radius: var(--wr-border-radius-sm);
|
|
11
|
+
--wr-anchor-link-font-size: var(--wr-text-sm);
|
|
12
|
+
--wr-anchor-link-line-height: var(--wr-leading-snug);
|
|
13
|
+
--wr-anchor-link-active-font-weight: var(--wr-font-weight-semibold);
|
|
14
|
+
|
|
4
15
|
display: block;
|
|
5
|
-
font-family: var(--wr-font-family
|
|
6
|
-
border-inline-start: 1.5px solid var(--wr-
|
|
16
|
+
font-family: var(--wr-anchor-font-family);
|
|
17
|
+
border-inline-start: 1.5px solid var(--wr-anchor-border);
|
|
18
|
+
// NOT on the spacing scale: the active rail at `inset-inline-start: -1rem`
|
|
19
|
+
// below is solved against this 14px indent plus the host's 1.5px border, so
|
|
20
|
+
// the 1.5px bar lands at -0.5px and overlaps the rail it replaces. The
|
|
21
|
+
// scale's nearest step is 16px, which paints the bar at 1.5px and opens a
|
|
22
|
+
// gap between the marker and the rail at every nesting level.
|
|
7
23
|
padding-inline-start: 0.875rem;
|
|
8
24
|
|
|
9
25
|
&__list {
|
|
@@ -12,10 +28,10 @@
|
|
|
12
28
|
padding: 0;
|
|
13
29
|
display: flex;
|
|
14
30
|
flex-direction: column;
|
|
15
|
-
gap:
|
|
31
|
+
gap: var(--wr-anchor-list-gap);
|
|
16
32
|
|
|
17
33
|
&--nested {
|
|
18
|
-
margin-top:
|
|
34
|
+
margin-top: var(--wr-anchor-list-nested-margin-top);
|
|
19
35
|
padding-inline-start: 0.875rem;
|
|
20
36
|
}
|
|
21
37
|
}
|
|
@@ -23,11 +39,11 @@
|
|
|
23
39
|
&__link {
|
|
24
40
|
position: relative;
|
|
25
41
|
display: block;
|
|
26
|
-
padding:
|
|
27
|
-
border-radius: var(--wr-
|
|
42
|
+
padding: var(--wr-anchor-link-padding-y) var(--wr-anchor-link-padding-x);
|
|
43
|
+
border-radius: var(--wr-anchor-link-radius);
|
|
28
44
|
color: var(--wr-color-on-surface-muted);
|
|
29
|
-
font-size: var(--wr-
|
|
30
|
-
line-height: var(--wr-
|
|
45
|
+
font-size: var(--wr-anchor-link-font-size);
|
|
46
|
+
line-height: var(--wr-anchor-link-line-height);
|
|
31
47
|
transition:
|
|
32
48
|
color var(--wr-transition-base),
|
|
33
49
|
background var(--wr-transition-base);
|
|
@@ -50,7 +66,7 @@
|
|
|
50
66
|
&--active {
|
|
51
67
|
// Text, on the page surface — `-ink` is the token for the intent AS text.
|
|
52
68
|
color: var(--wr-color-primary-ink);
|
|
53
|
-
font-weight: var(--wr-font-weight
|
|
69
|
+
font-weight: var(--wr-anchor-link-active-font-weight);
|
|
54
70
|
|
|
55
71
|
&::before {
|
|
56
72
|
background: var(--wr-color-primary);
|
|
@@ -1,12 +1,26 @@
|
|
|
1
1
|
@use '../../theme/styles' as theme;
|
|
2
2
|
|
|
3
|
+
// Styles for the entry points this component's own markup renders.
|
|
4
|
+
//
|
|
5
|
+
// v15 removed the `@use 'ngwr'` umbrella, which is what had been covering these:
|
|
6
|
+
// a consumer now writes one `@use` per component they place, and never learns
|
|
7
|
+
// about the ones a component places INSIDE itself. `@use 'ngwr/date-picker'`
|
|
8
|
+
// alone gave a date field with a raw browser input — grey, square, 2px inset —
|
|
9
|
+
// and `@use 'ngwr/table'` a table with unstyled checkboxes and pager. Nothing
|
|
10
|
+
// says so: the component renders, the markup is right, and no build, console or
|
|
11
|
+
// gate has an opinion about a missing rule.
|
|
12
|
+
//
|
|
13
|
+
// Sass deduplicates `@use` within a compilation, so an app that also loads one of
|
|
14
|
+
// these by hand still emits it once.
|
|
15
|
+
@use '../../spinner/styles' as spinner-styles; // WrSpinner
|
|
16
|
+
|
|
3
17
|
.wr-avatar {
|
|
4
18
|
// Defaults — `shape="rounded"` (the default) gets the soft rounded
|
|
5
19
|
// square look. Variant modifiers below override the radius / corner
|
|
6
20
|
// treatment.
|
|
7
21
|
--wr-avatar-radius: 10%;
|
|
8
22
|
--wr-avatar-img-opacity: 0;
|
|
9
|
-
--wr-avatar-ring: var(--wr-
|
|
23
|
+
--wr-avatar-ring: var(--wr-border-strong);
|
|
10
24
|
// The most of the box projected initials may take, as a share of the size the
|
|
11
25
|
// host publishes as `--wr-avatar-size`. Measured rather than picked: at 0.375
|
|
12
26
|
// the widest capital pairs (`ЖШ`, `WW`) in Inter, Geist and the system face, at
|
|
@@ -132,8 +146,8 @@
|
|
|
132
146
|
|
|
133
147
|
// Doubled with `.wr-spinner` on purpose. A lone `.wr-avatar__spin` ties with
|
|
134
148
|
// the spinner's own `.wr-spinner { color: inherit; --wr-spinner-size: 1.25em }`,
|
|
135
|
-
// and
|
|
136
|
-
//
|
|
149
|
+
// and an app that loads the spinner's sheet after this one gives the spinner
|
|
150
|
+
// both: measured, every avatar drew a 19px spinner in the
|
|
137
151
|
// inherited ink (17.85:1 light, 15.73:1 dark) — 59% of a 32px box and 20% of
|
|
138
152
|
// a 96px one — and the colour and size written here never painted once.
|
|
139
153
|
// Specificity, not order, so it holds for an app that `@use`s the two entry
|
package/badge/styles/_index.scss
CHANGED
|
@@ -5,6 +5,21 @@
|
|
|
5
5
|
@use '../../theme/styles' as theme;
|
|
6
6
|
@forward 'tag';
|
|
7
7
|
|
|
8
|
+
// Styles for the entry points this component's own markup renders.
|
|
9
|
+
//
|
|
10
|
+
// v15 removed the `@use 'ngwr'` umbrella, which is what had been covering these:
|
|
11
|
+
// a consumer now writes one `@use` per component they place, and never learns
|
|
12
|
+
// about the ones a component places INSIDE itself. `@use 'ngwr/date-picker'`
|
|
13
|
+
// alone gave a date field with a raw browser input — grey, square, 2px inset —
|
|
14
|
+
// and `@use 'ngwr/table'` a table with unstyled checkboxes and pager. Nothing
|
|
15
|
+
// says so: the component renders, the markup is right, and no build, console or
|
|
16
|
+
// gate has an opinion about a missing rule.
|
|
17
|
+
//
|
|
18
|
+
// Sass deduplicates `@use` within a compilation, so an app that also loads one of
|
|
19
|
+
// these by hand still emits it once.
|
|
20
|
+
@use '../../icon/styles' as icon-styles; // WrIcon
|
|
21
|
+
@use '../../spinner/styles' as spinner-styles; // WrSpinner
|
|
22
|
+
|
|
8
23
|
.wr-badge {
|
|
9
24
|
display: inline-flex;
|
|
10
25
|
align-items: center;
|
|
@@ -24,9 +39,20 @@
|
|
|
24
39
|
line-height: normal;
|
|
25
40
|
white-space: nowrap;
|
|
26
41
|
|
|
42
|
+
// The neutral default, READ. The three hooks below were declared with a
|
|
43
|
+
// comment saying they are "what a badge paints when nothing asks for an
|
|
44
|
+
// intent" and nothing read any of them, so `<wr-badge [color]="null">` — a
|
|
45
|
+
// typed, documented, public option — painted no fill and no text colour and
|
|
46
|
+
// rendered as bare inherited text. `--wr-tag-*` next door was always read
|
|
47
|
+
// this way; the badge simply never caught up. No `border` here: the filled
|
|
48
|
+
// intents carry none either, and adding one would widen every badge in the
|
|
49
|
+
// catalogue by 2px. The neutral RING is the outlined variant's job, below.
|
|
50
|
+
background-color: var(--wr-badge-bg);
|
|
51
|
+
color: var(--wr-badge-color);
|
|
52
|
+
|
|
27
53
|
// Defaults — sized modifiers override these
|
|
28
|
-
--wr-badge-padding-y:
|
|
29
|
-
--wr-badge-padding-x:
|
|
54
|
+
--wr-badge-padding-y: var(--wr-space-xs);
|
|
55
|
+
--wr-badge-padding-x: var(--wr-space-sm);
|
|
30
56
|
--wr-badge-radius: var(--wr-border-radius-sm);
|
|
31
57
|
--wr-badge-font-size: var(--wr-text-xs);
|
|
32
58
|
--wr-badge-min-height: 1.5rem;
|
|
@@ -60,7 +86,7 @@
|
|
|
60
86
|
|
|
61
87
|
&--pill {
|
|
62
88
|
--wr-badge-radius: var(--wr-border-radius-pill);
|
|
63
|
-
--wr-badge-padding-x:
|
|
89
|
+
--wr-badge-padding-x: var(--wr-space-md);
|
|
64
90
|
}
|
|
65
91
|
|
|
66
92
|
// Squircle — overrides the plain `border-radius` with the
|
|
@@ -72,11 +98,13 @@
|
|
|
72
98
|
|
|
73
99
|
// Colors
|
|
74
100
|
|
|
75
|
-
//
|
|
76
|
-
//
|
|
77
|
-
//
|
|
78
|
-
|
|
79
|
-
|
|
101
|
+
// Neutral, and the default: `color` is nullable and a null one carries no
|
|
102
|
+
// modifier, so this trio is what a badge paints when nothing asks for an
|
|
103
|
+
// intent. The neutral roles do the job the removed `medium` intent used to.
|
|
104
|
+
--wr-badge-bg: var(--wr-color-fill);
|
|
105
|
+
--wr-badge-color: var(--wr-color-on-surface);
|
|
106
|
+
--wr-badge-border: var(--wr-border-base);
|
|
107
|
+
|
|
80
108
|
@each $name in theme.$colors {
|
|
81
109
|
&--#{$name} {
|
|
82
110
|
background-color: var(--wr-color-#{$name});
|
|
@@ -93,42 +121,22 @@
|
|
|
93
121
|
// wrapped around text of exactly that strength, and the two cannot be
|
|
94
122
|
// separated while they share one value. `-soft-border` is the same intent at
|
|
95
123
|
// 0.3 alpha: the theme's canonical hairline, already per intent and already
|
|
96
|
-
//
|
|
97
|
-
// ring from the same token; the tag keeps its 6% fill, because
|
|
98
|
-
// chip you can click and a badge is a label you cannot.
|
|
99
|
-
//
|
|
100
|
-
// The soft trio covers the seven CHROMATIC intents, so `light` and `dark` have
|
|
101
|
-
// no `-soft-border` and the `var()` carries the token's own recipe as its
|
|
102
|
-
// fallback. That fallback is load-bearing twice over: an undefined custom
|
|
103
|
-
// property with no fallback invalidates the whole declaration, which would
|
|
104
|
-
// leave those two badges with no ring at all rather than a soft one — and
|
|
105
|
-
// 0.3 alpha is what keeps `dark` in the same family as the other eight
|
|
106
|
-
// instead of the only ring still drawn at full label strength, which is the
|
|
107
|
-
// weight this rule exists to stop drawing.
|
|
108
|
-
//
|
|
109
|
-
// `light` is the one intent the recipe cannot serve: it is a surface tone by
|
|
110
|
-
// definition, a hair off the page in either theme, so 30% of it over the page
|
|
111
|
-
// is nothing. At FULL strength it is `--wr-color-outline` — the hairline every
|
|
112
|
-
// bordered surface in the library already draws — so it is reached by that
|
|
113
|
-
// name, after the loop, rather than by an alpha that happens to land there.
|
|
124
|
+
// correct in both schemes, since it mixes the intent itself. `wr-tag--outlined`
|
|
125
|
+
// draws the same ring from the same token; the tag keeps its 6% fill, because
|
|
126
|
+
// a tag is a chip you can click and a badge is a label you cannot.
|
|
114
127
|
&--outlined {
|
|
115
128
|
background-color: transparent;
|
|
116
|
-
|
|
129
|
+
// `--wr-badge-border` rather than `currentcolor` for the NEUTRAL case, for
|
|
130
|
+
// the reason the note above gives about the chromatic ones: a ring drawn in
|
|
131
|
+
// the text colour is a hairline at full label strength around text of
|
|
132
|
+
// exactly that strength. An intent overrides it in the loop below.
|
|
133
|
+
box-shadow: inset 0 0 0 1px var(--wr-badge-border);
|
|
117
134
|
|
|
118
|
-
// color-ok: the decision the filled loop above records — decoration or
|
|
119
|
-
// category, with the label carrying the state.
|
|
120
135
|
@each $name in theme.$colors {
|
|
121
136
|
&.wr-badge--#{$name} {
|
|
122
137
|
color: var(--wr-color-#{$name}-ink);
|
|
123
|
-
box-shadow: inset 0 0 0 1px var(--wr-color-#{$name}-soft-border
|
|
138
|
+
box-shadow: inset 0 0 0 1px var(--wr-color-#{$name}-soft-border);
|
|
124
139
|
}
|
|
125
140
|
}
|
|
126
|
-
|
|
127
|
-
// color-ok: this ADDS a hairline no other intent carries — `light` is a
|
|
128
|
-
// near-surface tone, so without it the badge has no edge at all. A border
|
|
129
|
-
// appearing is the channel; its colour is incidental.
|
|
130
|
-
&.wr-badge--light {
|
|
131
|
-
box-shadow: inset 0 0 0 1px var(--wr-color-outline);
|
|
132
|
-
}
|
|
133
141
|
}
|
|
134
142
|
}
|
package/badge/styles/_tag.scss
CHANGED
|
@@ -3,22 +3,30 @@
|
|
|
3
3
|
.wr-tag {
|
|
4
4
|
display: inline-flex;
|
|
5
5
|
align-items: center;
|
|
6
|
-
gap:
|
|
6
|
+
gap: var(--wr-tag-gap);
|
|
7
7
|
vertical-align: middle;
|
|
8
8
|
|
|
9
9
|
appearance: none;
|
|
10
10
|
text-decoration: none;
|
|
11
11
|
white-space: nowrap;
|
|
12
12
|
|
|
13
|
-
// Defaults — color and style modifiers override
|
|
13
|
+
// Defaults — color and style modifiers override. `color` is nullable and a
|
|
14
|
+
// null one carries no modifier, so this trio IS the neutral tag: the gray
|
|
15
|
+
// ramp does the job the removed `medium` intent used to stand in for.
|
|
14
16
|
--wr-tag-color: var(--wr-color-on-surface);
|
|
15
|
-
--wr-tag-bg: var(--wr-color-
|
|
16
|
-
--wr-tag-border: var(--wr-
|
|
17
|
+
--wr-tag-bg: var(--wr-color-fill);
|
|
18
|
+
--wr-tag-border: var(--wr-border-base);
|
|
17
19
|
--wr-tag-radius: var(--wr-border-radius-sm);
|
|
20
|
+
--wr-tag-gap: var(--wr-space-xs);
|
|
21
|
+
// NOT on the spacing scale: this is solved against the 22px box the comment
|
|
22
|
+
// below names, which is the shared `sm` control height — a tag sits beside an
|
|
23
|
+
// `sm` input. The scale's nearest step is 4px, which makes the tag 25px, stops
|
|
24
|
+
// `--wr-tag-min-height` binding, and breaks that alignment.
|
|
18
25
|
--wr-tag-padding-y: 0.125rem;
|
|
19
|
-
--wr-tag-padding-x:
|
|
26
|
+
--wr-tag-padding-x: var(--wr-space-sm);
|
|
27
|
+
--wr-tag-font-family: var(--wr-font-family-base);
|
|
20
28
|
--wr-tag-font-size: var(--wr-text-xs);
|
|
21
|
-
--wr-tag-font-weight:
|
|
29
|
+
--wr-tag-font-weight: var(--wr-font-weight-medium);
|
|
22
30
|
// `normal`, not a fixed `1rem`: a 16px line box against the font's own 15px
|
|
23
31
|
// content area leaves half a pixel of leading per side, Blink floors it, and
|
|
24
32
|
// the label paints 1px high — 3px above / 4px below, while an adornment icon
|
|
@@ -35,7 +43,7 @@
|
|
|
35
43
|
border-radius: var(--wr-tag-radius);
|
|
36
44
|
min-height: var(--wr-tag-min-height);
|
|
37
45
|
padding: calc(var(--wr-tag-padding-y) * var(--wr-density-y, 1)) calc(var(--wr-tag-padding-x) * var(--wr-density-x, 1));
|
|
38
|
-
font-family: var(--wr-font-family
|
|
46
|
+
font-family: var(--wr-tag-font-family);
|
|
39
47
|
font-size: var(--wr-tag-font-size);
|
|
40
48
|
font-weight: var(--wr-tag-font-weight);
|
|
41
49
|
line-height: var(--wr-tag-line-height);
|
|
@@ -44,7 +52,7 @@
|
|
|
44
52
|
// Shape
|
|
45
53
|
&--rounded {
|
|
46
54
|
--wr-tag-radius: var(--wr-border-radius-pill);
|
|
47
|
-
--wr-tag-padding-x:
|
|
55
|
+
--wr-tag-padding-x: var(--wr-space-md);
|
|
48
56
|
}
|
|
49
57
|
|
|
50
58
|
// Icon slot sizing
|
|
@@ -68,12 +76,6 @@
|
|
|
68
76
|
}
|
|
69
77
|
|
|
70
78
|
// Colored variants
|
|
71
|
-
// color-ok: a tag's colour is decoration or category — the label carries the
|
|
72
|
-
// state (`Failed`, not a red `Build`), because six of the nine intents share
|
|
73
|
-
// one lightness and `success` against `danger` is 1.004:1. When a tag has to
|
|
74
|
-
// stand for a status on its own, its `icon` input is the channel. Nothing is
|
|
75
|
-
// drawn per intent by default: tags are categories too, and a check on
|
|
76
|
-
// `Standalone` would say something false.
|
|
77
79
|
@each $name in theme.$colors {
|
|
78
80
|
&--#{$name} {
|
|
79
81
|
--wr-tag-color: var(--wr-color-#{$name}-contrast);
|
|
@@ -85,29 +87,18 @@
|
|
|
85
87
|
// place, which is the reason the soft trio exists. 0.25 -> 0.30 is the
|
|
86
88
|
// whole visual change here. The 6% fill stays, and that is the one place
|
|
87
89
|
// the two deliberately differ: a tag is a chip you can click, hover and
|
|
88
|
-
// dismiss, so it keeps a body the badge has none of.
|
|
89
|
-
// fall back exactly as the badge does — see the note there.
|
|
90
|
+
// dismiss, so it keeps a body the badge has none of.
|
|
90
91
|
&.wr-tag--outlined {
|
|
91
92
|
--wr-tag-color: var(--wr-color-#{$name}-ink);
|
|
92
|
-
--wr-tag-bg:
|
|
93
|
-
--wr-tag-border: var(--wr-color-#{$name}-soft-border
|
|
93
|
+
--wr-tag-bg: color-mix(in srgb, var(--wr-color-#{$name}) 6%, transparent);
|
|
94
|
+
--wr-tag-border: var(--wr-color-#{$name}-soft-border);
|
|
94
95
|
}
|
|
95
96
|
|
|
96
97
|
&.wr-tag--transparent {
|
|
97
98
|
--wr-tag-color: var(--wr-color-#{$name}-ink);
|
|
98
|
-
--wr-tag-bg:
|
|
99
|
+
--wr-tag-bg: color-mix(in srgb, var(--wr-color-#{$name}) 10%, transparent);
|
|
99
100
|
--wr-tag-border: transparent;
|
|
100
101
|
}
|
|
101
102
|
}
|
|
102
103
|
}
|
|
103
|
-
|
|
104
|
-
// `light` outlined, after the loop for the same reason the badge carries the
|
|
105
|
-
// same rule: 30% of a surface tone is not a line. At full strength it IS
|
|
106
|
-
// `--wr-color-outline`, which is already this component's default border.
|
|
107
|
-
// color-ok: every outlined tag already draws a border — this only gives the
|
|
108
|
-
// one intent that cannot tint one a literal colour. Telling two INTENTS
|
|
109
|
-
// apart is the label's job, as the marker above the loop says.
|
|
110
|
-
&--light.wr-tag--outlined {
|
|
111
|
-
--wr-tag-border: var(--wr-color-outline);
|
|
112
|
-
}
|
|
113
104
|
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
// Public Sass entry for `@use 'ngwr/bits/aurora'`.
|
|
2
|
+
//
|
|
3
|
+
// `aurora.scss` — the component's `styleUrl` — forwards `_rules` and nothing
|
|
4
|
+
// else, so the compiled component styles carry this component's own CSS and no
|
|
5
|
+
// second copy of the theme layer.
|
|
6
|
+
@use '../../../theme/styles';
|
|
7
|
+
|
|
8
|
+
@forward 'rules';
|
|
@@ -2,13 +2,13 @@
|
|
|
2
2
|
// positioned ancestor; all the visuals live in the fragment shader.
|
|
3
3
|
|
|
4
4
|
.wr-aurora {
|
|
5
|
-
// Theme-default colour stops (overridden by `[colorStops]`): vivid
|
|
6
|
-
//
|
|
7
|
-
//
|
|
8
|
-
//
|
|
9
|
-
--wr-aurora-stop-1: #6366f1;
|
|
10
|
-
--wr-aurora-stop-2: #10b981;
|
|
11
|
-
--wr-aurora-stop-3: #6366f1;
|
|
5
|
+
// Theme-default colour stops (overridden by `[colorStops]`): vivid indigo
|
|
6
|
+
// and emerald on light surfaces, the neon reactbits palette on dark. The
|
|
7
|
+
// shader cannot read a `light-dark()`, so `aurora.ts` resolves each stop
|
|
8
|
+
// through `resolveCssColor` before it reaches a uniform.
|
|
9
|
+
--wr-aurora-stop-1: light-dark(#6366f1, #5227ff);
|
|
10
|
+
--wr-aurora-stop-2: light-dark(#10b981, #7cff67);
|
|
11
|
+
--wr-aurora-stop-3: light-dark(#6366f1, #5227ff);
|
|
12
12
|
|
|
13
13
|
position: absolute;
|
|
14
14
|
inset: 0;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
// Public Sass entry for `@use 'ngwr/bits/border-glow'`.
|
|
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
|
+
// `border-glow.scss` is the component's `styleUrl`, and a component stylesheet
|
|
8
|
+
// is its OWN Sass compilation — `@use` only deduplicates within one. So while
|
|
9
|
+
// the app's global stylesheet emits the theme once, forwarding it from here
|
|
10
|
+
// 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. `border-glow.scss` forwards `_rules` instead,
|
|
13
|
+
// so it carries this component's own CSS and nothing else.
|
|
14
|
+
@use '../../../theme/styles';
|
|
15
|
+
@forward 'rules';
|