@rogieking/figui3 6.4.6 → 6.4.8

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,6 +1,6 @@
1
1
  {
2
2
  "name": "@rogieking/figui3",
3
- "version": "6.4.6",
3
+ "version": "6.4.8",
4
4
  "description": "A lightweight web components library for building Figma plugin and widget UIs with native look and feel",
5
5
  "author": "Rogie King",
6
6
  "license": "MIT",
@@ -10,17 +10,21 @@
10
10
  "exports": {
11
11
  ".": "./dist/fig.js",
12
12
  "./fig.js": "./dist/fig.js",
13
+ "./fig-layer.js": "./dist/fig-layer.js",
13
14
  "./fig-editor.js": "./dist/fig-editor.js",
14
15
  "./fig-lab.js": "./dist/fig-lab.js",
15
16
  "./fig.css": "./dist/fig.css",
17
+ "./fig-layer.css": "./dist/fig-layer.css",
16
18
  "./fig-editor.css": "./dist/fig-editor.css",
17
19
  "./fig-lab.css": "./dist/fig-lab.css",
18
20
  "./base.css": "./dist/base.css",
19
21
  "./components.css": "./dist/components.css",
20
22
  "./src/fig.js": "./fig.js",
23
+ "./src/fig-layer.js": "./fig-layer.js",
21
24
  "./src/fig-editor.js": "./fig-editor.js",
22
25
  "./src/fig-lab.js": "./fig-lab.js",
23
26
  "./src/fig.css": "./fig.css",
27
+ "./src/fig-layer.css": "./fig-layer.css",
24
28
  "./src/fig-editor.css": "./fig-editor.css",
25
29
  "./src/fig-lab.css": "./fig-lab.css",
26
30
  "./src/base.css": "./base.css",
@@ -28,9 +32,11 @@
28
32
  },
29
33
  "files": [
30
34
  "fig.js",
35
+ "fig-layer.js",
31
36
  "fig-editor.js",
32
37
  "fig-lab.js",
33
38
  "fig.css",
39
+ "fig-layer.css",
34
40
  "fig-editor.css",
35
41
  "fig-lab.css",
36
42
  "base.css",
@@ -46,12 +52,14 @@
46
52
  ],
47
53
  "scripts": {
48
54
  "dev": "bun --hot server.ts",
49
- "build": "bun build fig.js --minify --outdir dist && bun build fig-editor.js --minify --outdir dist --external ./fig.js && bun build fig-lab.js --minify --outdir dist --external ./fig.js --external ./fig-editor.js && npm run build:css",
50
- "build:css": "lightningcss --minify --nesting --bundle fig.css -o dist/fig.css && lightningcss --minify --nesting --bundle fig-editor.css -o dist/fig-editor.css && lightningcss --minify --nesting --bundle fig-lab.css -o dist/fig-lab.css && lightningcss --minify --nesting --bundle components.css -o dist/components.css && lightningcss --minify --nesting base.css -o dist/base.css",
55
+ "build": "bun build fig.js --minify --outdir dist && bun build fig-layer.js --minify --outdir dist && bun build fig-editor.js --minify --outdir dist --external ./fig.js && bun build fig-lab.js --minify --outdir dist --external ./fig.js --external ./fig-editor.js && npm run build:css",
56
+ "build:css": "node scripts/build-css.mjs",
51
57
  "dev:playground": "node playground/dev.mjs",
52
58
  "build:playground": "cd playground && npm run build",
53
59
  "test": "npm run test:components",
54
- "test:components": "playwright test"
60
+ "test:components": "playwright test",
61
+ "test:perf": "playwright test --config=playwright.perf.config.ts",
62
+ "test:all": "npm run test:components && npm run test:perf"
55
63
  },
56
64
  "repository": {
57
65
  "type": "git",
@@ -90,6 +98,7 @@
90
98
  "a11y"
91
99
  ],
92
100
  "devDependencies": {
101
+ "@axe-core/playwright": "^4.11.3",
93
102
  "@playwright/test": "^1.60.0",
94
103
  "@types/bun": "latest",
95
104
  "clean-css-cli": "^5.6.3",