@next-bricks/form 0.12.0 → 0.12.2

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 (114) hide show
  1. package/dist/bricks.json +1 -5
  2. package/dist/chunks/3494.dd24d739.js +2 -0
  3. package/dist/chunks/{3494.b32e021c.js.map → 3494.dd24d739.js.map} +1 -1
  4. package/dist/chunks/4131.48a216bd.js +2 -0
  5. package/dist/chunks/4131.48a216bd.js.map +1 -0
  6. package/dist/chunks/4795.90b6991e.js +2 -0
  7. package/dist/chunks/4795.90b6991e.js.map +1 -0
  8. package/dist/chunks/5202.e887583f.js +2 -0
  9. package/dist/chunks/{5202.2b219084.js.map → 5202.e887583f.js.map} +1 -1
  10. package/dist/chunks/6221.9d80956c.js +3 -0
  11. package/dist/chunks/6221.9d80956c.js.map +1 -0
  12. package/dist/chunks/7822.c8ee10ba.js +2 -0
  13. package/dist/chunks/{7822.4154a218.js.map → 7822.c8ee10ba.js.map} +1 -1
  14. package/dist/chunks/7884.416ed584.js +2 -0
  15. package/dist/chunks/7884.416ed584.js.map +1 -0
  16. package/dist/chunks/873.cc3010b0.js +2 -0
  17. package/dist/chunks/{873.2b11a4db.js.map → 873.cc3010b0.js.map} +1 -1
  18. package/dist/chunks/9549.de31aced.js +2 -0
  19. package/dist/chunks/{9549.2c5f5edd.js.map → 9549.de31aced.js.map} +1 -1
  20. package/dist/chunks/eo-checkbox.f9bc931d.js +2 -0
  21. package/dist/chunks/eo-checkbox.f9bc931d.js.map +1 -0
  22. package/dist/chunks/{eo-dynamic-form-item.68db88eb.js → eo-dynamic-form-item.4acd47a7.js} +2 -2
  23. package/dist/chunks/{eo-dynamic-form-item.68db88eb.js.map → eo-dynamic-form-item.4acd47a7.js.map} +1 -1
  24. package/dist/chunks/eo-form-item.f9958946.js +3 -0
  25. package/dist/chunks/eo-form-item.f9958946.js.map +1 -0
  26. package/dist/chunks/eo-form.c5a8a4c7.js +2 -0
  27. package/dist/chunks/eo-form.c5a8a4c7.js.map +1 -0
  28. package/dist/chunks/eo-icon-select.c36f29bb.js +3 -0
  29. package/dist/chunks/{eo-icon-select.821c7b62.js.map → eo-icon-select.c36f29bb.js.map} +1 -1
  30. package/dist/chunks/eo-radio.ea667baf.js +2 -0
  31. package/dist/chunks/eo-radio.ea667baf.js.map +1 -0
  32. package/dist/chunks/eo-select.cd27e6c2.js +2 -0
  33. package/dist/chunks/eo-select.cd27e6c2.js.map +1 -0
  34. package/dist/chunks/eo-textarea.9a478e44.js +3 -0
  35. package/dist/chunks/{eo-textarea.7e65b425.js.map → eo-textarea.9a478e44.js.map} +1 -1
  36. package/dist/chunks/eo-upload-file.837872c4.js +3 -0
  37. package/dist/chunks/{eo-upload-file.b27f22ea.js.map → eo-upload-file.837872c4.js.map} +1 -1
  38. package/dist/chunks/eo-upload-image.e3a4fa7b.js +3 -0
  39. package/dist/chunks/{eo-upload-image.3245726f.js.map → eo-upload-image.e3a4fa7b.js.map} +1 -1
  40. package/dist/chunks/main.fc3fc432.js +2 -0
  41. package/dist/chunks/main.fc3fc432.js.map +1 -0
  42. package/dist/index.b786895c.js +2 -0
  43. package/dist/index.b786895c.js.map +1 -0
  44. package/dist/manifest.json +6 -183
  45. package/dist/types.json +17 -496
  46. package/dist-types/bootstrap.d.ts +0 -1
  47. package/dist-types/checkbox/index.spec.d.ts +1 -0
  48. package/dist-types/form/index.d.ts +4 -2
  49. package/dist-types/form/index.spec.d.ts +1 -0
  50. package/dist-types/form-item/index.d.ts +1 -1
  51. package/docs/eo-form.md +24 -0
  52. package/package.json +2 -2
  53. package/dist/chunks/1970.6303d93c.js +0 -3
  54. package/dist/chunks/1970.6303d93c.js.LICENSE.txt +0 -46
  55. package/dist/chunks/1970.6303d93c.js.map +0 -1
  56. package/dist/chunks/3494.b32e021c.js +0 -2
  57. package/dist/chunks/4131.da9663d6.js +0 -2
  58. package/dist/chunks/4131.da9663d6.js.map +0 -1
  59. package/dist/chunks/5202.2b219084.js +0 -2
  60. package/dist/chunks/5218.33d94637.js +0 -2
  61. package/dist/chunks/5218.33d94637.js.map +0 -1
  62. package/dist/chunks/6389.d53428bf.js +0 -2
  63. package/dist/chunks/6389.d53428bf.js.map +0 -1
  64. package/dist/chunks/714.fbaa063b.js +0 -2
  65. package/dist/chunks/714.fbaa063b.js.map +0 -1
  66. package/dist/chunks/7822.4154a218.js +0 -2
  67. package/dist/chunks/873.2b11a4db.js +0 -2
  68. package/dist/chunks/9223.f5fd0ea1.js +0 -2
  69. package/dist/chunks/9223.f5fd0ea1.js.map +0 -1
  70. package/dist/chunks/9549.2c5f5edd.js +0 -2
  71. package/dist/chunks/code-editor.e3690b47.js +0 -2
  72. package/dist/chunks/code-editor.e3690b47.js.map +0 -1
  73. package/dist/chunks/eo-checkbox.c5010723.js +0 -3
  74. package/dist/chunks/eo-checkbox.c5010723.js.map +0 -1
  75. package/dist/chunks/eo-form-item.c1d92c43.js +0 -3
  76. package/dist/chunks/eo-form-item.c1d92c43.js.map +0 -1
  77. package/dist/chunks/eo-form.dfefdd7d.js +0 -2
  78. package/dist/chunks/eo-form.dfefdd7d.js.map +0 -1
  79. package/dist/chunks/eo-icon-select.821c7b62.js +0 -3
  80. package/dist/chunks/eo-radio.3c54b91c.js +0 -3
  81. package/dist/chunks/eo-radio.3c54b91c.js.map +0 -1
  82. package/dist/chunks/eo-select.5abf2d64.js +0 -3
  83. package/dist/chunks/eo-select.5abf2d64.js.map +0 -1
  84. package/dist/chunks/eo-textarea.7e65b425.js +0 -3
  85. package/dist/chunks/eo-upload-file.b27f22ea.js +0 -3
  86. package/dist/chunks/eo-upload-file.b27f22ea.js.LICENSE.txt +0 -5
  87. package/dist/chunks/eo-upload-image.3245726f.js +0 -3
  88. package/dist/chunks/eo-upload-image.3245726f.js.LICENSE.txt +0 -5
  89. package/dist/chunks/main.21bfa780.js +0 -2
  90. package/dist/chunks/main.21bfa780.js.map +0 -1
  91. package/dist/index.85b15450.js +0 -2
  92. package/dist/index.85b15450.js.map +0 -1
  93. package/dist-types/code-editor/aceBuilds/index.d.ts +0 -16
  94. package/dist-types/code-editor/codeEditor.d.ts +0 -5
  95. package/dist-types/code-editor/custom-mode/BrickNextMode.d.ts +0 -7
  96. package/dist-types/code-editor/custom-mode/BrickNextRules.d.ts +0 -170
  97. package/dist-types/code-editor/custom-mode/BrickNextYamlMode.d.ts +0 -7
  98. package/dist-types/code-editor/custom-mode/CommonExpressionLanguageMode.d.ts +0 -7
  99. package/dist-types/code-editor/custom-mode/CommonExpressionLanguageRules.d.ts +0 -19
  100. package/dist-types/code-editor/custom-mode/CommonExpressionLanguageYamlMode.d.ts +0 -7
  101. package/dist-types/code-editor/custom-mode/TerraformMode.d.ts +0 -7
  102. package/dist-types/code-editor/custom-mode/brickNextUtil.d.ts +0 -15
  103. package/dist-types/code-editor/getClickableMarker.d.ts +0 -2
  104. package/dist-types/code-editor/getHighlightMarkers.d.ts +0 -11
  105. package/dist-types/code-editor/index.d.ts +0 -166
  106. package/dist-types/code-editor/index.spec.d.ts +0 -1
  107. package/dist-types/code-editor/interfaces.d.ts +0 -76
  108. /package/dist/chunks/{eo-checkbox.c5010723.js.LICENSE.txt → 6221.9d80956c.js.LICENSE.txt} +0 -0
  109. /package/dist/chunks/{eo-form-item.c1d92c43.js.LICENSE.txt → eo-form-item.f9958946.js.LICENSE.txt} +0 -0
  110. /package/dist/chunks/{eo-icon-select.821c7b62.js.LICENSE.txt → eo-icon-select.c36f29bb.js.LICENSE.txt} +0 -0
  111. /package/dist/chunks/{eo-radio.3c54b91c.js.LICENSE.txt → eo-textarea.9a478e44.js.LICENSE.txt} +0 -0
  112. /package/dist/chunks/{eo-select.5abf2d64.js.LICENSE.txt → eo-upload-file.837872c4.js.LICENSE.txt} +0 -0
  113. /package/dist/chunks/{eo-textarea.7e65b425.js.LICENSE.txt → eo-upload-image.e3a4fa7b.js.LICENSE.txt} +0 -0
  114. /package/dist-types/{code-editor/custom-mode/CommonExpressionLanguageRules.spec.d.ts → utils/formatOptions.spec.d.ts} +0 -0
package/dist/types.json CHANGED
@@ -645,6 +645,23 @@
645
645
  "name": "ComponentSize"
646
646
  }
647
647
  }
648
+ },
649
+ {
650
+ "name": "formStyle",
651
+ "annotation": {
652
+ "type": "reference",
653
+ "typeName": {
654
+ "type": "qualifiedName",
655
+ "left": {
656
+ "type": "identifier",
657
+ "name": "React"
658
+ },
659
+ "right": {
660
+ "type": "identifier",
661
+ "name": "CSSProperties"
662
+ }
663
+ }
664
+ }
648
665
  }
649
666
  ],
650
667
  "events": [
@@ -2986,501 +3003,5 @@
2986
3003
  ]
2987
3004
  }
2988
3005
  ]
2989
- },
2990
- "form.code-editor": {
2991
- "properties": [
2992
- {
2993
- "name": "name",
2994
- "annotation": {
2995
- "type": "keyword",
2996
- "value": "string"
2997
- }
2998
- },
2999
- {
3000
- "name": "label",
3001
- "annotation": {
3002
- "type": "keyword",
3003
- "value": "string"
3004
- }
3005
- },
3006
- {
3007
- "name": "value",
3008
- "annotation": {
3009
- "type": "keyword",
3010
- "value": "string"
3011
- }
3012
- },
3013
- {
3014
- "name": "placeholder",
3015
- "annotation": {
3016
- "type": "keyword",
3017
- "value": "string"
3018
- }
3019
- },
3020
- {
3021
- "name": "theme",
3022
- "annotation": {
3023
- "type": "keyword",
3024
- "value": "string"
3025
- }
3026
- },
3027
- {
3028
- "name": "mode",
3029
- "annotation": {
3030
- "type": "keyword",
3031
- "value": "string"
3032
- }
3033
- },
3034
- {
3035
- "name": "required",
3036
- "annotation": {
3037
- "type": "keyword",
3038
- "value": "boolean"
3039
- }
3040
- },
3041
- {
3042
- "name": "readOnly",
3043
- "annotation": {
3044
- "type": "keyword",
3045
- "value": "boolean"
3046
- }
3047
- },
3048
- {
3049
- "name": "showLineNumbers",
3050
- "annotation": {
3051
- "type": "keyword",
3052
- "value": "boolean"
3053
- }
3054
- },
3055
- {
3056
- "name": "maxLines",
3057
- "annotation": {
3058
- "type": "union",
3059
- "types": [
3060
- {
3061
- "type": "keyword",
3062
- "value": "number"
3063
- },
3064
- {
3065
- "type": "jsLiteral",
3066
- "value": "Infinity"
3067
- }
3068
- ]
3069
- }
3070
- },
3071
- {
3072
- "name": "minLines",
3073
- "annotation": {
3074
- "type": "keyword",
3075
- "value": "number"
3076
- }
3077
- },
3078
- {
3079
- "name": "tabSize",
3080
- "annotation": {
3081
- "type": "keyword",
3082
- "value": "number"
3083
- }
3084
- },
3085
- {
3086
- "name": "printMargin",
3087
- "annotation": {
3088
- "type": "keyword",
3089
- "value": "boolean"
3090
- }
3091
- },
3092
- {
3093
- "name": "highlightActiveLine",
3094
- "annotation": {
3095
- "type": "keyword",
3096
- "value": "boolean"
3097
- }
3098
- },
3099
- {
3100
- "name": "showExportButton",
3101
- "annotation": {
3102
- "type": "keyword",
3103
- "value": "boolean"
3104
- }
3105
- },
3106
- {
3107
- "name": "showCopyButton",
3108
- "annotation": {
3109
- "type": "keyword",
3110
- "value": "boolean"
3111
- }
3112
- },
3113
- {
3114
- "name": "showExpandButton",
3115
- "annotation": {
3116
- "type": "keyword",
3117
- "value": "boolean"
3118
- }
3119
- },
3120
- {
3121
- "name": "exportFileName",
3122
- "annotation": {
3123
- "type": "keyword",
3124
- "value": "string"
3125
- }
3126
- },
3127
- {
3128
- "name": "jsonSchema",
3129
- "annotation": {
3130
- "type": "reference",
3131
- "typeName": {
3132
- "type": "identifier",
3133
- "name": "Record"
3134
- },
3135
- "typeParameters": {
3136
- "type": "typeParameterInstantiation",
3137
- "params": [
3138
- {
3139
- "type": "keyword",
3140
- "value": "string"
3141
- },
3142
- {
3143
- "type": "keyword",
3144
- "value": "any"
3145
- }
3146
- ]
3147
- }
3148
- }
3149
- },
3150
- {
3151
- "name": "validateJsonSchemaMode",
3152
- "annotation": {
3153
- "type": "union",
3154
- "types": [
3155
- {
3156
- "type": "jsLiteral",
3157
- "value": "warning"
3158
- },
3159
- {
3160
- "type": "jsLiteral",
3161
- "value": "error"
3162
- }
3163
- ]
3164
- }
3165
- },
3166
- {
3167
- "name": "schemaRef",
3168
- "annotation": {
3169
- "type": "keyword",
3170
- "value": "string"
3171
- }
3172
- },
3173
- {
3174
- "name": "enableLiveAutocompletion",
3175
- "annotation": {
3176
- "type": "keyword",
3177
- "value": "boolean"
3178
- }
3179
- },
3180
- {
3181
- "name": "customCompleters",
3182
- "annotation": {
3183
- "type": "union",
3184
- "types": [
3185
- {
3186
- "type": "array",
3187
- "elementType": {
3188
- "type": "keyword",
3189
- "value": "string"
3190
- }
3191
- },
3192
- {
3193
- "type": "array",
3194
- "elementType": {
3195
- "type": "typeLiteral",
3196
- "members": [
3197
- {
3198
- "type": "propertySignature",
3199
- "key": {
3200
- "type": "identifier",
3201
- "name": "caption"
3202
- },
3203
- "annotation": {
3204
- "type": "keyword",
3205
- "value": "string"
3206
- },
3207
- "optional": true,
3208
- "computed": false
3209
- },
3210
- {
3211
- "type": "propertySignature",
3212
- "key": {
3213
- "type": "identifier",
3214
- "name": "value"
3215
- },
3216
- "annotation": {
3217
- "type": "keyword",
3218
- "value": "string"
3219
- },
3220
- "computed": false
3221
- },
3222
- {
3223
- "type": "propertySignature",
3224
- "key": {
3225
- "type": "identifier",
3226
- "name": "meta"
3227
- },
3228
- "annotation": {
3229
- "type": "keyword",
3230
- "value": "string"
3231
- },
3232
- "optional": true,
3233
- "computed": false
3234
- },
3235
- {
3236
- "type": "propertySignature",
3237
- "key": {
3238
- "type": "identifier",
3239
- "name": "score"
3240
- },
3241
- "annotation": {
3242
- "type": "keyword",
3243
- "value": "number"
3244
- },
3245
- "optional": true,
3246
- "computed": false
3247
- }
3248
- ]
3249
- }
3250
- }
3251
- ]
3252
- }
3253
- },
3254
- {
3255
- "name": "loadYamlInJsonMode",
3256
- "annotation": {
3257
- "type": "keyword",
3258
- "value": "boolean"
3259
- }
3260
- },
3261
- {
3262
- "name": "highlightTokens",
3263
- "annotation": {
3264
- "type": "array",
3265
- "elementType": {
3266
- "type": "reference",
3267
- "typeName": {
3268
- "type": "identifier",
3269
- "name": "HighlightTokenSettings"
3270
- }
3271
- }
3272
- }
3273
- }
3274
- ],
3275
- "events": [
3276
- {
3277
- "name": "code.change",
3278
- "detail": {
3279
- "annotation": {
3280
- "type": "keyword",
3281
- "value": "string"
3282
- }
3283
- }
3284
- },
3285
- {
3286
- "name": "editor.blur",
3287
- "detail": {
3288
- "annotation": {
3289
- "type": "keyword",
3290
- "value": "string"
3291
- }
3292
- }
3293
- },
3294
- {
3295
- "name": "error.change",
3296
- "detail": {
3297
- "annotation": {
3298
- "type": "reference",
3299
- "typeName": {
3300
- "type": "identifier",
3301
- "name": "Error"
3302
- }
3303
- }
3304
- }
3305
- },
3306
- {
3307
- "name": "highlightToken.click",
3308
- "detail": {
3309
- "annotation": {
3310
- "type": "typeLiteral",
3311
- "members": [
3312
- {
3313
- "type": "propertySignature",
3314
- "key": {
3315
- "type": "identifier",
3316
- "name": "type"
3317
- },
3318
- "annotation": {
3319
- "type": "keyword",
3320
- "value": "string"
3321
- },
3322
- "computed": false
3323
- },
3324
- {
3325
- "type": "propertySignature",
3326
- "key": {
3327
- "type": "identifier",
3328
- "name": "value"
3329
- },
3330
- "annotation": {
3331
- "type": "keyword",
3332
- "value": "string"
3333
- },
3334
- "computed": false
3335
- }
3336
- ]
3337
- }
3338
- }
3339
- }
3340
- ],
3341
- "methods": [],
3342
- "types": [
3343
- {
3344
- "type": "interface",
3345
- "name": "HighlightTokenSettings",
3346
- "body": [
3347
- {
3348
- "type": "propertySignature",
3349
- "key": {
3350
- "type": "identifier",
3351
- "name": "type"
3352
- },
3353
- "annotation": {
3354
- "type": "reference",
3355
- "typeName": {
3356
- "type": "identifier",
3357
- "name": "HighlightTokenType"
3358
- }
3359
- },
3360
- "computed": false
3361
- },
3362
- {
3363
- "type": "propertySignature",
3364
- "key": {
3365
- "type": "identifier",
3366
- "name": "clickable"
3367
- },
3368
- "annotation": {
3369
- "type": "keyword",
3370
- "value": "boolean"
3371
- },
3372
- "optional": true,
3373
- "computed": false
3374
- },
3375
- {
3376
- "type": "propertySignature",
3377
- "key": {
3378
- "type": "identifier",
3379
- "name": "level"
3380
- },
3381
- "annotation": {
3382
- "type": "union",
3383
- "types": [
3384
- {
3385
- "type": "jsLiteral",
3386
- "value": "default"
3387
- },
3388
- {
3389
- "type": "jsLiteral",
3390
- "value": "warn"
3391
- },
3392
- {
3393
- "type": "jsLiteral",
3394
- "value": "error"
3395
- }
3396
- ]
3397
- },
3398
- "optional": true,
3399
- "computed": false
3400
- }
3401
- ]
3402
- },
3403
- {
3404
- "type": "typeAlias",
3405
- "name": "HighlightTokenType",
3406
- "annotation": {
3407
- "type": "union",
3408
- "types": [
3409
- {
3410
- "type": "jsLiteral",
3411
- "value": "storyboard-function"
3412
- },
3413
- {
3414
- "type": "jsLiteral",
3415
- "value": "storyboard-context"
3416
- },
3417
- {
3418
- "type": "jsLiteral",
3419
- "value": "storyboard-context-action"
3420
- },
3421
- {
3422
- "type": "jsLiteral",
3423
- "value": "storyboard-state"
3424
- },
3425
- {
3426
- "type": "jsLiteral",
3427
- "value": "storyboard-state-action"
3428
- },
3429
- {
3430
- "type": "jsLiteral",
3431
- "value": "storyboard-tpl-var"
3432
- },
3433
- {
3434
- "type": "jsLiteral",
3435
- "value": "storyboard-tag-name-as-target"
3436
- },
3437
- {
3438
- "type": "jsLiteral",
3439
- "value": "storyboard-route-var"
3440
- },
3441
- {
3442
- "type": "jsLiteral",
3443
- "value": "dashboard-DS"
3444
- }
3445
- ]
3446
- }
3447
- },
3448
- {
3449
- "type": "interface",
3450
- "name": "Error",
3451
- "body": [
3452
- {
3453
- "type": "propertySignature",
3454
- "key": {
3455
- "type": "identifier",
3456
- "name": "err"
3457
- },
3458
- "annotation": {
3459
- "type": "array",
3460
- "elementType": {
3461
- "type": "reference",
3462
- "typeName": {
3463
- "type": "identifier",
3464
- "name": "Annotation"
3465
- }
3466
- }
3467
- },
3468
- "computed": false
3469
- },
3470
- {
3471
- "type": "propertySignature",
3472
- "key": {
3473
- "type": "identifier",
3474
- "name": "hasError"
3475
- },
3476
- "annotation": {
3477
- "type": "keyword",
3478
- "value": "boolean"
3479
- },
3480
- "computed": false
3481
- }
3482
- ]
3483
- }
3484
- ]
3485
3006
  }
3486
3007
  }
@@ -6,7 +6,6 @@ import "./radio/index.js";
6
6
  import "./select/index.js";
7
7
  import "./submit-buttons/index.js";
8
8
  import "./checkbox/index.js";
9
- import "./code-editor/index.js";
10
9
  import "./dynamic-form-item/index.js";
11
10
  import "./search/index.js";
12
11
  import "./icon-select/index.js";
@@ -0,0 +1 @@
1
+ import "./";
@@ -1,4 +1,4 @@
1
- /// <reference types="react" />
1
+ import React from "react";
2
2
  import { ReactNextElement } from "@next-core/react-element";
3
3
  import { AbstractForm, FormStore } from "@next-shared/form";
4
4
  import { ComponentSize, Layout } from "../interface.js";
@@ -55,6 +55,7 @@ declare class Form extends ReactNextElement implements FormProps, AbstractForm {
55
55
  * 获取表单值方法
56
56
  */
57
57
  getFieldsValue(name?: string): unknown;
58
+ accessor formStyle: React.CSSProperties | undefined;
58
59
  /**
59
60
  * 校验表单字段方法
60
61
  */
@@ -66,9 +67,10 @@ declare class Form extends ReactNextElement implements FormProps, AbstractForm {
66
67
  render(): JSX.Element;
67
68
  }
68
69
  interface FormComponentProps extends FormProps {
70
+ formStyle?: React.CSSProperties;
69
71
  onValuesChange?: (value: Record<string, any>) => void;
70
72
  onValidateSuccess?: () => void;
71
73
  onValidateError?: () => void;
72
74
  }
73
- export declare function FormComponent({ layout }: FormComponentProps): JSX.Element;
75
+ export declare function FormComponent({ layout, formStyle, }: FormComponentProps): JSX.Element;
74
76
  export { Form, FormProps };
@@ -0,0 +1 @@
1
+ import "./";
@@ -64,7 +64,7 @@ declare class FormItem extends FormItemElementBase implements FormItemProps {
64
64
  */
65
65
  accessor wrapperCol: string | undefined;
66
66
  accessor valuePropsName: string | undefined;
67
- accessor layout: Layout;
67
+ accessor layout: Layout | undefined;
68
68
  accessor size: ComponentSize | undefined;
69
69
  /**
70
70
  * 是否自动去除前后的空白字符
package/docs/eo-form.md CHANGED
@@ -17,6 +17,12 @@
17
17
  - brick: eo-select
18
18
  properties:
19
19
  label: select
20
+ - brick: div
21
+ properties:
22
+ style:
23
+ height: 1px
24
+ background: "#abc"
25
+ margin: "20px 0"
20
26
  - brick: eo-form
21
27
  properties:
22
28
  layout: horizontal
@@ -29,6 +35,24 @@
29
35
  - brick: eo-select
30
36
  properties:
31
37
  label: select
38
+ - brick: div
39
+ properties:
40
+ style:
41
+ height: 1px
42
+ background: "#abc"
43
+ margin: "20px 0"
44
+ - brick: eo-form
45
+ properties:
46
+ layout: vertical
47
+ slots:
48
+ "":
49
+ bricks:
50
+ - brick: eo-input
51
+ properties:
52
+ label: input
53
+ - brick: eo-select
54
+ properties:
55
+ label: select
32
56
  ```
33
57
 
34
58
  ### Values
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@next-bricks/form",
3
- "version": "0.12.0",
3
+ "version": "0.12.2",
4
4
  "homepage": "https://github.com/easyops-cn/next-bricks/tree/master/bricks/form",
5
5
  "repository": {
6
6
  "type": "git",
@@ -37,5 +37,5 @@
37
37
  "@next-core/build-next-bricks": "^1.13.2",
38
38
  "@next-core/test-next": "^1.0.7"
39
39
  },
40
- "gitHead": "1d1d029906b29f94be440bc2d5c93db819034443"
40
+ "gitHead": "2162e332c5d2b931caf7a98067b203372c800e3e"
41
41
  }