diff --git a/package.json b/package.json index b1e25318..270a600a 100644 --- a/package.json +++ b/package.json @@ -34,8 +34,8 @@ "@radix-ui/react-toggle": "^1.1.10", "@radix-ui/react-toggle-group": "^1.1.11", "@radix-ui/react-tooltip": "^1.2.8", - "@reactive-dot/core": "^0.67.3", - "@reactive-dot/react": "^0.67.3", + "@reactive-dot/core": "^0.68.1", + "@reactive-dot/react": "^0.68.0", "@tanstack/react-table": "^8.21.3", "buffer": "^6.0.3", "class-variance-authority": "^0.7.1", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index f3cfe3b4..c334e3c2 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -54,11 +54,11 @@ importers: specifier: ^1.2.8 version: 1.2.8(@types/react-dom@19.2.3(@types/react@19.2.7))(@types/react@19.2.7)(react-dom@19.2.3(react@19.2.3))(react@19.2.3) '@reactive-dot/core': - specifier: ^0.67.3 - version: 0.67.3(polkadot-api@1.23.1(jiti@2.6.1)(postcss@8.5.6)(rxjs@7.8.2))(typescript@5.9.3)(zod@4.2.1) + specifier: ^0.68.1 + version: 0.68.1(polkadot-api@1.23.1(jiti@2.6.1)(postcss@8.5.6)(rxjs@7.8.2))(typescript@5.9.3)(zod@4.2.1) '@reactive-dot/react': - specifier: ^0.67.3 - version: 0.67.3(@babel/core@7.28.5)(@babel/template@7.27.2)(@types/react@19.2.7)(polkadot-api@1.23.1(jiti@2.6.1)(postcss@8.5.6)(rxjs@7.8.2))(react@19.2.3)(typescript@5.9.3)(zod@4.2.1) + specifier: ^0.68.0 + version: 0.68.0(@babel/core@7.28.5)(@babel/template@7.27.2)(@types/react@19.2.7)(polkadot-api@1.23.1(jiti@2.6.1)(postcss@8.5.6)(rxjs@7.8.2))(react@19.2.3)(typescript@5.9.3)(zod@4.2.1) '@tanstack/react-table': specifier: ^8.21.3 version: 8.21.3(react-dom@19.2.3(react@19.2.3))(react@19.2.3) @@ -76,7 +76,7 @@ importers: version: 3.3.3 dot-connect: specifier: ^0.28.2 - version: 0.28.2(@reactive-dot/core@0.67.3(polkadot-api@1.23.1(jiti@2.6.1)(postcss@8.5.6)(rxjs@7.8.2))(typescript@5.9.3)(zod@4.2.1))(@types/react@19.2.7)(react@19.2.3)(signal-polyfill@0.2.2) + version: 0.28.2(@reactive-dot/core@0.68.1(polkadot-api@1.23.1(jiti@2.6.1)(postcss@8.5.6)(rxjs@7.8.2))(typescript@5.9.3)(zod@4.2.1))(@types/react@19.2.7)(react@19.2.3)(signal-polyfill@0.2.2) lucide-react: specifier: ^0.562.0 version: 0.562.0(react@19.2.3) @@ -1370,13 +1370,13 @@ packages: '@radix-ui/rect@1.1.1': resolution: {integrity: sha512-HPwpGIzkl28mWyZqG52jiqDJ12waP11Pa1lGoiyUkIEuMLBP0oeK/C89esbXrxsky5we7dfd8U58nm0SgAWpVw==} - '@reactive-dot/core@0.67.3': - resolution: {integrity: sha512-G+EicAGGcm7t8p/sTS3ygbmaszROxFlQ2Mu1kUcVFTYf5DKA/uWNfswlghsBKB5/8UlcD9Sef7kqUCvVk++mRA==} + '@reactive-dot/core@0.68.1': + resolution: {integrity: sha512-Kz2r1Lq/kJd8bz1dFIeU0Mz/WhtzmEpIlwf226GXcC3XJSnpDZRE8rkMJgBKZOHwGZfRTUVcsfQ4HrwScfAnBQ==} peerDependencies: polkadot-api: '>=1.21.1' - '@reactive-dot/react@0.67.3': - resolution: {integrity: sha512-CmaYQRbJzV1tueV8NXcnlcjm073cnYD5vBi0IR83X8M/rMuVYHme26+a4FUrgqi8yicdjvT/G+Xm1QEaRfzCkw==} + '@reactive-dot/react@0.68.0': + resolution: {integrity: sha512-SVwanZN7kO0mgv9NhqYidztZvB8E/bqIypwotlGCu1BKh2w9PP5DR3ZQB7zdxxX1VvrJDXCZmdJpB4d13/vniw==} peerDependencies: react: '>= 19.2.x' @@ -2422,8 +2422,8 @@ packages: peerDependencies: jotai: '>=2.0.0' - jotai-effect@2.2.1: - resolution: {integrity: sha512-nc+FCQcLSoX+hrRV7HLbYwfyUhsibUPk48fV+XjEf0b+/tpgoJwU+QJTrmNA1Nzr55Ng7OZmiemKpBTnold89A==} + jotai-effect@2.2.3: + resolution: {integrity: sha512-MKw5eUydU6aL+fGtrMbdWLB+KFHc4R1AfQcCnXYpvc2AN+tiE/qS0yZwuL2HEBQoEm6quGPb5M1Uib6viK2Eeg==} engines: {node: '>=12.20.0'} peerDependencies: jotai: '>=2.16.0' @@ -2434,8 +2434,8 @@ packages: jotai: '>=2.12.2' react: '>=18.0.0' - jotai@2.16.0: - resolution: {integrity: sha512-NmkwPBet0SHQ28GBfEb10sqnbVOYyn6DL4iazZgGRDUKxSWL0iqcm+IK4TqTSFC2ixGk+XX2e46Wbv364a3cKg==} + jotai@2.16.1: + resolution: {integrity: sha512-vrHcAbo3P7Br37C8Bv6JshMtlKMPqqmx0DDREtTjT4nf3QChDrYdbH+4ik/9V0cXA57dK28RkJ5dctYvavcIlg==} engines: {node: '>=12.20.0'} peerDependencies: '@babel/core': '>=7.0.0' @@ -4617,7 +4617,7 @@ snapshots: '@radix-ui/rect@1.1.1': {} - '@reactive-dot/core@0.67.3(polkadot-api@1.23.1(jiti@2.6.1)(postcss@8.5.6)(rxjs@7.8.2))(typescript@5.9.3)(zod@4.2.1)': + '@reactive-dot/core@0.68.1(polkadot-api@1.23.1(jiti@2.6.1)(postcss@8.5.6)(rxjs@7.8.2))(typescript@5.9.3)(zod@4.2.1)': dependencies: '@noble/hashes': 2.0.1 '@reactive-dot/utils': 0.10.3 @@ -4628,13 +4628,13 @@ snapshots: - typescript - zod - '@reactive-dot/react@0.67.3(@babel/core@7.28.5)(@babel/template@7.27.2)(@types/react@19.2.7)(polkadot-api@1.23.1(jiti@2.6.1)(postcss@8.5.6)(rxjs@7.8.2))(react@19.2.3)(typescript@5.9.3)(zod@4.2.1)': + '@reactive-dot/react@0.68.0(@babel/core@7.28.5)(@babel/template@7.27.2)(@types/react@19.2.7)(polkadot-api@1.23.1(jiti@2.6.1)(postcss@8.5.6)(rxjs@7.8.2))(react@19.2.3)(typescript@5.9.3)(zod@4.2.1)': dependencies: - '@reactive-dot/core': 0.67.3(polkadot-api@1.23.1(jiti@2.6.1)(postcss@8.5.6)(rxjs@7.8.2))(typescript@5.9.3)(zod@4.2.1) - jotai: 2.16.0(@babel/core@7.28.5)(@babel/template@7.27.2)(@types/react@19.2.7)(react@19.2.3) - jotai-eager: 0.2.3(jotai@2.16.0(@babel/core@7.28.5)(@babel/template@7.27.2)(@types/react@19.2.7)(react@19.2.3)) - jotai-effect: 2.2.1(jotai@2.16.0(@babel/core@7.28.5)(@babel/template@7.27.2)(@types/react@19.2.7)(react@19.2.3)) - jotai-suspense: 0.4.2(jotai@2.16.0(@babel/core@7.28.5)(@babel/template@7.27.2)(@types/react@19.2.7)(react@19.2.3))(react@19.2.3) + '@reactive-dot/core': 0.68.1(polkadot-api@1.23.1(jiti@2.6.1)(postcss@8.5.6)(rxjs@7.8.2))(typescript@5.9.3)(zod@4.2.1) + jotai: 2.16.1(@babel/core@7.28.5)(@babel/template@7.27.2)(@types/react@19.2.7)(react@19.2.3) + jotai-eager: 0.2.3(jotai@2.16.1(@babel/core@7.28.5)(@babel/template@7.27.2)(@types/react@19.2.7)(react@19.2.3)) + jotai-effect: 2.2.3(jotai@2.16.1(@babel/core@7.28.5)(@babel/template@7.27.2)(@types/react@19.2.7)(react@19.2.3)) + jotai-suspense: 0.4.2(jotai@2.16.1(@babel/core@7.28.5)(@babel/template@7.27.2)(@types/react@19.2.7)(react@19.2.3))(react@19.2.3) react: 19.2.3 transitivePeerDependencies: - '@babel/core' @@ -4732,7 +4732,7 @@ snapshots: '@scure/bip32@1.7.0': dependencies: - '@noble/curves': 1.9.7 + '@noble/curves': 1.9.1 '@noble/hashes': 1.8.0 '@scure/base': 1.2.6 @@ -5264,12 +5264,12 @@ snapshots: no-case: 3.0.4 tslib: 2.8.1 - dot-connect@0.28.2(@reactive-dot/core@0.67.3(polkadot-api@1.23.1(jiti@2.6.1)(postcss@8.5.6)(rxjs@7.8.2))(typescript@5.9.3)(zod@4.2.1))(@types/react@19.2.7)(react@19.2.3)(signal-polyfill@0.2.2): + dot-connect@0.28.2(@reactive-dot/core@0.68.1(polkadot-api@1.23.1(jiti@2.6.1)(postcss@8.5.6)(rxjs@7.8.2))(typescript@5.9.3)(zod@4.2.1))(@types/react@19.2.7)(react@19.2.3)(signal-polyfill@0.2.2): dependencies: '@lit-labs/signals': 0.1.3 '@lit/react': 1.0.8(@types/react@19.2.7) '@lit/task': 1.0.3 - '@reactive-dot/core': 0.67.3(polkadot-api@1.23.1(jiti@2.6.1)(postcss@8.5.6)(rxjs@7.8.2))(typescript@5.9.3)(zod@4.2.1) + '@reactive-dot/core': 0.68.1(polkadot-api@1.23.1(jiti@2.6.1)(postcss@8.5.6)(rxjs@7.8.2))(typescript@5.9.3)(zod@4.2.1) '@undecaf/barcode-detector-polyfill': 0.9.23 dot-identicon: 0.2.0(@types/react@19.2.7)(react@19.2.3) lit: 3.3.2 @@ -5664,20 +5664,20 @@ snapshots: jiti@2.6.1: {} - jotai-eager@0.2.3(jotai@2.16.0(@babel/core@7.28.5)(@babel/template@7.27.2)(@types/react@19.2.7)(react@19.2.3)): + jotai-eager@0.2.3(jotai@2.16.1(@babel/core@7.28.5)(@babel/template@7.27.2)(@types/react@19.2.7)(react@19.2.3)): dependencies: - jotai: 2.16.0(@babel/core@7.28.5)(@babel/template@7.27.2)(@types/react@19.2.7)(react@19.2.3) + jotai: 2.16.1(@babel/core@7.28.5)(@babel/template@7.27.2)(@types/react@19.2.7)(react@19.2.3) - jotai-effect@2.2.1(jotai@2.16.0(@babel/core@7.28.5)(@babel/template@7.27.2)(@types/react@19.2.7)(react@19.2.3)): + jotai-effect@2.2.3(jotai@2.16.1(@babel/core@7.28.5)(@babel/template@7.27.2)(@types/react@19.2.7)(react@19.2.3)): dependencies: - jotai: 2.16.0(@babel/core@7.28.5)(@babel/template@7.27.2)(@types/react@19.2.7)(react@19.2.3) + jotai: 2.16.1(@babel/core@7.28.5)(@babel/template@7.27.2)(@types/react@19.2.7)(react@19.2.3) - jotai-suspense@0.4.2(jotai@2.16.0(@babel/core@7.28.5)(@babel/template@7.27.2)(@types/react@19.2.7)(react@19.2.3))(react@19.2.3): + jotai-suspense@0.4.2(jotai@2.16.1(@babel/core@7.28.5)(@babel/template@7.27.2)(@types/react@19.2.7)(react@19.2.3))(react@19.2.3): dependencies: - jotai: 2.16.0(@babel/core@7.28.5)(@babel/template@7.27.2)(@types/react@19.2.7)(react@19.2.3) + jotai: 2.16.1(@babel/core@7.28.5)(@babel/template@7.27.2)(@types/react@19.2.7)(react@19.2.3) react: 19.2.3 - jotai@2.16.0(@babel/core@7.28.5)(@babel/template@7.27.2)(@types/react@19.2.7)(react@19.2.3): + jotai@2.16.1(@babel/core@7.28.5)(@babel/template@7.27.2)(@types/react@19.2.7)(react@19.2.3): optionalDependencies: '@babel/core': 7.28.5 '@babel/template': 7.27.2 diff --git a/src/index.css b/src/index.css index a2a81a89..b5683ac6 100644 --- a/src/index.css +++ b/src/index.css @@ -106,8 +106,8 @@ @layer base { :root { - --dc-primary-color: #000; - --dc-on-primary-color: #f5f5f5; + --dc-primary-color: light-dark(#000, #f5f5f5); + --dc-on-primary-color: light-dark(#f5f5f5, #000); --dc-surface-color: light-dark(#ffffff, #1e1e1e); --dc-on-surface-color: light-dark(#000000, #ffffff); --dc-info-color: light-dark(#007aff, #0a84ff); @@ -168,6 +168,7 @@ --chart-3: 30 80% 55%; --chart-4: 280 65% 60%; --chart-5: 340 75% 55%; + color-scheme: dark; } } diff --git a/src/reactiveConfig.ts b/src/reactiveConfig.ts index 7c17f4cd..e767b32e 100644 --- a/src/reactiveConfig.ts +++ b/src/reactiveConfig.ts @@ -21,8 +21,12 @@ const config = defineConfig({ wallets: [new InjectedWalletProvider()], }) +declare module '@reactive-dot/core' { + export interface Register { + config: typeof config + } +} + registerDotConnect(config) -// TypeScript cannot emit the light client provider's private symbol, so we only -// expose the runtime value without the inferred type information. -export const reactiveConfig = config as never +export const reactiveConfig = config