@celljs/ta-share 4.15.0 → 4.15.1

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/package.json +4 -4
  2. package/web/index.js +6 -2
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@celljs/ta-share",
3
- "version": "4.15.0",
3
+ "version": "4.15.1",
4
4
  "description": "A pi package for Ta: share a conversation, a page or a file by a link, public, with a password or for yourself, end to end through the relay; open and import what others share",
5
5
  "keywords": [
6
6
  "pi-package"
@@ -27,9 +27,9 @@
27
27
  "watch": "tsc -b -w --preserveWatchOutput"
28
28
  },
29
29
  "devDependencies": {
30
- "@celljs/ta-protocol": "4.15.0",
31
- "@celljs/ta-relay": "4.15.0",
32
- "@celljs/ta-web": "4.15.0",
30
+ "@celljs/ta-protocol": "4.15.1",
31
+ "@celljs/ta-relay": "4.15.1",
32
+ "@celljs/ta-web": "4.15.1",
33
33
  "@types/react": "^19.3.0"
34
34
  },
35
35
  "publishConfig": {
package/web/index.js CHANGED
@@ -679,10 +679,13 @@ function Made({ share, password, close }) {
679
679
  size: 14
680
680
  }), " ", t("send"))), /* @__PURE__ */ React.createElement("button", {
681
681
  type: "button",
682
- className: "tsh-stop",
682
+ className: `tsh-stop${stopping ? " ta-busy" : ""}`,
683
+ "aria-busy": stopping || undefined,
683
684
  disabled: stopping,
684
685
  onClick: () => void stop()
685
- }, t("stop")));
686
+ }, stopping && /* @__PURE__ */ React.createElement("span", {
687
+ className: "ta-spinner ta-busy-mark"
688
+ }), /* @__PURE__ */ React.createElement("span", null, t("stop"))));
686
689
  }
687
690
  function useFriends() {
688
691
  const [friends, setFriends] = React.useState();
@@ -1336,6 +1339,7 @@ var STYLE = `
1336
1339
  .tsh-password-note code { font-family: var(--ta-mono); color: var(--ta-text); }
1337
1340
  .tsh-stop { align-self: center; border: 0; background: none; color: var(--ta-muted); font: inherit; font-size: calc(12.5px * var(--ta-font-scale)); cursor: pointer; padding: 4px 8px; border-radius: 6px; }
1338
1341
  .tsh-stop:hover { color: var(--ta-red); background: var(--ta-hover); }
1342
+ .tsh-stop.ta-busy { position: relative; }
1339
1343
 
1340
1344
  /* My shares: the page fills its place and scrolls, its rows never wider than it. */
1341
1345
  .tsh-page { flex: 1; display: flex; flex-direction: column; min-width: 0; min-height: 0; width: 100%; height: 100%; overflow-y: auto; box-sizing: border-box; padding: 12px 16px 32px; }