@acrodata/gui 1.1.1 → 2.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.
Files changed (41) hide show
  1. package/README.md +6 -5
  2. package/button-toggle/button-toggle.scss +5 -6
  3. package/esm2022/button-toggle/button-toggle.mjs +7 -8
  4. package/esm2022/button-toggle/icon.mjs +3 -3
  5. package/esm2022/field-group/field-group.mjs +5 -5
  6. package/esm2022/field-label/field-label.mjs +5 -5
  7. package/esm2022/file-uploader/file-uploader-config.mjs +3 -3
  8. package/esm2022/file-uploader/file-uploader.mjs +9 -8
  9. package/esm2022/fill/fill.mjs +9 -8
  10. package/esm2022/gui-form.mjs +7 -5
  11. package/esm2022/gui-icons.mjs +3 -3
  12. package/esm2022/gui-module.mjs +10 -5
  13. package/esm2022/gui-utils.mjs +6 -6
  14. package/esm2022/icon-button-wrapper/icon-button-wrapper.mjs +13 -0
  15. package/esm2022/image-select/image-select.mjs +7 -8
  16. package/esm2022/inline-group/inline-group.mjs +5 -5
  17. package/esm2022/input-number/input-number.mjs +7 -16
  18. package/esm2022/input-text/input-text.mjs +7 -16
  19. package/esm2022/public-api.mjs +2 -1
  20. package/esm2022/select/select.mjs +7 -8
  21. package/esm2022/slider/slider.mjs +7 -8
  22. package/esm2022/switch/switch.mjs +7 -7
  23. package/esm2022/textarea/textarea.mjs +7 -16
  24. package/fesm2022/acrodata-gui.mjs +105 -120
  25. package/fesm2022/acrodata-gui.mjs.map +1 -1
  26. package/field-group/field-group.scss +4 -29
  27. package/field-label/field-label.scss +4 -4
  28. package/file-uploader/file-uploader.scss +6 -6
  29. package/fill/fill.scss +4 -4
  30. package/gui-form.scss +29 -41
  31. package/gui-module.d.ts +3 -2
  32. package/icon-button-wrapper/icon-button-wrapper.d.ts +5 -0
  33. package/icon-button-wrapper/icon-button-wrapper.scss +26 -0
  34. package/image-select/image-select.scss +10 -10
  35. package/inline-group/inline-group.scss +3 -3
  36. package/package.json +7 -7
  37. package/public-api.d.ts +1 -0
  38. package/select/select.scss +7 -7
  39. package/slider/slider.scss +6 -6
  40. package/switch/switch.scss +14 -7
  41. package/textarea/textarea.scss +1 -1
@@ -1,10 +1,10 @@
1
1
  .gui-field-group {
2
2
  display: flex;
3
- padding: 4px 8px;
3
+ padding: 0.25rem 0.5rem;
4
4
  }
5
5
 
6
6
  .gui-field {
7
- --mat-form-field-container-text-size: 12px;
7
+ --mat-form-field-container-text-size: 0.75rem;
8
8
 
9
9
  display: inline-flex;
10
10
  flex: 1;
@@ -19,11 +19,11 @@
19
19
  .mat-mdc-text-field-wrapper,
20
20
  .mat-mdc-form-field-hint-wrapper {
21
21
  position: relative;
22
- padding: 0 8px;
22
+ padding: 0 0.5rem;
23
23
  border-radius: var(--mdc-filled-text-field-container-shape);
24
24
 
25
25
  [dir='rtl'] & {
26
- padding: 0 8px;
26
+ padding: 0 0.5rem;
27
27
  }
28
28
  }
29
29
 
@@ -37,29 +37,4 @@
37
37
  .mdc-line-ripple {
38
38
  display: none;
39
39
  }
40
-
41
- .mat-mdc-icon-button {
42
- --mdc-icon-button-state-layer-size: 24px;
43
- --mdc-icon-button-icon-size: 14px;
44
-
45
- padding: 0;
46
-
47
- .mat-mdc-button-touch-target {
48
- width: var(--mdc-icon-button-state-layer-size);
49
- height: var(--mdc-icon-button-state-layer-size);
50
- }
51
- }
52
-
53
- // fix mat-form-field prefix icon
54
- .mat-icon {
55
- display: inline-flex;
56
- justify-content: center;
57
- align-items: center;
58
- padding: 0 !important;
59
-
60
- svg {
61
- width: 14px;
62
- height: 14px;
63
- }
64
- }
65
40
  }
@@ -1,9 +1,9 @@
1
1
  .gui-field-label {
2
2
  display: inline-block;
3
- width: 64px;
4
- height: 24px;
5
- padding: 0 4px;
6
- line-height: 24px;
3
+ width: 4rem;
4
+ height: 1.5rem;
5
+ padding: 0 0.25rem;
6
+ line-height: 1.5rem;
7
7
  overflow: hidden;
8
8
  white-space: nowrap;
9
9
  text-overflow: ellipsis;
@@ -11,12 +11,12 @@
11
11
  display: flex;
12
12
  align-items: center;
13
13
  justify-content: center;
14
- height: 120px;
15
- margin: 4px 0 0;
16
- padding: 4px;
14
+ height: 7.5rem;
15
+ margin: 0.25rem 0 0;
16
+ padding: 0.25rem;
17
17
  background-color: var(--mdc-filled-text-field-container-color);
18
18
  border: 1px solid transparent;
19
- border-radius: 4px;
19
+ border-radius: 0.25rem;
20
20
 
21
21
  &:hover,
22
22
  &:focus-within {
@@ -41,8 +41,8 @@
41
41
  }
42
42
 
43
43
  .mat-icon svg {
44
- width: 24px;
45
- height: 24px;
44
+ width: 1.5rem;
45
+ height: 1.5rem;
46
46
  }
47
47
  }
48
48
  }
package/fill/fill.scss CHANGED
@@ -2,8 +2,8 @@
2
2
  .gui-color-block-empty {
3
3
  position: relative;
4
4
  display: inline-block;
5
- width: 24px;
6
- height: 24px;
5
+ width: 1.5rem;
6
+ height: 1.5rem;
7
7
  }
8
8
 
9
9
  .gui-color-block-empty {
@@ -14,8 +14,8 @@
14
14
  linear-gradient(-45deg, #ccc 25%, transparent 25%),
15
15
  linear-gradient(45deg, transparent 75%, #ccc 75%),
16
16
  linear-gradient(-45deg, transparent 75%, #ccc 75%);
17
- background-position: 0 0, 0 4px, 4px -4px, -4px 0;
18
- background-size: 8px 8px;
17
+ background-position: 0 0, 0 0.25rem, 0.25rem -0.25rem, -0.25rem 0;
18
+ background-size: 0.5rem 0.5rem;
19
19
  }
20
20
 
21
21
  // use the pseudo-elements `::after` to simulate the border for color-block
package/gui-form.scss CHANGED
@@ -1,13 +1,13 @@
1
1
  .gui-form {
2
- --mat-expansion-header-text-size: 12px;
3
- --mat-expansion-container-text-size: 12px;
4
- --mat-expansion-header-collapsed-state-height: 32px;
5
- --mat-expansion-header-expanded-state-height: 32px;
2
+ --mat-expansion-header-text-size: 0.75rem;
3
+ --mat-expansion-header-collapsed-state-height: 2rem;
4
+ --mat-expansion-header-expanded-state-height: 2rem;
5
+ --mat-expansion-container-text-size: 0.75rem;
6
6
  --mat-expansion-container-shape: 0;
7
7
 
8
8
  position: relative;
9
9
  display: block;
10
- font-size: 12px;
10
+ font-size: 0.75rem;
11
11
 
12
12
  .mat-expansion-panel {
13
13
  box-shadow: none !important;
@@ -18,15 +18,15 @@
18
18
  }
19
19
 
20
20
  .mat-expansion-panel-header {
21
- padding: 0 12px;
21
+ padding: 0 0.75rem;
22
22
 
23
23
  .mat-content {
24
24
  align-items: center;
25
- padding-right: 8px;
25
+ padding-right: 0.5rem;
26
26
 
27
27
  [dir='rtl'] & {
28
28
  padding-right: 0;
29
- padding-left: 8px;
29
+ padding-left: 0.5rem;
30
30
  }
31
31
 
32
32
  gui-field-label {
@@ -38,13 +38,21 @@
38
38
  }
39
39
  }
40
40
 
41
- .mat-expansion-indicator::after {
42
- vertical-align: 2px;
41
+ .mat-expansion-indicator {
42
+ svg {
43
+ width: 1.5rem;
44
+ height: 1.5rem;
45
+ margin: 0 -0.5rem;
46
+ }
47
+
48
+ &::after {
49
+ vertical-align: 0.125rem;
50
+ }
43
51
  }
44
52
 
45
53
  .mat-mdc-tab-header {
46
- --mat-tab-header-label-text-size: 12px;
47
- --mdc-secondary-navigation-tab-container-height: 24px;
54
+ --mat-tab-header-label-text-size: 0.75rem;
55
+ --mdc-secondary-navigation-tab-container-height: 1.5rem;
48
56
  }
49
57
 
50
58
  .mat-mdc-tab-header-pagination {
@@ -53,25 +61,7 @@
53
61
 
54
62
  .mat-mdc-tab {
55
63
  min-width: auto;
56
- padding: 0 12px;
57
- }
58
-
59
- .mat-mdc-icon-button {
60
- --mdc-icon-button-state-layer-size: 24px;
61
- --mdc-icon-button-icon-size: 14px;
62
-
63
- padding: 0;
64
-
65
- .mat-mdc-button-touch-target {
66
- width: var(--mdc-icon-button-state-layer-size);
67
- height: var(--mdc-icon-button-state-layer-size);
68
- }
69
-
70
- .mat-icon {
71
- display: inline-flex;
72
- justify-content: center;
73
- align-items: center;
74
- }
64
+ padding: 0 0.75rem;
75
65
  }
76
66
  }
77
67
 
@@ -79,14 +69,14 @@
79
69
  display: flex;
80
70
  align-items: center;
81
71
  position: relative;
82
- padding: 0 12px;
83
- line-height: 24px;
72
+ padding: 0 0.75rem;
73
+ line-height: 1.5rem;
84
74
 
85
75
  &::before {
86
76
  position: absolute;
87
77
  left: 0;
88
- width: 2px;
89
- height: 16px;
78
+ width: 0.125rem;
79
+ height: 1rem;
90
80
  background-color: var(--mat-expansion-header-text-color);
91
81
  content: '';
92
82
 
@@ -108,9 +98,9 @@
108
98
 
109
99
  .gui-menu {
110
100
  .mat-mdc-tab-header {
111
- --mdc-tab-indicator-active-indicator-shape: 4px;
101
+ --mdc-tab-indicator-active-indicator-shape: 0.25rem;
112
102
 
113
- padding: 4px;
103
+ padding: 0.25rem;
114
104
  background-color: var(--mdc-filled-text-field-container-color);
115
105
 
116
106
  .mdc-tab__ripple::before {
@@ -119,17 +109,15 @@
119
109
  }
120
110
 
121
111
  .mat-mdc-tab-labels {
122
- gap: 4px;
112
+ gap: 0.25rem;
123
113
  }
124
114
 
125
115
  .mdc-tab-indicator .mdc-tab-indicator__content {
126
116
  height: 100%;
127
- border-width: 0;
128
- border-radius: var(--mdc-tab-indicator-active-indicator-shape);
129
117
  background-color: var(--mdc-tab-indicator-active-indicator-color);
130
118
  }
131
119
 
132
120
  .mdc-tab-indicator--active .mdc-tab-indicator__content {
133
- opacity: .24;
121
+ opacity: 0.24;
134
122
  }
135
123
  }
package/gui-module.d.ts CHANGED
@@ -29,9 +29,10 @@ import * as i27 from "./inline-group/inline-group";
29
29
  import * as i28 from "./image-select/image-select";
30
30
  import * as i29 from "./textarea/textarea";
31
31
  import * as i30 from "./file-uploader/file-uploader";
32
- import * as i31 from "./gui-utils";
32
+ import * as i31 from "./icon-button-wrapper/icon-button-wrapper";
33
+ import * as i32 from "./gui-utils";
33
34
  export declare class GuiModule {
34
35
  static ɵfac: i0.ɵɵFactoryDeclaration<GuiModule, never>;
35
- static ɵmod: i0.ɵɵNgModuleDeclaration<GuiModule, never, [typeof i1.CommonModule, typeof i2.ReactiveFormsModule, typeof i2.FormsModule, typeof i3.MatFormFieldModule, typeof i4.MatInputModule, typeof i5.MatSelectModule, typeof i6.MatSliderModule, typeof i7.MatSlideToggleModule, typeof i8.MatButtonToggleModule, typeof i9.MatIconModule, typeof i10.MatButtonModule, typeof i11.MatTabsModule, typeof i12.MatExpansionModule, typeof i13.MatTooltipModule, typeof i14.MtxColorpickerModule, typeof i15.MtxSelectModule, typeof i16.GuiForm, typeof i17.GuiInputText, typeof i18.GuiInputNumber, typeof i19.GuiSelect, typeof i20.GuiSwitch, typeof i21.GuiSlider, typeof i22.GuiIcon, typeof i23.GuiButtonToggle, typeof i24.GuiFill, typeof i25.GuiFieldGroup, typeof i26.GuiFieldLabel, typeof i27.GuiInlineGroup, typeof i28.GuiImageSelect, typeof i29.GuiTextarea, typeof i30.GuiFileUploader, typeof i31.GuiEjsPipe, typeof i31.GuiFlexDirective], [typeof i16.GuiForm, typeof i17.GuiInputText, typeof i18.GuiInputNumber, typeof i19.GuiSelect, typeof i20.GuiSwitch, typeof i21.GuiSlider, typeof i22.GuiIcon, typeof i23.GuiButtonToggle, typeof i24.GuiFill, typeof i25.GuiFieldGroup, typeof i26.GuiFieldLabel, typeof i27.GuiInlineGroup, typeof i28.GuiImageSelect, typeof i29.GuiTextarea, typeof i30.GuiFileUploader, typeof i31.GuiEjsPipe, typeof i31.GuiFlexDirective]>;
36
+ static ɵmod: i0.ɵɵNgModuleDeclaration<GuiModule, never, [typeof i1.CommonModule, typeof i2.ReactiveFormsModule, typeof i2.FormsModule, typeof i3.MatFormFieldModule, typeof i4.MatInputModule, typeof i5.MatSelectModule, typeof i6.MatSliderModule, typeof i7.MatSlideToggleModule, typeof i8.MatButtonToggleModule, typeof i9.MatIconModule, typeof i10.MatButtonModule, typeof i11.MatTabsModule, typeof i12.MatExpansionModule, typeof i13.MatTooltipModule, typeof i14.MtxColorpickerModule, typeof i15.MtxSelectModule, typeof i16.GuiForm, typeof i17.GuiInputText, typeof i18.GuiInputNumber, typeof i19.GuiSelect, typeof i20.GuiSwitch, typeof i21.GuiSlider, typeof i22.GuiIcon, typeof i23.GuiButtonToggle, typeof i24.GuiFill, typeof i25.GuiFieldGroup, typeof i26.GuiFieldLabel, typeof i27.GuiInlineGroup, typeof i28.GuiImageSelect, typeof i29.GuiTextarea, typeof i30.GuiFileUploader, typeof i31.GuiIconButtonWrapper, typeof i32.GuiEjsPipe, typeof i32.GuiFlexDirective], [typeof i16.GuiForm, typeof i17.GuiInputText, typeof i18.GuiInputNumber, typeof i19.GuiSelect, typeof i20.GuiSwitch, typeof i21.GuiSlider, typeof i22.GuiIcon, typeof i23.GuiButtonToggle, typeof i24.GuiFill, typeof i25.GuiFieldGroup, typeof i26.GuiFieldLabel, typeof i27.GuiInlineGroup, typeof i28.GuiImageSelect, typeof i29.GuiTextarea, typeof i30.GuiFileUploader, typeof i31.GuiIconButtonWrapper, typeof i32.GuiEjsPipe, typeof i32.GuiFlexDirective]>;
36
37
  static ɵinj: i0.ɵɵInjectorDeclaration<GuiModule>;
37
38
  }
@@ -0,0 +1,5 @@
1
+ import * as i0 from "@angular/core";
2
+ export declare class GuiIconButtonWrapper {
3
+ static ɵfac: i0.ɵɵFactoryDeclaration<GuiIconButtonWrapper, never>;
4
+ static ɵcmp: i0.ɵɵComponentDeclaration<GuiIconButtonWrapper, "gui-icon-button-wrapper", never, {}, {}, never, ["*"], true, never>;
5
+ }
@@ -0,0 +1,26 @@
1
+ .gui-icon-button-wrapper {
2
+ .mat-mdc-icon-button {
3
+ --mdc-icon-button-state-layer-size: 1.5rem;
4
+ --mdc-icon-button-icon-size: 0.875rem;
5
+
6
+ padding: 0;
7
+
8
+ .mat-mdc-button-touch-target {
9
+ width: var(--mdc-icon-button-state-layer-size);
10
+ height: var(--mdc-icon-button-state-layer-size);
11
+ }
12
+ }
13
+
14
+ .mat-icon {
15
+ display: inline-flex;
16
+ justify-content: center;
17
+ align-items: center;
18
+ width: 1.5rem;
19
+ height: 1.5rem;
20
+
21
+ svg {
22
+ width: 0.875rem;
23
+ height: 0.875rem;
24
+ }
25
+ }
26
+ }
@@ -1,8 +1,8 @@
1
1
  %img {
2
2
  height: 100%;
3
- max-width: 120px;
3
+ max-width: 7.5rem;
4
4
  object-fit: contain;
5
- border-radius: 4px;
5
+ border-radius: 0.25rem;
6
6
  background-color: var(--mat-option-hover-state-layer-color);
7
7
  }
8
8
 
@@ -10,19 +10,19 @@
10
10
  --mat-form-field-container-vertical-padding: 0;
11
11
 
12
12
  .ng-select {
13
- padding: 0 8px;
14
- margin: 0 -8px;
13
+ padding: 0 0.5rem;
14
+ margin: 0 -0.5rem;
15
15
 
16
16
  .ng-value-container {
17
- height: 64px;
17
+ height: 4rem;
18
18
  }
19
19
 
20
20
  .ng-value {
21
21
  display: inline-flex;
22
22
  align-items: center;
23
- gap: 8px;
23
+ gap: 0.5rem;
24
24
  height: 100%;
25
- padding: 8px 0;
25
+ padding: 0.5rem 0;
26
26
 
27
27
  img {
28
28
  @extend %img;
@@ -35,9 +35,9 @@
35
35
  .ng-option {
36
36
  display: flex;
37
37
  align-items: center;
38
- gap: 8px;
39
- height: 64px;
40
- padding: 8px;
38
+ gap: 0.5rem;
39
+ height: 4rem;
40
+ padding: 0.5rem;
41
41
 
42
42
  img {
43
43
  @extend %img;
@@ -1,6 +1,6 @@
1
1
  .gui-inline-group {
2
2
  display: flex;
3
- padding: 4px 8px;
3
+ padding: 0.25rem 0.5rem;
4
4
 
5
5
  mat-hint {
6
6
  width: 100%;
@@ -13,13 +13,13 @@
13
13
  display: inline-flex;
14
14
  flex: 1;
15
15
  flex-flow: row wrap;
16
- margin: 0 -4px;
16
+ margin: 0 -0.25rem;
17
17
 
18
18
  >.gui-field-group,
19
19
  >.gui-inline-group,
20
20
  >.mat-expansion-panel,
21
21
  >.gui-menu {
22
22
  width: 100%;
23
- padding: 0 4px;
23
+ padding: 0 0.25rem;
24
24
  }
25
25
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@acrodata/gui",
3
- "version": "1.1.1",
3
+ "version": "2.0.0",
4
4
  "description": "JSON powered GUI for configurable panels.",
5
5
  "publishConfig": {
6
6
  "access": "public"
@@ -31,12 +31,12 @@
31
31
  }
32
32
  },
33
33
  "peerDependencies": {
34
- "@angular/cdk": ">=17.0.0",
35
- "@angular/common": ">=17.0.0",
36
- "@angular/core": ">=17.0.0",
37
- "@angular/forms": ">=17.0.0",
38
- "@angular/material": ">=17.0.0",
39
- "@ng-matero/extensions": ">=17.0.0"
34
+ "@angular/cdk": ">=18.0.0",
35
+ "@angular/common": ">=18.0.0",
36
+ "@angular/core": ">=18.0.0",
37
+ "@angular/forms": ">=18.0.0",
38
+ "@angular/material": ">=18.0.0",
39
+ "@ng-matero/extensions": ">=18.0.0"
40
40
  },
41
41
  "dependencies": {
42
42
  "tslib": "^2.3.0"
package/public-api.d.ts CHANGED
@@ -7,6 +7,7 @@ export * from './field-label/field-label';
7
7
  export * from './file-uploader/file-uploader';
8
8
  export * from './file-uploader/file-uploader-config';
9
9
  export * from './fill/fill';
10
+ export * from './icon-button-wrapper/icon-button-wrapper';
10
11
  export * from './image-select/image-select';
11
12
  export * from './inline-group/inline-group';
12
13
  export * from './input-number/input-number';
@@ -1,24 +1,24 @@
1
1
  .gui-select {
2
- --mat-select-trigger-text-size: 12px;
3
- --mat-option-label-text-size: 12px;
2
+ --mat-select-trigger-text-size: 0.75rem;
3
+ --mat-option-label-text-size: 0.75rem;
4
4
 
5
5
  .mat-mdc-option {
6
6
  min-height: var(--mat-option-label-text-line-height);
7
- padding: 0 8px !important;
7
+ padding: 0 0.5rem !important;
8
8
 
9
9
  .mat-pseudo-checkbox-full {
10
- margin-right: 8px;
10
+ margin-right: 0.5rem;
11
11
 
12
12
  [dir='rtl'] & {
13
13
  margin-right: 0;
14
- margin-left: 8px;
14
+ margin-left: 0.5rem;
15
15
  }
16
16
  }
17
17
  }
18
18
 
19
19
  .mat-pseudo-checkbox {
20
- width: 16px;
21
- height: 16px;
20
+ width: 1rem;
21
+ height: 1rem;
22
22
  border-width: 1px;
23
23
  }
24
24
  }
@@ -1,9 +1,9 @@
1
1
  .gui-slider {
2
2
  .mat-mdc-slider {
3
- --mdc-slider-handle-width: 12px;
4
- --mdc-slider-handle-height: 12px;
5
- --mdc-slider-inactive-track-height: 2px;
6
- --mdc-slider-active-track-height: 2px;
3
+ --mdc-slider-handle-width: 0.75rem;
4
+ --mdc-slider-handle-height: 0.75rem;
5
+ --mdc-slider-inactive-track-height: 0.125rem;
6
+ --mdc-slider-active-track-height: 0.125rem;
7
7
 
8
8
  flex: 3;
9
9
  min-width: auto;
@@ -36,11 +36,11 @@
36
36
  }
37
37
 
38
38
  .mat-mdc-form-field {
39
- margin-left: 6px;
39
+ margin-left: 0.375rem;
40
40
 
41
41
  [dir='rtl'] & {
42
42
  margin-left: 0;
43
- margin-right: 6px;
43
+ margin-right: 0.375rem;
44
44
  }
45
45
 
46
46
  input::-webkit-outer-spin-button,
@@ -1,12 +1,19 @@
1
1
  .gui-switch {
2
- --mat-switch-unselected-handle-size: 14px;
3
- --mat-switch-selected-handle-size: 14px;
4
- --mat-switch-pressed-handle-size: 14px;
5
- --mdc-switch-track-width: 28px;
6
- --mdc-switch-handle-width: 14px;
7
- --mdc-switch-state-layer-size: 24px;
8
-
9
2
  .mat-mdc-slide-toggle {
3
+ --mat-switch-unselected-handle-size: 0.75rem;
4
+ --mat-switch-selected-handle-size: 0.75rem;
5
+ --mat-switch-pressed-handle-size: 0.75rem;
6
+ --mat-switch-selected-handle-horizontal-margin: 0;
7
+ --mat-switch-selected-pressed-handle-horizontal-margin: 0;
8
+ --mat-switch-unselected-handle-horizontal-margin: 0 0.125rem;
9
+ --mat-switch-unselected-pressed-handle-horizontal-margin: 0 0.125rem;
10
+ --mat-switch-track-outline-width: 1px;
11
+ --mdc-switch-track-width: 1.75rem;
12
+ --mdc-switch-track-height: 1rem;
13
+ --mdc-switch-track-shape: 0.5rem;
14
+ --mdc-switch-handle-width: 0.875rem;
15
+ --mdc-switch-state-layer-size: 1.5rem;
16
+
10
17
  line-height: var(--mdc-switch-state-layer-size);
11
18
  }
12
19
  }
@@ -4,6 +4,6 @@
4
4
  }
5
5
 
6
6
  .mat-mdc-form-field-textarea-control {
7
- padding: 0 8px;
7
+ padding: 0 0.5rem;
8
8
  }
9
9
  }