ngx-mat-searchable-select 1.0.0 → 2.0.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.
Files changed (35) hide show
  1. package/README.md +19 -127
  2. package/package.json +12 -44
  3. package/{projects/ngx-mat-searchable-select/src → src}/lib/mat-list-shared.component.html +75 -75
  4. package/{projects/ngx-mat-searchable-select/src → src}/lib/mat-list-shared.mock.ts +43 -43
  5. package/{projects/ngx-mat-searchable-select/src → src}/lib/mat-select-infinite-scroll.directive.ts +52 -52
  6. package/.editorconfig +0 -16
  7. package/.vscode/extensions.json +0 -4
  8. package/.vscode/launch.json +0 -20
  9. package/.vscode/tasks.json +0 -42
  10. package/LICENSE +0 -21
  11. package/angular.json +0 -151
  12. package/projects/demo/public/favicon.ico +0 -0
  13. package/projects/demo/src/app/app.config.ts +0 -9
  14. package/projects/demo/src/app/app.html +0 -118
  15. package/projects/demo/src/app/app.scss +0 -64
  16. package/projects/demo/src/app/app.ts +0 -167
  17. package/projects/demo/src/index.html +0 -16
  18. package/projects/demo/src/main.ts +0 -6
  19. package/projects/demo/src/styles.scss +0 -31
  20. package/projects/demo/tsconfig.app.json +0 -17
  21. package/projects/demo/tsconfig.spec.json +0 -15
  22. package/projects/ngx-mat-searchable-select/README.md +0 -262
  23. package/projects/ngx-mat-searchable-select/package.json +0 -12
  24. package/tsconfig.json +0 -39
  25. /package/{projects/ngx-mat-searchable-select/karma.conf.js → karma.conf.js} +0 -0
  26. /package/{projects/ngx-mat-searchable-select/ng-package.json → ng-package.json} +0 -0
  27. /package/{projects/ngx-mat-searchable-select/src → src}/lib/mat-list-shared.component.spec.ts +0 -0
  28. /package/{projects/ngx-mat-searchable-select/src → src}/lib/mat-list-shared.component.ts +0 -0
  29. /package/{projects/ngx-mat-searchable-select/src → src}/lib/mat-list-shared.model.ts +0 -0
  30. /package/{projects/ngx-mat-searchable-select/src → src}/lib/mat-list-shared.service.spec.ts +0 -0
  31. /package/{projects/ngx-mat-searchable-select/src → src}/public-api.ts +0 -0
  32. /package/{projects/ngx-mat-searchable-select/src → src}/test.ts +0 -0
  33. /package/{projects/ngx-mat-searchable-select/tsconfig.lib.json → tsconfig.lib.json} +0 -0
  34. /package/{projects/ngx-mat-searchable-select/tsconfig.lib.prod.json → tsconfig.lib.prod.json} +0 -0
  35. /package/{projects/ngx-mat-searchable-select/tsconfig.spec.json → tsconfig.spec.json} +0 -0
@@ -1,20 +0,0 @@
1
- {
2
- // For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
3
- "version": "0.2.0",
4
- "configurations": [
5
- {
6
- "name": "ng serve",
7
- "type": "pwa-chrome",
8
- "request": "launch",
9
- "preLaunchTask": "npm: start",
10
- "url": "http://localhost:4200/"
11
- },
12
- {
13
- "name": "ng test",
14
- "type": "chrome",
15
- "request": "launch",
16
- "preLaunchTask": "npm: test",
17
- "url": "http://localhost:9876/debug.html"
18
- }
19
- ]
20
- }
@@ -1,42 +0,0 @@
1
- {
2
- // For more information, visit: https://go.microsoft.com/fwlink/?LinkId=733558
3
- "version": "2.0.0",
4
- "tasks": [
5
- {
6
- "type": "npm",
7
- "script": "start",
8
- "isBackground": true,
9
- "problemMatcher": {
10
- "owner": "typescript",
11
- "pattern": "$tsc",
12
- "background": {
13
- "activeOnStart": true,
14
- "beginsPattern": {
15
- "regexp": "(.*?)"
16
- },
17
- "endsPattern": {
18
- "regexp": "bundle generation complete"
19
- }
20
- }
21
- }
22
- },
23
- {
24
- "type": "npm",
25
- "script": "test",
26
- "isBackground": true,
27
- "problemMatcher": {
28
- "owner": "typescript",
29
- "pattern": "$tsc",
30
- "background": {
31
- "activeOnStart": true,
32
- "beginsPattern": {
33
- "regexp": "(.*?)"
34
- },
35
- "endsPattern": {
36
- "regexp": "bundle generation complete"
37
- }
38
- }
39
- }
40
- }
41
- ]
42
- }
package/LICENSE DELETED
@@ -1,21 +0,0 @@
1
- MIT License
2
-
3
- Copyright (c) 2026 ngx-mat-searchable-select contributors
4
-
5
- Permission is hereby granted, free of charge, to any person obtaining a copy
6
- of this software and associated documentation files (the "Software"), to deal
7
- in the Software without restriction, including without limitation the rights
8
- to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
- copies of the Software, and to permit persons to whom the Software is
10
- furnished to do so, subject to the following conditions:
11
-
12
- The above copyright notice and this permission notice shall be included in all
13
- copies or substantial portions of the Software.
14
-
15
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
- SOFTWARE.
package/angular.json DELETED
@@ -1,151 +0,0 @@
1
- {
2
- "$schema": "./node_modules/@angular/cli/lib/config/schema.json",
3
- "version": 1,
4
- "newProjectRoot": "projects",
5
- "projects": {
6
- "ngx-mat-searchable-select": {
7
- "projectType": "library",
8
- "root": "projects/ngx-mat-searchable-select",
9
- "sourceRoot": "projects/ngx-mat-searchable-select/src",
10
- "prefix": "lib",
11
- "architect": {
12
- "build": {
13
- "builder": "@angular-devkit/build-angular:ng-packagr",
14
- "options": {
15
- "project": "projects/ngx-mat-searchable-select/ng-package.json"
16
- },
17
- "configurations": {
18
- "production": {
19
- "tsConfig": "projects/ngx-mat-searchable-select/tsconfig.lib.prod.json"
20
- },
21
- "development": {
22
- "tsConfig": "projects/ngx-mat-searchable-select/tsconfig.lib.json"
23
- }
24
- },
25
- "defaultConfiguration": "production"
26
- },
27
- "test": {
28
- "builder": "@angular-devkit/build-angular:karma",
29
- "options": {
30
- "main": "projects/ngx-mat-searchable-select/src/test.ts",
31
- "tsConfig": "projects/ngx-mat-searchable-select/tsconfig.spec.json",
32
- "karmaConfig": "projects/ngx-mat-searchable-select/karma.conf.js"
33
- }
34
- }
35
- }
36
- },
37
- "demo": {
38
- "projectType": "application",
39
- "schematics": {
40
- "@schematics/angular:component": {
41
- "style": "scss",
42
- "skipTests": true
43
- },
44
- "@schematics/angular:class": {
45
- "skipTests": true
46
- },
47
- "@schematics/angular:directive": {
48
- "skipTests": true
49
- },
50
- "@schematics/angular:guard": {
51
- "skipTests": true
52
- },
53
- "@schematics/angular:interceptor": {
54
- "skipTests": true
55
- },
56
- "@schematics/angular:pipe": {
57
- "skipTests": true
58
- },
59
- "@schematics/angular:resolver": {
60
- "skipTests": true
61
- },
62
- "@schematics/angular:service": {
63
- "skipTests": true
64
- }
65
- },
66
- "root": "projects/demo",
67
- "sourceRoot": "projects/demo/src",
68
- "prefix": "app",
69
- "architect": {
70
- "build": {
71
- "builder": "@angular/build:application",
72
- "options": {
73
- "browser": "projects/demo/src/main.ts",
74
- "tsConfig": "projects/demo/tsconfig.app.json",
75
- "inlineStyleLanguage": "scss",
76
- "assets": [
77
- {
78
- "glob": "**/*",
79
- "input": "projects/demo/public"
80
- }
81
- ],
82
- "styles": [
83
- "projects/demo/src/styles.scss"
84
- ]
85
- },
86
- "configurations": {
87
- "production": {
88
- "budgets": [
89
- {
90
- "type": "initial",
91
- "maximumWarning": "500kB",
92
- "maximumError": "1MB"
93
- },
94
- {
95
- "type": "anyComponentStyle",
96
- "maximumWarning": "4kB",
97
- "maximumError": "8kB"
98
- }
99
- ],
100
- "outputHashing": "all"
101
- },
102
- "development": {
103
- "optimization": false,
104
- "extractLicenses": false,
105
- "sourceMap": true
106
- }
107
- },
108
- "defaultConfiguration": "production"
109
- },
110
- "serve": {
111
- "builder": "@angular/build:dev-server",
112
- "configurations": {
113
- "production": {
114
- "buildTarget": "demo:build:production"
115
- },
116
- "development": {
117
- "buildTarget": "demo:build:development"
118
- }
119
- },
120
- "defaultConfiguration": "development"
121
- }
122
- }
123
- }
124
- },
125
- "schematics": {
126
- "@schematics/angular:component": {
127
- "type": "component"
128
- },
129
- "@schematics/angular:directive": {
130
- "type": "directive"
131
- },
132
- "@schematics/angular:service": {
133
- "type": "service"
134
- },
135
- "@schematics/angular:guard": {
136
- "typeSeparator": "."
137
- },
138
- "@schematics/angular:interceptor": {
139
- "typeSeparator": "."
140
- },
141
- "@schematics/angular:module": {
142
- "typeSeparator": "."
143
- },
144
- "@schematics/angular:pipe": {
145
- "typeSeparator": "."
146
- },
147
- "@schematics/angular:resolver": {
148
- "typeSeparator": "."
149
- }
150
- }
151
- }
Binary file
@@ -1,9 +0,0 @@
1
- import { ApplicationConfig, provideBrowserGlobalErrorListeners } from '@angular/core';
2
- import { provideAnimationsAsync } from '@angular/platform-browser/animations/async';
3
-
4
- export const appConfig: ApplicationConfig = {
5
- providers: [
6
- provideBrowserGlobalErrorListeners(),
7
- provideAnimationsAsync(),
8
- ],
9
- };
@@ -1,118 +0,0 @@
1
- <div class="demo-container">
2
- <h1>ngx-mat-searchable-select</h1>
3
- <p class="subtitle">Angular Material Select with infinite scroll, search, and static data support</p>
4
-
5
- <div class="toolbar">
6
- <button mat-stroked-button color="warn" (click)="resetAll()">Reset all forms</button>
7
- </div>
8
-
9
- <mat-tab-group animationDuration="200ms">
10
- <!-- Tab 1: Static items -->
11
- <mat-tab label="Static Items">
12
- <mat-card class="demo-card">
13
- <mat-card-header>
14
- <mat-card-title>Static items (no backend)</mat-card-title>
15
- <mat-card-subtitle>
16
- Pass an array directly via <code>[staticItems]</code> — no dataSource needed.
17
- Try searching for "Lon" or "Par".
18
- </mat-card-subtitle>
19
- </mat-card-header>
20
- <mat-card-content>
21
- <ngx-mat-searchable-select
22
- [parentForm]="staticForm"
23
- [config]="staticConfig"
24
- [staticItems]="cities"
25
- (selectionChange)="onCitySelect($event)"
26
- />
27
- @if (selectedCity) {
28
- <p class="result">Selected city id: <strong>{{ selectedCity }}</strong></p>
29
- }
30
- <p class="form-value">Form value: {{ staticForm.value | json }}</p>
31
- </mat-card-content>
32
- </mat-card>
33
- </mat-tab>
34
-
35
- <!-- Tab 2: Mock data source -->
36
- <mat-tab label="Mock DataSource">
37
- <mat-card class="demo-card">
38
- <mat-card-header>
39
- <mat-card-title>MockSearchableSelectDataSource</mat-card-title>
40
- <mat-card-subtitle>
41
- Uses the built-in mock that simulates server pagination + search.
42
- Initial page loads 5 items; scroll down to load more.
43
- </mat-card-subtitle>
44
- </mat-card-header>
45
- <mat-card-content>
46
- <ngx-mat-searchable-select
47
- [parentForm]="mockForm"
48
- [config]="mockConfig"
49
- (selectionChange)="onLanguageSelect($event)"
50
- />
51
- @if (selectedLanguage) {
52
- <p class="result">Selected language id: <strong>{{ selectedLanguage }}</strong></p>
53
- }
54
- <p class="form-value">Form value: {{ mockForm.value | json }}</p>
55
- </mat-card-content>
56
- </mat-card>
57
- </mat-tab>
58
-
59
- <!-- Tab 3: Edit mode -->
60
- <mat-tab label="Edit Mode">
61
- <mat-card class="demo-card">
62
- <mat-card-header>
63
- <mat-card-title>Edit mode with pre-selected value</mat-card-title>
64
- <mat-card-subtitle>
65
- Prague (id: 8) is pre-selected and shown even if not on the first loaded page.
66
- Open the dropdown to see it.
67
- </mat-card-subtitle>
68
- </mat-card-header>
69
- <mat-card-content>
70
- <ngx-mat-searchable-select
71
- [parentForm]="editForm"
72
- [config]="editConfig"
73
- />
74
- <p class="form-value">Form value: {{ editForm.value | json }}</p>
75
- </mat-card-content>
76
- </mat-card>
77
- </mat-tab>
78
-
79
- <!-- Tab 4: Multiple selection -->
80
- <mat-tab label="Multiple Select">
81
- <mat-card class="demo-card">
82
- <mat-card-header>
83
- <mat-card-title>Multiple selection</mat-card-title>
84
- <mat-card-subtitle>
85
- Set <code>multiple: true</code> to allow selecting several items at once.
86
- </mat-card-subtitle>
87
- </mat-card-header>
88
- <mat-card-content>
89
- <ngx-mat-searchable-select
90
- [parentForm]="multiForm"
91
- [config]="multiConfig"
92
- />
93
- <p class="form-value">Form value: {{ multiForm.value | json }}</p>
94
- </mat-card-content>
95
- </mat-card>
96
- </mat-tab>
97
-
98
- <!-- Tab 5: Non-searchable -->
99
- <mat-tab label="No Search">
100
- <mat-card class="demo-card">
101
- <mat-card-header>
102
- <mat-card-title>Non-searchable select</mat-card-title>
103
- <mat-card-subtitle>
104
- Set <code>searchable: false</code> to hide the search box inside the dropdown.
105
- </mat-card-subtitle>
106
- </mat-card-header>
107
- <mat-card-content>
108
- <ngx-mat-searchable-select
109
- [parentForm]="simpleForm"
110
- [config]="simpleConfig"
111
- [staticItems]="cities"
112
- />
113
- <p class="form-value">Form value: {{ simpleForm.value | json }}</p>
114
- </mat-card-content>
115
- </mat-card>
116
- </mat-tab>
117
- </mat-tab-group>
118
- </div>
@@ -1,64 +0,0 @@
1
- :host {
2
- display: block;
3
- min-height: 100vh;
4
- background: linear-gradient(135deg, #e3f2fd 0%, #f3e5f5 100%);
5
- }
6
-
7
- .demo-container {
8
- max-width: 800px;
9
- margin: 0 auto;
10
- padding: 40px 24px 60px;
11
- }
12
-
13
- h1 {
14
- font-size: 2rem;
15
- font-weight: 500;
16
- margin: 0 0 4px;
17
- color: #1565c0;
18
- }
19
-
20
- .subtitle {
21
- color: #666;
22
- margin: 0 0 32px;
23
- font-size: 1rem;
24
- }
25
-
26
- .demo-card {
27
- margin: 24px 0;
28
- padding: 24px;
29
- border-radius: 12px;
30
- }
31
-
32
- .result {
33
- margin-top: 16px;
34
- padding: 12px 16px;
35
- background: #e8f5e9;
36
- border-radius: 8px;
37
- font-size: 0.9rem;
38
- color: #2e7d32;
39
- }
40
-
41
- .form-value {
42
- margin-top: 12px;
43
- padding: 12px 16px;
44
- background: #fff3e0;
45
- border-radius: 8px;
46
- font-size: 0.85rem;
47
- color: #e65100;
48
- font-family: 'Roboto Mono', monospace;
49
- word-break: break-all;
50
- }
51
-
52
- .toolbar {
53
- display: flex;
54
- justify-content: flex-end;
55
- margin-bottom: 16px;
56
- }
57
-
58
- .search-container {
59
- padding: 8px 16px 0;
60
- position: sticky;
61
- top: 0;
62
- background: white;
63
- z-index: 1;
64
- }
@@ -1,167 +0,0 @@
1
- import { Component, inject } from '@angular/core';
2
- import { FormBuilder, ReactiveFormsModule, Validators } from '@angular/forms';
3
- import { MatTabsModule } from '@angular/material/tabs';
4
- import { MatCardModule } from '@angular/material/card';
5
- import { MatButtonModule } from '@angular/material/button';
6
- import { JsonPipe } from '@angular/common';
7
- import {
8
- NgxMatSearchableSelectComponent,
9
- SearchableSelectConfig,
10
- MockSearchableSelectDataSource,
11
- } from 'ngx-mat-searchable-select';
12
-
13
- // ── Sample data ────────────────────────────────────────────
14
- const CITIES = [
15
- { id: 1, name: 'Paris' },
16
- { id: 2, name: 'London' },
17
- { id: 3, name: 'Berlin' },
18
- { id: 4, name: 'Madrid' },
19
- { id: 5, name: 'Rome' },
20
- { id: 6, name: 'Vienna' },
21
- { id: 7, name: 'Warsaw' },
22
- { id: 8, name: 'Prague' },
23
- { id: 9, name: 'Amsterdam' },
24
- { id: 10, name: 'Brussels' },
25
- { id: 11, name: 'Lisbon' },
26
- { id: 12, name: 'Athens' },
27
- { id: 13, name: 'Dublin' },
28
- { id: 14, name: 'Copenhagen' },
29
- { id: 15, name: 'Stockholm' },
30
- { id: 16, name: 'Helsinki' },
31
- { id: 17, name: 'Oslo' },
32
- { id: 18, name: 'Zurich' },
33
- { id: 19, name: 'Budapest' },
34
- { id: 20, name: 'Bucharest' },
35
- ];
36
-
37
- const LANGUAGES = [
38
- { id: 1, name: 'TypeScript' },
39
- { id: 2, name: 'JavaScript' },
40
- { id: 3, name: 'Python' },
41
- { id: 4, name: 'Rust' },
42
- { id: 5, name: 'Go' },
43
- { id: 6, name: 'Java' },
44
- { id: 7, name: 'C#' },
45
- { id: 8, name: 'Kotlin' },
46
- { id: 9, name: 'Swift' },
47
- { id: 10, name: 'Ruby' },
48
- { id: 11, name: 'PHP' },
49
- { id: 12, name: 'Dart' },
50
- ];
51
-
52
- @Component({
53
- selector: 'app-root',
54
- standalone: true,
55
- imports: [
56
- ReactiveFormsModule,
57
- MatTabsModule,
58
- MatCardModule,
59
- MatButtonModule,
60
- JsonPipe,
61
- NgxMatSearchableSelectComponent,
62
- ],
63
- templateUrl: './app.html',
64
- styleUrl: './app.scss',
65
- })
66
- export class App {
67
- private readonly fb = inject(FormBuilder);
68
-
69
- // ── Example 1: Static items (simplest) ───────────────────
70
- readonly staticForm = this.fb.group({ city: [null, Validators.required] });
71
- readonly staticConfig: SearchableSelectConfig = {
72
- option: {
73
- label: 'City',
74
- formControlName: 'city',
75
- displayName: 'name',
76
- isRequired: true,
77
- fontIcon: 'location_city',
78
- },
79
- mode: 'create',
80
- searchable: true,
81
- };
82
-
83
- // ── Example 2: MockSearchableSelectDataSource ────────────
84
- readonly mockForm = this.fb.group({ language: [null] });
85
- readonly mockConfig: SearchableSelectConfig = {
86
- dataSource: new MockSearchableSelectDataSource(LANGUAGES),
87
- option: {
88
- label: 'Language',
89
- formControlName: 'language',
90
- displayName: 'name',
91
- isRequired: false,
92
- fontIcon: 'code',
93
- },
94
- mode: 'create',
95
- searchable: true,
96
- };
97
-
98
- // ── Example 3: Edit mode (pre-selected value) ───────────
99
- readonly editForm = this.fb.group({ city: [8] }); // Prague pre-selected
100
- readonly editConfig: SearchableSelectConfig = {
101
- dataSource: new MockSearchableSelectDataSource(CITIES),
102
- option: {
103
- label: 'City',
104
- formControlName: 'city',
105
- displayName: 'name',
106
- isRequired: true,
107
- fontIcon: 'location_city',
108
- currentId: 8,
109
- currentLabel: 'Prague',
110
- },
111
- mode: 'edit',
112
- searchable: true,
113
- };
114
-
115
- // ── Example 4: Multiple selection ────────────────────────
116
- readonly multiForm = this.fb.group({ cities: [[]] });
117
- readonly multiConfig: SearchableSelectConfig = {
118
- dataSource: new MockSearchableSelectDataSource(CITIES),
119
- option: {
120
- label: 'Favorite cities',
121
- formControlName: 'cities',
122
- displayName: 'name',
123
- isRequired: false,
124
- fontIcon: 'location_city',
125
- },
126
- mode: 'create',
127
- searchable: true,
128
- multiple: true,
129
- };
130
-
131
- // ── Example 5: Non-searchable select ─────────────────────
132
- readonly simpleForm = this.fb.group({ city: [null] });
133
- readonly simpleConfig: SearchableSelectConfig = {
134
- option: {
135
- label: 'City (no search)',
136
- formControlName: 'city',
137
- displayName: 'name',
138
- isRequired: false,
139
- fontIcon: 'place',
140
- },
141
- mode: 'create',
142
- searchable: false,
143
- };
144
-
145
- readonly cities = CITIES;
146
-
147
- selectedCity: unknown = null;
148
- selectedLanguage: unknown = null;
149
-
150
- onCitySelect(event: any): void {
151
- this.selectedCity = event.value;
152
- }
153
-
154
- onLanguageSelect(event: any): void {
155
- this.selectedLanguage = event.value;
156
- }
157
-
158
- resetAll(): void {
159
- this.staticForm.reset();
160
- this.mockForm.reset();
161
- this.editForm.reset({ city: 8 });
162
- this.multiForm.reset({ cities: [] as any });
163
- this.simpleForm.reset();
164
- this.selectedCity = null;
165
- this.selectedLanguage = null;
166
- }
167
- }
@@ -1,16 +0,0 @@
1
- <!doctype html>
2
- <html lang="en">
3
- <head>
4
- <meta charset="utf-8">
5
- <title>ngx-mat-searchable-select — Demo</title>
6
- <base href="/">
7
- <meta name="viewport" content="width=device-width, initial-scale=1">
8
- <link rel="icon" type="image/x-icon" href="favicon.ico">
9
- <!-- Google Fonts: Roboto + Material Icons -->
10
- <link href="https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;500&display=swap" rel="stylesheet">
11
- <link href="https://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet">
12
- </head>
13
- <body>
14
- <app-root></app-root>
15
- </body>
16
- </html>
@@ -1,6 +0,0 @@
1
- import { bootstrapApplication } from '@angular/platform-browser';
2
- import { appConfig } from './app/app.config';
3
- import { App } from './app/app';
4
-
5
- bootstrapApplication(App, appConfig)
6
- .catch((err) => console.error(err));
@@ -1,31 +0,0 @@
1
- @use '@angular/material' as mat;
2
-
3
- // Use a prebuilt Angular Material theme
4
- html {
5
- @include mat.theme((
6
- color: (
7
- theme-type: light,
8
- primary: mat.$azure-palette,
9
- tertiary: mat.$blue-palette,
10
- ),
11
- typography: Roboto,
12
- density: 0,
13
- ));
14
- }
15
-
16
- /* ── Global resets ──────────────────────────────────────── */
17
- *,
18
- *::before,
19
- *::after {
20
- box-sizing: border-box;
21
- }
22
-
23
- html,
24
- body {
25
- margin: 0;
26
- padding: 0;
27
- font-family: Roboto, 'Helvetica Neue', sans-serif;
28
- background: #fafafa;
29
- color: #333;
30
- min-height: 100vh;
31
- }
@@ -1,17 +0,0 @@
1
- /* To learn more about Typescript configuration file: https://www.typescriptlang.org/docs/handbook/tsconfig-json.html. */
2
- /* To learn more about Angular compiler options: https://angular.dev/reference/configs/angular-compiler-options. */
3
- {
4
- "extends": "../../tsconfig.json",
5
- "compilerOptions": {
6
- "outDir": "../../out-tsc/app",
7
- "types": []
8
- },
9
- "include": [
10
- "src/**/*.ts",
11
- "../ngx-mat-searchable-select/src/**/*.ts"
12
- ],
13
- "exclude": [
14
- "src/**/*.spec.ts",
15
- "../ngx-mat-searchable-select/src/**/*.spec.ts"
16
- ]
17
- }