@mictonode/widget 0.3.17 → 0.3.18

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 (31) hide show
  1. package/dist/{main-465ae991.js → main-bbea3e54.js} +83 -83
  2. package/dist/ping-widget.js +2 -2
  3. package/dist/ping-widget.umd.cjs +15 -15
  4. package/dist/{query.lcd-d9c6163c.js → query.lcd-88036522.js} +1 -1
  5. package/dist/{query.rpc.Query-a479e6f9.js → query.rpc.Query-3a2b14f8.js} +1 -1
  6. package/dist/{tx.rpc.msg-7444045d.js → tx.rpc.msg-39f0b824.js} +1 -1
  7. package/lib/components/ConnectWallet/index.vue +8 -8
  8. package/lib/components/TokenConvert/index.vue +10 -10
  9. package/lib/components/TxDialog/index.vue +422 -422
  10. package/lib/components/TxDialog/messages/Delegate.vue +4 -4
  11. package/lib/components/TxDialog/messages/Deposit.vue +3 -3
  12. package/lib/components/TxDialog/messages/Redelegate.vue +5 -5
  13. package/lib/components/TxDialog/messages/Send.vue +5 -5
  14. package/lib/components/TxDialog/messages/Transfer.vue +6 -6
  15. package/lib/components/TxDialog/messages/Unbond.vue +3 -3
  16. package/lib/components/TxDialog/messages/Vote.vue +1 -1
  17. package/lib/components/TxDialog/messages/Withdraw.vue +1 -1
  18. package/lib/components/TxDialog/messages/WithdrawCommission.vue +1 -1
  19. package/lib/components/TxDialog/wasm/ClearAdmin.vue +2 -2
  20. package/lib/components/TxDialog/wasm/ExecuteContract.vue +5 -5
  21. package/lib/components/TxDialog/wasm/InstantiateContract.vue +6 -6
  22. package/lib/components/TxDialog/wasm/MigrateContract.vue +4 -4
  23. package/lib/components/TxDialog/wasm/MigrateContract2.vue +4 -4
  24. package/lib/components/TxDialog/wasm/StoreCode.vue +2 -2
  25. package/lib/components/TxDialog/wasm/UpdateAdmin.vue +3 -3
  26. package/lib/main.css +500 -41
  27. package/lib/main.ts +1 -0
  28. package/package.json +3 -4
  29. package/src/App.vue +6 -6
  30. package/src/styles/design-system.css +35 -1
  31. package/tailwind.config.js +1 -54
@@ -57,7 +57,7 @@
57
57
  --color-neutral-700: lch(30% 12% 250deg);
58
58
  --color-neutral-800: lch(20% 10% 250deg);
59
59
  --color-neutral-900: lch(12% 6% 250deg);
60
- --color-neutral-950: lch(8% 4% 250deg);
60
+ --color-neutral-950: lch(5% 2.4 256deg); /* Exact #0f1419 */
61
61
 
62
62
  /* Semantic Colors */
63
63
  --color-success: lch(65% 55% 145deg); /* #3fb68b equivalent */
@@ -65,6 +65,29 @@
65
65
  --color-error: lch(60% 65% 25deg); /* #ff5353 equivalent */
66
66
  --color-info: lch(60% 70% 250deg); /* #0066ff equivalent */
67
67
 
68
+ /* ==========================================================================
69
+ SEMANTIC ALIAS TOKENS
70
+ Purpose-driven names that resolve to scale tokens above.
71
+ Use these in components for intent, not color.
72
+ ========================================================================== */
73
+
74
+ /* Text */
75
+ --color-text-brand: var(--color-primary-500);
76
+ --color-text-muted: var(--color-neutral-400);
77
+
78
+ /* Surface (backgrounds) */
79
+ --color-surface: var(--color-neutral-50); /* Light mode main bg */
80
+ --color-surface-raised: var(--color-neutral-100); /* Card/panel bg */
81
+ --color-surface-overlay: var(--color-neutral-200); /* Modal/dropdown bg */
82
+
83
+ /* Borders */
84
+ --color-border-subtle: var(--color-neutral-200);
85
+ --color-border-default: var(--color-neutral-300);
86
+
87
+ /* Interactive */
88
+ --color-interactive: var(--color-primary-500);
89
+ --color-interactive-hover: var(--color-primary-600);
90
+
68
91
  /* ==========================================================================
69
92
  SPACING TOKENS (8-Point Grid)
70
93
  ========================================================================== */
@@ -147,4 +170,15 @@ html.dark,
147
170
  html[data-theme='dark'] {
148
171
  --color-primary-500: lch(60% 70% 250deg);
149
172
  --color-accent-500: lch(70% 65% 190deg);
173
+
174
+ /* Semantic alias dark overrides */
175
+ --color-text-brand: var(--color-primary-400); /* WCAG AA */
176
+ --color-text-muted: var(--color-neutral-400);
177
+ --color-surface: var(--color-neutral-950); /* #0f1419 */
178
+ --color-surface-raised: var(--color-neutral-900); /* Card bg */
179
+ --color-surface-overlay: var(--color-neutral-800); /* Modal bg */
180
+ --color-border-subtle: var(--color-neutral-800);
181
+ --color-border-default: var(--color-neutral-700);
182
+ --color-interactive: var(--color-primary-500);
183
+ --color-interactive-hover: var(--color-primary-400);
150
184
  }
@@ -154,58 +154,5 @@ export default {
154
154
  },
155
155
  },
156
156
  },
157
- plugins: [require('daisyui')],
158
- daisyui: {
159
- themes: [
160
- {
161
- light: {
162
- ...require('daisyui/src/theming/themes')['[data-theme=light]'],
163
- // PROTECTED: Primary color #0066ff (synced with explorer)
164
- primary: '#0066ff',
165
- 'primary-focus': '#0052cc',
166
- 'primary-content': '#ffffff',
167
- secondary: '#1e40af',
168
- 'secondary-focus': '#1e3a8a',
169
- 'secondary-content': '#ffffff',
170
- accent: '#3b82f6',
171
- 'accent-focus': '#2563eb',
172
- 'accent-content': '#ffffff',
173
- info: '#0066ff',
174
- success: '#3fb68b',
175
- warning: '#f59e0b',
176
- error: '#ff5353',
177
- neutral: '#1e40af',
178
- 'neutral-focus': '#1e3a8a',
179
- 'neutral-content': '#ffffff',
180
- },
181
- },
182
- {
183
- dark: {
184
- ...require('daisyui/src/theming/themes')['[data-theme=dark]'],
185
- // PROTECTED: Primary color #0066ff (synced with explorer)
186
- primary: '#0066ff',
187
- 'primary-focus': '#0052cc',
188
- 'primary-content': '#ffffff',
189
- secondary: '#1e40af',
190
- 'secondary-focus': '#1e3a8a',
191
- 'secondary-content': '#ffffff',
192
- accent: '#3b82f6',
193
- 'accent-focus': '#2563eb',
194
- 'accent-content': '#ffffff',
195
- info: '#0066ff',
196
- success: '#3fb68b',
197
- warning: '#f59e0b',
198
- error: '#ff5353',
199
- neutral: '#1e40af',
200
- 'neutral-focus': '#1e3a8a',
201
- 'neutral-content': '#ffffff',
202
- // Explorer DS overrides (S4 4.20)
203
- 'base-100': '#0f1419',
204
- 'base-200': '#1a1f2e',
205
- 'base-300': '#232a3a',
206
- 'base-content': '#e5e7eb',
207
- },
208
- },
209
- ],
210
- },
157
+ plugins: [],
211
158
  };