@dynamic-labs-sdk/react-ui 1.51.0 → 1.52.0
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 +7 -3
- package/dist/flow.cjs +1 -1
- package/dist/flow.esm.js +1 -1
- package/dist/index.cjs +1 -1
- package/dist/index.esm.js +1 -1
- package/dist/{package-BtQHztmi.cjs → package-CIMvgFHB.cjs} +2 -2
- package/dist/{package-BtQHztmi.cjs.map → package-CIMvgFHB.cjs.map} +1 -1
- package/dist/{package-jOFC3RJg.esm.js → package-DQyqHxHf.esm.js} +2 -2
- package/dist/{package-jOFC3RJg.esm.js.map → package-DQyqHxHf.esm.js.map} +1 -1
- package/dist/tsconfig.lib.tsbuildinfo +1 -1
- package/package.json +7 -7
package/README.md
CHANGED
|
@@ -6,20 +6,24 @@ Generic components live under `src/components/`, generic views under `src/views/
|
|
|
6
6
|
|
|
7
7
|
Components are distributed as copy-in source through a [shadcn](https://ui.shadcn.com) registry assembled from this package (`registry.json`, built by `pnpm registry:build`), so a consumer owns the source of every component they add.
|
|
8
8
|
|
|
9
|
-
Items name their registry dependencies under the `@dynamic` namespace (e.g. `@dynamic/dyn-badge`), because shadcn resolves an unprefixed name against its own registry. Map the namespace to wherever the registry is hosted in the consumer's `components.json`, then add items through it:
|
|
9
|
+
Items name their registry dependencies under the `@dynamic-ui` namespace (e.g. `@dynamic-ui/dyn-badge`), because shadcn resolves an unprefixed name against its own registry. Map the namespace to wherever the registry is hosted in the consumer's `components.json`, then add items through it:
|
|
10
10
|
|
|
11
11
|
```json
|
|
12
12
|
{
|
|
13
13
|
"registries": {
|
|
14
|
-
"@dynamic": "https://<registry-host>/{name}.json"
|
|
14
|
+
"@dynamic-ui": "https://<registry-host>/{name}.json"
|
|
15
15
|
}
|
|
16
16
|
}
|
|
17
17
|
```
|
|
18
18
|
|
|
19
19
|
```bash
|
|
20
|
-
npx shadcn add @dynamic/dyn-wallet-list
|
|
20
|
+
npx shadcn add @dynamic-ui/dyn-wallet-list
|
|
21
21
|
```
|
|
22
22
|
|
|
23
|
+
Everything an item ships lands under `components/dynamic-ui/` in your project, laid out as in this package's `src/` (for example `components/dynamic-ui/views/WalletList/`), so it never mixes with your own components. Import from there, e.g. `@/components/dynamic-ui/views/WalletList`.
|
|
24
|
+
|
|
25
|
+
Items use the Dynamic SDK packages you already have installed (`@dynamic-labs-sdk/client`, `@dynamic-labs-sdk/react-hooks`, and `react`) instead of installing their own copy, so install them first, on the same major version as the registry you map.
|
|
26
|
+
|
|
23
27
|
Contributing to this package? The standards live in [AGENTS.md](./AGENTS.md).
|
|
24
28
|
|
|
25
29
|
## Styling contract
|
package/dist/flow.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
const require_package = require('./package-
|
|
1
|
+
const require_package = require('./package-CIMvgFHB.cjs');
|
|
2
2
|
let _dynamic_labs_sdk_assert_package_version = require("@dynamic-labs-sdk/assert-package-version");
|
|
3
3
|
let react_jsx_runtime = require("react/jsx-runtime");
|
|
4
4
|
let motion_react = require("motion/react");
|
package/dist/flow.esm.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { A as TextProvider, C as CopyField, D as CopyMorphIcon, E as useCopyToClipboard, F as SPRING, N as Button, O as useText, P as PRESS_SCALE, _ as ProviderOption, a as ConnectWalletOptionWidget, b as Panel, d as useGetWalletName, f as TokenMark, g as QRCode, j as CheckboxField, k as TextContext, m as Select, n as version, o as useViewRouter, r as WalletAccountBalances, t as name, u as PanelHost, v as ProviderIcon, w as interpolateText, x as PanelHostContext, y as isValidImageSource } from "./package-
|
|
1
|
+
import { A as TextProvider, C as CopyField, D as CopyMorphIcon, E as useCopyToClipboard, F as SPRING, N as Button, O as useText, P as PRESS_SCALE, _ as ProviderOption, a as ConnectWalletOptionWidget, b as Panel, d as useGetWalletName, f as TokenMark, g as QRCode, j as CheckboxField, k as TextContext, m as Select, n as version, o as useViewRouter, r as WalletAccountBalances, t as name, u as PanelHost, v as ProviderIcon, w as interpolateText, x as PanelHostContext, y as isValidImageSource } from "./package-DQyqHxHf.esm.js";
|
|
2
2
|
import { assertPackageVersion } from "@dynamic-labs-sdk/assert-package-version";
|
|
3
3
|
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
4
4
|
import { AnimatePresence, m } from "motion/react";
|
package/dist/index.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
const require_package = require('./package-
|
|
1
|
+
const require_package = require('./package-CIMvgFHB.cjs');
|
|
2
2
|
let _dynamic_labs_sdk_assert_package_version = require("@dynamic-labs-sdk/assert-package-version");
|
|
3
3
|
let react_jsx_runtime = require("react/jsx-runtime");
|
|
4
4
|
let motion_react = require("motion/react");
|
package/dist/index.esm.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { A as TextProvider, C as CopyField, D as CopyMorphIcon, F as SPRING, I as Badge, M as Checkbox, N as Button, O as useText, S as PanelHeader, T as CopyButton, _ as ProviderOption, a as ConnectWalletOptionWidget, b as Panel, c as ProviderList, d as useGetWalletName, f as TokenMark, g as QRCode, h as SearchBar, i as BalancesList, j as CheckboxField, l as WalletChainList, m as Select, n as version, p as TokenBalanceOption, r as WalletAccountBalances, s as WalletList, t as name, v as ProviderIcon } from "./package-
|
|
1
|
+
import { A as TextProvider, C as CopyField, D as CopyMorphIcon, F as SPRING, I as Badge, M as Checkbox, N as Button, O as useText, S as PanelHeader, T as CopyButton, _ as ProviderOption, a as ConnectWalletOptionWidget, b as Panel, c as ProviderList, d as useGetWalletName, f as TokenMark, g as QRCode, h as SearchBar, i as BalancesList, j as CheckboxField, l as WalletChainList, m as Select, n as version, p as TokenBalanceOption, r as WalletAccountBalances, s as WalletList, t as name, v as ProviderIcon } from "./package-DQyqHxHf.esm.js";
|
|
2
2
|
import { assertPackageVersion } from "@dynamic-labs-sdk/assert-package-version";
|
|
3
3
|
import { jsx } from "react/jsx-runtime";
|
|
4
4
|
import { LazyMotion, MotionConfig, domAnimation } from "motion/react";
|
|
@@ -4599,7 +4599,7 @@ const WalletAccountBalances = ({ className, networkIcons, networkIds, onTokenSel
|
|
|
4599
4599
|
//#endregion
|
|
4600
4600
|
//#region package.json
|
|
4601
4601
|
var name = "@dynamic-labs-sdk/react-ui";
|
|
4602
|
-
var version = "1.
|
|
4602
|
+
var version = "1.52.0";
|
|
4603
4603
|
|
|
4604
4604
|
//#endregion
|
|
4605
4605
|
Object.defineProperty(exports, 'Badge', {
|
|
@@ -4818,4 +4818,4 @@ Object.defineProperty(exports, 'version', {
|
|
|
4818
4818
|
return version;
|
|
4819
4819
|
}
|
|
4820
4820
|
});
|
|
4821
|
-
//# sourceMappingURL=package-
|
|
4821
|
+
//# sourceMappingURL=package-CIMvgFHB.cjs.map
|