ngwr 16.2.0 → 16.3.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/badge/styles/_tag.scss +73 -1
- package/calendar/styles/_index.scss +22 -0
- package/cascader/styles/_rules.scss +7 -0
- package/color-picker/styles/_index.scss +21 -0
- package/date-picker/styles/_index.scss +19 -0
- package/dropdown/styles/_index.scss +13 -19
- package/fesm2022/ngwr-affix.mjs +3 -3
- package/fesm2022/ngwr-alert-testing.mjs +70 -0
- package/fesm2022/ngwr-alert-testing.mjs.map +1 -0
- package/fesm2022/ngwr-alert.mjs +3 -3
- package/fesm2022/ngwr-anchor.mjs +17 -6
- package/fesm2022/ngwr-anchor.mjs.map +1 -1
- package/fesm2022/ngwr-animations-aurora.mjs +3 -3
- package/fesm2022/ngwr-animations-blur-reveal.mjs +3 -3
- package/fesm2022/ngwr-animations-click-sparks.mjs +3 -3
- package/fesm2022/ngwr-animations-confetti.mjs +3 -3
- package/fesm2022/ngwr-animations-decode.mjs +3 -3
- package/fesm2022/ngwr-animations-destruct.mjs +3 -3
- package/fesm2022/ngwr-animations-dot-grid.mjs +3 -3
- package/fesm2022/ngwr-animations-falling-letters.mjs +3 -3
- package/fesm2022/ngwr-animations-flow-lines.mjs +3 -3
- package/fesm2022/ngwr-animations-fluid-cursor.mjs +3 -3
- package/fesm2022/ngwr-animations-glitch.mjs +3 -3
- package/fesm2022/ngwr-animations-glow-border.mjs +3 -3
- package/fesm2022/ngwr-animations-gradient-flow.mjs +3 -3
- package/fesm2022/ngwr-animations-marquee.mjs +3 -3
- package/fesm2022/ngwr-animations-orbit.mjs +3 -3
- package/fesm2022/ngwr-animations-reveal.mjs +3 -3
- package/fesm2022/ngwr-animations-ripple-grid.mjs +3 -3
- package/fesm2022/ngwr-animations-rotate-reveal.mjs +3 -3
- package/fesm2022/ngwr-animations-shimmer.mjs +3 -3
- package/fesm2022/ngwr-animations-spotlight.mjs +3 -3
- package/fesm2022/ngwr-animations-thread-lines.mjs +3 -3
- package/fesm2022/ngwr-animations-tilt.mjs +3 -3
- package/fesm2022/ngwr-animations-typewriter.mjs +3 -3
- package/fesm2022/ngwr-avatar.mjs +3 -3
- package/fesm2022/ngwr-back-top.mjs +3 -3
- package/fesm2022/ngwr-badge.mjs +129 -11
- package/fesm2022/ngwr-badge.mjs.map +1 -1
- package/fesm2022/ngwr-breadcrumbs-testing.mjs +83 -0
- package/fesm2022/ngwr-breadcrumbs-testing.mjs.map +1 -0
- package/fesm2022/ngwr-breadcrumbs.mjs +8 -8
- package/fesm2022/ngwr-breadcrumbs.mjs.map +1 -1
- package/fesm2022/ngwr-burger-testing.mjs +45 -0
- package/fesm2022/ngwr-burger-testing.mjs.map +1 -0
- package/fesm2022/ngwr-burger.mjs +3 -3
- package/fesm2022/ngwr-button.mjs +6 -6
- package/fesm2022/ngwr-calendar-testing.mjs +18 -0
- package/fesm2022/ngwr-calendar-testing.mjs.map +1 -1
- package/fesm2022/ngwr-calendar.mjs +500 -73
- package/fesm2022/ngwr-calendar.mjs.map +1 -1
- package/fesm2022/ngwr-card.mjs +9 -9
- package/fesm2022/ngwr-carousel.mjs +6 -6
- package/fesm2022/ngwr-cascader.mjs +37 -16
- package/fesm2022/ngwr-cascader.mjs.map +1 -1
- package/fesm2022/ngwr-charts-bar-chart.mjs +5 -4
- package/fesm2022/ngwr-charts-bar-chart.mjs.map +1 -1
- 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 +26 -11
- package/fesm2022/ngwr-charts-chart-legend.mjs.map +1 -1
- package/fesm2022/ngwr-charts-core.mjs +3 -3
- package/fesm2022/ngwr-charts-donut-chart.mjs +5 -4
- package/fesm2022/ngwr-charts-donut-chart.mjs.map +1 -1
- 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-testing.mjs +3 -2
- package/fesm2022/ngwr-charts-line-chart-testing.mjs.map +1 -1
- package/fesm2022/ngwr-charts-line-chart.mjs +17 -7
- package/fesm2022/ngwr-charts-line-chart.mjs.map +1 -1
- package/fesm2022/ngwr-charts-meter-group.mjs +5 -4
- package/fesm2022/ngwr-charts-meter-group.mjs.map +1 -1
- package/fesm2022/ngwr-charts-radar-chart.mjs +5 -4
- package/fesm2022/ngwr-charts-radar-chart.mjs.map +1 -1
- package/fesm2022/ngwr-charts-scatter-chart.mjs +5 -4
- package/fesm2022/ngwr-charts-scatter-chart.mjs.map +1 -1
- 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 +6 -6
- package/fesm2022/ngwr-clipboard.mjs +3 -3
- package/fesm2022/ngwr-collapse.mjs +9 -9
- package/fesm2022/ngwr-color-picker-testing.mjs +11 -1
- package/fesm2022/ngwr-color-picker-testing.mjs.map +1 -1
- package/fesm2022/ngwr-color-picker.mjs +153 -37
- package/fesm2022/ngwr-color-picker.mjs.map +1 -1
- package/fesm2022/ngwr-command-palette.mjs +3 -3
- package/fesm2022/ngwr-comment.mjs +10 -6
- package/fesm2022/ngwr-comment.mjs.map +1 -1
- package/fesm2022/ngwr-compare-testing.mjs +84 -0
- package/fesm2022/ngwr-compare-testing.mjs.map +1 -0
- package/fesm2022/ngwr-compare.mjs +3 -3
- package/fesm2022/ngwr-context-menu.mjs +12 -12
- 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 +30 -4
- package/fesm2022/ngwr-date-picker-testing.mjs.map +1 -1
- package/fesm2022/ngwr-date-picker.mjs +342 -69
- package/fesm2022/ngwr-date-picker.mjs.map +1 -1
- package/fesm2022/ngwr-date-stamp.mjs +3 -3
- package/fesm2022/ngwr-date.mjs +59 -8
- 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 +18 -18
- package/fesm2022/ngwr-directives.mjs +15 -15
- package/fesm2022/ngwr-divider.mjs +3 -3
- package/fesm2022/ngwr-drawer.mjs +51 -29
- package/fesm2022/ngwr-drawer.mjs.map +1 -1
- package/fesm2022/ngwr-dropdown-testing.mjs +11 -3
- package/fesm2022/ngwr-dropdown-testing.mjs.map +1 -1
- package/fesm2022/ngwr-dropdown.mjs +52 -95
- package/fesm2022/ngwr-dropdown.mjs.map +1 -1
- package/fesm2022/ngwr-editor.mjs +4 -3
- package/fesm2022/ngwr-editor.mjs.map +1 -1
- package/fesm2022/ngwr-empty.mjs +3 -3
- package/fesm2022/ngwr-event-calendar.mjs +186 -33
- package/fesm2022/ngwr-event-calendar.mjs.map +1 -1
- package/fesm2022/ngwr-file-upload-testing.mjs +34 -2
- package/fesm2022/ngwr-file-upload-testing.mjs.map +1 -1
- package/fesm2022/ngwr-file-upload.mjs +274 -15
- package/fesm2022/ngwr-file-upload.mjs.map +1 -1
- package/fesm2022/ngwr-form.mjs +9 -9
- package/fesm2022/ngwr-form.mjs.map +1 -1
- package/fesm2022/ngwr-graph-testing.mjs +3 -0
- package/fesm2022/ngwr-graph-testing.mjs.map +1 -1
- package/fesm2022/ngwr-graph.mjs +102 -42
- package/fesm2022/ngwr-graph.mjs.map +1 -1
- package/fesm2022/ngwr-hotkey.mjs +6 -6
- package/fesm2022/ngwr-i18n-ar.mjs +19 -4
- package/fesm2022/ngwr-i18n-ar.mjs.map +1 -1
- package/fesm2022/ngwr-i18n-cs.mjs +19 -4
- package/fesm2022/ngwr-i18n-cs.mjs.map +1 -1
- package/fesm2022/ngwr-i18n-de.mjs +19 -4
- package/fesm2022/ngwr-i18n-de.mjs.map +1 -1
- package/fesm2022/ngwr-i18n-en.mjs +19 -4
- package/fesm2022/ngwr-i18n-en.mjs.map +1 -1
- package/fesm2022/ngwr-i18n-es.mjs +19 -4
- package/fesm2022/ngwr-i18n-es.mjs.map +1 -1
- package/fesm2022/ngwr-i18n-fr.mjs +19 -4
- package/fesm2022/ngwr-i18n-fr.mjs.map +1 -1
- package/fesm2022/ngwr-i18n-he.mjs +19 -4
- package/fesm2022/ngwr-i18n-he.mjs.map +1 -1
- package/fesm2022/ngwr-i18n-hi.mjs +19 -4
- package/fesm2022/ngwr-i18n-hi.mjs.map +1 -1
- package/fesm2022/ngwr-i18n-id.mjs +19 -4
- package/fesm2022/ngwr-i18n-id.mjs.map +1 -1
- package/fesm2022/ngwr-i18n-it.mjs +19 -4
- package/fesm2022/ngwr-i18n-it.mjs.map +1 -1
- package/fesm2022/ngwr-i18n-ja.mjs +19 -4
- package/fesm2022/ngwr-i18n-ja.mjs.map +1 -1
- package/fesm2022/ngwr-i18n-ko.mjs +19 -4
- package/fesm2022/ngwr-i18n-ko.mjs.map +1 -1
- package/fesm2022/ngwr-i18n-nl.mjs +19 -4
- package/fesm2022/ngwr-i18n-nl.mjs.map +1 -1
- package/fesm2022/ngwr-i18n-pl.mjs +19 -4
- package/fesm2022/ngwr-i18n-pl.mjs.map +1 -1
- package/fesm2022/ngwr-i18n-pt.mjs +19 -4
- package/fesm2022/ngwr-i18n-pt.mjs.map +1 -1
- package/fesm2022/ngwr-i18n-ru.mjs +19 -4
- package/fesm2022/ngwr-i18n-ru.mjs.map +1 -1
- package/fesm2022/ngwr-i18n-sv.mjs +19 -4
- package/fesm2022/ngwr-i18n-sv.mjs.map +1 -1
- package/fesm2022/ngwr-i18n-tr.mjs +19 -4
- package/fesm2022/ngwr-i18n-tr.mjs.map +1 -1
- package/fesm2022/ngwr-i18n-uk.mjs +19 -4
- package/fesm2022/ngwr-i18n-uk.mjs.map +1 -1
- package/fesm2022/ngwr-i18n-vi.mjs +19 -4
- package/fesm2022/ngwr-i18n-vi.mjs.map +1 -1
- package/fesm2022/ngwr-i18n-zh-tw.mjs +19 -4
- package/fesm2022/ngwr-i18n-zh-tw.mjs.map +1 -1
- package/fesm2022/ngwr-i18n-zh.mjs +19 -4
- package/fesm2022/ngwr-i18n-zh.mjs.map +1 -1
- package/fesm2022/ngwr-i18n.mjs +9 -9
- package/fesm2022/ngwr-icon.mjs +6 -6
- package/fesm2022/ngwr-image-cropper.mjs +3 -3
- package/fesm2022/ngwr-input-number-testing.mjs +11 -0
- package/fesm2022/ngwr-input-number-testing.mjs.map +1 -1
- package/fesm2022/ngwr-input-number.mjs +68 -7
- package/fesm2022/ngwr-input-number.mjs.map +1 -1
- package/fesm2022/ngwr-input-otp.mjs +23 -3
- package/fesm2022/ngwr-input-otp.mjs.map +1 -1
- package/fesm2022/ngwr-input-testing.mjs +24 -1
- package/fesm2022/ngwr-input-testing.mjs.map +1 -1
- package/fesm2022/ngwr-input.mjs +152 -36
- 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-lightbox.mjs +8 -8
- package/fesm2022/ngwr-lightbox.mjs.map +1 -1
- package/fesm2022/ngwr-list.mjs +8 -8
- package/fesm2022/ngwr-list.mjs.map +1 -1
- package/fesm2022/ngwr-load-state.mjs +15 -15
- package/fesm2022/ngwr-loading-bar.mjs +6 -6
- package/fesm2022/ngwr-mention.mjs +6 -6
- package/fesm2022/ngwr-meta.mjs +6 -6
- package/fesm2022/ngwr-overlay.mjs +175 -13
- package/fesm2022/ngwr-overlay.mjs.map +1 -1
- package/fesm2022/ngwr-page-header.mjs +3 -3
- package/fesm2022/ngwr-pagination.mjs +5 -3
- package/fesm2022/ngwr-pagination.mjs.map +1 -1
- package/fesm2022/ngwr-pipes.mjs +31 -29
- package/fesm2022/ngwr-pipes.mjs.map +1 -1
- package/fesm2022/ngwr-platform.mjs +9 -9
- package/fesm2022/ngwr-popconfirm-testing.mjs +5 -2
- package/fesm2022/ngwr-popconfirm-testing.mjs.map +1 -1
- package/fesm2022/ngwr-popconfirm.mjs +44 -63
- package/fesm2022/ngwr-popconfirm.mjs.map +1 -1
- package/fesm2022/ngwr-popover-testing.mjs +7 -1
- package/fesm2022/ngwr-popover-testing.mjs.map +1 -1
- package/fesm2022/ngwr-popover.mjs +58 -156
- package/fesm2022/ngwr-popover.mjs.map +1 -1
- package/fesm2022/ngwr-progress.mjs +50 -9
- package/fesm2022/ngwr-progress.mjs.map +1 -1
- package/fesm2022/ngwr-pull-to-refresh-testing.mjs +57 -0
- package/fesm2022/ngwr-pull-to-refresh-testing.mjs.map +1 -0
- package/fesm2022/ngwr-pull-to-refresh.mjs +3 -3
- package/fesm2022/ngwr-qr.mjs +3 -3
- package/fesm2022/ngwr-radio.mjs +6 -6
- package/fesm2022/ngwr-rating.mjs +3 -3
- package/fesm2022/ngwr-resizable-testing.mjs +113 -0
- package/fesm2022/ngwr-resizable-testing.mjs.map +1 -0
- package/fesm2022/ngwr-resizable.mjs +3 -3
- package/fesm2022/ngwr-result.mjs +12 -12
- package/fesm2022/ngwr-schema-form-testing.mjs +336 -0
- package/fesm2022/ngwr-schema-form-testing.mjs.map +1 -0
- package/fesm2022/ngwr-schema-form.mjs +415 -19
- package/fesm2022/ngwr-schema-form.mjs.map +1 -1
- package/fesm2022/ngwr-scroll.mjs +3 -3
- package/fesm2022/ngwr-segmented.mjs +3 -3
- package/fesm2022/ngwr-select-testing.mjs +19 -0
- package/fesm2022/ngwr-select-testing.mjs.map +1 -1
- package/fesm2022/ngwr-select.mjs +263 -83
- package/fesm2022/ngwr-select.mjs.map +1 -1
- package/fesm2022/ngwr-sidebar-testing.mjs +176 -0
- package/fesm2022/ngwr-sidebar-testing.mjs.map +1 -0
- package/fesm2022/ngwr-sidebar.mjs +3 -3
- package/fesm2022/ngwr-skeleton.mjs +3 -3
- package/fesm2022/ngwr-slider-testing.mjs +6 -0
- package/fesm2022/ngwr-slider-testing.mjs.map +1 -1
- package/fesm2022/ngwr-slider.mjs +21 -3
- package/fesm2022/ngwr-slider.mjs.map +1 -1
- package/fesm2022/ngwr-sortable-list.mjs +29 -12
- 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 +42 -11
- package/fesm2022/ngwr-stepper.mjs.map +1 -1
- package/fesm2022/ngwr-storage.mjs +3 -3
- package/fesm2022/ngwr-switch.mjs +3 -3
- package/fesm2022/ngwr-table-testing.mjs +88 -2
- package/fesm2022/ngwr-table-testing.mjs.map +1 -1
- package/fesm2022/ngwr-table.mjs +891 -74
- package/fesm2022/ngwr-table.mjs.map +1 -1
- package/fesm2022/ngwr-tabs-router.mjs +3 -3
- package/fesm2022/ngwr-tabs-testing.mjs +1 -1
- package/fesm2022/ngwr-tabs-testing.mjs.map +1 -1
- package/fesm2022/ngwr-tabs.mjs +15 -10
- package/fesm2022/ngwr-tabs.mjs.map +1 -1
- package/fesm2022/ngwr-textarea-testing.mjs +11 -0
- package/fesm2022/ngwr-textarea-testing.mjs.map +1 -1
- package/fesm2022/ngwr-textarea.mjs +128 -16
- 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 +40 -19
- package/fesm2022/ngwr-toast.mjs.map +1 -1
- package/fesm2022/ngwr-toolbar.mjs +3 -3
- package/fesm2022/ngwr-tour.mjs +6 -6
- package/fesm2022/ngwr-transfer-testing.mjs +6 -0
- package/fesm2022/ngwr-transfer-testing.mjs.map +1 -1
- package/fesm2022/ngwr-transfer.mjs +24 -5
- package/fesm2022/ngwr-transfer.mjs.map +1 -1
- package/fesm2022/ngwr-tree-testing.mjs +62 -2
- package/fesm2022/ngwr-tree-testing.mjs.map +1 -1
- package/fesm2022/ngwr-tree.mjs +966 -78
- package/fesm2022/ngwr-tree.mjs.map +1 -1
- package/fesm2022/ngwr-typography.mjs +3 -3
- package/fesm2022/ngwr-utils-router.mjs +3 -3
- package/fesm2022/ngwr-utils.mjs +34 -1
- package/fesm2022/ngwr-utils.mjs.map +1 -1
- package/fesm2022/ngwr-version.mjs +1 -1
- package/fesm2022/ngwr-version.mjs.map +1 -1
- package/fesm2022/ngwr-virtual-scroll.mjs +3 -3
- package/fesm2022/ngwr-window.mjs +33 -22
- package/fesm2022/ngwr-window.mjs.map +1 -1
- package/file-upload/styles/_index.scss +156 -0
- package/i18n/ar.json +21 -4
- package/i18n/cs.json +21 -4
- package/i18n/de.json +21 -4
- package/i18n/en.json +21 -4
- package/i18n/es.json +21 -4
- package/i18n/fr.json +21 -4
- package/i18n/he.json +21 -4
- package/i18n/hi.json +21 -4
- package/i18n/id.json +21 -4
- package/i18n/it.json +21 -4
- package/i18n/ja.json +21 -4
- package/i18n/ko.json +21 -4
- package/i18n/nl.json +21 -4
- package/i18n/pl.json +21 -4
- package/i18n/pt.json +21 -4
- package/i18n/ru.json +21 -4
- package/i18n/sv.json +21 -4
- package/i18n/tr.json +21 -4
- package/i18n/uk.json +21 -4
- package/i18n/vi.json +21 -4
- package/i18n/zh-TW.json +21 -4
- package/i18n/zh.json +21 -4
- package/input/styles/_index.scss +68 -1
- package/input-otp/styles/_index.scss +14 -0
- package/llms-full.txt +52 -20
- package/overlay/styles/_arrow.scss +4 -4
- package/package.json +33 -1
- package/popconfirm/styles/_index.scss +3 -11
- package/progress/styles/_index.scss +32 -0
- package/schema-form/styles/_index.scss +78 -0
- package/schematics/use/rule.js +2 -0
- package/schematics/use/symbol-map.json +4 -0
- package/select/styles/_index.scss +114 -22
- package/skills/ngwr/SKILL.md +1 -1
- package/skills/ngwr/references/catalog.md +9 -1
- package/slider/styles/_index.scss +22 -0
- package/table/styles/_index.scss +167 -3
- package/textarea/styles/_index.scss +80 -0
- package/theme/styles/_focus.scss +5 -0
- package/theme/styles/_motion.scss +5 -0
- package/transfer/styles/_index.scss +84 -0
- package/tree/styles/_index.scss +138 -5
- package/types/ngwr-alert-testing.d.ts +88 -0
- package/types/ngwr-badge.d.ts +72 -2
- package/types/ngwr-breadcrumbs-testing.d.ts +92 -0
- package/types/ngwr-burger-testing.d.ts +51 -0
- package/types/ngwr-calendar-testing.d.ts +18 -6
- package/types/ngwr-calendar.d.ts +272 -22
- package/types/ngwr-cascader.d.ts +10 -1
- package/types/ngwr-charts-chart-legend.d.ts +9 -4
- package/types/ngwr-charts-line-chart-testing.d.ts +4 -1
- package/types/ngwr-charts-line-chart.d.ts +7 -4
- package/types/ngwr-color-picker-testing.d.ts +15 -4
- package/types/ngwr-color-picker.d.ts +76 -6
- package/types/ngwr-compare-testing.d.ts +72 -0
- package/types/ngwr-date-picker-testing.d.ts +23 -8
- package/types/ngwr-date-picker.d.ts +100 -9
- package/types/ngwr-date.d.ts +71 -1
- package/types/ngwr-drawer.d.ts +9 -0
- package/types/ngwr-dropdown-testing.d.ts +20 -0
- package/types/ngwr-dropdown.d.ts +24 -6
- package/types/ngwr-event-calendar.d.ts +66 -8
- package/types/ngwr-file-upload-testing.d.ts +31 -2
- package/types/ngwr-file-upload.d.ts +148 -1
- package/types/ngwr-form.d.ts +47 -3
- package/types/ngwr-graph-testing.d.ts +8 -3
- package/types/ngwr-graph.d.ts +147 -7
- package/types/ngwr-input-number-testing.d.ts +10 -0
- package/types/ngwr-input-number.d.ts +30 -1
- package/types/ngwr-input-otp.d.ts +10 -0
- package/types/ngwr-input-testing.d.ts +30 -0
- package/types/ngwr-input.d.ts +54 -3
- package/types/ngwr-overlay.d.ts +84 -5
- package/types/ngwr-pipes.d.ts +2 -1
- package/types/ngwr-popconfirm-testing.d.ts +12 -3
- package/types/ngwr-popconfirm.d.ts +28 -3
- package/types/ngwr-popover-testing.d.ts +19 -2
- package/types/ngwr-popover.d.ts +22 -2
- package/types/ngwr-progress.d.ts +29 -1
- package/types/ngwr-pull-to-refresh-testing.d.ts +83 -0
- package/types/ngwr-resizable-testing.d.ts +116 -0
- package/types/ngwr-schema-form-testing.d.ts +260 -0
- package/types/ngwr-schema-form.d.ts +76 -6
- package/types/ngwr-select-testing.d.ts +20 -0
- package/types/ngwr-select.d.ts +112 -11
- package/types/ngwr-sidebar-testing.d.ts +176 -0
- package/types/ngwr-slider-testing.d.ts +3 -1
- package/types/ngwr-slider.d.ts +21 -1
- package/types/ngwr-sortable-list.d.ts +6 -0
- package/types/ngwr-stepper.d.ts +20 -11
- package/types/ngwr-table-testing.d.ts +70 -6
- package/types/ngwr-table.d.ts +480 -50
- package/types/ngwr-tabs-testing.d.ts +14 -17
- package/types/ngwr-tabs.d.ts +6 -0
- package/types/ngwr-textarea-testing.d.ts +10 -0
- package/types/ngwr-textarea.d.ts +48 -2
- package/types/ngwr-toast.d.ts +8 -1
- package/types/ngwr-transfer-testing.d.ts +3 -0
- package/types/ngwr-transfer.d.ts +24 -1
- package/types/ngwr-tree-testing.d.ts +65 -1
- package/types/ngwr-tree.d.ts +333 -12
- package/types/ngwr-utils.d.ts +28 -0
- package/types/ngwr-version.d.ts +1 -1
- package/types/ngwr-window.d.ts +7 -4
|
@@ -452,6 +452,16 @@
|
|
|
452
452
|
--wr-select-panel-message-padding: var(--wr-space-md);
|
|
453
453
|
--wr-select-panel-retry-gap: var(--wr-space-sm);
|
|
454
454
|
--wr-select-panel-retry-active-bg: var(--wr-color-hover);
|
|
455
|
+
// The select-all row's box: a checkbox drawn, not a control, so it has hooks
|
|
456
|
+
// of its own rather than `--wr-checkbox-*`.
|
|
457
|
+
--wr-select-panel-select-all-box-size: 1rem;
|
|
458
|
+
--wr-select-panel-select-all-box-radius: var(--wr-border-radius-sm);
|
|
459
|
+
--wr-select-panel-select-all-box-bg: var(--wr-color-surface);
|
|
460
|
+
--wr-select-panel-select-all-box-border: var(--wr-border-base);
|
|
461
|
+
--wr-select-panel-select-all-box-on-bg: var(--wr-color-primary);
|
|
462
|
+
--wr-select-panel-select-all-box-on-color: var(--wr-color-primary-contrast);
|
|
463
|
+
--wr-select-panel-select-all-hover-bg: var(--wr-color-hover);
|
|
464
|
+
--wr-select-panel-select-all-cursor: var(--wr-color-primary);
|
|
455
465
|
// Option sizing — default md. --sm/--lg are set from the trigger size because
|
|
456
466
|
// the panel is portaled into an overlay and can't inherit the host size class.
|
|
457
467
|
--wr-option-font-size: var(--wr-control-font-size-md);
|
|
@@ -513,6 +523,86 @@
|
|
|
513
523
|
text-align: center;
|
|
514
524
|
}
|
|
515
525
|
|
|
526
|
+
// The first row under `selectAll`. Laid out as an option, from the same
|
|
527
|
+
// `--wr-option-*` hooks, and pinned: the panel scrolls under it. Its fill is
|
|
528
|
+
// the panel's own surface with the hover tint painted OVER it as an image,
|
|
529
|
+
// because that tint is translucent and the options behind would show through.
|
|
530
|
+
// It runs edge to edge over the panel's padding and pins to the padding's top
|
|
531
|
+
// edge, so no option shows above or beside it while the list scrolls; the
|
|
532
|
+
// panel's rounded clip draws its top corners.
|
|
533
|
+
&__select-all {
|
|
534
|
+
position: sticky;
|
|
535
|
+
inset-block-start: calc(-1 * var(--wr-select-panel-padding));
|
|
536
|
+
z-index: 1;
|
|
537
|
+
display: flex;
|
|
538
|
+
flex: none;
|
|
539
|
+
align-items: center;
|
|
540
|
+
gap: var(--wr-option-inline-gap, 0.5rem);
|
|
541
|
+
margin-block-start: calc(-1 * var(--wr-select-panel-padding));
|
|
542
|
+
margin-inline: calc(-1 * var(--wr-select-panel-padding));
|
|
543
|
+
padding-block: calc(var(--wr-option-padding-y) + var(--wr-select-panel-padding)) var(--wr-option-padding-y);
|
|
544
|
+
padding-inline: calc(var(--wr-option-padding-x) + var(--wr-select-panel-padding));
|
|
545
|
+
background-color: var(--wr-select-panel-bg);
|
|
546
|
+
box-shadow: 0 1px 0 var(--wr-select-panel-border);
|
|
547
|
+
color: var(--wr-color-on-surface);
|
|
548
|
+
font-size: var(--wr-option-font-size);
|
|
549
|
+
font-weight: var(--wr-option-font-weight);
|
|
550
|
+
line-height: var(--wr-option-line-height);
|
|
551
|
+
cursor: pointer;
|
|
552
|
+
user-select: none;
|
|
553
|
+
|
|
554
|
+
&:hover,
|
|
555
|
+
&--active {
|
|
556
|
+
background-image: linear-gradient(
|
|
557
|
+
var(--wr-select-panel-select-all-hover-bg),
|
|
558
|
+
var(--wr-select-panel-select-all-hover-bg)
|
|
559
|
+
);
|
|
560
|
+
}
|
|
561
|
+
|
|
562
|
+
// The keyboard cursor: focus stays in the trigger, so this bar is the only
|
|
563
|
+
// sign of where the arrows are, as it is on a virtual row.
|
|
564
|
+
&--active::before {
|
|
565
|
+
content: '';
|
|
566
|
+
position: absolute;
|
|
567
|
+
inset-block: 0;
|
|
568
|
+
inset-inline-start: 0;
|
|
569
|
+
width: 2px;
|
|
570
|
+
background: var(--wr-select-panel-select-all-cursor);
|
|
571
|
+
}
|
|
572
|
+
|
|
573
|
+
&--disabled {
|
|
574
|
+
color: var(--wr-color-on-surface-muted);
|
|
575
|
+
cursor: not-allowed;
|
|
576
|
+
opacity: var(--wr-disabled-opacity);
|
|
577
|
+
|
|
578
|
+
&:hover {
|
|
579
|
+
background-image: none;
|
|
580
|
+
}
|
|
581
|
+
}
|
|
582
|
+
}
|
|
583
|
+
|
|
584
|
+
&__select-all-box {
|
|
585
|
+
display: inline-flex;
|
|
586
|
+
flex: none;
|
|
587
|
+
width: var(--wr-select-panel-select-all-box-size);
|
|
588
|
+
height: var(--wr-select-panel-select-all-box-size);
|
|
589
|
+
background: var(--wr-select-panel-select-all-box-bg);
|
|
590
|
+
border: 1px solid var(--wr-select-panel-select-all-box-border);
|
|
591
|
+
border-radius: var(--wr-select-panel-select-all-box-radius);
|
|
592
|
+
color: var(--wr-select-panel-select-all-box-on-color);
|
|
593
|
+
|
|
594
|
+
svg {
|
|
595
|
+
width: 100%;
|
|
596
|
+
height: 100%;
|
|
597
|
+
}
|
|
598
|
+
}
|
|
599
|
+
|
|
600
|
+
&__select-all--checked &__select-all-box,
|
|
601
|
+
&__select-all--mixed &__select-all-box {
|
|
602
|
+
--wr-select-panel-select-all-box-bg: var(--wr-select-panel-select-all-box-on-bg);
|
|
603
|
+
--wr-select-panel-select-all-box-border: var(--wr-select-panel-select-all-box-on-bg);
|
|
604
|
+
}
|
|
605
|
+
|
|
516
606
|
// A button on a line of its own, under the message.
|
|
517
607
|
&__retry {
|
|
518
608
|
display: flex;
|
|
@@ -540,11 +630,35 @@
|
|
|
540
630
|
cursor: pointer;
|
|
541
631
|
user-select: none;
|
|
542
632
|
transition: background var(--wr-transition-short);
|
|
633
|
+
// Positioning context for the `--active` cursor bar below.
|
|
634
|
+
position: relative;
|
|
543
635
|
|
|
544
636
|
&:hover {
|
|
545
637
|
background: var(--wr-color-hover);
|
|
546
638
|
}
|
|
547
639
|
|
|
640
|
+
// Keyboard cursor highlight — the list is navigated by
|
|
641
|
+
// aria-activedescendant, so real focus never lands on the row and the tint
|
|
642
|
+
// is all there was. `--wr-color-hover` is translucent and lands within about
|
|
643
|
+
// 1.1:1 of the panel behind it, which is the same grey to a reader who
|
|
644
|
+
// cannot separate hue — and it is the declaration `:hover` uses, so the row
|
|
645
|
+
// the arrows reached and a row under the mouse were indistinguishable. The
|
|
646
|
+
// bar is the channel; the tint stays as reinforcement.
|
|
647
|
+
&--active {
|
|
648
|
+
background: var(--wr-color-hover);
|
|
649
|
+
|
|
650
|
+
&::before {
|
|
651
|
+
content: '';
|
|
652
|
+
position: absolute;
|
|
653
|
+
inset-block: 0;
|
|
654
|
+
inset-inline-start: 0;
|
|
655
|
+
width: 2px;
|
|
656
|
+
background: var(--wr-color-primary);
|
|
657
|
+
}
|
|
658
|
+
}
|
|
659
|
+
|
|
660
|
+
// After the cursor, so a selected row keeps its own tint (the bar still shows
|
|
661
|
+
// the cursor on it, since it is a pseudo-element and not a background).
|
|
548
662
|
&--selected {
|
|
549
663
|
background: var(--wr-color-primary-soft);
|
|
550
664
|
// Text on the intent's own `-soft` tint: `-ink`, by calibration.
|
|
@@ -604,8 +718,6 @@
|
|
|
604
718
|
overflow: hidden;
|
|
605
719
|
white-space: nowrap;
|
|
606
720
|
text-overflow: ellipsis;
|
|
607
|
-
// Positioning context for the `--active` cursor bar below.
|
|
608
|
-
position: relative;
|
|
609
721
|
}
|
|
610
722
|
|
|
611
723
|
// A virtual row is a block, not a flex row (one line, so it can ellipsize),
|
|
@@ -614,26 +726,6 @@
|
|
|
614
726
|
vertical-align: middle;
|
|
615
727
|
margin-inline-end: var(--wr-option-inline-gap, 0.5rem);
|
|
616
728
|
}
|
|
617
|
-
|
|
618
|
-
// Keyboard cursor highlight — the virtualized list is navigated by
|
|
619
|
-
// aria-activedescendant, so real focus never lands on the row and the tint
|
|
620
|
-
// is all there was. `--wr-color-hover` is translucent and lands within about
|
|
621
|
-
// 1.1:1 of the panel behind it, which is the same grey to a reader who
|
|
622
|
-
// cannot separate hue — and it is the declaration `:hover` uses, so the row
|
|
623
|
-
// the arrows reached and a row under the mouse were indistinguishable. The
|
|
624
|
-
// bar is the channel; the tint stays as reinforcement.
|
|
625
|
-
.wr-option--active {
|
|
626
|
-
background: var(--wr-color-hover);
|
|
627
|
-
|
|
628
|
-
&::before {
|
|
629
|
-
content: '';
|
|
630
|
-
position: absolute;
|
|
631
|
-
inset-block: 0;
|
|
632
|
-
inset-inline-start: 0;
|
|
633
|
-
width: 2px;
|
|
634
|
-
background: var(--wr-color-primary);
|
|
635
|
-
}
|
|
636
|
-
}
|
|
637
729
|
}
|
|
638
730
|
|
|
639
731
|
.wr-option-group {
|
package/skills/ngwr/SKILL.md
CHANGED
|
@@ -5,7 +5,7 @@ description: Build Angular UIs with the ngwr component library (standalone, sign
|
|
|
5
5
|
|
|
6
6
|
# ngwr
|
|
7
7
|
|
|
8
|
-
An Angular 22 UI library:
|
|
8
|
+
An Angular 22 UI library: 242 tree-shakable entry points, 129 of them shipping a selector.
|
|
9
9
|
Standalone, signals-first, zoneless, `ViewEncapsulation.None`. No runtime
|
|
10
10
|
dependencies.
|
|
11
11
|
|
|
@@ -8,6 +8,7 @@ root barrel for components: the root `ngwr` exports only `provideWr()`.
|
|
|
8
8
|
| `ngwr` | `import { provideWr } from 'ngwr'` | — |
|
|
9
9
|
| `ngwr/affix` | `import { WrAffix } from 'ngwr/affix'` | `[wrAffix]` |
|
|
10
10
|
| `ngwr/alert` | `import { WrAlert } from 'ngwr/alert'` | `wr-alert` |
|
|
11
|
+
| `ngwr/alert/testing` | `import { WrAlertHarness } from 'ngwr/alert/testing'` | — |
|
|
11
12
|
| `ngwr/anchor` | `import { WrAnchor } from 'ngwr/anchor'` | `wr-anchor` |
|
|
12
13
|
| `ngwr/animations/aurora` | `import { WrAurora } from 'ngwr/animations/aurora'` | `wr-aurora` |
|
|
13
14
|
| `ngwr/animations/blur-reveal` | `import { WrBlurReveal } from 'ngwr/animations/blur-reveal'` | `[wrBlurReveal]` |
|
|
@@ -36,7 +37,9 @@ root barrel for components: the root `ngwr` exports only `provideWr()`.
|
|
|
36
37
|
| `ngwr/back-top` | `import { WrBackTop } from 'ngwr/back-top'` | `wr-back-top` |
|
|
37
38
|
| `ngwr/badge` | `import { WrBadge } from 'ngwr/badge'` | `wr-badge` `wr-tag` |
|
|
38
39
|
| `ngwr/breadcrumbs` | `import { WrBreadcrumbs } from 'ngwr/breadcrumbs'` | `wr-breadcrumbs-item` `wr-breadcrumbs` |
|
|
40
|
+
| `ngwr/breadcrumbs/testing` | `import { WrBreadcrumbsHarness } from 'ngwr/breadcrumbs/testing'` | — |
|
|
39
41
|
| `ngwr/burger` | `import { WrBurger } from 'ngwr/burger'` | `wr-burger` |
|
|
42
|
+
| `ngwr/burger/testing` | `import { WrBurgerHarness } from 'ngwr/burger/testing'` | — |
|
|
40
43
|
| `ngwr/button` | `import { WrButton } from 'ngwr/button'` | `wr-btn-group` `wr-btn` `button[wr-btn]` `a[wr-btn]` |
|
|
41
44
|
| `ngwr/button/testing` | `import { WrButtonHarness } from 'ngwr/button/testing'` | — |
|
|
42
45
|
| `ngwr/calendar` | `import { WrCalendar } from 'ngwr/calendar'` | `wr-calendar` |
|
|
@@ -92,6 +95,7 @@ root barrel for components: the root `ngwr` exports only `provideWr()`.
|
|
|
92
95
|
| `ngwr/comment` | `import { WrComment } from 'ngwr/comment'` | `wr-comment-composer` `wr-comment` |
|
|
93
96
|
| `ngwr/comment/testing` | `import { WrCommentComposerHarness } from 'ngwr/comment/testing'` | — |
|
|
94
97
|
| `ngwr/compare` | `import { WrCompare } from 'ngwr/compare'` | `wr-compare` |
|
|
98
|
+
| `ngwr/compare/testing` | `import { WrCompareHarness } from 'ngwr/compare/testing'` | — |
|
|
95
99
|
| `ngwr/context-menu` | `import { WrContextMenu } from 'ngwr/context-menu'` | `wr-context-menu-divider` `wr-context-menu-item` `wr-context-menu` `[wrContextMenu]` |
|
|
96
100
|
| `ngwr/context-menu/testing` | `import { WrContextMenuHarness } from 'ngwr/context-menu/testing'` | — |
|
|
97
101
|
| `ngwr/cookie` | `import { WrCookie } from 'ngwr/cookie'` | — |
|
|
@@ -183,20 +187,24 @@ root barrel for components: the root `ngwr` exports only `provideWr()`.
|
|
|
183
187
|
| `ngwr/popover/testing` | `import { WrPopoverHarness } from 'ngwr/popover/testing'` | — |
|
|
184
188
|
| `ngwr/progress` | `import { WrProgress } from 'ngwr/progress'` | `wr-progress` |
|
|
185
189
|
| `ngwr/pull-to-refresh` | `import { WrPullToRefresh } from 'ngwr/pull-to-refresh'` | `wr-pull-to-refresh` |
|
|
190
|
+
| `ngwr/pull-to-refresh/testing` | `import { WrPullToRefreshHarness } from 'ngwr/pull-to-refresh/testing'` | — |
|
|
186
191
|
| `ngwr/qr` | `import { WrQr } from 'ngwr/qr'` | `wr-qr` |
|
|
187
192
|
| `ngwr/radio` | `import { WrRadio } from 'ngwr/radio'` | `wr-radio-group` `wr-radio` |
|
|
188
193
|
| `ngwr/radio/testing` | `import { WrRadioGroupHarness } from 'ngwr/radio/testing'` | — |
|
|
189
194
|
| `ngwr/rating` | `import { WrRating } from 'ngwr/rating'` | `wr-rating` |
|
|
190
195
|
| `ngwr/rating/testing` | `import { WrRatingHarness } from 'ngwr/rating/testing'` | — |
|
|
191
196
|
| `ngwr/resizable` | `import { WrResizable } from 'ngwr/resizable'` | `[wrResizable]` |
|
|
197
|
+
| `ngwr/resizable/testing` | `import { WrResizableHarness } from 'ngwr/resizable/testing'` | — |
|
|
192
198
|
| `ngwr/result` | `import { WrResult } from 'ngwr/result'` | `wr-result-404` `wr-result-403` `wr-result-500` `wr-result` |
|
|
193
199
|
| `ngwr/schema-form` | `import { WrSchemaForm } from 'ngwr/schema-form'` | `wr-schema-form` |
|
|
200
|
+
| `ngwr/schema-form/testing` | `import { WrSchemaFormArrayHarness } from 'ngwr/schema-form/testing'` | — |
|
|
194
201
|
| `ngwr/scroll` | `import { WrScroll } from 'ngwr/scroll'` | — |
|
|
195
202
|
| `ngwr/segmented` | `import { WrSegmented } from 'ngwr/segmented'` | `wr-segmented` |
|
|
196
203
|
| `ngwr/segmented/testing` | `import { WrSegmentedHarness } from 'ngwr/segmented/testing'` | — |
|
|
197
204
|
| `ngwr/select` | `import { WrSelect } from 'ngwr/select'` | `ng-template[wrSelectLoadError]` `wr-option-group` `ng-template[wrOptionLeading]` `wr-option` `wr-select` |
|
|
198
205
|
| `ngwr/select/testing` | `import { WrOptionHarness } from 'ngwr/select/testing'` | — |
|
|
199
206
|
| `ngwr/sidebar` | `import { WrSidebar } from 'ngwr/sidebar'` | `wr-sidebar` |
|
|
207
|
+
| `ngwr/sidebar/testing` | `import { WrSidebarGroupHarness } from 'ngwr/sidebar/testing'` | — |
|
|
200
208
|
| `ngwr/skeleton` | `import { WrSkeleton } from 'ngwr/skeleton'` | `wr-skeleton` |
|
|
201
209
|
| `ngwr/slider` | `import { WrSlider } from 'ngwr/slider'` | `wr-slider` |
|
|
202
210
|
| `ngwr/slider/testing` | `import { WrSliderHarness } from 'ngwr/slider/testing'` | — |
|
|
@@ -213,7 +221,7 @@ root barrel for components: the root `ngwr` exports only `provideWr()`.
|
|
|
213
221
|
| `ngwr/storage` | `import { WrStorage } from 'ngwr/storage'` | — |
|
|
214
222
|
| `ngwr/switch` | `import { WrSwitch } from 'ngwr/switch'` | `wr-switch` |
|
|
215
223
|
| `ngwr/switch/testing` | `import { WrSwitchHarness } from 'ngwr/switch/testing'` | — |
|
|
216
|
-
| `ngwr/table` | `import { WrTable } from 'ngwr/table'` | `[wrTableCell]` `ng-template[wrTableExpand]` `wr-table-filter` `ng-template[wrTableGroupHeader]` `wr-table-sort` `wr-table` |
|
|
224
|
+
| `ngwr/table` | `import { WrTable } from 'ngwr/table'` | `[wrTableCell]` `[wrTableEditCell]` `ng-template[wrTableExpand]` `wr-table-filter` `ng-template[wrTableGroupHeader]` `ng-template[wrTableSelectionBar]` `wr-table-sort` `wr-table` |
|
|
217
225
|
| `ngwr/table/testing` | `import { WrTableCellHarness } from 'ngwr/table/testing'` | — |
|
|
218
226
|
| `ngwr/tabs` | `import { WrTabs } from 'ngwr/tabs'` | `wr-tab` `wr-tabs` |
|
|
219
227
|
| `ngwr/tabs/router` | `import { WrTabsRouting } from 'ngwr/tabs/router'` | `[wrTabsRouting]` |
|
|
@@ -31,6 +31,28 @@
|
|
|
31
31
|
font-family: var(--wr-slider-font-family);
|
|
32
32
|
padding: calc(var(--wr-slider-thumb-size) / 2) 0;
|
|
33
33
|
|
|
34
|
+
&--sm,
|
|
35
|
+
&:where([size='sm']) {
|
|
36
|
+
--wr-slider-thumb-size: 0.75rem;
|
|
37
|
+
--wr-slider-track-height: 0.125rem;
|
|
38
|
+
--wr-slider-mark-size: 0.375rem;
|
|
39
|
+
--wr-slider-label-font-size: var(--wr-text-xs);
|
|
40
|
+
--wr-slider-label-line-height: var(--wr-text-xs-leading);
|
|
41
|
+
// 11px: the scale stops at `xs`, which is what a mark's label reads at `md`.
|
|
42
|
+
--wr-slider-mark-label-font-size: 0.6875rem;
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
&--lg,
|
|
46
|
+
&:where([size='lg']) {
|
|
47
|
+
--wr-slider-thumb-size: 1.25rem;
|
|
48
|
+
--wr-slider-track-height: 0.375rem;
|
|
49
|
+
--wr-slider-mark-size: 0.625rem;
|
|
50
|
+
--wr-slider-label-font-size: var(--wr-text-base);
|
|
51
|
+
--wr-slider-label-line-height: var(--wr-text-base-leading);
|
|
52
|
+
--wr-slider-mark-label-font-size: var(--wr-text-sm);
|
|
53
|
+
--wr-slider-mark-label-line-height: var(--wr-text-sm-leading);
|
|
54
|
+
}
|
|
55
|
+
|
|
34
56
|
&__track {
|
|
35
57
|
position: relative;
|
|
36
58
|
height: var(--wr-slider-track-height);
|
package/table/styles/_index.scss
CHANGED
|
@@ -12,6 +12,7 @@
|
|
|
12
12
|
//
|
|
13
13
|
// Sass deduplicates `@use` within a compilation, so an app that also loads one of
|
|
14
14
|
// these by hand still emits it once.
|
|
15
|
+
@use '../../button/styles' as button-styles; // WrButton
|
|
15
16
|
@use '../../checkbox/styles' as checkbox-styles; // WrCheckbox
|
|
16
17
|
@use '../../dropdown/styles' as dropdown-styles; // WrDropdown
|
|
17
18
|
@use '../../pagination/styles' as pagination-styles; // WrPagination
|
|
@@ -58,9 +59,21 @@
|
|
|
58
59
|
--wr-table-expand-btn-padding: var(--wr-space-xs);
|
|
59
60
|
--wr-table-expand-btn-radius: var(--wr-border-radius-sm);
|
|
60
61
|
--wr-table-detail-padding: var(--wr-space-lg);
|
|
62
|
+
--wr-table-edit-padding: var(--wr-space-xs) var(--wr-space-sm);
|
|
61
63
|
--wr-table-foot-cell-font-weight: var(--wr-font-weight-semibold);
|
|
62
64
|
--wr-table-empty-padding: var(--wr-space-xl);
|
|
63
65
|
--wr-table-pager-padding: var(--wr-space-sm) var(--wr-space-md);
|
|
66
|
+
--wr-table-toolbar-padding: var(--wr-space-sm) var(--wr-space-md);
|
|
67
|
+
// The selection bar. `-height` is the header's, written inline once it is
|
|
68
|
+
// measured; `-inset` is the select-all column the bar leaves uncovered. It
|
|
69
|
+
// wears the header's own fill: the selected rows are already tinted.
|
|
70
|
+
--wr-table-selection-bar-bg: var(--wr-table-head-bg);
|
|
71
|
+
--wr-table-selection-bar-color: var(--wr-color-on-surface);
|
|
72
|
+
--wr-table-selection-bar-padding-x: var(--wr-space-md);
|
|
73
|
+
--wr-table-selection-bar-gap: var(--wr-space-md);
|
|
74
|
+
--wr-table-selection-bar-height: 2.5rem;
|
|
75
|
+
--wr-table-selection-bar-inset: 2.75rem;
|
|
76
|
+
--wr-table-selection-bar-font-weight: var(--wr-font-weight-medium);
|
|
64
77
|
--wr-table-loading-bar-height: 0.125rem;
|
|
65
78
|
--wr-table-loading-bar-color: var(--wr-color-primary);
|
|
66
79
|
--wr-table-loading-bar-track: color-mix(in srgb, var(--wr-color-primary) 20%, transparent);
|
|
@@ -435,8 +448,8 @@
|
|
|
435
448
|
//
|
|
436
449
|
// `box-shadow` has no logical form — its offset is always physical — while
|
|
437
450
|
// the cell it belongs to is anchored by `[style.inset-inline-start.px]` /
|
|
438
|
-
// `[style.inset-inline-end.px]` in table.html, written from
|
|
439
|
-
//
|
|
451
|
+
// `[style.inset-inline-end.px]` in table.html, written from the measured
|
|
452
|
+
// pin offsets. The shadow leans the way the offset pins, so the sign has to
|
|
440
453
|
// be set per direction by hand.
|
|
441
454
|
&__th--pin-edge-left,
|
|
442
455
|
&__td--pin-edge-left,
|
|
@@ -564,6 +577,27 @@
|
|
|
564
577
|
line-height: 1;
|
|
565
578
|
}
|
|
566
579
|
|
|
580
|
+
// --- Inline editing ------------------------------------------------------
|
|
581
|
+
// A data cell of an editable table takes focus (the grid's roving tab
|
|
582
|
+
// stop). Inset, for the reason the tree row's ring is.
|
|
583
|
+
&__td:focus-visible {
|
|
584
|
+
@include theme.focus-ring;
|
|
585
|
+
outline-offset: -2px;
|
|
586
|
+
}
|
|
587
|
+
|
|
588
|
+
// The editor fills the cell, so the row keeps its height while it edits.
|
|
589
|
+
&__table &__td--editing {
|
|
590
|
+
padding: var(--wr-table-edit-padding);
|
|
591
|
+
overflow: visible;
|
|
592
|
+
// The held column width is the editor's width: it never pushes the column.
|
|
593
|
+
min-width: 0;
|
|
594
|
+
|
|
595
|
+
> :only-child {
|
|
596
|
+
inline-size: 100%;
|
|
597
|
+
min-width: 0;
|
|
598
|
+
}
|
|
599
|
+
}
|
|
600
|
+
|
|
567
601
|
&__tr {
|
|
568
602
|
transition: background var(--wr-transition-base);
|
|
569
603
|
|
|
@@ -628,6 +662,92 @@
|
|
|
628
662
|
}
|
|
629
663
|
}
|
|
630
664
|
|
|
665
|
+
// The strip above the table that holds the column chooser's button.
|
|
666
|
+
&__toolbar {
|
|
667
|
+
display: flex;
|
|
668
|
+
justify-content: flex-end;
|
|
669
|
+
padding: var(--wr-table-toolbar-padding);
|
|
670
|
+
border-bottom: 1px solid var(--wr-table-border);
|
|
671
|
+
background: var(--wr-table-head-bg);
|
|
672
|
+
}
|
|
673
|
+
|
|
674
|
+
// The column chooser's panel. Its hooks are declared here rather than on
|
|
675
|
+
// `.wr-table`: the panel is a popover template, so it renders into the
|
|
676
|
+
// overlay container and inherits nothing from the table.
|
|
677
|
+
&__columns {
|
|
678
|
+
--wr-table-columns-padding: var(--wr-space-md);
|
|
679
|
+
--wr-table-columns-gap: var(--wr-space-sm);
|
|
680
|
+
--wr-table-columns-max-height: 20rem;
|
|
681
|
+
|
|
682
|
+
display: flex;
|
|
683
|
+
flex-direction: column;
|
|
684
|
+
gap: var(--wr-table-columns-gap);
|
|
685
|
+
min-width: 10rem;
|
|
686
|
+
max-height: var(--wr-table-columns-max-height);
|
|
687
|
+
padding: var(--wr-table-columns-padding);
|
|
688
|
+
overflow-y: auto;
|
|
689
|
+
}
|
|
690
|
+
|
|
691
|
+
// --- Selection bar --------------------------------------------------------
|
|
692
|
+
// In flow and of no height, right above the scroll area: its top edge is the
|
|
693
|
+
// header's in every mode, with or without the toolbar.
|
|
694
|
+
&__selection {
|
|
695
|
+
position: relative;
|
|
696
|
+
// Above the corner-sticky header cells (z-index 3).
|
|
697
|
+
z-index: 4;
|
|
698
|
+
flex: none;
|
|
699
|
+
height: 0;
|
|
700
|
+
}
|
|
701
|
+
|
|
702
|
+
&__selection-status {
|
|
703
|
+
position: absolute;
|
|
704
|
+
width: 1px;
|
|
705
|
+
height: 1px;
|
|
706
|
+
padding: 0;
|
|
707
|
+
margin: -1px;
|
|
708
|
+
overflow: hidden;
|
|
709
|
+
clip: rect(0, 0, 0, 0);
|
|
710
|
+
white-space: nowrap;
|
|
711
|
+
border: 0;
|
|
712
|
+
}
|
|
713
|
+
|
|
714
|
+
&__selection-bar {
|
|
715
|
+
position: absolute;
|
|
716
|
+
inset-block-start: 0;
|
|
717
|
+
inset-inline: 0;
|
|
718
|
+
display: flex;
|
|
719
|
+
align-items: center;
|
|
720
|
+
gap: var(--wr-table-selection-bar-gap);
|
|
721
|
+
box-sizing: border-box;
|
|
722
|
+
min-height: var(--wr-table-selection-bar-height);
|
|
723
|
+
padding-inline: var(--wr-table-selection-bar-padding-x);
|
|
724
|
+
border-bottom: 1px solid var(--wr-table-border);
|
|
725
|
+
// Opaque under the tint, so the header does not show through.
|
|
726
|
+
background-color: var(--wr-table-bg);
|
|
727
|
+
background-image: linear-gradient(var(--wr-table-selection-bar-bg), var(--wr-table-selection-bar-bg));
|
|
728
|
+
color: var(--wr-table-selection-bar-color);
|
|
729
|
+
font-size: var(--wr-table-font-size);
|
|
730
|
+
line-height: var(--wr-table-line-height);
|
|
731
|
+
|
|
732
|
+
&--inset {
|
|
733
|
+
inset-inline-start: var(--wr-table-selection-bar-inset);
|
|
734
|
+
}
|
|
735
|
+
}
|
|
736
|
+
|
|
737
|
+
&__selection-count {
|
|
738
|
+
font-weight: var(--wr-table-selection-bar-font-weight);
|
|
739
|
+
white-space: nowrap;
|
|
740
|
+
}
|
|
741
|
+
|
|
742
|
+
&__selection-actions {
|
|
743
|
+
display: flex;
|
|
744
|
+
flex: 1 1 auto;
|
|
745
|
+
align-items: center;
|
|
746
|
+
justify-content: flex-end;
|
|
747
|
+
gap: var(--wr-table-selection-bar-gap);
|
|
748
|
+
min-width: 0;
|
|
749
|
+
}
|
|
750
|
+
|
|
631
751
|
&__loading {
|
|
632
752
|
position: absolute;
|
|
633
753
|
inset: 0;
|
|
@@ -858,6 +978,25 @@
|
|
|
858
978
|
}
|
|
859
979
|
}
|
|
860
980
|
|
|
981
|
+
// While the selection bar shows. After the sticky-header block, whose header
|
|
982
|
+
// and loading layers these outrank.
|
|
983
|
+
.wr-table--selection-bar {
|
|
984
|
+
// The select-all cell stays in view beside the bar while the columns scroll
|
|
985
|
+
// under it, opaque and above the bar.
|
|
986
|
+
.wr-table__th--select {
|
|
987
|
+
position: sticky;
|
|
988
|
+
inset-inline-start: 0;
|
|
989
|
+
z-index: 5;
|
|
990
|
+
background-color: var(--wr-table-bg);
|
|
991
|
+
background-image: linear-gradient(var(--wr-table-head-bg), var(--wr-table-head-bg));
|
|
992
|
+
}
|
|
993
|
+
|
|
994
|
+
.wr-table__loading,
|
|
995
|
+
.wr-table__loading-bar {
|
|
996
|
+
z-index: 6;
|
|
997
|
+
}
|
|
998
|
+
}
|
|
999
|
+
|
|
861
1000
|
// `viewportHeight="fill"`: the table takes the height its parent has left, and
|
|
862
1001
|
// the rows scroll in what the pager leaves of it. A flex-column parent shrinks
|
|
863
1002
|
// the host; `max-height` does it under a block parent with a definite height.
|
|
@@ -873,7 +1012,8 @@
|
|
|
873
1012
|
max-height: none;
|
|
874
1013
|
}
|
|
875
1014
|
|
|
876
|
-
.wr-table__pager
|
|
1015
|
+
.wr-table__pager,
|
|
1016
|
+
.wr-table__toolbar {
|
|
877
1017
|
flex: none;
|
|
878
1018
|
}
|
|
879
1019
|
}
|
|
@@ -910,6 +1050,17 @@
|
|
|
910
1050
|
display: block;
|
|
911
1051
|
}
|
|
912
1052
|
|
|
1053
|
+
// No header to lie over: the bar takes its own strip above the cards.
|
|
1054
|
+
.wr-table--responsive .wr-table__selection {
|
|
1055
|
+
height: auto;
|
|
1056
|
+
}
|
|
1057
|
+
|
|
1058
|
+
.wr-table--responsive .wr-table__selection-bar {
|
|
1059
|
+
position: static;
|
|
1060
|
+
flex-wrap: wrap;
|
|
1061
|
+
padding-block: var(--wr-space-sm);
|
|
1062
|
+
}
|
|
1063
|
+
|
|
913
1064
|
.wr-table--responsive .wr-table__table thead {
|
|
914
1065
|
display: none;
|
|
915
1066
|
}
|
|
@@ -1280,6 +1431,19 @@
|
|
|
1280
1431
|
transition: none;
|
|
1281
1432
|
}
|
|
1282
1433
|
|
|
1434
|
+
// The cursor of a column drag. The CDK preview takes no pointer events, so the
|
|
1435
|
+
// cursor comes from a class on `<html>` for the length of the drag, set by the
|
|
1436
|
+
// table; `!important` because every control under the pointer has its own.
|
|
1437
|
+
html.wr-table-dragging--allowed,
|
|
1438
|
+
html.wr-table-dragging--allowed * {
|
|
1439
|
+
cursor: grabbing !important;
|
|
1440
|
+
}
|
|
1441
|
+
|
|
1442
|
+
html.wr-table-dragging--blocked,
|
|
1443
|
+
html.wr-table-dragging--blocked * {
|
|
1444
|
+
cursor: not-allowed !important;
|
|
1445
|
+
}
|
|
1446
|
+
|
|
1283
1447
|
// The settle animation after a drop. Same element as the rule above — CDK adds
|
|
1284
1448
|
// `cdk-drag-animating` to the preview while it flies back to the drop slot — so
|
|
1285
1449
|
// it must come after it to beat that `transition: none` at equal specificity.
|
|
@@ -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 '../../spinner/styles' as spinner-styles; // WrSpinner
|
|
2
5
|
@include theme.loaded('textarea');
|
|
3
6
|
|
|
4
7
|
.wr-textarea {
|
|
@@ -19,6 +22,9 @@
|
|
|
19
22
|
--wr-textarea-font-family: var(--wr-font-family-base);
|
|
20
23
|
--wr-textarea-font-size: var(--wr-text-sm);
|
|
21
24
|
--wr-textarea-line-height: var(--wr-control-line-height-md);
|
|
25
|
+
--wr-textarea-clear-radius: var(--wr-border-radius-pill);
|
|
26
|
+
// The box the × and the spinner each take, and the room the text leaves for it.
|
|
27
|
+
--_action-size: 1.125rem;
|
|
22
28
|
|
|
23
29
|
background: var(--wr-textarea-bg);
|
|
24
30
|
color: var(--wr-textarea-color);
|
|
@@ -73,6 +79,28 @@
|
|
|
73
79
|
--wr-textarea-line-height: var(--wr-control-line-height-lg);
|
|
74
80
|
}
|
|
75
81
|
|
|
82
|
+
// The pill token on a box several lines tall is a stadium whose curve runs
|
|
83
|
+
// through the first and last lines of text, and it grows with `autosize`. So
|
|
84
|
+
// the radius stops at half the height of a one-row field: one row is a pill
|
|
85
|
+
// like the inputs beside it, and more rows keep that corner. After the sizes,
|
|
86
|
+
// so it wins at each of them.
|
|
87
|
+
&--rounded,
|
|
88
|
+
&:where([rounded]:not([rounded='false'])) {
|
|
89
|
+
--wr-textarea-radius: min(
|
|
90
|
+
var(--wr-border-radius-pill),
|
|
91
|
+
calc(var(--wr-textarea-line-height) / 2 + var(--wr-textarea-padding-y) * var(--wr-density-y, 1) + 1px)
|
|
92
|
+
);
|
|
93
|
+
--wr-textarea-padding-x: var(--wr-control-padding-x-lg);
|
|
94
|
+
corner-shape: round; // override squircle from smooth-br for pills
|
|
95
|
+
}
|
|
96
|
+
|
|
97
|
+
// 0.3 of the radius is where a square's corner meets the arc.
|
|
98
|
+
&--rounded &__resize,
|
|
99
|
+
&:where([rounded]:not([rounded='false'])) &__resize {
|
|
100
|
+
inset-inline-end: calc(var(--wr-textarea-radius) * 0.3);
|
|
101
|
+
bottom: calc(var(--wr-textarea-radius) * 0.3);
|
|
102
|
+
}
|
|
103
|
+
|
|
76
104
|
&--no-resize &__native {
|
|
77
105
|
resize: none;
|
|
78
106
|
}
|
|
@@ -105,6 +133,58 @@
|
|
|
105
133
|
|
|
106
134
|
// Corner resize grip — icon (move-vertical / -horizontal / -diagonal-2) and
|
|
107
135
|
// cursor follow the `resize` direction.
|
|
136
|
+
// The text stops short of the × and the spinner, whether or not they are on
|
|
137
|
+
// show, so it does not rewrap as they come and go.
|
|
138
|
+
&--clearable &__native,
|
|
139
|
+
&--loading &__native {
|
|
140
|
+
padding-inline-end: calc(
|
|
141
|
+
var(--wr-textarea-padding-x) * var(--wr-density-x, 1) + var(--_action-size) + var(--wr-space-xs)
|
|
142
|
+
);
|
|
143
|
+
}
|
|
144
|
+
|
|
145
|
+
&--clearable#{&}--loading &__native {
|
|
146
|
+
padding-inline-end: calc(
|
|
147
|
+
var(--wr-textarea-padding-x) * var(--wr-density-x, 1) + (var(--_action-size) + var(--wr-space-xs)) * 2
|
|
148
|
+
);
|
|
149
|
+
}
|
|
150
|
+
|
|
151
|
+
// The clear (×) and the spinner, in the corner the first line ends at.
|
|
152
|
+
&__actions {
|
|
153
|
+
position: absolute;
|
|
154
|
+
top: calc(var(--wr-textarea-padding-y) * var(--wr-density-y, 1));
|
|
155
|
+
inset-inline-end: calc(var(--wr-textarea-padding-x) * var(--wr-density-x, 1));
|
|
156
|
+
display: inline-flex;
|
|
157
|
+
align-items: center;
|
|
158
|
+
gap: var(--wr-space-xs);
|
|
159
|
+
// One line of the field's own text tall, so both centre on the first line.
|
|
160
|
+
height: var(--wr-textarea-line-height);
|
|
161
|
+
color: var(--wr-color-on-surface-muted);
|
|
162
|
+
font-size: var(--wr-textarea-font-size);
|
|
163
|
+
}
|
|
164
|
+
|
|
165
|
+
// The select's ×.
|
|
166
|
+
&__clear {
|
|
167
|
+
display: inline-flex;
|
|
168
|
+
align-items: center;
|
|
169
|
+
justify-content: center;
|
|
170
|
+
width: var(--_action-size);
|
|
171
|
+
height: var(--_action-size);
|
|
172
|
+
border-radius: var(--wr-textarea-clear-radius);
|
|
173
|
+
cursor: pointer;
|
|
174
|
+
transition:
|
|
175
|
+
background 0.12s ease,
|
|
176
|
+
color 0.12s ease;
|
|
177
|
+
|
|
178
|
+
&:hover {
|
|
179
|
+
background: color-mix(in srgb, var(--wr-color-on-surface) 6%, transparent);
|
|
180
|
+
color: var(--wr-color-on-surface);
|
|
181
|
+
}
|
|
182
|
+
}
|
|
183
|
+
|
|
184
|
+
&__spinner {
|
|
185
|
+
flex: 0 0 auto;
|
|
186
|
+
}
|
|
187
|
+
|
|
108
188
|
&__resize {
|
|
109
189
|
position: absolute;
|
|
110
190
|
// Logical now, and the drag maths moved with it: `onResize` reads
|
package/theme/styles/_focus.scss
CHANGED
|
@@ -198,6 +198,11 @@
|
|
|
198
198
|
@include focus-ring;
|
|
199
199
|
}
|
|
200
200
|
|
|
201
|
+
// Tag remove
|
|
202
|
+
.wr-tag__remove:focus-visible {
|
|
203
|
+
@include focus-ring;
|
|
204
|
+
}
|
|
205
|
+
|
|
201
206
|
// Graph viewport — the scroller is the graph's one tab stop, so a keyboard user
|
|
202
207
|
// scrolling it needs to see where focus is. Safe as an OUTSET ring: the outline
|
|
203
208
|
// sits outside the scroller's own box, and `.wr-graph` sets no `overflow`.
|