@firestitch/form 18.0.0 → 18.0.2

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": "@firestitch/form",
3
- "version": "18.0.0",
3
+ "version": "18.0.2",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "https://github.com/Firestitch/ngx-form"
package/styles.scss CHANGED
@@ -1,15 +1,6 @@
1
1
  @use '@angular/material' as mat;
2
2
 
3
3
  .fs-form {
4
-
5
- .mat-form-field.mat-form-field-should-float {
6
- .fs-form-label-required:after {
7
- content: " *";
8
- white-space: pre-wrap;
9
- }
10
-
11
- }
12
-
13
4
  .fs-form-wrapper.ng-invalid.ng-dirty .fs-form-label,
14
5
  .ng-invalid.ng-dirty:not(form) .fs-form-label {
15
6
  color: #f44336;
@@ -23,10 +14,6 @@
23
14
  color: #f44336;
24
15
  }
25
16
 
26
- .fs-form-message {
27
- margin-top: 0.54166667em;
28
- }
29
-
30
17
  .mat-placeholder-required {
31
18
  display: none;
32
19
  }
@@ -87,10 +74,9 @@
87
74
  }
88
75
 
89
76
  .fs-form button {
90
-
91
- &.mat-button,
92
- &.mat-raised-button:not([color='primary']),
93
- &.mat-flat-button:not([color='primary']) {
77
+ &.mdc-button,
78
+ &.mdc-button--raised:not([color='primary']),
79
+ &.mdc-button--flat:not([color='primary']) {
94
80
  svg.svg-icon-process {
95
81
  stroke: mat.m2-get-color-from-palette($primary);
96
82
  }
@@ -101,8 +87,8 @@
101
87
  }
102
88
  }
103
89
 
104
- &.mat-raised-button[color='primary'],
105
- &.mat-flat-button[color='primary'] {
90
+ &.mdc-button--raised[color='primary'],
91
+ &.mdc-button--flat[color='primary'] {
106
92
  svg.svg-icon-process {
107
93
  stroke: #fff;
108
94
  }