ngwr 16.2.0 → 16.4.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/carousel/styles/_index.scss +53 -1
- 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-testing.mjs +24 -1
- package/fesm2022/ngwr-carousel-testing.mjs.map +1 -1
- package/fesm2022/ngwr-carousel.mjs +73 -10
- package/fesm2022/ngwr-carousel.mjs.map +1 -1
- package/fesm2022/ngwr-cascader.mjs +45 -37
- 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 +28 -13
- 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 +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 +70 -99
- 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 +279 -16
- 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 +30 -0
- package/fesm2022/ngwr-graph-testing.mjs.map +1 -1
- package/fesm2022/ngwr-graph.mjs +664 -43
- package/fesm2022/ngwr-graph.mjs.map +1 -1
- package/fesm2022/ngwr-hotkey.mjs +6 -6
- package/fesm2022/ngwr-i18n-ar.mjs +27 -8
- package/fesm2022/ngwr-i18n-ar.mjs.map +1 -1
- package/fesm2022/ngwr-i18n-cs.mjs +27 -8
- package/fesm2022/ngwr-i18n-cs.mjs.map +1 -1
- package/fesm2022/ngwr-i18n-de.mjs +27 -8
- package/fesm2022/ngwr-i18n-de.mjs.map +1 -1
- package/fesm2022/ngwr-i18n-en.mjs +27 -8
- package/fesm2022/ngwr-i18n-en.mjs.map +1 -1
- package/fesm2022/ngwr-i18n-es.mjs +27 -8
- package/fesm2022/ngwr-i18n-es.mjs.map +1 -1
- package/fesm2022/ngwr-i18n-fr.mjs +27 -8
- package/fesm2022/ngwr-i18n-fr.mjs.map +1 -1
- package/fesm2022/ngwr-i18n-he.mjs +27 -8
- package/fesm2022/ngwr-i18n-he.mjs.map +1 -1
- package/fesm2022/ngwr-i18n-hi.mjs +27 -8
- package/fesm2022/ngwr-i18n-hi.mjs.map +1 -1
- package/fesm2022/ngwr-i18n-id.mjs +27 -8
- package/fesm2022/ngwr-i18n-id.mjs.map +1 -1
- package/fesm2022/ngwr-i18n-it.mjs +27 -8
- package/fesm2022/ngwr-i18n-it.mjs.map +1 -1
- package/fesm2022/ngwr-i18n-ja.mjs +27 -8
- package/fesm2022/ngwr-i18n-ja.mjs.map +1 -1
- package/fesm2022/ngwr-i18n-ko.mjs +27 -8
- package/fesm2022/ngwr-i18n-ko.mjs.map +1 -1
- package/fesm2022/ngwr-i18n-nl.mjs +27 -8
- package/fesm2022/ngwr-i18n-nl.mjs.map +1 -1
- package/fesm2022/ngwr-i18n-pl.mjs +27 -8
- package/fesm2022/ngwr-i18n-pl.mjs.map +1 -1
- package/fesm2022/ngwr-i18n-pt.mjs +27 -8
- package/fesm2022/ngwr-i18n-pt.mjs.map +1 -1
- package/fesm2022/ngwr-i18n-ru.mjs +27 -8
- package/fesm2022/ngwr-i18n-ru.mjs.map +1 -1
- package/fesm2022/ngwr-i18n-sv.mjs +27 -8
- package/fesm2022/ngwr-i18n-sv.mjs.map +1 -1
- package/fesm2022/ngwr-i18n-tr.mjs +27 -8
- package/fesm2022/ngwr-i18n-tr.mjs.map +1 -1
- package/fesm2022/ngwr-i18n-uk.mjs +27 -8
- package/fesm2022/ngwr-i18n-uk.mjs.map +1 -1
- package/fesm2022/ngwr-i18n-vi.mjs +27 -8
- package/fesm2022/ngwr-i18n-vi.mjs.map +1 -1
- package/fesm2022/ngwr-i18n-zh-tw.mjs +27 -8
- package/fesm2022/ngwr-i18n-zh-tw.mjs.map +1 -1
- package/fesm2022/ngwr-i18n-zh.mjs +27 -8
- 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 +6 -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 +416 -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 +361 -84
- 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 +157 -3
- package/fesm2022/ngwr-table-testing.mjs.map +1 -1
- package/fesm2022/ngwr-table.mjs +1051 -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-testing.mjs +13 -1
- package/fesm2022/ngwr-tour-testing.mjs.map +1 -1
- package/fesm2022/ngwr-tour.mjs +19 -15
- package/fesm2022/ngwr-tour.mjs.map +1 -1
- 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 +978 -79
- 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 +97 -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/graph/styles/_index.scss +87 -0
- package/i18n/ar.json +29 -8
- package/i18n/cs.json +29 -8
- package/i18n/de.json +29 -8
- package/i18n/en.json +29 -8
- package/i18n/es.json +29 -8
- package/i18n/fr.json +29 -8
- package/i18n/he.json +29 -8
- package/i18n/hi.json +29 -8
- package/i18n/id.json +29 -8
- package/i18n/it.json +29 -8
- package/i18n/ja.json +29 -8
- package/i18n/ko.json +29 -8
- package/i18n/nl.json +29 -8
- package/i18n/pl.json +29 -8
- package/i18n/pt.json +29 -8
- package/i18n/ru.json +29 -8
- package/i18n/sv.json +29 -8
- package/i18n/tr.json +29 -8
- package/i18n/uk.json +29 -8
- package/i18n/vi.json +29 -8
- package/i18n/zh-TW.json +29 -8
- package/i18n/zh.json +29 -8
- package/input/styles/_index.scss +68 -1
- package/input-otp/styles/_index.scss +14 -0
- package/llms-full.txt +53 -21
- package/llms.txt +57 -24
- 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/collection.json +5 -0
- package/schematics/eject/index.js +158 -0
- package/schematics/eject/schema.js +8 -0
- package/schematics/eject/schema.json +24 -0
- package/schematics/eject/source.js +295 -0
- package/schematics/use/rule.js +2 -0
- package/schematics/use/symbol-map.json +5 -0
- package/select/styles/_index.scss +127 -22
- package/skills/ngwr/SKILL.md +31 -4
- package/skills/ngwr/references/catalog.md +9 -1
- package/slider/styles/_index.scss +22 -0
- package/table/styles/_index.scss +191 -3
- package/textarea/styles/_index.scss +80 -0
- package/theme/styles/_focus.scss +16 -1
- 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-carousel-testing.d.ts +27 -6
- package/types/ngwr-carousel.d.ts +42 -6
- package/types/ngwr-cascader.d.ts +13 -6
- 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-context-menu.d.ts +2 -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 +26 -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 +156 -3
- package/types/ngwr-form.d.ts +47 -3
- package/types/ngwr-graph-testing.d.ts +36 -3
- package/types/ngwr-graph.d.ts +309 -13
- 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 +149 -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 +122 -7
- package/types/ngwr-table.d.ts +572 -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-tour-testing.d.ts +10 -0
- package/types/ngwr-tour.d.ts +11 -2
- 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 +335 -12
- package/types/ngwr-utils.d.ts +107 -1
- package/types/ngwr-version.d.ts +1 -1
- package/types/ngwr-window.d.ts +7 -4
|
@@ -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.
|
|
@@ -1296,3 +1460,27 @@
|
|
|
1296
1460
|
transform: translateX(250%);
|
|
1297
1461
|
}
|
|
1298
1462
|
}
|
|
1463
|
+
|
|
1464
|
+
// --- Column chooser ---------------------------------------------------------
|
|
1465
|
+
// The column list, in the built-in panel or in a menu of the consumer's own.
|
|
1466
|
+
// Its hooks are declared on itself: wherever it is placed, it inherits nothing
|
|
1467
|
+
// from the table.
|
|
1468
|
+
.wr-table-column-chooser {
|
|
1469
|
+
--wr-table-column-chooser-gap: var(--wr-space-sm);
|
|
1470
|
+
--wr-table-column-chooser-divider: var(--wr-border-base);
|
|
1471
|
+
|
|
1472
|
+
display: flex;
|
|
1473
|
+
flex-direction: column;
|
|
1474
|
+
gap: var(--wr-table-column-chooser-gap);
|
|
1475
|
+
|
|
1476
|
+
// "Show all" stands apart from the columns it acts on.
|
|
1477
|
+
&__all {
|
|
1478
|
+
padding-block-end: var(--wr-table-column-chooser-gap);
|
|
1479
|
+
border-block-end: 1px solid var(--wr-table-column-chooser-divider);
|
|
1480
|
+
}
|
|
1481
|
+
}
|
|
1482
|
+
|
|
1483
|
+
// The built-in panel keeps the gap it had before the list was a component.
|
|
1484
|
+
.wr-table__columns > .wr-table-column-chooser {
|
|
1485
|
+
--wr-table-column-chooser-gap: var(--wr-table-columns-gap);
|
|
1486
|
+
}
|
|
@@ -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
|
@@ -156,8 +156,9 @@
|
|
|
156
156
|
@include focus-ring;
|
|
157
157
|
}
|
|
158
158
|
|
|
159
|
-
// Carousel nav + dots
|
|
159
|
+
// Carousel nav, pause button + dots
|
|
160
160
|
.wr-carousel__nav:focus-visible,
|
|
161
|
+
.wr-carousel__toggle:focus-visible,
|
|
161
162
|
.wr-carousel__dot:focus-visible {
|
|
162
163
|
@include focus-ring;
|
|
163
164
|
}
|
|
@@ -198,6 +199,11 @@
|
|
|
198
199
|
@include focus-ring;
|
|
199
200
|
}
|
|
200
201
|
|
|
202
|
+
// Tag remove
|
|
203
|
+
.wr-tag__remove:focus-visible {
|
|
204
|
+
@include focus-ring;
|
|
205
|
+
}
|
|
206
|
+
|
|
201
207
|
// Graph viewport — the scroller is the graph's one tab stop, so a keyboard user
|
|
202
208
|
// scrolling it needs to see where focus is. Safe as an OUTSET ring: the outline
|
|
203
209
|
// sits outside the scroller's own box, and `.wr-graph` sets no `overflow`.
|
|
@@ -270,3 +276,12 @@
|
|
|
270
276
|
position: relative;
|
|
271
277
|
z-index: 1;
|
|
272
278
|
}
|
|
279
|
+
|
|
280
|
+
// Graph — the viewport is the graph's one tab stop, the element a keyboard
|
|
281
|
+
// scrolls, or zooms and pans when the graph is `zoomable`. Its own `overflow`
|
|
282
|
+
// does not clip its outline, so the ring stays outset. The zoom buttons beside
|
|
283
|
+
// it are bare `<button>`s.
|
|
284
|
+
.wr-graph__viewport:focus-visible,
|
|
285
|
+
.wr-graph__control:focus-visible {
|
|
286
|
+
@include focus-ring;
|
|
287
|
+
}
|
|
@@ -166,6 +166,90 @@
|
|
|
166
166
|
transform: scaleX(-1);
|
|
167
167
|
}
|
|
168
168
|
|
|
169
|
+
// Sizes. The pane's two dimensions and the gap are the host's own hooks, the
|
|
170
|
+
// rest live on the parts. A row keeps its 24px pitch at `sm`: the checkbox in
|
|
171
|
+
// it is a 16px target, and any tighter the rows fail the 24px spacing rule.
|
|
172
|
+
&--sm,
|
|
173
|
+
&:where([size='sm']) {
|
|
174
|
+
--wr-transfer-pane-width: 12rem;
|
|
175
|
+
--wr-transfer-pane-height: 12rem;
|
|
176
|
+
--wr-transfer-gap: var(--wr-space-sm);
|
|
177
|
+
}
|
|
178
|
+
|
|
179
|
+
&--sm &__head,
|
|
180
|
+
&:where([size='sm']) &__head {
|
|
181
|
+
--wr-transfer-head-padding-y: var(--wr-space-xs);
|
|
182
|
+
--wr-transfer-head-padding-x: var(--wr-space-sm);
|
|
183
|
+
}
|
|
184
|
+
|
|
185
|
+
&--sm &__title,
|
|
186
|
+
&:where([size='sm']) &__title {
|
|
187
|
+
--wr-transfer-title-font-size: var(--wr-text-xs);
|
|
188
|
+
}
|
|
189
|
+
|
|
190
|
+
&--sm &__search,
|
|
191
|
+
&:where([size='sm']) &__search {
|
|
192
|
+
--wr-transfer-search-padding-y: var(--wr-space-xs);
|
|
193
|
+
--wr-transfer-search-padding-x: var(--wr-space-sm);
|
|
194
|
+
}
|
|
195
|
+
|
|
196
|
+
&--sm &__item,
|
|
197
|
+
&:where([size='sm']) &__item {
|
|
198
|
+
--wr-transfer-item-padding-x: var(--wr-space-xs);
|
|
199
|
+
}
|
|
200
|
+
|
|
201
|
+
&--sm &__empty,
|
|
202
|
+
&:where([size='sm']) &__empty {
|
|
203
|
+
--wr-transfer-empty-padding-y: var(--wr-space-md);
|
|
204
|
+
--wr-transfer-empty-font-size: var(--wr-text-xs);
|
|
205
|
+
}
|
|
206
|
+
|
|
207
|
+
&--lg,
|
|
208
|
+
&:where([size='lg']) {
|
|
209
|
+
--wr-transfer-pane-width: 16rem;
|
|
210
|
+
--wr-transfer-pane-height: 18rem;
|
|
211
|
+
--wr-transfer-gap: var(--wr-space-lg);
|
|
212
|
+
}
|
|
213
|
+
|
|
214
|
+
&--lg &__head,
|
|
215
|
+
&:where([size='lg']) &__head {
|
|
216
|
+
--wr-transfer-head-padding-y: var(--wr-space-md);
|
|
217
|
+
--wr-transfer-head-padding-x: var(--wr-space-lg);
|
|
218
|
+
}
|
|
219
|
+
|
|
220
|
+
&--lg &__title,
|
|
221
|
+
&:where([size='lg']) &__title {
|
|
222
|
+
--wr-transfer-title-font-size: var(--wr-text-base);
|
|
223
|
+
}
|
|
224
|
+
|
|
225
|
+
&--lg &__count,
|
|
226
|
+
&:where([size='lg']) &__count {
|
|
227
|
+
--wr-transfer-count-font-size: var(--wr-text-sm);
|
|
228
|
+
}
|
|
229
|
+
|
|
230
|
+
&--lg &__search,
|
|
231
|
+
&:where([size='lg']) &__search {
|
|
232
|
+
--wr-transfer-search-padding-y: var(--wr-space-md);
|
|
233
|
+
--wr-transfer-search-padding-x: var(--wr-space-lg);
|
|
234
|
+
}
|
|
235
|
+
|
|
236
|
+
&--lg &__list,
|
|
237
|
+
&:where([size='lg']) &__list {
|
|
238
|
+
--wr-transfer-list-padding: var(--wr-space-sm);
|
|
239
|
+
}
|
|
240
|
+
|
|
241
|
+
&--lg &__item,
|
|
242
|
+
&:where([size='lg']) &__item {
|
|
243
|
+
--wr-transfer-item-padding-y: var(--wr-space-sm);
|
|
244
|
+
--wr-transfer-item-padding-x: var(--wr-space-md);
|
|
245
|
+
}
|
|
246
|
+
|
|
247
|
+
&--lg &__empty,
|
|
248
|
+
&:where([size='lg']) &__empty {
|
|
249
|
+
--wr-transfer-empty-padding-y: var(--wr-space-xl);
|
|
250
|
+
--wr-transfer-empty-font-size: var(--wr-text-base);
|
|
251
|
+
}
|
|
252
|
+
|
|
169
253
|
// No container query here on purpose: `@container` only styles DESCENDANTS, so
|
|
170
254
|
// a rule that reflows `.wr-transfer` itself could never match its own query.
|
|
171
255
|
// Doing it properly means the house `responsive` opt-in modifier (a wrapper
|