diff --git a/CHANGELOG.md b/CHANGELOG.md index 6e809bd..39fbfc1 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,6 +6,35 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] +## [0.3.3] - 2022-04-24 +### Fixed +- Spacing between rows in Tree components +- Computed style attributes on tooltips were ignored +- Tooltips could cause infinite loops due to cyclical dependencies + +## [0.3.2] - 2022-04-23 +### Fixed +- Clickables and several other elements would not register clicks sometimes, if the display is updating rapidly +- createLayerTreeNode wasn't using display option correctly + +## [0.3.1] - 2022-04-23 +### Added +- Render utility methods that always return JSX Elements +### Changed +- **BREAKING** Tooltips overhaul + - Tree Nodes no longer have tooltips related properties + - Tooltips can now be added to any feature with a Vue component using the `addTooltip` function + - Any tooltip can be made pinnable by setting pinnable to true in the addTooltip options, or by passing a `Ref` to a Tooltip component + - Pinned tooltips have an icon to represent that. It can be disabled by setting the theme's `showPin` property to false +- Modifiers are now their own features rather than a part of conversions + - Including utilities to display the current state of all the modifiers +- TabFamilies' options function is now optional +- Layer.minWidth can take string values + - If parseable into a number, it'll have "px" appended. Otherwise it'll be un-processed +- TreeNodes now have Vue components attached to them +- `createResourceTooltip` now shows the resource name +- Made classic and aqua theme's `feature-foreground` color dark rather than light + ## [0.3.0] - 2022-04-10 ### Added - conversion.currentAt [#4](https://github.com/profectus-engine/Profectus/pull/4) diff --git a/package-lock.json b/package-lock.json index 3b34ba3..9d95c7f 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,16 +1,17 @@ { "name": "profectus", - "version": "0.3.0", + "version": "0.3.3", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "profectus", - "version": "0.3.0", + "version": "0.3.3", "dependencies": { "@pixi/particle-emitter": "^5.0.4", "core-js": "^3.6.5", "lodash.clonedeep": "^4.5.0", + "lz-string": "^1.4.4", "nanoevents": "^6.0.2", "pixi.js": "^6.3.0", "vue": "^3.2.26", @@ -26,6 +27,7 @@ "@jetblack/operator-overloading": "^0.2.0", "@rushstack/eslint-patch": "^1.1.0", "@types/lodash.clonedeep": "^4.5.6", + "@types/lz-string": "^1.3.34", "@vue/babel-plugin-jsx": "^1.1.1", "@vue/cli-plugin-babel": "^5.0.3", "@vue/cli-plugin-eslint": "^5.0.3", @@ -2461,6 +2463,12 @@ "@types/lodash": "*" } }, + "node_modules/@types/lz-string": { + "version": "1.3.34", + "resolved": "https://registry.npmjs.org/@types/lz-string/-/lz-string-1.3.34.tgz", + "integrity": "sha512-j6G1e8DULJx3ONf6NdR5JiR2ZY3K3PaaqiEuKYkLQO0Czfi1AzrtjfnfCROyWGeDd5IVMKCwsgSmMip9OWijow==", + "dev": true + }, "node_modules/@types/mime": { "version": "1.3.2", "resolved": "https://registry.npmjs.org/@types/mime/-/mime-1.3.2.tgz", @@ -8592,6 +8600,14 @@ "node": ">=10" } }, + "node_modules/lz-string": { + "version": "1.4.4", + "resolved": "https://registry.npmjs.org/lz-string/-/lz-string-1.4.4.tgz", + "integrity": "sha1-wNjq82BZ9wV5bh40SBHPTEmNOiY=", + "bin": { + "lz-string": "bin/bin.js" + } + }, "node_modules/magic-string": { "version": "0.25.7", "resolved": "https://registry.npmjs.org/magic-string/-/magic-string-0.25.7.tgz", @@ -15010,6 +15026,12 @@ "@types/lodash": "*" } }, + "@types/lz-string": { + "version": "1.3.34", + "resolved": "https://registry.npmjs.org/@types/lz-string/-/lz-string-1.3.34.tgz", + "integrity": "sha512-j6G1e8DULJx3ONf6NdR5JiR2ZY3K3PaaqiEuKYkLQO0Czfi1AzrtjfnfCROyWGeDd5IVMKCwsgSmMip9OWijow==", + "dev": true + }, "@types/mime": { "version": "1.3.2", "resolved": "https://registry.npmjs.org/@types/mime/-/mime-1.3.2.tgz", @@ -19594,6 +19616,11 @@ "yallist": "^4.0.0" } }, + "lz-string": { + "version": "1.4.4", + "resolved": "https://registry.npmjs.org/lz-string/-/lz-string-1.4.4.tgz", + "integrity": "sha1-wNjq82BZ9wV5bh40SBHPTEmNOiY=" + }, "magic-string": { "version": "0.25.7", "resolved": "https://registry.npmjs.org/magic-string/-/magic-string-0.25.7.tgz", diff --git a/package.json b/package.json index 78077ae..d5fb30b 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "profectus", - "version": "0.3.0", + "version": "0.3.3", "private": true, "scripts": { "start": "vue-cli-service serve", @@ -12,6 +12,7 @@ "@pixi/particle-emitter": "^5.0.4", "core-js": "^3.6.5", "lodash.clonedeep": "^4.5.0", + "lz-string": "^1.4.4", "nanoevents": "^6.0.2", "pixi.js": "^6.3.0", "vue": "^3.2.26", @@ -27,6 +28,7 @@ "@jetblack/operator-overloading": "^0.2.0", "@rushstack/eslint-patch": "^1.1.0", "@types/lodash.clonedeep": "^4.5.6", + "@types/lz-string": "^1.3.34", "@vue/babel-plugin-jsx": "^1.1.1", "@vue/cli-plugin-babel": "^5.0.3", "@vue/cli-plugin-eslint": "^5.0.3", diff --git a/src/components/SavesManager.vue b/src/components/SavesManager.vue index d3f3520..7c3eaa8 100644 --- a/src/components/SavesManager.vue +++ b/src/components/SavesManager.vue @@ -57,6 +57,7 @@