@cas-smartdesign/swatch-picker 3.0.1 → 3.1.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.
package/package.json CHANGED
@@ -1,14 +1,14 @@
1
1
  {
2
2
  "name": "@cas-smartdesign/swatch-picker",
3
- "version": "3.0.1",
3
+ "version": "3.1.0",
4
4
  "description": "A color picker element which has the look and feel of the smartdesign color picker",
5
5
  "main": "dist/swatch-picker-with-externals.js",
6
6
  "module": "dist/swatch-picker.mjs",
7
7
  "types": "dist/swatch-picker.d.ts",
8
8
  "license": "SEE LICENSE IN LICENSE",
9
9
  "dependencies": {
10
- "@cas-smartdesign/element-base": "^5.0.1",
11
- "@cas-smartdesign/design-tokens": "^1.7.1"
10
+ "@cas-smartdesign/design-tokens": "^1.7.2",
11
+ "@cas-smartdesign/element-base": "^5.0.2"
12
12
  },
13
13
  "files": [
14
14
  "dist",
@@ -19,8 +19,8 @@
19
19
  "access": "public"
20
20
  },
21
21
  "devDependencies": {
22
- "@cas-smartdesign/element-preview": "^0.2.1",
23
- "@cas-smartdesign/license-generator": "^1.6.1"
22
+ "@cas-smartdesign/license-generator": "^1.6.3",
23
+ "@cas-smartdesign/element-preview": "^0.2.2"
24
24
  },
25
25
  "scripts": {
26
26
  "version": "pnpm version",
package/readme.md CHANGED
@@ -20,10 +20,12 @@ A color picker element.
20
20
 
21
21
  - `--sd-swatch-picker-icon-size`
22
22
  - Defines the size of the icon (default is 24px)
23
+ - `--sd-swatch-picker-icon-color`
24
+ - Defines the color of the icon (default is #1467ba)
25
+ - `--sd-swatch-picker-inactive-icon-color`
26
+ - Defines the color of the icon with a disabled picker state (default is #767676)
23
27
 
24
28
  ## Custom events
25
29
 
26
30
  - `value-change`
27
31
  - This event is dispatched when the value (color) of the picker has changed by the User. The _detail_ contains the updated color.
28
-
29
- ## Examples