@testgorilla/tgo-ui 11.22.3 → 12.0.1
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/fesm2022/testgorilla-tgo-ui-components-accordion.mjs +335 -229
- package/fesm2022/testgorilla-tgo-ui-components-accordion.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-ai-audio-circle.mjs +547 -465
- package/fesm2022/testgorilla-tgo-ui-components-ai-audio-circle.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-ai-caveat.mjs +160 -75
- package/fesm2022/testgorilla-tgo-ui-components-ai-caveat.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-ai-feedback.mjs +678 -278
- package/fesm2022/testgorilla-tgo-ui-components-ai-feedback.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-alert-banner.mjs +337 -274
- package/fesm2022/testgorilla-tgo-ui-components-alert-banner.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-audio-waveform.mjs +351 -192
- package/fesm2022/testgorilla-tgo-ui-components-audio-waveform.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-autocomplete-v2.mjs +1950 -960
- package/fesm2022/testgorilla-tgo-ui-components-autocomplete-v2.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-autocomplete.mjs +1206 -1044
- package/fesm2022/testgorilla-tgo-ui-components-autocomplete.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-avatar.mjs +328 -182
- package/fesm2022/testgorilla-tgo-ui-components-avatar.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-badge.mjs +383 -203
- package/fesm2022/testgorilla-tgo-ui-components-badge.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-breadcrumb.mjs +553 -261
- package/fesm2022/testgorilla-tgo-ui-components-breadcrumb.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-button.mjs +709 -739
- package/fesm2022/testgorilla-tgo-ui-components-button.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-card.mjs +219 -184
- package/fesm2022/testgorilla-tgo-ui-components-card.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-checkbox.mjs +515 -458
- package/fesm2022/testgorilla-tgo-ui-components-checkbox.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-checklist.mjs +423 -162
- package/fesm2022/testgorilla-tgo-ui-components-checklist.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-core.mjs +10784 -10996
- package/fesm2022/testgorilla-tgo-ui-components-core.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-datepicker.mjs +810 -533
- package/fesm2022/testgorilla-tgo-ui-components-datepicker.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-device-control.mjs +473 -116
- package/fesm2022/testgorilla-tgo-ui-components-device-control.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-dialog.mjs +1149 -540
- package/fesm2022/testgorilla-tgo-ui-components-dialog.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-divider.mjs +148 -84
- package/fesm2022/testgorilla-tgo-ui-components-divider.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-donut-chart.mjs +239 -142
- package/fesm2022/testgorilla-tgo-ui-components-donut-chart.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-dropdown.mjs +599 -467
- package/fesm2022/testgorilla-tgo-ui-components-dropdown.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-elevation-shadow.mjs +126 -70
- package/fesm2022/testgorilla-tgo-ui-components-elevation-shadow.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-empty-state.mjs +324 -329
- package/fesm2022/testgorilla-tgo-ui-components-empty-state.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-field.mjs +969 -648
- package/fesm2022/testgorilla-tgo-ui-components-field.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-file-upload.mjs +553 -419
- package/fesm2022/testgorilla-tgo-ui-components-file-upload.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-filter-button.mjs +847 -452
- package/fesm2022/testgorilla-tgo-ui-components-filter-button.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-gaussian-chart.mjs +398 -302
- package/fesm2022/testgorilla-tgo-ui-components-gaussian-chart.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-icon-label.mjs +162 -95
- package/fesm2022/testgorilla-tgo-ui-components-icon-label.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-icon.mjs +1825 -1795
- package/fesm2022/testgorilla-tgo-ui-components-icon.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-infinite-scroll-table.mjs +1018 -672
- package/fesm2022/testgorilla-tgo-ui-components-infinite-scroll-table.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-inline-field.mjs +758 -368
- package/fesm2022/testgorilla-tgo-ui-components-inline-field.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-logo.mjs +204 -212
- package/fesm2022/testgorilla-tgo-ui-components-logo.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-media-card.mjs +183 -48
- package/fesm2022/testgorilla-tgo-ui-components-media-card.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-media-dialog.mjs +243 -79
- package/fesm2022/testgorilla-tgo-ui-components-media-dialog.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-multi-input.mjs +751 -361
- package/fesm2022/testgorilla-tgo-ui-components-multi-input.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-navbar.mjs +1122 -385
- package/fesm2022/testgorilla-tgo-ui-components-navbar.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-overflow-menu.mjs +689 -413
- package/fesm2022/testgorilla-tgo-ui-components-overflow-menu.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-page-header.mjs +227 -92
- package/fesm2022/testgorilla-tgo-ui-components-page-header.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-paginator.mjs +174 -113
- package/fesm2022/testgorilla-tgo-ui-components-paginator.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-password-criteria.mjs +367 -165
- package/fesm2022/testgorilla-tgo-ui-components-password-criteria.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-password-strength.mjs +253 -118
- package/fesm2022/testgorilla-tgo-ui-components-password-strength.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-phone-input.mjs +730 -444
- package/fesm2022/testgorilla-tgo-ui-components-phone-input.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-popover.mjs +533 -221
- package/fesm2022/testgorilla-tgo-ui-components-popover.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-popup-tip.mjs +274 -76
- package/fesm2022/testgorilla-tgo-ui-components-popup-tip.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-progress-bar.mjs +184 -124
- package/fesm2022/testgorilla-tgo-ui-components-progress-bar.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-prompt.mjs +1223 -574
- package/fesm2022/testgorilla-tgo-ui-components-prompt.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-radial-progress.mjs +249 -160
- package/fesm2022/testgorilla-tgo-ui-components-radial-progress.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-radio-button.mjs +447 -439
- package/fesm2022/testgorilla-tgo-ui-components-radio-button.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-rating.mjs +226 -150
- package/fesm2022/testgorilla-tgo-ui-components-rating.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-scale-table.mjs +255 -67
- package/fesm2022/testgorilla-tgo-ui-components-scale-table.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-scale.mjs +205 -162
- package/fesm2022/testgorilla-tgo-ui-components-scale.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-segmented-bar.mjs +245 -153
- package/fesm2022/testgorilla-tgo-ui-components-segmented-bar.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-segmented-button.mjs +274 -140
- package/fesm2022/testgorilla-tgo-ui-components-segmented-button.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-segmented-toggle.mjs +319 -147
- package/fesm2022/testgorilla-tgo-ui-components-segmented-toggle.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-selectable-card.mjs +286 -84
- package/fesm2022/testgorilla-tgo-ui-components-selectable-card.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-side-navigation.mjs +660 -208
- package/fesm2022/testgorilla-tgo-ui-components-side-navigation.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-side-panel.mjs +579 -320
- package/fesm2022/testgorilla-tgo-ui-components-side-panel.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-side-sheet.mjs +419 -200
- package/fesm2022/testgorilla-tgo-ui-components-side-sheet.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-skeleton.mjs +132 -80
- package/fesm2022/testgorilla-tgo-ui-components-skeleton.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-slider.mjs +741 -390
- package/fesm2022/testgorilla-tgo-ui-components-slider.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-snackbar.mjs +455 -329
- package/fesm2022/testgorilla-tgo-ui-components-snackbar.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-spider-chart.mjs +543 -514
- package/fesm2022/testgorilla-tgo-ui-components-spider-chart.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-spinner.mjs +193 -104
- package/fesm2022/testgorilla-tgo-ui-components-spinner.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-stepper.mjs +760 -524
- package/fesm2022/testgorilla-tgo-ui-components-stepper.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-table.mjs +714 -415
- package/fesm2022/testgorilla-tgo-ui-components-table.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-tabs.mjs +847 -438
- package/fesm2022/testgorilla-tgo-ui-components-tabs.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-tag.mjs +535 -275
- package/fesm2022/testgorilla-tgo-ui-components-tag.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-toggle.mjs +316 -246
- package/fesm2022/testgorilla-tgo-ui-components-toggle.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-tooltip.mjs +404 -284
- package/fesm2022/testgorilla-tgo-ui-components-tooltip.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-universal-skills.mjs +664 -383
- package/fesm2022/testgorilla-tgo-ui-components-universal-skills.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-validation-error.mjs +201 -112
- package/fesm2022/testgorilla-tgo-ui-components-validation-error.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-write-with-ai.mjs +1014 -458
- package/fesm2022/testgorilla-tgo-ui-components-write-with-ai.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui.mjs +147 -155
- package/fesm2022/testgorilla-tgo-ui.mjs.map +1 -1
- package/mcp/catalog.json +1 -1
- package/package.json +16 -17
- package/projects/tgo-canopy-ui/theme/_palette.scss +23 -18
- package/types/testgorilla-tgo-ui-components-accordion.d.ts +214 -158
- package/types/testgorilla-tgo-ui-components-ai-audio-circle.d.ts +93 -69
- package/types/testgorilla-tgo-ui-components-ai-caveat.d.ts +37 -34
- package/types/testgorilla-tgo-ui-components-ai-feedback.d.ts +126 -86
- package/types/testgorilla-tgo-ui-components-alert-banner.d.ts +260 -185
- package/types/testgorilla-tgo-ui-components-audio-waveform.d.ts +96 -67
- package/types/testgorilla-tgo-ui-components-autocomplete-v2.d.ts +455 -256
- package/types/testgorilla-tgo-ui-components-autocomplete.d.ts +545 -390
- package/types/testgorilla-tgo-ui-components-avatar.d.ts +128 -102
- package/types/testgorilla-tgo-ui-components-badge.d.ts +191 -139
- package/types/testgorilla-tgo-ui-components-breadcrumb.d.ts +100 -62
- package/types/testgorilla-tgo-ui-components-button.d.ts +479 -340
- package/types/testgorilla-tgo-ui-components-card.d.ts +153 -114
- package/types/testgorilla-tgo-ui-components-checkbox.d.ts +299 -223
- package/types/testgorilla-tgo-ui-components-checklist.d.ts +149 -97
- package/types/testgorilla-tgo-ui-components-core.d.ts +307 -295
- package/types/testgorilla-tgo-ui-components-datepicker.d.ts +404 -299
- package/types/testgorilla-tgo-ui-components-device-control.d.ts +151 -81
- package/types/testgorilla-tgo-ui-components-dialog.d.ts +442 -329
- package/types/testgorilla-tgo-ui-components-divider.d.ts +64 -51
- package/types/testgorilla-tgo-ui-components-donut-chart.d.ts +41 -37
- package/types/testgorilla-tgo-ui-components-dropdown.d.ts +335 -241
- package/types/testgorilla-tgo-ui-components-elevation-shadow.d.ts +48 -43
- package/types/testgorilla-tgo-ui-components-empty-state.d.ts +317 -215
- package/types/testgorilla-tgo-ui-components-field.d.ts +559 -388
- package/types/testgorilla-tgo-ui-components-file-upload.d.ts +230 -168
- package/types/testgorilla-tgo-ui-components-filter-button.d.ts +263 -206
- package/types/testgorilla-tgo-ui-components-gaussian-chart.d.ts +107 -94
- package/types/testgorilla-tgo-ui-components-icon-label.d.ts +84 -61
- package/types/testgorilla-tgo-ui-components-icon.d.ts +137 -110
- package/types/testgorilla-tgo-ui-components-infinite-scroll-table.d.ts +429 -303
- package/types/testgorilla-tgo-ui-components-inline-field.d.ts +338 -254
- package/types/testgorilla-tgo-ui-components-logo.d.ts +119 -101
- package/types/testgorilla-tgo-ui-components-media-card.d.ts +51 -35
- package/types/testgorilla-tgo-ui-components-media-dialog.d.ts +40 -45
- package/types/testgorilla-tgo-ui-components-multi-input.d.ts +283 -194
- package/types/testgorilla-tgo-ui-components-navbar.d.ts +326 -208
- package/types/testgorilla-tgo-ui-components-overflow-menu.d.ts +276 -204
- package/types/testgorilla-tgo-ui-components-page-header.d.ts +67 -50
- package/types/testgorilla-tgo-ui-components-paginator.d.ts +103 -70
- package/types/testgorilla-tgo-ui-components-password-criteria.d.ts +67 -58
- package/types/testgorilla-tgo-ui-components-password-strength.d.ts +66 -57
- package/types/testgorilla-tgo-ui-components-phone-input.d.ts +217 -175
- package/types/testgorilla-tgo-ui-components-popover.d.ts +94 -53
- package/types/testgorilla-tgo-ui-components-popup-tip.d.ts +81 -44
- package/types/testgorilla-tgo-ui-components-progress-bar.d.ts +115 -84
- package/types/testgorilla-tgo-ui-components-prompt.d.ts +315 -219
- package/types/testgorilla-tgo-ui-components-radial-progress.d.ts +146 -107
- package/types/testgorilla-tgo-ui-components-radio-button.d.ts +296 -219
- package/types/testgorilla-tgo-ui-components-rating.d.ts +134 -95
- package/types/testgorilla-tgo-ui-components-scale-table.d.ts +67 -47
- package/types/testgorilla-tgo-ui-components-scale.d.ts +91 -66
- package/types/testgorilla-tgo-ui-components-segmented-bar.d.ts +118 -89
- package/types/testgorilla-tgo-ui-components-segmented-button.d.ts +107 -80
- package/types/testgorilla-tgo-ui-components-segmented-toggle.d.ts +138 -105
- package/types/testgorilla-tgo-ui-components-selectable-card.d.ts +90 -56
- package/types/testgorilla-tgo-ui-components-side-navigation.d.ts +183 -107
- package/types/testgorilla-tgo-ui-components-side-panel.d.ts +156 -145
- package/types/testgorilla-tgo-ui-components-side-sheet.d.ts +98 -89
- package/types/testgorilla-tgo-ui-components-skeleton.d.ts +50 -33
- package/types/testgorilla-tgo-ui-components-slider.d.ts +278 -198
- package/types/testgorilla-tgo-ui-components-snackbar.d.ts +211 -159
- package/types/testgorilla-tgo-ui-components-spider-chart.d.ts +140 -121
- package/types/testgorilla-tgo-ui-components-spinner.d.ts +93 -72
- package/types/testgorilla-tgo-ui-components-stepper.d.ts +480 -338
- package/types/testgorilla-tgo-ui-components-table.d.ts +280 -233
- package/types/testgorilla-tgo-ui-components-tabs.d.ts +282 -183
- package/types/testgorilla-tgo-ui-components-tag.d.ts +266 -193
- package/types/testgorilla-tgo-ui-components-toggle.d.ts +180 -132
- package/types/testgorilla-tgo-ui-components-tooltip.d.ts +142 -105
- package/types/testgorilla-tgo-ui-components-universal-skills.d.ts +165 -144
- package/types/testgorilla-tgo-ui-components-validation-error.d.ts +70 -51
- package/types/testgorilla-tgo-ui-components-write-with-ai.d.ts +210 -133
- package/types/testgorilla-tgo-ui.d.ts +52 -45
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@testgorilla/tgo-ui",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "12.0.1",
|
|
4
4
|
"license": "proprietary-license",
|
|
5
5
|
"lint-staged": {
|
|
6
6
|
"{projects,components}/**/*.ts": [
|
|
@@ -15,16 +15,16 @@
|
|
|
15
15
|
"tslib": "~2.4.0"
|
|
16
16
|
},
|
|
17
17
|
"peerDependencies": {
|
|
18
|
-
"@angular/animations": "~
|
|
19
|
-
"@angular/cdk": "~
|
|
20
|
-
"@angular/common": "~
|
|
21
|
-
"@angular/compiler": "~
|
|
22
|
-
"@angular/core": "~
|
|
23
|
-
"@angular/forms": "~
|
|
24
|
-
"@angular/material": "~
|
|
25
|
-
"@angular/platform-browser": "~
|
|
26
|
-
"@angular/platform-browser-dynamic": "~
|
|
27
|
-
"@angular/router": "~
|
|
18
|
+
"@angular/animations": "~22.2.4",
|
|
19
|
+
"@angular/cdk": "~22.2.5",
|
|
20
|
+
"@angular/common": "~22.2.4",
|
|
21
|
+
"@angular/compiler": "~22.2.4",
|
|
22
|
+
"@angular/core": "~22.2.4",
|
|
23
|
+
"@angular/forms": "~22.2.4",
|
|
24
|
+
"@angular/material": "~22.2.5",
|
|
25
|
+
"@angular/platform-browser": "~22.2.4",
|
|
26
|
+
"@angular/platform-browser-dynamic": "~22.2.4",
|
|
27
|
+
"@angular/router": "~22.2.4",
|
|
28
28
|
"chart.js": "^4.4.5",
|
|
29
29
|
"chartjs-plugin-datalabels": "^2.2.0",
|
|
30
30
|
"gaussian": "^1.3.0",
|
|
@@ -35,10 +35,10 @@
|
|
|
35
35
|
"ngx-skeleton-loader": "^12.0.0",
|
|
36
36
|
"rxjs": "~7.8.0",
|
|
37
37
|
"svg-country-flags": "^1.2.10",
|
|
38
|
-
"zone.js": "
|
|
38
|
+
"zone.js": "~0.15.1 || ~0.16.0"
|
|
39
39
|
},
|
|
40
40
|
"engines": {
|
|
41
|
-
"node": "
|
|
41
|
+
"node": "^22.22.3 || ^24.15.0 || >=26.0.0",
|
|
42
42
|
"npm": ">=11.5.1"
|
|
43
43
|
},
|
|
44
44
|
"packageManager": "npm@11.11.0",
|
|
@@ -72,11 +72,10 @@
|
|
|
72
72
|
".": "~1.32.1",
|
|
73
73
|
"@hono/node-server": "^2.0.5"
|
|
74
74
|
},
|
|
75
|
-
"less": "^4.8.1",
|
|
76
75
|
"webpack-dev-middleware": "^7.4.6",
|
|
77
|
-
"
|
|
78
|
-
|
|
79
|
-
|
|
76
|
+
"madge": {
|
|
77
|
+
"typescript": "$typescript"
|
|
78
|
+
}
|
|
80
79
|
},
|
|
81
80
|
"module": "fesm2022/testgorilla-tgo-ui.mjs",
|
|
82
81
|
"typings": "types/testgorilla-tgo-ui.d.ts",
|
|
@@ -87,24 +87,20 @@ $tgo-petrol: mat.m2-define-palette($tgo-petrol-palette, 500);
|
|
|
87
87
|
//error
|
|
88
88
|
$tgo-error: mat.m2-define-palette($tgo-error-palette, 500);
|
|
89
89
|
//typography
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
mat.m2-define-typography-level(
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
$font-size: 14px,
|
|
105
|
-
$letter-spacing: normal,
|
|
106
|
-
),
|
|
107
|
-
);
|
|
90
|
+
@function tgo-typography-config($font-family) {
|
|
91
|
+
@return mat.m2-define-typography-config(
|
|
92
|
+
$font-family: $font-family,
|
|
93
|
+
$body-1: mat.m2-define-typography-level($font-size: 14px, $letter-spacing: normal),
|
|
94
|
+
$body-2: mat.m2-define-typography-level($font-size: 14px, $letter-spacing: normal),
|
|
95
|
+
$button: mat.m2-define-typography-level($font-size: 14px, $letter-spacing: normal)
|
|
96
|
+
);
|
|
97
|
+
}
|
|
98
|
+
|
|
99
|
+
// Classic theme
|
|
100
|
+
$tgo-typography: tgo-typography-config("'Open Sans', sans-serif");
|
|
101
|
+
|
|
102
|
+
// Rebrand themes ([theme='light'] / [theme='dark'])
|
|
103
|
+
$tgo-rebrand-typography: tgo-typography-config("'ModernGothic', sans-serif");
|
|
108
104
|
|
|
109
105
|
$my-theme: mat.m2-define-light-theme(
|
|
110
106
|
(
|
|
@@ -119,3 +115,12 @@ $my-theme: mat.m2-define-light-theme(
|
|
|
119
115
|
);
|
|
120
116
|
@include mat.typography-hierarchy($tgo-typography);
|
|
121
117
|
@include mat.all-component-themes($my-theme);
|
|
118
|
+
|
|
119
|
+
// The rebrand themes apply ModernGothic through a `[theme] *` rule, but Material's own elements
|
|
120
|
+
// (tooltip surface, form-field floating label, options, …) set their font from these typography
|
|
121
|
+
// tokens with a more specific selector, so they kept the classic Open Sans. Re-emit the tokens
|
|
122
|
+
// with ModernGothic for the rebrand scope (design-approved); sizes and weights are unchanged.
|
|
123
|
+
*[theme='dark'],
|
|
124
|
+
*[theme='light'] {
|
|
125
|
+
@include mat.all-component-typographies($tgo-rebrand-typography);
|
|
126
|
+
}
|
|
@@ -1,160 +1,216 @@
|
|
|
1
|
-
import * as i0 from
|
|
2
|
-
import { EventEmitter } from
|
|
3
|
-
import { ApplicationTheme } from
|
|
4
|
-
|
|
5
|
-
import
|
|
6
|
-
import
|
|
7
|
-
import * as
|
|
8
|
-
import * as
|
|
9
|
-
import * as
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
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
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import { EventEmitter } from "@angular/core";
|
|
3
|
+
import { ApplicationTheme, ApplicationTheme as ApplicationTheme$1 } from "@testgorilla/tgo-ui/components/core";
|
|
4
|
+
import * as i2 from "@testgorilla/tgo-ui/components/icon";
|
|
5
|
+
import { IconName } from "@testgorilla/tgo-ui/components/icon";
|
|
6
|
+
import * as i1 from "@angular/common";
|
|
7
|
+
import * as i3 from "@testgorilla/tgo-ui/components/button";
|
|
8
|
+
import * as i4 from "@angular/material/tooltip";
|
|
9
|
+
import * as i5 from "@angular/material/expansion";
|
|
10
|
+
export type AccordionVariant = 'standard' | 'filter' | 'table';
|
|
11
|
+
export type ToggleIconPosition = 'left' | 'right';
|
|
12
|
+
export declare class AccordionComponent {
|
|
13
|
+
private readonly defaultAppTheme;
|
|
14
|
+
/**
|
|
15
|
+
* The label displayed for the accordion.
|
|
16
|
+
* @type {string}
|
|
17
|
+
* @required
|
|
18
|
+
* @memberof AccordionComponent
|
|
19
|
+
*/
|
|
20
|
+
label: string;
|
|
21
|
+
/**
|
|
22
|
+
* Determines whether the accordion is initially open.
|
|
23
|
+
* @type {boolean}
|
|
24
|
+
* @default false
|
|
25
|
+
* @memberof AccordionComponent
|
|
26
|
+
*/
|
|
27
|
+
open: boolean;
|
|
28
|
+
/**
|
|
29
|
+
* Disables the accordion if set to true.
|
|
30
|
+
* @type {boolean}
|
|
31
|
+
* @default false
|
|
32
|
+
* @memberof AccordionComponent
|
|
33
|
+
*/
|
|
34
|
+
disabled: boolean;
|
|
35
|
+
/**
|
|
36
|
+
* Indicates whether to show a premium icon.
|
|
37
|
+
* @type {boolean}
|
|
38
|
+
* @default false
|
|
39
|
+
* @memberof AccordionComponent
|
|
40
|
+
*/
|
|
41
|
+
showPremiumIcon: boolean;
|
|
42
|
+
/**
|
|
43
|
+
* The tooltip text for the premium icon.
|
|
44
|
+
* @type {string}
|
|
45
|
+
* @default ''
|
|
46
|
+
* @memberof AccordionComponent
|
|
47
|
+
*/
|
|
48
|
+
premiumTooltipText: string;
|
|
49
|
+
/**
|
|
50
|
+
*
|
|
51
|
+
* Defines the application theme where accordion is used
|
|
52
|
+
*
|
|
53
|
+
* @type {ApplicationTheme}
|
|
54
|
+
* @memberof AccordionComponent
|
|
55
|
+
*/
|
|
56
|
+
applicationTheme: ApplicationTheme$1;
|
|
57
|
+
/**
|
|
58
|
+
*
|
|
59
|
+
* Changed premium icon on this icon
|
|
60
|
+
*
|
|
61
|
+
* @type {IconName}
|
|
62
|
+
* @memberof AccordionComponent
|
|
63
|
+
*/
|
|
64
|
+
labelIcon: IconName;
|
|
65
|
+
/**
|
|
66
|
+
*
|
|
67
|
+
* Select accordion variant. Don`t work on Classic theme
|
|
68
|
+
*
|
|
69
|
+
* @type {AccordionVariant}
|
|
70
|
+
* @memberof AccordionComponent
|
|
71
|
+
*/
|
|
72
|
+
variant: AccordionVariant;
|
|
73
|
+
/**
|
|
74
|
+
*
|
|
75
|
+
* Projects content with attribute 'customHeader'
|
|
76
|
+
*
|
|
77
|
+
* @type {boolean}
|
|
78
|
+
* @memberof AccordionComponent
|
|
79
|
+
*/
|
|
80
|
+
allowCustomHeader: boolean;
|
|
81
|
+
/**
|
|
82
|
+
*
|
|
83
|
+
* Sets background color of content to none
|
|
84
|
+
*
|
|
85
|
+
* @type {boolean}
|
|
86
|
+
* @memberof AccordionComponent
|
|
87
|
+
*/
|
|
88
|
+
noBackgroundColor: boolean;
|
|
89
|
+
/**
|
|
90
|
+
*
|
|
91
|
+
* Defines the toggle icon position. `right` keeps the icon at the trailing edge of the
|
|
92
|
+
* header, `left` moves it in front of the label. The `table` variant is the exception:
|
|
93
|
+
* its chevron is part of the row layout and always sits in front of the label.
|
|
94
|
+
*
|
|
95
|
+
* @type {boolean}
|
|
96
|
+
* @memberof AccordionComponent
|
|
97
|
+
*/
|
|
98
|
+
toggleIconPosition: ToggleIconPosition;
|
|
99
|
+
/**
|
|
100
|
+
*
|
|
101
|
+
* Replaces the default expansion chevron with the given icon, placed according to
|
|
102
|
+
* `toggleIconPosition`.
|
|
103
|
+
*
|
|
104
|
+
* @type {IconName}
|
|
105
|
+
* @memberof AccordionComponent
|
|
106
|
+
*/
|
|
107
|
+
toggleIcon: IconName;
|
|
108
|
+
/**
|
|
109
|
+
*
|
|
110
|
+
* Icon shown while the accordion is open. Requires `toggleIcon`.
|
|
111
|
+
* When omitted, `toggleIcon` rotates 180° instead of being swapped.
|
|
112
|
+
*
|
|
113
|
+
* @type {IconName}
|
|
114
|
+
* @memberof AccordionComponent
|
|
115
|
+
*/
|
|
116
|
+
toggleIconExpanded: IconName;
|
|
117
|
+
/**
|
|
118
|
+
*
|
|
119
|
+
* Renders the label in bold. Don`t work on Classic theme
|
|
120
|
+
*
|
|
121
|
+
* @type {boolean}
|
|
122
|
+
* @default false
|
|
123
|
+
* @memberof AccordionComponent
|
|
124
|
+
*/
|
|
125
|
+
boldLabel: boolean;
|
|
126
|
+
closed: EventEmitter<void>;
|
|
127
|
+
opened: EventEmitter<void>;
|
|
128
|
+
constructor(defaultAppTheme: ApplicationTheme$1);
|
|
129
|
+
protected get isTableVariant(): boolean;
|
|
130
|
+
/** Whether the component renders the toggle icon itself instead of Material's indicator. */
|
|
131
|
+
protected get hasToggleIcon(): boolean;
|
|
132
|
+
/**
|
|
133
|
+
* The `table` variant renders its chevron as part of the row layout, so it stays in front
|
|
134
|
+
* of the label whatever `toggleIconPosition` says — unless a custom icon replaces it.
|
|
135
|
+
*/
|
|
136
|
+
protected get isToggleIconLeading(): boolean;
|
|
137
|
+
protected get hasLeadingToggleIcon(): boolean;
|
|
138
|
+
protected get hasTrailingToggleIcon(): boolean;
|
|
139
|
+
protected get resolvedToggleIcon(): IconName;
|
|
140
|
+
protected get rotatesToggleIcon(): boolean;
|
|
141
|
+
protected toggle(open: boolean): void;
|
|
142
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AccordionComponent, [{
|
|
143
|
+
optional: true;
|
|
144
|
+
}]>;
|
|
145
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AccordionComponent, "ui-accordion", never, {
|
|
146
|
+
"label": {
|
|
147
|
+
"alias": "label";
|
|
148
|
+
"required": true;
|
|
149
|
+
};
|
|
150
|
+
"open": {
|
|
151
|
+
"alias": "open";
|
|
152
|
+
"required": false;
|
|
153
|
+
};
|
|
154
|
+
"disabled": {
|
|
155
|
+
"alias": "disabled";
|
|
156
|
+
"required": false;
|
|
157
|
+
};
|
|
158
|
+
"showPremiumIcon": {
|
|
159
|
+
"alias": "showPremiumIcon";
|
|
160
|
+
"required": false;
|
|
161
|
+
};
|
|
162
|
+
"premiumTooltipText": {
|
|
163
|
+
"alias": "premiumTooltipText";
|
|
164
|
+
"required": false;
|
|
165
|
+
};
|
|
166
|
+
"applicationTheme": {
|
|
167
|
+
"alias": "applicationTheme";
|
|
168
|
+
"required": false;
|
|
169
|
+
};
|
|
170
|
+
"labelIcon": {
|
|
171
|
+
"alias": "labelIcon";
|
|
172
|
+
"required": false;
|
|
173
|
+
};
|
|
174
|
+
"variant": {
|
|
175
|
+
"alias": "variant";
|
|
176
|
+
"required": false;
|
|
177
|
+
};
|
|
178
|
+
"allowCustomHeader": {
|
|
179
|
+
"alias": "allowCustomHeader";
|
|
180
|
+
"required": false;
|
|
181
|
+
};
|
|
182
|
+
"noBackgroundColor": {
|
|
183
|
+
"alias": "noBackgroundColor";
|
|
184
|
+
"required": false;
|
|
185
|
+
};
|
|
186
|
+
"toggleIconPosition": {
|
|
187
|
+
"alias": "toggleIconPosition";
|
|
188
|
+
"required": false;
|
|
189
|
+
};
|
|
190
|
+
"toggleIcon": {
|
|
191
|
+
"alias": "toggleIcon";
|
|
192
|
+
"required": false;
|
|
193
|
+
};
|
|
194
|
+
"toggleIconExpanded": {
|
|
195
|
+
"alias": "toggleIconExpanded";
|
|
196
|
+
"required": false;
|
|
197
|
+
};
|
|
198
|
+
"boldLabel": {
|
|
199
|
+
"alias": "boldLabel";
|
|
200
|
+
"required": false;
|
|
201
|
+
};
|
|
202
|
+
}, {
|
|
203
|
+
"closed": "closed";
|
|
204
|
+
"opened": "opened";
|
|
205
|
+
}, never, ["[subHeader]", "[customHeader]", "[actions]", "*"], true, never>;
|
|
206
|
+
static ngAcceptInputType_open: unknown;
|
|
207
|
+
static ngAcceptInputType_disabled: unknown;
|
|
208
|
+
static ngAcceptInputType_showPremiumIcon: unknown;
|
|
209
|
+
static ngAcceptInputType_boldLabel: unknown;
|
|
151
210
|
}
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
static ɵinj: i0.ɵɵInjectorDeclaration<AccordionComponentModule>;
|
|
211
|
+
export declare class AccordionComponentModule {
|
|
212
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AccordionComponentModule, never>;
|
|
213
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<AccordionComponentModule, never, [typeof i1.CommonModule, typeof i2.IconComponentModule, typeof i3.ButtonComponentModule, typeof i4.MatTooltipModule, typeof i5.MatExpansionModule, typeof AccordionComponent], [typeof AccordionComponent]>;
|
|
214
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<AccordionComponentModule>;
|
|
157
215
|
}
|
|
158
|
-
|
|
159
|
-
export { AccordionComponent, AccordionComponentModule };
|
|
160
|
-
export type { AccordionVariant, ToggleIconPosition };
|
|
216
|
+
export { ApplicationTheme };
|