@dev-tcloud/tcloud-ui 5.1.1 → 5.1.3
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/dev-tcloud-tcloud-ui.mjs +266 -98
- package/fesm2022/dev-tcloud-tcloud-ui.mjs.map +1 -1
- package/lib/revitalizacao/components/tc-rev-card-accordion/tc-rev-card-accordion.component.d.ts +16 -0
- package/lib/revitalizacao/components/tc-rev-card-title/tc-rev-card-title.component.d.ts +1 -1
- package/lib/revitalizacao/components/tc-rev-checkbox/tc-rev-checkbox.directive.d.ts +6 -0
- package/lib/revitalizacao/components/tc-rev-components.module.d.ts +27 -22
- package/lib/revitalizacao/components/tc-rev-progress-status-bar/tc-rev-progress-status-bar.component.d.ts +22 -0
- package/lib/revitalizacao/components/tc-rev-radio/tc-rev-radio.directive.d.ts +6 -0
- package/lib/revitalizacao/components/tc-rev-wizard-steps/tc-rev-wizard-steps.component.d.ts +13 -0
- package/lib/revitalizacao/components/tc-sub-navbar/component/tc-sub-navbar-item/tc-sub-navbar-item.component.d.ts +1 -1
- package/package.json +1 -1
- package/public-api.d.ts +6 -1
- package/scss/tcloud-revitalizacao/components/_tc-rev-button.scss +3 -3
- package/scss/tcloud-revitalizacao/components/_tc-rev-checkbox.scss +103 -0
- package/scss/tcloud-revitalizacao/components/_tc-rev-input-control.scss +3 -283
- package/scss/tcloud-revitalizacao/components/_tc-rev-radio.scss +64 -0
- package/scss/tcloud-revitalizacao/components/_tc-rev-search-input.scss +49 -0
- package/scss/tcloud-revitalizacao/components/_tc-rev-slide-toggle.scss +60 -0
- package/scss/tcloud-revitalizacao/components/_tc-rev-tab-item.scss +1 -1
- package/scss/tcloud-revitalizacao/tc-rev-styles.scss +5 -1
package/lib/revitalizacao/components/tc-rev-card-accordion/tc-rev-card-accordion.component.d.ts
ADDED
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
export declare class TcRevCardAccordionComponent {
|
|
3
|
+
toggle: import("@angular/core").OutputEmitterRef<boolean>;
|
|
4
|
+
title: import("@angular/core").InputSignal<string>;
|
|
5
|
+
iconClass: import("@angular/core").InputSignal<string>;
|
|
6
|
+
showMoreText: import("@angular/core").InputSignal<string>;
|
|
7
|
+
showLessText: import("@angular/core").InputSignal<string>;
|
|
8
|
+
badge: import("@angular/core").InputSignal<{
|
|
9
|
+
text: string;
|
|
10
|
+
class: string;
|
|
11
|
+
}>;
|
|
12
|
+
isOpen: import("@angular/core").ModelSignal<boolean>;
|
|
13
|
+
toggleAccordion(): void;
|
|
14
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TcRevCardAccordionComponent, never>;
|
|
15
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TcRevCardAccordionComponent, "tc-rev-card-accordion", never, { "title": { "alias": "title"; "required": false; "isSignal": true; }; "iconClass": { "alias": "iconClass"; "required": false; "isSignal": true; }; "showMoreText": { "alias": "showMoreText"; "required": false; "isSignal": true; }; "showLessText": { "alias": "showLessText"; "required": false; "isSignal": true; }; "badge": { "alias": "badge"; "required": false; "isSignal": true; }; "isOpen": { "alias": "isOpen"; "required": false; "isSignal": true; }; }, { "toggle": "toggle"; "isOpen": "isOpenChange"; }, never, ["*"], true, never>;
|
|
16
|
+
}
|
|
@@ -2,5 +2,5 @@ import * as i0 from "@angular/core";
|
|
|
2
2
|
export declare class TcRevCardTitleComponent {
|
|
3
3
|
title: import("@angular/core").InputSignal<string>;
|
|
4
4
|
static ɵfac: i0.ɵɵFactoryDeclaration<TcRevCardTitleComponent, never>;
|
|
5
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<TcRevCardTitleComponent, "tc-rev-card-title", never, { "title": { "alias": "title"; "required": true; "isSignal": true; }; }, {}, never, ["icon", "*"], true, never>;
|
|
5
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TcRevCardTitleComponent, "tc-rev-card-title", never, { "title": { "alias": "title"; "required": true; "isSignal": true; }; }, {}, never, ["[icon]", "*"], true, never>;
|
|
6
6
|
}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
export declare class TcRevCheckboxDirective {
|
|
3
|
+
constructor();
|
|
4
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TcRevCheckboxDirective, never>;
|
|
5
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<TcRevCheckboxDirective, "input[type=\"checkbox\"][tcRevCheckbox]", never, {}, {}, never, never, true, never>;
|
|
6
|
+
}
|
|
@@ -3,29 +3,34 @@ import * as i1 from "./tc-rev-breadcrumb/tc-rev-breadcrumb.component";
|
|
|
3
3
|
import * as i2 from "./tc-rev-button/tc-rev-button.directive";
|
|
4
4
|
import * as i3 from "./tc-rev-calendar/tc-rev-calendar.component";
|
|
5
5
|
import * as i4 from "./tc-rev-card/tc-rev-card.component";
|
|
6
|
-
import * as i5 from "./tc-rev-card-
|
|
7
|
-
import * as i6 from "./tc-rev-
|
|
8
|
-
import * as i7 from "./tc-rev-
|
|
9
|
-
import * as i8 from "./tc-rev-
|
|
10
|
-
import * as i9 from "./tc-rev-
|
|
11
|
-
import * as i10 from "./tc-rev-
|
|
12
|
-
import * as i11 from "./tc-rev-
|
|
13
|
-
import * as i12 from "./tc-rev-
|
|
14
|
-
import * as i13 from "./tc-rev-
|
|
15
|
-
import * as i14 from "./tc-rev-
|
|
16
|
-
import * as i15 from "./tc-rev-
|
|
17
|
-
import * as i16 from "./tc-rev-
|
|
18
|
-
import * as i17 from "./tc-rev-
|
|
19
|
-
import * as i18 from "./tc-rev-
|
|
20
|
-
import * as i19 from "./tc-rev-
|
|
21
|
-
import * as i20 from "./tc-rev-
|
|
22
|
-
import * as i21 from "./tc-rev-
|
|
23
|
-
import * as i22 from "./tc-rev-
|
|
24
|
-
import * as i23 from "./tc-rev-
|
|
25
|
-
import * as i24 from "./tc-
|
|
26
|
-
import * as i25 from "./tc-
|
|
6
|
+
import * as i5 from "./tc-rev-card-accordion/tc-rev-card-accordion.component";
|
|
7
|
+
import * as i6 from "./tc-rev-card-title/tc-rev-card-title.component";
|
|
8
|
+
import * as i7 from "./tc-rev-checkbox/tc-rev-checkbox.directive";
|
|
9
|
+
import * as i8 from "./tc-rev-dropdown/tc-rev-dropdown.component";
|
|
10
|
+
import * as i9 from "./tc-rev-dropdown-multi-level/tc-rev-dropdown-multi-level.component";
|
|
11
|
+
import * as i10 from "./tc-rev-empty-content/tc-rev-empty-content.component";
|
|
12
|
+
import * as i11 from "./tc-rev-faq/tc-rev-faq.component";
|
|
13
|
+
import * as i12 from "./tc-rev-icon-button/tc-rev-icon-button.directive";
|
|
14
|
+
import * as i13 from "./tc-rev-input-container/tc-rev-input-container.component";
|
|
15
|
+
import * as i14 from "./tc-rev-input/tc-rev-input.directive";
|
|
16
|
+
import * as i15 from "./tc-rev-loading/tc-rev-loading.component";
|
|
17
|
+
import * as i16 from "./tc-rev-message/tc-rev-message.component";
|
|
18
|
+
import * as i17 from "./tc-rev-multi-input/tc-rev-multi-input.component";
|
|
19
|
+
import * as i18 from "./tc-rev-pagination/tc-rev-pagination.component";
|
|
20
|
+
import * as i19 from "./tc-rev-progress-status-bar/tc-rev-progress-status-bar.component";
|
|
21
|
+
import * as i20 from "./tc-rev-radio/tc-rev-radio.directive";
|
|
22
|
+
import * as i21 from "./tc-rev-search-input/tc-rev-search-input.component";
|
|
23
|
+
import * as i22 from "./tc-rev-side-drawer/tc-rev-side-drawer.component";
|
|
24
|
+
import * as i23 from "./tc-rev-slide-toggle/tc-rev-slide-toggle.directive";
|
|
25
|
+
import * as i24 from "./tc-rev-tab-group/tc-rev-tab-group.component";
|
|
26
|
+
import * as i25 from "./tc-rev-tab-group/tc-rev-tab-item/tc-rev-tab-item.component";
|
|
27
|
+
import * as i26 from "./tc-rev-tag/tc-rev-tag.component";
|
|
28
|
+
import * as i27 from "./tc-rev-toast/tc-rev-toast.component";
|
|
29
|
+
import * as i28 from "./tc-sub-navbar/tc-sub-navbar.component";
|
|
30
|
+
import * as i29 from "./tc-sub-navbar/component/tc-sub-navbar-item/tc-sub-navbar-item.component";
|
|
31
|
+
import * as i30 from "./tc-rev-wizard-steps/tc-rev-wizard-steps.component";
|
|
27
32
|
export declare class TcRevComponentsLibModule {
|
|
28
33
|
static ɵfac: i0.ɵɵFactoryDeclaration<TcRevComponentsLibModule, never>;
|
|
29
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<TcRevComponentsLibModule, never, [typeof i1.TcRevBreadcrumbComponent, typeof i2.TcRevButtonDirective, typeof i3.TcRevCalendarComponent, typeof i4.TcRevCardComponent, typeof i5.
|
|
34
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<TcRevComponentsLibModule, never, [typeof i1.TcRevBreadcrumbComponent, typeof i2.TcRevButtonDirective, typeof i3.TcRevCalendarComponent, typeof i4.TcRevCardComponent, typeof i5.TcRevCardAccordionComponent, typeof i6.TcRevCardTitleComponent, typeof i7.TcRevCheckboxDirective, typeof i8.TcRevDropdownComponent, typeof i9.TcRevDropdownMultiLevelComponent, typeof i10.TcRevEmptyContentComponent, typeof i11.TcRevFaqComponent, typeof i12.TcRevIconButtonDirective, typeof i13.TcRevInputContainerComponent, typeof i14.TcRevInputDirective, typeof i15.TcRevLoadingComponent, typeof i16.TcRevMessageComponent, typeof i17.TcRevMultiInputComponent, typeof i18.TcRevPaginationComponent, typeof i19.TcRevProgressStatusBarComponent, typeof i20.TcRevRadioDirective, typeof i21.TcRevSearchInputComponent, typeof i22.TcRevSideDrawerComponent, typeof i23.TcRevSlideToggleDirective, typeof i24.TcRevTabGroupComponent, typeof i25.TcRevTabItemComponent, typeof i26.TcRevTagComponent, typeof i27.TcRevToastComponent, typeof i28.TcRevSubNavbarComponent, typeof i29.TcRevSubNavbarItemComponent, typeof i30.TcRevWizardStepsComponent], [typeof i2.TcRevButtonDirective, typeof i3.TcRevCalendarComponent, typeof i4.TcRevCardComponent, typeof i5.TcRevCardAccordionComponent, typeof i6.TcRevCardTitleComponent, typeof i7.TcRevCheckboxDirective, typeof i8.TcRevDropdownComponent, typeof i9.TcRevDropdownMultiLevelComponent, typeof i10.TcRevEmptyContentComponent, typeof i11.TcRevFaqComponent, typeof i12.TcRevIconButtonDirective, typeof i13.TcRevInputContainerComponent, typeof i14.TcRevInputDirective, typeof i15.TcRevLoadingComponent, typeof i16.TcRevMessageComponent, typeof i17.TcRevMultiInputComponent, typeof i18.TcRevPaginationComponent, typeof i19.TcRevProgressStatusBarComponent, typeof i20.TcRevRadioDirective, typeof i21.TcRevSearchInputComponent, typeof i22.TcRevSideDrawerComponent, typeof i23.TcRevSlideToggleDirective, typeof i24.TcRevTabGroupComponent, typeof i25.TcRevTabItemComponent, typeof i26.TcRevTagComponent, typeof i27.TcRevToastComponent, typeof i28.TcRevSubNavbarComponent, typeof i29.TcRevSubNavbarItemComponent, typeof i30.TcRevWizardStepsComponent]>;
|
|
30
35
|
static ɵinj: i0.ɵɵInjectorDeclaration<TcRevComponentsLibModule>;
|
|
31
36
|
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
export type ProgressStatusConfig = {
|
|
3
|
+
start: number;
|
|
4
|
+
end: number;
|
|
5
|
+
gradientStatus: ProgressStatusBarGradientStatus;
|
|
6
|
+
};
|
|
7
|
+
export declare enum ProgressStatusBarGradientStatus {
|
|
8
|
+
info = "info",
|
|
9
|
+
danger = "danger",
|
|
10
|
+
success = "success",
|
|
11
|
+
alert = "alert"
|
|
12
|
+
}
|
|
13
|
+
export declare class TcRevProgressStatusBarComponent {
|
|
14
|
+
currentValue: import("@angular/core").InputSignal<number>;
|
|
15
|
+
progressStatusConfig: import("@angular/core").InputSignal<ProgressStatusConfig[]>;
|
|
16
|
+
backgroundStyle: string;
|
|
17
|
+
constructor();
|
|
18
|
+
private getBackgroundStyle;
|
|
19
|
+
private getProgressStatusBarRangeColor;
|
|
20
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TcRevProgressStatusBarComponent, never>;
|
|
21
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TcRevProgressStatusBarComponent, "tc-rev-progress-status-bar", never, { "currentValue": { "alias": "currentValue"; "required": true; "isSignal": true; }; "progressStatusConfig": { "alias": "progressStatusConfig"; "required": true; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
22
|
+
}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
export declare class TcRevRadioDirective {
|
|
3
|
+
constructor();
|
|
4
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TcRevRadioDirective, never>;
|
|
5
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<TcRevRadioDirective, "input[type=\"radio\"][tcRevRadio]", never, {}, {}, never, never, true, never>;
|
|
6
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
export type WizardStep = {
|
|
3
|
+
title: string;
|
|
4
|
+
description?: string;
|
|
5
|
+
completed?: boolean;
|
|
6
|
+
};
|
|
7
|
+
export declare class TcRevWizardStepsComponent {
|
|
8
|
+
direction: import("@angular/core").InputSignal<"horizontal" | "vertical">;
|
|
9
|
+
currentStep: import("@angular/core").InputSignal<number>;
|
|
10
|
+
steps: import("@angular/core").InputSignal<WizardStep[]>;
|
|
11
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TcRevWizardStepsComponent, never>;
|
|
12
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TcRevWizardStepsComponent, "tc-rev-wizard-steps", never, { "direction": { "alias": "direction"; "required": false; "isSignal": true; }; "currentStep": { "alias": "currentStep"; "required": false; "isSignal": true; }; "steps": { "alias": "steps"; "required": true; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
13
|
+
}
|
|
@@ -9,5 +9,5 @@ export declare class TcRevSubNavbarItemComponent {
|
|
|
9
9
|
queryParams: import("@angular/core").InputSignal<Params>;
|
|
10
10
|
handleClick(_ev: MouseEvent): void;
|
|
11
11
|
static ɵfac: i0.ɵɵFactoryDeclaration<TcRevSubNavbarItemComponent, never>;
|
|
12
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<TcRevSubNavbarItemComponent, "tc-rev-sub-navbar-item", never, { "isMenuExpanded": { "alias": "isMenuExpanded"; "required": false; }; "label": { "alias": "label"; "required": true; "isSignal": true; }; "active": { "alias": "active"; "required": false; "isSignal": true; }; "routerLink": { "alias": "routerLink"; "required": false; "isSignal": true; }; "queryParams": { "alias": "queryParams"; "required": false; "isSignal": true; }; }, { "onClick": "onClick"; }, never, ["icon"], true, never>;
|
|
12
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TcRevSubNavbarItemComponent, "tc-rev-sub-navbar-item", never, { "isMenuExpanded": { "alias": "isMenuExpanded"; "required": false; }; "label": { "alias": "label"; "required": true; "isSignal": true; }; "active": { "alias": "active"; "required": false; "isSignal": true; }; "routerLink": { "alias": "routerLink"; "required": false; "isSignal": true; }; "queryParams": { "alias": "queryParams"; "required": false; "isSignal": true; }; }, { "onClick": "onClick"; }, never, ["[icon]"], true, never>;
|
|
13
13
|
}
|
package/package.json
CHANGED
package/public-api.d.ts
CHANGED
|
@@ -84,9 +84,10 @@ export * from './lib/_services/search-in-object.service';
|
|
|
84
84
|
export * from './lib/_services/tcloud-ui-check-access.service';
|
|
85
85
|
export * from './lib/revitalizacao/components/tc-rev-button/tc-rev-button.directive';
|
|
86
86
|
export * from './lib/revitalizacao/components/tc-rev-calendar/tc-rev-calendar.component';
|
|
87
|
+
export * from './lib/revitalizacao/components/tc-rev-card-accordion/tc-rev-card-accordion.component';
|
|
87
88
|
export * from './lib/revitalizacao/components/tc-rev-card-title/tc-rev-card-title.component';
|
|
88
89
|
export * from './lib/revitalizacao/components/tc-rev-card/tc-rev-card.component';
|
|
89
|
-
export * from './lib/revitalizacao/components/tc-rev-
|
|
90
|
+
export * from './lib/revitalizacao/components/tc-rev-checkbox/tc-rev-checkbox.directive';
|
|
90
91
|
export * from './lib/revitalizacao/components/tc-rev-dropdown-multi-level/tc-rev-dropdown-multi-level.component';
|
|
91
92
|
export * from './lib/revitalizacao/components/tc-rev-dropdown/tc-rev-dropdown.component';
|
|
92
93
|
export * from './lib/revitalizacao/components/tc-rev-empty-content/tc-rev-empty-content.component';
|
|
@@ -98,6 +99,8 @@ export * from './lib/revitalizacao/components/tc-rev-loading/tc-rev-loading.comp
|
|
|
98
99
|
export * from './lib/revitalizacao/components/tc-rev-message/tc-rev-message.component';
|
|
99
100
|
export * from './lib/revitalizacao/components/tc-rev-multi-input/tc-rev-multi-input.component';
|
|
100
101
|
export * from './lib/revitalizacao/components/tc-rev-pagination/tc-rev-pagination.component';
|
|
102
|
+
export * from './lib/revitalizacao/components/tc-rev-progress-status-bar/tc-rev-progress-status-bar.component';
|
|
103
|
+
export * from './lib/revitalizacao/components/tc-rev-radio/tc-rev-radio.directive';
|
|
101
104
|
export * from './lib/revitalizacao/components/tc-rev-search-input/tc-rev-search-input.component';
|
|
102
105
|
export * from './lib/revitalizacao/components/tc-rev-side-drawer/tc-rev-side-drawer.component';
|
|
103
106
|
export * from './lib/revitalizacao/components/tc-rev-slide-toggle/tc-rev-slide-toggle.directive';
|
|
@@ -108,3 +111,5 @@ export * from './lib/revitalizacao/components/tc-rev-tag/tc-rev-tag.component';
|
|
|
108
111
|
export * from './lib/revitalizacao/components/tc-rev-toast/tc-rev-toast.component';
|
|
109
112
|
export * from './lib/revitalizacao/components/tc-sub-navbar/component/tc-sub-navbar-item/tc-sub-navbar-item.component';
|
|
110
113
|
export * from './lib/revitalizacao/components/tc-sub-navbar/tc-sub-navbar.component';
|
|
114
|
+
export * from './lib/revitalizacao/components/tc-rev-wizard-steps/tc-rev-wizard-steps.component';
|
|
115
|
+
export * from './lib/revitalizacao/components/tc-rev-components.module';
|
|
@@ -112,7 +112,7 @@ $btn-by-colors:
|
|
|
112
112
|
("class": "tc-rev-btn--primary-filled", "b-color": var(--c-primary-500), "bg-color": var(--c-primary-500), "color": var(--c-neutral-50), "bg-hover": var(--c-primary-600)),
|
|
113
113
|
("class": "tc-rev-btn--success-filled", "b-color": var(--c-success-500), "bg-color": var(--c-success-500), "color": var(--c-neutral-50), "bg-hover": var(--c-success-500)),
|
|
114
114
|
("class": "tc-rev-btn--light-filled", "b-color": var(--c-neutral-50), "bg-color": var(--c-neutral-50), "color": var(--c-primary-500), "bg-hover": var(--c-neutral-50)),
|
|
115
|
-
("class": "tc-rev-btn--dark-filled", "b-color": var(--c-neutral-
|
|
115
|
+
("class": "tc-rev-btn--dark-filled", "b-color": var(--c-neutral-700), "bg-color": var(--c-neutral-700), "color": var(--c-neutral-50), "bg-hover": var(--c-neutral-600)),
|
|
116
116
|
("class": "tc-rev-btn--danger-filled", "b-color": var(--c-danger-500), "bg-color": var(--c-danger-500), "color": var(--c-neutral-50), "bg-hover": var(--c-danger-500));
|
|
117
117
|
|
|
118
118
|
@each $btn-color in $btn-by-colors
|
|
@@ -146,7 +146,7 @@ $btn-by-colors:
|
|
|
146
146
|
$btn-by-colors-by-outline:
|
|
147
147
|
("class": "tc-rev-btn--primary-outline", "b-color": var(--c-primary-500), "bg-color": transparent, "color": var(--c-primary-500), "bg-hover": var(--c-neutral-50), "c-hover": var(--c-primary-500), "b-color-hover": var(--c-primary-500)),
|
|
148
148
|
("class": "tc-rev-btn--light-outline", "b-color": var(--c-neutral-50), "bg-color": transparent, "color": var(--c-neutral-50), "bg-hover": transparent, "c-hover": var(--c-neutral-50), "b-color-hover": var(--c-neutral-50)),
|
|
149
|
-
("class": "tc-rev-btn--dark-outline", "b-color": var(--c-neutral-
|
|
149
|
+
("class": "tc-rev-btn--dark-outline", "b-color": var(--c-neutral-700), "bg-color": transparent, "color": var(--c-neutral-700), "bg-hover": var(--c-neutral-500), "c-hover": var(--c-neutral-50), "b-color-hover": var(--c-neutral-700)),
|
|
150
150
|
("class": "tc-rev-btn--danger-outline", "b-color": var(--c-danger-500), "bg-color": transparent, "color": var(--c-danger-500), "bg-hover": var(--c-danger-300), "c-hover": var(--c-danger-500), "b-color-hover": var(--c-danger-500));
|
|
151
151
|
|
|
152
152
|
@each $btn-color in $btn-by-colors-by-outline
|
|
@@ -184,7 +184,7 @@ $btn-by-colors-by-outline:
|
|
|
184
184
|
$btn-by-colors-by-link:
|
|
185
185
|
("class": "tc-rev-btn--primary-link", "color": var(--c-primary-500), "c-hover": var(--c-primary-700)),
|
|
186
186
|
("class": "tc-rev-btn--light-link", "color": var(--c-neutral-50), "c-hover": var(--c-primary-500)),
|
|
187
|
-
("class": "tc-rev-btn--dark-link", "color": var(--c-neutral-
|
|
187
|
+
("class": "tc-rev-btn--dark-link", "color": var(--c-neutral-700), "c-hover": var(--c-neutral-500)),
|
|
188
188
|
("class": "tc-rev-btn--danger-link", "color": var(--c-danger-500), "c-hover": var(--c-danger-400));
|
|
189
189
|
|
|
190
190
|
@each $btn-color in $btn-by-colors-by-link
|
|
@@ -0,0 +1,103 @@
|
|
|
1
|
+
input[type='checkbox'].tc-rev-input-checkbox, input[type='checkbox'].tc-rev-checkbox {
|
|
2
|
+
position: initial;
|
|
3
|
+
margin: initial;
|
|
4
|
+
|
|
5
|
+
&:after,
|
|
6
|
+
&:before {
|
|
7
|
+
content: '';
|
|
8
|
+
position: initial;
|
|
9
|
+
border-radius: initial;
|
|
10
|
+
background: initial;
|
|
11
|
+
z-index: initial;
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
&:after {
|
|
15
|
+
height: initial;
|
|
16
|
+
width: initial;
|
|
17
|
+
left: initial;
|
|
18
|
+
top: initial;
|
|
19
|
+
margin: initial;
|
|
20
|
+
border: initial;
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
&:checked:before {
|
|
24
|
+
background: initial;
|
|
25
|
+
height: initial;
|
|
26
|
+
width: initial;
|
|
27
|
+
margin: initial;
|
|
28
|
+
z-index: initial;
|
|
29
|
+
|
|
30
|
+
left: initial;
|
|
31
|
+
top: initial;
|
|
32
|
+
border: initial;
|
|
33
|
+
border-width: initial;
|
|
34
|
+
transform: initial;
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
&:checked:after {
|
|
38
|
+
border-color: initial;
|
|
39
|
+
}
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
input[type='checkbox'].tc-rev-input-checkbox, input[type='checkbox'].tc-rev-checkbox {
|
|
43
|
+
appearance: none;
|
|
44
|
+
-webkit-appearance: none;
|
|
45
|
+
width: 20px;
|
|
46
|
+
height: 20px;
|
|
47
|
+
border: 1.5px solid var(--c-neutral-700);
|
|
48
|
+
border-radius: 2px;
|
|
49
|
+
background: #fff;
|
|
50
|
+
cursor: pointer;
|
|
51
|
+
position: relative;
|
|
52
|
+
outline: none;
|
|
53
|
+
transition: border-color 0.2s, background 0.2s;
|
|
54
|
+
display: inline-block;
|
|
55
|
+
vertical-align: middle;
|
|
56
|
+
|
|
57
|
+
&:before {
|
|
58
|
+
content: '';
|
|
59
|
+
display: block;
|
|
60
|
+
width: 100%;
|
|
61
|
+
height: 100%;
|
|
62
|
+
border-radius: 2px;
|
|
63
|
+
background: var(--c-neutral-50);
|
|
64
|
+
transition: background 0.2s, border-color 0.2s;
|
|
65
|
+
position: absolute;
|
|
66
|
+
top: 0;
|
|
67
|
+
left: 0;
|
|
68
|
+
z-index: 1;
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
&:after {
|
|
72
|
+
content: '';
|
|
73
|
+
display: block;
|
|
74
|
+
position: absolute;
|
|
75
|
+
top: 4px;
|
|
76
|
+
left: 2px;
|
|
77
|
+
width: 14px;
|
|
78
|
+
height: 10px;
|
|
79
|
+
background: none;
|
|
80
|
+
mask: none;
|
|
81
|
+
-webkit-mask: none;
|
|
82
|
+
pointer-events: none;
|
|
83
|
+
z-index: 2;
|
|
84
|
+
transition: background 0.2s;
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
&:checked {
|
|
88
|
+
border-color: var(--c-primary-500);
|
|
89
|
+
background: var(--c-primary-500);
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
&:checked:before {
|
|
93
|
+
background: var(--c-primary-500);
|
|
94
|
+
}
|
|
95
|
+
|
|
96
|
+
&:checked:after {
|
|
97
|
+
background: #fff;
|
|
98
|
+
mask: url('data:image/svg+xml;utf8,<svg width="14" height="10" viewBox="0 0 14 10" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M1 5.5L5 9L13 1" stroke="white" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/></svg>')
|
|
99
|
+
no-repeat center/contain;
|
|
100
|
+
-webkit-mask: url('data:image/svg+xml;utf8,<svg width="14" height="10" viewBox="0 0 14 10" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M1 5.5L5 9L13 1" stroke="white" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/></svg>')
|
|
101
|
+
no-repeat center/contain;
|
|
102
|
+
}
|
|
103
|
+
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
.tc-rev-input-control {
|
|
2
2
|
border: 1px solid var(--c-neutral-400);
|
|
3
3
|
border-radius: var(--bor-radius-pill);
|
|
4
|
-
color: var(--c-neutral-
|
|
4
|
+
color: var(--c-neutral-700);
|
|
5
5
|
display: inline-block;
|
|
6
6
|
font-family: var(--f-family);
|
|
7
7
|
font-size: var(--f-size-14);
|
|
@@ -40,7 +40,7 @@
|
|
|
40
40
|
font-family: var(--f-family);
|
|
41
41
|
font-size: var(--f-size-14);
|
|
42
42
|
font-weight: var(--f-weight-600);
|
|
43
|
-
color: var(--c-neutral-
|
|
43
|
+
color: var(--c-neutral-700);
|
|
44
44
|
line-height: var(--l-height-20);
|
|
45
45
|
margin: 0;
|
|
46
46
|
}
|
|
@@ -69,56 +69,6 @@
|
|
|
69
69
|
}
|
|
70
70
|
}
|
|
71
71
|
|
|
72
|
-
.tc-rev-search-input-container {
|
|
73
|
-
position: relative;
|
|
74
|
-
max-height: var(--size-40);
|
|
75
|
-
min-height: var(--size-40);
|
|
76
|
-
height: var(--size-40);
|
|
77
|
-
min-width: 7.5rem;
|
|
78
|
-
|
|
79
|
-
.tc-rev-search-input-control {
|
|
80
|
-
border: 1px solid var(--c-neutral-400);
|
|
81
|
-
border-radius: var(--bor-radius-pill);
|
|
82
|
-
color: var(--c-neutral-900);
|
|
83
|
-
display: inline-block;
|
|
84
|
-
font-family: var(--f-family);
|
|
85
|
-
font-size: var(--f-size-14);
|
|
86
|
-
line-height: var(--l-height-20);
|
|
87
|
-
outline: none;
|
|
88
|
-
height: var(--size-40);
|
|
89
|
-
transition: 200ms ease;
|
|
90
|
-
padding: 0 var(--size-16);
|
|
91
|
-
position: absolute;
|
|
92
|
-
top: 0;
|
|
93
|
-
left: 0;
|
|
94
|
-
padding-right: var(--size-44);
|
|
95
|
-
width: 100%;
|
|
96
|
-
z-index: 1;
|
|
97
|
-
|
|
98
|
-
&:hover,
|
|
99
|
-
&:focus {
|
|
100
|
-
border-color: var(--c-primary-500);
|
|
101
|
-
}
|
|
102
|
-
}
|
|
103
|
-
|
|
104
|
-
.tc-rev-search-input-btn {
|
|
105
|
-
cursor: pointer;
|
|
106
|
-
display: block;
|
|
107
|
-
position: absolute;
|
|
108
|
-
right: 4px;
|
|
109
|
-
top: 4px;
|
|
110
|
-
z-index: 2;
|
|
111
|
-
font-size: var(--f-size-16);
|
|
112
|
-
background-color: var(--c-primary-500);
|
|
113
|
-
border-radius: var(--bor-radius-rounded);
|
|
114
|
-
border: none;
|
|
115
|
-
width: var(--size-32);
|
|
116
|
-
height: var(--size-32);
|
|
117
|
-
color: var(--c-neutral-50);
|
|
118
|
-
font-size: var(--f-size-16);
|
|
119
|
-
}
|
|
120
|
-
}
|
|
121
|
-
|
|
122
72
|
.tc-rev-input-icon-container {
|
|
123
73
|
position: relative;
|
|
124
74
|
max-height: var(--size-40);
|
|
@@ -129,7 +79,7 @@
|
|
|
129
79
|
.tc-rev-input-icon-control {
|
|
130
80
|
border: 1px solid var(--c-neutral-400);
|
|
131
81
|
border-radius: var(--bor-radius-pill);
|
|
132
|
-
color: var(--c-neutral-
|
|
82
|
+
color: var(--c-neutral-700);
|
|
133
83
|
display: inline-block;
|
|
134
84
|
font-family: var(--f-family);
|
|
135
85
|
font-size: var(--f-size-14);
|
|
@@ -164,233 +114,3 @@
|
|
|
164
114
|
text-align: center;
|
|
165
115
|
}
|
|
166
116
|
}
|
|
167
|
-
|
|
168
|
-
// RESET RADIO INPUT START
|
|
169
|
-
input[type='radio'].tc-rev-input-control {
|
|
170
|
-
position: initial;
|
|
171
|
-
margin: initial;
|
|
172
|
-
|
|
173
|
-
&:after,
|
|
174
|
-
&:before {
|
|
175
|
-
content: '';
|
|
176
|
-
position: initial;
|
|
177
|
-
border-radius: initial;
|
|
178
|
-
background: initial;
|
|
179
|
-
z-index: initial;
|
|
180
|
-
}
|
|
181
|
-
|
|
182
|
-
&:after {
|
|
183
|
-
height: initial;
|
|
184
|
-
width: initial;
|
|
185
|
-
left: initial;
|
|
186
|
-
margin: initial;
|
|
187
|
-
border: initial;
|
|
188
|
-
}
|
|
189
|
-
|
|
190
|
-
&:checked:before {
|
|
191
|
-
background: initial;
|
|
192
|
-
height: initial;
|
|
193
|
-
width: initial;
|
|
194
|
-
margin: initial;
|
|
195
|
-
z-index: initial;
|
|
196
|
-
}
|
|
197
|
-
}
|
|
198
|
-
// RESET RADIO INPUT END
|
|
199
|
-
|
|
200
|
-
input[type='radio'].tc-rev-input-control {
|
|
201
|
-
appearance: none;
|
|
202
|
-
-webkit-appearance: none;
|
|
203
|
-
-moz-appearance: none;
|
|
204
|
-
width: var(--size-20);
|
|
205
|
-
height: var(--size-20);
|
|
206
|
-
min-width: var(--size-20);
|
|
207
|
-
min-height: var(--size-20);
|
|
208
|
-
border: 1px solid var(--c-neutral-900);
|
|
209
|
-
border-radius: var(--bor-radius-rounded);
|
|
210
|
-
display: flex;
|
|
211
|
-
align-items: center;
|
|
212
|
-
justify-content: center;
|
|
213
|
-
position: relative;
|
|
214
|
-
cursor: pointer;
|
|
215
|
-
|
|
216
|
-
&:checked {
|
|
217
|
-
border: 1px solid var(--c-primary-500);
|
|
218
|
-
}
|
|
219
|
-
|
|
220
|
-
&:checked::before {
|
|
221
|
-
content: '';
|
|
222
|
-
background-color: var(--c-primary-500);
|
|
223
|
-
border-radius: var(--bor-radius-rounded);
|
|
224
|
-
left: 50%;
|
|
225
|
-
height: var(--size-14);
|
|
226
|
-
position: absolute;
|
|
227
|
-
top: 50%;
|
|
228
|
-
transform: translate(-50%, -50%);
|
|
229
|
-
width: var(--size-14);
|
|
230
|
-
}
|
|
231
|
-
}
|
|
232
|
-
|
|
233
|
-
input[type='checkbox'].tc-rev-input-checkbox {
|
|
234
|
-
position: initial;
|
|
235
|
-
margin: initial;
|
|
236
|
-
|
|
237
|
-
&:after,
|
|
238
|
-
&:before {
|
|
239
|
-
content: '';
|
|
240
|
-
position: initial;
|
|
241
|
-
border-radius: initial;
|
|
242
|
-
background: initial;
|
|
243
|
-
z-index: initial;
|
|
244
|
-
}
|
|
245
|
-
|
|
246
|
-
&:after {
|
|
247
|
-
height: initial;
|
|
248
|
-
width: initial;
|
|
249
|
-
left: initial;
|
|
250
|
-
top: initial;
|
|
251
|
-
margin: initial;
|
|
252
|
-
border: initial;
|
|
253
|
-
}
|
|
254
|
-
|
|
255
|
-
&:checked:before {
|
|
256
|
-
background: initial;
|
|
257
|
-
height: initial;
|
|
258
|
-
width: initial;
|
|
259
|
-
margin: initial;
|
|
260
|
-
z-index: initial;
|
|
261
|
-
|
|
262
|
-
left: initial;
|
|
263
|
-
top: initial;
|
|
264
|
-
border: initial;
|
|
265
|
-
border-width: initial;
|
|
266
|
-
transform: initial;
|
|
267
|
-
}
|
|
268
|
-
|
|
269
|
-
&:checked:after {
|
|
270
|
-
border-color: initial;
|
|
271
|
-
}
|
|
272
|
-
}
|
|
273
|
-
|
|
274
|
-
input[type='checkbox'].tc-rev-input-checkbox {
|
|
275
|
-
appearance: none;
|
|
276
|
-
-webkit-appearance: none;
|
|
277
|
-
width: 20px;
|
|
278
|
-
height: 20px;
|
|
279
|
-
border: 1.5px solid var(--c-neutral-900);
|
|
280
|
-
border-radius: 2px;
|
|
281
|
-
background: #fff;
|
|
282
|
-
cursor: pointer;
|
|
283
|
-
position: relative;
|
|
284
|
-
outline: none;
|
|
285
|
-
transition: border-color 0.2s, background 0.2s;
|
|
286
|
-
display: inline-block;
|
|
287
|
-
vertical-align: middle;
|
|
288
|
-
|
|
289
|
-
&:before {
|
|
290
|
-
content: '';
|
|
291
|
-
display: block;
|
|
292
|
-
width: 100%;
|
|
293
|
-
height: 100%;
|
|
294
|
-
border-radius: 2px;
|
|
295
|
-
background: var(--c-neutral-50);
|
|
296
|
-
transition: background 0.2s, border-color 0.2s;
|
|
297
|
-
position: absolute;
|
|
298
|
-
top: 0;
|
|
299
|
-
left: 0;
|
|
300
|
-
z-index: 1;
|
|
301
|
-
}
|
|
302
|
-
|
|
303
|
-
&:after {
|
|
304
|
-
content: '';
|
|
305
|
-
display: block;
|
|
306
|
-
position: absolute;
|
|
307
|
-
top: 4px;
|
|
308
|
-
left: 2px;
|
|
309
|
-
width: 14px;
|
|
310
|
-
height: 10px;
|
|
311
|
-
background: none;
|
|
312
|
-
mask: none;
|
|
313
|
-
-webkit-mask: none;
|
|
314
|
-
pointer-events: none;
|
|
315
|
-
z-index: 2;
|
|
316
|
-
transition: background 0.2s;
|
|
317
|
-
}
|
|
318
|
-
|
|
319
|
-
&:checked {
|
|
320
|
-
border-color: var(--c-primary-500);
|
|
321
|
-
background: var(--c-primary-500);
|
|
322
|
-
}
|
|
323
|
-
|
|
324
|
-
&:checked:before {
|
|
325
|
-
background: var(--c-primary-500);
|
|
326
|
-
}
|
|
327
|
-
|
|
328
|
-
&:checked:after {
|
|
329
|
-
background: #fff;
|
|
330
|
-
mask: url('data:image/svg+xml;utf8,<svg width="14" height="10" viewBox="0 0 14 10" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M1 5.5L5 9L13 1" stroke="white" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/></svg>')
|
|
331
|
-
no-repeat center/contain;
|
|
332
|
-
-webkit-mask: url('data:image/svg+xml;utf8,<svg width="14" height="10" viewBox="0 0 14 10" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M1 5.5L5 9L13 1" stroke="white" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/></svg>')
|
|
333
|
-
no-repeat center/contain;
|
|
334
|
-
}
|
|
335
|
-
}
|
|
336
|
-
|
|
337
|
-
// RESET SLIDE TOGGLE START
|
|
338
|
-
input.tc-rev-slide-toggle {
|
|
339
|
-
appearance: none;
|
|
340
|
-
-webkit-appearance: none;
|
|
341
|
-
-moz-appearance: none;
|
|
342
|
-
background: none;
|
|
343
|
-
border: none;
|
|
344
|
-
box-shadow: none;
|
|
345
|
-
margin: 0;
|
|
346
|
-
outline: none;
|
|
347
|
-
padding: 0;
|
|
348
|
-
|
|
349
|
-
&::after {
|
|
350
|
-
content: initial;
|
|
351
|
-
}
|
|
352
|
-
|
|
353
|
-
&:checked:before {
|
|
354
|
-
left: initial;
|
|
355
|
-
top: 2px;
|
|
356
|
-
width: 20px;
|
|
357
|
-
height: 20px;
|
|
358
|
-
border-radius: var(--bor-radius-rounded);
|
|
359
|
-
transform: initial;
|
|
360
|
-
z-index: initial;
|
|
361
|
-
}
|
|
362
|
-
}
|
|
363
|
-
// RESET SLIDE TOGGLE END
|
|
364
|
-
|
|
365
|
-
input.tc-rev-slide-toggle {
|
|
366
|
-
width: 40px;
|
|
367
|
-
height: 24px;
|
|
368
|
-
border-radius: var(--bor-radius-pill);
|
|
369
|
-
background-color: var(--c-neutral-300);
|
|
370
|
-
cursor: pointer;
|
|
371
|
-
position: relative;
|
|
372
|
-
transition: background-color 0.2s ease;
|
|
373
|
-
display: inline-block;
|
|
374
|
-
}
|
|
375
|
-
|
|
376
|
-
input.tc-rev-slide-toggle::before {
|
|
377
|
-
content: '';
|
|
378
|
-
position: absolute;
|
|
379
|
-
top: 50%;
|
|
380
|
-
left: 2px;
|
|
381
|
-
transform: translateY(-50%);
|
|
382
|
-
width: 20px;
|
|
383
|
-
height: 20px;
|
|
384
|
-
border-radius: var(--bor-radius-rounded);
|
|
385
|
-
background-color: var(--c-neutral-50);
|
|
386
|
-
transition: left 0.2s ease, right 0.2s ease;
|
|
387
|
-
}
|
|
388
|
-
|
|
389
|
-
input.tc-rev-slide-toggle:checked {
|
|
390
|
-
background-color: var(--c-primary-500);
|
|
391
|
-
}
|
|
392
|
-
|
|
393
|
-
input.tc-rev-slide-toggle:checked::before {
|
|
394
|
-
left: auto;
|
|
395
|
-
right: 2px;
|
|
396
|
-
}
|