@neovici/cosmoz-autocomplete 5.1.2 → 5.2.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.
@@ -6,7 +6,7 @@ export default css`
6
6
  position: relative;
7
7
  }
8
8
  .chip {
9
- border-radius: 500px;
9
+ border-radius: var(--cosmoz-autocomplete-chip-border-radius, 500px);
10
10
  background: var(--cosmoz-autocomplete-chip-bg-color, #cbcfdb);
11
11
  margin: 1px 4px 1px 0;
12
12
  white-space: nowrap;
@@ -31,9 +31,9 @@ export default css`
31
31
  }
32
32
  .chip-text {
33
33
  color: var(--cosmoz-autocomplete-chip-color, #424242);
34
- margin: 0 10px;
35
- font-size: 12px;
36
- line-height: 22px;
34
+ margin: var(--cosmoz-autocomplete-chip-text-margin, 0 10px);
35
+ font-size: var(--cosmoz-autocomplete-chip-text-font-size, 12px);
36
+ line-height: var(--cosmoz-autocomplete-chip-text-line-height, 22px);
37
37
  overflow: hidden;
38
38
  text-overflow: ellipsis;
39
39
  flex: 1;
@@ -45,7 +45,10 @@ export default css`
45
45
  cursor: pointer;
46
46
  width: 16px;
47
47
  height: 16px;
48
- stroke: var(--cosmoz-autocomplete-chip-bg-color, #cbcfdb);
48
+ stroke: var(
49
+ --cosmoz-autocomplete-chip-clear-stroke,
50
+ var(--cosmoz-autocomplete-chip-bg-color, #cbcfdb)
51
+ );
49
52
  display: block;
50
53
  }
51
54
 
@@ -100,5 +103,6 @@ export default css`
100
103
  animation: rotating 1.2s infinite cubic-bezier(0.785, 0.135, 0.15, 0.86);
101
104
  box-sizing: border-box;
102
105
  margin-top: -3px;
106
+ flex: none;
103
107
  }
104
108
  `;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@neovici/cosmoz-autocomplete",
3
- "version": "5.1.2",
3
+ "version": "5.2.0",
4
4
  "description": "A autocomplete input web component",
5
5
  "keywords": [
6
6
  "lit-html",