@bagelink/vue 1.15.362 → 1.15.366

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.
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@bagelink/vue",
3
3
  "type": "module",
4
- "version": "1.15.362",
4
+ "version": "1.15.366",
5
5
  "description": "Bagel core sdk packages",
6
6
  "author": {
7
7
  "name": "Bagel Studio",
@@ -74,15 +74,15 @@ margin: 0 !important;
74
74
  .bgl-toggle input {
75
75
  appearance: none;
76
76
  position: relative;
77
- display: inline-block;
78
- background: var(--bgl-input-bg);
79
- height: calc(var(--bgl-input-height) / 2);
80
- width: calc(var(--bgl-input-height) - 2px);
77
+ display: inline-block !important;
78
+ background: var(--bgl-input-bg) !important;
79
+ height: calc(var(--bgl-input-height) / 2) !important;
80
+ width: calc(var(--bgl-input-height) - 2px) !important;
81
81
  vertical-align: middle;
82
- border-radius: 2rem;
83
- box-shadow: 0px 1px 3px #0003 inset;
82
+ border-radius: 2rem !important;
83
+ box-shadow: 0px 1px 3px #0003 inset !important;
84
84
  transition: 0.25s linear all;
85
- outline: 1px solid var(--bgl-border-color);
85
+ outline: 1px solid var(--bgl-border-color) !important;
86
86
 
87
87
  }
88
88
  .bgl-toggle input::before {
@@ -306,8 +306,12 @@ export function fieldsToSchema(fields: FormField[]): JSONSchemaObject {
306
306
  prop.type = 'string'
307
307
  break
308
308
  case 'file':
309
- prop.type = ['string', 'array']
310
- prop.items = { type: 'string' }
309
+ if (field.fileMultiple === true) {
310
+ prop.type = 'array'
311
+ prop.items = { type: 'string' }
312
+ } else {
313
+ prop.type = 'string'
314
+ }
311
315
  break
312
316
  case 'number':
313
317
  case 'range':