@firestitch/style 18.0.0 → 18.0.1

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/style",
3
- "version": "18.0.0",
3
+ "version": "18.0.1",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "https://github.com/Firestitch/ngx-style"
@@ -1,91 +1,25 @@
1
- @use 'form-field-multiline-subscript' as *;
2
1
  @use 'functions';
3
2
 
4
- @use '../variables';
5
-
6
3
  @mixin form-field {
7
- .form-field-lineless:not(.mat-focused) {
8
- &:hover {
9
- .mat-form-field-underline {
10
- border-top: 1px dashed functions.color-rgb(variables.$palette, .3);
11
- }
12
- }
13
- }
14
-
15
- .form-field-multiline-subscript {
16
- @include form-field-multiline-subscript;
17
- }
18
-
19
- .mat-form-field {
20
- &.mat-form-field-appearance-legacy {
21
- &.form-field-padless-top, &.form-field-padless {
22
- .mat-form-field-infix {
23
- border-top: 0;
24
- }
4
+ mat-form-field {
5
+ &.form-field-multiline-subscript {
6
+ .mat-mdc-form-field-bottom-align::before {
7
+ display: none;
25
8
  }
26
-
27
- &.form-field-padless-bottom, &.form-field-padless {
28
- .mat-form-field-underline {
29
- bottom: 0;
30
- }
31
-
32
- .mat-form-field-wrapper {
33
- padding-bottom: 0;
34
-
35
- .mat-form-field-subscript-wrapper {
36
- position: absolute !important;
37
- top: unset;
38
- margin-top: 0;
39
- }
40
- }
9
+ .mat-mdc-form-field-hint-wrapper {
10
+ position: relative;
11
+ padding-top: 3px;
41
12
  }
42
13
  }
43
14
 
44
- &.mat-form-field-appearance-standard,
45
- &.mat-form-field-appearance-outline {
46
- &.form-field-padless-top,
47
- &.form-field-padless {
48
- .mat-form-field-flex {
49
- padding-top: 0;
50
- margin-top: 0;
51
- }
52
-
53
- .mat-form-field-wrapper {
54
- margin: 0;
55
- }
56
-
57
- .mat-select-arrow-wrapper {
58
- transform: none;
59
- }
60
-
61
- .mat-form-field-infix {
62
- border-top-width: 0;
63
- }
64
-
65
- .mat-form-field-outline {
66
- top: 0;
67
- }
68
- }
69
-
70
- &.form-field-padless-bottom, &.form-field-padless {
71
- .mat-form-field-underline {
72
- bottom: 0;
73
- }
74
-
75
- .mat-form-field-wrapper {
76
- padding-bottom: 0;
77
-
78
- .mat-form-field-subscript-wrapper {
79
- position: absolute !important;
80
- top: unset;
81
- margin-top: 0;
82
- }
83
- }
15
+ &.form-field-padless-bottom,
16
+ &.form-field-padless {
17
+ .mat-mdc-form-field-subscript-wrapper {
18
+ display: none;
84
19
  }
85
20
  }
86
21
  }
87
22
 
88
-
89
23
  .form-field-grow {
90
24
  .mat-form-field-infix {
91
25
  width: fit-content;
@@ -98,8 +32,8 @@
98
32
  }
99
33
 
100
34
  .form-field-lineless:not(.mat-focused) {
101
- .mat-form-field-underline {
102
- background-color: transparent;
35
+ .mdc-text-field--outlined .mat-mdc-notch-piece {
36
+ border-color: transparent;
103
37
  }
104
38
 
105
39
  input {
@@ -1,26 +0,0 @@
1
- @mixin form-field-multiline-subscript {
2
- .mat-form-field-wrapper {
3
- padding-bottom: 0 !important;
4
-
5
- .mat-form-field-underline {
6
- position: initial;
7
- display: block;
8
- margin-top: -1px;
9
- }
10
-
11
- .mat-form-field-subscript-wrapper,
12
- .mat-form-field-ripple {
13
- position: initial;
14
- display: table;
15
-
16
- mat-hint:not(:empty),
17
- .fs-form-error {
18
- margin-bottom: 1em;
19
- display: block;
20
- }
21
- }
22
- .mat-form-field-subscript-wrapper {
23
- min-height: calc(1em + 1px);
24
- }
25
- }
26
- }