@urnetwork/elements 0.0.1-beta.1 → 0.0.1-beta.2

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.
@@ -1,4 +1,4 @@
1
- import { B as s, a as t, b as o, c as e, I, d as c, e as T, f as i, g as r, h as u, i as S, j as B, L as N, M as m, k as b, l, S as p, m as A, T as L, n as M } from "./selected-location-CzeT_ZqM.js";
1
+ import { B as s, a as t, b as o, c as e, I, d as c, e as T, f as i, g as r, h as u, i as S, j as B, L as N, M as m, k as b, l, S as p, m as A, T as L, n as M } from "./selected-location-B7xjq7zE.js";
2
2
  export {
3
3
  s as BUTTON_TYPES,
4
4
  t as BUTTON_VARIANTS,
package/dist/react.js CHANGED
@@ -1,8 +1,8 @@
1
1
  import { jsx as r } from "react/jsx-runtime";
2
2
  import * as e from "react";
3
3
  import { createComponent as a } from "@lit/react";
4
- import { c as u, j as m, n as l, b as i, h as U, e as p, M as I, k as d, l as f, S as N, L as B } from "./selected-location-CzeT_ZqM.js";
5
- import { B as D, a as F, I as G, T as J } from "./selected-location-CzeT_ZqM.js";
4
+ import { c as u, j as m, n as l, b as i, h as U, e as p, M as I, k as d, l as f, S as N, L as B } from "./selected-location-B7xjq7zE.js";
5
+ import { B as D, a as F, I as G, T as J } from "./selected-location-B7xjq7zE.js";
6
6
  const g = a({
7
7
  tagName: "ur-button",
8
8
  elementClass: u,
@@ -1275,6 +1275,7 @@ const qt = c`
1275
1275
  align-items: center;
1276
1276
  justify-content: space-between;
1277
1277
  width: 100%;
1278
+ min-height: 3.6rem;
1278
1279
  box-sizing: border-box;
1279
1280
  padding: var(--ur-space-sm) var(--ur-space-md);
1280
1281
  cursor: pointer;
@@ -1821,10 +1822,12 @@ let g = class extends p {
1821
1822
 
1822
1823
  <div class="location-text-content">
1823
1824
  <ur-text variant="body">${this.name}</ur-text>
1824
- <ur-text variant="small" color="var(--ur-color-gray)">
1825
- ${this.formatNumber(this.providerCount)}
1826
- provider${this.providerCount === 1 ? "" : "s"}
1827
- </ur-text>
1825
+ ${this.providerCount > 0 ? h`
1826
+ <ur-text variant="small" color="var(--ur-color-gray)">
1827
+ ${this.formatNumber(this.providerCount)}
1828
+ provider${this.providerCount === 1 ? "" : "s"}
1829
+ </ur-text>
1830
+ ` : null}
1828
1831
  </div>
1829
1832
  </div>
1830
1833
 
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@urnetwork/elements",
3
3
  "author": "URnetwork <support@ur.io> (https://ur.io)",
4
4
  "license": "ISC",
5
- "version": "0.0.1-beta.1",
5
+ "version": "0.0.1-beta.2",
6
6
  "repository": {
7
7
  "type": "git",
8
8
  "url": "git+https://github.com/urnetwork/elements.git"