@orangecheck/app-design 1.2.2 → 1.2.3
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 +6 -0
- package/dist/chrome.js +1 -1
- package/dist/chrome.js.map +1 -1
- package/dist/chrome.mjs +1 -1
- package/dist/chrome.mjs.map +1 -1
- package/dist/components.js +1 -1
- package/dist/components.js.map +1 -1
- package/dist/components.mjs +1 -1
- package/dist/components.mjs.map +1 -1
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +1 -1
- package/dist/index.mjs.map +1 -1
- package/dist/mdx.js +1 -1
- package/dist/mdx.js.map +1 -1
- package/dist/mdx.mjs +1 -1
- package/dist/mdx.mjs.map +1 -1
- package/dist/session.js +1 -1
- package/dist/session.js.map +1 -1
- package/dist/session.mjs +1 -1
- package/dist/session.mjs.map +1 -1
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -21,6 +21,12 @@ does nothing on a page without the attribute, and it never imports
|
|
|
21
21
|
<Html lang="en" data-oc-app="ochk">
|
|
22
22
|
```
|
|
23
23
|
|
|
24
|
+
```ts
|
|
25
|
+
// next.config.ts: required. Next must compile the package so its links share the
|
|
26
|
+
// app's router; left external, a link loses the base path and the build fails.
|
|
27
|
+
transpilePackages: ['@orangecheck/app-design'],
|
|
28
|
+
```
|
|
29
|
+
|
|
24
30
|
Light and dark come from plain `next-themes` (`attribute="class"`). Do not mount the
|
|
25
31
|
family `OcThemeProvider` on the same page: it writes `data-oc-theme` and the shared
|
|
26
32
|
`oc_skin` cookie.
|
package/dist/chrome.js
CHANGED