@warp-ds/elements 2.2.0-next.3 → 2.2.0-next.4

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 (38) hide show
  1. package/dist/custom-elements.json +812 -0
  2. package/dist/index.js +3125 -3100
  3. package/dist/index.js.map +4 -4
  4. package/dist/packages/affix/index.js +1 -0
  5. package/dist/packages/affix/index.js.map +2 -2
  6. package/dist/packages/alert/alert.test.d.ts +1 -0
  7. package/dist/packages/alert/index.d.ts +13 -17
  8. package/dist/packages/attention/index.js +1 -3
  9. package/dist/packages/attention/index.js.map +2 -2
  10. package/dist/packages/breadcrumbs/index.js +2 -4
  11. package/dist/packages/breadcrumbs/index.js.map +2 -2
  12. package/dist/packages/button/button.test.d.ts +1 -1
  13. package/dist/packages/button/index.d.ts +3 -3
  14. package/dist/packages/card/card.test.d.ts +1 -0
  15. package/dist/packages/card/index.d.ts +6 -16
  16. package/dist/packages/expandable/expandable.test.d.ts +1 -0
  17. package/dist/packages/expandable/index.d.ts +13 -51
  18. package/dist/packages/modal/index.js +129 -129
  19. package/dist/packages/modal/index.js.map +2 -2
  20. package/dist/packages/modal/modal-main.d.ts +1 -1
  21. package/dist/packages/pill/index.js +1 -3
  22. package/dist/packages/pill/index.js.map +2 -2
  23. package/dist/packages/select/index.js +2 -4
  24. package/dist/packages/select/index.js.map +2 -2
  25. package/dist/packages/textfield/index.d.ts +2 -2
  26. package/dist/packages/textfield/index.js +5 -2
  27. package/dist/packages/textfield/index.js.map +2 -2
  28. package/dist/packages/toast/index.js +1 -3
  29. package/dist/packages/toast/index.js.map +2 -2
  30. package/package.json +21 -12
  31. package/dist/packages/alert/index.js +0 -2466
  32. package/dist/packages/alert/index.js.map +0 -7
  33. package/dist/packages/button/index.js +0 -2479
  34. package/dist/packages/button/index.js.map +0 -7
  35. package/dist/packages/card/index.js +0 -2131
  36. package/dist/packages/card/index.js.map +0 -7
  37. package/dist/packages/expandable/index.js +0 -2346
  38. package/dist/packages/expandable/index.js.map +0 -7
package/package.json CHANGED
@@ -1,8 +1,8 @@
1
1
  {
2
2
  "name": "@warp-ds/elements",
3
3
  "type": "module",
4
- "version": "2.2.0-next.3",
5
- "packageManager": "pnpm@10.15.0",
4
+ "version": "2.2.0-next.4",
5
+ "packageManager": "pnpm@10.15.1",
6
6
  "description": "Custom elements for Warp",
7
7
  "exports": {
8
8
  ".": "./dist/index.js",
@@ -20,7 +20,8 @@
20
20
  "./components/select": "./dist/packages/select/index.js",
21
21
  "./components/textfield": "./dist/packages/textfield/index.js",
22
22
  "./components/toast": "./dist/packages/toast/index.js",
23
- "./toast": "./dist/api.js"
23
+ "./toast": "./dist/api.js",
24
+ "./custom-elements.json": "./dist/custom-elements.json"
24
25
  },
25
26
  "module": "dist/index.js",
26
27
  "files": [
@@ -31,11 +32,12 @@
31
32
  "build:docs": "lingui compile && vite build",
32
33
  "build:eik": "node build.js eik",
33
34
  "build:npm": "node build.js npm",
34
- "build": "rimraf dist && rimraf eik && lingui compile && tsc && vite build --mode lib && pnpm run build:npm && pnpm build:eik",
35
+ "build:manifest": "cem analyze --config cem/config.js",
36
+ "build": "rimraf dist && rimraf eik && lingui compile && tsc && pnpm run build:manifest && pnpm run build:npm && pnpm build:eik",
35
37
  "commit": "cz",
36
38
  "dev": "vite",
37
- "lint:check": "eslint . --ext js,cjs,mjs --ignore-path .gitignore",
38
- "lint": "eslint . --fix --ext js,cjs,mjs --ignore-path .gitignore",
39
+ "lint:check": "eslint .",
40
+ "lint": "eslint . --fix",
39
41
  "messages:compile": "lingui compile",
40
42
  "messages:extract": "lingui extract",
41
43
  "preview:docs": "vite preview",
@@ -56,25 +58,29 @@
56
58
  },
57
59
  "devDependencies": {
58
60
  "@chbphone55/classnames": "2.0.0",
61
+ "@custom-elements-manifest/analyzer": "^0.10.5",
59
62
  "@eik/cli": "2.0.38",
60
63
  "@eik/esbuild-plugin": "1.1.47",
64
+ "@eslint/js": "9.16.0",
61
65
  "@itsy/animate": "0.0.9",
62
66
  "@lingui/cli": "5.2.0",
63
67
  "@lingui/conf": "5.2.0",
64
68
  "@semantic-release/changelog": "6.0.3",
65
69
  "@semantic-release/git": "10.0.1",
66
70
  "@types/node": "20.14.10",
67
- "@warp-ds/eslint-config": "1.0.5",
71
+ "@warp-ds/eslint-config": "1.1.0",
68
72
  "@warp-ds/uno": "2.1.0",
69
73
  "cz-conventional-changelog": "3.3.0",
70
74
  "element-collapse": "1.1.0",
71
75
  "esbuild": "0.23.0",
72
- "eslint": "8.57.0",
73
- "eslint-plugin-import": "^2.32.0",
74
- "eslint-plugin-lit": "1.14.0",
75
- "eslint-plugin-prettier": "^5.5.4",
76
+ "eslint": "9.16.0",
77
+ "eslint-config-prettier": "9.1.0",
78
+ "eslint-plugin-import": "2.31.0",
79
+ "eslint-plugin-lit": "2.1.1",
80
+ "eslint-plugin-prettier": "5.5.4",
76
81
  "express": "4.19.2",
77
82
  "glob": "11.0.0",
83
+ "globals": "15.13.0",
78
84
  "html-format": "1.1.7",
79
85
  "lit": "3.x",
80
86
  "playwright": "^1.55.0",
@@ -82,6 +88,7 @@
82
88
  "rimraf": "6.0.1",
83
89
  "semantic-release": "24.0.0",
84
90
  "typescript": "5.5.3",
91
+ "typescript-eslint": "^8.41.0",
85
92
  "unocss": "0.x",
86
93
  "vite": "5.3.3",
87
94
  "vite-plugin-html": "3.2.2",
@@ -92,6 +99,7 @@
92
99
  "dependencies": {
93
100
  "@lingui/core": "5.2.0",
94
101
  "@open-wc/form-control": "^1.0.0",
102
+ "@vitest/browser": "^3.2.4",
95
103
  "@warp-ds/core": "1.1.8",
96
104
  "@warp-ds/css": "2.1.1",
97
105
  "@warp-ds/elements-core": "2.0.1",
@@ -113,5 +121,6 @@
113
121
  "commitizen": {
114
122
  "path": "./node_modules/cz-conventional-changelog"
115
123
  }
116
- }
124
+ },
125
+ "customElements": "dist/custom-elements.json"
117
126
  }