@jasonshimmy/custom-elements-runtime 0.1.10 → 0.1.11

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.
@@ -2168,6 +2168,7 @@ function gt(e) {
2168
2168
  ariaCurrentValue: { type: String, default: "page" },
2169
2169
  disabled: { type: Boolean, default: !1 },
2170
2170
  external: { type: Boolean, default: !1 },
2171
+ class: { type: String, default: "" },
2171
2172
  style: { type: String, default: ve`
2172
2173
  [aria-disabled="true"] {
2173
2174
  pointer-events: none;
@@ -2182,21 +2183,21 @@ function gt(e) {
2182
2183
  ${$e().when(h, W`
2183
2184
  <button
2184
2185
  part="button"
2185
- class="${y}"
2186
+ :class="${r.class} ${y}"
2186
2187
  ${m}
2187
2188
  ${d}
2188
2189
  ${v}
2189
- data-on-click="navigate"
2190
+ @click="navigate"
2190
2191
  ><slot></slot></button>
2191
2192
  `).otherwise(W`
2192
2193
  <a
2193
2194
  part="link"
2194
2195
  href="${o}"
2195
- class="${y}"
2196
+ :class="${r.class} ${y}"
2196
2197
  ${m}
2197
2198
  ${d}
2198
2199
  ${v}
2199
- data-on-click="navigate"
2200
+ @click="navigate"
2200
2201
  ><slot></slot></a>
2201
2202
  `).done()}
2202
2203
  `;