@digital-realty/ui-knowledgebase 18.0.2 → 18.0.3

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.
@@ -943,7 +943,10 @@ These site rules apply to everyone who enters or uses any properties owned or ma
943
943
  }
944
944
  button[aria-pressed='true'] {
945
945
  background-color: var(--clr-primary, #1456e0);
946
- font-weight: 700;
946
+ }
947
+ .selected-icon {
948
+ flex: none;
949
+ color: rgba(255, 255, 255, 0.7);
947
950
  }
948
951
  button:hover {
949
952
  text-decoration: underline;
@@ -953,6 +956,9 @@ These site rules apply to everyone who enters or uses any properties owned or ma
953
956
  outline-offset: 3px;
954
957
  }
955
958
  @media (forced-colors: active) {
959
+ .selected-icon {
960
+ color: ButtonText;
961
+ }
956
962
  button[aria-pressed='true'] {
957
963
  border-color: Highlight;
958
964
  }
@@ -968,8 +974,8 @@ These site rules apply to everyone who enters or uses any properties owned or ma
968
974
  aria-pressed=${this.selectedYear===e?`true`:`false`}
969
975
  @click=${()=>this.selectYear(e)}
970
976
  >
971
- ${this.selectedYear===e?n`<svg aria-hidden="true" focusable="false" width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"><path d="m5 12 4 4L19 6"></path></svg>`:r}
972
977
  ${e}
978
+ ${this.selectedYear===e?n`<svg class="selected-icon" aria-hidden="true" focusable="false" width="22" height="22" viewBox="0 0 24 24" fill="currentColor"><path d="M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4L9 16.2z"></path></svg>`:r}
973
979
  </button>
974
980
  `)}
975
981
  </div>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@digital-realty/ui-knowledgebase",
3
- "version": "18.0.2",
3
+ "version": "18.0.3",
4
4
  "type": "module",
5
5
  "publishConfig": {
6
6
  "access": "public"