@weasel-js/prefs-editor 0.0.0-stage → 2.0.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.
Files changed (136) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +29 -2
  3. package/dist/PrefConditionEditor/ConditionClipboard.d.ts +12 -0
  4. package/dist/PrefConditionEditor/ConditionClipboard.d.ts.map +1 -0
  5. package/dist/PrefConditionEditor/ConditionGroupRows.d.ts +20 -0
  6. package/dist/PrefConditionEditor/ConditionGroupRows.d.ts.map +1 -0
  7. package/dist/PrefConditionEditor/ConditionRow.d.ts +37 -0
  8. package/dist/PrefConditionEditor/ConditionRow.d.ts.map +1 -0
  9. package/dist/PrefConditionEditor/PrefConditionEditor.d.ts +52 -0
  10. package/dist/PrefConditionEditor/PrefConditionEditor.d.ts.map +1 -0
  11. package/dist/PrefSchemaEditor/ActionList.d.ts +19 -0
  12. package/dist/PrefSchemaEditor/ActionList.d.ts.map +1 -0
  13. package/dist/PrefSchemaEditor/AddNodeDialog.d.ts +23 -0
  14. package/dist/PrefSchemaEditor/AddNodeDialog.d.ts.map +1 -0
  15. package/dist/PrefSchemaEditor/AssetEditor.d.ts +49 -0
  16. package/dist/PrefSchemaEditor/AssetEditor.d.ts.map +1 -0
  17. package/dist/PrefSchemaEditor/AssetList.d.ts +20 -0
  18. package/dist/PrefSchemaEditor/AssetList.d.ts.map +1 -0
  19. package/dist/PrefSchemaEditor/AttributesPane.d.ts +34 -0
  20. package/dist/PrefSchemaEditor/AttributesPane.d.ts.map +1 -0
  21. package/dist/PrefSchemaEditor/BundlePreview.d.ts +7 -0
  22. package/dist/PrefSchemaEditor/BundlePreview.d.ts.map +1 -0
  23. package/dist/PrefSchemaEditor/EditorBar.d.ts +20 -0
  24. package/dist/PrefSchemaEditor/EditorBar.d.ts.map +1 -0
  25. package/dist/PrefSchemaEditor/EditorNotice.d.ts +12 -0
  26. package/dist/PrefSchemaEditor/EditorNotice.d.ts.map +1 -0
  27. package/dist/PrefSchemaEditor/ExportPanel.d.ts +17 -0
  28. package/dist/PrefSchemaEditor/ExportPanel.d.ts.map +1 -0
  29. package/dist/PrefSchemaEditor/IconAttrField.d.ts +11 -0
  30. package/dist/PrefSchemaEditor/IconAttrField.d.ts.map +1 -0
  31. package/dist/PrefSchemaEditor/IconPicker.d.ts +8 -0
  32. package/dist/PrefSchemaEditor/IconPicker.d.ts.map +1 -0
  33. package/dist/PrefSchemaEditor/IdentityForm.d.ts +10 -0
  34. package/dist/PrefSchemaEditor/IdentityForm.d.ts.map +1 -0
  35. package/dist/PrefSchemaEditor/NodeGhost.d.ts +30 -0
  36. package/dist/PrefSchemaEditor/NodeGhost.d.ts.map +1 -0
  37. package/dist/PrefSchemaEditor/NumberText.d.ts +12 -0
  38. package/dist/PrefSchemaEditor/NumberText.d.ts.map +1 -0
  39. package/dist/PrefSchemaEditor/Palette.d.ts +49 -0
  40. package/dist/PrefSchemaEditor/Palette.d.ts.map +1 -0
  41. package/dist/PrefSchemaEditor/PaneHeader.d.ts +18 -0
  42. package/dist/PrefSchemaEditor/PaneHeader.d.ts.map +1 -0
  43. package/dist/PrefSchemaEditor/PartsList.d.ts +25 -0
  44. package/dist/PrefSchemaEditor/PartsList.d.ts.map +1 -0
  45. package/dist/PrefSchemaEditor/PrefSchemaEditor.d.ts +81 -0
  46. package/dist/PrefSchemaEditor/PrefSchemaEditor.d.ts.map +1 -0
  47. package/dist/PrefSchemaEditor/PreviewPane.d.ts +35 -0
  48. package/dist/PrefSchemaEditor/PreviewPane.d.ts.map +1 -0
  49. package/dist/PrefSchemaEditor/SettingsTree.d.ts +20 -0
  50. package/dist/PrefSchemaEditor/SettingsTree.d.ts.map +1 -0
  51. package/dist/PrefSchemaEditor/Shelf.d.ts +26 -0
  52. package/dist/PrefSchemaEditor/Shelf.d.ts.map +1 -0
  53. package/dist/PrefSchemaEditor/StoredArea.d.ts +13 -0
  54. package/dist/PrefSchemaEditor/StoredArea.d.ts.map +1 -0
  55. package/dist/PrefSchemaEditor/StructurePane.d.ts +85 -0
  56. package/dist/PrefSchemaEditor/StructurePane.d.ts.map +1 -0
  57. package/dist/PrefSchemaEditor/StructureTools.d.ts +19 -0
  58. package/dist/PrefSchemaEditor/StructureTools.d.ts.map +1 -0
  59. package/dist/PrefSchemaEditor/UnitAttr.d.ts +10 -0
  60. package/dist/PrefSchemaEditor/UnitAttr.d.ts.map +1 -0
  61. package/dist/PrefSchemaEditor/UnplacedTree.d.ts +29 -0
  62. package/dist/PrefSchemaEditor/UnplacedTree.d.ts.map +1 -0
  63. package/dist/PrefSchemaEditor/aliasChoices.d.ts +6 -0
  64. package/dist/PrefSchemaEditor/aliasChoices.d.ts.map +1 -0
  65. package/dist/PrefSchemaEditor/assetEdits.d.ts +37 -0
  66. package/dist/PrefSchemaEditor/assetEdits.d.ts.map +1 -0
  67. package/dist/PrefSchemaEditor/attrRenderers.d.ts +3 -0
  68. package/dist/PrefSchemaEditor/attrRenderers.d.ts.map +1 -0
  69. package/dist/PrefSchemaEditor/attributeForm.d.ts +39 -0
  70. package/dist/PrefSchemaEditor/attributeForm.d.ts.map +1 -0
  71. package/dist/PrefSchemaEditor/attributeKey.d.ts +13 -0
  72. package/dist/PrefSchemaEditor/attributeKey.d.ts.map +1 -0
  73. package/dist/PrefSchemaEditor/attributeRenderers.d.ts +20 -0
  74. package/dist/PrefSchemaEditor/attributeRenderers.d.ts.map +1 -0
  75. package/dist/PrefSchemaEditor/autoValueRenderer.d.ts +6 -0
  76. package/dist/PrefSchemaEditor/autoValueRenderer.d.ts.map +1 -0
  77. package/dist/PrefSchemaEditor/defaults.d.ts +7 -0
  78. package/dist/PrefSchemaEditor/defaults.d.ts.map +1 -0
  79. package/dist/PrefSchemaEditor/editorActions.d.ts +13 -0
  80. package/dist/PrefSchemaEditor/editorActions.d.ts.map +1 -0
  81. package/dist/PrefSchemaEditor/editorPrefs.d.ts +108 -0
  82. package/dist/PrefSchemaEditor/editorPrefs.d.ts.map +1 -0
  83. package/dist/PrefSchemaEditor/heirAfter.d.ts +6 -0
  84. package/dist/PrefSchemaEditor/heirAfter.d.ts.map +1 -0
  85. package/dist/PrefSchemaEditor/iconPickerModel.d.ts +20 -0
  86. package/dist/PrefSchemaEditor/iconPickerModel.d.ts.map +1 -0
  87. package/dist/PrefSchemaEditor/nodeIcon.d.ts +14 -0
  88. package/dist/PrefSchemaEditor/nodeIcon.d.ts.map +1 -0
  89. package/dist/PrefSchemaEditor/paneWidths.d.ts +37 -0
  90. package/dist/PrefSchemaEditor/paneWidths.d.ts.map +1 -0
  91. package/dist/PrefSchemaEditor/panelPaths.d.ts +13 -0
  92. package/dist/PrefSchemaEditor/panelPaths.d.ts.map +1 -0
  93. package/dist/PrefSchemaEditor/previewDrop.d.ts +32 -0
  94. package/dist/PrefSchemaEditor/previewDrop.d.ts.map +1 -0
  95. package/dist/PrefSchemaEditor/rowSearch.d.ts +12 -0
  96. package/dist/PrefSchemaEditor/rowSearch.d.ts.map +1 -0
  97. package/dist/PrefSchemaEditor/structureRows.d.ts +11 -0
  98. package/dist/PrefSchemaEditor/structureRows.d.ts.map +1 -0
  99. package/dist/PrefSchemaEditor/treeDropRules.d.ts +11 -0
  100. package/dist/PrefSchemaEditor/treeDropRules.d.ts.map +1 -0
  101. package/dist/PrefSchemaEditor/useActionCatalog.d.ts +40 -0
  102. package/dist/PrefSchemaEditor/useActionCatalog.d.ts.map +1 -0
  103. package/dist/PrefSchemaEditor/useAssetChanges.d.ts +37 -0
  104. package/dist/PrefSchemaEditor/useAssetChanges.d.ts.map +1 -0
  105. package/dist/PrefSchemaEditor/useAssetView.d.ts +25 -0
  106. package/dist/PrefSchemaEditor/useAssetView.d.ts.map +1 -0
  107. package/dist/PrefSchemaEditor/useBundleView.d.ts +22 -0
  108. package/dist/PrefSchemaEditor/useBundleView.d.ts.map +1 -0
  109. package/dist/PrefSchemaEditor/useDocument.d.ts +40 -0
  110. package/dist/PrefSchemaEditor/useDocument.d.ts.map +1 -0
  111. package/dist/PrefSchemaEditor/useEditorSelection.d.ts +27 -0
  112. package/dist/PrefSchemaEditor/useEditorSelection.d.ts.map +1 -0
  113. package/dist/PrefSchemaEditor/useHeldPlace.d.ts +11 -0
  114. package/dist/PrefSchemaEditor/useHeldPlace.d.ts.map +1 -0
  115. package/dist/PrefSchemaEditor/useNodeAdder.d.ts +29 -0
  116. package/dist/PrefSchemaEditor/useNodeAdder.d.ts.map +1 -0
  117. package/dist/PrefSchemaEditor/usePaletteDrop.d.ts +25 -0
  118. package/dist/PrefSchemaEditor/usePaletteDrop.d.ts.map +1 -0
  119. package/dist/PrefSchemaEditor/usePreviewDrag.d.ts +35 -0
  120. package/dist/PrefSchemaEditor/usePreviewDrag.d.ts.map +1 -0
  121. package/dist/PrefSchemaEditor/usePreviewDropZone.d.ts +29 -0
  122. package/dist/PrefSchemaEditor/usePreviewDropZone.d.ts.map +1 -0
  123. package/dist/PrefSchemaEditor/useRowMarks.d.ts +23 -0
  124. package/dist/PrefSchemaEditor/useRowMarks.d.ts.map +1 -0
  125. package/dist/PrefSchemaEditor/useSelectedNodes.d.ts +8 -0
  126. package/dist/PrefSchemaEditor/useSelectedNodes.d.ts.map +1 -0
  127. package/dist/PrefSchemaEditor/useTreeDragOut.d.ts +25 -0
  128. package/dist/PrefSchemaEditor/useTreeDragOut.d.ts.map +1 -0
  129. package/dist/icons.gen.d.ts +3 -0
  130. package/dist/icons.gen.d.ts.map +1 -0
  131. package/dist/index.d.ts +16 -0
  132. package/dist/index.d.ts.map +1 -0
  133. package/dist/index.js +5445 -0
  134. package/dist/index.js.map +1 -0
  135. package/dist/style.css +615 -0
  136. package/package.json +70 -4
package/package.json CHANGED
@@ -1,6 +1,72 @@
1
1
  {
2
2
  "name": "@weasel-js/prefs-editor",
3
- "version": "0.0.0-stage",
4
- "stub": true,
5
- "description": "Temporary package placeholder for staged publishing"
6
- }
3
+ "version": "2.0.0",
4
+ "description": "An editor for preferences schemas: build a schema's sections, fields, conditions, and kinds by hand, preview the form it draws, and export it.",
5
+ "weasel": {
6
+ "tier": "other"
7
+ },
8
+ "license": "MIT",
9
+ "type": "module",
10
+ "sideEffects": [
11
+ "*.css"
12
+ ],
13
+ "main": "./dist/index.js",
14
+ "module": "./dist/index.js",
15
+ "types": "./dist/index.d.ts",
16
+ "exports": {
17
+ ".": {
18
+ "types": "./dist/index.d.ts",
19
+ "import": "./dist/index.js"
20
+ },
21
+ "./style.css": "./dist/style.css",
22
+ "./package.json": "./package.json"
23
+ },
24
+ "author": "orochi235",
25
+ "homepage": "https://orochi235.github.io/weasel/",
26
+ "repository": {
27
+ "type": "git",
28
+ "url": "git+https://github.com/orochi235/weasel.git",
29
+ "directory": "packages/prefs-editor"
30
+ },
31
+ "bugs": {
32
+ "url": "https://github.com/orochi235/weasel/issues"
33
+ },
34
+ "engines": {
35
+ "node": ">=24"
36
+ },
37
+ "files": [
38
+ "dist",
39
+ "README.md",
40
+ "LICENSE"
41
+ ],
42
+ "scripts": {
43
+ "build": "vite build && tsc -p tsconfig.build.json && node ../../scripts/dts-extensions.mjs dist",
44
+ "test": "node ../../scripts/package-test.mjs"
45
+ },
46
+ "dependencies": {
47
+ "@weasel-js/geom": "2.0.0",
48
+ "@weasel-js/gestures": "2.0.0",
49
+ "@weasel-js/icons": "2.0.0",
50
+ "@weasel-js/prefs": "2.0.0",
51
+ "@weasel-js/quantity": "2.0.0",
52
+ "@weasel-js/react": "2.0.0",
53
+ "@weasel-js/registry": "2.0.0",
54
+ "@weasel-js/routing": "2.0.0",
55
+ "@weasel-js/ui": "2.0.0",
56
+ "@weasel-js/ui-canvas": "2.0.0",
57
+ "@weasel-js/ui-input": "2.0.0",
58
+ "react-aria-components": "1.22.1"
59
+ },
60
+ "peerDependencies": {
61
+ "@weasel-js/core": "2.0.0",
62
+ "react": ">=18",
63
+ "react-dom": ">=18"
64
+ },
65
+ "publishConfig": {
66
+ "access": "public",
67
+ "provenance": true
68
+ },
69
+ "devDependencies": {
70
+ "@weasel-js/editing": "2.0.0"
71
+ }
72
+ }