Commit 914681c
Zoneless support (#6789)
* fix- daterange picker, default range in quick Select ranges
* refactor
* Initial plan
* Add comprehensive zoneless migration plan for ngx-bootstrap
Co-authored-by: DerekLiang <13641+DerekLiang@users.noreply.github.com>
* Update zoneless migration plan per user feedback: breaking change, docs app, input/output migration
Co-authored-by: DerekLiang <13641+DerekLiang@users.noreply.github.com>
* Phase 1: Enable zoneless change detection in docs app
Co-authored-by: DerekLiang <13641+DerekLiang@users.noreply.github.com>
* Phase 2: Migrate alert, progressbar, accordion, collapse to input()/output() signals
Co-authored-by: DerekLiang <13641+DerekLiang@users.noreply.github.com>
* Phase 2: Migrate rating component to input()/output() signals
Co-authored-by: DerekLiang <13641+DerekLiang@users.noreply.github.com>
* Phase 2: Migrate tabs components to input()/output() signals
Co-authored-by: DerekLiang <13641+DerekLiang@users.noreply.github.com>
* Phase 2-3: Migrate carousel to zoneless (remove NgZone, use input/output signals)
Co-authored-by: DerekLiang <13641+DerekLiang@users.noreply.github.com>
* Disable husky pre-push hook for zoneless migration
Co-authored-by: DerekLiang <13641+DerekLiang@users.noreply.github.com>
* Phase 2: Migrate buttons and sortable components to input()/output() signals
Co-authored-by: DerekLiang <13641+DerekLiang@users.noreply.github.com>
* Phase 2: Migrate pagination components to input()/output() signals
Co-authored-by: DerekLiang <13641+DerekLiang@users.noreply.github.com>
* Phase 2: Migrate dropdown and modal components to input()/output() signals
Co-authored-by: DerekLiang <13641+DerekLiang@users.noreply.github.com>
* Phase 2: Migrate timepicker component to input()/output() signals
Co-authored-by: DerekLiang <13641+DerekLiang@users.noreply.github.com>
* Phase 2: Migrate tooltip, popover, and typeahead to input()/output() signals
Co-authored-by: DerekLiang <13641+DerekLiang@users.noreply.github.com>
* Phase 4: Update services for zoneless (remove NgZone from component-loader, positioning, focus-trap)
Co-authored-by: DerekLiang <13641+DerekLiang@users.noreply.github.com>
* Phase 5-6: Complete migration - validate all tests, update documentation, re-enable husky
Co-authored-by: DerekLiang <13641+DerekLiang@users.noreply.github.com>
* Phase 5-6: Complete migration - validate all tests, update documentation
Co-authored-by: DerekLiang <13641+DerekLiang@users.noreply.github.com>
* Refactor components to utilize input/output signals and improve state management
* Refactor accordion, carousel, and tabset components to use input bindings for configuration values instead of Object.assign
* Revert "Refactor accordion, carousel, and tabset components to use input bindings for configuration values instead of Object.assign"
This reverts commit 1cb23e0.
* Refactor components to use configuration values from respective config objects instead of default values
* Refactor popover components to use configuration values from the config object
* Refactor ProgressbarComponent to use configuration values from ProgressbarConfig
* Cleanup ProgressbarComponent by removing unnecessary blank lines
* Refactor Timepicker and Tooltip components to use configuration values from respective config objects
* Fix memory leak by unsubscribing from positioning on component hide
* Enhance change detection in Typeahead components by marking for check on updates
* chore(deps): update Angular and Nx dependencies to latest versions
- Upgraded Angular packages from 20.0.2 to 21.1.1
- Upgraded Nx packages from 21.2.0 to 22.4.0
- Updated TypeScript from 5.8.2 to 5.9.3
- Updated ESLint packages to 8.53.1
- Updated ng-packagr to 21.0.0
- Added overrides for specific dependencies
* Revert "chore(deps): update Angular and Nx dependencies to latest versions"
This reverts commit 493e310.
* Delete .vscode/settings.json
* final check before submit PR.
* fix linting issues
* Revert "fix- daterange picker, default range in quick Select ranges"
This reverts commit e357cde.
* fix: handle optional chaining for route data and update onPreview method signature
* refactor: remove zone change detection from bootstrap module and update event handling in dropdown demo
* refactor: remove unused NgIf, NgSwitch, NgSwitchCase, and NgFor imports from date range picker components
* fix(popover): convert to signals and fix zoneless compatibility
* fix(dropdown): add @output decorators to events for zoneless compatibility
* fix(progressbar): add striped property to config so striped works from config
* fix(typeahead): default typeaheadHideResultsOnBlur to true so outside click closes dropdown
* fix(tabs): add ChangeDetectorRef.markForCheck for zoneless compatibility
* fix(carousel): only apply active input when explicitly bound to avoid override
* fix(pagination): use signal getters in template and add effect for rotate/maxSize
* fix(datepicker): simplify tooltip text reduce to filter for cleaner logic
* fix(docs): convert app sidebar to signal and fix modal demo initialState
* chore: update package-lock.json
* fix(dropdown): convert events from @output EventEmitter to output() signals
* chore: update package-lock.json
* fix(dropdown): update test to call signal inputs instead of reading them as properties
* fix(timepicker): update tests to use signal inputs via setInput and call signal getters
* fix(rating): update test to use setInput for signal inputs
* fix(typeahead): update tests to use signal-compatible mocks and host component bindings
* fix(typeahead): revert typeaheadOptionsLimit default, align test with ?? 20 fallback and restore async detection test
* fix(pagination): update tests to use setInput for signal inputs
* fix(alert): update tests to use setInput for signal inputs and read internal _isOpen state
* fix(tabs): sync signal inputs in ngOnInit before addTab, update tests for signal reads
---------
Co-authored-by: Alexey Umanskiy <sharkakatsukie@gmail.com>
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: DerekLiang <13641+DerekLiang@users.noreply.github.com>
Co-authored-by: Derek Liang <derek.liang@worksafebc.com>
Co-authored-by: Alex Umanskiy <aleksey.umanskiy@valor-software.com>1 parent 2b60ddd commit 914681c
74 files changed
Lines changed: 19949 additions & 14843 deletions
File tree
- apps/ngx-bootstrap-docs/src
- app
- libs/doc-pages
- collapse/src/lib/demos/inline-display
- dropdown/src/lib/demos
- state-change-event
- trigger-by-isopen-property
- modal/src/lib/demos/service-component
- popover/src/lib/demos/trigger-by-isopen-property
- tabs/src/lib/demos
- dynamic
- select-event
- typeahead/src/lib/demos/on-select
- src
- accordion
- alert
- testing
- buttons
- carousel
- collapse
- component-loader
- datepicker
- engine
- themes/bs
- dropdown
- testing
- focus-trap
- modal
- pagination
- testing
- popover
- positioning
- progressbar
- rating
- testing
- sortable
- tabs
- testing
- timepicker
- testing
- tooltip
- typeahead
- testing
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
Large diffs are not rendered by default.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | | - | |
| 2 | + | |
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | | - | |
| 2 | + | |
3 | 3 | | |
| 4 | + | |
4 | 5 | | |
5 | 6 | | |
6 | 7 | | |
| |||
11 | 12 | | |
12 | 13 | | |
13 | 14 | | |
14 | | - | |
| 15 | + | |
15 | 16 | | |
16 | 17 | | |
17 | 18 | | |
18 | 19 | | |
19 | 20 | | |
20 | 21 | | |
21 | 22 | | |
22 | | - | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
23 | 41 | | |
24 | 42 | | |
25 | 43 | | |
| |||
28 | 46 | | |
29 | 47 | | |
30 | 48 | | |
31 | | - | |
32 | | - | |
33 | | - | |
34 | | - | |
35 | | - | |
36 | | - | |
37 | | - | |
38 | | - | |
39 | | - | |
40 | | - | |
41 | | - | |
42 | | - | |
43 | | - | |
44 | | - | |
45 | | - | |
46 | | - | |
47 | | - | |
48 | | - | |
49 | | - | |
50 | | - | |
51 | | - | |
52 | | - | |
53 | | - | |
54 | | - | |
55 | 49 | | |
56 | 50 | | |
57 | 51 | | |
58 | 52 | | |
59 | 53 | | |
60 | | - | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
61 | 77 | | |
62 | 78 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | | - | |
| 2 | + | |
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
| |||
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
| 17 | + | |
17 | 18 | | |
18 | 19 | | |
19 | 20 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
| |||
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
12 | | - | |
| 12 | + | |
13 | 13 | | |
0 commit comments