@acrodata/gui 0.2.2 → 0.2.4

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.
@@ -19,7 +19,8 @@
19
19
  border: 1px solid transparent;
20
20
  border-radius: 4px;
21
21
 
22
- &:hover {
22
+ &:hover,
23
+ &:focus-within {
23
24
  border-color: currentColor;
24
25
  }
25
26
 
package/fill/fill.scss CHANGED
@@ -1,7 +1,7 @@
1
1
  .gui-color-block,
2
2
  .gui-color-block-empty {
3
3
  position: relative;
4
- display: block;
4
+ display: inline-block;
5
5
  width: 24px;
6
6
  height: 24px;
7
7
  }
@@ -18,7 +18,25 @@
18
18
  background-size: 8px 8px;
19
19
  }
20
20
 
21
- // fix icon vertical align
21
+ // use the pseudo-elements `::after` to simulate the border for color-block
22
+ .gui-color-block::after {
23
+ display: inline-block;
24
+ width: 100%;
25
+ height: 100%;
26
+ border: 1px solid currentColor;
27
+ border-top-left-radius: var(--mdc-filled-text-field-container-shape);
28
+ border-bottom-left-radius: var(--mdc-filled-text-field-container-shape);
29
+ opacity: .12;
30
+ content: '';
31
+
32
+ [dir="rtl"] & {
33
+ border-radius: 0;
34
+ border-top-right-radius: var(--mdc-filled-text-field-container-shape);
35
+ border-bottom-right-radius: var(--mdc-filled-text-field-container-shape);
36
+ }
37
+ }
38
+
39
+ // fix the vertical alignment for icon
22
40
  .gui-fill {
23
41
  .mat-mdc-icon-button {
24
42
  display: inline-flex;
package/gui-form.scss CHANGED
@@ -6,6 +6,7 @@
6
6
  --mat-expansion-header-expanded-state-height: 32px;
7
7
 
8
8
  position: relative;
9
+ display: block;
9
10
  font-size: 12px;
10
11
 
11
12
  .mat-expansion-panel {
@@ -40,6 +41,10 @@
40
41
  --mdc-secondary-navigation-tab-container-height: 24px;
41
42
  }
42
43
 
44
+ .mat-mdc-tab-header-pagination {
45
+ min-width: var(--mdc-secondary-navigation-tab-container-height);
46
+ }
47
+
43
48
  .mat-mdc-tab {
44
49
  min-width: auto;
45
50
  padding: 0 12px;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@acrodata/gui",
3
- "version": "0.2.2",
3
+ "version": "0.2.4",
4
4
  "description": "A lightweight GUI library for Angular",
5
5
  "publishConfig": {
6
6
  "access": "public"
@@ -0,0 +1,9 @@
1
+ .gui-textarea {
2
+ .mat-mdc-text-field-wrapper {
3
+ padding: 0;
4
+ }
5
+
6
+ .mat-mdc-form-field-textarea-control {
7
+ padding: 0 8px;
8
+ }
9
+ }