@case-framework/survey-core 0.7.0 → 0.8.0

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.
@@ -0,0 +1,12 @@
1
+ //#region src/editor/item-colors.d.ts
2
+ /**
3
+ * Editor-only item-color swatches persisted in `metadata.editorItemColor`.
4
+ *
5
+ * This is shared survey-editor configuration: hosts may render the editor
6
+ * without enabling the assistant, while assistant proposals must validate
7
+ * against the same values.
8
+ */
9
+ declare const SURVEY_EDITOR_ITEM_COLORS: readonly ["#404040", "#b91c1c", "#c2410c", "#a16207", "#4d7c0f", "#047857", "#0369a1", "#4338ca", "#7e22ce", "#86198f", "#be123c"];
10
+ //#endregion
11
+ export { SURVEY_EDITOR_ITEM_COLORS as t };
12
+ //# sourceMappingURL=item-colors-DgoJeSCQ.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"item-colors-DgoJeSCQ.d.mts","names":[],"sources":["../src/editor/item-colors.ts"],"mappings":";;;;;;;;cAOa"}
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@case-framework/survey-core",
3
- "version": "0.7.0",
3
+ "version": "0.8.0",
4
4
  "description": "Implementation of the survey core to use in typescript/javascript projects.",
5
5
  "keywords": [
6
6
  "survey engine"
@@ -32,22 +32,21 @@
32
32
  }
33
33
  },
34
34
  "scripts": {
35
- "test": "jest --config jestconfig.json",
35
+ "test": "pnpm typecheck:tests && vitest run",
36
36
  "build": "tsdown",
37
37
  "lint": "eslint src",
38
- "lint:fix": "eslint src --fix"
38
+ "lint:fix": "eslint src --fix",
39
+ "typecheck:tests": "tsc --noEmit -p tsconfig.test.json"
39
40
  },
40
41
  "dependencies": {
41
42
  "date-fns": "^4.1.0"
42
43
  },
43
44
  "devDependencies": {
44
45
  "@eslint/js": "^9.39.4",
45
- "@types/jest": "^30.0.0",
46
46
  "eslint": "^9.39.4",
47
- "jest": "^30.3.0",
48
- "ts-jest": "^29.4.9",
49
- "tsdown": "^0.21.10",
47
+ "tsdown": "^0.23.0",
50
48
  "typescript": "^6.0.3",
51
- "typescript-eslint": "^8.59.1"
49
+ "typescript-eslint": "^8.70.0",
50
+ "vitest": "^5.0.1"
52
51
  }
53
52
  }