@dev-tcloud/tcloud-ui 2.3.2 → 2.3.4

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.
@@ -7,7 +7,6 @@ export declare class TCloudUiTooltipDirective {
7
7
  info_text: string;
8
8
  onMouseOver(event: MouseEvent): void;
9
9
  onMouseOut(event: MouseEvent): void;
10
- remove_tooltip(customDiv: any): void;
11
10
  set TCtooltip(tooltip: any);
12
11
  private _direction;
13
12
  set TCdirection(direction: any);
@@ -9,7 +9,9 @@ export declare class TCloudUiTabHeadComponent implements OnInit {
9
9
  ID: string;
10
10
  background: boolean;
11
11
  backgroundColor: '#FFFFFF' | '#F1F1F1' | 'white' | 'transparent';
12
- bottom_line: boolean;
12
+ private _bottom_line;
13
+ set bottom_line(bottom_line: boolean);
14
+ get bottom_line(): boolean;
13
15
  constructor(tabMenuService: TabMenuService);
14
16
  ngOnInit(): void;
15
17
  generateID(): string;
@@ -10,8 +10,8 @@ export declare class TCloudUiTabSubtitleComponent implements OnInit, OnDestroy {
10
10
  set disabled(disabled: boolean);
11
11
  get disabled(): boolean;
12
12
  loading: boolean;
13
+ bottom_line: boolean;
13
14
  private subscription;
14
- private subscription2;
15
15
  constructor(tabMenuService: TabMenuService);
16
16
  ngOnInit(): void;
17
17
  toTab(): void;
@@ -8,11 +8,11 @@ export declare class TCloudUiTabTitleComponent implements OnInit, OnDestroy {
8
8
  title: string | undefined;
9
9
  active: boolean;
10
10
  loading: boolean;
11
+ bottom_line: boolean;
11
12
  private _disabled;
12
13
  set disabled(disabled: boolean);
13
14
  get disabled(): boolean;
14
15
  private subscription;
15
- private subscription2;
16
16
  constructor(tabMenuService: TabMenuService);
17
17
  ngOnInit(): void;
18
18
  toTab(): void;
@@ -7,6 +7,9 @@ export declare class TabMenuService {
7
7
  private _scroll;
8
8
  private scrollSubject;
9
9
  scrollState$: import("rxjs").Observable<boolean>;
10
+ private _bottom_line;
11
+ private bottom_lineSubject;
12
+ bottom_lineState$: import("rxjs").Observable<boolean>;
10
13
  private _tab;
11
14
  private tabSubject;
12
15
  tabState$: import("rxjs").Observable<string>;
@@ -19,6 +22,8 @@ export declare class TabMenuService {
19
22
  constructor(_route: ActivatedRoute, _router: Router);
20
23
  setTabScroll(scroll: boolean): void;
21
24
  getTabScroll(): boolean | undefined;
25
+ setTabBottomLine(bottom_line: boolean): void;
26
+ getTabBottomLine(): boolean | undefined;
22
27
  setTabLoading(loading: boolean): void;
23
28
  getTabLoading(): boolean | undefined;
24
29
  setTabfull(full: boolean): void;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dev-tcloud/tcloud-ui",
3
- "version": "2.3.2",
3
+ "version": "2.3.4",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^16.2.0",
6
6
  "@angular/core": "^16.2.0"
@@ -2,49 +2,50 @@
2
2
  tcloud-ui-tab-head{
3
3
  tcloud-ui-tab-title, tcloud-ui-tab-subtitle {
4
4
  flex-grow: 1;
5
-
6
5
  button {
7
- min-width: 100% !important;
6
+ min-width: 100% !important;
7
+ }
8
+ .tab-title, .tab-subtitle{
9
+ opacity: 0.8;
10
+ }
11
+ .tab-title-active,
12
+ .tab-title:hover,
13
+ .tab-title:focus,
14
+ .tab-subtitle:hover,
15
+ .tab-subtitle:focus{
16
+ opacity: 1 !important;
8
17
  }
9
18
  }
10
19
  }
11
20
  }
12
21
 
13
- .tab-subtitle-line-bottom {
14
- border-radius: 0 !important;
15
- border-bottom: 1px solid #BCBCBC;
16
-
17
- .tab-subtitle {
18
- border-bottom: 4px solid transparent !important;
19
- margin: 0 !important;
20
- padding: 16px 32px !important;
21
- transition: .3s ease-in-out;
22
-
23
- &:hover {
24
- :not(.tab-title-active) {
25
- border-bottom: 4px solid transparent !important;
26
- }
27
- }
28
- }
29
-
30
- .tab-subtitle-active {
31
- border-bottom: 4px solid var(--tc-primary) !important;
22
+ .tc-menu {
23
+ &:has(> tcloud-ui-tab-title){
24
+ border-radius: 10px;
25
+ }
26
+ &:not(.tab-subtitle-line-bottom){
27
+ .bottom-line{
28
+ height: 0px !important;
32
29
  }
30
+ }
31
+ }
33
32
 
34
- .tab-title{
35
- border-bottom: 4px solid transparent !important;
36
- }
33
+ .bottom-line{
34
+ background-color: transparent;
35
+ height: 4px;
36
+ }
37
37
 
38
- .tab-title-active{
39
- border-bottom: 4px solid var(--tc-primary) !important;
40
- }
41
38
 
42
- .tab-title:hover{
43
- :not(.tab-title-active) {
44
- background: none !important;
45
- color: var(--tc-gray-500) !important;
46
- }
39
+ tcloud-ui-tab-subtitle,
40
+ tcloud-ui-tab-title{
41
+ .tab-subtitle-active + .bottom-line-hover,
42
+ .tab-title-active + .bottom-line-hover {
43
+ background-color: var(--tc-primary) !important;
44
+ }
47
45
 
48
- border-bottom: 4px solid var(--tc-primary) !important;
46
+ &:hover{
47
+ .bottom-line-hover{
48
+ background-color: var(--tc-primary) !important;
49
49
  }
50
- }
50
+ }
51
+ }
@@ -1312,52 +1312,6 @@ body.tc-prime {
1312
1312
  }
1313
1313
  }
1314
1314
 
1315
- //==========================================================
1316
- // Prime T-Cloud UI KIT Components
1317
- //==========================================================
1318
-
1319
- //====================================
1320
- // Tab Menu
1321
- //====================================
1322
-
1323
- .tab-title {
1324
-
1325
- &:hover {
1326
- background: var(--tc-complemt-2) !important;
1327
- }
1328
-
1329
- &.tab-title-active {
1330
- @include prime-bg;
1331
- }
1332
- }
1333
-
1334
- .area-navigation {
1335
-
1336
- td {
1337
- &:first-child,
1338
- &:last-child {
1339
-
1340
- button {
1341
- @include prime-color;
1342
- }
1343
- }
1344
- }
1345
- }
1346
-
1347
-
1348
- .subnav {
1349
-
1350
- .tc-menu {
1351
- background: none !important;
1352
- }
1353
- }
1354
-
1355
-
1356
-
1357
-
1358
-
1359
-
1360
-
1361
1315
 
1362
1316
  //====================================
1363
1317
  // Modal