Skip to content

Commit 1c8fdb4

Browse files
committed
chore(plugins): framer-plugin 3.11 beta, prerelease styles, and lockfile
Made-with: Cursor
1 parent d72cdb0 commit 1c8fdb4

73 files changed

Lines changed: 139 additions & 87 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
136 KB
Binary file not shown.
Binary file not shown.

plugins/3rd-party-optimizer/framer.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,6 @@
22
"id": "d84d6c",
33
"name": "3rd-Party Optimizer",
44
"modes": ["canvas"],
5+
"prereleaseStyles": true,
56
"icon": "/icon.svg"
67
}

plugins/3rd-party-optimizer/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
"check-typescript": "run g:check-typescript"
1414
},
1515
"dependencies": {
16-
"framer-plugin": "https://pkg.pr.new/framer/FramerStudio/framer-plugin@02bced9.tgz",
16+
"framer-plugin": "3.11.0-beta.1",
1717
"react": "^18.3.1",
1818
"react-dom": "^18.3.1"
1919
},

plugins/airtable/framer.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,6 @@
22
"id": "aa78c0",
33
"name": "Airtable",
44
"modes": ["configureManagedCollection", "syncManagedCollection"],
5+
"prereleaseStyles": true,
56
"icon": "/icon.png"
67
}

plugins/airtable/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
"check-vitest": "vitest run"
1515
},
1616
"dependencies": {
17-
"framer-plugin": "https://pkg.pr.new/framer/FramerStudio/framer-plugin@02bced9.tgz",
17+
"framer-plugin": "3.11.0-beta.1",
1818
"marked": "^17.0.1",
1919
"react": "^18.3.1",
2020
"react-dom": "^18.3.1",

plugins/ascii/framer.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,6 @@
22
"id": "TS2xwk",
33
"name": "ASCII",
44
"modes": ["canvas", "image", "editImage"],
5+
"prereleaseStyles": true,
56
"icon": "/Thumb@2x.png"
67
}

plugins/ascii/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
},
1616
"dependencies": {
1717
"clsx": "^2.1.1",
18-
"framer-plugin": "https://pkg.pr.new/framer/FramerStudio/framer-plugin@02bced9.tgz",
18+
"framer-plugin": "3.11.0-beta.1",
1919
"ogl": "^1.0.11",
2020
"react": "^18.3.1",
2121
"react-dom": "^18.3.1",

plugins/ascii/src/utils.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@ export const BASE_PATH = ""
44
* Convenience method to load an image from a canvas.
55
* As a transferable bytes array
66
*/
7-
export function bytesFromCanvas(canvas: HTMLCanvasElement): Promise<Uint8Array | null> {
8-
return new Promise<Uint8Array>((resolve, reject) => {
7+
export function bytesFromCanvas(canvas: HTMLCanvasElement): Promise<Uint8Array<ArrayBuffer> | null> {
8+
return new Promise<Uint8Array<ArrayBuffer>>((resolve, reject) => {
99
canvas.toBlob(blob => {
1010
if (!blob) throw new Error("Blob does not exist")
1111

@@ -16,7 +16,7 @@ export function bytesFromCanvas(canvas: HTMLCanvasElement): Promise<Uint8Array |
1616
throw new Error("Reader result does not exist")
1717
}
1818

19-
resolve(new Uint8Array(reader.result as ArrayBuffer))
19+
resolve(new Uint8Array(reader.result as ArrayBuffer) as Uint8Array<ArrayBuffer>)
2020
}
2121
reader.onerror = () => {
2222
reject(new Error("Could not read from blob"))

plugins/ashby/framer.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,6 @@
22
"id": "a3b33y",
33
"name": "Ashby",
44
"modes": ["syncManagedCollection", "configureManagedCollection"],
5+
"prereleaseStyles": true,
56
"icon": "/icon.svg"
67
}

0 commit comments

Comments
 (0)