@vunk/form 2.13.0 → 2.13.1

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.
@@ -6,4 +6,5 @@ export type FormItemSlots = {
6
6
  labelActions?: Func;
7
7
  default?: Func;
8
8
  after?: Func;
9
+ before?: Func;
9
10
  };
package/index.css CHANGED
@@ -220,15 +220,6 @@
220
220
  margin: 0;
221
221
  }
222
222
 
223
- .vkf-form-item.is-information{
224
- margin-bottom: 0;
225
- }
226
- .vkf-form-item--inline{
227
- display: inline-flex;
228
- }
229
- .vkf-form-item__tip {
230
- color: var(--el-text-color-secondary);
231
- }
232
223
  .vkf-form-item-label-tip-button:hover .el-icon {
233
224
  color: var(--el-color-primary);
234
225
  }
@@ -239,22 +230,28 @@
239
230
  margin-left: 4px;
240
231
  padding: 4px;
241
232
  }
242
- .vkf-form-item.is-empty-label .el-form-item__label:before{
243
- display: none;
244
- }
245
- .vkf-form-item.has-label-actions > .el-form-item__label {
233
+ .el-form-item--label-top.vkf-form-item.has-label-actions > .el-form-item__label {
246
234
  width: 100%;
247
235
  padding-right: 0;
248
236
  }
249
- .vk-form-item-label__actions {
237
+ .vkf-form-item__tip {
238
+ color: var(--el-text-color-secondary);
239
+ }
240
+ .vkf-form-item-label__actions {
250
241
  float: right;
251
242
  align-items: center;
252
- display: none;
243
+ display: inline-flex;
253
244
  height: 1.8em;
254
245
  }
255
- .el-form-item--label-top .vk-form-item-label__actions {
246
+ .vkf-form-item.is-information{
247
+ margin-bottom: 0;
248
+ }
249
+ .vkf-form-item--inline{
256
250
  display: inline-flex;
257
251
  }
252
+ .vkf-form-item.is-empty-label .el-form-item__label:before{
253
+ display: none;
254
+ }
258
255
 
259
256
  .vkf-information-tag__tag{
260
257
  cursor: pointer;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vunk/form",
3
- "version": "2.13.0",
3
+ "version": "2.13.1",
4
4
  "description": "",
5
5
  "main": "index.esm.js",
6
6
  "scripts": {