From 5ed6d91645d1faa021b6bb7b507e43a28be9a5a7 Mon Sep 17 00:00:00 2001 From: Dmitry Kuzin Date: Tue, 11 Jun 2024 15:44:56 +0400 Subject: [PATCH 1/3] Implement spans with responsive titles instead of :before element --- .../matrixdropdowncell.component.html | 3 +- .../questions/matrixdropdowncell.component.ts | 3 - .../src/MatrixDropdownCellComp.vue | 4 +- src/defaultCss/cssmodern.ts | 2 + src/defaultCss/cssstandard.ts | 2 + src/defaultCss/defaultV2Css.ts | 2 + src/defaultV2-theme/blocks/sd-table.scss | 120 ++++---- .../templates/question-matrixdynamic.html | 15 +- src/main.m600.scss | 11 +- src/modern.m600.scss | 11 +- src/question_matrixdropdownrendered.ts | 9 + src/react/reactquestion.tsx | 15 +- .../reactquestion_matrixdropdownbase.tsx | 10 +- src/vue/matrixdropdowncell.vue | 4 +- .../martix-celltype-text-a11y.snap.html | 16 +- ...atrixdropdown-cell-errors-bottom.snap.html | 8 +- .../matrixdropdown-cell-errors-top.snap.html | 8 +- .../matrixdropdown-disabled.snap.html | 98 +++--- .../matrixdropdown-readonly.snap.html | 98 +++--- .../matrixdropdown-vertical.snap.html | 98 +++--- .../markup/snapshots/matrixdropdown.snap.html | 98 +++--- .../snapshots/matrixdynamic-default.snap.html | 16 +- .../matrixdynamic-defaultV2.snap.html | 16 +- ...-show-in-multiple-columns-mobile.snap.html | 168 ++++++----- ...dynamic-show-in-multiple-columns.snap.html | 8 +- .../snapshots/matrixdynamic-totals.snap.html | 284 +++++++++--------- 26 files changed, 575 insertions(+), 552 deletions(-) diff --git a/packages/survey-angular-ui/src/questions/matrixdropdowncell.component.html b/packages/survey-angular-ui/src/questions/matrixdropdowncell.component.html index 2fd00808ca..894b956519 100644 --- a/packages/survey-angular-ui/src/questions/matrixdropdowncell.component.html +++ b/packages/survey-angular-ui/src/questions/matrixdropdowncell.component.html @@ -1,5 +1,5 @@ - @@ -8,6 +8,7 @@
+
diff --git a/packages/survey-angular-ui/src/questions/matrixdropdowncell.component.ts b/packages/survey-angular-ui/src/questions/matrixdropdowncell.component.ts index 9ec7cd063a..0601415ed5 100644 --- a/packages/survey-angular-ui/src/questions/matrixdropdowncell.component.ts +++ b/packages/survey-angular-ui/src/questions/matrixdropdowncell.component.ts @@ -67,9 +67,6 @@ export class MatrixDropdownCellComponent extends BaseAngular { } getComponentName(element: Question) { return getComponentName(element); } - getHeaders(): string { - return this.cell.headers; - } getCellStyle() { if (!!this.cell.width || !!this.cell.minWidth) return { width: this.cell.width, minWidth: this.cell.minWidth }; diff --git a/packages/survey-vue3-ui/src/MatrixDropdownCellComp.vue b/packages/survey-vue3-ui/src/MatrixDropdownCellComp.vue index f7c6b81d87..41fba21590 100644 --- a/packages/survey-vue3-ui/src/MatrixDropdownCellComp.vue +++ b/packages/survey-vue3-ui/src/MatrixDropdownCellComp.vue @@ -1,7 +1,6 @@