@decidables/prospectable-elements
Version:
prospectable-elements: Web Components for visualizing Cumulative Prospect Theory
370 lines (126 loc) • 15.9 kB
Markdown
# Change Log
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
## [0.6.0](https://github.com/decidables/decidables/compare/@decidables/prospectable-elements@0.5.2...@decidables/prospectable-elements@0.6.0) (2026-02-14)
### Features
* **libraries:** replace `keyboard` class with `:focus-visible` ([00889d2](https://github.com/decidables/decidables/commit/00889d2c720098ce6e194f884a8cd46fdfdb5c4e)), closes [#9](https://github.com/decidables/decidables/issues/9)
### Bug Fixes
* **prospectable-elements:** fixed spinner interactions for `risky-option` in Safari ([2944546](https://github.com/decidables/decidables/commit/2944546e2a15873510df70ede6f1a76087fd6543)), closes [#54](https://github.com/decidables/decidables/issues/54)
## [0.5.2](https://github.com/decidables/decidables/compare/@decidables/prospectable-elements@0.5.1...@decidables/prospectable-elements@0.5.2) (2026-01-18)
### Bug Fixes
* **prospectable-elements:** update for `d3-3d` version 2 ([2b14e78](https://github.com/decidables/decidables/commit/2b14e78e6162d6af81d7e524bf3b32101343524b))
## [0.5.1](https://github.com/decidables/decidables/compare/@decidables/prospectable-elements@0.5.0...@decidables/prospectable-elements@0.5.1) (2026-01-16)
### Bug Fixes
* **prospectable-elements:** move 3d drag handlers from d3 `merge` to d3 `enter` ([5be1df7](https://github.com/decidables/decidables/commit/5be1df75769d4f997d843b905fc1111d21ff3756)), closes [#61](https://github.com/decidables/decidables/issues/61)
## [0.5.0](https://github.com/decidables/decidables/compare/@decidables/prospectable-elements@0.4.5...@decidables/prospectable-elements@0.5.0) (2026-01-14)
### Features
* **prospectable-elements:** add color legend to `d3-3d` implementation ([306b182](https://github.com/decidables/decidables/commit/306b18256c5eb3a1cf57f38da2987c9912589328))
* **prospectable-elements:** add decision boundary and axis surface maps to `d3-3d` implementation ([c2a80c1](https://github.com/decidables/decidables/commit/c2a80c1195587b95f68e7522a7031cc4a79437a1))
* **prospectable-elements:** add interpolation to simulate boundary clipping ([f903fef](https://github.com/decidables/decidables/commit/f903fefc8c1dfb50b741c2e033ec8bb308e3e2d7))
* **prospectable-elements:** add points to `d3-d3` implementation ([12f16b0](https://github.com/decidables/decidables/commit/12f16b0b63c99fb96ee900f5c577688c724b26ed))
* **prospectable-elements:** add simple lighting model to `d3-3d` plots ([8eaeb4b](https://github.com/decidables/decidables/commit/8eaeb4bfdd523d73280039cd6e7ac65c492ff3ef))
* **prospectable-elements:** adjust `d3-3d` axes, titles, and view ([96a8c25](https://github.com/decidables/decidables/commit/96a8c25ef367276c7e626859e900437028eb1947))
* **prospectable-elements:** duplicate `d3-3d` usage from `decision-space` to `cpt-space` ([bfed3f3](https://github.com/decidables/decidables/commit/bfed3f3b967ea3c038358fa561f6372d56aa626a))
* **prospectable-elements:** replace `plotly` with `d3-3d`, first step is axes ([3e15a27](https://github.com/decidables/decidables/commit/3e15a278ad7b4fdfdd064582c8de2fc70b460795))
* **prospectable-elements:** swap `@observablehq/plot` for `Plotly` for `cpt-fit` diagnostics ([68401e9](https://github.com/decidables/decidables/commit/68401e92f586df710106edcc849cba7e8a811ac3))
### Bug Fixes
* **libraries:** add hacks to get Safari to render shadows properly ([120b73c](https://github.com/decidables/decidables/commit/120b73c2e771d59cf43de8dbe8a064a4902b6bd4)), closes [#11](https://github.com/decidables/decidables/issues/11)
## [0.4.5](https://github.com/decidables/decidables/compare/@decidables/prospectable-elements@0.4.4...@decidables/prospectable-elements@0.4.5) (2025-11-30)
**Note:** Version bump only for package @decidables/prospectable-elements
## [0.4.4](https://github.com/decidables/decidables/compare/@decidables/prospectable-elements@0.4.3...@decidables/prospectable-elements@0.4.4) (2025-11-13)
**Note:** Version bump only for package @decidables/prospectable-elements
## [0.4.3](https://github.com/decidables/decidables/compare/@decidables/prospectable-elements@0.4.2...@decidables/prospectable-elements@0.4.3) (2025-11-03)
**Note:** Version bump only for package @decidables/prospectable-elements
## [0.4.2](https://github.com/decidables/decidables/compare/@decidables/prospectable-elements@0.4.1...@decidables/prospectable-elements@0.4.2) (2025-10-22)
**Note:** Version bump only for package @decidables/prospectable-elements
## [0.4.1](https://github.com/decidables/decidables/compare/@decidables/prospectable-elements@0.4.0...@decidables/prospectable-elements@0.4.1) (2025-10-14)
**Note:** Version bump only for package @decidables/prospectable-elements
## [0.4.0](https://github.com/decidables/decidables/compare/@decidables/prospectable-elements@0.3.1...@decidables/prospectable-elements@0.4.0) (2025-10-10)
### Features
* **all:** put color themes in YAML files ([af954df](https://github.com/decidables/decidables/commit/af954df0809b09806976cb18953b75d5e3c1ca08))
## [0.3.1](https://github.com/decidables/decidables/compare/@decidables/prospectable-elements@0.3.0...@decidables/prospectable-elements@0.3.1) (2025-09-09)
**Note:** Version bump only for package @decidables/prospectable-elements
## [0.3.0](https://github.com/decidables/decidables/compare/@decidables/prospectable-elements@0.2.16...@decidables/prospectable-elements@0.3.0) (2025-05-20)
### Features
* **prospectable-elements:** add cpt-parameters component ([f696d98](https://github.com/decidables/decidables/commit/f696d985f2f12a36ceec6e858c9bf8670677d7be))
* **prospectable-elements:** controls/parameters must be explicitly included to be shown in examples ([2689886](https://github.com/decidables/decidables/commit/26898869b73ea92100bed82275b328630e2b5a50))
* **prospectable-elements:** improve touch targets in cpt-probability and cpt-value ([620f47e](https://github.com/decidables/decidables/commit/620f47e6a39a5194994c7842cf4df0848531e540))
* **prospectable-elements:** normalize examples and add CPTParameters to them ([40294cc](https://github.com/decidables/decidables/commit/40294cc2c611445984a0d31eacb3e7661b8918bc))
* **prospectable-elements:** prospectable-response accepts keyboard input ([6ceea67](https://github.com/decidables/decidables/commit/6ceea67ea51831f53bbe9e3103f72cee67b890e8))
* **prospectable-elements:** use CPTMath parameter settings ([cf94caf](https://github.com/decidables/decidables/commit/cf94cafabcd824af0ce0b590d4cfcd0808ad331e))
### Bug Fixes
* **prospectable-elements:** hide touch interaction elements ([bd73ad2](https://github.com/decidables/decidables/commit/bd73ad2b0ffb40bee2b2c8b1fc63a39be8bcbd73))
## [0.2.16](https://github.com/decidables/decidables/compare/@decidables/prospectable-elements@0.2.15...@decidables/prospectable-elements@0.2.16) (2025-02-06)
**Note:** Version bump only for package @decidables/prospectable-elements
## [0.2.15](https://github.com/decidables/decidables/compare/@decidables/prospectable-elements@0.2.14...@decidables/prospectable-elements@0.2.15) (2025-01-26)
**Note:** Version bump only for package @decidables/prospectable-elements
## [0.2.14](https://github.com/decidables/decidables/compare/@decidables/prospectable-elements@0.2.13...@decidables/prospectable-elements@0.2.14) (2025-01-17)
**Note:** Version bump only for package @decidables/prospectable-elements
## [0.2.13](https://github.com/decidables/decidables/compare/@decidables/prospectable-elements@0.2.12...@decidables/prospectable-elements@0.2.13) (2024-05-04)
**Note:** Version bump only for package @decidables/prospectable-elements
## [0.2.12](https://github.com/decidables/decidables/compare/@decidables/prospectable-elements@0.2.11...@decidables/prospectable-elements@0.2.12) (2024-01-27)
**Note:** Version bump only for package @decidables/prospectable-elements
## [0.2.11](https://github.com/decidables/decidables/compare/@decidables/prospectable-elements@0.2.10...@decidables/prospectable-elements@0.2.11) (2024-01-09)
**Note:** Version bump only for package @decidables/prospectable-elements
## [0.2.10](https://github.com/decidables/decidables/compare/@decidables/prospectable-elements@0.2.9...@decidables/prospectable-elements@0.2.10) (2023-12-31)
**Note:** Version bump only for package @decidables/prospectable-elements
## [0.2.9](https://github.com/decidables/decidables/compare/@decidables/prospectable-elements@0.2.8...@decidables/prospectable-elements@0.2.9) (2023-12-28)
### Bug Fixes
* **prospectable-elements:** update plotly style ([5f36519](https://github.com/decidables/decidables/commit/5f36519710aada16202c714df9e419c57041f4b1))
## [0.2.8](https://github.com/decidables/decidables/compare/@decidables/prospectable-elements@0.2.7...@decidables/prospectable-elements@0.2.8) (2023-12-05)
### Bug Fixes
* **libraries:** add event listeners in connectedCallback ([affc3de](https://github.com/decidables/decidables/commit/affc3de94ad40a3811ae8d710dbc2461ce492251))
* **libraries:** move alignState to willUpdate ([d6decd0](https://github.com/decidables/decidables/commit/d6decd07b9430ddf858d9996869f23b987c44b42))
## [0.2.7](https://github.com/decidables/decidables/compare/@decidables/prospectable-elements@0.2.6...@decidables/prospectable-elements@0.2.7) (2023-11-30)
**Note:** Version bump only for package @decidables/prospectable-elements
## [0.2.6](https://github.com/decidables/decidables/compare/@decidables/prospectable-elements@0.2.5...@decidables/prospectable-elements@0.2.6) (2023-10-13)
### Bug Fixes
* **prospectable-elements:** fix resizing for SVG elements ([0ce39a3](https://github.com/decidables/decidables/commit/0ce39a387ddfc2ab2643c102681a2bdb249a99b7))
## [0.2.5](https://github.com/decidables/decidables/compare/@decidables/prospectable-elements@0.2.4...@decidables/prospectable-elements@0.2.5) (2023-09-13)
**Note:** Version bump only for package @decidables/prospectable-elements
## [0.2.4](https://github.com/decidables/decidables/compare/@decidables/prospectable-elements@0.2.3...@decidables/prospectable-elements@0.2.4) (2023-03-22)
**Note:** Version bump only for package @decidables/prospectable-elements
## [0.2.3](https://github.com/decidables/decidables/compare/@decidables/prospectable-elements@0.2.2...@decidables/prospectable-elements@0.2.3) (2023-01-16)
**Note:** Version bump only for package @decidables/prospectable-elements
### [0.2.2](https://github.com/decidables/decidables/compare/@decidables/prospectable-elements@0.2.1...@decidables/prospectable-elements@0.2.2) (2022-04-28)
**Note:** Version bump only for package @decidables/prospectable-elements
### [0.2.1](https://github.com/decidables/decidables/compare/@decidables/prospectable-elements@0.2.0...@decidables/prospectable-elements@0.2.1) (2022-04-27)
**Note:** Version bump only for package @decidables/prospectable-elements
## [0.2.0](https://github.com/decidables/decidables/compare/@decidables/prospectable-elements@0.1.5...@decidables/prospectable-elements@0.2.0) (2022-04-27)
### Features
* **prospectable-elements:** add identifying class names to risky-options in risky-choice ([e88ad93](https://github.com/decidables/decidables/commit/e88ad93200ac84034b301eb974e07c9d791ddcbb))
* **prospectable-elements:** add keyboard input for interactive probability in risky-option ([1925b92](https://github.com/decidables/decidables/commit/1925b92bcfa3e4370b77be5adb5893a1416d0dc7))
* **prospectable-elements:** give risky-option an intrinsic size ([f5fa197](https://github.com/decidables/decidables/commit/f5fa1973caeee0f1a22fc075f8c2c8a1f26ddeac))
* **prospectable-elements:** soft corners in equations and calculation ([0ab767c](https://github.com/decidables/decidables/commit/0ab767c66b02b298c66d2a7a821c5464c0f5f8e2))
### Bug Fixes
* **prospectable-elements:** comment out unused code for changing parameters in cpt-calculation ([d4f48f8](https://github.com/decidables/decidables/commit/d4f48f8a008017895804470e688e9220d490c5c3))
* **prospectable-elements:** fix bug in set() for cpt-probability ([f001c9f](https://github.com/decidables/decidables/commit/f001c9f058ea52175479aa1f4ec731cf8ca47494))
* **prospectable-elements:** fix logic for displaying payoffs in prospectable-response ([5fb88b7](https://github.com/decidables/decidables/commit/5fb88b71bd5cb83a8ebcc75813eed098c23537d7))
* **prospectable-elements:** fix minor bugs and typos ([87c19ac](https://github.com/decidables/decidables/commit/87c19ac6799b09d948e41aed3fc045f90e40e654))
* **prospectable-elements:** only interactive outcomes handle probability mouse input in risky-option ([afb6b55](https://github.com/decidables/decidables/commit/afb6b5523918cf068fab026fe9056ba02dd6a04e))
* **prospectable-elements:** only show buttons container when needed in prospectable-control ([8326af6](https://github.com/decidables/decidables/commit/8326af6460333c76f2060eefcd0592430a52ac92))
### [0.1.5](https://github.com/decidables/decidables/compare/@decidables/prospectable-elements@0.1.4...@decidables/prospectable-elements@0.1.5) (2022-04-07)
**Note:** Version bump only for package @decidables/prospectable-elements
### [0.1.4](https://github.com/decidables/decidables/compare/@decidables/prospectable-elements@0.1.3...@decidables/prospectable-elements@0.1.4) (2022-03-31)
**Note:** Version bump only for package @decidables/prospectable-elements
### [0.1.3](https://github.com/decidables/decidables/compare/@decidables/prospectable-elements@0.1.2...@decidables/prospectable-elements@0.1.3) (2022-03-24)
### Bug Fixes
* **prospectable-elements:** avoid blocking examples with 3d plots ([20d74d2](https://github.com/decidables/decidables/commit/20d74d27f0b37c52de6b9fc2cb0772d688a81ccc))
### [0.1.2](https://github.com/decidables/decidables/compare/@decidables/prospectable-elements@0.1.1...@decidables/prospectable-elements@0.1.2) (2022-03-24)
### Bug Fixes
* **detectable-elements,prospectable-elements:** remove IE 11 CSS hack ([dd920ac](https://github.com/decidables/decidables/commit/dd920ac9934cc74a4303a9753771818273aecf71))
* **prospectable-elements:** fix CPTValue.set() and its use in CPTExampleInteractive ([45b2bc9](https://github.com/decidables/decidables/commit/45b2bc92903c755d804f496a1d07bbbdf8942dca))
### [0.1.1](https://github.com/decidables/decidables/compare/@decidables/prospectable-elements@0.1.0...@decidables/prospectable-elements@0.1.1) (2022-03-21)
**Note:** Version bump only for package @decidables/prospectable-elements
## [0.1.0](https://github.com/decidables/decidables/compare/@decidables/prospectable-elements@0.0.4...@decidables/prospectable-elements@0.1.0) (2022-03-18)
### Features
* **all:** version bumps for dependencies ([3c4678c](https://github.com/decidables/decidables/commit/3c4678cb8753cac592feeaa646dd57b7ec622536))
### [0.0.4](https://github.com/decidables/decidables/compare/@decidables/prospectable-elements@0.0.3...@decidables/prospectable-elements@0.0.4) (2022-03-18)
**Note:** Version bump only for package @decidables/prospectable-elements
### [0.0.3](https://github.com/decidables/decidables/compare/@decidables/prospectable-elements@0.0.2...@decidables/prospectable-elements@0.0.3) (2022-03-15)
**Note:** Version bump only for package @decidables/prospectable-elements
### [0.0.2](https://github.com/decidables/decidables/compare/@decidables/prospectable-elements@0.0.1...@decidables/prospectable-elements@0.0.2) (2022-03-07)
### Bug Fixes
* **detectable-elements,prospectable-elements:** use correct version for decidables-elements ([a303a79](https://github.com/decidables/decidables/commit/a303a795ee0039ae85c06e035248df402e543f2a))
### 0.0.1 (2022-03-03)
**Note:** Version bump only for package @decidables/prospectable-elements