@mictonode/widget 0.3.19 → 0.3.21

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 { _ as n, s as e } from "./main-c424432b.js";
1
+ import { _ as n, s as e } from "./main-d726e4c5.js";
2
2
  class l {
3
3
  constructor({
4
4
  requestClient: i
@@ -1,4 +1,4 @@
1
- import { C as u, m as r, T as W, t as ee, f as ie, L as d, P as L, A as p, a as B, b as F, c as w, d as M, e as U, g as Q, h as oe, _ as ne } from "./main-c424432b.js";
1
+ import { C as u, m as r, T as W, t as ee, f as ie, L as d, P as L, A as p, a as B, b as F, c as w, d as M, e as U, g as Q, h as oe, _ as ne } from "./main-d726e4c5.js";
2
2
  function Z() {
3
3
  return {
4
4
  positionId: d.UZERO,
@@ -1,4 +1,4 @@
1
- import { _ as n, M as r, i as c, m as t, j as a, k as d, l as h, n as l, o as g, p, q as u, r as m } from "./main-c424432b.js";
1
+ import { _ as n, M as r, i as c, m as t, j as a, k as d, l as h, n as l, o as g, p, q as u, r as m } from "./main-d726e4c5.js";
2
2
  class f {
3
3
  constructor(e) {
4
4
  n(this, "rpc", void 0), this.rpc = e, this.createPosition = this.createPosition.bind(this), this.withdrawPosition = this.withdrawPosition.bind(this), this.collectFees = this.collectFees.bind(this), this.collectIncentives = this.collectIncentives.bind(this), this.fungifyChargedPositions = this.fungifyChargedPositions.bind(this);
package/lib/main.css CHANGED
@@ -215,6 +215,12 @@ code, pre, .font-mono {
215
215
  align-items: stretch;
216
216
  }
217
217
 
218
+ .input-group > .input,
219
+ .input-group > .select {
220
+ width: auto;
221
+ min-width: 0;
222
+ }
223
+
218
224
  .join {
219
225
  display: flex;
220
226
  }
@@ -294,13 +300,13 @@ code, pre, .font-mono {
294
300
  }
295
301
 
296
302
  .dark .select {
297
- background: #1a1f2e;
298
- border-color: rgba(255, 255, 255, 0.15);
303
+ background: rgba(255, 255, 255, 0.05);
304
+ border-color: rgba(255, 255, 255, 0.1);
299
305
  color: #e5e7eb;
300
306
  }
301
307
 
302
308
  .dark .select option {
303
- background: #1a1f2e;
309
+ background: #0f1419;
304
310
  color: #e5e7eb;
305
311
  }
306
312
 
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@mictonode/widget",
3
3
  "private": false,
4
- "version": "0.3.19",
4
+ "version": "0.3.21",
5
5
  "type": "module",
6
6
  "main": "dist/ping-widget.js",
7
7
  "author": {
package/src/App.vue CHANGED
@@ -145,8 +145,8 @@ const switchTheme = () => {
145
145
  };
146
146
 
147
147
  onMounted(() => {
148
- document.documentElement.classList.add('light');
149
- document.documentElement.setAttribute('data-theme', 'light');
148
+ document.documentElement.classList.add('dark');
149
+ document.documentElement.setAttribute('data-theme', 'dark');
150
150
  });
151
151
  const walletStateChange = (res: any) => {
152
152
  console.log(res, 'resres');