@acrodata/gui 0.4.0 → 0.4.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/fill/fill.scss CHANGED
@@ -29,7 +29,7 @@
29
29
  opacity: .12;
30
30
  content: '';
31
31
 
32
- [dir="rtl"] & {
32
+ [dir='rtl'] & {
33
33
  border-radius: 0;
34
34
  border-top-right-radius: var(--mdc-filled-text-field-container-shape);
35
35
  border-bottom-right-radius: var(--mdc-filled-text-field-container-shape);
package/gui-form.scss CHANGED
@@ -26,6 +26,11 @@
26
26
  align-items: center;
27
27
  padding-right: 8px;
28
28
 
29
+ [dir='rtl'] & {
30
+ padding-right: 0;
31
+ padding-left: 8px;
32
+ }
33
+
29
34
  gui-field-label {
30
35
  flex: 1;
31
36
  overflow: hidden;
@@ -83,7 +88,7 @@
83
88
  padding: 0 8px;
84
89
  border-radius: var(--mdc-filled-text-field-container-shape);
85
90
 
86
- [dir="rtl"] & {
91
+ [dir='rtl'] & {
87
92
  padding: 0 8px;
88
93
  }
89
94
  }
@@ -114,6 +119,11 @@
114
119
  height: 16px;
115
120
  background-color: var(--mat-expansion-header-text-color);
116
121
  content: '';
122
+
123
+ [dir='rtl'] & {
124
+ left: auto;
125
+ right: 0;
126
+ }
117
127
  }
118
128
  }
119
129
 
@@ -2,7 +2,7 @@
2
2
  .mat-mdc-text-field-wrapper {
3
3
  padding-right: 0;
4
4
 
5
- [dir="rtl"] & {
5
+ [dir='rtl'] & {
6
6
  padding-left: 0;
7
7
  }
8
8
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@acrodata/gui",
3
- "version": "0.4.0",
3
+ "version": "0.4.2",
4
4
  "description": "A lightweight GUI library for Angular",
5
5
  "publishConfig": {
6
6
  "access": "public"
@@ -31,12 +31,12 @@
31
31
  }
32
32
  },
33
33
  "peerDependencies": {
34
- "@angular/cdk": ">=15.0.0",
35
- "@angular/common": ">=15.0.0",
36
- "@angular/core": ">=15.0.0",
37
- "@angular/forms": ">=15.0.0",
38
- "@angular/material": ">=15.0.0",
39
- "@ng-matero/extensions": ">=15.0.0"
34
+ "@angular/cdk": ">=16.0.0",
35
+ "@angular/common": ">=16.0.0",
36
+ "@angular/core": ">=16.0.0",
37
+ "@angular/forms": ">=16.0.0",
38
+ "@angular/material": ">=16.0.0",
39
+ "@ng-matero/extensions": ">=16.0.0"
40
40
  },
41
41
  "dependencies": {
42
42
  "tslib": "^2.3.0"
@@ -4,10 +4,15 @@
4
4
 
5
5
  .mat-mdc-option {
6
6
  min-height: var(--mat-option-label-text-line-height);
7
- padding: 0 8px;
7
+ padding: 0 8px !important;
8
8
 
9
9
  .mat-pseudo-checkbox-full {
10
10
  margin-right: 8px;
11
+
12
+ [dir='rtl'] & {
13
+ margin-right: 0;
14
+ margin-left: 8px;
15
+ }
11
16
  }
12
17
  }
13
18
 
@@ -38,6 +38,11 @@
38
38
  .mat-mdc-form-field {
39
39
  margin-left: 6px;
40
40
 
41
+ [dir='rtl'] & {
42
+ margin-left: 0;
43
+ margin-right: 6px;
44
+ }
45
+
41
46
  input::-webkit-outer-spin-button,
42
47
  input::-webkit-inner-spin-button {
43
48
  appearance: none;