@covalent/guided-tour 4.1.1-next.1 → 4.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/_guided-tour-theme.scss +78 -0
- package/package.json +11 -3
|
@@ -0,0 +1,78 @@
|
|
|
1
|
+
@mixin covalent-guided-tour-theme($theme, $config: null) {
|
|
2
|
+
@include td-guided-tour-typography($config);
|
|
3
|
+
@include td-guided-tour-theme($theme);
|
|
4
|
+
}
|
|
5
|
+
|
|
6
|
+
@mixin td-guided-tour-typography($config) {
|
|
7
|
+
@if $config == null {
|
|
8
|
+
$config: td-typography-config();
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
.shepherd-title {
|
|
12
|
+
@include mat-typography-level-to-styles($config, subheading-2);
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
.shepherd-text {
|
|
16
|
+
@include mat-typography-level-to-styles($config, body-1);
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
.shepherd-progress {
|
|
20
|
+
@include mat-typography-level-to-styles($config, body-1);
|
|
21
|
+
}
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
@mixin td-guided-tour-theme($theme) {
|
|
25
|
+
$primary: map-get($theme, primary);
|
|
26
|
+
$accent: map-get($theme, accent);
|
|
27
|
+
$foreground: map-get($theme, foreground);
|
|
28
|
+
$background: map-get($theme, background);
|
|
29
|
+
|
|
30
|
+
.shepherd-highlight {
|
|
31
|
+
background: mat-color($background, focused-button);
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
.shepherd-button,
|
|
35
|
+
.shepherd-cancel-icon,
|
|
36
|
+
.shepherd-has-title .shepherd-content .shepherd-cancel-icon,
|
|
37
|
+
.shepherd-title,
|
|
38
|
+
.shepherd-text,
|
|
39
|
+
.shepherd-content,
|
|
40
|
+
.shepherd-cancel-icon span::after {
|
|
41
|
+
color: mat-color($accent, darker-contrast);
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
.shepherd-button:not(:disabled),
|
|
45
|
+
.shepherd-button.shepherd-button-secondary:not(:disabled),
|
|
46
|
+
.shepherd-cancel-icon {
|
|
47
|
+
&:hover {
|
|
48
|
+
background: mat-color($background, focused-button);
|
|
49
|
+
}
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
.shepherd-has-title .shepherd-content .shepherd-header,
|
|
53
|
+
.shepherd-element,
|
|
54
|
+
.shepherd-arrow::before,
|
|
55
|
+
.shepherd-arrow::after,
|
|
56
|
+
.shepherd-content,
|
|
57
|
+
.shepherd-element.shepherd-has-title[data-popper-placement^='bottom']
|
|
58
|
+
> .shepherd-arrow::before {
|
|
59
|
+
background: mat-color($accent, darker);
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
// Bringing in mat-icon button styles
|
|
63
|
+
// Class can't be passed so we must include mat button styles here
|
|
64
|
+
.shepherd-cancel-icon {
|
|
65
|
+
min-width: 0;
|
|
66
|
+
margin: 0;
|
|
67
|
+
padding: 0;
|
|
68
|
+
width: $mat-icon-button-size;
|
|
69
|
+
height: $mat-icon-button-size;
|
|
70
|
+
flex-shrink: 0;
|
|
71
|
+
line-height: $mat-icon-button-size;
|
|
72
|
+
border-radius: $mat-icon-button-border-radius;
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
.shepherd-void-button {
|
|
76
|
+
display: none;
|
|
77
|
+
}
|
|
78
|
+
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@covalent/guided-tour",
|
|
3
|
-
"version": "4.1.
|
|
3
|
+
"version": "4.1.3",
|
|
4
4
|
"description": "Covalent Guided Tour Module",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"angular",
|
|
@@ -10,15 +10,23 @@
|
|
|
10
10
|
"guide",
|
|
11
11
|
"guided tour"
|
|
12
12
|
],
|
|
13
|
+
"repository": {
|
|
14
|
+
"type": "git",
|
|
15
|
+
"url": "https://github.com/teradata/covalent.git"
|
|
16
|
+
},
|
|
17
|
+
"bugs": {
|
|
18
|
+
"url": "https://github.com/teradata/covalent/issues"
|
|
19
|
+
},
|
|
20
|
+
"license": "MIT",
|
|
13
21
|
"peerDependencies": {
|
|
14
22
|
"@angular/common": "^13.2.0",
|
|
15
23
|
"@angular/core": "^13.2.0",
|
|
16
24
|
"shepherd.js": "^9.0.0",
|
|
17
|
-
"@angular/router": "
|
|
25
|
+
"@angular/router": "^13.2.0",
|
|
18
26
|
"rxjs": "~7.4.0"
|
|
19
27
|
},
|
|
20
28
|
"dependencies": {
|
|
21
|
-
"tslib": "^2.
|
|
29
|
+
"tslib": "^2.0.0"
|
|
22
30
|
},
|
|
23
31
|
"module": "fesm2015/covalent-guided-tour.mjs",
|
|
24
32
|
"es2020": "fesm2020/covalent-guided-tour.mjs",
|