rd-outer-component 0.0.39 → 0.0.40

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.
@@ -2,9 +2,9 @@ import * as i0 from "@angular/core";
2
2
  import * as i1 from "./custom-checkbox.component";
3
3
  import * as i2 from "@angular/common";
4
4
  import * as i3 from "@angular/forms";
5
- import * as i4 from "ng-zorro-antd/radio";
5
+ import * as i4 from "ng-zorro-antd/checkbox";
6
6
  export declare class RdCheckboxModule {
7
7
  static ɵfac: i0.ɵɵFactoryDeclaration<RdCheckboxModule, never>;
8
- static ɵmod: i0.ɵɵNgModuleDeclaration<RdCheckboxModule, [typeof i1.CustomCheckboxComponent], [typeof i2.CommonModule, typeof i3.ReactiveFormsModule, typeof i3.FormsModule, typeof i4.NzRadioModule], [typeof i1.CustomCheckboxComponent]>;
8
+ static ɵmod: i0.ɵɵNgModuleDeclaration<RdCheckboxModule, [typeof i1.CustomCheckboxComponent], [typeof i2.CommonModule, typeof i3.ReactiveFormsModule, typeof i3.FormsModule, typeof i4.NzCheckboxModule], [typeof i1.CustomCheckboxComponent]>;
9
9
  static ɵinj: i0.ɵɵInjectorDeclaration<RdCheckboxModule>;
10
10
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "rd-outer-component",
3
- "version": "0.0.39",
3
+ "version": "0.0.40",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "15.2.10",
6
6
  "@angular/core": "15.2.10",
@@ -1,7 +1,7 @@
1
1
  .rd-form-item {
2
2
  position: relative;
3
3
  border-radius: 4px;
4
- padding: 2px 6px;
4
+ padding: 2px 0;
5
5
  border: 1px solid #e5e7eb;
6
6
  background-color: #fff;
7
7
  width: 100%;
@@ -27,7 +27,8 @@
27
27
  pointer-events: none;
28
28
  z-index: 1;
29
29
  font-size: 14px;
30
- font-weight: 500;
30
+ font-weight: 600;
31
+ line-height: 1;
31
32
  }
32
33
 
33
34
  &-input {
@@ -35,7 +36,8 @@
35
36
  font-size: 14px;
36
37
  width: 100%;
37
38
  font-weight: 500;
38
- padding: 18px 16px;
39
+ padding: 22px 16px 12px;
40
+ height: 52px;
39
41
 
40
42
  &:focus,
41
43
  &:not(:placeholder-shown) {
@@ -45,7 +47,7 @@
45
47
 
46
48
  .rd-form-item-input:focus ~ .rd-form-item-label,
47
49
  .rd-form-item-input:not(:placeholder-shown) ~ .rd-form-item-label {
48
- top: 16px;
50
+ top: 18px;
49
51
  font-size: 12px;
50
52
  }
51
53
 
@@ -92,13 +94,6 @@
92
94
  }
93
95
  }
94
96
 
95
- .rd-form-item-check {
96
- position: relative;
97
- background-color: #fff;
98
- width: 100%;
99
- margin-top: 16px;
100
- }
101
-
102
97
  .rd-form-item-error {
103
98
  color: #d2152e;
104
99
  font-size: 12px;