ngwr 14.3.1 → 14.5.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +4 -4
- package/avatar/styles/_index.scss +4 -2
- package/badge/styles/_index.scss +4 -1
- package/badge/styles/_tag.scss +3 -0
- package/cascader/styles/_rules.scss +3 -0
- package/command-palette/styles/_index.scss +23 -0
- package/context-menu/styles/_index.scss +13 -1
- package/fesm2022/ngwr-action-sheet.mjs +3 -3
- package/fesm2022/ngwr-affix.mjs +17 -4
- package/fesm2022/ngwr-affix.mjs.map +1 -1
- package/fesm2022/ngwr-alert.mjs +4 -4
- package/fesm2022/ngwr-alert.mjs.map +1 -1
- package/fesm2022/ngwr-anchor.mjs +3 -3
- package/fesm2022/ngwr-aurora.mjs +3 -3
- package/fesm2022/ngwr-avatar.mjs +3 -3
- package/fesm2022/ngwr-back-top.mjs +3 -3
- package/fesm2022/ngwr-badge.mjs +6 -6
- package/fesm2022/ngwr-bar-chart-testing.mjs +18 -2
- package/fesm2022/ngwr-bar-chart-testing.mjs.map +1 -1
- package/fesm2022/ngwr-bar-chart.mjs +3 -3
- package/fesm2022/ngwr-blur-text.mjs +3 -3
- package/fesm2022/ngwr-border-glow.mjs +3 -3
- package/fesm2022/ngwr-breadcrumbs.mjs +7 -7
- package/fesm2022/ngwr-breadcrumbs.mjs.map +1 -1
- package/fesm2022/ngwr-burger.mjs +3 -3
- package/fesm2022/ngwr-button.mjs +6 -6
- package/fesm2022/ngwr-calendar-heatmap-testing.mjs +12 -9
- package/fesm2022/ngwr-calendar-heatmap-testing.mjs.map +1 -1
- package/fesm2022/ngwr-calendar-heatmap.mjs +35 -7
- package/fesm2022/ngwr-calendar-heatmap.mjs.map +1 -1
- package/fesm2022/ngwr-calendar.mjs +32 -4
- 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-testing.mjs +87 -17
- package/fesm2022/ngwr-cascader-testing.mjs.map +1 -1
- package/fesm2022/ngwr-cascader.mjs +76 -5
- package/fesm2022/ngwr-cascader.mjs.map +1 -1
- package/fesm2022/ngwr-checkbox-testing.mjs +13 -2
- package/fesm2022/ngwr-checkbox-testing.mjs.map +1 -1
- package/fesm2022/ngwr-checkbox.mjs +42 -7
- package/fesm2022/ngwr-checkbox.mjs.map +1 -1
- package/fesm2022/ngwr-circular-text.mjs +3 -3
- package/fesm2022/ngwr-click-spark.mjs +3 -3
- package/fesm2022/ngwr-clipboard.mjs +3 -3
- package/fesm2022/ngwr-collapse.mjs +9 -9
- package/fesm2022/ngwr-color-picker.mjs +24 -8
- package/fesm2022/ngwr-color-picker.mjs.map +1 -1
- package/fesm2022/ngwr-command-palette.mjs +16 -3
- package/fesm2022/ngwr-command-palette.mjs.map +1 -1
- package/fesm2022/ngwr-compare.mjs +3 -3
- package/fesm2022/ngwr-confetti.mjs +3 -3
- package/fesm2022/ngwr-context-menu.mjs +47 -15
- package/fesm2022/ngwr-context-menu.mjs.map +1 -1
- package/fesm2022/ngwr-cookie.mjs +3 -3
- package/fesm2022/ngwr-counter.mjs +6 -6
- package/fesm2022/ngwr-date-adapters-fns.mjs +3 -3
- package/fesm2022/ngwr-date-adapters-luxon.mjs +3 -3
- package/fesm2022/ngwr-date-picker.mjs +111 -28
- package/fesm2022/ngwr-date-picker.mjs.map +1 -1
- package/fesm2022/ngwr-date.mjs +3 -3
- package/fesm2022/ngwr-decrypt-text.mjs +3 -3
- package/fesm2022/ngwr-density.mjs +6 -6
- package/fesm2022/ngwr-descriptions.mjs +6 -6
- package/fesm2022/ngwr-dialog.mjs +27 -16
- package/fesm2022/ngwr-dialog.mjs.map +1 -1
- package/fesm2022/ngwr-directives.mjs +12 -12
- package/fesm2022/ngwr-divider.mjs +3 -3
- package/fesm2022/ngwr-donut-chart-testing.mjs +18 -2
- package/fesm2022/ngwr-donut-chart-testing.mjs.map +1 -1
- package/fesm2022/ngwr-donut-chart.mjs +4 -4
- package/fesm2022/ngwr-donut-chart.mjs.map +1 -1
- package/fesm2022/ngwr-drag-drop.mjs +7 -7
- package/fesm2022/ngwr-drag-drop.mjs.map +1 -1
- package/fesm2022/ngwr-drawer.mjs +66 -20
- package/fesm2022/ngwr-drawer.mjs.map +1 -1
- package/fesm2022/ngwr-dropdown.mjs +54 -16
- package/fesm2022/ngwr-dropdown.mjs.map +1 -1
- package/fesm2022/ngwr-empty.mjs +3 -3
- package/fesm2022/ngwr-event-calendar.mjs +6 -6
- package/fesm2022/ngwr-falling-text.mjs +3 -3
- package/fesm2022/ngwr-file-upload.mjs +18 -5
- package/fesm2022/ngwr-file-upload.mjs.map +1 -1
- package/fesm2022/ngwr-form.mjs +66 -14
- package/fesm2022/ngwr-form.mjs.map +1 -1
- package/fesm2022/ngwr-fuzzy-text.mjs +3 -3
- package/fesm2022/ngwr-gauge-testing.mjs +16 -2
- package/fesm2022/ngwr-gauge-testing.mjs.map +1 -1
- package/fesm2022/ngwr-gauge.mjs +3 -3
- package/fesm2022/ngwr-glitch-text.mjs +3 -3
- package/fesm2022/ngwr-gradient-text.mjs +3 -3
- package/fesm2022/ngwr-graph-testing.mjs +243 -0
- package/fesm2022/ngwr-graph-testing.mjs.map +1 -0
- package/fesm2022/ngwr-graph.mjs +1112 -0
- package/fesm2022/ngwr-graph.mjs.map +1 -0
- package/fesm2022/ngwr-hotkey.mjs +6 -6
- package/fesm2022/ngwr-i18n-ar.mjs +7 -0
- package/fesm2022/ngwr-i18n-ar.mjs.map +1 -1
- package/fesm2022/ngwr-i18n-cs.mjs +7 -0
- package/fesm2022/ngwr-i18n-cs.mjs.map +1 -1
- package/fesm2022/ngwr-i18n-de.mjs +7 -0
- package/fesm2022/ngwr-i18n-de.mjs.map +1 -1
- package/fesm2022/ngwr-i18n-en.mjs +23 -2
- package/fesm2022/ngwr-i18n-en.mjs.map +1 -1
- package/fesm2022/ngwr-i18n-es.mjs +7 -0
- package/fesm2022/ngwr-i18n-es.mjs.map +1 -1
- package/fesm2022/ngwr-i18n-fr.mjs +7 -0
- package/fesm2022/ngwr-i18n-fr.mjs.map +1 -1
- package/fesm2022/ngwr-i18n-he.mjs +7 -0
- package/fesm2022/ngwr-i18n-he.mjs.map +1 -1
- package/fesm2022/ngwr-i18n-hi.mjs +7 -0
- package/fesm2022/ngwr-i18n-hi.mjs.map +1 -1
- package/fesm2022/ngwr-i18n-id.mjs +7 -0
- package/fesm2022/ngwr-i18n-id.mjs.map +1 -1
- package/fesm2022/ngwr-i18n-it.mjs +7 -0
- package/fesm2022/ngwr-i18n-it.mjs.map +1 -1
- package/fesm2022/ngwr-i18n-ja.mjs +7 -0
- package/fesm2022/ngwr-i18n-ja.mjs.map +1 -1
- package/fesm2022/ngwr-i18n-ko.mjs +7 -0
- package/fesm2022/ngwr-i18n-ko.mjs.map +1 -1
- package/fesm2022/ngwr-i18n-nl.mjs +7 -0
- package/fesm2022/ngwr-i18n-nl.mjs.map +1 -1
- package/fesm2022/ngwr-i18n-pl.mjs +7 -0
- package/fesm2022/ngwr-i18n-pl.mjs.map +1 -1
- package/fesm2022/ngwr-i18n-pt.mjs +7 -0
- package/fesm2022/ngwr-i18n-pt.mjs.map +1 -1
- package/fesm2022/ngwr-i18n-ru.mjs +7 -0
- package/fesm2022/ngwr-i18n-ru.mjs.map +1 -1
- package/fesm2022/ngwr-i18n-sv.mjs +7 -0
- package/fesm2022/ngwr-i18n-sv.mjs.map +1 -1
- package/fesm2022/ngwr-i18n-tr.mjs +7 -0
- package/fesm2022/ngwr-i18n-tr.mjs.map +1 -1
- package/fesm2022/ngwr-i18n-uk.mjs +7 -0
- package/fesm2022/ngwr-i18n-uk.mjs.map +1 -1
- package/fesm2022/ngwr-i18n-vi.mjs +7 -0
- package/fesm2022/ngwr-i18n-vi.mjs.map +1 -1
- package/fesm2022/ngwr-i18n-zh-TW.mjs +7 -0
- package/fesm2022/ngwr-i18n-zh-TW.mjs.map +1 -1
- package/fesm2022/ngwr-i18n-zh.mjs +7 -0
- 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.mjs +15 -6
- package/fesm2022/ngwr-input-number.mjs.map +1 -1
- package/fesm2022/ngwr-input-otp.mjs +38 -6
- package/fesm2022/ngwr-input-otp.mjs.map +1 -1
- package/fesm2022/ngwr-input.mjs +15 -15
- package/fesm2022/ngwr-keyboard.mjs +3 -3
- package/fesm2022/ngwr-knob-testing.mjs +11 -3
- package/fesm2022/ngwr-knob-testing.mjs.map +1 -1
- package/fesm2022/ngwr-knob.mjs +19 -4
- package/fesm2022/ngwr-knob.mjs.map +1 -1
- package/fesm2022/ngwr-layout.mjs +15 -15
- package/fesm2022/ngwr-lightbox.mjs +27 -6
- package/fesm2022/ngwr-lightbox.mjs.map +1 -1
- package/fesm2022/ngwr-line-chart-testing.mjs +18 -2
- package/fesm2022/ngwr-line-chart-testing.mjs.map +1 -1
- package/fesm2022/ngwr-line-chart.mjs +22 -4
- package/fesm2022/ngwr-line-chart.mjs.map +1 -1
- package/fesm2022/ngwr-list.mjs +7 -7
- package/fesm2022/ngwr-list.mjs.map +1 -1
- package/fesm2022/ngwr-loading-bar.mjs +6 -6
- package/fesm2022/ngwr-markdown.mjs +6 -6
- package/fesm2022/ngwr-marquee.mjs +3 -3
- package/fesm2022/ngwr-media.mjs +3 -3
- package/fesm2022/ngwr-mention.mjs +24 -8
- package/fesm2022/ngwr-mention.mjs.map +1 -1
- package/fesm2022/ngwr-meta.mjs +6 -6
- package/fesm2022/ngwr-meter-group.mjs +3 -3
- package/fesm2022/ngwr-overlay.mjs +125 -10
- package/fesm2022/ngwr-overlay.mjs.map +1 -1
- package/fesm2022/ngwr-page-header.mjs +3 -3
- package/fesm2022/ngwr-pagination.mjs +33 -6
- package/fesm2022/ngwr-pagination.mjs.map +1 -1
- package/fesm2022/ngwr-pipes.mjs +21 -21
- package/fesm2022/ngwr-platform.mjs +9 -9
- package/fesm2022/ngwr-popconfirm.mjs +25 -9
- package/fesm2022/ngwr-popconfirm.mjs.map +1 -1
- package/fesm2022/ngwr-popover-testing.mjs +22 -5
- package/fesm2022/ngwr-popover-testing.mjs.map +1 -1
- package/fesm2022/ngwr-popover.mjs +243 -37
- package/fesm2022/ngwr-popover.mjs.map +1 -1
- package/fesm2022/ngwr-progress.mjs +3 -3
- 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-testing.mjs +12 -3
- package/fesm2022/ngwr-rating-testing.mjs.map +1 -1
- package/fesm2022/ngwr-rating.mjs +19 -4
- package/fesm2022/ngwr-rating.mjs.map +1 -1
- package/fesm2022/ngwr-result.mjs +13 -13
- package/fesm2022/ngwr-result.mjs.map +1 -1
- package/fesm2022/ngwr-rotating-text.mjs +3 -3
- package/fesm2022/ngwr-schema-form.mjs +3 -3
- package/fesm2022/ngwr-scroll.mjs +3 -3
- package/fesm2022/ngwr-segmented.mjs +37 -4
- package/fesm2022/ngwr-segmented.mjs.map +1 -1
- package/fesm2022/ngwr-select.mjs +24 -10
- package/fesm2022/ngwr-select.mjs.map +1 -1
- package/fesm2022/ngwr-shiny-text.mjs +6 -6
- package/fesm2022/ngwr-sidebar.mjs +3 -3
- package/fesm2022/ngwr-skeleton.mjs +3 -3
- package/fesm2022/ngwr-slider.mjs +18 -5
- package/fesm2022/ngwr-slider.mjs.map +1 -1
- package/fesm2022/ngwr-sparkline.mjs +3 -3
- package/fesm2022/ngwr-speed-dial.mjs +3 -3
- package/fesm2022/ngwr-spinner.mjs +3 -3
- package/fesm2022/ngwr-splash-cursor.mjs +3 -3
- package/fesm2022/ngwr-split-text.mjs +3 -3
- package/fesm2022/ngwr-splitter.mjs +3 -3
- package/fesm2022/ngwr-spotlight-card.mjs +6 -6
- package/fesm2022/ngwr-squircle.mjs +28 -9
- package/fesm2022/ngwr-squircle.mjs.map +1 -1
- package/fesm2022/ngwr-star-border.mjs +3 -3
- package/fesm2022/ngwr-statistic.mjs +20 -13
- package/fesm2022/ngwr-statistic.mjs.map +1 -1
- package/fesm2022/ngwr-stepper.mjs +6 -6
- package/fesm2022/ngwr-storage.mjs +3 -3
- package/fesm2022/ngwr-switch.mjs +3 -3
- package/fesm2022/ngwr-table.mjs +18 -18
- package/fesm2022/ngwr-tabs-router.mjs +3 -3
- package/fesm2022/ngwr-tabs.mjs +6 -6
- package/fesm2022/ngwr-textarea.mjs +3 -3
- package/fesm2022/ngwr-theme.mjs +3 -3
- package/fesm2022/ngwr-tilt-card.mjs +6 -6
- package/fesm2022/ngwr-timeline.mjs +6 -6
- package/fesm2022/ngwr-toast.mjs +29 -12
- package/fesm2022/ngwr-toast.mjs.map +1 -1
- package/fesm2022/ngwr-toolbar.mjs +3 -3
- package/fesm2022/ngwr-tour.mjs +26 -12
- package/fesm2022/ngwr-tour.mjs.map +1 -1
- package/fesm2022/ngwr-transfer.mjs +88 -11
- package/fesm2022/ngwr-transfer.mjs.map +1 -1
- package/fesm2022/ngwr-tree-testing.mjs +24 -0
- package/fesm2022/ngwr-tree-testing.mjs.map +1 -1
- package/fesm2022/ngwr-tree.mjs +81 -9
- package/fesm2022/ngwr-tree.mjs.map +1 -1
- package/fesm2022/ngwr-typewriter.mjs +3 -3
- package/fesm2022/ngwr-typography.mjs +3 -3
- 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-waves.mjs +3 -3
- package/fesm2022/ngwr-window.mjs +30 -13
- package/fesm2022/ngwr-window.mjs.map +1 -1
- package/form/styles/_index.scss +63 -0
- package/graph/styles/_index.scss +113 -0
- package/i18n/ar.json +9 -2
- package/i18n/cs.json +9 -2
- package/i18n/de.json +9 -2
- package/i18n/en.json +11 -4
- package/i18n/es.json +9 -2
- package/i18n/fr.json +9 -2
- package/i18n/he.json +9 -2
- package/i18n/hi.json +9 -2
- package/i18n/id.json +9 -2
- package/i18n/it.json +9 -2
- package/i18n/ja.json +9 -2
- package/i18n/ko.json +9 -2
- package/i18n/nl.json +9 -2
- package/i18n/pl.json +9 -2
- package/i18n/pt.json +9 -2
- package/i18n/ru.json +9 -2
- package/i18n/sv.json +9 -2
- package/i18n/tr.json +9 -2
- package/i18n/uk.json +9 -2
- package/i18n/vi.json +9 -2
- package/i18n/zh-TW.json +9 -2
- package/i18n/zh.json +9 -2
- package/input-otp/styles/_index.scss +5 -1
- package/line-chart/styles/_index.scss +5 -3
- package/llms-full.txt +13 -3
- package/llms.txt +8 -6
- package/markdown/styles/_index.scss +4 -1
- package/mention/styles/_index.scss +22 -1
- package/package.json +10 -1
- package/radio/styles/_index.scss +3 -0
- package/result/styles/_index.scss +12 -0
- package/schematics/migrations/v14/index.js +6 -3
- package/schematics/migrations.json +1 -1
- package/schematics/ng-add/index.js +34 -5
- package/schematics/use/symbol-map.json +2 -0
- package/segmented/styles/_index.scss +12 -1
- package/select/styles/_index.scss +20 -1
- package/skills/ngwr/SKILL.md +1 -1
- package/skills/ngwr/references/catalog.md +2 -0
- package/statistic/styles/_index.scss +4 -0
- package/stepper/styles/_index.scss +36 -0
- package/styles.scss +1 -0
- package/switch/styles/_index.scss +3 -0
- package/table/styles/_index.scss +12 -0
- package/tabs/styles/_index.scss +4 -1
- package/textarea/styles/_index.scss +6 -1
- package/theme/styles/_colors.scss +11 -0
- package/theme/styles/_contrast.scss +136 -0
- package/theme/styles/_focus.scss +7 -0
- package/theme/styles/_index.scss +1 -0
- package/theme/styles/_mixins.scss +15 -8
- package/timeline/styles/_index.scss +28 -1
- package/toast/styles/_index.scss +11 -0
- package/tree/styles/_index.scss +27 -1
- package/types/ngwr-badge.d.ts +1 -1
- package/types/ngwr-bar-chart-testing.d.ts +11 -1
- package/types/ngwr-button.d.ts +1 -1
- package/types/ngwr-calendar-heatmap-testing.d.ts +10 -5
- package/types/ngwr-calendar-heatmap.d.ts +22 -0
- package/types/ngwr-calendar.d.ts +21 -0
- package/types/ngwr-cascader-testing.d.ts +74 -17
- package/types/ngwr-cascader.d.ts +35 -0
- package/types/ngwr-checkbox-testing.d.ts +12 -1
- package/types/ngwr-checkbox.d.ts +10 -0
- package/types/ngwr-clipboard.d.ts +1 -1
- package/types/ngwr-color-picker.d.ts +8 -0
- package/types/ngwr-confetti.d.ts +1 -1
- package/types/ngwr-context-menu.d.ts +10 -0
- package/types/ngwr-cookie.d.ts +1 -1
- package/types/ngwr-date-adapters-fns.d.ts +1 -1
- package/types/ngwr-date-adapters-luxon.d.ts +1 -1
- package/types/ngwr-date-picker.d.ts +16 -0
- package/types/ngwr-date.d.ts +9 -3
- package/types/ngwr-density.d.ts +1 -1
- package/types/ngwr-dialog.d.ts +2 -1
- package/types/ngwr-donut-chart-testing.d.ts +11 -1
- package/types/ngwr-drawer.d.ts +29 -1
- package/types/ngwr-dropdown.d.ts +25 -0
- package/types/ngwr-file-upload.d.ts +11 -0
- package/types/ngwr-form.d.ts +25 -0
- package/types/ngwr-gauge-testing.d.ts +9 -1
- package/types/ngwr-graph-testing.d.ts +190 -0
- package/types/ngwr-graph.d.ts +203 -0
- package/types/ngwr-hotkey.d.ts +1 -1
- package/types/ngwr-i18n.d.ts +1 -1
- package/types/ngwr-input-number.d.ts +12 -2
- package/types/ngwr-input-otp.d.ts +12 -0
- package/types/ngwr-knob-testing.d.ts +11 -3
- package/types/ngwr-knob.d.ts +13 -0
- package/types/ngwr-lightbox.d.ts +15 -0
- package/types/ngwr-line-chart-testing.d.ts +11 -1
- package/types/ngwr-line-chart.d.ts +18 -0
- package/types/ngwr-loading-bar.d.ts +1 -1
- package/types/ngwr-markdown.d.ts +1 -1
- package/types/ngwr-media.d.ts +1 -1
- package/types/ngwr-mention.d.ts +7 -0
- package/types/ngwr-meta.d.ts +1 -1
- package/types/ngwr-overlay.d.ts +64 -6
- package/types/ngwr-pagination.d.ts +16 -0
- package/types/ngwr-platform.d.ts +3 -3
- package/types/ngwr-popconfirm.d.ts +1 -0
- package/types/ngwr-popover-testing.d.ts +22 -5
- package/types/ngwr-popover.d.ts +44 -8
- package/types/ngwr-rating-testing.d.ts +12 -3
- package/types/ngwr-rating.d.ts +13 -0
- package/types/ngwr-scroll.d.ts +1 -1
- package/types/ngwr-segmented.d.ts +16 -0
- package/types/ngwr-select.d.ts +7 -0
- package/types/ngwr-squircle.d.ts +22 -3
- package/types/ngwr-statistic.d.ts +0 -1
- package/types/ngwr-storage.d.ts +1 -1
- package/types/ngwr-theme.d.ts +1 -1
- package/types/ngwr-toast.d.ts +3 -1
- package/types/ngwr-tour.d.ts +7 -1
- package/types/ngwr-transfer.d.ts +52 -0
- package/types/ngwr-tree-testing.d.ts +20 -0
- package/types/ngwr-tree.d.ts +43 -1
- package/types/ngwr-version.d.ts +1 -1
- package/types/ngwr-window.d.ts +2 -1
- package/typography/styles/_index.scss +26 -4
package/i18n/pt.json
CHANGED
|
@@ -85,7 +85,8 @@
|
|
|
85
85
|
"selectAll": "Selecionar tudo",
|
|
86
86
|
"toTarget": "Mover para selecionados",
|
|
87
87
|
"toSource": "Mover para disponíveis",
|
|
88
|
-
"count": "{{checked}} / {{total}}"
|
|
88
|
+
"count": "{{checked}} / {{total}}",
|
|
89
|
+
"selectAllAria": "{{pane}} — {{action}}"
|
|
89
90
|
},
|
|
90
91
|
"form": {
|
|
91
92
|
"optional": "opcional"
|
|
@@ -235,7 +236,8 @@
|
|
|
235
236
|
"channelAlpha": "A%"
|
|
236
237
|
},
|
|
237
238
|
"calendarHeatmap": {
|
|
238
|
-
"label": "Mapa de calor do calendário"
|
|
239
|
+
"label": "Mapa de calor do calendário",
|
|
240
|
+
"cell": "{{date}}: {{count}}"
|
|
239
241
|
},
|
|
240
242
|
"lineChart": {
|
|
241
243
|
"label": "Gráfico de linhas",
|
|
@@ -344,6 +346,11 @@
|
|
|
344
346
|
"gauge": {
|
|
345
347
|
"label": "Indicador"
|
|
346
348
|
},
|
|
349
|
+
"graph": {
|
|
350
|
+
"label": "Grafo",
|
|
351
|
+
"parents": "Pais: {{names}}.",
|
|
352
|
+
"children": "Filhos: {{names}}."
|
|
353
|
+
},
|
|
347
354
|
"progress": {
|
|
348
355
|
"label": "Progresso"
|
|
349
356
|
},
|
package/i18n/ru.json
CHANGED
|
@@ -85,7 +85,8 @@
|
|
|
85
85
|
"selectAll": "Выбрать все",
|
|
86
86
|
"toTarget": "Перенести в выбранные",
|
|
87
87
|
"toSource": "Вернуть в доступные",
|
|
88
|
-
"count": "{{checked}} / {{total}}"
|
|
88
|
+
"count": "{{checked}} / {{total}}",
|
|
89
|
+
"selectAllAria": "{{pane}} — {{action}}"
|
|
89
90
|
},
|
|
90
91
|
"form": {
|
|
91
92
|
"optional": "необязательно"
|
|
@@ -235,7 +236,8 @@
|
|
|
235
236
|
"channelAlpha": "A%"
|
|
236
237
|
},
|
|
237
238
|
"calendarHeatmap": {
|
|
238
|
-
"label": "Календарная тепловая карта"
|
|
239
|
+
"label": "Календарная тепловая карта",
|
|
240
|
+
"cell": "{{date}}: {{count}}"
|
|
239
241
|
},
|
|
240
242
|
"lineChart": {
|
|
241
243
|
"label": "Линейный график",
|
|
@@ -344,6 +346,11 @@
|
|
|
344
346
|
"gauge": {
|
|
345
347
|
"label": "Индикатор"
|
|
346
348
|
},
|
|
349
|
+
"graph": {
|
|
350
|
+
"label": "Граф",
|
|
351
|
+
"parents": "Родители: {{names}}.",
|
|
352
|
+
"children": "Дети: {{names}}."
|
|
353
|
+
},
|
|
347
354
|
"progress": {
|
|
348
355
|
"label": "Прогресс"
|
|
349
356
|
},
|
package/i18n/sv.json
CHANGED
|
@@ -85,7 +85,8 @@
|
|
|
85
85
|
"selectAll": "Markera alla",
|
|
86
86
|
"toTarget": "Flytta till valda",
|
|
87
87
|
"toSource": "Flytta till tillgängliga",
|
|
88
|
-
"count": "{{checked}} / {{total}}"
|
|
88
|
+
"count": "{{checked}} / {{total}}",
|
|
89
|
+
"selectAllAria": "{{pane}} — {{action}}"
|
|
89
90
|
},
|
|
90
91
|
"form": {
|
|
91
92
|
"optional": "valfritt"
|
|
@@ -235,7 +236,8 @@
|
|
|
235
236
|
"channelAlpha": "A%"
|
|
236
237
|
},
|
|
237
238
|
"calendarHeatmap": {
|
|
238
|
-
"label": "Kalendervärmekarta"
|
|
239
|
+
"label": "Kalendervärmekarta",
|
|
240
|
+
"cell": "{{date}}: {{count}}"
|
|
239
241
|
},
|
|
240
242
|
"lineChart": {
|
|
241
243
|
"label": "Linjediagram",
|
|
@@ -344,6 +346,11 @@
|
|
|
344
346
|
"gauge": {
|
|
345
347
|
"label": "Mätare"
|
|
346
348
|
},
|
|
349
|
+
"graph": {
|
|
350
|
+
"label": "Graf",
|
|
351
|
+
"parents": "Föräldrar: {{names}}.",
|
|
352
|
+
"children": "Barn: {{names}}."
|
|
353
|
+
},
|
|
347
354
|
"progress": {
|
|
348
355
|
"label": "Förlopp"
|
|
349
356
|
},
|
package/i18n/tr.json
CHANGED
|
@@ -85,7 +85,8 @@
|
|
|
85
85
|
"selectAll": "Tümünü seç",
|
|
86
86
|
"toTarget": "Seçilenlere taşı",
|
|
87
87
|
"toSource": "Kullanılabilirlere taşı",
|
|
88
|
-
"count": "{{checked}} / {{total}}"
|
|
88
|
+
"count": "{{checked}} / {{total}}",
|
|
89
|
+
"selectAllAria": "{{pane}} — {{action}}"
|
|
89
90
|
},
|
|
90
91
|
"form": {
|
|
91
92
|
"optional": "isteğe bağlı"
|
|
@@ -235,7 +236,8 @@
|
|
|
235
236
|
"channelAlpha": "A%"
|
|
236
237
|
},
|
|
237
238
|
"calendarHeatmap": {
|
|
238
|
-
"label": "Takvim ısı haritası"
|
|
239
|
+
"label": "Takvim ısı haritası",
|
|
240
|
+
"cell": "{{date}}: {{count}}"
|
|
239
241
|
},
|
|
240
242
|
"lineChart": {
|
|
241
243
|
"label": "Çizgi grafiği",
|
|
@@ -344,6 +346,11 @@
|
|
|
344
346
|
"gauge": {
|
|
345
347
|
"label": "Gösterge"
|
|
346
348
|
},
|
|
349
|
+
"graph": {
|
|
350
|
+
"label": "Çizge",
|
|
351
|
+
"parents": "Üst öğeler: {{names}}.",
|
|
352
|
+
"children": "Alt öğeler: {{names}}."
|
|
353
|
+
},
|
|
347
354
|
"progress": {
|
|
348
355
|
"label": "İlerleme"
|
|
349
356
|
},
|
package/i18n/uk.json
CHANGED
|
@@ -85,7 +85,8 @@
|
|
|
85
85
|
"selectAll": "Вибрати всі",
|
|
86
86
|
"toTarget": "Перенести до вибраних",
|
|
87
87
|
"toSource": "Повернути до доступних",
|
|
88
|
-
"count": "{{checked}} / {{total}}"
|
|
88
|
+
"count": "{{checked}} / {{total}}",
|
|
89
|
+
"selectAllAria": "{{pane}} — {{action}}"
|
|
89
90
|
},
|
|
90
91
|
"form": {
|
|
91
92
|
"optional": "необов’язково"
|
|
@@ -235,7 +236,8 @@
|
|
|
235
236
|
"channelAlpha": "A%"
|
|
236
237
|
},
|
|
237
238
|
"calendarHeatmap": {
|
|
238
|
-
"label": "Календарна теплова карта"
|
|
239
|
+
"label": "Календарна теплова карта",
|
|
240
|
+
"cell": "{{date}}: {{count}}"
|
|
239
241
|
},
|
|
240
242
|
"lineChart": {
|
|
241
243
|
"label": "Лінійний графік",
|
|
@@ -344,6 +346,11 @@
|
|
|
344
346
|
"gauge": {
|
|
345
347
|
"label": "Індикатор"
|
|
346
348
|
},
|
|
349
|
+
"graph": {
|
|
350
|
+
"label": "Граф",
|
|
351
|
+
"parents": "Батьки: {{names}}.",
|
|
352
|
+
"children": "Діти: {{names}}."
|
|
353
|
+
},
|
|
347
354
|
"progress": {
|
|
348
355
|
"label": "Хід виконання"
|
|
349
356
|
},
|
package/i18n/vi.json
CHANGED
|
@@ -85,7 +85,8 @@
|
|
|
85
85
|
"selectAll": "Chọn tất cả",
|
|
86
86
|
"toTarget": "Chuyển sang danh sách đã chọn",
|
|
87
87
|
"toSource": "Chuyển về danh sách có sẵn",
|
|
88
|
-
"count": "{{checked}} / {{total}}"
|
|
88
|
+
"count": "{{checked}} / {{total}}",
|
|
89
|
+
"selectAllAria": "{{pane}} — {{action}}"
|
|
89
90
|
},
|
|
90
91
|
"form": {
|
|
91
92
|
"optional": "tùy chọn"
|
|
@@ -235,7 +236,8 @@
|
|
|
235
236
|
"channelAlpha": "A%"
|
|
236
237
|
},
|
|
237
238
|
"calendarHeatmap": {
|
|
238
|
-
"label": "Bản đồ nhiệt theo lịch"
|
|
239
|
+
"label": "Bản đồ nhiệt theo lịch",
|
|
240
|
+
"cell": "{{date}}: {{count}}"
|
|
239
241
|
},
|
|
240
242
|
"lineChart": {
|
|
241
243
|
"label": "Biểu đồ đường",
|
|
@@ -344,6 +346,11 @@
|
|
|
344
346
|
"gauge": {
|
|
345
347
|
"label": "Đồng hồ đo"
|
|
346
348
|
},
|
|
349
|
+
"graph": {
|
|
350
|
+
"label": "Đồ thị",
|
|
351
|
+
"parents": "Nút cha: {{names}}.",
|
|
352
|
+
"children": "Nút con: {{names}}."
|
|
353
|
+
},
|
|
347
354
|
"progress": {
|
|
348
355
|
"label": "Tiến trình"
|
|
349
356
|
},
|
package/i18n/zh-TW.json
CHANGED
|
@@ -85,7 +85,8 @@
|
|
|
85
85
|
"selectAll": "全選",
|
|
86
86
|
"toTarget": "移至已選項目",
|
|
87
87
|
"toSource": "移回可選項目",
|
|
88
|
-
"count": "{{checked}} / {{total}}"
|
|
88
|
+
"count": "{{checked}} / {{total}}",
|
|
89
|
+
"selectAllAria": "{{pane}} — {{action}}"
|
|
89
90
|
},
|
|
90
91
|
"form": {
|
|
91
92
|
"optional": "選填"
|
|
@@ -235,7 +236,8 @@
|
|
|
235
236
|
"channelAlpha": "A%"
|
|
236
237
|
},
|
|
237
238
|
"calendarHeatmap": {
|
|
238
|
-
"label": "行事曆熱圖"
|
|
239
|
+
"label": "行事曆熱圖",
|
|
240
|
+
"cell": "{{date}}: {{count}}"
|
|
239
241
|
},
|
|
240
242
|
"lineChart": {
|
|
241
243
|
"label": "折線圖",
|
|
@@ -344,6 +346,11 @@
|
|
|
344
346
|
"gauge": {
|
|
345
347
|
"label": "儀表"
|
|
346
348
|
},
|
|
349
|
+
"graph": {
|
|
350
|
+
"label": "圖",
|
|
351
|
+
"parents": "父節點:{{names}}。",
|
|
352
|
+
"children": "子節點:{{names}}。"
|
|
353
|
+
},
|
|
347
354
|
"progress": {
|
|
348
355
|
"label": "進度"
|
|
349
356
|
},
|
package/i18n/zh.json
CHANGED
|
@@ -85,7 +85,8 @@
|
|
|
85
85
|
"selectAll": "全选",
|
|
86
86
|
"toTarget": "移至已选",
|
|
87
87
|
"toSource": "移回待选",
|
|
88
|
-
"count": "{{checked}} / {{total}}"
|
|
88
|
+
"count": "{{checked}} / {{total}}",
|
|
89
|
+
"selectAllAria": "{{pane}} — {{action}}"
|
|
89
90
|
},
|
|
90
91
|
"form": {
|
|
91
92
|
"optional": "选填"
|
|
@@ -235,7 +236,8 @@
|
|
|
235
236
|
"channelAlpha": "A%"
|
|
236
237
|
},
|
|
237
238
|
"calendarHeatmap": {
|
|
238
|
-
"label": "日历热力图"
|
|
239
|
+
"label": "日历热力图",
|
|
240
|
+
"cell": "{{date}}: {{count}}"
|
|
239
241
|
},
|
|
240
242
|
"lineChart": {
|
|
241
243
|
"label": "折线图",
|
|
@@ -344,6 +346,11 @@
|
|
|
344
346
|
"gauge": {
|
|
345
347
|
"label": "仪表盘"
|
|
346
348
|
},
|
|
349
|
+
"graph": {
|
|
350
|
+
"label": "图",
|
|
351
|
+
"parents": "父节点:{{names}}。",
|
|
352
|
+
"children": "子节点:{{names}}。"
|
|
353
|
+
},
|
|
347
354
|
"progress": {
|
|
348
355
|
"label": "进度"
|
|
349
356
|
},
|
|
@@ -41,7 +41,11 @@
|
|
|
41
41
|
box-shadow var(--wr-transition-base);
|
|
42
42
|
|
|
43
43
|
&::placeholder {
|
|
44
|
-
|
|
44
|
+
// Placeholder text is TEXT — 1.4.3 asks 4.5:1, and the faint tier gave it
|
|
45
|
+
// 2.43:1 in light. `--wr-color-text-muted` is the softest tier that still
|
|
46
|
+
// clears the bar, at 4.81:1, which is exactly what `_colors.scss` says it
|
|
47
|
+
// was calibrated for.
|
|
48
|
+
color: var(--wr-color-text-muted);
|
|
45
49
|
}
|
|
46
50
|
|
|
47
51
|
&:focus {
|
|
@@ -21,10 +21,12 @@
|
|
|
21
21
|
font-size: var(--wr-text-xs);
|
|
22
22
|
}
|
|
23
23
|
|
|
24
|
+
// A short line rather than a dot, because it now carries the series' dash
|
|
25
|
+
// pattern and a 10px circle cannot show one.
|
|
24
26
|
&__swatch {
|
|
25
|
-
width:
|
|
26
|
-
height: 0.
|
|
27
|
-
|
|
27
|
+
width: 1rem;
|
|
28
|
+
height: 0.125rem;
|
|
29
|
+
overflow: visible;
|
|
28
30
|
flex: 0 0 auto;
|
|
29
31
|
}
|
|
30
32
|
|
package/llms-full.txt
CHANGED
|
@@ -441,6 +441,16 @@
|
|
|
441
441
|
- import: `import { WrGradientTextHarness } from 'ngwr/gradient-text/testing'`
|
|
442
442
|
- exports: WrGradientTextHarness, WrGradientTextHarnessFilters
|
|
443
443
|
|
|
444
|
+
## ngwr/graph
|
|
445
|
+
- import: `import { WrGraph } from 'ngwr/graph'`
|
|
446
|
+
- selector: `ng-template[wrGraphNode]`, `wr-graph`
|
|
447
|
+
- exports: WrGraph, WrGraphNodeTemplate, WrGraphEdge, WrGraphNode, WrGraphNodeContext
|
|
448
|
+
- Draws any graph of blocks joined parent to child — a node can have several parents as well as several children. The layout runs in layers from top to bottom without measuring anything, so a prerendered page ships the finished picture. Display only: the graph scrolls inside its own viewport, and nothing in it is selectable.
|
|
449
|
+
|
|
450
|
+
## ngwr/graph/testing
|
|
451
|
+
- import: `import { WrGraphHarness } from 'ngwr/graph/testing'`
|
|
452
|
+
- exports: WrGraphHarness, WrGraphNodeHarness, WrGraphHarnessFilters, WrGraphNodeHarnessFilters
|
|
453
|
+
|
|
444
454
|
## ngwr/hotkey
|
|
445
455
|
- import: `import { WrHotkey } from 'ngwr/hotkey'`
|
|
446
456
|
- selector: `[wrHotkey]`
|
|
@@ -706,7 +716,7 @@
|
|
|
706
716
|
|
|
707
717
|
## ngwr/overlay
|
|
708
718
|
- import: `import { WrOutsideClick } from 'ngwr/overlay'`
|
|
709
|
-
- exports: wrAppendOverlayClose, wrMirrorOffsets, WrOutsideClick, WrOverlayContainer, provideWrOverlay, provideWrResponsiveOverlays, WR_OVERLAY, WR_OVERLAY_CONTAINER, WR_RESPONSIVE_OVERLAYS, wrPresentAsSheet, WrResponsiveOverlaysConfig
|
|
719
|
+
- exports: wrAppendOverlayClose, wrFollowDirection, wrMirrorOffsets, WrOutsideClick, WrOverlayContainer, provideWrOverlay, provideWrResponsiveOverlays, WR_OVERLAY, WR_OVERLAY_CONTAINER, WR_RESPONSIVE_OVERLAYS, wrPresentAsSheet, WrResponsiveOverlaysConfig
|
|
710
720
|
|
|
711
721
|
## ngwr/page-header
|
|
712
722
|
- import: `import { WrPageHeader } from 'ngwr/page-header'`
|
|
@@ -747,7 +757,7 @@
|
|
|
747
757
|
- import: `import { WrPopover } from 'ngwr/popover'`
|
|
748
758
|
- selector: `[wrPopover]`
|
|
749
759
|
- exports: WrPopover, WrPopoverPosition
|
|
750
|
-
- Anchored content panel. Project a template (popover) or pass a plain string (tooltip — use `mode="tooltip"`). Click
|
|
760
|
+
- Anchored content panel. Project a template (popover) or pass a plain string (tooltip — use `mode="tooltip"`). Click or hover to open; a tooltip also answers a keyboard focus. Built on CDK Overlay.
|
|
751
761
|
|
|
752
762
|
## ngwr/popover/testing
|
|
753
763
|
- import: `import { WrPopoverHarness } from 'ngwr/popover/testing'`
|
|
@@ -940,7 +950,7 @@
|
|
|
940
950
|
- import: `import { WrSquircle } from 'ngwr/squircle'`
|
|
941
951
|
- selector: `wr-squircle`, `[wrSquircle]`
|
|
942
952
|
- exports: squirclePath, WrSquircleCorners, WrSquircle, WrSquircleCornerMask, WrSquircleHost
|
|
943
|
-
- Figma-style smooth-corner rectangle
|
|
953
|
+
- Figma-style smooth-corner rectangle, clipped with a superellipse path and re-computed on resize. **Deprecated** — the native `corner-shape` route, which 31 entry points already ride through the `smooth-br` SCSS mixin, is the one to use. This entry point exists because that property was Chromium-only, and it will be removed in the major after Safari stable ships it. Until then it is still the only deterministic squircle, so it is deprecated rather than gone.
|
|
944
954
|
|
|
945
955
|
## ngwr/star-border
|
|
946
956
|
- import: `import { WrStarBorder } from 'ngwr/star-border'`
|
package/llms.txt
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
# ngwr
|
|
2
2
|
|
|
3
3
|
> Angular UI library — standalone, signals-first, zoneless, fully tree-shakable.
|
|
4
|
-
>
|
|
4
|
+
> 227 secondary entry points, 177 component and directive classes, built on
|
|
5
5
|
> `@angular/cdk` primitives. The only runtime dependency is `tslib`. Docs and
|
|
6
6
|
> live demos: https://ngwr.dev — source: https://github.com/thekhegay/ngwr
|
|
7
7
|
|
|
@@ -169,7 +169,9 @@ before writing your own. Full catalog: https://ngwr.dev/reference/components.
|
|
|
169
169
|
- **Data** — `wr-table` (column pin/resize/drag-reorder, row selection,
|
|
170
170
|
expandable rows, grouping, tree rows (`childrenKey`), summary rows,
|
|
171
171
|
CSV export, virtualized body),
|
|
172
|
-
`wr-pagination`, `wr-tree`, `wr-
|
|
172
|
+
`wr-pagination`, `wr-tree`, `wr-graph` (read-only layered diagram: `nodes`
|
|
173
|
+
plus `{ from, to }` parent-to-child `edges`, each node a default card or an
|
|
174
|
+
`ng-template wrGraphNode`), `wr-virtual-scroll`, `wr-sortable-list`
|
|
173
175
|
(drag-to-reorder, with `[wrDragHandle]` — both in ngwr/drag-drop).
|
|
174
176
|
- **Feedback** — `wr-alert`, `wr-result`, `wr-empty`, `wr-skeleton`,
|
|
175
177
|
`wr-spinner`.
|
|
@@ -238,17 +240,17 @@ before writing your own. Full catalog: https://ngwr.dev/reference/components.
|
|
|
238
240
|
`wr-tree` and `wr-select` (search mode), alongside the standalone
|
|
239
241
|
`wr-virtual-scroll` wrapper.
|
|
240
242
|
- **Testing** — CDK component harnesses ship beside the components they drive, at
|
|
241
|
-
`ngwr/<name>/testing`.
|
|
242
|
-
|
|
243
|
+
`ngwr/<name>/testing`. 71 entry points so far, 106 exported harness names over
|
|
244
|
+
105 distinct classes — `WrCalendarDayHarness` ships under two, since a date
|
|
243
245
|
picker's popup IS a calendar — covering the
|
|
244
|
-
form controls, the overlays,
|
|
246
|
+
form controls, the overlays, the data views, the navigation / disclosure set
|
|
245
247
|
(`tabs`, `stepper`, `carousel`, `pagination`, `segmented`, `collapse`,
|
|
246
248
|
`transfer`) and `markdown`: the form controls
|
|
247
249
|
(`button`, `input`, `textarea`, `checkbox`, `switch`, `radio`, `select`,
|
|
248
250
|
`input-number`, `input-otp`, `slider`, `rating`, `file-upload`, `color-picker`,
|
|
249
251
|
`knob`, `form` for `<wr-form-field>`), the overlays (`date-picker`, `dropdown`,
|
|
250
252
|
`popover`, `dialog`, `drawer`, `action-sheet`, `toast`, `context-menu`, `popconfirm`,
|
|
251
|
-
`command-palette`, `cascader`, `mention`), the data views (`table`, `tree`),
|
|
253
|
+
`command-palette`, `cascader`, `mention`), the data views (`table`, `tree`, `graph`),
|
|
252
254
|
`splitter`, `speed-dial`, `lightbox`, `tour`, `calendar`, `event-calendar`,
|
|
253
255
|
`window`, `image-cropper`, every chart and eighteen of the twenty-one animations —
|
|
254
256
|
every control, every overlay and every chart has one. `aurora`, `click-spark`,
|
|
@@ -190,7 +190,10 @@
|
|
|
190
190
|
border-radius: var(--wr-border-radius-sm);
|
|
191
191
|
background: var(--wr-color-surface);
|
|
192
192
|
|
|
193
|
-
|
|
193
|
+
// color-ok: the nested `&::after` draws a tick out of two borders, and the
|
|
194
|
+
// unchecked task has no pseudo-element at all — the glyph appears, the tint
|
|
195
|
+
// only backs it.
|
|
196
|
+
&--checked {
|
|
194
197
|
border-color: var(--wr-color-primary);
|
|
195
198
|
background: var(--wr-color-primary);
|
|
196
199
|
|
|
@@ -50,11 +50,32 @@
|
|
|
50
50
|
user-select: none;
|
|
51
51
|
line-height: 1.25rem;
|
|
52
52
|
transition: background var(--wr-transition-base);
|
|
53
|
+
// Positioning context for the `--active` cursor bar below. Nothing else in
|
|
54
|
+
// an option is out of flow, so this establishes one for that alone.
|
|
55
|
+
position: relative;
|
|
53
56
|
|
|
54
|
-
&--active,
|
|
55
57
|
&:hover {
|
|
56
58
|
background: rgba(var(--wr-color-primary-rgb), 0.08);
|
|
57
59
|
}
|
|
60
|
+
|
|
61
|
+
// The keyboard cursor is NOT the hover tint — the two were one selector,
|
|
62
|
+
// so the row the arrows had reached and the row a mouse happened to rest
|
|
63
|
+
// on were the same pixel. The 8% tint alone measures 1.11:1 against the
|
|
64
|
+
// surface in light and 1.08:1 in dark, which is the same grey to a reader
|
|
65
|
+
// who cannot separate hue; the bar is what actually says "here".
|
|
66
|
+
&--active {
|
|
67
|
+
background: rgba(var(--wr-color-primary-rgb), 0.08);
|
|
68
|
+
|
|
69
|
+
&::before {
|
|
70
|
+
content: '';
|
|
71
|
+
position: absolute;
|
|
72
|
+
inset-block: 0;
|
|
73
|
+
inset-inline-start: 0;
|
|
74
|
+
width: 2px;
|
|
75
|
+
border-radius: inherit;
|
|
76
|
+
background: var(--wr-color-primary);
|
|
77
|
+
}
|
|
78
|
+
}
|
|
58
79
|
}
|
|
59
80
|
|
|
60
81
|
// Nothing renders this any more — the panel's empty branch was unreachable
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "ngwr",
|
|
3
|
-
"version": "14.
|
|
3
|
+
"version": "14.5.0",
|
|
4
4
|
"bin": {
|
|
5
5
|
"ngwr-mcp": "mcp/server.js"
|
|
6
6
|
},
|
|
@@ -316,6 +316,11 @@
|
|
|
316
316
|
"types": "./types/ngwr-gradient-text.d.ts",
|
|
317
317
|
"default": "./fesm2022/ngwr-gradient-text.mjs"
|
|
318
318
|
},
|
|
319
|
+
"./graph": {
|
|
320
|
+
"sass": "./graph/styles/_index.scss",
|
|
321
|
+
"types": "./types/ngwr-graph.d.ts",
|
|
322
|
+
"default": "./fesm2022/ngwr-graph.mjs"
|
|
323
|
+
},
|
|
319
324
|
"./grid": {
|
|
320
325
|
"sass": "./styles/_grid.scss"
|
|
321
326
|
},
|
|
@@ -795,6 +800,10 @@
|
|
|
795
800
|
"types": "./types/ngwr-gradient-text-testing.d.ts",
|
|
796
801
|
"default": "./fesm2022/ngwr-gradient-text-testing.mjs"
|
|
797
802
|
},
|
|
803
|
+
"./graph/testing": {
|
|
804
|
+
"types": "./types/ngwr-graph-testing.d.ts",
|
|
805
|
+
"default": "./fesm2022/ngwr-graph-testing.mjs"
|
|
806
|
+
},
|
|
798
807
|
"./hotkey": {
|
|
799
808
|
"types": "./types/ngwr-hotkey.d.ts",
|
|
800
809
|
"default": "./fesm2022/ngwr-hotkey.mjs"
|
package/radio/styles/_index.scss
CHANGED
|
@@ -94,6 +94,9 @@
|
|
|
94
94
|
display: none;
|
|
95
95
|
}
|
|
96
96
|
|
|
97
|
+
// color-ok: the cue is the glyph arriving — `.wr-radio__icon` goes from
|
|
98
|
+
// `opacity: 0` to `1` under `--checked` (line 109). This fill only backs it,
|
|
99
|
+
// since `--has-icon` turns the default dot off.
|
|
97
100
|
&--has-icon.wr-radio--checked {
|
|
98
101
|
--wr-radio-bg: var(--wr-color-primary);
|
|
99
102
|
}
|
|
@@ -47,18 +47,30 @@
|
|
|
47
47
|
}
|
|
48
48
|
}
|
|
49
49
|
|
|
50
|
+
// color-ok: each status draws its OWN glyph in result.html — a check, a
|
|
51
|
+
// triangle, a cross, an `i` — so these only ink a silhouette that already
|
|
52
|
+
// differs. The tint is reinforcement, not the signal.
|
|
50
53
|
&--success &__icon {
|
|
51
54
|
color: var(--wr-color-success-ink);
|
|
52
55
|
}
|
|
53
56
|
|
|
57
|
+
// color-ok: each status draws its OWN glyph in result.html — a check, a
|
|
58
|
+
// triangle, a cross, an `i` — so these only ink a silhouette that already
|
|
59
|
+
// differs. The tint is reinforcement, not the signal.
|
|
54
60
|
&--warning &__icon {
|
|
55
61
|
color: var(--wr-color-warning-ink);
|
|
56
62
|
}
|
|
57
63
|
|
|
64
|
+
// color-ok: each status draws its OWN glyph in result.html — a check, a
|
|
65
|
+
// triangle, a cross, an `i` — so these only ink a silhouette that already
|
|
66
|
+
// differs. The tint is reinforcement, not the signal.
|
|
58
67
|
&--error &__icon {
|
|
59
68
|
color: var(--wr-color-danger-ink);
|
|
60
69
|
}
|
|
61
70
|
|
|
71
|
+
// color-ok: each status draws its OWN glyph in result.html — a check, a
|
|
72
|
+
// triangle, a cross, an `i` — so these only ink a silhouette that already
|
|
73
|
+
// differs. The tint is reinforcement, not the signal.
|
|
62
74
|
&--info &__icon {
|
|
63
75
|
// `-ink`, like the three variants above. This one alone carried the bare
|
|
64
76
|
// intent, which is what made the set inconsistent rather than deliberate.
|
|
@@ -9,11 +9,14 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
9
9
|
/**
|
|
10
10
|
* v13 to v14 migration. Two halves, and the split is deliberate.
|
|
11
11
|
*
|
|
12
|
-
* **It REWRITES the
|
|
12
|
+
* **It REWRITES the six renames**: on `<wr-alert>` from `closeable` to
|
|
13
13
|
* `closable`, on `<wr-table>` from `[totalItems]` to `[total]`, on
|
|
14
14
|
* `<wr-pagination>` from `[(currentPage)]` to `[(page)]`, from
|
|
15
|
-
* `isDisabledWhenLoading` to `disabledWhenLoading`,
|
|
16
|
-
* `chromeSize` scale from `'compact' | 'normal'` to `'sm' | 'md'
|
|
15
|
+
* `isDisabledWhenLoading` to `disabledWhenLoading`, the window
|
|
16
|
+
* `chromeSize` scale from `'compact' | 'normal'` to `'sm' | 'md'`, and on
|
|
17
|
+
* `[wrInput]` from `wrSize` to `size` — the last one being the rename v13's own
|
|
18
|
+
* commit subject announced and never made, so leaving it out of the count here
|
|
19
|
+
* was the same omission running a second time. A rename is
|
|
17
20
|
* exactly what a codemod does well: the new name means what the old one meant,
|
|
18
21
|
* on the same element, and nothing about the app has to be understood to move it.
|
|
19
22
|
*
|
|
@@ -28,7 +28,7 @@
|
|
|
28
28
|
},
|
|
29
29
|
"migration-v14": {
|
|
30
30
|
"version": "14.0.0",
|
|
31
|
-
"description": "Rewrites
|
|
31
|
+
"description": "Rewrites six renames: on <wr-alert> from closeable to closable; on <wr-table> from totalItems to total; on <wr-pagination> from currentPage to page (and from currentPageChange to pageChange); from isDisabledWhenLoading to disabledWhenLoading; the window chromeSize scale from compact/normal to sm/md, including the .wr-window--chrome-compact class; and on [wrInput] from wrSize to size. Reports what a codemod cannot decide: router integration is now opt-in (<wr-loading-bar> needs provideWrLoadingBarRouter() from ngwr/loading-bar/router, <wr-tab routerLink> needs wrTabsRouting on the strip plus WrTabsRouting in imports), the locale defaults now follow LOCALE_ID, and <wr-pagination ofLabel> is gone. Touches .ts, .html, .scss and .css files.",
|
|
32
32
|
"factory": "./migrations/v14/index#default"
|
|
33
33
|
}
|
|
34
34
|
}
|
|
@@ -57,7 +57,26 @@ const THEME_PROVIDER = {
|
|
|
57
57
|
system: "provideWrTheme({ defaultMode: 'auto' })",
|
|
58
58
|
};
|
|
59
59
|
const STYLES_DIRECTIVE_SCSS = "@use 'ngwr';";
|
|
60
|
-
|
|
60
|
+
/**
|
|
61
|
+
* What a project whose global stylesheet is plain CSS is told, instead of a
|
|
62
|
+
* line that cannot work.
|
|
63
|
+
*
|
|
64
|
+
* ngwr ships Sass SOURCES and no compiled CSS: every `exports` entry in
|
|
65
|
+
* `projects/lib/package.json` carries a `sass` condition and nothing else that
|
|
66
|
+
* a stylesheet can reach. So `@import 'ngwr'` from a `.css` file resolves
|
|
67
|
+
* through `default` to `fesm2022/ngwr.mjs` and esbuild — the bundler Angular 22
|
|
68
|
+
* uses — stops the build with `Cannot import ".../ngwr.mjs" into a CSS file`.
|
|
69
|
+
*
|
|
70
|
+
* That mattered more than it sounds: `ng new` takes CSS unless you ask for
|
|
71
|
+
* something else, so the default path was `ng add ngwr` followed by a build
|
|
72
|
+
* that failed, naming a `.mjs` nobody had typed. Writing nothing and saying why
|
|
73
|
+
* is the same choice the three branches below already make when they cannot
|
|
74
|
+
* find a stylesheet to edit.
|
|
75
|
+
*/
|
|
76
|
+
const CSS_PROJECT_ADVICE = 'ngwr ships Sass sources and no compiled CSS, so it cannot be reached from a plain CSS file. ' +
|
|
77
|
+
'Rename the global stylesheet to .scss (and update its path in angular.json), then add ' +
|
|
78
|
+
`\`${STYLES_DIRECTIVE_SCSS}\` to it — or keep CSS and pull in only what you use with ` +
|
|
79
|
+
'`ng g ngwr:component-style <name>`.';
|
|
61
80
|
function ngAdd(options) {
|
|
62
81
|
return (tree, context) => {
|
|
63
82
|
return (0, schematics_1.chain)([installPeerDeps(options, context), registerStyles(options), printNextSteps(options, context)])(tree, context);
|
|
@@ -97,14 +116,19 @@ function registerStyles(options) {
|
|
|
97
116
|
}
|
|
98
117
|
return async (tree, context) => {
|
|
99
118
|
const workspace = await (0, workspace_1.getWorkspace)(tree);
|
|
100
|
-
|
|
119
|
+
// Narrowed rather than read off the index signature directly: dotted access
|
|
120
|
+
// is what eslint asks for and what the lib's `noPropertyAccessFromIndexSignature`
|
|
121
|
+
// refuses, and this file has a spec now, so it is in that program.
|
|
122
|
+
const extensions = workspace.extensions;
|
|
123
|
+
const projectName = options.project ?? extensions.defaultProject;
|
|
101
124
|
const project = (projectName && workspace.projects.get(projectName)) ?? workspace.projects.values().next().value;
|
|
102
125
|
if (!project) {
|
|
103
126
|
context.logger.warn('ngwr: no Angular project found — skipping styles wiring.');
|
|
104
127
|
return tree;
|
|
105
128
|
}
|
|
106
129
|
const build = project.targets.get('build');
|
|
107
|
-
const
|
|
130
|
+
const buildOptions = (build?.options ?? {});
|
|
131
|
+
const styles = buildOptions.styles ?? [];
|
|
108
132
|
const stylesPath = typeof styles[0] === 'string' ? styles[0] : styles[0]?.input;
|
|
109
133
|
if (!stylesPath) {
|
|
110
134
|
context.logger.warn(`ngwr: no global stylesheet found for project "${project.root || '<root>'}" — add \`${STYLES_DIRECTIVE_SCSS}\` manually.`);
|
|
@@ -114,8 +138,13 @@ function registerStyles(options) {
|
|
|
114
138
|
context.logger.warn(`ngwr: styles file ${stylesPath} not found — add \`${STYLES_DIRECTIVE_SCSS}\` manually.`);
|
|
115
139
|
return tree;
|
|
116
140
|
}
|
|
117
|
-
|
|
118
|
-
|
|
141
|
+
// `.sass` is the indented syntax and takes `@use` like `.scss`; `.less` is
|
|
142
|
+
// the other one that cannot reach a Sass source.
|
|
143
|
+
if (stylesPath.endsWith('.css') || stylesPath.endsWith('.less')) {
|
|
144
|
+
context.logger.warn(`ngwr: ${stylesPath} is not Sass. ${CSS_PROJECT_ADVICE}`);
|
|
145
|
+
return tree;
|
|
146
|
+
}
|
|
147
|
+
const directive = STYLES_DIRECTIVE_SCSS;
|
|
119
148
|
const existing = tree.readText(stylesPath);
|
|
120
149
|
if (existing.includes(directive) || existing.includes("'ngwr'") || existing.includes('"ngwr"')) {
|
|
121
150
|
context.logger.info(`ngwr: ${stylesPath} already imports ngwr — skipping.`);
|
|
@@ -91,6 +91,8 @@
|
|
|
91
91
|
"WrGauge": "ngwr/gauge",
|
|
92
92
|
"WrGlitchText": "ngwr/glitch-text",
|
|
93
93
|
"WrGradientText": "ngwr/gradient-text",
|
|
94
|
+
"WrGraph": "ngwr/graph",
|
|
95
|
+
"WrGraphNodeTemplate": "ngwr/graph",
|
|
94
96
|
"WrHotkey": "ngwr/hotkey",
|
|
95
97
|
"WrHotkeyBinding": "ngwr/hotkey",
|
|
96
98
|
"WrI18n": "ngwr/i18n",
|
|
@@ -70,6 +70,14 @@
|
|
|
70
70
|
transition: transform 0.25s var(--wr-ease-out);
|
|
71
71
|
}
|
|
72
72
|
|
|
73
|
+
// A direction flip mirrors the strip, which moves the thumb's slot by the whole
|
|
74
|
+
// width of it. Animated, that drags the pill across options it does not mark;
|
|
75
|
+
// the component sets this class for the tick the flip lands in so the pill is
|
|
76
|
+
// simply already there. Selection changes keep their slide.
|
|
77
|
+
&--flipping &__thumb {
|
|
78
|
+
transition: none;
|
|
79
|
+
}
|
|
80
|
+
|
|
73
81
|
&--unselected &__thumb {
|
|
74
82
|
opacity: 0;
|
|
75
83
|
}
|
|
@@ -112,7 +120,10 @@
|
|
|
112
120
|
color: var(--wr-color-primary-ink);
|
|
113
121
|
}
|
|
114
122
|
|
|
115
|
-
|
|
123
|
+
// color-ok: the selected option is named by POSITION — the thumb pill slides
|
|
124
|
+
// under it on `--wr-segmented-thumb-index`, and is hidden outright while
|
|
125
|
+
// nothing is picked. This declaration only re-inks the label above it.
|
|
126
|
+
&--selected {
|
|
116
127
|
color: var(--wr-segmented-selected-color);
|
|
117
128
|
}
|
|
118
129
|
|