ngwr 16.5.0 → 16.7.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/avatar/styles/_index.scss +39 -0
- package/back-top/styles/_index.scss +6 -0
- package/breadcrumbs/styles/_rules.scss +34 -0
- package/button/styles/_index.scss +45 -2
- package/cascader/styles/_rules.scss +7 -0
- package/charts/chart-legend/styles/_index.scss +1 -9
- package/copy-value/styles/_index.scss +4 -0
- package/counter/styles/_index.scss +1 -8
- package/date-picker/styles/_index.scss +15 -9
- package/dialog/styles/_index.scss +37 -0
- package/dropdown/styles/_index.scss +17 -0
- package/editor/styles/_index.scss +1 -8
- package/event-calendar/styles/_index.scss +2 -6
- package/fesm2022/ngwr-affix.mjs +4 -4
- package/fesm2022/ngwr-affix.mjs.map +1 -1
- package/fesm2022/ngwr-alert.mjs +3 -3
- package/fesm2022/ngwr-anchor.mjs +12 -5
- package/fesm2022/ngwr-anchor.mjs.map +1 -1
- package/fesm2022/ngwr-animations-aurora.mjs +3 -3
- package/fesm2022/ngwr-animations-aurora.mjs.map +1 -1
- package/fesm2022/ngwr-animations-blur-reveal.mjs +3 -3
- package/fesm2022/ngwr-animations-blur-reveal.mjs.map +1 -1
- package/fesm2022/ngwr-animations-click-sparks.mjs +3 -3
- package/fesm2022/ngwr-animations-click-sparks.mjs.map +1 -1
- package/fesm2022/ngwr-animations-confetti.mjs +3 -3
- package/fesm2022/ngwr-animations-confetti.mjs.map +1 -1
- package/fesm2022/ngwr-animations-decode.mjs +3 -3
- package/fesm2022/ngwr-animations-decode.mjs.map +1 -1
- package/fesm2022/ngwr-animations-destruct.mjs +3 -3
- package/fesm2022/ngwr-animations-destruct.mjs.map +1 -1
- package/fesm2022/ngwr-animations-dot-grid.mjs +3 -3
- package/fesm2022/ngwr-animations-dot-grid.mjs.map +1 -1
- package/fesm2022/ngwr-animations-falling-letters.mjs +3 -3
- package/fesm2022/ngwr-animations-falling-letters.mjs.map +1 -1
- package/fesm2022/ngwr-animations-flow-lines.mjs +3 -3
- package/fesm2022/ngwr-animations-flow-lines.mjs.map +1 -1
- package/fesm2022/ngwr-animations-fluid-cursor.mjs +3 -3
- package/fesm2022/ngwr-animations-fluid-cursor.mjs.map +1 -1
- package/fesm2022/ngwr-animations-glitch.mjs +3 -3
- package/fesm2022/ngwr-animations-glitch.mjs.map +1 -1
- package/fesm2022/ngwr-animations-glow-border.mjs +3 -3
- package/fesm2022/ngwr-animations-glow-border.mjs.map +1 -1
- package/fesm2022/ngwr-animations-gradient-flow.mjs +3 -3
- package/fesm2022/ngwr-animations-gradient-flow.mjs.map +1 -1
- package/fesm2022/ngwr-animations-marquee.mjs +4 -3
- package/fesm2022/ngwr-animations-marquee.mjs.map +1 -1
- package/fesm2022/ngwr-animations-orbit.mjs +3 -3
- package/fesm2022/ngwr-animations-orbit.mjs.map +1 -1
- package/fesm2022/ngwr-animations-reveal.mjs +3 -3
- package/fesm2022/ngwr-animations-reveal.mjs.map +1 -1
- package/fesm2022/ngwr-animations-ripple-grid.mjs +3 -3
- package/fesm2022/ngwr-animations-ripple-grid.mjs.map +1 -1
- package/fesm2022/ngwr-animations-rotate-reveal.mjs +3 -3
- package/fesm2022/ngwr-animations-rotate-reveal.mjs.map +1 -1
- package/fesm2022/ngwr-animations-shimmer.mjs +3 -3
- package/fesm2022/ngwr-animations-shimmer.mjs.map +1 -1
- package/fesm2022/ngwr-animations-spotlight.mjs +3 -3
- package/fesm2022/ngwr-animations-spotlight.mjs.map +1 -1
- package/fesm2022/ngwr-animations-thread-lines.mjs +3 -3
- package/fesm2022/ngwr-animations-thread-lines.mjs.map +1 -1
- package/fesm2022/ngwr-animations-tilt.mjs +23 -16
- package/fesm2022/ngwr-animations-tilt.mjs.map +1 -1
- package/fesm2022/ngwr-animations-typewriter.mjs +3 -3
- package/fesm2022/ngwr-animations-typewriter.mjs.map +1 -1
- package/fesm2022/ngwr-avatar.mjs +171 -6
- package/fesm2022/ngwr-avatar.mjs.map +1 -1
- package/fesm2022/ngwr-back-top.mjs +3 -3
- package/fesm2022/ngwr-badge.mjs +6 -6
- package/fesm2022/ngwr-breadcrumbs.mjs +47 -13
- package/fesm2022/ngwr-breadcrumbs.mjs.map +1 -1
- package/fesm2022/ngwr-burger.mjs +3 -3
- package/fesm2022/ngwr-button.mjs +38 -9
- package/fesm2022/ngwr-button.mjs.map +1 -1
- package/fesm2022/ngwr-calendar.mjs +3 -3
- package/fesm2022/ngwr-card.mjs +9 -9
- package/fesm2022/ngwr-carousel.mjs +14 -8
- package/fesm2022/ngwr-carousel.mjs.map +1 -1
- package/fesm2022/ngwr-cascader.mjs +27 -7
- package/fesm2022/ngwr-cascader.mjs.map +1 -1
- package/fesm2022/ngwr-charts-bar-chart.mjs +3 -3
- package/fesm2022/ngwr-charts-boxplot-chart.mjs +3 -3
- package/fesm2022/ngwr-charts-bullet-chart.mjs +3 -3
- package/fesm2022/ngwr-charts-calendar-heatmap.mjs +3 -3
- package/fesm2022/ngwr-charts-candlestick-chart.mjs +3 -3
- package/fesm2022/ngwr-charts-chart-legend.mjs +9 -9
- package/fesm2022/ngwr-charts-core.mjs +18 -11
- package/fesm2022/ngwr-charts-core.mjs.map +1 -1
- package/fesm2022/ngwr-charts-donut-chart.mjs +3 -3
- package/fesm2022/ngwr-charts-funnel-chart.mjs +3 -3
- package/fesm2022/ngwr-charts-gauge.mjs +3 -3
- package/fesm2022/ngwr-charts-heatmap-chart.mjs +3 -3
- package/fesm2022/ngwr-charts-line-chart.mjs +3 -3
- package/fesm2022/ngwr-charts-meter-group.mjs +7 -5
- package/fesm2022/ngwr-charts-meter-group.mjs.map +1 -1
- package/fesm2022/ngwr-charts-radar-chart.mjs +3 -3
- package/fesm2022/ngwr-charts-scatter-chart.mjs +3 -3
- package/fesm2022/ngwr-charts-sparkline.mjs +3 -3
- package/fesm2022/ngwr-charts-treemap-chart.mjs +3 -3
- package/fesm2022/ngwr-charts-waterfall-chart.mjs +3 -3
- package/fesm2022/ngwr-checkbox.mjs +9 -8
- package/fesm2022/ngwr-checkbox.mjs.map +1 -1
- package/fesm2022/ngwr-clipboard.mjs +3 -3
- package/fesm2022/ngwr-collapse.mjs +9 -9
- package/fesm2022/ngwr-color-picker.mjs +27 -7
- package/fesm2022/ngwr-color-picker.mjs.map +1 -1
- package/fesm2022/ngwr-command-palette.mjs +3 -3
- package/fesm2022/ngwr-comment.mjs +7 -6
- package/fesm2022/ngwr-comment.mjs.map +1 -1
- package/fesm2022/ngwr-compare.mjs +3 -3
- package/fesm2022/ngwr-context-menu.mjs +16 -17
- package/fesm2022/ngwr-context-menu.mjs.map +1 -1
- package/fesm2022/ngwr-cookie.mjs +3 -3
- package/fesm2022/ngwr-copy-value.mjs +3 -3
- package/fesm2022/ngwr-counter.mjs +6 -6
- package/fesm2022/ngwr-date-picker-testing.mjs +35 -0
- package/fesm2022/ngwr-date-picker-testing.mjs.map +1 -1
- package/fesm2022/ngwr-date-picker.mjs +151 -54
- package/fesm2022/ngwr-date-picker.mjs.map +1 -1
- package/fesm2022/ngwr-date-stamp.mjs +3 -3
- package/fesm2022/ngwr-date.mjs +40 -16
- package/fesm2022/ngwr-date.mjs.map +1 -1
- package/fesm2022/ngwr-density.mjs +6 -6
- package/fesm2022/ngwr-descriptions.mjs +6 -6
- package/fesm2022/ngwr-dialog.mjs +35 -24
- package/fesm2022/ngwr-dialog.mjs.map +1 -1
- package/fesm2022/ngwr-directives.mjs +189 -23
- package/fesm2022/ngwr-directives.mjs.map +1 -1
- package/fesm2022/ngwr-divider.mjs +3 -3
- package/fesm2022/ngwr-drawer.mjs +18 -18
- package/fesm2022/ngwr-dropdown-testing.mjs +5 -1
- package/fesm2022/ngwr-dropdown-testing.mjs.map +1 -1
- package/fesm2022/ngwr-dropdown.mjs +59 -16
- package/fesm2022/ngwr-dropdown.mjs.map +1 -1
- package/fesm2022/ngwr-editor.mjs +6 -5
- package/fesm2022/ngwr-editor.mjs.map +1 -1
- package/fesm2022/ngwr-empty.mjs +3 -3
- package/fesm2022/ngwr-event-calendar.mjs +27 -15
- package/fesm2022/ngwr-event-calendar.mjs.map +1 -1
- package/fesm2022/ngwr-file-upload-testing.mjs +5 -0
- package/fesm2022/ngwr-file-upload-testing.mjs.map +1 -1
- package/fesm2022/ngwr-file-upload.mjs +68 -13
- package/fesm2022/ngwr-file-upload.mjs.map +1 -1
- package/fesm2022/ngwr-form.mjs +181 -12
- package/fesm2022/ngwr-form.mjs.map +1 -1
- package/fesm2022/ngwr-graph-testing.mjs +30 -0
- package/fesm2022/ngwr-graph-testing.mjs.map +1 -1
- package/fesm2022/ngwr-graph.mjs +100 -11
- package/fesm2022/ngwr-graph.mjs.map +1 -1
- package/fesm2022/ngwr-hotkey.mjs +6 -6
- package/fesm2022/ngwr-i18n-ar.mjs +21 -2
- package/fesm2022/ngwr-i18n-ar.mjs.map +1 -1
- package/fesm2022/ngwr-i18n-cs.mjs +21 -2
- package/fesm2022/ngwr-i18n-cs.mjs.map +1 -1
- package/fesm2022/ngwr-i18n-de.mjs +21 -2
- package/fesm2022/ngwr-i18n-de.mjs.map +1 -1
- package/fesm2022/ngwr-i18n-en.mjs +21 -2
- package/fesm2022/ngwr-i18n-en.mjs.map +1 -1
- package/fesm2022/ngwr-i18n-es.mjs +21 -2
- package/fesm2022/ngwr-i18n-es.mjs.map +1 -1
- package/fesm2022/ngwr-i18n-fr.mjs +21 -2
- package/fesm2022/ngwr-i18n-fr.mjs.map +1 -1
- package/fesm2022/ngwr-i18n-he.mjs +21 -2
- package/fesm2022/ngwr-i18n-he.mjs.map +1 -1
- package/fesm2022/ngwr-i18n-hi.mjs +21 -2
- package/fesm2022/ngwr-i18n-hi.mjs.map +1 -1
- package/fesm2022/ngwr-i18n-id.mjs +21 -2
- package/fesm2022/ngwr-i18n-id.mjs.map +1 -1
- package/fesm2022/ngwr-i18n-it.mjs +21 -2
- package/fesm2022/ngwr-i18n-it.mjs.map +1 -1
- package/fesm2022/ngwr-i18n-ja.mjs +21 -2
- package/fesm2022/ngwr-i18n-ja.mjs.map +1 -1
- package/fesm2022/ngwr-i18n-kk.mjs +520 -0
- package/fesm2022/ngwr-i18n-kk.mjs.map +1 -0
- package/fesm2022/ngwr-i18n-ko.mjs +21 -2
- package/fesm2022/ngwr-i18n-ko.mjs.map +1 -1
- package/fesm2022/ngwr-i18n-nl.mjs +21 -2
- package/fesm2022/ngwr-i18n-nl.mjs.map +1 -1
- package/fesm2022/ngwr-i18n-pl.mjs +21 -2
- package/fesm2022/ngwr-i18n-pl.mjs.map +1 -1
- package/fesm2022/ngwr-i18n-pt.mjs +21 -2
- package/fesm2022/ngwr-i18n-pt.mjs.map +1 -1
- package/fesm2022/ngwr-i18n-ru.mjs +21 -2
- package/fesm2022/ngwr-i18n-ru.mjs.map +1 -1
- package/fesm2022/ngwr-i18n-sv.mjs +21 -2
- package/fesm2022/ngwr-i18n-sv.mjs.map +1 -1
- package/fesm2022/ngwr-i18n-tr.mjs +21 -2
- package/fesm2022/ngwr-i18n-tr.mjs.map +1 -1
- package/fesm2022/ngwr-i18n-uk.mjs +21 -2
- package/fesm2022/ngwr-i18n-uk.mjs.map +1 -1
- package/fesm2022/ngwr-i18n-vi.mjs +21 -2
- package/fesm2022/ngwr-i18n-vi.mjs.map +1 -1
- package/fesm2022/ngwr-i18n-zh-tw.mjs +21 -2
- package/fesm2022/ngwr-i18n-zh-tw.mjs.map +1 -1
- package/fesm2022/ngwr-i18n-zh.mjs +21 -2
- package/fesm2022/ngwr-i18n-zh.mjs.map +1 -1
- package/fesm2022/ngwr-i18n.mjs +91 -20
- package/fesm2022/ngwr-i18n.mjs.map +1 -1
- package/fesm2022/ngwr-icon.mjs +6 -6
- package/fesm2022/ngwr-image-cropper.mjs +8 -4
- package/fesm2022/ngwr-image-cropper.mjs.map +1 -1
- package/fesm2022/ngwr-input-number.mjs +27 -4
- package/fesm2022/ngwr-input-number.mjs.map +1 -1
- package/fesm2022/ngwr-input-otp.mjs +5 -5
- package/fesm2022/ngwr-input-otp.mjs.map +1 -1
- package/fesm2022/ngwr-input.mjs +25 -17
- package/fesm2022/ngwr-input.mjs.map +1 -1
- package/fesm2022/ngwr-keyboard.mjs +3 -3
- package/fesm2022/ngwr-knob.mjs +3 -3
- package/fesm2022/ngwr-layout.mjs +15 -15
- package/fesm2022/ngwr-layout.mjs.map +1 -1
- package/fesm2022/ngwr-lightbox.mjs +8 -8
- package/fesm2022/ngwr-lightbox.mjs.map +1 -1
- package/fesm2022/ngwr-list.mjs +9 -9
- package/fesm2022/ngwr-list.mjs.map +1 -1
- package/fesm2022/ngwr-load-state.mjs +16 -15
- package/fesm2022/ngwr-load-state.mjs.map +1 -1
- package/fesm2022/ngwr-loading-bar-router.mjs.map +1 -1
- package/fesm2022/ngwr-loading-bar.mjs +8 -8
- package/fesm2022/ngwr-loading-bar.mjs.map +1 -1
- package/fesm2022/ngwr-mention.mjs +14 -6
- package/fesm2022/ngwr-mention.mjs.map +1 -1
- package/fesm2022/ngwr-meta.mjs +15 -12
- package/fesm2022/ngwr-meta.mjs.map +1 -1
- package/fesm2022/ngwr-overlay.mjs +9 -9
- package/fesm2022/ngwr-page-header.mjs +24 -3
- package/fesm2022/ngwr-page-header.mjs.map +1 -1
- package/fesm2022/ngwr-pagination-testing.mjs +3 -0
- package/fesm2022/ngwr-pagination-testing.mjs.map +1 -1
- package/fesm2022/ngwr-pagination.mjs +34 -5
- package/fesm2022/ngwr-pagination.mjs.map +1 -1
- package/fesm2022/ngwr-pipes.mjs +35 -28
- package/fesm2022/ngwr-pipes.mjs.map +1 -1
- package/fesm2022/ngwr-platform.mjs +9 -9
- package/fesm2022/ngwr-popconfirm.mjs +9 -7
- package/fesm2022/ngwr-popconfirm.mjs.map +1 -1
- package/fesm2022/ngwr-popover.mjs +162 -18
- package/fesm2022/ngwr-popover.mjs.map +1 -1
- package/fesm2022/ngwr-progress.mjs +75 -10
- package/fesm2022/ngwr-progress.mjs.map +1 -1
- package/fesm2022/ngwr-pull-to-refresh.mjs +3 -3
- package/fesm2022/ngwr-qr.mjs +9 -5
- package/fesm2022/ngwr-qr.mjs.map +1 -1
- package/fesm2022/ngwr-radio.mjs +77 -11
- package/fesm2022/ngwr-radio.mjs.map +1 -1
- package/fesm2022/ngwr-rating.mjs +3 -3
- package/fesm2022/ngwr-resizable.mjs +3 -3
- package/fesm2022/ngwr-result.mjs +12 -12
- package/fesm2022/ngwr-schema-form.mjs +20 -7
- package/fesm2022/ngwr-schema-form.mjs.map +1 -1
- package/fesm2022/ngwr-scroll.mjs +233 -10
- package/fesm2022/ngwr-scroll.mjs.map +1 -1
- package/fesm2022/ngwr-segmented.mjs +23 -3
- package/fesm2022/ngwr-segmented.mjs.map +1 -1
- package/fesm2022/ngwr-select.mjs +106 -26
- package/fesm2022/ngwr-select.mjs.map +1 -1
- package/fesm2022/ngwr-sidebar-testing.mjs +17 -1
- package/fesm2022/ngwr-sidebar-testing.mjs.map +1 -1
- package/fesm2022/ngwr-sidebar.mjs +66 -11
- package/fesm2022/ngwr-sidebar.mjs.map +1 -1
- package/fesm2022/ngwr-skeleton.mjs +3 -3
- package/fesm2022/ngwr-slider.mjs +3 -3
- package/fesm2022/ngwr-sortable-list.mjs +27 -15
- package/fesm2022/ngwr-sortable-list.mjs.map +1 -1
- package/fesm2022/ngwr-speed-dial.mjs +3 -3
- package/fesm2022/ngwr-spinner.mjs +3 -3
- package/fesm2022/ngwr-splitter.mjs +3 -3
- package/fesm2022/ngwr-statistic.mjs +9 -9
- package/fesm2022/ngwr-stepper.mjs +6 -6
- package/fesm2022/ngwr-storage.mjs +4 -4
- package/fesm2022/ngwr-storage.mjs.map +1 -1
- package/fesm2022/ngwr-switch.mjs +5 -5
- package/fesm2022/ngwr-switch.mjs.map +1 -1
- package/fesm2022/ngwr-table-router.mjs +89 -0
- package/fesm2022/ngwr-table-router.mjs.map +1 -0
- package/fesm2022/ngwr-table-testing.mjs +5 -0
- package/fesm2022/ngwr-table-testing.mjs.map +1 -1
- package/fesm2022/ngwr-table.mjs +307 -47
- package/fesm2022/ngwr-table.mjs.map +1 -1
- package/fesm2022/ngwr-tabs-router.mjs +9 -5
- package/fesm2022/ngwr-tabs-router.mjs.map +1 -1
- package/fesm2022/ngwr-tabs-testing.mjs +8 -1
- package/fesm2022/ngwr-tabs-testing.mjs.map +1 -1
- package/fesm2022/ngwr-tabs.mjs +60 -10
- package/fesm2022/ngwr-tabs.mjs.map +1 -1
- package/fesm2022/ngwr-textarea.mjs +5 -5
- package/fesm2022/ngwr-textarea.mjs.map +1 -1
- package/fesm2022/ngwr-theme.mjs +3 -3
- package/fesm2022/ngwr-timeline.mjs +6 -6
- package/fesm2022/ngwr-toast.mjs +43 -15
- package/fesm2022/ngwr-toast.mjs.map +1 -1
- package/fesm2022/ngwr-toolbar.mjs +3 -3
- package/fesm2022/ngwr-tour.mjs +9 -8
- package/fesm2022/ngwr-tour.mjs.map +1 -1
- package/fesm2022/ngwr-transfer.mjs +4 -3
- package/fesm2022/ngwr-transfer.mjs.map +1 -1
- package/fesm2022/ngwr-tree.mjs +3 -3
- package/fesm2022/ngwr-typography.mjs +23 -3
- package/fesm2022/ngwr-typography.mjs.map +1 -1
- package/fesm2022/ngwr-utils-router.mjs +3 -3
- package/fesm2022/ngwr-utils-router.mjs.map +1 -1
- package/fesm2022/ngwr-utils.mjs +74 -4
- package/fesm2022/ngwr-utils.mjs.map +1 -1
- package/fesm2022/ngwr-validators.mjs +33 -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 +3 -3
- package/fesm2022/ngwr-window.mjs +18 -13
- package/fesm2022/ngwr-window.mjs.map +1 -1
- package/file-upload/styles/_index.scss +16 -0
- package/form/styles/_index.scss +37 -0
- package/graph/styles/_index.scss +49 -9
- package/i18n/ar.json +19 -2
- package/i18n/cs.json +19 -2
- package/i18n/de.json +19 -2
- package/i18n/en.json +19 -2
- package/i18n/es.json +19 -2
- package/i18n/fr.json +19 -2
- package/i18n/he.json +19 -2
- package/i18n/hi.json +19 -2
- package/i18n/id.json +19 -2
- package/i18n/it.json +19 -2
- package/i18n/ja.json +19 -2
- package/i18n/kk.json +567 -0
- package/i18n/ko.json +19 -2
- package/i18n/nl.json +19 -2
- package/i18n/pl.json +19 -2
- package/i18n/pt.json +19 -2
- package/i18n/ru.json +19 -2
- package/i18n/sv.json +19 -2
- package/i18n/tr.json +19 -2
- package/i18n/uk.json +19 -2
- package/i18n/vi.json +19 -2
- package/i18n/zh-TW.json +19 -2
- package/i18n/zh.json +19 -2
- package/image-cropper/styles/_index.scss +1 -9
- package/input-number/styles/_index.scss +7 -0
- package/layout/styles/_index.scss +13 -1
- package/llms-full.txt +37 -26
- package/llms.txt +4 -1
- package/loading-bar/styles/_rules.scss +6 -0
- package/package.json +16 -8
- package/page-header/styles/_index.scss +18 -0
- package/pagination/styles/_index.scss +6 -0
- package/popover/styles/_index.scss +9 -0
- package/progress/styles/_index.scss +64 -0
- package/schematics/use/symbol-map.json +7 -0
- package/segmented/styles/_index.scss +7 -0
- package/select/styles/_index.scss +7 -0
- package/sidebar/styles/_index.scss +64 -6
- package/skills/ngwr/SKILL.md +7 -6
- package/skills/ngwr/references/catalog.md +7 -5
- package/sortable-list/styles/_rules.scss +1 -9
- package/speed-dial/styles/_index.scss +6 -0
- package/stepper/styles/_index.scss +1 -9
- package/table/styles/_index.scss +168 -30
- package/tabs/styles/_index.scss +9 -0
- package/theme/_index.scss +12 -1
- package/theme/styles/_colors.scss +11 -0
- package/theme/styles/_contrast.scss +6 -0
- package/theme/styles/_focus.scss +3 -1
- package/theme/styles/_index.scss +1 -0
- package/theme/styles/_mixins.scss +45 -0
- package/theme/styles/_print.scss +17 -0
- package/toast/styles/_index.scss +7 -0
- package/tour/styles/_index.scss +9 -0
- package/tree/styles/_index.scss +1 -9
- package/types/ngwr-anchor.d.ts +3 -0
- package/types/ngwr-animations-aurora.d.ts +6 -0
- package/types/ngwr-animations-blur-reveal.d.ts +6 -0
- package/types/ngwr-animations-click-sparks.d.ts +6 -0
- package/types/ngwr-animations-confetti.d.ts +6 -0
- package/types/ngwr-animations-decode.d.ts +6 -0
- package/types/ngwr-animations-destruct.d.ts +6 -0
- package/types/ngwr-animations-dot-grid.d.ts +6 -0
- package/types/ngwr-animations-falling-letters.d.ts +6 -0
- package/types/ngwr-animations-flow-lines.d.ts +6 -0
- package/types/ngwr-animations-fluid-cursor.d.ts +6 -0
- package/types/ngwr-animations-glitch.d.ts +6 -0
- package/types/ngwr-animations-glow-border.d.ts +6 -0
- package/types/ngwr-animations-gradient-flow.d.ts +6 -0
- package/types/ngwr-animations-marquee.d.ts +6 -0
- package/types/ngwr-animations-orbit.d.ts +6 -0
- package/types/ngwr-animations-reveal.d.ts +6 -0
- package/types/ngwr-animations-ripple-grid.d.ts +6 -0
- package/types/ngwr-animations-rotate-reveal.d.ts +6 -0
- package/types/ngwr-animations-shimmer.d.ts +6 -0
- package/types/ngwr-animations-spotlight.d.ts +6 -0
- package/types/ngwr-animations-thread-lines.d.ts +6 -0
- package/types/ngwr-animations-tilt.d.ts +10 -0
- package/types/ngwr-animations-typewriter.d.ts +6 -0
- package/types/ngwr-avatar.d.ts +39 -0
- package/types/ngwr-breadcrumbs.d.ts +25 -0
- package/types/ngwr-button.d.ts +35 -3
- package/types/ngwr-carousel.d.ts +2 -0
- package/types/ngwr-cascader.d.ts +7 -0
- package/types/ngwr-charts-core.d.ts +16 -0
- package/types/ngwr-charts-meter-group.d.ts +2 -0
- package/types/ngwr-checkbox.d.ts +1 -0
- package/types/ngwr-color-picker.d.ts +1 -0
- package/types/ngwr-context-menu.d.ts +1 -1
- package/types/ngwr-date-picker-testing.d.ts +22 -0
- package/types/ngwr-date-picker.d.ts +97 -17
- package/types/ngwr-date.d.ts +51 -0
- package/types/ngwr-dialog.d.ts +39 -8
- package/types/ngwr-directives.d.ts +57 -4
- package/types/ngwr-drawer.d.ts +1 -1
- package/types/ngwr-dropdown-testing.d.ts +8 -1
- package/types/ngwr-dropdown.d.ts +30 -1
- package/types/ngwr-event-calendar.d.ts +4 -0
- package/types/ngwr-file-upload-testing.d.ts +10 -0
- package/types/ngwr-file-upload.d.ts +55 -1
- package/types/ngwr-form.d.ts +87 -1
- package/types/ngwr-graph-testing.d.ts +28 -1
- package/types/ngwr-graph.d.ts +53 -3
- package/types/ngwr-i18n-kk.d.ts +3 -0
- package/types/ngwr-i18n.d.ts +65 -5
- package/types/ngwr-image-cropper.d.ts +6 -0
- package/types/ngwr-input-number.d.ts +8 -0
- package/types/ngwr-input.d.ts +7 -0
- package/types/ngwr-layout.d.ts +1 -1
- package/types/ngwr-loading-bar-router.d.ts +6 -0
- package/types/ngwr-page-header.d.ts +23 -1
- package/types/ngwr-pagination-testing.d.ts +8 -0
- package/types/ngwr-pagination.d.ts +16 -0
- package/types/ngwr-popconfirm.d.ts +1 -1
- package/types/ngwr-popover.d.ts +67 -4
- package/types/ngwr-progress.d.ts +63 -1
- package/types/ngwr-radio.d.ts +47 -5
- package/types/ngwr-scroll.d.ts +86 -0
- package/types/ngwr-segmented.d.ts +7 -0
- package/types/ngwr-select.d.ts +88 -25
- package/types/ngwr-sidebar-testing.d.ts +21 -7
- package/types/ngwr-sidebar.d.ts +66 -4
- package/types/ngwr-sortable-list.d.ts +20 -7
- package/types/ngwr-table-router.d.ts +49 -0
- package/types/ngwr-table-testing.d.ts +7 -0
- package/types/ngwr-table.d.ts +241 -10
- package/types/ngwr-tabs-router.d.ts +7 -1
- package/types/ngwr-tabs-testing.d.ts +5 -1
- package/types/ngwr-tabs.d.ts +34 -1
- package/types/ngwr-toast.d.ts +11 -0
- package/types/ngwr-tour.d.ts +0 -1
- package/types/ngwr-typography.d.ts +7 -0
- package/types/ngwr-utils-router.d.ts +6 -0
- package/types/ngwr-utils.d.ts +69 -2
- package/types/ngwr-validators.d.ts +49 -1
- package/types/ngwr-version.d.ts +1 -1
- package/typography/styles/_index.scss +4 -0
- package/window/styles/_index.scss +1 -9
package/table/styles/_index.scss
CHANGED
|
@@ -20,6 +20,12 @@
|
|
|
20
20
|
@use '../../spinner/styles' as spinner-styles; // WrSpinner
|
|
21
21
|
@include theme.loaded('table');
|
|
22
22
|
|
|
23
|
+
// A row whose link has the focus ring, which the row draws for it.
|
|
24
|
+
$row-link-focused: ':has(> td > .wr-table__row-link:focus-visible)';
|
|
25
|
+
|
|
26
|
+
// The controls in a linked row that keep the pointer, see `&__tr--link`.
|
|
27
|
+
$row-controls: "a[href], button, input, select, textarea, label, [role='button'], [contenteditable]:not([contenteditable='false']), [wrTableIgnoreRowClick], .wr-table__actions";
|
|
28
|
+
|
|
23
29
|
.wr-table {
|
|
24
30
|
--wr-table-bg: var(--wr-color-surface);
|
|
25
31
|
--wr-table-border: var(--wr-border-base);
|
|
@@ -31,6 +37,12 @@
|
|
|
31
37
|
--wr-table-head-font-size: var(--wr-text-xs);
|
|
32
38
|
--wr-table-head-font-weight: var(--wr-font-weight-semibold);
|
|
33
39
|
--wr-table-row-hover: var(--wr-color-fill-subtle);
|
|
40
|
+
// The padding of a header, body and footer cell at density 1. Off the
|
|
41
|
+
// spacing scale: these are the lengths the table has always drawn, and each
|
|
42
|
+
// is multiplied by `--wr-density-y` / `-x` where it is read. `size="sm"`
|
|
43
|
+
// restates both (see `.wr-table--sm`).
|
|
44
|
+
--wr-table-cell-padding-y: 0.625rem;
|
|
45
|
+
--wr-table-cell-padding-x: 0.875rem;
|
|
34
46
|
// Head casing. The library renders column titles as the author wrote them —
|
|
35
47
|
// forcing `uppercase` mutates their content, and a header written "ID" or
|
|
36
48
|
// "created at" is the consumer's decision to make, not ours. Both halves stay
|
|
@@ -54,6 +66,7 @@
|
|
|
54
66
|
// A column's place in a multi-column sort, drawn after its indicator.
|
|
55
67
|
--wr-table-sort-order-font-size: var(--wr-table-head-font-size);
|
|
56
68
|
--wr-table-sort-order-font-weight: var(--wr-font-weight-semibold);
|
|
69
|
+
--wr-table-actions-gap: var(--wr-space-xs);
|
|
57
70
|
--wr-table-tree-lead-margin-end: var(--wr-space-xs);
|
|
58
71
|
--wr-table-tree-toggle-radius: var(--wr-border-radius-sm);
|
|
59
72
|
--wr-table-expand-btn-padding: var(--wr-space-xs);
|
|
@@ -135,7 +148,8 @@
|
|
|
135
148
|
|
|
136
149
|
&__th,
|
|
137
150
|
&__td {
|
|
138
|
-
padding: calc(
|
|
151
|
+
padding: calc(var(--wr-table-cell-padding-y) * var(--wr-density-y, 1))
|
|
152
|
+
calc(var(--wr-table-cell-padding-x) * var(--wr-density-x, 1));
|
|
139
153
|
text-align: start;
|
|
140
154
|
vertical-align: middle;
|
|
141
155
|
border-bottom: 1px solid var(--wr-table-border);
|
|
@@ -170,6 +184,21 @@
|
|
|
170
184
|
overflow: hidden;
|
|
171
185
|
}
|
|
172
186
|
|
|
187
|
+
// `layout="fixed"`: the widths hold and the text wraps. `anywhere`, because a
|
|
188
|
+
// fixed column cannot grow around a long word.
|
|
189
|
+
&__table--layout-fixed {
|
|
190
|
+
table-layout: fixed;
|
|
191
|
+
}
|
|
192
|
+
|
|
193
|
+
&__table--layout-fixed &__th,
|
|
194
|
+
&__table--layout-fixed &__td {
|
|
195
|
+
overflow-wrap: anywhere;
|
|
196
|
+
}
|
|
197
|
+
|
|
198
|
+
&__table--layout-fixed &__th {
|
|
199
|
+
white-space: normal;
|
|
200
|
+
}
|
|
201
|
+
|
|
173
202
|
// `truncate: 'tooltip'`. The cut happens where the column cannot grow: under
|
|
174
203
|
// a fixed layout, or at the `max-width` the component writes from `width`.
|
|
175
204
|
&__td--truncate {
|
|
@@ -212,6 +241,13 @@
|
|
|
212
241
|
}
|
|
213
242
|
}
|
|
214
243
|
|
|
244
|
+
// A click anywhere in a sortable header cell sorts. Above `--draggable`, so
|
|
245
|
+
// a reorderable column keeps its grab cursor.
|
|
246
|
+
&__th--sortable {
|
|
247
|
+
cursor: pointer;
|
|
248
|
+
user-select: none;
|
|
249
|
+
}
|
|
250
|
+
|
|
215
251
|
// --- Column reordering ----------------------------------------------------
|
|
216
252
|
&__th--draggable {
|
|
217
253
|
cursor: grab;
|
|
@@ -310,6 +346,31 @@
|
|
|
310
346
|
font-variant-numeric: tabular-nums;
|
|
311
347
|
}
|
|
312
348
|
|
|
349
|
+
// --- Row actions ----------------------------------------------------------
|
|
350
|
+
// `column.actions`. `width: 1%` shrinks the column to its buttons under auto
|
|
351
|
+
// layout; a fixed layout would read it literally, so there the column takes
|
|
352
|
+
// its `width`.
|
|
353
|
+
&__th--actions,
|
|
354
|
+
&__td--actions {
|
|
355
|
+
width: 1%;
|
|
356
|
+
text-align: end;
|
|
357
|
+
white-space: nowrap;
|
|
358
|
+
}
|
|
359
|
+
|
|
360
|
+
&__table--layout-fixed &__th--actions,
|
|
361
|
+
&__table--layout-fixed &__td--actions {
|
|
362
|
+
width: auto;
|
|
363
|
+
}
|
|
364
|
+
|
|
365
|
+
&__actions {
|
|
366
|
+
display: inline-flex;
|
|
367
|
+
flex-wrap: nowrap;
|
|
368
|
+
align-items: center;
|
|
369
|
+
justify-content: flex-end;
|
|
370
|
+
gap: var(--wr-table-actions-gap);
|
|
371
|
+
vertical-align: middle;
|
|
372
|
+
}
|
|
373
|
+
|
|
313
374
|
// --- Row selection --------------------------------------------------------
|
|
314
375
|
&__th--select,
|
|
315
376
|
&__td--select {
|
|
@@ -395,7 +456,8 @@
|
|
|
395
456
|
// carries no styles of its own — it exists as a public hook so consumers can
|
|
396
457
|
// target those two cells without matching on position.
|
|
397
458
|
&__foot-cell {
|
|
398
|
-
padding: calc(
|
|
459
|
+
padding: calc(var(--wr-table-cell-padding-y) * var(--wr-density-y, 1))
|
|
460
|
+
calc(var(--wr-table-cell-padding-x) * var(--wr-density-x, 1));
|
|
399
461
|
background: var(--wr-table-head-bg);
|
|
400
462
|
border-top: 1px solid var(--wr-table-border);
|
|
401
463
|
font-weight: var(--wr-table-foot-cell-font-weight);
|
|
@@ -436,8 +498,10 @@
|
|
|
436
498
|
}
|
|
437
499
|
|
|
438
500
|
// Keep the row-hover tint on pinned body cells.
|
|
439
|
-
&__tr:hover &__td--pin-left,
|
|
440
|
-
&__tr:hover &__td--pin-right
|
|
501
|
+
&__tr--link:hover &__td--pin-left,
|
|
502
|
+
&__tr--link:hover &__td--pin-right,
|
|
503
|
+
&__tr--clickable:hover &__td--pin-left,
|
|
504
|
+
&__tr--clickable:hover &__td--pin-right {
|
|
441
505
|
background-image: linear-gradient(var(--wr-table-row-hover), var(--wr-table-row-hover));
|
|
442
506
|
}
|
|
443
507
|
|
|
@@ -601,40 +665,45 @@
|
|
|
601
665
|
&__tr {
|
|
602
666
|
transition: background var(--wr-transition-base);
|
|
603
667
|
|
|
604
|
-
|
|
668
|
+
// Only a row that leads somewhere tints: one with a link, or any row while
|
|
669
|
+
// `rowClick` is bound. A tint on a row that does nothing promises a click.
|
|
670
|
+
&--link:hover,
|
|
671
|
+
&--clickable:hover {
|
|
605
672
|
background: var(--wr-table-row-hover);
|
|
606
673
|
}
|
|
607
674
|
|
|
608
675
|
// A tree row holds the treegrid's roving tab stop (the APG's row focus), so
|
|
609
|
-
// it needs the ring every other focusable part of the table has.
|
|
676
|
+
// it needs the ring every other focusable part of the table has. A row's
|
|
677
|
+
// link lies under the whole row, so its focus draws the same ring. Inset: the
|
|
610
678
|
// host is `overflow: hidden`, and the first and last rows run flush to its
|
|
611
679
|
// border, where an outset ring is clipped away.
|
|
612
|
-
&:focus-visible
|
|
680
|
+
&:focus-visible,
|
|
681
|
+
&#{$row-link-focused} {
|
|
613
682
|
@include theme.focus-ring;
|
|
614
683
|
outline-offset: -2px;
|
|
615
|
-
}
|
|
616
684
|
|
|
617
|
-
|
|
618
|
-
|
|
619
|
-
|
|
620
|
-
|
|
621
|
-
|
|
622
|
-
|
|
623
|
-
|
|
624
|
-
|
|
625
|
-
|
|
626
|
-
|
|
627
|
-
|
|
628
|
-
|
|
685
|
+
// A pinned cell is sticky, stacked above the row and opaque, so it paints
|
|
686
|
+
// over the row's outline. It draws its own stretch of the ring instead:
|
|
687
|
+
// the block edges always, an inline edge only where it ends the row. A
|
|
688
|
+
// border rather than a shadow, since `forced-colors` drops shadows.
|
|
689
|
+
.wr-table__td--pin-left::after,
|
|
690
|
+
.wr-table__td--pin-right::after {
|
|
691
|
+
content: '';
|
|
692
|
+
position: absolute;
|
|
693
|
+
inset: 0;
|
|
694
|
+
border-block: var(--wr-focus-ring-width) solid var(--wr-focus-ring-color);
|
|
695
|
+
pointer-events: none;
|
|
696
|
+
}
|
|
629
697
|
|
|
630
|
-
|
|
631
|
-
|
|
632
|
-
|
|
633
|
-
|
|
698
|
+
.wr-table__td--pin-left:first-child::after,
|
|
699
|
+
.wr-table__td--pin-right:first-child::after {
|
|
700
|
+
border-inline-start: var(--wr-focus-ring-width) solid var(--wr-focus-ring-color);
|
|
701
|
+
}
|
|
634
702
|
|
|
635
|
-
|
|
636
|
-
|
|
637
|
-
|
|
703
|
+
.wr-table__td--pin-left:last-child::after,
|
|
704
|
+
.wr-table__td--pin-right:last-child::after {
|
|
705
|
+
border-inline-end: var(--wr-focus-ring-width) solid var(--wr-focus-ring-color);
|
|
706
|
+
}
|
|
638
707
|
}
|
|
639
708
|
|
|
640
709
|
&:last-child .wr-table__td {
|
|
@@ -642,6 +711,49 @@
|
|
|
642
711
|
}
|
|
643
712
|
}
|
|
644
713
|
|
|
714
|
+
// --- Row links (`rowLink`) --------------------------------------------------
|
|
715
|
+
// One empty anchor per row, stretched under the cells. The row is its own
|
|
716
|
+
// stacking context, so the link sits below every cell and the cells let the
|
|
717
|
+
// pointer through to it; a control in a cell takes the pointer back. Nothing
|
|
718
|
+
// is raised or repositioned, so a cell template lays out as it did.
|
|
719
|
+
&__tr--link {
|
|
720
|
+
position: relative;
|
|
721
|
+
z-index: 0;
|
|
722
|
+
}
|
|
723
|
+
|
|
724
|
+
&__row-link {
|
|
725
|
+
position: absolute;
|
|
726
|
+
inset: 0;
|
|
727
|
+
z-index: -1;
|
|
728
|
+
// The focused link rings the row (see `&__tr` above).
|
|
729
|
+
outline: none;
|
|
730
|
+
pointer-events: auto;
|
|
731
|
+
}
|
|
732
|
+
|
|
733
|
+
&__tr--link > &__td {
|
|
734
|
+
pointer-events: none;
|
|
735
|
+
}
|
|
736
|
+
|
|
737
|
+
// The cells that are controls themselves. A cut cell is one for its tooltip,
|
|
738
|
+
// and the component hands its clicks to the link.
|
|
739
|
+
&__tr--link > &__td--select,
|
|
740
|
+
&__tr--link > &__td--expand,
|
|
741
|
+
&__tr--link > &__td--editable,
|
|
742
|
+
&__tr--link > &__td--editing,
|
|
743
|
+
&__tr--link > &__td--truncate {
|
|
744
|
+
pointer-events: auto;
|
|
745
|
+
}
|
|
746
|
+
|
|
747
|
+
&__tr--link > &__td--truncate {
|
|
748
|
+
cursor: pointer;
|
|
749
|
+
}
|
|
750
|
+
|
|
751
|
+
// What `rowClick` skips (`ROW_CLICK_IGNORE` in table.ts), at no specificity:
|
|
752
|
+
// a disabled control that turns its own pointer events off keeps them off.
|
|
753
|
+
@at-root :where(.wr-table__tr--link) > :where(.wr-table__td) :where(#{$row-controls}) {
|
|
754
|
+
pointer-events: auto;
|
|
755
|
+
}
|
|
756
|
+
|
|
645
757
|
&__empty {
|
|
646
758
|
text-align: center;
|
|
647
759
|
color: var(--wr-color-on-surface-muted);
|
|
@@ -748,6 +860,10 @@
|
|
|
748
860
|
min-width: 0;
|
|
749
861
|
}
|
|
750
862
|
|
|
863
|
+
&__sr-only {
|
|
864
|
+
@include theme.visually-hidden;
|
|
865
|
+
}
|
|
866
|
+
|
|
751
867
|
&__loading {
|
|
752
868
|
position: absolute;
|
|
753
869
|
inset: 0;
|
|
@@ -798,6 +914,7 @@
|
|
|
798
914
|
// --- Row grouping ---------------------------------------------------------
|
|
799
915
|
--wr-table-group-bg: var(--wr-color-fill-subtle);
|
|
800
916
|
--wr-table-group-inner-gap: var(--wr-space-sm);
|
|
917
|
+
--wr-table-group-inner-padding-y: var(--wr-space-sm);
|
|
801
918
|
--wr-table-group-toggle-gap: var(--wr-space-sm);
|
|
802
919
|
--wr-table-group-toggle-font-weight: var(--wr-font-weight-semibold);
|
|
803
920
|
--wr-table-group-count-padding-x: var(--wr-space-sm);
|
|
@@ -824,7 +941,8 @@
|
|
|
824
941
|
align-items: center;
|
|
825
942
|
gap: var(--wr-table-group-inner-gap);
|
|
826
943
|
max-width: 100%;
|
|
827
|
-
padding: calc(
|
|
944
|
+
padding: calc(var(--wr-table-group-inner-padding-y) * var(--wr-density-y, 1))
|
|
945
|
+
calc(var(--wr-table-cell-padding-x) * var(--wr-density-x, 1));
|
|
828
946
|
}
|
|
829
947
|
|
|
830
948
|
&__group-select {
|
|
@@ -915,6 +1033,19 @@
|
|
|
915
1033
|
}
|
|
916
1034
|
}
|
|
917
1035
|
|
|
1036
|
+
// --- Compact size -----------------------------------------------------------
|
|
1037
|
+
// `size="sm"` restates the padding hooks one notch tighter, on the spacing
|
|
1038
|
+
// scale. The density multipliers still apply on top, so a compact table inside
|
|
1039
|
+
// a `sm` density is tighter again. After the base block, which declares the
|
|
1040
|
+
// group hook last. The attribute form covers the frame before the first update
|
|
1041
|
+
// pass (see `static-variant-selectors.spec.ts`).
|
|
1042
|
+
.wr-table--sm,
|
|
1043
|
+
.wr-table:where([size='sm']) {
|
|
1044
|
+
--wr-table-cell-padding-y: var(--wr-space-xs);
|
|
1045
|
+
--wr-table-cell-padding-x: var(--wr-space-sm);
|
|
1046
|
+
--wr-table-group-inner-padding-y: var(--wr-space-xs);
|
|
1047
|
+
}
|
|
1048
|
+
|
|
918
1049
|
// --- Own scroll area --------------------------------------------------------
|
|
919
1050
|
// Scoped under the host `--sticky-head` class (`stickyHeader`, or a virtualized
|
|
920
1051
|
// body), so a table without either is untouched.
|
|
@@ -1115,10 +1246,16 @@
|
|
|
1115
1246
|
// An unfrozen cell no longer covers the row's ring, so it draws no stretch of
|
|
1116
1247
|
// its own (and, being static, would anchor one to the wrong box).
|
|
1117
1248
|
.wr-table--responsive .wr-table__tr:focus-visible .wr-table__td--pin-left::after,
|
|
1118
|
-
.wr-table--responsive .wr-table__tr:focus-visible .wr-table__td--pin-right::after
|
|
1249
|
+
.wr-table--responsive .wr-table__tr:focus-visible .wr-table__td--pin-right::after,
|
|
1250
|
+
.wr-table--responsive .wr-table__tr#{$row-link-focused} .wr-table__td--pin-left::after,
|
|
1251
|
+
.wr-table--responsive .wr-table__tr#{$row-link-focused} .wr-table__td--pin-right::after {
|
|
1119
1252
|
content: none;
|
|
1120
1253
|
}
|
|
1121
1254
|
|
|
1255
|
+
.wr-table--responsive .wr-table__td--actions {
|
|
1256
|
+
width: auto;
|
|
1257
|
+
}
|
|
1258
|
+
|
|
1122
1259
|
// Fixed-layout truncation is meaningless in cards — let values wrap again.
|
|
1123
1260
|
.wr-table--responsive .wr-table__table--fixed .wr-table__td {
|
|
1124
1261
|
overflow: visible;
|
|
@@ -1416,7 +1553,8 @@
|
|
|
1416
1553
|
// declared on `.wr-table`, which the preview has left, so they are passed with
|
|
1417
1554
|
// the same defaults that block sets. `--wr-density-*` and `--wr-color-*` are
|
|
1418
1555
|
// root-level and resolve as-is.
|
|
1419
|
-
padding: calc(
|
|
1556
|
+
padding: calc(var(--wr-table-cell-padding-y, 0.625rem) * var(--wr-density-y, 1))
|
|
1557
|
+
calc(var(--wr-table-cell-padding-x, 0.875rem) * var(--wr-density-x, 1));
|
|
1420
1558
|
background: var(--wr-table-head-bg, var(--wr-color-fill));
|
|
1421
1559
|
color: var(--wr-color-on-surface-muted);
|
|
1422
1560
|
font-family: var(--wr-table-font-family, var(--wr-font-family-base));
|
package/tabs/styles/_index.scss
CHANGED
|
@@ -1,4 +1,7 @@
|
|
|
1
1
|
@use '../../theme/styles' as theme;
|
|
2
|
+
|
|
3
|
+
// Styles for the entry points this component's own markup renders.
|
|
4
|
+
@use '../../badge/styles' as badge-styles; // WrBadge
|
|
2
5
|
@include theme.loaded('tabs');
|
|
3
6
|
|
|
4
7
|
.wr-tabs {
|
|
@@ -14,6 +17,7 @@
|
|
|
14
17
|
--wr-tabs-padding-y: var(--wr-space-md);
|
|
15
18
|
--wr-tabs-padding-x: var(--wr-space-lg);
|
|
16
19
|
--wr-tabs-strip-gap: var(--wr-space-xs);
|
|
20
|
+
--wr-tabs-count-gap: var(--wr-space-sm);
|
|
17
21
|
--wr-tabs-panel-padding-top: var(--wr-space-lg);
|
|
18
22
|
|
|
19
23
|
display: block;
|
|
@@ -123,6 +127,11 @@
|
|
|
123
127
|
}
|
|
124
128
|
}
|
|
125
129
|
|
|
130
|
+
&__count {
|
|
131
|
+
margin-inline-start: var(--wr-tabs-count-gap);
|
|
132
|
+
vertical-align: middle;
|
|
133
|
+
}
|
|
134
|
+
|
|
126
135
|
&__panel {
|
|
127
136
|
padding-top: var(--wr-tabs-panel-padding-top);
|
|
128
137
|
}
|
package/theme/_index.scss
CHANGED
|
@@ -43,7 +43,7 @@
|
|
|
43
43
|
// gap: a dark value is the second argument of a `light-dark()` in any
|
|
44
44
|
// declaration, in a global stylesheet and a component stylesheet alike, with
|
|
45
45
|
// no selector for encapsulation to rewrite.
|
|
46
|
-
@forward 'styles' hide smooth-br, touch-target, focus-ring, scrollbar, rebrand, contrast;
|
|
46
|
+
@forward 'styles' hide smooth-br, touch-target, focus-ring, scrollbar, visually-hidden, canvas, rebrand, contrast;
|
|
47
47
|
@use 'styles' as base;
|
|
48
48
|
|
|
49
49
|
/// iOS-style smooth corners, degrading to a plain radius where `corner-shape`
|
|
@@ -69,6 +69,17 @@
|
|
|
69
69
|
@include base.scrollbar;
|
|
70
70
|
}
|
|
71
71
|
|
|
72
|
+
/// Out of sight and out of flow, still read by a screen reader.
|
|
73
|
+
@mixin visually-hidden {
|
|
74
|
+
@include base.visually-hidden;
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
/// The page background, `--wr-color-canvas`: `body` at the stylesheet root, one
|
|
78
|
+
/// element inside a rule. Loading the theme paints nothing with it.
|
|
79
|
+
@mixin canvas {
|
|
80
|
+
@include base.canvas;
|
|
81
|
+
}
|
|
82
|
+
|
|
72
83
|
/// Re-emit an intent's whole token set on the current selector, from one seed —
|
|
73
84
|
/// or from two, the second for the dark scheme.
|
|
74
85
|
@mixin rebrand($colors, $dark: ()) {
|
|
@@ -618,6 +618,17 @@ $ink-mix-more: (
|
|
|
618
618
|
// into the background. Paint with `--wr-color-surface`, the role over it; a
|
|
619
619
|
// colour that has to stay white in both schemes is a literal, never this.
|
|
620
620
|
--wr-color-white: light-dark(#ffffff, #0b1120);
|
|
621
|
+
|
|
622
|
+
// The page background, one step behind `--wr-color-surface`, so a card or a
|
|
623
|
+
// table on it reads as raised. Nothing paints with it until an app opts in
|
|
624
|
+
// through the `canvas` mixin. Both sides are steps of the fixed scale: 1.10:1
|
|
625
|
+
// against the surface in light and 1.07:1 in dark. Body text reads 16.12:1 on
|
|
626
|
+
// it in light and muted text 6.87:1; an `-ink` on its own `-soft` tint drops
|
|
627
|
+
// to 4.64:1 at worst (`warning`), above AA and under the 5.0 target, and dark
|
|
628
|
+
// only gains. Declared here and not in `derived()`: a `:root` rebrand would
|
|
629
|
+
// re-declare it after the `prefers-contrast: more` override and switch that
|
|
630
|
+
// off.
|
|
631
|
+
--wr-color-canvas: light-dark(var(--wr-color-gray-100), var(--wr-color-gray-950));
|
|
621
632
|
// The flat primitive, the same in both schemes. A scrim built on it is a mix
|
|
622
633
|
// toward `transparent`: `color-mix(in srgb, var(--wr-color-black) 45%,
|
|
623
634
|
// transparent)`.
|
|
@@ -59,6 +59,12 @@
|
|
|
59
59
|
// contrast that trade flips — the reader has said which side they want.
|
|
60
60
|
--wr-color-gray-4: light-dark(#718cad, #566b9b);
|
|
61
61
|
|
|
62
|
+
// The step behind the surface closes. On the light canvas an `-ink` at its
|
|
63
|
+
// high-contrast share reads 6.41:1 to 6.97:1 on a `-soft` tint for three
|
|
64
|
+
// intents, under the 7:1 this block promises, and the deepened hairline
|
|
65
|
+
// above already separates a card from the page.
|
|
66
|
+
--wr-color-canvas: var(--wr-color-surface);
|
|
67
|
+
|
|
62
68
|
@each $name, $share in colors.$ink-mix-more {
|
|
63
69
|
--wr-color-#{$name}-ink: color-mix(in srgb, var(--wr-color-#{$name}) #{$share}, var(--wr-color-gray-6));
|
|
64
70
|
}
|
package/theme/styles/_focus.scss
CHANGED
|
@@ -280,8 +280,10 @@
|
|
|
280
280
|
// Graph — the viewport is the graph's one tab stop, the element a keyboard
|
|
281
281
|
// scrolls, or zooms and pans when the graph is `zoomable`. Its own `overflow`
|
|
282
282
|
// does not clip its outline, so the ring stays outset. The zoom buttons beside
|
|
283
|
-
// it are bare `<button>`s.
|
|
283
|
+
// it are bare `<button>`s. With `selectable` every node is a button too, and the
|
|
284
|
+
// stage around the nodes clips nothing.
|
|
284
285
|
.wr-graph__viewport:focus-visible,
|
|
286
|
+
.wr-graph__select:focus-visible,
|
|
285
287
|
.wr-graph__control:focus-visible {
|
|
286
288
|
@include focus-ring;
|
|
287
289
|
}
|
package/theme/styles/_index.scss
CHANGED
|
@@ -122,3 +122,48 @@
|
|
|
122
122
|
}
|
|
123
123
|
}
|
|
124
124
|
}
|
|
125
|
+
|
|
126
|
+
/// Visually hidden, still read by a screen reader: out of flow and clipped to
|
|
127
|
+
/// nothing, never `display: none` or `visibility: hidden`, which take the text
|
|
128
|
+
/// out of the accessible tree too.
|
|
129
|
+
///
|
|
130
|
+
/// @example scss
|
|
131
|
+
/// .wr-tree__sr-only {
|
|
132
|
+
/// @include visually-hidden;
|
|
133
|
+
/// }
|
|
134
|
+
@mixin visually-hidden {
|
|
135
|
+
position: absolute;
|
|
136
|
+
width: 1px;
|
|
137
|
+
height: 1px;
|
|
138
|
+
padding: 0;
|
|
139
|
+
margin: -1px;
|
|
140
|
+
overflow: hidden;
|
|
141
|
+
clip: rect(0, 0, 0, 0);
|
|
142
|
+
white-space: nowrap;
|
|
143
|
+
border: 0;
|
|
144
|
+
}
|
|
145
|
+
|
|
146
|
+
/// Paints with `--wr-color-canvas`, the page background one step behind
|
|
147
|
+
/// `--wr-color-surface`: `body` when included at the stylesheet root, that
|
|
148
|
+
/// element when included inside a rule. Opt-in: loading the theme paints
|
|
149
|
+
/// nothing with the token.
|
|
150
|
+
///
|
|
151
|
+
/// At the root the selector is `:where(body)`, zero specificity, so any rule of
|
|
152
|
+
/// a consumer wins.
|
|
153
|
+
///
|
|
154
|
+
/// @example scss
|
|
155
|
+
/// @include theme.canvas;
|
|
156
|
+
///
|
|
157
|
+
/// // `wr-layout` paints its own background over `body`.
|
|
158
|
+
/// .wr-layout-content {
|
|
159
|
+
/// @include theme.canvas;
|
|
160
|
+
/// }
|
|
161
|
+
@mixin canvas {
|
|
162
|
+
@if & {
|
|
163
|
+
background-color: var(--wr-color-canvas);
|
|
164
|
+
} @else {
|
|
165
|
+
:where(body) {
|
|
166
|
+
background-color: var(--wr-color-canvas);
|
|
167
|
+
}
|
|
168
|
+
}
|
|
169
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
// Print utilities, emitted with the token layer so every app has them.
|
|
2
|
+
//
|
|
3
|
+
// `!important` for the reason `_motion.scss` gives: the theme loads first, so a
|
|
4
|
+
// component's own `display` at the same specificity would win on source order,
|
|
5
|
+
// and a class put on a `wr-btn` or a flex row would hide nothing.
|
|
6
|
+
|
|
7
|
+
@media print {
|
|
8
|
+
.wr-no-print {
|
|
9
|
+
display: none !important;
|
|
10
|
+
}
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
@media not print {
|
|
14
|
+
.wr-print-only {
|
|
15
|
+
display: none !important;
|
|
16
|
+
}
|
|
17
|
+
}
|
package/toast/styles/_index.scss
CHANGED
package/tour/styles/_index.scss
CHANGED
|
@@ -104,3 +104,12 @@
|
|
|
104
104
|
// The popup rides above the cut-out.
|
|
105
105
|
// No `z-index` on the pane — the comment above `.wr-tour-cutout` already said
|
|
106
106
|
// one here "cannot help", and it was carrying 1001 anyway.
|
|
107
|
+
|
|
108
|
+
// The cut-out's spread shadow would dim the whole sheet. The pane class is paired with
|
|
109
|
+
// `.cdk-overlay-pane`, whose `display: flex` the CDK sheet adds after this one.
|
|
110
|
+
@media print {
|
|
111
|
+
.wr-tour__spotlight,
|
|
112
|
+
.cdk-overlay-pane.wr-tour-overlay {
|
|
113
|
+
display: none;
|
|
114
|
+
}
|
|
115
|
+
}
|
package/tree/styles/_index.scss
CHANGED
|
@@ -241,15 +241,7 @@
|
|
|
241
241
|
|
|
242
242
|
// The keyboard move's description and live region.
|
|
243
243
|
&__sr-only {
|
|
244
|
-
|
|
245
|
-
width: 1px;
|
|
246
|
-
height: 1px;
|
|
247
|
-
padding: 0;
|
|
248
|
-
margin: -1px;
|
|
249
|
-
overflow: hidden;
|
|
250
|
-
clip: rect(0, 0, 0, 0);
|
|
251
|
-
white-space: nowrap;
|
|
252
|
-
border: 0;
|
|
244
|
+
@include theme.visually-hidden;
|
|
253
245
|
}
|
|
254
246
|
|
|
255
247
|
// Virtualized list: the container owns scrolling + keyboard focus.
|
package/types/ngwr-anchor.d.ts
CHANGED
|
@@ -59,6 +59,7 @@ export declare class WrAnchor {
|
|
|
59
59
|
protected readonly flatIds: import("@angular/core").Signal<readonly string[]>;
|
|
60
60
|
private readonly scroll;
|
|
61
61
|
private readonly platform;
|
|
62
|
+
private readonly doc;
|
|
62
63
|
private readonly zone;
|
|
63
64
|
private readonly destroyRef;
|
|
64
65
|
/**
|
|
@@ -73,6 +74,8 @@ export declare class WrAnchor {
|
|
|
73
74
|
private pinned;
|
|
74
75
|
private lastY;
|
|
75
76
|
constructor();
|
|
77
|
+
/** Carries the current path, so a `<base href>` cannot send copy link or a new tab to the site root. */
|
|
78
|
+
protected hrefFor(id: string): string;
|
|
76
79
|
protected onClick(id: string, event: MouseEvent): void;
|
|
77
80
|
static ɵfac: i0.ɵɵFactoryDeclaration<WrAnchor, never>;
|
|
78
81
|
static ɵcmp: i0.ɵɵComponentDeclaration<WrAnchor, "wr-anchor", never, {
|
|
@@ -1,3 +1,9 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
*
|
|
4
|
+
* Use of this source code is governed by an MIT-style license that can be
|
|
5
|
+
* found in the LICENSE file at https://github.com/thekhegay/ngwr/blob/main/LICENSE
|
|
6
|
+
*/
|
|
1
7
|
import { t as WrStaggerBy } from "./index-CXbgza47.js";
|
|
2
8
|
import * as i0 from "@angular/core";
|
|
3
9
|
/** What one animated piece of the text is: a word, or a grapheme. */
|
|
@@ -1,3 +1,9 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
*
|
|
4
|
+
* Use of this source code is governed by an MIT-style license that can be
|
|
5
|
+
* found in the LICENSE file at https://github.com/thekhegay/ngwr/blob/main/LICENSE
|
|
6
|
+
*/
|
|
1
7
|
import * as i0 from "@angular/core";
|
|
2
8
|
/**
|
|
3
9
|
* A ring of short spark strokes bursts out from the point a button or link is
|
|
@@ -1,3 +1,9 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
*
|
|
4
|
+
* Use of this source code is governed by an MIT-style license that can be
|
|
5
|
+
* found in the LICENSE file at https://github.com/thekhegay/ngwr/blob/main/LICENSE
|
|
6
|
+
*/
|
|
1
7
|
import * as i0 from "@angular/core";
|
|
2
8
|
/**
|
|
3
9
|
* Text that wobbles with a fine, living noise, as if seen through heat haze
|
|
@@ -1,3 +1,9 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
*
|
|
4
|
+
* Use of this source code is governed by an MIT-style license that can be
|
|
5
|
+
* found in the LICENSE file at https://github.com/thekhegay/ngwr/blob/main/LICENSE
|
|
6
|
+
*/
|
|
1
7
|
import * as i0 from "@angular/core";
|
|
2
8
|
/**
|
|
3
9
|
* An even field of small, faint dots behind a section's content. Near the
|
|
@@ -1,3 +1,9 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
*
|
|
4
|
+
* Use of this source code is governed by an MIT-style license that can be
|
|
5
|
+
* found in the LICENSE file at https://github.com/thekhegay/ngwr/blob/main/LICENSE
|
|
6
|
+
*/
|
|
1
7
|
import * as i0 from "@angular/core";
|
|
2
8
|
/**
|
|
3
9
|
* Click a line of text and its letters let go: each one drops with gravity,
|