Releases: kleinfreund/vue-accessible-color-picker
v3.2.0
v3.1.0
v3.0.1
v3.0.0
3.0.0 (2021-03-21)
chore
Features
- improve color prop parsing (8b74dbd)
BREAKING CHANGES
- types: Removes the
VueAccessibleColorPicker
namespace from types. - Changes the default color format from
'rgb'
to'hsl'
. To upgrade without changing this in your application, you can pass'rgb'
to thedefaultFormat
prop. - Updates browser support on account of using
Object.fromEntries
. Most notably, Edge using the EdgeHTML engine and Safari versions before 12.2 are no longer supported. Please refer to the README.md file for the complete list.
v2.1.0
v2.0.0
2.0.0 (2021-01-17)
Features
- migrate to Vue.js version 3 (26b8eb2)
BREAKING CHANGES
- Migrates this package to use and be compatible with Vue.js 3. Upcoming versions of this package therefor no longer support Vue.js 2. Use the new application instance APIs to register components via
app.component
. The README.md file was updated to take these changes into account. Detailed instructions on the the general migration process to Vue.js 3 can be found in the Vue 3 migration guide. - Deprecates global component registration via side effect.
- Renames type
SupportedColorFormat
toColorFormat
. - Removes type
ColorChannel
because it’s not a useful type.
Adds the vue package (vue@^3.x
) as a peer dependency.
Removes some tests from index.test.js because they were testing the behavior of Vue.js itself rather than that of the index.js file.
v1.1.2
v1.1.1
1.1.1 (2020-12-20)
Note: This version cannot be used. Use version 1.1.2 instead.
Due to an issue with the package.json file’s files
field, version 1.1.1 does not include the dist files in the published npm package. The issue was fixed in 9b15741 and a new version of the package was released.
Bug Fixes
-
package: add exports and module fields to package.json (5a9eda3)
Adds the “exports” and “module” fields to the package.json file. Their values refer to the package’s main entry point (i.e.
./dist/vue-accessible-color-picker.js
).
v1.1.0
1.1.0 (2020-12-19)
Note: This version cannot be used. Use version 1.1.2 instead.
Due to an issue with the package.json file’s files
field, version 1.1.0 does not include the dist files in the published npm package. The issue was fixed in 9b15741 and a new version of the package was released.
Features
-
types: add basic type definitions (37b425e)
Adds type definitions file index.d.ts within the types directory and moves existing JSDoc-based type definitions into this file.
Points the types field in the package.json file to the newly added type definition file and adds it to the bundled package files.
Configures the project to check JavaScript for TypeScript errors via a jsconfig.json file in the project’s root directory.
Adds type annotations to several parts of the codebase.