@cal.macconnachie/web-components 2.5.4 → 2.5.6

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.
Files changed (2) hide show
  1. package/dist/index.js +6 -5
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -5927,11 +5927,11 @@ class G extends M {
5927
5927
  }
5928
5928
 
5929
5929
  .desktop-plus-icon--left {
5930
- left: -4px;
5930
+ left: -2px;
5931
5931
  }
5932
5932
 
5933
5933
  .desktop-plus-icon--right {
5934
- right: -4px;
5934
+ right: -2px;
5935
5935
  }
5936
5936
 
5937
5937
  .desktop-plus-icon:hover {
@@ -5950,7 +5950,7 @@ class G extends M {
5950
5950
  /* Show plus icons on hover (desktop only) */
5951
5951
  @media (hover: hover) and (pointer: fine) {
5952
5952
  :host(:hover) .desktop-plus-icon {
5953
- opacity: 1;
5953
+ opacity: 0.7;
5954
5954
  pointer-events: auto;
5955
5955
  }
5956
5956
 
@@ -6096,13 +6096,14 @@ class G extends M {
6096
6096
  });
6097
6097
  }
6098
6098
  renderActionIcon(e, t = "24px") {
6099
+ const i = e.iconColor || "white";
6099
6100
  return e.icon.includes("<") ? f`<span
6100
- style="display: inline-flex; width: ${t}; height: ${t}; color: inherit;"
6101
+ style="display: inline-flex; width: ${t}; height: ${t}; color: ${i};"
6101
6102
  .innerHTML=${e.icon}
6102
6103
  ></span>` : f`<base-icon
6103
6104
  name=${e.icon}
6104
6105
  size=${t}
6105
- color="currentColor"
6106
+ style="--icon-color: ${i};"
6106
6107
  ></base-icon>`;
6107
6108
  }
6108
6109
  triggerSwipeAction(e) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cal.macconnachie/web-components",
3
- "version": "2.5.4",
3
+ "version": "2.5.6",
4
4
  "description": "Web components hosted on a CDN",
5
5
  "keywords": [
6
6
  "web-components",