@agorapulse/ui-theme 1.0.0 → 13.0.0

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.
Binary file
@@ -1,4 +1,4 @@
1
- @use '~@angular/material' as mat;
1
+ @use '@angular/material' as mat;
2
2
  // Color palettes from the Material Design spec.
3
3
  // See https://www.google.com/design/spec/style/color.html
4
4
  //
@@ -1,4 +1,4 @@
1
- @use '~@angular/material' as mat;
1
+ @use '@angular/material' as mat;
2
2
  @import 'variables';
3
3
 
4
4
  /*
@@ -7,11 +7,9 @@
7
7
 
8
8
  .mat-button-toggle {
9
9
  margin-left: -1px;
10
- height: 34px;
11
- line-height: 34px;
12
10
  color: map_get($colors-grey, 100);
13
11
  font-weight: bold;
14
- border: 1px solid #D6DAE0;
12
+ border: 1px solid map_get($colors-grey, 20);
15
13
 
16
14
  &.mat-button-toggle-checked {
17
15
  color: map_get($colors-electric-blue, 100);
@@ -36,18 +34,17 @@
36
34
  height: 100%;
37
35
  z-index: 1;
38
36
  .mat-button-toggle-focus-overlay {
39
- opacity: 0!important;
37
+ opacity: 0 !important;
40
38
  }
41
39
  }
42
40
 
43
41
  button {
44
- margin-top: -2px;
45
42
  height: 36px;
46
43
  line-height: 36px;
47
44
  }
48
45
 
49
46
  span {
50
- margin-top: -2px;
47
+ padding: 0 $padding-m;
51
48
  height: 36px;
52
49
  line-height: 36px;
53
50
  &.mat-button-toggle-focus-overlay {
@@ -58,7 +55,7 @@
58
55
  .mat-button-toggle:first-of-type {
59
56
  border-bottom-left-radius: $border-radius;
60
57
  border-top-left-radius: $border-radius;
61
- margin-left: 0px !important;
58
+ margin-left: 0 !important;
62
59
  }
63
60
  .mat-button-toggle:last-of-type {
64
61
  border-bottom-right-radius: $border-radius;
@@ -6,16 +6,17 @@
6
6
  margin-top: $padding-l;
7
7
  padding: $padding-l;
8
8
 
9
- &[fxLayout] {
9
+ &.ap-space-between {
10
10
  margin-left: -$padding-l;
11
11
  margin-right: -$padding-l;
12
+ justify-content: space-between;
12
13
  }
13
14
 
14
- [fxFlex]:first-child {
15
+ div:first-child {
15
16
  margin-left: $padding-l;
16
17
  }
17
18
 
18
- [fxFlex]:last-child {
19
+ div:last-child {
19
20
  margin-right: $padding-l;
20
21
  }
21
22
  }
@@ -1,3 +1,5 @@
1
+ @import '../variables';
2
+
1
3
  .mat-accordion {
2
4
  .mat-expansion-panel-spacing {
3
5
  margin: 0;
@@ -6,15 +8,13 @@
6
8
  .mat-action-row {
7
9
  background-color: $color-grey-white;
8
10
  padding: $padding-l;
9
- &[fxLayout] {
10
- margin-left: -$padding-l;
11
- margin-right: -$padding-l;
12
- }
13
- [fxFlex]:first-child {
14
- margin-left: $padding-l;
11
+ &.ap-space-between {
12
+ justify-content: space-between;
15
13
  }
16
- [fxFlex]:last-child {
17
- margin-right: $padding-l;
14
+ div {
15
+ button {
16
+ margin: 0;
17
+ }
18
18
  }
19
19
  }
20
20
 
@@ -2,7 +2,7 @@
2
2
  * THEMING
3
3
  * See https://material.angular.io/guide/theming
4
4
  */
5
- @use '~@angular/material' as mat;
5
+ @use '@angular/material' as mat;
6
6
  @include mat.core();
7
7
 
8
8
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@agorapulse/ui-theme",
3
- "version": "1.0.0",
3
+ "version": "13.0.0",
4
4
  "description": "Agorapulse UI Theme Library",
5
5
  "repository": {
6
6
  "type": "git",
@@ -13,7 +13,6 @@
13
13
  },
14
14
  "homepage": "https://github.com/agorapulse/design#readme",
15
15
  "peerDependencies": {
16
- "@angular/material": "^12.2.3",
17
- "@ng-select/ng-select": "^7.2.0"
16
+ "@angular/material": "^13.1.3"
18
17
  }
19
18
  }
Binary file
package/package.json.bak DELETED
@@ -1,19 +0,0 @@
1
- {
2
- "name": "@agorapulse/ui-theme",
3
- "version": "1.0.0-SNAPSHOT",
4
- "description": "Agorapulse UI Theme Library",
5
- "repository": {
6
- "type": "git",
7
- "url": "https://github.com/agorapulse/design.git"
8
- },
9
- "author": "Arnaud BUSO",
10
- "license": "ISC",
11
- "bugs": {
12
- "url": "https://github.com/agorapulse/design/issues"
13
- },
14
- "homepage": "https://github.com/agorapulse/design#readme",
15
- "peerDependencies": {
16
- "@angular/material": "^12.2.3",
17
- "@ng-select/ng-select": "^7.2.0"
18
- }
19
- }