@cal.macconnachie/web-components 2.1.2 → 2.1.4

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 +14 -5
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -6708,6 +6708,15 @@ class oe extends I {
6708
6708
  transition: none !important;
6709
6709
  }
6710
6710
  }
6711
+ .rotate-90 {
6712
+ transform: rotate(90deg);
6713
+ transition: transform 0.2s ease-in-out;
6714
+ }
6715
+
6716
+ .rotate-270 {
6717
+ transform: rotate(270deg);
6718
+ transition: transform 0.2s ease-in-out;
6719
+ }
6711
6720
  `;
6712
6721
  }
6713
6722
  connectedCallback() {
@@ -6861,11 +6870,11 @@ class oe extends I {
6861
6870
  @click=${this.toggleSidebar}
6862
6871
  aria-label="Toggle sidebar"
6863
6872
  >
6864
- ${t ? m`<svg width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2">
6865
- <path d="M11 19l-7-7 7-7" />
6866
- </svg>` : m`<svg width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2">
6867
- <path d="M9 5l7 7-7 7" />
6868
- </svg>`}
6873
+ <base-icon
6874
+ name="arrow"
6875
+ class="${t ? "rotate-270" : "rotate-90"}"
6876
+ size="28px"
6877
+ ></base-icon>
6869
6878
  </button>
6870
6879
 
6871
6880
  <!-- Tabs Navigation -->
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cal.macconnachie/web-components",
3
- "version": "2.1.2",
3
+ "version": "2.1.4",
4
4
  "description": "Web components hosted on a CDN",
5
5
  "keywords": [
6
6
  "web-components",