@budibase/frontend-core 2.22.1 → 2.22.3

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,16 +1,16 @@
1
1
  {
2
2
  "name": "@budibase/frontend-core",
3
- "version": "2.22.1",
3
+ "version": "2.22.3",
4
4
  "description": "Budibase frontend core libraries used in builder and client",
5
5
  "author": "Budibase",
6
6
  "license": "MPL-2.0",
7
7
  "svelte": "src/index.js",
8
8
  "dependencies": {
9
- "@budibase/bbui": "2.22.1",
10
- "@budibase/shared-core": "2.22.1",
9
+ "@budibase/bbui": "2.22.3",
10
+ "@budibase/shared-core": "2.22.3",
11
11
  "dayjs": "^1.10.8",
12
12
  "lodash": "4.17.21",
13
13
  "socket.io-client": "^4.6.1"
14
14
  },
15
- "gitHead": "b91392adfadf5e27c40a78102046cb3e51a7a792"
15
+ "gitHead": "32b6d3bf3eec3ac42d428c543669d62a35e9ad62"
16
16
  }
@@ -9,6 +9,7 @@
9
9
  export let api
10
10
  export let invertX = false
11
11
  export let invertY = false
12
+ export let schema
12
13
 
13
14
  const { API, notifications } = getContext("grid")
14
15
  const imageExtensions = ["png", "tiff", "gif", "raw", "jpg", "jpeg"]
@@ -97,6 +98,7 @@
97
98
  {value}
98
99
  compact
99
100
  on:change={e => onChange(e.detail)}
101
+ maximum={schema.constraints?.length?.maximum}
100
102
  {processFiles}
101
103
  {deleteAttachments}
102
104
  {handleFileTooLarge}