From 29a1c5d4127cf0b6a28c42095a4fb39ddf499a97 Mon Sep 17 00:00:00 2001 From: Nikita Barsukov Date: Thu, 7 Mar 2024 15:12:20 +0300 Subject: [PATCH] chore(demo): remove `b-form` global class (#6915) (cherry picked from commit 63ed8a318337b17c4280f53465a488d33b9b938f) --- .../src/modules/charts/arc-chart/examples/1/index.html | 3 ++- .../src/modules/charts/arc-chart/examples/1/index.less | 4 ++++ .../src/modules/charts/bar-chart/examples/2/index.html | 2 +- .../src/modules/charts/bar-chart/examples/2/index.less | 4 ++++ .../modules/charts/line-days-chart/examples/1/index.html | 2 +- .../modules/charts/line-days-chart/examples/2/index.html | 3 +-- .../modules/charts/line-days-chart/examples/2/index.less | 2 +- .../src/modules/components/badge/examples/3/index.ts | 4 ++-- .../src/modules/components/block/examples/3/index.html | 5 +---- .../modules/components/breadcrumbs/examples/2/index.html | 1 - .../modules/components/combo-box/combo-box.template.html | 4 ++-- .../modules/components/combo-box/examples/1/index.html | 1 - .../modules/components/combo-box/examples/2/index.html | 1 - .../modules/components/combo-box/examples/3/index.html | 5 +---- .../modules/components/combo-box/examples/4/index.html | 1 - .../modules/components/combo-box/examples/5/index.html | 5 +---- .../modules/components/combo-box/examples/6/index.html | 2 +- .../components/elastic-container/examples/4/index.html | 2 +- .../modules/components/input-copy/examples/1/index.html | 5 +---- .../components/input-copy/input-copy.template.html | 2 +- .../components/input-date-range/examples/1/index.html | 5 +---- .../components/input-date-range/examples/2/index.html | 7 +------ .../components/input-date-range/examples/3/index.html | 7 +------ .../components/input-date-range/examples/4/index.html | 7 +------ .../components/input-date-range/examples/5/index.html | 1 - .../input-date-range/input-date-range.template.html | 2 +- .../components/input-date-time/examples/1/index.html | 5 +---- .../components/input-date-time/examples/2/index.html | 5 +---- .../components/input-date-time/examples/3/index.html | 7 +------ .../components/input-date-time/examples/4/index.html | 7 +------ .../components/input-date-time/examples/5/index.html | 5 +---- .../input-date-time/input-date-time.template.html | 2 +- .../modules/components/input-date/examples/1/index.html | 1 - .../modules/components/input-date/examples/2/index.html | 5 +---- .../modules/components/input-date/examples/3/index.html | 4 ++-- .../modules/components/input-date/examples/4/index.html | 7 ++----- .../modules/components/input-date/examples/5/index.html | 8 +------- .../modules/components/input-date/examples/6/index.html | 1 - .../components/input-month-range/examples/1/index.html | 1 - .../components/input-month-range/examples/2/index.html | 5 +---- .../components/input-month-range/examples/3/index.html | 5 +---- .../input-month-range/input-month-range.template.html | 2 +- .../modules/components/input-month/examples/1/index.html | 1 - .../modules/components/input-month/examples/2/index.html | 5 +---- .../modules/components/input-month/examples/3/index.html | 1 - .../components/input-month/input-month.template.html | 2 +- .../components/input-number/examples/2/index.html | 5 +---- .../components/input-number/examples/3/index.html | 5 +---- .../components/input-number/examples/5/index.html | 1 - .../components/input-number/examples/6/index.html | 7 +------ .../components/input-number/input-number.template.html | 2 +- .../components/input-password/examples/1/index.html | 5 +---- .../components/input-password/examples/2/index.html | 5 +---- .../input-password/input-password.template.html | 2 +- .../modules/components/input-phone/examples/1/index.html | 5 +---- .../modules/components/input-phone/examples/2/index.html | 7 +------ .../modules/components/input-phone/examples/3/index.html | 1 - .../components/input-phone/input-phone.template.html | 2 +- .../modules/components/input-tag/examples/1/index.html | 2 +- .../modules/components/input-tag/examples/2/index.html | 1 - .../modules/components/input-tag/examples/3/index.html | 5 +---- .../modules/components/input-tag/examples/4/index.html | 1 - .../modules/components/input-tag/examples/7/index.html | 1 - .../modules/components/input-time/examples/1/index.html | 5 +---- .../modules/components/input-time/examples/2/index.html | 5 +---- .../modules/components/input-time/examples/3/index.html | 5 +---- .../modules/components/input-time/examples/4/index.html | 1 - .../modules/components/input-time/examples/5/index.html | 5 +---- .../modules/components/input-time/examples/6/index.html | 5 +---- .../modules/components/input-year/examples/1/index.html | 1 - .../modules/components/input-year/examples/2/index.html | 5 +---- .../components/input-year/input-year.template.html | 2 +- .../src/modules/components/input/examples/1/index.html | 5 +---- .../src/modules/components/input/examples/2/index.html | 5 +---- .../src/modules/components/input/examples/3/index.html | 5 +---- .../src/modules/components/input/examples/5/index.html | 5 +---- .../src/modules/components/input/examples/7/index.html | 1 - .../src/modules/components/input/examples/8/index.html | 1 - .../src/modules/components/input/input.template.html | 4 ++-- .../src/modules/components/label/examples/1/index.html | 5 +---- .../src/modules/components/label/examples/2/index.html | 5 +---- .../components/multi-select/examples/1/index.html | 1 - .../components/multi-select/examples/10/index.html | 8 ++++---- .../components/multi-select/examples/2/index.html | 1 - .../components/multi-select/examples/2/index.less | 4 ++++ .../components/multi-select/examples/3/index.html | 2 +- .../components/multi-select/examples/4/index.html | 1 - .../components/multi-select/examples/5/index.html | 5 ++--- .../components/multi-select/examples/7/index.html | 1 - .../components/multi-select/examples/8/index.html | 2 +- .../components/multi-select/examples/9/index.html | 1 - .../components/primitive-textfield/examples/2/index.html | 1 - .../primitive-textfield.template.html | 9 +++------ .../src/modules/components/select/examples/1/index.html | 2 +- .../src/modules/components/select/examples/10/index.html | 2 +- .../src/modules/components/select/examples/11/index.html | 2 +- .../src/modules/components/select/examples/4/index.html | 1 - .../src/modules/components/select/examples/5/index.html | 1 - .../src/modules/components/select/examples/6/index.html | 1 - .../src/modules/components/select/examples/7/index.html | 1 - .../src/modules/components/select/examples/8/index.html | 5 +---- .../src/modules/components/select/select.template.html | 4 ++-- .../modules/components/textarea/examples/5/index.html | 5 +---- .../modules/components/textarea/textarea.template.html | 4 ++-- .../modules/customization/wrapper/examples/1/index.html | 1 - .../directives/hint-describe/examples/1/index.html | 1 - .../modules/directives/validator/examples/1/index.html | 5 +---- .../directives/value-changes/examples/1/index.html | 5 +---- .../directives/value-changes/examples/2/index.html | 1 - .../src/modules/markup/skeleton/examples/1/index.html | 2 +- .../src/modules/pipes/field-error/examples/1/index.html | 5 +---- .../src/modules/pipes/field-error/examples/2/index.html | 5 +---- .../src/modules/pipes/field-error/examples/3/index.html | 1 - .../modules/pipes/filter-by-input/examples/1/index.html | 5 +---- .../modules/pipes/filter-by-input/examples/2/index.html | 5 +---- .../modules/pipes/filter-by-input/examples/3/index.html | 1 - .../pipes/stringify-content/examples/1/index.html | 1 - .../stringify-content/stringify-content.template.html | 2 +- .../src/modules/pipes/stringify/examples/1/index.html | 1 - .../modules/utils/miscellaneous/examples/6/index.html | 5 +---- projects/demo/src/styles.less | 5 ----- 121 files changed, 107 insertions(+), 301 deletions(-) diff --git a/projects/demo/src/modules/charts/arc-chart/examples/1/index.html b/projects/demo/src/modules/charts/arc-chart/examples/1/index.html index 2e821df01223..564a2c960691 100644 --- a/projects/demo/src/modules/charts/arc-chart/examples/1/index.html +++ b/projects/demo/src/modules/charts/arc-chart/examples/1/index.html @@ -1,11 +1,12 @@ activeItemIndex +
Hint appearance diff --git a/projects/demo/src/modules/charts/bar-chart/examples/2/index.less b/projects/demo/src/modules/charts/bar-chart/examples/2/index.less index cb6a3e196006..43cc9bad0bc7 100644 --- a/projects/demo/src/modules/charts/bar-chart/examples/2/index.less +++ b/projects/demo/src/modules/charts/bar-chart/examples/2/index.less @@ -17,3 +17,7 @@ display: flex; min-width: 31.25rem; } + +.select { + max-width: 20rem; +} diff --git a/projects/demo/src/modules/charts/line-days-chart/examples/1/index.html b/projects/demo/src/modules/charts/line-days-chart/examples/1/index.html index d97a3d144808..988fb7d674fd 100644 --- a/projects/demo/src/modules/charts/line-days-chart/examples/1/index.html +++ b/projects/demo/src/modules/charts/line-days-chart/examples/1/index.html @@ -1,4 +1,4 @@ -

+

diff --git a/projects/demo/src/modules/charts/line-days-chart/examples/2/index.less b/projects/demo/src/modules/charts/line-days-chart/examples/2/index.less index 5087d48a2099..c5fb5c3e4e90 100644 --- a/projects/demo/src/modules/charts/line-days-chart/examples/2/index.less +++ b/projects/demo/src/modules/charts/line-days-chart/examples/2/index.less @@ -19,7 +19,7 @@ .controls { display: flex; - .b-form { + tui-input-date-range { flex: 1; } } diff --git a/projects/demo/src/modules/components/badge/examples/3/index.ts b/projects/demo/src/modules/components/badge/examples/3/index.ts index abd68f1f8d94..2534dd38379c 100644 --- a/projects/demo/src/modules/components/badge/examples/3/index.ts +++ b/projects/demo/src/modules/components/badge/examples/3/index.ts @@ -2,13 +2,13 @@ import {Component} from '@angular/core'; import {changeDetection} from '@demo/emulate/change-detection'; import {encapsulation} from '@demo/emulate/encapsulation'; import {TuiPlatformModule} from '@taiga-ui/cdk'; -import {TuiIconModule} from '@taiga-ui/experimental'; +import {TuiIconComponent} from '@taiga-ui/core'; import {TuiBadgeDirective} from '@taiga-ui/kit'; @Component({ standalone: true, selector: 'tui-badge-example-3', - imports: [TuiBadgeDirective, TuiPlatformModule, TuiIconModule], + imports: [TuiBadgeDirective, TuiPlatformModule, TuiIconComponent], templateUrl: './index.html', styleUrls: ['./index.less'], encapsulation, diff --git a/projects/demo/src/modules/components/block/examples/3/index.html b/projects/demo/src/modules/components/block/examples/3/index.html index 5298584211d8..86e178bb008e 100644 --- a/projects/demo/src/modules/components/block/examples/3/index.html +++ b/projects/demo/src/modules/components/block/examples/3/index.html @@ -1,7 +1,4 @@ -

+