Skip to content

Commit

Permalink
refactor(kit)!: drop Action and MarkerIcon (#7176)
Browse files Browse the repository at this point in the history
Co-authored-by: taiga-family-bot <[email protected]>
  • Loading branch information
waterplea and taiga-family-bot authored Apr 5, 2024
1 parent c3d99ae commit fc71d03
Show file tree
Hide file tree
Showing 74 changed files with 73 additions and 1,574 deletions.
11 changes: 10 additions & 1 deletion projects/core/styles/theme/appearance/status.less
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
[tuiAppearance][data-appearance='warning'],
[tuiAppearance][data-appearance='info'],
[tuiAppearance][data-appearance='neutral'] {
color: var(--tui-text-01);
background: var(--t-bg);

&:checked {
Expand All @@ -16,6 +15,8 @@
[tuiAppearance][data-appearance='error'] {
--t-bg: var(--tui-error-bg);

color: var(--tui-error-fill);

.appearance-hover({
--t-bg: var(--tui-error-bg-hover);
});
Expand All @@ -32,6 +33,8 @@
[tuiAppearance][data-appearance='success'] {
--t-bg: var(--tui-success-bg);

color: var(--tui-success-fill);

.appearance-hover({
--t-bg: var(--tui-success-bg-hover);
});
Expand All @@ -48,6 +51,8 @@
[tuiAppearance][data-appearance='warning'] {
--t-bg: var(--tui-warning-bg);

color: var(--tui-warning-fill);

.appearance-hover({
--t-bg: var(--tui-warning-bg-hover);
});
Expand All @@ -64,6 +69,8 @@
[tuiAppearance][data-appearance='info'] {
--t-bg: var(--tui-info-bg);

color: var(--tui-info-fill);

.appearance-hover({
--t-bg: var(--tui-info-bg-hover);
});
Expand All @@ -80,6 +87,8 @@
[tuiAppearance][data-appearance='neutral'] {
--t-bg: var(--tui-neutral-bg);

color: var(--tui-neutral-fill);

.appearance-hover({
--t-bg: var(--tui-neutral-bg-hover);
});
Expand Down

This file was deleted.

14 changes: 0 additions & 14 deletions projects/demo/src/modules/app/app.routes.ts
Original file line number Diff line number Diff line change
Expand Up @@ -104,11 +104,6 @@ export const ROUTES: Routes = [
title: 'Accordion',
loadComponent: async () => import('../components/accordion'),
}),
route({
path: DemoRoute.Action,
title: 'Action',
loadComponent: async () => import('../components/action'),
}),
route({
path: DemoRoute.Avatar,
title: 'Avatar',
Expand Down Expand Up @@ -1075,15 +1070,6 @@ export const ROUTES: Routes = [
title: 'Icons customization',
},
},
{
path: DemoRoute.MarkerIcon,
loadChildren: async () =>
(await import('../icons/marker-icon/marker-icon.module'))
.ExampleTuiMarkerIconModule,
data: {
title: 'MarkerIcon',
},
},
// FILTER
{
path: DemoRoute.Filter,
Expand Down
2 changes: 0 additions & 2 deletions projects/demo/src/modules/app/demo-routes.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@ export const DemoRoute = {
Portals: 'portals',
Viewport: 'viewport',
Accordion: 'components/accordion',
Action: 'components/action',
Avatar: 'components/avatar',
Badge: 'components/badge',
BadgedContent: 'components/badged-content',
Expand Down Expand Up @@ -139,7 +138,6 @@ export const DemoRoute = {
IconsMapping: 'icons/mapping',
IconsBundled: 'icons/bundled',
IconsCustomization: 'icons/customization',
MarkerIcon: 'icons/marker-icon',
Filter: 'components/filter',
ArcChart: 'charts/arc-chart',
Axes: 'charts/axes',
Expand Down
12 changes: 0 additions & 12 deletions projects/demo/src/modules/app/pages.ts
Original file line number Diff line number Diff line change
Expand Up @@ -141,12 +141,6 @@ export const pages: TuiDocPages = [
keywords: 'open, аккордеон, expand, раскрывашка, spoiler, cut',
route: DemoRoute.Accordion,
},
{
section: 'Components',
title: 'Action',
keywords: 'кнопка, button, ссылка, link, действие, icon, иконка',
route: DemoRoute.Action,
},
{
section: 'Components',
title: 'Alert',
Expand Down Expand Up @@ -1060,12 +1054,6 @@ export const pages: TuiDocPages = [
'icons, icon, svg, customization, стили, иконки, картинка, свг, иконка, графика',
route: DemoRoute.IconsCustomization,
},
{
section: 'Icons',
title: 'MarkerIcon',
keywords: 'icons, icon, marker, иконки, картинка, свг, иконка, графика',
route: DemoRoute.MarkerIcon,
},
// Navigation
{
section: 'Navigation',
Expand Down
29 changes: 0 additions & 29 deletions projects/demo/src/modules/components/action/examples/1/index.html

This file was deleted.

21 changes: 0 additions & 21 deletions projects/demo/src/modules/components/action/examples/1/index.less

This file was deleted.

22 changes: 0 additions & 22 deletions projects/demo/src/modules/components/action/examples/1/index.ts

This file was deleted.

This file was deleted.

14 changes: 0 additions & 14 deletions projects/demo/src/modules/components/action/examples/2/index.ts

This file was deleted.

49 changes: 0 additions & 49 deletions projects/demo/src/modules/components/action/examples/3/index.html

This file was deleted.

21 changes: 0 additions & 21 deletions projects/demo/src/modules/components/action/examples/3/index.less

This file was deleted.

15 changes: 0 additions & 15 deletions projects/demo/src/modules/components/action/examples/3/index.ts

This file was deleted.

30 changes: 0 additions & 30 deletions projects/demo/src/modules/components/action/examples/4/index.html

This file was deleted.

Loading

0 comments on commit fc71d03

Please sign in to comment.