rd-outer-component 0.0.28 → 0.0.29

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 (21) hide show
  1. package/esm2020/lib/modules/custom-checkbox/custom-checkbox.component.mjs +3 -3
  2. package/esm2020/lib/modules/custom-date/custom-date.component.mjs +3 -3
  3. package/esm2020/lib/modules/custom-filter/custom-filter-date/custom-filter-date.component.mjs +3 -3
  4. package/esm2020/lib/modules/custom-filter/custom-filter-input/custom-filter-input.component.mjs +3 -3
  5. package/esm2020/lib/modules/custom-filter/custom-filter-select/custom-filter-select.component.mjs +3 -3
  6. package/esm2020/lib/modules/custom-filter/custom-filter.component.mjs +3 -3
  7. package/esm2020/lib/modules/custom-input/custom-input.component.mjs +3 -3
  8. package/esm2020/lib/modules/custom-input-amount/custom-input-amount.component.mjs +3 -3
  9. package/esm2020/lib/modules/custom-radio/custom-radio.component.mjs +3 -3
  10. package/esm2020/lib/modules/custom-select/custom-select.component.mjs +3 -3
  11. package/esm2020/lib/modules/custom-select/pure-select-token/pure-select-token.component.mjs +3 -3
  12. package/esm2020/lib/modules/custom-textarea/custom-textarea.component.mjs +3 -3
  13. package/esm2020/lib/modules/form-item/form-item.component.mjs +3 -3
  14. package/esm2020/lib/modules/rd-notification/notification.component.mjs +3 -3
  15. package/esm2020/lib/modules/status-field/status-field.component.mjs +9 -9
  16. package/fesm2015/rd-outer-component.mjs +36 -36
  17. package/fesm2015/rd-outer-component.mjs.map +1 -1
  18. package/fesm2020/rd-outer-component.mjs +36 -36
  19. package/fesm2020/rd-outer-component.mjs.map +1 -1
  20. package/package.json +1 -1
  21. package/src/lib/assets/scss/form-item.scss +21 -21
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "rd-outer-component",
3
- "version": "0.0.28",
3
+ "version": "0.0.29",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^15.2.0",
6
6
  "@angular/core": "^15.2.0",
@@ -1,4 +1,4 @@
1
- .form-item {
1
+ .rd-form-item {
2
2
  position: relative;
3
3
  border-radius: 4px;
4
4
  padding: 2px 6px;
@@ -8,7 +8,7 @@
8
8
  margin-top: 16px;
9
9
  height: 64px;
10
10
 
11
- .form-item-select-icon {
11
+ .rd-form-item-select-icon {
12
12
  position: absolute;
13
13
  right: 12px;
14
14
  top: 50%;
@@ -44,8 +44,8 @@
44
44
  }
45
45
  }
46
46
 
47
- .form-item-input:focus ~ .form-item-label,
48
- .form-item-input:not(:placeholder-shown) ~ .form-item-label {
47
+ .rd-form-item-input:focus ~ .rd-form-item-label,
48
+ .rd-form-item-input:not(:placeholder-shown) ~ .rd-form-item-label {
49
49
  top: 16px;
50
50
  font-size: 12px;
51
51
  }
@@ -62,22 +62,22 @@
62
62
  }
63
63
  }
64
64
 
65
- &.selected {
66
- .form-item-label {
65
+ &.rd-selected {
66
+ .rd-form-item-label {
67
67
  top: 16px;
68
68
  font-size: 12px;
69
69
  }
70
- .form-item-select {
70
+ .rd-form-item-select {
71
71
  top: 10px;
72
72
  }
73
73
  }
74
74
 
75
- &.disabled {
75
+ &.rd-disabled {
76
76
  background-color: #f3f4f6;
77
77
  border-color: #d1d5db;
78
78
 
79
- .form-item-label,
80
- .form-item-input {
79
+ .rd-form-item-label,
80
+ .rd-form-item-input {
81
81
  color: #9ca3af;
82
82
  }
83
83
 
@@ -88,19 +88,19 @@
88
88
  }
89
89
  }
90
90
 
91
- &.error {
91
+ &.rd-error {
92
92
  border-color: #e51c36;
93
93
  }
94
94
  }
95
95
 
96
- .form-item-check {
96
+ .rd-form-item-check {
97
97
  position: relative;
98
98
  background-color: #fff;
99
99
  width: 100%;
100
100
  margin-top: 16px;
101
101
  }
102
102
 
103
- .form-item-error {
103
+ .rd-form-item-error {
104
104
  color: #d2152e;
105
105
  font-size: 12px;
106
106
  font-weight: 500;
@@ -114,7 +114,7 @@
114
114
  }
115
115
  }
116
116
 
117
- .form-number-item {
117
+ .rd-form-number-item {
118
118
  position: relative;
119
119
  border-radius: 4px;
120
120
  padding: 12px 16px;
@@ -123,14 +123,14 @@
123
123
  width: 100%;
124
124
  margin-top: 16px;
125
125
 
126
- .item-label {
126
+ .rd-item-label {
127
127
  color: #6b7280;
128
128
  font-size: 12px;
129
129
  // padding: 0 12px;
130
130
  font-weight: 600;
131
131
  }
132
132
 
133
- .item-content {
133
+ .rd-item-content {
134
134
  display: flex;
135
135
  align-items: center;
136
136
  font-size: 32px;
@@ -177,7 +177,7 @@
177
177
  }
178
178
 
179
179
  ::ng-deep {
180
- .item-warning {
180
+ .rd-item-warning {
181
181
  font-weight: 500;
182
182
  font-size: 12px;
183
183
  color: #6b7280;
@@ -186,17 +186,17 @@
186
186
  }
187
187
  }
188
188
 
189
- &.disabled {
189
+ &.rd-disabled {
190
190
  background-color: #f3f4f6;
191
191
  border-color: #d1d5db;
192
192
 
193
- .item-label,
194
- .item-content-value {
193
+ .rd-item-label,
194
+ .rd-item-content-value {
195
195
  color: #9ca3af;
196
196
  }
197
197
  }
198
198
 
199
- &.error {
199
+ &.rd-error {
200
200
  border-color: #e51c36;
201
201
  }
202
202
  }