@urnetwork/elements 0.0.0-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.
package/README.md CHANGED
@@ -26,5 +26,5 @@ https://pangrampangram.com/products/neue-montreal
26
26
  - Make sure everything is committed and pushed to the main branch.
27
27
  - If you're not already, login to npm with `npm login`.
28
28
  - Run `npm pack --dry-run` to see what will be included in the package.
29
- - If everything looks good, run `npm run release:patch` to publish the package. There are also `release:minor` and `release:major` scripts available for versioning.
29
+ - If everything looks good, run `npm run release:patch` to publish the package. There are also `release:beta`, `release:minor`, and `release:major` scripts available for versioning.
30
30
  - Tag it on Github after publishing like `git tag vx.y.z` and `git push --tags`.
@@ -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,6 +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.2",
5
6
  "repository": {
6
7
  "type": "git",
7
8
  "url": "git+https://github.com/urnetwork/elements.git"
@@ -14,7 +15,6 @@
14
15
  "bugs": {
15
16
  "url": "https://github.com/urnetwork/elements/issues"
16
17
  },
17
- "version": "0.0.0-beta.1",
18
18
  "type": "module",
19
19
  "exports": {
20
20
  "./styles.css": "./dist/assets/styles.css",
@@ -33,6 +33,7 @@
33
33
  "build:demo": "vite build --mode demo",
34
34
  "preview": "vite preview",
35
35
  "prepublishOnly": "npm run build",
36
+ "release:beta": "npm version prerelease --preid=beta && npm publish --tag beta",
36
37
  "release:patch": "npm version patch && npm publish",
37
38
  "release:minor": "npm version minor && npm publish",
38
39
  "release:major": "npm version major && npm publish"