@tetacom/ng-components 1.0.149 → 1.0.150

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tetacom/ng-components",
3
- "version": "1.0.149",
3
+ "version": "1.0.150",
4
4
  "private": false,
5
5
  "peerDependencies": {
6
6
  "@angular/common": "^14.0.0",
@@ -1,5 +1,4 @@
1
1
  @import "./presets/color-presets.scss";
2
2
  @import "./presets/font-presets.scss";
3
- @import "./presets/shadow-presets.scss";
4
3
  @import "./presets/spacing-presets.scss";
5
4
  @import "./presets/layout-presets.scss";
package/style/button.scss CHANGED
@@ -1,6 +1,5 @@
1
1
  @import "./util/color-util.scss";
2
2
  @import "./util/font-util.scss";
3
- @import "./util/button-util.scss";
4
3
  @import "presets/view-types.scss";
5
4
 
6
5
  .button {
@@ -7,4 +7,3 @@ $themes: map-collect('themes', tatneft.$presets, base.$presets);
7
7
  $shadows: map-collect('shadow', tatneft.$presets, base.$presets);
8
8
 
9
9
  @import '@tetacom/themes/src/generate.scss';
10
- @import url('https://fonts.googleapis.com/css2?family=Inter:wght@100;200;300;400;500;600;700;800;900&display=swap');
@@ -1,16 +0,0 @@
1
- $shadows: (
2
- 'default': (
3
- '1': 0px 1px 0px #DAE0EB,
4
- '2': 0px 14px 18px 0px rgba(0, 0, 0, 0.06),
5
- '3': 0px 8px 16px rgba(39, 39, 39, 0.26),
6
- '4': 0px 12px 24px rgba(39, 39, 39, 0.26),
7
- '5': 0px 16px 32px rgba(39, 39, 39, 0.26),
8
- ),
9
- 'dark': (
10
- '1': 0px 1px 0px rgba(11, 11, 12, 1),
11
- '2': 0px 14px 18px rgba(0, 0, 0, 0.3),
12
- '3': 0px 8px 16px rgba(0, 0, 0, 0.400),
13
- '4': 0px 12px 24px rgba(0, 0, 0, 0.400),
14
- '5': 0px 16px 32px rgba(0, 0, 0, 0.400),
15
- )
16
- );
@@ -1,58 +0,0 @@
1
- @import "./color-util.scss";
2
-
3
- @mixin generateButtonForPalette($paletteName) {
4
- .button_primary.button-#{$paletteName} {
5
- background-color: getColorVar($paletteName, '50');
6
- background-position: center;
7
- transition: background 0.8s;
8
-
9
- &:hover {
10
- background: getColorVar($paletteName, '60') radial-gradient(circle, transparent 1%, getColorVar($paletteName, '60') 1%) center/15000%;
11
- }
12
-
13
- &:active {
14
- background-color: getColorVar($paletteName, '70');
15
- background-size: 100%;
16
- transition: background 0s;
17
- }
18
- }
19
-
20
- .button_ghost.button-#{$paletteName} {
21
- color: getColorVar($paletteName, '90');
22
- fill: getColorVar($paletteName, '90');
23
- background-color: transparent;
24
- background-position: center;
25
- transition: background 0.8s;
26
-
27
- &:hover {
28
- background: getColorVar($paletteName, '5') radial-gradient(circle, transparent 1%, getColorVar($paletteName, '5') 1%) center/15000%;
29
- }
30
-
31
- &:active {
32
- background-color: getColorVar($paletteName, '10');
33
- background-size: 100%;
34
- transition: background 0s;
35
- }
36
- }
37
-
38
- .button_outline.button-#{$paletteName} {
39
- color: getColorVar($paletteName, '50');
40
- fill: getColorVar($paletteName, '50');
41
- border-color: getColorVar($paletteName, '50');
42
- border-style: solid;
43
- border-width: 1px;
44
- background-color: transparent;
45
- background-position: center;
46
- transition: background 0.8s;
47
-
48
- &:hover {
49
- background: getColorVar($paletteName, '5') radial-gradient(circle, transparent 1%, getColorVar($paletteName, '5') 1%) center/15000%;
50
- }
51
-
52
- &:active {
53
- background-color: getColorVar($paletteName, '10');
54
- background-size: 100%;
55
- transition: background 0s;
56
- }
57
- }
58
- }